jodit 4.9.9 → 4.9.11

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.
Files changed (124) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/es2015/jodit.css +1 -1
  3. package/es2015/jodit.fat.min.js +5 -5
  4. package/es2015/jodit.js +217 -71
  5. package/es2015/jodit.min.js +5 -5
  6. package/es2015/plugins/debug/debug.css +1 -1
  7. package/es2015/plugins/debug/debug.js +1 -1
  8. package/es2015/plugins/debug/debug.min.js +1 -1
  9. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  10. package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
  11. package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
  12. package/es2018/jodit.fat.min.js +5 -5
  13. package/es2018/jodit.min.js +5 -5
  14. package/es2018/plugins/debug/debug.min.js +1 -1
  15. package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
  16. package/es2021/jodit.css +1 -1
  17. package/es2021/jodit.fat.min.js +5 -5
  18. package/es2021/jodit.js +217 -71
  19. package/es2021/jodit.min.js +5 -5
  20. package/es2021/plugins/debug/debug.css +1 -1
  21. package/es2021/plugins/debug/debug.js +1 -1
  22. package/es2021/plugins/debug/debug.min.js +1 -1
  23. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  24. package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
  25. package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
  26. package/es2021.en/jodit.css +1 -1
  27. package/es2021.en/jodit.fat.min.js +5 -5
  28. package/es2021.en/jodit.js +217 -71
  29. package/es2021.en/jodit.min.js +5 -5
  30. package/es2021.en/plugins/debug/debug.css +1 -1
  31. package/es2021.en/plugins/debug/debug.js +1 -1
  32. package/es2021.en/plugins/debug/debug.min.js +1 -1
  33. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  34. package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
  35. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
  36. package/es5/jodit.css +2 -2
  37. package/es5/jodit.fat.min.js +2 -2
  38. package/es5/jodit.js +226 -71
  39. package/es5/jodit.min.css +2 -2
  40. package/es5/jodit.min.js +2 -2
  41. package/es5/plugins/debug/debug.css +1 -1
  42. package/es5/plugins/debug/debug.js +1 -1
  43. package/es5/plugins/debug/debug.min.js +1 -1
  44. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  45. package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
  46. package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
  47. package/es5/polyfills.fat.min.js +1 -1
  48. package/es5/polyfills.js +1 -1
  49. package/es5/polyfills.min.js +1 -1
  50. package/esm/config.d.ts +268 -88
  51. package/esm/config.js +166 -51
  52. package/esm/core/constants.js +1 -1
  53. package/esm/core/decorators/autobind/autobind.d.ts +0 -5
  54. package/esm/core/decorators/autobind/autobind.js +1 -1
  55. package/esm/core/decorators/component/component.d.ts +1 -1
  56. package/esm/core/event-emitter/global.d.ts +8 -0
  57. package/esm/core/event-emitter/global.js +8 -0
  58. package/esm/core/storage/async-storage.d.ts +8 -0
  59. package/esm/core/storage/async-storage.js +5 -0
  60. package/esm/core/ui/element.d.ts +1 -0
  61. package/esm/core/ui/element.js +6 -0
  62. package/esm/core/ui/group/group.d.ts +1 -0
  63. package/esm/core/ui/group/group.js +3 -0
  64. package/esm/modules/file-browser/builders/utils.d.ts +8 -0
  65. package/esm/modules/file-browser/builders/utils.js +5 -0
  66. package/esm/modules/toolbar/button/button.d.ts +1 -0
  67. package/esm/modules/toolbar/button/button.js +3 -1
  68. package/esm/plugins/add-new-line/config.d.ts +4 -3
  69. package/esm/plugins/backspace/config.d.ts +3 -0
  70. package/esm/plugins/clean-html/config.d.ts +2 -3
  71. package/esm/plugins/fullsize/config.d.ts +2 -2
  72. package/esm/plugins/hotkeys/config.d.ts +0 -1
  73. package/esm/plugins/iframe/config.d.ts +2 -5
  74. package/esm/plugins/image-processor/config.d.ts +3 -0
  75. package/esm/plugins/image-properties/config.d.ts +4 -0
  76. package/esm/plugins/inline-popup/config/config.d.ts +16 -0
  77. package/esm/plugins/limit/config.d.ts +3 -3
  78. package/esm/plugins/placeholder/config.d.ts +3 -3
  79. package/esm/plugins/resize-cells/config.d.ts +3 -0
  80. package/esm/plugins/resize-handler/config.d.ts +6 -0
  81. package/esm/plugins/resizer/config.d.ts +1 -1
  82. package/esm/plugins/select/config.d.ts +0 -1
  83. package/esm/plugins/select-cells/config.d.ts +3 -0
  84. package/esm/plugins/size/config.js +1 -2
  85. package/esm/plugins/source/config.d.ts +6 -2
  86. package/esm/plugins/stat/config.d.ts +12 -0
  87. package/esm/plugins/sticky/config.d.ts +5 -2
  88. package/esm/plugins/symbols/config.d.ts +6 -0
  89. package/esm/plugins/table/config.d.ts +3 -0
  90. package/esm/plugins/xpath/config.d.ts +3 -0
  91. package/esm/types/ui.d.ts +1 -0
  92. package/package.json +1 -1
  93. package/types/config.d.ts +268 -88
  94. package/types/core/decorators/autobind/autobind.d.ts +0 -5
  95. package/types/core/decorators/component/component.d.ts +1 -1
  96. package/types/core/event-emitter/global.d.ts +8 -0
  97. package/types/core/storage/async-storage.d.ts +8 -0
  98. package/types/core/ui/element.d.ts +1 -0
  99. package/types/core/ui/group/group.d.ts +1 -0
  100. package/types/modules/file-browser/builders/utils.d.ts +8 -0
  101. package/types/modules/toolbar/button/button.d.ts +1 -0
  102. package/types/plugins/add-new-line/config.d.ts +4 -3
  103. package/types/plugins/backspace/config.d.ts +3 -0
  104. package/types/plugins/clean-html/config.d.ts +2 -3
  105. package/types/plugins/fullsize/config.d.ts +2 -2
  106. package/types/plugins/hotkeys/config.d.ts +0 -1
  107. package/types/plugins/iframe/config.d.ts +2 -5
  108. package/types/plugins/image-processor/config.d.ts +3 -0
  109. package/types/plugins/image-properties/config.d.ts +4 -0
  110. package/types/plugins/inline-popup/config/config.d.ts +16 -0
  111. package/types/plugins/limit/config.d.ts +3 -3
  112. package/types/plugins/placeholder/config.d.ts +3 -3
  113. package/types/plugins/resize-cells/config.d.ts +3 -0
  114. package/types/plugins/resize-handler/config.d.ts +6 -0
  115. package/types/plugins/resizer/config.d.ts +1 -1
  116. package/types/plugins/select/config.d.ts +0 -1
  117. package/types/plugins/select-cells/config.d.ts +3 -0
  118. package/types/plugins/source/config.d.ts +6 -2
  119. package/types/plugins/stat/config.d.ts +12 -0
  120. package/types/plugins/sticky/config.d.ts +5 -2
  121. package/types/plugins/symbols/config.d.ts +6 -0
  122. package/types/plugins/table/config.d.ts +3 -0
  123. package/types/plugins/xpath/config.d.ts +3 -0
  124. package/types/types/ui.d.ts +1 -0
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.9.9
4
+ * Version: v4.9.11
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -131,7 +131,7 @@
131
131
  >
132
132
  <label>~Border radius~</label>
133
133
  <input type="number" class="jodit-input &__borderRadius"/>
134
- </div>`}onStateAlignChange(){this.getElm("align").value=this.state.values.align}onChangeAlign(){let e=this.getElm("align");this.state.values.align=e.value}onStateValuesBorderRadiusChange(){this.getElm("borderRadius").value=this.state.values.borderRadius.toString()}onChangeBorderRadius(){let e=this.getElm("borderRadius");this.state.values.borderRadius=parseFloat(e.value)}onStateValuesIdChange(){this.getElm("id").value=this.state.values.id}onChangeId(){let e=this.getElm("id");this.state.values.id=e.value}onStateValuesStyleChange(){this.getElm("style").value=this.state.values.style}onChangeStyle(){let e=this.getElm("style");this.state.values.style=e.value}onStateValuesClassesChange(){this.getElm("classes").value=this.state.values.classes}onChangClasses(){let e=this.getElm("classes");this.state.values.classes=e.value}onLockMarginClick(e){this.state.marginIsLocked=!this.state.marginIsLocked,e.preventDefault()}onChangeMarginIsLocked(){let e=this.getElm("marginBottom"),t=this.getElm("marginRight"),i=this.getElm("marginLeft"),n=this.getElm("lockMargin");if([t,e,i].forEach(e=>{(0,u.attr)(e,"disabled",this.state.marginIsLocked||null)}),n.innerHTML=h.Icon.get(this.state.marginIsLocked?"lock":"unlock"),this.state.marginIsLocked){let e=this.state.values.marginTop;this.state.values.marginRight=e,this.state.values.marginBottom=e,this.state.values.marginLeft=e}}onStateValuesMarginChange(){let e=this.getElm("marginTop"),t=this.getElm("marginRight"),i=this.getElm("marginBottom"),n=this.getElm("marginLeft");e.value=this.state.values.marginTop.toString(),t.value=this.state.values.marginRight.toString(),i.value=this.state.values.marginBottom.toString(),n.value=this.state.values.marginLeft.toString()}onChangeMargin(){let e=this.getElm("marginTop"),t=this.getElm("marginRight"),i=this.getElm("marginBottom"),n=this.getElm("marginLeft");this.state.values.marginTop=(0,p.normalSizeFromString)(e.value),this.state.marginIsLocked?(this.state.values.marginRight=this.state.values.marginTop,this.state.values.marginBottom=this.state.values.marginTop,this.state.values.marginLeft=this.state.values.marginTop):(this.state.values.marginRight=(0,p.normalSizeFromString)(t.value),this.state.values.marginBottom=(0,p.normalSizeFromString)(i.value),this.state.values.marginLeft=(0,p.normalSizeFromString)(n.value))}hideFieldByOptions(){let e=this.j.o.image;[["editMargins","editMargins"],["editAlign","editAlign"],["editStyle","editStyle"],["editClass","editClass"],["editId","editId"],["editBorderRadius","editBorderRadius"]].forEach(([t,i])=>{let n=this.getElm(i);(0,l.css)(n,"display",e[t]?null:"none")})}constructor(e,t,i){super(e,{availableClasses:e.o.image.availableClasses}),(0,n._)(this,"state",void 0),(0,n._)(this,"handlers",void 0),this.state=t,this.handlers=i}}(0,o.__decorate)([(0,s.hook)("ready"),(0,a.watch)("state.values.align")],m.prototype,"onStateAlignChange",null),(0,o.__decorate)([(0,a.watch)("align:change")],m.prototype,"onChangeAlign",null),(0,o.__decorate)([(0,s.hook)("ready"),(0,a.watch)("state.values.borderRadius")],m.prototype,"onStateValuesBorderRadiusChange",null),(0,o.__decorate)([(0,a.watch)("borderRadius:change")],m.prototype,"onChangeBorderRadius",null),(0,o.__decorate)([(0,s.hook)("ready"),(0,a.watch)("state.values.id")],m.prototype,"onStateValuesIdChange",null),(0,o.__decorate)([(0,a.watch)("id:change")],m.prototype,"onChangeId",null),(0,o.__decorate)([(0,s.hook)("ready"),(0,a.watch)("state.values.style")],m.prototype,"onStateValuesStyleChange",null),(0,o.__decorate)([(0,a.watch)("style:change")],m.prototype,"onChangeStyle",null),(0,o.__decorate)([(0,s.hook)("ready"),(0,a.watch)("state.values.classes")],m.prototype,"onStateValuesClassesChange",null),(0,o.__decorate)([(0,a.watch)("classes:change")],m.prototype,"onChangClasses",null),(0,o.__decorate)([(0,a.watch)("lockMargin:click")],m.prototype,"onLockMarginClick",null),(0,o.__decorate)([(0,s.hook)("ready"),(0,a.watch)("state.marginIsLocked")],m.prototype,"onChangeMarginIsLocked",null),(0,o.__decorate)([(0,s.hook)("ready"),(0,a.watch)(["state.values.marginTop","state.values.marginRight","state.values.marginBottom","state.values.marginLeft"])],m.prototype,"onStateValuesMarginChange",null),(0,o.__decorate)([(0,a.watch)(["marginTop:change","marginRight:change","marginBottom:change","marginLeft:change"])],m.prototype,"onChangeMargin",null),(0,o.__decorate)([(0,s.hook)("ready")],m.prototype,"hideFieldByOptions",null),m=(0,o.__decorate)([r.component],m)},17312:function(e,t,i){"use strict";function n(e){return Array.isArray(e)}i.d(t,{isArray:function(){return n}})},17326:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.iframeBaseUrl="",n.Config.prototype.iframeTitle="Jodit Editor",n.Config.prototype.iframeDoctype="<!DOCTYPE html>",n.Config.prototype.iframeDefaultSrc="about:blank",n.Config.prototype.iframeStyle='html{margin:0;padding:0;min-height: 100%;}body{box-sizing:border-box;font-size:13px;line-height:1.6;padding:10px;margin:0;background:transparent;color:#000;position:relative;z-index:2;user-select:auto;margin:0px;overflow:auto;outline:none;}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}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=[],n.Config.prototype.iframeSandbox=null},17338:function(e,t,i){"use strict";i.d(t,{Ajax:function(){return h}});var n=i(25045),o=i(31635),r=i(91231),s=i(81937),a=i(49574),l=i(65946),c=i(33201),u=i(5266);i(37102);var d=i(32855);class h{className(){return"Ajax"}__buildParams(e,t){return(0,l.isPlainObject)(e)&&this.options.contentType&&this.options.contentType.includes("application/json")?JSON.stringify(e):(0,l.isFunction)(this.o.queryBuild)?this.o.queryBuild.call(this,e,t):(0,l.isString)(e)||e instanceof s.globalWindow.FormData||"object"==typeof e&&null!=e&&(0,l.isFunction)(e.append)?e:(0,l.buildQuery)(e)}get o(){return this.options}abort(){if(this.__isFulfilled)return this;try{this.__isFulfilled=!0,this.xhr.abort()}catch(e){}return this}send(){this.__activated=!0;let{xhr:e,o:t}=this,i=this.prepareRequest();return this.__async.promise(async(n,o)=>{var r;let s=()=>{this.__isFulfilled=!0,o(c.connection("Connection error"))},a=()=>{this.__isFulfilled=!0,n(new d.Response(i,e.status,e.statusText,!e.responseType?e.responseText:e.response))};e.onload=a,e.onabort=()=>{this.__isFulfilled=!0,o(c.abort("Abort connection"))},e.onerror=s,e.ontimeout=s,t.responseType&&(e.responseType=t.responseType),e.onprogress=e=>{var t,i;let n=0;e.lengthComputable&&(n=e.loaded/e.total*100),null==(t=(i=this.options).onProgress)||t.call(i,n)},e.onreadystatechange=()=>{var i,n;null==(i=(n=this.options).onProgress)||i.call(n,10),e.readyState===XMLHttpRequest.DONE&&(t.successStatuses.includes(e.status)?a():e.statusText&&(this.__isFulfilled=!0,o(c.connection(e.statusText))))},e.withCredentials=null!=(r=t.withCredentials)&&r;let{url:u,data:h,method:p}=i;e.open(p,u,!0),t.contentType&&e.setRequestHeader&&e.setRequestHeader("Content-type",t.contentType);let{headers:m}=t;(0,l.isFunction)(m)&&(m=await m.call(this)),m&&e.setRequestHeader&&Object.keys(m).forEach(t=>{e.setRequestHeader(t,m[t])}),this.__async.setTimeout(()=>{e.send(h?this.__buildParams(h):void 0)},0)})}prepareRequest(){if(!this.o.url)throw c.error("Need URL for AJAX request");let e=this.o.url,t=this.o.data,i=(this.o.method||"get").toLowerCase();if("get"===i&&t&&(0,l.isPlainObject)(t)){let i=e.indexOf("?");if(-1!==i){let n=(0,l.parseQuery)(e);e=e.substring(0,i)+"?"+(0,l.buildQuery)({...n,...t})}else e+="?"+(0,l.buildQuery)(this.o.data)}let n={url:e,method:i,data:t};return h.log.splice(100),h.log.push(n),n}destruct(){this.__isDestructed||(this.__isDestructed=!0,this.__activated&&!this.__isFulfilled&&(this.abort(),this.__isFulfilled=!0),this.__async.destruct())}constructor(e,t=u.Config.prototype.defaultAjaxOptions){(0,n._)(this,"__async",new r.Async),(0,n._)(this,"xhr",void 0),(0,n._)(this,"options",void 0),(0,n._)(this,"__isFulfilled",!1),(0,n._)(this,"__activated",!1),(0,n._)(this,"__isDestructed",!1),this.options=(0,l.ConfigProto)(e||{},t),this.xhr=this.o.xhr?this.o.xhr():new XMLHttpRequest}}(0,n._)(h,"log",[]),(0,o.__decorate)([a.autobind],h.prototype,"destruct",null)},17481:function(e,t,i){"use strict";i.d(t,{extractSelectedPart:function(){return a}});var n=i(23211),o=i(23175),r=i(4040),s=i(71125);function a(e,t,i){let n=i.s.createRange(),r=(0,o.isMarker)(t.previousSibling)?t.previousSibling:t;n.setStartBefore(e),n.setEndBefore(r),l(e,n,!0);let s=(0,o.isMarker)(t.nextSibling)?t.nextSibling:t;n.setStartAfter(s),n.setEndAfter(e),l(e,n,!1)}function l(e,t,i){let o=t.extractContents();o.textContent&&(0,r.trim)(o.textContent).length||!o.firstChild||n.Dom.unwrap(o.firstChild),e.parentNode&&(0,s.call)(i?n.Dom.before:n.Dom.after,e,o)}},17523:function(e,t,i){"use strict";i.d(t,{cases:function(){return h}});var n=i(26106),o=i(80951),r=i(58881),s=i(68709),a=i(5771),l=i(2409),c=i(93890),u=i(12443),d=i(10157);let h=[c.checkRemoveUnbreakableElement,s.checkRemoveContentNotEditable,r.checkRemoveChar,u.checkTableCell,l.checkRemoveEmptyParent,a.checkRemoveEmptyNeighbor,o.checkJoinTwoLists,n.checkJoinNeighbors,d.checkUnwrapFirstListItem]},17610:function(e,t,i){"use strict";i.d(t,{FileBrowser:function(){return n.FileBrowser}});var n=i(62623)},17780:function(e,t,i){"use strict";i.d(t,{DEFAULT_SOURCE_NAME:function(){return l},default:function(){return u}});var n=i(25045),o=i(81937),r=i(65946),s=i(73714),a=i(58664);let l="default",c=new Set(["allowFiles","allowFileMove","allowFileUpload","allowFileUploadRemote","allowFileRemove","allowFileRename","allowFolders","allowFolderMove","allowFolderCreate","allowFolderRemove","allowFolderRename","allowImageResize","allowImageCrop"]);class u{get o(){return this.options}get(e){let t=this.__ajaxInstances;if(t.has(e)){let i=t.get(e);null==i||i.abort(),t.delete(e)}let i=(0,r.ConfigProto)(void 0!==this.options[e]?this.options[e]:{},(0,r.ConfigProto)({onProgress:this.progressHandler},this.o.ajax));i.prepareData&&(i.data=i.prepareData.call(this,i.data));let n=new s.Ajax(i);t.set(e,n);let o=n.send();return o.finally(()=>{n.destruct(),t.delete(e),this.progressHandler(100)}).catch(()=>null),o.then(e=>e.json()).then(e=>{if(e&&!this.isSuccess(e))throw Error(this.getMessage(e));return e})}onProgress(e){this.progressHandler=e}async permissions(e,t){return this.o.permissions&&(this.o.permissions.data.path=e,this.o.permissions.data.source=t,this.o.permissions.url)?this.get("permissions").then(e=>{if(this.parent.isInDestruct)throw(0,r.abort)();let t=this.o.permissions.process;if(t||(t=this.o.ajax.process),t){let i=t.call(self,e);i.data.permissions&&(this.parent.events.fire(this,"changePermissions",this.__currentPermissions,i.data.permissions),this.__currentPermissions=i.data.permissions)}return this.__currentPermissions}):null}canI(e){let t="allow"+e;if(!o.IS_PROD&&!c.has(t))throw(0,r.error)("Wrong action "+e);let i=this.o.permissionsPresets[t];return void 0!==i?i:null==this.__currentPermissions||void 0===this.__currentPermissions[t]||this.__currentPermissions[t]}__items(e,t,i,n){let o=this.options;return o.items?(o.items.data.path=e,o.items.data.source=t,o.items.data.mods=i,this.get("items").then(e=>{let t=this.o.items.process;return t||(t=this.o.ajax.process),t&&(e=t.call(self,e)),n(e)})):Promise.reject(Error("Set Items api options"))}items(e,t,i={}){return this.__items(e,t,i,e=>this.generateItemsList(e.data.sources,i))}itemsEx(e,t,i={}){return this.__items(e,t,i,e=>({items:this.generateItemsList(e.data.sources,i),loadedTotal:e.data.sources.reduce((e,t)=>e+t.files.length,0)}))}generateItemsList(e,t={}){let i=[],n=e=>{var i;return!(null==(i=t.filterWord)?void 0:i.length)||void 0===this.o.filter||this.o.filter(e,t.filterWord)};return e.forEach(e=>{if(e.files&&e.files.length){let{sort:o}=this.o;(0,r.isFunction)(o)&&t.sortBy&&e.files.sort((e,i)=>o(e,i,t.sortBy)),e.files.forEach(o=>{n(o)&&("folder"===o.type||!t.onlyImages||void 0===o.isImage||o.isImage)&&i.push(a.FileBrowserItem.create({...o,sourceName:e.name,source:e}))})}}),i}async tree(e,t){return(e=(0,r.normalizeRelativePath)(e),this.o.folder)?(await this.permissions(e,t),this.o.folder.data.path=e,this.o.folder.data.source=t,this.get("folder").then(e=>{let t=this.o.folder.process;return t||(t=this.o.ajax.process),t&&(e=t.call(self,e)),e.data.sources})):Promise.reject(Error("Set Folder Api options"))}getPathByUrl(e){return(0,r.set)("options.getLocalFileByUrl.data.url",e,this),this.get("getLocalFileByUrl").then(e=>{if(this.isSuccess(e))return e.data;throw(0,r.error)(this.getMessage(e))})}createFolder(e,t,i){let{create:n}=this.o;if(!n)throw(0,r.error)("Set Create api options");return n.data.source=i,n.data.path=t,n.data.name=e,this.get("create").then(e=>{if(this.isSuccess(e))return!0;throw(0,r.error)(this.getMessage(e))})}move(e,t,i,n){let o=n?"fileMove":"folderMove",s=this.options[o];if(!s)throw(0,r.error)("Set Move api options");return s.data.from=e,s.data.path=t,s.data.source=i,this.get(o).then(e=>{if(this.isSuccess(e))return!0;throw(0,r.error)(this.getMessage(e))})}remove(e,t,i,n){let o=this.o[e];if(!o)throw(0,r.error)(`Set "${e}" api options`);return o.data.path=t,o.data.name=i,o.data.source=n,this.get(e).then(e=>(o.process&&(e=o.process.call(this,e)),this.getMessage(e)))}fileRemove(e,t,i){return this.remove("fileRemove",e,t,i)}folderRemove(e,t,i){return this.remove("folderRemove",e,t,i)}rename(e,t,i,n,o){let s=this.o[e];if(!s)throw(0,r.error)(`Set "${e}" api options`);return s.data.path=t,s.data.name=i,s.data.newname=n,s.data.source=o,this.get(e).then(e=>(s.process&&(e=s.process.call(self,e)),this.getMessage(e)))}folderRename(e,t,i,n){return this.rename("folderRename",e,t,i,n)}fileRename(e,t,i,n){return this.rename("fileRename",e,t,i,n)}changeImage(e,t,i,n,o,r){this.o[e]||(this.o[e]={data:{}});let s=this.o[e];return void 0===s.data&&(s.data={action:e}),s.data.newname=o||n,r&&(s.data.box=r),s.data.path=t,s.data.name=n,s.data.source=i,this.get(e).then(()=>!0)}crop(e,t,i,n,o){return this.changeImage("crop",e,t,i,n,o)}resize(e,t,i,n,o){return this.changeImage("resize",e,t,i,n,o)}getMessage(e){return this.options.getMessage(e)}isSuccess(e){return this.options.isSuccess(e)}destruct(){this.__ajaxInstances.forEach(e=>e.destruct()),this.__ajaxInstances.clear()}constructor(e,t){(0,n._)(this,"parent",void 0),(0,n._)(this,"options",void 0),(0,n._)(this,"__currentPermissions",void 0),(0,n._)(this,"__ajaxInstances",void 0),(0,n._)(this,"progressHandler",void 0),this.parent=e,this.options=t,this.__currentPermissions=null,this.__ajaxInstances=new Map,this.progressHandler=e=>{}}}},17849:function(e,t,i){"use strict";var n=i(28686),o=i(80991);let r=e=>e.args&&(0,n.isString)(e.args[0])?e.args[0].toLowerCase():"";t.default=["brushCell",{name:"valign",list:["Top","Middle","Bottom","Normal"],childTemplate:(e,t,i)=>i,exec:(e,t,{control:i})=>{let n=r(i);e.getInstance("Table",e.o).getAllSelectedCells().forEach(e=>{(0,o.css)(e,"vertical-align","normal"===n?"":n)})},tooltip:"Vertical align"},{name:"splitv",list:{tablesplitv:"Split vertical",tablesplitg:"Split horizontal"},tooltip:"Split"},{name:"align",icon:"left"},"\n",{name:"merge",command:"tablemerge",tooltip:"Merge"},{name:"addcolumn",list:{tableaddcolumnbefore:"Insert column before",tableaddcolumnafter:"Insert column after"},exec:(e,t,{control:i})=>{if(!(0,n.isJoditObject)(e))return;if(!i.args)return!1;let o=r(i);e.execCommand(o,!1,t)},tooltip:"Add column"},{name:"addrow",list:{tableaddrowbefore:"Insert row above",tableaddrowafter:"Insert row below"},exec:(e,t,{control:i})=>{if(!(0,n.isJoditObject)(e))return;if(!i.args)return!1;let o=r(i);e.execCommand(o,!1,t)},tooltip:"Add row"},{name:"delete",icon:"bin",list:{tablebin:"Delete table",tablebinrow:"Delete row",tablebincolumn:"Delete column",tableempty:"Empty cell"},exec:(e,t,{control:i})=>{if(!(0,n.isJoditObject)(e))return;if(!i.args)return!1;let o=r(i);e.execCommand(o,!1,t),e.e.fire("hidePopup")},tooltip:"Delete"}]},17918:function(e){e.exports={aiAssistant:"AI Assistant",aiCommands:"AI Commands","AI Assistant":"AI Assistant",Prompt:"Prompt","Ask AI to improve generated text":"Ask AI to improve generated text",Submit:"Submit"}},17995:function(e){e.exports='<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <path d="M1088 1256v240q0 16-12 28t-28 12h-240q-16 0-28-12t-12-28v-240q0-16 12-28t28-12h240q16 0 28 12t12 28zm316-600q0 54-15.5 101t-35 76.5-55 59.5-57.5 43.5-61 35.5q-41 23-68.5 65t-27.5 67q0 17-12 32.5t-28 15.5h-240q-15 0-25.5-18.5t-10.5-37.5v-45q0-83 65-156.5t143-108.5q59-27 84-56t25-76q0-42-46.5-74t-107.5-32q-65 0-108 29-35 25-107 115-13 16-31 16-12 0-25-8l-164-125q-13-10-15.5-25t5.5-28q160-266 464-266 80 0 161 31t146 83 106 127.5 41 158.5z"/> </svg>'},18073:function(e,t,i){"use strict";i.d(t,{size:function(){return o}});var n=i(28686);function o(e){return(0,n.isString)(e)||(0,n.isArray)(e)?e.length:(0,n.isPlainObject)(e)?Object.keys(e).length:0}},18080:function(e,t,i){"use strict";i.d(t,{i18n:function(){return c},sprintf:function(){return l}});var n=i(81937),o=i(85932),r=i(99436),s=i(93640),a=i(5266);let l=(e,t)=>{if(!t||!t.length)return e;let i=/%([sd])/g,n=i.exec(e),o=e,r=0;for(;n&&void 0!==t[r];)o=o.replace(n[0],t[r].toString()),r+=1,n=i.exec(e);return o};function c(e,t,i){if(!(0,o.isString)(e))throw(0,s.error)("i18n: Need string in first argument");if(!e.length)return e;let c=!!(null==i?void 0:i.debugLanguage),u={},d=e=>t&&t.length?l(e,t):e,h=(0,s.defaultLanguage)(a.Config.defaultOptions.language,a.Config.defaultOptions.language),p=(0,s.defaultLanguage)(null==i?void 0:i.language,h),m=t=>{if(!t)return;if((0,o.isString)(t[e]))return d(t[e]);let i=e.toLowerCase();if((0,o.isString)(t[i]))return d(t[i]);let n=(0,r.ucfirst)(e);if((0,o.isString)(t[n]))return d(t[n])};void 0!==n.lang[p]?u=n.lang[p]:c||(u=void 0!==n.lang[h]?n.lang[h]:n.lang.en);let f=null==i?void 0:i.i18n;if(f&&f[p]){let e=m(f[p]);if(e)return e}return m(u)||(!c&&n.lang.en&&(0,o.isString)(n.lang.en[e])&&n.lang.en[e]?d(n.lang.en[e]):c?"{"+e+"}":(n.IS_PROD,d(e)))}},18210:function(e,t,i){"use strict";var n=i(31635),o=i(81937),r=i(84839),s=i(23211),a=i(28077),l=i(91206);class c extends l.Plugin{afterInit(e){}beforeDestruct(e){}onKeyDownArrow(e){var t;if(e.key!==o.KEY_RIGHT||!this.j.selection.isCollapsed())return;let{endContainer:i,endOffset:n}=this.j.selection.range;if(s.Dom.isText(i)&&(null==(t=i.nodeValue)?void 0:t.length)===n){let{parentNode:e}=i;s.Dom.isInlineBlock(e)&&!s.Dom.findNotEmptyNeighbor(e,!1,this.j.editor)&&s.Dom.after(e,this.j.createInside.text(o.NBSP_SPACE))}}}(0,n.__decorate)([(0,r.watch)(":keydown")],c.prototype,"onKeyDownArrow",null),a.pluginSystem.add("keyArrowOutside",c)},18272:function(e,t,i){"use strict";i.d(t,{makeContextMenu:function(){return s},makeDataProvider:function(){return r}});var n=i(67399),o=i(17780);function r(e,t){return new o.default(e,t)}function s(e){return new n.ContextMenu(e)}},18303:function(e,t,i){"use strict";function n(e){return null==e}i.d(t,{isVoid:function(){return n}})},18310:function(e){e.exports={Spellcheck:"拼写检查"}},18377:function(e,t,i){"use strict";i.d(t,{normalizePath:function(){return o}});var n=i(4040);let o=(...e)=>e.filter(e=>(0,n.trim)(e).length).map((t,i)=>(t=t.replace(/([^:])[\\/]+/g,"$1/"),i&&(t=t.replace(/^\//,"")),i!==e.length-1&&(t=t.replace(/\/$/,"")),t)).join("/")},18380:function(e,t,i){"use strict";i.d(t,{readMargins:function(){return o}});var n=i(74264);function o(e,t,i){let o=!0,r=!1;["marginTop","marginRight","marginBottom","marginLeft"].forEach(i=>{let s=e.style.getPropertyValue((0,n.kebabCase)(i));if(!s){r=!0,t[i]=0;return}/^[0-9]+(px)?$/.test(s)&&(s=parseInt(s,10)),t[i]=s,(r&&t[i]||o&&"marginTop"!==i&&t[i]!==t.marginTop)&&(o=!1)}),i.marginIsLocked=o}},18605:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm637-679v206h-514l-3-27q-4-28-4-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 83-65 188-65 110 0 178 59.5t68 158.5q0 56-24.5 103t-62 76.5-81.5 58.5-82 50.5-65.5 51.5-30.5 63h232v-80h126z"/> </svg>'},18762:function(e,t,i){"use strict";i.d(t,{FileSelectorWidget:function(){return a}});var n=i(23211),o=i(65946),r=i(4099),s=i(89636);let a=(e,t,i,a,c=!0)=>{let u,d=[],h=e.o.uploader;if(t.upload&&(h.url||h.insertImageAsBase64URI||h.customUploadFunction)){let i=e.c.fromHTML(`<div class="jodit-drag-and-drop__file-box"><strong>${e.i18n(c?"Drop image":"Drop file")}</strong><span><br>${e.i18n("or click")}</span><input type="file" accept="${c?"image/*":"*"}" tabindex="-1" dir="auto" multiple=""/></div>`);e.uploader.bind(i,i=>{let n=(0,o.isFunction)(t.upload)?t.upload:h.defaultHandlerSuccess;(0,o.isFunction)(n)&&n.call(e,i),e.e.fire("closeAllPopups")},t=>{e.message.error(t.message),e.e.fire("closeAllPopups")}),d.push({icon:"upload",name:"Upload",content:i})}if(t.filebrowser&&(e.o.filebrowser.ajax.url||e.o.filebrowser.items.url)&&d.push({icon:"folder",name:"Browse",content:()=>{a&&a(),t.filebrowser&&e.filebrowser.open(t.filebrowser,c)}}),t.url){let s=new r.UIButton(e,{type:"submit",variant:"primary",text:"Insert"}),a=new r.UIForm(e,[new r.UIInput(e,{required:!0,label:"URL",name:"url",type:"text",placeholder:"https://"}),new r.UIInput(e,{name:"text",label:"Alternative text"}),new r.UIBlock(e,[s])]);u=null,i&&!n.Dom.isText(i)&&!n.Dom.isComment(i)&&(n.Dom.isTag(i,"img")||(0,o.$$)("img",i).length)&&(u="IMG"===i.tagName?i:(0,o.$$)("img",i)[0],l(a.container,"input[name=url]",(0,o.attr)(u,"src")),l(a.container,"input[name=text]",(0,o.attr)(u,"alt")),s.state.text="Update"),i&&n.Dom.isTag(i,"a")&&(l(a.container,"input[name=url]",(0,o.attr)(i,"href")),l(a.container,"input[name=text]",(0,o.attr)(i,"title")),s.state.text="Update"),a.onSubmit(i=>{(0,o.isFunction)(t.url)&&t.url.call(e,i.url,i.text)}),d.push({icon:"link",name:"URL",content:a.container})}return(0,s.TabsWidget)(e,d)};function l(e,t,i){let n=e.querySelector(t);return n?(i&&(n.value=i),n.value):""}},18855:function(e,t,i){"use strict";i.d(t,{Plugin:function(){return l}});var n=i(25045),o=i(31635),r=i(16964),s=i(84839),a=i(24497);class l extends r.ViewComponent{className(){return"Plugin"}__afterPluginSystemInit(){let{j:e,buttons:t}=this;t&&(0,a.isJoditObject)(e)&&t.forEach(t=>{e.registerButton(t)})}__afterInit(){this.__inited=!0,this.setStatus(r.STATUSES.ready),this.afterInit(this.jodit)}init(e){this.jodit.isReady&&(this.afterInit(this.jodit),this.__afterPluginSystemInit(),this.jodit.e.fire("rebuildToolbar"))}__beforeDestruct(){if(this.isInDestruct)return;let{j:e}=this;if(e.e.off("afterPluginSystemInit",this.__afterPluginSystemInit).off("afterInit",this.__afterInit).off("beforeDestruct",this.destruct),this.setStatus(r.STATUSES.beforeDestruct),!this.__inited)return super.destruct();if((0,a.isJoditObject)(e)){var t;null==(t=this.buttons)||t.forEach(t=>{null==e||e.unregisterButton(t)})}this.beforeDestruct(this.j),super.destruct()}constructor(e){super(e),(0,n._)(this,"buttons",[]),(0,n._)(this,"hasStyle",!1),(0,n._)(this,"styles",void 0),(0,n._)(this,"__inited",!1),e.e.on("afterPluginSystemInit",this.__afterPluginSystemInit).on("afterInit",this.__afterInit).on("beforeDestruct",this.__beforeDestruct)}}(0,n._)(l,"requires",[]),(0,o.__decorate)([s.autobind],l.prototype,"__afterPluginSystemInit",null),(0,o.__decorate)([s.autobind],l.prototype,"__afterInit",null),(0,o.__decorate)([s.autobind],l.prototype,"__beforeDestruct",null)},18869:function(e,t,i){"use strict";i.d(t,{EventHandlersStore:function(){return a},defaultNameSpace:function(){return s}});var n=i(25045),o=i(88475),r=i(28712);let s="JoditEventDefaultNamespace";class a{get(e,t){if(this.__store.has(t)){let i=this.__store.get(t);return(0,r.assert)(i,"-"),i[e]}}indexOf(e,t,i){let n=this.get(e,t);if(n){for(let e=0;e<n.length;e+=1)if(n[e].originalCallback===i)return e}return!1}namespaces(e=!1){let t=(0,o.toArray)(this.__store.keys());return e?t.filter(e=>e!==s):t}events(e){let t=this.__store.get(e);return t?Object.keys(t):[]}set(e,t,i,n=!1){let o=this.__store.get(t);o||(o={},this.__store.set(t,o)),void 0===o[e]&&(o[e]=[]),n?o[e].unshift(i):o[e].push(i)}clear(){this.__store.clear()}clearEvents(e,t){let i=this.__store.get(e);i&&i[t]&&(delete i[t],Object.keys(i).length||this.__store.delete(e))}isEmpty(){return 0===this.__store.size}constructor(){(0,n._)(this,"__store",new Map)}}},18929:function(e,t,i){"use strict";var n=i(81937),o=i(29434),r=i(5266),s=i(9103),a=i.n(s);r.Config.prototype.beautifyHTML=!n.IS_IE,r.Config.prototype.sourceEditor="ace",r.Config.prototype.sourceEditorNativeOptions={showGutter:!0,theme:"ace/theme/idle_fingers",mode:"ace/mode/html",wrap:!0,highlightActiveLine:!0},r.Config.prototype.sourceEditorCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js"],r.Config.prototype.beautifyHTMLCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js","https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js"],o.Icon.set("source",a()),r.Config.prototype.controls.source={mode:n.MODE_SPLIT,exec:e=>{e.toggleMode()},isActive:e=>e.getRealMode()===n.MODE_SOURCE,tooltip:"Change mode"}},18993:function(e,t,i){"use strict";var n=i(29434),o=i(5266),r=i(81875),s=i.n(r);o.Config.prototype.usePopupForSpecialCharacters=!1,o.Config.prototype.specialCharacters=["!","&quot;","#","$","%","&amp;","'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","&lt;","=","&gt;","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","&euro;","&lsquo;","&rsquo;","&ldquo;","&rdquo;","&ndash;","&mdash;","&iexcl;","&cent;","&pound;","&curren;","&yen;","&brvbar;","&sect;","&uml;","&copy;","&ordf;","&laquo;","&raquo;","&not;","&reg;","&macr;","&deg;","&sup2;","&sup3;","&acute;","&micro;","&para;","&middot;","&cedil;","&sup1;","&ordm;","&frac14;","&frac12;","&frac34;","&iquest;","&Agrave;","&Aacute;","&Acirc;","&Atilde;","&Auml;","&Aring;","&AElig;","&Ccedil;","&Egrave;","&Eacute;","&Ecirc;","&Euml;","&Igrave;","&Iacute;","&Icirc;","&Iuml;","&ETH;","&Ntilde;","&Ograve;","&Oacute;","&Ocirc;","&Otilde;","&Ouml;","&times;","&Oslash;","&Ugrave;","&Uacute;","&Ucirc;","&Uuml;","&Yacute;","&THORN;","&szlig;","&agrave;","&aacute;","&acirc;","&atilde;","&auml;","&aring;","&aelig;","&ccedil;","&egrave;","&eacute;","&ecirc;","&euml;","&igrave;","&iacute;","&icirc;","&iuml;","&eth;","&ntilde;","&ograve;","&oacute;","&ocirc;","&otilde;","&ouml;","&divide;","&oslash;","&ugrave;","&uacute;","&ucirc;","&uuml;","&yacute;","&thorn;","&yuml;","&OElig;","&oelig;","&#372;","&#374","&#373","&#375;","&sbquo;","&#8219;","&bdquo;","&hellip;","&trade;","&#9658;","&bull;","&rarr;","&rArr;","&hArr;","&diams;","&asymp;"],n.Icon.set("symbols",s()),o.Config.prototype.controls.symbols={hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup:(e,t,i)=>{let n=e.e.fire("generateSpecialCharactersTable.symbols");if(n){if(e.o.usePopupForSpecialCharacters){let t=e.c.div();return t.classList.add("jodit-symbols"),t.appendChild(n),e.e.on(n,"close_dialog",i),t}e.alert(n,"Select Special Character",void 0,"jodit-symbols").bindDestruct(e);let t=n.querySelector("a");t&&t.focus()}}}},19147:function(e,t,i){"use strict";i.d(t,{NUMBER_FIELDS_REG:function(){return a},normalizeCssNumericValue:function(){return l},normalizeCssValue:function(){return c}});var n=i(70222),o=i(18303),r=i(93387),s=i(74264);let a=/^(left|top|bottom|right|width|min|max|height|margin|padding|fontsize|font-size)/i;function l(e,t){return!(0,o.isVoid)(t)&&a.test(e)&&(0,n.isNumeric)(t.toString())?parseInt(t.toString(),10)+"px":t}function c(e,t){if("font-weight"===(0,s.kebabCase)(e)){switch(t.toString().toLowerCase()){case"700":case"bold":return 700;case"400":case"normal":return 400;case"900":case"heavy":return 900}return(0,n.isNumeric)(t)?Number(t):t}return/color/i.test(e)&&/^rgb/i.test(t.toString())&&(0,r.colorToHex)(t.toString())||t}},19213:function(e,t,i){"use strict";i.d(t,{clearSelectionWrappers:function(){return c},clearSelectionWrappersFromHTML:function(){return u},getSelectionWrappers:function(){return l},highlightTextRanges:function(){return a}});var n=i(81937),o=i(23211),r=i(28723);let s="jd-tmp-selection";function a(e,t,i,r,a){if(null==t.startContainer.nodeValue||null==t.endContainer.nodeValue||function(e,t,i){if(e.o.search.useCustomHighlightAPI&&n.globalWindow&&void 0!==n.globalWindow.Highlight){let n=new Highlight(...[t,...i].map(t=>{let i=e.selection.createRange();return i.setStart(t.startContainer,t.startOffset),i.setEnd(t.endContainer,t.endOffset),i}));return CSS.highlights.clear(),CSS.highlights.set("jodit-search-result",n),i.length=0,!0}return!1}(e,t,i))return;let l=r.element("span",{[s]:!0});o.Dom.markTemporary(l),function(e,t,i){let n=e.startContainer.nodeValue,r=0;if(0!==e.startOffset){let t=i.text(n.substring(0,e.startOffset));e.startContainer.nodeValue=n.substring(e.startOffset),o.Dom.before(e.startContainer,t),e.startContainer===e.endContainer&&(r=e.startOffset,e.endOffset-=r),e.startOffset=0}let s=e.endContainer.nodeValue;if(e.endOffset!==s.length){let n=i.text(s.substring(e.endOffset));for(let i of(e.endContainer.nodeValue=s.substring(0,e.endOffset),o.Dom.after(e.endContainer,n),t))if(i.startContainer===e.endContainer)i.startContainer=n,i.startOffset=i.startOffset-e.endOffset-r,i.endContainer===e.endContainer&&(i.endContainer=n,i.endOffset=i.endOffset-e.endOffset-r);else break;e.endOffset=e.endContainer.nodeValue.length}}(t,i,r);let c=t.startContainer;do{var u;if(!c||(o.Dom.isText(c)&&(u=c.parentNode,!(o.Dom.isElement(u)&&u.hasAttribute(s)))&&o.Dom.wrap(c,l.cloneNode(),r),c===t.endContainer))break;let e=c.firstChild||c.nextSibling;if(!e){for(;c&&!c.nextSibling&&c!==a;)c=c.parentNode;e=null==c?void 0:c.nextSibling}c=e}while(c&&c!==a)}function l(e){return(0,r.$$)(`[${s}]`,e)}function c(e){l(e.editor).forEach(e=>o.Dom.unwrap(e)),e.o.search.useCustomHighlightAPI&&n.globalWindow&&void 0!==n.globalWindow.Highlight&&CSS.highlights.clear()}function u(e){return e.replace(RegExp(`<span[^>]+${s}[^>]+>(.*?)</span>`,"g"),"$1")}},19549:function(e,t,i){"use strict";i.d(t,{getSuitParent:function(){return function e(t,i,s){let{parentNode:a}=i;return a===s||!n.Dom.isHTMLElement(a)||n.Dom.next(i,o.isNormalNode,a)||n.Dom.prev(i,o.isNormalNode,a)?null:t.isElementCommit&&t.elementIsBlock&&!n.Dom.isBlock(a)?e(t,a,s):(0,r.isSuitElement)(t,a,!1)&&(!n.Dom.isBlock(a)||t.elementIsBlock)?a:t.isElementCommit&&!n.Dom.isBlock(a)?e(t,a,s):null}}});var n=i(23211),o=i(83653),r=i(73019)},20784:function(e){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path stroke="null" d="m42.276011,26.302547c0.098397,-0.76605 0.172194,-1.54407 0.172194,-2.33406s-0.073797,-1.56801 -0.172194,-2.33406l5.202718,-3.961917c0.467384,-0.359086 0.602679,-1.005441 0.29519,-1.532101l-4.919828,-8.29489c-0.307489,-0.51469 -0.947067,-0.730142 -1.500548,-0.51469l-6.125186,2.405877c-1.266856,-0.945594 -2.656707,-1.747553 -4.157255,-2.357999l-0.922468,-6.343855c-0.110696,-0.562568 -0.614979,-1.005441 -1.229957,-1.005441l-9.839656,0c-0.614979,0 -1.119261,0.442873 -1.217657,1.005441l-0.922468,6.343855c-1.500548,0.610446 -2.890399,1.400436 -4.157255,2.357999l-6.125186,-2.405877c-0.553481,-0.203482 -1.193058,0 -1.500548,0.51469l-4.919828,8.29489c-0.307489,0.51469 -0.172194,1.161045 0.29519,1.532101l5.190419,3.961917c-0.098397,0.76605 -0.172194,1.54407 -0.172194,2.33406s0.073797,1.56801 0.172194,2.33406l-5.190419,3.961917c-0.467384,0.359086 -0.602679,1.005441 -0.29519,1.532101l4.919828,8.29489c0.307489,0.51469 0.947067,0.730142 1.500548,0.51469l6.125186,-2.405877c1.266856,0.945594 2.656707,1.747553 4.157255,2.357999l0.922468,6.343855c0.098397,0.562568 0.602679,1.005441 1.217657,1.005441l9.839656,0c0.614979,0 1.119261,-0.442873 1.217657,-1.005441l0.922468,-6.343855c1.500548,-0.610446 2.890399,-1.400436 4.157255,-2.357999l6.125186,2.405877c0.553481,0.203482 1.193058,0 1.500548,-0.51469l4.919828,-8.29489c0.307489,-0.51469 0.172194,-1.161045 -0.29519,-1.532101l-5.190419,-3.961917zm-18.277162,6.044617c-4.759934,0 -8.609699,-3.746465 -8.609699,-8.378677s3.849766,-8.378677 8.609699,-8.378677s8.609699,3.746465 8.609699,8.378677s-3.849766,8.378677 -8.609699,8.378677z"/> </svg>'},21132:function(e,t,i){"use strict";i.d(t,{applyMargin:function(){return r}});var n=i(80991),o=i(10808);function r(e,t,i,r,s,a,l){let c=[t,i,r,s],u=(e,t)=>{let i=(0,n.css)(a,e),r=(0,o.normalSizeToString)(t);i.toString()!==r.toString()&&(0,n.css)(a,e,r)};if(l)u("margin",t);else{let e=["margin-top","margin-right","margin-bottom","margin-left"];c.forEach((t,i)=>{u(e[i],t)})}}},21195:function(e){e.exports.default=["なにかタイプしてください","Joditについて","Jodit Editor","Jodit ユーザーズ・ガイド","詳しい使い方","ライセンス詳細についてはJodit Webサイトを確認ください:","フルバージョンを購入","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","新しいタブで開く","エディターのサイズ(フル/ノーマル)","書式をクリア","テキストの色","やり直し","元に戻す","太字","斜体","箇条書き","番号付きリスト","中央揃え","両端揃え","左揃え","右揃え","区切り線を挿入","画像を挿入","ファイルを挿入","Youtube/Vimeo 動画","リンクを挿入","フォントサイズ","フォント","テキストのスタイル","指定なし","タイトル1","タイトル2","タイトル3","タイトル4","引用","コード","挿入","表を挿入","インデント減","インデント増","特殊文字を選択","特殊文字を挿入","書式を貼付け","編集モード切替え","マージン","上","右","下","左","スタイル","クラス","配置","右寄せ","中央寄せ","左寄せ","指定なし","ソース","タイトル","代替テキスト","リンク","新しいタブで開く","画像","ファイル","高度な設定","画像のプロパティー","キャンセル","確定","File Browser","Error on load list","Error on load folders","Are you sure?","Enter Directory name","Create directory","type name","ここに画像をドロップ","ここにファイルをドロップ","or クリック","代替テキスト","アップロード","ブラウズ","背景","文字","上","中央","下","左に列を挿入","右に列を挿入","上に行を挿入","下に行を挿入","表を削除","行を削除","列を削除","セルを空にする","文字数: %d","単語数: %d","取り消し線","下線","上付き文字","下付き文字","切り取り","すべて選択","Pause","検索","置換","交換","貼付け","選択した内容を貼付け","source","bold","italic","brush","link","undo","redo","table","image","eraser","paragraph","fontsize","video","font","about","print","underline","strikethrough","indent","outdent","fullsize","shrink","分割線","箇条書き","番号付きリスト","切り取り","すべて選択","埋め込みコード","リンクを開く","リンクを編集","No follow","リンク解除","更新","鉛筆","サイトを確認","URL","編集","水平方向の配置","Filter","Sort by changed","Sort by name","Sort by size","Add folder","リセット","保存","Save as ...","リサイズ","Crop","幅","高さ","縦横比を保持","はい","いいえ","移除","選択","選択: %s","垂直方向の配置","分割","セルの結合","列を追加","行を追加","ライセンス: %s","削除","セルの分割(垂直方向)","セルの分割(水平方向)","境界線","HTMLコードを保持しますか?","HTMLで貼付け","HTMLを保持","HTMLをテキストにする","テキストだけ","You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!","パレット","There are no files","Rename","Enter new name","プレビュー","ダウンロード","貼り付け","お使いのブラウザはクリップボードを使用できません","コピー","copy","角の丸み","全て表示","適用","まだこの分野","を入力してくださいウェブアドレス","デフォルト","白丸","黒丸","四角","見","探前","由来","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Word Paste Detected","Clean","クラス名を挿入","カスタムサイズ変更のためのAltキーを押します",null,null,null,"全部"]},21513:function(e){e.exports={"copy-format":"Format de copie"}},21917:function(e){e.exports='<svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg"> <path clip-rule="evenodd" d="M306.39,154.09c19.628,4.543,35.244,21.259,39.787,39.523 c1.551,8.54,8.998,14.989,17.904,14.989c9.991,0,18.168-8.175,18.168-18.17c0-13.083-10.991-32.98-25.985-47.881 c-14.719-14.537-32.252-24.802-46.695-24.802c-9.991,0-18.172,8.45-18.172,18.446C291.396,145.094,297.847,152.546,306.39,154.09z M56.629,392.312c-14.09,14.08-14.09,36.979,0,51.059c14.08,14.092,36.981,14.092,50.965,0l104.392-104.303 c24.347,15.181,53.062,23.991,83.953,23.991c87.857,0,158.995-71.142,158.995-158.999c0-87.854-71.138-158.995-158.995-158.995 c-87.856,0-158.995,71.141-158.995,158.995c0,30.802,8.819,59.606,23.992,83.953L56.629,392.312z M182.371,204.06 c0-62.687,50.875-113.568,113.568-113.568s113.569,50.881,113.569,113.568c0,62.694-50.876,113.569-113.569,113.569 S182.371,266.754,182.371,204.06z" fill-rule="evenodd"/> </svg>'},22289:function(e,t,i){"use strict";function n(e){return"boolean"==typeof e}i.d(t,{isBoolean:function(){return n}})},22380:function(e){e.exports={"copy-format":"Copiar formato"}},22533:function(e,t,i){"use strict";i.d(t,{ToolbarButton:function(){return I}});var n=i(25045),o=i(31635),r=i(69364),s=i(49574),a=i(51676),l=i(91672),c=i(68616),u=i(23211),d=i(17312),h=i(91565),p=i(24497),m=i(62101),f=i(85932),g=i(86878),v=i(57821),_=i(28712),b=i(7909),y=i(71125),S=i(59400),w=i(15982),C=i(29434),k=i(51116),E=i(4274);class I extends S.UIButton{className(){return"ToolbarButton"}get toolbar(){let e=(0,l.getComponentClass)("ToolbarCollection");return this.closest(e)}update(){var e,t;let{control:i,state:n}=this,o=this.toolbar;if(!o)return;let r=null==(e=i.value)?void 0:e.call(i,o.jodit,this);void 0!==r&&(n.value=r),n.disabled=this.__calculateDisabledStatus(o),n.activated=this.__calculateActivatedStatus(o),null==(t=i.update)||t.call(i,o.jodit,this)}__calculateActivatedStatus(e){var t,i;return(!(0,p.isJoditObject)(this.j)||!!this.j.editorIsActive)&&(null!=(t=(i=this.control).isActive)&&!!t.call(i,this.j,this)||!!(e&&e.shouldBeActive(this)))}__calculateDisabledStatus(e){var t,i;return!!(this.j.o.disabled||this.j.o.readonly&&(!this.j.o.activeButtonsInReadOnly||!this.j.o.activeButtonsInReadOnly.includes(this.control.name))||(null==(t=(i=this.control).isDisabled)?void 0:t.call(i,this.j,this)))||!!(e&&e.shouldBeDisabled(this))}onChangeActivated(){(0,b.attr)(this.button,"aria-pressed",this.state.activated),super.onChangeActivated()}onChangeText(){(0,h.isFunction)(this.control.template)?this.text.innerHTML=this.control.template(this.j,this.control.name,this.j.i18n(this.state.text)):super.onChangeText(),this.setMod("text-icons",!!this.text.innerText.trim().length)}onChangeTabIndex(){(0,b.attr)(this.button,"tabindex",this.state.tabIndex)}createContainer(){let e=this.componentName,t=this.j.c.span(e),i=super.createContainer();(0,b.attr)(t,"role","listitem"),i.classList.remove(e),i.classList.add(e+"__button"),Object.defineProperty(i,"component",{value:this}),t.appendChild(i);let n=this.j.c.fromHTML(`<span role="trigger" class="${e}__trigger">${C.Icon.get("chevron")}</span>`);return i.appendChild(n),t}focus(){var e;null==(e=this.container.querySelector("button"))||e.focus()}onChangeHasTrigger(){this.state.hasTrigger?this.container.appendChild(this.trigger):u.Dom.safeRemove(this.trigger),this.setMod("with-trigger",this.state.hasTrigger||null)}onChangeDisabled(){let e=this.state.disabled?"disabled":null;(0,b.attr)(this.trigger,"disabled",e),(0,b.attr)(this.button,"disabled",e),(0,b.attr)(this.container,"disabled",e)}__initFromControl(){let{control:e,state:t}=this;this.updateSize(),t.name=e.name;let{textIcons:i}=this.j.o;if(!0===i||(0,h.isFunction)(i)&&i(e.name)||e.template)t.icon=(0,S.UIButtonState)().icon,t.text=e.text||e.name;else{if(e.iconURL)t.icon.iconURL=e.iconURL;else{var n;let i=e.icon||e.name;t.icon.name=C.Icon.exists(i)||(null==(n=this.j.o.extraIcons)?void 0:n[i])?i:""}e.iconURL||t.icon.name||(t.text=e.text||e.name)}e.tooltip&&(t.tooltip=(0,h.isFunction)(e.tooltip)?e.tooltip(this.j,e,this):e.tooltip),t.hasTrigger=!!(e.list||e.popup&&e.exec)}onTriggerClick(e){if(this.openedPopup)return void this.__closePopup();let{control:t}=this;if(e.buffer={actionTrigger:this},t.list)return this.__openControlList(t);if((0,h.isFunction)(t.popup)){let e=this.openPopup();e.parentElement=this;try{if(!1!==this.j.e.fire((0,v.camelCase)(`before-${t.name}-open-popup`),this.target,t,e)){var i,n,o;let r=null!=(i=null!=(n=null==(o=this.toolbar)?void 0:o.getTarget(this))?n:this.target)?i:null,s=t.popup(this.j,r,this.__closePopup,this);s?e.setContent((0,f.isString)(s)?this.j.c.fromHTML(s):s).open(()=>(0,g.position)(this.container),!1,this.j.o.allowTabNavigation?this.container:void 0):this.__closePopup()}}catch(e){throw this.__closePopup(),e}this.j.e.fire((0,v.camelCase)(`after-${t.name}-open-popup`),e.container)}}__openControlList(e){var t;let i=null!=(t=this.jodit.options.controls)?t:{},n=e=>(0,w.findControlType)(e,i),o=e.list,r=this.openPopup(),s=(0,E.makeCollection)(this.j);r.parentElement=this,s.parentElement=r,s.mode="vertical";let a=(t,i)=>{let o;if((0,f.isString)(i)&&n(i))return{name:i.toString(),...n(i)};if((0,f.isString)(t)&&n(t))return{name:t.toString(),...n(t),..."object"==typeof i?i:{}};o=t,(0,m.isPlainObject)(o)&&"title"in o&&"value"in o&&(i=t.value,t=t.title);let{childTemplate:r}=e,s={name:t.toString(),template:r&&((e,t,i)=>r(e,t,i,this)),exec:e.childExec?(t,i,n)=>{var o;return null==(o=e.childExec)?void 0:o.call(e,t,i,{...n,parentControl:e})}:e.exec,data:e.data,command:e.command,isActive:e.isChildActive,value:e.value,isDisabled:e.isChildDisabled,mode:e.mode,args:[...e.args?e.args:[],t,i]};return(0,f.isString)(i)&&(s.text=i),s};s.build((0,d.isArray)(o)?o.map(a):(0,y.keys)(o,!1).map(e=>a(e,o[e])),this.target),r.setContent(s).open(()=>(0,g.position)(this.container),!1,this.j.o.allowTabNavigation?this.container:void 0),this.state.activated=!0}onOutsideClick(e){this.openedPopup&&(e&&u.Dom.isNode(e.target)&&(u.Dom.isOrContains(this.container,e.target)||this.openedPopup.isOwnClick(e))||this.__closePopup())}openPopup(){return this.__closePopup(),this.openedPopup=new k.Popup(this.j,!1),this.j.e.on(this.ow,"mousedown touchstart",this.onOutsideClick).on("escape closeAllPopups",this.onOutsideClick),this.openedPopup}__closePopup(){this.openedPopup&&(this.j.e.off(this.ow,"mousedown touchstart",this.onOutsideClick).off("escape closeAllPopups",this.onOutsideClick),this.state.activated=!1,this.openedPopup.close(),this.openedPopup.destruct(),this.openedPopup=null)}onClick(e){let{control:t}=this;if((0,h.isFunction)(t.exec)){var i,n,o,r,s,a,l;let c=null!=(i=null!=(n=null==(o=this.toolbar)?void 0:o.getTarget(this))?n:this.target)?i:null,u=t.exec(this.j,c,{control:t,originalEvent:e,button:this});if(!1!==u&&!0!==u&&(null==(s=this.j)||null==(r=s.e)||r.fire("synchro"),this.parentElement&&this.parentElement.update(),null==(l=this.j)||null==(a=l.e)||a.fire("closeAllPopups afterExec")),!1!==u)return}return t.list?this.__openControlList(t):(0,h.isFunction)(t.popup)?this.onTriggerClick(e):void((t.command||t.name)&&((0,y.call)((0,p.isJoditObject)(this.j)?this.j.execCommand.bind(this.j):this.j.od.execCommand.bind(this.j.od),t.command||t.name,!1,t.args&&t.args[0]),this.j.e.fire("closeAllPopups")))}destruct(){return this.__closePopup(),super.destruct()}constructor(e,t,i=null){super(e),(0,n._)(this,"control",void 0),(0,n._)(this,"target",void 0),(0,n._)(this,"state",void 0),(0,n._)(this,"trigger",void 0),(0,n._)(this,"openedPopup",void 0),this.control=t,this.target=i,this.state={...(0,S.UIButtonState)(),theme:"toolbar",currentValue:"",hasTrigger:!1},this.openedPopup=null;const o=this.getElm("button");(0,_.assert)(o,"Element button should exists"),this.button=o,Object.defineProperty(o,"component",{value:this,configurable:!0});const s=this.getElm("trigger");(0,_.assert)(s,"Element trigger should exists"),this.trigger=s,s.remove(),e.e.on([this.button,this.trigger],"mousedown",e=>e.preventDefault()),this.onAction(this.onClick),this.hookStatus(r.STATUSES.ready,()=>{this.__initFromControl(),this.update()}),t.mods&&Object.keys(t.mods).forEach(e=>{t.mods&&this.setMod(e,t.mods[e])})}}(0,o.__decorate)([a.cacheHTML],I.prototype,"createContainer",null),(0,o.__decorate)([(0,c.watch)("state.hasTrigger",{immediately:!1})],I.prototype,"onChangeHasTrigger",null),(0,o.__decorate)([(0,c.watch)("trigger:click")],I.prototype,"onTriggerClick",null),(0,o.__decorate)([s.autobind],I.prototype,"onOutsideClick",null),(0,o.__decorate)([s.autobind],I.prototype,"__closePopup",null),I=(0,o.__decorate)([l.component],I)},22852:function(e,t,i){"use strict";i.d(t,{stripTags:function(){return function e(t,i=document,u=null){let d=i.createElement("div");return(0,o.isString)(t)?d.innerHTML=t:d.appendChild(t),(0,s.$$)("*",d).forEach(t=>{let o=t.parentNode;if(!o)return;if(u&&n.Dom.isTag(t,u)){let o=t.nodeName.toLowerCase(),r=n.Dom.isTag(t,c)?`%%%jodit-single-${o}%%%`:`%%%jodit-${o}%%%${e(t.innerHTML,i,u)}%%%/jodit-${o}%%%`;n.Dom.before(t,i.createTextNode(r)),n.Dom.safeRemove(t);return}if(n.Dom.isTag(t,l))return void n.Dom.safeRemove(t);if(!n.Dom.isTag(t,a))return;let r=t.nextSibling;!(n.Dom.isText(r)&&/^\s/.test(r.nodeValue||""))&&r&&o.insertBefore(i.createTextNode(" "),r)}),(0,r.trim)(d.innerText).replace(/%%%(\/)?jodit(-single)?-([\w\n]+)%%%/g,(e,t,i,n)=>`<${t?"/":""}${n}>`)}}});var n=i(23211),o=i(85932),r=i(4040),s=i(93640);let a=new Set(["div","p","br","h1","h2","h3","h4","h5","h6","hr"]),l=new Set(["script","style"]),c=new Set(["br","hr","input"])},22980:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(27795),a=i(28077),l=i(85932),c=i(91206);i(86038);class u extends c.Plugin{afterInit(e){"br"!==e.o.enter.toLowerCase()&&e.e.on("drop.wtn focus.wtn keydown.wtn mousedown.wtn afterInit.wtn backSpaceAfterDelete.wtn",this.preprocessInput,{top:!0}).on("afterInit.wtn postProcessSetEditorValue.wtn afterCommitStyle.wtn backSpaceAfterDelete.wtn",this.postProcessSetEditorValue)}beforeDestruct(e){e.e.off(".wtn")}postProcessSetEditorValue(){let{jodit:e}=this;if(!e.isEditorMode())return;let t=e.editor.firstChild,i=!1;for(;t;){if(t=function(e,t){let i=e,n=e;do if(s.Dom.isElement(n)&&s.Dom.isLeaf(n)&&!s.Dom.isList(n.parentElement)){let e=s.Dom.findNotEmptySibling(n,!1);s.Dom.isTag(i,"ul")?i.appendChild(n):i=s.Dom.wrap(n,"ul",t.createInside),n=e}else break;while(n);return i}(t,e),this.isSuitableStart(t)){i||e.s.save(),i=!0;let n=e.createInside.element(e.o.enter);for(s.Dom.before(t,n);t&&this.isSuitable(t);){let e=t.nextSibling;n.appendChild(t),t=e}n.normalize(),t=n}t=t&&t.nextSibling}i&&(e.s.restore(),"afterInit"===e.e.current&&e.e.fire("internalChange"))}preprocessInput(){let{jodit:e}=this,t="afterInit"===e.e.current;if(!e.isEditorMode()||e.editor.firstChild||!e.o.wrapNodes.emptyBlockAfterInit&&t)return;let i=e.createInside.element(e.o.enter),n=e.createInside.element("br");s.Dom.append(i,n),s.Dom.append(e.editor,i),e.s.isFocused()&&e.s.setCursorBefore(n),e.e.fire("internalChange")}constructor(...e){super(...e),(0,n._)(this,"isSuitableStart",e=>{var t;return s.Dom.isText(e)&&(0,l.isString)(e.nodeValue)&&(/[^\s]/.test(e.nodeValue)||(null==(t=e.parentNode)?void 0:t.firstChild)===e&&this.isSuitable(e.nextSibling))||this.isNotWrapped(e)&&!s.Dom.isTemporary(e)}),(0,n._)(this,"isSuitable",e=>s.Dom.isText(e)||this.isNotWrapped(e)),(0,n._)(this,"isNotWrapped",e=>s.Dom.isElement(e)&&!(s.Dom.isBlock(e)||s.Dom.isTag(e,this.j.o.wrapNodes.exclude)))}}(0,o.__decorate)([r.autobind],u.prototype,"postProcessSetEditorValue",null),(0,o.__decorate)([r.autobind],u.prototype,"preprocessInput",null),a.pluginSystem.add("wrapNodes",u)},22998:function(e){e.exports={"copy-format":"Form\xe1tum m\xe1sol\xe1s"}},23112:function(e,t,i){"use strict";function n(e){let t=atob(e.split(",")[1]),i=e.split(",")[0].split(":")[1].split(";")[0],n=new Uint8Array(new ArrayBuffer(t.length));for(let e=0;e<t.length;e+=1)n[e]=t.charCodeAt(e);return new Blob([n.buffer],{type:i})}i.d(t,{dataURItoBlob:function(){return n}})},23175:function(e,t,i){"use strict";i.d(t,{isMarker:function(){return o}});var n=i(23211);function o(e){return n.Dom.isMarker(e)}},23183:function(e,t,i){"use strict";i.d(t,{Elms:function(){return o}});var n=i(88475);class o{getElm(e){return this.container.querySelector(`.${this.getFullElName(e)}`)}getElms(e){return(0,n.toArray)(this.container.querySelectorAll(`.${this.getFullElName(e)}`))}}},23211:function(e,t,i){"use strict";i.d(t,{Dom:function(){return _}});var n=i(81937),o=i(88475),r=i(17312),s=i(91565),a=i(46248),l=i(3213),c=i(85932),u=i(18303),d=i(4040),h=i(28712),p=i(7909),m=i(80991),f=i(36400),g=i(33201),v=i(71125);class _{static detach(e){for(;e&&e.firstChild;)e.removeChild(e.firstChild)}static wrapNextInline(e,t,i){let n,o=e;i.s.save();let r=!1;do r=!1,(n=o.nextSibling)&&!_.isBlock(n)&&!_.isTag(n,"br")&&(r=!0,o=n);while(r);return _.__wrapElements(t,i,e,o)}static __wrapElements(e,t,i,n){let o=(0,c.isString)(e)?t.createInside.element(e):e;i.parentNode&&i.parentNode.insertBefore(o,i);let r=i;for(;r&&(r=i.nextSibling,o.appendChild(i),i!==n&&r);)i=r;return t.s.restore(),o}static wrapInline(e,t,i){let n,o=e,r=e;i.s.save();let s=!1;do s=!1,(n=o.previousSibling)&&!_.isBlock(n)&&(s=!0,o=n);while(s);do s=!1,(n=r.nextSibling)&&!_.isBlock(n)&&(s=!0,r=n);while(s);return _.__wrapElements(t,i,o,r)}static wrap(e,t,i){let n=(0,c.isString)(t)?i.element(t):t;if(_.isNode(e)){if(!e.parentNode)throw(0,g.error)("Element should be in DOM");e.parentNode.insertBefore(n,e),n.appendChild(e)}else{let t=e.extractContents();e.insertNode(n),n.appendChild(t)}return n}static unwrap(e){let t=e.parentNode;if(t){for(;e.firstChild;)t.insertBefore(e.firstChild,e);_.safeRemove(e)}}static between(e,t,i){let n=e;for(;n&&n!==t&&!(e!==n&&i(n));){let e=n.firstChild||n.nextSibling;if(!e){for(;n&&!n.nextSibling;)n=n.parentNode;e=null==n?void 0:n.nextSibling}n=e}}static replace(e,t,i,n=!1,r=!1){let s;if((0,a.isHTML)(t)&&((0,h.assert)(i,"Need create instance for new tag"),t=i.fromHTML(t)),(0,c.isString)(t)?((0,h.assert)(i,"Need create instance for new tag"),s=i.element(t)):s=t,!r)for(;e.firstChild;)s.appendChild(e.firstChild);return n&&_.isElement(e)&&_.isElement(s)&&(0,o.toArray)(e.attributes).forEach(e=>{s.setAttribute(e.name,e.value)}),e.parentNode&&e.parentNode.replaceChild(s,e),s}static isEmptyTextNode(e){return _.isText(e)&&(!e.nodeValue||0===e.nodeValue.replace(n.INVISIBLE_SPACE_REG_EXP(),"").trim().length)}static isEmptyContent(e){return _.each(e,e=>_.isEmptyTextNode(e))}static isContentEditable(e,t){return _.isNode(e)&&!_.closest(e,e=>_.isElement(e)&&"false"===e.getAttribute("contenteditable"),t)}static isEmpty(e,t=n.NO_EMPTY_TAGS){let i;if(!e)return!0;i=(0,s.isFunction)(t)?t:e=>t.has(e.nodeName.toLowerCase());let o=e=>null==e.nodeValue||0===(0,d.trim)(e.nodeValue).length;return _.isText(e)?o(e):!(_.isElement(e)&&i(e))&&_.each(e,e=>{if(_.isText(e)&&!o(e)||_.isElement(e)&&i(e))return!1})}static isNode(e){return!!(e&&(0,c.isString)(e.nodeName)&&"number"==typeof e.nodeType&&e.childNodes&&(0,s.isFunction)(e.appendChild))}static isCell(e){return _.isNode(e)&&("TD"===e.nodeName||"TH"===e.nodeName)}static isList(e){return _.isTag(e,n.LIST_TAGS)}static isLeaf(e){return _.isTag(e,"li")}static isImage(e){return _.isNode(e)&&/^(img|svg|picture|canvas)$/i.test(e.nodeName)}static isBlock(e){return!(0,u.isVoid)(e)&&"object"==typeof e&&_.isNode(e)&&n.IS_BLOCK.test(e.nodeName)}static isText(e){return!!(e&&e.nodeType===Node.TEXT_NODE)}static isComment(e){return!!(e&&e.nodeType===Node.COMMENT_NODE)}static isElement(e){var t;return!!_.isNode(e)&&!!((null==(t=e.ownerDocument)?void 0:t.defaultView)&&e.nodeType===Node.ELEMENT_NODE)}static isFragment(e){var t;return!!_.isNode(e)&&!!((null==(t=e.ownerDocument)?void 0:t.defaultView)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)}static isHTMLElement(e){var t;if(!_.isNode(e))return!1;let i=null==(t=e.ownerDocument)?void 0:t.defaultView;return!!(i&&e instanceof i.HTMLElement)}static isInlineBlock(e){return _.isElement(e)&&!/^(BR|HR)$/i.test(e.tagName)&&-1!==["inline","inline-block"].indexOf((0,m.css)(e,"display").toString())}static canSplitBlock(e){return!(0,u.isVoid)(e)&&_.isHTMLElement(e)&&_.isBlock(e)&&!/^(TD|TH|CAPTION|FORM)$/.test(e.nodeName)&&void 0!==e.style&&!/^(fixed|absolute)/i.test(e.style.position)}static last(e,t){let i=null==e?void 0:e.lastChild;if(!i)return null;do{if(t(i))return i;let n=i.lastChild;if(n||(n=i.previousSibling),!n&&i.parentNode!==e){do i=i.parentNode;while(i&&!(null==i?void 0:i.previousSibling)&&i.parentNode!==e);n=null==i?void 0:i.previousSibling}i=n}while(i);return null}static prev(e,t,i,n=!0){return _.find(e,t,i,!1,n)}static next(e,t,i,n=!0){return _.find(e,t,i,!0,n)}static prevWithClass(e,t){return _.prev(e,e=>_.isElement(e)&&e.classList.contains(t),e.parentNode)}static nextWithClass(e,t){return _.next(e,e=>_.isElement(e)&&e.classList.contains(t),e.parentNode)}static find(e,t,i,n=!0,o=!0){let r=this.nextGen(e,i,n,o),s=r.next();for(;!s.done;){if(t(s.value))return s.value;s=r.next()}return null}static*nextGen(e,t,i=!0,n=!0){let o=[],r=e;do{let t=i?r.nextSibling:r.previousSibling;for(;t;)o.unshift(t),t=i?t.nextSibling:t.previousSibling;yield*this.runInStack(e,o,i,n),r=r.parentNode}while(r&&r!==t);return null}static each(e,t,i=!0){let n=this.eachGen(e,i),o=n.next();for(;!o.done;){if(!1===t(o.value))return!1;o=n.next()}return!0}static eachGen(e,t=!0){return this.runInStack(e,[e],t)}static*runInStack(e,t,i,n=!0){for(;t.length;){let o=t.pop();if(n){let e=i?o.lastChild:o.firstChild;for(;e;)t.push(e),e=i?e.previousSibling:e.nextSibling}e!==o&&(yield o)}}static findWithCurrent(e,t,i,n="nextSibling",o="firstChild"){let r=e;do{if(t(r))return r||null;if(o&&r&&r[o]){let e=_.findWithCurrent(r[o],t,r,n,o);if(e)return e}for(;r&&!r[n]&&r!==i;)r=r.parentNode;r&&r[n]&&r!==i&&(r=r[n])}while(r&&r!==i);return null}static findSibling(e,t=!0,i=e=>!_.isEmptyTextNode(e)){let n=_.sibling(e,t);for(;n&&!i(n);)n=_.sibling(n,t);return n&&i(n)?n:null}static findNotEmptySibling(e,t){return _.findSibling(e,t,e=>{var t;return!_.isEmptyTextNode(e)&&!!(!_.isText(e)||(null==(t=e.nodeValue)?void 0:t.length)&&(0,d.trim)(e.nodeValue))})}static findNotEmptyNeighbor(e,t,i){return(0,v.call)(t?_.prev:_.next,e,e=>!!(e&&(!(_.isText(e)||_.isComment(e))||(0,d.trim)((null==e?void 0:e.nodeValue)||"").length)),i)}static sibling(e,t){return t?e.previousSibling:e.nextSibling}static up(e,t,i,n=!1){let o=e;if(!o)return null;do{if(t(o))return o;if(o===i||!o.parentNode)break;o=o.parentNode}while(o&&o!==i);return o===i&&n&&t(o)?o:null}static closest(e,t,i){let n,o=e=>e.toLowerCase();if((0,s.isFunction)(t))n=t;else if((0,r.isArray)(t)||(0,l.isSet)(t)){let e=(0,l.isSet)(t)?t:new Set(t.map(o));n=t=>!!(t&&e.has(o(t.nodeName)))}else n=e=>!!(e&&o(t)===o(e.nodeName));return _.up(e,n,i)}static furthest(e,t,i){let n=null,o=null==e?void 0:e.parentElement;for(;o&&o!==i;)t(o)&&(n=o),o=null==o?void 0:o.parentElement;return n}static appendChildFirst(e,t){let i=e.firstChild;i?i!==t&&e.insertBefore(t,i):e.appendChild(t)}static after(e,t){let{parentNode:i}=e;i&&(i.lastChild===e?i.appendChild(t):i.insertBefore(t,e.nextSibling))}static before(e,t){let{parentNode:i}=e;i&&i.insertBefore(t,e)}static prepend(e,t){e.insertBefore(t,e.firstChild)}static append(e,t){(0,r.isArray)(t)?t.forEach(t=>{this.append(e,t)}):e.appendChild(t)}static moveContent(e,t,i=!1,r=()=>!0){let s=(e.ownerDocument||n.globalDocument).createDocumentFragment();(0,o.toArray)(e.childNodes).filter(e=>!!r(e)||(_.safeRemove(e),!1)).forEach(e=>{s.appendChild(e)}),i&&t.firstChild?t.insertBefore(s,t.firstChild):t.appendChild(s)}static isOrContains(e,t,i=!1){return e===t?!i:!!(t&&e&&this.up(t,t=>t===e,e,!0))}static safeRemove(...e){e.forEach(e=>_.isNode(e)&&e.parentNode&&e.parentNode.removeChild(e))}static safeInsertNode(e,t){e.collapsed||e.deleteContents();let i=_.isFragment(t)?t.lastChild:t;e.startContainer===e.endContainer&&e.collapsed&&_.isTag(e.startContainer,n.INSEPARABLE_TAGS)?_.after(e.startContainer,t):(e.insertNode(t),i&&e.setStartBefore(i)),e.collapse(!0),[t.nextSibling,t.previousSibling].forEach(e=>_.isText(e)&&!e.nodeValue&&_.safeRemove(e))}static hide(e){e&&((0,f.dataBind)(e,"__old_display",e.style.display),e.style.display="none")}static show(e){if(!e)return;let t=(0,f.dataBind)(e,"__old_display");"none"===e.style.display&&(e.style.display=t||"")}static isTag(e,t){if(!this.isElement(e))return!1;let i=e.tagName.toLowerCase(),n=e.tagName.toUpperCase();if(t instanceof Set)return t.has(i)||t.has(n);if(Array.isArray(t))throw TypeError("Dom.isTag does not support array");return i===t||n===t}static markTemporary(e,t){return t&&(0,p.attr)(e,t),(0,p.attr)(e,n.TEMP_ATTR,!0),e}static isTemporary(e){return!!_.isElement(e)&&(_.isMarker(e)||"true"===(0,p.attr)(e,n.TEMP_ATTR))}static isMarker(e){return _.isNode(e)&&_.isTag(e,"span")&&e.hasAttribute("data-"+n.MARKER_CLASS)}static replaceTemporaryFromString(e){return e.replace(/<([a-z]+)[^>]+data-jodit-temp[^>]+>(.+?)<\/\1>/gi,"$2")}static temporaryList(e){return(0,o.toArray)(e.querySelectorAll(`[${n.TEMP_ATTR}]`))}constructor(){throw Error("Dom is static module")}}},23283:function(e,t,i){"use strict";function n(e){return!!e&&"function"===(typeof e).toLowerCase()&&(e===Function.prototype||/^\s*function\s*(\b[a-z$_][a-z0-9$_]*\b)*\s*\((|([a-z$_][a-z0-9$_]*)(\s*,[a-z$_][a-z0-9$_]*)*)\)\s*{\s*\[native code]\s*}\s*$/i.test(String(e)))}i.d(t,{isNativeFunction:function(){return n}})},23422:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(23211),l=i(28077),c=i(65946),u=i(18855);i(38187);var d=i(54308);class h extends u.Plugin{afterInit(e){e.e.on("paste.paste",this.onPaste).on("pasteStack.paste",e=>this.pasteStack.push(e)),e.o.nl2brInPlainText&&this.j.e.on("processPaste.paste",this.onProcessPasteReplaceNl2Br)}beforeDestruct(e){e.e.off("paste.paste",this.onPaste).off("processPaste.paste",this.onProcessPasteReplaceNl2Br).off(".paste")}onPaste(e){try{if(!1===this.customPasteProcess(e)||!1===this.j.e.fire("beforePaste",e))return e.preventDefault(),!1;this.defaultPasteProcess(e)}finally{this.j.e.fire("afterPaste",e)}}customPasteProcess(e){if(!this.j.o.processPasteHTML)return;let t=(0,c.getDataTransfer)(e),i=[null==t?void 0:t.getData(r.TEXT_PLAIN),null==t?void 0:t.getData(r.TEXT_HTML),null==t?void 0:t.getData(r.TEXT_RTF)];for(let t of i)if((0,c.isHTML)(t)&&(this.j.e.fire("processHTML",e,t,{plain:i[0],html:i[1],rtf:i[2]})||this.processHTML(e,t)))return!1}defaultPasteProcess(e){let t=(0,c.getDataTransfer)(e),i=(null==t?void 0:t.getData(r.TEXT_HTML))||(null==t?void 0:t.getData(r.TEXT_PLAIN));if(t&&i&&""!==(0,c.trim)(i)){let n=this.j.e.fire("processPaste",e,i,(0,d.getAllTypes)(t));void 0!==n&&(i=n),((0,c.isString)(i)||a.Dom.isNode(i))&&this.__insertByType(e,i,this.j.o.defaultActionOnPaste),e.preventDefault(),e.stopPropagation()}}processHTML(e,t){if(!this.j.o.askBeforePasteHTML)return!1;if(this.j.o.memorizeChoiceWhenPasteFragment){let i=this.pasteStack.find(e=>e.html===t);if(i)return this.__insertByType(e,t,i.action||this.j.o.defaultActionOnPaste),!0}if(this._isDialogOpened)return!0;let i=(0,d.askInsertTypeDialog)(this.j,"Your code is similar to HTML. Keep as HTML?","Paste as HTML",i=>{this._isDialogOpened=!1,this.__insertByType(e,t,i)},this.j.o.pasteHTMLActionList);return i&&(this._isDialogOpened=!0,i.e.on("beforeClose",()=>{this._isDialogOpened=!1})),!0}__insertByType(e,t,i){if(this.pasteStack.push({html:t,action:i}),(0,c.isString)(t))switch(this.j.buffer.set(r.CLIPBOARD_ID,t),i){case r.INSERT_CLEAR_HTML:t=(0,c.cleanFromWord)(t);break;case r.INSERT_ONLY_TEXT:t=(0,c.stripTags)(t,this.j.ed,new Set(this.j.o.pasteExcludeStripTags));break;case r.INSERT_AS_TEXT:t=(0,c.htmlspecialchars)(t);break;default:{let n=this.j.e.fire("onCustomPasteHTMLOption",i,t,e);"string"==typeof n&&(t=n)}}(0,d.pasteInsertHtml)(e,this.j,t)}onProcessPasteReplaceNl2Br(e,t,i){if(i===r.TEXT_PLAIN+";"&&!(0,c.isHTML)(t))return(0,c.nl2br)(t)}constructor(...e){super(...e),(0,n._)(this,"pasteStack",new c.LimitedStack(20)),(0,n._)(this,"_isDialogOpened",!1)}}(0,o.__decorate)([s.autobind],h.prototype,"onPaste",null),(0,o.__decorate)([s.autobind],h.prototype,"onProcessPasteReplaceNl2Br",null),l.pluginSystem.add("paste",h)},23599:function(e,t,i){"use strict";i.d(t,{position:function(){return function e(t,i,o=!1){var r,s;let a=t.getBoundingClientRect(),l=a.left,c=a.top;if((0,n.isJoditObject)(i)&&i.iframe&&i.ed.body.contains(t)&&!o){let{left:t,top:n}=e(i.iframe,i,!0);l+=t,c+=n}return{left:Math.round(l),top:Math.round(c),width:Math.round(null!=(r=t.offsetWidth)?r:a.width),height:Math.round(null!=(s=t.offsetHeight)?s:a.height)}}}});var n=i(24497)},23602:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M960 896q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm300 64l507 398q28 20 25 56-5 35-35 51l-128 64q-13 7-29 7-17 0-31-8l-690-387-110 66q-8 4-12 5 14 49 10 97-7 77-56 147.5t-132 123.5q-132 84-277 84-136 0-222-78-90-84-79-207 7-76 56-147t131-124q132-84 278-84 83 0 151 31 9-13 22-22l122-73-122-73q-13-9-22-22-68 31-151 31-146 0-278-84-82-53-131-124t-56-147q-5-59 15.5-113t63.5-93q85-79 222-79 145 0 277 84 83 52 132 123t56 148q4 48-10 97 4 1 12 5l110 66 690-387q14-8 31-8 16 0 29 7l128 64q30 16 35 51 3 36-25 56zm-681-260q46-42 21-108t-106-117q-92-59-192-59-74 0-113 36-46 42-21 108t106 117q92 59 192 59 74 0 113-36zm-85 745q81-51 106-117t-21-108q-39-36-113-36-100 0-192 59-81 51-106 117t21 108q39 36 113 36 100 0 192-59zm178-613l96 58v-11q0-36 33-56l14-8-79-47-26 26q-3 3-10 11t-12 12q-2 2-4 3.5t-3 2.5zm224 224l96 32 736-576-128-64-768 431v113l-160 96 9 8q2 2 7 6 4 4 11 12t11 12l26 26zm704 416l128-64-520-408-177 138q-2 3-13 7z"/> </svg>'},24268:function(e,t,i){"use strict";var n=i(29434),o=i(5266),r=i(49989),s=i.n(r);o.Config.prototype.spellcheck=!1,n.Icon.set("spellcheck",s()),o.Config.prototype.controls.spellcheck={isActive(e){return e.o.spellcheck},icon:s(),name:"spellcheck",command:"toggleSpellcheck",tooltip:"Spellcheck"}},24475:function(e,t,i){"use strict";i.d(t,{Storage:function(){return l},StorageKey:function(){return a}});var n=i(25045),o=i(57821),r=i(59807),s=i(9505);let a="Jodit_";class l{set(e,t){return this.provider.set((0,o.camelCase)(this.prefix+e),t),this}delete(e){return this.provider.delete((0,o.camelCase)(this.prefix+e)),this}get(e){return this.provider.get((0,o.camelCase)(this.prefix+e))}exists(e){return this.provider.exists((0,o.camelCase)(this.prefix+e))}clear(){return this.provider.clear(),this}static makeStorage(e=!1,t){let i;return"localStorage"===e||"sessionStorage"===e?(0,r.canUsePersistentStorage)(e)&&(i=new r.LocalStorageProvider(a+(t||""),e)):!0===e&&(0,r.canUsePersistentStorage)("localStorage")&&(i=new r.LocalStorageProvider(a+(t||""))),i||(i=new s.MemoryStorageProvider),new l(i,t)}constructor(e,t){(0,n._)(this,"provider",void 0),(0,n._)(this,"prefix",void 0),this.provider=e,this.prefix=a,t&&(this.prefix+=t)}}},24497:function(e,t,i){"use strict";i.d(t,{isJoditObject:function(){return o}});var n=i(91565);function o(e){return!!(e&&e instanceof Object&&(0,n.isFunction)(e.constructor)&&("u">typeof Jodit&&e instanceof Jodit||e.isJodit))}},24641:function(e,t,i){"use strict";i.d(t,{UICheckbox:function(){return l}});var n=i(25045),o=i(31635),r=i(84839),s=i(23211),a=i(65273);class l extends a.UIInput{className(){return"UICheckbox"}render(){return this.j.c.element("label",{className:this.componentName})}onChangeChecked(){this.value=this.state.checked.toString(),this.nativeInput.checked=this.state.checked,this.setMod("checked",this.state.checked)}onChangeNativeCheckBox(){this.state.checked=this.nativeInput.checked}onChangeSwitch(){this.setMod("switch",this.state.switch);let e=this.getElm("switch-slider");this.state.switch?(e||(e=this.j.c.div(this.getFullElName("switch-slider"))),s.Dom.after(this.nativeInput,e)):s.Dom.safeRemove(e)}constructor(e,t){super(e,{...t,type:"checkbox"}),(0,n._)(this,"state",{...l.defaultState}),Object.assign(this.state,t)}}(0,n._)(l,"defaultState",{...a.UIInput.defaultState,checked:!1,switch:!1}),(0,o.__decorate)([(0,r.watch)("state.checked"),(0,r.hook)("ready")],l.prototype,"onChangeChecked",null),(0,o.__decorate)([(0,r.watch)("nativeInput:change")],l.prototype,"onChangeNativeCheckBox",null),(0,o.__decorate)([(0,r.watch)("state.switch"),(0,r.hook)("ready")],l.prototype,"onChangeSwitch",null),l=(0,o.__decorate)([r.component],l)},24735:function(e,t,i){"use strict";i.d(t,{Async:function(){return f}});var n=i(25045),o=i(81937),r=i(61077),s=i(72068),a=i(91565),l=i(72412),c=i(62101),u=i(52100),d=i(85932),h=i(18303),p=i(28712),m=i(14228);class f{delay(e){return this.promise(t=>this.setTimeout(t,e))}setTimeout(e,t,...i){if(this.isDestructed)return 0;let n={};(0,h.isVoid)(t)&&(t=0),(0,l.isNumber)(t)||(t=(n=t).timeout||0),n.label&&this.clearLabel(n.label);let o=(0,r.setTimeout)(e,t,...i),s=n.label||o;return this.timers.set(s,o),this.__callbacks.set(s,e),o}updateTimeout(e,t){if((0,p.assert)(e&&this.timers.has(e),"Label does not exist"),!e||!this.timers.has(e))return null;let i=this.__callbacks.get(e);return(0,p.assert)((0,a.isFunction)(i),"Callback is not a function"),this.setTimeout(i,{label:e,timeout:t})}clearLabel(e){e&&this.timers.has(e)&&((0,r.clearTimeout)(this.timers.get(e)),this.timers.delete(e),this.__callbacks.delete(e))}clearTimeout(e){if((0,d.isString)(e))return this.clearLabel(e);(0,r.clearTimeout)(e),this.timers.delete(e),this.__callbacks.delete(e)}debounce(e,t,i=!1){let n=0,o=!1,l=[],d=(...t)=>{if(!o){n=0;let i=e(...t);if(o=!0,l.length){let e=()=>{l.forEach(e=>e()),l.length=0};(0,u.isPromise)(i)?i.finally(e):e()}}},h=(...s)=>{o=!1,t?(!n&&i&&d(...s),(0,r.clearTimeout)(n),n=this.setTimeout(()=>d(...s),(0,a.isFunction)(t)?t():t),this.timers.set(e,n)):d(...s)};return(0,c.isPlainObject)(t)&&t.promisify?(...e)=>{let t=this.promise(e=>{l.push(e)}).catch(e=>{if((0,s.isAbortError)(e))return null;throw e});return h(...e),t}:h}microDebounce(e,t=!1){let i,n=!1,o=!0;return(...r)=>{if(i=r,n){o=!0;return}o=!0,t&&(o=!1,e(...i)),n=!0,this.__queueMicrotaskNative(()=>{n=!1,!this.isDestructed&&o&&e(...i)})}}throttle(e,t,i=!1){let n=null,o,r,s;return(...i)=>{(o=!0,s=i,t)?n||(r=()=>{o?(e(...s),o=!1,n=this.setTimeout(r,(0,a.isFunction)(t)?t():t),this.timers.set(r,n)):n=null})():e(...s)}}promise(e){let t=()=>{},i=new Promise((i,n)=>{t=()=>n((0,m.abort)("Abort async")),this.promisesRejections.add(t),e(i,n)});return!i.finally&&"u">typeof process&&!o.IS_ES_NEXT&&(i.finally=e=>(i.then(e).catch(e),i)),i.finally(()=>{this.promisesRejections.delete(t)}).catch(()=>null),i.rejectCallback=t,i}promiseState(e){if(e.status)return e.status;if(!Promise.race)return new Promise(t=>{e.then(e=>(t("fulfilled"),e),e=>{throw t("rejected"),e}),this.setTimeout(()=>{t("pending")},100)});let t={};return Promise.race([e,t]).then(e=>e===t?"pending":"fulfilled",()=>"rejected")}requestIdleCallback(e,t={timeout:100}){let i=this.__requestIdleCallbackNative(e,t);return this.__requestsIdle.add(i),i}requestIdlePromise(e){return this.promise(t=>{let i=this.requestIdleCallback(()=>t(i),e)})}schedulerPostTask(e,t={delay:0,priority:"user-visible"}){let i=new AbortController;if(t.signal&&t.signal.addEventListener("abort",()=>i.abort()),this.__controllers.add(i),void 0!==globalThis.scheduler){let n=globalThis.scheduler.postTask(e,{...t,signal:i.signal});return n.finally(()=>{this.__controllers.delete(i)}).catch(()=>null),n}return this.promise((n,o)=>{let r=this.setTimeout(()=>{try{n(e())}catch(e){o(e)}this.__controllers.delete(i)},t.delay||1);i.signal.addEventListener("abort",()=>{this.clearTimeout(r),this.__controllers.delete(i),o((0,m.abort)())})})}schedulerYield(){return this.schedulerPostTask(()=>{},{priority:"user-visible"})}cancelIdleCallback(e){return this.__requestsIdle.delete(e),this.__cancelIdleCallbackNative(e)}requestAnimationFrame(e){let t=requestAnimationFrame(e);return this.__requestsRaf.add(t),t}cancelAnimationFrame(e){this.__requestsRaf.delete(e),cancelAnimationFrame(e)}clear(){this.__requestsIdle.forEach(e=>this.cancelIdleCallback(e)),this.__requestsRaf.forEach(e=>this.cancelAnimationFrame(e)),this.__controllers.forEach(e=>e.abort()),this.timers.forEach(e=>(0,r.clearTimeout)(this.timers.get(e))),this.timers.clear(),this.promisesRejections.forEach(e=>e()),this.promisesRejections.clear()}destruct(){this.clear(),this.isDestructed=!0}constructor(){var e,t,i,o,r,s;(0,n._)(this,"timers",new Map),(0,n._)(this,"__callbacks",new Map),(0,n._)(this,"__queueMicrotaskNative",null!=(e=null==(o=queueMicrotask)?void 0:o.bind(window))?e:Promise.resolve().then.bind(Promise.resolve())),(0,n._)(this,"promisesRejections",new Set),(0,n._)(this,"__requestsIdle",new Set),(0,n._)(this,"__controllers",new Set),(0,n._)(this,"__requestsRaf",new Set),(0,n._)(this,"__requestIdleCallbackNative",null!=(t=null==(r=window.requestIdleCallback)?void 0:r.bind(window))?t:(e,t)=>{var i;let n=Date.now();return this.setTimeout(()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-n))})},null!=(i=null==t?void 0:t.timeout)?i:1)}),(0,n._)(this,"__cancelIdleCallbackNative",null!=(i=null==(s=window.cancelIdleCallback)?void 0:s.bind(window))?i:e=>{this.clearTimeout(e)}),(0,n._)(this,"isDestructed",!1)}}},24772:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <path stroke-width="0" d="M22,20.6L3.4,2H8V0H0v8h2V3.4L20.6,22H16v2h8v-8h-2V20.6z M16,0v2h4.7l-6.3,6.3l1.4,1.4L22,3.5V8h2V0H16z M8.3,14.3L2,20.6V16H0v8h8v-2H3.5l6.3-6.3L8.3,14.3z"/> </svg>'},24968:function(e,t,i){"use strict";i.d(t,{derive:function(){return o}});var n=i(91565);function o(...e){return t=>{let i=t.prototype;for(let t=0;t<e.length;t++){let o=e[t],r=Object.getOwnPropertyNames(o.prototype);for(let e=0;e<r.length;e++){let t=r[e],s=Object.getOwnPropertyDescriptor(o.prototype,t);null!=s&&(0,n.isFunction)(s.value)&&!(0,n.isFunction)(i[t])&&Object.defineProperty(i,t,{enumerable:!0,configurable:!0,writable:!0,value:function(...e){return s.value.call(this,...e)}})}}}}},25045:function(e,t,i){"use strict";function n(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}i.d(t,{_:function(){return n}})},25090:function(e){e.exports.default=["Ecrivez ici","A propos de Jodit","Editeur Jodit","Guide de l'utilisateur","Aide d\xe9taill\xe9e \xe0 l'utilisation","Consulter la licence sur notre site web:","Acheter la version compl\xe8te","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Tous droits r\xe9serv\xe9s.","Ancre","Ouvrir dans un nouvel onglet","Ouvrir l'\xe9diteur en pleine page","Supprimer le formattage","Modifier la couleur du fond ou du texte","Refaire","D\xe9faire","Gras","Italique","Liste non ordonn\xe9e","Liste ordonn\xe9e","Centrer","Justifier","Aligner \xe0 gauche ","Aligner \xe0 droite","Ins\xe9rer une ligne horizontale","Ins\xe9rer une image","Ins\xe9rer un fichier","Ins\xe9rer une vid\xe9o","Ins\xe9rer un lien","Taille des caract\xe8res","Famille des caract\xe8res","Bloc formatt\xe9","Normal","Titre 1","Titre 2","Titre 3","Titre 4","Citation","Code","Ins\xe9rer","Ins\xe9rer un tableau","Diminuer le retrait","Retrait plus","S\xe9lectionnez un caract\xe8re sp\xe9cial","Ins\xe9rer un caract\xe8re sp\xe9cial","Cloner le format","Mode wysiwyg <-> code html","Marges","haut","droite","Bas","gauche","Styles","Classes","Alignement","Droite","Centre","Gauche","--Non disponible--","Source","Titre","Alternative","Lien","Ouvrir le lien dans un nouvel onglet","Image","fichier","Avanc\xe9","Propri\xe9t\xe9s de l'image","Annuler","OK","Explorateur de fichiers","Erreur de liste de chargement","Erreur de dossier de chargement","Etes-vous s\xfbrs ?","Entrer le nom de dossier","Cr\xe9er un dossier","type de fichier","Coller une image","D\xe9poser un fichier","ou cliquer","Texte de remplacemement","Charger","Chercher","Arri\xe8re-plan","Texte","Haut","Milieu","Bas","Ins\xe9rer une colonne avant","Ins\xe9rer une colonne apr\xe8s","Ins\xe9rer une ligne au dessus","Ins\xe9rer une ligne en dessous","Supprimer le tableau","Supprimer la ligne","Supprimer la colonne","Vider la cellule","Symboles: %d","Mots: %d","Barrer","Souligner","exposant","indice","Couper la s\xe9lection","Tout s\xe9lectionner","Pause","Rechercher","Remplacer par","Remplacer","Coller","Choisissez le contenu \xe0 coller","la source","gras","italique","pinceau","lien","annuler","refaire","tableau","image","gomme","clause","taille de police","Video","police","\xe0 propos de l'\xe9diteur","impression","soulign\xe9","barr\xe9","indentation","retrait","taille r\xe9elle","taille conventionnelle","la ligne","Liste","Liste num\xe9rot\xe9e","Couper","S\xe9lectionner tout","Code d'int\xe9gration","Ouvrir le lien","Modifier le lien","Attribut Nofollow","Supprimer le lien","Mettre \xe0 jour","Pour \xe9diter","Voir","URL","Modifier","Alignement horizontal","Filtre","Trier par modification","Trier par nom","Trier par taille","Cr\xe9er le dossier","Restaurer","Sauvegarder","Enregistrer sous","Changer la taille","Taille de garniture","Largeur","Hauteur","Garder les proportions","Oui","Non","Supprimer","Mettre en \xe9vidence","Mettre en \xe9vidence: %s","Alignement vertical","Split","aller","Ajouter une colonne","Ajouter une rang\xe9e","Licence: %s","Effacer","Split vertical","Split horizontal","Bordure","Votre texte que vous essayez de coller est similaire au HTML. Collez-le en HTML?","Coller en HTML?","Sauvegarder l'original","Coller en tant que texte","Coller le texte seulement","Vous ne pouvez \xe9diter que vos propres images. T\xe9l\xe9chargez cette image sur l'h\xf4te?","L'image a \xe9t\xe9 t\xe9l\xe9charg\xe9e avec succ\xe8s sur le serveur!","Palette","Il n'y a aucun fichier dans ce r\xe9pertoire.","renommer","Entrez un nouveau nom","Aper\xe7u","T\xe9l\xe9charger","Coller \xe0 partir du presse-papiers","Votre navigateur ne prend pas en charge l'acc\xe8s direct au presse-papiers.","Copier la s\xe9lection","copie","Rayon des bordures","Afficher tous","Appliquer","Veuillez remplir ce champ","Veuillez entrer une adresse web","Par d\xe9faut","Cercle","Point","Quadratique","Trouver","Pr\xe9c\xe9dent","Suivant","Le contenu que vous ins\xe9rez provient d'un document Microsoft Word / Excel. Voulez-vous enregistrer le format ou l'effacer?","C'est peut-\xeatre un fragment de Word ou Excel","Nettoyer","Ins\xe9rer un nom de classe","Appuyez sur Alt pour un redimensionnement personnalis\xe9",null,null,null,"Tout s\xe9lectionner"]},25182:function(e){e.exports.default=["输入一些内容","关于Jodit","Jodit Editor","开发者指南","使用帮助","有关许可证的信息,请访问我们的网站:","购买完整版本","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. 版权所有","Anchor","在新窗口打开","全屏编辑","清除样式","颜色","重做","撤销","粗体","斜体","符号列表","编号","居中","对齐文本","左对齐","右对齐","分割线","图片","文件","视频","链接","字号","字体","格式块","默认","标题1","标题2","标题3","标题4","引用","代码","插入","表格","减少缩进","增加缩进","选择特殊符号","特殊符号","格式复制","改变模式","外边距(Margins)","top","right","bottom","left","样式","Classes","对齐方式","居右","居中","居左","无","Src","Title","Alternative","Link","在新窗口打开链接","图片","file","高级","图片属性","取消","确定","文件管理","加载list错误","加载folders错误","你确定吗?","输入路径","创建路径","type name","拖动图片到此","拖动文件到此","或点击","Alternative text","上传","浏览","背景色","文字","顶部","中间","底部","在之前插入列","在之后插入列","在之前插入行","在之后插入行","删除表格","删除行","删除列","清除内容","字符数: %d","单词数: %d","删除线","下划线","上标","下标","剪切","全选","Break","查找","替换为","替换","粘贴","选择内容并粘贴","源码","粗体","斜体","颜色","链接","撤销","重做","表格","图片","橡皮擦","段落","字号","视频","字体","关于","打印","下划线","上出现","增加缩进","减少缩进","全屏","收缩","分割线","无序列表","顺序列表","剪切","全选","嵌入代码","打开链接","编辑链接","No follow","取消链接","更新","铅笔","预览","URL","编辑","水平对齐","筛选","修改时间排序","名称排序","大小排序","新建文件夹","重置","保存","保存为","调整大小","剪切","宽","高","保持长宽比","是","不","移除","选择","选择: %s","垂直对齐","拆分","合并","添加列","添加行","许可证: %s","删除","垂直拆分","水平拆分","边框","你粘贴的文本是一段html代码,是否保留源格式","html粘贴","保留源格式","把html代码视为普通文本","只保留文本","你只能编辑你自己的图片。Download this image on the host?","图片上传成功","调色板","此目录中沒有文件。","重命名","输入新名称","预览","下载","粘贴从剪贴板","你浏览器不支持直接访问的剪贴板。","复制选中内容","复制","边界半径","显示所有","应用","请填写这个字段","请输入一个网址","默认","圆圈","点","方形","搜索","查找上一个","查找下一个","正在粘贴 Word/Excel 的文本,是否保留源格式?","文本粘贴","匹配目标格式","插入班级名称","按Alt自定义调整大小",null,null,null,"全部"]},25222:function(e,t,i){"use strict";i.d(t,{AsyncStorage:function(){return n.AsyncStorage},IndexedDBProvider:function(){return o.IndexedDBProvider},LocalStorageProvider:function(){return r.LocalStorageProvider},MemoryStorageProvider:function(){return s.MemoryStorageProvider},Storage:function(){return a.Storage},StorageKey:function(){return a.StorageKey},canUseIndexedDB:function(){return o.canUseIndexedDB},canUsePersistentStorage:function(){return r.canUsePersistentStorage},clearUseIndexedDBCache:function(){return o.clearUseIndexedDBCache}});var n=i(8006),o=i(91162),r=i(59807),s=i(9505),a=i(24475)},25501:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1744 1408q33 0 42 18.5t-11 44.5l-126 162q-20 26-49 26t-49-26l-126-162q-20-26-11-44.5t42-18.5h80v-1024h-80q-33 0-42-18.5t11-44.5l126-162q20-26 49-26t49 26l126 162q20 26 11 44.5t-42 18.5h-80v1024h80zm-1663-1279l54 27q12 5 211 5 44 0 132-2t132-2q36 0 107.5.5t107.5.5h293q6 0 21 .5t20.5 0 16-3 17.5-9 15-17.5l42-1q4 0 14 .5t14 .5q2 112 2 336 0 80-5 109-39 14-68 18-25-44-54-128-3-9-11-48t-14.5-73.5-7.5-35.5q-6-8-12-12.5t-15.5-6-13-2.5-18-.5-16.5.5q-17 0-66.5-.5t-74.5-.5-64 2-71 6q-9 81-8 136 0 94 2 388t2 455q0 16-2.5 71.5t0 91.5 12.5 69q40 21 124 42.5t120 37.5q5 40 5 50 0 14-3 29l-34 1q-76 2-218-8t-207-10q-50 0-151 9t-152 9q-3-51-3-52v-9q17-27 61.5-43t98.5-29 78-27q19-42 19-383 0-101-3-303t-3-303v-117q0-2 .5-15.5t.5-25-1-25.5-3-24-5-14q-11-12-162-12-33 0-93 12t-80 26q-19 13-34 72.5t-31.5 111-42.5 53.5q-42-26-56-44v-383z"/> </svg>'},25974:function(e,t,i){"use strict";i.d(t,{makeInstance:function(){return r}});var n=i(81937),o=i(91565);function r(e,t){try{try{return(0,o.isFunction)(t)?new t(e):t}catch(i){if((0,o.isFunction)(t)&&!t.prototype)return t(e)}}catch(e){if(!n.IS_PROD)throw e}return null}},26106:function(e,t,i){"use strict";i.d(t,{checkJoinNeighbors:function(){return s}});var n=i(81937),o=i(23211),r=i(15200);function s(e,t,i){let r=t,s=r;for(;r&&!o.Dom.findNotEmptySibling(r,i)&&r.parentElement!==e.editor;)s=r=r.parentElement;if(o.Dom.isElement(s)&&o.Dom.isContentEditable(s,e.editor)){var l,c;let r,u,d,h=o.Dom.findNotEmptySibling(s,i);if(h&&(l=s,c=h,r=o.Dom.isTag(c,n.LIST_TAGS),u=o.Dom.isTag(l,n.LIST_TAGS),d=(e,t)=>t?e.firstElementChild:e.lastElementChild,(u?(c=e.createInside.element(e.o.enterBlock),o.Dom.before(l,c),a(e,d(l,i),c,i)):!!c&&!!r&&!u&&a(e,l,d(c,!i),i))||a(e,s,h,i)))return e.s.setCursorBefore(t),!0}return!1}function a(e,t,i,n){if(t&&o.Dom.isElement(i)){o.Dom.moveContent(t,i,!n,(0,r.getMoveFilter)(e));let s=t;for(;s&&s!==e.editor&&o.Dom.isEmpty(s);){let e=s.parentElement;o.Dom.safeRemove(s),s=e}return!0}return!1}},26136:function(e,t,i){"use strict";i.d(t,{browser:function(){return n}});let n=e=>{let t=navigator.userAgent.toLowerCase(),i=/(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?i[2]:"webkit"===e?"chrome"===i[1]||"webkit"===i[1]:"ff"===e?"firefox"===i[1]:"msie"===e?"trident"===i[1]||"msie"===i[1]:i[1]===e}},26633:function(e,t,i){"use strict";i.d(t,{readAlign:function(){return o}});var n=i(80991);function o(e,t){e.style.cssFloat&&-1!==["left","right"].indexOf(e.style.cssFloat.toLowerCase())?t.align=(0,n.css)(e,"float"):"block"===(0,n.css)(e,"display")&&"auto"===e.style.marginLeft&&"auto"===e.style.marginRight?t.align="center":t.align=""}},27137:function(e,t,i){"use strict";i.d(t,{UIImagePropertiesForm:function(){return p}});var n=i(25045),o=i(31635),r=i(84839),s=i(91672),a=i(65946),l=i(63468),c=i(29434),u=i(15753),d=i(29596),h=i(17306);class p extends l.UIGroup{className(){return"UIImagePropertiesForm"}appendChildToContainer(){}getElm(e){let t=super.getElm(e);if(t)return t;for(let t of this.elements){let i=t.getElm(e);if(i)return i}return null}render(){return`<form>
134
+ </div>`}onStateAlignChange(){this.getElm("align").value=this.state.values.align}onChangeAlign(){let e=this.getElm("align");this.state.values.align=e.value}onStateValuesBorderRadiusChange(){this.getElm("borderRadius").value=this.state.values.borderRadius.toString()}onChangeBorderRadius(){let e=this.getElm("borderRadius");this.state.values.borderRadius=parseFloat(e.value)}onStateValuesIdChange(){this.getElm("id").value=this.state.values.id}onChangeId(){let e=this.getElm("id");this.state.values.id=e.value}onStateValuesStyleChange(){this.getElm("style").value=this.state.values.style}onChangeStyle(){let e=this.getElm("style");this.state.values.style=e.value}onStateValuesClassesChange(){this.getElm("classes").value=this.state.values.classes}onChangClasses(){let e=this.getElm("classes");this.state.values.classes=e.value}onLockMarginClick(e){this.state.marginIsLocked=!this.state.marginIsLocked,e.preventDefault()}onChangeMarginIsLocked(){let e=this.getElm("marginBottom"),t=this.getElm("marginRight"),i=this.getElm("marginLeft"),n=this.getElm("lockMargin");if([t,e,i].forEach(e=>{(0,u.attr)(e,"disabled",this.state.marginIsLocked||null)}),n.innerHTML=h.Icon.get(this.state.marginIsLocked?"lock":"unlock"),this.state.marginIsLocked){let e=this.state.values.marginTop;this.state.values.marginRight=e,this.state.values.marginBottom=e,this.state.values.marginLeft=e}}onStateValuesMarginChange(){let e=this.getElm("marginTop"),t=this.getElm("marginRight"),i=this.getElm("marginBottom"),n=this.getElm("marginLeft");e.value=this.state.values.marginTop.toString(),t.value=this.state.values.marginRight.toString(),i.value=this.state.values.marginBottom.toString(),n.value=this.state.values.marginLeft.toString()}onChangeMargin(){let e=this.getElm("marginTop"),t=this.getElm("marginRight"),i=this.getElm("marginBottom"),n=this.getElm("marginLeft");this.state.values.marginTop=(0,p.normalSizeFromString)(e.value),this.state.marginIsLocked?(this.state.values.marginRight=this.state.values.marginTop,this.state.values.marginBottom=this.state.values.marginTop,this.state.values.marginLeft=this.state.values.marginTop):(this.state.values.marginRight=(0,p.normalSizeFromString)(t.value),this.state.values.marginBottom=(0,p.normalSizeFromString)(i.value),this.state.values.marginLeft=(0,p.normalSizeFromString)(n.value))}hideFieldByOptions(){let e=this.j.o.image;[["editMargins","editMargins"],["editAlign","editAlign"],["editStyle","editStyle"],["editClass","editClass"],["editId","editId"],["editBorderRadius","editBorderRadius"]].forEach(([t,i])=>{let n=this.getElm(i);(0,l.css)(n,"display",e[t]?null:"none")})}constructor(e,t,i){super(e,{availableClasses:e.o.image.availableClasses}),(0,n._)(this,"state",void 0),(0,n._)(this,"handlers",void 0),this.state=t,this.handlers=i}}(0,o.__decorate)([(0,s.hook)("ready"),(0,a.watch)("state.values.align")],m.prototype,"onStateAlignChange",null),(0,o.__decorate)([(0,a.watch)("align:change")],m.prototype,"onChangeAlign",null),(0,o.__decorate)([(0,s.hook)("ready"),(0,a.watch)("state.values.borderRadius")],m.prototype,"onStateValuesBorderRadiusChange",null),(0,o.__decorate)([(0,a.watch)("borderRadius:change")],m.prototype,"onChangeBorderRadius",null),(0,o.__decorate)([(0,s.hook)("ready"),(0,a.watch)("state.values.id")],m.prototype,"onStateValuesIdChange",null),(0,o.__decorate)([(0,a.watch)("id:change")],m.prototype,"onChangeId",null),(0,o.__decorate)([(0,s.hook)("ready"),(0,a.watch)("state.values.style")],m.prototype,"onStateValuesStyleChange",null),(0,o.__decorate)([(0,a.watch)("style:change")],m.prototype,"onChangeStyle",null),(0,o.__decorate)([(0,s.hook)("ready"),(0,a.watch)("state.values.classes")],m.prototype,"onStateValuesClassesChange",null),(0,o.__decorate)([(0,a.watch)("classes:change")],m.prototype,"onChangClasses",null),(0,o.__decorate)([(0,a.watch)("lockMargin:click")],m.prototype,"onLockMarginClick",null),(0,o.__decorate)([(0,s.hook)("ready"),(0,a.watch)("state.marginIsLocked")],m.prototype,"onChangeMarginIsLocked",null),(0,o.__decorate)([(0,s.hook)("ready"),(0,a.watch)(["state.values.marginTop","state.values.marginRight","state.values.marginBottom","state.values.marginLeft"])],m.prototype,"onStateValuesMarginChange",null),(0,o.__decorate)([(0,a.watch)(["marginTop:change","marginRight:change","marginBottom:change","marginLeft:change"])],m.prototype,"onChangeMargin",null),(0,o.__decorate)([(0,s.hook)("ready")],m.prototype,"hideFieldByOptions",null),m=(0,o.__decorate)([r.component],m)},17312:function(e,t,i){"use strict";function n(e){return Array.isArray(e)}i.d(t,{isArray:function(){return n}})},17326:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.iframeBaseUrl="",n.Config.prototype.iframeTitle="Jodit Editor",n.Config.prototype.iframeDoctype="<!DOCTYPE html>",n.Config.prototype.iframeDefaultSrc="about:blank",n.Config.prototype.iframeStyle='html{margin:0;padding:0;min-height: 100%;}body{box-sizing:border-box;font-size:13px;line-height:1.6;padding:10px;margin:0;background:transparent;color:#000;position:relative;z-index:2;user-select:auto;margin:0px;overflow:auto;outline:none;}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}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=[],n.Config.prototype.iframeSandbox=null},17338:function(e,t,i){"use strict";i.d(t,{Ajax:function(){return h}});var n=i(25045),o=i(31635),r=i(91231),s=i(81937),a=i(49574),l=i(65946),c=i(33201),u=i(5266);i(37102);var d=i(32855);class h{className(){return"Ajax"}__buildParams(e,t){return(0,l.isPlainObject)(e)&&this.options.contentType&&this.options.contentType.includes("application/json")?JSON.stringify(e):(0,l.isFunction)(this.o.queryBuild)?this.o.queryBuild.call(this,e,t):(0,l.isString)(e)||e instanceof s.globalWindow.FormData||"object"==typeof e&&null!=e&&(0,l.isFunction)(e.append)?e:(0,l.buildQuery)(e)}get o(){return this.options}abort(){if(this.__isFulfilled)return this;try{this.__isFulfilled=!0,this.xhr.abort()}catch(e){}return this}send(){this.__activated=!0;let{xhr:e,o:t}=this,i=this.prepareRequest();return this.__async.promise(async(n,o)=>{var r;let s=()=>{this.__isFulfilled=!0,o(c.connection("Connection error"))},a=()=>{this.__isFulfilled=!0,n(new d.Response(i,e.status,e.statusText,!e.responseType?e.responseText:e.response))};e.onload=a,e.onabort=()=>{this.__isFulfilled=!0,o(c.abort("Abort connection"))},e.onerror=s,e.ontimeout=s,t.responseType&&(e.responseType=t.responseType),e.onprogress=e=>{var t,i;let n=0;e.lengthComputable&&(n=e.loaded/e.total*100),null==(t=(i=this.options).onProgress)||t.call(i,n)},e.onreadystatechange=()=>{var i,n;null==(i=(n=this.options).onProgress)||i.call(n,10),e.readyState===XMLHttpRequest.DONE&&(t.successStatuses.includes(e.status)?a():e.statusText&&(this.__isFulfilled=!0,o(c.connection(e.statusText))))},e.withCredentials=null!=(r=t.withCredentials)&&r;let{url:u,data:h,method:p}=i;e.open(p,u,!0),t.contentType&&e.setRequestHeader&&e.setRequestHeader("Content-type",t.contentType);let{headers:m}=t;(0,l.isFunction)(m)&&(m=await m.call(this)),m&&e.setRequestHeader&&Object.keys(m).forEach(t=>{e.setRequestHeader(t,m[t])}),this.__async.setTimeout(()=>{e.send(h?this.__buildParams(h):void 0)},0)})}prepareRequest(){if(!this.o.url)throw c.error("Need URL for AJAX request");let e=this.o.url,t=this.o.data,i=(this.o.method||"get").toLowerCase();if("get"===i&&t&&(0,l.isPlainObject)(t)){let i=e.indexOf("?");if(-1!==i){let n=(0,l.parseQuery)(e);e=e.substring(0,i)+"?"+(0,l.buildQuery)({...n,...t})}else e+="?"+(0,l.buildQuery)(this.o.data)}let n={url:e,method:i,data:t};return h.log.splice(100),h.log.push(n),n}destruct(){this.__isDestructed||(this.__isDestructed=!0,this.__activated&&!this.__isFulfilled&&(this.abort(),this.__isFulfilled=!0),this.__async.destruct())}constructor(e,t=u.Config.prototype.defaultAjaxOptions){(0,n._)(this,"__async",new r.Async),(0,n._)(this,"xhr",void 0),(0,n._)(this,"options",void 0),(0,n._)(this,"__isFulfilled",!1),(0,n._)(this,"__activated",!1),(0,n._)(this,"__isDestructed",!1),this.options=(0,l.ConfigProto)(e||{},t),this.xhr=this.o.xhr?this.o.xhr():new XMLHttpRequest}}(0,n._)(h,"log",[]),(0,o.__decorate)([a.autobind],h.prototype,"destruct",null)},17481:function(e,t,i){"use strict";i.d(t,{extractSelectedPart:function(){return a}});var n=i(23211),o=i(23175),r=i(4040),s=i(71125);function a(e,t,i){let n=i.s.createRange(),r=(0,o.isMarker)(t.previousSibling)?t.previousSibling:t;n.setStartBefore(e),n.setEndBefore(r),l(e,n,!0);let s=(0,o.isMarker)(t.nextSibling)?t.nextSibling:t;n.setStartAfter(s),n.setEndAfter(e),l(e,n,!1)}function l(e,t,i){let o=t.extractContents();o.textContent&&(0,r.trim)(o.textContent).length||!o.firstChild||n.Dom.unwrap(o.firstChild),e.parentNode&&(0,s.call)(i?n.Dom.before:n.Dom.after,e,o)}},17523:function(e,t,i){"use strict";i.d(t,{cases:function(){return h}});var n=i(26106),o=i(80951),r=i(58881),s=i(68709),a=i(5771),l=i(2409),c=i(93890),u=i(12443),d=i(10157);let h=[c.checkRemoveUnbreakableElement,s.checkRemoveContentNotEditable,r.checkRemoveChar,u.checkTableCell,l.checkRemoveEmptyParent,a.checkRemoveEmptyNeighbor,o.checkJoinTwoLists,n.checkJoinNeighbors,d.checkUnwrapFirstListItem]},17610:function(e,t,i){"use strict";i.d(t,{FileBrowser:function(){return n.FileBrowser}});var n=i(62623)},17780:function(e,t,i){"use strict";i.d(t,{DEFAULT_SOURCE_NAME:function(){return l},default:function(){return u}});var n=i(25045),o=i(81937),r=i(65946),s=i(73714),a=i(58664);let l="default",c=new Set(["allowFiles","allowFileMove","allowFileUpload","allowFileUploadRemote","allowFileRemove","allowFileRename","allowFolders","allowFolderMove","allowFolderCreate","allowFolderRemove","allowFolderRename","allowImageResize","allowImageCrop"]);class u{get o(){return this.options}get(e){let t=this.__ajaxInstances;if(t.has(e)){let i=t.get(e);null==i||i.abort(),t.delete(e)}let i=(0,r.ConfigProto)(void 0!==this.options[e]?this.options[e]:{},(0,r.ConfigProto)({onProgress:this.progressHandler},this.o.ajax));i.prepareData&&(i.data=i.prepareData.call(this,i.data));let n=new s.Ajax(i);t.set(e,n);let o=n.send();return o.finally(()=>{n.destruct(),t.delete(e),this.progressHandler(100)}).catch(()=>null),o.then(e=>e.json()).then(e=>{if(e&&!this.isSuccess(e))throw Error(this.getMessage(e));return e})}onProgress(e){this.progressHandler=e}async permissions(e,t){return this.o.permissions&&(this.o.permissions.data.path=e,this.o.permissions.data.source=t,this.o.permissions.url)?this.get("permissions").then(e=>{if(this.parent.isInDestruct)throw(0,r.abort)();let t=this.o.permissions.process;if(t||(t=this.o.ajax.process),t){let i=t.call(self,e);i.data.permissions&&(this.parent.events.fire(this,"changePermissions",this.__currentPermissions,i.data.permissions),this.__currentPermissions=i.data.permissions)}return this.__currentPermissions}):null}canI(e){let t="allow"+e;if(!o.IS_PROD&&!c.has(t))throw(0,r.error)("Wrong action "+e);let i=this.o.permissionsPresets[t];return void 0!==i?i:null==this.__currentPermissions||void 0===this.__currentPermissions[t]||this.__currentPermissions[t]}__items(e,t,i,n){let o=this.options;return o.items?(o.items.data.path=e,o.items.data.source=t,o.items.data.mods=i,this.get("items").then(e=>{let t=this.o.items.process;return t||(t=this.o.ajax.process),t&&(e=t.call(self,e)),n(e)})):Promise.reject(Error("Set Items api options"))}items(e,t,i={}){return this.__items(e,t,i,e=>this.generateItemsList(e.data.sources,i))}itemsEx(e,t,i={}){return this.__items(e,t,i,e=>({items:this.generateItemsList(e.data.sources,i),loadedTotal:e.data.sources.reduce((e,t)=>e+t.files.length,0)}))}generateItemsList(e,t={}){let i=[],n=e=>{var i;return!(null==(i=t.filterWord)?void 0:i.length)||void 0===this.o.filter||this.o.filter(e,t.filterWord)};return e.forEach(e=>{if(e.files&&e.files.length){let{sort:o}=this.o;(0,r.isFunction)(o)&&t.sortBy&&e.files.sort((e,i)=>o(e,i,t.sortBy)),e.files.forEach(o=>{n(o)&&("folder"===o.type||!t.onlyImages||void 0===o.isImage||o.isImage)&&i.push(a.FileBrowserItem.create({...o,sourceName:e.name,source:e}))})}}),i}async tree(e,t){return(e=(0,r.normalizeRelativePath)(e),this.o.folder)?(await this.permissions(e,t),this.o.folder.data.path=e,this.o.folder.data.source=t,this.get("folder").then(e=>{let t=this.o.folder.process;return t||(t=this.o.ajax.process),t&&(e=t.call(self,e)),e.data.sources})):Promise.reject(Error("Set Folder Api options"))}getPathByUrl(e){return(0,r.set)("options.getLocalFileByUrl.data.url",e,this),this.get("getLocalFileByUrl").then(e=>{if(this.isSuccess(e))return e.data;throw(0,r.error)(this.getMessage(e))})}createFolder(e,t,i){let{create:n}=this.o;if(!n)throw(0,r.error)("Set Create api options");return n.data.source=i,n.data.path=t,n.data.name=e,this.get("create").then(e=>{if(this.isSuccess(e))return!0;throw(0,r.error)(this.getMessage(e))})}move(e,t,i,n){let o=n?"fileMove":"folderMove",s=this.options[o];if(!s)throw(0,r.error)("Set Move api options");return s.data.from=e,s.data.path=t,s.data.source=i,this.get(o).then(e=>{if(this.isSuccess(e))return!0;throw(0,r.error)(this.getMessage(e))})}remove(e,t,i,n){let o=this.o[e];if(!o)throw(0,r.error)(`Set "${e}" api options`);return o.data.path=t,o.data.name=i,o.data.source=n,this.get(e).then(e=>(o.process&&(e=o.process.call(this,e)),this.getMessage(e)))}fileRemove(e,t,i){return this.remove("fileRemove",e,t,i)}folderRemove(e,t,i){return this.remove("folderRemove",e,t,i)}rename(e,t,i,n,o){let s=this.o[e];if(!s)throw(0,r.error)(`Set "${e}" api options`);return s.data.path=t,s.data.name=i,s.data.newname=n,s.data.source=o,this.get(e).then(e=>(s.process&&(e=s.process.call(self,e)),this.getMessage(e)))}folderRename(e,t,i,n){return this.rename("folderRename",e,t,i,n)}fileRename(e,t,i,n){return this.rename("fileRename",e,t,i,n)}changeImage(e,t,i,n,o,r){this.o[e]||(this.o[e]={data:{}});let s=this.o[e];return void 0===s.data&&(s.data={action:e}),s.data.newname=o||n,r&&(s.data.box=r),s.data.path=t,s.data.name=n,s.data.source=i,this.get(e).then(()=>!0)}crop(e,t,i,n,o){return this.changeImage("crop",e,t,i,n,o)}resize(e,t,i,n,o){return this.changeImage("resize",e,t,i,n,o)}getMessage(e){return this.options.getMessage(e)}isSuccess(e){return this.options.isSuccess(e)}destruct(){this.__ajaxInstances.forEach(e=>e.destruct()),this.__ajaxInstances.clear()}constructor(e,t){(0,n._)(this,"parent",void 0),(0,n._)(this,"options",void 0),(0,n._)(this,"__currentPermissions",void 0),(0,n._)(this,"__ajaxInstances",void 0),(0,n._)(this,"progressHandler",void 0),this.parent=e,this.options=t,this.__currentPermissions=null,this.__ajaxInstances=new Map,this.progressHandler=e=>{}}}},17849:function(e,t,i){"use strict";var n=i(28686),o=i(80991);let r=e=>e.args&&(0,n.isString)(e.args[0])?e.args[0].toLowerCase():"";t.default=["brushCell",{name:"valign",list:["Top","Middle","Bottom","Normal"],childTemplate:(e,t,i)=>i,exec:(e,t,{control:i})=>{let n=r(i);e.getInstance("Table",e.o).getAllSelectedCells().forEach(e=>{(0,o.css)(e,"vertical-align","normal"===n?"":n)})},tooltip:"Vertical align"},{name:"splitv",list:{tablesplitv:"Split vertical",tablesplitg:"Split horizontal"},tooltip:"Split"},{name:"align",icon:"left"},"\n",{name:"merge",command:"tablemerge",tooltip:"Merge"},{name:"addcolumn",list:{tableaddcolumnbefore:"Insert column before",tableaddcolumnafter:"Insert column after"},exec:(e,t,{control:i})=>{if(!(0,n.isJoditObject)(e))return;if(!i.args)return!1;let o=r(i);e.execCommand(o,!1,t)},tooltip:"Add column"},{name:"addrow",list:{tableaddrowbefore:"Insert row above",tableaddrowafter:"Insert row below"},exec:(e,t,{control:i})=>{if(!(0,n.isJoditObject)(e))return;if(!i.args)return!1;let o=r(i);e.execCommand(o,!1,t)},tooltip:"Add row"},{name:"delete",icon:"bin",list:{tablebin:"Delete table",tablebinrow:"Delete row",tablebincolumn:"Delete column",tableempty:"Empty cell"},exec:(e,t,{control:i})=>{if(!(0,n.isJoditObject)(e))return;if(!i.args)return!1;let o=r(i);e.execCommand(o,!1,t),e.e.fire("hidePopup")},tooltip:"Delete"}]},17918:function(e){e.exports={aiAssistant:"AI Assistant",aiCommands:"AI Commands","AI Assistant":"AI Assistant",Prompt:"Prompt","Ask AI to improve generated text":"Ask AI to improve generated text",Submit:"Submit"}},17995:function(e){e.exports='<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <path d="M1088 1256v240q0 16-12 28t-28 12h-240q-16 0-28-12t-12-28v-240q0-16 12-28t28-12h240q16 0 28 12t12 28zm316-600q0 54-15.5 101t-35 76.5-55 59.5-57.5 43.5-61 35.5q-41 23-68.5 65t-27.5 67q0 17-12 32.5t-28 15.5h-240q-15 0-25.5-18.5t-10.5-37.5v-45q0-83 65-156.5t143-108.5q59-27 84-56t25-76q0-42-46.5-74t-107.5-32q-65 0-108 29-35 25-107 115-13 16-31 16-12 0-25-8l-164-125q-13-10-15.5-25t5.5-28q160-266 464-266 80 0 161 31t146 83 106 127.5 41 158.5z"/> </svg>'},18073:function(e,t,i){"use strict";i.d(t,{size:function(){return o}});var n=i(28686);function o(e){return(0,n.isString)(e)||(0,n.isArray)(e)?e.length:(0,n.isPlainObject)(e)?Object.keys(e).length:0}},18080:function(e,t,i){"use strict";i.d(t,{i18n:function(){return c},sprintf:function(){return l}});var n=i(81937),o=i(85932),r=i(99436),s=i(93640),a=i(5266);let l=(e,t)=>{if(!t||!t.length)return e;let i=/%([sd])/g,n=i.exec(e),o=e,r=0;for(;n&&void 0!==t[r];)o=o.replace(n[0],t[r].toString()),r+=1,n=i.exec(e);return o};function c(e,t,i){if(!(0,o.isString)(e))throw(0,s.error)("i18n: Need string in first argument");if(!e.length)return e;let c=!!(null==i?void 0:i.debugLanguage),u={},d=e=>t&&t.length?l(e,t):e,h=(0,s.defaultLanguage)(a.Config.defaultOptions.language,a.Config.defaultOptions.language),p=(0,s.defaultLanguage)(null==i?void 0:i.language,h),m=t=>{if(!t)return;if((0,o.isString)(t[e]))return d(t[e]);let i=e.toLowerCase();if((0,o.isString)(t[i]))return d(t[i]);let n=(0,r.ucfirst)(e);if((0,o.isString)(t[n]))return d(t[n])};void 0!==n.lang[p]?u=n.lang[p]:c||(u=void 0!==n.lang[h]?n.lang[h]:n.lang.en);let f=null==i?void 0:i.i18n;if(f&&f[p]){let e=m(f[p]);if(e)return e}return m(u)||(!c&&n.lang.en&&(0,o.isString)(n.lang.en[e])&&n.lang.en[e]?d(n.lang.en[e]):c?"{"+e+"}":(n.IS_PROD,d(e)))}},18210:function(e,t,i){"use strict";var n=i(31635),o=i(81937),r=i(84839),s=i(23211),a=i(28077),l=i(91206);class c extends l.Plugin{afterInit(e){}beforeDestruct(e){}onKeyDownArrow(e){var t;if(e.key!==o.KEY_RIGHT||!this.j.selection.isCollapsed())return;let{endContainer:i,endOffset:n}=this.j.selection.range;if(s.Dom.isText(i)&&(null==(t=i.nodeValue)?void 0:t.length)===n){let{parentNode:e}=i;s.Dom.isInlineBlock(e)&&!s.Dom.findNotEmptyNeighbor(e,!1,this.j.editor)&&s.Dom.after(e,this.j.createInside.text(o.NBSP_SPACE))}}}(0,n.__decorate)([(0,r.watch)(":keydown")],c.prototype,"onKeyDownArrow",null),a.pluginSystem.add("keyArrowOutside",c)},18272:function(e,t,i){"use strict";i.d(t,{makeContextMenu:function(){return s},makeDataProvider:function(){return r}});var n=i(67399),o=i(17780);function r(e,t){return new o.default(e,t)}function s(e){return new n.ContextMenu(e)}},18303:function(e,t,i){"use strict";function n(e){return null==e}i.d(t,{isVoid:function(){return n}})},18310:function(e){e.exports={Spellcheck:"拼写检查"}},18377:function(e,t,i){"use strict";i.d(t,{normalizePath:function(){return o}});var n=i(4040);let o=(...e)=>e.filter(e=>(0,n.trim)(e).length).map((t,i)=>(t=t.replace(/([^:])[\\/]+/g,"$1/"),i&&(t=t.replace(/^\//,"")),i!==e.length-1&&(t=t.replace(/\/$/,"")),t)).join("/")},18380:function(e,t,i){"use strict";i.d(t,{readMargins:function(){return o}});var n=i(74264);function o(e,t,i){let o=!0,r=!1;["marginTop","marginRight","marginBottom","marginLeft"].forEach(i=>{let s=e.style.getPropertyValue((0,n.kebabCase)(i));if(!s){r=!0,t[i]=0;return}/^[0-9]+(px)?$/.test(s)&&(s=parseInt(s,10)),t[i]=s,(r&&t[i]||o&&"marginTop"!==i&&t[i]!==t.marginTop)&&(o=!1)}),i.marginIsLocked=o}},18605:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm637-679v206h-514l-3-27q-4-28-4-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 83-65 188-65 110 0 178 59.5t68 158.5q0 56-24.5 103t-62 76.5-81.5 58.5-82 50.5-65.5 51.5-30.5 63h232v-80h126z"/> </svg>'},18762:function(e,t,i){"use strict";i.d(t,{FileSelectorWidget:function(){return a}});var n=i(23211),o=i(65946),r=i(4099),s=i(89636);let a=(e,t,i,a,c=!0)=>{let u,d=[],h=e.o.uploader;if(t.upload&&(h.url||h.insertImageAsBase64URI||h.customUploadFunction)){let i=e.c.fromHTML(`<div class="jodit-drag-and-drop__file-box"><strong>${e.i18n(c?"Drop image":"Drop file")}</strong><span><br>${e.i18n("or click")}</span><input type="file" accept="${c?"image/*":"*"}" tabindex="-1" dir="auto" multiple=""/></div>`);e.uploader.bind(i,i=>{let n=(0,o.isFunction)(t.upload)?t.upload:h.defaultHandlerSuccess;(0,o.isFunction)(n)&&n.call(e,i),e.e.fire("closeAllPopups")},t=>{e.message.error(t.message),e.e.fire("closeAllPopups")}),d.push({icon:"upload",name:"Upload",content:i})}if(t.filebrowser&&(e.o.filebrowser.ajax.url||e.o.filebrowser.items.url)&&d.push({icon:"folder",name:"Browse",content:()=>{a&&a(),t.filebrowser&&e.filebrowser.open(t.filebrowser,c)}}),t.url){let s=new r.UIButton(e,{type:"submit",variant:"primary",text:"Insert"}),a=new r.UIForm(e,[new r.UIInput(e,{required:!0,label:"URL",name:"url",type:"text",placeholder:"https://"}),new r.UIInput(e,{name:"text",label:"Alternative text"}),new r.UIBlock(e,[s])]);u=null,i&&!n.Dom.isText(i)&&!n.Dom.isComment(i)&&(n.Dom.isTag(i,"img")||(0,o.$$)("img",i).length)&&(u="IMG"===i.tagName?i:(0,o.$$)("img",i)[0],l(a.container,"input[name=url]",(0,o.attr)(u,"src")),l(a.container,"input[name=text]",(0,o.attr)(u,"alt")),s.state.text="Update"),i&&n.Dom.isTag(i,"a")&&(l(a.container,"input[name=url]",(0,o.attr)(i,"href")),l(a.container,"input[name=text]",(0,o.attr)(i,"title")),s.state.text="Update"),a.onSubmit(i=>{(0,o.isFunction)(t.url)&&t.url.call(e,i.url,i.text)}),d.push({icon:"link",name:"URL",content:a.container})}return(0,s.TabsWidget)(e,d)};function l(e,t,i){let n=e.querySelector(t);return n?(i&&(n.value=i),n.value):""}},18855:function(e,t,i){"use strict";i.d(t,{Plugin:function(){return l}});var n=i(25045),o=i(31635),r=i(16964),s=i(84839),a=i(24497);class l extends r.ViewComponent{className(){return"Plugin"}__afterPluginSystemInit(){let{j:e,buttons:t}=this;t&&(0,a.isJoditObject)(e)&&t.forEach(t=>{e.registerButton(t)})}__afterInit(){this.__inited=!0,this.setStatus(r.STATUSES.ready),this.afterInit(this.jodit)}init(e){this.jodit.isReady&&(this.afterInit(this.jodit),this.__afterPluginSystemInit(),this.jodit.e.fire("rebuildToolbar"))}__beforeDestruct(){if(this.isInDestruct)return;let{j:e}=this;if(e.e.off("afterPluginSystemInit",this.__afterPluginSystemInit).off("afterInit",this.__afterInit).off("beforeDestruct",this.destruct),this.setStatus(r.STATUSES.beforeDestruct),!this.__inited)return super.destruct();if((0,a.isJoditObject)(e)){var t;null==(t=this.buttons)||t.forEach(t=>{null==e||e.unregisterButton(t)})}this.beforeDestruct(this.j),super.destruct()}constructor(e){super(e),(0,n._)(this,"buttons",[]),(0,n._)(this,"hasStyle",!1),(0,n._)(this,"styles",void 0),(0,n._)(this,"__inited",!1),e.e.on("afterPluginSystemInit",this.__afterPluginSystemInit).on("afterInit",this.__afterInit).on("beforeDestruct",this.__beforeDestruct)}}(0,n._)(l,"requires",[]),(0,o.__decorate)([s.autobind],l.prototype,"__afterPluginSystemInit",null),(0,o.__decorate)([s.autobind],l.prototype,"__afterInit",null),(0,o.__decorate)([s.autobind],l.prototype,"__beforeDestruct",null)},18869:function(e,t,i){"use strict";i.d(t,{EventHandlersStore:function(){return a},defaultNameSpace:function(){return s}});var n=i(25045),o=i(88475),r=i(28712);let s="JoditEventDefaultNamespace";class a{get(e,t){if(this.__store.has(t)){let i=this.__store.get(t);return(0,r.assert)(i,"-"),i[e]}}indexOf(e,t,i){let n=this.get(e,t);if(n){for(let e=0;e<n.length;e+=1)if(n[e].originalCallback===i)return e}return!1}namespaces(e=!1){let t=(0,o.toArray)(this.__store.keys());return e?t.filter(e=>e!==s):t}events(e){let t=this.__store.get(e);return t?Object.keys(t):[]}set(e,t,i,n=!1){let o=this.__store.get(t);o||(o={},this.__store.set(t,o)),void 0===o[e]&&(o[e]=[]),n?o[e].unshift(i):o[e].push(i)}clear(){this.__store.clear()}clearEvents(e,t){let i=this.__store.get(e);i&&i[t]&&(delete i[t],Object.keys(i).length||this.__store.delete(e))}isEmpty(){return 0===this.__store.size}constructor(){(0,n._)(this,"__store",new Map)}}},18929:function(e,t,i){"use strict";var n=i(81937),o=i(29434),r=i(5266),s=i(9103),a=i.n(s);r.Config.prototype.beautifyHTML=!n.IS_IE,r.Config.prototype.sourceEditor="ace",r.Config.prototype.sourceEditorNativeOptions={showGutter:!0,theme:"ace/theme/idle_fingers",mode:"ace/mode/html",wrap:!0,highlightActiveLine:!0},r.Config.prototype.sourceEditorCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js"],r.Config.prototype.beautifyHTMLCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js","https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js"],o.Icon.set("source",a()),r.Config.prototype.controls.source={mode:n.MODE_SPLIT,exec:e=>{e.toggleMode()},isActive:e=>e.getRealMode()===n.MODE_SOURCE,tooltip:"Change mode"}},18993:function(e,t,i){"use strict";var n=i(29434),o=i(5266),r=i(81875),s=i.n(r);o.Config.prototype.usePopupForSpecialCharacters=!1,o.Config.prototype.specialCharacters=["!","&quot;","#","$","%","&amp;","'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","&lt;","=","&gt;","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","&euro;","&lsquo;","&rsquo;","&ldquo;","&rdquo;","&ndash;","&mdash;","&iexcl;","&cent;","&pound;","&curren;","&yen;","&brvbar;","&sect;","&uml;","&copy;","&ordf;","&laquo;","&raquo;","&not;","&reg;","&macr;","&deg;","&sup2;","&sup3;","&acute;","&micro;","&para;","&middot;","&cedil;","&sup1;","&ordm;","&frac14;","&frac12;","&frac34;","&iquest;","&Agrave;","&Aacute;","&Acirc;","&Atilde;","&Auml;","&Aring;","&AElig;","&Ccedil;","&Egrave;","&Eacute;","&Ecirc;","&Euml;","&Igrave;","&Iacute;","&Icirc;","&Iuml;","&ETH;","&Ntilde;","&Ograve;","&Oacute;","&Ocirc;","&Otilde;","&Ouml;","&times;","&Oslash;","&Ugrave;","&Uacute;","&Ucirc;","&Uuml;","&Yacute;","&THORN;","&szlig;","&agrave;","&aacute;","&acirc;","&atilde;","&auml;","&aring;","&aelig;","&ccedil;","&egrave;","&eacute;","&ecirc;","&euml;","&igrave;","&iacute;","&icirc;","&iuml;","&eth;","&ntilde;","&ograve;","&oacute;","&ocirc;","&otilde;","&ouml;","&divide;","&oslash;","&ugrave;","&uacute;","&ucirc;","&uuml;","&yacute;","&thorn;","&yuml;","&OElig;","&oelig;","&#372;","&#374","&#373","&#375;","&sbquo;","&#8219;","&bdquo;","&hellip;","&trade;","&#9658;","&bull;","&rarr;","&rArr;","&hArr;","&diams;","&asymp;"],n.Icon.set("symbols",s()),o.Config.prototype.controls.symbols={hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup:(e,t,i)=>{let n=e.e.fire("generateSpecialCharactersTable.symbols");if(n){if(e.o.usePopupForSpecialCharacters){let t=e.c.div();return t.classList.add("jodit-symbols"),t.appendChild(n),e.e.on(n,"close_dialog",i),t}e.alert(n,"Select Special Character",void 0,"jodit-symbols").bindDestruct(e);let t=n.querySelector("a");t&&t.focus()}}}},19147:function(e,t,i){"use strict";i.d(t,{NUMBER_FIELDS_REG:function(){return a},normalizeCssNumericValue:function(){return l},normalizeCssValue:function(){return c}});var n=i(70222),o=i(18303),r=i(93387),s=i(74264);let a=/^(left|top|bottom|right|width|min|max|height|margin|padding|fontsize|font-size)/i;function l(e,t){return!(0,o.isVoid)(t)&&a.test(e)&&(0,n.isNumeric)(t.toString())?parseInt(t.toString(),10)+"px":t}function c(e,t){if("font-weight"===(0,s.kebabCase)(e)){switch(t.toString().toLowerCase()){case"700":case"bold":return 700;case"400":case"normal":return 400;case"900":case"heavy":return 900}return(0,n.isNumeric)(t)?Number(t):t}return/color/i.test(e)&&/^rgb/i.test(t.toString())&&(0,r.colorToHex)(t.toString())||t}},19213:function(e,t,i){"use strict";i.d(t,{clearSelectionWrappers:function(){return c},clearSelectionWrappersFromHTML:function(){return u},getSelectionWrappers:function(){return l},highlightTextRanges:function(){return a}});var n=i(81937),o=i(23211),r=i(28723);let s="jd-tmp-selection";function a(e,t,i,r,a){if(null==t.startContainer.nodeValue||null==t.endContainer.nodeValue||function(e,t,i){if(e.o.search.useCustomHighlightAPI&&n.globalWindow&&void 0!==n.globalWindow.Highlight){let n=new Highlight(...[t,...i].map(t=>{let i=e.selection.createRange();return i.setStart(t.startContainer,t.startOffset),i.setEnd(t.endContainer,t.endOffset),i}));return CSS.highlights.clear(),CSS.highlights.set("jodit-search-result",n),i.length=0,!0}return!1}(e,t,i))return;let l=r.element("span",{[s]:!0});o.Dom.markTemporary(l),function(e,t,i){let n=e.startContainer.nodeValue,r=0;if(0!==e.startOffset){let t=i.text(n.substring(0,e.startOffset));e.startContainer.nodeValue=n.substring(e.startOffset),o.Dom.before(e.startContainer,t),e.startContainer===e.endContainer&&(r=e.startOffset,e.endOffset-=r),e.startOffset=0}let s=e.endContainer.nodeValue;if(e.endOffset!==s.length){let n=i.text(s.substring(e.endOffset));for(let i of(e.endContainer.nodeValue=s.substring(0,e.endOffset),o.Dom.after(e.endContainer,n),t))if(i.startContainer===e.endContainer)i.startContainer=n,i.startOffset=i.startOffset-e.endOffset-r,i.endContainer===e.endContainer&&(i.endContainer=n,i.endOffset=i.endOffset-e.endOffset-r);else break;e.endOffset=e.endContainer.nodeValue.length}}(t,i,r);let c=t.startContainer;do{var u;if(!c||(o.Dom.isText(c)&&(u=c.parentNode,!(o.Dom.isElement(u)&&u.hasAttribute(s)))&&o.Dom.wrap(c,l.cloneNode(),r),c===t.endContainer))break;let e=c.firstChild||c.nextSibling;if(!e){for(;c&&!c.nextSibling&&c!==a;)c=c.parentNode;e=null==c?void 0:c.nextSibling}c=e}while(c&&c!==a)}function l(e){return(0,r.$$)(`[${s}]`,e)}function c(e){l(e.editor).forEach(e=>o.Dom.unwrap(e)),e.o.search.useCustomHighlightAPI&&n.globalWindow&&void 0!==n.globalWindow.Highlight&&CSS.highlights.clear()}function u(e){return e.replace(RegExp(`<span[^>]+${s}[^>]+>(.*?)</span>`,"g"),"$1")}},19549:function(e,t,i){"use strict";i.d(t,{getSuitParent:function(){return function e(t,i,s){let{parentNode:a}=i;return a===s||!n.Dom.isHTMLElement(a)||n.Dom.next(i,o.isNormalNode,a)||n.Dom.prev(i,o.isNormalNode,a)?null:t.isElementCommit&&t.elementIsBlock&&!n.Dom.isBlock(a)?e(t,a,s):(0,r.isSuitElement)(t,a,!1)&&(!n.Dom.isBlock(a)||t.elementIsBlock)?a:t.isElementCommit&&!n.Dom.isBlock(a)?e(t,a,s):null}}});var n=i(23211),o=i(83653),r=i(73019)},20784:function(e){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path stroke="null" d="m42.276011,26.302547c0.098397,-0.76605 0.172194,-1.54407 0.172194,-2.33406s-0.073797,-1.56801 -0.172194,-2.33406l5.202718,-3.961917c0.467384,-0.359086 0.602679,-1.005441 0.29519,-1.532101l-4.919828,-8.29489c-0.307489,-0.51469 -0.947067,-0.730142 -1.500548,-0.51469l-6.125186,2.405877c-1.266856,-0.945594 -2.656707,-1.747553 -4.157255,-2.357999l-0.922468,-6.343855c-0.110696,-0.562568 -0.614979,-1.005441 -1.229957,-1.005441l-9.839656,0c-0.614979,0 -1.119261,0.442873 -1.217657,1.005441l-0.922468,6.343855c-1.500548,0.610446 -2.890399,1.400436 -4.157255,2.357999l-6.125186,-2.405877c-0.553481,-0.203482 -1.193058,0 -1.500548,0.51469l-4.919828,8.29489c-0.307489,0.51469 -0.172194,1.161045 0.29519,1.532101l5.190419,3.961917c-0.098397,0.76605 -0.172194,1.54407 -0.172194,2.33406s0.073797,1.56801 0.172194,2.33406l-5.190419,3.961917c-0.467384,0.359086 -0.602679,1.005441 -0.29519,1.532101l4.919828,8.29489c0.307489,0.51469 0.947067,0.730142 1.500548,0.51469l6.125186,-2.405877c1.266856,0.945594 2.656707,1.747553 4.157255,2.357999l0.922468,6.343855c0.098397,0.562568 0.602679,1.005441 1.217657,1.005441l9.839656,0c0.614979,0 1.119261,-0.442873 1.217657,-1.005441l0.922468,-6.343855c1.500548,-0.610446 2.890399,-1.400436 4.157255,-2.357999l6.125186,2.405877c0.553481,0.203482 1.193058,0 1.500548,-0.51469l4.919828,-8.29489c0.307489,-0.51469 0.172194,-1.161045 -0.29519,-1.532101l-5.190419,-3.961917zm-18.277162,6.044617c-4.759934,0 -8.609699,-3.746465 -8.609699,-8.378677s3.849766,-8.378677 8.609699,-8.378677s8.609699,3.746465 8.609699,8.378677s-3.849766,8.378677 -8.609699,8.378677z"/> </svg>'},21132:function(e,t,i){"use strict";i.d(t,{applyMargin:function(){return r}});var n=i(80991),o=i(10808);function r(e,t,i,r,s,a,l){let c=[t,i,r,s],u=(e,t)=>{let i=(0,n.css)(a,e),r=(0,o.normalSizeToString)(t);i.toString()!==r.toString()&&(0,n.css)(a,e,r)};if(l)u("margin",t);else{let e=["margin-top","margin-right","margin-bottom","margin-left"];c.forEach((t,i)=>{u(e[i],t)})}}},21195:function(e){e.exports.default=["なにかタイプしてください","Joditについて","Jodit Editor","Jodit ユーザーズ・ガイド","詳しい使い方","ライセンス詳細についてはJodit Webサイトを確認ください:","フルバージョンを購入","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","新しいタブで開く","エディターのサイズ(フル/ノーマル)","書式をクリア","テキストの色","やり直し","元に戻す","太字","斜体","箇条書き","番号付きリスト","中央揃え","両端揃え","左揃え","右揃え","区切り線を挿入","画像を挿入","ファイルを挿入","Youtube/Vimeo 動画","リンクを挿入","フォントサイズ","フォント","テキストのスタイル","指定なし","タイトル1","タイトル2","タイトル3","タイトル4","引用","コード","挿入","表を挿入","インデント減","インデント増","特殊文字を選択","特殊文字を挿入","書式を貼付け","編集モード切替え","マージン","上","右","下","左","スタイル","クラス","配置","右寄せ","中央寄せ","左寄せ","指定なし","ソース","タイトル","代替テキスト","リンク","新しいタブで開く","画像","ファイル","高度な設定","画像のプロパティー","キャンセル","確定","File Browser","Error on load list","Error on load folders","Are you sure?","Enter Directory name","Create directory","type name","ここに画像をドロップ","ここにファイルをドロップ","or クリック","代替テキスト","アップロード","ブラウズ","背景","文字","上","中央","下","左に列を挿入","右に列を挿入","上に行を挿入","下に行を挿入","表を削除","行を削除","列を削除","セルを空にする","文字数: %d","単語数: %d","取り消し線","下線","上付き文字","下付き文字","切り取り","すべて選択","Pause","検索","置換","交換","貼付け","選択した内容を貼付け","source","bold","italic","brush","link","undo","redo","table","image","eraser","paragraph","fontsize","video","font","about","print","underline","strikethrough","indent","outdent","fullsize","shrink","分割線","箇条書き","番号付きリスト","切り取り","すべて選択","埋め込みコード","リンクを開く","リンクを編集","No follow","リンク解除","更新","鉛筆","サイトを確認","URL","編集","水平方向の配置","Filter","Sort by changed","Sort by name","Sort by size","Add folder","リセット","保存","Save as ...","リサイズ","Crop","幅","高さ","縦横比を保持","はい","いいえ","移除","選択","選択: %s","垂直方向の配置","分割","セルの結合","列を追加","行を追加","ライセンス: %s","削除","セルの分割(垂直方向)","セルの分割(水平方向)","境界線","HTMLコードを保持しますか?","HTMLで貼付け","HTMLを保持","HTMLをテキストにする","テキストだけ","You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!","パレット","There are no files","Rename","Enter new name","プレビュー","ダウンロード","貼り付け","お使いのブラウザはクリップボードを使用できません","コピー","copy","角の丸み","全て表示","適用","まだこの分野","を入力してくださいウェブアドレス","デフォルト","白丸","黒丸","四角","見","探前","由来","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Word Paste Detected","Clean","クラス名を挿入","カスタムサイズ変更のためのAltキーを押します",null,null,null,"全部"]},21513:function(e){e.exports={"copy-format":"Format de copie"}},21917:function(e){e.exports='<svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg"> <path clip-rule="evenodd" d="M306.39,154.09c19.628,4.543,35.244,21.259,39.787,39.523 c1.551,8.54,8.998,14.989,17.904,14.989c9.991,0,18.168-8.175,18.168-18.17c0-13.083-10.991-32.98-25.985-47.881 c-14.719-14.537-32.252-24.802-46.695-24.802c-9.991,0-18.172,8.45-18.172,18.446C291.396,145.094,297.847,152.546,306.39,154.09z M56.629,392.312c-14.09,14.08-14.09,36.979,0,51.059c14.08,14.092,36.981,14.092,50.965,0l104.392-104.303 c24.347,15.181,53.062,23.991,83.953,23.991c87.857,0,158.995-71.142,158.995-158.999c0-87.854-71.138-158.995-158.995-158.995 c-87.856,0-158.995,71.141-158.995,158.995c0,30.802,8.819,59.606,23.992,83.953L56.629,392.312z M182.371,204.06 c0-62.687,50.875-113.568,113.568-113.568s113.569,50.881,113.569,113.568c0,62.694-50.876,113.569-113.569,113.569 S182.371,266.754,182.371,204.06z" fill-rule="evenodd"/> </svg>'},22289:function(e,t,i){"use strict";function n(e){return"boolean"==typeof e}i.d(t,{isBoolean:function(){return n}})},22380:function(e){e.exports={"copy-format":"Copiar formato"}},22533:function(e,t,i){"use strict";i.d(t,{ToolbarButton:function(){return I}});var n=i(25045),o=i(31635),r=i(69364),s=i(49574),a=i(51676),l=i(91672),c=i(68616),u=i(23211),d=i(17312),h=i(91565),p=i(24497),m=i(62101),f=i(85932),g=i(86878),v=i(57821),_=i(28712),b=i(7909),y=i(71125),S=i(59400),w=i(15982),C=i(29434),k=i(51116),E=i(4274);class I extends S.UIButton{className(){return"ToolbarButton"}getRole(){return"listitem"}get toolbar(){let e=(0,l.getComponentClass)("ToolbarCollection");return this.closest(e)}update(){var e,t;let{control:i,state:n}=this,o=this.toolbar;if(!o)return;let r=null==(e=i.value)?void 0:e.call(i,o.jodit,this);void 0!==r&&(n.value=r),n.disabled=this.__calculateDisabledStatus(o),n.activated=this.__calculateActivatedStatus(o),null==(t=i.update)||t.call(i,o.jodit,this)}__calculateActivatedStatus(e){var t,i;return(!(0,p.isJoditObject)(this.j)||!!this.j.editorIsActive)&&(null!=(t=(i=this.control).isActive)&&!!t.call(i,this.j,this)||!!(e&&e.shouldBeActive(this)))}__calculateDisabledStatus(e){var t,i;return!!(this.j.o.disabled||this.j.o.readonly&&(!this.j.o.activeButtonsInReadOnly||!this.j.o.activeButtonsInReadOnly.includes(this.control.name))||(null==(t=(i=this.control).isDisabled)?void 0:t.call(i,this.j,this)))||!!(e&&e.shouldBeDisabled(this))}onChangeActivated(){(0,b.attr)(this.button,"aria-pressed",this.state.activated),super.onChangeActivated()}onChangeText(){(0,h.isFunction)(this.control.template)?this.text.innerHTML=this.control.template(this.j,this.control.name,this.j.i18n(this.state.text)):super.onChangeText(),this.setMod("text-icons",!!this.text.innerText.trim().length)}onChangeTabIndex(){(0,b.attr)(this.button,"tabindex",this.state.tabIndex)}createContainer(){let e=this.componentName,t=this.j.c.span(e),i=super.createContainer();i.classList.remove(e),i.classList.add(e+"__button"),Object.defineProperty(i,"component",{value:this}),t.appendChild(i);let n=this.j.c.fromHTML(`<span role="trigger" class="${e}__trigger">${C.Icon.get("chevron")}</span>`);return i.appendChild(n),t}focus(){var e;null==(e=this.container.querySelector("button"))||e.focus()}onChangeHasTrigger(){this.state.hasTrigger?this.container.appendChild(this.trigger):u.Dom.safeRemove(this.trigger),this.setMod("with-trigger",this.state.hasTrigger||null)}onChangeDisabled(){let e=this.state.disabled?"disabled":null;(0,b.attr)(this.trigger,"disabled",e),(0,b.attr)(this.button,"disabled",e),(0,b.attr)(this.container,"disabled",e)}__initFromControl(){let{control:e,state:t}=this;this.updateSize(),t.name=e.name;let{textIcons:i}=this.j.o;if(!0===i||(0,h.isFunction)(i)&&i(e.name)||e.template)t.icon=(0,S.UIButtonState)().icon,t.text=e.text||e.name;else{if(e.iconURL)t.icon.iconURL=e.iconURL;else{var n;let i=e.icon||e.name;t.icon.name=C.Icon.exists(i)||(null==(n=this.j.o.extraIcons)?void 0:n[i])?i:""}e.iconURL||t.icon.name||(t.text=e.text||e.name)}e.tooltip&&(t.tooltip=(0,h.isFunction)(e.tooltip)?e.tooltip(this.j,e,this):e.tooltip),t.hasTrigger=!!(e.list||e.popup&&e.exec)}onTriggerClick(e){if(this.openedPopup)return void this.__closePopup();let{control:t}=this;if(e.buffer={actionTrigger:this},t.list)return this.__openControlList(t);if((0,h.isFunction)(t.popup)){let e=this.openPopup();e.parentElement=this;try{if(!1!==this.j.e.fire((0,v.camelCase)(`before-${t.name}-open-popup`),this.target,t,e)){var i,n,o;let r=null!=(i=null!=(n=null==(o=this.toolbar)?void 0:o.getTarget(this))?n:this.target)?i:null,s=t.popup(this.j,r,this.__closePopup,this);s?e.setContent((0,f.isString)(s)?this.j.c.fromHTML(s):s).open(()=>(0,g.position)(this.container),!1,this.j.o.allowTabNavigation?this.container:void 0):this.__closePopup()}}catch(e){throw this.__closePopup(),e}this.j.e.fire((0,v.camelCase)(`after-${t.name}-open-popup`),e.container)}}__openControlList(e){var t;let i=null!=(t=this.jodit.options.controls)?t:{},n=e=>(0,w.findControlType)(e,i),o=e.list,r=this.openPopup(),s=(0,E.makeCollection)(this.j);r.parentElement=this,s.parentElement=r,s.mode="vertical";let a=(t,i)=>{let o;if((0,f.isString)(i)&&n(i))return{name:i.toString(),...n(i)};if((0,f.isString)(t)&&n(t))return{name:t.toString(),...n(t),..."object"==typeof i?i:{}};o=t,(0,m.isPlainObject)(o)&&"title"in o&&"value"in o&&(i=t.value,t=t.title);let{childTemplate:r}=e,s={name:t.toString(),template:r&&((e,t,i)=>r(e,t,i,this)),exec:e.childExec?(t,i,n)=>{var o;return null==(o=e.childExec)?void 0:o.call(e,t,i,{...n,parentControl:e})}:e.exec,data:e.data,command:e.command,isActive:e.isChildActive,value:e.value,isDisabled:e.isChildDisabled,mode:e.mode,args:[...e.args?e.args:[],t,i]};return(0,f.isString)(i)&&(s.text=i),s};s.build((0,d.isArray)(o)?o.map(a):(0,y.keys)(o,!1).map(e=>a(e,o[e])),this.target),r.setContent(s).open(()=>(0,g.position)(this.container),!1,this.j.o.allowTabNavigation?this.container:void 0),this.state.activated=!0}onOutsideClick(e){this.openedPopup&&(e&&u.Dom.isNode(e.target)&&(u.Dom.isOrContains(this.container,e.target)||this.openedPopup.isOwnClick(e))||this.__closePopup())}openPopup(){return this.__closePopup(),this.openedPopup=new k.Popup(this.j,!1),this.j.e.on(this.ow,"mousedown touchstart",this.onOutsideClick).on("escape closeAllPopups",this.onOutsideClick),this.openedPopup}__closePopup(){this.openedPopup&&(this.j.e.off(this.ow,"mousedown touchstart",this.onOutsideClick).off("escape closeAllPopups",this.onOutsideClick),this.state.activated=!1,this.openedPopup.close(),this.openedPopup.destruct(),this.openedPopup=null)}onClick(e){let{control:t}=this;if((0,h.isFunction)(t.exec)){var i,n,o,r,s,a,l;let c=null!=(i=null!=(n=null==(o=this.toolbar)?void 0:o.getTarget(this))?n:this.target)?i:null,u=t.exec(this.j,c,{control:t,originalEvent:e,button:this});if(!1!==u&&!0!==u&&(null==(s=this.j)||null==(r=s.e)||r.fire("synchro"),this.parentElement&&this.parentElement.update(),null==(l=this.j)||null==(a=l.e)||a.fire("closeAllPopups afterExec")),!1!==u)return}return t.list?this.__openControlList(t):(0,h.isFunction)(t.popup)?this.onTriggerClick(e):void((t.command||t.name)&&((0,y.call)((0,p.isJoditObject)(this.j)?this.j.execCommand.bind(this.j):this.j.od.execCommand.bind(this.j.od),t.command||t.name,!1,t.args&&t.args[0]),this.j.e.fire("closeAllPopups")))}destruct(){return this.__closePopup(),super.destruct()}constructor(e,t,i=null){super(e),(0,n._)(this,"control",void 0),(0,n._)(this,"target",void 0),(0,n._)(this,"state",void 0),(0,n._)(this,"trigger",void 0),(0,n._)(this,"openedPopup",void 0),this.control=t,this.target=i,this.state={...(0,S.UIButtonState)(),theme:"toolbar",currentValue:"",hasTrigger:!1},this.openedPopup=null;const o=this.getElm("button");(0,_.assert)(o,"Element button should exists"),this.button=o,Object.defineProperty(o,"component",{value:this,configurable:!0});const s=this.getElm("trigger");(0,_.assert)(s,"Element trigger should exists"),this.trigger=s,s.remove(),e.e.on([this.button,this.trigger],"mousedown",e=>e.preventDefault()),this.onAction(this.onClick),this.hookStatus(r.STATUSES.ready,()=>{this.__initFromControl(),this.update()}),t.mods&&Object.keys(t.mods).forEach(e=>{t.mods&&this.setMod(e,t.mods[e])})}}(0,o.__decorate)([a.cacheHTML],I.prototype,"createContainer",null),(0,o.__decorate)([(0,c.watch)("state.hasTrigger",{immediately:!1})],I.prototype,"onChangeHasTrigger",null),(0,o.__decorate)([(0,c.watch)("trigger:click")],I.prototype,"onTriggerClick",null),(0,o.__decorate)([s.autobind],I.prototype,"onOutsideClick",null),(0,o.__decorate)([s.autobind],I.prototype,"__closePopup",null),I=(0,o.__decorate)([l.component],I)},22852:function(e,t,i){"use strict";i.d(t,{stripTags:function(){return function e(t,i=document,u=null){let d=i.createElement("div");return(0,o.isString)(t)?d.innerHTML=t:d.appendChild(t),(0,s.$$)("*",d).forEach(t=>{let o=t.parentNode;if(!o)return;if(u&&n.Dom.isTag(t,u)){let o=t.nodeName.toLowerCase(),r=n.Dom.isTag(t,c)?`%%%jodit-single-${o}%%%`:`%%%jodit-${o}%%%${e(t.innerHTML,i,u)}%%%/jodit-${o}%%%`;n.Dom.before(t,i.createTextNode(r)),n.Dom.safeRemove(t);return}if(n.Dom.isTag(t,l))return void n.Dom.safeRemove(t);if(!n.Dom.isTag(t,a))return;let r=t.nextSibling;!(n.Dom.isText(r)&&/^\s/.test(r.nodeValue||""))&&r&&o.insertBefore(i.createTextNode(" "),r)}),(0,r.trim)(d.innerText).replace(/%%%(\/)?jodit(-single)?-([\w\n]+)%%%/g,(e,t,i,n)=>`<${t?"/":""}${n}>`)}}});var n=i(23211),o=i(85932),r=i(4040),s=i(93640);let a=new Set(["div","p","br","h1","h2","h3","h4","h5","h6","hr"]),l=new Set(["script","style"]),c=new Set(["br","hr","input"])},22980:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(27795),a=i(28077),l=i(85932),c=i(91206);i(86038);class u extends c.Plugin{afterInit(e){"br"!==e.o.enter.toLowerCase()&&e.e.on("drop.wtn focus.wtn keydown.wtn mousedown.wtn afterInit.wtn backSpaceAfterDelete.wtn",this.preprocessInput,{top:!0}).on("afterInit.wtn postProcessSetEditorValue.wtn afterCommitStyle.wtn backSpaceAfterDelete.wtn",this.postProcessSetEditorValue)}beforeDestruct(e){e.e.off(".wtn")}postProcessSetEditorValue(){let{jodit:e}=this;if(!e.isEditorMode())return;let t=e.editor.firstChild,i=!1;for(;t;){if(t=function(e,t){let i=e,n=e;do if(s.Dom.isElement(n)&&s.Dom.isLeaf(n)&&!s.Dom.isList(n.parentElement)){let e=s.Dom.findNotEmptySibling(n,!1);s.Dom.isTag(i,"ul")?i.appendChild(n):i=s.Dom.wrap(n,"ul",t.createInside),n=e}else break;while(n);return i}(t,e),this.isSuitableStart(t)){i||e.s.save(),i=!0;let n=e.createInside.element(e.o.enter);for(s.Dom.before(t,n);t&&this.isSuitable(t);){let e=t.nextSibling;n.appendChild(t),t=e}n.normalize(),t=n}t=t&&t.nextSibling}i&&(e.s.restore(),"afterInit"===e.e.current&&e.e.fire("internalChange"))}preprocessInput(){let{jodit:e}=this,t="afterInit"===e.e.current;if(!e.isEditorMode()||e.editor.firstChild||!e.o.wrapNodes.emptyBlockAfterInit&&t)return;let i=e.createInside.element(e.o.enter),n=e.createInside.element("br");s.Dom.append(i,n),s.Dom.append(e.editor,i),e.s.isFocused()&&e.s.setCursorBefore(n),e.e.fire("internalChange")}constructor(...e){super(...e),(0,n._)(this,"isSuitableStart",e=>{var t;return s.Dom.isText(e)&&(0,l.isString)(e.nodeValue)&&(/[^\s]/.test(e.nodeValue)||(null==(t=e.parentNode)?void 0:t.firstChild)===e&&this.isSuitable(e.nextSibling))||this.isNotWrapped(e)&&!s.Dom.isTemporary(e)}),(0,n._)(this,"isSuitable",e=>s.Dom.isText(e)||this.isNotWrapped(e)),(0,n._)(this,"isNotWrapped",e=>s.Dom.isElement(e)&&!(s.Dom.isBlock(e)||s.Dom.isTag(e,this.j.o.wrapNodes.exclude)))}}(0,o.__decorate)([r.autobind],u.prototype,"postProcessSetEditorValue",null),(0,o.__decorate)([r.autobind],u.prototype,"preprocessInput",null),a.pluginSystem.add("wrapNodes",u)},22998:function(e){e.exports={"copy-format":"Form\xe1tum m\xe1sol\xe1s"}},23112:function(e,t,i){"use strict";function n(e){let t=atob(e.split(",")[1]),i=e.split(",")[0].split(":")[1].split(";")[0],n=new Uint8Array(new ArrayBuffer(t.length));for(let e=0;e<t.length;e+=1)n[e]=t.charCodeAt(e);return new Blob([n.buffer],{type:i})}i.d(t,{dataURItoBlob:function(){return n}})},23175:function(e,t,i){"use strict";i.d(t,{isMarker:function(){return o}});var n=i(23211);function o(e){return n.Dom.isMarker(e)}},23183:function(e,t,i){"use strict";i.d(t,{Elms:function(){return o}});var n=i(88475);class o{getElm(e){return this.container.querySelector(`.${this.getFullElName(e)}`)}getElms(e){return(0,n.toArray)(this.container.querySelectorAll(`.${this.getFullElName(e)}`))}}},23211:function(e,t,i){"use strict";i.d(t,{Dom:function(){return _}});var n=i(81937),o=i(88475),r=i(17312),s=i(91565),a=i(46248),l=i(3213),c=i(85932),u=i(18303),d=i(4040),h=i(28712),p=i(7909),m=i(80991),f=i(36400),g=i(33201),v=i(71125);class _{static detach(e){for(;e&&e.firstChild;)e.removeChild(e.firstChild)}static wrapNextInline(e,t,i){let n,o=e;i.s.save();let r=!1;do r=!1,(n=o.nextSibling)&&!_.isBlock(n)&&!_.isTag(n,"br")&&(r=!0,o=n);while(r);return _.__wrapElements(t,i,e,o)}static __wrapElements(e,t,i,n){let o=(0,c.isString)(e)?t.createInside.element(e):e;i.parentNode&&i.parentNode.insertBefore(o,i);let r=i;for(;r&&(r=i.nextSibling,o.appendChild(i),i!==n&&r);)i=r;return t.s.restore(),o}static wrapInline(e,t,i){let n,o=e,r=e;i.s.save();let s=!1;do s=!1,(n=o.previousSibling)&&!_.isBlock(n)&&(s=!0,o=n);while(s);do s=!1,(n=r.nextSibling)&&!_.isBlock(n)&&(s=!0,r=n);while(s);return _.__wrapElements(t,i,o,r)}static wrap(e,t,i){let n=(0,c.isString)(t)?i.element(t):t;if(_.isNode(e)){if(!e.parentNode)throw(0,g.error)("Element should be in DOM");e.parentNode.insertBefore(n,e),n.appendChild(e)}else{let t=e.extractContents();e.insertNode(n),n.appendChild(t)}return n}static unwrap(e){let t=e.parentNode;if(t){for(;e.firstChild;)t.insertBefore(e.firstChild,e);_.safeRemove(e)}}static between(e,t,i){let n=e;for(;n&&n!==t&&!(e!==n&&i(n));){let e=n.firstChild||n.nextSibling;if(!e){for(;n&&!n.nextSibling;)n=n.parentNode;e=null==n?void 0:n.nextSibling}n=e}}static replace(e,t,i,n=!1,r=!1){let s;if((0,a.isHTML)(t)&&((0,h.assert)(i,"Need create instance for new tag"),t=i.fromHTML(t)),(0,c.isString)(t)?((0,h.assert)(i,"Need create instance for new tag"),s=i.element(t)):s=t,!r)for(;e.firstChild;)s.appendChild(e.firstChild);return n&&_.isElement(e)&&_.isElement(s)&&(0,o.toArray)(e.attributes).forEach(e=>{s.setAttribute(e.name,e.value)}),e.parentNode&&e.parentNode.replaceChild(s,e),s}static isEmptyTextNode(e){return _.isText(e)&&(!e.nodeValue||0===e.nodeValue.replace(n.INVISIBLE_SPACE_REG_EXP(),"").trim().length)}static isEmptyContent(e){return _.each(e,e=>_.isEmptyTextNode(e))}static isContentEditable(e,t){return _.isNode(e)&&!_.closest(e,e=>_.isElement(e)&&"false"===e.getAttribute("contenteditable"),t)}static isEmpty(e,t=n.NO_EMPTY_TAGS){let i;if(!e)return!0;i=(0,s.isFunction)(t)?t:e=>t.has(e.nodeName.toLowerCase());let o=e=>null==e.nodeValue||0===(0,d.trim)(e.nodeValue).length;return _.isText(e)?o(e):!(_.isElement(e)&&i(e))&&_.each(e,e=>{if(_.isText(e)&&!o(e)||_.isElement(e)&&i(e))return!1})}static isNode(e){return!!(e&&(0,c.isString)(e.nodeName)&&"number"==typeof e.nodeType&&e.childNodes&&(0,s.isFunction)(e.appendChild))}static isCell(e){return _.isNode(e)&&("TD"===e.nodeName||"TH"===e.nodeName)}static isList(e){return _.isTag(e,n.LIST_TAGS)}static isLeaf(e){return _.isTag(e,"li")}static isImage(e){return _.isNode(e)&&/^(img|svg|picture|canvas)$/i.test(e.nodeName)}static isBlock(e){return!(0,u.isVoid)(e)&&"object"==typeof e&&_.isNode(e)&&n.IS_BLOCK.test(e.nodeName)}static isText(e){return!!(e&&e.nodeType===Node.TEXT_NODE)}static isComment(e){return!!(e&&e.nodeType===Node.COMMENT_NODE)}static isElement(e){var t;return!!_.isNode(e)&&!!((null==(t=e.ownerDocument)?void 0:t.defaultView)&&e.nodeType===Node.ELEMENT_NODE)}static isFragment(e){var t;return!!_.isNode(e)&&!!((null==(t=e.ownerDocument)?void 0:t.defaultView)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)}static isHTMLElement(e){var t;if(!_.isNode(e))return!1;let i=null==(t=e.ownerDocument)?void 0:t.defaultView;return!!(i&&e instanceof i.HTMLElement)}static isInlineBlock(e){return _.isElement(e)&&!/^(BR|HR)$/i.test(e.tagName)&&-1!==["inline","inline-block"].indexOf((0,m.css)(e,"display").toString())}static canSplitBlock(e){return!(0,u.isVoid)(e)&&_.isHTMLElement(e)&&_.isBlock(e)&&!/^(TD|TH|CAPTION|FORM)$/.test(e.nodeName)&&void 0!==e.style&&!/^(fixed|absolute)/i.test(e.style.position)}static last(e,t){let i=null==e?void 0:e.lastChild;if(!i)return null;do{if(t(i))return i;let n=i.lastChild;if(n||(n=i.previousSibling),!n&&i.parentNode!==e){do i=i.parentNode;while(i&&!(null==i?void 0:i.previousSibling)&&i.parentNode!==e);n=null==i?void 0:i.previousSibling}i=n}while(i);return null}static prev(e,t,i,n=!0){return _.find(e,t,i,!1,n)}static next(e,t,i,n=!0){return _.find(e,t,i,!0,n)}static prevWithClass(e,t){return _.prev(e,e=>_.isElement(e)&&e.classList.contains(t),e.parentNode)}static nextWithClass(e,t){return _.next(e,e=>_.isElement(e)&&e.classList.contains(t),e.parentNode)}static find(e,t,i,n=!0,o=!0){let r=this.nextGen(e,i,n,o),s=r.next();for(;!s.done;){if(t(s.value))return s.value;s=r.next()}return null}static*nextGen(e,t,i=!0,n=!0){let o=[],r=e;do{let t=i?r.nextSibling:r.previousSibling;for(;t;)o.unshift(t),t=i?t.nextSibling:t.previousSibling;yield*this.runInStack(e,o,i,n),r=r.parentNode}while(r&&r!==t);return null}static each(e,t,i=!0){let n=this.eachGen(e,i),o=n.next();for(;!o.done;){if(!1===t(o.value))return!1;o=n.next()}return!0}static eachGen(e,t=!0){return this.runInStack(e,[e],t)}static*runInStack(e,t,i,n=!0){for(;t.length;){let o=t.pop();if(n){let e=i?o.lastChild:o.firstChild;for(;e;)t.push(e),e=i?e.previousSibling:e.nextSibling}e!==o&&(yield o)}}static findWithCurrent(e,t,i,n="nextSibling",o="firstChild"){let r=e;do{if(t(r))return r||null;if(o&&r&&r[o]){let e=_.findWithCurrent(r[o],t,r,n,o);if(e)return e}for(;r&&!r[n]&&r!==i;)r=r.parentNode;r&&r[n]&&r!==i&&(r=r[n])}while(r&&r!==i);return null}static findSibling(e,t=!0,i=e=>!_.isEmptyTextNode(e)){let n=_.sibling(e,t);for(;n&&!i(n);)n=_.sibling(n,t);return n&&i(n)?n:null}static findNotEmptySibling(e,t){return _.findSibling(e,t,e=>{var t;return!_.isEmptyTextNode(e)&&!!(!_.isText(e)||(null==(t=e.nodeValue)?void 0:t.length)&&(0,d.trim)(e.nodeValue))})}static findNotEmptyNeighbor(e,t,i){return(0,v.call)(t?_.prev:_.next,e,e=>!!(e&&(!(_.isText(e)||_.isComment(e))||(0,d.trim)((null==e?void 0:e.nodeValue)||"").length)),i)}static sibling(e,t){return t?e.previousSibling:e.nextSibling}static up(e,t,i,n=!1){let o=e;if(!o)return null;do{if(t(o))return o;if(o===i||!o.parentNode)break;o=o.parentNode}while(o&&o!==i);return o===i&&n&&t(o)?o:null}static closest(e,t,i){let n,o=e=>e.toLowerCase();if((0,s.isFunction)(t))n=t;else if((0,r.isArray)(t)||(0,l.isSet)(t)){let e=(0,l.isSet)(t)?t:new Set(t.map(o));n=t=>!!(t&&e.has(o(t.nodeName)))}else n=e=>!!(e&&o(t)===o(e.nodeName));return _.up(e,n,i)}static furthest(e,t,i){let n=null,o=null==e?void 0:e.parentElement;for(;o&&o!==i;)t(o)&&(n=o),o=null==o?void 0:o.parentElement;return n}static appendChildFirst(e,t){let i=e.firstChild;i?i!==t&&e.insertBefore(t,i):e.appendChild(t)}static after(e,t){let{parentNode:i}=e;i&&(i.lastChild===e?i.appendChild(t):i.insertBefore(t,e.nextSibling))}static before(e,t){let{parentNode:i}=e;i&&i.insertBefore(t,e)}static prepend(e,t){e.insertBefore(t,e.firstChild)}static append(e,t){(0,r.isArray)(t)?t.forEach(t=>{this.append(e,t)}):e.appendChild(t)}static moveContent(e,t,i=!1,r=()=>!0){let s=(e.ownerDocument||n.globalDocument).createDocumentFragment();(0,o.toArray)(e.childNodes).filter(e=>!!r(e)||(_.safeRemove(e),!1)).forEach(e=>{s.appendChild(e)}),i&&t.firstChild?t.insertBefore(s,t.firstChild):t.appendChild(s)}static isOrContains(e,t,i=!1){return e===t?!i:!!(t&&e&&this.up(t,t=>t===e,e,!0))}static safeRemove(...e){e.forEach(e=>_.isNode(e)&&e.parentNode&&e.parentNode.removeChild(e))}static safeInsertNode(e,t){e.collapsed||e.deleteContents();let i=_.isFragment(t)?t.lastChild:t;e.startContainer===e.endContainer&&e.collapsed&&_.isTag(e.startContainer,n.INSEPARABLE_TAGS)?_.after(e.startContainer,t):(e.insertNode(t),i&&e.setStartBefore(i)),e.collapse(!0),[t.nextSibling,t.previousSibling].forEach(e=>_.isText(e)&&!e.nodeValue&&_.safeRemove(e))}static hide(e){e&&((0,f.dataBind)(e,"__old_display",e.style.display),e.style.display="none")}static show(e){if(!e)return;let t=(0,f.dataBind)(e,"__old_display");"none"===e.style.display&&(e.style.display=t||"")}static isTag(e,t){if(!this.isElement(e))return!1;let i=e.tagName.toLowerCase(),n=e.tagName.toUpperCase();if(t instanceof Set)return t.has(i)||t.has(n);if(Array.isArray(t))throw TypeError("Dom.isTag does not support array");return i===t||n===t}static markTemporary(e,t){return t&&(0,p.attr)(e,t),(0,p.attr)(e,n.TEMP_ATTR,!0),e}static isTemporary(e){return!!_.isElement(e)&&(_.isMarker(e)||"true"===(0,p.attr)(e,n.TEMP_ATTR))}static isMarker(e){return _.isNode(e)&&_.isTag(e,"span")&&e.hasAttribute("data-"+n.MARKER_CLASS)}static replaceTemporaryFromString(e){return e.replace(/<([a-z]+)[^>]+data-jodit-temp[^>]+>(.+?)<\/\1>/gi,"$2")}static temporaryList(e){return(0,o.toArray)(e.querySelectorAll(`[${n.TEMP_ATTR}]`))}constructor(){throw Error("Dom is static module")}}},23283:function(e,t,i){"use strict";function n(e){return!!e&&"function"===(typeof e).toLowerCase()&&(e===Function.prototype||/^\s*function\s*(\b[a-z$_][a-z0-9$_]*\b)*\s*\((|([a-z$_][a-z0-9$_]*)(\s*,[a-z$_][a-z0-9$_]*)*)\)\s*{\s*\[native code]\s*}\s*$/i.test(String(e)))}i.d(t,{isNativeFunction:function(){return n}})},23422:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(23211),l=i(28077),c=i(65946),u=i(18855);i(38187);var d=i(54308);class h extends u.Plugin{afterInit(e){e.e.on("paste.paste",this.onPaste).on("pasteStack.paste",e=>this.pasteStack.push(e)),e.o.nl2brInPlainText&&this.j.e.on("processPaste.paste",this.onProcessPasteReplaceNl2Br)}beforeDestruct(e){e.e.off("paste.paste",this.onPaste).off("processPaste.paste",this.onProcessPasteReplaceNl2Br).off(".paste")}onPaste(e){try{if(!1===this.customPasteProcess(e)||!1===this.j.e.fire("beforePaste",e))return e.preventDefault(),!1;this.defaultPasteProcess(e)}finally{this.j.e.fire("afterPaste",e)}}customPasteProcess(e){if(!this.j.o.processPasteHTML)return;let t=(0,c.getDataTransfer)(e),i=[null==t?void 0:t.getData(r.TEXT_PLAIN),null==t?void 0:t.getData(r.TEXT_HTML),null==t?void 0:t.getData(r.TEXT_RTF)];for(let t of i)if((0,c.isHTML)(t)&&(this.j.e.fire("processHTML",e,t,{plain:i[0],html:i[1],rtf:i[2]})||this.processHTML(e,t)))return!1}defaultPasteProcess(e){let t=(0,c.getDataTransfer)(e),i=(null==t?void 0:t.getData(r.TEXT_HTML))||(null==t?void 0:t.getData(r.TEXT_PLAIN));if(t&&i&&""!==(0,c.trim)(i)){let n=this.j.e.fire("processPaste",e,i,(0,d.getAllTypes)(t));void 0!==n&&(i=n),((0,c.isString)(i)||a.Dom.isNode(i))&&this.__insertByType(e,i,this.j.o.defaultActionOnPaste),e.preventDefault(),e.stopPropagation()}}processHTML(e,t){if(!this.j.o.askBeforePasteHTML)return!1;if(this.j.o.memorizeChoiceWhenPasteFragment){let i=this.pasteStack.find(e=>e.html===t);if(i)return this.__insertByType(e,t,i.action||this.j.o.defaultActionOnPaste),!0}if(this._isDialogOpened)return!0;let i=(0,d.askInsertTypeDialog)(this.j,"Your code is similar to HTML. Keep as HTML?","Paste as HTML",i=>{this._isDialogOpened=!1,this.__insertByType(e,t,i)},this.j.o.pasteHTMLActionList);return i&&(this._isDialogOpened=!0,i.e.on("beforeClose",()=>{this._isDialogOpened=!1})),!0}__insertByType(e,t,i){if(this.pasteStack.push({html:t,action:i}),(0,c.isString)(t))switch(this.j.buffer.set(r.CLIPBOARD_ID,t),i){case r.INSERT_CLEAR_HTML:t=(0,c.cleanFromWord)(t);break;case r.INSERT_ONLY_TEXT:t=(0,c.stripTags)(t,this.j.ed,new Set(this.j.o.pasteExcludeStripTags));break;case r.INSERT_AS_TEXT:t=(0,c.htmlspecialchars)(t);break;default:{let n=this.j.e.fire("onCustomPasteHTMLOption",i,t,e);"string"==typeof n&&(t=n)}}(0,d.pasteInsertHtml)(e,this.j,t)}onProcessPasteReplaceNl2Br(e,t,i){if(i===r.TEXT_PLAIN+";"&&!(0,c.isHTML)(t))return(0,c.nl2br)(t)}constructor(...e){super(...e),(0,n._)(this,"pasteStack",new c.LimitedStack(20)),(0,n._)(this,"_isDialogOpened",!1)}}(0,o.__decorate)([s.autobind],h.prototype,"onPaste",null),(0,o.__decorate)([s.autobind],h.prototype,"onProcessPasteReplaceNl2Br",null),l.pluginSystem.add("paste",h)},23599:function(e,t,i){"use strict";i.d(t,{position:function(){return function e(t,i,o=!1){var r,s;let a=t.getBoundingClientRect(),l=a.left,c=a.top;if((0,n.isJoditObject)(i)&&i.iframe&&i.ed.body.contains(t)&&!o){let{left:t,top:n}=e(i.iframe,i,!0);l+=t,c+=n}return{left:Math.round(l),top:Math.round(c),width:Math.round(null!=(r=t.offsetWidth)?r:a.width),height:Math.round(null!=(s=t.offsetHeight)?s:a.height)}}}});var n=i(24497)},23602:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M960 896q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm300 64l507 398q28 20 25 56-5 35-35 51l-128 64q-13 7-29 7-17 0-31-8l-690-387-110 66q-8 4-12 5 14 49 10 97-7 77-56 147.5t-132 123.5q-132 84-277 84-136 0-222-78-90-84-79-207 7-76 56-147t131-124q132-84 278-84 83 0 151 31 9-13 22-22l122-73-122-73q-13-9-22-22-68 31-151 31-146 0-278-84-82-53-131-124t-56-147q-5-59 15.5-113t63.5-93q85-79 222-79 145 0 277 84 83 52 132 123t56 148q4 48-10 97 4 1 12 5l110 66 690-387q14-8 31-8 16 0 29 7l128 64q30 16 35 51 3 36-25 56zm-681-260q46-42 21-108t-106-117q-92-59-192-59-74 0-113 36-46 42-21 108t106 117q92 59 192 59 74 0 113-36zm-85 745q81-51 106-117t-21-108q-39-36-113-36-100 0-192 59-81 51-106 117t21 108q39 36 113 36 100 0 192-59zm178-613l96 58v-11q0-36 33-56l14-8-79-47-26 26q-3 3-10 11t-12 12q-2 2-4 3.5t-3 2.5zm224 224l96 32 736-576-128-64-768 431v113l-160 96 9 8q2 2 7 6 4 4 11 12t11 12l26 26zm704 416l128-64-520-408-177 138q-2 3-13 7z"/> </svg>'},24268:function(e,t,i){"use strict";var n=i(29434),o=i(5266),r=i(49989),s=i.n(r);o.Config.prototype.spellcheck=!1,n.Icon.set("spellcheck",s()),o.Config.prototype.controls.spellcheck={isActive(e){return e.o.spellcheck},icon:s(),name:"spellcheck",command:"toggleSpellcheck",tooltip:"Spellcheck"}},24475:function(e,t,i){"use strict";i.d(t,{Storage:function(){return l},StorageKey:function(){return a}});var n=i(25045),o=i(57821),r=i(59807),s=i(9505);let a="Jodit_";class l{set(e,t){return this.provider.set((0,o.camelCase)(this.prefix+e),t),this}delete(e){return this.provider.delete((0,o.camelCase)(this.prefix+e)),this}get(e){return this.provider.get((0,o.camelCase)(this.prefix+e))}exists(e){return this.provider.exists((0,o.camelCase)(this.prefix+e))}clear(){return this.provider.clear(),this}static makeStorage(e=!1,t){let i;return"localStorage"===e||"sessionStorage"===e?(0,r.canUsePersistentStorage)(e)&&(i=new r.LocalStorageProvider(a+(t||""),e)):!0===e&&(0,r.canUsePersistentStorage)("localStorage")&&(i=new r.LocalStorageProvider(a+(t||""))),i||(i=new s.MemoryStorageProvider),new l(i,t)}constructor(e,t){(0,n._)(this,"provider",void 0),(0,n._)(this,"prefix",void 0),this.provider=e,this.prefix=a,t&&(this.prefix+=t)}}},24497:function(e,t,i){"use strict";i.d(t,{isJoditObject:function(){return o}});var n=i(91565);function o(e){return!!(e&&e instanceof Object&&(0,n.isFunction)(e.constructor)&&("u">typeof Jodit&&e instanceof Jodit||e.isJodit))}},24641:function(e,t,i){"use strict";i.d(t,{UICheckbox:function(){return l}});var n=i(25045),o=i(31635),r=i(84839),s=i(23211),a=i(65273);class l extends a.UIInput{className(){return"UICheckbox"}render(){return this.j.c.element("label",{className:this.componentName})}onChangeChecked(){this.value=this.state.checked.toString(),this.nativeInput.checked=this.state.checked,this.setMod("checked",this.state.checked)}onChangeNativeCheckBox(){this.state.checked=this.nativeInput.checked}onChangeSwitch(){this.setMod("switch",this.state.switch);let e=this.getElm("switch-slider");this.state.switch?(e||(e=this.j.c.div(this.getFullElName("switch-slider"))),s.Dom.after(this.nativeInput,e)):s.Dom.safeRemove(e)}constructor(e,t){super(e,{...t,type:"checkbox"}),(0,n._)(this,"state",{...l.defaultState}),Object.assign(this.state,t)}}(0,n._)(l,"defaultState",{...a.UIInput.defaultState,checked:!1,switch:!1}),(0,o.__decorate)([(0,r.watch)("state.checked"),(0,r.hook)("ready")],l.prototype,"onChangeChecked",null),(0,o.__decorate)([(0,r.watch)("nativeInput:change")],l.prototype,"onChangeNativeCheckBox",null),(0,o.__decorate)([(0,r.watch)("state.switch"),(0,r.hook)("ready")],l.prototype,"onChangeSwitch",null),l=(0,o.__decorate)([r.component],l)},24735:function(e,t,i){"use strict";i.d(t,{Async:function(){return f}});var n=i(25045),o=i(81937),r=i(61077),s=i(72068),a=i(91565),l=i(72412),c=i(62101),u=i(52100),d=i(85932),h=i(18303),p=i(28712),m=i(14228);class f{delay(e){return this.promise(t=>this.setTimeout(t,e))}setTimeout(e,t,...i){if(this.isDestructed)return 0;let n={};(0,h.isVoid)(t)&&(t=0),(0,l.isNumber)(t)||(t=(n=t).timeout||0),n.label&&this.clearLabel(n.label);let o=(0,r.setTimeout)(e,t,...i),s=n.label||o;return this.timers.set(s,o),this.__callbacks.set(s,e),o}updateTimeout(e,t){if((0,p.assert)(e&&this.timers.has(e),"Label does not exist"),!e||!this.timers.has(e))return null;let i=this.__callbacks.get(e);return(0,p.assert)((0,a.isFunction)(i),"Callback is not a function"),this.setTimeout(i,{label:e,timeout:t})}clearLabel(e){e&&this.timers.has(e)&&((0,r.clearTimeout)(this.timers.get(e)),this.timers.delete(e),this.__callbacks.delete(e))}clearTimeout(e){if((0,d.isString)(e))return this.clearLabel(e);(0,r.clearTimeout)(e),this.timers.delete(e),this.__callbacks.delete(e)}debounce(e,t,i=!1){let n=0,o=!1,l=[],d=(...t)=>{if(!o){n=0;let i=e(...t);if(o=!0,l.length){let e=()=>{l.forEach(e=>e()),l.length=0};(0,u.isPromise)(i)?i.finally(e):e()}}},h=(...s)=>{o=!1,t?(!n&&i&&d(...s),(0,r.clearTimeout)(n),n=this.setTimeout(()=>d(...s),(0,a.isFunction)(t)?t():t),this.timers.set(e,n)):d(...s)};return(0,c.isPlainObject)(t)&&t.promisify?(...e)=>{let t=this.promise(e=>{l.push(e)}).catch(e=>{if((0,s.isAbortError)(e))return null;throw e});return h(...e),t}:h}microDebounce(e,t=!1){let i,n=!1,o=!0;return(...r)=>{if(i=r,n){o=!0;return}o=!0,t&&(o=!1,e(...i)),n=!0,this.__queueMicrotaskNative(()=>{n=!1,!this.isDestructed&&o&&e(...i)})}}throttle(e,t,i=!1){let n=null,o,r,s;return(...i)=>{(o=!0,s=i,t)?n||(r=()=>{o?(e(...s),o=!1,n=this.setTimeout(r,(0,a.isFunction)(t)?t():t),this.timers.set(r,n)):n=null})():e(...s)}}promise(e){let t=()=>{},i=new Promise((i,n)=>{t=()=>n((0,m.abort)("Abort async")),this.promisesRejections.add(t),e(i,n)});return!i.finally&&"u">typeof process&&!o.IS_ES_NEXT&&(i.finally=e=>(i.then(e).catch(e),i)),i.finally(()=>{this.promisesRejections.delete(t)}).catch(()=>null),i.rejectCallback=t,i}promiseState(e){if(e.status)return e.status;if(!Promise.race)return new Promise(t=>{e.then(e=>(t("fulfilled"),e),e=>{throw t("rejected"),e}),this.setTimeout(()=>{t("pending")},100)});let t={};return Promise.race([e,t]).then(e=>e===t?"pending":"fulfilled",()=>"rejected")}requestIdleCallback(e,t={timeout:100}){let i=this.__requestIdleCallbackNative(e,t);return this.__requestsIdle.add(i),i}requestIdlePromise(e){return this.promise(t=>{let i=this.requestIdleCallback(()=>t(i),e)})}schedulerPostTask(e,t={delay:0,priority:"user-visible"}){let i=new AbortController;if(t.signal&&t.signal.addEventListener("abort",()=>i.abort()),this.__controllers.add(i),void 0!==globalThis.scheduler){let n=globalThis.scheduler.postTask(e,{...t,signal:i.signal});return n.finally(()=>{this.__controllers.delete(i)}).catch(()=>null),n}return this.promise((n,o)=>{let r=this.setTimeout(()=>{try{n(e())}catch(e){o(e)}this.__controllers.delete(i)},t.delay||1);i.signal.addEventListener("abort",()=>{this.clearTimeout(r),this.__controllers.delete(i),o((0,m.abort)())})})}schedulerYield(){return this.schedulerPostTask(()=>{},{priority:"user-visible"})}cancelIdleCallback(e){return this.__requestsIdle.delete(e),this.__cancelIdleCallbackNative(e)}requestAnimationFrame(e){let t=requestAnimationFrame(e);return this.__requestsRaf.add(t),t}cancelAnimationFrame(e){this.__requestsRaf.delete(e),cancelAnimationFrame(e)}clear(){this.__requestsIdle.forEach(e=>this.cancelIdleCallback(e)),this.__requestsRaf.forEach(e=>this.cancelAnimationFrame(e)),this.__controllers.forEach(e=>e.abort()),this.timers.forEach(e=>(0,r.clearTimeout)(this.timers.get(e))),this.timers.clear(),this.promisesRejections.forEach(e=>e()),this.promisesRejections.clear()}destruct(){this.clear(),this.isDestructed=!0}constructor(){var e,t,i,o,r,s;(0,n._)(this,"timers",new Map),(0,n._)(this,"__callbacks",new Map),(0,n._)(this,"__queueMicrotaskNative",null!=(e=null==(o=queueMicrotask)?void 0:o.bind(window))?e:Promise.resolve().then.bind(Promise.resolve())),(0,n._)(this,"promisesRejections",new Set),(0,n._)(this,"__requestsIdle",new Set),(0,n._)(this,"__controllers",new Set),(0,n._)(this,"__requestsRaf",new Set),(0,n._)(this,"__requestIdleCallbackNative",null!=(t=null==(r=window.requestIdleCallback)?void 0:r.bind(window))?t:(e,t)=>{var i;let n=Date.now();return this.setTimeout(()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-n))})},null!=(i=null==t?void 0:t.timeout)?i:1)}),(0,n._)(this,"__cancelIdleCallbackNative",null!=(i=null==(s=window.cancelIdleCallback)?void 0:s.bind(window))?i:e=>{this.clearTimeout(e)}),(0,n._)(this,"isDestructed",!1)}}},24772:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <path stroke-width="0" d="M22,20.6L3.4,2H8V0H0v8h2V3.4L20.6,22H16v2h8v-8h-2V20.6z M16,0v2h4.7l-6.3,6.3l1.4,1.4L22,3.5V8h2V0H16z M8.3,14.3L2,20.6V16H0v8h8v-2H3.5l6.3-6.3L8.3,14.3z"/> </svg>'},24968:function(e,t,i){"use strict";i.d(t,{derive:function(){return o}});var n=i(91565);function o(...e){return t=>{let i=t.prototype;for(let t=0;t<e.length;t++){let o=e[t],r=Object.getOwnPropertyNames(o.prototype);for(let e=0;e<r.length;e++){let t=r[e],s=Object.getOwnPropertyDescriptor(o.prototype,t);null!=s&&(0,n.isFunction)(s.value)&&!(0,n.isFunction)(i[t])&&Object.defineProperty(i,t,{enumerable:!0,configurable:!0,writable:!0,value:function(...e){return s.value.call(this,...e)}})}}}}},25045:function(e,t,i){"use strict";function n(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}i.d(t,{_:function(){return n}})},25090:function(e){e.exports.default=["Ecrivez ici","A propos de Jodit","Editeur Jodit","Guide de l'utilisateur","Aide d\xe9taill\xe9e \xe0 l'utilisation","Consulter la licence sur notre site web:","Acheter la version compl\xe8te","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Tous droits r\xe9serv\xe9s.","Ancre","Ouvrir dans un nouvel onglet","Ouvrir l'\xe9diteur en pleine page","Supprimer le formattage","Modifier la couleur du fond ou du texte","Refaire","D\xe9faire","Gras","Italique","Liste non ordonn\xe9e","Liste ordonn\xe9e","Centrer","Justifier","Aligner \xe0 gauche ","Aligner \xe0 droite","Ins\xe9rer une ligne horizontale","Ins\xe9rer une image","Ins\xe9rer un fichier","Ins\xe9rer une vid\xe9o","Ins\xe9rer un lien","Taille des caract\xe8res","Famille des caract\xe8res","Bloc formatt\xe9","Normal","Titre 1","Titre 2","Titre 3","Titre 4","Citation","Code","Ins\xe9rer","Ins\xe9rer un tableau","Diminuer le retrait","Retrait plus","S\xe9lectionnez un caract\xe8re sp\xe9cial","Ins\xe9rer un caract\xe8re sp\xe9cial","Cloner le format","Mode wysiwyg <-> code html","Marges","haut","droite","Bas","gauche","Styles","Classes","Alignement","Droite","Centre","Gauche","--Non disponible--","Source","Titre","Alternative","Lien","Ouvrir le lien dans un nouvel onglet","Image","fichier","Avanc\xe9","Propri\xe9t\xe9s de l'image","Annuler","OK","Explorateur de fichiers","Erreur de liste de chargement","Erreur de dossier de chargement","Etes-vous s\xfbrs ?","Entrer le nom de dossier","Cr\xe9er un dossier","type de fichier","Coller une image","D\xe9poser un fichier","ou cliquer","Texte de remplacemement","Charger","Chercher","Arri\xe8re-plan","Texte","Haut","Milieu","Bas","Ins\xe9rer une colonne avant","Ins\xe9rer une colonne apr\xe8s","Ins\xe9rer une ligne au dessus","Ins\xe9rer une ligne en dessous","Supprimer le tableau","Supprimer la ligne","Supprimer la colonne","Vider la cellule","Symboles: %d","Mots: %d","Barrer","Souligner","exposant","indice","Couper la s\xe9lection","Tout s\xe9lectionner","Pause","Rechercher","Remplacer par","Remplacer","Coller","Choisissez le contenu \xe0 coller","la source","gras","italique","pinceau","lien","annuler","refaire","tableau","image","gomme","clause","taille de police","Video","police","\xe0 propos de l'\xe9diteur","impression","soulign\xe9","barr\xe9","indentation","retrait","taille r\xe9elle","taille conventionnelle","la ligne","Liste","Liste num\xe9rot\xe9e","Couper","S\xe9lectionner tout","Code d'int\xe9gration","Ouvrir le lien","Modifier le lien","Attribut Nofollow","Supprimer le lien","Mettre \xe0 jour","Pour \xe9diter","Voir","URL","Modifier","Alignement horizontal","Filtre","Trier par modification","Trier par nom","Trier par taille","Cr\xe9er le dossier","Restaurer","Sauvegarder","Enregistrer sous","Changer la taille","Taille de garniture","Largeur","Hauteur","Garder les proportions","Oui","Non","Supprimer","Mettre en \xe9vidence","Mettre en \xe9vidence: %s","Alignement vertical","Split","aller","Ajouter une colonne","Ajouter une rang\xe9e","Licence: %s","Effacer","Split vertical","Split horizontal","Bordure","Votre texte que vous essayez de coller est similaire au HTML. Collez-le en HTML?","Coller en HTML?","Sauvegarder l'original","Coller en tant que texte","Coller le texte seulement","Vous ne pouvez \xe9diter que vos propres images. T\xe9l\xe9chargez cette image sur l'h\xf4te?","L'image a \xe9t\xe9 t\xe9l\xe9charg\xe9e avec succ\xe8s sur le serveur!","Palette","Il n'y a aucun fichier dans ce r\xe9pertoire.","renommer","Entrez un nouveau nom","Aper\xe7u","T\xe9l\xe9charger","Coller \xe0 partir du presse-papiers","Votre navigateur ne prend pas en charge l'acc\xe8s direct au presse-papiers.","Copier la s\xe9lection","copie","Rayon des bordures","Afficher tous","Appliquer","Veuillez remplir ce champ","Veuillez entrer une adresse web","Par d\xe9faut","Cercle","Point","Quadratique","Trouver","Pr\xe9c\xe9dent","Suivant","Le contenu que vous ins\xe9rez provient d'un document Microsoft Word / Excel. Voulez-vous enregistrer le format ou l'effacer?","C'est peut-\xeatre un fragment de Word ou Excel","Nettoyer","Ins\xe9rer un nom de classe","Appuyez sur Alt pour un redimensionnement personnalis\xe9",null,null,null,"Tout s\xe9lectionner"]},25182:function(e){e.exports.default=["输入一些内容","关于Jodit","Jodit Editor","开发者指南","使用帮助","有关许可证的信息,请访问我们的网站:","购买完整版本","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. 版权所有","Anchor","在新窗口打开","全屏编辑","清除样式","颜色","重做","撤销","粗体","斜体","符号列表","编号","居中","对齐文本","左对齐","右对齐","分割线","图片","文件","视频","链接","字号","字体","格式块","默认","标题1","标题2","标题3","标题4","引用","代码","插入","表格","减少缩进","增加缩进","选择特殊符号","特殊符号","格式复制","改变模式","外边距(Margins)","top","right","bottom","left","样式","Classes","对齐方式","居右","居中","居左","无","Src","Title","Alternative","Link","在新窗口打开链接","图片","file","高级","图片属性","取消","确定","文件管理","加载list错误","加载folders错误","你确定吗?","输入路径","创建路径","type name","拖动图片到此","拖动文件到此","或点击","Alternative text","上传","浏览","背景色","文字","顶部","中间","底部","在之前插入列","在之后插入列","在之前插入行","在之后插入行","删除表格","删除行","删除列","清除内容","字符数: %d","单词数: %d","删除线","下划线","上标","下标","剪切","全选","Break","查找","替换为","替换","粘贴","选择内容并粘贴","源码","粗体","斜体","颜色","链接","撤销","重做","表格","图片","橡皮擦","段落","字号","视频","字体","关于","打印","下划线","上出现","增加缩进","减少缩进","全屏","收缩","分割线","无序列表","顺序列表","剪切","全选","嵌入代码","打开链接","编辑链接","No follow","取消链接","更新","铅笔","预览","URL","编辑","水平对齐","筛选","修改时间排序","名称排序","大小排序","新建文件夹","重置","保存","保存为","调整大小","剪切","宽","高","保持长宽比","是","不","移除","选择","选择: %s","垂直对齐","拆分","合并","添加列","添加行","许可证: %s","删除","垂直拆分","水平拆分","边框","你粘贴的文本是一段html代码,是否保留源格式","html粘贴","保留源格式","把html代码视为普通文本","只保留文本","你只能编辑你自己的图片。Download this image on the host?","图片上传成功","调色板","此目录中沒有文件。","重命名","输入新名称","预览","下载","粘贴从剪贴板","你浏览器不支持直接访问的剪贴板。","复制选中内容","复制","边界半径","显示所有","应用","请填写这个字段","请输入一个网址","默认","圆圈","点","方形","搜索","查找上一个","查找下一个","正在粘贴 Word/Excel 的文本,是否保留源格式?","文本粘贴","匹配目标格式","插入班级名称","按Alt自定义调整大小",null,null,null,"全部"]},25222:function(e,t,i){"use strict";i.d(t,{AsyncStorage:function(){return n.AsyncStorage},IndexedDBProvider:function(){return o.IndexedDBProvider},LocalStorageProvider:function(){return r.LocalStorageProvider},MemoryStorageProvider:function(){return s.MemoryStorageProvider},Storage:function(){return a.Storage},StorageKey:function(){return a.StorageKey},canUseIndexedDB:function(){return o.canUseIndexedDB},canUsePersistentStorage:function(){return r.canUsePersistentStorage},clearUseIndexedDBCache:function(){return o.clearUseIndexedDBCache}});var n=i(8006),o=i(91162),r=i(59807),s=i(9505),a=i(24475)},25501:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1744 1408q33 0 42 18.5t-11 44.5l-126 162q-20 26-49 26t-49-26l-126-162q-20-26-11-44.5t42-18.5h80v-1024h-80q-33 0-42-18.5t11-44.5l126-162q20-26 49-26t49 26l126 162q20 26 11 44.5t-42 18.5h-80v1024h80zm-1663-1279l54 27q12 5 211 5 44 0 132-2t132-2q36 0 107.5.5t107.5.5h293q6 0 21 .5t20.5 0 16-3 17.5-9 15-17.5l42-1q4 0 14 .5t14 .5q2 112 2 336 0 80-5 109-39 14-68 18-25-44-54-128-3-9-11-48t-14.5-73.5-7.5-35.5q-6-8-12-12.5t-15.5-6-13-2.5-18-.5-16.5.5q-17 0-66.5-.5t-74.5-.5-64 2-71 6q-9 81-8 136 0 94 2 388t2 455q0 16-2.5 71.5t0 91.5 12.5 69q40 21 124 42.5t120 37.5q5 40 5 50 0 14-3 29l-34 1q-76 2-218-8t-207-10q-50 0-151 9t-152 9q-3-51-3-52v-9q17-27 61.5-43t98.5-29 78-27q19-42 19-383 0-101-3-303t-3-303v-117q0-2 .5-15.5t.5-25-1-25.5-3-24-5-14q-11-12-162-12-33 0-93 12t-80 26q-19 13-34 72.5t-31.5 111-42.5 53.5q-42-26-56-44v-383z"/> </svg>'},25974:function(e,t,i){"use strict";i.d(t,{makeInstance:function(){return r}});var n=i(81937),o=i(91565);function r(e,t){try{try{return(0,o.isFunction)(t)?new t(e):t}catch(i){if((0,o.isFunction)(t)&&!t.prototype)return t(e)}}catch(e){if(!n.IS_PROD)throw e}return null}},26106:function(e,t,i){"use strict";i.d(t,{checkJoinNeighbors:function(){return s}});var n=i(81937),o=i(23211),r=i(15200);function s(e,t,i){let r=t,s=r;for(;r&&!o.Dom.findNotEmptySibling(r,i)&&r.parentElement!==e.editor;)s=r=r.parentElement;if(o.Dom.isElement(s)&&o.Dom.isContentEditable(s,e.editor)){var l,c;let r,u,d,h=o.Dom.findNotEmptySibling(s,i);if(h&&(l=s,c=h,r=o.Dom.isTag(c,n.LIST_TAGS),u=o.Dom.isTag(l,n.LIST_TAGS),d=(e,t)=>t?e.firstElementChild:e.lastElementChild,(u?(c=e.createInside.element(e.o.enterBlock),o.Dom.before(l,c),a(e,d(l,i),c,i)):!!c&&!!r&&!u&&a(e,l,d(c,!i),i))||a(e,s,h,i)))return e.s.setCursorBefore(t),!0}return!1}function a(e,t,i,n){if(t&&o.Dom.isElement(i)){o.Dom.moveContent(t,i,!n,(0,r.getMoveFilter)(e));let s=t;for(;s&&s!==e.editor&&o.Dom.isEmpty(s);){let e=s.parentElement;o.Dom.safeRemove(s),s=e}return!0}return!1}},26136:function(e,t,i){"use strict";i.d(t,{browser:function(){return n}});let n=e=>{let t=navigator.userAgent.toLowerCase(),i=/(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?i[2]:"webkit"===e?"chrome"===i[1]||"webkit"===i[1]:"ff"===e?"firefox"===i[1]:"msie"===e?"trident"===i[1]||"msie"===i[1]:i[1]===e}},26633:function(e,t,i){"use strict";i.d(t,{readAlign:function(){return o}});var n=i(80991);function o(e,t){e.style.cssFloat&&-1!==["left","right"].indexOf(e.style.cssFloat.toLowerCase())?t.align=(0,n.css)(e,"float"):"block"===(0,n.css)(e,"display")&&"auto"===e.style.marginLeft&&"auto"===e.style.marginRight?t.align="center":t.align=""}},27137:function(e,t,i){"use strict";i.d(t,{UIImagePropertiesForm:function(){return p}});var n=i(25045),o=i(31635),r=i(84839),s=i(91672),a=i(65946),l=i(63468),c=i(29434),u=i(15753),d=i(29596),h=i(17306);class p extends l.UIGroup{className(){return"UIImagePropertiesForm"}appendChildToContainer(){}getElm(e){let t=super.getElm(e);if(t)return t;for(let t of this.elements){let i=t.getElm(e);if(i)return i}return null}render(){return`<form>
135
135
  <div class="jodit-grid jodit-grid_xs-column">
136
136
  <div class="jodit_col-lg-2-5 jodit_col-xs-5-5">
137
137
  <div class="&__view-box">
@@ -198,7 +198,7 @@
198
198
  <button data-ref="replace-btn" tabindex="0" type="button" class="jodit-ui-button">~Replace~</button>
199
199
  </div>
200
200
  </div>
201
- </div>`}get currentIndex(){return this._currentIndex}set currentIndex(e){this._currentIndex=e,this.currentBox.innerText=e.toString()}set count(e){this.countBox.innerText=e.toString()}get query(){return this.queryInput.value}get replace(){return this.replaceInput.value}onEditorKeyDown(e){if(!this.isOpened)return;let{j:t}=this;if(t.getRealMode()===r.MODE_WYSIWYG)switch(e.key){case r.KEY_ESC:this.close();break;case r.KEY_F3:this.queryInput.value&&(t.e.fire(e.shiftKey?"searchPrevious":"searchNext"),e.preventDefault())}}open(e,t,i=!1){this.isOpened||(this.j.workplace.appendChild(this.container),this.isOpened=!0),this.calcSticky(this.j.e.fire("getStickyState.sticky")||!1),this.j.e.fire("hidePopup"),this.setMod("replace",i);let n=null!=e?e:(this.j.s.sel||"").toString();n&&(this.queryInput.value=n),t&&(this.replaceInput.value=t),this.setMod("empty-query",!n.length),this.j.e.fire(this,"needUpdateCounters"),n?this.queryInput.select():this.queryInput.focus()}close(){this.isOpened&&(this.j.s.restore(),a.Dom.safeRemove(this.container),this.isOpened=!1,this.j.e.fire(this,"afterClose"))}calcSticky(e){if(this.isOpened)if(this.setMod("sticky",e),e){let e=(0,l.position)(this.j.toolbarContainer);(0,l.css)(this.container,{top:e.top+e.height,left:e.left+e.width})}else(0,l.css)(this.container,{top:null,left:null})}constructor(e){super(e),(0,n._)(this,"queryInput",void 0),(0,n._)(this,"replaceInput",void 0),(0,n._)(this,"selInfo",null),(0,n._)(this,"closeButton",void 0),(0,n._)(this,"replaceButton",void 0),(0,n._)(this,"currentBox",void 0),(0,n._)(this,"countBox",void 0),(0,n._)(this,"_currentIndex",0),(0,n._)(this,"isOpened",!1);const{query:t,replace:i,cancel:o,next:s,prev:a,replaceBtn:c,current:u,count:d}=(0,l.refs)(this.container);this.queryInput=t,this.replaceInput=i,this.closeButton=o,this.replaceButton=c,this.currentBox=u,this.countBox=d,e.e.on(this.closeButton,"pointerdown",()=>(this.close(),!1)).on(this.queryInput,"input",()=>{this.currentIndex=0}).on(this.queryInput,"pointerdown",()=>{e.s.isFocused()&&(e.s.removeMarkers(),this.selInfo=e.s.save())}).on(this.replaceButton,"pointerdown",()=>(e.e.fire(this,"pressReplaceButton"),!1)).on(s,"pointerdown",()=>(e.e.fire("searchNext"),!1)).on(a,"pointerdown",()=>(e.e.fire("searchPrevious"),!1)).on(this.queryInput,"input",()=>{this.setMod("empty-query",!(0,l.trim)(this.queryInput.value).length)}).on(this.queryInput,"keydown",this.j.async.debounce(async t=>{t.key===r.KEY_ENTER?(t.preventDefault(),t.stopImmediatePropagation(),await e.e.fire("searchNext")&&this.close()):e.e.fire(this,"needUpdateCounters")},this.j.defaultTimeout))}}(0,o.__decorate)([(0,s.watch)([":keydown","queryInput:keydown"])],u.prototype,"onEditorKeyDown",null),(0,o.__decorate)([s.autobind],u.prototype,"open",null),(0,o.__decorate)([s.autobind],u.prototype,"close",null),(0,o.__decorate)([(0,s.watch)(":toggleSticky")],u.prototype,"calcSticky",null),u=(0,o.__decorate)([s.component],u)},58354:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(23211),a=i(28077),l=i(65946),c=i(91206);i(87908);var u=i(5070);class d extends c.Plugin{afterInit(e){(0,l.css)(e.editor,{lineHeight:e.o.defaultLineHeight}),e.registerCommand("applyLineHeight",this.applyLineHeight)}applyLineHeight(e,t,i){let n,{s:o,createInside:r,editor:a,o:c}=this.j;o.isFocused()||o.focus(),o.save();let u=e=>{let t=s.Dom.closest(e,s.Dom.isBlock,a);t||(t=s.Dom.wrap(e,c.enter,r));let o=(0,l.css)(t,"lineHeight");void 0===n&&(n=o.toString()!==i.toString()),(0,l.css)(t,"lineHeight",n?i:null)};try{if(o.isCollapsed()){let e=r.fake();o.insertNode(e,!1,!1),u(e),s.Dom.safeRemove(e)}else o.eachSelection(u)}finally{o.restore()}}beforeDestruct(e){(0,l.css)(e.editor,{lineHeight:null})}constructor(e){super(e),(0,n._)(this,"buttons",[{name:"lineHeight",group:"font"}]),(0,a.extendLang)(u)}}(0,o.__decorate)([r.autobind],d.prototype,"applyLineHeight",null),a.pluginSystem.add("lineHeight",d)},58446:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 1184q0 13-10 23l-50 50q-10 10-23 10t-23-10l-393-393-393 393q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l466 466q10 10 10 23z"/> </svg>'},58585:function(e){e.exports={symbols:"符号"}},58664:function(e,t,i){"use strict";i.d(t,{FileBrowserItem:function(){return r}});var n=i(25045),o=i(65946);class r{static create(e){return e instanceof r?e:new r(e)}get path(){return(0,o.normalizePath)(this.data.source.path?this.data.source.path+"/":"/")}get imageURL(){let e=this.time||new Date().getTime().toString(),{thumbIsAbsolute:t,source:i,thumb:n,file:r}=this.data,s=n||r;return t&&s?s:(0,o.normalizeUrl)(i.baseurl,i.path,s||"")+"?_tmst="+encodeURIComponent(e)}get fileURL(){let{name:e}=this.data,{file:t,fileIsAbsolute:i,source:n}=this.data;return void 0!==t&&(e=t),i&&e?e:(0,o.normalizeUrl)(n.baseurl,n.path,e||"")}get time(){let{changed:e}=this.data;return e&&("number"==typeof e?new Date(e).toLocaleString():e)||""}get uniqueHashKey(){let e=this.data;return[e.sourceName,e.name,e.file,this.time,e.thumb].join("_").toLowerCase().replace(/[^0-9a-z\-.]/g,"-")}toJSON(){return this.data}constructor(e){(0,n._)(this,"data",void 0),(0,n._)(this,"source",void 0),(0,n._)(this,"sourceName",void 0),(0,n._)(this,"type",void 0),this.data=e,Object.keys(e).forEach(t=>{this[t]=e[t]})}}},58881:function(e,t,i){"use strict";i.d(t,{checkRemoveChar:function(){return function e(t,i,s,l){var c,u,d,h;let p,m=s?-1:1,f=o.Dom.sibling(i,!s),g=o.Dom.sibling(i,s),v=null,_=!1;for(g||(g=a(i,s,t.editor));g&&(o.Dom.isText(g)||o.Dom.isInlineBlock(g));){for(;o.Dom.isInlineBlock(g);)g=s?null==g?void 0:g.lastChild:null==g?void 0:g.firstChild;if(!g)break;if((null==(c=g.nodeValue)?void 0:c.length)&&(p=function(e,t,i,s){let a=(0,r.toArray)(e.nodeValue),l=a.length,c=t?l-1:0;if(a[c]===n.INVISIBLE_SPACE)for(;a[c]===n.INVISIBLE_SPACE;)c+=i;let u=a[c];if(a[c+i]===n.INVISIBLE_SPACE){for(c+=i;a[c]===n.INVISIBLE_SPACE;)c+=i;c+=t?1:-1}return a=t&&c<0?[]:a.slice(t?0:c+1,t?c:l),function(e,t,i){var s;if(!e||!o.Dom.isText(e)||(!t?/ $/:/^ /).test(null!=(s=e.nodeValue)?s:"")||!(0,r.trimInv)(e.nodeValue||"").length)for(let e=t?i.length-1:0;t?e>=0:e<i.length;e+=t?-1:1)if(" "===i[e])i[e]=n.NBSP_SPACE;else break}(s,t,a),e.nodeValue=a.join(""),u}(g,s,m,f),!g.nodeValue.length&&o.Dom.isInlineBlock(g.parentNode)&&(g.nodeValue=n.INVISIBLE_SPACE)),(null==(u=g.nodeValue)?void 0:u.length)||(v=g),!(0,r.isVoid)(p)&&p!==n.INVISIBLE_SPACE){d=g,h=p,(0,r.call)(s?o.Dom.after:o.Dom.before,d,i),("sentence"===l||"word"===l&&" "!==h&&h!==n.NBSP_SPACE)&&e(t,i,s,l),_=!0;break}let b=a(g,s,t.editor);v&&(o.Dom.safeRemove(v),v=null),g=b}return v&&(o.Dom.safeRemove(v),v=null),_&&(function(e){let t=e.parentElement;for(;t&&o.Dom.isInlineBlock(t)&&o.Dom.isTag(t,"a");){let i=t.parentElement;o.Dom.isEmpty(t)&&(o.Dom.after(t,e),o.Dom.safeRemove(t)),t=i}}(i),i.parentElement!==t.editor&&o.Dom.isBlock(i.parentElement)&&o.Dom.each(i.parentElement,o.Dom.isEmptyTextNode)&&o.Dom.after(i,t.createInside.element("br")),t.s.setCursorBefore(i),o.Dom.isTag(i.previousSibling,"br")&&!o.Dom.findNotEmptySibling(i,!1)&&o.Dom.after(i,t.createInside.element("br"))),_}}});var n=i(81937),o=i(27795),r=i(65946),s=i(15200);function a(e,t,i){let n=o.Dom.sibling(e,t);return!n&&e.parentNode&&e.parentNode!==i&&(n=(0,s.findMostNestedNeighbor)(e,!t,i,!0)),n}},58910:function(e,t,i){"use strict";var n=i(25045),o=i(23211),r=i(28077),s=i(71125),a=i(91206),l=i(29434),c=i(5266),u=i(93267),d=i.n(u);c.Config.prototype.controls.classSpan={command:"applyClassName",exec:s.memorizeExec,list:["enabled","disabled","activated","text-left","text-center","text-right","warning","error"],isChildActive:(e,t)=>{let i=e.s.current();if(i){let n=o.Dom.closest(i,o.Dom.isElement,e.editor)||e.editor;return!!(t.control.args&&n.classList.contains(t.control.args[0].toString()))}return!1},isActive:(e,t)=>{let i=e.s.current();if(i){let n=o.Dom.closest(i,o.Dom.isElement,e.editor)||e.editor,r=!1;return t.control.list&&Object.keys(t.control.list).forEach(e=>{n.classList.contains(e)&&(r=!0)}),!!(n&&n!==e.editor&&void 0!==t.control.list&&r)}return!1},childTemplate:(e,t,i)=>`<span class="${t}">${e.i18n(i)}</span>`,tooltip:"Insert className"};class h extends a.Plugin{afterInit(e){e.registerCommand("applyClassName",(t,i,n)=>(e.s.commitStyle({attributes:{class:n}}),!1))}beforeDestruct(){}constructor(...e){super(...e),(0,n._)(this,"buttons",[{name:"classSpan",group:"script"}])}}r.pluginSystem.add("classSpan",h),l.Icon.set("class-span",d())},59276:function(e,t,i){"use strict";i.d(t,{SentenceFinder:function(){return r}});var n=i(25045),o=i(57626);class r{add(e){var t;let i=(null!=(t=e.nodeValue)?t:"").toLowerCase();if(!i.length)return;let n=this.value.length;this.queue.push({startIndex:n,endIndex:n+i.length,node:e}),this.value+=i}ranges(e,t=0){let i=[],n=t,o=0,r=0;do if([n,o]=this.searchIndex(e,this.value,n),-1!==n){let e,t=0,s,a=0;for(let i=r;i<this.queue.length;i+=1)if(!e&&this.queue[i].endIndex>n&&(e=this.queue[i].node,t=n-this.queue[i].startIndex),e&&this.queue[i].endIndex>=n+o){s=this.queue[i].node,a=n+o-this.queue[i].startIndex,r=i;break}e&&s&&i.push({startContainer:e,startOffset:t,endContainer:s,endOffset:a}),n+=o}while(-1!==n);return 0===i.length?null:i}constructor(e=o.fuzzySearchIndex){(0,n._)(this,"searchIndex",void 0),(0,n._)(this,"queue",void 0),(0,n._)(this,"value",void 0),this.searchIndex=e,this.queue=[],this.value=""}}},59399:function(e,t){"use strict";t.default=["bold","italic","|","ul","ol","eraser","|","fontsize","brush","paragraph","---","image","table","\n","link","|","align","|","undo","redo","|","copyformat","fullsize","---","dots"]},59400:function(e,t,i){"use strict";i.d(t,{Button:function(){return n.Button},UIButton:function(){return n.UIButton},UIButtonGroup:function(){return o.UIButtonGroup},UIButtonState:function(){return n.UIButtonState},UITooltip:function(){return r.UITooltip}});var n=i(53681),o=i(15367),r=i(95399)},59488:function(e){e.exports={symbols:"Symbol"}},59609:function(e,t,i){"use strict";i.d(t,{ViewComponent:function(){return r}});var n=i(25045),o=i(80251);class r extends o.Component{get j(){return this.jodit}get defaultTimeout(){return this.j.defaultTimeout}i18n(e,...t){return this.j.i18n(e,...t)}setParentView(e){return this.jodit=e,e.components.add(this),this}destruct(){return this.j.components.delete(this),super.destruct()}constructor(e){super(),(0,n._)(this,"jodit",void 0),this.setParentView(e)}}},59758:function(e,t,i){"use strict";var n=i(25045),o=i(81937),r=i(28077),s=i(18855),a=i(29434),l=i(5266),c=i(34045),u=i.n(c),d=i(39199),h=i.n(d);a.Icon.set("redo",u()).set("undo",h()),l.Config.prototype.controls.redo={mode:o.MODE_SPLIT,isDisabled:e=>!e.history.canRedo(),tooltip:"Redo"},l.Config.prototype.controls.undo={mode:o.MODE_SPLIT,isDisabled:e=>!e.history.canUndo(),tooltip:"Undo"};class p extends s.Plugin{beforeDestruct(){}afterInit(e){let t=t=>(e.history[t](),!1);e.registerCommand("redo",{exec:t,hotkeys:["ctrl+y","ctrl+shift+z","cmd+y","cmd+shift+z"]}),e.registerCommand("undo",{exec:t,hotkeys:["ctrl+z","cmd+z"]})}constructor(...e){super(...e),(0,n._)(this,"buttons",[{name:"undo",group:"history"},{name:"redo",group:"history"}])}}r.pluginSystem.add("redoUndo",p)},59807:function(e,t,i){"use strict";i.d(t,{LocalStorageProvider:function(){return r},canUsePersistentStorage:function(){return o}});var n=i(25045);let o=(e="localStorage")=>{let t=new Map;if(t.has(e))return t.get(e);let i="___Jodit___"+Math.random().toString(),n="sessionStorage"===e?sessionStorage:localStorage;try{n.setItem(i,"1");let o="1"===n.getItem(i);return n.removeItem(i),t.set(e,o),o}catch(e){}return t.set(e,!1),!1};class r{get storage(){return"sessionStorage"===this.strategy?sessionStorage:localStorage}set(e,t){try{let i=this.storage.getItem(this.rootKey),n=i?JSON.parse(i):{};n[e]=t,this.storage.setItem(this.rootKey,JSON.stringify(n))}catch(e){}return this}delete(e){try{this.storage.removeItem(this.rootKey)}catch(e){}return this}get(e){try{let t=this.storage.getItem(this.rootKey),i=t?JSON.parse(t):{};return void 0!==i[e]?i[e]:void 0}catch(e){}}exists(e){return null!=this.get(e)}clear(){try{this.storage.removeItem(this.rootKey)}catch(e){}return this}constructor(e,t="localStorage"){(0,n._)(this,"rootKey",void 0),(0,n._)(this,"strategy",void 0),this.rootKey=e,this.strategy=t}}},59827:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M448 1536h896v-256h-896v256zm0-640h896v-384h-160q-40 0-68-28t-28-68v-160h-640v640zm1152 64q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128 0v416q0 13-9.5 22.5t-22.5 9.5h-224v160q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-160h-224q-13 0-22.5-9.5t-9.5-22.5v-416q0-79 56.5-135.5t135.5-56.5h64v-544q0-40 28-68t68-28h672q40 0 88 20t76 48l152 152q28 28 48 76t20 88v256h64q79 0 135.5 56.5t56.5 135.5z"/> </svg>'},59841:function(e,t,i){"use strict";i.d(t,{CommitStyle:function(){return o.CommitStyle},Selection:function(){return n.Selection}});var n=i(98595),o=i(84578)},59903:function(e){e.exports={Spellcheck:"Oikeinkirjoituksen tarkistus"}},59985:function(e){e.exports={Spellcheck:"Helyes\xedr\xe1s-ellenőrz\xe9s"}},60162:function(e,t,i){"use strict";var n=i(36400),o=i(29434),r=i(5266),s=i(40037),a=i.n(s),l=i(83207),c=i.n(l);let u=(e,t,{control:i})=>{var o;let r=`button${i.command}`,s=null!=(o=i.args&&i.args[0])?o:(0,n.dataBind)(e,r);(0,n.dataBind)(e,r,s),e.execCommand(i.command,!1,"default"===s?null:s)};o.Icon.set("ol",a()).set("ul",c()),r.Config.prototype.controls.ul={command:"insertUnorderedList",tags:["ul"],tooltip:"Insert Unordered List",list:{default:"Default",circle:"Circle",disc:"Dot",square:"Quadrate"},exec:u},r.Config.prototype.controls.ol={command:"insertOrderedList",tags:["ol"],tooltip:"Insert Ordered List",list:{default:"Default","lower-alpha":"Lower Alpha","lower-greek":"Lower Greek","lower-roman":"Lower Roman","upper-alpha":"Upper Alpha","upper-roman":"Upper Roman"},exec:u}},60216:function(e,t,i){"use strict";i.d(t,{Eventify:function(){return o}});var n=i(25045);class o{on(e,t){var i;return this.__map.has(e)||this.__map.set(e,new Set),null==(i=this.__map.get(e))||i.add(t),this}off(e,t){if(this.__map.has(e)){var i;null==(i=this.__map.get(e))||i.delete(t)}return this}destruct(){this.__map.clear()}emit(e,...t){let i;if(this.__map.has(e)){var n;null==(n=this.__map.get(e))||n.forEach(e=>{i=e(...t)})}return i}constructor(){(0,n._)(this,"__map",new Map)}}},60636:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-896q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h896q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-640q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h640q26 0 45 19t19 45z"/> </svg>'},60898:function(e,t,i){"use strict";i.d(t,{inView:function(){return o},scrollIntoViewIfNeeded:function(){return r}});var n=i(23211);function o(e,t,i){let n=e.getBoundingClientRect(),o=e,r=n.top,s=n.height;for(;o&&o!==t&&o.parentNode;)if(!(r<=(n=(o=o.parentNode).getBoundingClientRect()).bottom)||r+s<=n.top)return!1;return r<=(i.documentElement&&i.documentElement.clientHeight||0)}function r(e,t,i){n.Dom.isHTMLElement(e)&&!o(e,t,i)&&(t.clientHeight!==t.scrollHeight&&(t.scrollTop=e.offsetTop),o(e,t,i)||e.scrollIntoView())}},60936:function(e,t,i){"use strict";i.r(t),i.d(t,{Ajax:function(){return p.Ajax},Alert:function(){return s.Alert},Async:function(){return l.Async},AsyncStorage:function(){return D.AsyncStorage},Button:function(){return m.Button},CommitStyle:function(){return x.CommitStyle},Component:function(){return n.Component},Confirm:function(){return s.Confirm},ContextMenu:function(){return r.ContextMenu},Create:function(){return c.Create},Dialog:function(){return s.Dialog},Dom:function(){return u.Dom},EventEmitter:function(){return d.EventEmitter},EventHandlersStore:function(){return d.EventHandlersStore},Eventify:function(){return d.Eventify},FileBrowser:function(){return a.FileBrowser},Helpers:function(){return o},History:function(){return v.History},Icon:function(){return m.Icon},ImageEditor:function(){return b.ImageEditor},IndexedDBProvider:function(){return D.IndexedDBProvider},LazyWalker:function(){return u.LazyWalker},LocalStorageProvider:function(){return D.LocalStorageProvider},MemoryStorageProvider:function(){return D.MemoryStorageProvider},Plugin:function(){return h.Plugin},PluginSystem:function(){return T.PluginSystem},Popup:function(){return m.Popup},ProgressBar:function(){return m.ProgressBar},Prompt:function(){return s.Prompt},Response:function(){return p.Response},STATUSES:function(){return n.STATUSES},Selection:function(){return x.Selection},Snapshot:function(){return _.Snapshot},StatusBar:function(){return S.StatusBar},Storage:function(){return D.Storage},StorageKey:function(){return D.StorageKey},Table:function(){return w.Table},ToolbarButton:function(){return C.ToolbarButton},ToolbarCollection:function(){return k.ToolbarCollection},ToolbarContent:function(){return C.ToolbarContent},ToolbarEditorCollection:function(){return E.ToolbarEditorCollection},ToolbarSelect:function(){return C.ToolbarSelect},UIBlock:function(){return m.UIBlock},UIButton:function(){return m.UIButton},UIButtonGroup:function(){return m.UIButtonGroup},UIButtonState:function(){return m.UIButtonState},UICheckbox:function(){return m.UICheckbox},UIElement:function(){return m.UIElement},UIFileInput:function(){return m.UIFileInput},UIForm:function(){return m.UIForm},UIGroup:function(){return m.UIGroup},UIInput:function(){return m.UIInput},UIList:function(){return m.UIList},UIMessages:function(){return y.UIMessages},UISelect:function(){return m.UISelect},UISeparator:function(){return m.UISeparator},UISpacer:function(){return m.UISpacer},UITextArea:function(){return m.UITextArea},UITooltip:function(){return m.UITooltip},Uploader:function(){return I.Uploader},View:function(){return f.View},ViewComponent:function(){return n.ViewComponent},ViewWithToolbar:function(){return g.ViewWithToolbar},canUseIndexedDB:function(){return D.canUseIndexedDB},canUsePersistentStorage:function(){return D.canUsePersistentStorage},clearUseIndexedDBCache:function(){return D.clearUseIndexedDBCache},defaultNameSpace:function(){return d.defaultNameSpace},observable:function(){return d.observable}});var n=i(16964),o=i(65946),r=i(67399),s=i(37333),a=i(17610),l=i(91231),c=i(79821),u=i(27795),d=i(1496),h=i(91206),p=i(73714),m=i(4099),f=i(35099),g=i(2222),v=i(53855),_=i(46363),b=i(43271),y=i(10081),S=i(29433),w=i(98803),C=i(39709),k=i(42573),E=i(6209),I=i(94925),T=i(85305),x=i(59841),D=i(25222)},61077:function(e,t,i){"use strict";i.d(t,{clearTimeout:function(){return n.clearTimeout},setTimeout:function(){return n.setTimeout}});var n=i(79947)},61334:function(e,t,i){"use strict";var n=i(27795),o=i(7909),r=i(33201),s=i(29434),a=i(31125),l=i(66206),c=i(18272),u=i(1305),d=i(53202),h=i(43271);let p="jodit-file-browser-preview",m=(e="next",t="right")=>`<div class="${p}__navigation ${p}__navigation_arrow_${e}">`+s.Icon.get("angle-"+t)+"</a>";t.default=e=>{if(!e.o.contextMenu)return()=>{};let t=(0,c.makeContextMenu)(e);return i=>{let s=(0,l.getItem)(i.target,e.container);if(!s)return;let c=s,f=e.options,g=e=>(0,o.attr)(c,e)||"";return e.async.setTimeout(()=>{let o=(0,l.elementToItem)(s,(0,a.elementsMap)(e));o&&(e.state.activeElements=[o],t.show(i.clientX,i.clientY,[!!("1"!==g("data-is-file")&&f.editImage&&(e.dataProvider.canI("ImageResize")||e.dataProvider.canI("ImageCrop")))&&{icon:"pencil",title:"Edit",exec:()=>h.openImageEditor.call(e,g("href"),g("data-name"),g("data-path"),g("data-source"))},!!e.dataProvider.canI("FileRename")&&{icon:"italic",title:"Rename",exec:()=>{e.e.fire("fileRename.filebrowser",g("data-name"),g("data-path"),g("data-source"))}},!!e.dataProvider.canI("FileRemove")&&{icon:"bin",title:"Delete",exec:async()=>{try{await (0,u.deleteFile)(e,g("data-name"),g("data-source"))}catch(t){return e.status(t)}return e.state.activeElements=[],(0,d.loadTree)(e).catch(e.status)}},!!f.preview&&{icon:"eye",title:"Preview",exec:()=>{let t=e.dlg({buttons:["fullsize","dialog.close"]}),i=e.c.div(p,'<div class="jodit-icon_loader"></div>'),o=e.c.div(p+"__box"),s=e.c.fromHTML(m()),a=e.c.fromHTML(m("prev","left")),l=r=>{let l=e.c.element("img");l.setAttribute("src",r);let u=()=>{var r;e.isInDestruct||(e.e.off(l,"load"),n.Dom.detach(i),f.showPreviewNavigation&&(n.Dom.prevWithClass(c,e.files.getFullElName("item"))&&i.appendChild(a),n.Dom.nextWithClass(c,e.files.getFullElName("item"))&&i.appendChild(s)),i.appendChild(o),o.appendChild(l),t.setPosition(),null==e||null==(r=e.events)||r.fire("previewOpenedAndLoaded"))};e.e.on(l,"load",u),l.complete&&u()};e.e.on([s,a],"click",function(){if(!(c=this===s?n.Dom.nextWithClass(c,e.files.getFullElName("item")):n.Dom.prevWithClass(c,e.files.getFullElName("item"))))throw(0,r.error)("Need element");n.Dom.detach(i),n.Dom.detach(o),i.innerHTML='<div class="jodit-icon_loader"></div>',l(g("href"))}),e.e.on("beforeDestruct",()=>{t.destruct()}),t.container.classList.add(p+"__dialog"),t.setContent(i),t.setPosition(),t.open(),l(g("href")),e.events.on("beforeDestruct",()=>{t.destruct()}).fire("previewOpened")}},{icon:"upload",title:"Download",exec:()=>{let t=g("href");t&&e.ow.open(t)}}]))},e.defaultTimeout),e.e.on("beforeClose",()=>{t.close()}).on("beforeDestruct",()=>t.destruct()),i.stopPropagation(),i.preventDefault(),!1}}},61466:function(e,t,i){"use strict";i.d(t,{UIMessage:function(){return s}});var n=i(31635),o=i(91672),r=i(4099);class s extends r.UIElement{className(){return"UIMessage"}constructor(e,t){super(e),this.setMod("active",!0),this.setMod("variant",t.variant),this.container.textContent=t.text}}s=(0,n.__decorate)([o.component],s)},61764:function(e,t,i){"use strict";i.d(t,{ToolbarSelect:function(){return l}});var n=i(31635),o=i(84839),r=i(62101),s=i(85932),a=i(22533);class l extends a.ToolbarButton{className(){return"ToolbarSelect"}update(){super.update(),this.state.icon.name="";let{list:e,data:t}=this.control;if(e){var i,n,o;let a=this.state.value||(t&&(0,s.isString)(t.currentValue)?t.currentValue:void 0);a||(a=Object.keys(e)[0]);let l=((0,r.isPlainObject)(e)&&e[a.toString()]||a).toString();this.state.text=null!=(i=null==(n=(o=this.control).textTemplate)?void 0:n.call(o,this.jodit,l))?i:l}}}l=(0,n.__decorate)([o.component],l)},62101:function(e,t,i){"use strict";i.d(t,{isPlainObject:function(){return o}});var n=i(3513);function o(e){return!(!e||"object"!=typeof e||e.nodeType||(0,n.isWindow)(e))&&!(e.constructor&&!({}).hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))}},62327:function(e){e.exports.default=["Kirjoita jotain...","Tietoja Jodit:ista","Jodit Editor","Jodit k\xe4ytt\xe4j\xe4n ohje","sis\xe4lt\xe4\xe4 tarkempaa tietoa k\xe4ytt\xe4miseen","Tietoa lisensoinnista, vieraile verkkosivuillamme:","Osta t\xe4ysi versio","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Kaikki oikeudet pid\xe4tet\xe4\xe4n.","Ankkuri","Avaa uudessa v\xe4lilehdess\xe4","Avaa t\xe4ysikokoisena","Poista muotoilu","T\xe4yt\xe4 v\xe4rill\xe4 tai aseta tekstin v\xe4ri","Tee uudelleen","Peruuta","Lihavoitu","Kursiivi","Lis\xe4\xe4 j\xe4rjest\xe4m\xe4t\xf6n lista","Lis\xe4\xe4 j\xe4rjestetty lista","Asemoi keskelle","Asemoi tasav\xe4lein","Asemoi vasemmalle","Asemoi oikealle","Lis\xe4\xe4 vaakasuuntainen viiva","Lis\xe4\xe4 kuva","Lis\xe4\xe4 tiedosto","Lis\xe4\xe4 Youtube-/vimeo- video","Lis\xe4\xe4 linkki","Kirjasimen koko","Kirjasimen nimi","Lis\xe4\xe4 muotoilualue","Normaali","Otsikko 1","Otsikko 2","Otsikko 3","Otsikko 4","Lainaus","Koodi","Lis\xe4\xe4","Lis\xe4\xe4 taulukko","Pienenn\xe4 sisennyst\xe4","Lis\xe4\xe4 sisennyst\xe4","Valitse erikoismerkki","Lis\xe4\xe4 erikoismerkki","Maalaa muotoilu","Vaihda tilaa","Marginaalit","yl\xf6s","oikealle","alas","vasemmalle","CSS-tyylit","CSS-luokat","Asemointi","Oikea","Keskell\xe4","Vasen","--Ei asetettu--","Fuente","Otsikko","Vaihtoehtoinen teksti","Linkki","Avaa uudessa v\xe4lilehdess\xe4","Kuva","Tiedosto","Avanzado","Kuvan ominaisuudet","Peruuta","Ok","Tiedostoselain","Virhe listan latauksessa","Virhe kansioiden latauksessa","Oletko varma?","Sy\xf6t\xe4 hakemiston nimi","Luo hakemisto","Sy\xf6t\xe4 nimi","Pudota kuva","Pudota tiedosto","tai klikkaa","Vaihtoehtoinen teksti","Lataa","Selaa","Tausta","Teksti","Yl\xf6s","Keskelle","Alas","Lis\xe4\xe4 sarake ennen","Lis\xe4\xe4 sarake j\xe4lkeen","Lis\xe4\xe4 rivi yl\xf6s","Lis\xe4\xe4 rivi alle","Poista taulukko","Poista rivi","Poista sarake","Tyhjenn\xe4 solu","Merkit: %d","Sanat: %d","Yliviivaus","Alleviivaus","yl\xe4viite","alaviite","Leikkaa valinta","Valitse kaikki","Vaihto","Etsi arvoa","Korvaa arvolla","Korvaa","Liit\xe4","Valitse liitett\xe4v\xe4 sis\xe4lt\xf6","HTML","lihavoitu","kursiivi","sivellin","linkki","peruuta","tee uudelleen","taulukko","kuva","pyyhekumi","kappale","tekstin koko","video","kirjasin","tietoja","tulosta","alleviivaa","yliviivaa","sisenn\xe4","pienenn\xe4 sisennyst\xe4","t\xe4ysikokoinen","pienenn\xe4","vaakaviiva","j\xe4rjestetty lista","j\xe4rjest\xe4m\xe4t\xf6n lista","leikkaa","valitse kaikki","Sis\xe4llyt\xe4 koodi","Avaa linkki","Muokkaa linkki\xe4","\xc4l\xe4 seuraa","Pura linkki","P\xe4ivit\xe4","Muokkaa","Ver","URL","Muokkaa","Vaaka-asemointi","Suodatin","J\xe4rjest\xe4 muuttuneilla","J\xe4rjest\xe4 nimell\xe4","J\xe4rjest\xe4 koolla","Lis\xe4\xe4 kansio","Nollaa","Tallenna","Tallenna nimell\xe4 ...","Muuta kokoa","Rajaa","Leveys","Korkeus","S\xe4ilyt\xe4 kuvasuhde","Kyll\xe4","Ei","Poista","Valitse","Valitse: %s","Pystyasemointi","Jaa","Yhdist\xe4","Lis\xe4\xe4 sarake","Lis\xe4\xe4 rivi","Lisenssi: %s","Poista","Jaa pystysuuntaisesti","Jaa vaakasuuntaisesti","Reuna","Koodi on HTML:n tapaista. S\xe4ilytet\xe4\xe4nk\xf6 HTML?","Liit\xe4 HTML:n\xe4?","S\xe4ilyt\xe4","Lis\xe4\xe4 tekstin\xe4","Lis\xe4\xe4 vain teksti","Voit muokata vain omia kuvia. Lataa t\xe4m\xe4 kuva palvelimelle?","Kuva on onnistuneesti ladattu palvelimelle!","paletti","Tiedostoja ei ole","Nime\xe4 uudelleen","Sy\xf6t\xe4 uusi nimi","esikatselu","Lataa","Liit\xe4 leikep\xf6yd\xe4lt\xe4","Selaimesi ei tue suoraa p\xe4\xe4sy\xe4 leikep\xf6yd\xe4lle.","Kopioi valinta","kopioi","Reunan py\xf6ristys","N\xe4yt\xe4 kaikki","K\xe4yt\xe4","T\xe4yt\xe4 t\xe4m\xe4 kentt\xe4","Annan web-osoite","Oletus","Ympyr\xe4","Piste","Neli\xf6","Hae","Hae edellinen","Hae seuraava","Liitetty sis\xe4lt\xf6 tulee Microsoft Word-/Excel- tiedostosta. Haluatko s\xe4ilytt\xe4\xe4 muotoilun vai poistaa sen?","Word liitt\xe4minen havaittu","Tyhjenn\xe4","Lis\xe4\xe4 luokkanimi","Paina Alt muokattuun koon muuttamiseen",null,null,null,"Kaikki"]},62623:function(e,t,i){"use strict";i.d(t,{FileBrowser:function(){return C}});var n=i(25045),o=i(31635),r=i(16964),s=i(81937),a=i(84839),l=i(68616),c=i(1496),u=i(65946),d=i(25222),h=i(80512),p=i(2222),m=i(5266);i(68502);var f=i(1488),g=i(53202),v=i(34269),_=i(36664),b=i(74833),y=i(17780),S=i(18272),w=i(63425);class C extends p.ViewWithToolbar{className(){return"FileBrowser"}get dataProvider(){return(0,S.makeDataProvider)(this,this.options)}onSelect(e){return()=>{if(this.state.activeElements.length){let t=[],i=[];this.state.activeElements.forEach(e=>{let n=e.fileURL;n&&(t.push(n),i.push(e.isImage||!1))}),this.close(),(0,u.isFunction)(e)&&e({baseurl:"",files:t,isImages:i}),this.close()}return!1}}get _dialog(){var e;let t=this.dlg({minWidth:Math.min(700,screen.width),minHeight:300,buttons:null!=(e=this.o.headerButtons)?e:["fullsize","dialog.close"]});return["beforeClose","afterClose","beforeOpen"].forEach(e=>t.events.on(t,e,()=>this.e.fire(e))),t.setSize(this.o.width,this.o.height),t}get storage(){return d.Storage.makeStorage(!!this.o.saveStateInStorage,this.componentName)}get isOpened(){return this._dialog.isOpened&&"none"!==this.browser.style.display}status(e,t){!e||(0,u.isAbortError)(e)||((0,u.isString)(e)||(e=e.message),(0,u.isString)(e)&&(0,u.trim)(e).length&&this.message.message(e,t?"success":"error",this.o.howLongShowMsg))}open(e=this.o.defaultCallback,t=!1){return this.state.onlyImages=t,this.async.promise((t,i)=>{var n;if(!this.o.items||!this.o.items.url)throw(0,u.error)("Need set options.filebrowser.ajax.url");let o=0;this.e.off(this.files.container,"dblclick").on(this.files.container,"dblclick",this.onSelect(e)).on(this.files.container,"touchstart",()=>{let t=new Date().getTime();t-o<s.EMULATE_DBLCLICK_TIMEOUT&&this.onSelect(e)(),o=t}).off("select.filebrowser").on("select.filebrowser",this.onSelect(e));let r=this.c.div();null==(n=this.toolbar)||n.appendTo(r),this.__updateToolbarButtons(),this._dialog.open(this.browser,r),this.e.fire("sort.filebrowser",this.state.sortBy),(0,g.loadTree)(this).then(t,i).finally(()=>{var e;this.isInDestruct||null===this||void 0===this||null==(e=this.e)||e.fire("fileBrowserReady.filebrowser")})}).catch(e=>{if(!(0,u.isAbortError)(e)&&!s.IS_PROD)throw e})}__getButtons(){var e;return(null!=(e=this.o.buttons)?e:[]).filter(e=>{if(!(0,u.isString)(e))return!0;switch(e){case"filebrowser.upload":return this.dataProvider.canI("FileUpload");case"filebrowser.edit":return this.dataProvider.canI("ImageResize")||this.dataProvider.canI("ImageCrop");case"filebrowser.remove":return this.dataProvider.canI("FileRemove")}return!0})}initUploader(e){var t;let i=this,n=null==e||null==(t=e.options)?void 0:t.uploader,o=(0,u.ConfigProto)(n||{},m.Config.defaultOptions.uploader),r=()=>(0,f.loadItems)(this);i.uploader=i.getInstance("Uploader",o),i.uploader.setPath(i.state.currentPath).setSource(i.state.currentSource).bind(i.browser,r,i.errorHandler),this.state.on(["change.currentPath","change.currentSource"],()=>{this.uploader.setPath(this.state.currentPath).setSource(this.state.currentSource)}),i.e.on("bindUploader.filebrowser",e=>{i.uploader.bind(e,r,i.errorHandler)})}destruct(){var e;!this.isInDestruct&&(null==(e=(0,a.cached)(this,"_dialog"))||e.destruct(),super.destruct(),this.events&&this.e.off(".filebrowser"),this.uploader&&this.uploader.destruct())}__updateToolbarButtons(){var e;let t=this.__getButtons();!function(e,t){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++)if(e[i]!==t[i])return!1;return!0}(this.__prevButtons,t)&&(this.__prevButtons=t,null==(e=this.toolbar)||e.build(t))}constructor(e){super(e),(0,n._)(this,"browser",this.c.div(this.componentName)),(0,n._)(this,"status_line",this.c.div(this.getFullElName("status"))),(0,n._)(this,"tree",new w.FileBrowserTree(this)),(0,n._)(this,"files",new w.FileBrowserFiles(this)),(0,n._)(this,"state",(0,c.observable)({currentPath:"",currentSource:y.DEFAULT_SOURCE_NAME,currentBaseUrl:"",activeElements:[],elements:[],sources:[],view:"tiles",sortBy:"changed-desc",filterWord:"",onlyImages:!1})),(0,n._)(this,"errorHandler",e=>{(0,u.isAbortError)(e)||(e instanceof Error?this.status(this.i18n(e.message)):this.status(this.dataProvider.getMessage(e)))}),(0,n._)(this,"uploader",void 0),(0,n._)(this,"close",()=>{this._dialog.close()}),(0,n._)(this,"__prevButtons",[]),this.attachEvents(e),this.options=(0,u.ConfigProto)(e||{},m.Config.defaultOptions.filebrowser),this.browser.component=this,this.container=this.browser,this.o.showFoldersPanel&&this.browser.appendChild(this.tree.container),this.browser.appendChild(this.files.container),this.browser.appendChild(this.status_line),_.selfListeners.call(this),v.nativeListeners.call(this),b.stateListeners.call(this),["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRename","folderRename","fileRemove","folderRemove","folder","items","permissions"].forEach(e=>{null!=this.options[e]&&(this.options[e]=(0,u.ConfigProto)(this.options[e],this.o.ajax))});const{storeView:t,storeSortBy:i,storeLastOpenedFolder:o}=this.o.saveStateInStorage||{storeLastOpenedFolder:!1,storeView:!1,storeSortBy:!1},s=t&&this.storage.get("view");s&&null==this.o.view?this.state.view="list"===s?"list":"tiles":this.state.view="list"===this.o.view?"list":"tiles",this.files.setMod("view",this.state.view);const a=i&&this.storage.get("sortBy");if(a){const e=a.split("-");this.state.sortBy=["changed","name","size"].includes(e[0])?a:"changed-desc"}else this.state.sortBy=this.o.sortBy||"changed-desc";if(o){const e=this.storage.get("currentPath"),t=this.storage.get("currentSource");this.state.currentPath=null!=e?e:"",this.state.currentSource=null!=t?t:""}this.initUploader(this),this.setStatus(r.STATUSES.ready)}}(0,o.__decorate)([a.cache],C.prototype,"dataProvider",null),(0,o.__decorate)([a.cache],C.prototype,"_dialog",null),(0,o.__decorate)([a.cache],C.prototype,"storage",null),(0,o.__decorate)([a.autobind],C.prototype,"status",null),(0,o.__decorate)([a.autobind],C.prototype,"open",null),(0,o.__decorate)([(0,l.watch)("dataProvider:changePermissions")],C.prototype,"__updateToolbarButtons",null),C=(0,o.__decorate)([(0,a.derive)(h.Dlgs)],C)},63425:function(e,t,i){"use strict";i.d(t,{FileBrowserFiles:function(){return n.FileBrowserFiles},FileBrowserTree:function(){return o.FileBrowserTree}});var n=i(86122),o=i(55376)},63468:function(e,t,i){"use strict";i.d(t,{UIGroup:function(){return u}});var n=i(25045),o=i(31635),r=i(80251),s=i(84839),a=i(23211),l=i(65946),c=i(96007);class u extends c.UIElement{className(){return"UIGroup"}get allChildren(){let e=[],t=[...this.elements];for(;t.length;){let i=t.shift();(0,l.isArray)(i)?t.push(...i):r.Component.isInstanceOf(i,u)?t.push(...i.elements):i&&e.push(i)}return e}update(){this.elements.forEach(e=>e.update()),this.setMod("size",this.buttonSize)}append(e,t){let i;if((0,l.isArray)(e)){if("number"==typeof t)throw Error("You can not use index when append array of elements");return e.forEach(e=>this.append(e,t)),this}if("number"==typeof t?(i=Math.min(Math.max(0,t),this.elements.length),this.elements.splice(i,0,e)):this.elements.push(e),e.name&&e.container.classList.add(this.getFullElName(e.name)),t&&"string"==typeof t){let i=this.getElm(t);if(null==i)throw Error("Element does not exist");i.appendChild(e.container)}else this.appendChildToContainer(e.container,i);return e.parentElement=this,this}afterSetMod(e,t){this.syncMod&&this.elements.forEach(i=>i.setMod(e,t))}appendChildToContainer(e,t){void 0===t||t<0||t>this.elements.length-1||null==this.container.children[t]?this.container.appendChild(e):this.container.insertBefore(e,this.container.children[t])}remove(e){let t=this.elements.indexOf(e);return -1!==t&&(this.elements.splice(t,1),a.Dom.safeRemove(e.container),e.parentElement=null),this}clear(){return this.elements.forEach(e=>e.destruct()),this.elements.length=0,this}setParentView(e){var t;return null==(t=this.elements)||t.forEach(t=>t.setParentView(e)),super.setParentView(e)}destruct(){return this.clear(),super.destruct()}constructor(e,t,i){super(e,i),(0,n._)(this,"options",void 0),(0,n._)(this,"syncMod",void 0),(0,n._)(this,"elements",void 0),(0,n._)(this,"buttonSize",void 0),this.options=i,this.syncMod=!1,this.elements=[],this.buttonSize="middle",null==t||t.forEach(e=>e&&this.append(e)),(null==i?void 0:i.name)&&(this.name=i.name)}}(0,o.__decorate)([(0,s.watch)("buttonSize")],u.prototype,"update",null),u=(0,o.__decorate)([s.component],u)},63794:function(e){e.exports={Spellcheck:"Sprawdzanie pisowni"}},63837:function(e){e.exports.default={"Type something":"Start writing...",pencil:"Edit",Quadrate:"Square"}},63974:function(e,t,i){"use strict";var n=i(25045),o=i(27795),r=i(28077),s=i(65946),a=i(4040),l=i(91206);class c extends l.Plugin{afterInit(e){e.e.on("afterCommand.delete",e=>{"delete"===e&&this.__afterDeleteCommand()}),e.registerCommand("delete",{exec:this.__onDeleteCommand.bind(this)},{stopPropagation:!1})}beforeDestruct(e){e.e.off("afterCommand.delete")}__afterDeleteCommand(){let e=this.j,t=e.s.current();if(t&&o.Dom.isTag(t.firstChild,"br")&&e.s.removeNode(t.firstChild),!(0,a.trim)(e.editor.textContent||"")&&!e.editor.querySelector("img,table,jodit,iframe,hr")&&(!t||!o.Dom.closest(t,"table",e.editor))){e.editor.innerHTML="";let t=e.s.setCursorIn(e.editor);e.s.removeNode(t)}}__onDeleteCommand(){let{jodit:e}=this;if(e.s.isCollapsed())return;e.s.expandSelection();let t=e.s.range;t.deleteContents();let i=e.createInside.fake();t.insertNode(i);let n=o.Dom.findSibling(i,!0),r=o.Dom.findSibling(i,!1);return this.__moveContentInLeftSibling(i,n,r),t.setStartBefore(i),t.collapse(!0),this.__moveCursorInEditableSibling(e,n,i,t),this.__addBrInEmptyBlock(i,r,t),o.Dom.safeRemove(i),e.s.selectRange(t),!1}__moveContentInLeftSibling(e,t,i){t=this.__defineRightLeftBox(t),!o.Dom.isList(i)&&!o.Dom.isTag(i,"table")&&o.Dom.isBlock(i)&&o.Dom.isBlock(t)&&(o.Dom.append(t,e),o.Dom.moveContent(i,t),o.Dom.safeRemove(i)),o.Dom.isList(i)&&o.Dom.isLeaf(i.firstElementChild)&&o.Dom.isEmpty(i.firstElementChild)&&o.Dom.safeRemove(i.firstElementChild)}__defineRightLeftBox(e){if(!o.Dom.isList(e))return e;let t=e.lastElementChild;return o.Dom.isLeaf(t)||(t=this.j.createInside.element("li"),o.Dom.append(e,t)),t}__addBrInEmptyBlock(e,t,i){let n=this.j;if(e.isConnected&&o.Dom.isBlock(e.parentNode)&&!e.nextSibling&&!e.previousSibling){let t=n.createInside.element("br");o.Dom.after(e,t),i.setStartBefore(t),i.collapse(!0)}if(o.Dom.isTag(t,"table")){let e=(0,s.$$)("td,th",t).shift();o.Dom.isCell(e)&&o.Dom.isEmpty(e)&&o.Dom.append(e,n.createInside.element("br"))}}__moveCursorInEditableSibling(e,t,i,n){if(!t||!o.Dom.isText(t)){var r;let t=null!=(r=o.Dom.closest(i,o.Dom.isBlock,e.editor))?r:e.editor,s=o.Dom.prev(i,o.Dom.isText,t);s&&(n.setStartAfter(s),n.collapse(!0),o.Dom.safeRemove(i))}}}(0,n._)(c,"requires",["backspace"]),r.pluginSystem.add("deleteCommand",c)},64094:function(e,t,i){"use strict";var n=i(23211),o=i(28077),r=i(65946),s=i(16849),a=i(80991),l=i(29434),c=i(5266),u=i(80515),d=i.n(u);l.Icon.set("justify",d()),c.Config.prototype.controls.align={name:"left",tooltip:"Align",update(e,t){let i=t.control,o=e.s.current();if(o){let s=n.Dom.closest(o,n.Dom.isBlock,e.editor)||e.editor,l=(0,a.css)(s,"text-align").toString();i.defaultValue&&-1!==i.defaultValue.indexOf(l)&&(l="left");let{list:c,data:u}=i;u&&u.currentValue!==l&&c&&((0,r.isPlainObject)(c)?c[l]:c.includes(l))&&(e.o.textIcons||"select"===i.component?t.state.text=l:t.state.icon.name=l,u.currentValue=l)}},isActive:(e,t)=>{let i=e.s.current();if(!i||!t.control.defaultValue)return!1;let o=n.Dom.closest(i,n.Dom.isBlock,e.editor)||e.editor;return -1===t.control.defaultValue.indexOf((0,a.css)(o,"text-align").toString())},defaultValue:["left","start","inherit"],data:{currentValue:"left"},list:["center","left","right","justify"]},c.Config.prototype.controls.center={command:"justifyCenter",css:{"text-align":"center"},tooltip:"Align Center"},c.Config.prototype.controls.justify={command:"justifyFull",css:{"text-align":"justify"},tooltip:"Align Justify"},c.Config.prototype.controls.left={command:"justifyLeft",css:{"text-align":"left"},tooltip:"Align Left"},c.Config.prototype.controls.right={command:"justifyRight",css:{"text-align":"right"},tooltip:"Align Right"},o.pluginSystem.add("justify",function(e){e.registerButton({name:"align",group:"indent"});let t=t=>(e.s.focus(),e.s.eachSelection(i=>{if(!i)return;let o=n.Dom.up(i,n.Dom.isBlock,e.editor);o||(o=n.Dom.wrapInline(i,e.o.enterBlock,e)),(0,s.alignElement)(t,o)}),!1);e.registerCommand("justifyfull",t),e.registerCommand("justifyright",t),e.registerCommand("justifyleft",t),e.registerCommand("justifycenter",t)})},64222:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(23211),l=i(28077),c=i(65946),u=i(91206),d=i(63425);class h extends u.Plugin{afterInit(){this.j.e.on([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)}onDragStart(e){var t;let i=e.target;if(this.onDragEnd(),this.isFragmentFromEditor=a.Dom.isOrContains(this.j.editor,i,!0),this.isCopyMode=!this.isFragmentFromEditor||(0,c.ctrlKey)(e),this.isFragmentFromEditor){let e=this.j.s.sel,t=e&&e.rangeCount?e.getRangeAt(0):null;t&&(this.bufferRange=t.cloneRange())}else this.bufferRange=null;this.startDragPoint.x=e.clientX,this.startDragPoint.y=e.clientY,t=i,a.Dom.isElement(t)&&t.classList.contains(d.FileBrowserFiles.prototype.getFullElName("item"))&&(i=i.querySelector("img")),a.Dom.isTag(i,"img")&&(this.draggable=i.cloneNode(!0),(0,c.dataBind)(this.draggable,"target",i)),this.addDragListeners()}addDragListeners(){this.j.e.on("dragover",this.onDrag).on("drop.DragAndDrop",this.onDrop).on(window,"dragend.DragAndDrop drop.DragAndDrop mouseup.DragAndDrop",this.onDragEnd)}removeDragListeners(){this.j.e.off("dragover",this.onDrag).off("drop.DragAndDrop",this.onDrop).off(window,"dragend.DragAndDrop drop.DragAndDrop mouseup.DragAndDrop",this.onDragEnd)}onDrag(e){this.draggable&&(this.j.e.fire("hidePopup"),this.j.s.insertCursorAtPoint(e.clientX,e.clientY),e.preventDefault(),e.stopPropagation())}onDragEnd(){this.draggable&&(a.Dom.safeRemove(this.draggable),this.draggable=null),this.isCopyMode=!1,this.removeDragListeners()}onDrop(e){if(!e.dataTransfer||!e.dataTransfer.files||!e.dataTransfer.files.length){if(!this.isFragmentFromEditor&&!this.draggable)return this.j.e.fire("paste",e),e.preventDefault(),e.stopPropagation(),!1;let t=this.j.s.sel,i=this.bufferRange||(t&&t.rangeCount?t.getRangeAt(0):null),n=this.__getWorkFragment(i,e);t&&t.removeAllRanges(),this.j.s.insertCursorAtPoint(e.clientX,e.clientY),n&&this.__insertFragment.call(this,n,i),e.preventDefault(),e.stopPropagation()}this.isFragmentFromEditor=!1,this.removeDragListeners()}__getWorkFragment(e,t){let i=null;if(!this.draggable&&e)i=this.isCopyMode?e.cloneContents():e.extractContents();else if(this.draggable)if(this.isCopyMode){let[e,t]="1"===(0,c.attr)(this.draggable,"-is-file")?["a","href"]:["img","src"];(i=this.j.createInside.element(e)).setAttribute(t,(0,c.attr)(this.draggable,"data-src")||(0,c.attr)(this.draggable,"src")||""),"a"===e&&(i.textContent=(0,c.attr)(i,t)||"")}else i=(0,c.dataBind)(this.draggable,"target");else this.getText(t)&&(i=this.j.createInside.fromHTML(this.getText(t)));return i}__insertFragment(e,t){this.j.s.insertNode(e,!1,!1),t&&e.firstChild&&e.lastChild&&(t.setStartBefore(e.firstChild),t.setEndAfter(e.lastChild),this.j.s.selectRange(t),this.j.e.fire("synchro")),a.Dom.isTag(e,"img")&&this.j.events&&this.j.e.fire("afterInsertImage",e)}beforeDestruct(){this.onDragEnd(),this.j.e.off(window,".DragAndDrop").off(".DragAndDrop").off([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)}constructor(...e){super(...e),(0,n._)(this,"isFragmentFromEditor",!1),(0,n._)(this,"isCopyMode",!1),(0,n._)(this,"startDragPoint",{x:0,y:0}),(0,n._)(this,"draggable",null),(0,n._)(this,"bufferRange",null),(0,n._)(this,"getText",e=>{let t=(0,c.getDataTransfer)(e);return t?t.getData(r.TEXT_HTML)||t.getData(r.TEXT_PLAIN):null})}}(0,o.__decorate)([s.autobind],h.prototype,"onDragStart",null),(0,o.__decorate)([(0,s.throttle)(e=>e.defaultTimeout/10)],h.prototype,"onDrag",null),(0,o.__decorate)([s.autobind],h.prototype,"onDragEnd",null),(0,o.__decorate)([s.autobind],h.prototype,"onDrop",null),l.pluginSystem.add("dragAndDrop",h)},64394:function(e){e.exports={symbols:"سمبل"}},64637:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 432 432"> <g> <polygon points="203.688,96 0,96 0,144 155.688,144 "/> <polygon points="155.719,288 0,288 0,336 203.719,336 "/> <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"/> <polygon points="232,176 232,96 112,216 232,336 232,256 432,256 432,176"/> </g> </svg>'},64831:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M576 576q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1024 384v448h-1408v-192l320-320 160 160 512-512zm96-704h-1600q-13 0-22.5 9.5t-9.5 22.5v1216q0 13 9.5 22.5t22.5 9.5h1600q13 0 22.5-9.5t9.5-22.5v-1216q0-13-9.5-22.5t-22.5-9.5zm160 32v1216q0 66-47 113t-113 47h-1600q-66 0-113-47t-47-113v-1216q0-66 47-113t113-47h1600q66 0 113 47t47 113z"/> </svg>'},64847:function(e,t,i){"use strict";i.d(t,{UIGroup:function(){return n.UIGroup},UIList:function(){return o.UIList},UISeparator:function(){return r.UISeparator},UISpacer:function(){return s.UISpacer}});var n=i(63468),o=i(97959),r=i(35676),s=i(27987)},65015:function(e,t,i){"use strict";i.d(t,{sanitizeAttributes:function(){return r}});var n=i(23211),o=i(65946);function r(e,t,i){return!!(n.Dom.isElement(t)&&(0,o.sanitizeHTMLElement)(t,{safeJavaScriptLink:e.options.cleanHTML.safeJavaScriptLink,removeOnError:e.options.cleanHTML.removeOnError}))||i}},65230:function(e,t,i){"use strict";var n=i(23211),o=i(29434),r=i(5266),s=i(95032),a=i.n(s),l=i(73533),c=i.n(l),u=i(45778);r.Config.prototype.link={formTemplate:u.formTemplate,followOnDblClick:!1,processVideoLink:!0,processPastedLink:!0,noFollowCheckbox:!0,openInNewTabCheckbox:!0,modeClassName:"input",selectMultipleClassName:!0,preventReadOnlyNavigation:!0,selectSizeClassName:3,selectOptionsClassName:[],hotkeys:["ctrl+k","cmd+k"]},o.Icon.set("link",a()).set("unlink",c()),r.Config.prototype.controls.unlink={exec:(e,t)=>{let i=n.Dom.closest(t,"a",e.editor);i&&n.Dom.unwrap(i),e.synchronizeValues(),e.e.fire("hidePopup")},tooltip:"Unlink"},r.Config.prototype.controls.link={isActive:e=>{let t=e.s.current();return!!(t&&n.Dom.closest(t,"a",e.editor))},popup:(e,t,i)=>e.e.fire("generateLinkForm.link",t,i),tags:["a"],tooltip:"Insert link"}},65273:function(e,t,i){"use strict";i.d(t,{UIInput:function(){return h}});var n=i(25045),o=i(31635),r=i(84839),s=i(23211),a=i(88475),l=i(93640),c=i(96007),u=i(81488),d=i(29434);class h extends c.UIElement{className(){return"UIInput"}onChangeClear(){this.state.clearButton?s.Dom.after(this.nativeInput,this.clearButton):s.Dom.safeRemove(this.clearButton)}onChangeClassName(e,t){t&&this.container.classList.remove(t),this.state.className&&this.container.classList.add(this.state.className)}onChangeState(){this.name=this.state.name;let e=this.nativeInput,{name:t,icon:i,type:n,ref:o,required:r,placeholder:a,autocomplete:c,label:u}=this.state;(0,l.attr)(e,"name",t),(0,l.attr)(e,"type",n),(0,l.attr)(e,"data-ref",o||t),(0,l.attr)(e,"ref",o||t),(0,l.attr)(e,"required",r||null),(0,l.attr)(e,"autocomplete",c?null:"off"),(0,l.attr)(e,"placeholder",a?this.j.i18n(a):""),i&&d.Icon.exists(i)?(s.Dom.before(e,this.icon),this.icon.innerHTML=d.Icon.get(i)):s.Dom.safeRemove(this.icon),u?(s.Dom.before(this.wrapper,this.label),this.label.innerText=this.j.i18n(u)):s.Dom.safeRemove(this.label),this.updateValidators()}updateValidators(){var e;this.validators.clear(),this.state.required&&this.validators.add(u.inputValidators.required),null==(e=this.state.validators)||e.forEach(e=>{let t=u.inputValidators[e];t&&this.validators.add(t)})}set error(e){this.setMod("has-error",!!e),e?(this.__errorBox.innerText=this.j.i18n(e,this.j.i18n(this.state.label||"")),this.container.appendChild(this.__errorBox)):s.Dom.safeRemove(this.__errorBox)}get value(){return this.nativeInput.value}set value(e){this.value!==e&&(this.nativeInput.value=e,this.onChangeValue())}onChangeStateValue(){let e=this.state.value.toString();e!==this.value&&(this.value=e)}onChangeValue(){let{value:e}=this;if(this.state.value!==e){var t,i;this.state.value=e,this.j.e.fire(this,"change",e),null==(t=(i=this.state).onChange)||t.call(i,e)}}validate(){this.error="";let e=(0,a.toArray)(this.validators).every(e=>e(this));return this.__markInputInvalid(),e}__markInputInvalid(){var e,t,i,n;this.error?(this.nativeInput.setAttribute("aria-invalid","true"),null==(e=(t=this.nativeInput).setCustomValidity)||e.call(t,this.error)):(this.nativeInput.removeAttribute("aria-invalid"),null==(i=(n=this.nativeInput).setCustomValidity)||i.call(n,""))}createContainer(e){let t=super.createContainer();this.wrapper=this.j.c.div(this.getFullElName("wrapper")),this.nativeInput||(this.nativeInput=this.createNativeInput());let{nativeInput:i}=this;return i.classList.add(this.getFullElName("input")),this.wrapper.appendChild(i),t.appendChild(this.wrapper),(0,l.attr)(i,"dir",this.j.o.direction||"auto"),t}createNativeInput(e){return this.j.create.element("input")}focus(){this.nativeInput.focus()}get isFocused(){return this.nativeInput===this.j.od.activeElement}onChangeFocus(){this.setMod("focused",this.isFocused)}constructor(e,t){super(e,t),(0,n._)(this,"label",this.j.c.span(this.getFullElName("label"))),(0,n._)(this,"icon",this.j.c.span(this.getFullElName("icon"))),(0,n._)(this,"clearButton",this.j.c.span(this.getFullElName("clear"),d.Icon.get("cancel"))),(0,n._)(this,"state",{...h.defaultState}),(0,n._)(this,"__errorBox",this.j.c.span(this.getFullElName("error"))),(0,n._)(this,"validators",new Set([])),(null==t?void 0:t.value)!==void 0&&(t.value=t.value.toString()),Object.assign(this.state,t),void 0!==this.state.clearButton&&(this.j.e.on(this.clearButton,"click",e=>{e.preventDefault(),this.nativeInput.value="",this.j.e.fire(this.nativeInput,"input"),this.focus()}).on(this.nativeInput,"input",()=>{this.state.clearButton=!!this.value.length}),this.state.clearButton=!!this.value.length),this.j.e.on(this.nativeInput,"focus blur",()=>{this.onChangeFocus()}).on(this.nativeInput,"input change",this.onChangeValue),this.onChangeState(),this.onChangeClassName(),this.onChangeStateValue()}}(0,n._)(h,"defaultState",{className:"",autocomplete:!0,name:"",value:"",icon:"",label:"",ref:"",type:"text",placeholder:"",required:!1,validators:[]}),(0,o.__decorate)([(0,r.watch)("state.clearButton")],h.prototype,"onChangeClear",null),(0,o.__decorate)([(0,r.watch)("state.className")],h.prototype,"onChangeClassName",null),(0,o.__decorate)([(0,r.watch)(["state.name","state.type","state.label","state.placeholder","state.autocomplete","state.icon"],{immediately:!1}),(0,r.debounce)()],h.prototype,"onChangeState",null),(0,o.__decorate)([(0,r.watch)("state.value")],h.prototype,"onChangeStateValue",null),(0,o.__decorate)([r.autobind],h.prototype,"onChangeValue",null),h=(0,o.__decorate)([r.component],h)},65402:function(e){e.exports={"Line height":"Altura de la l\xednea"}},65701:function(e,t,i){"use strict";i(5266).Config.prototype.draggableTags=["img","jodit-media","jodit"]},65710:function(e,t,i){"use strict";i.d(t,{insertParagraph:function(){return r}});var n=i(23211),o=i(60898);function r(e,t,i,r){let s="br"===i.toLowerCase(),{createInside:a}=t,l=a.element(i),c=a.element("br");return s||l.appendChild(c),r&&r.cssText&&l.setAttribute("style",r.cssText),n.Dom.after(e,l),n.Dom.before(s?l:c,e),(0,o.scrollIntoViewIfNeeded)(l,t.editor,t.ed),l}},65946:function(e,t,i){"use strict";i.r(t),i.d(t,{CamelCaseToKebabCase:function(){return u.CamelCaseToKebabCase},NUMBER_FIELDS_REG:function(){return l.NUMBER_FIELDS_REG},applyStyles:function(){return a.applyStyles},asArray:function(){return n.asArray},camelCase:function(){return u.camelCase},cleanFromWord:function(){return a.cleanFromWord},clearTimeout:function(){return o.clearTimeout},colorToHex:function(){return s.colorToHex},fuzzySearchIndex:function(){return u.fuzzySearchIndex},getContentWidth:function(){return c.getContentWidth},getScrollParent:function(){return c.getScrollParent},hasBrowserColorPicker:function(){return r.hasBrowserColorPicker},hasContainer:function(){return r.hasContainer},htmlspecialchars:function(){return a.htmlspecialchars},i18n:function(){return u.i18n},innerWidth:function(){return c.innerWidth},isAbortError:function(){return r.isAbortError},isArray:function(){return r.isArray},isBoolean:function(){return r.isBoolean},isDestructable:function(){return r.isDestructable},isEqual:function(){return r.isEqual},isFastEqual:function(){return r.isFastEqual},isFunction:function(){return r.isFunction},isHTML:function(){return r.isHTML},isHtmlFromWord:function(){return r.isHtmlFromWord},isInitable:function(){return r.isInitable},isInt:function(){return r.isInt},isJoditObject:function(){return r.isJoditObject},isLicense:function(){return r.isLicense},isMarker:function(){return r.isMarker},isNativeFunction:function(){return r.isNativeFunction},isNumber:function(){return r.isNumber},isNumeric:function(){return r.isNumeric},isPlainObject:function(){return r.isPlainObject},isPromise:function(){return r.isPromise},isSet:function(){return r.isSet},isString:function(){return r.isString},isStringArray:function(){return r.isStringArray},isURL:function(){return r.isURL},isValidName:function(){return r.isValidName},isViewObject:function(){return r.isViewObject},isVoid:function(){return r.isVoid},isWindow:function(){return r.isWindow},kebabCase:function(){return u.kebabCase},nl2br:function(){return a.nl2br},normalizeColor:function(){return l.normalizeColor},normalizeCssNumericValue:function(){return l.normalizeCssNumericValue},normalizeCssValue:function(){return l.normalizeCssValue},normalizeKeyAliases:function(){return l.normalizeKeyAliases},normalizeLicense:function(){return l.normalizeLicense},normalizePath:function(){return l.normalizePath},normalizeRelativePath:function(){return l.normalizeRelativePath},normalizeSize:function(){return l.normalizeSize},normalizeUrl:function(){return l.normalizeUrl},offset:function(){return c.offset},position:function(){return c.position},safeHTML:function(){return a.safeHTML},sanitizeHTMLElement:function(){return a.sanitizeHTMLElement},setTimeout:function(){return o.setTimeout},size:function(){return c.size},splitArray:function(){return n.splitArray},sprintf:function(){return u.sprintf},stringify:function(){return u.stringify},stripTags:function(){return a.stripTags},toArray:function(){return n.toArray},trim:function(){return u.trim},trimChars:function(){return u.trimChars},trimInv:function(){return u.trimInv},ucfirst:function(){return u.ucfirst}});var n=i(45664),o=i(61077),r=i(28686),s=i(7018),a=i(82658),l=i(97022),c=i(86878),u=i(97642),d=i(93640),h={};for(var p in d)0>["default","asArray","splitArray","toArray","clearTimeout","setTimeout","hasBrowserColorPicker","hasContainer","isAbortError","isArray","isBoolean","isDestructable","isEqual","isFastEqual","isFunction","isHTML","isHtmlFromWord","isInitable","isInt","isJoditObject","isLicense","isMarker","isNativeFunction","isNumber","isNumeric","isPlainObject","isPromise","isSet","isString","isStringArray","isURL","isValidName","isViewObject","isVoid","isWindow","colorToHex","applyStyles","cleanFromWord","htmlspecialchars","nl2br","safeHTML","sanitizeHTMLElement","stripTags","NUMBER_FIELDS_REG","normalizeColor","normalizeCssNumericValue","normalizeCssValue","normalizeKeyAliases","normalizeLicense","normalizePath","normalizeRelativePath","normalizeSize","normalizeUrl","getContentWidth","getScrollParent","innerWidth","offset","position","size","CamelCaseToKebabCase","camelCase","fuzzySearchIndex","i18n","kebabCase","sprintf","stringify","trim","trimChars","trimInv","ucfirst"].indexOf(p)&&(h[p]=(function(e){return d[e]}).bind(0,p));i.d(t,h)},66206:function(e,t,i){"use strict";i.d(t,{elementToItem:function(){return r},getItem:function(){return o}});var n=i(23211);let o=(e,t,i="a")=>n.Dom.closest(e,e=>n.Dom.isTag(e,i),t),r=(e,t)=>{let{key:i}=e.dataset,{item:n}=t[i||""];return n}},66547:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/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"/> </svg>'},66568:function(e){e.exports={"copy-format":"Copia il formato"}},66862:function(e,t,i){"use strict";i.d(t,{hasPreviousBlock:function(){return o}});var n=i(23211);function o(e,t){return!!n.Dom.prev(e,e=>n.Dom.isBlock(e)||n.Dom.isImage(e),t.editor)}},67026:function(e){e.exports={Spellcheck:"Correcci\xf3n ortogr\xe1fica"}},67176:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M352 832q0 14-9 23l-288 288q-9 9-23 9-13 0-22.5-9.5t-9.5-22.5v-576q0-13 9.5-22.5t22.5-9.5q14 0 23 9l288 288q9 9 9 23zm1440 480v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},67399:function(e,t,i){"use strict";i.d(t,{ContextMenu:function(){return l}});var n=i(31635),o=i(91672),r=i(17312),s=i(53681),a=i(51116);class l extends a.Popup{className(){return"ContextMenu"}show(e,t,i){let n=this;n.clear(),(0,r.isArray)(i)&&(i.forEach(e=>{if(!e)return;let t=(0,s.Button)(this.jodit,e.icon||"empty",e.title);this.jodit&&t.setParentView(this.jodit),t.setMod("context","menu"),t.onAction(t=>{var i;return null==(i=e.exec)||i.call(n,t),n.clear(),n.close(),!1}),this.append(t)}),this.open(()=>({left:e,top:t,width:0,height:0}),!0))}}l=(0,n.__decorate)([o.component],l)},67447:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M576 1376v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm128-320v1088q0 66-47 113t-113 47h-1344q-66 0-113-47t-47-113v-1088q0-66 47-113t113-47h1344q66 0 113 47t47 113z"/> </svg>'},67582:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(23211),l=i(28077),c=i(65946),u=i(18855);i(79803);let d=!r.IS_ES_NEXT&&r.IS_IE;class h extends u.Plugin{afterInit(e){e.e.on(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.__onScroll).on("getStickyState.sticky",()=>this.__isToolbarStuck)}__onScroll(){let{jodit:e}=this;if(!e.o.toolbarSticky||!e.o.toolbar)return;let t=e.ow.pageYOffset||e.od.documentElement&&e.od.documentElement.scrollTop||0,i=(0,c.offset)(e.container,e,e.od,!0),n=e.getMode()===r.MODE_WYSIWYG&&t+e.o.toolbarStickyOffset>i.top&&t+e.o.toolbarStickyOffset<i.top+i.height&&!(e.o.toolbarDisableStickyForMobile&&this.__isMobile());if(this.__isToolbarStuck===n)return;let o=e.toolbarContainer;o&&(n?this.addSticky(o):this.removeSticky(o)),e.e.fire("toggleSticky",n)}__isMobile(){let{j:e}=this;return e&&e.options&&e.container&&e.options.sizeSM>=e.container.offsetWidth}beforeDestruct(e){a.Dom.safeRemove(this.__dummyBox),e.e.off(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.__onScroll).off(".sticky")}constructor(...e){super(...e),(0,n._)(this,"__isToolbarStuck",!1),(0,n._)(this,"__dummyBox",void 0),(0,n._)(this,"__createDummy",e=>{this.__dummyBox=this.j.c.div(),this.__dummyBox.classList.add("jodit_sticky-dummy_toolbar"),this.j.container.insertBefore(this.__dummyBox,e)}),(0,n._)(this,"addSticky",e=>{this.__isToolbarStuck||(d&&!this.__dummyBox&&this.__createDummy(e),this.j.container.classList.add("jodit_sticky"),this.__isToolbarStuck=!0),(0,c.css)(e,{top:this.j.o.toolbarStickyOffset||null,width:this.j.container.offsetWidth-2}),this.__dummyBox&&(0,c.css)(this.__dummyBox,{height:e.offsetHeight})}),(0,n._)(this,"removeSticky",e=>{this.__isToolbarStuck&&((0,c.css)(e,{width:"",top:""}),this.j.container.classList.remove("jodit_sticky"),this.__isToolbarStuck=!1)})}}(0,o.__decorate)([(0,s.throttle)()],h.prototype,"__onScroll",null),l.pluginSystem.add("sticky",h)},68294:function(e){e.exports={symbols:"Simbolo"}},68368:function(e){e.exports.default=["Bir şeyler yaz","Jodit Hakkında","Jodit Editor","Jodit Kullanım Kılavuzu","kullanım i\xe7in detaylı bilgiler i\xe7erir","Lisans hakkında bilgi i\xe7in l\xfctfen web sitemize gidin:","Tam versiyonunu satın al","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. T\xfcm hakları saklıdır.","Bağlantı","Yeni sekmede a\xe7","Edit\xf6r\xfc tam ekranda a\xe7","Stili temizle","Renk doldur veya yazı rengi se\xe7","Yinele","Geri Al","Kalın","İtalik","Sırasız Liste Ekle","Sıralı Liste Ekle","Ortala","Kenarlara Yasla","Sola Yasla","Sağa Yasla","Yatay \xc7izgi Ekle","Resim Ekle","Dosya Ekle","Youtube/Vimeo Videosu Ekle","Bağlantı Ekle","Font Boyutu","Font Ailesi","Blok Ekle","Normal","Başlık 1","Başlık 2","Başlık 3","Başlık 4","Alıntı","Kod","Ekle","Tablo Ekle","Girintiyi Azalt","Girintiyi Arttır","\xd6zel Karakter Se\xe7","\xd6zel Karakter Ekle","Resim Bi\xe7imi","Mod Değiştir","Boşluklar","\xdcst","Sağ","Alt","Sol","CSS Stilleri","CSS Sınıfları","Hizalama","Sağ","Ortalı","Sol","Belirsiz","Kaynak","Başlık","Alternatif Yazı","Link","Bağlantıyı yeni sekmede a\xe7","Resim","Dosya","Gelişmiş","Resim \xf6zellikleri","İptal","Tamam","Dosya Listeleyici","Liste y\xfcklenirken hata oluştu","Klas\xf6rler y\xfcklenirken hata oluştur","Emin misiniz?","Dizin yolu giriniz","Dizin oluştur","İsim yaz","Resim bırak","Dosya bırak","veya tıkla","Alternatif yazı","Y\xfckle","G\xf6zat","Arka plan","Yazı","\xdcst","Orta","Aşağı","\xd6ncesine kolon ekle","Sonrasına kolon ekle","\xdcst\xfcne satır ekle","Altına satır ekle","Tabloyu sil","Satırı sil","Kolonu sil","H\xfccreyi temizle","Harfler: %d","Kelimeler: %d","\xdcst\xfc \xe7izili","Alt \xe7izgi","\xdcst yazı","Alt yazı","Se\xe7ilimi kes","T\xfcm\xfcn\xfc se\xe7","Satır sonu","Ara","Şununla değiştir","Değiştir","Yapıştır","Yapıştırılacak i\xe7erik se\xe7","Kaynak","Kalın","italik","Fır\xe7a","Bağlantı","Geri al","Yinele","Tablo","Resim","Silgi","Paragraf","Font boyutu","Video","Font","Hakkında","Yazdır","Alt \xe7izgi","\xdcst\xfc \xe7izili","Girinti","\xc7ıkıntı","Tam ekran","K\xfc\xe7\xfclt","Ayra\xe7","Sırasız liste","Sıralı liste","Kes","T\xfcm\xfcn\xfc se\xe7","Kod ekle","Bağlantıyı a\xe7","Bağlantıyı d\xfczenle","Nofollow \xf6zelliği","Bağlantıyı kaldır","G\xfcncelle","D\xfczenlemek i\xe7in","Yorumu","URL","D\xfczenle","Yatay hizala","Filtre","Değişime g\xf6re sırala","İsme g\xf6re sırala","Boyuta g\xf6re sırala","Klas\xf6r ekle","Sıfırla","Kaydet","Farklı kaydet","Boyutlandır","Kırp","Genişlik","Y\xfckseklik","En boy oranını koru","Evet","Hayır","Sil","Se\xe7","Se\xe7: %s","Dikey hizala","Ayır","Birleştir","Kolon ekle","Satır ekle","Lisans: %s","Sil","Dikey ayır","Yatay ayır","Kenarlık","Kodunuz HTML koduna benziyor. HTML olarak devam etmek ister misiniz?","HTML olarak yapıştır","Sakla","Yazı olarak ekle","Sadece yazıyı ekle","Sadece kendi resimlerinizi d\xfczenleyebilirsiniz. Bu g\xf6rseli kendi hostunuza indirmek ister misiniz?","G\xf6rsel başarıyla hostunuza y\xfcklendi","Palet","Bu dizinde dosya yok","Yeniden isimlendir","Yeni isim girin","\xd6n izleme","İndir","Panodan yapıştır ","Tarayıcınız panoya doğrudan erişimi desteklemiyor.","Se\xe7imi kopyala","Kopyala","Sınır yarı\xe7apı","T\xfcm\xfcn\xfc G\xf6ster","Uygula","L\xfctfen bu alanı doldurun","L\xfctfen bir web adresi girin","Varsayılan","Daire","Nokta","Kare","Bul","\xd6ncekini Bul","Sonrakini Bul","Der Inhalt, den Sie einf\xfcgen, stammt aus einem Microsoft Word / Excel-Dokument. M\xf6chten Sie das Format erhalten oder l\xf6schen?","Word bi\xe7iminde yapıştırma algılandı","Temizle","Sınıf adı girin","\xd6zel yeniden boyutlandırma i\xe7in Alt tuşuna basın",null,null,null,"T\xfcm\xfc"]},68429:function(e){e.exports={Spellcheck:"Дүрмийн алдаа шалгах"}},68502:function(e,t,i){"use strict";i(37102);var n=i(28686),o=i(37427),r=i(75587),s=i(5266);s.Config.prototype.filebrowser={namespace:"",cache:!0,extraButtons:[],filter(e,t){return(t=t.toLowerCase(),(0,n.isString)(e))?-1!==e.toLowerCase().indexOf(t):(0,n.isString)(e.name)?-1!==e.name.toLowerCase().indexOf(t):!(0,n.isString)(e.file)||-1!==e.file.toLowerCase().indexOf(t)},sortBy:"changed-desc",sort(e,t,i){let[r,s]=i.toLowerCase().split("-"),a="asc"===s,l=(e,t)=>t>e?a?-1:1:e>t?a?1:-1:0;if((0,n.isString)(e))return l(e.toLowerCase(),t.toLowerCase());if(void 0===e[r]||"name"===r)return(0,n.isString)(e.name)?l(e.name.toLowerCase(),t.name.toLowerCase()):(0,n.isString)(e.file)?l(e.file.toLowerCase(),t.file.toLowerCase()):0;switch(r){case"changed":{let i=new Date(e.changed).getTime(),n=new Date(t.changed).getTime();return a?i-n:n-i}case"size":{let i=(0,o.humanSizeToBytes)(e.size),n=(0,o.humanSizeToBytes)(t.size);return a?i-n:n-i}}return 0},editImage:!0,preview:!0,showPreviewNavigation:!0,showSelectButtonInPreview:!0,contextMenu:!0,howLongShowMsg:3e3,createNewFolder:!0,deleteFolder:!0,renameFolder:!0,moveFolder:!0,moveFile:!0,permissionsPresets:{allowFileDownload:void 0,allowFileMove:void 0,allowFileRemove:void 0,allowFileRename:void 0,allowFileUpload:void 0,allowFileUploadRemote:void 0,allowFiles:void 0,allowFolderCreate:void 0,allowFolderMove:void 0,allowFolderRemove:void 0,allowFolderRename:void 0,allowFolderTree:void 0,allowFolders:void 0,allowGeneratePdf:void 0,allowImageCrop:void 0,allowImageResize:void 0},showFoldersPanel:!0,storeLastOpenedFolder:!0,width:859,height:400,buttons:["filebrowser.upload","filebrowser.remove","filebrowser.update","filebrowser.select","filebrowser.edit","|","filebrowser.tiles","filebrowser.list","|","filebrowser.filter","|","filebrowser.sort"],removeButtons:[],fullsize:!1,showTooltip:!0,view:null,isSuccess(e){return e.success},getMessage(e){return void 0!==e.data.messages&&(0,n.isArray)(e.data.messages)?e.data.messages.join(" "):""},showFileName:!0,showFileSize:!0,showFileChangeTime:!0,saveStateInStorage:{storeLastOpenedFolder:!0,storeView:!0,storeSortBy:!0},pixelOffsetLoadNewChunk:200,getThumbTemplate(e,t,i){let n=this.options,o=this.files.getFullElName("item"),r=n.showFileName,s=n.showFileSize&&e.size,a=n.showFileChangeTime&&e.time,l="";void 0!==e.file&&(l=e.file);let c=`<div class="${o}-info">${r?`<span class="${o}-info-filename">${l}</span>`:""}${s?`<span class="${o}-info-filesize">${e.size}</span>`:""}${a?`<span class="${o}-info-filechanged">${a}</span>`:""}</div>`;return`<a
201
+ </div>`}get currentIndex(){return this._currentIndex}set currentIndex(e){this._currentIndex=e,this.currentBox.innerText=e.toString()}set count(e){this.countBox.innerText=e.toString()}get query(){return this.queryInput.value}get replace(){return this.replaceInput.value}onEditorKeyDown(e){if(!this.isOpened)return;let{j:t}=this;if(t.getRealMode()===r.MODE_WYSIWYG)switch(e.key){case r.KEY_ESC:this.close();break;case r.KEY_F3:this.queryInput.value&&(t.e.fire(e.shiftKey?"searchPrevious":"searchNext"),e.preventDefault())}}open(e,t,i=!1){this.isOpened||(this.j.workplace.appendChild(this.container),this.isOpened=!0),this.calcSticky(this.j.e.fire("getStickyState.sticky")||!1),this.j.e.fire("hidePopup"),this.setMod("replace",i);let n=null!=e?e:(this.j.s.sel||"").toString();n&&(this.queryInput.value=n),t&&(this.replaceInput.value=t),this.setMod("empty-query",!n.length),this.j.e.fire(this,"needUpdateCounters"),n?this.queryInput.select():this.queryInput.focus()}close(){this.isOpened&&(this.j.s.restore(),a.Dom.safeRemove(this.container),this.isOpened=!1,this.j.e.fire(this,"afterClose"))}calcSticky(e){if(this.isOpened)if(this.setMod("sticky",e),e){let e=(0,l.position)(this.j.toolbarContainer);(0,l.css)(this.container,{top:e.top+e.height,left:e.left+e.width})}else(0,l.css)(this.container,{top:null,left:null})}constructor(e){super(e),(0,n._)(this,"queryInput",void 0),(0,n._)(this,"replaceInput",void 0),(0,n._)(this,"selInfo",null),(0,n._)(this,"closeButton",void 0),(0,n._)(this,"replaceButton",void 0),(0,n._)(this,"currentBox",void 0),(0,n._)(this,"countBox",void 0),(0,n._)(this,"_currentIndex",0),(0,n._)(this,"isOpened",!1);const{query:t,replace:i,cancel:o,next:s,prev:a,replaceBtn:c,current:u,count:d}=(0,l.refs)(this.container);this.queryInput=t,this.replaceInput=i,this.closeButton=o,this.replaceButton=c,this.currentBox=u,this.countBox=d,e.e.on(this.closeButton,"pointerdown",()=>(this.close(),!1)).on(this.queryInput,"input",()=>{this.currentIndex=0}).on(this.queryInput,"pointerdown",()=>{e.s.isFocused()&&(e.s.removeMarkers(),this.selInfo=e.s.save())}).on(this.replaceButton,"pointerdown",()=>(e.e.fire(this,"pressReplaceButton"),!1)).on(s,"pointerdown",()=>(e.e.fire("searchNext"),!1)).on(a,"pointerdown",()=>(e.e.fire("searchPrevious"),!1)).on(this.queryInput,"input",()=>{this.setMod("empty-query",!(0,l.trim)(this.queryInput.value).length)}).on(this.queryInput,"keydown",this.j.async.debounce(async t=>{t.key===r.KEY_ENTER?(t.preventDefault(),t.stopImmediatePropagation(),await e.e.fire("searchNext")&&this.close()):e.e.fire(this,"needUpdateCounters")},this.j.defaultTimeout))}}(0,o.__decorate)([(0,s.watch)([":keydown","queryInput:keydown"])],u.prototype,"onEditorKeyDown",null),(0,o.__decorate)([s.autobind],u.prototype,"open",null),(0,o.__decorate)([s.autobind],u.prototype,"close",null),(0,o.__decorate)([(0,s.watch)(":toggleSticky")],u.prototype,"calcSticky",null),u=(0,o.__decorate)([s.component],u)},58354:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(23211),a=i(28077),l=i(65946),c=i(91206);i(87908);var u=i(5070);class d extends c.Plugin{afterInit(e){(0,l.css)(e.editor,{lineHeight:e.o.defaultLineHeight}),e.registerCommand("applyLineHeight",this.applyLineHeight)}applyLineHeight(e,t,i){let n,{s:o,createInside:r,editor:a,o:c}=this.j;o.isFocused()||o.focus(),o.save();let u=e=>{let t=s.Dom.closest(e,s.Dom.isBlock,a);t||(t=s.Dom.wrap(e,c.enter,r));let o=(0,l.css)(t,"lineHeight");void 0===n&&(n=o.toString()!==i.toString()),(0,l.css)(t,"lineHeight",n?i:null)};try{if(o.isCollapsed()){let e=r.fake();o.insertNode(e,!1,!1),u(e),s.Dom.safeRemove(e)}else o.eachSelection(u)}finally{o.restore()}}beforeDestruct(e){(0,l.css)(e.editor,{lineHeight:null})}constructor(e){super(e),(0,n._)(this,"buttons",[{name:"lineHeight",group:"font"}]),(0,a.extendLang)(u)}}(0,o.__decorate)([r.autobind],d.prototype,"applyLineHeight",null),a.pluginSystem.add("lineHeight",d)},58446:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 1184q0 13-10 23l-50 50q-10 10-23 10t-23-10l-393-393-393 393q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l466 466q10 10 10 23z"/> </svg>'},58585:function(e){e.exports={symbols:"符号"}},58664:function(e,t,i){"use strict";i.d(t,{FileBrowserItem:function(){return r}});var n=i(25045),o=i(65946);class r{static create(e){return e instanceof r?e:new r(e)}get path(){return(0,o.normalizePath)(this.data.source.path?this.data.source.path+"/":"/")}get imageURL(){let e=this.time||new Date().getTime().toString(),{thumbIsAbsolute:t,source:i,thumb:n,file:r}=this.data,s=n||r;return t&&s?s:(0,o.normalizeUrl)(i.baseurl,i.path,s||"")+"?_tmst="+encodeURIComponent(e)}get fileURL(){let{name:e}=this.data,{file:t,fileIsAbsolute:i,source:n}=this.data;return void 0!==t&&(e=t),i&&e?e:(0,o.normalizeUrl)(n.baseurl,n.path,e||"")}get time(){let{changed:e}=this.data;return e&&("number"==typeof e?new Date(e).toLocaleString():e)||""}get uniqueHashKey(){let e=this.data;return[e.sourceName,e.name,e.file,this.time,e.thumb].join("_").toLowerCase().replace(/[^0-9a-z\-.]/g,"-")}toJSON(){return this.data}constructor(e){(0,n._)(this,"data",void 0),(0,n._)(this,"source",void 0),(0,n._)(this,"sourceName",void 0),(0,n._)(this,"type",void 0),this.data=e,Object.keys(e).forEach(t=>{this[t]=e[t]})}}},58881:function(e,t,i){"use strict";i.d(t,{checkRemoveChar:function(){return function e(t,i,s,l){var c,u,d,h;let p,m=s?-1:1,f=o.Dom.sibling(i,!s),g=o.Dom.sibling(i,s),v=null,_=!1;for(g||(g=a(i,s,t.editor));g&&(o.Dom.isText(g)||o.Dom.isInlineBlock(g));){for(;o.Dom.isInlineBlock(g);)g=s?null==g?void 0:g.lastChild:null==g?void 0:g.firstChild;if(!g)break;if((null==(c=g.nodeValue)?void 0:c.length)&&(p=function(e,t,i,s){let a=(0,r.toArray)(e.nodeValue),l=a.length,c=t?l-1:0;if(a[c]===n.INVISIBLE_SPACE)for(;a[c]===n.INVISIBLE_SPACE;)c+=i;let u=a[c];if(a[c+i]===n.INVISIBLE_SPACE){for(c+=i;a[c]===n.INVISIBLE_SPACE;)c+=i;c+=t?1:-1}return a=t&&c<0?[]:a.slice(t?0:c+1,t?c:l),function(e,t,i){var s;if(!e||!o.Dom.isText(e)||(!t?/ $/:/^ /).test(null!=(s=e.nodeValue)?s:"")||!(0,r.trimInv)(e.nodeValue||"").length)for(let e=t?i.length-1:0;t?e>=0:e<i.length;e+=t?-1:1)if(" "===i[e])i[e]=n.NBSP_SPACE;else break}(s,t,a),e.nodeValue=a.join(""),u}(g,s,m,f),!g.nodeValue.length&&o.Dom.isInlineBlock(g.parentNode)&&(g.nodeValue=n.INVISIBLE_SPACE)),(null==(u=g.nodeValue)?void 0:u.length)||(v=g),!(0,r.isVoid)(p)&&p!==n.INVISIBLE_SPACE){d=g,h=p,(0,r.call)(s?o.Dom.after:o.Dom.before,d,i),("sentence"===l||"word"===l&&" "!==h&&h!==n.NBSP_SPACE)&&e(t,i,s,l),_=!0;break}let b=a(g,s,t.editor);v&&(o.Dom.safeRemove(v),v=null),g=b}return v&&(o.Dom.safeRemove(v),v=null),_&&(function(e){let t=e.parentElement;for(;t&&o.Dom.isInlineBlock(t)&&o.Dom.isTag(t,"a");){let i=t.parentElement;o.Dom.isEmpty(t)&&(o.Dom.after(t,e),o.Dom.safeRemove(t)),t=i}}(i),i.parentElement!==t.editor&&o.Dom.isBlock(i.parentElement)&&o.Dom.each(i.parentElement,o.Dom.isEmptyTextNode)&&o.Dom.after(i,t.createInside.element("br")),t.s.setCursorBefore(i),o.Dom.isTag(i.previousSibling,"br")&&!o.Dom.findNotEmptySibling(i,!1)&&o.Dom.after(i,t.createInside.element("br"))),_}}});var n=i(81937),o=i(27795),r=i(65946),s=i(15200);function a(e,t,i){let n=o.Dom.sibling(e,t);return!n&&e.parentNode&&e.parentNode!==i&&(n=(0,s.findMostNestedNeighbor)(e,!t,i,!0)),n}},58910:function(e,t,i){"use strict";var n=i(25045),o=i(23211),r=i(28077),s=i(71125),a=i(91206),l=i(29434),c=i(5266),u=i(93267),d=i.n(u);c.Config.prototype.controls.classSpan={command:"applyClassName",exec:s.memorizeExec,list:["enabled","disabled","activated","text-left","text-center","text-right","warning","error"],isChildActive:(e,t)=>{let i=e.s.current();if(i){let n=o.Dom.closest(i,o.Dom.isElement,e.editor)||e.editor;return!!(t.control.args&&n.classList.contains(t.control.args[0].toString()))}return!1},isActive:(e,t)=>{let i=e.s.current();if(i){let n=o.Dom.closest(i,o.Dom.isElement,e.editor)||e.editor,r=!1;return t.control.list&&Object.keys(t.control.list).forEach(e=>{n.classList.contains(e)&&(r=!0)}),!!(n&&n!==e.editor&&void 0!==t.control.list&&r)}return!1},childTemplate:(e,t,i)=>`<span class="${t}">${e.i18n(i)}</span>`,tooltip:"Insert className"};class h extends a.Plugin{afterInit(e){e.registerCommand("applyClassName",(t,i,n)=>(e.s.commitStyle({attributes:{class:n}}),!1))}beforeDestruct(){}constructor(...e){super(...e),(0,n._)(this,"buttons",[{name:"classSpan",group:"script"}])}}r.pluginSystem.add("classSpan",h),l.Icon.set("class-span",d())},59276:function(e,t,i){"use strict";i.d(t,{SentenceFinder:function(){return r}});var n=i(25045),o=i(57626);class r{add(e){var t;let i=(null!=(t=e.nodeValue)?t:"").toLowerCase();if(!i.length)return;let n=this.value.length;this.queue.push({startIndex:n,endIndex:n+i.length,node:e}),this.value+=i}ranges(e,t=0){let i=[],n=t,o=0,r=0;do if([n,o]=this.searchIndex(e,this.value,n),-1!==n){let e,t=0,s,a=0;for(let i=r;i<this.queue.length;i+=1)if(!e&&this.queue[i].endIndex>n&&(e=this.queue[i].node,t=n-this.queue[i].startIndex),e&&this.queue[i].endIndex>=n+o){s=this.queue[i].node,a=n+o-this.queue[i].startIndex,r=i;break}e&&s&&i.push({startContainer:e,startOffset:t,endContainer:s,endOffset:a}),n+=o}while(-1!==n);return 0===i.length?null:i}constructor(e=o.fuzzySearchIndex){(0,n._)(this,"searchIndex",void 0),(0,n._)(this,"queue",void 0),(0,n._)(this,"value",void 0),this.searchIndex=e,this.queue=[],this.value=""}}},59399:function(e,t){"use strict";t.default=["bold","italic","|","ul","ol","eraser","|","fontsize","brush","paragraph","---","image","table","\n","link","|","align","|","undo","redo","|","copyformat","fullsize","---","dots"]},59400:function(e,t,i){"use strict";i.d(t,{Button:function(){return n.Button},UIButton:function(){return n.UIButton},UIButtonGroup:function(){return o.UIButtonGroup},UIButtonState:function(){return n.UIButtonState},UITooltip:function(){return r.UITooltip}});var n=i(53681),o=i(15367),r=i(95399)},59488:function(e){e.exports={symbols:"Symbol"}},59609:function(e,t,i){"use strict";i.d(t,{ViewComponent:function(){return r}});var n=i(25045),o=i(80251);class r extends o.Component{get j(){return this.jodit}get defaultTimeout(){return this.j.defaultTimeout}i18n(e,...t){return this.j.i18n(e,...t)}setParentView(e){return this.jodit=e,e.components.add(this),this}destruct(){return this.j.components.delete(this),super.destruct()}constructor(e){super(),(0,n._)(this,"jodit",void 0),this.setParentView(e)}}},59758:function(e,t,i){"use strict";var n=i(25045),o=i(81937),r=i(28077),s=i(18855),a=i(29434),l=i(5266),c=i(34045),u=i.n(c),d=i(39199),h=i.n(d);a.Icon.set("redo",u()).set("undo",h()),l.Config.prototype.controls.redo={mode:o.MODE_SPLIT,isDisabled:e=>!e.history.canRedo(),tooltip:"Redo"},l.Config.prototype.controls.undo={mode:o.MODE_SPLIT,isDisabled:e=>!e.history.canUndo(),tooltip:"Undo"};class p extends s.Plugin{beforeDestruct(){}afterInit(e){let t=t=>(e.history[t](),!1);e.registerCommand("redo",{exec:t,hotkeys:["ctrl+y","ctrl+shift+z","cmd+y","cmd+shift+z"]}),e.registerCommand("undo",{exec:t,hotkeys:["ctrl+z","cmd+z"]})}constructor(...e){super(...e),(0,n._)(this,"buttons",[{name:"undo",group:"history"},{name:"redo",group:"history"}])}}r.pluginSystem.add("redoUndo",p)},59807:function(e,t,i){"use strict";i.d(t,{LocalStorageProvider:function(){return r},canUsePersistentStorage:function(){return o}});var n=i(25045);let o=(e="localStorage")=>{let t=new Map;if(t.has(e))return t.get(e);let i="___Jodit___"+Math.random().toString(),n="sessionStorage"===e?sessionStorage:localStorage;try{n.setItem(i,"1");let o="1"===n.getItem(i);return n.removeItem(i),t.set(e,o),o}catch(e){}return t.set(e,!1),!1};class r{get storage(){return"sessionStorage"===this.strategy?sessionStorage:localStorage}set(e,t){try{let i=this.storage.getItem(this.rootKey),n=i?JSON.parse(i):{};n[e]=t,this.storage.setItem(this.rootKey,JSON.stringify(n))}catch(e){}return this}delete(e){try{this.storage.removeItem(this.rootKey)}catch(e){}return this}get(e){try{let t=this.storage.getItem(this.rootKey),i=t?JSON.parse(t):{};return void 0!==i[e]?i[e]:void 0}catch(e){}}exists(e){return null!=this.get(e)}clear(){try{this.storage.removeItem(this.rootKey)}catch(e){}return this}constructor(e,t="localStorage"){(0,n._)(this,"rootKey",void 0),(0,n._)(this,"strategy",void 0),this.rootKey=e,this.strategy=t}}},59827:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M448 1536h896v-256h-896v256zm0-640h896v-384h-160q-40 0-68-28t-28-68v-160h-640v640zm1152 64q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128 0v416q0 13-9.5 22.5t-22.5 9.5h-224v160q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-160h-224q-13 0-22.5-9.5t-9.5-22.5v-416q0-79 56.5-135.5t135.5-56.5h64v-544q0-40 28-68t68-28h672q40 0 88 20t76 48l152 152q28 28 48 76t20 88v256h64q79 0 135.5 56.5t56.5 135.5z"/> </svg>'},59841:function(e,t,i){"use strict";i.d(t,{CommitStyle:function(){return o.CommitStyle},Selection:function(){return n.Selection}});var n=i(98595),o=i(84578)},59903:function(e){e.exports={Spellcheck:"Oikeinkirjoituksen tarkistus"}},59985:function(e){e.exports={Spellcheck:"Helyes\xedr\xe1s-ellenőrz\xe9s"}},60162:function(e,t,i){"use strict";var n=i(36400),o=i(29434),r=i(5266),s=i(40037),a=i.n(s),l=i(83207),c=i.n(l);let u=(e,t,{control:i})=>{var o;let r=`button${i.command}`,s=null!=(o=i.args&&i.args[0])?o:(0,n.dataBind)(e,r);(0,n.dataBind)(e,r,s),e.execCommand(i.command,!1,"default"===s?null:s)};o.Icon.set("ol",a()).set("ul",c()),r.Config.prototype.controls.ul={command:"insertUnorderedList",tags:["ul"],tooltip:"Insert Unordered List",list:{default:"Default",circle:"Circle",disc:"Dot",square:"Quadrate"},exec:u},r.Config.prototype.controls.ol={command:"insertOrderedList",tags:["ol"],tooltip:"Insert Ordered List",list:{default:"Default","lower-alpha":"Lower Alpha","lower-greek":"Lower Greek","lower-roman":"Lower Roman","upper-alpha":"Upper Alpha","upper-roman":"Upper Roman"},exec:u}},60216:function(e,t,i){"use strict";i.d(t,{Eventify:function(){return o}});var n=i(25045);class o{on(e,t){var i;return this.__map.has(e)||this.__map.set(e,new Set),null==(i=this.__map.get(e))||i.add(t),this}off(e,t){if(this.__map.has(e)){var i;null==(i=this.__map.get(e))||i.delete(t)}return this}destruct(){this.__map.clear()}emit(e,...t){let i;if(this.__map.has(e)){var n;null==(n=this.__map.get(e))||n.forEach(e=>{i=e(...t)})}return i}constructor(){(0,n._)(this,"__map",new Map)}}},60636:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-896q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h896q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-640q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h640q26 0 45 19t19 45z"/> </svg>'},60898:function(e,t,i){"use strict";i.d(t,{inView:function(){return o},scrollIntoViewIfNeeded:function(){return r}});var n=i(23211);function o(e,t,i){let n=e.getBoundingClientRect(),o=e,r=n.top,s=n.height;for(;o&&o!==t&&o.parentNode;)if(!(r<=(n=(o=o.parentNode).getBoundingClientRect()).bottom)||r+s<=n.top)return!1;return r<=(i.documentElement&&i.documentElement.clientHeight||0)}function r(e,t,i){n.Dom.isHTMLElement(e)&&!o(e,t,i)&&(t.clientHeight!==t.scrollHeight&&(t.scrollTop=e.offsetTop),o(e,t,i)||e.scrollIntoView())}},60936:function(e,t,i){"use strict";i.r(t),i.d(t,{Ajax:function(){return p.Ajax},Alert:function(){return s.Alert},Async:function(){return l.Async},AsyncStorage:function(){return D.AsyncStorage},Button:function(){return m.Button},CommitStyle:function(){return x.CommitStyle},Component:function(){return n.Component},Confirm:function(){return s.Confirm},ContextMenu:function(){return r.ContextMenu},Create:function(){return c.Create},Dialog:function(){return s.Dialog},Dom:function(){return u.Dom},EventEmitter:function(){return d.EventEmitter},EventHandlersStore:function(){return d.EventHandlersStore},Eventify:function(){return d.Eventify},FileBrowser:function(){return a.FileBrowser},Helpers:function(){return o},History:function(){return v.History},Icon:function(){return m.Icon},ImageEditor:function(){return b.ImageEditor},IndexedDBProvider:function(){return D.IndexedDBProvider},LazyWalker:function(){return u.LazyWalker},LocalStorageProvider:function(){return D.LocalStorageProvider},MemoryStorageProvider:function(){return D.MemoryStorageProvider},Plugin:function(){return h.Plugin},PluginSystem:function(){return T.PluginSystem},Popup:function(){return m.Popup},ProgressBar:function(){return m.ProgressBar},Prompt:function(){return s.Prompt},Response:function(){return p.Response},STATUSES:function(){return n.STATUSES},Selection:function(){return x.Selection},Snapshot:function(){return _.Snapshot},StatusBar:function(){return S.StatusBar},Storage:function(){return D.Storage},StorageKey:function(){return D.StorageKey},Table:function(){return w.Table},ToolbarButton:function(){return C.ToolbarButton},ToolbarCollection:function(){return k.ToolbarCollection},ToolbarContent:function(){return C.ToolbarContent},ToolbarEditorCollection:function(){return E.ToolbarEditorCollection},ToolbarSelect:function(){return C.ToolbarSelect},UIBlock:function(){return m.UIBlock},UIButton:function(){return m.UIButton},UIButtonGroup:function(){return m.UIButtonGroup},UIButtonState:function(){return m.UIButtonState},UICheckbox:function(){return m.UICheckbox},UIElement:function(){return m.UIElement},UIFileInput:function(){return m.UIFileInput},UIForm:function(){return m.UIForm},UIGroup:function(){return m.UIGroup},UIInput:function(){return m.UIInput},UIList:function(){return m.UIList},UIMessages:function(){return y.UIMessages},UISelect:function(){return m.UISelect},UISeparator:function(){return m.UISeparator},UISpacer:function(){return m.UISpacer},UITextArea:function(){return m.UITextArea},UITooltip:function(){return m.UITooltip},Uploader:function(){return I.Uploader},View:function(){return f.View},ViewComponent:function(){return n.ViewComponent},ViewWithToolbar:function(){return g.ViewWithToolbar},canUseIndexedDB:function(){return D.canUseIndexedDB},canUsePersistentStorage:function(){return D.canUsePersistentStorage},clearUseIndexedDBCache:function(){return D.clearUseIndexedDBCache},defaultNameSpace:function(){return d.defaultNameSpace},observable:function(){return d.observable}});var n=i(16964),o=i(65946),r=i(67399),s=i(37333),a=i(17610),l=i(91231),c=i(79821),u=i(27795),d=i(1496),h=i(91206),p=i(73714),m=i(4099),f=i(35099),g=i(2222),v=i(53855),_=i(46363),b=i(43271),y=i(10081),S=i(29433),w=i(98803),C=i(39709),k=i(42573),E=i(6209),I=i(94925),T=i(85305),x=i(59841),D=i(25222)},61077:function(e,t,i){"use strict";i.d(t,{clearTimeout:function(){return n.clearTimeout},setTimeout:function(){return n.setTimeout}});var n=i(79947)},61334:function(e,t,i){"use strict";var n=i(27795),o=i(7909),r=i(33201),s=i(29434),a=i(31125),l=i(66206),c=i(18272),u=i(1305),d=i(53202),h=i(43271);let p="jodit-file-browser-preview",m=(e="next",t="right")=>`<div class="${p}__navigation ${p}__navigation_arrow_${e}">`+s.Icon.get("angle-"+t)+"</a>";t.default=e=>{if(!e.o.contextMenu)return()=>{};let t=(0,c.makeContextMenu)(e);return i=>{let s=(0,l.getItem)(i.target,e.container);if(!s)return;let c=s,f=e.options,g=e=>(0,o.attr)(c,e)||"";return e.async.setTimeout(()=>{let o=(0,l.elementToItem)(s,(0,a.elementsMap)(e));o&&(e.state.activeElements=[o],t.show(i.clientX,i.clientY,[!!("1"!==g("data-is-file")&&f.editImage&&(e.dataProvider.canI("ImageResize")||e.dataProvider.canI("ImageCrop")))&&{icon:"pencil",title:"Edit",exec:()=>h.openImageEditor.call(e,g("href"),g("data-name"),g("data-path"),g("data-source"))},!!e.dataProvider.canI("FileRename")&&{icon:"italic",title:"Rename",exec:()=>{e.e.fire("fileRename.filebrowser",g("data-name"),g("data-path"),g("data-source"))}},!!e.dataProvider.canI("FileRemove")&&{icon:"bin",title:"Delete",exec:async()=>{try{await (0,u.deleteFile)(e,g("data-name"),g("data-source"))}catch(t){return e.status(t)}return e.state.activeElements=[],(0,d.loadTree)(e).catch(e.status)}},!!f.preview&&{icon:"eye",title:"Preview",exec:()=>{let t=e.dlg({buttons:["fullsize","dialog.close"]}),i=e.c.div(p,'<div class="jodit-icon_loader"></div>'),o=e.c.div(p+"__box"),s=e.c.fromHTML(m()),a=e.c.fromHTML(m("prev","left")),l=r=>{let l=e.c.element("img");l.setAttribute("src",r);let u=()=>{var r;e.isInDestruct||(e.e.off(l,"load"),n.Dom.detach(i),f.showPreviewNavigation&&(n.Dom.prevWithClass(c,e.files.getFullElName("item"))&&i.appendChild(a),n.Dom.nextWithClass(c,e.files.getFullElName("item"))&&i.appendChild(s)),i.appendChild(o),o.appendChild(l),t.setPosition(),null==e||null==(r=e.events)||r.fire("previewOpenedAndLoaded"))};e.e.on(l,"load",u),l.complete&&u()};e.e.on([s,a],"click",function(){if(!(c=this===s?n.Dom.nextWithClass(c,e.files.getFullElName("item")):n.Dom.prevWithClass(c,e.files.getFullElName("item"))))throw(0,r.error)("Need element");n.Dom.detach(i),n.Dom.detach(o),i.innerHTML='<div class="jodit-icon_loader"></div>',l(g("href"))}),e.e.on("beforeDestruct",()=>{t.destruct()}),t.container.classList.add(p+"__dialog"),t.setContent(i),t.setPosition(),t.open(),l(g("href")),e.events.on("beforeDestruct",()=>{t.destruct()}).fire("previewOpened")}},{icon:"upload",title:"Download",exec:()=>{let t=g("href");t&&e.ow.open(t)}}]))},e.defaultTimeout),e.e.on("beforeClose",()=>{t.close()}).on("beforeDestruct",()=>t.destruct()),i.stopPropagation(),i.preventDefault(),!1}}},61466:function(e,t,i){"use strict";i.d(t,{UIMessage:function(){return s}});var n=i(31635),o=i(91672),r=i(4099);class s extends r.UIElement{className(){return"UIMessage"}constructor(e,t){super(e),this.setMod("active",!0),this.setMod("variant",t.variant),this.container.textContent=t.text}}s=(0,n.__decorate)([o.component],s)},61764:function(e,t,i){"use strict";i.d(t,{ToolbarSelect:function(){return l}});var n=i(31635),o=i(84839),r=i(62101),s=i(85932),a=i(22533);class l extends a.ToolbarButton{className(){return"ToolbarSelect"}update(){super.update(),this.state.icon.name="";let{list:e,data:t}=this.control;if(e){var i,n,o;let a=this.state.value||(t&&(0,s.isString)(t.currentValue)?t.currentValue:void 0);a||(a=Object.keys(e)[0]);let l=((0,r.isPlainObject)(e)&&e[a.toString()]||a).toString();this.state.text=null!=(i=null==(n=(o=this.control).textTemplate)?void 0:n.call(o,this.jodit,l))?i:l}}}l=(0,n.__decorate)([o.component],l)},62101:function(e,t,i){"use strict";i.d(t,{isPlainObject:function(){return o}});var n=i(3513);function o(e){return!(!e||"object"!=typeof e||e.nodeType||(0,n.isWindow)(e))&&!(e.constructor&&!({}).hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))}},62327:function(e){e.exports.default=["Kirjoita jotain...","Tietoja Jodit:ista","Jodit Editor","Jodit k\xe4ytt\xe4j\xe4n ohje","sis\xe4lt\xe4\xe4 tarkempaa tietoa k\xe4ytt\xe4miseen","Tietoa lisensoinnista, vieraile verkkosivuillamme:","Osta t\xe4ysi versio","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Kaikki oikeudet pid\xe4tet\xe4\xe4n.","Ankkuri","Avaa uudessa v\xe4lilehdess\xe4","Avaa t\xe4ysikokoisena","Poista muotoilu","T\xe4yt\xe4 v\xe4rill\xe4 tai aseta tekstin v\xe4ri","Tee uudelleen","Peruuta","Lihavoitu","Kursiivi","Lis\xe4\xe4 j\xe4rjest\xe4m\xe4t\xf6n lista","Lis\xe4\xe4 j\xe4rjestetty lista","Asemoi keskelle","Asemoi tasav\xe4lein","Asemoi vasemmalle","Asemoi oikealle","Lis\xe4\xe4 vaakasuuntainen viiva","Lis\xe4\xe4 kuva","Lis\xe4\xe4 tiedosto","Lis\xe4\xe4 Youtube-/vimeo- video","Lis\xe4\xe4 linkki","Kirjasimen koko","Kirjasimen nimi","Lis\xe4\xe4 muotoilualue","Normaali","Otsikko 1","Otsikko 2","Otsikko 3","Otsikko 4","Lainaus","Koodi","Lis\xe4\xe4","Lis\xe4\xe4 taulukko","Pienenn\xe4 sisennyst\xe4","Lis\xe4\xe4 sisennyst\xe4","Valitse erikoismerkki","Lis\xe4\xe4 erikoismerkki","Maalaa muotoilu","Vaihda tilaa","Marginaalit","yl\xf6s","oikealle","alas","vasemmalle","CSS-tyylit","CSS-luokat","Asemointi","Oikea","Keskell\xe4","Vasen","--Ei asetettu--","Fuente","Otsikko","Vaihtoehtoinen teksti","Linkki","Avaa uudessa v\xe4lilehdess\xe4","Kuva","Tiedosto","Avanzado","Kuvan ominaisuudet","Peruuta","Ok","Tiedostoselain","Virhe listan latauksessa","Virhe kansioiden latauksessa","Oletko varma?","Sy\xf6t\xe4 hakemiston nimi","Luo hakemisto","Sy\xf6t\xe4 nimi","Pudota kuva","Pudota tiedosto","tai klikkaa","Vaihtoehtoinen teksti","Lataa","Selaa","Tausta","Teksti","Yl\xf6s","Keskelle","Alas","Lis\xe4\xe4 sarake ennen","Lis\xe4\xe4 sarake j\xe4lkeen","Lis\xe4\xe4 rivi yl\xf6s","Lis\xe4\xe4 rivi alle","Poista taulukko","Poista rivi","Poista sarake","Tyhjenn\xe4 solu","Merkit: %d","Sanat: %d","Yliviivaus","Alleviivaus","yl\xe4viite","alaviite","Leikkaa valinta","Valitse kaikki","Vaihto","Etsi arvoa","Korvaa arvolla","Korvaa","Liit\xe4","Valitse liitett\xe4v\xe4 sis\xe4lt\xf6","HTML","lihavoitu","kursiivi","sivellin","linkki","peruuta","tee uudelleen","taulukko","kuva","pyyhekumi","kappale","tekstin koko","video","kirjasin","tietoja","tulosta","alleviivaa","yliviivaa","sisenn\xe4","pienenn\xe4 sisennyst\xe4","t\xe4ysikokoinen","pienenn\xe4","vaakaviiva","j\xe4rjestetty lista","j\xe4rjest\xe4m\xe4t\xf6n lista","leikkaa","valitse kaikki","Sis\xe4llyt\xe4 koodi","Avaa linkki","Muokkaa linkki\xe4","\xc4l\xe4 seuraa","Pura linkki","P\xe4ivit\xe4","Muokkaa","Ver","URL","Muokkaa","Vaaka-asemointi","Suodatin","J\xe4rjest\xe4 muuttuneilla","J\xe4rjest\xe4 nimell\xe4","J\xe4rjest\xe4 koolla","Lis\xe4\xe4 kansio","Nollaa","Tallenna","Tallenna nimell\xe4 ...","Muuta kokoa","Rajaa","Leveys","Korkeus","S\xe4ilyt\xe4 kuvasuhde","Kyll\xe4","Ei","Poista","Valitse","Valitse: %s","Pystyasemointi","Jaa","Yhdist\xe4","Lis\xe4\xe4 sarake","Lis\xe4\xe4 rivi","Lisenssi: %s","Poista","Jaa pystysuuntaisesti","Jaa vaakasuuntaisesti","Reuna","Koodi on HTML:n tapaista. S\xe4ilytet\xe4\xe4nk\xf6 HTML?","Liit\xe4 HTML:n\xe4?","S\xe4ilyt\xe4","Lis\xe4\xe4 tekstin\xe4","Lis\xe4\xe4 vain teksti","Voit muokata vain omia kuvia. Lataa t\xe4m\xe4 kuva palvelimelle?","Kuva on onnistuneesti ladattu palvelimelle!","paletti","Tiedostoja ei ole","Nime\xe4 uudelleen","Sy\xf6t\xe4 uusi nimi","esikatselu","Lataa","Liit\xe4 leikep\xf6yd\xe4lt\xe4","Selaimesi ei tue suoraa p\xe4\xe4sy\xe4 leikep\xf6yd\xe4lle.","Kopioi valinta","kopioi","Reunan py\xf6ristys","N\xe4yt\xe4 kaikki","K\xe4yt\xe4","T\xe4yt\xe4 t\xe4m\xe4 kentt\xe4","Annan web-osoite","Oletus","Ympyr\xe4","Piste","Neli\xf6","Hae","Hae edellinen","Hae seuraava","Liitetty sis\xe4lt\xf6 tulee Microsoft Word-/Excel- tiedostosta. Haluatko s\xe4ilytt\xe4\xe4 muotoilun vai poistaa sen?","Word liitt\xe4minen havaittu","Tyhjenn\xe4","Lis\xe4\xe4 luokkanimi","Paina Alt muokattuun koon muuttamiseen",null,null,null,"Kaikki"]},62623:function(e,t,i){"use strict";i.d(t,{FileBrowser:function(){return C}});var n=i(25045),o=i(31635),r=i(16964),s=i(81937),a=i(84839),l=i(68616),c=i(1496),u=i(65946),d=i(25222),h=i(80512),p=i(2222),m=i(5266);i(68502);var f=i(1488),g=i(53202),v=i(34269),_=i(36664),b=i(74833),y=i(17780),S=i(18272),w=i(63425);class C extends p.ViewWithToolbar{className(){return"FileBrowser"}get dataProvider(){return(0,S.makeDataProvider)(this,this.options)}onSelect(e){return()=>{if(this.state.activeElements.length){let t=[],i=[];this.state.activeElements.forEach(e=>{let n=e.fileURL;n&&(t.push(n),i.push(e.isImage||!1))}),this.close(),(0,u.isFunction)(e)&&e({baseurl:"",files:t,isImages:i}),this.close()}return!1}}get _dialog(){var e;let t=this.dlg({minWidth:Math.min(700,screen.width),minHeight:300,buttons:null!=(e=this.o.headerButtons)?e:["fullsize","dialog.close"]});return["beforeClose","afterClose","beforeOpen"].forEach(e=>t.events.on(t,e,()=>this.e.fire(e))),t.setSize(this.o.width,this.o.height),t}get storage(){return d.Storage.makeStorage(!!this.o.saveStateInStorage,this.componentName)}get isOpened(){return this._dialog.isOpened&&"none"!==this.browser.style.display}status(e,t){!e||(0,u.isAbortError)(e)||((0,u.isString)(e)||(e=e.message),(0,u.isString)(e)&&(0,u.trim)(e).length&&this.message.message(e,t?"success":"error",this.o.howLongShowMsg))}open(e=this.o.defaultCallback,t=!1){return this.state.onlyImages=t,this.async.promise((t,i)=>{var n;if(!this.o.items||!this.o.items.url)throw(0,u.error)("Need set options.filebrowser.ajax.url");let o=0;this.e.off(this.files.container,"dblclick").on(this.files.container,"dblclick",this.onSelect(e)).on(this.files.container,"touchstart",()=>{let t=new Date().getTime();t-o<s.EMULATE_DBLCLICK_TIMEOUT&&this.onSelect(e)(),o=t}).off("select.filebrowser").on("select.filebrowser",this.onSelect(e));let r=this.c.div();null==(n=this.toolbar)||n.appendTo(r),this.__updateToolbarButtons(),this._dialog.open(this.browser,r),this.e.fire("sort.filebrowser",this.state.sortBy),(0,g.loadTree)(this).then(t,i).finally(()=>{var e;this.isInDestruct||null===this||void 0===this||null==(e=this.e)||e.fire("fileBrowserReady.filebrowser")})}).catch(e=>{if(!(0,u.isAbortError)(e)&&!s.IS_PROD)throw e})}__getButtons(){var e;return(null!=(e=this.o.buttons)?e:[]).filter(e=>{if(!(0,u.isString)(e))return!0;switch(e){case"filebrowser.upload":return this.dataProvider.canI("FileUpload");case"filebrowser.edit":return this.dataProvider.canI("ImageResize")||this.dataProvider.canI("ImageCrop");case"filebrowser.remove":return this.dataProvider.canI("FileRemove")}return!0})}initUploader(e){var t;let i=this,n=null==e||null==(t=e.options)?void 0:t.uploader,o=(0,u.ConfigProto)(n||{},m.Config.defaultOptions.uploader),r=()=>(0,f.loadItems)(this);i.uploader=i.getInstance("Uploader",o),i.uploader.setPath(i.state.currentPath).setSource(i.state.currentSource).bind(i.browser,r,i.errorHandler),this.state.on(["change.currentPath","change.currentSource"],()=>{this.uploader.setPath(this.state.currentPath).setSource(this.state.currentSource)}),i.e.on("bindUploader.filebrowser",e=>{i.uploader.bind(e,r,i.errorHandler)})}destruct(){var e;!this.isInDestruct&&(null==(e=(0,a.cached)(this,"_dialog"))||e.destruct(),super.destruct(),this.events&&this.e.off(".filebrowser"),this.uploader&&this.uploader.destruct())}__updateToolbarButtons(){var e;let t=this.__getButtons();!function(e,t){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++)if(e[i]!==t[i])return!1;return!0}(this.__prevButtons,t)&&(this.__prevButtons=t,null==(e=this.toolbar)||e.build(t))}constructor(e){super(e),(0,n._)(this,"browser",this.c.div(this.componentName)),(0,n._)(this,"status_line",this.c.div(this.getFullElName("status"))),(0,n._)(this,"tree",new w.FileBrowserTree(this)),(0,n._)(this,"files",new w.FileBrowserFiles(this)),(0,n._)(this,"state",(0,c.observable)({currentPath:"",currentSource:y.DEFAULT_SOURCE_NAME,currentBaseUrl:"",activeElements:[],elements:[],sources:[],view:"tiles",sortBy:"changed-desc",filterWord:"",onlyImages:!1})),(0,n._)(this,"errorHandler",e=>{(0,u.isAbortError)(e)||(e instanceof Error?this.status(this.i18n(e.message)):this.status(this.dataProvider.getMessage(e)))}),(0,n._)(this,"uploader",void 0),(0,n._)(this,"close",()=>{this._dialog.close()}),(0,n._)(this,"__prevButtons",[]),this.attachEvents(e),this.options=(0,u.ConfigProto)(e||{},m.Config.defaultOptions.filebrowser),this.browser.component=this,this.container=this.browser,this.o.showFoldersPanel&&this.browser.appendChild(this.tree.container),this.browser.appendChild(this.files.container),this.browser.appendChild(this.status_line),_.selfListeners.call(this),v.nativeListeners.call(this),b.stateListeners.call(this),["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRename","folderRename","fileRemove","folderRemove","folder","items","permissions"].forEach(e=>{null!=this.options[e]&&(this.options[e]=(0,u.ConfigProto)(this.options[e],this.o.ajax))});const{storeView:t,storeSortBy:i,storeLastOpenedFolder:o}=this.o.saveStateInStorage||{storeLastOpenedFolder:!1,storeView:!1,storeSortBy:!1},s=t&&this.storage.get("view");s&&null==this.o.view?this.state.view="list"===s?"list":"tiles":this.state.view="list"===this.o.view?"list":"tiles",this.files.setMod("view",this.state.view);const a=i&&this.storage.get("sortBy");if(a){const e=a.split("-");this.state.sortBy=["changed","name","size"].includes(e[0])?a:"changed-desc"}else this.state.sortBy=this.o.sortBy||"changed-desc";if(o){const e=this.storage.get("currentPath"),t=this.storage.get("currentSource");this.state.currentPath=null!=e?e:"",this.state.currentSource=null!=t?t:""}this.initUploader(this),this.setStatus(r.STATUSES.ready)}}(0,o.__decorate)([a.cache],C.prototype,"dataProvider",null),(0,o.__decorate)([a.cache],C.prototype,"_dialog",null),(0,o.__decorate)([a.cache],C.prototype,"storage",null),(0,o.__decorate)([a.autobind],C.prototype,"status",null),(0,o.__decorate)([a.autobind],C.prototype,"open",null),(0,o.__decorate)([(0,l.watch)("dataProvider:changePermissions")],C.prototype,"__updateToolbarButtons",null),C=(0,o.__decorate)([(0,a.derive)(h.Dlgs)],C)},63425:function(e,t,i){"use strict";i.d(t,{FileBrowserFiles:function(){return n.FileBrowserFiles},FileBrowserTree:function(){return o.FileBrowserTree}});var n=i(86122),o=i(55376)},63468:function(e,t,i){"use strict";i.d(t,{UIGroup:function(){return u}});var n=i(25045),o=i(31635),r=i(80251),s=i(84839),a=i(23211),l=i(65946),c=i(96007);class u extends c.UIElement{className(){return"UIGroup"}getRole(){return"list"}get allChildren(){let e=[],t=[...this.elements];for(;t.length;){let i=t.shift();(0,l.isArray)(i)?t.push(...i):r.Component.isInstanceOf(i,u)?t.push(...i.elements):i&&e.push(i)}return e}update(){this.elements.forEach(e=>e.update()),this.setMod("size",this.buttonSize)}append(e,t){let i;if((0,l.isArray)(e)){if("number"==typeof t)throw Error("You can not use index when append array of elements");return e.forEach(e=>this.append(e,t)),this}if("number"==typeof t?(i=Math.min(Math.max(0,t),this.elements.length),this.elements.splice(i,0,e)):this.elements.push(e),e.name&&e.container.classList.add(this.getFullElName(e.name)),t&&"string"==typeof t){let i=this.getElm(t);if(null==i)throw Error("Element does not exist");i.appendChild(e.container)}else this.appendChildToContainer(e.container,i);return e.parentElement=this,this}afterSetMod(e,t){this.syncMod&&this.elements.forEach(i=>i.setMod(e,t))}appendChildToContainer(e,t){void 0===t||t<0||t>this.elements.length-1||null==this.container.children[t]?this.container.appendChild(e):this.container.insertBefore(e,this.container.children[t])}remove(e){let t=this.elements.indexOf(e);return -1!==t&&(this.elements.splice(t,1),a.Dom.safeRemove(e.container),e.parentElement=null),this}clear(){return this.elements.forEach(e=>e.destruct()),this.elements.length=0,this}setParentView(e){var t;return null==(t=this.elements)||t.forEach(t=>t.setParentView(e)),super.setParentView(e)}destruct(){return this.clear(),super.destruct()}constructor(e,t,i){super(e,i),(0,n._)(this,"options",void 0),(0,n._)(this,"syncMod",void 0),(0,n._)(this,"elements",void 0),(0,n._)(this,"buttonSize",void 0),this.options=i,this.syncMod=!1,this.elements=[],this.buttonSize="middle",null==t||t.forEach(e=>e&&this.append(e)),(null==i?void 0:i.name)&&(this.name=i.name)}}(0,o.__decorate)([(0,s.watch)("buttonSize")],u.prototype,"update",null),u=(0,o.__decorate)([s.component],u)},63794:function(e){e.exports={Spellcheck:"Sprawdzanie pisowni"}},63837:function(e){e.exports.default={"Type something":"Start writing...",pencil:"Edit",Quadrate:"Square"}},63974:function(e,t,i){"use strict";var n=i(25045),o=i(27795),r=i(28077),s=i(65946),a=i(4040),l=i(91206);class c extends l.Plugin{afterInit(e){e.e.on("afterCommand.delete",e=>{"delete"===e&&this.__afterDeleteCommand()}),e.registerCommand("delete",{exec:this.__onDeleteCommand.bind(this)},{stopPropagation:!1})}beforeDestruct(e){e.e.off("afterCommand.delete")}__afterDeleteCommand(){let e=this.j,t=e.s.current();if(t&&o.Dom.isTag(t.firstChild,"br")&&e.s.removeNode(t.firstChild),!(0,a.trim)(e.editor.textContent||"")&&!e.editor.querySelector("img,table,jodit,iframe,hr")&&(!t||!o.Dom.closest(t,"table",e.editor))){e.editor.innerHTML="";let t=e.s.setCursorIn(e.editor);e.s.removeNode(t)}}__onDeleteCommand(){let{jodit:e}=this;if(e.s.isCollapsed())return;e.s.expandSelection();let t=e.s.range;t.deleteContents();let i=e.createInside.fake();t.insertNode(i);let n=o.Dom.findSibling(i,!0),r=o.Dom.findSibling(i,!1);return this.__moveContentInLeftSibling(i,n,r),t.setStartBefore(i),t.collapse(!0),this.__moveCursorInEditableSibling(e,n,i,t),this.__addBrInEmptyBlock(i,r,t),o.Dom.safeRemove(i),e.s.selectRange(t),!1}__moveContentInLeftSibling(e,t,i){t=this.__defineRightLeftBox(t),!o.Dom.isList(i)&&!o.Dom.isTag(i,"table")&&o.Dom.isBlock(i)&&o.Dom.isBlock(t)&&(o.Dom.append(t,e),o.Dom.moveContent(i,t),o.Dom.safeRemove(i)),o.Dom.isList(i)&&o.Dom.isLeaf(i.firstElementChild)&&o.Dom.isEmpty(i.firstElementChild)&&o.Dom.safeRemove(i.firstElementChild)}__defineRightLeftBox(e){if(!o.Dom.isList(e))return e;let t=e.lastElementChild;return o.Dom.isLeaf(t)||(t=this.j.createInside.element("li"),o.Dom.append(e,t)),t}__addBrInEmptyBlock(e,t,i){let n=this.j;if(e.isConnected&&o.Dom.isBlock(e.parentNode)&&!e.nextSibling&&!e.previousSibling){let t=n.createInside.element("br");o.Dom.after(e,t),i.setStartBefore(t),i.collapse(!0)}if(o.Dom.isTag(t,"table")){let e=(0,s.$$)("td,th",t).shift();o.Dom.isCell(e)&&o.Dom.isEmpty(e)&&o.Dom.append(e,n.createInside.element("br"))}}__moveCursorInEditableSibling(e,t,i,n){if(!t||!o.Dom.isText(t)){var r;let t=null!=(r=o.Dom.closest(i,o.Dom.isBlock,e.editor))?r:e.editor,s=o.Dom.prev(i,o.Dom.isText,t);s&&(n.setStartAfter(s),n.collapse(!0),o.Dom.safeRemove(i))}}}(0,n._)(c,"requires",["backspace"]),r.pluginSystem.add("deleteCommand",c)},64094:function(e,t,i){"use strict";var n=i(23211),o=i(28077),r=i(65946),s=i(16849),a=i(80991),l=i(29434),c=i(5266),u=i(80515),d=i.n(u);l.Icon.set("justify",d()),c.Config.prototype.controls.align={name:"left",tooltip:"Align",update(e,t){let i=t.control,o=e.s.current();if(o){let s=n.Dom.closest(o,n.Dom.isBlock,e.editor)||e.editor,l=(0,a.css)(s,"text-align").toString();i.defaultValue&&-1!==i.defaultValue.indexOf(l)&&(l="left");let{list:c,data:u}=i;u&&u.currentValue!==l&&c&&((0,r.isPlainObject)(c)?c[l]:c.includes(l))&&(e.o.textIcons||"select"===i.component?t.state.text=l:t.state.icon.name=l,u.currentValue=l)}},isActive:(e,t)=>{let i=e.s.current();if(!i||!t.control.defaultValue)return!1;let o=n.Dom.closest(i,n.Dom.isBlock,e.editor)||e.editor;return -1===t.control.defaultValue.indexOf((0,a.css)(o,"text-align").toString())},defaultValue:["left","start","inherit"],data:{currentValue:"left"},list:["center","left","right","justify"]},c.Config.prototype.controls.center={command:"justifyCenter",css:{"text-align":"center"},tooltip:"Align Center"},c.Config.prototype.controls.justify={command:"justifyFull",css:{"text-align":"justify"},tooltip:"Align Justify"},c.Config.prototype.controls.left={command:"justifyLeft",css:{"text-align":"left"},tooltip:"Align Left"},c.Config.prototype.controls.right={command:"justifyRight",css:{"text-align":"right"},tooltip:"Align Right"},o.pluginSystem.add("justify",function(e){e.registerButton({name:"align",group:"indent"});let t=t=>(e.s.focus(),e.s.eachSelection(i=>{if(!i)return;let o=n.Dom.up(i,n.Dom.isBlock,e.editor);o||(o=n.Dom.wrapInline(i,e.o.enterBlock,e)),(0,s.alignElement)(t,o)}),!1);e.registerCommand("justifyfull",t),e.registerCommand("justifyright",t),e.registerCommand("justifyleft",t),e.registerCommand("justifycenter",t)})},64222:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(23211),l=i(28077),c=i(65946),u=i(91206),d=i(63425);class h extends u.Plugin{afterInit(){this.j.e.on([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)}onDragStart(e){var t;let i=e.target;if(this.onDragEnd(),this.isFragmentFromEditor=a.Dom.isOrContains(this.j.editor,i,!0),this.isCopyMode=!this.isFragmentFromEditor||(0,c.ctrlKey)(e),this.isFragmentFromEditor){let e=this.j.s.sel,t=e&&e.rangeCount?e.getRangeAt(0):null;t&&(this.bufferRange=t.cloneRange())}else this.bufferRange=null;this.startDragPoint.x=e.clientX,this.startDragPoint.y=e.clientY,t=i,a.Dom.isElement(t)&&t.classList.contains(d.FileBrowserFiles.prototype.getFullElName("item"))&&(i=i.querySelector("img")),a.Dom.isTag(i,"img")&&(this.draggable=i.cloneNode(!0),(0,c.dataBind)(this.draggable,"target",i)),this.addDragListeners()}addDragListeners(){this.j.e.on("dragover",this.onDrag).on("drop.DragAndDrop",this.onDrop).on(window,"dragend.DragAndDrop drop.DragAndDrop mouseup.DragAndDrop",this.onDragEnd)}removeDragListeners(){this.j.e.off("dragover",this.onDrag).off("drop.DragAndDrop",this.onDrop).off(window,"dragend.DragAndDrop drop.DragAndDrop mouseup.DragAndDrop",this.onDragEnd)}onDrag(e){this.draggable&&(this.j.e.fire("hidePopup"),this.j.s.insertCursorAtPoint(e.clientX,e.clientY),e.preventDefault(),e.stopPropagation())}onDragEnd(){this.draggable&&(a.Dom.safeRemove(this.draggable),this.draggable=null),this.isCopyMode=!1,this.removeDragListeners()}onDrop(e){if(!e.dataTransfer||!e.dataTransfer.files||!e.dataTransfer.files.length){if(!this.isFragmentFromEditor&&!this.draggable)return this.j.e.fire("paste",e),e.preventDefault(),e.stopPropagation(),!1;let t=this.j.s.sel,i=this.bufferRange||(t&&t.rangeCount?t.getRangeAt(0):null),n=this.__getWorkFragment(i,e);t&&t.removeAllRanges(),this.j.s.insertCursorAtPoint(e.clientX,e.clientY),n&&this.__insertFragment.call(this,n,i),e.preventDefault(),e.stopPropagation()}this.isFragmentFromEditor=!1,this.removeDragListeners()}__getWorkFragment(e,t){let i=null;if(!this.draggable&&e)i=this.isCopyMode?e.cloneContents():e.extractContents();else if(this.draggable)if(this.isCopyMode){let[e,t]="1"===(0,c.attr)(this.draggable,"-is-file")?["a","href"]:["img","src"];(i=this.j.createInside.element(e)).setAttribute(t,(0,c.attr)(this.draggable,"data-src")||(0,c.attr)(this.draggable,"src")||""),"a"===e&&(i.textContent=(0,c.attr)(i,t)||"")}else i=(0,c.dataBind)(this.draggable,"target");else this.getText(t)&&(i=this.j.createInside.fromHTML(this.getText(t)));return i}__insertFragment(e,t){this.j.s.insertNode(e,!1,!1),t&&e.firstChild&&e.lastChild&&(t.setStartBefore(e.firstChild),t.setEndAfter(e.lastChild),this.j.s.selectRange(t),this.j.e.fire("synchro")),a.Dom.isTag(e,"img")&&this.j.events&&this.j.e.fire("afterInsertImage",e)}beforeDestruct(){this.onDragEnd(),this.j.e.off(window,".DragAndDrop").off(".DragAndDrop").off([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)}constructor(...e){super(...e),(0,n._)(this,"isFragmentFromEditor",!1),(0,n._)(this,"isCopyMode",!1),(0,n._)(this,"startDragPoint",{x:0,y:0}),(0,n._)(this,"draggable",null),(0,n._)(this,"bufferRange",null),(0,n._)(this,"getText",e=>{let t=(0,c.getDataTransfer)(e);return t?t.getData(r.TEXT_HTML)||t.getData(r.TEXT_PLAIN):null})}}(0,o.__decorate)([s.autobind],h.prototype,"onDragStart",null),(0,o.__decorate)([(0,s.throttle)(e=>e.defaultTimeout/10)],h.prototype,"onDrag",null),(0,o.__decorate)([s.autobind],h.prototype,"onDragEnd",null),(0,o.__decorate)([s.autobind],h.prototype,"onDrop",null),l.pluginSystem.add("dragAndDrop",h)},64394:function(e){e.exports={symbols:"سمبل"}},64637:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 432 432"> <g> <polygon points="203.688,96 0,96 0,144 155.688,144 "/> <polygon points="155.719,288 0,288 0,336 203.719,336 "/> <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"/> <polygon points="232,176 232,96 112,216 232,336 232,256 432,256 432,176"/> </g> </svg>'},64831:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M576 576q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1024 384v448h-1408v-192l320-320 160 160 512-512zm96-704h-1600q-13 0-22.5 9.5t-9.5 22.5v1216q0 13 9.5 22.5t22.5 9.5h1600q13 0 22.5-9.5t9.5-22.5v-1216q0-13-9.5-22.5t-22.5-9.5zm160 32v1216q0 66-47 113t-113 47h-1600q-66 0-113-47t-47-113v-1216q0-66 47-113t113-47h1600q66 0 113 47t47 113z"/> </svg>'},64847:function(e,t,i){"use strict";i.d(t,{UIGroup:function(){return n.UIGroup},UIList:function(){return o.UIList},UISeparator:function(){return r.UISeparator},UISpacer:function(){return s.UISpacer}});var n=i(63468),o=i(97959),r=i(35676),s=i(27987)},65015:function(e,t,i){"use strict";i.d(t,{sanitizeAttributes:function(){return r}});var n=i(23211),o=i(65946);function r(e,t,i){return!!(n.Dom.isElement(t)&&(0,o.sanitizeHTMLElement)(t,{safeJavaScriptLink:e.options.cleanHTML.safeJavaScriptLink,removeOnError:e.options.cleanHTML.removeOnError}))||i}},65230:function(e,t,i){"use strict";var n=i(23211),o=i(29434),r=i(5266),s=i(95032),a=i.n(s),l=i(73533),c=i.n(l),u=i(45778);r.Config.prototype.link={formTemplate:u.formTemplate,followOnDblClick:!1,processVideoLink:!0,processPastedLink:!0,noFollowCheckbox:!0,openInNewTabCheckbox:!0,modeClassName:"input",selectMultipleClassName:!0,preventReadOnlyNavigation:!0,selectSizeClassName:3,selectOptionsClassName:[],hotkeys:["ctrl+k","cmd+k"]},o.Icon.set("link",a()).set("unlink",c()),r.Config.prototype.controls.unlink={exec:(e,t)=>{let i=n.Dom.closest(t,"a",e.editor);i&&n.Dom.unwrap(i),e.synchronizeValues(),e.e.fire("hidePopup")},tooltip:"Unlink"},r.Config.prototype.controls.link={isActive:e=>{let t=e.s.current();return!!(t&&n.Dom.closest(t,"a",e.editor))},popup:(e,t,i)=>e.e.fire("generateLinkForm.link",t,i),tags:["a"],tooltip:"Insert link"}},65273:function(e,t,i){"use strict";i.d(t,{UIInput:function(){return h}});var n=i(25045),o=i(31635),r=i(84839),s=i(23211),a=i(88475),l=i(93640),c=i(96007),u=i(81488),d=i(29434);class h extends c.UIElement{className(){return"UIInput"}onChangeClear(){this.state.clearButton?s.Dom.after(this.nativeInput,this.clearButton):s.Dom.safeRemove(this.clearButton)}onChangeClassName(e,t){t&&this.container.classList.remove(t),this.state.className&&this.container.classList.add(this.state.className)}onChangeState(){this.name=this.state.name;let e=this.nativeInput,{name:t,icon:i,type:n,ref:o,required:r,placeholder:a,autocomplete:c,label:u}=this.state;(0,l.attr)(e,"name",t),(0,l.attr)(e,"type",n),(0,l.attr)(e,"data-ref",o||t),(0,l.attr)(e,"ref",o||t),(0,l.attr)(e,"required",r||null),(0,l.attr)(e,"autocomplete",c?null:"off"),(0,l.attr)(e,"placeholder",a?this.j.i18n(a):""),i&&d.Icon.exists(i)?(s.Dom.before(e,this.icon),this.icon.innerHTML=d.Icon.get(i)):s.Dom.safeRemove(this.icon),u?(s.Dom.before(this.wrapper,this.label),this.label.innerText=this.j.i18n(u)):s.Dom.safeRemove(this.label),this.updateValidators()}updateValidators(){var e;this.validators.clear(),this.state.required&&this.validators.add(u.inputValidators.required),null==(e=this.state.validators)||e.forEach(e=>{let t=u.inputValidators[e];t&&this.validators.add(t)})}set error(e){this.setMod("has-error",!!e),e?(this.__errorBox.innerText=this.j.i18n(e,this.j.i18n(this.state.label||"")),this.container.appendChild(this.__errorBox)):s.Dom.safeRemove(this.__errorBox)}get value(){return this.nativeInput.value}set value(e){this.value!==e&&(this.nativeInput.value=e,this.onChangeValue())}onChangeStateValue(){let e=this.state.value.toString();e!==this.value&&(this.value=e)}onChangeValue(){let{value:e}=this;if(this.state.value!==e){var t,i;this.state.value=e,this.j.e.fire(this,"change",e),null==(t=(i=this.state).onChange)||t.call(i,e)}}validate(){this.error="";let e=(0,a.toArray)(this.validators).every(e=>e(this));return this.__markInputInvalid(),e}__markInputInvalid(){var e,t,i,n;this.error?(this.nativeInput.setAttribute("aria-invalid","true"),null==(e=(t=this.nativeInput).setCustomValidity)||e.call(t,this.error)):(this.nativeInput.removeAttribute("aria-invalid"),null==(i=(n=this.nativeInput).setCustomValidity)||i.call(n,""))}createContainer(e){let t=super.createContainer();this.wrapper=this.j.c.div(this.getFullElName("wrapper")),this.nativeInput||(this.nativeInput=this.createNativeInput());let{nativeInput:i}=this;return i.classList.add(this.getFullElName("input")),this.wrapper.appendChild(i),t.appendChild(this.wrapper),(0,l.attr)(i,"dir",this.j.o.direction||"auto"),t}createNativeInput(e){return this.j.create.element("input")}focus(){this.nativeInput.focus()}get isFocused(){return this.nativeInput===this.j.od.activeElement}onChangeFocus(){this.setMod("focused",this.isFocused)}constructor(e,t){super(e,t),(0,n._)(this,"label",this.j.c.span(this.getFullElName("label"))),(0,n._)(this,"icon",this.j.c.span(this.getFullElName("icon"))),(0,n._)(this,"clearButton",this.j.c.span(this.getFullElName("clear"),d.Icon.get("cancel"))),(0,n._)(this,"state",{...h.defaultState}),(0,n._)(this,"__errorBox",this.j.c.span(this.getFullElName("error"))),(0,n._)(this,"validators",new Set([])),(null==t?void 0:t.value)!==void 0&&(t.value=t.value.toString()),Object.assign(this.state,t),void 0!==this.state.clearButton&&(this.j.e.on(this.clearButton,"click",e=>{e.preventDefault(),this.nativeInput.value="",this.j.e.fire(this.nativeInput,"input"),this.focus()}).on(this.nativeInput,"input",()=>{this.state.clearButton=!!this.value.length}),this.state.clearButton=!!this.value.length),this.j.e.on(this.nativeInput,"focus blur",()=>{this.onChangeFocus()}).on(this.nativeInput,"input change",this.onChangeValue),this.onChangeState(),this.onChangeClassName(),this.onChangeStateValue()}}(0,n._)(h,"defaultState",{className:"",autocomplete:!0,name:"",value:"",icon:"",label:"",ref:"",type:"text",placeholder:"",required:!1,validators:[]}),(0,o.__decorate)([(0,r.watch)("state.clearButton")],h.prototype,"onChangeClear",null),(0,o.__decorate)([(0,r.watch)("state.className")],h.prototype,"onChangeClassName",null),(0,o.__decorate)([(0,r.watch)(["state.name","state.type","state.label","state.placeholder","state.autocomplete","state.icon"],{immediately:!1}),(0,r.debounce)()],h.prototype,"onChangeState",null),(0,o.__decorate)([(0,r.watch)("state.value")],h.prototype,"onChangeStateValue",null),(0,o.__decorate)([r.autobind],h.prototype,"onChangeValue",null),h=(0,o.__decorate)([r.component],h)},65402:function(e){e.exports={"Line height":"Altura de la l\xednea"}},65701:function(e,t,i){"use strict";i(5266).Config.prototype.draggableTags=["img","jodit-media","jodit"]},65710:function(e,t,i){"use strict";i.d(t,{insertParagraph:function(){return r}});var n=i(23211),o=i(60898);function r(e,t,i,r){let s="br"===i.toLowerCase(),{createInside:a}=t,l=a.element(i),c=a.element("br");return s||l.appendChild(c),r&&r.cssText&&l.setAttribute("style",r.cssText),n.Dom.after(e,l),n.Dom.before(s?l:c,e),(0,o.scrollIntoViewIfNeeded)(l,t.editor,t.ed),l}},65946:function(e,t,i){"use strict";i.r(t),i.d(t,{CamelCaseToKebabCase:function(){return u.CamelCaseToKebabCase},NUMBER_FIELDS_REG:function(){return l.NUMBER_FIELDS_REG},applyStyles:function(){return a.applyStyles},asArray:function(){return n.asArray},camelCase:function(){return u.camelCase},cleanFromWord:function(){return a.cleanFromWord},clearTimeout:function(){return o.clearTimeout},colorToHex:function(){return s.colorToHex},fuzzySearchIndex:function(){return u.fuzzySearchIndex},getContentWidth:function(){return c.getContentWidth},getScrollParent:function(){return c.getScrollParent},hasBrowserColorPicker:function(){return r.hasBrowserColorPicker},hasContainer:function(){return r.hasContainer},htmlspecialchars:function(){return a.htmlspecialchars},i18n:function(){return u.i18n},innerWidth:function(){return c.innerWidth},isAbortError:function(){return r.isAbortError},isArray:function(){return r.isArray},isBoolean:function(){return r.isBoolean},isDestructable:function(){return r.isDestructable},isEqual:function(){return r.isEqual},isFastEqual:function(){return r.isFastEqual},isFunction:function(){return r.isFunction},isHTML:function(){return r.isHTML},isHtmlFromWord:function(){return r.isHtmlFromWord},isInitable:function(){return r.isInitable},isInt:function(){return r.isInt},isJoditObject:function(){return r.isJoditObject},isLicense:function(){return r.isLicense},isMarker:function(){return r.isMarker},isNativeFunction:function(){return r.isNativeFunction},isNumber:function(){return r.isNumber},isNumeric:function(){return r.isNumeric},isPlainObject:function(){return r.isPlainObject},isPromise:function(){return r.isPromise},isSet:function(){return r.isSet},isString:function(){return r.isString},isStringArray:function(){return r.isStringArray},isURL:function(){return r.isURL},isValidName:function(){return r.isValidName},isViewObject:function(){return r.isViewObject},isVoid:function(){return r.isVoid},isWindow:function(){return r.isWindow},kebabCase:function(){return u.kebabCase},nl2br:function(){return a.nl2br},normalizeColor:function(){return l.normalizeColor},normalizeCssNumericValue:function(){return l.normalizeCssNumericValue},normalizeCssValue:function(){return l.normalizeCssValue},normalizeKeyAliases:function(){return l.normalizeKeyAliases},normalizeLicense:function(){return l.normalizeLicense},normalizePath:function(){return l.normalizePath},normalizeRelativePath:function(){return l.normalizeRelativePath},normalizeSize:function(){return l.normalizeSize},normalizeUrl:function(){return l.normalizeUrl},offset:function(){return c.offset},position:function(){return c.position},safeHTML:function(){return a.safeHTML},sanitizeHTMLElement:function(){return a.sanitizeHTMLElement},setTimeout:function(){return o.setTimeout},size:function(){return c.size},splitArray:function(){return n.splitArray},sprintf:function(){return u.sprintf},stringify:function(){return u.stringify},stripTags:function(){return a.stripTags},toArray:function(){return n.toArray},trim:function(){return u.trim},trimChars:function(){return u.trimChars},trimInv:function(){return u.trimInv},ucfirst:function(){return u.ucfirst}});var n=i(45664),o=i(61077),r=i(28686),s=i(7018),a=i(82658),l=i(97022),c=i(86878),u=i(97642),d=i(93640),h={};for(var p in d)0>["default","asArray","splitArray","toArray","clearTimeout","setTimeout","hasBrowserColorPicker","hasContainer","isAbortError","isArray","isBoolean","isDestructable","isEqual","isFastEqual","isFunction","isHTML","isHtmlFromWord","isInitable","isInt","isJoditObject","isLicense","isMarker","isNativeFunction","isNumber","isNumeric","isPlainObject","isPromise","isSet","isString","isStringArray","isURL","isValidName","isViewObject","isVoid","isWindow","colorToHex","applyStyles","cleanFromWord","htmlspecialchars","nl2br","safeHTML","sanitizeHTMLElement","stripTags","NUMBER_FIELDS_REG","normalizeColor","normalizeCssNumericValue","normalizeCssValue","normalizeKeyAliases","normalizeLicense","normalizePath","normalizeRelativePath","normalizeSize","normalizeUrl","getContentWidth","getScrollParent","innerWidth","offset","position","size","CamelCaseToKebabCase","camelCase","fuzzySearchIndex","i18n","kebabCase","sprintf","stringify","trim","trimChars","trimInv","ucfirst"].indexOf(p)&&(h[p]=(function(e){return d[e]}).bind(0,p));i.d(t,h)},66206:function(e,t,i){"use strict";i.d(t,{elementToItem:function(){return r},getItem:function(){return o}});var n=i(23211);let o=(e,t,i="a")=>n.Dom.closest(e,e=>n.Dom.isTag(e,i),t),r=(e,t)=>{let{key:i}=e.dataset,{item:n}=t[i||""];return n}},66547:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/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"/> </svg>'},66568:function(e){e.exports={"copy-format":"Copia il formato"}},66862:function(e,t,i){"use strict";i.d(t,{hasPreviousBlock:function(){return o}});var n=i(23211);function o(e,t){return!!n.Dom.prev(e,e=>n.Dom.isBlock(e)||n.Dom.isImage(e),t.editor)}},67026:function(e){e.exports={Spellcheck:"Correcci\xf3n ortogr\xe1fica"}},67176:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M352 832q0 14-9 23l-288 288q-9 9-23 9-13 0-22.5-9.5t-9.5-22.5v-576q0-13 9.5-22.5t22.5-9.5q14 0 23 9l288 288q9 9 9 23zm1440 480v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},67399:function(e,t,i){"use strict";i.d(t,{ContextMenu:function(){return l}});var n=i(31635),o=i(91672),r=i(17312),s=i(53681),a=i(51116);class l extends a.Popup{className(){return"ContextMenu"}show(e,t,i){let n=this;n.clear(),(0,r.isArray)(i)&&(i.forEach(e=>{if(!e)return;let t=(0,s.Button)(this.jodit,e.icon||"empty",e.title);this.jodit&&t.setParentView(this.jodit),t.setMod("context","menu"),t.onAction(t=>{var i;return null==(i=e.exec)||i.call(n,t),n.clear(),n.close(),!1}),this.append(t)}),this.open(()=>({left:e,top:t,width:0,height:0}),!0))}}l=(0,n.__decorate)([o.component],l)},67447:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M576 1376v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm128-320v1088q0 66-47 113t-113 47h-1344q-66 0-113-47t-47-113v-1088q0-66 47-113t113-47h1344q66 0 113 47t47 113z"/> </svg>'},67582:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(23211),l=i(28077),c=i(65946),u=i(18855);i(79803);let d=!r.IS_ES_NEXT&&r.IS_IE;class h extends u.Plugin{afterInit(e){e.e.on(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.__onScroll).on("getStickyState.sticky",()=>this.__isToolbarStuck)}__onScroll(){let{jodit:e}=this;if(!e.o.toolbarSticky||!e.o.toolbar)return;let t=e.ow.pageYOffset||e.od.documentElement&&e.od.documentElement.scrollTop||0,i=(0,c.offset)(e.container,e,e.od,!0),n=e.getMode()===r.MODE_WYSIWYG&&t+e.o.toolbarStickyOffset>i.top&&t+e.o.toolbarStickyOffset<i.top+i.height&&!(e.o.toolbarDisableStickyForMobile&&this.__isMobile());if(this.__isToolbarStuck===n)return;let o=e.toolbarContainer;o&&(n?this.addSticky(o):this.removeSticky(o)),e.e.fire("toggleSticky",n)}__isMobile(){let{j:e}=this;return e&&e.options&&e.container&&e.options.sizeSM>=e.container.offsetWidth}beforeDestruct(e){a.Dom.safeRemove(this.__dummyBox),e.e.off(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.__onScroll).off(".sticky")}constructor(...e){super(...e),(0,n._)(this,"__isToolbarStuck",!1),(0,n._)(this,"__dummyBox",void 0),(0,n._)(this,"__createDummy",e=>{this.__dummyBox=this.j.c.div(),this.__dummyBox.classList.add("jodit_sticky-dummy_toolbar"),this.j.container.insertBefore(this.__dummyBox,e)}),(0,n._)(this,"addSticky",e=>{this.__isToolbarStuck||(d&&!this.__dummyBox&&this.__createDummy(e),this.j.container.classList.add("jodit_sticky"),this.__isToolbarStuck=!0),(0,c.css)(e,{top:this.j.o.toolbarStickyOffset||null,width:this.j.container.offsetWidth-2}),this.__dummyBox&&(0,c.css)(this.__dummyBox,{height:e.offsetHeight})}),(0,n._)(this,"removeSticky",e=>{this.__isToolbarStuck&&((0,c.css)(e,{width:"",top:""}),this.j.container.classList.remove("jodit_sticky"),this.__isToolbarStuck=!1)})}}(0,o.__decorate)([(0,s.throttle)()],h.prototype,"__onScroll",null),l.pluginSystem.add("sticky",h)},68294:function(e){e.exports={symbols:"Simbolo"}},68368:function(e){e.exports.default=["Bir şeyler yaz","Jodit Hakkında","Jodit Editor","Jodit Kullanım Kılavuzu","kullanım i\xe7in detaylı bilgiler i\xe7erir","Lisans hakkında bilgi i\xe7in l\xfctfen web sitemize gidin:","Tam versiyonunu satın al","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. T\xfcm hakları saklıdır.","Bağlantı","Yeni sekmede a\xe7","Edit\xf6r\xfc tam ekranda a\xe7","Stili temizle","Renk doldur veya yazı rengi se\xe7","Yinele","Geri Al","Kalın","İtalik","Sırasız Liste Ekle","Sıralı Liste Ekle","Ortala","Kenarlara Yasla","Sola Yasla","Sağa Yasla","Yatay \xc7izgi Ekle","Resim Ekle","Dosya Ekle","Youtube/Vimeo Videosu Ekle","Bağlantı Ekle","Font Boyutu","Font Ailesi","Blok Ekle","Normal","Başlık 1","Başlık 2","Başlık 3","Başlık 4","Alıntı","Kod","Ekle","Tablo Ekle","Girintiyi Azalt","Girintiyi Arttır","\xd6zel Karakter Se\xe7","\xd6zel Karakter Ekle","Resim Bi\xe7imi","Mod Değiştir","Boşluklar","\xdcst","Sağ","Alt","Sol","CSS Stilleri","CSS Sınıfları","Hizalama","Sağ","Ortalı","Sol","Belirsiz","Kaynak","Başlık","Alternatif Yazı","Link","Bağlantıyı yeni sekmede a\xe7","Resim","Dosya","Gelişmiş","Resim \xf6zellikleri","İptal","Tamam","Dosya Listeleyici","Liste y\xfcklenirken hata oluştu","Klas\xf6rler y\xfcklenirken hata oluştur","Emin misiniz?","Dizin yolu giriniz","Dizin oluştur","İsim yaz","Resim bırak","Dosya bırak","veya tıkla","Alternatif yazı","Y\xfckle","G\xf6zat","Arka plan","Yazı","\xdcst","Orta","Aşağı","\xd6ncesine kolon ekle","Sonrasına kolon ekle","\xdcst\xfcne satır ekle","Altına satır ekle","Tabloyu sil","Satırı sil","Kolonu sil","H\xfccreyi temizle","Harfler: %d","Kelimeler: %d","\xdcst\xfc \xe7izili","Alt \xe7izgi","\xdcst yazı","Alt yazı","Se\xe7ilimi kes","T\xfcm\xfcn\xfc se\xe7","Satır sonu","Ara","Şununla değiştir","Değiştir","Yapıştır","Yapıştırılacak i\xe7erik se\xe7","Kaynak","Kalın","italik","Fır\xe7a","Bağlantı","Geri al","Yinele","Tablo","Resim","Silgi","Paragraf","Font boyutu","Video","Font","Hakkında","Yazdır","Alt \xe7izgi","\xdcst\xfc \xe7izili","Girinti","\xc7ıkıntı","Tam ekran","K\xfc\xe7\xfclt","Ayra\xe7","Sırasız liste","Sıralı liste","Kes","T\xfcm\xfcn\xfc se\xe7","Kod ekle","Bağlantıyı a\xe7","Bağlantıyı d\xfczenle","Nofollow \xf6zelliği","Bağlantıyı kaldır","G\xfcncelle","D\xfczenlemek i\xe7in","Yorumu","URL","D\xfczenle","Yatay hizala","Filtre","Değişime g\xf6re sırala","İsme g\xf6re sırala","Boyuta g\xf6re sırala","Klas\xf6r ekle","Sıfırla","Kaydet","Farklı kaydet","Boyutlandır","Kırp","Genişlik","Y\xfckseklik","En boy oranını koru","Evet","Hayır","Sil","Se\xe7","Se\xe7: %s","Dikey hizala","Ayır","Birleştir","Kolon ekle","Satır ekle","Lisans: %s","Sil","Dikey ayır","Yatay ayır","Kenarlık","Kodunuz HTML koduna benziyor. HTML olarak devam etmek ister misiniz?","HTML olarak yapıştır","Sakla","Yazı olarak ekle","Sadece yazıyı ekle","Sadece kendi resimlerinizi d\xfczenleyebilirsiniz. Bu g\xf6rseli kendi hostunuza indirmek ister misiniz?","G\xf6rsel başarıyla hostunuza y\xfcklendi","Palet","Bu dizinde dosya yok","Yeniden isimlendir","Yeni isim girin","\xd6n izleme","İndir","Panodan yapıştır ","Tarayıcınız panoya doğrudan erişimi desteklemiyor.","Se\xe7imi kopyala","Kopyala","Sınır yarı\xe7apı","T\xfcm\xfcn\xfc G\xf6ster","Uygula","L\xfctfen bu alanı doldurun","L\xfctfen bir web adresi girin","Varsayılan","Daire","Nokta","Kare","Bul","\xd6ncekini Bul","Sonrakini Bul","Der Inhalt, den Sie einf\xfcgen, stammt aus einem Microsoft Word / Excel-Dokument. M\xf6chten Sie das Format erhalten oder l\xf6schen?","Word bi\xe7iminde yapıştırma algılandı","Temizle","Sınıf adı girin","\xd6zel yeniden boyutlandırma i\xe7in Alt tuşuna basın",null,null,null,"T\xfcm\xfc"]},68429:function(e){e.exports={Spellcheck:"Дүрмийн алдаа шалгах"}},68502:function(e,t,i){"use strict";i(37102);var n=i(28686),o=i(37427),r=i(75587),s=i(5266);s.Config.prototype.filebrowser={namespace:"",cache:!0,extraButtons:[],filter(e,t){return(t=t.toLowerCase(),(0,n.isString)(e))?-1!==e.toLowerCase().indexOf(t):(0,n.isString)(e.name)?-1!==e.name.toLowerCase().indexOf(t):!(0,n.isString)(e.file)||-1!==e.file.toLowerCase().indexOf(t)},sortBy:"changed-desc",sort(e,t,i){let[r,s]=i.toLowerCase().split("-"),a="asc"===s,l=(e,t)=>t>e?a?-1:1:e>t?a?1:-1:0;if((0,n.isString)(e))return l(e.toLowerCase(),t.toLowerCase());if(void 0===e[r]||"name"===r)return(0,n.isString)(e.name)?l(e.name.toLowerCase(),t.name.toLowerCase()):(0,n.isString)(e.file)?l(e.file.toLowerCase(),t.file.toLowerCase()):0;switch(r){case"changed":{let i=new Date(e.changed).getTime(),n=new Date(t.changed).getTime();return a?i-n:n-i}case"size":{let i=(0,o.humanSizeToBytes)(e.size),n=(0,o.humanSizeToBytes)(t.size);return a?i-n:n-i}}return 0},editImage:!0,preview:!0,showPreviewNavigation:!0,showSelectButtonInPreview:!0,contextMenu:!0,howLongShowMsg:3e3,createNewFolder:!0,deleteFolder:!0,renameFolder:!0,moveFolder:!0,moveFile:!0,permissionsPresets:{allowFileDownload:void 0,allowFileMove:void 0,allowFileRemove:void 0,allowFileRename:void 0,allowFileUpload:void 0,allowFileUploadRemote:void 0,allowFiles:void 0,allowFolderCreate:void 0,allowFolderMove:void 0,allowFolderRemove:void 0,allowFolderRename:void 0,allowFolderTree:void 0,allowFolders:void 0,allowGeneratePdf:void 0,allowImageCrop:void 0,allowImageResize:void 0},showFoldersPanel:!0,storeLastOpenedFolder:!0,width:859,height:400,buttons:["filebrowser.upload","filebrowser.remove","filebrowser.update","filebrowser.select","filebrowser.edit","|","filebrowser.tiles","filebrowser.list","|","filebrowser.filter","|","filebrowser.sort"],removeButtons:[],fullsize:!1,showTooltip:!0,view:null,isSuccess(e){return e.success},getMessage(e){return void 0!==e.data.messages&&(0,n.isArray)(e.data.messages)?e.data.messages.join(" "):""},showFileName:!0,showFileSize:!0,showFileChangeTime:!0,saveStateInStorage:{storeLastOpenedFolder:!0,storeView:!0,storeSortBy:!0},pixelOffsetLoadNewChunk:200,getThumbTemplate(e,t,i){let n=this.options,o=this.files.getFullElName("item"),r=n.showFileName,s=n.showFileSize&&e.size,a=n.showFileChangeTime&&e.time,l="";void 0!==e.file&&(l=e.file);let c=`<div class="${o}-info">${r?`<span class="${o}-info-filename">${l}</span>`:""}${s?`<span class="${o}-info-filesize">${e.size}</span>`:""}${a?`<span class="${o}-info-filechanged">${a}</span>`:""}</div>`;return`<a
202
202
  data-jodit-file-browser-item="true"
203
203
  data-is-file="${+!e.isImage}"
204
204
  draggable="true"
@@ -240,7 +240,7 @@
240
240
  <div class="${t("footer")}"></div>
241
241
  <div class="${t("resizer")}">${m.Icon.get("resize_handler")}</div>
242
242
  </div>
243
- </div>`),"rtl"===this.options.direction&&(this.container.style.direction="rtl",this.container.setAttribute("dir","rtl")),this.o.zIndex&&(this.container.style.zIndex=this.o.zIndex.toString()),(0,h.attr)(this.container,"role","dialog"),Object.defineProperty(this.container,"component",{value:this}),this.setMod("theme",this.o.theme||"default").setMod("resizable",!!this.o.resizable);const i=this.getElm("panel");(0,p.assert)(null!=i,"Panel element does not exist");const o=this.getElm("resizer");(0,p.assert)(null!=o,"Resizer element does not exist");const r=this.getElm("header-title");(0,p.assert)(null!=r,"header-title element does not exist");const s=this.getElm("content");(0,p.assert)(null!=s,"Content element does not exist");const a=this.getElm("footer");(0,p.assert)(null!=a,"Footer element does not exist");const u=this.getElm("header-toolbar");(0,p.assert)(null!=u,"header-toolbar element does not exist"),this.dialog=i,this.resizer=o,this.dialogbox_header=r,this.dialogbox_content=s,this.dialogbox_footer=a,this.dialogbox_toolbar=u,(0,h.css)(this.dialog,{maxWidth:this.options.maxWidth,minHeight:this.options.minHeight,minWidth:this.options.minWidth});const f=this.getElm("header");f&&this.e.on(f,"pointerdown touchstart",this.__onHeaderMouseDown),this.e.on(this.resizer,"mousedown touchstart",this.__onResizerMouseDown);const g=c.pluginSystem.get("fullsize");if((0,d.isFunction)(g)&&g(this),this.e.on(this.container,"close_dialog",this.close).on(this.ow,"keydown",this.__onEsc).on(this.ow,"resize",this.__onResize),this.o.closeOnClickOverlay){const e=this.getElm("overlay");(0,p.assert)(null!=e,"Overlay element does not exist"),this.e.on(e,"click",this.close)}}}(0,n._)(_,"defaultOptions",{...f.View.defaultOptions,closeOnClickOverlay:!1,closeOnEsc:!0}),(0,o.__decorate)([a.autobind],_.prototype,"__onMouseUp",null),(0,o.__decorate)([a.autobind],_.prototype,"__onHeaderMouseDown",null),(0,o.__decorate)([a.autobind],_.prototype,"__onMouseMove",null),(0,o.__decorate)([a.autobind],_.prototype,"__onEsc",null),(0,o.__decorate)([a.autobind],_.prototype,"__onResizerMouseDown",null),(0,o.__decorate)([a.autobind],_.prototype,"close",null),(0,o.__decorate)([(0,a.hook)("ready")],_.prototype,"buildToolbar",null),_=(0,o.__decorate)([a.component],_)},77036:function(e,t,i){"use strict";i.d(t,{persistent:function(){return r}});var n=i(69364),o=i(31534);function r(e,t){e.hookStatus(n.STATUSES.ready,e=>{let i=(0,o.isViewObject)(e)?e:e.jodit,n=`${i.options.namespace}${e.componentName}_prop_${t}`,r=e[t];Object.defineProperty(e,t,{get(){var e;return null!=(e=i.storage.get(n))?e:r},set(e){i.storage.set(n,e)}})})}},77213:function(e,t,i){"use strict";i.d(t,{ctrlKey:function(){return n}});let n=e=>{if("u">typeof navigator&&-1!==navigator.userAgent.indexOf("Mac OS X")){if(e.metaKey&&!e.altKey)return!0}else if(e.ctrlKey&&!e.altKey)return!0;return!1}},77227:function(e,t,i){"use strict";var n=i(29434),o=i(5266),r=i(91115),s=i.n(r),a=i(1916),l=i.n(a);o.Config.prototype.aiAssistant={aiCommonPrefixPrompt:"",aiCommonSuffixPrompt:"",aiImproveWritingPrompt:"It needs to be refined for better clarity, coherence, and overall quality. Please enhance the writing style while keeping the original meaning and language intact.",aiMakeShorterPrompt:"Please condense this content to make it more concise, while preserving the key messages, language and information.",aiMakeLongerPrompt:"Expand on this content to provide more detail, depth, and richness, without diverging from the original message and language.",aiSimplifyLanguagePrompt:"The language used here needs to be simplified for easier understanding, without altering the core information and the original language.",aiSummarizePrompt:"Provide a brief summary of this content, capturing the essential points in a concise manner. Preserve the original language and meaning.",aiContinuePrompt:"Continue the narrative or discussion from this content seamlessly, maintaining the same language, tone and style.",aiChangeToneProfessionalPrompt:"Adjust the tone to be professional, suitable for a formal business or academic setting, while retaining the original message and language.",aiChangeToneFriendlyPrompt:"It needs to be rewritten in a friendly tone while maintaining the original message and language. Please modify this content to be warm, approachable, and engaging.",aiChangeToneFormalPrompt:"Transform this content to have a formal tone, appropriate for official or serious contexts, without changing the main points and language.",aiChangeToneCasualPrompt:"Revise this content to have a casual, relaxed tone, making it feel more personal and less formal, without changing the original meaning and language.",aiChangeToneDirectPrompt:"Make the tone more direct, with straightforward language and a clear, assertive approach, without changing the original meaning and language.",aiChangeToneConfidentPrompt:"Infuse this content with a confident tone, showcasing assurance and decisiveness, without changing the original meaning and language.",aiChangeStyleBusinessPrompt:"Rewrite this content with a business-oriented style, focusing on clarity, efficiency, and professionalism, without changing the original meaning and language.",aiChangeStyleLegalPrompt:"Adapt this content to a legal style, incorporating appropriate terminology and formality typical of legal documents, without changing the original meaning and language.",aiChangeStyleJournalismPrompt:"Convert this content into a journalistic style, emphasizing factual accuracy, objectivity, and informative reporting, without changing the original meaning and language.",aiChangeStylePoeticPrompt:"Recreate this content with a poetic style, using expressive language, rhythm, and imagery to convey the message, without changing the original meaning and language.",aiTranslateToSpanishPrompt:"Translate this content into Spanish, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToFrenchPrompt:"Translate this content into French, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToGermanPrompt:"Translate this content into German, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToItalianPrompt:"Translate this content into Italian, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToPortuguesePrompt:"Translate this content into Portuguese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToEnglishPrompt:"Translate this content into English, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToChinesePrompt:"Translate this content into Chinese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToJapanesePrompt:"Translate this content into Japanese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToKoreanPrompt:"Translate this content into Korean, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToRussianPrompt:"Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToArabicPrompt:"Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning."},n.Icon.set("ai-assistant",l()),n.Icon.set("ai-commands",s()),o.Config.prototype.controls["ai-commands"]={isDisabled(e){return!e.o.aiAssistant.aiAssistantCallback},tooltip:"AI Commands",list:{aiImproveWritingPrompt:"Improve writing",aiMakeShorterPrompt:"Make shorter",aiMakeLongerPrompt:"Make longer",aiSimplifyLanguagePrompt:"Simplify language",aiSummarizePrompt:"Summarize",aiContinuePrompt:"Continue",aiChangeToneProfessionalPrompt:"Change tone to professional",aiChangeToneFriendlyPrompt:"Change tone to friendly",aiChangeToneFormalPrompt:"Change tone to formal",aiChangeToneCasualPrompt:"Change tone to casual",aiChangeToneDirectPrompt:"Change tone to direct",aiChangeToneConfidentPrompt:"Change tone to confident",aiChangeStyleBusinessPrompt:"Change style to business",aiChangeStyleLegalPrompt:"Change style to legal",aiChangeStyleJournalismPrompt:"Change style of journalism",aiChangeStylePoeticPrompt:"Change style to poetic",aiTranslateToSpanishPrompt:"Translate to Spanish",aiTranslateToFrenchPrompt:"Translate to French",aiTranslateToGermanPrompt:"Translate to German",aiTranslateToItalianPrompt:"Translate to Italian",aiTranslateToPortuguesePrompt:"Translate to Portuguese",aiTranslateToEnglishPrompt:"Translate to English",aiTranslateToChinesePrompt:"Translate to Chinese",aiTranslateToJapanesePrompt:"Translate to Japanese",aiTranslateToKoreanPrompt:"Translate to Korean",aiTranslateToRussianPrompt:"Translate to Russian",aiTranslateToArabicPrompt:"Translate to Arabic"},exec:(e,t,{control:i})=>{e.e.fire("generateAiAssistantForm.ai-assistant",i.name)}},o.Config.prototype.controls["ai-assistant"]={isDisabled(e){return!e.o.aiAssistant.aiAssistantCallback},hotkeys:["ctrl+a+i","cmd+a+i"],tooltip:"AI Assistant",exec:(e,t,i)=>{e.e.fire("generateAiAssistantForm.ai-assistant")}}},77367:function(e,t,i){"use strict";i.d(t,{normalizeColor:function(){return r}});var n=i(93387),o=i(4040);let r=e=>{let t=["#"],i=(0,n.colorToHex)(e);if(!i)return!1;if(3===(i=(i=(0,o.trim)(i.toUpperCase())).substring(1)).length){for(let e=0;e<3;e+=1)t.push(i[e]),t.push(i[e]);return t.join("")}return i.length>6&&(i=i.slice(0,6)),"#"+i}},77483:function(e,t,i){"use strict";i.d(t,{ConfigDeepFlatten:function(){return function e(t){return(0,c.keys)(t,!1).reduce((i,n)=>(i[n]=(0,o.isPlainObject)(t[n])?e(t[n]):t[n],i),{})}},ConfigFlatten:function(){return u},ConfigProto:function(){return function e(t,i,c=0){if(Object.getPrototypeOf(t)!==Object.prototype)return t;let u=a.Config.defaultOptions;if((0,r.isString)(t.preset)){if(void 0!==u.presets[t.preset]){let e=u.presets[t.preset];Object.keys(e).forEach(i=>{(0,s.isVoid)(t[i])&&(t[i]=e[i])})}delete t.preset}let d={};return Object.keys(t).forEach(r=>{let s=t[r],a=i?i[r]:null;if((0,o.isPlainObject)(s)&&(0,o.isPlainObject)(a)&&!(0,l.isAtom)(s)){d[r]=e(s,a,c+1);return}if(0!==c&&(0,n.isArray)(s)&&!(0,l.isAtom)(s)&&(0,n.isArray)(a)){d[r]=[...s,...a.slice(s.length)];return}d[r]=s}),Object.setPrototypeOf(d,i),d}}});var n=i(17312),o=i(62101),r=i(85932),s=i(18303),a=i(5266),l=i(54794),c=i(71125);function u(e){return(0,c.keys)(e,!1).reduce((t,i)=>(t[i]=e[i],t),{})}},77911:function(e,t,i){"use strict";i.d(t,{ajaxInstances:function(){return s},send:function(){return a}});var n=i(65946),o=i(73714),r=i(89446);let s=new WeakMap;function a(e,t){let i=(0,r.buildData)(e,t),a=t=>{e.j.progressbar.show().progress(t),t>=100&&e.j.progressbar.hide()},l=(t,i)=>{let r=new o.Ajax({xhr:()=>{let t=new XMLHttpRequest;return void 0!==e.j.ow.FormData&&t.upload?(i(10),t.upload.addEventListener("progress",e=>{if(e.lengthComputable){let t=e.loaded/e.total;i(t*=100)}},!1)):i(100),t},method:e.o.method||"POST",data:t,url:(0,n.isFunction)(e.o.url)?e.o.url(t):e.o.url,headers:e.o.headers,queryBuild:e.o.queryBuild,contentType:e.o.contentType.call(e,t),withCredentials:e.o.withCredentials||!1}),a=s.get(e);return a||(a=new Set,s.set(e,a)),a.add(r),e.j.e.one("beforeDestruct",r.destruct),r.send().then(e=>e.json()).catch(e=>({success:!1,data:{messages:[e]}})).finally(()=>{r.destruct(),null==a||a.delete(r)})};return((0,n.isFunction)(e.o.customUploadFunction)&&(l=e.o.customUploadFunction),(0,n.isPromise)(i))?i.then(e=>l(e,a)).catch(t=>{e.o.error.call(e,t)}):l(i,a)}},78462:function(e,t,i){"use strict";i.d(t,{states:function(){return l},transactions:function(){return c}});var n=i(81937),o=i(23211),r=i(28712),s=i(51640),a=i(98394);let l={START:"START",ELEMENT:"ELEMENT",UNWRAP:"UNWRAP",UNWRAP_CHILDREN:"UNWRAP_CHILDREN",CHANGE:"CHANGE",REPLACE_DEFAULT:"REPLACE_DEFAULT",LIST:"LIST",TOGGLE_LIST:"TOGGLE_LIST",WRAP:"WRAP",EXTRACT:"EXTRACT",END:"END"},c={[l.START]:{exec(e){let{element:t,jodit:i,style:n,mode:r,collapsed:c}=e;if((0,s.isInsideInvisibleElement)(t,i.editor)||!c&&o.Dom.isEmptyContent(t))return{...e,next:l.END};let u=(0,s.getSuitParent)(n,t,i.editor)||(0,s.getSuitChild)(n,t);if(u)return{...e,next:l.ELEMENT,element:u};let d=(0,s.suitableClosest)(n,t,i.editor);return n.elementIsList&&o.Dom.isList(d)?{...e,next:l.LIST}:d?{...e,next:l.EXTRACT}:{...e,next:r!==a.UNWRAP?l.UNWRAP_CHILDREN:l.END}}},[l.LIST]:{exec(e){let{element:t,jodit:i,mode:r}=e;if(r!==a.INITIAL&&r!==a.UNWRAP&&r!==a.REPLACE)return{...e,next:l.END};let s=o.Dom.closest(t,"li",i.editor);return s&&o.Dom.closest(t,n.LIST_TAGS,i.editor)?{...e,element:s,next:l.TOGGLE_LIST}:{...e,next:l.END}}},[l.TOGGLE_LIST]:{exec(e){return{...e,mode:(0,s.toggleOrderedList)(e.style,e.element,e.jodit,e.mode),next:l.END}}},[l.EXTRACT]:{exec(e){var t;let{element:i,jodit:n,style:a}=e,c=(0,s.suitableClosest)(a,i,n.editor);return((0,r.assert)(c,"This place should have an element"),!a.elementIsBlock&&(null==(t=a.options.attributes)?void 0:t.style)&&o.Dom.isBlock(c))?{...e,next:l.WRAP}:(a.elementIsBlock||(0,s.extractSelectedPart)(c,i,n),{...e,element:c,next:l.ELEMENT})}},[l.UNWRAP_CHILDREN]:{exec(e){let{element:t,style:i}=e;return(0,s.unwrapChildren)(i,t)?{...e,mode:a.UNWRAP,next:l.END}:{...e,next:l.WRAP}}},[l.WRAP]:{exec(e){let{element:t,jodit:i,style:n}=e,o=(0,s.wrap)(n,t,i);return{...e,next:n.elementIsList?l.END:l.CHANGE,mode:a.WRAP,element:o}}},[l.ELEMENT]:{exec(e){let{style:t,element:i,jodit:n}=e;return(0,s.toggleAttributes)(t,i,n,a.INITIAL,!0)!==a.INITIAL?{...e,next:l.CHANGE}:o.Dom.isTag(i,t.element)?{...e,next:l.UNWRAP}:{...e,next:l.END}}},[l.CHANGE]:{exec(e){let{style:t,element:i,jodit:n,mode:r}=e,c=(0,s.toggleAttributes)(t,i,n,e.mode);return r!==a.WRAP&&c===a.UNSET&&!i.attributes.length&&o.Dom.isTag(i,t.element)?{...e,next:l.UNWRAP}:{...e,mode:c,next:l.END}}},[l.UNWRAP]:{exec(e){return e.element.attributes.length&&o.Dom.isTag(e.element,e.style.element)?{...e,next:l.REPLACE_DEFAULT}:(o.Dom.unwrap(e.element),{...e,mode:a.UNWRAP,next:l.END})}},[l.REPLACE_DEFAULT]:{exec(e){return o.Dom.replace(e.element,e.style.defaultTag,e.jodit.createInside,!0),{...e,mode:a.REPLACE,next:l.END}}},[l.END]:{exec(e){return e}}}},78690:function(e,t,i){"use strict";var n=i(27795),o=i(28077),r=i(5266);r.Config.prototype.autofocus=!1,r.Config.prototype.cursorAfterAutofocus="end",r.Config.prototype.saveSelectionOnBlur=!0,o.pluginSystem.add("focus",function(e){e.o.saveSelectionOnBlur&&e.e.on("blur",()=>{e.isEditorMode()&&e.s.save(!0)}).on("focus",()=>{e.s.restore()});let t=()=>{if(e.s.focus(),"end"===e.o.cursorAfterAutofocus){let t=n.Dom.last(e.editor,e=>n.Dom.isText(e));t&&e.s.setCursorIn(t,!1)}};e.e.on("afterInit",()=>{e.o.autofocus&&(e.defaultTimeout?e.async.setTimeout(t,300):t())}),e.e.on("afterInit afterAddPlace",()=>{e.e.off(e.editor,"mousedown.autofocus").on(e.editor,"mousedown.autofocus",t=>{e.isEditorMode()&&t.target&&n.Dom.isBlock(t.target)&&!t.target.childNodes.length&&(e.editor===t.target?e.s.focus():e.s.setCursorIn(t.target))})})})},78982:function(e,t,i){"use strict";i.d(t,{asArray:function(){return o}});var n=i(17312);let o=e=>(0,n.isArray)(e)?e:[e]},79310:function(e,t,i){"use strict";i.d(t,{readLink:function(){return r}});var n=i(23211),o=i(7909);function r(e,t,i){let r=n.Dom.closest(e.sourceImage,"a",t.editor);r?(i.imageLink=(0,o.attr)(r,"href")||"",i.imageLinkOpenInNewTab="_blank"===(0,o.attr)(r,"target")):(i.imageLink="",i.imageLinkOpenInNewTab=!1)}},79400:function(e){e.exports={"copy-format":"Kopioi muotoilu"}},79803:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.toolbarSticky=!0,n.Config.prototype.toolbarDisableStickyForMobile=!0,n.Config.prototype.toolbarStickyOffset=0},79821:function(e,t,i){"use strict";i.d(t,{Create:function(){return n.Create}});var n=i(76517)},79947:function(e,t,i){"use strict";i.d(t,{clearTimeout:function(){return r},setTimeout:function(){return o}});var n=i(81937);function o(e,t,...i){return t?n.globalWindow.setTimeout(e,t,...i):(e.call(null,...i),0)}function r(e){n.globalWindow.clearTimeout(e)}},80202:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.minWidth=200,n.Config.prototype.maxWidth="100%",n.Config.prototype.minHeight=200,n.Config.prototype.maxHeight="auto",n.Config.prototype.saveHeightInStorage=!1},80251:function(e,t,i){"use strict";i.d(t,{Component:function(){return c}});var n=i(25045),o=i(91231),r=i(69364),s=i(28077),a=i(65946);let l=new Map;class c{get componentName(){return this.__componentName||(this.__componentName="jodit-"+(0,a.kebabCase)(((0,a.isFunction)(this.className)?this.className():"")||(0,a.getClassName)(this))),this.__componentName}getFullElName(e,t,i){let n=[this.componentName];return e&&(e=e.replace(/[^a-z0-9-]/gi,"-"),n.push(`__${e}`)),t&&(n.push("_",t),n.push("_",(0,a.isVoid)(i)?"true":i.toString())),n.join("")}get ownerDocument(){return this.ow.document}get od(){return this.ownerDocument}get ow(){return this.ownerWindow}get(e,t){return(0,a.get)(e,t||this)}get isReady(){return this.componentStatus===r.STATUSES.ready}get isDestructed(){return this.componentStatus===r.STATUSES.destructed}get isInDestruct(){return r.STATUSES.beforeDestruct===this.componentStatus||r.STATUSES.destructed===this.componentStatus}bindDestruct(e){return e.hookStatus(r.STATUSES.beforeDestruct,()=>!this.isInDestruct&&this.destruct()),this}destruct(){this.setStatus(r.STATUSES.destructed),this.async&&(this.async.destruct(),this.async=void 0),l.get(this)&&l.delete(this),this.ownerWindow=void 0}get componentStatus(){return this.__componentStatus}set componentStatus(e){this.setStatus(e)}setStatus(e){return this.setStatusComponent(e,this)}setStatusComponent(e,t){if(e===this.__componentStatus)return;t===this&&(this.__componentStatus=e);let i=Object.getPrototypeOf(this);i&&(0,a.isFunction)(i.setStatusComponent)&&i.setStatusComponent(e,t);let n=l.get(this),o=null==n?void 0:n[e];o&&o.length&&o.forEach(e=>e(t))}hookStatus(e,t){let i=l.get(this);i||(i={},l.set(this,i)),i[e]||(i[e]=[]),i[e].push(t)}static isInstanceOf(e,t){return e instanceof t}constructor(){(0,n._)(this,"__componentName",void 0),(0,n._)(this,"async",new o.Async),(0,n._)(this,"uid",void 0),(0,n._)(this,"ownerWindow",window),(0,n._)(this,"__componentStatus",r.STATUSES.beforeInit),this.uid="jodit-uid-"+(0,s.uniqueUid)()}}(0,n._)(c,"STATUSES",r.STATUSES)},80347:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24" > <circle cx="12" cy="12" r="2.2"/> <circle cx="12" cy="5" r="2.2"/> <circle cx="12" cy="19" r="2.2"/> </svg>'},80512:function(e,t,i){"use strict";i.d(t,{Dlgs:function(){return a}});var n=i(28077),o=i(28686),r=i(71125),s=i(37333);class a{dlg(e){let t=(0,n.getPopupViewRoot)(this.o,this.container,this.od.body),i=new s.Dialog({language:this.o.language,shadowRoot:this.o.shadowRoot,popupRoot:t,ownerWindow:this.o.ownerWindow,defaultTimeout:this.o.defaultTimeout,direction:this.o.direction,theme:this.o.theme,globalFullSize:this.o.globalFullSize,...e});return(0,r.markOwner)(this,i.container),i.parent=this,i.bindDestruct(this)}confirm(e,t,i){return e=l(e,this),t=l(t,this),s.Confirm.call(this.dlg({closeOnClickOverlay:!0}),e,t,i)}prompt(e,t,i,n,o){return e=l(e,this),t=l(t,this),n=l(n,this),s.Prompt.call(this.dlg({closeOnClickOverlay:!0}),e,t,i,n,o)}alert(e,t,i,n){return e=l(e,this),t=l(t,this),s.Alert.call(this.dlg({closeOnClickOverlay:!0}),e,t,i,n)}}function l(e,t){return(0,o.isString)(e)&&!(0,o.isHTML)(e)&&(e=t.i18n(e)),e}},80515:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45z"/> </svg>'},80538:function(e,t,i){"use strict";var n=i(81937),o=i(29434),r=i(5266),s=i(24772),a=i.n(s),l=i(66547),c=i.n(l);r.Config.prototype.fullsize=!1,r.Config.prototype.globalFullSize=!0,o.Icon.set("fullsize",a()).set("shrink",c()),r.Config.prototype.controls.fullsize={exec:e=>{e.toggleFullSize()},update(e,t){let i=e.isFullSize?"shrink":"fullsize";t.state.activated=e.isFullSize,e.o.textIcons?t.state.text=i:t.state.icon.name=i},tooltip:"Open in fullsize",mode:n.MODE_SOURCE+n.MODE_WYSIWYG}},80696:function(e){e.exports={symbols:"رمز"}},80840:function(e,t,i){"use strict";i.d(t,{wait:function(){return s}});var n=i(69364),o=i(91565),r=i(33201);function s(e){return(t,i)=>{let s=t[i];if(!(0,o.isFunction)(s))throw(0,r.error)("Handler must be a Function");t.hookStatus(n.STATUSES.ready,t=>{let{async:n}=t,o=t[i],r=0;Object.defineProperty(t,i,{configurable:!0,value:function i(...s){n.clearTimeout(r),e(t)?o.apply(t,s):r=n.setTimeout(()=>i(...s),10)}})})}}},80951:function(e,t,i){"use strict";i.d(t,{checkJoinTwoLists:function(){return s}});var n=i(23211),o=i(71125),r=i(15200);function s(e,t,i){let s=n.Dom.findSibling(t,i),a=n.Dom.findSibling(t,!i);if(!n.Dom.closest(t,n.Dom.isElement,e.editor)&&n.Dom.isList(s)&&n.Dom.isList(a)&&n.Dom.isTag(s.lastElementChild,"li")&&n.Dom.isTag(a.firstElementChild,"li")){let{setCursorBefore:l,setCursorAfter:c}=e.s,u=s.lastElementChild,d=a.firstElementChild;return(0,o.call)(i?n.Dom.prepend:n.Dom.append,d,t),n.Dom.moveContent(a,s,!i,(0,r.getMoveFilter)(e)),n.Dom.safeRemove(a),(0,o.call)(i?n.Dom.append:n.Dom.prepend,u,t),(0,o.call)(i?l:c,t),!0}return!1}},80991:function(e,t,i){"use strict";i.d(t,{clearCenterAlign:function(){return c},css:function(){return l}});var n=i(22289),o=i(62101),r=i(19147),s=i(57821),a=i(74264);function l(e,t,i,c=!1){if((0,n.isBoolean)(i)&&(c=i,i=void 0),(0,o.isPlainObject)(t)||void 0!==i){let n=(e,t,i)=>{void 0!==(i=(0,r.normalizeCssNumericValue)(t,i))&&(null==i||l(e,t,!0)!==(0,r.normalizeCssValue)(t,i))&&(e.style[t]=i)};if((0,o.isPlainObject)(t)){let i=Object.keys(t);for(let o=0;o<i.length;o+=1)n(e,(0,s.camelCase)(i[o]),t[i[o]])}else n(e,(0,s.camelCase)(t),i);return""}let u=(0,a.kebabCase)(t),d=e.ownerDocument||document,h=!!d&&(d.defaultView||d.parentWindow),p=e.style[t],m="";return void 0!==p&&""!==p?m=p:h&&!c&&(m=h.getComputedStyle(e).getPropertyValue(u)),r.NUMBER_FIELDS_REG.test(t)&&/^[-+]?[0-9.]+px$/.test(m.toString())&&(m=parseInt(m.toString(),10)),(0,r.normalizeCssValue)(t,m)}let c=e=>{"block"===l(e,"display")&&l(e,"display","");let{style:t}=e;"auto"===t.marginLeft&&"auto"===t.marginRight&&(t.marginLeft="",t.marginRight="")}},81008:function(e,t,i){"use strict";var n=i(29434),o=i(5266),r=i(51457),s=i.n(r),a=i(23602),l=i.n(a),c=i(86899),u=i.n(c),d=i(95320),h=i.n(d);o.Config.prototype.controls.cut={command:"cut",isDisabled:e=>e.s.isCollapsed(),tooltip:"Cut selection"},o.Config.prototype.controls.copy={command:"copy",isDisabled:e=>e.s.isCollapsed(),tooltip:"Copy selection"},o.Config.prototype.controls.selectall={icon:"select-all",command:"selectall",tooltip:"Select all"},n.Icon.set("copy",s()).set("cut",l()).set("paste",u()).set("select-all",h())},81089:function(e){e.exports={Spellcheck:"בדיקת איות"}},81144:function(e,t,i){"use strict";var n=i(81937),o=i(28077),r=i(65946);i(17326),o.pluginSystem.add("iframe",function(e){let t=e.options;e.e.on("afterSetMode",()=>{e.isEditorMode()&&e.s.focus()}).on("generateDocumentStructure.iframe",(e,i)=>{let n=e||i.iframe.contentWindow.document;if(n.open(),n.write(t.iframeDoctype+`<html dir="${t.direction}" class="jodit" lang="${(0,r.defaultLanguage)(t.language)}">`+"<head>"+`<title>${t.iframeTitle}</title>`+(t.iframeBaseUrl?`<base href="${t.iframeBaseUrl}"/>`:"")+'</head><body class="jodit-wysiwyg"></body></html>'),n.close(),t.iframeCSSLinks&&t.iframeCSSLinks.forEach(e=>{let t=n.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),n.head&&n.head.appendChild(t)}),t.iframeStyle){let e=n.createElement("style");e.innerHTML=t.iframeStyle,n.head&&n.head.appendChild(e)}}).on("createEditor",()=>{if(!t.iframe)return;let i=e.c.element("iframe");i.style.display="block",i.src="about:blank",i.className="jodit-wysiwyg_iframe",i.setAttribute("allowtransparency","true"),i.setAttribute("tabindex",t.tabIndex.toString()),i.setAttribute("frameborder","0"),null!=t.iframeSandbox&&i.setAttribute("sandbox",t.iframeSandbox),e.workplace.appendChild(i),e.iframe=i;let o=e.e.fire("generateDocumentStructure.iframe",null,e);return(0,r.callPromise)(o,()=>{if(!e.iframe)return!1;let i=e.iframe.contentWindow.document;e.editorWindow=e.iframe.contentWindow;let o=t.editHTMLDocumentMode,s=()=>{(0,r.attr)(i.body,"contenteditable",e.getMode()!==n.MODE_SOURCE&&!e.getReadOnly()||null)},a=e=>{let t=/<body.*<\/body>/im,i="{%%BODY%%}",n=t.exec(e);return n&&(e=e.replace(t,i).replace(/<span([^>]*?)>(.*?)<\/span>/gim,"").replace(/&lt;span([^&]*?)&gt;(.*?)&lt;\/span&gt;/gim,"").replace(i,n[0].replace(/(<body[^>]+?)min-height["'\s]*:[\s"']*[0-9]+(px|%)/im,"$1").replace(/(<body[^>]+?)([\s]*["'])?contenteditable["'\s]*=[\s"']*true["']?/im,"$1").replace(/<(style|script|span)[^>]+jodit[^>]+>.*?<\/\1>/g,"")).replace(/(class\s*=\s*)(['"])([^"']*)(jodit-wysiwyg|jodit)([^"']*\2)/g,"$1$2$3$5").replace(/(<[^<]+?)\sclass="[\s]*"/gim,"$1").replace(/(<[^<]+?)\sstyle="[\s;]*"/gim,"$1").replace(/(<[^<]+?)\sdir="[\s]*"/gim,"$1")),e};if(o){let t=e.element.tagName;if("TEXTAREA"!==t&&"INPUT"!==t)throw(0,r.error)("If enable `editHTMLDocumentMode` - source element should be INPUT or TEXTAREA");e.e.on("beforeGetNativeEditorValue",()=>a(e.o.iframeDoctype+i.documentElement.outerHTML)).on("beforeSetNativeEditorValue",({value:t})=>!e.isLocked&&(/<(html|body)/i.test(t)?a(i.documentElement.outerHTML)!==a(t)&&(i.open(),i.write(e.o.iframeDoctype+a(t)),i.close(),e.editor=i.body,e.e.fire("safeHTML",e.editor),s(),e.e.fire("prepareWYSIWYGEditor"),e.e.stopPropagation("beforeSetNativeEditorValue")):i.body.innerHTML=t,!0),{top:!0})}if(e.editor=i.body,e.e.on("afterSetMode afterInit afterAddPlace",s),"auto"===t.height){i.documentElement&&(i.documentElement.style.overflowY="hidden");let n=e.async.throttle((...i)=>{e.async.requestAnimationFrame(()=>{if(e.editor&&e.iframe&&"auto"===t.height){let t=e.ew.getComputedStyle(e.editor),i=parseInt(t.marginTop||"0",10)+parseInt(t.marginBottom||"0",10);(0,r.css)(e.iframe,"height",e.editor.offsetHeight+i)}})},e.defaultTimeout/2);if(e.e.on("change afterInit afterSetMode resize",n).on([e.iframe,e.ew,i.documentElement],"load",n).on(i,"readystatechange DOMContentLoaded",n),"function"==typeof ResizeObserver){let t=new ResizeObserver(n);t.observe(i.body),e.e.on("beforeDestruct",()=>{t.disconnect()})}}return i.documentElement&&e.e.on(i.documentElement,"mousedown touchend",()=>{e.s.isFocused()||(e.s.focus(),e.editor===i.body&&e.s.setCursorIn(i.body))}).on(e.ew,"mousedown touchstart keydown keyup touchend click mouseup mousemove scroll",t=>{var i;null==(i=e.events)||i.fire(e.ow,t)}),!1})})})},81321:function(e){e.exports.default=["\xcdrjon be valamit","Joditr\xf3l","Jodit Editor","Jodit \xfatmutat\xf3","tov\xe1bbi seg\xedts\xe9get tartalmaz","Tov\xe1bbi licence inform\xe1ci\xf3k\xe9rt l\xe1togassa meg a weboldalunkat:","Teljes verzi\xf3 megv\xe1s\xe1rl\xe1sa","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Minden jog fenntartva.","Horgony","Megnyit\xe1s \xfaj lapon","Megnyit\xe1s teljes m\xe9retben","Form\xe1z\xe1s t\xf6rl\xe9se","H\xe1tt\xe9r/sz\xf6veg sz\xedn","\xdajra","Visszavon","F\xe9lk\xf6v\xe9r","Dőlt","Pontozott lista","Sz\xe1mozott lista","K\xf6z\xe9pre z\xe1rt","Sorkiz\xe1rt","Balra z\xe1rt","Jobbra z\xe1rt","V\xedzszintes vonal besz\xfar\xe1sa","K\xe9p besz\xfar\xe1s","F\xe1jl besz\xfar\xe1s","Youtube vide\xf3 besz\xfar\xe1sa","Link besz\xfar\xe1s","Betűm\xe9ret","Betűt\xedpus","Form\xe1zott blokk besz\xfar\xe1sa","Norm\xe1l","Fejl\xe9c 1","Fejl\xe9c 2","Fejl\xe9c 3","Fejl\xe9c 4","Id\xe9zet","K\xf3d","Besz\xfar","T\xe1bl\xe1zat besz\xfar\xe1sa","Beh\xfaz\xe1s cs\xf6kkent\xe9se","Beh\xfaz\xe1s n\xf6vel\xe9se","Speci\xe1lis karakter kiv\xe1laszt\xe1sa","Speci\xe1lis karakter besz\xfar\xe1sa","K\xe9p form\xe1z\xe1sa","N\xe9zet v\xe1lt\xe1sa","Szeg\xe9lyek","felső","jobb","als\xf3","bal","CSS st\xedlusok","CSS oszt\xe1lyok","Igaz\xedt\xe1s","Jobbra","K\xf6z\xe9pre","Balra","Nincs","Forr\xe1s","C\xedm","Helyettes\xedtő sz\xf6veg","Link","Link megnyit\xe1sa \xfaj lapon","K\xe9p","F\xe1jl","Halad\xf3","K\xe9p tulajdons\xe1gai","M\xe9gsem","OK","F\xe1jl tall\xf3z\xf3","Hiba a lista bet\xf6lt\xe9se k\xf6zben","Hiba a mapp\xe1k bet\xf6lt\xe9se k\xf6zben","Biztosan ezt szeretn\xe9?","\xcdrjon be egy mappanevet","Mappa l\xe9trehoz\xe1sa","\xedrjon be bevet","H\xfazza ide a k\xe9pet","H\xfazza ide a f\xe1jlt","vagy kattintson","Helyettes\xedtő sz\xf6veg","Felt\xf6lt","Tall\xf3z","H\xe1tt\xe9r","Sz\xf6veg","Fent","K\xf6z\xe9pen","Lent","Oszlop besz\xfar\xe1s el\xe9","Oszlop besz\xfar\xe1s ut\xe1na","Sor besz\xfar\xe1s f\xf6l\xe9","Sor besz\xfar\xe1s al\xe1","T\xe1bl\xe1zat t\xf6rl\xe9se","Sor t\xf6rl\xe9se","Oszlop t\xf6rl\xe9se","Cella tartalm\xe1nak t\xf6rl\xe9se","Karakterek sz\xe1ma: %d","Szavak sz\xe1ma: %d","\xc1th\xfazott","Al\xe1h\xfazott","Felső index","Als\xf3 index","Kiv\xe1g\xe1s","\xd6sszes kijel\xf6l\xe9se","Sz\xfcnet","Keres\xe9s","Csere erre","Cser\xe9lje ki","Beilleszt\xe9s","V\xe1lasszon tartalmat a beilleszt\xe9shez","HTML","F\xe9lk\xf6v\xe9r","Dőlt","Ecset","Link","Visszavon","\xdajra","T\xe1bl\xe1zat","K\xe9p","T\xf6rl\xe9s","Paragr\xe1fus","Betűm\xe9ret","Vide\xf3","Betű","R\xf3lunk","Nyomtat","Al\xe1h\xfazott","\xc1th\xfazott","Beh\xfaz\xe1s","Aussenseiter","Teljes m\xe9ret","\xd6sszenyom","Egyenes vonal","Lista","Sz\xe1mozott lista","Kiv\xe1g","\xd6sszes kijel\xf6l\xe9se","Be\xe1gyazott k\xf3d","Link megnyit\xe1sa","Link szerkeszt\xe9se","Nincs k\xf6vet\xe9s","Link lev\xe1laszt\xe1sa","Friss\xedt","Szerkeszt\xe9s","fel\xfclvizsg\xe1lat","URL","Szerkeszt","V\xedzszintes igaz\xedt\xe1s","Szűrő","Rendez\xe9s m\xf3dos\xedt\xe1s szerint","Rendez\xe9s n\xe9v szerint","Rendez\xe9s m\xe9ret szerint","Mappa hozz\xe1ad\xe1s","Vissza\xe1ll\xedt","Ment\xe9s","Ment\xe9s m\xe1sk\xe9nt...","\xc1tm\xe9retez\xe9s","Kiv\xe1g","Sz\xe9less\xe9g","Magass\xe1g","K\xe9par\xe1ny megtart\xe1sa","Igen","Nem","Elt\xe1vol\xedt","Kijel\xf6l","Kijel\xf6l: %s","F\xfcggőleges igaz\xedt\xe1s","Feloszt\xe1s","\xd6sszevon\xe1s","Oszlop hozz\xe1ad\xe1s","Sor hozz\xe1ad\xe1s","Licenc: %s","T\xf6rl\xe9s","F\xfcggőleges feloszt\xe1s","V\xedzszintes feloszt\xe1s","Szeg\xe9ly","A beillesztett sz\xf6veg HTML-nek tűnik. Megtartsuk HTML-k\xe9nt?","Besz\xfar\xe1s HTML-k\xe9nt","Megtart\xe1s","Besz\xfar\xe1s sz\xf6vegk\xe9nt","Csak sz\xf6veg beilleszt\xe9se","Csak a saj\xe1t k\xe9peit tudja szerkeszteni. Let\xf6lti ezt a k\xe9pet?","K\xe9p sikeresen felt\xf6ltve!","Palette","Er zijn geen bestanden in deze map.","\xe1tnevez\xe9s","Adja meg az \xfaj nevet","előn\xe9zet","Let\xf6lt\xe9s","Illessze be a v\xe1g\xf3lap","A b\xf6ng\xe9sző nem t\xe1mogatja a k\xf6zvetlen hozz\xe1f\xe9r\xe9st biztos\xedt a v\xe1g\xf3lapra.","M\xe1sol\xe1s kiv\xe1laszt\xe1sa","m\xe1sol\xe1s","Hat\xe1r sug\xe1r","\xd6sszes","Alkalmazni","K\xe9rj\xfck, t\xf6ltse ki ezt a mezőt,","K\xe9rj\xfck, \xedrja be a webc\xedmet","Alap\xe9rtelmezett","K\xf6r","Pont","Quadrate","Tal\xe1lni","Megtal\xe1lja Előző","K\xf6vetkező Keres\xe9se","A beillesztett tartalom Microsoft Word/Excel dokumentumb\xf3l sz\xe1rmazik. Meg szeretn\xe9 tartani a form\xe1tum\xe1t?","Word-ből m\xe1solt sz\xf6veg","Elvet\xe9s","Helyezze be az oszt\xe1ly nev\xe9t","Nyomja meg az Alt egy\xe9ni \xe1tm\xe9retez\xe9s",null,null,null,"\xd6sszes"]},81488:function(e,t,i){"use strict";i.d(t,{inputValidators:function(){return n},selectValidators:function(){return o}});var n=i(48776),o=i(6490)},81576:function(e,t,i){"use strict";i.d(t,{generateCriticalCSS:function(){return r}});var n=i(25045),o=i(88475);function r(e){let t=(e,t=e.ownerDocument.styleSheets)=>(0,o.toArray)(t).map(e=>{try{return(0,o.toArray)(e.cssRules)}catch(e){}return[]}).flat().filter(t=>{try{return!!(t&&e.matches(t.selectorText))}catch(e){}return!1});class i{generateCSS(){let e="";for(let t in this.css)if(!/:not\(/.test(t)){for(let i in e+=t+" { ",this.css[t])e+=i+": "+this.css[t][i]+"; ";e+="}\n"}return e}constructor(i,o,r){(0,n._)(this,"css",{});const s=r||{},a=t=>{let i=t.selectorText.split(",").map(e=>e.trim()).sort().join(",");!1==!!this.css[i]&&(this.css[i]={});let n=t.style.cssText.split(/;(?![A-Za-z0-9])/);for(let t=0;t<n.length;t++){if(!n[t])continue;let o=n[t].split(":");o[0]=o[0].trim(),o[1]=o[1].trim(),this.css[i][o[0]]=o[1].replace(/var\(([^)]+)\)/g,(t,i)=>{let[n,o]=i.split(",");return(e.ew.getComputedStyle(e.editor).getPropertyValue(n.trim())||o||t).trim()})}};(()=>{let n=i.innerHeight,r=o.createTreeWalker(e.editor,NodeFilter.SHOW_ELEMENT,()=>NodeFilter.FILTER_ACCEPT);for(;r.nextNode();){let e=r.currentNode;if(e.getBoundingClientRect().top<n||s.scanFullPage){let i=t(e);if(i)for(let e=0;e<i.length;e++)a(i[e])}}})()}}try{return new i(e.ew,e.ed,{scanFullPage:!0}).generateCSS()}catch(e){}return""}},81582:function(e,t,i){"use strict";var n=i(31635),o=i(81937),r=i(84839),s=i(28077),a=i(91206);i(69023);var l=i(2923);class c extends a.Plugin{afterInit(e){}__onTab(e){if(e.key===o.KEY_TAB&&this.__onShift(e.shiftKey))return!1}__onCommand(e){if(("indent"===e||"outdent"===e)&&this.__onShift("outdent"===e))return!1}__onShift(e){let t=(0,l.onTabInsideLi)(this.j,e);return t&&this.j.e.fire("afterTab",e),t}beforeDestruct(e){}}(0,n.__decorate)([(0,r.watch)(":keydown.tab")],c.prototype,"__onTab",null),(0,n.__decorate)([(0,r.watch)(":beforeCommand.tab")],c.prototype,"__onCommand",null),s.pluginSystem.add("tab",c)},81875:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 270 270"> <path d="m240.443652,220.45085l-47.410809,0l0,-10.342138c13.89973,-8.43655 25.752896,-19.844464 34.686646,-33.469923c11.445525,-17.455846 17.496072,-37.709239 17.496072,-58.570077c0,-59.589197 -49.208516,-108.068714 -109.693558,-108.068714s-109.69263,48.479517 -109.69263,108.069628c0,20.860839 6.050547,41.113316 17.497001,58.570077c8.93375,13.625459 20.787845,25.032458 34.686646,33.469008l0,10.342138l-47.412666,0c-10.256959,0 -18.571354,8.191376 -18.571354,18.296574c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.98402,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574l0,-39.496814c0,-7.073455 -4.137698,-13.51202 -10.626529,-16.537358c-25.24497,-11.772016 -41.557118,-37.145704 -41.557118,-64.643625c0,-39.411735 32.545369,-71.476481 72.549922,-71.476481c40.004553,0 72.550851,32.064746 72.550851,71.476481c0,27.497006 -16.312149,52.87161 -41.557118,64.643625c-6.487902,3.026253 -10.6256,9.464818 -10.6256,16.537358l0,39.496814c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.982163,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574c0,-10.105198 -8.314395,-18.296574 -18.571354,-18.296574z"/> </svg>'},81937:function(e,t,i){"use strict";i.r(t),i.d(t,{ACCURACY:function(){return V},APP_VERSION:function(){return n},BASE_PATH:function(){return eh},BASE_PATH_IS_MIN:function(){return ep},BR:function(){return W},CLIPBOARD_ID:function(){return eg},COMMAND_KEYS:function(){return U},EMULATE_DBLCLICK_TIMEOUT:function(){return et},ES:function(){return o},FAT_MODE:function(){return c},HOMEPAGE:function(){return u},INSEPARABLE_TAGS:function(){return T},INSERT_AS_HTML:function(){return ei},INSERT_AS_TEXT:function(){return eo},INSERT_CLEAR_HTML:function(){return en},INSERT_ONLY_TEXT:function(){return er},INVISIBLE_SPACE:function(){return p},INVISIBLE_SPACE_REG_EXP:function(){return f},INVISIBLE_SPACE_REG_EXP_END:function(){return g},INVISIBLE_SPACE_REG_EXP_START:function(){return v},IS_BLOCK:function(){return C},IS_ES_MODERN:function(){return r},IS_ES_NEXT:function(){return s},IS_IE:function(){return X},IS_INLINE:function(){return k},IS_MAC:function(){return ea},IS_PROD:function(){return a},IS_TEST:function(){return l},KEY_ALIASES:function(){return el},KEY_ALT:function(){return P},KEY_BACKSPACE:function(){return j},KEY_DELETE:function(){return q},KEY_DOWN:function(){return R},KEY_ENTER:function(){return L},KEY_ESC:function(){return A},KEY_F3:function(){return F},KEY_LEFT:function(){return M},KEY_META:function(){return D},KEY_RIGHT:function(){return B},KEY_SPACE:function(){return O},KEY_TAB:function(){return z},KEY_UP:function(){return N},LIST_TAGS:function(){return E},MARKER_CLASS:function(){return ee},MODE_SOURCE:function(){return K},MODE_SPLIT:function(){return G},MODE_WYSIWYG:function(){return Y},NBSP_SPACE:function(){return m},NEARBY:function(){return H},NO_EMPTY_TAGS:function(){return x},PARAGRAPH:function(){return $},PASSIVE_EVENTS:function(){return e_},SAFE_COUNT_CHANGE_CALL:function(){return es},SET_TEST:function(){return d},SOURCE_CONSUMER:function(){return ev},SPACE_REG_EXP:function(){return _},SPACE_REG_EXP_END:function(){return y},SPACE_REG_EXP_START:function(){return b},TEMP_ATTR:function(){return em},TEXT_HTML:function(){return Z},TEXT_PLAIN:function(){return J},TEXT_RTF:function(){return Q},TOKENS:function(){return h},globalDocument:function(){return w},globalWindow:function(){return S},lang:function(){return ef}});let n="4.9.9",o="es2018",r=!0,s=!1,a=!0,l=!1,c=!1,u="https://xdsoft.net/jodit/",d=()=>l=!0,h={},p="\uFEFF",m="\xa0",f=()=>/[\uFEFF]/g,g=()=>/[\uFEFF]+$/g,v=()=>/^[\uFEFF]+/g,_=()=>/[\s\n\t\r\uFEFF\u200b]+/g,b=()=>/^[\s\n\t\r\uFEFF\u200b]+/g,y=()=>/[\s\n\t\r\uFEFF\u200b]+$/g,S="u">typeof window?window:void 0,w="u">typeof document?document:void 0,C=/^(ADDRESS|ARTICLE|ASIDE|BLOCKQUOTE|CANVAS|DD|DFN|DIV|DL|DT|FIELDSET|FIGCAPTION|FIGURE|FOOTER|FORM|H[1-6]|HEADER|HGROUP|HR|LI|MAIN|NAV|NOSCRIPT|OUTPUT|P|PRE|RUBY|SCRIPT|STYLE|OBJECT|OL|SECTION|IFRAME|JODIT|JODIT-MEDIA|UL|TR|TD|TH|TBODY|THEAD|TFOOT|TABLE|BODY|HTML|VIDEO)$/i,k=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,E=new Set(["ul","ol"]),I=["img","video","svg","iframe","script","input","textarea","link","jodit","jodit-media"],T=new Set([...I,"br","hr"]),x=new Set(I),D="Meta",j="Backspace",z="Tab",L="Enter",A="Escape",P="Alt",M="ArrowLeft",N="ArrowUp",B="ArrowRight",R="ArrowDown",O="Space",q="Delete",F="F3",H=5,V=10,U=[D,j,q,N,R,B,M,L,A,F,z],W="br",$="p",Y=1,K=2,G=3,X="u">typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),J=X?"text":"text/plain",Z=X?"html":"text/html",Q=X?"rtf":"text/rtf",ee="jodit-selection_marker",et=300,ei="insert_as_html",en="insert_clear_html",eo="insert_as_text",er="insert_only_text",es=10,ea=void 0!==S&&/Mac|iPod|iPhone|iPad/.test(S.navigator.platform),el={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:ea?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:"space",spacebar:"space",up:"arrowup",win:"meta",windows:"meta"},ec=e=>{let t=e.split("/");return/\.js/.test(t[t.length-1])?{basePath:t.slice(0,t.length-1).join("/")+"/",isMin:!0}:{basePath:e,isMin:!0}},{basePath:eu,isMin:ed}=(()=>{if("u"<typeof document)return{basePath:"",isMin:!0};let e=w.currentScript;if(e)return ec(e.src);let t=w.querySelectorAll("script[src]");return t&&t.length?ec(t[t.length-1].src):ec(S.location.href)})(),eh=eu,ep=ed,em="data-jodit-temp",ef={},eg="clipboard",ev="source-consumer",e_=new Set(["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"])},81987:function(e,t,i){"use strict";i.d(t,{Mods:function(){return o}});var n=i(18303);class o{afterSetMod(e,t){}setMod(e,t,i){e=e.toLowerCase();let o=this.mods[e];if(o===t)return this;let r=`${this.componentName}_${e}_`,s=(i||this.container).classList;return null!=o&&s.remove(`${r}${o.toString().toLowerCase()}`),(0,n.isVoid)(t)||""===t||s.add(`${r}${t.toString().toLowerCase()}`),this.mods[e]=t,this.afterSetMod(e,t),this}getMod(e){var t;return null!=(t=this.mods[e])?t:null}}},82147:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.limitWords=!1,n.Config.prototype.limitChars=!1,n.Config.prototype.limitHTML=!1},82166:function(e,t,i){"use strict";function n(e){return -1!==e.search(/<meta.*?Microsoft Excel\s[\d].*?>/)||-1!==e.search(/<meta.*?Microsoft Word\s[\d].*?>/)||-1!==e.search(/style="[^"]*mso-/)&&-1!==e.search(/<font/)}i.d(t,{isHtmlFromWord:function(){return n}})},82495:function(e,t,i){"use strict";i.d(t,{createSourceEditor:function(){return r}});var n=i(65946),o=i(8105);function r(e,t,i,r,s){let a;if((0,n.isFunction)(e))a=e(t);else switch(e){case"ace":if(!t.o.shadowRoot){a=new o.AceEditor(t,i,r,s);break}default:a=new o.TextAreaEditor(t,i,r,s)}return a.init(t),a.onReadyAlways(()=>{a.setReadOnly(t.o.readonly)}),a}},82658:function(e,t,i){"use strict";i.d(t,{applyStyles:function(){return n.applyStyles},cleanFromWord:function(){return o.cleanFromWord},htmlspecialchars:function(){return r.htmlspecialchars},nl2br:function(){return s.nl2br},safeHTML:function(){return a.safeHTML},sanitizeHTMLElement:function(){return a.sanitizeHTMLElement},stripTags:function(){return l.stripTags}});var n=i(30893),o=i(1277),r=i(6609),s=i(48838),a=i(48155),l=i(22852)},82794:function(e,t,i){"use strict";i.d(t,{toggleAttributes:function(){return f}});var n=i(81937),o=i(23211),r=i(28077),s=i(28686),a=i(19147),l=i(18073),c=i(74264),u=i(93640),d=i(80991),h=i(36400),p=i(98394);let m="toggleAttributes";function f(e,t,i,v,_=!1){if(!_&&e.isApplied(t,m))return v;_||e.setApplied(t,m);let{attributes:b}=e.options;return b&&(0,l.size)(b)>0&&Object.keys(b).forEach(m=>{var f,y,S;let w=b[m];switch(m){case"style":f=v,(0,u.assert)((0,s.isPlainObject)(w)&&(0,l.size)(w),"Style must be an object"),Object.keys(w).forEach(s=>{let l=t.style.getPropertyValue((0,c.kebabCase)(s)),u=w[s];if(""!==l||null!=u){let c,m;if((c=i.create.element(t.tagName.toLowerCase())).style.cssText=t.style.cssText,(function(e){var t;if(void 0!==(0,h.dataBind)(e,"shadowRoot"))return(0,h.dataBind)(e,"shadowRoot");let i=(0,r.getContainer)(e),o=n.globalDocument.createElement("iframe");(0,d.css)(o,{width:0,height:0,position:"absolute",border:0}),o.src="about:blank",i.appendChild(o);let s=null==(t=o.contentWindow)?void 0:t.document,a=s?s.body:e.od.body;return(0,h.dataBind)(e,"shadowRoot",a),a})(i).appendChild(c),m=(0,d.css)(c,s),o.Dom.safeRemove(c),m===(0,a.normalizeCssValue)(s,u)){if(!l)return;_||(0,d.css)(t,s,null),f=g(e,t,f=p.UNSET);return}f=p.CHANGE,_||((0,d.css)(t,s,u),f=g(e,t,f))}}),v=f;break;case"className":case"class":let C;y=v,(0,u.assert)((0,s.isString)(w),"Class name must be a string"),C=i.e.fire.bind(i.e,`${p._PREFIX}AfterToggleAttribute`),t.classList.contains(w.toString())?(y=p.UNSET,_||(t.classList.remove(w),0===t.classList.length&&((0,u.attr)(t,"class",null),C(y,t,"class",null)))):(y=p.CHANGE,_||(t.classList.add(w),C(y,t,"class",w))),v=y;break;default:let k;S=v,(0,u.assert)((0,s.isString)(w)||(0,s.isNumber)(w)||(0,s.isBoolean)(w)||null==w,"Attribute value must be a string or number or boolean or null"),k=i.e.fire.bind(i.e,`${p._PREFIX}AfterToggleAttribute`),(0,u.attr)(t,m)===w?(_||(0,u.attr)(t,m,null),S=p.UNSET,_||k(S,t,m,w)):(S=p.CHANGE,_||((0,u.attr)(t,m,w),k(S,t,m,w))),v=S}}),v}function g(e,t,i){return(0,u.attr)(t,"style")||((0,u.attr)(t,"style",null),t.tagName.toLowerCase()===e.defaultTag&&(o.Dom.unwrap(t),i=p.UNWRAP)),i}},83207:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path stroke-width="0" d="M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm-1408-928q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},83215:function(e,t,i){"use strict";i.d(t,{innerWidth:function(){return n}});let n=(e,t)=>{let i=t.getComputedStyle(e);return e.clientWidth-(parseFloat(i.paddingLeft||"0")+parseFloat(i.paddingRight||"0"))}},83335:function(e,t,i){"use strict";i.d(t,{wrapUnwrappedText:function(){return r}});var n=i(23211),o=i(23175);function r(e,t,i){let r=i.editor,s=i.createInside,a=(e,t="previousSibling")=>{let s=e,a=e;for(;a&&!(0,o.isMarker)(a)&&!n.Dom.isTag(a,i.o.enter)&&(s=a,a=a[t]?a[t]:a.parentNode&&!n.Dom.isBlock(a.parentNode)&&a.parentNode!==r?a.parentNode:null,!n.Dom.isBlock(a)););return s},l=a(t),c=a(t,"nextSibling"),u=i.s.createRange();u.setStartBefore(l),u.setEndAfter(c);let d=u.extractContents(),h=s.element(e.element);return h.appendChild(d),n.Dom.safeInsertNode(u,h),e.elementIsBlock&&n.Dom.isEmpty(h)&&!n.Dom.isTag(h.firstElementChild,"br")&&h.appendChild(s.element("br")),h}},83376:function(e,t,i){"use strict";i.d(t,{getBlockWrapper:function(){return function e(t,i,r=n.IS_BLOCK){let s=t,a=i.editor;do{if(!s||s===a)break;if(r.test(s.nodeName)){if(o.Dom.isLeaf(s))return s;return e(s.parentNode,i,/^li$/i)||s}s=s.parentNode}while(s&&s!==a);return null}}});var n=i(81937),o=i(23211)},83389:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M176 223q-37-2-45-4l-3-88q13-1 40-1 60 0 112 4 132 7 166 7 86 0 168-3 116-4 146-5 56 0 86-2l-1 14 2 64v9q-60 9-124 9-60 0-79 25-13 14-13 132 0 13 .5 32.5t.5 25.5l1 229 14 280q6 124 51 202 35 59 96 92 88 47 177 47 104 0 191-28 56-18 99-51 48-36 65-64 36-56 53-114 21-73 21-229 0-79-3.5-128t-11-122.5-13.5-159.5l-4-59q-5-67-24-88-34-35-77-34l-100 2-14-3 2-86h84l205 10q76 3 196-10l18 2q6 38 6 51 0 7-4 31-45 12-84 13-73 11-79 17-15 15-15 41 0 7 1.5 27t1.5 31q8 19 22 396 6 195-15 304-15 76-41 122-38 65-112 123-75 57-182 89-109 33-255 33-167 0-284-46-119-47-179-122-61-76-83-195-16-80-16-237v-333q0-188-17-213-25-36-147-39zm1488 1409v-64q0-14-9-23t-23-9h-1472q-14 0-23 9t-9 23v64q0 14 9 23t23 9h1472q14 0 23-9t9-23z"/> </svg>'},83653:function(e,t,i){"use strict";i.d(t,{isNormalNode:function(){return r}});var n=i(23211),o=i(23175);function r(e){return!!(e&&!n.Dom.isEmptyTextNode(e)&&!n.Dom.isTemporary(e)&&!(0,o.isMarker)(e))}},83708:function(e){e.exports={"copy-format":"copyformat"}},83778:function(e){e.exports={"copy-format":"Format kopierenт"}},84041:function(e){e.exports={"Line height":"Vonal magass\xe1ga"}},84578:function(e,t,i){"use strict";i.d(t,{CommitStyle:function(){return l}});var n=i(25045),o=i(81937),r=i(57821),s=i(98394),a=i(96127);class l{isApplied(e,t){let i=this.__applyMap.get(e);return!!i&&i[t]}setApplied(e,t){var i;let n=null!=(i=this.__applyMap.get(e))?i:{};n[t]=!0,this.__applyMap.set(e,n)}get elementIsList(){return!!(this.options.element&&o.LIST_TAGS.has(this.options.element))}get element(){return this.options.element||this.defaultTag}get elementIsBlock(){return!!(this.options.element&&o.IS_BLOCK.test(this.options.element))}get isElementCommit(){return!!(this.options.element&&this.options.element!==this.options.defaultTag)}get defaultTag(){return this.options.defaultTag?this.options.defaultTag:this.elementIsBlock?"p":"span"}get elementIsDefault(){return this.element===this.defaultTag}apply(e){let{hooks:t}=this.options,i=t?Object.keys(t):[];try{i.forEach(i=>{e.e.on((0,r.camelCase)(s._PREFIX+"_"+i),t[i])}),(0,a.ApplyStyle)(e,this)}finally{i.forEach(i=>{e.e.off((0,r.camelCase)(s._PREFIX+"_"+i),t[i])}),this.__applyMap=new WeakMap}e.synchronizeValues(),e.e.fire("afterCommitStyle",this)}constructor(e){(0,n._)(this,"options",void 0),(0,n._)(this,"__applyMap",void 0),this.options=e,this.__applyMap=new WeakMap}}},84839:function(e,t,i){"use strict";i.r(t),i.d(t,{autobind:function(){return n.autobind},cache:function(){return o.cache},cacheHTML:function(){return o.cacheHTML},cached:function(){return o.cached},component:function(){return r.component},debounce:function(){return s.debounce},derive:function(){return a.derive},getComponentClass:function(){return r.getComponentClass},hook:function(){return l.hook},idle:function(){return c.idle},nonenumerable:function(){return u.nonenumerable},persistent:function(){return d.persistent},throttle:function(){return s.throttle},wait:function(){return h.wait},watch:function(){return p.watch}});var n=i(49574),o=i(51676),r=i(91672),s=i(55184),a=i(24968),l=i(29200),c=i(35718),u=i(41360),d=i(77036),h=i(80840),p=i(68616)},84872:function(e){e.exports={Spellcheck:"Перевірка орфографії"}},85127:function(e){e.exports={"Line height":"Высота линии"}},85305:function(e,t,i){"use strict";i.d(t,{PluginSystem:function(){return m}});var n=i(25045),o=i(81937),r=i(42689),s=i(32328),a=i(17312),l=i(52433),c=i(85932),u=i(55810),d=i(3050),h=i(25974),p=i(86189);class m{get size(){return this.__items.size}add(e,t){this.__items.set((0,p.normalizeName)(e),t),r.eventEmitter.fire(`plugin:${e}:ready`)}get(e){return this.__items.get((0,p.normalizeName)(e))}remove(e){this.__items.delete((0,p.normalizeName)(e))}__getFullPluginsList(e){let t=[];return this.__items.forEach((i,n)=>{(!e||e.has(n))&&t.push([n,i])}),t}__init(e){let{extraList:t,disableList:i,filter:n}={extraList:e.o.extraPlugins.map(e=>(0,c.isString)(e)?{name:e}:e),disableList:new Set((0,s.splitArray)(e.o.disablePlugins).map(p.normalizeName)),filter:e.o.safeMode?new Set(e.o.safePluginsList):null},r=new Map,m={},f=new Set;e.__plugins=m;let g=()=>{if(e.isInDestruct)return;let t=!1;this.__getFullPluginsList(n).forEach(([n,o])=>{if(i.has(n)||r.has(n))return;let s=null==o?void 0:o.requires;if(s&&(0,a.isArray)(s)&&s.length){if(s.some(e=>i.has(e)))return;if(!s.every(e=>r.has(e)))return void f.add(n)}t=!0;let l=(0,h.makeInstance)(e,o);if(!l){r.set(n,null),f.delete(n);return}(0,u.init)(e,n,o,l,r,f,this.opts.getContainer),m[n]=l}),t&&(e.e.fire("updatePlugins"),g())};t&&t.length&&(0,d.loadExtras)(this.__items,e,t,g),g(),e.e.on("beforeDestruct",()=>{Object.keys(m).forEach(t=>{let i=m[t];(0,l.isDestructable)(i)&&i.destruct(e),delete m[t]}),delete e.__plugins}),o.IS_PROD||f.size}wait(e){return new Promise(t=>{if(this.get(e))return t();let i=()=>{t(),r.eventEmitter.off(`plugin:${e}:ready`,i)};r.eventEmitter.on(`plugin:${e}:ready`,i)})}constructor(e){(0,n._)(this,"opts",void 0),(0,n._)(this,"__items",void 0),this.opts=e,this.__items=new Map}}},85325:function(e){e.exports.default=["Skriv noe","Om Jodit","Jodit-redigerer","Jodit brukerveiledning","Inneholder detaljert hjelp for bruk","For informasjon om lisensen, bes\xf8k v\xe5r nettside:","Kj\xf8p fullversjon","Opphavsrett \xa9 XDSoft.net - Chupurnov Valeriy. Alle rettigheter forbeholdt.","Anker","\xc5pne i ny fane","\xc5pne i fullskjerm","Fjern formatering","Endre bakgrunns- eller tekstfarge","Gj\xf8r om","Angre","Fet","Kursiv","Sett inn punktliste","Sett inn nummerert liste","Midtstill","Juster","Venstrejuster","H\xf8yrejuster","Sett inn horisontal linje","Sett inn bilde","Sett inn fil","Sett inn YouTube/Vimeo-video","Sett inn lenke","Skriftst\xf8rrelse","Skriftfamilie","Sett inn formateringsblokk","Normal","Overskrift 1","Overskrift 2","Overskrift 3","Overskrift 4","Sitat","Kode","Sett inn","Sett inn tabell","Reduser innrykk","\xd8k innrykk","Velg spesialtegn","Sett inn spesialtegn","Kopier format","Bytt modus (WYSIWYG/HTML)","Marger","topp","h\xf8yre","bunn","venstre","Stiler","Klasser","Justering","H\xf8yre","Senter","Venstre","--Ikke satt--","Kilde","Tittel","Alternativ","Lenke","\xc5pne lenke i ny fane","Bilde","fil","Avansert","Bildeegenskaper","Avbryt","OK","Filutforsker","Feil ved lasting av liste","Feil ved lasting av mapper","Er du sikker?","Skriv inn mappenavn","Opprett mappe","skriv navn","Slipp bilde","Slipp fil","eller klikk","Alternativ tekst","Last opp","Bla gjennom","Bakgrunn","Tekst","Topp","Midt","Bunn","Sett inn kolonne f\xf8r","Sett inn kolonne etter","Sett inn rad over","Sett inn rad under","Slett tabell","Slett rad","Slett kolonne","T\xf8m celle","Tegn: %d","Ord: %d","Gjennomstreking","Understreking","hevet skrift","senket skrift","Klipp ut markering","Velg alt","Pause","S\xf8k etter","Erstatt med","Erstatt","Lim inn","Velg innhold \xe5 lime inn","kilde","fet","kursiv","pensel","lenke","angre","gj\xf8r om","tabell","bilde","viskel\xe6r","avsnitt","skriftst\xf8rrelse","video","skrift","om redigeringsverkt\xf8yet","skriv ut","understreking","gjennomstreking","innrykk","reduser innrykk","full st\xf8rrelse","krympe","linje","punktliste","nummerert liste","klipp ut","velg alt","Bygge inn kode","\xc5pne lenke","Rediger lenke","Ingen oppf\xf8lging","Fjern lenke","Oppdater","Rediger","Forh\xe5ndsvisning","URL","Rediger","Horisontal justering","Filter","Sorter etter endring","Sorter etter navn","Sorter etter st\xf8rrelse","Legg til mappe","Tilbakestill","Lagre","Lagre som ...","Endre st\xf8rrelse","Beskj\xe6r","Bredde","H\xf8yde","Behold proporsjoner","Ja","Nei","Fjern","Velg","Velg: %s","Vertikal justering","Del","Sl\xe5 sammen","Legg til kolonne","Legg til rad","Lisens: %s","Slett","Del vertikalt","Del horisontalt","Kantlinje","Koden din ligner HTML. Beholde som HTML?","Lim inn som HTML","Behold","Lim inn som tekst","Lim inn kun tekst","Du kan bare redigere dine egne bilder. Last ned dette bildet p\xe5 verten?","Bildet har blitt lastet opp til verten!","Palett","Det er ingen filer i denne katalogen","Gi nytt navn","Skriv inn nytt navn","Forh\xe5ndsvisning","Last ned","Lim inn fra utklippstavlen","Nettleseren din st\xf8tter ikke direkte tilgang til utklippstavlen.","Kopier utvalg","kopi","Grenseradius","Vis alle","Bruk","Vennligst fyll ut dette feltet","Vennligst skriv inn en webadresse","Standard","Sirkel","Prikk","Firkant","Finne","Finn forrige","Finn neste","Innholdet du limer inn kommer fra et Microsoft Word/Excel-dokument. Vil du beholde formatet eller rense det?","Word-innliming oppdaget","Rens","Sett inn klassenavn","Trykk p\xe5 Alt for \xe5 endre st\xf8rrelse","Linjeh\xf8yde",null,null,"Velg alle"]},85932:function(e,t,i){"use strict";i.d(t,{isString:function(){return o},isStringArray:function(){return r}});var n=i(17312);function o(e){return"string"==typeof e}function r(e){return(0,n.isArray)(e)&&o(e[0])}},86038:function(e,t,i){"use strict";i(5266).Config.prototype.wrapNodes={exclude:new Set(["hr","style","br"]),emptyBlockAfterInit:!0}},86122:function(e,t,i){"use strict";i.d(t,{FileBrowserFiles:function(){return o}});var n=i(4099);class o extends n.UIGroup{className(){return"FileBrowserFiles"}}},86189:function(e,t,i){"use strict";i.d(t,{normalizeName:function(){return o}});var n=i(74264);function o(e){return(0,n.kebabCase)(e).toLowerCase()}},86236:function(e,t,i){"use strict";var n=i(25045),o=i(81937),r=i(23211),s=i(28077),a=i(18855);i(88580);class l extends a.Plugin{afterInit(){this.charCounter=this.j.c.span(),this.wordCounter=this.j.c.span(),this.j.e.on("afterInit changePlace afterAddPlace",this.reInit),this.reInit()}beforeDestruct(){r.Dom.safeRemove(this.charCounter),r.Dom.safeRemove(this.wordCounter),this.j.e.off("afterInit changePlace afterAddPlace",this.reInit),this.charCounter=null,this.wordCounter=null}constructor(...e){super(...e),(0,n._)(this,"charCounter",null),(0,n._)(this,"wordCounter",null),(0,n._)(this,"reInit",()=>{this.j.o.showCharsCounter&&this.charCounter&&this.j.statusbar.append(this.charCounter,!0),this.j.o.showWordsCounter&&this.wordCounter&&this.j.statusbar.append(this.wordCounter,!0),this.j.e.off("change keyup",this.calc).on("change keyup",this.calc),this.calc()}),(0,n._)(this,"calc",this.j.async.throttle(()=>{let e=this.j.text;if(this.j.o.showCharsCounter&&this.charCounter){let t;t=this.j.o.countHTMLChars?this.j.value:this.j.o.countTextSpaces?e.replace((0,o.INVISIBLE_SPACE_REG_EXP)(),"").replace(/[\r\n]/g,""):e.replace((0,o.SPACE_REG_EXP)(),""),this.charCounter.textContent=this.j.i18n("Chars: %d",t.length)}this.j.o.showWordsCounter&&this.wordCounter&&(this.wordCounter.textContent=this.j.i18n("Words: %d",e.replace((0,o.INVISIBLE_SPACE_REG_EXP)(),"").split((0,o.SPACE_REG_EXP)()).filter(e=>e.length).length))},this.j.defaultTimeout))}}s.pluginSystem.add("stat",l)},86433:function(e){e.exports.default=["Escreva algo...","Sobre o Jodit","Editor Jodit","Guia de usu\xe1rio Jodit","cont\xe9m ajuda detalhada para o uso.","Para informa\xe7\xe3o sobre a licen\xe7a, por favor visite nosso site:","Compre a vers\xe3o completa","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Todos os direitos reservados.","Link","Abrir em nova aba","Abrir editor em tela cheia","Limpar formata\xe7\xe3o","Cor de preenchimento ou cor do texto","Refazer","Desfazer","Negrito","It\xe1lico","Inserir lista n\xe3o ordenada","Inserir lista ordenada","Centralizar","Justificar","Alinhar \xe0 Esquerda","Alinhar \xe0 Direita","Inserir linha horizontal","Inserir imagem","Inserir arquivo","Inserir v\xeddeo do Youtube/vimeo","Inserir link","Tamanho da letra","Fonte","Inserir bloco","Normal","Cabe\xe7alho 1","Cabe\xe7alho 2","Cabe\xe7alho 3","Cabe\xe7alho 4","Cita\xe7\xe3o","C\xf3digo","Inserir","Inserir tabela","Diminuir recuo","Aumentar recuo","Selecionar caractere especial","Inserir caractere especial","Copiar formato","Mudar modo","Margens","cima","direta","baixo","esquerda","Estilos CSS","Classes CSS","Alinhamento","Direita","Centro","Esquerda","--N\xe3o Estabelecido--","Fonte","T\xedtulo","Texto Alternativo","Link","Abrir link em nova aba","Imagem","Arquivo","Avan\xe7ado","Propriedades da imagem","Cancelar","Ok","Procurar arquivo","Erro ao carregar a lista","Erro ao carregar as pastas","Voc\xea tem certeza?","Escreva o nome da pasta","Criar pasta","Escreva seu nome","Soltar imagem","Soltar arquivo","ou clique","Texto alternativo","Upload","Explorar","Fundo","Texto","Cima","Meio","Baixo","Inserir coluna antes","Inserir coluna depois","Inserir linha acima","Inserir linha abaixo","Excluir tabela","Excluir linha","Excluir coluna","Limpar c\xe9lula","Caracteres: %d","Palavras: %d","Tachado","Sublinhar","sobrescrito","subscrito","Cortar sele\xe7\xe3o","Selecionar tudo","Pausa","Procurar por","Substituir com","Substituir","Colar","Escolher conte\xfado para colar","HTML","negrito","it\xe1lico","pincel","link","desfazer","refazer","tabela","imagem","apagar","par\xe1grafo","tamanho da letra","v\xeddeo","fonte","Sobre de","Imprimir","sublinhar","tachado","recuar","diminuir recuo","Tamanho completo","diminuir","linha horizontal","lista n\xe3o ordenada","lista ordenada","Cortar","Selecionar tudo","Incluir c\xf3digo","Abrir link","Editar link","N\xe3o siga","Remover link","Atualizar","Editar","Visualizar","URL","Editar","Alinhamento horizontal","filtrar","Ordenar por modifica\xe7\xe3o","Ordenar por nome","Ordenar por tamanho","Adicionar pasta","Resetar","Salvar","Salvar como...","Redimensionar","Recortar","Largura","Altura","Manter a propor\xe7\xe3o","Sim","N\xe3o","Remover","Selecionar","Selecionar: %s","Alinhamento vertical","Dividir","Mesclar","Adicionar coluna","Adicionar linha","Licen\xe7a: %s","Excluir","Dividir vertical","Dividir horizontal","Borda","Seu c\xf3digo \xe9 similar ao HTML. Manter como HTML?","Colar como HTML?","Manter","Inserir como Texto","Inserir somente o Texto","Voc\xea s\xf3 pode editar suas pr\xf3prias imagens. Baixar essa imagem pro servidor?","A imagem foi enviada com sucesso para o servidor!","Palette","N\xe3o h\xe1 arquivos nesse diret\xf3rio.","H\xfangara","Digite um novo nome","preview","Baixar","Colar da \xe1rea de transfer\xeancia","O seu navegador n\xe3o oferece suporte a acesso direto para a \xe1rea de transfer\xeancia.","Selec\xe7\xe3o de c\xf3pia","c\xf3pia","Border radius","Mostrar todos os","Aplicar","Por favor, preencha este campo","Por favor introduza um endere\xe7o web","Padr\xe3o","C\xedrculo","Ponto","Quadro","Encontrar","Encontrar Anteriores","Localizar Pr\xf3xima","O conte\xfado colado veio de um documento Microsoft Word/Excel. Voc\xea deseja manter o formato ou limpa-lo?","Colado do Word Detectado","Limpar","Insira o nome da classe","Pressione Alt para redimensionamento personalizado",null,null,null,"Tudo"]},86581:function(e){e.exports={symbols:"Sembol"}},86634:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 128 128" xml:space="preserve"> <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"/> </svg>'},86878:function(e,t,i){"use strict";i.d(t,{getContentWidth:function(){return n.getContentWidth},getScrollParent:function(){return o.getScrollParent},innerWidth:function(){return r.innerWidth},offset:function(){return a.offset},position:function(){return l.position},size:function(){return s.size}});var n=i(54447),o=i(34027),r=i(83215),s=i(18073),a=i(69143),l=i(23599)},86899:function(e){e.exports='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path stroke-width="0" d="M10.5 20H2a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h1V3l2.03-.4a3 3 0 0 1 5.94 0L13 3v1h1a2 2 0 0 1 2 2v1h-2V6h-1v1H3V6H2v12h5v2h3.5zM8 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm2 4h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2v-8c0-1.1.9-2 2-2zm0 2v8h8v-8h-8z"/> </svg>'},87061:function(e){e.exports.default=["Бичээд үзээрэй","Jodit-ын талаар ","Jodit програм","Jodit гарын авлага","хэрэглээний талаар дэлгэрэнгүй мэдээллийг агуулна","Лицензийн мэдээллийг манай вэб хуудаснаас авна уу:","Бүрэн хувилбар худалдан авах","Зохиогчийн эрх хамгаалагдсан \xa9 XDSoft.net - Chupurnov Valeriy. Бүх эрхийг эзэмшинэ.","Холбоо барих","Шинэ табаар нээх","Бүтэн дэлгэцээр нээх","Форматыг арилгах","Өнгөөр будах эсвэл текстийн өнгө сонгох","Дахих","Буцаах","Тод","Налуу","Тэмдэгт жагсаалт нэмэх","Дугаарт жагсаалт нэмэх","Голлож байрлуулах","Тэгшитгэн байрлуулах","Зүүнд байрлуулах","Баруунд байрлуулах","Хэвтээ зураас нэмэх","Зураг нэмэх","Файл нэмэх","Youtube/Vimeo видео нэмэх","Холбоос нэмэх","Фонтын хэмжээ","Фонтын бүл","Блок нэмэх","Хэвийн","Гарчиг 1","Гарчиг 2","Гарчиг 3","Гарчиг 4","Ишлэл","Код","Оруулах","Хүснэгт оруулах","Доголын зай хасах","Доголын зай нэмэх","Тусгай тэмдэгт сонгох","Тусгай тэмдэгт нэмэх","Зургийн формат","Горим өөрчлөх","Цаасны зай","Дээрээс","Баруунаас","Доороос","Зүүнээс","CSS стиль","CSS анги","Байрлуулах","Баруун","Төв","Зүүн","--Тодорхойгүй--","Эх үүсвэр","Гарчиг","Алтернатив текст","Холбоос","Холбоосыг шинэ хавтсанд нээх","Зураг","Файл","Дэвшилтэт","Зургийн үзүүлэлт","Цуцлах","Ok","Файлын цонх","Жагсаалт татах үед алдаа гарлаа","Хавтас татах үед алдаа гарлаа","Итгэлтэй байна уу?","Хавтсын нэр оруулах","Хавтас үүсгэх","Нэр бичих","Зураг буулгах","Файл буулгах","эсвэл товш","Алтернатив текст","Байршуулах","Үзэх","Арын зураг","Текст","Дээр","Дунд","Доор","Урд нь багана нэмэх","Ард нь багана нэмэх","Дээр нь мөр нэмэх","Доор нь мөр нэмэх","Хүснэгт устгах","Мөр устгах","Багана устгах","Нүд цэвэрлэх","Тэмдэгт: %d","Үг: %d","Дээгүүр зураас","Доогуур зураас","Дээд индекс","Доод индекс","Сонголтыг таслах","Бүгдийг сонго","Мөрийг таслах","Хайх","Үүгээр солих","Солих","Буулгах","Буулгах агуулгаа сонгоно уу","Эх үүсвэр","Тод","Налуу","Будах","Холбоос","Буцаах","Дахих","Хүснэгт","Зураг","Баллуур","Параграф","Фонтын хэмжээ","Видео","Фонт","Тухай","Хэвлэх","Доогуур зураас","Дээгүүр зураас","Догол нэмэх","Догол багасгах","Бүтэн дэлгэц","Багасга","Хаалт","Тэмдэгт жагсаалт","Дугаарласан жагсаалт","Таслах","Бүгдийг сонго","Код оруулах","Холбоос нээх","Холбоос засах","Nofollow \xf6zelliği","Холбоос салгах","Шинэчлэх","Засах","Нүд","URL","Засах","Хэвтээ эгнүүлэх","Шүүх","Сүүлд өөрчлөгдсөнөөр жагсаах","Нэрээр жагсаах","Хэмжээгээр жагсаах","Хавтас нэмэх","Буцаах","Хадгалах","Өөрөөр хадгалах","Хэмжээг өөрчил","Тайрах","Өргөн","Өндөр","Харьцааг хадгал","Тийм","Үгүй","Арилга","Сонго","Сонго: %s","Босоо эгнүүлэх","Задлах","Нэгтгэх","Багана нэмэх","Мөр нэмэх","Лиценз: %s","Устгах","Баганаар задлах","Мөрөөр задлах","Хүрээ","Таны код HTML кодтой адил байна. HTML форматаар үргэлжлүүлэх үү?","HTML байдлаар буулгах","Хадгалах","Текст байдлаар нэмэх","Зөвхөн текст оруулах","Та зөвхөн өөрийн зургуудаа янзлах боломжтой. Энэ зургийг өөр лүүгээ татмаар байна уу?","Зургийг хост руу амжилттай хадгалсан","Палет","Энд ямар нэг файл алга","Шинээр нэрлэх","Шинэ нэр оруулна уу","Урьдчилан харах","Татах","Самбараас хуулах ","Энэ вэб хөтчөөс самбарт хандах эрх алга.","Сонголтыг хуул","Хуулах","Хүрээний радиус","Бүгдийг харуулах","Хэрэгжүүл","Энэ талбарыг бөглөнө үү","Вэб хаягаа оруулна уу","Үндсэн","Дугуй","Цэг","Дөрвөлжин","Хайх","Өмнөхийг ол","Дараагийнхийг ол","Буулгасан агуулга Microsoft Word/Excel форматтай байна. Энэ форматыг хэвээр хадгалах уу эсвэл арилгах уу?","Word байдлаар буулгасан байна","Цэвэрлэх","Бүлгийн нэрээ оруулна уу","Хэмжээсийг шинээр өөчрлөхийн тулд Alt товчин дээр дарна уу",null,null,null,"Бүгдийг"]},87141:function(e){e.exports={symbols:"symbool"}},87329:function(e,t,i){"use strict";i.d(t,{UITextArea:function(){return l}});var n=i(25045),o=i(31635),r=i(84839),s=i(91672),a=i(65273);class l extends a.UIInput{className(){return"UITextArea"}createNativeInput(e){return this.j.create.element("textarea")}onChangeStateSize(){let{size:e,resizable:t}=this.state;this.nativeInput.style.resize=t?"auto":"none",this.nativeInput.rows=null!=e?e:5}constructor(e,t){super(e,t),(0,n._)(this,"state",{...l.defaultState}),Object.assign(this.state,t),!1===this.state.resizable&&(this.nativeInput.style.resize="none")}}(0,n._)(l,"defaultState",{...a.UIInput.defaultState,size:5,resizable:!0}),(0,o.__decorate)([(0,r.watch)(["state.size","state.resizable"])],l.prototype,"onChangeStateSize",null),l=(0,o.__decorate)([s.component],l)},87623:function(e){e.exports={"Line height":"Tinggi baris"}},87624:function(e,t,i){"use strict";i.d(t,{SentenceFinder:function(){return o.SentenceFinder},clearSelectionWrappers:function(){return n.clearSelectionWrappers},clearSelectionWrappersFromHTML:function(){return n.clearSelectionWrappersFromHTML},getSelectionWrappers:function(){return n.getSelectionWrappers},highlightTextRanges:function(){return n.highlightTextRanges}});var n=i(19213),o=i(59276)},87908:function(e,t,i){"use strict";var n=i(65946),o=i(29434),r=i(5266),s=i(223),a=i.n(s);r.Config.prototype.defaultLineHeight=null,o.Icon.set("line-height",a()),r.Config.prototype.controls.lineHeight={command:"applyLineHeight",tags:["ol"],tooltip:"Line height",list:[1,1.1,1.2,1.3,1.4,1.5,2],exec:(e,t,{control:i})=>(0,n.memorizeExec)(e,t,{control:i},e=>e)}},88329:function(e,t,i){"use strict";i.d(t,{Confirm:function(){return s}});var n=i(91565),o=i(53681),r=i(76841);function s(e,t,i){let s=this instanceof r.Dialog?this:new r.Dialog({closeOnClickOverlay:!0}),a=s.c.fromHTML('<form class="jodit-dialog_prompt"></form>'),l=s.c.element("label");(0,n.isFunction)(t)&&(i=t,t=void 0),l.appendChild(s.c.fromHTML(e)),a.appendChild(l);let c=e=>()=>{i&&!1===i(e)||s.close()},u=(0,o.Button)(s,"cancel","Cancel"),d=(0,o.Button)(s,"ok","Yes");return u.onAction(c(!1)),d.onAction(c(!0)),s.e.on(a,"submit",()=>(c(!0)(),!1)),s.setFooter([d,u]),s.open(a,t||"&nbsp;",!0,!0),d.focus(),s}},88475:function(e,t,i){"use strict";i.d(t,{toArray:function(){return r}});var n=i(23283),o=i(43379);let r=function(...e){var t;return((0,n.isNativeFunction)(Array.from)?Array.from:null!=(t=(0,o.reset)("Array.from"))?t:Array.from).apply(Array,e)}},88497:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 736q0 13-10 23l-466 466q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg>'},88580:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.showCharsCounter=!0,n.Config.prototype.countHTMLChars=!1,n.Config.prototype.countTextSpaces=!1,n.Config.prototype.showWordsCounter=!0},88952:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(27795),a=i(28077),l=i(65946),c=i(91206),u=i(4099),d=i(56490),h=i(4274);i(89873);class p extends c.Plugin{get popup(){return new d.Popup(this.jodit,!1)}get toolbar(){return(0,h.makeCollection)(this.jodit,this.popup)}onClick(e){let t=this.elmsList,i=s.Dom.isTag(e,"img")?e:s.Dom.closest(e,t,this.j.editor);if(i&&this.canShowPopupForType(i.nodeName.toLowerCase()))return this.showPopup(()=>(0,l.position)(i,this.j),i.nodeName.toLowerCase(),i),!1}showPopup(e,t,i){if(t=t.toLowerCase(),!this.canShowPopupForType(t))return!1;if(this.type!==t||i!==this.previousTarget){let e;this.previousTarget=i;let n=this.j.o.popup[t];e=(0,l.isFunction)(n)?n(this.j,i,this.popup.close):n,(0,l.isArray)(e)&&(this.toolbar.build(e,i),this.toolbar.buttonSize=this.j.o.toolbarButtonSize,e=this.toolbar.container),this.popup.setContent(e),this.type=t}return this.popup.open(e),!0}hidePopup(e){this.popup.isOpened&&(!(0,l.isString)(e)||e===this.type)&&this.popup.close()}onOutsideClick(){this.popup.close()}canShowPopupForType(e){let t=this.j.o.popup[e.toLowerCase()];return!this.j.o.readonly&&!!this.j.o.toolbarInline&&!!t&&!this.isExcludedTarget(e)}isExcludedTarget(e){return(0,l.splitArray)(this.j.o.toolbarInlineDisableFor).map(e=>e.toLowerCase()).includes(e.toLowerCase())}afterInit(e){this.j.e.on("getDiffButtons.mobile",t=>{if(this.toolbar===t){let t=this.toolbar.getButtonsNames();return(0,l.toArray)(e.registeredButtons).filter(e=>!this.j.o.toolbarInlineDisabledButtons.includes(e.name)).filter(e=>{let i=(0,l.isString)(e)?e:e.name;return i&&"|"!==i&&"\n"!==i&&!t.includes(i)})}}).on("hidePopup",this.hidePopup).on("showInlineToolbar",this.showInlineToolbar).on("showPopup",(e,t,i)=>{this.showPopup(t,i||((0,l.isString)(e)?e:e.nodeName),(0,l.isString)(e)?void 0:e)}).on("mousedown keydown",this.onSelectionStart).on("change",()=>{this.popup.isOpened&&this.previousTarget&&!this.previousTarget.parentNode&&(this.hidePopup(),this.previousTarget=void 0)}).on([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.addListenersForElements()}onSelectionStart(){this.snapRange=this.j.s.range.cloneRange()}onSelectionEnd(e){if(e&&e.target&&u.UIElement.closestElement(e.target,d.Popup))return;let{snapRange:t}=this,{range:i}=this.j.s;(!t||i.collapsed||i.startContainer!==t.startContainer||i.startOffset!==t.startOffset||i.endContainer!==t.endContainer||i.endOffset!==t.endOffset)&&this.onSelectionChange()}onSelectionChange(){if(!this.j.o.toolbarInlineForSelection)return;let e="selection",t=this.j.s.sel,i=this.j.s.range;if((null==t?void 0:t.isCollapsed)||this.isSelectedTarget(i)){this.type===e&&this.popup.isOpened&&this.hidePopup();return}this.j.s.current()&&this.showPopup(()=>i.getBoundingClientRect(),e)}isSelectedTarget(e){let t=e.startContainer;return s.Dom.isElement(t)&&t===e.endContainer&&s.Dom.isTag(t.childNodes[e.startOffset],new Set((0,l.keys)(this.j.o.popup,!1)))&&e.startOffset===e.endOffset-1}beforeDestruct(e){e.e.off("showPopup").off([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.removeListenersForElements()}_eventsList(){let e=this.elmsList;return e.map(e=>(0,l.camelCase)(`click_${e}`)).concat(e.map(e=>(0,l.camelCase)(`touchstart_${e}`))).join(" ")}addListenersForElements(){this.j.e.on(this._eventsList(),this.onClick)}removeListenersForElements(){this.j.e.off(this._eventsList(),this.onClick)}showInlineToolbar(e){this.showPopup(()=>{if(e)return e;let{range:t}=this.j.s;return t.getBoundingClientRect()},"toolbar")}constructor(...e){super(...e),(0,n._)(this,"type",null),(0,n._)(this,"previousTarget",void 0),(0,n._)(this,"snapRange",null),(0,n._)(this,"elmsList",(0,l.keys)(this.j.o.popup,!1).filter(e=>!this.isExcludedTarget(e)))}}(0,n._)(p,"requires",["select"]),(0,o.__decorate)([r.cache],p.prototype,"popup",null),(0,o.__decorate)([r.cache],p.prototype,"toolbar",null),(0,o.__decorate)([r.autobind],p.prototype,"onClick",null),(0,o.__decorate)([(0,r.wait)(e=>!e.j.isLocked)],p.prototype,"showPopup",null),(0,o.__decorate)([(0,r.watch)([":clickEditor",":beforeCommandDelete",":backSpaceAfterDelete"]),r.autobind],p.prototype,"hidePopup",null),(0,o.__decorate)([(0,r.watch)(":outsideClick")],p.prototype,"onOutsideClick",null),(0,o.__decorate)([r.autobind],p.prototype,"onSelectionStart",null),(0,o.__decorate)([r.autobind],p.prototype,"onSelectionEnd",null),(0,o.__decorate)([(0,r.debounce)(e=>e.defaultTimeout)],p.prototype,"onSelectionChange",null),(0,o.__decorate)([r.autobind],p.prototype,"showInlineToolbar",null),a.pluginSystem.add("inlinePopup",p)},89081:function(e,t,i){"use strict";i.d(t,{unwrapChildren:function(){return a}});var n=i(23211),o=i(93640),r=i(9703),s=i(73019);function a(e,t){var i;let a,l=[],c=[],u=null==(i=e.options.attributes)?void 0:i.style;if(t.firstChild){let i=n.Dom.eachGen(t),d=i.next();for(;!d.done;){let t=d.value;(0,s.isSuitElement)(e,t,!0)&&(!u||(0,r.hasSameStyleKeys)(t,u))?(void 0===a&&(a=!0),l.push(t)):u&&(0,s.isSameStyleChild)(e,t)?(void 0===a&&(a=!1),c.push(()=>{(0,o.css)(t,Object.keys(u).reduce((e,t)=>(e[t]=null,e),{})),(0,o.attr)(t,"style")||(0,o.attr)(t,"style",null),(0,o.attr)(t,"style")||t.nodeName.toLowerCase()!==e.element||l.push(t)})):n.Dom.isEmptyTextNode(t)||void 0!==a||(a=!1),d=i.next()}}return c.forEach(e=>e()),l.forEach(n.Dom.unwrap),!!a}},89097:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1600 736v192q0 40-28 68t-68 28h-1216q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h1216q40 0 68 28t28 68z"/> </svg>'},89308:function(e,t,i){"use strict";i.d(t,{get:function(){return r}});var n=i(85932),o=i(18303);function r(e,t){if(!(0,n.isString)(e)||!e.length)return null;let i=e.split("."),r=t;try{for(let e of i){if((0,o.isVoid)(r[e]))return null;r=r[e]}}catch(e){return null}return(0,o.isVoid)(r)?null:r}},89317:function(e,t,i){"use strict";var n=i(17312),o=i(57741),r=i(56014),s=i(95461),a=i(63837),l=i(39386),c=i(62327),u=i(25090),d=i(53113),h=i(81321),p=i(4679),m=i(31927),f=i(21195),g=i(53414),v=i(11012),_=i(87061),b=i(3268),y=i(85325),S=i(97834),w=i(86433),C=i(28359),k=i(68368),E=i(57456),I=i(25182),T=i(44906);let x={};x={ar:o,cs_cz:r,de:s,en:a,es:l,fi:c,fr:u,he:d,hu:h,id:p,it:m,ja:f,ko:v,mn:_,nl:b,no:y,pl:S,pt_br:w,ru:C,tr:k,ua:E,zh_cn:I,zh_tw:T};let D=e=>e?e.default||e:{},j={};(0,n.isArray)(D(g))&&D(g).forEach((e,t)=>{j[t]=e}),Object.keys(x).forEach(e=>{let t=D(x[e]);(0,n.isArray)(t)?(x[e]={},t.forEach((t,i)=>{x[e][j[i]]=t})):x[e]=t}),t.default=x},89446:function(e,t,i){"use strict";i.d(t,{buildData:function(){return o}});var n=i(65946);function o(e,t){if((0,n.isFunction)(e.o.buildData))return e.o.buildData.call(e,t);let i=e.ow.FormData;if(void 0!==i){if(t instanceof i||(0,n.isString)(t))return t;let e=new i;return Object.keys(t).forEach(i=>{e.append(i,t[i])}),e}return t}},89636:function(e,t,i){"use strict";i.d(t,{TabsWidget:function(){return l}});var n=i(16964),o=i(23211),r=i(91565),s=i(7909),a=i(4099);let l=(e,t,i)=>{let l=e.c.div("jodit-tabs"),c=e.c.div("jodit-tabs__wrapper"),u=e.c.div("jodit-tabs__buttons");(0,s.attr)(u,{role:"tablist","aria-orientation":"horizontal"});let d={},h=[],p="";l.appendChild(u),l.appendChild(c);let m=e=>{d[e]&&(h.forEach(e=>{e.state.activated=!1}),Object.values(d).forEach(({tab:e})=>e.classList.remove("jodit-tab_active")),d[e].button.state.activated=!0,d[e].tab.classList.add("jodit-tab_active"))};if(t.forEach(({icon:l,name:f,content:g})=>{let v=e.c.div("jodit-tab");(0,s.attr)(v,{role:"tabpanel"});let _=(0,a.Button)(e,l||f,f);_.state.role="tab",e.e.on(_.container,"pointerdown",e=>e.preventDefault()),p||(p=f),u.appendChild(_.container),h.push(_),_.container.classList.add("jodit-tabs__button","jodit-tabs__button_columns_"+t.length),(0,r.isFunction)(g)?v.appendChild(e.c.div("jodit-tab_empty")):v.appendChild(n.Component.isInstanceOf(g,a.UIElement)?g.container:g),c.appendChild(v),_.onAction(()=>(m(f),(0,r.isFunction)(g)&&!o.Dom.isElement(g)&&g.call(e),i&&(i.activeTab=f),!1)),d[f]={button:_,tab:v}}),Object.values(d).forEach(({button:e})=>{e.container.style.width=(100/t.length).toFixed(10)+"%"}),m(i&&i.activeTab&&d[i.activeTab]?i.activeTab:p),i){let e=i.activeTab;Object.defineProperty(i,"activeTab",{configurable:!0,enumerable:!1,get(){return e},set(t){e=t,m(t)}})}return l}},89739:function(e){e.exports={"Line height":"ラインの高さ"}},89817:function(e,t,i){"use strict";i.d(t,{moveNodeInsideStart:function(){return r}});var n=i(81937),o=i(23211);function r(e,t,i){let r=o.Dom.findSibling(t,i),s=o.Dom.findSibling(t,!i);for(;o.Dom.isElement(r)&&!o.Dom.isTag(r,n.INSEPARABLE_TAGS)&&o.Dom.isContentEditable(r,e.editor)&&(!s||!o.Dom.closest(t,o.Dom.isElement,e.editor));)i||!r.firstChild?r.appendChild(t):o.Dom.before(r.firstChild,t),r=o.Dom.sibling(t,i),s=o.Dom.sibling(t,!i)}},89827:function(e,t,i){"use strict";function n(e){return!e.s.isCollapsed()&&(e.execCommand("Delete"),!0)}i.d(t,{checkNotCollapsed:function(){return n}})},89873:function(e,t,i){"use strict";var n=i(29434),o=i(5266),r=i(70235),s=i(17849),a=i(466),l=i(75711),c=i(59399),u=i(38681),d=i.n(u),h=i(64637),p=i.n(h),m=i(94190),f=i.n(m),g=i(51957),v=i.n(g),_=i(71940),b=i.n(_),y=i(43218),S=i.n(y),w=i(48007),C=i.n(w);o.Config.prototype.toolbarInline=!0,o.Config.prototype.toolbarInlineForSelection=!1,o.Config.prototype.toolbarInlineDisableFor=[],o.Config.prototype.toolbarInlineDisabledButtons=["source"],n.Icon.set("addcolumn",d()).set("addrow",p()).set("merge",f()).set("th",S()).set("splitg",v()).set("splitv",b()).set("th-list",C()),o.Config.prototype.popup={a:r.default,img:l.default,cells:s.default,toolbar:c.default,jodit:a.default,iframe:a.default,"jodit-media":a.default,selection:["bold","underline","italic","ul","ol","\n","outdent","indent","fontsize","brush","cut","\n","paragraph","link","align","dots"]}},90204:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(28077),a=i(7909),l=i(91206);i(24268);var c=i(33494);class u extends l.Plugin{afterInit(e){e.e.on("afterInit afterAddPlace prepareWYSIWYGEditor",this.toggleSpellcheck),this.toggleSpellcheck(),e.registerCommand("toggleSpellcheck",()=>{this.jodit.o.spellcheck=!this.jodit.o.spellcheck,this.toggleSpellcheck(),this.j.e.fire("updateToolbar")})}toggleSpellcheck(){(0,a.attr)(this.jodit.editor,"spellcheck",this.jodit.o.spellcheck)}beforeDestruct(e){}constructor(e){super(e),(0,n._)(this,"buttons",[{group:"state",name:"spellcheck"}]),(0,s.extendLang)(c)}}(0,o.__decorate)([r.autobind],u.prototype,"toggleSpellcheck",null),s.pluginSystem.add("spellcheck",u)},90826:function(e,t,i){"use strict";var n=i(27795),o=i(28077),r=i(65946),s=i(29434),a=i(5266),l=i(15753),c=i(64831),u=i.n(c);s.Icon.set("image",u()),a.Config.prototype.controls.image={popup:(e,t,i)=>{let o=null;return t&&!n.Dom.isText(t)&&n.Dom.isHTMLElement(t)&&(n.Dom.isTag(t,"img")||(0,r.$$)("img",t).length)&&(o=n.Dom.isTag(t,"img")?t:(0,r.$$)("img",t)[0]),e.s.save(),(0,l.FileSelectorWidget)(e,{filebrowser:t=>{e.s.restore(),t.files&&t.files.forEach(i=>e.s.insertImage(t.baseurl+i,null,e.o.imageDefaultWidth)),i()},upload:!0,url:async(t,n)=>{e.s.restore(),/^[a-z\d_-]+(\.[a-z\d_-]+)+/i.test(t)&&(t="//"+t);let r=o||e.createInside.element("img");r.setAttribute("src",t),r.setAttribute("alt",n),o||await e.s.insertImage(r,null,e.o.imageDefaultWidth),i()}},o,i)},tags:["img"],tooltip:"Insert Image"},o.pluginSystem.add("image",function(e){e.registerButton({name:"image",group:"media"})})},90886:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(23211),a=i(28077),l=i(65946),c=i(18855),u=i(59400);i(34689);var d=i(27137),h=i(28771),p=i(670),m=i(47744),f=i(71552);class g extends c.Plugin{get form(){return new d.UIImagePropertiesForm(this.j,this.state,this.activeTabState,{openImageEditor:()=>(0,h.openImageEditorDialog)(this.j,this.state),openImagePopup:e=>(0,p.openImagePopup)(this.j,this.dialog,this.state,e)})}get dialog(){let{j:e}=this,t=e.dlg({minWidth:Math.min(400,screen.width),minHeight:590,buttons:["fullsize","dialog.close"]}),i=this.__buttons;return i.check.onAction(()=>{(0,f.applyValuesToImage)(e,this.state,this.state.sourceImage),e.synchronizeValues(),t.close()}),i.remove.onAction(()=>{e.s.removeNode(this.state.sourceImage),t.close()}),i.cancel.onAction(()=>{t.close()}),t.setHeader(e.i18n("Image properties")),t.setContent(this.form),t.setFooter([[i.cancel,i.remove],i.check]),e.e.on(t,"afterClose",()=>{this.state.image.parentNode&&e.o.image.selectImageAfterClose&&e.s.select(this.state.sourceImage)}),t.setSize(e.o.image.dialogWidth),(0,l.markOwner)(e,t.container),t}get __buttons(){let{j:e}=this;return{check:(0,u.Button)(e,"ok","Apply","primary"),remove:(0,u.Button)(e,"bin","Delete"),cancel:(0,u.Button)(e,"cancel","Cancel")}}open(){return this.activeTabState.activeTab="Image",this.__lock(),this.dialog.open().setModal(!0).setPosition(),this.async.promise((e,t)=>(0,m.readValuesFromImage)(this.j,this.state).then(e,t)).catch(e=>{(0,l.isAbortError)(e)||this.dialog.message.error(e.message)}).finally(()=>this.__unlock()),!1}__lock(){this.dialog.lock(),this.form.setMod("lock",!0),Object.values(this.__buttons).forEach(e=>e.state.disabled=!0)}__unlock(){this.dialog.unlock(),this.form.setMod("lock",!1),Object.values(this.__buttons).forEach(e=>e.state.disabled=!1)}afterInit(e){let t=this;e.e.on("afterConstructor changePlace",()=>{e.e.off(e.editor,".imageproperties").on(e.editor,"dblclick.imageproperties",i=>{let n=i.target;if(s.Dom.isTag(n,"img"))if(e.o.image.openOnDblClick){if(!1===this.j.e.fire("openOnDblClick",n))return;t.state.sourceImage=n,t.state.image=n.cloneNode(!0),e.o.readonly||(i.stopImmediatePropagation(),i.preventDefault(),t.open())}else i.stopImmediatePropagation(),e.s.select(n)})}).on("openImageProperties.imageproperties",e=>{t.state.sourceImage=e,this.state.image=e.cloneNode(!0),this.open()})}async onStateValuesImageSrcChange(){let{image:e,values:t}=this.state;if(e.src)try{this.__lock();try{await e.decode()}catch(e){}if(this.state.sizeIsLocked&&(0,l.isNumeric)(t.imageWidth)){let e=parseFloat(t.imageWidth.toString());t.imageHeight=Math.round(e/this.state.ratio)}this.j.e.fire("updateImageProperties.imageproperties",e)}catch(e){this.j.alert(e.message)}finally{this.__unlock()}}beforeDestruct(e){var t,i,n;Object.values(null!=(t=(0,r.cached)(this,"__buttons"))?t:{}).forEach(e=>e.destruct()),null==(i=(0,r.cached)(this,"dialog"))||i.destruct(),null==(n=(0,r.cached)(this,"form"))||n.destruct(),e.e.off(e.editor,".imageproperties").off(".imageproperties")}constructor(...e){super(...e),(0,n._)(this,"state",{image:new Image,sourceImage:new Image,get ratio(){const{naturalWidth:e,naturalHeight:t}=this.image;return e/t||1},sizeIsLocked:!0,marginIsLocked:!0,values:{style:"",imageSrc:"",borderRadius:0,imageTitle:"",imageAlt:"",imageLink:"",imageLinkOpenInNewTab:!1,imageWidth:0,imageHeight:0,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0,classes:"",id:"",align:""}}),(0,n._)(this,"activeTabState",{activeTab:"Image"})}}(0,o.__decorate)([r.cache],g.prototype,"form",null),(0,o.__decorate)([r.cache],g.prototype,"dialog",null),(0,o.__decorate)([r.cache],g.prototype,"__buttons",null),(0,o.__decorate)([(0,r.watch)("state.image")],g.prototype,"onStateValuesImageSrcChange",null),a.pluginSystem.add("imageProperties",g)},91017:function(e,t,i){"use strict";i.r(t),i.d(t,{ar:function(){return n},cs_cz:function(){return o},de:function(){return r},es:function(){return s},fa:function(){return a},fi:function(){return l},fr:function(){return c},he:function(){return u},hu:function(){return d},id:function(){return h},it:function(){return p},ja:function(){return m},ko:function(){return f},mn:function(){return g},nl:function(){return v},pl:function(){return _},pt_br:function(){return b},ru:function(){return y},tr:function(){return S},ua:function(){return w},zh_cn:function(){return C},zh_tw:function(){return k}});var n=i(80696),o=i(33433),r=i(59488),s=i(14099),a=i(64394),l=i(96978),c=i(54055),u=i(15164),d=i(42412),h=i(98710),p=i(68294),m=i(3294),f=i(44837),g=i(72320),v=i(87141),_=i(10099),b=i(442),y=i(54554),S=i(86581),w=i(97493),C=i(58585),k=i(57629)},91115:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 270 270"> <path d="M 255.9537,58.150081 237.69527,40.997278 c -1.49414,-1.375593 -3.43653,-2.077427 -5.37891,-2.077427 -1.94239,0 -3.88478,0.701834 -5.37892,2.077427 L 29.919751,226.1128 c -2.988286,2.77926 -2.988286,7.32714 0,10.13447 L 48.148295,253.372 c 1.46426,1.37559 3.406646,2.1055 5.378915,2.1055 1.972268,0 3.884771,-0.72991 5.378914,-2.1055 L 221.34935,100.73732 255.9537,68.284552 c 2.9584,-2.807333 2.9584,-7.355212 0,-10.134471 z M 251.17244,63.79282 221.34935,91.781927 201.89561,73.506191 231.68882,45.48901 c 0.20918,-0.140367 0.38847,-0.224587 0.62754,-0.224587 0.23906,0 0.44824,0.08422 0.59765,0.224587 l 18.25843,17.152803 c 0,0 0.23906,0.33688 0.23906,0.561467 0,0.224586 -0.0896,0.4211 -0.23906,0.58954 z" style="stroke-width:2.8964;stroke-opacity:1" /> <path d="m 48.626421,116.87948 10.578532,23.10435 c 0.83672,1.82477 3.615826,1.85284 4.452546,0 l 10.937126,-23.52545 c 2.629692,-5.69888 7.470715,-10.24676 13.536935,-12.71722 l 25.07172,-10.274833 c 1.94239,-0.786053 1.94239,-3.396873 0,-4.182926 L 88.13156,79.008563 C 82.06534,76.53811 77.224317,71.990231 74.594625,66.291346 L 63.657499,42.737824 c -0.83672,-1.824766 -3.615826,-1.824766 -4.452546,0 L 48.267826,66.291346 C 45.638135,71.990231 40.797112,76.53811 34.730891,79.008563 L 9.6292894,89.311474 c -1.9423859,0.786054 -1.9423859,3.3688 0,4.182926 l 25.5498446,10.61172 c 6.036338,2.49852 10.847478,7.07448 13.477169,12.77336 z" style="stroke-width:2.8964;fill-opacity:1;stroke-opacity:1" /> <path d="m 111.79878,33.136746 13.56682,5.642739 c 3.19747,1.319446 5.76739,3.761826 7.14201,6.793745 l 5.61797,12.268044 c 0.44825,0.982567 1.91251,0.982567 2.36075,0 l 5.79727,-12.492631 c 1.4045,-3.031919 3.97442,-5.446225 7.20177,-6.765672 l 13.29788,-5.446225 c 1.0459,-0.4211 1.0459,-1.796693 0,-2.217793 l -13.29788,-5.446225 c -3.22735,-1.319447 -5.79727,-3.733753 -7.20177,-6.765672 L 140.48633,6.2144248 c -0.44824,-0.9825664 -1.9125,-0.9825664 -2.36075,0 l -5.79727,12.4926312 c -1.4045,3.031919 -3.97442,5.446225 -7.20177,6.765672 l -13.32776,5.474298 c -1.01601,0.4211 -1.0459,1.796693 0,2.217793 z" style="stroke-width:2.8964;fill-opacity:1" /> <path d="m 233.09331,192.98627 -14.13459,-5.7831 c -3.40665,-1.40367 -6.12599,-3.95834 -7.62013,-7.1587 l -6.15587,-13.27868 c -0.47813,-1.03872 -2.03203,-1.03872 -2.51016,0 l -6.15587,13.27868 c -1.49414,3.20036 -4.21348,5.75503 -7.62013,7.1587 l -14.13459,5.81118 c -1.10567,0.44917 -1.10567,1.90898 0,2.35816 l 14.40354,5.97961 c 3.40664,1.40367 6.12598,3.98642 7.59024,7.21485 l 5.97658,13.02602 c 0.47812,1.03872 2.03203,1.03872 2.51016,0 l 6.15586,-13.25061 c 1.49415,-3.20036 4.21349,-5.75503 7.62013,-7.1587 l 14.1346,-5.7831 c 1.10566,-0.44917 1.10566,-1.90899 0,-2.35816 z" style="stroke-width:2.8964;stroke-opacity:1" /> </svg>'},91162:function(e,t,i){"use strict";i.d(t,{IndexedDBProvider:function(){return r},canUseIndexedDB:function(){return l},clearUseIndexedDBCache:function(){return a}});var n=i(25045),o=i(81937);class r{getDB(){return this.dbPromise||(this.dbPromise=new Promise((e,t)=>{let i=indexedDB.open(this.dbName,this.DB_VERSION);i.onerror=()=>{t(i.error)},i.onsuccess=()=>{e(i.result)},i.onupgradeneeded=e=>{let t=e.target.result;t.objectStoreNames.contains(this.storeName)||t.createObjectStore(this.storeName)}})),this.dbPromise}async performTransaction(e,t){try{let i=(await this.getDB()).transaction([this.storeName],e).objectStore(this.storeName),n=t(i);return new Promise((e,t)=>{n.onsuccess=()=>{e(n.result)},n.onerror=()=>{t(n.error)}})}catch(e){return Promise.reject(e)}}async set(e,t){try{await this.performTransaction("readwrite",i=>i.put(t,e))}catch(e){o.IS_PROD}return this}async delete(e){try{await this.performTransaction("readwrite",t=>t.delete(e))}catch(e){}return this}async get(e){try{return await this.performTransaction("readonly",t=>t.get(e))}catch(e){return}}async exists(e){try{let t=await this.performTransaction("readonly",t=>t.get(e));return void 0!==t}catch(e){return!1}}async clear(){try{await this.performTransaction("readwrite",e=>e.clear())}catch(e){}return this}async close(){if(this.dbPromise){try{(await this.dbPromise).close()}catch(e){}this.dbPromise=null}}async keys(){try{let e=await this.performTransaction("readonly",e=>e.getAllKeys());return e&&"object"==typeof e&&"then"in e&&(e=await e),e.map(e=>String(e))}catch(e){return[]}}async values(){try{let e=await this.performTransaction("readonly",e=>e.getAll());return e&&"object"==typeof e&&"then"in e&&(e=await e),e}catch(e){return[]}}async entries(){try{let[e,t]=await Promise.all([this.keys(),this.values()]);return e.map((e,i)=>[e,t[i]])}catch(e){return[]}}constructor(e="JoditDB",t="keyValueStore"){(0,n._)(this,"dbName",void 0),(0,n._)(this,"dbPromise",void 0),(0,n._)(this,"DB_VERSION",void 0),(0,n._)(this,"storeName",void 0),this.dbName=e,this.dbPromise=null,this.DB_VERSION=1,this.storeName=t}}let s=null;function a(){s=null}async function l(){if(null!=s)return s;try{if("u"<typeof indexedDB)return s=!1,!1;let e="___Jodit___"+Math.random().toString(),t=indexedDB.open(e);return s=await new Promise(i=>{t.onerror=()=>{i(!1)},t.onsuccess=()=>{indexedDB.deleteDatabase(e),i(!0)}})}catch(e){return s=!1,!1}}},91206:function(e,t,i){"use strict";i.d(t,{Plugin:function(){return n.Plugin}});var n=i(18855);i(85305)},91231:function(e,t,i){"use strict";i.d(t,{Async:function(){return n.Async}});var n=i(24735)},91321:function(e,t,i){"use strict";i.d(t,{completeUrl:function(){return o}});var n=i(81937);let o=e=>("file:"===n.globalWindow.location.protocol&&/^\/\//.test(e)&&(e="https:"+e),e)},91535:function(e,t,i){"use strict";i.d(t,{Alert:function(){return l}});var n=i(23211),o=i(78982),r=i(91565),s=i(53681),a=i(76841);function l(e,t,i,c="jodit-dialog_alert"){(0,r.isFunction)(t)&&(i=t,t=void 0);let u=this instanceof a.Dialog?this:new a.Dialog({closeOnClickOverlay:!0}),d=u.c.div(c),h=(0,s.Button)(u,"ok","Ok");return(0,o.asArray)(e).forEach(e=>{d.appendChild(n.Dom.isNode(e)?e:u.c.fromHTML(e))}),h.onAction(()=>{i&&(0,r.isFunction)(i)&&!1===i(u)||u.close()}),u.setFooter([h]),u.open(d,t||"&nbsp;",!0,!0),h.focus(),u}},91560:function(e,t,i){"use strict";i.r(t),i.d(t,{allowAttributes:function(){return n.allowAttributes},fillEmptyParagraph:function(){return o.fillEmptyParagraph},removeEmptyTextNode:function(){return r.removeEmptyTextNode},removeInvTextNodes:function(){return s.removeInvTextNodes},replaceOldTags:function(){return a.replaceOldTags},sanitizeAttributes:function(){return l.sanitizeAttributes},tryRemoveNode:function(){return c.tryRemoveNode}});var n=i(95559),o=i(39188),r=i(94561),s=i(53514),a=i(35104),l=i(65015),c=i(27611)},91565:function(e,t,i){"use strict";function n(e){return"function"==typeof e}i.d(t,{isFunction:function(){return n}})},91575:function(e){e.exports={"Line height":"Altezza linea"}},91672:function(e,t,i){"use strict";i.d(t,{component:function(){return s},getComponentClass:function(){return a}});var n=i(81937),o=i(421);let r=new Map;function s(e){class t extends e{constructor(...e){super(...e),this.constructor===t&&(this instanceof t||Object.setPrototypeOf(this,t.prototype),this.setStatus("ready"))}}let i=(0,o.getClassName)(e.prototype);if(r.has(i)&&!n.IS_PROD)throw Error(`Component with name "${i}" is already registered`);return r.set(i,t),t}function a(e){return r.get(e)}},91678:function(e,t,i){"use strict";var n=i(28077),o=i(65946),r=i(29434),s=i(5266);i(40291);var a=i(52450),l=i.n(a),c=i(41111),u=i.n(c),d=i(49972),h=i.n(d),p=i(45062),m=i.n(p),f=i(18605),g=i.n(f),v=i(83389),_=i.n(v);n.pluginSystem.add("bold",function(e){let t=t=>{let i,n=s.Config.defaultOptions.controls[t],r={...n.css};return Object.keys(r).forEach(e=>{i||(i={}),i[e]=(0,o.isArray)(r[e])?r[e][0]:r[e]}),e.s.commitStyle({element:n.tags?n.tags[0]:void 0}),e.synchronizeValues(),!1};["bold","italic","underline","strikethrough"].forEach(t=>{e.registerButton({name:t,group:"font-style"})}),["superscript","subscript"].forEach(t=>{e.registerButton({name:t,group:"script"})}),e.registerCommand("bold",{exec:t,hotkeys:["ctrl+b","cmd+b"]}).registerCommand("italic",{exec:t,hotkeys:["ctrl+i","cmd+i"]}).registerCommand("underline",{exec:t,hotkeys:["ctrl+u","cmd+u"]}).registerCommand("strikethrough",{exec:t}).registerCommand("subscript",{exec:t}).registerCommand("superscript",{exec:t})}),r.Icon.set("bold",l()).set("italic",u()).set("strikethrough",h()).set("subscript",m()).set("superscript",g()).set("underline",_())},91685:function(e){e.exports={Spellcheck:"Stavekontroll"}},91764:function(e,t,i){"use strict";i.d(t,{isURL:function(){return o}});var n=i(81937);function o(e){if(e.includes(" "))return!1;if("u">typeof URL)try{let t=new URL(e);return["https:","http:","ftp:","file:","rtmp:"].includes(t.protocol)}catch(e){return!1}let t=n.globalDocument.createElement("a");return t.href=e,!!t.hostname}},91882:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1203 544q0 13-10 23l-393 393 393 393q10 10 10 23t-10 23l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg>'},92063:function(e,t,i){"use strict";i(5266).Config.prototype.showXPathInStatusbar=!0},93203:function(e){e.exports={Spellcheck:"スペルチェック"}},93267:function(e){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M36 4h-24c-2.21 0-4 1.79-4 4v32c0 2.21 1.79 4 4 4h24c2.21 0 4-1.79 4-4v-32c0-2.21-1.79-4-4-4zm-24 4h10v16l-5-3-5 3v-16z"/> </svg>'},93387:function(e,t,i){"use strict";i.d(t,{colorToHex:function(){return n}});let n=e=>{if("rgba(0, 0, 0, 0)"===e||""===e)return!1;if(!e)return"#000000";if("#"===e.substr(0,1))return e;let t=/([\s\n\t\r]*?)rgb\((\d+), (\d+), (\d+)\)/.exec(e)||/([\s\n\t\r]*?)rgba\((\d+), (\d+), (\d+), ([\d.]+)\)/.exec(e);if(!t)return"#000000";let i=parseInt(t[2],10),n=parseInt(t[3],10),o=(parseInt(t[4],10)|n<<8|i<<16).toString(16).toUpperCase();for(;o.length<6;)o="0"+o;return t[1]+"#"+o}},93637:function(e,t,i){"use strict";i(94358),i(42766),i(28286),i(63974),i(91678),i(58910),i(11018),i(43354),i(42462),i(30062),i(64222),i(43102),i(3678),i(49764),i(78690),i(50294),i(53390),i(69696),i(50982),i(2952),i(81144),i(90826),i(39978),i(90886),i(39e3),i(88952),i(64094),i(18210),i(50662),i(58354),i(68624),i(76830),i(74240),i(98792),i(23422),i(96730),i(7758),i(28346),i(198),i(49690),i(41134),i(59758),i(14248),i(72214),i(74522),i(30500),i(98988),i(2756),i(44322),i(13810),i(90204),i(86236),i(67582),i(11774),i(14774),i(81582),i(7994),i(30110),i(34142),i(22980),i(56894),i(52014)},93640:function(e,t,i){"use strict";i.r(t),i.d(t,{$$:function(){return x.$$},ConfigDeepFlatten:function(){return h.ConfigDeepFlatten},ConfigFlatten:function(){return h.ConfigFlatten},ConfigProto:function(){return h.ConfigProto},ConnectionError:function(){return _.ConnectionError},LimitedStack:function(){return j.LimitedStack},OptionsError:function(){return _.OptionsError},abort:function(){return _.abort},alignElement:function(){return n.alignElement},alreadyLoadedList:function(){return o.alreadyLoadedList},appendScriptAsync:function(){return o.appendScriptAsync},appendStyleAsync:function(){return o.appendStyleAsync},attr:function(){return l.attr},browser:function(){return c.browser},buildQuery:function(){return u.buildQuery},call:function(){return z.call},callPromise:function(){return z.callPromise},clearAlign:function(){return n.clearAlign},clearCenterAlign:function(){return m.clearCenterAlign},cns:function(){return C.cns},completeUrl:function(){return d.completeUrl},connection:function(){return _.connection},convertMediaUrlToVideoEmbed:function(){return p.convertMediaUrlToVideoEmbed},css:function(){return m.css},cssPath:function(){return x.cssPath},ctrlKey:function(){return f.ctrlKey},dataBind:function(){return g.dataBind},defaultLanguage:function(){return v.defaultLanguage},error:function(){return _.error},fastClone:function(){return b.fastClone},get:function(){return y.get},getClassName:function(){return S.getClassName},getDataTransfer:function(){return z.getDataTransfer},getPropertyDescriptor:function(){return z.getPropertyDescriptor},getXPathByElement:function(){return x.getXPathByElement},hAlignElement:function(){return n.hAlignElement},humanSizeToBytes:function(){return w.humanSizeToBytes},inView:function(){return T.inView},isAtom:function(){return b.isAtom},keepNames:function(){return S.keepNames},keys:function(){return z.keys},loadImage:function(){return z.loadImage},loadNext:function(){return o.loadNext},loadNextStyle:function(){return o.loadNextStyle},markAsAtomic:function(){return b.markAsAtomic},markDeprecated:function(){return C.markDeprecated},markOwner:function(){return z.markOwner},memorizeExec:function(){return z.memorizeExec},options:function(){return _.options},parseQuery:function(){return k.parseQuery},previewBox:function(){return E.previewBox},refs:function(){return x.refs},reset:function(){return I.reset},resolveElement:function(){return x.resolveElement},scrollIntoViewIfNeeded:function(){return T.scrollIntoViewIfNeeded},set:function(){return D.set}});var n=i(16849),o=i(47760),r=i(28712),s={};for(var a in r)0>["default","alignElement","clearAlign","hAlignElement","alreadyLoadedList","appendScriptAsync","appendStyleAsync","loadNext","loadNextStyle"].indexOf(a)&&(s[a]=(function(e){return r[e]}).bind(0,a));i.d(t,s);var l=i(7909),c=i(26136),u=i(36833),d=i(91321),h=i(77483),p=i(3856),m=i(80991),f=i(77213),g=i(36400),v=i(97228),_=i(33201),b=i(54794),y=i(89308),S=i(421),w=i(37427),C=i(49385),k=i(36310),E=i(57075),I=i(43379),T=i(60898),x=i(28723),D=i(52144),j=i(42820),z=i(71125)},93747:function(e,t,i){"use strict";i.d(t,{EventEmitter:function(){return d}});var n=i(25045),o=i(81937),r=i(32328),s=i(17312),a=i(91565),l=i(85932),c=i(33201),u=i(18869);class d{mute(e){return this.__mutedEvents.add(null!=e?e:"*"),this}isMuted(e){return!!(e&&this.__mutedEvents.has(e))||this.__mutedEvents.has("*")}unmute(e){return this.__mutedEvents.delete(null!=e?e:"*"),this}__eachEvent(e,t){(0,r.splitArray)(e).map(e=>e.trim()).forEach(e=>{let i=e.split("."),n=i[1]||u.defaultNameSpace;t.call(this,i[0],n)})}__getStore(e){if(!e)throw(0,c.error)("Need subject");if(void 0===e[this.__key]){let t=new u.EventHandlersStore;Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:t})}return e[this.__key]}__removeStoreFromSubject(e){void 0!==e[this.__key]&&Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:void 0})}__triggerNativeEvent(e,t){let i=this.__doc.createEvent("HTMLEvents");(0,l.isString)(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(e=>{Object.defineProperty(i,e,{value:t[e],enumerable:!0})}),Object.defineProperty(i,"originalEvent",{value:t,enumerable:!0})),e.dispatchEvent(i)}get current(){return this.currents[this.currents.length-1]}on(e,t,i,n){let r,u,d,p;if((0,l.isString)(e)||(0,l.isStringArray)(e)?(r=this,u=e,d=t,p=i):(r=e,u=t,d=i,p=n),!((0,l.isString)(u)||(0,l.isStringArray)(u))||0===u.length)throw(0,c.error)("Need events names");if(!(0,a.isFunction)(d))throw(0,c.error)("Need event handler");if((0,s.isArray)(r))return r.forEach(e=>{this.on(e,u,d,p)}),this;let m=r,f=this.__getStore(m),g=this,v=function(e,...t){if(!g.isMuted(e))return d&&d.call(this,...t)};return h(m)&&(v=function(e){if(!g.isMuted(e.type)&&(g.__prepareEvent(e),d&&!1===d.call(this,e)))return e.preventDefault(),e.stopImmediatePropagation(),!1}),this.__eachEvent(u,(e,t)=>{if(0===e.length)throw(0,c.error)("Need event name");if(!1===f.indexOf(e,t,d)){let r={event:e,originalCallback:d,syntheticCallback:v};if(f.set(e,t,r,null==p?void 0:p.top),h(m)){var i,n;let t=o.PASSIVE_EVENTS.has(e)?{passive:!0,capture:null!=(i=null==p?void 0:p.capture)&&i}:null!=(n=null==p?void 0:p.capture)&&n;v.options=t,m.addEventListener(e,v,t),this.__memoryDOMSubjectToHandler(m,v)}}}),this}__memoryDOMSubjectToHandler(e,t){let i=this.__domEventsMap.get(e)||new Set;i.add(t),this.__domEventsMap.set(e,i)}__unmemoryDOMSubjectToHandler(e,t){let i=this.__domEventsMap,n=i.get(e)||new Set;n.delete(t),n.size?i.set(e,n):i.delete(e)}one(e,t,i,n){let o,r,s,a;(0,l.isString)(e)||(0,l.isStringArray)(e)?(o=this,r=e,s=t,a=i):(o=e,r=t,s=i,a=n);let c=(...e)=>(this.off(o,r,c),s(...e));return this.on(o,r,c,a),this}off(e,t,i){let n,o,r;if((0,l.isString)(e)||(0,l.isStringArray)(e)?(n=this,o=e,r=t):(n=e,o=t,r=i),(0,s.isArray)(n))return n.forEach(e=>{this.off(e,o,r)}),this;let c=n,d=this.__getStore(c);if(!((0,l.isString)(o)||(0,l.isStringArray)(o))||0===o.length)return d.namespaces().forEach(e=>{this.off(c,"."+e)}),this.__removeStoreFromSubject(c),this;let p=e=>{if(h(c)){var t;c.removeEventListener(e.event,e.syntheticCallback,null!=(t=e.syntheticCallback.options)&&t),this.__unmemoryDOMSubjectToHandler(c,e.syntheticCallback)}},m=(e,t)=>{if(""===e)return void d.events(t).forEach(e=>{""!==e&&m(e,t)});let i=d.get(e,t);if(i&&i.length)if((0,a.isFunction)(r)){let n=d.indexOf(e,t,r);!1!==n&&(p(i[n]),i.splice(n,1),i.length||d.clearEvents(t,e))}else i.forEach(p),i.length=0,d.clearEvents(t,e)};return this.__eachEvent(o,(e,t)=>{t===u.defaultNameSpace?d.namespaces().forEach(t=>{m(e,t)}):m(e,t)}),d.isEmpty()&&this.__removeStoreFromSubject(c),this}stopPropagation(e,t){let i=(0,l.isString)(e)?this:e,n=(0,l.isString)(e)?e:t;if("string"!=typeof n)throw(0,c.error)("Need event names");let o=this.__getStore(i);this.__eachEvent(n,(e,t)=>{let n=o.get(e,t);n&&this.__stopped.push(n),t===u.defaultNameSpace&&o.namespaces(!0).forEach(t=>this.stopPropagation(i,e+"."+t))})}__removeStop(e){if(e){let t=this.__stopped.indexOf(e);-1!==t&&this.__stopped.splice(0,t+1)}}__isStopped(e){return void 0!==e&&-1!==this.__stopped.indexOf(e)}fire(e,t,...i){let n,o,r=(0,l.isString)(e)?this:e,s=(0,l.isString)(e)?e:t,a=(0,l.isString)(e)?[t,...i]:i;if(!h(r)&&!(0,l.isString)(s))throw(0,c.error)("Need events names");let d=this.__getStore(r);return!(0,l.isString)(s)&&h(r)?this.__triggerNativeEvent(r,t):this.__eachEvent(s,(e,t)=>{if(h(r))this.__triggerNativeEvent(r,e);else{let i=d.get(e,t);if(i)try{[...i].every(t=>!this.__isStopped(i)&&(this.currents.push(e),o=t.syntheticCallback.call(r,e,...a),this.currents.pop(),void 0!==o&&(n=o),!0))}finally{this.__removeStop(i)}t!==u.defaultNameSpace||h(r)||d.namespaces().filter(e=>e!==t).forEach(t=>{let i=this.fire.apply(this,[r,e+"."+t,...a]);void 0!==i&&(n=i)})}}),n}destruct(){this.__isDestructed||(this.__isDestructed=!0,this.__domEventsMap.forEach((e,t)=>{this.off(t)}),this.__domEventsMap.clear(),this.__mutedEvents.clear(),this.currents.length=0,this.__stopped.length=0,this.off(this),this.__getStore(this).clear(),this.__removeStoreFromSubject(this))}constructor(e){(0,n._)(this,"__domEventsMap",new Map),(0,n._)(this,"__mutedEvents",new Set),(0,n._)(this,"__key","__JoditEventEmitterNamespaces"),(0,n._)(this,"__doc",o.globalDocument),(0,n._)(this,"__prepareEvent",e=>{!e.cancelBubble&&(e.composed&&(0,a.isFunction)(e.composedPath)&&e.composedPath()[0]&&Object.defineProperty(e,"target",{value:e.composedPath()[0],configurable:!0,enumerable:!0}),e.type.match(/^touch/)&&e.changedTouches&&e.changedTouches.length&&["clientX","clientY","pageX","pageY"].forEach(t=>{Object.defineProperty(e,t,{value:e.changedTouches[0][t],configurable:!0,enumerable:!0})}),e.originalEvent||(e.originalEvent=e),"paste"===e.type&&void 0===e.clipboardData&&this.__doc.defaultView.clipboardData&&Object.defineProperty(e,"clipboardData",{get:()=>this.__doc.defaultView.clipboardData,configurable:!0,enumerable:!0}))}),(0,n._)(this,"currents",[]),(0,n._)(this,"__stopped",[]),(0,n._)(this,"__isDestructed",!1),e&&(this.__doc=e),this.__key+=new Date().getTime()}}function h(e){return(0,a.isFunction)(e.addEventListener)}},93890:function(e,t,i){"use strict";i.d(t,{checkRemoveUnbreakableElement:function(){return s}});var n=i(81937),o=i(23211),r=i(2409);function s(e,t,i){let s=o.Dom.findSibling(t,i);return!!(o.Dom.isElement(s)&&(o.Dom.isTag(s,n.INSEPARABLE_TAGS)||o.Dom.isEmpty(s)))&&(o.Dom.safeRemove(s),o.Dom.isTag(s,"br")&&!o.Dom.findNotEmptySibling(t,!1)&&o.Dom.after(t,e.createInside.element("br")),e.s.setCursorBefore(t),o.Dom.isTag(s,"br")&&(0,r.checkRemoveEmptyParent)(e,t,i),!0)}},94013:function(e,t,i){"use strict";i.d(t,{isEqual:function(){return o},isFastEqual:function(){return r}});var n=i(3347);function o(e,t){return e===t||(0,n.stringify)(e)===(0,n.stringify)(t)}function r(e,t){return e===t}},94190:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 312 312"> <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 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 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 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"/> </g> </svg>'},94193:function(e,t,i){"use strict";i.d(t,{SourceEditor:function(){return o}});var n=i(25045);class o{get j(){return this.jodit}onReady(){this.replaceUndoManager(),this.isReady=!0,this.j.e.fire(this,"ready")}onReadyAlways(e){if(this.isReady)e();else{var t;null==(t=this.j.events)||t.on(this,"ready",e)}}constructor(e,t,i,o){(0,n._)(this,"jodit",void 0),(0,n._)(this,"container",void 0),(0,n._)(this,"toWYSIWYG",void 0),(0,n._)(this,"fromWYSIWYG",void 0),(0,n._)(this,"instance",void 0),(0,n._)(this,"className",void 0),(0,n._)(this,"isReady",void 0),this.jodit=e,this.container=t,this.toWYSIWYG=i,this.fromWYSIWYG=o,this.className="",this.isReady=!1}}},94358:function(e,t,i){"use strict";var n=i(81937),o=i(28077),r=i(65946),s=i(29434),a=i(5266),l=i(17995),c=i.n(l);a.Config.prototype.controls.about={exec:e=>{let t=e.dlg({closeOnClickOverlay:!0}),i=e.i18n.bind(e);t.setMod("theme",e.o.theme).setHeader(i("About Jodit")).setContent(`<div class="jodit-about">
243
+ </div>`),"rtl"===this.options.direction&&(this.container.style.direction="rtl",this.container.setAttribute("dir","rtl")),this.o.zIndex&&(this.container.style.zIndex=this.o.zIndex.toString()),(0,h.attr)(this.container,"role","dialog"),Object.defineProperty(this.container,"component",{value:this}),this.setMod("theme",this.o.theme||"default").setMod("resizable",!!this.o.resizable);const i=this.getElm("panel");(0,p.assert)(null!=i,"Panel element does not exist");const o=this.getElm("resizer");(0,p.assert)(null!=o,"Resizer element does not exist");const r=this.getElm("header-title");(0,p.assert)(null!=r,"header-title element does not exist");const s=this.getElm("content");(0,p.assert)(null!=s,"Content element does not exist");const a=this.getElm("footer");(0,p.assert)(null!=a,"Footer element does not exist");const u=this.getElm("header-toolbar");(0,p.assert)(null!=u,"header-toolbar element does not exist"),this.dialog=i,this.resizer=o,this.dialogbox_header=r,this.dialogbox_content=s,this.dialogbox_footer=a,this.dialogbox_toolbar=u,(0,h.css)(this.dialog,{maxWidth:this.options.maxWidth,minHeight:this.options.minHeight,minWidth:this.options.minWidth});const f=this.getElm("header");f&&this.e.on(f,"pointerdown touchstart",this.__onHeaderMouseDown),this.e.on(this.resizer,"mousedown touchstart",this.__onResizerMouseDown);const g=c.pluginSystem.get("fullsize");if((0,d.isFunction)(g)&&g(this),this.e.on(this.container,"close_dialog",this.close).on(this.ow,"keydown",this.__onEsc).on(this.ow,"resize",this.__onResize),this.o.closeOnClickOverlay){const e=this.getElm("overlay");(0,p.assert)(null!=e,"Overlay element does not exist"),this.e.on(e,"click",this.close)}}}(0,n._)(_,"defaultOptions",{...f.View.defaultOptions,closeOnClickOverlay:!1,closeOnEsc:!0}),(0,o.__decorate)([a.autobind],_.prototype,"__onMouseUp",null),(0,o.__decorate)([a.autobind],_.prototype,"__onHeaderMouseDown",null),(0,o.__decorate)([a.autobind],_.prototype,"__onMouseMove",null),(0,o.__decorate)([a.autobind],_.prototype,"__onEsc",null),(0,o.__decorate)([a.autobind],_.prototype,"__onResizerMouseDown",null),(0,o.__decorate)([a.autobind],_.prototype,"close",null),(0,o.__decorate)([(0,a.hook)("ready")],_.prototype,"buildToolbar",null),_=(0,o.__decorate)([a.component],_)},77036:function(e,t,i){"use strict";i.d(t,{persistent:function(){return r}});var n=i(69364),o=i(31534);function r(e,t){e.hookStatus(n.STATUSES.ready,e=>{let i=(0,o.isViewObject)(e)?e:e.jodit,n=`${i.options.namespace}${e.componentName}_prop_${t}`,r=e[t];Object.defineProperty(e,t,{get(){var e;return null!=(e=i.storage.get(n))?e:r},set(e){i.storage.set(n,e)}})})}},77213:function(e,t,i){"use strict";i.d(t,{ctrlKey:function(){return n}});let n=e=>{if("u">typeof navigator&&-1!==navigator.userAgent.indexOf("Mac OS X")){if(e.metaKey&&!e.altKey)return!0}else if(e.ctrlKey&&!e.altKey)return!0;return!1}},77227:function(e,t,i){"use strict";var n=i(29434),o=i(5266),r=i(91115),s=i.n(r),a=i(1916),l=i.n(a);o.Config.prototype.aiAssistant={aiCommonPrefixPrompt:"",aiCommonSuffixPrompt:"",aiImproveWritingPrompt:"It needs to be refined for better clarity, coherence, and overall quality. Please enhance the writing style while keeping the original meaning and language intact.",aiMakeShorterPrompt:"Please condense this content to make it more concise, while preserving the key messages, language and information.",aiMakeLongerPrompt:"Expand on this content to provide more detail, depth, and richness, without diverging from the original message and language.",aiSimplifyLanguagePrompt:"The language used here needs to be simplified for easier understanding, without altering the core information and the original language.",aiSummarizePrompt:"Provide a brief summary of this content, capturing the essential points in a concise manner. Preserve the original language and meaning.",aiContinuePrompt:"Continue the narrative or discussion from this content seamlessly, maintaining the same language, tone and style.",aiChangeToneProfessionalPrompt:"Adjust the tone to be professional, suitable for a formal business or academic setting, while retaining the original message and language.",aiChangeToneFriendlyPrompt:"It needs to be rewritten in a friendly tone while maintaining the original message and language. Please modify this content to be warm, approachable, and engaging.",aiChangeToneFormalPrompt:"Transform this content to have a formal tone, appropriate for official or serious contexts, without changing the main points and language.",aiChangeToneCasualPrompt:"Revise this content to have a casual, relaxed tone, making it feel more personal and less formal, without changing the original meaning and language.",aiChangeToneDirectPrompt:"Make the tone more direct, with straightforward language and a clear, assertive approach, without changing the original meaning and language.",aiChangeToneConfidentPrompt:"Infuse this content with a confident tone, showcasing assurance and decisiveness, without changing the original meaning and language.",aiChangeStyleBusinessPrompt:"Rewrite this content with a business-oriented style, focusing on clarity, efficiency, and professionalism, without changing the original meaning and language.",aiChangeStyleLegalPrompt:"Adapt this content to a legal style, incorporating appropriate terminology and formality typical of legal documents, without changing the original meaning and language.",aiChangeStyleJournalismPrompt:"Convert this content into a journalistic style, emphasizing factual accuracy, objectivity, and informative reporting, without changing the original meaning and language.",aiChangeStylePoeticPrompt:"Recreate this content with a poetic style, using expressive language, rhythm, and imagery to convey the message, without changing the original meaning and language.",aiTranslateToSpanishPrompt:"Translate this content into Spanish, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToFrenchPrompt:"Translate this content into French, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToGermanPrompt:"Translate this content into German, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToItalianPrompt:"Translate this content into Italian, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToPortuguesePrompt:"Translate this content into Portuguese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToEnglishPrompt:"Translate this content into English, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToChinesePrompt:"Translate this content into Chinese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToJapanesePrompt:"Translate this content into Japanese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToKoreanPrompt:"Translate this content into Korean, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToRussianPrompt:"Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToArabicPrompt:"Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning."},n.Icon.set("ai-assistant",l()),n.Icon.set("ai-commands",s()),o.Config.prototype.controls["ai-commands"]={isDisabled(e){return!e.o.aiAssistant.aiAssistantCallback},tooltip:"AI Commands",list:{aiImproveWritingPrompt:"Improve writing",aiMakeShorterPrompt:"Make shorter",aiMakeLongerPrompt:"Make longer",aiSimplifyLanguagePrompt:"Simplify language",aiSummarizePrompt:"Summarize",aiContinuePrompt:"Continue",aiChangeToneProfessionalPrompt:"Change tone to professional",aiChangeToneFriendlyPrompt:"Change tone to friendly",aiChangeToneFormalPrompt:"Change tone to formal",aiChangeToneCasualPrompt:"Change tone to casual",aiChangeToneDirectPrompt:"Change tone to direct",aiChangeToneConfidentPrompt:"Change tone to confident",aiChangeStyleBusinessPrompt:"Change style to business",aiChangeStyleLegalPrompt:"Change style to legal",aiChangeStyleJournalismPrompt:"Change style of journalism",aiChangeStylePoeticPrompt:"Change style to poetic",aiTranslateToSpanishPrompt:"Translate to Spanish",aiTranslateToFrenchPrompt:"Translate to French",aiTranslateToGermanPrompt:"Translate to German",aiTranslateToItalianPrompt:"Translate to Italian",aiTranslateToPortuguesePrompt:"Translate to Portuguese",aiTranslateToEnglishPrompt:"Translate to English",aiTranslateToChinesePrompt:"Translate to Chinese",aiTranslateToJapanesePrompt:"Translate to Japanese",aiTranslateToKoreanPrompt:"Translate to Korean",aiTranslateToRussianPrompt:"Translate to Russian",aiTranslateToArabicPrompt:"Translate to Arabic"},exec:(e,t,{control:i})=>{e.e.fire("generateAiAssistantForm.ai-assistant",i.name)}},o.Config.prototype.controls["ai-assistant"]={isDisabled(e){return!e.o.aiAssistant.aiAssistantCallback},hotkeys:["ctrl+a+i","cmd+a+i"],tooltip:"AI Assistant",exec:(e,t,i)=>{e.e.fire("generateAiAssistantForm.ai-assistant")}}},77367:function(e,t,i){"use strict";i.d(t,{normalizeColor:function(){return r}});var n=i(93387),o=i(4040);let r=e=>{let t=["#"],i=(0,n.colorToHex)(e);if(!i)return!1;if(3===(i=(i=(0,o.trim)(i.toUpperCase())).substring(1)).length){for(let e=0;e<3;e+=1)t.push(i[e]),t.push(i[e]);return t.join("")}return i.length>6&&(i=i.slice(0,6)),"#"+i}},77483:function(e,t,i){"use strict";i.d(t,{ConfigDeepFlatten:function(){return function e(t){return(0,c.keys)(t,!1).reduce((i,n)=>(i[n]=(0,o.isPlainObject)(t[n])?e(t[n]):t[n],i),{})}},ConfigFlatten:function(){return u},ConfigProto:function(){return function e(t,i,c=0){if(Object.getPrototypeOf(t)!==Object.prototype)return t;let u=a.Config.defaultOptions;if((0,r.isString)(t.preset)){if(void 0!==u.presets[t.preset]){let e=u.presets[t.preset];Object.keys(e).forEach(i=>{(0,s.isVoid)(t[i])&&(t[i]=e[i])})}delete t.preset}let d={};return Object.keys(t).forEach(r=>{let s=t[r],a=i?i[r]:null;if((0,o.isPlainObject)(s)&&(0,o.isPlainObject)(a)&&!(0,l.isAtom)(s)){d[r]=e(s,a,c+1);return}if(0!==c&&(0,n.isArray)(s)&&!(0,l.isAtom)(s)&&(0,n.isArray)(a)){d[r]=[...s,...a.slice(s.length)];return}d[r]=s}),Object.setPrototypeOf(d,i),d}}});var n=i(17312),o=i(62101),r=i(85932),s=i(18303),a=i(5266),l=i(54794),c=i(71125);function u(e){return(0,c.keys)(e,!1).reduce((t,i)=>(t[i]=e[i],t),{})}},77911:function(e,t,i){"use strict";i.d(t,{ajaxInstances:function(){return s},send:function(){return a}});var n=i(65946),o=i(73714),r=i(89446);let s=new WeakMap;function a(e,t){let i=(0,r.buildData)(e,t),a=t=>{e.j.progressbar.show().progress(t),t>=100&&e.j.progressbar.hide()},l=(t,i)=>{let r=new o.Ajax({xhr:()=>{let t=new XMLHttpRequest;return void 0!==e.j.ow.FormData&&t.upload?(i(10),t.upload.addEventListener("progress",e=>{if(e.lengthComputable){let t=e.loaded/e.total;i(t*=100)}},!1)):i(100),t},method:e.o.method||"POST",data:t,url:(0,n.isFunction)(e.o.url)?e.o.url(t):e.o.url,headers:e.o.headers,queryBuild:e.o.queryBuild,contentType:e.o.contentType.call(e,t),withCredentials:e.o.withCredentials||!1}),a=s.get(e);return a||(a=new Set,s.set(e,a)),a.add(r),e.j.e.one("beforeDestruct",r.destruct),r.send().then(e=>e.json()).catch(e=>({success:!1,data:{messages:[e]}})).finally(()=>{r.destruct(),null==a||a.delete(r)})};return((0,n.isFunction)(e.o.customUploadFunction)&&(l=e.o.customUploadFunction),(0,n.isPromise)(i))?i.then(e=>l(e,a)).catch(t=>{e.o.error.call(e,t)}):l(i,a)}},78462:function(e,t,i){"use strict";i.d(t,{states:function(){return l},transactions:function(){return c}});var n=i(81937),o=i(23211),r=i(28712),s=i(51640),a=i(98394);let l={START:"START",ELEMENT:"ELEMENT",UNWRAP:"UNWRAP",UNWRAP_CHILDREN:"UNWRAP_CHILDREN",CHANGE:"CHANGE",REPLACE_DEFAULT:"REPLACE_DEFAULT",LIST:"LIST",TOGGLE_LIST:"TOGGLE_LIST",WRAP:"WRAP",EXTRACT:"EXTRACT",END:"END"},c={[l.START]:{exec(e){let{element:t,jodit:i,style:n,mode:r,collapsed:c}=e;if((0,s.isInsideInvisibleElement)(t,i.editor)||!c&&o.Dom.isEmptyContent(t))return{...e,next:l.END};let u=(0,s.getSuitParent)(n,t,i.editor)||(0,s.getSuitChild)(n,t);if(u)return{...e,next:l.ELEMENT,element:u};let d=(0,s.suitableClosest)(n,t,i.editor);return n.elementIsList&&o.Dom.isList(d)?{...e,next:l.LIST}:d?{...e,next:l.EXTRACT}:{...e,next:r!==a.UNWRAP?l.UNWRAP_CHILDREN:l.END}}},[l.LIST]:{exec(e){let{element:t,jodit:i,mode:r}=e;if(r!==a.INITIAL&&r!==a.UNWRAP&&r!==a.REPLACE)return{...e,next:l.END};let s=o.Dom.closest(t,"li",i.editor);return s&&o.Dom.closest(t,n.LIST_TAGS,i.editor)?{...e,element:s,next:l.TOGGLE_LIST}:{...e,next:l.END}}},[l.TOGGLE_LIST]:{exec(e){return{...e,mode:(0,s.toggleOrderedList)(e.style,e.element,e.jodit,e.mode),next:l.END}}},[l.EXTRACT]:{exec(e){var t;let{element:i,jodit:n,style:a}=e,c=(0,s.suitableClosest)(a,i,n.editor);return((0,r.assert)(c,"This place should have an element"),!a.elementIsBlock&&(null==(t=a.options.attributes)?void 0:t.style)&&o.Dom.isBlock(c))?{...e,next:l.WRAP}:(a.elementIsBlock||(0,s.extractSelectedPart)(c,i,n),{...e,element:c,next:l.ELEMENT})}},[l.UNWRAP_CHILDREN]:{exec(e){let{element:t,style:i}=e;return(0,s.unwrapChildren)(i,t)?{...e,mode:a.UNWRAP,next:l.END}:{...e,next:l.WRAP}}},[l.WRAP]:{exec(e){let{element:t,jodit:i,style:n}=e,o=(0,s.wrap)(n,t,i);return{...e,next:n.elementIsList?l.END:l.CHANGE,mode:a.WRAP,element:o}}},[l.ELEMENT]:{exec(e){let{style:t,element:i,jodit:n}=e;return(0,s.toggleAttributes)(t,i,n,a.INITIAL,!0)!==a.INITIAL?{...e,next:l.CHANGE}:o.Dom.isTag(i,t.element)?{...e,next:l.UNWRAP}:{...e,next:l.END}}},[l.CHANGE]:{exec(e){let{style:t,element:i,jodit:n,mode:r}=e,c=(0,s.toggleAttributes)(t,i,n,e.mode);return r!==a.WRAP&&c===a.UNSET&&!i.attributes.length&&o.Dom.isTag(i,t.element)?{...e,next:l.UNWRAP}:{...e,mode:c,next:l.END}}},[l.UNWRAP]:{exec(e){return e.element.attributes.length&&o.Dom.isTag(e.element,e.style.element)?{...e,next:l.REPLACE_DEFAULT}:(o.Dom.unwrap(e.element),{...e,mode:a.UNWRAP,next:l.END})}},[l.REPLACE_DEFAULT]:{exec(e){return o.Dom.replace(e.element,e.style.defaultTag,e.jodit.createInside,!0),{...e,mode:a.REPLACE,next:l.END}}},[l.END]:{exec(e){return e}}}},78690:function(e,t,i){"use strict";var n=i(27795),o=i(28077),r=i(5266);r.Config.prototype.autofocus=!1,r.Config.prototype.cursorAfterAutofocus="end",r.Config.prototype.saveSelectionOnBlur=!0,o.pluginSystem.add("focus",function(e){e.o.saveSelectionOnBlur&&e.e.on("blur",()=>{e.isEditorMode()&&e.s.save(!0)}).on("focus",()=>{e.s.restore()});let t=()=>{if(e.s.focus(),"end"===e.o.cursorAfterAutofocus){let t=n.Dom.last(e.editor,e=>n.Dom.isText(e));t&&e.s.setCursorIn(t,!1)}};e.e.on("afterInit",()=>{e.o.autofocus&&(e.defaultTimeout?e.async.setTimeout(t,300):t())}),e.e.on("afterInit afterAddPlace",()=>{e.e.off(e.editor,"mousedown.autofocus").on(e.editor,"mousedown.autofocus",t=>{e.isEditorMode()&&t.target&&n.Dom.isBlock(t.target)&&!t.target.childNodes.length&&(e.editor===t.target?e.s.focus():e.s.setCursorIn(t.target))})})})},78982:function(e,t,i){"use strict";i.d(t,{asArray:function(){return o}});var n=i(17312);let o=e=>(0,n.isArray)(e)?e:[e]},79310:function(e,t,i){"use strict";i.d(t,{readLink:function(){return r}});var n=i(23211),o=i(7909);function r(e,t,i){let r=n.Dom.closest(e.sourceImage,"a",t.editor);r?(i.imageLink=(0,o.attr)(r,"href")||"",i.imageLinkOpenInNewTab="_blank"===(0,o.attr)(r,"target")):(i.imageLink="",i.imageLinkOpenInNewTab=!1)}},79400:function(e){e.exports={"copy-format":"Kopioi muotoilu"}},79803:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.toolbarSticky=!0,n.Config.prototype.toolbarDisableStickyForMobile=!0,n.Config.prototype.toolbarStickyOffset=0},79821:function(e,t,i){"use strict";i.d(t,{Create:function(){return n.Create}});var n=i(76517)},79947:function(e,t,i){"use strict";i.d(t,{clearTimeout:function(){return r},setTimeout:function(){return o}});var n=i(81937);function o(e,t,...i){return t?n.globalWindow.setTimeout(e,t,...i):(e.call(null,...i),0)}function r(e){n.globalWindow.clearTimeout(e)}},80202:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.minWidth=200,n.Config.prototype.maxWidth="100%",n.Config.prototype.minHeight=200,n.Config.prototype.maxHeight="auto",n.Config.prototype.saveHeightInStorage=!1},80251:function(e,t,i){"use strict";i.d(t,{Component:function(){return c}});var n=i(25045),o=i(91231),r=i(69364),s=i(28077),a=i(65946);let l=new Map;class c{get componentName(){return this.__componentName||(this.__componentName="jodit-"+(0,a.kebabCase)(((0,a.isFunction)(this.className)?this.className():"")||(0,a.getClassName)(this))),this.__componentName}getFullElName(e,t,i){let n=[this.componentName];return e&&(e=e.replace(/[^a-z0-9-]/gi,"-"),n.push(`__${e}`)),t&&(n.push("_",t),n.push("_",(0,a.isVoid)(i)?"true":i.toString())),n.join("")}get ownerDocument(){return this.ow.document}get od(){return this.ownerDocument}get ow(){return this.ownerWindow}get(e,t){return(0,a.get)(e,t||this)}get isReady(){return this.componentStatus===r.STATUSES.ready}get isDestructed(){return this.componentStatus===r.STATUSES.destructed}get isInDestruct(){return r.STATUSES.beforeDestruct===this.componentStatus||r.STATUSES.destructed===this.componentStatus}bindDestruct(e){return e.hookStatus(r.STATUSES.beforeDestruct,()=>!this.isInDestruct&&this.destruct()),this}destruct(){this.setStatus(r.STATUSES.destructed),this.async&&(this.async.destruct(),this.async=void 0),l.get(this)&&l.delete(this),this.ownerWindow=void 0}get componentStatus(){return this.__componentStatus}set componentStatus(e){this.setStatus(e)}setStatus(e){return this.setStatusComponent(e,this)}setStatusComponent(e,t){if(e===this.__componentStatus)return;t===this&&(this.__componentStatus=e);let i=Object.getPrototypeOf(this);i&&(0,a.isFunction)(i.setStatusComponent)&&i.setStatusComponent(e,t);let n=l.get(this),o=null==n?void 0:n[e];o&&o.length&&o.forEach(e=>e(t))}hookStatus(e,t){let i=l.get(this);i||(i={},l.set(this,i)),i[e]||(i[e]=[]),i[e].push(t)}static isInstanceOf(e,t){return e instanceof t}constructor(){(0,n._)(this,"__componentName",void 0),(0,n._)(this,"async",new o.Async),(0,n._)(this,"uid",void 0),(0,n._)(this,"ownerWindow",window),(0,n._)(this,"__componentStatus",r.STATUSES.beforeInit),this.uid="jodit-uid-"+(0,s.uniqueUid)()}}(0,n._)(c,"STATUSES",r.STATUSES)},80347:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24" > <circle cx="12" cy="12" r="2.2"/> <circle cx="12" cy="5" r="2.2"/> <circle cx="12" cy="19" r="2.2"/> </svg>'},80512:function(e,t,i){"use strict";i.d(t,{Dlgs:function(){return a}});var n=i(28077),o=i(28686),r=i(71125),s=i(37333);class a{dlg(e){let t=(0,n.getPopupViewRoot)(this.o,this.container,this.od.body),i=new s.Dialog({language:this.o.language,shadowRoot:this.o.shadowRoot,popupRoot:t,ownerWindow:this.o.ownerWindow,defaultTimeout:this.o.defaultTimeout,direction:this.o.direction,theme:this.o.theme,globalFullSize:this.o.globalFullSize,...e});return(0,r.markOwner)(this,i.container),i.parent=this,i.bindDestruct(this)}confirm(e,t,i){return e=l(e,this),t=l(t,this),s.Confirm.call(this.dlg({closeOnClickOverlay:!0}),e,t,i)}prompt(e,t,i,n,o){return e=l(e,this),t=l(t,this),n=l(n,this),s.Prompt.call(this.dlg({closeOnClickOverlay:!0}),e,t,i,n,o)}alert(e,t,i,n){return e=l(e,this),t=l(t,this),s.Alert.call(this.dlg({closeOnClickOverlay:!0}),e,t,i,n)}}function l(e,t){return(0,o.isString)(e)&&!(0,o.isHTML)(e)&&(e=t.i18n(e)),e}},80515:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45z"/> </svg>'},80538:function(e,t,i){"use strict";var n=i(81937),o=i(29434),r=i(5266),s=i(24772),a=i.n(s),l=i(66547),c=i.n(l);r.Config.prototype.fullsize=!1,r.Config.prototype.globalFullSize=!0,o.Icon.set("fullsize",a()).set("shrink",c()),r.Config.prototype.controls.fullsize={exec:e=>{e.toggleFullSize()},update(e,t){let i=e.isFullSize?"shrink":"fullsize";t.state.activated=e.isFullSize,e.o.textIcons?t.state.text=i:t.state.icon.name=i},tooltip:"Open in fullsize",mode:n.MODE_SOURCE+n.MODE_WYSIWYG}},80696:function(e){e.exports={symbols:"رمز"}},80840:function(e,t,i){"use strict";i.d(t,{wait:function(){return s}});var n=i(69364),o=i(91565),r=i(33201);function s(e){return(t,i)=>{let s=t[i];if(!(0,o.isFunction)(s))throw(0,r.error)("Handler must be a Function");t.hookStatus(n.STATUSES.ready,t=>{let{async:n}=t,o=t[i],r=0;Object.defineProperty(t,i,{configurable:!0,value:function i(...s){n.clearTimeout(r),e(t)?o.apply(t,s):r=n.setTimeout(()=>i(...s),10)}})})}}},80951:function(e,t,i){"use strict";i.d(t,{checkJoinTwoLists:function(){return s}});var n=i(23211),o=i(71125),r=i(15200);function s(e,t,i){let s=n.Dom.findSibling(t,i),a=n.Dom.findSibling(t,!i);if(!n.Dom.closest(t,n.Dom.isElement,e.editor)&&n.Dom.isList(s)&&n.Dom.isList(a)&&n.Dom.isTag(s.lastElementChild,"li")&&n.Dom.isTag(a.firstElementChild,"li")){let{setCursorBefore:l,setCursorAfter:c}=e.s,u=s.lastElementChild,d=a.firstElementChild;return(0,o.call)(i?n.Dom.prepend:n.Dom.append,d,t),n.Dom.moveContent(a,s,!i,(0,r.getMoveFilter)(e)),n.Dom.safeRemove(a),(0,o.call)(i?n.Dom.append:n.Dom.prepend,u,t),(0,o.call)(i?l:c,t),!0}return!1}},80991:function(e,t,i){"use strict";i.d(t,{clearCenterAlign:function(){return c},css:function(){return l}});var n=i(22289),o=i(62101),r=i(19147),s=i(57821),a=i(74264);function l(e,t,i,c=!1){if((0,n.isBoolean)(i)&&(c=i,i=void 0),(0,o.isPlainObject)(t)||void 0!==i){let n=(e,t,i)=>{void 0!==(i=(0,r.normalizeCssNumericValue)(t,i))&&(null==i||l(e,t,!0)!==(0,r.normalizeCssValue)(t,i))&&(e.style[t]=i)};if((0,o.isPlainObject)(t)){let i=Object.keys(t);for(let o=0;o<i.length;o+=1)n(e,(0,s.camelCase)(i[o]),t[i[o]])}else n(e,(0,s.camelCase)(t),i);return""}let u=(0,a.kebabCase)(t),d=e.ownerDocument||document,h=!!d&&(d.defaultView||d.parentWindow),p=e.style[t],m="";return void 0!==p&&""!==p?m=p:h&&!c&&(m=h.getComputedStyle(e).getPropertyValue(u)),r.NUMBER_FIELDS_REG.test(t)&&/^[-+]?[0-9.]+px$/.test(m.toString())&&(m=parseInt(m.toString(),10)),(0,r.normalizeCssValue)(t,m)}let c=e=>{"block"===l(e,"display")&&l(e,"display","");let{style:t}=e;"auto"===t.marginLeft&&"auto"===t.marginRight&&(t.marginLeft="",t.marginRight="")}},81008:function(e,t,i){"use strict";var n=i(29434),o=i(5266),r=i(51457),s=i.n(r),a=i(23602),l=i.n(a),c=i(86899),u=i.n(c),d=i(95320),h=i.n(d);o.Config.prototype.controls.cut={command:"cut",isDisabled:e=>e.s.isCollapsed(),tooltip:"Cut selection"},o.Config.prototype.controls.copy={command:"copy",isDisabled:e=>e.s.isCollapsed(),tooltip:"Copy selection"},o.Config.prototype.controls.selectall={icon:"select-all",command:"selectall",tooltip:"Select all"},n.Icon.set("copy",s()).set("cut",l()).set("paste",u()).set("select-all",h())},81089:function(e){e.exports={Spellcheck:"בדיקת איות"}},81144:function(e,t,i){"use strict";var n=i(81937),o=i(28077),r=i(65946);i(17326),o.pluginSystem.add("iframe",function(e){let t=e.options;e.e.on("afterSetMode",()=>{e.isEditorMode()&&e.s.focus()}).on("generateDocumentStructure.iframe",(e,i)=>{let n=e||i.iframe.contentWindow.document;if(n.open(),n.write(t.iframeDoctype+`<html dir="${t.direction}" class="jodit" lang="${(0,r.defaultLanguage)(t.language)}">`+"<head>"+`<title>${t.iframeTitle}</title>`+(t.iframeBaseUrl?`<base href="${t.iframeBaseUrl}"/>`:"")+'</head><body class="jodit-wysiwyg"></body></html>'),n.close(),t.iframeCSSLinks&&t.iframeCSSLinks.forEach(e=>{let t=n.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),n.head&&n.head.appendChild(t)}),t.iframeStyle){let e=n.createElement("style");e.innerHTML=t.iframeStyle,n.head&&n.head.appendChild(e)}}).on("createEditor",()=>{if(!t.iframe)return;let i=e.c.element("iframe");i.style.display="block",i.src="about:blank",i.className="jodit-wysiwyg_iframe",i.setAttribute("allowtransparency","true"),i.setAttribute("tabindex",t.tabIndex.toString()),i.setAttribute("frameborder","0"),null!=t.iframeSandbox&&i.setAttribute("sandbox",t.iframeSandbox),e.workplace.appendChild(i),e.iframe=i;let o=e.e.fire("generateDocumentStructure.iframe",null,e);return(0,r.callPromise)(o,()=>{if(!e.iframe)return!1;let i=e.iframe.contentWindow.document;e.editorWindow=e.iframe.contentWindow;let o=t.editHTMLDocumentMode,s=()=>{(0,r.attr)(i.body,"contenteditable",e.getMode()!==n.MODE_SOURCE&&!e.getReadOnly()||null)},a=e=>{let t=/<body.*<\/body>/im,i="{%%BODY%%}",n=t.exec(e);return n&&(e=e.replace(t,i).replace(/<span([^>]*?)>(.*?)<\/span>/gim,"").replace(/&lt;span([^&]*?)&gt;(.*?)&lt;\/span&gt;/gim,"").replace(i,n[0].replace(/(<body[^>]+?)min-height["'\s]*:[\s"']*[0-9]+(px|%)/im,"$1").replace(/(<body[^>]+?)([\s]*["'])?contenteditable["'\s]*=[\s"']*true["']?/im,"$1").replace(/<(style|script|span)[^>]+jodit[^>]+>.*?<\/\1>/g,"")).replace(/(class\s*=\s*)(['"])([^"']*)(jodit-wysiwyg|jodit)([^"']*\2)/g,"$1$2$3$5").replace(/(<[^<]+?)\sclass="[\s]*"/gim,"$1").replace(/(<[^<]+?)\sstyle="[\s;]*"/gim,"$1").replace(/(<[^<]+?)\sdir="[\s]*"/gim,"$1")),e};if(o){let t=e.element.tagName;if("TEXTAREA"!==t&&"INPUT"!==t)throw(0,r.error)("If enable `editHTMLDocumentMode` - source element should be INPUT or TEXTAREA");e.e.on("beforeGetNativeEditorValue",()=>a(e.o.iframeDoctype+i.documentElement.outerHTML)).on("beforeSetNativeEditorValue",({value:t})=>!e.isLocked&&(/<(html|body)/i.test(t)?a(i.documentElement.outerHTML)!==a(t)&&(i.open(),i.write(e.o.iframeDoctype+a(t)),i.close(),e.editor=i.body,e.e.fire("safeHTML",e.editor),s(),e.e.fire("prepareWYSIWYGEditor"),e.e.stopPropagation("beforeSetNativeEditorValue")):i.body.innerHTML=t,!0),{top:!0})}if(e.editor=i.body,e.e.on("afterSetMode afterInit afterAddPlace",s),"auto"===t.height){i.documentElement&&(i.documentElement.style.overflowY="hidden");let n=e.async.throttle((...i)=>{e.async.requestAnimationFrame(()=>{if(e.editor&&e.iframe&&"auto"===t.height){let t=e.ew.getComputedStyle(e.editor),i=parseInt(t.marginTop||"0",10)+parseInt(t.marginBottom||"0",10);(0,r.css)(e.iframe,"height",e.editor.offsetHeight+i)}})},e.defaultTimeout/2);if(e.e.on("change afterInit afterSetMode resize",n).on([e.iframe,e.ew,i.documentElement],"load",n).on(i,"readystatechange DOMContentLoaded",n),"function"==typeof ResizeObserver){let t=new ResizeObserver(n);t.observe(i.body),e.e.on("beforeDestruct",()=>{t.disconnect()})}}return i.documentElement&&e.e.on(i.documentElement,"mousedown touchend",()=>{e.s.isFocused()||(e.s.focus(),e.editor===i.body&&e.s.setCursorIn(i.body))}).on(e.ew,"mousedown touchstart keydown keyup touchend click mouseup mousemove scroll",t=>{var i;null==(i=e.events)||i.fire(e.ow,t)}),!1})})})},81321:function(e){e.exports.default=["\xcdrjon be valamit","Joditr\xf3l","Jodit Editor","Jodit \xfatmutat\xf3","tov\xe1bbi seg\xedts\xe9get tartalmaz","Tov\xe1bbi licence inform\xe1ci\xf3k\xe9rt l\xe1togassa meg a weboldalunkat:","Teljes verzi\xf3 megv\xe1s\xe1rl\xe1sa","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Minden jog fenntartva.","Horgony","Megnyit\xe1s \xfaj lapon","Megnyit\xe1s teljes m\xe9retben","Form\xe1z\xe1s t\xf6rl\xe9se","H\xe1tt\xe9r/sz\xf6veg sz\xedn","\xdajra","Visszavon","F\xe9lk\xf6v\xe9r","Dőlt","Pontozott lista","Sz\xe1mozott lista","K\xf6z\xe9pre z\xe1rt","Sorkiz\xe1rt","Balra z\xe1rt","Jobbra z\xe1rt","V\xedzszintes vonal besz\xfar\xe1sa","K\xe9p besz\xfar\xe1s","F\xe1jl besz\xfar\xe1s","Youtube vide\xf3 besz\xfar\xe1sa","Link besz\xfar\xe1s","Betűm\xe9ret","Betűt\xedpus","Form\xe1zott blokk besz\xfar\xe1sa","Norm\xe1l","Fejl\xe9c 1","Fejl\xe9c 2","Fejl\xe9c 3","Fejl\xe9c 4","Id\xe9zet","K\xf3d","Besz\xfar","T\xe1bl\xe1zat besz\xfar\xe1sa","Beh\xfaz\xe1s cs\xf6kkent\xe9se","Beh\xfaz\xe1s n\xf6vel\xe9se","Speci\xe1lis karakter kiv\xe1laszt\xe1sa","Speci\xe1lis karakter besz\xfar\xe1sa","K\xe9p form\xe1z\xe1sa","N\xe9zet v\xe1lt\xe1sa","Szeg\xe9lyek","felső","jobb","als\xf3","bal","CSS st\xedlusok","CSS oszt\xe1lyok","Igaz\xedt\xe1s","Jobbra","K\xf6z\xe9pre","Balra","Nincs","Forr\xe1s","C\xedm","Helyettes\xedtő sz\xf6veg","Link","Link megnyit\xe1sa \xfaj lapon","K\xe9p","F\xe1jl","Halad\xf3","K\xe9p tulajdons\xe1gai","M\xe9gsem","OK","F\xe1jl tall\xf3z\xf3","Hiba a lista bet\xf6lt\xe9se k\xf6zben","Hiba a mapp\xe1k bet\xf6lt\xe9se k\xf6zben","Biztosan ezt szeretn\xe9?","\xcdrjon be egy mappanevet","Mappa l\xe9trehoz\xe1sa","\xedrjon be bevet","H\xfazza ide a k\xe9pet","H\xfazza ide a f\xe1jlt","vagy kattintson","Helyettes\xedtő sz\xf6veg","Felt\xf6lt","Tall\xf3z","H\xe1tt\xe9r","Sz\xf6veg","Fent","K\xf6z\xe9pen","Lent","Oszlop besz\xfar\xe1s el\xe9","Oszlop besz\xfar\xe1s ut\xe1na","Sor besz\xfar\xe1s f\xf6l\xe9","Sor besz\xfar\xe1s al\xe1","T\xe1bl\xe1zat t\xf6rl\xe9se","Sor t\xf6rl\xe9se","Oszlop t\xf6rl\xe9se","Cella tartalm\xe1nak t\xf6rl\xe9se","Karakterek sz\xe1ma: %d","Szavak sz\xe1ma: %d","\xc1th\xfazott","Al\xe1h\xfazott","Felső index","Als\xf3 index","Kiv\xe1g\xe1s","\xd6sszes kijel\xf6l\xe9se","Sz\xfcnet","Keres\xe9s","Csere erre","Cser\xe9lje ki","Beilleszt\xe9s","V\xe1lasszon tartalmat a beilleszt\xe9shez","HTML","F\xe9lk\xf6v\xe9r","Dőlt","Ecset","Link","Visszavon","\xdajra","T\xe1bl\xe1zat","K\xe9p","T\xf6rl\xe9s","Paragr\xe1fus","Betűm\xe9ret","Vide\xf3","Betű","R\xf3lunk","Nyomtat","Al\xe1h\xfazott","\xc1th\xfazott","Beh\xfaz\xe1s","Aussenseiter","Teljes m\xe9ret","\xd6sszenyom","Egyenes vonal","Lista","Sz\xe1mozott lista","Kiv\xe1g","\xd6sszes kijel\xf6l\xe9se","Be\xe1gyazott k\xf3d","Link megnyit\xe1sa","Link szerkeszt\xe9se","Nincs k\xf6vet\xe9s","Link lev\xe1laszt\xe1sa","Friss\xedt","Szerkeszt\xe9s","fel\xfclvizsg\xe1lat","URL","Szerkeszt","V\xedzszintes igaz\xedt\xe1s","Szűrő","Rendez\xe9s m\xf3dos\xedt\xe1s szerint","Rendez\xe9s n\xe9v szerint","Rendez\xe9s m\xe9ret szerint","Mappa hozz\xe1ad\xe1s","Vissza\xe1ll\xedt","Ment\xe9s","Ment\xe9s m\xe1sk\xe9nt...","\xc1tm\xe9retez\xe9s","Kiv\xe1g","Sz\xe9less\xe9g","Magass\xe1g","K\xe9par\xe1ny megtart\xe1sa","Igen","Nem","Elt\xe1vol\xedt","Kijel\xf6l","Kijel\xf6l: %s","F\xfcggőleges igaz\xedt\xe1s","Feloszt\xe1s","\xd6sszevon\xe1s","Oszlop hozz\xe1ad\xe1s","Sor hozz\xe1ad\xe1s","Licenc: %s","T\xf6rl\xe9s","F\xfcggőleges feloszt\xe1s","V\xedzszintes feloszt\xe1s","Szeg\xe9ly","A beillesztett sz\xf6veg HTML-nek tűnik. Megtartsuk HTML-k\xe9nt?","Besz\xfar\xe1s HTML-k\xe9nt","Megtart\xe1s","Besz\xfar\xe1s sz\xf6vegk\xe9nt","Csak sz\xf6veg beilleszt\xe9se","Csak a saj\xe1t k\xe9peit tudja szerkeszteni. Let\xf6lti ezt a k\xe9pet?","K\xe9p sikeresen felt\xf6ltve!","Palette","Er zijn geen bestanden in deze map.","\xe1tnevez\xe9s","Adja meg az \xfaj nevet","előn\xe9zet","Let\xf6lt\xe9s","Illessze be a v\xe1g\xf3lap","A b\xf6ng\xe9sző nem t\xe1mogatja a k\xf6zvetlen hozz\xe1f\xe9r\xe9st biztos\xedt a v\xe1g\xf3lapra.","M\xe1sol\xe1s kiv\xe1laszt\xe1sa","m\xe1sol\xe1s","Hat\xe1r sug\xe1r","\xd6sszes","Alkalmazni","K\xe9rj\xfck, t\xf6ltse ki ezt a mezőt,","K\xe9rj\xfck, \xedrja be a webc\xedmet","Alap\xe9rtelmezett","K\xf6r","Pont","Quadrate","Tal\xe1lni","Megtal\xe1lja Előző","K\xf6vetkező Keres\xe9se","A beillesztett tartalom Microsoft Word/Excel dokumentumb\xf3l sz\xe1rmazik. Meg szeretn\xe9 tartani a form\xe1tum\xe1t?","Word-ből m\xe1solt sz\xf6veg","Elvet\xe9s","Helyezze be az oszt\xe1ly nev\xe9t","Nyomja meg az Alt egy\xe9ni \xe1tm\xe9retez\xe9s",null,null,null,"\xd6sszes"]},81488:function(e,t,i){"use strict";i.d(t,{inputValidators:function(){return n},selectValidators:function(){return o}});var n=i(48776),o=i(6490)},81576:function(e,t,i){"use strict";i.d(t,{generateCriticalCSS:function(){return r}});var n=i(25045),o=i(88475);function r(e){let t=(e,t=e.ownerDocument.styleSheets)=>(0,o.toArray)(t).map(e=>{try{return(0,o.toArray)(e.cssRules)}catch(e){}return[]}).flat().filter(t=>{try{return!!(t&&e.matches(t.selectorText))}catch(e){}return!1});class i{generateCSS(){let e="";for(let t in this.css)if(!/:not\(/.test(t)){for(let i in e+=t+" { ",this.css[t])e+=i+": "+this.css[t][i]+"; ";e+="}\n"}return e}constructor(i,o,r){(0,n._)(this,"css",{});const s=r||{},a=t=>{let i=t.selectorText.split(",").map(e=>e.trim()).sort().join(",");!1==!!this.css[i]&&(this.css[i]={});let n=t.style.cssText.split(/;(?![A-Za-z0-9])/);for(let t=0;t<n.length;t++){if(!n[t])continue;let o=n[t].split(":");o[0]=o[0].trim(),o[1]=o[1].trim(),this.css[i][o[0]]=o[1].replace(/var\(([^)]+)\)/g,(t,i)=>{let[n,o]=i.split(",");return(e.ew.getComputedStyle(e.editor).getPropertyValue(n.trim())||o||t).trim()})}};(()=>{let n=i.innerHeight,r=o.createTreeWalker(e.editor,NodeFilter.SHOW_ELEMENT,()=>NodeFilter.FILTER_ACCEPT);for(;r.nextNode();){let e=r.currentNode;if(e.getBoundingClientRect().top<n||s.scanFullPage){let i=t(e);if(i)for(let e=0;e<i.length;e++)a(i[e])}}})()}}try{return new i(e.ew,e.ed,{scanFullPage:!0}).generateCSS()}catch(e){}return""}},81582:function(e,t,i){"use strict";var n=i(31635),o=i(81937),r=i(84839),s=i(28077),a=i(91206);i(69023);var l=i(2923);class c extends a.Plugin{afterInit(e){}__onTab(e){if(e.key===o.KEY_TAB&&this.__onShift(e.shiftKey))return!1}__onCommand(e){if(("indent"===e||"outdent"===e)&&this.__onShift("outdent"===e))return!1}__onShift(e){let t=(0,l.onTabInsideLi)(this.j,e);return t&&this.j.e.fire("afterTab",e),t}beforeDestruct(e){}}(0,n.__decorate)([(0,r.watch)(":keydown.tab")],c.prototype,"__onTab",null),(0,n.__decorate)([(0,r.watch)(":beforeCommand.tab")],c.prototype,"__onCommand",null),s.pluginSystem.add("tab",c)},81875:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 270 270"> <path d="m240.443652,220.45085l-47.410809,0l0,-10.342138c13.89973,-8.43655 25.752896,-19.844464 34.686646,-33.469923c11.445525,-17.455846 17.496072,-37.709239 17.496072,-58.570077c0,-59.589197 -49.208516,-108.068714 -109.693558,-108.068714s-109.69263,48.479517 -109.69263,108.069628c0,20.860839 6.050547,41.113316 17.497001,58.570077c8.93375,13.625459 20.787845,25.032458 34.686646,33.469008l0,10.342138l-47.412666,0c-10.256959,0 -18.571354,8.191376 -18.571354,18.296574c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.98402,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574l0,-39.496814c0,-7.073455 -4.137698,-13.51202 -10.626529,-16.537358c-25.24497,-11.772016 -41.557118,-37.145704 -41.557118,-64.643625c0,-39.411735 32.545369,-71.476481 72.549922,-71.476481c40.004553,0 72.550851,32.064746 72.550851,71.476481c0,27.497006 -16.312149,52.87161 -41.557118,64.643625c-6.487902,3.026253 -10.6256,9.464818 -10.6256,16.537358l0,39.496814c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.982163,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574c0,-10.105198 -8.314395,-18.296574 -18.571354,-18.296574z"/> </svg>'},81937:function(e,t,i){"use strict";i.r(t),i.d(t,{ACCURACY:function(){return V},APP_VERSION:function(){return n},BASE_PATH:function(){return eh},BASE_PATH_IS_MIN:function(){return ep},BR:function(){return W},CLIPBOARD_ID:function(){return eg},COMMAND_KEYS:function(){return U},EMULATE_DBLCLICK_TIMEOUT:function(){return et},ES:function(){return o},FAT_MODE:function(){return c},HOMEPAGE:function(){return u},INSEPARABLE_TAGS:function(){return T},INSERT_AS_HTML:function(){return ei},INSERT_AS_TEXT:function(){return eo},INSERT_CLEAR_HTML:function(){return en},INSERT_ONLY_TEXT:function(){return er},INVISIBLE_SPACE:function(){return p},INVISIBLE_SPACE_REG_EXP:function(){return f},INVISIBLE_SPACE_REG_EXP_END:function(){return g},INVISIBLE_SPACE_REG_EXP_START:function(){return v},IS_BLOCK:function(){return C},IS_ES_MODERN:function(){return r},IS_ES_NEXT:function(){return s},IS_IE:function(){return X},IS_INLINE:function(){return k},IS_MAC:function(){return ea},IS_PROD:function(){return a},IS_TEST:function(){return l},KEY_ALIASES:function(){return el},KEY_ALT:function(){return P},KEY_BACKSPACE:function(){return j},KEY_DELETE:function(){return q},KEY_DOWN:function(){return R},KEY_ENTER:function(){return L},KEY_ESC:function(){return A},KEY_F3:function(){return F},KEY_LEFT:function(){return M},KEY_META:function(){return D},KEY_RIGHT:function(){return B},KEY_SPACE:function(){return O},KEY_TAB:function(){return z},KEY_UP:function(){return N},LIST_TAGS:function(){return E},MARKER_CLASS:function(){return ee},MODE_SOURCE:function(){return K},MODE_SPLIT:function(){return G},MODE_WYSIWYG:function(){return Y},NBSP_SPACE:function(){return m},NEARBY:function(){return H},NO_EMPTY_TAGS:function(){return x},PARAGRAPH:function(){return $},PASSIVE_EVENTS:function(){return e_},SAFE_COUNT_CHANGE_CALL:function(){return es},SET_TEST:function(){return d},SOURCE_CONSUMER:function(){return ev},SPACE_REG_EXP:function(){return _},SPACE_REG_EXP_END:function(){return y},SPACE_REG_EXP_START:function(){return b},TEMP_ATTR:function(){return em},TEXT_HTML:function(){return Z},TEXT_PLAIN:function(){return J},TEXT_RTF:function(){return Q},TOKENS:function(){return h},globalDocument:function(){return w},globalWindow:function(){return S},lang:function(){return ef}});let n="4.9.11",o="es2018",r=!0,s=!1,a=!0,l=!1,c=!1,u="https://xdsoft.net/jodit/",d=()=>l=!0,h={},p="\uFEFF",m="\xa0",f=()=>/[\uFEFF]/g,g=()=>/[\uFEFF]+$/g,v=()=>/^[\uFEFF]+/g,_=()=>/[\s\n\t\r\uFEFF\u200b]+/g,b=()=>/^[\s\n\t\r\uFEFF\u200b]+/g,y=()=>/[\s\n\t\r\uFEFF\u200b]+$/g,S="u">typeof window?window:void 0,w="u">typeof document?document:void 0,C=/^(ADDRESS|ARTICLE|ASIDE|BLOCKQUOTE|CANVAS|DD|DFN|DIV|DL|DT|FIELDSET|FIGCAPTION|FIGURE|FOOTER|FORM|H[1-6]|HEADER|HGROUP|HR|LI|MAIN|NAV|NOSCRIPT|OUTPUT|P|PRE|RUBY|SCRIPT|STYLE|OBJECT|OL|SECTION|IFRAME|JODIT|JODIT-MEDIA|UL|TR|TD|TH|TBODY|THEAD|TFOOT|TABLE|BODY|HTML|VIDEO)$/i,k=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,E=new Set(["ul","ol"]),I=["img","video","svg","iframe","script","input","textarea","link","jodit","jodit-media"],T=new Set([...I,"br","hr"]),x=new Set(I),D="Meta",j="Backspace",z="Tab",L="Enter",A="Escape",P="Alt",M="ArrowLeft",N="ArrowUp",B="ArrowRight",R="ArrowDown",O="Space",q="Delete",F="F3",H=5,V=10,U=[D,j,q,N,R,B,M,L,A,F,z],W="br",$="p",Y=1,K=2,G=3,X="u">typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),J=X?"text":"text/plain",Z=X?"html":"text/html",Q=X?"rtf":"text/rtf",ee="jodit-selection_marker",et=300,ei="insert_as_html",en="insert_clear_html",eo="insert_as_text",er="insert_only_text",es=10,ea=void 0!==S&&/Mac|iPod|iPhone|iPad/.test(S.navigator.platform),el={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:ea?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:"space",spacebar:"space",up:"arrowup",win:"meta",windows:"meta"},ec=e=>{let t=e.split("/");return/\.js/.test(t[t.length-1])?{basePath:t.slice(0,t.length-1).join("/")+"/",isMin:!0}:{basePath:e,isMin:!0}},{basePath:eu,isMin:ed}=(()=>{if("u"<typeof document)return{basePath:"",isMin:!0};let e=w.currentScript;if(e)return ec(e.src);let t=w.querySelectorAll("script[src]");return t&&t.length?ec(t[t.length-1].src):ec(S.location.href)})(),eh=eu,ep=ed,em="data-jodit-temp",ef={},eg="clipboard",ev="source-consumer",e_=new Set(["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"])},81987:function(e,t,i){"use strict";i.d(t,{Mods:function(){return o}});var n=i(18303);class o{afterSetMod(e,t){}setMod(e,t,i){e=e.toLowerCase();let o=this.mods[e];if(o===t)return this;let r=`${this.componentName}_${e}_`,s=(i||this.container).classList;return null!=o&&s.remove(`${r}${o.toString().toLowerCase()}`),(0,n.isVoid)(t)||""===t||s.add(`${r}${t.toString().toLowerCase()}`),this.mods[e]=t,this.afterSetMod(e,t),this}getMod(e){var t;return null!=(t=this.mods[e])?t:null}}},82147:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.limitWords=!1,n.Config.prototype.limitChars=!1,n.Config.prototype.limitHTML=!1},82166:function(e,t,i){"use strict";function n(e){return -1!==e.search(/<meta.*?Microsoft Excel\s[\d].*?>/)||-1!==e.search(/<meta.*?Microsoft Word\s[\d].*?>/)||-1!==e.search(/style="[^"]*mso-/)&&-1!==e.search(/<font/)}i.d(t,{isHtmlFromWord:function(){return n}})},82495:function(e,t,i){"use strict";i.d(t,{createSourceEditor:function(){return r}});var n=i(65946),o=i(8105);function r(e,t,i,r,s){let a;if((0,n.isFunction)(e))a=e(t);else switch(e){case"ace":if(!t.o.shadowRoot){a=new o.AceEditor(t,i,r,s);break}default:a=new o.TextAreaEditor(t,i,r,s)}return a.init(t),a.onReadyAlways(()=>{a.setReadOnly(t.o.readonly)}),a}},82658:function(e,t,i){"use strict";i.d(t,{applyStyles:function(){return n.applyStyles},cleanFromWord:function(){return o.cleanFromWord},htmlspecialchars:function(){return r.htmlspecialchars},nl2br:function(){return s.nl2br},safeHTML:function(){return a.safeHTML},sanitizeHTMLElement:function(){return a.sanitizeHTMLElement},stripTags:function(){return l.stripTags}});var n=i(30893),o=i(1277),r=i(6609),s=i(48838),a=i(48155),l=i(22852)},82794:function(e,t,i){"use strict";i.d(t,{toggleAttributes:function(){return f}});var n=i(81937),o=i(23211),r=i(28077),s=i(28686),a=i(19147),l=i(18073),c=i(74264),u=i(93640),d=i(80991),h=i(36400),p=i(98394);let m="toggleAttributes";function f(e,t,i,v,_=!1){if(!_&&e.isApplied(t,m))return v;_||e.setApplied(t,m);let{attributes:b}=e.options;return b&&(0,l.size)(b)>0&&Object.keys(b).forEach(m=>{var f,y,S;let w=b[m];switch(m){case"style":f=v,(0,u.assert)((0,s.isPlainObject)(w)&&(0,l.size)(w),"Style must be an object"),Object.keys(w).forEach(s=>{let l=t.style.getPropertyValue((0,c.kebabCase)(s)),u=w[s];if(""!==l||null!=u){let c,m;if((c=i.create.element(t.tagName.toLowerCase())).style.cssText=t.style.cssText,(function(e){var t;if(void 0!==(0,h.dataBind)(e,"shadowRoot"))return(0,h.dataBind)(e,"shadowRoot");let i=(0,r.getContainer)(e),o=n.globalDocument.createElement("iframe");(0,d.css)(o,{width:0,height:0,position:"absolute",border:0}),o.src="about:blank",i.appendChild(o);let s=null==(t=o.contentWindow)?void 0:t.document,a=s?s.body:e.od.body;return(0,h.dataBind)(e,"shadowRoot",a),a})(i).appendChild(c),m=(0,d.css)(c,s),o.Dom.safeRemove(c),m===(0,a.normalizeCssValue)(s,u)){if(!l)return;_||(0,d.css)(t,s,null),f=g(e,t,f=p.UNSET);return}f=p.CHANGE,_||((0,d.css)(t,s,u),f=g(e,t,f))}}),v=f;break;case"className":case"class":let C;y=v,(0,u.assert)((0,s.isString)(w),"Class name must be a string"),C=i.e.fire.bind(i.e,`${p._PREFIX}AfterToggleAttribute`),t.classList.contains(w.toString())?(y=p.UNSET,_||(t.classList.remove(w),0===t.classList.length&&((0,u.attr)(t,"class",null),C(y,t,"class",null)))):(y=p.CHANGE,_||(t.classList.add(w),C(y,t,"class",w))),v=y;break;default:let k;S=v,(0,u.assert)((0,s.isString)(w)||(0,s.isNumber)(w)||(0,s.isBoolean)(w)||null==w,"Attribute value must be a string or number or boolean or null"),k=i.e.fire.bind(i.e,`${p._PREFIX}AfterToggleAttribute`),(0,u.attr)(t,m)===w?(_||(0,u.attr)(t,m,null),S=p.UNSET,_||k(S,t,m,w)):(S=p.CHANGE,_||((0,u.attr)(t,m,w),k(S,t,m,w))),v=S}}),v}function g(e,t,i){return(0,u.attr)(t,"style")||((0,u.attr)(t,"style",null),t.tagName.toLowerCase()===e.defaultTag&&(o.Dom.unwrap(t),i=p.UNWRAP)),i}},83207:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path stroke-width="0" d="M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm-1408-928q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},83215:function(e,t,i){"use strict";i.d(t,{innerWidth:function(){return n}});let n=(e,t)=>{let i=t.getComputedStyle(e);return e.clientWidth-(parseFloat(i.paddingLeft||"0")+parseFloat(i.paddingRight||"0"))}},83335:function(e,t,i){"use strict";i.d(t,{wrapUnwrappedText:function(){return r}});var n=i(23211),o=i(23175);function r(e,t,i){let r=i.editor,s=i.createInside,a=(e,t="previousSibling")=>{let s=e,a=e;for(;a&&!(0,o.isMarker)(a)&&!n.Dom.isTag(a,i.o.enter)&&(s=a,a=a[t]?a[t]:a.parentNode&&!n.Dom.isBlock(a.parentNode)&&a.parentNode!==r?a.parentNode:null,!n.Dom.isBlock(a)););return s},l=a(t),c=a(t,"nextSibling"),u=i.s.createRange();u.setStartBefore(l),u.setEndAfter(c);let d=u.extractContents(),h=s.element(e.element);return h.appendChild(d),n.Dom.safeInsertNode(u,h),e.elementIsBlock&&n.Dom.isEmpty(h)&&!n.Dom.isTag(h.firstElementChild,"br")&&h.appendChild(s.element("br")),h}},83376:function(e,t,i){"use strict";i.d(t,{getBlockWrapper:function(){return function e(t,i,r=n.IS_BLOCK){let s=t,a=i.editor;do{if(!s||s===a)break;if(r.test(s.nodeName)){if(o.Dom.isLeaf(s))return s;return e(s.parentNode,i,/^li$/i)||s}s=s.parentNode}while(s&&s!==a);return null}}});var n=i(81937),o=i(23211)},83389:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M176 223q-37-2-45-4l-3-88q13-1 40-1 60 0 112 4 132 7 166 7 86 0 168-3 116-4 146-5 56 0 86-2l-1 14 2 64v9q-60 9-124 9-60 0-79 25-13 14-13 132 0 13 .5 32.5t.5 25.5l1 229 14 280q6 124 51 202 35 59 96 92 88 47 177 47 104 0 191-28 56-18 99-51 48-36 65-64 36-56 53-114 21-73 21-229 0-79-3.5-128t-11-122.5-13.5-159.5l-4-59q-5-67-24-88-34-35-77-34l-100 2-14-3 2-86h84l205 10q76 3 196-10l18 2q6 38 6 51 0 7-4 31-45 12-84 13-73 11-79 17-15 15-15 41 0 7 1.5 27t1.5 31q8 19 22 396 6 195-15 304-15 76-41 122-38 65-112 123-75 57-182 89-109 33-255 33-167 0-284-46-119-47-179-122-61-76-83-195-16-80-16-237v-333q0-188-17-213-25-36-147-39zm1488 1409v-64q0-14-9-23t-23-9h-1472q-14 0-23 9t-9 23v64q0 14 9 23t23 9h1472q14 0 23-9t9-23z"/> </svg>'},83653:function(e,t,i){"use strict";i.d(t,{isNormalNode:function(){return r}});var n=i(23211),o=i(23175);function r(e){return!!(e&&!n.Dom.isEmptyTextNode(e)&&!n.Dom.isTemporary(e)&&!(0,o.isMarker)(e))}},83708:function(e){e.exports={"copy-format":"copyformat"}},83778:function(e){e.exports={"copy-format":"Format kopierenт"}},84041:function(e){e.exports={"Line height":"Vonal magass\xe1ga"}},84578:function(e,t,i){"use strict";i.d(t,{CommitStyle:function(){return l}});var n=i(25045),o=i(81937),r=i(57821),s=i(98394),a=i(96127);class l{isApplied(e,t){let i=this.__applyMap.get(e);return!!i&&i[t]}setApplied(e,t){var i;let n=null!=(i=this.__applyMap.get(e))?i:{};n[t]=!0,this.__applyMap.set(e,n)}get elementIsList(){return!!(this.options.element&&o.LIST_TAGS.has(this.options.element))}get element(){return this.options.element||this.defaultTag}get elementIsBlock(){return!!(this.options.element&&o.IS_BLOCK.test(this.options.element))}get isElementCommit(){return!!(this.options.element&&this.options.element!==this.options.defaultTag)}get defaultTag(){return this.options.defaultTag?this.options.defaultTag:this.elementIsBlock?"p":"span"}get elementIsDefault(){return this.element===this.defaultTag}apply(e){let{hooks:t}=this.options,i=t?Object.keys(t):[];try{i.forEach(i=>{e.e.on((0,r.camelCase)(s._PREFIX+"_"+i),t[i])}),(0,a.ApplyStyle)(e,this)}finally{i.forEach(i=>{e.e.off((0,r.camelCase)(s._PREFIX+"_"+i),t[i])}),this.__applyMap=new WeakMap}e.synchronizeValues(),e.e.fire("afterCommitStyle",this)}constructor(e){(0,n._)(this,"options",void 0),(0,n._)(this,"__applyMap",void 0),this.options=e,this.__applyMap=new WeakMap}}},84839:function(e,t,i){"use strict";i.r(t),i.d(t,{autobind:function(){return n.autobind},cache:function(){return o.cache},cacheHTML:function(){return o.cacheHTML},cached:function(){return o.cached},component:function(){return r.component},debounce:function(){return s.debounce},derive:function(){return a.derive},getComponentClass:function(){return r.getComponentClass},hook:function(){return l.hook},idle:function(){return c.idle},nonenumerable:function(){return u.nonenumerable},persistent:function(){return d.persistent},throttle:function(){return s.throttle},wait:function(){return h.wait},watch:function(){return p.watch}});var n=i(49574),o=i(51676),r=i(91672),s=i(55184),a=i(24968),l=i(29200),c=i(35718),u=i(41360),d=i(77036),h=i(80840),p=i(68616)},84872:function(e){e.exports={Spellcheck:"Перевірка орфографії"}},85127:function(e){e.exports={"Line height":"Высота линии"}},85305:function(e,t,i){"use strict";i.d(t,{PluginSystem:function(){return m}});var n=i(25045),o=i(81937),r=i(42689),s=i(32328),a=i(17312),l=i(52433),c=i(85932),u=i(55810),d=i(3050),h=i(25974),p=i(86189);class m{get size(){return this.__items.size}add(e,t){this.__items.set((0,p.normalizeName)(e),t),r.eventEmitter.fire(`plugin:${e}:ready`)}get(e){return this.__items.get((0,p.normalizeName)(e))}remove(e){this.__items.delete((0,p.normalizeName)(e))}__getFullPluginsList(e){let t=[];return this.__items.forEach((i,n)=>{(!e||e.has(n))&&t.push([n,i])}),t}__init(e){let{extraList:t,disableList:i,filter:n}={extraList:e.o.extraPlugins.map(e=>(0,c.isString)(e)?{name:e}:e),disableList:new Set((0,s.splitArray)(e.o.disablePlugins).map(p.normalizeName)),filter:e.o.safeMode?new Set(e.o.safePluginsList):null},r=new Map,m={},f=new Set;e.__plugins=m;let g=()=>{if(e.isInDestruct)return;let t=!1;this.__getFullPluginsList(n).forEach(([n,o])=>{if(i.has(n)||r.has(n))return;let s=null==o?void 0:o.requires;if(s&&(0,a.isArray)(s)&&s.length){if(s.some(e=>i.has(e)))return;if(!s.every(e=>r.has(e)))return void f.add(n)}t=!0;let l=(0,h.makeInstance)(e,o);if(!l){r.set(n,null),f.delete(n);return}(0,u.init)(e,n,o,l,r,f,this.opts.getContainer),m[n]=l}),t&&(e.e.fire("updatePlugins"),g())};t&&t.length&&(0,d.loadExtras)(this.__items,e,t,g),g(),e.e.on("beforeDestruct",()=>{Object.keys(m).forEach(t=>{let i=m[t];(0,l.isDestructable)(i)&&i.destruct(e),delete m[t]}),delete e.__plugins}),o.IS_PROD||f.size}wait(e){return new Promise(t=>{if(this.get(e))return t();let i=()=>{t(),r.eventEmitter.off(`plugin:${e}:ready`,i)};r.eventEmitter.on(`plugin:${e}:ready`,i)})}constructor(e){(0,n._)(this,"opts",void 0),(0,n._)(this,"__items",void 0),this.opts=e,this.__items=new Map}}},85325:function(e){e.exports.default=["Skriv noe","Om Jodit","Jodit-redigerer","Jodit brukerveiledning","Inneholder detaljert hjelp for bruk","For informasjon om lisensen, bes\xf8k v\xe5r nettside:","Kj\xf8p fullversjon","Opphavsrett \xa9 XDSoft.net - Chupurnov Valeriy. Alle rettigheter forbeholdt.","Anker","\xc5pne i ny fane","\xc5pne i fullskjerm","Fjern formatering","Endre bakgrunns- eller tekstfarge","Gj\xf8r om","Angre","Fet","Kursiv","Sett inn punktliste","Sett inn nummerert liste","Midtstill","Juster","Venstrejuster","H\xf8yrejuster","Sett inn horisontal linje","Sett inn bilde","Sett inn fil","Sett inn YouTube/Vimeo-video","Sett inn lenke","Skriftst\xf8rrelse","Skriftfamilie","Sett inn formateringsblokk","Normal","Overskrift 1","Overskrift 2","Overskrift 3","Overskrift 4","Sitat","Kode","Sett inn","Sett inn tabell","Reduser innrykk","\xd8k innrykk","Velg spesialtegn","Sett inn spesialtegn","Kopier format","Bytt modus (WYSIWYG/HTML)","Marger","topp","h\xf8yre","bunn","venstre","Stiler","Klasser","Justering","H\xf8yre","Senter","Venstre","--Ikke satt--","Kilde","Tittel","Alternativ","Lenke","\xc5pne lenke i ny fane","Bilde","fil","Avansert","Bildeegenskaper","Avbryt","OK","Filutforsker","Feil ved lasting av liste","Feil ved lasting av mapper","Er du sikker?","Skriv inn mappenavn","Opprett mappe","skriv navn","Slipp bilde","Slipp fil","eller klikk","Alternativ tekst","Last opp","Bla gjennom","Bakgrunn","Tekst","Topp","Midt","Bunn","Sett inn kolonne f\xf8r","Sett inn kolonne etter","Sett inn rad over","Sett inn rad under","Slett tabell","Slett rad","Slett kolonne","T\xf8m celle","Tegn: %d","Ord: %d","Gjennomstreking","Understreking","hevet skrift","senket skrift","Klipp ut markering","Velg alt","Pause","S\xf8k etter","Erstatt med","Erstatt","Lim inn","Velg innhold \xe5 lime inn","kilde","fet","kursiv","pensel","lenke","angre","gj\xf8r om","tabell","bilde","viskel\xe6r","avsnitt","skriftst\xf8rrelse","video","skrift","om redigeringsverkt\xf8yet","skriv ut","understreking","gjennomstreking","innrykk","reduser innrykk","full st\xf8rrelse","krympe","linje","punktliste","nummerert liste","klipp ut","velg alt","Bygge inn kode","\xc5pne lenke","Rediger lenke","Ingen oppf\xf8lging","Fjern lenke","Oppdater","Rediger","Forh\xe5ndsvisning","URL","Rediger","Horisontal justering","Filter","Sorter etter endring","Sorter etter navn","Sorter etter st\xf8rrelse","Legg til mappe","Tilbakestill","Lagre","Lagre som ...","Endre st\xf8rrelse","Beskj\xe6r","Bredde","H\xf8yde","Behold proporsjoner","Ja","Nei","Fjern","Velg","Velg: %s","Vertikal justering","Del","Sl\xe5 sammen","Legg til kolonne","Legg til rad","Lisens: %s","Slett","Del vertikalt","Del horisontalt","Kantlinje","Koden din ligner HTML. Beholde som HTML?","Lim inn som HTML","Behold","Lim inn som tekst","Lim inn kun tekst","Du kan bare redigere dine egne bilder. Last ned dette bildet p\xe5 verten?","Bildet har blitt lastet opp til verten!","Palett","Det er ingen filer i denne katalogen","Gi nytt navn","Skriv inn nytt navn","Forh\xe5ndsvisning","Last ned","Lim inn fra utklippstavlen","Nettleseren din st\xf8tter ikke direkte tilgang til utklippstavlen.","Kopier utvalg","kopi","Grenseradius","Vis alle","Bruk","Vennligst fyll ut dette feltet","Vennligst skriv inn en webadresse","Standard","Sirkel","Prikk","Firkant","Finne","Finn forrige","Finn neste","Innholdet du limer inn kommer fra et Microsoft Word/Excel-dokument. Vil du beholde formatet eller rense det?","Word-innliming oppdaget","Rens","Sett inn klassenavn","Trykk p\xe5 Alt for \xe5 endre st\xf8rrelse","Linjeh\xf8yde",null,null,"Velg alle"]},85932:function(e,t,i){"use strict";i.d(t,{isString:function(){return o},isStringArray:function(){return r}});var n=i(17312);function o(e){return"string"==typeof e}function r(e){return(0,n.isArray)(e)&&o(e[0])}},86038:function(e,t,i){"use strict";i(5266).Config.prototype.wrapNodes={exclude:new Set(["hr","style","br"]),emptyBlockAfterInit:!0}},86122:function(e,t,i){"use strict";i.d(t,{FileBrowserFiles:function(){return o}});var n=i(4099);class o extends n.UIGroup{className(){return"FileBrowserFiles"}}},86189:function(e,t,i){"use strict";i.d(t,{normalizeName:function(){return o}});var n=i(74264);function o(e){return(0,n.kebabCase)(e).toLowerCase()}},86236:function(e,t,i){"use strict";var n=i(25045),o=i(81937),r=i(23211),s=i(28077),a=i(18855);i(88580);class l extends a.Plugin{afterInit(){this.charCounter=this.j.c.span(),this.wordCounter=this.j.c.span(),this.j.e.on("afterInit changePlace afterAddPlace",this.reInit),this.reInit()}beforeDestruct(){r.Dom.safeRemove(this.charCounter),r.Dom.safeRemove(this.wordCounter),this.j.e.off("afterInit changePlace afterAddPlace",this.reInit),this.charCounter=null,this.wordCounter=null}constructor(...e){super(...e),(0,n._)(this,"charCounter",null),(0,n._)(this,"wordCounter",null),(0,n._)(this,"reInit",()=>{this.j.o.showCharsCounter&&this.charCounter&&this.j.statusbar.append(this.charCounter,!0),this.j.o.showWordsCounter&&this.wordCounter&&this.j.statusbar.append(this.wordCounter,!0),this.j.e.off("change keyup",this.calc).on("change keyup",this.calc),this.calc()}),(0,n._)(this,"calc",this.j.async.throttle(()=>{let e=this.j.text;if(this.j.o.showCharsCounter&&this.charCounter){let t;t=this.j.o.countHTMLChars?this.j.value:this.j.o.countTextSpaces?e.replace((0,o.INVISIBLE_SPACE_REG_EXP)(),"").replace(/[\r\n]/g,""):e.replace((0,o.SPACE_REG_EXP)(),""),this.charCounter.textContent=this.j.i18n("Chars: %d",t.length)}this.j.o.showWordsCounter&&this.wordCounter&&(this.wordCounter.textContent=this.j.i18n("Words: %d",e.replace((0,o.INVISIBLE_SPACE_REG_EXP)(),"").split((0,o.SPACE_REG_EXP)()).filter(e=>e.length).length))},this.j.defaultTimeout))}}s.pluginSystem.add("stat",l)},86433:function(e){e.exports.default=["Escreva algo...","Sobre o Jodit","Editor Jodit","Guia de usu\xe1rio Jodit","cont\xe9m ajuda detalhada para o uso.","Para informa\xe7\xe3o sobre a licen\xe7a, por favor visite nosso site:","Compre a vers\xe3o completa","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Todos os direitos reservados.","Link","Abrir em nova aba","Abrir editor em tela cheia","Limpar formata\xe7\xe3o","Cor de preenchimento ou cor do texto","Refazer","Desfazer","Negrito","It\xe1lico","Inserir lista n\xe3o ordenada","Inserir lista ordenada","Centralizar","Justificar","Alinhar \xe0 Esquerda","Alinhar \xe0 Direita","Inserir linha horizontal","Inserir imagem","Inserir arquivo","Inserir v\xeddeo do Youtube/vimeo","Inserir link","Tamanho da letra","Fonte","Inserir bloco","Normal","Cabe\xe7alho 1","Cabe\xe7alho 2","Cabe\xe7alho 3","Cabe\xe7alho 4","Cita\xe7\xe3o","C\xf3digo","Inserir","Inserir tabela","Diminuir recuo","Aumentar recuo","Selecionar caractere especial","Inserir caractere especial","Copiar formato","Mudar modo","Margens","cima","direta","baixo","esquerda","Estilos CSS","Classes CSS","Alinhamento","Direita","Centro","Esquerda","--N\xe3o Estabelecido--","Fonte","T\xedtulo","Texto Alternativo","Link","Abrir link em nova aba","Imagem","Arquivo","Avan\xe7ado","Propriedades da imagem","Cancelar","Ok","Procurar arquivo","Erro ao carregar a lista","Erro ao carregar as pastas","Voc\xea tem certeza?","Escreva o nome da pasta","Criar pasta","Escreva seu nome","Soltar imagem","Soltar arquivo","ou clique","Texto alternativo","Upload","Explorar","Fundo","Texto","Cima","Meio","Baixo","Inserir coluna antes","Inserir coluna depois","Inserir linha acima","Inserir linha abaixo","Excluir tabela","Excluir linha","Excluir coluna","Limpar c\xe9lula","Caracteres: %d","Palavras: %d","Tachado","Sublinhar","sobrescrito","subscrito","Cortar sele\xe7\xe3o","Selecionar tudo","Pausa","Procurar por","Substituir com","Substituir","Colar","Escolher conte\xfado para colar","HTML","negrito","it\xe1lico","pincel","link","desfazer","refazer","tabela","imagem","apagar","par\xe1grafo","tamanho da letra","v\xeddeo","fonte","Sobre de","Imprimir","sublinhar","tachado","recuar","diminuir recuo","Tamanho completo","diminuir","linha horizontal","lista n\xe3o ordenada","lista ordenada","Cortar","Selecionar tudo","Incluir c\xf3digo","Abrir link","Editar link","N\xe3o siga","Remover link","Atualizar","Editar","Visualizar","URL","Editar","Alinhamento horizontal","filtrar","Ordenar por modifica\xe7\xe3o","Ordenar por nome","Ordenar por tamanho","Adicionar pasta","Resetar","Salvar","Salvar como...","Redimensionar","Recortar","Largura","Altura","Manter a propor\xe7\xe3o","Sim","N\xe3o","Remover","Selecionar","Selecionar: %s","Alinhamento vertical","Dividir","Mesclar","Adicionar coluna","Adicionar linha","Licen\xe7a: %s","Excluir","Dividir vertical","Dividir horizontal","Borda","Seu c\xf3digo \xe9 similar ao HTML. Manter como HTML?","Colar como HTML?","Manter","Inserir como Texto","Inserir somente o Texto","Voc\xea s\xf3 pode editar suas pr\xf3prias imagens. Baixar essa imagem pro servidor?","A imagem foi enviada com sucesso para o servidor!","Palette","N\xe3o h\xe1 arquivos nesse diret\xf3rio.","H\xfangara","Digite um novo nome","preview","Baixar","Colar da \xe1rea de transfer\xeancia","O seu navegador n\xe3o oferece suporte a acesso direto para a \xe1rea de transfer\xeancia.","Selec\xe7\xe3o de c\xf3pia","c\xf3pia","Border radius","Mostrar todos os","Aplicar","Por favor, preencha este campo","Por favor introduza um endere\xe7o web","Padr\xe3o","C\xedrculo","Ponto","Quadro","Encontrar","Encontrar Anteriores","Localizar Pr\xf3xima","O conte\xfado colado veio de um documento Microsoft Word/Excel. Voc\xea deseja manter o formato ou limpa-lo?","Colado do Word Detectado","Limpar","Insira o nome da classe","Pressione Alt para redimensionamento personalizado",null,null,null,"Tudo"]},86581:function(e){e.exports={symbols:"Sembol"}},86634:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 128 128" xml:space="preserve"> <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"/> </svg>'},86878:function(e,t,i){"use strict";i.d(t,{getContentWidth:function(){return n.getContentWidth},getScrollParent:function(){return o.getScrollParent},innerWidth:function(){return r.innerWidth},offset:function(){return a.offset},position:function(){return l.position},size:function(){return s.size}});var n=i(54447),o=i(34027),r=i(83215),s=i(18073),a=i(69143),l=i(23599)},86899:function(e){e.exports='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path stroke-width="0" d="M10.5 20H2a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h1V3l2.03-.4a3 3 0 0 1 5.94 0L13 3v1h1a2 2 0 0 1 2 2v1h-2V6h-1v1H3V6H2v12h5v2h3.5zM8 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm2 4h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2v-8c0-1.1.9-2 2-2zm0 2v8h8v-8h-8z"/> </svg>'},87061:function(e){e.exports.default=["Бичээд үзээрэй","Jodit-ын талаар ","Jodit програм","Jodit гарын авлага","хэрэглээний талаар дэлгэрэнгүй мэдээллийг агуулна","Лицензийн мэдээллийг манай вэб хуудаснаас авна уу:","Бүрэн хувилбар худалдан авах","Зохиогчийн эрх хамгаалагдсан \xa9 XDSoft.net - Chupurnov Valeriy. Бүх эрхийг эзэмшинэ.","Холбоо барих","Шинэ табаар нээх","Бүтэн дэлгэцээр нээх","Форматыг арилгах","Өнгөөр будах эсвэл текстийн өнгө сонгох","Дахих","Буцаах","Тод","Налуу","Тэмдэгт жагсаалт нэмэх","Дугаарт жагсаалт нэмэх","Голлож байрлуулах","Тэгшитгэн байрлуулах","Зүүнд байрлуулах","Баруунд байрлуулах","Хэвтээ зураас нэмэх","Зураг нэмэх","Файл нэмэх","Youtube/Vimeo видео нэмэх","Холбоос нэмэх","Фонтын хэмжээ","Фонтын бүл","Блок нэмэх","Хэвийн","Гарчиг 1","Гарчиг 2","Гарчиг 3","Гарчиг 4","Ишлэл","Код","Оруулах","Хүснэгт оруулах","Доголын зай хасах","Доголын зай нэмэх","Тусгай тэмдэгт сонгох","Тусгай тэмдэгт нэмэх","Зургийн формат","Горим өөрчлөх","Цаасны зай","Дээрээс","Баруунаас","Доороос","Зүүнээс","CSS стиль","CSS анги","Байрлуулах","Баруун","Төв","Зүүн","--Тодорхойгүй--","Эх үүсвэр","Гарчиг","Алтернатив текст","Холбоос","Холбоосыг шинэ хавтсанд нээх","Зураг","Файл","Дэвшилтэт","Зургийн үзүүлэлт","Цуцлах","Ok","Файлын цонх","Жагсаалт татах үед алдаа гарлаа","Хавтас татах үед алдаа гарлаа","Итгэлтэй байна уу?","Хавтсын нэр оруулах","Хавтас үүсгэх","Нэр бичих","Зураг буулгах","Файл буулгах","эсвэл товш","Алтернатив текст","Байршуулах","Үзэх","Арын зураг","Текст","Дээр","Дунд","Доор","Урд нь багана нэмэх","Ард нь багана нэмэх","Дээр нь мөр нэмэх","Доор нь мөр нэмэх","Хүснэгт устгах","Мөр устгах","Багана устгах","Нүд цэвэрлэх","Тэмдэгт: %d","Үг: %d","Дээгүүр зураас","Доогуур зураас","Дээд индекс","Доод индекс","Сонголтыг таслах","Бүгдийг сонго","Мөрийг таслах","Хайх","Үүгээр солих","Солих","Буулгах","Буулгах агуулгаа сонгоно уу","Эх үүсвэр","Тод","Налуу","Будах","Холбоос","Буцаах","Дахих","Хүснэгт","Зураг","Баллуур","Параграф","Фонтын хэмжээ","Видео","Фонт","Тухай","Хэвлэх","Доогуур зураас","Дээгүүр зураас","Догол нэмэх","Догол багасгах","Бүтэн дэлгэц","Багасга","Хаалт","Тэмдэгт жагсаалт","Дугаарласан жагсаалт","Таслах","Бүгдийг сонго","Код оруулах","Холбоос нээх","Холбоос засах","Nofollow \xf6zelliği","Холбоос салгах","Шинэчлэх","Засах","Нүд","URL","Засах","Хэвтээ эгнүүлэх","Шүүх","Сүүлд өөрчлөгдсөнөөр жагсаах","Нэрээр жагсаах","Хэмжээгээр жагсаах","Хавтас нэмэх","Буцаах","Хадгалах","Өөрөөр хадгалах","Хэмжээг өөрчил","Тайрах","Өргөн","Өндөр","Харьцааг хадгал","Тийм","Үгүй","Арилга","Сонго","Сонго: %s","Босоо эгнүүлэх","Задлах","Нэгтгэх","Багана нэмэх","Мөр нэмэх","Лиценз: %s","Устгах","Баганаар задлах","Мөрөөр задлах","Хүрээ","Таны код HTML кодтой адил байна. HTML форматаар үргэлжлүүлэх үү?","HTML байдлаар буулгах","Хадгалах","Текст байдлаар нэмэх","Зөвхөн текст оруулах","Та зөвхөн өөрийн зургуудаа янзлах боломжтой. Энэ зургийг өөр лүүгээ татмаар байна уу?","Зургийг хост руу амжилттай хадгалсан","Палет","Энд ямар нэг файл алга","Шинээр нэрлэх","Шинэ нэр оруулна уу","Урьдчилан харах","Татах","Самбараас хуулах ","Энэ вэб хөтчөөс самбарт хандах эрх алга.","Сонголтыг хуул","Хуулах","Хүрээний радиус","Бүгдийг харуулах","Хэрэгжүүл","Энэ талбарыг бөглөнө үү","Вэб хаягаа оруулна уу","Үндсэн","Дугуй","Цэг","Дөрвөлжин","Хайх","Өмнөхийг ол","Дараагийнхийг ол","Буулгасан агуулга Microsoft Word/Excel форматтай байна. Энэ форматыг хэвээр хадгалах уу эсвэл арилгах уу?","Word байдлаар буулгасан байна","Цэвэрлэх","Бүлгийн нэрээ оруулна уу","Хэмжээсийг шинээр өөчрлөхийн тулд Alt товчин дээр дарна уу",null,null,null,"Бүгдийг"]},87141:function(e){e.exports={symbols:"symbool"}},87329:function(e,t,i){"use strict";i.d(t,{UITextArea:function(){return l}});var n=i(25045),o=i(31635),r=i(84839),s=i(91672),a=i(65273);class l extends a.UIInput{className(){return"UITextArea"}createNativeInput(e){return this.j.create.element("textarea")}onChangeStateSize(){let{size:e,resizable:t}=this.state;this.nativeInput.style.resize=t?"auto":"none",this.nativeInput.rows=null!=e?e:5}constructor(e,t){super(e,t),(0,n._)(this,"state",{...l.defaultState}),Object.assign(this.state,t),!1===this.state.resizable&&(this.nativeInput.style.resize="none")}}(0,n._)(l,"defaultState",{...a.UIInput.defaultState,size:5,resizable:!0}),(0,o.__decorate)([(0,r.watch)(["state.size","state.resizable"])],l.prototype,"onChangeStateSize",null),l=(0,o.__decorate)([s.component],l)},87623:function(e){e.exports={"Line height":"Tinggi baris"}},87624:function(e,t,i){"use strict";i.d(t,{SentenceFinder:function(){return o.SentenceFinder},clearSelectionWrappers:function(){return n.clearSelectionWrappers},clearSelectionWrappersFromHTML:function(){return n.clearSelectionWrappersFromHTML},getSelectionWrappers:function(){return n.getSelectionWrappers},highlightTextRanges:function(){return n.highlightTextRanges}});var n=i(19213),o=i(59276)},87908:function(e,t,i){"use strict";var n=i(65946),o=i(29434),r=i(5266),s=i(223),a=i.n(s);r.Config.prototype.defaultLineHeight=null,o.Icon.set("line-height",a()),r.Config.prototype.controls.lineHeight={command:"applyLineHeight",tags:["ol"],tooltip:"Line height",list:[1,1.1,1.2,1.3,1.4,1.5,2],exec:(e,t,{control:i})=>(0,n.memorizeExec)(e,t,{control:i},e=>e)}},88329:function(e,t,i){"use strict";i.d(t,{Confirm:function(){return s}});var n=i(91565),o=i(53681),r=i(76841);function s(e,t,i){let s=this instanceof r.Dialog?this:new r.Dialog({closeOnClickOverlay:!0}),a=s.c.fromHTML('<form class="jodit-dialog_prompt"></form>'),l=s.c.element("label");(0,n.isFunction)(t)&&(i=t,t=void 0),l.appendChild(s.c.fromHTML(e)),a.appendChild(l);let c=e=>()=>{i&&!1===i(e)||s.close()},u=(0,o.Button)(s,"cancel","Cancel"),d=(0,o.Button)(s,"ok","Yes");return u.onAction(c(!1)),d.onAction(c(!0)),s.e.on(a,"submit",()=>(c(!0)(),!1)),s.setFooter([d,u]),s.open(a,t||"&nbsp;",!0,!0),d.focus(),s}},88475:function(e,t,i){"use strict";i.d(t,{toArray:function(){return r}});var n=i(23283),o=i(43379);let r=function(...e){var t;return((0,n.isNativeFunction)(Array.from)?Array.from:null!=(t=(0,o.reset)("Array.from"))?t:Array.from).apply(Array,e)}},88497:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 736q0 13-10 23l-466 466q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg>'},88580:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.showCharsCounter=!0,n.Config.prototype.countHTMLChars=!1,n.Config.prototype.countTextSpaces=!1,n.Config.prototype.showWordsCounter=!0},88952:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(27795),a=i(28077),l=i(65946),c=i(91206),u=i(4099),d=i(56490),h=i(4274);i(89873);class p extends c.Plugin{get popup(){return new d.Popup(this.jodit,!1)}get toolbar(){return(0,h.makeCollection)(this.jodit,this.popup)}onClick(e){let t=this.elmsList,i=s.Dom.isTag(e,"img")?e:s.Dom.closest(e,t,this.j.editor);if(i&&this.canShowPopupForType(i.nodeName.toLowerCase()))return this.showPopup(()=>(0,l.position)(i,this.j),i.nodeName.toLowerCase(),i),!1}showPopup(e,t,i){if(t=t.toLowerCase(),!this.canShowPopupForType(t))return!1;if(this.type!==t||i!==this.previousTarget){let e;this.previousTarget=i;let n=this.j.o.popup[t];e=(0,l.isFunction)(n)?n(this.j,i,this.popup.close):n,(0,l.isArray)(e)&&(this.toolbar.build(e,i),this.toolbar.buttonSize=this.j.o.toolbarButtonSize,e=this.toolbar.container),this.popup.setContent(e),this.type=t}return this.popup.open(e),!0}hidePopup(e){this.popup.isOpened&&(!(0,l.isString)(e)||e===this.type)&&this.popup.close()}onOutsideClick(){this.popup.close()}canShowPopupForType(e){let t=this.j.o.popup[e.toLowerCase()];return!this.j.o.readonly&&!!this.j.o.toolbarInline&&!!t&&!this.isExcludedTarget(e)}isExcludedTarget(e){return(0,l.splitArray)(this.j.o.toolbarInlineDisableFor).map(e=>e.toLowerCase()).includes(e.toLowerCase())}afterInit(e){this.j.e.on("getDiffButtons.mobile",t=>{if(this.toolbar===t){let t=this.toolbar.getButtonsNames();return(0,l.toArray)(e.registeredButtons).filter(e=>!this.j.o.toolbarInlineDisabledButtons.includes(e.name)).filter(e=>{let i=(0,l.isString)(e)?e:e.name;return i&&"|"!==i&&"\n"!==i&&!t.includes(i)})}}).on("hidePopup",this.hidePopup).on("showInlineToolbar",this.showInlineToolbar).on("showPopup",(e,t,i)=>{this.showPopup(t,i||((0,l.isString)(e)?e:e.nodeName),(0,l.isString)(e)?void 0:e)}).on("mousedown keydown",this.onSelectionStart).on("change",()=>{this.popup.isOpened&&this.previousTarget&&!this.previousTarget.parentNode&&(this.hidePopup(),this.previousTarget=void 0)}).on([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.addListenersForElements()}onSelectionStart(){this.snapRange=this.j.s.range.cloneRange()}onSelectionEnd(e){if(e&&e.target&&u.UIElement.closestElement(e.target,d.Popup))return;let{snapRange:t}=this,{range:i}=this.j.s;(!t||i.collapsed||i.startContainer!==t.startContainer||i.startOffset!==t.startOffset||i.endContainer!==t.endContainer||i.endOffset!==t.endOffset)&&this.onSelectionChange()}onSelectionChange(){if(!this.j.o.toolbarInlineForSelection)return;let e="selection",t=this.j.s.sel,i=this.j.s.range;if((null==t?void 0:t.isCollapsed)||this.isSelectedTarget(i)){this.type===e&&this.popup.isOpened&&this.hidePopup();return}this.j.s.current()&&this.showPopup(()=>i.getBoundingClientRect(),e)}isSelectedTarget(e){let t=e.startContainer;return s.Dom.isElement(t)&&t===e.endContainer&&s.Dom.isTag(t.childNodes[e.startOffset],new Set((0,l.keys)(this.j.o.popup,!1)))&&e.startOffset===e.endOffset-1}beforeDestruct(e){e.e.off("showPopup").off([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.removeListenersForElements()}_eventsList(){let e=this.elmsList;return e.map(e=>(0,l.camelCase)(`click_${e}`)).concat(e.map(e=>(0,l.camelCase)(`touchstart_${e}`))).join(" ")}addListenersForElements(){this.j.e.on(this._eventsList(),this.onClick)}removeListenersForElements(){this.j.e.off(this._eventsList(),this.onClick)}showInlineToolbar(e){this.showPopup(()=>{if(e)return e;let{range:t}=this.j.s;return t.getBoundingClientRect()},"toolbar")}constructor(...e){super(...e),(0,n._)(this,"type",null),(0,n._)(this,"previousTarget",void 0),(0,n._)(this,"snapRange",null),(0,n._)(this,"elmsList",(0,l.keys)(this.j.o.popup,!1).filter(e=>!this.isExcludedTarget(e)))}}(0,n._)(p,"requires",["select"]),(0,o.__decorate)([r.cache],p.prototype,"popup",null),(0,o.__decorate)([r.cache],p.prototype,"toolbar",null),(0,o.__decorate)([r.autobind],p.prototype,"onClick",null),(0,o.__decorate)([(0,r.wait)(e=>!e.j.isLocked)],p.prototype,"showPopup",null),(0,o.__decorate)([(0,r.watch)([":clickEditor",":beforeCommandDelete",":backSpaceAfterDelete"]),r.autobind],p.prototype,"hidePopup",null),(0,o.__decorate)([(0,r.watch)(":outsideClick")],p.prototype,"onOutsideClick",null),(0,o.__decorate)([r.autobind],p.prototype,"onSelectionStart",null),(0,o.__decorate)([r.autobind],p.prototype,"onSelectionEnd",null),(0,o.__decorate)([(0,r.debounce)(e=>e.defaultTimeout)],p.prototype,"onSelectionChange",null),(0,o.__decorate)([r.autobind],p.prototype,"showInlineToolbar",null),a.pluginSystem.add("inlinePopup",p)},89081:function(e,t,i){"use strict";i.d(t,{unwrapChildren:function(){return a}});var n=i(23211),o=i(93640),r=i(9703),s=i(73019);function a(e,t){var i;let a,l=[],c=[],u=null==(i=e.options.attributes)?void 0:i.style;if(t.firstChild){let i=n.Dom.eachGen(t),d=i.next();for(;!d.done;){let t=d.value;(0,s.isSuitElement)(e,t,!0)&&(!u||(0,r.hasSameStyleKeys)(t,u))?(void 0===a&&(a=!0),l.push(t)):u&&(0,s.isSameStyleChild)(e,t)?(void 0===a&&(a=!1),c.push(()=>{(0,o.css)(t,Object.keys(u).reduce((e,t)=>(e[t]=null,e),{})),(0,o.attr)(t,"style")||(0,o.attr)(t,"style",null),(0,o.attr)(t,"style")||t.nodeName.toLowerCase()!==e.element||l.push(t)})):n.Dom.isEmptyTextNode(t)||void 0!==a||(a=!1),d=i.next()}}return c.forEach(e=>e()),l.forEach(n.Dom.unwrap),!!a}},89097:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1600 736v192q0 40-28 68t-68 28h-1216q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h1216q40 0 68 28t28 68z"/> </svg>'},89308:function(e,t,i){"use strict";i.d(t,{get:function(){return r}});var n=i(85932),o=i(18303);function r(e,t){if(!(0,n.isString)(e)||!e.length)return null;let i=e.split("."),r=t;try{for(let e of i){if((0,o.isVoid)(r[e]))return null;r=r[e]}}catch(e){return null}return(0,o.isVoid)(r)?null:r}},89317:function(e,t,i){"use strict";var n=i(17312),o=i(57741),r=i(56014),s=i(95461),a=i(63837),l=i(39386),c=i(62327),u=i(25090),d=i(53113),h=i(81321),p=i(4679),m=i(31927),f=i(21195),g=i(53414),v=i(11012),_=i(87061),b=i(3268),y=i(85325),S=i(97834),w=i(86433),C=i(28359),k=i(68368),E=i(57456),I=i(25182),T=i(44906);let x={};x={ar:o,cs_cz:r,de:s,en:a,es:l,fi:c,fr:u,he:d,hu:h,id:p,it:m,ja:f,ko:v,mn:_,nl:b,no:y,pl:S,pt_br:w,ru:C,tr:k,ua:E,zh_cn:I,zh_tw:T};let D=e=>e?e.default||e:{},j={};(0,n.isArray)(D(g))&&D(g).forEach((e,t)=>{j[t]=e}),Object.keys(x).forEach(e=>{let t=D(x[e]);(0,n.isArray)(t)?(x[e]={},t.forEach((t,i)=>{x[e][j[i]]=t})):x[e]=t}),t.default=x},89446:function(e,t,i){"use strict";i.d(t,{buildData:function(){return o}});var n=i(65946);function o(e,t){if((0,n.isFunction)(e.o.buildData))return e.o.buildData.call(e,t);let i=e.ow.FormData;if(void 0!==i){if(t instanceof i||(0,n.isString)(t))return t;let e=new i;return Object.keys(t).forEach(i=>{e.append(i,t[i])}),e}return t}},89636:function(e,t,i){"use strict";i.d(t,{TabsWidget:function(){return l}});var n=i(16964),o=i(23211),r=i(91565),s=i(7909),a=i(4099);let l=(e,t,i)=>{let l=e.c.div("jodit-tabs"),c=e.c.div("jodit-tabs__wrapper"),u=e.c.div("jodit-tabs__buttons");(0,s.attr)(u,{role:"tablist","aria-orientation":"horizontal"});let d={},h=[],p="";l.appendChild(u),l.appendChild(c);let m=e=>{d[e]&&(h.forEach(e=>{e.state.activated=!1}),Object.values(d).forEach(({tab:e})=>e.classList.remove("jodit-tab_active")),d[e].button.state.activated=!0,d[e].tab.classList.add("jodit-tab_active"))};if(t.forEach(({icon:l,name:f,content:g})=>{let v=e.c.div("jodit-tab");(0,s.attr)(v,{role:"tabpanel"});let _=(0,a.Button)(e,l||f,f);_.state.role="tab",e.e.on(_.container,"pointerdown",e=>e.preventDefault()),p||(p=f),u.appendChild(_.container),h.push(_),_.container.classList.add("jodit-tabs__button","jodit-tabs__button_columns_"+t.length),(0,r.isFunction)(g)?v.appendChild(e.c.div("jodit-tab_empty")):v.appendChild(n.Component.isInstanceOf(g,a.UIElement)?g.container:g),c.appendChild(v),_.onAction(()=>(m(f),(0,r.isFunction)(g)&&!o.Dom.isElement(g)&&g.call(e),i&&(i.activeTab=f),!1)),d[f]={button:_,tab:v}}),Object.values(d).forEach(({button:e})=>{e.container.style.width=(100/t.length).toFixed(10)+"%"}),m(i&&i.activeTab&&d[i.activeTab]?i.activeTab:p),i){let e=i.activeTab;Object.defineProperty(i,"activeTab",{configurable:!0,enumerable:!1,get(){return e},set(t){e=t,m(t)}})}return l}},89739:function(e){e.exports={"Line height":"ラインの高さ"}},89817:function(e,t,i){"use strict";i.d(t,{moveNodeInsideStart:function(){return r}});var n=i(81937),o=i(23211);function r(e,t,i){let r=o.Dom.findSibling(t,i),s=o.Dom.findSibling(t,!i);for(;o.Dom.isElement(r)&&!o.Dom.isTag(r,n.INSEPARABLE_TAGS)&&o.Dom.isContentEditable(r,e.editor)&&(!s||!o.Dom.closest(t,o.Dom.isElement,e.editor));)i||!r.firstChild?r.appendChild(t):o.Dom.before(r.firstChild,t),r=o.Dom.sibling(t,i),s=o.Dom.sibling(t,!i)}},89827:function(e,t,i){"use strict";function n(e){return!e.s.isCollapsed()&&(e.execCommand("Delete"),!0)}i.d(t,{checkNotCollapsed:function(){return n}})},89873:function(e,t,i){"use strict";var n=i(29434),o=i(5266),r=i(70235),s=i(17849),a=i(466),l=i(75711),c=i(59399),u=i(38681),d=i.n(u),h=i(64637),p=i.n(h),m=i(94190),f=i.n(m),g=i(51957),v=i.n(g),_=i(71940),b=i.n(_),y=i(43218),S=i.n(y),w=i(48007),C=i.n(w);o.Config.prototype.toolbarInline=!0,o.Config.prototype.toolbarInlineForSelection=!1,o.Config.prototype.toolbarInlineDisableFor=[],o.Config.prototype.toolbarInlineDisabledButtons=["source"],n.Icon.set("addcolumn",d()).set("addrow",p()).set("merge",f()).set("th",S()).set("splitg",v()).set("splitv",b()).set("th-list",C()),o.Config.prototype.popup={a:r.default,img:l.default,cells:s.default,toolbar:c.default,jodit:a.default,iframe:a.default,"jodit-media":a.default,selection:["bold","underline","italic","ul","ol","\n","outdent","indent","fontsize","brush","cut","\n","paragraph","link","align","dots"]}},90204:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(28077),a=i(7909),l=i(91206);i(24268);var c=i(33494);class u extends l.Plugin{afterInit(e){e.e.on("afterInit afterAddPlace prepareWYSIWYGEditor",this.toggleSpellcheck),this.toggleSpellcheck(),e.registerCommand("toggleSpellcheck",()=>{this.jodit.o.spellcheck=!this.jodit.o.spellcheck,this.toggleSpellcheck(),this.j.e.fire("updateToolbar")})}toggleSpellcheck(){(0,a.attr)(this.jodit.editor,"spellcheck",this.jodit.o.spellcheck)}beforeDestruct(e){}constructor(e){super(e),(0,n._)(this,"buttons",[{group:"state",name:"spellcheck"}]),(0,s.extendLang)(c)}}(0,o.__decorate)([r.autobind],u.prototype,"toggleSpellcheck",null),s.pluginSystem.add("spellcheck",u)},90826:function(e,t,i){"use strict";var n=i(27795),o=i(28077),r=i(65946),s=i(29434),a=i(5266),l=i(15753),c=i(64831),u=i.n(c);s.Icon.set("image",u()),a.Config.prototype.controls.image={popup:(e,t,i)=>{let o=null;return t&&!n.Dom.isText(t)&&n.Dom.isHTMLElement(t)&&(n.Dom.isTag(t,"img")||(0,r.$$)("img",t).length)&&(o=n.Dom.isTag(t,"img")?t:(0,r.$$)("img",t)[0]),e.s.save(),(0,l.FileSelectorWidget)(e,{filebrowser:t=>{e.s.restore(),t.files&&t.files.forEach(i=>e.s.insertImage(t.baseurl+i,null,e.o.imageDefaultWidth)),i()},upload:!0,url:async(t,n)=>{e.s.restore(),/^[a-z\d_-]+(\.[a-z\d_-]+)+/i.test(t)&&(t="//"+t);let r=o||e.createInside.element("img");r.setAttribute("src",t),r.setAttribute("alt",n),o||await e.s.insertImage(r,null,e.o.imageDefaultWidth),i()}},o,i)},tags:["img"],tooltip:"Insert Image"},o.pluginSystem.add("image",function(e){e.registerButton({name:"image",group:"media"})})},90886:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(23211),a=i(28077),l=i(65946),c=i(18855),u=i(59400);i(34689);var d=i(27137),h=i(28771),p=i(670),m=i(47744),f=i(71552);class g extends c.Plugin{get form(){return new d.UIImagePropertiesForm(this.j,this.state,this.activeTabState,{openImageEditor:()=>(0,h.openImageEditorDialog)(this.j,this.state),openImagePopup:e=>(0,p.openImagePopup)(this.j,this.dialog,this.state,e)})}get dialog(){let{j:e}=this,t=e.dlg({minWidth:Math.min(400,screen.width),minHeight:590,buttons:["fullsize","dialog.close"]}),i=this.__buttons;return i.check.onAction(()=>{(0,f.applyValuesToImage)(e,this.state,this.state.sourceImage),e.synchronizeValues(),t.close()}),i.remove.onAction(()=>{e.s.removeNode(this.state.sourceImage),t.close()}),i.cancel.onAction(()=>{t.close()}),t.setHeader(e.i18n("Image properties")),t.setContent(this.form),t.setFooter([[i.cancel,i.remove],i.check]),e.e.on(t,"afterClose",()=>{this.state.image.parentNode&&e.o.image.selectImageAfterClose&&e.s.select(this.state.sourceImage)}),t.setSize(e.o.image.dialogWidth),(0,l.markOwner)(e,t.container),t}get __buttons(){let{j:e}=this;return{check:(0,u.Button)(e,"ok","Apply","primary"),remove:(0,u.Button)(e,"bin","Delete"),cancel:(0,u.Button)(e,"cancel","Cancel")}}open(){return this.activeTabState.activeTab="Image",this.__lock(),this.dialog.open().setModal(!0).setPosition(),this.async.promise((e,t)=>(0,m.readValuesFromImage)(this.j,this.state).then(e,t)).catch(e=>{(0,l.isAbortError)(e)||this.dialog.message.error(e.message)}).finally(()=>this.__unlock()),!1}__lock(){this.dialog.lock(),this.form.setMod("lock",!0),Object.values(this.__buttons).forEach(e=>e.state.disabled=!0)}__unlock(){this.dialog.unlock(),this.form.setMod("lock",!1),Object.values(this.__buttons).forEach(e=>e.state.disabled=!1)}afterInit(e){let t=this;e.e.on("afterConstructor changePlace",()=>{e.e.off(e.editor,".imageproperties").on(e.editor,"dblclick.imageproperties",i=>{let n=i.target;if(s.Dom.isTag(n,"img"))if(e.o.image.openOnDblClick){if(!1===this.j.e.fire("openOnDblClick",n))return;t.state.sourceImage=n,t.state.image=n.cloneNode(!0),e.o.readonly||(i.stopImmediatePropagation(),i.preventDefault(),t.open())}else i.stopImmediatePropagation(),e.s.select(n)})}).on("openImageProperties.imageproperties",e=>{t.state.sourceImage=e,this.state.image=e.cloneNode(!0),this.open()})}async onStateValuesImageSrcChange(){let{image:e,values:t}=this.state;if(e.src)try{this.__lock();try{await e.decode()}catch(e){}if(this.state.sizeIsLocked&&(0,l.isNumeric)(t.imageWidth)){let e=parseFloat(t.imageWidth.toString());t.imageHeight=Math.round(e/this.state.ratio)}this.j.e.fire("updateImageProperties.imageproperties",e)}catch(e){this.j.alert(e.message)}finally{this.__unlock()}}beforeDestruct(e){var t,i,n;Object.values(null!=(t=(0,r.cached)(this,"__buttons"))?t:{}).forEach(e=>e.destruct()),null==(i=(0,r.cached)(this,"dialog"))||i.destruct(),null==(n=(0,r.cached)(this,"form"))||n.destruct(),e.e.off(e.editor,".imageproperties").off(".imageproperties")}constructor(...e){super(...e),(0,n._)(this,"state",{image:new Image,sourceImage:new Image,get ratio(){const{naturalWidth:e,naturalHeight:t}=this.image;return e/t||1},sizeIsLocked:!0,marginIsLocked:!0,values:{style:"",imageSrc:"",borderRadius:0,imageTitle:"",imageAlt:"",imageLink:"",imageLinkOpenInNewTab:!1,imageWidth:0,imageHeight:0,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0,classes:"",id:"",align:""}}),(0,n._)(this,"activeTabState",{activeTab:"Image"})}}(0,o.__decorate)([r.cache],g.prototype,"form",null),(0,o.__decorate)([r.cache],g.prototype,"dialog",null),(0,o.__decorate)([r.cache],g.prototype,"__buttons",null),(0,o.__decorate)([(0,r.watch)("state.image")],g.prototype,"onStateValuesImageSrcChange",null),a.pluginSystem.add("imageProperties",g)},91017:function(e,t,i){"use strict";i.r(t),i.d(t,{ar:function(){return n},cs_cz:function(){return o},de:function(){return r},es:function(){return s},fa:function(){return a},fi:function(){return l},fr:function(){return c},he:function(){return u},hu:function(){return d},id:function(){return h},it:function(){return p},ja:function(){return m},ko:function(){return f},mn:function(){return g},nl:function(){return v},pl:function(){return _},pt_br:function(){return b},ru:function(){return y},tr:function(){return S},ua:function(){return w},zh_cn:function(){return C},zh_tw:function(){return k}});var n=i(80696),o=i(33433),r=i(59488),s=i(14099),a=i(64394),l=i(96978),c=i(54055),u=i(15164),d=i(42412),h=i(98710),p=i(68294),m=i(3294),f=i(44837),g=i(72320),v=i(87141),_=i(10099),b=i(442),y=i(54554),S=i(86581),w=i(97493),C=i(58585),k=i(57629)},91115:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 270 270"> <path d="M 255.9537,58.150081 237.69527,40.997278 c -1.49414,-1.375593 -3.43653,-2.077427 -5.37891,-2.077427 -1.94239,0 -3.88478,0.701834 -5.37892,2.077427 L 29.919751,226.1128 c -2.988286,2.77926 -2.988286,7.32714 0,10.13447 L 48.148295,253.372 c 1.46426,1.37559 3.406646,2.1055 5.378915,2.1055 1.972268,0 3.884771,-0.72991 5.378914,-2.1055 L 221.34935,100.73732 255.9537,68.284552 c 2.9584,-2.807333 2.9584,-7.355212 0,-10.134471 z M 251.17244,63.79282 221.34935,91.781927 201.89561,73.506191 231.68882,45.48901 c 0.20918,-0.140367 0.38847,-0.224587 0.62754,-0.224587 0.23906,0 0.44824,0.08422 0.59765,0.224587 l 18.25843,17.152803 c 0,0 0.23906,0.33688 0.23906,0.561467 0,0.224586 -0.0896,0.4211 -0.23906,0.58954 z" style="stroke-width:2.8964;stroke-opacity:1" /> <path d="m 48.626421,116.87948 10.578532,23.10435 c 0.83672,1.82477 3.615826,1.85284 4.452546,0 l 10.937126,-23.52545 c 2.629692,-5.69888 7.470715,-10.24676 13.536935,-12.71722 l 25.07172,-10.274833 c 1.94239,-0.786053 1.94239,-3.396873 0,-4.182926 L 88.13156,79.008563 C 82.06534,76.53811 77.224317,71.990231 74.594625,66.291346 L 63.657499,42.737824 c -0.83672,-1.824766 -3.615826,-1.824766 -4.452546,0 L 48.267826,66.291346 C 45.638135,71.990231 40.797112,76.53811 34.730891,79.008563 L 9.6292894,89.311474 c -1.9423859,0.786054 -1.9423859,3.3688 0,4.182926 l 25.5498446,10.61172 c 6.036338,2.49852 10.847478,7.07448 13.477169,12.77336 z" style="stroke-width:2.8964;fill-opacity:1;stroke-opacity:1" /> <path d="m 111.79878,33.136746 13.56682,5.642739 c 3.19747,1.319446 5.76739,3.761826 7.14201,6.793745 l 5.61797,12.268044 c 0.44825,0.982567 1.91251,0.982567 2.36075,0 l 5.79727,-12.492631 c 1.4045,-3.031919 3.97442,-5.446225 7.20177,-6.765672 l 13.29788,-5.446225 c 1.0459,-0.4211 1.0459,-1.796693 0,-2.217793 l -13.29788,-5.446225 c -3.22735,-1.319447 -5.79727,-3.733753 -7.20177,-6.765672 L 140.48633,6.2144248 c -0.44824,-0.9825664 -1.9125,-0.9825664 -2.36075,0 l -5.79727,12.4926312 c -1.4045,3.031919 -3.97442,5.446225 -7.20177,6.765672 l -13.32776,5.474298 c -1.01601,0.4211 -1.0459,1.796693 0,2.217793 z" style="stroke-width:2.8964;fill-opacity:1" /> <path d="m 233.09331,192.98627 -14.13459,-5.7831 c -3.40665,-1.40367 -6.12599,-3.95834 -7.62013,-7.1587 l -6.15587,-13.27868 c -0.47813,-1.03872 -2.03203,-1.03872 -2.51016,0 l -6.15587,13.27868 c -1.49414,3.20036 -4.21348,5.75503 -7.62013,7.1587 l -14.13459,5.81118 c -1.10567,0.44917 -1.10567,1.90898 0,2.35816 l 14.40354,5.97961 c 3.40664,1.40367 6.12598,3.98642 7.59024,7.21485 l 5.97658,13.02602 c 0.47812,1.03872 2.03203,1.03872 2.51016,0 l 6.15586,-13.25061 c 1.49415,-3.20036 4.21349,-5.75503 7.62013,-7.1587 l 14.1346,-5.7831 c 1.10566,-0.44917 1.10566,-1.90899 0,-2.35816 z" style="stroke-width:2.8964;stroke-opacity:1" /> </svg>'},91162:function(e,t,i){"use strict";i.d(t,{IndexedDBProvider:function(){return r},canUseIndexedDB:function(){return l},clearUseIndexedDBCache:function(){return a}});var n=i(25045),o=i(81937);class r{getDB(){return this.dbPromise||(this.dbPromise=new Promise((e,t)=>{let i=indexedDB.open(this.dbName,this.DB_VERSION);i.onerror=()=>{t(i.error)},i.onsuccess=()=>{e(i.result)},i.onupgradeneeded=e=>{let t=e.target.result;t.objectStoreNames.contains(this.storeName)||t.createObjectStore(this.storeName)}})),this.dbPromise}async performTransaction(e,t){try{let i=(await this.getDB()).transaction([this.storeName],e).objectStore(this.storeName),n=t(i);return new Promise((e,t)=>{n.onsuccess=()=>{e(n.result)},n.onerror=()=>{t(n.error)}})}catch(e){return Promise.reject(e)}}async set(e,t){try{await this.performTransaction("readwrite",i=>i.put(t,e))}catch(e){o.IS_PROD}return this}async delete(e){try{await this.performTransaction("readwrite",t=>t.delete(e))}catch(e){}return this}async get(e){try{return await this.performTransaction("readonly",t=>t.get(e))}catch(e){return}}async exists(e){try{let t=await this.performTransaction("readonly",t=>t.get(e));return void 0!==t}catch(e){return!1}}async clear(){try{await this.performTransaction("readwrite",e=>e.clear())}catch(e){}return this}async close(){if(this.dbPromise){try{(await this.dbPromise).close()}catch(e){}this.dbPromise=null}}async keys(){try{let e=await this.performTransaction("readonly",e=>e.getAllKeys());return e&&"object"==typeof e&&"then"in e&&(e=await e),e.map(e=>String(e))}catch(e){return[]}}async values(){try{let e=await this.performTransaction("readonly",e=>e.getAll());return e&&"object"==typeof e&&"then"in e&&(e=await e),e}catch(e){return[]}}async entries(){try{let[e,t]=await Promise.all([this.keys(),this.values()]);return e.map((e,i)=>[e,t[i]])}catch(e){return[]}}constructor(e="JoditDB",t="keyValueStore"){(0,n._)(this,"dbName",void 0),(0,n._)(this,"dbPromise",void 0),(0,n._)(this,"DB_VERSION",void 0),(0,n._)(this,"storeName",void 0),this.dbName=e,this.dbPromise=null,this.DB_VERSION=1,this.storeName=t}}let s=null;function a(){s=null}async function l(){if(null!=s)return s;try{if("u"<typeof indexedDB)return s=!1,!1;let e="___Jodit___"+Math.random().toString(),t=indexedDB.open(e);return s=await new Promise(i=>{t.onerror=()=>{i(!1)},t.onsuccess=()=>{indexedDB.deleteDatabase(e),i(!0)}})}catch(e){return s=!1,!1}}},91206:function(e,t,i){"use strict";i.d(t,{Plugin:function(){return n.Plugin}});var n=i(18855);i(85305)},91231:function(e,t,i){"use strict";i.d(t,{Async:function(){return n.Async}});var n=i(24735)},91321:function(e,t,i){"use strict";i.d(t,{completeUrl:function(){return o}});var n=i(81937);let o=e=>("file:"===n.globalWindow.location.protocol&&/^\/\//.test(e)&&(e="https:"+e),e)},91535:function(e,t,i){"use strict";i.d(t,{Alert:function(){return l}});var n=i(23211),o=i(78982),r=i(91565),s=i(53681),a=i(76841);function l(e,t,i,c="jodit-dialog_alert"){(0,r.isFunction)(t)&&(i=t,t=void 0);let u=this instanceof a.Dialog?this:new a.Dialog({closeOnClickOverlay:!0}),d=u.c.div(c),h=(0,s.Button)(u,"ok","Ok");return(0,o.asArray)(e).forEach(e=>{d.appendChild(n.Dom.isNode(e)?e:u.c.fromHTML(e))}),h.onAction(()=>{i&&(0,r.isFunction)(i)&&!1===i(u)||u.close()}),u.setFooter([h]),u.open(d,t||"&nbsp;",!0,!0),h.focus(),u}},91560:function(e,t,i){"use strict";i.r(t),i.d(t,{allowAttributes:function(){return n.allowAttributes},fillEmptyParagraph:function(){return o.fillEmptyParagraph},removeEmptyTextNode:function(){return r.removeEmptyTextNode},removeInvTextNodes:function(){return s.removeInvTextNodes},replaceOldTags:function(){return a.replaceOldTags},sanitizeAttributes:function(){return l.sanitizeAttributes},tryRemoveNode:function(){return c.tryRemoveNode}});var n=i(95559),o=i(39188),r=i(94561),s=i(53514),a=i(35104),l=i(65015),c=i(27611)},91565:function(e,t,i){"use strict";function n(e){return"function"==typeof e}i.d(t,{isFunction:function(){return n}})},91575:function(e){e.exports={"Line height":"Altezza linea"}},91672:function(e,t,i){"use strict";i.d(t,{component:function(){return s},getComponentClass:function(){return a}});var n=i(81937),o=i(421);let r=new Map;function s(e){class t extends e{constructor(...e){super(...e),this.constructor===t&&(this instanceof t||Object.setPrototypeOf(this,t.prototype),this.setStatus("ready"))}}let i=(0,o.getClassName)(e.prototype);if(r.has(i)&&!n.IS_PROD)throw Error(`Component with name "${i}" is already registered`);return r.set(i,t),t}function a(e){return r.get(e)}},91678:function(e,t,i){"use strict";var n=i(28077),o=i(65946),r=i(29434),s=i(5266);i(40291);var a=i(52450),l=i.n(a),c=i(41111),u=i.n(c),d=i(49972),h=i.n(d),p=i(45062),m=i.n(p),f=i(18605),g=i.n(f),v=i(83389),_=i.n(v);n.pluginSystem.add("bold",function(e){let t=t=>{let i,n=s.Config.defaultOptions.controls[t],r={...n.css};return Object.keys(r).forEach(e=>{i||(i={}),i[e]=(0,o.isArray)(r[e])?r[e][0]:r[e]}),e.s.commitStyle({element:n.tags?n.tags[0]:void 0}),e.synchronizeValues(),!1};["bold","italic","underline","strikethrough"].forEach(t=>{e.registerButton({name:t,group:"font-style"})}),["superscript","subscript"].forEach(t=>{e.registerButton({name:t,group:"script"})}),e.registerCommand("bold",{exec:t,hotkeys:["ctrl+b","cmd+b"]}).registerCommand("italic",{exec:t,hotkeys:["ctrl+i","cmd+i"]}).registerCommand("underline",{exec:t,hotkeys:["ctrl+u","cmd+u"]}).registerCommand("strikethrough",{exec:t}).registerCommand("subscript",{exec:t}).registerCommand("superscript",{exec:t})}),r.Icon.set("bold",l()).set("italic",u()).set("strikethrough",h()).set("subscript",m()).set("superscript",g()).set("underline",_())},91685:function(e){e.exports={Spellcheck:"Stavekontroll"}},91764:function(e,t,i){"use strict";i.d(t,{isURL:function(){return o}});var n=i(81937);function o(e){if(e.includes(" "))return!1;if("u">typeof URL)try{let t=new URL(e);return["https:","http:","ftp:","file:","rtmp:"].includes(t.protocol)}catch(e){return!1}let t=n.globalDocument.createElement("a");return t.href=e,!!t.hostname}},91882:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1203 544q0 13-10 23l-393 393 393 393q10 10 10 23t-10 23l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg>'},92063:function(e,t,i){"use strict";i(5266).Config.prototype.showXPathInStatusbar=!0},93203:function(e){e.exports={Spellcheck:"スペルチェック"}},93267:function(e){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M36 4h-24c-2.21 0-4 1.79-4 4v32c0 2.21 1.79 4 4 4h24c2.21 0 4-1.79 4-4v-32c0-2.21-1.79-4-4-4zm-24 4h10v16l-5-3-5 3v-16z"/> </svg>'},93387:function(e,t,i){"use strict";i.d(t,{colorToHex:function(){return n}});let n=e=>{if("rgba(0, 0, 0, 0)"===e||""===e)return!1;if(!e)return"#000000";if("#"===e.substr(0,1))return e;let t=/([\s\n\t\r]*?)rgb\((\d+), (\d+), (\d+)\)/.exec(e)||/([\s\n\t\r]*?)rgba\((\d+), (\d+), (\d+), ([\d.]+)\)/.exec(e);if(!t)return"#000000";let i=parseInt(t[2],10),n=parseInt(t[3],10),o=(parseInt(t[4],10)|n<<8|i<<16).toString(16).toUpperCase();for(;o.length<6;)o="0"+o;return t[1]+"#"+o}},93637:function(e,t,i){"use strict";i(94358),i(42766),i(28286),i(63974),i(91678),i(58910),i(11018),i(43354),i(42462),i(30062),i(64222),i(43102),i(3678),i(49764),i(78690),i(50294),i(53390),i(69696),i(50982),i(2952),i(81144),i(90826),i(39978),i(90886),i(39e3),i(88952),i(64094),i(18210),i(50662),i(58354),i(68624),i(76830),i(74240),i(98792),i(23422),i(96730),i(7758),i(28346),i(198),i(49690),i(41134),i(59758),i(14248),i(72214),i(74522),i(30500),i(98988),i(2756),i(44322),i(13810),i(90204),i(86236),i(67582),i(11774),i(14774),i(81582),i(7994),i(30110),i(34142),i(22980),i(56894),i(52014)},93640:function(e,t,i){"use strict";i.r(t),i.d(t,{$$:function(){return x.$$},ConfigDeepFlatten:function(){return h.ConfigDeepFlatten},ConfigFlatten:function(){return h.ConfigFlatten},ConfigProto:function(){return h.ConfigProto},ConnectionError:function(){return _.ConnectionError},LimitedStack:function(){return j.LimitedStack},OptionsError:function(){return _.OptionsError},abort:function(){return _.abort},alignElement:function(){return n.alignElement},alreadyLoadedList:function(){return o.alreadyLoadedList},appendScriptAsync:function(){return o.appendScriptAsync},appendStyleAsync:function(){return o.appendStyleAsync},attr:function(){return l.attr},browser:function(){return c.browser},buildQuery:function(){return u.buildQuery},call:function(){return z.call},callPromise:function(){return z.callPromise},clearAlign:function(){return n.clearAlign},clearCenterAlign:function(){return m.clearCenterAlign},cns:function(){return C.cns},completeUrl:function(){return d.completeUrl},connection:function(){return _.connection},convertMediaUrlToVideoEmbed:function(){return p.convertMediaUrlToVideoEmbed},css:function(){return m.css},cssPath:function(){return x.cssPath},ctrlKey:function(){return f.ctrlKey},dataBind:function(){return g.dataBind},defaultLanguage:function(){return v.defaultLanguage},error:function(){return _.error},fastClone:function(){return b.fastClone},get:function(){return y.get},getClassName:function(){return S.getClassName},getDataTransfer:function(){return z.getDataTransfer},getPropertyDescriptor:function(){return z.getPropertyDescriptor},getXPathByElement:function(){return x.getXPathByElement},hAlignElement:function(){return n.hAlignElement},humanSizeToBytes:function(){return w.humanSizeToBytes},inView:function(){return T.inView},isAtom:function(){return b.isAtom},keepNames:function(){return S.keepNames},keys:function(){return z.keys},loadImage:function(){return z.loadImage},loadNext:function(){return o.loadNext},loadNextStyle:function(){return o.loadNextStyle},markAsAtomic:function(){return b.markAsAtomic},markDeprecated:function(){return C.markDeprecated},markOwner:function(){return z.markOwner},memorizeExec:function(){return z.memorizeExec},options:function(){return _.options},parseQuery:function(){return k.parseQuery},previewBox:function(){return E.previewBox},refs:function(){return x.refs},reset:function(){return I.reset},resolveElement:function(){return x.resolveElement},scrollIntoViewIfNeeded:function(){return T.scrollIntoViewIfNeeded},set:function(){return D.set}});var n=i(16849),o=i(47760),r=i(28712),s={};for(var a in r)0>["default","alignElement","clearAlign","hAlignElement","alreadyLoadedList","appendScriptAsync","appendStyleAsync","loadNext","loadNextStyle"].indexOf(a)&&(s[a]=(function(e){return r[e]}).bind(0,a));i.d(t,s);var l=i(7909),c=i(26136),u=i(36833),d=i(91321),h=i(77483),p=i(3856),m=i(80991),f=i(77213),g=i(36400),v=i(97228),_=i(33201),b=i(54794),y=i(89308),S=i(421),w=i(37427),C=i(49385),k=i(36310),E=i(57075),I=i(43379),T=i(60898),x=i(28723),D=i(52144),j=i(42820),z=i(71125)},93747:function(e,t,i){"use strict";i.d(t,{EventEmitter:function(){return d}});var n=i(25045),o=i(81937),r=i(32328),s=i(17312),a=i(91565),l=i(85932),c=i(33201),u=i(18869);class d{mute(e){return this.__mutedEvents.add(null!=e?e:"*"),this}isMuted(e){return!!(e&&this.__mutedEvents.has(e))||this.__mutedEvents.has("*")}unmute(e){return this.__mutedEvents.delete(null!=e?e:"*"),this}__eachEvent(e,t){(0,r.splitArray)(e).map(e=>e.trim()).forEach(e=>{let i=e.split("."),n=i[1]||u.defaultNameSpace;t.call(this,i[0],n)})}__getStore(e){if(!e)throw(0,c.error)("Need subject");if(void 0===e[this.__key]){let t=new u.EventHandlersStore;Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:t})}return e[this.__key]}__removeStoreFromSubject(e){void 0!==e[this.__key]&&Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:void 0})}__triggerNativeEvent(e,t){let i=this.__doc.createEvent("HTMLEvents");(0,l.isString)(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(e=>{Object.defineProperty(i,e,{value:t[e],enumerable:!0})}),Object.defineProperty(i,"originalEvent",{value:t,enumerable:!0})),e.dispatchEvent(i)}get current(){return this.currents[this.currents.length-1]}on(e,t,i,n){let r,u,d,p;if((0,l.isString)(e)||(0,l.isStringArray)(e)?(r=this,u=e,d=t,p=i):(r=e,u=t,d=i,p=n),!((0,l.isString)(u)||(0,l.isStringArray)(u))||0===u.length)throw(0,c.error)("Need events names");if(!(0,a.isFunction)(d))throw(0,c.error)("Need event handler");if((0,s.isArray)(r))return r.forEach(e=>{this.on(e,u,d,p)}),this;let m=r,f=this.__getStore(m),g=this,v=function(e,...t){if(!g.isMuted(e))return d&&d.call(this,...t)};return h(m)&&(v=function(e){if(!g.isMuted(e.type)&&(g.__prepareEvent(e),d&&!1===d.call(this,e)))return e.preventDefault(),e.stopImmediatePropagation(),!1}),this.__eachEvent(u,(e,t)=>{if(0===e.length)throw(0,c.error)("Need event name");if(!1===f.indexOf(e,t,d)){let r={event:e,originalCallback:d,syntheticCallback:v};if(f.set(e,t,r,null==p?void 0:p.top),h(m)){var i,n;let t=o.PASSIVE_EVENTS.has(e)?{passive:!0,capture:null!=(i=null==p?void 0:p.capture)&&i}:null!=(n=null==p?void 0:p.capture)&&n;v.options=t,m.addEventListener(e,v,t),this.__memoryDOMSubjectToHandler(m,v)}}}),this}__memoryDOMSubjectToHandler(e,t){let i=this.__domEventsMap.get(e)||new Set;i.add(t),this.__domEventsMap.set(e,i)}__unmemoryDOMSubjectToHandler(e,t){let i=this.__domEventsMap,n=i.get(e)||new Set;n.delete(t),n.size?i.set(e,n):i.delete(e)}one(e,t,i,n){let o,r,s,a;(0,l.isString)(e)||(0,l.isStringArray)(e)?(o=this,r=e,s=t,a=i):(o=e,r=t,s=i,a=n);let c=(...e)=>(this.off(o,r,c),s(...e));return this.on(o,r,c,a),this}off(e,t,i){let n,o,r;if((0,l.isString)(e)||(0,l.isStringArray)(e)?(n=this,o=e,r=t):(n=e,o=t,r=i),(0,s.isArray)(n))return n.forEach(e=>{this.off(e,o,r)}),this;let c=n,d=this.__getStore(c);if(!((0,l.isString)(o)||(0,l.isStringArray)(o))||0===o.length)return d.namespaces().forEach(e=>{this.off(c,"."+e)}),this.__removeStoreFromSubject(c),this;let p=e=>{if(h(c)){var t;c.removeEventListener(e.event,e.syntheticCallback,null!=(t=e.syntheticCallback.options)&&t),this.__unmemoryDOMSubjectToHandler(c,e.syntheticCallback)}},m=(e,t)=>{if(""===e)return void d.events(t).forEach(e=>{""!==e&&m(e,t)});let i=d.get(e,t);if(i&&i.length)if((0,a.isFunction)(r)){let n=d.indexOf(e,t,r);!1!==n&&(p(i[n]),i.splice(n,1),i.length||d.clearEvents(t,e))}else i.forEach(p),i.length=0,d.clearEvents(t,e)};return this.__eachEvent(o,(e,t)=>{t===u.defaultNameSpace?d.namespaces().forEach(t=>{m(e,t)}):m(e,t)}),d.isEmpty()&&this.__removeStoreFromSubject(c),this}stopPropagation(e,t){let i=(0,l.isString)(e)?this:e,n=(0,l.isString)(e)?e:t;if("string"!=typeof n)throw(0,c.error)("Need event names");let o=this.__getStore(i);this.__eachEvent(n,(e,t)=>{let n=o.get(e,t);n&&this.__stopped.push(n),t===u.defaultNameSpace&&o.namespaces(!0).forEach(t=>this.stopPropagation(i,e+"."+t))})}__removeStop(e){if(e){let t=this.__stopped.indexOf(e);-1!==t&&this.__stopped.splice(0,t+1)}}__isStopped(e){return void 0!==e&&-1!==this.__stopped.indexOf(e)}fire(e,t,...i){let n,o,r=(0,l.isString)(e)?this:e,s=(0,l.isString)(e)?e:t,a=(0,l.isString)(e)?[t,...i]:i;if(!h(r)&&!(0,l.isString)(s))throw(0,c.error)("Need events names");let d=this.__getStore(r);return!(0,l.isString)(s)&&h(r)?this.__triggerNativeEvent(r,t):this.__eachEvent(s,(e,t)=>{if(h(r))this.__triggerNativeEvent(r,e);else{let i=d.get(e,t);if(i)try{[...i].every(t=>!this.__isStopped(i)&&(this.currents.push(e),o=t.syntheticCallback.call(r,e,...a),this.currents.pop(),void 0!==o&&(n=o),!0))}finally{this.__removeStop(i)}t!==u.defaultNameSpace||h(r)||d.namespaces().filter(e=>e!==t).forEach(t=>{let i=this.fire.apply(this,[r,e+"."+t,...a]);void 0!==i&&(n=i)})}}),n}destruct(){this.__isDestructed||(this.__isDestructed=!0,this.__domEventsMap.forEach((e,t)=>{this.off(t)}),this.__domEventsMap.clear(),this.__mutedEvents.clear(),this.currents.length=0,this.__stopped.length=0,this.off(this),this.__getStore(this).clear(),this.__removeStoreFromSubject(this))}constructor(e){(0,n._)(this,"__domEventsMap",new Map),(0,n._)(this,"__mutedEvents",new Set),(0,n._)(this,"__key","__JoditEventEmitterNamespaces"),(0,n._)(this,"__doc",o.globalDocument),(0,n._)(this,"__prepareEvent",e=>{!e.cancelBubble&&(e.composed&&(0,a.isFunction)(e.composedPath)&&e.composedPath()[0]&&Object.defineProperty(e,"target",{value:e.composedPath()[0],configurable:!0,enumerable:!0}),e.type.match(/^touch/)&&e.changedTouches&&e.changedTouches.length&&["clientX","clientY","pageX","pageY"].forEach(t=>{Object.defineProperty(e,t,{value:e.changedTouches[0][t],configurable:!0,enumerable:!0})}),e.originalEvent||(e.originalEvent=e),"paste"===e.type&&void 0===e.clipboardData&&this.__doc.defaultView.clipboardData&&Object.defineProperty(e,"clipboardData",{get:()=>this.__doc.defaultView.clipboardData,configurable:!0,enumerable:!0}))}),(0,n._)(this,"currents",[]),(0,n._)(this,"__stopped",[]),(0,n._)(this,"__isDestructed",!1),e&&(this.__doc=e),this.__key+=new Date().getTime()}}function h(e){return(0,a.isFunction)(e.addEventListener)}},93890:function(e,t,i){"use strict";i.d(t,{checkRemoveUnbreakableElement:function(){return s}});var n=i(81937),o=i(23211),r=i(2409);function s(e,t,i){let s=o.Dom.findSibling(t,i);return!!(o.Dom.isElement(s)&&(o.Dom.isTag(s,n.INSEPARABLE_TAGS)||o.Dom.isEmpty(s)))&&(o.Dom.safeRemove(s),o.Dom.isTag(s,"br")&&!o.Dom.findNotEmptySibling(t,!1)&&o.Dom.after(t,e.createInside.element("br")),e.s.setCursorBefore(t),o.Dom.isTag(s,"br")&&(0,r.checkRemoveEmptyParent)(e,t,i),!0)}},94013:function(e,t,i){"use strict";i.d(t,{isEqual:function(){return o},isFastEqual:function(){return r}});var n=i(3347);function o(e,t){return e===t||(0,n.stringify)(e)===(0,n.stringify)(t)}function r(e,t){return e===t}},94190:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 312 312"> <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 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 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 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"/> </g> </svg>'},94193:function(e,t,i){"use strict";i.d(t,{SourceEditor:function(){return o}});var n=i(25045);class o{get j(){return this.jodit}onReady(){this.replaceUndoManager(),this.isReady=!0,this.j.e.fire(this,"ready")}onReadyAlways(e){if(this.isReady)e();else{var t;null==(t=this.j.events)||t.on(this,"ready",e)}}constructor(e,t,i,o){(0,n._)(this,"jodit",void 0),(0,n._)(this,"container",void 0),(0,n._)(this,"toWYSIWYG",void 0),(0,n._)(this,"fromWYSIWYG",void 0),(0,n._)(this,"instance",void 0),(0,n._)(this,"className",void 0),(0,n._)(this,"isReady",void 0),this.jodit=e,this.container=t,this.toWYSIWYG=i,this.fromWYSIWYG=o,this.className="",this.isReady=!1}}},94358:function(e,t,i){"use strict";var n=i(81937),o=i(28077),r=i(65946),s=i(29434),a=i(5266),l=i(17995),c=i.n(l);a.Config.prototype.controls.about={exec:e=>{let t=e.dlg({closeOnClickOverlay:!0}),i=e.i18n.bind(e);t.setMod("theme",e.o.theme).setHeader(i("About Jodit")).setContent(`<div class="jodit-about">
244
244
  <div>${i("Jodit Editor")} v.${e.getVersion()}</div>
245
245
  <div>${i("License: %s",!(0,r.isLicense)(e.o.license)?e.o.license||"MIT":(0,r.normalizeLicense)(e.o.license))}</div>
246
246
  <div>
@@ -251,4 +251,4 @@
251
251
  ${i("contains detailed help for using")}
252
252
  </div>
253
253
  <div>${i("Copyright \xa9 XDSoft.net - Chupurnov Valerii. All rights reserved.")}</div>
254
- </div>`),(0,r.css)(t.dialog,{minHeight:200,minWidth:420}),t.open(!0,!0)},tooltip:"About Jodit",mode:n.MODE_SOURCE+n.MODE_WYSIWYG},o.pluginSystem.add("about",function(e){e.registerButton({name:"about",group:"info"})}),s.Icon.set("about",c())},94561:function(e,t,i){"use strict";i.d(t,{removeEmptyTextNode:function(){return o}});var n=i(23211);function o(e,t,i,o,r,s){return n.Dom.isText(t)&&!t.nodeValue?(t===s&&e.s.isCollapsed()&&e.s.setCursorAfter(t),n.Dom.safeRemove(t),!0):i}},94806:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M640 768h512v-192q0-106-75-181t-181-75-181 75-75 181v192zm832 96v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h32v-192q0-184 132-316t316-132 316 132 132 316v192h32q40 0 68 28t28 68z"/></svg>'},94925:function(e,t,i){"use strict";i.d(t,{Uploader:function(){return c}});var n=i(25045),o=i(16964),r=i(81937),s=i(65946),a=i(5266),l=i(11981);i(40013);class c extends o.ViewComponent{get j(){return this.jodit}className(){return"Uploader"}get o(){return this.options}setPath(e){return this.path=e,this}setSource(e){return this.source=e,this}bind(e,t,i){let n=()=>{e.classList.remove("jodit_drag_hover")},o=this,s=e=>{let s,a,c,u=e.clipboardData,d=e=>{a&&(e.append("extension",c),e.append("mimetype",a.type))};if(!r.IS_IE&&(0,l.hasFiles)(u))return(0,l.sendFiles)(o,u.files,t,i).finally(n),!1;if(r.IS_IE&&!r.IS_ES_NEXT)return(0,l.processOldBrowserDrag)(o,u,t,i,n);if((0,l.hasItems)(u)){let{items:r}=u;for(s=0;s<r.length;s+=1)if("file"===r[s].kind&&"image/png"===r[s].type){if(a=r[s].getAsFile()){let e=a.type.match(/\/([a-z0-9]+)/i);c=e[1]?e[1].toLowerCase():"",(0,l.sendFiles)(o,[a],t,i,d).finally(n)}e.preventDefault();break}}};o.j&&o.j.editor!==e?o.j.e.on(e,"paste",s):o.j.e.on("beforePaste",s),this.attachEvents(e,t,i,n)}attachEvents(e,t,i,n){let o=this;o.j.e.on(e,"dragend dragover dragenter dragleave drop",e=>{e.preventDefault()}).on(e,"dragover",t=>{((0,l.hasFiles)(t.dataTransfer)||(0,l.hasItems)(t.dataTransfer))&&(e.classList.add("jodit_drag_hover"),t.preventDefault())}).on(e,"dragend dragleave",t=>{e.classList.remove("jodit_drag_hover"),(0,l.hasFiles)(t.dataTransfer)&&t.preventDefault()}).on(e,"drop",r=>{e.classList.remove("jodit_drag_hover"),(0,l.hasFiles)(r.dataTransfer)&&(r.preventDefault(),r.stopImmediatePropagation(),(0,l.sendFiles)(o,r.dataTransfer.files,t,i).finally(n))});let r=e.querySelector("input[type=file]");r&&o.j.e.on(r,"change",()=>{(0,l.sendFiles)(o,r.files,t,i).then(()=>{r.value="",/safari/i.test(navigator.userAgent)||(r.type="",r.type="file")}).finally(n)})}uploadRemoteImage(e,t,i){let n=this,{o}=n,r=(0,s.isFunction)(i)?i:o.defaultHandlerError;(0,l.send)(n,{action:"fileUploadRemote",url:e}).then(e=>{o.isSuccess.call(n,e)?((0,s.isFunction)(t)?t:o.defaultHandlerSuccess).call(n,o.process.call(n,e)):r.call(n,(0,s.error)(o.getMessage.call(n,e)))}).catch(e=>r.call(n,e))}upload(e){return this.async.promise((t,i)=>{(0,l.sendFiles)(this,e,t,i)})}destruct(){this.setStatus(o.STATUSES.beforeDestruct);let e=l.ajaxInstances.get(this);e&&(e.forEach(e=>{try{e.destruct()}catch(e){}}),e.clear()),super.destruct()}constructor(e,t){super(e),(0,n._)(this,"path",""),(0,n._)(this,"source","default"),(0,n._)(this,"options",void 0),this.options=(0,s.ConfigProto)(t||{},(0,s.ConfigProto)(a.Config.defaultOptions.uploader,(0,s.isJoditObject)(e)?e.o.uploader:{}))}}},94978:function(e,t,i){"use strict";i.d(t,{AceEditor:function(){return a}});var n=i(25045),o=i(81937),r=i(65946),s=i(94193);class a extends s.SourceEditor{aceExists(){return void 0!==this.j.ow.ace}getLastColumnIndex(e){return this.instance.session.getLine(e).length}getLastColumnIndices(){let e=this.instance.session.getLength(),t=[],i=0;for(let n=0;e>n;n++)i+=this.getLastColumnIndex(n),n>0&&(i+=1),t[n]=i;return t}getRowColumnIndices(e){let t=this.getLastColumnIndices();if(e<=t[0])return{row:0,column:e};let i=1;for(let n=1;n<t.length;n++)e>t[n]&&(i=n+1);let n=e-t[i-1]-1;return{row:i,column:n}}setSelectionRangeIndices(e,t){let i=this.getRowColumnIndices(e),n=this.getRowColumnIndices(t);this.instance.getSelection().setSelectionRange({start:i,end:n})}getIndexByRowColumn(e,t){return this.getLastColumnIndices()[e]-this.getLastColumnIndex(e)+t}init(e){let t=()=>{if(void 0!==this.instance||!this.aceExists())return;let t=this.j.c.div("jodit-source__mirror-fake");this.container.appendChild(t);let i=e.ow.ace;this.instance=i.edit(t),"rtl"===e.o.direction&&(this.instance.setOption("rtlText",!0),this.instance.setOption("rtl",!0)),this.instance.setTheme(e.o.sourceEditorNativeOptions.theme),this.instance.renderer.setShowGutter(e.o.sourceEditorNativeOptions.showGutter),this.instance.getSession().setMode(e.o.sourceEditorNativeOptions.mode),this.instance.setHighlightActiveLine(e.o.sourceEditorNativeOptions.highlightActiveLine),this.instance.getSession().setUseWrapMode(!0),this.instance.setOption("indentedSoftWrap",!1),this.instance.setOption("wrap",e.o.sourceEditorNativeOptions.wrap),this.instance.getSession().setUseWorker(!1),this.instance.$blockScrolling=1/0,this.instance.on("change",this.toWYSIWYG),this.instance.on("focus",this.proxyOnFocus),this.instance.on("mousedown",this.proxyOnMouseDown),this.instance.on("blur",this.proxyOnBlur),e.getRealMode()!==o.MODE_WYSIWYG&&this.setValue(this.getValue());let n=this.j.async.throttle(()=>{if(e.isInDestruct||e.getMode()===o.MODE_WYSIWYG)return;let t=this.instance.isFocused();"auto"!==e.o.height?this.instance.setOption("maxLines",e.workplace.offsetHeight/this.instance.renderer.lineHeight):this.instance.setOption("maxLines",1/0),this.instance.resize(),t&&this.focus()},2*this.j.defaultTimeout);e.e.on(e,"resize",n).on("afterResize afterSetMode",n),n(),this.onReady()},i=()=>{e.isInDestruct||e.getRealMode()!==o.MODE_SOURCE&&e.getMode()!==o.MODE_SPLIT||(this.fromWYSIWYG(),t())};e.e.on("afterSetMode",i),i(),this.aceExists()||(0,r.loadNext)(e,e.o.sourceEditorCDNUrlsJS).then(i).catch(()=>null)}destruct(){var e,t;this.instance.off("change",this.toWYSIWYG),this.instance.off("focus",this.proxyOnFocus),this.instance.off("mousedown",this.proxyOnMouseDown),this.instance.destroy(),null==(t=this.j)||null==(e=t.events)||e.off("aceInited.source")}setValue(e){if(!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){let t=this.j.e.fire("beautifyHTML",e);(0,r.isString)(t)&&(e=t)}this.instance.setValue(e),this.instance.clearSelection()}getValue(){return this.instance.getValue()}setReadOnly(e){this.instance.setReadOnly(e)}get isFocused(){return this.instance.isFocused()}focus(){this.instance.container.focus(),this.instance.focus()}blur(){this.instance.blur()}getSelectionStart(){let e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.start.row,e.start.column)}getSelectionEnd(){let e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.end.row,e.end.column)}selectAll(){this.instance.selection.selectAll()}insertRaw(e){let t=this.instance.selection.getCursor(),i=this.instance.session.insert(t,e);this.instance.selection.setRange({start:t,end:i},!1)}setSelectionRange(e,t){this.setSelectionRangeIndices(e,t)}setPlaceHolder(e){}replaceUndoManager(){let{history:e}=this.jodit;this.instance.commands.addCommand({name:"Undo",bindKey:{win:"Ctrl-Z",mac:"Command-Z"},exec:()=>{e.undo()}}),this.instance.commands.addCommand({name:"Redo",bindKey:{win:"Ctrl-Shift-Z",mac:"Command-Shift-Z"},exec:()=>{e.redo()}})}constructor(...e){super(...e),(0,n._)(this,"className","jodit_ace_editor"),(0,n._)(this,"proxyOnBlur",e=>{this.j.e.fire("blur",e)}),(0,n._)(this,"proxyOnFocus",e=>{this.j.e.fire("focus",e)}),(0,n._)(this,"proxyOnMouseDown",e=>{this.j.e.fire("mousedown",e)})}}},95032:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1520 1216q0-40-28-68l-208-208q-28-28-68-28-42 0-72 32 3 3 19 18.5t21.5 21.5 15 19 13 25.5 3.5 27.5q0 40-28 68t-68 28q-15 0-27.5-3.5t-25.5-13-19-15-21.5-21.5-18.5-19q-33 31-33 73 0 40 28 68l206 207q27 27 68 27 40 0 68-26l147-146q28-28 28-67zm-703-705q0-40-28-68l-206-207q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l208 208q27 27 68 27 42 0 72-31-3-3-19-18.5t-21.5-21.5-15-19-13-25.5-3.5-27.5q0-40 28-68t68-28q15 0 27.5 3.5t25.5 13 19 15 21.5 21.5 18.5 19q33-31 33-73zm895 705q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-206-207q-83-83-83-203 0-123 88-209l-88-88q-86 88-208 88-120 0-204-84l-208-208q-84-84-84-204t85-203l147-146q83-83 203-83 121 0 204 85l206 207q83 83 83 203 0 123-88 209l88 88q86-88 208-88 120 0 204 84l208 208q84 84 84 204z"/> </svg>'},95042:function(e){e.exports={Spellcheck:"拼字檢查"}},95134:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5t-316.5 131.5-316.5-131.5-131.5-316.5q0-121 61-225-229 117-381 353 133 205 333.5 326.5t434.5 121.5 434.5-121.5 333.5-326.5zm-720-384q0-20-14-34t-34-14q-125 0-214.5 89.5t-89.5 214.5q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5t-499.5 138.5-499.5-139-376.5-368q-20-35-20-69t20-69q140-229 376.5-368t499.5-139 499.5 139 376.5 368q20 35 20 69z"/> </svg>'},95320:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 18 18"> <g fill-rule="evenodd" stroke="none" stroke-width="1"> <g transform="translate(-381.000000, -381.000000)"> <g transform="translate(381.000000, 381.000000)"> <path d="M0,2 L2,2 L2,0 C0.9,0 0,0.9 0,2 L0,2 Z M0,10 L2,10 L2,8 L0,8 L0,10 L0,10 Z M4,18 L6,18 L6,16 L4,16 L4,18 L4,18 Z M0,6 L2,6 L2,4 L0,4 L0,6 L0,6 Z M10,0 L8,0 L8,2 L10,2 L10,0 L10,0 Z M16,0 L16,2 L18,2 C18,0.9 17.1,0 16,0 L16,0 Z M2,18 L2,16 L0,16 C0,17.1 0.9,18 2,18 L2,18 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M6,0 L4,0 L4,2 L6,2 L6,0 L6,0 Z M8,18 L10,18 L10,16 L8,16 L8,18 L8,18 Z M16,10 L18,10 L18,8 L16,8 L16,10 L16,10 Z M16,18 C17.1,18 18,17.1 18,16 L16,16 L16,18 L16,18 Z M16,6 L18,6 L18,4 L16,4 L16,6 L16,6 Z M16,14 L18,14 L18,12 L16,12 L16,14 L16,14 Z M12,18 L14,18 L14,16 L12,16 L12,18 L12,18 Z M12,2 L14,2 L14,0 L12,0 L12,2 L12,2 Z M4,14 L14,14 L14,4 L4,4 L4,14 L4,14 Z M6,6 L12,6 L12,12 L6,12 L6,6 L6,6 Z"/> </g> </g> </g> </svg>'},95399:function(e,t,i){"use strict";i.d(t,{UITooltip:function(){return m}});var n=i(25045),o=i(31635),r=i(16964),s=i(84839),a=i(27795),l=i(28077),c=i(23599),u=i(93640),d=i(96007);let h=["scroll.tooltip","joditCloseDialog","mouseleave.tooltip"],p=["escape.tooltip","change.tooltip","changePlace.tooltip","afterOpenPopup.tooltip","hidePopup.tooltip","beforePopupClose.tooltip","closeAllPopups.tooltip"];class m extends d.UIElement{className(){return"UITooltip"}render(){return'<div><div class="&__content"></div></div>'}__onAttach(e){(0,l.getContainer)(this.j,m).appendChild(this.container),this.__attachedContainers.add(e),this.__attachedContainers.add(this.j.container),this.j.e.on(e,"mouseenter.tooltip",this.__onMouseEnter,{capture:!0}).on(e,"mouseleave.tooltip",this.__onMouseLeave,{capture:!0}).on(this.j.container,"mouseleave.tooltip",this.__onMouseLeave,{capture:!0})}__addListenersOnEnter(){if(this.__listenClose)return;this.__listenClose=!0;let e=this.j;e.e.on(e.ow,h,this.__hide).on(p,this.__hide)}__removeListenersOnLeave(){if(!this.__listenClose)return;this.__listenClose=!1;let e=this.j;e.e.off(e.ow,h,this.__hide).off(p,this.__hide)}__onMouseLeave(e){this.__currentTarget===e.target&&(this.__hideDelay(),this.__currentTarget=null)}__onMouseEnter(e){if(!a.Dom.isHTMLElement(e.target))return;let t=(0,u.attr)(e.target,"aria-label");if(!t||(0,u.attr)(e.target,"disabled")||!e.target.className.includes("jodit"))return;this.__currentTarget=e.target;let i=e.target;this.__open(()=>{let e=(0,c.position)(i);return{x:e.left+e.width/2,y:e.top+e.height}},t)}__open(e,t){this.__addListenersOnEnter(),this.__isOpened=!0,this.j.async.clearTimeout(this.__hideTimeout),this.j.async.clearTimeout(this.__delayShowTimeout);let i=this.j.o.showTooltipDelay||this.j.defaultTimeout;i?this.__delayShowTimeout=this.j.async.setTimeout(()=>this.__show(e,t),i):this.__show(e,t)}__show(e,t){this.setMod("visible",!0),this.getElm("content").innerHTML=t;let i=e();(0,u.css)(this.container,{left:i.x,top:i.y})}__hide(){this.j.async.clearTimeout(this.__delayShowTimeout),this.j.async.clearTimeout(this.__hideTimeout),this.__removeListenersOnLeave(),this.__isOpened&&(this.__isOpened=!1,this.setMod("visible",!1),this.getElm("content").innerHTML="",(0,u.css)(this.container,{left:-5e3}))}__hideDelay(){this.j.async.clearTimeout(this.__delayShowTimeout),this.j.async.clearTimeout(this.__hideTimeout),this.__isOpened&&(this.__hideTimeout=this.async.setTimeout(this.__hide,this.j.defaultTimeout))}destruct(){this.__attachedContainers.forEach(e=>{this.j.e.off(e,"mouseenter.tooltip",this.__onMouseEnter).off(e,"mouseleave.tooltip",this.__onMouseLeave)}),this.__hide(),super.destruct()}constructor(e){super(e),(0,n._)(this,"__isOpened",!1),(0,n._)(this,"__attachedContainers",new Set),(0,n._)(this,"__listenClose",!1),(0,n._)(this,"__currentTarget",null),(0,n._)(this,"__delayShowTimeout",0),(0,n._)(this,"__hideTimeout",0),e.o.textIcons||!e.o.showTooltip||e.o.useNativeTooltip||(this.j.e.on("getContainer",e=>{this.__onAttach(e)}),e.hookStatus(r.STATUSES.ready,()=>{this.__onAttach(this.j.container)}))}}(0,o.__decorate)([s.autobind],m.prototype,"__onMouseLeave",null),(0,o.__decorate)([s.autobind],m.prototype,"__onMouseEnter",null),(0,o.__decorate)([s.autobind],m.prototype,"__hide",null),(0,o.__decorate)([s.autobind],m.prototype,"__hideDelay",null),m=(0,o.__decorate)([s.component],m)},95436:function(e,t,i){"use strict";i.d(t,{processOldBrowserDrag:function(){return c}});var n=i(81937),o=i(27795),r=i(28077),s=i(65946),a=i(23112),l=i(46533);function c(e,t,i,c,u){if(t&&(!t.types.length||t.types[0]!==n.TEXT_PLAIN)){let t=e.j.c.div("",{tabindex:-1,style:"left: -9999px; top: 0; width: 0; height: 100%;line-height: 140%; overflow: hidden; position: fixed; z-index: 2147483647; word-break: break-all;",contenteditable:!0});(0,r.getContainer)(e.j,e.constructor).appendChild(t);let n=(0,s.isJoditObject)(e.j)?e.j.s.save():null;t.focus(),e.j.async.setTimeout(()=>{let r=t.firstChild;if(o.Dom.safeRemove(t),r&&r.hasAttribute("src")){let t=(0,s.attr)(r,"src")||"";n&&(0,s.isJoditObject)(e.j)&&e.j.s.restore(),(0,l.sendFiles)(e,[(0,a.dataURItoBlob)(t)],i,c).finally(u)}},e.j.defaultTimeout)}}},95461:function(e){e.exports.default=["Bitte geben Sie einen Text ein","\xdcber Jodit","Jodit Editor","Das Jodit Benutzerhandbuch","beinhaltet ausf\xfchrliche Informationen wie Sie den Editor verwenden k\xf6nnen.","F\xfcr Informationen zur Lizenz, besuchen Sie bitte unsere Web-Pr\xe4senz:","Vollversion kaufen","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.","Anker","In neuer Registerkarte \xf6ffnen","Editor in voller Gr\xf6\xdfe \xf6ffnen","Formatierung l\xf6schen","F\xfcllfarbe oder Textfarbe \xe4ndern","Wiederholen","R\xfcckg\xe4ngig machen","Fett","Kursiv","Unsortierte Liste einf\xfcgen","Nummerierte Liste einf\xfcgen","Mittig ausrichten","Blocksatz","Links ausrichten","Rechts ausrichten","Horizontale Linie einf\xfcgen","Bild einf\xfcgen","Datei einf\xfcgen","Youtube/vimeo Video einf\xfcgen","Link einf\xfcgen","Schriftgr\xf6\xdfe","Schriftfamilie","Formatblock einf\xfcgen","Normal","\xdcberschrift 1","\xdcberschrift 2","\xdcberschrift 3","\xdcberschrift 4","Zitat","Code","Einf\xfcgen","Tabelle einf\xfcgen","Einzug verkleinern","Einzug vergr\xf6\xdfern","Sonderzeichen ausw\xe4hlen","Sonderzeichen einf\xfcgen","Format kopieren","\xc4nderungsmodus","R\xe4nder","Oben","Rechts","Unten","Links","CSS Stil","CSS Klassen","Ausrichtung","Rechts","Zentriert","Links","Keine","Pfad","Titel","Alternativer Text","Link","Link in neuem Tab \xf6ffnen","Bild","Datei","Fortgeschritten","Bildeigenschaften","Abbrechen","OK","Dateibrowser","Fehler beim Laden der Liste","Fehler beim Laden der Ordner","Sind Sie sicher?","Geben Sie den Verzeichnisnamen ein","Verzeichnis erstellen","Typname","Bild hier hinziehen","Datei l\xf6schen","oder hier klicken","Alternativtext","Hochladen","Ausw\xe4hlen","Hintergrund","Text","Oben","Mittig","Unten","Spalte davor einf\xfcgen","Spalte danach einf\xfcgen","Zeile oberhalb einf\xfcgen","Zeile unterhalb einf\xfcgen","Tabelle l\xf6schen","Zeile l\xf6schen","Spalte l\xf6schen","Zelle leeren","Zeichen: %d","W\xf6rter: %d","Durchstreichen","Unterstreichen","Hochstellen","Tiefstellen","Auswahl ausschneiden","Alles markieren","Pause","Suche nach","Ersetzen durch","Ersetzen","Einf\xfcgen","W\xe4hlen Sie den Inhalt zum Einf\xfcgen aus","HTML","Fett gedruckt","Kursiv","B\xfcrste","Verkn\xfcpfung","R\xfcckg\xe4ngig machen","Wiederholen","Tabelle","Bild","Radiergummi","Absatz","Schriftgr\xf6\xdfe","Video","Schriftart","\xdcber","Drucken","Unterstreichen","Durchstreichen","Einzug","Herausstellen","Vollgr\xf6\xdfe","Schrumpfen","die Linie","Liste von","Nummerierte Liste","Schneiden","W\xe4hlen Sie Alle aus","Code einbetten","Link \xf6ffnen","Link bearbeiten","Nofollow-Attribut","Link entfernen","Aktualisieren","Bearbeiten","Ansehen","URL","Bearbeiten","Horizontale Ausrichtung","Filter","Sortieren nach ge\xe4ndert","Nach Name sortieren","Nach Gr\xf6\xdfe sortiert","Ordner hinzuf\xfcgen","Wiederherstellen","Speichern","Speichern als","Gr\xf6\xdfe \xe4ndern","Gr\xf6\xdfe anpassen","Breite","H\xf6he","Seitenverh\xe4ltnis beibehalten","Ja","Nein","Entfernen","Markieren","Markieren: %s","Vertikale Ausrichtung","Unterteilen","Vereinen","Spalte hinzuf\xfcgen","Zeile hinzuf\xfcgen","Lizenz: %s","L\xf6schen","Vertikal unterteilen","Horizontal unterteilen","Rand","Ihr Text \xe4hnelt HTML-Code. Als HTML beibehalten?","Als HTML einf\xfcgen?","Original speichern","Als Text einf\xfcgen","Nur Text einf\xfcgen","Sie k\xf6nnen nur Ihre eigenen Bilder bearbeiten. Dieses Bild auf den Host herunterladen?","Das Bild wurde erfolgreich auf den Server hochgeladen!","Palette","In diesem Verzeichnis befinden sich keine Dateien.","Umbenennen","Geben Sie einen neuen Namen ein","Vorschau","Herunterladen","Aus Zwischenablage einf\xfcgen","Ihr Browser unterst\xfctzt keinen direkten Zugriff auf die Zwischenablage.","Auswahl kopieren","Kopieren","Radius f\xfcr abgerundete Ecken","Alle anzeigen","Anwenden","Bitte f\xfcllen Sie dieses Feld aus","Bitte geben Sie eine Web-Adresse ein","Standard","Kreis","Punkte","Quadrate","Suchen","Suche vorherige","Weitersuchen","Der Inhalt, den Sie einf\xfcgen, stammt aus einem Microsoft Word / Excel-Dokument. M\xf6chten Sie das Format erhalten oder bereinigen?","In Word formatierter Text erkannt","S\xe4ubern","className (CSS) einf\xfcgen","Dr\xfccken Sie Alt f\xfcr benutzerdefinierte Gr\xf6\xdfenanpassung",null,null,null,"Alles markieren"]},95559:function(e,t,i){"use strict";i.d(t,{allowAttributes:function(){return o}});var n=i(23211);function o(e,t,i,o){if(o&&n.Dom.isElement(t)&&!0!==o[t.nodeName]){let e=t.attributes;if(e&&e.length){let n=[];for(let i=0;i<e.length;i+=1){let r=o[t.nodeName][e[i].name];r&&(!0===r||r===e[i].value)||n.push(e[i].name)}n.length&&(i=!0),n.forEach(e=>{t.removeAttribute(e)})}}return i}},95562:function(e){e.exports={"Line height":"行高"}},95971:function(e,t,i){"use strict";i.d(t,{elementsEqualAttributes:function(){return l},isSameAttributes:function(){return a}});var n=i(18073),o=i(93640),r=i(28712),s=i(9703);function a(e,t){return!((e.attributes.length||(0,n.size)(t))&&(0,n.size)(t))||((0,r.assert)(t,"Attrs must be a non-empty object"),Object.keys(t).every(i=>"class"===i||"className"===i?e.classList.contains(t[i]):"style"===i?(0,s.hasSameStyle)(e,t[i]):(0,o.attr)(e,i)===t[i]))}function l(e,t){return e.attributes.length===t.attributes.length&&Array.from(e.attributes).every(e=>t.hasAttribute(e.name)&&t.getAttribute(e.name)===e.value)}},96007:function(e,t,i){"use strict";i.d(t,{UIElement:function(){return h}});var n=i(25045),o=i(31635),r=i(16964),s=i(24968),a=i(23211),l=i(85932),c=i(23183),u=i(81987),d=i(29434);class h extends r.ViewComponent{get parentElement(){return this.__parentElement}set parentElement(e){this.__parentElement=e,e&&e.hookStatus("beforeDestruct",()=>this.destruct()),this.updateParentElement(this)}bubble(e){let t=this.parentElement;for(;t;)e(t),t=t.parentElement;return this}updateParentElement(e){var t;return null==(t=this.__parentElement)||t.updateParentElement(e),this}get(e,t){return super.get(e,t)||this.getElm(e)}closest(e){let t="object"==typeof e?t=>t===e:t=>r.Component.isInstanceOf(t,e),i=this.__parentElement;for(;i;){if(t(i))return i;i=!i.parentElement&&i.container.parentElement?h.closestElement(i.container.parentElement,h):i.parentElement}return null}static closestElement(e,t){let i=a.Dom.up(e,e=>{if(e){let{component:i}=e;return i&&r.Component.isInstanceOf(i,t)}return!1});return i?null==i?void 0:i.component:null}update(){}appendTo(e){return e.appendChild(this.container),this}clearName(e){return e.replace(/[^a-zA-Z0-9]/g,"_")}render(e){return this.j.c.div(this.componentName)}createContainer(e){let t=this.render(e);if((0,l.isString)(t)){let e=this.parseTemplate(t);return e.classList.add(this.componentName),e}return t}parseTemplate(e){return this.j.c.fromHTML(e.replace(/\*([^*]+?)\*/g,(e,t)=>d.Icon.get(t)||"").replace(/&_/g,this.componentName+"_").replace(/~([^~]+?)~/g,(e,t)=>this.i18n(t)))}destruct(){return a.Dom.safeRemove(this.container),this.parentElement=null,super.destruct()}constructor(e,t){super(e),(0,n._)(this,"container",void 0),(0,n._)(this,"name",""),(0,n._)(this,"__parentElement",null),(0,n._)(this,"mods",{}),this.container=this.createContainer(t),Object.defineProperty(this.container,"component",{value:this,configurable:!0})}}h=(0,o.__decorate)([(0,s.derive)(u.Mods,c.Elms)],h)},96127:function(e,t,i){"use strict";i.d(t,{ApplyStyle:function(){return s}});var n=i(51640),o=i(98394),r=i(78462);function s(e,t){var i;let{s:s,editor:a}=e;null==(i=a.firstChild)||i.normalize();let l=s.fakes(),c=e.s.wrapInTagGen(l),u=c.next();if(u.done)return;let d={collapsed:s.isCollapsed(),mode:o.INITIAL,element:u.value,next:r.states.START,jodit:e,style:t};for(;u&&!u.done;){let e=new n.FiniteStateMachine(r.states.START,r.transactions);for(d.element=u.value;e.getState()!==r.states.END;)d=e.dispatch("exec",d);u=c.next()}s.restoreFakes(l)}},96340:function(e,t,i){"use strict";i.d(t,{normalizeRelativePath:function(){return n}});let n=e=>e.split("/").reduce((e,t)=>{switch(t){case"":case".":break;case"..":e.pop();break;default:e.push(t)}return e},[]).join("/")+(e.endsWith("/")?"/":"")},96608:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.allowResizeTags=new Set(["img","iframe","table","jodit"]),n.Config.prototype.resizer={showSize:!0,hideSizeTimeout:1e3,forImageChangeAttributes:!0,min_width:10,min_height:10,useAspectRatio:new Set(["img"])}},96722:function(e,t,i){"use strict";i(5266).Config.prototype.dtd={removeExtraBr:!0,checkBlockNesting:!0,blockLimits:{article:1,aside:1,audio:1,body:1,caption:1,details:1,dir:1,div:1,dl:1,fieldset:1,figcaption:1,figure:1,footer:1,form:1,header:1,hgroup:1,main:1,menu:1,nav:1,ol:1,section:1,table:1,td:1,th:1,tr:1,ul:1,video:1}}},96730:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(28077),l=i(65946),c=i(91206);i(71693);var u=i(54308);class d extends c.Plugin{afterInit(e){}beforeDestruct(e){}processWordHTML(e,t,i){let{j:n}=this,{processPasteFromWord:o,askBeforePasteFromWord:r,defaultActionOnPasteFromWord:s,defaultActionOnPaste:a,pasteFromWordActionList:c}=n.o;return!!(o&&(0,l.isHtmlFromWord)(t))&&(r?(0,u.askInsertTypeDialog)(n,"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Word Paste Detected",n=>{this.insertFromWordByType(e,t,n,i)},c):this.insertFromWordByType(e,t,s||a,i),!0)}insertFromWordByType(e,t,i,n){switch(i){case r.INSERT_AS_HTML:{var o;t=(0,l.applyStyles)(t);let e=null==(o=this.j.events)?void 0:o.fire("beautifyHTML",t);(0,l.isString)(e)&&(t=e);break}case r.INSERT_AS_TEXT:t=(0,l.cleanFromWord)(t);break;case r.INSERT_ONLY_TEXT:t=(0,l.stripTags)((0,l.cleanFromWord)(t))}(0,u.pasteInsertHtml)(e,this.j,t)}}(0,n._)(d,"requires",["paste"]),(0,o.__decorate)([(0,s.watch)(":processHTML")],d.prototype,"processWordHTML",null),a.pluginSystem.add("pasteFromWord",d)},96863:function(e,t,i){"use strict";var n=i(23211),o=i(62101),r=i(29434),s=i(5266),a=i(29348),l=i.n(a);r.Icon.set("paragraph",l()),s.Config.prototype.controls.paragraph={command:"formatBlock",value(e,t){var i,o;let r=t.control,s=e.s.current(),a=n.Dom.closest(s,n.Dom.isBlock,e.editor);return null!=(i=null==a?void 0:a.nodeName.toLowerCase())?i:null==(o=r.data)?void 0:o.currentValue},update(e,t){let i=t.control;if(!e.s.current())return!1;let n=t.state.value,r=i.list;return(0,o.isPlainObject)(r)&&r[n.toString()]&&e.o.textIcons&&(t.state.text=r[n.toString()].toString()),!1},data:{currentValue:"p"},list:{p:"Paragraph",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",blockquote:"Quote",pre:"Code"},isChildActive:(e,t)=>{var i,n;return t.state.value===(null==(n=t.control)||null==(i=n.args)?void 0:i[0])},isActive:(e,t)=>t.state.value!==e.o.enter&&(0,o.isPlainObject)(t.control.list)&&!!t.control.list[t.state.value],childTemplate:(e,t,i)=>`<${t} style="margin:0;padding:0"><span>${e.i18n(i)}</span></${t}>`,tooltip:"Insert format block"}},96978:function(e){e.exports={symbols:"Symbolit"}},97022:function(e,t,i){"use strict";i.d(t,{NUMBER_FIELDS_REG:function(){return o.NUMBER_FIELDS_REG},normalizeColor:function(){return n.normalizeColor},normalizeCssNumericValue:function(){return o.normalizeCssNumericValue},normalizeCssValue:function(){return o.normalizeCssValue},normalizeKeyAliases:function(){return r.normalizeKeyAliases},normalizeLicense:function(){return s.normalizeLicense},normalizePath:function(){return a.normalizePath},normalizeRelativePath:function(){return l.normalizeRelativePath},normalizeSize:function(){return c.normalizeSize},normalizeUrl:function(){return u.normalizeUrl}});var n=i(77367),o=i(19147),r=i(27978),s=i(49663),a=i(18377),l=i(96340),c=i(98831),u=i(48009)},97110:function(e,t,i){"use strict";i.d(t,{wrapList:function(){return a}});var n=i(23211),o=i(95971),r=i(82794),s=i(98394);function a(e,t,i){let a=i.e.fire(`${s._PREFIX}BeforeWrapList`,s.REPLACE,t,e),l=null!=a?a:n.Dom.replace(t,"li",i.createInside),c=l.previousElementSibling,u=l.nextElementSibling,d=n.Dom.isTag(c,e.element)?c:null;return null!=d||(d=n.Dom.isTag(u,e.element)?u:null),n.Dom.isList(d)&&(0,o.isSameAttributes)(d,e.options.attributes)||(d=i.createInside.element(e.element),(0,r.toggleAttributes)(e,d,i,s.INITIAL),n.Dom.before(l,d)),c===d?n.Dom.append(d,l):n.Dom.prepend(d,l),n.Dom.isTag(d.nextElementSibling,e.element)&&(0,o.elementsEqualAttributes)(d,d.nextElementSibling)&&(n.Dom.append(d,Array.from(d.nextElementSibling.childNodes)),n.Dom.safeRemove(d.nextElementSibling)),i.e.fire(`${s._PREFIX}AfterWrapList`,s.WRAP,d,e),d}},97228:function(e,t,i){"use strict";i.d(t,{defaultLanguage:function(){return r}});var n=i(81937),o=i(85932);let r=(e,t="en")=>"auto"!==e&&(0,o.isString)(e)?e:n.globalDocument.documentElement&&n.globalDocument.documentElement.lang?n.globalDocument.documentElement.lang:navigator.language?navigator.language.substring(0,2):t},97493:function(e){e.exports={symbols:"символ"}},97642:function(e,t,i){"use strict";i.d(t,{CamelCaseToKebabCase:function(){return s.CamelCaseToKebabCase},camelCase:function(){return n.camelCase},fuzzySearchIndex:function(){return o.fuzzySearchIndex},i18n:function(){return r.i18n},kebabCase:function(){return s.kebabCase},sprintf:function(){return r.sprintf},stringify:function(){return a.stringify},trim:function(){return l.trim},trimChars:function(){return l.trimChars},trimInv:function(){return l.trimInv},ucfirst:function(){return c.ucfirst}});var n=i(57821),o=i(57626),r=i(18080),s=i(74264),a=i(3347),l=i(4040),c=i(99436)},97834:function(e){e.exports.default=["Napisz coś","O Jodit","Edytor Jodit","Instrukcja Jodit","zawiera szczeg\xf3łowe informacje dotyczące użytkowania.","Odwiedź naszą stronę, aby uzyskać więcej informacji na temat licencji:","Zakup pełnej wersji","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Wszystkie prawa zastrzeżone.","Kotwica","Otw\xf3rz w nowej zakładce","Otw\xf3rz edytor w pełnym rozmiarze","Wyczyść formatowanie","Kolor wypełnienia lub ustaw kolor tekstu","Pon\xf3w","Cofnij","Pogrubienie","Kursywa","Wstaw listę wypunktowaną","Wstaw listę numeryczną","Wyśrodkuj","Wyjustuj","Wyr\xf3wnaj do lewej","Wyr\xf3wnaj do prawej","Wstaw linię poziomą","Wstaw grafikę","Wstaw plik","Wstaw film Youtube/vimeo","Wstaw link","Rozmiar tekstu","Kr\xf3j czcionki","Wstaw formatowanie","Normalne","Nagł\xf3wek 1","Nagł\xf3wek 2","Nagł\xf3wek 3","Nagł\xf3wek 4","Cytat","Kod","Wstaw","Wstaw tabelę","Zmniejsz wcięcie","Zwiększ wcięcie","Wybierz znak specjalny","Wstaw znak specjalny","Malarz format\xf3w","Zmień tryb","Marginesy","G\xf3rny","Prawy","Dolny","Levy","Style CSS","Klasy CSS","Wyr\xf3wnanie","Prawa","środek","Lewa","brak","Źr\xf3dło","Tytuł","Tekst alternatywny","Link","Otw\xf3rz w nowej zakładce","Grafika","Plik","Zaawansowane","Właściwości grafiki","Anuluj","OK","Przeglądarka plik\xf3w","Błąd ładowania listy plik\xf3w","Błąd ładowania folder\xf3w","Czy jesteś pewien?","Wprowadź nazwę folderu","Utw\xf3rz folder","wprowadź nazwę","Upuść plik graficzny","Upuść plik","lub kliknij tu","Tekst alternatywny","Wczytaj","Przeglądaj","Tło","Treść","G\xf3ra","Środek","D\xf3ł","Wstaw kolumnę przed","Wstaw kolumnę po","Wstaw wiersz przed","Wstaw wiersz po","Usuń tabelę","Usuń wiersz","Usuń kolumnę","Wyczyść kom\xf3rkę","Znaki: %d","Słowa: %d","Przekreślenie","Podkreślenie","indeks g\xf3rny","index dolny","Wytnij zaznaczenie","Wybierz wszystko","Przerwa","Szukaj","Zamień na","Wymienić","Wklej","Wybierz zawartość do wklejenia","HTML","pogrubienie","kursywa","pędzel","link","cofnij","pon\xf3w","tabela","grafika","wyczyść","akapit","rozmiar czcionki","wideo","czcionka","O programie","drukuj","podkreślenie","przekreślenie","wcięcie","wycięcie","pełen rozmiar","przytnij","linia pozioma","lista","lista numerowana","wytnij","zaznacz wszystko","Wstaw kod","otw\xf3rz link","edytuj link","Atrybut no-follow","Usuń link","Aktualizuj","edytuj","szukaj","URL","Edytuj","Wyr\xf3wnywanie w poziomie","Filtruj","Sortuj wg zmiany","Sortuj wg nazwy","Sortuj wg rozmiaru","Dodaj folder","wyczyść","zapisz","zapisz jako","Zmień rozmiar","Przytnij","Szerokość","Wysokość","Zachowaj proporcje","Tak","Nie","Usuń","Wybierz","Wybierz: %s","Wyr\xf3wnywanie w pionie","Podziel","Scal","Dodaj kolumnę","Dodaj wiersz","Licencja: %s","Usuń","Podziel w pionie","Podziel w poziomie","Obramowanie","Tw\xf3j kod wygląda jak HTML. Zachować HTML?","Wkleić jako HTML?","Oryginalny tekst","Wstaw jako tekst","Wstaw tylko treść","Możesz edytować tylko swoje grafiki. Czy chcesz pobrać tą grafikę?","Grafika została pomyślnienie dodana na serwer","Paleta","Brak plik\xf3w.","zmień nazwę","Wprowadź nową nazwę","podgląd","pobierz","Wklej ze schowka","Twoja przeglądarka nie obsługuje schowka","Kopiuj zaznaczenie","kopiuj","Zaokrąglenie krawędzi","Pokaż wszystkie","Zastosuj","Proszę wypełnić to pole","Proszę, wpisz adres sieci web","Domyślnie","Koło","Punkt","Kwadrat","Znaleźć","Znaleźć Poprzednie","Znajdź Dalej","Wklejany tekst pochodzi z dokumentu Microsoft Word/Excel. Chcesz zachować ten format czy wyczyścić go? ","Wykryto tekst w formacie Word","Wyczyść","Wstaw nazwę zajęć","Naciśnij Alt, aby zmienić rozmiar",null,null,null,"Wszystko"]},97959:function(e,t,i){"use strict";i.d(t,{UIList:function(){return v}});var n=i(25045),o=i(31635),r=i(80251),s=i(91672),a=i(29200),l=i(68616),c=i(32328),u=i(53681),d=i(63468),h=i(35676),p=i(27987),m=i(2496),f=i(15982),g=i(40253);class v extends d.UIGroup{className(){return"UIList"}__onChangeMode(){this.setMod("mode",this.mode)}makeGroup(){return new d.UIGroup(this.jodit)}get buttons(){return this.allChildren.filter(e=>r.Component.isInstanceOf(e,u.UIButton))}getButtonsNames(){return this.buttons.map(e=>e instanceof u.UIButton&&e.state.name||"").filter(e=>""!==e)}setRemoveButtons(e){return this.removeButtons=e||[],this}build(e,t=null){let i;e=(0,c.splitArray)(e),this.clear();let n=!1,o=this.makeGroup();this.append(o),o.setMod("line",!0);let r=e=>{let r=null;switch(e.name){case"\n":(o=this.makeGroup()).setMod("line",!0),i=this.makeGroup(),o.append(i),this.append(o);break;case"|":n||(n=!0,r=new h.UISeparator(this.j));break;case"---":{i.setMod("before-spacer",!0);let e=new p.UISpacer(this.j);o.append(e),i=this.makeGroup(),o.append(i),n=!1;break}default:n=!1,r="select"===e.component?this.makeSelect(e,t):this.makeButton(e,t)}r&&(i||(i=this.makeGroup(),o.append(i)),i.append(r))},s=e=>{var t;return!this.removeButtons.includes(e.name)&&(!e.isVisible||(null==(t=e.isVisible)?void 0:t.call(e,this.j,e)))};return e.forEach(e=>{if((0,m.isButtonGroup)(e)){let t=e.buttons.filter(e=>e);t.length&&((i=this.makeGroup()).setMod("separated",!0).setMod("group",e.group),o.append(i),(0,g.getStrongControlTypes)(t,this.j.o.controls).filter(s).forEach(r))}else{i||(i=this.makeGroup(),o.append(i));let t=(0,f.getControlType)(e,this.j.o.controls);s(t)&&r(t)}}),this.update(),this}makeSelect(e,t){throw Error("Not implemented behaviour")}makeButton(e,t){return new u.UIButton(this.j,{name:e.name})}constructor(...e){super(...e),(0,n._)(this,"mode","horizontal"),(0,n._)(this,"removeButtons",[])}}(0,o.__decorate)([(0,l.watch)("mode"),(0,a.hook)("ready")],v.prototype,"__onChangeMode",null),v=(0,o.__decorate)([s.component],v)},98181:function(e){e.exports={"Line height":"Zeilenh\xf6he"}},98361:function(e){e.exports={"Line height":"גובה שורה"}},98394:function(e,t,i){"use strict";i.d(t,{CHANGE:function(){return r},INITIAL:function(){return a},REPLACE:function(){return l},UNSET:function(){return s},UNWRAP:function(){return o},WRAP:function(){return n},_PREFIX:function(){return c}});let n="wrap",o="unwrap",r="change",s="unset",a="initial",l="replace",c="commitStyle"},98595:function(e,t,i){"use strict";i.d(t,{Selection:function(){return m}});var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(23211),l=i(65946),c=i(28686),u=i(28712),d=i(7470),h=i(84578),p=i(42259);class m{get j(){return this.jodit}errorNode(e){if(!a.Dom.isNode(e))throw(0,l.error)("Parameter node must be instance of Node")}get area(){return this.j.editor}get win(){return this.j.ew}get doc(){return this.j.ed}get sel(){return this.j.o.shadowRoot&&(0,c.isFunction)(this.j.o.shadowRoot.getSelection)?this.j.o.shadowRoot.getSelection():this.win.getSelection()}get range(){let e=this.sel;return e&&e.rangeCount?e.getRangeAt(0):this.createRange()}get isInsideArea(){let{sel:e}=this,t=(null==e?void 0:e.rangeCount)?e.getRangeAt(0):null;return!(!t||!a.Dom.isOrContains(this.area,t.startContainer))}createRange(e=!1){let t=this.doc.createRange();return e&&this.selectRange(t),t}remove(){let e=this.sel,t=this.current();if(e&&t)for(let t=0;t<e.rangeCount;t+=1)e.getRangeAt(t).deleteContents(),e.getRangeAt(t).collapse(!0)}clear(){var e,t;(null==(e=this.sel)?void 0:e.rangeCount)&&(null==(t=this.sel)||t.removeAllRanges())}removeNode(e){if(!a.Dom.isOrContains(this.j.editor,e,!0))throw(0,l.error)("Selection.removeNode can remove only editor's children");a.Dom.safeRemove(e),this.j.e.fire("afterRemoveNode",e)}insertCursorAtPoint(e,t){this.removeMarkers();try{let i=this.createRange();return(()=>{if(this.doc.caretPositionFromPoint){let n=this.doc.caretPositionFromPoint(e,t);if(n)return i.setStart(n.offsetNode,n.offset)}if(this.doc.caretRangeFromPoint){let n=this.doc.caretRangeFromPoint(e,t);(0,u.assert)(n,"Incorrect caretRangeFromPoint behaviour"),i.setStart(n.startContainer,n.startOffset)}})(),i.collapse(!0),this.selectRange(i),!0}catch(e){}return!1}get hasMarkers(){return!!this.markers.length}get markers(){return(0,l.$$)("span[data-"+r.MARKER_CLASS+"]",this.area)}removeMarkers(){a.Dom.safeRemove.apply(null,this.markers)}marker(e=!1,t){let i=null;t&&(i=t.cloneRange()).collapse(e);let n=this.j.createInside.span();return n.id=r.MARKER_CLASS+"_"+Number(new Date)+"_"+String(Math.random()).slice(2),n.style.lineHeight="0",n.style.display="none",a.Dom.markTemporary(n),(0,l.attr)(n,"data-"+r.MARKER_CLASS,e?"start":"end"),n.appendChild(this.j.createInside.text(r.INVISIBLE_SPACE)),i&&a.Dom.isOrContains(this.area,e?i.startContainer:i.endContainer)&&i.insertNode(n),n}restore(){let e=!1,t=e=>`span[data-${r.MARKER_CLASS}=${e?"start":"end"}]`,i=this.area.querySelector(t(!0)),n=this.area.querySelector(t(!1));if(i){if(e=this.createRange(),n)e.setStartAfter(i),a.Dom.safeRemove(i),e.setEndBefore(n),a.Dom.safeRemove(n);else{let t=i.previousSibling;a.Dom.isText(t)?e.setStart(t,t.nodeValue?t.nodeValue.length:0):e.setStartBefore(i),a.Dom.safeRemove(i),e.collapse(!0)}e&&this.selectRange(e)}}fakes(){let e=this.sel;if(!e||!e.rangeCount)return[];let t=e.getRangeAt(0);(0,u.assert)(t,"Range is null");let i=t.cloneRange();i.collapse(!0);let n=this.j.createInside.fake();a.Dom.safeInsertNode(i,n),t.setStartBefore(n);let o=[n];if(!t.collapsed){let e=t.cloneRange();e.collapse(!1);let i=this.j.createInside.fake();a.Dom.safeInsertNode(e,i),t.setEndAfter(i),o.push(i)}return this.selectRange(t),o}restoreFakes(e){var t,i,n,o;let r=e.filter(e=>e.isConnected);if(!r.length)return;let[s,l]=r,c=this.createRange();c.setStartAfter(s),l&&c.setEndBefore(l),this.selectRange(c),(null==(t=s.parentNode)?void 0:t.firstChild)!==(null==(i=s.parentNode)?void 0:i.lastChild)&&a.Dom.safeRemove(s),(null==l||null==(n=l.parentNode)?void 0:n.firstChild)!==(null==l||null==(o=l.parentNode)?void 0:o.lastChild)&&a.Dom.safeRemove(l)}save(e=!1){if(this.hasMarkers)return[];let t=this.sel;if(!t||!t.rangeCount)return[];let i=[],n=t.rangeCount,o=[];for(let e=0;n>e;e+=1)if(o[e]=t.getRangeAt(e),o[e].collapsed){let t=this.marker(!0,o[e]);i[e]={startId:t.id,collapsed:!0,startMarker:t.outerHTML}}else{let t=this.marker(!0,o[e]),n=this.marker(!1,o[e]);i[e]={startId:t.id,endId:n.id,collapsed:!1,startMarker:t.outerHTML,endMarker:n.outerHTML}}if(!e){t.removeAllRanges();for(let e=n-1;e>=0;--e){let n=this.doc.getElementById(i[e].startId);if(n){if(i[e].collapsed)o[e].setStartAfter(n),o[e].collapse(!0);else if(o[e].setStartBefore(n),i[e].endId){let t=this.doc.getElementById(i[e].endId);t&&o[e].setEndAfter(t)}try{t.addRange(o[e].cloneRange())}catch(e){}}}}return i}focus(e={preventScroll:!0}){if(!this.isFocused()){let n=(0,l.getScrollParent)(this.j.container),o=null==n?void 0:n.scrollTop;this.j.iframe&&"complete"===this.doc.readyState&&this.j.iframe.focus(e),this.win.focus(),this.area.focus(e),o&&(null==n?void 0:n.scrollTo)&&n.scrollTo(0,o);let r=this.sel,s=(null==r?void 0:r.rangeCount)?null==r?void 0:r.getRangeAt(0):null;if(!s||!a.Dom.isOrContains(this.area,s.startContainer)){let e=this.createRange();e.setStart(this.area,0),e.collapse(!0),this.selectRange(e,!1)}if(!this.j.editorIsActive){var t,i;null==(i=this.j)||null==(t=i.events)||t.fire("focus")}return!0}return!1}isCollapsed(){let e=this.sel;for(let t=0;e&&t<e.rangeCount;t+=1)if(!e.getRangeAt(t).collapsed)return!1;return!0}isFocused(){return this.doc.hasFocus&&this.doc.hasFocus()&&this.area===this.doc.activeElement}current(e=!0){if(this.j.getRealMode()!==r.MODE_WYSIWYG)return null;let t=this.sel;if(!t||0===t.rangeCount)return null;let i=t.getRangeAt(0),n=i.startContainer,o=!1;if(a.Dom.isTag(n,"br")&&t.isCollapsed)return n;if(!a.Dom.isText(n)){let r=(0,p.findCorrectCurrentNode)(n,i,o,t.isCollapsed,e,e=>o?e.lastChild:e.firstChild);n=r.node,o=r.rightMode}return n&&a.Dom.isOrContains(this.area,n)?n:null}insertNode(e,t=!0,i=!0){this.errorNode(e);let n=a.Dom.isFragment(e)?e.lastChild:e;this.j.e.fire("safeHTML",e),!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore());let o=this.sel;this.j.history.snapshot.transaction(()=>{if(this.isCollapsed()||this.j.execCommand("Delete"),this.j.e.fire("beforeInsertNode",e),o&&o.rangeCount){let t=o.getRangeAt(0),{firstChild:i}=e;a.Dom.isOrContains(this.area,t.commonAncestorContainer)?a.Dom.safeInsertNode(t,e):this.area.appendChild(e),[()=>null==i?void 0:i.previousSibling,()=>null==i?void 0:i.previousSibling,()=>{var e;return null==i||null==(e=i.previousSibling)?void 0:e.lastChild}].forEach(e=>{let t=e();t&&a.Dom.isEmptyTextNode(t)&&a.Dom.safeRemove(t)})}else this.area.appendChild(e);let i=e=>{if(a.Dom.isBlock(e)){let t=e.lastChild;if(t)return i(t)}this.setCursorAfter(e)};t&&(a.Dom.isFragment(e)?n&&i(n):i(e)),this.j.o.scrollToPastedContent&&(0,l.scrollIntoViewIfNeeded)(null!=n?n:e,this.j.editor,this.doc)}),i&&this.j.events&&this.j.__imdSynchronizeValues(),this.j.events&&this.j.e.fire("afterInsertNode",a.Dom.isFragment(e)?n:e)}insertHTML(e,t=!0){if(""===e)return;let i=this.j.createInside.div(),n=this.j.createInside.fragment();if(!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore()),a.Dom.isNode(e)?i.appendChild(e):i.innerHTML=e.toString(),(this.j.isEditorMode()||!1!==this.j.e.fire("insertHTML",i.innerHTML))&&i.lastChild){for(;i.firstChild;)i.firstChild,n.appendChild(i.firstChild);this.insertNode(n,t,!1),this.j.__imdSynchronizeValues()}}insertImage(e,t=null,i=null){let n=(0,c.isString)(e)?this.j.createInside.element("img"):e;if((0,c.isString)(e)&&n.setAttribute("src",e),null!=i){let e=i.toString();e&&"auto"!==e&&0>String(e).indexOf("px")&&0>String(e).indexOf("%")&&(e+="px"),(0,l.attr)(n,"width",e)}t&&"object"==typeof t&&(0,l.css)(n,t);let o=()=>{(n.naturalHeight<n.offsetHeight||n.naturalWidth<n.offsetWidth)&&(n.style.width="",n.style.height=""),n.removeEventListener("load",o)};this.j.e.on(n,"load",o),n.complete&&o(),this.insertNode(n),this.j.e.fire("afterInsertImage",n)}eachSelection(e){var t;let i=this.sel;if(!i||!i.rangeCount)return;let n=i.getRangeAt(0),o=n.commonAncestorContainer;a.Dom.isHTMLElement(o)||(o=o.parentElement);let s=[],u=n.startOffset,d=o.childNodes.length,h=n.startContainer===this.area?o.childNodes[u<d?u:d-1]:n.startContainer,p=n.endContainer===this.area?o.childNodes[n.endOffset-1]:n.endContainer;a.Dom.isText(h)&&h===n.startContainer&&n.startOffset===(null==(t=h.nodeValue)?void 0:t.length)&&h.nextSibling&&(h=h.nextSibling),a.Dom.isText(p)&&p===n.endContainer&&0===n.endOffset&&p.previousSibling&&(p=p.previousSibling);let m=e=>{!e||e===o||a.Dom.isEmptyTextNode(e)||(0,c.isMarker)(e)||s.push(e)};m(h),h!==p&&a.Dom.isOrContains(o,h,!0)&&a.Dom.find(h,e=>(m(e),e===p||e&&e.contains&&e.contains(p)),o,!0,!1);let f=t=>{if(a.Dom.isOrContains(this.j.editor,t,!0)){if(t.nodeName.match(/^(UL|OL)$/))return(0,l.toArray)(t.childNodes).forEach(f);if(a.Dom.isTag(t,"li"))if(t.firstChild)t=t.firstChild;else{let e=this.j.createInside.text(r.INVISIBLE_SPACE);t.appendChild(e),t=e}e(t)}};0===s.length&&(a.Dom.isEmptyTextNode(h)&&s.push(h),h.firstChild&&s.push(h.firstChild)),s.forEach(f)}cursorInTheEdge(e,t,i=null){var n;let o=!e,r=null==(n=this.sel)?void 0:n.getRangeAt(0);if(null!=i||(i=this.current(!1)),!r||!i||!a.Dom.isOrContains(t,i,!0))return null;let s=e?r.startContainer:r.endContainer,c=e?r.startOffset:r.endOffset,u=e=>!!(e&&!a.Dom.isTag(e,"br")&&!a.Dom.isEmptyTextNode(e)&&!a.Dom.isTemporary(e)&&!(a.Dom.isElement(e)&&!0===this.j.e.fire("isInvisibleForCursor",e)));if(a.Dom.isText(s)){if((0,p.cursorInTheEdgeOfString)(s,c,e,o))return!1}else{let e=(0,l.toArray)(s.childNodes);if(o){if(e.slice(c).some(u))return!1}else if(e.slice(0,c).some(u))return!1}let d=i;for(;d&&d!==t;){let t=a.Dom.sibling(d,e);if(!t){d=d.parentNode;continue}if((d=t)&&u(d))return!1}return!0}cursorOnTheLeft(e,t){return this.cursorInTheEdge(!0,e,t)}cursorOnTheRight(e,t){return this.cursorInTheEdge(!1,e,t)}setCursorAfter(e){return this.setCursorNearWith(e,!1)}setCursorBefore(e){return this.setCursorNearWith(e,!0)}setCursorNearWith(e,t){if(this.errorNode(e),!a.Dom.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,l.error)("Node element must be in editor");let i=this.createRange(),n=null;if(a.Dom.isText(e))if(t)i.setStart(e,0);else{var o,r;i.setEnd(e,null!=(o=null==(r=e.nodeValue)?void 0:r.length)?o:0)}else n=this.j.createInside.fake(),t?i.setStartBefore(e):i.setEndAfter(e),i.collapse(t),a.Dom.safeInsertNode(i,n),i.selectNode(n);return i.collapse(t),this.selectRange(i),n}setCursorIn(e,t=!1){if(this.errorNode(e),!a.Dom.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,l.error)("Node element must be in editor");let i=this.createRange(),n=e,o=e;do{if(a.Dom.isText(n)||a.Dom.isTag(n,r.INSEPARABLE_TAGS))break;o=n,n=t?n.firstChild:n.lastChild}while(n);if(!n){let e=this.j.createInside.text(r.INVISIBLE_SPACE);a.Dom.isTag(o,r.INSEPARABLE_TAGS)?n=o:(o.appendChild(e),o=e)}let s=n||o;return a.Dom.isTag(s,r.INSEPARABLE_TAGS)?t||a.Dom.isTag(s,"br")?i.setStartBefore(s):i.setEndAfter(s):i.selectNodeContents(s),i.collapse(t),this.selectRange(i),o}selectRange(e,t=!0){let i=this.sel;return t&&!this.isFocused()&&this.focus(),i&&(i.removeAllRanges(),i.addRange(e)),this.j.e.fire("changeSelection"),this}select(e,t=!1){if(this.errorNode(e),!a.Dom.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,l.error)("Node element must be in editor");let i=this.createRange();return i[t?"selectNodeContents":"selectNode"](e),this.selectRange(i)}get html(){let e=this.sel;if(e&&e.rangeCount>0){let t=e.getRangeAt(0).cloneContents(),i=this.j.createInside.div();return i.appendChild(t),i.innerHTML}return""}*wrapInTagGen(e){if(this.isCollapsed()){let t=this.jodit.createInside.element("font",r.INVISIBLE_SPACE);this.insertNode(t,!1,!1),e&&e[0]&&t.appendChild(e[0]),yield t,a.Dom.unwrap(t);return}for(let e of((0,l.$$)("*[style*=font-size]",this.area).forEach(e=>{(0,l.attr)(e,"data-font-size",e.style.fontSize.toString()),e.style.removeProperty("font-size")}),this.j.nativeExecCommand("fontsize",!1,"7"),(0,l.$$)("*[data-font-size]",this.area).forEach(e=>{let t=(0,l.attr)(e,"data-font-size");t&&(e.style.fontSize=t,(0,l.attr)(e,"data-font-size",null))}),(0,l.$$)('font[size="7"]',this.area))){let{firstChild:t,lastChild:i}=e;if(t&&t===i&&(0,c.isMarker)(t)){a.Dom.unwrap(e);continue}t&&(0,c.isMarker)(t)&&a.Dom.before(e,t),i&&(0,c.isMarker)(i)&&a.Dom.after(e,i),yield e,a.Dom.unwrap(e)}}wrapInTag(e){let t=[];for(let i of this.wrapInTagGen())try{if(i.firstChild&&i.firstChild===i.lastChild&&(0,c.isMarker)(i.firstChild))continue;(0,c.isFunction)(e)?e(i):t.push(a.Dom.replace(i,e,this.j.createInside))}finally{let e=i.parentNode;e&&(a.Dom.unwrap(i),a.Dom.isEmpty(e)&&a.Dom.unwrap(e))}return t}commitStyle(e){(0,u.assert)((0,l.size)(e)>0,"Need to pass at least one option"),new h.CommitStyle(e).apply(this.j)}splitSelection(e,t){if(!this.isCollapsed())return null;let i=this.createRange(),n=this.range;i.setStartBefore(e);let o=this.cursorOnTheRight(e,t),s=this.cursorOnTheLeft(e,t),l=this.j.createInside.element("br"),c=this.j.createInside.fake(),d=c.cloneNode();try{if(o||s){t?a.Dom.before(t,l):a.Dom.safeInsertNode(n,l);let e=(e,t)=>{let i=t(e);for(;i;){let e=t(i);if(i&&(a.Dom.isTag(i,"br")||a.Dom.isEmptyTextNode(i)))a.Dom.safeRemove(i);else break;i=e}};e(l,e=>e.nextSibling),e(l,e=>e.previousSibling),a.Dom.after(l,d),a.Dom.before(l,c),o?(i.setEndBefore(l),n.setEndBefore(l)):(i.setEndAfter(l),n.setEndAfter(l))}else i.setEnd(n.startContainer,n.startOffset);let h=i.extractContents(),p=e=>a.Dom.each(e,e=>a.Dom.isEmptyTextNode(e)&&a.Dom.safeRemove(e));(0,u.assert)(e.parentNode,"Splitting fails");try{if(p(h),p(e),e.parentNode.insertBefore(h,e),!t&&o&&(null==l?void 0:l.parentNode)){let e=this.createRange();e.setStartBefore(l),this.selectRange(e)}}catch(e){if(!r.IS_PROD)throw e}let m=e=>{var t,i,n;(null==e||null==(t=e.parentNode)?void 0:t.firstChild)===(null==e||null==(i=e.parentNode)?void 0:i.lastChild)&&(null==e||null==(n=e.parentNode)||n.appendChild(l.cloneNode()))};m(c),m(d)}finally{a.Dom.safeRemove(c),a.Dom.safeRemove(d)}return e.previousElementSibling}expandSelection(){if(this.isCollapsed())return this;let{range:e}=this,t=e.cloneRange();if(!a.Dom.isOrContains(this.j.editor,e.commonAncestorContainer,!0))return this;let i=t=>{let i=this.j.createInside.fake(),n=e.cloneRange();return n.collapse(t),a.Dom.safeInsertNode(n,i),(0,d.moveTheNodeAlongTheEdgeOutward)(i,t,this.j.editor),i},n=i(!0),o=i(!1);t.setStartAfter(n),t.setEndBefore(o);let r=a.Dom.findSibling(n,!1),s=a.Dom.findSibling(o,!0);if(r!==s){let e=a.Dom.isElement(r)&&a.Dom.isOrContains(r,o),i=!e&&a.Dom.isElement(s)&&a.Dom.isOrContains(s,n);if(e||i){let i=e?r:s,l=i;for(;a.Dom.isElement(i);)(i=e?i.firstElementChild:i.lastElementChild)&&(e?a.Dom.isOrContains(i,o):a.Dom.isOrContains(i,n))&&(l=i);e?t.setStart(l,0):t.setEnd(l,l.childNodes.length)}}if(this.selectRange(t),a.Dom.safeRemove(n,o),this.isCollapsed())throw(0,l.error)("Selection is collapsed");return this}constructor(e){(0,n._)(this,"jodit",void 0),this.jodit=e,e.e.on("removeMarkers",()=>{this.removeMarkers()})}}(0,o.__decorate)([s.autobind],m.prototype,"createRange",null),(0,o.__decorate)([s.autobind],m.prototype,"focus",null),(0,o.__decorate)([s.autobind],m.prototype,"setCursorAfter",null),(0,o.__decorate)([s.autobind],m.prototype,"setCursorBefore",null),(0,o.__decorate)([s.autobind],m.prototype,"setCursorIn",null)},98710:function(e){e.exports={symbols:"simbol"}},98711:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/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"/> </svg>'},98740:function(e,t,i){"use strict";i.d(t,{hasBrowserColorPicker:function(){return o}});var n=i(81937);function o(){let e=!0;try{let t=n.globalDocument.createElement("input");t.type="color",t.value="!",e="color"===t.type&&"!"!==t.value}catch(t){e=!1}return e}},98792:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(28077),a=i(91206);i(60162);class l extends a.Plugin{afterInit(e){e.registerCommand("insertUnorderedList",this.onCommand).registerCommand("insertOrderedList",this.onCommand)}onCommand(e,t,i){return this.jodit.s.commitStyle({element:"insertunorderedlist"===e?"ul":"ol",attributes:{style:{listStyleType:null!=i?i:null}}}),this.jodit.synchronizeValues(),!1}beforeDestruct(e){}constructor(...e){super(...e),(0,n._)(this,"buttons",[{name:"ul",group:"list"},{name:"ol",group:"list"}])}}(0,o.__decorate)([r.autobind],l.prototype,"onCommand",null),s.pluginSystem.add("orderedList",l)},98803:function(e,t,i){"use strict";i.d(t,{Table:function(){return h}});var n=i(25045),o=i(31635),r=i(16964),s=i(81937),a=i(84839),l=i(27795),c=i(28077),u=i(65946);let d=new WeakMap;class h extends r.ViewComponent{className(){return"Table"}__recalculateStyles(){let e=(0,c.getContainer)(this.j,h,"style",!0),t=[];this.selected.forEach(e=>{let i=(0,u.cssPath)(e);i&&t.push(i)}),e.innerHTML=t.length?t.join(",")+`{${this.jodit.options.table.selectionCellStyle}}`:""}addSelection(e){this.selected.add(e),this.__recalculateStyles();let t=l.Dom.closest(e,"table",this.j.editor);if(t){let i=h.__selectedByTable.get(t)||new Set;i.add(e),h.__selectedByTable.set(t,i)}}removeSelection(e){this.selected.delete(e),this.__recalculateStyles();let t=l.Dom.closest(e,"table",this.j.editor);if(t){let i=h.__selectedByTable.get(t);i&&(i.delete(e),i.size||h.__selectedByTable.delete(t))}}getAllSelectedCells(){return(0,u.toArray)(this.selected)}static __getSelectedCellsByTable(e){let t=h.__selectedByTable.get(e);return t?(0,u.toArray)(t):[]}destruct(){return this.selected.clear(),super.destruct()}static __getRowsCount(e){return e.rows.length}getRowsCount(e){return h.__getRowsCount(e)}static __getColumnsCount(e){return h.__formalMatrix(e).reduce((e,t)=>Math.max(e,t.length),0)}getColumnsCount(e){return h.__getColumnsCount(e)}static __formalMatrix(e,t){let i=[[]],n=(0,u.toArray)(e.rows),o=(e,n)=>{void 0===i[n]&&(i[n]=[]);let o=e.colSpan,r=e.rowSpan,s,a,l=0;for(;i[n][l];)l+=1;for(a=0;r>a;a+=1)for(s=0;s<o;s+=1){if(void 0===i[n+a]&&(i[n+a]=[]),t&&!1===t(e,n+a,l+s,o,r))return!1;i[n+a][l+s]=e}};for(let e=0;e<n.length;e+=1){let t=(0,u.toArray)(n[e].cells);for(let n=0;n<t.length;n+=1)if(!1===o(t[n],e))return i}return i}formalMatrix(e,t){return h.__formalMatrix(e,t)}static __formalCoordinate(e,t,i=!1){let n=0,o=0,r=1,s=1;return h.__formalMatrix(e,(e,a,l,c,u)=>{if(t===e)return n=a,o=l,r=c||1,s=u||1,i&&(o+=(c||1)-1,n+=(u||1)-1),!1}),[n,o,r,s]}formalCoordinate(e,t,i=!1){return h.__formalCoordinate(e,t,i)}static __appendRow(e,t,i,n){let o;if(t)o=t.cloneNode(!0),(0,u.$$)("td,th",t).forEach(e=>{let t=(0,u.attr)(e,"rowspan");if(t&&parseInt(t,10)>1){let i=parseInt(t,10)-1;(0,u.attr)(e,"rowspan",i>1?i:null)}}),(0,u.$$)("td,th",o).forEach(e=>{e.innerHTML=""});else{let t=h.__getColumnsCount(e);o=n.element("tr");for(let e=0;e<t;e+=1)o.appendChild(n.element("td"))}if(i&&t&&t.nextSibling)t.parentNode&&t.parentNode.insertBefore(o,t.nextSibling);else if(!i&&t)t.parentNode&&t.parentNode.insertBefore(o,t);else{var r;((null==(r=e.getElementsByTagName("tbody"))?void 0:r[0])||e).appendChild(o)}}appendRow(e,t,i){return h.__appendRow(e,t,i,this.j.createInside)}static __removeRow(e,t){let i,n=h.__formalMatrix(e),o=e.rows[t];n[t].forEach((r,s)=>{if(i=!1,t-1>=0&&n[t-1][s]===r)i=!0;else if(n[t+1]&&n[t+1][s]===r){if(r.parentNode===o&&r.parentNode.nextSibling){i=!0;let o=s+1;for(;n[t+1][o]===r;)o+=1;let a=l.Dom.next(r.parentNode,e=>l.Dom.isTag(e,"tr"),e);a&&(n[t+1][o]?a.insertBefore(r,n[t+1][o]):a.appendChild(r))}}else l.Dom.safeRemove(r);if(i&&(r.parentNode===o||r!==n[t][s-1])){let e=r.rowSpan;(0,u.attr)(r,"rowspan",e-1>1?e-1:null)}}),l.Dom.safeRemove(o)}removeRow(e,t){return h.__removeRow(e,t)}appendColumn(e,t,i=!0){let n=h.__formalMatrix(e);if(!i&&l.Dom.isCell(t.previousElementSibling))return this.appendColumn(e,t.previousElementSibling,!0);let o=i?t.cellIndex+((t.colSpan||1)-1):t.cellIndex,r=i?o+1:o;for(let e=0;e<n.length;){let t=n[e];if(t[o]!==t[r]||o===r){let e=this.j.createInside.element("td");i?l.Dom.after(t[o],e):l.Dom.before(t[o],e),t[o].rowSpan>1&&(e.rowSpan=t[o].rowSpan)}else t[o].colSpan+=1;e+=t[o].rowSpan||1}}static __removeColumn(e,t){let i,n=h.__formalMatrix(e);n.forEach((e,o)=>{let r=e[t];if(i=!1,t-1>=0&&n[o][t-1]===r||t+1<e.length&&n[o][t+1]===r?i=!0:l.Dom.safeRemove(r),i&&(o-1<0||r!==n[o-1][t])){let e=r.colSpan;(0,u.attr)(r,"colspan",e-1>1?(e-1).toString():null)}})}removeColumn(e,t){return h.__removeColumn(e,t)}static __getSelectedBound(e,t){let i,n,o,r=[[1/0,1/0],[0,0]],s=h.__formalMatrix(e);for(i=0;i<s.length;i+=1)for(n=0;s[i]&&n<s[i].length;n+=1)t.includes(s[i][n])&&(r[0][0]=Math.min(i,r[0][0]),r[0][1]=Math.min(n,r[0][1]),r[1][0]=Math.max(i,r[1][0]),r[1][1]=Math.max(n,r[1][1]));for(i=r[0][0];i<=r[1][0];i+=1)for(o=1,n=r[0][1];n<=r[1][1];n+=1){for(;s[i]&&s[i][n-o]&&s[i][n]===s[i][n-o];)r[0][1]=Math.min(n-o,r[0][1]),r[1][1]=Math.max(n-o,r[1][1]),o+=1;for(o=1;s[i]&&s[i][n+o]&&s[i][n]===s[i][n+o];)r[0][1]=Math.min(n+o,r[0][1]),r[1][1]=Math.max(n+o,r[1][1]),o+=1;for(o=1;s[i-o]&&s[i][n]===s[i-o][n];)r[0][0]=Math.min(i-o,r[0][0]),r[1][0]=Math.max(i-o,r[1][0]),o+=1;for(o=1;s[i+o]&&s[i][n]===s[i+o][n];)r[0][0]=Math.min(i+o,r[0][0]),r[1][0]=Math.max(i+o,r[1][0]),o+=1}return r}getSelectedBound(e,t){return h.__getSelectedBound(e,t)}static __normalizeTable(e){let t=[],i=h.__formalMatrix(e);h.__removeExtraColspans(i,t),h.__removeExtraRowspans(i,t);for(let e=0;e<i.length;e+=1)for(let t=0;t<i[e].length;t+=1)void 0!==i[e][t]&&(i[e][t].hasAttribute("rowspan")&&1===i[e][t].rowSpan&&(0,u.attr)(i[e][t],"rowspan",null),i[e][t].hasAttribute("colspan")&&1===i[e][t].colSpan&&(0,u.attr)(i[e][t],"colspan",null),i[e][t].hasAttribute("class")&&!(0,u.attr)(i[e][t],"class")&&(0,u.attr)(i[e][t],"class",null));h.__unmark(t)}static __removeExtraColspans(e,t){for(let i=0;i<e[0].length;i+=1){let n=1e6,o=!1;for(let t=0;t<e.length;t+=1)if(void 0!==e[t][i]){if(e[t][i].colSpan<2){o=!0;break}n=Math.min(n,e[t][i].colSpan)}if(!o)for(let o=0;o<e.length;o+=1)void 0!==e[o][i]&&h.__mark(e[o][i],"colspan",e[o][i].colSpan-n+1,t)}}static __removeExtraRowspans(e,t){let i=0,n=0;for(i=0;i<e.length;i+=1){let o=1e6,r=!1;for(n=0;n<e[i].length;n+=1)if(void 0!==e[i][n]){if(e[i][n].rowSpan<2){r=!0;break}o=Math.min(o,e[i][n].rowSpan)}if(!r)for(n=0;n<e[i].length;n+=1)void 0!==e[i][n]&&h.__mark(e[i][n],"rowspan",e[i][n].rowSpan-o+1,t)}}normalizeTable(e){return h.__normalizeTable(e)}static __mergeSelected(e,t){let i=[],n=h.__getSelectedBound(e,h.__getSelectedCellsByTable(e)),o=0,r=null,a=0,c=0,d=0,m=new Set,f=[];n&&(n[0][0]-n[1][0]||n[0][1]-n[1][1])&&(h.__formalMatrix(e,(e,s,l,g,v)=>{s>=n[0][0]&&s<=n[1][0]&&l>=n[0][1]&&l<=n[1][1]&&(m.has(e)||(m.add(e),s===n[0][0]&&e.style.width&&(o+=e.offsetWidth),""!==(0,u.trim)(e.innerHTML.replace(/<br(\/)?>/g,""))&&i.push(e.innerHTML),g>1&&(c+=g-1),v>1&&(d+=v-1),r?(h.__mark(e,"remove",1,f),p(t).removeSelection(e)):(r=e,a=l)))}),c=n[1][1]-n[0][1]+1,d=n[1][0]-n[0][0]+1,r&&(c>1&&h.__mark(r,"colspan",c,f),d>1&&h.__mark(r,"rowspan",d,f),o&&(h.__mark(r,"width",(o/e.offsetWidth*100).toFixed(s.ACCURACY)+"%",f),a&&h.__setColumnWidthByDelta(e,a,0,!0,f)),r.innerHTML=i.join("<br/>"),p(t).addSelection(r),m.delete(r),h.__unmark(f),h.__normalizeTable(e),(0,u.toArray)(e.rows).forEach(e=>{e.cells.length||l.Dom.safeRemove(e)})))}mergeSelected(e){return h.__mergeSelected(e,this.j)}static __splitHorizontal(e,t){let i,n,o,r,s,a=[];h.__getSelectedCellsByTable(e).forEach(c=>{(n=t.createInside.element("td")).appendChild(t.createInside.element("br")),o=t.createInside.element("tr"),i=h.__formalCoordinate(e,c),c.rowSpan<2?(h.__formalMatrix(e,(e,t,n)=>{i[0]===t&&i[1]!==n&&e!==c&&h.__mark(e,"rowspan",e.rowSpan+1,a)}),l.Dom.after(l.Dom.closest(c,"tr",e),o),o.appendChild(n)):(h.__mark(c,"rowspan",c.rowSpan-1,a),h.__formalMatrix(e,(t,n,o)=>{n>i[0]&&n<i[0]+c.rowSpan&&i[1]>o&&t.parentNode.rowIndex===n&&(s=t),i[0]<n&&t===c&&(r=e.rows[n])}),s?l.Dom.after(s,n):r.insertBefore(n,r.firstChild)),c.colSpan>1&&h.__mark(n,"colspan",c.colSpan,a),h.__unmark(a),p(t).removeSelection(c)}),this.__normalizeTable(e)}splitHorizontal(e){return h.__splitHorizontal(e,this.j)}static __splitVertical(e,t){let i,n,o,r=[];h.__getSelectedCellsByTable(e).forEach(a=>{i=h.__formalCoordinate(e,a),a.colSpan<2?h.__formalMatrix(e,(e,t,n)=>{i[1]===n&&i[0]!==t&&e!==a&&h.__mark(e,"colspan",e.colSpan+1,r)}):h.__mark(a,"colspan",a.colSpan-1,r),(n=t.createInside.element("td")).appendChild(t.createInside.element("br")),a.rowSpan>1&&h.__mark(n,"rowspan",a.rowSpan,r);let c=a.offsetWidth;l.Dom.after(a,n),o=c/e.offsetWidth/2,h.__mark(a,"width",(100*o).toFixed(s.ACCURACY)+"%",r),h.__mark(n,"width",(100*o).toFixed(s.ACCURACY)+"%",r),h.__unmark(r),p(t).removeSelection(a)}),h.__normalizeTable(e)}splitVertical(e){return h.__splitVertical(e,this.j)}static __setColumnWidthByDelta(e,t,i,n,o){let r=h.__formalMatrix(e),a=0;for(let n=0;n<r.length;n+=1){let l=r[n][t];if(l.colSpan>1&&r.length>1)continue;let c=(l.offsetWidth+i)/e.offsetWidth*100;h.__mark(l,"width",c.toFixed(s.ACCURACY)+"%",o),a=n;break}for(let e=a+1;e<r.length;e+=1){let i=r[e][t];h.__mark(i,"width",null,o)}n||h.__unmark(o)}setColumnWidthByDelta(e,t,i,n,o){return h.__setColumnWidthByDelta(e,t,i,n,o)}static __mark(e,t,i,n){var o;n.push(e);let r=null!=(o=d.get(e))?o:{};r[t]=void 0===i?1:i,d.set(e,r)}static __unmark(e){e.forEach(e=>{let t=d.get(e);t&&(Object.keys(t).forEach(i=>{let n=t[i];switch(i){case"remove":l.Dom.safeRemove(e);break;case"rowspan":(0,u.attr)(e,"rowspan",(0,u.isNumber)(n)&&n>1?n:null);break;case"colspan":(0,u.attr)(e,"colspan",(0,u.isNumber)(n)&&n>1?n:null);break;case"width":null==n?(e.style.removeProperty("width"),(0,u.attr)(e,"style")||(0,u.attr)(e,"style",null)):e.style.width=n.toString()}delete t[i]}),d.delete(e))})}constructor(...e){super(...e),(0,n._)(this,"selected",new Set)}}(0,n._)(h,"__selectedByTable",new WeakMap),(0,o.__decorate)([(0,a.debounce)()],h.prototype,"__recalculateStyles",null);let p=e=>e.getInstance("Table",e.o)},98831:function(e,t,i){"use strict";i.d(t,{normalizeSize:function(){return n}});let n=(e,t)=>/^[0-9]+$/.test(e.toString())?e+t:e.toString()},98838:function(e,t,i){"use strict";i.d(t,{UIForm:function(){return u}});var n=i(31635),o=i(80251),r=i(91672),s=i(93640),a=i(65273),l=i(49999),c=i(63468);class u extends c.UIGroup{className(){return"UIForm"}submit(){this.j.e.fire(this.container,"submit")}validate(){for(let e of this.allChildren.filter(e=>o.Component.isInstanceOf(e,a.UIInput)))if(!e.validate())return!1;for(let e of this.allChildren.filter(e=>o.Component.isInstanceOf(e,l.UISelect)))if(!e.validate())return!1;return!0}onSubmit(e){return this.j.e.on(this.container,"submit",()=>{let t=this.allChildren.filter(e=>o.Component.isInstanceOf(e,a.UIInput));return!!this.validate()&&(e(t.reduce((e,t)=>(e[t.state.name]=t.value,e),{})),!1)}),this}createContainer(){let e=this.j.c.element("form");return e.classList.add(this.componentName),(0,s.attr)(e,"dir",this.j.o.direction||"auto"),(0,s.attr)(e,"novalidate",""),e}constructor(...e){var t,i;super(...e),(null==(t=this.options)?void 0:t.className)&&this.container.classList.add(null==(i=this.options)?void 0:i.className)}}u=(0,n.__decorate)([r.component],u)},98964:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1152 1376v-160q0-14-9-23t-23-9h-96v-512q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896v-160q0-14-9-23t-23-9h-192q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"/> </svg>'},98988:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(23211),a=i(28077),l=i(57821),c=i(91206),u=i(4099);i(47670);class d extends c.Plugin{afterInit(e){this.proxyEventsList.forEach(t=>{e.e.on(t+".select",this.onStartSelection)})}beforeDestruct(e){this.proxyEventsList.forEach(t=>{e.e.on(t+".select",this.onStartSelection)})}onStartSelection(e){let{j:t}=this,i,n=e.target;for(;void 0===i&&n&&n!==t.editor;)i=t.e.fire((0,l.camelCase)(e.type+"_"+n.nodeName.toLowerCase()),n,e),n=n.parentElement;"click"===e.type&&void 0===i&&n===t.editor&&t.e.fire(e.type+"Editor",n,e)}onOutsideClick(e){let t=e.target;s.Dom.up(t,e=>e===this.j.editor)||u.UIElement.closestElement(t,u.Popup)||this.j.e.fire("outsideClick",e)}beforeCommandCut(){let{s:e}=this.j;if(!e.isCollapsed()){let t=e.current();t&&s.Dom.isOrContains(this.j.editor,t)&&this.onCopyNormalizeSelectionBound()}}beforeCommandSelectAll(){let{s:e}=this.j;return e.focus(),e.select(this.j.editor,!0),e.expandSelection(),!1}onTripleClickNormalizeSelection(e){if(3!==e.detail||!this.j.o.select.normalizeTripleClick)return;let{s:t}=this.j,{startContainer:i,startOffset:n}=t.range;0===n&&s.Dom.isText(i)&&t.select(s.Dom.closest(i,s.Dom.isBlock,this.j.editor)||i,!0)}onCopyNormalizeSelectionBound(e){let{s:t,editor:i,o:n}=this.j;!n.select.normalizeSelectionBeforeCutAndCopy||t.isCollapsed()||(!e||e.isTrusted&&s.Dom.isNode(e.target)&&s.Dom.isOrContains(i,e.target))&&this.jodit.s.expandSelection()}constructor(...e){super(...e),(0,n._)(this,"proxyEventsList",["click","mousedown","touchstart","mouseup","touchend"])}}(0,o.__decorate)([r.autobind],d.prototype,"onStartSelection",null),(0,o.__decorate)([(0,r.watch)("ow:click")],d.prototype,"onOutsideClick",null),(0,o.__decorate)([(0,r.watch)([":beforeCommandCut"])],d.prototype,"beforeCommandCut",null),(0,o.__decorate)([(0,r.watch)([":beforeCommandSelectall"])],d.prototype,"beforeCommandSelectAll",null),(0,o.__decorate)([(0,r.watch)([":click"])],d.prototype,"onTripleClickNormalizeSelection",null),(0,o.__decorate)([(0,r.watch)([":copy",":cut"])],d.prototype,"onCopyNormalizeSelectionBound",null),a.pluginSystem.add("select",d)},99436:function(e,t,i){"use strict";function n(e){return e.length?e[0].toUpperCase()+e.substring(1):""}i.d(t,{ucfirst:function(){return n}})},99732:function(e,t,i){"use strict";i.d(t,{isInt:function(){return r}});var n=i(70222),o=i(85932);function r(e){return(0,o.isString)(e)&&(0,n.isNumeric)(e)&&(e=parseFloat(e)),"number"==typeof e&&Number.isFinite(e)&&!(e%1)}},99876:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1344 1472q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm256 0q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128-224v320q0 40-28 68t-68 28h-1472q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h427q21 56 70.5 92t110.5 36h256q61 0 110.5-36t70.5-92h427q40 0 68 28t28 68zm-325-648q-17 40-59 40h-256v448q0 26-19 45t-45 19h-256q-26 0-45-19t-19-45v-448h-256q-42 0-59-40-17-39 14-69l448-448q18-19 45-19t45 19l448 448q31 30 14 69z"/> </svg>'}},r={};function s(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,s),i.exports}s.m=o,e=[],s.O=function(t,i,n,o){if(i){o=o||0;for(var r=e.length;r>0&&e[r-1][2]>o;r--)e[r]=e[r-1];e[r]=[i,n,o];return}for(var a=1/0,r=0;r<e.length;r++){for(var i=e[r][0],n=e[r][1],o=e[r][2],l=!0,c=0;c<i.length;c++)(!1&o||a>=o)&&Object.keys(s.O).every(function(e){return s.O[e](i[c])})?i.splice(c--,1):(l=!1,o<a&&(a=o));if(l){e.splice(r--,1);var u=n();void 0!==u&&(t=u)}}return t},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,{a:t}),t},s.d=function(e,t){for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.r=function(e){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t={521:0},s.O.j=function(e){return 0===t[e]},i=function(e,i){var n,o,r=i[0],a=i[1],l=i[2],c=0;if(r.some(function(e){return 0!==t[e]})){for(n in a)s.o(a,n)&&(s.m[n]=a[n]);if(l)var u=l(s)}for(e&&e(i);c<r.length;c++)o=r[c],s.o(t,o)&&t[o]&&t[o][0](),t[o]=0;return s.O(u)},(n=self.webpackChunkjodit=self.webpackChunkjodit||[]).forEach(i.bind(null,0)),n.push=i.bind(null,n.push.bind(n));var a={};return!function(){"use strict";s.r(a),s.d(a,{CommitMode:function(){return u},Jodit:function(){return e.Jodit}});var e=s(73302),t=s(28686),i=s(81937),n=s(84839),o=s(60936),r=s(13564),l=s(89317);s(93637),Object.keys(i).forEach(t=>{e.Jodit[t]=i[t]});let c=e=>"__esModule"!==e;Object.keys(r).filter(c).forEach(e=>{o.Icon.set(e.replace("_","-"),r[e])}),Object.keys(o).filter(c).forEach(i=>{var n;let r=o[i],s=(0,t.isFunction)(null==(n=r.prototype)?void 0:n.className)?r.prototype.className():i;(0,t.isString)(s)&&(e.Jodit.modules[s]=r)}),Object.keys(n).filter(c).forEach(t=>{e.Jodit.decorators[t]=n[t]}),["Confirm","Alert","Prompt"].forEach(t=>{e.Jodit[t]=o[t]}),Object.keys(l.default).filter(c).forEach(t=>{e.Jodit.lang[t]=l.default[t]});class u{}}(),a=s.O(a)}()});
254
+ </div>`),(0,r.css)(t.dialog,{minHeight:200,minWidth:420}),t.open(!0,!0)},tooltip:"About Jodit",mode:n.MODE_SOURCE+n.MODE_WYSIWYG},o.pluginSystem.add("about",function(e){e.registerButton({name:"about",group:"info"})}),s.Icon.set("about",c())},94561:function(e,t,i){"use strict";i.d(t,{removeEmptyTextNode:function(){return o}});var n=i(23211);function o(e,t,i,o,r,s){return n.Dom.isText(t)&&!t.nodeValue?(t===s&&e.s.isCollapsed()&&e.s.setCursorAfter(t),n.Dom.safeRemove(t),!0):i}},94806:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M640 768h512v-192q0-106-75-181t-181-75-181 75-75 181v192zm832 96v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h32v-192q0-184 132-316t316-132 316 132 132 316v192h32q40 0 68 28t28 68z"/></svg>'},94925:function(e,t,i){"use strict";i.d(t,{Uploader:function(){return c}});var n=i(25045),o=i(16964),r=i(81937),s=i(65946),a=i(5266),l=i(11981);i(40013);class c extends o.ViewComponent{get j(){return this.jodit}className(){return"Uploader"}get o(){return this.options}setPath(e){return this.path=e,this}setSource(e){return this.source=e,this}bind(e,t,i){let n=()=>{e.classList.remove("jodit_drag_hover")},o=this,s=e=>{let s,a,c,u=e.clipboardData,d=e=>{a&&(e.append("extension",c),e.append("mimetype",a.type))};if(!r.IS_IE&&(0,l.hasFiles)(u))return(0,l.sendFiles)(o,u.files,t,i).finally(n),!1;if(r.IS_IE&&!r.IS_ES_NEXT)return(0,l.processOldBrowserDrag)(o,u,t,i,n);if((0,l.hasItems)(u)){let{items:r}=u;for(s=0;s<r.length;s+=1)if("file"===r[s].kind&&"image/png"===r[s].type){if(a=r[s].getAsFile()){let e=a.type.match(/\/([a-z0-9]+)/i);c=e[1]?e[1].toLowerCase():"",(0,l.sendFiles)(o,[a],t,i,d).finally(n)}e.preventDefault();break}}};o.j&&o.j.editor!==e?o.j.e.on(e,"paste",s):o.j.e.on("beforePaste",s),this.attachEvents(e,t,i,n)}attachEvents(e,t,i,n){let o=this;o.j.e.on(e,"dragend dragover dragenter dragleave drop",e=>{e.preventDefault()}).on(e,"dragover",t=>{((0,l.hasFiles)(t.dataTransfer)||(0,l.hasItems)(t.dataTransfer))&&(e.classList.add("jodit_drag_hover"),t.preventDefault())}).on(e,"dragend dragleave",t=>{e.classList.remove("jodit_drag_hover"),(0,l.hasFiles)(t.dataTransfer)&&t.preventDefault()}).on(e,"drop",r=>{e.classList.remove("jodit_drag_hover"),(0,l.hasFiles)(r.dataTransfer)&&(r.preventDefault(),r.stopImmediatePropagation(),(0,l.sendFiles)(o,r.dataTransfer.files,t,i).finally(n))});let r=e.querySelector("input[type=file]");r&&o.j.e.on(r,"change",()=>{(0,l.sendFiles)(o,r.files,t,i).then(()=>{r.value="",/safari/i.test(navigator.userAgent)||(r.type="",r.type="file")}).finally(n)})}uploadRemoteImage(e,t,i){let n=this,{o}=n,r=(0,s.isFunction)(i)?i:o.defaultHandlerError;(0,l.send)(n,{action:"fileUploadRemote",url:e}).then(e=>{o.isSuccess.call(n,e)?((0,s.isFunction)(t)?t:o.defaultHandlerSuccess).call(n,o.process.call(n,e)):r.call(n,(0,s.error)(o.getMessage.call(n,e)))}).catch(e=>r.call(n,e))}upload(e){return this.async.promise((t,i)=>{(0,l.sendFiles)(this,e,t,i)})}destruct(){this.setStatus(o.STATUSES.beforeDestruct);let e=l.ajaxInstances.get(this);e&&(e.forEach(e=>{try{e.destruct()}catch(e){}}),e.clear()),super.destruct()}constructor(e,t){super(e),(0,n._)(this,"path",""),(0,n._)(this,"source","default"),(0,n._)(this,"options",void 0),this.options=(0,s.ConfigProto)(t||{},(0,s.ConfigProto)(a.Config.defaultOptions.uploader,(0,s.isJoditObject)(e)?e.o.uploader:{}))}}},94978:function(e,t,i){"use strict";i.d(t,{AceEditor:function(){return a}});var n=i(25045),o=i(81937),r=i(65946),s=i(94193);class a extends s.SourceEditor{aceExists(){return void 0!==this.j.ow.ace}getLastColumnIndex(e){return this.instance.session.getLine(e).length}getLastColumnIndices(){let e=this.instance.session.getLength(),t=[],i=0;for(let n=0;e>n;n++)i+=this.getLastColumnIndex(n),n>0&&(i+=1),t[n]=i;return t}getRowColumnIndices(e){let t=this.getLastColumnIndices();if(e<=t[0])return{row:0,column:e};let i=1;for(let n=1;n<t.length;n++)e>t[n]&&(i=n+1);let n=e-t[i-1]-1;return{row:i,column:n}}setSelectionRangeIndices(e,t){let i=this.getRowColumnIndices(e),n=this.getRowColumnIndices(t);this.instance.getSelection().setSelectionRange({start:i,end:n})}getIndexByRowColumn(e,t){return this.getLastColumnIndices()[e]-this.getLastColumnIndex(e)+t}init(e){let t=()=>{if(void 0!==this.instance||!this.aceExists())return;let t=this.j.c.div("jodit-source__mirror-fake");this.container.appendChild(t);let i=e.ow.ace;this.instance=i.edit(t),"rtl"===e.o.direction&&(this.instance.setOption("rtlText",!0),this.instance.setOption("rtl",!0)),this.instance.setTheme(e.o.sourceEditorNativeOptions.theme),this.instance.renderer.setShowGutter(e.o.sourceEditorNativeOptions.showGutter),this.instance.getSession().setMode(e.o.sourceEditorNativeOptions.mode),this.instance.setHighlightActiveLine(e.o.sourceEditorNativeOptions.highlightActiveLine),this.instance.getSession().setUseWrapMode(!0),this.instance.setOption("indentedSoftWrap",!1),this.instance.setOption("wrap",e.o.sourceEditorNativeOptions.wrap),this.instance.getSession().setUseWorker(!1),this.instance.$blockScrolling=1/0,this.instance.on("change",this.toWYSIWYG),this.instance.on("focus",this.proxyOnFocus),this.instance.on("mousedown",this.proxyOnMouseDown),this.instance.on("blur",this.proxyOnBlur),e.getRealMode()!==o.MODE_WYSIWYG&&this.setValue(this.getValue());let n=this.j.async.throttle(()=>{if(e.isInDestruct||e.getMode()===o.MODE_WYSIWYG)return;let t=this.instance.isFocused();"auto"!==e.o.height?this.instance.setOption("maxLines",e.workplace.offsetHeight/this.instance.renderer.lineHeight):this.instance.setOption("maxLines",1/0),this.instance.resize(),t&&this.focus()},2*this.j.defaultTimeout);e.e.on(e,"resize",n).on("afterResize afterSetMode",n),n(),this.onReady()},i=()=>{e.isInDestruct||e.getRealMode()!==o.MODE_SOURCE&&e.getMode()!==o.MODE_SPLIT||(this.fromWYSIWYG(),t())};e.e.on("afterSetMode",i),i(),this.aceExists()||(0,r.loadNext)(e,e.o.sourceEditorCDNUrlsJS).then(i).catch(()=>null)}destruct(){var e,t;this.instance.off("change",this.toWYSIWYG),this.instance.off("focus",this.proxyOnFocus),this.instance.off("mousedown",this.proxyOnMouseDown),this.instance.destroy(),null==(t=this.j)||null==(e=t.events)||e.off("aceInited.source")}setValue(e){if(!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){let t=this.j.e.fire("beautifyHTML",e);(0,r.isString)(t)&&(e=t)}this.instance.setValue(e),this.instance.clearSelection()}getValue(){return this.instance.getValue()}setReadOnly(e){this.instance.setReadOnly(e)}get isFocused(){return this.instance.isFocused()}focus(){this.instance.container.focus(),this.instance.focus()}blur(){this.instance.blur()}getSelectionStart(){let e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.start.row,e.start.column)}getSelectionEnd(){let e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.end.row,e.end.column)}selectAll(){this.instance.selection.selectAll()}insertRaw(e){let t=this.instance.selection.getCursor(),i=this.instance.session.insert(t,e);this.instance.selection.setRange({start:t,end:i},!1)}setSelectionRange(e,t){this.setSelectionRangeIndices(e,t)}setPlaceHolder(e){}replaceUndoManager(){let{history:e}=this.jodit;this.instance.commands.addCommand({name:"Undo",bindKey:{win:"Ctrl-Z",mac:"Command-Z"},exec:()=>{e.undo()}}),this.instance.commands.addCommand({name:"Redo",bindKey:{win:"Ctrl-Shift-Z",mac:"Command-Shift-Z"},exec:()=>{e.redo()}})}constructor(...e){super(...e),(0,n._)(this,"className","jodit_ace_editor"),(0,n._)(this,"proxyOnBlur",e=>{this.j.e.fire("blur",e)}),(0,n._)(this,"proxyOnFocus",e=>{this.j.e.fire("focus",e)}),(0,n._)(this,"proxyOnMouseDown",e=>{this.j.e.fire("mousedown",e)})}}},95032:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1520 1216q0-40-28-68l-208-208q-28-28-68-28-42 0-72 32 3 3 19 18.5t21.5 21.5 15 19 13 25.5 3.5 27.5q0 40-28 68t-68 28q-15 0-27.5-3.5t-25.5-13-19-15-21.5-21.5-18.5-19q-33 31-33 73 0 40 28 68l206 207q27 27 68 27 40 0 68-26l147-146q28-28 28-67zm-703-705q0-40-28-68l-206-207q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l208 208q27 27 68 27 42 0 72-31-3-3-19-18.5t-21.5-21.5-15-19-13-25.5-3.5-27.5q0-40 28-68t68-28q15 0 27.5 3.5t25.5 13 19 15 21.5 21.5 18.5 19q33-31 33-73zm895 705q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-206-207q-83-83-83-203 0-123 88-209l-88-88q-86 88-208 88-120 0-204-84l-208-208q-84-84-84-204t85-203l147-146q83-83 203-83 121 0 204 85l206 207q83 83 83 203 0 123-88 209l88 88q86-88 208-88 120 0 204 84l208 208q84 84 84 204z"/> </svg>'},95042:function(e){e.exports={Spellcheck:"拼字檢查"}},95134:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5t-316.5 131.5-316.5-131.5-131.5-316.5q0-121 61-225-229 117-381 353 133 205 333.5 326.5t434.5 121.5 434.5-121.5 333.5-326.5zm-720-384q0-20-14-34t-34-14q-125 0-214.5 89.5t-89.5 214.5q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5t-499.5 138.5-499.5-139-376.5-368q-20-35-20-69t20-69q140-229 376.5-368t499.5-139 499.5 139 376.5 368q20 35 20 69z"/> </svg>'},95320:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 18 18"> <g fill-rule="evenodd" stroke="none" stroke-width="1"> <g transform="translate(-381.000000, -381.000000)"> <g transform="translate(381.000000, 381.000000)"> <path d="M0,2 L2,2 L2,0 C0.9,0 0,0.9 0,2 L0,2 Z M0,10 L2,10 L2,8 L0,8 L0,10 L0,10 Z M4,18 L6,18 L6,16 L4,16 L4,18 L4,18 Z M0,6 L2,6 L2,4 L0,4 L0,6 L0,6 Z M10,0 L8,0 L8,2 L10,2 L10,0 L10,0 Z M16,0 L16,2 L18,2 C18,0.9 17.1,0 16,0 L16,0 Z M2,18 L2,16 L0,16 C0,17.1 0.9,18 2,18 L2,18 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M6,0 L4,0 L4,2 L6,2 L6,0 L6,0 Z M8,18 L10,18 L10,16 L8,16 L8,18 L8,18 Z M16,10 L18,10 L18,8 L16,8 L16,10 L16,10 Z M16,18 C17.1,18 18,17.1 18,16 L16,16 L16,18 L16,18 Z M16,6 L18,6 L18,4 L16,4 L16,6 L16,6 Z M16,14 L18,14 L18,12 L16,12 L16,14 L16,14 Z M12,18 L14,18 L14,16 L12,16 L12,18 L12,18 Z M12,2 L14,2 L14,0 L12,0 L12,2 L12,2 Z M4,14 L14,14 L14,4 L4,4 L4,14 L4,14 Z M6,6 L12,6 L12,12 L6,12 L6,6 L6,6 Z"/> </g> </g> </g> </svg>'},95399:function(e,t,i){"use strict";i.d(t,{UITooltip:function(){return m}});var n=i(25045),o=i(31635),r=i(16964),s=i(84839),a=i(27795),l=i(28077),c=i(23599),u=i(93640),d=i(96007);let h=["scroll.tooltip","joditCloseDialog","mouseleave.tooltip"],p=["escape.tooltip","change.tooltip","changePlace.tooltip","afterOpenPopup.tooltip","hidePopup.tooltip","beforePopupClose.tooltip","closeAllPopups.tooltip"];class m extends d.UIElement{className(){return"UITooltip"}render(){return'<div><div class="&__content"></div></div>'}__onAttach(e){(0,l.getContainer)(this.j,m).appendChild(this.container),this.__attachedContainers.add(e),this.__attachedContainers.add(this.j.container),this.j.e.on(e,"mouseenter.tooltip",this.__onMouseEnter,{capture:!0}).on(e,"mouseleave.tooltip",this.__onMouseLeave,{capture:!0}).on(this.j.container,"mouseleave.tooltip",this.__onMouseLeave,{capture:!0})}__addListenersOnEnter(){if(this.__listenClose)return;this.__listenClose=!0;let e=this.j;e.e.on(e.ow,h,this.__hide).on(p,this.__hide)}__removeListenersOnLeave(){if(!this.__listenClose)return;this.__listenClose=!1;let e=this.j;e.e.off(e.ow,h,this.__hide).off(p,this.__hide)}__onMouseLeave(e){this.__currentTarget===e.target&&(this.__hideDelay(),this.__currentTarget=null)}__onMouseEnter(e){if(!a.Dom.isHTMLElement(e.target))return;let t=(0,u.attr)(e.target,"aria-label");if(!t||(0,u.attr)(e.target,"disabled")||!e.target.className.includes("jodit"))return;this.__currentTarget=e.target;let i=e.target;this.__open(()=>{let e=(0,c.position)(i);return{x:e.left+e.width/2,y:e.top+e.height}},t)}__open(e,t){this.__addListenersOnEnter(),this.__isOpened=!0,this.j.async.clearTimeout(this.__hideTimeout),this.j.async.clearTimeout(this.__delayShowTimeout);let i=this.j.o.showTooltipDelay||this.j.defaultTimeout;i?this.__delayShowTimeout=this.j.async.setTimeout(()=>this.__show(e,t),i):this.__show(e,t)}__show(e,t){this.setMod("visible",!0),this.getElm("content").innerHTML=t;let i=e();(0,u.css)(this.container,{left:i.x,top:i.y})}__hide(){this.j.async.clearTimeout(this.__delayShowTimeout),this.j.async.clearTimeout(this.__hideTimeout),this.__removeListenersOnLeave(),this.__isOpened&&(this.__isOpened=!1,this.setMod("visible",!1),this.getElm("content").innerHTML="",(0,u.css)(this.container,{left:-5e3}))}__hideDelay(){this.j.async.clearTimeout(this.__delayShowTimeout),this.j.async.clearTimeout(this.__hideTimeout),this.__isOpened&&(this.__hideTimeout=this.async.setTimeout(this.__hide,this.j.defaultTimeout))}destruct(){this.__attachedContainers.forEach(e=>{this.j.e.off(e,"mouseenter.tooltip",this.__onMouseEnter).off(e,"mouseleave.tooltip",this.__onMouseLeave)}),this.__hide(),super.destruct()}constructor(e){super(e),(0,n._)(this,"__isOpened",!1),(0,n._)(this,"__attachedContainers",new Set),(0,n._)(this,"__listenClose",!1),(0,n._)(this,"__currentTarget",null),(0,n._)(this,"__delayShowTimeout",0),(0,n._)(this,"__hideTimeout",0),e.o.textIcons||!e.o.showTooltip||e.o.useNativeTooltip||(this.j.e.on("getContainer",e=>{this.__onAttach(e)}),e.hookStatus(r.STATUSES.ready,()=>{this.__onAttach(this.j.container)}))}}(0,o.__decorate)([s.autobind],m.prototype,"__onMouseLeave",null),(0,o.__decorate)([s.autobind],m.prototype,"__onMouseEnter",null),(0,o.__decorate)([s.autobind],m.prototype,"__hide",null),(0,o.__decorate)([s.autobind],m.prototype,"__hideDelay",null),m=(0,o.__decorate)([s.component],m)},95436:function(e,t,i){"use strict";i.d(t,{processOldBrowserDrag:function(){return c}});var n=i(81937),o=i(27795),r=i(28077),s=i(65946),a=i(23112),l=i(46533);function c(e,t,i,c,u){if(t&&(!t.types.length||t.types[0]!==n.TEXT_PLAIN)){let t=e.j.c.div("",{tabindex:-1,style:"left: -9999px; top: 0; width: 0; height: 100%;line-height: 140%; overflow: hidden; position: fixed; z-index: 2147483647; word-break: break-all;",contenteditable:!0});(0,r.getContainer)(e.j,e.constructor).appendChild(t);let n=(0,s.isJoditObject)(e.j)?e.j.s.save():null;t.focus(),e.j.async.setTimeout(()=>{let r=t.firstChild;if(o.Dom.safeRemove(t),r&&r.hasAttribute("src")){let t=(0,s.attr)(r,"src")||"";n&&(0,s.isJoditObject)(e.j)&&e.j.s.restore(),(0,l.sendFiles)(e,[(0,a.dataURItoBlob)(t)],i,c).finally(u)}},e.j.defaultTimeout)}}},95461:function(e){e.exports.default=["Bitte geben Sie einen Text ein","\xdcber Jodit","Jodit Editor","Das Jodit Benutzerhandbuch","beinhaltet ausf\xfchrliche Informationen wie Sie den Editor verwenden k\xf6nnen.","F\xfcr Informationen zur Lizenz, besuchen Sie bitte unsere Web-Pr\xe4senz:","Vollversion kaufen","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.","Anker","In neuer Registerkarte \xf6ffnen","Editor in voller Gr\xf6\xdfe \xf6ffnen","Formatierung l\xf6schen","F\xfcllfarbe oder Textfarbe \xe4ndern","Wiederholen","R\xfcckg\xe4ngig machen","Fett","Kursiv","Unsortierte Liste einf\xfcgen","Nummerierte Liste einf\xfcgen","Mittig ausrichten","Blocksatz","Links ausrichten","Rechts ausrichten","Horizontale Linie einf\xfcgen","Bild einf\xfcgen","Datei einf\xfcgen","Youtube/vimeo Video einf\xfcgen","Link einf\xfcgen","Schriftgr\xf6\xdfe","Schriftfamilie","Formatblock einf\xfcgen","Normal","\xdcberschrift 1","\xdcberschrift 2","\xdcberschrift 3","\xdcberschrift 4","Zitat","Code","Einf\xfcgen","Tabelle einf\xfcgen","Einzug verkleinern","Einzug vergr\xf6\xdfern","Sonderzeichen ausw\xe4hlen","Sonderzeichen einf\xfcgen","Format kopieren","\xc4nderungsmodus","R\xe4nder","Oben","Rechts","Unten","Links","CSS Stil","CSS Klassen","Ausrichtung","Rechts","Zentriert","Links","Keine","Pfad","Titel","Alternativer Text","Link","Link in neuem Tab \xf6ffnen","Bild","Datei","Fortgeschritten","Bildeigenschaften","Abbrechen","OK","Dateibrowser","Fehler beim Laden der Liste","Fehler beim Laden der Ordner","Sind Sie sicher?","Geben Sie den Verzeichnisnamen ein","Verzeichnis erstellen","Typname","Bild hier hinziehen","Datei l\xf6schen","oder hier klicken","Alternativtext","Hochladen","Ausw\xe4hlen","Hintergrund","Text","Oben","Mittig","Unten","Spalte davor einf\xfcgen","Spalte danach einf\xfcgen","Zeile oberhalb einf\xfcgen","Zeile unterhalb einf\xfcgen","Tabelle l\xf6schen","Zeile l\xf6schen","Spalte l\xf6schen","Zelle leeren","Zeichen: %d","W\xf6rter: %d","Durchstreichen","Unterstreichen","Hochstellen","Tiefstellen","Auswahl ausschneiden","Alles markieren","Pause","Suche nach","Ersetzen durch","Ersetzen","Einf\xfcgen","W\xe4hlen Sie den Inhalt zum Einf\xfcgen aus","HTML","Fett gedruckt","Kursiv","B\xfcrste","Verkn\xfcpfung","R\xfcckg\xe4ngig machen","Wiederholen","Tabelle","Bild","Radiergummi","Absatz","Schriftgr\xf6\xdfe","Video","Schriftart","\xdcber","Drucken","Unterstreichen","Durchstreichen","Einzug","Herausstellen","Vollgr\xf6\xdfe","Schrumpfen","die Linie","Liste von","Nummerierte Liste","Schneiden","W\xe4hlen Sie Alle aus","Code einbetten","Link \xf6ffnen","Link bearbeiten","Nofollow-Attribut","Link entfernen","Aktualisieren","Bearbeiten","Ansehen","URL","Bearbeiten","Horizontale Ausrichtung","Filter","Sortieren nach ge\xe4ndert","Nach Name sortieren","Nach Gr\xf6\xdfe sortiert","Ordner hinzuf\xfcgen","Wiederherstellen","Speichern","Speichern als","Gr\xf6\xdfe \xe4ndern","Gr\xf6\xdfe anpassen","Breite","H\xf6he","Seitenverh\xe4ltnis beibehalten","Ja","Nein","Entfernen","Markieren","Markieren: %s","Vertikale Ausrichtung","Unterteilen","Vereinen","Spalte hinzuf\xfcgen","Zeile hinzuf\xfcgen","Lizenz: %s","L\xf6schen","Vertikal unterteilen","Horizontal unterteilen","Rand","Ihr Text \xe4hnelt HTML-Code. Als HTML beibehalten?","Als HTML einf\xfcgen?","Original speichern","Als Text einf\xfcgen","Nur Text einf\xfcgen","Sie k\xf6nnen nur Ihre eigenen Bilder bearbeiten. Dieses Bild auf den Host herunterladen?","Das Bild wurde erfolgreich auf den Server hochgeladen!","Palette","In diesem Verzeichnis befinden sich keine Dateien.","Umbenennen","Geben Sie einen neuen Namen ein","Vorschau","Herunterladen","Aus Zwischenablage einf\xfcgen","Ihr Browser unterst\xfctzt keinen direkten Zugriff auf die Zwischenablage.","Auswahl kopieren","Kopieren","Radius f\xfcr abgerundete Ecken","Alle anzeigen","Anwenden","Bitte f\xfcllen Sie dieses Feld aus","Bitte geben Sie eine Web-Adresse ein","Standard","Kreis","Punkte","Quadrate","Suchen","Suche vorherige","Weitersuchen","Der Inhalt, den Sie einf\xfcgen, stammt aus einem Microsoft Word / Excel-Dokument. M\xf6chten Sie das Format erhalten oder bereinigen?","In Word formatierter Text erkannt","S\xe4ubern","className (CSS) einf\xfcgen","Dr\xfccken Sie Alt f\xfcr benutzerdefinierte Gr\xf6\xdfenanpassung",null,null,null,"Alles markieren"]},95559:function(e,t,i){"use strict";i.d(t,{allowAttributes:function(){return o}});var n=i(23211);function o(e,t,i,o){if(o&&n.Dom.isElement(t)&&!0!==o[t.nodeName]){let e=t.attributes;if(e&&e.length){let n=[];for(let i=0;i<e.length;i+=1){let r=o[t.nodeName][e[i].name];r&&(!0===r||r===e[i].value)||n.push(e[i].name)}n.length&&(i=!0),n.forEach(e=>{t.removeAttribute(e)})}}return i}},95562:function(e){e.exports={"Line height":"行高"}},95971:function(e,t,i){"use strict";i.d(t,{elementsEqualAttributes:function(){return l},isSameAttributes:function(){return a}});var n=i(18073),o=i(93640),r=i(28712),s=i(9703);function a(e,t){return!((e.attributes.length||(0,n.size)(t))&&(0,n.size)(t))||((0,r.assert)(t,"Attrs must be a non-empty object"),Object.keys(t).every(i=>"class"===i||"className"===i?e.classList.contains(t[i]):"style"===i?(0,s.hasSameStyle)(e,t[i]):(0,o.attr)(e,i)===t[i]))}function l(e,t){return e.attributes.length===t.attributes.length&&Array.from(e.attributes).every(e=>t.hasAttribute(e.name)&&t.getAttribute(e.name)===e.value)}},96007:function(e,t,i){"use strict";i.d(t,{UIElement:function(){return p}});var n=i(25045),o=i(31635),r=i(16964),s=i(24968),a=i(23211),l=i(85932),c=i(7909),u=i(23183),d=i(81987),h=i(29434);class p extends r.ViewComponent{getRole(){return""}get parentElement(){return this.__parentElement}set parentElement(e){this.__parentElement=e,e&&e.hookStatus("beforeDestruct",()=>this.destruct()),this.updateParentElement(this)}bubble(e){let t=this.parentElement;for(;t;)e(t),t=t.parentElement;return this}updateParentElement(e){var t;return null==(t=this.__parentElement)||t.updateParentElement(e),this}get(e,t){return super.get(e,t)||this.getElm(e)}closest(e){let t="object"==typeof e?t=>t===e:t=>r.Component.isInstanceOf(t,e),i=this.__parentElement;for(;i;){if(t(i))return i;i=!i.parentElement&&i.container.parentElement?p.closestElement(i.container.parentElement,p):i.parentElement}return null}static closestElement(e,t){let i=a.Dom.up(e,e=>{if(e){let{component:i}=e;return i&&r.Component.isInstanceOf(i,t)}return!1});return i?null==i?void 0:i.component:null}update(){}appendTo(e){return e.appendChild(this.container),this}clearName(e){return e.replace(/[^a-zA-Z0-9]/g,"_")}render(e){return this.j.c.div(this.componentName)}createContainer(e){let t=this.render(e);if((0,l.isString)(t)){let e=this.parseTemplate(t);return e.classList.add(this.componentName),e}return t}parseTemplate(e){return this.j.c.fromHTML(e.replace(/\*([^*]+?)\*/g,(e,t)=>h.Icon.get(t)||"").replace(/&_/g,this.componentName+"_").replace(/~([^~]+?)~/g,(e,t)=>this.i18n(t)))}destruct(){return a.Dom.safeRemove(this.container),this.parentElement=null,super.destruct()}constructor(e,t){super(e),(0,n._)(this,"container",void 0),(0,n._)(this,"name",""),(0,n._)(this,"__parentElement",null),(0,n._)(this,"mods",{}),this.container=this.createContainer(t);const i=this.getRole();i&&(0,c.attr)(this.container,"role",i),Object.defineProperty(this.container,"component",{value:this,configurable:!0})}}p=(0,o.__decorate)([(0,s.derive)(d.Mods,u.Elms)],p)},96127:function(e,t,i){"use strict";i.d(t,{ApplyStyle:function(){return s}});var n=i(51640),o=i(98394),r=i(78462);function s(e,t){var i;let{s:s,editor:a}=e;null==(i=a.firstChild)||i.normalize();let l=s.fakes(),c=e.s.wrapInTagGen(l),u=c.next();if(u.done)return;let d={collapsed:s.isCollapsed(),mode:o.INITIAL,element:u.value,next:r.states.START,jodit:e,style:t};for(;u&&!u.done;){let e=new n.FiniteStateMachine(r.states.START,r.transactions);for(d.element=u.value;e.getState()!==r.states.END;)d=e.dispatch("exec",d);u=c.next()}s.restoreFakes(l)}},96340:function(e,t,i){"use strict";i.d(t,{normalizeRelativePath:function(){return n}});let n=e=>e.split("/").reduce((e,t)=>{switch(t){case"":case".":break;case"..":e.pop();break;default:e.push(t)}return e},[]).join("/")+(e.endsWith("/")?"/":"")},96608:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.allowResizeTags=new Set(["img","iframe","table","jodit"]),n.Config.prototype.resizer={showSize:!0,hideSizeTimeout:1e3,forImageChangeAttributes:!0,min_width:10,min_height:10,useAspectRatio:new Set(["img"])}},96722:function(e,t,i){"use strict";i(5266).Config.prototype.dtd={removeExtraBr:!0,checkBlockNesting:!0,blockLimits:{article:1,aside:1,audio:1,body:1,caption:1,details:1,dir:1,div:1,dl:1,fieldset:1,figcaption:1,figure:1,footer:1,form:1,header:1,hgroup:1,main:1,menu:1,nav:1,ol:1,section:1,table:1,td:1,th:1,tr:1,ul:1,video:1}}},96730:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(28077),l=i(65946),c=i(91206);i(71693);var u=i(54308);class d extends c.Plugin{afterInit(e){}beforeDestruct(e){}processWordHTML(e,t,i){let{j:n}=this,{processPasteFromWord:o,askBeforePasteFromWord:r,defaultActionOnPasteFromWord:s,defaultActionOnPaste:a,pasteFromWordActionList:c}=n.o;return!!(o&&(0,l.isHtmlFromWord)(t))&&(r?(0,u.askInsertTypeDialog)(n,"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Word Paste Detected",n=>{this.insertFromWordByType(e,t,n,i)},c):this.insertFromWordByType(e,t,s||a,i),!0)}insertFromWordByType(e,t,i,n){switch(i){case r.INSERT_AS_HTML:{var o;t=(0,l.applyStyles)(t);let e=null==(o=this.j.events)?void 0:o.fire("beautifyHTML",t);(0,l.isString)(e)&&(t=e);break}case r.INSERT_AS_TEXT:t=(0,l.cleanFromWord)(t);break;case r.INSERT_ONLY_TEXT:t=(0,l.stripTags)((0,l.cleanFromWord)(t))}(0,u.pasteInsertHtml)(e,this.j,t)}}(0,n._)(d,"requires",["paste"]),(0,o.__decorate)([(0,s.watch)(":processHTML")],d.prototype,"processWordHTML",null),a.pluginSystem.add("pasteFromWord",d)},96863:function(e,t,i){"use strict";var n=i(23211),o=i(62101),r=i(29434),s=i(5266),a=i(29348),l=i.n(a);r.Icon.set("paragraph",l()),s.Config.prototype.controls.paragraph={command:"formatBlock",value(e,t){var i,o;let r=t.control,s=e.s.current(),a=n.Dom.closest(s,n.Dom.isBlock,e.editor);return null!=(i=null==a?void 0:a.nodeName.toLowerCase())?i:null==(o=r.data)?void 0:o.currentValue},update(e,t){let i=t.control;if(!e.s.current())return!1;let n=t.state.value,r=i.list;return(0,o.isPlainObject)(r)&&r[n.toString()]&&e.o.textIcons&&(t.state.text=r[n.toString()].toString()),!1},data:{currentValue:"p"},list:{p:"Paragraph",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",blockquote:"Quote",pre:"Code"},isChildActive:(e,t)=>{var i,n;return t.state.value===(null==(n=t.control)||null==(i=n.args)?void 0:i[0])},isActive:(e,t)=>t.state.value!==e.o.enter&&(0,o.isPlainObject)(t.control.list)&&!!t.control.list[t.state.value],childTemplate:(e,t,i)=>`<${t} style="margin:0;padding:0"><span>${e.i18n(i)}</span></${t}>`,tooltip:"Insert format block"}},96978:function(e){e.exports={symbols:"Symbolit"}},97022:function(e,t,i){"use strict";i.d(t,{NUMBER_FIELDS_REG:function(){return o.NUMBER_FIELDS_REG},normalizeColor:function(){return n.normalizeColor},normalizeCssNumericValue:function(){return o.normalizeCssNumericValue},normalizeCssValue:function(){return o.normalizeCssValue},normalizeKeyAliases:function(){return r.normalizeKeyAliases},normalizeLicense:function(){return s.normalizeLicense},normalizePath:function(){return a.normalizePath},normalizeRelativePath:function(){return l.normalizeRelativePath},normalizeSize:function(){return c.normalizeSize},normalizeUrl:function(){return u.normalizeUrl}});var n=i(77367),o=i(19147),r=i(27978),s=i(49663),a=i(18377),l=i(96340),c=i(98831),u=i(48009)},97110:function(e,t,i){"use strict";i.d(t,{wrapList:function(){return a}});var n=i(23211),o=i(95971),r=i(82794),s=i(98394);function a(e,t,i){let a=i.e.fire(`${s._PREFIX}BeforeWrapList`,s.REPLACE,t,e),l=null!=a?a:n.Dom.replace(t,"li",i.createInside),c=l.previousElementSibling,u=l.nextElementSibling,d=n.Dom.isTag(c,e.element)?c:null;return null!=d||(d=n.Dom.isTag(u,e.element)?u:null),n.Dom.isList(d)&&(0,o.isSameAttributes)(d,e.options.attributes)||(d=i.createInside.element(e.element),(0,r.toggleAttributes)(e,d,i,s.INITIAL),n.Dom.before(l,d)),c===d?n.Dom.append(d,l):n.Dom.prepend(d,l),n.Dom.isTag(d.nextElementSibling,e.element)&&(0,o.elementsEqualAttributes)(d,d.nextElementSibling)&&(n.Dom.append(d,Array.from(d.nextElementSibling.childNodes)),n.Dom.safeRemove(d.nextElementSibling)),i.e.fire(`${s._PREFIX}AfterWrapList`,s.WRAP,d,e),d}},97228:function(e,t,i){"use strict";i.d(t,{defaultLanguage:function(){return r}});var n=i(81937),o=i(85932);let r=(e,t="en")=>"auto"!==e&&(0,o.isString)(e)?e:n.globalDocument.documentElement&&n.globalDocument.documentElement.lang?n.globalDocument.documentElement.lang:navigator.language?navigator.language.substring(0,2):t},97493:function(e){e.exports={symbols:"символ"}},97642:function(e,t,i){"use strict";i.d(t,{CamelCaseToKebabCase:function(){return s.CamelCaseToKebabCase},camelCase:function(){return n.camelCase},fuzzySearchIndex:function(){return o.fuzzySearchIndex},i18n:function(){return r.i18n},kebabCase:function(){return s.kebabCase},sprintf:function(){return r.sprintf},stringify:function(){return a.stringify},trim:function(){return l.trim},trimChars:function(){return l.trimChars},trimInv:function(){return l.trimInv},ucfirst:function(){return c.ucfirst}});var n=i(57821),o=i(57626),r=i(18080),s=i(74264),a=i(3347),l=i(4040),c=i(99436)},97834:function(e){e.exports.default=["Napisz coś","O Jodit","Edytor Jodit","Instrukcja Jodit","zawiera szczeg\xf3łowe informacje dotyczące użytkowania.","Odwiedź naszą stronę, aby uzyskać więcej informacji na temat licencji:","Zakup pełnej wersji","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Wszystkie prawa zastrzeżone.","Kotwica","Otw\xf3rz w nowej zakładce","Otw\xf3rz edytor w pełnym rozmiarze","Wyczyść formatowanie","Kolor wypełnienia lub ustaw kolor tekstu","Pon\xf3w","Cofnij","Pogrubienie","Kursywa","Wstaw listę wypunktowaną","Wstaw listę numeryczną","Wyśrodkuj","Wyjustuj","Wyr\xf3wnaj do lewej","Wyr\xf3wnaj do prawej","Wstaw linię poziomą","Wstaw grafikę","Wstaw plik","Wstaw film Youtube/vimeo","Wstaw link","Rozmiar tekstu","Kr\xf3j czcionki","Wstaw formatowanie","Normalne","Nagł\xf3wek 1","Nagł\xf3wek 2","Nagł\xf3wek 3","Nagł\xf3wek 4","Cytat","Kod","Wstaw","Wstaw tabelę","Zmniejsz wcięcie","Zwiększ wcięcie","Wybierz znak specjalny","Wstaw znak specjalny","Malarz format\xf3w","Zmień tryb","Marginesy","G\xf3rny","Prawy","Dolny","Levy","Style CSS","Klasy CSS","Wyr\xf3wnanie","Prawa","środek","Lewa","brak","Źr\xf3dło","Tytuł","Tekst alternatywny","Link","Otw\xf3rz w nowej zakładce","Grafika","Plik","Zaawansowane","Właściwości grafiki","Anuluj","OK","Przeglądarka plik\xf3w","Błąd ładowania listy plik\xf3w","Błąd ładowania folder\xf3w","Czy jesteś pewien?","Wprowadź nazwę folderu","Utw\xf3rz folder","wprowadź nazwę","Upuść plik graficzny","Upuść plik","lub kliknij tu","Tekst alternatywny","Wczytaj","Przeglądaj","Tło","Treść","G\xf3ra","Środek","D\xf3ł","Wstaw kolumnę przed","Wstaw kolumnę po","Wstaw wiersz przed","Wstaw wiersz po","Usuń tabelę","Usuń wiersz","Usuń kolumnę","Wyczyść kom\xf3rkę","Znaki: %d","Słowa: %d","Przekreślenie","Podkreślenie","indeks g\xf3rny","index dolny","Wytnij zaznaczenie","Wybierz wszystko","Przerwa","Szukaj","Zamień na","Wymienić","Wklej","Wybierz zawartość do wklejenia","HTML","pogrubienie","kursywa","pędzel","link","cofnij","pon\xf3w","tabela","grafika","wyczyść","akapit","rozmiar czcionki","wideo","czcionka","O programie","drukuj","podkreślenie","przekreślenie","wcięcie","wycięcie","pełen rozmiar","przytnij","linia pozioma","lista","lista numerowana","wytnij","zaznacz wszystko","Wstaw kod","otw\xf3rz link","edytuj link","Atrybut no-follow","Usuń link","Aktualizuj","edytuj","szukaj","URL","Edytuj","Wyr\xf3wnywanie w poziomie","Filtruj","Sortuj wg zmiany","Sortuj wg nazwy","Sortuj wg rozmiaru","Dodaj folder","wyczyść","zapisz","zapisz jako","Zmień rozmiar","Przytnij","Szerokość","Wysokość","Zachowaj proporcje","Tak","Nie","Usuń","Wybierz","Wybierz: %s","Wyr\xf3wnywanie w pionie","Podziel","Scal","Dodaj kolumnę","Dodaj wiersz","Licencja: %s","Usuń","Podziel w pionie","Podziel w poziomie","Obramowanie","Tw\xf3j kod wygląda jak HTML. Zachować HTML?","Wkleić jako HTML?","Oryginalny tekst","Wstaw jako tekst","Wstaw tylko treść","Możesz edytować tylko swoje grafiki. Czy chcesz pobrać tą grafikę?","Grafika została pomyślnienie dodana na serwer","Paleta","Brak plik\xf3w.","zmień nazwę","Wprowadź nową nazwę","podgląd","pobierz","Wklej ze schowka","Twoja przeglądarka nie obsługuje schowka","Kopiuj zaznaczenie","kopiuj","Zaokrąglenie krawędzi","Pokaż wszystkie","Zastosuj","Proszę wypełnić to pole","Proszę, wpisz adres sieci web","Domyślnie","Koło","Punkt","Kwadrat","Znaleźć","Znaleźć Poprzednie","Znajdź Dalej","Wklejany tekst pochodzi z dokumentu Microsoft Word/Excel. Chcesz zachować ten format czy wyczyścić go? ","Wykryto tekst w formacie Word","Wyczyść","Wstaw nazwę zajęć","Naciśnij Alt, aby zmienić rozmiar",null,null,null,"Wszystko"]},97959:function(e,t,i){"use strict";i.d(t,{UIList:function(){return v}});var n=i(25045),o=i(31635),r=i(80251),s=i(91672),a=i(29200),l=i(68616),c=i(32328),u=i(53681),d=i(63468),h=i(35676),p=i(27987),m=i(2496),f=i(15982),g=i(40253);class v extends d.UIGroup{className(){return"UIList"}__onChangeMode(){this.setMod("mode",this.mode)}makeGroup(){return new d.UIGroup(this.jodit)}get buttons(){return this.allChildren.filter(e=>r.Component.isInstanceOf(e,u.UIButton))}getButtonsNames(){return this.buttons.map(e=>e instanceof u.UIButton&&e.state.name||"").filter(e=>""!==e)}setRemoveButtons(e){return this.removeButtons=e||[],this}build(e,t=null){let i;e=(0,c.splitArray)(e),this.clear();let n=!1,o=this.makeGroup();this.append(o),o.setMod("line",!0);let r=e=>{let r=null;switch(e.name){case"\n":(o=this.makeGroup()).setMod("line",!0),i=this.makeGroup(),o.append(i),this.append(o);break;case"|":n||(n=!0,r=new h.UISeparator(this.j));break;case"---":{i.setMod("before-spacer",!0);let e=new p.UISpacer(this.j);o.append(e),i=this.makeGroup(),o.append(i),n=!1;break}default:n=!1,r="select"===e.component?this.makeSelect(e,t):this.makeButton(e,t)}r&&(i||(i=this.makeGroup(),o.append(i)),i.append(r))},s=e=>{var t;return!this.removeButtons.includes(e.name)&&(!e.isVisible||(null==(t=e.isVisible)?void 0:t.call(e,this.j,e)))};return e.forEach(e=>{if((0,m.isButtonGroup)(e)){let t=e.buttons.filter(e=>e);t.length&&((i=this.makeGroup()).setMod("separated",!0).setMod("group",e.group),o.append(i),(0,g.getStrongControlTypes)(t,this.j.o.controls).filter(s).forEach(r))}else{i||(i=this.makeGroup(),o.append(i));let t=(0,f.getControlType)(e,this.j.o.controls);s(t)&&r(t)}}),this.update(),this}makeSelect(e,t){throw Error("Not implemented behaviour")}makeButton(e,t){return new u.UIButton(this.j,{name:e.name})}constructor(...e){super(...e),(0,n._)(this,"mode","horizontal"),(0,n._)(this,"removeButtons",[])}}(0,o.__decorate)([(0,l.watch)("mode"),(0,a.hook)("ready")],v.prototype,"__onChangeMode",null),v=(0,o.__decorate)([s.component],v)},98181:function(e){e.exports={"Line height":"Zeilenh\xf6he"}},98361:function(e){e.exports={"Line height":"גובה שורה"}},98394:function(e,t,i){"use strict";i.d(t,{CHANGE:function(){return r},INITIAL:function(){return a},REPLACE:function(){return l},UNSET:function(){return s},UNWRAP:function(){return o},WRAP:function(){return n},_PREFIX:function(){return c}});let n="wrap",o="unwrap",r="change",s="unset",a="initial",l="replace",c="commitStyle"},98595:function(e,t,i){"use strict";i.d(t,{Selection:function(){return m}});var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(23211),l=i(65946),c=i(28686),u=i(28712),d=i(7470),h=i(84578),p=i(42259);class m{get j(){return this.jodit}errorNode(e){if(!a.Dom.isNode(e))throw(0,l.error)("Parameter node must be instance of Node")}get area(){return this.j.editor}get win(){return this.j.ew}get doc(){return this.j.ed}get sel(){return this.j.o.shadowRoot&&(0,c.isFunction)(this.j.o.shadowRoot.getSelection)?this.j.o.shadowRoot.getSelection():this.win.getSelection()}get range(){let e=this.sel;return e&&e.rangeCount?e.getRangeAt(0):this.createRange()}get isInsideArea(){let{sel:e}=this,t=(null==e?void 0:e.rangeCount)?e.getRangeAt(0):null;return!(!t||!a.Dom.isOrContains(this.area,t.startContainer))}createRange(e=!1){let t=this.doc.createRange();return e&&this.selectRange(t),t}remove(){let e=this.sel,t=this.current();if(e&&t)for(let t=0;t<e.rangeCount;t+=1)e.getRangeAt(t).deleteContents(),e.getRangeAt(t).collapse(!0)}clear(){var e,t;(null==(e=this.sel)?void 0:e.rangeCount)&&(null==(t=this.sel)||t.removeAllRanges())}removeNode(e){if(!a.Dom.isOrContains(this.j.editor,e,!0))throw(0,l.error)("Selection.removeNode can remove only editor's children");a.Dom.safeRemove(e),this.j.e.fire("afterRemoveNode",e)}insertCursorAtPoint(e,t){this.removeMarkers();try{let i=this.createRange();return(()=>{if(this.doc.caretPositionFromPoint){let n=this.doc.caretPositionFromPoint(e,t);if(n)return i.setStart(n.offsetNode,n.offset)}if(this.doc.caretRangeFromPoint){let n=this.doc.caretRangeFromPoint(e,t);(0,u.assert)(n,"Incorrect caretRangeFromPoint behaviour"),i.setStart(n.startContainer,n.startOffset)}})(),i.collapse(!0),this.selectRange(i),!0}catch(e){}return!1}get hasMarkers(){return!!this.markers.length}get markers(){return(0,l.$$)("span[data-"+r.MARKER_CLASS+"]",this.area)}removeMarkers(){a.Dom.safeRemove.apply(null,this.markers)}marker(e=!1,t){let i=null;t&&(i=t.cloneRange()).collapse(e);let n=this.j.createInside.span();return n.id=r.MARKER_CLASS+"_"+Number(new Date)+"_"+String(Math.random()).slice(2),n.style.lineHeight="0",n.style.display="none",a.Dom.markTemporary(n),(0,l.attr)(n,"data-"+r.MARKER_CLASS,e?"start":"end"),n.appendChild(this.j.createInside.text(r.INVISIBLE_SPACE)),i&&a.Dom.isOrContains(this.area,e?i.startContainer:i.endContainer)&&i.insertNode(n),n}restore(){let e=!1,t=e=>`span[data-${r.MARKER_CLASS}=${e?"start":"end"}]`,i=this.area.querySelector(t(!0)),n=this.area.querySelector(t(!1));if(i){if(e=this.createRange(),n)e.setStartAfter(i),a.Dom.safeRemove(i),e.setEndBefore(n),a.Dom.safeRemove(n);else{let t=i.previousSibling;a.Dom.isText(t)?e.setStart(t,t.nodeValue?t.nodeValue.length:0):e.setStartBefore(i),a.Dom.safeRemove(i),e.collapse(!0)}e&&this.selectRange(e)}}fakes(){let e=this.sel;if(!e||!e.rangeCount)return[];let t=e.getRangeAt(0);(0,u.assert)(t,"Range is null");let i=t.cloneRange();i.collapse(!0);let n=this.j.createInside.fake();a.Dom.safeInsertNode(i,n),t.setStartBefore(n);let o=[n];if(!t.collapsed){let e=t.cloneRange();e.collapse(!1);let i=this.j.createInside.fake();a.Dom.safeInsertNode(e,i),t.setEndAfter(i),o.push(i)}return this.selectRange(t),o}restoreFakes(e){var t,i,n,o;let r=e.filter(e=>e.isConnected);if(!r.length)return;let[s,l]=r,c=this.createRange();c.setStartAfter(s),l&&c.setEndBefore(l),this.selectRange(c),(null==(t=s.parentNode)?void 0:t.firstChild)!==(null==(i=s.parentNode)?void 0:i.lastChild)&&a.Dom.safeRemove(s),(null==l||null==(n=l.parentNode)?void 0:n.firstChild)!==(null==l||null==(o=l.parentNode)?void 0:o.lastChild)&&a.Dom.safeRemove(l)}save(e=!1){if(this.hasMarkers)return[];let t=this.sel;if(!t||!t.rangeCount)return[];let i=[],n=t.rangeCount,o=[];for(let e=0;n>e;e+=1)if(o[e]=t.getRangeAt(e),o[e].collapsed){let t=this.marker(!0,o[e]);i[e]={startId:t.id,collapsed:!0,startMarker:t.outerHTML}}else{let t=this.marker(!0,o[e]),n=this.marker(!1,o[e]);i[e]={startId:t.id,endId:n.id,collapsed:!1,startMarker:t.outerHTML,endMarker:n.outerHTML}}if(!e){t.removeAllRanges();for(let e=n-1;e>=0;--e){let n=this.doc.getElementById(i[e].startId);if(n){if(i[e].collapsed)o[e].setStartAfter(n),o[e].collapse(!0);else if(o[e].setStartBefore(n),i[e].endId){let t=this.doc.getElementById(i[e].endId);t&&o[e].setEndAfter(t)}try{t.addRange(o[e].cloneRange())}catch(e){}}}}return i}focus(e={preventScroll:!0}){if(!this.isFocused()){let n=(0,l.getScrollParent)(this.j.container),o=null==n?void 0:n.scrollTop;this.j.iframe&&"complete"===this.doc.readyState&&this.j.iframe.focus(e),this.win.focus(),this.area.focus(e),o&&(null==n?void 0:n.scrollTo)&&n.scrollTo(0,o);let r=this.sel,s=(null==r?void 0:r.rangeCount)?null==r?void 0:r.getRangeAt(0):null;if(!s||!a.Dom.isOrContains(this.area,s.startContainer)){let e=this.createRange();e.setStart(this.area,0),e.collapse(!0),this.selectRange(e,!1)}if(!this.j.editorIsActive){var t,i;null==(i=this.j)||null==(t=i.events)||t.fire("focus")}return!0}return!1}isCollapsed(){let e=this.sel;for(let t=0;e&&t<e.rangeCount;t+=1)if(!e.getRangeAt(t).collapsed)return!1;return!0}isFocused(){return this.doc.hasFocus&&this.doc.hasFocus()&&this.area===this.doc.activeElement}current(e=!0){if(this.j.getRealMode()!==r.MODE_WYSIWYG)return null;let t=this.sel;if(!t||0===t.rangeCount)return null;let i=t.getRangeAt(0),n=i.startContainer,o=!1;if(a.Dom.isTag(n,"br")&&t.isCollapsed)return n;if(!a.Dom.isText(n)){let r=(0,p.findCorrectCurrentNode)(n,i,o,t.isCollapsed,e,e=>o?e.lastChild:e.firstChild);n=r.node,o=r.rightMode}return n&&a.Dom.isOrContains(this.area,n)?n:null}insertNode(e,t=!0,i=!0){this.errorNode(e);let n=a.Dom.isFragment(e)?e.lastChild:e;this.j.e.fire("safeHTML",e),!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore());let o=this.sel;this.j.history.snapshot.transaction(()=>{if(this.isCollapsed()||this.j.execCommand("Delete"),this.j.e.fire("beforeInsertNode",e),o&&o.rangeCount){let t=o.getRangeAt(0),{firstChild:i}=e;a.Dom.isOrContains(this.area,t.commonAncestorContainer)?a.Dom.safeInsertNode(t,e):this.area.appendChild(e),[()=>null==i?void 0:i.previousSibling,()=>null==i?void 0:i.previousSibling,()=>{var e;return null==i||null==(e=i.previousSibling)?void 0:e.lastChild}].forEach(e=>{let t=e();t&&a.Dom.isEmptyTextNode(t)&&a.Dom.safeRemove(t)})}else this.area.appendChild(e);let i=e=>{if(a.Dom.isBlock(e)){let t=e.lastChild;if(t)return i(t)}this.setCursorAfter(e)};t&&(a.Dom.isFragment(e)?n&&i(n):i(e)),this.j.o.scrollToPastedContent&&(0,l.scrollIntoViewIfNeeded)(null!=n?n:e,this.j.editor,this.doc)}),i&&this.j.events&&this.j.__imdSynchronizeValues(),this.j.events&&this.j.e.fire("afterInsertNode",a.Dom.isFragment(e)?n:e)}insertHTML(e,t=!0){if(""===e)return;let i=this.j.createInside.div(),n=this.j.createInside.fragment();if(!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore()),a.Dom.isNode(e)?i.appendChild(e):i.innerHTML=e.toString(),(this.j.isEditorMode()||!1!==this.j.e.fire("insertHTML",i.innerHTML))&&i.lastChild){for(;i.firstChild;)i.firstChild,n.appendChild(i.firstChild);this.insertNode(n,t,!1),this.j.__imdSynchronizeValues()}}insertImage(e,t=null,i=null){let n=(0,c.isString)(e)?this.j.createInside.element("img"):e;if((0,c.isString)(e)&&n.setAttribute("src",e),null!=i){let e=i.toString();e&&"auto"!==e&&0>String(e).indexOf("px")&&0>String(e).indexOf("%")&&(e+="px"),(0,l.attr)(n,"width",e)}t&&"object"==typeof t&&(0,l.css)(n,t);let o=()=>{(n.naturalHeight<n.offsetHeight||n.naturalWidth<n.offsetWidth)&&(n.style.width="",n.style.height=""),n.removeEventListener("load",o)};this.j.e.on(n,"load",o),n.complete&&o(),this.insertNode(n),this.j.e.fire("afterInsertImage",n)}eachSelection(e){var t;let i=this.sel;if(!i||!i.rangeCount)return;let n=i.getRangeAt(0),o=n.commonAncestorContainer;a.Dom.isHTMLElement(o)||(o=o.parentElement);let s=[],u=n.startOffset,d=o.childNodes.length,h=n.startContainer===this.area?o.childNodes[u<d?u:d-1]:n.startContainer,p=n.endContainer===this.area?o.childNodes[n.endOffset-1]:n.endContainer;a.Dom.isText(h)&&h===n.startContainer&&n.startOffset===(null==(t=h.nodeValue)?void 0:t.length)&&h.nextSibling&&(h=h.nextSibling),a.Dom.isText(p)&&p===n.endContainer&&0===n.endOffset&&p.previousSibling&&(p=p.previousSibling);let m=e=>{!e||e===o||a.Dom.isEmptyTextNode(e)||(0,c.isMarker)(e)||s.push(e)};m(h),h!==p&&a.Dom.isOrContains(o,h,!0)&&a.Dom.find(h,e=>(m(e),e===p||e&&e.contains&&e.contains(p)),o,!0,!1);let f=t=>{if(a.Dom.isOrContains(this.j.editor,t,!0)){if(t.nodeName.match(/^(UL|OL)$/))return(0,l.toArray)(t.childNodes).forEach(f);if(a.Dom.isTag(t,"li"))if(t.firstChild)t=t.firstChild;else{let e=this.j.createInside.text(r.INVISIBLE_SPACE);t.appendChild(e),t=e}e(t)}};0===s.length&&(a.Dom.isEmptyTextNode(h)&&s.push(h),h.firstChild&&s.push(h.firstChild)),s.forEach(f)}cursorInTheEdge(e,t,i=null){var n;let o=!e,r=null==(n=this.sel)?void 0:n.getRangeAt(0);if(null!=i||(i=this.current(!1)),!r||!i||!a.Dom.isOrContains(t,i,!0))return null;let s=e?r.startContainer:r.endContainer,c=e?r.startOffset:r.endOffset,u=e=>!!(e&&!a.Dom.isTag(e,"br")&&!a.Dom.isEmptyTextNode(e)&&!a.Dom.isTemporary(e)&&!(a.Dom.isElement(e)&&!0===this.j.e.fire("isInvisibleForCursor",e)));if(a.Dom.isText(s)){if((0,p.cursorInTheEdgeOfString)(s,c,e,o))return!1}else{let e=(0,l.toArray)(s.childNodes);if(o){if(e.slice(c).some(u))return!1}else if(e.slice(0,c).some(u))return!1}let d=i;for(;d&&d!==t;){let t=a.Dom.sibling(d,e);if(!t){d=d.parentNode;continue}if((d=t)&&u(d))return!1}return!0}cursorOnTheLeft(e,t){return this.cursorInTheEdge(!0,e,t)}cursorOnTheRight(e,t){return this.cursorInTheEdge(!1,e,t)}setCursorAfter(e){return this.setCursorNearWith(e,!1)}setCursorBefore(e){return this.setCursorNearWith(e,!0)}setCursorNearWith(e,t){if(this.errorNode(e),!a.Dom.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,l.error)("Node element must be in editor");let i=this.createRange(),n=null;if(a.Dom.isText(e))if(t)i.setStart(e,0);else{var o,r;i.setEnd(e,null!=(o=null==(r=e.nodeValue)?void 0:r.length)?o:0)}else n=this.j.createInside.fake(),t?i.setStartBefore(e):i.setEndAfter(e),i.collapse(t),a.Dom.safeInsertNode(i,n),i.selectNode(n);return i.collapse(t),this.selectRange(i),n}setCursorIn(e,t=!1){if(this.errorNode(e),!a.Dom.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,l.error)("Node element must be in editor");let i=this.createRange(),n=e,o=e;do{if(a.Dom.isText(n)||a.Dom.isTag(n,r.INSEPARABLE_TAGS))break;o=n,n=t?n.firstChild:n.lastChild}while(n);if(!n){let e=this.j.createInside.text(r.INVISIBLE_SPACE);a.Dom.isTag(o,r.INSEPARABLE_TAGS)?n=o:(o.appendChild(e),o=e)}let s=n||o;return a.Dom.isTag(s,r.INSEPARABLE_TAGS)?t||a.Dom.isTag(s,"br")?i.setStartBefore(s):i.setEndAfter(s):i.selectNodeContents(s),i.collapse(t),this.selectRange(i),o}selectRange(e,t=!0){let i=this.sel;return t&&!this.isFocused()&&this.focus(),i&&(i.removeAllRanges(),i.addRange(e)),this.j.e.fire("changeSelection"),this}select(e,t=!1){if(this.errorNode(e),!a.Dom.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,l.error)("Node element must be in editor");let i=this.createRange();return i[t?"selectNodeContents":"selectNode"](e),this.selectRange(i)}get html(){let e=this.sel;if(e&&e.rangeCount>0){let t=e.getRangeAt(0).cloneContents(),i=this.j.createInside.div();return i.appendChild(t),i.innerHTML}return""}*wrapInTagGen(e){if(this.isCollapsed()){let t=this.jodit.createInside.element("font",r.INVISIBLE_SPACE);this.insertNode(t,!1,!1),e&&e[0]&&t.appendChild(e[0]),yield t,a.Dom.unwrap(t);return}for(let e of((0,l.$$)("*[style*=font-size]",this.area).forEach(e=>{(0,l.attr)(e,"data-font-size",e.style.fontSize.toString()),e.style.removeProperty("font-size")}),this.j.nativeExecCommand("fontsize",!1,"7"),(0,l.$$)("*[data-font-size]",this.area).forEach(e=>{let t=(0,l.attr)(e,"data-font-size");t&&(e.style.fontSize=t,(0,l.attr)(e,"data-font-size",null))}),(0,l.$$)('font[size="7"]',this.area))){let{firstChild:t,lastChild:i}=e;if(t&&t===i&&(0,c.isMarker)(t)){a.Dom.unwrap(e);continue}t&&(0,c.isMarker)(t)&&a.Dom.before(e,t),i&&(0,c.isMarker)(i)&&a.Dom.after(e,i),yield e,a.Dom.unwrap(e)}}wrapInTag(e){let t=[];for(let i of this.wrapInTagGen())try{if(i.firstChild&&i.firstChild===i.lastChild&&(0,c.isMarker)(i.firstChild))continue;(0,c.isFunction)(e)?e(i):t.push(a.Dom.replace(i,e,this.j.createInside))}finally{let e=i.parentNode;e&&(a.Dom.unwrap(i),a.Dom.isEmpty(e)&&a.Dom.unwrap(e))}return t}commitStyle(e){(0,u.assert)((0,l.size)(e)>0,"Need to pass at least one option"),new h.CommitStyle(e).apply(this.j)}splitSelection(e,t){if(!this.isCollapsed())return null;let i=this.createRange(),n=this.range;i.setStartBefore(e);let o=this.cursorOnTheRight(e,t),s=this.cursorOnTheLeft(e,t),l=this.j.createInside.element("br"),c=this.j.createInside.fake(),d=c.cloneNode();try{if(o||s){t?a.Dom.before(t,l):a.Dom.safeInsertNode(n,l);let e=(e,t)=>{let i=t(e);for(;i;){let e=t(i);if(i&&(a.Dom.isTag(i,"br")||a.Dom.isEmptyTextNode(i)))a.Dom.safeRemove(i);else break;i=e}};e(l,e=>e.nextSibling),e(l,e=>e.previousSibling),a.Dom.after(l,d),a.Dom.before(l,c),o?(i.setEndBefore(l),n.setEndBefore(l)):(i.setEndAfter(l),n.setEndAfter(l))}else i.setEnd(n.startContainer,n.startOffset);let h=i.extractContents(),p=e=>a.Dom.each(e,e=>a.Dom.isEmptyTextNode(e)&&a.Dom.safeRemove(e));(0,u.assert)(e.parentNode,"Splitting fails");try{if(p(h),p(e),e.parentNode.insertBefore(h,e),!t&&o&&(null==l?void 0:l.parentNode)){let e=this.createRange();e.setStartBefore(l),this.selectRange(e)}}catch(e){if(!r.IS_PROD)throw e}let m=e=>{var t,i,n;(null==e||null==(t=e.parentNode)?void 0:t.firstChild)===(null==e||null==(i=e.parentNode)?void 0:i.lastChild)&&(null==e||null==(n=e.parentNode)||n.appendChild(l.cloneNode()))};m(c),m(d)}finally{a.Dom.safeRemove(c),a.Dom.safeRemove(d)}return e.previousElementSibling}expandSelection(){if(this.isCollapsed())return this;let{range:e}=this,t=e.cloneRange();if(!a.Dom.isOrContains(this.j.editor,e.commonAncestorContainer,!0))return this;let i=t=>{let i=this.j.createInside.fake(),n=e.cloneRange();return n.collapse(t),a.Dom.safeInsertNode(n,i),(0,d.moveTheNodeAlongTheEdgeOutward)(i,t,this.j.editor),i},n=i(!0),o=i(!1);t.setStartAfter(n),t.setEndBefore(o);let r=a.Dom.findSibling(n,!1),s=a.Dom.findSibling(o,!0);if(r!==s){let e=a.Dom.isElement(r)&&a.Dom.isOrContains(r,o),i=!e&&a.Dom.isElement(s)&&a.Dom.isOrContains(s,n);if(e||i){let i=e?r:s,l=i;for(;a.Dom.isElement(i);)(i=e?i.firstElementChild:i.lastElementChild)&&(e?a.Dom.isOrContains(i,o):a.Dom.isOrContains(i,n))&&(l=i);e?t.setStart(l,0):t.setEnd(l,l.childNodes.length)}}if(this.selectRange(t),a.Dom.safeRemove(n,o),this.isCollapsed())throw(0,l.error)("Selection is collapsed");return this}constructor(e){(0,n._)(this,"jodit",void 0),this.jodit=e,e.e.on("removeMarkers",()=>{this.removeMarkers()})}}(0,o.__decorate)([s.autobind],m.prototype,"createRange",null),(0,o.__decorate)([s.autobind],m.prototype,"focus",null),(0,o.__decorate)([s.autobind],m.prototype,"setCursorAfter",null),(0,o.__decorate)([s.autobind],m.prototype,"setCursorBefore",null),(0,o.__decorate)([s.autobind],m.prototype,"setCursorIn",null)},98710:function(e){e.exports={symbols:"simbol"}},98711:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/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"/> </svg>'},98740:function(e,t,i){"use strict";i.d(t,{hasBrowserColorPicker:function(){return o}});var n=i(81937);function o(){let e=!0;try{let t=n.globalDocument.createElement("input");t.type="color",t.value="!",e="color"===t.type&&"!"!==t.value}catch(t){e=!1}return e}},98792:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(28077),a=i(91206);i(60162);class l extends a.Plugin{afterInit(e){e.registerCommand("insertUnorderedList",this.onCommand).registerCommand("insertOrderedList",this.onCommand)}onCommand(e,t,i){return this.jodit.s.commitStyle({element:"insertunorderedlist"===e?"ul":"ol",attributes:{style:{listStyleType:null!=i?i:null}}}),this.jodit.synchronizeValues(),!1}beforeDestruct(e){}constructor(...e){super(...e),(0,n._)(this,"buttons",[{name:"ul",group:"list"},{name:"ol",group:"list"}])}}(0,o.__decorate)([r.autobind],l.prototype,"onCommand",null),s.pluginSystem.add("orderedList",l)},98803:function(e,t,i){"use strict";i.d(t,{Table:function(){return h}});var n=i(25045),o=i(31635),r=i(16964),s=i(81937),a=i(84839),l=i(27795),c=i(28077),u=i(65946);let d=new WeakMap;class h extends r.ViewComponent{className(){return"Table"}__recalculateStyles(){let e=(0,c.getContainer)(this.j,h,"style",!0),t=[];this.selected.forEach(e=>{let i=(0,u.cssPath)(e);i&&t.push(i)}),e.innerHTML=t.length?t.join(",")+`{${this.jodit.options.table.selectionCellStyle}}`:""}addSelection(e){this.selected.add(e),this.__recalculateStyles();let t=l.Dom.closest(e,"table",this.j.editor);if(t){let i=h.__selectedByTable.get(t)||new Set;i.add(e),h.__selectedByTable.set(t,i)}}removeSelection(e){this.selected.delete(e),this.__recalculateStyles();let t=l.Dom.closest(e,"table",this.j.editor);if(t){let i=h.__selectedByTable.get(t);i&&(i.delete(e),i.size||h.__selectedByTable.delete(t))}}getAllSelectedCells(){return(0,u.toArray)(this.selected)}static __getSelectedCellsByTable(e){let t=h.__selectedByTable.get(e);return t?(0,u.toArray)(t):[]}destruct(){return this.selected.clear(),super.destruct()}static __getRowsCount(e){return e.rows.length}getRowsCount(e){return h.__getRowsCount(e)}static __getColumnsCount(e){return h.__formalMatrix(e).reduce((e,t)=>Math.max(e,t.length),0)}getColumnsCount(e){return h.__getColumnsCount(e)}static __formalMatrix(e,t){let i=[[]],n=(0,u.toArray)(e.rows),o=(e,n)=>{void 0===i[n]&&(i[n]=[]);let o=e.colSpan,r=e.rowSpan,s,a,l=0;for(;i[n][l];)l+=1;for(a=0;r>a;a+=1)for(s=0;s<o;s+=1){if(void 0===i[n+a]&&(i[n+a]=[]),t&&!1===t(e,n+a,l+s,o,r))return!1;i[n+a][l+s]=e}};for(let e=0;e<n.length;e+=1){let t=(0,u.toArray)(n[e].cells);for(let n=0;n<t.length;n+=1)if(!1===o(t[n],e))return i}return i}formalMatrix(e,t){return h.__formalMatrix(e,t)}static __formalCoordinate(e,t,i=!1){let n=0,o=0,r=1,s=1;return h.__formalMatrix(e,(e,a,l,c,u)=>{if(t===e)return n=a,o=l,r=c||1,s=u||1,i&&(o+=(c||1)-1,n+=(u||1)-1),!1}),[n,o,r,s]}formalCoordinate(e,t,i=!1){return h.__formalCoordinate(e,t,i)}static __appendRow(e,t,i,n){let o;if(t)o=t.cloneNode(!0),(0,u.$$)("td,th",t).forEach(e=>{let t=(0,u.attr)(e,"rowspan");if(t&&parseInt(t,10)>1){let i=parseInt(t,10)-1;(0,u.attr)(e,"rowspan",i>1?i:null)}}),(0,u.$$)("td,th",o).forEach(e=>{e.innerHTML=""});else{let t=h.__getColumnsCount(e);o=n.element("tr");for(let e=0;e<t;e+=1)o.appendChild(n.element("td"))}if(i&&t&&t.nextSibling)t.parentNode&&t.parentNode.insertBefore(o,t.nextSibling);else if(!i&&t)t.parentNode&&t.parentNode.insertBefore(o,t);else{var r;((null==(r=e.getElementsByTagName("tbody"))?void 0:r[0])||e).appendChild(o)}}appendRow(e,t,i){return h.__appendRow(e,t,i,this.j.createInside)}static __removeRow(e,t){let i,n=h.__formalMatrix(e),o=e.rows[t];n[t].forEach((r,s)=>{if(i=!1,t-1>=0&&n[t-1][s]===r)i=!0;else if(n[t+1]&&n[t+1][s]===r){if(r.parentNode===o&&r.parentNode.nextSibling){i=!0;let o=s+1;for(;n[t+1][o]===r;)o+=1;let a=l.Dom.next(r.parentNode,e=>l.Dom.isTag(e,"tr"),e);a&&(n[t+1][o]?a.insertBefore(r,n[t+1][o]):a.appendChild(r))}}else l.Dom.safeRemove(r);if(i&&(r.parentNode===o||r!==n[t][s-1])){let e=r.rowSpan;(0,u.attr)(r,"rowspan",e-1>1?e-1:null)}}),l.Dom.safeRemove(o)}removeRow(e,t){return h.__removeRow(e,t)}appendColumn(e,t,i=!0){let n=h.__formalMatrix(e);if(!i&&l.Dom.isCell(t.previousElementSibling))return this.appendColumn(e,t.previousElementSibling,!0);let o=i?t.cellIndex+((t.colSpan||1)-1):t.cellIndex,r=i?o+1:o;for(let e=0;e<n.length;){let t=n[e];if(t[o]!==t[r]||o===r){let e=this.j.createInside.element("td");i?l.Dom.after(t[o],e):l.Dom.before(t[o],e),t[o].rowSpan>1&&(e.rowSpan=t[o].rowSpan)}else t[o].colSpan+=1;e+=t[o].rowSpan||1}}static __removeColumn(e,t){let i,n=h.__formalMatrix(e);n.forEach((e,o)=>{let r=e[t];if(i=!1,t-1>=0&&n[o][t-1]===r||t+1<e.length&&n[o][t+1]===r?i=!0:l.Dom.safeRemove(r),i&&(o-1<0||r!==n[o-1][t])){let e=r.colSpan;(0,u.attr)(r,"colspan",e-1>1?(e-1).toString():null)}})}removeColumn(e,t){return h.__removeColumn(e,t)}static __getSelectedBound(e,t){let i,n,o,r=[[1/0,1/0],[0,0]],s=h.__formalMatrix(e);for(i=0;i<s.length;i+=1)for(n=0;s[i]&&n<s[i].length;n+=1)t.includes(s[i][n])&&(r[0][0]=Math.min(i,r[0][0]),r[0][1]=Math.min(n,r[0][1]),r[1][0]=Math.max(i,r[1][0]),r[1][1]=Math.max(n,r[1][1]));for(i=r[0][0];i<=r[1][0];i+=1)for(o=1,n=r[0][1];n<=r[1][1];n+=1){for(;s[i]&&s[i][n-o]&&s[i][n]===s[i][n-o];)r[0][1]=Math.min(n-o,r[0][1]),r[1][1]=Math.max(n-o,r[1][1]),o+=1;for(o=1;s[i]&&s[i][n+o]&&s[i][n]===s[i][n+o];)r[0][1]=Math.min(n+o,r[0][1]),r[1][1]=Math.max(n+o,r[1][1]),o+=1;for(o=1;s[i-o]&&s[i][n]===s[i-o][n];)r[0][0]=Math.min(i-o,r[0][0]),r[1][0]=Math.max(i-o,r[1][0]),o+=1;for(o=1;s[i+o]&&s[i][n]===s[i+o][n];)r[0][0]=Math.min(i+o,r[0][0]),r[1][0]=Math.max(i+o,r[1][0]),o+=1}return r}getSelectedBound(e,t){return h.__getSelectedBound(e,t)}static __normalizeTable(e){let t=[],i=h.__formalMatrix(e);h.__removeExtraColspans(i,t),h.__removeExtraRowspans(i,t);for(let e=0;e<i.length;e+=1)for(let t=0;t<i[e].length;t+=1)void 0!==i[e][t]&&(i[e][t].hasAttribute("rowspan")&&1===i[e][t].rowSpan&&(0,u.attr)(i[e][t],"rowspan",null),i[e][t].hasAttribute("colspan")&&1===i[e][t].colSpan&&(0,u.attr)(i[e][t],"colspan",null),i[e][t].hasAttribute("class")&&!(0,u.attr)(i[e][t],"class")&&(0,u.attr)(i[e][t],"class",null));h.__unmark(t)}static __removeExtraColspans(e,t){for(let i=0;i<e[0].length;i+=1){let n=1e6,o=!1;for(let t=0;t<e.length;t+=1)if(void 0!==e[t][i]){if(e[t][i].colSpan<2){o=!0;break}n=Math.min(n,e[t][i].colSpan)}if(!o)for(let o=0;o<e.length;o+=1)void 0!==e[o][i]&&h.__mark(e[o][i],"colspan",e[o][i].colSpan-n+1,t)}}static __removeExtraRowspans(e,t){let i=0,n=0;for(i=0;i<e.length;i+=1){let o=1e6,r=!1;for(n=0;n<e[i].length;n+=1)if(void 0!==e[i][n]){if(e[i][n].rowSpan<2){r=!0;break}o=Math.min(o,e[i][n].rowSpan)}if(!r)for(n=0;n<e[i].length;n+=1)void 0!==e[i][n]&&h.__mark(e[i][n],"rowspan",e[i][n].rowSpan-o+1,t)}}normalizeTable(e){return h.__normalizeTable(e)}static __mergeSelected(e,t){let i=[],n=h.__getSelectedBound(e,h.__getSelectedCellsByTable(e)),o=0,r=null,a=0,c=0,d=0,m=new Set,f=[];n&&(n[0][0]-n[1][0]||n[0][1]-n[1][1])&&(h.__formalMatrix(e,(e,s,l,g,v)=>{s>=n[0][0]&&s<=n[1][0]&&l>=n[0][1]&&l<=n[1][1]&&(m.has(e)||(m.add(e),s===n[0][0]&&e.style.width&&(o+=e.offsetWidth),""!==(0,u.trim)(e.innerHTML.replace(/<br(\/)?>/g,""))&&i.push(e.innerHTML),g>1&&(c+=g-1),v>1&&(d+=v-1),r?(h.__mark(e,"remove",1,f),p(t).removeSelection(e)):(r=e,a=l)))}),c=n[1][1]-n[0][1]+1,d=n[1][0]-n[0][0]+1,r&&(c>1&&h.__mark(r,"colspan",c,f),d>1&&h.__mark(r,"rowspan",d,f),o&&(h.__mark(r,"width",(o/e.offsetWidth*100).toFixed(s.ACCURACY)+"%",f),a&&h.__setColumnWidthByDelta(e,a,0,!0,f)),r.innerHTML=i.join("<br/>"),p(t).addSelection(r),m.delete(r),h.__unmark(f),h.__normalizeTable(e),(0,u.toArray)(e.rows).forEach(e=>{e.cells.length||l.Dom.safeRemove(e)})))}mergeSelected(e){return h.__mergeSelected(e,this.j)}static __splitHorizontal(e,t){let i,n,o,r,s,a=[];h.__getSelectedCellsByTable(e).forEach(c=>{(n=t.createInside.element("td")).appendChild(t.createInside.element("br")),o=t.createInside.element("tr"),i=h.__formalCoordinate(e,c),c.rowSpan<2?(h.__formalMatrix(e,(e,t,n)=>{i[0]===t&&i[1]!==n&&e!==c&&h.__mark(e,"rowspan",e.rowSpan+1,a)}),l.Dom.after(l.Dom.closest(c,"tr",e),o),o.appendChild(n)):(h.__mark(c,"rowspan",c.rowSpan-1,a),h.__formalMatrix(e,(t,n,o)=>{n>i[0]&&n<i[0]+c.rowSpan&&i[1]>o&&t.parentNode.rowIndex===n&&(s=t),i[0]<n&&t===c&&(r=e.rows[n])}),s?l.Dom.after(s,n):r.insertBefore(n,r.firstChild)),c.colSpan>1&&h.__mark(n,"colspan",c.colSpan,a),h.__unmark(a),p(t).removeSelection(c)}),this.__normalizeTable(e)}splitHorizontal(e){return h.__splitHorizontal(e,this.j)}static __splitVertical(e,t){let i,n,o,r=[];h.__getSelectedCellsByTable(e).forEach(a=>{i=h.__formalCoordinate(e,a),a.colSpan<2?h.__formalMatrix(e,(e,t,n)=>{i[1]===n&&i[0]!==t&&e!==a&&h.__mark(e,"colspan",e.colSpan+1,r)}):h.__mark(a,"colspan",a.colSpan-1,r),(n=t.createInside.element("td")).appendChild(t.createInside.element("br")),a.rowSpan>1&&h.__mark(n,"rowspan",a.rowSpan,r);let c=a.offsetWidth;l.Dom.after(a,n),o=c/e.offsetWidth/2,h.__mark(a,"width",(100*o).toFixed(s.ACCURACY)+"%",r),h.__mark(n,"width",(100*o).toFixed(s.ACCURACY)+"%",r),h.__unmark(r),p(t).removeSelection(a)}),h.__normalizeTable(e)}splitVertical(e){return h.__splitVertical(e,this.j)}static __setColumnWidthByDelta(e,t,i,n,o){let r=h.__formalMatrix(e),a=0;for(let n=0;n<r.length;n+=1){let l=r[n][t];if(l.colSpan>1&&r.length>1)continue;let c=(l.offsetWidth+i)/e.offsetWidth*100;h.__mark(l,"width",c.toFixed(s.ACCURACY)+"%",o),a=n;break}for(let e=a+1;e<r.length;e+=1){let i=r[e][t];h.__mark(i,"width",null,o)}n||h.__unmark(o)}setColumnWidthByDelta(e,t,i,n,o){return h.__setColumnWidthByDelta(e,t,i,n,o)}static __mark(e,t,i,n){var o;n.push(e);let r=null!=(o=d.get(e))?o:{};r[t]=void 0===i?1:i,d.set(e,r)}static __unmark(e){e.forEach(e=>{let t=d.get(e);t&&(Object.keys(t).forEach(i=>{let n=t[i];switch(i){case"remove":l.Dom.safeRemove(e);break;case"rowspan":(0,u.attr)(e,"rowspan",(0,u.isNumber)(n)&&n>1?n:null);break;case"colspan":(0,u.attr)(e,"colspan",(0,u.isNumber)(n)&&n>1?n:null);break;case"width":null==n?(e.style.removeProperty("width"),(0,u.attr)(e,"style")||(0,u.attr)(e,"style",null)):e.style.width=n.toString()}delete t[i]}),d.delete(e))})}constructor(...e){super(...e),(0,n._)(this,"selected",new Set)}}(0,n._)(h,"__selectedByTable",new WeakMap),(0,o.__decorate)([(0,a.debounce)()],h.prototype,"__recalculateStyles",null);let p=e=>e.getInstance("Table",e.o)},98831:function(e,t,i){"use strict";i.d(t,{normalizeSize:function(){return n}});let n=(e,t)=>/^[0-9]+$/.test(e.toString())?e+t:e.toString()},98838:function(e,t,i){"use strict";i.d(t,{UIForm:function(){return u}});var n=i(31635),o=i(80251),r=i(91672),s=i(93640),a=i(65273),l=i(49999),c=i(63468);class u extends c.UIGroup{className(){return"UIForm"}submit(){this.j.e.fire(this.container,"submit")}validate(){for(let e of this.allChildren.filter(e=>o.Component.isInstanceOf(e,a.UIInput)))if(!e.validate())return!1;for(let e of this.allChildren.filter(e=>o.Component.isInstanceOf(e,l.UISelect)))if(!e.validate())return!1;return!0}onSubmit(e){return this.j.e.on(this.container,"submit",()=>{let t=this.allChildren.filter(e=>o.Component.isInstanceOf(e,a.UIInput));return!!this.validate()&&(e(t.reduce((e,t)=>(e[t.state.name]=t.value,e),{})),!1)}),this}createContainer(){let e=this.j.c.element("form");return e.classList.add(this.componentName),(0,s.attr)(e,"dir",this.j.o.direction||"auto"),(0,s.attr)(e,"novalidate",""),e}constructor(...e){var t,i;super(...e),(null==(t=this.options)?void 0:t.className)&&this.container.classList.add(null==(i=this.options)?void 0:i.className)}}u=(0,n.__decorate)([r.component],u)},98964:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1152 1376v-160q0-14-9-23t-23-9h-96v-512q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896v-160q0-14-9-23t-23-9h-192q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"/> </svg>'},98988:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(23211),a=i(28077),l=i(57821),c=i(91206),u=i(4099);i(47670);class d extends c.Plugin{afterInit(e){this.proxyEventsList.forEach(t=>{e.e.on(t+".select",this.onStartSelection)})}beforeDestruct(e){this.proxyEventsList.forEach(t=>{e.e.on(t+".select",this.onStartSelection)})}onStartSelection(e){let{j:t}=this,i,n=e.target;for(;void 0===i&&n&&n!==t.editor;)i=t.e.fire((0,l.camelCase)(e.type+"_"+n.nodeName.toLowerCase()),n,e),n=n.parentElement;"click"===e.type&&void 0===i&&n===t.editor&&t.e.fire(e.type+"Editor",n,e)}onOutsideClick(e){let t=e.target;s.Dom.up(t,e=>e===this.j.editor)||u.UIElement.closestElement(t,u.Popup)||this.j.e.fire("outsideClick",e)}beforeCommandCut(){let{s:e}=this.j;if(!e.isCollapsed()){let t=e.current();t&&s.Dom.isOrContains(this.j.editor,t)&&this.onCopyNormalizeSelectionBound()}}beforeCommandSelectAll(){let{s:e}=this.j;return e.focus(),e.select(this.j.editor,!0),e.expandSelection(),!1}onTripleClickNormalizeSelection(e){if(3!==e.detail||!this.j.o.select.normalizeTripleClick)return;let{s:t}=this.j,{startContainer:i,startOffset:n}=t.range;0===n&&s.Dom.isText(i)&&t.select(s.Dom.closest(i,s.Dom.isBlock,this.j.editor)||i,!0)}onCopyNormalizeSelectionBound(e){let{s:t,editor:i,o:n}=this.j;!n.select.normalizeSelectionBeforeCutAndCopy||t.isCollapsed()||(!e||e.isTrusted&&s.Dom.isNode(e.target)&&s.Dom.isOrContains(i,e.target))&&this.jodit.s.expandSelection()}constructor(...e){super(...e),(0,n._)(this,"proxyEventsList",["click","mousedown","touchstart","mouseup","touchend"])}}(0,o.__decorate)([r.autobind],d.prototype,"onStartSelection",null),(0,o.__decorate)([(0,r.watch)("ow:click")],d.prototype,"onOutsideClick",null),(0,o.__decorate)([(0,r.watch)([":beforeCommandCut"])],d.prototype,"beforeCommandCut",null),(0,o.__decorate)([(0,r.watch)([":beforeCommandSelectall"])],d.prototype,"beforeCommandSelectAll",null),(0,o.__decorate)([(0,r.watch)([":click"])],d.prototype,"onTripleClickNormalizeSelection",null),(0,o.__decorate)([(0,r.watch)([":copy",":cut"])],d.prototype,"onCopyNormalizeSelectionBound",null),a.pluginSystem.add("select",d)},99436:function(e,t,i){"use strict";function n(e){return e.length?e[0].toUpperCase()+e.substring(1):""}i.d(t,{ucfirst:function(){return n}})},99732:function(e,t,i){"use strict";i.d(t,{isInt:function(){return r}});var n=i(70222),o=i(85932);function r(e){return(0,o.isString)(e)&&(0,n.isNumeric)(e)&&(e=parseFloat(e)),"number"==typeof e&&Number.isFinite(e)&&!(e%1)}},99876:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1344 1472q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm256 0q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128-224v320q0 40-28 68t-68 28h-1472q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h427q21 56 70.5 92t110.5 36h256q61 0 110.5-36t70.5-92h427q40 0 68 28t28 68zm-325-648q-17 40-59 40h-256v448q0 26-19 45t-45 19h-256q-26 0-45-19t-19-45v-448h-256q-42 0-59-40-17-39 14-69l448-448q18-19 45-19t45 19l448 448q31 30 14 69z"/> </svg>'}},r={};function s(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,s),i.exports}s.m=o,e=[],s.O=function(t,i,n,o){if(i){o=o||0;for(var r=e.length;r>0&&e[r-1][2]>o;r--)e[r]=e[r-1];e[r]=[i,n,o];return}for(var a=1/0,r=0;r<e.length;r++){for(var i=e[r][0],n=e[r][1],o=e[r][2],l=!0,c=0;c<i.length;c++)(!1&o||a>=o)&&Object.keys(s.O).every(function(e){return s.O[e](i[c])})?i.splice(c--,1):(l=!1,o<a&&(a=o));if(l){e.splice(r--,1);var u=n();void 0!==u&&(t=u)}}return t},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,{a:t}),t},s.d=function(e,t){for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.r=function(e){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t={521:0},s.O.j=function(e){return 0===t[e]},i=function(e,i){var n,o,r=i[0],a=i[1],l=i[2],c=0;if(r.some(function(e){return 0!==t[e]})){for(n in a)s.o(a,n)&&(s.m[n]=a[n]);if(l)var u=l(s)}for(e&&e(i);c<r.length;c++)o=r[c],s.o(t,o)&&t[o]&&t[o][0](),t[o]=0;return s.O(u)},(n=self.webpackChunkjodit=self.webpackChunkjodit||[]).forEach(i.bind(null,0)),n.push=i.bind(null,n.push.bind(n));var a={};return!function(){"use strict";s.r(a),s.d(a,{CommitMode:function(){return u},Jodit:function(){return e.Jodit}});var e=s(73302),t=s(28686),i=s(81937),n=s(84839),o=s(60936),r=s(13564),l=s(89317);s(93637),Object.keys(i).forEach(t=>{e.Jodit[t]=i[t]});let c=e=>"__esModule"!==e;Object.keys(r).filter(c).forEach(e=>{o.Icon.set(e.replace("_","-"),r[e])}),Object.keys(o).filter(c).forEach(i=>{var n;let r=o[i],s=(0,t.isFunction)(null==(n=r.prototype)?void 0:n.className)?r.prototype.className():i;(0,t.isString)(s)&&(e.Jodit.modules[s]=r)}),Object.keys(n).filter(c).forEach(t=>{e.Jodit.decorators[t]=n[t]}),["Confirm","Alert","Prompt"].forEach(t=>{e.Jodit[t]=o[t]}),Object.keys(l.default).filter(c).forEach(t=>{e.Jodit.lang[t]=l.default[t]});class u{}}(),a=s.O(a)}()});