| Server IP : 144.76.79.100 / Your IP : 216.73.216.103 [ Web Server : Apache System : Linux ch05.wehostwebserver.com 5.14.0-611.5.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 08:09:09 EST 2025 x86_64 User : razzlestore ( 1092) PHP Version : 8.2.29 Disable Function : NONE Domains : 343 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/public_html/assets/admin/jodit/build/ |
Upload File : |
/*!
jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)
Version: v3.2.44
Url: https://xdsoft.net/jodit/
License(s): GPL-2.0-or-later
*/
!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]}}(window,function(){return function(o){var n={};function i(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{}};return o[e].call(t.exports,t,t.exports,i),t.l=!0,t.exports}return i.m=o,i.c=n,i.d=function(e,t,o){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(o,n,function(e){return t[e]}.bind(null,n));return o},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/build/",i(i.s=67)}([function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(2),n=o(3),r=o(10),a=function(){function d(){}return d.detach=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},d.unwrap=function(e){var t=e.parentNode,o=e;if(t){for(;o.firstChild;)t.insertBefore(o.firstChild,o);d.safeRemove(o)}},d.each=function(e,t){var o=e.firstChild;if(o)for(;o;){if(!1===t.call(o,o)||!d.each(o,t))return!1;o=d.next(o,function(e){return!!e},e)}return!0},d.replace=function(e,t,o,n,i){void 0===o&&(o=!1),void 0===n&&(n=!1);var r="string"==typeof t?i.createElement(t):t;if(!n)for(;e.firstChild;)r.appendChild(e.firstChild);return o&&Array.from(e.attributes).forEach(function(e){r.setAttribute(e.name,e.value)}),e.parentNode&&e.parentNode.replaceChild(r,e),r},d.isEmptyTextNode=function(e){return e&&e.nodeType===Node.TEXT_NODE&&(!e.nodeValue||0===e.nodeValue.replace(i.INVISIBLE_SPACE_REG_EXP,"").length)},d.isEmpty=function(e,t){return void 0===t&&(t=/^(img|svg|canvas|input|textarea|form)$/),!e||(e.nodeType===Node.TEXT_NODE?null===e.nodeValue||0===r.trim(e.nodeValue).length:!e.nodeName.toLowerCase().match(t)&&d.each(e,function(e){if(e&&e.nodeType===Node.TEXT_NODE&&null!==e.nodeValue&&0!==r.trim(e.nodeValue).length||e&&e.nodeType===Node.ELEMENT_NODE&&t.test(e.nodeName.toLowerCase()))return!1}))},d.isNode=function(e,t){return!("object"!=typeof t||!t||"function"!=typeof t.Node&&"object"!=typeof t.Node)&&e instanceof t.Node},d.isCell=function(e,t){return d.isNode(e,t)&&/^(td|th)$/i.test(e.nodeName)},d.isImage=function(e,t){return d.isNode(e,t)&&/^(img|svg|picture|canvas)$/i.test(e.nodeName)},d.isBlock=function(e,t){return e&&"object"==typeof e&&d.isNode(e,t)&&i.IS_BLOCK.test(e.nodeName)},d.isInlineBlock=function(e){return!!e&&e.nodeType===Node.ELEMENT_NODE&&-1!=["inline","inline-block"].indexOf(""+n.css(e,"display"))},d.canSplitBlock=function(e,t){return e&&e instanceof t.HTMLElement&&this.isBlock(e,t)&&!/^(TD|TH|CAPTION|FORM)$/.test(e.nodeName)&&void 0!==e.style&&!/^(fixed|absolute)/i.test(e.style.position)},d.prev=function(e,t,o,n){return void 0===n&&(n=!0),d.find(e,t,o,!1,"previousSibling",!!n&&"lastChild")},d.next=function(e,t,o,n){return void 0===n&&(n=!0),d.find(e,t,o,void 0,void 0,n?"firstChild":"")},d.find=function(e,t,o,n,i,r){if(void 0===n&&(n=!1),void 0===i&&(i="nextSibling"),void 0===r&&(r="firstChild"),n&&t(e))return e;var a,s=e;do{if(t(a=s[i]))return a||!1;if(r&&a&&a[r]){var l=d.find(a[r],t,a,!0,i,r);if(l)return l}a||(a=s.parentNode),s=a}while(s&&s!==o);return!1},d.findWithCurrent=function(e,t,o,n,i){void 0===n&&(n="nextSibling"),void 0===i&&(i="firstChild");var r=e;do{if(t(r))return r||!1;if(i&&r&&r[i]){var a=d.findWithCurrent(r[i],t,r,n,i);if(a)return a}for(;r&&!r[n]&&r!==o;)r=r.parentNode;r&&r[n]&&r!==o&&(r=r[n])}while(r&&r!==o);return!1},d.up=function(e,t,o){var n=e;if(!e)return!1;do{if(t(n))return n;if(n===o||!n.parentNode)break;n=n.parentNode}while(n&&n!==o);return!1},d.closest=function(e,t,o){return d.up(e,"function"==typeof t?t:t instanceof RegExp?function(e){return e&&t.test(e.nodeName)}:function(e){return e&&RegExp("^("+t+")$","i").test(e.nodeName)},o)},d.after=function(e,t){var o=e.parentNode;o&&(o.lastChild===e?o.appendChild(t):o.insertBefore(t,e.nextSibling))},d.moveContent=function(e,t,o){void 0===o&&(o=!1);var n=(e.ownerDocument||document).createDocumentFragment();[].slice.call(e.childNodes).forEach(function(e){e.nodeType===Node.TEXT_NODE&&e.nodeValue===i.INVISIBLE_SPACE||n.appendChild(e)}),o&&t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n)},d.all=function(e,t,o){void 0===o&&(o=!1);var n=e.childNodes?Array.prototype.slice.call(e.childNodes):[];if(t(e))return e;o&&(n=n.reverse()),n.forEach(function(e){d.all(e,t,o)})},d.safeRemove=function(e){e&&e.parentNode&&e.parentNode.removeChild(e)},d.wrapInline=function(e,t,o){for(var n,i=e,r=e,a=o.selection.save(),s=!1;s=!1,(n=i.previousSibling)&&!d.isBlock(n,o.editorWindow)&&(s=!0,i=n),s;);for(;s=!1,(n=r.nextSibling)&&!d.isBlock(n,o.editorWindow)&&(s=!0,r=n),s;);var l="string"==typeof t?o.create.inside.element(t):t;i.parentNode&&i.parentNode.insertBefore(l,i);for(var c=i;c&&(c=i.nextSibling,l.appendChild(i),i!==r&&c);)i=c;return o.selection.restore(a),l},d.wrap=function(e,t,o){var n=o.selection.save(),i="string"==typeof t?o.editorDocument.createElement(t):t;return e.parentNode?(e.parentNode.insertBefore(i,e),i.appendChild(e),o.selection.restore(n),i):null},d.findInline=function(e,t,o){var n=e,i=null;do{if(!n)break;if((i=t?n.previousSibling:n.nextSibling)||!n.parentNode||n.parentNode===o||!d.isInlineBlock(n.parentNode))break;n=n.parentNode}while(!i);for(;i&&d.isInlineBlock(i)&&(t?i.lastChild:i.firstChild);)i=t?i.lastChild:i.firstChild;return i},d.contains=function(e,t){for(;t.parentNode;){if(t.parentNode===e)return!0;t=t.parentNode}return!1},d.isOrContains=function(e,t,o){return void 0===o&&(o=!1),t&&e&&(e===t&&!o||d.contains(e,t))},d}();t.Dom=a},function(e,t,o){"use strict";var s=this&&this.__awaiter||function(r,a,s,l){return new(s||(s=Promise))(function(e,t){function o(e){try{i(l.next(e))}catch(e){t(e)}}function n(e){try{i(l.throw(e))}catch(e){t(e)}}function i(t){t.done?e(t.value):new s(function(e){e(t.value)}).then(o,n)}i((l=l.apply(r,a||[])).next())})},l=this&&this.__generator||function(o,n){var i,r,a,e,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return e={next:t(0),throw:t(1),return:t(2)},"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function(t){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,r&&(a=2&t[0]?r.return:t[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,t[1])).done)return a;switch(r=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,r=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(!(a=0<(a=s.trys).length&&a[a.length-1])&&(6===t[0]||2===t[0])){s=0;continue}if(3===t[0]&&(!a||a[0]<t[1]&&t[1]<a[3])){s.label=t[1];break}if(6===t[0]&&s.label<a[1]){s.label=a[1],a=t;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(t);break}a[2]&&s.ops.pop(),s.trys.pop();continue}t=n.call(o,s)}catch(e){t=[6,e],r=0}finally{i=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}},c=this;Object.defineProperty(t,"__esModule",{value:!0});var n=o(2),i=o(14),d=i.Widget.TabsWidget,u=i.Widget.FileSelectorWidget,a=o(0),f=o(3),p=o(5),h=o(16),v=function(){function e(){this.iframe=!1,this.license="",this.preset="custom",this.presets={inline:{inline:!0,toolbar:!1,toolbarInline:!0,popup:{selection:["bold","underline","italic","ul","ol","outdent","indent","\n","fontsize","brush","paragraph","link","align","cut","dots"]},showXPathInStatusbar:!1,showCharsCounter:!1,showWordsCounter:!1,showPlaceholder:!1}},this.ownerDocument="undefined"!=typeof document?document:null,this.ownerWindow="undefined"!=typeof window?window:null,this.zIndex=0,this.readonly=!1,this.disabled=!1,this.activeButtonsInReadOnly=["source","fullsize","print","about","dots","selectall"],this.toolbarButtonSize="middle",this.inline=!1,this.theme="default",this.saveModeInStorage=!1,this.saveHeightInStorage=!1,this.spellcheck=!0,this.editorCssClass=!1,this.triggerChangeEvent=!0,this.width="auto",this.minWidth="200px",this.maxWidth="100%",this.height="auto",this.minHeight=200,this.direction="",this.language="auto",this.debugLanguage=!1,this.i18n="en",this.tabIndex=-1,this.toolbar=!0,this.showTooltip=!0,this.showTooltipDelay=500,this.useNativeTooltip=!1,this.enter=n.PARAGRAPH,this.enterBlock=n.PARAGRAPH,this.defaultMode=n.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.extraButtons=[],this.sizeLG=900,this.sizeMD=700,this.sizeSM=400,this.buttons=["source","|","bold","strikethrough","underline","italic","|","superscript","subscript","|","ul","ol","|","outdent","indent","|","font","fontsize","brush","paragraph","|","image","file","video","table","link","|","align","undo","redo","\n","cut","hr","eraser","copyformat","|","symbol","fullsize","selectall","print","about"],this.buttonsMD=["source","|","bold","italic","|","ul","ol","|","font","fontsize","brush","paragraph","|","image","table","link","|","align","|","undo","redo","|","hr","eraser","copyformat","fullsize","dots"],this.buttonsSM=["source","|","bold","italic","|","ul","ol","|","fontsize","brush","paragraph","|","image","table","link","|","align","|","undo","redo","|","eraser","copyformat","fullsize","dots"],this.buttonsXS=["bold","image","|","brush","paragraph","|","align","|","undo","redo","|","eraser","dots"],this.events={},this.textIcons=!1,this.showBrowserColorPicker=!1}return Object.defineProperty(e,"defaultOptions",{get:function(){return e.__defaultOptions||(e.__defaultOptions=new e),e.__defaultOptions},enumerable:!0,configurable:!0}),e}();t.Config=v,t.OptionsDefault=function(e){var n=this,i=this;if(void 0!==(i.plainOptions=e)&&"object"==typeof e){var r=function(e,t){if("preset"===t&&void 0!==v.defaultOptions.presets[e.preset]){var o=v.defaultOptions.presets[e.preset];Object.keys(o).forEach(r.bind(n,o))}i[t]="object"!=typeof v.defaultOptions[t]||Array.isArray(v.defaultOptions[t])?e[t]:h.extend(!0,{},v.defaultOptions[t],e[t])};Object.keys(e).forEach(r.bind(this,e))}},v.prototype.controls={print:{exec:function(e){var t=window.open("","PRINT");t&&(e.options.iframe?(e.events.fire("generateDocumentStructure.iframe",t.document,e),t.document.body.innerHTML=e.value):(t.document.write('<!doctype html><html lang="'+f.defaultLanguage(e.options.language)+'"><head><title></title></head><body>'+e.value+"</body></html>"),t.document.close()),t.focus(),t.print(),t.close())},mode:n.MODE_SOURCE+n.MODE_WYSIWYG},about:{exec:function(e){var t=e.getInstance("Dialog");t.setTitle(e.i18n("About Jodit")),t.setContent('<div class="jodit_about"> <div>'+e.i18n("Jodit Editor")+" v."+e.getVersion()+" </div><div>"+e.i18n("License: %s",f.isLicense(e.options.license)?f.normalizeLicense(e.options.license):e.i18n("GNU General Public License, version 2 or later"))+'</div><div><a href="https://xdsoft.net/jodit/" target="_blank">http://xdsoft.net/jodit/</a></div><div><a href="https://xdsoft.net/jodit/doc/" target="_blank">'+e.i18n("Jodit User's Guide")+"</a> "+e.i18n("contains detailed help for using")+"</div><div>"+e.i18n("Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.")+"</div></div>"),t.open()},tooltip:"About Jodit",mode:n.MODE_SOURCE+n.MODE_WYSIWYG},hr:{command:"insertHorizontalRule",tags:["hr"],tooltip:"Insert Horizontal Line"},image:{popup:function(i,e,t,r){var a=null;return e&&e.nodeType!==Node.TEXT_NODE&&("IMG"===e.tagName||f.$$("img",e).length)&&(a="IMG"===e.tagName?e:f.$$("img",e)[0]),u(i,{filebrowser:function(o){return s(c,void 0,void 0,function(){var t;return l(this,function(e){switch(e.label){case 0:if(!o.files||!o.files.length)return[3,4];t=0,e.label=1;case 1:return t<o.files.length?[4,i.selection.insertImage(o.baseurl+o.files[t],null,i.options.imageDefaultWidth)]:[3,4];case 2:e.sent(),e.label=3;case 3:return t+=1,[3,1];case 4:return r(),[2]}})})},upload:function(o){return s(c,void 0,void 0,function(){var t;return l(this,function(e){switch(e.label){case 0:if(!o.files||!o.files.length)return[3,4];t=0,e.label=1;case 1:return t<o.files.length?[4,i.selection.insertImage(o.baseurl+o.files[t],null,i.options.imageDefaultWidth)]:[3,4];case 2:e.sent(),e.label=3;case 3:return t+=1,[3,1];case 4:return r(),[2]}})})},url:function(o,n){return s(c,void 0,void 0,function(){var t;return l(this,function(e){switch(e.label){case 0:return(t=a||i.create.inside.element("img")).setAttribute("src",o),t.setAttribute("alt",n),a?[3,2]:[4,i.selection.insertImage(t,null,i.options.imageDefaultWidth)];case 1:e.sent(),e.label=2;case 2:return r(),[2]}})})}},a,r)},tags:["img"],tooltip:"Insert Image"},file:{popup:function(o,e,t,n){var i=function(e,t){void 0===t&&(t=""),o.selection.insertNode(o.create.inside.fromHTML('<a href="'+e+'" title="'+t+'">'+(t||e)+"</a>"))},r=null;return e&&("A"===e.nodeName||a.Dom.closest(e,"A",o.editor))&&(r="A"===e.nodeName?e:a.Dom.closest(e,"A",o.editor)),u(o,{filebrowser:function(e){if(e.files&&e.files.length){var t=void 0;for(t=0;t<e.files.length;t+=1)i(e.baseurl+e.files[t])}n()},upload:function(e){var t;if(e.files&&e.files.length)for(t=0;t<e.files.length;t+=1)i(e.baseurl+e.files[t]);n()},url:function(e,t){r?(r.setAttribute("href",e),r.setAttribute("title",t)):i(e,t),n()}},r,n,!1)},tags:["a"],tooltip:"Insert file"},video:{popup:function(t,e,o,n){var i=t.create.fromHTML('<form class="jodit_form">\n <input required name="code" placeholder="http://" type="url"/>\n <button type="submit">'+t.i18n("Insert")+"</button>\n </form>"),r=t.create.fromHTML('<form class="jodit_form">\n <textarea required name="code" placeholder="'+t.i18n("Embed code")+'"></textarea>\n <button type="submit">'+t.i18n("Insert")+"</button>\n </form>"),a={},s=t.selection.save(),l=function(e){t.selection.restore(s),t.selection.insertHTML(e),n()};return t.options.textIcons?(a[t.i18n("Link")]=i,a[t.i18n("Code")]=r):(a[p.ToolbarIcon.getIcon("link")+" "+t.i18n("Link")]=i,a[p.ToolbarIcon.getIcon("source")+" "+t.i18n("Code")]=r),r.addEventListener("submit",function(e){return e.preventDefault(),f.trim(f.val(r,"textarea[name=code]"))?l(f.val(r,"textarea[name=code]")):(r.querySelector("textarea[name=code]").focus(),r.querySelector("textarea[name=code]").classList.add("jodit_error")),!1}),i.addEventListener("submit",function(e){return e.preventDefault(),f.isURL(f.val(i,"input[name=code]"))?l(f.convertMediaURLToVideoEmbed(f.val(i,"input[name=code]"))):(i.querySelector("input[name=code]").focus(),i.querySelector("input[name=code]").classList.add("jodit_error")),!1}),d(t,a)},tags:["iframe"],tooltip:"Insert youtube/vimeo video"}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.INVISIBLE_SPACE="\ufeff",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=/^(PRE|DIV|P|LI|H[1-6]|BLOCKQUOTE|TD|TH|TABLE|BODY|HTML|FIGCAPTION|FIGURE)$/i,t.IS_INLINE=/^(STRONG|SPAN|I|EM|B|SUP|SUB)$/,t.MAY_BE_REMOVED_WITH_KEY=/^(IMG|BR|IFRAME|SCRIPT|INPUT|TEXTAREA|HR|JODIT|JODIT-MEDIA)$/,t.KEY_BACKSPACE=8,t.KEY_TAB=9,t.KEY_ENTER=13,t.KEY_ESC=27,t.KEY_LEFT=37,t.KEY_UP=38,t.KEY_RIGHT=39,t.KEY_DOWN=40,t.KEY_DELETE=46,t.KEY_F=70,t.KEY_R=82,t.KEY_H=72,t.KEY_Y=89,t.KEY_V=86,t.KEY_Z=90,t.KEY_F3=114,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.URL_LIST=t.IS_IE?"url":"text/uri-list",t.TEXT_PLAIN=t.IS_IE?"text":"text/plain",t.TEXT_HTML=t.IS_IE?"text":"text/html",t.MARKER_CLASS="jodit_selection_marker",t.EMULATE_DBLCLICK_TIMEOUT=300,t.JODIT_SELECTED_CELL_MARKER="data-jodit-selected-cell",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.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"}},function(e,o,t){"use strict";function n(e){for(var t in e)o.hasOwnProperty(t)||(o[t]=e[t])}Object.defineProperty(o,"__esModule",{value:!0}),n(t(20)),n(t(4)),n(t(16)),n(t(40)),n(t(83)),n(t(43)),n(t(17)),n(t(23)),n(t(10)),n(t(48)),n(t(101)),n(t(102)),n(t(8)),n(t(51)),n(t(103)),n(t(52)),n(t(24)),n(t(49)),n(t(104)),n(t(30)),n(t(29)),n(t(50)),n(t(105)),n(t(9)),n(t(31)),n(t(106))},function(e,o,t){"use strict";function n(e){for(var t in e)o.hasOwnProperty(t)||(o[t]=e[t])}Object.defineProperty(o,"__esModule",{value:!0}),n(t(38)),n(t(15)),n(t(77))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function o(){}return o.exists=function(e){return void 0!==o.icons[e]},o.getIcon=function(e,t){return void 0===t&&(t="<span></span>"),void 0!==o.icons[e]?o.icons[e]:t},o.icons={},o}();t.ToolbarIcon=n},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=function(o){function e(e){var t=o.call(this,e)||this;return t.destruct=function(){t.isDestructed||(t.jodit.events&&t.jodit.events.off("beforeDestruct",t.destruct),t.beforeDestruct(t.jodit),o.prototype.destruct.call(t))},e.events.on("afterInit",t.afterInit.bind(t,e)).on("beforeDestruct",t.destruct),t}return i(e,o),e}(o(7).Component);t.Plugin=r},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(12),i=function(){function t(e){this.__isDestructed=!1,e&&e instanceof t&&n.isJoditObject(this.jodit=e)&&e.components.push(this)}return Object.defineProperty(t.prototype,"isDestructed",{get:function(){return this.__isDestructed},enumerable:!0,configurable:!0}),t.prototype.destruct=function(){this.jodit&&(this.jodit=void 0),this.__isDestructed=!0},t}();t.Component=i},function(e,p,t){"use strict";Object.defineProperty(p,"__esModule",{value:!0});var h=t(21),v=t(22),m=t(47),g=t(44),b=t(45);p.css=function(e,t,o,n){void 0===n&&(n=!1);var i=/^left|top|bottom|right|width|min|max|height|margin|padding|font-size/i;if(h.isPlainObject(t)||void 0!==o){var r=function(e,t,o){null!=o&&i.test(t)&&v.isNumeric(""+o)&&(o=parseInt(""+o,10)+"px"),void 0!==o&&p.css(e,t,void 0,!0)!==m.normilizeCSSValue(t,o)&&(e.style[t]=o)};if(h.isPlainObject(t))for(var a=Object.keys(t),s=0;s<a.length;s+=1)r(e,g.camelCase(a[s]),t[a[s]]);else r(e,g.camelCase(t),o);return""}var l=b.fromCamelCase(t),c=e.ownerDocument||document,d=!!c&&(c.defaultView||c.parentWindow),u=e.style[t],f=void 0!==u&&""!==u?u:d&&!n?d.getComputedStyle(e).getPropertyValue(l):"";return i.test(t)&&/^[\-+]?[0-9.]+px$/.test(""+f)&&(f=parseInt(""+f,10)),m.normilizeCSSValue(t,f)}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=t(2),a=1;n.$$=function(e,t){var o;if(!/:scope/.test(e)||!r.IS_IE||"undefined"!=typeof HTMLDocument&&t instanceof HTMLDocument)o=t.querySelectorAll(e);else{var n=t.id,i=n||"_selector_id_"+(""+Math.random()).slice(2)+a++;e=e.replace(/:scope/g,"#"+i),!n&&t.setAttribute("id",i),o=t.parentNode.querySelectorAll(e),n||t.removeAttribute("id")}return[].slice.call(o)},n.getXPathByElement=function(t,e){if(!t||1!==t.nodeType)return"";if(!t.parentNode||e===t)return"";if(t.id)return"//*[@id='"+t.id+"']";var o=[].filter.call(t.parentNode.childNodes,function(e){return e.nodeName===t.nodeName});return n.getXPathByElement(t.parentNode,e)+"/"+t.nodeName.toLowerCase()+(1<o.length?"["+(1+Array.from(o).indexOf(t))+"]":"")}},function(e,o,t){"use strict";function n(e){for(var t in e)o.hasOwnProperty(t)||(o[t]=e[t])}Object.defineProperty(o,"__esModule",{value:!0}),n(t(44)),n(t(45)),n(t(87)),n(t(32))},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),r=this&&this.__awaiter||function(r,a,s,l){return new(s||(s=Promise))(function(e,t){function o(e){try{i(l.next(e))}catch(e){t(e)}}function n(e){try{i(l.throw(e))}catch(e){t(e)}}function i(t){t.done?e(t.value):new s(function(e){e(t.value)}).then(o,n)}i((l=l.apply(r,a||[])).next())})},a=this&&this.__generator||function(o,n){var i,r,a,e,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return e={next:t(0),throw:t(1),return:t(2)},"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function(t){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,r&&(a=2&t[0]?r.return:t[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,t[1])).done)return a;switch(r=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,r=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(!(a=0<(a=s.trys).length&&a[a.length-1])&&(6===t[0]||2===t[0])){s=0;continue}if(3===t[0]&&(!a||a[0]<t[1]&&t[1]<a[3])){s.label=t[1];break}if(6===t[0]&&s.label<a[1]){s.label=a[1],a=t;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(t);break}a[2]&&s.ops.pop(),s.trys.pop();continue}t=n.call(o,s)}catch(e){t=[6,e],r=0}finally{i=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}};Object.defineProperty(t,"__esModule",{value:!0});var c=o(1),s=o(2),l=o(0),d=o(3),u=o(30),f=o(29),p=o(53),h=o(56),v=o(108),m=o(57),g=o(33),Jodit=function(o){function Jodit(t,n){var i=o.call(this)||this;if(i.__defaultStyleDisplayKey="data-jodit-default-style-display",i.__defaultClassesKey="data-jodit-default-classes",i.commands={},i.__selectionLocked=null,i.__wasReadOnly=!1,i.storage=new g.Storage(new m.LocalStorageProvider),i.editor=i.create.div(),i.iframe=null,i.__plugins={},i.mode=s.MODE_WYSIWYG,i.isInited=!1,i.options=new c.OptionsDefault(n),i.editorDocument=i.options.ownerDocument,i.editorWindow=i.options.ownerWindow,i.ownerDocument=i.options.ownerDocument,i.ownerWindow=i.options.ownerWindow,"string"==typeof t)try{i.element=i.ownerDocument.querySelector(t)}catch(e){throw Error('String "'+t+'" should be valid HTML selector')}else i.element=t;if(!i.element||"object"!=typeof i.element||i.element.nodeType!==Node.ELEMENT_NODE||!i.element.cloneNode)throw Error('Element "'+t+'" should be string or HTMLElement instance');i.element.attributes&&Array.from(i.element.attributes).forEach(function(e){var t=e.name,o=e.value;void 0===Jodit.defaultOptions[t]||n&&void 0!==n[t]||(-1!=["readonly","disabled"].indexOf(t)&&(o=""===o||"true"===o),/^[0-9]+(\.)?([0-9]+)?$/.test(""+o)&&(o=+o),i.options[t]=o)}),i.options.events&&Object.keys(i.options.events).forEach(function(e){i.events.on(e,i.options.events[e])}),i.container.classList.add("jodit_container"),i.container.setAttribute("contenteditable","false"),i.selection=new h.Select(i),i.events.on("removeMarkers",function(){i.selection&&i.selection.removeMarkers()}),i.observer=new p.Observer(i);var e=null;return i.options.inline&&(-1==["TEXTAREA","INPUT"].indexOf(i.element.nodeName)&&(i.container=i.element,i.element.setAttribute(i.__defaultClassesKey,""+i.element.className),e=i.container.innerHTML,i.container.innerHTML=""),i.container.classList.add("jodit_inline"),i.container.classList.add("jodit_container")),i.element!==i.container&&(i.element.style.display&&i.element.setAttribute(i.__defaultStyleDisplayKey,i.element.style.display),i.element.style.display="none"),i.container.classList.add("jodit_"+(i.options.theme||"default")+"_theme"),i.options.zIndex&&(i.container.style.zIndex=""+parseInt(""+i.options.zIndex,10)),i.workplace=i.create.div("jodit_workplace",{contenteditable:!1}),i.options.toolbar&&i.toolbar.build(d.splitArray(i.options.buttons).concat(i.options.extraButtons),i.container),i.container.classList.add("jodit_toolbar_size-"+(-1!=["middle","large","small"].indexOf(i.options.toolbarButtonSize.toLowerCase())?i.options.toolbarButtonSize.toLowerCase():"middle")),i.options.textIcons&&i.container.classList.add("jodit_text_icons"),i.events.on(i.ownerWindow,"resize",function(){i.events&&i.events.fire("resize")}),i.container.appendChild(i.workplace),i.statusbar=new v.StatusBar(i,i.container),i.workplace.appendChild(i.progress_bar),i.element.parentNode&&i.element!==i.container&&i.element.parentNode.insertBefore(i.container,i.element),i.id=i.element.getAttribute("id")||""+(new Date).getTime(),i.editor=i.create.div("jodit_wysiwyg",{contenteditable:!0,"aria-disabled":!1,tabindex:i.options.tabIndex}),i.workplace.appendChild(i.editor),i.__initPlugines(),i.__initEditor(e).then(function(){return r(i,void 0,void 0,function(){return a(this,function(e){switch(e.label){case 0:return this.isDestructed?[2]:(this.options.enableDragAndDropFileToEditor&&this.options.uploader&&(this.options.uploader.url||this.options.uploader.insertImageAsBase64URI)&&this.uploader.bind(this.editor),this.isInited=!0,[4,this.events.fire("afterInit",this)]);case 1:return e.sent(),this.events.fire("afterConstructor",this),[2]}})})}),i}return i(Jodit,o),Object.defineProperty(Jodit.prototype,"value",{get:function(){return this.getEditorValue()},set:function(e){this.setEditorValue(e)},enumerable:!0,configurable:!0}),Object.defineProperty(Jodit.prototype,"defaultTimeout",{get:function(){return this.options&&this.options.observer?this.options.observer.timeout:Jodit.defaultOptions.observer.timeout},enumerable:!0,configurable:!0}),Jodit.Array=function(e){return new u.JoditArray(e)},Jodit.Object=function(e){return new f.JoditObject(e)},Jodit.fireEach=function(n){for(var i=[],e=1;e<arguments.length;e++)i[e-1]=arguments[e];Object.keys(Jodit.instances).forEach(function(e){var t,o=Jodit.instances[e];!o.isDestructed&&o.events&&(t=o.events).fire.apply(t,[n].concat(i))})},Object.defineProperty(Jodit.prototype,"uploader",{get:function(){return this.getInstance("Uploader")},enumerable:!0,configurable:!0}),Object.defineProperty(Jodit.prototype,"filebrowser",{get:function(){return this.getInstance("FileBrowser")},enumerable:!0,configurable:!0}),Jodit.prototype.getElementValue=function(){return void 0!==this.element.value?this.element.value:this.element.innerHTML},Jodit.prototype.getNativeEditorValue=function(){return this.editor?this.editor.innerHTML:this.getElementValue()},Jodit.prototype.getEditorValue=function(e){var t;if(void 0===e&&(e=!0),void 0!==(t=this.events.fire("beforeGetValueFromEditor")))return t;t=this.getNativeEditorValue().replace(s.INVISIBLE_SPACE_REG_EXP,""),e&&(t=t.replace(/<span[^>]+id="jodit_selection_marker_[^>]+><\/span>/g,"")),"<br>"===t&&(t="");var o={value:t};return this.events.fire("afterGetValueFromEditor",o),o.value},Jodit.prototype.getEditorText=function(){if(this.editor)return this.editor.innerText;var e=this.create.inside.div();return e.innerHTML=this.getElementValue(),e.innerText},Jodit.prototype.setElementValue=function(e){if("string"!=typeof e&&void 0!==e)throw Error("value must be string");void 0!==e?this.element!==this.container&&(void 0!==this.element.value?this.element.value=e:this.element.innerHTML=e):e=this.getElementValue(),e!==this.getEditorValue()&&this.setEditorValue(e)},Jodit.prototype.setEditorValue=function(e){var t=this.events.fire("beforeSetValueToEditor",e);if(!1!==t)if("string"==typeof t&&(e=t),this.editor){if("string"!=typeof e&&void 0!==e)throw Error("value must be string");void 0!==e&&this.editor.innerHTML!==e&&(this.editor.innerHTML=e);var o=this.getElementValue(),n=this.getEditorValue();o!==n&&(this.setElementValue(n),this.events.fire("change",n,o))}else void 0!==e&&this.setElementValue(e)},Jodit.prototype.registerCommand=function(e,t){var o=e.toLowerCase();if(void 0===this.commands[o]&&(this.commands[o]=[]),this.commands[o].push(t),"function"!=typeof t){var n=this.options.commandToHotkeys[o]||this.options.commandToHotkeys[e]||t.hotkeys;n&&this.registerHotkeyToCommand(n,o)}return this},Jodit.prototype.registerHotkeyToCommand=function(e,t){var o=this,n=d.asArray(e).map(d.normalizeKeyAliases).map(function(e){return e+".hotkey"}).join(" ");this.events.off(n).on(n,function(){return o.execCommand(t)})},Jodit.prototype.execCommand=function(e,t,o){if(void 0===t&&(t=!1),void 0===o&&(o=null),!this.options.readonly||"selectall"===e){var n;if(e=e.toLowerCase(),!1!==(n=this.events.fire("beforeCommand",e,t,o))&&(n=this.execCustomCommands(e,t,o)),!1!==n)switch(this.selection.focus(),e){case"selectall":this.selection.select(this.editor,!0);break;default:try{n=this.editorDocument.execCommand(e,t,o)}catch(e){}}return this.events.fire("afterCommand",e,t,o),this.setEditorValue(),n}},Jodit.prototype.execCustomCommands=function(e,t,o){var n,i;if(void 0===t&&(t=!1),void 0===o&&(o=null),e=e.toLowerCase(),void 0!==this.commands[e]){for(var r=void 0,a=0;a<this.commands[e].length;a+=1)void 0!==(i=("function"==typeof(n=this.commands[e][a])?n:n.exec).call(this,e,t,o))&&(r=i);return r}},Jodit.prototype.lock=function(e){return void 0===e&&(e="any"),!!o.prototype.lock.call(this,e)&&(this.__selectionLocked=this.selection.save(),this.editor.classList.add("jodit_disabled"),!0)},Jodit.prototype.unlock=function(){return!!o.prototype.unlock.call(this)&&(this.editor.classList.remove("jodit_disabled"),this.__selectionLocked&&this.selection.restore(this.__selectionLocked),!0)},Jodit.prototype.getMode=function(){return this.mode},Jodit.prototype.isEditorMode=function(){return this.getRealMode()===s.MODE_WYSIWYG},Jodit.prototype.getRealMode=function(){if(this.getMode()!==s.MODE_SPLIT)return this.getMode();var e=this.ownerDocument.activeElement;return e&&(l.Dom.isOrContains(this.editor,e)||l.Dom.isOrContains(this.toolbar.container,e))?s.MODE_WYSIWYG:s.MODE_SOURCE},Jodit.prototype.setMode=function(e){var t=this,o=this.getMode(),n={mode:parseInt(""+e,10)},i=["jodit_wysiwyg_mode","jodit_source_mode","jodit_split_mode"];!1!==this.events.fire("beforeSetMode",n)&&(this.mode=d.inArray(n.mode,[s.MODE_SOURCE,s.MODE_WYSIWYG,s.MODE_SPLIT])?n.mode:s.MODE_WYSIWYG,this.options.saveModeInStorage&&this.storage.set("jodit_default_mode",this.mode),i.forEach(function(e){t.container.classList.remove(e)}),this.container.classList.add(i[this.mode-1]),o!==this.getMode()&&this.events.fire("afterSetMode"))},Jodit.prototype.toggleMode=function(){var e=this.getMode();d.inArray(e+1,[s.MODE_SOURCE,s.MODE_WYSIWYG,this.options.useSplitMode?s.MODE_SPLIT:9])?e+=1:e=s.MODE_WYSIWYG,this.setMode(e)},Jodit.prototype.i18n=function(e){for(var t=this,o=[],n=1;n<arguments.length;n++)o[n-1]=arguments[n];var i,r=void 0!==this.options&&this.options.debugLanguage,a=function(e){return o.length?d.sprintf.apply(t,[e].concat(o)):e},s="auto"===c.Config.defaultOptions.language?d.defaultLanguage(c.Config.defaultOptions.language):c.Config.defaultOptions.language,l=d.defaultLanguage(this.options?this.options.language:s);return i=void 0!==this.options&&void 0!==Jodit.lang[l]?Jodit.lang[l]:void 0!==Jodit.lang[s]?Jodit.lang[s]:Jodit.lang.en,void 0!==this.options&&void 0!==this.options.i18n[l]&&this.options.i18n[l][e]?a(this.options.i18n[l][e]):"string"==typeof i[e]&&i[e]?a(i[e]):r?"{"+e+"}":a("string"==typeof Jodit.lang.en[e]&&Jodit.lang.en[e]?Jodit.lang.en[e]:e)},Jodit.prototype.setDisabled=function(e){this.options.disabled=e;var t=this.__wasReadOnly;this.setReadOnly(e||t),this.__wasReadOnly=t,this.editor&&(this.editor.setAttribute("aria-disabled",""+e),this.container.classList.toggle("jodit_disabled",e),this.events.fire("disabled",e))},Jodit.prototype.getDisabled=function(){return this.options.disabled},Jodit.prototype.setReadOnly=function(e){this.__wasReadOnly!==e&&(this.__wasReadOnly=e,(this.options.readonly=e)?this.editor&&this.editor.removeAttribute("contenteditable"):this.editor&&this.editor.setAttribute("contenteditable","true"),this.events&&this.events.fire("readonly",e))},Jodit.prototype.getReadOnly=function(){return this.options.readonly},Jodit.prototype.__initPlugines=function(){var t=this,o=Array.isArray(this.options.disablePlugins)?this.options.disablePlugins.map(function(e){return e.toLowerCase()}):this.options.disablePlugins.toLowerCase().split(/[\s,]+/);Object.keys(Jodit.plugins).forEach(function(e){-1==o.indexOf(e.toLowerCase())&&(t.__plugins[e]=new Jodit.plugins[e](t))})},Jodit.prototype.__initEditor=function(n){return r(this,void 0,void 0,function(){var t,o;return a(this,function(e){switch(e.label){case 0:return[4,this.__createEditor()];case 1:if(e.sent(),this.isDestructed)return[2];this.element!==this.container?this.setElementValue():null!==n&&this.setEditorValue(n),t=(Jodit.instances[this.id]=this).options.defaultMode,this.options.saveModeInStorage&&null!==(o=this.storage.get("jodit_default_mode"))&&(t=parseInt(o,10)),this.setMode(t),this.options.readonly&&this.setReadOnly(!0),this.options.disabled&&this.setDisabled(!0);try{this.editorDocument.execCommand("defaultParagraphSeparator",!1,this.options.enter.toLowerCase())}catch(e){}try{this.editorDocument.execCommand("enableObjectResizing",!1,"false")}catch(e){}try{this.editorDocument.execCommand("enableInlineTableEditing",!1,"false")}catch(e){}return[2]}})})},Jodit.prototype.__createEditor=function(){return r(this,void 0,void 0,function(){var t,o,n,i=this;return a(this,function(e){switch(e.label){case 0:return t=this.editor,[4,this.events.fire("createEditor",this)];case 1:return o=e.sent(),this.isDestructed||(!1===o&&l.Dom.safeRemove(t),this.options.editorCssClass&&this.editor.classList.add(this.options.editorCssClass),this.events.on("synchro",function(){i.setEditorValue()}).on(this.editor,"selectionchange selectionstart keydown keyup keypress mousedown mouseup mousepress click copy cut dragstart drop dragover paste resize touchstart touchend focus blur",function(e){if(!i.options.readonly&&i.events&&i.events.fire){if(!1===i.events.fire(e.type,e))return!1;i.setEditorValue()}}),this.options.spellcheck&&this.editor.setAttribute("spellcheck","true"),this.options.direction&&(n="rtl"===this.options.direction.toLowerCase()?"rtl":"ltr",this.editor.style.direction=n,this.container.style.direction=n,this.editor.setAttribute("dir",n),this.container.setAttribute("dir",n),this.toolbar.setDirection(n)),this.options.triggerChangeEvent&&this.events.on("change",d.debounce(function(){i.events&&i.events.fire(i.element,"change")},this.defaultTimeout))),[2]}})})},Jodit.prototype.destruct=function(){var t=this;if(!this.isDestructed&&!1!==this.events.fire("beforeDestruct")&&this.editor){var e=this.getEditorValue();this.element!==this.container?this.element.hasAttribute(this.__defaultStyleDisplayKey)?(this.element.style.display=this.element.getAttribute(this.__defaultStyleDisplayKey),this.element.removeAttribute(this.__defaultStyleDisplayKey)):this.element.style.display="":this.element.hasAttribute(this.__defaultClassesKey)&&(this.element.className=this.element.getAttribute(this.__defaultClassesKey)||"",this.element.removeAttribute(this.__defaultClassesKey)),this.element.hasAttribute("style")&&!this.element.getAttribute("style")&&this.element.removeAttribute("style"),Object.keys(this.__plugins).forEach(function(e){void 0!==t.__plugins&&void 0!==t.__plugins[e]&&void 0!==t.__plugins[e].destruct&&"function"==typeof t.__plugins[e].destruct&&t.__plugins[e].destruct(),delete t.__plugins[e]}),this.observer.destruct(),this.statusbar.destruct(),delete this.observer,delete this.statusbar,delete this.storage,this.components.forEach(function(e){void 0===e.destruct||"function"!=typeof e.destruct||e.isDestructed||e.destruct()}),this.components.length=0,this.commands={},delete this.selection,this.__selectionLocked=null,this.events.off(this.ownerWindow),this.events.off(this.ownerDocument),this.events.off(this.ownerDocument.body),this.events.off(this.element),this.events.off(this.editor),l.Dom.safeRemove(this.workplace),l.Dom.safeRemove(this.editor),l.Dom.safeRemove(this.progress_bar),l.Dom.safeRemove(this.iframe),this.container!==this.element&&l.Dom.safeRemove(this.container),delete this.workplace,delete this.editor,delete this.progress_bar,delete this.iframe,this.container===this.element&&(this.element.innerHTML=e),delete Jodit.instances[this.id],o.prototype.destruct.call(this),delete this.container}},Jodit.plugins={},Jodit.modules={},Jodit.instances={},Jodit.lang={},Jodit}(o(58).ViewWithToolbar);t.Jodit=Jodit},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isJoditObject=function(e){return!!(e&&e instanceof Object&&"function"==typeof e.constructor&&"Jodit"===e.constructor.name)}},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var i in t=arguments[o])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var s=o(1),l=o(2),c=o(3),r=o(59),d=o(0),u=o(12);s.Config.prototype.dialog={resizable:!0,draggable:!0,buttons:["dialog.close"],removeButtons:[]},s.Config.prototype.controls.dialog={close:{icon:"cancel",exec:function(e){e.close()}},fullsize:{icon:"fullsize",getLabel:function(e,t,o){if(s.Config.prototype.controls.fullsize&&s.Config.prototype.controls.fullsize.getLabel&&"function"==typeof s.Config.prototype.controls.fullsize.getLabel)return s.Config.prototype.controls.fullsize.getLabel(e,t,o)},exec:function(e){e.toggleFullSize()}}};var f=function(r){function e(e,t){void 0===t&&(t=s.Config.prototype.dialog);var o=r.call(this,e,t)||this;o.destination=document.body,o.destroyAfterClose=!1,o.moved=!1,o.iSetMaximization=!1,o.resizeble=!1,o.draggable=!1,o.startX=0,o.startY=0,o.startPoint={x:0,y:0,w:0,h:0},o.lockSelect=function(){o.container.classList.add("jodit_dialog_box-moved")},o.unlockSelect=function(){o.container.classList.remove("jodit_dialog_box-moved")},o.onMouseUp=function(){(o.draggable||o.resizeble)&&(o.draggable=!1,o.resizeble=!1,o.unlockSelect(),o.jodit&&o.jodit.events&&o.jodit.events.fire(o,"endResize endMove"))},o.onHeaderMouseDown=function(e){var t=e.target;!o.options.draggable||t&&t.nodeName.match(/^(INPUT|SELECT)$/)||(o.draggable=!0,o.startX=e.clientX,o.startY=e.clientY,o.startPoint.x=c.css(o.dialog,"left"),o.startPoint.y=c.css(o.dialog,"top"),o.setMaxZIndex(),e.preventDefault(),o.lockSelect(),o.jodit&&o.jodit.events&&o.jodit.events.fire(o,"startMove"))},o.onMouseMove=function(e){o.draggable&&o.options.draggable&&(o.setPosition(o.startPoint.x+e.clientX-o.startX,o.startPoint.y+e.clientY-o.startY),o.jodit&&o.jodit.events&&o.jodit.events.fire(o,"move",e.clientX-o.startX,e.clientY-o.startY),e.stopImmediatePropagation(),e.preventDefault()),o.resizeble&&o.options.resizable&&(o.setSize(o.startPoint.w+e.clientX-o.startX,o.startPoint.h+e.clientY-o.startY),o.jodit&&o.jodit.events&&o.jodit.events.fire(o,"resizeDialog",e.clientX-o.startX,e.clientY-o.startY),e.stopImmediatePropagation(),e.preventDefault())},o.onKeyDown=function(e){if(o.isOpened()&&e.which===l.KEY_ESC){var t=o.getMaxZIndexDialog();t?t.close():o.close(),e.stopImmediatePropagation()}},o.onResize=function(){o.options&&o.options.resizable&&!o.moved&&o.isOpened()&&!o.offsetX&&!o.offsetY&&o.setPosition()},o.document=document,o.window=window,o.close=function(e){o.isDestructed||(e&&(e.stopImmediatePropagation(),e.preventDefault()),o.jodit&&o.jodit.events&&o.jodit.events.fire("beforeClose",o),o.container&&o.container.classList&&o.container.classList.remove("active"),o.iSetMaximization&&o.maximization(!1),o.destroyAfterClose&&o.destruct(),o.jodit&&o.jodit.events&&o.jodit.events.fire(o,"afterClose"))},u.isJoditObject(e)&&(o.window=e.ownerWindow,o.document=e.ownerDocument,e.events.on("beforeDestruct",function(){o.destruct()}));var n=o;n.options=a({},e&&e.options?e.options.dialog:s.Config.prototype.dialog,n.options),n.container=o.create.fromHTML('<div style="z-index:'+n.options.zIndex+'" class="jodit jodit_dialog_box"><div class="jodit_dialog_overlay"></div><div class="jodit_dialog"><div class="jodit_dialog_header non-selected"><div class="jodit_dialog_header-title"></div><div class="jodit_dialog_header-toolbar"></div></div><div class="jodit_dialog_content"></div><div class="jodit_dialog_footer"></div>'+(n.options.resizable?'<div class="jodit_dialog_resizer"></div>':"")+"</div></div>"),e&&e.id&&n.container.setAttribute("data-editor_id",e.id),Object.defineProperty(n.container,"__jodit_dialog",{value:n}),n.dialog=n.container.querySelector(".jodit_dialog"),n.resizer=n.container.querySelector(".jodit_dialog_resizer"),n.jodit&&n.jodit.options&&n.jodit.options.textIcons&&n.container.classList.add("jodit_text_icons"),n.dialogbox_header=n.container.querySelector(".jodit_dialog_header>.jodit_dialog_header-title"),n.dialogbox_content=n.container.querySelector(".jodit_dialog_content"),n.dialogbox_footer=n.container.querySelector(".jodit_dialog_footer"),n.dialogbox_toolbar=n.container.querySelector(".jodit_dialog_header>.jodit_dialog_header-toolbar"),n.destination.appendChild(n.container),n.container.addEventListener("close_dialog",n.close),n.toolbar=h.JoditToolbarCollection.makeCollection(n),n.toolbar.build(n.options.buttons,n.dialogbox_toolbar),n.events.on(o.window,"mousemove",n.onMouseMove).on(o.window,"mouseup",n.onMouseUp).on(o.window,"keydown",n.onKeyDown).on(o.window,"resize",n.onResize);var i=n.container.querySelector(".jodit_dialog_header");return i&&i.addEventListener("mousedown",n.onHeaderMouseDown.bind(n)),n.options.resizable&&n.resizer.addEventListener("mousedown",n.onResizerMouseDown.bind(n)),p.Jodit.plugins.fullsize(n),o}return i(e,r),e.prototype.setElements=function(o,e){var n=this,i=[];c.asArray(e).forEach(function(e){var t="string"==typeof e?n.create.fromHTML(e):e;i.push(t),t.parentNode!==o&&o.appendChild(t)}),Array.from(o.childNodes).forEach(function(e){-1==i.indexOf(e)&&o.removeChild(e)})},e.prototype.onResizerMouseDown=function(e){this.resizeble=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.w=this.dialog.offsetWidth,this.startPoint.h=this.dialog.offsetHeight,this.lockSelect(),this.jodit.events&&this.jodit.events.fire(this,"startResize")},e.prototype.setSize=function(e,t){e&&c.css(this.dialog,"width",e),t&&c.css(this.dialog,"height",t)},e.prototype.setPosition=function(e,t){var o=this.window.innerWidth/2-this.dialog.offsetWidth/2,n=this.window.innerHeight/2-this.dialog.offsetHeight/2;void 0!==e&&void 0!==t&&(this.offsetX=e,this.offsetY=t,this.moved=100<Math.abs(e-o)||100<Math.abs(t-n)),this.dialog.style.left=(e||o)+"px",this.dialog.style.top=(t||n)+"px"},e.prototype.setTitle=function(e){this.setElements(this.dialogbox_header,e)},e.prototype.setContent=function(e){this.setElements(this.dialogbox_content,e)},e.prototype.setFooter=function(e){this.setElements(this.dialogbox_footer,e),this.dialog.classList.toggle("with_footer",!!e)},e.prototype.getZIndex=function(){return parseInt(this.container.style.zIndex||"0",10)},e.prototype.getMaxZIndexDialog=function(){var t,o,n=0,i=this;return c.$$(".jodit_dialog_box",this.destination).forEach(function(e){t=e.__jodit_dialog,o=parseInt(c.css(e,"zIndex"),10),t.isOpened()&&!isNaN(o)&&n<o&&(i=t,n=o)}),i},e.prototype.setMaxZIndex=function(){var t=0,o=0;c.$$(".jodit_dialog_box",this.destination).forEach(function(e){o=parseInt(c.css(e,"zIndex"),10),t=Math.max(isNaN(o)?0:o,t)}),this.container.style.zIndex=""+(t+1)},e.prototype.maximization=function(t){return"boolean"!=typeof t&&(t=!this.container.classList.contains("jodit_dialog_box-fullsize")),this.container.classList.toggle("jodit_dialog_box-fullsize",t),[this.destination,this.destination.parentNode].forEach(function(e){e&&e.classList&&e.classList.toggle("jodit_fullsize_box",t)}),this.iSetMaximization=t},e.prototype.open=function(e,t,o,n){this.jodit&&this.jodit.events&&!1===this.jodit.events.fire(this,"beforeOpen")||(this.destroyAfterClose=!0===o,void 0!==t&&this.setTitle(t),e&&this.setContent(e),this.container.classList.add("active"),n&&this.container.classList.add("jodit_modal"),this.setPosition(this.offsetX,this.offsetY),this.setMaxZIndex(),this.options.fullsize&&this.maximization(!0),this.jodit&&this.jodit.events&&this.jodit.events.fire("afterOpen",this))},e.prototype.isOpened=function(){return!this.isDestructed&&this.container&&this.container.classList.contains("active")},e.prototype.destruct=function(){this.isDestructed||(this.toolbar&&(this.toolbar.destruct(),delete this.toolbar),this.events&&this.events.off(this.window,"mousemove",this.onMouseMove).off(this.window,"mouseup",this.onMouseUp).off(this.window,"keydown",this.onKeyDown).off(this.window,"resize",this.onResize),!this.jodit&&this.events&&(this.events.destruct(),delete this.events),this.container&&(d.Dom.safeRemove(this.container),delete this.container),r.prototype.destruct.call(this))},e}(r.View);t.Dialog=f;var p=o(11),h=o(62)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u,d=o(0),f=o(3),p=o(5);(u=t.Widget||(t.Widget={})).ColorPickerWidget=function(i,r,e){var n=f.normalizeColor(e),a=i.create.div("jodit_colorpicker"),s=i.options.textIcons?"":p.ToolbarIcon.getIcon("eye"),t=i.options.textIcons?"<span>"+i.i18n("eraser")+"</span>":p.ToolbarIcon.getIcon("eraser"),o=i.options.textIcons?"<span>"+i.i18n("palette")+"</span>":p.ToolbarIcon.getIcon("palette"),l=function(e,t){e.innerHTML=p.ToolbarIcon.getIcon("eye"),e.classList.add("active");var o=f.hexToRgb(t);o&&(e.firstChild.style.fill="rgb("+(255-o.r)+","+(255-o.g)+","+(255-o.b)+")")},c=function(t){var o=[];return f.isPlainObject(t)?Object.keys(t).forEach(function(e){o.push('<div class="jodit_colorpicker_group jodit_colorpicker_group-'+e+'">'),o.push(c(t[e])),o.push("</div>")}):Array.isArray(t)&&t.forEach(function(e){o.push("<a "+(n===e?' class="active" ':"")+' title="'+e+'" style="background-color:'+e+'" data-color="'+e+'" href="javascript:void(0)">'+(n===e?s:"")+"</a>")}),o.join("")};return a.appendChild(i.create.fromHTML("<div>"+c(i.options.colors)+"</div>")),a.appendChild(i.create.fromHTML("<a "+(i.options.textIcons?'class="jodit_text_icon"':"")+' data-color="" href="javascript:void(0)">'+t+"</a>")),i.options.showBrowserColorPicker&&f.hasBrowserColorPicker()&&(a.appendChild(i.create.fromHTML("<span><em "+(i.options.textIcons?'class="jodit_text_icon"':"")+">"+o+'</em><input type="color" value=""/></span>')),i.events.on(a,"change",function(e){e.stopPropagation();var t=e.target;if(t&&t.tagName&&"INPUT"===t.tagName.toUpperCase()){var o=t.value||"";o&&l(t,o),r&&"function"==typeof r&&r(o),e.preventDefault()}})),i.events.on(a,"mousedown touchend",function(e){e.stopPropagation();var t=e.target;if(t&&t.tagName&&"SVG"!==t.tagName.toUpperCase()&&"PATH"!==t.tagName.toUpperCase()||!t.parentNode||(t=d.Dom.closest(t.parentNode,"A",i.editor)),"A"===t.tagName.toUpperCase()){var o=a.querySelector("a.active");o&&(o.classList.remove("active"),o.innerHTML="");var n=t.getAttribute("data-color")||"";n&&l(t,n),r&&"function"==typeof r&&r(n),e.preventDefault()}}),a},u.TabsWidget=function(r,e,a){var t=r.create.div("jodit_tabs"),s=r.create.div("jodit_tabs_wrapper"),l=r.create.div("jodit_tabs_buttons"),c={},d="",u=0;return t.appendChild(l),t.appendChild(s),f.each(e,function(t,o){var n=r.create.div("jodit_tab"),i=r.create.element("a",{href:"javascript:void(0);"});d||(d=""+t),i.innerHTML=r.i18n(""+t),l.appendChild(i),n.appendChild("function"!=typeof o?o:r.create.div("jodit_tab_empty")),s.appendChild(n),r.events.on(i,"mousedown touchend",function(e){return f.$$("a",l).forEach(function(e){e.classList.remove("active")}),f.$$(".jodit_tab",s).forEach(function(e){e.classList.remove("active")}),i.classList.add("active"),n.classList.add("active"),"function"==typeof o&&o.call(r),e.stopPropagation(),a&&(a.__activeTab=""+t),!1}),c[t]={button:i,tab:n},u+=1}),u&&(f.$$("a",l).forEach(function(e){e.style.width=(100/u).toFixed(10)+"%"}),a&&a.__activeTab&&c[a.__activeTab]?(c[a.__activeTab].button.classList.add("active"),c[a.__activeTab].tab.classList.add("active")):(c[d].button.classList.add("active"),c[d].tab.classList.add("active"))),t},u.FileSelectorWidget=function(t,o,e,n,i){var r;void 0===i&&(i=!0);var a={};if(o.upload&&t.options.uploader&&(t.options.uploader.url||t.options.uploader.insertImageAsBase64URI)){var s=t.create.fromHTML('<div class="jodit_draganddrop_file_box"><strong>'+t.i18n(i?"Drop image":"Drop file")+"</strong><span><br> "+t.i18n("or click")+'</span><input type="file" accept="'+(i?"image/*":"*")+'image/*" tabindex="-1" dir="auto" multiple=""/></div>');t.getInstance("Uploader").bind(s,function(e){"function"==typeof o.upload&&o.upload.call(t,{baseurl:e.baseurl,files:e.files})},function(e){t.events.fire("errorMessage",e.message)}),a[(t.options.textIcons?"":p.ToolbarIcon.getIcon("upload"))+t.i18n("Upload")]=s}if(o.filebrowser&&(t.options.filebrowser.ajax.url||t.options.filebrowser.items.url)&&(a[(t.options.textIcons?"":p.ToolbarIcon.getIcon("folder"))+t.i18n("Browse")]=function(){n&&n(),o.filebrowser&&t.getInstance("FileBrowser").open(o.filebrowser,i)}),o.url){var l=t.create.fromHTML('<form onsubmit="return false;" class="jodit_form"><input type="text" required name="url" placeholder="http://"/><input type="text" name="text" placeholder="'+t.i18n("Alternative text")+'"/><div style="text-align: right"><button>'+t.i18n("Insert")+"</button></div></form>"),c=l.querySelector("button"),d=l.querySelector("input[name=url]");r=null,e&&e.nodeType!==Node.TEXT_NODE&&("IMG"===e.tagName||f.$$("img",e).length)&&(r="IMG"===e.tagName?e:f.$$("img",e)[0],f.val(l,"input[name=url]",r.getAttribute("src")),f.val(l,"input[name=text]",r.getAttribute("alt")),c.innerText=t.i18n("Update")),e&&e.nodeType!==Node.TEXT_NODE&&"A"===e.nodeName&&(f.val(l,"input[name=url]",e.getAttribute("href")||""),f.val(l,"input[name=text]",e.getAttribute("title")||""),c.innerText=t.i18n("Update")),l.addEventListener("submit",function(e){return e.preventDefault(),e.stopPropagation(),f.val(l,"input[name=url]")?"function"==typeof o.url&&o.url.call(t,f.val(l,"input[name=url]"),f.val(l,"input[name=text]")):(d.focus(),d.classList.add("jodit_error")),!1},!1),a[(t.options.textIcons?"":p.ToolbarIcon.getIcon("link"))+" URL"]=l}return u.TabsWidget(t,a)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setTimeout=function(e,t,o,n,i){return t?window.setTimeout.call(window,e,t,o,n,i):(e.call(null,o,n,i),0)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var h=o(29),v=o(30),m=o(31),g=o(21);t.extend=function e(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];var n,i,r,a,s,l,c,d=t.length,u=t[0]||{},f=1,p=!1;for("boolean"==typeof u&&(p=u,u=t[f]||{},f+=1),"object"!=typeof u&&"function"===m.type(u)&&(u={}),f===d&&(u=this,f+=1);f<d;f+=1)if(null!=(n=t[f]))for(c=Object.keys(n),l=0;l<c.length;l+=1)r=u[i=c[l]],u!==(a=n[i])&&(p&&a&&(g.isPlainObject(a)&&!(a instanceof h.JoditObject)||Array.isArray(a)&&!(a instanceof v.JoditArray))?(s=Array.isArray(a)?r&&Array.isArray(r)?r:[]:r&&g.isPlainObject(r)?r:{},u[i]=e(p,s,a)):void 0!==a&&(u[i]=a));return u}},function(e,o,t){"use strict";function n(e){for(var t in e)o.hasOwnProperty(t)||(o[t]=e[t])}Object.defineProperty(o,"__esModule",{value:!0}),n(t(91)),n(t(92)),n(t(93)),n(t(94)),n(t(95)),n(t(96)),n(t(46)),n(t(47)),n(t(97))},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(34),a=o(0),l=o(8),c=o(2),d=o(12),s=function(s){function t(){var a=null!==s&&s.apply(this,arguments)||this;return a.checkActiveStatus=function(o,n){var i=0,r=0;return Object.keys(o).forEach(function(e){var t=o[e];"function"==typeof t?t(a.jodit,""+l.css(n,e))&&(i+=1):-1!=t.indexOf(""+l.css(n,e))&&(i+=1),r+=1}),r===i},a}return i(t,s),t.prototype.buttonIsActive=function(e){var t=this,o=s.prototype.buttonIsActive.call(this,e);if(void 0!==o)return o;var n,i,r=!!this.jodit.selection&&this.jodit.selection.current();return!!(r&&((e.control.tags||e.control.options&&e.control.options.tags)&&(n=e.control.tags||e.control.options&&e.control.options.tags,a.Dom.up(r,function(e){if(e&&-1!=n.indexOf(e.nodeName.toLowerCase()))return!0},this.jodit.editor))||(e.control.css||e.control.options&&e.control.options.css)&&(i=e.control.css||e.control.options&&e.control.options.css,a.Dom.up(r,function(e){if(e&&e.nodeType!==Node.TEXT_NODE)return t.checkActiveStatus(i,e)},this.jodit.editor))))},t.prototype.buttonIsDisabled=function(e){var t=s.prototype.buttonIsDisabled.call(this,e);if(void 0!==t)return t;var o=void 0===e.control||void 0===e.control.mode?c.MODE_WYSIWYG:e.control.mode;return!(o===c.MODE_SPLIT||o===this.jodit.getRealMode())},t.prototype.getTarget=function(e){return e.target||this.jodit.selection.current()||void 0},t.makeCollection=function(e){return d.isJoditObject(e)?new t(e):new r.ToolbarCollection(e)},t}(r.ToolbarCollection);t.JoditToolbarCollection=s},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(13);t.Dialog=n.Dialog;var i=o(63);t.Alert=i.Alert;var r=o(64);t.Promt=r.Promt;var a=o(65);t.Confirm=a.Confirm},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(37);t.asArray=n.asArray;var i=o(75);t.inArray=i.inArray;var r=o(76);t.splitArray=r.splitArray},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(39),i=o(31);t.isPlainObject=function(e){return!("object"!=typeof e||e.nodeType||n.isWindow(e)||e.constructor&&!i.hasOwn.call(e.constructor.prototype,"isPrototypeOf"))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNumeric=function(e){if("string"==typeof e){if(!e.match(/^([+\-])?[0-9]+(\.?)([0-9]+)?(e[0-9]+)?$/))return!1;e=parseFloat(e)}return!isNaN(e)&&isFinite(e)}},function(e,o,t){"use strict";function n(e){for(var t in e)o.hasOwnProperty(t)||(o[t]=e[t])}Object.defineProperty(o,"__esModule",{value:!0}),n(t(98)),n(t(99)),n(t(100))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.each=function(e,t){var o,n,i;if(Array.isArray(e)){for(o=e.length,i=0;i<o;i+=1)if(!1===t.call(e[i],i,e[i]))return!1}else for(n=Object.keys(e),i=0;i<n.length;i+=1)if(!1===t.call(e[n[i]],n[i],e[n[i]]))return!1;return!0}},function(e,t,o){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var i=o(7),a=o(34),s=o(5),l=o(0),c=o(10),d=function(i){function e(e,t,o){void 0===t&&(t="li"),void 0===o&&(o="jodit_toolbar_btn");var n=this;return e instanceof a.ToolbarCollection?(n=i.call(this,e.jodit)||this).parentToolbar=e:n=i.call(this,e)||this,n.container=n.jodit.create.element(t),n.container.classList.add(o),n}return r(e,i),e.prototype.destruct=function(){this.isDestructed||(l.Dom.safeRemove(this.container),this.parentToolbar=void 0,i.prototype.destruct.call(this))},e.prototype.createIcon=function(e,t){var o=t?t.icon||t.name:e;if(this.jodit.options.textIcons)return this.jodit.create.fromHTML('<span class="jodit_icon">'+this.jodit.i18n(t?t.name:e)+"</span>");var n=this.jodit.events.fire("getIcon",o,t,e),i=void 0;return t&&t.iconURL&&void 0===n?(i=this.jodit.create.element("i")).style.backgroundImage="url("+t.iconURL+")":(void 0===n&&(n=s.ToolbarIcon.exists(o)?s.ToolbarIcon.getIcon(o):s.ToolbarIcon.getIcon("empty")),i="string"==typeof n?this.jodit.create.fromHTML(c.trim(n)):n),i.classList.add("jodit_icon","jodit_icon_"+e),i},e}(i.Component);t.ToolbarElement=d},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var c=o(0),d=o(3),r=o(25),u=o(112),f=o(27),p=o(113),h=o(12),a=function(l){function e(e,t,o){var a=l.call(this,e)||this;a.__disabled=!1,a.__actived=!1,a.onMouseDown=function(e){if(e.stopImmediatePropagation(),e.preventDefault(),a.disable)return!1;var t=a.control,o=function(){return a.parentToolbar&&a.parentToolbar.getTarget(a)||a.target||!1};if(t.list){var n=new u.PopupList(a.jodit,a.container,a.target);n.open(t),a.jodit.events.fire("closeAllPopups",n.container)}else if(void 0!==t.exec&&"function"==typeof t.exec)t.exec(a.jodit,o(),t,e,a.container),a.jodit.events.fire("synchro"),a.parentToolbar&&a.parentToolbar.immedateCheckActiveButtons(),a.jodit.events.fire("closeAllPopups afterExec");else if(void 0!==t.popup&&"function"==typeof t.popup){var i=new f.Popup(a.jodit,a.container,a.target);if(!1!==a.jodit.events.fire(d.camelCase("before-"+t.name+"-OpenPopup"),o(),t,i)){var r=t.popup(a.jodit,o(),t,i.close,a);r&&i.open(r)}a.jodit.events.fire(d.camelCase("after-"+t.name+"-OpenPopup")+" closeAllPopups",i.container)}else(t.command||t.name)&&(h.isJoditObject(a.jodit)?a.jodit.execCommand(t.command||t.name,t.args&&t.args[0]||!1,t.args&&t.args[1]||null):a.jodit.ownerDocument.execCommand(t.command||t.name,t.args&&t.args[0]||!1,t.args&&t.args[1]||null),a.jodit.events.fire("closeAllPopups"))},a.control=t,a.target=o,a.anchor=a.jodit.create.element("a"),a.container.appendChild(a.anchor),a.jodit.options.showTooltip&&t.tooltip&&(a.jodit.options.useNativeTooltip?a.anchor.setAttribute("title",a.jodit.i18n(t.tooltip)+(t.hotkeys?"<br>"+d.asArray(t.hotkeys).join(" "):"")):a.tooltip=new p.ToolbarTooltip(a)),a.textBox=a.jodit.create.span(),a.anchor.appendChild(a.textBox);var n=t.name.replace(/[^a-zA-Z0-9]/g,"_");if(t.getContent&&"function"==typeof t.getContent){c.Dom.detach(a.container);var i=t.getContent(a.jodit,t,a);a.container.appendChild("string"==typeof i?a.jodit.create.fromHTML(i):i)}else{if(t.list&&a.anchor){var r=a.jodit.ownerDocument.createElement("span");r.classList.add("jodit_with_dropdownlist-trigger"),a.container.classList.add("jodit_with_dropdownlist"),a.anchor.appendChild(r)}a.textBox.appendChild(a.createIcon(n,t))}if(a.container.classList.add("jodit_toolbar_btn-"+n),a.jodit.options.direction){var s="rtl"===a.jodit.options.direction.toLowerCase()?"rtl":"ltr";a.container.style.direction=s}return t.isInput?a.container.classList.add("jodit_toolbar-input"):a.jodit.events.on(a.container,"mousedown touchend",a.onMouseDown).on("click-"+n+"-btn",a.onMouseDown),a}return i(e,l),Object.defineProperty(e.prototype,"disable",{get:function(){return this.__disabled},set:function(e){this.__disabled=e,this.container.classList.toggle("jodit_disabled",e),e?this.container.hasAttribute("disabled")||this.container.setAttribute("disabled","disabled"):this.container.hasAttribute("disabled")&&this.container.removeAttribute("disabled")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){return this.__actived},set:function(e){this.__actived=e,this.container.classList.toggle("jodit_active",e)},enumerable:!0,configurable:!0}),e.prototype.isDisable=function(){return!(!this.parentToolbar||!this.parentToolbar.buttonIsDisabled(this))},e.prototype.isActive=function(){return!(!this.parentToolbar||!this.parentToolbar.buttonIsActive(this))},e.prototype.destruct=function(){this.isDestructed||(this.jodit&&this.jodit.events&&this.jodit.events.off(this.container),l.prototype.destruct.call(this),this.tooltip&&(this.tooltip.destruct(),delete this.tooltip))},e}(r.ToolbarElement);t.ToolbarButton=a},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var s=o(0),l=o(3),r=function(r){function a(e,t,o,n){void 0===n&&(n="jodit_toolbar_popup");var i=r.call(this,e)||this;return i.target=t,i.current=o,i.className=n,i.throttleCalcPosition=l.throttle(i.calcPosition,i.jodit.defaultTimeout),i.isOpened=!1,i.close=function(e){(i.isOpened||i.isDestructed)&&(e&&s.Dom.isOrContains(i.container,e instanceof a?e.target:e)||(i.isOpened=!1,i.jodit.events.off("closeAllPopups",i.close),i.doClose(),s.Dom.safeRemove(i.container),i.jodit.events.fire("removeMarkers")))},i.container=i.jodit.create.div(n,{"data-editor_id":e.id}),i.jodit.events.on(i.container,"mousedown touchstart touchend",function(e){e.stopPropagation()}).on([i.jodit.ownerWindow,i.jodit.events],"resize",i.throttleCalcPosition),i}return i(a,r),a.prototype.calcPosition=function(){if(this.isOpened&&!this.isDestructed){var t=this.container,e=l.offset(this.jodit.container,this.jodit,this.jodit.ownerDocument,!0),o=l.offset(t,this.jodit,this.jodit.ownerDocument,!0),n=l.css(t,"marginLeft")||0;o.left-=n;var i=n,r="auto";if(i=o.left<e.left?e.left-o.left:o.left+o.width<e.left+e.width?0:-(o.left+o.width-(e.left+e.width)),o.width<e.width||(i=e.left-o.left,r=e.width),i!==n)try{t.style.setProperty("margin-left",i+"px","important")}catch(e){t.style.marginLeft=i+"px"}var a=t.querySelector(".jodit_popup_triangle");a&&(a.style.marginLeft=-i+"px"),l.css(t,"width",r)}},a.prototype.doOpen=function(e){e&&(s.Dom.detach(this.container),this.container.innerHTML='<span class="jodit_popup_triangle"></span>',this.container.appendChild(s.Dom.isNode(e,this.jodit.ownerWindow)?e:this.jodit.create.fromHTML(""+e)),this.container.style.display="block",this.container.style.marginLeft=null)},a.prototype.doClose=function(){},a.prototype.open=function(e,t,o){void 0===o&&(o=!1),c.Jodit.fireEach("beforeOpenPopup closeAllPopups",this,e),o||this.jodit.events.on("closeAllPopups",this.close),this.container.classList.add(this.className+"-open"),this.doOpen(e),this.target.appendChild(this.container),void 0!==t&&this.container.classList.toggle("jodit_right",t),!o&&this.container.parentNode&&this.jodit.events.fire(this.container.parentNode,"afterOpenPopup",this.container),this.isOpened=!0,!o&&this.calcPosition()},a.prototype.destruct=function(){this.isDestructed||(this.jodit.events.off([this.jodit.ownerWindow,this.jodit.events],"resize",this.throttleCalcPosition),s.Dom.safeRemove(this.container),delete this.container,r.prototype.destruct.call(this))},a}(o(7).Component);t.Popup=r;var c=o(11)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var v=o(2),m=o(0),g=o(3),n=function(){function h(){}return h.addSelected=function(e){e.setAttribute(v.JODIT_SELECTED_CELL_MARKER,"1")},h.restoreSelection=function(e){e.removeAttribute(v.JODIT_SELECTED_CELL_MARKER)},h.getAllSelectedCells=function(e){return e?g.$$("td["+v.JODIT_SELECTED_CELL_MARKER+"],th["+v.JODIT_SELECTED_CELL_MARKER+"]",e):[]},h.getRowsCount=function(e){return e.rows.length},h.getColumnsCount=function(e){return h.formalMatrix(e).reduce(function(e,t){return Math.max(e,t.length)},0)},h.formalMatrix=function(e,s){for(var l=[[]],t=Array.prototype.slice.call(e.rows),o=function(e,t){void 0===l[t]&&(l[t]=[]);for(var o,n,i=e.colSpan,r=e.rowSpan,a=0;l[t][a];)a+=1;for(n=0;n<r;n+=1)for(o=0;o<i;o+=1){if(void 0===l[t+n]&&(l[t+n]=[]),s&&!1===s(e,t+n,a+o,i,r))return!1;l[t+n][a+o]=e}},n=0,i=void 0;n<t.length;n+=1){var r=Array.prototype.slice.call(t[n].cells);for(i=0;i<r.length;i+=1)if(!1===o(r[i],n))return l}return l},h.formalCoordinate=function(e,r,a){void 0===a&&(a=!1);var s=0,l=0,c=1,d=1;return h.formalMatrix(e,function(e,t,o,n,i){if(r===e)return s=t,l=o,c=n||1,d=i||1,a&&(l+=(n||1)-1,s+=(i||1)-1),!1}),[s,l,c,d]},h.appendRow=function(e,t,o){void 0===t&&(t=!1),void 0===o&&(o=!0);for(var n=e.ownerDocument||document,i=h.getColumnsCount(e),r=n.createElement("tr"),a=0;a<i;a+=1)r.appendChild(n.createElement("td"));o&&t&&t.nextSibling?t.parentNode&&t.parentNode.insertBefore(r,t.nextSibling):!o&&t?t.parentNode&&t.parentNode.insertBefore(r,t):(g.$$(":scope>tbody",e)[0]||e).appendChild(r)},h.removeRow=function(r,a){var s,l=h.formalMatrix(r),c=r.rows[a];g.each(l[a],function(e,t){if(s=!1,a-1<0||l[a-1][e]!==t)if(l[a+1]&&l[a+1][e]===t){if(t.parentNode===c&&t.parentNode.nextSibling){s=!0;for(var o=e+1;l[a+1][o]===t;)o+=1;var n=m.Dom.next(t.parentNode,function(e){return e&&e.nodeType===Node.ELEMENT_NODE&&"TR"===e.nodeName},r);l[a+1][o]?n.insertBefore(t,l[a+1][o]):n.appendChild(t)}}else m.Dom.safeRemove(t);else s=!0;if(s&&(t.parentNode===c||t!==l[a][e-1])){var i=t.rowSpan;1<i-1?t.setAttribute("rowspan",""+(i-1)):t.removeAttribute("rowspan")}}),m.Dom.safeRemove(c)},h.appendColumn=function(e,t,o){void 0===o&&(o=!0);var n,i=h.formalMatrix(e);for(void 0===t&&(t=h.getColumnsCount(e)-1),n=0;n<i.length;n+=1){var r=(e.ownerDocument||document).createElement("td"),a=i[n][t],s=!1;o?(i[n]&&a&&i[n].length<=t+1||a!==i[n][t+1])&&(a.nextSibling?a.parentNode&&a.parentNode.insertBefore(r,a.nextSibling):a.parentNode&&a.parentNode.appendChild(r),s=!0):(t-1<0||i[n][t]!==i[n][t-1]&&i[n][t].parentNode)&&(a.parentNode&&a.parentNode.insertBefore(r,i[n][t]),s=!0),s||i[n][t].setAttribute("colspan",""+(parseInt(i[n][t].getAttribute("colspan")||"1",10)+1))}},h.removeColumn=function(e,i){var r,a=h.formalMatrix(e);g.each(a,function(e,t){var o=t[i];if(r=!1,i-1<0||a[e][i-1]!==o?i+1<t.length&&a[e][i+1]===o?r=!0:m.Dom.safeRemove(o):r=!0,r&&(e-1<0||o!==a[e-1][i])){var n=o.colSpan;1<n-1?o.setAttribute("colspan",""+(n-1)):o.removeAttribute("colspan")}})},h.getSelectedBound=function(e,t){var o,n,i,r=[[1/0,1/0],[0,0]],a=h.formalMatrix(e);for(o=0;o<a.length;o+=1)for(n=0;n<a[o].length;n+=1)-1!=t.indexOf(a[o][n])&&(r[0][0]=Math.min(o,r[0][0]),r[0][1]=Math.min(n,r[0][1]),r[1][0]=Math.max(o,r[1][0]),r[1][1]=Math.max(n,r[1][1]));for(o=r[0][0];o<=r[1][0];o+=1)for(n=r[0][i=1];n<=r[1][1];n+=1){for(;a[o][n-i]&&a[o][n]===a[o][n-i];)r[0][1]=Math.min(n-i,r[0][1]),r[1][1]=Math.max(n-i,r[1][1]),i+=1;for(i=1;a[o][n+i]&&a[o][n]===a[o][n+i];)r[0][1]=Math.min(n+i,r[0][1]),r[1][1]=Math.max(n+i,r[1][1]),i+=1;for(i=1;a[o-i]&&a[o][n]===a[o-i][n];)r[0][0]=Math.min(o-i,r[0][0]),r[1][0]=Math.max(o-i,r[1][0]),i+=1;for(i=1;a[o+i]&&a[o][n]===a[o+i][n];)r[0][0]=Math.min(o+i,r[0][0]),r[1][0]=Math.max(o+i,r[1][0]),i+=1}return r},h.normalizeTable=function(e){var t,o,n,i,r=[],a=h.formalMatrix(e);for(o=0;o<a[0].length;o+=1){for(i=!(n=1e6),t=0;t<a.length;t+=1)if(void 0!==a[t][o]){if(a[t][o].colSpan<2){i=!0;break}n=Math.min(n,a[t][o].colSpan)}if(!i)for(t=0;t<a.length;t+=1)void 0!==a[t][o]&&h.__mark(a[t][o],"colspan",a[t][o].colSpan-n+1,r)}for(t=0;t<a.length;t+=1){for(i=!(n=1e6),o=0;o<a[t].length;o+=1)if(void 0!==a[t][o]){if(a[t][o].rowSpan<2){i=!0;break}n=Math.min(n,a[t][o].rowSpan)}if(!i)for(o=0;o<a[t].length;o+=1)void 0!==a[t][o]&&h.__mark(a[t][o],"rowspan",a[t][o].rowSpan-n+1,r)}for(t=0;t<a.length;t+=1)for(o=0;o<a[t].length;o+=1)void 0!==a[t][o]&&(a[t][o].hasAttribute("rowspan")&&1===a[t][o].rowSpan&&a[t][o].removeAttribute("rowspan"),a[t][o].hasAttribute("colspan")&&1===a[t][o].colSpan&&a[t][o].removeAttribute("colspan"),a[t][o].hasAttribute("class")&&!a[t][o].getAttribute("class")&&a[t][o].removeAttribute("class"));h.__unmark(r)},h.mergeSelected=function(e){var r,a=[],s=h.getSelectedBound(e,h.getAllSelectedCells(e)),l=0,c=null,d=0,u=0,f=0,p=[];s&&(s[0][0]-s[1][0]||s[0][1]-s[1][1])&&(h.formalMatrix(e,function(e,t,o,n,i){if(!(t<s[0][0]||s[1][0]<t||o<s[0][1]||s[1][1]<o)){if((r=e).__i_am_already_was)return;r.__i_am_already_was=!0,t===s[0][0]&&r.style.width&&(l+=r.offsetWidth),""!==g.trim(e.innerHTML.replace(/<br(\/)?>/g,""))&&a.push(e.innerHTML),1<n&&(u+=n-1),1<i&&(f+=i-1),c?h.__mark(r,"remove",1,p):(c=e,d=o)}}),u=s[1][1]-s[0][1]+1,f=s[1][0]-s[0][0]+1,c&&(1<u&&h.__mark(c,"colspan",u,p),1<f&&h.__mark(c,"rowspan",f,p),l&&(h.__mark(c,"width",(l/e.offsetWidth*100).toFixed(v.ACCURACY)+"%",p),d&&h.setColumnWidthByDelta(e,d,0,!0,p)),c.innerHTML=a.join("<br/>"),delete c.__i_am_already_was,h.__unmark(p),h.normalizeTable(e),g.each(Array.from(e.rows),function(e,t){t.cells.length||m.Dom.safeRemove(t)})))},h.splitHorizontal=function(i){var r,e,t,a,s,l=[],o=i.ownerDocument||document;h.getAllSelectedCells(i).forEach(function(n){(e=o.createElement("td")).appendChild(o.createElement("br")),t=o.createElement("tr"),r=h.formalCoordinate(i,n),n.rowSpan<2?(h.formalMatrix(i,function(e,t,o){r[0]===t&&r[1]!==o&&e!==n&&h.__mark(e,"rowspan",e.rowSpan+1,l)}),m.Dom.after(m.Dom.closest(n,"tr",i),t),t.appendChild(e)):(h.__mark(n,"rowspan",n.rowSpan-1,l),h.formalMatrix(i,function(e,t,o){r[0]<t&&t<r[0]+n.rowSpan&&o<r[1]&&e.parentNode.rowIndex===t&&(s=e),r[0]<t&&e===n&&(a=i.rows[t])}),s?m.Dom.after(s,e):a.insertBefore(e,a.firstChild)),1<n.colSpan&&h.__mark(e,"colspan",n.colSpan,l),h.__unmark(l),h.restoreSelection(n)}),this.normalizeTable(i)},h.splitVertical=function(t){var i,o,r,a=[],s=t.ownerDocument||document;h.getAllSelectedCells(t).forEach(function(n){i=h.formalCoordinate(t,n),n.colSpan<2?h.formalMatrix(t,function(e,t,o){i[1]===o&&i[0]!==t&&e!==n&&h.__mark(e,"colspan",e.colSpan+1,a)}):h.__mark(n,"colspan",n.colSpan-1,a),(o=s.createElement("td")).appendChild(s.createElement("br")),1<n.rowSpan&&h.__mark(o,"rowspan",n.rowSpan,a);var e=n.offsetWidth;m.Dom.after(n,o),h.__mark(n,"width",(100*(r=e/t.offsetWidth/2)).toFixed(v.ACCURACY)+"%",a),h.__mark(o,"width",(100*r).toFixed(v.ACCURACY)+"%",a),h.__unmark(a),h.restoreSelection(n)}),h.normalizeTable(t)},h.setColumnWidthByDelta=function(e,t,o,n,i){var r,a=h.formalMatrix(e);for(r=0;r<a.length;r+=1)h.__mark(a[r][t],"width",((a[r][t].offsetWidth+o)/e.offsetWidth*100).toFixed(v.ACCURACY)+"%",i);n||h.__unmark(i)},h.__mark=function(e,t,o,n){n.push(e),e.__marked_value||(e.__marked_value={}),e.__marked_value[t]=void 0===o?1:o},h.__unmark=function(e){e.forEach(function(o){o.__marked_value&&(g.each(o.__marked_value,function(e,t){switch(e){case"remove":m.Dom.safeRemove(o);break;case"rowspan":1<t?o.setAttribute("rowspan",""+t):o.removeAttribute("rowspan");break;case"colspan":1<t?o.setAttribute("colspan",""+t):o.removeAttribute("colspan");break;case"width":o.style.width=""+t}delete o.__marked_value[e]}),delete o.__marked_value)})},h}();t.Table=n},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(16);t.JoditObject=function(e){n.extend(!0,this,e)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(16),i=function(){function e(e){var t=this;n.extend(!(this.length=0),this,e),this.length=e.length;var o=Array.prototype;["map","forEach","reduce","push","pop","shift","unshift","slice","splice"].forEach(function(e){t[e]=o[e]})}return e.prototype.toString=function(){for(var e=[],t=0;t<this.length;t+=1)e[t]=this[t];return""+e},e}();t.JoditArray=i},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={},i=n.toString;t.hasOwn=n.hasOwnProperty,["Boolean","Number","String","Function","Array","Date","RegExp","Object","Error","Symbol","HTMLDocument","Window","HTMLElement","HTMLBodyElement","Text","DocumentFragment","DOMStringList","HTMLCollection"].forEach(function(e){n["[object "+e+"]"]=e.toLowerCase()}),t.type=function(e){return null===e?"null":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2);t.trim=function(e){return e.replace(n.SPACE_REG_EXP_START,"").replace(n.SPACE_REG_EXP_END,"")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(10),i=function(){function e(e){this.provider=e,this.prefix="Jodit_"}return e.prototype.set=function(e,t){this.provider.set(n.camelCase(this.prefix+e),t)},e.prototype.get=function(e){return this.provider.get(n.camelCase(this.prefix+e))},e}();t.Storage=i},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var i in t=arguments[o])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var s=o(4),r=o(111),l=o(26),c=o(114),d=o(0),u=o(7),f=o(1),p=function(t){function e(e){var r=t.call(this,e)||this;return r.__buttons=[],r.__getControlType=function(e){var t,o=r.jodit.options.controls||f.Config.defaultOptions.controls;if("string"!=typeof e)void 0!==o[(t=a({name:"empty"},e)).name]&&(t=a({},o[t.name],t));else{var n=e.split(/\./),i=o;1<n.length&&void 0!==o[n[0]]&&(i=o[n[0]],e=n[1]),t=void 0!==i[e]?a({name:e},i[e]):{name:e,command:e,tooltip:e}}return t},r.closeAll=function(){r.jodit&&r.jodit.events&&r.jodit.events.fire("closeAllPopups")},r.initEvents=function(){r.jodit.events.on(r.jodit.ownerWindow,"mousedown touchend",r.closeAll).on(r.listenEvents,r.checkActiveButtons).on("afterSetMode focus",r.immedateCheckActiveButtons)},r.listenEvents="changeStack mousedown mouseup keydown change afterInit readonly afterResize selectionchange changeSelection focus afterSetMode touchstart",r.immedateCheckActiveButtons=function(){r.isDestructed||r.jodit.isLocked()||(r.__buttons.filter(function(e){return e instanceof l.ToolbarButton}).forEach(function(e){e.disable=e.isDisable(),e.disable||(e.active=e.isActive()),"function"==typeof e.control.getLabel&&e.control.getLabel(r.jodit,e.control,e)}),r.jodit.events&&r.jodit.events.fire("updateToolbar"))},r.checkActiveButtons=s.debounce(r.immedateCheckActiveButtons,r.jodit.defaultTimeout),r.container=r.jodit.create.element("ul"),r.container.classList.add("jodit_toolbar"),r.initEvents(),r}return i(e,t),e.prototype.getButtonsList=function(){return this.__buttons.map(function(e){return e instanceof l.ToolbarButton?e.control.name:""}).filter(function(e){return""!==e})},e.prototype.appendChild=function(e){this.__buttons.push(e),this.container.appendChild(e.container)},e.prototype.removeChild=function(e){var t=this.__buttons.indexOf(e);-1!==t&&(this.__buttons.splice(t,1),e.container.parentNode===this.container&&d.Dom.safeRemove(e.container))},e.prototype.build=function(e,t,o){var n=this,i=!1;this.clear(),("string"==typeof e?e.split(/[,\s]+/):e).map(this.__getControlType).forEach(function(e){var t=null;if(-1==n.jodit.options.removeButtons.indexOf(e.name)){switch(e.name){case"\n":t=new r.ToolbarBreak(n);break;case"|":i||(i=!0,t=new c.ToolbarSeparator(n));break;default:i=!1,t=new l.ToolbarButton(n,e,o)}t&&n.appendChild(t)}}),this.container.parentNode!==t&&t.appendChild(this.container),this.immedateCheckActiveButtons()},e.prototype.clear=function(){var t=this;this.__buttons.slice().forEach(function(e){t.removeChild(e),e.destruct()}),this.__buttons.length=0},e.prototype.buttonIsActive=function(e){if("function"==typeof e.control.isActive)return e.control.isActive(this.jodit,e.control,e)},e.prototype.buttonIsDisabled=function(e){return!!this.jodit.options.disabled||!(!this.jodit.options.readonly||this.jodit.options.activeButtonsInReadOnly&&-1!=this.jodit.options.activeButtonsInReadOnly.indexOf(e.control.name))||("function"==typeof e.control.isDisable&&(t=e.control.isDisable(this.jodit,e.control,e)),t);var t},e.prototype.getTarget=function(e){return e.target},e.prototype.setDirection=function(e){this.container.style.direction=e,this.container.setAttribute("dir",e)},e.prototype.destruct=function(){this.isDestructed||(this.jodit.events.off(this.jodit.ownerWindow,"mousedown touchstart",this.closeAll).off(this.listenEvents,this.checkActiveButtons).off("afterSetMode focus",this.immedateCheckActiveButtons),this.clear(),d.Dom.safeRemove(this.container),delete this.container,t.prototype.destruct.call(this))},e}(u.Component);t.ToolbarCollection=p},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),r=o(3);n.Config.prototype.defaultAjaxOptions={dataType:"json",method:"GET",url:"",data:null,contentType:"application/x-www-form-urlencoded; charset=UTF-8",headers:{"X-REQUESTED-WITH":"XMLHttpRequest"},withCredentials:!0,xhr:function(){return new("undefined"==typeof XDomainRequest?XMLHttpRequest:XDomainRequest)}};var i=function(){function e(e,t){var o=this;this.success_response_codes=[200,201,202],this.jodit=e,this.options=r.extend(!0,{},n.Config.prototype.defaultAjaxOptions,t),this.options.xhr&&(this.xhr=this.options.xhr()),e&&e.events&&e.events.on("beforeDestruct",function(){o.abort()})}return e.prototype.__buildParams=function(e,t){if(this.options.queryBuild&&"function"==typeof this.options.queryBuild)return this.options.queryBuild.call(this,e,t);if("string"==typeof e||this.jodit.ownerWindow.FormData&&e instanceof this.jodit.ownerWindow.FormData)return e;var o,n,i,r=[];for(o in e)e.hasOwnProperty(o)&&(n=t?t+"["+o+"]":o,r.push("object"==typeof(i=e[o])?this.__buildParams(i,n):encodeURIComponent(n)+"="+encodeURIComponent(i)));return r.join("&")},e.prototype.abort=function(){try{this.xhr.abort()}catch(e){}return this},e.prototype.send=function(){var i=this;return new Promise(function(t,o){var n=function(e){var t=null;switch(i.options.dataType){case"json":t=JSON.parse(e)}if(!t)throw Error("No JSON format");return t};if(i.xhr.onabort=function(){o(Error(i.xhr.statusText))},i.xhr.onerror=function(){o(Error(i.xhr.statusText))},i.xhr.ontimeout=function(){o(Error(i.xhr.statusText))},i.xhr.onload=function(){i.response=i.xhr.responseText,i.status=i.xhr.status,t.call(i.xhr,n(i.response)||{})},i.xhr.onreadystatechange=function(){if(i.xhr.readyState===XMLHttpRequest.DONE){var e=i.xhr.responseText;i.response=e,i.status=i.xhr.status,-1<i.success_response_codes.indexOf(i.xhr.status)?t.call(i.xhr,n(e)):o.call(i.xhr,Error(i.xhr.statusText||i.jodit.i18n("Connection error!")))}},i.xhr.withCredentials=i.options.withCredentials||!1,!i.options.url)throw Error("Need URL for AJAX request");i.xhr.open(i.options.method||"get",i.options.url,!0),i.options.contentType&&i.xhr.setRequestHeader&&i.xhr.setRequestHeader("Content-type",i.options.contentType),i.options.headers&&i.xhr.setRequestHeader&&r.each(i.options.headers,function(e,t){i.xhr.setRequestHeader(e,t)}),setTimeout(function(){i.xhr.send(i.options.data?i.__buildParams(i.options.data):void 0)},0)})},e}();t.Ajax=i},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(7),a=o(8),s=o(5),l=o(0),c=function(o){function e(e){var t=o.call(this,e)||this;return t.hide=function(){t.context.classList.remove("jodit_context_menu-show"),t.jodit.ownerWindow.removeEventListener("mouseup",t.hide)},t.context=e.create.div("jodit_context_menu",{"data-editor_id":t.jodit.id}),e.ownerDocument.body.appendChild(t.context),t}return i(e,o),e.prototype.show=function(e,t,o,n){var i=this,r=this;Array.isArray(o)&&(n&&(this.context.style.zIndex=""+n),this.context.innerHTML="",o.forEach(function(t){if(t){var e=i.jodit.create.fromHTML('<a href="javascript:void(0)">'+(t.icon?s.ToolbarIcon.getIcon(t.icon):"")+"<span></span></a>"),o=e.querySelector("span");e.addEventListener("click",function(e){return t.exec&&t.exec.call(r,e),r.hide(),!1}),o.innerText=r.jodit.i18n(t.title||""),r.context.appendChild(e)}}),a.css(r.context,{left:e,top:t}),this.jodit.events.on(this.jodit.ownerWindow,"mouseup",r.hide),this.context.classList.add("jodit_context_menu-show"))},e.prototype.destruct=function(){l.Dom.safeRemove(this.context),delete this.context,this.jodit.events.off(this.jodit.ownerWindow,"mouseup",this.hide),o.prototype.destruct.call(this)},e}(r.Component);t.ContextMenu=c},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.asArray=function(e){return Array.isArray(e)?e:[e]}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=o(15);t.debounce=function(o,n,i,r){3===arguments.length&&"boolean"!=typeof i&&(r=i,i=!1);var a=0;return function(){var e=arguments,t=r||this;(i&&!a||!n)&&o.apply(t,e),n&&(clearTimeout(a),a=s.setTimeout(function(){i||o.apply(t,e),a=0},n))}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isWindow=function(e){return null!==e&&e===e.window}},function(e,o,t){"use strict";function n(e){for(var t in e)o.hasOwnProperty(t)||(o[t]=e[t])}Object.defineProperty(o,"__esModule",{value:!0}),n(t(78)),n(t(79)),n(t(80)),n(t(81)),n(t(22)),n(t(21)),n(t(41)),n(t(39)),n(t(82))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isURL=function(e){return/^(https?:\/\/)((([a-z\d]([a-z\d-]*[a-z\d])*)\.?)+[a-z]{2,}|((\d{1,3}\.){3}\d{1,3}))(\:\d+)?(\/[-a-z\d%_.~+]*)*(\?[;&a-z\d%_.~+=-]*)?(\#[-a-z\d_]*)?$/i.test(e)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.colorToHex=function(e){if("rgba(0, 0, 0, 0)"===e||""===e)return!1;if(!e)return"#000000";if("#"===e.substr(0,1))return e;var t,o,n,i=/([\s\n\t\r]*?)rgb\((\d+), (\d+), (\d+)\)/.exec(e)||/([\s\n\t\r]*?)rgba\((\d+), (\d+), (\d+), ([\d.]+)\)/.exec(e);if(!i)return"#000000";for(o=parseInt(i[2],10),n=parseInt(i[3],10),t=(parseInt(i[4],10)|n<<8|o<<16).toString(16).toUpperCase();t.length<6;)t="0"+t;return i[1]+"#"+t}},function(e,o,t){"use strict";function n(e){for(var t in e)o.hasOwnProperty(t)||(o[t]=e[t])}Object.defineProperty(o,"__esModule",{value:!0}),n(t(85)),n(t(86)),n(t(88)),n(t(89)),n(t(90))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=function(e){return e.replace(/([-_])(.)/g,function(e,t,o){return o.toUpperCase()})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromCamelCase=function(e){return e.replace(/([A-Z]+)/g,function(e,t){return"-"+t.toLowerCase()})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeURL=function(e){return e.replace(/([^:])[\\\/]+/g,"$1/")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(22);t.normilizeCSSValue=function(e,t){switch(e.toLowerCase()){case"font-weight":switch((""+t).toLowerCase()){case"bold":return 700;case"normal":return 400;case"heavy":return 900}return n.isNumeric(t)?+t:t}return t}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(49);t.appendScript=function(e,t,o,n){void 0===o&&(o="");var i=n.createElement("script");return i.className=o,i.type="text/javascript",void 0!==t&&i.addEventListener("load",t),i.src=r.completeUrl(e),n.body.appendChild(i),{callback:t,element:i}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.completeUrl=function(e){return"file:"===window.location.protocol&&/^\/\//.test(e)&&(e="https:"+e),e}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseQuery=function(e){for(var t,o={},n=e.substr(1).split("&"),i=0;i<n.length;i+=1)t=n[i].split("="),o[decodeURIComponent(t[0])]=decodeURIComponent(t[1]||"");return o}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ctrlKey=function(e){if("undefined"!=typeof navigator&&-1!=navigator.userAgent.indexOf("Mac OS X")){if(e.metaKey&&!e.altKey)return!0}else if(e.ctrlKey&&!e.altKey)return!0;return!1}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultLanguage=function(e){return"auto"===e||void 0===e?document.documentElement&&document.documentElement.lang||navigator.language&&navigator.language.substr(0,2)||!!navigator.browserLanguage&&navigator.browserLanguage.substr(0,2)||"en":e}},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),a=o(7),s=o(4),l=o(54),c=o(55),d=o(107);r.Config.prototype.observer={timeout:100};var u=function(n){function e(e){var t=n.call(this,e)||this;t.onChangeStack=function(){t.__newValue=t.snapshot.make(),l.Snapshot.equal(t.__newValue,t.__startValue)||(t.stack.push(new d.Command(t.__startValue,t.__newValue,t)),t.__startValue=t.__newValue,t.changeStack())},t.stack=new c.Stack,t.snapshot=new l.Snapshot(e);var o=s.debounce(t.onChangeStack,e.defaultTimeout);return e.events.on("afterInit.observer",function(){t.isDestructed||(t.__startValue=t.snapshot.make(),e.events.on("changeSelection.observer selectionstart.observer selectionchange.observer mousedown.observer mouseup.observer keydown.observer keyup.observer",function(){t.__startValue.html===t.jodit.getNativeEditorValue()&&(t.__startValue=t.snapshot.make())}).on("change.observer",function(){t.snapshot.isBlocked||o()}))}),t}return i(e,n),e.prototype.redo=function(){this.stack.redo()&&(this.__startValue=this.snapshot.make(),this.changeStack())},e.prototype.undo=function(){this.stack.undo()&&(this.__startValue=this.snapshot.make(),this.changeStack())},e.prototype.clear=function(){this.__startValue=this.snapshot.make(),this.stack.clear(),this.changeStack()},e.prototype.changeStack=function(){this.jodit&&!this.jodit.isDestructed&&this.jodit.events&&this.jodit.events.fire("changeStack")},e.prototype.destruct=function(){this.jodit.events&&this.jodit.events.off(".observer"),this.snapshot.destruct(),delete this.snapshot,delete this.stack,n.prototype.destruct.call(this)},e}(a.Component);t.Observer=u},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(7),a=o(0),s=function(t){function s(){var e=null!==t&&t.apply(this,arguments)||this;return e.isBlocked=!1,e}return i(s,t),s.equal=function(e,t){return e.html===t.html&&JSON.stringify(e.range)===JSON.stringify(t.range)},s.countNodesBeforeInParent=function(e){if(!e.parentNode)return 0;var t,o=e.parentNode.childNodes,n=0,i=null;for(t=0;t<o.length;t+=1){if(!i||o[t].nodeType===Node.TEXT_NODE&&""===o[t].textContent||i.nodeType===Node.TEXT_NODE&&o[t].nodeType===Node.TEXT_NODE||(n+=1),o[t]===e)return n;i=o[t]}return 0},s.strokeOffset=function(e,t){for(;e&&e.nodeType===Node.TEXT_NODE;)(e=e.previousSibling)&&e.nodeType===Node.TEXT_NODE&&null!==e.textContent&&(t+=e.textContent.length);return t},s.prototype.calcHierarchyLadder=function(e){var t=[];if(!e||!e.parentNode||!a.Dom.isOrContains(this.jodit.editor,e))return[];for(;e&&e!==this.jodit.editor;)e&&t.push(s.countNodesBeforeInParent(e)),e=e.parentNode;return t.reverse()},s.prototype.getElementByLadder=function(e){var t,o=this.jodit.editor;for(t=0;o&&t<e.length;t+=1)o=o.childNodes[e[t]];return o},s.prototype.make=function(){var e={html:"",range:{startContainer:[],startOffset:0,endContainer:[],endOffset:0}};e.html=this.jodit.getNativeEditorValue();var t=this.jodit.editorWindow.getSelection();if(t&&t.rangeCount){var o=t.getRangeAt(0),n=this.calcHierarchyLadder(o.startContainer),i=this.calcHierarchyLadder(o.endContainer),r=s.strokeOffset(o.startContainer,o.startOffset),a=s.strokeOffset(o.endContainer,o.endOffset);n.length||o.startContainer===this.jodit.editor||(r=0),i.length||o.endContainer===this.jodit.editor||(a=0),e.range={startContainer:n,startOffset:r,endContainer:i,endOffset:a}}return e},s.prototype.restore=function(e){this.isBlocked=!0,this.jodit.setEditorValue(e.html);try{if(e.range){var t=this.jodit.editorDocument.createRange();t.setStart(this.getElementByLadder(e.range.startContainer),e.range.startOffset),t.setEnd(this.getElementByLadder(e.range.endContainer),e.range.endOffset),this.jodit.selection.selectRange(t)}}catch(e){}this.isBlocked=!1},s.prototype.destruct=function(){this.isBlocked=!1,t.prototype.destruct.call(this)},s}(r.Component);t.Snapshot=s},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this.commands=[],this.stackPosition=-1}return e.prototype.clearRedo=function(){this.commands.length=this.stackPosition+1},e.prototype.clear=function(){this.commands.length=0,this.stackPosition=-1},e.prototype.push=function(e){this.clearRedo(),this.commands.push(e),this.stackPosition+=1},e.prototype.undo=function(){return!!this.canUndo()&&(this.commands[this.stackPosition]&&this.commands[this.stackPosition].undo(),this.stackPosition-=1,!0)},e.prototype.redo=function(){return!!this.canRedo()&&(this.stackPosition+=1,this.commands[this.stackPosition]&&this.commands[this.stackPosition].redo(),!0)},e.prototype.canUndo=function(){return 0<=this.stackPosition},e.prototype.canRedo=function(){return this.stackPosition<this.commands.length-1},e}();t.Stack=n},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var v=o(2),d=o(2),m=o(0),g=o(8),r=o(17),a=o(9),b=o(40),_=o(24),y=o(10),n=function(){function e(e){var c=this;this.jodit=e,this.isMarker=function(e){return m.Dom.isNode(e,c.win)&&e.nodeType===Node.ELEMENT_NODE&&"SPAN"===e.nodeName&&e.hasAttribute("data-"+v.MARKER_CLASS)},this.focus=function(){if(c.isFocused())return!1;c.jodit.iframe&&"complete"==c.doc.readyState&&c.jodit.iframe.focus(),c.win.focus(),c.area.focus();var e=c.sel,t=c.createRange();return e.rangeCount&&c.current()||(t.setStart(c.area,0),t.collapse(!0),e.removeAllRanges(),e.addRange(t)),!0},this.eachSelection=function(o){var e=c.sel;if(e.rangeCount){var t=e.getRangeAt(0),n=[],i=t.startOffset,r=c.area.childNodes.length,a=t.startContainer===c.area?c.area.childNodes[i<r?i:r-1]:t.startContainer,s=t.endContainer===c.area?c.area.childNodes[t.endOffset-1]:t.endContainer;m.Dom.find(a,function(e){return!e||e===c.area||m.Dom.isEmptyTextNode(e)||c.isMarker(e)||n.push(e),e===s},c.area,!0,"nextSibling",!1);var l=function(e){if(e.nodeName.match(/^(UL|OL)$/))return[].slice.call(e.childNodes).forEach(l);if("LI"===e.nodeName)if(e.firstChild)e=e.firstChild;else{var t=c.jodit.create.inside.text(d.INVISIBLE_SPACE);e.appendChild(t),e=t}o(e)};0===n.length&&m.Dom.isEmptyTextNode(a)&&n.push(a),n.forEach(l)}}}return Object.defineProperty(e.prototype,"area",{get:function(){return this.jodit.editor},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"win",{get:function(){return this.jodit.editorWindow},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"doc",{get:function(){return this.jodit.editorDocument},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sel",{get:function(){return this.win.getSelection()},enumerable:!0,configurable:!0}),e.prototype.createRange=function(){return this.doc.createRange()},e.prototype.remove=function(){var e=this.sel;if(this.current())for(var t=0;t<e.rangeCount;t+=1)e.getRangeAt(t).deleteContents(),e.getRangeAt(t).collapse(!0)},e.prototype.insertCursorAtPoint=function(e,t){this.removeMarkers();try{var o=this.createRange();if(this.doc.caretPositionFromPoint){var n=this.doc.caretPositionFromPoint(e,t);o.setStart(n.offsetNode,n.offset)}else this.doc.caretRangeFromPoint&&(n=this.doc.caretRangeFromPoint(e,t),o.setStart(n.startContainer,n.startOffset));if(o){o.collapse(!0);var i=this.sel;i.removeAllRanges(),i.addRange(o)}else if(void 0!==this.doc.body.createTextRange){var r=this.doc.body.createTextRange();r.moveToPoint(e,t);var a=r.duplicate();a.moveToPoint(e,t),r.setEndPoint("EndToEnd",a),r.select()}return!0}catch(e){}return!1},e.prototype.removeMarkers=function(){a.$$("span[data-"+v.MARKER_CLASS+"]",this.area).forEach(m.Dom.safeRemove)},e.prototype.marker=function(e,t){void 0===e&&(e=!1);var o=null;t&&(o=t.cloneRange()).collapse(e);var n=this.jodit.create.inside.span();return n.id=v.MARKER_CLASS+"_"+ +new Date+"_"+(""+Math.random()).slice(2),n.style.lineHeight="0",n.style.display="none",n.setAttribute("data-"+v.MARKER_CLASS,e?"start":"end"),n.appendChild(this.jodit.create.inside.text(v.INVISIBLE_SPACE)),o&&m.Dom.isOrContains(this.area,e?o.startContainer:o.endContainer)&&o.insertNode(n),n},e.prototype.restore=function(e){var r=this;if(void 0===e&&(e=[]),Array.isArray(e)){var a=this.sel;a.removeAllRanges(),e.forEach(function(e){var t=r.createRange(),o=r.area.querySelector("#"+e.endId),n=r.area.querySelector("#"+e.startId);if(n){if(e.collapsed||!o){var i=n.previousSibling;i&&i.nodeType===Node.TEXT_NODE?t.setStart(i,i.nodeValue?i.nodeValue.length:0):t.setStartBefore(n),m.Dom.safeRemove(n),t.collapse(!0)}else t.setStartAfter(n),m.Dom.safeRemove(n),t.setEndBefore(o),m.Dom.safeRemove(o);a.addRange(t)}})}},e.prototype.save=function(){var e=this.sel;if(!e.rangeCount)return[];var t,o,n,i=[],r=e.rangeCount,a=[];for(t=0;t<r;t+=1)a[t]=e.getRangeAt(t),i[t]=a[t].collapsed?{startId:(o=this.marker(!0,a[t])).id,collapsed:!0,startMarker:o.outerHTML}:(o=this.marker(!0,a[t]),n=this.marker(!1,a[t]),{startId:o.id,endId:n.id,collapsed:!1,startMarker:o.outerHTML,endMarker:n.outerHTML});for(e.removeAllRanges(),t=r-1;0<=t;--t){var s=this.doc.getElementById(i[t].startId);if(s)if(i[t].collapsed)a[t].setStartAfter(s),a[t].collapse(!0);else if(a[t].setStartBefore(s),i[t].endId){var l=this.doc.getElementById(i[t].endId);l&&a[t].setEndAfter(l)}try{e.addRange(a[t].cloneRange())}catch(e){}}return i},e.prototype.isCollapsed=function(){for(var e=this.sel,t=0;t<e.rangeCount;t+=1)if(!e.getRangeAt(t).collapsed)return!1;return!0},e.prototype.isFocused=function(){return this.doc.hasFocus&&this.doc.hasFocus()&&this.area===this.doc.activeElement},e.prototype.current=function(e){if(void 0===e&&(e=!0),this.jodit.getRealMode()===v.MODE_WYSIWYG){var t=this.sel;if(t&&0<t.rangeCount){var o=t.getRangeAt(0),n=o.startContainer,i=!1,r=function(e){return i?e.lastChild:e.firstChild};if(n.nodeType!==Node.TEXT_NODE){if((n=o.startContainer.childNodes[o.startOffset])||(n=o.startContainer.childNodes[o.startOffset-1],i=!0),n&&t.isCollapsed&&n.nodeType!==Node.TEXT_NODE)if(!i&&n.previousSibling&&n.previousSibling.nodeType===Node.TEXT_NODE)n=n.previousSibling;else if(e)for(var a=r(n);a;){if(a&&a.nodeType===Node.TEXT_NODE){n=a;break}a=r(a)}if(n&&!t.isCollapsed&&n.nodeType!==Node.TEXT_NODE){for(var s=n,l=n;l=l.lastChild,(s=s.firstChild)&&l&&s.nodeType!==Node.TEXT_NODE;);s===l&&s&&s.nodeType===Node.TEXT_NODE&&(n=s)}}if(n&&m.Dom.isOrContains(this.area,n))return n}}return!1},e.prototype.insertNode=function(e,t,o){if(void 0===t&&(t=!0),void 0===o&&(o=!0),!m.Dom.isNode(e,this.win))throw Error("Parameter node most be instance of Node");this.focus();var n=this.sel;if(this.isCollapsed()||this.jodit.execCommand("Delete"),n.rangeCount){var i=n.getRangeAt(0);m.Dom.isOrContains(this.area,i.commonAncestorContainer)?(i.deleteContents(),i.insertNode(e)):this.area.appendChild(e)}else this.area.appendChild(e);t&&this.setCursorAfter(e),o&&this.jodit.events&&this.jodit.events.fire("synchro"),this.jodit.events&&this.jodit.events.fire("afterInsertNode",e)},e.prototype.insertHTML=function(e){if(""!==e){var t,o,n=this.jodit.create.inside.div(),i=this.jodit.create.inside.fragment();if(!this.isFocused()&&this.jodit.isEditorMode()&&this.focus(),e instanceof this.win.Node?m.Dom.isNode(e,this.win)&&n.appendChild(e):n.innerHTML=""+e,this.jodit.isEditorMode()||!1!==this.jodit.events.fire("insertHTML",n.innerHTML)){for(t=n.lastChild;n.firstChild;)i.appendChild(t=n.firstChild);for(this.insertNode(i,!1),t?this.setCursorAfter(t):this.setCursorIn(i),o=this.area.lastChild;o&&o.nodeType===Node.TEXT_NODE&&o.previousSibling&&o.nodeValue&&/^\s*$/.test(o.nodeValue);)o=o.previousSibling;t&&(o&&t===o&&t.nodeType===Node.ELEMENT_NODE&&this.area.appendChild(this.jodit.create.inside.element("br")),this.setCursorAfter(t))}}},e.prototype.insertImage=function(e,t,o){var n="string"==typeof e?this.jodit.create.inside.element("img"):e;if("string"==typeof e&&n.setAttribute("src",e),null!==o){var i=""+o;i&&"auto"!==i&&(i+"").indexOf("px")<0&&(i+"").indexOf("%")<0&&(i+="px"),g.css(n,"width",i)}t&&"object"==typeof t&&g.css(n,t);var r=function(){(n.naturalHeight<n.offsetHeight||n.naturalWidth<n.offsetWidth)&&(n.style.width="",n.style.height=""),n.removeEventListener("load",r)};n.addEventListener("load",r),n.complete&&r();var a=this.insertNode(n);return this.jodit.events.fire("afterInsertImage",n),a},e.prototype.setCursorAfter=function(e){var t=this;if(!(e instanceof this.win.Node))throw Error("Parameter node most be instance of Node");if(!m.Dom.up(e,function(e){return e===t.area||e&&e.parentNode===t.area},this.area))throw Error("Node element must be in editor");var o=this.createRange(),n=!1;return e.nodeType!==Node.TEXT_NODE?(n=this.doc.createTextNode(v.INVISIBLE_SPACE),o.setStartAfter(e),o.insertNode(n),o.selectNode(n)):o.setEnd(e,null!==e.nodeValue?e.nodeValue.length:0),o.collapse(!1),this.selectRange(o),n},e.prototype.cursorInTheEdge=function(o,n){var e=this.sel,t=e.rangeCount?e.getRangeAt(0):null;if(!t)return null;var i=o?t.startContainer:t.endContainer,r=function(e){for(;e;)if(t=e,(e=o?m.Dom.prev(t,function(e){return!!e},n):m.Dom.next(t,function(e){return!!e},n))&&!m.Dom.isEmptyTextNode(e)&&"BR"!==e.nodeName)return!1;var t};if(i.nodeType===Node.TEXT_NODE){var a=i.nodeValue||"";if(o&&t.startOffset>a.length-a.replace(d.INVISIBLE_SPACE_REG_EXP_START,"").length)return!1;if(!o&&t.startOffset<a.replace(d.INVISIBLE_SPACE_REG_EXP_END,"").length)return!1;if(!1===r(i))return!1}var s=this.current(!1);return s&&m.Dom.isOrContains(n,s,!0)?!(!o&&t.startContainer.childNodes[t.startOffset]&&s&&!m.Dom.isEmptyTextNode(s))&&!1!==r(s):null},e.prototype.setCursorBefore=function(e){var t=this;if(!(e instanceof this.win.Node))throw Error("Parameter node most be instance of Node");if(!m.Dom.up(e,function(e){return e===t.area||e&&e.parentNode===t.area},this.area))throw Error("Node element must be in editor");var o=this.createRange(),n=!1;return e.nodeType!==Node.TEXT_NODE?(n=this.doc.createTextNode(v.INVISIBLE_SPACE),o.setStartBefore(e),o.collapse(!0),o.insertNode(n),o.selectNode(n)):o.setStart(e,null!==e.nodeValue?e.nodeValue.length:0),o.collapse(!0),this.selectRange(o),n},e.prototype.setCursorIn=function(e,t){var o=this;if(void 0===t&&(t=!1),!(e instanceof this.win.Node))throw Error("Parameter node most be instance of Node");if(!m.Dom.up(e,function(e){return e===o.area||e&&e.parentNode===o.area},this.area))throw Error("Node element must be in editor");var n=this.createRange(),i=e,r=e;do{if(i.nodeType===Node.TEXT_NODE)break;r=i,i=t?i.firstChild:i.lastChild}while(i);if(!i){var a=this.doc.createTextNode(v.INVISIBLE_SPACE);/^(img|br|input)$/i.test(r.nodeName)?i=r:(r.appendChild(a),r=a)}return n.selectNodeContents(i||r),n.collapse(t),this.selectRange(n),r},e.prototype.selectRange=function(e){var t=this.sel;t.removeAllRanges(),t.addRange(e),this.jodit.events.fire("changeSelection")},e.prototype.select=function(e,t){var o=this;if(void 0===t&&(t=!1),!m.Dom.isNode(e,this.win))throw Error("Parameter node most be instance of Node");if(!m.Dom.up(e,function(e){return e===o.area||e&&e.parentNode===o.area},this.area))throw Error("Node element must be in editor");var n=this.createRange();n[t?"selectNodeContents":"selectNode"](e),this.selectRange(n)},e.prototype.getHTML=function(){var e=this.sel;if(0<e.rangeCount){var t=e.getRangeAt(0).cloneContents(),o=this.jodit.create.inside.div();return o.appendChild(t),o.innerHTML}return""},e.prototype.applyCSS=function(s,l,t){var c=this;void 0===l&&(l="span");var d,u="SPAN",f=function(e){return null!==e&&!m.Dom.isEmptyTextNode(e)&&!c.isMarker(e)},p=function(e){return!!e&&(RegExp("^"+e.nodeName+"$","i").test(l)||!(!t||"FONT"===(n=e).nodeName||n.nodeType!==Node.ELEMENT_NODE||!(b.isPlainObject(t)&&_.each(t,function(e,t){var o=g.css(n,e,void 0,!0);return null!==o&&""!==o&&-1!=t.indexOf((""+o).toLowerCase())})||"function"==typeof t&&t(c.jodit,n))))&&f(e);var n},h=function(t){p(t)&&(t.nodeName===u&&s&&Object.keys(s).forEach(function(e){0===d||g.css(t,e)===r.normilizeCSSValue(e,s[e])?(g.css(t,e,""),void 0===d&&(d=0)):(g.css(t,e,s[e]),void 0===d&&(d=1))}),m.Dom.isBlock(t,c.win)||t.getAttribute("style")&&t.nodeName===u||(m.Dom.unwrap(t),void 0===d&&(d=0)))};if(this.isCollapsed()){var e=!1;if(this.current()&&m.Dom.closest(this.current(),l,this.area)){e=!0;var o=m.Dom.closest(this.current(),l,this.area);o&&this.setCursorAfter(o)}if(l.toUpperCase()===u||!e){var n=this.jodit.create.inside.element(l);n.appendChild(this.jodit.create.inside.text(v.INVISIBLE_SPACE)),this.insertNode(n,!1,!1),l.toUpperCase()===u&&s&&g.css(n,s),this.setCursorIn(n)}}else{var i=this.save();r.normalizeNode(this.area.firstChild),a.$$("*[style*=font-size]",this.area).forEach(function(e){e.style&&e.style.fontSize&&e.setAttribute("data-font-size",""+e.style.fontSize)}),this.doc.execCommand("fontsize",!1,"7"),a.$$("*[data-font-size]",this.area).forEach(function(e){e.style&&e.getAttribute("data-font-size")&&(e.style.fontSize=e.getAttribute("data-font-size"),e.removeAttribute("data-font-size"))}),a.$$('font[size="7"]',this.area).forEach(function(e){if(m.Dom.next(e,f,e.parentNode)||m.Dom.prev(e,f,e.parentNode)||!p(e.parentNode)||e.parentNode===c.area||m.Dom.isBlock(e.parentNode,c.win)&&!v.IS_BLOCK.test(l))if(e.firstChild&&!m.Dom.next(e.firstChild,f,e)&&!m.Dom.prev(e.firstChild,f,e)&&p(e.firstChild))h(e.firstChild);else if(m.Dom.closest(e,p,c.area)){var t=c.createRange(),o=m.Dom.closest(e,p,c.area);t.setStartBefore(o),t.setEndBefore(e);var n=t.extractContents();n.textContent&&y.trim(n.textContent).length||!n.firstChild||m.Dom.unwrap(n.firstChild),o.parentNode&&o.parentNode.insertBefore(n,o),t.setStartAfter(e),t.setEndAfter(o);var i=t.extractContents();i.textContent&&y.trim(i.textContent).length||!i.firstChild||m.Dom.unwrap(i.firstChild),m.Dom.after(o,i),h(o)}else{var r,a=[];e.firstChild&&m.Dom.find(e.firstChild,function(e){return e&&p(e)?(void 0===r&&(r=!0),a.push(e)):void 0===r&&(r=!1),!1},e,!0),a.forEach(m.Dom.unwrap),r||(void 0===d&&(d=1),1===d&&g.css(m.Dom.replace(e,l,!1,!1,c.doc),s&&l.toUpperCase()===u?s:{}))}else h(e.parentNode);e.parentNode&&m.Dom.unwrap(e)}),this.restore(i)}},e}();t.Select=n},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.prototype.set=function(e,t){localStorage.setItem(e,""+t)},e.prototype.get=function(e){return localStorage.getItem(e)},e}();t.LocalStorageProvider=n},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.toolbar=a.JoditToolbarCollection.makeCollection(e),e}return i(e,t),e.prototype.destruct=function(){this.toolbar.destruct(),delete this.toolbar,t.prototype.destruct.call(this)},e}(o(59).View);t.ViewWithToolbar=r;var a=o(18)},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var i in t=arguments[o])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=o(60),s=function(n){function e(e,t){var o=n.call(this,e)||this;return o.version="3.2.44",o.__modulesInstances={},o.progress_bar=o.create.div("jodit_progress_bar",o.create.div()),o.options={removeButtons:[],zIndex:100002,fullsize:!1,showTooltip:!0,useNativeTooltip:!1,buttons:[],globalFullsize:!0},o.components=[],o.getVersion=function(){return o.version},o.id=e&&e.id?e.id:""+(new Date).getTime(),o.jodit=e||o,o.events=e&&e.events?e.events:new a.EventsNative(o.ownerDocument),o.buffer=e&&e.buffer?e.buffer:{},o.options=r({},o.options,t),o}return i(e,n),Object.defineProperty(e.prototype,"defaultTimeout",{get:function(){return 100},enumerable:!0,configurable:!0}),e.prototype.i18n=function(e){return this.jodit&&this.jodit!==this?this.jodit.i18n(e):l.Jodit.prototype.i18n(e)},e.prototype.toggleFullSize=function(e){n.prototype.toggleFullSize.call(this,e),this.events&&this.events.fire("toggleFullSize",e)},e.prototype.getInstance=function(e,t){if("function"!=typeof l.Jodit.modules[e])throw Error("Need real module name");return void 0===this.__modulesInstances[e]&&(this.__modulesInstances[e]=new l.Jodit.modules[e](this.jodit||this,t)),this.__modulesInstances[e]},e.prototype.destruct=function(){this.isDestructed||(this.events&&(this.events.destruct(),delete this.events),delete this.options,n.prototype.destruct.call(this))},e}(o(110).Panel);t.View=s;var l=o(11)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var f=o(109),n=function(){function e(e){var o=this;this.__key="__JoditEventsNativeNamespaces",this.doc=document,this.__stopped=[],this.prepareEvent=function(t){t.cancelBubble||(t.type.match(/^touch/)&&t.changedTouches&&t.changedTouches.length&&["clientX","clientY","pageX","pageY"].forEach(function(e){Object.defineProperty(t,e,{value:t.changedTouches[0][e],configurable:!0,enumerable:!0})}),t.originalEvent||(t.originalEvent=t),"paste"===t.type&&void 0===t.clipboardData&&o.doc.defaultView.clipboardData&&Object.defineProperty(t,"clipboardData",{get:function(){return o.doc.defaultView.clipboardData},configurable:!0,enumerable:!0}))},this.current=[],this.isDestructed=!1,e&&(this.doc=e),this.__key+=(new Date).getTime()}return e.prototype.eachEvent=function(e,o){var n=this;e.split(/[\s,]+/).forEach(function(e){var t=e.split(".");o.call(n,t[0],t[1]||f.defaultNameSpace)})},e.prototype.getStore=function(e){if(void 0===e[this.__key]){var t=new f.EventHandlersStore;Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,value:t})}return e[this.__key]},e.prototype.clearStore=function(e){void 0!==e[this.__key]&&delete e[this.__key]},e.prototype.triggerNativeEvent=function(e,t){var o=this.doc.createEvent("HTMLEvents");"string"==typeof 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(function(e){Object.defineProperty(o,e,{value:t[e],enumerable:!0})}),Object.defineProperty(o,"originalEvent",{value:t,enumerable:!0})),e.dispatchEvent(o)},e.prototype.removeStop=function(e){if(e){var t=this.__stopped.indexOf(e);-1!==t&&this.__stopped.splice(t,1)}},e.prototype.isStopped=function(e){return void 0!==e&&-1!=this.__stopped.indexOf(e)},e.prototype.on=function(e,t,o,n,i){var r=this;void 0===i&&(i=!1);var a="string"==typeof e?this:e,s="string"==typeof t?t:e,l=o;void 0===l&&"function"==typeof t&&(l=t);var c=this.getStore(a);if("string"!=typeof s||""===s)throw Error("Need events names");if("function"!=typeof l)throw Error("Need event handler");if(Array.isArray(a))return a.forEach(function(e){r.on(e,s,l,n)}),this;var d="function"==typeof a.addEventListener,u=this,f=function(e){return l&&l.apply(this,arguments)};return d&&(f=function(e){if(u.prepareEvent(e),l&&!1===l.call(this,e))return e.preventDefault(),e.stopImmediatePropagation(),!1},n&&(f=function(e){u.prepareEvent(e);for(var t=e.target;t&&t!==this;){if(t.matches(n))return Object.defineProperty(e,"target",{value:t,configurable:!0,enumerable:!0}),l&&!1===l.call(t,e)?(e.preventDefault(),!1):void 0;t=t.parentNode}})),this.eachEvent(s,function(e,t){if(""===e)throw Error("Need event name");!1===c.indexOf(e,t,l)&&(c.set(e,t,{event:e,originalCallback:l,syntheticCallback:f},i),d&&a.addEventListener(e,f,!1))}),this},e.prototype.off=function(e,t,o){var n=this,i="string"==typeof e?this:e,r="string"==typeof t?t:e,a=this.getStore(i),s=o;if("string"!=typeof r||!r)return a.namespaces().forEach(function(e){n.off(i,"."+e)}),this.clearStore(i),this;void 0===s&&"function"==typeof t&&(s=t);var l="function"==typeof i.removeEventListener,c=function(e){l&&i.removeEventListener(e.event,e.syntheticCallback,!1)},d=function(e,t){if(""!==e){var o=a.get(e,t);if(o&&o.length)if("function"!=typeof s)o.forEach(c),o.length=0;else{var n=a.indexOf(e,t,s);!1!==n&&(c(o[n]),o.splice(n,1))}}else a.events(t).forEach(function(e){""!==e&&d(e,t)})};return this.eachEvent(r,function(t,e){e===f.defaultNameSpace?a.namespaces().forEach(function(e){d(t,e)}):d(t,e)}),this},e.prototype.stopPropagation=function(e,t){var n=this,i="string"==typeof e?this:e,o="string"==typeof e?e:t;if("string"!=typeof o)throw Error("Need event names");var r=this.getStore(i);this.eachEvent(o,function(t,e){var o=r.get(t,e);o&&n.__stopped.push(o),e===f.defaultNameSpace&&r.namespaces(!0).forEach(function(e){return n.stopPropagation(i,t+"."+e)})})},e.prototype.fire=function(e,t){for(var i=this,o=[],n=2;n<arguments.length;n++)o[n-2]=arguments[n];var r,a=void 0,s="string"==typeof e?this:e,l="string"==typeof e?e:t,c="string"==typeof e?[t].concat(o):o,d="function"==typeof s.dispatchEvent;if(!d&&"string"!=typeof l)throw Error("Need events names");var u=this.getStore(s);return"string"!=typeof l&&d?this.triggerNativeEvent(s,t):this.eachEvent(l,function(o,t){if(d)i.triggerNativeEvent(s,o);else{var n=u.get(o,t);if(n)try{n.every(function(e){return!i.isStopped(n)&&(i.current.push(o),r=e.syntheticCallback.apply(s,c),i.current.pop(),void 0!==r&&(a=r),!0)})}finally{i.removeStop(n)}t!==f.defaultNameSpace||d||u.namespaces().filter(function(e){return e!==t}).forEach(function(e){var t=i.fire.apply(i,[s,o+"."+e].concat(c));void 0!==t&&(a=t)})}}),a},e.prototype.destruct=function(){this.isDestructed&&(this.isDestructed=!0,this.off(this),this.getStore(this).clear(),delete this[this.__key])},e}();t.EventsNative=n},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(21),a=o(24),s=o(37),n=o(0),l=o(3),i=function(){function o(e,t){this.doc=e,null!==t&&(this.inside=t?new o(t):new o(e,null))}return o.prototype.setDocument=function(e){this.doc=e},o.prototype.element=function(e,t,o){var n=this,i=this.doc.createElement(e.toLowerCase());return t&&(r.isPlainObject(t)?a.each(t,function(e,t){r.isPlainObject(t)&&"style"===e?l.css(i,t):i.setAttribute(e,""+t)}):o=t),o&&s.asArray(o).forEach(function(e){return i.appendChild("string"==typeof e?n.fromHTML(e):e)}),i},o.prototype.div=function(e,t,o){var n=this.element("div",t,o);return e&&(n.className=e),n},o.prototype.span=function(e,t,o){var n=this.element("span",t,o);return e&&(n.className=e),n},o.prototype.text=function(e){return this.doc.createTextNode(e)},o.prototype.fragment=function(){return this.doc.createDocumentFragment()},o.prototype.fromHTML=function(e){var t=this.div();t.innerHTML=""+e;var o=t.firstChild===t.lastChild&&t.firstChild?t.firstChild:t;return n.Dom.safeRemove(o),o},o}();t.Create=i},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(35);t.Ajax=n.Ajax;var i=o(60);t.EventsNative=i.EventsNative;var r=o(7);t.Component=r.Component;var a=o(36);t.ContextMenu=a.ContextMenu;var s=o(128);t.Cookie=s.Cookie;var l=o(19);t.Alert=l.Alert,t.Confirm=l.Confirm,t.Promt=l.Promt,t.Dialog=l.Dialog;var c=o(0);t.Dom=c.Dom;var d=o(6);t.Plugin=d.Plugin;var u=o(61);t.Create=u.Create;var f=o(66);t.FileBrowser=f.FileBrowser;var p=o(3);t.Helpers=p;var h=o(130);t.ImageEditor=h.ImageEditor;var v=o(53);t.Observer=v.Observer;var m=o(56);t.Select=m.Select;var g=o(33);t.Storage=g.Storage;var b=o(54);t.Snapshot=b.Snapshot;var _=o(28);t.Table=_.Table;var y=o(5);t.ToolbarIcon=y.ToolbarIcon;var w=o(18);t.JoditToolbarCollection=w.JoditToolbarCollection;var j=o(34);t.ToolbarCollection=j.ToolbarCollection;var C=o(26);t.ToolbarButton=C.ToolbarButton;var E=o(55);t.Stack=E.Stack;var T=o(14);t.Widget=T.Widget;var x=o(131);t.Uploader=x.Uploader},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=o(13),l=o(5);t.Alert=function(e,t,o,n){void 0===n&&(n="jodit_alert"),"function"==typeof t&&(o=t,t=void 0);var i=new s.Dialog,r=i.create.div(n),a=i.create.fromHTML('<a href="javascript:void(0)" style="float:right;" class="jodit_button">'+l.ToolbarIcon.getIcon("cancel")+"<span>"+c.Jodit.prototype.i18n("Ok")+"</span></a>");return d.asArray(e).forEach(function(e){r.appendChild(u.Dom.isNode(e,i.window)?e:i.create.fromHTML(e))}),a.addEventListener("click",function(){o&&"function"==typeof o&&!1===o(i)||i.close()}),i.setFooter([a]),i.open(r,t||" ",!0,!0),a.focus(),i};var c=o(11),d=o(20),u=o(0)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=o(13),f=o(5);t.Promt=function(e,t,o,n){var i=new u.Dialog,r=i.create.fromHTML('<a href="javascript:void(0)" style="float:right;" class="jodit_button">'+f.ToolbarIcon.getIcon("cancel")+"<span>"+p.Jodit.prototype.i18n("Cancel")+"</span></a>"),a=i.create.fromHTML('<a href="javascript:void(0)" style="float:left;" class="jodit_button">'+f.ToolbarIcon.getIcon("check")+"<span>"+p.Jodit.prototype.i18n("Ok")+"</span></a>"),s=i.create.element("form",{class:"jodit_promt"}),l=i.create.element("input",{autofocus:!0}),c=i.create.element("label");"function"==typeof t&&(o=t,t=void 0),n&&l.setAttribute("placeholder",n),c.appendChild(i.create.text(e)),s.appendChild(c),s.appendChild(l),r.addEventListener("click",i.close,!1);var d=function(){o&&"function"==typeof o&&!1===o(l.value)||i.close()};return a.addEventListener("click",d),s.addEventListener("submit",function(){return d(),!1}),i.setFooter([a,r]),i.open(s,t||" ",!0,!0),l.focus(),i};var p=o(11)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var c=o(13),d=o(5);t.Confirm=function(e,t,o){var n=new c.Dialog,i=n.create.fromHTML('<form class="jodit_promt"></form>'),r=n.create.element("label");"function"==typeof t&&(o=t,t=void 0),r.appendChild(n.create.fromHTML(e)),i.appendChild(r);var a=n.create.fromHTML('<a href="javascript:void(0)" style="float:right;" class="jodit_button">'+d.ToolbarIcon.getIcon("cancel")+"<span>"+u.Jodit.prototype.i18n("Cancel")+"</span></a>");a.addEventListener("click",function(){o&&o(!1),n.close()});var s=function(){o&&o(!0),n.close()},l=n.create.fromHTML('<a href="javascript:void(0)" style="float:left;" class="jodit_button">'+d.ToolbarIcon.getIcon("check")+"<span>"+u.Jodit.prototype.i18n("Yes")+"</span></a>");return l.addEventListener("click",s),i.addEventListener("submit",function(){return s(),!1}),n.setFooter([l,a]),n.open(i,t||" ",!0,!0),l.focus(),n};var u=o(11)},function(e,u,t){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=this&&this.__assign||function(){return(s=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var i in t=arguments[o])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(u,"__esModule",{value:!0});var l=t(1),f=t(2),i=t(35),p=t(36),h=t(13),v=t(63),m=t(65),g=t(64),b=t(5),_=t(57),y=t(33),c=t(24),d=t(17),w=t(9),j=t(51),C=t(16),E=t(15),r=t(58);t(129),u.ITEM_CLASS="jodit_filebrowser_files_item";var T="default",a=function(a){function e(e,t){var c=a.call(this,e,t)||this;c.__currentPermissions=null,c.view="tiles",c.sortBy="changed",c.dragger=!1,c.filterWord="",c.onlyImages=!1,c.loadItems=function(e,t){var n=c;return n.options.items?(n.options.items.data.path=e,n.options.items.data.source=t,n.files.classList.add("active"),n.files.appendChild(n.loader.cloneNode(!0)),n.send("items",function(e){var t=n.options.items.process;if(t||(t=c.options.ajax.process),t){var o=t.call(n,e);n.generateItemsBox(o.data.sources),n.someSelectedWasChanged()}},function(e){v.Alert(e.message),n.errorHandler(e)})):Promise.reject("Set Items api options")},c.errorHandler=function(e){c.status(e instanceof Error?c.i18n(e.message):c.options.getMessage(e))},c.uploadHandler=function(){c.loadItems(c.currentPath,c.currentSource)},c.currentPath="",c.currentSource=T,c.currentBaseUrl="",c.storage=new y.Storage(new _.LocalStorageProvider),c.getPathByUrl=function(e,t,o){var n="getLocalFileByUrl",i=c;return c.options[n].data.url=e,c.send(n,function(e){i.options.isSuccess(e)?t(e.data.path,e.data.name,e.data.source):o(Error(c.options.getMessage(e)))},function(e){o(e)})},c.createFolder=function(e,t,o){return c.options.create?(c.options.create.data.source=o,c.options.create.data.path=t,c.options.create.data.name=e,c.send("create",function(e){c.options.isSuccess(e)?(c.currentPath=t,c.currentSource=o,c.loadTree(t,o)):c.status(c.options.getMessage(e))},function(e){c.status(e.message)})):Promise.reject("Set Create api options")},c.move=function(e,t,o,n){var i=c.options[n?"fileMove":"folderMove"];return i?(i.data.from=e,i.data.path=t,i.data.source=o,c.send(n?"fileMove":"folderMove",function(e){c.options.isSuccess(e)?c.loadTree(t,o):c.status(c.options.getMessage(e))},function(e){c.status(e.message)})):Promise.reject("Set Move api options")},c.close=function(){c.dialog.close()},c.open=function(n,e){return void 0===e&&(e=!1),c.onlyImages=e,c.buffer.fileBrowserOnlyImages=e,new Promise(function(e){if(!c.options.items||!c.options.items.url)throw Error("Need set options.filebrowser.ajax.url");var t=0;c.events.off(c.files,"dblclick").on(c.files,"dblclick",c.onSelect(n),"a").on(c.files,"touchstart",function(){var e=(new Date).getTime();e-t<f.EMULATE_DBLCLICK_TIMEOUT&&c.onSelect(n)(),t=e},"a").off("select.filebrowser").on("select.filebrowser",c.onSelect(n));var o=c.create.div();c.toolbar.build(c.options.buttons,o),c.dialog.dialogbox_header.classList.add("jodit_filebrowser_title_box"),c.dialog.open(c.browser,o),c.events.fire("sort.filebrowser",c.sortBy),c.loadTree(c.currentPath,c.currentSource).then(e)})},c.openImageEditor=function(e,i,r,a,s,l){return c.getInstance("ImageEditor").open(e,function(e,t,o,n){void 0===c.options[t.action]&&(c.options[t.action]={}),void 0===c.options[t.action].data&&(c.options[t.action].data={action:t.action}),c.options[t.action].data.newname=e||i,c.options[t.action].data.box=t.box,c.options[t.action].data.path=r,c.options[t.action].data.name=i,c.options[t.action].data.source=a,c.send(t.action,function(e){c.options.isSuccess(e)?c.loadTree(c.currentPath,c.currentSource).then(function(){o(),s&&s()}):(n(Error(c.options.getMessage(e))),l&&l(Error(c.options.getMessage(e))))},function(e){n(e),l&&l(e)})})};var d=c,o=e?e.ownerDocument:document,n=e?e.editorDocument:o;e&&(c.id=e.id),d.options=new l.OptionsDefault(C.extend(!0,{},d.options,l.Config.defaultOptions.filebrowser,t,e?e.options.filebrowser:void 0)),d.dialog=new h.Dialog(e||d,{fullsize:d.options.fullsize,buttons:["dialog.fullsize","dialog.close"]}),d.loader=d.create.div("jodit_filebrowser_loader",'<i class="jodit_icon-loader"></i>'),d.browser=d.create.fromHTML('<div class="jodit_filebrowser non-selected">'+(d.options.showFoldersPanel?'<div class="jodit_filebrowser_tree"></div>':"")+'<div class="jodit_filebrowser_files"></div><div class="jodit_filebrowser_status"></div></div>'),d.status_line=d.browser.querySelector(".jodit_filebrowser_status"),d.tree=d.browser.querySelector(".jodit_filebrowser_tree"),d.files=d.browser.querySelector(".jodit_filebrowser_files"),d.events.on("view.filebrowser",function(e){e!==d.view&&(d.view=e,d.buffer.fileBrowserView=e,d.files.classList.remove("jodit_filebrowser_files_view-tiles"),d.files.classList.remove("jodit_filebrowser_files_view-list"),d.files.classList.add("jodit_filebrowser_files_view-"+d.view),d.storage.set("jodit_filebrowser_view",d.view))}).on("sort.filebrowser",function(e){e!==d.sortBy&&(d.sortBy=e,c.storage.set("jodit_filebrowser_sortby",d.sortBy),d.loadItems(d.currentPath,d.currentSource))}).on("filter.filebrowser",function(e){e!==d.filterWord&&(d.filterWord=e,d.loadItems(d.currentPath,d.currentSource))}).on("fileRemove.filebrowser",function(){c.getActiveElements().length&&m.Confirm(d.i18n("Are you sure?"),"",function(e){if(e){var t=[];d.getActiveElements().forEach(function(e){t.push(d.fileRemove(d.currentPath,e.getAttribute("data-name")||"",e.getAttribute("data-source")||""))}),Promise.all(t).then(function(){d.someSelectedWasChanged(),d.loadTree(d.currentPath,d.currentSource)})}})}).on("edit.filebrowser",function(){var e=c.getActiveElements();1===e.length&&d.openImageEditor(e[0].getAttribute("href")||"",e[0].getAttribute("data-name")||"",e[0].getAttribute("data-path")||"",e[0].getAttribute("data-source")||"")}).on("update.filebrowser",function(){d.loadTree(c.currentPath,c.currentSource)}).on(d.tree,"click",function(e){var t=this.parentNode,o=t.getAttribute("data-path")||"";return m.Confirm(d.i18n("Are you sure?"),"",function(e){e&&d.folderRemove(o,t.getAttribute("data-name")||"",t.getAttribute("data-source")||"").then(function(){d.loadTree(d.currentPath,d.currentSource)})}),e.stopImmediatePropagation(),!1},"a>i.remove").on(d.tree,"click",function(){var t=this;this.classList.contains("addfolder")?g.Promt(d.i18n("Enter Directory name"),d.i18n("Create directory"),function(e){d.createFolder(e,t.getAttribute("data-path")||"",t.getAttribute("data-source")||"")},d.i18n("type name")):(d.currentPath=this.getAttribute("data-path")||"",d.currentSource=this.getAttribute("data-source")||"",d.loadTree(d.currentPath,d.currentSource))},"a").on(c.tree,"dragstart",function(){d.options.moveFolder&&(d.dragger=this)},"a").on(c.tree,"drop",function(){if((d.options.moveFile||d.options.moveFolder)&&d.dragger){var e=d.dragger.getAttribute("data-path")||"";if(!d.options.moveFolder&&d.dragger.classList.contains("jodit_filebrowser_tree_item"))return!1;if(d.dragger.classList.contains(u.ITEM_CLASS)&&(e+=d.dragger.getAttribute("data-name"),!d.options.moveFile))return!1;d.move(e,this.getAttribute("data-path")||"",this.getAttribute("data-source")||"",d.dragger.classList.contains(u.ITEM_CLASS)),d.dragger=!1}},"a");var i=new p.ContextMenu(c.jodit||c);d.events.on(d.files,"contextmenu",function(e){var l=this;if(d.options.contextMenu){var c=this;return E.setTimeout(function(){i.show(e.pageX,e.pageY,[!("1"===c.getAttribute("data-is-file")||!d.options.editImage||!d.canI("ImageResize")&&!d.canI("ImageCrop"))&&{icon:"pencil",title:"Edit",exec:function(){d.openImageEditor(c.getAttribute("href")||"",c.getAttribute("data-name")||"",c.getAttribute("data-path")||"",c.getAttribute("data-source")||"")}},!!d.canI("FileRemove")&&{icon:"bin",title:"Delete",exec:function(){d.fileRemove(d.currentPath,c.getAttribute("data-name")||"",c.getAttribute("data-source")||""),d.someSelectedWasChanged(),d.loadTree(d.currentPath,d.currentSource)}},!!d.options.preview&&{icon:"eye",title:"Preview",exec:function(){var n=c.getAttribute("href")||"",i=new h.Dialog(d),r=d.create.fromHTML('<div class="jodit_filebrowser_preview"><i class="jodit_icon-loader"></i></div>'),a=o.createElement("img"),s=function(){var o=function(){if(l.removeEventListener("load",o),r.innerHTML="",d.options.showPreviewNavigation){var e=d.create.fromHTML('<a href="javascript:void(0)" class="jodit_filebrowser_preview_navigation jodit_filebrowser_preview_navigation-next">'+b.ToolbarIcon.getIcon("angle-right")+"</a>"),t=d.create.fromHTML('<a href="javascript:void(0)" class="jodit_filebrowser_preview_navigation jodit_filebrowser_preview_navigation-prev">'+b.ToolbarIcon.getIcon("angle-left")+"</a>");c.previousSibling&&c.previousSibling.classList&&c.previousSibling.classList.contains(u.ITEM_CLASS)&&r.appendChild(t),c.nextSibling&&c.nextSibling.classList&&c.nextSibling.classList.contains(u.ITEM_CLASS)&&r.appendChild(e),d.events.on([e,t],"click",function(){c=this.classList.contains("jodit_filebrowser_preview_navigation-next")?c.nextSibling:c.previousSibling,r.innerHTML='<i class="jodit_icon-loader"></i>',n=c.getAttribute("href")||"",a.setAttribute("src",n),s()})}r.appendChild(a),i.setPosition()};a.addEventListener("load",o),a.complete&&o()};s(),a.setAttribute("src",n),i.setContent(r),i.open()}},{icon:"upload",title:"Download",exec:function(){var e=c.getAttribute("href");e&&d.ownerWindow.open(e)}}],d.dialog.getZIndex()+1)},d.defaultTimeout),e.stopPropagation(),e.preventDefault(),!1}},"a").on(d.files,"click",function(e){j.ctrlKey(e)||(c.getActiveElements().forEach(function(e){e.classList.remove("active")}),d.someSelectedWasChanged())}).on(d.files,"click",function(e){return j.ctrlKey(e)||d.getActiveElements().forEach(function(e){e.classList.remove("active")}),this.classList.toggle("active"),d.someSelectedWasChanged(),e.stopPropagation(),!1},"a").on(d.files,"dragstart",function(){d.options.moveFile&&(d.dragger=this)},"a").on(d.dialog.container,"drop",function(e){return e.preventDefault()}),c.dialog.setSize(c.options.width,c.options.height),["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRemove","folderRemove","folder","items","permissions"].forEach(function(e){null!==c.options[e]&&(c.options[e]=C.extend(!0,{},c.options.ajax,c.options[e]))}),c.view=c.storage.get("jodit_filebrowser_view")&&null===c.options.view?"list"===c.storage.get("jodit_filebrowser_view")?"list":"tiles":"list"===c.options.view?"list":"tiles",c.files.classList.add("jodit_filebrowser_files_view-"+c.view),d.buffer.fileBrowserView=c.view,c.sortBy=-1!=["changed","name","size"].indexOf(c.options.sortBy)?c.options.sortBy:"changed",c.storage.get("jodit_filebrowser_sortby")&&(c.sortBy=-1!=["changed","name","size"].indexOf(c.storage.get("jodit_filebrowser_sortby")||"")?c.storage.get("jodit_filebrowser_sortby")||"":"changed"),c.currentBaseUrl=w.$$("base",n).length?w.$$("base",n)[0].getAttribute("href")||"":location.protocol+"//"+location.host;var r=C.extend(!0,{},l.Config.defaultOptions.uploader,d.options.uploader,e&&e.options&&null!==e.options.uploader?s({},e.options.uploader):{});return c.uploader=c.getInstance("Uploader",r),c.uploader.setPath(c.currentPath),c.uploader.setSource(c.currentSource),c.uploader.bind(c.browser,c.uploadHandler,c.errorHandler),c.events.on("bindUploader.filebrowser",function(e){c.uploader.bind(e,c.uploadHandler,c.errorHandler)}),c}return o(e,a),Object.defineProperty(e.prototype,"defaultTimeout",{get:function(){return this.jodit&&this.jodit!==this?this.jodit.defaultTimeout:l.Config.defaultOptions.observer.timeout},enumerable:!0,configurable:!0}),e.prototype.generateFolderTree=function(e){var i=this,r=[];c.each(e,function(o,n){o&&o!==T&&r.push('<div class="jodit_filebrowser_source_title">'+o+"</div>"),n.folders.forEach(function(e){var t='<a draggable="draggable" class="jodit_filebrowser_tree_item" href="javascript:void(0)" data-path="'+d.normalizePath(n.path+e)+'/" data-source="'+o+'"><span>'+e+"</span>";i.options.deleteFolder&&".."!==e&&"."!==e&&(t+='<i class="remove" data-path="'+d.normalizePath(n.path+e+"/")+'">×</i>'),r.push(t+="</a>")}),i.options.createNewFolder&&i.canI("FolderCreate")&&r.push('<a class="jodit_button addfolder" href="javascript:void(0)" data-path="'+d.normalizePath(n.path+name)+'/" data-source="'+o+'">'+b.ToolbarIcon.getIcon("plus")+" "+i.i18n("Add folder")+"</a>")}),this.tree.innerHTML=r.join("")},e.prototype.generateItemsBox=function(e){var n=this,i=[];c.each(e,function(t,o){t&&t!==T&&i.push('<div class="jodit_filebrowser_source_title">'+t+(o.path?" - "+o.path:"")+"</div>"),o.files&&o.files.length?("function"==typeof n.options.sort&&o.files.sort(function(e,t){return n.options.sort(e,t,n.sortBy)}),o.files.forEach(function(e){(void 0===n.options.filter||n.options.filter(e,n.filterWord))&&(n.onlyImages&&void 0!==e.isImage&&!e.isImage||i.push(n.options.getThumbTemplate.call(n,e,o,""+t)))})):i.push("<div>"+n.i18n("There are no files")+"</div>")}),this.files.innerHTML=i.join("")},e.prototype.someSelectedWasChanged=function(){this.events.fire("changeSelection")},e.prototype.send=function(e,t,o){var n=C.extend(!0,{},this.options.ajax,void 0!==this.options[e]?this.options[e]:this.options.ajax);return n.prepareData&&(n.data=n.prepareData.call(this,n.data)),new i.Ajax(this.jodit||this,n).send().then(t).catch(o)},e.prototype.loadPermissions=function(e,t){var n=this,i=this;return i.options.permissions?(i.options.permissions.data.path=e,i.options.permissions.data.source=t,i.options.permissions.url?i.send("permissions",function(e){var t=i.options.permissions.process;if(t||(t=n.options.ajax.process),t){var o=t.call(i,e);o.data.permissions&&(n.__currentPermissions=o.data.permissions)}},function(e){v.Alert(e.message),i.errorHandler(e)}):Promise.resolve()):Promise.resolve()},e.prototype.loadTree=function(t,o){var i=this;return t=d.normalizeRelativePath(t),this.loadPermissions(t,o).then(function(){var n=i;if(!n.options.folder)return Promise.reject("Set Folder Api options");n.options.folder.data.path=t,n.options.folder.data.source=o,n.uploader&&(n.uploader.setPath(t),n.uploader.setSource(o));var e=[];return n.options.showFoldersPanel&&(n.options.folder.url?(n.tree.classList.add("active"),n.tree.innerHTML="",n.tree.appendChild(n.loader.cloneNode(!0)),e.push(i.send("folder",function(e){var t=n.options.folder.process;if(t||(t=i.options.ajax.process),t){var o=t.call(n,e);n.generateFolderTree(o.data.sources)}},function(){n.errorHandler(Error(n.jodit.i18n("Error on load folders")))}))):n.tree.classList.remove("active")),e.push(i.loadItems(t,o)),Promise.all(e)})},e.prototype.onSelect=function(t){var n=this;return function(){var e=n.getActiveElements();if(e.length){var o=[];e.forEach(function(e){var t=e.getAttribute("data-url");t&&o.push(t)}),n.close(),"function"==typeof t&&t({baseurl:"",files:o})}return!1}},e.prototype.canI=function(e){return null===this.__currentPermissions||void 0===this.__currentPermissions["allow"+e]||this.__currentPermissions["allow"+e]},e.prototype.isOpened=function(){return this.dialog.isOpened()&&"none"!==this.browser.style.display},e.prototype.status=function(e,t){var o=this;clearTimeout(this.statustimer),this.status_line.classList.remove("success"),this.status_line.classList.add("active"),this.status_line.innerHTML=e,t&&this.status_line.classList.add("success"),this.statustimer=E.setTimeout(function(){o.status_line.classList.remove("active")},this.options.howLongShowMsg)},e.prototype.getActiveElements=function(){return w.$$(":scope>a.active",this.files)},e.prototype.fileRemove=function(e,t,o){var n=this;return this.options.fileRemove?(this.options.fileRemove.data.path=e,this.options.fileRemove.data.name=t,this.options.fileRemove.data.source=o,this.send("fileRemove",function(e){n.options.remove&&n.options.remove.process&&(e=n.options.remove.process.call(n,e)),n.options.isSuccess(e)?(n.someSelectedWasChanged(),n.status(n.options.getMessage(e),!0)):n.status(n.options.getMessage(e))},function(e){n.status(e.message)})):Promise.reject("Set fileRemove api options")},e.prototype.folderRemove=function(e,t,o){var n=this;return this.options.folderRemove?(this.options.folderRemove.data.path=e,this.options.folderRemove.data.name=t,this.options.folderRemove.data.source=o,this.send("folderRemove",function(e){n.options.remove&&n.options.remove.process&&(e=n.options.remove.process.call(n,e)),n.options.isSuccess(e)?(n.someSelectedWasChanged(),n.status(n.options.getMessage(e),!0)):n.status(n.options.getMessage(e))},function(e){n.status(e.message)})):Promise.reject("Set folderRemove api options")},e.prototype.destruct=function(){this.dialog.destruct(),delete this.dialog,this.events&&this.events.off(".filebrowser"),this.uploader&&this.uploader.destruct(),delete this.uploader,a.prototype.destruct.call(this)},e}(r.ViewWithToolbar);u.FileBrowser=a},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(68),"undefined"!=typeof window&&o(69);var n=o(11),i=o(2),r=o(115),a=o(62),s=o(132),l=o(173),c=o(1),d=o(5);Object.keys(i).forEach(function(e){n.Jodit[e]=i[e]});var u=function(e){return"__esModule"!==e};Object.keys(l).filter(u).forEach(function(e){d.ToolbarIcon.icons[e.replace("_","-")]=l[e]}),Object.keys(a).filter(u).forEach(function(e){n.Jodit.modules[e]=a[e]}),["Confirm","Alert","Promt"].forEach(function(e){n.Jodit[e]=a[e]}),Object.keys(s).filter(u).forEach(function(e){n.Jodit.plugins[e]=s[e]}),Object.keys(r).filter(u).forEach(function(e){n.Jodit.lang[e]=r[e]}),n.Jodit.defaultOptions=c.Config.defaultOptions,c.OptionsDefault.prototype=n.Jodit.defaultOptions,t.Jodit=n.Jodit,t.default=n.Jodit},function(e,t,o){},function(e,t,o){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),o(70),o(71),(n=Element.prototype).matches||(n.matches=void 0!==n.matchesSelector?n.matchesSelector:function(e){if(!this.ownerDocument)return[];var t=this.ownerDocument.querySelectorAll(e),o=this;return Array.prototype.some.call(t,function(e){return e===o})}),Array.from||(Array.from=function(e){return[].slice.call(e)})},function(e,t){"document"in window.self&&("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))||function(e){"use strict";if("Element"in e){var t="classList",o="prototype",n=e.Element[o],i=Object,r=String[o].trim||function(){return this.replace(/^\s+|\s+$/g,"")},a=Array[o].indexOf||function(e){for(var t=0,o=this.length;t<o;t++)if(t in this&&this[t]===e)return t;return-1},s=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},l=function(e,t){if(""===t)throw new s("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(t))throw new s("INVALID_CHARACTER_ERR","String contains an invalid character");return a.call(e,t)},c=function(e){for(var t=r.call(e.getAttribute("class")||""),o=t?t.split(/\s+/):[],n=0,i=o.length;n<i;n++)this.push(o[n]);this._updateClassName=function(){e.setAttribute("class",""+this)}},d=c[o]=[],u=function(){return new c(this)};if(s[o]=Error[o],d.item=function(e){return this[e]||null},d.contains=function(e){return-1!==l(this,e+="")},d.add=function(){for(var e,t=arguments,o=0,n=t.length,i=!1;-1===l(this,e=t[o]+"")&&(this.push(e),i=!0),++o<n;);i&&this._updateClassName()},d.remove=function(){var e,t,o=arguments,n=0,i=o.length,r=!1;do{for(t=l(this,e=o[n]+"");-1!==t;)this.splice(t,1),r=!0,t=l(this,e)}while(++n<i);r&&this._updateClassName()},d.toggle=function(e,t){var o=this.contains(e+=""),n=o?!0!==t&&"remove":!1!==t&&"add";return n&&this[n](e),!0===t||!1===t?t:!o},d.toString=function(){return this.join(" ")},i.defineProperty){var f={get:u,enumerable:!0,configurable:!0};try{i.defineProperty(n,t,f)}catch(e){void 0!==e.number&&-2146823252!==e.number||(f.enumerable=!1,i.defineProperty(n,t,f))}}else i[o].__defineGetter__&&n.__defineGetter__(t,u)}}(window.self),function(){"use strict";var e=document.createElement("_");if(e.classList.add("c1","c2"),!e.classList.contains("c2")){var t=function(e){var n=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var t,o=arguments.length;for(t=0;t<o;t++)n.call(this,e=arguments[t])}};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}())},function(e,t,o){"use strict";e.exports=o(72).polyfill()},function(e,t,o){var B,H;B=o(73),H=o(74),e.exports=function(){"use strict";function c(e){return"function"==typeof e}var o=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},n=0,t=void 0,i=void 0,s=function(e,t){f[n]=e,f[n+1]=t,2===(n+=2)&&(i?i(p):b())},e="undefined"!=typeof window?window:void 0,r=e||{},a=r.MutationObserver||r.WebKitMutationObserver,l="undefined"==typeof self&&void 0!==B&&"[object process]"==={}.toString.call(B),d="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function u(){var e=setTimeout;return function(){return e(p,1)}}var f=Array(1e3);function p(){for(var e=0;e<n;e+=2){(0,f[e])(f[e+1]),f[e]=void 0,f[e+1]=void 0}n=0}var h,v,m,g,b=void 0;function _(e,t){var o=this,n=new this.constructor(j);void 0===n[w]&&P(n);var i=o._state;if(i){var r=arguments[i-1];s(function(){return z(i,n,r,o._result)})}else A(o,n,e,t);return n}function y(e){if(e&&"object"==typeof e&&e.constructor===this)return e;var t=new this(j);return D(t,e),t}b=l?function(){return B.nextTick(p)}:a?(v=0,m=new a(p),g=document.createTextNode(""),m.observe(g,{characterData:!0}),function(){g.data=v=++v%2}):d?((h=new MessageChannel).port1.onmessage=p,function(){return h.port2.postMessage(0)}):void 0===e?function(){try{var e=Function("return this")().require("vertx");return void 0===(t=e.runOnLoop||e.runOnContext)?u():function(){t(p)}}catch(e){return u()}}():u();var w=Math.random().toString(36).substring(2);function j(){}var C=void 0,E=1,T=2,x={error:null};function S(e){try{return e.then}catch(e){return x.error=e,x}}function k(e,t,o){var n,i,r,a;t.constructor===e.constructor&&o===_&&t.constructor.resolve===y?(r=e,(a=t)._state===E?M(r,a._result):a._state===T?q(r,a._result):A(a,void 0,function(e){return D(r,e)},function(e){return q(r,e)})):o===x?(q(e,x.error),x.error=null):void 0===o?M(e,t):c(o)?(n=t,i=o,s(function(t){var o=!1,e=function(e,t,o,n){try{e.call(t,o,n)}catch(e){return e}}(i,n,function(e){o||(o=!0,n!==e?D(t,e):M(t,e))},function(e){o||(o=!0,q(t,e))});!o&&e&&(o=!0,q(t,e))},e)):M(e,t)}function D(e,t){var o,n;e===t?q(e,new TypeError("You cannot resolve a promise with itself")):(n=typeof(o=t),null===o||"object"!==n&&"function"!==n?M(e,t):k(e,t,S(t)))}function L(e){e._onerror&&e._onerror(e._result),I(e)}function M(e,t){e._state===C&&(e._result=t,e._state=E,0!==e._subscribers.length&&s(I,e))}function q(e,t){e._state===C&&(e._state=T,e._result=t,s(L,e))}function A(e,t,o,n){var i=e._subscribers,r=i.length;e._onerror=null,i[r]=t,i[r+E]=o,i[r+T]=n,0===r&&e._state&&s(I,e)}function I(e){var t=e._subscribers,o=e._state;if(0!==t.length){for(var n=void 0,i=void 0,r=e._result,a=0;a<t.length;a+=3)i=t[a+o],(n=t[a])?z(o,n,i,r):i(r);e._subscribers.length=0}}function z(e,t,o,n){var i=c(o),r=void 0,a=void 0,s=void 0,l=void 0;if(i){if((r=function(e,t){try{return e(t)}catch(e){return x.error=e,x}}(o,n))===x?(l=!0,a=r.error,r.error=null):s=!0,t===r)return void q(t,new TypeError("A promises callback cannot return that same promise."))}else r=n,s=!0;t._state!==C||(i&&s?D(t,r):l?q(t,a):e===E?M(t,r):e===T&&q(t,r))}var O=0;function P(e){e[w]=O++,e._state=void 0,e._result=void 0,e._subscribers=[]}var N=function(){function e(e,t){this._instanceConstructor=e,this.promise=new e(j),this.promise[w]||P(this.promise),o(t)?(this.length=t.length,this._remaining=t.length,this._result=Array(this.length),0===this.length?M(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&M(this.promise,this._result))):q(this.promise,Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;this._state===C&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(t,e){var o=this._instanceConstructor,n=o.resolve;if(n===y){var i=S(t);if(i===_&&t._state!==C)this._settledAt(t._state,e,t._result);else if("function"!=typeof i)this._remaining--,this._result[e]=t;else if(o===R){var r=new o(j);k(r,t,i),this._willSettleAt(r,e)}else this._willSettleAt(new o(function(e){return e(t)}),e)}else this._willSettleAt(n(t),e)},e.prototype._settledAt=function(e,t,o){var n=this.promise;n._state===C&&(this._remaining--,e===T?q(n,o):this._result[t]=o),0===this._remaining&&M(n,this._result)},e.prototype._willSettleAt=function(e,t){var o=this;A(e,void 0,function(e){return o._settledAt(E,t,e)},function(e){return o._settledAt(T,t,e)})},e}(),R=function(){function t(e){this[w]=O++,this._result=this._state=void 0,this._subscribers=[],j!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(t,e){try{e(function(e){D(t,e)},function(e){q(t,e)})}catch(e){q(t,e)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(e){return this.then(null,e)},t.prototype.finally=function(t){var o=this.constructor;return c(t)?this.then(function(e){return o.resolve(t()).then(function(){return e})},function(e){return o.resolve(t()).then(function(){throw e})}):this.then(t,t)},t}();return R.prototype.then=_,R.all=function(e){return new N(this,e).promise},R.race=function(i){var r=this;return o(i)?new r(function(e,t){for(var o=i.length,n=0;n<o;n++)r.resolve(i[n]).then(e,t)}):new r(function(e,t){return t(new TypeError("You must pass an array to race."))})},R.resolve=y,R.reject=function(e){var t=new this(j);return q(t,e),t},R._setScheduler=function(e){i=e},R._setAsap=function(e){s=e},R._asap=s,R.polyfill=function(){var e=void 0;if(void 0!==H)e=H;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var o=null;try{o=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===o&&!t.cast)return}e.Promise=R},R.Promise=R}()},function(e,t){var o,n,i=e.exports={};function r(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(t){if(o===setTimeout)return setTimeout(t,0);if((o===r||!o)&&setTimeout)return(o=setTimeout)(t,0);try{return o(t,0)}catch(e){try{return o.call(null,t,0)}catch(e){return o.call(this,t,0)}}}!function(){try{o="function"==typeof setTimeout?setTimeout:r}catch(e){o=r}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l,c=[],d=!1,u=-1;function f(){d&&l&&(d=!1,l.length?c=l.concat(c):u=-1,c.length&&p())}function p(){if(!d){var e=s(f);d=!0;for(var t=c.length;t;){for(l=c,c=[];++u<t;)l&&l[u].run();u=-1,t=c.length}l=null,d=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===a||!n)&&clearTimeout)return(n=clearTimeout)(t);try{n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function v(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(1<arguments.length)for(var o=1;o<arguments.length;o++)t[o-1]=arguments[o];c.push(new h(e,t)),1!==c.length||d||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=v,i.addListener=v,i.once=v,i.off=v,i.removeListener=v,i.removeAllListeners=v,i.emit=v,i.prependListener=v,i.prependOnceListener=v,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t){var o;o=function(){return this}();try{o=o||Function("return this")()}catch(e){"object"==typeof window&&(o=window)}e.exports=o},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inArray=function(e,t){return-1!=t.indexOf(e)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.splitArray=function(e){return"string"==typeof e?e.split(/[,\s]+/):e}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=o(15);t.throttle=function(t,o,n){var i,r,a,s=null;return function(){i=arguments,r=!0;var e=n||this;o?s||(a=function(){s=r?(t.apply(e,i),r=!1,l.setTimeout(a,o)):null})():t.apply(e,i)}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isHTML=function(e){return/<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(e)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isHTMLFromWord=function(e){return-1!=e.search(/<meta.*?Microsoft Excel\s[\d].*?>/)||-1!=e.search(/<meta.*?Microsoft Word\s[\d].*?>/)||-1!=e.search(/style="[^"]*mso-/)&&-1!=e.search(/<font/)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(22);t.isInt=function(e){return"string"==typeof e&&n.isNumeric(e)&&(e=parseFloat(e)),"number"==typeof e&&Number.isFinite(e)&&!(e%1)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isLicense=function(e){return"string"==typeof e&&32===e.length&&/^[a-z0-9]+$/.test(e)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasBrowserColorPicker=function(){var t=!0;try{var e=document.createElement("input");t=(e.type="color")===e.type&&"number"!=typeof e.selectionStart}catch(e){t=!1}return t}},function(e,o,t){"use strict";function n(e){for(var t in e)o.hasOwnProperty(t)||(o[t]=e[t])}Object.defineProperty(o,"__esModule",{value:!0}),n(t(84)),n(t(42))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hexToRgb=function(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(e,t,o,n){return t+t+o+o+n+n});var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=o(0),l=o(9);t.applyStyles=function(e){if(-1==e.indexOf("<html "))return e;e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,7+e.lastIndexOf("</html>"));var t=document.createElement("iframe");t.style.display="none",document.body.appendChild(t);var o="",n=[];try{var i=t.contentDocument||(t.contentWindow?t.contentWindow.document:null);if(i){i.open(),i.write(e),i.close(),i.styleSheets.length&&(n=i.styleSheets[i.styleSheets.length-1].cssRules);for(var r=function(t){if(""===n[t].selectorText)return"continue";l.$$(n[t].selectorText,i.body).forEach(function(e){e.style.cssText+=n[t].style.cssText.replace(/mso-[a-z\-]+:[\s]*[^;]+;/g,"").replace(/border[a-z\-]*:[\s]*[^;]+;/g,"")})},a=0;a<n.length;a+=1)r(a);o=i.firstChild?i.body.innerHTML:""}}catch(e){}finally{s.Dom.safeRemove(t)}return o&&(e=o),e.replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,"")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(0),r=o(10);t.cleanFromWord=function(e){-1!=e.indexOf("<html ")&&(e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,7+e.lastIndexOf("</html>")));var t="";try{var o=document.createElement("div");o.innerHTML=e;var n=[];o.firstChild&&i.Dom.all(o,function(t){if(t)switch(t.nodeType){case Node.ELEMENT_NODE:switch(t.nodeName){case"STYLE":case"LINK":case"META":n.push(t);break;case"W:SDT":case"W:SDTPR":case"FONT":i.Dom.unwrap(t);break;default:Array.from(t.attributes).forEach(function(e){-1==["src","href","rel","content"].indexOf(e.name.toLowerCase())&&t.removeAttribute(e.name)})}break;case Node.TEXT_NODE:break;default:n.push(t)}}),n.forEach(i.Dom.safeRemove),t=o.innerHTML}catch(e){}return t&&(e=t),(e=e.split(/(\n)/).filter(r.trim).join("\n")).replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,"")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sprintf=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var g=0,b=e,o=b[g++],_=function(e,t,o,n){var i=e.length<t?Array(1+t-e.length>>>0).join(o):"";return n?e+i:i+e},y=function(e,t,o,n,i){var r=n-e.length;return 0<r&&(e=o||!i?_(e,n," ",o):e.slice(0,t.length)+_("",r,"0",!0)+e.slice(t.length)),e},w=function(e,t,o,n,i,r,a){var s=e>>>0,l=(o=o&&s&&{2:"0b",8:"0",16:"0x"}[t]||"")+_(s.toString(t),r||0,"0",!1);return y(l,o,n,i,a)},j=function(e,t,o,n,i){return null!=n&&(e=e.slice(0,n)),y(e,"",t,o,i)};return o.replace(/%%|%(\d+\$)?([-+#0 ]*)(\*\d+\$|\*|\d+)?(\.(\*\d+\$|\*|\d+))?([scboxXuidfegEG])/g,function(e,t,o,n,i,r,a){if("%%"===e)return"%";for(var s=!1,l="",c=!1,d=!1,u=0;o&&u<o.length;u++)switch(o.charAt(u)){case" ":l=" ";break;case"+":l="+";break;case"-":s=!0;break;case"0":c=!0;break;case"#":d=!0}if((n=n?"*"===n?+b[g++]:"*"===(""+n)[0]?+b[(""+n).slice(1,-1)]:+n:0)<0&&(n=-n,s=!0),!isFinite(n))throw Error("sprintf: (minimum-)width must be finite");r=r?"*"===r?+b[g++]:"*"===r[0]?+b[r.slice(1,-1)]:+r:-1<"fFeE".indexOf(a)?6:"d"===a?0:void 0;var f=t?b[t.slice(0,-1)]:b[g++];switch(a){case"s":return j(f+"",s,n,r,c);case"c":return j(String.fromCharCode(+f),s,n,r,c);case"b":return w(f,2,d,s,n,r,c);case"o":return w(f,8,d,s,n,r,c);case"x":return w(f,16,d,s,n,r,c);case"X":return w(f,16,d,s,n,r,c).toUpperCase();case"u":return w(f,10,d,s,n,r,c);case"i":case"d":return f=(h=(p=parseInt(""+f,10))<0?"-":l)+_(Math.abs(p)+"",r,"0",!1),y(f,h,s,n,c);case"e":case"E":case"f":case"F":case"g":case"G":var p,h=(p=+f)<0?"-":l,v=["toExponential","toFixed","toPrecision"]["efg".indexOf(a.toLowerCase())],m=["toString","toUpperCase"]["eEfFgG".indexOf(a)%2];return f=h+Math.abs(p)[v](r),y(f,h,s,n,c)[m]();default:return e}})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(32),i=o(2);t.clear=function(e,t){return void 0===t&&(t=!1),e=n.trim(e).replace(i.INVISIBLE_SPACE_REG_EXP,"").replace(/[\s]*class=""/g,""),t&&(e=e.replace(/<p[^>]*>[\s\n\r\t]*( |<br>|<br\/>)?[\s\n\r\t]*<\/p>[\n\r]*/g,"")),e}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.htmlspecialchars=function(e){var t=document.createElement("div");return t.innerText=e,t.innerHTML}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stripTags=function(e){var t=document.createElement("div");return t.innerHTML=e,t.textContent||""}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(10),i=o(2);t.normalizeKeyAliases=function(e){var t={};return e.replace(/\+\+/g,"+add").split(/[\s]*\+[\s]*/).map(function(e){return n.trim(e.toLowerCase())}).map(function(e){return i.KEY_ALIASES[e]||e}).sort().filter(function(e){return!t[e]&&""!==e&&(t[e]=!0)}).join("+")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeLicense=function(e,t){void 0===t&&(t=8);for(var o=[];e.length;)o.push(e.substr(0,t)),e=e.substr(t);return o[1]=o[1].replace(/./g,"*"),o[2]=o[2].replace(/./g,"*"),o.join("-")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2),i=o(0);t.normalizeNode=function(e){if(e){if(e.nodeType===Node.TEXT_NODE&&null!==e.nodeValue&&e.parentNode)for(;e.nextSibling&&e.nextSibling.nodeType===Node.TEXT_NODE;)null!==e.nextSibling.nodeValue&&(e.nodeValue+=e.nextSibling.nodeValue),e.nodeValue=e.nodeValue.replace(n.INVISIBLE_SPACE_REG_EXP,""),i.Dom.safeRemove(e.nextSibling);else t.normalizeNode(e.firstChild);t.normalizeNode(e.nextSibling)}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizePath=function(e){return e.replace(/([^:])[\\\/]+/g,"$1/")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeRelativePath=function(e){return e.split("/").reduce(function(e,t){switch(t){case"":case".":break;case"..":e.pop();break;default:e.push(t)}return e},[]).join("/")+(e.endsWith("/")?"/":"")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeSize=function(e){return/^[0-9]+$/.test(""+e)?e+"px":""+e}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(42),r=o(32);t.normalizeColor=function(e){var t=["#"],o=i.colorToHex(e);if(!o)return!1;if(3!==(o=(o=r.trim(o.toUpperCase())).substr(1)).length)return 6<o.length&&(o=o.substr(0,6)),"#"+o;for(var n=0;n<3;n+=1)t.push(o[n]),t.push(o[n]);return t.join("")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getContentWidth=function(e,t){var o=function(e){return parseInt(e,10)},n=t.getComputedStyle(e);return e.offsetWidth-o(n.getPropertyValue("padding-left")||"0")-o(n.getPropertyValue("padding-right")||"0")}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.innerWidth=function(e,t){var o=t.getComputedStyle(e);return e.clientWidth-(parseFloat(o.paddingLeft||"0")+parseFloat(o.paddingRight||"0"))}},function(e,v,t){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.offset=function(e,t,o,n){void 0===n&&(n=!1);var i,r,a=e.getBoundingClientRect(),s=o.body,l=o.documentElement||{clientTop:0,clientLeft:0,scrollTop:0,scrollLeft:0},c=o.defaultView||o.parentWindow,d=c.pageYOffset||l.scrollTop||s.scrollTop,u=c.pageXOffset||l.scrollLeft||s.scrollLeft,f=l.clientTop||s.clientTop||0,p=l.clientLeft||s.clientLeft||0;if(!n&&t&&t.options&&t.options.iframe&&t.iframe){var h=v.offset(t.iframe,t,t.ownerDocument,!0);i=a.top+h.top,r=a.left+h.left}else i=a.top+d-f,r=a.left+u-p;return{top:Math.round(i),left:Math.round(r),width:a.width,height:a.height}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.browser=function(e){var t=navigator.userAgent.toLowerCase(),o=/(firefox)[\s\/]([\w.]+)/.exec(t)||/(chrome)[\s\/]([\w.]+)/.exec(t)||/(webkit)[\s\/]([\w.]+)/.exec(t)||/(opera)(?:.*version)[\s\/]([\w.]+)/.exec(t)||/(msie)[\s]([\w.]+)/.exec(t)||/(trident)\/([\w.]+)/.exec(t)||t.indexOf("compatible")<0||[];return"version"===e?o[2]:"webkit"===e?"chrome"===o[1]||"webkit"===o[1]:"ff"===e?"firefox"===o[1]:"msie"===e?"trident"===o[1]||"msie"===o[1]:o[1]===e}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=o(41),l=o(50);t.convertMediaURLToVideoEmbed=function(e,t,o){if(void 0===t&&(t=400),void 0===o&&(o=345),!s.isURL(e))return e;var n=document.createElement("a"),i=/(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(.+)/g;n.href=e,t||(t=400),o||(o=345);var r=n.protocol||"";switch(n.hostname){case"www.vimeo.com":case"vimeo.com":return i.test(e)?e.replace(i,'<iframe width="'+t+'" height="'+o+'" src="'+r+'//player.vimeo.com/video/$1" frameborder="0" allowfullscreen></iframe>'):e;case"youtube.com":case"www.youtube.com":case"youtu.be":case"www.youtu.be":var a=n.search?l.parseQuery(n.search):{v:n.pathname.substr(1)};return a.v?'<iframe width="'+t+'" height="'+o+'" src="'+r+"//www.youtube.com/embed/"+a.v+'" frameborder="0" allowfullscreen></iframe>':e}return e}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="JoditDataBindKey";t.dataBind=function(e,t,o){var n=e[i];if(n||Object.defineProperty(e,i,{enumerable:(n={},!1),configurable:!0,value:n}),void 0===o)return n[t];n[t]=o}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.humanSizeToBytes=function(e){if(/^[0-9.]+$/.test(""+e))return parseFloat(e);var t=e.substr(-2,2).toUpperCase(),o=["KB","MB","GB","TB"],n=parseFloat(e.substr(0,e.length-2));return-1!=o.indexOf(t)?n*Math.pow(1024,1+o.indexOf(t)):parseInt(e,10)}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.inView=function(e,t,o){var n=e.getBoundingClientRect(),i=e,r=n.top,a=n.height;do{if(i&&i.parentNode){if(r>(n=(i=i.parentNode).getBoundingClientRect()).bottom)return!1;if(r+a<=n.top)return!1}}while(i&&i!==t&&i.parentNode);return r<=(o.documentElement&&o.documentElement.clientHeight||0)},n.scrollIntoView=function(e,t,o){n.inView(e,t,o)||(t.clientHeight!==t.scrollHeight&&(t.scrollTop=e.offsetTop),n.inView(e,t,o)||e.scrollIntoView())}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.val=function(e,t,o){var n=e.querySelector(t);return n?(o&&(n.value=o),n.value):""}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t,o){this.observer=o,this.oldValue=e,this.newValue=t}return e.prototype.undo=function(){this.observer.snapshot.restore(this.oldValue)},e.prototype.redo=function(){this.observer.snapshot.restore(this.newValue)},e}();t.Command=n},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(7),a=o(0),s=function(n){function e(e,t){var o=n.call(this,e)||this;return o.target=t,o.container=e.create.div("jodit_statusbar"),t.appendChild(o.container),o.hide(),o}return i(e,n),e.prototype.hide=function(){this.container&&(this.container.style.display="none")},e.prototype.show=function(){this.container&&(this.container.style.display="block")},e.prototype.append=function(e,t){void 0===t&&(t=!1);var o=this.jodit.create.div("jodit_statusbar_item");t&&o.classList.add("jodit_statusbar_item-right"),o.appendChild(e),this.container.appendChild(o),this.show(),this.jodit.events.fire("resize")},e.prototype.destruct=function(){a.Dom.safeRemove(this.container),delete this.container,n.prototype.destruct.call(this)},e}(r.Component);t.StatusBar=s},function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.defaultNameSpace="JoditEventDefaultNamespace";var n=function(){function e(){this.__store={}}return e.prototype.get=function(e,t){if(void 0!==this.__store[t])return this.__store[t][e]},e.prototype.indexOf=function(e,t,o){var n=this.get(e,t);if(n)for(var i=0;i<n.length;i+=1)if(n[i].originalCallback===o)return i;return!1},e.prototype.namespaces=function(e){void 0===e&&(e=!1);var t=Object.keys(this.__store);return e?t.filter(function(e){return e!==o.defaultNameSpace}):t},e.prototype.events=function(e){return this.__store[e]?Object.keys(this.__store[e]):[]},e.prototype.set=function(e,t,o,n){void 0===n&&(n=!1),void 0===this.__store[t]&&(this.__store[t]={}),void 0===this.__store[t][e]&&(this.__store[t][e]=[]),n?this.__store[t][e].unshift(o):this.__store[t][e].push(o)},e.prototype.clear=function(){delete this.__store,this.__store={}},e}();o.EventHandlersStore=n},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(7),a=o(0),s=o(61),l=o(12),c=function(o){function e(e){var t=o.call(this,e)||this;return t.__whoLocked="",t.__isFullSize=!1,t.ownerDocument=document,t.ownerWindow=window,t.isLocked=function(){return""!==t.__whoLocked},t.isLockedNotBy=function(e){return t.isLocked()&&t.__whoLocked!==e},t.isFullSize=function(){return t.__isFullSize},e&&e.ownerDocument&&(t.ownerDocument=e.ownerDocument,t.ownerWindow=e.ownerWindow),t.create=new s.Create(t.ownerDocument,l.isJoditObject(e)?e.editorDocument:void 0),t.container=t.create.div(),t}return i(e,o),e.prototype.destruct=function(){this.isDestructed&&(a.Dom.safeRemove(this.container),delete this.container,o.prototype.destruct.call(this))},e.prototype.lock=function(e){return void 0===e&&(e="any"),!this.isLocked()&&(this.__whoLocked=e,!0)},e.prototype.unlock=function(){return!!this.isLocked()&&!(this.__whoLocked="")},e.prototype.toggleFullSize=function(e){void 0===e&&(e=!this.__isFullSize),e!==this.__isFullSize&&(this.__isFullSize=e)},e}(r.Component);t.Panel=c},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=function(o){function e(e){var t=o.call(this,e)||this;return t.container.classList.add("jodit_toolbar_btn-break"),t}return i(e,o),e}(o(25).ToolbarElement);t.ToolbarBreak=r},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=this&&this.__assign||function(){return(s=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var i in t=arguments[o])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var l=o(3),c=o(26),r=o(27),d=o(18),a=function(r){function e(e,t,o,n){void 0===n&&(n="jodit_toolbar_list");var i=r.call(this,e,t,o,n)||this;return i.target=t,i.current=o,i.className=n,i.defaultControl={template:function(e,t,o){return i.jodit.i18n(o)}},i}return i(e,r),e.prototype.doClose=function(){this.toolbar&&(this.toolbar.destruct(),delete this.toolbar)},e.prototype.doOpen=function(r){var a=this;this.toolbar=d.JoditToolbarCollection.makeCollection(this.jodit);var e="string"==typeof r.list?r.list.split(/[\s,]+/):r.list;l.each(e,function(e,t){var o,n=a.jodit.options.controls,i=function(e){return n&&n[e]};"string"==typeof t&&i(t)?o=new c.ToolbarButton(a.toolbar,s({name:""+t},i(t)),a.current):"string"==typeof e&&i(e)&&"object"==typeof t?o=new c.ToolbarButton(a.toolbar,s({name:""+e},i(e),t),a.current):(o=new c.ToolbarButton(a.toolbar,{name:""+e,exec:r.exec,command:r.command,isActive:r.isActiveChild,isDisable:r.isDisableChild,mode:r.mode,args:[r.args&&r.args[0]||e,r.args&&r.args[1]||t]},a.current)).textBox.innerHTML=(r.template||a.defaultControl.template)(a.jodit,""+e,""+t),a.toolbar.appendChild(o)}),this.container.appendChild(this.toolbar.container),this.container.style.marginLeft=null,this.toolbar.checkActiveButtons()},e.prototype.destruct=function(){this.isDestructed||(this.doClose(),r.prototype.destruct.call(this))},e}(r.Popup);t.PopupList=a},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(20),a=o(0),s=o(4),l=function(o){function e(e){var t=o.call(this,e.parentToolbar||e.jodit,"div","jodit_tooltip")||this;return t.button=e,t.timeout=0,t.show=function(){var e=t.button.jodit.options.showTooltipDelay||10*t.button.jodit.defaultTimeout;t.button.jodit.events.fire("hideTooltip"),t.timeout=s.setTimeout(function(){t.button.container.appendChild(t.container),t.container.style.marginLeft=-(t.container.offsetWidth-t.button.container.offsetWidth)/2+"px"},e)},t.hide=function(){window.clearTimeout(t.timeout),a.Dom.safeRemove(t.container)},e.control.tooltip&&(t.container.innerHTML=e.jodit.i18n(e.control.tooltip)+(e.control.hotkeys?"<br>"+r.asArray(e.control.hotkeys).join(" "):""),e.jodit.events.on(e.anchor,"mouseenter",t.show).on(e.anchor,"mouseleave",t.hide).on("change updateToolbar scroll hidePopup closeAllPopups hideTooltip",t.hide)),t}return i(e,o),e.prototype.destruct=function(){return this.hide(),this.jodit&&this.jodit.events&&this.jodit.events.off("change updateToolbar scroll hidePopup closeAllPopups hideTooltip",this.hide),o.prototype.destruct.call(this)},e}(o(25).ToolbarElement);t.ToolbarTooltip=l},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=function(o){function e(e){var t=o.call(this,e)||this;return t.container.classList.add("jodit_toolbar_btn-separator"),t}return i(e,o),e}(o(25).ToolbarElement);t.ToolbarSeparator=r},function(e,t,o){"use strict";var n=o(116),i=o(117),r=o(118),a=o(119),s=o(120),l=o(121),c=o(122),d=o(123),u=o(124),f=o(125),p=o(126),h=o(127),v={de:n.default,fr:i.default,ru:r.default,tr:u.default,ar:a.default,zh_cn:s.default,es:l.default,nl:c.default,hu:d.default,pt_br:f.default,en:p.default,it:h.default},m={};p.default.forEach(function(e,t){m[t]=e}),Object.keys(v).forEach(function(o){var e=v[o];Array.isArray(e)&&(v[o]={},e.forEach(function(e,t){v[o][m[t]]=e}))}),e.exports=v},function(e,t){e.exports.default=["Bitte geben Sie einen Text ein","Fortgeschritten","Über Jodit","Jodit Editor","Freie Nicht-kommerzielle Version","GNU General Public License, Version 2 oder höher","Das Jodit Benutzerhandbuch","beinhaltet ausführliche Informationen wie Sie den Editor verwenden können.","Für Lizenz-Informationen, besuchen Sie bitte unsere Webseite:","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","Ungeordnete Liste einfügen","Sortierte 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 Stiel","CSS Klassen","Ausrichten","Rechts","Zentriert","Links","Keine","Pfad","Titel","Alternativer Text","Link","Link in neuem Tab öffnen","Bild","Datei","Erweitert","Bildeigenschaften","Abbrechen","OK","Es scheint als dass Sie HTML-Text einfügen möchten","Als HTML einfügen?","Original speichern","Säubern","Als Text einfügen","InWord formatierter Text erkannt","Der Inhalt, den Sie einfügen, stammt aus einem Microsoft Word / Excel-Dokument. Möchten Sie das Format erhalten oder löschen?","Nur Text einfügen","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 einfügen vor","Spalte einfügen nach","Zeile einfügen oberhalb","Zeile unterhalb einfügen","Tabelle löschen","Zeile löschen","Spalte löschen","Leere Zelle","Löschen","Durchschlagen","Unterstreichen","Pause","Suche nach","Ersetzen durch","Ersetzen","Bearbeiten","Vertikale Ausrichtung","Horizontale Ausrichtung","filter","Sortieren nach geändert","Nach Name sortieren","Nach Größe sortiert","Ordner hinzufügen","Split vertikal","Split horizontally","Verschmelzen","Spalte hinzufügen","Zeile hinzufügen","Rand","Code einbetten","Aktualisieren","hochgestellt","Index","Auswahl ausschneid","Einfügen","Wählen Sie Inhalt zum Einfügen","Zeichen: %d","Wörter: %d","Wählen Sie Alle aus","Markieren: %s","Wählen Sie Alle aus","HTML","Fett gedruckt","kursiv","Bürste","Verknüpfung","rückgängig machen","wiederholen","Tabelle","Bild","Radiergummi","Absatz","Schriftgröße","Video","Schriftart","Über","drucken","Symbol","unterstreichen","durchgestrichen","Einzug","Aussenseiter","Vollgröße","schrumpfen","Format kopierenт","die Linie","Liste von","Nummerierte Liste","Schnitt","Wählen Sie Alle aus","Link öffnen","Link bearbeiten","Nofollow-Attribut","Link entfernen","URL","Wiederherstellen","Speichern","Speichern als","Ändern Sie die Größe","Größe anpassen","Breite","Höhe","Halten Sie Proportionen","Ja","Nein","Entfernen","Markieren","Sie können nur Ihre eigenen Bilder bearbeiten. Laden Sie dieses Bild auf dem Host herunter?","Das Bild wurde erfolgreich auf den Server hochgeladen!null","Palette"]},function(e,t){e.exports.default=["Ecrivez ici","Avancé","A propos de Jodit","Editeur Jodit","Version gratuite, non commerciale","GNU General Public License, version 2 ou ultérieure","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",null,"Propriétés de l'image","Effacer","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","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?","Coller le texte seulement","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","Effacer","Frapper à travers","Souligner","Pause","Rechercher","Remplacer par","Remplacer",null,"Alignement vertical","Alignement horizontal","Filtre","Trier par modifié","Trier par nom","Classer par taille","Ajouter le dossier",null,null,"aller","Ajouter une colonne","Ajouter une rangée",null,null,"Mettre à jour","exposant","indice","Couper la sélection","Coller","Choisissez le contenu à coller","Symboles: %d","Mots: %d",null,"Mettre en évidence: %s","Tout sélectionner","la source","graisseux","italique","verser","lien","abolir","prêt","graphique","Image","la gommen","clause","taille de police","Video","police","à propos de l'éditeur","impression","caractère","souligné","barré","indentation","indifférent","taille réelle","taille conventionnelle","Format de copie","la ligne","Liste des","Liste numérotée","Couper","Sélectionner tout","Ouvrir le lien","Modifier le lien","Attribut Nofollow","Supprimer le lien","URL","Restaurer","Sauvegarder","Enregistrer sous","Changer la taille","Taille de garniture","Largeur","Hauteur","Garder les proportions","Oui","Non","Supprimer","Mettre en évidence","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"]},function(e,t){e.exports.default=["Напишите что-либо","Расширенные","О Jodit","Редактор Jodit","Версия для не коммерческого использования","Стандартная общественная лицензия GNU (GPL), версия 2 или выше","Jodit Руководство пользователя","содержит детальную информацию по использованию","Для получения сведений о лицензии , пожалуйста, перейдите на наш сайт:","Купить полную версию","Авторские права © XDSoft.net - Чупурнов Валерий. Все права защищены.","Анкор","Открывать ссылку в новой вкладке","Открыть редактор в полном размере","Очистить форматирование","Цвет заливки или цвет текста","Повтор","Отмена","Жирный","Наклонный","Вставка маркированного списка","Вставить нумерованный список","Выровнять по центру","Выровнять по ширине","Выровнять по левому краю","Выровнять по правому краю","Вставить горизонтальную линию","Вставить изображение","Вставить файл","Вставьте видео","Вставить ссылку","Размер шрифта","Шрифт","Вставить блочный элемент","Нормальный текст","Заголовок 1","Заголовок 2","Заголовок 3","Заголовок 4","Цитата","Код","Вставить","Вставить таблицу","Уменьшить отступ","Увеличить отступ","Выберите специальный символ","Вставить специальный символ","Формат краски","Источник","Отступы","сверху","справа","снизу","слева","Стили","Классы","Выравнивание","По правому краю","По центру","По левому краю","--не устанавливать--","src","Заголовок","Альтернативный текст (alt)","Ссылка","Открывать ссылку в новом окне","Изображение","Файл",null,"Свойства изображения","Отмена","Ок","Ваш текст, который вы пытаетесь вставить похож на HTML. Вставить его как HTML?","Вставить как HTML?","Сохранить оригинал","Почистить","Вставить как текст","Возможно это фрагмент Word или Excel","Контент который вы вставляете поступает из документа Microsoft Word / Excel. Вы хотите сохранить формат или очистить его?","Вставить только текст","Браузер файлов","Ошибка при загрузке списка изображений","Ошибка при загрузке списка директорий","Вы уверены?","Введите название директории","Создать директорию","введите название","Перетащите сюда изображение","Перетащите сюда файл","или нажмите","Альтернативный текст","Сервер","Загрузка","Фон","Текст"," К верху","По середине","К низу","Вставить столбец до","Вставить столбец после","Вставить ряд выше","Вставить ряд ниже","Удалить таблицу","Удалять ряд","Удалить столбец","Отчистить ячейку","Удалить","Перечеркнуть","Подчеркивание","Разделитель","Найти","Заменить на","Заменить","Редактировать","Вертикальное выравнивание","Горизонтальное выравнивание","Фильтр","По изменению","По имени","По размеру","Добавить папку","Разделить по вертикали","Разделить по горизонтали","Объеденить в одну","Добавить столбец","Добавить строку","Рамка","Код","Обновить","верхний индекс","индекс","Вырезать","Вставить","Выбрать контент для вставки","Символов: %d","Слов: %d","Выделить все","Выделить: %s","Выделить все","HTML","жирный","курсив","заливка","ссылка","отменить","повторить","таблица","изображение","очистить","параграф","размер шрифта","видео","шрифт","о редакторе","печать","символ","подчеркнутый","перечеркнутый","отступ","выступ","во весь экран","обычный размер","Копировать формат","линия","Список","Нумерованный список","Вырезать","Выделить все","Открыть ссылку","Редактировать ссылку","Атрибут nofollow","Убрать ссылку","URL","Восстановить","Сохранить","Сохранить как","Изменить размер","Обрезать размер","Ширина","Высота","Сохранять пропорции","Да","Нет","Удалить","Выделить","Вы можете редактировать только свои собственные изображения. Загрузить это изображение на ваш сервер?","Изображение успешно загружено на сервер!","палитра"]},function(e,t){e.exports.default=["إبدأ في الكتابة...","متقدم","حول جوديت","محرر جوديت","الإصدار الغير تجاري مجاني","رخصة جنو العمومية العامة ، الإصدار الثاني أو الأحدث","دليل مستخدم جوديت","يحتوي على مساعدة مفصلة للاستخدام","للحصول على معلومات حول الترخيص، يرجى الذهاب لموقعنا:","شراء النسخة الكاملة","حقوق الطبع والنشر © XDSoft.net - Chupurnov Valeriy. كل الحقوق محفوظة.","مِرْساة","فتح في نافذة جديدة","فتح المحرر في الحجم الكامل","مسح التنسيق","ملء اللون أو تعيين لون النص","إعادة","تراجع","عريض","مائل","إدراج قائمة غير مرتبة","إدراج قائمة مرتبة","محاذاة للوسط","محاذاة مثبتة","محاذاة لليسار","محاذاة لليمين","إدراج خط أفقي","إدراج صورة","ادخال الملف","إدراج فيديو يوتيوب/فيميو ","إدراج رابط","حجم الخط","نوع الخط","إدراج كتلة تنسيق","عادي","عنوان 1","عنوان 2","عنوان 3","عنوان 4","إقتباس","كود","إدراج","إدراج جدول","تقليل المسافة البادئة","زيادة المسافة البادئة","تحديد أحرف خاصة","إدراج حرف خاص","تنسيق الرسم","تغيير الوضع","هوامش","أعلى","يمين","أسفل","يسار","الأنماط","الطبقات","محاذاة","اليمين","الوسط","اليسار","--غير مضبوط--","Src","العنوان","العنوان البديل","الرابط","افتح الرابط في نافذة جديدة","الصورة","ملف",null,"خصائص الصورة","إلغاء","حسنا","يشبه الكود الخاص بك HTML. تبقي كما HTML؟","الصق ك HTML","احتفظ",null,"إدراج كنص",null,null,"إدراج النص فقط","متصفح الملفات","حدث خطأ في تحميل القائمة ","حدث خطأ في تحميل المجلدات","هل أنت واثق؟","أدخل اسم المجلد","إنشاء مجلد","أكتب إسم","إسقاط صورة","إسقاط الملف","أو أنقر","النص البديل","تصفح","رفع","الخلفية","نص","أعلى","الوسط","الأسفل","إدراج عمود قبل","إدراج عمود بعد","إدراج صف أعلى","إدراج صف أسفل","حذف الجدول","حذف الصف","حذف العمود","خلية فارغة","حذف","اضرب من خلال","أكد","استراحة","البحث عن","استبدل ب","يحل محل","تحرير","محاذاة عمودية","محاذاة أفقية","فلتر","عن طريق التغيير","بالاسم","حسب الحجم","إضافة مجلد","انقسام عمودي","تقسيم أفقي","اذهب","أضف العمود","اضف سطر","الحدود","قانون","تحديث","حرف فوقي","مخطوطة","قطع الاختيار","معجون","اختر محتوى للصق","%d حرف","%d كلام",null,"تميز %s","اختر الكل","مصدر","بالخط العريض","مائل","شغل","صلة","إلغاء","كرر","طاولة","صورة","نظيف","فقرة","حجم الخط","فيديو","الخط","حول المحرر","طباعة","رمز","أكد","شطب","المسافة البادئة","نتوء","ملء الشاشة","الحجم التقليدي","نسخ التنسيق","الخط","قائمة","قائمة مرقمة","قطع","اختر الكل","فتح الرابط","تعديل الرابط","سمة Nofollow","إزالة الرابط","URL","إعادة","احتفظ","حفظ باسم","تغيير الحجم","حجم القطع","عرض","ارتفاع","حافظ على النسب","أن","لا","حذف","تميز","يمكنك فقط تحرير صورك الخاصة. تحميل هذه الصورة على المضيف؟","تم تحميل الصورة بنجاح على الخادم!","لوحة"]},function(e,t){e.exports.default=["输入一些内容","高级","关于Jodit","Jodit Editor","Free Non-commercial Version","GNU General Public License, version 2 or later","开发者指南","使用帮助","有关许可证的信息,请访问我们的网站:","购买完整版本","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","在新窗口打开","全屏编辑","清除样式","颜色","重做","撤销","粗体","斜体","符号列表","编号","居中","对齐文本","左对齐","右对齐","分割线","图片","文件","youtube/vimeo 视频","链接","字号","字体","格式块","文本","标题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","浏览","上传","背景色","字体颜色","顶部","中间","底部","在之前插入列","在之后插入列","在之前插入行","在之后插入行","删除表格","删除行","删除列","清除内容","删除","删除线","下划线","Pause","查找","替换为","替换",null,"垂直对齐","水平对齐","筛选","修改时间排序","名称排序","大小排序","新建文件夹",null,null,"合并","添加列","添加行",null,null,"更新","上标","下标","剪切","粘贴","选择内容并粘贴","字符数: %d","单词数: %d",null,"选择: %s","全选","源码","粗体","斜体","颜色","链接","撤销","重做","表格","图片","橡皮擦","段落","字号","视频","字体","关于","打印","符号","下划线","上出现","增加缩进","减少缩进","全屏","收缩","复制格式","分割线","无序列表","顺序列表","剪切","全选","打开链接","编辑链接","No follow","Unlink","URL","重置","保存","保存为","调整大小","Crop","宽","高","保存长宽比","是","不","移除","选择","你只能编辑你自己的图片。Download this image on the host?","图片上传成功","Palette"]},function(e,t){e.exports.default=["Escriba algo...","Avanzado","Acerca de Jodit","Jodit Editor","Versión gratis no comercial","GNU General Public License, Versión 2 o posterior","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","Pegado desde Word detectado","El contenido pegado proviene de un documento de Microsoft Word/Excel. ¿Desea mantener el formato o limpiarlo?","Insertar solo texto","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","Borrar","Tachado","Subrayado","Pausa","Buscar","Reemplazar con","Reemplazar","Editar","Alineación vertical","Alineación horizontal","filtrar","Ordenar por fecha modificación","Ordenar por nombre","Ordenar por tamaño","Agregar carpeta","Dividir vertical","Dividir horizontal","Mezclar","Agregar columna","Agregar fila","Borde","Incluir código","Actualizar","superíndice","subíndice","Cortar selección","Pegar","Seleccionar contenido para pegar","Caracteres: %d","Palabaras: %d","Todo","Seleccionar: %s","Seleccionar todo","HTML","negrita","cursiva","Brocha","Vínculo","deshacer","rehacer","Tabla","Imagen","Borrar","Párrafo","Tamaño de letra","Video","Letra","Acerca de","Imprimir","Símbolo","subrayar","tachar","sangría","quitar sangría","Tamaño completo","encoger","Copiar formato","línea horizontal","lista sin ordenar","lista ordenada","Cortar","Seleccionar todo","Abrir vínculo","Editar vínculo","No seguir","Desvincular","URL","Resetear","Guardar","Guardar como...","Redimensionar","Recortar","Ancho","Alto","Mantener relación de aspecto","Si","No","Quitar","Seleccionar","Solo puedes editar tus propias imágenes. ¿Descargar esta imagen en el servidor?","¡La imagen se ha subido correctamente al servidor!","paleta"]},function(e,t){e.exports.default=["Begin met typen..","Geavanceerd","Over Jodit","Jodit Editor","Gratis niet-commerciële versie","GNU General Public License, versie 2 of hoger","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","Word-tekst gedetecteerd","De geplakte tekst is afkomstig van een Microsoft Word/Excel document. Wil je de opmaak behouden of opschonen?","Als onopgemaakte tekst invoegen","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","Verwijderen","Doorstrepen","Onderstrepen","Enter","Zoek naar","Vervangen door","Vervangen","Bewerken","Verticaal uitlijnen","Horizontaal uitlijnen","Filteren","Sorteren op wijzigingsdatum","Sorteren op naam","Sorteren op grootte","Map toevoegen","Verticaal splitsen","Horizontaal splitsen","Samenvoegen","Kolom toevoegen","Rij toevoegen","Rand","Embed code","Updaten","Superscript","Subscript","Selectie knippen","Plakken","Kies content om te plakken","Tekens: %d","Woorden: %d","Alles","Selecteer: %s","Selecteer alles","Broncode","vet","cursief","kwast","link","ongedaan maken","opnieuw","tabel","afbeelding","gum","paragraaf","lettergrootte","video","lettertype","over","afdrukken","symbool","onderstreept","doorgestreept","inspringen","minder inspringen","volledige grootte","kleiner maken","opmaak kopiëren","horizontale lijn","lijst","genummerde lijst","knip","alles selecteren","link openen","link aanpassen","niet volgen","link verwijderen"," URL","Herstellen","Opslaan","Opslaan als ...","Grootte aanpassen","Bijknippen","Breedte","Hoogte","Verhouding behouden","Ja","Nee","Verwijderen","Selecteren","Je kunt alleen je eigen afbeeldingen aanpassen. Deze afbeelding downloaden?","De afbeelding is succesvol geüploadet!","Palette"]},function(e,t){e.exports.default=["Írjon be valamit","Haladó","Joditról","Jodit Editor","Ingyenes változat","GNU General Public License, Verzió 2 vagy későbbi","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","További beállítás","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","Word-ből másolt szöveg","A beillesztett tartalom Microsoft Word/Excel dokumentumból származik. Meg szeretné tartani a formátumát?","Csak szöveg beillesztése","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","Törlés","Áthúzott","Aláhúzott","Szünet","Keresés","Csere erre","Csere","Szerkeszt","Függőleges igazítás","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","Függőleges felosztás","Vízszintes felosztás","Összevonás","Oszlop hozzáadás","Sor hozzáadás","Szegély","Beágyazott kód","Frissít","Felső index","Alsó index","Kivágás","Beillesztés","Válasszon tartalmat a beillesztéshez","Karakterek száma: %d","Szavak száma: %d","Összes","Kijelöl: %s","Összes kijelölé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","Szimbólum","Aláhúzott","Áthúzott","Behúzás","Aussenseiter","Teljes méret","Összenyom","Formátum másolás","Egyenes vonal","Lista","Számozott lista","Kivág","Összes kijelölése","Link megnyitása","Link szerkesztése","Nincs követés","Link leválasztása","URL","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","Csak a saját képeit tudja szerkeszteni. Letölti ezt a képet?","Kép sikeresen feltöltve!","Palette"]},function(e,t){e.exports.default=["Bir şey yazın.","Gelişmiş","Jodit Hakkında","Jodit Editor","Ücretsiz, ticari olmayan versiyon","GNU General Public License, Versiyon 2 ve sonrası için","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 versiyon satın al","Copyright © XDSoft.net - Chupurnov Valeriy. Tüm Hakları Saklıdır","Bağlantı","Yeni sekmede aç","Tam ekran editör","Stili temizle","Dolgu ve yazı rengi seç","İleri Al","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ı","Code","Ekle","Tablo Ekle","Girintiyi Azalt","Girintiyi Arttır","Özel Karakter Seç","Özel Karakter Ekle","Resim Biçimi","Mod Değiştir","MEsafeler","Üst","Sağ","Alt","Sol","CSS Stilleri","CSS Sınıfları","Hizalama","Sağ","Ortalı","Sol","Belirlenmedi","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","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?","Nur Text einfügen","Dosya Gezgini","Liste yüklenirken hata oluştu","Klasörler yüklenirken hata oluştur","Emin misiniz?","Dizin yolu giriniz","Dizin oluştur","Typname","Resim bırak","Dosya bırak","veya tıkla","Alternatif yazı","Ekle","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","Kolon sil","Hücreyi boşalt","Sil","Durchschlagen","Alt çizgi","Durdur","Ara","Şununla değiştir","Değiştir","Düzenle","Dikey hizalama","Yatay hizalama","Filtre","Değişime göre sırala","İsme göre sırala","Boyuta göre sırala","Klasör ekle","Dikey ayır","Yatay ayır","Birleştir","Kolon ekle","Satır ekle","Kenarlık","Kod ekle","Güncelle","Üst yazı","Alt yazı","Seçilimi kes","Yapıştır","Yapıştırılacak içerik seç","Harfler: %d","Kelimeler: %d","Tümü","Seç: %s","Tümünü seç","Kaynak","Kalın","italik","Fırça","Bağlantı","Geri al","İleri al","Tablo","Resim","Silgi","Paragraf","Font boyutu","Video","Font","Hakkında","Yazdır","Sembol","Alt çizgi","Üstü çizili","Girinti","Çıkıntı","Tam ekran","Küçült","Kopyalama Biçimi","Ayraç","Sırasız liste","Sıralı liste","Kes","Tümünü seç","Bağlantıyı aç","Bağlantıyı düzenle","Nofollow özelliği","Bağlantıyı kaldır","URL","Sıfırla","Kaydet","Farklı kaydet","Boyutlandır","Kırp","Genişlik","Yükseklik","En boy oranını koru","Evet","Hayır","Sil","Seç","Sadece kendi resimlerinizi düzenleyebilirsiniz. Bu görseli kendi hostunuza indirmek ister misiniz?","Görsel başarıyla hostunuza yüklendi","Palette"]},function(e,t){e.exports.default=["Escreva algo...","Avançado","Sobre o Jodit","Editor Jodit","Versão Gratuita não-comercial","Licença Pública GNU General, Versão 2 ou posterior","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 é simular ao HTML. Manter como HTML?","Colar como HTML?","Manter","Limpar","Inserir como Texto","Colado do Word Detectado","O conteúdo colado veio de um documento Microsoft Word/Excel. Você deseja manter o formato ou limpa-lo?","Inserir somente o Texto","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","Excluir","Tachado","Sublinhar","Pausa","Procurar por","Substituir com","Substituir","Editar","Alinhamento vertical","Alinhamento horizontal","filtrar","Ordenar por modificação","Ordenar por nome","Ordenar por tamanho","Adicionar pasta","Dividir vertical","Dividir horizontal","Mesclar","Adicionar coluna","Adicionar linha","Borda","Incluir código","Atualizar","sobrescrito","subscrito","Cortar seleção","Colar","Escolher conteúdo para colar","Caracteres: %d","Palavras: %d","Tudo","Selecionar: %s","Selecionar tudo","HTML","negrito","itálico","pincel","link","desfazer","refazer","tabela","imagem","apagar","parágrafo","tamanho da letra","vídeo","fonte","Sobre de","Imprimir","Símbolo","sublinhar","tachado","recuar","diminuir recuo","Tamanho completo","diminuir","Copiar formato","linha horizontal","lista não ordenada","lista ordenada","Cortar","Selecionar tudo","Abrir link","Editar link","Não siga","Remover link","URL","Resetar","Salvar","Salvar como...","Redimensionar","Recortar","Largura","Altura","Manter a proporção","Sim","Não","Remover","Selecionar","Você só pode editar suas próprias imagens. Baixar essa imagem pro servidor?","A imagem foi enviada com sucesso para o servidor!","Palette"]},function(e,t){e.exports.default=["Type something","Advanced","About Jodit","Jodit Editor","Free Non-commercial Version","GNU General Public License, version 2 or later","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","Advansed","Image properties","Cancel","Ok","Your code is similar to HTML. Keep as HTML?","Paste as HTML","Keep","Clean","Insert as 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?","Insert only Text","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","Delete","Strike through","Underline","Break","Search for","Replace with","Replace","Edit","Vertical align","Horizontal align","Filter","Sort by changed","Sort by name","Sort by size","Add folder","Split vertical","Split horizontal","Merge","Add column","Add row","Border","Embed code","Update","superscript","subscript","Cut selection","Paste","Choose Content to Paste","Chars: %d","Words: %d","All","Select %s","Select all","source","bold","italic","brush","link","undo","redo","table","image","eraser","paragraph","fontsize","video","font","about","print","symbol","underline","strikethrough","indent","outdent","fullsize","shrink","copyformat","hr","ul","ol","cut","selectall","Open link","Edit link","No follow","Unlink"," URL","Reset","Save","Save as ...","Resize","Crop","Width","Height","Keep Aspect Ratio","Yes","No","Remove","Select","You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!","palette"]},function(e,t){e.exports.default=["Scrivi qualcosa...","Avanzato","A proposito di Jodit","Jodit Editor","Versione gratuita non commerciale","Licenza pubblica generale GNU, versione 2 o successiva","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","Incollato da Word rilevato","Il contenuto incollato proviene da un documento Microsoft Word / Excel. Vuoi mantenere il formato o pulirlo?","Inserisci solo il testo","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","Cancella","Barrato","Sottolineato","Pausa","Cerca","Sostituisci con","Sostituisci","Modifica","Allineamento verticala","Allineamento orizzontale","Filtro","Ordina per data di modifica","Ordina per nome","Ordina per dimensione","Aggiungi cartella","Dividere verticalmente","Diviso orizzontale","Fondi","Aggiungi colonna","Aggiungi riga","Bordo","Includi codice","Aggiornare","indice","deponente","Taglia la selezione","Incolla","Seleziona il contenuto da incollare","Caratteri: %d","Parole: %d","Tutto","Seleziona: %s","Seleziona tutto","HTML","Grassetto","Corsivo","Pennello","Link","Annulla","Ripristina","Tabella","Immagine","Gomma","Paragrafo","Dimensione del carattere","Video","Font","Approposito di","Stampa","Simbolo","Sottolineato","Barrato","trattino","annulla rientro","A grandezza normale","comprimere","Copia il formato","linea orizzontale","lista non ordinata","lista ordinata","Taglia","Seleziona tutto","Apri link","Modifica link","Non seguire","Togli link"," URL","Reset","Salva","Salva con nome...","Ridimensiona","Tagliare","Larghezza","Altezza","Mantenere le proporzioni","Si","No","Rimuovere","Seleziona","Puoi modificare solo le tue immagini. Scarica questa immagine sul server?","L'immagine è stata caricata con successo sul server!","tavolozza"]},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.prototype.set=function(e,t,o){var n,i;n=o?((i=new Date).setTime(i.getTime()+24*o*60*60*1e3),"; expires="+i.toUTCString()):"",document.cookie=e+"="+t+n+"; path=/"},e.prototype.get=function(e){var t,o,n=e+"=",i=document.cookie.split(";");for(t=0;t<i.length;t+=1){for(o=i[t];" "===o.charAt(0);)o=o.substring(1,o.length);if(0==o.indexOf(n))return o.substring(n.length,o.length)}return null},e.prototype.remove=function(e){this.set(e,"",-1)},e}();t.Cookie=n},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(5),d=o(17),u=o(46),r=o(38),a=o(3),f=o(66);n.Config.prototype.filebrowser={filter:function(e,t){return t=t.toLowerCase(),"string"==typeof e?-1!=e.toLowerCase().indexOf(t):"string"==typeof e.name?-1!=e.name.toLowerCase().indexOf(t):"string"!=typeof e.file||-1!=e.file.toLowerCase().indexOf(t)},sortBy:"changed",sort:function(e,t,o){var n,i=function(e,t){return e<t?-1:t<e?1:0};if("string"==typeof e)return i(e.toLowerCase(),t.toLowerCase());if(void 0===e[o]||"name"===o)return"string"==typeof e.name?i(e.name.toLowerCase(),t.name.toLowerCase()):"string"==typeof e.file?i(e.file.toLowerCase(),t.file.toLowerCase()):0;switch(o){case"changed":return n=new Date(e.changed),new Date(t.changed).getTime()-n.getTime();case"size":return a.humanSizeToBytes(e.size)-a.humanSizeToBytes(t.size)}return 0},editImage:!0,preview:!0,showPreviewNavigation:!0,showSelectButtonInPreview:!0,contextMenu:!0,howLongShowMsg:3e3,createNewFolder:!0,deleteFolder:!0,moveFolder:!0,moveFile:!0,showFoldersPanel:!0,width:763,height:400,buttons:["filebrowser.upload","filebrowser.remove","filebrowser.update","filebrowser.select","filebrowser.edit","|","filebrowser.tiles","filebrowser.list","|","filebrowser.filter","|","filebrowser.sort"],removeButtons:[],fullsize:!1,showTooltip:!0,view:null,isSuccess:function(e){return e.success},getMessage:function(e){return void 0!==e.data.messages&&Array.isArray(e.data.messages)?e.data.messages.join(" "):""},showFileName:!0,showFileSize:!0,showFileChangeTime:!0,getThumbTemplate:function(e,t,o){var n,i="",r="",a=!!e.thumbIsAbsolute,s=!!e.fileIsAbsolute,l=""+(new Date).getTime();void 0!==e.file&&(r=i=e.file),e.thumb&&(r=e.thumb),n='<div class="'+f.ITEM_CLASS+'-info">'+(this.options.showFileName?'<span class="'+f.ITEM_CLASS+'-info-filename">'+i+"</span>":"")+(this.options.showFileSize&&e.size?'<span class="'+f.ITEM_CLASS+'-info-filesize">'+e.size+"</span>":"")+(this.options.showFileChangeTime&&e.changed?'<span class="'+f.ITEM_CLASS+'-info-filechanged">'+("number"==typeof e.changed?new Date(e.changed).toLocaleString():e.changed)+"</span>":"")+"</div>";var c=s?i:u.normalizeURL(t.baseurl+t.path+i);return'<a data-is-file="'+(e.isImage?0:1)+'" draggable="true" class="'+f.ITEM_CLASS+'" href="'+c+'" data-source="'+o+'" data-path="'+d.normalizePath(t.path?t.path+"/":"/")+'" data-name="'+i+'" title="'+i+'" data-url="'+c+'"><img data-is-file="'+(e.isImage?0:1)+'" data-src="'+c+'" src="'+(a?r:u.normalizeURL(t.baseurl+t.path+r)+"?_tmst="+l)+'" alt="'+i+'"/>'+(this.options.showFileName||this.options.showFileSize&&e.size||this.options.showFileChangeTime&&e.changed?n:"")+"</a>"},ajax:{url:"",async:!0,data:{},cache:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",method:"POST",processData:!0,dataType:"json",headers:{},prepareData:function(e){return e},process:function(e){return e}},create:{data:{action:"folderCreate"}},getLocalFileByUrl:{data:{action:"getLocalFileByUrl"}},resize:{data:{action:"imageResize"}},crop:{data:{action:"imageCrop"}},fileMove:{data:{action:"fileMove"}},folderMove:{data:{action:"folderMove"}},fileRemove:{data:{action:"fileRemove"}},folderRemove:{data:{action:"folderRemove"}},items:{data:{action:"files"}},folder:{data:{action:"folders"}},permissions:{data:{action:"permissions"}},uploader:null},n.Config.prototype.controls.filebrowser={upload:{icon:"plus",isInput:!0,exec:function(){},isDisable:function(e){return!e.canI("FileUpload")},getContent:function(e,t){var o=e.create.fromHTML('<span class="jodit_upload_button">'+i.ToolbarIcon.getIcon("plus")+'<input type="file" accept="'+(e.buffer.fileBrowserOnlyImages?"image/*":"*")+'" tabindex="-1" dir="auto" multiple=""/></span>'),n=o.querySelector("input");return e.events.on("updateToolbar",function(){t&&t.isDisable&&(t.isDisable(e,t)?n.setAttribute("disabled","disabled"):n.removeAttribute("disabled"))}).fire("bindUploader.filebrowser",o),o}},remove:{icon:"bin",isDisable:function(e){return 0===e.getActiveElements().length||!e.canI("FileRemove")},exec:function(e){e.events.fire("fileRemove.filebrowser")}},update:{exec:function(e){e.events.fire("update.filebrowser")}},select:{icon:"check",isDisable:function(e){return 0===e.getActiveElements().length},exec:function(e){e.events.fire("select.filebrowser")}},edit:{icon:"pencil",isDisable:function(e){var t=e.getActiveElements();return 1!==t.length||"1"===t[0].getAttribute("data-is-file")||!(e.canI("ImageCrop")||e.canI("ImageResize"))},exec:function(e){e.events.fire("edit.filebrowser")}},tiles:{icon:"th",isActive:function(e){return"tiles"===e.buffer.fileBrowserView},exec:function(e){e.events.fire("view.filebrowser","tiles")}},list:{icon:"th-list",isActive:function(e){return"list"===e.buffer.fileBrowserView},exec:function(e){e.events.fire("view.filebrowser","list")}},filter:{isInput:!0,getContent:function(e){var t=e.create.element("input",{class:"jodit_input",placeholder:e.i18n("Filter")});return e.events.on(t,"keydown mousedown",r.debounce(function(){e.events.fire("filter.filebrowser",t.value)},e.defaultTimeout)),t}},sort:{isInput:!0,getContent:function(e){var t=e.create.fromHTML('<select class="jodit_input"><option value="changed">'+e.i18n("Sort by changed")+'</option><option value="name">'+e.i18n("Sort by name")+'</option><option value="size">'+e.i18n("Sort by size")+"</option></select>");return e.events.on("sort.filebrowser",function(e){t.value!==e&&(t.value=e)}).on(t,"change",function(){e.events.fire("sort.filebrowser",t.value)}),t}}}},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var a=o(1),r=o(7),s=o(19),l=o(3),c=o(5),d=o(0);a.Config.prototype.imageeditor={min_width:20,min_height:20,closeAfterSave:!1,width:"85%",height:"85%",crop:!0,resize:!0,resizeUseRatio:!0,resizeMinWidth:20,resizeMinHeight:20,cropUseRatio:!0,cropDefaultWidth:"70%",cropDefaultHeight:"70%"};var u=function(t){function e(e){var r=t.call(this,e)||this;return r.resizeUseRatio=!0,r.cropUseRatio=!0,r.clicked=!1,r.activeTab="resize",r.cropBox={x:0,y:0,w:0,h:0},r.resizeBox={w:0,h:0},r.calcValueByPercent=function(e,t){var o,n=""+t,i=parseFloat(""+e);return(o=/^[\-+]?[0-9]+(px)?$/.exec(n))?parseInt(n,10):(o=/^([\-+]?[0-9.]+)%$/.exec(n))?Math.round(i*(parseFloat(o[1])/100)):i||0},r.calcCropBox=function(){var e,t=.8*r.crop_box.parentNode.offsetWidth,o=.8*r.crop_box.parentNode.offsetHeight,n=t;e=r.naturalWidth<t&&r.naturalHeight<o?(n=r.naturalWidth,r.naturalHeight):t/o<r.ratio?r.naturalHeight*((n=t)/r.naturalWidth):(n=r.naturalWidth*(o/r.naturalHeight),o),l.css(r.crop_box,{width:n,height:e})},r.showCrop=function(){r.cropImage&&(r.calcCropBox(),r.new_w=r.calcValueByPercent(r.cropImage.offsetWidth||r.image.offsetWidth,r.options.cropDefaultWidth),r.new_h=r.cropUseRatio?r.new_w/r.ratio:r.calcValueByPercent(r.cropImage.offsetHeight||r.image.offsetHeight,r.options.cropDefaultHeight),l.css(r.cropHandler,{backgroundImage:"url("+r.cropImage.getAttribute("src")+")",width:r.new_w,height:r.new_h,left:(r.cropImage.offsetWidth||r.image.offsetWidth)/2-r.new_w/2,top:(r.cropImage.offsetHeight||r.image.offsetHeight)/2-r.new_h/2}),r.jodit.events.fire(r.cropHandler,"updatesize"))},r.updateCropBox=function(){if(r.cropImage){var e=r.cropImage.offsetWidth/r.naturalWidth,t=r.cropImage.offsetHeight/r.naturalHeight;r.cropBox.x=l.css(r.cropHandler,"left")/e,r.cropBox.y=l.css(r.cropHandler,"top")/t,r.cropBox.w=r.cropHandler.offsetWidth/e,r.cropBox.h=r.cropHandler.offsetHeight/t,r.sizes.innerText=r.cropBox.w.toFixed(0)+"x"+r.cropBox.h.toFixed(0)}},r.updateResizeBox=function(){r.resizeBox.w=r.image.offsetWidth||r.naturalWidth,r.resizeBox.h=r.image.offsetHeight||r.naturalHeight},r.setHandlers=function(){var i=r;i.jodit.events.on([i.editor.querySelector(".jodit_bottomright"),i.cropHandler],"mousedown.jodit_image_editor",function(e){i.target=e.target||e.srcElement,e.preventDefault(),e.stopImmediatePropagation(),i.clicked=!0,i.start_x=e.clientX,i.start_y=e.clientY,i.height="crop"===i.activeTab?(i.top_x=l.css(i.cropHandler,"left"),i.top_y=l.css(i.cropHandler,"top"),i.width=i.cropHandler.offsetWidth,i.cropHandler.offsetHeight):(i.width=i.image.offsetWidth,i.image.offsetHeight)}).off(r.jodit.ownerWindow,".jodit_image_editor"+i.jodit.id).on(r.jodit.ownerWindow,"mousemove.jodit_image_editor"+i.jodit.id,l.throttle(function(e){i.clicked&&(i.diff_x=e.clientX-i.start_x,i.diff_y=e.clientY-i.start_y,"resize"===i.activeTab&&i.resizeUseRatio||"crop"===i.activeTab&&i.cropUseRatio?i.diff_x?(i.new_w=i.width+i.diff_x,i.new_h=Math.round(i.new_w/i.ratio)):(i.new_h=i.height+i.diff_y,i.new_w=Math.round(i.new_h*i.ratio)):(i.new_w=i.width+i.diff_x,i.new_h=i.height+i.diff_y),"resize"===i.activeTab?(i.options.resizeMinWidth<i.new_w&&(l.css(i.image,"width",i.new_w+"px"),i.widthInput.value=""+i.new_w),i.options.resizeMinHeight<i.new_h&&(l.css(i.image,"height",i.new_h+"px"),i.heightInput.value=""+i.new_h),r.jodit.events.fire(i.resizeHandler,"updatesize")):(i.target!==i.cropHandler?(i.cropImage.offsetWidth<i.top_x+i.new_w&&(i.new_w=i.cropImage.offsetWidth-i.top_x),i.cropImage.offsetHeight<i.top_y+i.new_h&&(i.new_h=i.cropImage.offsetHeight-i.top_y),l.css(i.cropHandler,{width:i.new_w,height:i.new_h})):(i.cropImage.offsetWidth<i.top_x+i.diff_x+i.cropHandler.offsetWidth&&(i.diff_x=i.cropImage.offsetWidth-i.top_x-i.cropHandler.offsetWidth),l.css(i.cropHandler,"left",i.top_x+i.diff_x),i.cropImage.offsetHeight<i.top_y+i.diff_y+i.cropHandler.offsetHeight&&(i.diff_y=i.cropImage.offsetHeight-i.top_y-i.cropHandler.offsetHeight),l.css(i.cropHandler,"top",i.top_y+i.diff_y)),r.jodit.events.fire(i.cropHandler,"updatesize")),e.stopImmediatePropagation())},5)).on(r.jodit.ownerWindow,"resize.jodit_image_editor"+i.jodit.id,function(){r.jodit.events.fire(i.resizeHandler,"updatesize"),i.showCrop(),r.jodit.events.fire(i.cropHandler,"updatesize")}).on(r.jodit.ownerWindow,"mouseup.jodit_image_editor"+i.jodit.id+" keydown.jodit_image_editor"+i.jodit.id,function(e){i.clicked&&(i.clicked=!1,e.stopImmediatePropagation())}),l.$$(".jodit_btn_group",i.editor).forEach(function(e){var t=e.querySelector("input");i.jodit.events.on(e,"click change",function(){l.$$("button",e).forEach(function(e){return e.classList.remove("active")}),this.classList.add("active"),t.checked=!!this.getAttribute("data-yes"),i.jodit.events.fire(t,"change")},"button")}),i.jodit.events.on(r.editor,"click.jodit_image_editor",function(){l.$$(".jodit_image_editor_slider,.jodit_image_editor_area",i.editor).forEach(function(e){return e.classList.remove("active")});var e=this.parentNode;e.classList.add("active"),i.activeTab=e.getAttribute("data-area")||"";var t=i.editor.querySelector(".jodit_image_editor_area.jodit_image_editor_area_"+i.activeTab);t&&t.classList.add("active"),"crop"===i.activeTab&&i.showCrop()},".jodit_image_editor_slider-title").on(i.widthInput,"change.jodit_image_editor mousedown.jodit_image_editor keydown.jodit_image_editor",l.debounce(function(){var e,t=parseInt(i.widthInput.value,10);i.options.min_width<t&&(l.css(i.image,"width",t+"px"),i.resizeUseRatio&&i.options.min_height<(e=Math.round(t/i.ratio))&&(l.css(i.image,"height",e+"px"),i.heightInput.value=""+e)),r.jodit.events.fire(i.resizeHandler,"updatesize")},200)).on(i.heightInput,"change.jodit_image_editor mousedown.jodit_image_editor keydown.jodit_image_editor",l.debounce(function(){if(!r.isDestructed){var e,t=parseInt(i.heightInput.value,10);i.options.min_height<t&&(l.css(i.image,"height",t+"px"),i.resizeUseRatio&&i.options.min_width<(e=Math.round(t*i.ratio))&&(l.css(i.image,"width",e+"px"),i.widthInput.value=""+e)),r.jodit.events.fire(i.resizeHandler,"updatesize")}},200));var e=i.editor.querySelector(".jodit_image_editor_keep_spect_ratio");e&&e.addEventListener("change",function(){i.resizeUseRatio=e.checked});var t=i.editor.querySelector(".jodit_image_editor_keep_spect_ratio_crop");t&&t.addEventListener("change",function(){i.cropUseRatio=t.checked}),i.jodit.events.on(i.resizeHandler,"updatesize",function(){l.css(i.resizeHandler,{top:0,left:0,width:(i.image.offsetWidth||i.naturalWidth)+"px",height:(i.image.offsetHeight||i.naturalHeight)+"px"}),r.updateResizeBox()}).on(i.cropHandler,"updatesize",function(){if(i.cropImage){var e=l.css(i.cropHandler,"left"),t=l.css(i.cropHandler,"top"),o=i.cropHandler.offsetWidth,n=i.cropHandler.offsetHeight;e<0&&(e=0),t<0&&(t=0),i.cropImage.offsetWidth<e+o&&(o=i.cropImage.offsetWidth-e,i.cropUseRatio&&(n=o/i.ratio)),i.cropImage.offsetHeight<t+n&&(n=i.cropImage.offsetHeight-t,i.cropUseRatio&&(o=n*i.ratio)),l.css(i.cropHandler,{width:o,height:n,left:e,top:t,backgroundPosition:-e-1+"px "+(-t-1)+"px",backgroundSize:i.cropImage.offsetWidth+"px "+i.cropImage.offsetHeight+"px"}),i.updateCropBox()}}),i.buttons.forEach(function(e){e.addEventListener("mousedown",function(e){e.stopImmediatePropagation()}),e.addEventListener("click",function(){var t={action:i.activeTab,box:"resize"===i.activeTab?i.resizeBox:i.cropBox};switch(e.getAttribute("data-action")){case"saveas":s.Promt(i.jodit.i18n("Enter new name"),i.jodit.i18n("Save in new file"),function(e){if(!l.trim(e))return s.Alert(i.jodit.i18n("The name should not be empty")),!1;i.onSave(e,t,i.hide,function(e){s.Alert(e.message)})});break;case"save":i.onSave(void 0,t,i.hide,function(e){s.Alert(e.message)});break;case"reset":"resize"===i.activeTab?(l.css(i.image,{width:null,height:null}),i.widthInput.value=""+i.naturalWidth,i.heightInput.value=""+i.naturalHeight,i.jodit.events.fire(i.resizeHandler,"updatesize")):i.showCrop()}})})},r.hide=function(){r.dialog.close()},r.open=function(n,i){return new Promise(function(e){var t=(new Date).getTime();r.image=r.jodit.create.element("img"),l.$$("img,.jodit_icon-loader",r.resize_box).forEach(d.Dom.safeRemove),l.$$("img,.jodit_icon-loader",r.crop_box).forEach(d.Dom.safeRemove),l.css(r.cropHandler,"background","transparent"),r.onSave=i,r.resize_box.appendChild(r.jodit.create.element("i",{class:"jodit_icon-loader"})),r.crop_box.appendChild(r.jodit.create.element("i",{class:"jodit_icon-loader"})),r.image.setAttribute("src",n+=/\?/.test(n)?"&_tst="+t:"?_tst="+t),r.dialog.open();var o=function(){r.isDestructed||(r.image.removeEventListener("load",o),r.naturalWidth=r.image.naturalWidth,r.naturalHeight=r.image.naturalHeight,r.widthInput.value=""+r.naturalWidth,r.heightInput.value=""+r.naturalHeight,r.ratio=r.naturalWidth/r.naturalHeight,r.resize_box.appendChild(r.image),r.cropImage=r.image.cloneNode(),r.crop_box.appendChild(r.cropImage),l.$$(".jodit_icon-loader",r.editor).forEach(d.Dom.safeRemove),"crop"===r.activeTab&&r.showCrop(),r.jodit.events.fire(r.resizeHandler,"updatesize"),r.jodit.events.fire(r.cropHandler,"updatesize"),r.dialog.setPosition(),r.jodit.events.fire("afterImageEditor"),e(r.dialog))};r.image.addEventListener("load",o),r.image.complete&&o()})},r.options=e&&e.options?e.options.imageeditor:a.Config.defaultOptions.imageeditor,r.resizeUseRatio=r.options.resizeUseRatio,r.cropUseRatio=r.options.cropUseRatio,r.buttons=[r.jodit.create.fromHTML('<button data-action="reset" type="button" class="jodit_btn">'+c.ToolbarIcon.getIcon("update")+" "+e.i18n("Reset")+"</button>"),r.jodit.create.fromHTML('<button data-action="save" type="button" class="jodit_btn jodit_btn_success">'+c.ToolbarIcon.getIcon("save")+" "+e.i18n("Save")+"</button>"),r.jodit.create.fromHTML('<button data-action="saveas" type="button" class="jodit_btn jodit_btn_success">'+c.ToolbarIcon.getIcon("save")+" "+e.i18n("Save as ...")+"</button>")],r.activeTab=r.options.resize?"resize":"crop",r.editor=r.jodit.create.fromHTML('<form class="jodit_image_editor jodit_properties"><div class="jodit_grid"><div class="jodit_col-lg-3-4">'+(r.options.resize?'<div class="jodit_image_editor_area jodit_image_editor_area_resize active"> <div class="jodit_image_editor_box"></div> <div class="jodit_image_editor_resizer"> <i class="jodit_bottomright"></i> </div> </div>':"")+(r.options.crop?'<div class="jodit_image_editor_area jodit_image_editor_area_crop'+(r.options.resize?"":" active")+'"> <div class="jodit_image_editor_box"> <div class="jodit_image_editor_croper"> <i class="jodit_bottomright"></i> <i class="jodit_sizes"></i> </div> </div> </div>':"")+'</div><div class="jodit_col-lg-1-4">'+(r.options.resize?'<div data-area="resize" class="jodit_image_editor_slider active"> <div class="jodit_image_editor_slider-title">'+c.ToolbarIcon.getIcon("resize")+e.i18n("Resize")+'</div> <div class="jodit_image_editor_slider-content"> <div class="jodit_form_group"> <label for="jodit_image_editor_width">'+e.i18n("Width")+'</label> <input type="number" class="jodit_image_editor_width"/> </div> <div class="jodit_form_group"> <label for="jodit_image_editor_height">'+e.i18n("Height")+'</label> <input type="number" class="jodit_image_editor_height"/> </div> <div class="jodit_form_group"> <label>'+e.i18n("Keep Aspect Ratio")+'</label> <div class="jodit_btn_group jodit_btn_radio_group"> <input '+(r.resizeUseRatio?"checked":"")+' type="checkbox" class="jodit_image_editor_keep_spect_ratio"/> <button type="button" data-yes="1" class="jodit_col6 jodit_btn jodit_btn_success '+(r.resizeUseRatio?"active":"")+'">'+e.i18n("Yes")+'</button> <button type="button" class="jodit_col6 jodit_btn'+(r.resizeUseRatio?"":"active")+'">'+e.i18n("No")+"</button> </div> </div> </div> </div>":"")+(r.options.crop?'<div data-area="crop" class="jodit_image_editor_slider'+(r.options.resize?"":" active")+'"> <div class="jodit_image_editor_slider-title">'+c.ToolbarIcon.getIcon("crop")+e.i18n("Crop")+'</div> <div class="jodit_image_editor_slider-content"> <div class="jodit_form_group"> <label>'+e.i18n("Keep Aspect Ratio")+'</label> <div class="jodit_btn_group jodit_btn_radio_group"> <input '+(r.cropUseRatio?"checked":"")+' type="checkbox" class="jodit_image_editor_keep_spect_ratio_crop"/> <button type="button" data-yes="1" class="jodit_col6 jodit_btn jodit_btn_success '+(r.cropUseRatio?"active":"")+'">'+e.i18n("Yes")+'</button> <button type="button" class="jodit_col6 jodit_btn '+(r.cropUseRatio?"":"active")+'">'+e.i18n("No")+"</button> </div> </div> </div> </div>":"")+"</div></div></form>"),r.widthInput=r.editor.querySelector(".jodit_image_editor_width"),r.heightInput=r.editor.querySelector(".jodit_image_editor_height"),r.resize_box=r.editor.querySelector(".jodit_image_editor_area.jodit_image_editor_area_resize .jodit_image_editor_box"),r.crop_box=r.editor.querySelector(".jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box"),r.sizes=r.editor.querySelector(".jodit_image_editor_area.jodit_image_editor_area_crop .jodit_sizes"),r.resizeHandler=r.editor.querySelector(".jodit_image_editor_resizer"),r.cropHandler=r.editor.querySelector(".jodit_image_editor_croper"),r.dialog=new s.Dialog(e),r.dialog.setContent(r.editor),r.dialog.setSize(r.options.width,r.options.height),r.dialog.setTitle(r.buttons),r.setHandlers(),r}return i(e,t),e.prototype.destruct=function(){this.isDestructed||(this.dialog&&(this.dialog.destruct(),delete this.dialog),d.Dom.safeRemove(this.editor),delete this.widthInput,delete this.heightInput,delete this.resize_box,delete this.crop_box,delete this.sizes,delete this.resizeHandler,delete this.cropHandler,delete this.editor,this.jodit.events&&this.jodit.events.off(".jodit_image_editor"),t.prototype.destruct.call(this))},e}(r.Component);t.ImageEditor=u},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),p=o(2),a=o(35),b=o(3),h=o(0),v=o(12),s=o(7);r.Config.prototype.enableDragAndDropFileToEditor=!0,r.Config.prototype.uploader={url:"",insertImageAsBase64URI:!1,imagesExtensions:["jpg","png","jpeg","gif"],headers:null,data:null,format:"json",prepareData:function(e){return e},isSuccess:function(e){return e.success},getMessage:function(e){return void 0!==e.data.messages&&Array.isArray(e.data.messages)?e.data.messages.join(" "):""},process:function(e){return e.data},error:function(e){this.jodit.events.fire("errorMessage",e.message,"error",4e3)},defaultHandlerSuccess:function(a){var s=this;a.files&&a.files.length&&a.files.forEach(function(e,t){var o=a.isImages&&a.isImages[t]?["img","src"]:["a","href"],n=o[0],i=o[1],r=s.jodit.create.inside.element(n);r.setAttribute(i,a.baseurl+e),"a"===n&&(r.innerText=a.baseurl+e),v.isJoditObject(s.jodit)&&("img"===n?s.jodit.selection.insertImage(r,null,s.jodit.options.imageDefaultWidth):s.jodit.selection.insertNode(r))})},defaultHandlerError:function(e){this.jodit.events.fire("errorMessage",e.message)},contentType:function(e){return(void 0===this.jodit.ownerWindow.FormData||"string"==typeof e)&&"application/x-www-form-urlencoded; charset=UTF-8"}};var l=function(n){function f(e,t){var o=n.call(this,e)||this;return o.path="",o.source="default",o.ajaxInstances=[],o.options=b.extend(!0,{},r.Config.defaultOptions.uploader,v.isJoditObject(e)?e.options.uploader:null,t),o}return i(f,n),f.dataURItoBlob=function(e){for(var t=atob(e.split(",")[1]),o=e.split(",")[0].split(":")[1].split(";")[0],n=new ArrayBuffer(t.length),i=new Uint8Array(n),r=0;r<t.length;r+=1)i[r]=t.charCodeAt(r);return new Blob([i],{type:o})},f.prototype.buildData=function(t){if(this.options.buildData&&"function"==typeof this.options.buildData)return this.options.buildData.call(this,t);if(void 0===this.jodit.ownerWindow.FormData)return t;if(t instanceof FormData)return t;if("string"==typeof t)return t;var o=new FormData;return Object.keys(t).forEach(function(e){o.append(e,t[e])}),o},f.prototype.send=function(e,n){var i=this,t=this.buildData(e),o=function(e){var t=new a.Ajax(i.jodit||i,{xhr:function(){var e=new XMLHttpRequest;return void 0!==i.jodit.ownerWindow.FormData&&e.upload?e.upload.addEventListener("progress",function(e){if(e.lengthComputable){var t=e.loaded/e.total;t*=100,i.jodit.progress_bar.style.display="block",i.jodit.progress_bar.style.width=t+"%",100===t&&(i.jodit.progress_bar.style.display="none")}},!1):i.jodit.progress_bar.style.display="none",e},method:"POST",data:e,url:i.options.url,headers:i.options.headers,queryBuild:i.options.queryBuild,contentType:i.options.contentType.call(i,e),dataType:i.options.format||"json"});i.ajaxInstances.push(t);var o=function(){var e=i.ajaxInstances.indexOf(t);-1!==e&&i.ajaxInstances.splice(e,1)};return t.send().then(function(e){o(),n.call(i,e)}).catch(function(e){o(),i.options.error.call(i,e)})};return t instanceof Promise?t.then(o).catch(function(e){i.options.error.call(i,e)}):o(t)},f.prototype.sendFiles=function(e,n,t,o){var i=this;if(!e)return Promise.reject(Error("Need files"));var r=this,a=Array.from(e);if(!a.length)return Promise.reject(Error("Need files"));var s=[];if(this.options.insertImageAsBase64URI){var l,c=void 0,d=function(){if((l=a[c])&&l.type){var e=l.type.match(/\/([a-z0-9]+)/i),t=e[1]?e[1].toLowerCase():"";if(-1!=u.options.imagesExtensions.indexOf(t)){var o=new FileReader;s.push(new Promise(function(t,e){o.onerror=e,o.onloadend=function(){var e={baseurl:"",files:[o.result],isImages:[!0]};"function"==typeof(n||r.options.defaultHandlerSuccess)&&(n||r.options.defaultHandlerSuccess).call(r,e),t(e)},o.readAsDataURL(l)})),a[c]=null}}},u=this;for(c=0;c<a.length;c+=1)d()}if((a=a.filter(function(e){return e})).length){var f=new FormData;f.append("path",r.path),f.append("source",r.source);var p=void 0;for(c=0;c<a.length;c+=1)if(p=a[c]){var h=p.type.match(/\/([a-z0-9]+)/i),v=h&&h[1]?h[1].toLowerCase():"",m=a[c].name||(""+Math.random()).replace(".","");if(v){var g=v;["jpeg","jpg"].includes(g)&&(g="jpeg|jpg"),RegExp(".("+g+")$","i").test(m)||(m+="."+v)}f.append("files["+c+"]",a[c],m)}o&&o(f),r.options.data&&b.isPlainObject(r.options.data)&&Object.keys(r.options.data).forEach(function(e){f.append(e,r.options.data[e])}),r.options.prepareData.call(this,f),s.push(r.send(f,function(e){i.options.isSuccess.call(r,e)?"function"==typeof(n||r.options.defaultHandlerSuccess)&&(n||r.options.defaultHandlerSuccess).call(r,r.options.process.call(r,e)):(t||r.options.defaultHandlerError).call(r,Error(r.options.getMessage.call(r,e)))}).then(function(){i.jodit.events&&i.jodit.events.fire("filesWereUploaded")}))}return Promise.all(s)},f.prototype.setPath=function(e){this.path=e},f.prototype.setSource=function(e){this.source=e},f.prototype.bind=function(t,l,c){var d=this,u=this,e=function(e){var t,o,n,i=function(e){o&&(e.append("extension",n),e.append("mimetype",o.type))};if(e.clipboardData&&e.clipboardData.files&&e.clipboardData.files.length)return d.sendFiles(e.clipboardData.files,l,c),!1;if(b.browser("ff")||p.IS_IE){if(e.clipboardData&&!e.clipboardData.types.length&&e.clipboardData.types[0]!==p.TEXT_PLAIN){var r=d.jodit.create.fromHTML('<div tabindex="-1" style="left: -9999px; top: 0; width: 0; height: 100%; line-height: 140%; overflow: hidden; position: fixed; z-index: 2147483647; word-break: break-all;" contenteditable="true"></div>');d.jodit.ownerDocument.body.appendChild(r);var a=d.jodit&&v.isJoditObject(d.jodit)?d.jodit.selection.save():null;r.focus(),setTimeout(function(){var e=r.firstChild;if(h.Dom.safeRemove(r),e&&e.hasAttribute("src")){var t=e.getAttribute("src")||"";a&&d.jodit&&v.isJoditObject(d.jodit)&&d.jodit.selection.restore(a),u.sendFiles([f.dataURItoBlob(t)],l,c)}},200)}}else if(e.clipboardData&&e.clipboardData.items&&e.clipboardData.items.length)for(t=0;t<e.clipboardData.items.length;t+=1)if("file"===e.clipboardData.items[t].kind&&"image/png"===e.clipboardData.items[t].type){if(o=e.clipboardData.items[t].getAsFile()){var s=o.type.match(/\/([a-z0-9]+)/i);n=s[1]?s[1].toLowerCase():"",d.sendFiles([o],l,c,i)}e.preventDefault();break}};this.jodit&&this.jodit.editor!==t?u.jodit.events.on(t,"paste",e):u.jodit.events.on("beforePaste",e);var o=function(e){return!(!e.dataTransfer||!e.dataTransfer.files||0===e.dataTransfer.files.length)};u.jodit.events.on(t,"dragend dragover dragenter dragleave drop",function(e){e.preventDefault()}).on(t,"dragover",function(e){o(e)&&(t.classList.contains("jodit_draghover")||t.classList.add("jodit_draghover"),e.preventDefault())}).on(t,"dragend",function(e){o(e)&&(t.classList.contains("jodit_draghover")&&t.classList.remove("jodit_draghover"),e.preventDefault())}).on(t,"drop",function(e){t.classList.remove("jodit_draghover"),o(e)&&e.dataTransfer&&e.dataTransfer.files&&(e.preventDefault(),e.stopImmediatePropagation(),d.sendFiles(e.dataTransfer.files,l,c))});var n=t.querySelector("input[type=file]");n&&u.jodit.events.on(n,"change",function(){u.sendFiles(this.files,l,c).then(function(){n.value="",/safari/i.test(navigator.userAgent)||(n.type="",n.type="file")})})},f.prototype.uploadRemoteImage=function(e,t,o){var n=this,i=this;i.send({action:"fileUploadRemote",url:e},function(e){if(i.options.isSuccess.call(i,e))"function"==typeof t?t.call(i,n.options.process.call(n,e)):n.options.defaultHandlerSuccess.call(i,n.options.process.call(n,e));else if("function"==typeof(o||i.options.defaultHandlerError))return void(o||n.options.defaultHandlerError).call(i,Error(i.options.getMessage.call(n,e)))})},f.prototype.destruct=function(){this.ajaxInstances.forEach(function(e){try{e.abort()}catch(e){}}),delete this.options,n.prototype.destruct.call(this)},f}(s.Component);t.Uploader=l},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(133);t.addNewLine=n.addNewLine;var i=o(134);t.autofocus=i.autofocus;var r=o(135);t.backspace=r.backspace;var a=o(136);t.bold=a.bold;var s=o(137);t.cleanHtml=s.cleanHtml;var l=o(138);t.color=l.color,o(139);var c=o(140);t.enter=c.enter;var d=o(141);t.errorMessages=d.errorMessages;var u=o(142);t.font=u.font;var f=o(143);t.formatBlock=f.formatBlock;var p=o(144);t.fullsize=p.fullsize;var h=o(145);t.iframe=h.iframe;var v=o(146);t.indent=v.indent;var m=o(147);t.imageProcessor=m.imageProcessor;var g=o(148);t.imageProperties=g.imageProperties;var b=o(149);t.inlinePopup=b.inlinePopup;var _=o(150);t.justify=_.justify;var y=o(151);t.link=y.link;var w=o(152);t.limit=w.limit;var j=o(153);t.media=j.media;var C=o(154);t.mobile=C.mobile;var E=o(155);t.orderedlist=E.orderedlist;var T=o(156);t.paste=T.paste;var x=o(157);t.placeholder=x.placeholder;var S=o(158);t.redoundo=S.redoundo;var k=o(159);t.resizer=k.resizer;var D=o(160);t.size=D.size;var L=o(161);t.source=L.source;var M=o(162);t.symbols=M.symbols;var q=o(163);t.hotkeys=q.hotkeys;var A=o(164);t.table=A.TableProcessor;var I=o(165);t.tableKeyboardNavigation=I.tableKeyboardNavigation;var z=o(166);t.search=z.search;var O=o(167);t.sticky=O.sticky;var P=o(168);t.stat=P.stat;var N=o(169);t.xpath=N.xpath;var R=o(170);t.DragAndDropElement=R.DragAndDropElement;var B=o(171);t.DragAndDrop=B.DragAndDrop;var H=o(172);t.pasteStorage=H.pasteStorage},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),v=o(0),r=o(4),m=o(23),g=o(5);n.Config.prototype.addNewLine=!0,n.Config.prototype.addNewLineOnDBLClick=!0,n.Config.prototype.addNewLineTagsTriggers=["table","iframe","img","hr","jodit"],t.addNewLine=function(a){if(a.options.addNewLine){var s,l,c=a.create.fromHTML('<div role="button" tabIndex="-1" title="'+a.i18n("Break")+'" class="jodit-add-new-line"><span>'+g.ToolbarIcon.getIcon("enter")+"</span></div>"),d=RegExp("^("+a.options.addNewLineTagsTriggers.join("|")+")$","i"),u=!1,f=!1,e=!1,i=function(){clearTimeout(s),e=!1,c.style.display="none",u=!0},p=function(e){return null!==e&&v.Dom.isBlock(e,a.editorWindow)&&!/^(img|table|iframe|hr)$/i.test(e.nodeName)},h=function(){u||e||(clearTimeout(s),s=r.setTimeout(i,500))};a.events.on("beforeDestruct",function(){v.Dom.safeRemove(c)}).on("afterInit",function(){a.container.appendChild(c),a.events.on(c,"mousemove",function(e){e.stopPropagation()}).on(c,"mousedown touchstart",function(e){var t=a.editorDocument.createElement(a.options.enter);f&&l&&l.parentNode?l.parentNode.insertBefore(t,l):a.editor.appendChild(t),a.selection.setCursorIn(t),a.events.fire("synchro"),i(),e.preventDefault()})}).on("afterInit",function(){a.events.on(a.editor,"scroll",function(){i()}).on(a.container,"mouseleave",h).on(c,"mouseenter",function(){clearTimeout(s),e=!0}).on(c,"mouseleave",function(){e=!1}).on(a.editor,"dblclick",function(e){if(!a.options.readonly&&a.options.addNewLineOnDBLClick&&e.target===a.editor&&a.selection.isCollapsed()){var t=m.offset(a.editor,a,a.editorDocument),o=e.pageY-a.editorWindow.pageYOffset,n=a.editorDocument.createElement(a.options.enter);Math.abs(o-t.top)<Math.abs(o-(t.height+t.top))&&a.editor.firstChild?a.editor.insertBefore(n,a.editor.firstChild):a.editor.appendChild(n),a.selection.setCursorIn(n),a.setEditorValue(),i(),e.preventDefault()}}).on(a.editor,"mousemove",r.debounce(function(e){var t=a.editorDocument.elementFromPoint(e.pageX-a.editorWindow.pageXOffset,e.pageY-a.editorWindow.pageYOffset);if((!t||!v.Dom.isOrContains(c,t))&&t&&v.Dom.isOrContains(a.editor,t))if(t&&t.nodeName.match(d)&&v.Dom.isOrContains(a.editor,t)||(t=v.Dom.closest(t,d,a.editor))){if(d.test(t.nodeName)){var o=v.Dom.up(t,function(e){return v.Dom.isBlock(e,a.editorWindow)},a.editor);o&&o!==a.editor&&(t=o)}var n=m.offset(a.editor,a,a.editorDocument),i=m.offset(t,a,a.editorDocument),r=!1;Math.abs(e.pageY-i.top)<10&&((r=i.top)-n.top<20||(r-=15),f=!0),Math.abs(e.pageY-(i.top+i.height))<10&&(n.top+n.height-(r=i.top+i.height)<25||(r+=15),f=!1),!1!==r&&(f&&!v.Dom.prev(t,p,a.editor)||!f&&!v.Dom.next(t,p,a.editor))?(c.style.top=r+"px",l=t,a.options.readonly||a.isLocked()||a.container.classList.contains("jodit_popup_active")||(clearTimeout(s),c.classList.toggle("jodit-add-new-line_after",!f),c.style.display="block",c.style.width=a.editor.clientWidth+"px",u=!1)):(l=!1,h())}else h()},a.defaultTimeout))})}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(0),r=o(4);n.Config.prototype.autofocus=!1,t.autofocus=function(t){var e;t.events.on("afterInit",function(){t.options.autofocus&&(t.defaultTimeout?e=r.setTimeout(t.selection.focus,300):t.selection.focus())}).on("mousedown",function(e){t.isEditorMode()&&e.target&&i.Dom.isBlock(e.target,t.editorWindow)&&!e.target.childNodes.length&&(t.editor===e.target?t.selection.focus():t.selection.setCursorIn(e.target))}).on("beforeDestruct",function(){clearTimeout(e)})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var y=o(2),n=o(2),w=o(0),j=o(3);t.backspace=function(m){var g=function(e){var t,o=e;j.normalizeNode(e);do{var n=o.innerHTML.replace(y.INVISIBLE_SPACE_REG_EXP,"");if(n.length&&"<br>"!==n||w.Dom.isCell(o,m.editorWindow)||!o.parentNode||e===m.editor)break;t=o.parentNode,w.Dom.safeRemove(o),o=t}while(o&&o!==m.editor)},c=function(e,t,o){if(e.node&&e.node.nodeType===Node.TEXT_NODE&&"string"==typeof e.node.nodeValue){for(var n=e.node.nodeValue,i=t?n.length:0,r=t?-1:1,a=i;0<=i&&i<=n.length&&n[i+(t?-1:0)]===y.INVISIBLE_SPACE;)i+=r;i!==a&&(t?n=n.substr(0,i)+n.substr(a):(n=n.substr(0,a)+n.substr(i),i=a),e.node.nodeValue=n),o.setStart(e.node,i),o.collapse(!0),m.selection.selectRange(o);var s=w.Dom.findInline(e.node,t,m.editor);if(n.length){var l=!1;if(t?i&&(l=!0):i<n.length&&(l=!0),l)return!0}else o.setStartBefore(e.node),o.collapse(!0),m.selection.selectRange(o),w.Dom.safeRemove(e.node),e.node=s;if(s&&(w.Dom.isInlineBlock(s)&&(s=t?s.lastChild:s.firstChild),s&&s.nodeType===Node.TEXT_NODE))return e.node=s,c(e,t,o)}},t=n.MAY_BE_REMOVED_WITH_KEY,r=function(e){if(e&&t.test(e.nodeName))return w.Dom.safeRemove(e),!1},b=function(e,t,o){if(e.node){var n=e.node;if(void 0!==c(e,t,o))return!0;if(e.node||(e.node=n.parentNode),e.node===m.editor)return!1;var i=e.node;if(!1===r(i))return!1;for(i&&(i=t?i.previousSibling:i.nextSibling);i&&i.nodeType===Node.TEXT_NODE&&i.nodeValue&&i.nodeValue.match(/^[\n\r]+$/);)i=t?i.previousSibling:i.nextSibling;return r(i)}},_=function(e){return!(null!==e.nodeName.match(/^(TD|TH|TR|TABLE|LI)$/)||!w.Dom.isEmpty(e)&&null===e.nodeName.match(t)&&(e.nodeType===Node.TEXT_NODE&&!w.Dom.isEmptyTextNode(e)||e.childNodes.length&&!Array.from(e.childNodes).every(_)))};m.events.on("afterCommand",function(e){if("delete"===e){var t=m.selection.current();if(t&&t.firstChild&&"BR"===t.firstChild.nodeName&&w.Dom.safeRemove(t.firstChild),!(j.trim(m.editor.innerText)||m.editor.querySelector("img")||t&&w.Dom.closest(t,"table",m.editor))){m.editor.innerHTML="";var o=m.selection.setCursorIn(m.editor);w.Dom.safeRemove(o)}}}).on("keydown",function(e){if(e.which===y.KEY_BACKSPACE||e.which===y.KEY_DELETE){var t=e.which===y.KEY_BACKSPACE;if(m.selection.isFocused()||m.selection.focus(),!m.selection.isCollapsed())return m.execCommand("Delete"),!1;var o=m.editorWindow.getSelection(),n=!!o.rangeCount&&o.getRangeAt(0);if(!n)return!1;var i=m.ownerDocument.createTextNode(y.INVISIBLE_SPACE),r=m.editorDocument.createElement("span");try{if(n.insertNode(i),!w.Dom.isOrContains(m.editor,i))return!1;var a=w.Dom.up(i,function(e){return w.Dom.isBlock(e,m.editorWindow)},m.editor),s=w.Dom.findInline(i,t,m.editor),l={node:s},c=void 0;if(s?c=b(l,t,n):i.parentNode&&(c=b({node:t?i.parentNode.previousSibling:i.parentNode.nextSibling},t,n)),void 0!==c)return!!c&&void 0;if(a&&a.nodeName.match(/^(TD)$/))return!1;var d=t?w.Dom.prev(l.node||i,function(e){return w.Dom.isBlock(e,m.editorWindow)},m.editor):w.Dom.next(l.node||i,function(e){return w.Dom.isBlock(e,m.editorWindow)},m.editor);if(!d&&a&&a.parentNode){d=m.create.inside.element(m.options.enter);for(var u=a;u&&u.parentNode&&u.parentNode!==m.editor;)u=u.parentNode;u.parentNode&&u.parentNode.insertBefore(d,u)}else if(d&&_(d))return w.Dom.safeRemove(d),!1;if(d){var f=m.selection.setCursorIn(d,!t);m.selection.insertNode(r,!1,!1),f.nodeType===Node.TEXT_NODE&&f.nodeValue===y.INVISIBLE_SPACE&&w.Dom.safeRemove(f)}if(a){if(g(a),d&&a.parentNode&&(a.nodeName===d.nodeName&&a.parentNode&&d.parentNode&&a.parentNode!==m.editor&&d.parentNode!==m.editor&&a.parentNode!==d.parentNode&&a.parentNode.nodeName===d.parentNode.nodeName&&(a=a.parentNode,d=d.parentNode),w.Dom.moveContent(a,d,!t),j.normalizeNode(d)),d&&"LI"===d.nodeName){var p=w.Dom.closest(d,"Ul|OL",m.editor);if(p){var h=p.nextSibling;h&&h.nodeName===p.nodeName&&p!==h&&(w.Dom.moveContent(h,p,!t),w.Dom.safeRemove(h))}}return g(a),!1}}finally{if(i.parentNode&&i.nodeValue===y.INVISIBLE_SPACE){var v=i.parentNode;w.Dom.safeRemove(i),!v.firstChild&&v.parentNode&&v!==m.editor&&w.Dom.safeRemove(v)}r&&w.Dom.isOrContains(m.editor,r,!0)&&(f=m.selection.setCursorBefore(r),w.Dom.safeRemove(r),f&&f.parentNode&&(w.Dom.findInline(f,!0,f.parentNode)||w.Dom.findInline(f,!0,f.parentNode))&&w.Dom.safeRemove(f)),m.setEditorValue()}return!1}})}},function(e,t,o){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var i in t=arguments[o])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=o(1);a.Config.prototype.controls.subscript={tags:["sub"],tooltip:"subscript"},a.Config.prototype.controls.superscript={tags:["sup"],tooltip:"superscript"},a.Config.prototype.controls.bold={tagRegExp:/^(strong|b)$/i,tags:["strong","b"],css:{"font-weight":["bold","700"]},tooltip:"Bold"},a.Config.prototype.controls.italic={tagRegExp:/^(em|i)$/i,tags:["em","i"],css:{"font-style":"italic"},tooltip:"Italic"},a.Config.prototype.controls.underline={tagRegExp:/^(u)$/i,tags:["u"],css:{"text-decoration":"underline"},tooltip:"Underline"},a.Config.prototype.controls.strikethrough={tagRegExp:/^(s)$/i,tags:["s"],css:{"text-decoration":"line-through"},tooltip:"Strike through"},t.bold=function(i){var e=function(e){var t=a.Config.defaultOptions.controls[e],o=r({},t.css),n={};return Object.keys(o).forEach(function(e){n[e]=Array.isArray(o[e])?o[e][0]:o[e]}),i.selection.applyCSS(n,t.tags?t.tags[0]:void 0,t.css),i.events.fire("synchro"),!1};i.registerCommand("bold",{exec:e,hotkeys:["ctrl+b","cmd+b"]}).registerCommand("italic",{exec:e,hotkeys:["ctrl+i","cmd+i"]}).registerCommand("underline",{exec:e,hotkeys:["ctrl+u","cmd+u"]}).registerCommand("strikethrough",{exec:e})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),l=o(2),v=o(2),m=o(0),g=o(3);n.Config.prototype.cleanHTML={timeout:300,removeEmptyElements:!0,fillEmptyParagraph:!0,replaceNBSP:!0,cleanOnPaste:!0,replaceOldTags:{i:"em",b:"strong"},allowTags:!1,denyTags:!1},n.Config.prototype.controls.eraser={command:"removeFormat",tooltip:"Clear Formatting"},t.cleanHtml=function(d){d.options.cleanHTML.cleanOnPaste&&d.events.on("processPaste",function(e,t){return g.cleanFromWord(t)});var u,r=/([^\[]*)\[([^\]]+)]/,a=/[\s]*,[\s]*/,s=/^(.*)[\s]*=[\s]*(.*)$/,e=function(t){var i={};return"string"==typeof t?(t.split(a).map(function(e){e=g.trim(e);var t=r.exec(e),o={};if(t){var n=t[2].split(a);t[1]&&(n.forEach(function(e){e=g.trim(e);var t=s.exec(e);t?o[t[1]]=t[2]:o[e]=!0}),i[t[1].toUpperCase()]=o)}else i[e.toUpperCase()]=!0}),i):!!t&&(Object.keys(t).forEach(function(e){i[e.toUpperCase()]=t[e]}),i)},f=e(d.options.cleanHTML.allowTags),p=e(d.options.cleanHTML.denyTags),h=function(e,t){void 0===t&&(t=!1);for(var o=t?e.nextSibling:e.previousSibling;o;){if(o.nodeType===Node.ELEMENT_NODE||!m.Dom.isEmptyTextNode(o))return!0;o=t?o.nextSibling:o.previousSibling}return!1};d.events.on("change afterSetMode afterInit mousedown keydown",g.debounce(function(){if(!d.isDestructed&&d.isEditorMode()&&d.selection){u=d.selection.current();var e=null,r=!1,a=0,s=[],t=d.options.cleanHTML.replaceOldTags;if(t&&u){var o=Object.keys(t).join("|");if(d.selection.isCollapsed()){var n=m.Dom.closest(u,o,d.editor);if(n){var i=d.selection.save(),l=t[n.nodeName.toLowerCase()]||t[n.nodeName];m.Dom.replace(n,l,!0,!1,d.editorDocument),d.selection.restore(i)}}}var c=function(t){if(t){if((i=t).nodeType!==Node.TEXT_NODE&&(f&&!f[i.nodeName]||p&&p[i.nodeName])||u&&"BR"===i.nodeName&&h(i)&&!h(i,!0)&&m.Dom.up(i,function(e){return m.Dom.isBlock(e,d.editorWindow)},d.editor)!==m.Dom.up(u,function(e){return m.Dom.isBlock(e,d.editorWindow)},d.editor)||d.options.cleanHTML.removeEmptyElements&&!1!==u&&i.nodeType===Node.ELEMENT_NODE&&null!==i.nodeName.match(v.IS_INLINE)&&!d.selection.isMarker(i)&&0===g.trim(i.innerHTML).length&&!m.Dom.isOrContains(i,u))return s.push(t),c(t.nextSibling);if(d.options.cleanHTML.fillEmptyParagraph&&m.Dom.isBlock(t,d.editorWindow)&&m.Dom.isEmpty(t,/^(img|svg|canvas|input|textarea|form|br)$/)){var e=d.create.inside.element("br");t.appendChild(e)}if(f&&!0!==f[t.nodeName]){var o=t.attributes;if(o&&o.length){var n=[];for(a=0;a<o.length;a+=1)(!f[t.nodeName][o[a].name]||!0!==f[t.nodeName][o[a].name]&&f[t.nodeName][o[a].name]!==o[a].value)&&n.push(o[a].name);n.length&&(r=!0),n.forEach(function(e){t.removeAttribute(e)})}}c(t.firstChild),c(t.nextSibling)}var i};d.editor.firstChild&&(e=d.editor.firstChild),c(e),s.forEach(m.Dom.safeRemove),(s.length||r)&&d.events&&d.events.fire("syncho")}},d.options.cleanHTML.timeout)).on("keyup",function(){if(!d.options.readonly){var t=d.selection.current();if(t){var e=m.Dom.up(t,function(e){return m.Dom.isBlock(e,d.editorWindow)},d.editor);e&&m.Dom.all(e,function(e){e&&e.nodeType===Node.TEXT_NODE&&null!==e.nodeValue&&l.INVISIBLE_SPACE_REG_EXP.test(e.nodeValue)&&0!==e.nodeValue.replace(l.INVISIBLE_SPACE_REG_EXP,"").length&&(e.nodeValue=e.nodeValue.replace(l.INVISIBLE_SPACE_REG_EXP,""),e===t&&d.selection.isCollapsed()&&d.selection.setCursorAfter(e))})}}}).on("afterCommand",function(e){var t,o,n=d.selection;switch(e.toLowerCase()){case"inserthorizontalrule":(t=d.editor.querySelector("hr[id=null]"))&&((o=m.Dom.next(t,function(e){return m.Dom.isBlock(e,d.editorWindow)},d.editor,!1))||(o=d.create.inside.element(d.options.enter))&&m.Dom.after(t,o),n.setCursorIn(o));break;case"removeformat":o=n.current();var i=function(t){switch(t.nodeType){case Node.ELEMENT_NODE:m.Dom.each(t,i),"FONT"===t.nodeName?m.Dom.unwrap(t):([].slice.call(t.attributes).forEach(function(e){-1==["src","href","rel","content"].indexOf(e.name.toLowerCase())&&t.removeAttribute(e.name)}),g.normalizeNode(t));break;case Node.TEXT_NODE:d.options.cleanHTML.replaceNBSP&&t.nodeType===Node.TEXT_NODE&&null!==t.nodeValue&&t.nodeValue.match(l.SPACE_REG_EXP)&&(t.nodeValue=t.nodeValue.replace(l.SPACE_REG_EXP," "));break;default:m.Dom.safeRemove(t)}};if(n.isCollapsed())for(;o&&o.nodeType!==Node.ELEMENT_NODE&&o!==d.editor;)i(o),o&&(o=o.parentNode);else d.selection.eachSelection(function(e){i(e)})}})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(14),c=i.Widget.TabsWidget,d=i.Widget.ColorPickerWidget,u=o(0),f=o(3);n.Config.prototype.controls.brush={isActive:function(t,e,o){if(!o)return!0;var n=t.selection.current(),i=o.container.querySelector("svg");if(n){var r=u.Dom.closest(n,function(e){return u.Dom.isBlock(e,t.editorWindow)||e&&u.Dom.isNode(e,t.editorWindow)&&e.nodeType===Node.ELEMENT_NODE},t.editor)||t.editor,a=""+f.css(r,"color"),s=""+f.css(r,"background-color");if(a!==""+f.css(t.editor,"color"))return i&&(i.style.fill=a),!0;if(s!==""+f.css(t.editor,"background-color"))return i&&(i.style.fill=s),!0}return i&&i.style.fill&&(i.style.fill=null),!1},popup:function(t,e,o,n){var i="",r="",a=null;e&&e!==t.editor&&u.Dom.isNode(e,t.editorWindow)&&e.nodeType===Node.ELEMENT_NODE&&(i=""+f.css(e,"color"),r=""+f.css(e,"background-color"),a=e);var s=d(t,function(e){a?a.style.backgroundColor=e:t.execCommand("background",!1,e),n()},r),l=d(t,function(e){a?a.style.color=e:t.execCommand("forecolor",!1,e),n()},i);return c(t,"background"===t.options.colorPickerDefaultTab?{Background:s,Text:l}:{Text:l,Background:s},a)},tooltip:"Fill color or set the text color"},t.color=function(i){var e=function(e,t,o){var n=f.normalizeColor(o);switch(e){case"background":i.selection.applyCSS({backgroundColor:n||""});break;case"forecolor":i.selection.applyCSS({color:n||""})}return i.setEditorValue(),!1};i.registerCommand("forecolor",e).registerCommand("background",e)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),d=o(0),u=o(3),f="copyformat",p=["fontWeight","fontStyle","fontSize","color","margin","padding","borderWidth","borderStyle","borderColor","borderRadius","backgroundColor","textDecorationLine","fontFamily"],h=function(e,t,o,n){var i=u.css(o,t);return i===n[t]&&(i=o.parentNode&&o!==e.editor&&o.parentNode!==e.editor?h(e,t,o.parentNode,n):void 0),i};n.Config.prototype.controls.copyformat={exec:function(t,e){if(e)if(t.buffer[f])t.buffer[f]=!1,t.events.off(t.editor,"mouseup."+f);else{var o={},n=d.Dom.up(e,function(e){return e&&e.nodeType!==Node.TEXT_NODE},t.editor)||t.editor,i=t.create.inside.span();t.editor.appendChild(i),p.forEach(function(e){o[e]=u.css(i,e)}),i!==t.editor&&d.Dom.safeRemove(i);var r=(a=t,l=o,c={},(s=n)&&p.forEach(function(e){c[e]=h(a,e,s,l),e.match(/border(Style|Color)/)&&!c.borderWidth&&(c[e]=void 0)}),c);t.events.on(t.editor,"mouseup."+f,function(){t.buffer[f]=!1;var e=t.selection.current();e&&("IMG"===e.nodeName?u.css(e,r):t.selection.applyCSS(r)),t.events.off(t.editor,"mouseup."+f)}),t.buffer[f]=!0}var a,s,l,c},isActive:function(e){return!!e.buffer[f]},tooltip:"Paint format"}},function(e,g,t){"use strict";Object.defineProperty(g,"__esModule",{value:!0});var b=t(2),_=t(0),y=t(3);g.insertParagraph=function(e,t,o,n){var i=e.create.inside.element(o),r=e.create.inside.element("br");i.appendChild(r),n&&n.cssText&&i.setAttribute("style",n.cssText),e.selection.insertNode(i,!1,!1),e.selection.setCursorBefore(r);var a=e.editorDocument.createRange();return a.setStartBefore("br"!==o.toLowerCase()?r:i),a.collapse(!0),e.selection.selectRange(a),_.Dom.safeRemove(t),y.scrollIntoView(i,e.editor,e.editorDocument),e.events&&e.events.fire("synchro"),i},g.enter=function(m){m.options.enterBlock||(m.options.enterBlock="br"===m.options.enter.toLowerCase()?b.PARAGRAPH:m.options.enter.toLowerCase()),m.events.on("keydown",function(e){if(e.which===b.KEY_ENTER){var t=m.events.fire("beforeEnter",e);if(void 0!==t)return t;m.selection.isCollapsed()||m.execCommand("Delete"),m.selection.focus();var o=m.selection.current(!1),n=m.editorWindow.getSelection(),i=n.rangeCount?n.getRangeAt(0):m.editorDocument.createRange();o&&o!==m.editor||(m.selection.current(),o=m.create.inside.text(b.INVISIBLE_SPACE),n.rangeCount?i.insertNode(o):m.editor.appendChild(o),i.selectNode(o),i.collapse(!1),n.removeAllRanges(),n.addRange(i));var r=!!o&&_.Dom.up(o,function(e){return _.Dom.isBlock(e,m.editorWindow)},m.editor),a=r&&"LI"===r.nodeName;if(!a&&(m.options.enter.toLowerCase()===b.BR.toLowerCase()||e.shiftKey||_.Dom.closest(o,"PRE|BLOCKQUOTE",m.editor))){var s=m.create.inside.element("br");return m.selection.insertNode(s,!0),y.scrollIntoView(s,m.editor,m.editorDocument),!1}if(!r&&o&&!_.Dom.prev(o,function(e){return _.Dom.isBlock(e,m.editorWindow)||!!e&&_.Dom.isImage(e,m.editorWindow)},m.editor)){var l=o;if(_.Dom.up(l,function(e){e&&e.hasChildNodes()&&e!==m.editor&&(l=e)},m.editor),r=_.Dom.wrapInline(l,m.options.enter,m),_.Dom.isEmpty(r)){var c=m.editorDocument.createElement("br");r.appendChild(c),m.selection.setCursorBefore(c)}i=n.rangeCount?n.getRangeAt(0):m.editorDocument.createRange()}var d=!1,u=!1;if(r){if(!_.Dom.canSplitBlock(r,m.editorWindow))return s=m.create.inside.element("br"),m.selection.insertNode(s,!1),m.selection.setCursorAfter(s),!1;if(a&&_.Dom.isEmpty(r)){var f=!1,p=_.Dom.closest(r,"ol|ul",m.editor);if(_.Dom.prev(r,function(e){return e&&"LI"===e.nodeName},p))if(_.Dom.next(r,function(e){return e&&"LI"===e.nodeName},p)){(v=m.editorDocument.createRange()).setStartBefore(p),v.setEndAfter(r);var h=v.extractContents();p.parentNode&&p.parentNode.insertBefore(h,p),f=m.selection.setCursorBefore(p)}else f=m.selection.setCursorAfter(p);else f=m.selection.setCursorBefore(p);return _.Dom.safeRemove(r),g.insertParagraph(m,f,m.options.enter),y.$$("li",p).length||_.Dom.safeRemove(p),!1}if(m.selection.cursorInTheEdge(!0,r))return d=m.selection.setCursorBefore(r),g.insertParagraph(m,d,a?"li":m.options.enter,r.style),r&&m.selection.setCursorIn(r,!0),!1;var v;!1===m.selection.cursorInTheEdge(!1,r)?((v=m.editorDocument.createRange()).setStartBefore(r),v.setEnd(i.startContainer,i.startOffset),h=v.extractContents(),r.parentNode&&r.parentNode.insertBefore(h,r),m.selection.setCursorIn(r,!0)):d=m.selection.setCursorAfter(r)}else u=!0;return(u||d)&&g.insertParagraph(m,d,a?"li":m.options.enter,r?r.style:void 0),!1}})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),s=o(0),l=o(4),c=o(3);n.Config.prototype.showMessageErrors=!0,n.Config.prototype.showMessageErrorTime=3e3,n.Config.prototype.showMessageErrorOffsetPx=3,t.errorMessages=function(i){if(i.options.showMessageErrors){var t,r=i.create.div("jodit_error_box_for_messages"),a=function(){t=5,Array.from(r.childNodes).forEach(function(e){c.css(r,"bottom",t+"px"),t+=e.offsetWidth+i.options.showMessageErrorOffsetPx})};i.workplace.appendChild(r),i.events.on("beforeDestruct",function(){s.Dom.safeRemove(r)}).on("errorMessage",function(e,t,o){var n=i.create.div("active "+(t||""),e);r.appendChild(n),a(),l.setTimeout(function(){n.classList.remove("active"),l.setTimeout(function(){s.Dom.safeRemove(n),a()},300)},o||i.options.showMessageErrorTime)})}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),a=o(0),s=o(3);n.Config.prototype.controls.fontsize={command:"fontSize",list:["8","9","10","11","12","14","16","18","24","30","36","48","60","72","96"],template:function(e,t,o){return o},tooltip:"Font size",isActiveChild:function(t,e){var o=t.selection.current();if(o){var n=a.Dom.closest(o,function(e){return a.Dom.isBlock(e,t.editorWindow)||e&&a.Dom.isNode(e,t.editorWindow)&&e.nodeType===Node.ELEMENT_NODE},t.editor)||t.editor,i=s.css(n,"font-size");return!(!i||!e.args||""+e.args[1]!=""+i)}return!1},isActive:function(t){var e=t.selection.current();if(e){var o=a.Dom.closest(e,function(e){return a.Dom.isBlock(e,t.editorWindow)||e&&a.Dom.isNode(e,t.editorWindow)&&e.nodeType===Node.ELEMENT_NODE},t.editor)||t.editor;return""+s.css(o,"font-size")!=""+s.css(t.editor,"font-size")}return!1}},n.Config.prototype.controls.font={command:"fontname",exec:function(e,t,o){e.execCommand(o.command,!1,o.args?o.args[0]:void 0)},list:{"Helvetica,sans-serif":"Helvetica","Arial,Helvetica,sans-serif":"Arial","Georgia,serif":"Georgia","Impact,Charcoal,sans-serif":"Impact","Tahoma,Geneva,sans-serif":"Tahoma","'Times New Roman',Times,serif":"Times New Roman","Verdana,Geneva,sans-serif":"Verdana"},template:function(e,t,o){return'<span style="font-family: '+t+'">'+o+"</span>"},isActiveChild:function(t,e){var o=t.selection.current(),n=function(e){return e.toLowerCase().replace(/['"]+/g,"").replace(/[^a-z0-9]+/g,",")};if(o){var i=a.Dom.closest(o,function(e){return a.Dom.isBlock(e,t.editorWindow)||e&&a.Dom.isNode(e,t.editorWindow)&&e.nodeType===Node.ELEMENT_NODE},t.editor)||t.editor,r=""+s.css(i,"font-family");return!(!r||!e.args||n(""+e.args[0])!==n(r))}return!1},isActive:function(t){var e=t.selection.current();if(e){var o=a.Dom.closest(e,function(e){return a.Dom.isBlock(e,t.editorWindow)||a.Dom.isNode(e,t.editorWindow)&&e&&e.nodeType===Node.ELEMENT_NODE},t.editor)||t.editor;return""+s.css(o,"font-family")!=""+s.css(t.editor,"font-family")}return!1},tooltip:"Font family"},t.font=function(n){var e=function(e,t,o){switch(e){case"fontsize":n.selection.applyCSS({fontSize:s.normalizeSize(o)});break;case"fontname":n.selection.applyCSS({fontFamily:o})}return n.events.fire("synchro"),!1};n.registerCommand("fontsize",e).registerCommand("fontname",e)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),a=o(2),s=o(0);n.Config.prototype.controls.paragraph={command:"formatBlock",getLabel:function(t,e,o){var n=t.selection.current();if(n&&t.options.textIcons){var i=(s.Dom.closest(n,function(e){return s.Dom.isBlock(e,t.editorWindow)},t.editor)||t.editor).nodeName.toLowerCase();o&&e.data&&e.data.currentValue!==i&&e.list&&e.list[i]&&(o.textBox.innerHTML="<span>"+e.list[i]+"</span>",o.textBox.firstChild.classList.add("jodit_icon"),e.data.currentValue=i)}return!1},exec:function(e,t,o){e.execCommand(o.command,!1,o.args?o.args[0]:void 0)},data:{currentValue:"left"},list:{p:"Normal",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",blockquote:"Quote"},isActiveChild:function(t,e){var o=t.selection.current();if(o){var n=s.Dom.closest(o,function(e){return s.Dom.isBlock(e,t.editorWindow)},t.editor);return n&&n!==t.editor&&void 0!==e.args&&n.nodeName.toLowerCase()===e.args[0]}return!1},isActive:function(t,e){var o=t.selection.current();if(o){var n=s.Dom.closest(o,function(e){return s.Dom.isBlock(e,t.editorWindow)},t.editor);return n&&n!==t.editor&&void 0!==e.list&&"p"!==n.nodeName.toLowerCase()&&void 0!==e.list[n.nodeName.toLowerCase()]}return!1},template:function(e,t,o){return"<"+t+' class="jodit_list_element"><span>'+e.i18n(o)+"</span></"+t+"></li>"},tooltip:"Insert format block"},t.formatBlock=function(r){r.registerCommand("formatblock",function(e,t,n){r.selection.focus();var i=!1;if(r.selection.eachSelection(function(e){var t=r.selection.save(),o=!!e&&s.Dom.up(e,function(e){return s.Dom.isBlock(e,r.editorWindow)},r.editor);o&&"LI"!==o.nodeName||!e||(o=s.Dom.wrapInline(e,r.options.enter,r)),o&&(o.tagName.match(/TD|TH|TBODY|TABLE|THEAD/i)?r.selection.isCollapsed()?s.Dom.wrapInline(e,n,r):r.selection.applyCSS({},n):n===r.options.enterBlock.toLowerCase()&&o.parentNode&&"LI"===o.parentNode.nodeName?s.Dom.unwrap(o):s.Dom.replace(o,n,!0,!1,r.editorDocument),i=!0),r.selection.restore(t)}),!i){var o=r.editorDocument.createElement(n);o.innerHTML=a.INVISIBLE_SPACE,r.selection.insertNode(o,!1),r.selection.setCursorIn(o)}return r.setEditorValue(),!1})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(2),s=o(3),r=o(5);n.Config.prototype.fullsize=!1,n.Config.prototype.globalFullsize=!0,n.Config.prototype.controls.fullsize={exec:function(e){e.toggleFullSize()},isActive:function(e){return e.isFullSize()},getLabel:function(e,t,o){var n=e.isFullSize()?"shrink":"fullsize";o&&(o.textBox.innerHTML=e.options.textIcons?"<span>"+e.i18n(n)+"</span>":r.ToolbarIcon.getIcon(n),o.textBox.firstChild.classList.add("jodit_icon"))},tooltip:"Open editor in fullsize",mode:i.MODE_SOURCE+i.MODE_WYSIWYG},t.fullsize=function(o){var n=!1,e=0,t=0,i=!1,r=function(){o.events&&(n?(e=s.css(o.container,"height"),t=s.css(o.container,"width"),s.css(o.container,{height:o.ownerWindow.innerHeight,width:o.ownerWindow.innerWidth}),i=!0):i&&s.css(o.container,{height:e||"auto",width:t||"auto"}))},a=function(e){if(o.container){if(void 0===e&&(e=!o.container.classList.contains("jodit_fullsize")),o.options.fullsize=!!e,o.container.classList.toggle("jodit_fullsize",n=e),o.toolbar&&s.css(o.toolbar.container,"width","auto"),o.options.globalFullsize){for(var t=o.container.parentNode;t&&!(t instanceof Document);)t.classList.toggle("jodit_fullsize_box",e),t=t.parentNode;r()}o.events.fire("afterResize")}};o.options.globalFullsize&&o.events.on(o.ownerWindow,"resize",r),o.events.on("afterInit afterOpen",function(){o.toggleFullSize(o.options.fullsize)}).on("toggleFullSize",a).on("beforeDestruct beforeClose",function(){a(!1)}).on("beforeDestruct",function(){o.events&&o.events.off(o.ownerWindow,"resize",r)})}},function(e,t,o){"use strict";var n=this&&this.__awaiter||function(r,a,s,l){return new(s||(s=Promise))(function(e,t){function o(e){try{i(l.next(e))}catch(e){t(e)}}function n(e){try{i(l.throw(e))}catch(e){t(e)}}function i(t){t.done?e(t.value):new s(function(e){e(t.value)}).then(o,n)}i((l=l.apply(r,a||[])).next())})},r=this&&this.__generator||function(o,n){var i,r,a,e,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return e={next:t(0),throw:t(1),return:t(2)},"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function(t){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,r&&(a=2&t[0]?r.return:t[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,t[1])).done)return a;switch(r=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,r=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(!(a=0<(a=s.trys).length&&a[a.length-1])&&(6===t[0]||2===t[0])){s=0;continue}if(3===t[0]&&(!a||a[0]<t[1]&&t[1]<a[3])){s.label=t[1];break}if(6===t[0]&&s.label<a[1]){s.label=a[1],a=t;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(t);break}a[2]&&s.ops.pop(),s.trys.pop();continue}t=n.call(o,s)}catch(e){t=[6,e],r=0}finally{i=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}};Object.defineProperty(t,"__esModule",{value:!0});var i=o(1),a=o(52),s=o(4),l=o(8);i.Config.prototype.iframeBaseUrl="",i.Config.prototype.iframeDefaultSrc="about:blank",i.Config.prototype.iframeStyle='html{margin: 0px;min-height: 100%;}body{box-sizing: border-box;font-size: 13px; line-height: 1.6;padding:10px;background:transparent;color:#000;position:relative;z-index: 2;user-select:auto;margin:0px;overflow:auto;}table{width:100%;border: none;border-collapse:collapse;empty-cells: show;max-width: 100%;}th,td{padding: 2px 5px;border:1px solid #ccc;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}td[data-jodit-selected-cell],th[data-jodit-selected-cell]{border: 1px double #1e88e5}p{margin-top:0;}.jodit_editor .jodit_iframe_wrapper{display: block;clear: both;user-select: none;position: relative;}.jodit_editor .jodit_iframe_wrapper:after {position:absolute;content:"";z-index:1;top:0;left:0;right: 0;bottom: 0;cursor: pointer;display: block;background: rgba(0, 0, 0, 0);} .jodit_disabled{user-select: none;-o-user-select: none;-moz-user-select: none;-khtml-user-select: none;-webkit-user-select: none;-ms-user-select: none}',i.Config.prototype.iframeCSSLinks=[],t.iframe=function(i){var e=this;i.events.on("afterSetMode",function(){i.isEditorMode()&&i.selection.focus()}).on("generateDocumentStructure.iframe",function(e,t){var o=e||t.iframe.contentWindow.document;if(o.open(),o.write('<!DOCTYPE html><html dir="'+t.options.direction+'" class="jodit" lang="'+a.defaultLanguage(t.options.language)+'"><head><title>Jodit Editor</title>'+(t.options.iframeBaseUrl?'<base href="'+t.options.iframeBaseUrl+'"/>':"")+'</head><body class="jodit_wysiwyg" style="outline:none" contenteditable="true"></body></html>'),o.close(),t.options.iframeCSSLinks&&t.options.iframeCSSLinks.forEach(function(e){var t=o.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),o.head&&o.head.appendChild(t)}),t.options.iframeStyle){var n=o.createElement("style");n.innerHTML=t.options.iframeStyle,o.head&&o.head.appendChild(n)}}).on("createEditor",function(){return n(e,void 0,void 0,function(){var o,n;return r(this,function(e){switch(e.label){case 0:return i.options.iframe?(delete i.editor,i.iframe=i.ownerDocument.createElement("iframe"),i.iframe.style.display="block",i.iframe.src="about:blank",i.iframe.className="jodit_wysiwyg_iframe",i.iframe.setAttribute("allowtransparency","true"),i.iframe.setAttribute("tabindex","0"),i.iframe.setAttribute("frameborder","0"),i.workplace.appendChild(i.iframe),[4,i.events.fire("generateDocumentStructure.iframe",null,i)]):[2];case 1:return e.sent(),i.editorDocument=o=i.iframe.contentWindow.document,i.editorWindow=i.iframe.contentWindow,i.create.inside.setDocument(o),i.editor=o.body,"auto"===i.options.height&&(o.documentElement&&(o.documentElement.style.overflowY="hidden"),n=s.throttle(function(){i.editor&&i.iframe&&"auto"===i.options.height&&l.css(i.iframe,"height",i.editor.offsetHeight)},i.defaultTimeout/2),i.events.on("change afterInit afterSetMode resize",n).on([i.iframe,i.editorWindow,o.documentElement],"load",n).on(o,"readystatechange DOMContentLoaded",n)),(t=i.editorWindow.Element.prototype).matches||(t.matches=Element.prototype.matches),i.editorDocument.documentElement&&i.events.on(i.editorDocument.documentElement,"mousedown touchend",function(){i.selection.isFocused()||(i.selection.focus(),i.selection.setCursorIn(i.editor))}).on(i.editorWindow,"mousedown touchstart keydown keyup touchend click mouseup mousemove scroll",function(e){i.events&&i.events.fire&&i.events.fire(i.ownerWindow,e)}),[2,!1]}var t})})})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),s=o(2),l=o(0);n.Config.prototype.controls.indent={tooltip:"Increase Indent"},n.Config.prototype.controls.outdent={isDisable:function(t){var e=t.selection.current();if(e){var o=l.Dom.closest(e,function(e){return l.Dom.isBlock(e,t.editorWindow)},t.editor);if(o&&o.style&&o.style.marginLeft)return parseInt(o.style.marginLeft,10)<=0}return!0},tooltip:"Decrease Indent"},n.Config.prototype.indentMargin=10,t.indent=function(a){var e=function(r){return a.selection.eachSelection(function(e){var t=a.selection.save(),o=!!e&&l.Dom.up(e,function(e){return l.Dom.isBlock(e,a.editorWindow)},a.editor),n=a.options.enter;if(!o&&e&&(o=l.Dom.wrapInline(e,n!==s.BR?n:s.PARAGRAPH,a)),!o)return a.selection.restore(t),!1;if(o&&o.style){var i=o.style.marginLeft?parseInt(o.style.marginLeft,10):0;o.style.marginLeft=0<(i+=a.options.indentMargin*("outdent"===r?-1:1))?i+"px":"",o.getAttribute("style")||o.removeAttribute("style")}a.selection.restore(t)}),a.setEditorValue(),!1};a.registerCommand("indent",{exec:e,hotkeys:["ctrl+]","cmd+]"]}),a.registerCommand("outdent",{exec:e,hotkeys:["ctrl+[","cmd+["]})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(3),i="__jodit_imageprocessor_binded";t.imageProcessor=function(o){o.events.on("change afterInit",n.debounce(function(){o.editor&&n.$$("img",o.editor).forEach(function(t){t[i]||(t[i]=!0,t.complete||t.addEventListener("load",function e(){o.events&&o.events.fire&&o.events.fire("resize"),t.removeEventListener("load",e)}),o.events.on(t,"mousedown touchstart",function(){o.selection.select(t)}))})},o.defaultTimeout))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),T=o(19),x=o(0),S=o(3),k=o(5),i=o(14),D=i.Widget.TabsWidget,L=i.Widget.FileSelectorWidget,M=o(27);n.Config.prototype.image={openOnDblClick:!0,editSrc:!0,useImageEditor:!0,editTitle:!0,editAlt:!0,editLink:!0,editSize:!0,editBorderRadius:!0,editMargins:!0,editClass:!0,editStyle:!0,editId:!0,editAlign:!0,showPreview:!0,selectImageAfterClose:!0},t.imageProperties=function(E){var t=function(e){var t=this;if(!E.options.readonly){e&&e.stopImmediatePropagation();var o,n=E.create.fromHTML.bind(E.create),r=this,i=new T.Dialog(E),a=n('<a href="javascript:void(0)" style="float:right;" class="jodit_button">'+k.ToolbarIcon.getIcon("cancel")+"<span>"+E.i18n("Cancel")+"</span></a>"),s=n('<a href="javascript:void(0)" style="float:left;" class="jodit_button">'+k.ToolbarIcon.getIcon("check")+"<span>"+E.i18n("Ok")+"</span></a>"),l={remove:n('<a href="javascript:void(0)" class="jodit_button">'+k.ToolbarIcon.getIcon("bin")+" "+E.i18n("Delete")+"</a>")},c=n('<form class="jodit_properties"><div class="jodit_grid"><div class="jodit_col-lg-2-5"><div class="jodit_properties_view_box"><div style="'+(E.options.image.showPreview?"":"display:none")+'" class="jodit_properties_image_view"><img class="imageViewSrc" src="" alt=""/></div><div style="'+(E.options.image.editSize?"":"display:none")+'" class="jodit_form_group jodit_properties_image_sizes"><input type="number" class="imageWidth"/><a class="jodit_lock_helper jodit_lock_size" href="javascript:void(0)">'+k.ToolbarIcon.getIcon("lock")+'</a><input type="number" class="imageHeight"/></div></div></div><div class="jodit_col-lg-3-5 tabsbox"></div></div></form>'),d=n('<div style="'+(E.options.image.editMargins?"":"display:none")+'" class="jodit_form_group"><label>'+E.i18n("Margins")+'</label><div class="jodit_grid"><input class="jodit_col-lg-1-5 margins marginTop" data-id="marginTop" type="text" placeholder="'+E.i18n("top")+'"/><a style="text-align: center;" class="jodit_lock_helper jodit_lock_margin jodit_col-lg-1-5" href="javascript:void(0)">'+k.ToolbarIcon.getIcon("lock")+'</a><input disabled="true" class="jodit_col-lg-1-5 margins marginRight" data-id="marginRight" type="text" placeholder="'+E.i18n("right")+'"/><input disabled="true" class="jodit_col-lg-1-5 margins marginBottom" data-id="marginBottom" type="text" placeholder="'+E.i18n("bottom")+'"/><input disabled="true" class="jodit_col-lg-1-5 margins marginLeft" data-id="marginLeft" type="text" placeholder="'+E.i18n("left")+'"/></div></div><div style="'+(E.options.image.editStyle?"":"display:none")+'" class="jodit_form_group"><label>'+E.i18n("Styles")+'</label><input type="text" class="style"/></div><div style="'+(E.options.image.editClass?"":"display:none")+'" class="jodit_form_group"><label for="classes">'+E.i18n("Classes")+'</label><input type="text" class="classes"/></div><div style="'+(E.options.image.editId?"":"display:none")+'" class="jodit_form_group"><label for="id">Id</label><input type="text" class="id"/></div><div style="'+(E.options.image.editBorderRadius?"":"display:none")+'" class="jodit_form_group"><label for="border_radius">Border radius</label><input type="number" class="border_radius"/></div><div style="'+(E.options.image.editAlign?"":"display:none")+'" class="jodit_form_group"><label for="align">'+E.i18n("Align")+'</label><select class="select align"><option value="">'+E.i18n("--Not Set--")+'</option><option value="left">'+E.i18n("Left")+'</option><option value="center">'+E.i18n("Center")+'</option><option value="right">'+E.i18n("Right")+"</option></optgroup></select></div>"),u=n('<div style="'+(E.options.image.editSrc?"":"display:none")+'" class="jodit_form_group"><label>'+E.i18n("Src")+'</label><div class="jodit_input_group"><input type="text" class="imageSrc"/>'+(E.options.filebrowser.ajax.url||E.options.uploader.url?'<div class="jodit_input_group-buttons">'+(E.options.filebrowser.ajax.url||E.options.uploader.url?'<a class="jodit_button jodit_rechange" href="javascript:void(0)">'+k.ToolbarIcon.getIcon("image")+"</a>":"")+(E.options.image.useImageEditor&&E.options.filebrowser.ajax.url?'<a class="jodit_button jodit_use_image_editor" href="javascript:void(0)">'+k.ToolbarIcon.getIcon("crop")+"</a>":"")+"</div>":"")+'</div></div><div style="'+(E.options.image.editTitle?"":"display:none")+'" class="jodit_form_group"><label for="imageTitle">'+E.i18n("Title")+'</label><input type="text" class="imageTitle"/></div><div style="'+(E.options.image.editAlt?"":"display:none")+'" class="jodit_form_group"><label for="imageAlt">'+E.i18n("Alternative")+'</label><input type="text" class="imageAlt"/></div><div style="'+(E.options.image.editLink?"":"display:none")+'" class="jodit_form_group"><label for="imageLink">'+E.i18n("Link")+'</label><input type="text" class="imageLink"/></div><div style="'+(E.options.image.editLink?"":"display:none")+'" class="jodit_form_group"><input type="checkbox" class="imageLinkOpenInNewTab"/> '+E.i18n("Open link in new tab")+"</div>"),f=r.naturalWidth/r.naturalHeight||1,p=c.querySelector(".imageWidth"),h=c.querySelector(".imageHeight"),v=function(){S.val(c,".imageSrc",r.getAttribute("src")||"");var e=c.querySelector(".imageViewSrc");e&&e.setAttribute("src",r.getAttribute("src")||"")},m=function(){v(),function(){r.hasAttribute("title")&&S.val(c,".imageTitle",r.getAttribute("title")||""),r.hasAttribute("alt")&&S.val(c,".imageAlt",r.getAttribute("alt")||"");var e=x.Dom.closest(r,"a",E.editor);e&&(S.val(c,".imageLink",e.getAttribute("href")||""),c.querySelector(".imageLinkOpenInNewTab").checked="_blank"===e.getAttribute("target"))}(),p.value=""+r.offsetWidth,h.value=""+r.offsetHeight,function(){if(E.options.image.editMargins){var n=!1;S.$$(".margins",c).forEach(function(e){var t=e.getAttribute("data-id")||"",o=r.style[t];o&&(/^[0-9]+(px)?$/.test(o)&&(o=parseInt(o,10)),e.value=""+o||"",n||"marginTop"===t||e.value===S.val(c,".marginTop")||(n=!0))}),b=!n;var e=c.querySelector(".jodit_lock_margin");e&&(e.innerHTML=k.ToolbarIcon.getIcon(b?"lock":"unlock")),S.$$(".margins:not(.marginTop)",c).forEach(function(e){return b?e.setAttribute("disabled","true"):e.removeAttribute("disabled")})}}(),S.val(c,".classes",(r.getAttribute("class")||"").replace(/jodit_focused_image[\s]*/,"")),S.val(c,".id",r.getAttribute("id")||""),S.val(c,".border_radius",""+(parseInt(r.style.borderRadius||"0",10)||"0")),r.style.cssFloat&&-1!=["left","right"].indexOf(r.style.cssFloat.toLowerCase())?S.val(c,".align",S.css(r,"float")):"block"===S.css(r,"display")&&"auto"===r.style.marginLeft&&"auto"===r.style.marginRight&&S.val(c,".align","center"),S.val(c,".style",r.getAttribute("style")||"")},g=!0,b=!0,_={},y=c.querySelector(".tabsbox");_[E.i18n("Image")]=u,_[E.i18n("Advanced")]=d,y&&y.appendChild(D(E,_)),m(),E.events.on(i,"afterClose",function(){i.destruct(),r.parentNode&&E.options.image.selectImageAfterClose&&E.selection.select(r)}),l.remove.addEventListener("click",function(){x.Dom.safeRemove(r),i.close()}),E.options.image.useImageEditor&&S.$$(".jodit_use_image_editor",u).forEach(function(e){E.events.on(e,"mousedown touchstart",function(){var n=r.getAttribute("src")||"",i=E.create.element("a"),t=function(){i.host===location.host||T.Confirm(E.i18n("You can only edit your own images. Download this image on the host?"),function(e){e&&E.uploader&&E.uploader.uploadRemoteImage(""+i.href,function(e){T.Alert(E.i18n("The image has been successfully uploaded to the host!"),function(){"string"==typeof e.newfilename&&(r.setAttribute("src",e.baseurl+e.newfilename),v())})},function(e){T.Alert(E.i18n("There was an error loading %s",e.message))})})};i.href=n,E.getInstance("FileBrowser").getPathByUrl(""+i.href,function(e,t,o){E.getInstance("FileBrowser").openImageEditor(i.href,t,e,o,function(){var e=(new Date).getTime();r.setAttribute("src",n+(-1!=n.indexOf("?")?"":"?")+"&_tmp="+e),v()},function(e){T.Alert(e.message)})},function(e){T.Alert(e.message,t)})})}),S.$$(".jodit_rechange",u).forEach(function(o){o.addEventListener("mousedown",function(e){o.classList.toggle("active");var t=new M.Popup(E,o);t.open(L(E,{upload:function(e){e.files&&e.files.length&&r.setAttribute("src",e.baseurl+e.files[0]),m(),t.close()},filebrowser:function(e){e&&e.files&&Array.isArray(e.files)&&e.files.length&&(r.setAttribute("src",e.files[0]),t.close(),m())}},r,t.close),!0),e.stopPropagation()})});var w=c.querySelector(".jodit_lock_helper.jodit_lock_size"),j=c.querySelector(".jodit_lock_helper.jodit_lock_margin");w&&w.addEventListener("click",function(){this.innerHTML=k.ToolbarIcon.getIcon((g=!g)?"lock":"unlock"),E.events.fire(p,"change")}),j&&j.addEventListener("click",function(){this.innerHTML=k.ToolbarIcon.getIcon((b=!b)?"lock":"unlock"),b?S.$$(".margins",c).forEach(function(e){e.matches(".marginTop")||e.setAttribute("disabled","true")}):S.$$(".margins",c).forEach(function(e){e.matches(".marginTop")||e.removeAttribute("disabled")})});var C=function(e){var t=parseInt(p.value,10),o=parseInt(h.value,10);e.target===p?h.value=""+Math.round(t/f):p.value=""+Math.round(o*f)};return E.events.on([p,h],"change keydown mousedown paste",function(e){g&&(E.defaultTimeout?(clearTimeout(o),o=S.setTimeout(C.bind(t,e),E.defaultTimeout)):C(e))}),i.setTitle([E.i18n("Image properties"),l.remove]),i.setContent(c),a.addEventListener("click",function(){i.close()}),s.addEventListener("click",function(){if(E.options.image.editStyle&&(S.val(c,".style")?r.setAttribute("style",S.val(c,".style")):r.removeAttribute("style")),!S.val(c,".imageSrc"))return x.Dom.safeRemove(r),void i.close();r.setAttribute("src",S.val(c,".imageSrc")),r.style.borderRadius="0"!==S.val(c,".border_radius")&&/^[0-9]+$/.test(S.val(c,".border_radius"))?S.val(c,".border_radius")+"px":"",S.val(c,".imageTitle")?r.setAttribute("title",S.val(c,".imageTitle")):r.removeAttribute("title"),S.val(c,".imageAlt")?r.setAttribute("alt",S.val(c,".imageAlt")):r.removeAttribute("alt");var e=x.Dom.closest(r,"a",E.editor);S.val(c,".imageLink")?(e||(e=x.Dom.wrap(r,"a",E)),e.setAttribute("href",S.val(c,".imageLink")),c.querySelector(".imageLinkOpenInNewTab").checked?e.setAttribute("target","_blank"):e.removeAttribute("target")):e&&e.parentNode&&e.parentNode.replaceChild(r,e);var o=function(e){return e=S.trim(e),/^[0-9]+$/.test(e)?e+"px":e};p.value===""+r.offsetWidth&&h.value===""+r.offsetHeight||S.css(r,{width:S.trim(p.value)?o(p.value):null,height:S.trim(h.value)?o(h.value):null}),E.options.image.editMargins&&(b?S.css(r,"margin",o(S.val(c,".marginTop"))):S.$$(".margins",c).forEach(function(e){var t=e.getAttribute("data-id")||"";S.css(r,t,o(e.value))})),E.options.image.editClass&&(S.val(c,".classes")?r.setAttribute("class",S.val(c,".classes")):r.removeAttribute("class")),E.options.image.editId&&(S.val(c,".id")?r.setAttribute("id",S.val(c,".id")):r.removeAttribute("id"));var t=function(){"block"===S.css(r,"display")&&S.css(r,"display",""),"auto"===r.style.marginLeft&&"auto"===r.style.marginRight&&(r.style.marginLeft="",r.style.marginRight="")};E.options.image.editAlign&&(S.val(c,".align")?-1!=["right","left"].indexOf(S.val(c,".align").toLowerCase())?(S.css(r,"float",S.val(c,".align")),t()):(S.css(r,"float",""),S.css(r,{display:"block","margin-left":"auto","margin-right":"auto"})):(S.css(r,"float")&&-1!=["right","left"].indexOf((""+S.css(r,"float")).toLowerCase())&&S.css(r,"float",""),t())),r.getAttribute("style")||r.removeAttribute("style"),E.setEditorValue(),i.close()}),i.setFooter([s,a]),i.setSize(500),i.open(),e&&e.preventDefault(),!1}};E.events.on("afterInit",function(){E.events.on(E.editor,"dblclick",E.options.image.openOnDblClick?t:function(e){e.stopImmediatePropagation(),E.selection.select(this)},"img")}).on("openImageProperties",function(e){t.call(e)})}},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),a=o(14),c=a.Widget.ColorPickerWidget,d=a.Widget.TabsWidget,l=o(0),u=o(3),s=o(6),f=o(28),p=o(27),h=o(18);r.Config.prototype.toolbarInline=!0,r.Config.prototype.toolbarInlineDisableFor=[],r.Config.prototype.popup={a:[{name:"eye",tooltip:"Open link",exec:function(e,t){var o=t.getAttribute("href");t&&o&&e.ownerWindow.open(o)}},{name:"link",tooltip:"Edit link",icon:"pencil"},"unlink","brush","file"],jodit:[{name:"bin",tooltip:"Delete",exec:function(e,t){t.parentNode&&(l.Dom.safeRemove(t),e.events.fire("hidePopup"))}}],"jodit-media":[{name:"bin",tooltip:"Delete",exec:function(e,t){t.parentNode&&(l.Dom.safeRemove(t),e.events.fire("hidePopup"))}}],img:[{name:"bin",tooltip:"Delete",exec:function(e,t){t.parentNode&&(l.Dom.safeRemove(t),e.events.fire("hidePopup"))}},{name:"pencil",exec:function(e,t){"img"===t.tagName.toLowerCase()&&e.events.fire("openImageProperties",t)},tooltip:"Edit"},{name:"valign",list:["Top","Middle","Bottom"],tooltip:"Vertical align",exec:function(e,t,o){if("img"===t.tagName.toLowerCase()){var n=o.args&&"string"==typeof o.args[1]?o.args[1].toLowerCase():"";u.css(t,"vertical-align",n),e.events.fire("recalcPositionPopup")}}},{name:"left",list:["Left","Right","Center","Normal"],exec:function(e,t,o){if("img"===t.tagName.toLowerCase()){var n=function(){"block"===u.css(t,"display")&&u.css(t,"display",""),"auto"===t.style.marginLeft&&"auto"===t.style.marginRight&&(t.style.marginLeft="",t.style.marginRight="")},i=o.args&&"string"==typeof o.args[1]?o.args[1].toLowerCase():"";"normal"!==i?-1!=["right","left"].indexOf(i)?(u.css(t,"float",i),n()):(u.css(t,"float",""),u.css(t,{display:"block","margin-left":"auto","margin-right":"auto"})):(u.css(t,"float")&&-1!=["right","left"].indexOf(u.css(t,"float").toLowerCase())&&u.css(t,"float",""),n()),e.events.fire("recalcPositionPopup")}},tooltip:"Horizontal align"}],table:[{name:"brush",popup:function(e,t){var o,n,i,r,a,s,l=f.Table.getAllSelectedCells(t);return!!l.length&&(r=u.css(l[0],"color"),s=u.css(l[0],"background-color"),a=u.css(l[0],"border-color"),o=c(e,function(t){l.forEach(function(e){u.css(e,"background-color",t)}),e.setEditorValue()},s),n=c(e,function(t){l.forEach(function(e){u.css(e,"color",t)}),e.setEditorValue()},r),i=c(e,function(t){l.forEach(function(e){u.css(e,"border-color",t)}),e.setEditorValue()},a),d(e,{Background:o,Text:n,Border:i}))},tooltip:"Background"},{name:"valign",list:["Top","Middle","Bottom"],exec:function(e,t,o){var n=o.args&&"string"==typeof o.args[1]?o.args[1].toLowerCase():"";f.Table.getAllSelectedCells(t).forEach(function(e){u.css(e,"vertical-align",n)})},tooltip:"Vertical align"},{name:"splitv",list:{tablesplitv:"Split vertical",tablesplitg:"Split horizontal"},tooltip:"Split"},{name:"align",icon:"left"},"\n",{name:"merge",command:"tablemerge",tooltip:"Merge"},{name:"addcolumn",list:{tableaddcolumnbefore:"Insert column before",tableaddcolumnafter:"Insert column after"},exec:function(e,t,o){var n=o.args&&"string"==typeof o.args[0]?o.args[0].toLowerCase():"";e.execCommand(n,!1,t)},tooltip:"Add column"},{name:"addrow",list:{tableaddrowbefore:"Insert row above",tableaddrowafter:"Insert row below"},exec:function(e,t,o){var n=o.args&&"string"==typeof o.args[0]?o.args[0].toLowerCase():"";e.execCommand(n,!1,t)},tooltip:"Add row"},{name:"bin",list:{tablebin:"Delete table",tablebinrow:"Delete row",tablebincolumn:"Delete column",tableempty:"Empty cell"},exec:function(e,t,o){var n=o.args&&"string"==typeof o.args[0]?o.args[0].toLowerCase():"";e.execCommand(n,!1,t)},tooltip:"Delete"}]};var v=function(e){function t(){var s=null!==e&&e.apply(this,arguments)||this;return s._hiddenClass="jodit_toolbar_popup-inline-target-hidden",s.isSelectionStarted=!1,s.onSelectionEnd=u.debounce(function(){!s.isDestructed&&s.jodit.isEditorMode()&&(s.isSelectionStarted&&(s.isTargetAction||s.onChangeSelection()),s.isSelectionStarted=!1,s.isTargetAction=!1)},s.jodit.defaultTimeout),s.isTargetAction=!1,s.isSelectionPopup=!1,s.calcWindSizes=function(){var e=s.jodit.ownerWindow,t=s.jodit.ownerDocument.documentElement;if(!t)return{left:0,top:0,width:0,height:0};var o=s.jodit.ownerDocument.body,n=t.clientTop||o.clientTop||0,i=t.clientLeft||o.clientLeft||0;return{left:i,top:n,width:t.clientWidth+(e.pageXOffset||t.scrollLeft||o.scrollLeft)-i,height:t.clientHeight+(e.pageYOffset||t.scrollTop||o.scrollTop)-n}},s.calcPosition=function(e,t){if(!s.isDestructed){s.popup.target.classList.remove(s._hiddenClass);var o=e.left+e.width/2,n=u.offset(s.jodit.workplace,s.jodit,s.jodit.ownerDocument,!0),i=e.top+e.height+10;s.target.style.left=o+"px",s.target.style.top=i+"px",s.jodit.isFullSize()&&(s.target.style.zIndex=""+u.css(s.jodit.container,"zIndex"));var r=s.container.offsetWidth/2,a=-r;s.popup.container.classList.remove("jodit_toolbar_popup-inline-top"),t.height<i+s.container.offsetHeight&&(s.target.style.top=(i=e.top-s.container.offsetHeight-10)+"px",s.popup.container.classList.add("jodit_toolbar_popup-inline-top")),o-r<0&&(a=-(e.width/2+e.left)),t.width<o+r&&(a=-(s.container.offsetWidth-(t.width-o))),s.container.style.marginLeft=a+"px",(50<n.top-i||50<i-(n.top+n.height))&&s.popup.target.classList.add(s._hiddenClass)}},s.reCalcPosition=function(){s.__getRect&&s.calcPosition(s.__getRect(),s.calcWindSizes())},s.showPopup=function(e,t,o){if(!s.jodit.options.toolbarInline||!s.jodit.options.popup[t.toLowerCase()])return!1;if(s.isExcludedTarget(t))return!0;s.isShown=!0,s.isTargetAction=!0;var n=s.calcWindSizes();return s.target.parentNode||s.jodit.ownerDocument.body.appendChild(s.target),s.toolbar.build(s.jodit.options.popup[t.toLowerCase()],s.container,o),s.popup.open(s.container,!1,!0),s.__getRect=e,s.calcPosition(e(),n),!0},s.hidePopup=function(e){s.isDestructed||e&&(l.Dom.isNode(e,s.jodit.editorWindow||window)||e instanceof p.Popup)&&l.Dom.isOrContains(s.target,e instanceof p.Popup?e.target:e)||(s.isTargetAction=!1,s.isShown=!1,s.popup.close(),l.Dom.safeRemove(s.target))},s.onSelectionStart=function(e){if(!s.isDestructed&&s.jodit.isEditorMode()&&(s.isTargetAction=!1,s.isSelectionPopup=!1,!s.isSelectionStarted)){var t=Object.keys(s.jodit.options.popup).join("|"),o="IMG"===e.target.nodeName?e.target:l.Dom.closest(e.target,t,s.jodit.editor);o&&s.showPopup(function(){return u.offset(o,s.jodit,s.jodit.editorDocument)},o.nodeName,o)||(s.isSelectionStarted=!0)}},s.checkIsTargetEvent=function(){s.isTargetAction?s.isTargetAction=!1:s.hidePopup()},s.isShown=!1,s.onChangeSelection=function(){if(s.jodit.options.toolbarInline&&s.jodit.isEditorMode()&&!s.hideIfCollapsed()&&void 0!==s.jodit.options.popup.selection){var e=s.jodit.selection.sel;if(e.rangeCount){s.isSelectionPopup=!0;var t=e.getRangeAt(0);s.showPopup(function(){return u.offset(t,s.jodit,s.jodit.editorDocument)},"selection")}}},s}return i(t,e),t.prototype.isExcludedTarget=function(e){return-1!=u.splitArray(this.jodit.options.toolbarInlineDisableFor).map(function(e){return e.toLowerCase()}).indexOf(e.toLowerCase())},t.prototype.hideIfCollapsed=function(){return!!this.jodit.selection.isCollapsed()&&(this.hidePopup(),!0)},t.prototype.afterInit=function(t){var n=this;this.toolbar=h.JoditToolbarCollection.makeCollection(t),this.target=t.create.div("jodit_toolbar_popup-inline-target"),this.container=t.create.div(),this.popup=new p.Popup(t,this.target,void 0,"jodit_toolbar_popup-inline"),t.events.on(this.target,"mousedown keydown touchstart",function(e){e.stopPropagation()}).on("beforeOpenPopup hidePopup afterSetMode",this.hidePopup).on("recalcPositionPopup",this.reCalcPosition).on("getDiffButtons.mobile",function(e){if(n.toolbar===e)return u.splitArray(t.options.buttons).filter(function(e){return"|"!==e&&"\n"!==e}).filter(function(e){return n.toolbar.getButtonsList().indexOf(e)<0})}).on("selectionchange",this.onChangeSelection).on("afterCommand afterExec",function(){n.isShown&&n.isSelectionPopup&&n.onChangeSelection()}).on("showPopup",function(e,t){var o=("string"==typeof e?e:e.nodeName).toLowerCase();n.isSelectionPopup=!1,n.showPopup(t,o,"string"==typeof e?void 0:e)}).on("mousedown keydown touchstart",this.onSelectionStart).on([t.ownerWindow,t.editor],"scroll resize",this.reCalcPosition).on([t.ownerWindow],"mouseup keyup touchend",this.onSelectionEnd).on([t.ownerWindow],"mousedown keydown touchstart",this.checkIsTargetEvent)},t.prototype.beforeDestruct=function(e){this.popup&&this.popup.destruct(),delete this.popup,this.toolbar&&this.toolbar.destruct(),delete this.toolbar,l.Dom.safeRemove(this.target),l.Dom.safeRemove(this.container),e.events&&e.events.off([e.ownerWindow],"scroll resize",this.reCalcPosition).off([e.ownerWindow],"mouseup keyup touchend",this.onSelectionEnd).off([e.ownerWindow],"mousedown keydown touchstart",this.checkIsTargetEvent)},t}(s.Plugin);t.inlinePopup=v},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),a=o(0),s=o(3),l=o(5);n.Config.prototype.controls.align={name:"left",tooltip:"Align",getLabel:function(t,e,o){var n=t.selection.current();if(n){var i=a.Dom.closest(n,function(e){return a.Dom.isBlock(e,t.editorWindow)},t.editor)||t.editor,r=""+s.css(i,"text-align");e.defaultValue&&-1!=e.defaultValue.indexOf(r)&&(r="left"),o&&e.data&&e.data.currentValue!==r&&e.list&&-1!=e.list.indexOf(r)&&(o.textBox.innerHTML=t.options.textIcons?"<span>"+r+"</span>":l.ToolbarIcon.getIcon(r,""),o.textBox.firstChild.classList.add("jodit_icon"),e.data.currentValue=r)}return!1},isActive:function(t,e){var o=t.selection.current();if(o&&e.defaultValue){var n=a.Dom.closest(o,function(e){return a.Dom.isBlock(e,t.editorWindow)},t.editor)||t.editor;return-1==e.defaultValue.indexOf(""+s.css(n,"text-align"))}return!1},defaultValue:["left","start","inherit"],data:{currentValue:"left"},list:["center","left","right","justify"]},n.Config.prototype.controls.center={command:"justifyCenter",css:{"text-align":"center"},tooltip:"Align Center"},n.Config.prototype.controls.justify={command:"justifyFull",css:{"text-align":"justify"},tooltip:"Align Justify"},n.Config.prototype.controls.left={command:"justifyLeft",css:{"text-align":"left"},tooltip:"Align Left"},n.Config.prototype.controls.right={command:"justifyRight",css:{"text-align":"right"},tooltip:"Align Right"},t.justify=function(n){var e=function(t){var o=function(e){if(e instanceof n.editorWindow.HTMLElement)switch(t.toLowerCase()){case"justifyfull":e.style.textAlign="justify";break;case"justifyright":e.style.textAlign="right";break;case"justifyleft":e.style.textAlign="left";break;case"justifycenter":e.style.textAlign="center"}};return n.selection.focus(),n.selection.eachSelection(function(e){if(!e&&n.editor.querySelector(".jodit_selected_cell"))return s.$$(".jodit_selected_cell",n.editor).forEach(o),!1;if(e instanceof n.editorWindow.Node){var t=!!e&&a.Dom.up(e,function(e){return a.Dom.isBlock(e,n.editorWindow)},n.editor);!t&&e&&(t=a.Dom.wrapInline(e,n.options.enterBlock,n)),o(t)}}),!1};n.registerCommand("justifyfull",e),n.registerCommand("justifyright",e),n.registerCommand("justifyleft",e),n.registerCommand("justifycenter",e)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),c=o(0),d=o(3);n.Config.prototype.link={followOnDblClick:!0,processVideoLink:!0,processPastedLink:!0,openLinkDialogAfterPost:!0,removeLinkAfterFormat:!0,noFollowCheckbox:!0,openInNewTabCheckbox:!0},n.Config.prototype.controls.unlink={exec:function(e,t){var o=c.Dom.closest(t,"A",e.editor);o&&c.Dom.unwrap(o),e.events.fire("hidePopup")}},n.Config.prototype.controls.link={isActive:function(e){var t=e.selection.current();return t&&!1!==c.Dom.closest(t,"a",e.editor)},popup:function(o,n,e,i){var t=o.editorWindow.getSelection(),r=o.create.fromHTML('<form class="jodit_form"><input required type="text" name="url" placeholder="http://" type="text"/><input name="text" placeholder="'+o.i18n("Text")+'" type="text"/>'+(o.options.link.openInNewTabCheckbox?'<label><input name="target" type="checkbox"/> '+o.i18n("Open in new tab")+"</label>":"")+(o.options.link.noFollowCheckbox?'<label><input name="nofollow" type="checkbox"/> '+o.i18n("No follow")+"</label>":"")+'<div style="text-align: right"><button class="jodit_unlink_button" type="button">'+o.i18n("Unlink")+'</button> <button class="jodit_link_insert_button" type="submit"></button></div><form/>');n=!(!n||!c.Dom.closest(n,"A",o.editor))&&c.Dom.closest(n,"A",o.editor);var a=r.querySelector(".jodit_link_insert_button"),s=r.querySelector(".jodit_unlink_button");n?(d.val(r,"input[name=url]",n.getAttribute("href")||""),d.val(r,"input[name=text]",n.innerText),o.options.link.openInNewTabCheckbox&&(r.querySelector("input[name=target]").checked="_blank"===n.getAttribute("target")),o.options.link.noFollowCheckbox&&(r.querySelector("input[name=nofollow]").checked="nofollow"===n.getAttribute("rel")),a&&(a.innerHTML=o.i18n("Update"))):(s&&(s.style.display="none"),d.val(r,"input[name=text]",""+t),a&&(a.innerHTML=o.i18n("Insert")));var l=o.selection.save();return s&&s.addEventListener("mousedown",function(e){n&&c.Dom.unwrap(n),o.selection.restore(l),i(),e.preventDefault()}),r.addEventListener("submit",function(e){e.preventDefault(),o.selection.restore(l);var t=n||o.editorDocument.createElement("a");return d.val(r,"input[name=url]")?(t.setAttribute("href",d.val(r,"input[name=url]")),t.innerText=d.val(r,"input[name=text]"),o.options.link.openInNewTabCheckbox&&(r.querySelector("input[name=target]").checked?t.setAttribute("target","_blank"):t.removeAttribute("target")),o.options.link.noFollowCheckbox&&(r.querySelector("input[name=nofollow]").checked?t.setAttribute("rel","nofollow"):t.removeAttribute("rel")),n||o.selection.insertNode(t),i()):(r.querySelector("input[name=url]").focus(),r.querySelector("input[name=url]").classList.add("jodit_error")),!1}),r},tags:["a"],tooltip:"Insert link"},t.link=function(i){i.options.link.followOnDblClick&&i.events.on("afterInit",function(){i.events.on(i.editor,"dblclick",function(e){var t=this.getAttribute("href");t&&(location.href=t,e.preventDefault())},"a")}),i.options.link.processPastedLink&&i.events.on("processPaste",function(e,t){if(d.isURL(t)){var o=d.convertMediaURLToVideoEmbed(t);if(o!==t)return i.create.inside.fromHTML(o);var n=i.create.inside.element("a");return n.setAttribute("href",t),n.innerText=t,n}}),i.options.link.removeLinkAfterFormat&&i.events.on("afterCommand",function(e){var t,o;"removeFormat"===e&&((o=i.selection.current())&&"A"!==o.nodeName&&(o=c.Dom.closest(o,"A",i.editor)),o&&"A"===o.nodeName&&(o.innerHTML===o.innerText?t=i.editorDocument.createTextNode(o.innerHTML):(t=i.editorDocument.createElement("span")).innerHTML=o.innerHTML,o.parentNode&&(o.parentNode.replaceChild(t,o),i.selection.setCursorIn(t,!0))))})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(2),r=o(4),a=o(43);n.Config.prototype.limitWords=!1,n.Config.prototype.limitChars=!1,n.Config.prototype.limitHTML=!1,t.limit=function(n){if(n&&(n.options.limitWords||n.options.limitChars)){var o=function(e,t){void 0===t&&(t="");var o=(t||(n.options.limitHTML?n.value:n.getEditorText())).replace(i.INVISIBLE_SPACE_REG_EXP,"").split(i.SPACE_REG_EXP).filter(function(e){return e.length});if(!e||-1==i.COMMAND_KEYS.indexOf(e.which))return n.options.limitWords&&n.options.limitWords<=o.length?n.options.limitWords===o.length:n.options.limitChars&&n.options.limitChars<=o.join("").length?n.options.limitChars===o.join("").length:void 0},e=null;n.events.on("beforePaste",function(){e=n.observer.snapshot.make()}).on("keydown keyup beforeEnter beforePaste",function(e){if(void 0!==o(e))return!1}).on("change",r.debounce(function(e,t){!1===o(null,n.options.limitHTML?e:a.stripTags(e))&&(n.value=t)},n.defaultTimeout)).on("afterPaste",function(){if(!1===o(null)&&e)return n.observer.snapshot.restore(e),!1})}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),r=o(2),a=o(4),s=o(9);n.Config.prototype.mediaFakeTag="jodit-media",n.Config.prototype.mediaInFakeBlock=!0,n.Config.prototype.mediaBlocks=["video","audio"],t.media=function(o){var n="jodit_fake_wrapper",e=o.options,i=e.mediaFakeTag,t=e.mediaBlocks;e.mediaInFakeBlock&&o.events.on("afterGetValueFromEditor",function(e){e.value=e.value.replace(RegExp("<"+i+"[^>]+data-"+n+"[^>]+>(.+?)</"+i+">","ig"),"$1")}).on("change afterInit afterSetMode",a.debounce(function(){o.isDestructed||o.getMode()===r.MODE_SOURCE||s.$$(t.join(","),o.editor).forEach(function(e){e["__"+n]||(e["__"+n]=!0,function(e){if(e.parentNode&&e.parentNode.getAttribute("data-jodit_iframe_wrapper"))e=e.parentNode;else{var t=void 0;(t=o.create.inside.fromHTML("<"+i+' data-jodit-temp="1" contenteditable="false" draggable="true" data-'+n+'="1"></'+i+">")).style.display="inline-block"===e.style.display?"inline-block":"block",t.style.width=e.offsetWidth+"px",t.style.height=e.offsetHeight+"px",e.parentNode&&e.parentNode.insertBefore(t,e),t.appendChild(e),e=t}o.events.off(e,"mousedown.select touchstart.select").on(e,"mousedown.select touchstart.select",function(){o.selection.setCursorAfter(e)})}(e))})},o.defaultTimeout))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(2),a=o(20),s=o(18);n.Config.prototype.mobileTapTimeout=300,n.Config.prototype.toolbarAdaptive=!0,n.Config.prototype.controls.dots={mode:i.MODE_SOURCE+i.MODE_WYSIWYG,popup:function(t,e,o,n,i){var r=o.data;return void 0===r&&((r={container:t.create.div(),toolbar:s.JoditToolbarCollection.makeCollection(t),rebuild:function(){if(i){var e=t.events.fire("getDiffButtons.mobile",i.parentToolbar);e&&r&&r.toolbar.build(a.splitArray(e),r.container)}}}).container.style.width="100px",o.data=r),r.rebuild(),r.container}},t.mobile=function(o){var t,n=0,i=a.splitArray(o.options.buttons);o.events.on("touchend",function(e){e.changedTouches&&e.changedTouches.length&&(t=(new Date).getTime(),o.options.mobileTapTimeout<t-n&&(n=t,o.selection.insertCursorAtPoint(e.changedTouches[0].clientX,e.changedTouches[0].clientY)))}).on("getDiffButtons.mobile",function(e){if(e===o.toolbar)return a.splitArray(o.options.buttons).filter(function(e){return i.indexOf(e)<0})}),o.options.toolbarAdaptive&&o.events.on("resize afterInit",function(){if(o.options.toolbar){var e,t=o.container.offsetWidth;""+(e=a.splitArray(t<o.options.sizeLG?t<o.options.sizeMD?t<o.options.sizeSM?o.options.buttonsXS:o.options.buttonsSM:o.options.buttonsMD:o.options.buttons))!=""+i&&o.toolbar.build((i=e).concat(o.options.extraButtons),o.container)}})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(0);n.Config.prototype.controls.ul={command:"insertUnorderedList",controlName:"ul",tags:["ul"],tooltip:"Insert Unordered List"},n.Config.prototype.controls.ol={command:"insertOrderedList",controlName:"ol",tags:["ol"],tooltip:"Insert Ordered List"},t.orderedlist=function(n){n.events.on("afterCommand",function(e){if(/insert(un)?orderedlist/i.test(e)){var t=i.Dom.up(n.selection.current(),function(e){return e&&/^UL|OL$/i.test(e.nodeName)},n.editor);if(t&&t.parentNode&&"P"===t.parentNode.nodeName){var o=n.selection.save();i.Dom.unwrap(t.parentNode),Array.from(t.childNodes).forEach(function(e){e.lastChild&&e.lastChild.nodeType===Node.ELEMENT_NODE&&"BR"===e.lastChild.nodeName&&i.Dom.safeRemove(e.lastChild)}),n.selection.restore(o)}n.setEditorValue()}})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),h=o(2),v=o(19),m=o(3),g=o(0);n.Config.prototype.askBeforePasteHTML=!0,n.Config.prototype.askBeforePasteFromWord=!0,n.Config.prototype.defaultActionOnPaste=h.INSERT_AS_HTML,n.Config.prototype.controls.cut={command:"cut",isDisable:function(e){var t=e.selection.sel;return!t||t.isCollapsed},tooltip:"Cut selection"},t.paste=function(d){var l="",c=function(e,t,o,n,i){if(void 0===n&&(n="Clean"),void 0===i&&(i="Insert only Text"),!d.events||!1!==d.events.fire("beforeOpenPasteDialog",e,t,o,n,i)){var r=v.Confirm('<div style="word-break: normal; white-space: normal">'+e+"</div>",t,o);r.container.setAttribute("data-editor_id",d.id);var a=r.create.fromHTML('<a href="javascript:void(0)" style="float:left;" class="jodit_button"><span>'+d.i18n("Keep")+"</span></a>"),s=r.create.fromHTML('<a href="javascript:void(0)" style="float:left;" class="jodit_button"><span>'+d.i18n(n)+"</span></a>"),l=r.create.fromHTML('<a href="javascript:void(0)" style="float:left;" class="jodit_button"><span>'+d.i18n(i)+"</span></a>"),c=r.create.fromHTML('<a href="javascript:void(0)" style="float:right;" class="jodit_button"><span>'+d.i18n("Cancel")+"</span></a>");return d.events.on(a,"click",function(){r.close(),o&&o(!0)}),d.events.on(s,"click",function(){r.close(),o&&o(!1)}),d.events.on(l,"click",function(){r.close(),o&&o(0)}),d.events.on(c,"click",function(){r.close()}),r.setFooter([a,s,i?l:"",c]),d.events&&d.events.fire("afterOpenPasteDialog",r,e,t,o,n,i),r}},r=function(e,t){switch(t){case h.INSERT_CLEAR_HTML:e=m.cleanFromWord(e);break;case h.INSERT_ONLY_TEXT:e=m.stripTags(e);break;case h.INSERT_AS_TEXT:e=m.htmlspecialchars(e)}d.selection.insertHTML(e)},u=function(o,n){if(m.isHTML(o)&&l!==f(o))return d.events.stopPropagation("beforePaste"),o=f(o),c(d.i18n("Your code is similar to HTML. Keep as HTML?"),d.i18n("Paste as HTML"),function(e){var t=h.INSERT_AS_HTML;!1===e&&(t=h.INSERT_AS_TEXT),0===e&&(t=h.INSERT_ONLY_TEXT),"drop"===n.type&&d.selection.insertCursorAtPoint(n.clientX,n.clientY),r(o,t),d.setEditorValue()},"Insert as Text"),!1},f=function(e){var t=e.search(/<!--StartFragment-->/i);-1!==t&&(e=e.substr(t+20));var o=e.search(/<!--EndFragment-->/i);return-1!==o&&(e=e.substr(0,o)),e},p=function(e){return e.clipboardData?e.clipboardData:e.dataTransfer||new DataTransfer};d.events.on("copy cut",function(e){var t=d.selection.getHTML(),o=p(e)||p(d.editorWindow)||p(e.originalEvent);o.setData(h.TEXT_PLAIN,m.stripTags(t)),o.setData(h.TEXT_HTML,t),l=t,"cut"===e.type&&(d.selection.remove(),d.selection.focus()),e.preventDefault(),d.events.fire("afterCopy",t)}).on("paste",function(e){if(!1===d.events.fire("beforePaste",e))return e.preventDefault(),!1;if(e&&p(e)){var t=p(e).types,o=void 0,n="",i="";if(Array.isArray(t)||"domstringlist"===m.type(t))for(o=0;o<t.length;o+=1)n+=t[o]+";";else n=""+t;/text\/html/i.test(n)?i=p(e).getData("text/html"):/text\/rtf/i.test(n)&&m.browser("safari")?i=p(e).getData("text/rtf"):/text\/plain/i.test(n)&&!m.browser("mozilla")?i=p(e).getData(h.TEXT_PLAIN):/text/i.test(n)&&h.IS_IE&&(i=p(e).getData(h.TEXT_PLAIN)),(i instanceof d.editorWindow.Node||""!==m.trim(i))&&(i=f(i),l!==i&&(i=d.events.fire("processPaste",e,i)),("string"==typeof i||i instanceof d.editorWindow.Node)&&("drop"===e.type&&d.selection.insertCursorAtPoint(e.clientX,e.clientY),r(i,d.options.defaultActionOnPaste)),e.preventDefault(),e.stopPropagation())}return!1!==d.events.fire("afterPaste",e)&&void 0}),d.options.askBeforePasteHTML&&d.events.on("beforePaste",function(e){if(e&&p(e).getData(h.TEXT_PLAIN)){var t=p(e).getData(h.TEXT_PLAIN);return u(t,e)}}),d.options.askBeforePasteFromWord&&d.events.on("beforePaste",function(e){if(e&&p(e).getData&&p(e).getData(h.TEXT_HTML)){var t=function(t){if(m.isHTML(t)&&l!==f(t))return m.isHTMLFromWord(t)?c(d.i18n("The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?"),d.i18n("Word Paste Detected"),function(e){!0===e&&(t=m.applyStyles(t),d.options.beautifyHTML&&d.ownerWindow.html_beautify&&(t=d.ownerWindow.html_beautify(t))),!1===e&&(t=m.cleanFromWord(t)),0===e&&(t=m.stripTags(m.cleanFromWord(t))),d.selection.insertHTML(t),d.setEditorValue()}):u(t,e),!1};if(p(e).types&&-1!=Array.from(p(e).types).indexOf("text/html")){var o=p(e).getData(h.TEXT_HTML);return t(o)}if("drop"!==e.type){var n=d.create.div(void 0,{tabindex:-1,contenteditable:!0,style:{left:-9999,top:0,width:0,height:"100%",lineHeight:"140%",overflow:"hidden",position:"fixed",zIndex:2147483647,wordBreak:"break-all"}});d.container.appendChild(n);var i=d.selection.save();n.focus();var r=0,a=function(){g.Dom.safeRemove(n),d.selection.restore(i)},s=function(){if(r+=1,n.childNodes&&0<n.childNodes.length){var e=n.innerHTML;a(),!1!==t(e)&&d.selection.insertHTML(e)}else r<5?m.setTimeout(s,20):a()};s()}}})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),a=o(2),s=o(8),l=o(4),c=o(0);n.Config.prototype.showPlaceholder=!0,n.Config.prototype.useInputsPlaceholder=!0,n.Config.prototype.placeholder="Type something",t.placeholder=function(i){if(i.options.showPlaceholder){this.destruct=function(){c.Dom.safeRemove(r)};var t=function(){r.parentNode&&(r.style.display="none")},o=l.debounce(function(){if(null!==r.parentNode&&i.editor){if(i.getRealMode()!==a.MODE_WYSIWYG)return t();var e=i.getEditorValue();e&&!/^<(p|div|h[1-6])><\/\1>$/.test(e)?t():function(){if(r.parentNode&&!i.options.readonly){var e=0,t=0,o=i.editorWindow.getComputedStyle(i.editor);if(i.editor.firstChild&&i.editor.firstChild.nodeType===Node.ELEMENT_NODE){var n=i.editorWindow.getComputedStyle(i.editor.firstChild);e=parseInt(n.getPropertyValue("margin-top"),10),t=parseInt(n.getPropertyValue("margin-left"),10),r.style.fontSize=parseInt(n.getPropertyValue("font-size"),10)+"px",r.style.lineHeight=n.getPropertyValue("line-height")}else r.style.fontSize=parseInt(o.getPropertyValue("font-size"),10)+"px",r.style.lineHeight=o.getPropertyValue("line-height");s.css(r,{display:"block",marginTop:Math.max(parseInt(o.getPropertyValue("margin-top"),10),e),marginLeft:Math.max(parseInt(o.getPropertyValue("margin-left"),10),t)})}}()}},i.defaultTimeout/10),r=i.create.fromHTML('<span style="display: none;" class="jodit_placeholder">'+i.i18n(i.options.placeholder)+"</span>");"rtl"===i.options.direction&&(r.style.right="0px",r.style.direction="rtl"),i.options.useInputsPlaceholder&&i.element.hasAttribute("placeholder")&&(r.innerHTML=i.element.getAttribute("placeholder")||""),i.events.on("readonly",function(e){e?t():o()}).on("afterInit",function(){i.workplace.appendChild(r),o(),i.events.fire("placeholder",r.innerHTML),i.events.on("change keyup mouseup keydown mousedown afterSetMode",o).on(window,"load",o)})}}},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),a=o(2),s=o(6);r.Config.prototype.controls.redo={mode:a.MODE_SPLIT,isDisable:function(e){return!e.observer.stack.canRedo()},tooltip:"Redo"},r.Config.prototype.controls.undo={mode:a.MODE_SPLIT,isDisable:function(e){return!e.observer.stack.canUndo()},tooltip:"Undo"};var l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.beforeDestruct=function(){},t.prototype.afterInit=function(t){var e=function(e){return t.getRealMode()===a.MODE_WYSIWYG&&t.observer[e](),!1};t.registerCommand("redo",{exec:e,hotkeys:["ctrl+y","ctrl+shift+z","cmd+y","cmd+shift+z"]}),t.registerCommand("undo",{exec:e,hotkeys:["ctrl+z","cmd+z"]})},t}(s.Plugin);t.redoundo=l},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),T=o(2),x=o(2),S=o(0),k=o(9),D=o(4),L=o(23),M=o(3);n.Config.prototype.useIframeResizer=!0,n.Config.prototype.useTableResizer=!0,n.Config.prototype.useImageResizer=!0,n.Config.prototype.resizer={showSize:!0,hideSizeTimeout:1e3,min_width:10,min_height:10},t.resizer=function(r){var i,a,s,l,c,d,u,f,p,h,v,m=!1,g=!1,b=!1,_=0,y=r.create.fromHTML('<div data-editor_id="'+r.id+'" style="display:none" class="jodit_resizer"><i class="jodit_resizer-topleft"></i><i class="jodit_resizer-topright"></i><i class="jodit_resizer-bottomright"></i><i class="jodit_resizer-bottomleft"></i><span>100x100</span></div>'),w=y.getElementsByTagName("span")[0],j=function(){b=g=!1,a=null,y.style.display="none"},C=function(){w.style.opacity="0"},E=function(){if(b&&a&&y){var e=L.offset(y.parentNode||r.ownerDocument.documentElement,r,r.ownerDocument,!0),t=L.offset(a,r,r.editorDocument),o=parseInt(y.style.left||"0",10),n=t.top-1-e.top,i=t.left-1-e.left;parseInt(y.style.top||"0",10)===n&&o===i&&y.offsetWidth===a.offsetWidth&&y.offsetHeight===a.offsetHeight||(y.style.top=n+"px",y.style.left=i+"px",y.style.width=a.offsetWidth+"px",y.style.height=a.offsetHeight+"px",r.events&&(r.events.fire(a,"changesize"),isNaN(o)||r.events.fire("resize")))}};k.$$("i",y).forEach(function(t){r.events.on(t,"mousedown touchstart",function(e){if(!a||!a.parentNode)return j(),!1;i=t,e.preventDefault(),e.stopImmediatePropagation(),u=(c=a.offsetWidth)/(d=a.offsetHeight),g=!0,s=e.clientX,l=e.clientY,r.events.fire("hidePopup"),r.lock("resizer")})}),r.events.on("readonly",function(e){e&&j()}).on("beforeDestruct",function(){S.Dom.safeRemove(y)}).on("afterInit",function(){r.events.on(r.editor,"keydown",function(e){b&&e.which===T.KEY_DELETE&&a&&"table"!==a.tagName.toLowerCase()&&("JODIT"!==a.tagName?r.selection.select(a):(S.Dom.safeRemove(a),j(),e.preventDefault()))}).on(r.ownerWindow,"mousemove touchmove",function(e){if(g){if(h=e.clientX-s,v=e.clientY-l,!a)return;var t=i.className;"IMG"===a.tagName?(h?(p=c+(t.match(/left/)?-1:1)*h,f=Math.round(p/u)):(f=d+(t.match(/top/)?-1:1)*v,p=Math.round(f*u)),p>L.innerWidth(r.editor,r.ownerWindow)&&(p=L.innerWidth(r.editor,r.ownerWindow),f=Math.round(p/u))):(p=c+(t.match(/left/)?-1:1)*h,f=d+(t.match(/top/)?-1:1)*v),r.options.resizer.min_width<p&&(a.style.width=p<y.parentNode.offsetWidth?p+"px":"100%"),r.options.resizer.min_height<f&&(a.style.height=f+"px"),E(),o=a.offsetWidth,n=a.offsetHeight,r.options.resizer.showSize&&(o<w.offsetWidth||n<w.offsetHeight?C():(w.style.opacity="1",w.innerHTML=o+" x "+n,clearTimeout(_),_=D.setTimeout(C,r.options.resizer.hideSizeTimeout))),e.stopImmediatePropagation()}var o,n}).on(r.ownerWindow,"resize",function(){b&&E()}).on(r.ownerWindow,"mouseup keydown touchend",function(e){b&&!m&&(g?(r.unlock(),g=!1,r.setEditorValue(),e.stopImmediatePropagation()):j())}).on([r.ownerWindow,r.editor],"scroll",function(){b&&!g&&j()})}).on("afterGetValueFromEditor",function(e){e.value=e.value.replace(/<jodit[^>]+data-jodit_iframe_wrapper[^>]+>(.*?<iframe[^>]+>[\s\n\r]*<\/iframe>.*?)<\/jodit>/gi,"$1")}).on("hideResizer",j).on("change afterInit afterSetMode",D.debounce(function(){b&&(a&&a.parentNode?E():j()),r.isDestructed||k.$$("img, table, iframe",r.editor).forEach(function(e){r.getMode()!==T.MODE_SOURCE&&!e.__jodit_resizer_binded&&("IFRAME"===e.tagName&&r.options.useIframeResizer||"IMG"===e.tagName&&r.options.useImageResizer||"TABLE"===e.tagName&&r.options.useTableResizer)&&(e.__jodit_resizer_binded=!0,function(t){var e,o;if("IFRAME"===t.tagName){var n=t;t=t.parentNode&&t.parentNode.getAttribute("data-jodit_iframe_wrapper")?t.parentNode:((e=r.create.inside.fromHTML('<jodit data-jodit-temp="1" contenteditable="false" draggable="true" data-jodit_iframe_wrapper="1"></jodit>')).style.display="inline-block"===t.style.display?"inline-block":"block",e.style.width=t.offsetWidth+"px",e.style.height=t.offsetHeight+"px",t.parentNode&&t.parentNode.insertBefore(e,t),e.appendChild(t),e),r.events.off(t,"mousedown.select touchstart.select").on(t,"mousedown.select touchstart.select",function(){r.selection.select(t)}),r.events.off(t,"changesize").on(t,"changesize",function(){n.setAttribute("width",t.offsetWidth+"px"),n.setAttribute("height",t.offsetHeight+"px")})}r.events.on(t,"dragstart",j).on(t,"mousedown",function(e){x.IS_IE&&"IMG"===t.nodeName&&e.preventDefault()}).on(t,"mousedown touchstart",function(){m||(m=!0,a=t,r.options.readonly||(y.parentNode||r.workplace.appendChild(y),b=!0,y.style.display="block",r.isFullSize()&&(y.style.zIndex=""+M.css(r.container,"zIndex")),E()),"IMG"!==a.tagName||a.complete||a.addEventListener("load",function e(){E(),a&&a.removeEventListener("load",e)}),clearTimeout(o)),o=D.setTimeout(function(){m=!1},400)})}(e))})},r.defaultTimeout))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),u=o(4),f=o(8);n.Config.prototype.allowResizeX=!1,n.Config.prototype.allowResizeY=!0,t.size=function(n){var o=function(e){f.css(n.container,"height",e),n.options.saveHeightInStorage&&n.storage.set("height",e)},i=function(e){return f.css(n.container,"width",e)},t=function(e){return f.css(n.workplace,"height",e)};if("auto"!==n.options.height&&(n.options.allowResizeX||n.options.allowResizeY)){var r=n.create.div("jodit_editor_resize",'<a href="javascript:void(0)"></a>'),a={x:0,y:0,w:0,h:0},s=!1;n.events.on(r,"mousedown touchstart",function(e){s=!0,a.x=e.clientX,a.y=e.clientY,a.w=n.container.offsetWidth,a.h=n.container.offsetHeight,n.lock(),e.preventDefault()}).on(n.ownerWindow,"mousemove touchmove",u.throttle(function(e){s&&(n.options.allowResizeY&&o(a.h+e.clientY-a.y),n.options.allowResizeX&&i(a.w+e.clientX-a.x),c(),n.events.fire("resize"))},n.defaultTimeout/10)).on(n.ownerWindow,"mouseup touchsend",function(){s&&(s=!1,n.unlock())}).on("afterInit",function(){n.container.appendChild(r)}).on("toggleFullSize",function(e){r.style.display=e?"none":"block"})}var e=function(){return(n.options.toolbar?n.toolbar.container.offsetHeight:0)+(n.statusbar?n.statusbar.container.offsetHeight:0)},l=function(){if(n.container&&n.container.parentNode){var o=f.css(n.container,"minHeight")-e();[n.workplace,n.iframe,n.editor].map(function(e){var t=e===n.editor?o-2:o;e&&f.css(e,"minHeight",t),n.events.fire("setMinHeight",t)})}},c=function(){n&&!n.isDestructed&&n.options&&!n.options.inline&&(l(),n.container&&("auto"!==n.options.height||n.isFullSize())&&t(n.container.offsetHeight-e()))},d=u.debounce(c,n.defaultTimeout);n.events.on("toggleFullSize",function(e){e||"auto"!==n.options.height||(t("auto"),l())}).on("afterInit",function(){n.options.inline||(f.css(n.editor,{minHeight:"100%"}),f.css(n.container,{minHeight:n.options.minHeight,minWidth:n.options.minWidth,maxWidth:n.options.maxWidth}));var e=n.options.height;if(n.options.saveHeightInStorage&&"auto"!==e){var t=n.storage.get("height");t&&(e=t)}n.options.inline||(o(e),i(n.options.width)),c()},void 0,void 0,!0).on(window,"load",d).on("afterInit resize updateToolbar scroll afterResize",d)}},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),u=o(2),s=o(2),a=o(6),l=o(48),c=o(4),f=o(9),d=o(8),p=o(0);r.Config.prototype.beautifyHTML=!0,r.Config.prototype.useAceEditor=!0,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.3.3/ace.js"],r.Config.prototype.beautifyHTMLCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.7.5/beautify.min.js","https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.7.5/beautify-html.min.js"],r.Config.prototype.controls.source={mode:u.MODE_SPLIT,exec:function(e){e.toggleMode()},isActive:function(e){return e.getRealMode()===u.MODE_SOURCE},tooltip:"Change mode"};var h=function(e){function t(){var a=null!==e&&e.apply(this,arguments)||this;return a.className="jodit_ace_editor",a.__lock=!1,a.__oldMirrorValue="",a.autosize=c.debounce(function(){a.mirror.style.height="auto",a.mirror.style.height=a.mirror.scrollHeight+"px"},a.jodit.defaultTimeout),a.tempMarkerStart="{start-jodit-selection}",a.tempMarkerStartReg=/{start-jodit-selection}/g,a.tempMarkerEnd="{end-jodit-selection}",a.tempMarkerEndReg=/{end-jodit-selection}/g,a.selInfo=[],a.lastTuple=null,a.loadNext=function(e,t,o,n){if(void 0===o&&(o="aceReady"),void 0===n&&(n=a.className),o&&void 0===t[e]&&!a.isDestructed)return a.jodit&&a.jodit.events&&a.jodit.events.fire(o),void(a.jodit&&a.jodit.events&&a.jodit.events.fire(a.jodit.ownerWindow,o));void 0!==t[e]&&(a.lastTuple&&a.lastTuple.element.removeEventListener("load",a.lastTuple.callback),a.lastTuple=l.appendScript(t[e],function(){a.isDestructed||a.loadNext(e+1,t,o,n)},n,a.jodit.ownerDocument))},a.insertHTML=function(e){if(a.mirror.selectionStart||0===a.mirror.selectionStart){var t=a.mirror.selectionEnd;a.mirror.value=a.mirror.value.substring(0,a.mirror.selectionStart)+e+a.mirror.value.substring(t,a.mirror.value.length)}else a.mirror.value+=a.mirror;a.toWYSIWYG()},a.fromWYSIWYG=function(e){if(void 0===e&&(e=!1),!a.__lock||!0===e){a.__lock=!0;var t=a.jodit.getEditorValue(!1);t!==a.getMirrorValue()&&a.setMirrorValue(t),a.__lock=!1}},a.toWYSIWYG=function(){if(!a.__lock){var e=a.getMirrorValue();e!==a.__oldMirrorValue&&(a.__lock=!0,a.jodit.setEditorValue(e),a.__lock=!1,a.__oldMirrorValue=e)}},a.getNormalPosition=function(e,t){for(var o=e;0<o;){if("<"===t[--o]&&void 0!==t[o+1]&&t[o+1].match(/[\w\/]+/i))return o;if(">"===t[o])return e}return e},a.__clear=function(e){return e.replace(u.INVISIBLE_SPACE_REG_EXP,"")},a.selectAll=function(){a.mirror.select()},a.onSelectAll=function(e){if("selectall"===e.toLowerCase()&&a.jodit.getRealMode()===s.MODE_SOURCE)return a.selectAll(),!1},a.getSelectionStart=function(){return a.mirror.selectionStart},a.getSelectionEnd=function(){return a.mirror.selectionEnd},a.saveSelection=function(){if(a.jodit.getRealMode()===u.MODE_WYSIWYG)a.selInfo=a.jodit.selection.save()||[],a.jodit.setEditorValue(),a.fromWYSIWYG(!0);else{a.selInfo.length=0;var e=a.getMirrorValue();if(a.getSelectionStart()===a.getSelectionEnd()){var t=a.jodit.selection.marker(!0);a.selInfo[0]={startId:t.id,collapsed:!0,startMarker:t.outerHTML};var o=a.getNormalPosition(a.getSelectionStart(),a.getMirrorValue());a.setMirrorValue(e.substr(0,o)+a.__clear(a.selInfo[0].startMarker)+e.substr(o))}else{var n=a.jodit.selection.marker(!0),i=a.jodit.selection.marker(!1);a.selInfo[0]={startId:n.id,endId:i.id,collapsed:!1,startMarker:a.__clear(n.outerHTML),endMarker:a.__clear(i.outerHTML)},o=a.getNormalPosition(a.getSelectionStart(),e);var r=a.getNormalPosition(a.getSelectionEnd(),e);a.setMirrorValue(e.substr(0,o)+a.selInfo[0].startMarker+e.substr(o,r-o)+a.selInfo[0].endMarker+e.substr(r))}a.toWYSIWYG()}},a.restoreSelection=function(){if(a.selInfo.length){if(a.jodit.getRealMode()===u.MODE_WYSIWYG)return a.__lock=!0,a.jodit.selection.restore(a.selInfo),void(a.__lock=!1);var e=a.getMirrorValue(),t=0,o=0;try{a.selInfo[0].startMarker&&(e=e.replace(/<span[^>]+data-jodit_selection_marker="start"[^>]*>[<>]*?<\/span>/gim,a.tempMarkerStart)),a.selInfo[0].endMarker&&(e=e.replace(/<span[^>]+data-jodit_selection_marker="end"[^>]*>[<>]*?<\/span>/gim,a.tempMarkerEnd)),a.jodit.ownerWindow.html_beautify&&a.jodit.options.beautifyHTML&&(e=a.jodit.ownerWindow.html_beautify(e)),o=t=e.indexOf(a.tempMarkerStart),e=e.replace(a.tempMarkerStartReg,""),a.selInfo[0].collapsed&&-1!==t||(o=e.indexOf(a.tempMarkerEnd),-1===t&&(t=o)),e=e.replace(a.tempMarkerEndReg,"")}finally{e=e.replace(a.tempMarkerEndReg,"").replace(a.tempMarkerStartReg,"")}a.setMirrorValue(e),a.setMirrorSelectionRange(t,o),a.toWYSIWYG(),a.setFocusToMirror()}},a.__proxyOnFocus=function(e){a.jodit.events.fire("focus",e)},a.__proxyOnMouseDown=function(e){a.jodit.events.fire("mousedown",e)},a.setMirrorSelectionRange=function(e,t){a.mirror.setSelectionRange(e,t)},a.onReadonlyReact=function(){var e=a.jodit.options.readonly;e?a.mirror.setAttribute("readonly","true"):a.mirror.removeAttribute("readonly"),a.aceEditor&&a.aceEditor.setReadOnly(e)},a}return i(t,e),t.prototype.getMirrorValue=function(){return this.mirror.value},t.prototype.setMirrorValue=function(e){this.mirror.value=e},t.prototype.setFocusToMirror=function(){this.mirror.focus()},t.prototype.replaceMirrorToACE=function(){var r,t,o=this,n=this.jodit,i=function(){t&&n.getRealMode()===u.MODE_SOURCE&&(n.events.fire("canRedo",t.hasRedo()),n.events.fire("canUndo",t.hasUndo()))},a=function(e){return r.session.getLine(e).length},s=function(){for(var e=r.session.getLength(),t=[],o=0,n=0;n<e;n++)o+=a(n),0<n&&(o+=1),t[n]=o;return t},l=function(e){var t=s();if(e<=t[0])return{row:0,column:e};for(var o=1,n=1;n<t.length;n++)t[n]<e&&(o=n+1);return{row:o,column:e-t[o-1]-1}},c=function(e,t){return s()[e]-a(e)+t},d=function(){if(void 0===r&&void 0!==o.jodit.ownerWindow.ace){o.jodit.events.off(o.jodit.ownerWindow,"aceReady",d);var e=o.jodit.create.div("jodit_source_mirror-fake");o.mirrorContainer.insertBefore(e,o.mirrorContainer.firstChild),o.aceEditor=r=o.jodit.ownerWindow.ace.edit(e),r.setTheme(n.options.sourceEditorNativeOptions.theme),r.renderer.setShowGutter(n.options.sourceEditorNativeOptions.showGutter),r.getSession().setMode(n.options.sourceEditorNativeOptions.mode),r.setHighlightActiveLine(n.options.sourceEditorNativeOptions.highlightActiveLine),r.getSession().setUseWrapMode(!0),r.setOption("indentedSoftWrap",!1),r.setOption("wrap",n.options.sourceEditorNativeOptions.wrap),r.getSession().setUseWorker(!1),r.$blockScrolling=1/0,r.setOptions({maxLines:1/0}),r.on("change",o.toWYSIWYG),r.on("focus",o.__proxyOnFocus),r.on("mousedown",o.__proxyOnMouseDown),o.mirror.style.display="none",t=r.getSession().getUndoManager(),o.setMirrorValue=function(e){r.setValue(n.options.beautifyHTML&&n.ownerWindow.html_beautify?n.ownerWindow.html_beautify(e):e),r.clearSelection(),i()},o.jodit.getRealMode()!==u.MODE_WYSIWYG&&o.setMirrorValue(o.getMirrorValue()),o.getMirrorValue=function(){return r.getValue()},o.setFocusToMirror=function(){r.focus()},o.getSelectionStart=function(){var e=r.selection.getRange();return c(e.start.row,e.start.column)},o.getSelectionEnd=function(){var e=r.selection.getRange();return c(e.end.row,e.end.column)},o.selectAll=function(){r.selection.selectAll()},o.insertHTML=function(e){var t=r.selection.getCursor(),o=r.session.insert(t,e);r.selection.setRange({start:t,end:o},!1)},o.setMirrorSelectionRange=function(e,t){var o,n,i;o=t,n=l(e),i=l(o),r.getSelection().setSelectionRange({start:n,end:i})},n.events.on("afterResize",function(){r.resize()}).fire("aceInited",n)}};n.events.on(this.jodit.ownerWindow,"aceReady",d).on("aceReady",d).on("afterSetMode",function(){n.getRealMode()!==u.MODE_SOURCE&&n.getMode()!==u.MODE_SPLIT||(o.fromWYSIWYG(),d())}).on("beforeCommand",function(e){if(n.getRealMode()!==u.MODE_WYSIWYG&&("redo"===e||"undo"===e)&&t)return t["has"+e.substr(0,1).toUpperCase()+e.substr(1)]&&r[e](),i(),!1}),d(),void 0!==this.jodit.ownerWindow.ace||f.$$("script."+this.className,this.jodit.ownerDocument.body).length||this.loadNext(0,n.options.sourceEditorCDNUrlsJS,"aceReady",this.className)},t.prototype.afterInit=function(t){var o=this;this.mirrorContainer=t.create.div("jodit_source"),this.mirror=t.create.fromHTML('<textarea class="jodit_source_mirror"/>');var e=function(){t.events.off("beforeSetMode.source afterSetMode.source").on("beforeSetMode.source",o.saveSelection).on("afterSetMode.source",o.restoreSelection)};e(),this.onReadonlyReact(),t.events.on(this.mirror,"mousedown keydown touchstart input",c.debounce(this.toWYSIWYG,t.defaultTimeout)).on(this.mirror,"change keydown mousedown touchstart input",this.autosize).on("afterSetMode.source",this.autosize).on(this.mirror,"mousedown focus",function(e){t.events.fire(e.type,e)}),t.events.on("setMinHeight.source",function(e){o.mirror&&d.css(o.mirror,"minHeight",e)}).on("insertHTML.source",function(e){if(!t.options.readonly&&!o.jodit.isEditorMode())return o.insertHTML(e),!1}).on("aceInited",function(){o.onReadonlyReact(),e()},void 0,void 0,!0).on("readonly.source",this.onReadonlyReact).on("placeholder.source",function(e){o.mirror.setAttribute("placeholder",e)}).on("beforeCommand.source",this.onSelectAll).on("change.source",this.fromWYSIWYG),this.mirrorContainer.appendChild(this.mirror),t.workplace.appendChild(this.mirrorContainer),this.autosize();var n="beutyfy_html_jodit_helper";t.options.beautifyHTML&&void 0===t.ownerWindow.html_beautify&&!f.$$("script."+n,t.ownerDocument.body).length&&this.loadNext(0,t.options.beautifyHTMLCDNUrlsJS,!1,n),t.options.useAceEditor&&this.replaceMirrorToACE(),this.fromWYSIWYG()},t.prototype.beforeDestruct=function(e){p.Dom.safeRemove(this.mirrorContainer),p.Dom.safeRemove(this.mirror),e&&e.events&&e.events.off("aceInited.source"),this.aceEditor&&(this.setFocusToMirror=function(){},this.aceEditor.off("change",this.toWYSIWYG),this.aceEditor.off("focus",this.__proxyOnFocus),this.aceEditor.off("mousedown",this.__proxyOnMouseDown),this.aceEditor.destroy(),delete this.aceEditor),this.lastTuple&&this.lastTuple.element.removeEventListener("load",this.lastTuple.callback)},t}(a.Plugin);t.source=h},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),f=o(2),l=o(19);n.Config.prototype.usePopupForSpecialCharacters=!1,n.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","{","|","}","~","€","‘","’","“","”","–","—","¡","¢","£","¤","¥","¦","§","¨","©","ª","«","»","¬","®","¯","°","²","³","´","µ","¶","·","¸","¹","º","¼","½","¾","¿","À","Á","Â","Ã","Ä","Å","Æ","Ç","È","É","Ê","Ë","Ì","Í","Î","Ï","Ð","Ñ","Ò","Ó","Ô","Õ","Ö","×","Ø","Ù","Ú","Û","Ü","Ý","Þ","ß","à","á","â","ã","ä","å","æ","ç","è","é","ê","ë","ì","í","î","ï","ð","ñ","ò","ó","ô","õ","ö","÷","ø","ù","ú","û","ü","ý","þ","ÿ","Œ","œ","Ŵ","Ŷ","ŵ","ŷ","‚","‛","„","…","™","►","•","→","⇒","⇔","♦","≈"],n.Config.prototype.controls.symbol={icon:"omega",hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup:function(e,t,o,n){var i=e.events.fire("generateSpecialCharactersTable.symbols");if(i){if(e.options.usePopupForSpecialCharacters){var r=e.ownerDocument.createElement("div");return r.classList.add("jodit_symbols"),r.appendChild(i),e.events.on(i,"close_dialog",n),r}var a=l.Alert(i,e.i18n("Select Special Character"),void 0,"jodit_symbols"),s=i.querySelector("a");s&&s.focus(),e.events.on("beforeDestruct",function(){a&&a.close()})}}},t.symbols=function(d){var u=this;this.countInRow=17,d.events.on("generateSpecialCharactersTable.symbols",function(){for(var e=d.create.fromHTML('<div class="jodit_symbols-container"><div class="jodit_symbols-container_table"><table><tbody></tbody></table></div><div class="jodit_symbols-container_preview"><div class="jodit_symbols-preview"></div></div></div>'),t=e.querySelector(".jodit_symbols-preview"),o=e.querySelector("table").tBodies[0],r=[],n=0;n<d.options.specialCharacters.length;){for(var i=d.create.element("tr"),a=0;a<u.countInRow&&n<d.options.specialCharacters.length;a+=1,n+=1){var s=d.create.element("td"),l=d.create.fromHTML('<a\n data-index="'+n+'"\n data-index-j="'+a+'"\n href="javascript:void(0)"\n role="option"\n tabindex="-1"\n >'+d.options.specialCharacters[n]+"</a>");r.push(l),s.appendChild(l),i.appendChild(s)}o.appendChild(i)}var c=u;return d.events.on(r,"focus",function(){t.innerHTML=this.innerHTML}).on(r,"mousedown",function(e){this&&"A"===this.nodeName&&(d.selection.focus(),d.selection.insertHTML(this.innerHTML),d.events.fire(this,"close_dialog"),e&&e.preventDefault(),e&&e.stopImmediatePropagation())}).on(r,"mouseenter",function(){this&&"A"===this.nodeName&&this.focus()}).on(r,"keydown",function(e){var t=e.target;if(t&&"A"===t.nodeName){var o=parseInt(t.getAttribute("data-index")||"0",10),n=parseInt(t.getAttribute("data-index-j")||"0",10),i=void 0;switch(e.which){case f.KEY_UP:case f.KEY_DOWN:void 0===r[i=e.which===f.KEY_UP?o-c.countInRow:o+c.countInRow]&&r.length-1<(i=e.which===f.KEY_UP?Math.floor(r.length/c.countInRow)*c.countInRow+n:n)&&(i-=c.countInRow),r[i]&&r[i].focus();break;case f.KEY_RIGHT:case f.KEY_LEFT:void 0===r[i=e.which===f.KEY_LEFT?o-1:o+1]&&(i=e.which===f.KEY_LEFT?r.length-1:0),r[i]&&r[i].focus();break;case f.KEY_ENTER:d.events.fire(t,"mousedown"),e.stopImmediatePropagation(),e.preventDefault()}}}),e})}},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),a=o(6),s=o(17);r.Config.prototype.commandToHotkeys={removeFormat:["ctrl+shift+m","cmd+shift+m"],insertOrderedList:["ctrl+shift+7","cmd+shift+7"],insertUnorderedList:["ctrl+shift+8, cmd+shift+8"],selectall:["ctrl+a","cmd+a"]};var l=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.onKeyPress=function(t){var o=i.specialKeys[t.which],e=(t.key||String.fromCharCode(t.which)).toLowerCase(),n=[o||e];return["alt","ctrl","shift","meta"].forEach(function(e){t[e+"Key"]&&o!==e&&n.push(e)}),s.normalizeKeyAliases(n.join("+"))},i.specialKeys={8:"backspace",9:"tab",10:"return",13:"return",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",59:";",61:"=",91:"meta",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},i}return i(t,e),t.prototype.afterInit=function(o){var n=this;Object.keys(o.options.commandToHotkeys).forEach(function(e){var t=o.options.commandToHotkeys[e];t&&o.registerHotkeyToCommand(t,e)});var i=!1;o.events.on("keydown.hotkeys",function(e){var t=n.onKeyPress(e);if(!1===n.jodit.events.fire(t+".hotkey",e.type))return i=!0,o.events.stopPropagation("keydown"),!1},void 0,void 0,!0).on("keyup.hotkeys",function(){if(i)return i=!1,o.events.stopPropagation("keyup"),!1},void 0,void 0,!0)},t.prototype.beforeDestruct=function(e){e.events&&e.events.off(".hotkeys")},t}(a.Plugin);t.hotkeys=l},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),c=o(2),a=o(6),y=o(0),f=o(28),w=o(3),s=o(4);r.Config.prototype.useTableProcessor=!0,r.Config.prototype.useExtraClassesOptions=!0,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:function(d,e,n,u,t){var f,p,h,i,v=1,m=1,r=n.data&&n.data.rows?n.data.rows:10,g=n.data&&n.data.cols?n.data.cols:10,o=d.create.fromHTML('<form class="jodit_form jodit_form_inserter"><label><span>1</span> × <span>1</span></label><div class="jodit_form-table-creator-box"><div class="jodit_form-container"></div><div class="jodit_form-options">'+function(){if(!d.options.useExtraClassesOptions)return"";var t=[];if(n.data){var o=n.data.classList;Object.keys(o).forEach(function(e){t.push('<label><input value="'+e+'" type="checkbox"/>'+o[e]+"</label>")})}return t.join("")}()+"</div></div></form>"),a=o.querySelectorAll("span")[0],s=o.querySelectorAll("span")[1],l=o.querySelector(".jodit_form-container"),c=o.querySelector(".jodit_form-table-creator-box"),b=o.querySelector(".jodit_form-options"),_=[];return l.addEventListener("mousemove",function(e,t){var o=e.target;if(o&&"DIV"===o.tagName){for(h=void 0===t||isNaN(t)?parseInt(o.getAttribute("data-index")||"0",10):t||0,v=Math.ceil((h+1)/g),m=h%g+1,f=0;f<_.length;f+=1)_[f].className=m<f%g+1||v<Math.ceil((f+1)/g)?"":"hovered";s.innerText=""+m,a.innerText=""+v}}),d.events.on(l,"touchstart mousedown",function(e){var t=e.target,o=d.editorDocument;if(e.preventDefault(),e.stopImmediatePropagation(),"DIV"===t.tagName){h=parseInt(t.getAttribute("data-index")||"0",10),v=Math.ceil((h+1)/g),m=h%g+1;var n=o.createElement("table");n.style.width="100%";var i,r,a,s=null;for(f=1;f<=v;f+=1){for(i=o.createElement("tr"),p=1;p<=m;p+=1)r=o.createElement("td"),s||(s=r),a=o.createElement("br"),r.appendChild(a),i.appendChild(o.createTextNode("\n")),i.appendChild(o.createTextNode("\t")),i.appendChild(r);n.appendChild(o.createTextNode("\n")),n.appendChild(i)}var l=d.selection.current();if(l&&d.selection.isCollapsed()){var c=y.Dom.closest(l,function(e){return y.Dom.isBlock(e,d.editorWindow)},d.editor);c&&c!==d.editor&&!c.nodeName.match(/^TD|TH|TBODY|TABLE|THEADER|TFOOTER$/)&&d.selection.setCursorAfter(c)}w.$$("input[type=checkbox]:checked",b).forEach(function(e){e.value.split(/[\s]+/).forEach(function(e){n.classList.add(e)})}),d.selection.insertNode(o.createTextNode("\n")),d.selection.insertNode(n,!1),s&&(d.selection.setCursorIn(s),w.scrollIntoView(s,d.editor,d.editorDocument)),u()}}),t&&t.parentToolbar&&d.events.off(t.parentToolbar.container,"afterOpenPopup.tableGenerator").on(t.parentToolbar.container,"afterOpenPopup.tableGenerator",function(){!function(e){var t=r*g;if(t<_.length){for(f=t;f<_.length;f+=1)y.Dom.safeRemove(_[f]),delete _[f];_.length=t}for(f=0;f<t;f+=1)_[f]||((i=d.ownerDocument.createElement("div")).setAttribute("data-index",""+f),_.push(i));_.forEach(function(e){l.appendChild(e)});var o=(_[0].offsetWidth||18)*g;l.style.width=o+"px",c.style.width=o+b.offsetWidth+1+"px"}(),_[0]&&(_[0].className="hovered")},"",!0),o},tooltip:"Insert table"};var l=function(e){function u(){var a=null!==e&&e.apply(this,arguments)||this;return a.__key="table_processor_observer",a.__selectMode=!1,a.__resizerDelta=0,a.__drag=!1,a.__addResizer=function(){if(!a.__resizerHandler&&(a.__resizerHandler=a.jodit.container.querySelector(".jodit_table_resizer"),!a.__resizerHandler)){a.__resizerHandler=a.jodit.create.div("jodit_table_resizer");var r=0;a.jodit.events.on(a.__resizerHandler,"mousedown.table touchstart.table",function(e){a.__drag=!0,r=e.clientX,a.jodit.lock(a.__key),a.__resizerHandler.classList.add("jodit_table_resizer-moved");var n,t=a.__workTable.getBoundingClientRect();if(a.__minX=0,a.__maxX=1e6,null!==a.__wholeTable)t=a.__workTable.parentNode.getBoundingClientRect(),a.__minX=t.left,a.__maxX=t.left+t.width;else{var i=f.Table.formalCoordinate(a.__workTable,a.__workCell,!0);f.Table.formalMatrix(a.__workTable,function(e,t,o){i[1]===o&&(n=e.getBoundingClientRect(),a.__minX=Math.max(n.left+c.NEARBY/2,a.__minX)),i[1]+1===o&&(n=e.getBoundingClientRect(),a.__maxX=Math.min(n.left+n.width-c.NEARBY/2,a.__maxX))})}return!1}).on(a.__resizerHandler,"mouseenter.table",function(){clearTimeout(a.hideTimeout)}).on(a.jodit.editorWindow,"mousemove.table touchmove.table",function(e){if(a.__drag){var t=e.clientX,o=w.offset(a.__resizerHandler.parentNode||a.jodit.ownerDocument.documentElement,a.jodit,a.jodit.ownerDocument,!0);t<a.__minX&&(t=a.__minX),a.__maxX<t&&(t=a.__maxX),a.__resizerDelta=t-r+(a.jodit.options.iframe?o.left:0),a.__resizerHandler.style.left=t-(a.jodit.options.iframe?0:o.left)+"px",a.jodit.editorWindow.getSelection().removeAllRanges(),e.preventDefault&&e.preventDefault()}}),a.jodit.workplace.appendChild(a.__resizerHandler)}},a.onExecCommand=function(e){if(/table(splitv|splitg|merge|empty|bin|binrow|bincolumn|addcolumn|addrow)/.test(e)){e=e.replace("table","");var t=f.Table.getAllSelectedCells(a.jodit.editor);if(t.length){var o=t.shift();if(!o)return;var n=y.Dom.closest(o,"table",a.jodit.editor);switch(e){case"splitv":f.Table.splitVertical(n);break;case"splitg":f.Table.splitHorizontal(n);break;case"merge":f.Table.mergeSelected(n);break;case"empty":f.Table.getAllSelectedCells(a.jodit.editor).forEach(function(e){return e.innerHTML=""});break;case"bin":y.Dom.safeRemove(n);break;case"binrow":f.Table.removeRow(n,o.parentNode.rowIndex);break;case"bincolumn":f.Table.removeColumn(n,o.cellIndex);break;case"addcolumnafter":case"addcolumnbefore":f.Table.appendColumn(n,o.cellIndex,"addcolumnafter"===e);break;case"addrowafter":case"addrowbefore":f.Table.appendRow(n,o.parentNode,"addrowafter"===e)}}return!1}},a}return i(u,e),u.isCell=function(e){return!!e&&/^TD|TH$/i.test(e.nodeName)},u.prototype.showResizer=function(){clearTimeout(this.hideTimeout),this.__resizerHandler.style.display="block"},u.prototype.hideResizer=function(){var e=this;clearTimeout(this.hideTimeout),this.hideTimeout=s.setTimeout(function(){e.__resizerHandler.style.display="none"},this.jodit.defaultTimeout)},u.prototype.__deSelectAll=function(e,t){var o=f.Table.getAllSelectedCells(e||this.jodit.editor);o.length&&o.forEach(function(e){t&&t===e||f.Table.restoreSelection(e)})},u.prototype.__setWorkCell=function(e,t){void 0===t&&(t=null),this.__wholeTable=t,this.__workCell=e,this.__workTable=y.Dom.up(e,function(e){return e&&"TABLE"===e.nodeName},this.jodit.editor)},u.prototype.__calcResizerPosition=function(e,t,o,n){void 0===o&&(o=0),void 0===n&&(n=0);var i=w.offset(t,this.jodit,this.jodit.editorDocument);if(c.NEARBY<o&&c.NEARBY<i.width-o)this.hideResizer();else{var r=w.offset(this.__resizerHandler.parentNode||this.jodit.ownerDocument.documentElement,this.jodit,this.jodit.ownerDocument,!0),a=w.offset(e,this.jodit,this.jodit.editorDocument);if(this.__resizerHandler.style.left=(c.NEARBY<o?i.left+i.width:i.left)-r.left+n+"px",this.__resizerHandler.style.height=a.height+"px",this.__resizerHandler.style.top=a.top-r.top+"px",this.showResizer(),c.NEARBY<o){var s=y.Dom.next(t,u.isCell,t.parentNode);this.__setWorkCell(t,!!s&&null)}else{var l=y.Dom.prev(t,u.isCell,t.parentNode);l?this.__setWorkCell(l):this.__setWorkCell(t,!0)}}},u.prototype.observe=function(l){var c,d=this;l[this.__key]=!0,this.jodit.events.on(l,"mousedown.table touchstart.table",function(e){if(!d.jodit.options.readonly){var t=y.Dom.up(e.target,u.isCell,l);t&&t instanceof d.jodit.editorWindow.HTMLElement&&(t.firstChild||t.appendChild(d.jodit.editorDocument.createElement("br")),f.Table.addSelected(c=t),d.__selectMode=!0)}}).on(l,"mouseleave.table",function(e){d.__resizerHandler&&d.__resizerHandler!==e.relatedTarget&&d.hideResizer()}).on(l,"mousemove.table touchmove.table",function(e){if(!d.jodit.options.readonly&&!d.__drag&&!d.jodit.isLockedNotBy(d.__key)){var t=y.Dom.up(e.target,u.isCell,l);if(t)if(d.__selectMode){t!==c&&(d.jodit.lock(d.__key),d.jodit.editorWindow.getSelection().removeAllRanges(),e.preventDefault&&e.preventDefault()),d.__deSelectAll(l);for(var o=f.Table.getSelectedBound(l,[t,c]),n=f.Table.formalMatrix(l),i=o[0][0];i<=o[1][0];i+=1)for(var r=o[0][1];r<=o[1][1];r+=1)f.Table.addSelected(n[i][r]);var a=n[o[1][0]][o[1][1]],s=n[o[0][0]][o[0][1]];d.jodit.events.fire("showPopup",l,function(){var e=w.offset(s,d.jodit,d.jodit.editorDocument),t=w.offset(a,d.jodit,d.jodit.editorDocument);return{left:e.left,top:e.top,width:t.left-e.left+t.width,height:t.top-e.top+t.height}}),e.stopPropagation()}else d.__calcResizerPosition(l,t,e.offsetX)}}),this.__addResizer()},u.prototype.afterInit=function(r){var a=this;r.options.useTableProcessor&&r.events.on(this.jodit.ownerWindow,"mouseup.table touchend.table",function(){if((a.__selectMode||a.__drag)&&(a.__selectMode=!1,a.jodit.unlock()),a.__resizerHandler&&a.__drag){if(a.__drag=!1,a.__resizerHandler.classList.remove("jodit_table_resizer-moved"),null===a.__wholeTable){var e=[];f.Table.setColumnWidthByDelta(a.__workTable,f.Table.formalCoordinate(a.__workTable,a.__workCell,!0)[1],a.__resizerDelta,!0,e);var t=y.Dom.next(a.__workCell,u.isCell,a.__workCell.parentNode);f.Table.setColumnWidthByDelta(a.__workTable,f.Table.formalCoordinate(a.__workTable,t)[1],-a.__resizerDelta,!1,e)}else{var o=a.__workTable.offsetWidth,n=w.getContentWidth(a.__workTable.parentNode,a.jodit.editorWindow);if(a.__wholeTable){var i=parseInt(a.jodit.editorWindow.getComputedStyle(a.__workTable).marginLeft||"0",10);a.__workTable.style.width=(o-a.__resizerDelta)/n*100+"%",a.__workTable.style.marginLeft=(i+a.__resizerDelta)/n*100+"%"}else a.__workTable.style.width=(o+a.__resizerDelta)/n*100+"%"}r.setEditorValue(),r.selection.focus()}}).on(this.jodit.ownerWindow,"scroll.table",function(){if(a.__drag){var e=y.Dom.up(a.__workCell,function(e){return e&&"TABLE"===e.nodeName},r.editor);if(e){var t=e.getBoundingClientRect();a.__resizerHandler.style.top=t.top+"px"}}}).on(this.jodit.ownerWindow,"mousedown.table touchend.table",function(e){var t=y.Dom.closest(e.originalEvent.target,"TD|TH",a.jodit.editor),o=null;t instanceof a.jodit.editorWindow.HTMLTableCellElement&&(o=y.Dom.closest(t,"table",a.jodit.editor)),o?a.__deSelectAll(o,t instanceof a.jodit.editorWindow.HTMLTableCellElement&&t):a.__deSelectAll()}).on("afterGetValueFromEditor.table",function(e){e.value=e.value.replace(RegExp("([s]*)"+c.JODIT_SELECTED_CELL_MARKER+'="1"',"g"),"")}).on("change.table afterCommand.table afterSetMode.table",function(){w.$$("table",r.editor).forEach(function(e){e[a.__key]||a.observe(e)})}).on("beforeSetMode.table",function(){f.Table.getAllSelectedCells(r.editor).forEach(function(e){f.Table.restoreSelection(e),f.Table.normalizeTable(y.Dom.closest(e,"table",r.editor))})}).on("keydown.table",function(e){e.which===c.KEY_TAB&&w.$$("table",r.editor).forEach(function(e){a.__deSelectAll(e)})}).on("beforeCommand.table",this.onExecCommand.bind(this))},u.prototype.beforeDestruct=function(e){e.events&&(e.events.off(this.jodit.ownerWindow,".table"),e.events.off(".table"))},u}(a.Plugin);t.TableProcessor=l},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var p=o(2),h=o(0),v=o(28);t.tableKeyboardNavigation=function(f){f.events.on("keydown",function(t){var e,n;if((t.which===p.KEY_TAB||t.which===p.KEY_LEFT||t.which===p.KEY_RIGHT||t.which===p.KEY_UP||t.which===p.KEY_DOWN)&&(e=f.selection.current(),n=h.Dom.up(e,function(e){return e&&e.nodeName&&/^td|th$/i.test(e.nodeName)},f.editor))){var o=f.editorWindow.getSelection(),i=o.rangeCount?o.getRangeAt(0):f.editorDocument.createRange();if(t.which===p.KEY_TAB||e===n||(t.which!==p.KEY_LEFT&&t.which!==p.KEY_UP||!(h.Dom.prev(e,function(e){return t.which===p.KEY_UP?e&&"BR"===e.nodeName:!!e},n)||t.which!==p.KEY_UP&&e.nodeType===Node.TEXT_NODE&&0!==i.startOffset))&&(t.which!==p.KEY_RIGHT&&t.which!==p.KEY_DOWN||!(h.Dom.next(e,function(e){return t.which===p.KEY_DOWN?e&&"BR"===e.nodeName:!!e},n)||t.which!==p.KEY_DOWN&&e.nodeType===Node.TEXT_NODE&&e.nodeValue&&i.startOffset!==e.nodeValue.length))){var r=h.Dom.up(n,function(e){return e&&/^table$/i.test(e.nodeName)},f.editor),a=null;switch(t.which){case p.KEY_TAB:case p.KEY_LEFT:var s=t.which===p.KEY_LEFT||t.shiftKey?"prev":"next";(a=h.Dom[s](n,function(e){return e&&/^td|th$/i.test(e.tagName)},r))||(v.Table.appendRow(r,"next"!==s&&r.querySelector("tr"),"next"===s),a=h.Dom[s](n,function(e){return e&&h.Dom.isCell(e,f.editorWindow)},r));break;case p.KEY_UP:case p.KEY_DOWN:var l=0,c=0,d=v.Table.formalMatrix(r,function(e,t,o){e===n&&(l=t,c=o)});t.which===p.KEY_UP?void 0!==d[l-1]&&(a=d[l-1][c]):void 0!==d[l+1]&&(a=d[l+1][c])}if(a){if(a.firstChild)t.which===p.KEY_TAB?f.selection.select(a,!0):f.selection.setCursorIn(a,t.which===p.KEY_RIGHT||t.which===p.KEY_DOWN);else{var u=f.editorDocument.createElement("br");a.appendChild(u),f.selection.setCursorBefore(u)}return!1}}}})}},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),u=o(2),a=o(2),h=o(0),s=o(5),l=o(6),c=o(4),v=o(10);r.Config.prototype.useSearch=!0;var d=function(e){function p(){var f=null!==e&&e.apply(this,arguments)||this;return f.template='<div class="jodit_search"><div class="jodit_search_box"><div class="jodit_search_inputs"><input tabindex="0" class="jodit_search-query" placeholder="'+f.jodit.i18n("Search for")+'" type="text"/><input tabindex="0" class="jodit_search-replace" placeholder="'+f.jodit.i18n("Replace with")+'" type="text"/></div><div class="jodit_search_counts"><span>0/0</span></div><div class="jodit_search_buttons"><button tabindex="0" type="button" class="jodit_search_buttons-next">'+s.ToolbarIcon.getIcon("angle-down")+'</button><button tabindex="0" type="button" class="jodit_search_buttons-prev">'+s.ToolbarIcon.getIcon("angle-up")+'</button><button tabindex="0" type="button" class="jodit_search_buttons-cancel">'+s.ToolbarIcon.getIcon("cancel")+'</button><button tabindex="0" type="button" class="jodit_search_buttons-replace">'+f.jodit.i18n("Replace")+"</button></div></div></div>",f.isOpened=!1,f.selInfo=null,f.current=!1,f.eachMap=function(e,t,o){h.Dom.findWithCurrent(e,function(e){return!!e&&t(e)},f.jodit.editor,o?"nextSibling":"previousSibling",o?"firstChild":"lastChild")},f.updateCounters=function(){if(f.isOpened){f.counterBox.style.display=f.queryInput.value.length?"inline-block":"none";var e=f.jodit.editorWindow.getSelection(),t=e.rangeCount?e.getRangeAt(0):f.jodit.editorDocument.createRange(),o=f.calcCounts(f.queryInput.value,t);f.counterBox.innerText=o.join("/")}},f.calcCounts=function(e,t){void 0===t&&(t=!1);for(var o=[],n=0,i=0,r=!1,a=f.jodit.editor.firstChild;a&&e.length;)if(r=f.find(a,e,!0,0,r||f.jodit.editorDocument.createRange())){if(f.boundAlreadyWas(r,o))break;o.push(r),a=r.startContainer,i+=1,t&&f.boundAlreadyWas(t,[r])&&(n=i)}else a=null;return[n,i]},f.findAndReplace=function(e,t){var o=f.jodit.editorWindow.getSelection(),n=o.rangeCount?o.getRangeAt(0):f.jodit.editorDocument.createRange(),i=f.find(e,t,!0,0,n);if(i&&i.startContainer&&i.endContainer){var r=f.jodit.editorDocument.createRange();try{if(i&&i.startContainer&&i.endContainer){r.setStart(i.startContainer,i.startOffset),r.setEnd(i.endContainer,i.endOffset),r.deleteContents();var a=f.jodit.editorDocument.createTextNode(f.replaceInput.value);r.insertNode(a),f.jodit.selection.select(a),f.tryScrollToElement(a)}}catch(e){}return!0}return!1},f.findAndSelect=function(e,t,o){var n=f.jodit.selection.sel,i=n.rangeCount?n.getRangeAt(0):f.jodit.selection.createRange(),r=f.find(e,t,o,0,i);if(r&&r.startContainer&&r.endContainer){var a=f.jodit.editorDocument.createRange();try{a.setStart(r.startContainer,r.startOffset),a.setEnd(r.endContainer,r.endOffset),f.jodit.selection.selectRange(a)}catch(e){}return f.tryScrollToElement(r.startContainer),f.current=r.startContainer,f.updateCounters(),!0}return!1},f.find=function(e,a,s,l,c){if(e&&a.length){var d="",u={startContainer:null,startOffset:null,endContainer:null,endOffset:null};if(f.eachMap(e,function(e){if(e.nodeType===Node.TEXT_NODE&&null!==e.nodeValue&&e.nodeValue.length){var t=e.nodeValue;s||e!==c.startContainer?s&&e===c.endContainer&&(t=l?t.substr(0,c.startOffset):t.substr(c.endOffset)):t=l?t.substr(c.endOffset):t.substr(0,c.startOffset);var o=s?d+t:t+d,n=p.findSomePartOfString(a,o,s);if(!1!==n){var i=p.findSomePartOfString(a,t,s);!0===i?i=v.trim(a):!1===i&&!0===(i=p.findSomePartOfString(t,a,s))&&(i=v.trim(t));var r=p.getSomePartOfStringIndex(a,t,s)||0;if((s&&!l||!s&&l)&&0<e.nodeValue.length-t.length&&(r+=e.nodeValue.length-t.length),null===u.startContainer&&(u.startContainer=e,u.startOffset=r),!0===n)return u.endContainer=e,u.endOffset=r,u.endOffset+=i.length,!0;d=o}else d="",u={startContainer:null,startOffset:null,endContainer:null,endOffset:null}}else h.Dom.isBlock(e,f.jodit.editorWindow)&&""!==d&&(d=s?d+" ":" "+d);return!1},s),u.startContainer&&u.endContainer)return u;if(!l)return f.current=s?f.jodit.editor.firstChild:f.jodit.editor.lastChild,f.find(f.current,a,s,l+1,c)}return!1},f.open=function(e){void 0===e&&(e=!1),f.isOpened||(f.searchBox.classList.add("jodit_search-active"),f.isOpened=!0),f.jodit.events.fire("hidePopup"),f.searchBox.classList.toggle("jodit_search-and-replace",e),f.current=f.jodit.selection.current(),f.selInfo=f.jodit.selection.save();var t=""+f.jodit.selection.sel;t&&(f.queryInput.value=t),f.updateCounters(),t?f.queryInput.select():f.queryInput.focus()},f.close=function(){f.isOpened&&(f.selInfo&&(f.jodit.selection.restore(f.selInfo),f.selInfo=null),f.searchBox.classList.remove("jodit_search-active"),f.isOpened=!1)},f}return i(p,e),p.getSomePartOfStringIndex=function(e,t,o){return void 0===o&&(o=!0),this.findSomePartOfString(e,t,o,!0)},p.findSomePartOfString=function(e,t,o,n){void 0===o&&(o=!0),void 0===n&&(n=!1),e=v.trim(e.toLowerCase().replace(u.SPACE_REG_EXP," ")),t=t.toLowerCase();for(var i=o?0:t.length-1,r=o?0:e.length-1,a=0,s=null,l=o?1:-1,c=[];void 0!==t[i];i+=l){var d=e[r]===t[i];if(d||null!==s&&u.SPACE_REG_EXP.test(t[i])?(null!==s&&o||(s=i),c.push(t[i]),d&&(a+=1,r+=l)):(s=null,a=c.length=0,r=o?0:e.length-1),a===e.length)return!n||s}return n?null!==s&&s:!!c.length&&(o?c.join(""):c.reverse().join(""))},p.prototype.boundAlreadyWas=function(t,e){return e.some(function(e){return e.startContainer===t.startContainer&&e.endContainer===t.endContainer&&e.startOffset===t.startOffset&&e.endOffset===t.endOffset},!1)},p.prototype.tryScrollToElement=function(e){var t=h.Dom.closest(e,function(e){return e&&e.nodeType===Node.ELEMENT_NODE},this.jodit.editor);t||(t=h.Dom.prev(e,function(e){return e&&e.nodeType===Node.ELEMENT_NODE},this.jodit.editor)),t&&t!==this.jodit.editor&&t.scrollIntoView()},p.prototype.afterInit=function(n){var t=this;if(n.options.useSearch){var i=this;i.searchBox=n.create.fromHTML(i.template),i.queryInput=i.searchBox.querySelector("input.jodit_search-query"),i.replaceInput=i.searchBox.querySelector("input.jodit_search-replace"),i.closeButton=i.searchBox.querySelector(".jodit_search_buttons-cancel"),i.nextButton=i.searchBox.querySelector(".jodit_search_buttons-next"),i.prevButton=i.searchBox.querySelector(".jodit_search_buttons-prev"),i.replaceButton=i.searchBox.querySelector(".jodit_search_buttons-replace"),i.counterBox=i.searchBox.querySelector(".jodit_search_counts span"),n.workplace.appendChild(this.searchBox),n.events.on(i.closeButton,"click",this.close).on(i.queryInput,"mousedown",function(){n.selection.isFocused()&&(n.selection.removeMarkers(),i.selInfo=n.selection.save())}).on(i.replaceButton,"click",function(e){i.findAndReplace(n.selection.current()||n.editor.firstChild,i.queryInput.value),t.updateCounters(),e.preventDefault(),e.stopImmediatePropagation()}).on([i.nextButton,i.prevButton],"click",function(e){n.events.fire(i.nextButton===this?"searchNext":"searchPrevious"),e.preventDefault(),e.stopImmediatePropagation()}).on(this.queryInput,"keydown",c.debounce(function(e){switch(e.which){case u.KEY_ENTER:e.preventDefault(),e.stopImmediatePropagation(),n.events.fire("searchNext")&&t.close();break;default:t.updateCounters()}},this.jodit.defaultTimeout)).on(this.jodit.container,"keydown.search",function(e){if(n.getRealMode()===a.MODE_WYSIWYG)switch(e.which){case u.KEY_ESC:t.close();break;case u.KEY_F3:i.queryInput.value&&(n.events.fire(e.shiftKey?"searchPrevious":"searchNext"),e.preventDefault())}}).on("beforeSetMode.search",function(){t.close()}).on("keydown.search mousedown.search",function(){t.selInfo&&(n.selection.removeMarkers(),t.selInfo=null),t.isOpened&&(t.current=t.jodit.selection.current(),t.updateCounters())}).on("searchNext.search searchPrevious.search",function(){return i.findAndSelect(n.selection.current()||n.editor.firstChild,i.queryInput.value,"searchNext"===n.events.current[n.events.current.length-1])}).on("search.search",function(e,t){void 0===t&&(t=!0),n.execCommand("search",e,t)}),n.registerCommand("search",{exec:function(e,t,o){return void 0===o&&(o=!0),i.findAndSelect(n.selection.current()||n.editor.firstChild,t||"",o),!1}}),n.registerCommand("openSearchDialog",{exec:function(){return i.open(),!1},hotkeys:["ctrl+f","cmd+f"]}),n.registerCommand("openReplaceDialog",{exec:function(){return n.options.readonly||i.open(!0),!1},hotkeys:["ctrl+h","cmd+h"]})}},p.prototype.beforeDestruct=function(e){h.Dom.safeRemove(this.searchBox),e.events&&e.events.off(".search"),e.events&&e.events.off(e.container,".search")},p}(l.Plugin);t.search=d},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),a=o(2),s=o(6),l=o(8),c=o(23),d=o(0);r.Config.prototype.toolbarSticky=!0,r.Config.prototype.toolbarDisableStickyForMobile=!0,r.Config.prototype.toolbarStickyOffset=0;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isToolbarSticked=!1,t.createDummy=function(e){t.dummyBox||(t.dummyBox=t.jodit.create.div(),t.dummyBox.classList.add("jodit_sticky-dummy_toolbar"),t.jodit.container.insertBefore(t.dummyBox,e))},t.addSticky=function(e){t.isToolbarSticked||(t.createDummy(e),t.jodit.container.classList.add("jodit_sticky"),t.isToolbarSticked=!0),l.css(e,{top:t.jodit.options.toolbarStickyOffset,width:t.jodit.container.offsetWidth}),l.css(t.dummyBox,{height:e.offsetHeight})},t.removeSticky=function(e){t.isToolbarSticked&&(l.css(e,{width:"",top:""}),t.jodit.container.classList.remove("jodit_sticky"),t.isToolbarSticked=!1)},t}return i(t,e),t.prototype.isMobile=function(){return this.jodit&&this.jodit.options&&this.jodit.container&&this.jodit.container.offsetWidth<=this.jodit.options.sizeSM},t.prototype.afterInit=function(n){var i=this;n.events.on(n.ownerWindow,"scroll wheel mousewheel resize",function(){var e=n.ownerWindow.pageYOffset||n.ownerDocument.documentElement&&n.ownerDocument.documentElement.scrollTop||0,t=c.offset(n.container,n,n.ownerDocument,!0),o=n.getMode()===a.MODE_WYSIWYG&&t.top<e+n.options.toolbarStickyOffset&&e+n.options.toolbarStickyOffset<t.top+t.height&&!(n.options.toolbarDisableStickyForMobile&&i.isMobile());n.options.toolbarSticky&&n.options.toolbar&&(o?i.addSticky(n.toolbar.container):i.removeSticky(n.toolbar.container)),n.events.fire("toggleSticky",o)})},t.prototype.beforeDestruct=function(e){d.Dom.safeRemove(this.dummyBox)},t}(s.Plugin);t.sticky=u},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),a=o(2),s=o(4),l=o(6),c=o(0);r.Config.prototype.showCharsCounter=!0,r.Config.prototype.showWordsCounter=!0;var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.calc=s.throttle(function(){var e=t.jodit.getEditorText();t.jodit.options.showCharsCounter&&t.charCounter&&(t.charCounter.innerText=t.jodit.i18n("Chars: %d",e.replace(a.SPACE_REG_EXP,"").length)),t.jodit.options.showWordsCounter&&t.wordCounter&&(t.wordCounter.innerText=t.jodit.i18n("Words: %d",e.replace(a.INVISIBLE_SPACE_REG_EXP,"").split(a.SPACE_REG_EXP).filter(function(e){return e.length}).length))},t.jodit.defaultTimeout),t}return i(t,e),t.prototype.afterInit=function(){this.jodit.options.showCharsCounter&&(this.charCounter=this.jodit.create.span(),this.jodit.statusbar.append(this.charCounter,!0)),this.jodit.options.showWordsCounter&&(this.wordCounter=this.jodit.create.span(),this.jodit.statusbar.append(this.wordCounter,!0)),this.jodit.events.on("change",this.calc),this.calc()},t.prototype.beforeDestruct=function(){c.Dom.safeRemove(this.charCounter),c.Dom.safeRemove(this.wordCounter),this.charCounter=null,this.wordCounter=null},t}(l.Plugin);t.stat=d},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var i in t=arguments[o])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=o(1),s=o(2),l=o(36),c=o(0),d=o(4),u=o(9),f=o(6),p=o(26);a.Config.prototype.controls.selectall={icon:"select-all",command:"selectall",tooltip:"Select all"},a.Config.prototype.showXPathInStatusbar=!0;var h=function(e){function t(){var a=null!==e&&e.apply(this,arguments)||this;return a.onContext=function(e,t){return a.menu||(a.menu=new l.ContextMenu(a.jodit)),a.menu.show(t.clientX,t.clientY,[{icon:"bin",title:e===a.jodit.editor?"Clear":"Remove",exec:function(){e!==a.jodit.editor?c.Dom.safeRemove(e):a.jodit.value="",a.jodit.setEditorValue()}},{icon:"select-all",title:"Select",exec:function(){a.jodit.selection.select(e)}}]),!1},a.onSelectPath=function(e,t){a.jodit.selection.focus();var o=t.target.getAttribute("data-path")||"/";if("/"===o)return a.jodit.execCommand("selectall"),!1;try{var n=a.jodit.editorDocument.evaluate(o,a.jodit.editor,null,XPathResult.ANY_TYPE,null).iterateNext();if(n)return a.jodit.selection.select(n),!1}catch(e){}return a.jodit.selection.select(e),!1},a.tpl=function(e,t,o,n){var i=a.jodit.create.fromHTML('<li><a role="button" data-path="'+t+'" href="javascript:void(0)" title="'+n+'" tabindex="-1">'+o+"</a></li>"),r=i.firstChild;return a.jodit.events.on(r,"click",a.onSelectPath.bind(a,e)).on(r,"contextmenu",a.onContext.bind(a,e)),i},a.removeSelectAll=function(){a.selectAllButton&&(a.selectAllButton.destruct(),delete a.selectAllButton)},a.appendSelectAll=function(){a.removeSelectAll(),a.selectAllButton=new p.ToolbarButton(a.jodit,r({name:"selectall"},a.jodit.options.controls.selectall)),a.container&&a.container.insertBefore(a.selectAllButton.container,a.container.firstChild)},a.calcPathImd=function(){if(!a.isDestructed){var t,o,n,e=a.jodit.selection.current();a.container&&(a.container.innerHTML=s.INVISIBLE_SPACE),e&&c.Dom.up(e,function(e){e&&a.jodit.editor!==e&&e.nodeType!==Node.TEXT_NODE&&(t=e.nodeName.toLowerCase(),o=u.getXPathByElement(e,a.jodit.editor).replace(/^\//,""),n=a.tpl(e,o,t,a.jodit.i18n("Select %s",t)),a.container&&a.container.insertBefore(n,a.container.firstChild))},a.jodit.editor),a.appendSelectAll()}},a.calcPath=d.debounce(a.calcPathImd,2*a.jodit.defaultTimeout),a.container=null,a.menu=null,a}return i(t,e),t.prototype.afterInit=function(){var e=this;this.jodit.options.showXPathInStatusbar&&(this.container=this.jodit.create.element("ul"),this.container.classList.add("jodit_xpath"),this.jodit.statusbar.append(this.container),this.jodit.events.on("mouseup.xpath change.xpath keydown.xpath changeSelection.xpath",this.calcPath).on("afterSetMode.xpath afterInit.xpath",function(){e.jodit.getRealMode()===s.MODE_WYSIWYG?e.calcPath():(e.container&&(e.container.innerHTML=s.INVISIBLE_SPACE),e.appendSelectAll())}),this.calcPath())},t.prototype.beforeDestruct=function(){this.jodit&&this.jodit.events&&this.jodit.events.off(".xpath"),this.removeSelectAll(),this.menu&&this.menu.destruct(),c.Dom.safeRemove(this.container),this.menu=null,this.container=null},t}(f.Plugin);t.xpath=h},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),a=o(3),s=o(6),l=o(0);r.Config.prototype.draggableTags=["img","a","jodit-media","jodit"];var c=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.dragList=[],n.isCopyMode=!1,n.draggable=null,n.wasMoved=!1,n.timeout=0,n.onDrag=a.throttle(function(e){n.draggable&&(n.wasMoved=!0,n.jodit.events.fire("hidePopup hideResizer"),n.draggable.parentNode||n.jodit.ownerDocument.body.appendChild(n.draggable),a.css(n.draggable,{left:e.clientX+20,top:e.clientY+20}),n.jodit.selection.insertCursorAtPoint(e.clientX,e.clientY))},n.jodit.defaultTimeout),n.onDragStart=function(t){var e=t.target,o=null;if(n.dragList.length){for(;-1!=n.dragList.indexOf(e.nodeName.toLowerCase())&&(!o||e.firstChild===o&&e.lastChild===o)&&(o=e),(e=e.parentNode)&&e!==n.jodit.editor;);o&&(n.isCopyMode=a.ctrlKey(t),n.onDragEnd(),n.timeout=a.setTimeout(function(e){e&&(n.draggable=e.cloneNode(!0),a.dataBind(n.draggable,"target",e),a.css(n.draggable,{"z-index":1e14,"pointer-events":"none",position:"fixed",display:"inlin-block",left:t.clientX,top:t.clientY,width:e.offsetWidth,height:e.offsetHeight}))},n.jodit.defaultTimeout,o),t.preventDefault())}},n.onDragEnd=function(){window.clearTimeout(n.timeout),n.draggable&&(l.Dom.safeRemove(n.draggable),n.draggable=null,n.wasMoved=!1)},n.onDrop=function(){if(n.draggable&&n.wasMoved){var e=a.dataBind(n.draggable,"target");n.onDragEnd(),n.isCopyMode&&(e=e.cloneNode(!0)),n.jodit.selection.insertNode(e,!0,!1),"IMG"===e.nodeName&&n.jodit.events&&n.jodit.events.fire("afterInsertImage",e),n.jodit.events.fire("synchro")}else n.onDragEnd()},n}return i(t,e),t.prototype.afterInit=function(){this.dragList=this.jodit.options.draggableTags?a.splitArray(this.jodit.options.draggableTags).filter(function(e){return e}).map(function(e){return e.toLowerCase()}):[],this.dragList.length&&this.jodit.events.on(this.jodit.editor,"mousemove touchmove",this.onDrag).on(this.jodit.editor,"mousedown touchstart dragstart",this.onDragStart).on("mouseup touchend",this.onDrop).on(window,"mouseup touchend",this.onDragEnd)},t.prototype.beforeDestruct=function(){this.onDragEnd()},t}(s.Plugin);t.DragAndDropElement=c},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(2),a=o(0),l=o(3),s=function(e){function t(){var s=null!==e&&e.apply(this,arguments)||this;return s.isFragmentFromEditor=!1,s.isCopyMode=!1,s.startDragPoint={x:0,y:0},s.draggable=null,s.bufferRange=null,s.onDragEnd=function(){s.draggable&&(a.Dom.safeRemove(s.draggable),s.draggable=null),s.isCopyMode=!1},s.onDrag=function(e){s.draggable&&(s.draggable.parentNode||s.jodit.ownerDocument.body.appendChild(s.draggable),s.jodit.events.fire("hidePopup"),l.css(s.draggable,{left:e.clientX+20,top:e.clientY+20}),s.jodit.selection.insertCursorAtPoint(e.clientX,e.clientY),e.preventDefault(),e.stopPropagation())},s.onDrop=function(e){if(!e.dataTransfer||!e.dataTransfer.files||!e.dataTransfer.files.length){if(!s.isFragmentFromEditor&&!s.draggable)return s.jodit.events.fire("paste",e),e.preventDefault(),e.stopPropagation(),!1;var t=s.jodit.editorWindow.getSelection(),o=s.bufferRange||(t.rangeCount?t.getRangeAt(0):null),n=null;if(!s.draggable&&o)n=s.isCopyMode?o.cloneContents():o.extractContents();else if(s.draggable)if(s.isCopyMode){var i="1"===s.draggable.getAttribute("data-is-file")?["a","href"]:["img","src"],r=i[0],a=i[1];(n=s.jodit.editorDocument.createElement(r)).setAttribute(a,s.draggable.getAttribute("data-src")||s.draggable.getAttribute("src")||""),"a"===r&&(n.innerText=n.getAttribute(a)||"")}else n=l.dataBind(s.draggable,"target");else s.getText(e)&&(n=s.jodit.create.inside.fromHTML(s.getText(e)));t.removeAllRanges(),s.jodit.selection.insertCursorAtPoint(e.clientX,e.clientY),n&&(s.jodit.selection.insertNode(n,!1,!1),o&&n.firstChild&&n.lastChild&&(o.setStartBefore(n.firstChild),o.setEndAfter(n.lastChild),s.jodit.selection.selectRange(o),s.jodit.events.fire("synchro")),"IMG"===n.nodeName&&s.jodit.events&&s.jodit.events.fire("afterInsertImage",n)),e.preventDefault(),e.stopPropagation()}s.isFragmentFromEditor=!1},s.onDragStart=function(e){var t=e.target;if(s.onDragEnd(),s.isFragmentFromEditor=a.Dom.isOrContains(s.jodit.editor,t,!0),s.isCopyMode=!s.isFragmentFromEditor||l.ctrlKey(e),s.isFragmentFromEditor){var o=s.jodit.editorWindow.getSelection(),n=o.rangeCount?o.getRangeAt(0):null;n&&(s.bufferRange=n.cloneRange())}else s.bufferRange=null;s.startDragPoint.x=e.clientX,s.startDragPoint.y=e.clientY,t.nodeType===Node.ELEMENT_NODE&&t.matches(".jodit_filebrowser_files_item")&&(t=t.querySelector("img")),"IMG"===t.nodeName&&(s.draggable=t.cloneNode(!0),l.dataBind(s.draggable,"target",t),l.css(s.draggable,{"z-index":1e14,"pointer-events":"none",position:"fixed",display:"inlin-block",left:s.startDragPoint.x,top:s.startDragPoint.y,width:t.offsetWidth,height:t.offsetHeight}))},s.getDataTransfer=function(e){return e.dataTransfer||new DataTransfer},s.getText=function(e){var t=s.getDataTransfer(e);return t.getData(r.TEXT_HTML)||t.getData(r.TEXT_PLAIN)},s}return i(t,e),t.prototype.afterInit=function(){this.jodit.events.on(window,"dragover",this.onDrag).on([window,this.jodit.editorDocument,this.jodit.editor],"dragstart",this.onDragStart).on("drop",this.onDrop).on(window,"dragend drop mouseup",this.onDragEnd)},t.prototype.beforeDestruct=function(){this.onDragEnd()},t}(o(6).Plugin);t.DragAndDrop=s},function(e,t,o){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});Object.defineProperty(t,"__esModule",{value:!0});var r=o(2),a=o(13),s=o(6),l=o(0),c=o(15),d=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.currentIndex=0,n.list=[],n.container=null,n.listBox=null,n.previewBox=null,n.dialog=null,n.paste=function(){if(n.jodit.selection.focus(),n.jodit.selection.insertHTML(n.list[n.currentIndex]),0!==n.currentIndex){var e=n.list[0];n.list[0]=n.list[n.currentIndex],n.list[n.currentIndex]=e}n.dialog&&n.dialog.close(),n.jodit.setEditorValue()},n.onKeyDown=function(e){var t=n.currentIndex;-1!=[r.KEY_UP,r.KEY_DOWN,r.KEY_ENTER].indexOf(e.which)&&(e.which===r.KEY_UP&&(0===t?t=n.list.length-1:t-=1),e.which===r.KEY_DOWN&&(t===n.list.length-1?t=0:t+=1),e.which!==r.KEY_ENTER?(t!==n.currentIndex&&n.selectIndex(t),e.stopImmediatePropagation(),e.preventDefault()):n.paste())},n.selectIndex=function(o){n.listBox&&Array.from(n.listBox.childNodes).forEach(function(e,t){e.classList.remove("jodit_active"),o===t&&n.previewBox&&(e.classList.add("jodit_active"),n.previewBox.innerHTML=n.list[o],e.focus())}),n.currentIndex=o},n.showDialog=function(){n.list.length<2||(n.dialog||n.createDialog(),n.listBox&&(n.listBox.innerHTML=""),n.previewBox&&(n.previewBox.innerHTML=""),n.list.forEach(function(e,t){var o=n.jodit.ownerDocument.createElement("a");o.innerText=t+1+". "+e.replace(r.SPACE_REG_EXP,""),o.addEventListener("keydown",n.onKeyDown),o.setAttribute("href","javascript:void(0)"),o.setAttribute("data-index",""+t),o.setAttribute("tab-index","-1"),n.listBox&&n.listBox.appendChild(o)}),n.dialog&&n.dialog.open(),c.setTimeout(function(){n.selectIndex(0)},100))},n}return i(t,e),t.prototype.createDialog=function(){var o=this;this.dialog=new a.Dialog(this.jodit);var e=this.jodit.create.fromHTML('<a href="javascript:void(0)" style="float:right;" class="jodit_button"><span>'+this.jodit.i18n("Paste")+"</span></a>");e.addEventListener("click",this.paste);var t=this.jodit.create.fromHTML('<a href="javascript:void(0)" style="float:right; margin-right: 10px;" class="jodit_button"><span>'+this.jodit.i18n("Cancel")+"</span></a>");t.addEventListener("click",this.dialog.close),this.container=this.jodit.ownerDocument.createElement("div"),this.container.classList.add("jodit_paste_storage"),this.listBox=this.jodit.ownerDocument.createElement("div"),this.previewBox=this.jodit.ownerDocument.createElement("div"),this.container.appendChild(this.listBox),this.container.appendChild(this.previewBox),this.dialog.setTitle(this.jodit.i18n("Choose Content to Paste")),this.dialog.setContent(this.container),this.dialog.setFooter([e,t]),this.jodit.events.on(this.listBox,"click dblclick",function(e){var t=e.target;return t&&"A"===t.nodeName&&t.hasAttribute("data-index")&&o.selectIndex(parseInt(t.getAttribute("data-index")||"0",10)),"dblclick"===e.type&&o.paste(),!1},"a")},t.prototype.afterInit=function(){var t=this;this.jodit.events.on("afterCopy",function(e){-1!=t.list.indexOf(e)&&t.list.splice(t.list.indexOf(e),1),t.list.unshift(e),5<t.list.length&&(t.list.length=5)}),this.jodit.registerCommand("showPasteStorage",{exec:this.showDialog,hotkeys:["ctrl+shift+v","cmd+shift+v"]})},t.prototype.beforeDestruct=function(){this.dialog&&this.dialog.destruct(),l.Dom.safeRemove(this.previewBox),l.Dom.safeRemove(this.listBox),l.Dom.safeRemove(this.container),this.container=null,this.listBox=null,this.previewBox=null,this.dialog=null,this.list=[]},t}(s.Plugin);t.pasteStorage=d},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(174);t.about=n;var i=o(175);t.addcolumn=i;var r=o(176);t.addrow=r;var a=o(177);t.angle_down=a;var s=o(178);t.angle_left=s;var l=o(179);t.angle_right=l;var c=o(180);t.angle_up=c;var d=o(181);t.arrows_alt=d;var u=o(182);t.arrows_h=u;var f=o(183);t.attachment=f;var p=o(184);t.bin=p;var h=o(185);t.bold=h;var v=o(186);t.brush=v;var m=o(187);t.cancel=m;var g=o(188);t.center=g;var b=o(189);t.chain_broken=b;var _=o(190);t.check_square=_;var y=o(191);t.check=y;var w=o(192);t.copyformat=w;var j=o(193);t.crop=j;var C=o(194);t.cut=C;var E=o(195);t.dedent=E;var T=o(196);t.dots=T;var x=o(197);t.enter=x;var S=o(198);t.eraser=S;var k=o(199);t.eye=k;var D=o(200);t.file=D;var L=o(201);t.folder=L;var M=o(202);t.font=M;var q=o(203);t.fontsize=q;var A=o(204);t.fullsize=A;var I=o(205);t.hr=I;var z=o(206);t.image=z;var O=o(207);t.indent=O;var P=o(208);t.info_circle=P;var N=o(209);t.italic=N;var R=o(210);t.justify=R;var B=o(211);t.left=B;var H=o(212);t.link=H;var W=o(213);t.lock=W;var F=o(214);t.menu=F;var V=o(215);t.merge=V;var Y=o(216);t.ol=Y;var U=o(217);t.omega=U;var K=o(218);t.outdent=K;var X=o(219);t.paragraph=X;var G=o(220);t.pencil=G;var $=o(221);t.plus=$;var J=o(222);t.print=J;var Z=o(223);t.redo=Z;var Q=o(224);t.resize=Q;var ee=o(225);t.resizer=ee;var te=o(226);t.right=te;var oe=o(227);t.save=oe;var ne=o(228);t.select_all=ne;var ie=o(229);t.shrink=ie;var re=o(230);t.source=re;var ae=o(231);t.splitg=ae;var se=o(232);t.splitv=se;var le=o(233);t.strikethrough=le;var ce=o(234);t.subscript=ce;var de=o(235);t.superscript=de;var ue=o(236);t.table=ue;var fe=o(237);t.th_list=fe;var pe=o(238);t.th=pe;var he=o(239);t.ul=he;var ve=o(240);t.underline=ve;var me=o(241);t.undo=me;var ge=o(242);t.unlink=ge;var be=o(243);t.unlock=be;var _e=o(244);t.update=_e;var ye=o(245);t.upload=ye;var we=o(246);t.valign=we;var je=o(247);t.video=je;var Ce=o(248);t.palette=Ce},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1088 1256v240q0 16-12 28t-28 12h-240q-16 0-28-12t-12-28v-240q0-16 12-28t28-12h240q16 0 28 12t12 28zm316-600q0 54-15.5 101t-35 76.5-55 59.5-57.5 43.5-61 35.5q-41 23-68.5 65t-27.5 67q0 17-12 32.5t-28 15.5h-240q-15 0-25.5-18.5t-10.5-37.5v-45q0-83 65-156.5t143-108.5q59-27 84-56t25-76q0-42-46.5-74t-107.5-32q-65 0-108 29-35 25-107 115-13 16-31 16-12 0-25-8l-164-125q-13-10-15.5-25t5.5-28q160-266 464-266 80 0 161 31t146 83 106 127.5 41 158.5z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 18.151 18.151">\n<g>\n\t<g>\n\t\t<path d="M6.237,16.546H3.649V1.604h5.916v5.728c0.474-0.122,0.968-0.194,1.479-0.194\n\t\t\tc0.042,0,0.083,0.006,0.125,0.006V0H2.044v18.15h5.934C7.295,17.736,6.704,17.19,6.237,16.546z"/>\n\t\t<path d="M11.169,8.275c-2.723,0-4.938,2.215-4.938,4.938s2.215,4.938,4.938,4.938s4.938-2.215,4.938-4.938\n\t\t\tS13.892,8.275,11.169,8.275z M11.169,16.81c-1.983,0-3.598-1.612-3.598-3.598c0-1.983,1.614-3.597,3.598-3.597\n\t\t\ts3.597,1.613,3.597,3.597C14.766,15.198,13.153,16.81,11.169,16.81z"/>\n\t\t<polygon points="11.792,11.073 10.502,11.073 10.502,12.578 9.03,12.578 9.03,13.868 10.502,13.868\n\t\t\t10.502,15.352 11.792,15.352 11.792,13.868 13.309,13.868 13.309,12.578 11.792,12.578 \t\t"/>\n\t</g>\n</g>\n</svg>\n'},function(e,t){e.exports='<svg viewBox="0 0 432 432">\n<g>\n\t<g>\n\t\t<polygon points="203.688,96 0,96 0,144 155.688,144 \t\t"/>\n\t\t<polygon points="155.719,288 0,288 0,336 203.719,336 \t\t"/>\n\t\t<rect x="252" y="96"/>\n\t\t<rect/>\n\t\t<rect x="252" y="288"/>\n\t\t<rect y="384"/>\n\t\t<path d="M97.844,230.125c-3.701-3.703-5.856-8.906-5.856-14.141s2.154-10.438,5.856-14.141l9.844-9.844H0v48h107.719\n\t\t\tL97.844,230.125z"/>\n\t\t<polygon points="232,176 232,96 112,216 232,336 232,256 432,256 432,176 \t\t"/>\n\t</g>\n</g>\n</svg>\n'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n <path d="M1395 736q0 13-10 23l-466 466q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1203 544q0 13-10 23l-393 393 393 393q10 10 10 23t-10 23l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1171 960q0 13-10 23l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1395 1184q0 13-10 23l-50 50q-10 10-23 10t-23-10l-393-393-393 393q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l466 466q10 10 10 23z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1411 541l-355 355 355 355 144-144q29-31 70-14 39 17 39 59v448q0 26-19 45t-45 19h-448q-42 0-59-40-17-39 14-69l144-144-355-355-355 355 144 144q31 30 14 69-17 40-59 40h-448q-26 0-45-19t-19-45v-448q0-42 40-59 39-17 69 14l144 144 355-355-355-355-144 144q-19 19-45 19-12 0-24-5-40-17-40-59v-448q0-26 19-45t45-19h448q42 0 59 40 17 39-14 69l-144 144 355 355 355-355-144-144q-31-30-14-69 17-40 59-40h448q26 0 45 19t19 45v448q0 42-39 59-13 5-25 5-26 0-45-19z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1792 896q0 26-19 45l-256 256q-19 19-45 19t-45-19-19-45v-128h-1024v128q0 26-19 45t-45 19-45-19l-256-256q-19-19-19-45t19-45l256-256q19-19 45-19t45 19 19 45v128h1024v-128q0-26 19-45t45-19 45 19l256 256q19 19 19 45z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1596 1385q0 117-79 196t-196 79q-135 0-235-100l-777-776q-113-115-113-271 0-159 110-270t269-111q158 0 273 113l605 606q10 10 10 22 0 16-30.5 46.5t-46.5 30.5q-13 0-23-10l-606-607q-79-77-181-77-106 0-179 75t-73 181q0 105 76 181l776 777q63 63 145 63 64 0 106-42t42-106q0-82-63-145l-581-581q-26-24-60-24-29 0-48 19t-19 48q0 32 25 59l410 410q10 10 10 22 0 16-31 47t-47 31q-12 0-22-10l-410-410q-63-61-63-149 0-82 57-139t139-57q88 0 149 63l581 581q100 98 100 235z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M704 1376v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm-544-992h448l-48-117q-7-9-17-11h-317q-10 2-17 11zm928 32v64q0 14-9 23t-23 9h-96v948q0 83-47 143.5t-113 60.5h-832q-66 0-113-58.5t-47-141.5v-952h-96q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h309l70-167q15-37 54-63t79-26h320q40 0 79 26t54 63l70 167h309q14 0 23 9t9 23z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M747 1521q74 32 140 32 376 0 376-335 0-114-41-180-27-44-61.5-74t-67.5-46.5-80.5-25-84-10.5-94.5-2q-73 0-101 10 0 53-.5 159t-.5 158q0 8-1 67.5t-.5 96.5 4.5 83.5 12 66.5zm-14-746q42 7 109 7 82 0 143-13t110-44.5 74.5-89.5 25.5-142q0-70-29-122.5t-79-82-108-43.5-124-14q-50 0-130 13 0 50 4 151t4 152q0 27-.5 80t-.5 79q0 46 1 69zm-541 889l2-94q15-4 85-16t106-27q7-12 12.5-27t8.5-33.5 5.5-32.5 3-37.5.5-34v-65.5q0-982-22-1025-4-8-22-14.5t-44.5-11-49.5-7-48.5-4.5-30.5-3l-4-83q98-2 340-11.5t373-9.5q23 0 68.5.5t67.5.5q70 0 136.5 13t128.5 42 108 71 74 104.5 28 137.5q0 52-16.5 95.5t-39 72-64.5 57.5-73 45-84 40q154 35 256.5 134t102.5 248q0 100-35 179.5t-93.5 130.5-138 85.5-163.5 48.5-176 14q-44 0-132-3t-132-3q-106 0-307 11t-231 12z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M896 1152q0-36-20-69-1-1-15.5-22.5t-25.5-38-25-44-21-50.5q-4-16-21-16t-21 16q-7 23-21 50.5t-25 44-25.5 38-15.5 22.5q-20 33-20 69 0 53 37.5 90.5t90.5 37.5 90.5-37.5 37.5-90.5zm512-128q0 212-150 362t-362 150-362-150-150-362q0-145 81-275 6-9 62.5-90.5t101-151 99.5-178 83-201.5q9-30 34-47t51-17 51.5 17 33.5 47q28 93 83 201.5t99.5 178 101 151 62.5 90.5q81 127 81 275z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16">\n <g transform="translate(0,-1036.3622)">\n <path d="m 2,1050.3622 12,-12"\n style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"/>\n <path d="m 2,1038.3622 12,12"\n style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"/>\n </g>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-896q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h896q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-640q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h640q26 0 45 19t19 45z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M503 1271l-256 256q-10 9-23 9-12 0-23-9-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23zm169 41v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm-224-224q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm1264 128q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-334-335q-21-21-42-56l239-18 273 274q27 27 68 27.5t68-26.5l147-146q28-28 28-67 0-40-28-68l-274-275 18-239q35 21 56 42l336 336q84 86 84 204zm-617-724l-239 18-273-274q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l274 274-18 240q-35-21-56-42l-336-336q-84-86-84-204 0-120 85-203l147-146q83-83 203-83 121 0 204 85l334 335q21 21 42 56zm633 84q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm-544-544v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm407 151l-256 256q-11 9-23 9t-23-9q-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M813 1299l614-614q19-19 19-45t-19-45l-102-102q-19-19-45-19t-45 19l-467 467-211-211q-19-19-45-19t-45 19l-102 102q-19 19-19 45t19 45l358 358q19 19 45 19t45-19zm851-883v960q0 119-84.5 203.5t-203.5 84.5h-960q-119 0-203.5-84.5t-84.5-203.5v-960q0-119 84.5-203.5t203.5-84.5h960q119 0 203.5 84.5t84.5 203.5z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1472 930v318q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-10 10-23 10-3 0-9-2-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-254q0-13 9-22l64-64q10-10 23-10 6 0 12 3 20 8 20 29zm231-489l-814 814q-24 24-57 24t-57-24l-430-430q-24-24-24-57t24-57l110-110q24-24 57-24t57 24l263 263 647-647q24-24 57-24t57 24l110 110q24 24 24 57t-24 57z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16"><path d="M16 9v-6h-3v-1c0-0.55-0.45-1-1-1h-11c-0.55 0-1 0.45-1 1v3c0 0.55 0.45 1 1 1h11c0.55 0 1-0.45 1-1v-1h2v4h-9v2h-0.5c-0.276 0-0.5 0.224-0.5 0.5v5c0 0.276 0.224 0.5 0.5 0.5h2c0.276 0 0.5-0.224 0.5-0.5v-5c0-0.276-0.224-0.5-0.5-0.5h-0.5v-1h9zM12 3h-11v-1h11v1z"/></svg>\n'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n <path d="M621 1280h595v-595zm-45-45l595-595h-595v595zm1152 77v192q0 14-9 23t-23 9h-224v224q0 14-9 23t-23 9h-192q-14 0-23-9t-9-23v-224h-864q-14 0-23-9t-9-23v-864h-224q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h224v-224q0-14 9-23t23-9h192q14 0 23 9t9 23v224h851l246-247q10-9 23-9t23 9q9 10 9 23t-9 23l-247 246v851h224q14 0 23 9t9 23z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n <path d="M960 896q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm300 64l507 398q28 20 25 56-5 35-35 51l-128 64q-13 7-29 7-17 0-31-8l-690-387-110 66q-8 4-12 5 14 49 10 97-7 77-56 147.5t-132 123.5q-132 84-277 84-136 0-222-78-90-84-79-207 7-76 56-147t131-124q132-84 278-84 83 0 151 31 9-13 22-22l122-73-122-73q-13-9-22-22-68 31-151 31-146 0-278-84-82-53-131-124t-56-147q-5-59 15.5-113t63.5-93q85-79 222-79 145 0 277 84 83 52 132 123t56 148q4 48-10 97 4 1 12 5l110 66 690-387q14-8 31-8 16 0 29 7l128 64q30 16 35 51 3 36-25 56zm-681-260q46-42 21-108t-106-117q-92-59-192-59-74 0-113 36-46 42-21 108t106 117q92 59 192 59 74 0 113-36zm-85 745q81-51 106-117t-21-108q-39-36-113-36-100 0-192 59-81 51-106 117t21 108q39 36 113 36 100 0 192-59zm178-613l96 58v-11q0-36 33-56l14-8-79-47-26 26q-3 3-10 11t-12 12q-2 2-4 3.5t-3 2.5zm224 224l96 32 736-576-128-64-768 431v113l-160 96 9 8q2 2 7 6 4 4 11 12t11 12l26 26zm704 416l128-64-520-408-177 138q-2 3-13 7z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M384 544v576q0 13-9.5 22.5t-22.5 9.5q-14 0-23-9l-288-288q-9-9-9-23t9-23l288-288q9-9 23-9 13 0 22.5 9.5t9.5 22.5zm1408 768v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/></svg>'},function(e,t){e.exports='<svg\n enable-background="new 0 0 24 24"\n viewBox="0 0 24 24"\n xml:space="preserve"\n\n >\n <circle cx="12" cy="12" r="2.2"/>\n <circle cx="12" cy="5" r="2.2"/>\n <circle cx="12" cy="19" r="2.2"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 128 128" xml:space="preserve">\n <g>\n <polygon points="112.4560547,23.3203125 112.4560547,75.8154297 31.4853516,75.8154297 31.4853516,61.953125 16.0131836,72.6357422 0.5410156,83.3164063 16.0131836,93.9990234 31.4853516,104.6796875 31.4853516,90.8183594 112.4560547,90.8183594 112.4560547,90.8339844 127.4589844,90.8339844 127.4589844,23.3203125 "/>\n </g>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M832 1408l336-384h-768l-336 384h768zm1013-1077q15 34 9.5 71.5t-30.5 65.5l-896 1024q-38 44-96 44h-768q-38 0-69.5-20.5t-47.5-54.5q-15-34-9.5-71.5t30.5-65.5l896-1024q38-44 96-44h768q38 0 69.5 20.5t47.5 54.5z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5t-316.5 131.5-316.5-131.5-131.5-316.5q0-121 61-225-229 117-381 353 133 205 333.5 326.5t434.5 121.5 434.5-121.5 333.5-326.5zm-720-384q0-20-14-34t-34-14q-125 0-214.5 89.5t-89.5 214.5q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5t-499.5 138.5-499.5-139-376.5-368q-20-35-20-69t20-69q140-229 376.5-368t499.5-139 499.5 139 376.5 368q20 35 20 69z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n <path d="M1152 512v-472q22 14 36 28l408 408q14 14 28 36h-472zm-128 32q0 40 28 68t68 28h544v1056q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1600q0-40 28-68t68-28h800v544z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1728 608v704q0 92-66 158t-158 66h-1216q-92 0-158-66t-66-158v-960q0-92 66-158t158-66h320q92 0 158 66t66 158v32h672q92 0 158 66t66 158z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M789 559l-170 450q33 0 136.5 2t160.5 2q19 0 57-2-87-253-184-452zm-725 1105l2-79q23-7 56-12.5t57-10.5 49.5-14.5 44.5-29 31-50.5l237-616 280-724h128q8 14 11 21l205 480q33 78 106 257.5t114 274.5q15 34 58 144.5t72 168.5q20 45 35 57 19 15 88 29.5t84 20.5q6 38 6 57 0 4-.5 13t-.5 13q-63 0-190-8t-191-8q-76 0-215 7t-178 8q0-43 4-78l131-28q1 0 12.5-2.5t15.5-3.5 14.5-4.5 15-6.5 11-8 9-11 2.5-14q0-16-31-96.5t-72-177.5-42-100l-450-2q-26 58-76.5 195.5t-50.5 162.5q0 22 14 37.5t43.5 24.5 48.5 13.5 57 8.5 41 4q1 19 1 58 0 9-2 27-58 0-174.5-10t-174.5-10q-8 0-26.5 4t-21.5 4q-80 14-188 14z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1744 1408q33 0 42 18.5t-11 44.5l-126 162q-20 26-49 26t-49-26l-126-162q-20-26-11-44.5t42-18.5h80v-1024h-80q-33 0-42-18.5t11-44.5l126-162q20-26 49-26t49 26l126 162q20 26 11 44.5t-42 18.5h-80v1024h80zm-1663-1279l54 27q12 5 211 5 44 0 132-2t132-2q36 0 107.5.5t107.5.5h293q6 0 21 .5t20.5 0 16-3 17.5-9 15-17.5l42-1q4 0 14 .5t14 .5q2 112 2 336 0 80-5 109-39 14-68 18-25-44-54-128-3-9-11-48t-14.5-73.5-7.5-35.5q-6-8-12-12.5t-15.5-6-13-2.5-18-.5-16.5.5q-17 0-66.5-.5t-74.5-.5-64 2-71 6q-9 81-8 136 0 94 2 388t2 455q0 16-2.5 71.5t0 91.5 12.5 69q40 21 124 42.5t120 37.5q5 40 5 50 0 14-3 29l-34 1q-76 2-218-8t-207-10q-50 0-151 9t-152 9q-3-51-3-52v-9q17-27 61.5-43t98.5-29 78-27q19-42 19-383 0-101-3-303t-3-303v-117q0-2 .5-15.5t.5-25-1-25.5-3-24-5-14q-11-12-162-12-33 0-93 12t-80 26q-19 13-34 72.5t-31.5 111-42.5 53.5q-42-26-56-44v-383z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" >\n\t<path d="M22,20.6L3.4,2H8V0H0v8h2V3.4L20.6,22H16v2h8v-8h-2V20.6z M16,0v2h4.7l-6.3,6.3l1.4,1.4L22,3.5V8h2V0H16z M8.3,14.3L2,20.6V16H0v8h8v-2H3.5l6.3-6.3L8.3,14.3z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1600 736v192q0 40-28 68t-68 28h-1216q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h1216q40 0 68 28t28 68z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M576 576q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1024 384v448h-1408v-192l320-320 160 160 512-512zm96-704h-1600q-13 0-22.5 9.5t-9.5 22.5v1216q0 13 9.5 22.5t22.5 9.5h1600q13 0 22.5-9.5t9.5-22.5v-1216q0-13-9.5-22.5t-22.5-9.5zm160 32v1216q0 66-47 113t-113 47h-1600q-66 0-113-47t-47-113v-1216q0-66 47-113t113-47h1600q66 0 113 47t47 113z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n <path d="M352 832q0 14-9 23l-288 288q-9 9-23 9-13 0-22.5-9.5t-9.5-22.5v-576q0-13 9.5-22.5t22.5-9.5q14 0 23 9l288 288q9 9 9 23zm1440 480v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1152 1376v-160q0-14-9-23t-23-9h-96v-512q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896v-160q0-14-9-23t-23-9h-192q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M384 1662l17-85q6-2 81.5-21.5t111.5-37.5q28-35 41-101 1-7 62-289t114-543.5 52-296.5v-25q-24-13-54.5-18.5t-69.5-8-58-5.5l19-103q33 2 120 6.5t149.5 7 120.5 2.5q48 0 98.5-2.5t121-7 98.5-6.5q-5 39-19 89-30 10-101.5 28.5t-108.5 33.5q-8 19-14 42.5t-9 40-7.5 45.5-6.5 42q-27 148-87.5 419.5t-77.5 355.5q-2 9-13 58t-20 90-16 83.5-6 57.5l1 18q17 4 185 31-3 44-16 99-11 0-32.5 1.5t-32.5 1.5q-29 0-87-10t-86-10q-138-2-206-2-51 0-143 9t-121 11z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1520 1216q0-40-28-68l-208-208q-28-28-68-28-42 0-72 32 3 3 19 18.5t21.5 21.5 15 19 13 25.5 3.5 27.5q0 40-28 68t-68 28q-15 0-27.5-3.5t-25.5-13-19-15-21.5-21.5-18.5-19q-33 31-33 73 0 40 28 68l206 207q27 27 68 27 40 0 68-26l147-146q28-28 28-67zm-703-705q0-40-28-68l-206-207q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l208 208q27 27 68 27 42 0 72-31-3-3-19-18.5t-21.5-21.5-15-19-13-25.5-3.5-27.5q0-40 28-68t68-28q15 0 27.5 3.5t25.5 13 19 15 21.5 21.5 18.5 19q33-31 33-73zm895 705q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-206-207q-83-83-83-203 0-123 88-209l-88-88q-86 88-208 88-120 0-204-84l-208-208q-84-84-84-204t85-203l147-146q83-83 203-83 121 0 204 85l206 207q83 83 83 203 0 123-88 209l88 88q86-88 208-88 120 0 204 84l208 208q84 84 84 204z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M640 768h512v-192q0-106-75-181t-181-75-181 75-75 181v192zm832 96v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h32v-192q0-184 132-316t316-132 316 132 132 316v192h32q40 0 68 28t28 68z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1664 1344v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm0-512v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm0-512v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45z"/></svg>'},function(e,t){e.exports='<svg\n viewBox="0 0 312 312">\n <g transform="translate(0.000000,312.000000) scale(0.100000,-0.100000)" stroke="none">\n <path d="M50 3109 c0 -7 -11 -22 -25 -35 l-25 -23 0 -961 0 -961 32 -29 32\n-30 501 -2 500 -3 3 -502 2 -502 31 -30 31 -31 958 0 958 0 23 25 c13 13 30\n25 37 25 9 0 12 199 12 960 0 686 -3 960 -11 960 -6 0 -24 12 -40 28 l-29 27\n-503 5 -502 5 -5 502 -5 503 -28 29 c-15 16 -27 34 -27 40 0 8 -274 11 -960\n11 -710 0 -960 -3 -960 -11z m1738 -698 l2 -453 -40 -40 c-22 -22 -40 -43 -40\n-47 0 -4 36 -42 79 -85 88 -87 82 -87 141 -23 l26 27 455 -2 454 -3 0 -775 0\n-775 -775 0 -775 0 -3 450 -2 449 47 48 47 48 -82 80 c-44 44 -84 80 -87 80\n-3 0 -25 -18 -48 -40 l-41 -40 -456 2 -455 3 -3 765 c-1 421 0 771 3 778 3 10\n164 12 777 10 l773 -3 3 -454z"/>\n <path d="M607 2492 c-42 -42 -77 -82 -77 -87 0 -6 86 -96 190 -200 105 -104\n190 -197 190 -205 0 -8 -41 -56 -92 -107 -65 -65 -87 -94 -77 -98 8 -3 138 -4\n289 -3 l275 3 3 275 c1 151 0 281 -3 289 -4 10 -35 -14 -103 -82 -54 -53 -103\n-97 -109 -97 -7 0 -99 88 -206 195 -107 107 -196 195 -198 195 -3 0 -39 -35\n-82 -78z"/>\n <path d="M1470 1639 c-47 -49 -87 -91 -89 -94 -5 -6 149 -165 160 -165 9 0\n189 179 189 188 0 12 -154 162 -165 161 -6 0 -48 -41 -95 -90z"/>\n <path d="M1797 1303 c-9 -8 -9 -568 0 -576 4 -4 50 36 103 88 54 52 101 95\n106 95 5 0 95 -85 199 -190 104 -104 194 -190 200 -190 6 0 46 36 90 80 l79\n79 -197 196 c-108 108 -197 199 -197 203 0 4 45 52 99 106 55 55 98 103 95\n108 -6 10 -568 11 -577 1z"/>\n </g>\n</svg>\n'},function(e,t){e.exports='<svg role="img" viewBox="0 0 1792 1792">\n <path d="M381 1620q0 80-54.5 126t-135.5 46q-106 0-172-66l57-88q49 45 106 45 29 0 50.5-14.5t21.5-42.5q0-64-105-56l-26-56q8-10 32.5-43.5t42.5-54 37-38.5v-1q-16 0-48.5 1t-48.5 1v53h-106v-152h333v88l-95 115q51 12 81 49t30 88zm2-627v159h-362q-6-36-6-54 0-51 23.5-93t56.5-68 66-47.5 56.5-43.5 23.5-45q0-25-14.5-38.5t-39.5-13.5q-46 0-81 58l-85-59q24-51 71.5-79.5t105.5-28.5q73 0 123 41.5t50 112.5q0 50-34 91.5t-75 64.5-75.5 50.5-35.5 52.5h127v-60h105zm1409 319v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm-1408-899v99h-335v-99h107q0-41 .5-122t.5-121v-12h-2q-8 17-50 54l-71-76 136-127h106v404h108zm1408 387v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 270 270">\n\t<path d="m240.443652,220.45085l-47.410809,0l0,-10.342138c13.89973,-8.43655 25.752896,-19.844464 34.686646,-33.469923c11.445525,-17.455846 17.496072,-37.709239 17.496072,-58.570077c0,-59.589197 -49.208516,-108.068714 -109.693558,-108.068714s-109.69263,48.479517 -109.69263,108.069628c0,20.860839 6.050547,41.113316 17.497001,58.570077c8.93375,13.625459 20.787845,25.032458 34.686646,33.469008l0,10.342138l-47.412666,0c-10.256959,0 -18.571354,8.191376 -18.571354,18.296574c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.98402,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574l0,-39.496814c0,-7.073455 -4.137698,-13.51202 -10.626529,-16.537358c-25.24497,-11.772016 -41.557118,-37.145704 -41.557118,-64.643625c0,-39.411735 32.545369,-71.476481 72.549922,-71.476481c40.004553,0 72.550851,32.064746 72.550851,71.476481c0,27.497006 -16.312149,52.87161 -41.557118,64.643625c-6.487902,3.026253 -10.6256,9.464818 -10.6256,16.537358l0,39.496814c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.982163,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574c0,-10.105198 -8.314395,-18.296574 -18.571354,-18.296574z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n <path d="M384 544v576q0 13-9.5 22.5t-22.5 9.5q-14 0-23-9l-288-288q-9-9-9-23t9-23l288-288q9-9 23-9 13 0 22.5 9.5t9.5 22.5zm1408 768v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1534 189v73q0 29-18.5 61t-42.5 32q-50 0-54 1-26 6-32 31-3 11-3 64v1152q0 25-18 43t-43 18h-108q-25 0-43-18t-18-43v-1218h-143v1218q0 25-17.5 43t-43.5 18h-108q-26 0-43.5-18t-17.5-43v-496q-147-12-245-59-126-58-192-179-64-117-64-259 0-166 88-286 88-118 209-159 111-37 417-37h479q25 0 43 18t18 43z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1600 736v192q0 40-28 68t-68 28h-416v416q0 40-28 68t-68 28h-192q-40 0-68-28t-28-68v-416h-416q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h416v-416q0-40 28-68t68-28h192q40 0 68 28t28 68v416h416q40 0 68 28t28 68z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n <path d="M448 1536h896v-256h-896v256zm0-640h896v-384h-160q-40 0-68-28t-28-68v-160h-640v640zm1152 64q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128 0v416q0 13-9.5 22.5t-22.5 9.5h-224v160q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-160h-224q-13 0-22.5-9.5t-9.5-22.5v-416q0-79 56.5-135.5t135.5-56.5h64v-544q0-40 28-68t68-28h672q40 0 88 20t76 48l152 152q28 28 48 76t20 88v256h64q79 0 135.5 56.5t56.5 135.5z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n <path d="M1664 256v448q0 26-19 45t-45 19h-448q-42 0-59-40-17-39 14-69l138-138q-148-137-349-137-104 0-198.5 40.5t-163.5 109.5-109.5 163.5-40.5 198.5 40.5 198.5 109.5 163.5 163.5 109.5 198.5 40.5q119 0 225-52t179-147q7-10 23-12 14 0 25 9l137 138q9 8 9.5 20.5t-7.5 22.5q-109 132-264 204.5t-327 72.5q-156 0-298-61t-245-164-164-245-61-298 61-298 164-245 245-164 298-61q147 0 284.5 55.5t244.5 156.5l130-129q29-31 70-14 39 17 39 59z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24"\n >\n <g>\n <g transform="translate(-251.000000, -443.000000)">\n <g transform="translate(215.000000, 119.000000)"/>\n <path d="M252,448 L256,448 L256,444 L252,444 L252,448 Z M257,448 L269,448 L269,446 L257,446 L257,448 Z M257,464 L269,464 L269,462 L257,462 L257,464 Z M270,444 L270,448 L274,448 L274,444 L270,444 Z M252,462 L252,466 L256,466 L256,462 L252,462 Z M270,462 L270,466 L274,466 L274,462 L270,462 Z M254,461 L256,461 L256,449 L254,449 L254,461 Z M270,461 L272,461 L272,449 L270,449 L270,461 Z"/>\n </g>\n </g>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n <path d="M844 472q0 60-19 113.5t-63 92.5-105 39q-76 0-138-57.5t-92-135.5-30-151q0-60 19-113.5t63-92.5 105-39q77 0 138.5 57.5t91.5 135 30 151.5zm-342 483q0 80-42 139t-119 59q-76 0-141.5-55.5t-100.5-133.5-35-152q0-80 42-139.5t119-59.5q76 0 141.5 55.5t100.5 134 35 152.5zm394-27q118 0 255 97.5t229 237 92 254.5q0 46-17 76.5t-48.5 45-64.5 20-76 5.5q-68 0-187.5-45t-182.5-45q-66 0-192.5 44.5t-200.5 44.5q-183 0-183-146 0-86 56-191.5t139.5-192.5 187.5-146 193-59zm239-211q-61 0-105-39t-63-92.5-19-113.5q0-74 30-151.5t91.5-135 138.5-57.5q61 0 105 39t63 92.5 19 113.5q0 73-30 151t-92 135.5-138 57.5zm432-104q77 0 119 59.5t42 139.5q0 74-35 152t-100.5 133.5-141.5 55.5q-77 0-119-59t-42-139q0-74 35-152.5t100.5-134 141.5-55.5z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n <path d="M512 1536h768v-384h-768v384zm896 0h128v-896q0-14-10-38.5t-20-34.5l-281-281q-10-10-34-20t-39-10v416q0 40-28 68t-68 28h-576q-40 0-68-28t-28-68v-416h-128v1280h128v-416q0-40 28-68t68-28h832q40 0 68 28t28 68v416zm-384-928v-320q0-13-9.5-22.5t-22.5-9.5h-192q-13 0-22.5 9.5t-9.5 22.5v320q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5-9.5t9.5-22.5zm640 32v928q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1344q0-40 28-68t68-28h928q40 0 88 20t76 48l280 280q28 28 48 76t20 88z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18">\n <g fill-rule="evenodd" stroke="none" stroke-width="1">\n <g transform="translate(-381.000000, -381.000000)">\n <g transform="translate(381.000000, 381.000000)">\n <path d="M0,2 L2,2 L2,0 C0.9,0 0,0.9 0,2 L0,2 Z M0,10 L2,10 L2,8 L0,8 L0,10 L0,10 Z M4,18 L6,18 L6,16 L4,16 L4,18 L4,18 Z M0,6 L2,6 L2,4 L0,4 L0,6 L0,6 Z M10,0 L8,0 L8,2 L10,2 L10,0 L10,0 Z M16,0 L16,2 L18,2 C18,0.9 17.1,0 16,0 L16,0 Z M2,18 L2,16 L0,16 C0,17.1 0.9,18 2,18 L2,18 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M6,0 L4,0 L4,2 L6,2 L6,0 L6,0 Z M8,18 L10,18 L10,16 L8,16 L8,18 L8,18 Z M16,10 L18,10 L18,8 L16,8 L16,10 L16,10 Z M16,18 C17.1,18 18,17.1 18,16 L16,16 L16,18 L16,18 Z M16,6 L18,6 L18,4 L16,4 L16,6 L16,6 Z M16,14 L18,14 L18,12 L16,12 L16,14 L16,14 Z M12,18 L14,18 L14,16 L12,16 L12,18 L12,18 Z M12,2 L14,2 L14,0 L12,0 L12,2 L12,2 Z M4,14 L14,14 L14,4 L4,4 L4,14 L4,14 Z M6,6 L12,6 L12,12 L6,12 L6,6 L6,6 Z"/>\n </g>\n </g>\n </g>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n <path d="M896 960v448q0 26-19 45t-45 19-45-19l-144-144-332 332q-10 10-23 10t-23-10l-114-114q-10-10-10-23t10-23l332-332-144-144q-19-19-19-45t19-45 45-19h448q26 0 45 19t19 45zm755-672q0 13-10 23l-332 332 144 144q19 19 19 45t-19 45-45 19h-448q-26 0-45-19t-19-45v-448q0-26 19-45t45-19 45 19l144 144 332-332q10-10 23-10t23 10l114 114q10 10 10 23z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n <path d="M553 1399l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23t-10 23l-393 393 393 393q10 10 10 23t-10 23zm591-1067l-373 1291q-4 13-15.5 19.5t-23.5 2.5l-62-17q-13-4-19.5-15.5t-2.5-24.5l373-1291q4-13 15.5-19.5t23.5-2.5l62 17q13 4 19.5 15.5t2.5 24.5zm657 651l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23t-10 23z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 48 48">\n <path d="M6 42h4v-4h-4v4zm4-28h-4v4h4v-4zm-4 20h4v-4h-4v4zm8 8h4v-4h-4v4zm-4-36h-4v4h4v-4zm8 0h-4v4h4v-4zm16 0h-4v4h4v-4zm-8 8h-4v4h4v-4zm0-8h-4v4h4v-4zm12 28h4v-4h-4v4zm-16 8h4v-4h-4v4zm-16-16h36v-4h-36v4zm32-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-16 16h4v-4h-4v4zm8 8h4v-4h-4v4zm8 0h4v-4h-4v4z"/><path d="M0 0h48v48h-48z" fill="none"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 48 48">\n <path d="M6 18h4v-4h-4v4zm0-8h4v-4h-4v4zm8 32h4v-4h-4v4zm0-16h4v-4h-4v4zm-8 0h4v-4h-4v4zm0 16h4v-4h-4v4zm0-8h4v-4h-4v4zm8-24h4v-4h-4v4zm24 24h4v-4h-4v4zm-16 8h4v-36h-4v36zm16 0h4v-4h-4v4zm0-16h4v-4h-4v4zm0-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-8-8h4v-4h-4v4zm0 32h4v-4h-4v4zm0-16h4v-4h-4v4z"/>\n <path d="M0 0h48v48h-48z" fill="none"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1760 896q14 0 23 9t9 23v64q0 14-9 23t-23 9h-1728q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h1728zm-1277-64q-28-35-51-80-48-97-48-188 0-181 134-309 133-127 393-127 50 0 167 19 66 12 177 48 10 38 21 118 14 123 14 183 0 18-5 45l-12 3-84-6-14-2q-50-149-103-205-88-91-210-91-114 0-182 59-67 58-67 146 0 73 66 140t279 129q69 20 173 66 58 28 95 52h-743zm507 256h411q7 39 7 92 0 111-41 212-23 55-71 104-37 35-109 81-80 48-153 66-80 21-203 21-114 0-195-23l-140-40q-57-16-72-28-8-8-8-22v-13q0-108-2-156-1-30 0-68l2-37v-44l102-2q15 34 30 71t22.5 56 12.5 27q35 57 80 94 43 36 105 57 59 22 132 22 64 0 139-27 77-26 122-86 47-61 47-129 0-84-81-157-34-29-137-71z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n <path d="M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm639 217v206h-514l-4-27q-3-45-3-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 80-65 188-65 110 0 178 59.5t68 158.5q0 66-34.5 118.5t-84 86-99.5 62.5-87 63-41 73h232v-80h126z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792">\n <path d="M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm637-679v206h-514l-3-27q-4-28-4-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 83-65 188-65 110 0 178 59.5t68 158.5q0 56-24.5 103t-62 76.5-81.5 58.5-82 50.5-65.5 51.5-30.5 63h232v-80h126z"/>\n</svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M576 1376v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm128-320v1088q0 66-47 113t-113 47h-1344q-66 0-113-47t-47-113v-1088q0-66 47-113t113-47h1344q66 0 113 47t47 113z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm-1280-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm-1408-928q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M176 223q-37-2-45-4l-3-88q13-1 40-1 60 0 112 4 132 7 166 7 86 0 168-3 116-4 146-5 56 0 86-2l-1 14 2 64v9q-60 9-124 9-60 0-79 25-13 14-13 132 0 13 .5 32.5t.5 25.5l1 229 14 280q6 124 51 202 35 59 96 92 88 47 177 47 104 0 191-28 56-18 99-51 48-36 65-64 36-56 53-114 21-73 21-229 0-79-3.5-128t-11-122.5-13.5-159.5l-4-59q-5-67-24-88-34-35-77-34l-100 2-14-3 2-86h84l205 10q76 3 196-10l18 2q6 38 6 51 0 7-4 31-45 12-84 13-73 11-79 17-15 15-15 41 0 7 1.5 27t1.5 31q8 19 22 396 6 195-15 304-15 76-41 122-38 65-112 123-75 57-182 89-109 33-255 33-167 0-284-46-119-47-179-122-61-76-83-195-16-80-16-237v-333q0-188-17-213-25-36-147-39zm1488 1409v-64q0-14-9-23t-23-9h-1472q-14 0-23 9t-9 23v64q0 14 9 23t23 9h1472q14 0 23-9t9-23z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1664 896q0 156-61 298t-164 245-245 164-298 61q-172 0-327-72.5t-264-204.5q-7-10-6.5-22.5t8.5-20.5l137-138q10-9 25-9 16 2 23 12 73 95 179 147t225 52q104 0 198.5-40.5t163.5-109.5 109.5-163.5 40.5-198.5-40.5-198.5-109.5-163.5-163.5-109.5-198.5-40.5q-98 0-188 35.5t-160 101.5l137 138q31 30 14 69-17 40-59 40h-448q-26 0-45-19t-19-45v-448q0-42 40-59 39-17 69 14l130 129q107-101 244.5-156.5t284.5-55.5q156 0 298 61t245 164 164 245 61 298z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M503 1271l-256 256q-10 9-23 9-12 0-23-9-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23zm169 41v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm-224-224q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm1264 128q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-334-335q-21-21-42-56l239-18 273 274q27 27 68 27.5t68-26.5l147-146q28-28 28-67 0-40-28-68l-274-275 18-239q35 21 56 42l336 336q84 86 84 204zm-617-724l-239 18-273-274q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l274 274-18 240q-35-21-56-42l-336-336q-84-86-84-204 0-120 85-203l147-146q83-83 203-83 121 0 204 85l334 335q21 21 42 56zm633 84q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm-544-544v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm407 151l-256 256q-11 9-23 9t-23-9q-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1728 576v256q0 26-19 45t-45 19h-64q-26 0-45-19t-19-45v-256q0-106-75-181t-181-75-181 75-75 181v192h96q40 0 68 28t28 68v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h672v-192q0-185 131.5-316.5t316.5-131.5 316.5 131.5 131.5 316.5z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1639 1056q0 5-1 7-64 268-268 434.5t-478 166.5q-146 0-282.5-55t-243.5-157l-129 129q-19 19-45 19t-45-19-19-45v-448q0-26 19-45t45-19h448q26 0 45 19t19 45-19 45l-137 137q71 66 161 102t187 36q134 0 250-65t186-179q11-17 53-117 8-23 30-23h192q13 0 22.5 9.5t9.5 22.5zm25-800v448q0 26-19 45t-45 19h-448q-26 0-45-19t-19-45 19-45l138-138q-148-137-349-137-134 0-250 65t-186 179q-11 17-53 117-8 23-30 23h-199q-13 0-22.5-9.5t-9.5-22.5v-7q65-268 270-434.5t480-166.5q146 0 284 55.5t245 156.5l130-129q19-19 45-19t45 19 19 45z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1344 1472q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm256 0q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128-224v320q0 40-28 68t-68 28h-1472q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h427q21 56 70.5 92t110.5 36h256q61 0 110.5-36t70.5-92h427q40 0 68 28t28 68zm-325-648q-17 40-59 40h-256v448q0 26-19 45t-45 19h-256q-26 0-45-19t-19-45v-448h-256q-42 0-59-40-17-39 14-69l448-448q18-19 45-19t45 19l448 448q31 30 14 69z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1216 320q0 26-19 45t-45 19h-128v1024h128q26 0 45 19t19 45-19 45l-256 256q-19 19-45 19t-45-19l-256-256q-19-19-19-45t19-45 45-19h128v-1024h-128q-26 0-45-19t-19-45 19-45l256-256q19-19 45-19t45 19l256 256q19 19 19 45z"/></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1792 352v1088q0 42-39 59-13 5-25 5-27 0-45-19l-403-403v166q0 119-84.5 203.5t-203.5 84.5h-704q-119 0-203.5-84.5t-84.5-203.5v-704q0-119 84.5-203.5t203.5-84.5h704q119 0 203.5 84.5t84.5 203.5v165l403-402q18-19 45-19 12 0 25 5 39 17 39 59z"/></svg>'},function(e,t){e.exports='<svg x="0px" y="0px" viewBox="0 0 459 459">\n<g>\n\t<g>\n\t\t<path d="M229.5,0C102,0,0,102,0,229.5S102,459,229.5,459c20.4,0,38.25-17.85,38.25-38.25c0-10.2-2.55-17.85-10.2-25.5\n\t\t\tc-5.1-7.65-10.2-15.3-10.2-25.5c0-20.4,17.851-38.25,38.25-38.25h45.9c71.4,0,127.5-56.1,127.5-127.5C459,91.8,357,0,229.5,0z\n\t\t\t M89.25,229.5c-20.4,0-38.25-17.85-38.25-38.25S68.85,153,89.25,153s38.25,17.85,38.25,38.25S109.65,229.5,89.25,229.5z\n\t\t\t M165.75,127.5c-20.4,0-38.25-17.85-38.25-38.25S145.35,51,165.75,51S204,68.85,204,89.25S186.15,127.5,165.75,127.5z\n\t\t\t M293.25,127.5c-20.4,0-38.25-17.85-38.25-38.25S272.85,51,293.25,51s38.25,17.85,38.25,38.25S313.65,127.5,293.25,127.5z\n\t\t\t M369.75,229.5c-20.4,0-38.25-17.85-38.25-38.25S349.35,153,369.75,153S408,170.85,408,191.25S390.15,229.5,369.75,229.5z"\n\t\t/>\n\t</g>\n</g>\n</svg>\n'}])});;