jodit-pro 1.2.26 → 1.2.31
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.
- package/build/jodit.css +1 -0
- package/build/jodit.es5.css +8 -0
- package/build/jodit.es5.js +1 -0
- package/build/jodit.fat.css +1 -0
- package/build/jodit.fat.es5.css +1 -0
- package/build/jodit.fat.es5.js +1 -0
- package/build/jodit.fat.js +1 -0
- package/build/jodit.js +1 -0
- package/build/plugins/autocomplete/autocomplete.css +1 -0
- package/build/plugins/autocomplete/autocomplete.es5.css +1 -0
- package/build/plugins/autocomplete/autocomplete.es5.js +1 -0
- package/build/plugins/autocomplete/autocomplete.js +1 -0
- package/build/plugins/backup/backup.css +1 -0
- package/build/plugins/backup/backup.es5.css +1 -0
- package/build/plugins/backup/backup.es5.js +1 -0
- package/build/plugins/backup/backup.js +1 -0
- package/build/plugins/button-generator/button-generator.css +1 -0
- package/build/plugins/button-generator/button-generator.es5.css +1 -0
- package/build/plugins/button-generator/button-generator.es5.js +1 -0
- package/build/plugins/button-generator/button-generator.js +1 -0
- package/build/plugins/change-case/change-case.es5.js +1 -0
- package/build/plugins/change-case/change-case.js +1 -0
- package/build/plugins/color-picker/color-picker.css +1 -0
- package/build/plugins/color-picker/color-picker.es5.css +1 -0
- package/build/plugins/color-picker/color-picker.es5.js +1 -0
- package/build/plugins/color-picker/color-picker.js +1 -0
- package/build/plugins/emoji/emoji.css +1 -0
- package/build/plugins/emoji/emoji.es5.css +1 -0
- package/build/plugins/emoji/emoji.es5.js +1 -0
- package/build/plugins/emoji/emoji.js +1 -0
- package/build/plugins/export-docs/export-docs.es5.js +1 -0
- package/build/plugins/export-docs/export-docs.js +1 -0
- package/build/plugins/finder/finder.css +1 -0
- package/build/plugins/finder/finder.es5.css +1 -0
- package/build/plugins/finder/finder.es5.js +1 -0
- package/build/plugins/finder/finder.js +1 -0
- package/build/plugins/google-maps/google-maps.css +1 -0
- package/build/plugins/google-maps/google-maps.es5.css +1 -0
- package/build/plugins/google-maps/google-maps.es5.js +1 -0
- package/build/plugins/google-maps/google-maps.js +1 -0
- package/build/plugins/google-search/google-search.es5.js +1 -0
- package/build/plugins/google-search/google-search.js +1 -0
- package/build/plugins/highlight-signature/highlight-signature.es5.js +1 -0
- package/build/plugins/highlight-signature/highlight-signature.js +1 -0
- package/build/plugins/keyboard/keyboard.css +1 -0
- package/build/plugins/keyboard/keyboard.es5.css +1 -0
- package/build/plugins/keyboard/keyboard.es5.js +1 -0
- package/build/plugins/keyboard/keyboard.js +1 -0
- package/build/plugins/page-break/page-break.css +1 -0
- package/build/plugins/page-break/page-break.es5.css +1 -0
- package/build/plugins/page-break/page-break.es5.js +1 -0
- package/build/plugins/page-break/page-break.js +1 -0
- package/build/plugins/paste-code/paste-code.css +1 -0
- package/build/plugins/paste-code/paste-code.es5.css +1 -0
- package/build/plugins/paste-code/paste-code.es5.js +1 -0
- package/build/plugins/paste-code/paste-code.js +1 -0
- package/build/plugins/show-blocks/show-blocks.es5.js +1 -0
- package/build/plugins/show-blocks/show-blocks.js +1 -0
- package/build/plugins/tune-block/tune-block.css +1 -0
- package/build/plugins/tune-block/tune-block.es5.css +1 -0
- package/build/plugins/tune-block/tune-block.es5.js +1 -0
- package/build/plugins/tune-block/tune-block.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
((e,t)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var i=t();for(var o in i)("object"==typeof exports?exports:e)[o]=i[o]}})(self,(function(){return function(){var e=[,function(e,t,i){"use strict";i.d(t,{Jodit:()=>Ki});var o={};i.r(o),i.d(o,{Backspace:()=>B,DragAndDrop:()=>te,DragAndDropElement:()=>ie,KeyArrowOutside:()=>ae,WrapTextNodes:()=>H,about:()=>S,addNewLine:()=>C,bold:()=>P,classSpan:()=>j,cleanHtml:()=>R,clipboard:()=>O,color:()=>Q,copyFormat:()=>X,enter:()=>se,errorMessages:()=>re,file:()=>Be,focus:()=>E,font:()=>le,formatBlock:()=>ce,fullsize:()=>de,hotkeys:()=>he,hr:()=>Se,iframe:()=>ue,image:()=>ke,imageProcessor:()=>ye,imageProperties:()=>we,indent:()=>xe,inlinePopup:()=>Ie,justify:()=>Te,limit:()=>ze,link:()=>Ae,media:()=>Me,mobile:()=>Re,orderedList:()=>Ne,paste:()=>U,pasteStorage:()=>G,placeholder:()=>Fe.W,poweredByJodit:()=>qe,preview:()=>ut,print:()=>pt,redoUndo:()=>Oe,resizeCells:()=>at,resizeHandler:()=>Ge,resizer:()=>We,search:()=>Ue,select:()=>$e,selectCells:()=>lt,size:()=>Ke,source:()=>et,stat:()=>tt,sticky:()=>it,symbols:()=>ot,table:()=>dt,tableKeyboardNavigation:()=>ct,tooltip:()=>ht,video:()=>De,xpath:()=>gt});var s={};i.r(s),i.d(s,{about:()=>ft,addcolumn:()=>bt,addrow:()=>vt,angle_down:()=>wt,angle_left:()=>yt,angle_right:()=>kt,angle_up:()=>Ct,arrows_alt:()=>xt,arrows_h:()=>St,attachment:()=>_t,bin:()=>Et,bold:()=>It,brush:()=>jt,cancel:()=>Tt,center:()=>zt,chain_broken:()=>Lt,check:()=>At,check_square:()=>Mt,chevron:()=>Dt,copy:()=>Rt,copyformat:()=>Bt,crop:()=>Pt,cut:()=>Ht,dedent:()=>Nt,dots:()=>qt,enter:()=>Ft,eraser:()=>Ot,eye:()=>Vt,file:()=>Wt,folder:()=>Ut,font:()=>$t,fontsize:()=>Gt,fullsize:()=>Kt,hr:()=>Yt,image:()=>Jt,indent:()=>Xt,info_circle:()=>Zt,italic:()=>Qt,justify:()=>ei,left:()=>ti,link:()=>ii,lock:()=>oi,menu:()=>si,merge:()=>ai,ok:()=>ni,ol:()=>ri,omega:()=>li,outdent:()=>ci,palette:()=>di,paragraph:()=>hi,paste:()=>ui,pencil:()=>pi,plus:()=>mi,print:()=>gi,redo:()=>fi,resize:()=>bi,resize_handler:()=>vi,resizer:()=>wi,right:()=>yi,save:()=>ki,search:()=>Ci,select_all:()=>Si,settings:()=>xi,shrink:()=>_i,source:()=>Ei,splitg:()=>Ii,splitv:()=>ji,strikethrough:()=>Ti,subscript:()=>zi,superscript:()=>Li,table:()=>Ai,th:()=>Mi,th_list:()=>Di,ul:()=>Bi,underline:()=>Pi,undo:()=>Ri,unlink:()=>Hi,unlock:()=>Ni,update:()=>qi,upload:()=>Fi,valign:()=>Oi,video:()=>Vi});var a={};i.r(a),i.d(a,{license:()=>$i.V,poweredByJodit:()=>Gi});var n=i(27),r=i(2),l=i(3),c=i(4),d=i(10),h=i(56),u=i(54),p=i(15),m=i(19);class Jodit extends u.C{constructor(e,t){super(t,!0),this.isJodit=!0,this.__defaultStyleDisplayKey="data-jodit-default-style-display",this.__defaultClassesKey="data-jodit-default-classes",this.commands={},this.__selectionLocked=null,this.__wasReadOnly=!1,this.createInside=new c.Create((()=>this.ed),this.o.createAttributes),this.editorIsActive=!1,this.__mode=l.MODE_WYSIWYG,this.__callChangeCount=0,this.isSilentChange=!1,this.elementToPlace=new Map;try{(0,d.resolveElement)(e,this.o.shadowRoot||this.od)}catch(e){throw this.destruct(),e}this.setStatus(c.STATUSES.beforeInit),this.id=(0,d.attr)((0,d.resolveElement)(e,this.o.shadowRoot||this.od),"id")||""+(new Date).getTime(),p.as[this.id]=this,this.storage=h.Ke.makeStorage(!0,this.id),this.attachEvents(t),this.e.on(this.ow,"resize",(()=>{this.e&&this.e.fire("resize")})),this.e.on("prepareWYSIWYGEditor",this.prepareWYSIWYGEditor),this.selection=new c.Select(this);const i=this.beforeInitHook();(0,d.callPromise)(i,(()=>{this.e.fire("beforeInit",this);const i=p.pw.init(this);(0,d.callPromise)(i,(()=>{this.e.fire("afterPluginSystemInit",this),this.e.on("changePlace",(()=>{this.setReadOnly(this.o.readonly),this.setDisabled(this.o.disabled)})),this.places.length=0;const i=this.addPlace(e,t);p.as[this.id]=this,(0,d.callPromise)(i,(()=>{this.e&&this.e.fire("afterInit",this),this.afterInitHook(),this.setStatus(c.STATUSES.ready),this.e.fire("afterConstructor",this)}))}))}))}className(){return"Jodit"}waitForReady(){return this.isReady?Promise.resolve(this):this.async.promise((e=>{this.hookStatus("ready",(()=>e(this)))}))}get text(){if(this.editor)return this.editor.innerText||"";const e=this.createInside.div();return e.innerHTML=this.getElementValue(),e.innerText||""}get defaultTimeout(){return this.options&&this.o.observer?this.o.observer.timeout:r.D.defaultOptions.observer.timeout}static atom(e){return(0,d.markAsAtomic)(e)}static make(e,t){return new Jodit(e,t)}static get defaultOptions(){return r.D.defaultOptions}setPlaceField(e,t){this.currentPlace||(this.currentPlace={},this.places=[this.currentPlace]),this.currentPlace[e]=t}get element(){return this.currentPlace.element}get editor(){return this.currentPlace.editor}set editor(e){this.setPlaceField("editor",e)}get container(){return this.currentPlace.container}set container(e){this.setPlaceField("container",e)}get workplace(){return this.currentPlace.workplace}get statusbar(){return this.currentPlace.statusbar}get iframe(){return this.currentPlace.iframe}set iframe(e){this.setPlaceField("iframe",e)}get observer(){return this.currentPlace.observer}get editorWindow(){return this.currentPlace.editorWindow}set editorWindow(e){this.setPlaceField("editorWindow",e)}get ew(){return this.editorWindow}get editorDocument(){return this.currentPlace.editorWindow.document}get ed(){return this.editorDocument}get options(){return this.currentPlace.options}set options(e){this.setPlaceField("options",e)}get s(){return this.selection}get uploader(){return this.getInstance("Uploader",this.o.uploader)}get filebrowser(){const e=this,t=(0,d.ConfigProto)({defaultTimeout:e.defaultTimeout,uploader:e.o.uploader,language:e.o.language,license:e.o.license,theme:e.o.theme,defaultCallback(t){t.files&&t.files.length&&t.files.forEach(((i,o)=>{const s=t.baseurl+i;t.isImages&&t.isImages[o]?e.s.insertImage(s,null,e.o.imageDefaultWidth):e.s.insertNode(e.createInside.fromHTML(`<a href='${s}' title='${s}'>${s}</a>`))}))}},this.o.filebrowser);return e.getInstance("FileBrowser",t)}get mode(){return this.__mode}set mode(e){this.setMode(e)}getNativeEditorValue(){const e=this.e.fire("beforeGetNativeEditorValue");return(0,d.isString)(e)?e:this.editor?this.editor.innerHTML:this.getElementValue()}setNativeEditorValue(e){const t={value:e};this.e.fire("beforeSetNativeEditorValue",t)||this.editor&&(this.editor.innerHTML=t.value)}get value(){return this.getEditorValue()}set value(e){this.setEditorValue(e)}getEditorValue(e=!0,t){let i;if(i=this.e.fire("beforeGetValueFromEditor",t),void 0!==i)return i;i=this.getNativeEditorValue().replace(l.INVISIBLE_SPACE_REG_EXP(),""),e&&(i=i.replace(/<span[^>]+id="jodit-selection_marker_[^>]+><\/span>/g,"")),"<br>"===i&&(i="");const o={value:i};return this.e.fire("afterGetValueFromEditor",o,t),o.value}setEditorValue(e){const t=this.e.fire("beforeSetValueToEditor",e);if(!1===t)return;if((0,d.isString)(t)&&(e=t),!this.editor)return void(void 0!==e&&this.setElementValue(e));if(!(0,d.isString)(e)&&!(0,d.isVoid)(e))throw(0,d.error)("value must be string");void 0!==e&&this.getNativeEditorValue()!==e&&this.setNativeEditorValue(e),this.e.fire("postProcessSetEditorValue");const i=this.getElementValue(),o=this.getEditorValue();if(!this.isSilentChange&&i!==o&&l.SAFE_COUNT_CHANGE_CALL>this.__callChangeCount){this.setElementValue(o),this.__callChangeCount+=1;try{this.observer.upTick(),this.e.fire("change",o,i),this.e.fire(this.observer,"change",o,i)}finally{this.__callChangeCount=0}}}getElementValue(){return void 0!==this.element.value?this.element.value:this.element.innerHTML}setElementValue(e){if(!(0,d.isString)(e)&&void 0!==e)throw(0,d.error)("value must be string");void 0!==e?this.element!==this.container&&(void 0!==this.element.value?this.element.value=e:this.element.innerHTML=e):e=this.getElementValue(),e!==this.getEditorValue()&&this.setEditorValue(e)}registerCommand(e,t,i){const o=e.toLowerCase();if(void 0===this.commands[o]&&(this.commands[o]=[]),this.commands[o].push(t),!(0,d.isFunction)(t)){const s=this.o.commandToHotkeys[o]||this.o.commandToHotkeys[e]||t.hotkeys;s&&this.registerHotkeyToCommand(s,o,null==i?void 0:i.stopPropagation)}return this}registerHotkeyToCommand(e,t,i=!0){const o=(0,d.asArray)(e).map(d.normalizeKeyAliases).map((e=>e+".hotkey")).join(" ");this.e.off(o).on(o,((e,o)=>(o.shouldStop=null==i||i,this.execCommand(t))))}execCommand(e,t=!1,i=null){if(this.o.readonly&&"selectall"!==e)return;let o;if(e=e.toLowerCase(),o=this.e.fire("beforeCommand",e,t,i),!1!==o&&(o=this.execCustomCommands(e,t,i)),!1!==o)if(this.s.focus(),"selectall"===e)this.s.select(this.editor,!0);else try{o=this.nativeExecCommand(e,t,i)}catch(e){}return this.e.fire("afterCommand",e,t,i),this.setEditorValue(),o}nativeExecCommand(e,t=!1,i=null){this.isSilentChange=!0;try{return this.ed.execCommand(e,t,i)}finally{this.isSilentChange=!1}}execCustomCommands(e,t=!1,i=null){if(e=e.toLowerCase(),void 0!==this.commands[e]){let o;const s=s=>{let a;a=(0,d.isFunction)(s)?s:s.exec;const n=a.call(this,e,t,i);void 0!==n&&(o=n)};for(let t=0;this.commands[e].length>t;t+=1)s(this.commands[e][t]);return o}}lock(e="any"){return!!super.lock(e)&&(this.__selectionLocked=this.s.save(),this.s.clear(),this.editor.classList.add("jodit_disabled"),this.e.fire("lock",!0),!0)}unlock(){return!!super.unlock()&&(this.editor.classList.remove("jodit_disabled"),this.__selectionLocked&&this.s.restore(),this.e.fire("lock",!1),!0)}getMode(){return this.mode}isEditorMode(){return this.getRealMode()===l.MODE_WYSIWYG}getRealMode(){if(this.getMode()!==l.MODE_SPLIT)return this.getMode();const e=this.od.activeElement;return e&&(e===this.iframe||c.Dom.isOrContains(this.editor,e)||c.Dom.isOrContains(this.toolbar.container,e))?l.MODE_WYSIWYG:l.MODE_SOURCE}setMode(e){const t=this.getMode(),i={mode:parseInt(""+e,10)},o=["jodit-wysiwyg_mode","jodit-source__mode","jodit_split_mode"];!1!==this.e.fire("beforeSetMode",i)&&(this.__mode=[l.MODE_SOURCE,l.MODE_WYSIWYG,l.MODE_SPLIT].includes(i.mode)?i.mode:l.MODE_WYSIWYG,this.o.saveModeInStorage&&this.storage.set("jodit_default_mode",this.mode),o.forEach((e=>{this.container.classList.remove(e)})),this.container.classList.add(o[this.mode-1]),t!==this.getMode()&&this.e.fire("afterSetMode"))}toggleMode(){let e=this.getMode();[l.MODE_SOURCE,l.MODE_WYSIWYG,this.o.useSplitMode?l.MODE_SPLIT:9].includes(e+1)?e+=1:e=l.MODE_WYSIWYG,this.setMode(e)}setDisabled(e){this.o.disabled=e;const t=this.__wasReadOnly;this.setReadOnly(e||t),this.__wasReadOnly=t,this.editor&&(this.editor.setAttribute("aria-disabled",""+e),this.container.classList.toggle("jodit_disabled",e),this.e.fire("disabled",e))}getDisabled(){return this.o.disabled}setReadOnly(e){this.__wasReadOnly!==e&&(this.__wasReadOnly=e,this.o.readonly=e,e?this.editor&&this.editor.removeAttribute("contenteditable"):this.editor&&this.editor.setAttribute("contenteditable","true"),this.e&&this.e.fire("readonly",e))}getReadOnly(){return this.o.readonly}beforeInitHook(){}afterInitHook(){}initOptions(e){this.options=(0,d.ConfigProto)(e||{},r.D.defaultOptions)}initOwners(){this.editorWindow=this.o.ownerWindow,this.ownerWindow=this.o.ownerWindow}addPlace(e,t){const i=(0,d.resolveElement)(e,this.o.shadowRoot||this.od);this.attachEvents(t),i.attributes&&(0,d.toArray)(i.attributes).forEach((e=>{const i=e.name;let o=e.value;void 0===r.D.defaultOptions[i]||t&&void 0!==t[i]||(-1!==["readonly","disabled"].indexOf(i)&&(o=""===o||"true"===o),/^[0-9]+(\.)?([0-9]+)?$/.test(""+o)&&(o=Number(o)),this.options[i]=o)}));let o=this.c.div("jodit-container");o.classList.add("jodit"),o.classList.add("jodit-container"),o.classList.add("jodit_theme_"+(this.o.theme||"default"));const{styleValues:s}=this.o;Object.keys(s).forEach((e=>{const t=(0,d.kebabCase)(e);o.style.setProperty("--jd-"+t,s[e])})),o.setAttribute("contenteditable","false");let a=null;this.o.inline&&(-1===["TEXTAREA","INPUT"].indexOf(i.nodeName)&&(o=i,i.setAttribute(this.__defaultClassesKey,""+i.className),a=o.innerHTML,o.innerHTML=""),o.classList.add("jodit_inline"),o.classList.add("jodit-container")),i!==o&&(i.style.display&&i.setAttribute(this.__defaultStyleDisplayKey,i.style.display),i.style.display="none");const n=this.c.div("jodit-workplace",{contenteditable:!1});o.appendChild(n);const l=new c.StatusBar(this,o);i.parentNode&&i!==o&&i.parentNode.insertBefore(o,i),Object.defineProperty(i,"component",{enumerable:!1,configurable:!0,value:this});const h=this.c.div("jodit-wysiwyg",{contenteditable:!0,"aria-disabled":!1,tabindex:this.o.tabIndex});n.appendChild(h);const u={editor:h,element:i,container:o,workplace:n,statusbar:l,options:this.isReady?(0,d.ConfigProto)(t||{},r.D.defaultOptions):this.options,observer:new c.Observer(this),editorWindow:this.ow};this.elementToPlace.set(h,u),this.setCurrentPlace(u),this.places.push(u),this.setNativeEditorValue(this.getElementValue());const p=this.initEditor(a),m=this.options;return(0,d.callPromise)(p,(()=>{m.enableDragAndDropFileToEditor&&m.uploader&&(m.uploader.url||m.uploader.insertImageAsBase64URI)&&this.uploader.bind(this.editor),this.elementToPlace.get(this.editor)||this.elementToPlace.set(this.editor,u),this.e.fire("afterAddPlace",u)}))}addDisclaimer(e){this.workplace.appendChild(e)}setCurrentPlace(e){this.currentPlace!==e&&(this.isEditorMode()||this.setMode(l.MODE_WYSIWYG),this.currentPlace=e,this.buildToolbar(),this.isReady&&this.e.fire("changePlace",e))}initEditor(e){const t=this.createEditor();return(0,d.callPromise)(t,(()=>{if(this.isInDestruct)return;this.element!==this.container?this.setElementValue():null!=e&&this.setEditorValue(e);let t=this.o.defaultMode;if(this.o.saveModeInStorage){const e=this.storage.get("jodit_default_mode");"string"==typeof e&&(t=parseInt(e,10))}this.setMode(t),this.o.readonly&&(this.__wasReadOnly=!1,this.setReadOnly(!0)),this.o.disabled&&this.setDisabled(!0);try{this.ed.execCommand("defaultParagraphSeparator",!1,this.o.enter.toLowerCase())}catch(e){}try{this.ed.execCommand("enableObjectResizing",!1,"false")}catch(e){}try{this.ed.execCommand("enableInlineTableEditing",!1,"false")}catch(e){}}))}createEditor(){const e=this.editor,t=this.e.fire("createEditor",this);return(0,d.callPromise)(t,(()=>{if(!this.isInDestruct){if((!1===t||(0,d.isPromise)(t))&&c.Dom.safeRemove(e),this.o.editorCssClass&&this.editor.classList.add(this.o.editorCssClass),this.o.style&&(0,d.css)(this.editor,this.o.style),this.e.on("synchro",(()=>{this.setEditorValue()})).on("focus",(()=>{this.editorIsActive=!0})).on("blur",(()=>this.editorIsActive=!1)),this.prepareWYSIWYGEditor(),this.o.direction){const e="rtl"===this.o.direction.toLowerCase()?"rtl":"ltr";this.container.style.direction=e,this.container.setAttribute("dir",e),this.toolbar.setDirection(e)}this.o.triggerChangeEvent&&this.e.on("change",this.async.debounce((()=>{this.e&&this.e.fire(this.element,"change")}),this.defaultTimeout))}}))}prepareWYSIWYGEditor(){const{editor:e}=this;if(this.editor.setAttribute("spellcheck",this.o.spellcheck?"true":"false"),this.o.direction){const e="rtl"===this.o.direction.toLowerCase()?"rtl":"ltr";this.editor.style.direction=e,this.editor.setAttribute("dir",e)}this.e.on(e,"mousedown touchstart focus",(()=>{const t=this.elementToPlace.get(e);t&&this.setCurrentPlace(t)})).on(e,"compositionend",(()=>{this.setEditorValue()})).on(e,"selectionchange selectionstart keydown keyup input keypress dblclick mousedown mouseup click copy cut dragstart drop dragover paste resize touchstart touchend focus blur",(e=>{if(!this.o.readonly&&!this.isSilentChange&&!(e instanceof this.ew.KeyboardEvent&&e.isComposing)&&this.e&&this.e.fire){if(!1===this.e.fire(e.type,e))return!1;this.setEditorValue()}}))}destruct(){if(this.isInDestruct)return;if(this.setStatus(c.STATUSES.beforeDestruct),this.elementToPlace.clear(),!this.editor)return;const e=this.getEditorValue();this.storage.clear(),this.buffer.clear(),this.commands={},this.__selectionLocked=null,this.e.off(this.ow,"resize"),this.e.off(this.ow),this.e.off(this.od),this.e.off(this.od.body),this.places.forEach((({container:t,workplace:i,statusbar:o,element:s,iframe:a,editor:n,observer:r})=>{if(s!==t)if(s.hasAttribute(this.__defaultStyleDisplayKey)){const e=(0,d.attr)(s,this.__defaultStyleDisplayKey);e&&(s.style.display=e,s.removeAttribute(this.__defaultStyleDisplayKey))}else s.style.display="";else s.hasAttribute(this.__defaultClassesKey)&&(s.className=(0,d.attr)(s,this.__defaultClassesKey)||"",s.removeAttribute(this.__defaultClassesKey));s.hasAttribute("style")&&!(0,d.attr)(s,"style")&&s.removeAttribute("style"),!o.isInDestruct&&o.destruct(),this.e.off(t),this.e.off(s),this.e.off(n),c.Dom.safeRemove(i),c.Dom.safeRemove(n),t!==s&&c.Dom.safeRemove(t),Object.defineProperty(s,"component",{enumerable:!1,configurable:!0,value:null}),c.Dom.safeRemove(a),t===s&&(s.innerHTML=e),!r.isInDestruct&&r.destruct()})),this.places.length=0,this.currentPlace={},delete p.as[this.id],super.destruct()}}Jodit.fatMode=!1,Jodit.plugins=p.pw,Jodit.modules=p.qz,Jodit.ns=p.qz,Jodit.decorators={},Jodit.instances=p.as,Jodit.lang=p.KQ,Jodit.core={Plugin:c.Plugin},(0,n.gn)([m.cache],Jodit.prototype,"uploader",null),(0,n.gn)([m.cache],Jodit.prototype,"filebrowser",null),(0,n.gn)([m.autobind],Jodit.prototype,"prepareWYSIWYGEditor",null);var g=i(20);const f=i(68);let b={en:f};{const e=i(69),t=i(70),o=i(71),s=i(72),a=i(73),n=i(74),r=i(75),l=i(76),c=i(77),d=i(78),h=i(79),u=i(80),p=i(81),m=i(82),g=i(83),v=i(84),w=i(85),y=i(86);b={ar:e,cs_cz:t,de:o,en:f,es:s,fr:a,he:n,hu:r,id:l,it:c,ja:d,ko:h,nl:u,pl:p,pt_br:m,ru:g,tr:v,zh_cn:w,zh_tw:y}}const v=e=>e.default||e,w={};(0,g.kJ)(v(f))&&v(f).forEach(((e,t)=>{w[t]=e})),Object.keys(b).forEach((e=>{const t=v(b[e]);(0,g.kJ)(t)&&(b[e]={},t.forEach(((t,i)=>{b[e][w[i]]=t})))}));var y=b;r.D.prototype.addNewLine=!0,r.D.prototype.addNewLineOnDBLClick=!0,r.D.prototype.addNewLineTagsTriggers=["table","iframe","img","hr","pre","jodit"],r.D.prototype.addNewLineDeltaShow=20;const k="addnewline";class C extends c.Plugin{constructor(){super(...arguments),this.line=this.j.c.fromHTML(`<div role="button" tabindex="-1" title="${this.j.i18n("Break")}" class="jodit-add-new-line"><span>${c.Icon.get("enter")}</span></div>`),this.isMatchedTag=e=>!(!e||!this.j.o.addNewLineTagsTriggers.includes(e.nodeName.toLowerCase())),this.preview=!1,this.lineInFocus=!1,this.isShown=!1,this.hideForce=()=>{this.isShown&&(this.isShown=!1,this.j.async.clearTimeout(this.timeout),this.lineInFocus=!1,c.Dom.safeRemove(this.line))},this.hide=()=>{this.isShown&&!this.lineInFocus&&(this.timeout=this.j.async.setTimeout(this.hideForce,{timeout:500,label:"add-new-line-hide"}))},this.canGetFocus=e=>null!=e&&c.Dom.isBlock(e)&&!/^(img|table|iframe|hr)$/i.test(e.nodeName),this.onClickLine=e=>{const t=this.j,i=t.createInside.element(t.o.enter);this.preview&&this.current&&this.current.parentNode?this.current.parentNode.insertBefore(i,this.current):t.editor.appendChild(i),t.s.setCursorIn(i),(0,d.scrollIntoViewIfNeeded)(i,t.editor,t.ed),t.e.fire("synchro"),this.hideForce(),e.preventDefault()},this.onDblClickEditor=e=>{const t=this.j;if(!t.o.readonly&&t.o.addNewLineOnDBLClick&&e.target===t.editor&&t.s.isCollapsed()){const i=(0,d.offset)(t.editor,t,t.ed),o=e.pageY-t.ew.pageYOffset,s=t.createInside.element(t.o.enter);Math.abs(o-(i.height+i.top))>Math.abs(o-i.top)&&t.editor.firstChild?t.editor.insertBefore(s,t.editor.firstChild):t.editor.appendChild(s),t.s.setCursorIn(s),t.setEditorValue(),this.hideForce(),e.preventDefault()}},this.onMouseMove=e=>{const t=this.j;let i=t.ed.elementFromPoint(e.clientX,e.clientY);if(!c.Dom.isHTMLElement(i)||c.Dom.isOrContains(this.line,i))return;if(!c.Dom.isOrContains(t.editor,i))return;if(this.isMatchedTag(i)||(i=c.Dom.closest(i,this.isMatchedTag,t.editor)),!i)return void this.hide();if(this.isMatchedTag(i)){const e=c.Dom.up(i,c.Dom.isBlock,t.editor);e&&e!==t.editor&&(i=e)}const o=(0,d.position)(i,this.j);let s=!1,{clientY:a}=e;if(this.j.iframe){const{top:e}=(0,d.position)(this.j.iframe,this.j,!0);a+=e}const n=this.j.o.addNewLineDeltaShow;Math.abs(a-o.top)>n||(s=o.top,this.preview=!0),Math.abs(a-(o.top+o.height))>n||(s=o.top+o.height,this.preview=!1),!1===s||(0,d.call)(this.preview?c.Dom.prev:c.Dom.next,i,this.canGetFocus,t.editor)?(this.current=!1,this.hide()):(this.line.style.top=s+"px",this.current=i,this.show())}}show(){this.isShown||this.j.o.readonly||this.j.isLocked||(this.isShown=!0,this.j.async.clearTimeout(this.timeout),this.line.classList.toggle("jodit-add-new-line_after",!this.preview),this.j.container.appendChild(this.line),this.line.style.width=this.j.editor.clientWidth+"px")}afterInit(e){e.o.addNewLine&&(e.e.on(this.line,"mousemove",(e=>{e.stopPropagation()})).on(this.line,"mousedown touchstart",this.onClickLine).on("change",this.hideForce).on(this.line,"mouseenter",(()=>{this.j.async.clearTimeout(this.timeout),this.lineInFocus=!0})).on(this.line,"mouseleave",(()=>{this.lineInFocus=!1})).on("changePlace",this.addEventListeners.bind(this)),this.addEventListeners())}addEventListeners(){const e=this.j;e.e.off(e.editor,"."+k).off(e.container,"."+k).on([e.ow,e.ew,e.editor],"scroll."+k,this.hideForce).on(e.editor,"dblclick."+k,this.onDblClickEditor).on(e.editor,"click."+k,this.hide).on(e.container,"mouseleave."+k,this.hide).on(e.editor,"mousemove."+k,e.async.debounce(this.onMouseMove,3*e.defaultTimeout))}beforeDestruct(){this.j.async.clearTimeout(this.timeout),this.j.e.off(this.line).off("changePlace",this.addEventListeners),c.Dom.safeRemove(this.line),this.j.e.off([this.j.ow,this.j.ew,this.j.editor],"."+k).off(this.j.container,"."+k)}}var x=i(53);function S(e){e.registerButton({name:"about",group:"info"})}r.D.prototype.controls.about={exec(e){const t=new x.Vq({language:e.o.language}),i=e.i18n.bind(e);t.setMod("theme",e.o.theme).setHeader(i("About Jodit")).setContent(`<div class="jodit-about">\n\t\t\t\t\t<div>${i("Jodit Editor")} v.${e.getVersion()}</div>\n\t\t\t\t\t<div>${i("License: %s",(0,d.isLicense)(e.o.license)?(0,d.normalizeLicense)(e.o.license):"MIT")}</div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<a href="https://xdsoft.net/jodit/pro/" target="_blank">https://xdsoft.net/jodit/pro/</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<a href="https://xdsoft.net/jodit/doc/" target="_blank">${i("Jodit User's Guide")}</a>\n\t\t\t\t\t\t${i("contains detailed help for using")}\n\t\t\t\t\t</div>\n\t\t\t\t\t<div>${i("Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.")}</div>\n\t\t\t\t</div>`),(0,d.css)(t.dialog,{minHeight:200,minWidth:420}),t.open(!0).bindDestruct(e)},tooltip:"About Jodit",mode:l.MODE_SOURCE+l.MODE_WYSIWYG};var _=i(17);function E(e){e.o.saveSelectionOnBlur&&e.e.on("blur",(()=>{e.isEditorMode()&&e.s.save(!0)})).on("focus",(()=>{e.s.restore()}));const t=()=>{if(e.s.focus(),"end"===e.o.cursorAfterAutofocus){const t=_.i.last(e.editor,(e=>_.i.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&&_.i.isBlock(t.target)&&!t.target.childNodes.length&&(e.editor===t.target?e.s.focus():e.s.setCursorIn(t.target))}))}))}r.D.prototype.autofocus=!1,r.D.prototype.cursorAfterAutofocus="end",r.D.prototype.saveSelectionOnBlur=!0;var I=i(62);r.D.prototype.controls.classSpan={command:"applyClassName",icon:i(87),exec:d.memorizeExec,list:["enabled","disabled","activated","text-left","text-center","text-right","warning","error"],isChildActive(e,t){const i=e.s.current();if(i){const o=_.i.closest(i,_.i.isElement,e.editor)||e.editor;return!(!t.args||!o.classList.contains(""+t.args[0]))}return!1},isActive(e,t){const i=e.s.current();if(i){const o=_.i.closest(i,_.i.isElement,e.editor)||e.editor;let s=!1;return t.list&&Object.keys(t.list).forEach((e=>{o.classList.contains(e)&&(s=!0)})),!(!o||o===e.editor||void 0===t.list||!s)}return!1},childTemplate:(e,t,i)=>`<span class="${t}">${e.i18n(i)}</span>`,tooltip:"Insert className"};class j extends I.S{constructor(){super(...arguments),this.buttons=[{name:"classSpan",group:"font"}]}afterInit(e){e.registerCommand("applyClassName",((t,i,o)=>(e.s.applyStyle(void 0,{className:o}),!1)))}beforeDestruct(){}}var T=i(88);function z(e,t,i){const o=_.i.findSibling(t,i),s=_.i.findSibling(t,!i);if(!_.i.closest(t,_.i.isElement,e.editor)&&_.i.isTag(o,["ul","ol"])&&_.i.isTag(s,["ul","ol"])&&_.i.isTag(o.lastElementChild,"li")&&_.i.isTag(s.firstElementChild,"li")){const{setCursorBefore:a,setCursorAfter:n}=e.s,r=o.lastElementChild;return(0,d.call)(i?_.i.prepend:_.i.append,s.firstElementChild,t),_.i.moveContent(s,o,!i),_.i.safeRemove(s),(0,d.call)(i?_.i.append:_.i.prepend,r,t),(0,d.call)(i?a:n,t),!0}return!1}function L(e,t,i){let o=!1;const{setCursorBefore:s,setCursorIn:a}=e.s;let n=_.i.closest(t,_.i.isElement,e.editor);if(!n||!_.i.isEmpty(n))return!1;const r=(0,T.tT)(t,i,e.editor);do{if(!n||!_.i.isEmpty(n)||_.i.isCell(n))break;{_.i.after(n,t);const i=_.i.closest(n,(e=>_.i.isElement(e)&&e!==n),e.editor);_.i.safeRemove(n),o=!0,n=i}}while(n);return!(!o||!z(e,t,i))||(!r||_.i.isText(r)||_.i.isTag(r,l.INSEPARABLE_TAGS)?s(t):a(r,!i),o)}function A(e,t,i,o){if(t&&_.i.isElement(i)){_.i.moveContent(t,i,!o);let s=t;for(;s&&s!==e.editor&&_.i.isEmpty(s);){const e=s.parentElement;_.i.safeRemove(s),s=e}return!0}return!1}var M=i(11);const D=[(e,t,i)=>{const o=_.i.findSibling(t,i);return!(!_.i.isElement(o)||!_.i.isTag(o,l.INSEPARABLE_TAGS)&&!_.i.isEmpty(o)||(_.i.safeRemove(o),e.s.setCursorBefore(t),_.i.isTag(o,"br")&&L(e,t,i),0))},(e,t,i)=>{let o=_.i.findSibling(t,i);return!o&&t.parentElement&&t.parentElement!==e.editor&&(o=_.i.findSibling(t.parentElement,i)),!(!_.i.isElement(o)||_.i.isContentEditable(o,e.editor)||((0,d.call)(i?_.i.before:_.i.after,o,t),_.i.safeRemove(o),(0,T.CE)(e,t,i),(0,d.call)(i?e.s.setCursorBefore:e.s.setCursorAfter,t),0))},function e(t,i,o,s){var a,n,r;const c=o?-1:1,h=(0,T.Zs)(i,!o);let u,p=(0,T.Zs)(i,o),m=null,g=!1;for(;p&&(_.i.isText(p)||_.i.isInlineBlock(p));){for(;_.i.isInlineBlock(p);)p=o?null==p?void 0:p.lastChild:null==p?void 0:p.firstChild;if(!p)break;if(null===(a=p.nodeValue)||void 0===a?void 0:a.length){let e=(0,d.toArray)(p.nodeValue);const t=e.length;let i=o?t-1:0;if(e[i]===l.INVISIBLE_SPACE)for(;e[i]===l.INVISIBLE_SPACE;)i+=c;if(u=e[i],e[i+c]===l.INVISIBLE_SPACE){for(i+=c;e[i]===l.INVISIBLE_SPACE;)i+=c;i+=o?1:-1}if(e=o&&0>i?[]:e.slice(o?0:i+1,o?i:t),!h||!_.i.isText(h)||(o?/^ /:/ $/).test(null!==(n=h.nodeValue)&&void 0!==n?n:"")||!(0,d.trimInv)(h.nodeValue||"").length)for(let t=o?e.length-1:0;(o?t>=0:e.length>t)&&" "===e[t];t+=o?-1:1)e[t]=l.NBSP_SPACE;p.nodeValue=e.join("")}if((null===(r=p.nodeValue)||void 0===r?void 0:r.length)||(m=p),!(0,d.isVoid)(u)&&u!==l.INVISIBLE_SPACE){g=!0,(0,d.call)(o?_.i.after:_.i.before,p,i),("sentence"===s||"word"===s&&" "!==u&&u!==l.NBSP_SPACE)&&e(t,i,o,s);break}let f=(0,T.Zs)(p,o);!f&&p.parentNode&&p.parentNode!==t.editor&&(f=(0,T.G5)(p,!o,t.editor,!0)),m&&(_.i.safeRemove(m),m=null),p=f}return g&&((e=>{let t=e.parentElement;for(;t&&_.i.isInlineBlock(t);){const i=t.parentElement;_.i.isEmpty(t)&&(_.i.after(t,e),_.i.safeRemove(t)),t=i}})(i),((e,t)=>{t.parentElement!==e.editor&&_.i.isBlock(t.parentElement)&&_.i.each(t.parentElement,_.i.isEmptyTextNode)&&_.i.after(t,e.createInside.element("br"))})(t,i),t.s.setCursorBefore(i)),g},(e,t)=>!!_.i.isCell(t.parentElement),L,(e,t,i)=>{const o=_.i.closest(t,_.i.isElement,e.editor);if(!o)return!1;const s=(0,T.sm)(o,i);return!(!s||!_.i.isEmpty(s)||(_.i.safeRemove(s),e.s.setCursorBefore(t),0))},z,(e,t,i)=>{let o=t,s=o;for(;o&&!(0,T.sm)(o,i)&&o.parentElement!==e.editor;)o=o.parentElement,s=o;if(_.i.isElement(s)&&_.i.isContentEditable(s,e.editor)){const o=(0,T.sm)(s,i);if(o&&(((e,t,i,o)=>{const s=_.i.isTag(i,["ol","ul"]),a=_.i.isTag(t,["ol","ul"]),n=(e,t)=>t?e.firstElementChild:e.lastElementChild;return a?(i=e.createInside.element(e.o.enterBlock),_.i.before(t,i),A(e,n(t,o),i,o)):!(!i||!s||a)&&A(e,t,n(i,!o),o)})(e,s,o,i)||A(e,s,o,i)))return e.s.setCursorBefore(t),!0}return!1},(e,t,i)=>{var o;const s=_.i.closest(t,_.i.isElement,e.editor),{s:a}=e;if(_.i.isTag(s,"li")&&(null===(o=null==s?void 0:s.parentElement)||void 0===o?void 0:o[i?"firstElementChild":"lastElementChild"])===s&&a.cursorInTheEdge(i,s)){const o=s.parentElement,n=e.createInside.element(e.o.enterBlock);return(0,M.RE)(i?_.i.before:_.i.after,o,n),_.i.moveContent(s,n),_.i.safeRemove(s),_.i.isEmpty(o)&&_.i.safeRemove(o),(0,M.RE)(i?a.setCursorBefore:a.setCursorAfter,t),!0}return!1}];r.D.prototype.delete={hotkeys:{delete:["delete","cmd+backspace"],deleteWord:["ctrl+delete","cmd+alt+backspace","ctrl+alt+backspace"],deleteSentence:["ctrl+shift+delete","cmd+shift+delete"],backspace:["backspace"],backspaceWord:["ctrl+backspace"],backspaceSentence:["ctrl+shift+backspace","cmd+shift+backspace"]}};class B extends I.S{constructor(){super(...arguments),this.requires=["hotkeys"]}afterInit(e){e.e.on("afterCommand.delete",(e=>{"delete"===e&&this.afterDeleteCommand()})),e.registerCommand("deleteButton",{exec:()=>this.onDelete(!1),hotkeys:e.o.delete.hotkeys.delete},{stopPropagation:!1}).registerCommand("backspaceButton",{exec:()=>this.onDelete(!0),hotkeys:e.o.delete.hotkeys.backspace},{stopPropagation:!1}).registerCommand("deleteWordButton",{exec:()=>this.onDelete(!1,"word"),hotkeys:e.o.delete.hotkeys.deleteWord}).registerCommand("backspaceWordButton",{exec:()=>this.onDelete(!0,"word"),hotkeys:e.o.delete.hotkeys.backspaceWord}).registerCommand("deleteSentenceButton",{exec:()=>this.onDelete(!1,"sentence"),hotkeys:e.o.delete.hotkeys.deleteSentence}).registerCommand("backspaceSentenceButton",{exec:()=>this.onDelete(!0,"sentence"),hotkeys:e.o.delete.hotkeys.backspaceSentence})}beforeDestruct(e){e.e.off("afterCommand.delete")}afterDeleteCommand(){const e=this.j,t=e.s.current();if(t&&_.i.isTag(t.firstChild,"br")&&e.s.removeNode(t.firstChild),!((0,d.trim)(e.editor.textContent||"")||e.editor.querySelector("img")||t&&_.i.closest(t,"table",e.editor))){e.editor.innerHTML="";const t=e.s.setCursorIn(e.editor);e.s.removeNode(t)}}onDelete(e,t="char"){const i=this.j,o=i.selection;if(o.isFocused()||o.focus(),(e=>!e.s.isCollapsed()&&(e.execCommand("Delete"),!0))(i))return!1;const s=o.range,a=i.createInside.text(l.INVISIBLE_SPACE);try{if(s.insertNode(a),!_.i.isOrContains(i.editor,a))return;if((0,T.CE)(i,a,e),D.some((o=>(0,d.isFunction)(o)&&o(i,a,e,t))))return!1}catch(e){throw e}finally{this.safeRemoveEmptyNode(a)}return!1}safeRemoveEmptyNode(e){var t,i;const{range:o}=this.j.s;o.startContainer===e&&(e.previousSibling?_.i.isText(e.previousSibling)?o.setStart(e.previousSibling,null!==(i=null===(t=e.previousSibling.nodeValue)||void 0===t?void 0:t.length)&&void 0!==i?i:0):o.setStartAfter(e.previousSibling):e.nextSibling&&(_.i.isText(e.nextSibling)?o.setStart(e.nextSibling,0):o.setStartBefore(e.nextSibling)),o.collapse(!0),this.j.s.selectRange(o)),_.i.safeRemove(e)}}function P(e){const t=t=>{const i=r.D.defaultOptions.controls[t],o={...i.css},s={};return Object.keys(o).forEach((e=>{s[e]=(0,d.isArray)(o[e])?o[e][0]:o[e]})),e.s.applyStyle(s,{element:i.tags?i.tags[0]:void 0}),e.e.fire("synchro"),!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})}r.D.prototype.controls.subscript={tags:["sub"],tooltip:"subscript"},r.D.prototype.controls.superscript={tags:["sup"],tooltip:"superscript"},r.D.prototype.controls.bold={tagRegExp:/^(strong|b)$/i,tags:["strong","b"],css:{"font-weight":["bold","700"]},tooltip:"Bold"},r.D.prototype.controls.italic={tagRegExp:/^(em|i)$/i,tags:["em","i"],css:{"font-style":"italic"},tooltip:"Italic"},r.D.prototype.controls.underline={tagRegExp:/^(u)$/i,tags:["u"],css:{"text-decoration-line":"underline"},tooltip:"Underline"},r.D.prototype.controls.strikethrough={tagRegExp:/^(s)$/i,tags:["s"],css:{"text-decoration-line":"line-through"},tooltip:"Strike through"},r.D.prototype.cleanHTML={timeout:300,removeEmptyElements:!0,fillEmptyParagraph:!0,replaceNBSP:!0,replaceOldTags:{i:"em",b:"strong"},allowTags:!1,denyTags:!1,removeOnError:!0,safeJavaScriptLink:!0},r.D.prototype.controls.eraser={command:"removeFormat",tooltip:"Clear Formatting"};class R extends I.S{constructor(){super(...arguments),this.buttons=[{name:"eraser",group:"font-style"}],this.visitNode=(e,t,i)=>{let o=!1;if(!e)return o;if(e=this.replaceIfMatched(e),this.isRemovableNode(e,t))return i.push(e),this.visitNode(e.nextSibling,t,i);if(this.j.o.cleanHTML.fillEmptyParagraph&&c.Dom.isBlock(e)&&c.Dom.isEmpty(e,/^(img|svg|canvas|input|textarea|form|br)$/)){const t=this.j.createInside.element("br");e.appendChild(t),o=!0}const s=this.allowTagsHash;if(s&&!0!==s[e.nodeName]){const t=e.attributes;if(t&&t.length){const i=[];for(let o=0;t.length>o;o+=1){const a=s[e.nodeName][t[o].name];(!a||!0!==a&&a!==t[o].value)&&i.push(t[o].name)}i.length&&(o=!0),i.forEach((t=>{e.removeAttribute(t)}))}}return o=this.visitNode(e.firstChild,t,i)||o,o=this.visitNode(e.nextSibling,t,i)||o,o},this.allowTagsHash=R.getHash(this.j.o.cleanHTML.allowTags),this.denyTagsHash=R.getHash(this.j.o.cleanHTML.denyTags),this.onKeyUpCleanUp=()=>{const e=this.j;if(!this.allowEdit())return;const t=e.s.current();if(t){const i=c.Dom.up(t,c.Dom.isBlock,e.editor);i&&c.Dom.all(i,(i=>{i&&c.Dom.isText(i)&&null!=i.nodeValue&&(0,l.INVISIBLE_SPACE_REG_EXP)().test(i.nodeValue)&&0!==i.nodeValue.replace((0,l.INVISIBLE_SPACE_REG_EXP)(),"").length&&(i.nodeValue=i.nodeValue.replace((0,l.INVISIBLE_SPACE_REG_EXP)(),""),i===t&&e.s.isCollapsed()&&e.s.setCursorAfter(i))}))}},this.beforeCommand=e=>{if("removeformat"===e.toLowerCase())return this.onRemoveFormat(),!1}}afterInit(e){e.e.off(".cleanHtml").on("change.cleanHtml afterSetMode.cleanHtml afterInit.cleanHtml mousedown.cleanHtml keydown.cleanHtml",this.onChangeCleanHTML).on("keyup.cleanHtml",this.onKeyUpCleanUp).on("beforeCommand.cleanHtml",this.beforeCommand)}replaceIfMatched(e){const t=this.j.o.cleanHTML.replaceOldTags;if(!t||!c.Dom.isHTMLElement(e))return e;const i=t[e.nodeName.toLowerCase()]||t[e.nodeName];return i?c.Dom.replace(e,i,this.j.createInside,!0,!1):e}onChangeCleanHTML(){if(!this.allowEdit())return;const e=this.j;this.onSafeHTML(e.editor);const t=e.s.current(),i=e.o.cleanHTML.replaceOldTags;if(i&&t){const o=(0,d.keys)(i,!1);if(e.s.isCollapsed()){const i=c.Dom.closest(t,o,e.editor);i&&(e.s.save(),this.replaceIfMatched(i),e.s.restore())}}let o=null;e.editor.firstChild&&(o=e.editor.firstChild);const s=[],a=this.visitNode(o,t,s);s.forEach(c.Dom.safeRemove),(s.length||a)&&e.events&&e.e.fire("synchro")}allowEdit(){return!(this.j.isInDestruct||!this.j.isEditorMode()||this.j.getReadOnly())}static getHash(e){const t=/([^[]*)\[([^\]]+)]/,i=/[\s]*,[\s]*/,o=/^(.*)[\s]*=[\s]*(.*)$/,s={};return(0,d.isString)(e)?(e.split(i).map((e=>{e=(0,d.trim)(e);const a=t.exec(e),n={},r=e=>{e=(0,d.trim)(e);const t=o.exec(e);t?n[t[1]]=t[2]:n[e]=!0};if(a){const e=a[2].split(i);a[1]&&(e.forEach(r),s[a[1].toUpperCase()]=n)}else s[e.toUpperCase()]=!0})),s):!!e&&(Object.keys(e).forEach((t=>{s[t.toUpperCase()]=e[t]})),s)}onRemoveFormat(){this.j.s.isCollapsed()?this.removeFormatForCollapsedSelection():this.removeFormatForSelection()}removeFormatForCollapsedSelection(e){const{s:t}=this.j;let i=e;i||(i=this.j.createInside.fake(),t.range.insertNode(i),t.range.collapse());const o=c.Dom.furthest(i,this.isInlineBlock,this.j.editor);if(o)if(t.cursorOnTheLeft(o))c.Dom.before(o,i);else if(t.cursorOnTheRight(o))c.Dom.after(o,i);else{const e=t.splitSelection(o);e&&c.Dom.after(e,i)}e||(t.setCursorBefore(i),c.Dom.safeRemove(i))}isInlineBlock(e){return c.Dom.isInlineBlock(e)&&!c.Dom.isTag(e,l.INSEPARABLE_TAGS)}removeFormatForSelection(){const{s:e}=this.j,{range:t}=e,i=t.cloneRange(),o=t.cloneRange(),s=this.j.createInside.fake(),a=this.j.createInside.fake();i.collapse(!0),o.collapse(!1),i.insertNode(s),o.insertNode(a),t.setStartBefore(s),t.collapse(!0),e.selectRange(t),this.removeFormatForCollapsedSelection(s),t.setEndAfter(a),t.collapse(!1),e.selectRange(t),this.removeFormatForCollapsedSelection(a);const n=[];c.Dom.between(s,a,(e=>{this.isInlineBlock(e)&&n.push(e),c.Dom.isElement(e)&&(0,d.attr)(e,"style")&&(0,d.attr)(e,"style",null)})),n.forEach((e=>c.Dom.unwrap(e)));const r=(t,i)=>{if(!(0,T.sm)(t,i)){const o=t.parentNode;if(o&&o!==e.area&&(0,d.attr)(o,"style"))return(0,d.attr)(o,"style",null),r(o,i),!0}};r(s,!0)&&r(a,!1),t.setStartAfter(s),t.setEndBefore(a),e.selectRange(t),c.Dom.safeRemove(s),c.Dom.safeRemove(a)}isRemovableNode(e,t){const i=this.allowTagsHash;return!(c.Dom.isText(e)||!(i&&!i[e.nodeName]||this.denyTagsHash&&this.denyTagsHash[e.nodeName]))||!(!(t&&c.Dom.isTag(e,"br")&&R.hasNotEmptyTextSibling(e))||R.hasNotEmptyTextSibling(e,!0)||c.Dom.up(e,c.Dom.isBlock,this.j.editor)===c.Dom.up(t,c.Dom.isBlock,this.j.editor))||this.j.o.cleanHTML.removeEmptyElements&&null!=t&&c.Dom.isElement(e)&&null!=e.nodeName.match(l.IS_INLINE)&&!c.Dom.isTemporary(e)&&0===(0,d.trim)(e.innerHTML).length&&!c.Dom.isOrContains(e,t)}static hasNotEmptyTextSibling(e,t=!1){let i=t?e.nextSibling:e.previousSibling;for(;i;){if(c.Dom.isElement(i)||!c.Dom.isEmptyTextNode(i))return!0;i=t?i.nextSibling:i.previousSibling}return!1}onBeforeSetNativeEditorValue(e){const t=this.j.createInside.div();return t.innerHTML=e.value,this.onSafeHTML(t),e.value=t.innerHTML,!1}onSafeHTML(e){(0,d.safeHTML)(e,this.j.o.cleanHTML)}beforeDestruct(){this.j.e.off(".cleanHtml")}}(0,n.gn)([(0,m.debounce)((e=>e.jodit.o.cleanHTML.timeout))],R.prototype,"onChangeCleanHTML",null),(0,n.gn)([m.autobind],R.prototype,"isInlineBlock",null),(0,n.gn)([(0,m.watch)(":beforeSetNativeEditorValue")],R.prototype,"onBeforeSetNativeEditorValue",null),(0,n.gn)([(0,m.watch)(":safeHTML")],R.prototype,"onSafeHTML",null);class H extends I.S{constructor(){super(...arguments),this.isSuitableStart=e=>_.i.isText(e)&&(0,g.HD)(e.nodeValue)&&/[^\s]/.test(e.nodeValue)||this.isNotClosed(e)&&!_.i.isTemporary(e),this.isSuitable=e=>_.i.isText(e)||this.isNotClosed(e),this.isNotClosed=e=>_.i.isElement(e)&&!(_.i.isBlock(e)||_.i.isTag(e,["hr","style"]))}afterInit(e){"br"!==e.o.enter.toLowerCase()&&e.e.on("afterInit.wtn postProcessSetEditorValue.wtn",this.postProcessSetEditorValue)}beforeDestruct(e){e.e.off(".wtn")}postProcessSetEditorValue(){const{jodit:e}=this;if(!e.isEditorMode())return;let t=e.editor.firstChild,i=!1;for(;t;){if(this.isSuitableStart(t)){i||e.s.save(),i=!0;const o=e.createInside.element(e.o.enter);for(_.i.before(t,o);t&&this.isSuitable(t);){const e=t.nextSibling;o.appendChild(t),t=e}o.normalize()}t=t&&t.nextSibling}i&&(e.s.restore(),"afterInit"===e.e.current&&e.e.fire("internalChange"))}}(0,n.gn)([m.autobind],H.prototype,"postProcessSetEditorValue",null);const N=e=>{if(e.clipboardData)return e.clipboardData;try{return e.dataTransfer||new DataTransfer}catch(e){return null}};function q(e,t,i){if(t.isInDestruct)return;"drop"===(null==e?void 0:e.type)&&t.s.insertCursorAtPoint(e.clientX,e.clientY);const o=t.e.fire("beforePasteInsert",i);!(0,d.isVoid)(o)&&((0,d.isString)(o)||(0,d.isNumber)(o)||_.i.isNode(o))&&(i=o),(0,d.isString)(i)&&(i=(e=>{const t=(e=e.replace(/<meta[^>]+?>/g,"")).search(/<!--StartFragment-->/i);-1!==t&&(e=e.substr(t+20));const i=e.search(/<!--EndFragment-->/i);return-1!==i&&(e=e.substr(0,i)),e})(i)),t.s.insertHTML(i)}const F="clipboard";class O{constructor(){this.buttons=[{name:"cut",group:"clipboard"},{name:"copy",group:"clipboard"},{name:"paste",group:"clipboard"},{name:"selectall",group:"clipboard"}]}init(e){var t;null===(t=this.buttons)||void 0===t||t.forEach((t=>e.registerButton(t))),e.e.off("copy.clipboard cut.clipboard").on("copy.clipboard cut.clipboard",(t=>{var i;const o=e.s.html,s=N(t)||N(e.ew)||N(t.originalEvent);s&&(s.setData(l.TEXT_PLAIN,(0,d.stripTags)(o)),s.setData(l.TEXT_HTML,o)),e.buffer.set(F,o),e.e.fire("pasteStack",{html:o,action:e.o.defaultActionOnPaste}),"cut"===t.type&&(e.s.remove(),e.s.focus()),t.preventDefault(),null===(i=null==e?void 0:e.events)||void 0===i||i.fire("afterCopy",o)}))}destruct(e){var t,i;null===(t=null==e?void 0:e.buffer)||void 0===t||t.set(F,""),null===(i=null==e?void 0:e.events)||void 0===i||i.off(".clipboard")}}r.D.prototype.askBeforePasteHTML=!0,r.D.prototype.processPasteHTML=!0,r.D.prototype.askBeforePasteFromWord=!0,r.D.prototype.memorizeChoiceWhenPasteFragment=!1,r.D.prototype.processPasteFromWord=!0,r.D.prototype.nl2brInPlainText=!0,r.D.prototype.defaultActionOnPaste=l.INSERT_AS_HTML,r.D.prototype.defaultActionOnPasteFromWord=null,r.D.prototype.draggableTags=["img","a","jodit-media","jodit"],r.D.prototype.controls.cut={command:"cut",isDisabled:e=>e.s.isCollapsed(),tooltip:"Cut selection"},r.D.prototype.controls.copy={command:"copy",isDisabled:e=>e.s.isCollapsed(),tooltip:"Copy selection"};const V="pasteStorage";r.D.prototype.controls.paste={tooltip:"Paste from clipboard",async exec(e,t,{control:i}){if(i.name===V)return void e.execCommand("showPasteStorage");e.s.focus();let o="",s=!0;if(navigator.clipboard){try{const e=await navigator.clipboard.read();if(e&&e.length){const t=await e[0].getType(l.TEXT_PLAIN);o=await new Response(t).text()}s=!1}catch(e){}if(s)try{o=await navigator.clipboard.readText(),s=!1}catch(e){}}s&&(o=e.buffer.get(F)||"",s=0===o.length);const a=e.value;s?(e.ed.execCommand("paste"),s=a===e.value,!s&&e.e.fire("afterPaste")):o.length?(q(null,e,o),e.e.fire("afterPaste")):s&&(0,x.bZ)(e.i18n("Your browser doesn't support direct access to the clipboard."),(()=>{e.s.focus()})).bindDestruct(e)},list:{[V]:"Paste Storage"},isChildDisabled(e){return 2>e.e.fire("pasteStorageList")}},r.D.prototype.controls.selectall={icon:"select-all",command:"selectall",tooltip:"Select all"};var W=i(41);class U extends I.S{constructor(){super(...arguments),this.pasteStack=new d.LimitedStack(20)}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)}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;const t=N(e),i=[null==t?void 0:t.getData(l.TEXT_HTML),null==t?void 0:t.getData(l.TEXT_PLAIN)];for(const t of i)if((0,d.isHTML)(t)&&(this.processWordHTML(e,t)||this.processHTML(e,t)))return!1}defaultPasteProcess(e){const t=N(e);let i=(null==t?void 0:t.getData(l.TEXT_HTML))||(null==t?void 0:t.getData(l.TEXT_PLAIN));if(t&&i&&""!==(0,d.trim)(i)){const o=this.j.e.fire("processPaste",e,i,(e=>{const t=e.types;let i="";if((0,d.isArray)(t)||"[object DOMStringList]"==={}.toString.call(t))for(let e=0;t.length>e;e+=1)i+=t[e]+";";else i=(t||l.TEXT_PLAIN)+";";return i})(t));void 0!==o&&(i=o),((0,d.isString)(i)||_.i.isNode(i))&&this.insertByType(e,i,this.j.o.defaultActionOnPaste),e.preventDefault(),e.stopPropagation()}}processWordHTML(e,t){return!(!this.j.o.processPasteFromWord||!(0,d.isHtmlFromWord)(t)||(this.j.o.askBeforePasteFromWord?this.askInsertTypeDialog("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",(i=>{this.insertFromWordByType(e,t,i)})):this.insertFromWordByType(e,t,this.j.o.defaultActionOnPasteFromWord||this.j.o.defaultActionOnPaste),0))}processHTML(e,t){if(this.j.o.askBeforePasteHTML){if(this.j.o.memorizeChoiceWhenPasteFragment){const i=this.pasteStack.find((e=>e.html===t));if(i)return this.insertByType(e,t,i.action||this.j.o.defaultActionOnPaste),!0}return this.askInsertTypeDialog("Your code is similar to HTML. Keep as HTML?","Paste as HTML",(i=>{this.insertByType(e,t,i)}),"Insert as Text"),!0}return!1}insertFromWordByType(e,t,i){var o;switch(i){case l.INSERT_AS_HTML:if(t=(0,d.applyStyles)(t),this.j.o.beautifyHTML){const e=null===(o=this.j.events)||void 0===o?void 0:o.fire("beautifyHTML",t);(0,d.isString)(e)&&(t=e)}break;case l.INSERT_AS_TEXT:t=(0,d.cleanFromWord)(t);break;case l.INSERT_ONLY_TEXT:t=(0,d.stripTags)((0,d.cleanFromWord)(t))}q(e,this.j,t)}insertByType(e,t,i){if(this.pasteStack.push({html:t,action:i}),(0,d.isString)(t))switch(this.j.buffer.set(F,t),i){case l.INSERT_CLEAR_HTML:t=(0,d.cleanFromWord)(t);break;case l.INSERT_ONLY_TEXT:t=(0,d.stripTags)(t);break;case l.INSERT_AS_TEXT:t=(0,d.htmlspecialchars)(t)}q(e,this.j,t)}askInsertTypeDialog(e,t,i,o="Clean",s="Insert only Text"){var a,n,r,c;if(!1===(null===(n=null===(a=this.j)||void 0===a?void 0:a.e)||void 0===n?void 0:n.fire("beforeOpenPasteDialog",e,t,i,o,s)))return;const h=(0,x.I4)(`<div style="word-break: normal; white-space: normal">${this.j.i18n(e)}</div>`,this.j.i18n(t));h.bindDestruct(this.j),(0,d.markOwner)(this.j,h.container);const u=(0,W.zx)(this.j,{text:"Keep",name:"keep",variant:"primary",tabIndex:0}),p=(0,W.zx)(this.j,{text:o,tabIndex:0}),m=(0,W.zx)(this.j,{text:s,tabIndex:0}),g=(0,W.zx)(this.j,{text:"Cancel",tabIndex:0});return u.onAction((()=>{h.close(),i&&i(l.INSERT_AS_HTML)})),p.onAction((()=>{h.close(),i&&i(l.INSERT_AS_TEXT)})),m.onAction((()=>{h.close(),i&&i(l.INSERT_ONLY_TEXT)})),g.onAction((()=>{h.close()})),h.setFooter([u,p,s?m:"",g]),u.focus(),null===(c=null===(r=this.j)||void 0===r?void 0:r.e)||void 0===c||c.fire("afterOpenPasteDialog",h,e,t,i,o,s),h}onProcessPasteReplaceNl2Br(e,t,i){if(i===l.TEXT_PLAIN+";"&&!(0,d.isHTML)(t))return(0,d.nl2br)(t)}beforeDestruct(e){e.e.off("paste.paste",this.onPaste)}}(0,n.gn)([m.autobind],U.prototype,"onPaste",null),(0,n.gn)([m.autobind],U.prototype,"onProcessPasteReplaceNl2Br",null);var $=i(37);class G extends I.S{constructor(){super(...arguments),this.currentIndex=0,this.list=[],this.container=null,this.listBox=null,this.previewBox=null,this.dialog=null,this.paste=()=>{if(this.j.s.focus(),this.j.s.insertHTML(this.list[this.currentIndex]),0!==this.currentIndex){const e=this.list[0];this.list[0]=this.list[this.currentIndex],this.list[this.currentIndex]=e}this.dialog&&this.dialog.close(),this.j.setEditorValue(),this.j.e.fire("afterPaste")},this.onKeyDown=e=>{let t=this.currentIndex;-1!==[l.KEY_UP,l.KEY_DOWN,l.KEY_ENTER].indexOf(e.key)&&(e.key===l.KEY_UP&&(0===t?t=this.list.length-1:t-=1),e.key===l.KEY_DOWN&&(t===this.list.length-1?t=0:t+=1),e.key!==l.KEY_ENTER?(t!==this.currentIndex&&this.selectIndex(t),e.stopImmediatePropagation(),e.preventDefault()):this.paste())},this.selectIndex=e=>{this.listBox&&(0,d.toArray)(this.listBox.childNodes).forEach(((t,i)=>{t.classList.remove("jodit_active"),e===i&&this.previewBox&&(t.classList.add("jodit_active"),this.previewBox.innerHTML=this.list[e],t.focus())})),this.currentIndex=e},this.showDialog=()=>{2>this.list.length||(this.dialog||this.createDialog(),this.listBox&&(this.listBox.innerHTML=""),this.previewBox&&(this.previewBox.innerHTML=""),this.list.forEach(((e,t)=>{const i=this.j.c.element("a");i.textContent=t+1+". "+e.replace((0,l.SPACE_REG_EXP)(),""),this.j.e.on(i,"keydown",this.onKeyDown),(0,d.attr)(i,"href","#"),(0,d.attr)(i,"data-index",""+t),(0,d.attr)(i,"tab-index","-1"),this.listBox&&this.listBox.appendChild(i)})),this.dialog&&this.dialog.open(),this.j.async.setTimeout((()=>{this.selectIndex(0)}),100))}}createDialog(){this.dialog=new x.Vq({language:this.j.o.language});const e=(0,$.zx)(this.j,"paste","Paste","primary");e.onAction(this.paste);const t=(0,$.zx)(this.j,"","Cancel");t.onAction(this.dialog.close),this.container=this.j.c.div(),this.container.classList.add("jodit-paste-storage"),this.listBox=this.j.c.div(),this.previewBox=this.j.c.div(),this.container.appendChild(this.listBox),this.container.appendChild(this.previewBox),this.dialog.setHeader(this.j.i18n("Choose Content to Paste")),this.dialog.setContent(this.container),this.dialog.setFooter([e,t]),this.j.e.on(this.listBox,"click dblclick",(e=>{const t=e.target;return _.i.isTag(t,"a")&&t.hasAttribute("data-index")&&this.selectIndex(parseInt((0,d.attr)(t,"-index")||"0",10)),"dblclick"===e.type&&this.paste(),!1}))}afterInit(){this.j.e.off("afterCopy.paste-storage").on("pasteStorageList.paste-storage",(()=>this.list.length)).on("afterCopy.paste-storage",(e=>{-1!==this.list.indexOf(e)&&this.list.splice(this.list.indexOf(e),1),this.list.unshift(e),this.list.length>5&&(this.list.length=5)})),this.j.registerCommand("showPasteStorage",{exec:this.showDialog,hotkeys:["ctrl+shift+v","cmd+shift+v"]})}beforeDestruct(){this.dialog&&this.dialog.destruct(),this.j.e.off(".paste-storage"),_.i.safeRemove(this.previewBox),_.i.safeRemove(this.listBox),_.i.safeRemove(this.container),this.container=null,this.listBox=null,this.previewBox=null,this.dialog=null,this.list=[]}}const K="copyformat",Y=["fontWeight","fontStyle","fontSize","color","margin","padding","borderWidth","borderStyle","borderColor","borderRadius","backgroundColor","textDecorationLine","fontFamily"],J=(e,t,i,o)=>{let s=(0,d.css)(i,t);return s===o[t]&&(s=i.parentNode&&i!==e.editor&&i.parentNode!==e.editor?J(e,t,i.parentNode,o):void 0),s};function X(e){e.registerButton({name:"copyformat",group:"clipboard"})}r.D.prototype.controls.copyformat={exec(e,t,{button:i}){if(t){if(e.buffer.exists(K))e.buffer.delete(K),e.e.off(e.editor,"mouseup.copyformat");else{const i={},o=_.i.up(t,(e=>e&&!_.i.isText(e)),e.editor)||e.editor,s=e.createInside.span();e.editor.appendChild(s),Y.forEach((e=>{i[e]=(0,d.css)(s,e)})),s!==e.editor&&_.i.safeRemove(s);const a=((e,t,i)=>{const o={};return t&&Y.forEach((s=>{o[s]=J(e,s,t,i),s.match(/border(Style|Color)/)&&!o.borderWidth&&(o[s]=void 0)})),o})(e,o,i),n=()=>{e.buffer.delete(K);const t=e.s.current();t&&(_.i.isTag(t,"img")?(0,d.css)(t,a):e.s.applyStyle(a)),e.e.off(e.editor,"mouseup.copyformat")};e.e.on(e.editor,"mouseup.copyformat",n),e.buffer.set(K,!0)}i.update()}},isActive:e=>e.buffer.exists(K),tooltip:"Paint format"};var Z=i(89);function Q(e){e.registerButton({name:"brush",group:"color"});const t=(t,i,o)=>{const s=(0,d.normalizeColor)(o);switch(t){case"background":e.s.applyStyle({backgroundColor:s||""});break;case"forecolor":e.s.applyStyle({color:s||""})}return e.setEditorValue(),!1};e.registerCommand("forecolor",t).registerCommand("background",t)}r.D.prototype.controls.brush={update(e){const t=(0,d.dataBind)(e,"color"),i=e.j,o=(t,o)=>{o&&o!==""+(0,d.css)(i.editor,t)&&(e.state.icon.fill=o)};if(t){const i=(0,d.dataBind)(e,"color");return void o("color"===i?i:"background-color",t)}const s=i.s.current();if(s&&!e.state.disabled){const e=c.Dom.closest(s,c.Dom.isElement,i.editor)||i.editor;o("color",""+(0,d.css)(e,"color")),o("background-color",""+(0,d.css)(e,"background-color"))}e.state.icon.fill="",e.state.activated=!1},popup(e,t,i,o,s){let a="",n="",r=[],l=null;return t&&t!==e.editor&&c.Dom.isNode(t)&&(c.Dom.isElement(t)&&e.s.isCollapsed()&&!c.Dom.isTag(t,["br","hr"])&&(l=t),c.Dom.up(t,(e=>{if(c.Dom.isHTMLElement(e)){const t=(0,d.css)(e,"color",!0),i=(0,d.css)(e,"background-color",!0);if(t)return a=""+t,!0;if(i)return n=""+i,!0}}),e.editor)),r=[{name:"Background",content:(0,Z.YW)(e,(t=>{l?l.style.backgroundColor=t:e.execCommand("background",!1,t),(0,d.dataBind)(s,"color",t),(0,d.dataBind)(s,"color-mode","background"),o()}),n)},{name:"Text",content:(0,Z.YW)(e,(t=>{l?l.style.color=t:e.execCommand("forecolor",!1,t),(0,d.dataBind)(s,"color",t),(0,d.dataBind)(s,"color-mode","color"),o()}),a)}],"background"!==e.o.colorPickerDefaultTab&&(r=r.reverse()),(0,Z.IL)(e,r,l)},exec(e,t,{button:i}){const o=(0,d.dataBind)(i,"color-mode"),s=(0,d.dataBind)(i,"color");if(!o)return!1;if(t&&t!==e.editor&&c.Dom.isNode(t)&&c.Dom.isElement(t))switch(o){case"color":t.style.color=s;break;case"background":t.style.backgroundColor=s}else e.execCommand("background"===o?o:"forecolor",!1,s)},tooltip:"Fill color or set the text color"};var ee=i(63);class te extends I.S{constructor(){super(...arguments),this.isFragmentFromEditor=!1,this.isCopyMode=!1,this.startDragPoint={x:0,y:0},this.draggable=null,this.bufferRange=null,this.getText=e=>{const t=N(e);return t?t.getData(l.TEXT_HTML)||t.getData(l.TEXT_PLAIN):null}}afterInit(){this.j.e.on([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)}onDragStart(e){let t=e.target;if(this.onDragEnd(),this.isFragmentFromEditor=_.i.isOrContains(this.j.editor,t,!0),this.isCopyMode=!this.isFragmentFromEditor||(0,d.ctrlKey)(e),this.isFragmentFromEditor){const 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,(0,ee.F)(t)&&(t=t.querySelector("img")),_.i.isTag(t,"img")&&(this.draggable=t.cloneNode(!0),(0,d.dataBind)(this.draggable,"target",t)),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&&(_.i.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;const t=this.j.s.sel,i=this.bufferRange||(t&&t.rangeCount?t.getRangeAt(0):null);let o=null;if(!this.draggable&&i)o=this.isCopyMode?i.cloneContents():i.extractContents();else if(this.draggable)if(this.isCopyMode){const[e,t]="1"===(0,d.attr)(this.draggable,"-is-file")?["a","href"]:["img","src"];o=this.j.createInside.element(e),o.setAttribute(t,(0,d.attr)(this.draggable,"data-src")||(0,d.attr)(this.draggable,"src")||""),"a"===e&&(o.textContent=(0,d.attr)(o,t)||"")}else o=(0,d.dataBind)(this.draggable,"target");else this.getText(e)&&(o=this.j.createInside.fromHTML(this.getText(e)));t&&t.removeAllRanges(),this.j.s.insertCursorAtPoint(e.clientX,e.clientY),o&&(this.j.s.insertNode(o,!1,!1),i&&o.firstChild&&o.lastChild&&(i.setStartBefore(o.firstChild),i.setEndAfter(o.lastChild),this.j.s.selectRange(i),this.j.e.fire("synchro")),_.i.isTag(o,"img")&&this.j.events&&this.j.e.fire("afterInsertImage",o)),e.preventDefault(),e.stopPropagation()}this.isFragmentFromEditor=!1,this.removeDragListeners()}beforeDestruct(){this.onDragEnd(),this.j.e.off(window,".DragAndDrop").off(".DragAndDrop").off([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)}}(0,n.gn)([m.autobind],te.prototype,"onDragStart",null),(0,n.gn)([(0,m.throttle)((e=>e.j.defaultTimeout/10))],te.prototype,"onDrag",null),(0,n.gn)([m.autobind],te.prototype,"onDragEnd",null),(0,n.gn)([m.autobind],te.prototype,"onDrop",null);class ie extends I.S{constructor(){super(...arguments),this.dragList=[],this.draggable=null,this.wasMoved=!1,this.isCopyMode=!1,this.diffStep=10,this.startX=0,this.startY=0}afterInit(){this.dragList=this.j.o.draggableTags?(0,d.splitArray)(this.j.o.draggableTags).filter(Boolean).map((e=>e.toLowerCase())):[],this.dragList.length&&this.j.e.on("mousedown touchstart dragstart",this.onDragStart)}onDragStart(e){if("dragstart"===e.type&&this.draggable)return!1;const t=e.target;if(!this.dragList.length||!t)return;const i=e=>e&&this.dragList.includes(e.nodeName.toLowerCase()),o=_.i.furthest(t,i,this.j.editor)||(i(t)?t:null);o&&(this.startX=e.clientX,this.startY=e.clientY,this.isCopyMode=(0,d.ctrlKey)(e),this.onDragEnd(),this.draggable=o.cloneNode(!0),(0,d.dataBind)(this.draggable,"target",o),this.addDragListeners())}onDrag(e){var t,i;if(!this.draggable)return;const o=e.clientY;if(Math.sqrt(Math.pow(e.clientX-this.startX,2)+Math.pow(o-this.startY,2))>=this.diffStep){if(this.wasMoved=!0,this.j.e.fire("hidePopup hideResizer"),!this.draggable.parentNode){const o=(0,d.dataBind)(this.draggable,"target");(0,d.css)(this.draggable,{zIndex:1e13,pointerEvents:"none",pointer:"drag",position:"fixed",opacity:.7,display:"inline-block",left:e.clientX,top:e.clientY,width:null!==(t=null==o?void 0:o.offsetWidth)&&void 0!==t?t:100,height:null!==(i=null==o?void 0:o.offsetHeight)&&void 0!==i?i:100}),(0,p.ZO)(this.j,ie).appendChild(this.draggable)}(0,d.css)(this.draggable,{left:e.clientX,top:e.clientY}),this.j.s.insertCursorAtPoint(e.clientX,e.clientY)}}onDragEnd(){this.isInDestruct||this.draggable&&(_.i.safeRemove(this.draggable),this.draggable=null,this.wasMoved=!1,this.removeDragListeners())}onDrop(){if(!this.draggable||!this.wasMoved)return void this.onDragEnd();let e=(0,d.dataBind)(this.draggable,"target");this.onDragEnd(),this.isCopyMode&&(e=e.cloneNode(!0));const{parentElement:t}=e;this.j.s.insertNode(e,!0,!1),t&&_.i.isEmpty(t)&&_.i.safeRemove(t),_.i.isTag(e,"img")&&this.j.e&&this.j.e.fire("afterInsertImage",e),this.j.e.fire("synchro")}addDragListeners(){this.j.e.on(this.j.editor,"mousemove touchmove",this.onDrag).on("mouseup touchend",this.onDrop).on([this.j.ew,this.ow],"mouseup touchend",this.onDragEnd)}removeDragListeners(){this.j.e.off(this.j.editor,"mousemove touchmove",this.onDrag).off("mouseup touchend",this.onDrop).off([this.j.ew,this.ow],"mouseup touchend",this.onDragEnd)}beforeDestruct(){this.onDragEnd(),this.j.e.off("mousedown touchstart dragstart",this.onDragStart),this.removeDragListeners()}}(0,n.gn)([m.autobind],ie.prototype,"onDragStart",null),(0,n.gn)([(0,m.throttle)((e=>e.j.defaultTimeout/10))],ie.prototype,"onDrag",null),(0,n.gn)([m.autobind],ie.prototype,"onDragEnd",null),(0,n.gn)([m.autobind],ie.prototype,"onDrop",null);const oe=(e,t,i,o)=>{var s;const a=e.createInside.element(i),n=e.createInside.element("br");a.appendChild(n),o&&o.cssText&&a.setAttribute("style",o.cssText),e.s.insertNode(a,!1,!1),e.s.setCursorBefore(n);const r=e.s.createRange();return r.setStartBefore("br"!==i.toLowerCase()?n:a),r.collapse(!0),e.s.selectRange(r),_.i.safeRemove(t),(0,d.scrollIntoViewIfNeeded)(a,e.editor,e.ed),null===(s=e.events)||void 0===s||s.fire("synchro"),a};class se extends I.S{constructor(){super(...arguments),this.brMode=!1,this.defaultTag=l.PARAGRAPH}afterInit(e){this.defaultTag=e.o.enter.toLowerCase(),this.brMode=this.defaultTag===l.BR.toLowerCase(),e.o.enterBlock||(e.o.enterBlock=this.brMode?l.PARAGRAPH:this.defaultTag),e.e.off(".enter").on("keydown.enter",(t=>{if(t.key===l.KEY_ENTER){const i=e.e.fire("beforeEnter",t);return void 0!==i?i:(e.s.isCollapsed()||e.execCommand("Delete"),e.s.focus(),this.onEnter(t),!1)}}))}onEnter(e){const t=this.j,i=t.selection,o=this.defaultTag;let s=i.current(!1);s&&s!==t.editor||(s=t.createInside.text(l.INVISIBLE_SPACE),i.insertNode(s),i.select(s));let a=this.getBlockWrapper(s);const n=_.i.isTag(a,"li");if((!n||e.shiftKey)&&!this.checkBR(s,e.shiftKey))return!1;if(a||this.hasPreviousBlock(s)||(a=this.wrapText(s)),!a||a===s)return oe(t,null,n?"li":o),!1;if(!this.checkUnsplittableBox(a))return!1;if(n&&_.i.isEmpty(a))return this.enterInsideEmptyLIelement(a),!1;const r=a.tagName.toLowerCase()===this.defaultTag||n,c=i.cursorOnTheRight(a),d=i.cursorOnTheLeft(a);if(!r&&(c||d)){let e=null;return e=c?i.setCursorAfter(a):i.setCursorBefore(a),oe(t,e,this.defaultTag),void(d&&!c&&i.setCursorIn(a,!0))}i.splitSelection(a)}getBlockWrapper(e,t=l.IS_BLOCK){let i=e;const o=this.j.editor;do{if(!i||i===o)break;if(t.test(i.nodeName))return _.i.isTag(i,"li")?i:this.getBlockWrapper(i.parentNode,/^li$/i)||i;i=i.parentNode}while(i&&i!==o);return null}checkBR(e,t){const i=_.i.closest(e,["pre","blockquote"],this.j.editor);if(this.brMode||t&&!i||!t&&i){const e=this.j.createInside.element("br");return this.j.s.insertNode(e,!0),(0,d.scrollIntoViewIfNeeded)(e,this.j.editor,this.j.ed),!1}return!0}wrapText(e){let t=e;_.i.up(t,(e=>{e&&e.hasChildNodes()&&e!==this.j.editor&&(t=e)}),this.j.editor);const i=_.i.wrapInline(t,this.j.o.enter,this.j);if(_.i.isEmpty(i)){const e=this.j.createInside.element("br");i.appendChild(e),this.j.s.setCursorBefore(e)}return i}hasPreviousBlock(e){return!!_.i.prev(e,(e=>_.i.isBlock(e)||_.i.isImage(e)),this.j.editor)}checkUnsplittableBox(e){const t=this.j,i=t.selection;if(!_.i.canSplitBlock(e)){const e=t.createInside.element("br");return i.insertNode(e,!1),i.setCursorAfter(e),!1}return!0}enterInsideEmptyLIelement(e){let t=null;const i=_.i.closest(e,["ol","ul"],this.j.editor);if(i){if(_.i.prev(e,(e=>_.i.isTag(e,"li")),i))if(_.i.next(e,(e=>_.i.isTag(e,"li")),i)){const o=this.j.s.createRange();o.setStartBefore(i),o.setEndAfter(e);const s=o.extractContents();i.parentNode&&i.parentNode.insertBefore(s,i),t=this.j.s.setCursorBefore(i)}else t=this.j.s.setCursorAfter(i);else t=this.j.s.setCursorBefore(i);_.i.safeRemove(e),oe(this.j,t,this.defaultTag),(0,d.$$)("li",i).length||_.i.safeRemove(i)}}beforeDestruct(e){e.e.off("keydown.enter")}}class ae extends I.S{afterInit(e){}beforeDestruct(e){}onKeyDownArrow(e){var t;if(e.key!==l.KEY_RIGHT||!this.j.selection.isCollapsed())return;const{endContainer:i,endOffset:o}=this.j.selection.range;if(_.i.isText(i)&&(null===(t=i.nodeValue)||void 0===t?void 0:t.length)===o){const{parentNode:e}=i;_.i.isInlineBlock(e)&&!(0,T.tT)(e,!1,this.j.editor)&&_.i.after(e,this.j.createInside.text(l.NBSP_SPACE))}}}(0,n.gn)([(0,m.watch)(":keydown")],ae.prototype,"onKeyDownArrow",null),r.D.prototype.showMessageErrors=!0,r.D.prototype.showMessageErrorTime=3e3,r.D.prototype.showMessageErrorOffsetPx=3;const ne="error-box-for-messages";function re(e){if(e.o.showMessageErrors){const t=e.getFullElName(ne,"active",!0),i=e.c.div(e.getFullElName(ne)),o=()=>{let t=5;(0,d.toArray)(i.childNodes).forEach((i=>{(0,d.css)(i,"bottom",t+"px"),t+=i.offsetHeight+e.o.showMessageErrorOffsetPx}))};e.e.on("beforeDestruct",(()=>{_.i.safeRemove(i)})).on("errorMessage",((s,a,n)=>{e.workplace.appendChild(i);const r=e.c.div(t,s);r.classList.add(e.getFullElName(ne,"type",a)),i.appendChild(r),o(),e.async.setTimeout((()=>{r.classList.remove(t),e.async.setTimeout((()=>{_.i.safeRemove(r),o()}),300)}),n||e.o.showMessageErrorTime)}))}}function le(e){e.registerButton({name:"font",group:"font"}).registerButton({name:"fontsize",group:"font"});const t=(t,i,o)=>{switch(t){case"fontsize":e.s.applyStyle({fontSize:(0,d.normalizeSize)(o)});break;case"fontname":e.s.applyStyle({fontFamily:o})}return e.e.fire("synchro"),!1};e.registerCommand("fontsize",t).registerCommand("fontname",t)}function ce(e){e.registerButton({name:"paragraph",group:"font"}),e.registerCommand("formatblock",((t,i,o)=>(e.s.applyStyle(void 0,{element:o}),e.setEditorValue(),!1)))}function de(e){e.registerButton({name:"fullsize"});let t=!1,i=0,o=0,s=!1;const a=()=>{const{container:a,events:n}=e;n&&(t?(i=(0,d.css)(a,"height",!0),o=(0,d.css)(a,"width",!0),(0,d.css)(a,{height:e.ow.innerHeight,width:e.ow.innerWidth}),s=!0):s&&(0,d.css)(a,{height:i||"auto",width:o||"auto"}))},n=i=>{const{container:o,events:s}=e;if(o){if(void 0===i&&(i=!o.classList.contains("jodit_fullsize")),e.setMod("fullsize",i),e.o.fullsize=i,t=i,o.classList.toggle("jodit_fullsize",i),e.toolbar&&((0,d.isJoditObject)(e)&&e.toolbarContainer.appendChild(e.toolbar.container),(0,d.css)(e.toolbar.container,"width","auto")),e.o.globalFullSize){let e=o.parentNode;for(;e&&e.nodeType!==Node.DOCUMENT_NODE;)e.classList.toggle("jodit_fullsize-box_true",i),e=e.parentNode;a()}s.fire("afterResize")}};e.o.globalFullSize&&e.e.on(e.ow,"resize",a),e.e.on("afterInit afterOpen",(()=>{var t;e.toggleFullSize(null===(t=null==e?void 0:e.options)||void 0===t?void 0:t.fullsize)})).on("toggleFullSize",n).on("beforeDestruct",(()=>{t&&n(!1)})).on("beforeDestruct",(()=>{e.events&&e.e.off(e.ow,"resize",a)}))}r.D.prototype.defaultFontSizePoints="px",r.D.prototype.controls.fontsize={command:"fontSize",data:{cssRule:"font-size"},list:["8","9","10","11","12","14","16","18","24","30","36","48","60","72","96"],exec:(e,t,{control:i})=>(0,d.memorizeExec)(e,t,{control:i},(t=>{var o;return"fontsize"===(null===(o=i.command)||void 0===o?void 0:o.toLowerCase())?`${t}${e.o.defaultFontSizePoints}`:t})),childTemplate:(e,t,i)=>`${i}${e.o.defaultFontSizePoints}`,tooltip:"Font size",isChildActive(e,t){var i,o;const s=e.s.current(),a=(null===(i=t.data)||void 0===i?void 0:i.cssRule)||"font-size",n=(null===(o=t.data)||void 0===o?void 0:o.normalize)||(t=>/pt$/i.test(t)&&"pt"===e.o.defaultFontSizePoints?t.replace(/pt$/i,""):t);if(s){const i=_.i.closest(s,_.i.isElement,e.editor)||e.editor,o=(0,d.css)(i,a);return!(!o||!t.args||n(""+t.args[0])!==n(""+o))}return!1}},r.D.prototype.controls.font={...r.D.prototype.controls.fontsize,command:"fontname",list:{"":"Default","Helvetica,sans-serif":"Helvetica","Arial,Helvetica,sans-serif":"Arial","Georgia,serif":"Georgia","Impact,Charcoal,sans-serif":"Impact","Tahoma,Geneva,sans-serif":"Tahoma","'Times New Roman',Times,serif":"Times New Roman","Verdana,Geneva,sans-serif":"Verdana"},childTemplate(e,t,i){let o=!1;try{o=-1===t.indexOf("dings")&&document.fonts.check("16px "+t,i)}catch(e){}return`<span style="${o?`font-family: ${t}!important;`:""}">${i}</span>`},data:{cssRule:"font-family",normalize:e=>e.toLowerCase().replace(/['"]+/g,"").replace(/[^a-z0-9]+/g,",")},tooltip:"Font family"},r.D.prototype.controls.paragraph={command:"formatBlock",update(e){const t=e.j,i=e.control,o=t.s.current();if(o&&t.o.textIcons){const s=(c.Dom.closest(o,c.Dom.isBlock,t.editor)||t.editor).nodeName.toLowerCase(),a=i.list;e&&i.data&&i.data.currentValue!==s&&a&&a[s]&&(t.o.textIcons?e.state.text=s:e.state.icon.name=s,i.data.currentValue=s)}return!1},exec:d.memorizeExec,data:{currentValue:"left"},list:{p:"Normal",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",blockquote:"Quote",pre:"Code"},isChildActive(e,t){const i=e.s.current();if(i){const o=c.Dom.closest(i,c.Dom.isBlock,e.editor);return!(!o||o===e.editor||void 0===t.args||o.nodeName.toLowerCase()!==t.args[0])}return!1},isActive(e,t){const i=e.s.current();if(i){const o=c.Dom.closest(i,c.Dom.isBlock,e.editor);return!(!o||o===e.editor||void 0===t.list||c.Dom.isTag(o,"p")||void 0===t.list[o.nodeName.toLowerCase()])}return!1},childTemplate:(e,t,i)=>`<${t} style="margin:0;padding:0"><span>${e.i18n(i)}</span></${t}>`,tooltip:"Insert format block"},r.D.prototype.fullsize=!1,r.D.prototype.globalFullSize=!0,r.D.prototype.controls.fullsize={exec(e){e.toggleFullSize()},update(e){const t=e.j,i=t.isFullSize?"shrink":"fullsize";e.state.activated=t.isFullSize,t.o.textIcons?e.state.text=i:e.state.icon.name=i},tooltip:"Open editor in fullsize",mode:l.MODE_SOURCE+l.MODE_WYSIWYG},r.D.prototype.commandToHotkeys={removeFormat:["ctrl+shift+m","cmd+shift+m"],insertOrderedList:["ctrl+shift+7","cmd+shift+7"],insertUnorderedList:["ctrl+shift+8, cmd+shift+8"],selectall:["ctrl+a","cmd+a"]};class he extends I.S{constructor(){super(...arguments),this.onKeyPress=e=>{const t=this.specialKeys[e.which],i=(e.key||String.fromCharCode(e.which)).toLowerCase(),o=[t||i];return["alt","ctrl","shift","meta"].forEach((i=>{e[i+"Key"]&&t!==i&&o.push(i)})),(0,d.normalizeKeyAliases)(o.join("+"))},this.specialKeys={8:"backspace",9:"tab",10:"return",13:"return",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",59:";",61:"=",91:"meta",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"}}afterInit(e){(0,d.keys)(e.o.commandToHotkeys,!1).forEach((t=>{const i=e.o.commandToHotkeys[t];i&&((0,d.isArray)(i)||(0,d.isString)(i))&&e.registerHotkeyToCommand(i,t)}));let t=!1;e.e.off(".hotkeys").on([e.ow,e.ew],"keydown.hotkeys",(e=>{if(e.key===l.KEY_ESC)return this.j.e.fire("escape",e)})).on("keydown.hotkeys",(i=>{const o=this.onKeyPress(i),s={shouldStop:!0};if(!1===this.j.e.fire(o+".hotkey",i.type,s)){if(s.shouldStop)return t=!0,e.e.stopPropagation("keydown"),!1;i.preventDefault()}}),void 0,!0).on("keyup.hotkeys",(()=>{if(t)return t=!1,e.e.stopPropagation("keyup"),!1}),void 0,!0)}beforeDestruct(e){e.events&&e.e.off(".hotkeys")}}function ue(e){const t=e.options;e.e.on("afterSetMode",(()=>{e.isEditorMode()&&e.s.focus()})).on("generateDocumentStructure.iframe",((e,i)=>{const o=e||i.iframe.contentWindow.document;if(o.open(),o.write(t.iframeDoctype+`<html dir="${t.direction}" class="jodit" lang="${(0,d.defaultLanguage)(t.language)}"><head>`+`<title>${t.iframeTitle}</title>`+(t.iframeBaseUrl?`<base href="${t.iframeBaseUrl}"/>`:"")+'</head><body class="jodit-wysiwyg"></body></html>'),o.close(),t.iframeCSSLinks&&t.iframeCSSLinks.forEach((e=>{const t=o.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),o.head&&o.head.appendChild(t)})),t.iframeStyle){const e=o.createElement("style");e.innerHTML=t.iframeStyle,o.head&&o.head.appendChild(e)}})).on("createEditor",(()=>{if(!t.iframe)return;const 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),i.setAttribute("frameborder","0"),e.workplace.appendChild(i),e.iframe=i;const o=e.e.fire("generateDocumentStructure.iframe",null,e);return(0,d.callPromise)(o,(()=>{if(!e.iframe)return;const i=e.iframe.contentWindow.document;e.editorWindow=e.iframe.contentWindow;const o=()=>{(0,d.attr)(i.body,"contenteditable",e.getMode()!==l.MODE_SOURCE&&!e.getReadOnly()||null)},s=e=>{const t=/<body.*<\/body>/im,i="{%%BODY%%}",o=t.exec(e);return o&&(e=e.replace(t,i).replace(/<span([^>]*?)>(.*?)<\/span>/gim,"").replace(/<span([^&]*?)>(.*?)<\/span>/gim,"").replace(i,o[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(t.editHTMLDocumentMode){const t=e.element.tagName;if("TEXTAREA"!==t&&"INPUT"!==t)throw(0,d.error)("If enable `editHTMLDocumentMode` - source element should be INPUT or TEXTAREA");e.e.on("beforeGetNativeEditorValue",(()=>s(e.o.iframeDoctype+i.documentElement.outerHTML))).on("beforeSetNativeEditorValue",(({value:t})=>!e.isLocked&&(/<(html|body)/i.test(t)?s(i.documentElement.outerHTML)!==s(t)&&(i.open(),i.write(e.o.iframeDoctype+s(t)),i.close(),e.editor=i.body,e.e.fire("safeHTML",e.editor),o(),e.e.fire("prepareWYSIWYGEditor"),e.e.stopPropagation("beforeSetNativeEditorValue")):i.body.innerHTML=t,!0)),void 0,!0)}if(e.editor=i.body,e.e.on("afterSetMode afterInit afterAddPlace",o),"auto"===t.height){i.documentElement&&(i.documentElement.style.overflowY="hidden");const o=e.async.throttle((()=>{e.editor&&e.iframe&&"auto"===t.height&&(0,d.css)(e.iframe,"height",e.editor.offsetHeight)}),e.defaultTimeout/2);e.e.on("change afterInit afterSetMode resize",o).on([e.iframe,e.ew,i.documentElement],"load",o).on(i,"readystatechange DOMContentLoaded",o)}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)||void 0===i||i.fire(e.ow,t)})),!1}))}))}function pe(e){const t=e.o,i=e.i18n.bind(e),o=$.JO.get.bind($.JO),s=t.filebrowser.ajax.url||t.uploader.url,a=t.image.useImageEditor;return e.c.fromHTML(`<div style="${t.image.editSrc?"":"display:none"}" class="jodit-form__group">\n\t\t\t<label>${i("Src")}</label>\n\t\t\t<div class="jodit-input_group">\n\t\t\t\t<input data-ref="imageSrc" class="jodit-input" type="text"/>\n\t\t\t\t<div\n\t\t\t\t\tclass="jodit-input_group-buttons"\n\t\t\t\t\tstyle="${s?"":"display: none"}"\n\t\t\t\t>\n\t\t\t\t\t\t<a\n\t\t\t\t\t\t\tdata-ref="changeImage"\n\t\t\t\t\t\t\tclass="jodit-button"\n\t\t\t\t\t\t>${o("image")}</a>\n\t\t\t\t\t\t<a\n\t\t\t\t\t\t\tdata-ref="editImage"\n\t\t\t\t\t\t\tclass="jodit-button"\n\t\t\t\t\t\t\tstyle="${a?"":"display: none"}"\n\t\t\t\t\t\t>${o("crop")}</a>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t\t<div style="${t.image.editTitle?"":"display:none"}" class="jodit-form__group">\n\t\t\t<label>${i("Title")}</label>\n\t\t\t<input data-ref="imageTitle" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div style="${t.image.editAlt?"":"display:none"}" class="jodit-form__group">\n\t\t\t<label>${i("Alternative")}</label>\n\t\t\t<input data-ref="imageAlt" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div style="${t.image.editLink?"":"display:none"}" class="jodit-form__group">\n\t\t\t<label>${i("Link")}</label>\n\t\t\t<input data-ref="imageLink" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div style="${t.image.editLink?"":"display:none"}" class="jodit-form__group">\n\t\t\t<label class="jodit_vertical_middle">\n\t\t\t\t<input data-ref="imageLinkOpenInNewTab" type="checkbox" class="jodit-checkbox"/>\n\t\t\t\t<span>${i("Open link in new tab")}</span>\n\t\t\t</label>\n\t\t</div>`)}function me(e){const t=e.o,i=e.i18n.bind(e),o=$.JO.get.bind($.JO);return e.c.fromHTML(`<div style="${t.image.editMargins?"":"display:none"}" class="jodit-form__group">\n\t\t\t<label>${i("Margins")}</label>\n\t\t\t<div class="jodit-grid jodit_vertical_middle">\n\t\t\t\t<input class="jodit_col-lg-1-5 jodit-input" data-ref="marginTop" type="text" placeholder="${i("top")}"/>\n\t\t\t\t<a style="text-align: center;" data-ref="lockMargin" class="jodit-properties__lock jodit_col-lg-1-5">${o("lock")}</a>\n\t\t\t\t<input disabled="true" class="jodit_col-lg-1-5 jodit-input" data-ref="marginRight" type="text" placeholder="${i("right")}"/>\n\t\t\t\t<input disabled="true" class="jodit_col-lg-1-5 jodit-input" data-ref="marginBottom" type="text" placeholder="${i("bottom")}"/>\n\t\t\t\t<input disabled="true" class="jodit_col-lg-1-5 jodit-input" data-ref="marginLeft" type="text" placeholder="${i("left")}"/>\n\t\t\t</div>\n\t\t</div>\n\t\t<div style="${t.image.editStyle?"":"display:none"}" class="jodit-form__group">\n\t\t\t<label>${i("Styles")}</label>\n\t\t\t<input data-ref="style" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div style="${t.image.editClass?"":"display:none"}" class="jodit-form__group">\n\t\t\t<label>${i("Classes")}</label>\n\t\t\t<input data-ref="classes" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div style="${t.image.editId?"":"display:none"}" class="jodit-form__group">\n\t\t\t<label>Id</label>\n\t\t\t<input data-ref="id" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div\n\t\t\tstyle="${t.image.editBorderRadius?"":"display:none"}"\n\t\t\tclass="jodit-form__group"\n\t\t>\n\t\t\t<label>${i("Border radius")}</label>\n\t\t\t\t<input data-ref="borderRadius" type="number" class="jodit-input"/>\n\t\t</div>\n\t\t<div\n\t\t\tstyle="${t.image.editAlign?"":"display:none"}"\n\t\t\tclass="jodit-form__group"\n\t\t>\n\t\t\t<label>${i("Align")}</label>\n\t\t\t<select data-ref="align" class="jodit-select">\n\t\t\t\t<option value="">${i("--Not Set--")}</option>\n\t\t\t\t<option value="left">${i("Left")}</option>\n\t\t\t\t<option value="center">${i("Center")}</option>\n\t\t\t\t<option value="right">${i("Right")}</option>\n\t\t\t</select>\n\t\t</div>`)}r.D.prototype.iframeBaseUrl="",r.D.prototype.iframeTitle="Jodit Editor",r.D.prototype.iframeDoctype="<!DOCTYPE html>",r.D.prototype.iframeDefaultSrc="about:blank",r.D.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}',r.D.prototype.iframeCSSLinks=[],r.D.prototype.editHTMLDocumentMode=!1;var ge=i(67),fe=i(90);r.D.prototype.image={dialogWidth:600,openOnDblClick:!0,editSrc:!0,useImageEditor:!0,editTitle:!0,editAlt:!0,editLink:!0,editSize:!0,editBorderRadius:!0,editMargins:!0,editClass:!0,editStyle:!0,editId:!0,editAlign:!0,showPreview:!0,selectImageAfterClose:!0};const be=e=>(e=(0,d.trim)(e),/^[0-9]+$/.test(e)?e+"px":e),ve=e=>/^[-+]?[0-9.]+px$/.test(""+e)?parseFloat(""+e):e;class we extends c.Plugin{constructor(){super(...arguments),this.state={image:new Image,get ratio(){return this.image.naturalWidth/this.image.naturalHeight||1},sizeIsLocked:!0,marginIsLocked:!0}}onChangeMarginIsLocked(){if(!this.form)return;const{marginRight:e,marginBottom:t,marginLeft:i,lockMargin:o}=(0,d.refs)(this.form);[e,t,i].forEach((e=>{(0,d.attr)(e,"disabled",this.state.marginIsLocked||null)})),o.innerHTML=c.Icon.get(this.state.marginIsLocked?"lock":"unlock")}onChangeSizeIsLocked(){if(!this.form)return;const{lockSize:e,imageWidth:t}=(0,d.refs)(this.form);e.innerHTML=c.Icon.get(this.state.sizeIsLocked?"lock":"unlock"),e.classList.remove("jodit-properties__lock"),e.classList.remove("jodit-properties__unlock"),e.classList.add(this.state.sizeIsLocked?"jodit-properties__lock":"jodit-properties__unlock"),this.j.e.fire(t,"change")}open(){return this.makeForm(),this.j.e.fire("hidePopup"),(0,d.markOwner)(this.j,this.dialog.container),this.state.marginIsLocked=!0,this.state.sizeIsLocked=!0,this.onChangeMarginIsLocked(),this.onChangeSizeIsLocked(),this.updateValues(),this.dialog.open().setModal(!0).setPosition(),!1}makeForm(){if(this.dialog)return;this.dialog=new c.Dialog({fullsize:this.j.o.fullsize,globalFullSize:this.j.o.globalFullSize,theme:this.j.o.theme,language:this.j.o.language,minWidth:Math.min(400,screen.width),minHeight:400,buttons:["fullsize","dialog.close"]});const e=this.j,t=e.o,i=e.i18n.bind(e),o={check:(0,W.zx)(e,"ok","Apply"),remove:(0,W.zx)(e,"bin","Delete")};e.e.on(this.dialog,"afterClose",(()=>{this.state.image.parentNode&&t.image.selectImageAfterClose&&e.s.select(this.state.image)})),o.remove.onAction((()=>{e.s.removeNode(this.state.image),this.dialog.close()}));const{dialog:s}=this;s.setHeader(i("Image properties"));const a=(e=>{const{showPreview:t,editSize:i}=e.o.image,o=$.JO.get.bind($.JO);return e.c.fromHTML(`<form class="jodit-properties">\n\t\t<div class="jodit-grid jodit-grid_xs-column">\n\t\t\t<div class="jodit_col-lg-2-5 jodit_col-xs-5-5">\n\t\t\t\t<div class="jodit-properties_view_box">\n\t\t\t\t\t<div style="${t?"":"display:none"}" class="jodit-properties_image_view">\n\t\t\t\t\t\t<img data-ref="imageViewSrc" src="" alt=""/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div style="${i?"":"display:none"}" class="jodit-form__group jodit-properties_image_sizes">\n\t\t\t\t\t\t<input data-ref="imageWidth" type="text" class="jodit-input"/>\n\t\t\t\t\t\t<a data-ref="lockSize" class="jodit-properties__lock">${o("lock")}</a>\n\t\t\t\t\t\t<input data-ref="imageHeight" type="text" class="imageHeight jodit-input"/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div data-ref="tabsBox" class="jodit_col-lg-3-5 jodit_col-xs-5-5"></div>\n\t\t</div>\n\t</form>`)})(e);this.form=a,s.setContent(a);const{tabsBox:n}=(0,d.refs)(this.form);n&&n.appendChild((0,Z.IL)(e,[{name:"Image",content:pe(e)},{name:"Advanced",content:me(e)}])),o.check.onAction(this.onApply);const{changeImage:r,editImage:l}=(0,d.refs)(this.form);e.e.on(r,"click",this.openImagePopup),t.image.useImageEditor&&e.e.on(l,"click",this.openImageEditor);const{lockSize:h,lockMargin:u,imageWidth:p,imageHeight:m}=(0,d.refs)(a);h&&e.e.on(h,"click",(()=>{this.state.sizeIsLocked=!this.state.sizeIsLocked})),e.e.on(u,"click",(e=>{this.state.marginIsLocked=!this.state.marginIsLocked,e.preventDefault()}));const g=e=>{if(!(0,d.isNumeric)(p.value)||!(0,d.isNumeric)(m.value))return;const t=parseFloat(p.value),i=parseFloat(m.value);e.target===p?m.value=""+Math.round(t/this.state.ratio):p.value=""+Math.round(i*this.state.ratio)};e.e.on([p,m],"change keydown mousedown paste",(t=>{this.state.sizeIsLocked&&e.async.setTimeout(g.bind(this,t),{timeout:e.defaultTimeout,label:"image-properties-changeSize"})})),s.setFooter([o.remove,o.check]),s.setSize(this.j.o.image.dialogWidth)}updateValues(){const e=this.j.o,{image:t}=this.state,{marginTop:i,marginRight:o,marginBottom:s,marginLeft:a,lockMargin:n,imageSrc:r,id:l,classes:h,align:u,style:p,imageTitle:m,imageAlt:g,borderRadius:f,imageLink:b,imageWidth:v,imageHeight:w,imageLinkOpenInNewTab:y,imageViewSrc:k,lockSize:C}=(0,d.refs)(this.form);(()=>{n.checked=this.state.marginIsLocked,C.checked=this.state.sizeIsLocked})(),r.value=(0,d.attr)(t,"src")||"",k&&(0,d.attr)(k,"src",(0,d.attr)(t,"src")||""),(()=>{m.value=(0,d.attr)(t,"title")||"",g.value=(0,d.attr)(t,"alt")||"";const e=c.Dom.closest(t,"a",this.j.editor);e?(b.value=(0,d.attr)(e,"href")||"",y.checked="_blank"===(0,d.attr)(e,"target")):(b.value="",y.checked=!1)})(),(()=>{const e=(0,d.attr)(t,"width")||(0,d.css)(t,"width",!0)||!1,i=(0,d.attr)(t,"height")||(0,d.css)(t,"height",!0)||!1;v.value=!1!==e?""+ve(e):""+t.offsetWidth,w.value=!1!==i?""+ve(i):""+t.offsetHeight,this.state.sizeIsLocked=(()=>!(!(0,d.isNumeric)(v.value)||!(0,d.isNumeric)(w.value))&&1>Math.abs(parseFloat(v.value)-parseFloat(w.value)*this.state.ratio))()})(),(()=>{if(!e.image.editMargins)return;let n=!0,r=!1;[i,o,s,a].forEach((e=>{const o=(0,d.attr)(e,"data-ref")||"";let s=t.style.getPropertyValue((0,d.kebabCase)(o));if(!s)return r=!0,void(e.value="");/^[0-9]+(px)?$/.test(s)&&(s=parseInt(s,10)),e.value=""+s||"",(r&&e.value||n&&"marginTop"!==o&&e.value!==i.value)&&(n=!1)})),this.state.marginIsLocked=n})(),h.value=((0,d.attr)(t,"class")||"").replace(/jodit_focused_image[\s]*/,""),l.value=(0,d.attr)(t,"id")||"",f.value=""+(parseInt(t.style.borderRadius||"0",10)||"0"),t.style.cssFloat&&-1!==["left","right"].indexOf(t.style.cssFloat.toLowerCase())?u.value=(0,d.css)(t,"float"):"block"===(0,d.css)(t,"display")&&"auto"===t.style.marginLeft&&"auto"===t.style.marginRight&&(u.value="center"),p.value=(0,d.attr)(t,"style")||""}onApply(){const{style:e,imageSrc:t,borderRadius:i,imageTitle:o,imageAlt:s,imageLink:a,imageWidth:n,imageHeight:r,marginTop:l,marginRight:h,marginBottom:u,marginLeft:p,imageLinkOpenInNewTab:m,align:g,classes:f,id:b}=(0,d.refs)(this.form),v=this.j.o,{image:w}=this.state;if(v.image.editStyle&&(0,d.attr)(w,"style",e.value||null),!t.value)return c.Dom.safeRemove(w),void this.dialog.close();(0,d.attr)(w,"src",t.value),w.style.borderRadius="0"!==i.value&&/^[0-9]+$/.test(i.value)?i.value+"px":"",(0,d.attr)(w,"title",o.value||null),(0,d.attr)(w,"alt",s.value||null);let y=c.Dom.closest(w,"a",this.j.editor);if(a.value?(y||(y=c.Dom.wrap(w,"a",this.j.createInside)),(0,d.attr)(y,"href",a.value),(0,d.attr)(y,"target",m.checked?"_blank":null)):y&&y.parentNode&&y.parentNode.replaceChild(w,y),n.value!==""+w.offsetWidth||r.value!==""+w.offsetHeight){const e=(0,d.trim)(n.value)?be(n.value):null,t=(0,d.trim)(r.value)?be(r.value):null;(0,d.css)(w,{width:e,height:t}),(0,d.attr)(w,"width",(0,d.attr)(w,"width")?e:null),(0,d.attr)(w,"height",(0,d.attr)(w,"height")?t:null)}const k=[l,h,u,p];v.image.editMargins&&(this.state.marginIsLocked?(0,d.css)(w,"margin",be(l.value)):k.forEach((e=>{const t=(0,d.attr)(e,"data-ref")||"";(0,d.css)(w,t,be(e.value))}))),v.image.editClass&&(0,d.attr)(w,"class",f.value||null),v.image.editId&&(0,d.attr)(w,"id",b.value||null),v.image.editAlign&&(0,fe.z)(w,g.value),this.j.setEditorValue(),this.dialog.close()}openImageEditor(){const e=(0,d.attr)(this.state.image,"src")||"",t=this.j.c.element("a"),i=()=>{t.host===location.host||(0,c.Confirm)(this.j.i18n("You can only edit your own images. Download this image on the host?"),(e=>{e&&this.j.uploader&&this.j.uploader.uploadRemoteImage(""+t.href,(e=>{(0,c.Alert)(this.j.i18n("The image has been successfully uploaded to the host!"),(()=>{(0,d.isString)(e.newfilename)&&((0,d.attr)(this.state.image,"src",e.baseurl+e.newfilename),this.updateValues())})).bindDestruct(this.j)}),(e=>{(0,c.Alert)(this.j.i18n("There was an error loading %s",e.message)).bindDestruct(this.j)}))})).bindDestruct(this.j)};t.href=e,this.j.filebrowser.dataProvider.getPathByUrl(""+t.href).then((i=>{ge.r.call(this.j.filebrowser,t.href,i.name,i.path,i.source,(()=>{const t=(new Date).getTime();(0,d.attr)(this.state.image,"src",e+(-1!==e.indexOf("?")?"":"?")+"&_tmp="+t),this.updateValues()}),(e=>{(0,c.Alert)(e.message).bindDestruct(this.j)}))})).catch((e=>{(0,c.Alert)(e.message,i).bindDestruct(this.j)}))}openImagePopup(e){const t=new c.Popup(this.j),{changeImage:i}=(0,d.refs)(this.form);t.setZIndex(this.dialog.getZIndex()+1),t.setContent((0,Z.ov)(this.j,{upload:e=>{e.files&&e.files.length&&(0,d.attr)(this.state.image,"src",e.baseurl+e.files[0]),this.updateValues(),t.close()},filebrowser:e=>{e&&(0,d.isArray)(e.files)&&e.files.length&&((0,d.attr)(this.state.image,"src",e.files[0]),t.close(),this.updateValues())}},this.state.image,t.close)).open((()=>(0,d.position)(i))),e.stopPropagation()}afterInit(e){const t=this;e.e.on("afterConstructor changePlace",(()=>{e.e.off(e.editor,".imageproperties").on(e.editor,"dblclick.imageproperties",(i=>{const o=i.target;if(c.Dom.isTag(o,"img"))if(e.o.image.openOnDblClick){if(!1===this.j.e.fire("openOnDblClick",o))return;t.state.image=o,e.o.readonly||(i.stopImmediatePropagation(),i.preventDefault(),t.open())}else i.stopImmediatePropagation(),e.s.select(o)}))})).on("openImageProperties.imageproperties",(e=>{this.state.image=e,this.open()}))}beforeDestruct(e){this.dialog&&this.dialog.destruct(),e.e.off(e.editor,".imageproperties").off(".imageproperties")}}function ye(e){e.e.on("change afterInit changePlace",e.async.debounce((()=>{e.editor&&(0,d.$$)("img",e.editor).forEach((t=>{t.__jodit_imageprocessor_binded||(t.__jodit_imageprocessor_binded=!0,t.complete||t.addEventListener("load",(function i(){var o;!e.isInDestruct&&(null===(o=e.e)||void 0===o||o.fire("resize")),t.removeEventListener("load",i)})),e.e.on(t,"mousedown touchstart",(()=>{e.s.select(t)})))}))}),e.defaultTimeout))}function ke(e){e.registerButton({name:"image",group:"media"})}(0,n.gn)([(0,m.watch)("state.marginIsLocked")],we.prototype,"onChangeMarginIsLocked",null),(0,n.gn)([(0,m.watch)("state.sizeIsLocked")],we.prototype,"onChangeSizeIsLocked",null),(0,n.gn)([m.autobind],we.prototype,"onApply",null),(0,n.gn)([m.autobind],we.prototype,"openImageEditor",null),(0,n.gn)([m.autobind],we.prototype,"openImagePopup",null),r.D.prototype.controls.image={popup(e,t,i,o){let s=null;return t&&!_.i.isText(t)&&_.i.isHTMLElement(t)&&(_.i.isTag(t,"img")||(0,d.$$)("img",t).length)&&(s=_.i.isTag(t,"img")?t:(0,d.$$)("img",t)[0]),e.s.save(),(0,Z.ov)(e,{filebrowser(t){e.s.restore(),t.files&&t.files.forEach((i=>e.s.insertImage(t.baseurl+i,null,e.o.imageDefaultWidth))),o()},upload:!0,async url(t,i){e.s.restore();const a=s||e.createInside.element("img");a.setAttribute("src",t),a.setAttribute("alt",i),s||await e.s.insertImage(a,null,e.o.imageDefaultWidth),o()}},s,o)},tags:["img"],tooltip:"Insert Image"},r.D.prototype.controls.indent={tooltip:"Increase Indent"};const Ce=(e,t)=>`${_.i.isCell(t)?"padding":"margin"}${"rtl"===e?"Right":"Left"}`;function xe(e){e.registerButton({name:"indent",group:"indent"}).registerButton({name:"outdent",group:"indent"});const t=t=>{const i=[];return e.s.eachSelection((o=>{e.s.save();let s=!!o&&_.i.up(o,_.i.isBlock,e.editor);const{enter:a}=e.o;if(!s&&o&&(s=_.i.wrapInline(o,a!==l.BR?a:l.PARAGRAPH,e)),!s)return e.s.restore(),!1;const n=i.includes(s);if(s&&!n){const o=Ce(e.o.direction,s);i.push(s);let a=s.style[o]?parseInt(s.style[o],10):0;a+=e.o.indentMargin*("outdent"===t?-1:1),s.style[o]=a>0?a+"px":"",(0,d.attr)(s,"style")||(0,d.attr)(s,"style",null)}e.s.restore()})),e.setEditorValue(),!1};e.registerCommand("indent",{exec:t,hotkeys:["ctrl+]","cmd+]"]}),e.registerCommand("outdent",{exec:t,hotkeys:["ctrl+[","cmd+["]})}function Se(e){e.registerButton({name:"hr",group:"insert"}),e.registerCommand("insertHorizontalRule",(()=>{const t=e.createInside.element("hr");e.s.insertNode(t,!1,!1);const i=_.i.closest(t.parentElement,_.i.isBlock,e.editor);i&&_.i.isEmpty(i)&&i!==e.editor&&(_.i.after(i,t),_.i.safeRemove(i));let o=_.i.next(t,_.i.isBlock,e.editor,!1);return o||(o=e.createInside.element(e.o.enter),_.i.after(t,o)),e.s.setCursorIn(o),!1}))}r.D.prototype.controls.outdent={isDisabled(e){const t=e.s.current();if(t){const i=_.i.closest(t,_.i.isBlock,e.editor);if(i){const t=Ce(e.o.direction,i);return!i.style[t]||0>=parseInt(i.style[t],10)}}return!0},tooltip:"Decrease Indent"},r.D.prototype.indentMargin=10,r.D.prototype.controls.hr={command:"insertHorizontalRule",tags:["hr"],tooltip:"Insert Horizontal Line"},r.D.prototype.toolbarInline=!0,r.D.prototype.toolbarInlineForSelection=!1,r.D.prototype.toolbarInlineDisableFor=[],r.D.prototype.toolbarInlineDisabledButtons=["source"],r.D.prototype.popup={a:i(91).Z,img:i(92).Z,cells:i(93).Z,toolbar:i(94).Z,jodit:i(95).Z,"jodit-media":i(95).Z,selection:["bold","underline","italic","ul","ol","\n","outdent","indent","fontsize","brush","cut","\n","paragraph","link","align","dots"]};var _e=i(57),Ee=i(46);class Ie extends I.S{constructor(){super(...arguments),this.requires=["select"],this.type=null,this.popup=new Ee.G(this.jodit,!1),this.toolbar=(0,_e.R)(this.jodit,this.popup),this.snapRange=null,this.elmsList=(0,d.keys)(this.j.o.popup,!1).filter((e=>!this.isExcludedTarget(e)))}onClick(e){const t=this.elmsList,i=c.Dom.isTag(e,"img")?e:c.Dom.closest(e,t,this.j.editor);if(i&&this.canShowPopupForType(i.nodeName.toLowerCase()))return this.showPopup((()=>(0,d.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){this.previousTarget=i;const e=this.j.o.popup[t];let o;o=(0,d.isFunction)(e)?e(this.j,i,this.popup.close):e,(0,d.isArray)(o)&&(this.toolbar.build(o,i),this.toolbar.buttonSize=this.j.o.toolbarButtonSize,o=this.toolbar.container),this.popup.setContent(o),this.type=t}return this.popup.open(e),!0}hidePopup(e){(0,d.isString)(e)&&e!==this.type||this.popup.close()}onOutsideClick(){this.popup.close()}canShowPopupForType(e){const t=this.j.o.popup[e.toLowerCase()];return!(this.j.o.readonly||!this.j.o.toolbarInline||!t||this.isExcludedTarget(e))}isExcludedTarget(e){return(0,d.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){const t=this.toolbar.getButtonsNames();return(0,d.toArray)(e.registeredButtons).filter((e=>!this.j.o.toolbarInlineDisabledButtons.includes(e.name))).filter((e=>{const i=(0,d.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,d.isString)(e)?e:e.nodeName),(0,d.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&&c.UIElement.closestElement(e.target,Ee.G))return;const{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;const e="selection",t=this.j.s.sel,i=this.j.s.range;(null==t?void 0:t.isCollapsed)||this.isSelectedTarget(i)||this.tableModule.getAllSelectedCells().length?this.type===e&&this.popup.isOpened&&this.hidePopup():this.j.s.current()&&this.showPopup((()=>i.getBoundingClientRect()),e)}isSelectedTarget(e){const t=e.startContainer;return c.Dom.isElement(t)&&t===e.endContainer&&c.Dom.isTag(t.childNodes[e.startOffset],(0,d.keys)(this.j.o.popup,!1))&&e.startOffset===e.endOffset-1}get tableModule(){return this.j.getInstance("Table",this.j.o)}beforeDestruct(e){e.e.off("showPopup").off([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.removeListenersForElements()}addListenersForElements(){this.j.e.on(this.elmsList.map((e=>(0,d.camelCase)("click_"+e))).join(" "),this.onClick)}removeListenersForElements(){this.j.e.off(this.elmsList.map((e=>(0,d.camelCase)("click_"+e))).join(" "),this.onClick)}showInlineToolbar(e){this.showPopup((()=>{if(e)return e;const{range:t}=this.j.s;return t.getBoundingClientRect()}),"toolbar")}}(0,n.gn)([m.autobind],Ie.prototype,"onClick",null),(0,n.gn)([(0,m.wait)((e=>!e.j.isLocked))],Ie.prototype,"showPopup",null),(0,n.gn)([(0,m.watch)(":clickEditor"),m.autobind],Ie.prototype,"hidePopup",null),(0,n.gn)([(0,m.watch)(":outsideClick")],Ie.prototype,"onOutsideClick",null),(0,n.gn)([m.autobind],Ie.prototype,"onSelectionStart",null),(0,n.gn)([m.autobind],Ie.prototype,"onSelectionEnd",null),(0,n.gn)([(0,m.debounce)((e=>e.defaultTimeout))],Ie.prototype,"onSelectionChange",null),(0,n.gn)([m.autobind],Ie.prototype,"showInlineToolbar",null),r.D.prototype.controls.align={name:"left",tooltip:"Align",update(e){const t=e.j,i=e.control,o=t.s.current();if(o){const s=c.Dom.closest(o,c.Dom.isBlock,t.editor)||t.editor;let a=""+(0,d.css)(s,"text-align");i.defaultValue&&-1!==i.defaultValue.indexOf(a)&&(a="left"),i.data&&i.data.currentValue!==a&&i.list&&-1!==i.list.indexOf(a)&&(t.o.textIcons?e.state.text=a:e.state.icon.name=a,i.data.currentValue=a)}},isActive(e,t){const i=e.s.current();if(i&&t.defaultValue){const o=c.Dom.closest(i,c.Dom.isBlock,e.editor)||e.editor;return-1===t.defaultValue.indexOf(""+(0,d.css)(o,"text-align"))}return!1},defaultValue:["left","start","inherit"],data:{currentValue:"left"},list:["center","left","right","justify"]},r.D.prototype.controls.center={command:"justifyCenter",css:{"text-align":"center"},tooltip:"Align Center"},r.D.prototype.controls.justify={command:"justifyFull",css:{"text-align":"justify"},tooltip:"Align Justify"},r.D.prototype.controls.left={command:"justifyLeft",css:{"text-align":"left"},tooltip:"Align Left"},r.D.prototype.controls.right={command:"justifyRight",css:{"text-align":"right"},tooltip:"Align Right"};const je=(e,t)=>{if(c.Dom.isNode(t)&&c.Dom.isElement(t))switch(c.Dom.each(t,(e=>{c.Dom.isHTMLElement(e)&&e.style.textAlign&&(e.style.textAlign="",e.style.cssText.trim().length||e.removeAttribute("style"))})),e.toLowerCase()){case"justifyfull":t.style.textAlign="justify";break;case"justifyright":t.style.textAlign="right";break;case"justifyleft":t.style.textAlign="left";break;case"justifycenter":t.style.textAlign="center"}};function Te(e){e.registerButton({name:"align",group:"indent"});const t=t=>(e.s.focus(),e.s.eachSelection((i=>{if(!i)return;let o=c.Dom.up(i,c.Dom.isBlock,e.editor);o||(o=c.Dom.wrapInline(i,e.o.enterBlock,e)),je(t,o)})),!1);e.registerCommand("justifyfull",t),e.registerCommand("justifyright",t),e.registerCommand("justifyleft",t),e.registerCommand("justifycenter",t)}r.D.prototype.limitWords=!1,r.D.prototype.limitChars=!1,r.D.prototype.limitHTML=!1;class ze extends I.S{afterInit(e){const{limitWords:t,limitChars:i}=e.o;if(e&&(t||i)){let t=null;e.e.off(".limit").on("beforePaste.limit",(()=>{t=e.observer.snapshot.make()})).on("keydown.limit keyup.limit beforeEnter.limit beforePaste.limit",this.checkPreventKeyPressOrPaste).on("change.limit",this.checkPreventChanging).on("afterPaste.limit",(()=>{if(this.shouldPreventInsertHTML()&&t)return e.observer.snapshot.restore(t),!1}))}}shouldPreventInsertHTML(e=null,t=""){if(e&&l.COMMAND_KEYS.includes(e.key))return!1;const{jodit:i}=this,{limitWords:o,limitChars:s}=i.o,a=this.splitWords(t||(i.o.limitHTML?i.value:i.text));return!(!o||o>a.length)||!!s&&a.join("").length>=s}checkPreventKeyPressOrPaste(e){if(this.shouldPreventInsertHTML(e))return!1}checkPreventChanging(e,t){const{jodit:i}=this,{limitWords:o,limitChars:s}=i.o,a=i.o.limitHTML?e:(0,d.stripTags)(e),n=this.splitWords(a);(o&&n.length>o||s&&n.join("").length>s)&&(i.value=t)}splitWords(e){return e.replace((0,l.INVISIBLE_SPACE_REG_EXP)(),"").split((0,l.SPACE_REG_EXP)()).filter((e=>e.length))}beforeDestruct(e){e.e.off(".limit")}}(0,n.gn)([m.autobind],ze.prototype,"checkPreventKeyPressOrPaste",null),(0,n.gn)([m.autobind],ze.prototype,"checkPreventChanging",null);var Le=i(47);r.D.prototype.link={formTemplate(e){const{openInNewTabCheckbox:t,noFollowCheckbox:i,modeClassName:o,selectSizeClassName:s,selectMultipleClassName:a,selectOptionsClassName:n}=e.o.link;return new Le.x4(e,[new Le.eC(e,[new Le.u3(e,{name:"url",type:"text",ref:"url_input",label:"URL",placeholder:"http://",required:!0})]),new Le.eC(e,[new Le.u3(e,{name:"content",ref:"content_input",label:"Text"})],{ref:"content_input_box"}),o?new Le.eC(e,["input"===o?new Le.u3(e,{name:"className",ref:"className_input",label:"Class name"}):"select"===o?new Le.Cj(e,{name:"className",ref:"className_select",label:"Class name",size:s,multiple:a,options:n}):null]):null,t?new Le.mA(e,{name:"target",ref:"target_checkbox",label:"Open in new tab"}):null,i?new Le.mA(e,{name:"nofollow",ref:"nofollow_checkbox",label:"No follow"}):null,new Le.eC(e,[new W.y3(e,{name:"unlink",variant:"default",text:"Unlink"}),new W.y3(e,{name:"insert",type:"submit",variant:"primary",text:"Insert"})],{align:"full"})])},followOnDblClick:!1,processVideoLink:!0,processPastedLink:!0,noFollowCheckbox:!0,openInNewTabCheckbox:!0,modeClassName:"input",selectMultipleClassName:!0,selectSizeClassName:3,selectOptionsClassName:[],hotkeys:["ctrl+k","cmd+k"]},r.D.prototype.controls.unlink={exec(e,t){const i=_.i.closest(t,"a",e.editor);i&&_.i.unwrap(i),e.setEditorValue(),e.e.fire("hidePopup")},tooltip:"Unlink"},r.D.prototype.controls.link={isActive(e){const t=e.s.current();return!(!t||!_.i.closest(t,"a",e.editor))},popup:(e,t,i,o)=>e.e.fire("generateLinkForm.link",t,o),tags:["a"],tooltip:"Insert link"};class Ae extends I.S{constructor(){super(...arguments),this.buttons=[{name:"link",group:"insert"}]}afterInit(e){e.o.link.followOnDblClick&&e.e.on("dblclick.link",this.onDblClickOnLink),e.o.link.processPastedLink&&e.e.on("processPaste.link",this.onProcessPasteLink),e.e.on("generateLinkForm.link",this.generateForm),e.registerCommand("openLinkDialog",{exec:()=>{const t=new c.Dialog({resizable:!1}),i=this.generateForm(e.s.current(),(()=>{t.close()}));i.container.classList.add("jodit-dialog_alert"),t.setContent(i),t.open(),e.async.requestIdleCallback((()=>{const{url_input:e}=(0,d.refs)(i.container);null==e||e.focus()}))},hotkeys:e.o.link.hotkeys})}onDblClickOnLink(e){if(!_.i.isTag(e.target,"a"))return;const t=(0,d.attr)(e.target,"href");t&&(location.href=t,e.preventDefault())}onProcessPasteLink(e,t){const{jodit:i}=this;if((0,d.isURL)(t)){if(i.o.link.processVideoLink){const e=(0,d.convertMediaUrlToVideoEmbed)(t);if(e!==t)return i.e.stopPropagation("processPaste"),i.createInside.fromHTML(e)}const e=i.createInside.element("a");return e.setAttribute("href",t),e.textContent=t,i.e.stopPropagation("processPaste"),e}}generateForm(e,t){const{jodit:i}=this,o=i.i18n.bind(i),{openInNewTabCheckbox:s,noFollowCheckbox:a,formTemplate:n,formClassName:r,modeClassName:l}=i.o.link,c=n(i),h=(0,d.isString)(c)?i.c.fromHTML(c,{target_checkbox_box:s,nofollow_checkbox_box:a}):c,u=_.i.isElement(h)?h:h.container,p=(0,d.refs)(u),{insert:m,unlink:g,content_input_box:f}=p,{target_checkbox:b,nofollow_checkbox:v,url_input:w}=p,y=_.i.isImage(e);let{content_input:k}=p;const{className_input:C}=p,{className_select:x}=p;let S;k||(k=i.c.element("input",{type:"hidden",ref:"content_input"})),r&&u.classList.add(r),y&&_.i.hide(f);const E=()=>S?S.innerText:(0,d.stripTags)(i.s.range.cloneContents(),i.ed);if(S=!(!e||!_.i.closest(e,"a",i.editor))&&_.i.closest(e,"a",i.editor),!y&&e&&(k.value=E()),S){if(w.value=(0,d.attr)(S,"href")||"",l)switch(l){case"input":C&&(C.value=(0,d.attr)(S,"class")||"");break;case"select":if(x){for(let e=0;x.selectedOptions.length>e;e++){const t=x.options.item(e);t&&(t.selected=!1)}((0,d.attr)(S,"class")||"").split(" ").forEach((e=>{if(e)for(let t=0;x.options.length>t;t++){const i=x.options.item(t);(null==i?void 0:i.value)&&i.value===e&&(i.selected=!0)}}))}}s&&b&&(b.checked="_blank"===(0,d.attr)(S,"target")),a&&v&&(v.checked="nofollow"===(0,d.attr)(S,"rel")),m.textContent=o("Update")}else _.i.hide(g);i.editor.normalize();const I=i.observer.snapshot.make();g&&i.e.on(g,"click",(e=>{i.s.restore(),i.observer.snapshot.restore(I),S&&_.i.unwrap(S),i.setEditorValue(),t(),e.preventDefault()}));const j=()=>{if(!w.value.trim().length)return w.focus(),w.classList.add("jodit_error"),!1;let e;i.s.restore(),i.s.removeMarkers(),i.editor.normalize(),i.observer.snapshot.restore(I);const o=E()!==k.value.trim(),n=i.createInside;if(S)e=[S];else{if(i.s.isCollapsed()){const t=n.element("a");i.s.insertNode(t,!1,!1),e=[t]}else{const t=i.s.current();e=_.i.isTag(t,["img"])?[_.i.wrap(t,"a",n)]:i.s.wrapInTag("a")}e.forEach((e=>i.s.select(e)))}return e.forEach((e=>{var t;if((0,d.attr)(e,"href",w.value),l&&(null!=C?C:x))if("input"===l)""===C.value&&e.hasAttribute("class")&&(0,d.attr)(e,"class",null),""!==C.value&&(0,d.attr)(e,"class",C.value);else if("select"===l){e.hasAttribute("class")&&(0,d.attr)(e,"class",null);for(let i=0;x.selectedOptions.length>i;i++){const o=null===(t=x.selectedOptions.item(i))||void 0===t?void 0:t.value;o&&e.classList.add(o)}}if(!y){let t=e.textContent;k.value.trim().length?o&&(t=k.value):t=w.value,t!==e.textContent&&(e.textContent=t)}s&&b&&(0,d.attr)(e,"target",b.checked?"_blank":null),a&&v&&(0,d.attr)(e,"rel",v.checked?"nofollow":null)})),i.setEditorValue(),t(),!1};return _.i.isElement(h)?i.e.on(h,"submit",(e=>(e.preventDefault(),e.stopImmediatePropagation(),j(),!1))):h.onSubmit(j),h}beforeDestruct(e){e.e.off("generateLinkForm.link",this.generateForm).off("dblclick.link",this.onDblClickOnLink).off("processPaste.link",this.onProcessPasteLink)}}function Me(e){const t="jodit_fake_wrapper",{mediaFakeTag:i,mediaBlocks:o,mediaInFakeBlock:s}=e.options;s&&e.e.on("afterGetValueFromEditor",(e=>{const o=RegExp(`<${i}[^>]+data-${t}[^>]+>([^]+?)</${i}>`,"ig");o.test(e.value)&&(e.value=e.value.replace(o,"$1"))})).on("change afterInit afterSetMode changePlace",e.async.debounce((()=>{e.isDestructed||e.getMode()===l.MODE_SOURCE||(0,d.$$)(o.join(","),e.editor).forEach((o=>{(0,d.dataBind)(o,t)||((0,d.dataBind)(o,t,!0),(o=>{if(o.parentNode&&(0,d.attr)(o.parentNode,"data-jodit_iframe_wrapper"))o=o.parentNode;else{const s=e.createInside.fromHTML(`<${i} data-jodit-temp="1" contenteditable="false" draggable="true" data-${t}="1"></${i}>`);(0,d.attr)(s,"style",(0,d.attr)(o,"style")),s.style.display="inline-block"===o.style.display?"inline-block":"block",s.style.width=o.offsetWidth+"px",s.style.height=o.offsetHeight+"px",o.parentNode&&o.parentNode.insertBefore(s,o),s.appendChild(o),o=s}e.e.off(o,"mousedown.select touchstart.select").on(o,"mousedown.select touchstart.select",(()=>{e.s.setCursorAfter(o)}))})(o))}))}),e.defaultTimeout))}function De(e){e.registerButton({name:"video",group:"media"})}function Be(e){e.registerButton({name:"file",group:"media"})}(0,n.gn)([m.autobind],Ae.prototype,"onDblClickOnLink",null),(0,n.gn)([m.autobind],Ae.prototype,"onProcessPasteLink",null),(0,n.gn)([m.autobind],Ae.prototype,"generateForm",null),r.D.prototype.mediaFakeTag="jodit-media",r.D.prototype.mediaInFakeBlock=!0,r.D.prototype.mediaBlocks=["video","audio"],r.D.prototype.controls.video={popup(e,t,i,o){const s=new Le.x4(e,[new Le.eC(e,[new Le.u3(e,{name:"url",required:!0,label:"URL",placeholder:"https://",validators:["url"]})]),new Le.eC(e,[(0,W.zx)(e,"","Insert","primary").onAction((()=>s.submit()))])]),a=new Le.x4(e,[new Le.eC(e,[new Le.GJ(e,{name:"code",required:!0,label:"Embed code"})]),new Le.eC(e,[(0,W.zx)(e,"","Insert","primary").onAction((()=>a.submit()))])]),n=[],r=t=>{e.s.restore(),e.s.insertHTML(t),o()};return e.s.save(),n.push({icon:"link",name:"Link",content:s.container},{icon:"source",name:"Code",content:a.container}),s.onSubmit((e=>{r((0,d.convertMediaUrlToVideoEmbed)(e.url))})),a.onSubmit((e=>{r(e.code)})),(0,Z.IL)(e,n)},tags:["iframe"],tooltip:"Insert youtube/vimeo video"},r.D.prototype.controls.file={popup(e,t,i,o){const s=(t,i="")=>{e.s.insertNode(e.createInside.fromHTML(`<a href="${t}" title="${i}">${i||t}</a>`))};let a=null;return t&&(_.i.isTag(t,"a")||_.i.closest(t,"a",e.editor))&&(a=_.i.isTag(t,"a")?t:_.i.closest(t,"a",e.editor)),(0,Z.ov)(e,{filebrowser(e){e.files&&e.files.forEach((t=>s(e.baseurl+t))),o()},upload:!0,url(e,t){a?(a.setAttribute("href",e),a.setAttribute("title",t)):s(e,t),o()}},a,o,!1)},tags:["a"],tooltip:"Insert file"};var Pe=i(45);function Re(e){let t=0,i=(0,d.splitArray)(e.o.buttons);e.o.mobileTapTimeout&&e.e.on("touchend",(i=>{if(i.changedTouches&&i.changedTouches.length){const o=(new Date).getTime(),s=o-t;s>e.o.mobileTapTimeout&&(t=o,1.5*e.o.mobileTapTimeout>s&&e.s.insertCursorAtPoint(i.changedTouches[0].clientX,i.changedTouches[0].clientY))}})),e.e.on("getDiffButtons.mobile",(t=>{if(t===e.toolbar){const t=(0,Pe.q)((0,d.splitArray)(e.o.buttons),e),o=(0,Pe.q)(i,e);return(0,d.toArray)(t).reduce(((e,t)=>(o.has(t)||e.push(t),e)),[])}})),e.o.toolbarAdaptive&&e.e.on("resize afterInit recalcAdaptive changePlace afterAddPlace",(()=>{if(!e.o.toolbar)return;const t=e.container.offsetWidth,o=(0,d.splitArray)(e.o.sizeLG>t?e.o.sizeMD>t?e.o.sizeSM>t?e.o.buttonsXS:e.o.buttonsSM:e.o.buttonsMD:e.o.buttons);""+o!=""+i&&(i=o,e.e.fire("closeAllPopups"),e.toolbar.setRemoveButtons(e.o.removeButtons).build(i.concat(e.o.extraButtons)))})).on(e.ow,"load",(()=>e.e.fire("recalcAdaptive")))}r.D.prototype.mobileTapTimeout=300,r.D.prototype.toolbarAdaptive=!0,r.D.prototype.controls.dots={mode:l.MODE_SOURCE+l.MODE_WYSIWYG,popup(e,t,i,o,s){let a=i.data;return void 0===a&&(a={toolbar:(0,_e.R)(e),rebuild(){var t;if(s){const i=e.e.fire("getDiffButtons.mobile",s.closest($.bz));if(i&&a){a.toolbar.build((0,d.splitArray)(i));const o=(null===(t=e.toolbar.firstButton)||void 0===t?void 0:t.container.offsetWidth)||36;a.toolbar.container.style.width=3*(o+4)+"px"}}}},i.data=a),a.rebuild(),a.toolbar},tooltip:"Show all"};const He=(e,t,{control:i})=>{const o="button"+i.command,s=i.args&&i.args[0]||(0,d.dataBind)(e,o);(0,d.dataBind)(e,o,s),e.execCommand(i.command,!1,s)};r.D.prototype.controls.ul={command:"insertUnorderedList",tags:["ul"],tooltip:"Insert Unordered List",list:{default:"Default",circle:"Circle",disc:"Dot",square:"Quadrate"},exec:He},r.D.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:He};class Ne extends I.S{constructor(){super(...arguments),this.buttons=[{name:"ul",group:"list"},{name:"ol",group:"list"}]}afterInit(e){e.registerCommand("insertUnorderedList",this.onCommand).registerCommand("insertOrderedList",this.onCommand)}onCommand(e,t,i){return this.jodit.s.applyStyle({listStyleType:null!=i?i:null},{element:"insertunorderedlist"===e?"ul":"ol"}),this.jodit.setEditorValue(),!1}beforeDestruct(e){}}function qe(e){e.o.hidePoweredByJodit||e.o.inline||!(e.o.showCharsCounter||e.o.showWordsCounter||e.o.showXPathInStatusbar)||e.hookStatus("ready",(()=>{e.statusbar.append(e.create.fromHTML('<a\n\t\t\t\t\t\ttabindex="-1"\n\t\t\t\t\t\tstyle="text-transform: uppercase"\n\t\t\t\t\t\tclass="jodit-status-bar-link"\n\t\t\t\t\t\ttarget="_blank"\n\t\t\t\t\t\thref="https://xdsoft.net/jodit/">\n\t\t\t\t\t\t\tPowered by Jodit\n\t\t\t\t\t\t</a>'),!0)}))}(0,n.gn)([m.autobind],Ne.prototype,"onCommand",null);var Fe=i(96);r.D.prototype.controls.redo={mode:l.MODE_SPLIT,isDisabled:e=>!e.observer.stack.canRedo(),tooltip:"Redo"},r.D.prototype.controls.undo={mode:l.MODE_SPLIT,isDisabled:e=>!e.observer.stack.canUndo(),tooltip:"Undo"};class Oe extends I.S{constructor(){super(...arguments),this.buttons=[{name:"undo",group:"history"},{name:"redo",group:"history"}]}beforeDestruct(){}afterInit(e){const t=t=>(e.observer[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"]})}}r.D.prototype.allowResizeTags=["img","iframe","table","jodit"],r.D.prototype.resizer={showSize:!0,hideSizeTimeout:1e3,forImageChangeAttributes:!0,min_width:10,min_height:10};const Ve="__jodit-resizer_binded";class We extends I.S{constructor(){super(...arguments),this.LOCK_KEY="resizer",this.element=null,this.isResized=!1,this.isShown=!1,this.start_x=0,this.start_y=0,this.width=0,this.height=0,this.ratio=0,this.rect=this.j.c.fromHTML('<div class="jodit-resizer">\n\t\t\t\t<div class="jodit-resizer__top-left"></div>\n\t\t\t\t<div class="jodit-resizer__top-right"></div>\n\t\t\t\t<div class="jodit-resizer__bottom-right"></div>\n\t\t\t\t<div class="jodit-resizer__bottom-left"></div>\n\t\t\t\t<span>100x100</span>\n\t\t\t</div>'),this.sizeViewer=this.rect.getElementsByTagName("span")[0],this.onResize=e=>{if(this.isResized){if(!this.element)return;let t,i;if(this.j.options.iframe){const o=this.getWorkplacePosition();t=e.clientX+o.left-this.start_x,i=e.clientY+o.top-this.start_y}else t=e.clientX-this.start_x,i=e.clientY-this.start_y;const o=this.handle.className;let s=0,a=0;_.i.isTag(this.element,"img")?(t?(s=this.width+(o.match(/left/)?-1:1)*t,a=Math.round(s/this.ratio)):(a=this.height+(o.match(/top/)?-1:1)*i,s=Math.round(a*this.ratio)),s>(0,d.innerWidth)(this.j.editor,this.j.ow)&&(s=(0,d.innerWidth)(this.j.editor,this.j.ow),a=Math.round(s/this.ratio))):(s=this.width+(o.match(/left/)?-1:1)*t,a=this.height+(o.match(/top/)?-1:1)*i),s>this.j.o.resizer.min_width&&this.applySize(this.element,"width",this.rect.parentNode.offsetWidth>s?s:"100%"),a>this.j.o.resizer.min_height&&this.applySize(this.element,"height",a),this.updateSize(),this.showSizeViewer(this.element.offsetWidth,this.element.offsetHeight),e.stopImmediatePropagation()}},this.onClickOutside=e=>{this.isShown&&(this.isResized?(this.j.unlock(),this.isResized=!1,this.j.setEditorValue(),e.stopImmediatePropagation(),this.j.e.off(this.j.ow,"mousemove.resizer touchmove.resizer",this.onResize)):this.hide())},this.onClickElement=e=>{this.isResized||this.element===e&&this.isShown||(this.element=e,this.show(),_.i.isTag(this.element,"img")&&!this.element.complete&&this.j.e.on(this.element,"load",this.updateSize))},this.updateSize=()=>{if(!this.isInDestruct&&this.isShown&&this.element&&this.rect){const e=this.getWorkplacePosition(),t=(0,d.offset)(this.element,this.j,this.j.ed),i=parseInt(this.rect.style.left||"0",10),o=this.rect.offsetWidth,s=this.rect.offsetHeight,a=t.top-e.top,n=t.left-e.left;parseInt(this.rect.style.top||"0",10)===a&&i===n&&o===this.element.offsetWidth&&s===this.element.offsetHeight||((0,d.css)(this.rect,{top:a,left:n,width:this.element.offsetWidth,height:this.element.offsetHeight}),this.j.events&&(this.j.e.fire(this.element,"changesize"),isNaN(i)||this.j.e.fire("resize")))}},this.hideSizeViewer=()=>{this.sizeViewer.style.opacity="0"}}afterInit(e){(0,d.$$)("div",this.rect).forEach((t=>{e.e.on(t,"mousedown.resizer touchstart.resizer",this.onClickHandle.bind(this,t))})),p.TB.on("hideHelpers",this.hide),e.e.on("readonly",(e=>{e&&this.hide()})).on("afterInit changePlace",this.addEventListeners.bind(this)).on("afterGetValueFromEditor.resizer",(e=>{const t=/<jodit[^>]+data-jodit_iframe_wrapper[^>]+>(.*?<iframe[^>]*>.*?<\/iframe>.*?)<\/jodit>/gi;t.test(e.value)&&(e.value=e.value.replace(t,"$1"))})).on("hideResizer",this.hide).on("change afterInit afterSetMode",this.onChangeEditor),this.addEventListeners(),this.onChangeEditor()}onEditorClick(e){let t=e.target;const{editor:i,options:{allowResizeTags:o}}=this.j;for(;t&&t!==i;){if(_.i.isTag(t,o))return this.bind(t),void this.onClickElement(t);t=t.parentNode}}addEventListeners(){const e=this.j;e.e.off(e.editor,".resizer").off(e.ow,".resizer").on(e.editor,"keydown.resizer",(e=>{this.isShown&&e.key===l.KEY_DELETE&&this.element&&!_.i.isTag(this.element,"table")&&this.onDelete(e)})).on(e.ow,"resize.resizer",this.updateSize).on(e.ow,"mouseup.resizer keydown.resizer touchend.resizer",this.onClickOutside).on([e.ow,e.editor],"scroll.resizer",(()=>{this.isShown&&!this.isResized&&this.hide()}))}onClickHandle(e,t){if(!this.element||!this.element.parentNode)return this.hide(),!1;this.handle=e,t.preventDefault(),t.stopImmediatePropagation(),this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.isResized=!0,this.start_x=t.clientX,this.start_y=t.clientY,this.j.e.fire("hidePopup"),this.j.lock(this.LOCK_KEY),this.j.e.on(this.j.ow,"mousemove.resizer touchmove.resizer",this.onResize)}getWorkplacePosition(){return(0,d.offset)(this.rect.parentNode||this.j.od.documentElement,this.j,this.j.od,!0)}applySize(e,t,i){const o=_.i.isImage(e)&&this.j.o.resizer.forImageChangeAttributes;o&&(0,d.attr)(e,t,i),o&&!e.style[t]||(0,d.css)(e,t,i)}onDelete(e){this.element&&("JODIT"!==this.element.tagName?this.j.s.select(this.element):(_.i.safeRemove(this.element),this.hide(),e.preventDefault()))}onChangeEditor(){this.isShown&&(this.element&&this.element.parentNode?this.updateSize():this.hide()),(0,d.$$)("iframe",this.j.editor).forEach(this.bind)}bind(e){if(!_.i.isHTMLElement(e)||(0,d.dataBind)(e,Ve))return;let t;if((0,d.dataBind)(e,Ve,!0),_.i.isTag(e,"iframe")){const i=e;_.i.isHTMLElement(e.parentNode)&&(0,d.attr)(e.parentNode,"-jodit_iframe_wrapper")?e=e.parentNode:(t=this.j.createInside.fromHTML('<jodit data-jodit-temp="1" contenteditable="false" draggable="true" data-jodit_iframe_wrapper="1"></jodit>'),(0,d.attr)(t,"style",(0,d.attr)(e,"style")),(0,d.css)(t,{display:"inline-block"===e.style.display?"inline-block":"block",width:e.offsetWidth,height:e.offsetHeight}),e.parentNode&&e.parentNode.insertBefore(t,e),t.appendChild(e),e=t),this.j.e.off(e,"mousedown.select touchstart.select").on(e,"mousedown.select touchstart.select",(()=>{this.j.s.select(e)})).off(e,"changesize").on(e,"changesize",(()=>{i.setAttribute("width",e.offsetWidth+"px"),i.setAttribute("height",e.offsetHeight+"px")}))}this.j.e.on(e,"dragstart",this.hide)}showSizeViewer(e,t){this.j.o.resizer.showSize&&(this.sizeViewer.offsetWidth>e||this.sizeViewer.offsetHeight>t?this.hideSizeViewer():(this.sizeViewer.style.opacity="1",this.sizeViewer.textContent=`${e} x ${t}`,this.j.async.setTimeout(this.hideSizeViewer,{timeout:this.j.o.resizer.hideSizeTimeout,label:"hideSizeViewer"})))}show(){this.j.o.readonly||this.isShown||(this.isShown=!0,this.rect.parentNode||((0,d.markOwner)(this.j,this.rect),this.j.workplace.appendChild(this.rect)),this.j.isFullSize&&(this.rect.style.zIndex=""+(0,d.css)(this.j.container,"zIndex")),this.updateSize())}hide(){this.isResized||(this.isResized=!1,this.isShown=!1,this.element=null,_.i.safeRemove(this.rect))}beforeDestruct(e){this.hide(),p.TB.off("hideHelpers",this.hide),e.e.off(this.j.ow,".resizer").off(".resizer")}}(0,n.gn)([(0,m.watch)(":click")],We.prototype,"onEditorClick",null),(0,n.gn)([(0,m.debounce)()],We.prototype,"onChangeEditor",null),(0,n.gn)([m.autobind],We.prototype,"bind",null),(0,n.gn)([m.autobind],We.prototype,"hide",null),r.D.prototype.useSearch=!0,r.D.prototype.controls.find={tooltip:"Find",icon:"search",exec(e,t,{control:i}){switch(i.args&&i.args[0]){case"findPrevious":e.e.fire("searchPrevious");break;case"findNext":e.e.fire("searchNext");break;case"replace":e.execCommand("openReplaceDialog");break;default:e.execCommand("openSearchDialog")}},list:{search:"Find",findNext:"Find Next",findPrevious:"Find Previous",replace:"Replace"},childTemplate:(e,t,i)=>i};class Ue extends I.S{constructor(){super(...arguments),this.buttons=[{name:"find",group:"search"}],this.template=`<div class="jodit-search">\n\t\t\t<div class="jodit-search__box">\n\t\t\t\t<div class="jodit-search__inputs">\n\t\t\t\t\t<input data-ref="query" tabindex="0" placeholder="${this.j.i18n("Search for")}" type="text"/>\n\t\t\t\t\t<input data-ref="replace" tabindex="0" placeholder="${this.j.i18n("Replace with")}" type="text"/>\n\t\t\t\t</div>\n\t\t\t\t<div class="jodit-search__counts">\n\t\t\t\t\t<span data-ref="counter-box">0/0</span>\n\t\t\t\t</div>\n\t\t\t\t<div class="jodit-search__buttons">\n\t\t\t\t\t<button data-ref="next" tabindex="0" type="button">${$.JO.get("angle-down")}</button>\n\t\t\t\t\t<button data-ref="prev" tabindex="0" type="button">${$.JO.get("angle-up")}</button>\n\t\t\t\t\t<button data-ref="cancel" tabindex="0" type="button">${$.JO.get("cancel")}</button>\n\t\t\t\t\t<button data-ref="replace-btn" tabindex="0" type="button" class="jodit-ui-button">${this.j.i18n("Replace")}</button>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>`,this.isOpened=!1,this.selInfo=null,this.current=null,this.eachMap=(e,t,i)=>{_.i.findWithCurrent(e,(e=>!(!e||!t(e))),this.j.editor,i?"nextSibling":"previousSibling",i?"firstChild":"lastChild")},this.updateCounters=()=>{if(!this.isOpened)return;this.counterBox.style.display=this.queryInput.value.length?"inline-block":"none";const e=this.calcCounts(this.queryInput.value,this.j.s.range);this.counterBox.textContent=e.join("/")},this.calcCounts=(e,t=!1)=>{const i=[];let o=0,s=0,a=!1,n=this.j.editor.firstChild;for(;n&&e.length;)if(a=this.find(n,e,!0,0,a||this.j.ed.createRange()),a){if(this.boundAlreadyWas(a,i))break;i.push(a),n=a.startContainer,s+=1,t&&this.boundAlreadyWas(t,[a])&&(o=s)}else n=null;return[o,s]},this.findAndReplace=(e,t)=>{const i=this.find(e,t,!0,0,this.j.s.range);if(i&&i.startContainer&&i.endContainer){const e=this.j.ed.createRange();try{if(i&&i.startContainer&&i.endContainer){e.setStart(i.startContainer,i.startOffset),e.setEnd(i.endContainer,i.endOffset),e.deleteContents();const t=this.j.createInside.text(this.replaceInput.value);e.insertNode(t),this.j.s.select(t),this.tryScrollToElement(t)}}catch(e){}return!0}return!1},this.findAndSelect=(e,t,i)=>{const o=this.find(e,t,i,0,this.j.s.range);if(o&&o.startContainer&&o.endContainer){const e=this.j.ed.createRange();try{e.setStart(o.startContainer,o.startOffset),e.setEnd(o.endContainer,o.endOffset),this.j.s.selectRange(e)}catch(e){}return this.tryScrollToElement(o.startContainer),this.current=o.startContainer,this.updateCounters(),!0}return!1},this.find=(e,t,i,o,s)=>{if(e&&t.length){let a="",n={startContainer:null,startOffset:null,endContainer:null,endOffset:null};if(this.eachMap(e,(e=>{if(_.i.isText(e)&&null!=e.nodeValue&&e.nodeValue.length){let r=e.nodeValue;i||e!==s.startContainer?i&&e===s.endContainer&&(r=o?r.substr(0,s.startOffset):r.substr(s.endOffset)):r=o?r.substr(s.endOffset):r.substr(0,s.startOffset);const l=i?a+r:r+a,c=Ue.findSomePartOfString(t,l,i);if(!1!==c){let s=Ue.findSomePartOfString(t,r,i);!0===s?s=(0,d.trim)(t):!1===s&&(s=Ue.findSomePartOfString(r,t,i),!0===s&&(s=(0,d.trim)(r)));let h=Ue.getSomePartOfStringIndex(t,r,i)||0;if((i&&!o||!i&&o)&&e.nodeValue.length-r.length>0&&(h+=e.nodeValue.length-r.length),null==n.startContainer&&(n.startContainer=e,n.startOffset=h),!0===c)return n.endContainer=e,n.endOffset=h,n.endOffset+=s.length,!0;a=l}else a="",n={startContainer:null,startOffset:null,endContainer:null,endOffset:null}}else _.i.isBlock(e)&&""!==a&&(a=i?a+" ":" "+a);return!1}),i),n.startContainer&&n.endContainer)return n;if(!o)return this.current=i?this.j.editor.firstChild:this.j.editor.lastChild,this.find(this.current,t,i,o+1,s)}return!1},this.open=(e=!1)=>{this.isOpened||(this.searchBox.classList.add("jodit-search_active"),this.isOpened=!0),this.calcSticky(this.j.e.fire("getStickyState.sticky")||!1),this.j.e.fire("hidePopup"),this.searchBox.classList.toggle("jodit-search_replace",e),this.current=this.j.s.current();const t=""+(this.j.s.sel||"");t&&(this.queryInput.value=t),this.updateCounters(),t?this.queryInput.select():this.queryInput.focus()},this.close=()=>{this.isOpened&&(this.j.s.restore(),this.searchBox.classList.remove("jodit-search_active"),this.isOpened=!1)}}static getSomePartOfStringIndex(e,t,i=!0){return this.findSomePartOfString(e,t,i,!0)}static findSomePartOfString(e,t,i=!0,o=!1){e=(0,d.trim)(e.toLowerCase().replace(l.SPACE_REG_EXP()," ")),t=t.toLowerCase();let s=i?0:t.length-1,a=i?0:e.length-1,n=0,r=null;const c=i?1:-1,h=[];for(;void 0!==t[s];s+=c){const d=e[a]===t[s];if(d||null!=r&&l.SPACE_REG_EXP().test(t[s])?(null!=r&&i||(r=s),h.push(t[s]),d&&(n+=1,a+=c)):(r=null,h.length=0,n=0,a=i?0:e.length-1),n===e.length)return!o||r}return o?null!=r&&r:!!h.length&&(i?h.join(""):h.reverse().join(""))}boundAlreadyWas(e,t){return t.some((t=>t.startContainer===e.startContainer&&t.endContainer===e.endContainer&&t.startOffset===e.startOffset&&t.endOffset===e.endOffset),!1)}tryScrollToElement(e){let t=_.i.closest(e,_.i.isElement,this.j.editor);t||(t=_.i.prev(e,_.i.isElement,this.j.editor)),t&&t!==this.j.editor&&t.scrollIntoView()}afterInit(e){if(e.o.useSearch){const t=this;t.searchBox=e.c.fromHTML(t.template);const{query:i,replace:o,cancel:s,next:a,prev:n,replaceBtn:r,counterBox:c}=(0,d.refs)(t.searchBox);t.queryInput=i,t.replaceInput=o,t.closeButton=s,t.nextButton=a,t.prevButton=n,t.replaceButton=r,t.counterBox=c;const h=()=>{e.workplace.appendChild(this.searchBox),e.e.off(this.j.container,"keydown.search").on(this.j.container,"keydown.search",(i=>{if(e.getRealMode()===l.MODE_WYSIWYG)switch(i.key){case l.KEY_ESC:this.close();break;case l.KEY_F3:t.queryInput.value&&(e.e.fire(i.shiftKey?"searchPrevious":"searchNext"),i.preventDefault())}}))};h(),e.e.on("changePlace",h).on(t.closeButton,"click",this.close).on(t.queryInput,"mousedown",(()=>{e.s.isFocused()&&(e.s.removeMarkers(),t.selInfo=e.s.save())})).on(t.replaceButton,"click",(i=>{t.findAndReplace(e.s.current()||e.editor.firstChild,t.queryInput.value),this.updateCounters(),i.preventDefault(),i.stopImmediatePropagation()})).on([t.nextButton,t.prevButton],"click",(function(i){e.e.fire(t.nextButton===this?"searchNext":"searchPrevious"),i.preventDefault(),i.stopImmediatePropagation()})).on(this.queryInput,"keydown",this.j.async.debounce((t=>{t.key===l.KEY_ENTER?(t.preventDefault(),t.stopImmediatePropagation(),e.e.fire("searchNext")&&this.close()):this.updateCounters()}),this.j.defaultTimeout)).on("beforeSetMode.search",(()=>{this.close()})).on("keydown.search mousedown.search",(()=>{this.selInfo&&(e.s.removeMarkers(),this.selInfo=null),this.isOpened&&(this.current=this.j.s.current(),this.updateCounters())})).on("searchNext.search searchPrevious.search",(()=>t.isOpened?t.findAndSelect(e.s.current()||e.editor.firstChild,t.queryInput.value,"searchNext"===e.e.current):t.open())).on("search.search",((t,i=!0)=>{e.execCommand("search",t,i)})).on("toggleSticky.search",this.calcSticky),e.registerCommand("search",{exec:(i,o,s=!0)=>(t.findAndSelect(e.s.current()||e.editor.firstChild,o||"",s),!1)}).registerCommand("openSearchDialog",{exec:()=>(t.open(),!1),hotkeys:["ctrl+f","cmd+f"]}).registerCommand("openReplaceDialog",{exec:()=>(e.o.readonly||t.open(!0),!1),hotkeys:["ctrl+h","cmd+h"]})}}beforeDestruct(e){var t;_.i.safeRemove(this.searchBox),null===(t=e.events)||void 0===t||t.off(".search")}calcSticky(e){if(this.isOpened)if(this.searchBox.classList.toggle("jodit-search_sticky",e),e){const e=(0,d.position)(this.j.toolbarContainer);(0,d.css)(this.searchBox,{top:e.top+e.height,left:e.left+e.width})}else(0,d.css)(this.searchBox,{top:null,left:null})}}(0,n.gn)([m.autobind],Ue.prototype,"calcSticky",null);class $e extends I.S{constructor(){super(...arguments),this.proxyEventsList=["click","mousedown","touchstart","mouseup","touchend"]}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){const{j:t}=this;let i,o=e.target;for(;void 0===i&&o&&o!==t.editor;)i=t.e.fire((0,d.camelCase)(e.type+"_"+o.nodeName.toLowerCase()),o,e),o=o.parentElement;"click"===e.type&&void 0===i&&o===t.editor&&t.e.fire(e.type+"Editor",o,e)}onOutsideClick(e){const t=e.target;_.i.up(t,(e=>e===this.j.editor))||$.u1.closestElement(t,$.GI)||this.j.e.fire("outsideClick",e)}}(0,n.gn)([m.autobind],$e.prototype,"onStartSelection",null),(0,n.gn)([(0,m.watch)("ow:click")],$e.prototype,"onOutsideClick",null),r.D.prototype.width="auto",r.D.prototype.minWidth=200,r.D.prototype.maxWidth="100%",r.D.prototype.allowResizeX=!1,r.D.prototype.allowResizeY=!0,r.D.prototype.height="auto",r.D.prototype.minHeight=200,r.D.prototype.maxHeight="auto",r.D.prototype.saveHeightInStorage=!1;let Ge=class extends I.S{constructor(){super(...arguments),this.isResized=!1,this.start={x:0,y:0,w:0,h:0},this.handle=this.j.c.div("jodit-editor__resize",$.JO.get("resize_handler"))}afterInit(e){const{height:t,width:i,allowResizeX:o}=e.o;let{allowResizeY:s}=e.o;"auto"===t&&"auto"!==i&&(s=!1),"auto"===t&&"auto"===i||!o&&!s||(e.statusbar.setMod("resize-handle",!0),e.e.on("toggleFullSize.resizeHandler",(()=>{this.handle.style.display=e.isFullSize?"none":"block"})).on(this.handle,"mousedown touchstart",this.onHandleResizeStart).on(e.ow,"mouseup touchend",this.onHandleResizeEnd),e.container.appendChild(this.handle))}onHandleResizeStart(e){this.isResized=!0,this.start.x=e.clientX,this.start.y=e.clientY,this.start.w=this.j.container.offsetWidth,this.start.h=this.j.container.offsetHeight,this.j.lock(),this.j.e.on(this.j.ow,"mousemove touchmove",this.onHandleResize),e.preventDefault()}onHandleResize(e){this.isResized&&(this.j.o.allowResizeY&&this.j.e.fire("setHeight",this.start.h+e.clientY-this.start.y),this.j.o.allowResizeX&&this.j.e.fire("setWidth",this.start.w+e.clientX-this.start.x),this.j.e.fire("resize"))}onHandleResizeEnd(){this.isResized&&(this.isResized=!1,this.j.e.off(this.j.ow,"mousemove touchmove",this.onHandleResize),this.j.unlock())}beforeDestruct(){_.i.safeRemove(this.handle),this.j.e.off(this.j.ow,"mouseup touchsend",this.onHandleResizeEnd)}};Ge.requires=["size"],Ge=(0,n.gn)([m.autobind],Ge);let Ke=class extends I.S{constructor(){super(...arguments),this.resizeWorkspaces=this.j.async.debounce(this.resizeWorkspaceImd,this.j.defaultTimeout,!0)}afterInit(e){e.e.on("setHeight.size",this.setHeight).on("setWidth.size",this.setWidth).on("afterInit.size changePlace.size",this.initialize,void 0,!0).on(e.ow,"load.size",this.resizeWorkspaces).on("afterInit.size resize.size afterUpdateToolbar.size scroll.size afterResize.size",this.resizeWorkspaces).on("toggleFullSize.size toggleToolbar.size",this.resizeWorkspaceImd),this.initialize()}initialize(){const{j:e}=this;if(e.o.inline)return;let{height:t}=e.o;if(e.o.saveHeightInStorage&&"auto"!==t){const i=e.storage.get("height");i&&(t=i)}(0,d.css)(e.editor,{minHeight:"100%"}),(0,d.css)(e.container,{minHeight:e.o.minHeight,maxHeight:e.o.maxHeight,minWidth:e.o.minWidth,maxWidth:e.o.maxWidth}),this.setHeight(t),this.setWidth(e.o.width)}setHeight(e){if((0,d.isNumber)(e)){const{minHeight:t,maxHeight:i}=this.j.o;(0,d.isNumber)(t)&&t>e&&(e=t),(0,d.isNumber)(i)&&e>i&&(e=i)}(0,d.css)(this.j.container,"height",e),this.j.o.saveHeightInStorage&&this.j.storage.set("height",e),this.resizeWorkspaceImd()}setWidth(e){if((0,d.isNumber)(e)){const{minWidth:t,maxWidth:i}=this.j.o;(0,d.isNumber)(t)&&t>e&&(e=t),(0,d.isNumber)(i)&&e>i&&(e=i)}(0,d.css)(this.j.container,"width",e),this.resizeWorkspaceImd()}getNotWorkHeight(){var e,t;return((null===(e=this.j.toolbarContainer)||void 0===e?void 0:e.offsetHeight)||0)+((null===(t=this.j.statusbar)||void 0===t?void 0:t.getHeight())||0)+2}resizeWorkspaceImd(){if(!this.j||this.j.isDestructed||!this.j.o||this.j.o.inline)return;if(!this.j.container||!this.j.container.parentNode)return;const e=((0,d.css)(this.j.container,"minHeight")||0)-this.getNotWorkHeight();if((0,d.isNumber)(e)&&e>0&&([this.j.workplace,this.j.iframe,this.j.editor].map((t=>{t&&(0,d.css)(t,"minHeight",e)})),this.j.e.fire("setMinHeight",e)),(0,d.isNumber)(this.j.o.maxHeight)){const e=this.j.o.maxHeight-this.getNotWorkHeight();[this.j.workplace,this.j.iframe,this.j.editor].map((t=>{t&&(0,d.css)(t,"maxHeight",e)})),this.j.e.fire("setMaxHeight",e)}this.j.container&&(0,d.css)(this.j.workplace,"height","auto"!==this.j.o.height||this.j.isFullSize?this.j.container.offsetHeight-this.getNotWorkHeight():"auto")}beforeDestruct(e){e.e.off(e.ow,"load.size",this.resizeWorkspaces).off(".size")}};(0,n.gn)([m.autobind],Ke.prototype,"resizeWorkspaceImd",null),Ke=(0,n.gn)([m.autobind],Ke),r.D.prototype.beautifyHTML=!l.IS_IE,r.D.prototype.sourceEditor="ace",r.D.prototype.sourceEditorNativeOptions={showGutter:!0,theme:"ace/theme/idle_fingers",mode:"ace/mode/html",wrap:!0,highlightActiveLine:!0},r.D.prototype.sourceEditorCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.12/ace.js"],r.D.prototype.beautifyHTMLCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.13.0/beautify.min.js","https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.13.0/beautify-html.min.js"],r.D.prototype.controls.source={mode:l.MODE_SPLIT,exec(e){e.toggleMode()},isActive:e=>e.getRealMode()===l.MODE_SOURCE,tooltip:"Change mode"};class Ye{constructor(e,t,i,o){this.jodit=e,this.container=t,this.toWYSIWYG=i,this.fromWYSIWYG=o,this.className="",this.isReady=!1}get j(){return this.jodit}onReady(){this.replaceUndoManager(),this.isReady=!0,this.j.e.fire(this,"ready")}onReadyAlways(e){var t;this.isReady?e():null===(t=this.j.events)||void 0===t||t.on(this,"ready",e)}}class Je extends Ye{constructor(){super(...arguments),this.autosize=this.j.async.debounce((()=>{this.instance.style.height="auto",this.instance.style.height=this.instance.scrollHeight+"px"}),this.j.defaultTimeout)}init(e){this.instance=e.c.element("textarea",{class:"jodit-source__mirror"}),this.container.appendChild(this.instance),e.e.on(this.instance,"mousedown keydown touchstart input",e.async.debounce(this.toWYSIWYG,e.defaultTimeout)).on("setMinHeight.source",(e=>{(0,d.css)(this.instance,"minHeight",e)})).on(this.instance,"change keydown mousedown touchstart input",this.autosize).on("afterSetMode.source",this.autosize).on(this.instance,"mousedown focus",(t=>{e.e.fire(t.type,t)})),this.autosize(),this.onReady()}destruct(){c.Dom.safeRemove(this.instance)}getValue(){return this.instance.value}setValue(e){this.instance.value=e}insertRaw(e){const t=this.getValue();if(0>this.getSelectionStart())this.setValue(t+e);else{const i=this.getSelectionStart(),o=this.getSelectionEnd();this.setValue(t.substring(0,i)+e+t.substring(o,t.length))}}getSelectionStart(){return this.instance.selectionStart}getSelectionEnd(){return this.instance.selectionEnd}setSelectionRange(e,t=e){this.instance.setSelectionRange(e,t)}focus(){this.instance.focus()}setPlaceHolder(e){this.instance.setAttribute("placeholder",e)}setReadOnly(e){e?this.instance.setAttribute("readonly","true"):this.instance.removeAttribute("readonly")}selectAll(){this.instance.select()}replaceUndoManager(){const{observer:e}=this.jodit;this.j.e.on(this.instance,"keydown",(t=>{if((t.ctrlKey||t.metaKey)&&"z"===t.key)return t.shiftKey?e.redo():e.undo(),this.setSelectionRange(this.getValue().length),!1}))}}class Xe extends Ye{constructor(){super(...arguments),this.className="jodit_ace_editor",this.proxyOnBlur=e=>{this.j.e.fire("blur",e)},this.proxyOnFocus=e=>{this.j.e.fire("focus",e)},this.proxyOnMouseDown=e=>{this.j.e.fire("mousedown",e)}}aceExists(){return void 0!==this.j.ow.ace}getLastColumnIndex(e){return this.instance.session.getLine(e).length}getLastColumnIndices(){const e=this.instance.session.getLength(),t=[];let i=0;for(let o=0;e>o;o++)i+=this.getLastColumnIndex(o),o>0&&(i+=1),t[o]=i;return t}getRowColumnIndices(e){const t=this.getLastColumnIndices();if(t[0]>=e)return{row:0,column:e};let i=1;for(let o=1;t.length>o;o++)e>t[o]&&(i=o+1);return{row:i,column:e-t[i-1]-1}}setSelectionRangeIndices(e,t){const i=this.getRowColumnIndices(e),o=this.getRowColumnIndices(t);this.instance.getSelection().setSelectionRange({start:i,end:o})}getIndexByRowColumn(e,t){return this.getLastColumnIndices()[e]-this.getLastColumnIndex(e)+t}init(e){const t=()=>{if(void 0!==this.instance||!this.aceExists())return;const t=this.j.c.div("jodit-source__mirror-fake");this.container.appendChild(t),this.instance=e.ow.ace.edit(t),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()!==l.MODE_WYSIWYG&&this.setValue(this.getValue());const i=this.j.async.debounce((()=>{e.isInDestruct||(this.instance.setOption("maxLines","auto"!==e.o.height?e.workplace.offsetHeight/this.instance.renderer.lineHeight:1/0),this.instance.resize())}),2*this.j.defaultTimeout);e.e.on("afterResize afterSetMode",i),i(),this.onReady()};e.e.on("afterSetMode",(()=>{e.getRealMode()!==l.MODE_SOURCE&&e.getMode()!==l.MODE_SPLIT||(this.fromWYSIWYG(),t())})),t(),this.aceExists()||(0,d.loadNext)(e,e.o.sourceEditorCDNUrlsJS).then((()=>{e.isInDestruct||t()}))}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=null===(e=this.j)||void 0===e?void 0:e.events)||void 0===t||t.off("aceInited.source")}setValue(e){if(!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){const t=this.j.e.fire("beautifyHTML",e);(0,d.isString)(t)&&(e=t)}this.instance.setValue(e),this.instance.clearSelection()}getValue(){return this.instance.getValue()}setReadOnly(e){this.instance.setReadOnly(e)}focus(){this.instance.focus()}getSelectionStart(){const e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.start.row,e.start.column)}getSelectionEnd(){const e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.end.row,e.end.column)}selectAll(){this.instance.selection.selectAll()}insertRaw(e){const 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(){const{observer: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()}})}}function Ze(e,t,i,o,s){let a;if((0,d.isFunction)(e))a=e(t);else switch(e){case"ace":if(!t.o.shadowRoot){a=new Xe(t,i,o,s);break}default:a=new Je(t,i,o,s)}return a.init(t),a.onReadyAlways((()=>{a.setReadOnly(t.o.readonly)})),a}var Qe=i(97);class et extends I.S{constructor(){super(...arguments),this.buttons=[{name:"source",group:"source"}],this.__lock=!1,this.__oldMirrorValue="",this.tempMarkerStart="{start-jodit-selection}",this.tempMarkerStartReg=/{start-jodit-selection}/g,this.tempMarkerEnd="{end-jodit-selection}",this.tempMarkerEndReg=/{end-jodit-selection}/g,this.getSelectionStart=()=>{var e,t;return null!==(t=null===(e=this.sourceEditor)||void 0===e?void 0:e.getSelectionStart())&&void 0!==t?t:0},this.getSelectionEnd=()=>{var e,t;return null!==(t=null===(e=this.sourceEditor)||void 0===e?void 0:e.getSelectionEnd())&&void 0!==t?t:0}}onInsertHTML(e){var t;if(!this.j.o.readonly&&!this.j.isEditorMode())return null===(t=this.sourceEditor)||void 0===t||t.insertRaw(e),this.toWYSIWYG(),!1}fromWYSIWYG(e=!1){if(!this.__lock||!0===e){this.__lock=!0;const e=this.j.getEditorValue(!1,Qe.P);e!==this.getMirrorValue()&&this.setMirrorValue(e),this.__lock=!1}}toWYSIWYG(){if(this.__lock)return;const e=this.getMirrorValue();e!==this.__oldMirrorValue&&(this.__lock=!0,this.j.setEditorValue(e),this.__lock=!1,this.__oldMirrorValue=e)}getNormalPosition(e,t){for(t=t.replace(/<(script|style|iframe)[^>]*>[^]*?<\/\1>/im,(e=>{let t="";for(let i=0;e.length>i;i+=1)t+=l.INVISIBLE_SPACE;return t}));e>0&&t[e]===l.INVISIBLE_SPACE;)e--;let i=e;for(;i>0;){if(i--,"<"===t[i]&&void 0!==t[i+1]&&t[i+1].match(/[\w/]+/i))return i;if(">"===t[i])return e}return e}clnInv(e){return e.replace(l.INVISIBLE_SPACE_REG_EXP(),"")}onSelectAll(e){var t;if("selectall"===e.toLowerCase()&&this.j.getRealMode()===l.MODE_SOURCE)return null===(t=this.sourceEditor)||void 0===t||t.selectAll(),!1}getMirrorValue(){var e;return(null===(e=this.sourceEditor)||void 0===e?void 0:e.getValue())||""}setMirrorValue(e){var t;null===(t=this.sourceEditor)||void 0===t||t.setValue(e)}setFocusToMirror(){var e;null===(e=this.sourceEditor)||void 0===e||e.focus()}saveSelection(){if(this.j.getRealMode()===l.MODE_WYSIWYG)this.j.s.save(),this.j.setEditorValue(),this.fromWYSIWYG(!0);else{if(this.j.o.editHTMLDocumentMode)return;const e=this.getMirrorValue();if(this.getSelectionStart()===this.getSelectionEnd()){const t=this.j.s.marker(!0),i=this.getNormalPosition(this.getSelectionStart(),this.getMirrorValue());this.setMirrorValue(e.substr(0,i)+this.clnInv(t.outerHTML)+e.substr(i))}else{const t=this.j.s.marker(!0),i=this.j.s.marker(!1),o=this.getNormalPosition(this.getSelectionStart(),e),s=this.getNormalPosition(this.getSelectionEnd(),e);this.setMirrorValue(e.substr(0,o)+this.clnInv(t.outerHTML)+e.substr(o,s-o)+this.clnInv(i.outerHTML)+e.substr(s))}this.toWYSIWYG()}}removeSelection(){if(this.j.getRealMode()===l.MODE_WYSIWYG)return this.__lock=!0,this.j.s.restore(),void(this.__lock=!1);let e=this.getMirrorValue(),t=0,i=0;try{if(e=e.replace(/<span[^>]+data-jodit-selection_marker=(["'])start\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerStart).replace(/<span[^>]+data-jodit-selection_marker=(["'])end\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerEnd),!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){const t=this.j.e.fire("beautifyHTML",e);(0,d.isString)(t)&&(e=t)}if(t=e.indexOf(this.tempMarkerStart),i=t,e=e.replace(this.tempMarkerStartReg,""),-1!==t){const t=e.indexOf(this.tempMarkerEnd);-1!==t&&(i=t)}e=e.replace(this.tempMarkerEndReg,"")}finally{e=e.replace(this.tempMarkerEndReg,"").replace(this.tempMarkerStartReg,"")}this.setMirrorValue(e),this.setMirrorSelectionRange(t,i),this.toWYSIWYG(),this.setFocusToMirror()}setMirrorSelectionRange(e,t){var i;null===(i=this.sourceEditor)||void 0===i||i.setSelectionRange(e,t)}onReadonlyReact(){var e;null===(e=this.sourceEditor)||void 0===e||e.setReadOnly(this.j.o.readonly)}afterInit(e){if(this.mirrorContainer=e.c.div("jodit-source"),e.workplace.appendChild(this.mirrorContainer),e.e.on("afterAddPlace changePlace afterInit",(()=>{e.workplace.appendChild(this.mirrorContainer)})),this.sourceEditor=Ze("area",e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG),this.onReadonlyReact(),e.e.on("placeholder.source",(e=>{var t;null===(t=this.sourceEditor)||void 0===t||t.setPlaceHolder(e)})).on("change.source",this.syncValueFromWYSIWYG).on("beautifyHTML",(e=>e)),e.o.beautifyHTML){const t=()=>{var t;const i=e.ow.html_beautify;return!(!i||e.isInDestruct||(null===(t=e.events)||void 0===t||t.off("beautifyHTML").on("beautifyHTML",(e=>i(e))),0))};t()||(0,d.loadNext)(e,e.o.beautifyHTMLCDNUrlsJS).then(t)}this.syncValueFromWYSIWYG(!0),this.initSourceEditor(e)}syncValueFromWYSIWYG(e=!1){const t=this.j;t.getMode()!==l.MODE_SPLIT&&t.getMode()!==l.MODE_SOURCE||this.fromWYSIWYG(e)}initSourceEditor(e){var t;if("area"!==e.o.sourceEditor){const t=Ze(e.o.sourceEditor,e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG);t.onReadyAlways((()=>{var i,o;null===(i=this.sourceEditor)||void 0===i||i.destruct(),this.sourceEditor=t,this.syncValueFromWYSIWYG(!0),null===(o=e.events)||void 0===o||o.fire("sourceEditorReady",e)}))}else null===(t=this.sourceEditor)||void 0===t||t.onReadyAlways((()=>{var t;this.syncValueFromWYSIWYG(!0),null===(t=e.events)||void 0===t||t.fire("sourceEditorReady",e)}))}beforeDestruct(){this.sourceEditor&&(this.sourceEditor.destruct(),delete this.sourceEditor),_.i.safeRemove(this.mirrorContainer)}}(0,n.gn)([(0,m.watch)(":insertHTML.source")],et.prototype,"onInsertHTML",null),(0,n.gn)([m.autobind],et.prototype,"fromWYSIWYG",null),(0,n.gn)([m.autobind],et.prototype,"toWYSIWYG",null),(0,n.gn)([m.autobind],et.prototype,"getNormalPosition",null),(0,n.gn)([(0,m.watch)(":beforeCommand.source")],et.prototype,"onSelectAll",null),(0,n.gn)([(0,m.watch)(":beforeSetMode.source")],et.prototype,"saveSelection",null),(0,n.gn)([(0,m.watch)(":afterSetMode.source")],et.prototype,"removeSelection",null),(0,n.gn)([m.autobind],et.prototype,"setMirrorSelectionRange",null),(0,n.gn)([(0,m.watch)(":readonly.source")],et.prototype,"onReadonlyReact",null),(0,n.gn)([m.autobind],et.prototype,"syncValueFromWYSIWYG",null),r.D.prototype.showCharsCounter=!0,r.D.prototype.countHTMLChars=!1,r.D.prototype.showWordsCounter=!0;class tt extends I.S{constructor(){super(...arguments),this.charCounter=null,this.wordCounter=null,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()},this.calc=this.j.async.throttle((()=>{const e=this.j.text;if(this.j.o.showCharsCounter&&this.charCounter){const t=this.j.o.countHTMLChars?this.j.value:e.replace((0,l.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,l.INVISIBLE_SPACE_REG_EXP)(),"").split((0,l.SPACE_REG_EXP)()).filter((e=>e.length)).length))}),this.j.defaultTimeout)}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(){_.i.safeRemove(this.charCounter),_.i.safeRemove(this.wordCounter),this.j.e.off("afterInit changePlace afterAddPlace",this.reInit),this.charCounter=null,this.wordCounter=null}}r.D.prototype.toolbarSticky=!0,r.D.prototype.toolbarDisableStickyForMobile=!0,r.D.prototype.toolbarStickyOffset=0;class it extends c.Plugin{constructor(){super(...arguments),this.isToolbarSticked=!1,this.createDummy=e=>{},this.addSticky=e=>{this.isToolbarSticked||(this.createDummy(e),this.j.container.classList.add("jodit_sticky"),this.isToolbarSticked=!0),(0,d.css)(e,{top:this.j.o.toolbarStickyOffset||null,width:this.j.container.offsetWidth-2})},this.removeSticky=e=>{this.isToolbarSticked&&((0,d.css)(e,{width:"",top:""}),this.j.container.classList.remove("jodit_sticky"),this.isToolbarSticked=!1)}}afterInit(e){e.e.on(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.onScroll).on("getStickyState.sticky",(()=>this.isToolbarSticked))}onScroll(){const{jodit:e}=this,t=e.ow.pageYOffset||e.od.documentElement&&e.od.documentElement.scrollTop||0,i=(0,d.offset)(e.container,e,e.od,!0),o=e.getMode()===l.MODE_WYSIWYG&&t+e.o.toolbarStickyOffset>i.top&&i.top+i.height>t+e.o.toolbarStickyOffset&&!(e.o.toolbarDisableStickyForMobile&&this.isMobile());if(e.o.toolbarSticky&&!0===e.o.toolbar&&this.isToolbarSticked!==o){const t=e.toolbarContainer;t&&(o?this.addSticky(t):this.removeSticky(t)),e.e.fire("toggleSticky",o)}}isMobile(){return this.j&&this.j.options&&this.j.container&&this.j.o.sizeSM>=this.j.container.offsetWidth}beforeDestruct(e){this.dummyBox&&c.Dom.safeRemove(this.dummyBox),e.e.off(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.onScroll).off(".sticky")}}(0,n.gn)([(0,m.throttle)()],it.prototype,"onScroll",null),r.D.prototype.usePopupForSpecialCharacters=!1,r.D.prototype.specialCharacters=["!",""","#","$","%","&","'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","<","=",">","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","€","‘","’","“","”","–","—","¡","¢","£","¤","¥","¦","§","¨","©","ª","«","»","¬","®","¯","°","²","³","´","µ","¶","·","¸","¹","º","¼","½","¾","¿","À","Á","Â","Ã","Ä","Å","Æ","Ç","È","É","Ê","Ë","Ì","Í","Î","Ï","Ð","Ñ","Ò","Ó","Ô","Õ","Ö","×","Ø","Ù","Ú","Û","Ü","Ý","Þ","ß","à","á","â","ã","ä","å","æ","ç","è","é","ê","ë","ì","í","î","ï","ð","ñ","ò","ó","ô","õ","ö","÷","ø","ù","ú","û","ü","ý","þ","ÿ","Œ","œ","Ŵ","Ŷ","ŵ","ŷ","‚","‛","„","…","™","►","•","→","⇒","⇔","♦","≈"],r.D.prototype.controls.symbol={icon:"omega",hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup(e,t,i,o){const s=e.e.fire("generateSpecialCharactersTable.symbols");if(s){if(e.o.usePopupForSpecialCharacters){const t=e.c.div();return t.classList.add("jodit-symbols"),t.appendChild(s),e.e.on(s,"close_dialog",o),t}{(0,x.bZ)(s,e.i18n("Select Special Character"),void 0,"jodit-symbols").bindDestruct(e);const t=s.querySelector("a");t&&t.focus()}}}};class ot extends c.Plugin{constructor(){super(...arguments),this.buttons=[{name:"symbol",group:"insert"}],this.countInRow=17}afterInit(e){e.e.on("generateSpecialCharactersTable.symbols",(()=>{const t=e.c.fromHTML('<div class="jodit-symbols__container">\n\t\t\t\t\t\t<div class="jodit-symbols__container_table">\n\t\t\t\t\t\t\t<table class="jodit-symbols__table"><tbody></tbody></table>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="jodit-symbols__container_preview">\n\t\t\t\t\t\t\t<div class="jodit-symbols__preview"></div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>'),i=t.querySelector(".jodit-symbols__preview"),o=t.querySelector("table").tBodies[0],s=[];for(let t=0;e.o.specialCharacters.length>t;){const i=e.c.element("tr");for(let o=0;this.countInRow>o&&e.o.specialCharacters.length>t;o+=1,t+=1){const a=e.c.element("td"),n=e.c.fromHTML(`<a\n\t\t\t\t\t\t\t\t\tdata-index="${t}"\n\t\t\t\t\t\t\t\t\tdata-index-j="${o}"\n\t\t\t\t\t\t\t\t\trole="option"\n\t\t\t\t\t\t\t\t\ttabindex="-1"\n\t\t\t\t\t\t\t>${e.o.specialCharacters[t]}</a>`);s.push(n),a.appendChild(n),i.appendChild(a)}o.appendChild(i)}const a=this;return e.e.on(s,"focus",(function(){i.innerHTML=this.innerHTML})).on(s,"mousedown",(function(t){c.Dom.isTag(this,"a")&&(e.s.focus(),e.s.insertHTML(this.innerHTML),e.e.fire(this,"close_dialog"),t&&t.preventDefault(),t&&t.stopImmediatePropagation())})).on(s,"mouseenter",(function(){c.Dom.isTag(this,"a")&&this.focus()})).on(s,"keydown",(t=>{const i=t.target;if(c.Dom.isTag(i,"a")){const o=parseInt((0,M.Lj)(i,"-index")||"0",10),n=parseInt((0,M.Lj)(i,"data-index-j")||"0",10);let r;switch(t.key){case l.KEY_UP:case l.KEY_DOWN:r=t.key===l.KEY_UP?o-a.countInRow:o+a.countInRow,void 0===s[r]&&(r=t.key===l.KEY_UP?Math.floor(s.length/a.countInRow)*a.countInRow+n:n,r>s.length-1&&(r-=a.countInRow)),s[r]&&s[r].focus();break;case l.KEY_RIGHT:case l.KEY_LEFT:r=t.key===l.KEY_LEFT?o-1:o+1,void 0===s[r]&&(r=t.key===l.KEY_LEFT?s.length-1:0),s[r]&&s[r].focus();break;case l.KEY_ENTER:e.e.fire(i,"mousedown"),t.stopImmediatePropagation(),t.preventDefault()}}})),t}))}beforeDestruct(e){e.e.off("generateSpecialCharactersTable.symbols")}}r.D.prototype.table={allowCellSelection:!0,selectionCellStyle:"border: 1px double #1e88e5 !important;",allowCellResize:!0,useExtraClassesOptions:!1},r.D.prototype.controls.table={data:{cols:10,rows:10,classList:{"table table-bordered":"Bootstrap Bordered","table table-striped":"Bootstrap Striped","table table-dark":"Bootstrap Dark"}},popup(e,t,i,o,s){const a=i.data&&i.data.rows?i.data.rows:10,n=i.data&&i.data.cols?i.data.cols:10,r=e.c.fromHTML('<form class="jodit-form jodit-form__inserter"><div class="jodit-form__table-creator-box"><div class="jodit-form__container"></div><div class="jodit-form__options">'+(()=>{if(!e.o.table.useExtraClassesOptions)return"";const t=[];if(i.data){const e=i.data.classList;Object.keys(e).forEach((i=>{t.push(`<label class="jodit_vertical_middle"><input class="jodit-checkbox" value="${i}" type="checkbox"/>${e[i]}</label>`)}))}return t.join("")})()+'</div></div><label class="jodit-form__center"><span>1</span> × <span>1</span></label></form>'),l=r.querySelectorAll("span")[0],c=r.querySelectorAll("span")[1],h=r.querySelector(".jodit-form__container"),u=r.querySelector(".jodit-form__options"),p=[],m=a*n;for(let t=0;m>t;t+=1)p[t]||p.push(e.c.element("span",{dataIndex:t}));if(e.e.on(h,"mousemove",((e,t)=>{const i=e.target;if(!_.i.isTag(i,"span"))return;const o=void 0===t||isNaN(t)?parseInt((0,M.Lj)(i,"-index")||"0",10):t||0,s=Math.ceil((o+1)/n),a=o%n+1;for(let e=0;p.length>e;e+=1)p[e].className=e%n+1>a||Math.ceil((e+1)/n)>s?"":"jodit_hovered";c.textContent=""+a,l.textContent=""+s})).on(h,"touchstart mousedown",(t=>{const i=t.target;if(t.preventDefault(),t.stopImmediatePropagation(),!_.i.isTag(i,"span"))return;const s=parseInt((0,M.Lj)(i,"-index")||"0",10),a=Math.ceil((s+1)/n),r=s%n+1,l=e.createInside,c=l.element("tbody"),h=l.element("table");h.appendChild(c),h.style.width="100%";let p,m,g=null;for(let e=1;a>=e;e+=1){p=l.element("tr");for(let e=1;r>=e;e+=1)m=l.element("td"),g||(g=m),(0,d.css)(m,"width",(100/r).toFixed(4)+"%"),m.appendChild(l.element("br")),p.appendChild(l.text("\n")),p.appendChild(l.text("\t")),p.appendChild(m);c.appendChild(l.text("\n")),c.appendChild(p)}const f=e.s.current();if(f&&e.s.isCollapsed()){const t=_.i.closest(f,_.i.isBlock,e.editor);t&&t!==e.editor&&!t.nodeName.match(/^TD|TH|TBODY|TABLE|THEADER|TFOOTER$/)&&e.s.setCursorAfter(t)}(0,d.$$)("input[type=checkbox]:checked",u).forEach((e=>{e.value.split(/[\s]+/).forEach((e=>{h.classList.add(e)}))})),e.s.insertNode(l.text("\n")),e.s.insertNode(h,!1),g&&(e.s.setCursorIn(g),(0,d.scrollIntoViewIfNeeded)(g,e.editor,e.ed)),o()})),s&&s.parentElement){for(let t=0;a>t;t+=1){const i=e.c.div();for(let e=0;n>e;e+=1)i.appendChild(p[t*n+e]);h.appendChild(i)}p[0]&&(p[0].className="hovered")}return r},tooltip:"Insert table"};const st="table_processor_observer-resize";class at extends c.Plugin{constructor(){super(...arguments),this.selectMode=!1,this.resizeDelta=0,this.createResizeHandle=()=>{this.resizeHandler||(this.resizeHandler=this.j.c.div("jodit-table-resizer"),this.j.e.on(this.resizeHandler,"mousedown.table touchstart.table",this.onHandleMouseDown).on(this.resizeHandler,"mouseenter.table",(()=>{this.j.async.clearTimeout(this.hideTimeout)})))},this.hideTimeout=0,this.drag=!1,this.minX=0,this.maxX=0,this.startX=0}get module(){return this.j.getInstance("Table",this.j.o)}get isRTL(){return"rtl"===this.j.o.direction}showResizeHandle(){this.j.async.clearTimeout(this.hideTimeout),this.j.workplace.appendChild(this.resizeHandler)}hideResizeHandle(){this.hideTimeout=this.j.async.setTimeout((()=>{c.Dom.safeRemove(this.resizeHandler)}),{timeout:this.j.defaultTimeout,label:"hideResizer"})}onHandleMouseDown(e){if(this.j.isLocked)return;this.drag=!0,this.j.e.on(this.j.ow,"mouseup.resize-cells touchend.resize-cells",this.onMouseUp).on(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.startX=e.clientX,this.j.lock(st),this.resizeHandler.classList.add("jodit-table-resizer_moved");let t,i=this.workTable.getBoundingClientRect();if(this.minX=0,this.maxX=1e6,null!=this.wholeTable)i=this.workTable.parentNode.getBoundingClientRect(),this.minX=i.left,this.maxX=this.minX+i.width;else{const e=c.Table.formalCoordinate(this.workTable,this.workCell,!0);c.Table.formalMatrix(this.workTable,((i,o,s)=>{e[1]===s&&(t=i.getBoundingClientRect(),this.minX=Math.max(t.left+l.NEARBY/2,this.minX)),e[1]+(this.isRTL?-1:1)===s&&(t=i.getBoundingClientRect(),this.maxX=Math.min(t.left+t.width-l.NEARBY/2,this.maxX))}))}return!1}onMouseMove(e){if(!this.drag)return;this.j.e.fire("closeAllPopups");let t=e.clientX;const i=(0,d.offset)(this.resizeHandler.parentNode||this.j.od.documentElement,this.j,this.j.od,!0);this.minX>t&&(t=this.minX),t>this.maxX&&(t=this.maxX),this.resizeDelta=t-this.startX+(this.j.o.iframe?i.left:0),this.resizeHandler.style.left=t-(this.j.o.iframe?0:i.left)+"px";const o=this.j.s.sel;o&&o.removeAllRanges()}onMouseUp(e){(this.selectMode||this.drag)&&(this.selectMode=!1,this.j.unlock()),this.resizeHandler&&this.drag&&(this.drag=!1,this.j.e.off(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.resizeHandler.classList.remove("jodit-table-resizer_moved"),this.startX!==e.clientX&&(null==this.wholeTable?this.resizeColumns():this.resizeTable()),this.j.setEditorValue(),this.j.s.focus())}resizeColumns(){const e=this.resizeDelta,t=[];c.Table.setColumnWidthByDelta(this.workTable,c.Table.formalCoordinate(this.workTable,this.workCell,!0)[1],e,!0,t);const i=(0,d.call)(this.isRTL?c.Dom.prev:c.Dom.next,this.workCell,c.Dom.isCell,this.workCell.parentNode);c.Table.setColumnWidthByDelta(this.workTable,c.Table.formalCoordinate(this.workTable,i)[1],-e,!1,t)}resizeTable(){const e=this.resizeDelta*(this.isRTL?-1:1),t=this.workTable.offsetWidth,i=(0,d.getContentWidth)(this.workTable.parentNode,this.j.ew),o=!this.wholeTable;if(this.isRTL?!o:o)this.workTable.style.width=(t+e)/i*100+"%";else{const o=this.isRTL?"marginRight":"marginLeft",s=parseInt(this.j.ew.getComputedStyle(this.workTable)[o]||"0",10);this.workTable.style.width=(t-e)/i*100+"%",this.workTable.style[o]=(s+e)/i*100+"%"}}setWorkCell(e,t=null){this.wholeTable=t,this.workCell=e,this.workTable=c.Dom.up(e,(e=>c.Dom.isTag(e,"table")),this.j.editor)}calcHandlePosition(e,t,i=0,o=0){const s=(0,d.offset)(t,this.j,this.j.ed);if(i>l.NEARBY&&s.width-l.NEARBY>i)return void this.hideResizeHandle();const a=(0,d.offset)(this.j.workplace,this.j,this.j.od,!0),n=(0,d.offset)(e,this.j,this.j.ed);if(this.resizeHandler.style.left=(i>l.NEARBY?s.left+s.width:s.left)-a.left+o+"px",Object.assign(this.resizeHandler.style,{height:n.height+"px",top:n.top-a.top+"px"}),this.showResizeHandle(),i>l.NEARBY){const e=(0,d.call)(this.isRTL?c.Dom.prev:c.Dom.next,t,c.Dom.isCell,t.parentNode);this.setWorkCell(t,!!e&&null)}else{const e=(0,d.call)(this.isRTL?c.Dom.next:c.Dom.prev,t,c.Dom.isCell,t.parentNode);this.setWorkCell(e||t,!e||null)}}afterInit(e){e.o.table.allowCellResize&&e.e.off(this.j.ow,".resize-cells").off(".resize-cells").on("change.resize-cells afterCommand.resize-cells afterSetMode.resize-cells",(()=>{(0,d.$$)("table",e.editor).forEach(this.observe)})).on(this.j.ow,"scroll.resize-cells",(()=>{if(!this.drag)return;const t=c.Dom.up(this.workCell,(e=>c.Dom.isTag(e,"table")),e.editor);if(t){const e=t.getBoundingClientRect();this.resizeHandler.style.top=e.top+"px"}})).on("beforeSetMode.resize-cells",(()=>{this.module.getAllSelectedCells().forEach((t=>{this.module.removeSelection(t),c.Table.normalizeTable(c.Dom.closest(t,"table",e.editor))}))}))}observe(e){(0,d.dataBind)(e,st)||((0,d.dataBind)(e,st,!0),this.j.e.on(e,"mouseleave.resize-cells",(e=>{this.resizeHandler&&this.resizeHandler!==e.relatedTarget&&this.hideResizeHandle()})).on(e,"mousemove.resize-cells touchmove.resize-cells",this.j.async.throttle((t=>{if(this.j.isLocked)return;const i=c.Dom.up(t.target,c.Dom.isCell,e);i&&this.calcHandlePosition(e,i,t.offsetX)}),{timeout:this.j.defaultTimeout})),this.createResizeHandle())}beforeDestruct(e){e.events&&(e.e.off(this.j.ow,".resize-cells"),e.e.off(".resize-cells"))}}(0,n.gn)([m.autobind],at.prototype,"onHandleMouseDown",null),(0,n.gn)([m.autobind],at.prototype,"onMouseMove",null),(0,n.gn)([m.autobind],at.prototype,"onMouseUp",null),(0,n.gn)([m.autobind],at.prototype,"observe",null);const nt="table_processor_observer",rt="onMoveTableSelectCell";class lt extends I.S{constructor(){super(...arguments),this.requires=["select"],this.selectedCell=null,this.isSelectionMode=!1}get module(){return this.j.getInstance("Table",this.j.o)}afterInit(e){e.o.table.allowCellSelection&&e.e.on("keydown.select-cells",(e=>{e.key===l.KEY_TAB&&this.unselectCells()})).on("beforeCommand.select-cells",this.onExecCommand).on("afterCommand.select-cells",this.onAfterCommand).on(["clickEditor","mousedownTd","mousedownTh","touchstartTd","touchstartTh"].map((e=>e+".select-cells")).join(" "),this.onStartSelection).on("clickTr clickTbody",(()=>{var e;const t=this.module.getAllSelectedCells().length;if(t)return t>1&&(null===(e=this.j.s.sel)||void 0===e||e.removeAllRanges()),!1}))}onStartSelection(e){if(this.j.o.readonly)return;if(this.unselectCells(),e===this.j.editor)return;const t=c.Dom.closest(e,"table",this.j.editor);return e&&t?(e.firstChild||e.appendChild(this.j.createInside.element("br")),this.isSelectionMode=!0,this.selectedCell=e,this.module.addSelection(e),this.j.e.on(t,"mousemove.select-cells touchmove.select-cells",this.j.async.throttle(this.onMove.bind(this,t),{label:rt,timeout:this.j.defaultTimeout/2})).on(t,"mouseup.select-cells touchend.select-cells",this.onStopSelection.bind(this,t)),!1):void 0}onOutsideClick(){this.selectedCell=null,this.onRemoveSelection()}onChange(){this.j.isLocked||this.isSelectionMode||this.onRemoveSelection()}onMove(e,t){var i;if(this.j.o.readonly)return;if(this.j.isLockedNotBy(nt))return;const o=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(!o)return;const s=c.Dom.closest(o,["td","th"],e);if(!s||!this.selectedCell)return;s!==this.selectedCell&&this.j.lock(nt),this.unselectCells();const a=c.Table.getSelectedBound(e,[s,this.selectedCell]),n=c.Table.formalMatrix(e);for(let e=a[0][0];a[1][0]>=e;e+=1)for(let t=a[0][1];a[1][1]>=t;t+=1)this.module.addSelection(n[e][t]);this.module.getAllSelectedCells().length>1&&(null===(i=this.j.s.sel)||void 0===i||i.removeAllRanges()),this.j.e.fire("hidePopup"),t.stopPropagation(),(()=>{const e=this.j.createInside.fromHTML('<div style="color:rgba(0,0,0,0.01);width:0;height:0"> </div>');s.appendChild(e),this.j.async.setTimeout((()=>{var t;null===(t=e.parentNode)||void 0===t||t.removeChild(e)}),this.j.defaultTimeout/5)})()}onRemoveSelection(e){var t;if(!(null===(t=null==e?void 0:e.buffer)||void 0===t?void 0:t.actionTrigger)&&!this.selectedCell&&this.module.getAllSelectedCells().length)return this.j.unlock(),this.unselectCells(),void this.j.e.fire("hidePopup","cells");this.isSelectionMode=!1,this.selectedCell=null}onStopSelection(e,t){if(!this.selectedCell)return;this.isSelectionMode=!1,this.j.unlock();const i=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(!i)return;const o=c.Dom.closest(i,["td","th"],e);if(!o)return;const s=c.Dom.closest(o,"table",e);if(s&&s!==e)return;const a=c.Table.getSelectedBound(e,[o,this.selectedCell]),n=c.Table.formalMatrix(e),r=n[a[1][0]][a[1][1]],l=n[a[0][0]][a[0][1]];this.j.e.fire("showPopup",e,(()=>{const e=(0,d.position)(l,this.j),t=(0,d.position)(r,this.j);return{left:e.left,top:e.top,width:t.left-e.left+t.width,height:t.top-e.top+t.height}}),"cells"),(0,d.$$)("table",this.j.editor).forEach((e=>{this.j.e.off(e,"mousemove.select-cells touchmove.select-cells mouseup.select-cells touchend.select-cells")})),this.j.async.clearTimeout(rt)}unselectCells(e){const t=this.module,i=t.getAllSelectedCells();i.length&&i.forEach((i=>{e&&e===i||t.removeSelection(i)}))}onExecCommand(e){if(/table(splitv|splitg|merge|empty|bin|binrow|bincolumn|addcolumn|addrow)/.test(e)){e=e.replace("table","");const t=this.module.getAllSelectedCells();if(t.length){const[i]=t;if(!i)return;const o=c.Dom.closest(i,"table",this.j.editor);if(!o)return;switch(e){case"splitv":c.Table.splitVertical(o,this.j);break;case"splitg":c.Table.splitHorizontal(o,this.j);break;case"merge":c.Table.mergeSelected(o,this.j);break;case"empty":t.forEach((e=>c.Dom.detach(e)));break;case"bin":c.Dom.safeRemove(o);break;case"binrow":new Set(t.map((e=>e.parentNode))).forEach((e=>{c.Table.removeRow(o,e.rowIndex)}));break;case"bincolumn":{const e=new Set;t.reduce(((t,i)=>(e.has(i.cellIndex)||(t.push(i),e.add(i.cellIndex)),t)),[]).forEach((e=>{c.Table.removeColumn(o,e.cellIndex)}))}break;case"addcolumnafter":case"addcolumnbefore":c.Table.appendColumn(o,i.cellIndex,"addcolumnafter"===e,this.j.createInside);break;case"addrowafter":case"addrowbefore":c.Table.appendRow(o,i.parentNode,"addrowafter"===e,this.j.createInside)}}return!1}}onAfterCommand(e){/^justify/.test(e)&&this.module.getAllSelectedCells().forEach((t=>je(e,t)))}beforeDestruct(e){this.onRemoveSelection(),e.e.off(".select-cells")}}function ct(e){e.e.off(".tableKeyboardNavigation").on("keydown.tableKeyboardNavigation",(t=>{let i,o;if(t.key!==l.KEY_TAB&&t.key!==l.KEY_LEFT&&t.key!==l.KEY_RIGHT&&t.key!==l.KEY_UP&&t.key!==l.KEY_DOWN)return;{if(i=e.s.current(),o=_.i.up(i,(e=>e&&e.nodeName&&/^td|th$/i.test(e.nodeName)),e.editor),!o)return;const s=e.s.range;if(t.key!==l.KEY_TAB&&i!==o&&((t.key===l.KEY_LEFT||t.key===l.KEY_UP)&&(_.i.prev(i,(e=>t.key===l.KEY_UP?_.i.isTag(e,"br"):!!e),o)||t.key!==l.KEY_UP&&_.i.isText(i)&&0!==s.startOffset)||(t.key===l.KEY_RIGHT||t.key===l.KEY_DOWN)&&(_.i.next(i,(e=>t.key===l.KEY_DOWN?_.i.isTag(e,"br"):!!e),o)||t.key!==l.KEY_DOWN&&_.i.isText(i)&&i.nodeValue&&s.startOffset!==i.nodeValue.length)))return}const s=_.i.up(o,(e=>e&&/^table$/i.test(e.nodeName)),e.editor);let a=null;switch(t.key){case l.KEY_TAB:case l.KEY_LEFT:{const i=t.key===l.KEY_LEFT||t.shiftKey?"prev":"next";a=_.i[i](o,(e=>e&&/^td|th$/i.test(e.tagName)),s),a||(c.Table.appendRow(s,"next"!==i&&s.querySelector("tr"),"next"===i,e.createInside),a=_.i[i](o,_.i.isCell,s));break}case l.KEY_UP:case l.KEY_DOWN:{let e=0,i=0;const n=c.Table.formalMatrix(s,((t,s,a)=>{t===o&&(e=s,i=a)}));t.key===l.KEY_UP?void 0!==n[e-1]&&(a=n[e-1][i]):void 0!==n[e+1]&&(a=n[e+1][i])}}if(a){if(a.firstChild)t.key===l.KEY_TAB?e.s.select(a,!0):e.s.setCursorIn(a,t.key===l.KEY_RIGHT||t.key===l.KEY_DOWN);else{const t=e.createInside.element("br");a.appendChild(t),e.s.setCursorBefore(t)}return!1}}))}function dt(e){e.registerButton({name:"table",group:"insert"})}(0,n.gn)([m.autobind],lt.prototype,"onStartSelection",null),(0,n.gn)([(0,m.watch)(":outsideClick")],lt.prototype,"onOutsideClick",null),(0,n.gn)([(0,m.watch)(":change")],lt.prototype,"onChange",null),(0,n.gn)([m.autobind],lt.prototype,"onRemoveSelection",null),(0,n.gn)([m.autobind],lt.prototype,"onStopSelection",null),(0,n.gn)([m.autobind],lt.prototype,"onExecCommand",null),(0,n.gn)([m.autobind],lt.prototype,"onAfterCommand",null);class ht extends I.S{constructor(){super(...arguments),this.isOpened=!1,this.delayShowTimeout=0}afterInit(e){this.container=e.c.div("jodit-tooltip"),(0,p.ZO)(this.j,ht).appendChild(this.container);let t=0;e.e.off(".tooltip").on("showTooltip.tooltip",((i,o)=>{e.async.clearTimeout(t),this.open(i,o)})).on("delayShowTooltip.tooltip",this.delayOpen).on("escape.tooltip",this.close).on("hideTooltip.tooltip change.tooltip scroll.tooltip changePlace.tooltip hidePopup.tooltip closeAllPopups.tooltip",(()=>{this.j.async.clearTimeout(this.delayShowTimeout),t=e.async.setTimeout(this.close,this.j.defaultTimeout)}))}delayOpen(e,t){const i=this.j.o.showTooltipDelay||this.j.defaultTimeout;this.j.async.clearTimeout(this.delayShowTimeout),this.delayShowTimeout=this.j.async.setTimeout((()=>this.open(e,t)),{timeout:i,label:"tooltip"})}open(e,t){this.container.classList.add("jodit-tooltip_visible"),this.container.innerHTML=t,this.isOpened=!0,this.setPosition(e)}setPosition(e){const t=e();(0,d.css)(this.container,{left:t.x,top:t.y})}close(){this.j.async.clearTimeout(this.delayShowTimeout),this.isOpened&&(this.isOpened=!1,this.container.classList.remove("jodit-tooltip_visible"),(0,d.css)(this.container,{left:-5e3}))}beforeDestruct(e){null==e||e.e.off(".tooltip"),this.close(),_.i.safeRemove(this.container)}}function ut(e){e.registerButton({name:"preview"}),e.registerCommand("preview",((t,i,o)=>{const s=e.getInstance("Dialog",{language:e.o.language,theme:e.o.theme}),a=e.c.div();(0,d.css)(a,{position:"relative",padding:16});const n=o||e.value||`<div style='position: absolute;left:50%;top:50%;transform: translateX(-50%) translateY(-50%);color:#ccc;'>${e.i18n("Empty")}</div>`;if(e.iframe){const t=e.create.element("iframe");(0,d.css)(t,{minWidth:800,minHeight:600,border:0}),a.appendChild(t),s.open(a,e.i18n("Preview"));const i=t.contentWindow;i&&(e.e.fire("generateDocumentStructure.iframe",i.document,e),i.document.body.innerHTML=n)}else{(0,d.css)(a,{minWidth:1024,minHeight:600,border:0}),s.setSize(1024,600).open(a,e.i18n("Preview"));const t=(i,o)=>{const s=e.c.div();s.innerHTML=o;for(let e=0;s.children.length>e;e+=1){const o=s.children[e],a=document.createElement(o.nodeName);for(let e=0;o.attributes.length>e;e+=1)(0,d.attr)(a,o.attributes[e].nodeName,o.attributes[e].nodeValue);0===o.children.length?"SCRIPT"===o.nodeName?o.textContent&&(a.textContent=o.textContent):o.innerHTML&&(a.innerHTML=o.innerHTML):t(a,o.innerHTML);try{i.appendChild(a)}catch(e){}}};t(a,n)}s.setModal(!0)}))}function pt(e){e.registerButton({name:"print"})}(0,n.gn)([m.autobind],ht.prototype,"delayOpen",null),(0,n.gn)([m.autobind],ht.prototype,"close",null),r.D.prototype.controls.preview={icon:"eye",command:"preview",mode:l.MODE_SOURCE+l.MODE_WYSIWYG,tooltip:"Preview"},r.D.prototype.controls.print={exec(e){const t=e.create.element("iframe");Object.assign(t.style,{position:"fixed",right:0,bottom:0,width:0,height:0,border:0}),(0,p.ZO)(e,r.D).appendChild(t);const i=()=>{e.e.off(e.ow,"mousemove",i),_.i.safeRemove(t)},o=t.contentWindow;o&&(e.e.on(o,"onbeforeunload onafterprint",i).on(e.ow,"mousemove",i),e.o.iframe?(e.e.fire("generateDocumentStructure.iframe",o.document,e),o.document.body.innerHTML=e.value):(o.document.write('<!doctype html><html lang="'+(0,d.defaultLanguage)(e.o.language)+'"><head><title></title></head><body>'+e.value+"</body></html>"),o.document.close()),o.focus(),o.print())},mode:l.MODE_SOURCE+l.MODE_WYSIWYG,tooltip:"Print"};var mt=i(52);r.D.prototype.showXPathInStatusbar=!0;class gt extends I.S{constructor(){super(...arguments),this.onContext=(e,t)=>(this.menu||(this.menu=new mt.x(this.j)),this.menu.show(t.clientX,t.clientY,[{icon:"bin",title:e===this.j.editor?"Clear":"Remove",exec:()=>{e!==this.j.editor?_.i.safeRemove(e):this.j.value="",this.j.setEditorValue()}},{icon:"select-all",title:"Select",exec:()=>{this.j.s.select(e)}}]),!1),this.onSelectPath=(e,t)=>{this.j.s.focus();const i=(0,d.attr)(t.target,"-path")||"/";if("/"===i)return this.j.execCommand("selectall"),!1;try{const e=this.j.ed.evaluate(i,this.j.editor,null,XPathResult.ANY_TYPE,null).iterateNext();if(e)return this.j.s.select(e),!1}catch(e){}return this.j.s.select(e),!1},this.tpl=(e,t,i,o)=>{const s=this.j.c.fromHTML(`<span class="jodit-xpath__item"><a role="button" data-path="${t}" title="${o}" tabindex="-1"'>${(0,d.trim)(i)}</a></span>`),a=s.firstChild;return this.j.e.on(a,"click",this.onSelectPath.bind(this,e)).on(a,"contextmenu",this.onContext.bind(this,e)),s},this.removeSelectAll=()=>{this.selectAllButton&&(this.selectAllButton.destruct(),delete this.selectAllButton)},this.appendSelectAll=()=>{this.removeSelectAll(),this.selectAllButton=(0,_e.g)(this.j,{name:"selectall",...this.j.o.controls.selectall}),this.selectAllButton.state.size="tiny",this.container&&this.container.insertBefore(this.selectAllButton.container,this.container.firstChild)},this.calcPathImd=()=>{if(this.isDestructed)return;const e=this.j.s.current();if(this.container&&(this.container.innerHTML=l.INVISIBLE_SPACE),e){let t,i,o;_.i.up(e,(e=>{e&&this.j.editor!==e&&!_.i.isText(e)&&(t=e.nodeName.toLowerCase(),i=(0,d.getXPathByElement)(e,this.j.editor).replace(/^\//,""),o=this.tpl(e,i,t,this.j.i18n("Select %s",t)),this.container&&this.container.insertBefore(o,this.container.firstChild))}),this.j.editor)}this.appendSelectAll()},this.calcPath=this.j.async.debounce(this.calcPathImd,2*this.j.defaultTimeout)}afterInit(){this.j.o.showXPathInStatusbar&&(this.container=this.j.c.div("jodit-xpath"),this.j.e.off(".xpath").on("mouseup.xpath change.xpath keydown.xpath changeSelection.xpath",this.calcPath).on("afterSetMode.xpath afterInit.xpath changePlace.xpath",(()=>{this.j.o.showXPathInStatusbar&&this.container&&(this.j.statusbar.append(this.container),this.j.getRealMode()===l.MODE_WYSIWYG?this.calcPath():(this.container&&(this.container.innerHTML=l.INVISIBLE_SPACE),this.appendSelectAll()))})),this.calcPath())}beforeDestruct(){this.j&&this.j.events&&this.j.e.off(".xpath"),this.removeSelectAll(),this.menu&&this.menu.destruct(),_.i.safeRemove(this.container),delete this.menu,delete this.container}}var ft=i(98),bt=i(99),vt=i(100),wt=i(101),yt=i(102),kt=i(103),Ct=i(104),xt=i(105),St=i(106),_t=i(107),Et=i(108),It=i(109),jt=i(110),Tt=i(111),zt=i(112),Lt=i(113),At=i(114),Mt=i(115),Dt=i(116),Bt=i(117),Pt=i(118),Rt=i(119),Ht=i(120),Nt=i(121),qt=i(122),Ft=i(123),Ot=i(124),Vt=i(125),Wt=i(126),Ut=i(127),$t=i(128),Gt=i(129),Kt=i(130),Yt=i(131),Jt=i(132),Xt=i(133),Zt=i(134),Qt=i(135),ei=i(136),ti=i(137),ii=i(138),oi=i(139),si=i(140),ai=i(141),ni=i(142),ri=i(143),li=i(144),ci=i(145),di=i(146),hi=i(147),ui=i(148),pi=i(149),mi=i(150),gi=i(151),fi=i(152),bi=i(153),vi=i(154),wi=i(155),yi=i(156),ki=i(157),Ci=i(158),xi=i(159),Si=i(160),_i=i(161),Ei=i(162),Ii=i(163),ji=i(164),Ti=i(165),zi=i(166),Li=i(167),Ai=i(168),Mi=i(169),Di=i(170),Bi=i(171),Pi=i(172),Ri=i(173),Hi=i(174),Ni=i(175),qi=i(176),Fi=i(177),Oi=i(178),Vi=i(179);Object.keys(l).forEach((e=>{Jodit[e]=l[e]}));const Wi=e=>"__esModule"!==e;Object.keys(s).filter(Wi).forEach((e=>{c.Icon.set(e.replace("_","-"),s[e])})),Object.keys(c).filter(Wi).forEach((e=>{Jodit.modules[e]=c[e]})),Object.keys(m).filter(Wi).forEach((e=>{Jodit.decorators[e]=m[e]})),["Confirm","Alert","Prompt"].forEach((e=>{Jodit[e]=c[e]})),Object.keys(o).filter(Wi).forEach((e=>{Jodit.plugins.add(e,o[e])})),Object.keys(y).filter(Wi).forEach((e=>{Jodit.lang[e]=y[e]})),r.D.prototype.controls.font.list={"andale mono,monospace":"Andale Mono","arial,helvetica,sans-serif":"Arial","arial black,sans-serif":"Arial Black","book antiqua,palatino,serif":"Book Antiqua","comic sans ms,sans-serif":"Comic Sans MS","courier new,courier,monospace":"Courier New","georgia,palatino,serif":"Georgia","helvetica,arial,sans-serif":"Helvetica","impact,sans-serif":"Impact","symbol,sans-serif":"Symbol","tahoma,arial,helvetica,sans-serif":"Tahoma","terminal,monaco,monospace":"Terminal","times new roman,times,serif":"Times New Roman","trebuchet ms,geneva,sans-serif":"Trebuchet MS","verdana,geneva,sans-serif":"Verdana",webdings:"Webdings","wingdings,zapf dingbats":"Wingdings"};class Ui extends Jodit{beforeInitHook(){return(0,d.appendScriptAsync)(this,this.basePath+"config.js")}async afterInitHook(){if("normal"!==await this.e.fire("checkReserve")){if(this.isInDestruct)return;const e=this.c.div("",'Trial version. Buy <a href="https://xdsoft.net/jodit/pro/">Jodit Pro</a>');(0,d.css)(e,{position:"absolute",color:"red",right:10,bottom:10}),this.addDisclaimer(e)}super.afterInitHook()}getVersion(){return"PRO "+this.version}}Ui.fatMode=!1;var $i=i(180);function Gi(){}Object.keys(a).forEach((e=>Ui.plugins.add(e,a[e])));const Ki=Ui},function(e,t,i){"use strict";i.d(t,{D:()=>s});var o=i(3);class s{constructor(){this.namespace="",this.safeMode=!1,this.safePluginsList=["about","enter","backspace"],this.iframe=!1,this.license="",this.preset="custom",this.presets={inline:{inline:!0,toolbar:!1,toolbarInline:!0,toolbarInlineForSelection:!0,showXPathInStatusbar:!1,showCharsCounter:!1,showWordsCounter:!1,showPlaceholder:!1}},this.ownerDocument="undefined"!=typeof document?document:null,this.ownerWindow="undefined"!=typeof window?window:null,this.shadowRoot=null,this.styleValues={},this.zIndex=0,this.readonly=!1,this.disabled=!1,this.activeButtonsInReadOnly=["source","fullsize","print","about","dots","selectall"],this.toolbarButtonSize="middle",this.allowTabNavigation=!1,this.inline=!1,this.theme="default",this.saveModeInStorage=!1,this.spellcheck=!0,this.editorCssClass=!1,this.style=!1,this.triggerChangeEvent=!0,this.direction="",this.language="auto",this.debugLanguage=!1,this.i18n=!1,this.tabIndex=-1,this.toolbar=!0,this.statusbar=!0,this.showTooltip=!0,this.showTooltipDelay=1e3,this.useNativeTooltip=!1,this.enter=o.PARAGRAPH,this.enterBlock="br"!==this.enter?this.enter:o.PARAGRAPH,this.defaultMode=o.MODE_WYSIWYG,this.useSplitMode=!1,this.colors={greyscale:["#000000","#434343","#666666","#999999","#B7B7B7","#CCCCCC","#D9D9D9","#EFEFEF","#F3F3F3","#FFFFFF"],palette:["#980000","#FF0000","#FF9900","#FFFF00","#00F0F0","#00FFFF","#4A86E8","#0000FF","#9900FF","#FF00FF"],full:["#E6B8AF","#F4CCCC","#FCE5CD","#FFF2CC","#D9EAD3","#D0E0E3","#C9DAF8","#CFE2F3","#D9D2E9","#EAD1DC","#DD7E6B","#EA9999","#F9CB9C","#FFE599","#B6D7A8","#A2C4C9","#A4C2F4","#9FC5E8","#B4A7D6","#D5A6BD","#CC4125","#E06666","#F6B26B","#FFD966","#93C47D","#76A5AF","#6D9EEB","#6FA8DC","#8E7CC3","#C27BA0","#A61C00","#CC0000","#E69138","#F1C232","#6AA84F","#45818E","#3C78D8","#3D85C6","#674EA7","#A64D79","#85200C","#990000","#B45F06","#BF9000","#38761D","#134F5C","#1155CC","#0B5394","#351C75","#733554","#5B0F00","#660000","#783F04","#7F6000","#274E13","#0C343D","#1C4587","#073763","#20124D","#4C1130"]},this.colorPickerDefaultTab="background",this.imageDefaultWidth=300,this.removeButtons=[],this.disablePlugins=[],this.extraPlugins=[],this.extraButtons=[],this.extraIcons={},this.createAttributes={},this.sizeLG=900,this.sizeMD=700,this.sizeSM=400,this.buttons=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},{group:"indent",buttons:[]},{group:"font",buttons:[]},{group:"color",buttons:[]},"---",{group:"script",buttons:[]},{group:"media",buttons:[]},"\n",{group:"state",buttons:[]},{group:"clipboard",buttons:[]},{group:"insert",buttons:[]},{group:"form",buttons:[]},"---",{group:"history",buttons:[]},{group:"search",buttons:[]},{group:"source",buttons:[]},{group:"other",buttons:[]},{group:"info",buttons:[]}],this.buttonsMD=["bold","italic","|","ul","ol","eraser","|","font","fontsize","brush","paragraph","align","---","image","table","|","link","\n","hr","copyformat","fullsize","---","undo","redo","|","dots"],this.buttonsSM=["bold","italic","|","ul","ol","eraser","|","fontsize","brush","paragraph","---","image","table","\n","link","|","align","|","undo","redo","|","copyformat","fullsize","---","dots"],this.buttonsXS=["bold","brush","paragraph","eraser","---","image","\n","align","undo","redo","---","dots"],this.events={},this.textIcons=!1,this.showBrowserColorPicker=!0}static get defaultOptions(){return s.__defaultOptions||(s.__defaultOptions=new s),s.__defaultOptions}}s.prototype.controls={}},(e,t,i)=>{"use strict";i.r(t),i.d(t,{INVISIBLE_SPACE:()=>o,NBSP_SPACE:()=>s,INVISIBLE_SPACE_REG_EXP:()=>a,INVISIBLE_SPACE_REG_EXP_END:()=>n,INVISIBLE_SPACE_REG_EXP_START:()=>r,SPACE_REG_EXP:()=>l,SPACE_REG_EXP_START:()=>c,SPACE_REG_EXP_END:()=>d,IS_BLOCK:()=>h,IS_INLINE:()=>u,INSEPARABLE_TAGS:()=>p,MAY_BE_REMOVED_WITH_KEY:()=>m,KEY_BACKSPACE:()=>g,KEY_TAB:()=>f,KEY_ENTER:()=>b,KEY_ESC:()=>v,KEY_LEFT:()=>w,KEY_UP:()=>y,KEY_RIGHT:()=>k,KEY_DOWN:()=>C,KEY_SPACE:()=>x,KEY_DELETE:()=>S,KEY_F3:()=>_,NEARBY:()=>E,ACCURACY:()=>I,COMMAND_KEYS:()=>j,BR:()=>T,PARAGRAPH:()=>z,MODE_WYSIWYG:()=>L,MODE_SOURCE:()=>A,MODE_SPLIT:()=>M,IS_IE:()=>D,TEXT_PLAIN:()=>B,TEXT_HTML:()=>P,MARKER_CLASS:()=>R,EMULATE_DBLCLICK_TIMEOUT:()=>H,INSERT_AS_HTML:()=>N,INSERT_CLEAR_HTML:()=>q,INSERT_AS_TEXT:()=>F,INSERT_ONLY_TEXT:()=>O,SAFE_COUNT_CHANGE_CALL:()=>V,IS_MAC:()=>W,KEY_ALIASES:()=>U,BASE_PATH:()=>$,TEMP_ATTR:()=>G});const o="\ufeff",s=" ",a=()=>/[\uFEFF]/g,n=()=>/[\uFEFF]+$/g,r=()=>/^[\uFEFF]+/g,l=()=>/[\s\n\t\r\uFEFF\u200b]+/g,c=()=>/^[\s\n\t\r\uFEFF\u200b]+/g,d=()=>/[\s\n\t\r\uFEFF\u200b]+$/g,h=/^(ARTICLE|SCRIPT|STYLE|OBJECT|FOOTER|HEADER|NAV|SECTION|IFRAME|JODIT|JODIT-MEDIA|PRE|DIV|P|LI|UL|OL|H[1-6]|BLOCKQUOTE|TR|TD|TH|TBODY|THEAD|TABLE|BODY|HTML|FIGCAPTION|FIGURE|DT|DD|DL|DFN)$/i,u=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,p=["img","br","video","iframe","script","input","textarea","hr","link","jodit","jodit-media"],m=RegExp(`^${p.join("|")}$`,"i"),g="Backspace",f="Tab",b="Enter",v="Escape",w="ArrowLeft",y="ArrowUp",k="ArrowRight",C="ArrowDown",x="Space",S="Delete",_="F3",E=5,I=10,j=[g,S,y,C,k,w,b,v,_,f],T="br",z="p",L=1,A=2,M=3,D="undefined"!=typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),B=D?"text":"text/plain",P=D?"html":"text/html",R="jodit-selection_marker",H=300,N="insert_as_html",q="insert_clear_html",F="insert_as_text",O="insert_only_text",V=10,W="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),U={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:W?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},$=(()=>{if("undefined"==typeof document)return"";const e=document.currentScript,t=e=>e.replace(/\/[^/]+.js$/,"/");if(e)return t(e.src);const i=document.querySelectorAll("script[src]");return i&&i.length?t(i[i.length-1].src):window.location.href})(),G="data-jodit-temp"},function(e,t,i){"use strict";i.r(t),i.d(t,{Ajax:()=>a.t,Alert:()=>l.bZ,Async:()=>s.e,CommitStyle:()=>E.RP,Component:()=>n.wA,Confirm:()=>l.I4,ContextMenu:()=>r.x,Create:()=>p,Dialog:()=>l.Vq,Dom:()=>c.i,EventEmitter:()=>o.vp,EventHandlersStore:()=>o.DG,FileBrowser:()=>b.f,Helpers:()=>h,Icon:()=>m.JO,ImageEditor:()=>v.v,Observer:()=>_,Plugin:()=>d.S,PluginSystem:()=>H.h,Popup:()=>m.GI,ProgressBar:()=>m.ko,Prompt:()=>l.NL,Response:()=>a.H,STATUSES:()=>n.n$,Select:()=>E.Ph,Snapshot:()=>k,StatusBar:()=>j,Table:()=>L,ToolbarButton:()=>B.h,ToolbarCollection:()=>D.n,ToolbarContent:()=>P.c,ToolbarEditorCollection:()=>M.N,UIBlock:()=>m.eC,UIButton:()=>m.y3,UICheckbox:()=>m.mA,UIElement:()=>m.u1,UIForm:()=>m.x4,UIGroup:()=>m.qe,UIInput:()=>m.u3,UIList:()=>m.bz,UISeparator:()=>m.lU,UITextArea:()=>m.GJ,Uploader:()=>R,View:()=>g.G,ViewComponent:()=>n.Hr,ViewWithToolbar:()=>f.C,defaultNameSpace:()=>o.rO,isFileBrowserFilesItem:()=>b.F,observable:()=>o.LO});var o=i(5),s=i(48),a=i(49),n=i(14),r=i(52),l=i(53),c=i(17),d=i(62),h=i(10),u=i(3);class p{constructor(e,t){this.document=e,this.createAttributes=t}get doc(){return(0,h.isFunction)(this.document)?this.document():this.document}element(e,t,i){const o=this.doc.createElement(e.toLowerCase());return this.applyCreateAttributes(o),t&&((0,h.isPlainObject)(t)?(0,h.attr)(o,t):i=t),i&&(0,h.asArray)(i).forEach((e=>o.appendChild((0,h.isString)(e)?this.fromHTML(e):e))),o}div(e,t,i){const o=this.element("div",t,i);return e&&(o.className=e),o}span(e,t,i){const o=this.element("span",t,i);return e&&(o.className=e),o}a(e,t,i){const o=this.element("a",t,i);return e&&(o.className=e),o}text(e){return this.doc.createTextNode(e)}fake(){return this.text(u.INVISIBLE_SPACE)}fragment(){return this.doc.createDocumentFragment()}fromHTML(e,t){const i=this.div();i.innerHTML=""+e;const o=i.firstChild===i.lastChild&&i.firstChild?i.firstChild:i;if(c.i.safeRemove(o),t){const e=(0,h.refs)(o);Object.keys(t).forEach((i=>{const o=e[i];o&&!1===t[i]&&c.i.hide(o)}))}return o}applyCreateAttributes(e){if(this.createAttributes){const t=this.createAttributes;if(t&&t[e.tagName.toLowerCase()]){const i=t[e.tagName.toLowerCase()];(0,h.isFunction)(i)?i(e):(0,h.isPlainObject)(i)&&(0,h.attr)(e,i)}}}}var m=i(37),g=i(55),f=i(54),b=i(63),v=i(67),w=i(27),y=i(2);class k extends n.Hr{constructor(){super(...arguments),this.isBlocked=!1}className(){return"Snapshot"}static equal(e,t){return e.html===t.html&&JSON.stringify(e.range)===JSON.stringify(t.range)}static countNodesBeforeInParent(e){if(!e.parentNode)return 0;const t=e.parentNode.childNodes;let i,o=0,s=null;for(i=0;t.length>i;i+=1){if(!s||c.i.isText(t[i])&&""===t[i].textContent||c.i.isText(s)&&c.i.isText(t[i])||(o+=1),t[i]===e)return o;s=t[i]}return 0}static strokeOffset(e,t){for(;c.i.isText(e);)c.i.isText(e=e.previousSibling)&&null!=e.textContent&&(t+=e.textContent.length);return t}calcHierarchyLadder(e){const t=[];if(!e||!e.parentNode||!c.i.isOrContains(this.j.editor,e))return[];for(;e&&e!==this.j.editor;)e&&t.push(k.countNodesBeforeInParent(e)),e=e.parentNode;return t.reverse()}getElementByLadder(e){let t,i=this.j.editor;for(t=0;i&&e.length>t;t+=1)i=i.childNodes[e[t]];return i}make(){const e={html:"",range:{startContainer:[],startOffset:0,endContainer:[],endOffset:0}};e.html=this.j.getNativeEditorValue();const t=this.j.s.sel;if(t&&t.rangeCount){const i=t.getRangeAt(0),o=this.calcHierarchyLadder(i.startContainer),s=this.calcHierarchyLadder(i.endContainer);let a=k.strokeOffset(i.startContainer,i.startOffset),n=k.strokeOffset(i.endContainer,i.endOffset);o.length||i.startContainer===this.j.editor||(a=0),s.length||i.endContainer===this.j.editor||(n=0),e.range={startContainer:o,startOffset:a,endContainer:s,endOffset:n}}return e}restore(e){this.isBlocked=!0;const t=this.storeScrollState();this.j.getNativeEditorValue()!==e.html&&this.j.setEditorValue(e.html),this.restoreOnlySelection(e),this.restoreScrollState(t),this.isBlocked=!1}storeScrollState(){return[this.j.ow.scrollY,this.j.editor.scrollTop]}restoreScrollState(e){const{j:t}=this,{ow:i}=t;i.scrollTo(i.scrollX,e[0]),t.editor.scrollTop=e[1]}restoreOnlySelection(e){try{if(e.range){const t=this.j.ed.createRange();t.setStart(this.getElementByLadder(e.range.startContainer),e.range.startOffset),t.setEnd(this.getElementByLadder(e.range.endContainer),e.range.endOffset),this.j.s.selectRange(t)}}catch(e){this.j.editor.lastChild&&this.j.s.setCursorAfter(this.j.editor.lastChild)}}destruct(){this.isBlocked=!1,super.destruct()}}class C{constructor(e){this.size=e,this.commands=[],this.stackPosition=-1}get length(){return this.commands.length}clearRedo(){this.commands.length=this.stackPosition+1}clear(){this.commands.length=0,this.stackPosition=-1}push(e){this.clearRedo(),this.commands.push(e),this.stackPosition+=1,this.commands.length>this.size&&(this.commands.shift(),this.stackPosition-=1)}replace(e){this.commands[this.stackPosition]=e}current(){return this.commands[this.stackPosition]}undo(){return!!this.canUndo()&&(this.commands[this.stackPosition]&&this.commands[this.stackPosition].undo(),this.stackPosition-=1,!0)}redo(){return!!this.canRedo()&&(this.stackPosition+=1,this.commands[this.stackPosition]&&this.commands[this.stackPosition].redo(),!0)}canUndo(){return this.stackPosition>=0}canRedo(){return this.commands.length-1>this.stackPosition}}class x{constructor(e,t,i,o){this.oldValue=e,this.newValue=t,this.observer=i,this.tick=o}undo(){this.observer.snapshot.restore(this.oldValue)}redo(){this.observer.snapshot.restore(this.newValue)}}var S=i(19);y.D.prototype.observer={maxHistoryLength:1/0,timeout:100};class _ extends n.Hr{constructor(e){super(e),this.stack=new C(this.j.o.observer.maxHistoryLength),this.snapshot=new k(this.j),this.updateTick=0,e.e.on("afterAddPlace.observer",(()=>{this.isInDestruct||(this.startValue=this.snapshot.make(),e.events.on("internalChange",(()=>{this.startValue=this.snapshot.make()})).on(e.editor,["changeSelection","selectionstart","selectionchange","mousedown","mouseup","keydown","keyup"].map((e=>e+".observer")).join(" "),(()=>{this.startValue.html===this.j.getNativeEditorValue()&&(this.startValue=this.snapshot.make())})).on(this,"change.observer",this.onChange))}))}className(){return"Observer"}get startValue(){return this.__startValue}set startValue(e){this.__startValue=e}upTick(){this.updateTick+=1}onChange(){this.snapshot.isBlocked||this.updateStack()}updateStack(e=!1){const t=this.snapshot.make();if(!k.equal(t,this.startValue)){const i=new x(this.startValue,t,this,this.updateTick);if(e){const e=this.stack.current();e&&this.updateTick===e.tick&&this.stack.replace(i)}else this.stack.push(i);this.startValue=t,this.fireChangeStack()}}redo(){this.stack.redo()&&(this.startValue=this.snapshot.make(),this.fireChangeStack())}undo(){this.stack.undo()&&(this.startValue=this.snapshot.make(),this.fireChangeStack())}clear(){this.startValue=this.snapshot.make(),this.stack.clear(),this.fireChangeStack()}replaceSnapshot(){this.updateStack(!0)}fireChangeStack(){var e;this.j&&!this.j.isInDestruct&&(null===(e=this.j.events)||void 0===e||e.fire("changeStack"))}destruct(){this.j.events&&this.j.e.off(".observer"),this.snapshot.destruct(),super.destruct()}}(0,w.gn)([(0,S.debounce)()],_.prototype,"onChange",null);var E=i(18),I=i(39);class j extends n.Hr{constructor(e,t){super(e),this.target=t,this.mods={},this.container=e.c.div("jodit-status-bar"),t.appendChild(this.container),this.hide()}className(){return"StatusBar"}hide(){this.container.classList.add("jodit_hidden")}show(){this.container.classList.remove("jodit_hidden")}get isShown(){return!this.container.classList.contains("jodit_hidden")}setMod(e,t){return I.$.setMod.call(this,e,t),this}getMod(e){return I.$.getMod.call(this,e)}getHeight(){var e,t;return null!==(t=null===(e=this.container)||void 0===e?void 0:e.offsetHeight)&&void 0!==t?t:0}findEmpty(e=!1){var t;const i=null===(t=this.container)||void 0===t?void 0:t.querySelectorAll(".jodit-status-bar__item"+(e?".jodit-status-bar__item-right":""));if(i)for(let e=0;i.length>e;e+=1)if(!i[e].innerHTML.trim().length)return i[e]}append(e,t=!1){var i;const o=this.findEmpty(t)||this.j.c.div("jodit-status-bar__item");t&&o.classList.add("jodit-status-bar__item-right"),o.appendChild(e),null===(i=this.container)||void 0===i||i.appendChild(o),this.j.o.statusbar&&this.show(),this.j.e.fire("resize")}destruct(){this.setStatus(n.n$.beforeDestruct),c.i.safeRemove(this.container),super.destruct()}}var T=i(15);const z=new WeakMap;class L extends n.Hr{constructor(){super(...arguments),this.selected=new Set}className(){return"Table"}recalculateStyles(){const e=(0,T.ZO)(this.j,L,"style",!0),t=[];this.selected.forEach((e=>{const i=(0,h.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();const t=c.i.closest(e,"table",this.j.editor);if(t){const i=L.selectedByTable.get(t)||new Set;i.add(e),L.selectedByTable.set(t,i)}}removeSelection(e){this.selected.delete(e),this.recalculateStyles();const t=c.i.closest(e,"table",this.j.editor);if(t){const i=L.selectedByTable.get(t);i&&(i.delete(e),i.size||L.selectedByTable.delete(t))}}getAllSelectedCells(){return(0,h.toArray)(this.selected)}static getSelectedCellsByTable(e){const t=L.selectedByTable.get(e);return t?(0,h.toArray)(t):[]}destruct(){return this.selected.clear(),super.destruct()}static getRowsCount(e){return e.rows.length}static getColumnsCount(e){return L.formalMatrix(e).reduce(((e,t)=>Math.max(e,t.length)),0)}static formalMatrix(e,t){const i=[[]],o=(0,h.toArray)(e.rows),s=(e,o)=>{void 0===i[o]&&(i[o]=[]);const s=e.colSpan,a=e.rowSpan;let n,r,l=0;for(;i[o][l];)l+=1;for(r=0;a>r;r+=1)for(n=0;s>n;n+=1){if(void 0===i[o+r]&&(i[o+r]=[]),t&&!1===t(e,o+r,l+n,s,a))return!1;i[o+r][l+n]=e}};for(let e=0;o.length>e;e+=1){const t=(0,h.toArray)(o[e].cells);for(let o=0;t.length>o;o+=1)if(!1===s(t[o],e))return i}return i}static formalCoordinate(e,t,i=!1){let o=0,s=0,a=1,n=1;return L.formalMatrix(e,((e,r,l,c,d)=>{if(t===e)return o=r,s=l,a=c||1,n=d||1,i&&(s+=(c||1)-1,o+=(d||1)-1),!1})),[o,s,a,n]}static appendRow(e,t,i,o){var s;let a;if(t)a=t.cloneNode(!0),(0,h.$$)("td,th",t).forEach((e=>{const t=(0,h.attr)(e,"rowspan");if(t&&parseInt(t,10)>1){const i=parseInt(t,10)-1;(0,h.attr)(e,"rowspan",i>1?i:null)}})),(0,h.$$)("td,th",a).forEach((e=>{e.innerHTML=""}));else{const t=L.getColumnsCount(e);a=o.element("tr");for(let e=0;t>e;e+=1)a.appendChild(o.element("td"))}i&&t&&t.nextSibling?t.parentNode&&t.parentNode.insertBefore(a,t.nextSibling):!i&&t?t.parentNode&&t.parentNode.insertBefore(a,t):((null===(s=e.getElementsByTagName("tbody"))||void 0===s?void 0:s[0])||e).appendChild(a)}static removeRow(e,t){const i=L.formalMatrix(e);let o;const s=e.rows[t];i[t].forEach(((a,n)=>{if(o=!1,0>t-1||i[t-1][n]!==a)if(i[t+1]&&i[t+1][n]===a){if(a.parentNode===s&&a.parentNode.nextSibling){o=!0;let s=n+1;for(;i[t+1][s]===a;)s+=1;const r=c.i.next(a.parentNode,(e=>c.i.isTag(e,"tr")),e);r&&(i[t+1][s]?r.insertBefore(a,i[t+1][s]):r.appendChild(a))}}else c.i.safeRemove(a);else o=!0;if(o&&(a.parentNode===s||a!==i[t][n-1])){const e=a.rowSpan;(0,h.attr)(a,"rowspan",e-1>1?e-1:null)}})),c.i.safeRemove(s)}static appendColumn(e,t,i,o){const s=L.formalMatrix(e);let a;for((void 0===t||0>t)&&(t=L.getColumnsCount(e)-1),a=0;s.length>a;a+=1){const e=o.element("td"),n=s[a][t];let r=!1;i?(s[a]&&n&&t+1>=s[a].length||n!==s[a][t+1])&&(n.nextSibling?c.i.before(n.nextSibling,e):n.parentNode&&n.parentNode.appendChild(e),r=!0):(0>t-1||s[a][t]!==s[a][t-1]&&s[a][t].parentNode)&&(c.i.before(s[a][t],e),r=!0),r||(0,h.attr)(s[a][t],"colspan",parseInt((0,h.attr)(s[a][t],"colspan")||"1",10)+1)}}static removeColumn(e,t){const i=L.formalMatrix(e);let o;i.forEach(((e,s)=>{const a=e[t];if(o=!1,0>t-1||i[s][t-1]!==a?e.length>t+1&&i[s][t+1]===a?o=!0:c.i.safeRemove(a):o=!0,o&&(0>s-1||a!==i[s-1][t])){const e=a.colSpan;(0,h.attr)(a,"colspan",e-1>1?""+(e-1):null)}}))}static getSelectedBound(e,t){const i=[[1/0,1/0],[0,0]],o=L.formalMatrix(e);let s,a,n;for(s=0;o.length>s;s+=1)for(a=0;o[s]&&o[s].length>a;a+=1)t.includes(o[s][a])&&(i[0][0]=Math.min(s,i[0][0]),i[0][1]=Math.min(a,i[0][1]),i[1][0]=Math.max(s,i[1][0]),i[1][1]=Math.max(a,i[1][1]));for(s=i[0][0];i[1][0]>=s;s+=1)for(n=1,a=i[0][1];i[1][1]>=a;a+=1){for(;o[s]&&o[s][a-n]&&o[s][a]===o[s][a-n];)i[0][1]=Math.min(a-n,i[0][1]),i[1][1]=Math.max(a-n,i[1][1]),n+=1;for(n=1;o[s]&&o[s][a+n]&&o[s][a]===o[s][a+n];)i[0][1]=Math.min(a+n,i[0][1]),i[1][1]=Math.max(a+n,i[1][1]),n+=1;for(n=1;o[s-n]&&o[s][a]===o[s-n][a];)i[0][0]=Math.min(s-n,i[0][0]),i[1][0]=Math.max(s-n,i[1][0]),n+=1;for(n=1;o[s+n]&&o[s][a]===o[s+n][a];)i[0][0]=Math.min(s+n,i[0][0]),i[1][0]=Math.max(s+n,i[1][0]),n+=1}return i}static normalizeTable(e){let t,i,o,s;const a=[],n=L.formalMatrix(e);for(i=0;n[0].length>i;i+=1){for(o=1e6,s=!1,t=0;n.length>t;t+=1)if(void 0!==n[t][i]){if(2>n[t][i].colSpan){s=!0;break}o=Math.min(o,n[t][i].colSpan)}if(!s)for(t=0;n.length>t;t+=1)void 0!==n[t][i]&&L.mark(n[t][i],"colspan",n[t][i].colSpan-o+1,a)}for(t=0;n.length>t;t+=1){for(o=1e6,s=!1,i=0;n[t].length>i;i+=1)if(void 0!==n[t][i]){if(2>n[t][i].rowSpan){s=!0;break}o=Math.min(o,n[t][i].rowSpan)}if(!s)for(i=0;n[t].length>i;i+=1)void 0!==n[t][i]&&L.mark(n[t][i],"rowspan",n[t][i].rowSpan-o+1,a)}for(t=0;n.length>t;t+=1)for(i=0;n[t].length>i;i+=1)void 0!==n[t][i]&&(n[t][i].hasAttribute("rowspan")&&1===n[t][i].rowSpan&&(0,h.attr)(n[t][i],"rowspan",null),n[t][i].hasAttribute("colspan")&&1===n[t][i].colSpan&&(0,h.attr)(n[t][i],"colspan",null),n[t][i].hasAttribute("class")&&!(0,h.attr)(n[t][i],"class")&&(0,h.attr)(n[t][i],"class",null));L.unmark(a)}static mergeSelected(e,t){const i=[],o=L.getSelectedBound(e,L.getSelectedCellsByTable(e));let s,a=0,n=null,r=0,l=0,d=0;const p=new Set,m=[];o&&(o[0][0]-o[1][0]||o[0][1]-o[1][1])&&(L.formalMatrix(e,((e,c,u,g,f)=>{if(!(o[0][0]>c||c>o[1][0]||o[0][1]>u||u>o[1][1])){if(s=e,p.has(s))return;p.add(s),c===o[0][0]&&s.style.width&&(a+=s.offsetWidth),""!==(0,h.trim)(e.innerHTML.replace(/<br(\/)?>/g,""))&&i.push(e.innerHTML),g>1&&(l+=g-1),f>1&&(d+=f-1),n?(L.mark(s,"remove",1,m),A(t).removeSelection(s)):(n=e,r=u)}})),l=o[1][1]-o[0][1]+1,d=o[1][0]-o[0][0]+1,n&&(l>1&&L.mark(n,"colspan",l,m),d>1&&L.mark(n,"rowspan",d,m),a&&(L.mark(n,"width",(a/e.offsetWidth*100).toFixed(u.ACCURACY)+"%",m),r&&L.setColumnWidthByDelta(e,r,0,!0,m)),n.innerHTML=i.join("<br/>"),A(t).addSelection(n),p.delete(n),L.unmark(m),L.normalizeTable(e),(0,h.toArray)(e.rows).forEach(((e,t)=>{e.cells.length||c.i.safeRemove(e)}))))}static splitHorizontal(e,t){let i,o,s,a,n;const r=[];L.getSelectedCellsByTable(e).forEach((l=>{o=t.createInside.element("td"),o.appendChild(t.createInside.element("br")),s=t.createInside.element("tr"),i=L.formalCoordinate(e,l),2>l.rowSpan?(L.formalMatrix(e,((e,t,o)=>{i[0]===t&&i[1]!==o&&e!==l&&L.mark(e,"rowspan",e.rowSpan+1,r)})),c.i.after(c.i.closest(l,"tr",e),s),s.appendChild(o)):(L.mark(l,"rowspan",l.rowSpan-1,r),L.formalMatrix(e,((t,o,s)=>{o>i[0]&&i[0]+l.rowSpan>o&&i[1]>s&&t.parentNode.rowIndex===o&&(n=t),o>i[0]&&t===l&&(a=e.rows[o])})),n?c.i.after(n,o):a.insertBefore(o,a.firstChild)),l.colSpan>1&&L.mark(o,"colspan",l.colSpan,r),L.unmark(r),A(t).removeSelection(l)})),this.normalizeTable(e)}static splitVertical(e,t){let i,o,s;const a=[];L.getSelectedCellsByTable(e).forEach((n=>{i=L.formalCoordinate(e,n),2>n.colSpan?L.formalMatrix(e,((e,t,o)=>{i[1]===o&&i[0]!==t&&e!==n&&L.mark(e,"colspan",e.colSpan+1,a)})):L.mark(n,"colspan",n.colSpan-1,a),o=t.createInside.element("td"),o.appendChild(t.createInside.element("br")),n.rowSpan>1&&L.mark(o,"rowspan",n.rowSpan,a);const r=n.offsetWidth;c.i.after(n,o),s=r/e.offsetWidth/2,L.mark(n,"width",(100*s).toFixed(u.ACCURACY)+"%",a),L.mark(o,"width",(100*s).toFixed(u.ACCURACY)+"%",a),L.unmark(a),A(t).removeSelection(n)})),L.normalizeTable(e)}static setColumnWidthByDelta(e,t,i,o,s){const a=L.formalMatrix(e);let n=0;for(let o=0;a.length>o;o+=1){const r=a[o][t];if(1>=r.colSpan||1>=a.length){L.mark(r,"width",((r.offsetWidth+i)/e.offsetWidth*100).toFixed(u.ACCURACY)+"%",s),n=o;break}}for(let e=n+1;a.length>e;e+=1)L.mark(a[e][t],"width",null,s);o||L.unmark(s)}static mark(e,t,i,o){var s;o.push(e);const a=null!==(s=z.get(e))&&void 0!==s?s:{};a[t]=void 0===i?1:i,z.set(e,a)}static unmark(e){e.forEach((e=>{const t=z.get(e);t&&(Object.keys(t).forEach((i=>{const o=t[i];switch(i){case"remove":c.i.safeRemove(e);break;case"rowspan":(0,h.attr)(e,"rowspan",(0,h.isNumber)(o)&&o>1?o:null);break;case"colspan":(0,h.attr)(e,"colspan",(0,h.isNumber)(o)&&o>1?o:null);break;case"width":null==o?(e.style.removeProperty("width"),(0,h.attr)(e,"style")||(0,h.attr)(e,"style",null)):e.style.width=""+o}delete t[i]})),z.delete(e))}))}}L.selectedByTable=new WeakMap,(0,w.gn)([(0,S.debounce)()],L.prototype,"recalculateStyles",null);const A=e=>e.getInstance("Table",e.o);var M=i(59),D=i(58),B=i(60),P=i(61);y.D.prototype.enableDragAndDropFileToEditor=!0,y.D.prototype.uploader={url:"",insertImageAsBase64URI:!1,imagesExtensions:["jpg","png","jpeg","gif"],headers:null,data:null,filesVariableName(e){return`files[${e}]`},withCredentials:!1,pathVariableName:"path",format:"json",method:"POST",prepareData(e){return e},isSuccess(e){return e.success},getMessage(e){return void 0!==e.data.messages&&(0,h.isArray)(e.data.messages)?e.data.messages.join(" "):""},process(e){return e.data},error(e){this.j.e.fire("errorMessage",e.message,"error",4e3)},defaultHandlerSuccess(e){const t=this.j||this;(0,h.isJoditObject)(t)&&e.files&&e.files.length&&e.files.forEach(((i,o)=>{const[s,a]=e.isImages&&e.isImages[o]?["img","src"]:["a","href"],n=t.createInside.element(s);n.setAttribute(a,e.baseurl+i),"a"===s&&(n.textContent=e.baseurl+i),"img"===s?t.s.insertImage(n,null,t.o.imageDefaultWidth):t.s.insertNode(n)}))},defaultHandlerError(e){this.j.e.fire("errorMessage",e.message)},contentType(e){return(void 0===this.j.ow.FormData||"string"==typeof e)&&"application/x-www-form-urlencoded; charset=UTF-8"}};class R extends n.Hr{constructor(e,t){super(e),this.path="",this.source="default",this.ajaxInstances=[],this.options=(0,h.ConfigProto)(t||{},(0,h.ConfigProto)(y.D.defaultOptions.uploader,(0,h.isJoditObject)(e)?e.o.uploader:{}))}className(){return"Uploader"}static dataURItoBlob(e){const t=atob(e.split(",")[1]),i=e.split(",")[0].split(":")[1].split(";")[0],o=new ArrayBuffer(t.length),s=new Uint8Array(o);for(let e=0;t.length>e;e+=1)s[e]=t.charCodeAt(e);return new Blob([s],{type:i})}get o(){return this.options}buildData(e){if(this.o.buildData&&"function"==typeof this.o.buildData)return this.o.buildData.call(this,e);const t=this.j.ow.FormData;if(void 0!==t){if(e instanceof t)return e;if((0,h.isString)(e))return e;const i=new t;return Object.keys(e).forEach((t=>{i.append(t,e[t])})),i}return e}send(e,t){const i=this.buildData(e),o=e=>{const i=new a.t(this.j,{xhr:()=>{const e=new XMLHttpRequest;return void 0!==this.j.ow.FormData&&e.upload?(this.j.progressbar.show().progress(10),e.upload.addEventListener("progress",(e=>{if(e.lengthComputable){let t=e.loaded/e.total;t*=100,this.j.progressbar.show().progress(t),100>t||this.j.progressbar.hide()}}),!1)):this.j.progressbar.hide(),e},method:this.o.method||"POST",data:e,url:(0,h.isFunction)(this.o.url)?this.o.url(e):this.o.url,headers:this.o.headers,queryBuild:this.o.queryBuild,contentType:this.o.contentType.call(this,e),dataType:this.o.format||"json",withCredentials:this.o.withCredentials||!1});this.ajaxInstances.push(i);const o=()=>{const e=this.ajaxInstances.indexOf(i);-1!==e&&this.ajaxInstances.splice(e,1)};return i.send().then((e=>e.json())).then((e=>{o(),t.call(this,e)})).catch((e=>{o(),this.o.error.call(this,e)}))};return i instanceof Promise?i.then(o).catch((e=>{this.o.error.call(this,e)})):o(i)}sendFiles(e,t,i,o){if(!e)return Promise.reject((0,h.error)("Need files"));const s=this;let a=(0,h.toArray)(e);if(!a.length)return Promise.reject((0,h.error)("Need files"));const n=[];if(this.o.insertImageAsBase64URI){let e,i;for(i=0;a.length>i;i+=1)if(e=a[i],e&&e.type){const o=e.type.match(/\/([a-z0-9]+)/i),r=o[1]?o[1].toLowerCase():"";if(this.o.imagesExtensions.includes(r)){const o=new FileReader;n.push(new Promise(((i,a)=>{o.onerror=a,o.onloadend=()=>{const e={baseurl:"",files:[o.result],isImages:[!0]};"function"==typeof(t||s.options.defaultHandlerSuccess)&&(t||s.options.defaultHandlerSuccess).call(s,e),i(e)},o.readAsDataURL(e)}))),a[i]=null}}}if(a=a.filter((e=>e)),a.length){const e=new FormData;let r;e.append(this.o.pathVariableName,s.path),e.append("source",s.source);for(let t=0;a.length>t;t+=1)if(r=a[t],r){const i=r.type.match(/\/([a-z0-9]+)/i),o=i&&i[1]?i[1].toLowerCase():"";let s=a[t].name||(""+Math.random()).replace(".","");if(o){let e=o;["jpeg","jpg"].includes(e)&&(e="jpeg|jpg"),RegExp(".("+e+")$","i").test(s)||(s+="."+o)}e.append(this.o.filesVariableName(t),a[t],s)}o&&o(e),s.o.data&&(0,h.isPlainObject)(s.o.data)&&Object.keys(s.o.data).forEach((t=>{e.append(t,s.o.data[t])})),s.o.prepareData.call(this,e),n.push(s.send(e,(e=>{if(this.o.isSuccess.call(s,e))"function"==typeof(t||s.o.defaultHandlerSuccess)&&(t||s.options.defaultHandlerSuccess).call(s,s.o.process.call(s,e));else if((0,h.isFunction)(i||s.o.defaultHandlerError))return void(i||s.options.defaultHandlerError).call(s,(0,h.error)(s.o.getMessage.call(s,e)))})).then((()=>{this.j.events&&this.j.e.fire("filesWereUploaded")})))}return Promise.all(n)}setPath(e){this.path=e}setSource(e){this.source=e}bind(e,t,i){const o=this,s=e=>{let o,s,n;const r=e.clipboardData,l=e=>{s&&(e.append("extension",n),e.append("mimetype",s.type))};if(!u.IS_IE&&a(r))return this.sendFiles(r.files,t,i),!1;if(r&&r.items&&r.items.length){const a=r.items;for(o=0;a.length>o;o+=1)if("file"===a[o].kind&&"image/png"===a[o].type){if(s=a[o].getAsFile(),s){const e=s.type.match(/\/([a-z0-9]+)/i);n=e[1]?e[1].toLowerCase():"",this.sendFiles([s],t,i,l)}e.preventDefault();break}}};this.j&&this.j.editor!==e?o.j.e.on(e,"paste",s):o.j.e.on("beforePaste",s);const a=e=>!(!e||!e.files||0===e.files.length);o.j.e.on(e,"dragend dragover dragenter dragleave drop",(e=>{e.preventDefault()})).on(e,"dragover",(t=>{a(t.dataTransfer)&&(e.classList.contains("jodit_draghover")||e.classList.add("jodit_draghover"),t.preventDefault())})).on(e,"dragend",(t=>{a(t.dataTransfer)&&(e.classList.contains("jodit_draghover")&&e.classList.remove("jodit_draghover"),t.preventDefault())})).on(e,"drop",(o=>{e.classList.remove("jodit_draghover"),a(o.dataTransfer)&&(o.preventDefault(),o.stopImmediatePropagation(),this.sendFiles(o.dataTransfer.files,t,i))}));const n=e.querySelector("input[type=file]");n&&o.j.e.on(n,"change",(function(){o.sendFiles(this.files,t,i).then((()=>{n.value="",/safari/i.test(navigator.userAgent)||(n.type="",n.type="file")}))}))}uploadRemoteImage(e,t,i){const o=this;o.send({action:"fileUploadRemote",url:e},(e=>{if(o.o.isSuccess.call(o,e))"function"==typeof t?t.call(o,this.o.process.call(this,e)):this.o.defaultHandlerSuccess.call(o,this.o.process.call(this,e));else if("function"==typeof(i||o.o.defaultHandlerError))return void(i||this.o.defaultHandlerError).call(o,(0,h.error)(o.o.getMessage.call(this,e)))}))}destruct(){this.setStatus(n.n$.beforeDestruct),this.ajaxInstances.forEach((e=>{try{e.destruct()}catch(e){}})),super.destruct()}}var H=i(16)},function(e,t,i){"use strict";i.d(t,{vp:()=>c,DG:()=>s,rO:()=>o,LO:()=>m});const o="JoditEventDefaultNamespace";class s{constructor(){this.__store={}}get(e,t){if(void 0!==this.__store[t])return this.__store[t][e]}indexOf(e,t,i){const o=this.get(e,t);if(o)for(let e=0;o.length>e;e+=1)if(o[e].originalCallback===i)return e;return!1}namespaces(e=!1){const t=Object.keys(this.__store);return e?t.filter((e=>e!==o)):t}events(e){return this.__store[e]?Object.keys(this.__store[e]):[]}set(e,t,i,o=!1){void 0===this.__store[t]&&(this.__store[t]={}),void 0===this.__store[t][e]&&(this.__store[t][e]=[]),o?this.__store[t][e].unshift(i):this.__store[t][e].push(i)}clear(){this.__store={}}}var a=i(7),n=i(8),r=i(9),l=i(6);class c{constructor(e){this.mutedEvents=new Set,this.__key="__JoditEventEmitterNamespaces",this.doc=document,this.prepareEvent=e=>{e.cancelBubble||(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}))},this.currents=[],this.__stopped=[],this.isDestructed=!1,e&&(this.doc=e),this.__key+=(new Date).getTime()}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){e.split(/[\s,]+/).forEach((e=>{const i=e.split(".");t.call(this,i[0],i[1]||o)}))}getStore(e){if(!e)throw(0,l.v)("Need subject");if(void 0===e[this.__key]){const t=new s;Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,value:t})}return e[this.__key]}clearStore(e){void 0!==e[this.__key]&&delete e[this.__key]}triggerNativeEvent(e,t){const i=this.doc.createEvent("HTMLEvents");"string"==typeof t?i.initEvent(t,!0,!0):(i.initEvent(t.type,t.bubbles,t.cancelable),["screenX","screenY","clientX","clientY","target","srcElement","currentTarget","timeStamp","which","keyCode"].forEach((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,o=!1){const s=(0,a.H)(e)?this:e,c=(0,a.H)(t)?t:e;let d=i;void 0===d&&(0,n.m)(t)&&(d=t);const h=this.getStore(s);if(!(0,a.H)(c)||""===c)throw(0,l.v)("Need events names");if(!(0,n.m)(d))throw(0,l.v)("Need event handler");if((0,r.k)(s))return s.forEach((e=>{this.on(e,c,d,o)})),this;const u=(0,n.m)(s.addEventListener),p=this;let m=function(e,...t){if(!p.isMuted(e))return d&&d.call(this,...t)};return u&&(m=function(e){if(!p.isMuted(e.type))return p.prepareEvent(e),d&&!1===d.call(this,e)?(e.preventDefault(),e.stopImmediatePropagation(),!1):void 0}),this.eachEvent(c,((e,t)=>{if(""===e)throw(0,l.v)("Need event name");if(!1===h.indexOf(e,t,d)&&(h.set(e,t,{event:e,originalCallback:d,syntheticCallback:m},o),u)){const t=!!["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"].includes(e)&&{passive:!0};s.addEventListener(e,m,t)}})),this}one(e,t,i,o=!1){const s=(0,a.H)(e)?this:e,r=(0,a.H)(t)?t:e;let l=i;void 0===l&&(0,n.m)(t)&&(l=t);const c=(...e)=>(this.off(s,r,c),l(...e));return this.on(s,r,c,o),this}off(e,t,i){const s=(0,a.H)(e)?this:e,r=(0,a.H)(t)?t:e,l=this.getStore(s);let c=i;if(!(0,a.H)(r)||!r)return l.namespaces().forEach((e=>{this.off(s,"."+e)})),this.clearStore(s),this;void 0===c&&(0,n.m)(t)&&(c=t);const d=(0,n.m)(s.removeEventListener),h=e=>{d&&s.removeEventListener(e.event,e.syntheticCallback,!1)},u=(e,t)=>{if(""!==e){const i=l.get(e,t);if(i&&i.length)if((0,n.m)(c)){const o=l.indexOf(e,t,c);!1!==o&&(h(i[o]),i.splice(o,1))}else i.forEach(h),i.length=0}else l.events(t).forEach((e=>{""!==e&&u(e,t)}))};return this.eachEvent(r,((e,t)=>{t===o?l.namespaces().forEach((t=>{u(e,t)})):u(e,t)})),this}stopPropagation(e,t){const i=(0,a.H)(e)?this:e,s=(0,a.H)(e)?e:t;if("string"!=typeof s)throw(0,l.v)("Need event names");const n=this.getStore(i);this.eachEvent(s,((e,t)=>{const s=n.get(e,t);s&&this.__stopped.push(s),t===o&&n.namespaces(!0).forEach((t=>this.stopPropagation(i,e+"."+t)))}))}removeStop(e){if(e){const 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 s,r;const c=(0,a.H)(e)?this:e,d=(0,a.H)(e)?e:t,h=(0,a.H)(e)?[t,...i]:i,u=(0,n.m)(c.dispatchEvent);if(!u&&!(0,a.H)(d))throw(0,l.v)("Need events names");const p=this.getStore(c);return!(0,a.H)(d)&&u?this.triggerNativeEvent(c,t):this.eachEvent(d,((e,t)=>{if(u)this.triggerNativeEvent(c,e);else{const i=p.get(e,t);if(i)try{[...i].every((t=>!this.isStopped(i)&&(this.currents.push(e),r=t.syntheticCallback.call(c,e,...h),this.currents.pop(),void 0!==r&&(s=r),!0)))}finally{this.removeStop(i)}t!==o||u||p.namespaces().filter((e=>e!==t)).forEach((t=>{const i=this.fire.call(this,c,e+"."+t,...h);void 0!==i&&(s=i)}))}})),s}destruct(){this.isDestructed&&(this.isDestructed=!0,this.off(this),this.getStore(this).clear(),delete this[this.__key])}}var d=i(10),h=i(19);const u=Symbol("observable-object");function p(e){return void 0!==e[u]}function m(e){if(p(e))return e;const t={},i={},o=(t,s)=>(0,d.isArray)(t)?(t.map((e=>o(e,s))),e):(i[t]||(i[t]=[]),i[t].push(s),e),s=(o,...a)=>{if((0,d.isArray)(o))o.map((e=>s(e,...a)));else try{!t[o]&&i[o]&&(t[o]=!0,i[o].forEach((t=>t.call(e,...a))))}finally{t[o]=!1}},a=(t,i=[])=>{const n={};p(t)||(Object.defineProperty(t,u,{enumerable:!1,value:!0}),Object.keys(t).forEach((o=>{const r=o,l=i.concat(r).filter((e=>e.length));n[r]=t[r];const c=(0,h.getPropertyDescriptor)(t,r);Object.defineProperty(t,r,{set(t){var i;const o=n[r];if(!(0,d.isFastEqual)(n[r],t)){s(["beforeChange","beforeChange."+l.join(".")],r,t),(0,d.isPlainObject)(t)&&a(t,l),c&&c.set?c.set.call(e,t):n[r]=t;const h=[];s(["change",...l.reduce(((e,t)=>(h.push(t),e.push("change."+h.join(".")),e)),[])],l.join("."),o,(null===(i=t)||void 0===i?void 0:i.valueOf)?t.valueOf():t)}},get:()=>c&&c.get?c.get.call(e):n[r],enumerable:!0,configurable:!0}),(0,d.isPlainObject)(n[r])&&a(n[r],l)})),Object.defineProperty(e,"on",{value:o}))};return a(e),e}},(e,t,i)=>{"use strict";function o(e){return new TypeError(e)}i.d(t,{v:()=>o})},(e,t,i)=>{"use strict";function o(e){return"string"==typeof e}i.d(t,{H:()=>o})},(e,t,i)=>{"use strict";function o(e){return"function"==typeof e}i.d(t,{m:()=>o})},(e,t,i)=>{"use strict";function o(e){return Array.isArray(e)}i.d(t,{k:()=>o})},(e,t,i)=>{"use strict";i.r(t),i.d(t,{$$:()=>o.$$,CamelCaseToKebabCase:()=>d.gP,ConfigFlatten:()=>o.tp,ConfigProto:()=>o.II,LimitedStack:()=>o.lI,appendScript:()=>o.uR,appendScriptAsync:()=>o.JL,appendStyleAsync:()=>o.Nf,applyStyles:()=>u,asArray:()=>s._2,assert:()=>o.hu,attr:()=>o.Lj,browser:()=>o.Xh,buildQuery:()=>o.XP,call:()=>o.RE,callPromise:()=>o.C6,camelCase:()=>d.eV,cleanFromWord:()=>g,clearCenterAlign:()=>o.bI,clearTimeout:()=>n,cns:()=>o.H5,colorToHex:()=>l.h,completeUrl:()=>o.WO,convertMediaUrlToVideoEmbed:()=>o.UU,css:()=>o.iv,cssPath:()=>o.iN,ctrlKey:()=>o.kT,dataBind:()=>o.qI,defaultLanguage:()=>o.X9,error:()=>o.vU,fastClone:()=>o.V8,get:()=>o.U2,getClassName:()=>o.gj,getContentWidth:()=>C,getScrollParent:()=>x,getXPathByElement:()=>o.BR,hasBrowserColorPicker:()=>r.EO,hasContainer:()=>r.Zt,htmlspecialchars:()=>f,humanSizeToBytes:()=>o.wx,i18n:()=>d.ag,inView:()=>o.jF,innerWidth:()=>S,isArray:()=>r.kJ,isAtom:()=>o.J8,isBoolean:()=>r.jn,isDestructable:()=>r.Z$,isEqual:()=>r.Xy,isFastEqual:()=>r.LP,isFunction:()=>r.mf,isHTML:()=>r.FP,isHtmlFromWord:()=>r.I4,isInitable:()=>r.Gu,isInt:()=>r.GN,isJoditObject:()=>r.Zu,isLicense:()=>r.A1,isNativeFunction:()=>r.QC,isNumber:()=>r.hj,isNumeric:()=>r.kE,isPlainObject:()=>r.PO,isPromise:()=>r.tI,isString:()=>r.HD,isURL:()=>r.PX,isValidName:()=>r.r1,isViewObject:()=>r.f2,isVoid:()=>r.nj,isWindow:()=>r.FJ,kebabCase:()=>d.GL,keepNames:()=>o.kc,keys:()=>o.am,loadImage:()=>o.po,loadNext:()=>o.wY,loadNextStyle:()=>o.GX,markAsAtomic:()=>o.XT,markDeprecated:()=>o.Q8,markOwner:()=>o.MN,memorizeExec:()=>o.u3,nl2br:()=>y,normalizeColor:()=>k.ut,normalizeCssValue:()=>k.Zh,normalizeKeyAliases:()=>k.T2,normalizeLicense:()=>k.Pd,normalizeNode:()=>k.Tz,normalizePath:()=>k.AH,normalizeRelativePath:()=>k.Jf,normalizeSize:()=>k.aC,normalizeUrl:()=>k.D5,offset:()=>_,parseQuery:()=>o.mB,position:()=>E,refs:()=>o.xL,reset:()=>o.mc,resolveElement:()=>o.W2,safeHTML:()=>w,scrollIntoViewIfNeeded:()=>o.n5,set:()=>o.t8,setTimeout:()=>a,size:()=>I,splitArray:()=>s.C1,sprintf:()=>d.gB,stringify:()=>d.Pz,stripTags:()=>v,toArray:()=>s.qo,trim:()=>d.fy,trimInv:()=>d.as,ucfirst:()=>d.Ps,val:()=>o.P0});var o=i(11),s=i(35);function a(e,t,...i){return t?window.setTimeout(e,t,...i):(e.call(null,...i),0)}function n(e){window.clearTimeout(e)}var r=i(20),l=i(33),c=i(17),d=i(29);function h(e){return e.replace(/mso-[a-z-]+:[\s]*[^;]+;/gi,"").replace(/mso-[a-z-]+:[\s]*[^";]+$/gi,"").replace(/border[a-z-]*:[\s]*[^;]+;/gi,"").replace(/([0-9.]+)(pt|cm)/gi,((e,t,i)=>{switch(i.toLowerCase()){case"pt":return(1.328*parseFloat(t)).toFixed(0)+"px";case"cm":return(.02645833*parseFloat(t)).toFixed(0)+"px"}return e}))}function u(e){if(-1===e.indexOf("<html "))return e;e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,e.lastIndexOf("</html>")+7);const t=document.createElement("iframe");t.style.display="none",document.body.appendChild(t);let i="",s=[],a=[];try{const n=t.contentDocument||(t.contentWindow?t.contentWindow.document:null);if(n){n.open(),n.write(e),n.close(),n.styleSheets.length&&(a=n.styleSheets[n.styleSheets.length-1].cssRules);for(let e=0;a.length>e;e+=1)""!==a[e].selectorText&&(s=(0,o.$$)(a[e].selectorText,n.body),s.forEach((t=>{t.style.cssText=h(a[e].style.cssText+";"+t.style.cssText)})));c.i.each(n.body,(e=>{if(c.i.isElement(e)){const t=e,i=t.style.cssText;i&&(t.style.cssText=h(i)),t.hasAttribute("lang")&&t.removeAttribute("lang")}})),i=n.firstChild?(0,d.fy)(n.body.innerHTML):""}}catch(e){}finally{c.i.safeRemove(t)}return i&&(e=i),(0,d.fy)(e.replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,""))}var p=i(30),m=i(36);function g(e){-1!==e.indexOf("<html ")&&(e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,e.lastIndexOf("</html>")+7));let t="";try{const i=document.createElement("div");i.innerHTML=e;const o=[];i.firstChild&&c.i.all(i,(e=>{if(e)switch(e.nodeType){case Node.ELEMENT_NODE:switch(e.nodeName){case"STYLE":case"LINK":case"META":o.push(e);break;case"W:SDT":case"W:SDTPR":case"FONT":c.i.unwrap(e);break;default:(0,m.q)(e.attributes).forEach((t=>{-1===["src","href","rel","content"].indexOf(t.name.toLowerCase())&&e.removeAttribute(t.name)}))}break;case Node.TEXT_NODE:break;default:o.push(e)}})),o.forEach(c.i.safeRemove),t=i.innerHTML}catch(e){}return t&&(e=t),(e=e.split(/(\n)/).filter(p.f).join("\n")).replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,"")}function f(e){const t=document.createElement("div");return t.textContent=e,t.innerHTML}var b=i(7);function v(e,t=document){const i=t.createElement("div");return(0,b.H)(e)?i.innerHTML=e:i.appendChild(e),(0,o.$$)("DIV, P, BR, H1, H2, H3, H4, H5, H6, HR",i).forEach((e=>{const i=e.parentNode;if(!i)return;const o=e.nextSibling;c.i.isText(o)&&/^\s/.test(o.nodeValue||"")||o&&i.insertBefore(t.createTextNode(" "),o)})),(0,p.f)(i.innerText)||""}function w(e,t){if(!c.i.isElement(e))return;const i=e=>(0,o.Lj)(e,"onerror",null),s=e=>{const t=e.getAttribute("href");t&&0===t.trim().indexOf("javascript")&&(0,o.Lj)(e,"href",location.protocol+"//"+t)};t.removeOnError&&(i(e),(0,o.$$)("[onerror]",e).forEach(i)),t.safeJavaScriptLink&&(s(e),(0,o.$$)('a[href^="javascript"]',e).forEach(s))}function y(e){return e.replace(/\r\n|\r|\n/g,"<br/>")}var k=i(32);const C=(e,t)=>{const i=e=>parseInt(e,10),o=t.getComputedStyle(e);return e.offsetWidth-i(o.getPropertyValue("padding-left")||"0")-i(o.getPropertyValue("padding-right")||"0")};function x(e){if(!e)return null;const t=c.i.isHTMLElement(e),i=t&&(0,o.iv)(e,"overflowY");return t&&"visible"!==i&&"hidden"!==i&&e.scrollHeight>=e.clientHeight?e:x(e.parentNode)||document.scrollingElement||document.body}const S=(e,t)=>{const i=t.getComputedStyle(e);let o=e.clientWidth;return o-=parseFloat(i.paddingLeft||"0")+parseFloat(i.paddingRight||"0"),o},_=(e,t,i,o=!1)=>{let s;try{s=e.getBoundingClientRect()}catch(e){s={top:0,bottom:0,left:0,right:0,width:0,height:0}}const a=i.body,n=i.documentElement||{clientTop:0,clientLeft:0,scrollTop:0,scrollLeft:0},r=i.defaultView||i.parentWindow,l=r.pageYOffset||n.scrollTop||a.scrollTop,c=r.pageXOffset||n.scrollLeft||a.scrollLeft,d=n.clientTop||a.clientTop||0,h=n.clientLeft||a.clientLeft||0;let u,p;const m=t.iframe;if(!o&&t&&t.options&&t.o.iframe&&m){const{top:e,left:i}=_(m,t,t.od,!0);u=s.top+e,p=s.left+i}else u=s.top+l-d,p=s.left+c-h;return{top:Math.round(u),left:Math.round(p),width:s.width,height:s.height}};function E(e,t,i=!1){const o=e.getBoundingClientRect();let s=o.left,a=o.top;if((0,r.Zu)(t)&&t.iframe&&!i){const{left:e,top:i}=E(t.iframe,t,!0);s+=e,a+=i}return{left:Math.round(s),top:Math.round(a),width:Math.round(e.offsetWidth),height:Math.round(e.offsetHeight)}}function I(e){return(0,r.HD)(e)||(0,r.kJ)(e)?e.length:(0,r.PO)(e)?Object.keys(e).length:0}},function(e,t,i){"use strict";i.d(t,{$$:()=>$,tp:()=>A,II:()=>L,lI:()=>g,uR:()=>w,JL:()=>y,Nf:()=>k,hu:()=>s,Lj:()=>r.Lj,Xh:()=>S,XP:()=>_,RE:()=>r.RE,C6:()=>r.C6,bI:()=>B.b,H5:()=>a,WO:()=>f,UU:()=>D,iv:()=>B.i,iN:()=>Y,kT:()=>P,qI:()=>R.q,X9:()=>H,vU:()=>X.v,V8:()=>T,U2:()=>l.U,gj:()=>m.g,BR:()=>G,wx:()=>N,jF:()=>q,J8:()=>I,kc:()=>m.k,am:()=>r.XP,po:()=>r.po,wY:()=>C,GX:()=>x,XT:()=>j,Q8:()=>n,MN:()=>r.MN,u3:()=>r.u3,mB:()=>M,xL:()=>K,mc:()=>r.mc,W2:()=>J,n5:()=>F,t8:()=>p,P0:()=>Z});class o extends Error{constructor(e){super(e),this.name="AssertionError"}}function s(e,t){if(!e)throw new o("Assertion failed: "+t)}const a=console;function n(e,t=[""],i=null){return(...o)=>(a.warn(`Method "${t[0]}" deprecated.`+(t[1]?` Use "${t[1]}" instead`:"")),e.call(i,...o))}var r=i(12),l=i(34),c=i(7),d=i(23),h=i(9),u=i(20);function p(e,t,i){if(!(0,c.H)(e)||!e.length)return;const o=e.split(".");let s=i,a=o[0];for(let e=0;o.length-1>e;e+=1)a=o[e],(0,h.k)(s[a])||(0,u.PO)(s[a])||(s[a]=(0,d.k)(o[e+1])?[]:{}),s=s[a];s&&(s[o[o.length-1]]=t)}var m=i(28);class g{constructor(e){this.limit=e,this.stack=[]}push(e){return this.stack.push(e),this.stack.length>this.limit&&this.stack.shift(),this}pop(){return this.stack.pop()}find(e){return this.stack.find(e)}}const f=e=>("file:"===window.location.protocol&&/^\/\//.test(e)&&(e="https:"+e),e),b=new Map,v=e=>async(t,i)=>{if(b.has(i))return b.get(i);const o=e(t,i);return b.set(i,o),o},w=(e,t,i)=>{const o=e.c.element("script");return o.type="text/javascript",o.async=!0,(0,u.mf)(i)&&!e.isInDestruct&&e.e.on(o,"load",i),o.src||(o.src=f(t)),e.od.body.appendChild(o),{callback:i,element:o}},y=v(((e,t)=>new Promise(((i,o)=>{const{element:s}=w(e,t,i);!e.isInDestruct&&e.e.on(s,"error",o)})))),k=v(((e,t)=>new Promise(((i,o)=>{const s=e.c.element("link");s.rel="stylesheet",s.media="all",s.crossOrigin="anonymous",!e.isInDestruct&&e.e.on(s,"load",(()=>i(s))).on(s,"error",o),s.href=f(t),e.o.shadowRoot?e.o.shadowRoot.appendChild(s):e.od.body.appendChild(s)})))),C=(e,t,i=0)=>(0,u.HD)(t[i])?y(e,t[i]).then((()=>C(e,t,i+1))):Promise.resolve(),x=(e,t,i=0)=>(0,u.HD)(t[i])?k(e,t[i]).then((()=>x(e,t,i+1))):Promise.resolve(),S=e=>{const 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},_=(e,t)=>{const i=[],o=encodeURIComponent;for(const s in e)if(Object.prototype.hasOwnProperty.call(e,s)){const a=t?t+"["+s+"]":s,n=e[s];i.push((0,u.PO)(n)?_(n,a):o(a)+"="+o(n))}return i.join("&")};var E=i(21);function I(e){return e&&e.isAtom}function j(e){return Object.defineProperty(e,"isAtom",{enumerable:!1,value:!0,configurable:!1}),e}function T(e){return JSON.parse((0,E.P)(e))}var z=i(2);function L(e,t,i=0){if(Object.getPrototypeOf(e)!==Object.prototype)return e;const o=z.D.defaultOptions;if((0,u.HD)(e.preset)){if(void 0!==o.presets[e.preset]){const t=o.presets[e.preset];Object.keys(t).forEach((i=>{(0,u.nj)(e[i])&&(e[i]=t[i])}))}delete e.preset}const s={};return Object.keys(e).forEach((o=>{const a=e[o],n=t?t[o]:null;s[o]=(0,u.PO)(a)&&(0,u.PO)(n)&&!I(a)?L(a,n,i+1):0!==i&&(0,u.kJ)(a)&&!I(a)&&(0,u.kJ)(n)?[...a,...n.slice(a.length)]:a})),Object.setPrototypeOf(s,t),s}function A(e){return(0,r.XP)(e,!1).reduce(((t,i)=>(t[i]=e[i],t)),{})}const M=e=>{const t={},i=e.substr(1).split("&");for(let e=0;i.length>e;e+=1){const o=i[e].split("=");t[decodeURIComponent(o[0])]=decodeURIComponent(o[1]||"")}return t},D=(e,t=400,i=345)=>{if(!(0,u.PX)(e))return e;const o=document.createElement("a"),s=/(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(.+)/g;o.href=e,t||(t=400),i||(i=345);const a=o.protocol||"";switch(o.hostname){case"www.vimeo.com":case"vimeo.com":return s.test(e)?e.replace(s,'<iframe width="'+t+'" height="'+i+'" src="'+a+'//player.vimeo.com/video/$1" frameborder="0" allowfullscreen></iframe>'):e;case"youtube.com":case"www.youtube.com":case"youtu.be":case"www.youtu.be":{const s=o.search?M(o.search):{v:o.pathname.substr(1)};return s.v?'<iframe width="'+t+'" height="'+i+'" src="'+a+"//www.youtube.com/embed/"+s.v+'" frameborder="0" allowfullscreen></iframe>':e}}return e};var B=i(31);const P=e=>{if("undefined"!=typeof navigator&&-1!==navigator.userAgent.indexOf("Mac OS X")){if(e.metaKey&&!e.altKey)return!0}else if(e.ctrlKey&&!e.altKey)return!0;return!1};var R=i(13);const H=(e,t="en")=>"auto"!==e&&(0,u.HD)(e)?e:document.documentElement&&document.documentElement.lang?document.documentElement.lang:navigator.language?navigator.language.substr(0,2):t,N=e=>{if(/^[0-9.]+$/.test(""+e))return parseFloat(e);const t=e.substr(-2,2).toUpperCase(),i=["KB","MB","GB","TB"],o=parseFloat(e.substr(0,e.length-2));return-1!==i.indexOf(t)?o*Math.pow(1024,i.indexOf(t)+1):parseInt(e,10)},q=(e,t,i)=>{let o=e.getBoundingClientRect(),s=e;const a=o.top,n=o.height;do{if(s&&s.parentNode){if(s=s.parentNode,o=s.getBoundingClientRect(),a>o.bottom)return!1;if(o.top>=a+n)return!1}}while(s&&s!==t&&s.parentNode);return(i.documentElement&&i.documentElement.clientHeight||0)>=a},F=(e,t,i)=>{q(e,t,i)||(t.clientHeight!==t.scrollHeight&&(t.scrollTop=e.offsetTop),q(e,t,i)||e.scrollIntoView())};i(3);var O=i(17),V=i(29),W=i(35),U=i(37);function $(e,t){let i;return i=t.querySelectorAll(e),[].slice.call(i)}const G=(e,t)=>{if(!e||e.nodeType!==Node.ELEMENT_NODE)return"";if(!e.parentNode||t===e)return"";if(e.id)return"//*[@id='"+e.id+"']";const i=[].filter.call(e.parentNode.childNodes,(t=>t.nodeName===e.nodeName));return G(e.parentNode,t)+"/"+e.nodeName.toLowerCase()+(i.length>1?"["+((0,W.qo)(i).indexOf(e)+1)+"]":"")},K=e=>(e instanceof U.u1&&(e=e.container),$("[ref],[data-ref]",e).reduce(((e,t)=>{const i=(0,r.Lj)(t,"-ref");return i&&(0,u.HD)(i)&&(e[(0,V.eV)(i)]=t,e[i]=t),e}),{})),Y=e=>{if(!O.i.isElement(e))return null;const t=[];let i=e;for(;i&&i.nodeType===Node.ELEMENT_NODE;){let e=i.nodeName.toLowerCase();if(i.id){e+="#"+i.id,t.unshift(e);break}{let t=i,o=1;do{t=t.previousElementSibling,t&&t.nodeName.toLowerCase()===e&&o++}while(t);e+=":nth-of-type("+o+")"}t.unshift(e),i=i.parentNode}return t.join(" > ")};function J(e,t){let i=e;if((0,u.HD)(e))try{i=t.querySelector(e)}catch(t){throw(0,X.v)('String "'+e+'" should be valid HTML selector')}if(!i||"object"!=typeof i||!O.i.isElement(i)||!i.cloneNode)throw(0,X.v)('Element "'+e+'" should be string or HTMLElement instance');return i}var X=i(6);const Z=(e,t,i)=>{const o=e.querySelector(t);return o?(i&&(o.value=i),o.value):""}},(e,t,i)=>{"use strict";i.d(t,{RE:()=>h,Lj:()=>u,MN:()=>p,C6:()=>m,mc:()=>f,po:()=>b,XP:()=>v,u3:()=>w});var o=i(8),s=i(25),a=i(34),n=i(13),r=i(22),l=i(20),c=i(31),d=i(29);function h(e,...t){return e(...t)}function u(e,t,i){if(!e||!(0,o.m)(e.getAttribute))return null;if(!(0,l.HD)(t))return Object.keys(t).forEach((i=>{const o=t[i];(0,l.PO)(o)&&"style"===i?(0,c.i)(e,o):("className"===i&&(i="class"),u(e,i,o))})),null;let s=(0,d.gP)(t);if(/^-/.test(s)){const t=u(e,"data"+s);if(t)return t;s=s.substr(1)}if(void 0!==i){if(null!=i)return e.setAttribute(s,""+i),""+i;e.hasAttribute(s)&&e.removeAttribute(s)}return e.getAttribute(s)}function p(e,t){u(t,"data-editor_id",e.id),!t.component&&Object.defineProperty(t,"jodit",{value:e})}function m(e,t){return(0,s.t)(e)?e.finally(t):t()}const g={},f=e=>{var t,i;if(!(e in g)){const i=document.createElement("iframe");try{if(i.src="about:blank",document.body.appendChild(i),!i.contentWindow)return null;const s=(0,a.U)(e,i.contentWindow),n=(0,a.U)(e.split(".").slice(0,-1).join("."),i.contentWindow);(0,o.m)(s)&&(g[e]=s.bind(n))}catch(e){}finally{null===(t=i.parentNode)||void 0===t||t.removeChild(i)}}return null!==(i=g[e])&&void 0!==i?i:null},b=(e,t)=>t.async.promise(((i,o)=>{const s=new Image,a=()=>{t.e.off(s),null==o||o()},n=()=>{t.e.off(s),i(s)};t.e.one(s,"load",n).one(s,"error",a).one(s,"abort",a),s.src=e,s.complete&&n()})),v=(e,t=!0)=>{if(t)return Object.keys(e);const i=[];for(const t in e)i.push(t);return i},w=(e,t,{control:i},o)=>{const s="button"+i.command;let a=i.args&&i.args[0]||(0,n.q)(e,s);if((0,r.n)(a))return!1;(0,n.q)(e,s,a),o&&(a=o(a)),e.execCommand(i.command,!1,a||void 0)}},(e,t,i)=>{"use strict";i.d(t,{q:()=>n});var o=i(14),s=i(20);const a=new WeakMap,n=(e,t,i)=>{let n=a.get(e);if(!n){n={},a.set(e,n);let t=null;e instanceof o.Hr&&(t=e.j.e),(0,s.f2)(e)&&(t=e.e),t&&t.on("beforeDestruct",(()=>{a.delete(e)}))}return void 0===i?n[t]:(n[t]=i,i)}},function(e,t,i){"use strict";i.d(t,{wA:()=>r,n$:()=>o,Hr:()=>l});const o={beforeInit:"beforeInit",ready:"ready",beforeDestruct:"beforeDestruct",destructed:"destructed"};var s=i(10),a=i(15);const n=new Map;class r{constructor(){this.ownerWindow=window,this.__componentStatus=o.beforeInit,this.uid="jodit-uid-"+(0,a.fe)()}get componentName(){return this.__componentName||(this.__componentName="jodit-"+(0,s.kebabCase)(((0,s.isFunction)(this.className)?this.className():"")||(0,s.getClassName)(this))),this.__componentName}getFullElName(e,t,i){const o=[this.componentName];return e&&(e=e.replace(/[^a-z0-9-]/gi,"-"),o.push("__"+e)),t&&(o.push("_",t),o.push("_",(0,s.isVoid)(i)?"true":""+i)),o.join("")}get ownerDocument(){return this.ow.document}get od(){return this.ownerDocument}get ow(){return this.ownerWindow}get(e,t){return(0,s.get)(e,t||this)}get isReady(){return this.componentStatus===o.ready}get isDestructed(){return this.componentStatus===o.destructed}get isInDestruct(){return o.beforeDestruct===this.componentStatus||o.destructed===this.componentStatus}bindDestruct(e){return e.hookStatus(o.beforeDestruct,(()=>!this.isInDestruct&&this.destruct())),this}destruct(){this.setStatus(o.destructed),n.get(this)&&n.delete(this)}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;const i=Object.getPrototypeOf(this);i&&(0,s.isFunction)(i.setStatusComponent)&&i.setStatusComponent(e,t);const o=n.get(this),a=null==o?void 0:o[e];a&&a.length&&a.forEach((e=>e(t))),t===this&&(this.__componentStatus=e)}hookStatus(e,t){let i=n.get(this);i||(i={},n.set(this,i)),i[e]||(i[e]=[]),i[e].push(t)}}r.STATUSES=o;class l extends r{constructor(e){super(),this.setParentView(e)}get defaultTimeout(){return this.j.defaultTimeout}get j(){return this.jodit}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()}}},(e,t,i)=>{"use strict";i.d(t,{as:()=>c,fe:()=>u,pw:()=>p,qz:()=>m,KQ:()=>g,xl:()=>f,ZO:()=>v,TB:()=>w});var o=i(16),s=i(17),a=i(5),n=i(20),r=i(28),l=i(29);const c={};let d=1;const h=new Set;function u(){function e(){return d+=10*(Math.random()+1),Math.round(d).toString(16)}let t=e();for(;h.has(t);)t=e();return h.add(t),t}const p=new o.h,m={},g={},f=e=>{Object.keys(e).forEach((t=>{g[t]?Object.assign(g[t],e[t]):g[t]=e[t]}))},b=new WeakMap;function v(e,t,i="div",o=!1){const a=t?(0,r.g)(t.prototype):"jodit-utils",c=b.get(e)||{},d=a+i,h=(0,n.f2)(e)?e:e.j;if(!c[d]){let t=h.c,r=(0,n.Zu)(e)&&e.o.shadowRoot?e.o.shadowRoot:e.od.body;if(o&&(0,n.Zu)(e)&&e.od!==e.ed){t=e.createInside;const o="style"===i?e.ed.head:e.ed.body;r=(0,n.Zu)(e)&&e.o.shadowRoot?e.o.shadowRoot:o}const u=t.element(i,{className:`jodit jodit-${(0,l.GL)(a)}-container jodit-box`});u.classList.add("jodit_theme_"+(h.o.theme||"default")),r.appendChild(u),c[d]=u,e.hookStatus("beforeDestruct",(()=>{s.i.safeRemove(u),delete c[d],Object.keys(c).length&&b.delete(e)})),b.set(e,c)}return c[d].classList.remove("jodit_theme_default","jodit_theme_dark"),c[d].classList.add("jodit_theme_"+(h.o.theme||"default")),c[d]}const w=new a.vp},function(e,t,i){"use strict";i.d(t,{h:()=>s});var o=i(10);class s{constructor(){this._items=new Map}normalizeName(e){return(0,o.kebabCase)(e).toLowerCase()}items(e){const t=[];return this._items.forEach(((e,i)=>{t.push([i,e])})),t.filter((([t])=>!e||e.includes(t)))}add(e,t){this._items.set(this.normalizeName(e),t)}get(e){return this._items.get(this.normalizeName(e))}remove(e){this._items.delete(this.normalizeName(e))}init(e){const t=e.o.extraPlugins.map((e=>(0,o.isString)(e)?{name:e}:e)),i=(0,o.splitArray)(e.o.disablePlugins).map((e=>this.normalizeName(e))),a=[],n={},r=[],l={},c=([t,c])=>{var d;if(i.includes(t)||a.includes(t)||n[t])return;const h=null===(d=c)||void 0===d?void 0:d.requires;if(h&&(0,o.isArray)(h)&&this.hasDisabledRequires(i,h))return;const u=s.makePluginInstance(e,c);u&&(this.initOrWait(e,t,u,a,n),r.push(u),l[t]=u)},d=this.loadExtras(e,t);return(0,o.callPromise)(d,(()=>{e.isInDestruct||(this.items(e.o.safeMode?e.o.safePluginsList.concat(t.map((e=>e.name))):null).forEach(c),this.addListenerOnBeforeDestruct(e,r),e.__plugins=l)}))}hasDisabledRequires(e,t){return!(!(null==t?void 0:t.length)||!e.some((e=>t.includes(e))))}static makePluginInstance(e,t){try{return(0,o.isFunction)(t)?new t(e):t}catch(e){}return null}initOrWait(e,t,i,a,n){const r=(t,i)=>{if((0,o.isInitable)(i)){const o=i.requires;if((null==o?void 0:o.length)&&!o.every((e=>a.includes(e))))return n[t]=i,!1;try{i.init(e)}catch(e){}a.push(t)}else a.push(t);return i.hasStyle&&s.loadStyle(e,t),!0};r(t,i),Object.keys(n).forEach((e=>{const t=n[e];t&&r(e,t)&&(n[e]=void 0,delete n[e])}))}addListenerOnBeforeDestruct(e,t){e.e.on("beforeDestruct",(()=>{t.forEach((t=>{(0,o.isDestructable)(t)&&t.destruct(e)})),t.length=0,delete e.__plugins}))}load(e,t){return Promise.all(t.map((t=>{const i=t.url||s.getFullUrl(e,t.name,!0);return(0,o.appendScriptAsync)(e,i).then((e=>({v:e,status:"fulfilled"})),(e=>({e,status:"rejected"})))})))}static async loadStyle(e,t){const i=s.getFullUrl(e,t,!1);if(!this.styles.has(i))return this.styles.add(i),(0,o.appendStyleAsync)(e,i)}static getFullUrl(e,t,i){return t=(0,o.kebabCase)(t),e.basePath+"plugins/"+t+"/"+t+"."+(i?"js":"css")}loadExtras(e,t){if(t&&t.length)try{const i=t.filter((e=>!this._items.has(this.normalizeName(e.name))));if(i.length)return this.load(e,i)}catch(e){}}}s.styles=new Set},function(e,t,i){"use strict";i.d(t,{i:()=>n});var o=i(3),s=i(10),a=i(18);class n{static detach(e){for(;e.firstChild;)e.removeChild(e.firstChild)}static wrapInline(e,t,i){let o,a=e,r=e;i.s.save();let l=!1;do{l=!1,o=a.previousSibling,o&&!n.isBlock(o)&&(l=!0,a=o)}while(l);do{l=!1,o=r.nextSibling,o&&!n.isBlock(o)&&(l=!0,r=o)}while(l);const c=(0,s.isString)(t)?i.createInside.element(t):t;a.parentNode&&a.parentNode.insertBefore(c,a);let d=a;for(;d&&(d=a.nextSibling,c.appendChild(a),a!==r&&d);)a=d;return i.s.restore(),c}static wrap(e,t,i){const o=(0,s.isString)(t)?i.element(t):t;if(!e.parentNode)throw(0,s.error)("Element should be in DOM");return e.parentNode.insertBefore(o,e),o.appendChild(e),o}static unwrap(e){const t=e.parentNode;if(t){for(;e.firstChild;)t.insertBefore(e.firstChild,e);n.safeRemove(e)}}static between(e,t,i){let o=e;for(;o&&o!==t&&(e===o||!i(o));){let e=o.firstChild||o.nextSibling;if(!e){for(;o&&!o.nextSibling;)o=o.parentNode;e=null==o?void 0:o.nextSibling}o=e}}static replace(e,t,i,o=!1,a=!1){(0,s.isHTML)(t)&&(t=i.fromHTML(t));const n=(0,s.isString)(t)?i.element(t):t;if(!a)for(;e.firstChild;)n.appendChild(e.firstChild);return o&&(0,s.toArray)(e.attributes).forEach((e=>{n.setAttribute(e.name,e.value)})),e.parentNode&&e.parentNode.replaceChild(n,e),n}static isEmptyTextNode(e){return n.isText(e)&&(!e.nodeValue||0===e.nodeValue.replace(o.INVISIBLE_SPACE_REG_EXP(),"").trim().length)}static isEmptyContent(e){return n.each(e,(e=>n.isEmptyTextNode(e)))}static isContentEditable(e,t){return n.isNode(e)&&!n.closest(e,(e=>n.isElement(e)&&"false"===e.getAttribute("contenteditable")),t)}static isEmpty(e,t=/^(img|svg|canvas|input|textarea|form)$/){return!e||(n.isText(e)?null==e.nodeValue||0===(0,s.trim)(e.nodeValue).length:!t.test(e.nodeName.toLowerCase())&&n.each(e,(e=>{if(n.isText(e)&&null!=e.nodeValue&&0!==(0,s.trim)(e.nodeValue).length||n.isElement(e)&&t.test(e.nodeName.toLowerCase()))return!1})))}static isNode(e){if(!e)return!1;const t=(0,s.get)("ownerDocument.defaultView",e);return!("object"!=typeof t||!t||"function"!=typeof t.Node&&"object"!=typeof t.Node)&&e instanceof t.Node}static isCell(e){return n.isNode(e)&&/^(td|th)$/i.test(e.nodeName)}static isImage(e){return n.isNode(e)&&/^(img|svg|picture|canvas)$/i.test(e.nodeName)}static isBlock(e){return!(0,s.isVoid)(e)&&"object"==typeof e&&n.isNode(e)&&o.IS_BLOCK.test(e.nodeName)}static isText(e){return!(!e||e.nodeType!==Node.TEXT_NODE)}static isElement(e){var t;return!!n.isNode(e)&&!(!(null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView)||e.nodeType!==Node.ELEMENT_NODE)}static isHTMLElement(e){var t;if(!n.isNode(e))return!1;const i=null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(i&&e instanceof i.HTMLElement)}static isInlineBlock(e){return n.isElement(e)&&!/^(BR|HR)$/i.test(e.tagName)&&-1!==["inline","inline-block"].indexOf(""+(0,s.css)(e,"display"))}static canSplitBlock(e){return!(0,s.isVoid)(e)&&n.isHTMLElement(e)&&n.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 o=i.lastChild;if(o||(o=i.previousSibling),!o&&i.parentNode!==e){do{i=i.parentNode}while(i&&!(null==i?void 0:i.previousSibling)&&i.parentNode!==e);o=null==i?void 0:i.previousSibling}i=o}while(i);return null}static prev(e,t,i,o=!0){return n.find(e,t,i,!1,o)}static next(e,t,i,o=!0){return n.find(e,t,i,!0,o)}static prevWithClass(e,t){return n.prev(e,(e=>n.isElement(e)&&e.classList.contains(t)),e.parentNode)}static nextWithClass(e,t){return n.next(e,(e=>n.isElement(e)&&e.classList.contains(t)),e.parentNode)}static find(e,t,i,o=!0,s=!0){const a=this.nextGen(e,i,o,s);let n=a.next();for(;!n.done;){if(t(n.value))return n.value;n=a.next()}return null}static*nextGen(e,t,i=!0,o=!0){const s=[];let a=e;do{let t=i?a.nextSibling:a.previousSibling;for(;t;)s.unshift(t),t=i?t.nextSibling:t.previousSibling;yield*this.runInStack(e,s,i,o),a=a.parentNode}while(a!==t);return null}static each(e,t,i=!0){const o=this.eachGen(e,i);let s=o.next();for(;!s.done;){if(!1===t(s.value))return!1;s=o.next()}return!0}static eachGen(e,t=!0){return this.runInStack(e,[e],t)}static*runInStack(e,t,i,o=!0){for(;t.length;){const s=t.pop();if(e!==s&&(yield s),o){let e=i?s.lastChild:s.firstChild;for(;e;)t.push(e),e=i?e.previousSibling:e.nextSibling}}}static findWithCurrent(e,t,i,o="nextSibling",s="firstChild"){let a=e;do{if(t(a))return a||null;if(s&&a&&a[s]){const e=n.findWithCurrent(a[s],t,a,o,s);if(e)return e}for(;a&&!a[o]&&a!==i;)a=a.parentNode;a&&a[o]&&a!==i&&(a=a[o])}while(a&&a!==i);return null}static findSibling(e,t=!0,i=(e=>!n.isEmptyTextNode(e))){const o=e=>t?e.previousSibling:e.nextSibling;let s=o(e);for(;s&&!i(s);)s=o(s);return s&&i(s)?s:null}static up(e,t,i,o=!1){let s=e;if(!s)return null;do{if(t(s))return s;if(s===i||!s.parentNode)break;s=s.parentNode}while(s&&s!==i);return s===i&&o&&t(s)?s:null}static closest(e,t,i){let o;return o=(0,s.isFunction)(t)?t:(0,s.isArray)(t)?e=>e&&t.includes(e.nodeName.toLowerCase()):e=>e&&t===e.nodeName.toLowerCase(),n.up(e,o,i)}static furthest(e,t,i){let o=null,s=null==e?void 0:e.parentElement;for(;s&&s!==i&&t(s);)o=s,s=null==s?void 0:s.parentElement;return o}static appendChildFirst(e,t){const i=e.firstChild;i?i!==t&&e.insertBefore(t,i):e.appendChild(t)}static after(e,t){const{parentNode:i}=e;i&&(i.lastChild===e?i.appendChild(t):i.insertBefore(t,e.nextSibling))}static before(e,t){const{parentNode:i}=e;i&&i.insertBefore(t,e)}static prepend(e,t){e.insertBefore(t,e.firstChild)}static append(e,t){(0,s.isArray)(t)?t.forEach((t=>{this.append(e,t)})):e.appendChild(t)}static moveContent(e,t,i=!1){const o=(e.ownerDocument||document).createDocumentFragment();(0,s.toArray)(e.childNodes).forEach((e=>{o.appendChild(e)})),i&&t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o)}static all(e,t,i=!1){let o=e.childNodes?(0,s.toArray)(e.childNodes):[];return t(e)?e:(i&&(o=o.reverse()),o.forEach((e=>{n.all(e,t,i)})),null)}static isOrContains(e,t,i=!1){return e===t?!i:!!(t&&e&&this.up(t,(t=>t===e),e,!0))}static safeRemove(e){e&&e.parentNode&&e.parentNode.removeChild(e)}static hide(e){e&&((0,s.dataBind)(e,"__old_display",e.style.display),e.style.display="none")}static show(e){if(!e)return;const t=(0,s.dataBind)(e,"__old_display");"none"===e.style.display&&(e.style.display=t||"")}static isTag(e,t){const i=(0,s.asArray)(t).map(String);for(let t=0;i.length>t;t+=1)if(this.isElement(e)&&e.tagName.toLowerCase()===i[t].toLowerCase())return!0;return!1}static markTemporary(e,t){return t&&(0,s.attr)(e,t),(0,s.attr)(e,o.TEMP_ATTR,!0),e}static isTemporary(e){return!!n.isElement(e)&&(a.Ph.isMarker(e)||"true"===(0,s.attr)(e,o.TEMP_ATTR))}static replaceTemporaryFromString(e){return e.replace(/<([a-z]+)[^>]+data-jodit-temp[^>]+>(.+?)<\/\1>/gi,"$2")}static temporaryList(e){return(0,s.$$)(`[${o.TEMP_ATTR}]`,e)}}},function(e,t,i){"use strict";i.d(t,{RP:()=>C,Ph:()=>d});var o=i(3),s=i(10),a=i(17),n=i(15);function r(e,t,i,o,r=!1){const{style:l,className:c}=e.options;return l&&(0,s.size)(l)>0&&Object.keys(l).forEach((c=>{if(""!==t.style.getPropertyValue((0,s.kebabCase)(c))||null!=l[c]){if(((e,t,i)=>{const o=e.create.element(t.tagName.toLowerCase());o.style.cssText=t.style.cssText,(e=>{var t;if(void 0!==(0,s.dataBind)(e,"shadowRoot"))return(0,s.dataBind)(e,"shadowRoot");const i=(0,n.ZO)(e),o=document.createElement("iframe");(0,s.css)(o,{width:0,height:0,position:"absolute",border:0}),o.src="about:blank",i.appendChild(o);const a=null===(t=o.contentWindow)||void 0===t?void 0:t.document,r=a?a.body:e.od.body;return(0,s.dataBind)(e,"shadowRoot",r),r})(e).appendChild(o);const r=(0,s.css)(o,i);return a.i.safeRemove(o),r})(i,t,c)===(0,s.normalizeCssValue)(c,l[c]))return!r&&(0,s.css)(t,c,null),void(o=((e,t,i)=>((0,s.attr)(t,"style")||((0,s.attr)(t,"style",null),t.tagName.toLowerCase()===e.defaultTag&&(a.i.unwrap(t),i=b)),i))(e,t,o=w));o=v,!r&&(0,s.css)(t,c,l[c])}})),c&&(t.classList.contains(c)?(t.classList.remove(c),o=w):(t.classList.add(c),o=v)),o}var l=i(27),c=i(19);class d{constructor(e){this.jodit=e,e.e.on("removeMarkers",(()=>{this.removeMarkers()}))}get j(){return this.jodit}errorNode(e){if(!a.i.isNode(e))throw(0,s.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,s.isFunction)(this.j.o.shadowRoot.getSelection)?this.j.o.shadowRoot.getSelection():this.win.getSelection()}get range(){const e=this.sel;return e&&e.rangeCount?e.getRangeAt(0):this.createRange()}createRange(e=!1){const t=this.doc.createRange();return e&&this.selectRange(t),t}remove(){const e=this.sel,t=this.current();if(e&&t)for(let t=0;e.rangeCount>t;t+=1)e.getRangeAt(t).deleteContents(),e.getRangeAt(t).collapse(!0)}clear(){var e,t;(null===(e=this.sel)||void 0===e?void 0:e.rangeCount)&&(null===(t=this.sel)||void 0===t||t.removeAllRanges())}removeNode(e){if(!a.i.isOrContains(this.j.editor,e,!0))throw(0,s.error)("Selection.removeNode can remove only editor's children");a.i.safeRemove(e),this.j.e.fire("afterRemoveNode",e)}insertCursorAtPoint(e,t){this.removeMarkers();try{const i=this.createRange();return(()=>{if(this.doc.caretPositionFromPoint){const o=this.doc.caretPositionFromPoint(e,t);if(o)return void i.setStart(o.offsetNode,o.offset)}if(this.doc.caretRangeFromPoint){const o=this.doc.caretRangeFromPoint(e,t);i.setStart(o.startContainer,o.startOffset)}})(),i.collapse(!0),this.selectRange(i),!0}catch(e){}return!1}static isMarker(e){return a.i.isNode(e)&&a.i.isTag(e,"span")&&e.hasAttribute("data-"+o.MARKER_CLASS)}get hasMarkers(){return!!this.markers.length}get markers(){return(0,s.$$)("span[data-"+o.MARKER_CLASS+"]",this.area)}removeMarkers(){this.markers.forEach(a.i.safeRemove)}marker(e=!1,t){let i=null;t&&(i=t.cloneRange(),i.collapse(e));const s=this.j.createInside.span();return s.id=o.MARKER_CLASS+"_"+Number(new Date)+"_"+(Math.random()+"").slice(2),s.style.lineHeight="0",s.style.display="none",s.setAttribute("data-"+o.MARKER_CLASS,e?"start":"end"),s.appendChild(this.j.createInside.text(o.INVISIBLE_SPACE)),i&&a.i.isOrContains(this.area,e?i.startContainer:i.endContainer)&&i.insertNode(s),s}restore(){let e=!1;const t=e=>`span[data-${o.MARKER_CLASS}=${e?"start":"end"}]`,i=this.area.querySelector(t(!0)),s=this.area.querySelector(t(!1));if(i){if(e=this.createRange(),s)e.setStartAfter(i),a.i.safeRemove(i),e.setEndBefore(s),a.i.safeRemove(s);else{const t=i.previousSibling;a.i.isText(t)?e.setStart(t,t.nodeValue?t.nodeValue.length:0):e.setStartBefore(i),a.i.safeRemove(i),e.collapse(!0)}e&&this.selectRange(e)}}save(e=!1){if(this.hasMarkers)return[];const t=this.sel;if(!t||!t.rangeCount)return[];const i=[],o=t.rangeCount,s=[];for(let e=0;o>e;e+=1)if(s[e]=t.getRangeAt(e),s[e].collapsed){const t=this.marker(!0,s[e]);i[e]={startId:t.id,collapsed:!0,startMarker:t.outerHTML}}else{const t=this.marker(!0,s[e]),o=this.marker(!1,s[e]);i[e]={startId:t.id,endId:o.id,collapsed:!1,startMarker:t.outerHTML,endMarker:o.outerHTML}}if(!e){t.removeAllRanges();for(let e=o-1;e>=0;--e){const o=this.doc.getElementById(i[e].startId);if(o)if(i[e].collapsed)s[e].setStartAfter(o),s[e].collapse(!0);else if(s[e].setStartBefore(o),i[e].endId){const t=this.doc.getElementById(i[e].endId);t&&s[e].setEndAfter(t)}try{t.addRange(s[e].cloneRange())}catch(e){}}}return i}focus(e={preventScroll:!0}){var t,i;if(!this.isFocused()){const o=(0,s.getScrollParent)(this.j.container),n=null==o?void 0:o.scrollTop;this.j.iframe&&"complete"===this.doc.readyState&&this.j.iframe.focus(e),this.win.focus(),this.area.focus(e),n&&(null==o?void 0:o.scrollTo)&&o.scrollTo(0,n);const r=this.sel,l=(null==r?void 0:r.rangeCount)?null==r?void 0:r.getRangeAt(0):null;if(!l||!a.i.isOrContains(this.area,l.startContainer)){const e=this.createRange();e.setStart(this.area,0),e.collapse(!0),this.selectRange(e,!1)}return this.j.editorIsActive||null===(i=null===(t=this.j)||void 0===t?void 0:t.events)||void 0===i||i.fire("focus"),!0}return!1}isCollapsed(){const e=this.sel;for(let t=0;e&&e.rangeCount>t;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()===o.MODE_WYSIWYG){const t=this.sel;if(!t||0===t.rangeCount)return null;const i=t.getRangeAt(0);let o=i.startContainer,s=!1;const n=e=>s?e.lastChild:e.firstChild;if(a.i.isTag(o,"br")&&t.isCollapsed)return o;if(!a.i.isText(o)){if(o=i.startContainer.childNodes[i.startOffset],o||(o=i.startContainer.childNodes[i.startOffset-1],s=!0),o&&t.isCollapsed&&!a.i.isText(o))if(!s&&a.i.isText(o.previousSibling))o=o.previousSibling;else if(e){let e=n(o);for(;e;){if(e&&a.i.isText(e)){o=e;break}e=n(e)}}if(o&&!t.isCollapsed&&!a.i.isText(o)){let e=o,t=o;do{e=e.firstChild,t=t.lastChild}while(e&&t&&!a.i.isText(e));e===t&&e&&a.i.isText(e)&&(o=e)}}if(o&&a.i.isOrContains(this.area,o))return o}return null}insertNode(e,t=!0,i=!0){var s;this.errorNode(e),this.j.e.fire("safeHTML",e),!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore());const n=this.sel;if(this.isCollapsed()||this.j.execCommand("Delete"),n&&n.rangeCount){const t=n.getRangeAt(0);a.i.isOrContains(this.area,t.commonAncestorContainer)?a.i.isTag(t.startContainer,o.INSEPARABLE_TAGS)&&t.collapsed?null===(s=t.startContainer.parentNode)||void 0===s||s.insertBefore(e,t.startContainer):(t.deleteContents(),t.insertNode(e)):this.area.appendChild(e)}else this.area.appendChild(e);t&&(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.lastChild&&this.setCursorAfter(e.lastChild):this.setCursorAfter(e)),i&&this.j.events&&this.j.e.fire("synchro"),this.j.events&&this.j.e.fire("afterInsertNode",e)}insertHTML(e){if(""===e)return;const t=this.j.createInside.div(),i=this.j.createInside.fragment();let o;if(!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore()),a.i.isNode(e)?t.appendChild(e):t.innerHTML=""+e,(this.j.isEditorMode()||!1!==this.j.e.fire("insertHTML",t.innerHTML))&&(o=t.lastChild,o)){for(;t.firstChild;)o=t.firstChild,i.appendChild(t.firstChild);this.insertNode(i,!1,!1),o?this.setCursorAfter(o):this.setCursorIn(i),this.j.e&&this.j.e.fire("synchro")}}insertImage(e,t=null,i=null){const o=(0,s.isString)(e)?this.j.createInside.element("img"):e;if((0,s.isString)(e)&&o.setAttribute("src",e),null!=i){let e=""+i;e&&"auto"!==e&&0>(e+"").indexOf("px")&&0>(e+"").indexOf("%")&&(e+="px"),(0,s.call)(this.j.o.resizer.forImageChangeAttributes?s.attr:s.css,o,"width",e)}t&&"object"==typeof t&&(0,s.css)(o,t);const a=()=>{(o.offsetHeight>o.naturalHeight||o.offsetWidth>o.naturalWidth)&&(o.style.width="",o.style.height=""),o.removeEventListener("load",a)};this.j.e.on(o,"load",a),o.complete&&a(),this.insertNode(o),this.j.e.fire("afterInsertImage",o)}eachSelection(e){var t;const i=this.sel;if(i&&i.rangeCount){const n=i.getRangeAt(0);let r=n.commonAncestorContainer;a.i.isHTMLElement(r)||(r=r.parentElement);const l=[],c=n.startOffset,h=r.childNodes.length,u=h>c?c:h-1;let p=n.startContainer===this.area?r.childNodes[u]:n.startContainer,m=n.endContainer===this.area?r.childNodes[n.endOffset-1]:n.endContainer;a.i.isText(p)&&p===n.startContainer&&n.startOffset===(null===(t=p.nodeValue)||void 0===t?void 0:t.length)&&p.nextSibling&&(p=p.nextSibling),a.i.isText(m)&&m===n.endContainer&&0===n.endOffset&&m.previousSibling&&(m=m.previousSibling);const g=e=>{!e||e===r||a.i.isEmptyTextNode(e)||d.isMarker(e)||l.push(e)};g(p),p!==m&&a.i.find(p,(e=>(g(e),e===m||e&&e.contains&&e.contains(m))),r,!0,!1);const f=t=>{if(a.i.isOrContains(this.j.editor,t,!0)){if(t.nodeName.match(/^(UL|OL)$/))return(0,s.toArray)(t.childNodes).forEach(f);if(a.i.isTag(t,"li"))if(t.firstChild)t=t.firstChild;else{const e=this.j.createInside.text(o.INVISIBLE_SPACE);t.appendChild(e),t=e}e(t)}};0===l.length&&a.i.isEmptyTextNode(p)&&l.push(p),l.forEach(f)}}cursorInTheEdge(e,t){var i,n;const r=!e,l=null===(i=this.sel)||void 0===i?void 0:i.getRangeAt(0),c=this.current(!1);if(!l||!c||!a.i.isOrContains(t,c,!0))return null;const d=e?l.startContainer:l.endContainer,h=e?l.startOffset:l.endOffset,u=e=>e&&!a.i.isTag(e,"br")&&!a.i.isEmptyTextNode(e);if(a.i.isText(d)){const t=(null===(n=d.nodeValue)||void 0===n?void 0:n.length)?d.nodeValue:"";if(r&&t.replace((0,o.INVISIBLE_SPACE_REG_EXP_END)(),"").length>h)return!1;const i=(0,o.INVISIBLE_SPACE_REG_EXP_START)().exec(t);if(e&&(i&&h>i[0].length||!i&&h>0))return!1}else{const e=(0,s.toArray)(d.childNodes);if(r){if(e.slice(h).some(u))return!1}else if(e.slice(0,h).some(u))return!1}return!(0,s.call)(e?a.i.prev:a.i.next,c,u,t)}cursorOnTheLeft(e){return this.cursorInTheEdge(!0,e)}cursorOnTheRight(e){return this.cursorInTheEdge(!1,e)}setCursorAfter(e){return this.setCursorNearWith(e,!1)}setCursorBefore(e){return this.setCursorNearWith(e,!0)}setCursorNearWith(e,t){var i,n;if(this.errorNode(e),!a.i.up(e,(e=>e===this.area||e&&e.parentNode===this.area),this.area))throw(0,s.error)("Node element must be in editor");const r=this.createRange();let l=null;return a.i.isText(e)?t?r.setStart(e,0):r.setEnd(e,null!==(n=null===(i=e.nodeValue)||void 0===i?void 0:i.length)&&void 0!==n?n:0):(l=this.j.createInside.text(o.INVISIBLE_SPACE),t?r.setStartBefore(e):r.setEndAfter(e),r.collapse(t),r.insertNode(l),r.selectNode(l)),r.collapse(t),this.selectRange(r),l}setCursorIn(e,t=!1){if(this.errorNode(e),!a.i.up(e,(e=>e===this.area||e&&e.parentNode===this.area),this.area))throw(0,s.error)("Node element must be in editor");const i=this.createRange();let n=e,r=e;do{if(a.i.isText(n))break;r=n,n=t?n.firstChild:n.lastChild}while(n);if(!n){const e=this.j.createInside.text(o.INVISIBLE_SPACE);/^(img|br|input)$/i.test(r.nodeName)?n=r:(r.appendChild(e),r=e)}return i.selectNodeContents(n||r),i.collapse(t),this.selectRange(i),r}selectRange(e,t=!0){const i=this.sel;t&&!this.isFocused()&&this.focus(),i&&(i.removeAllRanges(),i.addRange(e)),this.j.e.fire("changeSelection")}select(e,t=!1){if(this.errorNode(e),!a.i.up(e,(e=>e===this.area||e&&e.parentNode===this.area),this.area))throw(0,s.error)("Node element must be in editor");const i=this.createRange();i[t?"selectNodeContents":"selectNode"](e),this.selectRange(i)}get html(){const e=this.sel;if(e&&e.rangeCount>0){const t=e.getRangeAt(0).cloneContents(),i=this.j.createInside.div();return i.appendChild(t),i.innerHTML}return""}*wrapInTagGen(){if(this.isCollapsed()){const e=this.jodit.createInside.element("font",o.INVISIBLE_SPACE);this.insertNode(e,!1,!1);const[t]=this.markers;return t?e.appendChild(t):(this.setCursorIn(e),this.save()),yield e,void a.i.unwrap(e)}if((0,s.$$)("*[style*=font-size]",this.area).forEach((e=>(0,s.attr)(e,"data-font-size",""+e.style.fontSize))),this.isCollapsed()){const e=this.j.createInside.element("font");(0,s.attr)(e,"size",7),this.insertNode(e,!1,!1)}else this.j.nativeExecCommand("fontsize",!1,"7");(0,s.$$)("*[data-font-size]",this.area).forEach((e=>{const t=(0,s.attr)(e,"data-font-size");t&&(e.style.fontSize=t,(0,s.attr)(e,"data-font-size",null))}));const e=(0,s.$$)('font[size="7"]',this.area);for(const t of e){const{firstChild:e,lastChild:i}=t;e&&e===i&&d.isMarker(e)||(e&&d.isMarker(e)&&a.i.before(t,e),i&&d.isMarker(i)&&a.i.after(t,i),yield t),a.i.unwrap(t)}}wrapInTag(e){const t=[];for(const i of this.wrapInTagGen())try{if(i.firstChild&&i.firstChild===i.lastChild&&d.isMarker(i.firstChild))continue;(0,s.isFunction)(e)?e(i):t.push(a.i.replace(i,e,this.j.createInside))}finally{const e=i.parentNode;e&&(a.i.unwrap(i),a.i.isEmpty(e)&&a.i.unwrap(e))}return t}applyStyle(e,t={}){new C({style:e,element:t.element,className:t.className,defaultTag:t.defaultTag}).apply(this.j)}splitSelection(e){if(!this.isCollapsed())return null;const t=this.createRange(),i=this.range;t.setStartBefore(e);const s=this.cursorOnTheRight(e),n=this.cursorOnTheLeft(e),r=this.j.createInside.element("br"),l=this.j.createInside.text(o.INVISIBLE_SPACE),c=l.cloneNode();try{if(s||n){i.insertNode(r);const e=(e,t)=>{let i=t(e);for(;i;){const e=t(i);if(!i||!a.i.isTag(i,"br")&&!a.i.isEmptyTextNode(i))break;a.i.safeRemove(i),i=e}};e(r,(e=>e.nextSibling)),e(r,(e=>e.previousSibling)),a.i.after(r,c),a.i.before(r,l),s?(t.setEndBefore(r),i.setEndBefore(r)):(t.setEndAfter(r),i.setEndAfter(r))}else t.setEnd(i.startContainer,i.startOffset);const o=t.extractContents();if(e.parentNode)try{if(e.parentNode.insertBefore(o,e),s&&(null==r?void 0:r.parentNode)){const e=this.createRange();e.setStartBefore(r),this.selectRange(e)}}catch(e){}const d=e=>{var t,i,o;(null===(t=null==e?void 0:e.parentNode)||void 0===t?void 0:t.firstChild)===(null===(i=null==e?void 0:e.parentNode)||void 0===i?void 0:i.lastChild)&&(null===(o=null==e?void 0:e.parentNode)||void 0===o||o.appendChild(r.cloneNode()))};d(l),d(c)}finally{a.i.safeRemove(l),a.i.safeRemove(c)}return e.previousElementSibling}}function h(e,t,i){const o=i.s.createRange(),s=d.isMarker(t.previousSibling)?t.previousSibling:t;o.setStartBefore(e),o.setEndBefore(s),u(e,o,!0);const a=d.isMarker(t.nextSibling)?t.nextSibling:t;o.setStartAfter(a),o.setEndAfter(e),u(e,o,!1)}function u(e,t,i){const o=t.extractContents();o.textContent&&(0,s.trim)(o.textContent).length||!o.firstChild||a.i.unwrap(o.firstChild),e.parentNode&&(0,s.call)(i?a.i.before:a.i.after,e,o)}(0,l.gn)([c.autobind],d.prototype,"createRange",null),(0,l.gn)([c.autobind],d.prototype,"focus",null),(0,l.gn)([c.autobind],d.prototype,"setCursorAfter",null),(0,l.gn)([c.autobind],d.prototype,"setCursorBefore",null),(0,l.gn)([c.autobind],d.prototype,"setCursorIn",null);class p{constructor(e,t){this.state=e,this.transitions=t,this.subState="",this.silent=!0}setState(e,t){this.state=e,null!=t&&(this.subState=t)}getState(){return this.state}getSubState(){return this.subState}disableSilent(){this.silent=!1}dispatch(e,...t){const i=this.transitions[this.state][e];if(i)return i.call(this,...t);if(!this.silent)throw Error("invalid action: "+this.state+"."+e)}}function m(e){return!(!e||a.i.isEmptyTextNode(e)||a.i.isTemporary(e))}function g(e,t,i){if(!t)return!1;const{element:o,elementIsDefault:n,options:r}=e,l=!(!r.style||!((e,t)=>!(a.i.isTag(e,"font")||!a.i.isHTMLElement(e)||!Object.keys(t).every((i=>{const o=(0,s.css)(e,i,!0);return!(0,s.isVoid)(o)&&""!==o&&!(0,s.isVoid)(t[i])&&(""+(0,s.normalizeCssValue)(i,t[i])).toLowerCase()===(""+o).toLowerCase()}))))(t,r.style)),c=t.nodeName.toLowerCase()===o||a.i.isTag(t,["ul","ol"])&&e.elementIsList;return!!((!n||!i)&&c||l&&m(t))||!(c||i||!n||!a.i.isInlineBlock(t))}function f(e,t){const{element:i,options:o}=e;if(!t||!m(t))return!1;const n=t.nodeName.toLowerCase()===i,r=!(!o.style||!((e,t)=>!(a.i.isTag(e,"font")||!a.i.isHTMLElement(e)||!Object.keys(t).every((t=>!(0,s.isVoid)((0,s.css)(e,t,!0))))))(t,o.style));return n&&r}const b="unwrap",v="change",w="unset",y="initial",k="replace";class C{constructor(e){this.options=e}get elementIsList(){return!(!this.options.element||!["ul","ol"].includes(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 defaultTag(){return this.options.defaultTag?this.options.defaultTag:this.elementIsBlock?"p":"span"}get elementIsDefault(){return this.element===this.defaultTag}apply(e){!function(e,t){const{s:i,editor:o}=e,n=new p("start",{start:{start(){i.save(),(0,s.normalizeNode)(o.firstChild),this.setState("generator")}},generator:{initGenerator:()=>e.s.wrapInTagGen(),nextFont(e){const t=e.next();if(t.done)this.setState("end");else if(!((e,t)=>!!a.i.closest(e,["style","script"],t))(t.value,o)&&!a.i.isEmptyContent(t.value))return this.setState("check"),t.value}},check:{work(i){let o=((e,t,i)=>{const{parentNode:o}=t;return!a.i.isHTMLElement(o)||a.i.next(t,m,o)||a.i.prev(t,m,o)||!g(e,o,!1)||o===i||a.i.isBlock(o)&&!e.elementIsBlock?null:o})(t,i,e.editor)||((e,t)=>{let{firstChild:i}=t;for(;i&&!m(i);)if(i=i.nextSibling,!i)return null;return i&&!a.i.next(i,m,t)&&g(e,i,!1)?i:null})(t,i);return o?(this.setState("wholeElement"),o):(o=a.i.closest(i,(e=>g(t,e,!0)),e.editor),o&&(t.elementIsBlock||h(o,i,e)),t.elementIsList&&a.i.isTag(o,["ul","ol"])?(this.setState("orderList"),i):o?(this.setState("wholeElement"),o):((e,t)=>{const i=[],o=[];let n;const r=e.options.style;if(t.firstChild){const l=a.i.eachGen(t);let c=l.next();for(;!c.done;){const t=c.value;g(e,t,!0)?(void 0===n&&(n=!0),i.push(t)):r&&f(e,t)?(void 0===n&&(n=!1),o.push((()=>{(0,s.css)(t,Object.keys(r).reduce(((e,t)=>(e[t]=null,e)),{})),(0,s.attr)(t,"style")||(0,s.attr)(t,"style",null),t.nodeName.toLowerCase()===e.element&&i.push(t)}))):a.i.isEmptyTextNode(t)||void 0===n&&(n=!1),c=l.next()}}return o.forEach((e=>e())),i.forEach(a.i.unwrap),!!n})(t,i)?(this.setState("endProcess"),null):(this.setState("wrap"),i))}},wholeElement:{toggleStyles(i){let o=y;var s,n;n=i,o=((s=t).elementIsBlock||a.i.isTag(n,s.element)&&!s.elementIsDefault)&&(a.i.unwrap(n),1)?b:r(t,i,e,o),this.setState("generator",o)}},orderList:{toggleStyles(i){let o=y;const s=a.i.closest(i,"li",e.editor);s&&a.i.closest(i,["ul","ol"],e.editor)?(o=((e,t,i,o)=>{if(!t)return o;const s=t.parentElement;return s?s.tagName.toLowerCase()!==e.element?(r(e,a.i.replace(s,e.element,i.createInside),i,o),k):r(e,t.parentElement,i,y,!0)===v?r(e,t.parentElement,i,o):(h(s,t,i),a.i.unwrap(t.parentElement),a.i.replace(t,i.o.enter,i.createInside),o):o})(t,s,e,o),this.setState(o!==k&&o!==b&&o!==v?"generator":"endWhile")):this.setState("generator")}},wrap:{toggleStyles(i){if("unwrap"!==this.getSubState()){const o=((e,t,i)=>{const o=((e,t,i)=>{if(e.elementIsBlock){const e=a.i.up(t,(e=>a.i.isBlock(e)&&!a.i.isTag(e,["td","th","tr","tbody","table","li","ul","ol"])),i.editor);if(e)return e}return e.elementIsBlock?((e,t,i,o)=>{const s=i.editor,n=i.createInside,r=(e,t="previousSibling")=>{let o=e,n=e;for(;n&&!a.i.isTag(n,i.o.enter)&&(o=n,n=n[t]?n[t]:n.parentNode&&!a.i.isBlock(n.parentNode)&&n.parentNode!==s?n.parentNode:null,!a.i.isBlock(n)););return o},l=r(t),c=r(t,"nextSibling"),d=o();d.setStartBefore(l),d.setEndAfter(c);const h=d.extractContents(),u=n.element(e.element);return u.appendChild(h),d.insertNode(u),e.elementIsBlock&&a.i.isEmpty(u)&&!a.i.isTag(u.firstElementChild,"br")&&u.appendChild(n.element("br")),u})(e,t,i,i.s.createRange):((0,s.attr)(t,"size",null),t)})(e,t,i);return e.elementIsList?((e,t,i)=>{const o=a.i.replace(t,"li",i.createInside);let s=o.previousElementSibling||o.nextElementSibling;return a.i.isTag(s,["ul","ol"])||(s=i.createInside.element(e.element),a.i.before(o,s)),o.previousElementSibling===s?a.i.append(s,o):a.i.prepend(s,o),s})(e,o,i):a.i.replace(o,e.element,i.createInside,!0)})(t,i,e);r(t,o,e,"wrap")}this.setState("generator")}},endWhile:{nextFont(e){e.next().done&&this.setState("end")}},endProcess:{toggleStyles(){this.setState("generator")}},end:{finalize(){i.restore()}}});n.dispatch("start");const l=n.dispatch("initGenerator");for(;"end"!==n.getState();){const e=n.dispatch("nextFont",l);if(e){const t=n.dispatch("work",e);n.dispatch("toggleStyles",t)}}n.dispatch("finalize",l)}(e,this)}}},function(e,t,i){"use strict";i.r(t),i.d(t,{autobind:()=>S,cache:()=>s,component:()=>n,debounce:()=>d,getPropertyDescriptor:()=>w,hook:()=>p,idle:()=>u,nonenumerable:()=>m,persistent:()=>g,throttle:()=>h,wait:()=>f,watch:()=>y});var o=i(10);function s(e,t,i){const s=i.get;if(!s)throw(0,o.error)("Getter property descriptor expected");i.get=function(){const e=s.call(this);return e&&!0===e.noCache||Object.defineProperty(this,t,{configurable:i.configurable,enumerable:i.enumerable,writable:!1,value:e}),e}}const a=e=>(0,o.isFunction)(e.className)?e.className():NaN;function n(e){class t extends e{constructor(...e){super(...e);const i=Object.getPrototypeOf(this)===t.prototype,o=a(this)===a(t.prototype);(i||o)&&this.setStatus("ready")}}return t.prototype.constructor=e,t}var r=i(20),l=i(14),c=i(6);function d(e,t=!1,i="debounce"){return(o,s)=>{if(!(0,r.mf)(o[s]))throw(0,c.v)("Handler must be a Function");o.hookStatus(l.n$.ready,(o=>{const a=(0,r.f2)(o)?o:o.jodit,n=(0,r.mf)(e)?e(o):e;o[s]=a.async[i](o[s].bind(o),(0,r.hj)(n)||(0,r.PO)(n)?n:a.defaultTimeout,t)}))}}function h(e,t=!1){return d(e,t,"throttle")}function u(){return(e,t)=>{if(!(0,o.isFunction)(e[t]))throw(0,o.error)("Handler must be a Function");e.hookStatus(l.n$.ready,(e=>{const i=(0,o.isViewObject)(e)?e:e.jodit,s=e[t];e[t]=(...t)=>i.async.requestIdleCallback(s.bind(e,...t))}))}}function p(e){return(t,i)=>{if(!(0,r.mf)(t[i]))throw(0,c.v)("Handler must be a Function");t.hookStatus(e,(e=>{t[i].call(e)}))}}const m=(e,t)=>{!1!==(Object.getOwnPropertyDescriptor(e,t)||{}).enumerable&&Object.defineProperty(e,t,{enumerable:!1,set(e){Object.defineProperty(this,t,{enumerable:!1,writable:!0,value:e})}})};function g(e,t){e.hookStatus(l.n$.ready,(e=>{const i=(0,o.isViewObject)(e)?e:e.jodit,s=`${i.options.namespace}${e.componentName}_prop_${t}`,a=e[t];Object.defineProperty(e,t,{get(){var e;return null!==(e=i.storage.get(s))&&void 0!==e?e:a},set(e){i.storage.set(s,e)}})}))}function f(e){return(t,i)=>{if(!(0,o.isFunction)(t[i]))throw(0,o.error)("Handler must be a Function");t.hookStatus(l.n$.ready,(t=>{const s=(0,o.isViewObject)(t)?t.async:t.j.async,a=t[i];let n=0;t[i]=function i(...o){s.clearTimeout(n),e(t)?a.apply(t,o):n=s.setTimeout((()=>i(...o)),10)}}))}}var b=i(5),v=i(26);function w(e,t){let i;do{i=Object.getOwnPropertyDescriptor(e,t),e=Object.getPrototypeOf(e)}while(!i&&e);return i}function y(e,t){return(i,o)=>{if(!(0,r.mf)(i[o]))throw(0,c.v)("Handler must be a Function");const s=s=>{const a=(e,...t)=>{if(!s.isInDestruct)return s[o](e,...t)};(0,v.C)(e).forEach((e=>{if(/:/.test(e)){const[i,o]=e.split(":"),n=(0,r.f2)(s)?s:s.jodit;return i.length&&(t=s.get(i)),(0,r.mf)(t)&&(t=t(s)),n.events.on(t||s,o,a),t||n.events.on(o,a),void n.hookStatus("beforeDestruct",(()=>{n.events.off(t||s,o,a).off(o,a)}))}const o=e.split("."),[n]=o,l=o.slice(1);let c=s[n];(0,r.PO)(c)&&(0,b.LO)(c).on("change."+l.join("."),a);const d=w(i,n);Object.defineProperty(s,n,{configurable:!0,set(e){const t=c;t!==e&&(c=e,d&&d.set&&d.set.call(s,e),(0,r.PO)(c)&&(c=(0,b.LO)(c),c.on("change."+l.join("."),a)),a(n,t,c))},get(){return d&&d.get?d.get.call(s):c}})}))};(0,r.mf)(i.hookStatus)?i.hookStatus(l.n$.ready,s):s(i)}}function k(e){return k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e=>typeof e:e=>e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e,k(e)}function C(e,t,i){var o=i.value;if("function"!=typeof o)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(k(o)));var s=!1;return{configurable:!0,get(){if(s||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof o)return o;var i=o.bind(this);return s=!0,Object.defineProperty(this,t,{configurable:!0,get:()=>i,set(e){o=e,delete this[t]}}),s=!1,i},set(e){o=e}}}function x(e){var t;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?t=Reflect.ownKeys(e.prototype):(t=Object.getOwnPropertyNames(e.prototype),"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e.prototype)))),t.forEach((t=>{if("constructor"!==t){var i=Object.getOwnPropertyDescriptor(e.prototype,t);"function"==typeof i.value&&Object.defineProperty(e.prototype,t,C(e,t,i))}})),e}function S(){return 1===arguments.length?x.apply(void 0,arguments):C.apply(void 0,arguments)}},(e,t,i)=>{"use strict";function o(){let e=!0;try{const t=document.createElement("input");t.type="color",e="color"===t.type&&"number"!=typeof t.selectionStart}catch(t){e=!1}return e}i.d(t,{EO:()=>o,Zt:()=>b,kJ:()=>s.k,jn:()=>a,Z$:()=>f,Xy:()=>r,LP:()=>l,mf:()=>c.m,FP:()=>h,I4:()=>u,Gu:()=>g,GN:()=>w,Zu:()=>k,A1:()=>x,QC:()=>S.Q,hj:()=>_,kE:()=>v.k,PO:()=>I,tI:()=>j.t,HD:()=>d.H,PX:()=>T,r1:()=>z,f2:()=>C,nj:()=>m.n,FJ:()=>E});var s=i(9);function a(e){return"boolean"==typeof e}var n=i(21);function r(e,t){return e===t||(0,n.P)(e)===(0,n.P)(t)}function l(e,t){return e===t}var c=i(8),d=i(7);const h=e=>(0,d.H)(e)&&/<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(e.replace(/[\r\n]/g,""));function u(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/)}var p=i(17),m=i(22);function g(e){return!(0,m.n)(e)&&(0,c.m)(e.init)}function f(e){return!(0,m.n)(e)&&(0,c.m)(e.destruct)}function b(e){return!(0,m.n)(e)&&p.i.isElement(e.container)}var v=i(23);function w(e){return(0,d.H)(e)&&(0,v.k)(e)&&(e=parseFloat(e)),"number"==typeof e&&Number.isFinite(e)&&!(e%1)}var y=i(15);function k(e){return!!(e&&e instanceof Object&&(0,c.m)(e.constructor)&&("undefined"!=typeof Jodit&&e instanceof Jodit||e.isJodit))}function C(e){return!!(e&&e instanceof Object&&(0,c.m)(e.constructor)&&(e instanceof y.qz.View||e.isView))}const x=e=>(0,d.H)(e)&&23===e.length&&/^[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}$/i.test(e);var S=i(24);function _(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function E(e){return null!=e&&e===e.window}function I(e){return!(!e||"object"!=typeof e||e.nodeType||E(e)||e.constructor&&!{}.hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))}var j=i(25);function T(e){if(e.includes(" "))return!1;if("undefined"!=typeof URL)try{const t=new URL(e);return["https:","http:","ftp:","file:","rtmp:"].includes(t.protocol)}catch(e){return!1}const t=document.createElement("a");return t.href=e,!!t.hostname}function z(e){return!!e.length&&!/[^0-9A-Za-zа-яА-ЯЁё\w\-_.]/.test(e)}},(e,t,i)=>{"use strict";function o(e,t={}){if("object"!=typeof e)return e+"";const i=new Set(t.excludeKeys),o=new WeakMap;return JSON.stringify(e,((e,t)=>{if(!i.has(e)){if("object"==typeof t&&null!=t){if(o.get(t))return"[refObject]";o.set(t,!0)}return t}}),t.prettify)}i.d(t,{P:()=>o})},(e,t,i)=>{"use strict";function o(e){return null==e}i.d(t,{n:()=>o})},(e,t,i)=>{"use strict";i.d(t,{k:()=>s});var o=i(7);function s(e){if((0,o.H)(e)){if(!e.match(/^([+-])?[0-9]+(\.?)([0-9]+)?(e[0-9]+)?$/))return!1;e=parseFloat(e)}return"number"==typeof e&&!isNaN(e)&&isFinite(e)}},(e,t,i)=>{"use strict";function o(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(e+""))}i.d(t,{Q:()=>o})},(e,t,i)=>{"use strict";function o(e){return e&&"function"==typeof e.then}i.d(t,{t:()=>o})},(e,t,i)=>{"use strict";i.d(t,{C:()=>s});var o=i(7);function s(e){return(0,o.H)(e)?e.split(/[,\s]+/):e}},(e,t,i)=>{"use strict";function o(e,t,i,o){var s,a=arguments.length,n=3>a?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(n=(3>a?s(n):a>3?s(t,i,n):s(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n}i.d(t,{gn:()=>o})},(e,t,i)=>{"use strict";i.d(t,{k:()=>s,g:()=>a});var o=i(8);const s=new Map,a=e=>{var t;if((0,o.m)(e.className))return e.className();const i=(null===(t=e.constructor)||void 0===t?void 0:t.originalConstructor)||e.constructor;if(s.has(i))return s.get(i);if(i.name)return i.name;const a=(""+i).match(/^\s*function\s*(\S*)\s*\(/);return a?a[1]:""}},(e,t,i)=>{"use strict";i.d(t,{gP:()=>n,eV:()=>o,ag:()=>m,GL:()=>a,gB:()=>p,Pz:()=>s.P,fy:()=>r.f,as:()=>r.a,Ps:()=>l});const o=e=>e.replace(/([-_])(.)/g,((e,t,i)=>i.toUpperCase()));var s=i(21);const a=e=>e.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),n=e=>e.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();var r=i(30);function l(e){return e.length?e[0].toUpperCase()+e.substr(1):""}var c=i(2),d=i(11),h=i(20),u=i(15);const p=(e,t)=>{if(!t||!t.length)return e;const i=/%([sd])/g;let o=i.exec(e),s=e,a=0;for(;o&&void 0!==t[a];)s=s.replace(o[0],""+t[a]),a+=1,o=i.exec(e);return s},m=(e,t,i)=>{if(!(0,h.HD)(e))throw(0,d.vU)("i18n: Need string in first argument");if(!e.length)return e;const o=!(void 0===i||!i.debugLanguage);let s;const a=e=>t&&t.length?p(e,t):e,n=(0,d.X9)(c.D.defaultOptions.language,c.D.defaultOptions.language),r=(0,d.X9)(null==i?void 0:i.language,n),m=t=>{if(!t)return;if((0,h.HD)(t[e]))return a(t[e]);const i=e.toLowerCase();if((0,h.HD)(t[i]))return a(t[i]);const o=l(e);return(0,h.HD)(t[o])?a(t[o]):void 0};s=void 0!==u.KQ[r]?u.KQ[r]:void 0!==u.KQ[n]?u.KQ[n]:u.KQ.en;const g=null==i?void 0:i.i18n;if(g&&g[r]){const e=m(g[r]);if(e)return e}return m(s)||(u.KQ.en&&(0,h.HD)(u.KQ.en[e])&&u.KQ.en[e]?a(u.KQ.en[e]):o?"{"+e+"}":a(e))}},(e,t,i)=>{"use strict";i.d(t,{f:()=>s,a:()=>a});var o=i(3);function s(e){return e.replace((0,o.SPACE_REG_EXP_END)(),"").replace((0,o.SPACE_REG_EXP_START)(),"")}function a(e){return e.replace((0,o.INVISIBLE_SPACE_REG_EXP_END)(),"").replace((0,o.INVISIBLE_SPACE_REG_EXP_START)(),"")}},(e,t,i)=>{"use strict";i.d(t,{i:()=>n,b:()=>r});var o=i(20),s=i(32),a=i(29);function n(e,t,i,r=!1){const l=/^left|top|bottom|right|width|min|max|height|margin|padding|fontsize|font-size/i;if((0,o.jn)(i)&&(r=i,i=void 0),(0,o.PO)(t)||void 0!==i){const r=(e,t,i)=>{!(0,o.nj)(i)&&l.test(t)&&(0,o.kE)(""+i)&&(i=parseInt(""+i,10)+"px"),void 0===i||null!=i&&n(e,t,!0)===(0,s.Zh)(t,i)||(e.style[t]=i)};if((0,o.PO)(t)){const i=Object.keys(t);for(let o=0;i.length>o;o+=1)r(e,(0,a.eV)(i[o]),t[i[o]])}else r(e,(0,a.eV)(t),i);return""}const c=(0,a.GL)(t),d=e.ownerDocument||document,h=!!d&&(d.defaultView||d.parentWindow),u=e.style[t];let p="";return void 0!==u&&""!==u?p=u:h&&!r&&(p=h.getComputedStyle(e).getPropertyValue(c)),l.test(t)&&/^[-+]?[0-9.]+px$/.test(""+p)&&(p=parseInt(""+p,10)),(0,s.Zh)(t,p)}const r=e=>{"block"===n(e,"display")&&n(e,"display","");const{style:t}=e;"auto"===t.marginLeft&&"auto"===t.marginRight&&(t.marginLeft="",t.marginRight="")}},(e,t,i)=>{"use strict";i.d(t,{ut:()=>f,Zh:()=>g,T2:()=>a,Pd:()=>n,Tz:()=>l,AH:()=>c,Jf:()=>d,aC:()=>h,D5:()=>u});var o=i(29),s=i(3);function a(e){const t={};return e.replace(/\+\+/g,"+add").split(/[\s]*\+[\s]*/).map((e=>(0,o.fy)(e.toLowerCase()))).map((e=>s.KEY_ALIASES[e]||e)).sort().filter((e=>!t[e]&&""!==e&&(t[e]=!0))).join("+")}const n=(e,t=8)=>{const i=[];for(;e.length;)i.push(e.substr(0,t)),e=e.substr(t);return i[1]=i[1].replace(/./g,"*"),i[2]=i[2].replace(/./g,"*"),i.join("-")};var r=i(17);const l=e=>{if(e){if(r.i.isText(e)&&null!=e.nodeValue&&e.parentNode)for(;r.i.isText(e.nextSibling);)null!=e.nextSibling.nodeValue&&(e.nodeValue+=e.nextSibling.nodeValue),e.nodeValue=e.nodeValue.replace((0,s.INVISIBLE_SPACE_REG_EXP)(),""),r.i.safeRemove(e.nextSibling);else l(e.firstChild);l(e.nextSibling)}},c=(...e)=>e.filter((e=>(0,o.fy)(e).length)).map(((t,i)=>(t=t.replace(/([^:])[\\/]+/g,"$1/"),i&&(t=t.replace(/^\//,"")),i!==e.length-1&&(t=t.replace(/\/$/,"")),t))).join("/"),d=e=>e.split("/").reduce(((e,t)=>{switch(t){case"":case".":break;case"..":e.pop();break;default:e.push(t)}return e}),[]).join("/")+(e.endsWith("/")?"/":""),h=e=>/^[0-9]+$/.test(""+e)?e+"px":""+e,u=(...e)=>e.filter((e=>e.length)).map((e=>e.replace(/\/$/,""))).join("/").replace(/([^:])[\\/]+/g,"$1/");var p=i(20),m=i(33);function g(e,t){if("font-weight"===(0,o.GL)(e)){switch((""+t).toLowerCase()){case"700":case"bold":return 700;case"400":case"normal":return 400;case"900":case"heavy":return 900}return(0,p.kE)(t)?Number(t):t}return/color/i.test(e)&&/^rgb/i.test(""+t)&&(0,m.h)(""+t)||t}const f=e=>{const t=["#"];let i=(0,m.h)(e);if(!i)return!1;if(i=(0,o.fy)(i.toUpperCase()),i=i.substr(1),3===i.length){for(let e=0;3>e;e+=1)t.push(i[e]),t.push(i[e]);return t.join("")}return i.length>6&&(i=i.substr(0,6)),"#"+i}},(e,t,i)=>{"use strict";i.d(t,{h:()=>o});const o=e=>{if("rgba(0, 0, 0, 0)"===e||""===e)return!1;if(!e)return"#000000";if("#"===e.substr(0,1))return e;const 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";const i=parseInt(t[2],10),o=parseInt(t[3],10);let s=(parseInt(t[4],10)|o<<8|i<<16).toString(16).toUpperCase();for(;6>s.length;)s="0"+s;return t[1]+"#"+s}},(e,t,i)=>{"use strict";i.d(t,{U:()=>a});var o=i(7),s=i(22);function a(e,t){if(!(0,o.H)(e)||!e.length)return null;const i=e.split(".");let a=t;for(const e of i){if((0,s.n)(a[e]))return null;a=a[e]}return(0,s.n)(a)?null:a}},(e,t,i)=>{"use strict";i.d(t,{_2:()=>s,C1:()=>a.C,qo:()=>n.q});var o=i(9);const s=e=>(0,o.k)(e)?e:[e];var a=i(26),n=i(36)},(e,t,i)=>{"use strict";i.d(t,{q:()=>a});var o=i(12),s=i(24);const a=(...e)=>{var t;return((0,s.Q)(Array.from)?Array.from:null!==(t=(0,o.mc)("Array.from"))&&void 0!==t?t:Array.from).apply(Array,e)}},function(e,t,i){"use strict";i.d(t,{zx:()=>s.zx,JO:()=>l.J,GI:()=>a.G,ko:()=>d,eC:()=>r.eC,y3:()=>s.y3,BO:()=>s.BO,mA:()=>r.mA,u1:()=>o.u,Z:()=>r.Z,x4:()=>r.x4,qe:()=>n.qe,u3:()=>r.u3,bz:()=>n.bz,Cj:()=>r.Cj,lU:()=>n.lU,GJ:()=>r.GJ});var o=i(38),s=i(41),a=i(46),n=i(43),r=i(47),l=i(40),c=i(17);class d extends o.u{className(){return"ProgressBar"}render(){return"<div><div></div></div>"}show(){return(this.j.workplace||this.j.container).appendChild(this.container),this}hide(){return c.i.safeRemove(this.container),this}progress(e){return this.container.style.width=e.toFixed(2)+"%",this}destruct(){return this.hide(),super.destruct()}}},function(e,t,i){"use strict";i.d(t,{u:()=>l});var o=i(14),s=i(17),a=i(39),n=i(10),r=i(40);class l extends o.Hr{constructor(e,t){super(e),this.name="",this.__parentElement=null,this.mods={},this.container=this.createContainer(t),Object.defineProperty(this.container,"component",{value:this,configurable:!0})}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)||void 0===t||t.updateParentElement(e),this}get(e,t){return super.get(e,t)||this.getElm(e)}closest(e){const t="object"==typeof e?t=>t===e:t=>t instanceof e;let i=this.__parentElement;for(;i;){if(t(i))return i;i=!i.parentElement&&i.container.parentElement?l.closestElement(i.container.parentElement,l):i.parentElement}return null}static closestElement(e,t){const i=s.i.up(e,(e=>{if(e){const{component:i}=e;return i&&i instanceof t}return!1}));return i?null==i?void 0:i.component:null}setMod(e,t,i=this.container){return a.$.setMod.call(this,e,t,i),this}getMod(e){return a.$.getMod.call(this,e)}getElm(e){return a.F.getElm.call(this,e)}getElms(e){return a.F.getElms.call(this,e)}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){const t=this.render(e);if((0,n.isString)(t)){const e=this.j.c.fromHTML(t.replace(/\*([^*]+?)\*/g,((e,t)=>r.J.get(t)||"")).replace(/&__/g,this.componentName+"__").replace(/~([^~]+?)~/g,((e,t)=>this.i18n(t))));return e.classList.add(this.componentName),e}return t}destruct(){return s.i.safeRemove(this.container),this.parentElement=null,super.destruct()}}},function(e,t,i){"use strict";i.d(t,{F:()=>s,$:()=>n});var o=i(36);class s{static getElm(e){return this.container.querySelector("."+this.getFullElName(e))}static getElms(e){return(0,o.q)(this.container.querySelectorAll("."+this.getFullElName(e)))}}var a=i(22);class n{static setMod(e,t,i){if(e=e.toLowerCase(),this.mods[e]===t)return;const s=`${this.componentName}_${e}`,n=(i||this.container).classList;(0,o.q)(n).forEach((e=>{0===e.indexOf(s)&&n.remove(e)})),!(0,a.n)(t)&&""!==t&&n.add(`${s}_${(""+t).toLowerCase()}`),this.mods[e]=t}static getMod(e){var t;return null!==(t=this.mods[e])&&void 0!==t?t:null}}},function(e,t,i){"use strict";i.d(t,{J:()=>s});var o=i(10);class s{static getIcon(e){return/<svg/i.test(e)?e:s.icons[e]||s.icons[e.replace(/-/g,"_")]||s.icons[e.replace(/_/g,"-")]||s.icons[e.toLowerCase()]}static exists(e){return void 0!==this.getIcon(e)}static get(e,t="<span></span>"){return this.getIcon(e)||t}static set(e,t){return this.icons[e.replace("_","-")]=t,this}static makeIcon(e,t){var i;let a;if(t){const n=t.name.replace(/[^a-zA-Z0-9]/g,"_");if(t.iconURL)a=e.c.span(),(0,o.css)(a,"backgroundImage","url("+t.iconURL.replace("{basePath}",(null==e?void 0:e.basePath)||"")+")");else{const o=e.e.fire("getIcon",t.name,t,n)||s.get(t.name,"")||(null===(i=e.o.extraIcons)||void 0===i?void 0:i[t.name]);o&&(a=e.c.fromHTML(o.trim()),/^<svg/i.test(t.name)||a.classList.add("jodit-icon_"+n))}}return a&&(a.classList.add("jodit-icon"),a.style.fill=t.fill),a}}s.icons={}},function(e,t,i){"use strict";i.d(t,{zx:()=>o.zx,y3:()=>o.y3,BO:()=>l,Yc:()=>o.Yc});var o=i(42),s=i(27),a=i(43),n=i(19),r=i(10);let l=class extends a.qe{constructor(e,t={radio:!0}){var i,s;super(e,null===(i=t.options)||void 0===i?void 0:i.map((t=>{const i=new o.y3(e,{text:t.text,value:t.value,variant:"primary"});return i.onAction((()=>{this.select(t.value)})),i})),t),this.options=t,this.select(null!==(s=t.value)&&void 0!==s?s:0)}className(){return"UIButtonGroup"}render(e){return`<div>\n\t\t\t<div class="&__label">~${e.label}~</div>\n\t\t\t<div class="&__options"></div>\n\t\t</div>`}appendChildToContainer(e){const t=this.getElm("options");(0,r.assert)(null!=t,"Options does not exist"),t.appendChild(e)}select(e){var t,i;this.elements.forEach(((t,i)=>{i===e||t.state.value===e?t.state.activated=!0:this.options.radio&&(t.state.activated=!1)}));const o=this.elements.filter((e=>e.state.activated)).map((e=>({text:e.state.text,value:e.state.value})));this.jodit.e.fire(this,"select",o),null===(i=(t=this.options).onChange)||void 0===i||i.call(t,o)}};l=(0,s.gn)([n.component],l)},function(e,t,i){"use strict";i.d(t,{Yc:()=>c,y3:()=>d,zx:()=>h});var o=i(27),s=i(37),a=i(17),n=i(10),r=i(19),l=i(14);const c=()=>({size:"middle",type:"button",name:"",value:"",variant:"initial",disabled:!1,activated:!1,icon:{name:"empty",fill:"",iconURL:""},tooltip:"",text:"",tabIndex:void 0});let d=class extends s.u1{constructor(e,t){super(e),this.isButton=!0,this.state=c(),this.actionHandlers=[],this.updateSize(),this.onChangeSize(),this.onChangeStatus(),t&&this.hookStatus(l.n$.ready,(()=>{this.setState(t)}))}className(){return"UIButton"}setState(e){return Object.assign(this.state,e),this}onChangeSize(){this.setMod("size",this.state.size)}onChangeType(){(0,n.attr)(this.container,"type",this.state.type)}updateSize(){const e=this.closest(s.bz);e&&(this.state.size=e.buttonSize)}onChangeStatus(){this.setMod("variant",this.state.variant)}onChangeText(){this.text.textContent=this.jodit.i18n(this.state.text)}onChangeTextSetMode(){this.setMod("text-icons",!!this.state.text.trim().length)}onChangeDisabled(){(0,n.attr)(this.container,"disabled",this.state.disabled||null)}onChangeActivated(){(0,n.attr)(this.container,"aria-pressed",this.state.activated)}onChangeName(){this.container.classList.add(`${this.componentName}_${this.clearName(this.state.name)}`),this.name=this.state.name,(0,n.attr)(this.container,"data-ref",this.state.name),(0,n.attr)(this.container,"ref",this.state.name)}onChangeTooltip(){this.get("j.o.useNativeTooltip")&&(0,n.attr)(this.container,"title",this.state.tooltip),(0,n.attr)(this.container,"aria-label",this.state.tooltip)}onChangeTabIndex(){(0,n.attr)(this.container,"tabindex",this.state.tabIndex)}onChangeIcon(){const e=this.get("j.o.textIcons");if(!0===e||(0,n.isFunction)(e)&&e(this.state.name))return;a.i.detach(this.icon);const t=s.JO.makeIcon(this.j,this.state.icon);t&&this.icon.appendChild(t)}focus(){this.container.focus()}isFocused(){const{activeElement:e}=this.od;return!(!e||!a.i.isOrContains(this.container,e))}createContainer(){const e=this.componentName,t=this.j.c.element("button",{class:e,type:"button",role:"button",ariaPressed:!1});return this.icon=this.j.c.span(e+"__icon"),this.text=this.j.c.span(e+"__text"),t.appendChild(this.icon),t.appendChild(this.text),this.j.e.on(t,"click",this.onActionFire),t}destruct(){return this.j.e.off(this.container),super.destruct()}onAction(e){return this.actionHandlers.push(e),this}onActionFire(e){e.buffer={actionTrigger:this},this.actionHandlers.forEach((t=>t.call(this,e)))}};function h(e,t,i,o){const s=new d(e);return s.state.tabIndex=e.o.allowTabNavigation?0:-1,(0,n.isString)(t)?(s.state.icon.name=t,s.state.name=t,o&&(s.state.variant=o),i&&(s.state.text=i)):s.setState(t),s}(0,o.gn)([(0,r.watch)("state.size")],d.prototype,"onChangeSize",null),(0,o.gn)([(0,r.watch)("state.type")],d.prototype,"onChangeType",null),(0,o.gn)([(0,r.watch)("parentElement")],d.prototype,"updateSize",null),(0,o.gn)([(0,r.watch)("state.variant")],d.prototype,"onChangeStatus",null),(0,o.gn)([(0,r.watch)("state.text")],d.prototype,"onChangeText",null),(0,o.gn)([(0,r.watch)("state.text")],d.prototype,"onChangeTextSetMode",null),(0,o.gn)([(0,r.watch)("state.disabled")],d.prototype,"onChangeDisabled",null),(0,o.gn)([(0,r.watch)("state.activated")],d.prototype,"onChangeActivated",null),(0,o.gn)([(0,r.watch)("state.name")],d.prototype,"onChangeName",null),(0,o.gn)([(0,r.watch)("state.tooltip")],d.prototype,"onChangeTooltip",null),(0,o.gn)([(0,r.watch)("state.tabIndex")],d.prototype,"onChangeTabIndex",null),(0,o.gn)([(0,r.watch)("state.icon")],d.prototype,"onChangeIcon",null),(0,o.gn)([r.autobind],d.prototype,"onActionFire",null),d=(0,o.gn)([r.component],d)},function(e,t,i){"use strict";i.d(t,{qe:()=>c,bz:()=>w,lU:()=>p});var o,s=i(27),a=i(38),n=i(19),r=i(10),l=i(17);let c=o=class extends a.u{constructor(e,t,i){super(e,i),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)}className(){return"UIGroup"}get allChildren(){const e=[],t=[...this.elements];for(;t.length;){const i=t.shift();(0,r.isArray)(i)?t.push(...i):i instanceof o?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){if((0,r.isArray)(e))return e.forEach((e=>this.append(e,t))),this;if(this.elements.push(e),e.name&&e.container.classList.add(this.getFullElName(e.name)),t){const i=this.getElm(t);(0,r.assert)(null!=i,"Element does not exist"),i.appendChild(e.container)}else this.appendChildToContainer(e.container);return e.parentElement=this,e.update(),this}setMod(e,t){return this.syncMod&&this.elements.forEach((i=>i.setMod(e,t))),super.setMod(e,t)}appendChildToContainer(e){this.container.appendChild(e)}remove(e){const t=this.elements.indexOf(e);return-1!==t&&(this.elements.splice(t,1),l.i.safeRemove(e.container),e.parentElement=null),this}clear(){return this.elements.forEach((e=>e.destruct())),this.elements.length=0,this}destruct(){return this.clear(),super.destruct()}};(0,s.gn)([(0,n.watch)("buttonSize")],c.prototype,"update",null),c=o=(0,s.gn)([n.component],c);var d=i(44),h=i(2),u=i(20);let p=class extends a.u{className(){return"UISeparator"}};p=(0,s.gn)([n.component],p);var m=i(37);let g=class extends m.u1{className(){return"UISpacer"}};g=(0,s.gn)([n.component],g);var f=i(42),b=i(45),v=i(35);let w=class extends c{constructor(e){super(e),this.mode="horizontal",this.removeButtons=[],this.onChangeMode()}className(){return"UIList"}onChangeMode(){this.setMod("mode",this.mode)}makeGroup(){return new c(this.jodit)}get buttons(){return this.allChildren.filter((e=>e instanceof f.y3))}getButtonsNames(){return this.buttons.map((e=>e instanceof f.y3&&e.state.name||"")).filter((e=>""!==e))}setRemoveButtons(e){return this.removeButtons=e||[],this}build(e,t=null){e=(0,v.C1)(e),this.clear();let i,o=!1,s=this.makeGroup();this.append(s),s.setMod("line",!0);const a=e=>{let a=null;switch(e.name){case"\n":s=this.makeGroup(),s.setMod("line",!0),i=this.makeGroup(),s.append(i),this.append(s);break;case"|":o||(o=!0,a=new p(this.j));break;case"---":{i.setMod("before-spacer",!0);const e=new g(this.j);s.append(e),i=this.makeGroup(),s.append(i),o=!1;break}default:o=!1,a=this.makeButton(e,t)}a&&(i||(i=this.makeGroup(),s.append(i)),i.append(a))},n=e=>!this.removeButtons.includes(e.name);return e.forEach((e=>{if((0,b.A)(e)){const t=e.buttons.filter((e=>e));t.length&&(i=this.makeGroup(),i.setMod("separated",!0).setMod("group",e.group),s.append(i),((e,t)=>((0,u.kJ)(e)?e:(0,r.keys)(e,!1).map((t=>(0,r.ConfigProto)({name:t},e[t]||{})))).map((e=>(0,d.Y)(e,t||h.D.defaultOptions.controls))))(t,this.j.o.controls).filter(n).forEach(a))}else{i||(i=this.makeGroup(),s.append(i));const t=(0,d.Y)(e,this.j.o.controls);n(t)&&a(t)}})),this.update(),this}makeButton(e,t){return new f.y3(this.j)}};(0,s.gn)([(0,n.watch)("mode")],w.prototype,"onChangeMode",null),w=(0,s.gn)([n.component],w)},(e,t,i)=>{"use strict";i.d(t,{Y:()=>a,z:()=>n});var o=i(10),s=i(2);function a(e,t){let i;return t||(t=s.D.defaultOptions.controls),(0,o.isString)(e)?i=n(e,t)||{name:e,command:e,tooltip:e}:(i={name:"empty",...(0,o.ConfigFlatten)(e)},void 0!==t[i.name]&&(i={...(0,o.ConfigFlatten)(t[i.name]),...(0,o.ConfigFlatten)(i)})),i}function n(e,t){let[i,s]=e.split(/\./),a=t;return null!=s?void 0!==t[i]&&(a=t[i]):s=i,a[s]?{name:s,...(0,o.ConfigFlatten)(a[s])}:void 0}},(e,t,i)=>{"use strict";i.d(t,{A:()=>s,q:()=>a});var o=i(20);const s=e=>(0,o.kJ)(e.buttons);function a(e,t){const i=t.getRegisteredButtonGroups();return new Set(e.reduce(((e,t)=>{var o;return s(t)?e=e.concat([...t.buttons,...null!==(o=i[t.group])&&void 0!==o?o:[]]):e.push(t),e}),[]))}},function(e,t,i){"use strict";i.d(t,{G:()=>c});var o=i(27),s=i(17),a=i(10),n=i(15),r=i(37),l=i(19);class c extends r.u1{constructor(e,t=!0){super(e),this.smart=t,this.isOpened=!1,this.strategy="leftBottom",this.viewBound=()=>({left:0,top:0,width:this.ow.innerWidth,height:this.ow.innerHeight}),this.childrenPopups=new Set,(0,a.attr)(this.container,"role","popup")}className(){return"Popup"}updateParentElement(e){return e!==this&&e instanceof c&&(this.childrenPopups.forEach((t=>{!e.closest(t)&&t.isOpened&&t.close()})),this.childrenPopups.has(e)||this.j.e.on(e,"beforeClose",(()=>{this.childrenPopups.delete(e)})),this.childrenPopups.add(e)),super.updateParentElement(e)}setContent(e){s.i.detach(this.container);const t=this.j.c.div(this.componentName+"__content");let i;return e instanceof r.u1?(i=e.container,e.parentElement=this):i=(0,a.isString)(e)?this.j.c.fromHTML(e):e,t.appendChild(i),this.container.appendChild(t),this.updatePosition(),this}open(e,t=!1){(0,a.markOwner)(this.jodit,this.container),this.calculateZIndex(),this.isOpened=!0,this.addGlobalListeners(),this.targetBound=t?this.getKeepBound(e):e;const i=(0,n.ZO)(this.jodit,c);return i!==this.container.parentElement&&i.appendChild(this.container),this.updatePosition(),this.j.e.fire(this,"afterOpen"),this}calculateZIndex(){if(this.container.style.zIndex)return;const e=e=>{const t=e.container.style.zIndex||e.o.zIndex;return!!t&&(this.setZIndex(1+parseInt(""+t,10)),!0)};if(e(this.j))return;let t=this.parentElement;for(;t;){if(e(t.j))return;if(t.container.style.zIndex)return void this.setZIndex(1+parseInt(""+t.container.style.zIndex,10));if(!t.parentElement&&t.container.parentElement){const e=r.u1.closestElement(t.container.parentElement,r.u1);if(e){t=e;continue}}t=t.parentElement}}getKeepBound(e){const t=e(),i=this.od.elementFromPoint(t.left,t.top);if(!i)return e;const o=s.i.isHTMLElement(i)?i:i.parentElement,n=(0,a.position)(o,this.j);return()=>{const t=e(),i=(0,a.position)(o,this.j);return{...t,top:t.top+(i.top-n.top),left:t.left+(i.left-n.left)}}}updatePosition(){if(!this.isOpened)return this;const[e,t]=this.calculatePosition(this.targetBound(),this.viewBound(),(0,a.position)(this.container,this.j));return this.setMod("strategy",t),(0,a.css)(this.container,{left:e.left,top:e.top}),this.childrenPopups.forEach((e=>e.updatePosition())),this}throttleUpdatePosition(){this.updatePosition()}calculatePosition(e,t,i,o=this.strategy){const s={left:e.left,right:e.left-(i.width-e.width)},n={bottom:e.top+e.height,top:e.top-i.height},r=Object.keys(s).reduce(((e,t)=>e.concat(Object.keys(n).map((e=>`${t}${(0,a.ucfirst)(e)}`)))),[]),l=e=>{const[t,o]=(0,a.kebabCase)(e).split("-");return{left:s[t],top:n[o],width:i.width,height:i.height}},d=e=>{let t=null;return t=c.boxInView(l(o),e)?o:r.find((t=>{if(c.boxInView(l(t),e))return t}))||null,t};let h=d((0,a.position)(this.j.container,this.j));return h&&c.boxInView(l(h),t)||(h=d(t)||h||o),[l(h),h]}static boxInView(e,t){return!(-2>e.top-t.top||-2>e.left-t.left||-2>t.top+t.height-(e.top+e.height)||-2>t.left+t.width-(e.left+e.width))}close(){return this.isOpened?(this.isOpened=!1,this.childrenPopups.forEach((e=>e.close())),this.j.e.fire(this,"beforeClose"),this.j.e.fire("beforePopupClose",this),this.removeGlobalListeners(),s.i.safeRemove(this.container),this):this}closeOnOutsideClick(e){if(!this.isOpened)return;const t=(0,a.isFunction)(e.composedPath)&&e.composedPath()[0]||e.target;if(!t)return void this.close();const i=r.u1.closestElement(t,c);i&&(this===i||i.closest(this))||this.close()}addGlobalListeners(){const e=this.throttleUpdatePosition,t=this.ow;n.TB.on("closeAllPopups",this.close),this.smart&&this.j.e.on("escape",this.close).on("mousedown touchstart",this.closeOnOutsideClick).on(t,"mousedown touchstart",this.closeOnOutsideClick),this.j.e.on("closeAllPopups",this.close).on("resize",e).on(this.container,"scroll mousewheel",e).on(t,"scroll",e).on(t,"resize",e),s.i.up(this.j.container,(t=>{t&&this.j.e.on(t,"scroll mousewheel",e)}))}removeGlobalListeners(){const e=this.throttleUpdatePosition,t=this.ow;n.TB.off("closeAllPopups",this.close),this.smart&&this.j.e.off("escape",this.close).off("mousedown touchstart",this.closeOnOutsideClick).off(t,"mousedown touchstart",this.closeOnOutsideClick),this.j.e.off("closeAllPopups",this.close).off("resize",e).off(this.container,"scroll mousewheel",e).off(t,"scroll",e).off(t,"resize",e),s.i.up(this.j.container,(t=>{t&&this.j.e.off(t,"scroll mousewheel",e)}))}setZIndex(e){this.container.style.zIndex=""+e}destruct(){return this.close(),super.destruct()}}(0,o.gn)([l.autobind],c.prototype,"updatePosition",null),(0,o.gn)([(0,l.throttle)(10),l.autobind],c.prototype,"throttleUpdatePosition",null),(0,o.gn)([l.autobind],c.prototype,"close",null),(0,o.gn)([l.autobind],c.prototype,"closeOnOutsideClick",null)},function(e,t,i){"use strict";i.d(t,{eC:()=>I,mA:()=>k,Z:()=>_,x4:()=>l,u3:()=>b,Cj:()=>x,GJ:()=>w});var o={};i.r(o),i.d(o,{required:()=>p,url:()=>m});var s=i(27),a=i(37),n=i(11),r=i(19);let l=class extends a.qe{constructor(...e){var t,i;super(...e),(null===(t=this.options)||void 0===t?void 0:t.className)&&this.container.classList.add(null===(i=this.options)||void 0===i?void 0:i.className)}className(){return"UIForm"}submit(){this.j.e.fire(this.container,"submit")}validate(){const e=this.allChildren.filter((e=>e instanceof a.u3));for(const t of e)if(!t.validate())return!1;const t=this.allChildren.filter((e=>e instanceof a.Cj));for(const e of t)if(!e.validate())return!1;return!0}onSubmit(e){this.j.e.on(this.container,"submit",(()=>{const t=this.allChildren.filter((e=>e instanceof a.u3));return!!this.validate()&&(e(t.reduce(((e,t)=>(e[t.state.name]=t.value,e)),{})),!1)}))}createContainer(){const e=this.j.c.element("form");return e.classList.add(this.componentName),(0,n.Lj)(e,"dir",this.j.o.direction||"auto"),e}};l=(0,s.gn)([r.component],l);var c=i(38),d=i(10),h=i(17),u=i(40);const p=e=>!!(0,d.trim)(e.value).length||(e.error="Please fill out this field",!1),m=e=>!!(0,d.isURL)((0,d.trim)(e.value))||(e.error="Please enter a web address",!1),g=e=>!!(0,d.trim)(e.value).length||(e.error="Please fill out this field",!1);var f;let b=f=class extends c.u{constructor(e,t){super(e,t),this.label=this.j.c.span(this.getFullElName("label")),this.icon=this.j.c.span(this.getFullElName("icon")),this.clearButton=this.j.c.span(this.getFullElName("clear"),u.J.get("cancel")),this.state={...f.defaultState},this.__errorBox=this.j.c.span(this.getFullElName("error")),this.validators=new Set([]),void 0!==(null==t?void 0:t.value)&&(t.value=""+t.value),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()}className(){return"UIInput"}onChangeClear(){this.state.clearButton?h.i.after(this.nativeInput,this.clearButton):h.i.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;const e=this.nativeInput,{name:t,icon:i,type:o,ref:s,required:a,placeholder:n,autocomplete:r,label:l}=this.state;(0,d.attr)(e,"name",t),(0,d.attr)(e,"type",o),(0,d.attr)(e,"data-ref",s||t),(0,d.attr)(e,"ref",s||t),(0,d.attr)(e,"required",a||null),(0,d.attr)(e,"autocomplete",r?null:"off"),(0,d.attr)(e,"placeholder",n?this.j.i18n(n):""),i&&u.J.exists(i)?(h.i.before(e,this.icon),this.icon.innerHTML=u.J.get(i)):h.i.safeRemove(this.icon),l?(h.i.before(this.wrapper,this.label),this.label.innerText=this.j.i18n(l)):h.i.safeRemove(this.label),this.updateValidators()}updateValidators(){var e;this.validators.clear(),this.state.required&&this.validators.add(p),null===(e=this.state.validators)||void 0===e||e.forEach((e=>{const t=o[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)):h.i.safeRemove(this.__errorBox)}get value(){return this.nativeInput.value}set value(e){this.value!==e&&(this.nativeInput.value=e,this.onChangeValue())}onChangeStateValue(){const e=""+this.state.value;e!==this.value&&(this.value=e)}onChangeValue(){var e,t;const{value:i}=this;this.state.value!==i&&(this.state.value=i,this.j.e.fire(this,"change",i),null===(t=(e=this.state).onChange)||void 0===t||t.call(e,i))}validate(){return this.error="",(0,d.toArray)(this.validators).every((e=>e(this)))}createContainer(e){const t=super.createContainer();this.wrapper=this.j.c.div(this.getFullElName("wrapper")),this.nativeInput||(this.nativeInput=this.createNativeInput());const{nativeInput:i}=this;return i.classList.add(this.getFullElName("input")),this.wrapper.appendChild(i),t.appendChild(this.wrapper),(0,d.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)}};var v;b.defaultState={className:"",autocomplete:!0,name:"",value:"",icon:"",label:"",ref:"",type:"text",placeholder:"",required:!1,validators:[]},(0,s.gn)([(0,r.watch)("state.clearButton")],b.prototype,"onChangeClear",null),(0,s.gn)([(0,r.watch)("state.className")],b.prototype,"onChangeClassName",null),(0,s.gn)([(0,r.watch)(["state.name","state.type","state.label","state.placeholder","state.autocomplete","state.icon"]),(0,r.debounce)()],b.prototype,"onChangeState",null),(0,s.gn)([(0,r.watch)("state.value")],b.prototype,"onChangeStateValue",null),(0,s.gn)([r.autobind],b.prototype,"onChangeValue",null),b=f=(0,s.gn)([r.component],b);let w=v=class extends b{constructor(e,t){super(e,t),this.state={...v.defaultState},Object.assign(this.state,t),!1===this.state.resizable&&(this.nativeInput.style.resize="none")}className(){return"UITextArea"}createContainer(e){return this.nativeInput=this.j.create.element("textarea"),super.createContainer(e)}};var y;w.defaultState={...b.defaultState,size:5,resizable:!0},w=v=(0,s.gn)([r.component],w);let k=y=class extends b{constructor(e,t){super(e,{...t,type:"checkbox"}),this.state={...y.defaultState},Object.assign(this.state,t)}className(){return"UICheckbox"}render(){return this.j.c.element("label",{className:this.componentName})}onChangeChecked(){this.value=""+this.state.checked,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"))),h.i.after(this.nativeInput,e)):h.i.safeRemove(e)}};var C;k.defaultState={...b.defaultState,checked:!1,switch:!1},(0,s.gn)([(0,r.watch)("state.checked"),(0,r.hook)("ready")],k.prototype,"onChangeChecked",null),(0,s.gn)([(0,r.watch)("nativeInput:change")],k.prototype,"onChangeNativeCheckBox",null),(0,s.gn)([(0,r.watch)("state.switch"),(0,r.hook)("ready")],k.prototype,"onChangeSwitch",null),k=y=(0,s.gn)([r.component],k);let x=C=class extends b{constructor(e,t){super(e,t),this.state={...C.defaultState},Object.assign(this.state,t)}className(){return"UISelect"}createContainer(e){var t;const i=super.createContainer(e),{j:o}=this,{nativeInput:s}=this,a=()=>o.create.element("option");if(void 0!==e.placeholder){const t=a();t.value="",t.text=o.i18n(e.placeholder),s.add(t)}return null===(t=e.options)||void 0===t||t.forEach((e=>{const t=a();t.value=""+e.value,t.text=o.i18n(e.text),s.add(t)})),e.size&&e.size>0&&(0,d.attr)(s,"size",e.size),e.multiple&&(0,d.attr)(s,"multiple",""),i}createNativeInput(){return this.j.create.element("select")}updateValidators(){super.updateValidators(),this.state.required&&(this.validators.delete(p),this.validators.add(g))}};x.defaultState={...b.defaultState,options:[],size:1,multiple:!1},x=C=(0,s.gn)([r.component],x);var S=i(41);let _=class extends b{constructor(e,t){super(e,{type:"file",...t}),this.state={...b.defaultState,type:"file",onlyImages:!0}}className(){return"UIFileInput"}createContainer(e){this.button=new S.y3(this.j,{icon:{name:"plus"}});const{container:t}=this.button;this.nativeInput||(this.nativeInput=this.createNativeInput(e));const{nativeInput:i}=this;return i.classList.add(this.getFullElName("input")),t.classList.add(this.componentName),t.appendChild(i),t}createNativeInput(e){return this.j.create.fromHTML(`<input\n\t\t\ttype="file"\n\t\t\taccept="${e.onlyImages?"image/*":"*"}"\n\t\t\ttabindex="-1"\n\t\t\tdir="auto"\n\t\t\tmultiple=""\n\t\t/>`)}};_=(0,s.gn)([r.component],_);var E=i(43);let I=class extends E.qe{constructor(e,t,i={align:"left"}){super(e,t),this.options=i,this.setMod("align",this.options.align||"left"),this.setMod("width",this.options.width||""),this.options.mod&&this.setMod(this.options.mod,!0),(0,n.Lj)(this.container,"data-ref",i.ref),(0,n.Lj)(this.container,"ref",i.ref)}className(){return"UIBlock"}};I=(0,s.gn)([r.component],I)},function(e,t,i){"use strict";i.d(t,{e:()=>s});var o=i(10);class s{constructor(){var e,t,i,o;this.timers=new Map,this.promisesRejections=new Set,this.requestsIdle=new Set,this.requestIdleCallbackNative=null!==(t=null===(e=window.requestIdleCallback)||void 0===e?void 0:e.bind(window))&&void 0!==t?t:e=>{const t=Date.now();return this.setTimeout((()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))})}),1)},this.cancelIdleCallbackNative=null!==(o=null===(i=window.cancelIdleCallback)||void 0===i?void 0:i.bind(window))&&void 0!==o?o:e=>{this.clearTimeout(e)},this.isDestructed=!1}delay(e){return this.promise((t=>this.setTimeout(t,e)))}setTimeout(e,t,...i){if(this.isDestructed)return 0;let s={};(0,o.isNumber)(t)||(s=t,t=s.timeout||0),s.label&&this.clearLabel(s.label);const a=(0,o.setTimeout)(e,t,...i);return this.timers.set(s.label||a,a),a}clearLabel(e){e&&this.timers.has(e)&&((0,o.clearTimeout)(this.timers.get(e)),this.timers.delete(e))}clearTimeout(e){if((0,o.isString)(e))return this.clearLabel(e);(0,o.clearTimeout)(e),this.timers.delete(e)}debounce(e,t,i=!1){let s=0,a=!1;const n=[],r=(...t)=>{if(!a){s=0;const i=e(...t);if(a=!0,n.length){const e=()=>{n.forEach((e=>e())),n.length=0};(0,o.isPromise)(i)?i.finally(e):e()}}},l=(...n)=>{a=!1,t?(!s&&i&&r(...n),(0,o.clearTimeout)(s),s=this.setTimeout((()=>r(...n)),(0,o.isFunction)(t)?t():t),this.timers.set(e,s)):r(...n)};return(0,o.isPlainObject)(t)&&t.promisify?(...e)=>{const t=this.promise((e=>{n.push(e)}));return l(...e),t}:l}throttle(e,t,i=!1){let s,a,n,r=null;return(...i)=>{s=!0,n=i,t?r||(a=()=>{s?(e(...n),s=!1,r=this.setTimeout(a,(0,o.isFunction)(t)?t():t),this.timers.set(a,r)):r=null},a()):e(...n)}}promise(e){let t=()=>{};const i=new Promise(((i,o)=>(this.promisesRejections.add(o),t=o,e(i,o))));return i.finally((()=>{this.promisesRejections.delete(t)})),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)}));const t={};return Promise.race([e,t]).then((e=>e===t?"pending":"fulfilled"),(()=>"rejected"))}requestIdleCallback(e){const t=this.requestIdleCallbackNative(e);return this.requestsIdle.add(t),t}requestIdlePromise(){return this.promise((e=>{const t=this.requestIdleCallback((()=>e(t)))}))}cancelIdleCallback(e){return this.requestsIdle.delete(e),this.cancelIdleCallbackNative(e)}clear(){this.requestsIdle.forEach((e=>{this.cancelIdleCallback(e)})),this.timers.forEach((e=>{(0,o.clearTimeout)(this.timers.get(e))})),this.timers.clear(),this.promisesRejections.forEach((e=>{e()})),this.promisesRejections.clear()}destruct(){this.clear(),this.isDestructed=!0}}},(e,t,i)=>{"use strict";i.d(t,{t:()=>o.t,H:()=>s.H});var o=i(50),s=i(51)},function(e,t,i){"use strict";i.d(t,{t:()=>n});var o=i(2),s=i(10),a=i(51);o.D.prototype.defaultAjaxOptions={successStatuses:[200,201,202],dataType:"json",method:"GET",url:"",data:null,contentType:"application/x-www-form-urlencoded; charset=UTF-8",headers:{"X-REQUESTED-WITH":"XMLHttpRequest"},withCredentials:!1,xhr(){return new XMLHttpRequest}};class n{constructor(e,t){this.jodit=e,this.resolved=!1,this.activated=!1,this.options=(0,s.ConfigProto)(t||{},o.D.prototype.defaultAjaxOptions),this.xhr=this.o.xhr?this.o.xhr():new XMLHttpRequest,e&&e.e&&e.e.on("beforeDestruct",(()=>this.destruct()))}__buildParams(e,t){return(0,s.isFunction)(this.o.queryBuild)?this.o.queryBuild.call(this,e,t):(0,s.isString)(e)||this.j.ow.FormData&&e instanceof this.j.ow.FormData?e:(0,s.buildQuery)(e)}get o(){return this.options}get j(){return this.jodit}abort(){try{this.xhr.abort()}catch(e){}return this}send(){this.activated=!0;const{xhr:e,o:t}=this,i=this.prepareRequest();return this.j.async.promise(((o,n)=>{var r;const l=()=>{n((0,s.error)("Connection error"))},c=()=>{this.resolved=!0,o(new a.H(i,e.status,e.statusText,e.responseType?e.response:e.responseText))};e.onload=c,e.onabort=l,e.onerror=l,e.ontimeout=l,t.responseType&&(e.responseType=t.responseType),e.onprogress=e=>{var t,i;let o=0;e.lengthComputable&&(o=e.loaded/e.total*100),null===(i=(t=this.options).onProgress)||void 0===i||i.call(t,o)},e.onreadystatechange=()=>{var i,o;null===(o=(i=this.options).onProgress)||void 0===o||o.call(i,10),e.readyState===XMLHttpRequest.DONE&&(t.successStatuses.includes(e.status)?c():n((0,s.error)(e.statusText||"Connection error")))},e.withCredentials=null!==(r=t.withCredentials)&&void 0!==r&&r;const{url:d,data:h,method:u}=i;e.open(u,d,!0),t.contentType&&e.setRequestHeader&&e.setRequestHeader("Content-type",t.contentType);const{headers:p}=t;p&&e.setRequestHeader&&Object.keys(p).forEach((t=>{e.setRequestHeader(t,p[t])})),this.j.async.setTimeout((()=>{e.send(h?this.__buildParams(h):void 0)}),0)}))}prepareRequest(){if(!this.o.url)throw(0,s.error)("Need URL for AJAX request");let e=this.o.url;const t=this.o.data,i=(this.o.method||"get").toLowerCase();if("get"===i&&t&&(0,s.isPlainObject)(t)){const i=e.indexOf("?");if(-1!==i){const o=(0,s.parseQuery)(e);e=e.substr(0,i)+"?"+(0,s.buildQuery)({...o,...t})}else e+="?"+(0,s.buildQuery)(this.o.data)}const o={url:e,method:i,data:t};return n.log.splice(100),n.log.push(o),o}destruct(){this.activated&&!this.resolved&&(this.abort(),this.resolved=!0)}}n.log=[]},function(e,t,i){"use strict";i.d(t,{H:()=>o});class o{constructor(e,t,i,o){this.request=e,this.status=t,this.statusText=i,this.body=o}get url(){return this.request.url}async json(){return JSON.parse(this.body)}text(){return Promise.resolve(this.body)}async blob(){return this.body}}},function(e,t,i){"use strict";i.d(t,{x:()=>n});var o=i(46),s=i(41),a=i(20);class n extends o.G{className(){return"ContextMenu"}show(e,t,i){const o=this,n=this.j.c.div(this.getFullElName("actions"));(0,a.kJ)(i)&&(i.forEach((e=>{if(!e)return;const t=(0,s.zx)(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)||void 0===i||i.call(o,t),o.close(),!1})),n.appendChild(t.container)})),super.setContent(n).open((()=>({left:e,top:t,width:0,height:0})),!0))}}},function(e,t,i){"use strict";i.d(t,{bZ:()=>g,I4:()=>b,Vq:()=>m,NL:()=>f});var o=i(27),s=i(2),a=i(3),n=i(10),r=i(54),l=i(17),c=i(14),d=i(15),h=i(19),u=i(55),p=i(37);s.D.prototype.dialog={namespace:"",extraButtons:[],resizable:!0,draggable:!0,buttons:["dialog.close"],removeButtons:[]},s.D.prototype.controls.dialog={close:{icon:"cancel",exec(e){e.close(),e.toggleFullSizeBox(!1)}}};let m=class extends r.C{constructor(e){super(e),this.destroyAfterClose=!1,this.moved=!1,this.iSetMaximization=!1,this.resizable=!1,this.draggable=!1,this.startX=0,this.startY=0,this.startPoint={x:0,y:0,w:0,h:0},this.lockSelect=()=>{this.setMod("moved",!0)},this.unlockSelect=()=>{this.setMod("moved",!1)},this.onResize=()=>{this.options&&this.o.resizable&&!this.moved&&this.isOpened&&!this.offsetX&&!this.offsetY&&this.setPosition()},this.isModal=!1,this.isOpened=!1;const t=this;t.options=(0,n.ConfigProto)(null!=e?e:{},(0,n.ConfigProto)({toolbarButtonSize:"middle"},(0,n.ConfigProto)(s.D.prototype.dialog,u.G.defaultOptions))),l.i.safeRemove(t.container);const i=this.getFullElName.bind(this);t.container=this.c.fromHTML(`<div style="z-index:${t.o.zIndex}" class="jodit jodit-dialog ${this.componentName}">\n\t\t\t\t<div class="${i("overlay")}"></div>\n\t\t\t\t<div class="${this.getFullElName("panel")}">\n\t\t\t\t\t<div class="${i("header")}">\n\t\t\t\t\t\t<div class="${i("header-title")}"></div>\n\t\t\t\t\t\t<div class="${i("header-toolbar")}"></div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="${i("content")}"></div>\n\t\t\t\t\t<div class="${i("footer")}"></div>\n\t\t\t\t\t<div class="${i("resizer")}">${p.JO.get("resize_handler")}</div>\n\t\t\t\t</div>\n\t\t\t</div>`),(0,n.attr)(t.container,"role","dialog"),Object.defineProperty(t.container,"component",{value:this}),t.setMod("theme",t.o.theme||"default").setMod("resizable",!!t.o.resizable);const o=t.getElm("panel");(0,n.assert)(null!=o,"Panel element does not exist");const a=t.getElm("resizer");(0,n.assert)(null!=a,"Resizer element does not exist");const r=t.getElm("header-title");(0,n.assert)(null!=r,"header-title element does not exist");const c=t.getElm("content");(0,n.assert)(null!=c,"Content element does not exist");const h=t.getElm("footer");(0,n.assert)(null!=h,"Footer element does not exist");const m=t.getElm("header-toolbar");(0,n.assert)(null!=m,"header-toolbar element does not exist"),t.dialog=o,t.resizer=a,t.dialogbox_header=r,t.dialogbox_content=c,t.dialogbox_footer=h,t.dialogbox_toolbar=m,(0,n.css)(t.dialog,{maxWidth:t.options.maxWidth,minHeight:t.options.minHeight,minWidth:t.options.minWidth});const g=t.getElm("header");g&&t.e.on(g,"mousedown",t.onHeaderMouseDown),t.e.on(t.resizer,"mousedown",t.onResizerMouseDown);const f=d.pw.get("fullsize");(0,n.isFunction)(f)&&f(t),this.e.on(t.container,"close_dialog",t.close).on(this.ow,"keydown",this.onEsc).on(this.ow,"resize",this.onResize)}className(){return"Dialog"}get destination(){return this.od.body}setElements(e,t){const i=[];(0,n.asArray)(t).forEach((t=>{if((0,n.isArray)(t)){const o=this.c.div(this.getFullElName("column"));return i.push(o),e.appendChild(o),this.setElements(o,t)}let o;o=(0,n.isString)(t)?this.c.fromHTML(t):(0,n.hasContainer)(t)?t.container:t,i.push(o),o.parentNode!==e&&e.appendChild(o)})),(0,n.toArray)(e.childNodes).forEach((t=>{-1===i.indexOf(t)&&e.removeChild(t)}))}onMouseUp(){(this.draggable||this.resizable)&&(this.e.off(this.ow,"mousemove",this.onMouseMove),this.draggable=!1,this.resizable=!1,this.unlockSelect(),this.e&&(this.removeGlobalResizeListeners(),this.e.fire(this,"endResize endMove")))}onHeaderMouseDown(e){const t=e.target;!this.o.draggable||t&&t.nodeName.match(/^(INPUT|SELECT)$/)||(this.draggable=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.x=(0,n.css)(this.dialog,"left"),this.startPoint.y=(0,n.css)(this.dialog,"top"),this.setMaxZIndex(),e.preventDefault(),this.lockSelect(),this.addGlobalResizeListeners(),this.e&&this.e.fire(this,"startMove"))}onMouseMove(e){this.draggable&&this.o.draggable&&(this.setPosition(this.startPoint.x+e.clientX-this.startX,this.startPoint.y+e.clientY-this.startY),this.e&&this.e.fire(this,"move",e.clientX-this.startX,e.clientY-this.startY),e.stopImmediatePropagation()),this.resizable&&this.o.resizable&&(this.setSize(this.startPoint.w+e.clientX-this.startX,this.startPoint.h+e.clientY-this.startY),this.e&&this.e.fire(this,"resizeDialog",e.clientX-this.startX,e.clientY-this.startY))}onEsc(e){if(this.isOpened&&e.key===a.KEY_ESC&&!0!==this.getMod("static")){const t=this.getMaxZIndexDialog();t?t.close():this.close(),e.stopImmediatePropagation()}}onResizerMouseDown(e){this.resizable=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.w=this.dialog.offsetWidth,this.startPoint.h=this.dialog.offsetHeight,this.lockSelect(),this.addGlobalResizeListeners(),this.e&&this.e.fire(this,"startResize")}addGlobalResizeListeners(){const e=this;e.e.on(e.ow,"mousemove",e.onMouseMove).on(e.ow,"mouseup",e.onMouseUp)}removeGlobalResizeListeners(){const e=this;e.e.off(e.ow,"mousemove",e.onMouseMove).off(e.ow,"mouseup",e.onMouseUp)}setSize(e,t){return null==e&&(e=this.dialog.offsetWidth),null==t&&(t=this.dialog.offsetHeight),(0,n.css)(this.dialog,{width:e,height:t}),this}calcAutoSize(){return this.setSize("auto","auto"),this.setSize(),this}setPosition(e,t){let i=this.ow.innerWidth/2-this.dialog.offsetWidth/2,o=this.ow.innerHeight/2-this.dialog.offsetHeight/2;return 0>i&&(i=0),0>o&&(o=0),void 0!==e&&void 0!==t&&(this.offsetX=e,this.offsetY=t,this.moved=Math.abs(e-i)>100||Math.abs(t-o)>100),this.dialog.style.left=(e||i)+"px",this.dialog.style.top=(t||o)+"px",this}setHeader(e){return this.setElements(this.dialogbox_header,e),this}setContent(e){return this.setElements(this.dialogbox_content,e),this}setFooter(e){return this.setElements(this.dialogbox_footer,e),this.setMod("footer",!!e),this}getZIndex(){return parseInt((0,n.css)(this.container,"zIndex"),10)||0}getMaxZIndexDialog(){let e,t,i=0,o=this;return(0,n.$$)(".jodit-dialog",this.destination).forEach((s=>{e=s.component,t=parseInt((0,n.css)(s,"zIndex"),10),e.isOpened&&!isNaN(t)&&t>i&&(o=e,i=t)})),o}setMaxZIndex(){let e=20000004,t=0;(0,n.$$)(".jodit-dialog",this.destination).forEach((i=>{t=parseInt((0,n.css)(i,"zIndex"),10),e=Math.max(isNaN(t)?0:t,e)})),this.container.style.zIndex=""+(e+1)}maximization(e){return(0,n.isVoid)(e)&&(e=!this.getMod("fullsize")),this.setMod("fullsize",e),this.toggleFullSizeBox(e),this.iSetMaximization=e,e}toggleFullSizeBox(e){[this.destination,this.destination.parentNode].forEach((t=>{t&&t.classList&&t.classList.toggle("jodit_fullsize-box_true",e)}))}open(e,t,i,o){if(d.TB.fire("closeAllPopups hideHelpers"),!1===this.e.fire(this,"beforeOpen"))return this;(0,n.isBoolean)(e)&&(i=e),(0,n.isBoolean)(t)&&(o=t),this.destroyAfterClose=!0===i;const s=(0,n.isBoolean)(e)?void 0:e,a=(0,n.isBoolean)(t)?void 0:t;return void 0!==a&&this.setHeader(a),s&&this.setContent(s),this.setMod("active",!0),this.isOpened=!0,this.setModal(o),this.destination.appendChild(this.container),this.setPosition(this.offsetX,this.offsetY),this.setMaxZIndex(),this.o.fullsize&&this.maximization(!0),this.e.fire("afterOpen",this),this}setModal(e){return this.isModal=!!e,this.setMod("modal",this.isModal),this}close(e){var t,i;return this.isDestructed||!this.isOpened||!0===this.getMod("static")||(e&&(e.stopImmediatePropagation(),e.preventDefault()),this.e&&!1===this.e.fire("beforeClose",this)||(this.setMod("active",!1),this.isOpened=!1,this.e.fire("toggleFullSize",!1),this.iSetMaximization&&this.maximization(!1),l.i.safeRemove(this.container),this.removeGlobalResizeListeners(),this.destroyAfterClose&&this.destruct(),null===(t=this.e)||void 0===t||t.fire(this,"afterClose"),null===(i=this.e)||void 0===i||i.fire(this.ow,"joditCloseDialog"))),this}buildToolbar(){this.o.buttons&&this.toolbar.build((0,n.splitArray)(this.o.buttons)).setMod("mode","header").appendTo(this.dialogbox_toolbar)}destruct(){this.isInDestruct||(this.setStatus(c.n$.beforeDestruct),this.isOpened&&this.close(),this.events&&(this.removeGlobalResizeListeners(),this.events.off(this.container,"close_dialog",self.close).off(this.ow,"keydown",this.onEsc).off(this.ow,"resize",this.onResize)),super.destruct())}};(0,o.gn)([h.autobind],m.prototype,"onMouseUp",null),(0,o.gn)([h.autobind],m.prototype,"onHeaderMouseDown",null),(0,o.gn)([h.autobind],m.prototype,"onMouseMove",null),(0,o.gn)([h.autobind],m.prototype,"onEsc",null),(0,o.gn)([h.autobind],m.prototype,"onResizerMouseDown",null),(0,o.gn)([h.autobind],m.prototype,"close",null),(0,o.gn)([(0,h.hook)("ready")],m.prototype,"buildToolbar",null),m=(0,o.gn)([h.component],m);const g=(e,t,i,o="jodit-dialog_alert")=>{(0,n.isFunction)(t)&&(i=t,t=void 0);const s=new m,a=s.c.div(o),r=(0,p.zx)(s,"ok","Ok");return(0,n.asArray)(e).forEach((e=>{a.appendChild(l.i.isNode(e)?e:s.c.fromHTML(e))})),r.onAction((()=>{i&&(0,n.isFunction)(i)&&!1===i(s)||s.close()})),s.setFooter([r]),s.open(a,t||" ",!0,!0),r.focus(),s},f=(e,t,i,o,s)=>{const a=new m,r=(0,p.zx)(a,"cancel","Cancel"),l=(0,p.zx)(a,"ok","Ok"),c=a.c.element("form",{class:"jodit-dialog_prompt"}),d=a.c.element("input",{autofocus:!0,class:"jodit-input"}),h=a.c.element("label");(0,n.isFunction)(t)&&(i=t,t=void 0),o&&(0,n.attr)(d,"placeholder",o),h.appendChild(a.c.text(e)),c.appendChild(h),c.appendChild(d),r.onAction(a.close);const u=()=>{i&&(0,n.isFunction)(i)&&!1===i(d.value)||a.close()};return l.onAction(u),a.e.on(c,"submit",(()=>(u(),!1))),a.setFooter([l,r]),a.open(c,t||" ",!0,!0),d.focus(),void 0!==s&&s.length&&(d.value=s,d.select()),a},b=(e,t,i)=>{const o=new m,s=o.c.fromHTML('<form class="jodit-dialog_prompt"></form>'),a=o.c.element("label");(0,n.isFunction)(t)&&(i=t,t=void 0),a.appendChild(o.c.fromHTML(e)),s.appendChild(a);const r=e=>()=>{i&&!1===i(e)||o.close()},l=(0,p.zx)(o,"cancel","Cancel"),c=(0,p.zx)(o,"ok","Yes");return l.onAction(r(!1)),c.onAction(r(!0)),o.e.on(s,"submit",(()=>(r(!0)(),!1))),o.setFooter([c,l]),o.open(s,t||" ",!0,!0),c.focus(),o}},function(e,t,i){"use strict";i.d(t,{C:()=>h});var o=i(27),s=i(55),a=i(10),n=i(17),r=i(57),l=i(14),c=i(45),d=i(19);class h extends s.G{constructor(e,t=!1){super(e,t),this.toolbar=(0,r.R)(this),this.defaultToolbarContainer=this.c.div("jodit-toolbar__box"),this.registeredButtons=new Set,this.groupToButtons={},this.isJodit=!1,this.isJodit=t,this.e.on("beforeToolbarBuild",this.beforeToolbarBuild)}get toolbarContainer(){return this.o.fullsize||!(0,a.isString)(this.o.toolbar)&&!n.i.isHTMLElement(this.o.toolbar)?(this.o.toolbar&&n.i.appendChildFirst(this.container,this.defaultToolbarContainer),this.defaultToolbarContainer):(0,a.resolveElement)(this.o.toolbar,this.o.shadowRoot||this.od)}setPanel(e){this.o.toolbar=e,this.buildToolbar()}buildToolbar(){if(!this.o.toolbar)return;const e=this.o.buttons?(0,a.splitArray)(this.o.buttons):[];this.toolbar.setRemoveButtons(this.o.removeButtons).build(e.concat(this.o.extraButtons||[])).appendTo(this.toolbarContainer)}getRegisteredButtonGroups(){return this.groupToButtons}registerButton(e){var t;this.registeredButtons.add(e);const i=null!==(t=e.group)&&void 0!==t?t:"other";return this.groupToButtons[i]||(this.groupToButtons[i]=[]),null!=e.position?this.groupToButtons[i][e.position]=e.name:this.groupToButtons[i].push(e.name),this}unregisterButton(e){var t;this.registeredButtons.delete(e);const i=null!==(t=e.group)&&void 0!==t?t:"other",o=this.groupToButtons[i];if(o){const t=o.indexOf(e.name);-1!==t&&o.splice(t,1),0===o.length&&delete this.groupToButtons[i]}return this}beforeToolbarBuild(e){if(Object.keys(this.groupToButtons).length)return e.map((e=>(0,c.A)(e)&&e.group&&this.groupToButtons[e.group]?{group:e.group,buttons:[...e.buttons,...this.groupToButtons[e.group]]}:e))}destruct(){this.isDestructed||(this.setStatus(l.n$.beforeDestruct),this.e.off("beforeToolbarBuild",this.beforeToolbarBuild),this.toolbar.destruct(),super.destruct())}}(0,o.gn)([d.autobind],h.prototype,"beforeToolbarBuild",null)},function(e,t,i){"use strict";i.d(t,{G:()=>p});var o=i(27),s=i(56),a=i(10),n=i(3),r=i(4),l=i(48),c=i(15),d=i(19),h=i(39),u=i(5);class p extends r.Component{constructor(e,t=!1){super(),this.isJodit=t,this.isView=!0,this.mods={},this.components=new Set,this.version="1.2.31",this.async=new l.e,this.buffer=s.Ke.makeStorage(),this.storage=s.Ke.makeStorage(!0,this.componentName),this.OPTIONS=p.defaultOptions,this.__isFullSize=!1,this.__whoLocked="",this.isLockedNotBy=e=>this.isLocked&&this.__whoLocked!==e,this.__modulesInstances=new Map,this.id=""+(new Date).getTime(),this.buffer=s.Ke.makeStorage(),this.initOptions(e),this.initOwners(),this.events=new u.vp(this.od),this.create=new r.Create(this.od),this.container=this.c.div(),this.container.classList.add("jodit"),this.progressbar=new r.ProgressBar(this)}setMod(...[e,t]){return h.$.setMod.call(this,e,t),this}getMod(e){return h.$.getMod.call(this,e)}getElm(e){return h.F.getElm.call(this,e)}getElms(e){return h.F.getElms.call(this,e)}get basePath(){return this.o.basePath?this.o.basePath:n.BASE_PATH}get defaultTimeout(){return(0,a.isVoid)(this.o.defaultTimeout)?100:this.o.defaultTimeout}get c(){return this.create}get container(){return this.__container}set container(e){this.__container=e}get e(){return this.events}get options(){return this.__options}set options(e){this.__options=e}get o(){return this.options}i18n(e,...t){return(0,a.i18n)(e,t,this.options)}toggleFullSize(e){void 0===e&&(e=!this.__isFullSize),e!==this.__isFullSize&&(this.__isFullSize=e,this.events&&this.e.fire("toggleFullSize",e))}get isLocked(){return""!==this.__whoLocked}lock(e="any"){return!this.isLocked&&(this.__whoLocked=e,!0)}unlock(){return!!this.isLocked&&(this.__whoLocked="",!0)}get isFullSize(){return this.__isFullSize}getVersion(){return"1.2.31"}static getVersion(){return"1.2.31"}initOptions(e){this.options=(0,a.ConfigProto)(e||{},(0,a.ConfigProto)(this.options||{},p.defaultOptions))}initOwners(){var e;this.ownerWindow=null!==(e=this.o.ownerWindow)&&void 0!==e?e:window}attachEvents(e){if(!e)return;const t=null==e?void 0:e.events;t&&Object.keys(t).forEach((e=>this.e.on(e,t[e])))}getInstance(e,t){const i=this.e.fire((0,a.camelCase)("getInstance_"+e),t);if(i)return i;const o=c.qz[e],s=this.__modulesInstances;if(!(0,a.isFunction)(o))throw(0,a.error)("Need real module name");if(!s.has(e)){const i=o.prototype instanceof r.ViewComponent?new o(this,t):new o(t);this.components.add(i),s.set(e,i)}return s.get(e)}addDisclaimer(e){this.container.appendChild(e)}beforeDestruct(){this.e.fire(r.STATUSES.beforeDestruct,this),this.components.forEach((e=>{(0,a.isDestructable)(e)&&!e.isInDestruct&&e.destruct()})),this.components.clear()}destruct(){this.isDestructed||(this.async&&this.async.destruct(),this.events&&this.e.destruct(),this.buffer&&this.buffer.clear(),r.Dom.safeRemove(this.container),super.destruct())}}(0,o.gn)([(0,d.hook)(r.STATUSES.beforeDestruct)],p.prototype,"beforeDestruct",null),p.defaultOptions={extraButtons:[],textIcons:!1,namespace:"",removeButtons:[],zIndex:100002,defaultTimeout:100,fullsize:!1,showTooltip:!0,useNativeTooltip:!1,buttons:[],globalFullSize:!0}},function(e,t,i){"use strict";i.d(t,{Ke:()=>l});const o=(()=>{let e;return()=>(void 0===e&&(e=(()=>{const e="___Jodit___"+Math.random();try{localStorage.setItem(e,"1");const t="1"===localStorage.getItem(e);return localStorage.removeItem(e),t}catch(e){}return!1})()),e)})();class s{constructor(e){this.rootKey=e}set(e,t){try{const i=localStorage.getItem(this.rootKey),o=i?JSON.parse(i):{};o[e]=t,localStorage.setItem(this.rootKey,JSON.stringify(o))}catch(e){}return this}delete(e){try{localStorage.removeItem(this.rootKey)}catch(e){}return this}get(e){try{const t=localStorage.getItem(this.rootKey),i=t?JSON.parse(t):{};return void 0!==i[e]?i[e]:null}catch(e){}}exists(e){return null!=this.get(e)}clear(){try{localStorage.removeItem(this.rootKey)}catch(e){}return this}}var a=i(10);class n{constructor(){this.data=new Map}set(e,t){return this.data.set(e,t),this}delete(e){return this.data.delete(e),this}get(e){return this.data.get(e)}exists(e){return this.data.has(e)}clear(){return this.data.clear(),this}}const r="Jodit_";class l{constructor(e,t){this.provider=e,this.prefix=r,t&&(this.prefix+=t)}set(e,t){return this.provider.set((0,a.camelCase)(this.prefix+e),t),this}delete(e){return this.provider.delete((0,a.camelCase)(this.prefix+e)),this}get(e){return this.provider.get((0,a.camelCase)(this.prefix+e))}exists(e){return this.provider.exists((0,a.camelCase)(this.prefix+e))}clear(){return this.provider.clear(),this}static makeStorage(e=!1,t){let i;return e&&o()&&(i=new s(r+t)),i||(i=new n),new l(i,t)}}},(e,t,i)=>{"use strict";i.d(t,{R:()=>l,g:()=>c});var o=i(10),s=i(58),a=i(59),n=i(60),r=i(61);function l(e,t){const i=(0,o.isJoditObject)(e)?new a.N(e):new s.n(e);return e.o.textIcons&&i.container.classList.add("jodit_text_icons"),t&&(i.parentElement=t),e.o.toolbarButtonSize&&(i.buttonSize=e.o.toolbarButtonSize),i}function c(e,t,i=null){if((0,o.isFunction)(t.getContent))return new r.c(e,t,i);const s=new n.h(e,t,i);return s.state.tabIndex=e.o.allowTabNavigation?0:-1,s}},function(e,t,i){"use strict";i.d(t,{n:()=>l});var o=i(27),s=i(10),a=i(37),n=i(57),r=i(19);let l=class extends a.bz{constructor(e){super(e),this.listenEvents="updateToolbar changeStack mousedown mouseup keydown change afterInit readonly afterResize selectionchange changeSelection focus afterSetMode touchstart focus blur",this.update=this.j.async.debounce(this.immediateUpdate,(()=>this.j.defaultTimeout)),this.initEvents()}className(){return"ToolbarCollection"}get firstButton(){const[e]=this.buttons;return e||null}makeButton(e,t=null){return(0,n.g)(this.j,e,t)}shouldBeActive(e){}shouldBeDisabled(e){}getTarget(e){return e.target||null}immediateUpdate(){this.isDestructed||this.j.isLocked||(super.update(),this.j.e.fire("afterUpdateToolbar"))}setDirection(e){this.container.style.direction=e,this.container.setAttribute("dir",e)}initEvents(){this.j.e.on(this.listenEvents,this.update).on("afterSetMode focus",this.immediateUpdate)}hide(){this.container.remove()}show(){this.appendTo(this.j.toolbarContainer)}showInline(e){throw(0,s.error)("The method is not implemented for this class.")}build(e,t=null){const i=this.j.e.fire("beforeToolbarBuild",e);return i&&(e=i),super.build(e,t),this}destruct(){this.isDestructed||(this.j.e.off(this.listenEvents,this.update).off("afterSetMode focus",this.immediateUpdate),super.destruct())}};(0,o.gn)([r.autobind],l.prototype,"immediateUpdate",null),l=(0,o.gn)([r.component],l)},function(e,t,i){"use strict";i.d(t,{N:()=>c});var o=i(27),s=i(58),a=i(3),n=i(17),r=i(10),l=i(19);let c=class extends s.n{constructor(e){super(e),this.checkActiveStatus=(e,t)=>{let i=0,o=0;return Object.keys(e).forEach((s=>{const a=e[s];(0,r.isFunction)(a)?a(this.j,""+(0,r.css)(t,s))&&(i+=1):-1!==a.indexOf(""+(0,r.css)(t,s))&&(i+=1),o+=1})),o===i},this.prependInvisibleInput(this.container)}className(){return"ToolbarEditorCollection"}shouldBeDisabled(e){const t=super.shouldBeDisabled(e);if(void 0!==t)return t;const i=void 0===e.control.mode?a.MODE_WYSIWYG:e.control.mode;return!(i===a.MODE_SPLIT||i===this.j.getRealMode())}shouldBeActive(e){const t=super.shouldBeActive(e);if(void 0!==t)return t;const i=this.j.selection?this.j.s.current():null;if(!i)return!1;let o;if(e.control.tags){const t=e.control.tags;if(o=i,n.i.up(o,(e=>{if(e&&-1!==t.indexOf(e.nodeName.toLowerCase()))return!0}),this.j.editor))return!0}if(e.control.css){const t=e.control.css;if(o=i,n.i.up(o,(e=>{if(e&&!n.i.isText(e))return this.checkActiveStatus(t,e)}),this.j.editor))return!0}return!1}getTarget(e){return e.target||this.j.s.current()||null}prependInvisibleInput(e){const t=this.j.create.element("input",{tabIndex:-1,disabled:!0,style:"width: 0; height:0; position: absolute; visibility: hidden;"});n.i.appendChildFirst(e,t)}showInline(e){this.jodit.e.fire("showInlineToolbar",e)}hide(){this.jodit.e.fire("hidePopup"),super.hide(),this.jodit.e.fire("toggleToolbar")}show(){super.show(),this.jodit.e.fire("toggleToolbar")}};c=(0,o.gn)([l.component],c)},function(e,t,i){"use strict";i.d(t,{h:()=>m});var o=i(27),s=i(41),a=i(19),n=i(17),r=i(46),l=i(57),c=i(10),d=i(37),h=i(58),u=i(14),p=i(44);let m=class extends s.y3{constructor(e,t,i=null){super(e),this.control=t,this.target=i,this.state={...(0,s.Yc)(),theme:"toolbar",currentValue:"",hasTrigger:!1},e.e.on([this.button,this.trigger],"mousedown",(e=>e.preventDefault())),this.onAction(this.onClick),this.hookStatus(u.n$.ready,(()=>{this.initFromControl(),this.initTooltip(),this.update()}))}className(){return"ToolbarButton"}get toolbar(){return this.closest(h.n)}get button(){return this.container.querySelector(`button.${this.componentName}__button`)}update(){const{control:e,state:t}=this,i=this.closest(h.n);t.disabled=this.calculateDisabledStatus(i),t.activated=this.calculateActivatedStatus(i),(0,c.isFunction)(e.update)&&e.update(this),super.update()}calculateActivatedStatus(e){return!((0,c.isJoditObject)(this.j)&&!this.j.editorIsActive||(!(0,c.isFunction)(this.control.isActive)||!this.control.isActive(this.j,this.control,this))&&(!e||!e.shouldBeActive(this)))}calculateDisabledStatus(e){return!(!this.j.o.disabled&&(!this.j.o.readonly||this.j.o.activeButtonsInReadOnly&&this.j.o.activeButtonsInReadOnly.includes(this.control.name))&&(!(0,c.isFunction)(this.control.isDisabled)||!this.control.isDisabled(this.j,this.control,this))&&(!e||!e.shouldBeDisabled(this)))}onChangeActivated(){(0,c.attr)(this.button,"aria-pressed",this.state.activated),super.onChangeActivated()}onChangeText(){(0,c.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,c.attr)(this.button,"tabindex",this.state.tabIndex)}onChangeTooltip(){(0,c.attr)(this.button,"aria-label",this.state.tooltip),super.onChangeTooltip()}createContainer(){const e=this.componentName,t=this.j.c.span(e),i=super.createContainer();return(0,c.attr)(t,"role","listitem"),i.classList.remove(e),i.classList.add(e+"__button"),Object.defineProperty(i,"component",{value:this}),t.appendChild(i),this.trigger=this.j.c.fromHTML(`<span role="trigger" class="${e}__trigger">${d.JO.get("chevron")}</span>`),this.j.e.on(this.trigger,"click",this.onTriggerClick.bind(this)),t}focus(){var e;null===(e=this.container.querySelector("button"))||void 0===e||e.focus()}onChangeHasTrigger(){this.state.hasTrigger?this.container.appendChild(this.trigger):n.i.safeRemove(this.trigger),this.setMod("with-trigger",this.state.hasTrigger||null)}onChangeDisabled(){const e=this.state.disabled?"disabled":null;(0,c.attr)(this.trigger,"disabled",e),(0,c.attr)(this.button,"disabled",e),(0,c.attr)(this.container,"disabled",e)}initTooltip(){this.j.o.textIcons||!this.j.o.showTooltip||this.j.o.useNativeTooltip||this.j.e.off(this.container,"mouseenter mouseleave").on(this.container,"mousemove",(e=>{this.state.tooltip&&!this.state.disabled&&this.j.e.fire("delayShowTooltip",(()=>({x:e.clientX+10,y:e.clientY+10})),this.state.tooltip)})).on(this.container,"mouseleave",(()=>{this.j.e.fire("hideTooltip")}))}initFromControl(){var e;const{control:t,state:i}=this;this.updateSize(),i.name=t.name;const{textIcons:o}=this.j.o;if(!0===o||(0,c.isFunction)(o)&&o(t.name)||t.template)i.icon=(0,s.Yc)().icon,i.text=t.text||t.name;else{if(t.iconURL)i.icon.iconURL=t.iconURL;else{const o=t.icon||t.name;i.icon.name=d.JO.exists(o)||(null===(e=this.j.o.extraIcons)||void 0===e?void 0:e[o])?o:""}t.iconURL||i.icon.name||(i.text=t.text||t.name)}t.tooltip&&(i.tooltip=this.j.i18n((0,c.isFunction)(t.tooltip)?t.tooltip(this.j,t,this):t.tooltip)),i.hasTrigger=!!(t.list||t.popup&&t.exec)}onTriggerClick(e){var t,i,o;const{control:s}=this;if(e.buffer={actionTrigger:this},s.list)return this.openControlList(s);if((0,c.isFunction)(s.popup)){const e=new r.G(this.j);if(e.parentElement=this,!1!==this.j.e.fire((0,c.camelCase)(`before-${s.name}-open-popup`),this.target,s,e)){const a=null!==(o=null!==(i=null===(t=this.toolbar)||void 0===t?void 0:t.getTarget(this))&&void 0!==i?i:this.target)&&void 0!==o?o:null,n=s.popup(this.j,a,s,e.close,this);n&&e.setContent((0,c.isString)(n)?this.j.c.fromHTML(n):n).open((()=>(0,c.position)(this.container)))}this.j.e.fire((0,c.camelCase)(`after-${s.name}-open-popup`),e.container)}}openControlList(e){var t;const i=null!==(t=this.jodit.options.controls)&&void 0!==t?t:{},o=e=>(0,p.z)(e,i),s=e.list,a=new r.G(this.j),n=(0,l.R)(this.j);a.parentElement=this,n.parentElement=a,n.mode="vertical";const d=(t,i)=>{if((0,c.isString)(i)&&o(i))return{name:""+i,...o(i)};if((0,c.isString)(t)&&o(t))return{name:""+t,...o(t),..."object"==typeof i?i:{}};const s={name:""+t,template:e.childTemplate,exec:e.exec,data:e.data,command:e.command,isActive:e.isChildActive,isDisabled:e.isChildDisabled,mode:e.mode,args:[...e.args?e.args:[],t,i]};return(0,c.isString)(i)&&(s.text=i),s};n.build((0,c.isArray)(s)?s.map(d):(0,c.keys)(s,!1).map((e=>d(e,s[e]))),this.target),a.setContent(n.container).open((()=>(0,c.position)(this.container))),this.state.activated=!0,this.j.e.on(a,"afterClose",(()=>{this.state.activated=!1}))}onClick(e){var t,i,o,s,a,n,r;const{control:l}=this;if((0,c.isFunction)(l.exec)){const c=null!==(o=null!==(i=null===(t=this.toolbar)||void 0===t?void 0:t.getTarget(this))&&void 0!==i?i:this.target)&&void 0!==o?o:null,d=l.exec(this.j,c,{control:l,originalEvent:e,button:this});if(!1!==d&&!0!==d&&(null===(a=null===(s=this.j)||void 0===s?void 0:s.e)||void 0===a||a.fire("synchro"),this.parentElement&&this.parentElement.update(),null===(r=null===(n=this.j)||void 0===n?void 0:n.e)||void 0===r||r.fire("closeAllPopups afterExec")),!1!==d)return}return l.list?this.openControlList(l):(0,c.isFunction)(l.popup)?this.onTriggerClick(e):void((l.command||l.name)&&((0,c.call)((0,c.isJoditObject)(this.j)?this.j.execCommand.bind(this.j):this.j.od.execCommand.bind(this.j.od),l.command||l.name,!1,l.args&&l.args[0]),this.j.e.fire("closeAllPopups")))}};(0,o.gn)([(0,a.watch)("state.tooltip")],m.prototype,"onChangeTooltip",null),(0,o.gn)([(0,a.watch)("state.hasTrigger")],m.prototype,"onChangeHasTrigger",null),m=(0,o.gn)([a.component],m)},function(e,t,i){"use strict";i.d(t,{c:()=>l});var o=i(27),s=i(41),a=i(17),n=i(10),r=i(19);let l=class extends s.y3{constructor(e,t,i=null){super(e),this.control=t,this.target=i,this.container.classList.add(`${this.componentName}_${this.clearName(t.name)}`),(0,n.attr)(this.container,"role","content")}className(){return"ToolbarContent"}update(){const e=this.control.getContent(this.j,this.control,this);((0,n.isString)(e)||e.parentNode!==this.container)&&(a.i.detach(this.container),this.container.appendChild((0,n.isString)(e)?this.j.create.fromHTML(e):e)),super.update()}createContainer(){return this.j.c.span(this.componentName)}};l=(0,o.gn)([r.component],l)},function(e,t,i){"use strict";i.d(t,{S:()=>r}),i(16);var o=i(27),s=i(14),a=i(19),n=i(10);class r extends s.Hr{constructor(e){super(e),this.requires=[],this.buttons=[],this.hasStyle=!1,e.e.on("afterPluginSystemInit",(()=>{var t;(0,n.isJoditObject)(e)&&(null===(t=this.buttons)||void 0===t||t.forEach((t=>{e.registerButton(t)})))})).on("afterInit",(()=>{this.setStatus(s.n$.ready),this.afterInit(e)})).on("beforeDestruct",this.destruct)}className(){return""}init(e){}destruct(){var e,t,i;if(!this.isInDestruct){this.setStatus(s.n$.beforeDestruct);const{j:o}=this;(0,n.isJoditObject)(o)&&(null===(e=this.buttons)||void 0===e||e.forEach((e=>{null==o||o.unregisterButton(e)}))),null===(i=null===(t=this.j)||void 0===t?void 0:t.events)||void 0===i||i.off("beforeDestruct",this.destruct),this.beforeDestruct(this.j),super.destruct()}}}(0,o.gn)([a.autobind],r.prototype,"destruct",null)},function(e,t,i){"use strict";i.d(t,{f:()=>P,F:()=>R});var o=i(27),s=i(2),a=i(3),n=i(53),r=i(56),l=i(10),c=i(54),d=i(37);s.D.prototype.filebrowser={namespace:"",extraButtons:[],filter(e,t){return t=t.toLowerCase(),(0,l.isString)(e)?-1!==e.toLowerCase().indexOf(t):(0,l.isString)(e.name)?-1!==e.name.toLowerCase().indexOf(t):!(0,l.isString)(e.file)||-1!==e.file.toLowerCase().indexOf(t)},sortBy:"changed-desc",sort(e,t,i){const[o,s]=i.toLowerCase().split("-"),a="asc"===s,n=(e,t)=>t>e?a?-1:1:e>t?a?1:-1:0;if((0,l.isString)(e))return n(e.toLowerCase(),t.toLowerCase());if(void 0===e[o]||"name"===o)return(0,l.isString)(e.name)?n(e.name.toLowerCase(),t.name.toLowerCase()):(0,l.isString)(e.file)?n(e.file.toLowerCase(),t.file.toLowerCase()):0;switch(o){case"changed":{const i=new Date(e.changed).getTime(),o=new Date(t.changed).getTime();return a?i-o:o-i}case"size":{const i=(0,l.humanSizeToBytes)(e.size),o=(0,l.humanSizeToBytes)(t.size);return a?i-o:o-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,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,l.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){const o=this.options,s=this.files.getFullElName("item"),a=o.showFileName,n=o.showFileSize&&e.size,r=o.showFileChangeTime&&e.time;let l="";return void 0!==e.file&&(l=e.file),`<a\n\t\t\tdata-jodit-filebrowser-item="true"\n\t\t\tdata-is-file="${e.isImage?0:1}"\n\t\t\tdraggable="true"\n\t\t\tclass="${s}"\n\t\t\thref="${e.fileURL}"\n\t\t\tdata-source="${i}"\n\t\t\tdata-path="${e.path}"\n\t\t\tdata-name="${l}"\n\t\t\ttitle="${l}"\n\t\t\tdata-url="${e.fileURL}">\n\t\t\t\t<img\n\t\t\t\t\tdata-is-file="${e.isImage?0:1}"\n\t\t\t\t\tdata-src="${e.fileURL}"\n\t\t\t\t\tsrc="${e.imageURL}"\n\t\t\t\t\talt="${l}"\n\t\t\t\t\tloading="lazy"\n\t\t\t\t/>\n\t\t\t\t${a||n||r?`<div class="${s}-info">${a?`<span class="${s}-info-filename">${l}</span>`:""}${n?`<span class="${s}-info-filesize">${e.size}</span>`:""}${r?`<span class="${s}-info-filechanged">${r}</span>`:""}</div>`:""}\n\t\t\t</a>`},ajax:{...s.D.prototype.defaultAjaxOptions,url:"",async:!0,data:{},cache:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",method:"POST",processData:!0,dataType:"json",headers:{},prepareData(e){return e},process(e){return e}},create:{data:{action:"folderCreate"}},getLocalFileByUrl:{data:{action:"getLocalFileByUrl"}},resize:{data:{action:"imageResize"}},crop:{data:{action:"imageCrop"}},fileMove:{data:{action:"fileMove"}},folderMove:{data:{action:"folderMove"}},fileRename:{data:{action:"fileRename"}},folderRename:{data:{action:"folderRename"}},fileRemove:{data:{action:"fileRemove"}},folderRemove:{data:{action:"folderRemove"}},items:{data:{action:"files"}},folder:{data:{action:"folders"}},permissions:{data:{action:"permissions"}}},s.D.prototype.controls.filebrowser={upload:{icon:"plus",isInput:!0,isDisabled:e=>!e.dataProvider.canI("FileUpload"),getContent(e){const t=new d.Z(e,{onlyImages:e.state.onlyImages});return e.e.fire("bindUploader.filebrowser",t.container),t.container}},remove:{icon:"bin",isDisabled:e=>!e.state.activeElements.length||!e.dataProvider.canI("FileRemove"),exec(e){e.e.fire("fileRemove.filebrowser")}},update:{exec(e){e.e.fire("update.filebrowser")}},select:{icon:"check",isDisabled:e=>!e.state.activeElements.length,exec(e){e.e.fire("select.filebrowser")}},edit:{icon:"pencil",isDisabled(e){const t=e.state.activeElements;return 1!==t.length||!t[0].isImage||!(e.dataProvider.canI("ImageCrop")||e.dataProvider.canI("ImageResize"))},exec(e){e.e.fire("edit.filebrowser")}},tiles:{icon:"th",isActive:e=>"tiles"===e.state.view,exec(e){e.e.fire("view.filebrowser","tiles")}},list:{icon:"th-list",isActive:e=>"list"===e.state.view,exec(e){e.e.fire("view.filebrowser","list")}},filter:{isInput:!0,getContent(e,t,i){const o=i.container.querySelector(".jodit-input");if(o)return o;const s=e.c.element("input",{class:"jodit-input",placeholder:e.i18n("Filter")});return s.value=e.state.filterWord,e.e.on(s,"keydown mousedown",e.async.debounce((()=>{e.e.fire("filter.filebrowser",s.value)}),e.defaultTimeout)),s}},sort:{isInput:!0,getContent(e){const t=e.c.fromHTML(`<select class="jodit-input jodit-select"><option value="changed-asc">${e.i18n("Sort by changed")} (⬆)</option><option value="changed-desc">${e.i18n("Sort by changed")} (⬇)</option><option value="name-asc">${e.i18n("Sort by name")} (⬆)</option><option value="name-desc">${e.i18n("Sort by name")} (⬇)</option><option value="size-asc">${e.i18n("Sort by size")} (⬆)</option><option value="size-desc">${e.i18n("Sort by size")} (⬇)</option></select>`);return t.value=e.state.sortBy,e.e.on("sort.filebrowser",(e=>{t.value!==e&&(t.value=e)})).on(t,"change",(()=>{e.e.fire("sort.filebrowser",t.value)})),t}}};var h=i(17),u=i(64),p=i(32);const m=new WeakMap,g=e=>{let t=m.get(e);return t||(t={},m.set(e,t)),t};var f=i(6);async function b(e){return e.files.setMod("active",!0),e.files.setMod("loading",!0),e.dataProvider.items(e.state.currentPath,e.state.currentSource,{sortBy:e.state.sortBy,onlyImages:e.state.onlyImages,filterWord:e.state.filterWord}).then((t=>{e.state.elements=t,e.state.activeElements=[]})).catch(e.status).finally((()=>e.files.setMod("loading",!1)))}async function v(e){e.tree.setMod("active",!0),h.i.detach(e.tree.container);const t=b(e);if(e.o.showFoldersPanel){e.tree.setMod("loading",!0);const i=e.dataProvider.tree(e.state.currentPath,e.state.currentSource).then((t=>{e.state.sources=t})).catch((e=>{(e=>{throw e instanceof Error?e:(0,f.v)(e)})(e)})).finally((()=>e.tree.setMod("loading",!1)));return Promise.all([i,t]).catch(f.v)}return e.tree.setMod("active",!1),t.catch(f.v)}function w(){const e=g(this),{state:t,files:i,create:o,options:s}=this,a=t=>{const i=t.uniqueHashKey;if(e[i])return e[i].elm;const a=o.fromHTML(s.getThumbTemplate.call(this,t,t.source,""+t.sourceName));return a.dataset.key=i,e[i]={item:t,elm:a},e[i].elm};t.on(["change.currentPath","change.currentSource"],this.async.debounce((()=>{this.o.saveStateInStorage&&this.o.saveStateInStorage.storeLastOpenedFolder&&this.storage.set("currentPath",this.state.currentPath).set("currentSource",this.state.currentSource),v(this).catch(this.status)}),this.defaultTimeout)).on("beforeChange.activeElements",(()=>{t.activeElements.forEach((t=>{const o=t.uniqueHashKey,{elm:s}=e[o];s&&s.classList.remove(i.getFullElName("item","active",!0))}))})).on("change.activeElements",(()=>{this.e.fire("changeSelection"),t.activeElements.forEach((t=>{const o=t.uniqueHashKey,{elm:s}=e[o];s&&s.classList.add(i.getFullElName("item","active",!0))}))})).on("change.view",(()=>{i.setMod("view",t.view),this.o.saveStateInStorage&&this.o.saveStateInStorage.storeView&&this.storage.set("view",t.view)})).on("change.sortBy",(()=>{this.o.saveStateInStorage&&this.o.saveStateInStorage.storeSortBy&&this.storage.set("sortBy",t.sortBy)})).on("change.elements",this.async.debounce((()=>{h.i.detach(i.container),t.elements.length?t.elements.forEach((e=>{this.files.container.appendChild(a(e))})):i.container.appendChild(o.div(this.componentName+"_no-files_true",this.i18n("There are no files")))}),this.defaultTimeout)).on("change.sources",this.async.debounce((()=>{h.i.detach(this.tree.container),t.sources.forEach((e=>{const t=e.name;if(t&&"default"!==t&&this.tree.container.appendChild(o.div(this.tree.getFullElName("source-title"),t)),e.folders.forEach((i=>{const a=o.a(this.tree.getFullElName("item"),{draggable:"draggable",href:"#","data-path":(0,p.AH)(e.path,i+"/"),"data-name":i,"data-source":t,"data-source-path":e.path},o.span(this.tree.getFullElName("item-title"),i)),n=o=>s=>{this.e.fire(o+".filebrowser",{name:i,path:(0,p.AH)(e.path+"/"),source:t}),s.stopPropagation(),s.preventDefault()};if(this.e.on(a,"click",n("openFolder")),this.tree.container.appendChild(a),".."!==i&&"."!==i){if(s.renameFolder&&this.dataProvider.canI("FolderRename")){const e=(0,d.zx)(this,{icon:{name:"pencil"},name:"rename",tooltip:"Rename",size:"tiny"});e.onAction(n("renameFolder")),a.appendChild(e.container)}if(s.deleteFolder&&this.dataProvider.canI("FolderRemove")){const e=(0,d.zx)(this,{icon:{name:"cancel"},name:"remove",tooltip:"Delete",size:"tiny"});e.onAction(n("removeFolder")),a.appendChild(e.container)}}})),s.createNewFolder&&this.dataProvider.canI("FolderCreate")){const i=(0,d.zx)(this,"plus","Add folder","secondary");i.onAction((()=>{this.e.fire("addFolder",{path:(0,p.AH)(e.path+"/"),source:t})})),this.tree.append(i)}}))}),this.defaultTimeout))}var y=i(67);function k(e,t,i){return e.dataProvider.fileRemove(e.state.currentPath,t,i).then((i=>{e.status(i||e.i18n('File "%s" was deleted',t),!0)})).catch(e.status)}const C="jodit-filebrowser-preview",x=(e="next",t="right")=>`<div class="${C}__navigation ${C}__navigation_arrow_${e}">`+d.JO.get("angle-"+t)+"</a>";var S=e=>{if(!e.o.contextMenu)return()=>{};const t=(0,u.L)(e);return i=>{const o=_(i.target,e.container);if(!o)return;let s=o;const a=e.options,r=e=>(0,l.attr)(s,e)||"";return e.async.setTimeout((()=>{const c=E(o,g(e));c&&(e.state.activeElements=[c],t.show(i.clientX,i.clientY,[!("1"===r("data-is-file")||!a.editImage||!e.dataProvider.canI("ImageResize")&&!e.dataProvider.canI("ImageCrop"))&&{icon:"pencil",title:"Edit",exec:()=>y.r.call(e,r("href"),r("data-name"),r("data-path"),r("data-source"))},!!e.dataProvider.canI("FileRename")&&{icon:"italic",title:"Rename",async exec(){e.e.fire("fileRename.filebrowser",r("data-name"),r("data-path"),r("data-source"))}},!!e.dataProvider.canI("FileRemove")&&{icon:"bin",title:"Delete",async exec(){try{await k(e,r("data-name"),r("data-source"))}catch(t){return e.status(t)}return e.state.activeElements=[],v(e).catch(e.status)}},!!a.preview&&{icon:"eye",title:"Preview",exec(){const t=new n.Vq({fullsize:e.o.fullsize,language:e.o.language,buttons:["fullsize","dialog.close"]}),i=e.c.div(C,'<div class="jodit-icon_loader"></div>'),o=e.c.div(C+"__box"),c=e.c.fromHTML(x()),d=e.c.fromHTML(x("prev","left")),u=n=>{const r=e.c.element("img");r.setAttribute("src",n);const l=()=>{var n;e.isInDestruct||(e.e.off(r,"load"),h.i.detach(i),a.showPreviewNavigation&&(h.i.prevWithClass(s,e.files.getFullElName("item"))&&i.appendChild(d),h.i.nextWithClass(s,e.files.getFullElName("item"))&&i.appendChild(c)),i.appendChild(o),o.appendChild(r),t.setPosition(),null===(n=null==e?void 0:e.events)||void 0===n||n.fire("previewOpenedAndLoaded"))};e.e.on(r,"load",l),r.complete&&l()};e.e.on([c,d],"click",(function(){if(s=this===c?h.i.nextWithClass(s,e.files.getFullElName("item")):h.i.prevWithClass(s,e.files.getFullElName("item")),!s)throw(0,l.error)("Need element");h.i.detach(i),h.i.detach(o),i.innerHTML='<div class="jodit-icon_loader"></div>',u(r("href"))})),e.e.on("beforeDestruct",(()=>{t.destruct()})),t.container.classList.add(C+"__dialog"),t.setContent(i),t.setPosition(),t.open(),u(r("href")),e.events.on("beforeDestruct",(()=>{t.destruct()})).fire("previewOpened")}},{icon:"upload",title:"Download",exec(){const t=r("href");t&&e.ow.open(t)}}]))}),e.defaultTimeout),e.e.on("beforeClose",(()=>t.close())).on("beforeDestruct",(()=>t.destruct())),i.stopPropagation(),i.preventDefault(),!1}};const _=(e,t,i="a")=>h.i.closest(e,(e=>h.i.isTag(e,i)),t),E=(e,t)=>{const{key:i}=e.dataset,{item:o}=t[i||""];return o};function I(){let e=!1;const t=g(this),i=this;i.e.on(i.tree.container,"dragstart",(t=>{const o=_(t.target,i.container);o&&i.o.moveFolder&&(e=o)})).on(i.tree.container,"drop",(t=>{if((i.o.moveFile||i.o.moveFolder)&&e){let o=(0,l.attr)(e,"-path")||"";if(!i.o.moveFolder&&e.classList.contains(this.tree.getFullElName("item")))return!1;if(e.classList.contains(this.files.getFullElName("item"))&&(o+=(0,l.attr)(e,"-name"),!i.o.moveFile))return!1;const s=_(t.target,i.container);if(!s)return;i.dataProvider.move(o,(0,l.attr)(s,"-path")||"",(0,l.attr)(s,"-source")||"",e.classList.contains(this.files.getFullElName("item"))).then((()=>v(this))).catch(i.status),e=!1}})).on(i.files.container,"contextmenu",S(i)).on(i.files.container,"click",(e=>{(0,l.ctrlKey)(e)||(this.state.activeElements=[])})).on(i.files.container,"click",(e=>{const o=_(e.target,i.container);if(!o)return;const s=E(o,t);return s?(i.state.activeElements=(0,l.ctrlKey)(e)?[...i.state.activeElements,s]:[s],e.stopPropagation(),!1):void 0})).on(i.files.container,"dragstart",(t=>{if(i.o.moveFile){const o=_(t.target,i.container);if(!o)return;e=o}})).on(i.container,"drop",(e=>e.preventDefault()))}var j=i(20),T=i(65);function z(){const e=this.state,t=this.dataProvider,i=this;i.e.on("view.filebrowser",(t=>{t!==e.view&&(e.view=t)})).on("sort.filebrowser",(t=>{t!==e.sortBy&&(e.sortBy=t,b(i).catch(i.status))})).on("filter.filebrowser",(t=>{t!==e.filterWord&&(e.filterWord=t,b(i).catch(i.status))})).on("openFolder.filebrowser",(e=>{let t;t=".."===e.name?e.path.split("/").filter((e=>e.length)).slice(0,-1).join("/"):(0,l.normalizePath)(e.path,e.name),i.state.currentPath=t,i.state.currentSource="."===e.name?T.J:e.source})).on("removeFolder.filebrowser",(e=>{(0,n.I4)(i.i18n("Are you sure?"),i.i18n("Delete"),(o=>{o&&t.folderRemove(e.path,e.name,e.source).then((e=>(i.status(e,!0),v(i)))).catch(i.status)})).bindDestruct(i)})).on("renameFolder.filebrowser",(e=>{(0,n.NL)(i.i18n("Enter new name"),i.i18n("Rename"),(o=>{if(!(0,j.r1)(o))return i.status(i.i18n("Enter new name")),!1;t.folderRename(e.path,e.name,o,e.source).then((e=>(i.state.activeElements=[],i.status(e,!0),v(i)))).catch(i.status)}),i.i18n("type name"),e.name).bindDestruct(i)})).on("addFolder.filebrowser",(e=>{(0,n.NL)(i.i18n("Enter Directory name"),i.i18n("Create directory"),(o=>{t.createFolder(o,e.path,e.source).then((()=>v(i))).catch(i.status)}),i.i18n("type name")).bindDestruct(i)})).on("fileRemove.filebrowser",(()=>{i.state.activeElements.length&&(0,n.I4)(i.i18n("Are you sure?"),"",(e=>{if(e){const e=[];i.state.activeElements.forEach((t=>{e.push(k(i,t.file||t.name||"",t.sourceName))})),i.state.activeElements=[],Promise.all(e).then((()=>v(i).catch(i.status)),i.status)}})).bindDestruct(i)})).on("edit.filebrowser",(()=>{if(1===i.state.activeElements.length){const[e]=this.state.activeElements;y.r.call(i,e.fileURL,e.file||"",e.path,e.sourceName)}})).on("fileRename.filebrowser",((e,o,s)=>{1===i.state.activeElements.length&&(0,n.NL)(i.i18n("Enter new name"),i.i18n("Rename"),(a=>{if(!(0,j.r1)(a))return i.status(i.i18n("Enter new name")),!1;t.fileRename(o,e,a,s).then((e=>{i.state.activeElements=[],i.status(e,!0),b(i).catch(i.status)})).catch(i.status)}),i.i18n("type name"),e).bindDestruct(this)})).on("update.filebrowser",(()=>{v(this).then(this.status)}))}var L=i(19);class A extends d.qe{className(){return"FilebrowserFiles"}}class M extends d.qe{className(){return"FilebrowserTree"}}var D=i(5),B=i(14);class P extends c.C{constructor(e){var t;super(e),this.browser=this.c.div(this.componentName),this.status_line=this.c.div(this.getFullElName("status")),this.tree=new M(this),this.files=new A(this),this.state=(0,D.LO)({currentPath:"",currentSource:T.J,currentBaseUrl:"",activeElements:[],elements:[],messages:[],sources:[],view:"tiles",sortBy:"changed-desc",filterWord:"",onlyImages:!1}),this.errorHandler=e=>{this.status(e instanceof Error?this.i18n(e.message):this.dataProvider.getMessage(e))},this.close=()=>{this.dialog.close()},this.attachEvents(e);const i=this;i.options=(0,l.ConfigProto)(e||{},s.D.defaultOptions.filebrowser),i.storage=r.Ke.makeStorage(!!this.o.saveStateInStorage,this.componentName),i.dataProvider=(0,u.S)(i,i.options),i.dialog=new n.Vq({fullsize:i.o.fullsize,ownerWindow:i.ownerWindow,theme:i.o.theme,globalFullSize:i.o.globalFullSize,language:this.o.language,minWidth:Math.min(700,screen.width),minHeight:300,buttons:null!==(t=this.o.headerButtons)&&void 0!==t?t:["fullsize","dialog.close"]}),this.proxyDialogEvents(i),i.browser.component=this,i.container=i.browser,i.o.showFoldersPanel&&i.browser.appendChild(i.tree.container),i.browser.appendChild(i.files.container),i.browser.appendChild(i.status_line),z.call(i),I.call(i),w.call(i),i.dialog.setSize(i.o.width,i.o.height),["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRename","folderRename","fileRemove","folderRemove","folder","items","permissions"].forEach((e=>{null!=this.options[e]&&(this.options[e]=(0,l.ConfigProto)(this.options[e],this.o.ajax))}));const{storeView:o,storeSortBy:a,storeLastOpenedFolder:c}=this.o.saveStateInStorage||{storeLastOpenedFolder:!1,storeView:!1,storeSortBy:!1},d=o&&this.storage.get("view");i.state.view=d&&null==this.o.view?"list"===d?"list":"tiles":"list"===i.o.view?"list":"tiles",i.files.setMod("view",i.state.view);const h=a&&i.storage.get("sortBy");if(h){const e=h.split("-");i.state.sortBy=["changed","name","size"].includes(e[0])?h:"changed-desc"}else i.state.sortBy=i.o.sortBy||"changed-desc";if(c){const e=i.storage.get("currentPath"),t=i.storage.get("currentSource");i.state.currentPath=null!=e?e:"",i.state.currentSource=null!=t?t:""}i.initUploader(i),i.setStatus(B.n$.ready)}className(){return"Filebrowser"}onSelect(e){return()=>{if(this.state.activeElements.length){const t=[],i=[];this.state.activeElements.forEach((e=>{const o=e.fileURL;o&&(t.push(o),i.push(e.isImage||!1))})),this.close();const o={baseurl:"",files:t,isImages:i};(0,l.isFunction)(e)&&e(o),this.close()}return!1}}get isOpened(){return this.dialog.isOpened&&"none"!==this.browser.style.display}status(e,t){if((0,l.isString)(e)||(e=e.message),!(0,l.isString)(e)||!(0,l.trim)(e).length)return;const i=this.getFullElName("status","success",!0),o=this.getFullElName("status","active",!0);this.status_line.classList.remove(i),this.status_line.classList.add(o);const s=this.c.div();s.textContent=e,this.status_line.appendChild(s),t&&this.status_line.classList.add(i),this.async.setTimeout((()=>{this.status_line.classList.remove(o),h.i.detach(this.status_line)}),{timeout:this.o.howLongShowMsg,label:"fileBrowser.status"})}open(e=this.o.defaultCallback,t=!1){return this.state.onlyImages=t,this.async.promise(((t,i)=>{var o;if(!this.o.items||!this.o.items.url)throw(0,l.error)("Need set options.filebrowser.ajax.url");let s=0;this.e.off(this.files.container,"dblclick").on(this.files.container,"dblclick",this.onSelect(e)).on(this.files.container,"touchstart",(()=>{const t=(new Date).getTime();a.EMULATE_DBLCLICK_TIMEOUT>t-s&&this.onSelect(e)(),s=t})).off("select.filebrowser").on("select.filebrowser",this.onSelect(e));const n=this.c.div();this.toolbar.build(null!==(o=this.o.buttons)&&void 0!==o?o:[]).appendTo(n),this.dialog.open(this.browser,n),this.e.fire("sort.filebrowser",this.state.sortBy),v(this).then(t,i)}))}initUploader(e){var t;const i=this,o=null===(t=null==e?void 0:e.options)||void 0===t?void 0:t.uploader,a=(0,l.ConfigProto)(o||{},s.D.defaultOptions.uploader),n=()=>b(this);i.uploader=i.getInstance("Uploader",a),i.uploader.setPath(i.state.currentPath),i.uploader.setSource(i.state.currentSource),i.uploader.bind(i.browser,n,i.errorHandler),this.state.on(["change.currentPath","change.currentSource"],(()=>{this.uploader.setPath(this.state.currentPath),this.uploader.setSource(this.state.currentSource)})),i.e.on("bindUploader.filebrowser",(e=>{i.uploader.bind(e,n,i.errorHandler)}))}proxyDialogEvents(e){["afterClose","beforeOpen"].forEach((t=>{e.dialog.events.on(e.dialog,t,(()=>{this.e.fire(t)}))}))}destruct(){this.isInDestruct||(this.dialog.destruct(),this.events&&this.e.off(".filebrowser"),this.uploader&&this.uploader.destruct(),super.destruct())}}function R(e){return h.i.isElement(e)&&e.classList.contains(A.prototype.getFullElName("item"))}(0,o.gn)([L.autobind],P.prototype,"status",null),(0,o.gn)([L.autobind],P.prototype,"open",null)},(e,t,i)=>{"use strict";i.d(t,{S:()=>a,L:()=>n});var o=i(65),s=i(52);function a(e,t){return new o.Z(e,t)}function n(e){return new s.x(e)}},function(e,t,i){"use strict";i.d(t,{J:()=>l,Z:()=>c});var o=i(27),s=i(10),a=i(49),n=i(19),r=i(66);const l="default";class c{constructor(e,t){this.parent=e,this.options=t,this.__currentPermissions=null,this.ajaxInstances=new Map,this.progressHandler=e=>{}}get o(){return this.options}get(e){const t=this.ajaxInstances;if(t.has(e)){const i=t.get(e);null==i||i.abort(),t.delete(e)}const i=(0,s.ConfigProto)(void 0!==this.options[e]?this.options[e]:{},(0,s.ConfigProto)({onProgress:this.progressHandler},this.o.ajax));i.prepareData&&(i.data=i.prepareData.call(this,i.data));const o=new a.t(this.parent,i);t.set(e,o);const n=o.send();return n.finally((()=>{o.destruct(),t.delete(e),this.progressHandler(100)})),n.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=>{let t=this.o.permissions.process;if(t||(t=this.o.ajax.process),t){const i=t.call(self,e);i.data.permissions&&(this.__currentPermissions=i.data.permissions)}return this.__currentPermissions})):null):null}canI(e){const t="allow"+e;return null==this.__currentPermissions||void 0===this.__currentPermissions[t]||this.__currentPermissions[t]}async items(e,t,i={}){const 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)),this.generateItemsList(e.data.sources,i)}))):Promise.reject("Set Items api options")}generateItemsList(e,t={}){const i=[],o=e=>{var i;return!(null===(i=t.filterWord)||void 0===i?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){const{sort:a}=this.o;(0,s.isFunction)(a)&&t.sortBy&&e.files.sort(((e,i)=>a(e,i,t.sortBy))),e.files.forEach((s=>{o(s)&&(e=>!t.onlyImages||void 0===e.isImage||e.isImage)(s)&&i.push(r.Z.create({...s,sourceName:e.name,source:e}))}))}})),i}async tree(e,t){return e=(0,s.normalizeRelativePath)(e),await this.permissions(e,t),this.o.folder?(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("Set Folder Api options")}getPathByUrl(e){return(0,s.set)("options.getLocalFileByUrl.data.url",e,this),this.get("getLocalFileByUrl").then((e=>{if(this.isSuccess(e))return e.data;throw(0,s.error)(this.getMessage(e))}))}createFolder(e,t,i){const{create:o}=this.o;if(!o)throw(0,s.error)("Set Create api options");return o.data.source=i,o.data.path=t,o.data.name=e,this.get("create").then((e=>{if(this.isSuccess(e))return!0;throw(0,s.error)(this.getMessage(e))}))}move(e,t,i,o){const a=o?"fileMove":"folderMove",n=this.options[a];if(!n)throw(0,s.error)("Set Move api options");return n.data.from=e,n.data.path=t,n.data.source=i,this.get(a).then((e=>{if(this.isSuccess(e))return!0;throw(0,s.error)(this.getMessage(e))}))}remove(e,t,i,o){const a=this.o[e];if(!a)throw(0,s.error)(`Set "${e}" api options`);return a.data.path=t,a.data.name=i,a.data.source=o,this.get(e).then((e=>(a.process&&(e=a.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,o,a){const n=this.o[e];if(!n)throw(0,s.error)(`Set "${e}" api options`);return n.data.path=t,n.data.name=i,n.data.newname=o,n.data.source=a,this.get(e).then((e=>(n.process&&(e=n.process.call(self,e)),this.getMessage(e))))}folderRename(e,t,i,o){return this.rename("folderRename",e,t,i,o)}fileRename(e,t,i,o){return this.rename("fileRename",e,t,i,o)}changeImage(e,t,i,o,s,a){this.o[e]||(this.o[e]={data:{}});const n=this.o[e];return void 0===n.data&&(n.data={action:e}),n.data.newname=s||o,a&&(n.data.box=a),n.data.path=t,n.data.name=o,n.data.source=i,this.get(e).then((()=>!0))}crop(e,t,i,o,s){return this.changeImage("crop",e,t,i,o,s)}resize(e,t,i,o,s){return this.changeImage("resize",e,t,i,o,s)}getMessage(e){return this.options.getMessage(e)}isSuccess(e){return this.options.isSuccess(e)}destruct(){this.ajaxInstances.forEach((e=>e.destruct())),this.ajaxInstances.clear()}}(0,o.gn)([n.autobind],c.prototype,"isSuccess",null)},function(e,t,i){"use strict";i.d(t,{Z:()=>s});var o=i(10);class s{constructor(e){this.data=e,Object.keys(e).forEach((t=>{this[t]=e[t]}))}static create(e){return e instanceof s?e:new s(e)}get path(){return(0,o.normalizePath)(this.data.source.path?this.data.source.path+"/":"/")}get imageURL(){const e=""+(new Date).getTime(),{thumbIsAbsolute:t,source:i,thumb:s,file:a}=this.data,n=s||a;return t&&n?n:(0,o.normalizeUrl)(i.baseurl,i.path,n||"")+"?_tmst="+e}get fileURL(){let{name:e}=this.data;const{file:t,fileIsAbsolute:i,source:s}=this.data;return void 0!==t&&(e=t),i&&e?e:(0,o.normalizeUrl)(s.baseurl,s.path,e||"")}get time(){const{changed:e}=this.data;return e&&("number"==typeof e?new Date(e).toLocaleString():e)||""}get uniqueHashKey(){const e=this.data;let t=[e.sourceName,e.name,e.file,this.time,e.thumb].join("_");return t=t.toLowerCase().replace(/[^0-9a-z\-.]/g,"-"),t}toJSON(){return this.data}}},function(e,t,i){"use strict";i.d(t,{v:()=>v,r:()=>w});var o=i(27),s=i(2),a=i(14),n=i(53),r=i(10),l=i(17),c=i(41),d=i(37);const h="jodit-image-editor",u=d.JO.get.bind(d.JO),p=(e,t="jodti-image-editor_active")=>e?t:"";var m,g=i(19);s.D.prototype.imageeditor={min_width:20,min_height:20,closeAfterSave:!1,width:"85%",height:"85%",crop:!0,resize:!0,resizeUseRatio:!0,resizeMinWidth:20,resizeMinHeight:20,cropUseRatio:!0,cropDefaultWidth:"70%",cropDefaultHeight:"70%"};const f="resize",b="crop";let v=m=class extends a.Hr{constructor(e){super(e),this.resizeUseRatio=!0,this.cropUseRatio=!0,this.clicked=!1,this.start_x=0,this.start_y=0,this.top_x=0,this.top_y=0,this.width=0,this.height=0,this.activeTab=f,this.naturalWidth=0,this.naturalHeight=0,this.ratio=0,this.new_h=0,this.new_w=0,this.diff_x=0,this.diff_y=0,this.cropBox={x:0,y:0,w:0,h:0},this.resizeBox={w:0,h:0},this.calcCropBox=()=>{const e=this.crop_box.parentNode,t=.8*e.offsetWidth,i=.8*e.offsetHeight;let o=t,s=i;const{naturalWidth:a,naturalHeight:n}=this;t>a&&i>n?(o=a,s=n):this.ratio>t/i?(o=t,s=n*(t/a)):(o=a*(i/n),s=i),(0,r.css)(this.crop_box,{width:o,height:s})},this.showCrop=()=>{if(!this.cropImage)return;this.calcCropBox();const e=this.cropImage.offsetWidth||this.image.offsetWidth||this.image.naturalWidth;this.new_w=m.calcValueByPercent(e,this.o.cropDefaultWidth);const t=this.cropImage.offsetHeight||this.image.offsetHeight||this.image.naturalHeight;this.new_h=this.cropUseRatio?this.new_w/this.ratio:m.calcValueByPercent(t,this.o.cropDefaultHeight),(0,r.css)(this.cropHandler,{backgroundImage:"url("+(0,r.attr)(this.cropImage,"src")+")",width:this.new_w,height:this.new_h,left:e/2-this.new_w/2,top:t/2-this.new_h/2}),this.j.e.fire(this.cropHandler,"updatesize")},this.updateCropBox=()=>{if(!this.cropImage)return;const e=this.cropImage.offsetWidth/this.naturalWidth,t=this.cropImage.offsetHeight/this.naturalHeight;this.cropBox.x=(0,r.css)(this.cropHandler,"left")/e,this.cropBox.y=(0,r.css)(this.cropHandler,"top")/t,this.cropBox.w=this.cropHandler.offsetWidth/e,this.cropBox.h=this.cropHandler.offsetHeight/t,this.sizes.textContent=this.cropBox.w.toFixed(0)+"x"+this.cropBox.h.toFixed(0)},this.updateResizeBox=()=>{this.resizeBox.w=this.image.offsetWidth||this.naturalWidth,this.resizeBox.h=this.image.offsetHeight||this.naturalHeight},this.setHandlers=()=>{const e=this,{widthInput:t,heightInput:i}=(0,r.refs)(this.editor);e.j.e.on([e.editor.querySelector(".jodit_bottomright"),e.cropHandler],"mousedown.jodit-image-editor",this.onResizeHandleMouseDown).on(this.j.ow,"resize.jodit-image-editor",(()=>{this.j.e.fire(e.resizeHandler,"updatesize"),e.showCrop(),this.j.e.fire(e.cropHandler,"updatesize")})),e.j.e.on((0,r.toArray)(this.editor.querySelectorAll(".jodit-image-editor__slider-title")),"click",this.onTitleModeClick).on([t,i],"input",this.onChangeSizeInput);const{keepAspectRatioResize:o,keepAspectRatioCrop:s}=(0,r.refs)(this.editor);o&&o.addEventListener("change",(()=>{this.resizeUseRatio=o.checked})),s&&s.addEventListener("change",(()=>{this.cropUseRatio=s.checked})),e.j.e.on(e.resizeHandler,"updatesize",(()=>{(0,r.css)(e.resizeHandler,{top:0,left:0,width:e.image.offsetWidth||e.naturalWidth,height:e.image.offsetHeight||e.naturalHeight}),this.updateResizeBox()})).on(e.cropHandler,"updatesize",(()=>{if(!e.cropImage)return;let t=(0,r.css)(e.cropHandler,"left"),i=(0,r.css)(e.cropHandler,"top"),o=e.cropHandler.offsetWidth,s=e.cropHandler.offsetHeight;0>t&&(t=0),0>i&&(i=0),t+o>e.cropImage.offsetWidth&&(o=e.cropImage.offsetWidth-t,e.cropUseRatio&&(s=o/e.ratio)),i+s>e.cropImage.offsetHeight&&(s=e.cropImage.offsetHeight-i,e.cropUseRatio&&(o=s*e.ratio)),(0,r.css)(e.cropHandler,{width:o,height:s,left:t,top:i,backgroundPosition:-t-1+"px "+(-i-1)+"px",backgroundSize:e.cropImage.offsetWidth+"px "+e.cropImage.offsetHeight+"px"}),e.updateCropBox()})),Object.values(e.buttons).forEach((o=>{o.onAction((()=>{const s={action:e.activeTab,box:e.activeTab===f?e.resizeBox:e.cropBox};switch(o){case e.buttons.saveas:(0,n.NL)(e.j.i18n("Enter new name"),e.j.i18n("Save in new file"),(t=>{if(!(0,r.trim)(t))return(0,n.bZ)(e.j.i18n("The name should not be empty")).bindDestruct(this.j),!1;e.onSave(t,s,e.hide,(t=>{(0,n.bZ)(t.message).bindDestruct(e.j)}))})).bindDestruct(this.j);break;case e.buttons.save:e.onSave(void 0,s,e.hide,(t=>{(0,n.bZ)(t.message).bindDestruct(e.j)}));break;case e.buttons.reset:e.activeTab===f?((0,r.css)(e.image,{width:null,height:null}),t.value=""+e.naturalWidth,i.value=""+e.naturalHeight,e.j.e.fire(e.resizeHandler,"updatesize")):e.showCrop()}}))}))},this.options=e&&e.o&&e.o.imageeditor?e.o.imageeditor:s.D.defaultOptions.imageeditor;const t=this.options;this.resizeUseRatio=t.resizeUseRatio,this.cropUseRatio=t.cropUseRatio,this.buttons={reset:(0,c.zx)(this.j,"update","Reset"),save:(0,c.zx)(this.j,"save","Save"),saveas:(0,c.zx)(this.j,"save","Save as ...")},this.activeTab=t.resize?f:b,this.editor=((e,t)=>{const i=e.i18n.bind(e),o=(e,t,o=!0)=>`<div class="jodit-form__group">\n\t\t\t<label>${i(e)}</label>\n\n\t\t\t<label class='jodit-switcher'>\n\t\t\t\t<input ${p(o,"checked")} data-ref="${t}" type="checkbox"/>\n\t\t\t\t<span class="jodit-switcher__slider"></span>\n\t\t\t</label>\n\t</div>`;return e.create.fromHTML(`<form class="${h} jodit-properties">\n\t\t<div class="jodit-grid jodit-grid_xs-column">\n\t\t\t<div class="jodit_col-lg-3-4 jodit_col-sm-5-5">\n\t\t\t${t.resize?`<div class="${h}__area ${h}__area_resize ${h}_active">\n\t\t\t\t\t\t\t<div data-ref="resizeBox" class="${h}__box"></div>\n\t\t\t\t\t\t\t<div class="${h}__resizer">\n\t\t\t\t\t\t\t\t<i class="jodit_bottomright"></i>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>`:""}\n\t\t\t${t.crop?`<div class="${h}__area ${h}__area_crop ${p(!t.resize)}">\n\t\t\t\t\t\t\t<div data-ref="cropBox" class="${h}__box">\n\t\t\t\t\t\t\t\t<div class="${h}__croper">\n\t\t\t\t\t\t\t\t\t<i class="jodit_bottomright"></i>\n\t\t\t\t\t\t\t\t\t<i class="${h}__sizes"></i>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>`:""}\n\t\t\t</div>\n\t\t\t<div class="jodit_col-lg-1-4 jodit_col-sm-5-5">\n\t\t\t${t.resize?`<div data-area="resize" class="${h}__slider ${h}_active">\n\t\t\t\t\t\t\t<div class="${h}__slider-title">\n\t\t\t\t\t\t\t\t${u("resize")}\n\t\t\t\t\t\t\t\t${i("Resize")}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class="${h}__slider-content">\n\t\t\t\t\t\t\t\t<div class="jodit-form__group">\n\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t${i("Width")}\n\t\t\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t\t\t<input type="number" data-ref="widthInput" class="jodit-input"/>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="jodit-form__group">\n\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t${i("Height")}\n\t\t\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t\t\t<input type="number" data-ref="heightInput" class="jodit-input"/>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t${o("Keep Aspect Ratio","keepAspectRatioResize")}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>`:""}\n\t\t\t${t.crop?`<div data-area="crop" class="${h}__slider ${p(!t.resize)}'">\n\t\t\t\t\t\t\t<div class="${h}__slider-title">\n\t\t\t\t\t\t\t\t${u("crop")}\n\t\t\t\t\t\t\t\t${i("Crop")}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class="${h}__slider-content">\n\t\t\t\t\t\t\t\t${o("Keep Aspect Ratio","keepAspectRatioCrop")}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>`:""}\n\t\t\t</div>\n\t\t</div>\n\t</form>`)})(this.j,this.options);const{resizeBox:i,cropBox:o}=(0,r.refs)(this.editor);this.resize_box=i,this.crop_box=o,this.sizes=this.editor.querySelector(".jodit-image-editor__area.jodit-image-editor__area_crop .jodit-image-editor__sizes"),this.resizeHandler=this.editor.querySelector(".jodit-image-editor__resizer"),this.cropHandler=this.editor.querySelector(".jodit-image-editor__croper"),this.dialog=new n.Vq({fullsize:this.j.o.fullsize,globalFullSize:this.j.o.globalFullSize,language:this.j.o.language,buttons:["fullsize","dialog.close"]}),this.dialog.setContent(this.editor),this.dialog.setSize(this.o.width,this.o.height),this.dialog.setHeader([this.buttons.reset,this.buttons.save,this.buttons.saveas]),this.setHandlers()}className(){return"ImageEditor"}onTitleModeClick(e){const t=this,i=e.target,o=null==i?void 0:i.parentElement;if(!o)return;(0,r.$$)(".jodit-image-editor__slider,.jodit-image-editor__area",t.editor).forEach((e=>e.classList.remove("jodit-image-editor_active"))),o.classList.add("jodit-image-editor_active"),t.activeTab=(0,r.attr)(o,"-area")||f;const s=t.editor.querySelector(".jodit-image-editor__area.jodit-image-editor__area_"+t.activeTab);s&&s.classList.add("jodit-image-editor_active"),t.activeTab===b&&t.showCrop()}onChangeSizeInput(e){const t=this,i=e.target,{widthInput:o,heightInput:s}=(0,r.refs)(this.editor),a="widthInput"===(0,r.attr)(i,"data-ref"),n=parseInt(i.value,10),l=a?t.o.min_height:t.o.min_width;let c;n>(a?t.o.min_width:t.o.min_height)&&((0,r.css)(t.image,a?"width":"height",n),t.resizeUseRatio&&(c=Math.round(a?n/t.ratio:n*t.ratio),c>l&&((0,r.css)(t.image,a?"height":"width",c),a?s.value=""+c:o.value=""+c))),this.j.e.fire(t.resizeHandler,"updatesize")}onResizeHandleMouseDown(e){const t=this;t.target=e.target,e.preventDefault(),e.stopImmediatePropagation(),t.clicked=!0,t.start_x=e.clientX,t.start_y=e.clientY,t.activeTab===b?(t.top_x=(0,r.css)(t.cropHandler,"left"),t.top_y=(0,r.css)(t.cropHandler,"top"),t.width=t.cropHandler.offsetWidth,t.height=t.cropHandler.offsetHeight):(t.width=t.image.offsetWidth,t.height=t.image.offsetHeight),t.j.e.on(this.j.ow,"mousemove",this.onGlobalMouseMove).one(this.j.ow,"mouseup",this.onGlobalMouseUp)}onGlobalMouseUp(e){this.clicked&&(this.clicked=!1,e.stopImmediatePropagation(),this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove))}onGlobalMouseMove(e){const t=this;if(!t.clicked)return;const{widthInput:i,heightInput:o}=(0,r.refs)(this.editor);t.diff_x=e.clientX-t.start_x,t.diff_y=e.clientY-t.start_y,t.activeTab===f&&t.resizeUseRatio||t.activeTab===b&&t.cropUseRatio?t.diff_x?(t.new_w=t.width+t.diff_x,t.new_h=Math.round(t.new_w/t.ratio)):(t.new_h=t.height+t.diff_y,t.new_w=Math.round(t.new_h*t.ratio)):(t.new_w=t.width+t.diff_x,t.new_h=t.height+t.diff_y),t.activeTab===f?(t.new_w>t.o.resizeMinWidth&&((0,r.css)(t.image,"width",t.new_w+"px"),i.value=""+t.new_w),t.new_h>t.o.resizeMinHeight&&((0,r.css)(t.image,"height",t.new_h+"px"),o.value=""+t.new_h),this.j.e.fire(t.resizeHandler,"updatesize")):(t.target!==t.cropHandler?(t.top_x+t.new_w>t.cropImage.offsetWidth&&(t.new_w=t.cropImage.offsetWidth-t.top_x),t.top_y+t.new_h>t.cropImage.offsetHeight&&(t.new_h=t.cropImage.offsetHeight-t.top_y),(0,r.css)(t.cropHandler,{width:t.new_w,height:t.new_h})):(t.top_x+t.diff_x+t.cropHandler.offsetWidth>t.cropImage.offsetWidth&&(t.diff_x=t.cropImage.offsetWidth-t.top_x-t.cropHandler.offsetWidth),(0,r.css)(t.cropHandler,"left",t.top_x+t.diff_x),t.top_y+t.diff_y+t.cropHandler.offsetHeight>t.cropImage.offsetHeight&&(t.diff_y=t.cropImage.offsetHeight-t.top_y-t.cropHandler.offsetHeight),(0,r.css)(t.cropHandler,"top",t.top_y+t.diff_y)),this.j.e.fire(t.cropHandler,"updatesize"))}get o(){return this.options}hide(){this.dialog.close()}open(e,t){return this.j.async.promise((i=>{const o=(new Date).getTime();this.image=this.j.c.element("img"),(0,r.$$)("img,.jodit-icon_loader",this.resize_box).forEach(l.i.safeRemove),(0,r.$$)("img,.jodit-icon_loader",this.crop_box).forEach(l.i.safeRemove),(0,r.css)(this.cropHandler,"background","transparent"),this.onSave=t,this.resize_box.appendChild(this.j.c.element("i",{class:"jodit-icon_loader"})),this.crop_box.appendChild(this.j.c.element("i",{class:"jodit-icon_loader"})),this.image.setAttribute("src",e+=/\?/.test(e)?"&_tst="+o:"?_tst="+o),this.dialog.open();const{widthInput:s,heightInput:a}=(0,r.refs)(this.editor),n=()=>{this.isDestructed||(this.image.removeEventListener("load",n),this.naturalWidth=this.image.naturalWidth,this.naturalHeight=this.image.naturalHeight,s.value=""+this.naturalWidth,a.value=""+this.naturalHeight,this.ratio=this.naturalWidth/this.naturalHeight,this.resize_box.appendChild(this.image),this.cropImage=this.image.cloneNode(!0),this.crop_box.appendChild(this.cropImage),(0,r.$$)(".jodit-icon_loader",this.editor).forEach(l.i.safeRemove),this.activeTab===b&&this.showCrop(),this.j.e.fire(this.resizeHandler,"updatesize"),this.j.e.fire(this.cropHandler,"updatesize"),this.dialog.setPosition(),this.j.e.fire("afterImageEditor"),i(this.dialog))};this.image.addEventListener("load",n),this.image.complete&&n()}))}destruct(){this.isDestructed||(this.dialog&&!this.dialog.isInDestruct&&this.dialog.destruct(),l.i.safeRemove(this.editor),this.j.e&&this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove).off(this.j.ow,"mouseup",this.onGlobalMouseUp).off(this.ow,".jodit-image-editor").off(".jodit-image-editor"),super.destruct())}};function w(e,t,i,o,s,a){return this.getInstance("ImageEditor",this.o).open(e,((e,n,r,l)=>{let c;c="resize"===n.action?this.dataProvider.resize(i,o,t,e,n.box):this.dataProvider.crop(i,o,t,e,n.box),c.then((e=>{e&&(r(),s&&s())})).catch((e=>{l(e),a&&a(e)}))}))}v.calcValueByPercent=(e,t)=>{const i=""+t,o=parseFloat(""+e);let s;return s=/^[-+]?[0-9]+(px)?$/.exec(i),s?parseInt(i,10):(s=/^([-+]?[0-9.]+)%$/.exec(i),s?Math.round(o*(parseFloat(s[1])/100)):o||0)},(0,o.gn)([g.autobind],v.prototype,"onTitleModeClick",null),(0,o.gn)([(0,g.debounce)(),g.autobind],v.prototype,"onChangeSizeInput",null),(0,o.gn)([g.autobind],v.prototype,"onResizeHandleMouseDown",null),(0,o.gn)([g.autobind],v.prototype,"onGlobalMouseUp",null),(0,o.gn)([(0,g.throttle)(10)],v.prototype,"onGlobalMouseMove",null),(0,o.gn)([g.autobind],v.prototype,"hide",null),(0,o.gn)([g.autobind],v.prototype,"open",null),v=m=(0,o.gn)([g.component],v)},e=>{e.exports={"Type something":"Start writing...",pencil:"Edit",Quadrate:"Square"}},e=>{e.exports={"Type something":"إبدأ في الكتابة...","About Jodit":"حول جوديت","Jodit Editor":"محرر جوديت","Jodit User's Guide":"دليل مستخدم جوديت","contains detailed help for using":"يحتوي على مساعدة مفصلة للاستخدام","For information about the license, please go to our website:":"للحصول على معلومات حول الترخيص، يرجى الذهاب لموقعنا:","Buy full version":"شراء النسخة الكاملة","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"حقوق الطبع والنشر © XDSoft.net - Chupurnov Valeriy. كل الحقوق محفوظة.",Anchor:"مِرْساة","Open in new tab":"فتح في نافذة جديدة","Open editor in fullsize":"فتح المحرر في الحجم الكامل","Clear Formatting":"مسح التنسيق","Fill color or set the text color":"ملء اللون أو تعيين لون النص",Redo:"إعادة",Undo:"تراجع",Bold:"عريض",Italic:"مائل","Insert Unordered List":"إدراج قائمة غير مرتبة","Insert Ordered List":"إدراج قائمة مرتبة","Align Center":"محاذاة للوسط","Align Justify":"محاذاة مثبتة","Align Left":"محاذاة لليسار","Align Right":"محاذاة لليمين","Insert Horizontal Line":"إدراج خط أفقي","Insert Image":"إدراج صورة","Insert file":"ادخال الملف","Insert youtube/vimeo video":"إدراج فيديو يوتيوب/فيميو ","Insert link":"إدراج رابط","Font size":"حجم الخط","Font family":"نوع الخط","Insert format block":"إدراج كتلة تنسيق",Normal:"عادي","Heading 1":"عنوان 1","Heading 2":"عنوان 2","Heading 3":"عنوان 3","Heading 4":"عنوان 4",Quote:"إقتباس",Code:"كود",Insert:"إدراج","Insert table":"إدراج جدول","Decrease Indent":"تقليل المسافة البادئة","Increase Indent":"زيادة المسافة البادئة","Select Special Character":"تحديد أحرف خاصة","Insert Special Character":"إدراج حرف خاص","Paint format":"تنسيق الرسم","Change mode":"تغيير الوضع",Margins:"هوامش",top:"أعلى",right:"يمين",bottom:"أسفل",left:"يسار",Styles:"الأنماط",Classes:"الطبقات",Align:"محاذاة",Right:"اليمين",Center:"الوسط",Left:"اليسار","--Not Set--":"--غير مضبوط--",Src:"Src",Title:"العنوان",Alternative:"العنوان البديل",Link:"الرابط","Open link in new tab":"افتح الرابط في نافذة جديدة",Image:"الصورة",file:"ملف",Advanced:"متقدم","Image properties":"خصائص الصورة",Cancel:"إلغاء",Ok:"حسنا","File Browser":"متصفح الملفات","Error on load list":"حدث خطأ في تحميل القائمة ","Error on load folders":"حدث خطأ في تحميل المجلدات","Are you sure?":"هل أنت واثق؟","Enter Directory name":"أدخل اسم المجلد","Create directory":"إنشاء مجلد","type name":"أكتب إسم","Drop image":"إسقاط صورة","Drop file":"إسقاط الملف","or click":"أو أنقر","Alternative text":"النص البديل",Upload:"رفع",Browse:"تصفح",Background:"الخلفية",Text:"نص",Top:"أعلى",Middle:"الوسط",Bottom:"الأسفل","Insert column before":"إدراج عمود قبل","Insert column after":"إدراج عمود بعد","Insert row above":"إدراج صف أعلى","Insert row below":"إدراج صف أسفل","Delete table":"حذف الجدول","Delete row":"حذف الصف","Delete column":"حذف العمود","Empty cell":"خلية فارغة","Chars: %d":"%d حرف","Words: %d":"%d كلام","Strike through":"اضرب من خلال",Underline:"أكد",superscript:"حرف فوقي",subscript:"مخطوطة","Cut selection":"قطع الاختيار","Select all":"اختر الكل",Break:"استراحة","Search for":"البحث عن","Replace with":"استبدل ب",Replace:"محل",Paste:"معجون","Choose Content to Paste":"اختر محتوى للصق",source:"مصدر",bold:"بالخط العريض",italic:"مائل",brush:"شغل",link:"صلة",undo:"إلغاء",redo:"كرر",table:"طاولة",image:"صورة",eraser:"نظيف",paragraph:"فقرة",fontsize:"حجم الخط",video:"فيديو",font:"الخط",about:"حول المحرر",print:"طباعة",symbol:"رمز",underline:"أكد",strikethrough:"شطب",indent:"المسافة البادئة",outdent:"نتوء",fullsize:"ملء الشاشة",shrink:"الحجم التقليدي",copyformat:"نسخ التنسيق",hr:"الخط",ul:"قائمة",ol:"قائمة مرقمة",cut:"قطع",selectall:"اختر الكل","Embed code":"قانون","Open link":"فتح الرابط","Edit link":"تعديل الرابط","No follow":"سمة Nofollow",Unlink:"إزالة الرابط",Update:"تحديث",pencil:"لتحرير",Eye:"مراجعة"," URL":"URL",Edit:"تحرير","Horizontal align":"محاذاة أفقية",Filter:"فلتر","Sort by changed":"عن طريق التغيير","Sort by name":"بالاسم","Sort by size":"حسب الحجم","Add folder":"إضافة مجلد",Reset:"إعادة",Save:"احتفظ","Save as ...":"حفظ باسم",Resize:"تغيير الحجم",Crop:"حجم القطع",Width:"عرض",Height:"ارتفاع","Keep Aspect Ratio":"حافظ على النسب",Yes:"أن",No:"لا",Remove:"حذف",Select:"تميز","Select %s":"تميز %s","Vertical align":"محاذاة عمودية",Split:"انشق، مزق",Merge:"اذهب","Add column":"أضف العمود","Add row":"اضف سطر","License: %s":"رخصة %s",Delete:"حذف","Split vertical":"انقسام عمودي","Split horizontal":"تقسيم أفقي",Border:"الحدود","Your code is similar to HTML. Keep as HTML?":"يشبه الكود الخاص بك HTML. تبقي كما HTML؟","Paste as HTML":"الصق ك HTML",Keep:"احتفظ","Insert as Text":"إدراج كنص","Insert only Text":"إدراج النص فقط","You can only edit your own images. Download this image on the host?":"يمكنك فقط تحرير صورك الخاصة. تحميل هذه الصورة على المضيف؟","The image has been successfully uploaded to the host!":"تم تحميل الصورة بنجاح على الخادم!",palette:"لوحة","There are no files":"لا توجد ملفات في هذا الدليل.",Rename:"إعادة تسمية","Enter new name":"أدخل اسم جديد",preview:"معاينة",download:"تحميل","Paste from clipboard":"لصق من الحافظة","Your browser doesn't support direct access to the clipboard.":"متصفحك لا يدعم إمكانية الوصول المباشر إلى الحافظة.","Copy selection":"نسخ التحديد",copy:"نسخ","Border radius":"دائرة نصف قطرها الحدود","Show all":"عرض كل",Apply:"تطبيق","Please fill out this field":"يرجى ملء هذا المجال","Please enter a web address":"يرجى إدخال عنوان ويب",Default:"الافتراضي",Circle:"دائرة",Dot:"نقطة",Quadrate:"المربعة",Find:"البحث","Find Previous":"تجد السابقة","Find Next":"تجد التالي","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"للصق المحتوى قادم من Microsoft Word/Excel الوثيقة. هل تريد أن تبقي شكل أو تنظيفه ؟ ","Word Paste Detected":"كلمة لصق الكشف عن",Clean:"نظيفة","Insert className":"أدخل اسم الفصل"}},e=>{e.exports={"Type something":"Napiš něco","About Jodit":"O Jodit","Jodit Editor":"Editor Jodit","Free Non-commercial Version":"Verze pro nekomerční použití","Jodit User's Guide":"Jodit Uživatelská příručka","contains detailed help for using":"obsahuje detailní nápovědu","For information about the license, please go to our website:":"Pro informace o licenci, prosím, přejděte na naši stránku:","Buy full version":"Koupit plnou verzi","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Všechna práva vyhrazena.",Anchor:"Anchor","Open in new tab":"Otevřít v nové záložce","Open editor in fullsize":"Otevřít v celoobrazovkovém režimu","Clear Formatting":"Vyčistit formátování","Fill color or set the text color":"Barva výplně a písma",Redo:"Vpřed",Undo:"Zpět",Bold:"Tučné",Italic:"Kurzíva","Insert Unordered List":"Odrážky","Insert Ordered List":"Číslovaný seznam","Align Center":"Zarovnat na střed","Align Justify":"Zarovnat do bloku","Align Left":"Zarovnat vlevo","Align Right":"Zarovnat vpravo","Insert Horizontal Line":"Vložit horizontální linku","Insert Image":"Vložit obrázek","Insert file":"Vložit soubor","Insert youtube/vimeo video":"Vložit video (YT/Vimeo)","Insert link":"Vložit odkaz","Font size":"Velikost písma","Font family":"Typ písma","Insert format block":"Formátovat blok",Normal:"Normální text","Heading 1":"Nadpis 1","Heading 2":"Nadpis 2","Heading 3":"Nadpis 3","Heading 4":"Nadpis 4",Quote:"Citát",Code:"Kód",Insert:"Vložit","Insert table":"Vložit tabulku","Decrease Indent":"Zmenšit odsazení","Increase Indent":"Zvětšit odsazení","Select Special Character":"Vybrat speciální symbol","Insert Special Character":"Vložit speciální symbol","Paint format":"Použít formát","Change mode":"Změnit mód",Margins:"Okraje",top:"horní",right:"pravý",bottom:"spodní",left:"levý",Styles:"Styly",Classes:"Třídy",Align:"Zarovnání",Right:"Vpravo",Center:"Na střed",Left:"Vlevo","--Not Set--":"--nenastaveno--",Src:"src",Title:"Titulek",Alternative:"Alternativní text (alt)",Link:"Link","Open link in new tab":"Otevřít link v nové záložce",Image:"Obrázek",file:"soubor",Advanced:"Rozšířené","Image properties":"Vlastnosti obrázku",Cancel:"Zpět",Ok:"Ok","Your code is similar to HTML. Keep as HTML?":"Váš text se podobá HTML. Vložit ho jako HTML?","Paste as HTML":"Vložit jako HTML",Keep:"Ponechat originál",Clean:"Vyčistit","Insert as Text":"Vložit jako TEXT","Insert only Text":"Vložit pouze TEXT","Word Paste Detected":"Detekován fragment z Wordu nebo Excelu","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Obsah, který vkládáte, je pravděpodobně z Microsoft Word / Excel. Chcete ponechat formát nebo vložit pouze text?","File Browser":"Prohlížeč souborů","Error on load list":"Chyba při načítání seznamu souborů","Error on load folders":"Chyba při načítání složek","Are you sure?":"Jste si jistý(á)?","Enter Directory name":"Název složky","Create directory":"Vytvořit složku","type name":"název","Drop image":"Přetáhněte sem obrázek","Drop file":"Přetáhněte sem soubor","or click":"nebo klikněte","Alternative text":"Alternativní text",Browse:"Server",Upload:"Nahrát",Background:"Pozadí",Text:"Text",Top:"Nahoru",Middle:"Na střed",Bottom:"Dolu","Insert column before":"Vložit sloupec před","Insert column after":"Vložit sloupec za","Insert row above":"Vložit řádek nad","Insert row below":"Vložit řádek pod","Delete table":"Vymazat tabulku","Delete row":"Vymazat řádku","Delete column":"Vymazat sloupec","Empty cell":"Vyčistit buňku",source:"HTML",bold:"tučně",italic:"kurzíva",brush:"štětec",link:"odkaz",undo:"zpět",redo:"vpřed",table:"tabulka",image:"obrázek",eraser:"guma",paragraph:"odstavec",fontsize:"velikost písma",video:"video",font:"písmo",about:"о editoru",print:"tisk",symbol:"symbol",underline:"podtrženo",strikethrough:"přeškrtnuto",indent:"zvětšit odsazení",outdent:"zmenšit odsazení",fullsize:"celoobrazovkový režim",shrink:"smrsknout",copyformat:"Kopírovat formát",hr:"Linka",ul:"Odrážka",ol:"Číslovaný seznam",cut:"Vyjmout",selectall:"Označit vše","Embed code":"Kód","Open link":"Otevřít odkaz","Edit link":"Upravit odkaz","No follow":"Atribut no-follow",Unlink:"Odstranit odkaz",Eye:"Zobrazit",pencil:"Chcete-li upravit",Update:"Aktualizovat"," URL":"URL",Edit:"Editovat","Horizontal align":"Horizontální zarovnání",Filter:"Filtr","Sort by changed":"Dle poslední změny","Sort by name":"Dle názvu","Sort by size":"Dle velikosti","Add folder":"Přidat složku",Reset:"Reset",Save:"Uložit","Save as ...":"Uložit jako...",Resize:"Změnit rozměr",Crop:"Ořezat",Width:"Šířka",Height:"Výška","Keep Aspect Ratio":"Ponechat poměr",Yes:"Ano",No:"Ne",Remove:"Vyjmout",Select:"Označit","Chars: %d":"Znaky: %d","Words: %d":"Slova: %d",All:"Vše","Select %s":"Označit %s","Select all":"Označit vše","Vertical align":"Vertikální zarovnání",Split:"Rozdělit","Split vertical":"Rozdělit vertikálně","Split horizontal":"Rozdělit horizontálně",Merge:"Spojit","Add column":"Přidat sloupec","Add row":"Přidat řádek",Delete:"Vymazat",Border:"Okraj","License: %s":"Licence: %s","Strike through":"Přeškrtnuto",Underline:"Podtrženo",superscript:"Horní index",subscript:"Dolní index","Cut selection":"Vyjmout označené",Break:"Zalomení","Search for":"Najdi","Replace with":"Nahradit za",Replace:"Vyměňte",Paste:"Vložit","Choose Content to Paste":"Vyber obsah pro vložení","You can only edit your own images. Download this image on the host?":"Můžete upravovat pouze své obrázky. Načíst obrázek?","The image has been successfully uploaded to the host!":"Obrázek byl úspěšně nahrán!",palette:"paleta","There are no files":"V tomto adresáři nejsou žádné soubory.",Rename:"přejmenovat","Enter new name":"Zadejte nový název",preview:"náhled",download:"Stažení","Paste from clipboard":"Vložit ze schránky","Your browser doesn't support direct access to the clipboard.":"Váš prohlížeč nepodporuje přímý přístup do schránky.","Copy selection":"Kopírovat výběr",copy:"kopírování","Border radius":"Border radius","Show all":"Zobrazit všechny",Apply:"Platí","Please fill out this field":"Prosím, vyplňte toto pole","Please enter a web address":"Prosím, zadejte webovou adresu",Default:"Výchozí",Circle:"Kruh",Dot:"Dot",Quadrate:"Quadrate",Find:"Najít","Find Previous":"Najít Předchozí","Find Next":"Najít Další","Insert className":"Vložte název třídy"}},e=>{e.exports={"Type something":"Bitte geben Sie einen Text ein",Advanced:"Fortgeschritten","About Jodit":"Über Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Das Jodit Benutzerhandbuch","contains detailed help for using":"beinhaltet ausführliche Informationen wie Sie den Editor verwenden können.","For information about the license, please go to our website:":"Für Informationen zur Lizenz, besuchen Sie bitte unsere Web-Präsenz:","Buy full version":"Vollversion kaufen","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.",Anchor:"Anker","Open in new tab":"In neuer Registerkarte öffnen","Open editor in fullsize":"Editor in voller Größe öffnen","Clear Formatting":"Formatierung löschen","Fill color or set the text color":"Füllfarbe oder Textfarbe ändern",Redo:"Wiederholen",Undo:"Rückgängig machen",Bold:"Fett",Italic:"Kursiv","Insert Unordered List":"Unsortierte Liste einfügen","Insert Ordered List":"Nummerierte Liste einfügen","Align Center":"Mittig ausrichten","Align Justify":"Blocksatz","Align Left":"Links ausrichten","Align Right":"Rechts ausrichten","Insert Horizontal Line":"Horizontale Linie einfügen","Insert Image":"Bild einfügen","Insert file":"Datei einfügen","Insert youtube/vimeo video":"Youtube/vimeo Video einfügen","Insert link":"Link einfügen","Font size":"Schriftgröße","Font family":"Schriftfamilie","Insert format block":"Formatblock einfügen",Normal:"Normal","Heading 1":"Überschrift 1","Heading 2":"Überschrift 2","Heading 3":"Überschrift 3","Heading 4":"Überschrift 4",Quote:"Zitat",Code:"Code",Insert:"Einfügen","Insert table":"Tabelle einfügen","Decrease Indent":"Einzug verkleinern","Increase Indent":"Einzug vergrößern","Select Special Character":"Sonderzeichen auswählen","Insert Special Character":"Sonderzeichen einfügen","Paint format":"Format kopieren","Change mode":"Änderungsmodus",Margins:"Ränder",top:"Oben",right:"Rechts",bottom:"Unten",left:"Links",Styles:"CSS Stil",Classes:"CSS Klassen",Align:"Ausrichtung",Right:"Rechts",Center:"Zentriert",Left:"Links","--Not Set--":"Keine",Src:"Pfad",Title:"Titel",Alternative:"Alternativer Text",Link:"Link","Open link in new tab":"Link in neuem Tab öffnen",Image:"Bild",file:"Datei",Advansed:"Erweitert","Image properties":"Bildeigenschaften",Cancel:"Abbrechen",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Ihr Text ähnelt HTML-Code. Als HTML beibehalten?","Paste as HTML":"Als HTML einfügen?",Keep:"Original speichern",Clean:"Säubern","Insert as Text":"Als Text einfügen","Word Paste Detected":"In Word formatierter Text erkannt","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Der Inhalt, den Sie einfügen, stammt aus einem Microsoft Word / Excel-Dokument. Möchten Sie das Format erhalten oder bereinigen?","Insert only Text":"Nur Text einfügen","File Browser":"Dateibrowser","Error on load list":"Fehler beim Laden der Liste","Error on load folders":"Fehler beim Laden der Ordner","Are you sure?":"Sind Sie sicher?","Enter Directory name":"Geben Sie den Verzeichnisnamen ein","Create directory":"Verzeichnis erstellen","type name":"Typname","Drop image":"Bild hier hinziehen","Drop file":"Datei löschen","or click":"oder hier klicken","Alternative text":"Alternativtext",Browse:"Auswählen",Upload:"Hochladen",Background:"Hintergrund",Text:"Text",Top:"Oben",Middle:"Mittig",Bottom:"Unten","Insert column before":"Spalte davor einfügen","Insert column after":"Spalte danach einfügen","Insert row above":"Zeile oberhalb einfügen","Insert row below":"Zeile unterhalb einfügen","Delete table":"Tabelle löschen","Delete row":"Zeile löschen","Delete column":"Spalte löschen","Empty cell":"Zelle leeren",Delete:"Löschen","Strike through":"Durchstreichen",Underline:"Unterstreichen",Break:"Pause","Search for":"Suche nach","Replace with":"Ersetzen durch",Replace:"Ersetzen",Edit:"Bearbeiten","Vertical align":"Vertikale Ausrichtung","Horizontal align":"Horizontale Ausrichtung",Filter:"Filter","Sort by changed":"Sortieren nach geändert","Sort by name":"Nach Name sortieren","Sort by size":"Nach Größe sortiert","Add folder":"Ordner hinzufügen","Split vertical":"Vertikal unterteilen","Split horizontal":"Horizontal unterteilen",Split:"Unterteilen",Merge:"Vereinen","Add column":"Spalte hinzufügen","Add row":"Zeile hinzufügen",Border:"Rand","Embed code":"Code einbetten",Update:"Aktualisieren",superscript:"Hochgestellen",subscript:"Tiefstellen","Cut selection":"Auswahl ausschneiden",Paste:"Einfügen","Choose Content to Paste":"Wählen Sie den Inhalt zum Einfügen aus","Chars: %d":"Zeichen: %d","Words: %d":"Wörter: %d",All:"Alles markieren","Select %s":"Markieren: %s","Select all":"Alles markieren",source:"HTML",bold:"Fett gedruckt",italic:"Kursiv",brush:"Bürste",link:"Verknüpfung",undo:"Rückgängig machen",redo:"Wiederholen",table:"Tabelle",image:"Bild",eraser:"Radiergummi",paragraph:"Absatz",fontsize:"Schriftgröße",video:"Video",font:"Schriftart",about:"Über",print:"Drucken",symbol:"Symbol",underline:"Unterstreichen",strikethrough:"Durchstreichen",indent:"Einzug",outdent:"Herausstellen",fullsize:"Vollgröße",shrink:"Schrumpfen",copyformat:"Format kopierenт",hr:"die Linie",ul:"Liste von",ol:"Nummerierte Liste",cut:"Schneiden",selectall:"Wählen Sie Alle aus","Open link":"Link öffnen","Edit link":"Link bearbeiten","No follow":"Nofollow-Attribut",Unlink:"Link entfernen",Eye:"Ansehen",pencil:"Bearbeiten"," URL":"URL",Reset:"Wiederherstellen",Save:"Speichern","Save as ...":"Speichern als",Resize:"Größe ändern",Crop:"Größe anpassen",Width:"Breite",Height:"Höhe","Keep Aspect Ratio":"Seitenverhältnis beibehalten",Yes:"Ja",No:"Nein",Remove:"Entfernen",Select:"Markieren","You can only edit your own images. Download this image on the host?":"Sie können nur Ihre eigenen Bilder bearbeiten. Dieses Bild auf den Host herunterladen?","The image has been successfully uploaded to the host!":"Das Bild wurde erfolgreich auf den Server hochgeladen!",palette:"Palette","There are no files":"In diesem Verzeichnis befinden sich keine Dateien.",Rename:"Umbenennen","Enter new name":"Geben Sie einen neuen Namen ein",preview:"Vorschau",download:"Herunterladen","Paste from clipboard":"Aus Zwischenablage einfügen","Your browser doesn't support direct access to the clipboard.":"Ihr Browser unterstützt keinen direkten Zugriff auf die Zwischenablage.","Copy selection":"Auswahl kopieren",copy:"Kopieren","Border radius":"Radius für abgerundete Ecken","Show all":"Alle anzeigen",Apply:"Anwenden","Please fill out this field":"Bitte füllen Sie dieses Feld aus","Please enter a web address":"Bitte geben Sie eine Web-Adresse ein",Default:"Standard",Circle:"Kreis",Dot:"Dot",Quadrate:"Quadrate",Find:"Suchen","Find Previous":"Suche vorherige","Find Next":"Weitersuchen","Insert className":"Vložte název třídy"}},e=>{e.exports={"Type something":"Escriba algo...",Advanced:"Avanzado","About Jodit":"Acerca de Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Guía de usuario Jodit","contains detailed help for using":"contiene ayuda detallada para el uso.","For information about the license, please go to our website:":"Para información sobre la licencia, por favor visite nuestro sitio:","Buy full version":"Compre la versión completa","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Todos los derechos reservados.",Anchor:"Anclar","Open in new tab":"Abrir en nueva pestaña","Open editor in fullsize":"Abrir editor en pantalla completa","Clear Formatting":"Limpiar formato","Fill color or set the text color":"Color de relleno o de letra",Redo:"Rehacer",Undo:"Deshacer",Bold:"Negrita",Italic:"Cursiva","Insert Unordered List":"Insertar lista no ordenada","Insert Ordered List":"Insertar lista ordenada","Align Center":"Alinear Centrado","Align Justify":"Alinear Justificado","Align Left":"Alinear Izquierda","Align Right":"Alinear Derecha","Insert Horizontal Line":"Insertar línea horizontal","Insert Image":"Insertar imagen","Insert file":"Insertar archivo","Insert youtube/vimeo video":"Insertar video de Youtube/vimeo","Insert link":"Insertar vínculo","Font size":"Tamaño de letra","Font family":"Familia de letra","Insert format block":"Insertar bloque",Normal:"Normal","Heading 1":"Encabezado 1","Heading 2":"Encabezado 2","Heading 3":"Encabezado 3","Heading 4":"Encabezado 4",Quote:"Cita",Code:"Código",Insert:"Insertar","Insert table":"Insertar tabla","Decrease Indent":"Disminuir sangría","Increase Indent":"Aumentar sangría","Select Special Character":"Seleccionar caracter especial","Insert Special Character":"Insertar caracter especial","Paint format":"Copiar formato","Change mode":"Cambiar modo",Margins:"Márgenes",top:"arriba",right:"derecha",bottom:"abajo",left:"izquierda",Styles:"Estilos CSS",Classes:"Clases CSS",Align:"Alinear",Right:"Derecha",Center:"Centrado",Left:"Izquierda","--Not Set--":"--No Establecido--",Src:"Fuente",Title:"Título",Alternative:"Texto Alternativo",Link:"Vínculo","Open link in new tab":"Abrir vínculo en nueva pestaña",Image:"Imagen",file:"Archivo",Advansed:"Avanzado","Image properties":"Propiedades de imagen",Cancel:"Cancelar",Ok:"Aceptar","Your code is similar to HTML. Keep as HTML?":"El código es similar a HTML. ¿Mantener como HTML?","Paste as HTML":"Pegar como HTML?",Keep:"Mantener",Clean:"Limpiar","Insert as Text":"Insertar como texto","Word Paste Detected":"Pegado desde Word detectado","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"El contenido pegado proviene de un documento de Microsoft Word/Excel. ¿Desea mantener el formato o limpiarlo?","Insert only Text":"Insertar solo texto","File Browser":"Buscar archivo","Error on load list":"Error al cargar la lista","Error on load folders":"Error al cargar las carpetas","Are you sure?":"¿Está seguro?","Enter Directory name":"Entre nombre de carpeta","Create directory":"Crear carpeta","type name":"Entre el nombre","Drop image":"Soltar imagen","Drop file":"Soltar archivo","or click":"o click","Alternative text":"Texto alternativo",Browse:"Buscar",Upload:"Subir",Background:"Fondo",Text:"Texto",Top:"Arriba",Middle:"Centro",Bottom:"Abajo","Insert column before":"Insertar columna antes","Insert column after":"Interar columna después","Insert row above":"Insertar fila arriba","Insert row below":"Insertar fila debajo","Delete table":"Borrar tabla","Delete row":"Borrar fila","Delete column":"Borrar columna","Empty cell":"Vaciar celda",Delete:"Borrar","Strike through":"Tachado",Underline:"Subrayado",Break:"Pausa","Search for":"Buscar","Replace with":"Reemplazar con",Replace:"Reemplazar",Edit:"Editar","Vertical align":"Alineación vertical","Horizontal align":"Alineación horizontal",Filter:"filtrar","Sort by changed":"Ordenar por fecha modificación","Sort by name":"Ordenar por nombre","Sort by size":"Ordenar por tamaño","Add folder":"Agregar carpeta",Split:"Dividir","Split vertical":"Dividir vertical","Split horizontal":"Dividir horizontal",Merge:"Mezclar","Add column":"Agregar columna","Add row":"Agregar fila",Border:"Borde","Embed code":"Incluir código",Update:"Actualizar",superscript:"superíndice",subscript:"subíndice","Cut selection":"Cortar selección",Paste:"Pegar","Choose Content to Paste":"Seleccionar contenido para pegar","Chars: %d":"Caracteres: %d","Words: %d":"Palabras: %d",All:"Todo","Select %s":"Seleccionar: %s","Select all":"Seleccionar todo",source:"HTML",bold:"negrita",italic:"cursiva",brush:"Brocha",link:"Vínculo",undo:"deshacer",redo:"rehacer",table:"Tabla",image:"Imagen",eraser:"Borrar",paragraph:"Párrafo",fontsize:"Tamaño de letra",video:"Video",font:"Letra",about:"Acerca de",print:"Imprimir",symbol:"Símbolo",underline:"subrayar",strikethrough:"tachar",indent:"sangría",outdent:"quitar sangría",fullsize:"Tamaño completo",shrink:"encoger",copyformat:"Copiar formato",hr:"línea horizontal",ul:"lista sin ordenar",ol:"lista ordenada",cut:"Cortar",selectall:"Seleccionar todo","Open link":"Abrir vínculo","Edit link":"Editar vínculo","No follow":"No seguir",Unlink:"Desvincular",Eye:"Ver",pencil:"Para editar"," URL":"URL",Reset:"Resetear",Save:"Guardar","Save as ...":"Guardar como...",Resize:"Redimensionar",Crop:"Recortar",Width:"Ancho",Height:"Alto","Keep Aspect Ratio":"Mantener relación de aspecto",Yes:"Si",No:"No",Remove:"Quitar",Select:"Seleccionar","You can only edit your own images. Download this image on the host?":"Solo puedes editar tus propias imágenes. ¿Descargar esta imagen en el servidor?","The image has been successfully uploaded to the host!":"¡La imagen se ha subido correctamente al servidor!",palette:"paleta","There are no files":"No hay archivos en este directorio.",Rename:"renombrar","Enter new name":"Ingresa un nuevo nombre",preview:"avance",download:"Descargar","Paste from clipboard":"Pegar desde el portapapeles","Your browser doesn't support direct access to the clipboard.":"Su navegador no soporta el acceso directo en el portapapeles.","Copy selection":"Selección de copia",copy:"copia","Border radius":"Radio frontera","Show all":"Mostrar todos los",Apply:"Aplicar","Please fill out this field":"Por favor, rellene este campo","Please enter a web address":"Por favor, introduzca una dirección web",Default:"Predeterminado",Circle:"Círculo",Dot:"Punto",Quadrate:"Cuadro","Lower Alpha":"Letra Minúscula","Lower Greek":"Griego Minúscula","Lower Roman":"Romano Minúscula","Upper Alpha":"Letra Mayúscula","Upper Roman":"Romano Mayúscula",Find:"Encontrar","Find Previous":"Buscar Anterior","Find Next":"Buscar Siguiente","Insert className":"Insertar nombre de clase"}},e=>{e.exports={"Type something":"Ecrivez ici","About Jodit":"A propos de Jodit","Jodit Editor":"Editeur Jodit","Jodit User's Guide":"Guide de l'utilisateur","contains detailed help for using":"Aide détaillée à l'utilisation","For information about the license, please go to our website:":"Consulter la licence sur notre site web:","Buy full version":"Acheter la version complète","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Tous droits réservés.",Anchor:"Ancre","Open in new tab":"Ouvrir dans un nouvel onglet","Open editor in fullsize":"Ouvrir l'éditeur en pleine page","Clear Formatting":"Supprimer le formattage","Fill color or set the text color":"Modifier la couleur du fond ou du texte",Redo:"Refaire",Undo:"Défaire",Bold:"Gras",Italic:"Italique","Insert Unordered List":"Liste non ordonnée","Insert Ordered List":"Liste ordonnée","Align Center":"Centrer","Align Justify":"Justifier","Align Left":"Aligner à gauche ","Align Right":"Aligner à droite","Insert Horizontal Line":"Insérer une ligne horizontale","Insert Image":"Insérer une image","Insert file":"Insérer un fichier","Insert youtube/vimeo video":"Insérer une vidéo","Insert link":"Insérer un lien","Font size":"Taille des caractères","Font family":"Famille des caractères","Insert format block":"Bloc formatté",Normal:"Normal","Heading 1":"Titre 1","Heading 2":"Titre 2","Heading 3":"Titre 3","Heading 4":"Titre 4",Quote:"Citation",Code:"Code",Insert:"Insérer","Insert table":"Insérer un tableau","Decrease Indent":"Diminuer le retrait","Increase Indent":"Retrait plus","Select Special Character":"Sélectionnez un caractère spécial","Insert Special Character":"Insérer un caractère spécial","Paint format":"Cloner le format","Change mode":"Mode wysiwyg <-> code html",Margins:"Marges",top:"haut",right:"droite",bottom:"Bas",left:"gauche",Styles:"Styles",Classes:"Classes",Align:"Alignement",Right:"Droite",Center:"Centre",Left:"Gauche","--Not Set--":"--Non disponible--",Src:"Source",Title:"Titre",Alternative:"Alternative",Filter:"Filtre",Link:"Lien","Open link in new tab":"Ouvrir le lien dans un nouvel onglet",Image:"Image",file:"fichier",Advanced:"Avancé","Image properties":"Propriétés de l'image",Cancel:"Annuler",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Votre texte que vous essayez de coller est similaire au HTML. Collez-le en HTML?","Paste as HTML":"Coller en HTML?",Keep:"Sauvegarder l'original",Clean:"Nettoyer","Insert as Text":"Coller en tant que texte","Word Paste Detected":"C'est peut-être un fragment de Word ou Excel","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Le contenu que vous insérez provient d'un document Microsoft Word / Excel. Voulez-vous enregistrer le format ou l'effacer?","Insert only Text":"Coller le texte seulement","File Browser":"Explorateur de fichiers","Error on load list":"Erreur de liste de chargement","Error on load folders":"Erreur de dossier de chargement","Are you sure?":"Etes-vous sûrs ?","Enter Directory name":"Entrer le non de dossier","Create directory":"Créer un dossier","type name":"type de fichier","Drop image":"Coller une image","Drop file":"Déposer un fichier","or click":"ou cliquer","Alternative text":"Texte de remplacemement",Browse:"Chercher",Upload:"Charger",Background:"Arrière-plan",Text:"Texte",Top:"Haut",Middle:"Milieu",Bottom:"Bas","Insert column before":"Insérer une colonne avant","Insert column after":"Insérer une colonne après","Insert row above":"Insérer une ligne en dessus","Insert row below":"Insérer une ligne en dessous","Delete table":"Supprimer le tableau","Delete row":"Supprimer la ligne","Delete column":"Supprimer la colonne","Empty cell":"Vider la cellule","Chars: %d":"Symboles: %d","Words: %d":"Mots: %d",Split:"Split","Split vertical":"Split vertical","Split horizontal":"Split horizontal","Strike through":"Frapper à travers",Underline:"Souligner",superscript:"exposant",subscript:"indice","Cut selection":"Couper la sélection","Select all":"Tout sélectionner",Break:"Pause","Search for":"Rechercher","Replace with":"Remplacer par",Replace:"Remplacer",Paste:"Coller","Choose Content to Paste":"Choisissez le contenu à coller",source:"la source",bold:"graisseux",italic:"italique",brush:"verser",link:"lien",undo:"abolir",redo:"prêt",table:"graphique",image:"Image",eraser:"la gommen",paragraph:"clause",fontsize:"taille de police",video:"Video",font:"police",about:"à propos de l'éditeur",print:"impression",symbol:"caractère",underline:"souligné",strikethrough:"barré",indent:"indentation",outdent:"indifférent",fullsize:"taille réelle",shrink:"taille conventionnelle",copyformat:"Format de copie",hr:"la ligne",ul:"Liste des",ol:"Liste numérotée",cut:"Couper",selectall:"Sélectionner tout","Open link":"Ouvrir le lien","Edit link":"Modifier le lien","No follow":"Attribut Nofollow",Unlink:"Supprimer le lien",Eye:"Voir",pencil:"Pour éditer"," URL":"URL",Reset:"Restaurer",Save:"Sauvegarder","Save as ...":"Enregistrer sous",Resize:"Changer la taille",Crop:"Taille de garniture",Width:"Largeur",Height:"Hauteur","Keep Aspect Ratio":"Garder les proportions",Yes:"Oui",No:"Non",Remove:"Supprimer",Select:"Mettre en évidence","Select %s":"Mettre en évidence: %s",Update:"Mettre à jour","Vertical align":"Alignement vertical",Merge:"aller","Add column":"Ajouter une colonne","Add row":"Ajouter une rangée",Delete:"Effacer","Horizontal align":"Alignement horizontal","Sort by changed":"Trier par modifié","Sort by name":"Trier par nom","Sort by size":"Classer par taille","Add folder":"Ajouter le dossier","You can only edit your own images. Download this image on the host?":"Vous ne pouvez éditer que vos propres images. Téléchargez cette image sur l'hôte?","The image has been successfully uploaded to the host!":"L'image a été téléchargée avec succès sur le serveur!null",palette:"Palette","There are no files":"Il n'y a aucun fichier dans ce répertoire.",Rename:"renommer","Enter new name":"Entrez un nouveau nom",preview:"Aperçu",download:"Télécharger","Paste from clipboard":"Coller à partir du presse-papiers","Your browser doesn't support direct access to the clipboard.":"Votre navigateur ne prend pas en charge l'accès direct à la presse-papiers.","Copy selection":"Copier la sélection",copy:"copie","Border radius":"Rayon des frontières","Show all":"Afficher tous les",Apply:"Appliquer","Please fill out this field":"Veuillez remplir ce champ","Please enter a web address":"Veuillez entrer une adresse web",Default:"Par défaut",Circle:"Cercle",Dot:"Dot",Quadrate:"Quadrate",Find:"Trouver","Find Previous":"Trouvez Précédente","Find Next":"Suivant","Insert className":"Insérer un nom de classe"}},e=>{e.exports={"Type something":"הקלד משהו...",Advanced:"מתקדם","About Jodit":"About Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Jodit User's Guide","contains detailed help for using":"contains detailed help for using.","For information about the license, please go to our website:":"For information about the license, please go to our website:","Buy full version":"Buy full version","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.",Anchor:"מקום עיגון","Open in new tab":"פתח בכרטיסיה חדשה","Open editor in fullsize":"פתח את העורך בחלון חדש","Clear Formatting":"נקה עיצוב","Fill color or set the text color":"שנה צבע טקסט או רקע",Redo:"בצע שוב",Undo:"בטל",Bold:"מודגש",Italic:"נטוי","Insert Unordered List":"הכנס רשימת תבליטים","Insert Ordered List":"הכנס רשימה ממוספרת","Align Center":"מרכז","Align Justify":"ישר ","Align Left":"ישר לשמאל","Align Right":"ישר לימין","Insert Horizontal Line":"הכנס קו אופקי","Insert Image":"הכנס תמונה","Insert file":"הכנס קובץ","Insert youtube/vimeo video":"הכנס סרטון וידאו מYouTube/Vimeo","Insert link":"הכנס קישור","Font size":"גודל גופן","Font family":"גופן","Insert format block":"מעוצב מראש",Normal:"רגיל","Heading 1":"כותרת 1","Heading 2":"כותרת 2","Heading 3":"כותרת 3","Heading 4":"כותרת 4",Quote:"ציטוט",Code:"קוד",Insert:"הכנס","Insert table":"הכנס טבלה","Decrease Indent":"הקטן כניסה","Increase Indent":"הגדל כניסה","Select Special Character":"בחר תו מיוחד","Insert Special Character":"הכנס תו מיוחד","Paint format":"העתק עיצוב","Change mode":"החלף מצב",Margins:"ריווח",top:"עליון",right:"ימין",bottom:"תחתון",left:"שמאל",Styles:"עיצוב CSS",Classes:"מחלקת CSS",Align:"יישור",Right:"ימין",Center:"מרכז",Left:"שמאל","--Not Set--":"--לא נקבע--",Src:"מקור",Title:"כותרת",Alternative:"כיתוב חלופי",Link:"קישור","Open link in new tab":"פתח בכרטיסיה חדשה",Image:"תמונה",file:"קובץ",Advansed:"מתקדם","Image properties":"מאפייני תמונה",Cancel:"ביטול",Ok:"אישור","Your code is similar to HTML. Keep as HTML?":"הקוד דומה לHTML, האם להשאיר כHTML","Paste as HTML":"הדבק כHTML",Keep:"השאר",Clean:"נקה","Insert as Text":"הכנס כטקסט","Word Paste Detected":'זוהתה הדבקה מ"וורד"',"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"התוכן המודבק מגיע ממסמך וורד/אקסל. האם ברצונך להשאיר את העיצוב או לנקותו","Insert only Text":"הכנס טקסט בלבד","File Browser":"סייר הקבצים","Error on load list":"שגיאה בזמן טעינת רשימה","Error on load folders":"שגיאה בזמן טעינת תקיות","Are you sure?":"האם אתה בטוח?","Enter Directory name":"הכנס שם תקיה","Create directory":"צור תקיה","type name":"סוג הקובץ","Drop image":"הסר תמונה","Drop file":"הסר קובץ","or click":"או לחץ","Alternative text":"כיתוב חלופי",Browse:"סייר",Upload:"העלה",Background:"רקע",Text:"טקסט",Top:"עליון",Middle:"מרכז",Bottom:"תחתון","Insert column before":"הכנס עמודה לפני","Insert column after":"הכנס עמודה אחרי","Insert row above":"הכנס שורה מעל","Insert row below":"הכנס שורה מתחת","Delete table":"מחק טבלה","Delete row":"מחק שורה","Delete column":"מחק עמודה","Empty cell":"רוקן תא",Delete:"מחק","Strike through":"קו חוצה",Underline:"קו תחתון",Break:"שבירת שורה","Search for":"חפש","Replace with":"החלף ב",Replace:"להחליף",Edit:"ערוך","Vertical align":"יישור אנכי","Horizontal align":"יישור אופקי",Filter:"סנן","Sort by changed":"מין לפי שינוי","Sort by name":"מיין לפי שם","Sort by size":"מיין לפי גודל","Add folder":"הוסף תקייה",Split:"פיצול","Split vertical":"פיצול אנכי","Split horizontal":"פיצול אופקי",Merge:"מזג","Add column":"הוסף עמודה","Add row":"הוסף שורה",Border:"מסגרת","Embed code":"הוסף קוד",Update:"עדכן",superscript:"superscript",subscript:"subscript","Cut selection":"גזור בחירה",Paste:"הדבק","Choose Content to Paste":"בחר תוכן להדבקה","Chars: %d":"תווים: %d","Words: %d":"מילים: %d",All:"הכל","Select %s":"נבחר: %s","Select all":"בחר הכל",source:"HTML",bold:"מודגש",italic:"נטוי",brush:"מברשת",link:"קישור",undo:"בטל",redo:"בצע שוב",table:"טבלה",image:"תמונה",eraser:"מחק",paragraph:"פסקה",fontsize:"גודל גופן",video:"וידאו",font:"גופן",about:"עלינו",print:"הדפס",symbol:"תו מיוחד",underline:"קו תחתון",strikethrough:"קו חוצה",indent:"הגדל כניסה",outdent:"הקטן כניסה",fullsize:"גודל מלא",shrink:"כווץ",copyformat:"העתק עיצוב",hr:"קו אופקי",ul:"רשימת תבליטים",ol:"רשימה ממוספרת",cut:"חתוך",selectall:"בחר הכל","Open link":"פתח קישור","Edit link":"ערוך קישור","No follow":"ללא מעקב",Unlink:"בטל קישור",Eye:"הצג",pencil:"כדי לערוך"," URL":"כתובת",Reset:"אפס",Save:"שמור","Save as ...":"שמור בשם...",Resize:"שנה גודל",Crop:"חתוך",Width:"רוחב",Height:"גובה","Keep Aspect Ratio":"שמור יחס",Yes:"כן",No:"לא",Remove:"הסר",Select:"בחר","You can only edit your own images. Download this image on the host?":"רק קבצים המשוייכים שלך ניתנים לעריכה. האם להוריד את הקובץ?","The image has been successfully uploaded to the host!":"התמונה עלתה בהצלחה!",palette:"לוח","There are no files":"אין קבצים בספריה זו.",Rename:"הונגרית","Enter new name":"הזן שם חדש",preview:"תצוגה מקדימה",download:"הורד","Paste from clipboard":"להדביק מהלוח","Your browser doesn't support direct access to the clipboard.":"הדפדפן שלך לא תומך גישה ישירה ללוח.","Copy selection":"העתק בחירה",copy:"העתק","Border radius":"רדיוס הגבול","Show all":"הצג את כל",Apply:"החל","Please fill out this field":"נא למלא שדה זה","Please enter a web address":"אנא הזן כתובת אינטרנט",Default:"ברירת המחדל",Circle:"מעגל",Dot:"נקודה",Quadrate:"הריבוע הזה",Find:"למצוא","Find Previous":"מצא את הקודם","Find Next":"חפש את הבא","Insert className":"הכנס את שם הכיתה"}},e=>{e.exports={"Type something":"Írjon be valamit",Advanced:"Haladó","About Jodit":"Joditról","Jodit Editor":"Jodit Editor","Free Non-commercial Version":"Ingyenes változat","Jodit User's Guide":"Jodit útmutató","contains detailed help for using":"további segítséget tartalmaz","For information about the license, please go to our website:":"További licence információkért látogassa meg a weboldalunkat:","Buy full version":"Teljes verzió megvásárlása","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Minden jog fenntartva.",Anchor:"Horgony","Open in new tab":"Megnyitás új lapon","Open editor in fullsize":"Megnyitás teljes méretben","Clear Formatting":"Formázás törlése","Fill color or set the text color":"Háttér/szöveg szín",Redo:"Újra",Undo:"Visszavon",Bold:"Félkövér",Italic:"Dőlt","Insert Unordered List":"Pontozott lista","Insert Ordered List":"Számozott lista","Align Center":"Középre zárt","Align Justify":"Sorkizárt","Align Left":"Balra zárt","Align Right":"Jobbra zárt","Insert Horizontal Line":"Vízszintes vonal beszúrása","Insert Image":"Kép beszúrás","Insert file":"Fájl beszúrás","Insert youtube/vimeo video":"Youtube videó beszúrása","Insert link":"Link beszúrás","Font size":"Betűméret","Font family":"Betűtípus","Insert format block":"Formázott blokk beszúrása",Normal:"Normál","Heading 1":"Fejléc 1","Heading 2":"Fejléc 2","Heading 3":"Fejléc 3","Heading 4":"Fejléc 4",Quote:"Idézet",Code:"Kód",Insert:"Beszúr","Insert table":"Táblázat beszúrása","Decrease Indent":"Behúzás csökkentése","Increase Indent":"Behúzás növelése","Select Special Character":"Speciális karakter kiválasztása","Insert Special Character":"Speciális karakter beszúrása","Paint format":"Kép formázása","Change mode":"Nézet váltása",Print:"Nyomtatás",Margins:"Szegélyek",top:"felső",right:"jobb",bottom:"alsó",left:"bal",Styles:"CSS stílusok",Classes:"CSS osztályok",Align:"Igazítás",Right:"Jobbra",Center:"Középre",Left:"Balra","--Not Set--":"Nincs",Src:"Forrás",Title:"Cím",Alternative:"Helyettesítő szöveg",Link:"Link","Open link in new tab":"Link megnyitása új lapon",Image:"Kép",file:"Fájl",Advansed:"További beállítás","Image properties":"Kép tulajdonságai",Cancel:"Mégsem",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"A beillesztett szöveg HTML-nek tűnik. Megtartsuk HTML-ként?","Paste as HTML":"Beszúrás HTML-ként",Keep:"Megtartás",Clean:"Elvetés","Insert as Text":"Beszúrás szövegként","Word Paste Detected":"Word-ből másolt szöveg","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"A beillesztett tartalom Microsoft Word/Excel dokumentumból származik. Meg szeretné tartani a formátumát?","Insert only Text":"Csak szöveg beillesztése","File Browser":"Fájl tallózó","Error on load list":"Hiba a lista betöltése közben","Error on load folders":"Hiba a mappák betöltése közben","Are you sure?":"Biztosan ezt szeretné?","Enter Directory name":"Írjon be egy mappanevet","Create directory":"Mappa létrehozása","type name":"írjon be bevet","Drop image":"Húzza ide a képet","Drop file":"Húzza ide a fájlt","or click":"vagy kattintson","Alternative text":"Helyettesítő szöveg",Browse:"Tallóz",Upload:"Feltölt",Background:"Háttér",Text:"Szöveg",Top:"Fent",Middle:"Középen",Bottom:"Lent","Insert column before":"Oszlop beszúrás elé","Insert column after":"Oszlop beszúrás utána","Insert row above":"Sor beszúrás fölé","Insert row below":"Sor beszúrás alá","Delete table":"Táblázat törlése","Delete row":"Sor törlése","Delete column":"Oszlop törlése","Empty cell":"Cella tartalmának törlése",Delete:"Törlés","Strike through":"Áthúzott",Underline:"Aláhúzott",Break:"Szünet","Search for":"Keresés","Replace with":"Csere erre",Replace:"Cserélje ki",Edit:"Szerkeszt","Vertical align":"Függőleges igazítás","Horizontal align":"Vízszintes igazítás",Filter:"Szűrő","Sort by changed":"Rendezés módosítás szerint","Sort by name":"Rendezés név szerint","Sort by size":"Rendezés méret szerint","Add folder":"Mappa hozzáadás","Split vertical":"Függőleges felosztás","Split horizontal":"Vízszintes felosztás",Merge:"Összevonás","Add column":"Oszlop hozzáadás","Add row":"Sor hozzáadás",Border:"Szegély","Embed code":"Beágyazott kód",Update:"Frissít",superscript:"Felső index",subscript:"Alsó index","Cut selection":"Kivágás",Paste:"Beillesztés","Choose Content to Paste":"Válasszon tartalmat a beillesztéshez",Split:"Felosztás","Chars: %d":"Karakterek száma: %d","Words: %d":"Szavak száma: %d",All:"Összes","Select %s":"Kijelöl: %s","Select all":"Összes kijelölése",source:"HTML",bold:"Félkövér",italic:"Dőlt",brush:"Ecset",link:"Link",undo:"Visszavon",redo:"Újra",table:"Táblázat",image:"Kép",eraser:"Törlés",paragraph:"Paragráfus",fontsize:"Betűméret",video:"Videó",font:"Betű",about:"Rólunk",print:"Nyomtat",symbol:"Szimbólum",underline:"Aláhúzott",strikethrough:"Áthúzott",indent:"Behúzás",outdent:"Aussenseiter",fullsize:"Teljes méret",shrink:"Összenyom",copyformat:"Formátum másolás",hr:"Egyenes vonal",ul:"Lista",ol:"Számozott lista",cut:"Kivág",selectall:"Összes kijelölése","Open link":"Link megnyitása","Edit link":"Link szerkesztése","No follow":"Nincs követés",Unlink:"Link leválasztása",Eye:"felülvizsgálat",pencil:"Szerkesztés"," URL":"URL",Reset:"Visszaállít",Save:"Mentés","Save as ...":"Mentés másként...",Resize:"Átméretezés",Crop:"Kivág",Width:"Szélesség",Height:"Magasság","Keep Aspect Ratio":"Képarány megtartása",Yes:"Igen",No:"Nem",Remove:"Eltávolít",Select:"Kijelöl","You can only edit your own images. Download this image on the host?":"Csak a saját képeit tudja szerkeszteni. Letölti ezt a képet?","The image has been successfully uploaded to the host!":"Kép sikeresen feltöltve!",palette:"Palette","There are no files":"Er zijn geen bestanden in deze map.",Rename:"átnevezés","Enter new name":"Adja meg az új nevet",preview:"előnézet",download:"Letöltés","Paste from clipboard":"Illessze be a vágólap","Your browser doesn't support direct access to the clipboard.":"A böngésző nem támogatja a közvetlen hozzáférést biztosít a vágólapra.","Copy selection":"Másolás kiválasztása",copy:"másolás","Border radius":"Határ sugár","Show all":"Összes",Apply:"Alkalmazni","Please fill out this field":"Kérjük, töltse ki ezt a mezőt,","Please enter a web address":"Kérjük, írja be a webcímet",Default:"Alapértelmezett",Circle:"Kör",Dot:"Pont",Quadrate:"Quadrate",Find:"Találni","Find Previous":"Megtalálja Előző","Find Next":"Következő Keresése","Insert className":"Helyezze be az osztály nevét"}},e=>{e.exports={"Type something":"Ketik sesuatu","About Jodit":"Tentang Jodit","Jodit Editor":"Editor Jodit","Free Non-commercial Version":"Versi Bebas Non-komersil","Jodit User's Guide":"Panduan Pengguna Jodit","contains detailed help for using":"mencakup detail bantuan penggunaan","For information about the license, please go to our website:":"Untuk informasi tentang lisensi, silakan kunjungi website:","Buy full version":"Beli versi lengkap","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Hak Cipta © XDSoft.net - Chupurnov Valeriy. Hak cipta dilindungi undang-undang.",Anchor:"Tautan","Open in new tab":"Buka di tab baru","Open editor in fullsize":"Buka editor dalam ukuran penuh","Clear Formatting":"Hapus Pemformatan","Fill color or set the text color":"Isi warna atau atur warna teks",Redo:"Ulangi",Undo:"Batalkan",Bold:"Tebal",Italic:"Miring","Insert Unordered List":"Sisipkan Daftar Tidak Berurut","Insert Ordered List":"Sisipkan Daftar Berurut","Align Center":"Tengah","Align Justify":"Penuh","Align Left":"Kiri","Align Right":"Kanan","Insert Horizontal Line":"Sisipkan Garis Horizontal","Insert Image":"Sisipkan Gambar","Insert file":"Sisipkan Berkas","Insert youtube/vimeo video":"Sisipkan video youtube/vimeo","Insert link":"Sisipkan tautan","Font size":"Ukuran font","Font family":"Keluarga font","Insert format block":"Sisipkan blok format",Normal:"Normal","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading 4":"Heading 4",Quote:"Kutip",Code:"Kode",Insert:"Sisipkan","Insert table":"Sisipkan tabel","Decrease Indent":"Kurangi Indentasi","Increase Indent":"Tambah Indentasi","Select Special Character":"Pilih Karakter Spesial","Insert Special Character":"Sisipkan Karakter Spesial","Paint format":"Formar warna","Change mode":"Ubah mode",Margins:"Batas",top:"atas",right:"kanan",bottom:"bawah",left:"kiri",Styles:"Gaya",Classes:"Class",Align:"Rata",Right:"Kanan",Center:"Tengah",Left:"Kiri","--Not Set--":"--Tidak diset--",Src:"Src",Title:"Judul",Alternative:"Teks alternatif",Link:"Tautan","Open link in new tab":"Buka tautan di tab baru",Image:"Gambar",file:"berkas",Advanced:"Lanjutan","Image properties":"Properti gambar",Cancel:"Batal",Ok:"Ya","Your code is similar to HTML. Keep as HTML?":"Kode Anda cenderung ke HTML. Biarkan sebagai HTML?","Paste as HTML":"Paste sebagai HTML",Keep:"Jaga",Clean:"Bersih","Insert as Text":"Sisipkan sebagai teks","Insert only Text":"Sisipkan hanya teks","Word Paste Detected":"Terdeteksi paste dari Word","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Konten dipaste dari dokumen Microsoft Word/Excel. Apakah Anda ingin tetap menjaga format atau membersihkannya?","File Browser":"Penjelajah Berkas","Error on load list":"Error ketika memuat list","Error on load folders":"Error ketika memuat folder","Are you sure?":"Apakah Anda yakin?","Enter Directory name":"Masukkan nama Direktori","Create directory":"Buat direktori","type name":"ketik nama","Drop image":"Letakkan gambar","Drop file":"Letakkan berkas","or click":"atau klik","Alternative text":"Teks alternatif",Browse:"Jelajahi",Upload:"Unggah",Background:"Latar Belakang",Text:"Teks",Top:"Atas",Middle:"Tengah",Bottom:"Bawah","Insert column before":"Sisipkan kolom sebelumnya","Insert column after":"Sisipkan kolom setelahnya","Insert row above":"Sisipkan baris di atasnya","Insert row below":"Sisipkan baris di bawahnya","Delete table":"Hapus tabel","Delete row":"Hapus baris","Delete column":"Hapus kolom","Empty cell":"Kosongkan cell",source:"sumber",bold:"tebal",italic:"miring",brush:"sikat",link:"tautan",undo:"batalkan",redo:"ulangi",table:"tabel",image:"gambar",eraser:"penghapus",paragraph:"paragraf",fontsize:"ukuran font",video:"video",font:"font",about:"tentang",print:"cetak",symbol:"simbol",underline:"garis bawah",strikethrough:"coret",indent:"menjorok ke dalam",outdent:"menjorok ke luar",fullsize:"ukuran penuh",shrink:"menyusut",copyformat:"salin format",hr:"hr",ul:"ul",ol:"ol",cut:"potong",selectall:"Pilih semua","Embed code":"Kode embed","Open link":"Buka tautan","Edit link":"Edit tautan","No follow":"No follow",Unlink:"Hapus tautan",Eye:"Mata",pencil:"pensil",Update:"Perbarui"," URL":"URL",Edit:"Edit","Horizontal align":"Perataan horizontal",Filter:"Filter","Sort by changed":"Urutkan berdasarkan perubahan","Sort by name":"Urutkan berdasarkan nama","Sort by size":"Urutkan berdasarkan ukuran","Add folder":"Tambah folder",Reset:"Reset",Save:"Simpan","Save as ...":"Simpan sebagai...",Resize:"Ubah ukuran",Crop:"Crop",Width:"Lebar",Height:"Tinggi","Keep Aspect Ratio":"Jaga aspek rasio",Yes:"Ya",No:"Tidak",Remove:"Copot",Select:"Pilih","Chars: %d":"Karakter: %d","Words: %d":"Kata: %d",All:"Semua","Select %s":"Pilih %s","Select all":"Pilih semua","Vertical align":"Rata vertikal",Split:"Bagi","Split vertical":"Bagi secara vertikal","Split horizontal":"Bagi secara horizontal",Merge:"Gabungkan","Add column":"Tambah kolom","Add row":"tambah baris",Delete:"Hapus",Border:"Bingkai","License: %s":"Lisensi: %s","Strike through":"Coret",Underline:"Garis Bawah",superscript:"Superskrip",subscript:"Subskrip","Cut selection":"Potong pilihan",Break:"Berhenti","Search for":"Mencari","Replace with":"Ganti dengan",Replace:"Mengganti",Paste:"Paste","Choose Content to Paste":"Pilih konten untuk dipaste","You can only edit your own images. Download this image on the host?":"Anda hanya dapat mengedit gambar Anda sendiri. Unduh gambar ini di host?","The image has been successfully uploaded to the host!":"Gambar telah sukses diunggah ke host!",palette:"palet","There are no files":"Tidak ada berkas",Rename:"ganti nama","Enter new name":"Masukkan nama baru",preview:"pratinjau",download:"Unduh","Paste from clipboard":"Paste dari clipboard","Your browser doesn't support direct access to the clipboard.":"Browser anda tidak mendukung akses langsung ke clipboard.","Copy selection":"Copy seleksi",copy:"copy","Border radius":"Border radius","Show all":"Tampilkan semua",Apply:"Menerapkan","Please fill out this field":"Silahkan mengisi kolom ini","Please enter a web address":"Silahkan masukkan alamat web",Default:"Default",Circle:"Lingkaran",Dot:"Dot",Quadrate:"Kuadrat",Find:"Menemukan","Find Previous":"Menemukan Sebelumnya","Find Next":"Menemukan Berikutnya","Insert className":"Masukkan nama kelas"}},e=>{e.exports={"Type something":"Scrivi qualcosa...",Advanced:"Avanzato","About Jodit":"A proposito di Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Guida utente di Jodit","contains detailed help for using":"contiene una guida dettagliata per l'uso.","For information about the license, please go to our website:":"Per informazioni sulla licenza, si prega di visitare il nostro sito:","Buy full version":"Acquista la versione completa","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.",Anchor:"Ancora","Open in new tab":"Apri in una nuova scheda","Open editor in fullsize":"Apri l'editor a schermo intero","Clear Formatting":"Formato chiaro","Fill color or set the text color":"Riempi colore o lettera",Redo:"Ripristina",Undo:"Annulla",Bold:"Grassetto",Italic:"Corsivo","Insert Unordered List":"Inserisci lista non ordinata","Insert Ordered List":"Inserisci l'elenco ordinato","Align Center":"Allinea Centra","Align Justify":"Allineare Giustificato","Align Left":"Allinea a Sinistra","Align Right":"Allinea a Destra","Insert Horizontal Line":"Inserisci la linea orizzontale","Insert Image":"Inserisci immagine","Insert file":"Inserisci un file","Insert youtube/vimeo video":"Inserisci video Youtube/Vimeo","Insert link":"Inserisci il link","Font size":"Dimensione del carattere","Font family":"Tipo di font","Insert format block":"Inserisci blocco",Normal:"Normale","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading 4":"Heading 4",Quote:"Citazione",Code:"Codice",Insert:"Inserisci","Insert table":"Inserisci tabella","Decrease Indent":"Riduci il rientro","Increase Indent":"Aumenta il rientro","Select Special Character":"Seleziona una funzione speciale","Insert Special Character":"Inserisci un carattere speciale","Paint format":"Copia formato","Change mode":"Cambia modo",Margins:"Margini",top:"su",right:"destra",bottom:"giù",left:"sinistra",Styles:"Stili CSS",Classes:"Classi CSS",Align:"Allinea",Right:"Destra",Center:"Centro",Left:"Sinistra","--Not Set--":"--Non Impostato--",Src:"Fonte",Title:"Titolo",Alternative:"Testo Alternativo",Link:"Link","Open link in new tab":"Apri il link in una nuova scheda",Image:"Immagine",file:"Archivio",Advansed:"Avanzato","Image properties":"Proprietà dell'immagine",Cancel:"Annulla",Ok:"Accetta","Your code is similar to HTML. Keep as HTML?":"Il codice è simile all'HTML. Mantieni come HTML?","Paste as HTML":"Incolla come HTML?",Keep:"Mantieni",Clean:"Pulisci","Insert as Text":"Inserisci come testo","Word Paste Detected":"Incollato da Word rilevato","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Il contenuto incollato proviene da un documento Microsoft Word / Excel. Vuoi mantenere il formato o pulirlo?","Insert only Text":"Inserisci solo il testo","File Browser":"Cerca il file","Error on load list":"Errore durante il caricamento dell'elenco","Error on load folders":"Errore durante il caricamento delle cartelle","Are you sure?":"Sei sicuro?","Enter Directory name":"Inserisci il nome della cartella","Create directory":"Crea cartella","type name":"Entre el nombre","Drop image":"Rilascia l'immagine","Drop file":"Rilascia file","or click":"o click","Alternative text":"Testo alternativo",Browse:"Sfoglia",Upload:"Carica",Background:"Sfondo",Text:"Testo",Top:"Su",Middle:"Centro",Bottom:"Sotto","Insert column before":"Inserisci prima la colonna","Insert column after":"Inserisci colonna dopo","Insert row above":"Inserisci la riga sopra","Insert row below":"Inserisci la riga sotto","Delete table":"Elimina tabella","Delete row":"Elimina riga","Delete column":"Elimina colonna","Empty cell":"Cella vuota",Delete:"Cancella","Strike through":"Barrato",Underline:"Sottolineato",Break:"Pausa","Search for":"Cerca","Replace with":"Sostituisci con",Replace:"Sostituire",Edit:"Modifica","Vertical align":"Allineamento verticala","Horizontal align":"Allineamento orizzontale",Filter:"Filtro","Sort by changed":"Ordina per data di modifica","Sort by name":"Ordina per nome","Sort by size":"Ordina per dimensione","Add folder":"Aggiungi cartella",Split:"Dividere","Split vertical":"Dividere verticalmente","Split horizontal":"Diviso orizzontale",Merge:"Fondi","Add column":"Aggiungi colonna","Add row":"Aggiungi riga",Border:"Bordo","Embed code":"Includi codice",Update:"Aggiornare",superscript:"indice",subscript:"deponente","Cut selection":"Taglia la selezione",Paste:"Incolla","Choose Content to Paste":"Seleziona il contenuto da incollare","Chars: %d":"Caratteri: %d","Words: %d":"Parole: %d",All:"Tutto","Select %s":"Seleziona: %s","Select all":"Seleziona tutto",source:"HTML",bold:"Grassetto",italic:"Corsivo",brush:"Pennello",link:"Link",undo:"Annulla",redo:"Ripristina",table:"Tabella",image:"Immagine",eraser:"Gomma",paragraph:"Paragrafo",fontsize:"Dimensione del carattere",video:"Video",font:"Font",about:"Approposito di",print:"Stampa",symbol:"Simbolo",underline:"Sottolineato",strikethrough:"Barrato",indent:"trattino",outdent:"annulla rientro",fullsize:"A grandezza normale",shrink:"comprimere",copyformat:"Copia il formato",hr:"linea orizzontale",ul:"lista non ordinata",ol:"lista ordinata",cut:"Taglia",selectall:"Seleziona tutto","Open link":"Apri link","Edit link":"Modifica link","No follow":"Non seguire",Unlink:"Togli link",Eye:"Recensione",pencil:"Per modificare"," URL":" URL",Reset:"Reset",Save:"Salva","Save as ...":"Salva con nome...",Resize:"Ridimensiona",Crop:"Tagliare",Width:"Larghezza",Height:"Altezza","Keep Aspect Ratio":"Mantenere le proporzioni",Yes:"Si",No:"No",Remove:"Rimuovere",Select:"Seleziona","You can only edit your own images. Download this image on the host?":"Puoi modificare solo le tue immagini. Scarica questa immagine sul server?","The image has been successfully uploaded to the host!":"L'immagine è stata caricata con successo sul server!",palette:"tavolozza","There are no files":"Non ci sono file in questa directory.",Rename:"ungherese","Enter new name":"Inserisci un nuovo nome",preview:"anteprima",download:"Scaricare","Paste from clipboard":"Incolla dagli appunti","Your browser doesn't support direct access to the clipboard.":"Il tuo browser non supporta l'accesso diretto agli appunti.","Copy selection":"Selezione di copia",copy:"copia","Border radius":"Border radius","Show all":"Mostra tutti",Apply:"Applicare","Please fill out this field":"Si prega di compilare questo campo","Please enter a web address":"Si prega di inserire un indirizzo web",Default:"Di Default",Circle:"Cerchio",Dot:"Dot",Quadrate:"Quadrate",Find:"Trovare","Find Previous":"Trova Precedente","Find Next":"Trova Successivo","Insert className":"Inserisci il nome della classe"}},e=>{e.exports={"Type something":"なにかタイプしてください",Advanced:"高度な設定","About Jodit":"Joditについて","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Jodit ユーザーズ・ガイド","contains detailed help for using":"詳しい使い方","For information about the license, please go to our website:":"ライセンス詳細についてはJodit Webサイトを確認ください:","Buy full version":"フルバージョンを購入","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.",Anchor:"Anchor","Open in new tab":"新しいタブで開く","Open editor in fullsize":"エディターのサイズ(フル/ノーマル)","Clear Formatting":"書式をクリア","Fill color or set the text color":"テキストの色",Redo:"やり直し",Undo:"元に戻す",Bold:"太字",Italic:"斜体","Insert Unordered List":"箇条書き","Insert Ordered List":"番号付きリスト","Align Center":"中央揃え","Align Justify":"両端揃え","Align Left":"左揃え","Align Right":"右揃え","Insert Horizontal Line":"区切り線を挿入","Insert Image":"画像を挿入","Insert file":"ファイルを挿入","Insert youtube/vimeo video":"Youtube/Vimeo 動画","Insert link":"リンクを挿入","Font size":"フォントサイズ","Font family":"フォント","Insert format block":"テキストのスタイル",Normal:"指定なし","Heading 1":"タイトル1","Heading 2":"タイトル2","Heading 3":"タイトル3","Heading 4":"タイトル4",Quote:"引用",Code:"コード",Insert:"挿入","Insert table":"表を挿入","Decrease Indent":"インデント減","Increase Indent":"インデント増","Select Special Character":"特殊文字を選択","Insert Special Character":"特殊文字を挿入","Paint format":"書式を貼付け","Change mode":"編集モード切替え",Margins:"マージン",top:"上",right:"右",bottom:"下",left:"左",Styles:"スタイル",Classes:"クラス",Align:"配置",Right:"右寄せ",Center:"中央寄せ",Left:"左寄せ","--Not Set--":"指定なし",Src:"ソース",Title:"タイトル",Alternative:"代替テキスト",Link:"リンク","Open link in new tab":"新しいタブで開く",Image:"画像",file:"ファイル",Advansed:"Advansed","Image properties":"画像のプロパティー",Cancel:"キャンセル",Ok:"確定","Your code is similar to HTML. Keep as HTML?":"HTMLコードを保持しますか?","Paste as HTML":"HTMLで貼付け",Keep:"HTMLを保持",Clean:"Clean","Insert as Text":"HTMLをテキストにする","Word Paste Detected":"Word Paste Detected","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Insert only Text":"テキストだけ","File Browser":"File Browser","Error on load list":"Error on load list","Error on load folders":"Error on load folders","Are you sure?":"Are you sure?","Enter Directory name":"Enter Directory name","Create directory":"Create directory","type name":"type name","Drop image":"ここに画像をドロップ","Drop file":"ここにファイルをドロップ","or click":"or クリック","Alternative text":"代替テキスト",Browse:"ブラウズ",Upload:"アップロード",Background:"背景",Text:"文字",Top:"上",Middle:"中央",Bottom:"下","Insert column before":"左に列を挿入","Insert column after":"右に列を挿入","Insert row above":"上に行を挿入","Insert row below":"下に行を挿入","Delete table":"表を削除","Delete row":"行を削除","Delete column":"列を削除","Empty cell":"セルを空にする","Chars: %d":"文字数: %d","Words: %d":"単語数: %d","Strike through":"取り消し線",Underline:"下線",superscript:"上付き文字",subscript:"下付き文字","Cut selection":"切り取り","Select all":"すべて選択",Break:"Pause","Search for":"検索","Replace with":"置換",Replace:"交換",Paste:"貼付け","Choose Content to Paste":"選択した内容を貼付け",All:"全部",source:"source",bold:"bold",italic:"italic",brush:"brush",link:"link",undo:"undo",redo:"redo",table:"table",image:"image",eraser:"eraser",paragraph:"paragraph",fontsize:"fontsize",video:"video",font:"font",about:"about",print:"print",symbol:"symbol",underline:"underline",strikethrough:"strikethrough",indent:"indent",outdent:"outdent",fullsize:"fullsize",shrink:"shrink",copyformat:"copyformat",hr:"分割線",ul:"箇条書き",ol:"番号付きリスト",cut:"切り取り",selectall:"すべて選択","Open link":"リンクを開く","Edit link":"リンクを編集","No follow":"No follow",Unlink:"リンク解除",Eye:"サイトを確認"," URL":"URL",Reset:"リセット",Save:"保存","Save as ...":"Save as ...",Resize:"リサイズ",Crop:"Crop",Width:"幅",Height:"高さ","Keep Aspect Ratio":"縦横比を保持",Yes:"はい",No:"いいえ",Remove:"移除",Select:"選択","Select %s":"選択: %s",Update:"更新","Vertical align":"垂直方向の配置",Merge:"セルの結合","Add column":"列を追加","Add row":"行を追加",Border:"境界線","Embed code":"埋め込みコード",Delete:"削除",Edit:"編集","Horizontal align":"水平方向の配置",Filter:"Filter","Sort by changed":"Sort by changed","Sort by name":"Sort by name","Sort by size":"Sort by size","Add folder":"Add folder",Split:"分割","Split vertical":"セルの分割(垂直方向)","Split horizontal":"セルの分割(水平方向)","You can only edit your own images. Download this image on the host?":"You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!":"The image has been successfully uploaded to the host!",palette:"パレット",pencil:"鉛筆","There are no files":"There are no files",Rename:"Rename","Enter new name":"Enter new name",preview:"プレビュー",download:"ダウンロード","Paste from clipboard":"貼り付け","Your browser doesn't support direct access to the clipboard.":"お使いのブラウザはクリップボードを使用できません","Copy selection":"コピー",copy:"copy","Border radius":"角の丸み","Show all":"全て表示",Apply:"適用","Please fill out this field":"まだこの分野","Please enter a web address":"を入力してくださいウェブアドレス",Default:"デフォルト",Circle:"白丸",Dot:"黒丸",Quadrate:"四角",Find:"見","Find Previous":"探前","Find Next":"由来","Lower Alpha":"英小文字","Lower Greek":"ギリシャ文字","Lower Roman":"ローマ数字小文字","Upper Alpha":"英大文字","Upper Roman":"ローマ数字大文字","Insert className":"クラス名を挿入"}},e=>{e.exports={"Type something":"무엇이든 입력하세요","About Jodit":"Jodit에 대하여","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Jodit 사용자 안내서","contains detailed help for using":"자세한 도움말이 들어있어요","For information about the license, please go to our website:":"라이센스에 관해서는 Jodit 웹 사이트를 방문해주세요:","Buy full version":"풀 버전 구입하기","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"© XDSoft.net - Chupurnov Valeriy. 에게 저작권과 모든 권리가 있습니다.",Anchor:"Anchor","Open in new tab":"새 탭에서 열기","Open editor in fullsize":"전체 크기로 보기","Clear Formatting":"서식 지우기","Fill color or set the text color":"글씨 색상",Redo:"재실행",Undo:"실행 취소",Bold:"굵게",Italic:"기울임","Insert Unordered List":"글머리 목록","Insert Ordered List":"번호 목록","Align Center":"가운데 정렬","Align Justify":"양쪽 정렬","Align Left":"왼쪽 정렬","Align Right":"오른쪽 정렬","Insert Horizontal Line":"수평 구분선 넣기","Insert Image":"이미지 넣기","Insert file":"파일 넣기","Insert youtube/vimeo video":"Youtube/Vimeo 동영상","Insert link":"링크 넣기","Font size":"글꼴 크기","Font family":"글꼴","Insert format block":"블록 요소 넣기",Normal:"일반 텍스트","Heading 1":"제목 1","Heading 2":"제목 2","Heading 3":"제목 3","Heading 4":"제목 4",Quote:"인용",Code:"코드",Insert:"붙여 넣기","Insert table":"테이블","Decrease Indent":"들여쓰기 감소","Increase Indent":"들여쓰기 증가","Select Special Character":"특수문자 선택","Insert Special Character":"특수문자 입력","Paint format":"페인트 형식","Change mode":"편집모드 변경",Margins:"마진",top:"위",right:"오른쪽",bottom:"아래",left:"왼쪽",Styles:"스타일",Classes:"클래스",Align:"정렬",Right:"오른쪽으로",Center:"가운데로",Left:"왼쪽으로","--Not Set--":"--지정 안 함--",Src:"경로(src)",Title:"제목",Alternative:"대체 텍스트(alt)",Link:"링크","Open link in new tab":"새 탭에서 열기",file:"파일",Advanced:"고급","Image properties":"이미지 속성",Cancel:"취소",Ok:"확인","Your code is similar to HTML. Keep as HTML?":"HTML 코드로 감지했어요. 코드인채로 붙여넣을까요?","Paste as HTML":"HTML로 붙여넣기",Keep:"원본 유지",Clean:"지우기","Insert as Text":"텍스트로 넣기","Insert only Text":"텍스트만 넣기","Word Paste Detected":"Word 붙여넣기 감지","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Microsoft Word/Excel 문서로 감지했어요. 서식을 유지한채로 붙여넣을까요?","File Browser":"파일 탐색기","Error on load list":"목록 불러오기 에러","Error on load folders":"폴더 불러오기","Are you sure?":"정말 진행할까요?","Enter Directory name":"디렉토리 이름 입력","Create directory":"디렉토리 생성","type name":"이름 입력","Drop image":"이미지 드래그","Drop file":"파일 드래그","or click":"혹은 클릭","Alternative text":"대체 텍스트",Browse:"탐색",Upload:"업로드",Background:"배경",Text:"텍스트",Top:"위",Middle:"중앙",Bottom:"아래","Insert column before":"이전 열에 삽입","Insert column after":"다음 열에 삽입","Insert row above":"위 행에 삽입","Insert row below":"아래 행에 삽입","Delete table":"테이블 삭제","Delete row":"행 삭제","Delete column":"열 삭제","Empty cell":"빈 셀",source:"HTML 소스",bold:"볼드",italic:"이탤릭",brush:"브러시",link:"링크",undo:"실행 취소",redo:"재실행",table:"테이블",image:"이미지",eraser:"지우개",paragraph:"문단",fontsize:"글꼴 크기",video:"비디오",font:"글꼴",about:"편집기 정보",print:"프린트",symbol:"기호",underline:"밑줄",strikethrough:"취소선",indent:"들여쓰기",outdent:"내어쓰기",fullsize:"전체 화면",shrink:"일반 화면",copyformat:"복사 형식",hr:"구분선",ul:"글머리 목록",ol:"번호 목록",cut:"잘라내기",selectall:"모두 선택","Embed code":"Embed 코드","Open link":"링크 열기","Edit link":"링크 편집","No follow":"No follow",Unlink:"링크 제거",Eye:"사이트 확인",pencil:"연필",Update:"갱신"," URL":"URL",Edit:"편집","Horizontal align":"수평 정렬",Filter:"필터","Sort by changed":"변경일 정렬","Sort by name":"이름 정렬","Sort by size":"크기 정렬","Add folder":"새 폴더",Reset:"초기화",Save:"저장","Save as ...":"새로 저장하기 ...",Resize:"리사이즈",Crop:"크롭",Width:"가로 길이",Height:"세로 높이","Keep Aspect Ratio":"비율 유지하기",Yes:"네",No:"아니오",Remove:"제거",Select:"선택","Chars: %d":"문자수: %d","Words: %d":"단어수: %d",All:"모두","Select all":"모두 선택","Select %s":"선택: %s","Vertical align":"수직 정렬",Split:"분할","Split vertical":"세로 셀 분할","Split horizontal":"가로 셀 분할",Merge:"셀 병합","Add column":"열 추가","Add row":"행 추가",Delete:"삭제",Border:"외곽선","License: %s":"라이센스: %s","Strike through":"취소선",Underline:"밑줄",superscript:"윗첨자",subscript:"아래첨자","Cut selection":"선택 잘라내기",Break:"구분자","Search for":"검색","Replace with":"대체하기",Replace:"대체",Paste:"붙여넣기","Choose Content to Paste":"붙여넣을 내용 선택","You can only edit your own images. Download this image on the host?":"외부 이미지는 편집할 수 없어요. 외부 이미지를 다운로드 할까요?","The image has been successfully uploaded to the host!":"이미지를 무사히 업로드 했어요!",palette:"팔레트","There are no files":"파일이 없어요",Rename:"이름 변경","Enter new name":"새 이름 입력",preview:"미리보기",download:"다운로드","Paste from clipboard":"클립보드 붙여넣기","Your browser doesn't support direct access to the clipboard.":"사용중인 브라우저가 클립보드 접근을 지원하지 않아요.","Copy selection":"선택 복사",copy:"복사","Border radius":"둥근 테두리","Show all":"모두 보기",Apply:"적용","Please fill out this field":"이 항목을 입력해주세요!","Please enter a web address":"웹 URL을 입력해주세요.",Default:"기본",Circle:"원",Dot:"점",Quadrate:"정사각형",Find:"찾기","Find Previous":"이전 찾기","Find Next":"다음 찾기","Insert className":"className 입력"}},e=>{e.exports={"Type something":"Begin met typen..",Advanced:"Geavanceerd","About Jodit":"Over Jodit","Jodit Editor":"Jodit Editor","Free Non-commercial Version":"Gratis niet-commerciële versie","Jodit User's Guide":"Jodit gebruikershandleiding","contains detailed help for using":"bevat gedetailleerde informatie voor gebruik.","For information about the license, please go to our website:":"Voor informatie over de licentie, ga naar onze website:","Buy full version":"Volledige versie kopen","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Alle rechten voorbehouden.",Anchor:"Anker","Open in new tab":"Open in nieuwe tab","Open editor in fullsize":"Editor in volledig scherm openen","Clear Formatting":"Opmaak verwijderen","Fill color or set the text color":"Vulkleur of tekstkleur aanpassen",Redo:"Opnieuw",Undo:"Ongedaan maken",Bold:"Vet",Italic:"Cursief","Insert Unordered List":"Geordende list invoegen","Insert Ordered List":"Ongeordende lijst invoegen","Align Center":"Centreren","Align Justify":"Uitlijnen op volledige breedte","Align Left":"Links uitlijnen","Align Right":"Rechts uitlijnen","Insert Horizontal Line":"Horizontale lijn invoegen","Insert Image":"Afbeelding invoegen","Insert file":"Bestand invoegen","Insert youtube/vimeo video":"Youtube/Vimeo video invoegen","Insert link":"Link toevoegen","Font size":"Tekstgrootte","Font family":"Lettertype","Insert format block":"Format blok invoegen",Normal:"Normaal","Heading 1":"Koptekst 1","Heading 2":"Koptekst 2","Heading 3":"Koptekst 3","Heading 4":"Koptekst 4",Quote:"Citaat",Code:"Code",Insert:"Invoegen","Insert table":"Tabel invoegen","Decrease Indent":"Inspringing verkleinen","Increase Indent":"Inspringing vergroten","Select Special Character":"Symbool selecteren","Insert Special Character":"Symbool invoegen","Paint format":"Opmaak kopieren","Change mode":"Modus veranderen",Margins:"Marges",top:"Boven",right:"Rechts",bottom:"Onder",left:"Links",Styles:"CSS styles",Classes:"CSS classes",Align:"Uitlijning",Right:"Rechts",Center:"Gecentreerd",Left:"Links","--Not Set--":"--Leeg--",Src:"Src",Title:"Titel",Alternative:"Alternatieve tekst",Link:"Link","Open link in new tab":"Link in nieuwe tab openen",Image:"Afbeelding",file:"Bestand",Advansed:"Geavanceerd","Image properties":"Afbeeldingseigenschappen",Cancel:"Annuleren",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Deze code lijkt op HTML. Als HTML behouden?","Paste as HTML":"Invoegen als HTML",Keep:"Origineel behouden",Clean:"Opschonen","Insert as Text":"Als tekst invoegen","Word Paste Detected":"Word-tekst gedetecteerd","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"De geplakte tekst is afkomstig van een Microsoft Word/Excel document. Wil je de opmaak behouden of opschonen?","Insert only Text":"Als onopgemaakte tekst invoegen","File Browser":"Bestandsbrowser","Error on load list":"Fout bij het laden van de lijst","Error on load folders":"Fout bij het laden van de mappenlijst","Are you sure?":"Weet je het zeker?","Enter Directory name":"Geef de map een naam","Create directory":"Map aanmaken","type name":"Type naam","Drop image":"Sleep hier een afbeelding naartoe","Drop file":"Sleep hier een bestand naartoe","or click":"of klik","Alternative text":"Alternatieve tekst",Browse:"Bladeren",Upload:"Uploaden",Background:"Achtergrond",Text:"Tekst",Top:"Boven",Middle:"Midden",Bottom:"Onder","Insert column before":"Kolom invoegen (voor)","Insert column after":"Kolom invoegen (na)","Insert row above":"Rij invoegen (boven)","Insert row below":"Rij invoegen (onder)","Delete table":"Tabel verwijderen","Delete row":"Rij verwijderen","Delete column":"Kolom verwijderen","Empty cell":"Cel leegmaken",Delete:"Verwijderen","Strike through":"Doorstrepen",Underline:"Onderstrepen",Break:"Enter","Search for":"Zoek naar","Replace with":"Vervangen door",Replace:"Vervangen",Edit:"Bewerken","Vertical align":"Verticaal uitlijnen","Horizontal align":"Horizontaal uitlijnen",Filter:"Filteren","Sort by changed":"Sorteren op wijzigingsdatum","Sort by name":"Sorteren op naam","Sort by size":"Sorteren op grootte","Add folder":"Map toevoegen",Split:"Splitsen","Split vertical":"Verticaal splitsen","Split horizontal":"Horizontaal splitsen",Merge:"Samenvoegen","Add column":"Kolom toevoegen","Add row":"Rij toevoegen",Border:"Rand","Embed code":"Embed code",Update:"Updaten",superscript:"Superscript",subscript:"Subscript","Cut selection":"Selectie knippen",Paste:"Plakken","Choose Content to Paste":"Kies content om te plakken","Chars: %d":"Tekens: %d","Words: %d":"Woorden: %d",All:"Alles","Select %s":"Selecteer: %s","Select all":"Selecteer alles",source:"Broncode",bold:"vet",italic:"cursief",brush:"kwast",link:"link",undo:"ongedaan maken",redo:"opnieuw",table:"tabel",image:"afbeelding",eraser:"gum",paragraph:"paragraaf",fontsize:"lettergrootte",video:"video",font:"lettertype",about:"over",print:"afdrukken",symbol:"symbool",underline:"onderstreept",strikethrough:"doorgestreept",indent:"inspringen",outdent:"minder inspringen",fullsize:"volledige grootte",shrink:"kleiner maken",copyformat:"opmaak kopiëren",hr:"horizontale lijn",ul:"lijst",ol:"genummerde lijst",cut:"knip",selectall:"alles selecteren","Open link":"link openen","Edit link":"link aanpassen","No follow":"niet volgen",Unlink:"link verwijderen",Eye:"Recensie",pencil:"Om te bewerken"," URL":" URL",Reset:"Herstellen",Save:"Opslaan","Save as ...":"Opslaan als ...",Resize:"Grootte aanpassen",Crop:"Bijknippen",Width:"Breedte",Height:"Hoogte","Keep Aspect Ratio":"Verhouding behouden",Yes:"Ja",No:"Nee",Remove:"Verwijderen",Select:"Selecteren","You can only edit your own images. Download this image on the host?":"Je kunt alleen je eigen afbeeldingen aanpassen. Deze afbeelding downloaden?","The image has been successfully uploaded to the host!":"De afbeelding is succesvol geüploadet!",palette:"Palette","There are no files":"Er zijn geen bestanden in deze map.",Rename:"Hongaars","Enter new name":"Voer een nieuwe naam in",preview:"voorvertoning",download:"Download","Paste from clipboard":"Plakken van klembord","Your browser doesn't support direct access to the clipboard.":"Uw browser ondersteunt geen directe toegang tot het klembord.","Copy selection":"Selectie kopiëren",copy:"kopiëren","Border radius":"Border radius","Show all":"Toon alle",Apply:"Toepassing","Please fill out this field":"Vul dit veld","Please enter a web address":"Voer een webadres",Default:"Standaard",Circle:"Cirkel",Dot:"Dot",Quadrate:"Quadrate",Find:"Zoeken","Find Previous":"Vorige Zoeken","Find Next":"Volgende Zoeken","Insert className":"Voeg de klassenaam in"}},e=>{e.exports={"Type something":"Napisz coś",Advanced:"Zaawansowane","About Jodit":"O Jodit","Jodit Editor":"Edytor Jodit","Jodit User's Guide":"Instrukcja Jodit","contains detailed help for using":"zawiera szczegółowe informacje dotyczące użytkowania.","For information about the license, please go to our website:":"Odwiedź naszą stronę, aby uzyskać więcej informacji na temat licencji:","Buy full version":"Zakup pełnej wersji","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Wszystkie prawa zastrzeżone.",Anchor:"Kotwica","Open in new tab":"Otwórz w nowej zakładce","Open editor in fullsize":"Otwórz edytor w pełnym rozmiarze","Clear Formatting":"Wyczyść formatowanie","Fill color or set the text color":"Kolor wypełnienia lub ustaw kolor tekstu",Redo:"Ponów",Undo:"Cofnij",Bold:"Pogrubienie",Italic:"Kursywa","Insert Unordered List":"Wstaw listę wypunktowaną","Insert Ordered List":"Wstaw listę numeryczną","Align Center":"Wyśrodkuj","Align Justify":"Wyjustuj","Align Left":"Wyrównaj do lewej","Align Right":"Wyrównaj do prawej","Insert Horizontal Line":"Wstaw linię poziomą","Insert Image":"Wstaw grafikę","Insert file":"Wstaw plik","Insert youtube/vimeo video":"Wstaw film Youtube/vimeo","Insert link":"Wstaw link","Font size":"Rozmiar tekstu","Font family":"Krój czcionki","Insert format block":"Wstaw formatowanie",Normal:"Normalne","Heading 1":"Nagłówek 1","Heading 2":"Nagłówek 2","Heading 3":"Nagłówek 3","Heading 4":"Nagłówek 4",Quote:"Cytat",Code:"Kod",Insert:"Wstaw","Insert table":"Wstaw tabelę","Decrease Indent":"Zmniejsz wcięcie","Increase Indent":"Zwiększ wcięcie","Select Special Character":"Wybierz znak specjalny","Insert Special Character":"Wstaw znak specjalny","Paint format":"Malarz formatów","Change mode":"Zmień tryb",Margins:"Marginesy",top:"Górny",right:"Prawy",bottom:"Dolny",left:"Levy",Styles:"Style CSS",Classes:"Klasy CSS",Align:"Wyrównanie",Right:"Prawa",Center:"środek",Left:"Lewa","--Not Set--":"brak",Src:"Źródło",Title:"Tytuł",Alternative:"Tekst alternatywny",Link:"Link","Open link in new tab":"Otwórz w nowej zakładce",Image:"Grafika",file:"Plik",Advansed:"Zaawansowne","Image properties":"Właściwości grafiki",Cancel:"Anuluj",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Twój kod wygląda jak HTML. Zachować HTML?","Paste as HTML":"Wkleić jako HTML?",Keep:"Oryginalny tekst",Clean:"Wyczyść","Insert as Text":"Wstaw jako tekst","Word Paste Detected":"Wykryto tekst w formacie Word","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Wklejany tekst pochodzi z dokumentu Microsoft Word/Excel. Chcesz zachować ten format czy wyczyścić go? ","Insert only Text":"Wstaw tylko treść","File Browser":"Przeglądarka plików","Error on load list":"Błąd ładowania listy plików","Error on load folders":"Błąd ładowania folderów","Are you sure?":"Czy jesteś pewien?","Enter Directory name":"Wprowadź nazwę folderu","Create directory":"Utwórz folder","type name":"wprowadź nazwę","Drop image":"Upuść plik graficzny","Drop file":"Upuść plik","or click":"lub kliknij tu","Alternative text":"Tekst alternatywny",Browse:"Przeglądaj",Upload:"Wczytaj",Background:"Tło",Text:"Treść",Top:"Góra",Middle:"Środek",Bottom:"Dół","Insert column before":"Wstaw kolumnę przed","Insert column after":"Wstaw kolumnę po","Insert row above":"Wstaw wiersz przed","Insert row below":"Wstaw wiersz po","Delete table":"Usuń tabelę","Delete row":"Usuń wiersz","Delete column":"Usuń kolumnę","Empty cell":"Wyczyść komórkę",Delete:"Usuń","Strike through":"Przekreślenie",Underline:"Podkreślenie",Break:"Przerwa","Search for":"Szukaj","Replace with":"Zamień na",Replace:"Wymienić",Edit:"Edytuj","Vertical align":"Wyrównywanie w pionie","Horizontal align":"Wyrównywanie w poziomie",Filter:"Filtruj","Sort by changed":"Sortuj wg zmiany","Sort by name":"Sortuj wg nazwy","Sort by size":"Sortuj wg rozmiaru","Add folder":"Dodaj folder","Split vertical":"Podziel w pionie","Split horizontal":"Podziel w poziomie",Split:"Podziel",Merge:"Scal","Add column":"Dodaj kolumnę","Add row":"Dodaj wiersz",Border:"Obramowanie","Embed code":"Wstaw kod",Update:"Aktualizuj",superscript:"indeks górny",subscript:"index dolny","Cut selection":"Wytnij zaznaczenie",Paste:"Wklej","Choose Content to Paste":"Wybierz zawartość do wklejenia","Chars: %d":"Znaki: %d","Words: %d":"Słowa: %d",All:"Wszystko","Select %s":"Wybierz: %s","Select all":"Wybierz wszystko",source:"HTML",bold:"pogrubienie",italic:"kursywa",brush:"pędzel",link:"link",undo:"cofnij",redo:"ponów",table:"tabela",image:"grafika",eraser:"wyczyść",paragraph:"akapit",fontsize:"rozmiar czcionki",video:"wideo",font:"czcionka",about:"O programie",print:"drukuj",symbol:"symbol",underline:"podkreślenie",strikethrough:"przekreślenie",indent:"wcięcie",outdent:"wycięcie",fullsize:"pełen rozmiar",shrink:"przytnij",copyformat:"format kopii",hr:"linia pozioma",ul:"lista",ol:"lista numerowana",cut:"wytnij",selectall:"zaznacz wszystko","Open link":"otwórz link","Edit link":"edytuj link","No follow":"Atrybut no-follow",Unlink:"Usuń link",Eye:"szukaj",pencil:"edytuj"," URL":"URL",Reset:"wyczyść",Save:"zapisz","Save as ...":"zapisz jako",Resize:"Zmień rozmiar",Crop:"Przytnij",Width:"Szerokość",Height:"Wysokość","Keep Aspect Ratio":"Zachowaj proporcje",Yes:"Tak",No:"Nie",Remove:"Usuń",Select:"Wybierz","You can only edit your own images. Download this image on the host?":"Możesz edytować tylko swoje grafiki. Czy chcesz pobrać tą grafikę?","The image has been successfully uploaded to the host!":"Grafika została pomyślnienie dodana na serwer",palette:"Paleta","There are no files":"Brak plików.",Rename:"zmień nazwę","Enter new name":"Wprowadź nową nazwę",preview:"podgląd",download:"pobierz","Paste from clipboard":"Wklej ze schowka","Your browser doesn't support direct access to the clipboard.":"Twoja przeglądarka nie obsługuje schowka","Copy selection":"Kopiuj zaznaczenie",copy:"kopiuj","Border radius":"Zaokrąglenie krawędzi","Show all":"Pokaż wszystkie",Apply:"Zastosuj","Please fill out this field":"Proszę wypełnić to pole","Please enter a web address":"Proszę, wpisz adres sieci web",Default:"Domyślnie",Circle:"Koło",Dot:"Punkt",Quadrate:"Kwadrat",Find:"Znaleźć","Find Previous":"Znaleźć Poprzednie","Find Next":"Znajdź Dalej","Insert className":"Wstaw nazwę zajęć"}},e=>{e.exports={"Type something":"Escreva algo...",Advanced:"Avançado","About Jodit":"Sobre o Jodit","Jodit Editor":"Editor Jodit","Jodit User's Guide":"Guia de usuário Jodit","contains detailed help for using":"contém ajuda detalhada para o uso.","For information about the license, please go to our website:":"Para informação sobre a licença, por favor visite nosso site:","Buy full version":"Compre a versão completa","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Todos os direitos reservados.",Anchor:"Link","Open in new tab":"Abrir em nova aba","Open editor in fullsize":"Abrir editor em tela cheia","Clear Formatting":"Limpar formatação","Fill color or set the text color":"Cor de preenchimento ou cor do texto",Redo:"Refazer",Undo:"Desfazer",Bold:"Negrito",Italic:"Itálico","Insert Unordered List":"Inserir lista não ordenada","Insert Ordered List":"Inserir lista ordenada","Align Center":"Centralizar","Align Justify":"Justificar","Align Left":"Alinhar à Esquerda","Align Right":"Alinhar à Direita","Insert Horizontal Line":"Inserir linha horizontal","Insert Image":"Inserir imagem","Insert file":"Inserir arquivo","Insert youtube/vimeo video":"Inserir vídeo do Youtube/vimeo","Insert link":"Inserir link","Font size":"Tamanho da letra","Font family":"Fonte","Insert format block":"Inserir bloco",Normal:"Normal","Heading 1":"Cabeçalho 1","Heading 2":"Cabeçalho 2","Heading 3":"Cabeçalho 3","Heading 4":"Cabeçalho 4",Quote:"Citação",Code:"Código",Insert:"Inserir","Insert table":"Inserir tabela","Decrease Indent":"Diminuir recuo","Increase Indent":"Aumentar recuo","Select Special Character":"Selecionar caractere especial","Insert Special Character":"Inserir caractere especial","Paint format":"Copiar formato","Change mode":"Mudar modo",Margins:"Margens",top:"cima",right:"direta",bottom:"baixo",left:"esquerda",Styles:"Estilos CSS",Classes:"Classes CSS",Align:"Alinhamento",Right:"Direita",Center:"Centro",Left:"Esquerda","--Not Set--":"--Não Estabelecido--",Src:"Fonte",Title:"Título",Alternative:"Texto Alternativo",Link:"Link","Open link in new tab":"Abrir link em nova aba",Image:"Imagem",file:"Arquivo",Advansed:"Avançado","Image properties":"Propriedades da imagem",Cancel:"Cancelar",Ok:"Ok","Your code is similar to HTML. Keep as HTML?":"Seu código é similar ao HTML. Manter como HTML?","Paste as HTML":"Colar como HTML?",Keep:"Manter",Clean:"Limpar","Insert as Text":"Inserir como Texto","Word Paste Detected":"Colado do Word Detectado","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"O conteúdo colado veio de um documento Microsoft Word/Excel. Você deseja manter o formato ou limpa-lo?","Insert only Text":"Inserir somente o Texto","File Browser":"Procurar arquivo","Error on load list":"Erro ao carregar a lista","Error on load folders":"Erro ao carregar as pastas","Are you sure?":"Você tem certeza?","Enter Directory name":"Escreva o nome da pasta","Create directory":"Criar pasta","type name":"Escreva seu nome","Drop image":"Soltar imagem","Drop file":"Soltar arquivo","or click":"ou clique","Alternative text":"Texto alternativo",Browse:"Explorar",Upload:"Upload",Background:"Fundo",Text:"Texto",Top:"Cima",Middle:"Meio",Bottom:"Baixo","Insert column before":"Inserir coluna antes","Insert column after":"Inserir coluna depois","Insert row above":"Inserir linha acima","Insert row below":"Inserir linha abaixo","Delete table":"Excluir tabela","Delete row":"Excluir linha","Delete column":"Excluir coluna","Empty cell":"Limpar célula",Delete:"Excluir","Strike through":"Tachado",Underline:"Sublinhar",Break:"Pausa","Search for":"Procurar por","Replace with":"Substituir com",Replace:"Substituir",Edit:"Editar","Vertical align":"Alinhamento vertical","Horizontal align":"Alinhamento horizontal",Filter:"filtrar","Sort by changed":"Ordenar por modificação","Sort by name":"Ordenar por nome","Sort by size":"Ordenar por tamanho","Add folder":"Adicionar pasta",Split:"Dividir","Split vertical":"Dividir vertical","Split horizontal":"Dividir horizontal",Merge:"Mesclar","Add column":"Adicionar coluna","Add row":"Adicionar linha",Border:"Borda","Embed code":"Incluir código",Update:"Atualizar",superscript:"sobrescrito",subscript:"subscrito","Cut selection":"Cortar seleção",Paste:"Colar","Choose Content to Paste":"Escolher conteúdo para colar","Chars: %d":"Caracteres: %d","Words: %d":"Palavras: %d",All:"Tudo","Select %s":"Selecionar: %s","Select all":"Selecionar tudo",source:"HTML",bold:"negrito",italic:"itálico",brush:"pincel",link:"link",undo:"desfazer",redo:"refazer",table:"tabela",image:"imagem",eraser:"apagar",paragraph:"parágrafo",fontsize:"tamanho da letra",video:"vídeo",font:"fonte",about:"Sobre de",print:"Imprimir",symbol:"Símbolo",underline:"sublinhar",strikethrough:"tachado",indent:"recuar",outdent:"diminuir recuo",fullsize:"Tamanho completo",shrink:"diminuir",copyformat:"Copiar formato",hr:"linha horizontal",ul:"lista não ordenada",ol:"lista ordenada",cut:"Cortar",selectall:"Selecionar tudo","Open link":"Abrir link","Edit link":"Editar link","No follow":"Não siga",Unlink:"Remover link",Eye:"Visualizar",pencil:"Editar"," URL":"URL",Reset:"Resetar",Save:"Salvar","Save as ...":"Salvar como...",Resize:"Redimensionar",Crop:"Recortar",Width:"Largura",Height:"Altura","Keep Aspect Ratio":"Manter a proporção",Yes:"Sim",No:"Não",Remove:"Remover",Select:"Selecionar","You can only edit your own images. Download this image on the host?":"Você só pode editar suas próprias imagens. Baixar essa imagem pro servidor?","The image has been successfully uploaded to the host!":"A imagem foi enviada com sucesso para o servidor!",palette:"Palette","There are no files":"Não há arquivos nesse diretório.",Rename:"Húngara","Enter new name":"Digite um novo nome",preview:"preview",download:"Baixar","Paste from clipboard":"Colar da área de transferência","Your browser doesn't support direct access to the clipboard.":"O seu navegador não oferece suporte a acesso direto para a área de transferência.","Copy selection":"Selecção de cópia",copy:"cópia","Border radius":"Border radius","Show all":"Mostrar todos os",Apply:"Aplicar","Please fill out this field":"Por favor, preencha este campo","Please enter a web address":"Por favor introduza um endereço web",Default:"Padrão",Circle:"Círculo",Dot:"Ponto",Quadrate:"Quadro","Lower Alpha":"Letra Minúscula","Lower Greek":"Grego Minúscula","Lower Roman":"Romano Minúscula","Upper Alpha":"Letra Maiúscula","Upper Roman":"Romano Maiúscula",Find:"Encontrar","Find Previous":"Encontrar Anteriores","Find Next":"Localizar Próxima","Insert className":"Insira o nome da classe"}},e=>{e.exports={"Type something":"Напишите что-либо","About Jodit":"О Jodit","Jodit Editor":"Редактор Jodit","Jodit User's Guide":"Jodit Руководство пользователя","contains detailed help for using":"содержит детальную информацию по использованию","For information about the license, please go to our website:":"Для получения сведений о лицензии , пожалуйста, перейдите на наш сайт:","Buy full version":"Купить полную версию","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Авторские права © XDSoft.net - Чупурнов Валерий. Все права защищены.",Anchor:"Анкор","Open in new tab":"Открывать ссылку в новой вкладке","Open editor in fullsize":"Открыть редактор в полном размере","Clear Formatting":"Очистить форматирование","Fill color or set the text color":"Цвет заливки или цвет текста",Redo:"Повтор",Undo:"Отмена",Bold:"Жирный",Italic:"Наклонный","Insert Unordered List":"Вставка маркированного списка","Insert Ordered List":"Вставить нумерованный список","Align Center":"Выровнять по центру","Align Justify":"Выровнять по ширине","Align Left":"Выровнять по левому краю","Align Right":"Выровнять по правому краю","Insert Horizontal Line":"Вставить горизонтальную линию","Insert Image":"Вставить изображение","Insert file":"Вставить файл","Insert youtube/vimeo video":"Вставьте видео","Insert link":"Вставить ссылку","Font size":"Размер шрифта","Font family":"Шрифт","Insert format block":"Вставить блочный элемент",Normal:"Нормальный текст","Heading 1":"Заголовок 1","Heading 2":"Заголовок 2","Heading 3":"Заголовок 3","Heading 4":"Заголовок 4",Quote:"Цитата",Code:"Код",Insert:"Вставить","Insert table":"Вставить таблицу","Decrease Indent":"Уменьшить отступ","Increase Indent":"Увеличить отступ","Select Special Character":"Выберите специальный символ","Insert Special Character":"Вставить специальный символ","Paint format":"Формат краски","Change mode":"Источник",Margins:"Отступы",top:"сверху",right:"справа",bottom:"снизу",left:"слева",Styles:"Стили",Classes:"Классы",Align:"Выравнивание",Right:"По правому краю",Center:"По центру",Left:"По левому краю","--Not Set--":"--не устанавливать--",Src:"src",Title:"Заголовок",Alternative:"Альтернативный текст (alt)",Link:"Ссылка","Open link in new tab":"Открывать ссылку в новом окне",file:"Файл",Advanced:"Расширенные","Image properties":"Свойства изображения",Cancel:"Отмена",Ok:"Ок","Your code is similar to HTML. Keep as HTML?":"Ваш текст, который вы пытаетесь вставить похож на HTML. Вставить его как HTML?","Paste as HTML":"Вставить как HTML?",Keep:"Сохранить оригинал",Clean:"Почистить","Insert as Text":"Вставить как текст","Insert only Text":"Вставить только текст","Word Paste Detected":"Возможно это фрагмент Word или Excel","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Контент который вы вставляете поступает из документа Microsoft Word / Excel. Вы хотите сохранить формат или очистить его?","File Browser":"Браузер файлов","Error on load list":"Ошибка при загрузке списка изображений","Error on load folders":"Ошибка при загрузке списка директорий","Are you sure?":"Вы уверены?","Enter Directory name":"Введите название директории","Create directory":"Создать директорию","type name":"введите название","Drop image":"Перетащите сюда изображение","Drop file":"Перетащите сюда файл","or click":"или нажмите","Alternative text":"Альтернативный текст",Browse:"Сервер",Upload:"Загрузка",Background:"Фон",Text:"Текст",Top:" К верху",Middle:"По середине",Bottom:"К низу","Insert column before":"Вставить столбец до","Insert column after":"Вставить столбец после","Insert row above":"Вставить ряд выше","Insert row below":"Вставить ряд ниже","Delete table":"Удалить таблицу","Delete row":"Удалять ряд","Delete column":"Удалить столбец","Empty cell":"Очистить ячейку",source:"HTML",bold:"жирный",italic:"курсив",brush:"заливка",link:"ссылка",undo:"отменить",redo:"повторить",table:"таблица",image:"Изображение",eraser:"очистить",paragraph:"параграф",fontsize:"размер шрифта",video:"видео",font:"шрифт",about:"о редакторе",print:"печать",symbol:"символ",underline:"подчеркнутый",strikethrough:"перечеркнутый",indent:"отступ",outdent:"выступ",fullsize:"во весь экран",shrink:"обычный размер",copyformat:"Копировать формат",hr:"линия",ul:"Список",ol:"Нумерованный список",cut:"Вырезать",selectall:"Выделить все","Embed code":"Код","Open link":"Открыть ссылку","Edit link":"Редактировать ссылку","No follow":"Атрибут nofollow",Unlink:"Убрать ссылку",Eye:"Просмотр",pencil:"Редактировать",Update:"Обновить"," URL":"URL",Edit:"Редактировать","Horizontal align":"Горизонтальное выравнивание",Filter:"Фильтр","Sort by changed":"По изменению","Sort by name":"По имени","Sort by size":"По размеру","Add folder":"Добавить папку",Reset:"Восстановить",Save:"Сохранить","Save as ...":"Сохранить как",Resize:"Изменить размер",Crop:"Обрезать размер",Width:"Ширина",Height:"Высота","Keep Aspect Ratio":"Сохранять пропорции",Yes:"Да",No:"Нет",Remove:"Удалить",Select:"Выделить","Chars: %d":"Символов: %d","Words: %d":"Слов: %d",All:"Выделить все","Select %s":"Выделить: %s","Select all":"Выделить все","Vertical align":"Вертикальное выравнивание",Split:"Разделить","Split vertical":"Разделить по вертикали","Split horizontal":"Разделить по горизонтали",Merge:"Объединить в одну","Add column":"Добавить столбец","Add row":"Добавить строку",Delete:"Удалить",Border:"Рамка","License: %s":"Лицензия: %s","Strike through":"Перечеркнуть",Underline:"Подчеркивание",superscript:"верхний индекс",subscript:"индекс","Cut selection":"Вырезать",Break:"Разделитель","Search for":"Найти","Replace with":"Заменить на",Replace:"Заменить",Paste:"Вставить","Choose Content to Paste":"Выбрать контент для вставки","You can only edit your own images. Download this image on the host?":"Вы можете редактировать только свои собственные изображения. Загрузить это изображение на ваш сервер?","The image has been successfully uploaded to the host!":"Изображение успешно загружено на сервер!",palette:"палитра","There are no files":"В данном каталоге нет файлов",Rename:"Переименовать","Enter new name":"Введите новое имя",preview:"Предпросмотр",download:"Скачать","Paste from clipboard":"Вставить из буфера обмена","Your browser doesn't support direct access to the clipboard.":"Ваш браузер не поддерживает прямой доступ к буферу обмена.","Copy selection":"Скопировать выделенное",copy:"копия","Border radius":"Радиус границы","Show all":"Показать все",Apply:"Применить","Please fill out this field":"Пожалуйста, заполните это поле","Please enter a web address":"Пожалуйста, введите веб-адрес",Default:"По умолчанию",Circle:"Круг",Dot:"Точка",Quadrate:"Квадрат",Find:"Найти","Find Previous":"Найти Предыдущие","Find Next":"Найти Далее","Insert className":"Вставить название класса"}},e=>{e.exports={"Type something":"Bir şeyler yaz",Advanced:"Gelişmiş","About Jodit":"Jodit Hakkında","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Jodit Kullanım Kılavuzu","contains detailed help for using":"kullanım için detaylı bilgiler içerir","For information about the license, please go to our website:":"Lisans hakkında bilgi için lütfen web sitemize gidin:","Buy full version":"Tam versiyonunu satın al","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Tüm hakları saklıdır.",Anchor:"Bağlantı","Open in new tab":"Yeni sekmede aç","Open editor in fullsize":"Editörü tam ekranda aç","Clear Formatting":"Stili temizle","Fill color or set the text color":"Renk doldur veya yazı rengi seç",Redo:"Yinele",Undo:"Geri Al",Bold:"Kalın",Italic:"İtalik","Insert Unordered List":"Sırasız Liste Ekle","Insert Ordered List":"Sıralı Liste Ekle","Align Center":"Ortala","Align Justify":"Kenarlara Yasla","Align Left":"Sola Yasla","Align Right":"Sağa Yasla","Insert Horizontal Line":"Yatay Çizgi Ekle","Insert Image":"Resim Ekle","Insert file":"Dosya Ekle","Insert youtube/vimeo video":"Youtube/Vimeo Videosu Ekle","Insert link":"Bağlantı Ekle","Font size":"Font Boyutu","Font family":"Font Ailesi","Insert format block":"Blok Ekle",Normal:"Normal","Heading 1":"Başlık 1","Heading 2":"Başlık 2","Heading 3":"Başlık 3","Heading 4":"Başlık 4",Quote:"Alıntı",Code:"Kod",Insert:"Ekle","Insert table":"Tablo Ekle","Decrease Indent":"Girintiyi Azalt","Increase Indent":"Girintiyi Arttır","Select Special Character":"Özel Karakter Seç","Insert Special Character":"Özel Karakter Ekle","Paint format":"Resim Biçimi","Change mode":"Mod Değiştir",Margins:"Boşluklar",top:"Üst",right:"Sağ",bottom:"Alt",left:"Sol",Styles:"CSS Stilleri",Classes:"CSS Sınıfları",Align:"Hizalama",Right:"Sağ",Center:"Ortalı",Left:"Sol","--Not Set--":"Belirsiz",Src:"Kaynak",Title:"Başlık",Alternative:"Alternatif Yazı",Link:"Link","Open link in new tab":"Bağlantıyı yeni sekmede aç",Image:"Resim",file:"Dosya",Advansed:"Gelişmiş","Image properties":"Resim özellikleri",Cancel:"İptal",Ok:"Tamam","Your code is similar to HTML. Keep as HTML?":"Kodunuz HTML koduna benziyor. HTML olarak devam etmek ister misiniz?","Paste as HTML":"HTML olarak yapıştır",Keep:"Sakla",Clean:"Temizle","Insert as Text":"Yazı olarak ekle","Word Paste Detected":"Word biçiminde yapıştırma algılandı","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Der Inhalt, den Sie einfügen, stammt aus einem Microsoft Word / Excel-Dokument. Möchten Sie das Format erhalten oder löschen?","Insert only Text":"Sadece yazıyı ekle","File Browser":"Dosya Listeleyici","Error on load list":"Liste yüklenirken hata oluştu","Error on load folders":"Klasörler yüklenirken hata oluştur","Are you sure?":"Emin misiniz?","Enter Directory name":"Dizin yolu giriniz","Create directory":"Dizin oluştur","type name":"İsim yaz","Drop image":"Resim bırak","Drop file":"Dosya bırak","or click":"veya tıkla","Alternative text":"Alternatif yazı",Browse:"Gözat",Upload:"Yükle",Background:"Arka plan",Text:"Yazı",Top:"Üst",Middle:"Orta",Bottom:"Aşağı","Insert column before":"Öncesine kolon ekle","Insert column after":"Sonrasına kolon ekle","Insert row above":"Üstüne satır ekle","Insert row below":"Altına satır ekle","Delete table":"Tabloyu sil","Delete row":"Satırı sil","Delete column":"Kolonu sil","Empty cell":"Hücreyi temizle",Delete:"Sil","Strike through":"Üstü çizili",Underline:"Alt çizgi",Break:"Satır sonu","Search for":"Ara","Replace with":"Şununla değiştir",Replace:"Değiştir",Edit:"Düzenle","Vertical align":"Dikey hizala","Horizontal align":"Yatay hizala",Filter:"Filtre","Sort by changed":"Değişime göre sırala","Sort by name":"İsme göre sırala","Sort by size":"Boyuta göre sırala","Add folder":"Klasör ekle",Split:"Ayır","Split vertical":"Dikey ayır","Split horizontal":"Yatay ayır",Merge:"Birleştir","Add column":"Kolon ekle","Add row":"Satır ekle",Border:"Kenarlık","Embed code":"Kod ekle",Update:"Güncelle",superscript:"Üst yazı",subscript:"Alt yazı","Cut selection":"Seçilimi kes",Paste:"Yapıştır","Choose Content to Paste":"Yapıştırılacak içerik seç","Chars: %d":"Harfler: %d","Words: %d":"Kelimeler: %d",All:"Tümü","Select %s":"Seç: %s","Select all":"Tümünü seç",source:"Kaynak",bold:"Kalın",italic:"italik",brush:"Fırça",link:"Bağlantı",undo:"Geri al",redo:"Yinele",table:"Tablo",image:"Resim",eraser:"Silgi",paragraph:"Paragraf",fontsize:"Font boyutu",video:"Video",font:"Font",about:"Hakkında",print:"Yazdır",symbol:"Sembol",underline:"Alt çizgi",strikethrough:"Üstü çizili",indent:"Girinti",outdent:"Çıkıntı",fullsize:"Tam ekran",shrink:"Küçült",copyformat:"Kopyalama Biçimi",hr:"Ayraç",ul:"Sırasız liste",ol:"Sıralı liste",cut:"Kes",selectall:"Tümünü seç","Open link":"Bağlantıyı aç","Edit link":"Bağlantıyı düzenle","No follow":"Nofollow özelliği",Unlink:"Bağlantıyı kaldır",Eye:"Yorumu",pencil:"Düzenlemek için"," URL":"URL",Reset:"Sıfırla",Save:"Kaydet","Save as ...":"Farklı kaydet",Resize:"Boyutlandır",Crop:"Kırp",Width:"Genişlik",Height:"Yükseklik","Keep Aspect Ratio":"En boy oranını koru",Yes:"Evet",No:"Hayır",Remove:"Sil",Select:"Seç","You can only edit your own images. Download this image on the host?":"Sadece kendi resimlerinizi düzenleyebilirsiniz. Bu görseli kendi hostunuza indirmek ister misiniz?","The image has been successfully uploaded to the host!":"Görsel başarıyla hostunuza yüklendi",palette:"Palet","There are no files":"Bu dizinde dosya yok",Rename:"Yeniden isimlendir","Enter new name":"Yeni isim girin",preview:"Ön izleme",download:"İndir","Paste from clipboard":"Panodan yapıştır ","Your browser doesn't support direct access to the clipboard.":"Tarayıcınız panoya doğrudan erişimi desteklemiyor.","Copy selection":"Seçimi kopyala",copy:"Kopyala","Border radius":"Sınır yarıçapı","Show all":"Tümünü Göster",Apply:"Uygula","Please fill out this field":"Lütfen bu alanı doldurun","Please enter a web address":"Lütfen bir web adresi girin",Default:"Varsayılan",Circle:"Daire",Dot:"Nokta",Quadrate:"Kare",Find:"Bul","Find Previous":"Öncekini Bul","Find Next":"Sonrakini Bul","Insert className":"Sınıf adı girin"}},e=>{e.exports={"Type something":"输入一些内容",Advanced:"高级","About Jodit":"关于Jodit","Jodit Editor":"Jodit Editor","Free Non-commercial Version":"Free Non-commercial Version","Jodit User's Guide":"开发者指南","contains detailed help for using":"使用帮助","For information about the license, please go to our website:":"有关许可证的信息,请访问我们的网站:","Buy full version":"购买完整版本","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. 版权所有",Anchor:"Anchor","Open in new tab":"在新窗口打开","Open editor in fullsize":"全屏编辑","Clear Formatting":"清除样式","Fill color or set the text color":"颜色",Redo:"重做",Undo:"撤销",Bold:"粗体",Italic:"斜体","Insert Unordered List":"符号列表","Insert Ordered List":"编号","Align Center":"居中","Align Justify":"对齐文本","Align Left":"左对齐","Align Right":"右对齐","Insert Horizontal Line":"分割线","Insert Image":"图片","Insert file":"文件","Insert youtube/vimeo video":"视频","Insert link":"链接","Font size":"字号","Font family":"字体","Insert format block":"格式块",Normal:"默认","Heading 1":"标题1","Heading 2":"标题2","Heading 3":"标题3","Heading 4":"标题4",Quote:"引用",Code:"代码",Insert:"插入","Insert table":"表格","Decrease Indent":"减少缩进","Increase Indent":"增加缩进","Select Special Character":"选择特殊符号","Insert Special Character":"特殊符号","Paint format":"格式复制","Change mode":"改变模式",Margins:"外边距(Margins)",top:"top",right:"right",bottom:"bottom",left:"left",Styles:"样式",Classes:"Classes",Align:"对齐方式",Right:"居右",Center:"居中",Left:"居左","--Not Set--":"无",Src:"Src",Title:"Title",Alternative:"Alternative",Link:"Link","Open link in new tab":"在新窗口打开链接",Image:"图片",file:"file",Advansed:"高级","Image properties":"图片属性",Cancel:"取消",Ok:"确定","Your code is similar to HTML. Keep as HTML?":"你粘贴的文本是一段html代码,是否保留源格式","Paste as HTML":"html粘贴",Keep:"保留源格式",Clean:"匹配目标格式","Insert as Text":"把html代码视为普通文本","Word Paste Detected":"文本粘贴","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"正在粘贴 Word/Excel 的文本,是否保留源格式?","Insert only Text":"只保留文本","File Browser":"文件管理","Error on load list":"加载list错误","Error on load folders":"加载folders错误","Are you sure?":"你确定吗?","Enter Directory name":"输入路径","Create directory":"创建路径","type name":"type name","Drop image":"拖动图片到此","Drop file":"拖动文件到此","or click":"或点击","Alternative text":"Alternative text",Browse:"浏览",Upload:"上传",Background:"背景色",Text:"文字",Top:"顶部",Middle:"中间",Bottom:"底部","Insert column before":"在之前插入列","Insert column after":"在之后插入列","Insert row above":"在之前插入行","Insert row below":"在之后插入行","Delete table":"删除表格","Delete row":"删除行","Delete column":"删除列","Empty cell":"清除内容","Chars: %d":"字符数: %d","Words: %d":"单词数: %d","Strike through":"删除线",Underline:"下划线",superscript:"上标",subscript:"下标","Cut selection":"剪切","Select all":"全选",Break:"Break","Search for":"查找","Replace with":"替换为",Replace:"替换",Edit:"编辑",Paste:"粘贴","Choose Content to Paste":"选择内容并粘贴",All:"全部",source:"源码",bold:"粗体",italic:"斜体",brush:"颜色",link:"链接",undo:"撤销",redo:"重做",table:"表格",image:"图片",eraser:"橡皮擦",paragraph:"段落",fontsize:"字号",video:"视频",font:"字体",about:"关于",print:"打印",symbol:"符号",underline:"下划线",strikethrough:"上出现",indent:"增加缩进",outdent:"减少缩进",fullsize:"全屏",shrink:"收缩",copyformat:"复制格式",hr:"分割线",ul:"无序列表",ol:"顺序列表",cut:"剪切",selectall:"全选","Open link":"打开链接","Edit link":"编辑链接","No follow":"No follow",Unlink:"取消链接",Eye:"预览"," URL":"URL",Reset:"重置",Save:"保存","Save as ...":"保存为",Resize:"调整大小",Crop:"剪切",Width:"宽",Height:"高","Keep Aspect Ratio":"保持长宽比",Yes:"是",No:"不",Remove:"移除",Select:"选择","Select %s":"选择: %s",Update:"更新","Vertical align":"垂直对齐",Merge:"合并","Add column":"添加列","Add row":"添加行",Border:"边框","Embed code":"嵌入代码",Delete:"删除","Horizontal align":"水平对齐",Filter:"筛选","Sort by changed":"修改时间排序","Sort by name":"名称排序","Sort by size":"大小排序","Add folder":"新建文件夹",Split:"拆分","Split vertical":"垂直拆分","Split horizontal":"水平拆分","You can only edit your own images. Download this image on the host?":"你只能编辑你自己的图片。Download this image on the host?","The image has been successfully uploaded to the host!":"图片上传成功",palette:"调色板",pencil:"铅笔","There are no files":"此目录中沒有文件。",Rename:"重命名","Enter new name":"输入新名称",preview:"预览",download:"下载","Paste from clipboard":"粘贴从剪贴板","Your browser doesn't support direct access to the clipboard.":"你浏览器不支持直接访问的剪贴板。","Copy selection":"复制选中内容",copy:"复制","Border radius":"边界半径","Show all":"显示所有",Apply:"应用","Please fill out this field":"请填写这个字段","Please enter a web address":"请输入一个网址",Default:"默认",Circle:"圆圈",Dot:"点",Quadrate:"方形",Find:"搜索","Find Previous":"查找上一个","Find Next":"查找下一个","Insert className":"插入班级名称"}},e=>{e.exports={"Type something":"輸入一些內容",Advanced:"高級","About Jodit":"關於Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"開發者指南","contains detailed help for using":"使用幫助","For information about the license, please go to our website:":"有關許可證的信息,請訪問我們的網站:","Buy full version":"購買完整版本","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.",Anchor:"Anchor","Open in new tab":"在新窗口打開","Open editor in fullsize":"全屏編輯","Clear Formatting":"清除樣式","Fill color or set the text color":"顏色",Redo:"重做",Undo:"撤銷",Bold:"粗體",Italic:"斜體","Insert Unordered List":"符號列表","Insert Ordered List":"編號","Align Center":"居中","Align Justify":"對齊文本","Align Left":"左對齊","Align Right":"右對齊","Insert Horizontal Line":"分割線","Insert Image":"圖片","Insert file":"文件","Insert youtube/vimeo video":"youtube/vimeo 影片","Insert link":"鏈接","Font size":"字號","Font family":"字體","Insert format block":"格式塊",Normal:"文本","Heading 1":"標題1","Heading 2":"標題2","Heading 3":"標題3","Heading 4":"標題4",Quote:"引用",Code:"代碼",Insert:"插入","Insert table":"表格","Decrease Indent":"減少縮進","Increase Indent":"增加縮進","Select Special Character":"選擇特殊符號","Insert Special Character":"特殊符號","Paint format":"格式複製","Change mode":"改變模式",Margins:"外邊距(Margins)",top:"top",right:"right",bottom:"bottom",left:"left",Styles:"樣式",Classes:"Classes",Align:"對齊方式",Right:"居右",Center:"居中",Left:"居左","--Not Set--":"無",Src:"Src",Title:"Title",Alternative:"替代",Link:"Link","Open link in new tab":"在新窗口打開鏈接",Image:"圖片",file:"file",Advansed:"高級","Image properties":"圖片屬性",Cancel:"取消",Ok:"確定","Your code is similar to HTML. Keep as HTML?":"你黏貼的文本是一段html代碼,是否保留源格式","Paste as HTML":"html黏貼",Keep:"保留源格式",Clean:"匹配目標格式","Insert as Text":"把html代碼視為普通文本","Word Paste Detected":"文本黏貼","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"正在黏貼 Word/Excel 的文本,是否保留源格式?","Insert only Text":"只保留文本","File Browser":"文件管理","Error on load list":"加載list錯誤","Error on load folders":"加載folders錯誤","Are you sure?":"你確定嗎?","Enter Directory name":"輸入路徑","Create directory":"創建路徑","type name":"type name","Drop image":"拖動圖片到此","Drop file":"拖動文件到此","or click":"或點擊","Alternative text":"替代文字",Browse:"瀏覽",Upload:"上傳",Background:"背景色",Text:"文字",Top:"頂部",Middle:"中間",Bottom:"底部","Insert column before":"在之前插入列","Insert column after":"在之後插入列","Insert row above":"在之前插入行","Insert row below":"在之後插入行","Delete table":"刪除表格","Delete row":"刪除行","Delete column":"刪除列","Empty cell":"清除內容","Chars: %d":"字符數: %d","Words: %d":"單詞數: %d","Strike through":"刪除線",Underline:"下劃線",superscript:"上標",subscript:"下標","Cut selection":"剪切","Select all":"全選",Break:"Pause","Search for":"查找","Replace with":"替換為",Replace:"แทนที่",Paste:"黏貼","Choose Content to Paste":"選擇內容並黏貼",All:"全部",source:"源碼",bold:"粗體",italic:"斜體",brush:"顏色",link:"鏈接",undo:"撤銷",redo:"重做",table:"表格",image:"圖片",eraser:"橡皮擦",paragraph:"段落",fontsize:"字號",video:"影片",font:"字體",about:"關於",print:"打印",symbol:"符號",underline:"下劃線",strikethrough:"上出現",indent:"增加縮進",outdent:"減少縮進",fullsize:"全屏",shrink:"收縮",copyformat:"複製格式",hr:"分割線",ul:"無序列表",ol:"順序列表",cut:"剪切",selectall:"全選","Open link":"打開鏈接","Edit link":"編輯鏈接","No follow":"No follow",Unlink:"取消連結",Eye:"回顧"," URL":"URL",Reset:"重置",Save:"保存","Save as ...":"保存為",Resize:"調整大小",Crop:"Crop",Width:"寬",Height:"高","Keep Aspect Ratio":"保存長寬比",Yes:"是",No:"不",Remove:"移除",Select:"選擇","Select %s":"選擇: %s",Update:"更新","Vertical align":"垂直對齊",Merge:"合併","Add column":"添加列","Add row":"添加行",Border:"邊框","Embed code":"嵌入代碼",Delete:"刪除","Horizontal align":"水平對齊",Filter:"篩選","Sort by changed":"修改時間排序","Sort by name":"名稱排序","Sort by size":"大小排序","Add folder":"新建文件夾",Split:"拆分","Split vertical":"垂直拆分","Split horizontal":"水平拆分","You can only edit your own images. Download this image on the host?":"你只能編輯你自己的圖片。是否下載此圖片到本地?","The image has been successfully uploaded to the host!":"圖片上傳成功",palette:"調色板",pencil:"鉛筆","There are no files":"此目錄中沒有文件。",Rename:"重命名","Enter new name":"輸入新名稱",preview:"預覽",download:"下載","Paste from clipboard":"從剪貼板貼上","Your browser doesn't support direct access to the clipboard.":"瀏覽器無法存取剪贴板。","Copy selection":"複製已選取項目",copy:"複製","Border radius":"邊框圓角","Show all":"顯示所有",Apply:"應用","Please fill out this field":"ได้โปรดกรอกช่องข้อมูลนี้","Please enter a web address":"โปรดเติมที่อยู่บนเว็บ",Default:"ค่าปริยาย",Circle:"วงกลม",Dot:"จุด",Quadrate:"Quadrate",Find:"ค้นหา","Find Previous":"ค้นหาก่อนหน้านี้","Find Next":"ค้นหาถัดไป","Insert className":"ใส่ชื่อคลาส"}},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>'},(e,t,i)=>{"use strict";i.d(t,{Zs:()=>r,tT:()=>l,sm:()=>c,G5:()=>d,CE:()=>h});var o=i(11),s=i(17),a=i(3),n=i(29);function r(e,t){return t?e.previousSibling:e.nextSibling}function l(e,t,i){return(0,o.RE)(t?s.i.prev:s.i.next,e,(e=>!(!e||s.i.isText(e)&&!(0,n.fy)((null==e?void 0:e.nodeValue)||"").length)),i)}function c(e,t){return s.i.findSibling(e,t,(e=>{var t;return!s.i.isEmptyTextNode(e)&&!!(!s.i.isText(e)||(null===(t=e.nodeValue)||void 0===t?void 0:t.length)&&(0,n.fy)(e.nodeValue))}))}function d(e,t,i,o=!1){const a=e=>t?e.firstChild:e.lastChild;let n=l(e,!t,i);if(o&&s.i.isElement(n)&&!s.i.isInlineBlock(n))return null;if(n)do{if(!a(n))return n;n=a(n)}while(n);return null}function h(e,t,i){let o=s.i.findSibling(t,i),n=s.i.findSibling(t,!i);for(;s.i.isElement(o)&&!s.i.isTag(o,a.INSEPARABLE_TAGS)&&s.i.isContentEditable(o,e.editor)&&(!n||!s.i.closest(t,s.i.isElement,e.editor));)i||!o.firstChild?o.appendChild(t):s.i.before(o.firstChild,t),o=r(t,i),n=r(t,!i)}},(e,t,i)=>{"use strict";i.d(t,{YW:()=>n,ov:()=>l,IL:()=>r});var o=i(10),s=i(37),a=i(17);const n=(e,t,i)=>{const n="jodit-color-picker",r=(0,o.normalizeColor)(i),l=e.c.div(n),c=e.o.textIcons?`<span>${e.i18n("palette")}</span>`:s.JO.get("palette"),d=e=>{const t=[];return(0,o.isPlainObject)(e)?Object.keys(e).forEach((i=>{t.push(`<div class="${n}__group ${n}__group-${i}">`),t.push(d(e[i])),t.push("</div>")})):(0,o.isArray)(e)&&e.forEach((e=>{t.push(`<span class='${n}__color-item ${r===e?n+"__color-item_active_true":""}' title="${e}" style="background-color:${e}" data-color="${e}"></span>`)})),t.join("")};l.appendChild(e.c.fromHTML(`<div class="${n}__groups">${d(e.o.colors)}</div>`)),l.appendChild(e.c.fromHTML(`<div data-ref="extra" class="${n}__extra"></div>`));const{extra:h}=(0,o.refs)(l);return e.o.showBrowserColorPicker&&(0,o.hasBrowserColorPicker)()&&(h.appendChild(e.c.fromHTML(`<div class="${n}__native">${c}<input type="color" value="#ffffff"/></div>`)),e.e.on(l,"change",(e=>{e.stopPropagation();const i=e.target;if(!i||!i.tagName||!a.i.isTag(i,"input"))return;const s=i.value||"";(0,o.isFunction)(t)&&t(s),e.preventDefault()}))),e.e.on(l,"mousedown touchend",(i=>{i.stopPropagation();let s=i.target;if(s&&s.tagName&&!a.i.isTag(s,"svg")&&!a.i.isTag(s,"path")||!s.parentNode||(s=a.i.closest(s.parentNode,"span",e.editor)),!a.i.isTag(s,"span")||!s.classList.contains(n+"__color-item"))return;const r=(0,o.attr)(s,"-color")||"";t&&(0,o.isFunction)(t)&&t(r),i.preventDefault()})),e.e.fire("afterGenerateColorPicker",l,h,t,r),l},r=(e,t,i)=>{const a=e.c.div("jodit-tabs"),n=e.c.div("jodit-tabs__wrapper"),r=e.c.div("jodit-tabs__buttons"),l={},c=[];let d="",h=0;if(a.appendChild(r),a.appendChild(n),t.forEach((({icon:a,name:u,content:p})=>{const m=e.c.div("jodit-tab"),g=(0,s.zx)(e,a||u,u);d||(d=u),r.appendChild(g.container),c.push(g),g.container.classList.add("jodit-tabs__button","jodit-tabs__button_columns_"+t.length),(0,o.isFunction)(p)?m.appendChild(e.c.div("jodit-tab_empty")):m.appendChild(p instanceof s.u1?p.container:p),n.appendChild(m),g.onAction((()=>(c.forEach((e=>{e.state.activated=!1})),(0,o.$$)(".jodit-tab",n).forEach((e=>{e.classList.remove("jodit-tab_active")})),g.state.activated=!0,m.classList.add("jodit-tab_active"),(0,o.isFunction)(p)&&p.call(e),i&&(i.__activeTab=u),!1))),l[u]={button:g,tab:m},h+=1})),!h)return a;(0,o.$$)("a",r).forEach((e=>{e.style.width=(100/h).toFixed(10)+"%"}));const u=i&&i.__activeTab&&l[i.__activeTab]?i.__activeTab:d;return l[u].button.state.activated=!0,l[u].tab.classList.add("jodit-tab_active"),a},l=(e,t,i,n,l=!0)=>{let c;const d=[];if(t.upload&&e.o.uploader&&(e.o.uploader.url||e.o.uploader.insertImageAsBase64URI)){const i=e.c.fromHTML(`<div class="jodit-drag-and-drop__file-box"><strong>${e.i18n(l?"Drop image":"Drop file")}</strong><span><br>${e.i18n("or click")}</span><input type="file" accept="${l?"image/*":"*"}" tabindex="-1" dir="auto" multiple=""/></div>`);e.uploader.bind(i,(i=>{const s=(0,o.isFunction)(t.upload)?t.upload:e.o.uploader.defaultHandlerSuccess;(0,o.isFunction)(s)&&s.call(e,i),e.e.fire("closeAllPopups")}),(t=>{e.e.fire("errorMessage",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(){n&&n(),t.filebrowser&&e.filebrowser.open(t.filebrowser,l)}}),t.url){const n=new s.y3(e,{type:"submit",variant:"primary",text:"Insert"}),r=new s.x4(e,[new s.u3(e,{required:!0,label:"URL",name:"url",type:"text",placeholder:"https://"}),new s.u3(e,{name:"text",label:"Alternative text"}),new s.eC(e,[n])]);c=null,i&&!a.i.isText(i)&&(a.i.isTag(i,"img")||(0,o.$$)("img",i).length)&&(c="IMG"===i.tagName?i:(0,o.$$)("img",i)[0],(0,o.val)(r.container,"input[name=url]",(0,o.attr)(c,"src")),(0,o.val)(r.container,"input[name=text]",(0,o.attr)(c,"alt")),n.state.text="Update"),i&&a.i.isTag(i,"a")&&((0,o.val)(r.container,"input[name=url]",(0,o.attr)(i,"href")),(0,o.val)(r.container,"input[name=text]",(0,o.attr)(i,"title")),n.state.text="Update"),r.onSubmit((i=>{(0,o.isFunction)(t.url)&&t.url.call(e,i.url,i.text)})),d.push({icon:"link",name:"URL",content:r.container})}return r(e,d)}},(e,t,i)=>{"use strict";i.d(t,{z:()=>s});var o=i(10);const s=(e,t)=>{t&&"normal"!==t?"center"!==t?((0,o.css)(e,"float",t),(0,o.clearCenterAlign)(e)):(0,o.css)(e,{float:"",display:"block",marginLeft:"auto",marginRight:"auto"}):((0,o.css)(e,"float")&&-1!==["right","left"].indexOf((""+(0,o.css)(e,"float")).toLowerCase())&&(0,o.css)(e,"float",""),(0,o.clearCenterAlign)(e))}},(e,t,i)=>{"use strict";var o=i(11);t.Z=[{name:"eye",tooltip:"Open link",exec(e,t){const i=(0,o.Lj)(t,"href");t&&i&&e.ow.open(i)}},{name:"link",tooltip:"Edit link",icon:"pencil"},"unlink","brush","file"]},(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var o=i(17),s=i(20),a=i(10),n=i(90);const r={name:"left",childTemplate:(e,t,i)=>i,list:["Left","Right","Center","Normal"],exec(e,t,{control:i}){if(!o.i.isTag(t,["img","jodit","jodit-media"]))return;const a=i.args&&(0,s.HD)(i.args[0])?i.args[0].toLowerCase():"";if(!a)return!1;(0,n.z)(t,a),o.i.isTag(t,["jodit","jodit-media"])&&t.firstElementChild&&(0,n.z)(t.firstElementChild,a),e.setEditorValue(),e.e.fire("recalcPositionPopup")},tooltip:"Horizontal align"};t.Z=[{name:"delete",icon:"bin",tooltip:"Delete",exec(e,t){t&&e.s.removeNode(t)}},{name:"pencil",exec(e,t){"img"===t.tagName.toLowerCase()&&e.e.fire("openImageProperties",t)},tooltip:"Edit"},{name:"valign",list:["Top","Middle","Bottom","Normal"],tooltip:"Vertical align",exec(e,t,{control:i}){if(!o.i.isTag(t,"img"))return;const n=i.args&&(0,s.HD)(i.args[0])?i.args[0].toLowerCase():"";if(!n)return!1;(0,a.css)(t,"vertical-align","normal"===n?"":n),e.e.fire("recalcPositionPopup")}},r]},(e,t,i)=>{"use strict";var o=i(20),s=i(10),a=i(89);const n=e=>e.args&&(0,o.HD)(e.args[0])?e.args[0].toLowerCase():"";t.Z=[{name:"brush",popup(e,t,i,n){if(!(0,o.Zu)(e))return;const r=e.getInstance("Table",e.o).getAllSelectedCells();if(!r.length)return!1;const l=t=>(0,a.YW)(e,(i=>{r.forEach((e=>{(0,s.css)(e,t,i)})),e.lock(),e.setEditorValue(),n(),e.unlock()}),(0,s.css)(r[0],t));return(0,a.IL)(e,[{name:"Background",content:l("background-color")},{name:"Text",content:l("color")},{name:"Border",content:l("border-color")}])},tooltip:"Background"},{name:"valign",list:["Top","Middle","Bottom","Normal"],childTemplate:(e,t,i)=>i,exec(e,t,{control:i}){const o=n(i);e.getInstance("Table",e.o).getAllSelectedCells().forEach((e=>{(0,s.css)(e,"vertical-align","normal"===o?"":o)}))},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,o.Zu)(e))return;const s=n(i);e.execCommand(s,!1,t)},tooltip:"Add column"},{name:"addrow",list:{tableaddrowbefore:"Insert row above",tableaddrowafter:"Insert row below"},exec(e,t,{control:i}){if(!(0,o.Zu)(e))return;const s=n(i);e.execCommand(s,!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,o.Zu)(e))return;const s=n(i);e.execCommand(s,!1,t),e.e.fire("hidePopup")},tooltip:"Delete"}]},(e,t)=>{"use strict";t.Z=["bold","italic","|","ul","ol","eraser","|","fontsize","brush","paragraph","---","image","table","\n","link","|","align","|","undo","redo","|","copyformat","fullsize","---","dots"]},(e,t,i)=>{"use strict";var o=i(92);t.Z=[{name:"bin",tooltip:"Delete",exec(e,t){t&&e.s.removeNode(t)}},o.A]},function(e,t,i){"use strict";i.d(t,{u:()=>d,W:()=>h});var o=i(27),s=i(2),a=i(3),n=i(10),r=i(17),l=i(62),c=i(19);function d(e){if(!e.firstChild)return!0;const t=e.firstChild;if(a.MAY_BE_REMOVED_WITH_KEY.test(t.nodeName)||/^(TABLE)$/i.test(t.nodeName))return!1;const i=r.i.next(t,(e=>e&&!r.i.isEmptyTextNode(e)),e);return r.i.isText(t)&&!i?r.i.isEmptyTextNode(t):!i&&r.i.each(t,(e=>!r.i.isTag(e,["ul","li","ol"])&&(r.i.isEmpty(e)||r.i.isTag(e,"br"))))}s.D.prototype.showPlaceholder=!0,s.D.prototype.useInputsPlaceholder=!0,s.D.prototype.placeholder="Type something";class h extends l.S{constructor(){super(...arguments),this.addNativeListeners=()=>{this.j.e.off(this.j.editor,"input.placeholder keydown.placeholder").on(this.j.editor,"input.placeholder keydown.placeholder",this.toggle)},this.addEvents=()=>{const e=this.j;e.o.useInputsPlaceholder&&e.element.hasAttribute("placeholder")&&(this.placeholderElm.innerHTML=(0,n.attr)(e.element,"placeholder")||""),e.e.fire("placeholder",this.placeholderElm.innerHTML),e.e.off(".placeholder").on("changePlace.placeholder",this.addNativeListeners).on("change.placeholder focus.placeholder keyup.placeholder mouseup.placeholder keydown.placeholder mousedown.placeholder afterSetMode.placeholder changePlace.placeholder",this.toggle).on(window,"load",this.toggle),this.addNativeListeners(),this.toggle()}}afterInit(e){e.o.showPlaceholder&&(this.placeholderElm=e.c.fromHTML(`<span data-ref="placeholder" style="display: none;" class="jodit-placeholder">${e.i18n(e.o.placeholder)}</span>`),"rtl"===e.o.direction&&(this.placeholderElm.style.right="0px",this.placeholderElm.style.direction="rtl"),e.e.on("readonly",(e=>{e?this.hide():this.toggle()})).on("changePlace",this.addEvents),this.addEvents())}show(){const e=this.j;if(e.o.readonly)return;let t=0,i=0;const o=e.s.current(),s=o&&r.i.closest(o,r.i.isBlock,e.editor)||e.editor,a=e.ew.getComputedStyle(s);if(e.workplace.appendChild(this.placeholderElm),r.i.isElement(e.editor.firstChild)){const o=e.ew.getComputedStyle(e.editor.firstChild);t=parseInt(o.getPropertyValue("margin-top"),10),i=parseInt(o.getPropertyValue("margin-left"),10),this.placeholderElm.style.fontSize=parseInt(o.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=o.getPropertyValue("line-height")}else this.placeholderElm.style.fontSize=parseInt(a.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=a.getPropertyValue("line-height");(0,n.css)(this.placeholderElm,{display:"block",textAlign:a.getPropertyValue("text-align"),marginTop:Math.max(parseInt(a.getPropertyValue("margin-top"),10),t),marginLeft:Math.max(parseInt(a.getPropertyValue("margin-left"),10),i)})}hide(){r.i.safeRemove(this.placeholderElm)}toggle(){const e=this.j;e.editor&&!e.isInDestruct&&(e.getRealMode()===a.MODE_WYSIWYG&&d(e.editor)?this.show():this.hide())}beforeDestruct(e){this.hide(),e.e.off(".placeholder").off(window,"load",this.toggle)}}(0,o.gn)([(0,c.debounce)((e=>e.defaultTimeout/10),!0)],h.prototype,"toggle",null)},(e,t,i)=>{"use strict";i.d(t,{P:()=>o});const o="source-consumer"},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>'},e=>{e.exports='<svg viewBox="0 0 18.151 18.151" xmlns="http://www.w3.org/2000/svg"> <g> <path stroke-width="0" d="M6.237,16.546H3.649V1.604h5.916v5.728c0.474-0.122,0.968-0.194,1.479-0.194 c0.042,0,0.083,0.006,0.125,0.006V0H2.044v18.15h5.934C7.295,17.736,6.704,17.19,6.237,16.546z"/> <path stroke-width="0" d="M11.169,8.275c-2.723,0-4.938,2.215-4.938,4.938s2.215,4.938,4.938,4.938s4.938-2.215,4.938-4.938 S13.892,8.275,11.169,8.275z M11.169,16.81c-1.983,0-3.598-1.612-3.598-3.598c0-1.983,1.614-3.597,3.598-3.597 s3.597,1.613,3.597,3.597C14.766,15.198,13.153,16.81,11.169,16.81z"/> <polygon stroke-width="0" points="11.792,11.073 10.502,11.073 10.502,12.578 9.03,12.578 9.03,13.868 10.502,13.868 10.502,15.352 11.792,15.352 11.792,13.868 13.309,13.868 13.309,12.578 11.792,12.578 "/> </g> </svg>'},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>'},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>'},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>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1171 960q0 13-10 23l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23z"/> </svg>'},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>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1411 541l-355 355 355 355 144-144q29-31 70-14 39 17 39 59v448q0 26-19 45t-45 19h-448q-42 0-59-40-17-39 14-69l144-144-355-355-355 355 144 144q31 30 14 69-17 40-59 40h-448q-26 0-45-19t-19-45v-448q0-42 40-59 39-17 69 14l144 144 355-355-355-355-144 144q-19 19-45 19-12 0-24-5-40-17-40-59v-448q0-26 19-45t45-19h448q42 0 59 40 17 39-14 69l-144 144 355 355 355-355-144-144q-31-30-14-69 17-40 59-40h448q26 0 45 19t19 45v448q0 42-39 59-13 5-25 5-26 0-45-19z"/> </svg>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 896q0 26-19 45l-256 256q-19 19-45 19t-45-19-19-45v-128h-1024v128q0 26-19 45t-45 19-45-19l-256-256q-19-19-19-45t19-45l256-256q19-19 45-19t45 19 19 45v128h1024v-128q0-26 19-45t45-19 45 19l256 256q19 19 19 45z"/> </svg>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1596 1385q0 117-79 196t-196 79q-135 0-235-100l-777-776q-113-115-113-271 0-159 110-270t269-111q158 0 273 113l605 606q10 10 10 22 0 16-30.5 46.5t-46.5 30.5q-13 0-23-10l-606-607q-79-77-181-77-106 0-179 75t-73 181q0 105 76 181l776 777q63 63 145 63 64 0 106-42t42-106q0-82-63-145l-581-581q-26-24-60-24-29 0-48 19t-19 48q0 32 25 59l410 410q10 10 10 22 0 16-31 47t-47 31q-12 0-22-10l-410-410q-63-61-63-149 0-82 57-139t139-57q88 0 149 63l581 581q100 98 100 235z"/> </svg>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M704 1376v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm-544-992h448l-48-117q-7-9-17-11h-317q-10 2-17 11zm928 32v64q0 14-9 23t-23 9h-96v948q0 83-47 143.5t-113 60.5h-832q-66 0-113-58.5t-47-141.5v-952h-96q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h309l70-167q15-37 54-63t79-26h320q40 0 79 26t54 63l70 167h309q14 0 23 9t9 23z"/> </svg>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M747 1521q74 32 140 32 376 0 376-335 0-114-41-180-27-44-61.5-74t-67.5-46.5-80.5-25-84-10.5-94.5-2q-73 0-101 10 0 53-.5 159t-.5 158q0 8-1 67.5t-.5 96.5 4.5 83.5 12 66.5zm-14-746q42 7 109 7 82 0 143-13t110-44.5 74.5-89.5 25.5-142q0-70-29-122.5t-79-82-108-43.5-124-14q-50 0-130 13 0 50 4 151t4 152q0 27-.5 80t-.5 79q0 46 1 69zm-541 889l2-94q15-4 85-16t106-27q7-12 12.5-27t8.5-33.5 5.5-32.5 3-37.5.5-34v-65.5q0-982-22-1025-4-8-22-14.5t-44.5-11-49.5-7-48.5-4.5-30.5-3l-4-83q98-2 340-11.5t373-9.5q23 0 68.5.5t67.5.5q70 0 136.5 13t128.5 42 108 71 74 104.5 28 137.5q0 52-16.5 95.5t-39 72-64.5 57.5-73 45-84 40q154 35 256.5 134t102.5 248q0 100-35 179.5t-93.5 130.5-138 85.5-163.5 48.5-176 14q-44 0-132-3t-132-3q-106 0-307 11t-231 12z"/> </svg>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M896 1152q0-36-20-69-1-1-15.5-22.5t-25.5-38-25-44-21-50.5q-4-16-21-16t-21 16q-7 23-21 50.5t-25 44-25.5 38-15.5 22.5q-20 33-20 69 0 53 37.5 90.5t90.5 37.5 90.5-37.5 37.5-90.5zm512-128q0 212-150 362t-362 150-362-150-150-362q0-145 81-275 6-9 62.5-90.5t101-151 99.5-178 83-201.5q9-30 34-47t51-17 51.5 17 33.5 47q28 93 83 201.5t99.5 178 101 151 62.5 90.5q81 127 81 275z"/> </svg>'},e=>{e.exports='<svg viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"> <g stroke="none" stroke-width="1"> <path d="M14,1.4 L12.6,0 L7,5.6 L1.4,0 L0,1.4 L5.6,7 L0,12.6 L1.4,14 L7,8.4 L12.6,14 L14,12.6 L8.4,7 L14,1.4 Z"/> </g> </svg>'},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>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M503 1271l-256 256q-10 9-23 9-12 0-23-9-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23zm169 41v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm-224-224q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm1264 128q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-334-335q-21-21-42-56l239-18 273 274q27 27 68 27.5t68-26.5l147-146q28-28 28-67 0-40-28-68l-274-275 18-239q35 21 56 42l336 336q84 86 84 204zm-617-724l-239 18-273-274q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l274 274-18 240q-35-21-56-42l-336-336q-84-86-84-204 0-120 85-203l147-146q83-83 203-83 121 0 204 85l334 335q21 21 42 56zm633 84q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm-544-544v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm407 151l-256 256q-11 9-23 9t-23-9q-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23z"/> </svg>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1472 930v318q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-10 10-23 10-3 0-9-2-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-254q0-13 9-22l64-64q10-10 23-10 6 0 12 3 20 8 20 29zm231-489l-814 814q-24 24-57 24t-57-24l-430-430q-24-24-24-57t24-57l110-110q24-24 57-24t57 24l263 263 647-647q24-24 57-24t57 24l110 110q24 24 24 57t-24 57z"/> </svg>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M813 1299l614-614q19-19 19-45t-19-45l-102-102q-19-19-45-19t-45 19l-467 467-211-211q-19-19-45-19t-45 19l-102 102q-19 19-19 45t19 45l358 358q19 19 45 19t45-19zm851-883v960q0 119-84.5 203.5t-203.5 84.5h-960q-119 0-203.5-84.5t-84.5-203.5v-960q0-119 84.5-203.5t203.5-84.5h960q119 0 203.5 84.5t84.5 203.5z"/></svg>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 10 10"> <path d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"/> </svg>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 16 16"> <path stroke-width="0" d="M16 9v-6h-3v-1c0-0.55-0.45-1-1-1h-11c-0.55 0-1 0.45-1 1v3c0 0.55 0.45 1 1 1h11c0.55 0 1-0.45 1-1v-1h2v4h-9v2h-0.5c-0.276 0-0.5 0.224-0.5 0.5v5c0 0.276 0.224 0.5 0.5 0.5h2c0.276 0 0.5-0.224 0.5-0.5v-5c0-0.276-0.224-0.5-0.5-0.5h-0.5v-1h9zM12 3h-11v-1h11v1z"/> </svg>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M621 1280h595v-595zm-45-45l595-595h-595v595zm1152 77v192q0 14-9 23t-23 9h-224v224q0 14-9 23t-23 9h-192q-14 0-23-9t-9-23v-224h-864q-14 0-23-9t-9-23v-864h-224q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h224v-224q0-14 9-23t23-9h192q14 0 23 9t9 23v224h851l246-247q10-9 23-9t23 9q9 10 9 23t-9 23l-247 246v851h224q14 0 23 9t9 23z"/> </svg>'},e=>{e.exports='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"> <path d="M24.89,6.61H22.31V4.47A2.47,2.47,0,0,0,19.84,2H6.78A2.47,2.47,0,0,0,4.31,4.47V22.92a2.47,2.47,0,0,0,2.47,2.47H9.69V27.2a2.8,2.8,0,0,0,2.8,2.8h12.4a2.8,2.8,0,0,0,2.8-2.8V9.41A2.8,2.8,0,0,0,24.89,6.61ZM6.78,23.52a.61.61,0,0,1-.61-.6V4.47a.61.61,0,0,1,.61-.6H19.84a.61.61,0,0,1,.61.6V6.61h-8a2.8,2.8,0,0,0-2.8,2.8V23.52Zm19,3.68a.94.94,0,0,1-.94.93H12.49a.94.94,0,0,1-.94-.93V9.41a.94.94,0,0,1,.94-.93h12.4a.94.94,0,0,1,.94.93Z"/> <path d="M23.49,13.53h-9.6a.94.94,0,1,0,0,1.87h9.6a.94.94,0,1,0,0-1.87Z"/> <path d="M23.49,17.37h-9.6a.94.94,0,1,0,0,1.87h9.6a.94.94,0,1,0,0-1.87Z"/> <path d="M23.49,21.22h-9.6a.93.93,0,1,0,0,1.86h9.6a.93.93,0,1,0,0-1.86Z"/> </svg>'},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>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M384 544v576q0 13-9.5 22.5t-22.5 9.5q-14 0-23-9l-288-288q-9-9-9-23t9-23l288-288q9-9 23-9 13 0 22.5 9.5t9.5 22.5zm1408 768v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},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>'},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>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M832 1408l336-384h-768l-336 384h768zm1013-1077q15 34 9.5 71.5t-30.5 65.5l-896 1024q-38 44-96 44h-768q-38 0-69.5-20.5t-47.5-54.5q-15-34-9.5-71.5t30.5-65.5l896-1024q38-44 96-44h768q38 0 69.5 20.5t47.5 54.5z"/> </svg>'},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>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1152 512v-472q22 14 36 28l408 408q14 14 28 36h-472zm-128 32q0 40 28 68t68 28h544v1056q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1600q0-40 28-68t68-28h800v544z"/> </svg>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1728 608v704q0 92-66 158t-158 66h-1216q-92 0-158-66t-66-158v-960q0-92 66-158t158-66h320q92 0 158 66t66 158v32h672q92 0 158 66t66 158z"/> </svg>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M789 559l-170 450q33 0 136.5 2t160.5 2q19 0 57-2-87-253-184-452zm-725 1105l2-79q23-7 56-12.5t57-10.5 49.5-14.5 44.5-29 31-50.5l237-616 280-724h128q8 14 11 21l205 480q33 78 106 257.5t114 274.5q15 34 58 144.5t72 168.5q20 45 35 57 19 15 88 29.5t84 20.5q6 38 6 57 0 4-.5 13t-.5 13q-63 0-190-8t-191-8q-76 0-215 7t-178 8q0-43 4-78l131-28q1 0 12.5-2.5t15.5-3.5 14.5-4.5 15-6.5 11-8 9-11 2.5-14q0-16-31-96.5t-72-177.5-42-100l-450-2q-26 58-76.5 195.5t-50.5 162.5q0 22 14 37.5t43.5 24.5 48.5 13.5 57 8.5 41 4q1 19 1 58 0 9-2 27-58 0-174.5-10t-174.5-10q-8 0-26.5 4t-21.5 4q-80 14-188 14z"/> </svg>'},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>'},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>'},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>'},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>'},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>'},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>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M384 1662l17-85q6-2 81.5-21.5t111.5-37.5q28-35 41-101 1-7 62-289t114-543.5 52-296.5v-25q-24-13-54.5-18.5t-69.5-8-58-5.5l19-103q33 2 120 6.5t149.5 7 120.5 2.5q48 0 98.5-2.5t121-7 98.5-6.5q-5 39-19 89-30 10-101.5 28.5t-108.5 33.5q-8 19-14 42.5t-9 40-7.5 45.5-6.5 42q-27 148-87.5 419.5t-77.5 355.5q-2 9-13 58t-20 90-16 83.5-6 57.5l1 18q17 4 185 31-3 44-16 99-11 0-32.5 1.5t-32.5 1.5q-29 0-87-10t-86-10q-138-2-206-2-51 0-143 9t-121 11z"/> </svg>'},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>'},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-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/> </svg>'},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>'},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>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M1664 1344v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm0-512v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm0-512v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45z"/></svg>'},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>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 32 32"> <path d="M27 4l-15 15-7-7-5 5 12 12 20-20z"/> </svg>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path stroke-width="0" d="M381 1620q0 80-54.5 126t-135.5 46q-106 0-172-66l57-88q49 45 106 45 29 0 50.5-14.5t21.5-42.5q0-64-105-56l-26-56q8-10 32.5-43.5t42.5-54 37-38.5v-1q-16 0-48.5 1t-48.5 1v53h-106v-152h333v88l-95 115q51 12 81 49t30 88zm2-627v159h-362q-6-36-6-54 0-51 23.5-93t56.5-68 66-47.5 56.5-43.5 23.5-45q0-25-14.5-38.5t-39.5-13.5q-46 0-81 58l-85-59q24-51 71.5-79.5t105.5-28.5q73 0 123 41.5t50 112.5q0 50-34 91.5t-75 64.5-75.5 50.5-35.5 52.5h127v-60h105zm1409 319v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm-1408-899v99h-335v-99h107q0-41 .5-122t.5-121v-12h-2q-8 17-50 54l-71-76 136-127h106v404h108zm1408 387v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},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>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M384 544v576q0 13-9.5 22.5t-22.5 9.5q-14 0-23-9l-288-288q-9-9-9-23t9-23l288-288q9-9 23-9 13 0 22.5 9.5t9.5 22.5zm1408 768v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' x="0px" y="0px" viewBox="0 0 459 459"> <g> <path d="M229.5,0C102,0,0,102,0,229.5S102,459,229.5,459c20.4,0,38.25-17.85,38.25-38.25c0-10.2-2.55-17.85-10.2-25.5 c-5.1-7.65-10.2-15.3-10.2-25.5c0-20.4,17.851-38.25,38.25-38.25h45.9c71.4,0,127.5-56.1,127.5-127.5C459,91.8,357,0,229.5,0z M89.25,229.5c-20.4,0-38.25-17.85-38.25-38.25S68.85,153,89.25,153s38.25,17.85,38.25,38.25S109.65,229.5,89.25,229.5z M165.75,127.5c-20.4,0-38.25-17.85-38.25-38.25S145.35,51,165.75,51S204,68.85,204,89.25S186.15,127.5,165.75,127.5z M293.25,127.5c-20.4,0-38.25-17.85-38.25-38.25S272.85,51,293.25,51s38.25,17.85,38.25,38.25S313.65,127.5,293.25,127.5z M369.75,229.5c-20.4,0-38.25-17.85-38.25-38.25S349.35,153,369.75,153S408,170.85,408,191.25S390.15,229.5,369.75,229.5z" /> </g> </svg>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M1534 189v73q0 29-18.5 61t-42.5 32q-50 0-54 1-26 6-32 31-3 11-3 64v1152q0 25-18 43t-43 18h-108q-25 0-43-18t-18-43v-1218h-143v1218q0 25-17.5 43t-43.5 18h-108q-26 0-43.5-18t-17.5-43v-496q-147-12-245-59-126-58-192-179-64-117-64-259 0-166 88-286 88-118 209-159 111-37 417-37h479q25 0 43 18t18 43z"/></svg>'},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>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z"/></svg>'},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-416v416q0 40-28 68t-68 28h-192q-40 0-68-28t-28-68v-416h-416q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h416v-416q0-40 28-68t68-28h192q40 0 68 28t28 68v416h416q40 0 68 28t28 68z"/></svg>'},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>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 256v448q0 26-19 45t-45 19h-448q-42 0-59-40-17-39 14-69l138-138q-148-137-349-137-104 0-198.5 40.5t-163.5 109.5-109.5 163.5-40.5 198.5 40.5 198.5 109.5 163.5 163.5 109.5 198.5 40.5q119 0 225-52t179-147q7-10 23-12 14 0 25 9l137 138q9 8 9.5 20.5t-7.5 22.5q-109 132-264 204.5t-327 72.5q-156 0-298-61t-245-164-164-245-61-298 61-298 164-245 245-164 298-61q147 0 284.5 55.5t244.5 156.5l130-129q29-31 70-14 39 17 39 59z"/> </svg>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <g transform="translate(-251.000000, -443.000000)"> <g transform="translate(215.000000, 119.000000)"/> <path d="M252,448 L256,448 L256,444 L252,444 L252,448 Z M257,448 L269,448 L269,446 L257,446 L257,448 Z M257,464 L269,464 L269,462 L257,462 L257,464 Z M270,444 L270,448 L274,448 L274,444 L270,444 Z M252,462 L252,466 L256,466 L256,462 L252,462 Z M270,462 L270,466 L274,466 L274,462 L270,462 Z M254,461 L256,461 L256,449 L254,449 L254,461 Z M270,461 L272,461 L272,449 L270,449 L270,461 Z"/> </g> </svg>'},e=>{e.exports='<svg viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg"> <path d="M5.9814 11.8049C5.59087 11.4144 5.59087 10.7812 5.9814 10.3907L10.224 6.14806C10.6146 5.75754 11.2477 5.75754 11.6383 6.14806C12.0288 6.53859 12.0288 7.17175 11.6383 7.56228L7.39561 11.8049C7.00509 12.1954 6.37192 12.1954 5.9814 11.8049Z"/> <path d="M0.707107 12.0208C0.316582 11.6303 0.316582 10.9971 0.707107 10.6066L10.6066 0.707121C10.9971 0.316597 11.6303 0.316596 12.0208 0.707121C12.4113 1.09764 12.4113 1.73081 12.0208 2.12133L2.12132 12.0208C1.7308 12.4114 1.09763 12.4114 0.707107 12.0208Z"/> </svg>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M844 472q0 60-19 113.5t-63 92.5-105 39q-76 0-138-57.5t-92-135.5-30-151q0-60 19-113.5t63-92.5 105-39q77 0 138.5 57.5t91.5 135 30 151.5zm-342 483q0 80-42 139t-119 59q-76 0-141.5-55.5t-100.5-133.5-35-152q0-80 42-139.5t119-59.5q76 0 141.5 55.5t100.5 134 35 152.5zm394-27q118 0 255 97.5t229 237 92 254.5q0 46-17 76.5t-48.5 45-64.5 20-76 5.5q-68 0-187.5-45t-182.5-45q-66 0-192.5 44.5t-200.5 44.5q-183 0-183-146 0-86 56-191.5t139.5-192.5 187.5-146 193-59zm239-211q-61 0-105-39t-63-92.5-19-113.5q0-74 30-151.5t91.5-135 138.5-57.5q61 0 105 39t63 92.5 19 113.5q0 73-30 151t-92 135.5-138 57.5zm432-104q77 0 119 59.5t42 139.5q0 74-35 152t-100.5 133.5-141.5 55.5q-77 0-119-59t-42-139q0-74 35-152.5t100.5-134 141.5-55.5z"/> </svg>'},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>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1536h768v-384h-768v384zm896 0h128v-896q0-14-10-38.5t-20-34.5l-281-281q-10-10-34-20t-39-10v416q0 40-28 68t-68 28h-576q-40 0-68-28t-28-68v-416h-128v1280h128v-416q0-40 28-68t68-28h832q40 0 68 28t28 68v416zm-384-928v-320q0-13-9.5-22.5t-22.5-9.5h-192q-13 0-22.5 9.5t-9.5 22.5v320q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5-9.5t9.5-22.5zm640 32v928q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1344q0-40 28-68t68-28h928q40 0 88 20t76 48l280 280q28 28 48 76t20 88z"/> </svg>'},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>'},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>'},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>'},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>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M553 1399l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23t-10 23l-393 393 393 393q10 10 10 23t-10 23zm591-1067l-373 1291q-4 13-15.5 19.5t-23.5 2.5l-62-17q-13-4-19.5-15.5t-2.5-24.5l373-1291q4-13 15.5-19.5t23.5-2.5l62 17q13 4 19.5 15.5t2.5 24.5zm657 651l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23t-10 23z"/> </svg>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 48 48"> <path d="M6 42h4v-4h-4v4zm4-28h-4v4h4v-4zm-4 20h4v-4h-4v4zm8 8h4v-4h-4v4zm-4-36h-4v4h4v-4zm8 0h-4v4h4v-4zm16 0h-4v4h4v-4zm-8 8h-4v4h4v-4zm0-8h-4v4h4v-4zm12 28h4v-4h-4v4zm-16 8h4v-4h-4v4zm-16-16h36v-4h-36v4zm32-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-16 16h4v-4h-4v4zm8 8h4v-4h-4v4zm8 0h4v-4h-4v4z"/> <path d="M0 0h48v48h-48z" fill="none"/> </svg>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 48 48"> <path d="M6 18h4v-4h-4v4zm0-8h4v-4h-4v4zm8 32h4v-4h-4v4zm0-16h4v-4h-4v4zm-8 0h4v-4h-4v4zm0 16h4v-4h-4v4zm0-8h4v-4h-4v4zm8-24h4v-4h-4v4zm24 24h4v-4h-4v4zm-16 8h4v-36h-4v36zm16 0h4v-4h-4v4zm0-16h4v-4h-4v4zm0-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-8-8h4v-4h-4v4zm0 32h4v-4h-4v4zm0-16h4v-4h-4v4z"/> <path d="M0 0h48v48h-48z" fill="none"/> </svg>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1760 896q14 0 23 9t9 23v64q0 14-9 23t-23 9h-1728q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h1728zm-1277-64q-28-35-51-80-48-97-48-188 0-181 134-309 133-127 393-127 50 0 167 19 66 12 177 48 10 38 21 118 14 123 14 183 0 18-5 45l-12 3-84-6-14-2q-50-149-103-205-88-91-210-91-114 0-182 59-67 58-67 146 0 73 66 140t279 129q69 20 173 66 58 28 95 52h-743zm507 256h411q7 39 7 92 0 111-41 212-23 55-71 104-37 35-109 81-80 48-153 66-80 21-203 21-114 0-195-23l-140-40q-57-16-72-28-8-8-8-22v-13q0-108-2-156-1-30 0-68l2-37v-44l102-2q15 34 30 71t22.5 56 12.5 27q35 57 80 94 43 36 105 57 59 22 132 22 64 0 139-27 77-26 122-86 47-61 47-129 0-84-81-157-34-29-137-71z"/> </svg>'},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 296h109zm639 217v206h-514l-4-27q-3-45-3-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 80-65 188-65 110 0 178 59.5t68 158.5q0 66-34.5 118.5t-84 86-99.5 62.5-87 63-41 73h232v-80h126z"/> </svg>'},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>'},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>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68z"/> </svg>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm-1280-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68z"/> </svg>'},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>'},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>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 896q0 156-61 298t-164 245-245 164-298 61q-172 0-327-72.5t-264-204.5q-7-10-6.5-22.5t8.5-20.5l137-138q10-9 25-9 16 2 23 12 73 95 179 147t225 52q104 0 198.5-40.5t163.5-109.5 109.5-163.5 40.5-198.5-40.5-198.5-109.5-163.5-163.5-109.5-198.5-40.5q-98 0-188 35.5t-160 101.5l137 138q31 30 14 69-17 40-59 40h-448q-26 0-45-19t-19-45v-448q0-42 40-59 39-17 69 14l130 129q107-101 244.5-156.5t284.5-55.5q156 0 298 61t245 164 164 245 61 298z"/> </svg>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M503 1271l-256 256q-10 9-23 9-12 0-23-9-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23zm169 41v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm-224-224q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm1264 128q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-334-335q-21-21-42-56l239-18 273 274q27 27 68 27.5t68-26.5l147-146q28-28 28-67 0-40-28-68l-274-275 18-239q35 21 56 42l336 336q84 86 84 204zm-617-724l-239 18-273-274q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l274 274-18 240q-35-21-56-42l-336-336q-84-86-84-204 0-120 85-203l147-146q83-83 203-83 121 0 204 85l334 335q21 21 42 56zm633 84q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm-544-544v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm407 151l-256 256q-11 9-23 9t-23-9q-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23z"/> </svg>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1728 576v256q0 26-19 45t-45 19h-64q-26 0-45-19t-19-45v-256q0-106-75-181t-181-75-181 75-75 181v192h96q40 0 68 28t28 68v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h672v-192q0-185 131.5-316.5t316.5-131.5 316.5 131.5 131.5 316.5z"/> </svg>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1639 1056q0 5-1 7-64 268-268 434.5t-478 166.5q-146 0-282.5-55t-243.5-157l-129 129q-19 19-45 19t-45-19-19-45v-448q0-26 19-45t45-19h448q26 0 45 19t19 45-19 45l-137 137q71 66 161 102t187 36q134 0 250-65t186-179q11-17 53-117 8-23 30-23h192q13 0 22.5 9.5t9.5 22.5zm25-800v448q0 26-19 45t-45 19h-448q-26 0-45-19t-19-45 19-45l138-138q-148-137-349-137-134 0-250 65t-186 179q-11 17-53 117-8 23-30 23h-199q-13 0-22.5-9.5t-9.5-22.5v-7q65-268 270-434.5t480-166.5q146 0 284 55.5t245 156.5l130-129q19-19 45-19t45 19 19 45z"/> </svg>'},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>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1216 320q0 26-19 45t-45 19h-128v1024h128q26 0 45 19t19 45-19 45l-256 256q-19 19-45 19t-45-19l-256-256q-19-19-19-45t19-45 45-19h128v-1024h-128q-26 0-45-19t-19-45 19-45l256-256q19-19 45-19t45 19l256 256q19 19 19 45z"/> </svg>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 352v1088q0 42-39 59-13 5-25 5-27 0-45-19l-403-403v166q0 119-84.5 203.5t-203.5 84.5h-704q-119 0-203.5-84.5t-84.5-203.5v-704q0-119 84.5-203.5t203.5-84.5h704q119 0 203.5 84.5t84.5 203.5v165l403-402q18-19 45-19 12 0 25 5 39 17 39 59z"/> </svg>'},function(e,t,i){"use strict";i.d(t,{V:()=>r});var o=i(62),s=i(4),a=i(10),n=i(181);class r extends o.S{static make(e){return new r(e)}afterInit(e){this.j.e.on("checkReserve",(async()=>{const e=this.j.o.license,t=location.host;let i=(0,n.validateLicense)(e,t);return!i&&e[12]>"A"&&(i=await this.validateLicenseRemote(e,t)),i?"normal":""}))}beforeDestruct(e){}async validateLicenseRemote(e,t){const i="validateJoditLicenseRemote",o=this.j.storage.get(i);if(o&&(0,n.validateLicense)(o,t))return!0;const r=document.createElement("script");return r.src=`https://xdsoft.net/jodit/pro/api/licenses/validate/?code=${encodeURIComponent(e)}&host=${encodeURIComponent(t)}`,document.body.appendChild(r),new Promise((e=>{window.onJoditResolveKeyCode=o=>{try{if((0,a.isBoolean)(o))return e(o);(0,n.validateLicense)(o,t)?(this.j.storage.set(i,o),e(!0)):e(!1)}finally{s.Dom.safeRemove(r)}},setTimeout((()=>{e(!1),s.Dom.safeRemove(r)}),3e3)}))}}},e=>{e.exports.validateLicense=(t,i)=>{if(e.exports.validateEntLicense(t))return!0;const o=e.exports.domainsHash(i),s=["[A-F013456][A-F0-9]{3}{part}","([0-3]){part}[E-L4-8]{2}\\1","[A-D]{part}[J-P5-6]{3}","{part}[A-R0-9]{3}[X-Z]"].map(((e,t)=>e.replace("{part}",o[t]||"[R-T]")));return RegExp(`^${s.join("-")}$`,"i").test(t)},e.exports.validateEntLicense=e=>/[A-Z0-9][013456][A-P0-9]{2}[ABC]-([0-3])[ELPDF][E-L4-8]{2}\1-[A-D][R0][J-P5-6]{3}-[DPGHYE][GFPOD]{3}[A-SX-Z]/.test(e),e.exports.domainsHash=e=>{const t=e.split(".");return t.map((e=>e[0]&&e[0].charCodeAt(0)?String.fromCharCode(e[0].charCodeAt(0)+1):e[0])).concat(t.map((e=>e[e.length-1]&&e[e.length-1].charCodeAt(0)?String.fromCharCode(e[e.length-1].charCodeAt(0)-1):e[e.length-1])))}},function(e,t,i){"use strict";i.d(t,{finder:()=>J});var o=i(62),s=i(185),a=i(37),n=i(183),r=i(184);a.JO.set("heart",n+""),a.JO.set("home",r+"");var l=i(4),c=i(53),d=i(19),h=i(66),u=i(10);let p=class extends a.u1{constructor(e,t){super(e),this.item=h.Z.create(t),e.e.on(this.container,"click contextmenu dblclick",(t=>(e.e.fire(t.type+"Item.filebrowser",this.item,(0,u.ctrlKey)(t)||t.shiftKey,t),!1)))}className(){return"UIBrowserItem"}render(){return"<div tabindex='-1'>\n\t\t\t<div class='&__image'></div>\n\t\t\t<div class='&__info'></div>\n\t\t\t<div class='&__heart'>*heart*</div>\n\t\t</div>"}onClickFavorite(){return this.bubble((e=>{this.jodit.e.fire(e,"toggleFavoriteItem",this.item)})),!1}onAction(e){return this.jodit.e.fire(e.type+"Item.filebrowser",this.item,(0,u.ctrlKey)(e)||e.shiftKey,e),!1}update(){var e;const t=this.getElm("image");(0,u.assert)(null!=t,"image element does not exists"),(0,u.css)(t,"backgroundImage",`url(${this.item.imageURL})`),this.setMod("is-file",!1===this.item.isImage).setMod("type",null!==(e=this.item.type)&&void 0!==e?e:"file").setElementValue("name",this.item.file).setElementValue("time",this.item.time).setElementValue("filesize",this.item.size),(0,u.attr)(this.container,"title",`${this.item.file} ${this.item.time} ${this.item.size}`),super.update()}setElementValue(e,t){const i=this.getFullElName(e);let o=this.getElm(e);if(!t)return o&&l.Dom.safeRemove(o),this;if(!o){const e=this.getElm("info");(0,u.assert)(null!=e,"wrapper element does not exist"),o=this.j.create.div(i),e.appendChild(o)}return o.innerText=t,this}};(0,s.gn)([(0,d.watch)("heart:click")],p.prototype,"onClickFavorite",null),(0,s.gn)([(0,d.watch)(["container:click","container:contextmenu","container:dblclick"])],p.prototype,"onAction",null),p=(0,s.gn)([d.component],p);var m,g=i(17);let f=m=class extends a.qe{constructor(e,t){super(e),this.stateManager=t,this.syncMod=!0,this.addItemsSelector()}className(){return"UIVirtualScroll"}render(){return"<div>\n\t\t\t\t<div class=\"&__empty-message\">~There are no files~</div>\n\t\t\t\t<div class='&__loader'></div>\n\t\t\t\t<div class='&__drag-area'>~Drop image~</div>\n\t\t\t</div>"}build(e){const t=this.elements.findIndex(((t,i)=>!e[i]||t.item.uniqueHashKey!==h.Z.create(e[i]).uniqueHashKey));if(t>-1){for(let e=t;this.elements.length>e;e+=1)this.elements[e].destruct();this.elements.length=t}e.slice(t>-1?t:this.elements.length).forEach((e=>{const t=new p(this.jodit,e);Object.keys(this.mods).forEach((e=>{t.setMod(e,this.mods[e])})),this.append(t)})),this.setMod("empty",!this.elements.length)}onScrollLoadChunk(){!this.stateManager.isFavoriteItems&&this.j.o.pixelOffsetLoadNewChunk>this.container.scrollHeight-(this.container.scrollTop+this.container.offsetHeight)&&this.j.loadingManager.loadItemsChunk()}onDragOver(e){e.preventDefault(),this.setMod("dragover",!0)}onDragLeave(e){e.preventDefault(),this.setMod("dragover",!1)}addItemsSelector(){(class{static remove(e){g.i.safeRemove(e.container.querySelector(".jodit-ui-select-items")),e.j.e.off(e.container,"mousedown.uiselectitems touchstart.uiselectitems")}static install(e){const t=e.j.c.div("jodit-ui-select-items");e.j.e.on(e.container,"mousedown.uiselectitems touchstart.uiselectitems",this.onStartSelect.bind(this,e,t))}static onStartSelect(e,t,i){if(i.target!==e.container)return;(0,u.css)(t,{width:0,height:0}),e.container.appendChild(t);const o={x:i.clientX,y:i.clientY,w:e.container.offsetWidth,h:e.container.offsetHeight},s=e.j.async.throttle(this.onSelect.bind(this,e,t,o),e.j.defaultTimeout/10);e.j.lock(),e.j.e.on(e.j.ow,"mousemove touchmove",s).one(e.j.ow,"mouseup touchend",this.onEndSelect.bind(this,e,t,s)),e.onSelectItems({left:o.x,top:o.y,width:0,height:0})}static onSelect(e,t,i,o){const s={left:i.x>o.clientX?o.clientX:i.x,top:i.y>o.clientY?o.clientY:i.y,width:Math.abs(i.x-o.clientX),height:Math.abs(i.y-o.clientY)};(0,u.css)(t,s),e.onSelectItems(s)}static onEndSelect(e,t,i,o){g.i.safeRemove(t),e.j.e.off(e.j.ow,"mousemove touchmove",i),e.j.unlock()}}).install(this)}static intersectRect(e,t){return!(t.left>e.left+e.width||e.left>t.left+t.width||t.top>e.top+e.height||e.top>t.top+t.height)}onSelectItems(e){const t=[];this.elements.forEach((i=>{const o=(0,u.position)(i.container);m.intersectRect(o,e)&&t.push(i.item)})),this.stateManager.state.activeElements=t}};(0,s.gn)([(0,d.watch)(":afterResize"),(0,d.watch)(":resize"),(0,d.watch)("container:scroll"),(0,d.throttle)()],f.prototype,"onScrollLoadChunk",null),(0,s.gn)([(0,d.watch)("container:dragover")],f.prototype,"onDragOver",null),(0,s.gn)([(0,d.watch)(["container:dragleave","container:drop"])],f.prototype,"onDragLeave",null),f=m=(0,s.gn)([d.component],f);let b=class extends a.u1{className(){return"UIBrowserMessage"}constructor(e,t){super(e),this.container.innerText=(0,u.isString)(t)?t:t.message}};b=(0,s.gn)([d.component],b);let v=class extends a.qe{className(){return"UIBrowserMessages"}build(e){this.clear(),e.forEach((e=>{const t=new b(this.jodit,e.message);t.setMod("type",e.type),this.append(t)}))}};v=(0,s.gn)([d.component],v);class w{static remove(e){(0,u.css)(e.container,{width:null,height:null}),e.container.classList.remove("jodit-ui-resize"),g.i.safeRemove(e.container.querySelector(".jodit-ui-resize__handle"))}static install(e,t){e.container.classList.add("jodit-ui-resize"),"static"===(0,u.css)(e.container,"position")&&(0,u.css)(e.container,"position","relative");const i=e.j.c.div("jodit-ui-resize__handle");i.classList.add("jodit-ui-resize__handle_type_"+t),e.container.appendChild(i),e.j.e.on(i,"mousedown touchstart",this.onStartResize.bind(this,e,t))}static onStartResize(e,t,i){const o=e.j.async.throttle(this.onResize.bind(this,e,{x:i.clientX,y:i.clientY,w:e.container.offsetWidth,h:e.container.offsetHeight,direction:t}),e.j.defaultTimeout/10);e.j.lock(),e.j.e.on(e.j.ow,"mousemove touchmove",o).one(e.j.ow,"mouseup touchend",this.onEndResize.bind(this,e,o))}static onResize(e,t,i){const o=["left","right"].includes(t.direction),s=e.container.parentElement;if(!s)return;let a;a=o?(t.w+(i.clientX-t.x)*("right"===t.direction?1:-1))/s.offsetWidth:(t.h+(i.clientY-t.y)*("top"===t.direction?1:-1))/s.offsetHeight,(0,u.css)(e.container,o?"width":"height",100*a+"%")}static onEndResize(e,t,i){e.j.e.off(e.j.ow,"mousemove touchmove",t),e.j.unlock()}}let y=class extends a.qe{constructor(e,t,i){super(e,t),this.state=i,this.onChangeFavorites()}className(){return"UISidebar"}render(){return"<div>\n\t\t\t<div class='&__hide-btn'>*angle-left*</div>\n\t\t\t<div class='&__favorites'>*heart* ~Favorites~</div>\n\t\t\t<div class='&__box'></div>\n\t\t</div>"}appendChildToContainer(e){const t=this.getElm("box");(0,u.assert)(null!=t,"box element does not exists"),t.appendChild(e)}addResize(){w.remove(this),w.install(this,screen.width>450?"right":"bottom")}onChangeFavorites(){this.setMod("has-favorites",!!this.state.favorites.length)}onClickHideButton(){return this.state.showSideBar=!this.state.showSideBar,!1}onClickFavorites(){return this.state.elements=this.state.favorites,!1}};(0,s.gn)([(0,d.hook)("ready"),(0,d.watch)(":resize",window),(0,d.debounce)()],y.prototype,"addResize",null),(0,s.gn)([(0,d.watch)("state.favorites")],y.prototype,"onChangeFavorites",null),(0,s.gn)([(0,d.watch)("hide-btn:click")],y.prototype,"onClickHideButton",null),(0,s.gn)([(0,d.watch)("favorites:click")],y.prototype,"onClickFavorites",null),y=(0,s.gn)([d.component],y);let k=class extends a.qe{constructor(e,t){super(e),this.state=t;const i=this.getElm("close");(0,u.assert)(null!=i,"close element does not exists"),e.e.on(i,"click",(()=>{this.state.showSettings=!1}))}className(){return"UIBrowserSettings"}render(){return`<div>\n\t\t\t<div class="${this.getFullElName("close")}">${a.JO.get("cancel")}</div>\n\t\t\t<div class="${this.getFullElName("title")}">${this.j.i18n("Settings")}</div>\n\t\t\t<div class="${this.getFullElName("options")}"></div>\n\t\t</div>`}appendChildToContainer(e){const t=this.getElm("options");(0,u.assert)(null!=t,"options element does not exists"),t.appendChild(e)}setMod(e,t){return"hidden"===e&&!1===t&&this.generateSettings(),super.setMod(e,t)}onChangeView(){const e=this.getElm("tile-size");e&&(e.style.display="tiles"===this.state.view?"block":"none")}generateSettings(){this.clear();const{j:e}=this;this.append([new a.BO(e,{label:"Theme",name:"theme",value:this.state.theme,radio:!0,options:[{value:"default",text:"Light"},{value:"dark",text:"Dark"}],onChange:e=>{this.state.theme=e[0].value}}),new a.BO(e,{label:"Show favorites",name:"showFavorites",value:this.state.showFavorites,radio:!0,options:[{value:!0,text:"Show"},{value:!1,text:"Hide"}],onChange:e=>{this.state.showFavorites=e[0].value}}),new a.BO(e,{label:"View",name:"view",value:this.state.view,radio:!0,options:[{value:"tiles",text:"Tiles"},{value:"list",text:"List"},{value:"compact",text:"Compact"}],onChange:e=>{this.state.view=e[0].value}}),new a.BO(e,{label:"Folders position",name:"foldersPosition",value:this.state.foldersPosition,radio:!0,options:[{value:"top",text:"Top"},{value:"bottom",text:"Bottom"},{value:"default",text:"Default"}],onChange:e=>{this.state.foldersPosition=e[0].value}}),new a.Cj(e,{label:"Sort by",name:"sort-by",value:this.state.sortBy,options:[{value:"changed-asc",text:e.i18n("Sort by changed")+"(⬆)"},{value:"changed-desc",text:e.i18n("Sort by changed")+"(⬇)"},{value:"name-asc",text:e.i18n("Sort by name")+"(⬆)"},{value:"name-desc",text:e.i18n("Sort by name")+"(⬇)"},{value:"size-asc",text:e.i18n("Sort by size")+"(⬆)"},{value:"size-desc",text:e.i18n("Sort by size")+"(⬇)"}],onChange:e=>{this.state.sortBy=e}}),new a.Cj(e,{label:"Tile size",name:"tile-size",value:this.state.tileSize,options:[{value:"xsmall",text:"Extra small"},{value:"small",text:"Small"},{value:"default",text:"Default"},{value:"large",text:"Large"},{value:"xlarge",text:"Extra large"}],onChange:e=>{this.state.tileSize=e}})]),this.onChangeView()}};(0,s.gn)([(0,d.watch)("state.view")],k.prototype,"onChangeView",null),k=(0,s.gn)([d.component],k);let C=class extends a.u1{constructor(e,t){super(e),this.item=t,this.syncMod=!0;const i=this.getElm("name");(0,u.assert)(null!=i,"name element does not exists"),i.innerText=t.name,e.e.on(this.container,"click",(()=>(this.getMod("active")||this.setMod("loading",!0),e.e.fire("openFolder",t)))).on(this.container,"contextmenu",(i=>e.e.fire("contextmenuFolder.filebrowser",t,i)))}className(){return"UIBrowserFolder"}render(){return'<div>\n\t\t\t<div class="&__icon">\n\t\t\t\t<div class=\'&__loader\'></div>\n\t\t\t\t<div class="&__icon-wrapper">\n\t\t\t\t\t*folder*\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="&__name"></div>\n\t\t\t<div class="&__arrow">*angle-right*</div>\n\t\t</div>'}};var x;C=(0,s.gn)([d.component],C);let S=x=class extends a.qe{constructor(e,t){super(e),this.syncMod=!0,this.build(t)}className(){return"UITree"}build(e){this.clear(),e.forEach((e=>{const t=new C(this.jodit,e);this.append(t),e.isActive&&t.setMod("active",!0),e.children.length&&this.append(new x(this.jodit,e.children))}))}};S=x=(0,s.gn)([d.component],S);let _=class extends a.u1{constructor(e,t){super(e,t),this.data=t,this.tree=new S(this.j,this.data.children),this.syncMod=!0;const i=this.getElm("name");(0,u.assert)(null!=i,"name element does not exists"),i.innerText=t.title||t.name;const o=this.getElm("tree");(0,u.assert)(null!=o,"tree element does not exists"),o.appendChild(this.tree.container),e.e.on(this.container,"contextmenu",(i=>e.e.fire("contextmenuSource.filebrowser",t,i)))}className(){return"UIBrowserSource"}render(){return'<div>\n\t\t\t<div class="&__name"></div>\n\t\t\t<div class="&__tree"></div>\n\t\t</div>'}};_=(0,s.gn)([d.component],_);let E=class extends a.qe{constructor(){super(...arguments),this.syncMod=!0}className(){return"UIBrowserSources"}build(e){this.clear(),e.forEach((e=>{this.append(new _(this.jodit,e))}))}};E=(0,s.gn)([d.component],E);let I=class extends a.u1{className(){return"UIBrowserStatusBar"}render(){return"<div>\n\t\t\t<div class='&__slot-left'></div>\n\t\t\t<div class='&__slot-center'></div>\n\t\t\t<div class='&__slot-right'></div>\n\t\t</div>"}value(e,t="left"){const i=this.getElm("slot-"+t);return(0,u.assert)(null!=i,"Slot does not exists"),i.innerText=e,this}};I=(0,s.gn)([d.component],I);let j=class extends a.qe{constructor(e,t){super(e),this.state=t,this.lastLoadPromise=null,this.onChangeMetaInfo()}className(){return"UIPreview"}addResize(){w.remove(this),w.install(this,screen.width>450?"left":"top")}render(){return'<div>\n\t\t\t\t<div class="&__image"></div>\n\t\t\t\t<div class="&__info"></div>\n\t\t\t\t<div class="&__loader"></div>\n\t\t\t\t<div class="&__empty-message">~Select image~</div>\n\t\t\t</div>'}setMod(e,t){return super.setMod(e,t),"hidden"===e&&!1===t&&this.onChangeMetaInfo(),this}onChangeMetaInfo(){var e,t;if(this.getMod("hidden"))return;const{metaInfo:i}=this.state;this.setMod("empty",!i);const o=this.getElm("info");(0,u.assert)(null!=o,"info element does not exists"),g.i.detach(o);const s=this.getElm("image");(0,u.assert)(null!=s,"image element does not exists"),(0,u.css)(s,{backgroundImage:null}),i&&(this.setMod("is-file",!1===i.isImage).setMod("type",null!==(e=i.type)&&void 0!==e?e:"file"),p.prototype.setElementValue.call(this,"name",i.file),p.prototype.setElementValue.call(this,"time",i.time),p.prototype.setElementValue.call(this,"filesize",i.size),this.setMod("loading",!0),null===(t=this.lastLoadPromise)||void 0===t||t.rejectCallback(),this.lastLoadPromise=(0,u.loadImage)(i.isImage?i.fileURL:i.imageURL,this.j),this.lastLoadPromise.then((e=>{const t=this.getElm("image");(0,u.assert)(null!=t,"image element does not exist"),e&&(0,u.css)(t,{backgroundImage:`url(${e.src})`})})).finally((()=>{this.setMod("loading",!1)})).catch((()=>{})))}};(0,s.gn)([(0,d.hook)("ready"),(0,d.watch)(":resize",window),(0,d.debounce)()],j.prototype,"addResize",null),(0,s.gn)([(0,d.watch)("state.metaInfo")],j.prototype,"onChangeMetaInfo",null),j=(0,s.gn)([d.component],j);let T=class extends a.qe{constructor(e,t){super(e),this.stateManager=t,this.syncMod=!0,this.sources=new E(this.j),this.sidebar=new y(this.jodit,[this.sources],this.stateManager.state),this.preview=new j(this.jodit,this.stateManager.state),this.statusbar=new I(this.j),this.items=new f(this.j,this.stateManager),this.settings=new k(this.jodit,this.stateManager.state),this.messages=new v(this.j),this.state=t.state,this.append(this.sidebar,"content"),this.append(this.items,"content"),this.append(this.messages,"footer"),this.append(this.settings,"content"),this.append(this.preview,"content"),this.append(this.statusbar,"footer"),this.onChangeElements(),this.onChangeSources(),this.onChangeView(),this.onChangeTileSize(),this.onChangeShowFavorites(),this.onChangeMessages(),this.onChangeActiveElements(),this.onChangeFavorites(),this.onChangeShowSideBar(),this.onChangeShowSettings(),this.onChangeShowPreview(),this.onChangeTheme()}className(){return"UIBrowserPanel"}get countInRow(){if("list"===this.state.view)return 1;const{container:e}=this.items.elements[0],t=(0,u.css)(e,"marginLeft");return Math.floor(this.items.container.offsetWidth/(e.offsetWidth+((0,u.isNumber)(t)?t:0)))}get countInColumn(){const{container:e}=this.items.elements[0],t=(0,u.css)(e,"marginTop");return Math.floor(this.items.container.offsetHeight/(e.offsetHeight+((0,u.isNumber)(t)?t:0)))}render(){return"<div>\n\t\t\t<div class='&__content'></div>\n\t\t\t<div class='&__footer'></div>\n\t\t</div>"}onChangeTheme(){this.setMod("theme",this.stateManager.state.theme)}onChangeElements(){this.items.build(this.stateManager.state.elements)}onChangeActiveElements(){this.state.activeElements.length||(this.state.info="",this.state.metaInfo=null),this.items.elements.forEach((e=>{e.setMod("active",!!this.stateManager.isActive(e.item))})),this.j.e.fire("changeSelection")}onChangeFavorites(){this.items.elements.forEach((e=>{e.setMod("favorite",!!this.stateManager.isFavorite(e.item))}))}onChangeSources(){this.sources.build(this.stateManager.state.tree)}onChangeLastSelectedIndex(){var e;const t=null===(e=this.items.elements[this.stateManager.state.lastSelectedIndex])||void 0===e?void 0:e.container;t&&((0,u.scrollIntoViewIfNeeded)(t,this.items.container,this.j.od),t.focus())}onChangeInfo(){this.statusbar.value(this.state.info,"center")}onChangePathOrSource(){this.statusbar.value(this.state.currentPath?`${this.state.currentPath} (${this.state.currentSource})`:this.i18n("Home"),"left")}onChangeShowSettings(){this.settings.setMod("hidden",!this.stateManager.state.showSettings)}onChangeShowPreview(){this.preview.setMod("hidden",!this.stateManager.state.showPreview)}onChangeShowSideBar(){this.sidebar.setMod("hidden",!this.stateManager.state.showSideBar)}onChangeView(){this.items.setMod("view",this.stateManager.state.view)}onChangeTileSize(){this.items.setMod("size",this.stateManager.state.tileSize)}onChangeShowFavorites(){this.sidebar.setMod("show-favorites",this.stateManager.state.showFavorites),this.items.setMod("show-favorites",this.stateManager.state.showFavorites)}onChangeMessages(){this.messages.build(this.stateManager.state.messages)}onItemDblClick(){return this.j.e.fire("select.filebrowser"),!1}onItemClick(e,t){this.stateManager.addActive(e,t)}onTogglePreview(){return this.state.showPreview=!this.state.showPreview,!1}onToggleFavoriteItem(e){this.stateManager.toggleFavorite(e)}onFolderClick(e){this.stateManager.state.currentSource=e.sourceName,this.stateManager.state.currentPath=e.path||"/",this.j.e.fire("afterOpenFolder.filebrowser")}};(0,s.gn)([(0,d.watch)("state.theme")],T.prototype,"onChangeTheme",null),(0,s.gn)([(0,d.watch)("state.elements")],T.prototype,"onChangeElements",null),(0,s.gn)([(0,d.watch)("state.activeElements")],T.prototype,"onChangeActiveElements",null),(0,s.gn)([(0,d.watch)(["state.favorites","state.elements"])],T.prototype,"onChangeFavorites",null),(0,s.gn)([(0,d.watch)("state.sources")],T.prototype,"onChangeSources",null),(0,s.gn)([(0,d.watch)("state.lastSelectedIndex")],T.prototype,"onChangeLastSelectedIndex",null),(0,s.gn)([(0,d.watch)("state.info")],T.prototype,"onChangeInfo",null),(0,s.gn)([(0,d.watch)(["state.currentPath","state.currentSource"])],T.prototype,"onChangePathOrSource",null),(0,s.gn)([(0,d.watch)("state.showSettings")],T.prototype,"onChangeShowSettings",null),(0,s.gn)([(0,d.watch)("state.showPreview")],T.prototype,"onChangeShowPreview",null),(0,s.gn)([(0,d.watch)("state.showSideBar")],T.prototype,"onChangeShowSideBar",null),(0,s.gn)([(0,d.watch)("state.view")],T.prototype,"onChangeView",null),(0,s.gn)([(0,d.watch)("state.tileSize")],T.prototype,"onChangeTileSize",null),(0,s.gn)([(0,d.watch)("state.showFavorites")],T.prototype,"onChangeShowFavorites",null),(0,s.gn)([(0,d.watch)("state.messages")],T.prototype,"onChangeMessages",null),(0,s.gn)([(0,d.watch)(":dblclickItem.filebrowser")],T.prototype,"onItemDblClick",null),(0,s.gn)([(0,d.watch)(":clickItem.filebrowser")],T.prototype,"onItemClick",null),(0,s.gn)([(0,d.watch)(":togglePreview.filebrowser")],T.prototype,"onTogglePreview",null),(0,s.gn)([(0,d.watch)(":toggleFavoriteItem")],T.prototype,"onToggleFavoriteItem",null),(0,s.gn)([(0,d.watch)(":openFolder")],T.prototype,"onFolderClick",null),T=(0,s.gn)([d.component],T);var z=i(3);class L{constructor(e){this.state=e}getIndex(e,t=this.state.elements){return t.findIndex((t=>t.uniqueHashKey===e.uniqueHashKey))}isActive(e){return!!this.state.activeElements.find((t=>t.uniqueHashKey===e.uniqueHashKey))}isFavorite(e){return!!this.state.favorites.find((t=>t.uniqueHashKey===e.uniqueHashKey))}addActive(e,t){var i;this.state.metaInfo=e,this.state.info=null!==(i=e.file)&&void 0!==i?i:"",this.state.lastSelectedIndex=this.getIndex(e),this.state.activeElements=t?[...this.state.activeElements,e]:[e]}callSelectHandler(){var e;const t=this.state.activeElements;null===(e=this.state.onSelectCallBack)||void 0===e||e.call(this,{baseurl:"",files:t.map((e=>e.fileURL)),isImages:t.map((e=>!!e.isImage))})}setFilter(e){this.state.filterWord=e}addMessage(e){var t;const i=this.state.messages;(null===(t=i[i.length-1])||void 0===t?void 0:t.message)!==e.message&&(this.state.messages=[...i,e])}removeMessage(e){const t=this.state.messages.indexOf(e);if(-1!==t){const e=[...this.state.messages];e.splice(t,1),this.state.messages=e}}toggleFavorite(e){const t=this.getIndex(e,this.state.favorites),i=[...this.state.favorites];-1===t?i.push(e):i.splice(t,1),this.state.favorites=i}fillSources(e,t){const i=e=>e.filter((e=>"."!==e&&".."!==e));if(this.state.tree.length&&t){const o=(e,t)=>{var i;return null!==(i=e.find((e=>e.name===t)))&&void 0!==i?i:null};this.removeActive(this.state.tree),e.forEach((e=>{const s=o(this.state.tree,e.name);if(s){s.isActive=!0;const a=t.split("/").reduce(((e,t)=>e&&o(e.children,t)),s);a&&(a.isActive=!0,a.children=i(e.folders).map((i=>({type:"directory",name:i,path:t+"/"+i,sourceName:e.name,children:[]}))))}}))}else this.state.tree=e.map((e=>({type:"source",name:e.name,title:e.title,sourceName:e.name,path:"/",children:i(e.folders).map((t=>({type:"directory",name:t,path:t,sourceName:e.name,children:[]})))})))}removeActive(e){e.forEach((e=>{e.isActive=!1,this.removeActive(e.children)}))}get isFavoriteItems(){return this.state.favorites===this.state.elements}}(0,s.gn)([d.autobind],L.prototype,"getIndex",null),(0,s.gn)([d.autobind],L.prototype,"isActive",null),(0,s.gn)([d.autobind],L.prototype,"isFavorite",null);var A=i(57);let M=class extends a.qe{constructor(e,t,i){var o;super(e),this.options=t,this.stateManager=i,this.syncMod=!0,this.toolbar=(0,A.R)(this.j),this.filter=new a.u3(this.j,{icon:"search",placeholder:"Filter",clearButton:!0,onChange:e=>{this.stateManager.setFilter(e)}}),this.append(this.toolbar).append(this.filter),this.filter.container.classList.add(this.getFullElName("filter")),this.toolbar.setMod("mode","header").build(null!==(o=this.options.toolbarButtons)&&void 0!==o?o:[])}className(){return"UIBrowserHeader"}};M=(0,s.gn)([d.component],M);var D=i(67),B=i(2);let P=class extends a.ko{constructor(e,t){super(e),this.state=t,this.onProgress()}className(){return"UIProgress"}onProgress(){this.state.progress?this.show():this.hide(),this.progress(this.state.progress)}hide(){return this.setMod("hidden",!0),this}progress(e){return this.container.style.width=e.toFixed(2)+"%",98>e||this.j.async.setTimeout((()=>{this.hide()}),{label:"progress",timeout:300}),this}show(){return this.setMod("hidden",!1),this}};(0,s.gn)([(0,d.watch)("state.progress")],P.prototype,"onProgress",null),P=(0,s.gn)([d.component],P);var R=i(64),H=i(14);let N=class extends H.Hr{constructor(e,t){super(e),this.state=t,this.sortBy="changed-desc",this.view="tiles",this.foldersPosition="top",this.tileSize="default",this.favorites=[],this.showSideBar=!0,this.showPreview=!1,this.showFavorites=!0}className(){return"PersistentStore"}onChangeThemeSetField(){this.theme=this.state.theme}onChangeView(){this.view=this.state.view}onChangeSortBy(){this.sortBy=this.state.sortBy}onChangeTileSize(){this.tileSize=this.state.tileSize}onChangeFavorites(){this.favorites=this.state.favorites}onChangeShowSideBar(){this.showSideBar=this.state.showSideBar}onChangeShowPreview(){this.showPreview=this.state.showPreview}onChangeShowFavorites(){this.showFavorites=this.state.showFavorites}onChangeFoldersPosition(){this.foldersPosition=this.state.foldersPosition}syncWithState(){this.state.tileSize=this.tileSize,this.state.favorites=this.favorites.map((e=>e instanceof h.Z?e:h.Z.create(e))),this.state.view=this.view,this.state.theme=this.theme,this.state.showSideBar=this.showSideBar,this.state.showPreview=this.showPreview,this.state.showFavorites=this.showFavorites,this.state.sortBy=this.sortBy,this.state.foldersPosition=this.foldersPosition}};(0,s.gn)([d.persistent],N.prototype,"theme",void 0),(0,s.gn)([d.persistent],N.prototype,"sortBy",void 0),(0,s.gn)([d.persistent],N.prototype,"view",void 0),(0,s.gn)([d.persistent],N.prototype,"foldersPosition",void 0),(0,s.gn)([d.persistent],N.prototype,"tileSize",void 0),(0,s.gn)([d.persistent],N.prototype,"favorites",void 0),(0,s.gn)([d.persistent],N.prototype,"showSideBar",void 0),(0,s.gn)([d.persistent],N.prototype,"showPreview",void 0),(0,s.gn)([d.persistent],N.prototype,"showFavorites",void 0),(0,s.gn)([(0,d.watch)("state.theme")],N.prototype,"onChangeThemeSetField",null),(0,s.gn)([(0,d.watch)("state.view")],N.prototype,"onChangeView",null),(0,s.gn)([(0,d.watch)("state.sortBy")],N.prototype,"onChangeSortBy",null),(0,s.gn)([(0,d.watch)("state.tileSize")],N.prototype,"onChangeTileSize",null),(0,s.gn)([(0,d.watch)("state.favorites")],N.prototype,"onChangeFavorites",null),(0,s.gn)([(0,d.watch)("state.showSideBar")],N.prototype,"onChangeShowSideBar",null),(0,s.gn)([(0,d.watch)("state.showPreview")],N.prototype,"onChangeShowPreview",null),(0,s.gn)([(0,d.watch)("state.showFavorites")],N.prototype,"onChangeShowFavorites",null),(0,s.gn)([(0,d.watch)("state.foldersPosition")],N.prototype,"onChangeFoldersPosition",null),N=(0,s.gn)([d.component],N);let q=class extends H.Hr{constructor(e,t){super(e),this.state=t,this.history=[],this.historyIndex=0}className(){return"HistoryManager"}canNext(){return this.history.length-1>this.historyIndex}canPrevious(){return this.historyIndex>0}push(e){let{historyIndex:t}=this;const i=this.history[t];if(i&&i.currentSource===e.currentSource&&i.currentPath===e.currentPath)return;let o=[...this.history];o.length-1!==t&&(o=o.slice(0,t+1)),o.push(e),i&&(t+=1),this.history=o,this.historyIndex=t}next(){this.canNext()&&(this.historyIndex+=1,this.updateState())}previous(){this.canPrevious()&&(this.historyIndex-=1,this.updateState())}updateCurrent(){this.history[this.historyIndex]={currentSource:this.state.currentSource,currentPath:this.state.currentPath,tree:(0,u.fastClone)(this.state.tree),elements:[...this.state.elements]}}onHome(){this.state.currentPath="",this.state.currentSource="",this.j.e.fire("afterOpenFolder.filebrowser update.filebrowser")}onOpenFolder(){this.push({tree:[],elements:[],currentPath:this.state.currentPath,currentSource:this.state.currentSource}),this.j.e.fire("changeSelection")}updateState(){const{tree:e,elements:t,currentSource:i,currentPath:o}=this.history[this.historyIndex];this.state.activeElements=[],this.state.elements=[...t],this.state.tree=[...e],this.state.currentSource=i,this.state.currentPath=o,this.j.e.fire("changeSelection")}};(0,s.gn)([(0,d.watch)(["state.elements","state.tree"])],q.prototype,"updateCurrent",null),(0,s.gn)([(0,d.watch)(":goHome.filebrowser")],q.prototype,"onHome",null),(0,s.gn)([(0,d.watch)(":afterOpenFolder.filebrowser")],q.prototype,"onOpenFolder",null),q=(0,s.gn)([d.component],q);let F=class extends H.Hr{className(){return"ContextMenuManager"}onFolderContext(e,t){return this.buildContextItemMenu(this.getFolderContextActions(e),t),!1}onItemContext(e,t,i){return this.buildContextItemMenu(this.getItemContextActions(e),i),!1}onSourceContext(e,t){return this.buildContextItemMenu(this.getSourceContextActions(e),t),!1}buildContextItemMenu(e,t){if(!this.j.o.contextMenu)return;const i=(0,R.L)(this.j).setMod("theme",this.j.state.theme);i.show(t.clientX,t.clientY,e.filter((e=>e&&!1!==e.enabled))),this.j.e.on(this.j,"afterClose",(()=>{i.isOpened&&i.close()}))}getItemContextActions(e){if(this.j.stateManager.isActive(e)||this.j.stateManager.addActive(e,this.j.state.activeElements.length>1),"folder"===e.type)return this.getFolderContextActions({type:"directory",children:[],name:e.name||"",path:e.path,sourceName:e.sourceName});const t=this.j.options,i=this.j.dataProvider,o=1===this.j.state.activeElements.length;return[{icon:"pencil",title:"Edit",enabled:!!e.isImage&&t.editImage&&o&&(i.canI("ImageResize")||i.canI("ImageCrop")),exec:()=>{D.r.call(this.j,e.imageURL,e.name||"",this.j.state.currentPath,this.j.state.currentSource)}},{icon:"italic",title:"Rename",enabled:i.canI("FileRename")&&o,exec:()=>this.j.e.fire("fileRename.filebrowser",e)},{icon:"bin",title:"Delete",enabled:i.canI("FileRemove"),exec:()=>this.j.e.fire("fileRemove.filebrowser",e)},{icon:"eye",title:"Preview",enabled:!(!e.isImage&&"file"!==e.type)&&t.preview&&o,exec:()=>this.j.e.fire("openLightBox.filebrowser",e)},{icon:"upload",title:"Download",exec:()=>{e.fileURL&&this.j.ow.open(e.fileURL)}}]}getFolderContextActions(e){const t=this.j.dataProvider;return[{icon:"pencil",title:"Rename",exec:()=>{this.j.e.fire("folderRename.filebrowser",e)},enabled:t.canI("FolderRename")},{icon:"bin",title:"Delete",exec:()=>{this.j.e.fire("folderRemove.filebrowser",e)},enabled:t.canI("FolderRemove")},{icon:"plus",title:"Add folder",exec:()=>{this.j.e.fire("folderCreate.filebrowser",e)},enabled:t.canI("FolderCreate")}]}getSourceContextActions(e){return[{icon:"plus",title:"Create folder",exec:()=>{this.j.e.fire("folderCreate.filebrowser",e)}}]}};(0,s.gn)([(0,d.watch)(":contextmenuFolder.filebrowser")],F.prototype,"onFolderContext",null),(0,s.gn)([(0,d.watch)(":contextmenuItem.filebrowser")],F.prototype,"onItemContext",null),(0,s.gn)([(0,d.watch)(":contextmenuSource.filebrowser")],F.prototype,"onSourceContext",null),F=(0,s.gn)([d.component],F);const O=e=>{const t=e.split("/").filter((e=>e.length));return t.pop(),t.join("/")||"/"};var V,W=i(1),U=i(180);let $=V=class extends l.UIElement{constructor(e,t,i){super(e),this.current=t,this.elements=i,this.dialog=new l.Dialog;const{dialog:o}=this;o.setMod("theme",e.state.theme).toolbar.setMod("mode","header"),o.open(this),this.elements=this.elements.filter((e=>e.isImage)),o.e.on(o,"afterClose",(()=>{this.destruct()})),this.addGlobalListeners(),this.onChangeCurrent(),o.toolbar.build([{icon:"check",exec:()=>{e.stateManager.addActive(this.current,!1),e.e.fire("select.filebrowser"),o.close()}},"dialog.close"])}className(){return"UILightBox"}render(){return"<div>\n\t\t\t<div class='&__previous'>*angle-left*</div>\n\t\t\t<div class='&__preview'></div>\n\t\t\t<div class='&__loader'></div>\n\t\t\t<div class='&__next'>*angle-right*</div>\n\t\t</div>"}async onChangeCurrent(){const{current:e}=this;this.setMod("loading",!0);const t=this.getElm("preview");if((0,u.assert)(null!=t,"preview element does not exist"),l.Dom.detach(t),(0,u.css)(t,{backgroundImage:null}),e.isImage){const i=await(0,u.loadImage)(e.fileURL,this.j);this.dialog.setPosition(),(0,u.css)(t,{width:Math.min(this.jodit.ow.innerWidth,i.naturalWidth),height:Math.min(this.jodit.ow.innerHeight-100,i.naturalHeight),backgroundImage:`url(${i.src})`})}else{const i=await this.makeIframe(e.fileURL);t.appendChild(i)}this.dialog.setSize(),this.dialog.setPosition(),this.setMod("loading",!1)}makeIframe(e){const t=this.j.c.element("iframe");return t.classList.add(this.getFullElName("office-iframe")),t.src=/\.pdf/.test(e)?e:this.j.o.previewOfficeURL+encodeURIComponent(e),t}onPreviousClick(){const{current:e}=this;let t=this.j.stateManager.getIndex(e,this.elements);t>0?t-=1:t=this.elements.length-1,this.current=this.elements[t]}onNextClick(){const{current:e}=this;let t=this.j.stateManager.getIndex(e,this.elements);this.elements.length-1>t?t+=1:t=0,this.current=this.elements[t]}static open(e,t,i){return new V(e,t,i)}addGlobalListeners(){this.j.e.on(this.j.od,"keydown",this.onKeyPress)}onKeyPress(e){if(e.key===z.KEY_LEFT||e.key===z.KEY_RIGHT||e.key===z.KEY_SPACE)return e.key===z.KEY_LEFT?this.onPreviousClick():this.onNextClick(),!1}removeGlobalListeners(){this.j.e.off(this.j.od,"keydown",this.onKeyPress)}destruct(){return this.removeGlobalListeners(),this.dialog.destruct(),super.destruct()}};(0,s.gn)([(0,d.watch)("current")],$.prototype,"onChangeCurrent",null),(0,s.gn)([(0,d.watch)("previous:click")],$.prototype,"onPreviousClick",null),(0,s.gn)([(0,d.watch)("next:click")],$.prototype,"onNextClick",null),(0,s.gn)([d.autobind],$.prototype,"onKeyPress",null),$=V=(0,s.gn)([d.component],$);let G=class extends H.Hr{constructor(e,t){super(e),this.state=t,this.offset=0,this.countInOneChunk=20,this.stopLoadingParts=!1}className(){return"LoadingManager"}async onUpdateFileBrowser(){this.j.state.activeElements=[],this.j.panel.setMod("loading",!0),await Promise.all([this.loadFolders(),this.loadItems()]),this.j.panel.setMod("loading",!1)}async loadFolders(){if(!this.j.isOpened)return;const{currentPath:e,currentSource:t}=this.j.state;try{const i=await this.j.dataProvider.tree(e,t);this.j.stateManager.fillSources(i,e),this.j.state.sources=i}catch(e){this.j.status(e)}}async loadItems(){if(this.j.isOpened)try{for(this.offset=0,this.stopLoadingParts=!1,this.j.state.elements=await this.loadPartItems(),this.stopLoadingParts=this.countInOneChunk>this.j.state.elements.length;!this.stopLoadingParts&&this.j.panel.countInColumn*this.j.panel.countInRow>=this.j.state.elements.length;)await this.loadItemsChunk()}catch(e){this.j.status(e)}}async loadItemsChunk(){if(!this.stopLoadingParts)try{this.offset+=this.countInOneChunk;const e=await this.loadPartItems();this.stopLoadingParts=this.countInOneChunk>e.length,e.length&&(this.j.state.elements=this.j.state.elements.concat(e))}catch(e){this.j.status(e)}}loadPartItems(){const{currentPath:e,currentSource:t,sortBy:i,withFolders:o,foldersPosition:s,onlyImages:a,filterWord:n}=this.j.state;return this.j.dataProvider.items(e,t,{offset:this.offset,limit:this.countInOneChunk,sortBy:i,withFolders:o,foldersPosition:s,onlyImages:a,filterWord:n})}};(0,s.gn)([(0,d.watch)(":update.filebrowser")],G.prototype,"onUpdateFileBrowser",null),(0,s.gn)([(0,d.watch)(["state.currentPath","state.currentSource"]),(0,d.debounce)((e=>({timeout:e.defaultTimeout,promisify:!0})))],G.prototype,"loadFolders",null),(0,s.gn)([(0,d.watch)(["state.currentPath","state.currentSource","state.sortBy","state.onlyImages","state.foldersPosition","state.filterWord"]),(0,d.debounce)((e=>({timeout:e.defaultTimeout,promisify:!0})))],G.prototype,"loadItems",null),(0,s.gn)([(0,d.debounce)((e=>({timeout:e.defaultTimeout,promisify:!0})))],G.prototype,"loadItemsChunk",null),G=(0,s.gn)([d.component],G);let K=class extends c.Vq{constructor(e){super((0,u.ConfigProto)(Object.assign(e||{},{resizable:!0,draggable:!0,toolbarButtons:(null==e?void 0:e.buttons)||B.D.defaultOptions.filebrowser.buttons,buttons:W.Jodit.atom(["filebrowser.settings","fullsize","dialog.close"])}),B.D.defaultOptions.filebrowser)),this.dataProvider=(0,R.S)(this,this.options),this.state=(0,l.observable)({onSelectCallBack:null,theme:"default",showSideBar:!0,showFavorites:!0,showSettings:!1,showPreview:!1,withFolders:!0,foldersPosition:"bottom",info:"",metaInfo:null,currentPath:"",currentSource:"",currentBaseUrl:"",tree:[],activeElements:[],favorites:[],progress:0,lastSelectedIndex:0,elements:[],messages:[],sources:[],view:"tiles",tileSize:"default",sortBy:"name-asc",filterWord:"",onlyImages:!1}),this.persistent=new N(this,this.state),this.loadingManager=new G(this,this.state),this.stateManager=new L(this.state),this.historyManager=new q(this,this.state),this.contextMenuManager=new F(this),this.header=new M(this,this.options,this.stateManager),this.panel=new T(this,this.stateManager),this.files=this.panel,this.tree=this.panel,this.progressbar=new P(this,this.stateManager.state),U.V.make(this),!this.persistent.theme&&this.options.theme&&(this.persistent.theme=this.options.theme),this.panel.append(this.progressbar),this.toolbar.setMod("mode","header"),this.setSize(Math.min(this.options.width,screen.width),Math.min(this.options.height,screen.height)).setHeader(this.header),this.onResizeWindow(),this.initUploader(),this.onChangeTheme(),this.fullFillOptions(),this.dataProvider.onProgress((e=>{0===e&&(e=30),this.state.progress=e})),this.e.on("beforeClose",this.removeGlobalListeners),this.e.fire("afterInit"),W.Jodit.prototype.afterInitHook.call(this)}className(){return"FileBrowserPro"}lock(e="any"){return this.container.classList.add("jodit_disabled"),super.lock(e)}unlock(){return this.container.classList.remove("jodit_disabled"),super.unlock()}status(e,t=!(e instanceof Error)){const i={message:(0,u.isString)(e)?e:e.message,type:t?"success":"error"};this.stateManager.addMessage(i),this.async.setTimeout((()=>{this.stateManager.removeMessage(i)}),this.options.howLongShowMsg)}addDisclaimer(e){this.dialog.appendChild(e)}async open(e=this.o.defaultCallback,t){return this.state.onlyImages=!!t,this.prepareOpening(e),super.open(this.panel.container),this.e.fire("update.filebrowser")}onResizeWindow(){(0,u.css)(this.dialog,{maxWidth:screen.width,minHeight:Math.min(this.options.height,screen.height),minWidth:Math.min(this.options.width,screen.width)})}onChangePath(){const{currentPath:e,currentSource:t}=this.state;this.uploader.setPath(e),this.uploader.setSource(t)}onChangeTheme(){this.setMod("theme",this.state.theme),this.header.setMod("theme",this.state.theme),this.panel.setMod("theme",this.state.theme),this.options.theme=this.state.theme}onToggleSettings(){this.state.showSettings=!this.state.showSettings}prepareOpening(e){this.registerGlobalListeners(),e&&(this.state.onSelectCallBack=t=>{this.close(),e(t)}),this.persistent.syncWithState()}registerGlobalListeners(){this.e.on(this.ow,"keydown",this.onKeyPress)}onKeyPress(e){const{activeElement:t}=this.od;if(!this.state.activeElements.length||!t||!l.Dom.isOrContains(this.panel.items.container,t))return;const i=this.state.elements;switch(e.key){case z.KEY_ENTER:return this.onChooseItems();case z.KEY_DELETE:return this.onFileRemove();case z.KEY_RIGHT:case z.KEY_LEFT:case z.KEY_DOWN:case z.KEY_UP:{const t=e.key===z.KEY_RIGHT||e.key===z.KEY_DOWN,o=this.state.lastSelectedIndex;let s;if([z.KEY_RIGHT,z.KEY_LEFT].includes(e.key))s=t?i[o+1]?o+1:0:i[o-1]?o-1:i.length-1;else{const{countInRow:e}=this.panel;s=Math.round(((o+1)/e+(t?1:-1))*e-1)}return i[s]&&this.stateManager.addActive(i[s],e.shiftKey),!1}}}removeGlobalListeners(){this.e.off(this.ow,"keydown",this.onKeyPress)}onFileRemove(){this.state.activeElements.length&&(0,l.Confirm)(this.i18n("Are you sure?"),"",(e=>{if(e){const e=[];this.state.activeElements.forEach((t=>{this.stateManager.isFavorite(t)&&this.stateManager.toggleFavorite(t),e.push(this.deleteFile(t.file||t.name||"",t.sourceName))})),this.state.activeElements=[],Promise.all(e).then((()=>{this.loadingManager.loadItems()}))}})).bindDestruct(this)}onFileEdit(){if(1===this.state.activeElements.length){const[e]=this.state.activeElements;D.r.call(this,e.fileURL,e.file||"",e.path,e.sourceName,void 0,this.status)}}onFolderRename(e){(0,l.Prompt)(this.i18n("Enter new name"),this.i18n("Rename"),(t=>{if(!(0,u.isValidName)(t)||t===e.name)return this.status(this.i18n("Enter new name")),!1;this.dataProvider.folderRename(O(e.path),e.name,t,e.sourceName).then((i=>{this.state.activeElements=[],this.status(i,!0),this.state.currentPath=O(e.path)+"/"+t,this.state.currentSource=e.sourceName,this.historyManager.updateCurrent(),this.loadingManager.loadFolders()})).catch(this.status)}),this.i18n("type name"),e.name).bindDestruct(this)}onFolderRemove(e){(0,l.Confirm)(this.i18n("Are you sure?"),this.i18n("Delete"),(t=>{t&&this.dataProvider.folderRemove(O(e.path),e.name,e.sourceName).then((t=>{this.status(t,!0),this.state.currentPath=O(e.path),this.state.currentSource=e.sourceName,this.loadingManager.loadFolders()})).catch(this.status)})).bindDestruct(this)}onFolderCreate(e){(0,l.Prompt)(this.i18n("Enter Directory name"),this.i18n("Create directory"),(t=>{const i=e.path||"/";this.dataProvider.createFolder(t,e.path||"/",e.sourceName).then((()=>{this.state.currentSource===e.sourceName&&this.state.currentPath===i?this.e.fire("update.filebrowser"):(this.state.currentSource=e.sourceName,this.state.currentPath=i),this.historyManager.updateCurrent()}),this.status)}),this.i18n("type name")).bindDestruct(this)}onFileRename(e){const t=e.file||e.name||"";1===this.state.activeElements.length&&t&&(0,l.Prompt)(this.i18n("Enter new name"),this.i18n("Rename"),(e=>{if(!(0,u.isValidName)(e))return this.status(this.i18n("Enter new name")),!1;this.dataProvider.fileRename(this.state.currentPath,t,e,this.state.currentSource).then((e=>{this.state.activeElements=[],this.status(e,!0),this.loadingManager.loadItems()})).catch(this.status)}),this.i18n("type name"),t).bindDestruct(this)}onChooseItems(){const e=this.stateManager.state.activeElements;if(e.length){if("folder"===e[0].type)return this.state.currentPath=this.state.currentPath+"/"+e[0].name,this.state.currentSource=e[0].sourceName,void this.e.fire("afterOpenFolder.filebrowser");this.state.onSelectCallBack?this.stateManager.callSelectHandler():this.onOpenLightBox(e[0])}}onOpenLightBox(e){$.open(this,e,this.state.elements)}deleteFile(e,t){return this.dataProvider.fileRemove(this.state.currentPath,e,t).then((t=>{this.status(t||this.i18n('File "%s" was deleted',e),!0)})).catch(this.status)}initUploader(){const e=this,t=(0,u.ConfigProto)(e.o.uploader||{},B.D.defaultOptions.uploader),i=()=>this.loadingManager.loadItems();e.uploader=e.getInstance("Uploader",t),e.uploader.bind(e.panel.container,i,e.status),e.e.on("bindUploader.filebrowser",(t=>{e.uploader.bind(t,i,e.status)}))}destruct(){this.removeGlobalListeners(),this.header.destruct(),this.panel.destruct(),super.destruct()}fullFillOptions(){["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))}))}};(0,s.gn)([d.autobind],K.prototype,"status",null),(0,s.gn)([(0,d.watch)(":resize",window)],K.prototype,"onResizeWindow",null),(0,s.gn)([(0,d.watch)(["state.currentPath","state.currentSource"])],K.prototype,"onChangePath",null),(0,s.gn)([(0,d.watch)("state.theme")],K.prototype,"onChangeTheme",null),(0,s.gn)([(0,d.watch)(":toggleSettings.filebrowser")],K.prototype,"onToggleSettings",null),(0,s.gn)([d.autobind],K.prototype,"onKeyPress",null),(0,s.gn)([d.autobind],K.prototype,"removeGlobalListeners",null),(0,s.gn)([(0,d.watch)(":fileRemove.filebrowser")],K.prototype,"onFileRemove",null),(0,s.gn)([(0,d.watch)(":edit.filebrowser")],K.prototype,"onFileEdit",null),(0,s.gn)([(0,d.watch)(":folderRename.filebrowser")],K.prototype,"onFolderRename",null),(0,s.gn)([(0,d.watch)(":folderRemove.filebrowser")],K.prototype,"onFolderRemove",null),(0,s.gn)([(0,d.watch)(":folderCreate.filebrowser")],K.prototype,"onFolderCreate",null),(0,s.gn)([(0,d.watch)(":fileRename.filebrowser")],K.prototype,"onFileRename",null),(0,s.gn)([(0,d.watch)(":select.filebrowser")],K.prototype,"onChooseItems",null),(0,s.gn)([(0,d.watch)(":openLightBox.filebrowser")],K.prototype,"onOpenLightBox",null),K=(0,s.gn)([d.component],K),W.Jodit.modules.FileBrowserPro=K,(0,i(15).xl)(i(186));const Y=B.D.prototype.controls.filebrowser;Y.settings={icon:"settings",exec(e){e.e.fire("toggleSettings.filebrowser")}},Y.home={icon:"home",exec(e){e.e.fire("goHome.filebrowser")}},Y.preview={icon:"eye",isDisabled(e){return 0===e.state.activeElements.length},exec(e){e.e.fire("togglePreview.filebrowser")}},Y.next={icon:"angle-right",isDisabled:e=>!e.historyManager.canNext(),exec(e){e.historyManager.next()}},Y.previous={icon:"angle-left",isDisabled:e=>!e.historyManager.canPrevious(),exec(e){e.historyManager.previous()}},Object.assign(B.D.prototype.filebrowser,{buttons:["filebrowser.home","filebrowser.previous","filebrowser.next","|","filebrowser.upload","filebrowser.remove","filebrowser.update","filebrowser.select","filebrowser.edit","|","filebrowser.preview","about"],sort:!1,pixelOffsetLoadNewChunk:200,width:750,height:400,previewOfficeURL:"https://view.officeapps.live.com/op/view.aspx?src="});class J extends o.S{constructor(){super(...arguments),this.requires=["license"],this.hasStyle=!W.Jodit.fatMode}afterInit(e){e.e.on("getInstanceFileBrowser",(e=>(this.__instance||(this.__instance=new K(e)),this.__instance)))}beforeDestruct(e){var t;e.e.off("getInstanceFileBrowser"),null===(t=this.__instance)||void 0===t||t.destruct()}}W.Jodit.plugins.add("finder",J)},e=>{e.exports='<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"> <path d="M365.4,59.628c60.56,0,109.6,49.03,109.6,109.47c0,109.47-109.6,171.8-219.06,281.271 C146.47,340.898,37,278.568,37,169.099c0-60.44,49.04-109.47,109.47-109.47c54.73,0,82.1,27.37,109.47,82.1 C283.3,86.999,310.67,59.628,365.4,59.628z"/> </svg>'},e=>{e.exports='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"> <path d="M28.7,16.3l-12-13c-0.4-0.4-1.1-0.4-1.5,0l-12,13C3,16.6,2.9,17,3.1,17.4C3.2,17.8,3.6,18,4,18h3v10c0,0.6,0.4,1,1,1h16 c0.6,0,1-0.4,1-1V18h3c0.4,0,0.8-0.2,0.9-0.6C29.1,17,29,16.6,28.7,16.3z"/> </svg>'},(e,t,i)=>{"use strict";function o(e,t,i,o){var s,a=arguments.length,n=3>a?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(n=(3>a?s(n):a>3?s(t,i,n):s(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n}i.d(t,{gn:()=>o})},(e,t,i)=>{"use strict";i.r(t),i.d(t,{ru:()=>o});const o=i(187)},e=>{e.exports={Favorites:"Избранное",Settings:"Настройки",Light:"Светлая",Dark:"Темная",Theme:"Тема",Show:"Показать",Hide:"Скрыть","Show favorites":"Показывать избранное",Tiles:"Плитка",List:"Список",Compact:"Компактный",View:"Отображение","Folders position":"Позиция папок","Sort by":"Сортировать по","Extra small":"Очень маленькие",Small:"Маленькие",Large:"Большие","Extra large":"Очень большие","Tile size":"Размер плитки"}},function(e,t,i){"use strict";i.d(t,{showBlocks:()=>h});var o=i(185),s=i(2);s.D.prototype.showBlocks={enable:!1,color:"#ccc",tagList:["html","body","div","span","applet","object","iframe","h1","h2","h3","h4","h5","h6","p","blockquote","pre","a","abbr","acronym","address","big","cite","code","del","dfn","em","img","ins","kbd","q","s","samp","small","strike","strong","sub","sup","tt","var","b","u","i","center","dl","dt","dd","fieldset","form","label","legend","caption","th","td","li","ol","ul","article","aside","canvas","details","embed","figure","figcaption","footer","header","hgroup","menu","nav","output","ruby","section","summary","time","mark","audio","video"]},s.D.prototype.controls.showBlocks={isActive(e){return!!e.e.fire("showBlocksEnabled")},tooltip:"Show Blocks",command:"toggleShowBlocks"};var a=i(62),n=i(4),r=i(37),l=i(15),c=i(19),d=i(1);class h extends a.S{constructor(e){super(e),this.requires=["license"],this.buttons=[{name:"showBlocks",group:"state"}],this.isEnabled=!1,(0,l.xl)(i(189)),r.JO.set("showBlocks",i(209))}enable(){this.isEnabled=!0;const e=this.j.o.iframe?"body":".jodit-wysiwyg",{tagList:t,color:i}=this.j.o.showBlocks;this.style.innerHTML=t.map((t=>{return`${e} ${t}{\n\t\t\t\t\toutline: 1px dashed ${i};\n\t\t\t\t\tbackground-image: url("${o='<svg xmlns="http://www.w3.org/2000/svg" width="50px"><text dominant-baseline="hanging" text-anchor="end" style="fill: '+i+';font: 10px sans-serif" x="50px" y="0">'+t+"</text></svg>","data:image/svg+xml;utf8,"+escape(o)}");\n\t\t\t\t\tbackground-position: top 2px ${"rtl"===this.j.o.direction?"left":"right"} 4px;\n\t\t\t\t\tbackground-repeat: no-repeat;\n\t\t\t\t\tposition: relative;\n\t\t\t\t}`;var o})).join("")}disable(){this.isEnabled=!1,this.style.innerHTML=""}toggle(){this.isEnabled?this.disable():this.enable(),this.j.e.fire("updateToolbar")}afterInit(e){this.style=(0,l.ZO)(e,h,"style",!0),e.e.on("showBlocksEnabled",(()=>this.isEnabled)),e.registerCommand("enableShowBlocks",this.enable).registerCommand("disableShowBlocks",this.disable).registerCommand("toggleShowBlocks",this.toggle),this.j.o.showBlocks.enable&&this.enable()}beforeDestruct(e){this.disable(),n.Dom.safeRemove(this.style)}}(0,o.gn)([c.autobind],h.prototype,"enable",null),(0,o.gn)([c.autobind],h.prototype,"disable",null),(0,o.gn)([c.autobind],h.prototype,"toggle",null),d.Jodit.plugins.add("show-blocks",h)},(e,t,i)=>{"use strict";i.r(t),i.d(t,{ar:()=>o,cs_cz:()=>s,de:()=>a,es:()=>n,fa:()=>r,fr:()=>l,he:()=>c,hu:()=>d,id:()=>h,it:()=>u,ja:()=>p,ko:()=>m,nl:()=>g,pl:()=>f,pt_br:()=>b,ru:()=>v,tr:()=>w,zh_cn:()=>y,zh_tw:()=>k});const o=i(190),s=i(191),a=i(192),n=i(193),r=i(194),l=i(195),c=i(196),d=i(197),h=i(198),u=i(199),p=i(200),m=i(201),g=i(202),f=i(203),b=i(204),v=i(205),w=i(206),y=i(207),k=i(208)},e=>{e.exports={"Show Blocks":"تظهر كتل"}},e=>{e.exports={"Show Blocks":"Ukázat Bloky"}},e=>{e.exports={"Show Blocks":"Zeigen Blöcke"}},e=>{e.exports={"Show Blocks":"Mostrar Bloques"}},e=>{e.exports={"Show Blocks":"نشان می دهد بلوک"}},e=>{e.exports={"Show Blocks":"Afficher Les Blocs"}},e=>{e.exports={"Show Blocks":"תראה רחובות"}},e=>{e.exports={"Show Blocks":"Mutasd Meg Blokkok"}},e=>{e.exports={"Show Blocks":"Menunjukkan Blok"}},e=>{e.exports={"Show Blocks":"Visualizza Blocchi"}},e=>{e.exports={"Show Blocks":"ショーのブロック"}},e=>{e.exports={"Show Blocks":"쇼 블록"}},e=>{e.exports={"Show Blocks":"Toon Blokken"}},e=>{e.exports={"Show Blocks":"Pokaż Bloki"}},e=>{e.exports={"Show Blocks":"Mostrar Blocos"}},e=>{e.exports={"Show Blocks":"Показать Блоки"}},e=>{e.exports={"Show Blocks":"Haritayı Blokları"}},e=>{e.exports={"Show Blocks":"显示块"}},e=>{e.exports={"Show Blocks":"แสดงช่วงตึก"}},e=>{e.exports='<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <g> <rect rx="10" height="1620" width="1620" y="79.646973" x="80" stroke-width="100" stroke-dasharray="8% 10%" fill="none"/> <path d="m1333.992706,381.692384l0,52.982419q0,21.04781 -12.98052,44.272981t-29.820114,23.22517q-35.082487,0 -37.889085,0.725787q-18.242893,4.354719 -22.452791,22.499384q-2.104949,7.983652 -2.104949,46.45034l0,836.106125q0,18.144664 -12.629695,31.208822t-30.170938,13.064158l-75.778171,0q-17.541243,0 -30.170938,-13.064158t-12.629695,-31.208822l0,-884.008038l-100.335911,0l0,884.008038q0,18.144664 -12.27887,31.208822t-30.521763,13.064158l-75.778171,0q-18.242893,0 -30.521763,-13.064158t-12.27887,-31.208822l0,-359.990137q-103.14251,-8.709439 -171.904184,-42.821407q-88.407866,-42.095621 -134.716748,-129.915795q-44.905583,-84.917028 -44.905583,-187.978721q0,-120.48057 61.745176,-207.574958q61.745176,-85.642815 146.644794,-115.400064q77.88312,-26.854103 292.587937,-26.854103l336.090221,0q17.541243,0 30.170938,13.064158t12.629695,31.208822z"/> </g> </svg>'},function(e,t,i){"use strict";i.d(t,{autocomplete:()=>f});var o=i(185),s=i(62),a=i(2),n=i(19),r=i(10),l=i(4),c=i(37);class d extends c.u1{constructor(e,t){var i;super(e),this.item=t;const{container:o}=this;if((0,r.isFunction)(t.itemRenderer)){const e=t.itemRenderer(t);(0,r.isString)(e)?o.innerHTML=e:o.appendChild(e)}else o.innerText=null!==(i=t.title)&&void 0!==i?i:t.value}className(){return"AutocompleteItem"}}let h=class extends c.qe{constructor(){super(...arguments),this.elements=[],this.currentSelection=-1}className(){return"Autocomplete"}onChangeSelection(e,t){var i;null!=t&&(null===(i=this.elements[t])||void 0===i||i.setMod("active",!1)),this.elements[this.currentSelection].setMod("active",!0),this.elements[this.currentSelection].container.scrollIntoView(!1)}build(e){this.clear(),e.forEach(((e,t)=>{const i=new d(this.jodit,e);this.j.e.on(i.container,"mousedown touchstart",(e=>{e.preventDefault()})).on(i.container,"click",(()=>{this.currentSelection=t,this.select()})),this.append(i)})),this.currentSelection=0,this.onChangeSelection()}selectNext(){this.currentSelection+1>this.elements.length-1?this.currentSelection=0:this.currentSelection+=1}selectPrevious(){0>this.currentSelection-1?this.currentSelection=this.elements.length-1:this.currentSelection-=1}select(){this.j.e.fire("select.autocomplete",this.elements[this.currentSelection].item)}};(0,o.gn)([(0,n.watch)("currentSelection")],h.prototype,"onChangeSelection",null),h=(0,o.gn)([n.component],h);var u=i(3),p=i(1),m=i(17),g=i(88);a.D.prototype.autocomplete={sources:[],maxItems:50,isMatchedQuery:(e,t)=>0===t.toLowerCase().indexOf(e.toLowerCase()),itemRenderer(e){var t;return null!==(t=e.title)&&void 0!==t?t:e.value},insertValueRenderer:e=>e.value+" "};class f extends s.S{constructor(){super(...arguments),this.requires=["enter","license"],this.hasStyle=!p.Jodit.fatMode,this.sources=[]}afterInit(e){this.popup=new l.Popup(e),this.popup.setMod("padding",!1),this.list=new h(e),this.popup.setContent(this.list.container),e.e.on("select.autocomplete",(t=>{let i=t.value;(0,r.isFunction)(t.insertValueRenderer)&&(i=t.insertValueRenderer(t)),l.Dom.isNode(i)||(i=e.createInside.fromHTML(i)),((e,t)=>{var i;const{startContainer:o,startOffset:s}=e;if(m.i.isText(o)){const a=null!==(i=o.nodeValue)&&void 0!==i?i:"",n=a.substr(0,s),r=a.substr(s),l=n.split(" ");l[l.length-1]="";const c=l.join(" ");o.nodeValue=c+r,e.setStart(o,c.length),e.insertNode(t)}})(e.s.range,i),this.j.s.setCursorAfter(i),this.popup.close()})).on("keydown.autocomplete",this.onKeyDown).on("keydown.autocomplete",this.onKeyControlDown,void 0,!0).on("beforeEnter.autocomplete",this.onEnter,void 0,!0).on("autocomplete.autocomplete",this.onAutoComplete).on("registerAutocompleteSource.autocomplete",this.registerAutocompleteSource)}registerAutocompleteSource(e){this.sources.push(e)}static isControlKey(e){return e===u.KEY_DOWN||e===u.KEY_UP||e===u.KEY_ENTER||e===u.KEY_TAB}async onKeyDown(e){var t;if(e.key===u.KEY_ESC)return void(this.popup.isOpened&&this.popup.close());if(f.isControlKey(e.key)||!this.j.s.isCollapsed)return;const i=null===(t=this.j.s.sel)||void 0===t?void 0:t.getRangeAt(0);if(!i||!l.Dom.isOrContains(this.j.editor,i.startContainer))return;const o=(e=>{var t,i,o,s;const{startContainer:a,startOffset:n}=e;if(m.i.isText(a))return null!==(i=null===(t=a.nodeValue)||void 0===t?void 0:t.substr(0,n))&&void 0!==i?i:"";const r=a.childNodes[n];if(!r)return"";if(m.i.isText(r))return null!==(o=r.nodeValue)&&void 0!==o?o:"";const l=(0,g.tT)(r,!0,a);return m.i.isText(l)&&null!==(s=r.nodeValue)&&void 0!==s?s:""})(i).split(" ").pop();if(o&&(0,r.trim)(o).length){const e=await this.onAutoComplete(o);if(e.length)return this.openPopup(e)}this.popup.isOpened&&this.popup.close()}onKeyControlDown(e){if(this.popup.isOpened&&f.isControlKey(e.key)){switch(e.key){case u.KEY_DOWN:this.list.selectNext();break;case u.KEY_UP:this.list.selectPrevious();break;case u.KEY_TAB:this.list.select()}return this.j.e.stopPropagation(e.type),!1}}onEnter(){if(this.popup.isOpened)return this.list.select(),!1}async onAutoComplete(e){const t=[];return await Promise.all(this.sources.concat(this.j.o.autocomplete.sources).map((async i=>{t.push(...await this.resolveFeed(e,i))}))),t}async resolveFeed(e,t,i){let o;if((0,r.isPromise)(t)&&(t=await t),(0,r.isFunction)(t))o=await t(e);else if((0,r.isArray)(t)){const i=t,{isMatchedQuery:s}=this.j.o.autocomplete;o=i.filter((t=>(0,r.isString)(t)?s(e,t):s(e,t.value))).map((e=>(0,r.isString)(e)?{title:e,value:e}:e))}else o=await this.resolveFeed(e,t.feed,t);if(o&&(0,r.isArray)(o)){const{itemRenderer:e,insertValueRenderer:t,maxItems:s}=this.j.o.autocomplete;return o=o.map((o=>{var s,a;return{itemRenderer:null!==(s=null==i?void 0:i.itemRenderer)&&void 0!==s?s:e,insertValueRenderer:null!==(a=null==i?void 0:i.insertValueRenderer)&&void 0!==a?a:t,...o}})),o.slice(0,s)}return[]}openPopup(e){this.list.build(e),this.popup.open((()=>this.j.s.range.getBoundingClientRect()))}beforeDestruct(e){e.e.off(this.list).off("keydown.autocomplete",this.onKeyDown).off("autocomplete.autocomplete",this.onAutoComplete).off(".autocomplete"),this.list.destruct(),this.popup.destruct()}}(0,o.gn)([n.autobind],f.prototype,"registerAutocompleteSource",null),(0,o.gn)([(0,n.debounce)()],f.prototype,"onKeyDown",null),(0,o.gn)([n.autobind],f.prototype,"onKeyControlDown",null),(0,o.gn)([n.autobind],f.prototype,"onEnter",null),(0,o.gn)([n.autobind],f.prototype,"onAutoComplete",null),(0,o.gn)([n.autobind],f.prototype,"resolveFeed",null),p.Jodit.plugins.add("autocomplete",f)},function(e,t,i){"use strict";i.d(t,{backup:()=>v});var o=i(185),s=i(2),a=i(40),n=i(15);s.D.prototype.backup={interval:30,limit:50,dialogWidth:700,hotkeys:["ctrl+shift+b","cmd+shift+b"]},s.D.prototype.controls.backup={store:{command:"saveBackup",text:"Save backup now"},restore:{tooltip:"Restore",list:["backup.store"],exec(e){e.execCommand("openBackupDialog")}}},a.J.set("restore",i(212)),(0,n.xl)(i(213));var r=i(62);class l{constructor(e){this.jodit=e,this.key="backup.default.storage"}async add(e){if(!e.html.trim().length)return!1;const t=this.jodit.storage.get(this.key)||[];return t.find((t=>t.html===e.html))||(t.unshift(e),t.length>this.jodit.o.backup.limit&&(t.length=this.jodit.o.backup.limit),this.jodit.storage.set(this.key,t)),!1}items(){return Promise.resolve(this.jodit.storage.get(this.key)||[])}clear(){return this.jodit.storage.delete(this.key),Promise.resolve(!1)}}var c=i(53),d=i(19),h=i(37),u=i(10);class p extends h.u1{constructor(e,t){super(e),this.data=t,this.container.innerHTML=this.formatDate(t.created),(0,u.attr)(this.container,"tabIndex",0)}className(){return"UIBackupItem"}formatDate(e){const t=new Date,i=(0,u.isString)(e)?new Date(e):e,o=(t.getTime()-i.getTime())/1e3;return(0,u.isFunction)(this.j.o.backup.formatDate)?this.j.o.backup.formatDate(i):.2>o?this.j.i18n("Current"):60>o?this.j.i18n("Less minute"):o>3600?o>86400?`${i.toDateString()} ${i.toLocaleTimeString()}`:this.j.i18n("%s hours ago",Math.floor(o/3600)):this.j.i18n("%s minutes ago",Math.floor(o/60))}focus(){this.container.focus()}}var m=i(3);let g=class extends h.qe{constructor(e){super(e),this.elements=[],this.currentSelection=-1,e.e.on(this.container,"keydown",(e=>{switch(e.key){case m.KEY_ENTER:e.preventDefault(),e.stopPropagation(),this.onChoose(this.currentSelection);break;case m.KEY_DOWN:this.selectNext();break;case m.KEY_UP:this.selectPrevious()}}))}className(){return"UIBackupList"}createContainer(e){const t=super.createContainer(e);return(0,u.attr)(t,"tabIndex","-1"),t}build(e){this.clear(),e.forEach(((e,t)=>{const i=new p(this.jodit,e);this.append(i),this.j.e.on(i.container,"focus",(()=>this.onSelect(t))).on(i.container,"click",(()=>this.onSelect(t))).on(i.container,"dblclick",(()=>this.onChoose(t)))})),this.currentSelection=0,this.onChangeCurrentSelection(void 0,-1,0)}onChangeCurrentSelection(e,t,i){var o,s,a;null===(o=this.elements[t])||void 0===o||o.setMod("active",!1),null===(s=this.elements[i])||void 0===s||s.setMod("active",!0),null===(a=this.elements[i])||void 0===a||a.focus(),this.j.e.fire(this,"select",this.elements[i].data)}onSelect(e){this.currentSelection=e}onChoose(e){this.j.e.fire(this,"choose",this.elements[null!=e?e:this.currentSelection].data)}selectNext(){this.currentSelection+1>this.elements.length-1?this.currentSelection=0:this.currentSelection+=1}selectPrevious(){0>this.currentSelection-1?this.currentSelection=this.elements.length-1:this.currentSelection-=1}};(0,o.gn)([(0,d.watch)("currentSelection")],g.prototype,"onChangeCurrentSelection",null),(0,o.gn)([d.autobind],g.prototype,"onSelect",null),(0,o.gn)([d.autobind],g.prototype,"onChoose",null),g=(0,o.gn)([d.component],g);let f=class extends h.u1{constructor(e){super(e),this.list=new g(this.j),this.preview=this.j.c.div(this.getFullElName("preview")),this.container.appendChild(this.list.container),this.container.appendChild(this.preview),this.list.container.classList.add(this.getFullElName("list")),e.e.on(this.list,"select",this.onSelectItem).on(this.list,"choose",this.onChooseItem)}className(){return"UIBackupBox"}build(e){this.preview.innerHTML="",this.list.build(e)}destruct(){return this.j.e.off(this.list,"select",this.onSelectItem),this.list.destruct(),super.destruct()}onSelectItem(e){this.latestSelected=e,this.preview.innerHTML=e.html||`<div class="${this.getFullElName("empty")}">${this.j.i18n("Empty")}</div>`}onChooseItem(e){this.j.e.fire(this,"choose",e)}chooseSelected(){this.onChooseItem(this.latestSelected)}};(0,o.gn)([d.autobind],f.prototype,"onSelectItem",null),(0,o.gn)([d.autobind],f.prototype,"onChooseItem",null),f=(0,o.gn)([d.component],f);var b=i(1);class v extends r.S{constructor(){var e;super(...arguments),this.requires=["license"],this.hasStyle=!b.Jodit.fatMode,this.buttons=[{name:"backup.restore",group:"history"}],this.box=new f(this.j),this.dialog=null,this.storage=null!==(e=this.jodit.o.backup.remoteStore)&&void 0!==e?e:new l(this.jodit),this.timeout=0}afterInit(e){e.registerCommand("saveBackup",this.onSaveBackup).registerCommand("openBackupDialog",{exec:this.onOpenBackupDialog,hotkeys:e.o.backup.hotkeys});const t=()=>{this.timeout=e.async.setTimeout((()=>{this.onSaveBackup(),t()}),1e3*e.o.backup.interval)};t(),e.e.on(this.box,"choose",this.onSelectItem).on(e.ow,"beforeunload.backup",(()=>{this.onSaveBackup()}))}prepareDialog(){this.dialog||(this.dialog=new c.Vq({minWidth:this.j.o.backup.dialogWidth,buttons:["fullsize","dialog.close"]}).setContent(this.box.container)),this.dialog.setHeader(this.jodit.i18n("Restore")),this.addButtonsToDialog()}onSaveBackup(){this.storage.add({created:new Date,html:this.j.value})}async onOpenBackupDialog(){this.prepareDialog();const{dialog:e}=this;if(!e)return;e.open().setModal(!0);const t=await this.storage.items();this.box.build([{created:new Date,html:this.j.value},...t]),e.calcAutoSize(),e.setPosition()}onSelectItem(e){var t;null===(t=this.dialog)||void 0===t||t.close(),this.j.value=e.html,this.j.s.focus()}addButtonsToDialog(){var e;const{jodit:t}=this,i=(0,h.zx)(t,{name:"ok",tabIndex:0,variant:"primary",text:"Ok"}),o=(0,h.zx)(t,{variant:"secondary",tabIndex:0,text:"Cancel"}),s=(0,h.zx)(t,{name:"clear",tabIndex:0,variant:"secondary",text:"Remove all"});i.onAction((()=>{this.box.chooseSelected()})),o.onAction((()=>{var e;null===(e=this.dialog)||void 0===e||e.close()})),s.onAction((()=>{(0,c.I4)("Are you sure?",void 0,(e=>{var t;e&&(this.storage.clear(),null===(t=this.dialog)||void 0===t||t.close())}))}));const a=new h.eC(t,[s,o,i]);a.container.style.margin="0",a.container.style.justifyContent="flex-end",a.container.style.width="100%",null===(e=this.dialog)||void 0===e||e.setFooter(a)}beforeDestruct(){var e;const{j:t}=this;t.async.clearTimeout(this.timeout),t.e.off(this.box,"choose",this.onSelectItem).off(t.ow,"beforeunload.backup"),this.box.destruct(),null===(e=this.dialog)||void 0===e||e.destruct()}}(0,o.gn)([d.autobind],v.prototype,"onSaveBackup",null),(0,o.gn)([d.autobind],v.prototype,"onOpenBackupDialog",null),(0,o.gn)([d.autobind],v.prototype,"onSelectItem",null),b.Jodit.plugins.add("backup",v)},e=>{e.exports='<?xml version="1.0" ?><svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><title/><g id="Upload"><path d="M16,26h8V50a2,2,0,0,0,2,2H38a2,2,0,0,0,2-2V26h8a2,2,0,0,0,1.4946-3.3291l-16-18a2,2,0,0,0-2.9892,0l-16,18A2,2,0,0,0,16,26ZM32,9.0107,43.5464,22H38a2,2,0,0,0-2,2V48H28V24a2,2,0,0,0-2-2H20.4536Z"/><path d="M53,42a2,2,0,0,0-2,2V54a2.0023,2.0023,0,0,1-2,2H15a2.0023,2.0023,0,0,1-2-2V44a2,2,0,0,0-4,0V54a6.0066,6.0066,0,0,0,6,6H49a6.0066,6.0066,0,0,0,6-6V44A2,2,0,0,0,53,42Z"/></g></svg>'},(e,t,i)=>{"use strict";i.r(t)},function(e,t,i){"use strict";i.d(t,{emoji:()=>p});var o,s=i(185),a=i(62),n=i(2),r=i(37),l=i(10),c=i(19),d=i(4);let h=o=class extends r.u1{constructor(e,t){super(e),this.onInsert=t,this.recent=[],this.map={},this.activeIndex=0,this.cache={},this.setMod("loading",!0),(async()=>{this.data=await e.o.emoji.data(),this.setMod("loading",!1),this.data.emoji.forEach((e=>{const t=o.normalizeEmoji(e);this.map[t.emoji]=t})),this.setItems(this.defaultList),d.Dom.append(this.categories,this.generateCategoriesList(this.data.categories)),this.setActiveCategory(0)})()}className(){return"Emoji"}get defaultList(){return this.recent.concat(this.data.emoji)}reset(){this.input.nativeInput.value="",this.setItems(this.defaultList),this.setActiveCategory(0)}setItems(e){this.list.scrollTo(0,0),d.Dom.detach(this.list),d.Dom.append(this.list,this.generateEmojiList(e,this.data.categories))}createContainer(e){const t=this.j.c.div("jodit-emoji");this.input=new r.u3(this.j,{name:"search",icon:"search",autocomplete:!1,clearButton:!0,placeholder:"Search emoji"}),this.input.container.classList.add(this.getFullElName("input")),this.categories=this.j.c.div(this.getFullElName("categories")),this.list=this.j.c.div(this.getFullElName("emojis"));const i=this.j.c.div(this.getFullElName("navigate"));return d.Dom.append(i,[this.categories,this.input.container]),d.Dom.append(t,[i,this.list]),t}static getInstance(e,t){return this.__instance||(this.__instance=new o(e,t)),this.__instance.onInsert=t,this.__instance.data&&this.__instance.reset(),this.__instance}setActiveCategory(e,t=!1){const i=this.getElms("category"),o=i[this.activeIndex];i[e]||(e=i.length-1);const s=i[e],a=this.getFullElName("category","active",!0);o&&o.classList.remove(a),s&&s.classList.add(a),t&&this.getElms("category-title")[e].scrollIntoView(),this.activeIndex=e}generateCategoriesList(e){return e.map(((t,i)=>this.j.c.div(this.getFullElName("category"),{"data-index":i,title:t,style:{width:100/e.length+"%"}})))}generateEmojiList(e,t){let i="";return e.reduce(((e,s,a)=>{var n,r;if(s=o.normalizeEmoji(s),t[s.category]!==i){i=t[s.category];const o=null!==(n=this.cache[i])&&void 0!==n?n:this.j.c.div(this.getFullElName("category-title"),i?this.j.i18n(i):"");this.cache[i]=o,e.push(o)}const l=null!==(r=this.cache[s.emoji+s.category])&&void 0!==r?r:this.j.c.div(this.getFullElName("emoji"),{"data-id":a,"data-value":s.emoji},s.emoji);return this.cache[s.emoji+s.category]=l,e.push(l),e}),[])}static isShortCat(e){return e&&(0,l.isString)(e.e)}static normalizeEmoji(e){return o.isShortCat(e)?{emoji:e.e,description:e.d,category:e.c,aliases:e.a,tags:e.t}:e}onInsertCode(e){this.onInsert(e);const t=this.map[e];if(t){const i=[...this.recent],o=i.findIndex((t=>t.emoji===e));-1!==o&&i.splice(o,1),i.unshift({...t,category:-1}),this.recent=i}}onScrollList(){const e=this.list.scrollTop,t=this.getElms("category-title");let i=0;t.forEach(((t,o)=>{e>t.offsetTop-this.list.offsetTop-20&&(i=o)})),this.setActiveCategory(i)}onClickCategory(e){this.clearFilter();const t=e.target;t.classList.contains(this.getFullElName("category"))&&this.setActiveCategory(parseInt((0,l.attr)(t,"-index")||"0",10)||0,!0)}onClickItem(e){const t=e.target;if(t.classList.contains(this.getFullElName("emoji"))){const e=(0,l.attr)(t,"-value")||"";e&&this.onInsertCode(e)}e.preventDefault()}onInputFilter(){const e=this.input.value.toLowerCase();if(!e.length)return this.setItems(this.defaultList);this.setItems(this.defaultList.filter((t=>{var i,s,a;const n=o.normalizeEmoji(t);return(null===(i=n.description)||void 0===i?void 0:i.toLowerCase().includes(e))||(null===(s=n.tags)||void 0===s?void 0:s.join(" ").toLowerCase().includes(e))||(null===(a=n.aliases)||void 0===a?void 0:a.join(" ").toLowerCase().includes(e))})))}clearFilter(){this.input.nativeInput.value.length&&this.reset()}onReady(){this.j.e.on(this.input.nativeInput,"input",this.onInputFilter).on(this.categories,"click",this.onClickCategory).on(this.list,"scroll",this.onScrollList).on(this.list,"mousedown touchstart",this.onClickItem)}destruct(){return o.__instance=null,this.input.destruct(),super.destruct()}};(0,s.gn)([c.persistent],h.prototype,"recent",void 0),(0,s.gn)([(0,c.throttle)()],h.prototype,"onScrollList",null),(0,s.gn)([c.autobind],h.prototype,"onClickCategory",null),(0,s.gn)([c.autobind],h.prototype,"onClickItem",null),(0,s.gn)([(0,c.debounce)()],h.prototype,"onInputFilter",null),(0,s.gn)([(0,c.hook)("ready")],h.prototype,"onReady",null),h=o=(0,s.gn)([c.component],h);var u=i(1);n.D.prototype.emoji={data:()=>i(215),enableAutoComplete:!0,recentCountLimit:10},n.D.prototype.controls.emoji={tooltip:"Insert Emoji",icon:i(216),popup(e,t,i,o){e.s.save();const s=h.getInstance(e,(t=>{e.s.restore(),e.s.insertNode(e.createInside.text(t),!0),o()}));return e.e.one("beforePopupClose",(()=>{e.s.restore()})),s.container}};class p extends a.S{constructor(){super(...arguments),this.requires=["autocomplete","license"],this.hasStyle=!u.Jodit.fatMode,this.buttons=[{name:"emoji",group:"insert"}]}async afterInit(e){const t=await e.o.emoji.data();e.isInDestruct||(this.data={...t,emoji:t.emoji.map(h.normalizeEmoji)},e.o.emoji.enableAutoComplete&&e.e.fire("registerAutocompleteSource",this.onAutoComplete),e.async.requestIdleCallback((()=>{h.getInstance(e,(()=>{}))})))}onAutoComplete(e){return e.length>2&&":"===e[0]&&(e=e.substr(1).toLowerCase(),(0,l.trim)(e).length)?this.data.emoji.filter((t=>{var i;return 0===(null===(i=t.description)||void 0===i?void 0:i.indexOf(e))})).sort(((t,i)=>t.description.indexOf(e)-i.description.indexOf(e))).map((e=>({title:`${e.emoji} ${e.description}`,value:e.emoji}))):[]}beforeDestruct(e){}}(0,s.gn)([c.autobind],p.prototype,"onAutoComplete",null),u.Jodit.plugins.add("emoji",p)},e=>{"use strict";e.exports=JSON.parse('{"categories":["Smileys & Emotion","People & Body","Animals & Nature","Food & Drink","Travel & Places","Activities","Objects","Symbols","Flags"],"emoji":[{"e":"😀","d":"grinning face","c":0,"a":["grinning"],"t":["smile","happy"]},{"e":"😃","d":"grinning face with big eyes","c":0,"a":["smiley"],"t":["happy","joy","haha"]},{"e":"😄","d":"grinning face with smiling eyes","c":0,"a":["smile"],"t":["happy","joy","laugh","pleased"]},{"e":"😁","d":"beaming face with smiling eyes","c":0,"a":["grin"]},{"e":"😆","d":"grinning squinting face","c":0,"a":["laughing","satisfied"],"t":["happy","haha"]},{"e":"😅","d":"grinning face with sweat","c":0,"a":["sweat_smile"],"t":["hot"]},{"e":"🤣","d":"rolling on the floor laughing","c":0,"a":["rofl"],"t":["lol","laughing"]},{"e":"😂","d":"face with tears of joy","c":0,"a":["joy"],"t":["tears"]},{"e":"🙂","d":"slightly smiling face","c":0,"a":["slightly_smiling_face"]},{"e":"🙃","d":"upside-down face","c":0,"a":["upside_down_face"]},{"e":"😉","d":"winking face","c":0,"a":["wink"],"t":["flirt"]},{"e":"😊","d":"smiling face with smiling eyes","c":0,"a":["blush"],"t":["proud"]},{"e":"😇","d":"smiling face with halo","c":0,"a":["innocent"],"t":["angel"]},{"e":"🥰","d":"smiling face with hearts","c":0,"a":["smiling_face_with_three_hearts"],"t":["love"]},{"e":"😍","d":"smiling face with heart-eyes","c":0,"a":["heart_eyes"],"t":["love","crush"]},{"e":"🤩","d":"star-struck","c":0,"a":["star_struck"],"t":["eyes"]},{"e":"😘","d":"face blowing a kiss","c":0,"a":["kissing_heart"],"t":["flirt"]},{"e":"😗","d":"kissing face","c":0,"a":["kissing"]},{"e":"☺️","d":"smiling face","c":0,"a":["relaxed"],"t":["blush","pleased"]},{"e":"😚","d":"kissing face with closed eyes","c":0,"a":["kissing_closed_eyes"]},{"e":"😙","d":"kissing face with smiling eyes","c":0,"a":["kissing_smiling_eyes"]},{"e":"🥲","d":"smiling face with tear","c":0,"a":["smiling_face_with_tear"]},{"e":"😋","d":"face savoring food","c":0,"a":["yum"],"t":["tongue","lick"]},{"e":"😛","d":"face with tongue","c":0,"a":["stuck_out_tongue"]},{"e":"😜","d":"winking face with tongue","c":0,"a":["stuck_out_tongue_winking_eye"],"t":["prank","silly"]},{"e":"🤪","d":"zany face","c":0,"a":["zany_face"],"t":["goofy","wacky"]},{"e":"😝","d":"squinting face with tongue","c":0,"a":["stuck_out_tongue_closed_eyes"],"t":["prank"]},{"e":"🤑","d":"money-mouth face","c":0,"a":["money_mouth_face"],"t":["rich"]},{"e":"🤗","d":"hugging face","c":0,"a":["hugs"]},{"e":"🤭","d":"face with hand over mouth","c":0,"a":["hand_over_mouth"],"t":["quiet","whoops"]},{"e":"🤫","d":"shushing face","c":0,"a":["shushing_face"],"t":["silence","quiet"]},{"e":"🤔","d":"thinking face","c":0,"a":["thinking"]},{"e":"🤐","d":"zipper-mouth face","c":0,"a":["zipper_mouth_face"],"t":["silence","hush"]},{"e":"🤨","d":"face with raised eyebrow","c":0,"a":["raised_eyebrow"],"t":["suspicious"]},{"e":"😐","d":"neutral face","c":0,"a":["neutral_face"],"t":["meh"]},{"e":"😑","d":"expressionless face","c":0,"a":["expressionless"]},{"e":"😶","d":"face without mouth","c":0,"a":["no_mouth"],"t":["mute","silence"]},{"e":"😏","d":"smirking face","c":0,"a":["smirk"],"t":["smug"]},{"e":"😒","d":"unamused face","c":0,"a":["unamused"],"t":["meh"]},{"e":"🙄","d":"face with rolling eyes","c":0,"a":["roll_eyes"]},{"e":"😬","d":"grimacing face","c":0,"a":["grimacing"]},{"e":"🤥","d":"lying face","c":0,"a":["lying_face"],"t":["liar"]},{"e":"😌","d":"relieved face","c":0,"a":["relieved"],"t":["whew"]},{"e":"😔","d":"pensive face","c":0,"a":["pensive"]},{"e":"😪","d":"sleepy face","c":0,"a":["sleepy"],"t":["tired"]},{"e":"🤤","d":"drooling face","c":0,"a":["drooling_face"]},{"e":"😴","d":"sleeping face","c":0,"a":["sleeping"],"t":["zzz"]},{"e":"😷","d":"face with medical mask","c":0,"a":["mask"],"t":["sick","ill"]},{"e":"🤒","d":"face with thermometer","c":0,"a":["face_with_thermometer"],"t":["sick"]},{"e":"🤕","d":"face with head-bandage","c":0,"a":["face_with_head_bandage"],"t":["hurt"]},{"e":"🤢","d":"nauseated face","c":0,"a":["nauseated_face"],"t":["sick","barf","disgusted"]},{"e":"🤮","d":"face vomiting","c":0,"a":["vomiting_face"],"t":["barf","sick"]},{"e":"🤧","d":"sneezing face","c":0,"a":["sneezing_face"],"t":["achoo","sick"]},{"e":"🥵","d":"hot face","c":0,"a":["hot_face"],"t":["heat","sweating"]},{"e":"🥶","d":"cold face","c":0,"a":["cold_face"],"t":["freezing","ice"]},{"e":"🥴","d":"woozy face","c":0,"a":["woozy_face"],"t":["groggy"]},{"e":"😵","d":"dizzy face","c":0,"a":["dizzy_face"]},{"e":"🤯","d":"exploding head","c":0,"a":["exploding_head"],"t":["mind","blown"]},{"e":"🤠","d":"cowboy hat face","c":0,"a":["cowboy_hat_face"]},{"e":"🥳","d":"partying face","c":0,"a":["partying_face"],"t":["celebration","birthday"]},{"e":"🥸","d":"disguised face","c":0,"a":["disguised_face"]},{"e":"😎","d":"smiling face with sunglasses","c":0,"a":["sunglasses"],"t":["cool"]},{"e":"🤓","d":"nerd face","c":0,"a":["nerd_face"],"t":["geek","glasses"]},{"e":"🧐","d":"face with monocle","c":0,"a":["monocle_face"]},{"e":"😕","d":"confused face","c":0,"a":["confused"]},{"e":"😟","d":"worried face","c":0,"a":["worried"],"t":["nervous"]},{"e":"🙁","d":"slightly frowning face","c":0,"a":["slightly_frowning_face"]},{"e":"☹️","d":"frowning face","c":0,"a":["frowning_face"]},{"e":"😮","d":"face with open mouth","c":0,"a":["open_mouth"],"t":["surprise","impressed","wow"]},{"e":"😯","d":"hushed face","c":0,"a":["hushed"],"t":["silence","speechless"]},{"e":"😲","d":"astonished face","c":0,"a":["astonished"],"t":["amazed","gasp"]},{"e":"😳","d":"flushed face","c":0,"a":["flushed"]},{"e":"🥺","d":"pleading face","c":0,"a":["pleading_face"],"t":["puppy","eyes"]},{"e":"😦","d":"frowning face with open mouth","c":0,"a":["frowning"]},{"e":"😧","d":"anguished face","c":0,"a":["anguished"],"t":["stunned"]},{"e":"😨","d":"fearful face","c":0,"a":["fearful"],"t":["scared","shocked","oops"]},{"e":"😰","d":"anxious face with sweat","c":0,"a":["cold_sweat"],"t":["nervous"]},{"e":"😥","d":"sad but relieved face","c":0,"a":["disappointed_relieved"],"t":["phew","sweat","nervous"]},{"e":"😢","d":"crying face","c":0,"a":["cry"],"t":["sad","tear"]},{"e":"😭","d":"loudly crying face","c":0,"a":["sob"],"t":["sad","cry","bawling"]},{"e":"😱","d":"face screaming in fear","c":0,"a":["scream"],"t":["horror","shocked"]},{"e":"😖","d":"confounded face","c":0,"a":["confounded"]},{"e":"😣","d":"persevering face","c":0,"a":["persevere"],"t":["struggling"]},{"e":"😞","d":"disappointed face","c":0,"a":["disappointed"],"t":["sad"]},{"e":"😓","d":"downcast face with sweat","c":0,"a":["sweat"]},{"e":"😩","d":"weary face","c":0,"a":["weary"],"t":["tired"]},{"e":"😫","d":"tired face","c":0,"a":["tired_face"],"t":["upset","whine"]},{"e":"🥱","d":"yawning face","c":0,"a":["yawning_face"]},{"e":"😤","d":"face with steam from nose","c":0,"a":["triumph"],"t":["smug"]},{"e":"😡","d":"pouting face","c":0,"a":["rage","pout"],"t":["angry"]},{"e":"😠","d":"angry face","c":0,"a":["angry"],"t":["mad","annoyed"]},{"e":"🤬","d":"face with symbols on mouth","c":0,"a":["cursing_face"],"t":["foul"]},{"e":"😈","d":"smiling face with horns","c":0,"a":["smiling_imp"],"t":["devil","evil","horns"]},{"e":"👿","d":"angry face with horns","c":0,"a":["imp"],"t":["angry","devil","evil","horns"]},{"e":"💀","d":"skull","c":0,"a":["skull"],"t":["dead","danger","poison"]},{"e":"☠️","d":"skull and crossbones","c":0,"a":["skull_and_crossbones"],"t":["danger","pirate"]},{"e":"💩","d":"pile of poo","c":0,"a":["hankey","poop","shit"],"t":["crap"]},{"e":"🤡","d":"clown face","c":0,"a":["clown_face"]},{"e":"👹","d":"ogre","c":0,"a":["japanese_ogre"],"t":["monster"]},{"e":"👺","d":"goblin","c":0,"a":["japanese_goblin"]},{"e":"👻","d":"ghost","c":0,"a":["ghost"],"t":["halloween"]},{"e":"👽","d":"alien","c":0,"a":["alien"],"t":["ufo"]},{"e":"👾","d":"alien monster","c":0,"a":["space_invader"],"t":["game","retro"]},{"e":"🤖","d":"robot","c":0,"a":["robot"]},{"e":"😺","d":"grinning cat","c":0,"a":["smiley_cat"]},{"e":"😸","d":"grinning cat with smiling eyes","c":0,"a":["smile_cat"]},{"e":"😹","d":"cat with tears of joy","c":0,"a":["joy_cat"]},{"e":"😻","d":"smiling cat with heart-eyes","c":0,"a":["heart_eyes_cat"]},{"e":"😼","d":"cat with wry smile","c":0,"a":["smirk_cat"]},{"e":"😽","d":"kissing cat","c":0,"a":["kissing_cat"]},{"e":"🙀","d":"weary cat","c":0,"a":["scream_cat"],"t":["horror"]},{"e":"😿","d":"crying cat","c":0,"a":["crying_cat_face"],"t":["sad","tear"]},{"e":"😾","d":"pouting cat","c":0,"a":["pouting_cat"]},{"e":"🙈","d":"see-no-evil monkey","c":0,"a":["see_no_evil"],"t":["monkey","blind","ignore"]},{"e":"🙉","d":"hear-no-evil monkey","c":0,"a":["hear_no_evil"],"t":["monkey","deaf"]},{"e":"🙊","d":"speak-no-evil monkey","c":0,"a":["speak_no_evil"],"t":["monkey","mute","hush"]},{"e":"💋","d":"kiss mark","c":0,"a":["kiss"],"t":["lipstick"]},{"e":"💌","d":"love letter","c":0,"a":["love_letter"],"t":["email","envelope"]},{"e":"💘","d":"heart with arrow","c":0,"a":["cupid"],"t":["love","heart"]},{"e":"💝","d":"heart with ribbon","c":0,"a":["gift_heart"],"t":["chocolates"]},{"e":"💖","d":"sparkling heart","c":0,"a":["sparkling_heart"]},{"e":"💗","d":"growing heart","c":0,"a":["heartpulse"]},{"e":"💓","d":"beating heart","c":0,"a":["heartbeat"]},{"e":"💞","d":"revolving hearts","c":0,"a":["revolving_hearts"]},{"e":"💕","d":"two hearts","c":0,"a":["two_hearts"]},{"e":"💟","d":"heart decoration","c":0,"a":["heart_decoration"]},{"e":"❣️","d":"heart exclamation","c":0,"a":["heavy_heart_exclamation"]},{"e":"💔","d":"broken heart","c":0,"a":["broken_heart"]},{"e":"❤️","d":"red heart","c":0,"a":["heart"],"t":["love"]},{"e":"🧡","d":"orange heart","c":0,"a":["orange_heart"]},{"e":"💛","d":"yellow heart","c":0,"a":["yellow_heart"]},{"e":"💚","d":"green heart","c":0,"a":["green_heart"]},{"e":"💙","d":"blue heart","c":0,"a":["blue_heart"]},{"e":"💜","d":"purple heart","c":0,"a":["purple_heart"]},{"e":"🤎","d":"brown heart","c":0,"a":["brown_heart"]},{"e":"🖤","d":"black heart","c":0,"a":["black_heart"]},{"e":"🤍","d":"white heart","c":0,"a":["white_heart"]},{"e":"💯","d":"hundred points","c":0,"a":["100"],"t":["score","perfect"]},{"e":"💢","d":"anger symbol","c":0,"a":["anger"],"t":["angry"]},{"e":"💥","d":"collision","c":0,"a":["boom","collision"],"t":["explode"]},{"e":"💫","d":"dizzy","c":0,"a":["dizzy"],"t":["star"]},{"e":"💦","d":"sweat droplets","c":0,"a":["sweat_drops"],"t":["water","workout"]},{"e":"💨","d":"dashing away","c":0,"a":["dash"],"t":["wind","blow","fast"]},{"e":"🕳️","d":"hole","c":0,"a":["hole"]},{"e":"💣","d":"bomb","c":0,"a":["bomb"],"t":["boom"]},{"e":"💬","d":"speech balloon","c":0,"a":["speech_balloon"],"t":["comment"]},{"e":"👁️🗨️","d":"eye in speech bubble","c":0,"a":["eye_speech_bubble"]},{"e":"🗨️","d":"left speech bubble","c":0,"a":["left_speech_bubble"]},{"e":"🗯️","d":"right anger bubble","c":0,"a":["right_anger_bubble"]},{"e":"💭","d":"thought balloon","c":0,"a":["thought_balloon"],"t":["thinking"]},{"e":"💤","d":"zzz","c":0,"a":["zzz"],"t":["sleeping"]},{"e":"👋","d":"waving hand","c":1,"a":["wave"],"t":["goodbye"]},{"e":"🤚","d":"raised back of hand","c":1,"a":["raised_back_of_hand"]},{"e":"🖐️","d":"hand with fingers splayed","c":1,"a":["raised_hand_with_fingers_splayed"]},{"e":"✋","d":"raised hand","c":1,"a":["hand","raised_hand"],"t":["highfive","stop"]},{"e":"🖖","d":"vulcan salute","c":1,"a":["vulcan_salute"],"t":["prosper","spock"]},{"e":"👌","d":"OK hand","c":1,"a":["ok_hand"]},{"e":"🤌","d":"pinched fingers","c":1,"a":["pinched_fingers"]},{"e":"🤏","d":"pinching hand","c":1,"a":["pinching_hand"]},{"e":"✌️","d":"victory hand","c":1,"a":["v"],"t":["victory","peace"]},{"e":"🤞","d":"crossed fingers","c":1,"a":["crossed_fingers"],"t":["luck","hopeful"]},{"e":"🤟","d":"love-you gesture","c":1,"a":["love_you_gesture"]},{"e":"🤘","d":"sign of the horns","c":1,"a":["metal"]},{"e":"🤙","d":"call me hand","c":1,"a":["call_me_hand"]},{"e":"👈","d":"backhand index pointing left","c":1,"a":["point_left"]},{"e":"👉","d":"backhand index pointing right","c":1,"a":["point_right"]},{"e":"👆","d":"backhand index pointing up","c":1,"a":["point_up_2"]},{"e":"🖕","d":"middle finger","c":1,"a":["middle_finger","fu"]},{"e":"👇","d":"backhand index pointing down","c":1,"a":["point_down"]},{"e":"☝️","d":"index pointing up","c":1,"a":["point_up"]},{"e":"👍","d":"thumbs up","c":1,"a":["+1","thumbsup"],"t":["approve","ok"]},{"e":"👎","d":"thumbs down","c":1,"a":["-1","thumbsdown"],"t":["disapprove","bury"]},{"e":"✊","d":"raised fist","c":1,"a":["fist_raised","fist"],"t":["power"]},{"e":"👊","d":"oncoming fist","c":1,"a":["fist_oncoming","facepunch","punch"],"t":["attack"]},{"e":"🤛","d":"left-facing fist","c":1,"a":["fist_left"]},{"e":"🤜","d":"right-facing fist","c":1,"a":["fist_right"]},{"e":"👏","d":"clapping hands","c":1,"a":["clap"],"t":["praise","applause"]},{"e":"🙌","d":"raising hands","c":1,"a":["raised_hands"],"t":["hooray"]},{"e":"👐","d":"open hands","c":1,"a":["open_hands"]},{"e":"🤲","d":"palms up together","c":1,"a":["palms_up_together"]},{"e":"🤝","d":"handshake","c":1,"a":["handshake"],"t":["deal"]},{"e":"🙏","d":"folded hands","c":1,"a":["pray"],"t":["please","hope","wish"]},{"e":"✍️","d":"writing hand","c":1,"a":["writing_hand"]},{"e":"💅","d":"nail polish","c":1,"a":["nail_care"],"t":["beauty","manicure"]},{"e":"🤳","d":"selfie","c":1,"a":["selfie"]},{"e":"💪","d":"flexed biceps","c":1,"a":["muscle"],"t":["flex","bicep","strong","workout"]},{"e":"🦾","d":"mechanical arm","c":1,"a":["mechanical_arm"]},{"e":"🦿","d":"mechanical leg","c":1,"a":["mechanical_leg"]},{"e":"🦵","d":"leg","c":1,"a":["leg"]},{"e":"🦶","d":"foot","c":1,"a":["foot"]},{"e":"👂","d":"ear","c":1,"a":["ear"],"t":["hear","sound","listen"]},{"e":"🦻","d":"ear with hearing aid","c":1,"a":["ear_with_hearing_aid"]},{"e":"👃","d":"nose","c":1,"a":["nose"],"t":["smell"]},{"e":"🧠","d":"brain","c":1,"a":["brain"]},{"e":"🫀","d":"anatomical heart","c":1,"a":["anatomical_heart"]},{"e":"🫁","d":"lungs","c":1,"a":["lungs"]},{"e":"🦷","d":"tooth","c":1,"a":["tooth"]},{"e":"🦴","d":"bone","c":1,"a":["bone"]},{"e":"👀","d":"eyes","c":1,"a":["eyes"],"t":["look","see","watch"]},{"e":"👁️","d":"eye","c":1,"a":["eye"]},{"e":"👅","d":"tongue","c":1,"a":["tongue"],"t":["taste"]},{"e":"👄","d":"mouth","c":1,"a":["lips"],"t":["kiss"]},{"e":"👶","d":"baby","c":1,"a":["baby"],"t":["child","newborn"]},{"e":"🧒","d":"child","c":1,"a":["child"]},{"e":"👦","d":"boy","c":1,"a":["boy"],"t":["child"]},{"e":"👧","d":"girl","c":1,"a":["girl"],"t":["child"]},{"e":"🧑","d":"person","c":1,"a":["adult"]},{"e":"👱","d":"person: blond hair","c":1,"a":["blond_haired_person"]},{"e":"👨","d":"man","c":1,"a":["man"],"t":["mustache","father","dad"]},{"e":"🧔","d":"man: beard","c":1,"a":["bearded_person"]},{"e":"👨🦰","d":"man: red hair","c":1,"a":["red_haired_man"]},{"e":"👨🦱","d":"man: curly hair","c":1,"a":["curly_haired_man"]},{"e":"👨🦳","d":"man: white hair","c":1,"a":["white_haired_man"]},{"e":"👨🦲","d":"man: bald","c":1,"a":["bald_man"]},{"e":"👩","d":"woman","c":1,"a":["woman"],"t":["girls"]},{"e":"👩🦰","d":"woman: red hair","c":1,"a":["red_haired_woman"]},{"e":"🧑🦰","d":"person: red hair","c":1,"a":["person_red_hair"]},{"e":"👩🦱","d":"woman: curly hair","c":1,"a":["curly_haired_woman"]},{"e":"🧑🦱","d":"person: curly hair","c":1,"a":["person_curly_hair"]},{"e":"👩🦳","d":"woman: white hair","c":1,"a":["white_haired_woman"]},{"e":"🧑🦳","d":"person: white hair","c":1,"a":["person_white_hair"]},{"e":"👩🦲","d":"woman: bald","c":1,"a":["bald_woman"]},{"e":"🧑🦲","d":"person: bald","c":1,"a":["person_bald"]},{"e":"👱♀️","d":"woman: blond hair","c":1,"a":["blond_haired_woman","blonde_woman"]},{"e":"👱♂️","d":"man: blond hair","c":1,"a":["blond_haired_man"]},{"e":"🧓","d":"older person","c":1,"a":["older_adult"]},{"e":"👴","d":"old man","c":1,"a":["older_man"]},{"e":"👵","d":"old woman","c":1,"a":["older_woman"]},{"e":"🙍","d":"person frowning","c":1,"a":["frowning_person"]},{"e":"🙍♂️","d":"man frowning","c":1,"a":["frowning_man"]},{"e":"🙍♀️","d":"woman frowning","c":1,"a":["frowning_woman"]},{"e":"🙎","d":"person pouting","c":1,"a":["pouting_face"]},{"e":"🙎♂️","d":"man pouting","c":1,"a":["pouting_man"]},{"e":"🙎♀️","d":"woman pouting","c":1,"a":["pouting_woman"]},{"e":"🙅","d":"person gesturing NO","c":1,"a":["no_good"],"t":["stop","halt","denied"]},{"e":"🙅♂️","d":"man gesturing NO","c":1,"a":["no_good_man","ng_man"],"t":["stop","halt","denied"]},{"e":"🙅♀️","d":"woman gesturing NO","c":1,"a":["no_good_woman","ng_woman"],"t":["stop","halt","denied"]},{"e":"🙆","d":"person gesturing OK","c":1,"a":["ok_person"]},{"e":"🙆♂️","d":"man gesturing OK","c":1,"a":["ok_man"]},{"e":"🙆♀️","d":"woman gesturing OK","c":1,"a":["ok_woman"]},{"e":"💁","d":"person tipping hand","c":1,"a":["tipping_hand_person","information_desk_person"]},{"e":"💁♂️","d":"man tipping hand","c":1,"a":["tipping_hand_man","sassy_man"],"t":["information"]},{"e":"💁♀️","d":"woman tipping hand","c":1,"a":["tipping_hand_woman","sassy_woman"],"t":["information"]},{"e":"🙋","d":"person raising hand","c":1,"a":["raising_hand"]},{"e":"🙋♂️","d":"man raising hand","c":1,"a":["raising_hand_man"]},{"e":"🙋♀️","d":"woman raising hand","c":1,"a":["raising_hand_woman"]},{"e":"🧏","d":"deaf person","c":1,"a":["deaf_person"]},{"e":"🧏♂️","d":"deaf man","c":1,"a":["deaf_man"]},{"e":"🧏♀️","d":"deaf woman","c":1,"a":["deaf_woman"]},{"e":"🙇","d":"person bowing","c":1,"a":["bow"],"t":["respect","thanks"]},{"e":"🙇♂️","d":"man bowing","c":1,"a":["bowing_man"],"t":["respect","thanks"]},{"e":"🙇♀️","d":"woman bowing","c":1,"a":["bowing_woman"],"t":["respect","thanks"]},{"e":"🤦","d":"person facepalming","c":1,"a":["facepalm"]},{"e":"🤦♂️","d":"man facepalming","c":1,"a":["man_facepalming"]},{"e":"🤦♀️","d":"woman facepalming","c":1,"a":["woman_facepalming"]},{"e":"🤷","d":"person shrugging","c":1,"a":["shrug"]},{"e":"🤷♂️","d":"man shrugging","c":1,"a":["man_shrugging"]},{"e":"🤷♀️","d":"woman shrugging","c":1,"a":["woman_shrugging"]},{"e":"🧑��️","d":"health worker","c":1,"a":["health_worker"]},{"e":"👨⚕️","d":"man health worker","c":1,"a":["man_health_worker"],"t":["doctor","nurse"]},{"e":"👩⚕️","d":"woman health worker","c":1,"a":["woman_health_worker"],"t":["doctor","nurse"]},{"e":"🧑🎓","d":"student","c":1,"a":["student"]},{"e":"👨🎓","d":"man student","c":1,"a":["man_student"],"t":["graduation"]},{"e":"👩🎓","d":"woman student","c":1,"a":["woman_student"],"t":["graduation"]},{"e":"🧑🏫","d":"teacher","c":1,"a":["teacher"]},{"e":"👨🏫","d":"man teacher","c":1,"a":["man_teacher"],"t":["school","professor"]},{"e":"👩🏫","d":"woman teacher","c":1,"a":["woman_teacher"],"t":["school","professor"]},{"e":"🧑⚖️","d":"judge","c":1,"a":["judge"]},{"e":"👨⚖️","d":"man judge","c":1,"a":["man_judge"],"t":["justice"]},{"e":"👩⚖️","d":"woman judge","c":1,"a":["woman_judge"],"t":["justice"]},{"e":"🧑🌾","d":"farmer","c":1,"a":["farmer"]},{"e":"👨🌾","d":"man farmer","c":1,"a":["man_farmer"]},{"e":"👩🌾","d":"woman farmer","c":1,"a":["woman_farmer"]},{"e":"🧑🍳","d":"cook","c":1,"a":["cook"]},{"e":"👨🍳","d":"man cook","c":1,"a":["man_cook"],"t":["chef"]},{"e":"👩🍳","d":"woman cook","c":1,"a":["woman_cook"],"t":["chef"]},{"e":"🧑🔧","d":"mechanic","c":1,"a":["mechanic"]},{"e":"👨🔧","d":"man mechanic","c":1,"a":["man_mechanic"]},{"e":"👩🔧","d":"woman mechanic","c":1,"a":["woman_mechanic"]},{"e":"🧑🏭","d":"factory worker","c":1,"a":["factory_worker"]},{"e":"👨���","d":"man factory worker","c":1,"a":["man_factory_worker"]},{"e":"👩🏭","d":"woman factory worker","c":1,"a":["woman_factory_worker"]},{"e":"🧑💼","d":"office worker","c":1,"a":["office_worker"]},{"e":"👨💼","d":"man office worker","c":1,"a":["man_office_worker"],"t":["business"]},{"e":"👩💼","d":"woman office worker","c":1,"a":["woman_office_worker"],"t":["business"]},{"e":"🧑🔬","d":"scientist","c":1,"a":["scientist"]},{"e":"👨🔬","d":"man scientist","c":1,"a":["man_scientist"],"t":["research"]},{"e":"👩🔬","d":"woman scientist","c":1,"a":["woman_scientist"],"t":["research"]},{"e":"🧑💻","d":"technologist","c":1,"a":["technologist"]},{"e":"👨💻","d":"man technologist","c":1,"a":["man_technologist"],"t":["coder"]},{"e":"👩💻","d":"woman technologist","c":1,"a":["woman_technologist"],"t":["coder"]},{"e":"🧑🎤","d":"singer","c":1,"a":["singer"]},{"e":"👨🎤","d":"man singer","c":1,"a":["man_singer"],"t":["rockstar"]},{"e":"👩🎤","d":"woman singer","c":1,"a":["woman_singer"],"t":["rockstar"]},{"e":"🧑🎨","d":"artist","c":1,"a":["artist"]},{"e":"👨🎨","d":"man artist","c":1,"a":["man_artist"],"t":["painter"]},{"e":"👩🎨","d":"woman artist","c":1,"a":["woman_artist"],"t":["painter"]},{"e":"🧑✈️","d":"pilot","c":1,"a":["pilot"]},{"e":"👨✈️","d":"man pilot","c":1,"a":["man_pilot"]},{"e":"👩✈️","d":"woman pilot","c":1,"a":["woman_pilot"]},{"e":"🧑🚀","d":"astronaut","c":1,"a":["astronaut"]},{"e":"👨🚀","d":"man astronaut","c":1,"a":["man_astronaut"],"t":["space"]},{"e":"👩🚀","d":"woman astronaut","c":1,"a":["woman_astronaut"],"t":["space"]},{"e":"🧑🚒","d":"firefighter","c":1,"a":["firefighter"]},{"e":"👨🚒","d":"man firefighter","c":1,"a":["man_firefighter"]},{"e":"👩🚒","d":"woman firefighter","c":1,"a":["woman_firefighter"]},{"e":"👮","d":"police officer","c":1,"a":["police_officer","cop"],"t":["law"]},{"e":"👮♂️","d":"man police officer","c":1,"a":["policeman"],"t":["law","cop"]},{"e":"👮♀️","d":"woman police officer","c":1,"a":["policewoman"],"t":["law","cop"]},{"e":"🕵️","d":"detective","c":1,"a":["detective"],"t":["sleuth"]},{"e":"🕵️♂️","d":"man detective","c":1,"a":["male_detective"],"t":["sleuth"]},{"e":"🕵️♀️","d":"woman detective","c":1,"a":["female_detective"],"t":["sleuth"]},{"e":"💂","d":"guard","c":1,"a":["guard"]},{"e":"💂♂️","d":"man guard","c":1,"a":["guardsman"]},{"e":"💂♀️","d":"woman guard","c":1,"a":["guardswoman"]},{"e":"🥷","d":"ninja","c":1,"a":["ninja"]},{"e":"👷","d":"construction worker","c":1,"a":["construction_worker"],"t":["helmet"]},{"e":"👷♂️","d":"man construction worker","c":1,"a":["construction_worker_man"],"t":["helmet"]},{"e":"👷♀️","d":"woman construction worker","c":1,"a":["construction_worker_woman"],"t":["helmet"]},{"e":"🤴","d":"prince","c":1,"a":["prince"],"t":["crown","royal"]},{"e":"👸","d":"princess","c":1,"a":["princess"],"t":["crown","royal"]},{"e":"👳","d":"person wearing turban","c":1,"a":["person_with_turban"]},{"e":"👳♂️","d":"man wearing turban","c":1,"a":["man_with_turban"]},{"e":"👳♀️","d":"woman wearing turban","c":1,"a":["woman_with_turban"]},{"e":"👲","d":"person with skullcap","c":1,"a":["man_with_gua_pi_mao"]},{"e":"🧕","d":"woman with headscarf","c":1,"a":["woman_with_headscarf"],"t":["hijab"]},{"e":"🤵","d":"person in tuxedo","c":1,"a":["person_in_tuxedo"],"t":["groom","marriage","wedding"]},{"e":"🤵♂️","d":"man in tuxedo","c":1,"a":["man_in_tuxedo"]},{"e":"🤵♀️","d":"woman in tuxedo","c":1,"a":["woman_in_tuxedo"]},{"e":"👰","d":"person with veil","c":1,"a":["person_with_veil"],"t":["marriage","wedding"]},{"e":"👰♂️","d":"man with veil","c":1,"a":["man_with_veil"]},{"e":"👰♀️","d":"woman with veil","c":1,"a":["woman_with_veil","bride_with_veil"]},{"e":"🤰","d":"pregnant woman","c":1,"a":["pregnant_woman"]},{"e":"🤱","d":"breast-feeding","c":1,"a":["breast_feeding"],"t":["nursing"]},{"e":"👩🍼","d":"woman feeding baby","c":1,"a":["woman_feeding_baby"]},{"e":"👨🍼","d":"man feeding baby","c":1,"a":["man_feeding_baby"]},{"e":"🧑🍼","d":"person feeding baby","c":1,"a":["person_feeding_baby"]},{"e":"👼","d":"baby angel","c":1,"a":["angel"]},{"e":"🎅","d":"Santa Claus","c":1,"a":["santa"],"t":["christmas"]},{"e":"🤶","d":"Mrs. Claus","c":1,"a":["mrs_claus"],"t":["santa"]},{"e":"🧑🎄","d":"mx claus","c":1,"a":["mx_claus"]},{"e":"🦸","d":"superhero","c":1,"a":["superhero"]},{"e":"🦸♂️","d":"man superhero","c":1,"a":["superhero_man"]},{"e":"🦸♀️","d":"woman superhero","c":1,"a":["superhero_woman"]},{"e":"🦹","d":"supervillain","c":1,"a":["supervillain"]},{"e":"🦹♂️","d":"man supervillain","c":1,"a":["supervillain_man"]},{"e":"🦹♀️","d":"woman supervillain","c":1,"a":["supervillain_woman"]},{"e":"🧙","d":"mage","c":1,"a":["mage"],"t":["wizard"]},{"e":"🧙♂️","d":"man mage","c":1,"a":["mage_man"],"t":["wizard"]},{"e":"🧙♀️","d":"woman mage","c":1,"a":["mage_woman"],"t":["wizard"]},{"e":"🧚","d":"fairy","c":1,"a":["fairy"]},{"e":"🧚♂️","d":"man fairy","c":1,"a":["fairy_man"]},{"e":"🧚♀️","d":"woman fairy","c":1,"a":["fairy_woman"]},{"e":"🧛","d":"vampire","c":1,"a":["vampire"]},{"e":"🧛♂️","d":"man vampire","c":1,"a":["vampire_man"]},{"e":"🧛♀️","d":"woman vampire","c":1,"a":["vampire_woman"]},{"e":"🧜","d":"merperson","c":1,"a":["merperson"]},{"e":"🧜♂️","d":"merman","c":1,"a":["merman"]},{"e":"🧜♀️","d":"mermaid","c":1,"a":["mermaid"]},{"e":"🧝","d":"elf","c":1,"a":["elf"]},{"e":"🧝♂️","d":"man elf","c":1,"a":["elf_man"]},{"e":"🧝♀️","d":"woman elf","c":1,"a":["elf_woman"]},{"e":"🧞","d":"genie","c":1,"a":["genie"]},{"e":"🧞♂️","d":"man genie","c":1,"a":["genie_man"]},{"e":"🧞♀️","d":"woman genie","c":1,"a":["genie_woman"]},{"e":"🧟","d":"zombie","c":1,"a":["zombie"]},{"e":"🧟♂️","d":"man zombie","c":1,"a":["zombie_man"]},{"e":"🧟♀️","d":"woman zombie","c":1,"a":["zombie_woman"]},{"e":"💆","d":"person getting massage","c":1,"a":["massage"],"t":["spa"]},{"e":"💆♂️","d":"man getting massage","c":1,"a":["massage_man"],"t":["spa"]},{"e":"💆♀️","d":"woman getting massage","c":1,"a":["massage_woman"],"t":["spa"]},{"e":"💇","d":"person getting haircut","c":1,"a":["haircut"],"t":["beauty"]},{"e":"💇♂️","d":"man getting haircut","c":1,"a":["haircut_man"]},{"e":"💇♀️","d":"woman getting haircut","c":1,"a":["haircut_woman"]},{"e":"🚶","d":"person walking","c":1,"a":["walking"]},{"e":"🚶♂️","d":"man walking","c":1,"a":["walking_man"]},{"e":"🚶♀️","d":"woman walking","c":1,"a":["walking_woman"]},{"e":"🧍","d":"person standing","c":1,"a":["standing_person"]},{"e":"🧍♂️","d":"man standing","c":1,"a":["standing_man"]},{"e":"🧍♀️","d":"woman standing","c":1,"a":["standing_woman"]},{"e":"🧎","d":"person kneeling","c":1,"a":["kneeling_person"]},{"e":"🧎♂️","d":"man kneeling","c":1,"a":["kneeling_man"]},{"e":"🧎♀️","d":"woman kneeling","c":1,"a":["kneeling_woman"]},{"e":"🧑🦯","d":"person with white cane","c":1,"a":["person_with_probing_cane"]},{"e":"👨🦯","d":"man with white cane","c":1,"a":["man_with_probing_cane"]},{"e":"👩🦯","d":"woman with white cane","c":1,"a":["woman_with_probing_cane"]},{"e":"🧑🦼","d":"person in motorized wheelchair","c":1,"a":["person_in_motorized_wheelchair"]},{"e":"👨🦼","d":"man in motorized wheelchair","c":1,"a":["man_in_motorized_wheelchair"]},{"e":"👩🦼","d":"woman in motorized wheelchair","c":1,"a":["woman_in_motorized_wheelchair"]},{"e":"🧑🦽","d":"person in manual wheelchair","c":1,"a":["person_in_manual_wheelchair"]},{"e":"����🦽","d":"man in manual wheelchair","c":1,"a":["man_in_manual_wheelchair"]},{"e":"👩🦽","d":"woman in manual wheelchair","c":1,"a":["woman_in_manual_wheelchair"]},{"e":"🏃","d":"person running","c":1,"a":["runner","running"],"t":["exercise","workout","marathon"]},{"e":"🏃♂️","d":"man running","c":1,"a":["running_man"],"t":["exercise","workout","marathon"]},{"e":"🏃♀️","d":"woman running","c":1,"a":["running_woman"],"t":["exercise","workout","marathon"]},{"e":"💃","d":"woman dancing","c":1,"a":["woman_dancing","dancer"],"t":["dress"]},{"e":"🕺","d":"man dancing","c":1,"a":["man_dancing"],"t":["dancer"]},{"e":"🕴️","d":"person in suit levitating","c":1,"a":["business_suit_levitating"]},{"e":"👯","d":"people with bunny ears","c":1,"a":["dancers"],"t":["bunny"]},{"e":"👯♂️","d":"men with bunny ears","c":1,"a":["dancing_men"],"t":["bunny"]},{"e":"👯♀️","d":"women with bunny ears","c":1,"a":["dancing_women"],"t":["bunny"]},{"e":"🧖","d":"person in steamy room","c":1,"a":["sauna_person"],"t":["steamy"]},{"e":"🧖♂️","d":"man in steamy room","c":1,"a":["sauna_man"],"t":["steamy"]},{"e":"🧖♀️","d":"woman in steamy room","c":1,"a":["sauna_woman"],"t":["steamy"]},{"e":"🧗","d":"person climbing","c":1,"a":["climbing"],"t":["bouldering"]},{"e":"🧗♂️","d":"man climbing","c":1,"a":["climbing_man"],"t":["bouldering"]},{"e":"🧗♀️","d":"woman climbing","c":1,"a":["climbing_woman"],"t":["bouldering"]},{"e":"🤺","d":"person fencing","c":1,"a":["person_fencing"]},{"e":"🏇","d":"horse racing","c":1,"a":["horse_racing"]},{"e":"⛷️","d":"skier","c":1,"a":["skier"]},{"e":"🏂","d":"snowboarder","c":1,"a":["snowboarder"]},{"e":"🏌️","d":"person golfing","c":1,"a":["golfing"]},{"e":"🏌️♂️","d":"man golfing","c":1,"a":["golfing_man"]},{"e":"🏌️♀️","d":"woman golfing","c":1,"a":["golfing_woman"]},{"e":"🏄","d":"person surfing","c":1,"a":["surfer"]},{"e":"🏄♂️","d":"man surfing","c":1,"a":["surfing_man"]},{"e":"🏄♀️","d":"woman surfing","c":1,"a":["surfing_woman"]},{"e":"🚣","d":"person rowing boat","c":1,"a":["rowboat"]},{"e":"🚣♂️","d":"man rowing boat","c":1,"a":["rowing_man"]},{"e":"🚣♀️","d":"woman rowing boat","c":1,"a":["rowing_woman"]},{"e":"🏊","d":"person swimming","c":1,"a":["swimmer"]},{"e":"🏊♂️","d":"man swimming","c":1,"a":["swimming_man"]},{"e":"🏊♀️","d":"woman swimming","c":1,"a":["swimming_woman"]},{"e":"⛹️","d":"person bouncing ball","c":1,"a":["bouncing_ball_person"],"t":["basketball"]},{"e":"⛹️♂️","d":"man bouncing ball","c":1,"a":["bouncing_ball_man","basketball_man"]},{"e":"⛹️♀️","d":"woman bouncing ball","c":1,"a":["bouncing_ball_woman","basketball_woman"]},{"e":"🏋️","d":"person lifting weights","c":1,"a":["weight_lifting"],"t":["gym","workout"]},{"e":"🏋️♂️","d":"man lifting weights","c":1,"a":["weight_lifting_man"],"t":["gym","workout"]},{"e":"🏋️♀️","d":"woman lifting weights","c":1,"a":["weight_lifting_woman"],"t":["gym","workout"]},{"e":"🚴","d":"person biking","c":1,"a":["bicyclist"]},{"e":"🚴♂️","d":"man biking","c":1,"a":["biking_man"]},{"e":"🚴♀️","d":"woman biking","c":1,"a":["biking_woman"]},{"e":"🚵","d":"person mountain biking","c":1,"a":["mountain_bicyclist"]},{"e":"🚵♂️","d":"man mountain biking","c":1,"a":["mountain_biking_man"]},{"e":"🚵♀️","d":"woman mountain biking","c":1,"a":["mountain_biking_woman"]},{"e":"🤸","d":"person cartwheeling","c":1,"a":["cartwheeling"]},{"e":"🤸♂️","d":"man cartwheeling","c":1,"a":["man_cartwheeling"]},{"e":"🤸♀️","d":"woman cartwheeling","c":1,"a":["woman_cartwheeling"]},{"e":"🤼","d":"people wrestling","c":1,"a":["wrestling"]},{"e":"🤼♂️","d":"men wrestling","c":1,"a":["men_wrestling"]},{"e":"🤼♀️","d":"women wrestling","c":1,"a":["women_wrestling"]},{"e":"🤽","d":"person playing water polo","c":1,"a":["water_polo"]},{"e":"🤽♂️","d":"man playing water polo","c":1,"a":["man_playing_water_polo"]},{"e":"🤽♀️","d":"woman playing water polo","c":1,"a":["woman_playing_water_polo"]},{"e":"🤾","d":"person playing handball","c":1,"a":["handball_person"]},{"e":"🤾♂️","d":"man playing handball","c":1,"a":["man_playing_handball"]},{"e":"🤾♀️","d":"woman playing handball","c":1,"a":["woman_playing_handball"]},{"e":"🤹","d":"person juggling","c":1,"a":["juggling_person"]},{"e":"🤹♂️","d":"man juggling","c":1,"a":["man_juggling"]},{"e":"🤹♀️","d":"woman juggling","c":1,"a":["woman_juggling"]},{"e":"🧘","d":"person in lotus position","c":1,"a":["lotus_position"],"t":["meditation"]},{"e":"🧘♂️","d":"man in lotus position","c":1,"a":["lotus_position_man"],"t":["meditation"]},{"e":"🧘♀️","d":"woman in lotus position","c":1,"a":["lotus_position_woman"],"t":["meditation"]},{"e":"🛀","d":"person taking bath","c":1,"a":["bath"],"t":["shower"]},{"e":"🛌","d":"person in bed","c":1,"a":["sleeping_bed"]},{"e":"🧑🤝🧑","d":"people holding hands","c":1,"a":["people_holding_hands"],"t":["couple","date"]},{"e":"👭","d":"women holding hands","c":1,"a":["two_women_holding_hands"],"t":["couple","date"]},{"e":"👫","d":"woman and man holding hands","c":1,"a":["couple"],"t":["date"]},{"e":"👬","d":"men holding hands","c":1,"a":["two_men_holding_hands"],"t":["couple","date"]},{"e":"💏","d":"kiss","c":1,"a":["couplekiss"]},{"e":"👩❤️💋👨","d":"kiss: woman, man","c":1,"a":["couplekiss_man_woman"]},{"e":"👨❤️💋👨","d":"kiss: man, man","c":1,"a":["couplekiss_man_man"]},{"e":"👩❤️💋👩","d":"kiss: woman, woman","c":1,"a":["couplekiss_woman_woman"]},{"e":"💑","d":"couple with heart","c":1,"a":["couple_with_heart"]},{"e":"👩❤️👨","d":"couple with heart: woman, man","c":1,"a":["couple_with_heart_woman_man"]},{"e":"👨❤️👨","d":"couple with heart: man, man","c":1,"a":["couple_with_heart_man_man"]},{"e":"👩❤️👩","d":"couple with heart: woman, woman","c":1,"a":["couple_with_heart_woman_woman"]},{"e":"👪","d":"family","c":1,"a":["family"],"t":["home","parents","child"]},{"e":"👨👩👦","d":"family: man, woman, boy","c":1,"a":["family_man_woman_boy"]},{"e":"👨👩👧","d":"family: man, woman, girl","c":1,"a":["family_man_woman_girl"]},{"e":"👨👩👧👦","d":"family: man, woman, girl, boy","c":1,"a":["family_man_woman_girl_boy"]},{"e":"👨👩👦👦","d":"family: man, woman, boy, boy","c":1,"a":["family_man_woman_boy_boy"]},{"e":"👨👩👧👧","d":"family: man, woman, girl, girl","c":1,"a":["family_man_woman_girl_girl"]},{"e":"👨👨👦","d":"family: man, man, boy","c":1,"a":["family_man_man_boy"]},{"e":"👨👨👧","d":"family: man, man, girl","c":1,"a":["family_man_man_girl"]},{"e":"👨👨👧👦","d":"family: man, man, girl, boy","c":1,"a":["family_man_man_girl_boy"]},{"e":"👨👨👦👦","d":"family: man, man, boy, boy","c":1,"a":["family_man_man_boy_boy"]},{"e":"👨👨👧👧","d":"family: man, man, girl, girl","c":1,"a":["family_man_man_girl_girl"]},{"e":"👩👩👦","d":"family: woman, woman, boy","c":1,"a":["family_woman_woman_boy"]},{"e":"👩👩👧","d":"family: woman, woman, girl","c":1,"a":["family_woman_woman_girl"]},{"e":"👩👩👧👦","d":"family: woman, woman, girl, boy","c":1,"a":["family_woman_woman_girl_boy"]},{"e":"👩👩👦👦","d":"family: woman, woman, boy, boy","c":1,"a":["family_woman_woman_boy_boy"]},{"e":"👩👩👧👧","d":"family: woman, woman, girl, girl","c":1,"a":["family_woman_woman_girl_girl"]},{"e":"👨👦","d":"family: man, boy","c":1,"a":["family_man_boy"]},{"e":"👨👦👦","d":"family: man, boy, boy","c":1,"a":["family_man_boy_boy"]},{"e":"👨👧","d":"family: man, girl","c":1,"a":["family_man_girl"]},{"e":"👨👧👦","d":"family: man, girl, boy","c":1,"a":["family_man_girl_boy"]},{"e":"👨👧👧","d":"family: man, girl, girl","c":1,"a":["family_man_girl_girl"]},{"e":"👩👦","d":"family: woman, boy","c":1,"a":["family_woman_boy"]},{"e":"👩👦👦","d":"family: woman, boy, boy","c":1,"a":["family_woman_boy_boy"]},{"e":"👩👧","d":"family: woman, girl","c":1,"a":["family_woman_girl"]},{"e":"👩👧👦","d":"family: woman, girl, boy","c":1,"a":["family_woman_girl_boy"]},{"e":"👩👧👧","d":"family: woman, girl, girl","c":1,"a":["family_woman_girl_girl"]},{"e":"🗣️","d":"speaking head","c":1,"a":["speaking_head"]},{"e":"👤","d":"bust in silhouette","c":1,"a":["bust_in_silhouette"],"t":["user"]},{"e":"👥","d":"busts in silhouette","c":1,"a":["busts_in_silhouette"],"t":["users","group","team"]},{"e":"🫂","d":"people hugging","c":1,"a":["people_hugging"]},{"e":"👣","d":"footprints","c":1,"a":["footprints"],"t":["feet","tracks"]},{"e":"🐵","d":"monkey face","c":2,"a":["monkey_face"]},{"e":"🐒","d":"monkey","c":2,"a":["monkey"]},{"e":"🦍","d":"gorilla","c":2,"a":["gorilla"]},{"e":"🦧","d":"orangutan","c":2,"a":["orangutan"]},{"e":"🐶","d":"dog face","c":2,"a":["dog"],"t":["pet"]},{"e":"🐕","d":"dog","c":2,"a":["dog2"]},{"e":"🦮","d":"guide dog","c":2,"a":["guide_dog"]},{"e":"🐕🦺","d":"service dog","c":2,"a":["service_dog"]},{"e":"🐩","d":"poodle","c":2,"a":["poodle"],"t":["dog"]},{"e":"🐺","d":"wolf","c":2,"a":["wolf"]},{"e":"🦊","d":"fox","c":2,"a":["fox_face"]},{"e":"🦝","d":"raccoon","c":2,"a":["raccoon"]},{"e":"🐱","d":"cat face","c":2,"a":["cat"],"t":["pet"]},{"e":"🐈","d":"cat","c":2,"a":["cat2"]},{"e":"🐈⬛","d":"black cat","c":2,"a":["black_cat"]},{"e":"🦁","d":"lion","c":2,"a":["lion"]},{"e":"🐯","d":"tiger face","c":2,"a":["tiger"]},{"e":"🐅","d":"tiger","c":2,"a":["tiger2"]},{"e":"🐆","d":"leopard","c":2,"a":["leopard"]},{"e":"🐴","d":"horse face","c":2,"a":["horse"]},{"e":"🐎","d":"horse","c":2,"a":["racehorse"],"t":["speed"]},{"e":"🦄","d":"unicorn","c":2,"a":["unicorn"]},{"e":"🦓","d":"zebra","c":2,"a":["zebra"]},{"e":"🦌","d":"deer","c":2,"a":["deer"]},{"e":"🦬","d":"bison","c":2,"a":["bison"]},{"e":"🐮","d":"cow face","c":2,"a":["cow"]},{"e":"🐂","d":"ox","c":2,"a":["ox"]},{"e":"🐃","d":"water buffalo","c":2,"a":["water_buffalo"]},{"e":"🐄","d":"cow","c":2,"a":["cow2"]},{"e":"🐷","d":"pig face","c":2,"a":["pig"]},{"e":"🐖","d":"pig","c":2,"a":["pig2"]},{"e":"🐗","d":"boar","c":2,"a":["boar"]},{"e":"🐽","d":"pig nose","c":2,"a":["pig_nose"]},{"e":"🐏","d":"ram","c":2,"a":["ram"]},{"e":"🐑","d":"ewe","c":2,"a":["sheep"]},{"e":"🐐","d":"goat","c":2,"a":["goat"]},{"e":"🐪","d":"camel","c":2,"a":["dromedary_camel"],"t":["desert"]},{"e":"🐫","d":"two-hump camel","c":2,"a":["camel"]},{"e":"🦙","d":"llama","c":2,"a":["llama"]},{"e":"🦒","d":"giraffe","c":2,"a":["giraffe"]},{"e":"🐘","d":"elephant","c":2,"a":["elephant"]},{"e":"🦣","d":"mammoth","c":2,"a":["mammoth"]},{"e":"🦏","d":"rhinoceros","c":2,"a":["rhinoceros"]},{"e":"🦛","d":"hippopotamus","c":2,"a":["hippopotamus"]},{"e":"🐭","d":"mouse face","c":2,"a":["mouse"]},{"e":"🐁","d":"mouse","c":2,"a":["mouse2"]},{"e":"🐀","d":"rat","c":2,"a":["rat"]},{"e":"🐹","d":"hamster","c":2,"a":["hamster"],"t":["pet"]},{"e":"🐰","d":"rabbit face","c":2,"a":["rabbit"],"t":["bunny"]},{"e":"🐇","d":"rabbit","c":2,"a":["rabbit2"]},{"e":"🐿️","d":"chipmunk","c":2,"a":["chipmunk"]},{"e":"🦫","d":"beaver","c":2,"a":["beaver"]},{"e":"🦔","d":"hedgehog","c":2,"a":["hedgehog"]},{"e":"🦇","d":"bat","c":2,"a":["bat"]},{"e":"🐻","d":"bear","c":2,"a":["bear"]},{"e":"🐻❄️","d":"polar bear","c":2,"a":["polar_bear"]},{"e":"🐨","d":"koala","c":2,"a":["koala"]},{"e":"🐼","d":"panda","c":2,"a":["panda_face"]},{"e":"🦥","d":"sloth","c":2,"a":["sloth"]},{"e":"🦦","d":"otter","c":2,"a":["otter"]},{"e":"🦨","d":"skunk","c":2,"a":["skunk"]},{"e":"🦘","d":"kangaroo","c":2,"a":["kangaroo"]},{"e":"🦡","d":"badger","c":2,"a":["badger"]},{"e":"🐾","d":"paw prints","c":2,"a":["feet","paw_prints"]},{"e":"🦃","d":"turkey","c":2,"a":["turkey"],"t":["thanksgiving"]},{"e":"🐔","d":"chicken","c":2,"a":["chicken"]},{"e":"🐓","d":"rooster","c":2,"a":["rooster"]},{"e":"🐣","d":"hatching chick","c":2,"a":["hatching_chick"]},{"e":"🐤","d":"baby chick","c":2,"a":["baby_chick"]},{"e":"🐥","d":"front-facing baby chick","c":2,"a":["hatched_chick"]},{"e":"🐦","d":"bird","c":2,"a":["bird"]},{"e":"🐧","d":"penguin","c":2,"a":["penguin"]},{"e":"🕊️","d":"dove","c":2,"a":["dove"],"t":["peace"]},{"e":"🦅","d":"eagle","c":2,"a":["eagle"]},{"e":"🦆","d":"duck","c":2,"a":["duck"]},{"e":"🦢","d":"swan","c":2,"a":["swan"]},{"e":"🦉","d":"owl","c":2,"a":["owl"]},{"e":"🦤","d":"dodo","c":2,"a":["dodo"]},{"e":"🪶","d":"feather","c":2,"a":["feather"]},{"e":"🦩","d":"flamingo","c":2,"a":["flamingo"]},{"e":"🦚","d":"peacock","c":2,"a":["peacock"]},{"e":"🦜","d":"parrot","c":2,"a":["parrot"]},{"e":"🐸","d":"frog","c":2,"a":["frog"]},{"e":"🐊","d":"crocodile","c":2,"a":["crocodile"]},{"e":"🐢","d":"turtle","c":2,"a":["turtle"],"t":["slow"]},{"e":"🦎","d":"lizard","c":2,"a":["lizard"]},{"e":"🐍","d":"snake","c":2,"a":["snake"]},{"e":"🐲","d":"dragon face","c":2,"a":["dragon_face"]},{"e":"🐉","d":"dragon","c":2,"a":["dragon"]},{"e":"🦕","d":"sauropod","c":2,"a":["sauropod"],"t":["dinosaur"]},{"e":"🦖","d":"T-Rex","c":2,"a":["t-rex"],"t":["dinosaur"]},{"e":"🐳","d":"spouting whale","c":2,"a":["whale"],"t":["sea"]},{"e":"🐋","d":"whale","c":2,"a":["whale2"]},{"e":"🐬","d":"dolphin","c":2,"a":["dolphin","flipper"]},{"e":"🦭","d":"seal","c":2,"a":["seal"]},{"e":"🐟","d":"fish","c":2,"a":["fish"]},{"e":"🐠","d":"tropical fish","c":2,"a":["tropical_fish"]},{"e":"🐡","d":"blowfish","c":2,"a":["blowfish"]},{"e":"🦈","d":"shark","c":2,"a":["shark"]},{"e":"🐙","d":"octopus","c":2,"a":["octopus"]},{"e":"🐚","d":"spiral shell","c":2,"a":["shell"],"t":["sea","beach"]},{"e":"🐌","d":"snail","c":2,"a":["snail"],"t":["slow"]},{"e":"🦋","d":"butterfly","c":2,"a":["butterfly"]},{"e":"🐛","d":"bug","c":2,"a":["bug"]},{"e":"🐜","d":"ant","c":2,"a":["ant"]},{"e":"🐝","d":"honeybee","c":2,"a":["bee","honeybee"]},{"e":"🪲","d":"beetle","c":2,"a":["beetle"]},{"e":"🐞","d":"lady beetle","c":2,"a":["lady_beetle"],"t":["bug"]},{"e":"🦗","d":"cricket","c":2,"a":["cricket"]},{"e":"🪳","d":"cockroach","c":2,"a":["cockroach"]},{"e":"🕷️","d":"spider","c":2,"a":["spider"]},{"e":"🕸️","d":"spider web","c":2,"a":["spider_web"]},{"e":"🦂","d":"scorpion","c":2,"a":["scorpion"]},{"e":"🦟","d":"mosquito","c":2,"a":["mosquito"]},{"e":"🪰","d":"fly","c":2,"a":["fly"]},{"e":"🪱","d":"worm","c":2,"a":["worm"]},{"e":"🦠","d":"microbe","c":2,"a":["microbe"],"t":["germ"]},{"e":"💐","d":"bouquet","c":2,"a":["bouquet"],"t":["flowers"]},{"e":"🌸","d":"cherry blossom","c":2,"a":["cherry_blossom"],"t":["flower","spring"]},{"e":"💮","d":"white flower","c":2,"a":["white_flower"]},{"e":"🏵️","d":"rosette","c":2,"a":["rosette"]},{"e":"🌹","d":"rose","c":2,"a":["rose"],"t":["flower"]},{"e":"🥀","d":"wilted flower","c":2,"a":["wilted_flower"]},{"e":"🌺","d":"hibiscus","c":2,"a":["hibiscus"]},{"e":"🌻","d":"sunflower","c":2,"a":["sunflower"]},{"e":"🌼","d":"blossom","c":2,"a":["blossom"]},{"e":"🌷","d":"tulip","c":2,"a":["tulip"],"t":["flower"]},{"e":"🌱","d":"seedling","c":2,"a":["seedling"],"t":["plant"]},{"e":"🪴","d":"potted plant","c":2,"a":["potted_plant"]},{"e":"🌲","d":"evergreen tree","c":2,"a":["evergreen_tree"],"t":["wood"]},{"e":"🌳","d":"deciduous tree","c":2,"a":["deciduous_tree"],"t":["wood"]},{"e":"🌴","d":"palm tree","c":2,"a":["palm_tree"]},{"e":"🌵","d":"cactus","c":2,"a":["cactus"]},{"e":"🌾","d":"sheaf of rice","c":2,"a":["ear_of_rice"]},{"e":"🌿","d":"herb","c":2,"a":["herb"]},{"e":"☘️","d":"shamrock","c":2,"a":["shamrock"]},{"e":"🍀","d":"four leaf clover","c":2,"a":["four_leaf_clover"],"t":["luck"]},{"e":"🍁","d":"maple leaf","c":2,"a":["maple_leaf"],"t":["canada"]},{"e":"🍂","d":"fallen leaf","c":2,"a":["fallen_leaf"],"t":["autumn"]},{"e":"🍃","d":"leaf fluttering in wind","c":2,"a":["leaves"],"t":["leaf"]},{"e":"🍇","d":"grapes","c":3,"a":["grapes"]},{"e":"🍈","d":"melon","c":3,"a":["melon"]},{"e":"🍉","d":"watermelon","c":3,"a":["watermelon"]},{"e":"🍊","d":"tangerine","c":3,"a":["tangerine","orange","mandarin"]},{"e":"🍋","d":"lemon","c":3,"a":["lemon"]},{"e":"🍌","d":"banana","c":3,"a":["banana"],"t":["fruit"]},{"e":"🍍","d":"pineapple","c":3,"a":["pineapple"]},{"e":"🥭","d":"mango","c":3,"a":["mango"]},{"e":"🍎","d":"red apple","c":3,"a":["apple"]},{"e":"🍏","d":"green apple","c":3,"a":["green_apple"],"t":["fruit"]},{"e":"🍐","d":"pear","c":3,"a":["pear"]},{"e":"🍑","d":"peach","c":3,"a":["peach"]},{"e":"🍒","d":"cherries","c":3,"a":["cherries"],"t":["fruit"]},{"e":"🍓","d":"strawberry","c":3,"a":["strawberry"],"t":["fruit"]},{"e":"🫐","d":"blueberries","c":3,"a":["blueberries"]},{"e":"🥝","d":"kiwi fruit","c":3,"a":["kiwi_fruit"]},{"e":"🍅","d":"tomato","c":3,"a":["tomato"]},{"e":"🫒","d":"olive","c":3,"a":["olive"]},{"e":"🥥","d":"coconut","c":3,"a":["coconut"]},{"e":"🥑","d":"avocado","c":3,"a":["avocado"]},{"e":"🍆","d":"eggplant","c":3,"a":["eggplant"],"t":["aubergine"]},{"e":"🥔","d":"potato","c":3,"a":["potato"]},{"e":"🥕","d":"carrot","c":3,"a":["carrot"]},{"e":"🌽","d":"ear of corn","c":3,"a":["corn"]},{"e":"🌶️","d":"hot pepper","c":3,"a":["hot_pepper"],"t":["spicy"]},{"e":"🫑","d":"bell pepper","c":3,"a":["bell_pepper"]},{"e":"🥒","d":"cucumber","c":3,"a":["cucumber"]},{"e":"🥬","d":"leafy green","c":3,"a":["leafy_green"]},{"e":"🥦","d":"broccoli","c":3,"a":["broccoli"]},{"e":"🧄","d":"garlic","c":3,"a":["garlic"]},{"e":"🧅","d":"onion","c":3,"a":["onion"]},{"e":"🍄","d":"mushroom","c":3,"a":["mushroom"]},{"e":"🥜","d":"peanuts","c":3,"a":["peanuts"]},{"e":"🌰","d":"chestnut","c":3,"a":["chestnut"]},{"e":"🍞","d":"bread","c":3,"a":["bread"],"t":["toast"]},{"e":"🥐","d":"croissant","c":3,"a":["croissant"]},{"e":"🥖","d":"baguette bread","c":3,"a":["baguette_bread"]},{"e":"🫓","d":"flatbread","c":3,"a":["flatbread"]},{"e":"🥨","d":"pretzel","c":3,"a":["pretzel"]},{"e":"🥯","d":"bagel","c":3,"a":["bagel"]},{"e":"🥞","d":"pancakes","c":3,"a":["pancakes"]},{"e":"🧇","d":"waffle","c":3,"a":["waffle"]},{"e":"🧀","d":"cheese wedge","c":3,"a":["cheese"]},{"e":"🍖","d":"meat on bone","c":3,"a":["meat_on_bone"]},{"e":"🍗","d":"poultry leg","c":3,"a":["poultry_leg"],"t":["meat","chicken"]},{"e":"🥩","d":"cut of meat","c":3,"a":["cut_of_meat"]},{"e":"🥓","d":"bacon","c":3,"a":["bacon"]},{"e":"🍔","d":"hamburger","c":3,"a":["hamburger"],"t":["burger"]},{"e":"🍟","d":"french fries","c":3,"a":["fries"]},{"e":"🍕","d":"pizza","c":3,"a":["pizza"]},{"e":"🌭","d":"hot dog","c":3,"a":["hotdog"]},{"e":"🥪","d":"sandwich","c":3,"a":["sandwich"]},{"e":"🌮","d":"taco","c":3,"a":["taco"]},{"e":"🌯","d":"burrito","c":3,"a":["burrito"]},{"e":"🫔","d":"tamale","c":3,"a":["tamale"]},{"e":"🥙","d":"stuffed flatbread","c":3,"a":["stuffed_flatbread"]},{"e":"🧆","d":"falafel","c":3,"a":["falafel"]},{"e":"🥚","d":"egg","c":3,"a":["egg"]},{"e":"🍳","d":"cooking","c":3,"a":["fried_egg"],"t":["breakfast"]},{"e":"🥘","d":"shallow pan of food","c":3,"a":["shallow_pan_of_food"],"t":["paella","curry"]},{"e":"🍲","d":"pot of food","c":3,"a":["stew"]},{"e":"🫕","d":"fondue","c":3,"a":["fondue"]},{"e":"🥣","d":"bowl with spoon","c":3,"a":["bowl_with_spoon"]},{"e":"🥗","d":"green salad","c":3,"a":["green_salad"]},{"e":"🍿","d":"popcorn","c":3,"a":["popcorn"]},{"e":"🧈","d":"butter","c":3,"a":["butter"]},{"e":"🧂","d":"salt","c":3,"a":["salt"]},{"e":"🥫","d":"canned food","c":3,"a":["canned_food"]},{"e":"🍱","d":"bento box","c":3,"a":["bento"]},{"e":"🍘","d":"rice cracker","c":3,"a":["rice_cracker"]},{"e":"🍙","d":"rice ball","c":3,"a":["rice_ball"]},{"e":"🍚","d":"cooked rice","c":3,"a":["rice"]},{"e":"🍛","d":"curry rice","c":3,"a":["curry"]},{"e":"🍜","d":"steaming bowl","c":3,"a":["ramen"],"t":["noodle"]},{"e":"🍝","d":"spaghetti","c":3,"a":["spaghetti"],"t":["pasta"]},{"e":"🍠","d":"roasted sweet potato","c":3,"a":["sweet_potato"]},{"e":"🍢","d":"oden","c":3,"a":["oden"]},{"e":"🍣","d":"sushi","c":3,"a":["sushi"]},{"e":"🍤","d":"fried shrimp","c":3,"a":["fried_shrimp"],"t":["tempura"]},{"e":"🍥","d":"fish cake with swirl","c":3,"a":["fish_cake"]},{"e":"🥮","d":"moon cake","c":3,"a":["moon_cake"]},{"e":"🍡","d":"dango","c":3,"a":["dango"]},{"e":"🥟","d":"dumpling","c":3,"a":["dumpling"]},{"e":"🥠","d":"fortune cookie","c":3,"a":["fortune_cookie"]},{"e":"🥡","d":"takeout box","c":3,"a":["takeout_box"]},{"e":"🦀","d":"crab","c":3,"a":["crab"]},{"e":"🦞","d":"lobster","c":3,"a":["lobster"]},{"e":"🦐","d":"shrimp","c":3,"a":["shrimp"]},{"e":"🦑","d":"squid","c":3,"a":["squid"]},{"e":"🦪","d":"oyster","c":3,"a":["oyster"]},{"e":"🍦","d":"soft ice cream","c":3,"a":["icecream"]},{"e":"🍧","d":"shaved ice","c":3,"a":["shaved_ice"]},{"e":"🍨","d":"ice cream","c":3,"a":["ice_cream"]},{"e":"🍩","d":"doughnut","c":3,"a":["doughnut"]},{"e":"🍪","d":"cookie","c":3,"a":["cookie"]},{"e":"🎂","d":"birthday cake","c":3,"a":["birthday"],"t":["party"]},{"e":"🍰","d":"shortcake","c":3,"a":["cake"],"t":["dessert"]},{"e":"🧁","d":"cupcake","c":3,"a":["cupcake"]},{"e":"🥧","d":"pie","c":3,"a":["pie"]},{"e":"🍫","d":"chocolate bar","c":3,"a":["chocolate_bar"]},{"e":"🍬","d":"candy","c":3,"a":["candy"],"t":["sweet"]},{"e":"🍭","d":"lollipop","c":3,"a":["lollipop"]},{"e":"🍮","d":"custard","c":3,"a":["custard"]},{"e":"🍯","d":"honey pot","c":3,"a":["honey_pot"]},{"e":"🍼","d":"baby bottle","c":3,"a":["baby_bottle"],"t":["milk"]},{"e":"🥛","d":"glass of milk","c":3,"a":["milk_glass"]},{"e":"☕","d":"hot beverage","c":3,"a":["coffee"],"t":["cafe","espresso"]},{"e":"🫖","d":"teapot","c":3,"a":["teapot"]},{"e":"🍵","d":"teacup without handle","c":3,"a":["tea"],"t":["green","breakfast"]},{"e":"🍶","d":"sake","c":3,"a":["sake"]},{"e":"🍾","d":"bottle with popping cork","c":3,"a":["champagne"],"t":["bottle","bubbly","celebration"]},{"e":"🍷","d":"wine glass","c":3,"a":["wine_glass"]},{"e":"🍸","d":"cocktail glass","c":3,"a":["cocktail"],"t":["drink"]},{"e":"🍹","d":"tropical drink","c":3,"a":["tropical_drink"],"t":["summer","vacation"]},{"e":"🍺","d":"beer mug","c":3,"a":["beer"],"t":["drink"]},{"e":"🍻","d":"clinking beer mugs","c":3,"a":["beers"],"t":["drinks"]},{"e":"🥂","d":"clinking glasses","c":3,"a":["clinking_glasses"],"t":["cheers","toast"]},{"e":"🥃","d":"tumbler glass","c":3,"a":["tumbler_glass"],"t":["whisky"]},{"e":"🥤","d":"cup with straw","c":3,"a":["cup_with_straw"]},{"e":"🧋","d":"bubble tea","c":3,"a":["bubble_tea"]},{"e":"🧃","d":"beverage box","c":3,"a":["beverage_box"]},{"e":"🧉","d":"mate","c":3,"a":["mate"]},{"e":"🧊","d":"ice","c":3,"a":["ice_cube"]},{"e":"🥢","d":"chopsticks","c":3,"a":["chopsticks"]},{"e":"🍽️","d":"fork and knife with plate","c":3,"a":["plate_with_cutlery"],"t":["dining","dinner"]},{"e":"🍴","d":"fork and knife","c":3,"a":["fork_and_knife"],"t":["cutlery"]},{"e":"🥄","d":"spoon","c":3,"a":["spoon"]},{"e":"🔪","d":"kitchen knife","c":3,"a":["hocho","knife"],"t":["cut","chop"]},{"e":"🏺","d":"amphora","c":3,"a":["amphora"]},{"e":"🌍","d":"globe showing Europe-Africa","c":4,"a":["earth_africa"],"t":["globe","world","international"]},{"e":"🌎","d":"globe showing Americas","c":4,"a":["earth_americas"],"t":["globe","world","international"]},{"e":"🌏","d":"globe showing Asia-Australia","c":4,"a":["earth_asia"],"t":["globe","world","international"]},{"e":"🌐","d":"globe with meridians","c":4,"a":["globe_with_meridians"],"t":["world","global","international"]},{"e":"🗺️","d":"world map","c":4,"a":["world_map"],"t":["travel"]},{"e":"🗾","d":"map of Japan","c":4,"a":["japan"]},{"e":"🧭","d":"compass","c":4,"a":["compass"]},{"e":"🏔️","d":"snow-capped mountain","c":4,"a":["mountain_snow"]},{"e":"⛰️","d":"mountain","c":4,"a":["mountain"]},{"e":"🌋","d":"volcano","c":4,"a":["volcano"]},{"e":"🗻","d":"mount fuji","c":4,"a":["mount_fuji"]},{"e":"🏕️","d":"camping","c":4,"a":["camping"]},{"e":"🏖️","d":"beach with umbrella","c":4,"a":["beach_umbrella"]},{"e":"🏜️","d":"desert","c":4,"a":["desert"]},{"e":"🏝️","d":"desert island","c":4,"a":["desert_island"]},{"e":"🏞️","d":"national park","c":4,"a":["national_park"]},{"e":"🏟️","d":"stadium","c":4,"a":["stadium"]},{"e":"🏛️","d":"classical building","c":4,"a":["classical_building"]},{"e":"🏗️","d":"building construction","c":4,"a":["building_construction"]},{"e":"🧱","d":"brick","c":4,"a":["bricks"]},{"e":"🪨","d":"rock","c":4,"a":["rock"]},{"e":"🪵","d":"wood","c":4,"a":["wood"]},{"e":"🛖","d":"hut","c":4,"a":["hut"]},{"e":"🏘️","d":"houses","c":4,"a":["houses"]},{"e":"🏚️","d":"derelict house","c":4,"a":["derelict_house"]},{"e":"🏠","d":"house","c":4,"a":["house"]},{"e":"🏡","d":"house with garden","c":4,"a":["house_with_garden"]},{"e":"🏢","d":"office building","c":4,"a":["office"]},{"e":"🏣","d":"Japanese post office","c":4,"a":["post_office"]},{"e":"🏤","d":"post office","c":4,"a":["european_post_office"]},{"e":"🏥","d":"hospital","c":4,"a":["hospital"]},{"e":"🏦","d":"bank","c":4,"a":["bank"]},{"e":"🏨","d":"hotel","c":4,"a":["hotel"]},{"e":"🏩","d":"love hotel","c":4,"a":["love_hotel"]},{"e":"🏪","d":"convenience store","c":4,"a":["convenience_store"]},{"e":"🏫","d":"school","c":4,"a":["school"]},{"e":"🏬","d":"department store","c":4,"a":["department_store"]},{"e":"🏭","d":"factory","c":4,"a":["factory"]},{"e":"🏯","d":"Japanese castle","c":4,"a":["japanese_castle"]},{"e":"🏰","d":"castle","c":4,"a":["european_castle"]},{"e":"💒","d":"wedding","c":4,"a":["wedding"],"t":["marriage"]},{"e":"🗼","d":"Tokyo tower","c":4,"a":["tokyo_tower"]},{"e":"🗽","d":"Statue of Liberty","c":4,"a":["statue_of_liberty"]},{"e":"⛪","d":"church","c":4,"a":["church"]},{"e":"🕌","d":"mosque","c":4,"a":["mosque"]},{"e":"🛕","d":"hindu temple","c":4,"a":["hindu_temple"]},{"e":"🕍","d":"synagogue","c":4,"a":["synagogue"]},{"e":"⛩️","d":"shinto shrine","c":4,"a":["shinto_shrine"]},{"e":"🕋","d":"kaaba","c":4,"a":["kaaba"]},{"e":"⛲","d":"fountain","c":4,"a":["fountain"]},{"e":"⛺","d":"tent","c":4,"a":["tent"],"t":["camping"]},{"e":"🌁","d":"foggy","c":4,"a":["foggy"],"t":["karl"]},{"e":"🌃","d":"night with stars","c":4,"a":["night_with_stars"]},{"e":"🏙️","d":"cityscape","c":4,"a":["cityscape"],"t":["skyline"]},{"e":"🌄","d":"sunrise over mountains","c":4,"a":["sunrise_over_mountains"]},{"e":"🌅","d":"sunrise","c":4,"a":["sunrise"]},{"e":"🌆","d":"cityscape at dusk","c":4,"a":["city_sunset"]},{"e":"🌇","d":"sunset","c":4,"a":["city_sunrise"]},{"e":"🌉","d":"bridge at night","c":4,"a":["bridge_at_night"]},{"e":"♨️","d":"hot springs","c":4,"a":["hotsprings"]},{"e":"🎠","d":"carousel horse","c":4,"a":["carousel_horse"]},{"e":"🎡","d":"ferris wheel","c":4,"a":["ferris_wheel"]},{"e":"🎢","d":"roller coaster","c":4,"a":["roller_coaster"]},{"e":"💈","d":"barber pole","c":4,"a":["barber"]},{"e":"🎪","d":"circus tent","c":4,"a":["circus_tent"]},{"e":"🚂","d":"locomotive","c":4,"a":["steam_locomotive"],"t":["train"]},{"e":"🚃","d":"railway car","c":4,"a":["railway_car"]},{"e":"🚄","d":"high-speed train","c":4,"a":["bullettrain_side"],"t":["train"]},{"e":"🚅","d":"bullet train","c":4,"a":["bullettrain_front"],"t":["train"]},{"e":"🚆","d":"train","c":4,"a":["train2"]},{"e":"🚇","d":"metro","c":4,"a":["metro"]},{"e":"🚈","d":"light rail","c":4,"a":["light_rail"]},{"e":"🚉","d":"station","c":4,"a":["station"]},{"e":"🚊","d":"tram","c":4,"a":["tram"]},{"e":"🚝","d":"monorail","c":4,"a":["monorail"]},{"e":"🚞","d":"mountain railway","c":4,"a":["mountain_railway"]},{"e":"🚋","d":"tram car","c":4,"a":["train"]},{"e":"🚌","d":"bus","c":4,"a":["bus"]},{"e":"🚍","d":"oncoming bus","c":4,"a":["oncoming_bus"]},{"e":"🚎","d":"trolleybus","c":4,"a":["trolleybus"]},{"e":"🚐","d":"minibus","c":4,"a":["minibus"]},{"e":"🚑","d":"ambulance","c":4,"a":["ambulance"]},{"e":"🚒","d":"fire engine","c":4,"a":["fire_engine"]},{"e":"🚓","d":"police car","c":4,"a":["police_car"]},{"e":"🚔","d":"oncoming police car","c":4,"a":["oncoming_police_car"]},{"e":"🚕","d":"taxi","c":4,"a":["taxi"]},{"e":"🚖","d":"oncoming taxi","c":4,"a":["oncoming_taxi"]},{"e":"🚗","d":"automobile","c":4,"a":["car","red_car"]},{"e":"🚘","d":"oncoming automobile","c":4,"a":["oncoming_automobile"]},{"e":"🚙","d":"sport utility vehicle","c":4,"a":["blue_car"]},{"e":"🛻","d":"pickup truck","c":4,"a":["pickup_truck"]},{"e":"🚚","d":"delivery truck","c":4,"a":["truck"]},{"e":"🚛","d":"articulated lorry","c":4,"a":["articulated_lorry"]},{"e":"🚜","d":"tractor","c":4,"a":["tractor"]},{"e":"🏎️","d":"racing car","c":4,"a":["racing_car"]},{"e":"🏍️","d":"motorcycle","c":4,"a":["motorcycle"]},{"e":"🛵","d":"motor scooter","c":4,"a":["motor_scooter"]},{"e":"🦽","d":"manual wheelchair","c":4,"a":["manual_wheelchair"]},{"e":"🦼","d":"motorized wheelchair","c":4,"a":["motorized_wheelchair"]},{"e":"🛺","d":"auto rickshaw","c":4,"a":["auto_rickshaw"]},{"e":"🚲","d":"bicycle","c":4,"a":["bike"],"t":["bicycle"]},{"e":"🛴","d":"kick scooter","c":4,"a":["kick_scooter"]},{"e":"🛹","d":"skateboard","c":4,"a":["skateboard"]},{"e":"🛼","d":"roller skate","c":4,"a":["roller_skate"]},{"e":"🚏","d":"bus stop","c":4,"a":["busstop"]},{"e":"🛣️","d":"motorway","c":4,"a":["motorway"]},{"e":"🛤️","d":"railway track","c":4,"a":["railway_track"]},{"e":"🛢️","d":"oil drum","c":4,"a":["oil_drum"]},{"e":"⛽","d":"fuel pump","c":4,"a":["fuelpump"]},{"e":"🚨","d":"police car light","c":4,"a":["rotating_light"],"t":["911","emergency"]},{"e":"🚥","d":"horizontal traffic light","c":4,"a":["traffic_light"]},{"e":"🚦","d":"vertical traffic light","c":4,"a":["vertical_traffic_light"],"t":["semaphore"]},{"e":"🛑","d":"stop sign","c":4,"a":["stop_sign"]},{"e":"🚧","d":"construction","c":4,"a":["construction"],"t":["wip"]},{"e":"⚓","d":"anchor","c":4,"a":["anchor"],"t":["ship"]},{"e":"⛵","d":"sailboat","c":4,"a":["boat","sailboat"]},{"e":"🛶","d":"canoe","c":4,"a":["canoe"]},{"e":"🚤","d":"speedboat","c":4,"a":["speedboat"],"t":["ship"]},{"e":"🛳️","d":"passenger ship","c":4,"a":["passenger_ship"],"t":["cruise"]},{"e":"⛴️","d":"ferry","c":4,"a":["ferry"]},{"e":"🛥️","d":"motor boat","c":4,"a":["motor_boat"]},{"e":"🚢","d":"ship","c":4,"a":["ship"]},{"e":"✈️","d":"airplane","c":4,"a":["airplane"],"t":["flight"]},{"e":"🛩️","d":"small airplane","c":4,"a":["small_airplane"],"t":["flight"]},{"e":"🛫","d":"airplane departure","c":4,"a":["flight_departure"]},{"e":"🛬","d":"airplane arrival","c":4,"a":["flight_arrival"]},{"e":"🪂","d":"parachute","c":4,"a":["parachute"]},{"e":"💺","d":"seat","c":4,"a":["seat"]},{"e":"🚁","d":"helicopter","c":4,"a":["helicopter"]},{"e":"🚟","d":"suspension railway","c":4,"a":["suspension_railway"]},{"e":"🚠","d":"mountain cableway","c":4,"a":["mountain_cableway"]},{"e":"🚡","d":"aerial tramway","c":4,"a":["aerial_tramway"]},{"e":"🛰️","d":"satellite","c":4,"a":["artificial_satellite"],"t":["orbit","space"]},{"e":"🚀","d":"rocket","c":4,"a":["rocket"],"t":["ship","launch"]},{"e":"🛸","d":"flying saucer","c":4,"a":["flying_saucer"],"t":["ufo"]},{"e":"🛎️","d":"bellhop bell","c":4,"a":["bellhop_bell"]},{"e":"🧳","d":"luggage","c":4,"a":["luggage"]},{"e":"⌛","d":"hourglass done","c":4,"a":["hourglass"],"t":["time"]},{"e":"⏳","d":"hourglass not done","c":4,"a":["hourglass_flowing_sand"],"t":["time"]},{"e":"⌚","d":"watch","c":4,"a":["watch"],"t":["time"]},{"e":"⏰","d":"alarm clock","c":4,"a":["alarm_clock"],"t":["morning"]},{"e":"⏱️","d":"stopwatch","c":4,"a":["stopwatch"]},{"e":"⏲️","d":"timer clock","c":4,"a":["timer_clock"]},{"e":"🕰️","d":"mantelpiece clock","c":4,"a":["mantelpiece_clock"]},{"e":"🕛","d":"twelve o’clock","c":4,"a":["clock12"]},{"e":"🕧","d":"twelve-thirty","c":4,"a":["clock1230"]},{"e":"🕐","d":"one o’clock","c":4,"a":["clock1"]},{"e":"🕜","d":"one-thirty","c":4,"a":["clock130"]},{"e":"🕑","d":"two o’clock","c":4,"a":["clock2"]},{"e":"🕝","d":"two-thirty","c":4,"a":["clock230"]},{"e":"🕒","d":"three o’clock","c":4,"a":["clock3"]},{"e":"🕞","d":"three-thirty","c":4,"a":["clock330"]},{"e":"🕓","d":"four o’clock","c":4,"a":["clock4"]},{"e":"🕟","d":"four-thirty","c":4,"a":["clock430"]},{"e":"🕔","d":"five o’clock","c":4,"a":["clock5"]},{"e":"🕠","d":"five-thirty","c":4,"a":["clock530"]},{"e":"🕕","d":"six o’clock","c":4,"a":["clock6"]},{"e":"🕡","d":"six-thirty","c":4,"a":["clock630"]},{"e":"🕖","d":"seven o’clock","c":4,"a":["clock7"]},{"e":"🕢","d":"seven-thirty","c":4,"a":["clock730"]},{"e":"🕗","d":"eight o’clock","c":4,"a":["clock8"]},{"e":"🕣","d":"eight-thirty","c":4,"a":["clock830"]},{"e":"🕘","d":"nine o’clock","c":4,"a":["clock9"]},{"e":"🕤","d":"nine-thirty","c":4,"a":["clock930"]},{"e":"🕙","d":"ten o’clock","c":4,"a":["clock10"]},{"e":"🕥","d":"ten-thirty","c":4,"a":["clock1030"]},{"e":"🕚","d":"eleven o’clock","c":4,"a":["clock11"]},{"e":"🕦","d":"eleven-thirty","c":4,"a":["clock1130"]},{"e":"🌑","d":"new moon","c":4,"a":["new_moon"]},{"e":"🌒","d":"waxing crescent moon","c":4,"a":["waxing_crescent_moon"]},{"e":"🌓","d":"first quarter moon","c":4,"a":["first_quarter_moon"]},{"e":"🌔","d":"waxing gibbous moon","c":4,"a":["moon","waxing_gibbous_moon"]},{"e":"🌕","d":"full moon","c":4,"a":["full_moon"]},{"e":"🌖","d":"waning gibbous moon","c":4,"a":["waning_gibbous_moon"]},{"e":"🌗","d":"last quarter moon","c":4,"a":["last_quarter_moon"]},{"e":"🌘","d":"waning crescent moon","c":4,"a":["waning_crescent_moon"]},{"e":"🌙","d":"crescent moon","c":4,"a":["crescent_moon"],"t":["night"]},{"e":"🌚","d":"new moon face","c":4,"a":["new_moon_with_face"]},{"e":"🌛","d":"first quarter moon face","c":4,"a":["first_quarter_moon_with_face"]},{"e":"🌜","d":"last quarter moon face","c":4,"a":["last_quarter_moon_with_face"]},{"e":"🌡️","d":"thermometer","c":4,"a":["thermometer"]},{"e":"☀️","d":"sun","c":4,"a":["sunny"],"t":["weather"]},{"e":"🌝","d":"full moon face","c":4,"a":["full_moon_with_face"]},{"e":"🌞","d":"sun with face","c":4,"a":["sun_with_face"],"t":["summer"]},{"e":"🪐","d":"ringed planet","c":4,"a":["ringed_planet"]},{"e":"⭐","d":"star","c":4,"a":["star"]},{"e":"🌟","d":"glowing star","c":4,"a":["star2"]},{"e":"🌠","d":"shooting star","c":4,"a":["stars"]},{"e":"🌌","d":"milky way","c":4,"a":["milky_way"]},{"e":"☁️","d":"cloud","c":4,"a":["cloud"]},{"e":"⛅","d":"sun behind cloud","c":4,"a":["partly_sunny"],"t":["weather","cloud"]},{"e":"⛈️","d":"cloud with lightning and rain","c":4,"a":["cloud_with_lightning_and_rain"]},{"e":"🌤️","d":"sun behind small cloud","c":4,"a":["sun_behind_small_cloud"]},{"e":"🌥️","d":"sun behind large cloud","c":4,"a":["sun_behind_large_cloud"]},{"e":"🌦️","d":"sun behind rain cloud","c":4,"a":["sun_behind_rain_cloud"]},{"e":"🌧️","d":"cloud with rain","c":4,"a":["cloud_with_rain"]},{"e":"🌨️","d":"cloud with snow","c":4,"a":["cloud_with_snow"]},{"e":"🌩️","d":"cloud with lightning","c":4,"a":["cloud_with_lightning"]},{"e":"🌪️","d":"tornado","c":4,"a":["tornado"]},{"e":"🌫️","d":"fog","c":4,"a":["fog"]},{"e":"🌬️","d":"wind face","c":4,"a":["wind_face"]},{"e":"🌀","d":"cyclone","c":4,"a":["cyclone"],"t":["swirl"]},{"e":"🌈","d":"rainbow","c":4,"a":["rainbow"]},{"e":"🌂","d":"closed umbrella","c":4,"a":["closed_umbrella"],"t":["weather","rain"]},{"e":"☂️","d":"umbrella","c":4,"a":["open_umbrella"]},{"e":"☔","d":"umbrella with rain drops","c":4,"a":["umbrella"],"t":["rain","weather"]},{"e":"⛱️","d":"umbrella on ground","c":4,"a":["parasol_on_ground"],"t":["beach_umbrella"]},{"e":"⚡","d":"high voltage","c":4,"a":["zap"],"t":["lightning","thunder"]},{"e":"❄️","d":"snowflake","c":4,"a":["snowflake"],"t":["winter","cold","weather"]},{"e":"☃️","d":"snowman","c":4,"a":["snowman_with_snow"],"t":["winter","christmas"]},{"e":"⛄","d":"snowman without snow","c":4,"a":["snowman"],"t":["winter"]},{"e":"☄️","d":"comet","c":4,"a":["comet"]},{"e":"🔥","d":"fire","c":4,"a":["fire"],"t":["burn"]},{"e":"💧","d":"droplet","c":4,"a":["droplet"],"t":["water"]},{"e":"🌊","d":"water wave","c":4,"a":["ocean"],"t":["sea"]},{"e":"🎃","d":"jack-o-lantern","c":5,"a":["jack_o_lantern"],"t":["halloween"]},{"e":"🎄","d":"Christmas tree","c":5,"a":["christmas_tree"]},{"e":"🎆","d":"fireworks","c":5,"a":["fireworks"],"t":["festival","celebration"]},{"e":"🎇","d":"sparkler","c":5,"a":["sparkler"]},{"e":"🧨","d":"firecracker","c":5,"a":["firecracker"]},{"e":"✨","d":"sparkles","c":5,"a":["sparkles"],"t":["shiny"]},{"e":"🎈","d":"balloon","c":5,"a":["balloon"],"t":["party","birthday"]},{"e":"🎉","d":"party popper","c":5,"a":["tada"],"t":["hooray","party"]},{"e":"🎊","d":"confetti ball","c":5,"a":["confetti_ball"]},{"e":"🎋","d":"tanabata tree","c":5,"a":["tanabata_tree"]},{"e":"🎍","d":"pine decoration","c":5,"a":["bamboo"]},{"e":"🎎","d":"Japanese dolls","c":5,"a":["dolls"]},{"e":"🎏","d":"carp streamer","c":5,"a":["flags"]},{"e":"🎐","d":"wind chime","c":5,"a":["wind_chime"]},{"e":"🎑","d":"moon viewing ceremony","c":5,"a":["rice_scene"]},{"e":"🧧","d":"red envelope","c":5,"a":["red_envelope"]},{"e":"🎀","d":"ribbon","c":5,"a":["ribbon"]},{"e":"🎁","d":"wrapped gift","c":5,"a":["gift"],"t":["present","birthday","christmas"]},{"e":"🎗️","d":"reminder ribbon","c":5,"a":["reminder_ribbon"]},{"e":"🎟️","d":"admission tickets","c":5,"a":["tickets"]},{"e":"🎫","d":"ticket","c":5,"a":["ticket"]},{"e":"🎖️","d":"military medal","c":5,"a":["medal_military"]},{"e":"🏆","d":"trophy","c":5,"a":["trophy"],"t":["award","contest","winner"]},{"e":"🏅","d":"sports medal","c":5,"a":["medal_sports"],"t":["gold","winner"]},{"e":"🥇","d":"1st place medal","c":5,"a":["1st_place_medal"],"t":["gold"]},{"e":"🥈","d":"2nd place medal","c":5,"a":["2nd_place_medal"],"t":["silver"]},{"e":"🥉","d":"3rd place medal","c":5,"a":["3rd_place_medal"],"t":["bronze"]},{"e":"⚽","d":"soccer ball","c":5,"a":["soccer"],"t":["sports"]},{"e":"⚾","d":"baseball","c":5,"a":["baseball"],"t":["sports"]},{"e":"🥎","d":"softball","c":5,"a":["softball"]},{"e":"🏀","d":"basketball","c":5,"a":["basketball"],"t":["sports"]},{"e":"🏐","d":"volleyball","c":5,"a":["volleyball"]},{"e":"🏈","d":"american football","c":5,"a":["football"],"t":["sports"]},{"e":"🏉","d":"rugby football","c":5,"a":["rugby_football"]},{"e":"🎾","d":"tennis","c":5,"a":["tennis"],"t":["sports"]},{"e":"🥏","d":"flying disc","c":5,"a":["flying_disc"]},{"e":"🎳","d":"bowling","c":5,"a":["bowling"]},{"e":"🏏","d":"cricket game","c":5,"a":["cricket_game"]},{"e":"🏑","d":"field hockey","c":5,"a":["field_hockey"]},{"e":"🏒","d":"ice hockey","c":5,"a":["ice_hockey"]},{"e":"🥍","d":"lacrosse","c":5,"a":["lacrosse"]},{"e":"🏓","d":"ping pong","c":5,"a":["ping_pong"]},{"e":"🏸","d":"badminton","c":5,"a":["badminton"]},{"e":"🥊","d":"boxing glove","c":5,"a":["boxing_glove"]},{"e":"🥋","d":"martial arts uniform","c":5,"a":["martial_arts_uniform"]},{"e":"🥅","d":"goal net","c":5,"a":["goal_net"]},{"e":"⛳","d":"flag in hole","c":5,"a":["golf"]},{"e":"⛸️","d":"ice skate","c":5,"a":["ice_skate"],"t":["skating"]},{"e":"🎣","d":"fishing pole","c":5,"a":["fishing_pole_and_fish"]},{"e":"🤿","d":"diving mask","c":5,"a":["diving_mask"]},{"e":"🎽","d":"running shirt","c":5,"a":["running_shirt_with_sash"],"t":["marathon"]},{"e":"🎿","d":"skis","c":5,"a":["ski"]},{"e":"🛷","d":"sled","c":5,"a":["sled"]},{"e":"🥌","d":"curling stone","c":5,"a":["curling_stone"]},{"e":"🎯","d":"direct hit","c":5,"a":["dart"],"t":["target"]},{"e":"🪀","d":"yo-yo","c":5,"a":["yo_yo"]},{"e":"🪁","d":"kite","c":5,"a":["kite"]},{"e":"🎱","d":"pool 8 ball","c":5,"a":["8ball"],"t":["pool","billiards"]},{"e":"🔮","d":"crystal ball","c":5,"a":["crystal_ball"],"t":["fortune"]},{"e":"🪄","d":"magic wand","c":5,"a":["magic_wand"]},{"e":"🧿","d":"nazar amulet","c":5,"a":["nazar_amulet"]},{"e":"🎮","d":"video game","c":5,"a":["video_game"],"t":["play","controller","console"]},{"e":"🕹️","d":"joystick","c":5,"a":["joystick"]},{"e":"🎰","d":"slot machine","c":5,"a":["slot_machine"]},{"e":"🎲","d":"game die","c":5,"a":["game_die"],"t":["dice","gambling"]},{"e":"🧩","d":"puzzle piece","c":5,"a":["jigsaw"]},{"e":"🧸","d":"teddy bear","c":5,"a":["teddy_bear"]},{"e":"🪅","d":"piñata","c":5,"a":["pinata"]},{"e":"🪆","d":"nesting dolls","c":5,"a":["nesting_dolls"]},{"e":"♠️","d":"spade suit","c":5,"a":["spades"]},{"e":"♥️","d":"heart suit","c":5,"a":["hearts"]},{"e":"♦️","d":"diamond suit","c":5,"a":["diamonds"]},{"e":"♣️","d":"club suit","c":5,"a":["clubs"]},{"e":"♟️","d":"chess pawn","c":5,"a":["chess_pawn"]},{"e":"🃏","d":"joker","c":5,"a":["black_joker"]},{"e":"🀄","d":"mahjong red dragon","c":5,"a":["mahjong"]},{"e":"🎴","d":"flower playing cards","c":5,"a":["flower_playing_cards"]},{"e":"🎭","d":"performing arts","c":5,"a":["performing_arts"],"t":["theater","drama"]},{"e":"🖼️","d":"framed picture","c":5,"a":["framed_picture"]},{"e":"🎨","d":"artist palette","c":5,"a":["art"],"t":["design","paint"]},{"e":"🧵","d":"thread","c":5,"a":["thread"]},{"e":"🪡","d":"sewing needle","c":5,"a":["sewing_needle"]},{"e":"🧶","d":"yarn","c":5,"a":["yarn"]},{"e":"🪢","d":"knot","c":5,"a":["knot"]},{"e":"👓","d":"glasses","c":6,"a":["eyeglasses"],"t":["glasses"]},{"e":"🕶️","d":"sunglasses","c":6,"a":["dark_sunglasses"]},{"e":"🥽","d":"goggles","c":6,"a":["goggles"]},{"e":"🥼","d":"lab coat","c":6,"a":["lab_coat"]},{"e":"🦺","d":"safety vest","c":6,"a":["safety_vest"]},{"e":"👔","d":"necktie","c":6,"a":["necktie"],"t":["shirt","formal"]},{"e":"👕","d":"t-shirt","c":6,"a":["shirt","tshirt"]},{"e":"👖","d":"jeans","c":6,"a":["jeans"],"t":["pants"]},{"e":"🧣","d":"scarf","c":6,"a":["scarf"]},{"e":"🧤","d":"gloves","c":6,"a":["gloves"]},{"e":"🧥","d":"coat","c":6,"a":["coat"]},{"e":"🧦","d":"socks","c":6,"a":["socks"]},{"e":"��","d":"dress","c":6,"a":["dress"]},{"e":"👘","d":"kimono","c":6,"a":["kimono"]},{"e":"🥻","d":"sari","c":6,"a":["sari"]},{"e":"🩱","d":"one-piece swimsuit","c":6,"a":["one_piece_swimsuit"]},{"e":"🩲","d":"briefs","c":6,"a":["swim_brief"]},{"e":"🩳","d":"shorts","c":6,"a":["shorts"]},{"e":"👙","d":"bikini","c":6,"a":["bikini"],"t":["beach"]},{"e":"👚","d":"woman’s clothes","c":6,"a":["womans_clothes"]},{"e":"👛","d":"purse","c":6,"a":["purse"]},{"e":"👜","d":"handbag","c":6,"a":["handbag"],"t":["bag"]},{"e":"👝","d":"clutch bag","c":6,"a":["pouch"],"t":["bag"]},{"e":"🛍️","d":"shopping bags","c":6,"a":["shopping"],"t":["bags"]},{"e":"🎒","d":"backpack","c":6,"a":["school_satchel"]},{"e":"🩴","d":"thong sandal","c":6,"a":["thong_sandal"]},{"e":"👞","d":"man’s shoe","c":6,"a":["mans_shoe","shoe"]},{"e":"👟","d":"running shoe","c":6,"a":["athletic_shoe"],"t":["sneaker","sport","running"]},{"e":"🥾","d":"hiking boot","c":6,"a":["hiking_boot"]},{"e":"🥿","d":"flat shoe","c":6,"a":["flat_shoe"]},{"e":"👠","d":"high-heeled shoe","c":6,"a":["high_heel"],"t":["shoe"]},{"e":"👡","d":"woman’s sandal","c":6,"a":["sandal"],"t":["shoe"]},{"e":"🩰","d":"ballet shoes","c":6,"a":["ballet_shoes"]},{"e":"👢","d":"woman’s boot","c":6,"a":["boot"]},{"e":"👑","d":"crown","c":6,"a":["crown"],"t":["king","queen","royal"]},{"e":"👒","d":"woman’s hat","c":6,"a":["womans_hat"]},{"e":"🎩","d":"top hat","c":6,"a":["tophat"],"t":["hat","classy"]},{"e":"🎓","d":"graduation cap","c":6,"a":["mortar_board"],"t":["education","college","university","graduation"]},{"e":"🧢","d":"billed cap","c":6,"a":["billed_cap"]},{"e":"🪖","d":"military helmet","c":6,"a":["military_helmet"]},{"e":"⛑️","d":"rescue worker’s helmet","c":6,"a":["rescue_worker_helmet"]},{"e":"📿","d":"prayer beads","c":6,"a":["prayer_beads"]},{"e":"💄","d":"lipstick","c":6,"a":["lipstick"],"t":["makeup"]},{"e":"💍","d":"ring","c":6,"a":["ring"],"t":["wedding","marriage","engaged"]},{"e":"💎","d":"gem stone","c":6,"a":["gem"],"t":["diamond"]},{"e":"🔇","d":"muted speaker","c":6,"a":["mute"],"t":["sound","volume"]},{"e":"🔈","d":"speaker low volume","c":6,"a":["speaker"]},{"e":"🔉","d":"speaker medium volume","c":6,"a":["sound"],"t":["volume"]},{"e":"🔊","d":"speaker high volume","c":6,"a":["loud_sound"],"t":["volume"]},{"e":"📢","d":"loudspeaker","c":6,"a":["loudspeaker"],"t":["announcement"]},{"e":"📣","d":"megaphone","c":6,"a":["mega"]},{"e":"📯","d":"postal horn","c":6,"a":["postal_horn"]},{"e":"🔔","d":"bell","c":6,"a":["bell"],"t":["sound","notification"]},{"e":"🔕","d":"bell with slash","c":6,"a":["no_bell"],"t":["volume","off"]},{"e":"🎼","d":"musical score","c":6,"a":["musical_score"]},{"e":"🎵","d":"musical note","c":6,"a":["musical_note"]},{"e":"🎶","d":"musical notes","c":6,"a":["notes"],"t":["music"]},{"e":"🎙️","d":"studio microphone","c":6,"a":["studio_microphone"],"t":["podcast"]},{"e":"🎚️","d":"level slider","c":6,"a":["level_slider"]},{"e":"🎛️","d":"control knobs","c":6,"a":["control_knobs"]},{"e":"🎤","d":"microphone","c":6,"a":["microphone"],"t":["sing"]},{"e":"🎧","d":"headphone","c":6,"a":["headphones"],"t":["music","earphones"]},{"e":"📻","d":"radio","c":6,"a":["radio"],"t":["podcast"]},{"e":"🎷","d":"saxophone","c":6,"a":["saxophone"]},{"e":"🪗","d":"accordion","c":6,"a":["accordion"]},{"e":"🎸","d":"guitar","c":6,"a":["guitar"],"t":["rock"]},{"e":"🎹","d":"musical keyboard","c":6,"a":["musical_keyboard"],"t":["piano"]},{"e":"🎺","d":"trumpet","c":6,"a":["trumpet"]},{"e":"🎻","d":"violin","c":6,"a":["violin"]},{"e":"🪕","d":"banjo","c":6,"a":["banjo"]},{"e":"🥁","d":"drum","c":6,"a":["drum"]},{"e":"🪘","d":"long drum","c":6,"a":["long_drum"]},{"e":"📱","d":"mobile phone","c":6,"a":["iphone"],"t":["smartphone","mobile"]},{"e":"📲","d":"mobile phone with arrow","c":6,"a":["calling"],"t":["call","incoming"]},{"e":"☎️","d":"telephone","c":6,"a":["phone","telephone"]},{"e":"📞","d":"telephone receiver","c":6,"a":["telephone_receiver"],"t":["phone","call"]},{"e":"📟","d":"pager","c":6,"a":["pager"]},{"e":"📠","d":"fax machine","c":6,"a":["fax"]},{"e":"🔋","d":"battery","c":6,"a":["battery"],"t":["power"]},{"e":"🔌","d":"electric plug","c":6,"a":["electric_plug"]},{"e":"💻","d":"laptop","c":6,"a":["computer"],"t":["desktop","screen"]},{"e":"🖥️","d":"desktop computer","c":6,"a":["desktop_computer"]},{"e":"🖨️","d":"printer","c":6,"a":["printer"]},{"e":"⌨️","d":"keyboard","c":6,"a":["keyboard"]},{"e":"🖱️","d":"computer mouse","c":6,"a":["computer_mouse"]},{"e":"🖲️","d":"trackball","c":6,"a":["trackball"]},{"e":"💽","d":"computer disk","c":6,"a":["minidisc"]},{"e":"💾","d":"floppy disk","c":6,"a":["floppy_disk"],"t":["save"]},{"e":"💿","d":"optical disk","c":6,"a":["cd"]},{"e":"📀","d":"dvd","c":6,"a":["dvd"]},{"e":"🧮","d":"abacus","c":6,"a":["abacus"]},{"e":"🎥","d":"movie camera","c":6,"a":["movie_camera"],"t":["film","video"]},{"e":"🎞️","d":"film frames","c":6,"a":["film_strip"]},{"e":"📽️","d":"film projector","c":6,"a":["film_projector"]},{"e":"🎬","d":"clapper board","c":6,"a":["clapper"],"t":["film"]},{"e":"📺","d":"television","c":6,"a":["tv"]},{"e":"📷","d":"camera","c":6,"a":["camera"],"t":["photo"]},{"e":"📸","d":"camera with flash","c":6,"a":["camera_flash"],"t":["photo"]},{"e":"📹","d":"video camera","c":6,"a":["video_camera"]},{"e":"📼","d":"videocassette","c":6,"a":["vhs"]},{"e":"🔍","d":"magnifying glass tilted left","c":6,"a":["mag"],"t":["search","zoom"]},{"e":"🔎","d":"magnifying glass tilted right","c":6,"a":["mag_right"]},{"e":"🕯️","d":"candle","c":6,"a":["candle"]},{"e":"💡","d":"light bulb","c":6,"a":["bulb"],"t":["idea","light"]},{"e":"🔦","d":"flashlight","c":6,"a":["flashlight"]},{"e":"🏮","d":"red paper lantern","c":6,"a":["izakaya_lantern","lantern"]},{"e":"🪔","d":"diya lamp","c":6,"a":["diya_lamp"]},{"e":"📔","d":"notebook with decorative cover","c":6,"a":["notebook_with_decorative_cover"]},{"e":"📕","d":"closed book","c":6,"a":["closed_book"]},{"e":"📖","d":"open book","c":6,"a":["book","open_book"]},{"e":"📗","d":"green book","c":6,"a":["green_book"]},{"e":"📘","d":"blue book","c":6,"a":["blue_book"]},{"e":"📙","d":"orange book","c":6,"a":["orange_book"]},{"e":"📚","d":"books","c":6,"a":["books"],"t":["library"]},{"e":"📓","d":"notebook","c":6,"a":["notebook"]},{"e":"📒","d":"ledger","c":6,"a":["ledger"]},{"e":"📃","d":"page with curl","c":6,"a":["page_with_curl"]},{"e":"📜","d":"scroll","c":6,"a":["scroll"],"t":["document"]},{"e":"📄","d":"page facing up","c":6,"a":["page_facing_up"],"t":["document"]},{"e":"📰","d":"newspaper","c":6,"a":["newspaper"],"t":["press"]},{"e":"🗞️","d":"rolled-up newspaper","c":6,"a":["newspaper_roll"],"t":["press"]},{"e":"📑","d":"bookmark tabs","c":6,"a":["bookmark_tabs"]},{"e":"🔖","d":"bookmark","c":6,"a":["bookmark"]},{"e":"🏷️","d":"label","c":6,"a":["label"],"t":["tag"]},{"e":"💰","d":"money bag","c":6,"a":["moneybag"],"t":["dollar","cream"]},{"e":"🪙","d":"coin","c":6,"a":["coin"]},{"e":"💴","d":"yen banknote","c":6,"a":["yen"]},{"e":"💵","d":"dollar banknote","c":6,"a":["dollar"],"t":["money"]},{"e":"💶","d":"euro banknote","c":6,"a":["euro"]},{"e":"💷","d":"pound banknote","c":6,"a":["pound"]},{"e":"💸","d":"money with wings","c":6,"a":["money_with_wings"],"t":["dollar"]},{"e":"💳","d":"credit card","c":6,"a":["credit_card"],"t":["subscription"]},{"e":"🧾","d":"receipt","c":6,"a":["receipt"]},{"e":"💹","d":"chart increasing with yen","c":6,"a":["chart"]},{"e":"✉️","d":"envelope","c":6,"a":["envelope"],"t":["letter","email"]},{"e":"���","d":"e-mail","c":6,"a":["email","e-mail"]},{"e":"📨","d":"incoming envelope","c":6,"a":["incoming_envelope"]},{"e":"📩","d":"envelope with arrow","c":6,"a":["envelope_with_arrow"]},{"e":"📤","d":"outbox tray","c":6,"a":["outbox_tray"]},{"e":"📥","d":"inbox tray","c":6,"a":["inbox_tray"]},{"e":"📦","d":"package","c":6,"a":["package"],"t":["shipping"]},{"e":"📫","d":"closed mailbox with raised flag","c":6,"a":["mailbox"]},{"e":"📪","d":"closed mailbox with lowered flag","c":6,"a":["mailbox_closed"]},{"e":"📬","d":"open mailbox with raised flag","c":6,"a":["mailbox_with_mail"]},{"e":"📭","d":"open mailbox with lowered flag","c":6,"a":["mailbox_with_no_mail"]},{"e":"📮","d":"postbox","c":6,"a":["postbox"]},{"e":"🗳️","d":"ballot box with ballot","c":6,"a":["ballot_box"]},{"e":"✏️","d":"pencil","c":6,"a":["pencil2"]},{"e":"✒️","d":"black nib","c":6,"a":["black_nib"]},{"e":"🖋️","d":"fountain pen","c":6,"a":["fountain_pen"]},{"e":"🖊️","d":"pen","c":6,"a":["pen"]},{"e":"🖌️","d":"paintbrush","c":6,"a":["paintbrush"]},{"e":"🖍️","d":"crayon","c":6,"a":["crayon"]},{"e":"📝","d":"memo","c":6,"a":["memo","pencil"],"t":["document","note"]},{"e":"💼","d":"briefcase","c":6,"a":["briefcase"],"t":["business"]},{"e":"📁","d":"file folder","c":6,"a":["file_folder"],"t":["directory"]},{"e":"📂","d":"open file folder","c":6,"a":["open_file_folder"]},{"e":"🗂️","d":"card index dividers","c":6,"a":["card_index_dividers"]},{"e":"📅","d":"calendar","c":6,"a":["date"],"t":["calendar","schedule"]},{"e":"📆","d":"tear-off calendar","c":6,"a":["calendar"],"t":["schedule"]},{"e":"🗒️","d":"spiral notepad","c":6,"a":["spiral_notepad"]},{"e":"🗓️","d":"spiral calendar","c":6,"a":["spiral_calendar"]},{"e":"📇","d":"card index","c":6,"a":["card_index"]},{"e":"📈","d":"chart increasing","c":6,"a":["chart_with_upwards_trend"],"t":["graph","metrics"]},{"e":"📉","d":"chart decreasing","c":6,"a":["chart_with_downwards_trend"],"t":["graph","metrics"]},{"e":"📊","d":"bar chart","c":6,"a":["bar_chart"],"t":["stats","metrics"]},{"e":"📋","d":"clipboard","c":6,"a":["clipboard"]},{"e":"📌","d":"pushpin","c":6,"a":["pushpin"],"t":["location"]},{"e":"📍","d":"round pushpin","c":6,"a":["round_pushpin"],"t":["location"]},{"e":"📎","d":"paperclip","c":6,"a":["paperclip"]},{"e":"🖇️","d":"linked paperclips","c":6,"a":["paperclips"]},{"e":"📏","d":"straight ruler","c":6,"a":["straight_ruler"]},{"e":"📐","d":"triangular ruler","c":6,"a":["triangular_ruler"]},{"e":"✂️","d":"scissors","c":6,"a":["scissors"],"t":["cut"]},{"e":"🗃️","d":"card file box","c":6,"a":["card_file_box"]},{"e":"🗄️","d":"file cabinet","c":6,"a":["file_cabinet"]},{"e":"🗑️","d":"wastebasket","c":6,"a":["wastebasket"],"t":["trash"]},{"e":"🔒","d":"locked","c":6,"a":["lock"],"t":["security","private"]},{"e":"🔓","d":"unlocked","c":6,"a":["unlock"],"t":["security"]},{"e":"🔏","d":"locked with pen","c":6,"a":["lock_with_ink_pen"]},{"e":"🔐","d":"locked with key","c":6,"a":["closed_lock_with_key"],"t":["security"]},{"e":"🔑","d":"key","c":6,"a":["key"],"t":["lock","password"]},{"e":"🗝️","d":"old key","c":6,"a":["old_key"]},{"e":"🔨","d":"hammer","c":6,"a":["hammer"],"t":["tool"]},{"e":"🪓","d":"axe","c":6,"a":["axe"]},{"e":"⛏️","d":"pick","c":6,"a":["pick"]},{"e":"⚒️","d":"hammer and pick","c":6,"a":["hammer_and_pick"]},{"e":"🛠️","d":"hammer and wrench","c":6,"a":["hammer_and_wrench"]},{"e":"🗡️","d":"dagger","c":6,"a":["dagger"]},{"e":"⚔️","d":"crossed swords","c":6,"a":["crossed_swords"]},{"e":"🔫","d":"pistol","c":6,"a":["gun"],"t":["shoot","weapon"]},{"e":"🪃","d":"boomerang","c":6,"a":["boomerang"]},{"e":"🏹","d":"bow and arrow","c":6,"a":["bow_and_arrow"],"t":["archery"]},{"e":"🛡️","d":"shield","c":6,"a":["shield"]},{"e":"🪚","d":"carpentry saw","c":6,"a":["carpentry_saw"]},{"e":"🔧","d":"wrench","c":6,"a":["wrench"],"t":["tool"]},{"e":"🪛","d":"screwdriver","c":6,"a":["screwdriver"]},{"e":"🔩","d":"nut and bolt","c":6,"a":["nut_and_bolt"]},{"e":"⚙️","d":"gear","c":6,"a":["gear"]},{"e":"🗜️","d":"clamp","c":6,"a":["clamp"]},{"e":"⚖️","d":"balance scale","c":6,"a":["balance_scale"]},{"e":"🦯","d":"white cane","c":6,"a":["probing_cane"]},{"e":"🔗","d":"link","c":6,"a":["link"]},{"e":"⛓️","d":"chains","c":6,"a":["chains"]},{"e":"🪝","d":"hook","c":6,"a":["hook"]},{"e":"🧰","d":"toolbox","c":6,"a":["toolbox"]},{"e":"🧲","d":"magnet","c":6,"a":["magnet"]},{"e":"🪜","d":"ladder","c":6,"a":["ladder"]},{"e":"⚗️","d":"alembic","c":6,"a":["alembic"]},{"e":"🧪","d":"test tube","c":6,"a":["test_tube"]},{"e":"🧫","d":"petri dish","c":6,"a":["petri_dish"]},{"e":"🧬","d":"dna","c":6,"a":["dna"]},{"e":"🔬","d":"microscope","c":6,"a":["microscope"],"t":["science","laboratory","investigate"]},{"e":"🔭","d":"telescope","c":6,"a":["telescope"]},{"e":"📡","d":"satellite antenna","c":6,"a":["satellite"],"t":["signal"]},{"e":"💉","d":"syringe","c":6,"a":["syringe"],"t":["health","hospital","needle"]},{"e":"🩸","d":"drop of blood","c":6,"a":["drop_of_blood"]},{"e":"💊","d":"pill","c":6,"a":["pill"],"t":["health","medicine"]},{"e":"🩹","d":"adhesive bandage","c":6,"a":["adhesive_bandage"]},{"e":"🩺","d":"stethoscope","c":6,"a":["stethoscope"]},{"e":"🚪","d":"door","c":6,"a":["door"]},{"e":"🛗","d":"elevator","c":6,"a":["elevator"]},{"e":"🪞","d":"mirror","c":6,"a":["mirror"]},{"e":"🪟","d":"window","c":6,"a":["window"]},{"e":"🛏️","d":"bed","c":6,"a":["bed"]},{"e":"🛋️","d":"couch and lamp","c":6,"a":["couch_and_lamp"]},{"e":"🪑","d":"chair","c":6,"a":["chair"]},{"e":"🚽","d":"toilet","c":6,"a":["toilet"],"t":["wc"]},{"e":"🪠","d":"plunger","c":6,"a":["plunger"]},{"e":"🚿","d":"shower","c":6,"a":["shower"],"t":["bath"]},{"e":"🛁","d":"bathtub","c":6,"a":["bathtub"]},{"e":"🪤","d":"mouse trap","c":6,"a":["mouse_trap"]},{"e":"🪒","d":"razor","c":6,"a":["razor"]},{"e":"��","d":"lotion bottle","c":6,"a":["lotion_bottle"]},{"e":"🧷","d":"safety pin","c":6,"a":["safety_pin"]},{"e":"🧹","d":"broom","c":6,"a":["broom"]},{"e":"🧺","d":"basket","c":6,"a":["basket"]},{"e":"🧻","d":"roll of paper","c":6,"a":["roll_of_paper"],"t":["toilet"]},{"e":"🪣","d":"bucket","c":6,"a":["bucket"]},{"e":"🧼","d":"soap","c":6,"a":["soap"]},{"e":"🪥","d":"toothbrush","c":6,"a":["toothbrush"]},{"e":"🧽","d":"sponge","c":6,"a":["sponge"]},{"e":"🧯","d":"fire extinguisher","c":6,"a":["fire_extinguisher"]},{"e":"🛒","d":"shopping cart","c":6,"a":["shopping_cart"]},{"e":"🚬","d":"cigarette","c":6,"a":["smoking"],"t":["cigarette"]},{"e":"⚰️","d":"coffin","c":6,"a":["coffin"],"t":["funeral"]},{"e":"🪦","d":"headstone","c":6,"a":["headstone"]},{"e":"⚱️","d":"funeral urn","c":6,"a":["funeral_urn"]},{"e":"🗿","d":"moai","c":6,"a":["moyai"],"t":["stone"]},{"e":"🪧","d":"placard","c":6,"a":["placard"]},{"e":"🏧","d":"ATM sign","c":7,"a":["atm"]},{"e":"🚮","d":"litter in bin sign","c":7,"a":["put_litter_in_its_place"]},{"e":"🚰","d":"potable water","c":7,"a":["potable_water"]},{"e":"♿","d":"wheelchair symbol","c":7,"a":["wheelchair"],"t":["accessibility"]},{"e":"🚹","d":"men’s room","c":7,"a":["mens"]},{"e":"🚺","d":"women’s room","c":7,"a":["womens"]},{"e":"🚻","d":"restroom","c":7,"a":["restroom"],"t":["toilet"]},{"e":"🚼","d":"baby symbol","c":7,"a":["baby_symbol"]},{"e":"🚾","d":"water closet","c":7,"a":["wc"],"t":["toilet","restroom"]},{"e":"🛂","d":"passport control","c":7,"a":["passport_control"]},{"e":"🛃","d":"customs","c":7,"a":["customs"]},{"e":"🛄","d":"baggage claim","c":7,"a":["baggage_claim"],"t":["airport"]},{"e":"🛅","d":"left luggage","c":7,"a":["left_luggage"]},{"e":"⚠️","d":"warning","c":7,"a":["warning"],"t":["wip"]},{"e":"🚸","d":"children crossing","c":7,"a":["children_crossing"]},{"e":"⛔","d":"no entry","c":7,"a":["no_entry"],"t":["limit"]},{"e":"🚫","d":"prohibited","c":7,"a":["no_entry_sign"],"t":["block","forbidden"]},{"e":"🚳","d":"no bicycles","c":7,"a":["no_bicycles"]},{"e":"🚭","d":"no smoking","c":7,"a":["no_smoking"]},{"e":"🚯","d":"no littering","c":7,"a":["do_not_litter"]},{"e":"🚱","d":"non-potable water","c":7,"a":["non-potable_water"]},{"e":"🚷","d":"no pedestrians","c":7,"a":["no_pedestrians"]},{"e":"📵","d":"no mobile phones","c":7,"a":["no_mobile_phones"]},{"e":"🔞","d":"no one under eighteen","c":7,"a":["underage"]},{"e":"☢️","d":"radioactive","c":7,"a":["radioactive"]},{"e":"☣️","d":"biohazard","c":7,"a":["biohazard"]},{"e":"⬆️","d":"up arrow","c":7,"a":["arrow_up"]},{"e":"↗️","d":"up-right arrow","c":7,"a":["arrow_upper_right"]},{"e":"➡️","d":"right arrow","c":7,"a":["arrow_right"]},{"e":"↘️","d":"down-right arrow","c":7,"a":["arrow_lower_right"]},{"e":"⬇️","d":"down arrow","c":7,"a":["arrow_down"]},{"e":"↙️","d":"down-left arrow","c":7,"a":["arrow_lower_left"]},{"e":"⬅️","d":"left arrow","c":7,"a":["arrow_left"]},{"e":"↖️","d":"up-left arrow","c":7,"a":["arrow_upper_left"]},{"e":"↕️","d":"up-down arrow","c":7,"a":["arrow_up_down"]},{"e":"↔️","d":"left-right arrow","c":7,"a":["left_right_arrow"]},{"e":"↩️","d":"right arrow curving left","c":7,"a":["leftwards_arrow_with_hook"],"t":["return"]},{"e":"↪️","d":"left arrow curving right","c":7,"a":["arrow_right_hook"]},{"e":"⤴️","d":"right arrow curving up","c":7,"a":["arrow_heading_up"]},{"e":"⤵️","d":"right arrow curving down","c":7,"a":["arrow_heading_down"]},{"e":"🔃","d":"clockwise vertical arrows","c":7,"a":["arrows_clockwise"]},{"e":"🔄","d":"counterclockwise arrows button","c":7,"a":["arrows_counterclockwise"],"t":["sync"]},{"e":"🔙","d":"BACK arrow","c":7,"a":["back"]},{"e":"🔚","d":"END arrow","c":7,"a":["end"]},{"e":"🔛","d":"ON! arrow","c":7,"a":["on"]},{"e":"🔜","d":"SOON arrow","c":7,"a":["soon"]},{"e":"🔝","d":"TOP arrow","c":7,"a":["top"]},{"e":"🛐","d":"place of worship","c":7,"a":["place_of_worship"]},{"e":"⚛️","d":"atom symbol","c":7,"a":["atom_symbol"]},{"e":"🕉️","d":"om","c":7,"a":["om"]},{"e":"✡️","d":"star of David","c":7,"a":["star_of_david"]},{"e":"☸️","d":"wheel of dharma","c":7,"a":["wheel_of_dharma"]},{"e":"☯️","d":"yin yang","c":7,"a":["yin_yang"]},{"e":"✝️","d":"latin cross","c":7,"a":["latin_cross"]},{"e":"☦️","d":"orthodox cross","c":7,"a":["orthodox_cross"]},{"e":"☪️","d":"star and crescent","c":7,"a":["star_and_crescent"]},{"e":"☮️","d":"peace symbol","c":7,"a":["peace_symbol"]},{"e":"🕎","d":"menorah","c":7,"a":["menorah"]},{"e":"🔯","d":"dotted six-pointed star","c":7,"a":["six_pointed_star"]},{"e":"♈","d":"Aries","c":7,"a":["aries"]},{"e":"♉","d":"Taurus","c":7,"a":["taurus"]},{"e":"♊","d":"Gemini","c":7,"a":["gemini"]},{"e":"♋","d":"Cancer","c":7,"a":["cancer"]},{"e":"♌","d":"Leo","c":7,"a":["leo"]},{"e":"♍","d":"Virgo","c":7,"a":["virgo"]},{"e":"♎","d":"Libra","c":7,"a":["libra"]},{"e":"♏","d":"Scorpio","c":7,"a":["scorpius"]},{"e":"♐","d":"Sagittarius","c":7,"a":["sagittarius"]},{"e":"♑","d":"Capricorn","c":7,"a":["capricorn"]},{"e":"♒","d":"Aquarius","c":7,"a":["aquarius"]},{"e":"♓","d":"Pisces","c":7,"a":["pisces"]},{"e":"⛎","d":"Ophiuchus","c":7,"a":["ophiuchus"]},{"e":"🔀","d":"shuffle tracks button","c":7,"a":["twisted_rightwards_arrows"],"t":["shuffle"]},{"e":"🔁","d":"repeat button","c":7,"a":["repeat"],"t":["loop"]},{"e":"🔂","d":"repeat single button","c":7,"a":["repeat_one"]},{"e":"▶️","d":"play button","c":7,"a":["arrow_forward"]},{"e":"⏩","d":"fast-forward button","c":7,"a":["fast_forward"]},{"e":"⏭️","d":"next track button","c":7,"a":["next_track_button"]},{"e":"⏯️","d":"play or pause button","c":7,"a":["play_or_pause_button"]},{"e":"◀️","d":"reverse button","c":7,"a":["arrow_backward"]},{"e":"⏪","d":"fast reverse button","c":7,"a":["rewind"]},{"e":"⏮️","d":"last track button","c":7,"a":["previous_track_button"]},{"e":"🔼","d":"upwards button","c":7,"a":["arrow_up_small"]},{"e":"⏫","d":"fast up button","c":7,"a":["arrow_double_up"]},{"e":"🔽","d":"downwards button","c":7,"a":["arrow_down_small"]},{"e":"⏬","d":"fast down button","c":7,"a":["arrow_double_down"]},{"e":"⏸️","d":"pause button","c":7,"a":["pause_button"]},{"e":"⏹️","d":"stop button","c":7,"a":["stop_button"]},{"e":"⏺️","d":"record button","c":7,"a":["record_button"]},{"e":"⏏️","d":"eject button","c":7,"a":["eject_button"]},{"e":"🎦","d":"cinema","c":7,"a":["cinema"],"t":["film","movie"]},{"e":"🔅","d":"dim button","c":7,"a":["low_brightness"]},{"e":"🔆","d":"bright button","c":7,"a":["high_brightness"]},{"e":"📶","d":"antenna bars","c":7,"a":["signal_strength"],"t":["wifi"]},{"e":"📳","d":"vibration mode","c":7,"a":["vibration_mode"]},{"e":"📴","d":"mobile phone off","c":7,"a":["mobile_phone_off"],"t":["mute","off"]},{"e":"♀️","d":"female sign","c":7,"a":["female_sign"]},{"e":"♂️","d":"male sign","c":7,"a":["male_sign"]},{"e":"⚧️","d":"transgender symbol","c":7,"a":["transgender_symbol"]},{"e":"✖️","d":"multiply","c":7,"a":["heavy_multiplication_x"]},{"e":"➕","d":"plus","c":7,"a":["heavy_plus_sign"]},{"e":"➖","d":"minus","c":7,"a":["heavy_minus_sign"]},{"e":"➗","d":"divide","c":7,"a":["heavy_division_sign"]},{"e":"♾️","d":"infinity","c":7,"a":["infinity"]},{"e":"‼️","d":"double exclamation mark","c":7,"a":["bangbang"]},{"e":"⁉️","d":"exclamation question mark","c":7,"a":["interrobang"]},{"e":"❓","d":"question mark","c":7,"a":["question"],"t":["confused"]},{"e":"❔","d":"white question mark","c":7,"a":["grey_question"]},{"e":"❕","d":"white exclamation mark","c":7,"a":["grey_exclamation"]},{"e":"❗","d":"exclamation mark","c":7,"a":["exclamation","heavy_exclamation_mark"],"t":["bang"]},{"e":"〰️","d":"wavy dash","c":7,"a":["wavy_dash"]},{"e":"💱","d":"currency exchange","c":7,"a":["currency_exchange"]},{"e":"💲","d":"heavy dollar sign","c":7,"a":["heavy_dollar_sign"]},{"e":"⚕️","d":"medical symbol","c":7,"a":["medical_symbol"]},{"e":"♻️","d":"recycling symbol","c":7,"a":["recycle"],"t":["environment","green"]},{"e":"⚜️","d":"fleur-de-lis","c":7,"a":["fleur_de_lis"]},{"e":"🔱","d":"trident emblem","c":7,"a":["trident"]},{"e":"📛","d":"name badge","c":7,"a":["name_badge"]},{"e":"🔰","d":"Japanese symbol for beginner","c":7,"a":["beginner"]},{"e":"⭕","d":"hollow red circle","c":7,"a":["o"]},{"e":"✅","d":"check mark button","c":7,"a":["white_check_mark"]},{"e":"☑️","d":"check box with check","c":7,"a":["ballot_box_with_check"]},{"e":"✔️","d":"check mark","c":7,"a":["heavy_check_mark"]},{"e":"❌","d":"cross mark","c":7,"a":["x"]},{"e":"❎","d":"cross mark button","c":7,"a":["negative_squared_cross_mark"]},{"e":"➰","d":"curly loop","c":7,"a":["curly_loop"]},{"e":"➿","d":"double curly loop","c":7,"a":["loop"]},{"e":"〽️","d":"part alternation mark","c":7,"a":["part_alternation_mark"]},{"e":"✳️","d":"eight-spoked asterisk","c":7,"a":["eight_spoked_asterisk"]},{"e":"✴️","d":"eight-pointed star","c":7,"a":["eight_pointed_black_star"]},{"e":"❇️","d":"sparkle","c":7,"a":["sparkle"]},{"e":"©️","d":"copyright","c":7,"a":["copyright"]},{"e":"®️","d":"registered","c":7,"a":["registered"]},{"e":"™️","d":"trade mark","c":7,"a":["tm"],"t":["trademark"]},{"e":"#️⃣","d":"keycap: #","c":7,"a":["hash"],"t":["number"]},{"e":"*️⃣","d":"keycap: *","c":7,"a":["asterisk"]},{"e":"0️⃣","d":"keycap: 0","c":7,"a":["zero"]},{"e":"1️⃣","d":"keycap: 1","c":7,"a":["one"]},{"e":"2️⃣","d":"keycap: 2","c":7,"a":["two"]},{"e":"3️⃣","d":"keycap: 3","c":7,"a":["three"]},{"e":"4️⃣","d":"keycap: 4","c":7,"a":["four"]},{"e":"5️⃣","d":"keycap: 5","c":7,"a":["five"]},{"e":"6️⃣","d":"keycap: 6","c":7,"a":["six"]},{"e":"7️⃣","d":"keycap: 7","c":7,"a":["seven"]},{"e":"8️⃣","d":"keycap: 8","c":7,"a":["eight"]},{"e":"9️⃣","d":"keycap: 9","c":7,"a":["nine"]},{"e":"🔟","d":"keycap: 10","c":7,"a":["keycap_ten"]},{"e":"🔠","d":"input latin uppercase","c":7,"a":["capital_abcd"],"t":["letters"]},{"e":"🔡","d":"input latin lowercase","c":7,"a":["abcd"]},{"e":"🔢","d":"input numbers","c":7,"a":["1234"],"t":["numbers"]},{"e":"🔣","d":"input symbols","c":7,"a":["symbols"]},{"e":"🔤","d":"input latin letters","c":7,"a":["abc"],"t":["alphabet"]},{"e":"🅰️","d":"A button (blood type)","c":7,"a":["a"]},{"e":"🆎","d":"AB button (blood type)","c":7,"a":["ab"]},{"e":"🅱️","d":"B button (blood type)","c":7,"a":["b"]},{"e":"🆑","d":"CL button","c":7,"a":["cl"]},{"e":"🆒","d":"COOL button","c":7,"a":["cool"]},{"e":"🆓","d":"FREE button","c":7,"a":["free"]},{"e":"ℹ️","d":"information","c":7,"a":["information_source"]},{"e":"🆔","d":"ID button","c":7,"a":["id"]},{"e":"Ⓜ️","d":"circled M","c":7,"a":["m"]},{"e":"🆕","d":"NEW button","c":7,"a":["new"],"t":["fresh"]},{"e":"🆖","d":"NG button","c":7,"a":["ng"]},{"e":"🅾️","d":"O button (blood type)","c":7,"a":["o2"]},{"e":"🆗","d":"OK button","c":7,"a":["ok"],"t":["yes"]},{"e":"🅿️","d":"P button","c":7,"a":["parking"]},{"e":"🆘","d":"SOS button","c":7,"a":["sos"],"t":["help","emergency"]},{"e":"🆙","d":"UP! button","c":7,"a":["up"]},{"e":"🆚","d":"VS button","c":7,"a":["vs"]},{"e":"🈁","d":"Japanese “here” button","c":7,"a":["koko"]},{"e":"🈂️","d":"Japanese “service charge” button","c":7,"a":["sa"]},{"e":"🈷️","d":"Japanese “monthly amount” button","c":7,"a":["u6708"]},{"e":"🈶","d":"Japanese “not free of charge” button","c":7,"a":["u6709"]},{"e":"🈯","d":"Japanese “reserved” button","c":7,"a":["u6307"]},{"e":"🉐","d":"Japanese “bargain” button","c":7,"a":["ideograph_advantage"]},{"e":"🈹","d":"Japanese “discount” button","c":7,"a":["u5272"]},{"e":"🈚","d":"Japanese “free of charge” button","c":7,"a":["u7121"]},{"e":"🈲","d":"Japanese “prohibited” button","c":7,"a":["u7981"]},{"e":"🉑","d":"Japanese “acceptable” button","c":7,"a":["accept"]},{"e":"🈸","d":"Japanese “application” button","c":7,"a":["u7533"]},{"e":"🈴","d":"Japanese “passing grade” button","c":7,"a":["u5408"]},{"e":"🈳","d":"Japanese “vacancy” button","c":7,"a":["u7a7a"]},{"e":"㊗️","d":"Japanese “congratulations” button","c":7,"a":["congratulations"]},{"e":"㊙️","d":"Japanese “secret” button","c":7,"a":["secret"]},{"e":"🈺","d":"Japanese “open for business” button","c":7,"a":["u55b6"]},{"e":"🈵","d":"Japanese “no vacancy” button","c":7,"a":["u6e80"]},{"e":"🔴","d":"red circle","c":7,"a":["red_circle"]},{"e":"🟠","d":"orange circle","c":7,"a":["orange_circle"]},{"e":"🟡","d":"yellow circle","c":7,"a":["yellow_circle"]},{"e":"🟢","d":"green circle","c":7,"a":["green_circle"]},{"e":"🔵","d":"blue circle","c":7,"a":["large_blue_circle"]},{"e":"🟣","d":"purple circle","c":7,"a":["purple_circle"]},{"e":"🟤","d":"brown circle","c":7,"a":["brown_circle"]},{"e":"⚫","d":"black circle","c":7,"a":["black_circle"]},{"e":"⚪","d":"white circle","c":7,"a":["white_circle"]},{"e":"🟥","d":"red square","c":7,"a":["red_square"]},{"e":"🟧","d":"orange square","c":7,"a":["orange_square"]},{"e":"🟨","d":"yellow square","c":7,"a":["yellow_square"]},{"e":"🟩","d":"green square","c":7,"a":["green_square"]},{"e":"🟦","d":"blue square","c":7,"a":["blue_square"]},{"e":"🟪","d":"purple square","c":7,"a":["purple_square"]},{"e":"🟫","d":"brown square","c":7,"a":["brown_square"]},{"e":"⬛","d":"black large square","c":7,"a":["black_large_square"]},{"e":"⬜","d":"white large square","c":7,"a":["white_large_square"]},{"e":"◼️","d":"black medium square","c":7,"a":["black_medium_square"]},{"e":"◻️","d":"white medium square","c":7,"a":["white_medium_square"]},{"e":"◾","d":"black medium-small square","c":7,"a":["black_medium_small_square"]},{"e":"◽","d":"white medium-small square","c":7,"a":["white_medium_small_square"]},{"e":"▪️","d":"black small square","c":7,"a":["black_small_square"]},{"e":"▫️","d":"white small square","c":7,"a":["white_small_square"]},{"e":"🔶","d":"large orange diamond","c":7,"a":["large_orange_diamond"]},{"e":"🔷","d":"large blue diamond","c":7,"a":["large_blue_diamond"]},{"e":"🔸","d":"small orange diamond","c":7,"a":["small_orange_diamond"]},{"e":"🔹","d":"small blue diamond","c":7,"a":["small_blue_diamond"]},{"e":"🔺","d":"red triangle pointed up","c":7,"a":["small_red_triangle"]},{"e":"🔻","d":"red triangle pointed down","c":7,"a":["small_red_triangle_down"]},{"e":"💠","d":"diamond with a dot","c":7,"a":["diamond_shape_with_a_dot_inside"]},{"e":"🔘","d":"radio button","c":7,"a":["radio_button"]},{"e":"🔳","d":"white square button","c":7,"a":["white_square_button"]},{"e":"🔲","d":"black square button","c":7,"a":["black_square_button"]},{"e":"🏁","d":"chequered flag","c":8,"a":["checkered_flag"],"t":["milestone","finish"]},{"e":"🚩","d":"triangular flag","c":8,"a":["triangular_flag_on_post"]},{"e":"🎌","d":"crossed flags","c":8,"a":["crossed_flags"]},{"e":"🏴","d":"black flag","c":8,"a":["black_flag"]},{"e":"🏳️","d":"white flag","c":8,"a":["white_flag"]},{"e":"🏳️🌈","d":"rainbow flag","c":8,"a":["rainbow_flag"],"t":["pride"]},{"e":"🏳️⚧️","d":"transgender flag","c":8,"a":["transgender_flag"]},{"e":"🏴☠️","d":"pirate flag","c":8,"a":["pirate_flag"]},{"e":"🇦🇨","d":"flag: Ascension Island","c":8,"a":["ascension_island"]},{"e":"🇦🇩","d":"flag: Andorra","c":8,"a":["andorra"]},{"e":"🇦🇪","d":"flag: United Arab Emirates","c":8,"a":["united_arab_emirates"]},{"e":"🇦🇫","d":"flag: Afghanistan","c":8,"a":["afghanistan"]},{"e":"🇦🇬","d":"flag: Antigua & Barbuda","c":8,"a":["antigua_barbuda"]},{"e":"🇦🇮","d":"flag: Anguilla","c":8,"a":["anguilla"]},{"e":"🇦🇱","d":"flag: Albania","c":8,"a":["albania"]},{"e":"🇦🇲","d":"flag: Armenia","c":8,"a":["armenia"]},{"e":"🇦🇴","d":"flag: Angola","c":8,"a":["angola"]},{"e":"🇦🇶","d":"flag: Antarctica","c":8,"a":["antarctica"]},{"e":"🇦🇷","d":"flag: Argentina","c":8,"a":["argentina"]},{"e":"🇦🇸","d":"flag: American Samoa","c":8,"a":["american_samoa"]},{"e":"🇦🇹","d":"flag: Austria","c":8,"a":["austria"]},{"e":"🇦🇺","d":"flag: Australia","c":8,"a":["australia"]},{"e":"🇦🇼","d":"flag: Aruba","c":8,"a":["aruba"]},{"e":"🇦🇽","d":"flag: Åland Islands","c":8,"a":["aland_islands"]},{"e":"🇦🇿","d":"flag: Azerbaijan","c":8,"a":["azerbaijan"]},{"e":"🇧🇦","d":"flag: Bosnia & Herzegovina","c":8,"a":["bosnia_herzegovina"]},{"e":"🇧🇧","d":"flag: Barbados","c":8,"a":["barbados"]},{"e":"🇧🇩","d":"flag: Bangladesh","c":8,"a":["bangladesh"]},{"e":"🇧🇪","d":"flag: Belgium","c":8,"a":["belgium"]},{"e":"🇧🇫","d":"flag: Burkina Faso","c":8,"a":["burkina_faso"]},{"e":"🇧🇬","d":"flag: Bulgaria","c":8,"a":["bulgaria"]},{"e":"🇧🇭","d":"flag: Bahrain","c":8,"a":["bahrain"]},{"e":"🇧🇮","d":"flag: Burundi","c":8,"a":["burundi"]},{"e":"🇧🇯","d":"flag: Benin","c":8,"a":["benin"]},{"e":"🇧🇱","d":"flag: St. Barthélemy","c":8,"a":["st_barthelemy"]},{"e":"🇧🇲","d":"flag: Bermuda","c":8,"a":["bermuda"]},{"e":"🇧🇳","d":"flag: Brunei","c":8,"a":["brunei"]},{"e":"🇧🇴","d":"flag: Bolivia","c":8,"a":["bolivia"]},{"e":"🇧🇶","d":"flag: Caribbean Netherlands","c":8,"a":["caribbean_netherlands"]},{"e":"🇧🇷","d":"flag: Brazil","c":8,"a":["brazil"]},{"e":"🇧🇸","d":"flag: Bahamas","c":8,"a":["bahamas"]},{"e":"🇧🇹","d":"flag: Bhutan","c":8,"a":["bhutan"]},{"e":"🇧🇻","d":"flag: Bouvet Island","c":8,"a":["bouvet_island"]},{"e":"🇧🇼","d":"flag: Botswana","c":8,"a":["botswana"]},{"e":"🇧🇾","d":"flag: Belarus","c":8,"a":["belarus"]},{"e":"🇧🇿","d":"flag: Belize","c":8,"a":["belize"]},{"e":"🇨🇦","d":"flag: Canada","c":8,"a":["canada"]},{"e":"🇨🇨","d":"flag: Cocos (Keeling) Islands","c":8,"a":["cocos_islands"],"t":["keeling"]},{"e":"🇨🇩","d":"flag: Congo - Kinshasa","c":8,"a":["congo_kinshasa"]},{"e":"🇨🇫","d":"flag: Central African Republic","c":8,"a":["central_african_republic"]},{"e":"🇨🇬","d":"flag: Congo - Brazzaville","c":8,"a":["congo_brazzaville"]},{"e":"🇨🇭","d":"flag: Switzerland","c":8,"a":["switzerland"]},{"e":"🇨🇮","d":"flag: Côte d’Ivoire","c":8,"a":["cote_divoire"],"t":["ivory"]},{"e":"🇨🇰","d":"flag: Cook Islands","c":8,"a":["cook_islands"]},{"e":"🇨🇱","d":"flag: Chile","c":8,"a":["chile"]},{"e":"🇨🇲","d":"flag: Cameroon","c":8,"a":["cameroon"]},{"e":"🇨🇳","d":"flag: China","c":8,"a":["cn"],"t":["china"]},{"e":"🇨🇴","d":"flag: Colombia","c":8,"a":["colombia"]},{"e":"🇨🇵","d":"flag: Clipperton Island","c":8,"a":["clipperton_island"]},{"e":"🇨🇷","d":"flag: Costa Rica","c":8,"a":["costa_rica"]},{"e":"🇨🇺","d":"flag: Cuba","c":8,"a":["cuba"]},{"e":"🇨🇻","d":"flag: Cape Verde","c":8,"a":["cape_verde"]},{"e":"🇨🇼","d":"flag: Curaçao","c":8,"a":["curacao"]},{"e":"🇨🇽","d":"flag: Christmas Island","c":8,"a":["christmas_island"]},{"e":"🇨🇾","d":"flag: Cyprus","c":8,"a":["cyprus"]},{"e":"🇨🇿","d":"flag: Czechia","c":8,"a":["czech_republic"]},{"e":"🇩🇪","d":"flag: Germany","c":8,"a":["de"],"t":["flag","germany"]},{"e":"🇩🇬","d":"flag: Diego Garcia","c":8,"a":["diego_garcia"]},{"e":"🇩🇯","d":"flag: Djibouti","c":8,"a":["djibouti"]},{"e":"🇩🇰","d":"flag: Denmark","c":8,"a":["denmark"]},{"e":"🇩🇲","d":"flag: Dominica","c":8,"a":["dominica"]},{"e":"🇩🇴","d":"flag: Dominican Republic","c":8,"a":["dominican_republic"]},{"e":"🇩🇿","d":"flag: Algeria","c":8,"a":["algeria"]},{"e":"🇪🇦","d":"flag: Ceuta & Melilla","c":8,"a":["ceuta_melilla"]},{"e":"🇪🇨","d":"flag: Ecuador","c":8,"a":["ecuador"]},{"e":"🇪🇪","d":"flag: Estonia","c":8,"a":["estonia"]},{"e":"🇪🇬","d":"flag: Egypt","c":8,"a":["egypt"]},{"e":"🇪🇭","d":"flag: Western Sahara","c":8,"a":["western_sahara"]},{"e":"🇪🇷","d":"flag: Eritrea","c":8,"a":["eritrea"]},{"e":"🇪🇸","d":"flag: Spain","c":8,"a":["es"],"t":["spain"]},{"e":"🇪🇹","d":"flag: Ethiopia","c":8,"a":["ethiopia"]},{"e":"🇪🇺","d":"flag: European Union","c":8,"a":["eu","european_union"]},{"e":"🇫🇮","d":"flag: Finland","c":8,"a":["finland"]},{"e":"🇫🇯","d":"flag: Fiji","c":8,"a":["fiji"]},{"e":"🇫🇰","d":"flag: Falkland Islands","c":8,"a":["falkland_islands"]},{"e":"🇫🇲","d":"flag: Micronesia","c":8,"a":["micronesia"]},{"e":"🇫🇴","d":"flag: Faroe Islands","c":8,"a":["faroe_islands"]},{"e":"🇫🇷","d":"flag: France","c":8,"a":["fr"],"t":["france","french"]},{"e":"🇬🇦","d":"flag: Gabon","c":8,"a":["gabon"]},{"e":"🇬🇧","d":"flag: United Kingdom","c":8,"a":["gb","uk"],"t":["flag","british"]},{"e":"🇬🇩","d":"flag: Grenada","c":8,"a":["grenada"]},{"e":"🇬🇪","d":"flag: Georgia","c":8,"a":["georgia"]},{"e":"🇬🇫","d":"flag: French Guiana","c":8,"a":["french_guiana"]},{"e":"🇬🇬","d":"flag: Guernsey","c":8,"a":["guernsey"]},{"e":"🇬🇭","d":"flag: Ghana","c":8,"a":["ghana"]},{"e":"🇬🇮","d":"flag: Gibraltar","c":8,"a":["gibraltar"]},{"e":"🇬🇱","d":"flag: Greenland","c":8,"a":["greenland"]},{"e":"🇬🇲","d":"flag: Gambia","c":8,"a":["gambia"]},{"e":"🇬🇳","d":"flag: Guinea","c":8,"a":["guinea"]},{"e":"🇬🇵","d":"flag: Guadeloupe","c":8,"a":["guadeloupe"]},{"e":"🇬🇶","d":"flag: Equatorial Guinea","c":8,"a":["equatorial_guinea"]},{"e":"🇬🇷","d":"flag: Greece","c":8,"a":["greece"]},{"e":"🇬🇸","d":"flag: South Georgia & South Sandwich Islands","c":8,"a":["south_georgia_south_sandwich_islands"]},{"e":"🇬🇹","d":"flag: Guatemala","c":8,"a":["guatemala"]},{"e":"🇬🇺","d":"flag: Guam","c":8,"a":["guam"]},{"e":"🇬🇼","d":"flag: Guinea-Bissau","c":8,"a":["guinea_bissau"]},{"e":"🇬🇾","d":"flag: Guyana","c":8,"a":["guyana"]},{"e":"🇭🇰","d":"flag: Hong Kong SAR China","c":8,"a":["hong_kong"]},{"e":"🇭🇲","d":"flag: Heard & McDonald Islands","c":8,"a":["heard_mcdonald_islands"]},{"e":"🇭🇳","d":"flag: Honduras","c":8,"a":["honduras"]},{"e":"🇭🇷","d":"flag: Croatia","c":8,"a":["croatia"]},{"e":"🇭🇹","d":"flag: Haiti","c":8,"a":["haiti"]},{"e":"🇭🇺","d":"flag: Hungary","c":8,"a":["hungary"]},{"e":"🇮🇨","d":"flag: Canary Islands","c":8,"a":["canary_islands"]},{"e":"🇮🇩","d":"flag: Indonesia","c":8,"a":["indonesia"]},{"e":"🇮🇪","d":"flag: Ireland","c":8,"a":["ireland"]},{"e":"🇮🇱","d":"flag: Israel","c":8,"a":["israel"]},{"e":"🇮🇲","d":"flag: Isle of Man","c":8,"a":["isle_of_man"]},{"e":"🇮🇳","d":"flag: India","c":8,"a":["india"]},{"e":"🇮🇴","d":"flag: British Indian Ocean Territory","c":8,"a":["british_indian_ocean_territory"]},{"e":"🇮🇶","d":"flag: Iraq","c":8,"a":["iraq"]},{"e":"🇮🇷","d":"flag: Iran","c":8,"a":["iran"]},{"e":"🇮🇸","d":"flag: Iceland","c":8,"a":["iceland"]},{"e":"🇮🇹","d":"flag: Italy","c":8,"a":["it"],"t":["italy"]},{"e":"🇯🇪","d":"flag: Jersey","c":8,"a":["jersey"]},{"e":"🇯🇲","d":"flag: Jamaica","c":8,"a":["jamaica"]},{"e":"🇯🇴","d":"flag: Jordan","c":8,"a":["jordan"]},{"e":"🇯🇵","d":"flag: Japan","c":8,"a":["jp"],"t":["japan"]},{"e":"🇰🇪","d":"flag: Kenya","c":8,"a":["kenya"]},{"e":"🇰🇬","d":"flag: Kyrgyzstan","c":8,"a":["kyrgyzstan"]},{"e":"🇰🇭","d":"flag: Cambodia","c":8,"a":["cambodia"]},{"e":"🇰🇮","d":"flag: Kiribati","c":8,"a":["kiribati"]},{"e":"🇰🇲","d":"flag: Comoros","c":8,"a":["comoros"]},{"e":"🇰🇳","d":"flag: St. Kitts & Nevis","c":8,"a":["st_kitts_nevis"]},{"e":"🇰🇵","d":"flag: North Korea","c":8,"a":["north_korea"]},{"e":"🇰🇷","d":"flag: South Korea","c":8,"a":["kr"],"t":["korea"]},{"e":"🇰🇼","d":"flag: Kuwait","c":8,"a":["kuwait"]},{"e":"🇰🇾","d":"flag: Cayman Islands","c":8,"a":["cayman_islands"]},{"e":"🇰🇿","d":"flag: Kazakhstan","c":8,"a":["kazakhstan"]},{"e":"🇱🇦","d":"flag: Laos","c":8,"a":["laos"]},{"e":"🇱🇧","d":"flag: Lebanon","c":8,"a":["lebanon"]},{"e":"🇱🇨","d":"flag: St. Lucia","c":8,"a":["st_lucia"]},{"e":"🇱🇮","d":"flag: Liechtenstein","c":8,"a":["liechtenstein"]},{"e":"🇱🇰","d":"flag: Sri Lanka","c":8,"a":["sri_lanka"]},{"e":"🇱🇷","d":"flag: Liberia","c":8,"a":["liberia"]},{"e":"🇱🇸","d":"flag: Lesotho","c":8,"a":["lesotho"]},{"e":"🇱🇹","d":"flag: Lithuania","c":8,"a":["lithuania"]},{"e":"🇱🇺","d":"flag: Luxembourg","c":8,"a":["luxembourg"]},{"e":"🇱🇻","d":"flag: Latvia","c":8,"a":["latvia"]},{"e":"🇱🇾","d":"flag: Libya","c":8,"a":["libya"]},{"e":"🇲🇦","d":"flag: Morocco","c":8,"a":["morocco"]},{"e":"🇲🇨","d":"flag: Monaco","c":8,"a":["monaco"]},{"e":"🇲🇩","d":"flag: Moldova","c":8,"a":["moldova"]},{"e":"🇲🇪","d":"flag: Montenegro","c":8,"a":["montenegro"]},{"e":"🇲🇫","d":"flag: St. Martin","c":8,"a":["st_martin"]},{"e":"🇲🇬","d":"flag: Madagascar","c":8,"a":["madagascar"]},{"e":"🇲🇭","d":"flag: Marshall Islands","c":8,"a":["marshall_islands"]},{"e":"🇲🇰","d":"flag: North Macedonia","c":8,"a":["macedonia"]},{"e":"🇲🇱","d":"flag: Mali","c":8,"a":["mali"]},{"e":"🇲🇲","d":"flag: Myanmar (Burma)","c":8,"a":["myanmar"],"t":["burma"]},{"e":"🇲🇳","d":"flag: Mongolia","c":8,"a":["mongolia"]},{"e":"��🇴","d":"flag: Macao SAR China","c":8,"a":["macau"]},{"e":"🇲🇵","d":"flag: Northern Mariana Islands","c":8,"a":["northern_mariana_islands"]},{"e":"🇲🇶","d":"flag: Martinique","c":8,"a":["martinique"]},{"e":"🇲🇷","d":"flag: Mauritania","c":8,"a":["mauritania"]},{"e":"🇲🇸","d":"flag: Montserrat","c":8,"a":["montserrat"]},{"e":"🇲🇹","d":"flag: Malta","c":8,"a":["malta"]},{"e":"🇲🇺","d":"flag: Mauritius","c":8,"a":["mauritius"]},{"e":"🇲🇻","d":"flag: Maldives","c":8,"a":["maldives"]},{"e":"🇲🇼","d":"flag: Malawi","c":8,"a":["malawi"]},{"e":"🇲🇽","d":"flag: Mexico","c":8,"a":["mexico"]},{"e":"🇲🇾","d":"flag: Malaysia","c":8,"a":["malaysia"]},{"e":"🇲🇿","d":"flag: Mozambique","c":8,"a":["mozambique"]},{"e":"🇳🇦","d":"flag: Namibia","c":8,"a":["namibia"]},{"e":"🇳🇨","d":"flag: New Caledonia","c":8,"a":["new_caledonia"]},{"e":"🇳🇪","d":"flag: Niger","c":8,"a":["niger"]},{"e":"🇳🇫","d":"flag: Norfolk Island","c":8,"a":["norfolk_island"]},{"e":"🇳🇬","d":"flag: Nigeria","c":8,"a":["nigeria"]},{"e":"🇳🇮","d":"flag: Nicaragua","c":8,"a":["nicaragua"]},{"e":"🇳🇱","d":"flag: Netherlands","c":8,"a":["netherlands"]},{"e":"🇳🇴","d":"flag: Norway","c":8,"a":["norway"]},{"e":"🇳🇵","d":"flag: Nepal","c":8,"a":["nepal"]},{"e":"🇳🇷","d":"flag: Nauru","c":8,"a":["nauru"]},{"e":"🇳🇺","d":"flag: Niue","c":8,"a":["niue"]},{"e":"🇳🇿","d":"flag: New Zealand","c":8,"a":["new_zealand"]},{"e":"🇴🇲","d":"flag: Oman","c":8,"a":["oman"]},{"e":"🇵🇦","d":"flag: Panama","c":8,"a":["panama"]},{"e":"🇵🇪","d":"flag: Peru","c":8,"a":["peru"]},{"e":"🇵🇫","d":"flag: French Polynesia","c":8,"a":["french_polynesia"]},{"e":"🇵🇬","d":"flag: Papua New Guinea","c":8,"a":["papua_new_guinea"]},{"e":"🇵🇭","d":"flag: Philippines","c":8,"a":["philippines"]},{"e":"🇵🇰","d":"flag: Pakistan","c":8,"a":["pakistan"]},{"e":"🇵🇱","d":"flag: Poland","c":8,"a":["poland"]},{"e":"🇵🇲","d":"flag: St. Pierre & Miquelon","c":8,"a":["st_pierre_miquelon"]},{"e":"🇵🇳","d":"flag: Pitcairn Islands","c":8,"a":["pitcairn_islands"]},{"e":"🇵🇷","d":"flag: Puerto Rico","c":8,"a":["puerto_rico"]},{"e":"🇵🇸","d":"flag: Palestinian Territories","c":8,"a":["palestinian_territories"]},{"e":"🇵🇹","d":"flag: Portugal","c":8,"a":["portugal"]},{"e":"🇵🇼","d":"flag: Palau","c":8,"a":["palau"]},{"e":"🇵🇾","d":"flag: Paraguay","c":8,"a":["paraguay"]},{"e":"🇶🇦","d":"flag: Qatar","c":8,"a":["qatar"]},{"e":"🇷🇪","d":"flag: Réunion","c":8,"a":["reunion"]},{"e":"🇷🇴","d":"flag: Romania","c":8,"a":["romania"]},{"e":"🇷🇸","d":"flag: Serbia","c":8,"a":["serbia"]},{"e":"🇷🇺","d":"flag: Russia","c":8,"a":["ru"],"t":["russia"]},{"e":"🇷🇼","d":"flag: Rwanda","c":8,"a":["rwanda"]},{"e":"🇸🇦","d":"flag: Saudi Arabia","c":8,"a":["saudi_arabia"]},{"e":"����🇧","d":"flag: Solomon Islands","c":8,"a":["solomon_islands"]},{"e":"🇸🇨","d":"flag: Seychelles","c":8,"a":["seychelles"]},{"e":"🇸🇩","d":"flag: Sudan","c":8,"a":["sudan"]},{"e":"🇸🇪","d":"flag: Sweden","c":8,"a":["sweden"]},{"e":"🇸🇬","d":"flag: Singapore","c":8,"a":["singapore"]},{"e":"🇸🇭","d":"flag: St. Helena","c":8,"a":["st_helena"]},{"e":"🇸🇮","d":"flag: Slovenia","c":8,"a":["slovenia"]},{"e":"🇸🇯","d":"flag: Svalbard & Jan Mayen","c":8,"a":["svalbard_jan_mayen"]},{"e":"🇸🇰","d":"flag: Slovakia","c":8,"a":["slovakia"]},{"e":"🇸🇱","d":"flag: Sierra Leone","c":8,"a":["sierra_leone"]},{"e":"🇸🇲","d":"flag: San Marino","c":8,"a":["san_marino"]},{"e":"🇸🇳","d":"flag: Senegal","c":8,"a":["senegal"]},{"e":"🇸🇴","d":"flag: Somalia","c":8,"a":["somalia"]},{"e":"🇸🇷","d":"flag: Suriname","c":8,"a":["suriname"]},{"e":"🇸🇸","d":"flag: South Sudan","c":8,"a":["south_sudan"]},{"e":"🇸🇹","d":"flag: São Tomé & Príncipe","c":8,"a":["sao_tome_principe"]},{"e":"🇸🇻","d":"flag: El Salvador","c":8,"a":["el_salvador"]},{"e":"🇸🇽","d":"flag: Sint Maarten","c":8,"a":["sint_maarten"]},{"e":"🇸🇾","d":"flag: Syria","c":8,"a":["syria"]},{"e":"🇸🇿","d":"flag: Eswatini","c":8,"a":["swaziland"]},{"e":"🇹🇦","d":"flag: Tristan da Cunha","c":8,"a":["tristan_da_cunha"]},{"e":"🇹🇨","d":"flag: Turks & Caicos Islands","c":8,"a":["turks_caicos_islands"]},{"e":"🇹🇩","d":"flag: Chad","c":8,"a":["chad"]},{"e":"🇹🇫","d":"flag: French Southern Territories","c":8,"a":["french_southern_territories"]},{"e":"🇹🇬","d":"flag: Togo","c":8,"a":["togo"]},{"e":"🇹🇭","d":"flag: Thailand","c":8,"a":["thailand"]},{"e":"🇹🇯","d":"flag: Tajikistan","c":8,"a":["tajikistan"]},{"e":"🇹🇰","d":"flag: Tokelau","c":8,"a":["tokelau"]},{"e":"🇹🇱","d":"flag: Timor-Leste","c":8,"a":["timor_leste"]},{"e":"🇹🇲","d":"flag: Turkmenistan","c":8,"a":["turkmenistan"]},{"e":"🇹🇳","d":"flag: Tunisia","c":8,"a":["tunisia"]},{"e":"🇹🇴","d":"flag: Tonga","c":8,"a":["tonga"]},{"e":"🇹🇷","d":"flag: Turkey","c":8,"a":["tr"],"t":["turkey"]},{"e":"🇹🇹","d":"flag: Trinidad & Tobago","c":8,"a":["trinidad_tobago"]},{"e":"🇹🇻","d":"flag: Tuvalu","c":8,"a":["tuvalu"]},{"e":"🇹🇼","d":"flag: Taiwan","c":8,"a":["taiwan"]},{"e":"🇹🇿","d":"flag: Tanzania","c":8,"a":["tanzania"]},{"e":"🇺🇦","d":"flag: Ukraine","c":8,"a":["ukraine"]},{"e":"🇺🇬","d":"flag: Uganda","c":8,"a":["uganda"]},{"e":"🇺🇲","d":"flag: U.S. Outlying Islands","c":8,"a":["us_outlying_islands"]},{"e":"🇺🇳","d":"flag: United Nations","c":8,"a":["united_nations"]},{"e":"🇺🇸","d":"flag: United States","c":8,"a":["us"],"t":["flag","united","america"]},{"e":"🇺🇾","d":"flag: Uruguay","c":8,"a":["uruguay"]},{"e":"🇺🇿","d":"flag: Uzbekistan","c":8,"a":["uzbekistan"]},{"e":"🇻🇦","d":"flag: Vatican City","c":8,"a":["vatican_city"]},{"e":"🇻🇨","d":"flag: St. Vincent & Grenadines","c":8,"a":["st_vincent_grenadines"]},{"e":"🇻🇪","d":"flag: Venezuela","c":8,"a":["venezuela"]},{"e":"🇻🇬","d":"flag: British Virgin Islands","c":8,"a":["british_virgin_islands"]},{"e":"🇻🇮","d":"flag: U.S. Virgin Islands","c":8,"a":["us_virgin_islands"]},{"e":"🇻🇳","d":"flag: Vietnam","c":8,"a":["vietnam"]},{"e":"🇻🇺","d":"flag: Vanuatu","c":8,"a":["vanuatu"]},{"e":"🇼🇫","d":"flag: Wallis & Futuna","c":8,"a":["wallis_futuna"]},{"e":"🇼🇸","d":"flag: Samoa","c":8,"a":["samoa"]},{"e":"🇽🇰","d":"flag: Kosovo","c":8,"a":["kosovo"]},{"e":"🇾🇪","d":"flag: Yemen","c":8,"a":["yemen"]},{"e":"🇾🇹","d":"flag: Mayotte","c":8,"a":["mayotte"]},{"e":"🇿🇦","d":"flag: South Africa","c":8,"a":["south_africa"]},{"e":"🇿🇲","d":"flag: Zambia","c":8,"a":["zambia"]},{"e":"🇿🇼","d":"flag: Zimbabwe","c":8,"a":["zimbabwe"]},{"e":"🏴","d":"flag: England","c":8,"a":["england"]},{"e":"🏴","d":"flag: Scotland","c":8,"a":["scotland"]},{"e":"🏴","d":"flag: Wales","c":8,"a":["wales"]}]}')},e=>{e.exports='<svg height="1792" viewBox="0 0 1792 1792" width="1792" xmlns="http://www.w3.org/2000/svg"> <path d="M1262 1075q-37 121-138 195t-228 74-228-74-138-195q-8-25 4-48.5t38-31.5q25-8 48.5 4t31.5 38q25 80 92.5 129.5t151.5 49.5 151.5-49.5 92.5-129.5q8-26 32-38t49-4 37 31.5 4 48.5zm-494-435q0 53-37.5 90.5t-90.5 37.5-90.5-37.5-37.5-90.5 37.5-90.5 90.5-37.5 90.5 37.5 37.5 90.5zm512 0q0 53-37.5 90.5t-90.5 37.5-90.5-37.5-37.5-90.5 37.5-90.5 90.5-37.5 90.5 37.5 37.5 90.5zm256 256q0-130-51-248.5t-136.5-204-204-136.5-248.5-51-248.5 51-204 136.5-136.5 204-51 248.5 51 248.5 136.5 204 204 136.5 248.5 51 248.5-51 204-136.5 136.5-204 51-248.5zm128 0q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"/> </svg>'},function(e,t,i){"use strict";i.d(t,{colorPicker:()=>c});var o=i(185),s=i(62),a=i(4),n=i(218),r=i(19),l=i(1);class c extends s.S{constructor(){super(...arguments),this.requires=["license"],this.hasStyle=!l.Jodit.fatMode}afterInit(e){e.e.on("afterGenerateColorPicker",this.onAfterGenerateColorPicker)}onAfterGenerateColorPicker(e,t,i,o){a.Dom.detach(t);const s=new n.T(this.j,{value:o||"#000",onChange:i});t.appendChild(s.container)}beforeDestruct(e){e.e.off("afterGenerateColorPicker",this.onAfterGenerateColorPicker)}}(0,o.gn)([r.autobind],c.prototype,"onAfterGenerateColorPicker",null),l.Jodit.plugins.add("color-picker",c)},function(e,t,i){"use strict";i.d(t,{T:()=>d});var o=i(185),s=i(37),a=i(19),n=i(10),r=i(219),l=i(4),c=i(3);let d=class extends s.u3{constructor(e,t){super(e,t);const i=new s.GI(e);this.popup=i,this.trigger=(0,s.zx)(this.j,"ok");const o=this.getElm("wrapper");(0,n.assert)(null!=o,"wrapper element does not exist"),o.appendChild(this.trigger.container),this.trigger.container.classList.add(this.getFullElName("trigger")),this.trigger.onAction((()=>{var e,t;null===(t=(e=this.state).onChange)||void 0===t||t.call(e,this.value),i.close()})),i.setMod("padding",!1).setMod("max-height",!1);const a=this.j.create.div(this.getFullElName("picker")),c=r.createPicker(a,{paletteEditable:!0,showAlpha:!0,palette:"PALETTE_MATERIAL_CHROME"}).on("change",((e,t)=>{this.isFocused||(this.value=r.parseColor(t||"","hex"))}));this.j.e.on(this,"change",(()=>{r.parseColor(this.value,"hex")!==c.color&&(c.color=this.value)})),i.setContent(a),this.j.e.on(this.nativeInput,"click",(()=>{i.parentElement=this,this.jodit instanceof l.Dialog&&i.setZIndex(this.jodit.getZIndex()+1),i.open((()=>(0,n.position)(this.container)))})),this.onChangeValue(),this.onChangeSelfValue()}className(){return"ColorInput"}setMod(e,t,i=this.container){return"slim"===e&&t&&this.nativeInput.setAttribute("readonly","true"),super.setMod(e,t,i)}onChangeSelfValue(){this.nativeInput.style.backgroundColor=this.value}onEscKeyDown(e){var t;e.key===c.KEY_ESC&&(null===(t=this.popup)||void 0===t||t.close())}};(0,o.gn)([(0,a.watch)(":change")],d.prototype,"onChangeSelfValue",null),(0,o.gn)([(0,a.watch)("nativeInput:keydown")],d.prototype,"onEscKeyDown",null),d=(0,o.gn)([a.component],d)},function(e){"undefined"!=typeof self&&self,e.exports=(e=>{var t={};function i(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,i),s.l=!0,s.exports}return i.m=e,i.c=t,i.d=(e,t,o)=>{i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=(e,t)=>{if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)i.d(o,s,(t=>e[t]).bind(null,s));return o},i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,"a",t),t},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.p="",i(i.s=1)})([(e,t,i)=>{"use strict";var o=i(3);function s(e){return!0===o(e)&&"[object Object]"===Object.prototype.toString.call(e)}e.exports=e=>{var t,i;return!1!==s(e)&&"function"==typeof(t=e.constructor)&&!1!==s(i=t.prototype)&&!1!==i.hasOwnProperty("isPrototypeOf")}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VERSION=t.PALETTE_MATERIAL_CHROME=t.PALETTE_MATERIAL_500=t.COLOR_NAMES=t.getLuminance=t.intToRgb=t.rgbToInt=t.rgbToHsv=t.rgbToHsl=t.hslToRgb=t.rgbToHex=t.parseColor=t.parseColorToHsla=t.parseColorToHsl=t.parseColorToRgba=t.parseColorToRgb=t.from=t.createPicker=void 0;var o=(()=>{function e(e,t){for(var i=0;t.length>i;i++){var o=t[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return(t,i,o)=>(i&&e(t.prototype,i),o&&e(t,o),t)})(),s=(e,t)=>{if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return((e,t)=>{var i=[],o=!0,s=!1,a=void 0;try{for(var n,r=e[Symbol.iterator]();!(o=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{!o&&r.return&&r.return()}finally{if(s)throw a}}return i})(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=i(2),n=l(i(0)),r=l(i(4));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e){if(Array.isArray(e)){for(var t=0,i=Array(e.length);e.length>t;t++)i[t]=e[t];return i}return Array.from(e)}var h="undefined"!=typeof window&&window.navigator.userAgent.indexOf("Edge")>-1,u="undefined"!=typeof window&&window.navigator.userAgent.indexOf("rv:")>-1,p={id:null,attachTo:"body",showHSL:!0,showRGB:!0,showHEX:!0,showAlpha:!1,color:"#ff0000",palette:null,paletteEditable:!1,useAlphaInPalette:"auto",slBarSize:[232,150],hueBarSize:[150,11],alphaBarSize:[150,11]},m="COLOR",g="RGBA_USER",f="HSLA_USER";function b(e,t,i){return e?e instanceof HTMLElement?e:e instanceof NodeList?e[0]:"string"==typeof e?document.querySelector(e):e.jquery?e.get(0):i?t:null:t}function v(e){var t=e.getContext("2d"),i=+e.width,o=+e.height,n=t.createLinearGradient(1,1,1,o-1);return n.addColorStop(0,"white"),n.addColorStop(1,"black"),{setHue(e){var s=t.createLinearGradient(1,0,i-1,0);s.addColorStop(0,"hsla("+e+", 100%, 50%, 0)"),s.addColorStop(1,"hsla("+e+", 100%, 50%, 1)"),t.fillStyle=n,t.fillRect(0,0,i,o),t.fillStyle=s,t.globalCompositeOperation="multiply",t.fillRect(0,0,i,o),t.globalCompositeOperation="source-over"},grabColor:(e,i)=>t.getImageData(e,i,1,1).data,findColor(e,t,n){var r=(0,a.rgbToHsv)(e,t,n),l=s(r,3);return[l[1]*i,o-l[2]*o]}}}function w(e,t,i){return null===e?t:/^\s*$/.test(e)?i:!!/true|yes|1/i.test(e)||!/false|no|0/i.test(e)&&t}function y(e,t,i){if(null===e)return t;if(/^\s*$/.test(e))return i;var o=e.split(",").map(Number);return 2===o.length&&o[0]&&o[1]?o:t}var k=function(){function e(t,i){if(c(this,e),i?(t=b(t),this.options=Object.assign({},p,i)):t&&(0,n.default)(t)?(this.options=Object.assign({},p,t),t=b(this.options.attachTo)):(this.options=Object.assign({},p),t=b((0,a.nvl)(t,this.options.attachTo))),!t)throw Error("Container not found: "+this.options.attachTo);!function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"acp-";if(t.hasAttribute(i+"show-hsl")&&(e.showHSL=w(t.getAttribute(i+"show-hsl"),p.showHSL,!0)),t.hasAttribute(i+"show-rgb")&&(e.showRGB=w(t.getAttribute(i+"show-rgb"),p.showRGB,!0)),t.hasAttribute(i+"show-hex")&&(e.showHEX=w(t.getAttribute(i+"show-hex"),p.showHEX,!0)),t.hasAttribute(i+"show-alpha")&&(e.showAlpha=w(t.getAttribute(i+"show-alpha"),p.showAlpha,!0)),t.hasAttribute(i+"palette-editable")&&(e.paletteEditable=w(t.getAttribute(i+"palette-editable"),p.paletteEditable,!0)),t.hasAttribute(i+"sl-bar-size")&&(e.slBarSize=y(t.getAttribute(i+"sl-bar-size"),p.slBarSize,[232,150])),t.hasAttribute(i+"hue-bar-size")&&(e.hueBarSize=y(t.getAttribute(i+"hue-bar-size"),p.hueBarSize,[150,11]),e.alphaBarSize=e.hueBarSize),t.hasAttribute(i+"palette")){var o=t.getAttribute(i+"palette");switch(o){case"PALETTE_MATERIAL_500":e.palette=a.PALETTE_MATERIAL_500;break;case"PALETTE_MATERIAL_CHROME":case"":e.palette=a.PALETTE_MATERIAL_CHROME;break;default:e.palette=o.split(/[;|]/)}}t.hasAttribute(i+"color")&&(e.color=t.getAttribute(i+"color"))}(this.options,t),this.H=0,this.S=0,this.L=0,this.R=0,this.G=0,this.B=0,this.A=1,this.palette={},this.element=document.createElement("div"),this.options.id&&(this.element.id=this.options.id),this.element.className="a-color-picker",this.element.innerHTML=r.default,t.appendChild(this.element);var o=this.element.querySelector(".a-color-picker-h");this.setupHueCanvas(o),this.hueBarHelper=v(o),this.huePointer=this.element.querySelector(".a-color-picker-h+.a-color-picker-dot");var s=this.element.querySelector(".a-color-picker-sl");this.setupSlCanvas(s),this.slBarHelper=v(s),this.slPointer=this.element.querySelector(".a-color-picker-sl+.a-color-picker-dot"),this.preview=this.element.querySelector(".a-color-picker-preview"),this.setupClipboard(this.preview.querySelector(".a-color-picker-clipbaord")),this.options.showHSL?(this.setupInput(this.inputH=this.element.querySelector(".a-color-picker-hsl>input[nameref=H]")),this.setupInput(this.inputS=this.element.querySelector(".a-color-picker-hsl>input[nameref=S]")),this.setupInput(this.inputL=this.element.querySelector(".a-color-picker-hsl>input[nameref=L]"))):this.element.querySelector(".a-color-picker-hsl").remove(),this.options.showRGB?(this.setupInput(this.inputR=this.element.querySelector(".a-color-picker-rgb>input[nameref=R]")),this.setupInput(this.inputG=this.element.querySelector(".a-color-picker-rgb>input[nameref=G]")),this.setupInput(this.inputB=this.element.querySelector(".a-color-picker-rgb>input[nameref=B]"))):this.element.querySelector(".a-color-picker-rgb").remove(),this.options.showHEX?this.setupInput(this.inputRGBHEX=this.element.querySelector("input[nameref=RGBHEX]")):this.element.querySelector(".a-color-picker-rgbhex").remove(),this.options.paletteEditable||this.options.palette&&this.options.palette.length>0?this.setPalette(this.paletteRow=this.element.querySelector(".a-color-picker-palette")):(this.paletteRow=this.element.querySelector(".a-color-picker-palette"),this.paletteRow.remove()),this.options.showAlpha?(this.setupAlphaCanvas(this.element.querySelector(".a-color-picker-a")),this.alphaPointer=this.element.querySelector(".a-color-picker-a+.a-color-picker-dot")):this.element.querySelector(".a-color-picker-alpha").remove(),this.element.style.width=this.options.slBarSize[0]+"px",this.onValueChanged(m,this.options.color)}return o(e,[{key:"setupHueCanvas",value(e){var t=this;e.width=this.options.hueBarSize[0],e.height=this.options.hueBarSize[1];for(var i=e.getContext("2d"),o=i.createLinearGradient(0,0,this.options.hueBarSize[0],0),s=0;1>=s;s+=1/360)o.addColorStop(s,"hsl("+360*s+", 100%, 50%)");i.fillStyle=o,i.fillRect(0,0,this.options.hueBarSize[0],this.options.hueBarSize[1]);var n=i=>{var o=(0,a.limit)(i.clientX-e.getBoundingClientRect().left,0,t.options.hueBarSize[0]),s=Math.round(360*o/t.options.hueBarSize[0]);t.huePointer.style.left=o-7+"px",t.onValueChanged("H",s)},r=function e(){document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",e)};e.addEventListener("mousedown",(e=>{n(e),document.addEventListener("mousemove",n),document.addEventListener("mouseup",r)}))}},{key:"setupSlCanvas",value(e){var t=this;e.width=this.options.slBarSize[0],e.height=this.options.slBarSize[1];var i=i=>{var o=(0,a.limit)(i.clientX-e.getBoundingClientRect().left,0,t.options.slBarSize[0]-1),s=(0,a.limit)(i.clientY-e.getBoundingClientRect().top,0,t.options.slBarSize[1]-1),n=t.slBarHelper.grabColor(o,s);t.slPointer.style.left=o-7+"px",t.slPointer.style.top=s-7+"px",t.onValueChanged("RGB",n)},o=function e(){document.removeEventListener("mousemove",i),document.removeEventListener("mouseup",e)};e.addEventListener("mousedown",(e=>{i(e),document.addEventListener("mousemove",i),document.addEventListener("mouseup",o)}))}},{key:"setupAlphaCanvas",value(e){var t=this;e.width=this.options.alphaBarSize[0],e.height=this.options.alphaBarSize[1];var i=e.getContext("2d"),o=i.createLinearGradient(0,0,e.width-1,0);o.addColorStop(0,"hsla(0, 0%, 50%, 0)"),o.addColorStop(1,"hsla(0, 0%, 50%, 1)"),i.fillStyle=o,i.fillRect(0,0,this.options.alphaBarSize[0],this.options.alphaBarSize[1]);var s=i=>{var o=(0,a.limit)(i.clientX-e.getBoundingClientRect().left,0,t.options.alphaBarSize[0]),s=+(o/t.options.alphaBarSize[0]).toFixed(2);t.alphaPointer.style.left=o-7+"px",t.onValueChanged("ALPHA",s)},n=function e(){document.removeEventListener("mousemove",s),document.removeEventListener("mouseup",e)};e.addEventListener("mousedown",(e=>{s(e),document.addEventListener("mousemove",s),document.addEventListener("mouseup",n)}))}},{key:"setupInput",value(e){var t=this,i=+e.min,o=+e.max,s=e.getAttribute("nameref");e.hasAttribute("select-on-focus")&&e.addEventListener("focus",(()=>{e.select()})),"text"===e.type?e.addEventListener("change",(()=>{t.onValueChanged(s,e.value)})):((h||u)&&e.addEventListener("keydown",(n=>{"Up"===n.key?(e.value=(0,a.limit)(+e.value+1,i,o),t.onValueChanged(s,e.value),n.returnValue=!1):"Down"===n.key&&(e.value=(0,a.limit)(+e.value-1,i,o),t.onValueChanged(s,e.value),n.returnValue=!1)})),e.addEventListener("change",(()=>{t.onValueChanged(s,(0,a.limit)(+e.value,i,o))})))}},{key:"setupClipboard",value(e){var t=this;e.title="click to copy",e.addEventListener("click",(()=>{e.value=(0,a.parseColor)([t.R,t.G,t.B,t.A],"hexcss4"),e.select(),document.execCommand("copy")}))}},{key:"setPalette",value(e){var t=this,i="auto"===this.options.useAlphaInPalette?this.options.showAlpha:this.options.useAlphaInPalette,o=null;switch(this.options.palette){case"PALETTE_MATERIAL_500":o=a.PALETTE_MATERIAL_500;break;case"PALETTE_MATERIAL_CHROME":o=a.PALETTE_MATERIAL_CHROME;break;default:o=(0,a.ensureArray)(this.options.palette)}if(this.options.paletteEditable||o.length>0){var s=(i,o,s)=>{var a=e.querySelector('.a-color-picker-palette-color[data-color="'+i+'"]')||document.createElement("div");a.className="a-color-picker-palette-color",a.style.backgroundColor=i,a.setAttribute("data-color",i),a.title=i,e.insertBefore(a,o),t.palette[i]=!0,s&&t.onPaletteColorAdd(i)},n=(i,o)=>{i?(e.removeChild(i),t.palette[i.getAttribute("data-color")]=!1,o&&t.onPaletteColorRemove(i.getAttribute("data-color"))):(e.querySelectorAll(".a-color-picker-palette-color[data-color]").forEach((t=>{e.removeChild(t)})),Object.keys(t.palette).forEach((e=>{t.palette[e]=!1})),o&&t.onPaletteColorRemove())};if(o.map((e=>(0,a.parseColor)(e,i?"rgbcss4":"hex"))).filter((e=>!!e)).forEach((e=>s(e))),this.options.paletteEditable){var r=document.createElement("div");r.className="a-color-picker-palette-color a-color-picker-palette-add",r.innerHTML="+",e.appendChild(r),e.addEventListener("click",(e=>{/a-color-picker-palette-add/.test(e.target.className)?e.shiftKey?n(null,!0):s(i?(0,a.parseColor)([t.R,t.G,t.B,t.A],"rgbcss4"):(0,a.rgbToHex)(t.R,t.G,t.B),e.target,!0):/a-color-picker-palette-color/.test(e.target.className)&&(e.shiftKey?n(e.target,!0):t.onValueChanged(m,e.target.getAttribute("data-color")))}))}else e.addEventListener("click",(e=>{/a-color-picker-palette-color/.test(e.target.className)&&t.onValueChanged(m,e.target.getAttribute("data-color"))}))}else e.style.display="none"}},{key:"updatePalette",value(e){this.paletteRow.innerHTML="",this.palette={},this.paletteRow.parentElement||this.element.appendChild(this.paletteRow),this.options.palette=e,this.setPalette(this.paletteRow)}},{key:"onValueChanged",value(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{silent:!1};switch(e){case"H":this.H=t;var o=(0,a.hslToRgb)(this.H,this.S,this.L),n=s(o,3);this.R=n[0],this.G=n[1],this.B=n[2],this.slBarHelper.setHue(t),this.updatePointerH(this.H),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"S":this.S=t;var r=(0,a.hslToRgb)(this.H,this.S,this.L),l=s(r,3);this.R=l[0],this.G=l[1],this.B=l[2],this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"L":this.L=t;var c=(0,a.hslToRgb)(this.H,this.S,this.L),d=s(c,3);this.R=d[0],this.G=d[1],this.B=d[2],this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"R":this.R=t;var h=(0,a.rgbToHsl)(this.R,this.G,this.B),u=s(h,3);this.H=u[0],this.S=u[1],this.L=u[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"G":this.G=t;var p=(0,a.rgbToHsl)(this.R,this.G,this.B),b=s(p,3);this.H=b[0],this.S=b[1],this.L=b[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"B":this.B=t;var v=(0,a.rgbToHsl)(this.R,this.G,this.B),w=s(v,3);this.H=w[0],this.S=w[1],this.L=w[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"RGB":var y=s(t,3);this.R=y[0],this.G=y[1],this.B=y[2];var k=(0,a.rgbToHsl)(this.R,this.G,this.B),C=s(k,3);this.H=C[0],this.S=C[1],this.L=C[2],this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B);break;case g:var x=s(t,4);this.R=x[0],this.G=x[1],this.B=x[2],this.A=x[3];var S=(0,a.rgbToHsl)(this.R,this.G,this.B),_=s(S,3);this.H=_[0],this.S=_[1],this.L=_[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B),this.updatePointerA(this.A);break;case f:var E=s(t,4);this.H=E[0],this.S=E[1],this.L=E[2],this.A=E[3];var I=(0,a.hslToRgb)(this.H,this.S,this.L),j=s(I,3);this.R=j[0],this.G=j[1],this.B=j[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B),this.updatePointerA(this.A);break;case"RGBHEX":var T=(0,a.cssColorToRgb)(t)||[this.R,this.G,this.B],z=s(T,3);this.R=z[0],this.G=z[1],this.B=z[2];var L=(0,a.rgbToHsl)(this.R,this.G,this.B),A=s(L,3);this.H=A[0],this.S=A[1],this.L=A[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B);break;case m:var M=(0,a.parseColor)(t,"rgba")||[0,0,0,1],D=s(M,4);this.R=D[0],this.G=D[1],this.B=D[2],this.A=D[3];var B=(0,a.rgbToHsl)(this.R,this.G,this.B),P=s(B,3);this.H=P[0],this.S=P[1],this.L=P[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B),this.updatePointerA(this.A);break;case"ALPHA":this.A=t}this.preview.style.backgroundColor=1===this.A?"rgb("+this.R+","+this.G+","+this.B+")":"rgba("+this.R+","+this.G+","+this.B+","+this.A+")",i&&i.silent||this.onchange&&this.onchange(this.preview.style.backgroundColor)}},{key:"onPaletteColorAdd",value(e){this.oncoloradd&&this.oncoloradd(e)}},{key:"onPaletteColorRemove",value(e){this.oncolorremove&&this.oncolorremove(e)}},{key:"updateInputHSL",value(e,t,i){this.options.showHSL&&(this.inputH.value=e,this.inputS.value=t,this.inputL.value=i)}},{key:"updateInputRGB",value(e,t,i){this.options.showRGB&&(this.inputR.value=e,this.inputG.value=t,this.inputB.value=i)}},{key:"updateInputRGBHEX",value(e,t,i){this.options.showHEX&&(this.inputRGBHEX.value=(0,a.rgbToHex)(e,t,i))}},{key:"updatePointerH",value(e){this.huePointer.style.left=this.options.hueBarSize[0]*e/360-7+"px"}},{key:"updatePointerSL",value(e,t,i){var o=(0,a.hslToRgb)(e,t,i),n=s(o,3),r=this.slBarHelper.findColor(n[0],n[1],n[2]),l=s(r,2),c=l[0],d=l[1];c>=0&&(this.slPointer.style.left=c-7+"px",this.slPointer.style.top=d-7+"px")}},{key:"updatePointerA",value(e){this.options.showAlpha&&(this.alphaPointer.style.left=this.options.alphaBarSize[0]*e-7+"px")}}]),e}(),C=function(){function e(t){c(this,e),this.name=t,this.listeners=[]}return o(e,[{key:"on",value(e){e&&this.listeners.push(e)}},{key:"off",value(e){this.listeners=e?this.listeners.filter((t=>t!==e)):[]}},{key:"emit",value(e,t){for(var i=this.listeners.slice(0),o=0;i.length>o;o++)i[o].apply(t,e)}}]),e}();function x(e,t){var i=new k(e,t),o={change:new C("change"),coloradd:new C("coloradd"),colorremove:new C("colorremove")},n=!0,r={},l={get element(){return i.element},get rgb(){return[i.R,i.G,i.B]},set rgb(e){var t=s(e,3),o=t[0],n=t[1],r=t[2],l=[(0,a.limit)(o,0,255),(0,a.limit)(n,0,255),(0,a.limit)(r,0,255)];i.onValueChanged(g,[o=l[0],n=l[1],r=l[2],1])},get hsl(){return[i.H,i.S,i.L]},set hsl(e){var t=s(e,3),o=t[0],n=t[1],r=t[2],l=[(0,a.limit)(o,0,360),(0,a.limit)(n,0,100),(0,a.limit)(r,0,100)];i.onValueChanged(f,[o=l[0],n=l[1],r=l[2],1])},get rgbhex(){return this.all.hex},get rgba(){return[i.R,i.G,i.B,i.A]},set rgba(e){var t=s(e,4),o=t[0],n=t[1],r=t[2],l=t[3],c=[(0,a.limit)(o,0,255),(0,a.limit)(n,0,255),(0,a.limit)(r,0,255),(0,a.limit)(l,0,1)];i.onValueChanged(g,[o=c[0],n=c[1],r=c[2],l=c[3]])},get hsla(){return[i.H,i.S,i.L,i.A]},set hsla(e){var t=s(e,4),o=t[0],n=t[1],r=t[2],l=t[3],c=[(0,a.limit)(o,0,360),(0,a.limit)(n,0,100),(0,a.limit)(r,0,100),(0,a.limit)(l,0,1)];i.onValueChanged(f,[o=c[0],n=c[1],r=c[2],l=c[3]])},get color(){return""+this.all},set color(e){i.onValueChanged(m,e)},setColor(e){i.onValueChanged(m,e,{silent:arguments.length>1&&void 0!==arguments[1]&&arguments[1]})},get all(){if(n){var e=[i.R,i.G,i.B,i.A],t=1>i.A?"rgba("+i.R+","+i.G+","+i.B+","+i.A+")":a.rgbToHex.apply(void 0,e);(r=(0,a.parseColor)(e,r)).toString=()=>t,n=!1}return Object.assign({},r)},get onchange(){return o.change&&o.change.listeners[0]},set onchange(e){this.off("change").on("change",e)},get oncoloradd(){return o.coloradd&&o.coloradd.listeners[0]},set oncoloradd(e){this.off("coloradd").on("coloradd",e)},get oncolorremove(){return o.colorremove&&o.colorremove.listeners[0]},set oncolorremove(e){this.off("colorremove").on("colorremove",e)},get palette(){return Object.keys(i.palette).filter((e=>i.palette[e]))},set palette(e){i.updatePalette(e)},show(){i.element.classList.remove("hidden")},hide(){i.element.classList.add("hidden")},toggle(){i.element.classList.toggle("hidden")},on(e,t){return e&&o[e]&&o[e].on(t),this},off(e,t){return e&&o[e]&&o[e].off(t),this},destroy(){o.change.off(),o.coloradd.off(),o.colorremove.off(),i.element.remove(),o=null,i=null}};return i.onchange=function(){for(var e=arguments.length,t=Array(e),i=0;e>i;i++)t[i]=arguments[i];n=!0,o.change.emit([l].concat(t),l)},i.oncoloradd=function(){for(var e=arguments.length,t=Array(e),i=0;e>i;i++)t[i]=arguments[i];o.coloradd.emit([l].concat(t),l)},i.oncolorremove=function(){for(var e=arguments.length,t=Array(e),i=0;e>i;i++)t[i]=arguments[i];o.colorremove.emit([l].concat(t),l)},i.element.ctrl=l,l}if("undefined"!=typeof window&&!document.querySelector('head>style[data-source="a-color-picker"]')){var S=""+i(5),_=document.createElement("style");_.setAttribute("type","text/css"),_.setAttribute("data-source","a-color-picker"),_.innerHTML=S,document.querySelector("head").appendChild(_)}t.createPicker=x,t.from=function(e,t){var i=(e=>e?Array.isArray(e)?e:e instanceof HTMLElement?[e]:e instanceof NodeList?[].concat(d(e)):"string"==typeof e?[].concat(d(document.querySelectorAll(e))):e.jquery?e.get():[]:[])(e).map(((e,i)=>{var o=x(e,t);return o.index=i,o}));return i.on=function(e,t){return i.forEach((i=>i.on(e,t))),this},i.off=function(e){return i.forEach((t=>t.off(e))),this},i},t.parseColorToRgb=a.parseColorToRgb,t.parseColorToRgba=a.parseColorToRgba,t.parseColorToHsl=a.parseColorToHsl,t.parseColorToHsla=a.parseColorToHsla,t.parseColor=a.parseColor,t.rgbToHex=a.rgbToHex,t.hslToRgb=a.hslToRgb,t.rgbToHsl=a.rgbToHsl,t.rgbToHsv=a.rgbToHsv,t.rgbToInt=a.rgbToInt,t.intToRgb=a.intToRgb,t.getLuminance=a.getLuminance,t.COLOR_NAMES=a.COLOR_NAMES,t.PALETTE_MATERIAL_500=a.PALETTE_MATERIAL_500,t.PALETTE_MATERIAL_CHROME=a.PALETTE_MATERIAL_CHROME,t.VERSION="1.2.1"},(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nvl=t.ensureArray=t.limit=t.getLuminance=t.parseColor=t.parseColorToHsla=t.parseColorToHsl=t.cssHslaToHsla=t.cssHslToHsl=t.parseColorToRgba=t.parseColorToRgb=t.cssRgbaToRgba=t.cssRgbToRgb=t.cssColorToRgba=t.cssColorToRgb=t.intToRgb=t.rgbToInt=t.rgbToHsv=t.rgbToHsl=t.hslToRgb=t.rgbToHex=t.PALETTE_MATERIAL_CHROME=t.PALETTE_MATERIAL_500=t.COLOR_NAMES=void 0;var o=(e,t)=>{if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return((e,t)=>{var i=[],o=!0,s=!1,a=void 0;try{for(var n,r=e[Symbol.iterator]();!(o=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{!o&&r.return&&r.return()}finally{if(s)throw a}}return i})(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},s=(e=>e&&e.__esModule?e:{default:e})(i(0));function a(e){if(Array.isArray(e)){for(var t=0,i=Array(e.length);e.length>t;t++)i[t]=e[t];return i}return Array.from(e)}var n={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#00FFFF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blue:"#0000FF",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgrey:"#A9A9A9",darkgreen:"#006400",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#FF00FF",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4","indianred ":"#CD5C5C","indigo ":"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgrey:"#D3D3D3",lightgreen:"#90EE90",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#00FF00",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#FF0000",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFFFFF",whitesmoke:"#F5F5F5",yellow:"#FFFF00",yellowgreen:"#9ACD32"};function r(e,t,i){return isNaN(e=+e)||t>e?t:e>i?i:e}function l(e,t){return null==e?t:e}function c(e,t,i){var o=[r(e,0,255),r(t,0,255),r(i,0,255)];return"#"+("000000"+((e=o[0])<<16|(t=o[1])<<8|(i=o[2])).toString(16)).slice(-6)}function d(e,t,i){var o=void 0,s=void 0,a=void 0,n=[r(e,0,360)/360,r(t,0,100)/100,r(i,0,100)/100];if(e=n[0],i=n[2],0==(t=n[1]))o=s=a=i;else{var l=(e,t,i)=>(0>i&&(i+=1),i>1&&(i-=1),1/6>i?e+6*(t-e)*i:.5>i?t:2/3>i?e+(t-e)*(2/3-i)*6:e),c=.5>i?i*(1+t):i+t-i*t,d=2*i-c;o=l(d,c,e+1/3),s=l(d,c,e),a=l(d,c,e-1/3)}return[255*o,255*s,255*a].map(Math.round)}function h(e,t,i){var o=[r(e,0,255)/255,r(t,0,255)/255,r(i,0,255)/255],s=Math.max(e=o[0],t=o[1],i=o[2]),a=Math.min(e,t,i),n=void 0,l=void 0,c=(s+a)/2;if(s==a)n=l=0;else{var d=s-a;switch(l=c>.5?d/(2-s-a):d/(s+a),s){case e:n=(t-i)/d+(i>t?6:0);break;case t:n=(i-e)/d+2;break;case i:n=(e-t)/d+4}n/=6}return[360*n,100*l,100*c].map(Math.round)}function u(e,t,i){return e<<16|t<<8|i}function p(e){if(e){var t=/^\s*#?((([0-9A-F])([0-9A-F])([0-9A-F]))|(([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})))\s*$/i.exec(n[(""+e).toLowerCase()]||e)||[],i=o(t,10),s=i[3],a=i[4],r=i[5],l=i[7],c=i[8],d=i[9];if(void 0!==s)return[parseInt(s+s,16),parseInt(a+a,16),parseInt(r+r,16)];if(void 0!==l)return[parseInt(l,16),parseInt(c,16),parseInt(d,16)]}}function m(e){if(e){var t=/^\s*#?((([0-9A-F])([0-9A-F])([0-9A-F])([0-9A-F])?)|(([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})?))\s*$/i.exec(n[(""+e).toLowerCase()]||e)||[],i=o(t,12),s=i[3],a=i[4],r=i[5],l=i[6],c=i[8],d=i[9],h=i[10],u=i[11];if(void 0!==s)return[parseInt(s+s,16),parseInt(a+a,16),parseInt(r+r,16),l?+(parseInt(l+l,16)/255).toFixed(2):1];if(void 0!==c)return[parseInt(c,16),parseInt(d,16),parseInt(h,16),u?+(parseInt(u,16)/255).toFixed(2):1]}}function g(e){if(e){var t=/^rgb\((\d+)[\s,](\d+)[\s,](\d+)\)/i.exec(e)||[],i=o(t,4),s=i[2],a=i[3];return i[0]?[r(i[1],0,255),r(s,0,255),r(a,0,255)]:void 0}}function f(e){if(e){var t=/^rgba?\((\d+)\s*[\s,]\s*(\d+)\s*[\s,]\s*(\d+)(\s*[\s,]\s*(\d*(.\d+)?))?\)/i.exec(e)||[],i=o(t,6),s=i[2],a=i[3],n=i[5];return i[0]?[r(i[1],0,255),r(s,0,255),r(a,0,255),r(l(n,1),0,1)]:void 0}}function b(e){if(Array.isArray(e))return[r(e[0],0,255),r(e[1],0,255),r(e[2],0,255),r(l(e[3],1),0,1)];var t=m(e)||f(e);return t&&3===t.length&&t.push(1),t}function v(e){if(e){var t=/^hsl\((\d+)[\s,](\d+)[\s,](\d+)\)/i.exec(e)||[],i=o(t,4),s=i[2],a=i[3];return i[0]?[r(i[1],0,360),r(s,0,100),r(a,0,100)]:void 0}}function w(e){if(e){var t=/^hsla?\((\d+)\s*[\s,]\s*(\d+)\s*[\s,]\s*(\d+)(\s*[\s,]\s*(\d*(.\d+)?))?\)/i.exec(e)||[],i=o(t,6),s=i[2],a=i[3],n=i[5];return i[0]?[r(i[1],0,255),r(s,0,255),r(a,0,255),r(l(n,1),0,1)]:void 0}}function y(e){if(Array.isArray(e))return[r(e[0],0,360),r(e[1],0,100),r(e[2],0,100),r(l(e[3],1),0,1)];var t=w(e);return t&&3===t.length&&t.push(1),t}function k(e,t){switch(t){case"rgb":default:return e.slice(0,3);case"rgbcss":return"rgb("+e[0]+", "+e[1]+", "+e[2]+")";case"rgbcss4":return"rgb("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")";case"rgba":return e;case"rgbacss":return"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")";case"hsl":return h.apply(void 0,a(e));case"hslcss":return"hsl("+(e=h.apply(void 0,a(e)))[0]+", "+e[1]+", "+e[2]+")";case"hslcss4":var i=h.apply(void 0,a(e));return"hsl("+i[0]+", "+i[1]+", "+i[2]+", "+e[3]+")";case"hsla":return[].concat(a(h.apply(void 0,a(e))),[e[3]]);case"hslacss":var o=h.apply(void 0,a(e));return"hsla("+o[0]+", "+o[1]+", "+o[2]+", "+e[3]+")";case"hex":return c.apply(void 0,a(e));case"hexcss4":return c.apply(void 0,a(e))+("00"+parseInt(255*e[3]).toString(16)).slice(-2);case"int":return u.apply(void 0,a(e))}}t.COLOR_NAMES=n,t.PALETTE_MATERIAL_500=["#F44336","#E91E63","#E91E63","#9C27B0","#9C27B0","#673AB7","#673AB7","#3F51B5","#3F51B5","#2196F3","#2196F3","#03A9F4","#03A9F4","#00BCD4","#00BCD4","#009688","#009688","#4CAF50","#4CAF50","#8BC34A","#8BC34A","#CDDC39","#CDDC39","#FFEB3B","#FFEB3B","#FFC107","#FFC107","#FF9800","#FF9800","#FF5722","#FF5722","#795548","#795548","#9E9E9E","#9E9E9E","#607D8B","#607D8B"],t.PALETTE_MATERIAL_CHROME=["#f44336","#e91e63","#9c27b0","#673ab7","#3f51b5","#2196f3","#03a9f4","#00bcd4","#009688","#4caf50","#8bc34a","#cddc39","#ffeb3b","#ffc107","#ff9800","#ff5722","#795548","#9e9e9e","#607d8b"],t.rgbToHex=c,t.hslToRgb=d,t.rgbToHsl=h,t.rgbToHsv=(e,t,i)=>{var o,s=[r(e,0,255)/255,r(t,0,255)/255,r(i,0,255)/255],a=Math.max(e=s[0],t=s[1],i=s[2]),n=Math.min(e,t,i),l=void 0,c=a,d=a-n;if(o=0===a?0:d/a,a==n)l=0;else{switch(a){case e:l=(t-i)/d+(i>t?6:0);break;case t:l=(i-e)/d+2;break;case i:l=(e-t)/d+4}l/=6}return[l,o,c]},t.rgbToInt=u,t.intToRgb=e=>[e>>16&255,e>>8&255,255&e],t.cssColorToRgb=p,t.cssColorToRgba=m,t.cssRgbToRgb=g,t.cssRgbaToRgba=f,t.parseColorToRgb=e=>Array.isArray(e)?e=[r(e[0],0,255),r(e[1],0,255),r(e[2],0,255)]:p(e)||g(e),t.parseColorToRgba=b,t.cssHslToHsl=v,t.cssHslaToHsla=w,t.parseColorToHsl=e=>Array.isArray(e)?e=[r(e[0],0,360),r(e[1],0,100),r(e[2],0,100)]:v(e),t.parseColorToHsla=y,t.parseColor=(e,t)=>{if(t=t||"rgb",null!=e){var i=void 0;if((i=b(e))||(i=y(e))&&(i=[].concat(a(d.apply(void 0,a(i))),[i[3]])))return(0,s.default)(t)?["rgb","rgbcss","rgbcss4","rgba","rgbacss","hsl","hslcss","hslcss4","hsla","hslacss","hex","hexcss4","int"].reduce(((e,t)=>(e[t]=k(i,t),e)),t||{}):k(i,(""+t).toLowerCase())}},t.getLuminance=(e,t,i)=>.2126*(e=.03928>(e/=255)?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t=.03928>(t/=255)?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(.03928>(i/=255)?i/12.92:Math.pow((i+.055)/1.055,2.4)),t.limit=r,t.ensureArray=e=>e?Array.from(e):[],t.nvl=l},(e,t,i)=>{"use strict";e.exports=e=>null!=e&&"object"==typeof e&&!1===Array.isArray(e)},(e,t)=>{e.exports='<div class="a-color-picker-row a-color-picker-stack a-color-picker-row-top"> <canvas class="a-color-picker-sl a-color-picker-transparent"></canvas> <div class=a-color-picker-dot></div> </div> <div class=a-color-picker-row> <div class="a-color-picker-stack a-color-picker-transparent a-color-picker-circle"> <div class=a-color-picker-preview> <input class=a-color-picker-clipbaord type=text> </div> </div> <div class=a-color-picker-column> <div class="a-color-picker-cell a-color-picker-stack"> <canvas class=a-color-picker-h></canvas> <div class=a-color-picker-dot></div> </div> <div class="a-color-picker-cell a-color-picker-alpha a-color-picker-stack" show-on-alpha> <canvas class="a-color-picker-a a-color-picker-transparent"></canvas> <div class=a-color-picker-dot></div> </div> </div> </div> <div class="a-color-picker-row a-color-picker-hsl" show-on-hsl> <label>H</label> <input nameref=H type=number maxlength=3 min=0 max=360 value=0> <label>S</label> <input nameref=S type=number maxlength=3 min=0 max=100 value=0> <label>L</label> <input nameref=L type=number maxlength=3 min=0 max=100 value=0> </div> <div class="a-color-picker-row a-color-picker-rgb" show-on-rgb> <label>R</label> <input nameref=R type=number maxlength=3 min=0 max=255 value=0> <label>G</label> <input nameref=G type=number maxlength=3 min=0 max=255 value=0> <label>B</label> <input nameref=B type=number maxlength=3 min=0 max=255 value=0> </div> <div class="a-color-picker-row a-color-picker-rgbhex a-color-picker-single-input" show-on-single-input> <label>HEX</label> <input nameref=RGBHEX type=text select-on-focus> </div> <div class="a-color-picker-row a-color-picker-palette"></div>'},(e,t,i)=>{var o=i(6);e.exports="string"==typeof o?o:""+o},(e,t,i)=>{(e.exports=i(7)(!1)).push([e.i,"/*!\n * a-color-picker\n * https://github.com/narsenico/a-color-picker\n *\n * Copyright (c) 2017-2018, Gianfranco Caldi.\n * Released under the MIT License.\n */.a-color-picker{background-color:#fff;padding:0;display:inline-flex;flex-direction:column;user-select:none;width:232px;font:400 10px Helvetica,Arial,sans-serif;border-radius:3px;box-shadow:0 0 0 1px rgba(0,0,0,.05),0 2px 4px rgba(0,0,0,.25)}.a-color-picker,.a-color-picker-row,.a-color-picker input{box-sizing:border-box}.a-color-picker-row{padding:15px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;user-select:none}.a-color-picker-row-top{padding:0}.a-color-picker-row:not(:first-child){border-top:1px solid #f5f5f5}.a-color-picker-column{display:flex;flex-direction:column}.a-color-picker-cell{flex:1 1 auto;margin-bottom:4px}.a-color-picker-cell:last-child{margin-bottom:0}.a-color-picker-stack{position:relative}.a-color-picker-dot{position:absolute;width:14px;height:14px;top:0;left:0;background:#fff;pointer-events:none;border-radius:50px;z-index:1000;box-shadow:0 1px 2px rgba(0,0,0,.75)}.a-color-picker-a,.a-color-picker-h,.a-color-picker-sl{cursor:cell}.a-color-picker-a+.a-color-picker-dot,.a-color-picker-h+.a-color-picker-dot{top:-2px}.a-color-picker-a,.a-color-picker-h{border-radius:2px}.a-color-picker-preview{box-sizing:border-box;width:30px;height:30px;user-select:none;border-radius:15px}.a-color-picker-circle{border-radius:50px;border:1px solid #eee}.a-color-picker-hsl,.a-color-picker-rgb,.a-color-picker-single-input{justify-content:space-evenly}.a-color-picker-hsl>label,.a-color-picker-rgb>label,.a-color-picker-single-input>label{padding:0 8px;flex:0 0 auto;color:#969696}.a-color-picker-hsl>input,.a-color-picker-rgb>input,.a-color-picker-single-input>input{text-align:center;padding:2px 0;width:0;flex:1 1 auto;border:1px solid #e0e0e0;line-height:20px}.a-color-picker-hsl>input::-webkit-inner-spin-button,.a-color-picker-rgb>input::-webkit-inner-spin-button,.a-color-picker-single-input>input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.a-color-picker-hsl>input:focus,.a-color-picker-rgb>input:focus,.a-color-picker-single-input>input:focus{border-color:#04a9f4;outline:none}.a-color-picker-transparent{background-image:linear-gradient(-45deg,#cdcdcd 25%,transparent 0),linear-gradient(45deg,#cdcdcd 25%,transparent 0),linear-gradient(-45deg,transparent 75%,#cdcdcd 0),linear-gradient(45deg,transparent 75%,#cdcdcd 0);background-size:11px 11px;background-position:0 0,0 -5.5px,-5.5px 5.5px,5.5px 0}.a-color-picker-sl{border-radius:3px 3px 0 0}.a-color-picker.hide-alpha [show-on-alpha],.a-color-picker.hide-hsl [show-on-hsl],.a-color-picker.hide-rgb [show-on-rgb],.a-color-picker.hide-single-input [show-on-single-input]{display:none}.a-color-picker-clipbaord{width:100%;height:100%;opacity:0;cursor:pointer}.a-color-picker-palette{flex-flow:wrap;flex-direction:row;justify-content:flex-start;padding:10px}.a-color-picker-palette-color{width:15px;height:15px;flex:0 1 15px;margin:3px;box-sizing:border-box;cursor:pointer;border-radius:3px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1)}.a-color-picker-palette-add{text-align:center;line-height:13px;color:#607d8b}.a-color-picker.hidden{display:none}",""])},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((t=>{var i=((e,t)=>{var i=e[1]||"",o=e[3];if(!o)return i;if(t&&"function"==typeof btoa){var s=(e=>"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */")(o),a=o.sources.map((e=>"/*# sourceURL="+o.sourceRoot+e+" */"));return[i].concat(a).concat([s]).join("\n")}return""+i})(t,e);return t[2]?"@media "+t[2]+"{"+i+"}":i})).join("")},t.i=function(e,i){"string"==typeof e&&(e=[[null,e,""]]);for(var o={},s=0;this.length>s;s++){var a=this[s][0];"number"==typeof a&&(o[a]=!0)}for(s=0;e.length>s;s++){var n=e[s];"number"==typeof n[0]&&o[n[0]]||(i&&!n[2]?n[2]=i:i&&(n[2]="("+n[2]+") and ("+i+")"),t.push(n))}},t}}])},function(e,t,i){"use strict";i.d(t,{googleSearch:()=>l});var o=i(62),s=i(2),a=i(10),n=i(96),r=i(1);s.D.prototype.controls.google={tooltip:"Google search",icon:i(221),isDisabled(e){return(0,n.u)(e.editor)},command:"startSearch"};class l extends o.S{constructor(){super(...arguments),this.requires=["license"],this.buttons=[{name:"google",group:"search"}]}afterInit(e){e.registerCommand("startSearch",{exec(){var t,i,o;let s;const{s:n}=e;if(s=n.isCollapsed()?null===(i=null===(t=n.current())||void 0===t?void 0:t.parentElement)||void 0===i?void 0:i.innerText:null===(o=n.sel)||void 0===o?void 0:""+o,s){const e="https://www.google.com/search?q="+encodeURIComponent((0,a.trim)(s));window.open(e,"_blank")}}})}beforeDestruct(e){}}r.Jodit.plugins.add("google-search",l)},e=>{e.exports='<svg width="11" height="15" viewBox="0 0 11 15" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M10.925 7.122V14H9.747L9.462 13.164C9.044 13.4933 8.55 13.7467 7.98 13.924C7.42267 14.1013 6.82733 14.19 6.194 14.19C5.054 14.19 4.066 13.9177 3.23 13.373C2.394 12.8157 1.75433 12.024 1.311 10.998C0.867667 9.972 0.646 8.756 0.646 7.35C0.646 5.96933 0.880333 4.766 1.349 3.74C1.83033 2.714 2.50167 1.92233 3.363 1.365C4.237 0.794999 5.25667 0.509999 6.422 0.509999C7.41 0.509999 8.284 0.693666 9.044 1.061C9.804 1.42833 10.3613 1.935 10.716 2.581L9.747 3.55C9.41767 3.03067 8.968 2.638 8.398 2.372C7.84067 2.09333 7.18833 1.954 6.441 1.954C5.17433 1.954 4.18633 2.429 3.477 3.379C2.76767 4.329 2.413 5.65267 2.413 7.35C2.413 9.07267 2.755 10.4153 3.439 11.378C4.13567 12.3407 5.10467 12.822 6.346 12.822C6.92867 12.822 7.46067 12.7397 7.942 12.575C8.436 12.4103 8.854 12.1697 9.196 11.853V8.414H6.023V7.122H10.925Z" fill="black"/> </svg>'},function(e,t,i){"use strict";i.d(t,{changeCase:()=>l});var o=i(2),s=i(10);o.D.prototype.controls.changeCase={tooltip:"Change case",icon:i(223),list:["lowercase","UPPERCASE","Title Case"],isDisabled(e){return!e.s.current()},exec(e,t,{control:i}){const o=i.command+"Selected",a=i.args&&i.args[0]||(0,s.dataBind)(e,o);if(!a||!i.command)return!1;(0,s.dataBind)(e,o,a),e.execCommand(i.command,null,a)},command:"changeCase"};var a=i(62),n=i(4),r=i(1);class l extends a.S{constructor(){super(...arguments),this.requires=["license"],this.buttons=[{name:"changeCase",group:"font-style"}]}afterInit(e){e.registerCommand("changeCase",{exec:(t,i,o)=>{o=o.toLowerCase();const s=e.s.range,{startContainer:a,startOffset:r}=s;if(e.s.isCollapsed()){const t=e.s.current(!0);t&&t.parentElement&&this.applyCase(o,t.parentElement),s.setStart(a,r),e.s.selectRange(s)}else{const t=s.cloneRange(),i=s.cloneRange(),a=e.createInside.fake(),r=e.createInside.fake();t.collapse(!0),i.collapse(!1),t.insertNode(a),i.insertNode(r),n.Dom.between(a,r,(e=>{this.applyCase(o,e)})),s.setStartAfter(a),s.setEndBefore(r),e.s.selectRange(s),n.Dom.safeRemove(a),n.Dom.safeRemove(r)}}})}applyCase(e,t){if(n.Dom.isText(t)){const i=t.nodeValue;i&&(t.nodeValue=(t=>{switch(e){case"lowercase":return t.toLowerCase();case"uppercase":return t.toUpperCase();default:return t.split(" ").map(s.ucfirst).join(" ")}})(i))}else n.Dom.each(t,(t=>{this.applyCase(e,t)}))}beforeDestruct(e){}}r.Jodit.plugins.add("change-case",l)},e=>{e.exports='<svg width="19" height="13" viewBox="0 0 19 13" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M12.799 11.449V12H7.764V11.449L8.695 11.487C9.075 11.525 9.265 11.373 9.265 11.031C9.265 10.8157 9.20167 10.5687 9.075 10.29L8.144 8.048H3.717L2.843 10.176C2.66567 10.5687 2.577 10.8853 2.577 11.126C2.577 11.392 2.71633 11.5187 2.995 11.506L3.907 11.449V12H0.62V11.449L1.114 11.487H1.19C1.44333 11.487 1.65233 11.3667 1.817 11.126C2.007 10.8473 2.197 10.48 2.387 10.024L6.358 0.466999H6.852L10.861 10.062C11.0383 10.518 11.222 10.879 11.412 11.145C11.5893 11.373 11.811 11.487 12.077 11.487H12.172L12.799 11.449ZM3.945 7.516H7.916L5.921 2.728L3.945 7.516Z" fill="black"/> <path d="M18.45 11.61V12H16.32C16.33 11.93 16.34 11.84 16.35 11.73C16.37 11.61 16.38 11.515 16.38 11.445L16.41 10.86C16.19 11.29 15.905 11.6 15.555 11.79C15.215 11.98 14.805 12.075 14.325 12.075C13.695 12.075 13.215 11.935 12.885 11.655C12.565 11.365 12.405 10.94 12.405 10.38C12.405 9.61 12.725 9.045 13.365 8.685C14.015 8.315 15.03 8.13 16.41 8.13V7.26C16.41 6.79 16.3 6.455 16.08 6.255C15.86 6.055 15.505 5.955 15.015 5.955C14.255 5.955 13.875 6.165 13.875 6.585C13.875 6.665 13.895 6.76 13.935 6.87C13.985 6.97 14.01 7.065 14.01 7.155C14.01 7.325 13.955 7.455 13.845 7.545C13.735 7.625 13.595 7.665 13.425 7.665C13.215 7.665 13.05 7.6 12.93 7.47C12.82 7.34 12.765 7.17 12.765 6.96C12.765 6.54 12.985 6.2 13.425 5.94C13.865 5.68 14.455 5.55 15.195 5.55C16.865 5.55 17.7 6.255 17.7 7.665V11.355C17.7 11.545 17.765 11.64 17.895 11.64L18.45 11.61ZM14.775 11.535C15.215 11.535 15.59 11.355 15.9 10.995C16.21 10.625 16.38 10.15 16.41 9.57V8.535C15.47 8.535 14.795 8.675 14.385 8.955C13.975 9.225 13.77 9.66 13.77 10.26C13.77 10.68 13.855 11 14.025 11.22C14.205 11.43 14.455 11.535 14.775 11.535Z" fill="black"/> </svg>'},function(e,t,i){"use strict";i.d(t,{pasteCode:()=>h});var o=i(185),s=i(2),a=i(10);s.D.prototype.controls.pasteCode={icon:i(225),tooltip:"Paste code",command:"pasteCode"},s.D.prototype.pasteCode={globalHighlightLib:!1,canonicalLanguageCode(e){switch(e){case"ts":return"typescript";case"js":return"javascript";case"markup":return"html"}return e},highlightLib:{highlight(e,t){return Prism.highlight(e,Prism.languages[t]||Prism.languages.plain,t)},isLangLoaded(e){return!!Prism.languages[e]},js:["https://cdnjs.cloudflare.com/ajax/libs/prism/1.25.0/prism.min.js"],langUrl:e=>`https://cdnjs.cloudflare.com/ajax/libs/prism/1.25.0/components/prism-${e}.min.js`,css:["https://cdnjs.cloudflare.com/ajax/libs/prism/1.25.0/themes/prism.min.css"]},defaultLanguage:"html",insertTemplate:(e,t,i)=>`<pre class="language-${t}">${(0,a.htmlspecialchars)(i)}</pre>`,languages:[{value:"html",text:"HTML/XML"},{value:"plaintext",text:"Plain"},{value:"bash",text:"Bash"},{value:"javascript",text:"JavaScript"},{value:"css",text:"CSS"},{value:"php",text:"PHP"},{value:"ruby",text:"Ruby"},{value:"python",text:"Python"},{value:"java",text:"Java"},{value:"c",text:"C"},{value:"csharp",text:"C#"},{value:"cpp",text:"C++"}],dialog:{width:700,height:600}};var n=i(62),r=i(37),l=i(19),c=i(1),d=i(4);let h=class extends n.S{constructor(){super(...arguments),this.requires=["license"],this.buttons=[{name:"pasteCode",group:"clipboard"}],this.prismJSIsLoaded=!1}afterInit(e){e.registerCommand("pasteCode",(()=>this.openCodeEditDialog()))}openCodeEditDialog(e,t,i){const o=this.j,s=this.createForm(),{code:n,language:r}=(0,a.refs)(s);e&&(r.value=e),t&&(n.value=t),o.async.requestIdleCallback((()=>{n.focus()})),o.s.save(),this.createDialog((()=>{if(!s.validate())return!1;{o.s.restore();const e=o.createInside.fromHTML(o.o.pasteCode.insertTemplate(o,r.value,n.value));if(i)d.Dom.replace(i,e,o.createInside,!1,!0);else{const t=o.s.current(),i=d.Dom.up(t,d.Dom.isBlock,o.editor);i?d.Dom.after(i,e):o.s.insertNode(e)}this.onChange()}}),(()=>{o.s.restore()})).setContent(s.container).open(!0)}beforeDestruct(e){}createForm(){const{jodit:e}=this;return new r.x4(e,[new r.Cj(e,{name:"language",label:"Language",value:e.o.pasteCode.defaultLanguage,options:e.o.pasteCode.languages,required:!0}),new r.GJ(e,{label:"Code view",resizable:!1,name:"code",required:!0,className:"jodit-paste-code__textarea"})],{className:"jodit-paste-code"})}createDialog(e,t){const i=new d.Dialog({language:this.j.o.language});return i.setHeader("Insert/Edit Code Sample").setSize(this.j.o.pasteCode.dialog.width,this.j.o.pasteCode.dialog.height).setFooter([(0,r.zx)(i,"","Cancel","default").onAction((()=>{i.close(),t()})),(0,r.zx)(i,"save","Save","primary").onAction((()=>{i.close(),e()}))]),i}onChange(){(0,a.$$)("pre",this.j.editor).forEach((e=>{(0,a.attr)(e,"contenteditable")||((0,a.attr)(e,"contenteditable",!1),this.highlightCode(e))}))}async highlightCode(e){const{globalHighlightLib:t,highlightLib:{css:i,js:o,langUrl:s,highlight:n,isLangLoaded:r}}=this.j.o.pasteCode;this.prismJSIsLoaded||t||(await Promise.all([(0,a.loadNextStyle)(this.jodit,i),(0,a.loadNext)(this.jodit,o)]),this.prismJSIsLoaded=!0);const l=this.parseLanguage(e);r(l)||t||await(0,a.appendScriptAsync)(this.jodit,s(l)).catch((()=>null));let c=e;e.firstElementChild===e.lastElementChild&&d.Dom.isTag(e.firstElementChild,"code")&&(c=e.firstElementChild),c.innerHTML=n(c.innerText,l)}onPreEdit(e){const t=d.Dom.isNode(e)&&d.Dom.isTag(e,"pre")?e:d.Dom.closest(e.target,"pre",this.j.editor);if(t){const e=this.parseLanguage(t);this.openCodeEditDialog(e,t.innerText,t)}}parseLanguage(e){let t=null;const i=e=>e.classList.forEach((e=>{if(/language-/.test(e)){const i=/language-(.*)/.exec(e);i&&i[1]&&(t=i[1])}}));return i(e),null==t&&e.firstElementChild===e.lastElementChild&&d.Dom.isTag(e.firstElementChild,"code")&&i(e.firstElementChild),this.jodit.o.pasteCode.canonicalLanguageCode(t||"html")}onAfterGetValueFromEditor(e){e.value=e.value.replace(/(<pre[^>]*)contenteditable\s*=\s*(['"]?)false\2([^>]*>\s*<code[^>]*>)(.*?)(<\/code>\s*<\/pre>)/gis,((e,t,i,o,s,n)=>`${t}${o}${(0,a.htmlspecialchars)((0,a.stripTags)(s))}${n}`)).replace(/(<pre[^>]*)contenteditable\s*=\s*(['"]?)false\2([^>]*>)(.*?)(<\/pre>)/gis,((e,t,i,o,s,n)=>`${t}${o}${(0,a.htmlspecialchars)((0,a.stripTags)(s))}${n}`))}};(0,o.gn)([l.autobind],h.prototype,"openCodeEditDialog",null),(0,o.gn)([(0,l.watch)("?:change"),(0,l.debounce)()],h.prototype,"onChange",null),(0,o.gn)([(0,l.watch)(["?:dblclick","?:editPreInPasteCode"])],h.prototype,"onPreEdit",null),(0,o.gn)([(0,l.watch)("?:afterGetValueFromEditor")],h.prototype,"onAfterGetValueFromEditor",null),h=(0,o.gn)([l.component],h),c.Jodit.plugins.add("paste-code",h)},e=>{e.exports='<svg viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <path d="M2.5244141,23.5h18.9511719c0.4140625,0,0.75-0.3359375,0.75-0.75V4.9208984 c0-0.1992188-0.0795898-0.390625-0.2207031-0.53125L18.3198242,0.71875C18.1791992,0.5786133,17.9887695,0.5,17.7905273,0.5 H2.5244141c-0.4140625,0-0.75,0.3359375-0.75,0.75v21.5C1.7744141,23.1640625,2.1103516,23.5,2.5244141,23.5z M20.7128296,5.2197266 h-2.6986694V2.531189L20.7128296,5.2197266z M3.2744141,2h13.2397461v3.9697266c0,0.4140625,0.3359375,0.75,0.75,0.75h3.4614258V22 H3.2744141V2z" fill="#1D1D1D"/> <path d="M8.75,10.25h1.75c0.4140625,0,0.75-0.3359375,0.75-0.75s-0.3359375-0.75-0.75-0.75H8 c-0.4140625,0-0.75,0.3359375-0.75,0.75v2.75H6c-0.4140625,0-0.75,0.3359375-0.75,0.75S5.5859375,13.75,6,13.75h1.25v2.75 c0,0.4140625,0.3359375,0.75,0.75,0.75h2.5c0.4140625,0,0.75-0.3359375,0.75-0.75s-0.3359375-0.75-0.75-0.75H8.75V10.25z" fill="#1D1D1D"/> <path d="M18.5,12.25h-1.25V9.5c0-0.4140625-0.3359375-0.75-0.75-0.75H14c-0.4140625,0-0.75,0.3359375-0.75,0.75 s0.3359375,0.75,0.75,0.75h1.75v5.5H14c-0.4140625,0-0.75,0.3359375-0.75,0.75s0.3359375,0.75,0.75,0.75h2.5 c0.4140625,0,0.75-0.3359375,0.75-0.75v-2.75h1.25c0.4140625,0,0.75-0.3359375,0.75-0.75S18.9140625,12.25,18.5,12.25z" fill="#1D1D1D"/></svg>'},function(e,t,i){"use strict";i.d(t,{keyboard:()=>f});var o,s=i(185),a=i(62),n=i(1),r=i(37),l=i(19),c=i(11),d=i(3),h=i(232);let u=o=class extends r.u1{constructor(e){super(e),this.state={caps:!1,shift:!1,options:!1,currentLayout:this.j.o.keyboard.defaultLayoutSet},this._keys=this.getElms("key"),this.pressed=!1,this.reKeyDownTimeout=0,this.onStateChange()}className(){return"UIKeyboard"}render(){const{layout:e,keySize:t}=this.j.options.keyboard,i=e.length;return`<div>${(()=>{const o=[];for(let s=0;i>s;s+=1){const i=[];for(let o=0;e[s].length>o;o+=1)i.push(`<div style="width:${t*e[s][o]}px;height:${t}px;" class="&__key"></div>`);o.push(`<div class='&__row'>${i.join("\n")}</div>`)}return o.join("\n")})()}</div>`}onStateChange(){const{currentLayout:e,options:t,shift:i,caps:s}=this.state,{keys:a}=this.j.o.keyboard.layoutList[e];let n=0;for(let e=0;a.length>e;e+=1)for(let r=0;a[e].length>r;r+=1){const l=a[e][r].split(" ");let c=l[0];i&&(c=l[1]),!i&&s&&l[1]&&o.isLetter(l[0])&&(c=l[1]),t&&(c=l[2]),this.setKeyValue(n,null!=c?c:l[0]),n+=1}}static isLetter(e){return e.toLowerCase()!==e.toUpperCase()}setKeyValue(e,t){const i=this._keys[e];if(!i)return;let s=!1;const{options:a,shift:n,caps:r}=this.state;switch(t){case"Caps":s=r;break;case"Options":s=a;break;case"Shift":s=n}i.innerHTML=o.decorate(t),i.classList.toggle(this.getFullElName("key","active",!0),s),(0,c.Lj)(i,"-key",t)}onKeyUp(){this.pressed&&this.stopPress()}onReady(){this.j.e.on(this.getElms("key"),"mouseenter",this.stopPress)}stopPress(){this.pressed&&(this.pressed=!1,this.j.async.clearTimeout(this.reKeyDownTimeout),this._keys.forEach((e=>{e.classList.remove(this.getFullElName("key","pressed",!0))})))}onKeyDown(e,t=0){const i=e.target;if(!i||!i.classList.contains(this.getFullElName("key")))return!1;this.pressed=!0,i.classList.add(this.getFullElName("key","pressed",!0));const o=(0,c.Lj)(i,"-key");switch(o){case"Caps":this.state.caps=!this.state.caps;break;case"Shift":this.state.shift=!this.state.shift;break;case"Options":this.state.options=!this.state.options;break;case"Enter":case"Backspace":this.j.e.fire("keydown",{key:o,preventDefault(){}});break;case"Space":case"Tab":this.j.s.insertNode(this.j.createInside.text(d.NBSP_SPACE));break;default:this.state.shift&&(this.state.shift=!1),o&&this.j.s.insertNode(this.j.createInside.text(o))}const{periodKeyRepeat:s,delayKeyRepeat:a}=this.j.o.keyboard;return this.reKeyDownTimeout=this.j.async.setTimeout((()=>this.onKeyDown(e,s)),t||a),!1}static decorate(e){switch(e){case"Space":return"";case"Enter":return r.JO.get("enter");case"Backspace":return i(227);case"Shift":return i(228);case"Caps":return i(229);case"Options":return i(230);case"Tab":return i(231);default:return e}}};(0,s.gn)([(0,l.watch)(["state.currentLayout","state.options","state.shift","state.caps"])],u.prototype,"onStateChange",null),(0,s.gn)([(0,l.watch)(["ow:mouseup"])],u.prototype,"onKeyUp",null),(0,s.gn)([(0,l.hook)("ready")],u.prototype,"onReady",null),(0,s.gn)([h.ZP],u.prototype,"stopPress",null),(0,s.gn)([(0,l.watch)(["container:mousedown"],["container:touchstart"])],u.prototype,"onKeyDown",null),u=o=(0,s.gn)([l.component],u);var p=i(2);p.D.prototype.keyboard={defaultLayoutSet:"en",showLayoutSwitcher:!0,extraKeyGroup:"other",extraKeyButtons:[],delayKeyRepeat:350,periodKeyRepeat:100,layoutList:{en:{title:"English",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},es:{title:"Español",keys:[["º ` ~","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _ |","¡ = +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","ç Ç \\"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ñ Ñ ; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},de:{title:"Deutsch",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 * :","9 ( {","0 ) }","- _","= +","Backspace"],["Tab","q Q","w W","e E","r R","t T","z Z","u U","i I","o O","p P","ü Ü [","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ö Ö ;","ä Ä ' \"","Enter"],["Shift","y Y","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},ru:{title:"Русский",keys:[["` ~ ±","1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","й Й","ц Ц","у У","к К","е Е","н Н","г Г","ш Ш","щ Щ","з З","х Х [","ъ ] {","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ж Ж ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","ь Ь","б Б ,","ю Ю .","/ ?","Shift"],["Options","Space","Options"]]},tr:{title:"Türkçe",keys:[['" é` ~',"1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ ±","7 &","8 *","9 ( {","0 ) }","- _ [","= + ]","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","ı I","o O","p P","ğ Ğ","ü Ü",", \\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ş Ş","i̇ İ","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M","ö Ö <","ç Ç >",". / ?","Shift"],["Options","Space","Options"]]},iw:{title:"Hebrew",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","/ q Q","' w W","ק e E","ר r R","א t T","ט y Y","ו u U","ן i I","ם o O","פ p P","[ {","] }","\\ |"],["Caps","ש a A","ד s S","ג d D","כ f F","ע g G","י h H","ח j J","ל k K","ך l L","ף ; :","' \"","Enter"],["Shift","ז z Z","ס x X","ב c C","ה v V","נ b B","מ n N","צ m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},tata:{title:"Tata",keys:[["һ Һ` ~","1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ ±","7 &","8 *","9 ( {","0 )","- _","= +","Backspace"],["Tab","й Й","ө Ө","у У","к К","е Е","н Н","г Г","ш Ш","ә Ә","з З","х Х [","ү Ү ]","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ң Ң ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","җ Җ","б Б ,","ю Ю .","ґ Ґ /","Shift"],["Options","Space","Options"]]}},layoutSwitchList:["en","es","de","ru","tr","iw","tata"],keySize:32,layout:[[1,1,1,1,1,1,1,1,1,1,1,1,1,2],[1.5,1,1,1,1,1,1,1,1,1,1,1,1,1.5],[1.8,1,1,1,1,1,1,1,1,1,1,1,2.2],[2.5,1,1,1,1,1,1,1,1,1,1,2.5],[3.5,9,3.5]]},p.D.prototype.controls.keyboard={tooltip:"Keyboard",icon:i(233),isActive(e){return!!e.e.fire("isKeyboardOpened")},command:"toggleKeyboard"},p.D.prototype.controls.extraKeyboardButtons={};var m=i(4),g=i(20);class f extends a.S{constructor(e){super(e),this.hasStyle=!n.Jodit.fatMode,this.requires=["license"],this.buttons=[{group:"insert",name:"keyboard"}];const{extraKeyButtons:t,extraKeyGroup:i}=e.o.keyboard;t.length&&t.forEach(((t,o)=>{const s=(0,g.HD)(t)?t:t.key,a=(0,g.HD)(t)||!t.hotkeys?["ctrl+"+(o+1)]:t.hotkeys;e.registerButton({name:"extraKeyboardButtons."+s,group:i});const{extraKeyboardButtons:n}=p.D.defaultOptions.controls;n[s]={name:s,tooltip:s,args:[s],hotkeys:a,command:"insertChar"}}))}afterInit(e){e.registerCommand("toggleKeyboard",this.toggleKeyboard).registerCommand("insertChar",this.insertChar),e.e.on("isKeyboardOpened",(()=>{var e;return null===(e=this.__keyboard)||void 0===e?void 0:e.isOpened}))}insertChar(e,t,i){this.j.s.insertNode(this.j.createInside.text(i))}toggleKeyboard(){if(!this.__keyboard){this.__keyboard=new m.Dialog({toolbarButtonSize:"tiny"});const e=new u(this.j);this.__keyboard.setMod("slim",!0).setContent(e);const{showLayoutSwitcher:t,layoutSwitchList:i,layoutList:o}=this.j.o.keyboard;if(t){const t=new r.Cj(this.__keyboard,{value:e.state.currentLayout,options:i.map((e=>{var t,i;return{text:null!==(i=null===(t=o[e])||void 0===t?void 0:t.title)&&void 0!==i?i:e,value:e}})),onChange(t){e.state.currentLayout=t}});t.setMod("size","tiny").setMod("width","auto").setMod("variant","outline"),this.__keyboard.setHeader(t)}}this.__keyboard.isOpened?this.__keyboard.close():this.__keyboard.open()}beforeDestruct(e){var t;null===(t=this.__keyboard)||void 0===t||t.destruct()}}(0,s.gn)([l.autobind],f.prototype,"insertChar",null),(0,s.gn)([l.autobind],f.prototype,"toggleKeyboard",null),n.Jodit.plugins.add("keyboard",f)},e=>{e.exports='<?xml version="1.0" ?><svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 10l7-7h13v14H7l-7-7zm14.41 0l2.13-2.12-1.42-1.42L13 8.6l-2.12-2.13-1.42 1.42L11.6 10l-2.13 2.12 1.42 1.42L13 11.4l2.12 2.13 1.42-1.42L14.4 10z"/></svg>'},e=>{e.exports='<svg viewBox="0 0 30 29" xmlns="http://www.w3.org/2000/svg"> <path d="M15 0.5L30 15.2625H22V29H8V15.2625H0L15 0.5Z"/> </svg>'},e=>{e.exports='<svg viewBox="0 0 30 29" xmlns="http://www.w3.org/2000/svg"> <path d="M15 0.5L30 15.2625H22V24H8V15.2625H0L15 0.5Z"/> <rect x="8" y="26" width="14" height="3"/> </svg>'},e=>{e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24" > <circle cy="12" cx="12" r="2.2"/> <circle cy="12" cx="5" r="2.2"/> <circle cy="12" cx="19" r="2.2"/> </svg>'},e=>{e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M23.17 14.83l7.17 7.17h-28.34v4h28.34l-7.17 7.17 2.83 2.83 12-12-12-12-2.83 2.83zm16.83-2.83v24h4v-24h-4z"/> </svg>'},function(e,t,i){"use strict";function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e=>typeof e:e=>e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e,o(e)}function s(e,t,i){var s=i.value;if("function"!=typeof s)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(o(s)));var a=!1;return{configurable:!0,get(){if(a||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof s)return s;var i=s.bind(this);return a=!0,Object.defineProperty(this,t,{configurable:!0,get:()=>i,set(e){s=e,delete this[t]}}),a=!1,i},set(e){s=e}}}function a(e){var t;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?t=Reflect.ownKeys(e.prototype):(t=Object.getOwnPropertyNames(e.prototype),"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e.prototype)))),t.forEach((t=>{if("constructor"!==t){var i=Object.getOwnPropertyDescriptor(e.prototype,t);"function"==typeof i.value&&Object.defineProperty(e.prototype,t,s(e,t,i))}})),e}function n(){return 1===arguments.length?a.apply(void 0,arguments):s.apply(void 0,arguments)}i.d(t,{ZP:()=>n})},e=>{e.exports='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path d="M0 6c0-1.1.9-2 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6zm2 0v2h2V6H2zm1 3v2h2V9H3zm-1 3v2h2v-2H2zm3 0v2h10v-2H5zm11 0v2h2v-2h-2zM6 9v2h2V9H6zm3 0v2h2V9H9zm3 0v2h2V9h-2zm3 0v2h2V9h-2zM5 6v2h2V6H5zm3 0v2h2V6H8zm3 0v2h2V6h-2zm3 0v2h4V6h-4z"/> </svg>'},function(e,t,i){"use strict";i.d(t,{buttonGenerator:()=>S});var o,s=i(185),a=i(62),n=i(1),r=i(19),l=i(4),c=i(37),d=i(10),h=i(20);let u=o=class extends c.u1{constructor(e,t){super(e),this.style=t}className(){return"UIGButton"}updateStyles(){const{style:e}=this,t=this.getElm("button");(0,d.assert)(null!=t,"button element does not exist");const i=this.getElm("wrapper");(0,d.assert)(null!=i,"wrapper element does not exist"),i.style.backgroundColor=e.previewBgColor,o.applyStyle(e,t)}static applyStyle(e,t){const i=e=>(0,h.HD)(e)?e:e+"px";t.innerText=e.text||"css",t.setAttribute("href",e.href),(0,d.css)(t,{background:e.solid?null:`linear-gradient(to bottom, ${e.bgStart} 5%, ${e.bgEnd} 100%)`,backgroundColor:e.bgStart,borderRadius:i(e.borderRadius),border:`${i(e.borderSize)} solid ${e.borderColor}`,display:"inline-block",cursor:"pointer",color:e.fontColor,fontFamily:e.fontFamily,fontSize:i(e.fontSize),fontWeight:e.fontWeight?"bold":null,fontStyle:e.fontItalic?"italic":null,padding:`${i(e.paddingY)} ${i(e.paddingX)}`,textDecoration:"none"}),(0,d.css)(t,{textShadow:e.textShadow?[e.textShadowOffsetX,e.textShadowOffsetY,e.textShadowBlurRadius,e.textShadowColor].map(i).join(" "):null}),(0,d.css)(t,{boxShadow:e.boxShadow?[e.boxShadowInset?"inset":"",e.boxShadowOffsetX,e.boxShadowOffsetY,e.boxShadowBlurRadius,e.boxShadowSpreadRadius,e.boxShadowColor].map(i).join(" "):null})}update(){this.updateStyles()}render(){return"<div>\n\t\t\t<div class='&__wrapper'>\n\t\t\t\t<button class='&__button'>css</button>\n\t\t\t</div>\n\t\t</div>"}static extractStyle(e,t){var i,o,s,a;const n=(null===(i=t.ownerDocument.defaultView)||void 0===i?void 0:i.getComputedStyle(t))||{},r=(e,t,i,o)=>{const s=n[i];return!s||["none","inherit","initial","unset"].includes(s)?{[i]:!1}:(s.replace(/,\s/g,",").split(/\s+/).forEach((i=>{if(/[0-9.]+(px|pt|em|%)/.test(i)){const o=e.shift();o&&(t[o]=i)}else"inset"===i?t.boxShadowInset=!0:t[o]=i})),t[i]=!0,t)};Object.assign(e,{text:t.innerText,className:t.className,href:t.getAttribute("href")||"",...(()=>{var e,t;const i={solid:!0,bgStart:null!==(e=n.backgroundColor)&&void 0!==e?e:"#44c767",bgEnd:null!==(t=n.backgroundColor)&&void 0!==t?t:"#44c767"},o=n.backgroundImage;if(o&&/linear-gradient/.test(o)){const e=/linear-gradient\((.+)\s+[0-9]+%,\s+(.+)\s+[0-9]+%\)/.exec(o);e&&(i.solid=!1,i.bgStart=e[1]||i.bgStart,i.bgEnd=e[2]||"#5cbf2a")}return i})(),borderColor:null!==(o=null==n?void 0:n.borderColor)&&void 0!==o?o:"#18ab29",borderRadius:null!==(s=null==n?void 0:n.borderRadius)&&void 0!==s?s:0,borderSize:null!==(a=null==n?void 0:n.borderWidth)&&void 0!==a?a:1,...r(["boxShadowOffsetX","boxShadowOffsetY","boxShadowBlurRadius","boxShadowSpreadRadius"],{boxShadowBlurRadius:0,boxShadowColor:"#3dc21b",boxShadowInset:!1,boxShadowOffsetX:0,boxShadowOffsetY:0,boxShadowSpreadRadius:0},"boxShadow","boxShadowColor"),fontColor:n.color,fontFamily:n.fontFamily,fontSize:n.fontSize,fontWeight:"bold"===n.fontWeight,fontItalic:"italic"===n.fontStyle,paddingX:n.paddingLeft,paddingY:n.paddingTop,...r(["textShadowOffsetX","textShadowOffsetY","textShadowBlurRadius"],{textShadowBlurRadius:0,textShadowColor:"#2f6627",textShadowOffsetX:0,textShadowOffsetY:1},"textShadow","textShadowColor")})}};(0,s.gn)([(0,r.watch)("style")],u.prototype,"updateStyles",null),u=o=(0,s.gn)([r.component],u);var p=i(218);let m=class extends c.u1{constructor(e,t,i){super(e),this.state=t,this.updateState=i,this.button=new u(this.j,this.state),this.lockUpdate=!1,this.colors=["bgStart","bgEnd","fontColor","borderColor","boxShadowColor","textShadowColor","previewBgColor"].map((e=>new p.T(this.j,{name:e,onChange:t=>{this.lockUpdate||("bgEnd"===e&&t!==this.state.bgStart&&this.updateState("solid",!1),this.updateState(e,t))}}).setMod("slim",!0))),this.setMod("mode","default");const o=this.getElm("button");(0,d.assert)(null!=o,"button element does not exists"),o.appendChild(this.button.container);const s=this.getElm("colors");(0,d.assert)(null!=s,"colors element does not exists"),this.colors.forEach((e=>{s.appendChild(e.container)})),this.update()}className(){return"UIPreviewButtonGenerator"}render(){return"<div>\n\t\t\t<div class='&__button'></div>\n\t\t\t<div class='&__colors'></div>\n\t\t</div>"}update(){this.button.update(),this.lockUpdate=!0,this.colors.forEach((e=>{e.value!==this.state[e.state.name]&&(e.value=this.state[e.state.name])})),this.lockUpdate=!1}};m=(0,s.gn)([r.component],m);var g,f=i(36),b=i(17),v=i(235);class w extends c.u1{constructor(e,t,i){super(e),this.state=t,this.updateState=i,this.onUpdates=[];const o=(e,t)=>()=>{let i=this.state[t.name];/px/.test(""+i)&&(i=(""+i).replace(/px/,"")),""+i!==e.value&&(e.value=i)};(0,f.q)(this.container.querySelectorAll("input,select")).forEach((e=>{if(b.i.isTag(e,"select")){const t=new c.Cj(this.j,{options:(0,f.q)(e.options).map((e=>({text:e.innerText,value:e.value}))),onChange:t=>{this.updateState(e.name,t)}});return b.i.replace(e,t.container,this.j.create,!1,!0),void this.onUpdates.push(o(t,e))}if(b.i.isTag(e,"input"))switch(e.type){case"range":{const t=new v.W(this.j,{label:e.placeholder,name:e.name,min:parseInt(e.min,0)||0,max:parseInt(e.max,0)||100,onChange:t=>{this.updateState(e.name,parseInt(t,10))}});return b.i.replace(e,t.container,this.j.create),void this.onUpdates.push(o(t,e))}case"text":{const t=new c.u3(this.j,{placeholder:e.placeholder,name:e.name,onChange:t=>{this.updateState(e.name,t)}});return b.i.replace(e,t.container,this.j.create),void this.onUpdates.push(o(t,e))}case"checkbox":return e.onchange=()=>this.updateState(e.name,e.checked),void this.onUpdates.push((()=>{e.checked=this.state[e.name]}))}})),this.update()}className(){return"UIFormButtonGenerator"}update(){this.onUpdates.forEach((e=>e()));const e=this.getElm("box-shadow");(0,d.assert)(null!=e,"box-shadow does not exists");const t=this.getElm("text-shadow");(0,d.assert)(null!=t,"text-shadow does not exists"),e.style.display=this.state.boxShadow?"":"none",t.style.display=this.state.textShadow?"":"none"}render(){return"<div>\n\t\t\t<div class='&__group &__text'>\n\t\t\t\t<div class='&__title'>Text</div>\n\t\t\t\t<div class='&__row'>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='text' name='text'/>\n\t\t\t\t\t\t<input type='text' name='className' placeholder='~Class name~'/>\n\t\t\t\t\t\t<input type='text' name='href' placeholder='~URL~'/>\n\t\t\t\t\t\t<select name='fontFamily'>\n \t\t\t\t\t\t\t<option value='Arial'>Arial</option>\n \t\t\t\t\t\t\t<option value='Courier New'>Courier New</option>\n \t\t\t\t\t\t\t<option value='Georgia'>Georgia</option>\n \t\t\t\t\t\t\t<option value='Impact'>Impact</option>\n \t\t\t\t\t\t\t<option value='Times New Roman'>Times New Roman</option>\n \t\t\t\t\t\t\t<option value='Trebuchet MS'>Trebuchet MS</option>\n \t\t\t\t\t\t\t<option value='Verdana'>Verdana</option>\n\t\t\t\t\t\t</select>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' min='8' max='28' name='fontSize' placeholder='~Font Size~'/>\n\t\t\t\t\t\t<div class='&__checkboxes'>\n\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t<input type='checkbox' name='fontWeight'/> bold\n\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t<input type='checkbox' name='fontItalic'/> italic\n\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class='&__group &__sizes'>\n\t\t\t\t<div class='&__title'>~Size~</div>\n\t\t\t\t<div class='&__row'>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='paddingX' min='0' max='32' placeholder='~Vertical size~'/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='paddingY' min='0' max='76' placeholder='~Horizontal size~'/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class='&__group &__borders'>\n\t\t\t\t<div class='&__title'>~Border~</div>\n\t\t\t\t<div class='&__row'>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='borderRadius' min='0' max='42' placeholder='~Border Radius~'/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='borderSize' min='0' max='12' placeholder='~Border Size~'/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class='&__group'>\n\t\t\t\t<div class='&__title'>~Box Shadow~ <input type='checkbox' name='boxShadow'/></div>\n\t\t\t\t<div class='&__row &__box-shadow'>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='boxShadowOffsetX' min='-50' max='50' placeholder='~Vertical Position~'/>\n\t\t\t\t\t\t<input type='range' name='boxShadowBlurRadius' min='0' max='50' placeholder='~Blur Radius~'/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='boxShadowOffsetY' min='-50' max='50' placeholder='~Horizontal Position~'/>\n\t\t\t\t\t\t<input type='range' name='boxShadowSpreadRadius' min='-50' max='50' placeholder='~Spread Radius~'/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class='&__group'>\n\t\t\t\t<div class='&__title'>~Text Shadow~ <input type='checkbox' name='textShadow'/></div>\n\t\t\t\t<div class='&__row &__text-shadow'>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='textShadowOffsetX' min='-50' max='50' placeholder='~Vertical Position~'/>\n\t\t\t\t\t\t<input type='range' name='textShadowBlurRadius' min='0' max='50' placeholder='~Blur Radius~'/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='textShadowOffsetY' min='-50' max='50' placeholder='~Horizontal Position~'/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>"}}const y=i(236);let k=g=class extends c.u1{constructor(e){super(e),this.state={text:"",className:"",href:"",bgEnd:"#5cbf2a",bgStart:"#44c767",borderColor:"#18ab29",borderRadius:28,borderSize:1,boxShadow:!1,boxShadowBlurRadius:0,boxShadowColor:"#3dc21b",boxShadowInset:!1,boxShadowOffsetX:0,boxShadowOffsetY:0,boxShadowSpreadRadius:0,fontColor:"#fff",fontFamily:"Arial",fontSize:17,fontStyle:!1,fontWeight:!1,fontItalic:!1,paddingX:31,paddingY:16,previewBgColor:"#f5f5f5",solid:!0,textShadow:!0,textShadowBlurRadius:0,textShadowColor:"#2f6627",textShadowOffsetX:0,textShadowOffsetY:1},this.preview=new m(this.j,this.state,this.updateState),this.form=new w(this.j,this.state,this.updateState),this.generateLibrary();const t=this.getElm("preview");(0,d.assert)(null!=t,"preview element does not exists"),t.appendChild(this.preview.container);const i=this.getElm("form");(0,d.assert)(null!=i,"form element does not exists"),i.appendChild(this.form.container)}className(){return"UIButtonGenerator"}render(){return"<div>\n\t\t\t<div class='&__generator'>\n\t\t\t\t<div class='&__preview'></div>\n\t\t\t\t<div class='&__form'></div>\n\t\t\t</div>\n\t\t\t<div class='&__library'></div>\n\t\t</div>"}generateLibrary(){const e=new c.qe(this.j);y.map(g.mapKey).forEach((t=>{const i=new u(this.j,t);i.setMod("mode","library"),e.append(i),this.j.e.on(i.container,"click",(()=>{const{text:e}=this.state;Object.assign(this.state,t),Object.assign(this.state,{className:"",text:e}),this.update()}))}));const t=this.getElm("library");(0,d.assert)(null!=t,"library element does not exists"),t.appendChild(e.container)}static mapKey(e){return{bgEnd:e.be,bgStart:e.bs,borderColor:e.bc,borderRadius:e.br,borderSize:e.bse,boxShadow:e.bsh,boxShadowBlurRadius:e.bsbr,boxShadowColor:e.bsc,boxShadowInset:e.bsi,boxShadowOffsetX:e.bsox,boxShadowOffsetY:e.bsoy,boxShadowSpreadRadius:e.bssr,fontColor:e.fc,fontFamily:e.ff,fontSize:e.fs,fontStyle:e.fse,fontWeight:e.fw,paddingX:e.px,paddingY:e.py,previewBgColor:e.pbc,solid:e.s,text:e.t,textShadow:e.ts,textShadowBlurRadius:e.tsbr,textShadowColor:e.tsc,textShadowOffsetX:e.tsox,textShadowOffsetY:e.tsoy}}updateState(e,t){this.state[e]=t,this.update()}update(){this.isReady&&(this.form.update(),this.preview.update())}};(0,s.gn)([r.autobind],k.prototype,"updateState",null),k=g=(0,s.gn)([r.component],k);var C=i(2);C.D.prototype.controls.buttonGenerator={tooltip:"Button generator",icon:i(237),isActive(e){return!!e.e.fire("isButtonGeneratorOpened")},exec(e,t){e.e.fire("toggleButtonGenerator",t)}},C.D.prototype.popup.button=["buttonGenerator"],(0,h.kJ)(C.D.prototype.popup.a)&&C.D.prototype.popup.a.push("buttonGenerator");var x=i(41);class S extends a.S{constructor(){super(...arguments),this.hasStyle=!n.Jodit.fatMode,this.requires=["license","color-picker"],this.buttons=[{group:"form",name:"buttonGenerator"}]}afterInit(e){e.e.on("toggleButtonGenerator",this.toggleButtonGenerator).on("isButtonGeneratorOpened",(()=>{var e;return null===(e=this.__dialog)||void 0===e?void 0:e.isOpened}))}toggleButtonGenerator(e){this.__dialog||(this.__dialog=new l.Dialog({language:this.j.o.language,theme:this.j.o.theme}),this.__ui=new k(this.__dialog),this.__dialog.setHeader("Button Generator").setContent(this.__ui).setSize(730,700)),e&&!b.i.isTag(e,["button","a"])&&(e=void 0);const t=this.__ui,i=this.__dialog;i.isOpened?i.close():(e&&u.extractStyle(t.state,e),t.target=e,t.update(),i.setFooter([(0,x.zx)(i,"cancel","Cancel","default").onAction((()=>i.close())),(0,x.zx)(i,"ok",e?"Update":"Insert","primary").onAction((()=>{e||(e=this.j.createInside.element(t.state.href?"a":"button"),this.j.s.insertNode(e,!0,!1)),u.applyStyle(t.state,e),e.className=t.state.className||"",this.jodit.e.fire("synchro"),i.close()}))]).open())}onDblClick(e){b.i.isTag(e.target,"button")&&this.toggleButtonGenerator(e.target)}beforeDestruct(e){var t;null===(t=this.__dialog)||void 0===t||t.destruct()}}(0,s.gn)([r.autobind],S.prototype,"toggleButtonGenerator",null),(0,s.gn)([(0,r.watch)(":dblclick")],S.prototype,"onDblClick",null),n.Jodit.plugins.add("button-generator",S)},function(e,t,i){"use strict";i.d(t,{W:()=>l});var o=i(185),s=i(37),a=i(19),n=i(10),r=i(232);let l=class extends s.u3{constructor(e,t){super(e,{...t,type:"hidden"}),this.state={...s.u3.defaultState,min:0,max:100},this.startValue=0,this.startX=0,this.width=100,Object.assign(this.state,t),this.appendUIRange(),this.onChangeSelfValue()}className(){return"UIRange"}appendUIRange(){const e=this.j.create.div(this.getFullElName("slider"));this.container.appendChild(e);const t=this.j.create.div(this.getFullElName("handle"));e.appendChild(t);const i=this.j.create.div(this.getFullElName("log")),o=this.getElm("label");(0,n.assert)(null!=o,"label element does not exists"),o.appendChild(i)}onDragStart(e){this.startValue=parseFloat(this.value)||0,this.startX=e.clientX;const t=this.getElm("slider");(0,n.assert)(null!=t,"slider element does not exists"),this.width=t.offsetWidth,this.j.e.on(this.j.ow,"mousemove",this.onDrag)}onDrag(e){const{min:t,max:i}=this.state;let o=this.startValue+(e.clientX-this.startX)/this.width*(this.state.max-this.state.min);t>o&&(o=t),o>i&&(o=i),this.value=""+o}onDragEnd(){this.j.e.off(this.j.ow,"mousemove",this.onDrag)}onChangeSelfValue(){const e=this.getElm("handle"),t=parseFloat(this.value)||0;(0,n.assert)(null!=e,"Handle element does not exist"),(0,n.css)(e,{left:(t-this.state.min)/(this.state.max-this.state.min)*100+"%"});const i=this.getElm("log");(0,n.assert)(null!=i,"log element does not exist"),i.innerText=""+t}destruct(){return this.onDragEnd(),super.destruct()}};(0,o.gn)([(0,a.watch)(["handle:mousedown","handle:touchstart"])],l.prototype,"onDragStart",null),(0,o.gn)([r.ZP],l.prototype,"onDrag",null),(0,o.gn)([(0,a.watch)(["j.ow:mouseup","j.ow:touchend"])],l.prototype,"onDragEnd",null),(0,o.gn)([(0,a.watch)(":change")],l.prototype,"onChangeSelfValue",null),l=(0,o.gn)([a.component],l)},e=>{"use strict";e.exports=JSON.parse('[{"be":"#5cbf2a","bs":"#44c767","bc":"#18ab29","br":"28px","bse":"1px","bsh":false,"bsbr":0,"bsc":"#3dc21b","bsi":false,"bsox":0,"bsoy":0,"bssr":0,"fc":"#fff","ff":"Arial","fs":"17px","fse":false,"fw":false,"px":"31px","py":"16px","pbc":"#f5f5f5","s":true,"t":"green","ts":true,"tsbr":0,"tsc":"#2f6627","tsox":0,"tsoy":"1px"},{"be":"#476e9e","bs":"#7892c2","bc":"#4e6096","br":"10px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#9fb4f2","bsi":false,"bsox":0,"bsoy":0,"bssr":"2px","fc":"#fff","ff":"Arial","fs":"19px","fse":false,"fw":false,"px":"37px","py":"12px","pbc":"#f5f5f5","s":false,"t":"blue","ts":true,"tsbr":0,"tsc":"#283966","tsox":0,"tsoy":"1px"},{"be":"#408c99","bs":"#599bb3","bc":"#29668f","br":"8px","bse":0,"bsh":true,"bsbr":"14px","bsc":"#276873","bsi":false,"bsox":0,"bsoy":"10px","bssr":"-7px","fc":"#fff","ff":"Arial","fs":"20px","fse":false,"fw":true,"px":"32px","py":"13px","pbc":"#f5f5f5","s":false,"t":"turquoise","ts":true,"tsbr":0,"tsc":"#3d768a","tsox":0,"tsoy":"1px"},{"be":"#6c7c7c","bs":"#768d87","bc":"#566963","br":"5px","bse":"1px","bsh":true,"bsbr":"3px","bsc":"#91b8b3","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"23px","py":"11px","pbc":"#e8e7e2","s":false,"t":"dark grey","ts":true,"tsbr":0,"tsc":"#2b665e","tsox":0,"tsoy":"-1px"},{"be":"#72b352","bs":"#77b55a","bc":"#4b8f29","br":"4px","bse":"1px","bsh":true,"bsbr":"14px","bsc":"#3e7327","bsi":false,"bsox":0,"bsoy":"10px","bssr":"-7px","fc":"#fff","ff":"Arial","fs":"13px","fse":false,"fw":true,"px":"12px","py":"6px","pbc":"#f5f5f5","s":false,"t":"green","ts":true,"tsbr":0,"tsc":"#5b8a3c","tsox":0,"tsoy":"1px"},{"be":"#eb675e","bs":"#e4685d","bc":"#fff","br":"4px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#e67a73","bsi":true,"bsox":0,"bsoy":"39px","bssr":"-24px","fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":false,"px":"15px","py":"6px","pbc":"#f2f2f2","s":true,"t":"light red","ts":true,"tsbr":0,"tsc":"#b23e35","tsox":0,"tsoy":"1px"},{"be":"#b34332","bs":"#a73f2d","bc":"#241d13","br":0,"bse":"1px","bsh":true,"bsbr":0,"bsc":"#b54b3a","bsi":true,"bsox":0,"bsoy":"34px","bssr":"-15px","fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"23px","py":"9px","pbc":"#2a2218","s":true,"t":"brown","ts":true,"tsbr":0,"tsc":"#7a2a1d","tsox":0,"tsoy":"-1px"},{"be":"#0688fa","bs":"#2dabf9","bc":"#0b0e07","br":"3px","bse":"1px","bsh":true,"bsbr":"7px","bsc":"#29bbff","bsi":true,"bsox":0,"bsoy":"-3px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":false,"px":"23px","py":"9px","pbc":"#1c1c1e","s":false,"t":"blue","ts":true,"tsbr":0,"tsc":"#263666","tsox":0,"tsoy":"1px"},{"be":"#415989","bs":"#2e466e","bc":"#1f2f47","br":"17px","bse":"1px","bsh":true,"bsbr":"15px","bsc":"#23395e","bsi":true,"bsox":0,"bsoy":0,"bssr":"3px","fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":false,"px":"13px","py":"6px","pbc":"#3f5c93","s":false,"t":"blue","ts":true,"tsbr":0,"tsc":"#263666","tsox":0,"tsoy":"1px"},{"be":"#bc3315","bs":"#d0451b","bc":"#942911","br":"3px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#cf866c","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"13px","fse":false,"fw":false,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"codecanyon","ts":true,"tsbr":0,"tsc":"#854629","tsox":0,"tsoy":"1px"},{"be":"#ccc2a6","bs":"#eae0c2","bc":"#333029","br":"15px","bse":"2px","bsh":true,"bsbr":0,"bsc":"#1c1b18","bsi":false,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#505739","ff":"Arial","fs":"14px","fse":false,"fw":true,"px":"16px","py":"12px","pbc":"#2d2e29","s":false,"t":"creme","ts":true,"tsbr":0,"tsc":"#fff","tsox":0,"tsoy":"1px"},{"be":"#634b30","bs":"#7d5d3b","bc":"#54381e","br":"3px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#a6827e","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"13px","fse":false,"fw":false,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"themeforest","ts":true,"tsbr":0,"tsc":"#4d3534","tsox":0,"tsoy":"1px"},{"be":"#0061a7","bs":"#007dc1","bc":"#124d77","br":"3px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#54a3f7","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"13px","fse":false,"fw":false,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"graphicriver","ts":true,"tsbr":0,"tsc":"#154682","tsox":0,"tsoy":"1px"},{"be":"#019ad2","bs":"#33bdef","bc":"#057fd0","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#f0f7fa","bsi":false,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#e2e2e2","s":false,"t":"twitter","ts":true,"tsbr":0,"tsc":"#5b6178","tsox":0,"tsoy":"-1px"},{"be":"#ffab23","bs":"#ffec64","bc":"#ffaa22","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#fff6af","bsi":false,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#333333","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#e2e2e2","s":false,"t":"twitter","ts":true,"tsbr":0,"tsc":"#ffee66","tsox":0,"tsoy":"1px"},{"be":"#68a54b","bs":"#74ad5a","bc":"#3b6e22","br":0,"bse":"1px","bsh":true,"bsbr":0,"bsc":"#9acc85","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"13px","fse":false,"fw":true,"px":"12px","py":"6px","pbc":"#f5f5f5","s":false,"t":"facebook","ts":false,"tsbr":0,"tsc":"#92b879","tsox":0,"tsoy":"1px"},{"be":"#5972a7","bs":"#637aad","bc":"#314179","br":0,"bse":"1px","bsh":true,"bsbr":0,"bsc":"#7a8eb9","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"13px","fse":false,"fw":true,"px":"12px","py":"6px","pbc":"#3b5898","s":false,"t":"facebook","ts":false,"tsbr":0,"tsc":"#7a8eb9","tsox":0,"tsoy":"1px"},{"be":"#bab1ba","bs":"#ededed","bc":"#d6bcd6","br":"15px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#899599","bsi":false,"bsox":"3px","bsoy":"4px","bssr":0,"fc":"#3a8a9e","ff":"Arial","fs":"17px","fse":false,"fw":false,"px":"25px","py":"7px","pbc":"#f5f5f5","s":false,"t":"grey","ts":true,"tsbr":0,"tsc":"#e1e2ed","tsox":0,"tsoy":"1px"},{"be":"#f24437","bs":"#c62d1f","bc":"#d02718","br":"18px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#8a2a21","bsi":false,"bsox":"3px","bsoy":"4px","bssr":0,"fc":"#fff","ff":"Arial","fs":"17px","fse":false,"fw":false,"px":"25px","py":"7px","pbc":"#f5f5f5","s":false,"t":"red","ts":true,"tsbr":0,"tsc":"#810e05","tsox":0,"tsoy":"1px"},{"be":"#378de5","bs":"#79bbff","bc":"#337bc4","br":"5px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#1564ad","bsi":false,"bsox":"3px","bsoy":"4px","bssr":0,"fc":"#fff","ff":"Arial","fs":"17px","fse":false,"fw":true,"px":"44px","py":"12px","pbc":"#f5f5f5","s":false,"t":"blue","ts":true,"tsbr":0,"tsc":"#528ecc","tsox":0,"tsoy":"1px"},{"be":"#9ba892","bs":"#dbe6c4","bc":"#b2b8ad","br":"6px","bse":"1px","bsh":true,"bsbr":"14px","bsc":"#f2fadc","bsi":true,"bsox":0,"bsoy":0,"bssr":"-3px","fc":"#757d6f","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"olive","ts":true,"tsbr":0,"tsc":"#ced9bf","tsox":0,"tsoy":"1px"},{"be":"#bc80ea","bs":"#dfbdfa","bc":"#c584f3","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#efdcfb","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"purple","ts":true,"tsbr":0,"tsc":"#9752cc","tsox":0,"tsoy":"1px"},{"be":"#80b5ea","bs":"#bddbfa","bc":"#84bbf3","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#dcecfb","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"light blue","ts":true,"tsbr":0,"tsc":"#528ecc","tsox":0,"tsoy":"1px"},{"be":"#f6f6f6","bs":"#fff","bc":"#dcdcdc","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#fff","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#666666","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"white","ts":true,"tsbr":0,"tsc":"#fff","tsox":0,"tsoy":"1px"},{"be":"#e4685d","bs":"#fc8d83","bc":"#d83526","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#f7c5c0","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"light red","ts":true,"tsbr":0,"tsc":"#b23e35","tsox":0,"tsoy":"1px"},{"be":"#468ccf","bs":"#63b8ee","bc":"#3866a3","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#bee2f9","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#14396a","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"dark blue","ts":true,"tsbr":0,"tsc":"#7cacde","tsox":0,"tsoy":"1px"},{"be":"#ffab23","bs":"#ffec64","bc":"#ffaa22","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#fff6af","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#333333","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"orange","ts":true,"tsbr":0,"tsc":"#ffee66","tsox":0,"tsoy":"1px"},{"be":"#77a809","bs":"#89c403","bc":"#74b807","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#a4e271","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"green","ts":true,"tsbr":0,"tsc":"#528009","tsox":0,"tsoy":"1px"},{"be":"#e9e9e9","bs":"#f9f9f9","bc":"#dcdcdc","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#fff","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#666666","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"light grey","ts":true,"tsbr":0,"tsc":"#fff","tsox":0,"tsoy":"1px"},{"be":"#a20dbd","bs":"#c123de","bc":"#a511c0","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#e184f3","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"purple","ts":true,"tsbr":0,"tsc":"#9b14b3","tsox":0,"tsoy":"1px"},{"be":"#1e62d0","bs":"#3d94f6","bc":"#337fed","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#97c4fe","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"blue","ts":true,"tsbr":0,"tsc":"#1570cd","tsox":0,"tsoy":"1px"},{"be":"#ef027d","bs":"#ff5bb0","bc":"#ee1eb5","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#fbafe3","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"pink","ts":true,"tsbr":0,"tsc":"#c70067","tsox":0,"tsoy":"1px"},{"be":"#f2ab1e","bs":"#f0c911","bc":"#e65f44","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#f9eca0","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#c92200","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"orange","ts":true,"tsbr":0,"tsc":"#ded17c","tsox":0,"tsoy":"1px"},{"be":"#c62d1f","bs":"#f24537","bc":"#d02718","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#f5978e","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"red","ts":true,"tsbr":0,"tsc":"#810e05","tsox":0,"tsoy":"1px"},{"be":"#a5cc52","bs":"#b8e356","bc":"#83c41a","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#d9fbbe","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"light green","ts":true,"tsbr":0,"tsc":"#86ae47","tsox":0,"tsoy":"1px"},{"be":"#fb9e25","bs":"#ffc477","bc":"#eeb44f","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#fce2c1","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"light orange","ts":true,"tsbr":0,"tsc":"#cc9f52","tsox":0,"tsoy":"1px"},{"be":"#dfdfdf","bs":"#ededed","bc":"#dcdcdc","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#fff","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#777777","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"grey","ts":true,"tsbr":0,"tsc":"#fff","tsox":0,"tsoy":"1px"},{"be":"#378de5","bs":"#79bbff","bc":"#84bbf3","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#bbdaf7","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"blue","ts":true,"tsbr":0,"tsc":"#528ecc","tsox":0,"tsoy":"1px"},{"be":"#5cb811","bs":"#77d42a","bc":"#268a16","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#caefab","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#306108","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"green","ts":true,"tsbr":0,"tsc":"#aade7c","tsox":0,"tsoy":"1px"},{"be":"#ce0100","bs":"#fe1a00","bc":"#d83526","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#f29c93","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"red","ts":true,"tsbr":0,"tsc":"#b23e35","tsox":0,"tsoy":"1px"}]')},e=>{e.exports='<svg stroke="black" viewBox="0 0 32 32" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <style type="text/css"> .st0{fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;} </style> <path class="st0" d="M29,23H3c-1.1,0-2-0.9-2-2V11c0-1.1,0.9-2,2-2h26c1.1,0,2,0.9,2,2v10C31,22.1,30.1,23,29,23z"/> <path class="st0" d="M13,19L13,19c-1.1,0-2-0.9-2-2v-2c0-1.1,0.9-2,2-2h0c1.1,0,2,0.9,2,2v2C15,18.1,14.1,19,13,19z"/> <line class="st0" x1="18" x2="18" y1="13" y2="19"/> <line class="st0" x1="21" x2="18" y1="13" y2="17"/> <line class="st0" x1="21" x2="19" y1="19" y2="16"/> </svg>'},function(e,t,i){"use strict";i.d(t,{tuneBlock:()=>b});var o=i(185),s=i(62),a=i(19),n=i(1),r=i(37),l=i(17),c=i(10),d=i(57);let h=class extends r.u1{constructor(){super(...arguments),this.isShown=!1,this.toolbar=(0,d.R)(this.j,this),this.popup=new r.GI(this.j,!1)}className(){return"UITuner"}render(){return"<div>\n\t\t\t<div class='&__handle' title='~Click to tune~'/>\n\t\t</div>"}show(){const e=this.j.s.current();if(!e)return this.hide();const t=l.i.isBlock(e)?e:l.i.closest(e,(e=>!(!e||!this.j.o.tuneBlock.popup[e.nodeName.toLowerCase()])),this.j.editor);if(!t||t===this.j.editor||!this.j.o.tuneBlock.popup[t.tagName.toLowerCase()])return this.hide();this.currentBlock=t,this.isShown=!0,this.closeToolbar(),this.calcPosition(),this.container.parentNode||this.j.workplace.append(this.container)}hide(){this.isShown&&(this.isShown=!1,l.i.safeRemove(this.container),this.closeToolbar())}onEditorScroll(){this.isShown&&this.calcPosition()}calcPosition(){(0,c.css)(this.container,{transform:`translate3d(${this.currentBlock.offsetWidth-15}px, ${this.currentBlock.offsetTop-this.j.editor.scrollTop}px, 0)`}),this.popup.isOpened&&this.popup.updatePosition()}onAfterExecTune(e){e&&(this.currentBlock=e),this.calcPosition(),this.openToolbar()}onClickPrevent(e){e.preventDefault(),e.stopPropagation()}onTargetClick(){this.toggleToolbar()}openToolbar(){if(this.setMod("opened",!0),this.toolbar.build(this.j.o.tuneBlock.popup[this.currentBlock.tagName.toLowerCase()],this.currentBlock),this.popup.setContent(this.toolbar.container),!this.popup.isOpened){const e=this.getElm("handle");(0,c.assert)(null!=e,"Handle element does not exist"),this.popup.open((()=>(0,c.position)(e)))}}closeToolbar(){this.setMod("opened",!1),this.popup.close()}toggleToolbar(){this.getMod("opened")?this.closeToolbar():this.openToolbar()}};(0,o.gn)([(0,a.watch)("j.editor:scroll"),(0,a.throttle)(10)],h.prototype,"onEditorScroll",null),(0,o.gn)([(0,a.watch)(":afterExecTune.tune"),(0,a.idle)()],h.prototype,"onAfterExecTune",null),(0,o.gn)([(0,a.watch)("container:click container:mousedown")],h.prototype,"onClickPrevent",null),(0,o.gn)([(0,a.watch)("handle:click")],h.prototype,"onTargetClick",null),(0,o.gn)([(0,a.watch)(":closeTuner.tune")],h.prototype,"closeToolbar",null),h=(0,o.gn)([a.component],h);var u=i(2);const p=["tune.up","tune.remove","tune.down"],m=["tune.h1","tune.h2","tune.h3","\n","tune.h4","tune.h5","tune.h6","\n",...p];function g(e){return{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><text dominant-baseline="text-before-edge" style="font: 45px sans-serif" x="0" y="0">'+e.toUpperCase()+"</text></svg>",isActive(t,i,o){var s;return(null===(s=null==o?void 0:o.target)||void 0===s?void 0:s.tagName.toLowerCase())===e},exec(t,i){if(i){t.selection.save();const o=l.i.replace(i,e,t.createInside);t.selection.restore(),t.e.fire("synchro"),t.e.fire("afterExecTune.tune",o)}return!0}}}function f(e){const t=e?"previousSibling":"nextSibling";return{icon:e?"angle-up":"angle-down",isDisabled(e,i,o){var s;return!(null===(s=null==o?void 0:o.target)||void 0===s?void 0:s[t])},exec(i,o){const s=null==o?void 0:o[t];return o&&s&&(i.selection.save(),(0,c.call)(e?l.i.before:l.i.after,s,o),i.selection.restore()),i.e.fire("synchro"),i.e.fire("afterExecTune.tune"),!0}}}u.D.prototype.tuneBlock={popup:{p,table:p,img:p,blockquote:p,div:p,pre:["tune.editPre",...p],h1:m,h2:m,h3:m,h4:m,h5:m,h6:m}},u.D.prototype.controls.tune={h1:g("h1"),h2:g("h2"),h3:g("h3"),h4:g("h4"),h5:g("h5"),h6:g("h6"),up:f(!0),down:f(!1),editPre:{icon:"pencil",exec(e,t){e.e.fire("editPreInPasteCode",t)}},remove:{icon:"bin",exec(e,t){l.i.safeRemove(t),e.e.fire("synchro"),e.e.fire("closeTuner.tune")}}};class b extends s.S{constructor(){super(...arguments),this.requires=["license"]}afterInit(e){this.tuner=new h(e)}hideTuner(){this.tuner.hide()}onChangeSelection(){this.j.s.isCollapsed()||this.hideTuner()}onClickInBlock(e){this.j.s.isCollapsed()&&this.tuner.show()}beforeDestruct(e){this.tuner.destruct()}}(0,o.gn)([(0,a.watch)(":outsideClick :keydown")],b.prototype,"hideTuner",null),(0,o.gn)([(0,a.watch)("j.ed:selectionchange"),(0,a.debounce)()],b.prototype,"onChangeSelection",null),(0,o.gn)([(0,a.watch)(":click")],b.prototype,"onClickInBlock",null),n.Jodit.plugins.add("tune-block",b)},function(e,t,i){"use strict";i.d(t,{highlightSignature:()=>c});var o=i(185),s=i(62),a=i(19),n=i(17),r=i(11),l=i(1);i(2).D.prototype.highlightSignature={schema:{},excludeTags:["pre"]};class c extends s.S{constructor(){super(...arguments),this.requires=["license"],this.idleId=0}afterInit(e){Object.keys(e.o.highlightSignature.schema).length&&e.e.on("change afterSetMode",this.walkNodes).on("afterGetValueFromEditor",c.removeUtilWrappers)}beforeDestruct(e){e.e.off("change afterSetMode",this.walkNodes).off("afterGetValueFromEditor",c.removeUtilWrappers)}walkNodes(){if(!this.j.isEditorMode())return;this.checkUtilsBoxToSchema();const{j:e}=this,t=e.ed.createNodeIterator(e.editor,NodeFilter.SHOW_TEXT);this.j.async.cancelIdleCallback(this.idleId),this.workLoop(t)}runWorker(e,t){let i;this.j.e.mute();try{do{if(i=t.nextNode(),!i)return;if(this.checkNormalizing(i))return;this.checkReplaceSchemas(i)}while(i&&e.timeRemaining()>1)}finally{this.j.e.unmute()}this.workLoop(t)}workLoop(e){this.idleId=this.j.async.requestIdleCallback((t=>{this.runWorker(t,e)}))}checkNormalizing(e){return!!n.i.isText(e.nextSibling)&&(this.j.editor.normalize(),this.walkNodes(),!0)}checkReplaceSchemas(e){if(c.hasUtilWrapper(e))return;const t=e.nodeValue;if(null==t)return;const{j:i}=this,o=i.o.highlightSignature;for(const i in o.schema){const s=RegExp(i);if(s.test(t)){const a=t.match(s);if(!a||void 0===a.index)continue;const r=o.schema[i](this.j,a);if(r)return n.i.markTemporary(r,{dataHighlightSchema:i}),void this.replaceMatchedTextToElm(e,t,a,r)}}}replaceMatchedTextToElm(e,t,i,o){var s;const{j:a}=this,{range:r}=a.s,l=r.startContainer===e,c=r.startOffset,d=null!==(s=i.index)&&void 0!==s?s:0;e.nodeValue=t.substr(0,d);const h=t.substr(d+i[0].length);if(h.length){const t=a.createInside.text(h);n.i.after(e,t)}o.innerText=i[0],n.i.after(e,o),l&&this.restoreCursorPosition(c,e,o.firstChild,o.nextSibling)}static hasUtilWrapper(e){return n.i.isTemporary(e.parentElement)}static removeUtilWrappers(e){e.value=n.i.replaceTemporaryFromString(e.value)}restoreCursorPosition(e,...t){for(const i of t)if(i&&i.nodeValue){const t=i.nodeValue;if(t.length>=e){const t=this.j.s.createRange();t.setStart(i,e),this.j.s.selectRange(t,!1);break}e-=t.length}}checkUtilsBoxToSchema(){n.i.temporaryList(this.j.editor).forEach((e=>{var t;const i=(0,r.Lj)(e,"dataHighlightSchema");if(!i)return;const o=RegExp(i),s=null!==(t=e.innerText)&&void 0!==t?t:"";o.test(s)&&!s.replace(o,"").length||(this.j.s.save(),n.i.unwrap(e),this.j.s.restore())}))}}(0,o.gn)([(0,a.debounce)()],c.prototype,"walkNodes",null),(0,o.gn)([a.autobind],c.prototype,"runWorker",null),l.Jodit.plugins.add("highlight-signature",c)},function(e,t,i){"use strict";i.d(t,{googleMaps:()=>V});var o=i(185),s=i(62),a=i(1),n=i(2);const r="googleMapsState",l="googleMapsDialog";n.D.prototype.googleMaps={saveStateInStorage:!0,useStaticImage:!1,apiUrl:"https://maps.googleapis.com/maps/api/js?key=${j.o.googleMaps.API_KEY}&libraries=geometry,places,drawing&language=${j.o.language}&callback=JoditGoogleReadyHandler",API_KEY:"AIzaSyDjnR03hxN8fo0QJ85Jkkvk2DALTh3eynY",dialog:{size:[700,700]},inlineEditorOptions:{buttons:["bold","italic","link","brush","fontsize","image"]},map:{type:"roadmap",layer:"default",center:"auto",defaultCenter:[-34.397,150.644],defaultZoom:10,zoom:10,size:[500,400],defaultStates:{polyline:{strokeColor:"#5ba4f3",strokeWeight:3},polygon:{strokeColor:"#417706",fillColor:"#5b9302",strokeWeight:1,fillOpacity:.5},marker:{},text:{},circle:{strokeColor:"#da767c",fillColor:"#f34ca8",strokeWeight:1,fillOpacity:.5}}}},n.D.prototype.controls.googleMaps={tooltip:"Google Maps",icon:"map",command:l};const c=e=>({icon:e,isActive:t=>t.buffer.get("createMode.gm")===e,exec(t){t.e.fire("changeCreateMode.gm",e)}});n.D.prototype.controls.gm={hand:c("hand"),marker:c("marker"),polyline:c("polyline"),polygon:c("polygon"),circle:c("circle"),text:c("text")};var d=i(37);d.JO.set("map",i(241)).set("hand",i(242)).set("polygon",i(243)).set("marker",i(244)).set("text",i(245)).set("polyline",i(246)).set("circle",i(247));var h=i(89),u=i(19),p=i(10),m=i(4);let g=!1;const f=[];function b(e,t=!1){const i=[];if(Array.isArray(e)){if(!Array.isArray(e[0])&&!Array.isArray(e[1]))return t?{lat:e[0],lng:e[1]}:new google.maps.LatLng(e[0],e[1]);e.forEach((e=>{i.push(b(e,t))}))}return i}function v(e){return e.getArray().map((e=>[e.lat(),e.lng()]))}function w(e){return e.toUpperCase().replace("#","0x").padEnd(10,"F")}function y(){return"undefined"!=typeof google&&void 0!==google.maps&&void 0!==google.maps.Map}function k(e,t,i=!1){const o=this.mapElements[t];if(o.state===e||o.state.type!==e.type)return;const s=o.state;if(!i){let t;for(t in e){const i=e[t],a=s[t];if(null!=i&&(null==a||""+i!=""+a))switch(t){case"strokeWeight":case"strokeColor":case"fillColor":case"fillOpacity":switch(o.type){case"polyline":case"circle":case"polygon":o.gme.setOptions({[t]:i})}break;case"coordinates":switch(o.type){case"polygon":case"polyline":o.gme.setPath(b(i))}}}}o.state=e,this.state.elements[t]=e}var C=i(15);function x(e,t){var i,o,s,a;switch(e.type){case"polyline":case"polygon":{const i=v(e.gme.getPath()),o={...e.state,coordinates:i};k.call(this,o,t,!0);break}case"marker":{const s=e.gme.getPosition(),a={...e.state,coordinates:[null!==(i=null==s?void 0:s.lat())&&void 0!==i?i:0,null!==(o=null==s?void 0:s.lng())&&void 0!==o?o:0]};k.call(this,a,t,!0);break}case"circle":{const i=e.gme.getCenter(),o={...e.state,radius:e.gme.getRadius(),coordinates:[null!==(s=null==i?void 0:i.lat())&&void 0!==s?s:0,null!==(a=null==i?void 0:i.lng())&&void 0!==a?a:0]};k.call(this,o,t,!0);break}}}let S=class extends d.u1{className(){return"UIWysiwyg"}constructor(e,t,i,o){super(e);const s=this.getElm("editor");(0,p.assert)(null!=s,"editor element does not exist");const n=a.Jodit.make(s,{buttons:["bold","italic","image"],height:100,minHeight:100,allowResizeY:!1,allowResizeX:!1,disablePlugins:["mobile","backup","highlight-signature","tune-block","show-blocks"],toolbarButtonSize:"small",language:e.o.language,direction:e.o.direction,theme:e.o.theme,statusbar:!1,...t});n.value=i,n.e.on("change",(()=>o(n.value)))}render(){return"<div>\n\t\t\t<div class='&__label'>~Info~</div>\n\t\t\t<div class='&__editor'></div>\n\t\t</div>"}};S=(0,o.gn)([u.component],S);class _ extends d.qe{constructor(e,t,i){super(e),this.state=t,this.options=i}className(){return"UIBaseEditor"}render(){return"<div>\n\t\t\t<div class='&__header'></div>\n\t\t\t<div class='&__form'></div>\n\t\t\t<div class='&__buttons'></div>\n\t\t</div>"}onReady(){const e=(0,d.zx)(this.j,"bin").onAction((()=>this.j.e.fire(this,"bin")));this.append(e,"buttons")}}let E=class extends _{onReady(){var e;super.onReady();const t=new S(this.j,this.options.googleMaps.inlineEditorOptions,null!==(e=this.state.text)&&void 0!==e?e:"",(e=>this.j.e.fire(this,"change","text",e)));this.append(t,"form")}};(0,o.gn)([(0,u.hook)("ready")],E.prototype,"onReady",null),E=(0,o.gn)([u.component],E);var I=i(218);let j=class extends _{onReady(){var e,t;super.onReady(),this.append([new d.u3(this.j,{label:"Stroke weight",value:null!==(e=this.state.strokeWeight)&&void 0!==e?e:1,type:"number",onChange:e=>this.j.e.fire(this,"change","strokeWeight",e)}),new I.T(this.j,{label:"Stroke color",value:null!==(t=this.state.strokeColor)&&void 0!==t?t:"#000",onChange:e=>this.j.e.fire(this,"change","strokeColor",e)}).setMod("trigger",!1)],"form")}};(0,o.gn)([(0,u.hook)("ready")],j.prototype,"onReady",null),j=(0,o.gn)([u.component],j);var T=i(235);let z=class extends j{onReady(){var e,t;this.append([new I.T(this.j,{label:"Fill color",value:null!==(e=this.state.fillColor)&&void 0!==e?e:"#000",onChange:e=>this.j.e.fire(this,"change","fillColor",e)}).setMod("trigger",!1),new T.W(this.j,{label:"Opacity",min:0,max:1,value:null!==(t=this.state.fillOpacity)&&void 0!==t?t:1,onChange:e=>{this.j.e.fire(this,"change","fillOpacity",parseFloat(e)||0)}}).setMod("log",!1)],"form")}};function L(e){const t=this.mapElements.indexOf(e);-1!==t&&(this.mapElements[t].gme.setMap(null),this.mapElements.splice(t,1),this.state.elements.splice(t,1),this.state.elements=[...this.state.elements])}function A(){const e=new google.maps.InfoWindow({content:"<div>test</div>"});return e.addListener("domready",(()=>{this.setMod("info-opened",!0)})),e.addListener("closeclick",(()=>{this.setMod("info-opened",!1)})),e}function M(e,t){let i;switch(this.state.mode="hand",e.type){case"polyline":i=new j(this.jodit,e.state,this.options);break;case"marker":i=new E(this.jodit,e.state,this.options);break;case"circle":case"polygon":i=new z(this.jodit,e.state,this.options)}if(!i)return;this.append(i),this.j.e.on(i,"bin",(()=>{L.call(this,e)})).on(i,"change",((i,o)=>{k.call(this,{...e.state,[i]:o},t)}));const o=A.call(this);if("polygon"===e.type||"polyline"===e.type){const t=e.gme.getPath().getAt(0);o.setPosition(t)}"circle"===e.type&&o.setPosition(e.gme.getCenter()),o.setContent(i.container),o.open(this.map,e.gme),o.addListener("closeclick",(()=>{i&&(this.remove(i),i.destruct())}))}function D(e,t){var i;const o=this.mapElements[t];if(o){if(o.state.type===e.type)return k.call(this,e,t);o.gme.setMap(null)}let s;switch(e.type){case"text":s=new google.maps.Marker({position:new google.maps.LatLng(e.coordinates[0],e.coordinates[1]),draggable:!0,title:e.text,map:this.map});break;case"marker":s=new google.maps.Marker({position:new google.maps.LatLng(e.coordinates[0],e.coordinates[1]),draggable:!0,label:e.showCaption?e.title:"",title:e.title,icon:e.icon?d.JO.get(e.icon):null,map:this.map});break;case"polyline":case"polygon":{const t=b(e.coordinates);s=new google.maps["polygon"===e.type?"Polygon":"Polyline"]({path:t,strokeColor:e.strokeColor,fillColor:e.fillColor,strokeWeight:e.strokeWeight,editable:!0,draggable:!0,map:this.map,fillOpacity:"polygon"===e.type?e.fillOpacity:1})}break;case"circle":s=new google.maps.Circle({center:new google.maps.LatLng(e.coordinates[0],e.coordinates[1]),radius:e.radius,strokeColor:e.strokeColor,fillColor:e.fillColor,strokeWeight:e.strokeWeight,editable:!0,draggable:!0,map:this.map,fillOpacity:null!==(i=e.fillOpacity)&&void 0!==i?i:1})}const a={type:e.type,uid:(0,C.fe)(),state:e,gme:s};"dragend radius_changed center_changed".split(" ").forEach((e=>s.addListener(e,(()=>x.call(this,a,t))))),"polygon"!==a.type&&"polyline"!==a.type||"insert_at set_at remove_at".split(" ").forEach((e=>a.gme.getPath().addListener(e,(()=>x.call(this,a,t))))),s.addListener("click",(()=>M.call(this,a,t))),this.mapElements[t]=a}function B(e){var t,i,o,s,a,n,r,l;switch(this.state.mode){case"polyline":case"polygon":{const{mode:t}=this.state;this.state.elements=[...this.state.elements,{type:t,coordinates:v(e.getPath()),...this.options.googleMaps.map.defaultStates[t]}];break}case"circle":{const a=e;this.state.elements=[...this.state.elements,{type:this.state.mode,coordinates:[null!==(i=null===(t=a.getCenter())||void 0===t?void 0:t.lat())&&void 0!==i?i:0,null!==(s=null===(o=a.getCenter())||void 0===o?void 0:o.lng())&&void 0!==s?s:0],radius:a.getRadius(),...this.options.googleMaps.map.defaultStates.circle}];break}case"marker":{const t=e;this.state.elements=[...this.state.elements,{type:this.state.mode,coordinates:[null!==(n=null===(a=t.getPosition())||void 0===a?void 0:a.lat())&&void 0!==n?n:0,null!==(l=null===(r=t.getPosition())||void 0===r?void 0:r.lng())&&void 0!==l?l:0],...this.options.googleMaps.map.defaultStates.marker}];break}}}(0,o.gn)([(0,u.hook)("ready")],z.prototype,"onReady",null),z=(0,o.gn)([u.component],z);class P extends d.qe{constructor(e,t,i){super(e),this.options=i,this.toolbar=new m.ToolbarCollection(this.jodit),this.state={uid:"jd"+(0,C.fe)()+(""+new Date).replace(/[^0-9]/g,""),layer:this.options.googleMaps.map.layer,center:this.options.googleMaps.map.defaultCenter,zoom:this.options.googleMaps.map.defaultZoom,size:this.options.googleMaps.map.size,type:this.options.googleMaps.map.type,controls:{zoomControl:!0,mapTypeControl:!0,scaleControl:!0,streetViewControl:!0,rotateControl:!0,fullscreenControl:!0},mode:"hand",elements:[]},this.mapElements=[],this.apiLoaded=null,this.mapInitialized=!1,this.layers=[],Object.assign(this.state,t),this.toolbar.build(["gm.hand","gm.marker","gm.polyline","gm.polygon","gm.circle"]);const o=this.getElm("map-palette");(0,p.assert)(null!=o,"palette element does not exists"),o.appendChild(this.toolbar.container)}className(){return"UIMap"}json(){return JSON.stringify({...this.state,mode:"hand"})}async onReady(){await this.apiLoaded;const e=this.getElm("map-root");(0,p.assert)(null!=e,"map-root element does not exists"),this.map=new google.maps.Map(e,{center:{lat:this.state.center[0],lng:this.state.center[1]},zoom:this.state.zoom,mapTypeId:this.state.type}),this.map.addListener("bounds_changed",(()=>{var e,t,i,o,s,a,n;this.state.center=[null!==(i=null===(t=null===(e=this.map)||void 0===e?void 0:e.getCenter())||void 0===t?void 0:t.lat())&&void 0!==i?i:55,null!==(a=null===(s=null===(o=this.map)||void 0===o?void 0:o.getCenter())||void 0===s?void 0:s.lng())&&void 0!==a?a:34],this.state.zoom=null!==(n=this.map.getZoom())&&void 0!==n?n:10})),this.map.addListener("maptypeid_changed",(()=>{const e=this.map.getMapTypeId();e&&(this.state.type=e)})),this.initDrawManager(),this.onChangeElementsList(),this.onChangeSize(),this.onChangeControls(),this.onChangeLayer(),this.onChangeMapType(),this.onChangeMode(),this.mapInitialized=!0,google.maps.event.addListenerOnce(this.map,"idle",(()=>{this.j.e.fire(this,"GoogleMapsIsReady")}))}initDrawManager(){try{const e=new google.maps.drawing.DrawingManager;e.setMap(this.map),e.setOptions({drawingControl:!1,polygonOptions:{...this.options.googleMaps.map.defaultStates.polygon,clickable:!0,editable:!0},polylineOptions:{...this.options.googleMaps.map.defaultStates.polyline,clickable:!0,editable:!0},markerOptions:{...this.options.googleMaps.map.defaultStates.marker,clickable:!0},circleOptions:{...this.options.googleMaps.map.defaultStates.circle,clickable:!0,editable:!0}}),this.drawingManager=e,google.maps.event.addListener(e,"overlaycomplete",(e=>{e.overlay&&(B.call(this,e.overlay),e.overlay.setMap(null))}))}catch(e){}}changeCreateMode(e){this.state.mode=this.state.mode===e?"hand":e}onChangeMode(){var e;this.j.buffer.set("createMode.gm",this.state.mode),null===(e=this.drawingManager)||void 0===e||e.setDrawingMode("hand"===this.state.mode?null:this.state.mode),this.j.e.fire("updateToolbar")}onChangeElementsList(){const{state:{elements:e},mapElements:t}=this;t.length>e.length&&t.slice(e.length).forEach((e=>{e.gme.setMap(null)})),t.length=e.length,e.forEach(((e,t)=>D.call(this,e,t)))}onChangeCenter(){const e=this.map.getCenter();(null==e?void 0:e.lat())===this.state.center[0]&&(null==e?void 0:e.lng())===this.state.center[1]||this.map.setCenter({lat:this.state.center[0],lng:this.state.center[1]})}onChangeZoom(){var e;null===(e=this.map)||void 0===e||e.setZoom(this.state.zoom)}onChangeControls(){var e;let t;for(t in this.state.controls)null===(e=this.map)||void 0===e||e.set(t,this.state.controls[t])}onChangeBound(){this.options.googleMaps.saveStateInStorage&&this.j.storage.set(r,{center:this.state.center,size:this.state.size,zoom:this.state.zoom,type:this.state.type,layer:this.state.layer,controls:this.state.controls})}onChangeSize(){const e=this.getElm("map-size");(0,p.assert)(null!=e,"map-size element does not exists"),(0,p.css)(e,{width:this.state.size[0],height:this.state.size[1]})}onChangeMapType(){this.map.setMapTypeId(this.state.type)}onChangeLayer(){switch(this.layers.forEach((e=>e.setMap(null))),this.layers.length=0,this.state.layer){case"traffic":this.layers.push(new google.maps.TrafficLayer);break;case"transit":this.layers.push(new google.maps.TransitLayer);break;case"bicycling":this.layers.push(new google.maps.BicyclingLayer)}this.layers.forEach((e=>e.setMap(this.map)))}render(){return"<div>\n\t\t\t<div class='&__map-root'></div>\n\t\t\t<div class='&__map-size'></div>\n\t\t\t<div class='&__map-palette'></div>\n\t\t</div>"}appendChildToContainer(){}}(0,o.gn)([(0,u.hook)("ready")],P.prototype,"onReady",null),(0,o.gn)([(0,u.watch)("?:changeCreateMode.gm")],P.prototype,"changeCreateMode",null),(0,o.gn)([(0,u.watch)("state.mode")],P.prototype,"onChangeMode",null),(0,o.gn)([(0,u.watch)("state.elements")],P.prototype,"onChangeElementsList",null),(0,o.gn)([(0,u.watch)("state.center"),(0,u.wait)((e=>e.mapInitialized)),(0,u.debounce)()],P.prototype,"onChangeCenter",null),(0,o.gn)([(0,u.watch)("state.zoom"),(0,u.debounce)()],P.prototype,"onChangeZoom",null),(0,o.gn)([(0,u.watch)("state.controls")],P.prototype,"onChangeControls",null),(0,o.gn)([(0,u.watch)(["state.center","state.zoom","state.controls","state.size","state.type","state.layer"]),(0,u.wait)((e=>e.mapInitialized)),(0,u.debounce)()],P.prototype,"onChangeBound",null),(0,o.gn)([(0,u.watch)("state.size"),(0,u.debounce)()],P.prototype,"onChangeSize",null),(0,o.gn)([(0,u.watch)("state.type")],P.prototype,"onChangeMapType",null),(0,o.gn)([(0,u.watch)("state.layer")],P.prototype,"onChangeLayer",null);let R=class extends d.x4{constructor(e,t){var i;super(e),this.state=t;const[o,s]=t.size,[a,n]=t.center;this.append([new d.u3(e,{label:"Width",name:"width",value:o,type:"number",onChange:this.onChangeSize}),new d.u3(e,{label:"Height",name:"height",value:s,type:"number",onChange:this.onChangeSize}),new d.u3(e,{label:"Latitude",name:"lat",value:a,onChange:this.onChangeCenter}),new d.u3(e,{label:"Longitude",name:"lng",value:n,onChange:this.onChangeCenter}),new d.Cj(e,{label:"Map type",value:t.type,name:"mapType",options:[{value:"hybrid",text:"Hybrid"},{value:"roadmap",text:"Roadmap"},{value:"satellite",text:"Satellite"},{value:"terrain",text:"Terrain"}],onChange(e){t.type=e}}),new d.Cj(e,{label:"Layer",value:null!==(i=t.layer)&&void 0!==i?i:"default",name:"layer",options:[{value:"default",text:"Default"},{value:"traffic",text:"Traffic"},{value:"transit",text:"Transit"},{value:"bicycling",text:"Bicycling"}],onChange(e){t.layer=e}})])}className(){return"UIMapsPropsForm"}onChangeSize(){const{width:e,height:t}=(0,p.refs)(this);this.state.size=[parseInt(null==e?void 0:e.value,10)||0,parseInt(null==t?void 0:t.value,10)||0]}onExternalChangeSize(){const{width:e,height:t}=(0,p.refs)(this),[i,o]=this.state.size;""+i!==e.value&&(e.value=""+i),""+o!==t.value&&(t.value=""+o)}onChangeCenter(){const{lat:e,lng:t}=(0,p.refs)(this);this.state.center=[parseFloat(null==e?void 0:e.value)||0,parseFloat(null==t?void 0:t.value)||0]}onExternalChangeCenter(){const{lat:e,lng:t}=(0,p.refs)(this),[i,o]=this.state.center;""+i!==e.value&&(e.value=""+i),""+o!==t.value&&(t.value=""+o)}onExternalChangeType(){const{mapType:e}=(0,p.refs)(this);this.state.type!==e.value&&(e.value=this.state.type)}onExternalChangeLayer(){const{layer:e}=(0,p.refs)(this);this.state.layer!==e.value&&(e.value=this.state.layer)}};(0,o.gn)([u.autobind],R.prototype,"onChangeSize",null),(0,o.gn)([(0,u.watch)("state.size")],R.prototype,"onExternalChangeSize",null),(0,o.gn)([u.autobind],R.prototype,"onChangeCenter",null),(0,o.gn)([(0,u.watch)(["state.center"])],R.prototype,"onExternalChangeCenter",null),(0,o.gn)([(0,u.watch)(["state.type"])],R.prototype,"onExternalChangeType",null),(0,o.gn)([(0,u.watch)(["state.layer"])],R.prototype,"onExternalChangeLayer",null),R=(0,o.gn)([u.component],R);let H=class extends d.x4{constructor(e,t){super(e),this.state=t;const i={zoomControl:"Zoom control",mapTypeControl:"Map Type control",scaleControl:"Scale control",streetViewControl:"Street View control ",rotateControl:"Rotate control",fullscreenControl:"Fullscreen control"};this.append(Object.keys(i).map((t=>new d.mA(e,{label:i[t],name:t,checked:this.state.controls[t],switch:!0,type:"checkbox",onChange:this.onChangeSize.bind(this,t)}))))}className(){return"UIMapsControlsForm"}onChangeSize(e,t){this.state.controls={...this.state.controls,[e]:"true"===t}}};H=(0,o.gn)([u.component],H);var N=i(41);function q(e){const{state:t}=e;return"https://maps.googleapis.com/maps/api/staticmap?center="+t.center.join(",")+"&zoom="+t.zoom+"&size="+t.size.join("x")+"&maptype="+t.type+"&key="+e.options.googleMaps.API_KEY+(e=>e.state.elements.map((e=>{var t,i,o,s,a,n;switch(e.type){case"polygon":return`&path=fillcolor:${w(null!==(t=e.fillColor)&&void 0!==t?t:"#fff")}%7Cweight:${null!==(i=e.strokeWeight)&&void 0!==i?i:1}%7Ccolor:${w(null!==(o=e.strokeColor)&&void 0!==o?o:"#fff")}%7Cenc:${google.maps.geometry.encoding.encodePath(b(e.coordinates))}`;case"polyline":return`&path=weight:${null!==(s=e.strokeWeight)&&void 0!==s?s:1}%7Ccolor:${w(null!==(a=e.strokeColor)&&void 0!==a?a:"#fff")}%7Cenc:${google.maps.geometry.encoding.encodePath(b(e.coordinates))}`;case"marker":return`&markers=color:blue%7Clabel:${encodeURIComponent((0,p.stripTags)(null!==(n=e.text)&&void 0!==n?n:"").charAt(0).toUpperCase())}%7C${e.coordinates}`}return""})).join(""))(e)}class F extends d.u3{className(){return"UIComboBox"}onReady(){const e=new google.maps.places.Autocomplete(this.nativeInput,{fields:["address_components","geometry","name"],types:["geocode"]});e.addListener("place_changed",(()=>{var t,i;const o=e.getPlace();this.j.e.fire(this,"select",null===(t=o.geometry)||void 0===t?void 0:t.location,null===(i=o.geometry)||void 0===i?void 0:i.viewport)}))}async onInput(){}}(0,o.gn)([(0,u.hook)("ready")],F.prototype,"onReady",null),(0,o.gn)([(0,u.watch)("nativeInput:input"),(0,u.debounce)()],F.prototype,"onInput",null);var O=i(97);window.JoditGoogleReadyHandler=()=>{g=!0,f&&f.forEach((e=>e()))};class V extends s.S{constructor(){super(...arguments),this.requires=["license","color-picker"],this.buttons=[{group:"media",name:"googleMaps"}],this.dialog=null}className(){return"google-maps"}afterInit(e){e.registerCommand(l,(()=>{this.openMapEditor(null,{})}))}beforeDestruct(e){}onOpenOnDblClick(e){if(e.dataset.googleMaps){let t;try{t=JSON.parse(this.j.ow.atob(e.dataset.googleMaps))}catch(e){}return this.openMapEditor(e,t),!1}}async openMapEditor(e,t){const i=this.j,o=this.getDialog(),s=this.j.o.googleMaps.saveStateInStorage?o.storage.get(r):void 0,{apiUrl:a}=this.jodit.o.googleMaps;y()||(0,p.appendScriptAsync)(this.jodit,a.replace(/\${([^}]+)}/g,((e,t)=>{var i;return null!==(i=this.get(t))&&void 0!==i?i:""})));const n={type:this.j.o.googleMaps.map.type,layer:this.j.o.googleMaps.map.layer,size:this.j.o.googleMaps.map.size,...s,...t},l=new P(o,n,this.j.options);l.container.classList.add(o.getFullElName("map"));const c=new F(i,{icon:"search",placeholder:"Search",clearButton:!0}).setMod("in-header",!0);c.container.classList.add(o.getFullElName("search")),this.j.async.promise((e=>{if(y())return void e(0);const t=()=>{y()?e(0):this.j.async.setTimeout(t,100)};var i;t(),i=e,g?i():f.push(i)})).then((()=>{l.setStatus("ready"),c.setStatus("ready")})),this.j.e.on(c,"select",((e,t)=>{t?l.map.fitBounds(t):e&&(l.state.center=[e.lat(),e.lng()])})),s||("auto"===this.j.o.googleMaps.map.center?navigator.geolocation.getCurrentPosition((e=>{l.state.center=[e.coords.latitude,e.coords.longitude]}),(()=>{l.state.center=this.j.o.googleMaps.map.defaultCenter})):l.state.center=this.j.o.googleMaps.map.center),o.setSize(...i.o.googleMaps.dialog.size).setHeader([c," ",(0,N.zx)(i,"eye").onAction((()=>{const e=this.jodit.createInside.element("img");e.src=q(l),e.dataset.googleMaps=btoa(l.json());const t={value:e.outerHTML};this.onAfterGetValueFromEditor(t),i.execCommand("preview",null,t.value)}))]).setContent((0,h.IL)(i,[{name:"Map",icon:"map",content:l},{name:"Settings",content:new R(i,l.state)},{name:"Controls",icon:"menu",content:new H(i,l.state)}])).setFooter([(0,N.zx)(i,"cancel","Cancel","default").onAction((()=>o.close())),(0,N.zx)(i,"ok",e?"Save":"Insert","primary").onAction((()=>{l.destruct(),c.destruct(),o.e.off("beforeClose",d),o.close(),this.insertMap(e,l)}))]).open();const d=()=>{if(l.state.elements.length&&JSON.stringify(l.state.elements)!==JSON.stringify(n.elements)&&!confirm(this.i18n("Are you sure?")))return!1;l.destruct(),c.destruct(),o.e.off("beforeClose",d)};o.e.on("beforeClose",d)}getDialog(){if(!this.dialog){const e=new m.Dialog({language:this.j.o.language});e.container.classList.add(this.getFullElName("")),this.dialog=e}return this.dialog}insertMap(e,t){const i=null!=e?e:this.jodit.createInside.element("img");i.src=q(t),i.dataset.googleMaps=btoa(t.json()),e||this.jodit.s.insertImage(i)}onBeforeSetNativeEditorValue(e){e.value=e.value.replace(/<script[^>]+jodit-google-maps-init[^>]+>.*?<\/script>/gs,"")}onAfterGetValueFromEditor(e,t){this.j.o.googleMaps.useStaticImage||t===O.P||(e.value=e.value.replace(/(<img[^>]+)(["']?)data-google-maps\2\s*=(["'])([^"']+)\3([^>]*>)/gs,((e,t,i,o,s,a)=>{let n={};try{n=JSON.parse(this.j.ow.atob(s))}catch(e){}return`${t} id="${n.uid}" ${i}data-google-maps${i}=${o}${s}${o}${a}${r=this.j,l=n,`<script class="jodit-google-maps-init" type="text/javascript">\n\t\tvar imgMap = document.getElementById('${l.uid}'),\n\t\t\tbox = document.createElement('div'),\n\t\t\tmapBox = document.createElement('div'),\n\t\t\tparentBox = imgMap && imgMap.parentNode,\n\t\t\tassign = Object.assign || function (a, b) {\n\t\t\t\treturn Object.keys(b).reduce(function(acc, key) {\n\t\t\t\t\tacc[key] = b[key];\n\t\t\t\t\treturn acc;\n\t\t\t\t}, a)\n\t\t\t};\n\n\t\tbox.id = 'b${l.uid}';\n\t\tparentBox ? parentBox.insertBefore(box, imgMap) : document.body.appendChild(box);\n\t\timgMap && box.appendChild(imgMap);\n\t\tbox.appendChild(mapBox);\n\n\t\tif (parentBox && parentBox.style.textAlign === 'center') {\n\t\t\tparentBox.style.margin = '0 auto';\n\t\t}\n\n\t\tbox.style.cssText = imgMap.style.cssText;\n\t\tbox.className = imgMap.className;\n\n\t\tvar w = (imgMap && imgMap.offsetWidth) || ${l.size[0]},\n\t\t\t\th = (imgMap && imgMap.offsetHeight) || ${l.size[1]};\n\n\t\tassign(box.style, {\n\t\t\tdisplay: !imgMap.style.cssText ? 'inline-block' : undefined,\n\t\t\twidth: w + 'px',\n\t\t\theight: h + 'px',\n\t\t\tposition: 'relative'\n\t\t});\n\n\t\tassign(mapBox.style, {\n\t\t\twidth: w + 'px',\n\t\t\theight: h + 'px',\n\t\t\tposition: 'absolute',\n\t\t\tleft: 0,\n\t\t\ttop: 0\n\t\t});\n\n\t\tfunction CreateGMap${l.uid}() {\n\t\t\tif (!mapBox) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar map = new google.maps.Map(mapBox, assign({\n\t\t\t\tzoom: ${l.zoom},\n\t\t\t\tcenter: { lat: ${l.center[0]}, lng: ${l.center[1]}},\n\t\t\t\tmapType: '${l.type}'\n\t\t\t}, ${JSON.stringify(l.controls)}));\n\n\t\t\tif (${"default"!==l.layer}) {\n\t\t\t\tnew google.maps.${(0,p.ucfirst)(l.layer)}Layer().setMap(map);\n\t\t\t}\n\n\t\t\tvar infoWindow = new google.maps.InfoWindow();\n\n\t\t\t${JSON.stringify(l.elements)}.forEach(function (elm) {\n\t\t\t\tswitch (elm.type) {\n\t\t\t\t\tcase 'marker': {\n\t\t\t\t\t\tvar obj = (new google.maps.Marker({\n\t\t\t\t\t\t\tposition: {lat: elm.coordinates[0], lng: elm.coordinates[1]},\n\t\t\t\t\t\t\tmap: map,\n\t\t\t\t\t\t\ttitle: elm.title\n\t\t\t\t\t\t}));\n\n\t\t\t\t\t\telm.text && obj.addListener('click', function () {\n\t\t\t\t\t\t\tinfoWindow.setContent(elm.text);\n\t\t\t\t\t\t\tinfoWindow.open(map, this);\n\t\t\t\t\t\t});\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\tcase 'circle': {\n\t\t\t\t\t\t(new google.maps.Circle({\n\t\t\t\t\t\t\tcenter: {lat: elm.coordinates[0], lng: elm.coordinates[1]},\n\t\t\t\t\t\t\tradius: elm.radius,\n\t\t\t\t\t\t\tstrokeColor: elm.strokeColor,\n\t\t\t\t\t\t\tfillColor: elm.fillColor,\n\t\t\t\t\t\t\tstrokeWeight: elm.strokeWeight,\n\t\t\t\t\t\t\tfillOpacity: elm.fillOpacity,\n\t\t\t\t\t\t\tmap: map,\n\t\t\t\t\t\t}));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\tcase 'polygon':\n\t\t\t\t\tcase 'polyline': {\n\t\t\t\t\t\tfunction toPath(array) {\n\t\t\t\t\t\t\treturn array.map(function (item) {\n\t\t\t\t\t\t\t\tif (Array.isArray(item[0])) {\n\t\t\t\t\t\t\t\t\treturn toPath(item);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\treturn {lat: item[0], lng: item[1]};\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t(new google.maps[elm.type === 'polyline' ? 'Polyline' : 'Polygon']({\n\t\t\t\t\t\t\tpath: toPath(elm.coordinates),\n\t\t\t\t\t\t\tstrokeColor: elm.strokeColor,\n\t\t\t\t\t\t\tfillColor: elm.fillColor,\n\t\t\t\t\t\t\tstrokeWeight: elm.strokeWeight,\n\t\t\t\t\t\t\tfillOpacity: elm.fillOpacity,\n\t\t\t\t\t\t\tmap: map,\n\t\t\t\t\t\t}));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t})\n\t\t}\n\n\t\tif (typeof google !== 'undefined' && typeof google.maps !=='undefined' && typeof google.maps.Map !== 'undefined') {\n\t\t\tCreateGMap${l.uid}();\n\t\t} else {\n\t\t\tvar scr = document.createElement('script');\n\t\t\tscr.src = 'https://maps.googleapis.com/maps/api/js?key=${r.o.googleMaps.API_KEY}&language=${r.o.language}&callback=CreateGMap${l.uid}';\n\t\t\tdocument.appendChild(scr);\n\t\t}\n\t\t/*]]>*/<\/script>`.replace(/[\n\t]+/g,"")}`;var r,l})))}}(0,o.gn)([(0,u.watch)("?:openOnDblClick")],V.prototype,"onOpenOnDblClick",null),(0,o.gn)([(0,u.watch)(":beforeSetNativeEditorValue")],V.prototype,"onBeforeSetNativeEditorValue",null),(0,o.gn)([(0,u.watch)(":afterGetValueFromEditor")],V.prototype,"onAfterGetValueFromEditor",null),a.Jodit.plugins.add("google-maps",V)},e=>{e.exports='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"> <g> <path d="M23,13.6l5,5V4c0-0.6-0.4-1-1-1h-4V13.6z"/> <polygon points="12.4,3 16.7,7.3 19.7,10.3 21,11.6 21,3"/> <path d="M14.6,8l-5-5H5C4.4,3,4,3.4,4,4v14.6L14.6,8z"/> </g> <path d="M28.8,29.2L26,26.4c0.7-1,1-2.1,1-3.4c0-3.3-2.7-6-6-6s-6,2.7-6,6s2.7,6,6,6c1.2,0,2.4-0.4,3.4-1l2.8,2.8 c0.4,0.4,1.2,0.4,1.6,0C29.2,30.4,29.2,29.6,28.8,29.2z"/> <path d="M13,23c0-4.4,3.6-8,8-8c0.2,0,0.4,0,0.6,0l-0.3-0.3c0,0,0,0,0,0l-3-3L16,9.4l-12,12V26c0,0.6,0.4,1,1,1h9.1 C13.4,25.8,13,24.5,13,23z"/> </svg>'},e=>{e.exports='<svg viewBox="0 0 76 76" xmlns="http://www.w3.org/2000/svg"> <path d="M38 6.90909C36.2517 6.90909 34.7591 7.58381 33.5221 8.93324C32.2852 10.2827 31.6667 11.911 31.6667 13.8182V20.7273H30.0833V15.7074C30.0833 13.9801 29.5556 12.5137 28.5 11.3082C27.4444 10.1027 26.125 9.5 24.5417 9.5C23.0243 9.5 21.7214 10.0938 20.6328 11.2813C19.5443 12.4688 19 13.8902 19 15.5455V38.7017L17.4167 37.0824V27.7983C17.4167 26.071 16.8889 24.6046 15.8333 23.3991C14.7778 22.1937 13.4583 21.5909 11.875 21.5909C10.3576 21.5909 9.05469 22.1847 7.96615 23.3722C6.8776 24.5597 6.33333 25.9811 6.33333 27.6364V39.7273C6.33333 41.4186 6.91059 42.8939 8.0651 44.1534L23.4036 60.1307C24.6901 61.5341 25.3333 63.3693 25.3333 65.6364C25.3333 66.572 25.6467 67.3816 26.2734 68.0653C26.9002 68.7491 27.6424 69.0909 28.5 69.0909H60.1667C61.0243 69.0909 61.7665 68.7491 62.3932 68.0653C63.02 67.3816 63.3333 66.572 63.3333 65.6364V64.2869C63.3333 62.8116 63.4983 61.4261 63.8281 60.1307L69.1719 36.5966C69.5017 35.3011 69.6667 33.9157 69.6667 32.4403V19.1619C69.6667 17.4347 69.1389 15.9683 68.0833 14.7628C67.0278 13.5573 65.7083 12.9545 64.125 12.9545C62.6076 12.9545 61.3047 13.5483 60.2161 14.7358C59.1276 15.9233 58.5833 17.3447 58.5833 19V20.7273H57V13.9801C57 12.5407 56.5877 11.2363 55.763 10.0668C54.9384 8.89725 53.8828 8.16856 52.5964 7.88068C52.1345 7.80871 51.7552 7.77273 51.4583 7.77273C49.941 7.77273 48.638 8.36648 47.5495 9.55398C46.4609 10.7415 45.9167 12.1629 45.9167 13.8182V20.7273H44.3333V14.142C44.3333 12.3068 43.7973 10.6965 42.7253 9.31108C41.6532 7.92566 40.2925 7.14299 38.6432 6.96307C38.4783 6.92708 38.2639 6.90909 38 6.90909ZM38 0C40.7708 0 43.2283 0.899621 45.3724 2.69886C47.2526 1.47538 49.2813 0.863636 51.4583 0.863636C53.4045 0.863636 55.2352 1.34943 56.9505 2.32102C58.6658 3.29261 60.0842 4.66004 61.2057 6.4233C62.0964 6.1714 63.0694 6.04545 64.125 6.04545C67.4236 6.04545 70.2274 7.33191 72.5365 9.90483C74.8455 12.4777 76 15.5634 76 19.1619V32.4403C76 34.2756 75.7856 36.2188 75.3568 38.2699L69.9635 61.804C69.7656 62.6676 69.6667 63.9451 69.6667 65.6364C69.6667 68.5152 68.7431 70.9621 66.8958 72.9773C65.0486 74.9924 62.8056 76 60.1667 76H28.5C25.7292 76 23.4531 74.9474 21.6719 72.8423C19.8906 70.7372 19 68.1733 19 65.1506L3.76042 49.1733C1.25347 46.5464 0 43.3977 0 39.7273V27.6364C0 24.0739 1.16276 21.0241 3.48828 18.4872C5.8138 15.9503 8.60938 14.6818 11.875 14.6818C12.2378 14.6818 12.5017 14.6998 12.6667 14.7358C12.8646 11.3172 14.1098 8.43845 16.4023 6.09943C18.6949 3.76042 21.408 2.59091 24.5417 2.59091C26.2569 2.59091 27.8733 2.96875 29.3906 3.72443C31.7656 1.24148 34.6354 0 38 0Z"/> </svg>'},e=>{e.exports='<svg viewBox="0 0 77 86" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M7 38.6056L33.1367 7.96263L69.5477 45.7058L36.2444 72.166L7 76.9673V38.6056Z" stroke="black" stroke-width="6"/> <circle cx="71" cy="45" r="6" fill="#C8C8C8"/> <circle cx="35" cy="73" r="6" fill="#C8C8C8"/> <circle cx="6" cy="79" r="6" fill="#C8C8C8"/> <circle cx="6" cy="39" r="6" fill="#C8C8C8"/> <circle cx="33" cy="6" r="6" fill="#C8C8C8"/> </svg>'},e=>{e.exports='<svg viewBox="0 0 88 88" fill="none" xmlns="http://www.w3.org/2000/svg"> <g> <path d="M44 0.513519C27.2931 0.513519 13.75 13.8981 13.75 30.4095C13.75 46.9208 44 87.4835 44 87.4835C44 87.4835 74.25 46.9208 74.25 30.4095C74.25 13.8981 60.7069 0.513519 44 0.513519ZM19.25 30.4095C19.25 16.921 30.3518 5.94914 44 5.94914C57.6482 5.94914 68.75 16.921 68.75 30.4095C68.75 39.8049 54.9945 62.4871 44 78.1329C33.0055 62.4871 19.25 39.8049 19.25 30.4095ZM44 16.8204C36.4052 16.8204 30.25 22.9035 30.25 30.4095C30.25 37.9154 36.4052 43.9985 44 43.9985C51.5948 43.9985 57.75 37.9154 57.75 30.4095C57.75 22.9035 51.5948 16.8204 44 16.8204ZM44 38.5629C39.4508 38.5629 35.75 34.9054 35.75 30.4095C35.75 25.9135 39.4508 22.256 44 22.256C48.5492 22.256 52.25 25.9135 52.25 30.4095C52.25 34.9054 48.5492 38.5629 44 38.5629Z" fill="#404040"/> </g> <defs> <rect width="88" height="86.97" fill="white" transform="translate(0 0.513519)"/> </defs> </svg>'},e=>{e.exports='<svg viewBox="0 0 47 61" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M46.7671 7.12793H27.3433V61H19.416V7.12793H0.0336914V0.570312H46.7671V7.12793Z" fill="black"/> </svg>'},e=>{e.exports='<svg width="72" height="86" viewBox="0 0 72 86" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M17.1832 79.1351L13.6833 45.0811L49.6832 58.4595L47.6832 5.35135" stroke="black" stroke-width="6"/> <circle cx="13" cy="44" r="6" fill="#C8C8C8"/> <circle cx="17" cy="77" r="6" fill="#C8C8C8"/> <circle cx="51" cy="59" r="6" fill="#C8C8C8"/> <circle cx="48" cy="6" r="6" fill="#C8C8C8"/> </svg>'},e=>{e.exports='<svg viewBox="0 0 83 84" fill="none" xmlns="http://www.w3.org/2000/svg"> <circle cx="40" cy="44" r="37" stroke="black" stroke-width="6"/> <path d="M40 4V44H79" stroke="black" stroke-width="5"/> <circle cx="40" cy="6" r="6" fill="#C8C8C8"/> <circle cx="40" cy="43" r="6" fill="#C8C8C8"/> <circle cx="77" cy="44" r="6" fill="#C8C8C8"/> </svg>'},function(e,t,i){"use strict";i.d(t,{PageBreak:()=>d});var o=i(185),s=i(62),a=i(1),n=i(2);n.D.prototype.pageBreak={separator:'<div style="page-break-before: always"></div>'},n.D.prototype.controls.pageBreak={tooltip:"Insert page break",icon:i(249),command:"insertPageBreak"};var r=i(17),l=i(19),c=i(10);class d extends s.S{constructor(){super(...arguments),this.requires=["license"],this.buttons=[{name:"pageBreak",group:"insert"}]}afterInit(e){e.registerCommand("insertPageBreak",(()=>{const t=e.createInside.div("",{});this.decoratePageBreak(t),e.s.insertNode(t,!1,!1);let i=t.parentNode;for(;i&&i!==e.editor&&(r.i.after(i,t),!r.i.isBlock(i));)i=t.parentNode;e.s.setCursorAfter(t),e.setEditorValue()}))}decoratePageBreak(e){(0,c.attr)(e,{"data-jodit-page-break":!0,contenteditable:!1}),e.innerText=this.j.i18n("Page break")}beforeDestruct(){}onChange(){(0,c.$$)('[style*="page-break-after"]',this.j.editor).forEach((e=>{r.i.isEmpty(e)&&!(0,c.attr)(e,"data-jodit-page-break")&&this.decoratePageBreak(e)}))}onAfterGetValueFromEditor(e){e.value=e.value.replace(/<div[^>]+data-jodit-page-break[^>]+>[^]*?<\/div>/gi,this.j.o.pageBreak.separator)}}(0,o.gn)([(0,l.watch)([":change",":afterSetMode"]),(0,l.debounce)()],d.prototype,"onChange",null),(0,o.gn)([(0,l.watch)(":afterGetValueFromEditor")],d.prototype,"onAfterGetValueFromEditor",null),a.Jodit.plugins.add("pageBreak",d)},e=>{e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M2.5 12C2.5 11.5858 2.83579 11.25 3.25 11.25H4.75C5.16421 11.25 5.5 11.5858 5.5 12C5.5 12.4142 5.16421 12.75 4.75 12.75H3.25C2.83579 12.75 2.5 12.4142 2.5 12Z"/> <path d="M6.5 12C6.5 11.5858 6.83579 11.25 7.25 11.25H8.75C9.16421 11.25 9.5 11.5858 9.5 12C9.5 12.4142 9.16421 12.75 8.75 12.75H7.25C6.83579 12.75 6.5 12.4142 6.5 12Z" /> <path d="M10.5 12C10.5 11.5858 10.8358 11.25 11.25 11.25H12.75C13.1642 11.25 13.5 11.5858 13.5 12C13.5 12.4142 13.1642 12.75 12.75 12.75H11.25C10.8358 12.75 10.5 12.4142 10.5 12Z" /> <path d="M14.5 12C14.5 11.5858 14.8358 11.25 15.25 11.25H16.75C17.1642 11.25 17.5 11.5858 17.5 12C17.5 12.4142 17.1642 12.75 16.75 12.75H15.25C14.8358 12.75 14.5 12.4142 14.5 12Z" /> <path d="M18.5 12C18.5 11.5858 18.8358 11.25 19.25 11.25H20.75C21.1642 11.25 21.5 11.5858 21.5 12C21.5 12.4142 21.1642 12.75 20.75 12.75H19.25C18.8358 12.75 18.5 12.4142 18.5 12Z" /> <path d="M4.75 2C4.33579 2 4 2.33579 4 2.75V7C4 8.104 4.896 9 6 9H18C19.104 9 20 8.104 20 7V2.75C20 2.33579 19.6642 2 19.25 2C18.8358 2 18.5 2.33579 18.5 2.75V7C18.5 7.275 18.276 7.5 18 7.5H6C5.724 7.5 5.5 7.275 5.5 7V2.75C5.5 2.33579 5.16421 2 4.75 2Z" /> <path d="M19.25 22C19.6642 22 20 21.6642 20 21.25V17C20 15.896 19.104 15 18 15L6 15C4.896 15 4 15.896 4 17L4 21.25C4 21.6642 4.33579 22 4.75 22C5.16421 22 5.5 21.6642 5.5 21.25L5.5 17C5.5 16.725 5.724 16.5 6 16.5L18 16.5C18.276 16.5 18.5 16.725 18.5 17V21.25C18.5 21.6642 18.8358 22 19.25 22Z" /> </svg>'},function(e,t,i){"use strict";i.d(t,{ExportDocs:()=>d});var o=i(62),s=i(50),a=i(1),n=i(2),r=i(17);n.D.prototype.exportDocs={css:"",pdf:{allow:!0,options:{format:"A4",page_orientation:"portrait"}}},n.D.prototype.controls.exportDocs={tooltip:"Export",isDisabled:e=>r.i.isEmptyContent(e.editor),icon:i(251),list:{exportToPdf:"Export to PDF"},command:"exportToPDF"};var l=i(10),c=i(4);class d extends o.S{constructor(){super(...arguments),this.requires=["license"],this.buttons=[{name:"exportDocs",group:"media"}]}afterInit(e){e.registerCommand("exportToPDF",(async()=>{var t;const i=function(e){const t=(e,t=e.ownerDocument.styleSheets)=>(0,l.toArray)(t).map((e=>{try{return(0,l.toArray)(e.cssRules)}catch(e){}return[]})).flat().filter((t=>{try{return t&&e.matches(t.selectorText)}catch(e){}return!1}));return new class{constructor(i,o,s){this.css={};const a=s||{},n=e=>{0==!!this.css[e.selectorText]&&(this.css[e.selectorText]={});const t=e.style.cssText.split(/;(?![A-Za-z0-9])/);for(let i=0;t.length>i;i++){if(!t[i])continue;const o=t[i].split(":");o[0]=o[0].trim(),o[1]=o[1].trim(),this.css[e.selectorText][o[0]]=o[1]}};(()=>{const s=i.innerHeight,r=o.createTreeWalker(e.editor,NodeFilter.SHOW_ELEMENT,(()=>NodeFilter.FILTER_ACCEPT));for(;r.nextNode();){const e=r.currentNode;if(s>e.getBoundingClientRect().top||a.scanFullPage){const i=t(e);if(i)for(let e=0;i.length>e;e++)n(i[e])}}})()}generateCSS(){let e="";for(const t in this.css)if(!/:not\(/.test(t)){e+=t+" { ";for(const i in this.css[t])e+=i+": "+this.css[t][i]+"; ";e+="}\n"}return e}}(e.ew,e.ed,{scanFullPage:!0}).generateCSS()}(e),o=new s.t(e,{...null!==(t=e.o.exportDocs.ajax)&&void 0!==t?t:e.o.filebrowser.ajax,method:"POST",responseType:"blob",onProgress(t){e.progressbar.show().progress(t)},data:{action:"generatePdf",html:`<style>${i+e.o.exportDocs.css}</style>${e.value}`}});try{const t=await o.send(),i=await t.blob(),s=this.j.create.a(),a="document.pdf";s.href=URL.createObjectURL(i),s.download=a,s.click(),r.i.safeRemove(s),URL.revokeObjectURL(s.href)}catch(e){e.message&&(0,c.Alert)(e.message)}finally{e.progressbar.progress(100),await e.async.delay(200),e.progressbar.hide()}}))}beforeDestruct(){}}a.Jodit.plugins.add("exportDocs",d)},e=>{e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M19,21H5a2,2,0,0,1-2-2V17a1,1,0,0,1,2,0v2H19V17a1,1,0,0,1,2,0v2A2,2,0,0,1,19,21Z"/> <path d="M18,5H6A1,1,0,0,1,6,3H18a1,1,0,0,1,0,2Z"/> <path d="M15.71,10.29l-3-3a1,1,0,0,0-.33-.21,1,1,0,0,0-.76,0,1,1,0,0,0-.33.21l-3,3a1,1,0,0,0-.21,1.09A1,1,0,0,0,9,12h2v3a1,1,0,0,0,2,0V12h2a1,1,0,0,0,.92-.62A1,1,0,0,0,15.71,10.29Z"/> </svg>'}],t={};function i(o){var s=t[o];if(void 0!==s)return s.exports;var a=t[o]={exports:{}};return e[o].call(a.exports,a,a.exports,i),a.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var o in t)i.o(t,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{"use strict";i.r(o),i.d(o,{finder:()=>t.finder,showBlocks:()=>s.showBlocks,autocomplete:()=>a.autocomplete,backup:()=>n.backup,emoji:()=>r.emoji,colorPicker:()=>l.colorPicker,googleSearch:()=>c.googleSearch,changeCase:()=>d.changeCase,pasteCode:()=>h.pasteCode,keyboard:()=>u.keyboard,buttonGenerator:()=>p.buttonGenerator,tuneBlock:()=>m.tuneBlock,highlightSignature:()=>g.highlightSignature,googleMaps:()=>f.googleMaps,PageBreak:()=>b.PageBreak,ExportDocs:()=>v.ExportDocs,Jodit:()=>Jodit});var e=i(1),t=i(182),s=i(188),a=i(210),n=i(211),r=i(214),l=i(217),c=i(220),d=i(222),h=i(224),u=i(226),p=i(234),m=i(238),g=i(239),f=i(240),b=i(248),v=i(250);e.Jodit.fatMode=!0;const Jodit=e.Jodit})(),o}()}));
|