jodit 3.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 3322da72ae5921ac43567ff7e749e21d45d9551e
4
+ data.tar.gz: 07fcc5cef5487558f4604998681ce583cbb40e36
5
+ SHA512:
6
+ metadata.gz: e5a9b8fad4bb6c5b892985881c2d3c9229881c3b64b2249afc342104578f84a9a36a1d83cecf4861706eccba614d28b3d54caab94ade905eddb95983f30c3733
7
+ data.tar.gz: c5a832bea27fb5ee50802744320cf817a9d6cc373556b829649eeb5ff2ebd9e02bf04435c6aa851d29e83a6d1d2331595236fcd17e630c36078c631fc624eaf0
data/LICENSE ADDED
@@ -0,0 +1,23 @@
1
+ Jodit - A simple editor designed by xdan
2
+ Copyright (C) 2014 https://github.com/xdan/jodit
3
+
4
+ Rubygem - Jodit - Rails assets wrapper for Jodit
5
+ Copyright (C) 2015 https://github.com/jodit/jodit-rails
6
+
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
8
+ this software and associated documentation files (the "Software"), to deal in
9
+ the Software without restriction, including without limitation the rights to
10
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
11
+ of the Software, and to permit persons to whom the Software is furnished to do
12
+ so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in all
15
+ copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ SOFTWARE.
@@ -0,0 +1,32 @@
1
+ # jodit gem
2
+
3
+ `jodit` gem is a Rails assets wrapper of [Jodit](https://github.com/xdan/jodit).
4
+
5
+ [![Gem Version](https://badge.fury.io/rb/jodit.svg)](https://badge.fury.io/rb/jodit)
6
+
7
+ ## Usage
8
+
9
+ in Gemfile
10
+ ```ruby
11
+ gem 'jodit'
12
+ ```
13
+
14
+ in application.js
15
+ ```
16
+ //= require jodit
17
+ ```
18
+
19
+ in application.css
20
+ ```
21
+ *= require jodit
22
+ ```
23
+
24
+ ## Initialization
25
+
26
+ ```javascript
27
+ var editor = new Jodit(
28
+ '#editor', {
29
+ buttons: [
30
+ 'bold','italic','underline'
31
+ ]})
32
+ ```
@@ -0,0 +1,5 @@
1
+ require "jodit/version"
2
+ require 'jodit/engine'
3
+
4
+ module Jodit
5
+ end
@@ -0,0 +1,7 @@
1
+ module Jodit
2
+ class Engine < ::Rails::Engine
3
+ initializer :assets do |app|
4
+ app.config.assets.precompile += %w( upload-loading.png )
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,5 @@
1
+ module Jodit
2
+ module Version
3
+ EDITOR = "3.1.3"
4
+ end
5
+ end
@@ -0,0 +1,10 @@
1
+ /*!
2
+ *
3
+ * jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
4
+ * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)
5
+ * Version: v3.1.3
6
+ * Url: https://xdsoft.net/jodit/
7
+ * License(s): SEE LICENSE IN <LICENSE>
8
+ *
9
+ */
10
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Jodit=t():e.Jodit=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(i){if(o[i])return o[i].exports;var n=o[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var o={};return t.m=e,t.c=o,t.d=function(e,o,i){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/build/",t(t.s=19)}([function(e,t,o){"use strict";var i=this;t.__esModule=!0;var n=o(2),r={},a=r.toString,s=r.hasOwnProperty;t.isIE=function(){return-1!=navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)};var l=1;t.$$=function(e,o){var i;if(!/:scope/.test(e)||!t.isIE()||"undefined"!=typeof HTMLDocument&&o instanceof HTMLDocument)i=o.querySelectorAll(e);else{var n=o.id,r=n||"_selector_id_"+(""+Math.random()).slice(2)+l++;e=e.replace(/:scope/g,"#"+r),!n&&o.setAttribute("id",r),i=o.parentNode.querySelectorAll(e),n||o.removeAttribute("id")}return[].slice.call(i)},t.isWindow=function(e){return null!==e&&e===e.window},t.type=function(e){return null===e?"null":"object"==typeof e||"function"==typeof e?r[a.call(e)]||"object":typeof e},t.each=function(e,t){var o,i,n;if(Array.isArray(e)){for(o=e.length,n=0;o>n;n+=1)if(!1===t.call(e[n],n,e[n]))return!1}else for(i=Object.keys(e),n=0;i.length>n;n+=1)if(!1===t.call(e[i[n]],i[n],e[i[n]]))return!1;return e},t.each(["Boolean","Number","String","Function","Array","Date","RegExp","Object","Error","Symbol","HTMLDocument","Window","HTMLElement","HTMLBodyElement","Text","DocumentFragment"],function(e,t){r["[object "+t+"]"]=t.toLowerCase()}),t.inArray=function(e,t){return-1!==t.indexOf(e)},t.isPlainObject=function(e){return!("object"!=typeof e||e.nodeType||t.isWindow(e)||e.constructor&&!s.call(e.constructor.prototype,"isPrototypeOf"))},t.extend=function(){for(var e=[],o=0;arguments.length>o;o++)e[o]=arguments[o];var n,r,a,s,l,d,c,u,f=e[0]||{},p=1,h=e.length,m=!1;for("boolean"==typeof f&&(m=f,f=e[p]||{},p+=1),"object"!=typeof f&&"function"===t.type(f)&&(f={}),p===h&&(f=i,p+=1),p;h>p;p+=1)if(null!==(n=e[p])&&void 0!==n)for(u=Object.keys(n),c=0;u.length>c;c+=1)r=u[c],a=f[r],s=n[r],f!==s&&(m&&s&&(t.isPlainObject(s)||Array.isArray(s))?(l=Array.isArray(s),l?(l=!1,d=a&&Array.isArray(a)?a:[]):d=a&&t.isPlainObject(a)?a:{},f[r]=t.extend(m,d,s)):void 0!==s&&(f[r]=s));return f},t.trim=function(e){return e.replace(n.SPACE_REG_EXP_START,"").replace(n.SPACE_REG_EXP_END,"")},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,i,n,r,a=/([\s\n\t\r]*?)rgb\((\d+), (\d+), (\d+)\)/.exec(e)||/([\s\n\t\r]*?)rgba\((\d+), (\d+), (\d+), ([\d.]+)\)/.exec(e);if(!a)return"#000000";for(o=parseInt(a[2],10),i=parseInt(a[3],10),n=parseInt(a[4],10),r=n|i<<8|o<<16,t=r.toString(16).toUpperCase();6>t.length;)t="0"+t;return a[1]+"#"+t},t.normalizeColor=function(e){var o,i=["#"],n=t.colorToHex(e);if(!n)return!1;if(n=t.trim(n.toUpperCase()),n=n.substr(1),3===n.length){for(o=0;3>o;o+=1)i.push(n[o]),i.push(n[o]);return i.join("")}return n.length>6&&(n=n.substr(0,6)),"#"+n},t.normalizeSize=function(e){return/^[0-9]+$/.test(""+e)?e+"px":""+e},t.getContentWidth=function(e,t){var o=function(e){return parseInt(e,10)},i=t.getComputedStyle(e);return e.offsetWidth-o(i.getPropertyValue("padding-left")||"0")-o(i.getPropertyValue("padding-right")||"0")},t.ctrlKey=function(e){if(-1!==navigator.userAgent.indexOf("Mac OS X")){if(e.metaKey&&!e.altKey)return!0}else if(e.ctrlKey&&!e.altKey)return!0;return!1};var d=function(e){return"file:"===window.location.protocol&&/^\/\//.test(e)&&(e="https:"+e),e};t.appendScript=function(e,t,o,i){void 0===o&&(o="");var n=i.createElement("script");n.className=o,n.type="text/javascript",n.charset="utf-8",n.src=d(e),void 0!==t&&(n.onload=t),i.body.appendChild(n)},t.dom=function(e,t){if(e instanceof t.defaultView.HTMLElement)return e;var o=t.createElement("div");return o.innerHTML=e,o.firstChild!==o.lastChild?o:o.firstChild},t.hexToRgb=function(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(e,t,o,i){return t+t+o+o+i+i});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},t.clear=function(e,o){return void 0===o&&(o=!1),e=t.trim(e).replace(n.INVISIBLE_SPACE_REG_EXP,"").replace(/[\s]*class=""/g,""),o&&(e=e.replace(/<p[^>]*>[\s\n\r\t]*(&nbsp;|<br>|<br\/>)?[\s\n\r\t]*<\/p>[\n\r]*/g,"")),e},t.htmlentities=function(e){return e.replace(/</gi,"&lt;").replace(/>/gi,"&gt;").replace(/"/gi,"&quot;").replace(/'/gi,"&apos;")},t.cleanFromWord=function(e){return e=e.replace(/<o:p>\s*<\/o:p>/g,""),e=e.replace(/<o:p>.*?<\/o:p>/g,"&nbsp;"),e=e.replace(/\s*mso-[^:]+:[^;"]+;?/gi,""),e=e.replace(/\s*MARGIN: 0cm 0cm 0pt\s*;/gi,""),e=e.replace(/\s*MARGIN: 0cm 0cm 0pt\s*"/gi,'"'),e=e.replace(/\s*TEXT-INDENT: 0cm\s*;/gi,""),e=e.replace(/\s*TEXT-INDENT: 0cm\s*"/gi,'"'),e=e.replace(/\s*TEXT-ALIGN: [^\s;]+;?"/gi,'"'),e=e.replace(/\s*PAGE-BREAK-BEFORE: [^\s;]+;?"/gi,'"'),e=e.replace(/\s*FONT-VARIANT: [^\s;]+;?"/gi,'"'),e=e.replace(/\s*tab-stops:[^;"]*;?/gi,""),e=e.replace(/\s*tab-stops:[^"]*/gi,""),e=e.replace(/\s*face="[^"]*"/gi,""),e=e.replace(/\s*face=[^ >]*/gi,""),e=e.replace(/\s*FONT-FAMILY:[^;"]*;?/gi,""),e=e.replace(/<(\w[^>]*) class=([^ |>]*)([^>]*)/gi,"<$1$3"),e=e.replace(/<(\w[^>]*) style="([^"]*)"([^>]*)/gi,"<$1$3"),e=e.replace(/\s*style="\s*"/gi,""),e=e.replace(/<SPAN\s*[^>]*>\s*&nbsp;\s*<\/SPAN>/gi,"&nbsp;"),e=e.replace(/<SPAN\s*[^>]*><\/SPAN>/gi,""),e=e.replace(/<(\w[^>]*) lang=([^ |>]*)([^>]*)/gi,"<$1$3"),e=e.replace(/<SPAN\s*>(.*?)<\/SPAN>/gi,"$1"),e=e.replace(/<FONT\s*>(.*?)<\/FONT>/gi,"$1"),e=e.replace(/<\\?\?xml[^>]*>/gi,""),e=e.replace(/<\/?\w+:[^>]*>/gi,""),e=e.replace(/<H\d>\s*<\/H\d>/gi,""),e=e.replace(/<H1([^>]*)>/gi,""),e=e.replace(/<H2([^>]*)>/gi,""),e=e.replace(/<H3([^>]*)>/gi,""),e=e.replace(/<H4([^>]*)>/gi,""),e=e.replace(/<H5([^>]*)>/gi,""),e=e.replace(/<H6([^>]*)>/gi,""),e=e.replace(/<\/H\d>/gi,"<br>"),e=e.replace(/<(U|I|STRIKE)>&nbsp;<\/\1>/g,"&nbsp;"),e=e.replace(/<(b)>&nbsp;<\/\b>/gi,""),e=e.replace(/<([^\s>]+)[^>]*>\s*<\/\1>/g,""),e=e.replace(/<([^\s>]+)[^>]*>\s*<\/\1>/g,""),e=e.replace(/<([^\s>]+)[^>]*>\s*<\/\1>/g,""),e=e.replace(RegExp("(<P)([^>]*>.*?)(</P>)","gi"),"<div$2</div>"),e=e.replace(/(<font|<FONT)([^*>]*>.*?)(<\/FONT>|<\/font>)/gi,"<div$2</div>"),e=e.replace(/size|SIZE = ([\d])/g,"")},t.isURL=function(e){return RegExp("^(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)},t.pathNormalize=function(e){return e.replace(/([^:])[\\\/]+/g,"$1/")},t.urlNormalize=function(e){return e.replace(/([^:])[\\\/]+/g,"$1/")},t.isHTML=function(e){return/<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(e)},t.humanSizeToBytes=function(e){if(/^[0-9.]+$/.test(""+e))return e;var t=e.substr(-2,2).toUpperCase(),o=["KB","MB","GB","TB"],i=e.substr(0,e.length-2);return-1!==o.indexOf(t)?i*Math.pow(1024,o.indexOf(t)+1):parseInt(e,10)},t.parseQuery=function(e){var t,o,i={},n=e.substr(1).split("&");for(t=0;n.length>t;t+=1)o=n[t].split("="),i[decodeURIComponent(o[0])]=decodeURIComponent(o[1]||"");return i},t.convertMediaURLToVideoEmbed=function(e,o,i){if(void 0===o&&(o=400),void 0===i&&(i=345),!t.isURL(e))return e;var n,r=document.createElement("a"),a=/(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(.+)/g;switch(r.href=e,o||(o=400),i||(i=345),r.hostname){case"www.vimeo.com":case"vimeo.com":return a.test(e)?e.replace(a,'<iframe width="'+o+'" height="'+i+'" src="//player.vimeo.com/video/$1" frameborder="0" allowfullscreen></iframe>'):e;case"youtube.com":case"www.youtube.com":case"youtu.be":case"www.youtu.be":return n=r.search?t.parseQuery(r.search):{v:r.pathname.substr(1)},n.v?'<iframe width="'+o+'" height="'+i+'" src="//www.youtube.com/embed/'+n.v+'" frameborder="0" allowfullscreen></iframe>':e}return e},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)||0>t.indexOf("compatible")||[];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},t.offset=function(e,o,i){void 0===i&&(i=!1);var n,r,a=e.getBoundingClientRect(),s=e.ownerDocument,l=s.body,d=s.documentElement,c=s.defaultView||s.parentWindow,u=c.pageYOffset||d.scrollTop||l.scrollTop,f=c.pageXOffset||d.scrollLeft||l.scrollLeft,p=d.clientTop||l.clientTop||0,h=d.clientLeft||l.clientLeft||0;if(!i&&o.options.iframe){var m=t.offset(o.iframe,o,!0),g=m.top,v=m.left;n=a.top+g,r=a.left+v}else n=a.top+u-p,r=a.left+f-h;return{top:Math.round(n),left:Math.round(r),width:a.width,height:a.height}},t.camelCase=function(e){return e.replace(/-(.)/g,function(e,t){return t.toUpperCase()})},t.fromCamelCase=function(e){return e.replace(/([A-Z]+)/g,function(e,t){return"-"+t.toLowerCase()})},t.htmlspecialchars=function(e){var t=document.createElement("div");return t.innerText=e,t.innerHTML},t.debounce=function(e,t,o,i){3===arguments.length&&"boolean"!=typeof o&&(i=o,o=!1);var n;return function(){var r=arguments;i=i||this,!o&&t||e.apply(i,r),clearTimeout(n),t&&(n=setTimeout(function(){o||e.apply(i,r),n=null},t))}},t.throttle=function(e,t,o){var i,n,r,a;return function(){n=arguments,r=!0,o=o||this,i||(a=function(){r?(e.apply(o,n),r=!1,i=setTimeout(a,t)):i=null})()}},t.normilizeCSSValue=function(e,t){switch(e){case"font-weight":return"bold"===t?700:t}return t},t.css=function(e,o,i){var n=/^left|top|bottom|right|width|min|max|height|margin|padding|font-size/i;if(!t.isPlainObject(o)&&void 0===i){var r=t.fromCamelCase(o),a=e.ownerDocument,s=!!a&&(a.defaultView||a.parentWindow),l=void 0!==e.style[o]&&""!==e.style[o]?e.style[o]:s?s.getComputedStyle(e).getPropertyValue(r):"";return n.test(o)&&/^[\-+]?[0-9\.]+px$/.test(""+l)&&(l=parseInt(l,10)),t.normilizeCSSValue(o,l)}var d=function(e,o,i){void 0!==i&&null!==i&&n.test(o)&&/^[\-+]?[0-9.]+$/.test(""+i)&&(i=parseInt(i,10)+"px"),t.css(e,o)!=t.normilizeCSSValue(o,i)&&(e.style[o]=i)};if(t.isPlainObject(o)){var c=Object.keys(o),u=void 0;for(u=0;c.length>u;u+=1)d(e,t.camelCase(c[u]),o[c[u]])}else d(e,t.camelCase(o),i)},t.asArray=function(e){return Array.isArray(e)?e:[e]},t.sprintf=function(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];var o=/%%|%(\d+\$)?([-+#0 ]*)(\*\d+\$|\*|\d+)?(\.(\*\d+\$|\*|\d+))?([scboxXuidfegEG])/g,i=e,n=0,r=i[n++],a=function(e,t,o,i){var n=t>e.length?Array(1+t-e.length>>>0).join(o):"";return i?e+n:n+e},s=function(e,t,o,i,n){var r=i-e.length;return r>0&&(e=o||!n?a(e,i," ",o):e.slice(0,t.length)+a("",r,"0",!0)+e.slice(t.length)),e},l=function(e,t,o,i,n,r,l){var d=e>>>0;return o=o&&d&&{2:"0b",8:"0",16:"0x"}[t]||"",e=o+a(d.toString(t),r||0,"0",!1),s(e,o,i,n,l)},d=function(e,t,o,i,n){return null!=i&&(e=e.slice(0,i)),s(e,"",t,o,n)};return r.replace(o,function(e,t,o,r,c,u,f){if("%%"==e)return"%";for(var p=!1,h="",m=!1,g=!1,v=0;o&&o.length>v;v++)switch(o.charAt(v)){case" ":h=" ";break;case"+":h="+";break;case"-":p=!0;break;case"0":m=!0;break;case"#":g=!0}if(r=r?"*"===r?+i[n++]:"*"===r.charAt(0)?+i[r.slice(1,-1)]:+r:0,0>r&&(r=-r,p=!0),!isFinite(r))throw Error("sprintf: (minimum-)width must be finite");u=u?"*"===u?+i[n++]:"*"===u[0]?+i[u.slice(1,-1)]:+u:"fFeE".indexOf(f)>-1?6:"d"==f?0:void 0;var _=t?i[t.slice(0,-1)]:i[n++];switch(f){case"s":return d(_+"",p,r,u,m);case"c":return d(String.fromCharCode(+_),p,r,u,m);case"b":return l(_,2,g,p,r,u,m);case"o":return l(_,8,g,p,r,u,m);case"x":return l(_,16,g,p,r,u,m);case"X":return l(_,16,g,p,r,u,m).toUpperCase();case"u":return l(_,10,g,p,r,u,m);case"i":case"d":var b=parseInt(""+_,10),y=0>b?"-":h;return _=y+a(Math.abs(b)+"",u,"0",!1),s(_,y,p,r,m);case"e":case"E":case"f":case"F":case"g":case"G":var b=+_,y=0>b?"-":h,w=["toExponential","toFixed","toPrecision"]["efg".indexOf(f.toLowerCase())],q=["toString","toUpperCase"]["eEfFgG".indexOf(f)%2];return _=y+Math.abs(b)[w](u),s(_,y,p,r,m)[q]();default:return e}})},t.val=function(e,t,o){var i=e.querySelector(t);return i?(o&&(i.value=o),i.value):""},t.defaultLanguage=function(e){return"auto"===e||void 0===e?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";t.__esModule=!0;var i=o(2),n=o(0),r=o(12),a=r.Widget.TabsWidget,s=r.Widget.ImageSelectorWidget,l=function(){function e(){this.ownerDocument=document,this.ownerWindow=window,this.zIndex=0,this.toolbarButtonSize="middle",this.theme="default",this.saveModeInCookie=!1,this.spellcheck=!0,this.editorCssClass=!1,this.triggerChangeEvent=!0,this.width="auto",this.height="auto",this.minHeight=100,this.direction="",this.language="auto",this.debugLanguage=!1,this.i18n="en",this.tabIndex=-1,this.toolbar=!0,this.enter=i.PARAGRAPH,this.defaultMode=i.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","italic","|","ul","ol","|","font","fontsize","brush","paragraph","|","image","video","table","link","|","align","|","undo","redo","|","hr","eraser","fullsize","copyformat","about"],this.buttonsMD=["source","|","bold","italic","|","ul","ol","|","font","fontsize","brush","paragraph","|","image","table","link","|","align","|","undo","redo","|","hr","eraser","copyformat","fullsize"],this.buttonsSM=["source","|","bold","italic","|","ul","ol","|","fontsize","brush","paragraph","|","image","table","link","|","align","|","undo","redo","|","eraser","copyformat","fullsize"],this.buttonsXS=["bold","image","|","brush","paragraph","|","align","|","undo","redo","|","eraser"],this.events={},this.textIcons=!1}return e}();t.Config=l,l.prototype.controls={about:{exec:function(e){var t=new(o(7).default)(e);t.setTitle(e.i18n("About Jodit")),t.setContent('<div class="jodit_about"> <div>'+e.i18n("Jodit Editor")+" v."+e.getVersion()+" "+e.i18n("Free Non-commercial Version")+'</div><div><a href="http://xdsoft.net/jodit/" target="_blank">http://xdsoft.net/jodit/</a></div><div><a href="http://xdsoft.net/jodit/doc/" target="_blank">'+e.i18n("Jodit User's Guide")+"</a> "+e.i18n("contains detailed help for using")+"</div><div>"+e.i18n("For information about the license, please go to our website:")+'</div><div><a href="http://xdsoft.net/jodit/license.html" target="_blank">http://xdsoft.net/jodit/license.html</a></div><div><a href="http://xdsoft.net/jodit/#download" target="_blank">'+e.i18n("Buy full version")+"</a></div><div>"+e.i18n("Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.")+"</div></div>"),t.open()},tooltip:"About Jodit",mode:i.MODE_SOURCE+i.MODE_WYSIWYG},hr:{command:"insertHorizontalRule",tags:["hr"],tooltip:"Insert Horizontal Line"},image:{popup:function(e,t,o,i){var r,a=function(t){e.selection.insertNode(n.dom('<img src="'+t+'"/>',e.editorDocument))};return t&&t.nodeType!==Node.TEXT_NODE&&("IMG"===t.tagName||n.$$("img",t).length)&&(r="IMG"===t.tagName?t:n.$$("img",t)[0]),s(e,{filebrowser:function(e){if(e.files&&e.files.length){var t=void 0;for(t=0;e.files.length>t;t+=1)a(e.baseurl+e.files[t])}i()},upload:function(e){var t;if(e.files&&e.files.length)for(t=0;e.files.length>t;t+=1)a(e.baseurl+e.files[t]);i()},url:function(t,o){var a=r||n.dom("<img/>",e.editorDocument);a.setAttribute("src",t),a.setAttribute("alt",o),r||e.selection.insertNode(a),i()}},r,i)},tags:["img"],tooltip:"Insert Image"},video:{popup:function(e){var t=n.dom('<form class="jodit_form">\n <input required name="code" placeholder="http://" type="url"/>\n <button type="submit">'+e.i18n("Insert")+"</button>\n </form>",e.ownerDocument),i=n.dom('<form class="jodit_form">\n <textarea required name="code" placeholder="'+e.i18n("Embed code")+'"></textarea>\n <button type="submit">'+e.i18n("Insert")+"</button>\n </form>",e.ownerDocument),r={},s=e.selection.save(),l=function(t){e.selection.restore(s),e.selection.insertHTML(t)};return r[o(5).default.getIcon("link")+"&nbsp;"+e.i18n("Link")]=t,r[o(5).default.getIcon("source")+"&nbsp;"+e.i18n("Code")]=i,i.addEventListener("submit",function(e){return e.preventDefault(),n.trim(n.val(i,"textarea[name=code]"))?(l(n.val(i,"textarea[name=code]")),!1):(i.querySelector("textarea[name=code]").focus(),i.querySelector("textarea[name=code]").classList.add("jodit_error"),!1)}),t.addEventListener("submit",function(e){return e.preventDefault(),n.isURL(n.val(t,"input[name=code]"))?(l(n.convertMediaURLToVideoEmbed(n.val(t,"input[name=code]"))),!1):(t.querySelector("input[name=code]").focus(),t.querySelector("input[name=code]").classList.add("jodit_error"),!1)}),a(e,r)},tags:["iframe"],tooltip:"Insert youtube/vimeo video"}}},function(e,t,o){"use strict";t.__esModule=!0;var i=o(0);t.INVISIBLE_SPACE="\ufeff",t.INVISIBLE_SPACE_REG_EXP=/[\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)$/i,t.KEY_ENTER=13,t.KEY_BACKSPACE=8,t.KEY_DELETE=46,t.KEY_TAB=9,t.KEY_LEFT=37,t.KEY_TOP=38,t.KEY_RIGHT=39,t.KEY_BOTTOM=40,t.KEY_Z=90,t.KEY_Y=89,t.NEARBY=5,t.ACCURACY=10,t.BR="br",t.PARAGRAPH="P",t.MODE_WYSIWYG=1,t.MODE_SOURCE=2,t.MODE_SPLIT=3,t.TEXT_PLAIN=i.isIE()?"text":"text/plain",t.MARKER_CLASS="jodit_selection_marker",t.EMULATE_DBLCLICK_TIMEOUT=300},function(e,t,o){"use strict";t.__esModule=!0;var i=o(2),n=o(0);t.default=function(){function e(){}return e.unwrap=function(e){for(var t=e.parentNode,o=e;o.firstChild;)t.insertBefore(o.firstChild,o);t.removeChild(o)},e.each=function(t,o){var i=t.firstChild;if(i)for(;i;){if(!1===o.call(i,i)||!1===e.each(i,o))return!1;i=e.next(i,function(e){return!!e},t)}return!0},e.create=function(e,t,o){var i;return e=e.toLowerCase(),"text"===e?i=o.createTextNode("string"==typeof t?t:""):(i=o.createElement(e),void 0!==t&&(i.innerHTML=t)),i},e.replace=function(t,o,i,r,a){void 0===i&&(i=!1),void 0===r&&(r=!1);var s="string"==typeof o?e.create(o,"",a):o;if(!r)for(;t.firstChild;)s.appendChild(t.firstChild);return i&&n.each(t.attributes,function(e,t){s.setAttribute(t.name,t.nodeValue)}),t.parentNode.replaceChild(s,t),s},e.isCell=function(t,o){return e.isNode(t,o)&&/^(td|th)$/i.test(t.nodeName)},e.isImage=function(t,o){return e.isNode(t,o)&&/^(img|svg|picture|canvas)$/i.test(t.nodeName)},e.isBlock=function(e){return e&&"string"==typeof e.tagName&&i.IS_BLOCK.test(e.tagName)},e.canSplitBlock=function(e,t){return e&&e instanceof t.HTMLElement&&this.isBlock(e)&&!/^(TD|TH|CAPTION|FORM)$/.test(e.nodeName)&&void 0!==e.style&&!/^(fixed|absolute)/i.test(e.style.position)},e.prev=function(t,o,i,n){return void 0===n&&(n=!0),e.find(t,o,i,!1,"previousSibling",!!n&&"lastChild")},e.next=function(t,o,i,n){return void 0===n&&(n=!0),e.find(t,o,i,void 0,void 0,n?"firstChild":"")},e.find=function(t,o,i,n,r,a){if(void 0===n&&(n=!1),void 0===r&&(r="nextSibling"),void 0===a&&(a="firstChild"),n&&o(t))return t;var s,l=t;do{if(s=l[r],o(s))return s;if(a&&s&&s[a]){var d=e.find(s[a],o,s,!0,r,a);if(d)return d}s||(s=l.parentNode),l=s}while(l&&l!==i);return!1},e.isEmptyTextNode=function(e){return e&&e.nodeType===Node.TEXT_NODE&&0===e.nodeValue.replace(i.INVISIBLE_SPACE_REG_EXP,"").length},e.isEmpty=function(t){return!t||(t.nodeType===Node.TEXT_NODE?0===n.trim(t.nodeValue).length:e.each(t,function(e){if(e.nodeType===Node.TEXT_NODE&&0!==n.trim(e.nodeValue).length||e.nodeType===Node.ELEMENT_NODE&&e.nodeName.match(/^(img|table)$/i))return!1}))},e.isNode=function(e,t){return"object"==typeof t?e instanceof t.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},e.up=function(e,t,o){var i=e;if(!e)return!1;do{if(t(i))return i;if(i===o)break;i=i.parentNode}while(i&&i!==o);return!1},e.closest=function(t,o,i){var n;return n="function"==typeof o?o:o instanceof RegExp?function(e){return o.test(e.tagName)}:function(e){return RegExp("^("+o+")$","i").test(e.tagName)},e.up(t,n,i)},e.after=function(e,t){var o=e.parentNode;o.lastChild===e?o.appendChild(t):o.insertBefore(t,e.nextSibling)},e.all=function(t,o){var i=t,n=i.childNodes?Array.prototype.slice.call(i.childNodes):[];if(o(i))return i;n.forEach(function(t){e.all(t,o)})},e.wrap=function(t,o,i){var n,r=t,a=t,s=i.selection.save(),l=!1;do{l=!1,(n=e.prev(r,function(e){return!!e},i.editor,!1))&&!e.isBlock(n)&&(l=!0,r=n)}while(l);do{l=!1,(n=e.next(a,function(e){return!!e},i.editor,!1))&&!e.isBlock(n)&&(l=!0,a=n)}while(l);var d="string"==typeof o?e.create(o,"",i.editorDocument):o;r.parentNode.insertBefore(d,r);for(var c=r;c&&(c=r.nextSibling,d.appendChild(r),r!==a);)r=c;return i.selection.restore(s),d},e.contains=function(e,t){for(;t.parentNode;){if(t.parentNode===e)return!0;t=t.parentNode}return!1},e.isOrContains=function(t,o){return t===o||e.contains(t,o)},e}()},function(e,t,o){"use strict";t.__esModule=!0,t.default=function(){function e(e){this.__scope=[],this.__scopeNamespace={},this.classSeparator=/[\s]+/,this.jodit=e,e&&e.components&&e.components.push(this)}return e.prototype.__fire=function(e,t,o){var i=o.createEvent("HTMLEvents");"string"==typeof t?i.initEvent(t,!0,!0):(i.initEvent(t.type,t.bubbles,t.cancelable),["screenX","screenY","clientX","clientY","target","srcElement","currentTarget","timeStamp","which","keyCode"].forEach(function(e){Object.defineProperty(i,e,{value:t[e],enumerable:!0})}),Object.defineProperty(i,"originalEvent",{value:t,enumerable:!0})),e.dispatchEvent(i)},e.prototype.__off=function(e,t){if(void 0===e&&(e=!1),void 0===t&&(t=!1),t&&/^\./.test(t)){var o=t.replace(/^\./,"");return this.__scopeNamespace[o]&&this.__scopeNamespace[o].forEach(function(t){(Array.isArray(e)?e:[e]).forEach(function(e){t.element&&t.element.removeEventListener&&(!1===e||e===t.element)&&t.element.removeEventListener(t.event,t.callback)})}),this}return this.__scope.forEach(function(o){(Array.isArray(e)?e:[e]).forEach(function(e){!o.element||!o.element.removeEventListener||!1!==e&&e!==o.element||!1!==t&&t!==o.event||o.element.removeEventListener(o.event,o.callback)})}),this},e.prototype.__on=function(e,t,o,i){var n=this;"function"==typeof o&&(i=o,o=!1);var r=t?t.split(this.classSeparator):[],a=function(e){e.cancelBubble||(e.type.match(/^touch/)&&e.changedTouches&&e.changedTouches.length&&["clientX","clientY","pageX","pageY"].forEach(function(t){Object.defineProperty(e,t,{value:e.changedTouches[0][t],enumerable:!0})}),e.originalEvent||(e.originalEvent=e))},s=function(e){a(e),i.call(this,e)};return r.forEach(function(t){var r="";/\./.test(t)&&(d=t.split("."),t=d[0],r=d[1]),o&&(s=function(e){a(e);for(var t=e.target;t&&t!==this;){if(t.matches(o)){if(!1===i.call(t,e))return e.preventDefault(),!1;return}t=t.parentNode}}),(Array.isArray(e)?e:[e]).forEach(function(e){e.addEventListener(t,s,!1)});var l={element:e,event:t,callback:s};void 0===n.__scopeNamespace[r]&&(n.__scopeNamespace[r]=[]),n.__scopeNamespace[r].push(l),n.__scope.push(l);var d}),this},e.prototype.destruct=function(){this.__off()},e}()},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=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])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),n=this&&this.__assign||Object.assign||function(e){for(var t,o=1,i=arguments.length;i>o;o++){t=arguments[o];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e};t.__esModule=!0;var r=o(4),a=o(0),s=o(2),l=o(3);t.default=function(e){function t(t){var o=e.call(this,t)||this;return o.__popapOpened=!1,o.__listOpened=!1,o.closeAll=function(){o.list.innerHTML="",o.popup.innerHTML="",o.popup.style.display="none",o.list.style.display="none",a.$$(".jodit_dropdown_open, .jodit_popap_open",o.container).forEach(function(e){e.classList.remove("jodit_dropdown_open","jodit_popap_open")}),o.__popapOpened&&o.jodit.selection&&o.jodit.selection.clear(),o.__popapOpened=!1,o.__listOpened=!1},o.defaultControl={template:function(e,t,i){return o.jodit.i18n(i)}},o.buttonList=[],o.initEvents=function(){o.__on(o.popup,"mousedown touchstart",function(e){e.stopPropagation()}).__on(o.list,"mousedown touchstart",function(e){e.stopPropagation()}).__on(o.jodit.ownerWindow,"mousedown touchstart",function(){(o.__popapOpened||o.__listOpened)&&o.closeAll()}),o.jodit.events.on("mousedown mouseup keydown change afterSetMode focus",function(){var e=function(){o.jodit.selection&&o.checkActiveButtons(o.jodit.selection.current())};o.jodit.options.observer.timeout?setTimeout(e,o.jodit.options.observer.timeout):e()})},o.container=a.dom('<div class="jodit_toolbar"/>',t.ownerDocument),o.popup=a.dom('<div class="jodit_toolbar_popup"/>',t.ownerDocument),o.list=a.dom('<ul class="jodit_dropdownlist"/>',t.ownerDocument),o.initEvents(),o}return i(t,e),t.getIcon=function(e,o){return void 0===o&&(o="<span></span>"),void 0!==t.icons[e]?t.icons[e]:o},t.prototype.openPopup=function(e,t,o){void 0===o&&(o=!1),this.closeAll(),t&&(e.classList.add("jodit_popup_open"),e.appendChild(this.popup),this.__popapOpened=!0,this.popup.innerHTML="",this.popup.appendChild(a.dom(t,this.jodit.ownerDocument)),this.popup.style.display="block",this.popup.classList.toggle("jodit_right",o))},t.prototype.openList=function(e){e.classList.add("jodit_dropdown_open"),this.closeAll(),this.__listOpened=!0,this.list.style.display="block"},t.__toggleButton=function(e,t){e.classList.toggle("jodit_disabled",!t),t?e.hasAttribute("disabled")&&e.removeAttribute("disabled"):e.hasAttribute("disabled")||e.setAttribute("disabled","disabled")},t.prototype.checkActiveButtons=function(e){var o=this,i=function(e,t){return""+o.jodit.editorWindow.getComputedStyle(e).getPropertyValue(t)},n=function(e,t,n){var r=0,a=0;Object.keys(t).forEach(function(e){var s=t[e];"function"==typeof s?s(o.jodit,i(n,e).toLowerCase())&&(r+=1):-1!==s.indexOf(i(n,e).toLowerCase())&&(r+=1),a+=1}),a===r&&e.btn.classList.add("jodit_active")};this.buttonList.forEach(function(i){i.btn.classList.remove("jodit_active");var r=void 0===i.control||void 0===i.control.mode?s.MODE_WYSIWYG:i.control.mode;if(t.__toggleButton(i.btn,r===s.MODE_SPLIT||r===o.jodit.getRealMode()),"function"==typeof i.control.isActive&&i.btn.classList.toggle("jodit_active",i.control.isActive(o.jodit,i.control)),e){var a,d,c;(i.control.tags||i.control.options&&i.control.options.tags)&&(a=i.control.tags||i.control.options&&i.control.options.tags,d=e,l.default.up(d,function(e){if(-1!==a.indexOf(e.nodeName.toLowerCase()))return i.btn.classList.add("jodit_active"),!0},o.jodit.editor)),(i.control.css||i.control.options&&i.control.options.css)&&(c=i.control.css||i.control.options&&i.control.options.css,d=e,l.default.up(d,function(e){e&&e.nodeType!==Node.TEXT_NODE&&n(i,c,e)},o.jodit.editor))}})},t.prototype.addButton=function(e,o,i,n){var r,s=this,l=a.extend(!0,{},o,this.defaultControl),d=a.dom('<li><a href="javascript:void(0)"></a><div class="jodit_tooltip"></div></li>',this.jodit.ownerDocument),c="string"==typeof e?e:e.name||"empty",u="string"==typeof e?e:e.icon||e.name||"empty",f=d.querySelector("a");this.jodit.options.textIcons?r="<span>"+c+"</span>":!1===(r=t.getIcon(u,!1))&&(r=t.getIcon("string"==typeof l.name?l.name:"empty"));var p=c.replace(/[^a-zA-Z0-9]/g,"_");d.classList.add("jodit_toolbar_btn"),d.classList.add("jodit_toolbar_btn-"+p),this.jodit.events.on(a.camelCase("can-"+p),function(e){t.__toggleButton(d,e)});var h=a.dom(r,this.jodit.ownerDocument);return h&&h.nodeType!==Node.TEXT_NODE&&h.classList.add("jodit_icon","jodit_icon_"+p),f.appendChild(h),void 0!==l&&"object"==typeof l||(l={command:c}),void 0!==i&&""!==i&&(f.innerHTML=i),l.list&&(d.classList.add("jodit_with_dropdownlist"),f.appendChild(a.dom('<span class="jodit_with_dropdownlist-trigger"></span>',this.jodit.ownerDocument))),l.iconURL&&(f.style.backgroundImage="url("+l.iconURL+")"),l.tooltip?d.querySelector(".jodit_tooltip").innerHTML=this.jodit.i18n(l.tooltip):d.removeChild(d.querySelector(".jodit_tooltip")),this.__on(d,"mousedown touchend",function(e){if(e.stopImmediatePropagation(),e.preventDefault(),d.classList.contains("jodit_disabled"))return!1;l.list?(s.openList(d),a.each(l.list,function(e,t){var o;o=void 0!==s.jodit.options.controls[t]?s.addButton(t,s.jodit.options.controls[t],"",n):void 0!==s.jodit.options.controls[e]?s.addButton(e,a.extend({},s.jodit.options.controls[e],t),"",n):s.addButton(e,{exec:l.exec,command:l.command,args:[l.args&&l.args[0]||e,l.args&&l.args[1]||t]},l.template&&l.template(s.jodit,e,t),n),s.list.appendChild(o)}),d.appendChild(s.list)):void 0!==l.exec&&"function"==typeof l.exec?(l.exec(s.jodit,n||s.jodit.selection.current(),l,e,d),s.checkActiveButtons(!1),s.jodit.setEditorValue(),s.jodit.events.fire("hidePopup"),s.closeAll()):void 0!==l.popup&&"function"==typeof l.popup?s.openPopup(d,l.popup(s.jodit,n||s.jodit.selection.current(),l,function(){s.closeAll(),s.jodit.selection.clear()})):(l.command||c)&&(s.jodit.execCommand(l.command||c,l.args&&l.args[0]||!1,l.args&&l.args[1]||null),s.closeAll())}),this.buttonList.push({control:l,btn:d,name:c}),d},t.prototype.build=function(e,t,o){var i=this,r=!1;this.container.innerHTML="",e.forEach(function(e){var t="string"==typeof e?e:e.name;if(-1===i.jodit.options.removeButtons.indexOf(t))switch(t){case"\n":i.container.appendChild(a.dom('<li class="jodit_toolbar_btn jodit_toolbar_btn-break"></li>',i.jodit.ownerDocument));break;case"|":r||(r=!0,i.container.appendChild(a.dom('<li class="jodit_toolbar_btn jodit_toolbar_btn-separator"></li>',i.jodit.ownerDocument)));break;default:var s=e;if(r=!1,"object"!=typeof s&&void 0!==i.jodit.options.controls[s]&&(s=i.jodit.options.controls[s]),"object"==typeof s&&void 0!==i.jodit.options.controls[s.name]&&(s=n({},i.jodit.options.controls[s.name],s)),"object"!=typeof s)throw Error("Need ControlType "+s);i.container.appendChild(i.addButton(e,s,"",o))}}),this.container.parentNode!==t&&t.appendChild(this.container),this.checkActiveButtons(!1)},t.icons={},t}(r.default)},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=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])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();t.__esModule=!0;var n=o(4),r=o(5),a=o(10),s=o(2),l=o(0),d=o(0),c=o(3);t.default=function(e){function t(o,i){var n=e.call(this)||this;n.version="3.1.3",n.buffer={},n.components=[],n.__modulesInstances={},n.__plugins={},n.__defaultStyleDisplayKey="data-jodit-default-style-display",n.__whoLocked="",n.isLocked=function(){return""!==n.__whoLocked},n.isLockedNotBy=function(e){return n.isLocked()&&n.__whoLocked!==e},n.mode=s.MODE_WYSIWYG,n.getVersion=function(){return n.version};var a=function(){};if(a.prototype=t.defaultOptions,n.options=new a,void 0!==i&&"object"==typeof i&&Object.keys(i).forEach(function(e){n.options[e]="object"!=typeof t.defaultOptions[e]||Array.isArray(t.defaultOptions[e])?i[e]:l.extend(!0,{},t.defaultOptions[e],i[e])}),n.editorDocument=n.options.ownerDocument,n.editorWindow=n.options.ownerWindow,n.ownerDocument=n.options.ownerDocument,n.ownerWindow=n.options.ownerWindow,!(void 0!==(n.element="string"==typeof o?n.ownerDocument.querySelector(o):o)&&"object"==typeof n.element&&"nodeType"in n.element&&n.element.nodeType===Node.ELEMENT_NODE&&n.element.cloneNode))throw Error('Element "'+o+'" should be string or HTMLElement instance');n.events=n.getInstance("Events"),n.selection=n.getInstance("Selection"),n.uploader=n.getInstance("Uploader"),n.container=l.dom('<div class="jodit_container" />',n.ownerDocument),n.container.classList.add("jodit_"+(n.options.theme||"default")+"_theme"),n.options.zIndex&&(n.container.style.zIndex=""+parseInt(""+n.options.zIndex,10)),n.workplace=l.dom('<div class="jodit_workplace" />',n.ownerDocument),n.progress_bar=l.dom('<div class="jodit_progress_bar"><div></div></div>',n.ownerDocument),n.toolbar=new r.default(n),n.toolbar.build(n.options.buttons.concat(n.options.extraButtons),n.container),n.container.classList.add("jodit_toolbar_size-"+(-1!==["middle","large","small"].indexOf(n.options.toolbarButtonSize.toLowerCase())?n.options.toolbarButtonSize.toLowerCase():"middle")),n.options.textIcons&&n.container.classList.add("jodit_text_icons"),n.__on(n.ownerWindow,"resize",function(){n.events&&n.events.fire("resize")}),n.container.appendChild(n.workplace),n.workplace.appendChild(n.progress_bar),n.element.parentNode.insertBefore(n.container,n.element),n.helper=d,n.options.events&&l.each(n.options.events,function(e,t){n.events.on(e,t)}),n.id=n.element.getAttribute("id")||""+(new Date).getTime(),n.initPlugines(),n.__createEditor(),n.setElementValue(),t.instances[n.id]=n;try{n.editorDocument.execCommand("enableObjectResizing",!1,!1),n.editorDocument.execCommand("enableInlineTableEditing",!1,!1)}catch(e){}return n.setMode(n.options.defaultMode),n.events.fire("afterInit"),n}return i(t,e),t.prototype.getInstance=function(e,o){if(void 0===t.modules[e])throw Error("Need real module name");return void 0===this.__modulesInstances[e]&&(this.__modulesInstances[e]=new t.modules[e](this,o)),this.__modulesInstances[e]},t.prototype.initPlugines=function(){var e=this,o=Array.isArray(this.options.disablePlugins)?this.options.disablePlugins.map(function(e){return e.toLowerCase()}):this.options.disablePlugins.toLowerCase().split(/[\s,]+/);Object.keys(t.plugins).forEach(function(i){-1===o.indexOf(i.toLowerCase())&&(e.__plugins[i]=new t.plugins[i](e))})},t.prototype.__createEditor=function(){var e=this;!1!==this.events.fire("createEditor")&&(this.editor=l.dom('<div class="jodit_wysiwyg" contenteditable aria-disabled="false" tabindex="'+this.options.tabIndex+'"></div>',this.ownerDocument),this.workplace.appendChild(this.ownerDocument.createTextNode("\n")),this.workplace.appendChild(this.editor),this.workplace.appendChild(this.ownerDocument.createTextNode("\n"))),this.options.editorCssClass&&this.editor.classList.add(this.options.editorCssClass),["keydown","keyup","keypress","mousedown","mouseup","mousepress","paste","resize","touchstart","touchend","focus","blur"].forEach(function(t){e.__on(e.editor,t,function(o){if(e.events){if(!1===e.events.fire(t,[o]))return o.preventDefault(),!1;e.setEditorValue()}})}),this.options.spellcheck&&this.editor.setAttribute("spellcheck","true"),this.options.direction&&(this.editor.style.direction="rtl"===this.options.direction.toLowerCase()?"rtl":"ltr"),this.element.style.display&&this.element.setAttribute(this.__defaultStyleDisplayKey,this.element.style.display),this.element.style.display="none",this.options.triggerChangeEvent&&this.events.on("change",l.debounce(function(){e.__fire(e.element,"change",e.ownerDocument)},this.options.observer.timeout))},t.prototype.destruct=function(){var e=this;!1!==this.events.fire("beforeDestruct")&&this.editor&&(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("style")&&!this.element.getAttribute("style")&&this.element.removeAttribute("style"),Object.keys(this.__plugins).forEach(function(t){void 0!==e.__plugins[t].destruct&&"function"==typeof e.__plugins[t].destruct&&e.__plugins[t].destruct(),delete e.__plugins[t]}),this.components.forEach(function(e){void 0!==e.destruct&&"function"==typeof e.destruct&&e.destruct()}),delete this.selection,this.events.off(),delete this.events,this.container.parentNode.removeChild(this.container),delete this.container,delete this.editor,delete this.workplace,delete t.instances[this.id])},t.prototype.getElementValue=function(){return void 0!==this.element.value?this.element.value:this.element.innerHTML},t.prototype.getEditorValue=function(){var e;if(void 0!==(e=this.events.fire("beforeGetValueFromEditor")))return e;"<br>"===(e=this.editor?this.editor.innerHTML.replace(s.INVISIBLE_SPACE_REG_EXP,""):this.getElementValue())&&(e="");var t={value:e};return this.events.fire("afterGetValueFromEditor",[t]),t.value},t.prototype.setElementValue=function(e){if("string"!=typeof e&&void 0!==e)throw Error("value must be string");void 0!==e&&(void 0!==this.element.value?this.element.value=e:this.element.innerHTML=e),this.getElementValue()!==this.getEditorValue()&&this.setEditorValue(this.getElementValue())},t.prototype.setEditorValue=function(e){if(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 t=this.getElementValue();t!==this.getEditorValue()&&(this.setElementValue(this.getEditorValue()),this.events.fire("change",[t,this.getEditorValue()]))}},t.prototype.execCommand=function(e,t,o){void 0===t&&(t=!1),void 0===o&&(o=null);var i;if(e=e.toLowerCase(),!1!==this.events.fire("beforeCommand",[e,t,o]))switch(this.selection.focus(),e){case"selectall":this.selection.select(this.editor,!0);break;default:try{i=this.editorDocument.execCommand(e,t,o)}catch(e){}}return this.events.fire("afterCommand",[e,t,o]),this.setEditorValue(),i},t.prototype.lock=function(e){this.__whoLocked=e,this.editor.classList.add("jodit_disabled")},t.prototype.unlock=function(){this.__whoLocked="",this.editor.classList.remove("jodit_disabled")},t.prototype.getMode=function(){return this.mode},t.prototype.getRealMode=function(){return this.getMode()!==s.MODE_SPLIT?this.getMode():c.default.isOrContains(this.editor,this.ownerDocument.activeElement)||c.default.isOrContains(this.toolbar.container,this.ownerDocument.activeElement)?s.MODE_WYSIWYG:s.MODE_SOURCE},t.prototype.setMode=function(e){var t=this,o={mode:e},i=["jodit_wysiwyg_mode","jodit_source_mode","jodit_split_mode"];!1!==this.events.fire("beforeSetMode",[o])&&(this.mode=l.inArray(o.mode,[s.MODE_SOURCE,s.MODE_WYSIWYG,s.MODE_SPLIT])?o.mode:s.MODE_WYSIWYG,this.options.saveModeInCookie&&a.default.set("jodit_default_mode",this.mode,31),i.forEach(function(e){t.container.classList.remove(e)}),this.container.classList.add(i[this.mode-1]),this.events.fire("afterSetMode"))},t.prototype.toggleMode=function(){var e=this.getMode();l.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)},t.prototype.i18n=function(e){for(var o=this,i=[],n=1;arguments.length>n;n++)i[n-1]=arguments[n];if(void 0!==this.options&&this.options.debugLanguage)return"{"+e+"}";var r;return r=void 0!==this.options&&void 0!==t.lang[l.defaultLanguage(this.options.language)]?t.lang[l.defaultLanguage(this.options.language)]:void 0!==t.lang[l.defaultLanguage(t.defaultOptions.language)]?t.lang[l.defaultLanguage(t.defaultOptions.language)]:t.lang.en,function(e){return l.sprintf.apply(o,[e].concat(i))}(void 0!==this.options&&void 0!==this.options.i18n[l.defaultLanguage(this.options.language)]&&this.options.i18n[l.defaultLanguage(this.options.language)][e]?this.options.i18n[l.defaultLanguage(this.options.language)][e]:"string"==typeof r[e]&&r[e]?r[e]:"string"==typeof t.lang.en[e]&&t.lang.en[e]?t.lang.en[e]:e)},t.plugins={},t.modules={},t.instances={},t.lang={},t}(n.default)},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=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])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),n=this&&this.__assign||Object.assign||function(e){for(var t,o=1,i=arguments.length;i>o;o++){t=arguments[o];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e};t.__esModule=!0;var r=o(6),a=o(4),s=o(1),l=o(0),d=o(5);s.Config.prototype.dialog={zIndex:100002,resizable:!0,draggable:!0,fullsize:!1,fullsizeButton:!1};var c=function(e){function t(t,o){void 0===o&&(o={});var i=e.call(this,t)||this;i.lockSelect=function(){i.dialogbox.classList.add("jodit_dialog_box-moved")},i.unlockSelect=function(){i.dialogbox.classList.remove("jodit_dialog_box-moved")},i.destinition=document.body,i.document=document,i.window=window,i.destroyAfterClose=!1,i.moved=!1,i.iSetMaximization=!1,i.resizeble=!1,i.draggable=!1,i.startX=0,i.startY=0,i.startPoint={x:0,y:0,w:0,h:0},i.close=function(e){e&&(e.stopImmediatePropagation(),e.preventDefault()),i.jodit&&i.jodit.events&&i.jodit.events.fire(i,"beforeClose"),i.dialogbox.classList.remove("active"),i.iSetMaximization&&i.maximization(!1),i.destroyAfterClose&&i.destruct(),i.jodit&&i.jodit.events.fire(i,"afterClose")},t&&t instanceof r.default&&(i.window=t.ownerWindow,i.document=t.ownerDocument);var a=i;return a.options=t&&t.options?t.options.dialog:s.Config.prototype.dialog,a.options=n({},a.options,o),a.dialogbox=l.dom('<div style="z-index:'+a.options.zIndex+'" class="jodit jodit_dialog_box"><div class="jodit_dialog_overlay"></div><div class="jodit_dialog"><div class="jodit_dialog_header non-selected"><h4></h4><a href="javascript:void(0)" title="Close" class="jodit_close">'+(r.default.modules.Toolbar?r.default.modules.Toolbar.getIcon("cancel"):"&times;")+'</a></div><div class="jodit_dialog_content"></div><div class="jodit_dialog_footer"></div>'+(a.options.resizable?'<div class="jodit_dialog_resizer"></div>':"")+"</div></div>",i.document),t&&t instanceof r.default&&a.dialogbox.setAttribute("data-editor_id",t.id),a.dialogbox.__jodit_dialog=a,a.dialog=a.dialogbox.querySelector(".jodit_dialog"),a.resizer=a.dialogbox.querySelector(".jodit_dialog_resizer"),a.jodit&&a.jodit.options&&a.jodit.options.textIcons&&a.dialogbox.classList.add("jodit_text_icons"),a.dialogbox_header=a.dialogbox.querySelector(".jodit_dialog_header>h4"),a.dialogbox_content=a.dialogbox.querySelector(".jodit_dialog_content"),a.dialogbox_footer=a.dialogbox.querySelector(".jodit_dialog_footer"),a.dialogbox_close=a.dialogbox.querySelector(".jodit_dialog_header>a.jodit_close"),a.dialogbox_fullsize=l.dom('<a href="javascript:void(0)" class="jodit_dialog_header_fullsize">'+(r.default.modules.Toolbar.getIcon?r.default.modules.Toolbar.getIcon(o.fullsize?"fullsize":"shrink"):"")+"</a>",i.document),a.destinition.appendChild(a.dialogbox),a.dialogbox.addEventListener("close_dialog",a.close),a.dialogbox_close.addEventListener("mousedown",a.close),a.dialogbox_fullsize.addEventListener("click",function(){var e=a.maximization();r.default.modules.Toolbar&&(a.dialogbox_fullsize.innerHTML=r.default.modules.Toolbar.getIcon(e?"shrink":"fullsize"))}),a.__on(i.window,"mousemove",a.onMouseMove.bind(a)).__on(i.window,"mouseup",a.onMouseUp.bind(a)).__on(i.window,"keydown",a.onKeyDown.bind(a)).__on(i.window,"resize",a.onResize.bind(a)),a.dialogbox.querySelector(".jodit_dialog_header").addEventListener("mousedown",a.onHeaderMouseDown.bind(a)),a.options.resizable&&a.resizer.addEventListener("mousedown",a.onResizerMouseDown.bind(a)),i}return i(t,e),t.prototype.setSize=function(e,t){e&&l.css(this.dialog,"width",e),t&&l.css(this.dialog,"height",t)},t.prototype.setPosition=function(e,t){var o=this.window.innerWidth,i=this.window.innerHeight,n=o/2-this.dialog.offsetWidth/2,r=i/2-this.dialog.offsetHeight/2;void 0!==e&&void 0!==t&&(this.offsetX=e,this.offsetY=t,this.moved=Math.abs(e-n)>100||Math.abs(t-r)>100),this.dialog.style.left=(e||n)+"px",this.dialog.style.top=(t||r)+"px"},t.prototype.setElements=function(e,t){var o=this,i=[];l.asArray(t).forEach(function(t){var n=l.dom(t,o.document);i.push(n),n.parentNode!==e&&e.appendChild(n)}),[].slice.call(e.childNodes).forEach(function(t){-1===i.indexOf(t)&&e.removeChild(t)})},t.prototype.setTitle=function(e){this.setElements(this.dialogbox_header,e)},t.prototype.setContent=function(e){this.setElements(this.dialogbox_content,e)},t.prototype.setFooter=function(e){this.setElements(this.dialogbox_footer,e),this.dialog.classList.toggle("with_footer",!!e)},t.prototype.getMaxZIndexDialog=function(){var e,t,o=0,i=this;return l.$$(".jodit_dialog_box",this.destinition).forEach(function(n){e=n.__jodit_dialog,t=parseInt(l.css(n,"zIndex"),10),e.isOpened()&&!isNaN(t)&&t>o&&(i=e,o=t)}),i},t.prototype.setMaxZIndex=function(){var e=0,t=0;l.$$(".jodit_dialog_box",this.destinition).forEach(function(o){t=parseInt(l.css(o,"zIndex"),10),e=Math.max(isNaN(t)?0:t,e)}),this.dialogbox.style.zIndex=""+(e+1)},t.prototype.maximization=function(e){return"boolean"!=typeof e&&(e=!this.dialogbox.classList.contains("jodit_dialog_box-fullsize")),this.dialogbox.classList.toggle("jodit_dialog_box-fullsize",e),[this.destinition,this.destinition.parentNode].forEach(function(t){t.classList.toggle("jodit_fullsize_box",e)}),this.iSetMaximization=e,e},t.prototype.open=function(e,t,o,i){this.jodit&&this.jodit.events&&!1===this.jodit.events.fire(this,"beforeOpen")||(this.destroyAfterClose=!0===o,this.options.fullsizeButton&&this.dialogbox_close.parentNode.appendChild(this.dialogbox_fullsize),void 0!==t&&this.setTitle(t),e&&this.setContent(e),this.dialogbox.classList.add("active"),i&&this.dialogbox.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(this,"afterOpen"))},t.prototype.isOpened=function(){return this.dialogbox.classList.contains("active")},t.prototype.onMouseUp=function(){(this.draggable||this.resizeble)&&(this.draggable=!1,this.resizeble=!1,this.unlockSelect(),this.jodit&&this.jodit.events&&this.jodit.events.fire(this,"endResize endMove"))},t.prototype.onHeaderMouseDown=function(e){this.options.draggable&&(this.draggable=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.x=l.css(this.dialog,"left"),this.startPoint.y=l.css(this.dialog,"top"),this.setMaxZIndex(),e.preventDefault(),this.lockSelect(),this.jodit&&this.jodit.events&&this.jodit.events.fire(this,"startMove"))},t.prototype.onMouseMove=function(e){this.draggable&&this.options.draggable&&(this.setPosition(this.startPoint.x+e.clientX-this.startX,this.startPoint.y+e.clientY-this.startY),this.jodit&&this.jodit.events&&this.jodit.events.fire(this,"move",[e.clientX-this.startX,e.clientY-this.startY]),e.stopImmediatePropagation(),e.preventDefault()),this.resizeble&&this.options.resizable&&(this.setSize(this.startPoint.w+e.clientX-this.startX,this.startPoint.h+e.clientY-this.startY),this.jodit&&this.jodit.events&&this.jodit.events.fire(this,"resizeDialog",[e.clientX-this.startX,e.clientY-this.startY]),e.stopImmediatePropagation(),e.preventDefault())},t.prototype.onKeyDown=function(e){if(this.isOpened()&&27===e.which){var t=this.getMaxZIndexDialog();t?t.close():this.close(),e.stopImmediatePropagation()}},t.prototype.onResize=function(){!this.options.resizable||this.moved||!this.isOpened()||this.offsetX||this.offsetY||this.setPosition()},t.prototype.destruct=function(){this.dialogbox.parentNode.removeChild(this.dialogbox),delete this.dialogbox,e.prototype.destruct.call(this)},t.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")},t}(a.default);t.default=c,t.Alert=function(e,t,o){"function"==typeof t&&(o=t,t=void 0);var i=new c,n=l.dom('<div class="jodit_alert"></div>',i.document),a=l.dom('<a href="javascript:void(0)" style="float:left;" class="jodit_button">'+d.default.getIcon("cancel")+"<span>"+r.default.prototype.i18n("Ok")+"</span></a>",i.document);return n.appendChild(l.dom(e,i.document)),a.addEventListener("click",function(){o&&"function"==typeof o&&!1===o(i)||i.close()}),i.setFooter([a]),i.open(n,t||"&nbsp;",!0,!0),a.focus(),i},r.default.Alert=t.Alert,t.Promt=function(e,t,o,i){var n=new c,a=l.dom('<a href="javascript:void(0)" style="float:right;" class="jodit_button">'+d.default.getIcon("cancel")+"<span>"+r.default.prototype.i18n("Cancel")+"</span></a>",n.document),s=l.dom('<a href="javascript:void(0)" style="float:left;" class="jodit_button">'+d.default.getIcon("check")+"<span>"+r.default.prototype.i18n("Ok")+"</span></a>",n.document),u=l.dom('<form class="jodit_promt"></form>',n.document),f=l.dom('<input autofocus="true"/>',n.document),p=l.dom("<label></label>",n.document);"function"==typeof t&&(o=t,t=void 0),i&&f.setAttribute("placeholder",i),p.appendChild(l.dom(e,n.document)),u.appendChild(p),u.appendChild(f),a.addEventListener("click",n.close,!1);var h=function(){o&&"function"==typeof o&&!1===o(f.value)||n.close()};return s.addEventListener("click",h),u.addEventListener("submit",function(){return h(),!1}),n.setFooter([s,a]),n.open(u,t||"&nbsp;",!0,!0),f.focus(),n},r.default.Promt=t.Promt,t.Confirm=function(e,t,o){var i=new c,n=l.dom('<form class="jodit_promt"></form>',i.document),a=l.dom("<label></label>",i.document);"function"==typeof t&&(o=t,t=void 0),a.appendChild(l.dom(e,i.document)),n.appendChild(a);var s=l.dom('<a href="javascript:void(0)" style="float:right;" class="jodit_button">'+d.default.getIcon("cancel")+"<span>"+r.default.prototype.i18n("Cancel")+"</span></a>",i.document);s.addEventListener("click",function(){o&&o(!1),i.close()});var u=function(){o&&o(!0),i.close()},f=l.dom('<a href="javascript:void(0)" style="float:left;" class="jodit_button">'+d.default.getIcon("check")+"<span>"+r.default.prototype.i18n("Yes")+"</span></a>",i.document);return f.addEventListener("click",u),n.addEventListener("submit",function(){return u(),!1}),i.setFooter([f,s]),i.open(n,t||"&nbsp;",!0,!0),f.focus(),i},r.default.Confirm=t.Confirm},function(e,t,o){"use strict";t.__esModule=!0;var i=o(11);t.Ajax=i.default;var n=o(4);t.Component=n.default;var r=o(14);t.ContextMenu=r.default;var a=o(10);t.Cookie=a.default;var s=o(7);t.Dialog=s.default;var l=o(3);t.Dom=l.default;var d=o(30);t.Events=d.default;var c=o(31);t.FileBrowser=c.default;var u=o(0);t.Helpers=u;var f=o(32);t.ImageEditor=f.default;var p=o(16);t.Observer=p.default;var h=o(13);t.PseudoPromise=h.default;var m=o(33);t.Selection=m.default;var g=o(17);t.Snapshot=g.default;var v=o(9);t.Table=v.default;var _=o(5);t.Toolbar=_.default;var b=o(18);t.Stack=b.default;var y=o(15);t.Uploader=y.default,function(e){for(var o in e)t.hasOwnProperty(o)||(t[o]=e[o])}(o(12))},function(e,t,o){"use strict";t.__esModule=!0;var i=o(0),n=o(2),r=o(3);t.JODIT_SELECTED_CELL_MARKER="data-jodit-selected-cell";var a=function(){function e(){}return e.addSelected=function(e){e.setAttribute(t.JODIT_SELECTED_CELL_MARKER,"1")},e.restoreSelection=function(e){e.removeAttribute(t.JODIT_SELECTED_CELL_MARKER)},e.getAllSelectedCells=function(e){return e?i.$$("td["+t.JODIT_SELECTED_CELL_MARKER+"],th["+t.JODIT_SELECTED_CELL_MARKER+"]",e):[]},e.getRowsCount=function(e){return e.rows.length},e.getColumnsCount=function(t){return e.formalMatrix(t).reduce(function(e,t){return Math.max(e,t.length)},0)},e.formalMatrix=function(e,t){for(var o=[[]],i=Array.prototype.slice.call(e.rows),n=0,r=void 0;i.length>n;n+=1){var a=Array.prototype.slice.call(i[n].cells);for(r=0;a.length>r;r+=1)if(!1===function(e,i){void 0===o[i]&&(o[i]=[]);for(var n,r,a=e.colSpan,s=e.rowSpan,l=0;o[i][l];)l+=1;for(r=0;s>r;r+=1)for(n=0;a>n;n+=1){if(void 0===o[i+r]&&(o[i+r]=[]),t&&!1===t(e,i+r,l+n,a,s))return!1;o[i+r][l+n]=e}}(a[r],n))return o}return o},e.formalCoordinate=function(t,o,i){void 0===i&&(i=!1);var n=0,r=0,a=1,s=1;return e.formalMatrix(t,function(e,t,l,d,c){if(o===e)return n=t,r=l,a=d,s=c,i&&(r+=d-1,n+=c-1),!1}),[n,r,a,s]},e.appendRow=function(t,o,n){void 0===o&&(o=!1),void 0===n&&(n=!0);var a,s=e.getColumnsCount(t),l=r.default.create("tr","",t.ownerDocument);for(a=0;s>a;a+=1)l.appendChild(r.default.create("td","",t.ownerDocument));n&&o&&o.nextSibling?o.parentNode.insertBefore(l,o.nextSibling):!n&&o?o.parentNode.insertBefore(l,o):(i.$$(":scope>tbody",t)[0]||t).appendChild(l)},e.removeRow=function(t,o){var n,a=e.formalMatrix(t),s=t.rows[o];i.each(a[o],function(e,i){if(n=!1,0>o-1||a[o-1][e]!==i)if(a[o+1]&&a[o+1][e]===i){if(i.parentNode===s&&i.parentNode.nextSibling){n=!0;for(var l=e+1;a[o+1][l]===i;)l+=1;var d=r.default.next(i.parentNode,function(e){return e.nodeType===Node.ELEMENT_NODE&&"TR"===e.tagName},t);a[o+1][l]?d.insertBefore(i,a[o+1][l]):d.appendChild(i)}}else i.parentNode&&i.parentNode.removeChild(i);else n=!0;if(n&&(i.parentNode===s||i!==a[o][e-1])){var c=i.rowSpan;c-1>1?i.setAttribute("rowspan",""+(c-1)):i.removeAttribute("rowspan")}}),s&&s.parentNode.removeChild(s)},e.appendColumn=function(t,o,i){void 0===i&&(i=!0);var n,a=e.formalMatrix(t);for(void 0===o&&(o=e.getColumnsCount(t)-1),n=0;a.length>n;n+=1){var s=r.default.create("td","",t.ownerDocument),l=!1;i?a[n].length>o+1&&a[n][o]===a[n][o+1]||(a[n][o].nextSibling?a[n][o].parentNode.insertBefore(s,a[n][o].nextSibling):a[n][o].parentNode.appendChild(s),l=!0):(0>o-1||a[n][o]!==a[n][o-1])&&(a[n][o].parentNode.insertBefore(s,a[n][o]),l=!0),l||a[n][o].setAttribute("colspan",""+(parseInt(a[n][o].getAttribute("colspan"),10)+1))}},e.removeColumn=function(t,o){var n,r=e.formalMatrix(t);i.each(r,function(e,t){if(n=!1,0>o-1||r[e][o-1]!==t[o]?t.length>o+1&&r[e][o+1]===t[o]?n=!0:t[o].parentNode&&t[o].parentNode.removeChild(t[o]):n=!0,n&&(0>e-1||t[o]!==r[e-1][o])){var i=t[o].colSpan;i-1>1?t[o].setAttribute("colspan",""+(i-1)):t[o].removeAttribute("colspan")}})},e.getSelectedBound=function(t,o){var i,n,r,a=[[1/0,1/0],[0,0]],s=e.formalMatrix(t);for(i=0;s.length>i;i+=1)for(n=0;s[i].length>n;n+=1)-1!==o.indexOf(s[i][n])&&(a[0][0]=Math.min(i,a[0][0]),a[0][1]=Math.min(n,a[0][1]),a[1][0]=Math.max(i,a[1][0]),a[1][1]=Math.max(n,a[1][1]));for(i=a[0][0];a[1][0]>=i;i+=1)for(r=1,n=a[0][1];a[1][1]>=n;n+=1){for(;s[i][n-r]&&s[i][n]===s[i][n-r];)a[0][1]=Math.min(n-r,a[0][1]),a[1][1]=Math.max(n-r,a[1][1]),r+=1;for(r=1;s[i][n+r]&&s[i][n]===s[i][n+r];)a[0][1]=Math.min(n+r,a[0][1]),a[1][1]=Math.max(n+r,a[1][1]),r+=1;for(r=1;s[i-r]&&s[i][n]===s[i-r][n];)a[0][0]=Math.min(i-r,a[0][0]),a[1][0]=Math.max(i-r,a[1][0]),r+=1;for(r=1;s[i+r]&&s[i][n]===s[i+r][n];)a[0][0]=Math.min(i+r,a[0][0]),a[1][0]=Math.max(i+r,a[1][0]),r+=1}return a},e.normalizeTable=function(t){var o,i,n,r,a=[],s=e.formalMatrix(t);for(i=0;s[0].length>i;i+=1){for(n=1e6,r=!1,o=0;s.length>o;o+=1)if(void 0!==s[o][i]){if(2>s[o][i].colSpan){r=!0;break}n=Math.min(n,s[o][i].colSpan)}if(!r)for(o=0;s.length>o;o+=1)void 0!==s[o][i]&&e.__mark(s[o][i],"colspan",s[o][i].colSpan-n+1,a)}for(o=0;s.length>o;o+=1){for(n=1e6,r=!1,i=0;s[o].length>i;i+=1)if(void 0!==s[o][i]){if(2>s[o][i].rowSpan){r=!0;break}n=Math.min(n,s[o][i].rowSpan)}if(!r)for(i=0;s[o].length>i;i+=1)void 0!==s[o][i]&&e.__mark(s[o][i],"rowspan",s[o][i].rowSpan-n+1,a)}for(o=0;s.length>o;o+=1)for(i=0;s[o].length>i;i+=1)void 0!==s[o][i]&&(s[o][i].hasAttribute("rowspan")&&1===s[o][i].rowSpan&&s[o][i].removeAttribute("rowspan"),s[o][i].hasAttribute("colspan")&&1===s[o][i].colSpan&&s[o][i].removeAttribute("colspan"),s[o][i].hasAttribute("class")&&!s[o][i].getAttribute("class")&&s[o][i].removeAttribute("class"));e.__unmark(a)},e.mergeSelected=function(t){var o,r,a,s=e.getSelectedBound(t,e.getAllSelectedCells(t)),l=0,d=[],c=0,u=0,f=[];s&&(s[0][0]-s[1][0]||s[0][1]-s[1][1])&&(e.formalMatrix(t,function(t,n,p,h,m){if(!(s[0][0]>n||n>s[1][0]||s[0][1]>p||p>s[1][1])){if(a=t,a.__i_am_already_was)return;a.__i_am_already_was=!0,n===s[0][0]&&a.style.width&&(l+=parseInt(a.offsetWidth,10)),""!==i.trim(t.innerHTML.replace(/<br(\/)?>/g,""))&&d.push(t.innerHTML),h>1&&(c+=h-1),m>1&&(u+=m-1),o?e.__mark(a,"remove",1,f):(o=t,r=p)}}),c=s[1][1]-s[0][1]+1,u=s[1][0]-s[0][0]+1,o&&(c>1&&e.__mark(o,"colspan",c,f),u>1&&e.__mark(o,"rowspan",u,f),l&&(e.__mark(o,"width",(l/t.offsetWidth*100).toFixed(n.ACCURACY)+"%",f),r&&e.setColumnWidthByDelta(t,r,0,!0,f)),delete o.__i_am_already_was,o.innerHTML=d.join("<br/>"),e.__unmark(f),e.normalizeTable(t),i.each([].slice.call(t.rows),function(e,t){t.cells.length||t.parentNode.removeChild(t)})))},e.splitHorizontal=function(t){var o,i,n,a,s,l=[];e.getAllSelectedCells(t).forEach(function(d){i=r.default.create("td","",t.ownerDocument),i.appendChild(r.default.create("br","",t.ownerDocument)),n=r.default.create("tr","",t.ownerDocument),o=e.formalCoordinate(t,d),2>d.rowSpan?(e.formalMatrix(t,function(t,i,n){o[0]===i&&o[1]!==n&&t!==d&&e.__mark(t,"rowspan",t.rowSpan+1,l)}),r.default.after(r.default.closest(d,"tr",t),n),n.appendChild(i)):(e.__mark(d,"rowspan",d.rowSpan-1,l),e.formalMatrix(t,function(e,i,n){i>o[0]&&o[0]+d.rowSpan>i&&o[1]>n&&e.parentNode.rowIndex===i&&(s=e),i>o[0]&&e===d&&(a=t.rows[i])}),s?r.default.after(s,i):a.insertBefore(i,a.firstChild)),d.colSpan>1&&e.__mark(i,"colspan",d.colSpan,l),e.__unmark(l),e.restoreSelection(d)}),this.normalizeTable(t)},e.splitVertical=function(t){var o,i,a,s=[];e.getAllSelectedCells(t).forEach(function(l){o=e.formalCoordinate(t,l),2>l.colSpan?e.formalMatrix(t,function(t,i,n){o[1]===n&&o[0]!==i&&t!==l&&e.__mark(t,"colspan",t.colSpan+1,s)}):e.__mark(l,"colspan",l.colSpan-1,s),i=r.default.create("td","",t.ownerDocument),i.appendChild(r.default.create("br","",t.ownerDocument)),l.rowSpan>1&&e.__mark(i,"rowspan",l.rowSpan,s);var d=l.offsetWidth;r.default.after(l,i),a=d/t.offsetWidth/2,e.__mark(l,"width",(100*a).toFixed(n.ACCURACY)+"%",s),e.__mark(i,"width",(100*a).toFixed(n.ACCURACY)+"%",s),e.__unmark(s),e.restoreSelection(l)}),e.normalizeTable(t)},e.__mark=function(e,t,o,i){i.push(e),e.__marked_value||(e.__marked_value={}),e.__marked_value[t]=void 0===o?1:o},e.__unmark=function(e){e.forEach(function(e){e.__marked_value&&(i.each(e.__marked_value,function(t,o){switch(t){case"remove":e.parentNode.removeChild(e);break;case"rowspan":o>1?e.setAttribute("rowspan",o):e.removeAttribute("rowspan");break;case"colspan":o>1?e.setAttribute("colspan",o):e.removeAttribute("colspan");break;case"width":e.style.width=o}delete e.__marked_value[t]}),delete e.__marked_value)})},e.setColumnWidthByDelta=function(t,o,i,r,a){var s,l,d,c=e.formalMatrix(t);for(s=0;c.length>s;s+=1)l=c[s][o].offsetWidth,d=(l+i)/t.offsetWidth*100,e.__mark(c[s][o],"width",d.toFixed(n.ACCURACY)+"%",a);r||e.__unmark(a)},e}();t.default=a},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=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])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();t.__esModule=!0;var n=o(4);t.default=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.set=function(e,t,o){var i,n;o?(n=new Date,n.setTime(n.getTime()+24*o*60*60*1e3),i="; expires="+n.toGMTString()):i="",document.cookie=e+"="+t+i+"; path=/"},t.get=function(e){var t,o,i=e+"=",n=document.cookie.split(";");for(t=0;n.length>t;t+=1){for(o=n[t];" "===o.charAt(0);)o=o.substring(1,o.length);if(0===o.indexOf(i))return o.substring(i.length,o.length)}return null},t.remove=function(e){t.set(e,"",-1)},t}(n.default)},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=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])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();t.__esModule=!0;var n=o(1),r=o(0),a=o(13),s=o(4);n.Config.prototype.defaultAjaxOptions={dataType:"json",method:"GET",url:"",async:!0,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)}},t.default=function(e){function t(t,o){var i=e.call(this,t)||this;return i.options=r.extend(!0,{},n.Config.prototype.defaultAjaxOptions,o),i.xhr=i.options.xhr(),i}return i(t,e),t.prototype.__buildParams=function(e,t){if("string"==typeof e||this.jodit.ownerWindow.FormData&&e instanceof this.jodit.ownerWindow.FormData)return e;var o,i,n,r=[];for(o in e)e.hasOwnProperty(o)&&(i=t?t+"["+o+"]":o,n=e[o],r.push("object"==typeof n?this.__buildParams(n,i):encodeURIComponent(i)+"="+encodeURIComponent(n)));return r.join("&")},t.prototype.abort=function(){return this.xhr.abort(),this},t.prototype.send=function(){var e=this;return new a.default(function(t,o){var i=function(t){switch(e.options.dataType){case"json":try{t=JSON.parse(t)}catch(t){return void o.call(e.xhr,t)}}return t};e.xhr.onabort=function(){o(Error(e.xhr.statusText))},e.xhr.onerror=function(){o(Error(e.xhr.statusText))},e.xhr.ontimeout=function(){o(Error(e.xhr.statusText))},e.xhr.onload=function(){e.response=e.xhr.responseText,e.status=e.xhr.status,t.call(e.xhr,i(e.response))},e.xhr.onreadystatechange=function(){if(e.xhr.readyState===XMLHttpRequest.DONE){var n=e.xhr.responseText;e.response=n,e.status=e.xhr.status,200===e.xhr.status?t.call(e.xhr,i(n)):o.call(e.xhr,Error(e.xhr.statusText||e.jodit.i18n("Connection error!")))}},e.xhr.withCredentials=e.options.withCredentials,e.xhr.open(e.options.method,e.options.url,e.options.async),e.options.contentType&&e.xhr.setRequestHeader&&e.xhr.setRequestHeader("Content-type",e.options.contentType),e.options.headers&&e.xhr.setRequestHeader&&r.each(e.options.headers,function(t,o){e.xhr.setRequestHeader(t,o)}),setTimeout(function(){e.xhr.send(e.options.data?e.__buildParams(e.options.data):void 0)},0)})},t}(s.default)},function(e,t,o){"use strict";t.__esModule=!0;var i=o(6),n=o(0),r=o(3);!function(e){e.ColorPickerWidget=function(e,t,o){var a=n.normalizeColor(o),s=n.dom('<div class="jodit_colorpicker"></div>',e.ownerDocument),l=function(e){var t=[];return n.isPlainObject(e)?Object.keys(e).forEach(function(o){t.push('<div class="jodit_colorpicker_group jodit_colorpicker_group-'+o+'">'),t.push(l(e[o])),t.push("</div>")}):Array.isArray(e)&&e.forEach(function(e){t.push("<a "+(a===e?' class="active" ':"")+' title="'+e+'" style="background-color:'+e+'" data-color="'+e+'" href="javascript:void(0)">'+(a===e?i.default.modules.Toolbar.getIcon("eye"):"")+"</a>")}),t.join("")};return s.appendChild(n.dom("<div>"+l(e.options.colors)+"</div>",e.ownerDocument)),s.appendChild(n.dom('<a data-color="" href="javascript:void(0)">'+i.default.modules.Toolbar.getIcon("eraser")+"</a>",e.ownerDocument)),e.__on(s,"mousedown touchstart",function(o){o.stopPropagation();var a=o.target;if("SVG"!==a.tagName.toUpperCase()&&"PATH"!==a.tagName.toUpperCase()||(a=r.default.closest(a.parentNode,"A",e.editor)),"A"===a.tagName.toUpperCase()){var l=s.querySelector("a.active");l&&(l.classList.remove("active"),l.innerHTML="");var d=a.getAttribute("data-color")||"";if(d){a.innerHTML=i.default.modules.Toolbar.getIcon("eye"),a.classList.add("active");var c=n.hexToRgb(d);a.firstChild.style.fill="rgb("+(255-c.r)+","+(255-c.g)+","+(255-c.b)+")"}t&&"function"==typeof t&&t(d),o.preventDefault()}}),s},e.TabsWidget=function(e,t,o){var i=n.dom('<div class="jodit_tabs"></div>',e.ownerDocument),r=n.dom('<div class="jodit_tabs_wrapper"></div>',e.ownerDocument),a=n.dom('<div class="jodit_tabs_buttons"></div>',e.ownerDocument),s={},l=0;if(i.appendChild(a),i.appendChild(r),n.each(t,function(t,i){var d=n.dom('<div class="jodit_tab"></div>',e.ownerDocument),c=n.dom('<a href="javascript:void(0);"></a>',e.ownerDocument);c.innerHTML=e.i18n(t),a.appendChild(c),d.appendChild("function"!=typeof i?n.dom(i,e.ownerDocument):n.dom('<div class="jodit_tab_empty"></div>',e.ownerDocument)),r.appendChild(d),e.__on(c,"mousedown touchstart",function(s){return n.$$("a",a).forEach(function(e){e.classList.remove("active")}),n.$$(".jodit_tab",r).forEach(function(e){e.classList.remove("active")}),c.classList.add("active"),d.classList.add("active"),"function"==typeof i&&i.call(e),s.stopPropagation(),o&&(o.__activeTab=t),!1}),s[t]={button:c,tab:d},l+=1}),l)return n.$$("a",a).forEach(function(e){e.style.width=(100/l).toFixed(10)+"%"}),o&&o.__activeTab&&s[o.__activeTab]?(s[o.__activeTab].button.classList.add("active"),s[o.__activeTab].tab.classList.add("active")):(a.querySelector("a:first-child").classList.add("active"),r.querySelector(".jodit_tab:first-child").classList.add("active")),i},e.ImageSelectorWidget=function(t,o,r,a){var s,l={};if(o.upload&&t.options.uploader&&t.options.uploader.url){var d=n.dom('<div class="jodit_draganddrop_file_box"><strong>'+t.i18n("Drop image")+"</strong><span><br> "+t.i18n("or click")+'</span><input type="file" accept="image/*" tabindex="-1" dir="auto" multiple=""/></div>',t.ownerDocument);t.getInstance("Uploader").bind(d,function(e){"function"==typeof o.upload&&o.upload.call(t,{baseurl:e.baseurl,files:e.files})},function(e){t.events.fire("errorMessage",[e.message])}),l[i.default.modules.Toolbar.getIcon("upload")+t.i18n("Upload")]=d}if(o.filebrowser&&(t.options.filebrowser.ajax.url||t.options.filebrowser.items.url)&&(l[i.default.modules.Toolbar.getIcon("folder")+t.i18n("Browse")]=function(){a&&a(),t.getInstance("FileBrowser").open(o.filebrowser)}),o.url){var c=n.dom('<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>",t.ownerDocument);s=null,r&&r.nodeType!==Node.TEXT_NODE&&("IMG"===r.tagName||n.$$("img",r).length)&&(s="IMG"===r.tagName?r:n.$$("img",r)[0],n.val(c,"input[name=url]",s.getAttribute("src")),n.val(c,"input[name=text]",s.getAttribute("alt")),c.querySelector("button").innerText=t.i18n("Update")),c.addEventListener("submit",function(e){return e.preventDefault(),e.stopPropagation(),n.val(c,"input[name=url]")?("function"==typeof o.url&&o.url.call(t,n.val(c,"input[name=url]"),n.val(c,"input[name=text]")),!1):(c.querySelector("input[name=url]").focus(),c.querySelector("input[name=url]").classList.add("jodit_error"),!1)},!1),l[i.default.modules.Toolbar.getIcon("link")+" URL"]=c}return e.TabsWidget(t,l)}}(t.Widget||(t.Widget={}))},function(e,t,o){"use strict";t.__esModule=!0;var i=0,n=1;t.default=function(){function e(e){this.handlers={0:[],1:[]},this.isFulfilled=null,this.currentParameter=null,this.currentContext=null;var t=this,o=function(e,o){null===t.isFulfilled&&(t.isFulfilled=e,t.currentParameter=o,t.currentContext=this,t.__fire_handlers(e))};try{e(function(e){o.call(this,n,e)},function(e){o.call(this,i,e)})}catch(e){o.call(this,i,e)}}return e.prototype.__fire_handlers=function(e){if(e===this.isFulfilled&&this.handlers[e].length)do{var t=this.handlers[e].shift(),o=void 0;try{o=t.call(this.currentContext,this.currentParameter)}catch(e){return o=e,this.__fire_handlers(i)}void 0!==o&&(this.currentParameter=o)}while(this.handlers[e].length)},e.prototype.then=function(e,t){return e&&this.handlers[n].push(e),t&&this.catch(t),this.__fire_handlers(n),this},e.prototype.catch=function(e){return this.handlers[i].push(e),this.__fire_handlers(i),this},e}()},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=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])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();t.__esModule=!0;var n=o(4),r=o(0),a=o(5);t.default=function(e){function t(t){var o=e.call(this,t)||this;return o.hide=function(){o.context.classList.remove("jodit_context_menu-show"),o.jodit.ownerWindow.removeEventListener("mouseup",o.hide)},o.context=r.dom('<div class="jodit_context_menu"></div>',t.ownerDocument),o.jodit.ownerDocument.body.appendChild(o.context),o}return i(t,e),t.prototype.show=function(e,t,o){var i=this,n=this;Array.isArray(o)&&(this.context.innerHTML="",o.forEach(function(e){if(e){var t=r.dom('<a href="javascript:void(0)">'+(e.icon?a.default.getIcon(e.icon):"")+"<span></span></a>",i.jodit.ownerDocument);t.addEventListener("click",function(t){return e.exec.call(n,t),n.hide(),!1}),t.querySelector("span").innerText=n.jodit.i18n(e.title),n.context.appendChild(t)}}),r.css(n.context,{left:e,top:t}),this.jodit.ownerWindow.addEventListener("mouseup",n.hide),this.context.classList.add("jodit_context_menu-show"))},t}(n.default)},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=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])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();t.__esModule=!0;var n=o(4),r=o(11),a=o(1),s=o(0),l=o(2),d=o(3);a.Config.prototype.enableDragAndDropFileToEditor=!0,a.Config.prototype.uploader={url:"",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(e){var t=this;e.files&&e.files.length&&e.files.forEach(function(o){t.jodit.selection.insertImage(e.baseurl+o)})},defaultHandlerError:function(e){this.jodit.events.fire("errorMessage",[e.message])}},t.default=function(e){function t(t,o){var i=e.call(this,t)||this;return i.path="",i.source="default",i.options=s.extend(!0,{},a.Config.prototype.uploader,t.options.uploader,o),t.options.enableDragAndDropFileToEditor&&t.options.uploader&&t.options.uploader.url&&t.events.on("afterInit",function(){i.bind(t.editor)}),i}return i(t,e),t.prototype.buildData=function(e){if(void 0!==this.jodit.ownerWindow.FormData){if(e instanceof FormData)return e;if("string"==typeof e)return e;var t=new FormData;return Object.keys(e).forEach(function(o){t.append(o,e[o])}),t}return e},t.prototype.send=function(e,t){var o=this;this.__ajax=new r.default(this.jodit,{xhr:function(){var e=new XMLHttpRequest;return void 0!==o.jodit.ownerWindow.FormData?e.upload.addEventListener("progress",function(e){if(e.lengthComputable){var t=e.loaded/e.total;t*=100,o.jodit.progress_bar.style.display="block",o.jodit.progress_bar.style.width=t+"%",100===t&&(o.jodit.progress_bar.style.display="none")}},!1):o.jodit.progress_bar.style.display="none",e},method:"POST",data:this.buildData(e),url:this.options.url,headers:this.options.headers,contentType:(void 0===this.jodit.ownerWindow.FormData||"string"==typeof e)&&"application/x-www-form-urlencoded; charset=UTF-8",dataType:this.options.format||"json"}),this.__ajax.send().then(t).catch(function(e){o.options.error.call(o,e)})},t.prototype.sendFiles=function(e,t,o,i){var n,r,a,l,d=this,c=e.length,u=this;if(!c)return!1;for(r=new FormData,r.append("path",u.path),r.append("source",u.source),n=0;c>n;n+=1)a=e[n].type.match(/\/([a-z0-9]+)/i)[1].toLowerCase(),r.append("files["+n+"]",e[n],e[n].name||(""+Math.random()).replace(".","")+"."+a);if(u.options.prepareData(r),i&&i(r),u.options.data&&s.isPlainObject(u.options.data))for(l=Object.keys(u.options.data),n=0;l.length>n;n+=1)r.append(l[n],u.options.data[l[n]]);u.send(r,function(e){if(!d.options.isSuccess.call(u,e))return void(o||u.options.defaultHandlerError).call(u,Error(u.options.getMessage(e)));"function"==typeof(t||u.options.defaultHandlerSuccess)&&(t||u.options.defaultHandlerSuccess).call(u,u.options.process.call(u,e))})},t.prototype.setPath=function(e){this.path=e},t.prototype.setSource=function(e){this.source=e},t.dataURItoBlob=function(e){var t,o=atob(e.split(",")[1]),i=e.split(",")[0].split(":")[1].split(";")[0],n=new ArrayBuffer(o.length),r=new Uint8Array(n);for(t=0;o.length>t;t+=1)r[t]=o.charCodeAt(t);return new Blob([r],{type:i})},t.prototype.bind=function(e,o,i){var n=this,r=this;r.__on(e,"paste",function(e){var n,a,c,u,f=this,p=function(e){e.append("extension",c),e.append("mimetype",a.type)};if(e.clipboardData&&e.clipboardData.files&&e.clipboardData.files.length)return r.sendFiles(e.clipboardData.files,o,i),!1;if(s.browser("ff"))return void(e.clipboardData.types.length||e.clipboardData.types[0]===l.TEXT_PLAIN||(u=d.default.create("div","",this.jodit.editorDocument),r.jodit.selection.insertNode(u),u.focus(),setTimeout(function(){if(u.firstChild&&u.firstChild.hasAttribute("src")){var e=u.firstChild.getAttribute("src");u.parentNode.removeChild(u),f.sendFiles([t.dataURItoBlob(e)],o,i)}},200)));if(e.clipboardData&&e.clipboardData.items&&e.clipboardData.items.length)for(n=0;e.clipboardData.items.length>n;n+=1)if("file"===e.clipboardData.items[n].kind&&"image/png"===e.clipboardData.items[n].type){a=e.clipboardData.items[n].getAsFile(),c=a.type.match(/\/([a-z0-9]+)/i)[1].toLowerCase(),r.sendFiles([a],o,i,p),e.preventDefault();break}}).__on(e,"dragover",function(t){e.classList.add("draghover"),t.preventDefault()}).__on(e,"dragleave dragend",function(t){e.classList.remove("draghover"),t.preventDefault()}).__on(e,"drop",function(t){if(e.classList.remove("draghover"),t.dataTransfer&&t.dataTransfer.files&&t.dataTransfer.files.length)t.preventDefault(),n.sendFiles(t.dataTransfer.files,o,i);else if(t.dataTransfer&&t.dataTransfer.getData(l.TEXT_PLAIN)&&"-"!==t.dataTransfer.getData(l.TEXT_PLAIN)&&e===r.jodit.editor){if(t.preventDefault(),t.stopPropagation(),!n.jodit.selection.insertCursorAtPoint(t.clientX,t.clientY))return!1;if(o||n.options.defaultHandlerSuccess){var a={baseurl:"",files:[]};a.files=[t.dataTransfer.getData(l.TEXT_PLAIN)],(o||n.options.defaultHandlerSuccess).call(n,a)}t.preventDefault()}}),e.querySelector("input[type=file]")&&r.__on(e.querySelector("input[type=file]"),"change",function(){r.sendFiles(this.files,o,i)})},t.prototype.uploadRemoteImage=function(e,t,o){var i=this,n=this;n.send({action:"uploadremote",url:e},function(e){if(n.options.isSuccess.call(n,e))"function"==typeof t?t.call(n,i.options.process(e)):i.options.defaultHandlerSuccess.call(n,i.options.process(e));else if("function"==typeof(o||n.options.defaultHandlerError))return void(o||i.options.defaultHandlerError).call(n,Error(n.options.getMessage(e)))})},t}(n.default)},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=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])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();t.__esModule=!0;var n=o(1),r=o(4),a=o(17),s=o(2),l=o(18);n.Config.prototype.observer={timeout:100};var d=function(){function e(e,t,o){this.observer=o,this.oldValue=e,this.newValue=t}return e.prototype.execute=function(){},e.prototype.undo=function(){this.observer.block(!0),this.observer.snapshot.restore(this.oldValue)},e.prototype.redo=function(){this.observer.block(!0),this.observer.snapshot.restore(this.newValue)},e}();t.Command=d,t.default=function(e){function t(t){var o=e.call(this,t)||this;return o.__blocked=!1,o.__timeouts=[],o.block=function(e){void 0===e&&(e=1),!0===e||!1===e?this.__blocked=e:1===e?(this.oldblock=this.__blocked,this.__blocked=!0):0===e&&(this.__blocked=void 0!==this.oldblock&&this.oldblock)},o.changed=function(){this.jodit.getMode()===s.MODE_WYSIWYG&&(this.jodit.events.fire("canRedo",[this.stack.canRedo()]),this.jodit.events.fire("canUndo",[this.stack.canUndo()]))},o.stack=new l.default,o.stack.changed=function(){o.changed()},o.snapshot=new a.default(t),o.__startValue=o.snapshot.make(),o.stack.changed(),t.events.on("change afterCommand",function(e){"undo"!==e&&"redo"!==e&&o.__changeHandler()}),o}return i(t,e),t.prototype.__onChange=function(){this.__newValue=this.snapshot.make(),a.default.equal(this.__newValue,this.__startValue)||(this.stack.execute(new d(this.__startValue,this.__newValue,this)),this.__startValue=this.__newValue)},t.prototype.__changeHandler=function(){if(this.__blocked)return void this.block(!1);this.jodit.options.observer.timeout?(clearTimeout(this.__timer),this.__timer=setTimeout(this.__onChange.bind(this),this.jodit.options.observer.timeout),this.__timeouts[this.__timeouts.length]=this.__timer):this.__onChange()},t.prototype.destruct=function(){this.__timeouts.forEach(function(e){clearTimeout(e)})},t.prototype.redo=function(){this.stack.redo()},t.prototype.undo=function(){this.stack.undo()},t}(r.default)},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=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])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();t.__esModule=!0;var n=o(4);t.default=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.__countElementsBefore=function(e){if(!e.parentNode)return 0;var t,o,i=e.parentNode.childNodes,n=0;for(o=0;i.length>o;o+=1){if(!t||i[o].nodeType===Node.TEXT_NODE&&""===i[o].textContent||t.nodeType===Node.TEXT_NODE&&i[o].nodeType===Node.TEXT_NODE||(n+=1),i[o]===e)return n;t=i[o]}},t.prototype.__decomposeHierarchyNodes=function(e){var o=[];if(!e.parentNode)return[];for(;e&&e!==this.jodit.editor;)o.push(t.__countElementsBefore(e)),e=e.parentNode;return o.reverse()},t.__strokeOffset=function(e,t){for(;e&&e.nodeType===Node.TEXT_NODE;)(e=e.previousSibling)&&e.nodeType===Node.TEXT_NODE&&(t+=e.textContent.length);return t},t.prototype.make=function(){var e={html:"",range:{startContainer:[],startOffset:0,endContainer:[],endOffset:0}};e.html=this.jodit.getEditorValue();var o=this.jodit.editorWindow.getSelection();if(o.rangeCount){var i=o.getRangeAt(0);e.range={startContainer:this.__decomposeHierarchyNodes(i.startContainer),startOffset:t.__strokeOffset(i.startContainer,i.startOffset),endContainer:this.__decomposeHierarchyNodes(i.endContainer),endOffset:t.__strokeOffset(i.endContainer,i.endOffset)}}return e},t.prototype.__restoreElementByLadder=function(e){var t,o=this.jodit.editor;for(t=0;o&&e.length>t;t+=1)o=o.childNodes[e[t]];return o},t.equal=function(e,t){return e.html===t.html&&JSON.stringify(e.range)===JSON.stringify(t.range)},t.prototype.restore=function(e){this.jodit.setEditorValue(e.html);try{if(e.range){var t=this.jodit.editorWindow.getSelection(),o=this.jodit.editorDocument.createRange();o.setStart(this.__restoreElementByLadder(e.range.startContainer),e.range.startOffset),o.setEnd(this.__restoreElementByLadder(e.range.endContainer),e.range.endOffset),t.removeAllRanges(),t.addRange(o)}}catch(e){}},t}(n.default)},function(e,t,o){"use strict";t.__esModule=!0,t.default=function(){function e(){this.commands=[],this.stackPosition=-1,this.savePosition=-1}return e.prototype.execute=function(e){this.__clearRedo(),e.execute(),this.commands.push(e),this.stackPosition+=1,this.changed()},e.prototype.undo=function(){this.commands[this.stackPosition]&&this.commands[this.stackPosition].undo(),this.stackPosition-=1,this.changed()},e.prototype.canUndo=function(){return this.stackPosition>=0},e.prototype.redo=function(){this.stackPosition+=1,this.commands[this.stackPosition]&&this.commands[this.stackPosition].redo(),this.changed()},e.prototype.canRedo=function(){return this.commands.length-1>this.stackPosition},e.prototype.save=function(){this.savePosition=this.stackPosition,this.changed()},e.prototype.__clearRedo=function(){this.commands.length=this.stackPosition+1},e.prototype.changed=function(){},e}()},function(e,t,o){"use strict";o(20),o(21);var i=o(2),n=o(5),r=o(6),a=o(23),s=o(8),l=o(57),d=o(62),c=o(1);Object.keys(i).forEach(function(e){r.default[e]=i[e]}),Object.keys(d).forEach(function(e){n.default.icons[e.replace("_","-")]=d[e]}),Object.keys(s).filter(function(e){return"__esModule"!==e}).forEach(function(e){r.default.modules[e]=s[e]}),Object.keys(a).filter(function(e){return"__esModule"!==e}).forEach(function(e){r.default.plugins[e]=a[e]}),Object.keys(l).filter(function(e){return"__esModule"!==e}).forEach(function(e){r.default.lang[e]=l[e]}),r.default.defaultOptions=new c.Config,e.exports=r.default},function(e,t){},function(e,t,o){"use strict";t.__esModule=!0,o(22),function(e){e.matches||(e.matches=void 0!==e.matchesSelector?e.matchesSelector:function(e){var t=this.ownerDocument.querySelectorAll(e),o=this;return Array.prototype.some.call(t,function(e){return e===o})})}(Element.prototype)},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=e.Element.prototype,o=Object,i=String.prototype.trim||function(){return this.replace(/^\s+|\s+$/g,"")},n=Array.prototype.indexOf||function(e){for(var t=0,o=this.length;o>t;t++)if(t in this&&this[t]===e)return t;return-1},r=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},a=function(e,t){if(""===t)throw new r("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(t))throw new r("INVALID_CHARACTER_ERR","String contains an invalid character");return n.call(e,t)},s=function(e){for(var t=i.call(e.getAttribute("class")||""),o=t?t.split(/\s+/):[],n=0,r=o.length;r>n;n++)this.push(o[n]);this._updateClassName=function(){e.setAttribute("class",""+this)}},l=s.prototype=[],d=function(){return new s(this)};if(r.prototype=Error.prototype,l.item=function(e){return this[e]||null},l.contains=function(e){return e+="",-1!==a(this,e)},l.add=function(){var e,t=arguments,o=0,i=t.length,n=!1;do{e=t[o]+"",-1===a(this,e)&&(this.push(e),n=!0)}while(++o<i);n&&this._updateClassName()},l.remove=function(){var e,t,o=arguments,i=0,n=o.length,r=!1;do{for(e=o[i]+"",t=a(this,e);-1!==t;)this.splice(t,1),r=!0,t=a(this,e)}while(++i<n);r&&this._updateClassName()},l.toggle=function(e,t){e+="";var o=this.contains(e),i=o?!0!==t&&"remove":!1!==t&&"add";return i&&this[i](e),!0===t||!1===t?t:!o},l.toString=function(){return this.join(" ")},o.defineProperty){var c={get:d,enumerable:!0,configurable:!0};try{o.defineProperty(t,"classList",c)}catch(e){void 0!==e.number&&-2146823252!==e.number||(c.enumerable=!1,o.defineProperty(t,"classList",c))}}else o.prototype.__defineGetter__&&t.__defineGetter__("classList",d)}}(window.self),function(){"use strict";var e=document.createElement("_");if(e.classList.add("c1","c2"),!e.classList.contains("c2")){var t=function(e){var t=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var o,i=arguments.length;for(o=0;i>o;o++)e=arguments[o],t.call(this,e)}};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";t.__esModule=!0,t.addNewLine=o(24).addNewLine,t.autofocus=o(25).autofocus,t.backspace=o(26).backspace,t.bold=o(27).bold,t.cleanHTML=o(28).cleanHTML,t.color=o(29).color,t.copyformat=o(34).copyformat,t.enter=o(35).enter,t.errorMessages=o(36).errorMessages,t.font=o(37).font,t.formatBlock=o(38).formatBlock,t.fullsize=o(39).fullsize,t.iframe=o(40).iframe,t.imageInlineToolbar=o(41).imageInlineToolbar,t.imageProcessor=o(42).imageProcessor,t.imageProperties=o(43).imageProperties,t.inlinePopup=o(44).inlinePopup,t.justify=o(45).justify,t.link=o(46).link,t.mobile=o(47).mobile,t.orderedlist=o(48).orderedlist,t.paste=o(49).paste,t.placeholder=o(50).placeholder,t.redoundo=o(51).redoundo,t.resizer=o(52).resizer,t.size=o(53).size,t.source=o(54).source,t.table=o(55).TableProcessor,t.tableKeyboardNavigation=o(56).tableKeyboardNavigation},function(e,t,o){"use strict";function i(e){if(e.options.addNewLine){var t,o,i=r.dom('<div role="button" tabIndex="-1" title="'+e.i18n("Break")+'" class="jodit-add-new-line"><span>'+a.default.getIcon("enter")+"</span></div>",e.ownerDocument),n=RegExp("^("+e.options.addNewLineTagsTriggers.join("|")+")$","i"),d=!1,c=!1,u=function(){e.container.classList.contains("jodit_popup_active")||(clearTimeout(t),i.classList.toggle("jodit-add-new-line_after",!c),i.style.display="block",i.style.width=e.editor.clientWidth+"px",d=!1)},f=function(){clearTimeout(t),i.style.display="none",d=!0},p=function(e){return l.default.isBlock(e)&&!/^(img|table|iframe|hr)$/i.test(e.nodeName)},h=function(){d||(clearTimeout(t),t=setTimeout(f,500))};e.events.on("afterInit",function(){e.container.appendChild(i),e.__on(i,"mousemove",function(e){e.stopPropagation()}).__on(i.querySelector("span"),"mousedown touchstart",function(t){var i=e.editorDocument.createElement(e.options.enter);i.appendChild(e.editorDocument.createTextNode(s.INVISIBLE_SPACE)),c&&o?e.editor.insertBefore(i,o):e.editor.appendChild(i),e.selection.setCursorIn(i),e.setEditorValue(),f(),t.preventDefault()})}).on("change afterInit afterSetMode",r.debounce(function(){e.__on(e.editor,"scroll",function(){f()}).__on(e.container,"mouseleave",function(){h()}).__on(e.editor,"mousemove",r.debounce(function(t){var a=e.editorDocument.elementFromPoint(t.pageX-e.editorWindow.pageXOffset,t.pageY-e.editorWindow.pageYOffset);if(a&&a!==i&&l.default.isOrContains(e.editor,a)){if(!((o=a)&&o.nodeName.match(n)&&l.default.isOrContains(e.editor,o)||(o=l.default.closest(o,n,e.editor))))return void h();var s=r.offset(o,e),d=!1;10>Math.abs(t.pageY-s.top)&&(d=s.top,c=!0),10>Math.abs(t.pageY-(s.top+s.height))&&(d=s.top+s.height,c=!1),!1!==d&&(c&&!l.default.prev(o,p,e.editor)||!c&&!l.default.next(o,p,e.editor))?(i.style.top=d+"px",u()):(o=!1,h())}},e.options.observer.timeout))},e.options.observer.timeout))}}t.__esModule=!0;var n=o(1),r=o(0),a=o(5),s=o(2),l=o(3);n.Config.prototype.addNewLine=!0,n.Config.prototype.addNewLineTagsTriggers=["table","iframe","img","hr","jodit"],t.addNewLine=i},function(e,t,o){"use strict";function i(e){var t;e.events.on("afterInit",function(){e.options.autofocus&&(e.options.observer.timeout?t=setTimeout(e.selection.focus,300):e.selection.focus())}).on("beforeDestruct",function(){clearTimeout(t)})}t.__esModule=!0,o(1).Config.prototype.autofocus=!1,t.autofocus=i},function(e,t,o){"use strict";function i(e){e.events.on("afterCommand",function(t){if("delete"===t){var o=e.selection.current();o&&o.firstChild&&"BR"===o.firstChild.tagName&&o.removeChild(o.firstChild),r.trim(e.editor.innerText)||e.editor.querySelector("img")||(e.editor.innerHTML="",e.selection.setCursorIn(e.editor))}}),e.events.on("keydown",function(t){if(t.which===n.KEY_BACKSPACE||t.keyCode===n.KEY_DELETE){var o=t.which===n.KEY_BACKSPACE;if(!e.selection.isCollapsed())return e.execCommand("Delete"),!1;var i=e.editorWindow.getSelection(),r=!!i.rangeCount&&i.getRangeAt(0);if(r){var s=r.startContainer.nodeType===Node.TEXT_NODE?r.startContainer:r.startContainer.childNodes[r.startOffset];if(s&&s.nodeType===Node.TEXT_NODE){for(var l=s.nodeValue,d=r.startOffset,c=o?-1:1;d>=0&&l.length>=d&&l[d+c]===n.INVISIBLE_SPACE;)d+=c;if(d!==r.startOffset){var u=r.startOffset;if(l=o?l.substr(0,d)+l.substr(u):l.substr(0,u)+l.substr(d),s.nodeValue=l,l)return void r.setStart(s,d)}}if(0===r.startOffset&&o&&s){var f=a.default.prev(s,a.default.isBlock,e.editor);f&&e.selection.setCursorIn(f,!1);var p=a.default.up(r.startContainer,a.default.isBlock,e.editor),h=p.innerHTML.replace(n.INVISIBLE_SPACE_REG_EXP,"");if(!(h.length&&"<br>"!=h||a.default.isCell(p,e.editorWindow)))return p.parentNode.removeChild(p),!1}}}})}t.__esModule=!0;var n=o(2),r=o(0),a=o(3);t.backspace=i},function(e,t,o){"use strict";function i(e){e.events.on("beforeCommand",function(t){if(-1!==["bold","italic","underline","strikethrough"].indexOf(t)){var o=n({},r.default.defaultOptions.controls[t].css),i={};return Object.keys(o).forEach(function(e){i[e]=Array.isArray(o[e])?o[e][0]:o[e]}),e.selection.applyCSS(i,r.default.defaultOptions.controls[t].tags[0],r.default.defaultOptions.controls[t].css),e.setEditorValue(),!1}})}var n=this&&this.__assign||Object.assign||function(e){for(var t,o=1,i=arguments.length;i>o;o++){t=arguments[o];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e};t.__esModule=!0;var r=o(6),a=o(1);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=i},function(e,t,o){"use strict";function i(e){if(e.options.cleanHTML.cleanOnPaste&&e.events.on("processPaste",function(e,t){return a.cleanFromWord(t)}),e.options.cleanHTML.allowTags){var t=/([^\[]*)\[([^\]]+)]/,o=/[\s]*,[\s]*/,i=/^(.*)[\s]*=[\s]*(.*)$/,n={};"string"==typeof e.options.cleanHTML.allowTags?e.options.cleanHTML.allowTags.split(o).map(function(e){e=a.trim(e);var r=t.exec(e),s={},l=function(e){e=a.trim(e);var t=i.exec(e);t?s[t[1]]=t[2]:s[e]=!0};if(r){var d=r[2].split(o);r[1]&&(d.map(l),n[r[1].toUpperCase()]=s)}else n[e.toUpperCase()]=!0}):n=e.options.cleanHTML.allowTags,e.events.on("beforeSetElementValue",function(t){if(e.getRealMode()===r.MODE_WYSIWYG){var o=s.default.create("div","",e.editorDocument),i=void 0,a=[],l=void 0,d=void 0;for(o.innerHTML=t.value,i=o.firstChild;i;){if(i.tagName){if(!n[i.tagName]){a.push(i),i=s.default.next(i,function(e){return!!e},o,!0);continue}if(!0!==n[i.tagName]&&i.attributes&&i.attributes.length){for(l=[],d=0;i.attributes.length>d;d+=1)(!n[i.tagName][i.attributes[d].name]||!0!==n[i.tagName][i.attributes[d].name]&&n[i.tagName][i.attributes[d].name]!==i.attributes[d].value)&&l.push(i.attributes[d].name);for(d=0;l.length>=d;d+=1)i.removeAttribute(l[d])}}i=s.default.next(i,function(e){return!!e},o,!0)}for(d=0;a.length>d;d+=1)a[d].parentNode&&a[d].parentNode.removeChild(a[d]);t.value=o.innerHTML}})}e.events.on("afterCommand",function(t){var o,i,n,a=e.selection;switch(t){case"insertHorizontalRule":(o=e.editor.querySelector("hr[id=null]"))&&(i=s.default.next(o,s.default.isBlock,e.editor,!1),i||(i=s.default.create(e.options.enter,"",e.editorDocument),s.default.after(o,i)),a.setCursorIn(i));break;case"removeFormat":if(i=a.current(),n=function(t){return t.nodeType===Node.ELEMENT_NODE?(t.hasAttribute("style")&&t.removeAttribute("style"),"FONT"===t.tagName&&(s.default.each(t,n),t=s.default.replace(t,"span",!1,!1,e.editorDocument)),t.normalize&&t.normalize()):e.options.cleanHTML.replaceNBSP&&t.nodeType===Node.TEXT_NODE&&t.nodeValue.match(r.SPACE_REG_EXP)&&(t.nodeValue=t.nodeValue.replace(r.SPACE_REG_EXP," ")),t},a.isCollapsed())for(;i&&i.nodeType!==Node.ELEMENT_NODE&&i!==e.editor;)i=n(i),i=i.parentNode;else e.editorWindow.getSelection().removeAllRanges()}})}t.__esModule=!0;var n=o(1),r=o(2),a=o(0),s=o(3);n.Config.prototype.cleanHTML={replaceNBSP:!0,cleanOnPaste:!0,allowTags:!1},n.Config.prototype.controls.eraser={command:"removeFormat",tooltip:"Clear Formatting"},t.cleanHTML=i},function(e,t,o){"use strict";function i(e){e.events.on("beforeCommand",function(t,o,i){if(/forecolor|background/.test(t)){var r=n.normalizeColor(i);switch(t){case"background":e.selection.applyCSS({backgroundColor:r||""});break;case"forecolor":e.selection.applyCSS({color:r||""})}return e.setEditorValue(),!1}})}t.__esModule=!0;var n=o(0),r=o(1),a=o(8),s=a.Widget.TabsWidget,l=a.Widget.ColorPickerWidget,d=o(3);r.Config.prototype.controls.brush={css:{backgroundColor:function(e,t){var o=function(e){var i,r;if("object"==typeof e){for(r=Object.keys(e),i=0;r.length>i;i+=1)if(o(e[r[i]]))return!0}else if(Array.isArray(e))return-1!==e.indexOf(n.normalizeColor(t)||"");return!1};return o(e.options.colors)}},popup:function(e,t,o,i){var r,a,c="",u="";t&&d.default.isNode(t,e.editorWindow)&&t.nodeType===Node.ELEMENT_NODE&&(c=""+n.css(t,"color"),u=""+n.css(t,"background-color"),a=t);var f=l(e,function(t){a?a.style.backgroundColor=t:e.execCommand("background",!1,t),i()},u),p=l(e,function(t){a?a.style.color=t:e.execCommand("forecolor",!1,t),i()},c);return r="background"===e.options.colorPickerDefaultTab?{Background:f,Text:p}:{Text:p,Background:f},s(e,r,a)},tooltip:"Fill color or set the text color"},t.color=i},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=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])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();t.__esModule=!0;var n=o(4);t.default=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.stack=[],t}return i(t,e),t.prototype.off=function(e,t,o){if(0===arguments.length)return this.jodit.handlers={},this;var i,n;if("string"==typeof e&&(o=t,t=e,e=this.jodit),void 0===e.handlers)return this;var r=t.split(/[\s,]+/);for(i=0;r.length>i;i+=1)if(void 0!==e.handlers[r[i]])if(void 0!==o)for(n=0;e.handlers[r[i]].length>n;n+=1)e.handlers[r[i]][n]===o&&e.handlers[r[i]].splice(n,1);else delete e.handlers[r[i]];return this},t.prototype.on=function(e,t,o,i){void 0===i&&(i=!1);var n;"string"==typeof e&&(o=t,t=e,e=this.jodit),"string"!=typeof t&&Error("Parameter list must be string");var r=t.split(/[\s,]+/);for(n=0;r.length>n;n+=1)void 0===e.handlers&&(e.handlers={}),void 0===e.handlers[r[n]]&&(e.handlers[r[n]]=[]),i?e.handlers[r[n]].unshift(o):e.handlers[r[n]].push(o);return this},t.prototype.fire=function(e,t,o){var i,n,r,a;if("string"==typeof e&&(o=t,t=e,e=this.jodit),void 0!==e.handlers){for(t=t.split(/[\s,]+/),i=0;t.length>i;i+=1)if(void 0!==e.handlers[t[i]]){for(this.stack.push(t[i]),n=0;e.handlers[t[i]]&&e.handlers[t[i]].length>n;n+=1)this.current=t[i],void 0!==(a=e.handlers[t[i]][n].apply(e,o||[]))&&(r=a);this.stack.pop()}return r}},t}(n.default)},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=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])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),n=this&&this.__assign||Object.assign||function(e){for(var t,o=1,i=arguments.length;i>o;o++){t=arguments[o];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e};t.__esModule=!0;var r=o(6),a=o(4),s=o(7),l=o(1),d=o(0),c=o(5),u=o(14),f=o(15),p=o(11),h=o(2),m=o(10);l.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 i,n=function(e,t){return t>e?-1:e>t?1:0};if("string"==typeof e)return n(e.toLowerCase(),t.toLowerCase());if(void 0===e[o]||"name"===o)return"string"==typeof e.name?n(e.name.toLowerCase(),t.name.toLowerCase()):"string"==typeof e.file?n(e.file.toLowerCase(),t.file.toLowerCase()):0;switch(o){case"changed":return i=new Date(e.changed),new Date(t.changed)-i;case"size":return d.humanSizeToBytes(e.size)-d.humanSizeToBytes(t.size)}},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:["upload","remove","update","select","edit","tiles","list","filter","sort"],view:"tiles",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 i,n,r,a=""+(new Date).getTime();return"string"==typeof e?(i=e,n=e):(void 0!==e.file&&(i=e.file,n=e.file),e.thumb&&(n=e.thumb)),r='<div class="'+v+'-info">\n '+(this.options.showFileName?'<span class="'+v+'-info-filename">'+i+"</span>":"")+"\n "+(this.options.showFileSize&&e.size?"<span class=\"' + ITEM_CLASS + '-info-filesize\">"+e.size+"</span>":"")+"\n "+(this.options.showFileChangeTime&&e.changed?'<span class="'+v+'-info-filesize">'+e.changed+"</span>":"")+"\n </div>",'<a draggable="true" class="'+v+'" href="'+d.urlNormalize(t.baseurl+t.path+i)+'" data-source="'+o+'" data-path="'+d.pathNormalize(t.path?t.path+"/":"/")+'" data-name="'+i+'" title="'+i+'" data-url="'+d.urlNormalize(t.baseurl+t.path+i)+'">\n <img src="'+d.urlNormalize(t.baseurl+t.path+n)+"?_tmst="+a+'" alt="'+i+'"/>\n '+(this.options.showFileName||this.options.showFileSize&&e.size||this.options.showFileChangeTime&&e.changed?r:"")+"\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"}},move:{data:{action:"fileMove"}},remove:{data:{action:"fileRemove"}},items:{data:{action:"files"}},folder:{data:{action:"folders"}},uploader:null};var g="default",v="jodit_filebrowser_files_item";t.default=function(e){function t(t){var o=e.call(this,t)||this;o.currentPath="",o.currentSource=g,o.currentBaseUrl="",o.view="tiles",o.sortBy="changed",o.dragger=!1,o.filterWord="",o.getPathByUrl=function(e,t,i){var n=o;o.options.getLocalFileByUrl.data.url=e,o.send("getLocalFileByUrl",function(e){n.options.isSuccess(e)?t(e.data.path,e.data.name,e.data.source):i(Error(o.options.getMessage(e)))},function(e){i(e)})},o.loadItems=function(e,t){var i=o;i.options.items.data.path=e,i.options.items.data.source=t,i.options.items.url&&(i.files.classList.add("active"),i.files.appendChild(i.loader.cloneNode(!0)),i.__ajax2&&i.__ajax2.abort&&i.__ajax2.abort(),i.__ajax2=i.send("items",function(e){var t=i.options.items.process.call(i,e);i.generateItemsBox(t.data.sources),i.someSelectedWasChanged()},function(e){s.Alert(e.message),i.status(i.jodit.i18n(e.message))}))},o.create=function(e,t,i){o.options.create.data.source=i,o.options.create.data.path=t,o.options.create.data.name=e,o.send("create",function(e){o.options.isSuccess(e)?(o.currentPath=t,o.currentSource=i,o.loadTree(t,i)):o.status(o.options.getMessage(e))},function(e){o.status(e.message)})},o.move=function(e,t,i){o.options.move.data.from=e,o.options.move.data.path=t,o.options.move.data.source=i,o.send("move",function(e){o.options.isSuccess(e)?o.loadTree(t,i):o.status(o.options.getMessage(e))},function(e){o.status(e.message)})},o.close=function(){o.dialog.close()},o.open=function(e){if(o.options.items.url){var t=0;o.__off(o.files,"dblclick").__on(o.files,"dblclick","a",o.onSelect(e)).__on(o.files,"touchstart","a",function(){var i=(new Date).getTime();h.EMULATE_DBLCLICK_TIMEOUT>i-t&&o.onSelect(e)(),t=i}),o.__off(o.buttons.select,"click").__on(o.buttons.select,"click",o.onSelect(e)),o.loadTree(o.currentPath,o.currentSource);var i=[d.dom('<span class="jodit_dialog_header_title">'+o.jodit.i18n("File Browser")+"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>",o.jodit.ownerDocument)],n=void 0,a=void 0;for(n=0;o.options.buttons.length>n;n+=1){var s=o.options.buttons[n];"string"==typeof s&&void 0!==o.buttons[s]&&(o.options.editImage&&void 0!==r.default.modules.ImageEditor||"edit"!==s)?i.push(o.buttons[s]):"function"==typeof s?i.push(s.call(o)):d.isPlainObject(s)&&s.exec&&s.name&&(a=d.dom('<div class="jodit_button">'+c.default.getIcon(s.icon||s.name)+"</div>",o.jodit.ownerDocument),i.push(a),a.addEventListener("click",s.exec))}o.dialog.open(o.browser,i)}},o.errorHandler=function(e){o.status(o.options.getMessage(e))},o.uploadHandler=function(){o.loadItems(o.currentPath,o.currentSource)},o.openImageEditor=function(e,t,i,n,r,a){o.jodit.getInstance("ImageEditor").open(e,function(e,s,l,d){void 0===o.options[s.action]&&(o.options[s.action]={}),void 0===o.options[s.action].data&&(o.options[s.action].data={action:s.action}),o.options[s.action].data.newname=e||t,o.options[s.action].data.box=s.box,o.options[s.action].data.path=i,o.options[s.action].data.name=t,o.options[s.action].data.source=n,o.send(s.action,function(e){o.options.isSuccess(e)?(o.loadTree(o.currentPath,o.currentSource),l(),r&&r()):(d(Error(o.options.getMessage(e))),a&&a(Error(o.options.getMessage(e))))},function(e){d(e),a&&a(e)})})},o.draggable=!1,o.start={top:0,left:0},o.client={x:0,y:0};var i=o;i.options=d.extend(!0,{},l.Config.prototype.filebrowser,i.jodit.options.filebrowser),i.dialog=new s.default(t,{fullsizeButton:!0}),i.loader=d.dom('<div class="jodit_filebrowser_loader"><i class="jodit_icon-loader"></i></div>',t.ownerDocument),i.browser=d.dom('<div class="jodit_filebrowser non-selected">'+(i.options.showFoldersPanel?'<div class="jodit_filebrowser_tree"></div>':"")+'<div class="jodit_filebrowser_files"></div><div class="jodit_filebrowser_status"></div></div>',t.ownerDocument),i.status_line=i.browser.querySelector(".jodit_filebrowser_status"),i.buttons={upload:d.dom('<div class="jodit_uploadfile_button jodit_button">'+c.default.getIcon("plus")+'<input type="file" accept="image/*" tabindex="-1" dir="auto" multiple=""/></div>',t.ownerDocument),remove:d.dom('<div class="jodit_button disabled">'+c.default.getIcon("bin")+"</div>",t.ownerDocument),update:d.dom('<div class="jodit_button">'+c.default.getIcon("update")+"</div>",t.ownerDocument),select:d.dom('<div class="jodit_button disabled">'+c.default.getIcon("check")+"</div>",t.ownerDocument),edit:d.dom('<div class="jodit_button disabled">'+c.default.getIcon("pencil")+"</div>",t.ownerDocument),tiles:d.dom('<div class="jodit_button jodit_button_tiles disabled">'+c.default.getIcon("th")+"</div>",t.ownerDocument),list:d.dom('<div class="jodit_button disabled">'+c.default.getIcon("th-list")+"</div>",t.ownerDocument),filter:d.dom('<input class="jodit_input" placeholder="'+t.i18n("Filter")+'"/>',t.ownerDocument),sort:d.dom('<select class="jodit_input"><option value="changed">'+t.i18n("Sort by changed")+'</option><option value="name">'+t.i18n("Sort by name")+'</option><option value="size">'+t.i18n("Sort by size")+"</option></select>",t.ownerDocument)},i.tree=i.browser.querySelector(".jodit_filebrowser_tree"),i.files=i.browser.querySelector(".jodit_filebrowser_files"),i.__on([i.buttons.tiles,i.buttons.list],"click",function(e){var t=e.currentTarget;t.classList.contains("jodit_button_tiles")?(i.view="tiles",i.buttons.list.classList.add("disabled")):(i.view="list",i.buttons.tiles.classList.add("disabled")),t.classList.remove("disabled"),i.files.classList.remove("jodit_filebrowser_files_view-tiles"),i.files.classList.remove("jodit_filebrowser_files_view-list"),i.files.classList.add("jodit_filebrowser_files_view-"+i.view),m.default.set("jodit_filebrowser_view",i.view,31)}),i.__on(i.buttons.sort,"change",function(){i.sortBy=i.buttons.sort.value,m.default.set("jodit_filebrowser_sortby",i.sortBy,31),i.loadItems(i.currentPath,i.currentSource)}),i.__on(i.buttons.sort,"click mousedown",function(e){e.stopPropagation()}),i.__on(i.buttons.filter,"click mousedown",function(e){e.stopPropagation()}).__on(i.buttons.filter,"keydown",d.debounce(function(){i.filterWord=i.buttons.filter.value,i.loadItems(i.currentPath,i.currentSource)},300)),i.__on(i.buttons.remove,"click",function(){o.__getActiveElements().length&&s.Confirm(t.i18n("Are you shure?"),"",function(e){e&&(o.__getActiveElements().forEach(function(e){i.remove(i.currentPath,e.getAttribute("data-name"),e.getAttribute("data-source"))}),i.someSelectedWasChanged(),i.loadTree(i.currentPath,i.currentSource))})}),i.__on(i.buttons.edit,"click",function(){var e=o.__getActiveElements();1===e.length&&i.openImageEditor(e[0].getAttribute("href"),e[0].getAttribute("data-name"),e[0].getAttribute("data-path"),e[0].getAttribute("data-source"))}),i.__on(i.buttons.update,"click",function(){i.loadTree(o.currentPath,o.currentSource)}),i.__on(i.tree,"click","a>i.remove",function(e){var o=this.parentNode,n=o.getAttribute("data-path");return s.Confirm(t.i18n("Are you shure?"),"",function(e){e&&(i.remove(n,o.getAttribute("data-name"),o.getAttribute("data-source")),i.loadTree(i.currentPath,i.currentSource))}),e.stopImmediatePropagation(),!1}).__on(i.tree,"click","a",function(){var e=this;this.classList.contains("addfolder")?s.Promt(i.jodit.i18n("Enter Directory name"),i.jodit.i18n("Create directory"),function(t){i.create(t,e.getAttribute("data-path"),e.getAttribute("data-source"))},i.jodit.i18n("type name")):(i.currentPath=this.getAttribute("data-path"),i.currentSource=this.getAttribute("data-source"),i.loadTree(this.getAttribute("data-path"),this.getAttribute("data-source")))}).__on(o.tree,"dragstart","a",function(){i.dragger=this}).__on(o.tree,"drop","a",function(){if(i.options.moveFolder&&i.dragger){var e=i.dragger.getAttribute("data-path");if(!i.options.moveFolder&&i.dragger.classList.contains("jodit_filebrowser_tree_item"))return!1;if(i.dragger.classList.contains(v)&&(e+=i.dragger.getAttribute("data-name"),!i.options.moveFile))return!1;i.move(e,this.getAttribute("data-path"),this.getAttribute("data-source"))}});var a=new u.default(o.jodit);return i.__on(i.files,"mousedown","a>img",function(e){i.client.x=e.clientX,i.client.y=e.clientY,i.start=d.offset(this,i.jodit),i.draggable=this.cloneNode(!0),d.css(i.draggable,{"z-index":1e14,position:"fixed",display:"none",left:i.start.left,top:i.start.top,width:this.offsetWidth,height:this.offsetHeight}),t.ownerDocument.body.appendChild(i.draggable)}).__on(i.files,"dragstart","a",function(e){i.dragger=this,e.dataTransfer.setData(h.TEXT_PLAIN,this.getAttribute("href")),e.stopPropagation()}).__on(i.files,"contextmenu","a",function(e){var o=this;if(i.options.contextMenu){var n=this;return a.show(e.pageX,e.pageY,[!!i.options.editImage&&{icon:"pencil",title:"Edit",exec:function(){i.openImageEditor(n.getAttribute("href"),n.getAttribute("data-name"),n.getAttribute("data-path"),n.getAttribute("data-source"))}},{icon:"bin",title:"Delete",exec:function(){i.remove(i.currentPath,n.getAttribute("data-name"),n.getAttribute("data-source")),i.someSelectedWasChanged(),i.loadTree(i.currentPath,i.currentSource)}},!!i.options.preview&&{icon:"eye",title:"Preview",exec:function(){var e=new s.default(i.jodit),r=d.dom('<div class="jodit_filebrowser_preview"><i class="jodit_icon-loader"></i></div>',t.ownerDocument),a=n.getAttribute("href"),l=i.buttons.select.cloneNode(!0),u=t.ownerDocument.createElement("img"),f=function(){var s=function(){if(o.removeEventListener("load",s),r.innerHTML="",i.options.showPreviewNavigation){var l=d.dom('<a href="javascript:void(0)" class="jodit_filebrowser_preview_navigation jodit_filebrowser_preview_navigation-next">'+c.default.getIcon("angle-right")+"</a>",t.ownerDocument),p=d.dom('<a href="javascript:void(0)" class="jodit_filebrowser_preview_navigation jodit_filebrowser_preview_navigation-prev">'+c.default.getIcon("angle-left")+"</a>",t.ownerDocument);n.previousSibling&&n.previousSibling.classList&&n.previousSibling.classList.contains(v)&&r.appendChild(p),n.nextSibling&&n.nextSibling.classList&&n.nextSibling.classList.contains(v)&&r.appendChild(l),i.__on([l,p],"click",function(){n=this.classList.contains("jodit_filebrowser_preview_navigation-next")?n.nextSibling:n.previousSibling,r.innerHTML='<i class="jodit_icon-loader"></i>',a=n.getAttribute("href"),u.setAttribute("src",a),f()})}r.appendChild(u),e.setPosition()};u.addEventListener("load",s),u.complete&&s.call(u)};f(),u.setAttribute("src",a),e.setContent(r),i.options.showSelectButtonInPreview&&(l.removeAttribute("disabled"),e.setTitle(l),l.addEventListener("click",function(){i.files.querySelector("a.active").classList.add("active"),n.classList.add("active"),i.__fire(i.buttons.select,"click",t.ownerDocument),e.close()})),e.open()}},{icon:"upload",title:"Download",exec:function(){i.jodit.ownerWindow.open(n.getAttribute("href"))}}]),e.stopPropagation(),e.preventDefault(),!1}}).__on(i.files,"click",function(e){d.ctrlKey(e)||(o.__getActiveElements().forEach(function(e){e.classList.remove("active")}),i.someSelectedWasChanged())}).__on(i.files,"click","a",function(e){return d.ctrlKey(e)||i.__getActiveElements().forEach(function(e){e.classList.remove("active")}),this.classList.toggle("active"),i.someSelectedWasChanged(),e.stopPropagation(),!1}).__on(i.jodit.ownerDocument,"dragover",function(e){i.isOpened()&&i.draggable&&void 0!==e.clientX&&d.css(i.draggable,{left:e.clientX+20,top:e.clientY+20,display:"block"})}).__on(i.jodit.ownerWindow,"keydown",function(e){i.isOpened()&&46===e.which&&i.__fire(i.buttons.remove,"click",t.ownerDocument)}).__on(i.jodit.ownerWindow,"mouseup dragend",function(){i.draggable&&(i.draggable.parentNode.removeChild(i.draggable),i.draggable=!1)}),o.dialog.setSize(o.options.width,o.options.height),o.options.getLocalFileByUrl=d.extend(!0,{},o.options.ajax,o.options.getLocalFileByUrl),o.options.crop=d.extend(!0,{},o.options.ajax,o.options.crop),o.options.resize=d.extend(!0,{},o.options.ajax,o.options.resize),o.options.create=d.extend(!0,{},o.options.ajax,o.options.create),o.options.move=d.extend(!0,{},o.options.ajax,o.options.move),o.options.remove=d.extend(!0,{},o.options.ajax,o.options.remove),o.options.folder=d.extend(!0,{},o.options.ajax,o.options.folder),o.options.items=d.extend(!0,{},o.options.ajax,o.options.items),o.view="list"===o.options.view?"list":"tiles",m.default.get("jodit_filebrowser_view")&&(o.view="list"===m.default.get("jodit_filebrowser_view")?"list":"tiles"),o.buttons[o.view].classList.remove("disabled"),o.files.classList.add("jodit_filebrowser_files_view-"+o.view),o.sortBy=-1!==["changed","name","size"].indexOf(o.options.sortBy)?o.options.sortBy:"changed",m.default.get("jodit_filebrowser_sortby")&&(o.sortBy=-1!==["changed","name","size"].indexOf(m.default.get("jodit_filebrowser_sortby"))?m.default.get("jodit_filebrowser_sortby"):"changed"),o.buttons.sort.value=o.sortBy,o.currentBaseUrl=d.$$("base",o.jodit.editorDocument).length?d.$$("base",o.jodit.editorDocument)[0].getAttribute("href"):location.protocol+"//"+location.host,void 0!==r.default.modules.Uploader&&(o.uploader=new f.default(o.jodit,n({},o.jodit.options.uploader,o.options.uploader)),o.uploader.setPath(o.currentPath),o.uploader.setSource(o.currentSource),o.uploader.bind(o.browser,o.uploadHandler,o.errorHandler),o.uploader.bind(o.buttons.upload,o.uploadHandler,o.errorHandler)),o}return i(t,e),t.prototype.isOpened=function(){return this.dialog.isOpened()&&"none"!==this.browser.style.display},t.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=setTimeout(function(){o.status_line.classList.remove("active")},this.options.howLongShowMsg)},t.prototype.generateFolderTree=function(e){var t=this,o=[];d.each(e,function(e,i){e&&e!==g&&o.push('<div class="jodit_filebrowser_source_title">'+e+"</div>"),i.folders.forEach(function(n){var r='<a draggable="draggable" class="jodit_filebrowser_tree_item" href="javascript:void(0)" data-path="'+d.pathNormalize(i.path+n)+'/" data-source="'+e+'"><span>'+n+"</span>";t.options.deleteFolder&&".."!==n&&"."!==n&&(r+='<i class="remove" data-path="'+d.pathNormalize(i.path+n+"/")+'">&times;</i>'),r+="</a>",o.push(r)}),t.options.createNewFolder&&o.push('<a class="jodit_button addfolder" href="javascript:void(0)" data-path="'+d.pathNormalize(i.path+name)+'/" data-source="'+e+'">'+c.default.getIcon("plus")+" "+t.jodit.i18n("Add folder")+"</a>")}),this.tree.innerHTML=o.join("")},t.prototype.generateItemsBox=function(e){var t=this,o=[];d.each(e,function(e,i){e&&e!==g&&o.push('<div class="jodit_filebrowser_source_title">'+e+(i.path?" - "+i.path:"")+"</div>"),i.files&&i.files.length?("function"==typeof t.options.sort&&i.files.sort(function(e,o){return t.options.sort(e,o,t.sortBy,t.jodit)}),i.files.forEach(function(n){(void 0===t.options.filter||t.options.filter(n,t.filterWord))&&o.push(t.options.getThumbTemplate.call(t,n,i,e))})):o.push("<div>"+t.jodit.i18n("There are no files")+"</div>")}),this.files.innerHTML=o.join("")},t.prototype.__getActiveElements=function(){return d.$$(":scope>a.active",this.files)},t.prototype.someSelectedWasChanged=function(){var e=this.__getActiveElements();this.buttons.remove.classList.toggle("disabled",!e.length),this.buttons.select.classList.toggle("disabled",!e.length),this.buttons.edit.classList.toggle("disabled",1!==e.length)},t.prototype.send=function(e,t,o){var i,n=d.extend(!0,{},this.options.ajax,void 0!==this.options[e]?this.options[e]:this.options.ajax);return n.data=n.prepareData.call(this,n.data),i=new p.default(this.jodit,n),i.send().then(t).catch(o),i},t.prototype.loadTree=function(e,t){var o=this;o.options.folder.data.path=e,o.options.folder.data.source=t,o.uploader&&(o.uploader.setPath(e),o.uploader.setSource(t)),o.options.showFoldersPanel&&(o.options.folder.url?(o.tree.classList.add("active"),o.tree.innerHTML="",o.tree.appendChild(o.loader.cloneNode(!0)),o.__ajax&&o.__ajax.abort&&o.__ajax.abort(),o.__ajax=this.send("folder",function(e){var t=o.options.folder.process.call(o,e);o.generateFolderTree(t.data.sources)},function(){o.status(o.jodit.i18n("Error on load folders"))})):o.tree.classList.remove("active")),this.loadItems(e,t)},t.prototype.remove=function(e,t,o){var i=this;this.options.remove.data.path=e,this.options.remove.data.name=t,this.options.remove.data.source=o,this.send("remove",function(e){e=i.options.remove.process.call(i,e),i.options.isSuccess(e)?(i.someSelectedWasChanged(),i.status(i.options.getMessage(e),!0)):i.status(i.options.getMessage(e))},function(e){i.status(e.message)})},t.prototype.onSelect=function(e){var t=this;return function(){var o=t.__getActiveElements();if(o.length){var i=[];o.forEach(function(e){i.push(e.getAttribute("data-url"))}),t.close(),"function"==typeof e&&e({baseurl:"",files:i})}return!1}},t}(a.default)},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=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])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();t.__esModule=!0;var n=o(4),r=o(1),a=o(0),s=o(5),l=o(7);r.Config.prototype.imageeditor={closeAfterSave:!1,width:"85%",height:"85%",crop:!0,resize:!0,resizeUseRatio:!0,resizeMinWidth:20,resizeMinHeight:20,cropUseRatio:!0,cropDefaultWidth:"70%",cropDefaultHeight:"70%"},t.default=function(e){function t(t){var o=e.call(this,t)||this;return o.resizeUseRatio=!0,o.cropUseRatio=!0,o.clicked=!1,o.activeTab="resize",o.hide=function(){o.dialog.close()},o.calcValueByPercent=function(e,t){var o,i=""+t,n=parseFloat(""+e);return(o=/^[\-+]?[0-9]+(px)?$/.exec(i))?parseInt(i,10):(o=/^([\-+]?[0-9.]+)%$/.exec(i),o?Math.round(n*(parseFloat(o[1])/100)):n||0)},o.calcCropBox=function(){var e=.8*o.crop_box.parentNode.offsetWidth,t=.8*o.crop_box.parentNode.offsetHeight,i=e,n=t;e>o.naturalWidth&&t>o.naturalHeight?(i=o.naturalWidth,n=o.naturalHeight):o.ratio>e/t?(i=e,n=o.naturalHeight*(e/o.naturalWidth)):(i=o.naturalWidth*(t/o.naturalHeight),n=t),a.css(o.crop_box,{width:i,height:n})},o.showCrop=function(){o.cropImage&&(o.calcCropBox(),o.new_w=o.calcValueByPercent(o.cropImage.offsetWidth||o.image.offsetWidth,o.options.cropDefaultWidth),o.new_h=o.cropUseRatio?o.new_w/o.ratio:o.calcValueByPercent(o.cropImage.offsetHeight||o.image.offsetHeight,o.options.cropDefaultHeight),a.css(o.cropHandler,{backgroundImage:"url("+o.cropImage.getAttribute("src")+")",width:o.new_w,height:o.new_h,left:(o.cropImage.offsetWidth||o.image.offsetWidth)/2-o.new_w/2,top:(o.cropImage.offsetHeight||o.image.offsetHeight)/2-o.new_h/2}),o.jodit.events.fire(o.cropHandler,"updatesize"))},o.cropBox={x:0,y:0,w:0,h:0},o.updateCropBox=function(){if(o.cropImage){var e=o.cropImage.offsetWidth/o.naturalWidth,t=o.cropImage.offsetHeight/o.naturalHeight;o.cropBox.x=a.css(o.cropHandler,"left")/e,o.cropBox.y=a.css(o.cropHandler,"top")/t,o.cropBox.w=o.cropHandler.offsetWidth/e,o.cropBox.h=o.cropHandler.offsetHeight/t,o.sizes.innerText=o.cropBox.w.toFixed(0)+"x"+o.cropBox.h.toFixed(0)}},o.resizeBox={w:0,h:0},o.updateResizeBox=function(){o.resizeBox.w=o.image.offsetWidth||o.naturalWidth,o.resizeBox.h=o.image.offsetHeight||o.naturalHeight},o.open=function(e,t){var i=(new Date).getTime();o.image=o.jodit.ownerDocument.createElement("img"),a.$$("img,.jodit_icon-loader",o.resize_box).forEach(function(e){e.parentNode.removeChild(e)}),a.$$("img,.jodit_icon-loader",o.crop_box).forEach(function(e){e.parentNode.removeChild(e)}),a.css(o.cropHandler,"background","transparent"),o.onSave=t,o.resize_box.appendChild(a.dom('<i class="jodit_icon-loader"></i>',o.jodit.ownerDocument)),o.crop_box.appendChild(a.dom('<i class="jodit_icon-loader"></i>',o.jodit.ownerDocument)),/\?/.test(e)?e+="&_tst="+i:e+="?_tst="+i,o.image.setAttribute("src",e),o.dialog.open();var n=function(){o.image.removeEventListener("load",n),o.naturalWidth=o.image.naturalWidth,o.naturalHeight=o.image.naturalHeight,o.widthInput.value=""+o.naturalWidth,o.heightInput.value=""+o.naturalHeight,o.ratio=o.naturalWidth/o.naturalHeight,o.resize_box.appendChild(o.image),o.cropImage=o.image.cloneNode(),o.crop_box.appendChild(o.cropImage),a.$$(".jodit_icon-loader",o.editor).forEach(function(e){e.parentNode.removeChild(e)}),"crop"===o.activeTab&&o.showCrop(),o.jodit.events.fire(o.resizeHandler,"updatesize"),o.jodit.events.fire(o.cropHandler,"updatesize"),o.dialog.setPosition(),o.jodit.events.fire("afterImageEditor")};o.image.addEventListener("load",n),o.image.complete&&n()},o.setHandlers=function(){var e=o;e.__on([e.editor.querySelector(".jodit_bottomright"),e.cropHandler],"mousedown",function(t){e.target=t.target||t.srcElement,t.preventDefault(),t.stopImmediatePropagation(),e.clicked=!0,e.start_x=parseInt(t.clientX,10),e.start_y=parseInt(t.clientY,10),"crop"===e.activeTab?(e.top_x=a.css(e.cropHandler,"left"),e.top_y=a.css(e.cropHandler,"top"),e.width=e.cropHandler.offsetWidth,e.height=e.cropHandler.offsetHeight):(e.width=e.image.offsetWidth,e.height=e.image.offsetHeight)}),e.__off(o.jodit.ownerWindow,".jodit_image_editor"+e.jodit.id).__on(o.jodit.ownerWindow,"mousemove.jodit_image_editor"+e.jodit.id,a.throttle(function(t){e.clicked&&(e.diff_x=parseInt(t.clientX,10)-e.start_x,e.diff_y=parseInt(t.clientY,10)-e.start_y,"resize"===e.activeTab&&e.resizeUseRatio||"crop"===e.activeTab&&e.cropUseRatio?e.diff_x?(e.new_w=e.width+e.diff_x,e.new_h=Math.round(e.new_w/e.ratio)):(e.new_h=e.height+e.diff_y,e.new_w=Math.round(e.new_h*e.ratio)):(e.new_w=e.width+e.diff_x,e.new_h=e.height+e.diff_y),"resize"===e.activeTab?(e.new_w>e.options.resizeMinWidth&&(a.css(e.image,"width",e.new_w+"px"),e.widthInput.value=""+e.new_w),e.new_h>e.options.resizeMinHeight&&(a.css(e.image,"height",e.new_h+"px"),e.heightInput.value=""+e.new_h),o.jodit.events.fire(e.resizeHandler,"updatesize")):(e.target!==e.cropHandler?(e.top_x+e.new_w>e.cropImage.offsetWidth&&(e.new_w=e.cropImage.offsetWidth-e.top_x),e.top_y+e.new_h>e.cropImage.offsetHeight&&(e.new_h=e.cropImage.offsetHeight-e.top_y),a.css(e.cropHandler,{width:e.new_w,height:e.new_h})):(e.top_x+e.diff_x+e.cropHandler.offsetWidth>e.cropImage.offsetWidth&&(e.diff_x=e.cropImage.offsetWidth-e.top_x-e.cropHandler.offsetWidth),a.css(e.cropHandler,"left",e.top_x+e.diff_x),e.top_y+e.diff_y+e.cropHandler.offsetHeight>e.cropImage.offsetHeight&&(e.diff_y=e.cropImage.offsetHeight-e.top_y-e.cropHandler.offsetHeight),a.css(e.cropHandler,"top",e.top_y+e.diff_y)),o.jodit.events.fire(e.cropHandler,"updatesize")),t.stopImmediatePropagation())},30)).__on(o.jodit.ownerWindow,"resize.jodit_image_editor"+e.jodit.id,function(){o.jodit.events.fire(e.resizeHandler,"updatesize"),e.showCrop(),o.jodit.events.fire(e.cropHandler,"updatesize")}).__on(o.jodit.ownerWindow,"mouseup.jodit_image_editor"+e.jodit.id+" keydown.jodit_image_editor"+e.jodit.id,function(t){e.clicked&&(e.clicked=!1,t.stopImmediatePropagation())}),a.$$(".jodit_btn_group",e.editor).forEach(function(t){var o=t.querySelector("input");e.__on(t,"click change","button",function(){var i=this;a.$$("button",t).forEach(function(e){return e.classList.remove("active")}),i.classList.add("active"),o.checked=!!i.getAttribute("data-yes"),e.__fire(o,"change",e.jodit.ownerDocument)})}),e.__on(o.editor,"click",".jodit_image_editor_slider-title",function(){a.$$(".jodit_image_editor_slider,.jodit_image_editor_area",e.editor).forEach(function(e){return e.classList.remove("active")});var t=this.parentNode;t.classList.add("active"),e.activeTab=t.getAttribute("data-area"),e.editor.querySelector(".jodit_image_editor_area.jodit_image_editor_area_"+e.activeTab).classList.add("active"),"crop"===e.activeTab&&e.showCrop()}),e.__on(e.widthInput,"change mousedown keydown",a.debounce(function(){var t,i=parseInt(e.widthInput.value,10);i>e.jodit.options.resizer.min_width&&(a.css(e.image,"width",i+"px"),e.resizeUseRatio&&(t=Math.round(i/e.ratio))>e.jodit.options.resizer.min_height&&(a.css(e.image,"height",t+"px"),e.heightInput.value=t)),o.jodit.events.fire(e.resizeHandler,"updatesize")},200)),e.__on(e.heightInput,"change mousedown keydown",a.debounce(function(){var t,i=parseInt(e.heightInput.value,10);i>e.jodit.options.resizer.min_height&&(a.css(e.image,"height",i+"px"),e.resizeUseRatio&&(t=Math.round(i*e.ratio))>e.jodit.options.resizer.min_width&&(a.css(e.image,"width",t+"px"),e.widthInput.value=t)),o.jodit.events.fire(e.resizeHandler,"updatesize")},200)),e.editor.querySelector(".jodit_image_editor_keep_spect_ratio").addEventListener("change",function(){e.resizeUseRatio=this.checked}),e.editor.querySelector(".jodit_image_editor_keep_spect_ratio_crop").addEventListener("change",function(){e.cropUseRatio=this.checked}),e.jodit.events.on(e.resizeHandler,"updatesize",function(){a.css(e.resizeHandler,{top:0,left:0,width:(e.image.offsetWidth||e.naturalWidth)+"px",height:(e.image.offsetHeight||e.naturalHeight)+"px"}),o.updateResizeBox()}),e.jodit.events.on(e.cropHandler,"updatesize",function(){if(e.cropImage){var t=a.css(e.cropHandler,"left"),o=a.css(e.cropHandler,"top"),i=e.cropHandler.offsetWidth,n=e.cropHandler.offsetHeight;0>t&&(t=0),0>o&&(o=0),t+i>e.cropImage.offsetWidth&&(i=e.cropImage.offsetWidth-t,e.cropUseRatio&&(n=i/e.ratio)),o+n>e.cropImage.offsetHeight&&(n=e.cropImage.offsetHeight-o,e.cropUseRatio&&(i=n*e.ratio)),a.css(e.cropHandler,{width:i,height:n,left:t,top:o,backgroundPosition:-t+"px "+-o+"px",backgroundSize:e.cropImage.offsetWidth+"px "+e.cropImage.offsetHeight+"px"}),e.updateCropBox()}}),e.buttons.forEach(function(t){t.addEventListener("mousedown",function(e){e.stopImmediatePropagation()}),t.addEventListener("click",function(){var o={action:e.activeTab,box:"resize"===e.activeTab?e.resizeBox:e.cropBox};switch(t.getAttribute("data-action")){case"saveas":l.Promt(e.jodit.i18n("Enter new name"),e.jodit.i18n("Save in new file"),function(t){if(!a.trim(t))return l.Alert(e.jodit.i18n("The name should not be empty")),!1;e.onSave(t,o,e.hide,function(e){l.Alert(e)})});break;case"save":e.onSave(void 0,o,e.hide,function(e){l.Alert(e)});break;case"reset":"resize"===e.activeTab?(a.css(e.image,{width:null,height:null}),e.widthInput.value=""+e.naturalWidth,e.heightInput.value=""+e.naturalHeight,e.jodit.events.fire(e.resizeHandler,"updatesize")):e.showCrop()}})})},o.options=t.options.imageeditor,o.resizeUseRatio=o.options.resizeUseRatio,o.cropUseRatio=o.options.cropUseRatio,o.buttons=[a.dom('<button data-action="reset" type="button" class="jodit_btn">'+s.default.getIcon("update")+" "+t.i18n("Reset")+"</button>",t.ownerDocument),a.dom('<button data-action="save" type="button" class="jodit_btn jodit_btn_success">'+s.default.getIcon("save")+" "+t.i18n("Save")+"</button>",t.ownerDocument),a.dom('<button data-action="saveas" type="button" class="jodit_btn jodit_btn_success">'+s.default.getIcon("save")+" "+t.i18n("Save as ...")+"</button>",t.ownerDocument)],o.activeTab=o.options.resize?"resize":"crop",o.editor=a.dom('<form class="jodit_image_editor jodit_properties"><div class="jodit_grid"><div class="jodit_col-lg-3-4">'+(o.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>':"")+(o.options.crop?'<div class="jodit_image_editor_area jodit_image_editor_area_crop'+(o.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">'+(o.options.resize?'<div data-area="resize" class="jodit_image_editor_slider active"> <div class="jodit_image_editor_slider-title">'+s.default.getIcon("resize")+t.i18n("Resize")+'</div> <div class="jodit_image_editor_slider-content"> <div class="jodit_form_group"> <label for="jodit_image_editor_width">'+t.i18n("Width")+'</label> <input type="number" class="jodit_image_editor_width"/> </div> <div class="jodit_form_group"> <label for="jodit_image_editor_height">'+t.i18n("Height")+'</label> <input type="number" class="jodit_image_editor_height"/> </div> <div class="jodit_form_group"> <label>'+t.i18n("Keep Aspect Ratio")+'</label> <div class="jodit_btn_group jodit_btn_radio_group"> <input '+(o.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 '+(o.resizeUseRatio?"active":"")+'">'+t.i18n("Yes")+'</button> <button type="button" class="jodit_col6 jodit_btn'+(o.resizeUseRatio?"":"active")+'">'+t.i18n("No")+"</button> </div> </div> </div> </div>":"")+(o.options.crop?'<div data-area="crop" class="jodit_image_editor_slider'+(o.options.resize?"":" active")+'"> <div class="jodit_image_editor_slider-title">'+s.default.getIcon("crop")+t.i18n("Crop")+'</div> <div class="jodit_image_editor_slider-content"> <div class="jodit_form_group"> <label>'+t.i18n("Keep Aspect Ratio")+'</label> <div class="jodit_btn_group jodit_btn_radio_group"> <input '+(o.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 '+(o.cropUseRatio?"active":"")+'">'+t.i18n("Yes")+'</button> <button type="button" class="jodit_col6 jodit_btn '+(o.cropUseRatio?"":"active")+'">'+t.i18n("No")+"</button> </div> </div> </div> </div>":"")+"</div></div></form>",t.ownerDocument),o.widthInput=o.editor.querySelector(".jodit_image_editor_width"),o.heightInput=o.editor.querySelector(".jodit_image_editor_height"),o.resize_box=o.editor.querySelector(".jodit_image_editor_area.jodit_image_editor_area_resize .jodit_image_editor_box"),o.crop_box=o.editor.querySelector(".jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box"),o.sizes=o.editor.querySelector(".jodit_image_editor_area.jodit_image_editor_area_crop .jodit_sizes"),o.resizeHandler=o.editor.querySelector(".jodit_image_editor_resizer"),o.cropHandler=o.editor.querySelector(".jodit_image_editor_croper"),o.dialog=new l.default(t),o.dialog.setContent(o.editor),o.dialog.setSize(o.options.width,o.options.height),o.dialog.setTitle(o.buttons),o.setHandlers(),o}return i(t,e),t}(n.default)},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=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])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();t.__esModule=!0;var n=o(2),r=o(4),a=o(0),s=o(3);t.default=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isMarker=function(e){return s.default.isNode(e,t.jodit.editorWindow)&&"SPAN"===e.tagName&&e.hasAttribute("data-"+n.MARKER_CLASS)},t.marker=function(e,o){void 0===e&&(e=!1);var i;o&&(i=o.cloneRange(),i.collapse(e));var r=t.jodit.editorDocument.createElement("span");return r.id=n.MARKER_CLASS+"_"+ +new Date+"_"+(""+Math.random()).slice(2),r.style.lineHeight="0",r.style.display="none",r.setAttribute("data-"+n.MARKER_CLASS,e?"start":"end"),r.appendChild(t.jodit.editorDocument.createTextNode(n.INVISIBLE_SPACE)),i&&i.insertNode(r),r},t.focus=function(){var e=t.jodit;if(!t.isFocused()){if(e.options.iframe&&a.isIE())for(var o=0;1e5>o&&"complete"!==e.editorDocument.readyState;)o++;e.iframe&&e.iframe.focus(),e.editorWindow.focus(),e.editor.focus();var i=e.editorWindow.getSelection(),r=e.editorDocument.createRange();return i.rangeCount&&t.current()||(e.editor.firstChild||e.editor.appendChild(e.editorDocument.createTextNode(n.INVISIBLE_SPACE)),r.selectNodeContents(e.editor.firstChild),r.collapse(!0),i.removeAllRanges(),i.addRange(r)),!0}return!1},t.eachSelection=function(e){var o=t.jodit.editorWindow.getSelection();if(o.rangeCount){var i=o.getRangeAt(0),n=[],r=i.endContainer===t.jodit.editor?t.jodit.editor.childNodes[i.endOffset-1]:i.endContainer;s.default.find(i.startContainer===t.jodit.editor?t.jodit.editor.childNodes[i.startOffset]:i.startContainer,function(e){if(!e||s.default.isEmptyTextNode(e)||t.isMarker(e)||n.push(e),e===r)return!0},t.jodit.editor,!0,"nextSibling",!1),n.forEach(function(t){e(t)})}},t.applyCSS=function(e,o,i){void 0===o&&(o="span");var r,l=function(e){return e&&!s.default.isEmptyTextNode(e)&&!t.isMarker(e)},d=function(e){return"FONT"!==e.nodeName&&e.nodeType===Node.ELEMENT_NODE&&!1!==a.each(i,function(t,o){return-1!==o.indexOf((""+a.css(e,t)).toLowerCase())})},c=function(e){return(RegExp("^"+e.nodeName+"$","i").test(o)||i&&d(e))&&l(e)},u=function(t){c(t)&&("SPAN"===t.nodeName&&Object.keys(e).forEach(function(o){0===r||a.css(t,o)==a.normilizeCSSValue(o,e[o])?(a.css(t,o,""),void 0===r&&(r=0)):(a.css(t,o,e[o]),void 0===r&&(r=1))}),t.getAttribute("style")&&"SPAN"===t.nodeName||(s.default.unwrap(t),void 0===r&&(r=0)))};if(t.isCollapsed()){var f=!1;if(t.current()&&s.default.closest(t.current(),o,t.jodit.editor)){f=!0;var p=s.default.closest(t.current(),o,t.jodit.editor);p&&t.setCursorAfter(p)}if("SPAN"===o.toUpperCase()||!f){var h=s.default.create(o,n.INVISIBLE_SPACE,t.jodit.editorDocument);t.insertNode(h),"SPAN"===o.toUpperCase()&&a.css(h,e),t.setCursorIn(h)}}else{var m=t.save();t.jodit.editor.normalize(),t.jodit.editorDocument.execCommand("fontsize",!1,7),a.$$('font[size="7"]',t.jodit.editor).forEach(function(i){if(s.default.next(i,l,i.parentNode)||s.default.prev(i,l,i.parentNode)||!c(i.parentNode))if(s.default.next(i.firstChild,l,i)||s.default.prev(i.firstChild,l,i)||!c(i.firstChild))if(s.default.closest(i,c,t.jodit.editor)){var n=t.jodit.editorDocument.createRange(),d=s.default.closest(i,c,t.jodit.editor);n.setStartBefore(d),n.setEndBefore(i);var f=n.extractContents();a.trim(f.textContent).length||s.default.unwrap(f.firstChild),d.parentNode.insertBefore(f,d),n.setStartAfter(i),n.setEndAfter(d);var p=n.extractContents();a.trim(p.textContent).length||s.default.unwrap(p.firstChild),s.default.after(d,p),u(d)}else{var h,m=[];s.default.find(i.firstChild,function(e){return e&&c(e)?(void 0===h&&(h=!0),m.push(e)):void 0===h&&(h=!1),!1},i,!0),m.forEach(s.default.unwrap),h||(void 0===r&&(r=1),1===r&&a.css(s.default.replace(i,o,!1,!1,t.jodit.editorDocument),"SPAN"===o.toUpperCase()?e:{}))}else u(i.firstChild);else u(i.parentNode);i.parentNode&&s.default.unwrap(i)}),t.restore(m)}},t}return i(t,e),t.prototype.insertCursorAtPoint=function(e,t){var o,i=this.jodit.editorDocument;this.clear();try{var n=null;if(i.caretPositionFromPoint?(o=i.caretPositionFromPoint(e,t),n=i.createRange(),n.setStart(o.offsetNode,o.offset)):this.jodit.editorDocument.caretRangeFromPoint&&(o=this.jodit.editorDocument.caretRangeFromPoint(e,t),n=this.jodit.editorDocument.createRange(),n.setStart(o.startContainer,o.startOffset)),null!==n&&void 0!==this.jodit.editorWindow.getSelection){n.collapse(!0);var r=this.jodit.editorWindow.getSelection();r.removeAllRanges(),r.addRange(n)}else if(void 0!==this.jodit.editorDocument.body.createTextRange){var a=this.jodit.editorDocument.body.createTextRange();a.moveToPoint(e,t),a.select()}return!0}catch(e){}return!1},t.prototype.clear=function(){a.$$("span[data-"+n.MARKER_CLASS+"]",this.jodit.editor).forEach(function(e){e.parentNode.removeChild(e)})},t.prototype.restore=function(e){var t=this;if(void 0===e&&(e=[]),Array.isArray(e)){var o=this.jodit.editorWindow.getSelection();o.removeAllRanges(),e.forEach(function(e){var i=t.jodit.editorDocument.createRange(),n=t.jodit.editor.querySelector("#"+e.endId),r=t.jodit.editor.querySelector("#"+e.startId);if(r){if(e.collapsed||!n){var a=r.previousSibling;a&&a.nodeType===Node.TEXT_NODE?i.setStart(a,a.nodeValue.length):i.setStartBefore(r),r.parentNode.removeChild(r),i.collapse(!0)}else i.setStartAfter(r),r.parentNode.removeChild(r),i.setEndBefore(n),n.parentNode.removeChild(n);o.addRange(i)}})}},t.prototype.save=function(){var e=this.jodit.editorWindow.getSelection();if(!e.rangeCount)return null;var t,o,i,n=[],r=e.rangeCount,a=[];for(t=0;r>t;t+=1)a[t]=e.getRangeAt(t),a[t].collapsed?(o=this.marker(!0,a[t]),n[t]={startId:o.id,collapsed:!0,startMarker:o.outerHTML}):(o=this.marker(!0,a[t]),i=this.marker(!1,a[t]),n[t]={startId:o.id,endId:i.id,collapsed:!1,startMarker:o.outerHTML,endMarker:i.outerHTML});for(e.removeAllRanges(),t=r-1;t>=0;--t){n[t].collapsed?(a[t].setStartAfter(this.jodit.editorDocument.getElementById(n[t].startId)),a[t].collapse(!0)):(a[t].setStartBefore(this.jodit.editorDocument.getElementById(n[t].startId)),a[t].setEndAfter(this.jodit.editorDocument.getElementById(n[t].endId)));try{e.addRange(a[t].cloneRange())}catch(e){}}return n},t.prototype.isCollapsed=function(){var e,t=this.jodit.editorWindow.getSelection();for(e=0;t.rangeCount>e;e+=1)if(!t.getRangeAt(e).collapsed)return!1;return!0},t.prototype.isFocused=function(){return this.jodit.editorDocument.hasFocus&&this.jodit.editorDocument.hasFocus()&&this.jodit.editor===this.jodit.editorDocument.activeElement},t.prototype.current=function(){if(this.jodit.getRealMode()===n.MODE_WYSIWYG&&void 0!==this.jodit.editorWindow.getSelection){var e=this.jodit.editorWindow.getSelection();if(e.rangeCount>0){var t=e.getRangeAt(0),o=t.startContainer;if(t.startContainer.nodeType!==Node.TEXT_NODE&&t.startContainer===t.endContainer&&t.startOffset!==t.endOffset&&(o=t.startContainer.childNodes[t.startOffset]),s.default.isOrContains(this.jodit.editor,o))return o}}return!1},t.prototype.insertNode=function(e,t){if(void 0===t&&(t=!0),!(e instanceof this.jodit.editorWindow.Node))throw Error("Parameter node most be instance of Node");if(this.focus(),!this.jodit.editorWindow.getSelection)throw Error("Jodit does'n support this browser");var o=this.jodit.editorWindow.getSelection();if(this.isCollapsed()||this.jodit.execCommand("Delete"),o.rangeCount){var i=o.getRangeAt(0);!function(e,t){for(var o=t;o;){if(o===e)return!0;o=o.parentNode}return!1}(this.jodit.editor,i.commonAncestorContainer)?this.jodit.editor.appendChild(e):(i.deleteContents(),i.insertNode(e))}else this.jodit.editor.appendChild(e);t&&this.setCursorAfter(e),this.jodit.setEditorValue()},t.prototype.insertHTML=function(e){var t,o,i=this.jodit.editorDocument.createElement("DIV"),n=this.jodit.editorDocument.createDocumentFragment();for(this.isFocused()||this.jodit.editor.focus(),e instanceof this.jodit.editorWindow.Node?s.default.isNode(e,this.jodit.editorWindow)&&i.appendChild(e):i.innerHTML=""+e,t=i.lastChild;i.firstChild;)t=i.firstChild,n.appendChild(i.firstChild);for(this.insertNode(n,!1),this.setCursorAfter(t),o=this.jodit.editor.lastChild;o&&o.nodeType===Node.TEXT_NODE&&o.previousSibling&&/^\s*$/.test(o.nodeValue);)o=o.previousSibling;t&&(o&&t===o&&1===t.nodeType&&this.jodit.editor.appendChild(this.jodit.editorDocument.createElement("br")),this.setCursorAfter(t))},t.prototype.insertImage=function(e,t){void 0===t&&(t={});var o,i="string"==typeof e?a.dom("<img/>",this.jodit.editorDocument):a.dom(e,this.jodit.editorDocument);this.isCollapsed()||this.jodit.execCommand("Delete"),"string"==typeof e&&i.setAttribute("src",e),o=""+this.jodit.options.imageDefaultWidth,o&&"auto"!==o&&0>(o+"").indexOf("px")&&0>(o+"").indexOf("%")&&(o+="px"),t.width=o,t&&"object"==typeof t&&a.each(t,function(e,t){i.style[t]=e});var n=function(){(i.offsetHeight>i.naturalHeight||i.offsetWidth>i.naturalWidth)&&(i.style.width="",i.style.height=""),i.removeEventListener("load",n)};i.addEventListener("load",n),i.complete&&n(),this.insertNode(i),this.jodit.events.fire("afterInsertImage",[i])},t.prototype.setCursorAfter=function(e){var t=this;if(!(e instanceof this.jodit.editorWindow.Node))throw Error("Parameter node most be instance of Node");if(!s.default.up(e,function(e){return e===t.jodit.editor||e.parentNode===t.jodit.editor},this.jodit.editor))throw Error("Node element must be in editor");var o=this.jodit.editorWindow.getSelection(),i=this.jodit.editorDocument.createRange(),r=this.jodit.editorDocument.createTextNode(n.INVISIBLE_SPACE);return e.nodeType!==Node.TEXT_NODE?(i.setStartAfter(e),i.insertNode(r),i.selectNode(r)):i.setStart(e,e.nodeValue.length),i.collapse(!0),o.removeAllRanges(),o.addRange(i),r},t.prototype.cursorInTheEdge=function(e,t,o){void 0===e&&(e=!1),void 0===t&&(t=!1),void 0===o&&(o=!1);var i=this.jodit.editorWindow.getSelection(),n=function(e){return!s.default.isEmptyTextNode(e)},r=t;if(!i.rangeCount)return!1;var a=i.getRangeAt(0),l=function(){return!1===o?e:!e}()?a.startContainer:a.endContainer;if(!1===t)r=s.default.up(l,s.default.isBlock,this.jodit.editor);else if("function"==typeof t)r=s.default.up(l,t,this.jodit.editor);else if(!s.default.isOrContains(t,a.startContainer))return null;return!(!r||(l===r?e?0!==a.startOffset:a.endOffset!==[].slice.call(r.childNodes).filter(n).length:e?l.nodeType===Node.TEXT_NODE&&0!==a.startOffset||s.default.prev(l,n,r):l.nodeType===Node.TEXT_NODE&&a.endOffset!==a.startContainer.nodeValue.length||s.default.next(l,n,r)))},t.prototype.setCursorBefore=function(e){var t=this;if(!(e instanceof this.jodit.editorWindow.Node))throw Error("Parameter node most be instance of Node");if(!s.default.up(e,function(e){return e===t.jodit.editor||e.parentNode===t.jodit.editor},this.jodit.editor))throw Error("Node element must be in editor");var o=this.jodit.editorWindow.getSelection(),i=this.jodit.editorDocument.createRange(),r=this.jodit.editorDocument.createTextNode(n.INVISIBLE_SPACE);return e.nodeType!==Node.TEXT_NODE?(i.setStartBefore(e),i.insertNode(r),i.selectNode(r)):i.setStart(e,e.nodeValue.length),i.collapse(!0),o.removeAllRanges(),o.addRange(i),r},t.prototype.setCursorIn=function(e,t){var o=this;if(void 0===t&&(t=!1),!(e instanceof this.jodit.editorWindow.Node))throw Error("Parameter node most be instance of Node");if(!s.default.up(e,function(e){return e===o.jodit.editor||e.parentNode===o.jodit.editor},this.jodit.editor))throw Error("Node element must be in editor");var i=this.jodit.editorWindow.getSelection(),n=this.jodit.editorDocument.createRange(),r=e,a=e;do{if(r.nodeType===Node.TEXT_NODE)break;a=r,r=r[t?"firstChild":"lastChild"]}while(r);n.selectNodeContents(r||a),n.collapse(t),i.removeAllRanges(),i.addRange(n)},t.prototype.select=function(e,t){var o=this;if(void 0===t&&(t=!1),!(e instanceof this.jodit.editorWindow.Node))throw Error("Parameter node most be instance of Node");if(!s.default.up(e,function(e){return e===o.jodit.editor||e.parentNode===o.jodit.editor},this.jodit.editor))throw Error("Node element must be in editor");var i=this.jodit.editorWindow.getSelection(),n=this.jodit.editorDocument.createRange();n[t?"selectNodeContents":"selectNode"](e),i.removeAllRanges(),i.addRange(n)},t}(r.default)},function(e,t,o){"use strict";function i(e){e.buffer[s]={active:!1,format:{}},e.events.on("mouseup",function(){e.buffer[s].active&&(e.buffer[s].active=!1,e.selection.applyCSS(e.buffer[s].format))})}t.__esModule=!0;var n=o(1),r=o(3),a=o(0),s="copyformat",l=function(e,t){var o=r.default.up(t,function(e){return e&&e.nodeType!==Node.TEXT_NODE},e.editor)||e.editor;if(o)return{fontSize:a.css(o,"fontSize"),fontWeight:a.css(o,"fontWeight"),fontStyle:a.css(o,"fontStyle"),color:a.css(o,"color"),backgroundColor:a.css(o,"backgroundColor")}};n.Config.prototype.controls.copyformat={exec:function(e,t){t&&(e.buffer[s].active?e.buffer[s].active=!1:(e.buffer[s].format=l(e,t))&&(e.buffer[s].active=!0))},isActive:function(e){return void 0!==e.buffer[s]&&e.buffer[s].active},tooltip:"Paint format"},t.copyformat=i},function(e,t,o){"use strict";function i(e){e.events.on("keyup",function(){var t=e.selection.current();if(!1!==t){var o=a.default.up(t,function(t){return t.tagName===e.options.enter.toUpperCase()},e.editor);o&&a.default.all(o,function(o){o.nodeType===Node.TEXT_NODE&&r.INVISIBLE_SPACE_REG_EXP.test(o.nodeValue)&&0!==o.nodeValue.replace(r.INVISIBLE_SPACE_REG_EXP,"").length&&(o.nodeValue=o.nodeValue.replace(r.INVISIBLE_SPACE_REG_EXP,""),o===t&&e.selection.setCursorAfter(o))})}}),e.events.on("keydown",function(o){if(o.which===r.KEY_ENTER||o.keyCode===r.KEY_ENTER){e.selection.isCollapsed()||e.execCommand("Delete"),e.selection.focus();var i=e.selection.current(),s=e.editorWindow.getSelection(),l=s.rangeCount?s.getRangeAt(0):e.editorDocument.createRange();i&&i!==e.editor||(i=a.default.create("text",r.INVISIBLE_SPACE,e.editorDocument),s.rangeCount?l.insertNode(i):e.editor.appendChild(i),l.selectNode(i),l.collapse(!1),s.removeAllRanges(),s.addRange(l));var d=void 0,c=!!i&&a.default.up(i,a.default.isBlock,e.editor);if(e.options.enter===r.BR||o.shiftKey||a.default.closest(i,"PRE|BLOCKQUOTE",e.editor))return e.selection.insertNode(a.default.create("br",void 0,e.editorDocument)),!1;if(c||!i||a.default.prev(i,function(t){return a.default.isBlock(t)||a.default.isImage(t,e.ownerWindow)},e.editor)||(c=a.default.wrap(i,e.options.enter,e),l=s.rangeCount?s.getRangeAt(0):e.editorDocument.createRange()),c){if(!a.default.canSplitBlock(c,e.editorWindow)){var u=e.editorDocument.createElement("br");return e.selection.insertNode(u,!1),e.selection.setCursorAfter(u),!1}if("LI"===c.nodeName&&a.default.isEmpty(c)){var f=a.default.closest(c,"ol|ul",e.editor);if(a.default.prev(c,function(e){return e&&"LI"===e.tagName},f))if(a.default.next(c,function(e){return e&&"LI"===e.tagName},f)){var p=e.editorDocument.createRange();p.setStartBefore(f),p.setEndAfter(c);var h=p.extractContents();f.parentNode.insertBefore(h,f),d=e.selection.setCursorBefore(f)}else d=e.selection.setCursorAfter(f);else d=e.selection.setCursorBefore(f);return c.parentNode.removeChild(c),t.insertParagraph(e,d),n.$$("li",f).length||f.parentNode.removeChild(f),!1}if(e.selection.cursorInTheEdge(!0,c))d=e.selection.setCursorBefore(c),t.insertParagraph(e,d,"LI"===c.nodeName?"li":e.options.enter),e.selection.setCursorIn(c,!0);else if(e.selection.cursorInTheEdge(!1,c))d=e.selection.setCursorAfter(c),t.insertParagraph(e,d,"LI"===c.nodeName?"li":e.options.enter);else{var p=e.editorDocument.createRange();p.setStartBefore(c),p.setEnd(l.startContainer,l.startOffset);var h=p.extractContents();c.parentNode.insertBefore(h,c),e.selection.setCursorIn(c,!0)}}else t.insertParagraph(e);return!1}})}t.__esModule=!0;var n=o(0),r=o(2),a=o(3);t.insertParagraph=function(e,t,o){o||(o=e.options.enter);var i=e.editorDocument.createElement(o);return i.appendChild(e.editorDocument.createTextNode(r.INVISIBLE_SPACE)),e.selection.insertNode(i,!1),e.selection.setCursorIn(i),t&&t.parentNode&&t.parentNode.removeChild(t),i},t.enter=i},function(e,t,o){"use strict";function i(e){if(e.options.showMessageErrors){var t,o=r.dom('<div class="jodit_error_box_for_messages"></div>',e.ownerDocument),i=function(){t=5,[].slice.call(o.childNodes).forEach(function(i){r.css(o,"bottom",t+"px"),t+=i.offsetWidth+e.options.showMessageErrorOffsetPx})};e.workplace.appendChild(o),e.events.on("errorMessage",function(t,n,a){var s=r.dom('<div class="active '+(n||"")+'">'+t+"</div>",e.ownerDocument);o.appendChild(s),i(),setTimeout(function(){s.classList.remove("active"),setTimeout(function(){o.removeChild(s),i()},300)},a||e.options.showMessageErrorTime)})}}t.__esModule=!0;var n=o(1),r=o(0);n.Config.prototype.showMessageErrors=!0,n.Config.prototype.showMessageErrorTime=3e3,n.Config.prototype.showMessageErrorOffsetPx=3,t.errorMessages=i},function(e,t,o){"use strict";function i(e){e.events.on("beforeCommand",function(t,o,i){if(/font/.test(t)){switch(t){case"fontsize":e.selection.applyCSS({fontSize:n.normalizeSize(i)});break;case"fontname":e.selection.applyCSS({fontFamily:i})}return e.setEditorValue(),!1}})}t.__esModule=!0;var n=o(0),r=o(1);r.Config.prototype.controls.fontsize={command:"fontSize",list:["8","9","10","11","12","14","18","24","30","36","48","60","72","96"],template:function(e,t,o){return o},tooltip:"Font size"},r.Config.prototype.controls.font={command:"fontname",exec:function(e,t,o){e.execCommand(o.command,!1,o.args[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>"},tooltip:"Font family"},t.font=i},function(e,t,o){"use strict";function i(e){e.events.on("beforeCommand",function(t,o,i){if("formatblock"===t){e.selection.focus();var a=!1;if(e.selection.eachSelection(function(t){var o=e.selection.save(),r=!!t&&n.default.up(t,n.default.isBlock,e.editor);if(!r&&t&&(r=n.default.wrap(t,e.options.enter,e)),!r)return e.selection.restore(o),!1;r.tagName.match(/TD|TH|TBODY|TABLE|THEAD/i)?e.selection.isCollapsed()?n.default.wrap(t,i,e):e.selection.applyCSS({},i):n.default.replace(r,i,!0,!1,e.editorDocument),a=!0,e.selection.restore(o)}),!a){var s=n.default.create(i,r.INVISIBLE_SPACE,e.editorDocument);e.selection.insertNode(s,!1),e.selection.setCursorIn(s)}return e.setEditorValue(),!1}})}t.__esModule=!0;var n=o(3),r=o(2);o(1).Config.prototype.controls.paragraph={command:"formatBlock",exec:function(e,t,o){e.execCommand(o.command,!1,o.args[0])},list:{p:"Normal",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",blockquote:"Quote",pre:"Code"},template:function(e,t,o){return"<"+t+' class="jodit_list_element"><span>'+e.i18n(o)+"</span></"+t+"></li>"},tooltip:"Insert format block"},t.formatBlock=i},function(e,t,o){"use strict";function i(e){var t=!1,o=null,i=null,n=!1,s=function(){e.events&&(t?(o=r.css(e.container,"height"),i=r.css(e.container,"width"),r.css(e.container,{height:e.ownerWindow.innerHeight,width:e.ownerWindow.innerWidth}),n=!0):n&&r.css(e.container,{height:o||"auto",width:i||"auto"}))},l=function(o){if(void 0===o&&(o=!e.container.classList.contains("jodit_fullsize")),t=o,e.container.classList.toggle("jodit_fullsize",o),e.toolbar){r.css(e.toolbar.container,"width","auto");var i=r.dom(a.default.getIcon(o?"shrink":"fullsize"),e.ownerDocument),n=e.toolbar.container.querySelector(".jodit_toolbar_btn-fullsize a");n&&(i.classList.add("jodit_icon"),n.innerHTML="",n.appendChild(i))}if(e.options.globalFullsize){for(var l=e.container.parentNode;l&&!(l instanceof Document);)l.classList.toggle("jodit_fullsize_box",o),l=l.parentNode;s()}e.events.fire("afterResize")};e.options.fullsize&&e.events.on("afterInit",function(){l(!0)}),e.options.globalFullsize&&e.__on(e.ownerWindow,"resize",s),e.events.on("toggleFullsize",l),e.events.on("beforeDestruct",function(){l(!1)})}t.__esModule=!0;var n=o(1),r=o(0),a=o(5),s=o(2);n.Config.prototype.fullsize=!1,n.Config.prototype.globalFullsize=!0,n.Config.prototype.controls.fullsize={exec:function(e){e.events.fire("toggleFullsize")},tooltip:"Open editor in fullsize",mode:s.MODE_SOURCE+s.MODE_WYSIWYG},t.fullsize=i},function(e,t,o){"use strict";function i(e){e.events.on("createEditor",function(){if(e.options.iframe){e.iframe=e.ownerDocument.createElement("iframe"),e.iframe.style.display="block",e.iframe.src="about:blank",e.iframe.className="jodit_wysiwyg_iframe",e.iframe.frameBorder="0",e.workplace.appendChild(e.iframe);var t=e.iframe.contentWindow.document;if(e.editorDocument=t,e.editorWindow=e.iframe.contentWindow,t.open(),t.write('<!DOCTYPE html>\n <html class="jodit">\n <head>\n '+(e.options.iframeBaseUrl?'<base href="'+e.options.iframeBaseUrl+'"/>':"")+'\n </head>\n <body class="jodit_wysiwyg" style="outline:none" contenteditable="true"></body>\n </html>'),t.close(),e.editor=t.body,e.options.iframeCSSLinks&&e.options.iframeCSSLinks.forEach(function(e){var o=r.dom('<link rel="stylesheet" href="'+e+'">',t);t.head.appendChild(o)}),e.options.iframeStyle){var o=t.createElement("style");o.innerHTML=e.options.iframeStyle,t.head.appendChild(o)}if("auto"===e.options.height){t.documentElement.style.overflowY="hidden";var i=function(){e.editor&&r.css(e.iframe,"height",e.editor.offsetHeight)};e.events.on("change afterInit afterSetMode resize",i),e.__on([e.iframe,e.editorWindow,t.documentElement],"load",i),e.__on(t,"readystatechange DOMContentLoaded",i)}return r.css(e.editor,"minHeight",e.options.minHeight),function(e){e.matches||(e.matches=Element.prototype.matches)}(e.editorWindow.Element.prototype),e.__on(e.editorWindow,"mousedown click mouseup mousemove scroll",function(t){e.__fire&&e.__fire(window,t,e.ownerDocument)}),!1}})}t.__esModule=!0;var n=o(1),r=o(0);n.Config.prototype.iframe=!1,n.Config.prototype.iframeBaseUrl=!1,n.Config.prototype.iframeStyle='html{margin: 0px;}body{padding:10px;background:transparent;color:#000;position:relative;z-index: 2;user-select:auto;margin:0px;overflow:auto;}body:after{content:"";clear:both;display:block}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}',n.Config.prototype.iframeCSSLinks=[],t.iframe=i},function(e,t,o){"use strict";function i(e){e.events.on("click",function(e){})}t.__esModule=!0,t.imageInlineToolbar=i},function(e,t,o){"use strict";function i(e){var t,o=function(o){e.__off(o,".imageProcessor").__on(o,"dragstart.imageProcessor",function(e){t=o,e.preventDefault()}).__on(o,"mousedown.imageProcessor",function(){t=o})};e.events.on("afterInit",function(){e.__on(e.editor,"mousemove",n.throttle(function(o){t&&e.selection.insertCursorAtPoint(o.clientX,o.clientY)},e.options.observer.timeout)).__on(window,"mouseup",function(){t=!1}).__on(e.editor,"mouseup",function(o){var i,n=t;if(n&&o.target!==n){if(!1===e.selection.insertCursorAtPoint(o.clientX,o.clientY))return!1;i=n.parentNode&&"A"===n.parentNode.tagName&&!n.parentNode.textContent.length?n.parentNode:n,i.parentNode.removeChild(i),e.selection.insertImage(i),e.selection.select(i)}})}),e.events.on("change afterInit",n.debounce(function(){e.editor&&n.$$("img",e.editor).forEach(function(t){t[r]||(t[r]=!0,o(t),t.complete||t.addEventListener("load",function o(){e.events&&e.events.fire&&e.events.fire("resize"),t.removeEventListener("load",o)}))})},e.options.observer.timeout))}t.__esModule=!0;var n=o(0),r="__jodit_imageprocessor_binded";t.imageProcessor=i},function(e,t,o){"use strict";function i(e){var t=function(t){var o,i=this,r=new s.default(e),c=a.dom('<a href="javascript:void(0)" style="float:right;" class="jodit_button">'+l.default.getIcon("cancel")+"<span>"+e.i18n("Cancel")+"</span></a>",e.ownerDocument),p=a.dom('<a href="javascript:void(0)" style="float:left;" class="jodit_button">'+l.default.getIcon("check")+"<span>"+e.i18n("Ok")+"</span></a>",e.ownerDocument),h={remove:a.dom('<a href="javascript:void(0)" class="jodit_button">'+l.default.getIcon("bin")+" "+e.i18n("Delete")+"</a>",e.ownerDocument)},m=a.dom('<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 id="imageViewSrc" src="" alt=""/></div><div style="'+(e.options.image.editSize?"":"display:none")+'" class="jodit_form_group jodit_properties_image_sizes"><input type="number" id="imageWidth"/><a class="jodit_lock_helper jodit_lock_size" href="javascript:void(0)">'+l.default.getIcon("lock")+'</a><input type="number" id="imageHeight"/></div></div></div><div id="tabsbox" class="jodit_col-lg-3-5"></div></div></form>',e.ownerDocument),g=a.dom('<div style="'+(e.options.image.editMargins?"":"display:none")+'" class="jodit_form_group"><label for="marginTop">'+e.i18n("Margins")+'</label><div class="jodit_grid"><input class="jodit_col-lg-1-5 margins" type="text" placeholder="'+e.i18n("top")+'" id="marginTop"/><a style="text-align: center;" class="jodit_lock_helper jodit_lock_margin jodit_col-lg-1-5" href="javascript:void(0)">'+l.default.getIcon("lock")+'</a><input disabled="true" class="jodit_col-lg-1-5 margins" type="text" placeholder="'+e.i18n("right")+'" id="marginRight"/><input disabled="true" class="jodit_col-lg-1-5 margins" type="text" placeholder="'+e.i18n("bottom")+'" id="marginBottom"/><input disabled="true" class="jodit_col-lg-1-5 margins" type="text" placeholder="'+e.i18n("left")+'" id="marginLeft"/></div></div><div style="'+(e.options.image.editStyle?"":"display:none")+'" class="jodit_form_group"><label for="style">'+e.i18n("Styles")+'</label><input type="text" id="style"/></div><div style="'+(e.options.image.editClass?"":"display:none")+'" class="jodit_form_group"><label for="classes">'+e.i18n("Classes")+'</label><input type="text" id="classes"/></div><div style="'+(e.options.image.editId?"":"display:none")+'" class="jodit_form_group"><label for="id">Id</label><input type="text" id="id"/></div><div style="'+(e.options.image.editAlign?"":"display:none")+'" class="jodit_form_group"><label for="align">'+e.i18n("Align")+'</label><select class="select" id="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>",e.ownerDocument),v=a.dom('<div style="'+(e.options.image.editSrc?"":"display:none")+'" class="jodit_form_group"><label for="imageSrc">'+e.i18n("Src")+'</label><div class="jodit_input_group"><input type="text" id="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)">'+l.default.getIcon("image")+"</a>":"")+(e.options.image.useImageEditor&&void 0!==n.default.modules.ImageEditor&&e.options.filebrowser.ajax.url?'<a class="jodit_button jodit_use_image_editor" href="javascript:void(0)">'+l.default.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" id="imageTitle"/></div><div style="'+(e.options.image.editAlt?"":"display:none")+'" class="jodit_form_group"><label for="imageAlt">'+e.i18n("Alternative")+'</label><input type="text" id="imageAlt"/></div><div style="'+(e.options.image.editLink?"":"display:none")+'" class="jodit_form_group"><label for="imageLink">'+e.i18n("Link")+'</label><input type="text" id="imageLink"/></div><div style="'+(e.options.image.editLink?"":"display:none")+'" class="jodit_form_group"><input type="checkbox" id="imageLinkOpenInNewTab"/> '+e.i18n("Open link in new tab")+"</div>",e.ownerDocument),_=i.naturalWidth/i.naturalHeight||1,b=m.querySelector("#imageWidth"),y=m.querySelector("#imageHeight"),w=function(){i.style.cssFloat&&-1!==["left","right"].indexOf(i.style.cssFloat.toLowerCase())?a.val(m,"#align",a.css(i,"float")):"block"===a.css(i,"display")&&"auto"===i.style.marginLeft&&"auto"===i.style.marginRight&&a.val(m,"#align","center")},q=function(){a.val(m,"#id",i.getAttribute("id"))},j=function(){a.val(m,"#style",i.getAttribute("style"))},C=function(){a.val(m,"#classes",(i.getAttribute("class")||"").replace(/jodit_focused_image[\s]*/,""))},x=function(){if(e.options.image.editMargins){var t=!1;a.$$(".margins",m).forEach(function(e){var o=i.style[e.id];o&&(/^[0-9]+(px)?$/.test(o)&&(o=parseInt(o,10)),e.value=""+o||"",t||"marginTop"===e.id||e.value===a.val(m,"#marginTop")||(t=!0))}),M=!t,m.querySelector(".jodit_lock_margin").innerHTML=l.default.getIcon(M?"lock":"unlock"),a.$$(".margins:not(#marginTop)",m).forEach(function(e){return M?e.setAttribute("disabled","true"):e.removeAttribute("disabled")})}},E=function(){b.value=""+i.offsetWidth,y.value=""+i.offsetHeight},T=function(){i.hasAttribute("title")&&a.val(m,"#imageTitle",i.getAttribute("title")),i.hasAttribute("alt")&&a.val(m,"#imageAlt",i.getAttribute("alt")),d.default.closest(i,"a",e.editor)&&(a.val(m,"#imageLink",d.default.closest(i,"a",e.editor).getAttribute("href")),m.querySelector("#imageLinkOpenInNewTab").checked="_blank"===d.default.closest(i,"a",e.editor).getAttribute("target"))},S=function(){a.val(m,"#imageSrc",i.getAttribute("src")),m.querySelector("#imageViewSrc").setAttribute("src",i.getAttribute("src"))},A=function(){S(),T(),E(),x(),C(),q(),w(),j()},L=!0,M=!0,k={};return k[e.i18n("Image")]=v,k[e.i18n("Advansed")]=g,m.querySelector("#tabsbox").appendChild(u(e,k)),A(),e.events.on(r,"afterClose",function(){r.destruct(),i.parentNode&&e.options.image.selectImageAfterClose&&e.selection.select(i)}),h.remove.addEventListener("click",function(){i.parentNode.removeChild(i),r.close()}),e.options.image.useImageEditor&&a.$$(".jodit_use_image_editor",v).forEach(function(t){e.__on(t,"mousedown touchstart",function(){var t=i.getAttribute("src"),o=e.ownerDocument.createElement("a"),n=function(){if(o.host!==location.host)return void s.Confirm(e.i18n("You can only edit your own images. Download this image on the host?"),function(t){t&&e.uploader&&e.uploader.uploadRemoteImage(""+o.href,function(t){s.Alert(e.i18n("The image has been successfully uploaded to the host!"),function(){"string"==typeof t.newfilename&&(i.setAttribute("src",t.baseurl+t.newfilename),S())})},function(t){s.Alert(e.i18n("There was an error loading %s",t.message))})})};o.href=t,e.getInstance("FileBrowser").getPathByUrl(""+o.href,function(n,r,a){e.getInstance("FileBrowser").openImageEditor(o.href,r,n,a,function(){var e=(new Date).getTime();i.setAttribute("src",t+(-1!==t.indexOf("?")?"":"?")+"&_tmp="+e),S()},function(e){s.Alert(e.message)})},function(e){s.Alert(e.message,n)})})}),a.$$(".jodit_rechange",v).forEach(function(t){t.addEventListener("mousedown",function(o){t.classList.toggle("active"),e.toolbar.openPopup(t,f(e,{upload:function(t){t.files&&t.files.length&&i.setAttribute("src",t.baseurl+t.files[0]),A(),e.toolbar.closeAll()},filebrowser:function(t){t&&t.files&&Array.isArray(t.files)&&t.files.length&&(i.setAttribute("src",t.files[0]),e.toolbar.closeAll(),A())}},i,e.toolbar.closeAll),!0),o.stopPropagation()})}),m.querySelector(".jodit_lock_helper.jodit_lock_size").addEventListener("click",function(){L=!L,this.innerHTML=l.default.getIcon(L?"lock":"unlock"),e.__fire(b,"change",e.ownerDocument)}),m.querySelector(".jodit_lock_helper.jodit_lock_margin").addEventListener("click",function(){M=!M,this.innerHTML=l.default.getIcon(M?"lock":"unlock"),M?a.$$(".margins",m).forEach(function(e){e.matches("#marginTop")||e.setAttribute("disabled","true")}):a.$$(".margins",m).forEach(function(e){e.matches("#marginTop")||e.removeAttribute("disabled")})}),e.__on(a.$$("#imageWidth,#imageHeight",m),"change keydown mousedown paste",function(e){L&&(clearTimeout(o),o=setTimeout(function(){var t=parseInt(b.value,10),o=parseInt(y.value,10);"imageWidth"===e.target.getAttribute("id")?y.value=""+Math.round(t/_):b.value=""+Math.round(o*_)},100))}),r.setTitle([e.i18n("Image properties"),h.remove]),r.setContent(m),c.addEventListener("click",function(){r.close()}),p.addEventListener("click",function(){var t;if(e.options.image.editStyle&&(a.val(m,"#style")?i.setAttribute("style",a.val(m,"#style")):i.removeAttribute("style")),!a.val(m,"#imageSrc"))return i.parentNode.removeChild(i),void r.close();i.setAttribute("src",a.val(m,"#imageSrc")),a.val(m,"#imageTitle")?i.setAttribute("title",a.val(m,"#imageTitle")):i.removeAttribute("title"),a.val(m,"#imageAlt")?i.setAttribute("alt",a.val(m,"#imageAlt")):i.removeAttribute("alt"),a.val(m,"#imageLink")?(d.default.closest(i,"a",e.editor)||d.default.wrap(i,"a",e),t=d.default.closest(i,"a",e.editor),t.setAttribute("href",a.val(m,"#imageLink")),m.querySelector("#imageLinkOpenInNewTab").checked?t.setAttribute("target","_blank"):t.removeAttribute("target")):d.default.closest(i,"a",e.editor)&&(t=d.default.closest(i,"a",e.editor),t.parentNode.replaceChild(i,t));var o=function(e){return e=a.trim(e),/^[0-9]+$/.test(e)?e+"px":e};a.css(i,{width:a.trim(b.value)?o(b.value):null,height:a.trim(y.value)?o(y.value):null}),e.options.image.editMargins&&(M?a.css(i,"margin",o(a.val(m,"#marginTop"))):a.$$(".margins",m).forEach(function(e){a.css(i,e.id,o(e.value))})),e.options.image.editClass&&(a.val(m,"#classes")?i.setAttribute("class",a.val(m,"#classes")):i.removeAttribute("class")),e.options.image.editId&&(a.val(m,"#id")?i.setAttribute("id",a.val(m,"#id")):i.removeAttribute("id"));var n=function(){"block"===a.css(i,"display")&&a.css(i,"display",""),"auto"===i.style.marginLeft&&"auto"===i.style.marginRight&&(i.style.marginLeft="",i.style.marginRight="")};e.options.image.editAlign&&(a.val(m,"#align")?-1!==["right","left"].indexOf(a.val(m,"#align").toLowerCase())?(a.css(i,"float",a.val(m,"#align")),n()):(a.css(i,"float",""),a.css(i,{display:"block","margin-left":"auto","margin-right":"auto"})):(a.css(i,"float")&&-1!==["right","left"].indexOf((""+a.css(i,"float")).toLowerCase())&&a.css(i,"float",""),n())),i.getAttribute("style")||i.removeAttribute("style"),e.setEditorValue(),r.close()}),r.setFooter([p,c]),r.setSize(500),r.open(),t&&t.preventDefault(),!1};e.events.on("afterInit",function(){e.options.image.openOnDblClick?e.__on(e.editor,"dblclick","img",t):e.__on(e.editor,"dblclick","img",function(){e.selection.select(this)})}).on("openImageProperties",function(e){t.call(e)})}t.__esModule=!0;var n=o(6),r=o(1),a=o(0),s=o(7),l=o(5),d=o(3),c=o(8),u=c.Widget.TabsWidget,f=c.Widget.ImageSelectorWidget;r.Config.prototype.image={openOnDblClick:!0,editSrc:!0,useImageEditor:!0,editTitle:!0,editAlt:!0,editLink:!0,editSize:!0,editMargins:!0,editClass:!0,editStyle:!0,editId:!0,editAlign:!0,showPreview:!0,selectImageAfterClose:!0},t.imageProperties=i},function(e,t,o){"use strict";function i(e){var t,o=new n.default(e),i=a.dom('<div data-editor_id="'+e.id+'" class="jodit_toolbar_popup-inline"></div>',e.ownerDocument),r=function(t){e.container&&e.container.classList.toggle("jodit_popup_active",t)},l=function(){i.classList.remove("active"),r(!1)},d=function(t,n,s){var l=t.tagName.toLowerCase();void 0!==e.options.popup[l]&&(i.innerHTML="",o.build(e.options.popup[l],i,t),i.classList.add("active"),a.css(i,{left:n+"px",top:s+"px",marginLeft:-Math.round(i.offsetWidth/2)+"px"}),r(!0))},c=function(o,i,n){clearTimeout(t),e.options.observer.timeout?t=setTimeout(d.bind(e,o,i,n),e.options.observer.timeout):d(o,i,n)};e.events.on("hidePopup afterCommand keydown resize",l).on("showPopap",c).on("afterInit",function(){e.editorDocument.body.appendChild(i),e.__on(i,"mousedown",function(e){e.stopPropagation()});var t=!1;e.__on(e.editor,"mousedown",function(o){if("IMG"===o.target.tagName||s.default.closest(o.target,"table|a",e.editor)){var i="IMG"===o.target.tagName?o.target:s.default.closest(o.target,"table|a",e.editor),n=a.offset(i,e);c(i,Math.round(n.left+i.offsetWidth/2),Math.round(n.top+i.offsetHeight)),t=!0}else t=!1}),e.__on(e.ownerWindow,"mousedown",function(){t||l(),t=!1})}).on("beforeDestruct",function(){i.parentNode&&i.parentNode.removeChild(i),clearTimeout(t)})}t.__esModule=!0;var n=o(5),r=o(1),a=o(0),s=o(3),l=o(9),d=o(8),c=d.Widget.ColorPickerWidget,u=d.Widget.TabsWidget;r.Config.prototype.popup={a:[{name:"eye",tooltip:"Open link",exec:function(e,t){t&&t.getAttribute("href")&&e.ownerWindow.open(t.getAttribute("href"))}},{name:"link",tooltip:"Edit link",icon:"pencil"},"unlink","brush"],img:[{name:"bin",tooltip:"Delete",exec:function(e,t){t.parentNode.removeChild(t)}},{name:"pencil",exec:function(e,t){"img"===t.tagName.toLowerCase()&&e.events.fire(e,"openImageProperties",[t])},tooltip:"Edit"},{name:"valign",list:["Top","Middle","Bottom"],tooltip:"Vertical align",exec:function(e,t,o){if("img"===t.tagName.toLowerCase()){var i=o.args[1].toLowerCase();a.css(t,"vertical-align",i)}}},{name:"left",list:["Left","Right","Center","Normal"],exec:function(e,t,o){if("img"===t.tagName.toLowerCase()){var i=function(){"block"===a.css(t,"display")&&a.css(t,"display",""),"auto"===t.style.marginLeft&&"auto"===t.style.marginRight&&(t.style.marginLeft="",t.style.marginRight="")},n=o.args[1].toLowerCase();"normal"!==n?-1!==["right","left"].indexOf(n)?(a.css(t,"float",n),i()):(a.css(t,"float",""),a.css(t,{display:"block","margin-left":"auto","margin-right":"auto"})):(a.css(t,"float")&&-1!==["right","left"].indexOf(a.css(t,"float").toLowerCase())&&a.css(t,"float",""),i())}},tooltip:"Horizontal align"}],table:[{name:"brush",popup:function(e,t,o,i){var n,r,s,d,f,p,h=l.default.getAllSelectedCells(t);return!!h.length&&(d=a.css(h[0],"color"),p=a.css(h[0],"background-color"),f=a.css(h[0],"border-color"),n=c(e,function(e){h.forEach(function(t){a.css(t,"background-color",e)}),i()},p),r=c(e,function(e){h.forEach(function(t){a.css(t,"color",e)}),i()},d),s=c(e,function(e){h.forEach(function(t){a.css(t,"border-color",e)}),i()},f),u(e,{Background:n,Text:r,Border:s}))},tooltip:"Background"},{name:"valign",list:["Top","Middle","Bottom"],exec:function(e,t,o){var i=o.args[1].toLowerCase();l.default.getAllSelectedCells(t).forEach(function(e){a.css(e,"vertical-align",i)})},tooltip:"Vertical align"},{name:"splitv",command:"tablesplitv",tooltip:"Split vertical"},{name:"splitg",command:"tablesplitg",tooltip:"Split horizontal"},"\n",{name:"merge",command:"tablemerge",tooltip:"Merge"},{name:"addcolumn",list:{tableaddcolumnbefore:"Insert column before",tableaddcolumnafter:"Insert column after"},exec:function(e,t,o){e.execCommand(o.args[0].toLowerCase(),!1,t)},tooltip:"Add column"},{name:"addrow",list:{tableaddrowbefore:"Insert row above",tableaddrowafter:"Insert row below"},exec:function(e,t,o){e.execCommand(o.args[0].toLowerCase(),!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){e.execCommand(o.args[0].toLowerCase(),!1,t)},tooltip:"Delete"}]},t.inlinePopup=i},function(e,t,o){"use strict";function i(e){e.events.on("beforeCommand",function(t){if(/justify/.test(t)){var o=function(o){if(o instanceof e.editorWindow.HTMLElement)switch(t){case"justifyfull":o.style.textAlign="justify";break;case"justifyright":o.style.textAlign="right";break;case"justifyleft":o.style.textAlign="left";break;case"justifycenter":o.style.textAlign="center"}};return e.selection.focus(),e.selection.eachSelection(function(t){if(!t&&e.editor.querySelector(".jodit_selected_cell"))return n.$$(".jodit_selected_cell",e.editor).forEach(o),!1;if(t instanceof e.editorWindow.Node){var i=!!t&&r.default.up(t,r.default.isBlock,e.editor);!i&&t&&(i=r.default.wrap(t,e.options.enter,e)),o(i)}}),!1}})}t.__esModule=!0;var n=o(0),r=o(3),a=o(1);a.Config.prototype.controls.align={tags:["p","div","span","td","th","img"],name:"left",tooltip:"Align",list:["center","left","right","justify"]},a.Config.prototype.controls.center={command:"justifyCenter",tags:["center"],css:{"text-align":"center"},tooltip:"Align Center"},a.Config.prototype.controls.justify={command:"justifyFull",css:{"text-align":"justify"},tooltip:"Align Justify"},a.Config.prototype.controls.left={command:"justifyLeft",css:{"text-align":"left"},tooltip:"Align Left"},a.Config.prototype.controls.right={command:"justifyRight",css:{"text-align":"right"},tooltip:"Align Right"},t.justify=i},function(e,t,o){"use strict";function i(e){e.options.link.followOnDblClick&&e.events.on("afterInit",function(){e.__on(e.editor,"dblclick","a",function(e){this.getAttribute("href")&&(location.href=this.getAttribute("href"),e.preventDefault())})}),e.options.link.processPastedLink&&e.events.on("processPaste",function(t,o){if(r.isURL(o)){var i=void 0;return r.convertMediaURLToVideoEmbed(o)!==o?i=r.convertMediaURLToVideoEmbed(o):(i=e.editorDocument.createElement("a"),i.setAttribute("href",o),i.innerText=o,e.options.link.openLinkDialogAfterPost&&setTimeout(function(){},100)),i}}),e.options.link.removeLinkAfterFormat&&e.events.on("afterCommand",function(t){var o,i,n=e.selection;"removeFormat"===t&&(i=n.current(),i&&"A"!==i.tagName&&(i=a.default.closest(i,"A",e.editor)),i&&"A"===i.tagName&&(o=i.innerHTML===i.innerText?a.default.create("text",i.innerText,e.editorDocument):a.default.create("span",i.innerHTML,e.editorDocument),i.parentNode.replaceChild(o,i),e.selection.setCursorIn(o,!0)))})}t.__esModule=!0;var n=o(1),r=o(0),a=o(3);n.Config.prototype.link={followOnDblClick:!0,processVideoLink:!0,processPastedLink:!0,openLinkDialogAfterPost:!0,removeLinkAfterFormat:!0},n.Config.prototype.controls.unlink={exec:function(e,t){var o=a.default.closest(t,"A",e.editor);o&&a.default.unwrap(o),e.events.fire("hidePopup")}},n.Config.prototype.controls.link={popup:function(e,t,o,i){var n=e.editorWindow.getSelection(),s=r.dom('<form class="jodit_form"><input required type="text" name="url" placeholder="http://" type="text"/><input name="text" placeholder="'+e.i18n("Text")+'" type="text"/><label><input name="target" type="checkbox"/> '+e.i18n("Open in new tab")+'</label><label><input name="nofollow" type="checkbox"/> '+e.i18n("No follow")+'</label><div style="text-align: right"><button class="jodit_unlink_button" type="button">'+e.i18n("Unlink")+'</button> &nbsp;&nbsp;<button class="jodit_link_insert_button" type="submit"></button></div><form/>',e.ownerDocument);t=!(!t||!a.default.closest(t,"A",e.editor))&&a.default.closest(t,"A",e.editor),t?(r.val(s,"input[name=url]",t.getAttribute("href")),r.val(s,"input[name=text]",t.innerText),s.querySelector("input[name=target]").checked="_blank"===t.getAttribute("target"),s.querySelector("input[name=nofollow]").checked="nofollow"===t.getAttribute("rel"),s.querySelector(".jodit_link_insert_button").innerHTML=e.i18n("Update")):(s.querySelector(".jodit_unlink_button").style.display="none",r.val(s,"input[name=text]",""+n),s.querySelector(".jodit_link_insert_button").innerHTML=e.i18n("Insert"));var l=e.selection.save();return s.querySelector(".jodit_unlink_button").addEventListener("mousedown",function(o){t&&a.default.unwrap(t),e.selection.restore(l),i(),o.preventDefault()}),s.addEventListener("submit",function(o){o.preventDefault(),e.selection.restore(l);var n=t||a.default.create("a","",e.editorDocument);return r.val(s,"input[name=url]")?(n.setAttribute("href",r.val(s,"input[name=url]")),n.innerText=r.val(s,"input[name=text]"),s.querySelector("input[name=target]").checked?n.setAttribute("target","_blank"):n.removeAttribute("target"),s.querySelector("input[name=nofollow]").checked?n.setAttribute("rel","nofollow"):n.removeAttribute("rel"),t||e.selection.insertNode(n),i(),!1):(s.querySelector("input[name=url]").focus(),s.querySelector("input[name=url]").classList.add("jodit_error"),!1)}),s},tags:["a"],tooltip:"Insert link"},t.link=i},function(e,t,o){"use strict";function i(e){var t,o=0;e.events.on("touchend",function(i){i.changedTouches.length&&(t=(new Date).getTime())-o>e.options.mobileTapTimeout&&(o=t,e.selection.insertCursorAtPoint(i.changedTouches[0].clientX,i.changedTouches[0].clientY))}).on("resize afterInit",function(){var t,o=e.container.offsetWidth;t=e.options.sizeLG>o?e.options.sizeMD>o?e.options.sizeSM>o?e.options.buttonsXS:e.options.buttonsSM:e.options.buttonsMD:e.options.buttons,e.toolbar.build(t.concat(e.options.extraButtons),e.container)})}t.__esModule=!0,o(1).Config.prototype.mobileTapTimeout=300,t.mobile=i},function(e,t,o){"use strict";function i(e){e.events.on("afterCommand",function(t){if(/insert(un)?orderedlist/i.test(t)){var o=n.default.up(e.selection.current(),function(e){return/^UL|OL$/i.test(e.tagName)},e.editor);if(o&&o.parentNode&&"P"===o.parentNode.tagName){var i=e.selection.save();n.default.unwrap(o.parentNode),[].slice.call(o.childNodes).forEach(function(e){e.lastChild&&e.lastChild.nodeType===Node.ELEMENT_NODE&&"BR"===e.lastChild.tagName&&e.removeChild(e.lastChild)}),e.selection.restore(i)}e.setEditorValue()}})}t.__esModule=!0;var n=o(3),r=o(1);r.Config.prototype.controls.ul={command:"insertUnorderedList",controlName:"ul",tags:["ul"],tooltip:"Insert Unordered List"},r.Config.prototype.controls.ol={command:"insertOrderedList",controlName:"ol",tags:["ol"],tooltip:"Insert Ordered List"},t.orderedlist=i},function(e,t,o){"use strict";function i(e){e.events.on("afterInit",function(){e.editor.addEventListener("paste",function(t){if(!1===e.events.fire("beforePaste",[t]))return t.preventDefault(),!1;if(t&&t.clipboardData&&t.clipboardData.getData){var o=void 0,i=t.clipboardData.types,n="",a="";if(Array.isArray(i))for(o=0;i.length>o;o+=1)n+=i[o]+";";else n=i;/text\/html/.test(n)?a=t.clipboardData.getData("text/html"):/text\/rtf/.test(n)&&r.browser("safari")?a=t.clipboardData.getData("text/rtf"):/text\/plain/.test(n)&&!r.browser("mozilla")&&(a=r.htmlentities(t.clipboardData.getData(s.TEXT_PLAIN)).replace(/\n/g,"<br/>")),(""!==a||a instanceof e.editorWindow.Node)&&(a=e.events.fire("processPaste",[t,a]),("string"==typeof a||a instanceof e.editorWindow.Node)&&e.selection.insertHTML(a),t.preventDefault(),t.stopPropagation())}return!1!==e.events.fire("afterPaste",[t])&&void 0})}),e.options.askBeforePasteHTML&&e.events.on("beforePaste",function(t){if(t&&t.clipboardData&&t.clipboardData.getData&&t.clipboardData.types[0]===s.TEXT_PLAIN){var o=t.clipboardData.getData(s.TEXT_PLAIN);if(r.isHTML(o))return n.Confirm(e.i18n("Your code is similar to HTML. Paste as HTML?"),e.i18n("Paste as HTML"),function(t){e.selection.insertHTML(t?o:r.htmlspecialchars(o)),e.setEditorValue()}),!1}})}t.__esModule=!0;var n=o(7),r=o(0),a=o(1),s=o(2);a.Config.prototype.askBeforePasteHTML=!0,t.paste=i},function(e,t,o){"use strict";function i(e){var t,o;if(e.options.showPlaceholder){this.destruct=function(){t.parentNode.removeChild(t),clearTimeout(o)};var i=function(){var o=0,i=0,n=e.editorWindow.getComputedStyle(e.editor);if(e.editor.firstChild&&e.editor.firstChild.nodeType===Node.ELEMENT_NODE){var r=e.editorWindow.getComputedStyle(e.editor.firstChild);o=parseInt(r.getPropertyValue("margin-top"),10),i=parseInt(r.getPropertyValue("margin-left"),10),t.style.fontSize=parseInt(r.getPropertyValue("font-size"),10)+"px",t.style.lineHeight=r.getPropertyValue("line-height")}else t.style.fontSize=parseInt(n.getPropertyValue("font-size"),10)+"px",t.style.lineHeight=n.getPropertyValue("line-height");a.each({display:"block",marginTop:Math.max(parseInt(n.getPropertyValue("margin-top"),10),o),marginLeft:Math.max(parseInt(n.getPropertyValue("margin-left"),10),i)},function(e,o){t.style[e]=o})},n=function(){t.style.display="none"},s=function(){if(e.editor)return e.getRealMode()!==r.MODE_WYSIWYG?n():void(e.getEditorValue()?n():i())};t=a.dom('<span class="jodit_placeholder">'+e.i18n(e.options.placeholder)+"</span>",e.ownerDocument),e.options.useInputsPlaceholder&&e.element.hasAttribute("placeholder")&&(t.innerHTML=e.element.getAttribute("placeholder")),e.events.on("afterInit",function(){e.workplace.appendChild(t),i(),e.events.fire("placeholder",[t.innerHTML])}).on("change keyup mouseup keydown mousedown afterSetMode",function(){s(),o=setTimeout(s,1)})}}t.__esModule=!0;var n=o(1),r=o(2),a=o(0);n.Config.prototype.showPlaceholder=!0,n.Config.prototype.useInputsPlaceholder=!0,n.Config.prototype.placeholder="Type something",t.placeholder=i},function(e,t,o){"use strict";function i(e){var t=new n.default(e),o=function(){e.events.fire("canRedo",[t.stack.canRedo()]),e.events.fire("canUndo",[t.stack.canUndo()])};e.events.on("keydown",function(t){if(a.ctrlKey(t)&&(t.which===r.KEY_Z||t.which===r.KEY_Y))return e.execCommand(t.which===r.KEY_Z?"Undo":"Redo"),t.preventDefault(),t.stopImmediatePropagation(),!1},null,!0),e.events.on("afterSetMode",function(){e.getRealMode()===r.MODE_WYSIWYG&&o()}).on("beforeCommand",function(i){if("redo"===i||"undo"===i)return e.getRealMode()===r.MODE_WYSIWYG&&(t.stack["can"+i.substr(0,1).toUpperCase()+i.substr(1)]()&&t.stack[i](),o()),!1}),this.destruct=function(){t.destruct()}}t.__esModule=!0;var n=o(16),r=o(2),a=o(0),s=o(1);s.Config.prototype.controls.redo={mode:r.MODE_SPLIT,tooltip:"Redo"},s.Config.prototype.controls.undo={mode:r.MODE_SPLIT,tooltip:"Undo"},t.redoundo=i},function(e,t,o){"use strict";function i(e){var t,o,i,n,s,l,d,c,u,f,p,h=!1,m=!1,g=!1,v=a.dom('<div data-editor_id="'+e.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></div>',e.ownerDocument),_=function(){m=!1,g=!1,o=null,v.style.display="none"},b=function(){if(g){var t=a.offset(o,e),i=parseInt(v.style.left,10),n=parseInt(v.style.top,10),r=v.offsetWidth,s=v.offsetHeight;n===t.top-1&&i===t.left-1&&r===o.offsetWidth&&s===o.offsetHeight||(v.style.top=t.top-1+"px",v.style.left=t.left-1+"px",v.style.width=o.offsetWidth+"px",v.style.height=o.offsetHeight+"px",e.events&&(e.events.fire(o,"changesize"),isNaN(i)||e.events.fire("resize")))}},y=function(){g=!0,v.style.display="block",b()},w=function(t){var i;if("IFRAME"===t.tagName)if(t.parentNode&&t.parentNode.getAttribute("data-jodit_iframe_wrapper"))t=t.parentNode;else{i=a.dom('<jodit data-jodit-temp="1" contenteditable="false" draggable="true" data-jodit_iframe_wrapper="1"></jodit>',e.editorDocument),i.style.display="inline-block"===t.style.display?"inline-block":"block",i.style.width=t.offsetWidth+"px",i.style.height=t.offsetHeight+"px",t.parentNode.insertBefore(i,t),i.appendChild(t);var n=t;e.events.on(i,"changesize",function(){n.setAttribute("width",i.offsetWidth+"px"),n.setAttribute("height",i.offsetHeight+"px")}),t=i}var r;e.__on(t,"dragstart",_).__on(t,"mousedown",function(e){a.isIE()&&e.preventDefault()}).__on(t,"mousedown touchstart",function(){h||(h=!0,o=t,y(),"IMG"!==o.tagName||o.complete||o.addEventListener("load",function e(){b(),o&&o.removeEventListener("load",e)}),clearTimeout(r)),r=setTimeout(function(){h=!1},400)})};a.$$("i",v).forEach(function(r){e.__on(r,"mousedown touchstart",function(a){if(!o||!o.parentNode)return _(),!1;t=r,a.preventDefault(),a.stopImmediatePropagation(),s=o.offsetWidth,l=o.offsetHeight,d=s/l,m=!0,i=a.clientX,n=a.clientY,e.lock("resizer")})}),e.events.on("beforeDestruct",function(){v.parentNode&&v.parentNode.removeChild(v)}).on("afterInit",function(){e.editorDocument.body.appendChild(v),e.__on(e.editor,"keydown",function(t){g&&t.keyCode===r.KEY_DELETE&&o&&"table"!==o.tagName.toLowerCase()&&("JODIT"!==o.tagName?e.selection.select(o):(o.parentNode.removeChild(o),_(),t.preventDefault()))}).__on(e.ownerWindow,"mousemove touchmove",function(r){m&&(f=r.clientX-i,p=r.clientY-n,"IMG"===o.tagName?f?(u=s+(t.className.match(/left/)?-1:1)*f,c=Math.round(u/d)):(c=l+(t.className.match(/top/)?-1:1)*p,u=Math.round(c*d)):(u=s+(t.className.match(/left/)?-1:1)*f,c=l+(t.className.match(/top/)?-1:1)*p),u>e.options.resizer.min_width&&(o.style.width=v.parentNode.offsetWidth>u?u+"px":"100%"),c>e.options.resizer.min_height&&(o.style.height=c+"px"),b(),r.stopImmediatePropagation())}).__on(e.ownerWindow,"resize",function(){g&&b()}).__on(e.ownerWindow,"mouseup keydown touchend",function(t){g&&!h&&(m?(e.unlock(),m=!1,e.setEditorValue(),t.stopImmediatePropagation()):_())}),e.__on([e.ownerWindow,e.editor],"scroll",function(){g&&!m&&_()})}).on("afterGetValueFromEditor",function(e){e.value=e.value.replace(/<jodit[^>]+data-jodit_iframe_wrapper[^>]+>(.*?<iframe[^>]+>[\s\n\r]*<\/iframe>.*?)<\/jodit>/gi,"$1")}).on("change afterInit afterSetMode",a.debounce(function(){g&&(o&&o.parentNode?b():_()),a.$$("img, table, iframe",e.editor).forEach(function(t){e.getMode()!==r.MODE_SOURCE&&!t.__jodit_resizer_binded&&("IFRAME"===t.tagName&&e.options.useIframeResizer||"IMG"===t.tagName&&e.options.useImageResizer||"TABLE"===t.tagName&&e.options.useTableResizer)&&(t.__jodit_resizer_binded=!0,w(t))})},e.options.observer.timeout))}t.__esModule=!0;var n=o(1),r=o(2),a=o(0);n.Config.prototype.useIframeResizer=!0,n.Config.prototype.useTableResizer=!0,n.Config.prototype.useImageResizer=!0,n.Config.prototype.resizer={min_width:10,min_height:10},t.resizer=i},function(e,t,o){"use strict";function i(e){if("auto"!==e.options.height&&(e.options.allowResizeX||e.options.allowResizeY)){var t=n.dom('<div class="jodit_editor_resize" ><a href="javascript:void(0)"></a></div>',e.ownerDocument),o={x:0,y:0,w:0,h:0},i=!1;e.__on(t,"mousedown touchstart",function(t){i=!0,o.x=t.clientX,o.y=t.clientY,o.w=e.container.offsetWidth,o.h=e.container.offsetHeight,t.preventDefault()}).__on(e.ownerWindow,"mousemove touchmove",n.throttle(function(t){i&&(n.css(e.container,{width:e.options.allowResizeX?o.w+t.clientX-o.x:o.w,height:e.options.allowResizeY?o.h+t.clientY-o.y:o.h}),e.events.fire("resize"))},e.options.observer.timeout)).__on(e.ownerWindow,"mouseup touchsend",function(){i&&(i=!1)}).events.on("afterInit",function(){e.container.appendChild(t)})}e.events.on("afterInit",function(){n.css(e.editor,{minHeight:e.options.minHeight}),n.css(e.workplace,{width:e.options.width,height:e.options.height,minHeight:e.options.minHeight}),"auto"!==e.options.height&&(n.css(e.editor,{minHeight:"100%"}),n.css(e.workplace,{height:"",minHeight:""}),n.css(e.container,{height:e.options.height})),"auto"!==e.options.width&&(n.css(e.workplace,{width:""}),n.css(e.container,{width:e.options.width}))},"",!0)}t.__esModule=!0;var n=o(0),r=o(1);r.Config.prototype.allowResizeX=!1,r.Config.prototype.allowResizeY=!0,t.size=i},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=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])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();t.__esModule=!0;var n=o(1),r=o(2),a=o(0),s=o(4);n.Config.prototype.beautifyHTML=!0,n.Config.prototype.useAceEditor=!0,n.Config.prototype.sourceEditorNativeOptions={showGutter:!1,theme:"ace/theme/idle_fingers",mode:"ace/mode/html",wrap:!0,highlightActiveLine:!0},n.Config.prototype.sourceEditorCDNUrlsJS=["//cdnjs.cloudflare.com/ajax/libs/ace/1.2.8/ace.js","//cdnjs.cloudflare.com/ajax/libs/ace/1.2.8/ext-emmet.js"],n.Config.prototype.beautifyHTMLCDNUrlsJS=["//cdnjs.cloudflare.com/ajax/libs/js-beautify/1.6.14/beautify.min.js","//cdnjs.cloudflare.com/ajax/libs/js-beautify/1.6.14/beautify-html.min.js"],n.Config.prototype.controls.source={mode:r.MODE_SPLIT,exec:function(e){e.toggleMode()},tooltip:"Change mode"},t.source=function(e){function t(t){var o=e.call(this,t)||this;return o.className="jodit_ace_editor",o.loadNext=function(e,t,i,n){if(void 0===i&&(i="aceReady"),void 0===n&&(n=o.className),i&&void 0===t[e]&&o.jodit&&o.jodit.events)return o.jodit.events.fire(i),void o.__fire(o.jodit.ownerWindow,i,o.jodit.ownerDocument);void 0!==t[e]&&a.appendScript(t[e],function(){o.loadNext(e+1,t,i,n)},n,o.jodit.ownerDocument)},o.fromWYSIWYG=function(e){if(void 0===e&&(e=!1),!o.__lock||!0===e){o.__lock=!0;var t=o.jodit.getEditorValue();t!==o.getMirrorValue()&&o.setMirrorValue(t),o.__lock=!1}},o.__lock=!1,o.toWYSIWYG=function(){o.__lock||(o.__lock=!0,o.jodit.setEditorValue(o.getMirrorValue()),o.__lock=!1)},o.autosize=function(){o.mirror.style.height="auto",o.mirror.style.height=o.mirror.scrollHeight+"px"},o.getNormalPosition=function(e,t){for(var o=e;o>0;){if(o--,"<"===t[o]&&void 0!==t[o+1]&&t[o+1].match(/[\w\/]+/i))return o;if(">"===t[o])return e}return e},o.tempMarkerStart="{start-jodit-selection}",o.tempMarkerEnd="{end-jodit-selection}",o.__clear=function(e){return e.replace(r.INVISIBLE_SPACE_REG_EXP,"")},o.selInfo=[],o.getSelectionStart=function(){return o.mirror.selectionStart},o.getSelectionEnd=function(){return o.mirror.selectionEnd},o.setMirrorSelectionRange=function(e,t){o.mirror.setSelectionRange(e,t)},o.saveSelection=function(){if(o.jodit.getRealMode()===r.MODE_WYSIWYG)o.selInfo=o.jodit.selection.save()||[],o.jodit.setEditorValue(),o.fromWYSIWYG(!0);else{o.selInfo.length=0;var e=o.getMirrorValue();if(o.getSelectionStart()===o.getSelectionEnd()){var t=o.jodit.selection.marker(!0);o.selInfo[0]={startId:t.id,collapsed:!0,startMarker:t.outerHTML};var i=o.getNormalPosition(o.getSelectionStart(),o.getMirrorValue());o.setMirrorValue(e.substr(0,i)+o.__clear(o.selInfo[0].startMarker)+e.substr(i))}else{var n=o.jodit.selection.marker(!0),a=o.jodit.selection.marker(!1);o.selInfo[0]={startId:n.id,endId:a.id,collapsed:!1,startMarker:n.outerHTML,endMarker:a.outerHTML};var i=o.getNormalPosition(o.getSelectionStart(),e),s=o.getNormalPosition(o.getSelectionEnd(),e);o.setMirrorValue(e.substr(0,i)+o.__clear(o.selInfo[0].startMarker)+e.substr(i,s-i)+o.__clear(o.selInfo[0].endMarker)+e.substr(s))}o.toWYSIWYG()}},o.restoreSelection=function(){if(o.selInfo.length){if(o.jodit.getRealMode()===r.MODE_WYSIWYG)return o.__lock=!0,o.jodit.selection.restore(o.selInfo),void(o.__lock=!1);var e=o.getMirrorValue();o.selInfo[0].startMarker&&(e=e.replace(/<span[^>]+data-jodit_selection_marker="start"[^>]*>[<>]*?<\/span>/gim,o.tempMarkerStart)),o.selInfo[0].endMarker&&(e=e.replace(/<span[^>]+data-jodit_selection_marker="end"[^>]*>[<>]*?<\/span>/gim,o.tempMarkerEnd)),o.jodit.ownerWindow.html_beautify&&o.jodit.options.beautifyHTML&&(e=o.jodit.ownerWindow.html_beautify(e));var t=e.indexOf(o.tempMarkerStart),i=t;e=e.replace(o.tempMarkerStart,""),o.selInfo[0].collapsed&&-1!==t||(i=e.indexOf(o.tempMarkerEnd),-1===t&&(t=i)),e=e.replace(o.tempMarkerEnd,""),o.setMirrorValue(e),o.setMirrorSelectionRange(t,i),o.toWYSIWYG(),o.setFocusToMirror()}},o.mirrorContainer=a.dom('<div class="jodit_source"/>',o.jodit.ownerDocument),o.mirror=a.dom('<textarea class="jodit_source_mirror"/>',o.jodit.ownerDocument),t.__on(o.mirror,"mousedown keydown touchstart input",a.debounce(o.toWYSIWYG,t.options.observer.timeout)),t.__on(o.mirror,"change keydown mousedown touchstart input",a.debounce(o.autosize,t.options.observer.timeout)),t.__on(o.mirror,"mousedown focus",function(e){t.events.fire(e.type,[e])}),t.events.on("placeholder",function(e){o.mirror.setAttribute("placeholder",e)}).on("afterInit",function(){o.mirrorContainer.appendChild(o.mirror),t.workplace.appendChild(o.mirrorContainer),o.autosize(),t.options.beautifyHTML&&void 0===window.html_beautify&&!a.$$("script.beutyfy_html_jodit_helper",document.body).length&&o.loadNext(0,t.options.beautifyHTMLCDNUrlsJS,!1,"beutyfy_html_jodit_helper"),t.options.useAceEditor&&o.replaceMirrorToACE(),t.events.on("beforeSetMode",o.saveSelection).on("afterSetMode",o.restoreSelection)}).on("change afterInit",o.fromWYSIWYG),o}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 e,t,o=this,i=this.jodit,n=function(){t&&i.getRealMode()===r.MODE_SOURCE&&(i.events.fire("canRedo",[t.hasRedo()]),i.events.fire("canUndo",[t.hasUndo()]))},s=function(t){return e.session.getLine(t).length},l=function(){for(var t=e.session.getLength(),o=[],i=0,n=0;t>n;n++)i+=s(n),n>0&&(i+=1),o[n]=i;return o},d=function(e){var t=l();if(t[0]>=e)return{row:0,column:e};for(var o=1,i=1;t.length>i;i++)e>t[i]&&(o=i+1);return{row:o,column:e-t[o-1]-1}},c=function(t,o){var i=d(t),n=d(o);e.getSelection().setSelectionRange({start:i,end:n})},u=function(e,t){return l()[e]-s(e)+t},f=function(){if(void 0===e&&void 0!==o.jodit.ownerWindow.ace){var s=a.dom('<div class="jodit_source_mirror-fake"/>',o.jodit.ownerDocument);o.mirrorContainer.insertBefore(s,o.mirrorContainer.firstChild),o.aceEditor=e=o.jodit.ownerWindow.ace.edit(s),e.setTheme(i.options.sourceEditorNativeOptions.theme),e.renderer.setShowGutter(i.options.sourceEditorNativeOptions.showGutter),e.getSession().setMode(i.options.sourceEditorNativeOptions.mode),e.setHighlightActiveLine(i.options.sourceEditorNativeOptions.highlightActiveLine),e.getSession().setUseWrapMode(!0),e.setOption("indentedSoftWrap",!1),e.setOption("wrap",i.options.sourceEditorNativeOptions.wrap),e.$blockScrolling=1/0,e.setOptions({maxLines:1/0}),e.on("change",o.toWYSIWYG),e.on("focus",function(e){i.events.fire("focus",[e])}),e.on("mousedown",function(e){i.events.fire("mousedown",[e])}),o.mirror.style.display="none",t=e.getSession().getUndoManager(),o.setMirrorValue=function(t){e.setValue(i.options.beautifyHTML&&o.jodit.ownerWindow.html_beautify?o.jodit.ownerWindow.html_beautify(t):t),e.clearSelection(),n()},o.jodit.getRealMode()!==r.MODE_WYSIWYG&&o.setMirrorValue(o.getMirrorValue()),o.getMirrorValue=function(){return e.getValue()},o.setFocusToMirror=function(){e.focus()},o.getSelectionStart=function(){var t=e.selection.getRange();return u(t.start.row,t.start.column)},o.getSelectionEnd=function(){var t=e.selection.getRange();return u(t.end.row,t.end.column)},o.setMirrorSelectionRange=function(e,t){c(e,t)},i.events.fire("aceInited")}};i.events.__on(this.jodit.ownerWindow,"aceReady",f).on("aceReady",f).on("afterSetMode afterInit",function(){i.getRealMode()!==r.MODE_SOURCE&&i.getMode()!==r.MODE_SPLIT||(o.fromWYSIWYG(),f())}).on("beforeCommand",function(o){if(i.getRealMode()!==r.MODE_WYSIWYG&&("redo"===o||"undo"===o)&&t)return t["has"+o.substr(0,1).toUpperCase()+o.substr(1)]&&e[o](),n(),!1}),void 0!==this.jodit.ownerWindow.ace||a.$$("script."+this.className,this.jodit.ownerDocument.body).length||this.loadNext(0,i.options.sourceEditorCDNUrlsJS,"aceReady",this.className)},t}(s.default)},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=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])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();t.__esModule=!0;var n=o(9),r=o(2),a=o(0),s=o(1),l=o(3),d=o(4);s.Config.prototype.useTableProcessor=!0,s.Config.prototype.controls.table={cols:10,popup:function(e,t,o,i){var n,r,s,l,d=1,c=1,u=o.cols,f=a.dom('<form class="jodit_form jodit_form_inserter"><label><span>1</span> &times; <span>1</span></label></form>',e.ownerDocument),p=f.querySelectorAll("span")[0],h=f.querySelectorAll("span")[1],m=[],g=function(t){var o=(t+1)*u;if(m.length>o){for(n=o;m.length>n;n+=1)f.removeChild(m[n]),delete m[n];m.length=o}for(n=0;o>n;n+=1)m[n]||(l=e.ownerDocument.createElement("div"),l.setAttribute("data-index",""+n),m.push(l));m.forEach(function(e){f.appendChild(e)}),f.style.width=m[0].offsetWidth*u+"px"};g(1),m[0].className="hovered";var v=function(e,t){var o=e.target;if("DIV"===o.tagName){if(s=isNaN(t)?parseInt(o.getAttribute("data-index"),10):t,d=Math.ceil((s+1)/u),c=s%u+1,g(d),c===u||u-1>c&&u>10)return u=c===u?u+1:u-1,v(e,c+(d-1)*u-1);for(n=0;m.length>n;n+=1)m[n].className=n%u+1>c||d<Math.ceil((n+1)/u)?"":"hovered";h.innerText=""+c,p.innerText=""+d}};return f.addEventListener("mousemove",v),e.__on(f,"touchstart mousedown",function(t){var o=t.target;if(t.preventDefault(),t.stopImmediatePropagation(),"DIV"===o.tagName){s=parseInt(o.getAttribute("data-index"),10),d=Math.ceil((s+1)/u),c=s%u+1;var a,l,f,p,h=e.editorDocument.createElement("table"),m=(100/c).toFixed(7);for(n=1;d>=n;n+=1){for(l=e.editorDocument.createElement("tr"),r=1;c>=r;r+=1)f=e.editorDocument.createElement("td"),f.style.width=m+"%",a||(a=f),p=e.editorDocument.createElement("br"),f.appendChild(p),l.appendChild(e.editorDocument.createTextNode("\n")),l.appendChild(e.editorDocument.createTextNode("\t")),l.appendChild(f);h.appendChild(e.editorDocument.createTextNode("\n")),h.appendChild(l)}e.selection.insertNode(e.editorDocument.createTextNode("\n")),e.selection.insertNode(h,!1),e.selection.setCursorIn(a),i()}}),f},tags:["table"],tooltip:"Insert table"},t.TableProcessor=function(e){function t(o){var i=e.call(this,o)||this;return i.__key="table_processor_observer",i.__selectMode=!1,i.__resizerDelta=0,i.__drag=!1,i.__addResizer=function(){if(!i.__resizerHandler&&!(i.__resizerHandler=i.jodit.container.querySelector(".jodit_table_resizer"))){i.__resizerHandler=a.dom('<div class="jodit_table_resizer"></div>',i.jodit.ownerDocument);var e=0;i.__on(i.__resizerHandler,"mousedown touchstart",function(t){i.__drag=!0,e=t.clientX,i.jodit.lock(i.__key),i.__resizerHandler.classList.add("jodit_table_resizer-moved");var o,a=i.__workTable.getBoundingClientRect();if(i.__minX=0,i.__maxX=1e6,null!==i.__wholeTable)a=i.__workTable.parentNode.getBoundingClientRect(),i.__minX=a.left,i.__maxX=a.left+a.width;else{var s=n.default.formalCoordinate(i.__workTable,i.__workCell,!0);n.default.formalMatrix(i.__workTable,function(e,t,n){s[1]===n&&(o=e.getBoundingClientRect(),i.__minX=Math.max(o.left+r.NEARBY/2,i.__minX)),s[1]+1===n&&(o=e.getBoundingClientRect(),i.__maxX=Math.min(o.left+o.width-r.NEARBY/2,i.__maxX))})}}),i.__on(i.jodit.ownerWindow,"mousemove touchmoove",function(t){if(i.__drag){var o=t.clientX;i.__minX>o&&(o=i.__minX),o>i.__maxX&&(o=i.__maxX),i.__resizerDelta=o-e,i.__resizerHandler.style.left=o+"px",i.jodit.editorWindow.getSelection().removeAllRanges(),t.preventDefault&&t.preventDefault()}}),i.jodit.container.appendChild(i.__resizerHandler)}},i.onExecCommand=function(e){if(/table(splitv|splitg|merge|empty|bin|binrow|bincolumn|addcolumn|addrow)/.test(e)){e=e.replace("table","");var t=n.default.getAllSelectedCells(i.jodit.editor);if(t.length){var o=t.shift(),r=l.default.closest(o,"table",i.jodit.editor);switch(e){case"splitv":n.default.splitVertical(r);break;case"splitg":n.default.splitHorizontal(r);break;case"merge":n.default.mergeSelected(r);break;case"empty":n.default.getAllSelectedCells(i.jodit.editor).forEach(function(e){return e.innerHTML=""});break;case"bin":r.parentNode.removeChild(r);break;case"binrow":n.default.removeRow(r,o.parentNode.rowIndex);break;case"bincolumn":n.default.removeColumn(r,o.cellIndex);break;case"addcolumnafter":case"addcolumnbefore":n.default.appendColumn(r,o.cellIndex,"addcolumnafter"===e);break;case"addrowafter":case"addrowbefore":n.default.appendRow(r,o.parentNode,"addrowafter"===e)}}return!1}},o.options.useTableProcessor?(i.__on(i.jodit.ownerWindow,"mouseup touchend",function(){if((i.__selectMode||i.__drag)&&(i.__selectMode=!1,i.jodit.unlock()),i.__resizerHandler&&i.__drag){if(i.__drag=!1,i.__resizerHandler.classList.remove("jodit_table_resizer-moved"),null===i.__wholeTable){var e=[];n.default.setColumnWidthByDelta(i.__workTable,n.default.formalCoordinate(i.__workTable,i.__workCell,!0)[1],i.__resizerDelta,!0,e);var r=l.default.next(i.__workCell,t.isCell,i.__workCell.parentNode);n.default.setColumnWidthByDelta(i.__workTable,n.default.formalCoordinate(i.__workTable,r)[1],-i.__resizerDelta,!1,e)}else{var s=i.__workTable.offsetWidth,d=a.getContentWidth(i.__workTable.parentNode,i.jodit.editorWindow);if(!1===i.__wholeTable)i.__workTable.style.width=(s+i.__resizerDelta)/d*100+"%";else{var c=parseInt(i.jodit.editorWindow.getComputedStyle(i.__workTable).marginLeft||"0",10);i.__workTable.style.width=(s-i.__resizerDelta)/d*100+"%",i.__workTable.style.marginLeft=(c+i.__resizerDelta)/d*100+"%"}}o.setEditorValue(),o.selection.focus()}}),i.__on(i.jodit.ownerWindow,"scroll",function(){if(i.__drag){var e=l.default.up(i.__workCell,function(e){return"TABLE"===e.tagName},o.editor);if(e){var t=e.getBoundingClientRect();i.__resizerHandler.style.top=t.top+"px"}}}),i.__on(i.jodit.ownerWindow,"mousedown touchend",function(e){var t,o=l.default.closest(e.originalEvent.target,"TD|TH",i.jodit.editor);o instanceof i.jodit.editorWindow.HTMLTableCellElement&&(t=l.default.closest(o,"table",i.jodit.editor)),i.__deSelectAll(t,o instanceof i.jodit.editorWindow.HTMLTableCellElement&&o)}),o.events.on("afterGetValueFromEditor",function(e){e.value=e.value.replace(RegExp("([s]*)"+n.JODIT_SELECTED_CELL_MARKER+'="1"',"g"),"")}).on("change afterCommand afterSetMode",function(){a.$$("table",o.editor).forEach(function(e){e[i.__key]||i.observe(e)})}).on("beforeSetMode",function(){n.default.getAllSelectedCells(o.editor).forEach(function(e){n.default.restoreSelection(e),n.default.normalizeTable(l.default.closest(e,"table",o.editor))})}).on("keydown",function(e){e.which===r.KEY_TAB&&a.$$("table",o.editor).forEach(function(e){i.__deSelectAll(e)})}).on("beforeCommand",i.onExecCommand.bind(i)),i):i}return i(t,e),t.prototype.__deSelectAll=function(e,t){var o=n.default.getAllSelectedCells(e||this.jodit.editor);o.length&&a.each(o,function(e,o){t&&t===o||n.default.restoreSelection(o)})},t.isCell=function(e){return e&&/^TD|TH$/i.test(e.tagName)},t.prototype.__setWorkCell=function(e,t){void 0===t&&(t=null),this.__wholeTable=t,this.__workCell=e,this.__workTable=l.default.up(e,function(e){return"TABLE"===e.tagName},this.jodit.editor)},t.prototype.__calcResizerPosition=function(e,o,i,n){void 0===i&&(i=0),void 0===n&&(n=0);var s=a.offset(o,this.jodit);if(i>r.NEARBY&&s.width-i>r.NEARBY)this.__resizerHandler.style.display="none";else{var d=a.offset(e,this.jodit);if(this.__resizerHandler.style.left=(i>r.NEARBY?s.left+s.width:s.left)+n+"px",this.__resizerHandler.style.height=d.height+"px",this.__resizerHandler.style.top=d.top+"px",this.__resizerHandler.style.display="block",i>r.NEARBY)this.__setWorkCell(o,!!l.default.next(o,t.isCell,o.parentNode)&&null);else{var c=l.default.prev(o,t.isCell,o.parentNode);c?this.__setWorkCell(c):this.__setWorkCell(o,!0)}}},t.prototype.observe=function(e){var o=this;e[this.__key]=!0;var i;this.__on(e,"mousedown touchstart",function(r){var a=l.default.up(r.target,t.isCell,e);a&&a instanceof o.jodit.editorWindow.HTMLElement&&(a.firstChild||a.appendChild(l.default.create("br","",o.jodit.editorDocument)),i=a,n.default.addSelected(a),o.__selectMode=!0,o.jodit.lock(o.__key))}).__on(e,"mouseleave",function(e){o.__resizerHandler&&o.__resizerHandler!==e.relatedTarget&&(o.__resizerHandler.style.display="none")}).__on(e,"mousemove touchmove",function(r){if(!o.__drag&&!o.jodit.isLockedNotBy(o.__key)){var s=l.default.up(r.target,t.isCell,e);if(s)if(o.__selectMode){s!==i&&(o.jodit.editorWindow.getSelection().removeAllRanges(),r.preventDefault&&r.preventDefault()),o.__deSelectAll(e);for(var d=n.default.getSelectedBound(e,[s,i]),c=n.default.formalMatrix(e),u=d[0][0];d[1][0]>=u;u+=1)for(var f=d[0][1];d[1][1]>=f;f+=1)n.default.addSelected(c[u][f]);var p=c[d[1][0]][d[1][1]],h=c[d[0][0]][d[0][1]];o.jodit.events.fire("showPopap",[e,a.offset(h,o.jodit).left+Math.round((a.offset(p,o.jodit).left+p.offsetWidth-a.offset(h,o.jodit).left)/2),a.offset(p,o.jodit).top+p.offsetHeight]),r.stopPropagation()}else o.__calcResizerPosition(e,s,r.offsetX)}}),this.__addResizer()},t.prototype.destruct=function(){this.__off()},t}(d.default)},function(e,t,o){"use strict";function i(e){e.events.on("keydown",function(t){var o,i;if((t.which===n.KEY_TAB||t.which===n.KEY_LEFT||t.which===n.KEY_RIGHT||t.which===n.KEY_TOP||t.which===n.KEY_BOTTOM)&&(o=e.selection.current(),i=a.default.up(o,function(e){return e&&e.tagName&&/^td|th$/i.test(e.tagName)},e.editor))){var s=e.editorWindow.getSelection(),l=s.rangeCount?s.getRangeAt(0):e.editorDocument.createRange();if(t.which===n.KEY_TAB||o===i||(t.which!==n.KEY_LEFT&&t.which!==n.KEY_TOP||!(a.default.prev(o,function(e){return t.which===n.KEY_TOP?e&&"BR"===e.tagName:!!e},i)||t.which!==n.KEY_TOP&&o.nodeType===Node.TEXT_NODE&&0!==l.startOffset))&&(t.which!==n.KEY_RIGHT&&t.which!==n.KEY_BOTTOM||!(a.default.next(o,function(e){return t.which===n.KEY_BOTTOM?e&&"BR"===e.tagName:!!e},i)||t.which!==n.KEY_BOTTOM&&o.nodeType===Node.TEXT_NODE&&l.startOffset!==o.nodeValue.length))){var d,c=a.default.up(i,function(e){return e&&/^table$/i.test(e.tagName)},e.editor);switch(t.which){case n.KEY_TAB:case n.KEY_LEFT:var u=t.which===n.KEY_LEFT||t.shiftKey?"prev":"next";(d=a.default[u](i,function(e){return e&&/^td|th$/i.test(e.tagName)},c))||(r.default.appendRow(c,"next"!==u&&c.querySelector("tr"),"next"===u),d=a.default[u](i,function(t){return t&&a.default.isCell(t,e.editorWindow)},c));break;case n.KEY_TOP:case n.KEY_BOTTOM:var f=0,p=0,h=r.default.formalMatrix(c,function(e,t,o){e===i&&(f=t,p=o)});t.which===n.KEY_TOP?void 0!==h[f-1]&&(d=h[f-1][p]):void 0!==h[f+1]&&(d=h[f+1][p])}return d?(d.firstChild?t.which===n.KEY_TAB?e.selection.select(d,!0):e.selection.setCursorIn(d,t.which===n.KEY_RIGHT||t.which===n.KEY_BOTTOM):(d.appendChild(a.default.create("br","",e.editorDocument)),e.selection.setCursorBefore(d.firstChild)),!1):void 0}}})}t.__esModule=!0;var n=o(2),r=o(9),a=o(3);t.tableKeyboardNavigation=i},function(e,t,o){"use strict";t.__esModule=!0,t.de=o(58).default,t.en=o(59).default,t.fr=o(60).default,t.ru=o(61).default},function(e,t,o){"use strict";t.__esModule=!0,t.default={"Type something":"Schreibe etwas","About Jodit":"Über Jodi","Jodit Editor":"Jodit Editor","Free Non-commercial Version":"Freie Nicht-kommerzielle Version","Jodit User's Guide":"Jodit Benutzerhandbuch","contains detailed help for using":"ausführliche Hilfe enthält für die Verwendung von","For information about the license, please go to our website:":"Für Informationen über die Lizenz, gehen Sie bitte auf unsere Webseite:","Buy full version":"Vollversion kaufen","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.",Anchor:"Anker","Open in new tab":"In neuer Registerkarte öffnen","Open editor in fullsize":"Editor öffnen in voller Größe","Clear Formatting":"Formatierung löschen","Fill color or set the text color":"Füllen Sie Farbe oder stellen Sie die Textfarbe",Redo:"Redo",Undo:"Rückgängig machen",Bold:"Fett gedruckt",Italic:"Kursiv","Insert Unordered List":"Ungeordnete Liste einfügen","Insert Ordered List":"Legen Sie Sortierte Liste","Align Center":"einmitten","Align Justify":"Begründen Voll","Align Left":"Begründen links","Align Right":"Begründen Rechts","Insert Horizontal Line":"Legen Horizontale Linie","Insert Image":"Bild einfügen","Insert youtube/vimeo video":"Youtube/vimeo video einfügen","Insert link":"Link einfügen","Font size":"Schriftgröße","Font family":"Schriftfamilie","Insert format block":"Insert Format Block",Normal:"Normal","Heading 1":"Überschrift 1","Heading 2":"Überschrift 2","Heading 3":"Überschrift 3","Heading 4":"Überschrift 4",Quote:"Zitat",Code:"Code",Insert:"Einfügen","Insert table":"Tabelle einfügen","Paint format":"Format klonen","Change mode":"Änderungsmodus",Margins:"Die Margen",top:"oben",right:"Recht",bottom:"Boden",left:"links",Styles:"Styles",Classes:"Klassen",Align:"Ausrichten",Right:"Recht",Center:"Center",Left:"Links","--Not Set--":"--Nicht eingestellt--",Src:"src",Title:"Titel",Alternative:"Alternative (alt)",Link:"Link","Open link in new tab":"Link in neuem Tab öffnen",Image:"Image",Advansed:"Erweiterte","Image properties":"Bildeigenschaften",Cancel:"Stornieren",Ok:"OK","File Browser":"Dateibrowser","Error on load list":"Fehler beim Ladeliste","Error on load folders":"Fehler beim Laden Ordner","Are you shure?":"Bist du sicher?","Enter Directory name":"Geben Sie Verzeichnisname","Create directory":"Verzeichnis erstellen","type name":"Modellname","Drop image":"Bild Tropfen","or click":"oder klicken Sie auf","Alternative text":"Alternativer Text",Browse:"Blättern",Upload:"Hochladen",Background:"Hintergrund",Text:"Text",Top:"Oben",Middle:"Mitte",Bottom:"Boden","Insert column before":"Spalte einfügen vor","Insert column after":"Spalte einfügen nach","Insert row above":"Zeile einfügen oben","Insert row below":"Zeile unterhalb einfügen","Delete table":"Tabelle löschen","Delete row":"Zeile löschen","Delete column":"Spalte löschen","Empty cell":"Leere Zelle"}},function(e,t,o){"use strict";t.__esModule=!0,t.default={"Type something":"Start writing...","About Jodit":"","Jodit Editor":"","Free Non-commercial Version":"","Jodit User's Guide":"","contains detailed help for using":"","For information about the license, please go to our website:":"","Buy full version":"","Copyright � XDSoft.net - Chupurnov Valeriy. All rights reserved.":"",Anchor:"","Open in new tab":"","Open editor in fullsize":"","Clear Formatting":"","Fill color or set the text color":"",Redo:"",Undo:"",Bold:"",Italic:"","Insert Unordered List":"","Insert Ordered List":"","Align Center":"","Align Justify":"","Align Left":"","Align Right":"","Insert Horizontal Line":"","Insert Image":"","Insert 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":"","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:"",Advansed:"","Image properties":"",Cancel:"",Ok:"","File Browser":"","Error on load list":"","Error on load folders":"","Are you shure?":"","Enter Directory name":"","Create directory":"","type name":"","Drop image":"","or click":"","Alternative text":"",Upload:"",Browse:"",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":""}},function(e,t,o){"use strict";t.__esModule=!0,t.default={"Type something":"Ecrivez ici","About Jodit":"A propos de Jodit","Jodit Editor":"Editeur Jodit","Free Non-commercial Version":"Version gratuite, non commerciale","Jodit User's Guide":"Guide de l'utilisateur","contains detailed help for using":"Aide détaillée à l'utilisation","For information about the license, please go to our website:":"Consulter la licence sur notre site web:","Buy full version":"Acheter la version complète","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Tous droits réservés.",Anchor:"Ancre","Open in new tab":"Ouvrir dans un nouvel onglet","Open editor in fullsize":"Ouvrir l'éditeur en pleine page","Clear Formatting":"Supprimer le formattage","Fill color or set the text color":"Modifier la couleur du fond ou du texte",Redo:"Refaire",Undo:"Défaire",Bold:"Gras",Italic:"Italique","Insert Unordered List":"Liste non ordonnée","Insert Ordered List":"Liste ordonnée","Align Center":"Centrer","Align Justify":"Justifier","Align Left":"Aligner à gauche ","Align Right":"Aligner à droite","Insert Horizontal Line":"Insérer une ligne horizontale","Insert Image":"Insérer une image","Insert youtube/vimeo video":"Insérer une vidéo","Insert link":"Insérer un lien","Font size":"Taille des caractères","Font family":"Famille des caractères","Insert format block":"Bloc formatté",Normal:"Normal","Heading 1":"Titre 1","Heading 2":"Titre 2","Heading 3":"Titre 3","Heading 4":"Titre 4",Quote:"Citation",Code:"Code",Insert:"Insérer","Insert table":"Insérer un tableau","Paint format":"Cloner le format","Change mode":"Mode wysiwyg <-> code html",Margins:"Marges",top:"haut",right:"droite",bottom:"Bas",left:"gauche",Styles:"Styles",Classes:"Classes",Align:"Alignement",Right:"Droite",Center:"Centre",Left:"Gauche","--Not Set--":"--Non disponible--",Src:"Source",Title:"Titre",Alternative:"Alternative",Link:"Lien","Open link in new tab":"Ouvrir le lien dans un nouvel onglet",Image:"Image",Advansed:"Avancé","Image properties":"Propriétés de l'image",Cancel:"Effacer",Ok:"OK","File Browser":"Explorateur de fichiers","Error on load list":"Erreur de liste de chargement","Error on load folders":"Erreur de dossier de chargement","Are you shure?":"Etes-vous sûrs ?","Enter Directory name":"Entrer le non de dossier","Create directory":"Créer un dossier","type name":"type de fichier","Drop image":"Coller une image","or click":"ou cliquer","Alternative text":"Texte de remplacemement",Browse:"Chercher",Upload:"Charger",Background:"Arrière-plan",Text:"Texte",Top:"Haut",Middle:"Milieu",Bottom:"Bas","Insert column before":"Insérer une colonne avant","Insert column after":"Insérer une colonne après","Insert row above":"Insérer une ligne en dessus","Insert row below":"Insérer une ligne en dessous","Delete table":"Supprimer le tableau","Delete row":"Supprimer la ligne","Delete column":"Supprimer la colonne","Empty cell":"Vider la cellule"}},function(e,t,o){"use strict";t.__esModule=!0,t.default={"Type something":"Напишите что-либо","About Jodit":"О Jodit","Jodit Editor":"Редактор Jodit","Free Non-commercial Version":"Версия для не коммерческого использования","Jodit User's Guide":"Jodit Руководство пользователя","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.":"Авторские права © XDSoft.net - Чупурнов Валерий. Все права защищены.",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 youtube/vimeo video":"Вставьте видео","Insert link":"Вставить ссылку","Font size":"Размер шрифта","Font family":"Шрифт","Insert format block":"Вставить блочный элемент",Normal:"Нормальный текст","Heading 1":"Заголовок 1","Heading 2":"Заголовок 2","Heading 3":"Заголовок 3","Heading 4":"Заголовок 4",Quote:"Цитата",Code:"Код",Insert:"Вставить","Insert table":"Вставить таблицу","Paint format":"Формат краски","Change mode":"Источник",Margins:"Отступы",top:"сверху",right:"справа",bottom:"снизу",left:"слева",Styles:"Стили",Classes:"Классы",Align:"Выравнивание",Right:"По правому краю",Center:"По центру",Left:"По левому краю","--Not Set--":"--не устанавливать--",Src:"src",Title:"Заголовок",Alternative:"Альтернативный текст (alt)",Link:"Ссылка","Open link in new tab":"Открывать ссылку в новом окне",Image:"Изображение",Advansed:"Расширенные","Image properties":"Свойства изображения",Cancel:"Отмена",Ok:"Ok","Your code is similar to HTML. Paste as HTML?":"Ваш текст, который вы пытаетесь вставить похож на HTML. Вставить его как HTML?","Paste as HTML":"Вставить как HTML?","File Browser":"Браузер файлов","Error on load list":"Ошибка при загрузке списка изображений","Error on load folders":"Ошибка при загрузке списка директорий","Are you shure?":"Вы уверены?","Enter Directory name":"Введите название директории","Create directory":"Создать директорию","type name":"введите название","Drop image":"Перетащите сюда изображение","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":"Отчистить ячейку"}},function(e,t,o){"use strict";t.__esModule=!0,t.about=o(63),t.addcolumn=o(64),t.addrow=o(65),t.angle_left=o(66),t.angle_right=o(67),t.arrows_alt=o(68),t.arrows_h=o(69),t.attachment=o(70),t.bin=o(71),t.bold=o(72),t.brush=o(73),t.cancel=o(74),t.center=o(75),t.chain_broken=o(76),t.check_square=o(77),t.check=o(78),t.copyformat=o(79),t.crop=o(80),t.dedent=o(81),t.enter=o(82),t.eraser=o(83),t.eye=o(84),t.folder=o(85),t.font=o(86),t.fontsize=o(87),t.fullsize=o(88),t.hr=o(89),t.image=o(90),t.info_circle=o(91),t.italic=o(92),t.justify=o(93),t.left=o(94),t.link=o(95),t.lock=o(96),t.menu=o(97),t.merge=o(98),t.ol=o(99),t.paragraph=o(100),t.pencil=o(101),t.plus=o(102),t.redo=o(103),t.resize=o(104),t.resizer=o(105),t.right=o(106),t.save=o(107),t.shrink=o(108),t.source=o(109),t.splitg=o(110),t.splitv=o(111),t.strikethrough=o(112),t.table=o(113),t.th_list=o(114),t.th=o(115),t.ul=o(116),t.underline=o(117),t.undo=o(118),t.unlink=o(119),t.unlock=o(120),t.update=o(121),t.upload=o(122),t.valign=o(123),t.video=o(124)},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"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 18.151 18.151"><g><g><path d="M6.237,16.546H3.649V1.604h5.916v5.728c0.474-0.122,0.968-0.194,1.479-0.194 c0.042,0,0.083,0.006,0.125,0.006V0H2.044v18.15h5.934C7.295,17.736,6.704,17.19,6.237,16.546z"></path><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 S13.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 s3.597,1.613,3.597,3.597C14.766,15.198,13.153,16.81,11.169,16.81z"></path><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 10.502,15.352 11.792,15.352 11.792,13.868 13.309,13.868 13.309,12.578 11.792,12.578 "></polygon></g></g></svg>'},function(e,t){e.exports='<svg viewBox="0 0 432 432"><g><g><polygon points="203.688,96 0,96 0,144 155.688,144 "></polygon><polygon points="155.719,288 0,288 0,336 203.719,336 "></polygon><rect x="252" y="96"></rect><rect></rect><rect x="252" y="288"></rect><rect y="384"></rect><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 L97.844,230.125z"></path><polygon points="232,176 232,96 112,216 232,336 232,256 432,256 432,176 "></polygon></g></g></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"></path></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"></path></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"></path></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"></path></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"></path></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"></path></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"></path></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"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1490 1322q0 40-28 68l-136 136q-28 28-68 28t-68-28l-294-294-294 294q-28 28-68 28t-68-28l-136-136q-28-28-28-68t28-68l294-294-294-294q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 294 294-294q28-28 68-28t68 28l136 136q28 28 28 68t-28 68l-294 294 294 294q28 28 28 68z"></path></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"></path></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"></path></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"></path></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"></path></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"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><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"></path></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"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 128 128" xml:space="preserve"><g><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 "></polygon></g></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"></path></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"></path></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"></path></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"></path></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"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M883 1056q0 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 23zm781-864v448q0 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 45z"></path></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"></path></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"></path></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"></path></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"></path></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"></path></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"></path></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"></path></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"></path></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"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 312.000000 312.000000"><g transform="translate(0.000000,312.000000) scale(0.100000,-0.100000)" stroke="none"><path d="M50 3109 c0 -7 -11 -22 -25 -35 l-25 -23 0 -961 0 -961 32 -29 32 -30 501 -2 500 -3 3 -502 2 -502 31 -30 31 -31 958 0 958 0 23 25 c13 13 30 25 37 25 9 0 12 199 12 960 0 686 -3 960 -11 960 -6 0 -24 12 -40 28 l-29 27 -503 5 -502 5 -5 502 -5 503 -28 29 c-15 16 -27 34 -27 40 0 8 -274 11 -960 11 -710 0 -960 -3 -960 -11z m1738 -698 l2 -453 -40 -40 c-22 -22 -40 -43 -40 -47 0 -4 36 -42 79 -85 88 -87 82 -87 141 -23 l26 27 455 -2 454 -3 0 -775 0 -775 -775 0 -775 0 -3 450 -2 449 47 48 47 48 -82 80 c-44 44 -84 80 -87 80 -3 0 -25 -18 -48 -40 l-41 -40 -456 2 -455 3 -3 765 c-1 421 0 771 3 778 3 10 164 12 777 10 l773 -3 3 -454z"></path><path d="M607 2492 c-42 -42 -77 -82 -77 -87 0 -6 86 -96 190 -200 105 -104 190 -197 190 -205 0 -8 -41 -56 -92 -107 -65 -65 -87 -94 -77 -98 8 -3 138 -4 289 -3 l275 3 3 275 c1 151 0 281 -3 289 -4 10 -35 -14 -103 -82 -54 -53 -103 -97 -109 -97 -7 0 -99 88 -206 195 -107 107 -196 195 -198 195 -3 0 -39 -35 -82 -78z"></path><path d="M1470 1639 c-47 -49 -87 -91 -89 -94 -5 -6 149 -165 160 -165 9 0 189 179 189 188 0 12 -154 162 -165 161 -6 0 -48 -41 -95 -90z"></path><path d="M1797 1303 c-9 -8 -9 -568 0 -576 4 -4 50 36 103 88 54 52 101 95 106 95 5 0 95 -85 199 -190 104 -104 194 -190 200 -190 6 0 46 36 90 80 l79 79 -197 196 c-108 108 -197 199 -197 203 0 4 45 52 99 106 55 55 98 103 95 108 -6 10 -568 11 -577 1z"></path></g></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><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"></path></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"></path></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"></path></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"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><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"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"><title></title><desc></desc><defs></defs><g><g transform="translate(-251.000000, -443.000000)"><g transform="translate(215.000000, 119.000000)"></g><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"></path></g></g></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><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"></path></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-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"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><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"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><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"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><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"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 48 48"><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><path d="M0 0h48v48h-48z" fill="none"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 48 48"><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"></path><path d="M0 0h48v48h-48z" fill="none"></path></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"></path></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"></path></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"></path></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"></path></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"></path></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"></path></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"></path></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"></path></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"></path></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"></path></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"></path></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"></path></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"></path></svg>'}])});
@@ -0,0 +1,142 @@
1
+ /*!
2
+ *
3
+ * jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
4
+ * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)
5
+ * Version: v3.1.3
6
+ * Url: https://xdsoft.net/jodit/
7
+ * License(s): SEE LICENSE IN <LICENSE>
8
+ *
9
+ */
10
+ /*!
11
+ * Jodit Editor (https://xdsoft.net/jodit/)
12
+ * License https://xdsoft.net/jodit/license.html
13
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
14
+ *//*!
15
+ * Jodit Editor (https://xdsoft.net/jodit/)
16
+ * License https://xdsoft.net/jodit/license.html
17
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
18
+ *//*!
19
+ * Jodit Editor (https://xdsoft.net/jodit/)
20
+ * License https://xdsoft.net/jodit/license.html
21
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
22
+ */.jodit_container{background:#fff}.jodit_container,.jodit_container *{box-sizing:border-box}.jodit_container .jodit_workplace{border:1px solid #ccc;position:relative;height:calc(100% - 23px);overflow:auto;display:-webkit-box;display:-ms-flexbox;display:flex}.jodit_container .jodit_workplace .jodit_wysiwyg,.jodit_container .jodit_workplace .jodit_wysiwyg_iframe{height:100%;width:100%}.jodit_container .jodit_workplace .jodit_wysiwyg{margin:0;padding:10px;outline:0;overflow-x:auto;position:relative}.jodit_container .jodit_workplace .jodit_wysiwyg img{position:relative}.jodit_container .jodit_workplace .jodit_wysiwyg p,.jodit_container .jodit_workplace .jodit_wysiwyg pre{margin:0 0 10px}.jodit_container .jodit_workplace .jodit_wysiwyg h1,.jodit_container .jodit_workplace .jodit_wysiwyg h2,.jodit_container .jodit_workplace .jodit_wysiwyg h3,.jodit_container .jodit_workplace .jodit_wysiwyg h4,.jodit_container .jodit_workplace .jodit_wysiwyg h5{margin-top:0}.jodit_container .jodit_workplace .jodit_wysiwyg ::-moz-selection,.jodit_container .jodit_workplace .jodit_wysiwyg::-moz-selection{background:#b5d6fd;color:#000}.jodit_container .jodit_workplace .jodit_wysiwyg ::selection,.jodit_container .jodit_workplace .jodit_wysiwyg::selection{background:#b5d6fd;color:#000}.jodit_container .jodit_workplace .jodit_wysiwyg.jodit_disabled{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}/*!
23
+ * Jodit Editor (https://xdsoft.net/jodit/)
24
+ * License https://xdsoft.net/jodit/license.html
25
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
26
+ */.jodit_clearfix:after,.jodit_clearfix:before{content:" ";display:table}.jodit_clearfix:after{clear:both}/*!
27
+ * Jodit Editor (https://xdsoft.net/jodit/)
28
+ * License https://xdsoft.net/jodit/license.html
29
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
30
+ */.jodit_dark_theme .jodit_workplace{border-color:rgba(87,87,87,.8)}.jodit_dark_theme .jodit_toolbar_popup,.jodit_dark_theme .jodit_toolbar_popup-inline{background:#575757}.jodit_dark_theme .jodit_toolbar_popup-inline:before,.jodit_dark_theme .jodit_toolbar_popup:before{background:#575757}.jodit_dark_theme .jodit_toolbar{background:#5f5c5c}.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn>a{color:#d1cccc}.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn>a:hover{background-color:#575757}.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn.jodit_toolbar_btn-break{border-top-color:#686767}.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn.jodit_toolbar_btn-separator{border-right-color:#686767}.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn.active,.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn.jodit_active,.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn:active,.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn:hover{background-color:#575757}.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn.jodit_with_dropdownlist .jodit_with_dropdownlist-trigger{border-top-color:silver}.jodit_dark_theme .jodit_icon{fill:silver}.jodit_dark_theme .jodit_wysiwyg{background-color:#575757;color:#d1cccc}.jodit_dark_theme .jodit_wysiwyg [data-jodit-selected-cell]{border-color:#152f5f}.jodit_dark_theme .jodit_dropdownlist{background:#5f5c5c}.jodit_dark_theme .jodit_tabs .jodit_tabs_buttons>a{background-color:#686767;color:#d1cccc}.jodit_dark_theme .jodit_tabs .jodit_tabs_buttons>a:hover{background-color:rgba(104,103,103,.8);color:#d1cccc;border-color:rgba(104,103,103,.9)}.jodit_dark_theme .jodit_tabs .jodit_tabs_buttons>a.active{background:rgba(81,81,81,.41);border-color:#686767}.jodit_dark_theme .jodit_tabs .jodit_tabs_buttons>a svg{fill:silver}.jodit_dark_theme .jodit_form input[type=text],.jodit_dark_theme .jodit_form input[type=url],.jodit_dark_theme .jodit_form textarea{background-color:rgba(81,81,81,.41);border-color:#686767;color:#d1cccc}.jodit_dark_theme .jodit_form button{background-color:rgba(104,103,103,.75);color:#d1cccc}.jodit_dark_theme .jodit_placeholder{color:rgba(209,204,204,.8)}.jodit_dark_theme .jodit_draganddrop_file_box,.jodit_dark_theme .jodit_uploadfile_button{color:#d1cccc}.jodit_dark_theme .jodit_draganddrop_file_box:hover,.jodit_dark_theme .jodit_uploadfile_button:hover{background-color:rgba(104,103,103,.75)}.jodit_dark_theme .jodit-add-new-line:before{border-top-color:#686767}.jodit_dark_theme .jodit-add-new-line span{background:rgba(104,103,103,.75);border-color:#686767}.jodit_dark_theme .jodit-add-new-line span svg{fill:#d1cccc}.jodit_dark_theme .jodit_resizer>i{background:rgba(104,103,103,.75);border-color:silver}/*!
31
+ * Jodit Editor (https://xdsoft.net/jodit/)
32
+ * License https://xdsoft.net/jodit/license.html
33
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
34
+ */.jodit_btn{border:1px solid;border-radius:0;background-color:#f5f5f5;background-image:linear-gradient(to bottom,#fff,#e6e6e6);border-color:#ccc;text-shadow:0 1px 1px rgba(255,255,255,.75);color:#333;background-repeat:repeat-x;outline:0;display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit_btn:hover{background-color:#e6e6e6;background-position:0 -15px;text-decoration:none}.jodit_btn.jodit_btn_success{text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#5bb75b;background-image:linear-gradient(to bottom,#62c462,#51a351);border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);color:#fff}.jodit_btn.jodit_btn_success svg{fill:#fff}.jodit_btn.jodit_btn_success:hover{background-color:#51a351}.jodit_btn.jodit_btn_danger{text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#da4f49;background-image:linear-gradient(to bottom,#ee5f5b,#bd362f);border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);color:#fff}.jodit_btn.jodit_btn_danger svg{fill:#fff}.jodit_btn.jodit_btn_danger:hover{background-color:#bd362f}.jodit_btn.jodit_btn_inverse{text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#363636;background-image:linear-gradient(to bottom,#444,#222);border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);color:#fff}.jodit_btn.jodit_btn_inverse svg{fill:#fff}.jodit_btn.jodit_btn_inverse:hover{background-color:#222}.jodit_btn.active,.jodit_btn:active{background-image:none;box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}/*!
35
+ * Jodit Editor (https://xdsoft.net/jodit/)
36
+ * License https://xdsoft.net/jodit/license.html
37
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
38
+ */.jodit_btn_group{font-size:0;vertical-align:middle}.jodit_btn_group input{display:none}.jodit_btn_group button{float:left}.jodit_btn_group button+button{margin-left:-1px}.jodit_btn_group button:first-child,.jodit_btn_group input:first-child+button{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0}.jodit_btn_group button:last-child,.jodit_btn_group input:last-child+button{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.jodit_btn_group:after{content:'';clear:both;float:none;display:table}/*!
39
+ * Jodit Editor (https://xdsoft.net/jodit/)
40
+ * License https://xdsoft.net/jodit/license.html
41
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
42
+ */.jodit_context_menu{font-family:Helvetica,Arial;display:none;background:#fff;position:absolute;min-width:150px;box-shadow:0 0 5px 0 rgba(0,0,0,.24);z-index:2222224}.jodit_context_menu a{display:block;border-bottom:1px solid rgba(204,204,204,.24);text-decoration:none!important;color:#727272}.jodit_context_menu a svg{float:left;display:block;width:18px;height:28px;margin:0 4.5px;fill:#727272}.jodit_context_menu a span{margin-left:27px;display:block;padding:5px;border-left:1px solid rgba(204,204,204,.24);line-height:18px}.jodit_context_menu a:hover{background-color:#e3e3e3;color:#000}.jodit_context_menu a:hover .jodit_icon{fill:#000}.jodit_context_menu a:last-child{border:0}.jodit_context_menu-show{display:block}/*!
43
+ * Jodit Editor (https://xdsoft.net/jodit/)
44
+ * License https://xdsoft.net/jodit/license.html
45
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
46
+ */.jodit_dialog_box{box-sizing:border-box;display:none;width:0;height:0;border:0;position:absolute;will-change:left,top,width,height}.jodit_dialog_box.jodit_dialog_box-moved{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit_dialog_box *{box-sizing:border-box}.jodit_dialog_box .jodit_elfinder,.jodit_dialog_box .jodit_elfinder *{box-sizing:initial}.jodit_dialog_box .jodit_dialog_overlay{position:fixed;top:0;left:0;width:100%;height:100%;z-index:2222222;text-align:center;white-space:nowrap;overflow:auto;display:none;background-color:rgba(0,0,0,.5)}.jodit_dialog_box.jodit_modal .jodit_dialog_overlay{display:block}.jodit_dialog_box.active{display:block}.jodit_dialog_box .jodit_dialog{z-index:2222223;display:inline-block;vertical-align:middle;white-space:normal;text-align:left;position:fixed;left:0;top:0;background-color:#fff;box-shadow:0 10px 20px rgba(0,0,0,.19),0 6px 6px rgba(0,0,0,.23);min-width:200px;min-height:100px}@media (max-width:480px){.jodit_dialog_box .jodit_dialog{max-width:100%;width:100%!important;height:100%!important;top:0!important;left:0!important}}.jodit_dialog_box .jodit_dialog .jodit_promt{max-width:300px;min-width:200px;padding:10px;word-break:break-all}.jodit_dialog_box .jodit_dialog .jodit_promt label{margin-bottom:5px;display:block}.jodit_dialog_box .jodit_dialog .jodit_promt input[type=text]{display:block;border:1px solid #ccc;background:#fff;width:100%;height:28px;line-height:16px;padding:3px 6px;outline:0}.jodit_dialog_box .jodit_dialog .jodit_alert{max-width:300px;min-width:200px;padding:10px;word-break:break-all}.jodit_dialog_box .jodit_dialog .jodit_button{padding:0;margin:0;border:0;display:inline-block;vertical-align:top;width:32px;height:48px;line-height:48px;text-align:center;cursor:pointer;text-decoration:none}.jodit_dialog_box .jodit_dialog .jodit_button:not(.disabled):hover{background-color:#ecebe9}.jodit_dialog_box .jodit_dialog .jodit_button.disabled{opacity:.7}.jodit_dialog_box .jodit_dialog .jodit_input{border:1px solid #ccc;padding:5px;background-color:#fff;outline:0;width:120px;margin-left:10px;font:13px Arial;height:28px;vertical-align:middle}.jodit_dialog_box .jodit_dialog select.jodit_input{width:75px}.jodit_dialog_box .jodit_dialog .jodit_button .jodit_icon,.jodit_dialog_box .jodit_dialog .jodit_button svg,.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_icon,.jodit_dialog_box .jodit_dialog .jodit_dialog_header svg{width:16px;height:16px;display:inline-block;vertical-align:middle}.jodit_dialog_box .jodit_dialog .jodit_dialog_header{text-align:left;color:#222;box-shadow:0 1px 3px rgba(0,0,0,.16),0 1px 2px rgba(0,0,0,.23);cursor:move;height:48px;overflow:hidden}.jodit_dialog_box .jodit_dialog .jodit_dialog_header h4{font-size:18px;padding:0;padding-left:20px;margin:0;font-weight:400;line-height:48px;display:inline-block;vertical-align:top}@media (max-width:480px){.jodit_dialog_box .jodit_dialog .jodit_dialog_header h4{padding-left:0}}.jodit_dialog_box .jodit_dialog .jodit_dialog_header button{margin-right:10px}.jodit_dialog_box .jodit_dialog .jodit_dialog_header a{color:#222;font-size:24px;font-weight:700;display:inline-block;transition:background-color .2s ease 0s;width:48px;height:48px;vertical-align:top;line-height:48px;text-decoration:none;text-align:center;float:right}.jodit_dialog_box .jodit_dialog .jodit_dialog_header a:hover{background-color:#ecebe9}.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_close svg{width:18px;height:18px;margin:15px 0;vertical-align:top}.jodit_dialog_box .jodit_dialog .jodit_dialog_content{height:calc(100% - 48px);overflow:auto}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group{margin-bottom:10px;padding:0 10px}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group:first-child{margin-top:10px}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input.select,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=number],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=text],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=url],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select.select,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=number],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=text],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=url]{display:block;height:34px;padding:6px 4px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input.select:focus,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=number]:focus,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=text]:focus,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=url]:focus,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select.select:focus,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=number]:focus,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=text]:focus,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=url]:focus{border-color:#66afe9;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input.select[disabled],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=number][disabled],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=text][disabled],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=url][disabled],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select.select[disabled],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=number][disabled],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=text][disabled],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=url][disabled]{background-color:#f0f0f0;color:#ccc}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input.select:not([class*=col-]),.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=number]:not([class*=col-]),.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=text]:not([class*=col-]),.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=url]:not([class*=col-]),.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select.select:not([class*=col-]),.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=number]:not([class*=col-]),.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=text]:not([class*=col-]),.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=url]:not([class*=col-]){width:100%}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group .jodit_input_group{display:table;border-collapse:separate;width:100%}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group .jodit_input_group>*{vertical-align:middle;display:table-cell;height:34px}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group .jodit_input_group>input{float:left;margin:0!important}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group .jodit_input_group>input:not([class*=col-]){width:100%}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group .jodit_input_group-buttons{width:1%;font-size:0;white-space:nowrap;vertical-align:middle}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group .jodit_input_group-buttons>a{text-align:center;display:inline-block;border:1px solid #ccc;margin-left:-1px;position:relative;height:34px;line-height:34px}.jodit_dialog_box .jodit_dialog .jodit_dialog_footer{padding:0 10px;padding-top:10px;text-align:center;height:48px;display:none}.jodit_dialog_box .jodit_dialog .jodit_dialog_footer .jodit_button{width:auto;margin-bottom:10px;height:32px;line-height:100%;padding:0 15px;background-color:#ccc;border:1px solid #ccc;color:#000;font-size:0}.jodit_dialog_box .jodit_dialog .jodit_dialog_footer .jodit_button:before{content:'';display:inline-block;vertical-align:middle;height:100%}.jodit_dialog_box .jodit_dialog .jodit_dialog_footer .jodit_button svg{display:inline-block;width:24px;height:24px;vertical-align:middle}.jodit_dialog_box .jodit_dialog .jodit_dialog_footer .jodit_button span{display:inline-block;vertical-align:middle;font-size:14px;margin-left:5px}.jodit_dialog_box .jodit_dialog .jodit_dialog_footer .jodit_button:focus{border:1px solid #8bade4;outline:1px solid #82b2e8}.jodit_dialog_box .jodit_dialog .jodit_dialog_footer .jodit_button:nth-child(n+2){margin-left:10px}.jodit_dialog_box .jodit_dialog.with_footer .jodit_dialog_content{height:calc(100% - 96px)}.jodit_dialog_box .jodit_dialog.with_footer .jodit_dialog_footer{display:block}.jodit_dialog_box .jodit_dialog .jodit_dialog_resizer{position:absolute;bottom:0;right:0;cursor:se-resize;width:7px;height:7px;display:inline-block;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADFJREFUeNpilJGRYcACIoB4ORMuCSCOZMIlga4TRQJZJ4YETCdWCSBmZMIlATIOIMAAEyAPt4RnNx0AAAAASUVORK5CYII=)}.jodit_dialog_box .jodit_dialog .jodit_dialog_resizer:hover{border-color:rgba(0,0,0,.6)}@media (max-width:480px){.jodit_dialog_box .jodit_dialog .jodit_dialog_resizer{display:none}}.jodit_dialog_box-fullsize .jodit_dialog{top:0!important;bottom:0!important;left:0!important;right:0!important;width:100%!important;height:100%!important}.jodit_dialog_box-fullsize .jodit_dialog .jodit_dialog_resizer{display:none}@media (max-width:768px){.jodit_dialog_header .jodit_input,.jodit_dialog_header_fullsize,.jodit_dialog_header_title{display:none!important}}/*!
47
+ * Jodit Editor (https://xdsoft.net/jodit/)
48
+ * License https://xdsoft.net/jodit/license.html
49
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
50
+ */.jodit_dropdownlist{background:#fff;box-shadow:0 3px 6px rgba(0,0,0,.16),0 3px 6px rgba(0,0,0,.23);padding:0;margin:auto;display:block;text-align:left;position:absolute;box-sizing:border-box;transition:max-height .2s ease 0s;margin-top:0!important;list-style-type:none;font-size:16px;z-index:10000;display:none;left:0;top:100%}.jodit_dropdownlist h5{font-size:.8em;line-height:1.4;font-weight:400;margin:0}.jodit_dropdownlist h3{font-size:1.31em;line-height:1.4;font-weight:400;margin:0}.jodit_dropdownlist h4,.jodit_dropdownlist p{font-size:1em;line-height:1.5em;font-weight:400;margin:0}.jodit_dropdownlist h2{font-size:1.74em;line-height:1.4;font-weight:400;margin:0}.jodit_dropdownlist h1{font-size:2.17em;line-height:1.4;font-weight:400;margin:0}.jodit_dropdownlist blockquote,.jodit_dropdownlist pre{margin:0}.jodit_dropdownlist>li{display:block;cursor:pointer;white-space:nowrap;color:inherit;text-decoration:none;width:100%;box-sizing:border-box;text-align:left}.jodit_dropdownlist li>a{background-image:none;padding:0 24px;cursor:pointer;line-height:200%;width:auto;height:auto}.jodit_dropdownlist li>a:hover{background-color:#f3f0f0}.jodit_dropdown_open .jodit_dropdownlist{display:block}/*!
51
+ * Jodit Editor (https://xdsoft.net/jodit/)
52
+ * License https://xdsoft.net/jodit/license.html
53
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
54
+ */.jodit_filebrowser{font-family:Helvetica,Arial;font-size:0;height:100%}.jodit_filebrowser.draghover{background-color:#ecebe9}.jodit_filebrowser .jodit_filebrowser_loader{height:100%;width:100%;position:absolute;top:0;left:0}.jodit_filebrowser .jodit_filebrowser_loader i{position:absolute;top:50%;left:50%;margin-top:-64px;margin-left:-64px}.jodit_filebrowser .jodit_filebrowser_status{position:absolute;font-size:10px;padding:2px 3px;border-top:1px solid rgba(127,127,127,.4);left:31%;right:0;bottom:0;background-color:#4a4a4a;visibility:hidden;opacity:0;transition:opacity .3s linear;color:#b38888;word-break:break-all}.jodit_filebrowser .jodit_filebrowser_status.success{color:#c5c5c5}.jodit_filebrowser .jodit_filebrowser_status.active{visibility:visible;opacity:1}.jodit_filebrowser .jodit_filebrowser_files,.jodit_filebrowser .jodit_filebrowser_tree{display:none;vertical-align:top;height:100%;position:relative}.jodit_filebrowser .jodit_filebrowser_files.active,.jodit_filebrowser .jodit_filebrowser_tree.active{display:inline-block}.jodit_filebrowser .jodit_filebrowser_files::-webkit-scrollbar,.jodit_filebrowser .jodit_filebrowser_tree::-webkit-scrollbar{width:5px}.jodit_filebrowser .jodit_filebrowser_files::-webkit-scrollbar-track,.jodit_filebrowser .jodit_filebrowser_tree::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.jodit_filebrowser .jodit_filebrowser_files::-webkit-scrollbar-thumb,.jodit_filebrowser .jodit_filebrowser_tree::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #708090}.jodit_filebrowser .jodit_filebrowser_tree.active{width:31%;background-color:#3f3f3f;overflow-y:auto}@media (max-width:480px){.jodit_filebrowser .jodit_filebrowser_tree.active{display:none}}.jodit_filebrowser .jodit_filebrowser_tree.active::-webkit-scrollbar{width:5px}.jodit_filebrowser .jodit_filebrowser_tree.active::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.jodit_filebrowser .jodit_filebrowser_tree.active::-webkit-scrollbar-thumb{background-color:rgba(127,127,127,.5);outline:1px solid #708090}.jodit_filebrowser .jodit_filebrowser_tree.active .jodit_filebrowser_source_title{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;padding:10px;color:#969696;border-bottom:1px solid #484848;line-height:17px;min-height:38px;position:relative;word-break:break-all;background:#5a5a5a}.jodit_filebrowser .jodit_filebrowser_tree.active a{display:block;padding:10px 20px;text-decoration:none;color:#b1b1b1;font-weight:600;transition:background-color .2s ease 0s;border-bottom:1px solid #474747;line-height:17px;min-height:38px;position:relative;word-break:break-all;font-size:16px}.jodit_filebrowser .jodit_filebrowser_tree.active a i.remove{height:16px;width:16px;line-height:17px;font-size:16px;position:absolute;right:5px;top:11px;opacity:0;padding-left:3px;display:inline-block}.jodit_filebrowser .jodit_filebrowser_tree.active a i.remove:hover{background:#696969}.jodit_filebrowser .jodit_filebrowser_tree.active a:hover{color:#222;background-color:#ecebe9}.jodit_filebrowser .jodit_filebrowser_tree.active a:hover i.remove{opacity:.6}.jodit_filebrowser .jodit_filebrowser_tree.active a.jodit_button{cursor:pointer;background:#696969;text-align:center;width:auto;height:38px;color:#333}.jodit_filebrowser .jodit_filebrowser_tree.active a.jodit_button svg{vertical-align:top}.jodit_filebrowser .jodit_filebrowser_tree.active a.jodit_button:not(.disabled):hover{background-color:#ecebe9}.jodit_filebrowser .jodit_filebrowser_tree.active a.jodit_button.disabled,.jodit_filebrowser .jodit_filebrowser_tree.active a.jodit_button:hover i{opacity:.7}.jodit_filebrowser .jodit_filebrowser_files.active{width:100%;overflow-y:auto;padding:10px}.jodit_filebrowser .jodit_filebrowser_files.active .jodit_filebrowser_source_title{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:-10px -10px 0 -5px;display:block;padding:10px;line-height:17px;min-height:38px;position:relative;word-break:break-all;background:0 0}.jodit_filebrowser .jodit_filebrowser_files.active a+.jodit_filebrowser_source_title{margin-top:10px}.jodit_filebrowser .jodit_filebrowser_files.active a{vertical-align:top;display:inline-block;width:150px;height:150px;line-height:150px;text-align:center;border:1px solid #ccc;margin:5px 5px 10px 5px;font-size:0;overflow:hidden;transition:border .1s linear,bottom .1s linear;box-sizing:content-box;position:relative}.jodit_filebrowser .jodit_filebrowser_files.active a img{max-width:100%;vertical-align:middle}.jodit_filebrowser .jodit_filebrowser_files.active a:hover{border-color:#433b5c}.jodit_filebrowser .jodit_filebrowser_files.active a.active{border-color:#b5b5b5;background-color:#b5b5b5}.jodit_filebrowser .jodit_filebrowser_files.active a .jodit_filebrowser_files_item-info{position:absolute;right:0;left:0;bottom:0;white-space:normal;opacity:.85;overflow:visible;padding:.3em .6em;transition:opacity .4s ease;background-color:#e9e9e9;color:#333;text-shadow:#eee 0 1px 0;font-size:14px;line-height:16px;text-align:left}.jodit_filebrowser .jodit_filebrowser_files.active a .jodit_filebrowser_files_item-info>span{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:.75em}.jodit_filebrowser .jodit_filebrowser_files.active a .jodit_filebrowser_files_item-info>span.jodit_filebrowser_files_item-info-filename{font-weight:700;font-size:.9em}.jodit_filebrowser .jodit_filebrowser_files.active a.active .jodit_filebrowser_files_item-info{background-color:#b5b5b5;color:#fff;text-shadow:none}.jodit_filebrowser .jodit_filebrowser_files.active a:hover .jodit_filebrowser_files_item-info{bottom:-100px}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a{display:block;width:100%;height:26px;line-height:26px;margin:0;border-width:0 0 1px 0;text-align:left;white-space:nowrap}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a img{max-width:16px;vertical-align:middle;display:inline-block;margin-left:4px}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a .jodit_filebrowser_files_item-info{padding:0;position:static;display:inline-block;width:calc(100% - 20px);margin-left:4px;background-color:transparent;height:100%;line-height:inherit;vertical-align:middle}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a .jodit_filebrowser_files_item-info>span{display:inline-block;height:100%}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a .jodit_filebrowser_files_item-info>span.jodit_filebrowser_files_item-info-filename{width:50%}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a .jodit_filebrowser_files_item-info>span.jodit_filebrowser_files_item-info-filesize{width:25%}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a:hover{background-color:#433b5c}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a:hover .jodit_filebrowser_files_item-info{color:#fff;text-shadow:none}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a:before{height:100%;content:'';vertical-align:middle;display:inline-block}.jodit_filebrowser .jodit_filebrowser_tree.active+.jodit_filebrowser_files.active{width:69%}@media (max-width:480px){.jodit_filebrowser .jodit_filebrowser_tree.active+.jodit_filebrowser_files.active{width:auto;display:block}}.jodit_filebrowser_preview{text-align:center;min-width:300px;max-width:900px;max-height:700px;position:relative}.jodit_filebrowser_preview .jodit_filebrowser_preview_navigation{position:absolute;top:0;height:100%;left:0}.jodit_filebrowser_preview .jodit_filebrowser_preview_navigation-next{left:auto;right:0}.jodit_filebrowser_preview .jodit_filebrowser_preview_navigation svg{width:45px;height:45px;position:relative;top:50%;margin-top:-22px;transition:fill .3s linear;fill:#9e9ba7}.jodit_filebrowser_preview .jodit_filebrowser_preview_navigation:hover svg{fill:#000}.jodit_filebrowser_preview img{max-width:100%;max-height:100%}/*!
55
+ * Jodit Editor (https://xdsoft.net/jodit/)
56
+ * License https://xdsoft.net/jodit/license.html
57
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
58
+ */.jodit_grid{width:100%}.jodit_grid [class*=jodit_col-]{display:block;float:left}.jodit_grid .jodit_col-lg-5-5{width:100%}.jodit_grid .jodit_col-lg-4-5{width:80%}.jodit_grid .jodit_col-lg-3-5{width:60%}.jodit_grid .jodit_col-lg-2-5{width:40%}.jodit_grid .jodit_col-lg-1-5{width:20%}.jodit_grid .jodit_col-lg-4-4{width:100%}.jodit_grid .jodit_col-lg-3-4{width:75%}.jodit_grid .jodit_col-lg-2-4{width:50%}.jodit_grid .jodit_col-lg-1-4{width:25%}.jodit_grid:after,.jodit_grid:before{content:" ";display:table}.jodit_grid:after{clear:both}/*!
59
+ * Jodit Editor (https://xdsoft.net/jodit/)
60
+ * License https://xdsoft.net/jodit/license.html
61
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
62
+ */@-webkit-keyframes rotate{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.jodit_icon-loader{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABRsSURBVHja7F1/aJfVGn/33RgUg8FiNfK2WCykyS7GLoYyUbwYipZMumgLo+iPS9HlXhSHkRXdislESxMz0mapuaFo2myjkfnNlTQ2FJdTu8NvLVcrdbpcfGvxrfs823m/vXt3fjznvOedzr0PPJzzPe+7d+97Ps95nuc851fGAw884CD98ccfI1Jqmc3UpEyQz4FkMqRTgYshn8fymZ57SyGbzf5mENIOz9+ngE9Atg/SLkhPQHoWeEDn3SmpSZlJnvf7ypUrTpb7IyMjY+gGN6WWmaY84l2T3c+u58D1csjOgvwsyBdBvsDRo2zgMl/ZNM59vcAJ4Dj8nzikLa5QmBLv28YCfPd3li7gPHBMwKdcEwhCJgN6FoLOWJtUgiWovALG04FXsbI44xbgw8AplbaU/Q+ZQNgGf0gA/JWhC1aQyle1eN91rPRKKKuEsjzZvSph0m2RiutpIYRrfZC8B+l7kB6jgq0CnQIy9X39v2NYQW5FeUFQlQVN/aALyiYBPw/5M5B+Dvw02vMggqcDukEl57F3xHf9H747+4bA5oD6dzqaYEgAqIDbBl9RhvZ4H/B5yL+IDp3oXhmwNkm3lTLn80VIz+O3QFqm2/rHwgeI6QDOa006LZ3Q4lHNNwK3AVeYAD4WgmHQUivYNzWyb7xufICYaavXVbuKZ6MXfwRVJ+TnXW+Am/oMnNaO3/Y5pPitcyh/a6LqtXwAt+J01LVFEzAJ0jpIj7JunJYd1wHchnBQHUSC3Uan8WPgPVgHlBiBCcAkH4Da2i2DjwGZlcy5W0K17zLwVb9NgaY4iJpawJs+BCnWwUo3SKXT4oOAP8IHCFsIfMCguj8JaQ2kOaaA227d10ALuIR1gHVxErjctPtHBd8btSR3A4MIgSePAZxqVPeQlthq7ZRuZVABCVkLuGkJpGgKsY4ybfUEVO84qhsoAzSgrUfHZ1UQVe99B6o2oMYdwg7latAq5iROGoueQExW6UE0gCe/ANIh9SZ6jqkWsN3STZ0rHWEgpkNmEvILxqQbSAXaAPxqSBswQkbpbpo6fGPR0m3GBYjBIIwqNjCTEAr4wkBQUA0AjKNrdZCu0okAqgQhTKCDhFxV91BNgsDuYx3WQZptG3xtDUCJEDKvthGuLVEJlq4gUMyAylfQERadPrhKOHTmB3Ces4RFEXNsgW8UClbZcEhxqPQIpHOord2k1ZsAH4YvYNJXN3EgWX4Ocw4LbIEvDQSJfADJtULWxSuj+BBUP4DaC6D0DkyFg6JKTVo/5brvXqzbo2zSi3af3/9bGgrW1Ar5kH4MXEzVHEHVf5CuYZC4fti9AoI/gXX8Eda5Tp9f9I4xWWsnOoc5zNMv1okjmKp/vzay3epNJ4+YmALdoWBPWTHksc5zTU1AekqYt7LcWTruTYTZQdmQHoB0GuXv/de8L8e7xrsuA8kPNtx3AZIOxp3APc7wvD6kvi+//DLh3nvPPfegWs1jf4dBGGxpOA+hlOXzgw7VBjEBnDKcs4jzDOZDOmjqD2SJQFGBx9JaSOcQ7xVO2RIJhf86AfB+Z3huHs7Ra2pra+ugtubTp0+jMLgC0e6/ftddd6EgzMO5iGwSaq4NITCdLczy6GzXAj8KnDIxAaM0AKeViwCtgbRSNgGUJwQyDaACngO4w6S/CXgb8KEvvvgiFUaw59y5c64mWXvnnXdmsijdYxjpdP6cXh6oS0g1Bb48zpFEzValA3663pcuXaoleSzFltBIlWhRmWx+v6yMcQJ4PU7A/Oyzz/qca0R33HEHrjlAEJa73rns24JqA0keTUGTjglIJpNOxsMPP6wLfiGkx53hxRbcewwXc1BAx0u4gGMNcP2nn36acq4juv322ytZ5K7UlhBo5LER3AvcTXU60wKgYbsyWTCi3LTV6wLvKesGrvrkk0/qneucCgoKHoJkHbxvYRAhMMij/zMbVzZRTMAvv/wycj4AoRv4Mk7oII4HkLp+vC6drwxt/FrgKeMBfKTe3t69UMFTgPG9B3WcQdMeBsvjhJJqnYGqjMrKSmr/tZxNWAi87o9i+1l5O6SPNjc3dzrjlPLz83HyC/aWpqk0gWZUUHZtJvxuUZmAtAYgtHycr/a6qIXz2DQI5OH1UDRjPIOPdOHChU6o+JmQXW+68JYS4vUB/bozvN5RGAImdwPZA3AC51RKrMAfyBHFGCRBnz4oe7ypqemgc4PQxYsX0YytuOWWW3BRaa3DWd0U1A/w/Z4KvBx4jcoExAitE6dzPStr3RR/QKQ5fOUJ4PsaGxtvGPC9dOnSJfyu+7ALa9MJFPx+lkU05YNBBDVdg0uwKc4eAWCZ83cC8jM+/PDDLucGpr6+Pvy+GWz/ASs9AMFvd7ax1ATEFOBjmLdSBraN3gBwHHhmQ0NDrzMB6PLly73MUYubOs3EiB/GJebyTEB6QogCnGrV6KAFR7AVeP4HH3ww4EwgunLlCn7vfACi1UQDqMb5PWUvm5qAB3HESXNomKz2GaOHv/DAgQNJZwJSf38/fvdC3J5G1iPQnf3jK5sGvx80MQHP69hxHWZ/2wN8//vvv3/BmcD0008/XWCaoEcUJ6C0eoUWeFbXBOBCzTKKJ2/YExgEXrRv374eJyLn6tWrWA+LAJRBy+o/rQUQUx0TsFwzRKzLK/bu3dseQf8nDQwMYH2sCOL0ibx9Vr6cagIKmf0nxe8pguC7vn/Pnj2bIshH088//4z1st+m+veUI6ZFFBOwLGj/XqIh0O4/HkEtJgDmcZ4/EED9e69VKk0ACoDN1u/jqrq6uv4IZjElk0msnypbwPs0wTKVCUBnYbLuMC5REA7v3r37vQhikhBgPTWrTAEFeB9NZt3C0SbAr/6DdPM4jF7/PyNotUzBU26vgAo8x+7zri3jmgAgnOJdKYrVB9QEb+zcubMrgpVOv/76K9bXGzrACwTJfw1D+9k8EzAXOE8GviEPAK+JIDXSAlhvA7yWTWztvMfiXM65PBNQrgLfUBi2v/vuu70RnPo0ODjYC0BtN3D2VNfLR5gAz04eRn17yb0p4A0RlIEI6y+la/MV1xf4fYACSEtDiP031dbWRrY/AP32229dAGCTrs1XrHHEaesFXh+gXCfooyEM2yIIrdC2ADZ/1D1eM+CagHLJ5ExTxrl9hyLsrDiDWI99EjApgPvLRwhAmQh4HV/Axwe3bt06GMEXnFKpFK4tOBgQcH95WdoEAE01nc8Xi8VEArA3gs4q7VWpfsHaCpEg4GrnoeXhOEKUw3u4yZYqbGo4Lk2KR5hZpcOsXjO9GIm0AYFycTErmoDJVLWu0Tto3bJly0CEmT36/fffkzh/UKfVE3yLkix3Xx+v5FjYaaslgiwUZxDrdbrm38guF6EAFFKAF5kEwcFPrRFcoVCrIdAiKsSlYUWqFi/zBwTXOiKsQqGOIKe1cQRmSAPkmYIv0ADY9Yuif+GYgC5Wv9kB1L6X8lAA8k3BFwhB94YNG1IRXPYJutwpINwBpNjSI/O5AhDQGUxEUIVKCRMBEGiFIQG4yX+Daf+fPacvwihUM2Czfm/KcgMLtjZZhudEY//hks2VVJlZ7tJvi5SMMApVA9gMsOVkXYvDFiO6fggFACUqJ6qKcaMBbD5uAH2AlE0fIKJxRSnUAGizcykePtWzjOo1VA2gpa0V2CVRALBbURDwQV4qiGAKVQDyLZ571JfFum0lFqTJvScvgilUytPxAxSY9boawMbD3OtFEUahaoAinQap0gA4JSzhPswSFz733HOZEVT2KZlMYr0WesGV7KpOoQRqgG6DVi4rx5EqjFWfjSCz3vqLHd9IoGyYnoBjNwpAwhBoWXlpJAChCECpv66p5ycJBCSBcwI7daZ7E83FtAiuUGgaT/WLACaYhk4MBCVk0UDKWb2c3+URVqFogOm8OqccqMW5d+Dmm29OuGsDOyw7gmUvvfRSFBCySFevXsX6LBO1cIoG8NEQ5u7KoFbLi0Kz3fODI7JGeHbwTSJADcxCq1cAWnR39yYIQUWEmVX1X2G6SYTgnhavABwL0uoF91dUV1dnR9AFp/7+fjysq0IGvIEGODYkAOwa7t/XYXl3kDzgBRF8Vgg3eczT2SqGYP97vBoA83ELrd6/WPSJCDsr6v8Jw91BRdfS6za9ewQ1qVo9RQv47plXU1NTHEFoTpcvX8aTwueJgKdoAI4wpE8Y9e4SdtgdGLK4S1gm8L8jGAO1fqy/TNmiUE1hQIwPj9AADOQk7ugRdJ9ADj+2bt26aI6AAV26dAnr7THqnsFEYTgEnBRtFl0fwk6hOcCrIjiNaBXOAKIcuq3hG4w4fTXma+lNOEHEZFs4hcA8+eqrr0a+gAZdvHgRbf+TsrMDDMxBr2v/eT7A0L5+8HN7AKdPFhncHMGqZftfB84Wga0yBwKtsN1hk4B5PsCIrd0C2HwRz924cWNlBK2afvzxx0rX89c5Qo4gCNv85bwDI7r8XUKqynfL/KmHazZt2pQbQSymH374AffuqeEB7gWXCrzHFCCmXf5niE4NWxPkJFAJ41GmtRHMUtWP9TNJdYScgQZYo3NoFEYF21WmgAq8776KzZs3Px1BPZq+//57rJcKXhg3oClo90b/qCeHvqLjA2j6B+u2bNlSFkH+J3333XdlAMo6ntq3cJroK6K4gOzgyP2oBaj2nqIdPGXYKzjw5ptvToqgd5yenh5U+Qcgmy07UdxQA7QD7xfFClSnh68Oelag6H5n+Fj6j9566638iQz++fPn8wGMRq/dV4EviwVwrq0W9QpUJsAdINof5LRQxfNLgBu2bt06IaePffvttzjDp8EZ3r6dDL7sQEkfyAdVW82rjo9H/hdkB2y2ft89eEB149tvvz2hlqh/8803OazlTzMFX6ENcKLvU7LgEMUEuIc9vqLb+inBJE8ezyo+un379gkxaPT111/jdx4FEGbJwOd1A2VdQ9896Pj1qIJDMSJI6yHpNGnpGlHFqVgp77zzzg29tjCRSBQx8KfKWrmJBvDkO4HXU3oI7pQwFUDpc/8s9ABk14uB23bs2HFDTiU7d+7cAqj4NrbESxtojeAQYjWoOnyaqwF4AsFSnDm81lT1y2YZ+cpwLmHDzp07a3bt2nVDTCrt6urKBq5hDl8eBXCTHgGjtWxTaVK8IEYFjKWrvVPIdU8VE2kMgUCsBD6ye/fukvEM/ldffVUCFX4EsitVtl3UYjU0wDHg1dQIodQJFJShKXgE0j5dLaACn6MJkKcDH6+rq6uur68fV72EM2fO5Jw9e7YasseBp5u0cKoQsDxO9Vrqqn6R2hdGAjWEoBvSR03B9wPNA95HGDVcBXxqz549D40H8E+fPo3vecoZntGTreqzmwgBRyDw2Plu3TBxxmuvvcYFUQYwy+OQ5UoV6DITQzEJnGsdbLSyfvHixdfVptSnTp2qZMJaqtsVVtWbAiP0zap498ryt956q5OxYcMGyj/gpbhbxS5IlwSJBQQYYsZVzWtREBYtWnTN9ic+efIkOq1LmM9SZDKplioQgrJ6ZpZTVODd32kBIEoZL0UvvdFdCBoUfGo8gXM0/UHgHTireeHChaFrhePHj+N0dzxqdxnwg2xwS0vD6YIvwAOnd89nvhkZeJduu+02J2Pjxo0UKZO9GM7w+cjdFMIgCmiqAXj39bO5DPFYLNY8b948ayeXtLW1lbIT1mcxzjVZUGtqCjh44Bj/34H7ZXjJhCItAAHAd1Mc0fvcPYAqCPhBhIHDF5jP0MF2QkmwE02HTMjs2bPTpqOlpSXPVeHABSwoVcLsOebzTWZH2fADOClO7ZqB3yfDTWUSUACyiHZG9UJY0SiNH7PKIjsiqt6BooegIhTMOYxHUTweN3q26EAN/wkr3t+qvEaKczbvxzoXPcf7brL/a9oNFKXYPZzpnUpGlX6dbqHIDIRNlIWXsuibbjdQkGLdzoQ0YfJ/uJFAamsndllw19HZzDlxVGFmkcqilFnSEFotnnKNOlZPGQX0lWOdzoa01xR47nCwDtBEpwbHoedj94wy0KSKCOoIQhgaQrXZgkoYdMCXPAvrcr57WITuXEHlcLCu00cQGjza7BEcRjbRAFSNQAXXVAh0zuY1BV/Q2r3pekixnz+oGRomvVtMV9Vr3I/98RXAC73LzoM4grIWb1sIxgp8iSnAOlsIKdZhynB8QG8wiKIBDPyCQ5C9F0cRKY6gDFwZ2DaFIEzwCS3e3b/nXlzKras1dFr/KA2go/5FLVRwfzdzDtfodgupZoFqGohbqIYGPsH+Yx3NxF6V7D2omkXlmMZM1T8PDMXfoUl4BruKkHaaaANbtj2MnoEJ+L6/72RdvGe8Kt9kjqBOj4SsAUyvce7BCSV/Ba6C/EBYXcSg5oIKtqkj5ikbgLSKqfwWaheRWqZ6j1gIAFPuQW2AI3lTIN0b1CSonMSwYgCU6wqQ8NunsOHcQcozVKZIVwhiKjVuMEihY0YwevgPSDG0eUy3ezjWYOsEhRRAHWPf/A93Egc1MKTj+FGEIGZhIEgJiMzPYPlmHNxgjmLTtRSCsOw+o2YWzcNvbTYIBVsVgrQGsAW+6cCSJx9nUcS/QbrfVAjCDgQZ/P1+yOM33Q9pPMizqCaAKgSxsMCntk6B2sdVyYsh/QvwC7hriY4QhCkUGi0e3/kF/AYow29pJ8YArJkAihDEwgRfVyNw8rif7X+B74Y8qs03nOGNDq0IgQ3Afff0sXecAfm72bv3UFoxpdWbtH7V32cFcfgoLcyCEKQdJ9zVHNL/AM9ijOP808MYD/CP7UvuO8ZGP+OMB3nP4T1PNfYvey/KXAPKd2XpevA27iWYANk9g8yZamblOa5A4FQtZ/jEsjybWsBTaX1sQkbcA/iACAQd0E2EQgU8RUiyKC02qGnQjS6qwPP9LQJwiLFLuUwQcBuaIiYQuBjTPc8wk/32VtYJFq104xQnmLlJMPuNNr3fUEuQQtDUVm8DeNcc/F+AAQBKd8HaIWdjwQAAAABJRU5ErkJggg==) no-repeat center;background-size:100% 100%;width:128px;height:128px;display:inline-block;vertical-align:middle;will-change:transform;-webkit-animation:rotate 2s ease-out 0s infinite;animation:rotate 2s ease-out 0s infinite}.jodit_icon{font-style:normal;display:inline-block;width:14px;height:14px;line-height:14px;font-size:8px;vertical-align:middle;fill:#222;-webkit-transform-origin:0 0!important;transform-origin:0 0!important}.jodit_toolbar_size-small .jodit_icon{width:12px;height:12px;line-height:12px}.jodit_toolbar_size-large .jodit_icon{width:16px;height:16px;line-height:16px}/*!
63
+ * Jodit Editor (https://xdsoft.net/jodit/)
64
+ * License https://xdsoft.net/jodit/license.html
65
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
66
+ */.jodit_image_editor{width:100%;height:100%;padding:10px;overflow:hidden}@media (max-width:768px){.jodit_image_editor{height:auto}}.jodit_image_editor>div,.jodit_image_editor>div>div{height:100%}@media (max-width:768px){.jodit_image_editor>div,.jodit_image_editor>div>div{height:auto;min-height:200px}}.jodit_image_editor *{box-sizing:border-box}.jodit_image_editor .jodit_image_editor_slider-title{text-shadow:#f3f3f3 0 1px 0;color:#333;border-bottom:1px solid rgba(158,158,158,.31);background-color:#f9f9f9;padding:.8em 1em;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-weight:700;line-height:1em}.jodit_image_editor .jodit_image_editor_slider-title svg{margin-right:10px;width:16px;display:inline-block;vertical-align:middle}.jodit_image_editor .jodit_image_editor_slider-content{display:none}.jodit_image_editor .jodit_image_editor_slider.active .jodit_image_editor_slider-title{background-color:#5d5d5d;color:#fff;text-shadow:#000 0 1px 0}.jodit_image_editor .jodit_image_editor_slider.active .jodit_image_editor_slider-title svg{fill:#fff}.jodit_image_editor .jodit_image_editor_slider.active .jodit_image_editor_slider-content{display:block}.jodit_image_editor_area{background-color:#eee;background-image:linear-gradient(45deg,#ccc 25%,transparent 25%,transparent 75%,#ccc 75%,#ccc),linear-gradient(45deg,#ccc 25%,transparent 25%,transparent 75%,#ccc 75%,#ccc);background-size:30px 30px;background-position:0 0,15px 15px;height:100%;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none}.jodit_image_editor_area.active{display:block}.jodit_image_editor_area .jodit_image_editor_box{overflow:hidden;position:relative;z-index:1;pointer-events:none;height:100%}.jodit_image_editor_area .jodit_image_editor_box img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;max-width:100%;max-height:100%}.jodit_image_editor_area .jodit_image_editor_croper,.jodit_image_editor_area .jodit_image_editor_resizer{z-index:2;width:100px;height:100px;position:absolute;box-shadow:0 0 11px #000;border:1px solid #fff;background-repeat:no-repeat;top:10px;left:20px;pointer-events:none}.jodit_image_editor_area .jodit_image_editor_croper i.jodit_bottomright,.jodit_image_editor_area .jodit_image_editor_resizer i.jodit_bottomright{position:absolute;display:inline-block;border:1px solid #383838;z-index:4;background-color:#8c7878;cursor:se-resize;border-radius:10px;height:20px;width:20px;right:-10px;bottom:-10px;box-shadow:0 0 11px #000;pointer-events:all}.jodit_image_editor_area .jodit_image_editor_croper i.jodit_bottomright:active,.jodit_image_editor_area .jodit_image_editor_resizer i.jodit_bottomright:active{border:1px solid #ff0}.jodit_image_editor_area.jodit_image_editor_area_crop{height:100%;background:#eee;text-align:center;line-height:100%;position:relative}.jodit_image_editor_area.jodit_image_editor_area_crop:before{content:'';line-height:100%;vertical-align:middle;height:100%;display:inline-block}.jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box{height:100%;overflow:visible;display:inline-block;vertical-align:middle;pointer-events:all;font-size:0;text-align:left;line-height:100%}.jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box img{max-width:100%;max-height:100%}.jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box:before{content:'';line-height:100%;vertical-align:middle;height:100%;display:inline-block}.jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;margin:auto;background:rgba(255,255,255,.3);z-index:1}.jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box .jodit_image_editor_croper{pointer-events:all;cursor:move}.jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box .jodit_image_editor_croper i.jodit_sizes{font-size:12px;white-space:pre;position:absolute;bottom:-30px;left:100%;text-align:center;color:#fff;text-shadow:none;background:rgba(0,0,0,.2);border-radius:.4em;padding:9px 6px;display:block}/*!
67
+ * Jodit Editor (https://xdsoft.net/jodit/)
68
+ * License https://xdsoft.net/jodit/license.html
69
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
70
+ */.jodit_properties svg{font-style:normal;display:inline-block;width:14px;height:14px;line-height:14px;font-size:8px;overflow:hidden;vertical-align:middle;fill:#222;-webkit-transform-origin:0 0!important;transform-origin:0 0!important}.jodit_properties #tabsbox{padding:10px}.jodit_properties #tabsbox .jodit_form_group{padding:0}.jodit_properties .jodit_properties_view_box{padding:10px}.jodit_properties .jodit_properties_view_box .jodit_properties_image_view{height:150px;text-align:center;line-height:1;vertical-align:middle;padding:0;background-color:#f6f6f6;margin:0;vertical-align:baseline;font-size:100%;margin-bottom:10px}.jodit_properties .jodit_properties_view_box .jodit_properties_image_view:before{content:'';display:inline-block;vertical-align:middle;height:100%}.jodit_properties .jodit_properties_view_box .jodit_properties_image_view img{max-width:100%;max-height:100%;vertical-align:middle}.jodit_properties .jodit_properties_view_box .jodit_properties_image_sizes.jodit_form_group{padding:0!important;margin:0!important}.jodit_properties .jodit_properties_view_box .jodit_properties_image_sizes.jodit_form_group a{display:inline-block;cursor:pointer}.jodit_properties .jodit_properties_view_box .jodit_properties_image_sizes.jodit_form_group input[type=number]{display:inline-block!important;width:calc(50% - 8px)!important}/*!
71
+ * Jodit Editor (https://xdsoft.net/jodit/)
72
+ * License https://xdsoft.net/jodit/license.html
73
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
74
+ */.jodit_toolbar,.jodit_toolbar *{box-sizing:border-box}.jodit_toolbar{position:relative;left:0;top:0;margin:0!important;padding:0!important;list-style:none!important;font-size:0;background:#f9f9f9;box-shadow:0 1px 3px rgba(0,0,0,.25);z-index:5;min-height:15px!important}.jodit_toolbar+.jodit_toolbar_dummy{display:none}.jodit_toolbar.jodit_fly{position:absolute;left:0;right:0;z-index:30000;background:#fff}.jodit_toolbar.jodit_sticky{position:fixed;position:-webkit-sticky;position:sticky;z-index:3;top:0;left:auto}.jodit_toolbar.jodit_sticky+.jodit_toolbar_dummy{display:block}.jodit_toolbar .jodit_toolbar_btn>a{color:#000;text-decoration:none;display:block;background:no-repeat center center}.jodit_toolbar>li.jodit_toolbar_btn{display:inline-block!important;vertical-align:top;margin:0!important;padding:0;padding-right:0;list-style:none!important;outline:0;position:relative;text-align:center;cursor:pointer;transition:background-color .2s linear,opacity .1s linear}.jodit_toolbar>li.jodit_toolbar_btn.jodit_disabled{background-color:transparent!important;opacity:.3;cursor:default}.jodit_toolbar>li.jodit_toolbar_btn.jodit_disabled a{cursor:default}.jodit_toolbar>li.jodit_toolbar_btn.jodit_toolbar_btn-separator{border-left:0 solid rgba(211,211,211,.6);border-right:1px solid #f1f1f1;padding:0;margin:2px -1px 0!important;cursor:default}.jodit_toolbar>li.jodit_toolbar_btn.jodit_toolbar_btn-break{display:block!important;width:auto;border-top:1px solid #f1f1f1;border-bottom:1px solid rgba(211,211,211,.6);height:0}.jodit_toolbar>li.jodit_toolbar_btn .jodit_toolbar_btn>a,.jodit_toolbar>li.jodit_toolbar_btn>a{width:100%;line-height:200%;height:100%;display:inline-block;outline:0;text-decoration:none}.jodit_toolbar>li.jodit_toolbar_btn .jodit_toolbar_btn>a+.jodit_tooltip,.jodit_toolbar>li.jodit_toolbar_btn>a+.jodit_tooltip{opacity:0;visibility:hidden;position:absolute;transition:opacity .4s linear;background:#727171;color:#fff;font-size:12px;line-height:15px;padding:4px 5px;font-family:Arial,sans-serif;left:50%;margin-left:-45px;z-index:10001;width:90px;transition:opacity .3s linear}@media (max-width:768px){.jodit_toolbar>li.jodit_toolbar_btn .jodit_toolbar_btn>a+.jodit_tooltip,.jodit_toolbar>li.jodit_toolbar_btn>a+.jodit_tooltip{display:none}}.jodit_toolbar>li.jodit_toolbar_btn .jodit_toolbar_btn>a:after,.jodit_toolbar>li.jodit_toolbar_btn>a:after{content:'';display:inline-block;height:100%;vertical-align:middle}.jodit_toolbar>li.jodit_toolbar_btn .jodit_toolbar_btn>a:hover+.jodit_tooltip,.jodit_toolbar>li.jodit_toolbar_btn>a:hover+.jodit_tooltip{visibility:visible;opacity:1}.jodit_toolbar>li.jodit_toolbar_btn .jodit_toolbar_btn>a:active+.jodit_tooltip,.jodit_toolbar>li.jodit_toolbar_btn>a:active+.jodit_tooltip{visibility:hidden!important}.jodit_toolbar>li.jodit_toolbar_btn.jodit_disabled .jodit_tooltip{display:none!important}.jodit_toolbar>li.jodit_toolbar_btn>a{line-height:100%}.jodit_toolbar>li.jodit_toolbar_btn .jodit_popap_open,.jodit_toolbar>li.jodit_toolbar_btn.jodit_dropdown_open .jodit_tooltip,.jodit_toolbar>li.jodit_toolbar_btn.jodit_popup_open .jodit_tooltip{visibility:hidden!important}.jodit_toolbar>li.jodit_toolbar_btn:hover{background-color:#dde4ef;outline:0}.jodit_toolbar>li.jodit_toolbar_btn:first-child .jodit_tooltip{left:0;margin:0}.jodit_toolbar>li.jodit_toolbar_btn.jodit_active,.jodit_toolbar>li.jodit_toolbar_btn:active{background-color:#ddd;outline:0}.jodit_toolbar>li.jodit_toolbar_btn.jodit-btn-hidden{display:none!important}.jodit_toolbar>li.jodit_toolbar_btn.jodit_with_dropdownlist .jodit_with_dropdownlist-trigger{width:0;height:0;border-right:3px solid transparent;border-left:3px solid transparent;border-top:3px solid #4c4c4c;display:inline-block;vertical-align:middle;margin-left:3px}.jodit_toolbar>li{width:30px;height:30px;line-height:30px}.jodit_toolbar>li.jodit_toolbar_btn-separator{height:26px;width:0}.jodit_toolbar_size-small .jodit_toolbar{min-height:12px!important}.jodit_toolbar_size-small .jodit_toolbar>li{width:24px;height:24px;line-height:24px}.jodit_toolbar_size-small .jodit_toolbar>li.jodit_toolbar_btn-separator{height:20px;width:0}.jodit_toolbar_size-large .jodit_toolbar{min-height:18px!important}.jodit_toolbar_size-large .jodit_toolbar>li{width:36px;height:36px;line-height:36px}.jodit_toolbar_size-large .jodit_toolbar>li.jodit_toolbar_btn-separator{height:32px;width:0}.jodit_toolbar_popup{position:absolute;z-index:10;top:100%;margin-top:10px;padding-top:0;left:0;font-size:14px;line-height:14px!important;background:#fff;box-shadow:0 2px 4px rgba(0,0,0,.2);border:1px solid rgba(0,0,0,.2)}.jodit_toolbar_popup>*{margin:10px}.jodit_toolbar_popup:before{content:'';width:8px;height:8px;position:absolute;top:-5px;left:9px;display:inline-block;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:#fff;border:1px solid rgba(0,0,0,.2);border-width:1px 0 0 1px;z-index:6}.jodit_toolbar_popup.jodit_right{left:auto;right:0}.jodit_toolbar_popup.jodit_right:before{left:auto;right:14px}.jodit_toolbar_popup .jodit_form_inserter{min-width:190px}.jodit_toolbar_popup .jodit_form_inserter div{width:18px;height:18px;display:inline-block;position:relative}.jodit_toolbar_popup .jodit_form_inserter div:after{content:'';position:absolute;top:0;left:0;display:inline-block;width:12px;height:12px;border:1px solid #ccc}.jodit_toolbar_popup .jodit_form_inserter div.hovered:after{background:#7a450f;border:solid 1px #b5b5b5}.jodit_toolbar_popup .jodit_form_inserter label{text-align:center;font-size:14px;padding:8px;display:block;margin:0}.jodit_toolbar .jodit_toolbar_btn>svg{max-width:50%;vertical-align:middle;font-smoothing:antialiased}/*!
75
+ * Jodit Editor (https://xdsoft.net/jodit/)
76
+ * License https://xdsoft.net/jodit/license.html
77
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
78
+ */.jodit_draganddrop_file_box,.jodit_uploadfile_button{position:relative;width:220px;border:dashed 1px #ccc;padding:25px 0;margin:10px 0;text-align:center;overflow:hidden}.jodit_draganddrop_file_box:hover,.jodit_uploadfile_button:hover{background-color:#ecebe9}.jodit_draganddrop_file_box input,.jodit_uploadfile_button input{cursor:pointer;position:absolute;top:0;bottom:0;right:0;margin:0;padding:0;opacity:0;font-size:400px}@media (max-width:768px){.jodit_draganddrop_file_box{width:auto;max-width:100%;min-width:120px}}/*!
79
+ * Jodit Editor (https://xdsoft.net/jodit/)
80
+ * License https://xdsoft.net/jodit/license.html
81
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
82
+ */.jodit_form input[type=text],.jodit_form input[type=url],.jodit_form textarea{-webkit-appearance:none;-moz-appearance:none;display:block;outline:0;border:1px solid #b5b5b5;height:28px;line-height:28px;padding:0 5px;min-width:220px;margin-top:10px}.jodit_form input[type=text].jodit_error,.jodit_form input[type=url].jodit_error,.jodit_form textarea.jodit_error{border-color:#f7d1d1;box-shadow:inset 0 0 3px 0 rgba(189,189,189,.3)}@media (max-width:768px){.jodit_form input[type=text],.jodit_form input[type=url],.jodit_form textarea{min-width:150px}}.jodit_form textarea{height:128px}.jodit_form button{height:36px;line-height:1;color:#000;padding:10px;cursor:pointer;text-decoration:none;border:none;background:#d6d6d6;font-size:16px;outline:0;transition:background .2s ease 0s;margin-top:10px;margin-bottom:10px}.jodit_form button:hover{background-color:#ecebe9;color:#000}.jodit_form button:active{background:#ecebe9;color:#000}.jodit_form input[type=checkbox]{display:inline-block;z-index:2;border:0 none;cursor:pointer;height:16px;margin:0;padding:0;width:16px;position:relative;top:3px}.jodit_form input[type=checkbox]:after{content:'';background:#fff;border:solid 1px rgba(225,225,225,.99);border-radius:2px;background-clip:padding-box;width:16px;height:16px;display:inline-block;position:relative;z-index:1;box-sizing:border-box;transition:background .2s ease 0s,border-color .2s ease 0s}.jodit_form input[type=checkbox]:checked:after{background:url(data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20d%3D%22M27%204l-15%2015-7-7-5%205%2012%2012%2020-20z%22%20fill%3D%22%23FFF%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E) no-repeat center center;background-color:#b5b5b5;border-color:#b5b5b5}.jodit_form label{margin-top:10px;display:block;text-align:left}.jodit_form form:after{content:"";display:table;clear:both}/*!
83
+ * Jodit Editor (https://xdsoft.net/jodit/)
84
+ * License https://xdsoft.net/jodit/license.html
85
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
86
+ */.jodit_about{padding:20px}.jodit_about a{color:#459ce7;text-decoration:none}.jodit_about a:focus,.jodit_about a:hover{color:#23527c;text-decoration:underline;outline:0}.jodit_about div{margin-bottom:5px}/*!
87
+ * Jodit Editor (https://xdsoft.net/jodit/)
88
+ * License https://xdsoft.net/jodit/license.html
89
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
90
+ */.jodit_colorpicker{min-width:180px;text-align:left;margin:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit_colorpicker .jodit_colorpicker_group{margin-bottom:5px}.jodit_colorpicker a{width:18px;height:18px;line-height:16px;display:inline-block;vertical-align:middle;text-align:center}.jodit_colorpicker a:before{content:'';display:inline-block;height:100%;vertical-align:middle;width:0}.jodit_colorpicker a svg{display:inline-block;vertical-align:middle;font-smoothing:antialiased;max-width:14px}.jodit_colorpicker a:hover{border-color:#000}.jodit_colorpicker a:active{background:#d6d6d6;color:#b5b5b5}/*!
91
+ * Jodit Editor (https://xdsoft.net/jodit/)
92
+ * License https://xdsoft.net/jodit/license.html
93
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
94
+ */@-webkit-keyframes pulse{30%{opacity:.6}60%{opacity:0}to{opacity:.6}}@keyframes pulse{30%{opacity:.6}60%{opacity:0}to{opacity:.6}}.jodit_progress_bar{position:absolute;top:0;left:0;height:2px;z-index:2147483647;border-radius:1px;display:none}.jodit_progress_bar div{position:relative;background:#b91f1f;height:2px;transition:width .5s ease-out,opacity .5s linear;will-change:width,opacity}.jodit_progress_bar div:after,.jodit_progress_bar div:before{-webkit-animation:pulse 2s ease-out 0s infinite;animation:pulse 2s ease-out 0s infinite;content:'';display:inline-block;position:absolute;top:0;height:2px;box-shadow:#b91f1f 1px 0 6px 1px;border-radius:100%;opacity:.6}.jodit_progress_bar div:before{width:180px;right:-80px;clip:rect(-6px,90px,14px,-6px)}.jodit_progress_bar div:after{width:20px;right:0;clip:rect(-6px,22px,14px,10px)}/*!
95
+ * Jodit Editor (https://xdsoft.net/jodit/)
96
+ * License https://xdsoft.net/jodit/license.html
97
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
98
+ */.jodit_tabs .jodit_tabs_buttons{line-height:18px;margin-bottom:5px;margin-top:4px}.jodit_tabs .jodit_tabs_buttons>a{display:inline-block;text-decoration:none;font-size:11px;font-weight:700;text-align:center;white-space:nowrap;height:29px;line-height:27px;position:relative;vertical-align:middle;transition:background .1s linear;text-overflow:ellipsis;overflow:hidden;box-shadow:none;background-color:#f5f5f5;color:#737373;border:1px solid rgba(0,0,0,.1);outline:0}@media (max-width:768px){.jodit_tabs .jodit_tabs_buttons>a{width:100%!important;border-radius:0!important}}.jodit_tabs .jodit_tabs_buttons>a+a{margin-left:-1px}.jodit_tabs .jodit_tabs_buttons>a i,.jodit_tabs .jodit_tabs_buttons>a svg{width:16px;height:16px;display:inline-block;vertical-align:sub;margin-right:5px;fill:#737373}.jodit_tabs .jodit_tabs_buttons>a:hover{border:1px solid #c6c6c6;color:#111;box-shadow:none;background-color:#f8f8f8;outline:0}.jodit_tabs .jodit_tabs_buttons>a:hover i,.jodit_tabs .jodit_tabs_buttons>a:hover svg{fill:#111}.jodit_tabs .jodit_tabs_buttons>a.active,.jodit_tabs .jodit_tabs_buttons>a:active{outline:0;background:#fff;border:1px solid #ccc;color:#333}.jodit_tabs .jodit_tabs_buttons>a.active i,.jodit_tabs .jodit_tabs_buttons>a.active svg,.jodit_tabs .jodit_tabs_buttons>a:active i,.jodit_tabs .jodit_tabs_buttons>a:active svg{fill:#333}.jodit_tabs .jodit_tabs_wrapper .jodit_tab{display:none}.jodit_tabs .jodit_tabs_wrapper .jodit_tab.active{display:block}.jodit_tabs .jodit_tabs_wrapper .jodit_tab .jodit_tab_empty{min-width:220px;min-height:100px}/*!
99
+ * Jodit Editor (https://xdsoft.net/jodit/)
100
+ * License https://xdsoft.net/jodit/license.html
101
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
102
+ */.jodit-add-new-line{box-sizing:border-box;z-index:4;position:absolute;height:20px;top:0;outline:0;margin-top:-10px;padding:5px;vertical-align:middle;display:none}.jodit-add-new-line *{box-sizing:border-box}.jodit-add-new-line:before{vertical-align:top;content:'';border-top:1px solid #ccc;display:inline-block;width:calc(100% - 30px)}.jodit-add-new-line span{display:inline-block;width:30px;height:20px;background:rgba(236,235,233,.3);vertical-align:top;border:1px solid #ccc;padding:0 5px;cursor:pointer}.jodit-add-new-line span:hover{background:#ecebe9}.jodit-add-new-line svg{width:16px;fill:#ccc;vertical-align:top}.jodit-add-new-line.jodit-add-new-line_after{margin-top:-20px}.jodit-add-new-line.jodit-add-new-line_after:before{vertical-align:bottom}.jodit-add-new-line.jodit-add-new-line_after span{vertical-align:bottom}.jodit_source_mode .jodit-add-new-line{display:none!important}/*!
103
+ * Jodit Editor (https://xdsoft.net/jodit/)
104
+ * License https://xdsoft.net/jodit/license.html
105
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
106
+ */.jodit_error_box_for_messages{position:absolute;right:0;bottom:0;width:0;height:0;overflow:visible;z-index:3}.jodit_error_box_for_messages>*{position:absolute;right:5px;bottom:0;display:block;transition:opacity .1s linear,bottom .3s linear;opacity:0;background:rgba(255,0,0,.29);color:#e02b2b;padding:2px 7px;border:1px solid rgba(226,117,117,.44);font-size:14px;white-space:pre}.jodit_error_box_for_messages>.active{opacity:1}.jodit_error_box_for_messages>.info{background:rgba(204,229,247,.71);color:#776565;border:1px solid rgba(154,154,154,.44)}.jodit_error_box_for_messages>.success{background:rgba(77,236,112,.29);color:#5d5a5a;border:1px solid rgba(148,148,148,.44)}/*!
107
+ * Jodit Editor (https://xdsoft.net/jodit/)
108
+ * License https://xdsoft.net/jodit/license.html
109
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
110
+ */.jodit_fullsize_box{z-index:100000!important;position:static!important;overflow:visible!important}body.jodit_fullsize_box,html.jodit_fullsize_box{height:0!important;width:0!important;overflow:initial!important}html.jodit_fullsize_box{position:fixed!important}.jodit_fullsize{position:absolute;top:0;left:0;right:0;bottom:0;z-index:100000}.jodit_fullsize .toolbar{width:100%!important}.jodit_fullsize .jodit_area,.jodit_fullsize .jodit_editor{height:100%}.jodit_fullsize .jodit_workflow{height:calc(100% - 22.5px);overflow:auto}.jodit_fullsize.jodit_toolbar_size-small .jodit_workflow{height:calc(100% - 18px)}.jodit_fullsize.jodit_toolbar_size-large .jodit_workflow{height:calc(100% - 27px)}/*!
111
+ * Jodit Editor (https://xdsoft.net/jodit/)
112
+ * License https://xdsoft.net/jodit/license.html
113
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
114
+ */.jodit_placeholder{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;top:0;left:0;display:block;position:absolute;padding:10px;color:rgba(0,0,0,.35);z-index:1;pointer-events:none}/*!
115
+ * Jodit Editor (https://xdsoft.net/jodit/)
116
+ * License https://xdsoft.net/jodit/license.html
117
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
118
+ */.jodit_toolbar_popup-inline{position:absolute;display:none;color:rgba(225,225,225,.99);background:#fff;box-shadow:none;background-clip:padding-box;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin-top:10px;z-index:100001!important;text-align:left;border:0;border:1px solid rgba(225,225,225,.99)}.jodit_toolbar_popup-inline.active{display:block}.jodit_toolbar_popup-inline:before{content:'';width:8px;height:8px;position:absolute;top:-5px;left:50%;margin-left:-4px;display:inline-block;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:#fff;border:1px solid rgba(225,225,225,.99);border-width:1px 0 0 1px;z-index:6}.jodit_toolbar_popup-inline .jodit_toolbar{z-index:7}.jodit_toolbar_popup-inline .buttons{box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);padding:0 2px;white-space:nowrap;line-height:0;border-bottom:0}/*!
119
+ * Jodit Editor (https://xdsoft.net/jodit/)
120
+ * License https://xdsoft.net/jodit/license.html
121
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
122
+ */[data-jodit_iframe_wrapper]{display:block;clear:both;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative}[data-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_resizer{width:100px;height:100px;position:absolute;border:1px solid rgba(3,14,82,.92);top:0;left:0;display:none;pointer-events:none}.jodit_resizer *{box-sizing:border-box}.jodit_resizer>i{position:absolute;display:inline-block;z-index:4;pointer-events:all;border:1px solid rgba(3,14,82,.92);background-color:#10732e;width:10px;height:10px}.jodit_resizer>i:nth-child(1){left:-5px;top:-5px;cursor:nw-resize}.jodit_resizer>i:nth-child(2){right:-5px;top:-5px;cursor:ne-resize}.jodit_resizer>i:nth-child(3){right:-5px;bottom:-5px;cursor:se-resize}.jodit_resizer>i:nth-child(4){left:-5px;bottom:-5px;cursor:sw-resize}@media (max-width:768px){.jodit_resizer>i{width:20px;height:20px}.jodit_resizer>i:nth-child(1){left:-10px;top:-10px;cursor:nw-resize}.jodit_resizer>i:nth-child(2){right:-10px;top:-10px;cursor:ne-resize}.jodit_resizer>i:nth-child(3){right:-10px;bottom:-10px;cursor:se-resize}.jodit_resizer>i:nth-child(4){left:-10px;bottom:-10px;cursor:sw-resize}}/*!
123
+ * Jodit Editor (https://xdsoft.net/jodit/)
124
+ * License https://xdsoft.net/jodit/license.html
125
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
126
+ */.jodit_editor_resize{position:relative}.jodit_editor_resize a{position:absolute;bottom:0;right:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:0;height:0;overflow:hidden;border-width:7px 7px 0 0;border-color:transparent #ccc transparent transparent;border-style:dashed solid dashed dashed;cursor:se-resize}/*!
127
+ * Jodit Editor (https://xdsoft.net/jodit/)
128
+ * License https://xdsoft.net/jodit/license.html
129
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
130
+ */.jodit_source{display:none;position:relative;background-color:#f8f8f8;min-height:100%;-webkit-box-flex:1;-ms-flex:1;flex:1}.jodit_source .jodit_source_mirror-fake{min-height:100%}.jodit_container.jodit_source_mode .jodit_wysiwyg,.jodit_container.jodit_source_mode .jodit_wysiwyg_iframe{display:none!important}.jodit_container.jodit_source_mode .jodit_source{display:block!important}.jodit_container.jodit_split_mode .jodit_source,.jodit_container.jodit_split_mode .jodit_wysiwyg,.jodit_container.jodit_split_mode .jodit_wysiwyg_iframe{display:block!important;width:50%;-webkit-box-flex:1;-ms-flex:1;flex:1}.jodit_source_mirror{border:0;width:100%;background:#3f3f3f;margin:0;height:100%;box-shadow:none;resize:none;box-sizing:border-box;color:#f0f0f0;outline:0;font-family:Menlo,Monaco,monospace,sans-serif;font-size:13px;line-height:1.3em;z-index:2;padding:10px;overflow:auto;white-space:pre-wrap;-moz-tab-size:2em;-o-tab-size:2em;tab-size:2em;min-height:100%}.jodit_source_mirror::-moz-selection{background:#bdbdbd}.jodit_source_mirror::selection{background:#bdbdbd}/*!
131
+ * Jodit Editor (https://xdsoft.net/jodit/)
132
+ * License https://xdsoft.net/jodit/license.html
133
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
134
+ */.jodit_table_resizer{cursor:col-resize;position:fixed;z-index:3;padding-left:5px;padding-right:5px;margin-left:-5px}.jodit_table_resizer:after{content:'';display:block;height:100%;width:0;border:1px solid transparent;border-width:0 1px 0 0}.jodit_table_resizer-moved{z-index:2}.jodit_table_resizer-moved:after{border-color:#1e88e5}.jodit_wysiwyg table{width:100%;border:none;border-collapse:collapse;empty-cells:show;max-width:100%}.jodit_wysiwyg table tr{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit_wysiwyg table tr td,.jodit_wysiwyg table tr th{border:1px solid #ddd;padding:2px 5px;text-align:left;vertical-align:middle;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.jodit_wysiwyg table tr td[data-jodit-selected-cell],.jodit_wysiwyg table tr th[data-jodit-selected-cell]{border:1px double #1e88e5}/*!
135
+ * Jodit Editor (https://xdsoft.net/jodit/)
136
+ * License https://xdsoft.net/jodit/license.html
137
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
138
+ */.jodit_text_icons .jodit_icon{width:auto;font-size:13px}.jodit_text_icons .jodit_icon::first-letter{text-transform:uppercase}.jodit_text_icons .jodit_tabs .jodit_tabs_buttons>a{font-family:Arial,"Helvetica Neue",Helvetica,Tahoma,sans-serif;width:auto}.jodit_text_icons .jodit_tabs .jodit_tabs_buttons>a i{width:auto}.jodit_text_icons .jodit_toolbar>li{width:auto}.jodit_text_icons .jodit_toolbar>li>a{padding:0 12px;font-family:Arial,"Helvetica Neue",Helvetica,Tahoma,sans-serif;width:auto;text-decoration:none;color:rgba(0,0,0,.75)}.jodit_text_icons.jodit_dialog_box .jodit_dialog .jodit_button,.jodit_text_icons.jodit_dialog_box .jodit_dialog .jodit_dialog_header a{width:auto;padding:0 12px;font-family:Arial,"Helvetica Neue",Helvetica,Tahoma,sans-serif;color:rgba(0,0,0,.75)}.jodit_text_icons.jodit_dialog_box .jodit_dialog .jodit_button .jodit_icon,.jodit_text_icons.jodit_dialog_box .jodit_dialog .jodit_dialog_header a .jodit_icon{width:auto}/*!
139
+ * Jodit Editor (https://xdsoft.net/jodit/)
140
+ * License https://xdsoft.net/jodit/license.html
141
+ * Copyright 2013-2017 Valeriy Chupurnov xdsoft.net
142
+ */.jodit_widget{box-sizing:border-box}.jodit_widget *{box-sizing:border-box}
metadata ADDED
@@ -0,0 +1,51 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jodit
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.1.3
5
+ platform: ruby
6
+ authors:
7
+ - Wentao Liu
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-12-21 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Rails assets wrapper for https://github.com/xdan/jodit
14
+ email:
15
+ - chupurnov@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - LICENSE
21
+ - README.md
22
+ - lib/jodit.rb
23
+ - lib/jodit/engine.rb
24
+ - lib/jodit/version.rb
25
+ - vendor/assets/javascripts/jodit/jodit.min.js
26
+ - vendor/assets/stylesheets/jodit/jodit.min.css
27
+ homepage: https://github.com/jodit/jodit-rails
28
+ licenses:
29
+ - MIT
30
+ metadata: {}
31
+ post_install_message:
32
+ rdoc_options: []
33
+ require_paths:
34
+ - lib
35
+ required_ruby_version: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ required_rubygems_version: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
45
+ requirements: []
46
+ rubyforge_project:
47
+ rubygems_version: 2.6.14
48
+ signing_key:
49
+ specification_version: 4
50
+ summary: A simple editor designed by xdan https://xdsoft.net/jodit/
51
+ test_files: []