1(self.webpackChunkui=self.webpackChunkui||[]).push([[8555],{8555(e,t,o){var n;self,n=e=>(()=>{"use strict";var t={616:(e,t,o)=>{o.d(t,{A:()=>g});var n=o(772),r=o.n(n),i=o(333),a=o.n(i),l=o(504),s=o.n(l),c=new URL(o(523),o.b),u=new URL(o(789),o.b),d=new URL(o(65),o.b),f=a()(r()),p=s()(c),h=s()(u),v=s()(d);f.push([e.id,'.jodit-ui-group{display:inline-flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;max-width:100%}.jodit-ui-group_line_true{display:flex;justify-content:stretch}.jodit-ui-group_separated_true:not(:last-child):not(.jodit-ui-group_before-spacer_true):after{border-left:0;border-right:1px solid var(--jd-color-border);content:"";cursor:default;margin:2px;padding:0}.jodit-ui-group:last-child{border-bottom:0}.jodit-ui-list{display:flex;flex-direction:column}.jodit-ui-list_mode_vertical .jodit-ui-group{background-color:transparent;border:0;flex-direction:column}.jodit-ui-list_mode_vertical .jodit-toolbar-button{height:auto;min-height:var(--jd-button-size)}.jodit-ui-list_mode_vertical .jodit-toolbar-button__button{cursor:pointer;height:auto;min-height:var(--jd-button-size);width:100%}.jodit-ui-list_mode_vertical .jodit-toolbar-button__text:not(:empty){justify-content:left}.jodit-ui-separator{border-left:0;border-right:1px solid var(--jd-color-border);cursor:default;margin:2px;padding:0}.jodit-ui-break{border-top:1px solid var(--jd-color-border);flex-basis:100%;height:0!important;width:0}.jodit-ui-spacer{flex:1}.jodit-ui-button-icon-text__icon{display:none}.jodit-ui-button-icon-text__icon:not(:empty){display:inline-flex}.jodit-ui-button-icon-text__text{display:none}.jodit-ui-button-icon-text__text:not(:empty){display:inline-flex;flex-grow:1;font-family:var(--jd-font-default);font-size:var(--jd-font-size-default);justify-content:center;overflow:hidden;text-overflow:ellipsis}.jodit-ui-button-icon-text_context_menu .jodit-ui-button-icon-text__text{justify-content:left;padding-left:var(--jd-padding-default);position:relative}.jodit-ui-button-icon-text_context_menu .jodit-ui-button-icon-text__text:before{border-left:1px solid var(--jd-color-border);content:"";height:35px;left:0;position:absolute;top:calc(var(--jd-padding-default)*-1)}.jodit-ui-button-icon-text__icon:not(:empty)+.jodit-ui-button-icon-text__text:not(:empty){margin-left:var(--jd-padding-default)}.jodit-ui-button-icon-text__icon:empty+.jodit-ui-button-icon-text__text:not(:empty){padding:0 var(--jd-padding-default)}.jodit-ui-button-clear,.jodit-ui-button_clear{appearance:none;background:0 0;border:0;box-shadow:none;box-sizing:border-box;font-style:normal;outline:0;padding:0;position:relative;text-align:center;text-decoration:none;text-transform:none;user-select:none}.jodit-ui-button-sizes{height:34px;min-width:34px}.jodit-ui-button-sizes .jodit-icon{height:14px;width:14px}.jodit-ui-button-sizes button{appearance:none;height:34px;min-width:34px;padding:0}.jodit-ui-button-sizes_text-icons_true button{padding:0 var(--jd-padding-default)}.jodit-ui-button-sizes_size_tiny{height:16px;min-width:16px}.jodit-ui-button-sizes_size_tiny .jodit-icon{height:8px;width:8px}.jodit-ui-button-sizes_size_tiny button{appearance:none;height:16px;min-width:16px;padding:0}.jodit-ui-button-sizes_size_tiny_text-icons_true button{padding:0 var(--jd-padding-default)}.jodit-ui-button-sizes_size_xsmall{height:22px;min-width:22px}.jodit-ui-button-sizes_size_xsmall .jodit-icon{height:10px;width:10px}.jodit-ui-button-sizes_size_xsmall button{appearance:none;height:22px;min-width:22px;padding:0}.jodit-ui-button-sizes_size_xsmall_text-icons_true button{padding:0 var(--jd-padding-default)}.jodit-ui-button-sizes_size_small{height:28px;min-width:28px}.jodit-ui-button-sizes_size_small .jodit-icon{height:12px;width:12px}.jodit-ui-button-sizes_size_small button{appearance:none;height:28px;min-width:28px;padding:0}.jodit-ui-button-sizes_size_small_text-icons_true button{padding:0 var(--jd-padding-default)}.jodit-ui-button-sizes_size_large{height:40px;min-width:40px}.jodit-ui-button-sizes_size_large .jodit-icon{height:16px;width:16px}.jodit-ui-button-sizes_size_large button{appearance:none;height:40px;min-width:40px;padding:0}.jodit-ui-button-sizes_size_large_text-icons_true button{padding:0 var(--jd-padding-default)}.jodit-ui-button-variants_variant_outline{border:1px solid var(--jd-color-border)}.jodit-ui-button-variants_variant_default{background-color:#e3e3e3;color:#212529}.jodit-ui-button-variants_variant_default svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_default [disabled]{opacity:.7}.jodit-ui-button-variants_variant_default:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-ui-button-variants_variant_default:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_default:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-ui-button-variants_variant_default:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_default:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-ui-button-variants_variant_primary{background-color:#007bff;color:#fff}.jodit-ui-button-variants_variant_primary svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_primary [disabled]{opacity:.7}.jodit-ui-button-variants_variant_primary:hover:not([disabled]){background-color:#0069d9;color:#fff}.jodit-ui-button-variants_variant_primary:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_primary:active:not([disabled]){background-color:#0062cc;color:#fff}.jodit-ui-button-variants_variant_primary:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_primary:focus:not([disabled]){outline:1px dashed #0062cc}.jodit-ui-button-variants_variant_secondary{background-color:#d8d8d8;border-radius:0;color:#212529}.jodit-ui-button-variants_variant_secondary svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_secondary [disabled]{opacity:.7}.jodit-ui-button-variants_variant_secondary:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-ui-button-variants_variant_secondary:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_secondary:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-ui-button-variants_variant_secondary:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_secondary:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-ui-button-variants_variant_success{background-color:#28a745;color:#fff}.jodit-ui-button-variants_variant_success svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_success [disabled]{opacity:.7}.jodit-ui-button-variants_variant_success:hover:not([disabled]){background-color:#218838;color:#fff}.jodit-ui-button-variants_variant_success:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_success:active:not([disabled]){background-color:#1e7e34;color:#fff}.jodit-ui-button-variants_variant_success:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_success:focus:not([disabled]){outline:1px dashed #1e7e34}.jodit-ui-button-variants_variant_danger{background-color:#dc3545;color:#fff}.jodit-ui-button-variants_variant_danger svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_danger [disabled]{opacity:.7}.jodit-ui-button-variants_variant_danger:hover:not([disabled]){background-color:#c82333;color:#fff}.jodit-ui-button-variants_variant_danger:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_danger:active:not([disabled]){background-color:#bd2130;color:#fff}.jodit-ui-button-variants_variant_danger:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_danger:focus:not([disabled]){outline:1px dashed #bd2130}.jodit-ui-button-style{border-radius:var(--jd-border-radius-default);padding:0 var(--jd-padding-default)}.jodit-ui-button,.jodit-ui-button-style{align-items:center;color:var(--jd-color-text-icons);display:inline-flex;justify-content:center}.jodit-ui-button{appearance:none;background:0 0;border:0;border-radius:var(--jd-border-radius-default);box-shadow:none;box-sizing:border-box;
1cursor:pointer;font-style:normal;height:34px;min-width:34px;outline:0;padding:0;padding:0 var(--jd-padding-default);position:relative;text-align:center;text-decoration:none;text-transform:none;user-select:none}.jodit-ui-button:focus-visible:not([disabled]),.jodit-ui-button:hover:not([disabled]){background-color:var(--jd-color-button-background-hover);opacity:1;outline:0}.jodit-ui-button:active:not([disabled]),.jodit-ui-button[aria-pressed=true]:not([disabled]){background-color:var(--jd-color-button-background-hover-opacity40);outline:0}.jodit-ui-button[aria-pressed=true]:hover:not([disabled]){background-color:var(--jd-color-button-background-hover-opacity60)}.jodit-ui-button[disabled]{opacity:.3;pointer-events:none}.jodit-ui-button .jodit-icon{height:14px;width:14px}.jodit-ui-button button{appearance:none;height:34px;min-width:34px;padding:0}.jodit-ui-button_text-icons_true button{padding:0 var(--jd-padding-default)}.jodit-ui-button_size_tiny{height:16px;min-width:16px}.jodit-ui-button_size_tiny .jodit-icon{height:8px;width:8px}.jodit-ui-button_size_tiny button{appearance:none;height:16px;min-width:16px;padding:0}.jodit-ui-button_size_tiny_text-icons_true button{padding:0 var(--jd-padding-default)}.jodit-ui-button_size_xsmall{height:22px;min-width:22px}.jodit-ui-button_size_xsmall .jodit-icon{height:10px;width:10px}.jodit-ui-button_size_xsmall button{appearance:none;height:22px;min-width:22px;padding:0}.jodit-ui-button_size_xsmall_text-icons_true button{padding:0 var(--jd-padding-default)}.jodit-ui-button_size_small{height:28px;min-width:28px}.jodit-ui-button_size_small .jodit-icon{height:12px;width:12px}.jodit-ui-button_size_small button{appearance:none;height:28px;min-width:28px;padding:0}.jodit-ui-button_size_small_text-icons_true button{padding:0 var(--jd-padding-default)}.jodit-ui-button_size_large{height:40px;min-width:40px}.jodit-ui-button_size_large .jodit-icon{height:16px;width:16px}.jodit-ui-button_size_large button{appearance:none;height:40px;min-width:40px;padding:0}.jodit-ui-button_size_large_text-icons_true button{padding:0 var(--jd-padding-default)}.jodit-ui-button__icon{display:none}.jodit-ui-button__icon:not(:empty){display:inline-flex}.jodit-ui-button__text{display:none}.jodit-ui-button__text:not(:empty){display:inline-flex;flex-grow:1;font-family:var(--jd-font-default);font-size:var(--jd-font-size-default);justify-content:center;overflow:hidden;text-overflow:ellipsis}.jodit-ui-button_context_menu .jodit-ui-button__text{justify-content:left;padding-left:var(--jd-padding-default);position:relative}.jodit-ui-button_context_menu .jodit-ui-button__text:before{border-left:1px solid var(--jd-color-border);content:"";height:35px;left:0;position:absolute;top:calc(var(--jd-padding-default)*-1)}.jodit-ui-button__icon:not(:empty)+.jodit-ui-button__text:not(:empty){margin-left:var(--jd-padding-default)}.jodit-ui-button__icon:empty+.jodit-ui-button__text:not(:empty){padding:0 var(--jd-padding-default)}.jodit-ui-button:focus:not([disabled]){outline:1px dashed var(--jd-color-background-selection)}.jodit-ui-button_variant_outline{border:1px solid var(--jd-color-border)}.jodit-ui-button_variant_default{background-color:#e3e3e3;color:#212529}.jodit-ui-button_variant_default svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_default [disabled]{opacity:.7}.jodit-ui-button_variant_default:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-ui-button_variant_default:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_default:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-ui-button_variant_default:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_default:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-ui-button_variant_primary{background-color:#007bff;color:#fff}.jodit-ui-button_variant_primary svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_primary [disabled]{opacity:.7}.jodit-ui-button_variant_primary:hover:not([disabled]){background-color:#0069d9;color:#fff}.jodit-ui-button_variant_primary:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_primary:active:not([disabled]){background-color:#0062cc;color:#fff}.jodit-ui-button_variant_primary:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_primary:focus:not([disabled]){outline:1px dashed #0062cc}.jodit-ui-button_variant_secondary{background-color:#d8d8d8;border-radius:0;color:#212529}.jodit-ui-button_variant_secondary svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_secondary [disabled]{opacity:.7}.jodit-ui-button_variant_secondary:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-ui-button_variant_secondary:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_secondary:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-ui-button_variant_secondary:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_secondary:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-ui-button_variant_success{background-color:#28a745;color:#fff}.jodit-ui-button_variant_success svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_success [disabled]{opacity:.7}.jodit-ui-button_variant_success:hover:not([disabled]){background-color:#218838;color:#fff}.jodit-ui-button_variant_success:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_success:active:not([disabled]){background-color:#1e7e34;color:#fff}.jodit-ui-button_variant_success:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_success:focus:not([disabled]){outline:1px dashed #1e7e34}.jodit-ui-button_variant_danger{background-color:#dc3545;color:#fff}.jodit-ui-button_variant_danger svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_danger [disabled]{opacity:.7}.jodit-ui-button_variant_danger:hover:not([disabled]){background-color:#c82333;color:#fff}.jodit-ui-button_variant_danger:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_danger:active:not([disabled]){background-color:#bd2130;color:#fff}.jodit-ui-button_variant_danger:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_danger:focus:not([disabled]){outline:1px dashed #bd2130}.jodit-ui-button-group{margin-bottom:var(--jd-padding-default)}.jodit-ui-button-group__label{color:var(--jd-color-label);display:block;font-size:.8em;margin-bottom:calc(var(--jd-padding-default)/4)}.jodit-ui-button-group__options{display:flex;justify-content:flex-start}.jodit-ui-button-group .jodit-ui-button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.jodit-ui-button-group .jodit-ui-button+.jodit-ui-button{border-bottom-left-radius:0;border-left:1px solid var(--jd-color-button-background-hover-opacity40);border-top-left-radius:0}.jodit-ui-button-group .jodit-ui-button[aria-pressed=true]:not([disabled]){background-color:var(--jd-color-button-background-hover);border-left:0;box-shadow:inset 0 0 3px 0 var(--jd-color-dark);color:var(--jd-color-dark);outline:0}.jodit-ui-button-group .jodit-ui-button[aria-pressed=true]:not([disabled])+.jodit-ui-button{border:0}:root{--jd-tooltip-color:#fff;--jd-tooltip-background-color:rgba(0,0,0,.7);--jd-tooltip-sfx-shadow:rgba(0,0,0,.15);--jd-tooltip-border-width:0;--jd-tooltip-border-color:#e5e5e5}.jodit-ui-tooltip{animation-fill-mode:forwards;animation-timing-function:ease-out;background-clip:padding-box;background-color:var(--jd-tooltip-background-color);border-radius:4px;box-shadow:0 0 0 var(--jd-tooltip-border-width) var(--jd-tooltip-border-color),
10 8px 20px var(--jd-tooltip-border-width) var(--jd-tooltip-sfx-shadow);color:var(--jd-tooltip-color);font-family:var(--jd-font-default);font-size:var(--jd-font-size-small);line-height:1.4;max-width:120px;opacity:0;outline:none;pointer-events:none;position:fixed;text-rendering:optimizelegibility;transform:translate(-50%,calc(var(--jd-padding-default)/2));transition:opacity .2s ease 0s;user-select:none;white-space:normal;width:auto;z-index:var(--jd-z-index-tooltip)}@media (max-width:768px){.jodit-ui-tooltip{display:none}}.jodit-ui-tooltip__content{padding:calc(var(--jd-padding-default)/2) calc(var(--jd-padding-default)*1.5)}.jodit-ui-tooltip.jodit-ui-tooltip_visible_true{opacity:1}.jodit-ui-block{align-items:center;display:flex;justify-content:stretch;margin-bottom:var(--jd-padding-default)}.jodit-ui-block_width_full{width:100%}.jodit-ui-block_align_full{justify-content:space-between}.jodit-ui-block_align_right{justify-content:flex-end}.jodit-ui-block_padding_true{padding:var(--jd-padding-default)}.jodit-ui-label{color:var(--jd-color-label);display:block;font-size:.8em;margin-bottom:calc(var(--jd-padding-default)/4)}.jodit-ui-input{display:flex;flex-direction:column;margin-bottom:var(--jd-padding-default)}.jodit-ui-input__input{appearance:none;background-color:var(--jd-color-white);border:0;border-radius:0;box-sizing:border-box;font-family:var(--jd-font-default);font-size:var(--jd-font-size-default);height:var(--jd-input-height);line-height:1.2;outline:none;padding:0 var(--jd-padding-default);width:100%}.jodit-ui-input__input[disabled]{background-color:#f0f0f0;color:var(--jd-color-border)}.jodit-ui-input__input_has-error_true{border-color:var(--jd-color-red)}
1.jodit-ui-input__input:focus{outline:0}.jodit-ui-input_theme_dark .jodit-ui-input__input{background-color:var(--jd-color-gray)}.jodit-ui-input_has-error_true .jodit-ui-input__input{border-color:var(--jd-color-red)}.jodit-ui-input__error,.jodit-ui-input__label{color:var(--jd-color-label);display:block;font-size:.8em;margin-bottom:calc(var(--jd-padding-default)/4)}.jodit-ui-input__error,.jodit-ui-input_has-error_true .jodit-ui-input__label{color:var(--jd-color-error)}.jodit-ui-input__wrapper{align-items:center;background-color:var(--jd-color-white);border:1px solid var(--jd-color-border);display:flex;justify-content:stretch;min-width:200px}@media (max-width:480px){.jodit-ui-input__wrapper{min-width:140px}}.jodit-ui-input_theme_dark .jodit-ui-input__wrapper{background-color:var(--jd-color-gray);border-color:var(--jd-color-border)}.jodit-ui-input_focused_true .jodit-ui-input__wrapper{border-color:var(--jd-color-border-selected)}.jodit-ui-input__icon:not(:empty){align-items:center;display:flex;padding:0 var(--jd-padding-default)}.jodit-ui-input__icon:not(:empty) svg{height:16px;width:16px;fill:var(--jd-color-border)}.jodit-ui-input__icon:not(:empty)+.jodit-ui-input__input{padding-left:0}.jodit-ui-input__clear{align-items:center;display:flex;opacity:.8;padding:0 var(--jd-padding-default) 0 0}.jodit-ui-input__clear:active{opacity:1;transform:scale(1.1)}.jodit-ui-input__clear svg{height:12px;width:12px;fill:var(--jd-color-border)}.jodit-ui-input_theme_dark .jodit-ui-input__clear svg,.jodit-ui-input_theme_dark .jodit-ui-input__icon svg{fill:var(--jd-color-dark)}.jodit-ui-block .jodit-ui-input{margin-bottom:0}.jodit-ui-select{display:flex;flex-direction:column;margin-bottom:var(--jd-padding-default)}.jodit-ui-select__input{appearance:none;background-color:var(--jd-color-white);border:0;border-radius:0;box-sizing:border-box;font-family:var(--jd-font-default);font-size:var(--jd-font-size-default);height:var(--jd-input-height);line-height:1.2;outline:none;padding:0 var(--jd-padding-default);width:100%}.jodit-ui-select__input[disabled]{background-color:#f0f0f0;color:var(--jd-color-border)}.jodit-ui-select__input_has-error_true{border-color:var(--jd-color-red)}.jodit-ui-select__input:focus{outline:0}.jodit-ui-select_theme_dark .jodit-ui-select__input{background-color:var(--jd-color-gray)}.jodit-ui-select_has-error_true .jodit-ui-select__input{border-color:var(--jd-color-red)}.jodit-ui-select__error,.jodit-ui-select__label{color:var(--jd-color-label);display:block;font-size:.8em;margin-bottom:calc(var(--jd-padding-default)/4)}.jodit-ui-select__error,.jodit-ui-select_has-error_true .jodit-ui-select__label{color:var(--jd-color-error)}.jodit-ui-select__wrapper{align-items:center;background-color:var(--jd-color-white);border:1px solid var(--jd-color-border);display:flex;justify-content:stretch;
1min-width:200px}@media (max-width:480px){.jodit-ui-select__wrapper{min-width:140px}}.jodit-ui-select_theme_dark .jodit-ui-select__wrapper{background-color:var(--jd-color-gray);border-color:var(--jd-color-border)}.jodit-ui-select_focused_true .jodit-ui-select__wrapper{border-color:var(--jd-color-border-selected)}.jodit-ui-select__icon:not(:empty){align-items:center;display:flex;padding:0 var(--jd-padding-default)}.jodit-ui-select__icon:not(:empty) svg{height:16px;width:16px;fill:var(--jd-color-border)}.jodit-ui-select__icon:not(:empty)+.jodit-ui-select__input{padding-left:0}.jodit-ui-select__clear{align-items:center;display:flex;opacity:.8;padding:0 var(--jd-padding-default) 0 0}.jodit-ui-select__clear:active{opacity:1;transform:scale(1.1)}.jodit-ui-select__clear svg{height:12px;width:12px;fill:var(--jd-color-border)}.jodit-ui-select_theme_dark .jodit-ui-select__clear svg,.jodit-ui-select_theme_dark .jodit-ui-select__icon svg{fill:var(--jd-color-dark)}.jodit-ui-select__input[multiple]{height:auto;padding:0}.jodit-ui-select__input[multiple] option{padding:calc(var(--jd-padding-default)*.5) var(--jd-padding-default)}.jodit-ui-select__input:not([multiple]){background-image:url('.concat(p,');background-position:98% 50%;background-repeat:no-repeat;padding-right:calc(var(--jd-padding-default)*2)}.jodit-ui-select_size_tiny{margin-bottom:0}.jodit-ui-select_size_tiny .jodit-ui-select__input{--jd-height:calc(var(--jd-input-height)/1.8);height:var(--jd-height);line-height:var(--jd-height)}.jodit-ui-select_variant_outline .jodit-ui-select__wrapper{border:0}.jodit-ui-select_variant_outline .jodit-ui-select__wrapper select{outline:0}.jodit-ui-select_width_auto{width:auto}.jodit-ui-select_width_auto .jodit-ui-select__wrapper{min-width:auto}.jodit-ui-text-area{display:flex;flex-direction:column;margin-bottom:var(--jd-padding-default);width:100%}.jodit-ui-text-area__input{appearance:none;background-color:var(--jd-color-white);border:0;border-radius:0;box-sizing:border-box;font-family:var(--jd-font-default);font-size:var(--jd-font-size-default);height:var(--jd-input-height);line-height:1.2;outline:none;padding:0 var(--jd-padding-default);width:100%}.jodit-ui-text-area__input[disabled]{background-color:#f0f0f0;color:var(--jd-color-border)}.jodit-ui-text-area__input_has-error_true{border-color:var(--jd-color-red)}.jodit-ui-text-area__input:focus{outline:0}.jodit-ui-text-area_theme_dark .jodit-ui-text-area__input{background-color:var(--jd-color-gray)}.jodit-ui-text-area_has-error_true .jodit-ui-text-area__input{border-color:var(--jd-color-red)}.jodit-ui-text-area__error,.jodit-ui-text-area__label{color:var(--jd-color-label);display:block;font-size:.8em;margin-bottom:calc(var(--jd-padding-default)/4)}.jodit-ui-text-area__error,.jodit-ui-text-area_has-error_true .jodit-ui-text-area__label{color:var(--jd-color-error)}.jodit-ui-text-area__wrapper{align-items:center;background-color:var(--jd-color-white);border:1px solid var(--jd-color-border);display:flex;justify-content:stretch;
1min-width:200px}@media (max-width:480px){.jodit-ui-text-area__wrapper{min-width:140px}}.jodit-ui-text-area_theme_dark .jodit-ui-text-area__wrapper{background-color:var(--jd-color-gray);border-color:var(--jd-color-border)}.jodit-ui-text-area_focused_true .jodit-ui-text-area__wrapper{border-color:var(--jd-color-border-selected)}.jodit-ui-text-area__icon:not(:empty){align-items:center;display:flex;padding:0 var(--jd-padding-default)}.jodit-ui-text-area__icon:not(:empty) svg{height:16px;width:16px;fill:var(--jd-color-border)}.jodit-ui-text-area__icon:not(:empty)+.jodit-ui-text-area__input{padding-left:0}.jodit-ui-text-area__clear{align-items:center;display:flex;opacity:.8;padding:0 var(--jd-padding-default) 0 0}.jodit-ui-text-area__clear:active{opacity:1;transform:scale(1.1)}.jodit-ui-text-area__clear svg{height:12px;width:12px;fill:var(--jd-color-border)}.jodit-ui-text-area_theme_dark .jodit-ui-text-area__clear svg,.jodit-ui-text-area_theme_dark .jodit-ui-text-area__icon svg{fill:var(--jd-color-dark)}.jodit-ui-text-area__wrapper{flex:1}.jodit-ui-text-area__input{height:100%;min-height:60px;padding:var(--jd-padding-default)}.jodit-ui-checkbox{align-items:center;display:flex;flex-direction:row-reverse;justify-content:flex-end;margin-bottom:var(--jd-padding-default)}.jodit-ui-checkbox__input{margin-right:var(--jd-padding-default)}.jodit-ui-checkbox_switch_true .jodit-ui-checkbox__wrapper{display:inline-block;height:34px;margin-right:var(--jd-padding-default);position:relative;width:60px}.jodit-ui-checkbox_switch_true .jodit-ui-checkbox__wrapper input{height:0;opacity:0;width:0}.jodit-ui-checkbox_switch_true .jodit-ui-checkbox__switch-slider{background-color:#ccc;border-radius:34px;cursor:pointer;inset:0;position:absolute;transition:.4s}.jodit-ui-checkbox_switch_true .jodit-ui-checkbox__switch-slider:before{background-color:#fff;border-radius:50%;bottom:4px;content:"";height:26px;left:4px;position:absolute;transition:.4s;width:26px}.jodit-ui-checkbox_switch_true.jodit-ui-checkbox_checked_true .jodit-ui-checkbox__switch-slider{background-color:#2196f3}.jodit-ui-checkbox_switch_true.jodit-ui-checkbox_checked_true .jodit-ui-checkbox__switch-slider:before{transform:translateX(26px)}.jodit-ui-checkbox_switch_true.jodit-ui-checkbox_focused_true .jodit-ui-checkbox__switch-slider{box-shadow:0 0 1px #2196f3}.jodit-ui-block .jodit-ui-checkbox{margin-bottom:0}.jodit-ui-file-input{overflow:hidden;position:relative}.jodit-ui-file-input__input{bottom:0;cursor:pointer;font-size:400px;margin:0 calc(var(--jd-padding-default)*-1) 0 0;opacity:0;padding:0;position:absolute;right:0;top:0}:root{--jd-popup-box-shadow:0 4px 1px -2px rgba(76,76,76,.2),0 3px 3px 0 rgba(76,76,76,.15),0 1px 4px 0 rgba(76,76,76,.13);--jd-popup-max-height:max(50vh,350px)}.jodit-popup{background:0 0;border:0;box-shadow:var(--jd-popup-box-shadow);display:inline-block;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;position:fixed;transform:translateZ(0);width:auto;z-index:var(--jd-z-index-popup)}.jodit-popup__content{background:var(--jd-color-background-default);font-family:var(--jd-font-default);font-size:var(--jd-font-size-default);max-height:var(--jd-popup-max-height,400px);overflow:auto;padding:var(--jd-padding-default);overflow-scrolling:touch}.jodit-popup_padding_false .jodit-popup__content{padding:0}.jodit-popup_max-height_false .jodit-popup__content{max-height:fit-content}@keyframes a{30%{opacity:.6}60%{opacity:0}to{opacity:.6}}.jodit-progress-bar{border-radius:1px;height:2px;left:0;opacity:.7;position:absolute;top:0;z-index:2147483647}.jodit-progress-bar div{background:var(--jd-color-background-progress);height:2px;position:relative;transition:width .5s ease-out,opacity .5s linear;will-change:width,opacity}.jodit-progress-bar div:after,.jodit-progress-bar div:before{animation:a 2s ease-out 0s infinite;border-radius:100%;box-shadow:var(--jd-color-background-progress) 1px 0 6px 1px;content:"";display:inline-block;height:2px;opacity:.6;position:absolute;top:0}.jodit-progress-bar div:before{right:-80px;width:180px;clip:rect(-6px,90px,14px,-6px)}.jodit-progress-bar div:after{right:0;width:20px;clip:rect(-6px,22px,14px,var(--jd-padding-default))}:root{--jd-em-color-border:#b6d4fe;--jd-em-color-bg:#cfe2ff;--jd-em-color-color:#084298;--jd-em-border-radius:0.375rem;--jd-em-padding:0.5rem 1rem;--jd-em-font-size:1rem}.jodit-ui-messages{bottom:0;height:0;overflow:visible;position:absolute;right:0;width:0;z-index:3}.jodit-ui-message{background:var(--jd-em-color-bg);border:1px solid var(--jd-em-color-border);border-radius:var(--jd-em-border-radius);bottom:0;color:var(--jd-em-color-color);cursor:pointer;display:block;font-size:var(--jd-em-font-size);opacity:0;padding:var(--jd-em-padding);position:absolute;right:calc(var(--jd-padding-default)/2);transition:opacity .1s linear,bottom .3s linear,transform .1s ease-out;white-space:pre}.jodit-ui-message_active_true{opacity:1}.jodit-ui-message:active{transform:scale(.76)}.jodit-ui-message_variant_secondary{--jd-em-color-border:#d3d6d8;--jd-em-color-bg:#e2e3e5;--jd-em-color-color:#41464b}.jodit-ui-message_variant_danger,.jodit-ui-message_variant_error,.jodit-ui-message_variant_secondary{background:var(--jd-em-color-bg);border-color:var(--jd-em-color-border);color:var(--jd-em-color-color)}.jodit-ui-message_variant_danger,.jodit-ui-message_variant_error{--jd-em-color-border:#f5c2c7;--jd-em-color-bg:#f8d7da;--jd-em-color-color:#842029}.jodit-ui-message_variant_success{--jd-em-color-border:#badbcc;--jd-em-color-bg:#d1e7dd;--jd-em-color-color:#0f5132;background:var(--jd-em-color-bg);border-color:var(--jd-em-color-border);color:var(--jd-em-color-color)}
1.jodit-toolbar-collection,.jodit-toolbar-editor-collection{display:flex;flex-direction:column}.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-editor-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent calc(var(--jd-button-size) - 1px),var(--jd-color-border) var(--jd-button-size));position:relative}.jodit-toolbar-collection_mode_horizontal:after,.jodit-toolbar-editor-collection_mode_horizontal:after{background-color:var(--jd-color-background-default);bottom:0;content:"";display:block;height:1px;left:0;position:absolute;width:100%}.jodit-toolbar-collection_size_tiny,.jodit-toolbar-editor-collection_size_tiny{--jd-button-icon-size:8px}.jodit-toolbar-collection_size_tiny.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-collection_size_tiny.jodit-toolbar-editor-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_tiny.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_tiny.jodit-toolbar-editor-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 19px,var(--jd-color-border) 20px)}.jodit-toolbar-collection_size_xsmall,.jodit-toolbar-editor-collection_size_xsmall{--jd-button-icon-size:10px}.jodit-toolbar-collection_size_xsmall.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-collection_size_xsmall.jodit-toolbar-editor-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_xsmall.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_xsmall.jodit-toolbar-editor-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 25px,var(--jd-color-border) 26px)}.jodit-toolbar-collection_size_small,.jodit-toolbar-editor-collection_size_small{--jd-button-icon-size:12px}.jodit-toolbar-collection_size_small.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-collection_size_small.jodit-toolbar-editor-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_small.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_small.jodit-toolbar-editor-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 31px,var(--jd-color-border) 32px)}.jodit-toolbar-collection_size_middle,.jodit-toolbar-editor-collection_size_middle{--jd-button-icon-size:14px}
1.jodit-toolbar-collection_size_middle.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-collection_size_middle.jodit-toolbar-editor-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_middle.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_middle.jodit-toolbar-editor-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 37px,var(--jd-color-border) 38px)}.jodit-toolbar-collection_size_large,.jodit-toolbar-editor-collection_size_large{--jd-button-icon-size:16px}.jodit-toolbar-collection_size_large.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-collection_size_large.jodit-toolbar-editor-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_large.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_large.jodit-toolbar-editor-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 43px,var(--jd-color-border) 44px)}.jodit-toolbar-collection_mode_vertical .jodit-ui-group,.jodit-toolbar-editor-collection_mode_vertical .jodit-ui-group{background-color:transparent;border:0;flex-direction:column}.jodit-toolbar-collection_mode_vertical .jodit-toolbar-button,.jodit-toolbar-editor-collection_mode_vertical .jodit-toolbar-button{height:auto;min-height:var(--jd-button-size)}.jodit-toolbar-collection_mode_vertical .jodit-toolbar-button__button,.jodit-toolbar-editor-collection_mode_vertical .jodit-toolbar-button__button{curs
1or:pointer;height:auto;min-height:var(--jd-button-size);width:100%}.jodit-toolbar-collection_mode_vertical .jodit-toolbar-button__text:not(:empty),.jodit-toolbar-editor-collection_mode_vertical .jodit-toolbar-button__text:not(:empty){justify-content:left}.jodit-toolbar-collection .jodit-toolbar-button,.jodit-toolbar-collection .jodit-toolbar-content,.jodit-toolbar-collection .jodit-toolbar-select,.jodit-toolbar-editor-collection .jodit-toolbar-button,.jodit-toolbar-editor-collection .jodit-toolbar-content,.jodit-toolbar-editor-collection .jodit-toolbar-select{margin:var(--jd-margin-v) 1px;padding:0}.jodit-dialog .jodit-toolbar-collection_mode_horizontal,.jodit-dialog .jodit-toolbar-editor-collection_mode_horizontal{background-image:none}:root{--jd-button-trigger-size:14px}.jodit-toolbar-button{align-items:center;border:1px solid transparent;border-radius:var(--jd-border-radius-default);display:flex;height:34px;justify-content:center;min-width:34px;overflow:hidden}.jodit-toolbar-button__icon{display:none}.jodit-toolbar-button__icon:not(:empty){display:inline-flex}.jodit-toolbar-button__text{display:none}.jodit-toolbar-button__text:not(:empty){display:inline-flex;flex-grow:1;font-family:var(--jd-font-default);font-size:var(--jd-font-size-default);justify-content:center;overflow:hidden;text-overflow:ellipsis}.jodit-toolbar-button_context_menu .jodit-toolbar-button__text{justify-content:left;padding-left:var(--jd-padding-default);position:relative}.jodit-toolbar-button_context_menu .jodit-toolbar-button__text:before{border-left:1px solid var(--jd-color-border);content:"";height:35px;left:0;position:absolute;top:calc(var(--jd-padding-default)*-1)}.jodit-toolbar-button__icon:not(:empty)+.jodit-toolbar-button__text:not(:empty){margin-left:var(--jd-padding-default)}.jodit-toolbar-button__icon:empty+.jodit-toolbar-button__text:not(:empty){padding:0 var(--jd-padding-default);padding:0}.jodit-toolbar-button .jodit-icon{height:14px;width:14px}.jodit-toolbar-button button{appearance:none;height:34px;min-width:34px;padding:0}.jodit-toolbar-button_text-icons_true button{padding:0 var(--jd-padding-default)}.jodit-toolbar-button_size_tiny{height:16px;min-width:16px}.jodit-toolbar-button_size_tiny .jodit-icon{height:8px;width:8px}.jodit-toolbar-button_size_tiny button{appearance:none;height:16px;min-width:16px;padding:0}.jodit-toolbar-button_size_tiny_text-icons_true button{padding:0 var(--jd-padding-default)}.jodit-toolbar-button_size_xsmall{height:22px;min-width:22px}.jodit-toolbar-button_size_xsmall .jodit-icon{height:10px;width:10px}.jodit-toolbar-button_size_xsmall button{appearance:none;height:22px;min-width:22px;padding:0}.jodit-toolbar-button_size_xsmall_text-icons_true button{padding:0 var(--jd-padding-default)}.jodit-toolbar-button_size_small{height:28px;min-width:28px}.jodit-toolbar-button_size_small .jodit-icon{height:12px;width:12px}.jodit-toolbar-button_size_small button{appearance:none;height:28px;min-width:28px;padding:0}.jodit-toolbar-button_size_small_text-icons_true button{padding:0 var(--jd-padding-default)}.jodit-toolbar-button_size_large{height:40px;min-width:40px}.jodit-toolbar-button_size_large .jodit-icon{height:16px;width:16px}.jodit-toolbar-button_size_large button{appearance:none;height:40px;min-width:40px;padding:0}.jodit-toolbar-button_size_large_text-icons_true button{padding:0 var(--jd-padding-default)}.jodit-toolbar-button__button{align-items:center;appearance:none;background:0 0;border:0;border-radius:var(--jd-border-radius-default);box-shadow:none;box-sizing:border-box;color:var(--jd-color-text-icons);cursor:pointer;display:inline-flex;font-style:normal;justify-content:center;outline:0;padding:0;padding:0 var(--jd-padding-default);position:relative;text-align:center;text-decoration:none;text-transform:none;user-select:none}.jodit-toolbar-button__button:focus-visible:not([disabled]),.jodit-toolbar-button__button:hover:not([disabled]){background-color:var(--jd-color-button-background-hover);opacity:1;outline:0}.jodit-toolbar-button__button:active:not([disabled]),.jodit-toolbar-button__button[aria-pressed=true]:not([disabled]){background-color:var(--jd-color-button-background-hover-opacity40);outline:0}.jodit-toolbar-button__button[aria-pressed=true]:hover:not([disabled]){background-color:var(--jd-color-button-background-hover-opacity60)}.jodit-toolbar-button__button[disabled]{opacity:.3;pointer-events:none}.jodit-toolbar-button__trigger{align-items:center;border-radius:0 var(--jd-border-radius-default) var(--jd-border-radius-default) 0;
1cursor:pointer;display:flex;height:100%;justify-content:center;opacity:.4;--jd-button-trigger-size:14px;width:calc(var(--jd-button-trigger-size, 14px) + 2px)}.jodit-toolbar-button__trigger:focus-visible:not([disabled]),.jodit-toolbar-button__trigger:hover:not([disabled]){background-color:var(--jd-color-button-background-hover);opacity:1;outline:0}.jodit-toolbar-button__trigger:active:not([disabled]),.jodit-toolbar-button__trigger[aria-pressed=true]:not([disabled]){background-color:var(--jd-color-button-background-hover-opacity40);outline:0}.jodit-toolbar-button__trigger[aria-pressed=true]:hover:not([disabled]){background-color:var(--jd-color-button-background-hover-opacity60)}.jodit-toolbar-button__trigger[disabled]{opacity:.3;pointer-events:none}.jodit-toolbar-button__trigger svg{width:calc(var(--jd-button-trigger-size, 14px) - 4px)}.jodit-toolbar-button_size_tiny .jodit-toolbar-button__trigger{--jd-button-trigger-size:8px;width:calc(var(--jd-button-trigger-size, 8px) + 2px)}.jodit-toolbar-button_size_tiny .jodit-toolbar-button__trigger svg{width:calc(var(--jd-button-trigger-size, 8px) - 4px)}.jodit-toolbar-button_size_xsmall .jodit-toolbar-button__trigger{--jd-button-trigger-size:10px;width:calc(var(--jd-button-trigger-size, 10px) + 2px)}.jodit-toolbar-button_size_xsmall .jodit-toolbar-button__trigger svg{width:calc(var(--jd-button-trigger-size, 10px) - 4px)}.jodit-toolbar-button_size_small .jodit-toolbar-button__trigger{--jd-button-trigger-size:12px;width:calc(var(--jd-button-trigger-size, 12px) + 2px)}.jodit-toolbar-button_size_small .jodit-toolbar-button__trigger svg{width:calc(var(--jd-button-trigger-size, 12px) - 4px)}.jodit-toolbar-button_size_large .jodit-toolbar-button__trigger{--jd-button-trigger-size:16px;width:calc(var(--jd-button-trigger-size, 16px) + 2px)}.jodit-toolbar-button_size_large .jodit-toolbar-button__trigger svg{width:calc(var(--jd-button-trigger-size, 16px) - 4px)}.jodit-toolbar-button_with-trigger_true .jodit-toolbar-button__button{border-radius:var(--jd-border-radius-default) 0 0 var(--jd-border-radius-default)}.jodit-toolbar-button_with-trigger_true:hover:not([disabled]){border-color:var(--jd-color-border)}.jodit-toolbar-button_stroke_false svg{stroke:none}.jodit-toolbar-content{align-items:center;appearance:none;background:0 0;border:1px solid transparent;border-radius:var(--jd-border-radius-default);box-shadow:none;box-sizing:border-box;color:var(--jd-color-text-icons);cursor:pointer;display:inline-flex;font-style:normal;height:34px;justify-content:center;min-width:34px;outline:0;padding:0;position:relative;text-align:center;text-decoration:none;text-transform:none;user-select:none}.jodit-toolbar-content:focus-visible:not([disabled]),.jodit-toolbar-content:hover:not([disabled]){background-color:var(--jd-color-button-background-hover);opacity:1;outline:0}.jodit-toolbar-content:active:not([disabled]),.jodit-toolbar-content[aria-pressed=true]:not([disabled]){background-color:var(--jd-color-button-background-hover-opacity40);outline:0}.jodit-toolbar-content[aria-pressed=true]:hover:not([disabled]){background-color:var(--jd-color-button-background-hover-opacity60)}.jodit-toolbar-content[disabled]{opacity:.3;pointer-events:none}.jodit-toolbar-content .jodit-icon{height:14px;width:14px}.jodit-toolbar-content button{appearance:none;height:34px;min-width:34px;padding:0}.jodit-toolbar-content_text-icons_true button{padding:0 var(--jd-padding-default)}.jodit-toolbar-content_size_tiny{height:16px;min-width:16px}.jodit-toolbar-content_size_tiny .jodit-icon{height:8px;width:8px}.jodit-toolbar-content_size_tiny button{appearance:none;height:16px;min-width:16px;padding:0}.jodit-toolbar-content_size_tiny_text-icons_true button{padding:0 var(--jd-padding-default)}.jodit-toolbar-content_size_xsmall{height:22px;min-width:22px}.jodit-toolbar-content_size_xsmall .jodit-icon{height:10px;width:10px}.jodit-toolbar-content_size_xsmall button{appearance:none;height:22px;min-width:22px;padding:0}.jodit-toolbar-content_size_xsmall_text-icons_true button{padding:0 var(--jd-padding-default)}.jodit-toolbar-content_size_small{height:28px;min-width:28px}.jodit-toolbar-content_size_small .jodit-icon{height:12px;width:12px}.jodit-toolbar-content_size_small button{appearance:none;height:28px;min-width:28px;padding:0}.jodit-toolbar-content_size_small_text-icons_true button{padding:0 var(--jd-padding-default)}.jodit-toolbar-content_size_large{height:40px;min-width:40px}.jodit-toolbar-content_size_large .jodit-icon{height:16px;width:16px}.jodit-toolbar-content_size_large button{appearance:none;height:40px;min-width:40px;padding:0}.jodit-toolbar-content_size_large_text-icons_true button{padding:0 var(--jd-padding-default)}.jodit-toolbar-content__icon{display:none}.jodit-toolbar-content__icon:not(:empty){display:inline-flex}.jodit-toolbar-content__text{display:none}.jodit-toolbar-content__text:not(:empty){display:inline-flex;flex-grow:1;font-family:var(--jd-font-default);font-size:var(--jd-font-size-default);justify-content:center;overflow:hidden;text-overflow:ellipsis}.jodit-toolbar-content_context_menu .jodit-toolbar-content__text{justify-content:left;padding-left:var(--jd-padding-default);position:relative}.jodit-toolbar-content_context_menu .jodit-toolbar-content__text:before{border-left:1px solid var(--jd-color-border);content:"";height:35px;left:0;position:absolute;top:calc(var(--jd-padding-default)*-1)}.jodit-toolbar-content__icon:not(:empty)+.jodit-toolbar-content__text:not(:empty){margin-left:var(--jd-padding-default)}.jodit-toolbar-content__icon:empty+.jodit-toolbar-content__text:not(:empty){padding:0 var(--jd-padding-default)}.jodit-toolbar-content:focus:not([disabled]){outline:1px dashed var(--jd-color-background-selection)}.jodit-toolbar-content_variant_outline{border:1px solid var(--jd-color-border)}.jodit-toolbar-content_variant_default{background-color:#e3e3e3;color:#212529}.jodit-toolbar-content_variant_default svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_default [disabled]{opacity:.7}.jodit-toolbar-content_variant_default:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-toolbar-content_variant_default:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_default:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-toolbar-content_variant_default:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_default:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-toolbar-content_variant_primary{background-color:#007bff;color:#fff}.jodit-toolbar-content_variant_primary svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_primary [disabled]{opacity:.7}.jodit-toolbar-content_variant_primary:hover:not([disabled]){background-color:#0069d9;color:#fff}.jodit-toolbar-content_variant_primary:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_primary:active:not([disabled]){background-color:#0062cc;color:#fff}.jodit-toolbar-content_variant_primary:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_primary:focus:not([disabled]){outline:1px dashed #0062cc}.jodit-toolbar-content_variant_secondary{background-color:#d8d8d8;border-radius:0;color:#212529}.jodit-toolbar-content_variant_secondary svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_secondary [disabled]{opacity:.7}.jodit-toolbar-content_variant_secondary:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-toolbar-content_variant_secondary:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_secondary:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-toolbar-content_variant_secondary:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_secondary:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-toolbar-content_variant_success{background-color:#28a745;color:#fff}.jodit-toolbar-content_variant_success svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_success [disabled]{opacity:.7}.jodit-toolbar-content_variant_success:hover:not([disabled]){background-color:#218838;color:#fff}.jodit-toolbar-content_variant_success:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_success:active:not([disabled]){background-color:#1e7e34;color:#fff}.jodit-toolbar-content_variant_success:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_success:focus:not([disabled]){outline:1px dashed #1e7e34}.jodit-toolbar-content_variant_danger{background-color:#dc3545;color:#fff}.jodit-toolbar-content_variant_danger svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_danger [disabled]{opacity:.7}.jodit-toolbar-content_variant_danger:hover:not([disabled]){background-color:#c82333;color:#fff}.jodit-toolbar-content_variant_danger:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_danger:active:not([disabled]){background-color:#bd2130;color:#fff}.jodit-toolbar-content_variant_danger:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_danger:focus:not([disabled]){outline:1px dashed #bd2130}.jodit-toolbar-content:hover:not([disabled]){background-color:transparent;opacity:1;outline:0}.jodit-toolbar-select{--jd-color-button-background-hover-opacity40:hsla(0,0%,86%,.2);--jd-color-button-background-hover-opacity60:hsla(0,0%,86%,.1);align-items:center;border:1px solid transparent;border-radius:var(--jd-border-radius-default);cursor:pointer;display:flex;height:34px;justify-content:center;justify-content:space-between;min-width:34px;min-width:100px;overflow:hidden}.jodit-toolbar-select__icon{display:none}.jodit-toolbar-select__icon:not(:empty){display:inline-flex}.jodit-toolbar-select__text{display:none}.jodit-toolbar-select__text:not(:empty){display:inline-flex;flex-grow:1;font-family:var(--jd-font-default);font-size:var(--jd-font-size-default);justify-content:center;overflow:hidden;text-overflow:ellipsis}.jodit-toolbar-select_context_menu .jodit-toolbar-select__text{justify-content:left;padding-left:var(--jd-padding-default);position:relative}.jodit-toolbar-select_context_menu .jodit-toolbar-select__text:before{border-left:1px solid var(--jd-color-border);content:"";height:35px;left:0;position:absolute;top:calc(var(--jd-padding-default)*-1)}.jodit-toolbar-select__icon:not(:empty)+.jodit-toolbar-select__text:not(:empty){margin-left:var(--jd-padding-default)}.jodit-toolbar-select__icon:empty+.jodit-toolbar-select__text:not(:empty){padding:0 var(--jd-padding-default);padding:0}.jodit-toolbar-select .jodit-icon{height:14px;width:14px}.jodit-toolbar-select button{appearance:none;height:34px;min-width:34px;padding:0}.jodit-toolbar-select_text-icons_true button{padding:0 var(--jd-padding-default)}.jodit-toolbar-select_size_tiny{height:16px;min-width:16px}.jodit-toolbar-select_size_tiny .jodit-icon{height:8px;width:8px}.jodit-toolbar-select_size_tiny button{appearance:none;height:16px;min-width:16px;padding:0}.jodit-toolbar-select_size_tiny_text-icons_true button{padding:0 var(--jd-padding-default)}.jodit-toolbar-select_size_xsmall{height:22px;min-width:22px}.jodit-toolbar-select_size_xsmall .jodit-icon{height:10px;width:10px}.jodit-toolbar-select_size_xsmall button{appearance:none;height:22px;min-width:22px;padding:0}.jodit-toolbar-select_size_xsmall_text-icons_true button{padding:0 var(--jd-padding-default)}.jodit-toolbar-select_size_small{height:28px;min-width:28px}.jodit-toolbar-select_size_small .jodit-icon{height:12px;width:12px}.jodit-toolbar-select_size_small button{appearance:none;height:28px;min-width:28px;padding:0}.jodit-toolbar-select_size_small_text-icons_true button{padding:0 var(--jd-padding-default)}.jodit-toolbar-select_size_large{height:40px;min-width:40px}.jodit-toolbar-select_size_large .jodit-icon{height:16px;width:16px}.jodit-toolbar-select_size_large button{appearance:none;height:40px;min-width:40px;padding:0}.jodit-toolbar-select_size_large_text-icons_true button{padding:0 var(--jd-padding-default)}.jodit-toolbar-select__button{align-items:center;appearance:none;background:0 0;border:0;border-radius:var(--jd-border-radius-default);box-shadow:none;box-sizing:border-box;color:var(--jd-color-text-icons);
1cursor:pointer;display:inline-flex;font-style:normal;justify-content:center;outline:0;padding:0;padding:0 var(--jd-padding-default);position:relative;text-align:center;text-decoration:none;text-transform:none;user-select:none}.jodit-toolbar-select__button:focus-visible:not([disabled]),.jodit-toolbar-select__button:hover:not([disabled]){background-color:var(--jd-color-button-background-hover);opacity:1;outline:0}.jodit-toolbar-select__button:active:not([disabled]),.jodit-toolbar-select__button[aria-pressed=true]:not([disabled]){background-color:var(--jd-color-button-background-hover-opacity40);outline:0}.jodit-toolbar-select__button[aria-pressed=true]:hover:not([disabled]){background-color:var(--jd-color-button-background-hover-opacity60)}.jodit-toolbar-select__button[disabled]{opacity:.3;pointer-events:none}.jodit-toolbar-select__trigger{align-items:center;border-radius:0 var(--jd-border-radius-default) var(--jd-border-radius-default) 0;cursor:pointer;display:flex;height:100%;justify-content:center;opacity:.4;--jd-button-trigger-size:14px;width:calc(var(--jd-button-trigger-size, 14px) + 2px)}.jodit-toolbar-select__trigger:focus-visible:not([disabled]),.jodit-toolbar-select__trigger:hover:not([disabled]){background-color:var(--jd-color-button-background-hover);opacity:1;outline:0}.jodit-toolbar-select__trigger:active:not([disabled]),.jodit-toolbar-select__trigger[aria-pressed=true]:not([disabled]){background-color:var(--jd-color-button-background-hover-opacity40);outline:0}.jodit-toolbar-select__trigger[aria-pressed=true]:hover:not([disabled]){background-color:var(--jd-color-button-background-hover-opacity60)}.jodit-toolbar-select__trigger[disabled]{opacity:.3;pointer-events:none}.jodit-toolbar-select__trigger svg{width:calc(var(--jd-button-trigger-size, 14px) - 4px)}.jodit-toolbar-select_size_tiny .jodit-toolbar-select__trigger{--jd-button-trigger-size:8px;width:calc(var(--jd-button-trigger-size, 8px) + 2px)}.jodit-toolbar-select_size_tiny .jodit-toolbar-select__trigger svg{width:calc(var(--jd-button-trigger-size, 8px) - 4px)}.jodit-toolbar-select_size_xsmall .jodit-toolbar-select__trigger{--jd-button-trigger-size:10px;width:calc(var(--jd-button-trigger-size, 10px) + 2px)}.jodit-toolbar-select_size_xsmall .jodit-toolbar-select__trigger svg{width:calc(var(--jd-button-trigger-size, 10px) - 4px)}.jodit-toolbar-select_size_small .jodit-toolbar-select__trigger{--jd-button-trigger-size:12px;width:calc(var(--jd-button-trigger-size, 12px) + 2px)}.jodit-toolbar-select_size_small .jodit-toolbar-select__trigger svg{width:calc(var(--jd-button-trigger-size, 12px) - 4px)}.jodit-toolbar-select_size_large .jodit-toolbar-select__trigger{--jd-button-trigger-size:16px;width:calc(var(--jd-button-trigger-size, 16px) + 2px)}.jodit-toolbar-select_size_large .jodit-toolbar-select__trigger svg{width:calc(var(--jd-button-trigger-size, 16px) - 4px)}.jodit-toolbar-select_with-trigger_true .jodit-toolbar-button__button{border-radius:var(--jd-border-radius-default) 0 0 var(--jd-border-radius-default)}.jodit-toolbar-select_with-trigger_true:hover:not([disabled]){border-color:var(--jd-color-border)}.jodit-toolbar-select_stroke_false svg{stroke:none}.jodit-toolbar-select:focus-visible:not([disabled]),.jodit-toolbar-select:hover:not([disabled]){background-color:var(--jd-color-button-background-hover);opacity:1;outline:0}.jodit-toolbar-select:active:not([disabled]),.jodit-toolbar-select[aria-pressed=true]:not([disabled]){background-color:var(--jd-color-button-background-hover-opacity40);outline:0}.jodit-toolbar-select[aria-pressed=true]:hover:not([disabled]){background-color:var(--jd-color-button-background-hover-opacity60)}.jodit-toolbar-select[disabled]{opacity:.3;pointer-events:none}.jodit-toolbar-select__text:not(:empty){justify-content:left}.jodit-toolbar-select__button{flex:1}.jodit-toolbar__box:not(:empty){--jd-color-background-default:var(--jd-color-panel);background-color:var(--jd-color-background-default);border-bottom:1px solid var(--jd-color-border);border-radius:var(--jd-border-radius-default) var(--jd-border-radius-default) 0 0;overflow:hidden}.jodit-toolbar__box:not(:empty) .jodit-toolbar-editor-collection:after{background-color:var(--jd-color-panel)}.jodit-dialog{border:0;box-sizing:border-box;display:none;font-family:var(--jd-font-default);font-size:var(--jd-font-size-default);height:0;position:absolute;width:0;will-change:left,top,width,height}.jodit-dialog_moved_true{user-select:none}.jodit-dialog *{box-sizing:border-box}.jodit-dialog .jodit_elfinder,.jodit-dialog .jodit_elfinder *{box-sizing:initial}.jodit-dialog__overlay{background-color:rgba(0,0,0,.5);display:none;height:100%;left:0;overflow:auto;position:fixed;text-align:center;top:0;white-space:nowrap;width:100%;z-index:var(--jd-z-index-dialog-overlay)}.jodit-dialog_static_true .jodit-dialog__overlay{display:none}.jodit-dialog_active_true,.jodit-dialog_modal_true .jodit-dialog__overlay{display:block}.jodit-dialog__panel{background-color:#fff;display:flex;flex-flow:column nowrap;left:0;max-height:100%;max-width:100%;min-height:100px;
1min-width:200px;position:fixed;top:0;z-index:var(--jd-z-index-dialog);--jd-box-shadow-blur:calc(var(--jd-padding-default)*2);--jd-box-shadow-1:0 var(--jd-padding-default) var(--jd-box-shadow-blur) rgba(0,0,0,.19);box-shadow:var(--jd-box-shadow-1),0 6px 6px rgba(0,0,0,.23);text-align:left;white-space:normal}@media (max-width:480px){.jodit-dialog:not(.jodit-dialog_adaptive_false) .jodit-dialog__panel{height:100%!important;left:0!important;max-width:100%;top:0!important;width:100%!important}}.jodit-dialog_static_true{box-sizing:border-box;display:block;height:auto;position:relative;width:auto;z-index:inherit}.jodit-dialog_static_true .jodit-dialog__panel{border:1px solid var(--jd-color-border);box-shadow:none;left:auto!important;position:relative;top:auto!important;width:100%!important;z-index:inherit}.jodit-dialog_theme_dark,.jodit-dialog_theme_dark .jodit-dialog__panel{background-color:var(--jd-dark-background-darknes);color:var(--jd-dark-text-color)}.jodit-dialog__header{border-bottom:1px solid var(--jd-color-border);cursor:move;display:flex;justify-content:space-between;min-height:50px;text-align:left}.jodit-dialog__header-title,.jodit-dialog__header-toolbar{align-items:center;display:flex;flex-shrink:3;font-size:18px;font-weight:400;line-height:48px;margin:0;padding:0 var(--jd-padding-default);vertical-align:top}@media (max-width:480px){.jodit-dialog__header-toolbar{padding-left:0}}.jodit-dialog__header-button{color:#222;flex-basis:48px;font-size:28px;height:48px;line-height:48px;text-align:center;text-decoration:none;transition:background-color .2s ease 0s}.jodit-dialog__header-button:hover{background-color:var(--jd-color-background-button-hover)}.jodit-dialog__header .jodit_toolbar{background:transparent;border:0;box-shadow:none}.jodit-dialog__header .jodit_toolbar>li.jodit-toolbar-button .jodit-input{padding-left:var(--jd-padding-default);width:auto}@media (max-width:480px){.jodit-dialog:not(.jodit-dialog_adaptive_false) .jodit-dialog__header{flex-direction:column}}.jodit-dialog_slim_true .jodit-dialog__header{min-height:10px}.jodit-dialog_slim_true .jodit-dialog__header-title,.jodit-dialog_slim_true .jodit-dialog__header-toolbar{padding:0 calc(var(--jd-padding-default)/4)}.jodit-dialog_theme_dark .jodit-dialog__header{border-color:var(--jd-color-dark)}.jodit-dialog_fullsize_true .jodit-dialog__header{cursor:default}.jodit-dialog__content{flex:1;min-height:100px;overflow:auto}.jodit-dialog__content .jodit-form__group{margin-bottom:calc(var(--jd-padding-default)*1.5);padding:0 var(--jd-padding-default)}.jodit-dialog__content .jodit-form__group:first-child{margin-top:var(--jd-padding-default)}.jodit-dialog__content .jodit-form__group .jodit-input_group{border-collapse:separate;display:table;width:100%}.jodit-dialog__content .jodit-form__group .jodit-input_group>*{display:table-cell;height:34px;vertical-align:middle}.jodit-dialog__content .jodit-form__group .jodit-input_group>input{margin:0!important}.jodit-dialog__content .jodit-form__group .jodit-input_group>input:not([class*=col-]){width:100%}.jodit-dialog__content .jodit-form__group .jodit-input_group-buttons{font-size:0;vertical-align:middle;white-space:nowrap;width:1%}.jodit-dialog__content .jodit-form__group .jodit-input_group-buttons>.jodit-button{border:1px solid var(--jd-color-border);border-radius:0;height:34px;line-height:34px;margin-left:-1px}.jodit-dialog__footer{display:none;flex-wrap:nowrap;justify-content:space-between;padding:var(--jd-padding-default)}.jodit-dialog__footer button{margin-right:calc(var(--jd-padding-default)/2)}.jodit-dialog__footer button:last-child{margin-right:0}.jodit-dialog__column{display:flex}.jodit-dialog__resizer{display:none;position:relative}.jodit-dialog__resizer svg{bottom:0;cursor:nwse-resize;height:12px;overflow:hidden;position:absolute;right:0;width:12px;fill:var(--jd-color-gray-dark);user-select:none}.jodit-dialog_resizable_true .jodit-dialog__resizer{display:block}@media (max-width:480px){.jodit-dialog__resizer{display:none}}.jodit-dialog_prompt{max-width:300px;
1min-width:200px;padding:var(--jd-padding-default);word-break:break-all}.jodit-dialog_prompt label{display:block;margin-bottom:calc(var(--jd-padding-default)/2)}.jodit-dialog_alert{max-width:300px;min-width:200px;padding:var(--jd-padding-default);word-break:break-all}.jodit-dialog_footer_true .jodit-dialog__footer{display:flex}.jodit_fullsize .jodit-dialog__panel{height:100%!important;inset:0!important;width:100%!important}.jodit_fullsize .jodit-dialog__panel .jodit-dialog__resizer{display:none}.jodit-dialog .jodit-ui-messages{z-index:var(--jd-z-index-dialog)}.jodit-context-menu{background:0 0;border:0;box-shadow:var(--jd-popup-box-shadow);display:inline-block;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;position:fixed;transform:translateZ(0);width:auto;z-index:var(--jd-z-index-popup);z-index:var(--jd-z-index-context-menu)}.jodit-context-menu,.jodit-context-menu__content{font-family:var(--jd-font-default);font-size:var(--jd-font-size-default)}.jodit-context-menu__content{background:var(--jd-color-background-default);max-height:var(--jd-popup-max-height,400px);overflow:auto;padding:var(--jd-padding-default);overflow-scrolling:touch}.jodit-context-menu_padding_false .jodit-context-menu__content{padding:0}.jodit-context-menu_max-height_false .jodit-context-menu__content{max-height:fit-content}.jodit-context-menu .jodit-ui-button{display:flex}.jodit-context-menu button{width:100%}.jodit-context-menu_theme_dark{background-color:var(--jd-dark-background-color)}:root{--jd-image-editor-resizer-border-color:#05ff00;--jd-image-editor-resizer-target-size:padding-default;--jd-image-editor-resizer-target-border-color:#383838;--jd-image-editor-resizer-target-bg-color:#8c7878}.jodit-image-editor{height:100%;overflow:hidden;padding:var(--jd-padding-default);width:100%}@media (max-width:768px){.jodit-image-editor{height:auto}}.jodit-image-editor>div,.jodit-image-editor>div>div{height:100%}@media (max-width:768px){.jodit-image-editor>div,.jodit-image-editor>div>div{height:auto;min-height:200px}}.jodit-image-editor *{box-sizing:border-box}.jodit-image-editor .jodit-image-editor__slider-title{background-color:#f9f9f9;border-bottom:1px solid hsla(0,0%,62%,.31);color:#333;cursor:pointer;font-weight:700;line-height:1em;padding:.8em 1em;text-overflow:ellipsis;text-shadow:#f3f3f3 0 1px 0;user-select:none;white-space:nowrap}.jodit-image-editor .jodit-image-editor__slider-title svg{display:inline-block;margin-right:var(--jd-padding-default);vertical-align:middle;width:16px}.jodit-image-editor .jodit-image-editor__slider-content{display:none}.jodit-image-editor .jodit-image-editor__slider.jodit-image-editor_active .jodit-image-editor__slider-title{background-color:#5d5d5d;color:#fff;text-shadow:#000 0 1px 0}.jodit-image-editor .jodit-image-editor__slider.jodit-image-editor_active .jodit-image-editor__slider-title svg{fill:#fff}.jodit-image-editor .jodit-image-editor__slider.jodit-image-editor_active .jodit-image-editor__slider-content{display:block}.jodit-image-editor__area{background-color:#eee;background-image:linear-gradient(45deg,var(--jd-color-border) 25%,transparent 25%,transparent 75%,var(--jd-color-border) 75%,var(--jd-color-border)),linear-gradient(45deg,var(--jd-color-border) 25%,transparent 25%,transparent 75%,var(--jd-color-border) 75%,var(--jd-color-border));background-position:0 0,15px 15px;background-size:30px 30px;display:none;height:100%;overflow:hidden;position:relative;user-select:none;width:100%}.jodit-image-editor__area.jodit-image-editor_active{display:block}.jodit-image-editor__area .jodit-image-editor__box{height:100%;overflow:hidden;pointer-events:none;position:relative;z-index:1}.jodit-image-editor__area .jodit-image-editor__box img{max-height:100%;max-width:100%;user-select:none}.jodit-image-editor__area .jodit-image-editor__croper,.jodit-image-editor__area .jodit-image-editor__resizer{background-repeat:no-repeat;border:1px solid #fff;box-shadow:0 0 11px #000;height:100px;left:20px;pointer-events:none;position:absolute;top:var(--jd-padding-default);width:100px;z-index:2}.jodit-image-editor__area .jodit-image-editor__croper i.jodit_bottomright,.jodit-image-editor__area .jodit-image-editor__resizer i.jodit_bottomright{background-color:var(--jd-image-editor-resizer-target-bg-color);border:1px solid var(--jd-image-editor-resizer-target-border-color);border-radius:50%;bottom:calc(var(--jd-padding-default)*-1);box-shadow:0 0 11px #000;cursor:se-resize;display:inline-block;height:20px;pointer-events:all;position:absolute;right:calc(var(--jd-padding-default)*-1);width:20px;z-index:4}.jodit-image-editor__area .jodit-image-editor__croper i.jodit_bottomright:active,.jodit-image-editor__area .jodit-image-editor__resizer i.jodit_bottomright:active{border:1px solid #ff0}.jodit-image-editor__area.jodit-image-editor__area_crop{background:#eee;height:100%;line-height:100%;position:relative;text-align:center}.jodit-image-editor__area.jodit-image-editor__area_crop .jodit-image-editor__box{height:100%;line-height:100%;overflow:visible;pointer-events:all;text-align:left}.jodit-image-editor__area.jodit-image-editor__area_crop .jodit-image-editor__box img{height:100%;max-height:100%;max-width:100%;width:100%}.jodit-image-editor__area.jodit-image-editor__area_crop .jodit-image-editor__box:after{background:hsla(0,0%,100%,.3);content:"";inset:0;margin:auto;position:absolute;z-index:1}.jodit-image-editor__area.jodit-image-editor__area_crop .jodit-image-editor__box .jodit-image-editor__croper{cursor:move;pointer-events:all}.jodit-image-editor__area.jodit-image-editor__area_crop .jodit-image-editor__box .jodit-image-editor__croper i.jodit-image-editor__sizes{background:rgba(0,0,0,.2);border-radius:.4em;bottom:-30px;color:#fff;display:block;font-size:12px;left:100%;padding:9px 6px;position:absolute;text-align:center;text-shadow:none;white-space:pre}.jodit-image-editor__area.jodit-image-editor__area_crop.jodit-image-editor_active{align-items:center;display:flex;justify-content:center}.jodit-file-browser-files{display:none;height:100%;overflow-anchor:auto;position:relative;vertical-align:top}.jodit-file-browser-files .jodit-button{border-radius:0}.jodit-file-browser-files_loading_true:before{content:"";height:100%;left:0;position:absolute;top:0;width:100%}.jodit-file-browser-files_loading_true:after{animation:b 2s ease-out 0s infinite;background:url(').concat(h,') no-repeat 50%;background-size:100% 100%;content:"";display:inline-block;height:var(--jd-icon-loader-size);left:50%;margin-left:calc(var(--jd-icon-loader-size)/-2);margin-top:calc(var(--jd-icon-loader-size)/-2);opacity:.7;position:absolute;top:50%;vertical-align:middle;width:var(--jd-icon-loader-size);will-change:transform}.jodit-file-browser-files::-webkit-scrollbar{width:calc(var(--jd-padding-default)/2)}.jodit-file-browser-files::-webkit-scrollbar-track{box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.jodit-file-browser-files::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #708090}.jodit-file-browser-files_active_true{align-content:flex-start;display:flex;flex-wrap:wrap;overflow-y:auto;padding:calc(var(--jd-padding-default)/2);width:100%}.jodit-file-browser-files__item{align-items:center;border:1px solid var(--jd-color-border);display:flex;font-size:0;height:var(--jd-col-size);justify-content:center;margin:calc(var(--jd-padding-default)/2);overflow:hidden;position:relative;text-align:center;transition:border .1s linear,bottom .1s linear;width:var(--jd-col-size)}@media (max-width:480px){.jodit-file-browser-files__item{width:calc(50% - var(--jd-padding-default))}}.jodit-file-browser-files__item img{max-width:100%}.jodit-file-browser-files__item:hover{border-color:#433b5c}.jodit-file-browser-files__item_active_true{background-color:var(--jd-color-border-active);border-color:var(--jd-color-border-selected)}.jodit-file-browser-files__item_active_true .jodit-file-browser-files__item-info{background-color:var(--jd-color-border-active);color:#fff;text-shadow:none}.jodit-file-browser-files__item-info{background-color:var(--jd-info-background);bottom:0;color:#333;font-size:14px;left:0;line-height:16px;opacity:.85;overflow:visible;padding:.3em .6em;position:absolute;right:0;text-align:left;text-shadow:#eee 0 1px 0;transition:opacity .4s ease;white-space:normal}.jodit-file-browser-files__item-info>span{display:block;font-size:.75em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jodit-file-browser-files__item-info>span.jodit-file-browser-files__item-info-filename{font-size:.9em;font-weight:700}.jodit-file-browser-files__item:hover:not(.jodit-file-browser-files__item_active_true) .jodit-file-browser-files__item-info{bottom:-100px}.jodit-file-browser-files_view_list{scroll-behavior:smooth}.jodit-file-browser-files_view_list a{border-width:0 0 1px;display:block;height:26px;line-height:26px;margin:0;text-align:left;white-space:nowrap;width:100%}.jodit-file-browser-files_view_list a img{display:inline-block;margin-left:4px;max-width:16px;min-width:16px;vertical-align:middle}.jodit-file-browser-files_view_list a .jodit-file-browser-files__item-info{background-color:transparent;display:inline-block;font-size:0;height:100%;line-height:inherit;margin-left:4px;padding:0;position:static;vertical-align:middle;width:calc(100% - 20px)}.jodit-file-browser-files_view_list a .jodit-file-browser-files__item-info>span{display:inline-block;font-size:12px;height:100%}.jodit-file-browser-files_view_list a .jodit-file-browser-files__item-info-filename{width:50%}.jodit-file-browser-files_view_list a .jodit-file-browser-files__item-info-filechanged,.jodit-file-browser-files_view_list a .jodit-file-browser-files__item-info-filesize{width:25%}.jodit-file-browser-files_view_list a:hover{background-color:#433b5c}.jodit-file-browser-files_view_list a:hover .jodit-file-browser-files__item-info{color:#fff;text-shadow:none}.jodit-file-browser-files_view_list a:before{content:"";display:inline-block;height:100%;vertical-align:middle}:root{--jd-color-folder-title:#b1b1b1}.jodit-file-browser-tree{--jd-color-background-filebrowser-folders:#3f3f3f;display:none;height:100%;overflow-anchor:auto;position:relative;vertical-align:top}.jodit-file-browser-tree .jodit-button{border-radius:0}.jodit-file-browser-tree_loading_true:before{content:"";height:100%;left:0;position:absolute;top:0;width:100%}.jodit-file-browser-tree_loading_true:after{animation:b 2s ease-out 0s infinite;background:url(').concat(h,') no-repeat 50%;background-size:100% 100%;content:"";display:inline-block;height:var(--jd-icon-loader-size);left:50%;margin-left:calc(var(--jd-icon-loader-size)/-2);margin-top:calc(var(--jd-icon-loader-size)/-2);opacity:.7;position:absolute;top:50%;vertical-align:middle;width:var(--jd-icon-loader-size);will-change:transform}.jodit-file-browser-tree::-webkit-scrollbar{width:calc(var(--jd-padding-default)/2)}.jodit-file-browser-tree::-webkit-scrollbar-track{box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.jodit-file-browser-tree::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #708090}.jodit-file-browser-tree_active_true{background-color:var(--jd-color-background-filebrowser-folders);display:flex;flex-direction:column;max-width:290px;
1min-width:200px;overflow-y:auto;width:var(--jd-first-column);z-index:2}@media (max-width:480px){.jodit-file-browser-tree_active_true{height:100px;max-width:100%;width:auto}}.jodit-file-browser-tree_active_true::-webkit-scrollbar{width:calc(var(--jd-padding-default)/2)}.jodit-file-browser-tree_active_true::-webkit-scrollbar-track{box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.jodit-file-browser-tree_active_true::-webkit-scrollbar-thumb{background-color:hsla(0,0%,50%,.5);outline:1px solid #708090}.jodit-file-browser-tree__item{align-items:center;border-bottom:1px solid #474747;color:var(--jd-color-folder-title);display:flex;justify-content:space-between;min-height:38px;padding:calc(var(--jd-padding-default)/2) var(--jd-padding-default);position:relative;text-decoration:none;transition:background-color .2s ease 0s;word-break:break-all}.jodit-file-browser-tree__item-title{color:var(--jd-color-folder-title);flex:1}.jodit-file-browser-tree__item .jodit-icon_folder{align-items:center;display:flex;height:calc(var(--jd-icon-size) + 4px);justify-content:center;margin-left:calc(var(--jd-padding-default)/2);opacity:.3;width:calc(var(--jd-icon-size) + 4px)}.jodit-file-browser-tree__item .jodit-icon_folder svg{height:var(--jd-icon-size);width:var(--jd-icon-size);fill:var(--jd-color-folder-title)!important;stroke:var(--jd-color-folder-title)!important}.jodit-file-browser-tree__item .jodit-icon_folder:hover{background:#696969}.jodit-file-browser-tree__item:hover{background-color:var(--jd-color-background-button-hover)}.jodit-file-browser-tree__item:hover-title{color:var(--jd-color-text)}.jodit-file-browser-tree__item:hover i.jodit-icon_folder{opacity:.6}.jodit-file-browser-tree__source-title{background:#5a5a5a;border-bottom:1px solid #484848;color:#969696;display:block;font-size:12px;padding:2px 4px;position:relative;user-select:none;word-break:break-all}a+.jodit-file-browser-tree__source-title{margin-top:var(--jd-padding-default)}:root{--jd-first-column:31%;--jd-cols:4;--jd-info-background:#e9e9e9;--jd-icon-size:12px;--jd-col-size:150px}.jodit-file-browser{display:flex;font-family:var(--jd-font-default);height:100%}.jodit-file-browser_no-files_true{padding:var(--jd-padding-default)}@media (max-width:480px){.jodit-file-browser{flex-flow:column-reverse}}.jodit-dialog .jodit-dialog__header-title.jodit-file-browser__title-box{align-items:center;display:flex;padding-left:var(--jd-padding-default)}.jodit-file-browser-preview{align-items:center;display:flex;height:100%;justify-content:center;margin:auto;max-height:100%;max-width:min(100%,1000px);min-height:min(100%,500px);min-width:400px;position:relative;text-align:center}@media (max-width:768px){.jodit-file-browser-preview{height:100%;max-height:100%;max-width:100%;min-height:auto;min-width:auto}}.jodit-file-browser-preview__box{align-items:center;display:flex;flex-grow:1;justify-content:center}.jodit-file-browser-preview__navigation{cursor:pointer;height:100%;left:0;position:absolute;top:0}.jodit-file-browser-preview__navigation_arrow_next{left:auto;right:0}.jodit-file-browser-preview__navigation svg{height:45px;position:relative;top:50%;width:45px;fill:#9e9ba7;transform:translateY(-50%);transition:fill .3s linear}.jodit-file-browser-preview__navigation:hover svg{fill:#000}.jodit-file-browser-preview img{max-height:100%;max-width:100%}.jodit-status-bar{align-items:center;background-color:var(--jd-color-panel);border-radius:0 0 var(--jd-border-radius-default) var(--jd-border-radius-default);color:var(--jd-color-text-icons);display:flex;font-size:var(--jd-font-size-small);height:20px;justify-content:flex-start;overflow:hidden;padding:0 calc(var(--jd-padding-default)/2);text-transform:uppercase}.jodit-status-bar_resize-handle_true{padding-right:14px}.jodit-status-bar:before{content:"";flex:auto;order:1}.jodit-status-bar .jodit-status-bar__item{line-height:1.5714em;margin:0 var(--jd-padding-default) 0 0;order:0;padding:0}.jodit-status-bar .jodit-status-bar__item,.jodit-status-bar .jodit-status-bar__item>span{font-family:var(--jd-font-default);font-size:var(--jd-font-size-default);font-size:var(--jd-font-size-small)}.jodit-status-bar .jodit-status-bar__item.jodit-status-bar__item-right{margin:0 0 0 var(--jd-padding-default);order:2}.jodit-status-bar .jodit-status-bar__item a{border-radius:3px;
1cursor:default;text-decoration:none}.jodit-status-bar .jodit-status-bar__item a:hover{background-color:var(--jd-color-background-gray);text-decoration:none}.jodit-status-bar a.jodit-status-bar-link{cursor:pointer}.jodit-status-bar a.jodit-status-bar-link,.jodit-status-bar a.jodit-status-bar-link:hover,.jodit-status-bar a.jodit-status-bar-link:visited{background-color:transparent;color:var(--jd-color-text-icons)}.jodit-status-bar a.jodit-status-bar-link:hover{text-decoration:underline}.jodit-workplace+.jodit-status-bar:not(:empty){border-top:1px solid var(--jd-color-border)}.jodit_disabled .jodit-status-bar{opacity:.4}.jodit-drag-and-drop__file-box,.jodit_uploadfile_button{border:1px dashed var(--jd-color-gray);margin:var(--jd-padding-default) 0;overflow:hidden;padding:25px 0;position:relative;text-align:center;width:100%}.jodit-drag-and-drop__file-box:hover,.jodit_uploadfile_button:hover{background-color:var(--jd-color-background-button-hover)}.jodit-drag-and-drop__file-box input,.jodit_uploadfile_button input{cursor:pointer;font-size:400px;inset:0;margin:0;opacity:0;padding:0;position:absolute}@media (max-width:768px){.jodit-drag-and-drop__file-box{max-width:100%;min-width:var(--jd-width-input-min);width:auto}}.jodit-about{padding:20px}.jodit-about a{color:#459ce7;text-decoration:none}.jodit-about a:focus,.jodit-about a:hover{color:#23527c;outline:0;text-decoration:underline}.jodit-about div{margin-bottom:calc(var(--jd-padding-default)/2)}:root{--jd-anl-color-new-line:var(--jd-color-border);--jd-anl-handle-size:20px;--jd-anl-handle-offset:calc(100% - var(--jd-anl-handle-size))}.jodit-add-new-line{display:block;height:1px;outline:none;position:fixed;top:0;z-index:1}.jodit-add-new-line,.jodit-add-new-line *{box-sizing:border-box}.jodit-add-new-line:after{background-color:var(--jd-anl-color-new-line);content:"";display:block;height:1px;width:100%}.jodit-add-new-line span{align-items:center;background:var(--jd-color-background-button-hover-opacity30);border:1px solid var(--jd-anl-color-new-line);cursor:pointer;display:flex;height:var(--jd-anl-handle-size);justify-content:center;left:var(--jd-anl-handle-offset);position:absolute;top:0;transform:translateY(-50%);width:var(--jd-anl-handle-size)}.jodit-add-new-line span:hover{background:var(--jd-color-background-button-hover)}.jodit-add-new-line svg{width:calc(var(--jd-anl-handle-size)/2);fill:var(--jd-anl-color-new-line)}.jodit-source__mode .jodit-add-new-line{display:none!important}:root{--jd-color-picker-cell-size:24px}.jodit-color-picker{margin:0;text-align:left;user-select:none}.jodit-color-picker__group{display:flex;flex-wrap:wrap;margin-bottom:calc(var(--jd-padding-default)/2);max-width:calc(var(--jd-color-picker-cell-size)*10);white-space:normal}.jodit-color-picker__color-item{border:1px solid transparent;display:block;height:var(--jd-color-picker-cell-size);text-align:center;text-decoration:none;vertical-align:middle;width:var(--jd-color-picker-cell-size)}.jodit-color-picker__color-item:hover{border-color:#000}.jodit-color-picker__color-item:active,.jodit-color-picker__color-item_active_true{border:2px solid var(--jd-color-border-selected)}.jodit-color-picker__native svg{display:inline-block;height:16px;margin-right:4px;width:16px}.jodit-color-picker__native input{appearance:none;border:none;height:18px;padding:0;width:18px}.jodit-color-picker__native input[type=color]::-webkit-color-swatch-wrapper{padding:0}.jodit-color-picker__native input input[type=color]::-webkit-color-swatch{border:none}.jodit-tabs{--jd-box-shadow-tabs:0 0 #0000,0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);font-family:var(--jd-font-default);font-size:var(--jd-font-size-default)}.jodit-tabs .jodit-tabs__buttons{background-color:var(--jd-color-background-light-gray);border-radius:var(--jd-border-radius-default);display:flex;justify-content:center;margin-bottom:var(--jd-padding-default);margin-top:calc(var(--jd-padding-default)/2);padding:calc(var(--jd-padding-default)/2)}.jodit-tabs .jodit-tabs__buttons .jodit-ui-button{color:var(--jd-color-placeholder)}
1.jodit-tabs .jodit-tabs__buttons .jodit-ui-button svg{fill:var(--jd-color-placeholder)}.jodit-tabs .jodit-tabs__buttons .jodit-ui-button:active:not([disabled]),.jodit-tabs .jodit-tabs__buttons .jodit-ui-button[aria-pressed=true]:not([disabled]){box-shadow:var(--jd-box-shadow-tabs);color:var(--jd-color-text-icons)}.jodit-tabs .jodit-tabs__buttons .jodit-ui-button:active:not([disabled]),.jodit-tabs .jodit-tabs__buttons .jodit-ui-button:active:not([disabled]) .jodit-ui-button__text,.jodit-tabs .jodit-tabs__buttons .jodit-ui-button[aria-pressed=true]:not([disabled]),.jodit-tabs .jodit-tabs__buttons .jodit-ui-button[aria-pressed=true]:not([disabled]) .jodit-ui-button__text{background-color:var(--jd-color-background-default)}.jodit-tabs .jodit-tabs__buttons .jodit-ui-button:active:not([disabled]) svg,.jodit-tabs .jodit-tabs__buttons .jodit-ui-button[aria-pressed=true]:not([disabled]) svg{fill:var(--jd-color-text-icons)}.jodit-tabs .jodit-tabs__buttons>*{cursor:pointer;margin-left:calc(var(--jd-padding-default)/2)}.jodit-tabs .jodit-tabs__buttons>:only-of-type{width:100%}.jodit-tabs .jodit-tabs__buttons>:first-child{margin-left:0}@media (max-width:480px){.jodit-tabs .jodit-tabs__buttons{display:block}.jodit-tabs .jodit-tabs__buttons>*{margin-left:0;width:100%}}.jodit-tabs__button{max-width:210px;min-width:80px}.jodit-tabs__button .jodit-ui-button__text{flex:1;justify-content:space-around;white-space:nowrap}.jodit-tabs__button_columns_3{width:33.33333%}.jodit-tabs__button_columns_2{width:50%}.jodit-tabs .jodit-tabs__wrapper .jodit-tab{display:none}.jodit-tabs .jodit-tabs__wrapper .jodit-tab.jodit-tab_active{display:block}.jodit-tabs .jodit-tabs__wrapper .jodit-tab.jodit-tab_empty{min-height:100px;min-width:220px}.jodit-dialog_theme_dark .jodit-tabs .jodit-tabs__buttons,.jodit_theme_dark .jodit-tabs .jodit-tabs__buttons{background-color:var(--jd-dark-background-color);border-radius:var(--jd-border-radius-default)}.jodit-dialog_theme_dark .jodit-tabs .jodit-tabs__buttons .jodit-ui-button:active:not([disabled]) .jodit-ui-button__text,.jodit-dialog_theme_dark .jodit-tabs .jodit-tabs__buttons .jodit-ui-button[aria-pressed=true]:not([disabled]) .jodit-ui-button__text,.jodit_theme_dark .jodit-tabs .jodit-tabs__buttons .jodit-ui-button:active:not([disabled]) .jodit-ui-button__text,.jodit_theme_dark .jodit-tabs .jodit-tabs__buttons .jodit-ui-button[aria-pressed=true]:not([disabled]) .jodit-ui-button__text{color:var(--jd-dark-toolbar-color)}.jodit-dialog_theme_dark .jodit-tabs .jodit-tabs__buttons .jodit-ui-button:active:not([disabled]) svg,.jodit-dialog_theme_dark .jodit-tabs .jodit-tabs__buttons .jodit-ui-button[aria-pressed=true]:not([disabled]) svg,.jodit_theme_dark .jodit-tabs .jodit-tabs__buttons .jodit-ui-button:active:not([disabled]) svg,.jodit_theme_dark .jodit-tabs .jodit-tabs__buttons .jodit-ui-button[aria-pressed=true]:not([disabled]) svg{fill:var(--jd-color-text-icons)}.jodit_fullsize-box_true{overflow:visible!important;position:static!important;z-index:var(--jd-z-index-full-size)!important}body.jodit_fullsize-box_true,html.jodit_fullsize-box_true{height:0!important;overflow:hidden!important;width:0!important}html.jodit_fullsize-box_true{position:fixed!important}.jodit_fullsize{inset:0;max-width:none!important;position:absolute;z-index:var(--jd-z-index-full-size)}.jodit_fullsize .toolbar{width:100%!important}.jodit_fullsize .jodit__area,.jodit_fullsize .jodit_editor{height:100%}.jodit-ui-image-position-tab__lockMargin>svg,.jodit-ui-image-position-tab__lockSize>svg,.jodit-ui-image-properties-form__lockMargin>svg,.jodit-ui-image-properties-form__lockSize>svg{display:inline-block;height:var(--jd-icon-middle-size);overflow:hidden;width:var(--jd-icon-middle-size);fill:var(--jd-color-dark);line-height:var(--jd-icon-middle-size);transform-origin:0 0!important;vertical-align:middle}.jodit-ui-image-position-tab__view-box,.jodit-ui-image-properties-form__view-box{padding:var(--jd-padding-default)}.jodit-ui-image-position-tab__imageView,.jodit-ui-image-properties-form__imageView{align-items:center;background-color:var(--jd-color-background-light-gray);display:flex;height:var(--jd-width-default);justify-content:center;margin:0 0 var(--jd-padding-default);padding:0}.jodit-ui-image-position-tab__imageView img,.jodit-ui-image-properties-form__imageView img{max-height:100%;max-width:100%}.jodit-ui-image-position-tab__imageSizes.jodit-form__group,.jodit-ui-image-properties-form__imageSizes.jodit-form__group{align-items:center;flex-direction:row;margin:0;min-width:auto;padding:0}.jodit-ui-image-position-tab__imageSizes.jodit-form__group a,.jodit-ui-image-properties-form__imageSizes.jodit-form__group a{curs
1or:pointer;display:inline-block}.jodit-ui-image-position-tab .jodit-form__group,.jodit-ui-image-properties-form .jodit-form__group{padding:0}.jodit-ui-image-position-tab__tabsBox,.jodit-ui-image-properties-form__tabsBox{padding:0 var(--jd-padding-default)}.jodit-dialog_theme_dark .jodit-ui-image-properties-form__imageView,.jodit_theme_dark .jodit-ui-image-properties-form__imageView{background-color:var(--jd-dark-background-color)}.jodit-ui-image-properties-form_lock_true:before{background-color:var(--jd-color-button-background-hover-opacity60);content:"";height:100%;left:0;position:absolute;top:0;width:100%;z-index:3}.jodit-ui-image-properties-form_lock_true:after{animation:b 2s ease-out 0s infinite;background:url(').concat(h,') no-repeat 50%;background-size:100% 100%;background-size:var(--jd-icon-loader-size);content:"";display:inline-block;height:var(--jd-icon-loader-size);left:50%;margin-left:-10px;margin-top:-10px;position:absolute;top:50%;vertical-align:middle;width:var(--jd-icon-loader-size);will-change:transform}.jodit-popup-inline__container{min-width:700px;z-index:1300}.jodit-paste-storage{max-width:600px;padding:var(--jd-padding-default)}@media (max-width:768px){.jodit-paste-storage{max-width:100%}}.jodit-paste-storage>div{border:1px solid var(--jd-color-border);max-height:300px;max-width:100%}.jodit-paste-storage>div:first-child{margin-bottom:var(--jd-padding-default)}.jodit-paste-storage>div:first-child a{border:1px solid transparent;box-sizing:border-box;color:var(--jd-color-default);display:block;margin:0;max-width:100%;outline:none;overflow:hidden;padding:calc(var(--jd-padding-default)/2);text-decoration:none;text-overflow:ellipsis;white-space:pre}.jodit-paste-storage>div:first-child a.jodit_active{background-color:var(--jd-dark-background-color);color:var(--jd-color-white)}.jodit-paste-storage>div:first-child a:focus{outline:none}.jodit-paste-storage>div:last-child{overflow:auto;padding:var(--jd-padding-default)}.jodit-paste-storage>div:last-child li,.jodit-paste-storage>div:last-child ul{margin:0}.jodit-placeholder{color:var(--jd-color-placeholder);display:block;left:0;padding:var(--jd-padding-default);pointer-events:none;position:absolute;top:0;user-select:none!important;width:100%;z-index:1}.jodit__preview-box table{border:none;border-collapse:collapse;empty-cells:show;margin-bottom:1em;margin-top:1em;max-width:100%}.jodit__preview-box table tr{user-select:none}.jodit__preview-box table tr td,.jodit__preview-box table tr th{border:1px solid var(--jd-color-border);min-width:2em;padding:.4em;user-select:text;vertical-align:middle}.jodit-table-resizer{cursor:col-resize;margin-left:calc(var(--jd-padding-default)/-2);padding-left:calc(var(--jd-padding-default)/2);padding-right:calc(var(--jd-padding-default)/2);position:absolute;z-index:3}.jodit-table-resizer:after{border:0;content:"";display:block;height:100%;width:0}.jodit-table-resizer_moved{background-color:var(--jd-color-background-selection);z-index:2}.jodit-table-resizer_moved:after{border-right:1px solid moved}[data-jodit_iframe_wrapper]{display:block;position:relative;user-select:none}[data-jodit_iframe_wrapper] iframe{position:relative}[data-jodit_iframe_wrapper]:after{background:transparent;content:"";cursor:pointer;display:block;inset:0;position:absolute;z-index:1}[data-jodit_iframe_wrapper][data-jodit-wrapper_active=true] iframe{z-index:2}.jodit_lock [data-jodit-wrapper_active=true] iframe{z-index:1}:root{--jd-viewer-width:70px;--jd-viewer-height:24px;--jd-resizer-handle-size:10px;--jd-resizer-border-color:#98c1f1;--jd-resizer-handle-color:#5ba4f3;--jd-resizer-handle-hover-color:#537ebb}.jodit-resizer{font-size:0;height:100px;left:0;outline:3px solid var(--jd-resizer-border-color);pointer-events:none;position:absolute;top:0;width:100px}.jodit-resizer,.jodit-resizer *{box-sizing:border-box}.jodit-resizer>span{background-color:var(--jd-color-placeholder);color:var(--jd-color-white);display:inline-block;font-size:12px;height:var(--jd-viewer-height);left:50%;line-height:var(--jd-viewer-height);margin-left:calc(var(--jd-viewer-width)/-2);margin-top:calc(var(--jd-viewer-height)/-2);opacity:0;overflow:visible;position:absolute;text-align:center;top:50%;transition:opacity .2s linear;width:var(--jd-viewer-width)}.jodit-resizer>div{background-color:var(--jd-resizer-handle-color);display:inline-block;height:var(--jd-resizer-handle-size);pointer-events:all;position:absolute;width:var(--jd-resizer-handle-size);z-index:4}.jodit-resizer>div:hover{background-color:var(--jd-resizer-handle-hover-color)}.jodit-resizer>
1div:first-child{cursor:nwse-resize;left:calc(var(--jd-resizer-handle-size)/-2);top:calc(var(--jd-resizer-handle-size)/-2)}.jodit-resizer>div:nth-child(2){cursor:nesw-resize;right:calc(var(--jd-resizer-handle-size)/-2);top:calc(var(--jd-resizer-handle-size)/-2)}.jodit-resizer>div:nth-child(3){bottom:calc(var(--jd-resizer-handle-size)/-2);cursor:nwse-resize;right:calc(var(--jd-resizer-handle-size)/-2)}.jodit-resizer>div:nth-child(4){bottom:calc(var(--jd-resizer-handle-size)/-2);cursor:nesw-resize;left:calc(var(--jd-resizer-handle-size)/-2)}@media (max-width:768px){.jodit-resizer>div :root{--jd-resizer-handle-size:calc(var(--jd-resizer-handle-size)*2)}}:root{--jd-height-search:30px;--jd-width-search:320px;--jd-width-search-input-box:60%;--jd-width-search-count-box:15%;--jd-transform-button-active:0.95;--jd-timeout-button-active:0.1s}.jodit-ui-search{height:0;position:absolute;right:0;top:0;width:0}.jodit-ui-search_sticky_true{position:fixed}.jodit-ui-search__box{background-color:var(--jd-color-panel);border:solid var(--jd-color-border);border-width:0 0 1px 1px;display:flex;max-width:100vw;padding:calc(var(--jd-padding-default)/2);position:absolute;right:0;width:var(--jd-width-search)}.jodit-ui-search__box input{background-color:transparent;border:0;height:100%;margin:0;outline:none;padding:0 var(--jd-padding-default);width:100%}.jodit-ui-search__box input[data-ref=replace]{display:none}.jodit-ui-search__box input:not(:focus)+input:not(:focus){border-top:1px solid var(--jd-color-border)}.jodit-ui-search__buttons,.jodit-ui-search__counts,.jodit-ui-search__inputs{height:var(--jd-height-search)}.jodit-ui-search__inputs{padding-right:calc(var(--jd-padding-default)/2);width:var(--jd-width-search-input-box)}.jodit-ui-search__counts{border-left:1px solid var(--jd-color-border);color:var(--jd-color-border);width:var(--jd-width-search-count-box)}.jodit-ui-search__buttons,.jodit-ui-search__counts{align-items:center;display:flex;justify-content:center}.jodit-ui-search__buttons{flex:1;padding-left:0}.jodit-ui-search__buttons button{background-color:transparent;border:1px solid transparent;height:100%;margin-right:1%;width:32%}.jodit-ui-search__buttons button[data-ref=replace-btn]{border:1px solid var(--jd-color-border);display:none;margin-top:2px;width:100%}.jodit-ui-search__buttons button:hover{background-color:var(--jd-color-background-button-hover)}.jodit-ui-search__buttons button:focus{border:1px solid var(--jd-color-background-selection-opacity50)}.jodit-ui-search__buttons button:active{border:1px solid var(--jd-color-background-selection);transform:scale(var(--jd-transform-button-active))}.jodit-ui-search_empty-query_true [data-ref=next],.jodit-ui-search_empty-query_true [data-ref=prev]{opacity:.5}.jodit-ui-search_replace_true .jodit-ui-search__counts,.jodit-ui-search_replace_true .jodit-ui-search__inputs{height:calc(var(--jd-height-search)*2)}.jodit-ui-search_replace_true .jodit-ui-search__counts input,.jodit-ui-search_replace_true .jodit-ui-search__inputs input{height:50%;transition:background-color var(--jd-timeout-button-active) linear}.jodit-ui-search_replace_true .jodit-ui-search__counts input:focus,.jodit-ui-search_replace_true .jodit-ui-search__inputs input:focus{box-shadow:inset 0 0 3px 0 var(--jd-color-border)}.jodit-ui-search_replace_true .jodit-ui-search__counts input[data-ref=replace],.jodit-ui-search_replace_true .jodit-ui-search__inputs input[data-ref=replace]{display:block}.jodit-ui-search_replace_true .jodit-ui-search__buttons{flex-wrap:wrap}.jodit-ui-search_replace_true .jodit-ui-search__buttons button[data-ref=replace-btn]{display:block}::highlight(jodit-search-result),[jd-tmp-selection]{background-color:var(--jd-color-background-selection);color:var(--jd-color-text-selection)}.jodit-container:not(.jodit_inline){min-height:100px}.jodit-container:not(.jodit_inline) .jodit-workplace{display:flex;flex-direction:column;height:auto;min-height:50px;overflow:hidden}.jodit-container:not(.jodit_inline) .jodit-editor__resize{position:relative}.jodit-container:not(.jodit_inline) .jodit-editor__resize svg{bottom:0;cursor:nwse-resize;height:12px;overflow:hidden;position:absolute;right:0;width:12px;
1fill:var(--jd-color-gray-dark);user-select:none}.jodit-source{background-color:var(--jd-color-source-area);display:none;flex:auto;overflow:auto;position:relative}.jodit-source,.jodit-source .jodit-source__mirror-fake{min-height:100%}.jodit-source *{font:12px/normal Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace}.jodit-container.jodit-source__mode .jodit-wysiwyg,.jodit-container.jodit-source__mode .jodit-wysiwyg_iframe{display:none!important}.jodit-container.jodit-source__mode .jodit-source{display:block!important}.jodit-container.jodit_split_mode .jodit-workplace{flex-flow:row nowrap}.jodit-container.jodit_split_mode .jodit-source,.jodit-container.jodit_split_mode .jodit-wysiwyg,.jodit-container.jodit_split_mode .jodit-wysiwyg_iframe{display:block!important;flex:1;width:50%}.jodit-source__mirror{background:var(--jd-color-source-area);border:0;box-shadow:none;box-sizing:border-box;color:#f0f0f0;height:100%;line-height:1.5;font:12px/normal Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;margin:0;min-height:100%;outline:none;overflow:auto;padding:var(--jd-padding-default);resize:none;tab-size:2em;white-space:pre-wrap;width:100%;z-index:2}.jodit-source__mirror::selection{background:var(--jd-color-selection-area)}.jodit_sticky-dummy_toolbar{display:none}.jodit_sticky>.jodit-toolbar__box{border-bottom:1px solid var(--jd-color-border);left:auto;position:fixed;position:sticky;top:0;z-index:3}.jodit_sticky .jodit_sticky-dummy_toolbar{display:block}.jodit-symbols{padding:var(--jd-padding-default);width:460px}.jodit-symbols__container{display:flex}.jodit-symbols__container_table{width:88%}.jodit-symbols__container_preview{width:12%}.jodit-symbols__preview{border:1px solid var(--jd-color-border);font-size:34px;padding:20px 0;text-align:center}.jodit-symbols__table{border:0;border-spacing:0;table-layout:fixed}.jodit-symbols__table td{padding:0}.jodit-symbols__table td a{border:1px solid transparent;box-sizing:border-box;color:var(--jd-color-text);cursor:pointer;display:inline-block;font-size:16px;height:calc(var(--jd-height-element-default)*1.2);line-height:calc(var(--jd-height-element-default)*1.2);text-align:center;text-decoration:none;vertical-align:top;width:calc(var(--jd-width-element-default)*1.2)}.jodit-symbols__table td a:focus,.jodit-symbols__table td a:hover{outline:2px solid var(--jd-color-border)}.jodit-ui-ai-assistant{min-width:460px;padding:var(--jd-padding-default);width:100%}@media (max-width:768px){.jodit-ui-ai-assistant{min-width:100%}}.jodit-ui-ai-assistant__body{margin-bottom:10px}.jodit-ui-ai-assistant__prompt-row{align-items:flex-start;display:flex;margin-bottom:10px}.jodit-ui-ai-assistant__prompt-row-label{margin-right:10px}.jodit-ui-ai-assistant__prompt-row-input{flex:1;margin-right:10px}.jodit-ui-ai-assistant__prompt-row .jodit-icon_ai_assistant{cursor:pointer;height:22px;width:22px}.jodit-ui-ai-assistant__prompt-row .jodit-ui-button{margin-right:10px}.jodit-ui-ai-assistant__prompt-row .jodit-ui-button_ai_assistant{margin-right:0;margin-top:20px}.jodit-ui-ai-assistant__results{border-color:var(--jd-color-label);border-style:solid;border-width:1px;height:300px;line-height:1.5;max-width:460px;min-height:300px;min-width:100%;overflow:auto;padding:var(--jd-padding-default);position:relative}.jodit-ui-ai-assistant__results p{margin:0 0 10px}.jodit-ui-ai-assistant__close{cursor:pointer;padding:10px;position:absolute;right:0;top:0}.jodit-ui-ai-assistant_hide_true{display:none}.jodit-ui-ai-assistant__spinner:before{animation:b .6s linear infinite;border:1px solid #ccc;border-radius:50%;border-top-color:#8817c3;box-sizing:border-box;content:"";height:30px;left:50%;margin-left:-15px;margin-top:-15px;position:absolute;top:50%;width:30px}.jodit-ui-ai-assistant__error{color:var(--jd-color-error)}.jodit-context table,.jodit-wysiwyg table{border:none;border-collapse:collapse;empty-cells:show;margin-bottom:1em;margin-top:1em;max-width:100%}.jodit-context table tr,.jodit-wysiwyg table tr{user-select:none}.jodit-context table tr td,.jodit-context table tr th,.jodit-wysiwyg table tr td,.jodit-wysiwyg table tr th{border:1px solid var(--jd-color-border);min-width:2em;padding:.4em;user-select:text;vertical-align:middle}.jodit-form__inserter{--jd-color-table-cell-background-hover:var(--jd-color-button-background-hover)}.jodit-form__inserter .jodit-form__table-creator-box{display:flex}
1@media (max-width:768px){.jodit-form__inserter .jodit-form__table-creator-box{flex-direction:column}}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container{font-size:0;margin:0;min-width:180px;padding:0}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container>div>span{border:1px solid var(--jd-color-border);box-sizing:border-box;cursor:pointer;display:inline-block;height:var(--jd-height-element-default);margin-bottom:2px;margin-left:2px;vertical-align:top;width:var(--jd-width-element-default)}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container>div>span:first-child{margin-left:0}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container>div>span.jodit_hovered{background:var(--jd-color-table-cell-background-hover);border-color:var(--jd-color-table-cell-background-hover)}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__options{font-size:var(--jd-font-size-default)}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__options label{padding-top:0;text-align:left}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__options label input{margin-right:var(--jd-padding-default)}.jodit-form__inserter label{font-size:14px;margin:0;padding:8px;text-align:center}.jodit-xpath{align-items:center;display:flex;margin-left:calc(var(--jd-padding-default)/-2)}.jodit-xpath__item{display:flex;height:var(--jd-font-size-small);line-height:calc(var(--jd-font-size-small) - 1px)}.jodit-xpath__item a{color:var(--jd-color-default);font-size:var(--jd-font-size-small);margin-left:2px;outline:0;padding:0 3px}:root{--jd-color-white:#fff;--jd-color-gray:#dadada;--jd-color-gray-dark:#a5a5a5;--jd-color-dark:#4c4c4c;--jd-color-blue:#b5d6fd;--jd-color-light-blue:rgba(181,214,253,.5);--jd-color-red:#ff3b3b;--jd-color-light-red:rgba(255,59,59,.4);--jd-color-default:var(--jd-color-dark);--jd-color-text:#222;--jd-color-label:var(--jd-color-gray-dark);--jd-color-error:var(--jd-color-red);--jd-color-border:var(--jd-color-gray);--jd-color-border-dark:var(--jd-color-dark);--jd-color-border-selected:#1e88e5;--jd-color-border-active:#b5b5b5;--jd-color-selection:var(--jd-color-dark);--jd-color-selection-area:#bdbdbd;--jd-color-separator:var(--jd-color-border);--jd-color-placeholder:var(--jd-color-gray-dark);--jd-color-panel:#f9f9f9;--jd-color-resizer:#c8c8c8;--jd-color-background-default:var(--jd-color-white);--jd-color-background-light-gray:#f5f5f6;--jd-color-background-gray:var(--jd-color-gray);--jd-color-background-gray-hover:#f8f8f8;--jd-color-background-button-hover:#ecebe9;--jd-color-background-button-hover-opacity30:hsla(40,7%,92%,.3);--jd-color-background-progress:#b91f1f;--jd-color-background-active:#2196f3;--jd-color-background-selection:#b5d6fd;--jd-color-text-selection:var(--jd-color-white);--jd-color-background-selection-opacity50:rgba(181,214,253,.995);--jd-color-source-area:#323232;--jd-color-button-background-hover:#dcdcdc;--jd-color-button-background-hover-opacity40:hsla(0,0%,86%,.4);--jd-color-button-background-hover-opacity60:hsla(0,0%,86%,.6);--jd-font-default:-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;--jd-font-size-default:14px;--jd-font-size-small:11px;--jd-color-text-icons:rgba(0,0,0,.75);--jd-color-icon:var(--jd-color-dark);--jd-padding-default:8px;--jd-border-radius-default:3px;--jd-icon-tiny-size:8px;--jd-icon-xsmall-size:10px;--jd-icon-small-size:12px;--jd-icon-middle-size:14px;--jd-icon-large-size:16px;--jd-z-index-full-size:100000;--jd-z-index-popup:10000001;--jd-z-index-dialog-overlay:20000003;--jd-z-index-dialog:20000004;--jd-z-index-context-menu:30000005;--jd-z-index-tooltip:30000006;--jd-icon-loader-size:48px;--jd-width-element-default:18px;--jd-height-element-default:18px;--jd-dark-background-color:#575757;--jd-dark-background-ligher:silver;--jd-dark-background-darknes:#353535;--jd-dark-border-color:#444;--jd-dark-text-color:#d1cccc;--jd-dark-text-color-opacity80:hsla(0,5%,81%,.8);--jd-dark-text-color-opacity50:hsla(0,5%,81%,.5);--jd-dark-icon-color:silver;--jd-dark-toolbar-color:#5f5c5c;--jd-dark-toolbar-seperator-color1:rgba(81,81,81,.41);
1--jd-dark-toolbar-seperator-color2:#686767;--jd-dark-toolbar-seperator-color-opacity80:hsla(0,0%,41%,.8);--jd-dark-toolbar-seperator-color3:hsla(0,0%,41%,.75);--jd-dark-color-border-selected:#152f5f;--jd-width-default:180px;--jd-width-input-min:var(--jd-width-default);--jd-input-height:32px;--jd-button-icon-size:14px;--jd-margin-v:2px;--jd-button-df-size:calc((var(--jd-button-icon-size) - 4px)*2);--jd-button-size:calc(var(--jd-button-icon-size) + var(--jd-button-df-size) + var(--jd-margin-v)*2);--jd-focus-input-box-shadow:0 0 0 0.05rem rgba(0,123,255,.25)}.jodit-wysiwyg{outline:0}.jodit-wysiwyg ::selection,.jodit-wysiwyg::selection{background:#b5d6fd;color:#4c4c4c}.jodit-container:not(.jodit_inline) .jodit-wysiwyg{margin:0;outline:0;overflow-x:auto;padding:8px;position:relative}.jodit-container:not(.jodit_inline) .jodit-wysiwyg img{max-width:100%;position:relative}.jodit-container:not(.jodit_inline) .jodit-wysiwyg jodit-media{position:relative}.jodit-container:not(.jodit_inline) .jodit-wysiwyg jodit-media *{position:relative;z-index:0}.jodit-container:not(.jodit_inline) .jodit-wysiwyg jodit-media:before{content:"";inset:0;position:absolute;z-index:1}:root{--jd-switche-width:60px;--jd-switche-height:32px;--jd-switche-slider-margin:4px;--jd-switche-slider-size:calc(var(--jd-switche-height) - var(--jd-switche-slider-margin)*2)}.jodit-form{color:var(--jd-color-default);font-family:var(--jd-font-default);font-size:var(--jd-font-size-default)}.jodit-form.jodit_error{border-color:var(--jd-color-error);box-shadow:inset 0 0 3px 0 hsla(0,0%,74%,.3)}@media (max-width:768px){.jodit-form{min-width:150px}}.jodit-form button{background:#d6d6d6;border:none;color:var(--jd-color-dark);cursor:pointer;font-size:16px;height:36px;line-height:1;margin-bottom:var(--jd-padding-default);margin-top:var(--jd-padding-default);outline:none;padding:var(--jd-padding-default);text-decoration:none;transition:background .2s ease 0s}.jodit-form button:hover{background-color:var(--jd-color-background-button-hover);color:var(--jd-color-dark)}.jodit-form button:active{background:var(--jd-color-background-button-hover);color:var(--jd-color-dark)}.jodit-form label{align-items:center;display:flex;margin-bottom:var(--jd-padding-default);text-align:left;white-space:nowrap}.jodit-form label:last-child{margin-bottom:0}.jodit-form .jodit-form__center{justify-content:center}.jodit .jodit-input,.jodit .jodit-select,.jodit .jodit-textarea{appearance:none;background-color:var(--jd-color-white);border:1px solid var(--jd-color-border);border-radius:0;box-sizing:border-box;font-family:var(--jd-font-default);font-size:var(--jd-font-size-default);height:var(--jd-input-height);line-height:1.2;outline:none;padding:0 var(--jd-padding-default);width:100%}.jodit .jodit-input[disabled],.jodit .jodit-select[disabled],.jodit .jodit-textarea[disabled]{background-color:#f0f0f0;color:var(--jd-color-border)}.jodit .jodit-input_has-error_true,.jodit .jodit-select_has-error_true,.jodit .jodit-textarea_has-error_true{border-color:var(--jd-color-red)}.jodit .jodit-input:focus{border-color:#66afe9;outline:0}.jodit-checkbox{border:0;cursor:pointer;height:16px;margin:0 calc(var(--jd-padding-default)/2) 0 0;outline:none;padding:0;position:relative;width:16px;z-index:2}.jodit-select{background-image:url(').concat(v,');background-position:98% 50%;background-repeat:no-repeat;padding-right:calc(var(--jd-padding-default)*2)}.jodit-textarea{height:auto}.jodit-form__group,.jodit-textarea{min-width:var(--jd-width-input-min)}.jodit-form__group{display:flex;flex-direction:column;margin-bottom:var(--jd-padding-default)}.jodit-form__group label{margin-bottom:calc(var(--jd-padding-default)/2)}.jodit-button{align-items:center;background-color:var(--jd-color-background-gray);border:0;border-radius:.25rem;color:var(--jd-color-default);cursor:pointer;display:inline-flex;height:calc(var(--jd-padding-default)*4);justify-content:center;line-height:1;margin:0;padding:0 var(--jd-padding-default);position:relative;text-decoration:none;user-select:none;width:auto}.jodit-button svg{display:inline-block;height:24px;width:24px}.jodit-button svg+span{margin-left:calc(var(--jd-padding-default)/2)}.jodit-button:active,.jodit-button:focus{outline:0}.jodit-button.disabled{opacity:.7}.jodit-buttons{display:flex;flex-wrap:nowrap;justify-content:space-between;margin-bottom:var(--jd-padding-default)}.jodit-button .jodit_icon,.jodit-button svg,.jodit-dialog__header .jodit_icon,.jodit-dialog__header svg{display:inline-block;height:16px;vertical-align:middle;width:16px}.jodit-switcher-wrapper{align-items:center;display:flex}.jodit-switcher-wrapper .jodit-switcher+span{margin-left:var(--jd-padding-default)}.jodit-switcher{display:inline-block;height:var(--jd-switche-height);position:relative;width:var(--jd-switche-width)}.jodit-switcher input{height:0;opacity:0;width:0}.jodit-switcher .jodit-switcher__slider{background-color:var(--jd-color-gray);border-radius:var(--jd-switche-height);cursor:pointer;inset:0;position:absolute;transition:.4s}.jodit-switcher .jodit-switcher__slider:before{background-color:#fff;border-radius:50%;bottom:var(--jd-switche-slider-margin);content:"";height:var(--jd-switche-slider-size);left:var(--jd-switche-slider-margin);position:absolute;transition:.4s;width:var(--jd-switche-slider-size)}input:checked+.jodit-switcher__slider{background-color:var(--jd-color-background-active)}
1input:checked+.jodit-switcher__slider:before{transform:translateX(calc(var(--jd-switche-width) - var(--jd-switche-slider-margin)*2 - var(--jd-switche-slider-size)))}input:focus+.jodit-switcher__slider{box-shadow:0 0 1px var(--jd-color-background-active)}.jodit-button-group{display:flex}.jodit-button-group input{display:none}.jodit-button-group button{display:flex;flex:1;justify-content:center;text-align:center}.jodit-button-group button+button{margin-left:-1px}.jodit-button-group button:first-child,.jodit-button-group input:first-child+button{border-bottom-right-radius:0;border-right:0;border-top-right-radius:0}.jodit-button-group button:last-child,.jodit-button-group input:last-child+button{border-bottom-left-radius:0;border-left:0;border-top-left-radius:0}.jodit-button-group input[type=checkbox]:checked+button,.jodit-button-group input[type=checkbox]:not(:checked)+button+button{background-image:none;box-shadow:inset 0 2px 4px rgba(0,0,0,.3),0 1px 2px rgba(0,0,0,.05)}.jodit_text_icons .jodit_icon{font-size:var(--jd-font-size-default);width:auto}.jodit_text_icons .jodit_icon:first-letter{text-transform:uppercase}.jodit_text_icons .jodit-tabs .jodit-tabs__buttons>a{font-family:var(--jd-font-default);width:auto}.jodit_text_icons .jodit-tabs .jodit-tabs__buttons>a i{width:auto}.jodit_text_icons.jodit-dialog .jodit-button,.jodit_text_icons.jodit-dialog .jodit-dialog__header a{color:var(--jd-color-text-icons);font-family:var(--jd-font-default);padding:var(--jd-padding-default);width:auto}.jodit_text_icons.jodit-dialog .jodit-button .jodit_icon,.jodit_text_icons.jodit-dialog .jodit-dialog__header a .jodit_icon{width:auto}.jodit-grid{display:flex;width:100%}.jodit-grid.jodit-grid_column{flex-direction:column}@media (max-width:480px){.jodit-grid.jodit-grid_xs-column{flex-direction:column}}.jodit-grid [class*=jodit_col-]{flex:1 1 auto}.jodit-grid .jodit_col-lg-5-5{width:100%}.jodit-grid .jodit_col-lg-4-5{width:80%}.jodit-grid .jodit_col-lg-3-5{width:60%}.jodit-grid .jodit_col-lg-2-5{width:40%}.jodit-grid .jodit_col-lg-1-5{width:20%}.jodit-grid .jodit_col-lg-4-4{width:100%}.jodit-grid .jodit_col-lg-3-4{width:75%}.jodit-grid .jodit_col-lg-2-4{width:50%}.jodit-grid .jodit_col-lg-1-4{width:25%}@media (max-width:992px){.jodit-grid .jodit_col-md-5-5{width:100%}.jodit-grid .jodit_col-md-4-5{width:80%}.jodit-grid .jodit_col-md-3-5{width:60%}.jodit-grid .jodit_col-md-2-5{width:40%}.jodit-grid .jodit_col-md-1-5{width:20%}.jodit-grid .jodit_col-md-4-4{width:100%}.jodit-grid .jodit_col-md-3-4{width:75%}.jodit-grid .jodit_col-md-2-4{width:50%}.jodit-grid .jodit_col-md-1-4{width:25%}}@media (max-width:768px){.jodit-grid .jodit_col-sm-5-5{width:100%}.jodit-grid .jodit_col-sm-4-5{width:80%}.jodit-grid .jodit_col-sm-3-5{width:60%}.jodit-grid .jodit_col-sm-2-5{width:40%}.jodit-grid .jodit_col-sm-1-5{width:20%}.jodit-grid .jodit_col-sm-4-4{width:100%}.jodit-grid .jodit_col-sm-3-4{width:75%}.jodit-grid .jodit_col-sm-2-4{width:50%}.jodit-grid .jodit_col-sm-1-4{width:25%}}@media (max-width:480px){.jodit-grid .jodit_col-xs-5-5{width:100%}.jodit-grid .jodit_col-xs-4-5{width:80%}.jodit-grid .jodit_col-xs-3-5{width:60%}.jodit-grid .jodit_col-xs-2-5{width:40%}.jodit-grid .jodit_col-xs-1-5{width:20%}.jodit-grid .jodit_col-xs-4-4{width:100%}.jodit-grid .jodit_col-xs-3-4{width:75%}.jodit-grid .jodit_col-xs-2-4{width:50%}.jodit-grid .jodit_col-xs-1-4{width:25%}}@keyframes b{to{transform:rotate(1turn)}}.jodit-icon_loader{animation:b 2s ease-out 0s infinite;background:url(').concat(h,") no-repeat 50%;background-size:100% 100%;display:inline-block;height:var(--jd-icon-loader-size);vertical-align:middle;width:var(--jd-icon-loader-size);will-change:transform}.jodit-icon{background:50% no-repeat;background-size:contain;height:14px;overflow:visible;width:14px;fill:var(--jd-color-icon);transform-origin:0 0!important}.jodit-icon,.jodit-icon_close{stroke:var(--jd-color-icon)}svg.jodit-icon{height:auto;isolation:isolate}.jodit-icon_text{font-size:14px}.jodit,.jodit *,.jodit-container,.jodit-container *{box-sizing:border-box}
1.jodit .jodit-workplace,.jodit-container .jodit-workplace{overflow:auto;position:relative}.jodit .jodit-workplace .jodit-wysiwyg,.jodit .jodit-workplace .jodit-wysiwyg_iframe,.jodit-container .jodit-workplace .jodit-wysiwyg,.jodit-container .jodit-workplace .jodit-wysiwyg_iframe{height:100%;width:100%}.jodit-wysiwyg [contenteditable=false]{cursor:default}.jodit-container:not(.jodit_inline){background-color:var(--jd-color-background-light-gray);border:1px solid var(--jd-color-border);border-radius:var(--jd-border-radius-default)}.jodit-container:not(.jodit_inline) .jodit-workplace{background-color:var(--jd-color-background-default);border:0 solid var(--jd-color-border);max-height:100%}.jodit-container:not(.jodit_inline).jodit_disabled{background:var(--jd-color-background-gray)}.jodit-container:not(.jodit_inline).jodit_disabled .jodit-workplace{opacity:.4}.jodit_disabled,.jodit_lock{user-select:none!important}.jodit_hidden{display:none!important}.jodit_vertical_middle{align-items:center;display:flex}.jodit-box{background:0 0;border:0;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.jodit-dialog_theme_dark,.jodit_theme_dark{--jd-color-border:#6b6b6b;--jd-color-text:var(--jd-dark-text-color)}.jodit-dialog_theme_dark .jodit-toolbar-collection_mode_horizontal,.jodit-dialog_theme_dark .jodit-toolbar-editor-collection_mode_horizontal,.jodit_theme_dark .jodit-toolbar-collection_mode_horizontal,.jodit_theme_dark .jodit-toolbar-editor-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent calc(var(--jd-button-size) - 1px),var(--jd-color-border) var(--jd-button-size))}.jodit-dialog_theme_dark .jodit-toolbar-collection_mode_horizontal:after,.jodit-dialog_theme_dark .jodit-toolbar-editor-collection_mode_horizontal:after,.jodit_theme_dark .jodit-toolbar-collection_mode_horizontal:after,.jodit_theme_dark .jodit-toolbar-editor-collection_mode_horizontal:after{background-color:var(--jd-color-border)}.jodit-dialog_theme_dark .jodit-toolbar__box:not(:empty),.jodit_theme_dark .jodit-toolbar__box:not(:empty){border-color:var(--jd-color-border)}.jodit-dialog_theme_dark .jodit-toolbar__box:not(:empty) .jodit-toolbar-editor-collection:after,.jodit_theme_dark .jodit-toolbar__box:not(:empty) .jodit-toolbar-editor-collection:after{background-color:var(--jd-color-border)}.jodit-dialog_theme_dark .jodit-ui-group_separated_true:not(:last-child,.jodit-ui-group_before-spacer_true):after,.jodit_theme_dark .jodit-ui-group_separated_true:not(:last-child,.jodit-ui-group_before-spacer_true):after{border-right-color:var(--jd-color-border)}.jodit-dialog_theme_dark.jodit-container,.jodit_theme_dark.jodit-container{background-color:var(--jd-dark-background-color);border-color:var(--jd-color-border)}.jodit-dialog_theme_dark.jodit-container.jodit_disabled,.jodit_theme_dark.jodit-container.jodit_disabled{background-color:var(--jd-dark-background-color)}.jodit-dialog_theme_dark.jodit-container:not(.jodit_inline) .jodit-workplace,.jodit_theme_dark.jodit-container:not(.jodit_inline) .jodit-workplace{border-color:var(--jd-dark-background-color)}.jodit-dialog_theme_dark .jodit-popup__content,.jodit_theme_dark .jodit-popup__content{background:var(--jd-dark-background-color)}.jodit-dialog_theme_dark .jodit-toolbar-button,.jodit-dialog_theme_dark .jodit-toolbar-select,.jodit-dialog_theme_dark .jodit-ui-button,.jodit_theme_dark .jodit-toolbar-button,.jodit_theme_dark .jodit-toolbar-select,.jodit_theme_dark .jodit-ui-button{--jd-color-icon:var(--jd-dark-icon-color)}.jodit-dialog_theme_dark .jodit-toolbar-button__text,.jodit-dialog_theme_dark .jodit-toolbar-select__text,.jodit-dialog_theme_dark .jodit-ui-button__text,.jodit_theme_dark .jodit-toolbar-button__text,.jodit_theme_dark .jodit-toolbar-select__text,.jodit_theme_dark .jodit-ui-button__text{color:var(--jd-color-text)}.jodit-dialog_theme_dark .jodit-toolbar-button .jodit-icon,.jodit-dialog_theme_dark .jodit-toolbar-button svg,.jodit-dialog_theme_dark .jodit-toolbar-button__trigger,.jodit-dialog_theme_dark .jodit-toolbar-select .jodit-icon,.jo
1dit-dialog_theme_dark .jodit-toolbar-select svg,.jodit-dialog_theme_dark .jodit-toolbar-select__trigger,.jodit-dialog_theme_dark .jodit-ui-button .jodit-icon,.jodit-dialog_theme_dark .jodit-ui-button svg,.jodit-dialog_theme_dark .jodit-ui-button__trigger,.jodit_theme_dark .jodit-toolbar-button .jodit-icon,.jodit_theme_dark .jodit-toolbar-button svg,.jodit_theme_dark .jodit-toolbar-button__trigger,.jodit_theme_dark .jodit-toolbar-select .jodit-icon,.jodit_theme_dark .jodit-toolbar-select svg,.jodit_theme_dark .jodit-toolbar-select__trigger,.jodit_theme_dark .jodit-ui-button .jodit-icon,.jodit_theme_dark .jodit-ui-button svg,.jodit_theme_dark .jodit-ui-button__trigger{fill:var(--jd-color-icon);stroke:var(--jd-color-icon)}.jodit-dialog_theme_dark .jodit-toolbar-button:hover:not([disabled]),.jodit-dialog_theme_dark .jodit-toolbar-button__button:hover:not([disabled]),.jodit-dialog_theme_dark .jodit-toolbar-button__text:hover:not([disabled]),.jodit-dialog_theme_dark .jodit-toolbar-button__trigger:hover:not([disabled]),.jodit-dialog_theme_dark .jodit-toolbar-select:hover:not([disabled]),.jodit-dialog_theme_dark .jodit-toolbar-select__button:hover:not([disabled]),.jodit-dialog_theme_dark .jodit-toolbar-select__text:hover:not([disabled]),.jodit-dialog_theme_dark .jodit-toolbar-select__trigger:hover:not([disabled]),.jodit-dialog_theme_dark .jodit-ui-button:hover:not([disabled]),.jodit-dialog_theme_dark .jodit-ui-button__button:hover:not([disabled]),.jodit-dialog_theme_dark .jodit-ui-button__text:hover:not([disabled]),.jodit-dialog_theme_dark .jodit-ui-button__trigger:hover:not([disabled]),.jodit_theme_dark .jodit-toolbar-button:hover:not([disabled]),.jodit_theme_dark .jodit-toolbar-button__button:hover:not([disabled]),.jodit_theme_dark .jodit-toolbar-button__text:hover:not([disabled]),.jodit_theme_dark .jodit-toolbar-button__trigger:hover:not([disabled]),.jodit_theme_dark .jodit-toolbar-select:hover:not([disabled]),.jodit_theme_dark .jodit-toolbar-select__button:hover:not([disabled]),.jodit_theme_dark .jodit-toolbar-select__text:hover:not([disabled]),.jodit_theme_dark .jodit-toolbar-select__trigger:hover:not([disabled]),.jodit_theme_dark .jodit-ui-button:hover:not([disabled]),.jodit_theme_dark .jodit-ui-button__button:hover:not([disabled]),.jodit_theme_dark .jodit-ui-button__text:hover:not([disabled]),.jodit_theme_dark .jodit-ui-button__trigger:hover:not([disabled]){--jd-color-text:var(--jd-dark-background-color);--jd-color-icon:var(--jd-dark-background-color);background-color:var(--jd-dark-background-ligher);color:var(--jd-dark-background-color)}.jodit-dialog_theme_dark .jodit-status-bar,.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty),.jodit_theme_dark .jodit-status-bar,.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty){background-color:var(--jd-dark-toolbar-color);border-color:var(--jd-color-border);color:var(--jd-dark-text-color)}.jodit-dialog_theme_dark .jodit-status-bar,.jodit-dialog_theme_dark .jodit-status-bar .jodit-status-bar__item a,.jodit-dialog_theme_dark .jodit-status-bar .jodit-status-bar__item span,.jodit-dialog_theme_dark .jodit-status-bar a.jodit-status-bar-link,.jodit-dialog_theme_dark .jodit-status-bar a.jodit-status-bar-link:hover,.jodit-dialog_theme_dark .jodit-status-bar a.jodit-status-bar-link:visited,.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty),.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) .jodit-status-bar__item a,.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) .jodit-status-bar__item span,.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link,.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link:hover,.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link:visited,.jodit_theme_dark .jodit-status-bar,.jodit_theme_dark .jodit-status-bar .jodit-status-bar__item a,.jodit_theme_dark .jodit-status-bar .jodit-status-bar__item span,.jodit_theme_dark .jodit-status-bar a.jodit-status-bar-link,.jo
1dit_theme_dark .jodit-status-bar a.jodit-status-bar-link:hover,.jodit_theme_dark .jodit-status-bar a.jodit-status-bar-link:visited,.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty),.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) .jodit-status-bar__item a,.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) .jodit-status-bar__item span,.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link,.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link:hover,.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link:visited{color:var(--jd-dark-text-color)}.jodit-dialog_theme_dark .jodit-toolbar__box:not(:empty),.jodit_theme_dark .jodit-toolbar__box:not(:empty){background:var(--jd-dark-toolbar-color)}.jodit-dialog_theme_dark .jodit-icon-close,.jodit_theme_dark .jodit-icon-close{stroke:var(--jd-dark-icon-color)}.jodit-dialog_theme_dark .jodit-wysiwyg,.jodit-dialog_theme_dark .jodit-wysiwyg_iframe,.jodit_theme_dark .jodit-wysiwyg,.jodit_theme_dark .jodit-wysiwyg_iframe{background-color:var(--jd-dark-background-color);color:var(--jd-dark-text-color)}.jodit-dialog_theme_dark .jodit-form input[type=text],.jodit-dialog_theme_dark .jodit-form input[type=url],.jodit-dialog_theme_dark .jodit-form textarea,.jodit_theme_dark .jodit-form input[type=text],.jodit_theme_dark .jodit-form input[type=url],.jodit_theme_dark .jodit-form textarea{background-color:var(--jd-dark-toolbar-seperator-color1);border-color:var(--jd-dark-toolbar-seperator-color2);color:var(--jd-dark-text-color)}.jodit-dialog_theme_dark .jodit-form button,.jodit_theme_dark .jodit-form button{background-color:var(--jd-dark-toolbar-seperator-color3);color:var(--jd-dark-text-color)}.jodit-dialog_theme_dark .jodit-placeholder,.jodit_theme_dark .jodit-placeholder{color:var(--jd-dark-text-color-opacity80)}.jodit-dialog_theme_dark .jodit-drag-and-drop__file-box,.jodit-dialog_theme_dark .jodit_uploadfile_button,.jodit_theme_dark .jodit-drag-and-drop__file-box,.jodit_theme_dark .jodit_uploadfile_button{color:var(--jd-dark-text-color)}.jodit-dialog_theme_dark .jodit-drag-and-drop__file-box:hover,.jodit-dialog_theme_dark .jodit_uploadfile_button:hover,.jodit_theme_dark .jodit-drag-and-drop__file-box:hover,.jodit_theme_dark .jodit_uploadfile_button:hover{background-color:var(--jd-dark-toolbar-seperator-color3)}.jodit-dialog_theme_dark .jodit-add-new-line:before,.jodit_theme_dark .jodit-add-new-line:before{border-top-color:var(--jd-dark-toolbar-seperator-color2)}.jodit-dialog_theme_dark .jodit-add-new-line span,.jodit_theme_dark .jodit-add-new-line span{background:var(--jd-dark-toolbar-seperator-color3);border-color:var(--jd-dark-toolbar-seperator-color2)}.jodit-dialog_theme_dark .jodit-add-new-line span svg,.jodit_theme_dark .jodit-add-new-line span svg{fill:var(--jd-dark-text-color)}.jodit-dialog_theme_dark .jodit-resizer>i,.jodit_theme_dark .jodit-resizer>i{background:var(--jd-dark-toolbar-seperator-color3);border-color:var(--jd-dark-icon-color)}.jodit-dialog_theme_dark .jodit-input,.jodit-dialog_theme_dark .jodit-select,.jodit_theme_dark .jodit-input,.jodit_theme_dark .jodit-select{background-color:var(--jd-dark-background-ligher);border-color:var(--jd-dark-border-color);color:var(--jd-dark-border-color)}.jodit-dialog_theme_dark.jodit-dialog,.jodit_theme_dark.jodit-dialog{background-color:var(--jd-dark-background-color)}.jodit-dialog_theme_dark.jodit-dialog .jodit-dialog__header,.jodit-dialog_theme_dark.jodit-dialog .jodit-filebrowser__files.active .jodit-filebrowser__files-item,.jodit_theme_dark.jodit-dialog .jodit-dialog__header,.jodit_theme_dark.jodit-dialog .jodit-filebrowser__files.active .jodit-filebrowser__files-item{border-color:var(--jd-dark-border-color)}.jodit-dialog_theme_dark.jodit-dialog .jodit-filebrowser__files.active .jodit-filebrowser__files-item-info,.jodit_theme_dark.jodit-dialog .jodit-filebrowser__files.active .jodit-filebrowser__files-item-info{background-color:var(--jd-dark-text-color)}"),""]);const g=f},72:e=>{var t=[];function o(e){for(var o=-1,n=0;n<t.length;n++)if(t[n].identifier===e){o=n;break}return o}function n(e,n){for(var i={},a=[],l=0;l<e.length;l++){var s=e[l],c=n.base?s[0]+n.base:s[0],u=i[c]||0,d="".concat(c," ").concat(u);i[c]=u+1;var f=o(d),p={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==f)t[f].references++,t[f].updater(p);else{var h=r(p,n);n.byIndex=l,t.splice(l,0,{identifier:d,updater:h,references:1})}a.push(d)}return a}function r(e,t){var o=t.domAPI(t);return o.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;o.update(e=t)}else o.remove()}}e.exports=function(e,r){var i=n(e=e||[],r=r||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var l=o(i[a]);t[l].references--}for(var s=n(e,r),c=0;c<i.length;c++){var u=o(i[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}i=s}}},659:e=>{var t={};e.exports=function(e,o){var n=function(e){if(void 0===t[e]){var o=document.querySelector(e);
vendor: 4,127 bytes, line 1
1if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}t[e]=o}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(o)}},540:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},56:(e,t,o)=>{e.exports=function(e){var t=o.nc;t&&e.setAttribute("nonce",t)}},825:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(o){!function(e,t,o){var n="";o.supports&&(n+="@supports (".concat(o.supports,") {")),o.media&&(n+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(n+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),n+=o.css,r&&(n+="}"),o.media&&(n+="}"),o.supports&&(n+="}");var i=o.sourceMap;i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,o)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},113:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},333:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var o="",n=void 0!==t[5];return t[4]&&(o+="@supports (".concat(t[4],") {")),t[2]&&(o+="@media ".concat(t[2]," {")),n&&(o+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),o+=e(t),n&&(o+="}"),t[2]&&(o+="}"),t[4]&&(o+="}"),o}).join("")},t.i=function(e,o,n,r,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(n)for(var l=0;l<this.length;l++){var s=this[l][0];null!=s&&(a[s]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);n&&a[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),o&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=o):u[2]=o),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},504:e=>{e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},772:e=>{e.exports=function(e){return e[1]}},789:e=>{e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABRsSURBVHja7F1/aJfVGn/33RgUg8FiNfK2WCykyS7GLoYyUbwYipZMumgLo+iPS9HlXhSHkRXdislESxMz0mapuaFo2myjkfnNlTQ2FJdTu8NvLVcrdbpcfGvxrfs823m/vXt3fjznvOedzr0PPJzzPe+7d+97Ps95nuc851fGAw884CD98ccfI1Jqmc3UpEyQz4FkMqRTgYshn8fymZ57SyGbzf5mENIOz9+ngE9Atg/SLkhPQHoWeEDn3SmpSZlJnvf7ypUrTpb7IyMjY+gGN6WWmaY84l2T3c+u58D1csjOgvwsyBdBvsDRo2zgMl/ZNM59vcAJ4Dj8nzikLa5QmBLv28YCfPd3li7gPHBMwKdcEwhCJgN6FoLOWJtUgiWovALG04FXsbI44xbgw8AplbaU/Q+ZQNgGf0gA/JWhC1aQyle1eN91rPRKKKuEsjzZvSph0m2RiutpIYRrfZC8B+l7kB6jgq0CnQIy9X39v2NYQW5FeUFQlQVN/aALyiYBPw/5M5B+Dvw02vMggqcDukEl57F3xHf9H747+4bA5oD6dzqaYEgAqIDbBl9RhvZ4H/B5yL+IDp3oXhmwNkm3lTLn80VIz+O3QFqm2/rHwgeI6QDOa006LZ3Q4lHNNwK3AVeYAD4WgmHQUivYNzWyb7xufICYaavXVbuKZ6MXfwRVJ+TnXW+Am/oMnNaO3/Y5pPitcyh/a6LqtXwAt+J01LVFEzAJ0jpIj7JunJYd1wHchnBQHUSC3Uan8WPgPVgHlBiBCcAkH4Da2i2DjwGZlcy5W0K17zLwVb9NgaY4iJpawJs+BCnWwUo3SKXT4oOAP8IHCFsIfMCguj8JaQ2kOaaA227d10ALuIR1gHVxErjctPtHBd8btSR3A4MIgSePAZxqVPeQlthq7ZRuZVABCVkLuGkJpGgKsY4ybfUEVO84qhsoAzSgrUfHZ1UQVe99B6o2oMYdwg7latAq5iROGoueQExW6UE0gCe/ANIh9SZ6jqkWsN3STZ0rHWEgpkNmEvILxqQbSAXaAPxqSBswQkbpbpo6fGPR0m3GBYjBIIwqNjCTEAr4wkBQUA0AjKNrdZCu0okAqgQhTKCDhFxV91BNgsDuYx3WQZptG3xtDUCJEDKvthGuLVEJlq4gUMyAylfQERadPrhKOHTmB3Ces4RFEXNsgW8UClbZcEhxqPQIpHOord2k1ZsAH4YvYNJXN3EgWX4Ocw4LbIEvDQSJfADJtULWxSuj+BBUP4DaC6D0DkyFg6JKTVo/5brvXqzbo2zSi3af3/9bGgrW1Ar5kH4MXEzVHEHVf5CuYZC4fti9AoI/gXX8Eda5Tp9f9I4xWWsnOoc5zNMv1okjmKp/vzay3epNJ4+YmALdoWBPWTHksc
15zTU1AekqYt7LcWTruTYTZQdmQHoB0GuXv/de8L8e7xrsuA8kPNtx3AZIOxp3APc7wvD6kvi+//DLh3nvPPfegWs1jf4dBGGxpOA+hlOXzgw7VBjEBnDKcs4jzDOZDOmjqD2SJQFGBx9JaSOcQ7xVO2RIJhf86AfB+Z3huHs7Ra2pra+ugtubTp0+jMLgC0e6/ftddd6EgzMO5iGwSaq4NITCdLczy6GzXAj8KnDIxAaM0AKeViwCtgbRSNgGUJwQyDaACngO4w6S/CXgb8KEvvvgiFUaw59y5c64mWXvnnXdmsijdYxjpdP6cXh6oS0g1Bb48zpFEzValA3663pcuXaoleSzFltBIlWhRmWx+v6yMcQJ4PU7A/Oyzz/qca0R33HEHrjlAEJa73rns24JqA0keTUGTjglIJpNOxsMPP6wLfiGkx53hxRbcewwXc1BAx0u4gGMNcP2nn36acq4juv322ytZ5K7UlhBo5LER3AvcTXU60wKgYbsyWTCi3LTV6wLvKesGrvrkk0/qneucCgoKHoJkHbxvYRAhMMij/zMbVzZRTMAvv/wycj4AoRv4Mk7oII4HkLp+vC6drwxt/FrgKeMBfKTe3t69UMFTgPG9B3WcQdMeBsvjhJJqnYGqjMrKSmr/tZxNWAi87o9i+1l5O6SPNjc3dzrjlPLz83HyC/aWpqk0gWZUUHZtJvxuUZmAtAYgtHycr/a6qIXz2DQI5OH1UDRjPIOPdOHChU6o+JmQXW+68JYS4vUB/bozvN5RGAImdwPZA3AC51RKrMAfyBHFGCRBnz4oe7ypqemgc4PQxYsX0YytuOWWW3BRaa3DWd0U1A/w/Z4KvBx4jcoExAitE6dzPStr3RR/QKQ5fOUJ4PsaGxtvGPC9dOnSJfyu+7ALa9MJFPx+lkU05YNBBDVdg0uwKc4eAWCZ83cC8jM+/PDDLucGpr6+Pvy+GWz/ASs9AMFvd7ax1ATEFOBjmLdSBraN3gBwHHhmQ0NDrzMB6PLly73MUYubOs3EiB/GJebyTEB6QogCnGrV6KAFR7AVeP4HH3ww4EwgunLlCn7vfACi1UQDqMb5PWUvm5qAB3HESXNomKz2GaOHv/DAgQNJZwJSf38/fvdC3J5G1iPQnf3jK5sGvx80MQHP69hxHWZ/2wN8//vvv3/BmcD0008/XWCaoEcUJ6C0eoUWeFbXBOBCzTKKJ2/YExgEXrRv374eJyLn6tWrWA+LAJRBy+o/rQUQUx0TsFwzRKzLK/bu3dseQf8nDQwMYH2sCOL0ibx9Vr6cagIKmf0nxe8pguC7vn/Pnj2bIshH088//4z1st+m+veUI6ZFFBOwLGj/XqIh0O4/HkEtJgDmcZ4/EED9e69VKk0ACoDN1u/jqrq6uv4IZjElk0msnypbwPs0wTKVCUBnYbLuMC5REA7v3r37vQhikhBgPTWrTAEFeB9NZt3C0SbAr/6DdPM4jF7/PyNotUzBU26vgAo8x+7zri3jmgAgnOJdKYrVB9QEb+zcubMrgpVOv/76K9bXGzrACwTJfw1D+9k8EzAXOE8GviEPAK+JIDXSAlhvA7yWTWztvMfiXM65PBNQrgLfUBi2v/vuu70RnPo0ODjYC0BtN3D2VNfLR5gAz04eRn17yb0p4A0RlIEI6y+la/MV1xf4fYACSEtDiP031dbWRrY/AP32229dAGCTrs1XrHHEaesFXh+gXCfooyEM2yIIrdC2ADZ/1D1eM+CagHLJ5ExTxrl9hyLsrDiDWI99EjApgPvLRwhAmQh4HV/Axwe3bt06GMEXnFKpFK4tOBgQcH95WdoEAE01nc8Xi8VEArA3gs4q7VWpfsHaCpEg4GrnoeXhOEKUw3u4yZYqbGo4Lk2KR5hZpcOsXjO9GIm0AYFycTErmoDJVLWu0Tto3bJly0CEmT36/fffkzh/UKfVE3yLkix3Xx+v5FjYaaslgiwUZxDrdbrm38guF6EAFFKAF5kEwcFPrRFcoVCrIdAiKsSlYUWqFi/zBwTXOiKsQqGOIKe1cQRmSAPkmYIv0ADY9Yuif+GYgC5Wv9kB1L6X8lAA8k3BFwhB94YNG1IRXPYJutwpINwBpNjSI/O5AhDQGUxEUIVKCRMBEGiFIQG4yX+Daf+fPacvwihUM2Czfm/KcgMLtjZZhudEY//hks2VVJlZ7tJvi5SMMApVA9gMsOVkXYvDFiO6fggFACUqJ6qKcaMBbD5uAH2AlE0fIKJxRSnUAGizcykePtWzjOo1VA2gpa0V2CVRALBbURDwQV4qiGAKVQDyLZ571JfFum0lFqTJvScvgilUytPxAxSY9boawMbD3OtFEUahaoAinQap0gA4JSzhPswSFz733HOZEVT2KZlMYr0WesGV7KpOoQRqgG6DVi4rx5EqjFWfjSCz3vqLHd9IoGyYnoBjNwpAwhBoWXlpJAChCECpv66p5ycJBCSBcwI7daZ7E83FtAiuUGgaT/WLACaYhk4MBCVk0UDKWb2c3+URVqFogOm8OqccqMW5d+Dmm29OuGsDOyw7gmUvvfRSFBCySFevXsX6LBO1cIoG8NEQ5u7KoFbLi0Kz3fODI7JGeHbwTSJADcxCq1cAWnR39yYIQUWEmVX1X2G6SYTgnhavABwL0uoF91dUV1dnR9AFp/7+fjysq0IGvIEGODYkAOwa7t/XYXl3kDzgBRF8Vgg3eczT2SqGYP97vBoA83ELrd6/WPSJCDsr6v8Jw91BRdfS6za9ewQ1qVo9RQv47plXU1NTHEFoTpcvX8aTwueJgKdoAI4wpE8Y9e4SdtgdGLK4S1gm8L8jGAO1fqy/TNmiUE1hQIwPj9AADOQk7ugRdJ9ADj+2bt26aI6AAV26dAnr7THqnsFEYTgEnBRtFl0fwk6hOcCrIjiNaBXOAKIcuq3hG4w4fTXma+lNOEHEZFs4hcA8+eqrr0a+gAZdvHgRbf+TsrMDDMxBr2v/eT7A0L5+8HN7AKdPFhncHMGqZftfB84Wga0yBwKtsN1hk4B5PsCIrd0C2HwRz924cWNlBK2afvzxx0rX89c5Qo4gCNv85bwDI7r8XUKqynfL/KmHazZt2pQbQSymH374AffuqeEB7gWXCrzHFCCmXf5niE4NWxPkJFAJ41GmtRHMUtWP9TNJdYScgQZYo3NoFEYF21WmgAq8776KzZs3Px1BPZq+//57rJcKXhg3oClo90b/qCeHvqLjA2j6B+u2bNlSFkH+J3333XdlAMo6ntq3cJroK6K4gOzgyP2oBaj2nqIdPGXYKzjw5ptvToqgd5yenh5U+Qcgmy07UdxQA7QD7xfFClSnh68Oelag6H5n+Fj6j9566638iQz++fPn8wGMRq/dV4EviwVwrq0W9QpUJsAdINof5LRQxfNLgBu2bt06IaePffvttzjDp8EZ3r6dDL7sQEkfyAdVW82rjo9H/hdkB2y2ft89eEB149tvvz2hlqh/8803OazlTzMFX6ENcKLvU7LgEMUEuIc9vqLb+inBJE8ezyo+un379gkxaPT111/jdx4FEGbJwOd1A2VdQ9896Pj1qIJDMSJI6yHpNGnpGlHFqVgp77zzzg29tjCRSBQx8KfKWrmJBvDkO4HXU3oI7pQwFUDpc/8s9ABk14uB23bs2HFDTiU7d+7cAqj4NrbESxtojeAQYjWoOnyaqwF4AsFSnDm81lT1y2YZ+cpwLmHDzp07a3bt2nVDTCrt6urKBq5hDl8eBXCTHgGjtWxTaVK8IEYFjKWrvVPIdU8VE2kMgUCsBD6ye/fukvEM/ldffVUCFX4EsitVtl3UYjU0wDHg1dQIodQJFJShKXgE0j5dLaACn6MJkKcDH6+rq6uur68fV72EM2fO5Jw9e7YasseBp5u0cKoQsDxO9Vrqqn6R2hdGAjWEoBvSR03B9wPNA95HGDVcBXxqz549D40H8E+fPo3vecoZntGTreqzmwgBRyDw2Plu3TBxxmuvvcYFUQYwy+OQ5UoV6DITQzEJnGsdbLSyfvHixdfVptSnTp2qZMJaqtsVVtWbAiP0zap498ryt956q5OxYcMGyj/gpbhbxS5IlwSJBQQYYsZVzWtREBYtWnTN9ic+efIkOq1LmM9SZDKplioQgrJ6ZpZTVODd32kBIEoZL0UvvdFdCBoUfGo8gXM0/UHgHTireeHChaFrhePHj+N0dzxqdxnwg2xwS0vD6YIvwAOnd89nvhkZeJduu+02J2P
1jxo0UKZO9GM7w+cjdFMIgCmiqAXj39bO5DPFYLNY8b948ayeXtLW1lbIT1mcxzjVZUGtqCjh44Bj/34H7ZXjJhCItAAHAd1Mc0fvcPYAqCPhBhIHDF5jP0MF2QkmwE02HTMjs2bPTpqOlpSXPVeHABSwoVcLsOebzTWZH2fADOClO7ZqB3yfDTWUSUACyiHZG9UJY0SiNH7PKIjsiqt6BooegIhTMOYxHUTweN3q26EAN/wkr3t+qvEaKczbvxzoXPcf7brL/a9oNFKXYPZzpnUpGlX6dbqHIDIRNlIWXsuibbjdQkGLdzoQ0YfJ/uJFAamsndllw19HZzDlxVGFmkcqilFnSEFotnnKNOlZPGQX0lWOdzoa01xR47nCwDtBEpwbHoedj94wy0KSKCOoIQhgaQrXZgkoYdMCXPAvrcr57WITuXEHlcLCu00cQGjza7BEcRjbRAFSNQAXXVAh0zuY1BV/Q2r3pekixnz+oGRomvVtMV9Vr3I/98RXAC73LzoM4grIWb1sIxgp8iSnAOlsIKdZhynB8QG8wiKIBDPyCQ5C9F0cRKY6gDFwZ2DaFIEzwCS3e3b/nXlzKras1dFr/KA2go/5FLVRwfzdzDtfodgupZoFqGohbqIYGPsH+Yx3NxF6V7D2omkXlmMZM1T8PDMXfoUl4BruKkHaaaANbtj2MnoEJ+L6/72RdvGe8Kt9kjqBOj4SsAUyvce7BCSV/Ba6C/EBYXcSg5oIKtqkj5ikbgLSKqfwWaheRWqZ6j1gIAFPuQW2AI3lTIN0b1CSonMSwYgCU6wqQ8NunsOHcQcozVKZIVwhiKjVuMEihY0YwevgPSDG0eUy3ezjWYOsEhRRAHWPf/A93Egc1MKTj+FGEIGZhIEgJiMzPYPlmHNxgjmLTtRSCsOw+o2YWzcNvbTYIBVsVgrQGsAW+6cCSJx9nUcS/QbrfVAjCDgQZ/P1+yOM33Q9pPMizqCaAKgSxsMCntk6B2sdVyYsh/QvwC7hriY4QhCkUGi0e3/kF/AYow29pJ8YArJkAihDEwgRfVyNw8rif7X+B74Y8qs03nOGNDq0IgQ3Afff0sXecAfm72bv3UFoxpdWbtH7V32cFcfgoLcyCEKQdJ9zVHNL/AM9ijOP808MYD/CP7UvuO8ZGP+OMB3nP4T1PNfYvey/KXAPKd2XpevA27iWYANk9g8yZamblOa5A4FQtZ/jEsjybWsBTaX1sQkbcA/iACAQd0E2EQgU8RUiyKC02qGnQjS6qwPP9LQJwiLFLuUwQcBuaIiYQuBjTPc8wk/32VtYJFq104xQnmLlJMPuNNr3fUEuQQtDUVm8DeNcc/F+AAQBKd8HaIWdjwQAAAABJRU5ErkJggg=="},523:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGlkPSJMYXllcl8xIiBkYXRhLW5hbWU9IkxheWVyIDEiIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0ye2ZpbGw6IzQ0NH08L3N0eWxlPjwvZGVmcz48dGl0bGU+YXJyb3dzPC90aXRsZT48cGF0aCBkPSJNMCAwaDQuOTV2MTBIMHoiIHN0eWxlPSJmaWxsOiNmZmYiLz48cGF0aCBkPSJtMS40MSA0LjY3IDEuMDctMS40OSAxLjA2IDEuNDl6TTMuNTQgNS4zMyAyLjQ4IDYuODIgMS40MSA1LjMzeiIgY2xhc3M9ImNscy0yIi8+PC9zdmc+"},65:e=>{e.exports="data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 id=%27Layer_1%27 data-name=%27Layer 1%27 viewBox=%270 0 4.95 10%27%3E%3Cdefs%3E%3Cstyle%3E.cls-2{fill:%23444}%3C/style%3E%3C/defs%3E%3Ctitle%3Earrows%3C/title%3E%3Cpath d=%27M0 0h4.95v10H0z%27 style=%27fill:%23fff%27/%3E%3Cpath d=%27m1.41 4.67 1.07-1.49 1.06 1.49zM3.54 5.33 2.48 6.82 1.41 5.33z%27 class=%27cls-2%27/%3E%3C/svg%3E"},442:t=>{t.exports=e}},o={};function n(e){var r=o[e];if(void 0!==r)return r.exports;var i=o[e]={id:e,exports:{}};return t[e](i,i.exports,n),i.exports}n.m=t,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.b=document.baseURI||self.location.href,n.nc=void 0;var r={};n.r(r),n.d(r,{Jodit:()=>lO,default:()=>cO});var i={};n.r(i),n.d(i,{ACCURACY:()=>Gt,APP_VERSION:()=>st,BASE_PATH:()=>yo,BASE_PATH_IS_MIN:()=>_o,BR:()=>Xt,CLIPBOARD_ID:()=>ko,COMMAND_KEYS:()=>Jt,EMULATE_DBLCLICK_TIMEOUT:()=>ao,ES:()=>ct,FAT_MODE:()=>ht,HOMEPAGE:()=>vt,INSEPARABLE_TAGS:()=>Pt,INSERT_AS_HTML:()=>lo,INSERT_AS_TEXT:()=>co,INSERT_CLEAR_HTML:()=>so,INSERT_ONLY_TEXT:()=>uo,INVISIBLE_SPACE:()=>bt,INVISIBLE_SPACE_REG_EXP:()=>_t,INVISIBLE_SPACE_REG_EXP_END:()=>jt,INVISIBLE_SPACE_REG_EXP_START:()=>wt,IS_BLOCK:()=>zt,IS_ES_MODERN:()=>ut,IS_ES_NEXT:()=>dt,IS_IE:()=>to,IS_INLINE:()=>Et,IS_MAC:()=>po,IS_PROD:()=>ft,IS_TEST:()=>pt,KEY_ALIASES:()=>ho,KEY_ALT:()=>Nt,KEY_BACKSPACE:()=>Lt,KEY_DELETE:()=>Ut,KEY_DOWN:()=>Vt,KEY_ENTER:()=>Bt,KEY_ESC:()=>Dt,KEY_F3:()=>Yt,KEY_LEFT:()=>Ht,KEY_META:()=>At,KEY_RIGHT:()=>qt,KEY_SPACE:()=>Wt,KEY_TAB:()=>Mt,KEY_UP:()=>Ft,LIST_TAGS:()=>Tt,MARKER_CLASS:()=>io,MODE_SOURCE:()=>$t,MODE_SPLIT:()=>eo,MODE_WYSIWYG:()=>Qt,NBSP_SPACE:()=>yt,NEARBY:()=>Kt,NO_EMPTY_TAGS:()=>Rt,PARAGRAPH:()=>Zt,PASSIVE_EVENTS:()=>xo,SAFE_COUNT_CHANGE_CALL:()=>fo,SET_TEST:()=>gt,SOURCE_CONSUMER:()=>So,SPACE_REG_EXP:()=>kt,SPACE_REG_EXP_END:()=>xt,SPACE_REG_EXP_START:()=>St,TEMP_ATTR:()=>jo,TEXT_HTML:()=>no,TEXT_PLAIN:()=>oo,TEXT_RTF:()=>ro,TOKENS:()=>mt,globalDocument:()=>Ct,globalWindow:()=>Ot,lang:()=>wo});var a={};n.r(a),n.d(a,{$$:()=>Yr,CamelCaseToKebabCase:()=>Sn,ConfigDeepFlatten:()=>gr,ConfigFlatten:()=>vr,ConfigProto:()=>hr,ConnectionError:()=>zr,LimitedStack:()=>ti,NUMBER_FIELDS_REG:()=>xn,OptionsError:()=>Ar,abort:()=>jr,alignElement:()=>Rn,alreadyLoadedList:()=>Ln,appendScriptAsync:()=>Bn,appendStyleAsync:()=>Dn,applyStyles:()=>xi,asArray:()=>wi,assert:()=>Kn,attr:()=>Gn,browser:()=>Jn,buildQuery:()=>Xn,call:()=>ir,callPromise:()=>lr,camelCase:()=>zn,cleanFromWord:()=>Oi,clearAlign:()=>Pn,clearCenterAlign:()=>Tn,clearTimeout:()=>mi,cns:()=>qr,colorToHex:()=>wn,completeUrl:()=>An,connection:()=>Mr,convertMediaUrlToVideoEmbed:()=>br,css:()=>En,cssPath:()=>Jr,ctrlKey:()=>yr,dataBind:()=>nr,defaultLanguage:()=>_r,error:()=>Lr,fastClone:()=>tr,fuzzySearchIndex:()=>Gi,get:()=>Ao,getClassName:()=>Nr,getContentWidth:()=>qi,getDataTransfer:()=>dr,getScrollParent:()=>Vi,getXPathByElement:()=>Kr,hAlignElement:()=>In,hasBrowserColorPicker:()=>Do,hasContainer:()=>Jo,htmlspecialchars:()=>Ci,humanSizeToBytes:()=>Hr,i18n:()=>Zi,inView:()=>Qr,innerWidth:()=>Wi,isAbort:()=>wr,isAbortError:()=>No,isArray:()=>To,isAtom:()=>$n,isBoolean:()=>Ho,isDestructable:()=>Go,isEqual:()=>Vo,isFastEqual:()=>Wo,isFunction:()=>Oo,isHTML:()=>Uo,isHtmlFromWord:()=>Yo,isInitable:()=>Ko,isInt:()=>Zo,isJoditObject:()=>$o,isLicense:()=>en,isMarker:()=>tn,isNativeFunction:()=>Eo,isNumber:()=>on,isNumeric:()=>Xo,isPlainObject:()=>rn,isPromise:()=>an,isSet:()=>ln,isString:()=>Io,isStringArray:()=>Po,isURL:()=>sn,isValidName:()=>cn,isViewObject:()=>un,isVoid:()=>Ro,isWindow:()=>nn,kebabCase:()=>kn,keepNames:()=>Dr,keys:()=>cr,loadImage:()=>sr,loadNext:()=>Nn,loadNextStyle:()=>Hn,markAsAtomic:()=>er,markDeprecated:()=>Vr,markOwner:()=>ar,memorizeExec:()=>ur,nl2br:()=>zi,normalizeColor:()=>Li,normalizeCssNumericValue:()=>On,normalizeCssValue:()=>Cn,normalizeKeyAliases:()=>Mi,normalizeLicense:()=>Bi,normalizePath:()=>Di,normalizeRelativePath:()=>Ni,normalizeSize:()=>Hi,normalizeUrl:()=>Fi,offset:()=>Yi,options:()=>Br,parseQuery:()=>mr,position:()=>Ki,previewBox:()=>Zr,refs:()=>Gr,reset:()=>Mo,resolveElement:()=>Xr,safeHTML:()=>Ei,sanitizeHTMLElement:()=>Ti,scrollIntoViewIfNeeded:()=>$r,set:()=>ei,setTimeout:()=>gi,size:()=>Ui,splitArray:()=>ki,sprintf:()=>Xi,stringify:()=>qo,stripTags:()=>Ai,toArray:()=>Bo,trim:()=>dn,trimChars:()=>fn,trimInv:()=>pn,ucfirst:()=>Ji});var l={};n.r(l),n.d(l,{autobind:()=>Co,cache:()=>li,cacheHTML:()=>si,cached:()=>ai,component:()=>pi,debounce:()=>Ha,derive:()=>Wa,getPropertyDescriptor:()=>ha,hook:()=>Ua,idle:()=>Ka,nonenumerable:()=>Ga,persistent:()=>Ja,throttle:()=>Fa,wait:()=>Za,watch:()=>va});var s={};n.r(s),n.d(s,{required:()=>zs,url:()=>Es});var c={};n.r(c),n.d(c,{Ajax:()=>il,Alert:()=>_d,Async:()=>ji,Button:()=>as,CommitStyle:()=>_h,Component:()=>Ra,Confirm:()=>jd,ContextMenu:()=>Td,Create:()=>Uc,Dialog:()=>yd,Dom:()=>ii,EventEmitter:()=>ca,EventHandlersStore:()=>aa,Eventify:()=>vn,FileBrowser:()=>Mf,Helpers:()=>a,History:()=>np,Icon:()=>sl,ImageEditor:()=>cf,LazyWalker:()=>jn,Plugin:()=>Vf,PluginSystem:()=>ra,Popup:()=>Dc,ProgressBar:()=>Wc,Prompt:()=>wd,Response:()=>tl,STATUSES:()=>zo,Selection:()=>xh,Snapshot:()=>Xf,StatusBar:()=>cp,Table:()=>mp,ToolbarButton:()=>Lu,ToolbarCollection:()=>ku,ToolbarContent:()=>Fu,ToolbarEditorCollection:()=>$u,ToolbarSelect:()=>Ku,UIBlock:()=>Cs,UIButton:()=>is,UIButtonGroup:()=>fs,UIButtonState:()=>rs,UICheckbox:()=>yc,UIElement:()=>gl,UIFileInput:()=>Oc,UIForm:()=>ec,UIGroup:()=>Ol,UIInput:()=>Ns,UIList:()=>Zl,UIMessages:()=>au,UISelect:()=>Gs,UISeparator:()=>Il,UISpacer:()=>Ml,UITextArea:()=>cc,UITooltip:()=>ws,Uploader:()=>
1Pp,View:()=>vu,ViewComponent:()=>Na,ViewWithToolbar:()=>ud,defaultNameSpace:()=>ia,observable:()=>_a});var u={};n.r(u),n.d(u,{angle_down:()=>qh,angle_left:()=>Vh,angle_right:()=>Wh,angle_up:()=>Uh,bin:()=>Yh,cancel:()=>Kh,center:()=>Gh,check:()=>Jh,chevron:()=>Xh,dots:()=>Zh,eye:()=>Qh,file:()=>$h,folder:()=>ev,info_circle:()=>tv,left:()=>ov,lock:()=>nv,ok:()=>rv,pencil:()=>iv,plus:()=>av,resize_handler:()=>lv,right:()=>sv,save:()=>cv,settings:()=>uv,unlock:()=>dv,update:()=>fv,upload:()=>pv,valign:()=>hv});var d={};n.r(d),n.d(d,{removeExtraBr:()=>Sm});var f={};n.r(f),n.d(f,{checkBlockNesting:()=>xm});var p={};n.r(p),n.d(p,{allowAttributes:()=>hb,fillEmptyParagraph:()=>gb,removeEmptyTextNode:()=>mb,removeInvTextNodes:()=>bb,replaceOldTags:()=>yb,sanitizeAttributes:()=>_b,tryRemoveNode:()=>jb});var h={};n.r(h),n.d(h,{ar:()=>Rb,cs_cz:()=>Ab,de:()=>Lb,es:()=>Mb,fa:()=>Bb,fi:()=>Db,fr:()=>Nb,he:()=>Hb,hu:()=>Fb,id:()=>qb,it:()=>Vb,ja:()=>Wb,ko:()=>Ub,mn:()=>Yb,nl:()=>Kb,pl:()=>Gb,pt_br:()=>Jb,ru:()=>Xb,tr:()=>Zb,zh_cn:()=>
1Qb,zh_tw:()=>$b});var v={};n.r(v),n.d(v,{default:()=>B_});var g={};n.r(g),n.d(g,{default:()=>D_});var m={};n.r(m),n.d(m,{default:()=>N_});var b={};n.r(b),n.d(b,{default:()=>H_});var y={};n.r(y),n.d(y,{default:()=>F_});var _={};n.r(_),n.d(_,{default:()=>q_});var j={};n.r(j),n.d(j,{default:()=>V_});var w={};n.r(w),n.d(w,{default:()=>W_});var k={};n.r(k),n.d(k,{default:()=>U_});var S={};n.r(S),n.d(S,{default:()=>Y_});var x={};n.r(x),n.d(x,{default:()=>K_});var O={};n.r(O),n.d(O,{default:()=>G_});var C={};n.r(C),n.d(C,{default:()=>J_});var z={};n.r(z),n.d(z,{default:()=>X_});var E={};n.r(E),n.d(E,{default:()=>Z_});var T={};n.r(T),n.d(T,{default:()=>Q_});var I={};n.r(I),n.d(I,{default:()=>$_});var P={};n.r(P),n.d(P,{default:()=>ej});var R={};n.r(R),n.d(R,{default:()=>tj});var A={};n.r(A),n.d(A,{default:()=>oj});var L={};n.r(L),n.d(L,{default:()=>nj});var M={};n.r(M),n.d(M,{default:()=>rj});var B={};n.r(B),n.d(B,{ar:()=>v,cs_cz:()=>g,de:()=>m,es:()=>b,fa:()=>y,fi:()=>_,fr:()=>j,he:()=>w,hu:()=>k,id:()=>S,it:()=>x,ja:()=>O,ko:()=>C,mn:()=>z,nl:()=>E,pl:()=>T,pt_br:()=>I,ru:()=>P,tr:()=>R,ua:()=>A,zh_cn:()=>L,zh_tw:()=>M});var D={};n.r(D),n.d(D,{default:()=>zk});var N={};n.r(N),n.d(N,{default:()=>Ek});var H={};n.r(H),n.d(H,{default:()=>Tk});var F={};n.r(F),n.d(F,{default:()=>Ik});var q={};n.r(q),n.d(q,{default:()=>Pk});var V={};n.r(V),n.d(V,{default:()=>Rk});var W={};n.r(W),n.d(W,{default:()=>Ak});var U={};n.r(U),n.d(U,{default:()=>Lk});var Y={};n.r(Y),n.d(Y,{default:()=>Mk});var K={};n.r(K),n.d(K,{default:()=>Bk});var G={};n.r(G),n.d(G,{default:()=>Dk});var J={};n.r(J),n.d(J,{default:()=>Nk});var X={};n.r(X),n.d(X,{default:()=>Hk});var Z={};n.r(Z),n.d(Z,{default:()=>Fk});var Q={};n.r(Q),n.d(Q,{default:()=>qk});var $={};n.r($),n.d($,{default:()=>Vk});var ee={};n.r(ee),n.d(ee,{default:()=>Wk});var te={};n.r(te),n.d(te,{default:()=>Uk});var oe={};n.r(oe),n.d(oe,{default:()=>Yk});var ne={};n.r(ne),n.d(ne,{default:()=>Kk});var re={};n.r(re),n.d(re,{default:()=>Gk});var ie={};n.r(ie),n.d(ie,{default:()=>Jk});var ae={};n.r(ae),n.d(ae,{default:()=>Xk});var le={};n.r(le),n.d(le,{ar:()=>D,cs_cz:()=>N,de:()=>H,es:()=>F,fa:()=>q,fi:()=>V,fr:()=>W,he:()=>U,hu:()=>Y,id:()=>K,it:()=>G,ja:()=>J,ko:()=>X,mn:()=>Z,nl:()=>Q,no:()=>$,pl:()=>ee,pt_br:()=>te,ru:()=>oe,tr:()=>ne,ua:()=>re,zh_cn:()=>ie,zh_tw:()=>ae});var se={};n.r(se),n.d(se,{default:()=>fS});var ce={};n.r(ce),n.d(ce,{default:()=>pS});var ue={};n.r(ue),n.d(ue,{default:()=>hS});var de={};n.r(de),n.d(de,{default:()=>vS});var fe={};n.r(fe),n.d(fe,{default:()=>gS});var pe={};n.r(pe),n.d(pe,{default:()=>mS});var he={};n.r(he),n.d(he,{default:()=>bS});var ve={};n.r(ve),n.d(ve,{default:()=>yS});var ge={};n.r(ge),n.d(ge,{default:()=>_S});var me={};n.r(me),n.d(me,{default:()=>jS});var be={};n.r(be),n.d(be,{default:()=>wS});var ye={};n.r(ye),n.d(ye,{default:()=>kS});var _e={};n.r(_e),n.d(_e,{default:()=>SS});var je={};n.r(je),n.d(je,{default:()=>xS});var we={};n.r(we),n.d(we,{default:()=>OS});var ke={};n.r(ke),n.d(ke,{default:()=>CS});var Se={};n.r(Se),n.d(Se,{default:()=>zS});var xe={};n.r(xe),n.d(xe,{default:()=>ES});var Oe={};n.r(Oe),n.d(Oe,{default:()=>TS});var Ce={};n.r(Ce),n.d(Ce,{default:()=>IS});var ze={};n.r(ze),n.d(ze,{default:()=>PS});var Ee={};n.r(Ee),n.d(Ee,{default:()=>RS});var Te={};n.r(Te),n.d(Te,{ar:()=>se,cs_cz:()=>ce,de:()=>ue,es:()=>de,fa:()=>fe,fi:()=>pe,fr:()=>he,he:()=>ve,hu:()=>ge,id:()=>me,it:()=>be,ja:()=>ye,ko:()=>_e,mn:()=>je,nl:()=>we,pl:()=>ke,pt_br:()=>Se,ru:()=>xe,tr:()=>Oe,ua:()=>Ce,zh_cn:()=>ze,zh_tw:()=>Ee});var Ie={};n.r(Ie),n.d(Ie,{default:()=>YS});var Pe={};n.r(Pe),n.d(Pe,{default:()=>KS});var Re={};n.r(Re),n.d(Re,{en:()=>Ie,es:()=>Pe});var Ae={};n.r(Ae),n.d(Ae,{default:()=>Tx});var Le={};n.r(Le),n.d(Le,{default:()=>Ix});var Me={};n.r(Me),n.d(Me,{default:()=>Px});var Be={};n.r(Be),n.d(Be,{default:()=>Rx});var De={};n.r(De),n.d(De,{default:()=>Ax});var Ne={};n.r(Ne),n.d(Ne,{default:()=>Lx});var He={};n.r(He),n.d(He,{default:()=>Mx});var Fe={};n.r(Fe),n.d(Fe,{default:()=>Bx});var qe={};n.r(qe),n.d(qe,{default:()=>Dx});var Ve={};n.r(Ve),n.d(Ve,{default:()=>Nx});var We={};n.r(We),n.d(We,{default:()=>Hx});var Ue={};n.r(Ue),n.d(Ue,{default:()=>Fx});var Ye={};n.r(Ye),n.d(Ye,{default:()=>qx});var Ke={};n.r(Ke),n.d(Ke,{default:()=>Vx});var Ge={};n.r(Ge),n.d(Ge,{default:()=>Wx});var Je={};n.r(Je),n.d(Je,{default:()=>Ux});var Xe={};n.r(Xe),n.d(Xe,{default:()=>Yx});var Ze={};n.r(Ze),n.d(Ze,{default:()=>Kx});var Qe={};n.r(Qe),n.d(Qe,{default:()=>Gx});var $e={};n.r($e),n.d($e,{default:()=>Jx});var et={};n.r(et),n.d(et,{default:()=>Xx});var tt={};n.r(tt),n.d(tt,{default:()=>Zx});var ot={};n.r(ot),n.d(ot,{default:()=>Qx});var nt={};n.r(nt),n.d(nt,{ar:()=>Ae,cs_cz:()=>Le,de:()=>Me,es:()=>Be,fa:()=>De,fi:()=>Ne,fr:()=>He,he:()=>Fe,hu:()=>qe,id:()=>Ve,it:()=>We,ja:()=>Ue,ko:()=>Ye,mn:()=>Ke,nl:()=>Ge,no:()=>Je,pl:()=>Xe,pt_br:()=>Ze,ru:()=>Qe,tr:()=>$e,ua:()=>et,zh_cn:()=>tt,zh_tw:()=>ot});var rt=n(442),it=n.n(rt);function at(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}var lt,st="4.7.9",ct="es2020",ut=!0,dt=!0,ft=!0,pt=!1,ht=!0,vt="https://xdsoft.net/jodit/",gt=function(){return pt=!0},mt={},bt="\ufeff",yt="\xa0",_t=function(){return/[\uFEFF]/g},jt=function(){return/[\uFEFF]+$/g},wt=function(){return/^[\uFEFF]+/g},kt=function(){return/[\s\n\t\r\uFEFF\u200b]+/g},St=function(){return/^[\s\n\t\r\uFEFF\u200b]+/g},xt=function(){return/[\s\n\t\r\uFEFF\u200b]+$/g},Ot="undefined"!=typeof window?window:void 0,Ct="undefined"!=typeof document?document:void 0,zt=/^(ADDRESS|ARTICLE|ASIDE|BLOCKQUOTE|CANVAS|DD|DFN|DIV|DL|DT|FIELDSET|FIGCAPTION|FIGURE|FOOTER|FORM|H[1-6]|HEADER|HGROUP|HR|LI|MAIN|NAV|NOSCRIPT|OUTPUT|P|PRE|RUBY|SCRIPT|STYLE|OBJECT|OL|SECTION|IFRAME|JODIT|JODIT-MEDIA|UL|TR|TD|TH|TBODY|THEAD|TFOOT|TABLE|BODY|HTML|VIDEO)$/i,Et=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,Tt=new Set(["ul","ol"]),It=["img","video","svg","iframe","script","input","textarea","link","jodit","jodit-media"],Pt=new Set((lt=It,function(e){if(Array.isArray(e))return at(e)}(lt)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(lt)||function(e,t){if(e){if("string"==typeof e)return at(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?at(e,t):void 0}}(lt)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat(["br","hr"])),Rt=new Set(It),At="Meta",Lt="Backspace",Mt="Tab",Bt="Enter",Dt="Escape",Nt="Alt",Ht="ArrowLeft",Ft="ArrowUp",qt="ArrowRight",Vt="ArrowDown",Wt="Space",Ut="Delete",Yt="F3",Kt=5,Gt=10,Jt=[At,Lt,Ut,Ft,Vt,qt,Ht,Bt,Dt,Yt,Mt],Xt="br",Zt="p",Qt=1,$t=2,eo=3,to="undefined"!=typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),oo=to?"text":"text/plain",no=to?"html":"text/html",ro=to?"rtf":"text/rtf",io="jodit-selection_marker",ao=300,lo="insert_as_html",so="insert_clear_html",co="insert_as_text",uo="insert_only_text",fo=10,po=void 0!==Ot&&/Mac|iPod|iPhone|iPad/.test(Ot.navigator.platform),ho={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:po?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:"space",spacebar:"space",up:"arrowup",win:"meta",windows:"meta"},vo=function(e){var t=e.split("/"),o=!1;return/\.js/.test(t[t.length-1])?{basePath:t.slice(0,t.length-1).join("/")+"/",isMin:o}:{basePath:e,isMin:o}},go=function(){if("undefined"==typeof document)return{basePath:"",isMin:Boolean(!1)};var e=Ct.currentScript;if(e)return vo(e.src);var t=Ct.querySelectorAll("script[src]");return t&&t.length?vo(t[t.length-1].src):vo(Ot.location.href)}(),mo=go.basePath,bo=go.isMin,yo=mo,_o=bo,jo="data-jodit-temp",wo={},ko="clipboard",So="source-consumer",xo=new Set(["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"]);function Oo(e){return"function"==typeof e}function Co(e,t,o){if(!Oo(o.value))throw new TypeError('@autobind can only be applied to methods, but "'.concat(t,'" is not a function'));var n=o.value;return{configurable:!0,get:function(){var e=n.bind(this);return Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0}),e}}}var zo={beforeInit:"beforeInit",ready:"ready",beforeDestruct:"beforeDestruct",destructed:"destructed"};function Eo(e){return Boolean(e)&&"function"===(void 0===e?"undefined":(t=e,t&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)).toLowerCase()&&(e===Function.prototype||/^\s*function\s*(\b[a-z$_][a-z0-9$_]*\b)*\s*\((|([a-z$_][a-z0-9$_]*)(\s*,[a-z$_][a-z0-9$_]*)*)\)\s*{\s*\[native code]\s*}\s*$/i.test(String(e)));var t}function To(e){return Array.isArray(e)}function Io(e){return"string"==typeof e}function Po(e){return To(e)&&Io(e[0])}function Ro(e){return null==e}function Ao(e,t){if(!Io(e)||!e.length)return null;var o=e.split("."),n=t;try{var r=!0,i=!1,a=void 0;try{for(var l,s=o[Symbol.iterator]();!(r=(l=s.next()).done);r=!0){var c=l.value;if(Ro(n[c]))return null;n=n[c]}}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}}catch(e){return null}return Ro(n)?null:n}var Lo={};function Mo(e){var t,o;if(!(e in Lo)){var n=Ct.createElement("iframe");try{if(n.src="about:blank",Ct.body.appendChild(n),!n.contentWindow)return null;var r=Ao(e,n.contentWindow),i=Ao(e.split(".").slice(0,-1).join("."),n.contentWindow);Oo(r)&&(Lo[e]=r.bind(i))}catch(e){if(!ft)throw e}finally{null===(t=n.parentNode)||void 0===t||t.removeChild(n)}}return null!==(o=Lo[e])&&void 0!==o?o:null}var Bo=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];var n;return(Eo(Array.from)?Array.from:null!==(n=Mo("Array.from"))&&void 0!==n?n:Array.from).apply(Array,t)};function Do(){var e=!0;try{var t=Ct.createElement("input");t.type="color",t.value="!",e="color"===t.type&&"!"!==t.value}catch(t){e=!1}return e}function No(e){return Boolean(e)&&(t=e,null!=(o=DOMException)&&"undefined"!=typeof Symbol&&o[Symbol.hasInstance]?!!o[Symbol.hasInstance](t):t instanceof o)&&"AbortError"===e.name;var t,o}function Ho(e){return"boolean"==typeof e}function Fo(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function qo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("object"!==(void 0===e?"undefined":Fo(e)))return String(e);var o=new Set(t.excludeKeys),n=new WeakMap;
1return JSON.stringify(e,function(e,t){if(!o.has(e)){if("object"===(void 0===t?"undefined":Fo(t))&&null!=t){if(n.get(t))return"[refObject]";n.set(t,!0)}return t}},t.prettify)}function Vo(e,t){return e===t||qo(e)===qo(t)}function Wo(e,t){return e===t}var Uo=function(e){return Io(e)&&/<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(e.replace(/[\r\n]/g,""))};function Yo(e){return-1!==e.search(/<meta.*?Microsoft Excel\s[\d].*?>/)||-1!==e.search(/<meta.*?Microsoft Word\s[\d].*?>/)||-1!==e.search(/style="[^"]*mso-/)&&-1!==e.search(/<font/)}function Ko(e){return!Ro(e)&&Oo(e.init)}function Go(e){return!Ro(e)&&Oo(e.destruct)}function Jo(e){return!Ro(e)&&ii.isElement(e.container)}function Xo(e){if(Io(e)){if(!e.match(/^([+-])?[0-9]+(\.?)([0-9]+)?(e[0-9]+)?$/))return!1;e=parseFloat(e)}return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function Zo(e){return Io(e)&&Xo(e)&&(e=parseFloat(e)),"number"==typeof e&&Number.isFinite(e)&&!(e%1)}function Qo(e,t){return null!=t&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function $o(e){return Boolean(e&&Qo(e,Object)&&Oo(e.constructor)&&("undefined"!=typeof Jodit&&Qo(e,Jodit)||e.isJodit))}var en=function(e){return Io(e)&&23===e.length&&/^[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}$/i.test(e)};function tn(e){return ii.isNode(e)&&ii.isTag(e,"span")&&e.hasAttribute("data-"+io)}function on(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function nn(e){return null!=e&&e===e.window}function rn(e){return!(!e||"object"!==(void 0===e?"undefined":function(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}(e))||e.nodeType||nn(e)||e.constructor&&!{}.hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))}function an(e){return e&&"function"==typeof e.then}function ln(e){return Boolean(e)&&Oo(e.has)&&Oo(e.add)&&Oo(e.delete)}function sn(e){if(e.includes(" "))return!1;if("undefined"!=typeof URL)try{var t=new URL(e);return["https:","http:","ftp:","file:","rtmp:"].includes(t.protocol)}catch(e){return!1}var o=Ct.createElement("a");return o.href=e,Boolean(o.hostname)}function cn(e){return!!e.length&&!/[^0-9A-Za-z\u0430-\u044f\u0410-\u042f\u0401\u0451\w\-_. ]/.test(e)&&e.trim().length>0}function un(e){return Boolean(e&&(t=e,null!=(o=Object)&&"undefined"!=typeof Symbol&&o[Symbol.hasInstance]?!!o[Symbol.hasInstance](t):t instanceof o)&&Oo(e.constructor)&&e.isView);var t,o}function dn(e){return e.replace(xt(),"").replace(St(),"")}function fn(e,t){return e.replace(RegExp("[".concat(t,"]+$")),"").replace(RegExp("^[".concat(t,"]+")),"")}function pn(e){return e.replace(jt(),"").replace(wt(),"")}function hn(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}var vn=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.__map=new Map}var t;return t=[{key:"on",value:function(e,t){var o;return this.__map.has(e)||this.__map.set(e,new Set),null===(o=this.__map.get(e))||void 0===o||o.add(t),this}},{key:"off",value:function(e,t){var o;return this.__map.has(e)&&(null===(o=this.__map.get(e))||void 0===o||o.delete(t)),this}},{key:"destruct",value:function(){this.__map.clear()}},{key:"emit",value:function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];var r,i;return this.__map.has(e)&&(null===(r=this.__map.get(e))||void 0===r||r.forEach(function(e){i=e.apply(void 0,function(e){return function(e){if(Array.isArray(e))return hn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return hn(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?hn(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}
1(o))})),i}}],t&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}();function gn(e,t,o){return gn="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=mn(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},gn(e,t,o||e)}function mn(e){return mn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},mn(e)}function bn(e,t){return bn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},bn(e,t)}function yn(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function _n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_n=function(){return!!e})()}var jn=function(e){function t(e){var o,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=function(e,t,o){return t=mn(t),function(e,t){return!t||"object"!==yn(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,_n()?Reflect.construct(t,[],mn(e).constructor):t.apply(e,o))}(this,t)).async=e,o.options=n,o.workNodes=null,o.hadAffect=!1,o.isWorked=!1,o.isFinished=!1,o.idleId=0,o.__schedulerController=null,o}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bn(e,t)}(t,e),(o=[{key:"setWork",value:function(e){return this.isWorked&&this.break(),this.workNodes=ii.eachGen(e,!this.options.reverse),this.isFinished=!1,this._requestStarting(),this}},{key:"_requestStarting",value:function(){this.__schedulerController=new AbortController,this.async.schedulerPostTask(this.__workPerform,{delay:this.options.timeout,signal:this.__schedulerController.signal}).catch(function(){return null})}},{key:"break",value:function(e){this.isWorked&&(this.stop(),this.emit("break",e))}},{key:"end",value:function(){this.isWorked&&(this.stop(),this.emit("end",this.hadAffect),this.hadAffect=!1)}},{key:"stop",value:function(){this.isWorked=!1,this.isFinished=!0,this.workNodes=null,this.async.cancelIdleCallback(this.idleId)}},{key:"destruct",value:function(){gn(mn(t.prototype),"destruct",this).call(this),this.stop()}},{key:"__workPerform",value:function(){var e;if(this.workNodes){this.isWorked=!0;for(var t=0,o=null!==(e=this.options.timeoutChunkSize)&&void 0!==e?e:50;!this.isFinished&&t<=o;){var n=this.workNodes.next();if(t+=1,this.visitNode(n.value)&&(this.hadAffect=!0),n.done)return void this.end()}}else this.end();this.isFinished||this._requestStarting()}},{key:"visitNode",value:function(e){var t;return!(!e||void 0!==this.options.whatToShow&&e.nodeType!==this.options.whatToShow)&&null!==(t=this.emit("visit",e))&&void 0!==t&&t}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(vn);!function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":yn(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);i>3&&a&&Object.defineProperty(t,o,a)}([Co],jn.prototype,"__workPerform",null);var wn=function(e){if("rgba(0, 0, 0, 0)"===e||""===e)return!1;if(!e)return"#000000";if("#"===e.substr(0,1))return e;var t=/([\s\n\t\r]*?)rgb\((\d+), (\d+), (\d+)\)/.exec(e)||/([\s\n\t\r]*?)rgba\((\d+), (\d+), (\d+), ([\d.]+)\)/.exec(e);if(!t)return"#000000";for(var o=parseInt(t[2],10),n=parseInt(t[3],10),r=(parseInt(t[4],10)|n<<8|o<<16).toString(16).toUpperCase();r.length<6;)r="0"+r;return t[1]+"#"+r},kn=function(e){return e.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()},Sn=function(e){return e.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},xn=/^(left|top|bottom|right|width|min|max|height|margin|padding|fontsize|font-size)/i;function On(e,t){return!Ro(t)&&xn.test(e)&&Xo(t.toString())?parseInt(t.toString(),10)+"px":t}function Cn(e,t){if("font-weight"===kn(e)){switch(t.toString().toLowerCase()){case"700":case"bold":return 700;case"400":case"normal":return 400;case"900":case"heavy":return 900}return Xo(t)?Number(t):t}return/color/i.test(e)&&/^rgb/i.test(t.toString())&&wn(t.toString())||t}var zn=function(e){return e.replace(/([-_])(.)/g,function(e,t,o){return o.toUpperCase()})};function En(e,t,o){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(Ho(o)&&(n=o,o=void 0),rn(t)||void 0!==o){var r=function(e,t,o){void 0===(o=On(t,o))||null!=o&&En(e,t,!0)===Cn(t,o)||(e.style[t]=o)};if(rn(t))for(var i=Object.keys(t),a=0;a<i.length;a+=1)r(e,zn(i[a]),t[i[a]]);else r(e,zn(t),o);return""}var l=kn(t),s=e.ownerDocument||document,c=!!s&&(s.defaultView||s.parentWindow),u=e.style[t],d="";return void 0!==u&&""!==u?d=u:c&&!n&&(d=c.getComputedStyle(e).getPropertyValue(l)),xn.test(t)&&/^[-+]?[0-9.]+px$/.test(d.toString())&&
1(d=parseInt(d.toString(),10)),Cn(t,d)}var Tn=function(e){"block"===En(e,"display")&&En(e,"display","");var t=e.style;"auto"===t.marginLeft&&"auto"===t.marginRight&&(t.marginLeft="",t.marginRight="")};function In(e,t){t&&"normal"!==t?"center"!==t?(En(e,"float",t),Tn(e)):En(e,{float:"",display:"block",marginLeft:"auto",marginRight:"auto"}):(En(e,"float")&&-1!==["right","left"].indexOf(En(e,"float").toString().toLowerCase())&&En(e,"float",""),Tn(e))}function Pn(e){ii.each(e,function(e){ii.isHTMLElement(e)&&e.style.textAlign&&(e.style.textAlign="",e.style.cssText.trim().length||e.removeAttribute("style"))})}function Rn(e,t){if(ii.isNode(t)&&ii.isElement(t))switch(Pn(t),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"}}var An=function(e){return"file:"===Ot.location.protocol&&/^\/\//.test(e)&&(e="https:"+e),e},Ln=new Map,Mn=function(e){return function(t,o){if(Ln.has(o))return Ln.get(o);var n=e(t,o);return Ln.set(o,n),n}},Bn=Mn(function(e,t){return e.async.promise(function(o,n){if(e.isInDestruct)return n();var r=e.c.element("script",{type:"text/javascript",crossorigin:"anonymous",referrerpolicy:"no-referrer",async:!0,src:An(t)});e.e.one(r,"error",n).one(r,"load",o),e.od.body.appendChild(r)})}),Dn=Mn(function(e,t){return e.async.promise(function(o,n){if(e.isInDestruct)return n();var r=e.c.element("link");r.rel="stylesheet",r.media="all",r.crossOrigin="anonymous",!e.isInDestruct&&e.e.on(r,"load",function(){return o(r)}).on(r,"error",n),r.href=An(t),e.o.shadowRoot?e.o.shadowRoot.appendChild(r):e.od.body.appendChild(r)})});function Nn(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Io(t[o])?Bn(e,t[o]).then(function(){return Nn(e,t,o+1)}):Promise.resolve()}function Hn(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Io(t[o])?Dn(e,t[o]).then(function(){return Hn(e,t,o+1)}):Promise.resolve()}function Fn(e,t,o){return Fn=Un()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&Vn(r,o.prototype),r},Fn.apply(null,arguments)}function qn(e){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},qn(e)}function Vn(e,t){return Vn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Vn(e,t)}function Wn(e){var t="function"==typeof Map?new Map:void 0;return Wn=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return Fn(e,arguments,qn(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Vn(n,e)},Wn(e)}function Un(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Un=function(){return!!e})()}var Yn=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=function(e,t,o){return t=qn(t),function(e,t){return!t||"object"!=((o=t)&&"undefined"!=typeof Symbol&&o.constructor===Symbol?"symbol":typeof o)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t;var o}(e,Un()?Reflect.construct(t,o||[],qn(e).constructor):t.apply(e,o))}(this,t,[e])).name="AssertionError",o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vn(e,t)}(t,e),t}(Wn(Error));function Kn(e,t){if(!e)throw new Yn("Assertion failed: ".concat(t))}function Gn(e,t,o){if(!e||!Oo(e.getAttribute))return null;if(!Io(t))return Object.keys(t).forEach(function(o){var n=t[o];rn(n)&&"style"===o?En(e,n):("className"===o&&(o="class"),Gn(e,o,n))}),null;var n=Sn(t);if(/^-/.test(n)){var r=Gn(e,"data".concat(n));if(r)return r;n=n.substr(1)}if(void 0!==o){if(null!=o){var i=o.toString();return"IMG"!==e.nodeName||"width"!==n&&"height"!==n||(i=i.replace("px","")),e.setAttribute(n,i),i}e.hasAttribute(n)&&e.removeAttribute(n)}return e.getAttribute(n)}var Jn=function(e){var t=navigator.userAgent.toLowerCase(),o=/(firefox)[\s/]([\w.]+)/.exec(t)||/(chrome)[\s/]([\w.]+)/.exec(t)||/(webkit)[\s/]([\w.]+)/.exec(t)||/(opera)(?:.*version)[\s/]([\w.]+)/.exec(t)||/(msie)[\s]([\w.]+)/.exec(t)||/(trident)\/([\w.]+)/.exec(t)||t.indexOf("compatible")<0||[];return"version"===e?o[2]:"webkit"===e?"chrome"===o[1]||"webkit"===o[1]:"ff"===e?"firefox"===o[1]:"msie"===e?"trident"===o[1]||"msie"===o[1]:o[1]===e},Xn=function(e,t){var o=[],n=encodeURIComponent;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var i=t?t+"["+r+"]":r,a=e[r];o.push(rn(a)?Xn(a,i):n(i)+"="+n(a))}return o.join("&")},Zn={},Qn=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.cache=!0,this.defaultTimeout=100,this.namespace="",this.safeMode=!1,this.width="auto",this.height="auto",this.safePluginsList=["about","enter","backspace","size","bold","hotkeys"],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=Ct,this.ownerWindow=Ot,this.shadowRoot=null,this.zIndex=0,this.readonly=!1,this.disabled=!1,this.activeButtonsInReadOnly=["source","fullsize","print","about","dots","selectall"],this.allowCommandsInReadOnly=["selectall","preview","print"],this.toolbarButtonSize="middle",this.allowTabNavigation=!1,this.inline=!1,this.theme="default",this.saveModeInStorage=!1,this.editorClassName=!1,this.className=!1,this.style=!1,this.containerStyle=!1,this.styleValues={},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=200,this.useNativeTooltip=!1,this.defaultActionOnPaste=lo,this.enter=Zt,this.iframe=!1,this.editHTMLDocumentMode=!1,this.enterBlock="br"!==this.enter?this.enter
1:Zt,this.defaultMode=Qt,this.useSplitMode=!1,this.colors={greyscale:["#000000","#434343","#666666","#999999","#B7B7B7","#CCCCCC","#D9D9D9","#EFEFEF","#F3F3F3","#FFFFFF"],palette:["#980000","#FF0000","#FF9900","#FFFF00","#00F0F0","#00FFFF","#4A86E8","#0000FF","#9900FF","#FF00FF"],full:["#E6B8AF","#F4CCCC","#FCE5CD","#FFF2CC","#D9EAD3","#D0E0E3","#C9DAF8","#CFE2F3","#D9D2E9","#EAD1DC","#DD7E6B","#EA9999","#F9CB9C","#FFE599","#B6D7A8","#A2C4C9","#A4C2F4","#9FC5E8","#B4A7D6","#D5A6BD","#CC4125","#E06666","#F6B26B","#FFD966","#93C47D","#76A5AF","#6D9EEB","#6FA8DC","#8E7CC3","#C27BA0","#A61C00","#CC0000","#E69138","#F1C232","#6AA84F","#45818E","#3C78D8","#3D85C6","#674EA7","#A64D79","#85200C","#990000","#B45F06","#BF9000","#38761D","#134F5C","#1155CC","#0B5394","#351C75","#733554","#5B0F00","#660000","#783F04","#7F6000","#274E13","#0C343D","#1C4587","#073763","#20124D","#4C1130"]},this.colorPickerDefaultTab="background",this.imageDefaultWidth=300,this.removeButtons=[],this.disablePlugins=[],this.extraPlugins=[],this.extraButtons=[],this.extraIcons={},this.createAttributes={table:{style:"border-collapse:collapse;width: 100%;"}},this.sizeLG=900,this.sizeMD=700,this.sizeSM=400,this.buttons=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},{group:"font",buttons:[]},"---",{group:"script",buttons:[]},{group:"media",buttons:[]},"\n",{group:"state",buttons:[]},{group:"clipboard",buttons:[]},{group:"insert",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},{group:"form",buttons:[]},"---",{group:"history",buttons:[]},{group:"search",buttons:[]},{group:"source",buttons:[]},{group:"other",buttons:[]},{group:"info",buttons:[]}],this.events={},this.textIcons=!1,this.popupRoot=null,this.showBrowserColorPicker=!0,Object.assign(this,Zn)}var t;return(t=[{key:"defaultOptions",get:function(){return e.__defaultOptions||(e.__defaultOptions=new e),e.__defaultOptions}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e,t),e}();function $n(e){return e&&e.isAtom}function er(e){return Object.defineProperty(e,"isAtom",{enumerable:!1,value:!0,configurable:!1}),e}function tr(e){return JSON.parse(qo(e))}Zn=Qn.prototype,Qn.prototype.controls={};var or=new WeakMap,nr=function(e,t,o){var n=or.get(e);if(!n){n={},or.set(e,n);var r=null;un(e.j)&&(r=e.j.e),un(e)&&(r=e.e),r&&r.on("beforeDestruct",function(){or.delete(e)})}return void 0===o?n[t]:(n[t]=o,o)};function rr(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function ir(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];return e.apply(void 0,function(e){return function(e){if(Array.isArray(e))return rr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return rr(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?rr(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(o))}function ar(e,t){Gn(t,"data-editor_id",e.id),!t.component&&Object.defineProperty(t,"jodit",{value:e})}function lr(e,t){return an(e)?e.then(function(e){return e},function(){return null}).finally(t):null==t?void 0:t()}var sr=function(e,t){return t.async.promise(function(o,n){var r=new Image,i=function(){t.e.off(r),null==n||n()},a=function(){t.e.off(r),o(r)};t.e.one(r,"load",a).one(r,"error",i).one(r,"abort",i),r.src=e,r.complete&&a()})},cr=function(e){if(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])return Object.keys(e);var t=[];for(var o in e)t.push(o);return t},ur=function(e,t,o,n){var r,i=o.control,a="button".concat(i.command),l=null!==(r=i.args&&i.args[0])&&void 0!==r?r:nr(e,a);if(Ro(l))return!1;nr(e,a,l),n&&(l=n(l)),e.execCommand(i.command,!1,null!=l?l:void 0)},dr=function(e){if(e.clipboardData)return e.clipboardData;try{return e.dataTransfer||new DataTransfer}catch(e){return null}};function fr(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function pr(e){return function(e){if(Array.isArray(e))return fr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return fr(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?fr(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function hr(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(Object.getPrototypeOf(e)!==Object.prototype)return e;var n=Qn.defaultOptions;if(Io(e.preset)){if(void 0!==n.presets[e.preset]){var r=n.presets[e.preset];Object.keys(r).forEach(function(t){Ro(e[t])&&(e[t]=r[t])})}delete e.preset}var i={};return Object.keys(e).forEach(function(n){var r=e[n],a=t?t[n]:null;rn(r)&&rn(a)&&!$n(r)?i[n]=hr(r,a,o+1):0!==o&&To(r)&&!$n(r)&&To(a)?i[n]=pr(r).concat(pr(a.slice(r.length))):i[n]=r}),Object.setPrototypeOf(i,t),i}function vr(e){return cr(e,!1).reduce(function(t,o){return t[o]=e[o],t},{})}function gr(e){return cr(e,!1).reduce(function(t,o){return t[o]=rn(e[o])?gr(e[o]):e[o],t},{})}var mr=function(e){for(var t={},o=e.substring(1).split("&"),n=0;n<o.length;n+=1){var r=o[n].split("=");
1t[decodeURIComponent(r[0])]=decodeURIComponent(r[1]||"")}return t},br=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=t.width,n=void 0===o?400:o,r=t.height,i=void 0===r?345:r;if(!sn(e))return e;var a=Ct.createElement("a"),l=/(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(.+)/g;a.href=e,n||(n=400),i||(i=345);var s=a.protocol||"";switch(a.hostname){case"www.vimeo.com":case"vimeo.com":return l.test(e)?e.replace(l,'<iframe width="'+n+'" height="'+i+'" src="'+s+'//player.vimeo.com/video/$1" frameborder="0" allowfullscreen></iframe>'):e;case"youtube.com":case"www.youtube.com":case"youtu.be":case"www.youtu.be":var c=a.search?mr(a.search):{v:a.pathname.substring(1)};return/^embed\/.*/.test(c.v)&&(c.v=c.v.substring(6)),c.v?'<iframe width="'+n+'" height="'+i+'" src="'+s+"//www.youtube.com/embed/"+c.v+'" frameborder="0" allowfullscreen></iframe>':e}return e},yr=function(e){if("undefined"!=typeof navigator&&-1!==navigator.userAgent.indexOf("Mac OS X")){if(e.metaKey&&!e.altKey)return!0}else if(e.ctrlKey&&!e.altKey)return!0;return!1},_r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en";return"auto"!==e&&Io(e)?e:Ct.documentElement&&Ct.documentElement.lang?Ct.documentElement.lang:navigator.language?navigator.language.substring(0,2):t};function jr(){return new DOMException(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Aborted","AbortError")}var wr=No;function kr(e,t,o){return kr=Cr()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&xr(r,o.prototype),r},kr.apply(null,arguments)}function Sr(e){return Sr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Sr(e)}function xr(e,t){return xr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},xr(e,t)}function Or(e){var t="function"==typeof Map?new Map:void 0;return Or=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return kr(e,arguments,Sr(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),xr(n,e)},Or(e)}function Cr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Cr=function(){return!!e})()}var zr=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),o=function(e,t,o){return t=Sr(t),function(e,t){return!t||"object"!=((o=t)&&"undefined"!=typeof Symbol&&o.constructor===Symbol?"symbol":typeof o)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t;var o}(e,Cr()?Reflect.construct(t,o||[],Sr(e).constructor):t.apply(e,o))}(this,t,[e]),Object.setPrototypeOf(o,t.prototype),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xr(e,t)}(t,e),t}(Or(Error));function Er(e,t,o){return Er=Rr()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&Ir(r,o.prototype),r},Er.apply(null,arguments)}function Tr(e){return Tr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Tr(e)}function Ir(e,t){return Ir=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Ir(e,t)}function Pr(e){var t="function"==typeof Map?new Map:void 0;return Pr=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return Er(e,arguments,Tr(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Ir(n,e)},Pr(e)}function Rr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Rr=function(){return!!e})()}var Ar=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),o=function(e,t,o){return t=Tr(t),function(e,t){return!t||"object"!=((o=t)&&"undefined"!=typeof Symbol&&o.constructor===Symbol?"symbol":typeof o)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t;var o}(e,Rr()?Reflect.construct(t,o||[],Tr(e).constructor):t.apply(e,o))}(this,t,[e]),Object.setPrototypeOf(o,t.prototype),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ir(e,t)}(t,e),t}(Pr(TypeError));function Lr(e){return new TypeError(e)}function Mr(e){return new zr(e)}function Br(e){return new Ar(e)}var Dr=new Map,Nr=function(e){var t;if(Oo(e.className))return e.className();var o=(null===(t=e.constructor)||void 0===t?void 0:t.originalConstructor)||e.constructor;if(Dr.has(o))return Dr.get(o);if(o.name)return o.name;var n=new RegExp(/^\s*function\s*(\S*)\s*\(/),r=o.toString().match(n);return r?r[1]:""},Hr=function(e){if(/^[0-9.]+$/.test(e.toString()))return parseFloat(e);var t=e.substr(-2,2).toUpperCase(),o=["KB","MB","GB","TB"],n=parseFloat(e.substr(0,e.length-2));return-1!==o.indexOf(t)?n*Math.pow(1024,o.indexOf(t)+1):parseInt(e,10)};function Fr(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}var qr=console;function Vr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[""],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var a;return qr.warn('Method "'.concat(t[0],'" deprecated.')+(t[1]?' Use "'.concat(t[1],'" instead'):"")),(a=e).call.apply(a,[o].concat(function(e){return function(e){if(Array.isArray(e))return Fr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Fr(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Fr(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(r)))}}var Wr=1,Ur=function(){return++Wr};function Yr(e,t){var o;if(dt||!/:scope/.test(e)||!to||t&&t.nodeType===Node.DOCUMENT_NODE)o=t.querySelectorAll(e);else{var n=t.id,r=n||"_selector_id_"+String(Math.random()).slice(2)+Ur();e=e.replace(/:scope/g,"#"+r),!n&&t.setAttribute("id",r),o=t.parentNode.querySelectorAll(e),n||t.removeAttribute("id")}return[].slice.call(o)}var Kr=function(e,t){if(!e||e.nodeType!==Node.ELEMENT_NODE)return"";if(!e.parentNode||t===e)return"";if(e.id)return"//*[@id='"+e.id+"']";var o=[].filter.call(e.parentNode.childNodes,function(t){return t.nodeName===e.nodeName});return Kr(e.parentNode,t)+"/"+e.nodeName.toLowerCase()+(o.length>1?"["+(Bo(o).indexOf(e)+1)+"]":"")},Gr=function(e){return"container"in e&&(e=e.container),Yr("[ref],[data-ref]",e).reduce(function(e,t){var o=Gn(t,"-ref");return o&&Io(o)&&(e[zn(o)]=t,e[o]=t),e},{})},Jr=function(e){if(!ii.isElement(e))return null;for(var t=[],o=e;o&&o.nodeType===Node.ELEMENT_NODE;){var n=o.nodeName.toLowerCase();if(o.id){n+="#"+o.id,t.unshift(n);break}var r=o,i=1;do{(r=r.previousElementSibling)&&r.nodeName.toLowerCase()===n&&i++}while(r);n+=":nth-of-type("+i+")",t.unshift(n),o=o.parentNode}return t.join(" > ")};function Xr(e,t){var o,n=e;if(Io(e))try{n=t.querySelector(e)}catch(t){throw Lr('String "'+e+'" should be valid HTML selector')}if(!n||"object"!=(void 0===n?"undefined":(o=n)&&"undefined"!=typeof Symbol&&o.constructor===Symbol?"symbol":typeof o)||!ii.isElement(n)||!n.cloneNode)throw Lr('Element "'+e+'" should be string or HTMLElement instance');return n}function Zr(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"px",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=[],i=function(e,t){var o=[];try{Yr("img",e.editor).forEach(function(n){var r=[Gn(n,"width"),Gn(n,"height"),n.src];Gn(n,{width:n.offsetWidth+t,height:n.offsetHeight+t});var i=e.createInside.a();e.ed.body.appendChild(i),i.href=n.src,n.src=i.href,ii.safeRemove(i),o.push(function(){var e;n.src=null!==(e=r[2])&&void 0!==e?e:"",Gn(n,{width:r[0]||null,height:r[1]||null})})})}catch(e){throw o.forEach(function(e){return e()}),o.length=0,e}return o}(e,o);try{var a=e.e.fire("beforePreviewBox",t,o);if(null!=a)return a;var l=e.c.div("jodit__preview-box jodit-context");n&&n.appendChild(l),En(l,{position:"relative",padding:16});var s=e.value||"<div style='position: absolute;
1left:50%;top:50%;transform: translateX(-50%) translateY(-50%);color:#ccc;'>".concat(e.i18n("Empty"),"</div>");if(e.iframe){var c=e.create.element("iframe");En(c,{minWidth:800,minHeight:600,border:0}),l.appendChild(c);var u=c.contentWindow;if(u&&(e.e.fire("generateDocumentStructure.iframe",u.document,e),l=u.document.body,"function"==typeof ResizeObserver)){var d=!1,f=u.document.body,p=new ResizeObserver(e.async.debounce(function(){p.unobserve(f),c.style.height="".concat(f.offsetHeight+20,"px"),e.async.requestAnimationFrame(function(){!d&&p.observe(f)})},100)),h=function(){d=!0,p.unobserve(f),p.disconnect(),e.e.off("beforeDestruct",h)};r.push(h),e.e.on("beforeDestruct",h)}}else En(l,{minWidth:1024,minHeight:600,border:0});var v=function(t,o){var n=Io(o)?e.c.div():o;Io(o)&&(n.innerHTML=o);for(var r=0;r<n.childNodes.length;r+=1){var i=n.childNodes[r];if(ii.isElement(i)){for(var a=t.ownerDocument.createElement(i.nodeName),l=0;l<i.attributes.length;l+=1)Gn(a,i.attributes[l].nodeName,i.attributes[l].nodeValue);0===i.childNodes.length||ii.isTag(i,"table")?"SCRIPT"===i.nodeName?i.textContent&&(a.textContent=i.textContent):i.innerHTML&&(a.innerHTML=i.innerHTML):v(a,i);try{t.appendChild(a)}catch(e){}}else try{t.appendChild(i.cloneNode(!0))}catch(e){}}};return v(l,s),e.e.fire("afterPreviewBox",l),[l,function(){r.forEach(function(e){return e()})}]}finally{i.forEach(function(e){return e()})}}function Qr(e,t,o){for(var n=e.getBoundingClientRect(),r=e,i=n.top,a=n.height;r&&r!==t&&r.parentNode;){if(!(i<=(n=(r=r.parentNode).getBoundingClientRect()).bottom))return!1;if(i+a<=n.top)return!1}return i<=(o.documentElement&&o.documentElement.clientHeight||0)}function $r(e,t,o){ii.isHTMLElement(e)&&!Qr(e,t,o)&&(t.clientHeight!==t.scrollHeight&&(t.scrollTop=e.offsetTop),Qr(e,t,o)||e.scrollIntoView())}function ei(e,t,o){if(Io(e)&&e.length){for(var n=e.split("."),r=o,i=n[0],a=0;a<n.length-1;a+=1)To(r[i=n[a]])||rn(r[i])||(r[i]=Xo(n[a+1])?[]:{}),r=r[i];r&&(r[n[n.length-1]]=t)}}var ti=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.limit=t,this.stack=[]}var t;return(t=[{key:"push",value:function(e){return this.stack.push(e),this.stack.length>this.limit&&this.stack.shift(),this}},{key:"pop",value:function(){return this.stack.pop()}},{key:"find",value:function(e){return this.stack.find(e)}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}();function oi(e,t){return null!=t&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function ni(e,t){var o,n,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,n&&(r=2&i[0]?n.return:i[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,i[1])).done)return r;switch(n=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{o=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}function ri(e){var t="function"==typeof Symbol&&Symbol.iterator,o=t&&e[t],n=0;if(o)return o.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}var ii=function(){function e(){throw function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),new Error("Dom is static module")}var t;return t=[{key:"detach",value:function(e){for(;e&&e.firstChild;)e.removeChild(e.firstChild)}},{key:"wrapNextInline",value:function(t,o,n){var r,i=t,a=t;n.s.save();var l=!1;do{l=!1,!(r=a.nextSibling)||e.isBlock(r)||e.isTag(r,"br")||(l=!0,a=r)}while(l);return e.__wrapElements(o,n,i,a)}},{key:"__wrapElements",value:function(e,t,o,n){var r=Io(e)?t.createInside.element(e):e;o.parentNode&&o.parentNode.insertBefore(r,o);for(var i=o;i&&(i=o.nextSibling,r.appendChild(o),o!==n&&i);)o=i;
1return t.s.restore(),r}},{key:"wrapInline",value:function(t,o,n){var r,i=t,a=t;n.s.save();var l=!1;do{l=!1,(r=i.previousSibling)&&!e.isBlock(r)&&(l=!0,i=r)}while(l);do{l=!1,(r=a.nextSibling)&&!e.isBlock(r)&&(l=!0,a=r)}while(l);return e.__wrapElements(o,n,i,a)}},{key:"wrap",value:function(t,o,n){var r=Io(o)?n.element(o):o;if(e.isNode(t)){if(!t.parentNode)throw Lr("Element should be in DOM");t.parentNode.insertBefore(r,t),r.appendChild(t)}else{var i=t.extractContents();t.insertNode(r),r.appendChild(i)}return r}},{key:"unwrap",value:function(t){var o=t.parentNode;if(o){for(;t.firstChild;)o.insertBefore(t.firstChild,t);e.safeRemove(t)}}},{key:"between",value:function(e,t,o){for(var n=e;n&&n!==t&&(e===n||!o(n));){var r=n.firstChild||n.nextSibling;if(!r){for(;n&&!n.nextSibling;)n=n.parentNode;r=null==n?void 0:n.nextSibling}n=r}}},{key:"replace",value:function(t,o,n){var r,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(Uo(o)&&(Kn(n,"Need create instance for new tag"),o=n.fromHTML(o)),Io(o)?(Kn(n,"Need create instance for new tag"),r=n.element(o)):r=o,!a)for(;t.firstChild;)r.appendChild(t.firstChild);return i&&e.isElement(t)&&e.isElement(r)&&Bo(t.attributes).forEach(function(e){r.setAttribute(e.name,e.value)}),t.parentNode&&t.parentNode.replaceChild(r,t),r}},{key:"isEmptyTextNode",value:function(t){return e.isText(t)&&(!t.nodeValue||0===t.nodeValue.replace(_t(),"").trim().length)}},{key:"isEmptyContent",value:function(t){return e.each(t,function(t){return e.isEmptyTextNode(t)})}},{key:"isContentEditable",value:function(t,o){return e.isNode(t)&&!e.closest(t,function(t){return e.isElement(t)&&"false"===t.getAttribute("contenteditable")},o)}},{key:"isEmpty",value:function(t){var o,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rt;if(!t)return!0;o=Oo(n)?n:function(e){return n.has(e.nodeName.toLowerCase())};var r=function(e){return null==e.nodeValue||0===dn(e.nodeValue).length};return e.isText(t)?r(t):!(e.isElement(t)&&o(t))&&e.each(t,function(t){if(e.isText(t)&&!r(t)||e.isElement(t)&&o(t))return!1})}},{key:"isNode",value:function(e){return Boolean(e&&Io(e.nodeName)&&"number"==typeof e.nodeType&&e.childNodes&&Oo(e.appendChild))}},{key:"isCell",value:function(t){return e.isNode(t)&&("TD"===t.nodeName||"TH"===t.nodeName)}},{key:"isList",value:function(t){return e.isTag(t,Tt)}},{key:"isLeaf",value:function(t){return e.isTag(t,"li")}},{key:"isImage",value:function(t){return e.isNode(t)&&/^(img|svg|picture|canvas)$/i.test(t.nodeName)}},{key:"isBlock",value:function(t){return!Ro(t)&&"object"==(void 0===t?"undefined":(o=t)&&"undefined"!=typeof Symbol&&o.constructor===Symbol?"symbol":typeof o)&&e.isNode(t)&&zt.test(t.nodeName);var o}},{key:"isText",value:function(e){return Boolean(e&&e.nodeType===Node.TEXT_NODE)}},{key:"isComment",value:function(e){return Boolean(e&&e.nodeType===Node.COMMENT_NODE)}},{key:"isElement",value:function(t){var o;if(!e.isNode(t))return!1;var n=null===(o=t.ownerDocument)||void 0===o?void 0:o.defaultView;return Boolean(n&&t.nodeType===Node.ELEMENT_NODE)}},{key:"isFragment",value:function(t){var o;if(!e.isNode(t))return!1;var n=null===(o=t.ownerDocument)||void 0===o?void 0:o.defaultView;return Boolean(n&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)}},{key:"isHTMLElement",value:function(t){var o;if(!e.isNode(t))return!1;var n=null===(o=t.ownerDocument)||void 0===o?void 0:o.defaultView;return Boolean(n&&oi(t,n.HTMLElement))}},{key:"isInlineBlock",value:function(t){return e.isElement(t)&&!/^(BR|HR)$/i.test(t.tagName)&&-1!==["inline","inline-block"].indexOf(En(t,"display").toString())}},{key:"canSplitBlock",value:function(t){return!Ro(t)&&e.isHTMLElement(t)&&e.isBlock(t)&&!/^(TD|TH|CAPTION|FORM)$/.test(t.nodeName)&&void 0!==t.style&&!/^(fixed|absolute)/i.test(t.style.position)}},{key:"last",value:function(e,t){var o=null==e?void 0:e.lastChild;if(!o)return null;do{if(t(o))return o;var n=o.lastChild;if(n||(n=o.previousSibling),!n&&o.parentNode!==e){do{o=o.parentNode}while(o&&!(null==o?void 0:o.previousSibling)&&o.parentNode!==e);n=null==o?void 0:o.previousSibling}o=n}while(o);return null}},{key:"prev",value:function(t,o,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return e.find(t,o,n,!1,r)}},{key:"next",value:function(t,o,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return e.find(t,o,n,!0,r)}},{key:"prevWithClass",value:function(t,o){return e.prev(t,function(t){return e.isElement(t)&&t.classList.contains(o)},t.parentNode)}},{key:"nextWithClass",value:function(t,o){return e.next(t,function(t){return e.isElement(t)&&t.classList.contains(o)},t.parentNode)}},{key:"find",value:function(e,t,o){for(var n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=this.nextGen(e,o,n,r),a=i.next();!a.done;){if(t(a.value))return a.value;a=i.next()}return null}},{key:"nextGen",value:function(e,t){var o,n,r,i,a,l=arguments;return ni(this,function(s){switch(s.label){case 0:o=!(l.length>2&&void 0!==l[2])||l[2],n=!(l.length>3&&void 0!==l[3])||l[3],r=[],i=e,s.label=1;case 1:for(a=o?i.nextSibling:i.previousSibling;a;)r.unshift(a),a=o?a.nextSibling:a.previousSibling;return[5,ri(this.runInStack(e,r,o,n))];case 2:s.sent(),i=i.parentNode,s.label=3;case 3:if(i&&i!==t)return[3,1];s.label=4;case 4:return[2,null]}})}},{key:"each",value:function(e,t){for(var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=this.eachGen(e,o),r=n.next();!r.done;){if(!1===t(r.value))return!1;r=n.next()}return!0}},{key:"eachGen",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.runInStack(e,[e],t)}},{key:"runInStack",value:function(e,t,o){var n,r,i,a=arguments;return ni(this,function(l){switch(l.label){case 0:n=!(a.length>3&&void 0!==a[3])||a[3],l.label=1;case 1:if(!t.length)return[3,4];if(r=t.pop(),n)for(i=o?r.lastChild:r.firstChild;i;)t.push(i),i=o?i.previousSibling:i.nextSibling;return e===r?[3,3]:[4,r];case 2:l.sent(),l.label=3;case 3:return[3,1];case 4:return[2]}})}},{key:"findWithCurrent",value:function(t,o,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"nextSibling",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"firstChild",a=t;do{if(o(a))return a||null;if(i&&a&&a[i]){var l=e.findWithCurrent(a[i],o,a,r,i);if(l)return l}for(;a&&!a[r]&&a!==n;)a=a.parentNode;a&&a[r]&&a!==n&&(a=a[r])}while(a&&a!==n);return null}},{key:"findSibling",value:function(t){for(var o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(t){return!e.isEmptyTextNode(t)},r=e.sibling(t,o);r&&!n(r);)r=e.sibling(r,o);return r&&n(r)?r:null}},{key:"findNotEmptySibling",value:function(t,o){return e.findSibling(t,o,function(t){var o;return!e.isEmptyTextNode(t)&&Boolean(!e.isText(t)||(null===(o=t.nodeValue)||void 0===o?void 0:o.length)&&dn(t.nodeValue))})}},{key:"findNotEmptyNeighbor",value:function(t,o,n){return ir(o?e.prev:e.next,t,function(t){return Boolean(t&&(!(e.isText(t)||e.isComment(t))||dn((null==t?void 0:t.nodeValue)||"").length))},n)}},{key:"sibling",value:function(e,t){return t?e.previousSibling:e.nextSibling}},{key:"up",value:function(e,t,o){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=e;if(!r)return null;do{if(t(r))return r;if(r===o||!r.parentNode)break;r=r.parentNode}while(r&&r!==o);return r===o&&n&&t(r)?r:null}},{key:"closest",value:function(t,o,n){var r,i=function(e){return e.toLowerCase()};if(Oo(o))r=o;else if(To(o)||ln(o)){var a=ln(o)?o:new Set(o.map(i));r=function(e){return Boolean(e&&a.has(i(e.nodeName)))}}else r=function(e){return Boolean(e&&i(o)===i(e.nodeName))};return e.up(t,r,n)}},{key:"furthest",value:function(e,t,o){for(var n=null,r=null==e?void 0:e.parentElement;r&&r!==o;)t(r)&&(n=r),r=null==r?void 0:r.parentElement;return n}},{key:"appendChildFirst",value:function(e,t){var o=e.firstChild;o?o!==t&&e.insertBefore(t,o):e.appendChild(t)}},{key:"after",value:function(e,t){var o=e.parentNode;o&&(o.lastChild===e?o.appendChild(t):o.insertBefore(t,e.nextSibling))}},{key:"before",value:function(e,t){var o=e.parentNode;o&&o.insertBefore(t,e)}},{key:"prepend",value:function(e,t){e.insertBefore(t,e.firstChild)}},{key:"append",value:function(e,t){var o=this;To(t)?t.forEach(function(t){o.append(e,t)}):e.appendChild(t)}},{key:"moveContent",value:function(t,o){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){return!0},i=(t.ownerDocument||Ct).createDocumentFragment();Bo(t.childNodes).filter(function(t){return!!r(t)||(e.safeRemove(t),!1)}
1).forEach(function(e){i.appendChild(e)}),n&&o.firstChild?o.insertBefore(i,o.firstChild):o.appendChild(i)}},{key:"isOrContains",value:function(e,t){return e===t?!(arguments.length>2&&void 0!==arguments[2]&&arguments[2]):Boolean(t&&e&&this.up(t,function(t){return t===e},e,!0))}},{key:"safeRemove",value:function(){for(var t=arguments.length,o=new Array(t),n=0;n<t;n++)o[n]=arguments[n];o.forEach(function(t){return e.isNode(t)&&t.parentNode&&t.parentNode.removeChild(t)})}},{key:"safeInsertNode",value:function(t,o){t.collapsed||t.deleteContents();var n=e.isFragment(o)?o.lastChild:o;t.startContainer===t.endContainer&&t.collapsed&&e.isTag(t.startContainer,Pt)?e.after(t.startContainer,o):(t.insertNode(o),n&&t.setStartBefore(n)),t.collapse(!0),[o.nextSibling,o.previousSibling].forEach(function(t){return e.isText(t)&&!t.nodeValue&&e.safeRemove(t)})}},{key:"hide",value:function(e){e&&(nr(e,"__old_display",e.style.display),e.style.display="none")}},{key:"show",value:function(e){if(e){var t=nr(e,"__old_display");"none"===e.style.display&&(e.style.display=t||"")}}},{key:"isTag",value:function(e,t){if(!this.isElement(e))return!1;var o=e.tagName.toLowerCase(),n=e.tagName.toUpperCase();if(oi(t,Set))return t.has(o)||t.has(n);if(Array.isArray(t))throw new TypeError("Dom.isTag does not support array");return o===t||n===t}},{key:"markTemporary",value:function(e,t){return t&&Gn(e,t),Gn(e,jo,!0),e}},{key:"isTemporary",value:function(t){return!!e.isElement(t)&&(tn(t)||"true"===Gn(t,jo))}},{key:"replaceTemporaryFromString",value:function(e){return e.replace(/<([a-z]+)[^>]+data-jodit-temp[^>]+>(.+?)<\/\1>/gi,"$2")}},{key:"temporaryList",value:function(e){return Yr("[".concat(jo,"]"),e)}}],t&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e,t),e}();function ai(e,t){var o=Object.getOwnPropertyDescriptor(e,t);return!o||Oo(o.get)?null:o.value}function li(e,t,o){var n=o.get;if(!n)throw Lr("Getter property descriptor expected");o.get=function(){ft||this.isInDestruct&&console.error("Trying to access property in destructed component");var e=n.call(this);return e&&!0===e.noCache||Object.defineProperty(this,t,{configurable:o.configurable,enumerable:o.enumerable,writable:!1,value:e}),e}}function si(e,t,o){var n=o.value;if(!Oo(n))throw Lr("Handler must be a Function");var r=!0,i=new WeakMap;o.value=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];var a;if(r&&i.has(this.constructor))return null===(a=i.get(this.constructor))||void 0===a?void 0:a.cloneNode(!0);var l=n.apply(this,t);return r&&ii.isElement(l)&&i.set(this.constructor,l),r?l.cloneNode(!0):l},e.hookStatus(zo.ready,function(e){var t=un(e)?e:e.jodit;r=Boolean(t.options.cache)})}function ci(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ui(e)}function di(e,t){return di=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},di(e,t)}function fi(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fi=function(){return!!e})()}function pi(e){var t=function(e){function t(){for(var e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];var r,i,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=function(e,t,o){return t=ui(t),function(e,t){return!t||"object"!=((o=t)&&"undefined"!=typeof Symbol&&o.constructor===Symbol?"symbol":typeof o)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t;var o}(e,fi()?Reflect.construct(t,o||[],ui(e).constructor):t.apply(e,o))}(this,t,function(e){return function(e){if(Array.isArray(e))return ci(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return ci(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?ci(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}
1(o))).constructor===t&&(i=r,(null!=(a=t)&&"undefined"!=typeof Symbol&&a[Symbol.hasInstance]?a[Symbol.hasInstance](i):i instanceof a)||Object.setPrototypeOf(r,t.prototype),r.setStatus("ready")),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&di(e,t)}(t,e),t}(e);return t}function hi(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function vi(e){return function(e){if(Array.isArray(e))return hi(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return hi(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?hi(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gi(e,t){for(var o=arguments.length,n=new Array(o>2?o-2:0),r=2;r<o;r++)n[r-2]=arguments[r];var i,a;return t?(i=Ot).setTimeout.apply(i,[e,t].concat(vi(n))):((a=e).call.apply(a,[null].concat(vi(n))),0)}function mi(e){Ot.clearTimeout(e)}function bi(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function yi(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function _i(e){return function(e){if(Array.isArray(e))return bi(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return bi(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?bi(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var ji=function(){function e(){var t,o,n,r,i,a=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.timers=new Map,this.__callbacks=new Map,this.__queueMicrotaskNative=null!==(t=null===queueMicrotask||void 0===queueMicrotask?void 0:queueMicrotask.bind(window))&&void 0!==t?t:Promise.resolve().then.bind(Prom
1ise.resolve()),this.promisesRejections=new Set,this.__requestsIdle=new Set,this.__controllers=new Set,this.__requestsRaf=new Set,this.__requestIdleCallbackNative=null!==(n=null===(o=window.requestIdleCallback)||void 0===o?void 0:o.bind(window))&&void 0!==n?n:function(e,t){var o,n=Date.now();return a.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-n))}})},null!==(o=null==t?void 0:t.timeout)&&void 0!==o?o:1)},this.__cancelIdleCallbackNative=null!==(i=null===(r=window.cancelIdleCallback)||void 0===r?void 0:r.bind(window))&&void 0!==i?i:function(e){a.clearTimeout(e)},this.isDestructed=!1}var t;return t=[{key:"delay",value:function(e){var t=this;return this.promise(function(o){return t.setTimeout(o,e)})}},{key:"setTimeout",value:function(e,t){for(var o=arguments.length,n=new Array(o>2?o-2:0),r=2;r<o;r++)n[r-2]=arguments[r];if(this.isDestructed)return 0;var i={};Ro(t)&&(t=0),on(t)||(t=(i=t).timeout||0),i.label&&this.clearLabel(i.label);var a=gi.apply(void 0,[e,t].concat(_i(n))),l=i.label||a;return this.timers.set(l,a),this.__callbacks.set(l,e),a}},{key:"updateTimeout",value:function(e,t){if(Kn(e&&this.timers.has(e),"Label does not exist"),!e||!this.timers.has(e))return null;var o=this.__callbacks.get(e);return Kn(Oo(o),"Callback is not a function"),this.setTimeout(o,{label:e,timeout:t})}},{key:"clearLabel",value:function(e){e&&this.timers.has(e)&&(mi(this.timers.get(e)),this.timers.delete(e),this.__callbacks.delete(e))}},{key:"clearTimeout",value:function(e){if(Io(e))return this.clearLabel(e);mi(e),this.timers.delete(e),this.__callbacks.delete(e)}},{key:"debounce",value:function(e,t){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=this,r=0,i=!1,a=[],l=function(){for(var t=arguments.length,o=new Array(t),n=0;n<t;n++)o[n]=arguments[n];if(!i){r=0;var l=e.apply(void 0,_i(o));if(i=!0,a.length){var s=function(){a.forEach(function(e){return e()}),a.length=0};an(l)?l.finally(s):s()}}},s=function(){for(var a=arguments.length,s=new Array(a),c=0;c<a;c++)s[c]=arguments[c];i=!1,t?(!r&&o&&l.apply(void 0,_i(s)),mi(r),r=n.setTimeout(function(){return l.apply(void 0,_i(s))},Oo(t)?t():t),n.timers.set(e,r)):l.apply(void 0,_i(s))};return rn(t)&&t.promisify?function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];var r=n.promise(function(e){a.push(e)}).catch(function(e){if(No(e))return null;throw e});return s.apply(void 0,_i(t)),r}:s}},{key:"microDebounce",value:function(e){var t,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this,r=!1,i=!0;return function(){for(var a=arguments.length,l=new Array(a),s=0;s<a;s++)l[s]=arguments[s];t=l,r?i=!0:(i=!0,o&&(i=!1,e.apply(void 0,_i(t))),r=!0,n.__queueMicrotaskNative(function(){r=!1,n.isDestructed||i&&e.apply(void 0,_i(t))}))}}},{key:"throttle",value:function(e,t){var o,n,r,i=this,a=null;return function(){for(var l=arguments.length,s=new Array(l),c=0;c<l;c++)s[c]=arguments[c];o=!0,r=s,t?a||(n=function(){o?(e.apply(void 0,_i(r)),o=!1,a=i.setTimeout(n,Oo(t)?t():t),i.timers.set(n,a)):a=null})():e.apply(void 0,_i(r))}}},{key:"promise",value:function(e){var t=this,o=function(){},n=new Promise(function(n,r){o=function(){return r(jr("Abort async"))},t.promisesRejections.add(o),e(n,r)});return n.finally||"undefined"==typeof process||dt||(n.finally=function(e){return n.then(e).catch(e),n}),n.finally(function(){t.promisesRejections.delete(o)}).catch(function(){return null}),n.rejectCallback=o,n}},{key:"promiseState",value:function(e){var t=this;if(e.status)return e.status;if(!Promise.race)return new Promise(function(o){e.then(function(e){return o("fulfilled"),e},function(e){throw o("rejected"),e}),t.setTimeout(function(){o("pending")},100)});var o={};return Promise.race([e,o]).then(function(e){return e===o?"pending":"fulfilled"},function(){return"rejected"})}},{key:"requestIdleCallback",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{timeout:100},o=this.__requestIdleCallbackNative(e,t);return this.__requestsIdle.add(o),o}},{key:"requestIdlePromise",value:function(e){var t=this;return this.promise(function(o){var n=t.requestIdleCallback(function(){return o(n)},e)})}},{key:"schedulerPostTask",value:function(e){var t=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{delay:0,priority:"user-visible"},n=new AbortController;if(o.signal&&o.signal.addEventListener("abort",function(){return n.abort()}),this.__controllers.add(n),void 0!==globalThis.scheduler){var r=globalThis.scheduler.postTask(e,function(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t.push.apply(t,o)}return t}
1(Object(t)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}),e}(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},n=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(o).filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable}))),n.forEach(function(t){yi(e,t,o[t])})}return e}({},o),{signal:n.signal}));return r.finally(function(){t.__controllers.delete(n)}).catch(function(){return null}),r}return this.promise(function(r,i){var a=t.setTimeout(function(){try{r(e())}catch(e){i(e)}t.__controllers.delete(n)},o.delay||1);n.signal.addEventListener("abort",function(){t.clearTimeout(a),t.__controllers.delete(n),i(jr())})})}},{key:"schedulerYield",value:function(){return this.schedulerPostTask(function(){},{priority:"user-visible"})}},{key:"cancelIdleCallback",value:function(e){return this.__requestsIdle.delete(e),this.__cancelIdleCallbackNative(e)}},{key:"requestAnimationFrame",value:function(e){var t=requestAnimationFrame(e);return this.__requestsRaf.add(t),t}},{key:"cancelAnimationFrame",value:function(e){this.__requestsRaf.delete(e),cancelAnimationFrame(e)}},{key:"clear",value:function(){var e=this;this.__requestsIdle.forEach(function(t){return e.cancelIdleCallback(t)}),this.__requestsRaf.forEach(function(t){return e.cancelAnimationFrame(t)}),this.__controllers.forEach(function(e){return e.abort()}),this.timers.forEach(function(t){return mi(e.timers.get(t))}),this.timers.clear(),this.promisesRejections.forEach(function(e){return e()}),this.promisesRejections.clear()}},{key:"destruct",value:function(){this.clear(),this.isDestructed=!0}}],t&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}(),wi=function(e){return To(e)?e:[e]};function ki(e){return Array.isArray(e)?e:e.split(/[,\s]+/)}function Si(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,function(e,t,o){switch(o.toLowerCase()){case"pt":return(1.328*parseFloat(t)).toFixed(0)+"px";case"cm":return(.02645833*parseFloat(t)).toFixed(0)+"px"}return e})}function xi(e){if(-1===e.indexOf("<html "))return e;e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,e.lastIndexOf("</html>")+7);var t=Ct.createElement("iframe");t.style.display="none",Ct.body.appendChild(t);var o="";try{var n=t.contentDocument||(t.contentWindow?t.contentWindow.document:null);if(n){n.open(),n.write(e),n.close();try{for(var r=function(e){for(var t=function(e){if(""===o[e].selectorText)return"continue";Yr(o[e].selectorText,n.body).forEach(function(t){t.style.cssText=Si(o[e].style.cssText+";"+t.style.cssText)})},o=n.styleSheets[e].cssRules,r=0;r<o.length;r+=1)t(r)},i=0;i<n.styleSheets.length;i+=1)r(i)}catch(e){if(!ft)throw e}ii.each(n.body,function(e){if(ii.isElement(e)){var t=e,o=t.getAttribute("style");o&&(t.style.cssText=Si(o)),t.hasAttribute("style")&&!t.getAttribute("style")&&t.removeAttribute("style")}}),o=n.firstChild?dn(n.body.innerHTML):""}}catch(e){}finally{ii.safeRemove(t)}return o&&(e=o),dn(e.replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,""))}function Oi(e){-1!==e.indexOf("<html ")&&(e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,e.lastIndexOf("</html>")+7));var t="";try{var o=Ct.createElement("div");o.innerHTML=e;var n=[];o.firstChild&&ii.each(o,function(e){if(e)switch(e.nodeType){case Node.ELEMENT_NODE:switch(e.nodeName){case"STYLE":case"LINK":case"META":n.push(e);break;case"W:SDT":case"W:SDTPR":case"FONT":ii.unwrap(e);break;default:Bo(e.attributes).forEach(function(t){-1===["src","href","rel","content"].indexOf(t.name.toLowerCase())&&e.removeAttribute(t.name)})}break;case Node.TEXT_NODE:break;default:n.push(e)}}),ii.safeRemove.apply(null,n),t=o.innerHTML}catch(e){}return t&&(e=t),(e=e.split(/(\n)/).filter(dn).join("\n")).replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,"")}function Ci(e){var t=Ct.createElement("div");return t.textContent=e,t.innerHTML}function zi(e){return e.replace(/\r\n|\r|\n/g,"<br/>")}function Ei(e,t){(ii.isElement(e)||ii.isFragment(e))&&(t.removeOnError&&(Ti(e),Yr("[onerror]",e).forEach(function(e){return Ti(e,t)})),t.safeJavaScriptLink&&(Ti(e),Yr('a[href^="javascript"]',e).forEach(function(e){return Ti(e,t)})))}function Ti(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{safeJavaScriptLink:!0,removeOnError:!0},o=t.safeJavaScriptLink,n=t.removeOnError;if(!ii.isElement(e))return!1;var r=!1;n&&e.hasAttribute("onerror")&&(Gn(e,"onerror",null),r=!0);var i=e.getAttribute("href");return o&&i&&0===i.trim().indexOf("javascript")&&(Gn(e,"href",location.protocol+"//"+i),r=!0),r}var Ii=new Set(["div","p","br","h1","h2","h3","h4","h5","h6","hr"]),Pi=new Set(["script","style"]),Ri=new Set(["br","hr","
1input"]);function Ai(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=t.createElement("div");return Io(e)?n.innerHTML=e:n.appendChild(e),Yr("*",n).forEach(function(e){var n=e.parentNode;if(n){if(o&&ii.isTag(e,o)){var r=e.nodeName.toLowerCase(),i=ii.isTag(e,Ri)?"%%%jodit-single-".concat(r,"%%%"):"%%%jodit-".concat(r,"%%%").concat(Ai(e.innerHTML,t,o),"%%%/jodit-").concat(r,"%%%");return ii.before(e,t.createTextNode(i)),void ii.safeRemove(e)}if(ii.isTag(e,Pi))ii.safeRemove(e);else if(ii.isTag(e,Ii)){var a=e.nextSibling;ii.isText(a)&&/^\s/.test(a.nodeValue||"")||a&&n.insertBefore(t.createTextNode(" "),a)}}}),dn(n.innerText).replace(/%%%(\/)?jodit(-single)?-([\w\n]+)%%%/g,function(e,t,o,n){return"<".concat(t?"/":"").concat(n,">")})}var Li=function(e){var t=["#"],o=wn(e);if(!o)return!1;if(3===(o=(o=dn(o.toUpperCase())).substring(1)).length){for(var n=0;n<3;n+=1)t.push(o[n]),t.push(o[n]);return t.join("")}return o.length>6&&(o=o.slice(0,6)),"#"+o};function Mi(e){var t={},o={meta:1,ctrl:2,control:2,alt:3,shift:4,space:5};return e.replace(/\+\+/g,"+add").split(/[\s]*\+[\s]*/).map(function(e){return dn(e.toLowerCase())}).map(function(e){return ho[e]||e}).sort(function(e,t){return o[e]&&!o[t]?-1:!o[e]&&o[t]?1:o[e]&&o[t]?o[e]-o[t]:e>t?1:-1}).filter(function(e){return!t[e]&&""!==e&&(t[e]=!0)}).join("+")}var Bi=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8,o=[];e.length;)o.push(e.substr(0,t)),e=e.substr(t);return o[1]=o[1].replace(/./g,"*"),o[2]=o[2].replace(/./g,"*"),o.join("-")},Di=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.filter(function(e){return dn(e).length}).map(function(e,o){return e=e.replace(/([^:])[\\/]+/g,"$1/"),o&&(e=e.replace(/^\//,"")),o!==t.length-1&&(e=e.replace(/\/$/,"")),e}).join("/")},Ni=function(e){return e.split("/").reduce(function(e,t){switch(t){case"":case".":break;case"..":e.pop();break;default:e.push(t)}return e},[]).join("/")+(e.endsWith("/")?"/":"")},Hi=function(e,t){return/^[0-9]+$/.test(e.toString())?e+t:e.toString()},Fi=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.filter(function(e){return e.length}).map(function(e){return e.replace(/\/$/,"")}).join("/").replace(/([^:])[\\/]+/g,"$1/")},qi=function(e,t){var o=function(e){return parseInt(e,10)},n=t.getComputedStyle(e);return e.offsetWidth-o(n.getPropertyValue("padding-left")||"0")-o(n.getPropertyValue("padding-right")||"0")};function Vi(e){if(!e)return null;var t=ii.isHTMLElement(e),o=t&&En(e,"overflowY");return t&&"visible"!==o&&"hidden"!==o&&e.scrollHeight>=e.clientHeight?e:Vi(e.parentNode)||Ct.scrollingElement||Ct.body}var Wi=function(e,t){var o=t.getComputedStyle(e);return e.clientWidth-(parseFloat(o.paddingLeft||"0")+parseFloat(o.paddingRight||"0"))};function Ui(e){return Io(e)||To(e)?e.length:rn(e)?Object.keys(e).length:0}var Yi=function(e,t,o){var n,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];try{n=e.getBoundingClientRect()}catch(e){n={top:0,bottom:0,left:0,right:0,width:0,height:0}}var i,a,l=o.body,s=o.documentElement||{clientTop:0,clientLeft:0,scrollTop:0,scrollLeft:0},c=o.defaultView||o.parentWindow,u=c.pageYOffset||s.scrollTop||l.scrollTop,d=c.pageXOffset||s.scrollLeft||l.scrollLeft,f=s.clientTop||l.clientTop||0,p=s.clientLeft||l.clientLeft||0,h=t.iframe;if(!r&&t&&t.options&&t.o.iframe&&h){var v=Yi(h,t,t.od,!0),g=v.top,m=v.left;i=n.top+g,a=n.left+m}else i=n.top+u-f,a=n.left+d-p;return{top:Math.round(i),left:Math.round(a),width:n.width,height:n.height}};function Ki(e,t){var o,n,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=e.getBoundingClientRect(),a=i.left,l=i.top;if($o(t)&&t.iframe&&t.ed.body.contains(e)&&!r){var s=Ki(t.iframe,t,!0);a+=s.left,l+=s.top}return{left:Math.round(a),top:Math.round(l),width:Math.round(null!==(o=e.offsetWidth)&&void 0!==o?o:i.width),height:Math.round(null!==(n=e.offsetHeight)&&void 0!==n?n:i.height)}}function Gi(e,t){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,n=0,r=0,i=-1,a=0,l=0;for(r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;n<e.length&&r<t.length;)e[n].toLowerCase()===t[r].toLowerCase()?(n++,a++,l=0,-1===i&&(i=r)):n>0&&(l>=o&&t[r]!==bt?(n=0,i=-1,a=0,l=0,r--):(l++,a++)),r++;return n===e.length?[i,a]:[-1,0]}function Ji(e){return e.length?e[0].toUpperCase()+e.substring(1):""}var Xi=function(e,t){if(!t||!t.length)return e;for(var o=/%([sd])/g,n=o.exec(e),r=e,i=0;n&&void 0!==t[i];)r=r.replace(n[0],t[i].toString()),i+=1,n=o.exec(e);return r};function Zi(e,t,o){if(!Io(e))throw Lr("i18n: Need string in first argument");
1if(!e.length)return e;var n=Boolean(null==o?void 0:o.debugLanguage),r={},i=function(e){return t&&t.length?Xi(e,t):e},a=_r(Qn.defaultOptions.language,Qn.defaultOptions.language),l=_r(null==o?void 0:o.language,a),s=function(t){if(t){if(Io(t[e]))return i(t[e]);var o=e.toLowerCase();if(Io(t[o]))return i(t[o]);var n=Ji(e);return Io(t[n])?i(t[n]):void 0}};void 0!==wo[l]?r=wo[l]:n||(r=void 0!==wo[a]?wo[a]:wo.en);var c=null==o?void 0:o.i18n;if(c&&c[l]){var u=s(c[l]);if(u)return u}return s(r)||(!n&&wo.en&&Io(wo.en[e])&&wo.en[e]?i(wo.en[e]):n?"{"+e+"}":(ft||"en"===l||console.warn('i18n need "'.concat(e,'" in "').concat(l,'"')),i(e)))}function Qi(e){return kn(e).toLowerCase()}function $i(e,t,o,n,r,i,a){try{var l=e[i](a),s=l.value}catch(e){return void o(e)}l.done?t(s):Promise.resolve(s).then(n,r)}var ea=new Set;function ta(){var e;return e=function(e,t){var o;return function(e,t){var o,n,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,n&&(r=2&i[0]?n.return:i[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,i[1])).done)return r;switch(n=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{o=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}(this,function(n){return o=oa(e,t,!1),ea.has(o)?[2]:(ea.add(o),[2,Dn(e,o)])})},ta=function(){var t=this,o=arguments;return new Promise(function(n,r){var i=e.apply(t,o);function a(e){$i(i,n,r,a,l,"next",e)}function l(e){$i(i,n,r,a,l,"throw",e)}a(void 0)})},ta.apply(this,arguments)}function oa(e,t,o){t=kn(t);var n=e.minified?".min":"";return e.basePath+"plugins/"+t+"/"+t+n+"."+(o?"js":"css")}function na(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}var ra=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.__items=new Map}var t;return t=[{key:"size",get:function(){return this.__items.size}},{key:"add",value:function(e,t){this.__items.set(Qi(e),t),Ta.fire("plugin:".concat(e,":ready"))}},{key:"get",value:function(e){return this.__items.get(Qi(e))}},{key:"remove",value:function(e){this.__items.delete(Qi(e))}},{key:"__getFullPluginsList",value:function(e){var t=[];return this.__items.forEach(function(o,n){e&&!e.has(n)||t.push([n,o])}),t}},{key:"__init",value:function(e){var t=this,o=function(e){return{extraList:e.o.extraPlugins.map(function(e){return Io(e)?{name:e}:e}),disableList:new Set(ki(e.o.disablePlugins).map(Qi)),filter:e.o.safeMode?new Set(e.o.safePluginsList):null}}(e),n=o.extraList,r=o.disableList,i=o.filter,a=new Map,l={},s=new Set;e.__plugins=l;var c=function(){if(!e.isInDestruct){var o=!1;t.__getFullPluginsList(i).forEach(function(t){var n=function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,r=[],i=!0,a=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(r.push(o.value),2!==r.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==t.return||t.return()}finally{if(a)throw n}}return r}}(e)||function(e){if(e){if("string"==typeof e)return na(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?na(e,2):void 0}}
1(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t),i=n[0],c=n[1];if(!r.has(i)&&!a.has(i)){var u=null==c?void 0:c.requires;if(u&&To(u)&&u.length){if(u.some(function(e){return r.has(e)}))return;if(!u.every(function(e){return a.has(e)}))return void s.add(i)}o=!0;var d=function(e,t){try{try{return Oo(t)?new t(e):t}catch(o){if(Oo(t)&&!t.prototype)return t(e)}}catch(e){if(console.error(e),!ft)throw e}return null}(e,c);if(!d)return a.set(i,null),void s.delete(i);(function(e,t,o,n,r,i){if(Ko(n))try{n.init(e)}catch(e){if(console.error(e),!ft)throw e}r.set(t,n),i.delete(t),n.hasStyle&&function(e,t){return ta.apply(this,arguments)}(e,t).catch(function(e){!ft&&console.error(e)}),n.styles&&(za(e,t,"style").innerHTML=n.styles)})(e,i,0,d,a,s),l[i]=d}}),o&&(e.e.fire("updatePlugins"),c())}};n&&n.length&&function(e,t,o,n){try{var r=o.filter(function(t){return!e.has(Qi(t.name))});r.length&&function(e,t,o){t.map(function(t){var n=t.url||oa(e,t.name,!0);return Bn(e,n).then(o).catch(function(){return null})})}(t,r,n)}catch(e){if(!ft)throw e}}(this.__items,e,n,c),c(),function(e,t){e.e.on("beforeDestruct",function(){Object.keys(t).forEach(function(o){var n=t[o];Go(n)&&n.destruct(e),delete t[o]}),delete e.__plugins})}(e,l),!ft&&s.size&&console.warn("After init plugin waiting list is not clean:",s)}},{key:"wait",value:function(e){var t=this;return new Promise(function(o){if(t.get(e))return o();var n=function(){o(),Ta.off("plugin:".concat(e,":ready"),n)};Ta.on("plugin:".concat(e,":ready"),n)})}}],t&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}(),ia="JoditEventDefaultNamespace",aa=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.__store=new Map}var t;return t=[{key:"get",value:function(e,t){if(this.__store.has(t)){var o=this.__store.get(t);return Kn(o,"-"),o[e]}}},{key:"indexOf",value:function(e,t,o){var n=this.get(e,t);if(n)for(var r=0;r<n.length;r+=1)if(n[r].originalCallback===o)return r;return!1}},{key:"namespaces",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=Bo(this.__store.keys());return e?t.filter(function(e){return e!==ia}):t}},{key:"events",value:function(e){var t=this.__store.get(e);return t?Object.keys(t):[]}},{key:"set",value:function(e,t,o){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=this.__store.get(t);r||(r={},this.__store.set(t,r)),void 0===r[e]&&(r[e]=[]),n?r[e].unshift(o):r[e].push(o)}},{key:"clear",value:function(){this.__store.clear()}},{key:"clearEvents",value:function(e,t){var o=this.__store.get(e);o&&o[t]&&(delete o[t],Object.keys(o).length||this.__store.delete(e))}},{key:"isEmpty",value:function(){return 0===this.__store.size}}],t&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}();function la(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function sa(e){return function(e){if(Array.isArray(e))return la(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return la(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?la(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var ca=function(){function e(t){var o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.__domEventsMap=new Map,this.__mutedEvents=new Set,this.__key="__JoditEventEmitterNamespaces",this.__doc=Ct,this.__prepareEvent=function(e){e.cancelBubble||(e.composed&&Oo(e.composedPath)&&e.composedPath()[0]&&Object.defineProperty(e,"target",{value:e.composedPath()[0],configurable:!0,enumerable:!0}),e.type.match(/^touch/)&&e.changedTouches&&e.changedTouches.length&&["clientX","clientY","pageX","pageY"].forEach(function(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&&o.__doc.defaultView.clipboardData&&Object.defineProperty(e,"clipboardData",{get:function(){return o.__doc.defaultView.clipboardData},configurable:!0,enumerable:!0}))},this.currents=[],this.__stopped=[],this.__isDestructed=!1,t&&(this.__doc=t),this.__key+=(new Date).getTime()}var t;return t=[{key:"mute",value:function(e){return this.__mutedEvents.add(null!=e?e:"*"),this}},{key:"isMuted",value:function(e){return!(!e||!this.__mutedEvents.has(e))||this.__mutedEvents.has("*")}},{key:"unmute",value:function(e){return this.__mutedEvents.delete(null!=e?e:"*"),this}},{key:"__eachEvent",value:function(e,t){var o=this;ki(e).map(function(e){return e.trim()}
1).forEach(function(e){var n=e.split("."),r=n[1]||ia;t.call(o,n[0],r)})}},{key:"__getStore",value:function(e){if(!e)throw Lr("Need subject");if(void 0===e[this.__key]){var t=new aa;Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:t})}return e[this.__key]}},{key:"__removeStoreFromSubject",value:function(e){void 0!==e[this.__key]&&Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:void 0})}},{key:"__triggerNativeEvent",value:function(e,t){var o=this.__doc.createEvent("HTMLEvents");Io(t)?o.initEvent(t,!0,!0):(o.initEvent(t.type,t.bubbles,t.cancelable),["screenX","screenY","clientX","clientY","target","srcElement","currentTarget","timeStamp","which","keyCode"].forEach(function(e){Object.defineProperty(o,e,{value:t[e],enumerable:!0})}),Object.defineProperty(o,"originalEvent",{value:t,enumerable:!0})),e.dispatchEvent(o)}},{key:"current",get:function(){return this.currents[this.currents.length-1]}},{key:"on",value:function(e,t,o,n){var r,i,a,l,s=this;if(Io(e)||Po(e)?(r=this,i=e,a=t,l=o):(r=e,i=t,a=o,l=n),!Io(i)&&!Po(i)||0===i.length)throw Lr("Need events names");if(!Oo(a))throw Lr("Need event handler");if(To(r))return r.forEach(function(e){s.on(e,i,a,l)}),this;var c=r,u=this.__getStore(c),d=this,f=function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];var r;if(!d.isMuted(e))return a&&(r=a).call.apply(r,[this].concat(sa(o)))};return ua(c)&&(f=function(e){if(!d.isMuted(e.type))return d.__prepareEvent(e),a&&!1===a.call(this,e)?(e.preventDefault(),e.stopImmediatePropagation(),!1):void 0}),this.__eachEvent(i,function(e,t){var o,n;if(0===e.length)throw Lr("Need event name");if(!1===u.indexOf(e,t,a)){var r={event:e,originalCallback:a,syntheticCallback:f};if(u.set(e,t,r,null==l?void 0:l.top),ua(c)){var i=xo.has(e)?{passive:!0,capture:null!==(o=null==l?void 0:l.capture)&&void 0!==o&&o}:null!==(n=null==l?void 0:l.capture)&&void 0!==n&&n;f.options=i,c.addEventListener(e,f,i),s.__memoryDOMSubjectToHandler(c,f)}}}),this}},{key:"__memoryDOMSubjectToHandler",value:function(e,t){var o=this.__domEventsMap.get(e)||new Set;o.add(t),this.__domEventsMap.set(e,o)}},{key:"__unmemoryDOMSubjectToHandler",value:function(e,t){var o=this.__domEventsMap,n=o.get(e)||new Set;n.delete(t),n.size?o.set(e,n):o.delete(e)}},{key:"one",value:function(e,t,o,n){var r,i,a,l,s=this;Io(e)||Po(e)?(r=this,i=e,a=t,l=o):(r=e,i=t,a=o,l=n);var c=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return s.off(r,i,c),a.apply(void 0,sa(t))};return this.on(r,i,c,l),this}},{key:"off",value:function(e,t,o){var n,r,i,a=this;if(Io(e)||Po(e)?(n=this,r=e,i=t):(n=e,r=t,i=o),To(n))return n.forEach(function(e){a.off(e,r,i)}),this;var l=n,s=this.__getStore(l);if(!Io(r)&&!Po(r)||0===r.length)return s.namespaces().forEach(function(e){a.off(l,"."+e)}),this.__removeStoreFromSubject(l),this;var c=function(e){var t;ua(l)&&(l.removeEventListener(e.event,e.syntheticCallback,null!==(t=e.syntheticCallback.options)&&void 0!==t&&t),a.__unmemoryDOMSubjectToHandler(l,e.syntheticCallback))},u=function(e,t){if(""!==e){var o=s.get(e,t);if(o&&o.length)if(Oo(i)){var n=s.indexOf(e,t,i);!1!==n&&(c(o[n]),o.splice(n,1),o.length||s.clearEvents(t,e))}else o.forEach(c),o.length=0,s.clearEvents(t,e)}else s.events(t).forEach(function(e){""!==e&&u(e,t)})};return this.__eachEvent(r,function(e,t){t===ia?s.namespaces().forEach(function(t){u(e,t)}):u(e,t)}),s.isEmpty()&&this.__removeStoreFromSubject(l),this}},{key:"stopPropagation",value:function(e,t){var o=this,n=Io(e)?this:e,r=Io(e)?e:t;if("string"!=typeof r)throw Lr("Need event names");var i=this.__getStore(n);this.__eachEvent(r,function(e,t){var r=i.get(e,t);r&&o.__stopped.push(r),t===ia&&i.namespaces(!0).forEach(function(t){return o.stopPropagation(n,e+"."+t)})})}},{key:"__removeStop",value:function(e){if(e){var t=this.__stopped.indexOf(e);-1!==t&&this.__stopped.splice(0,t+1)}}},{key:"__isStopped",value:function(e){return void 0!==e&&-1!==this.__stopped.indexOf(e)}},{key:"fire",value:function(e,t){for(var o,n,r=this,i=arguments.length,a=new Array(i>2?i-2:0),l=2;l<i;l++)a[l-2]=arguments[l];var s=Io(e)?this:e,c=Io(e)?e:t,u=Io(e)?[t].concat(sa(a)):a;if(!ua(s)&&!Io(c))throw Lr("Need events names");var d=this.__getStore(s);return!Io(c)&&ua(s)?this.__triggerNativeEvent(s,t):this.__eachEvent(c,function(e,t){if(ua(s))r.__triggerNativeEvent(s,e);else{var i=d.get(e,t);if(i)try{sa(i).every(function(t){var a;return!r.__isStopped(i)&&(r.currents.push(e),n=(a=t.syntheticCallback).call.apply(a,[s,e].concat(sa(u))),r.currents.pop(),void 0!==n&&(o=n),!0)})}finally{r.__removeStop(i)}t!==ia||ua(s)||d.namespaces().filter(function(e){return e!==t}
1).forEach(function(t){var n=r.fire.apply(r,[s,e+"."+t].concat(sa(u)));void 0!==n&&(o=n)})}}),o}},{key:"destruct",value:function(){var e=this;this.__isDestructed||(this.__isDestructed=!0,this.__domEventsMap.forEach(function(t,o){e.off(o)}),this.__domEventsMap.clear(),this.__mutedEvents.clear(),this.currents.length=0,this.__stopped.length=0,this.off(this),this.__getStore(this).clear(),this.__removeStoreFromSubject(this))}}],t&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}();function ua(e){return Oo(e.addEventListener)}function da(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function fa(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var n,r,i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,t)||pa(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pa(e,t){if(e){if("string"==typeof e)return da(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?da(e,t):void 0}}function ha(e,t){var o;do{o=Object.getOwnPropertyDescriptor(e,t),e=Object.getPrototypeOf(e)}while(!o&&e);return o}function va(e,t){return function(o,n){var r;if(!Oo(o[n]))throw Lr("Handler must be a Function");var i=null===(r=null==t?void 0:t.immediately)||void 0===r||r,a=null==t?void 0:t.context,l=function(t){var r=un(t)?t:t.jodit,l=function(e){for(var o=arguments.length,r=new Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];var a;if(!t.isInDestruct)return(a=t)[n].apply(a,[e].concat(function(e){return function(e){if(Array.isArray(e))return da(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||pa(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(r)))};i||(l=t.async.microDebounce(l,!0)),ki(e).forEach(function(e){if(/:/.test(e)){var n=fa(e.split(":"),2),i=n[0],s=n[1],c=a;return i.length&&(c=t.get(i)),Oo(c)&&(c=c(t)),r.events.on(c||t,s,l),c||r.events.on(s,l),void t.hookStatus("beforeDestruct",function(){r.events.off(c||t,s,l).off(s,l)})}var u=e.split("."),d=fa(u,1)[0],f=u.slice(1),p=t[d];rn(p)&&_a(p).on("change.".concat(f.join(".")),l);var h=ha(o,d);Object.defineProperty(t,d,{configurable:!0,set:function(e){var o=p;o!==e&&(p=e,h&&h.set&&h.set.call(t,e),rn(p)&&(p=_a(p)).on("change.".concat(f.join(".")),l),l(d,o,p))},get:function(){return h&&h.get?h.get.call(t):p}})})};Oo(o.hookStatus)?o.hookStatus(zo.ready,l):l(o)}}function ga(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function ma(e){return function(e){if(Array.isArray(e))return ga(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return ga(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?ga(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var ba=Symbol("observable-object");function ya(e){return void 0!==e[ba]}function _a(e){if(ya(e))return e;var t={},o={},n=function(t,r){return To(t)?(t.map(function(e){return n(e,r)}),e):(o[t]||(o[t]=[]),o[t].push(r),e)},r=function(n){for(var i=arguments.length,a=new Array(i>1?i-1:0),l=1;l<i;l++)a[l-1]=arguments[l];if(To(n))n.map(function(e){return r.apply(void 0,[e].concat(ma(a)))});else try{var s;
1!t[n]&&o[n]&&(t[n]=!0,o[n].forEach(function(t){return(s=t).call.apply(s,[e].concat(ma(a)))}))}finally{t[n]=!1}},i=function(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a={};ya(t)||(Object.defineProperty(t,ba,{enumerable:!1,value:!0}),Object.keys(t).forEach(function(n){var l=n,s=o.concat(l).filter(function(e){return e.length});a[l]=t[l];var c=ha(t,l);Object.defineProperty(t,l,{set:function(t){var o=a[l];if(!Wo(a[l],t)){r(["beforeChange","beforeChange.".concat(s.join("."))],l,t),rn(t)&&i(t,s),c&&c.set?c.set.call(e,t):a[l]=t;var n=[];r(["change"].concat(ma(s.reduce(function(e,t){return n.push(t),e.push("change.".concat(n.join("."))),e},[]))),s.join("."),o,(null==t?void 0:t.valueOf)?t.valueOf():t)}},get:function(){return c&&c.get?c.get.call(e):a[l]},enumerable:!0,configurable:!0}),rn(a[l])&&i(a[l],s)}),Object.defineProperty(e,"on",{value:n}))};return i(e),e}var ja={},wa=1,ka=new Set,Sa=new ra,xa={},Oa=function(e){Object.keys(e).forEach(function(t){wo[t]?Object.assign(wo[t],e[t]):wo[t]=e[t]})},Ca=new WeakMap;function za(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=Io(t)?t:t?Nr(t.prototype):"jodit-utils",i=Ca.get(e)||{},a=r+o,l=un(e)?e:e.j,s=null;if(!i[a]){var c=l.c;if(s=Ea(l.o,l.container,e.od.body),n&&$o(e)&&e.od!==e.ed){c=e.createInside;var u="style"===o?e.ed.head:e.ed.body;s=$o(e)&&e.o.shadowRoot?e.o.shadowRoot:u}var d=c.element(o,{className:"jodit jodit-".concat(kn(r),"-container jodit-box")});d.classList.add("jodit_theme_".concat(l.o.theme||"default")),s.appendChild(d),i[a]=d,e.hookStatus("beforeDestruct",function(){l.events.off(d),ii.safeRemove(d),delete i[a],Object.keys(i).length&&Ca.delete(e)}),Ca.set(e,i),l.events.fire("getContainer",d)}return i[a].classList.remove("jodit_theme_default","jodit_theme_dark"),i[a].classList.add("jodit_theme_".concat(l.o.theme||"default")),i[a]}function Ea(e,t,o){var n,r,i;return null!==(i=null!==(r=null!==(n=e.popupRoot)&&void 0!==n?n:e.shadowRoot)&&void 0!==r?r:ii.closest(t,function(e){return ii.isHTMLElement(e)&&(ii.isTag(e,"dialog")||["fixed","absolute"].includes(En(e,"position")))},o))&&void 0!==i?i:o}var Ta=new ca;function Ia(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Pa=new Map,Ra=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.async=new ji,this.ownerWindow=window,this.__componentStatus=zo.beforeInit,this.uid="jodit-uid-"+function(){function e(){return wa+=10*(Math.random()+1),Math.round(wa).toString(16)}for(var t=e();ka.has(t);)t=e();return ka.add(t),t}()}var t,o,n;return t=e,o=[{key:"componentName",get:function(){return this.__componentName||(this.__componentName="jodit-"+kn((Oo(this.className)?this.className():"")||Nr(this))),this.__componentName}},{key:"getFullElName",value:function(e,t,o){var n=[this.componentName];return e&&(e=e.replace(/[^a-z0-9-]/gi,"-"),n.push("__".concat(e))),t&&(n.push("_",t),n.push("_",Ro(o)?"true":o.toString())),n.join("")}},{key:"ownerDocument",get:function(){return this.ow.document}},{key:"od",get:function(){return this.ownerDocument}},{key:"ow",get:function(){return this.ownerWindow}},{key:"get",value:function(e,t){return Ao(e,t||this)}},{key:"isReady",get:function(){return this.componentStatus===zo.ready}},{key:"isDestructed",get:function(){return this.componentStatus===zo.destructed}},{key:"isInDestruct",get:function(){return zo.beforeDestruct===this.componentStatus||zo.destructed===this.componentStatus}},{key:"bindDestruct",value:function(e){var t=this;return e.hookStatus(zo.beforeDestruct,function(){return!t.isInDestruct&&t.destruct()}),this}},{key:"destruct",value:function(){this.setStatus(zo.destructed),this.async&&(this.async.destruct(),this.async=void 0),Pa.get(this)&&Pa.delete(this),this.ownerWindow=void 0}},{key:"componentStatus",get:function(){return this.__componentStatus},set:function(e){this.setStatus(e)}},{key:"setStatus",value:function(e){return this.setStatusComponent(e,this)}},{key:"setStatusComponent",value:function(e,t){if(e!==this.__componentStatus){t===this&&(this.__componentStatus=e);var o=Object.getPrototypeOf(this);o&&Oo(o.setStatusComponent)&&o.setStatusComponent(e,t);var n=Pa.get(this),r=null==n?void 0:n[e];r&&r.length&&r.forEach(function(e){return e(t)})}}},{key:"hookStatus",value:function(e,t){var o=Pa.get(this);o||(o={},Pa.set(this,o)),o[e]||(o[e]=[]),o[e].push(t)}}],n=[{key:"isInstanceOf",value:function(e,t){return o=e,null!=(n=t)&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?!!n[Symbol.hasInstance](o):o instanceof n;var o,n}}],o&&Ia(t.prototype,o),n&&Ia(t,n),e}();function Aa(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function La(e,t,o){return La="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Ma(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},La(e,t,o||e)}
1function Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ma(e)}function Ba(e,t){return Ba=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Ba(e,t)}function Da(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Da=function(){return!!e})()}Ra.STATUSES=zo;var Na=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=function(e,t,o){return t=Ma(t),function(e,t){return!t||"object"!=((o=t)&&"undefined"!=typeof Symbol&&o.constructor===Symbol?"symbol":typeof o)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t;var o}(e,Da()?Reflect.construct(t,[],Ma(e).constructor):t.apply(e,o))}(this,t)).setParentView(e),o}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ba(e,t)}(t,e),o=[{key:"j",get:function(){return this.jodit}},{key:"defaultTimeout",get:function(){return this.j.defaultTimeout}},{key:"i18n",value:function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];var r;return(r=this.j).i18n.apply(r,[e].concat(function(e){return function(e){if(Array.isArray(e))return Aa(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Aa(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Aa(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(o)))}},{key:"setParentView",value:function(e){return this.jodit=e,e.components.add(this),this}},{key:"destruct",value:function(){return this.j.components.delete(this),La(Ma(t.prototype),"destruct",this).call(this)}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Ra);function Ha(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"debounce";return function(n,r){var i=n[r];if(!Oo(i))throw Lr("Handler must be a Function");return n.hookStatus(zo.ready,function(n){var i=n.async;Kn(null!=i,"Component ".concat(n.componentName||n.constructor.name,' should have "async:IAsync" field'));var a=Oo(e)?e(n):e,l=on(a)||rn(a)?a:n.defaultTimeout;Object.defineProperty(n,r,{configurable:!0,value:i[o](n[r].bind(n),l,t)})}),{configurable:!0,get:function(){return i.bind(this)}}}}function Fa(e){return Ha(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1],"throttle")}function qa(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function Va(e){return function(e){if(Array.isArray(e))return qa(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return qa(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?qa(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Wa(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(e){for(var o=e.prototype,n=0;n<t.length;n++)for(var r=function(e){var t=a[e],n=Object.getOwnPropertyDescriptor(i.prototype,t);null!=n&&Oo(n.value)&&!Oo(o[t])&&Object.defineProperty(o,t,{enumerable:!0,configurable:!0,writable:!0,value:function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];var r;return(r=n.value).call.apply(r,[this].concat(Va(t)))}})},i=t[n],a=Object.getOwnPropertyNames(i.prototype),l=0;l<a.length;l++)r(l)}}function Ua(e){return function(t,o){if(!Oo(t[o]))throw Lr("Handler must be a Function");t.hookStatus(e,function(e){e[o].call(e)})}}function Ya(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function Ka(){return function(e,t){if(!Oo(e[t]))throw Lr("Handler must be a Function");e.hookStatus(zo.ready,function(e){var o,n=e.async,r=e[t];e[t]=function(){for(var t=arguments.length,i=new Array(t),a=0;a<t;a++)i[a]=arguments[a];return n.requestIdleCallback((o=r).bind.apply(o,[e].concat(function(e){return function(e){if(Array.isArray(e))return Ya(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Ya(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Ya(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(i))))}})}}var Ga=function(e,t){!1!==(Object.getOwnPropertyDescriptor(e,t)||{}).enumerable&&Object.defineProperty(e,t,{enumerable:!1,set:function(e){Object.defineProperty(this,t,{enumerable:!1,writable:!0,value:e})}})};function Ja(e,t){e.hookStatus(zo.ready,function(e){var o=un(e)?e:e.jodit,n="".concat(o.options.namespace).concat(e.componentName,"_prop_").concat(t),r=e[t];Object.defineProperty(e,t,{get:function(){var e;return null!==(e=o.storage.get(n))&&void 0!==e?e:r},set:function(e){o.storage.set(n,e)}})})}function Xa(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function Za(e){return function(t,o){if(!Oo(t[o]))throw Lr("Handler must be a Function");t.hookStatus(zo.ready,function(t){var n=t.async,r=t[o],i=0;Object.defineProperty(t,o,{configurable:!0,value:function o(){for(var a=arguments.length,l=new Array(a),s=0;s<a;s++)l[s]=arguments[s];n.clearTimeout(i),e(t)?r.apply(t,l):i=n.setTimeout(function(){return o.apply(void 0,function(e){return function(e){if(Array.isArray(e))return Xa(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Xa(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Xa(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(l))},10)}})})}}function Qa(e,t,o,n,r,i,a){try{var l=e[i](a),s=l.value}catch(e){return void o(e)}l.done?t(s):Promise.resolve(s).then(n,r)}function $a(e){return function(){var t=this,o=arguments;return new Promise(function(n,r){var i=e.apply(t,o);function a(e){Qa(i,n,r,a,l,"next",e)}function l(e){Qa(i,n,r,a,l,"throw",e)}a(void 0)})}}function el(e,t){var o,n,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]}
1,trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,n&&(r=2&i[0]?n.return:i[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,i[1])).done)return r;switch(n=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{o=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}Qn.prototype.defaultAjaxOptions={successStatuses:[200,201,202],method:"GET",url:"",data:null,contentType:"application/x-www-form-urlencoded; charset=UTF-8",headers:{"X-REQUESTED-WITH":"XMLHttpRequest"},withCredentials:!1,xhr:function(){return new XMLHttpRequest}};var tl=function(){function e(t,o,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.request=t,this.status=o,this.statusText=n,this.body=r}var t;return(t=[{key:"url",get:function(){return this.request.url}},{key:"json",value:function(){var e=this;return $a(function(){return el(this,function(t){return[2,JSON.parse(e.body)]})})()}},{key:"text",value:function(){return Promise.resolve(this.body)}},{key:"blob",value:function(){var e=this;return $a(function(){return el(this,function(t){return[2,e.body]})})()}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}();function ol(e,t,o,n,r,i,a){try{var l=e[i](a),s=l.value}catch(e){return void o(e)}l.done?t(s):Promise.resolve(s).then(n,r)}function nl(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function rl(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}var il=function(){function e(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Qn.prototype.defaultAjaxOptions;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.__async=new ji,this.__isFulfilled=!1,this.__activated=!1,this.__isDestructed=!1,this.options=hr(t||{},o),this.xhr=this.o.xhr?this.o.xhr():new XMLHttpRequest}var t;return t=[{key:"className",value:function(){return"Ajax"}},{key:"__buildParams",value:function(e,t){return rn(e)&&this.options.contentType&&this.options.contentType.includes("application/json")?JSON.stringify(e):Oo(this.o.queryBuild)?this.o.queryBuild.call(this,e,t):Io(e)||(o=e,null!=(n=Ot.FormData)&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?n[Symbol.hasInstance](o):o instanceof n)||"object"===(void 0===e?"undefined":rl(e))&&null!=e&&Oo(e.append)?e:Xn(e);var o,n}},{key:"o",get:function(){return this.options}},{key:"abort",value:function(){if(this.__isFulfilled)return this;try{this.__isFulfilled=!0,this.xhr.abort()}catch(e){}return this}},{key:"send",value:function(){this.__activated=!0;var e=this.xhr,t=this.o,o=this.prepareRequest(),n=this;return this.__async.promise(function(){var r,i=(r=function(r,i){var a,l,s,c,u,d,f;return function(e,t){var o,n,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,n&&(r=2&i[0]?n.return:i[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,i[1])).done)return r;switch(n=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{o=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}(this,function(p){switch(p.label){case 0:return l=function(){n.__isFulfilled=!0,i(Mr("Connection error"))},s=function(){n.__isFulfilled=!0,r(new tl(o,e.status,e.statusText,e.responseType?e.response:e.responseText))},e.onload=s,e.onabort=function(){n.__isFulfilled=!0,i(jr("Abort connection"))},e.onerror=l,e.ontimeout=l,t.responseType&&(e.responseType=t.responseType),e.onprogress=function(e){var t,o,r=0;e.lengthComputable&&(r=e.loaded/e.total*100),null===(o=(t=n.options).onProgress)||void 0===o||o.call(t,r)},e.onreadystatechange=function(){var o,r;null===(r=(o=n.options).onProgress)||void 0===r||r.call(o,10),e.readyState===XMLHttpRequest.DONE&&(t.successStatuses.includes(e.status)?s():e.statusText&&(n.__isFulfilled=!0,i(Mr(e.statusText))))},e.withCredentials=null!==(a=t.withCredentials)&&void 0!==a&&a,c=o.url,u=o.data,d=o.method,e.open(d,c,!0),t.contentType&&e.setRequestHeader&&e.setRequestHeader("Content-type",t.contentType),Oo(f=t.headers)?[4,f.call(n)]:[3,2];case 1:f=p.sent(),p.label=2;case 2:return f&&e.setRequestHeader&&Object.keys(f).forEach(function(t){e.setRequestHeader(t,f[t])}),n.__async.setTimeout(function(){e.send(u?n.__buildParams(u):void 0)}
1,0),[2]}})},function(){var e=this,t=arguments;return new Promise(function(o,n){var i=r.apply(e,t);function a(e){ol(i,o,n,a,l,"next",e)}function l(e){ol(i,o,n,a,l,"throw",e)}a(void 0)})});return function(e,t){return i.apply(this,arguments)}}())}},{key:"prepareRequest",value:function(){if(!this.o.url)throw Lr("Need URL for AJAX request");var t=this.o.url,o=this.o.data,n=(this.o.method||"get").toLowerCase();if("get"===n&&o&&rn(o)){var r=t.indexOf("?");if(-1!==r){var i=mr(t);t=t.substring(0,r)+"?"+Xn(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},n=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(o).filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable}))),n.forEach(function(t){nl(e,t,o[t])})}return e}({},i,o))}else t+="?"+Xn(this.o.data)}var a={url:t,method:n,data:o};return e.log.splice(100),e.log.push(a),a}},{key:"destruct",value:function(){this.__isDestructed||(this.__isDestructed=!0,this.__activated&&!this.__isFulfilled&&(this.abort(),this.__isFulfilled=!0),this.__async.destruct())}}],t&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}();il.log=[],function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":rl(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);i>3&&a&&Object.defineProperty(t,o,a)}([Co],il.prototype,"destruct",null);var al=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t;return(t=[{key:"getElm",value:function(e){return this.container.querySelector(".".concat(this.getFullElName(e)))}},{key:"getElms",value:function(e){return Bo(this.container.querySelectorAll(".".concat(this.getFullElName(e))))}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}(),ll=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t;return(t=[{key:"afterSetMod",value:function(e,t){}},{key:"setMod",value:function(e,t,o){e=e.toLowerCase();var n=this.mods[e];if(n===t)return this;var r="".concat(this.componentName,"_").concat(e,"_"),i=(o||this.container).classList;return null!=n&&i.remove("".concat(r).concat(n.toString().toLowerCase())),!Ro(t)&&""!==t&&i.add("".concat(r).concat(t.toString().toLowerCase())),this.mods[e]=t,this.afterSetMod(e,t),this}},{key:"getMod",value:function(e){var t;return null!==(t=this.mods[e])&&void 0!==t?t:null}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}(),sl=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t;return t=[{key:"getIcon",value:function(t){if(/<svg/i.test(t))return t;var o=e.icons[t]||e.icons[t.replace(/-/g,"_")]||e.icons[t.replace(/_/g,"-")]||e.icons[zn(t)]||e.icons[kn(t)]||e.icons[t.toLowerCase()];return ft||o||console.warn('Icon "'.concat(t,'" not found')),o}},{key:"exists",value:function(e){return void 0!==this.getIcon(e)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"<span></span>";return this.getIcon(e)||t}},{key:"set",value:function(e,t){return this.icons[e.replace("_","-")]=t,this}},{key:"makeIcon",value:function(t,o){var n,r,i,a;if(o){var l,s,c=o.name,u=o.iconURL,d=o.fill,f=c.replace(/[^a-zA-Z0-9]/g,"_");/<svg/.test(c)||(s=null===(r=(n=t.o).getIcon)||void 0===r?void 0:r.call(n,c,f));var p="".concat(c).concat(u).concat(d).concat(null!=s?s:"");if(t.o.cache&&this.__cache.has(p))return null===(i=this.__cache.get(p))||void 0===i?void 0:i.cloneNode(!0);if(u)En(l=t.c.span(),"backgroundImage","url("+u.replace("{basePath}",(null==t?void 0:t.basePath)||"")+")");else{var h=s||e.get(c,"")||(null===(a=t.o.extraIcons)||void 0===a?void 0:a[c]);h&&(l=t.c.fromHTML(h.trim()),/^<svg/i.test(c)||l.classList.add("jodit-icon_"+f))}return l&&(l.classList.add("jodit-icon"),l.style.fill=d,t.o.cache&&this.__cache.set(p,l.cloneNode(!0))),l}}}],t&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e,t),e}();function cl(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ul(e,t,o){return ul="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=dl(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},ul(e,t,o||e)}function dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},dl(e)}function fl(e,t){return fl=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},fl(e,t)}function pl(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function hl(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hl=function(){return!!e})()}sl.icons={},sl.__cache=new Map;var vl,gl=vl=function(e){function t(e,o){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t,o){return t=dl(t),function(e,t){return!t||"object"!==pl(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,hl()?Reflect.construct(t,o||[],dl(e).constructor):t.apply(e,o))}(this,t,[e])).name="",n.__parentElement=null,n.mods={},n.container=n.createContainer(o),Object.defineProperty(n.container,"component",{value:n,configurable:!0}),n}var o,n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fl(e,t)}(t,e),o=t,n=[{key:"parentElement",get:function(){return this.__parentElement},set:function(e){var t=this;this.__parentElement=e,e&&e.hookStatus("beforeDestruct",function(){return t.destruct()}),this.updateParentElement(this)}},{key:"bubble",value:function(e){for(var t=this.parentElement;t;)e(t),t=t.parentElement;return this}},{key:"updateParentElement",value:function(e){var t;return null===(t=this.__parentElement)||void 0===t||t.updateParentElement(e),this}},{key:"get",value:function(e,o){return ul(dl(t.prototype),"get",this).call(this,e,o)||this.getElm(e)}},{key:"closest",value:function(e){for(var t="object"===(void 0===e?"undefined":pl(e))?function(t){return t===e}:function(t){return Ra.isInstanceOf(t,e)},o=this.__parentElement;o;){if(t(o))return o;o=!o.parentElement&&o.container.parentElement?vl.closestElement(o.container.parentElement,vl):o.parentElement}return null}},{key:"update",value:function(){}},{key:"appendTo",value:function(e){return e.appendChild(this.container),this}},{key:"clearName",value:function(e){return e.replace(/[^a-zA-Z0-9]/g,"_")}},{key:"render",value:function(e){return this.j.c.div(this.componentName)}},{key:"createContainer",value:function(e){var t=this.render(e);if(Io(t)){var o=this.parseTemplate(t);return o.classList.add(this.componentName),o}return t}},{key:"parseTemplate",value:function(e){var t=this;return this.j.c.fromHTML(e.replace(/\*([^*]+?)\*/g,function(e,t){return sl.get(t)||""}).replace(/&_/g,this.componentName+"_").replace(/~([^~]+?)~/g,function(e,o){return t.i18n(o)}))}},{key:"destruct",value:function(){return ii.safeRemove(this.container),this.parentElement=null,ul(dl(t.prototype),"destruct",this).call(this)}}],r=[{key:"closestElement",value:function(e,t){var o=ii.up(e,function(e){if(e){var o=e.component;return o&&Ra.isInstanceOf(o,t)}return!1});return o?null==o?void 0:o.component:null}}],n&&cl(o.prototype,n),r&&cl(o,r),t}(Na);function ml(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function bl(e,t,o){return bl="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=yl(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},bl(e,t,o||e)}function yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},yl(e)}function _l(e,t){return _l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_l(e,t)}function jl(e){return function(e){if(Array.isArray(e))return ml(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return ml(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?ml(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function wl(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function kl(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kl=function(){return!!e})()}gl=vl=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;
1if("object"===("undefined"==typeof Reflect?"undefined":pl(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a}([Wa(ll,al)],gl);var Sl,xl=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":wl(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Ol=Sl=function(e){function t(e,o,n){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=function(e,t,o){return t=yl(t),function(e,t){return!t||"object"!==wl(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,kl()?Reflect.construct(t,o||[],yl(e).constructor):t.apply(e,o))}(this,t,[e,n])).options=n,r.syncMod=!1,r.elements=[],r.buttonSize="middle",null==o||o.forEach(function(e){return e&&r.append(e)}),(null==n?void 0:n.name)&&(r.name=n.name),r}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_l(e,t)}(t,e),o=[{key:"className",value:function(){return"UIGroup"}},{key:"allChildren",get:function(){for(var e=[],t=jl(this.elements);t.length;){var o,n=t.shift();if(To(n))(o=t).push.apply(o,jl(n));else if(Ra.isInstanceOf(n,Sl)){var r;(r=t).push.apply(r,jl(n.elements))}else n&&e.push(n)}return e}},{key:"update",value:function(){this.elements.forEach(function(e){return e.update()}),this.setMod("size",this.buttonSize)}},{key:"append",value:function(e,t){var o=this;if(To(e)){if("number"==typeof t)throw new Error("You can not use index when append array of elements");return e.forEach(function(e){return o.append(e,t)}),this}var n=e,r=void 0;if("number"==typeof t?(r=Math.min(Math.max(0,t),this.elements.length),this.elements.splice(r,0,n)):this.elements.push(n),n.name&&n.container.classList.add(this.getFullElName(n.name)),t&&"string"==typeof t){var i=this.getElm(t);if(null==i)throw new Error("Element does not exist");i.appendChild(n.container)}else this.appendChildToContainer(n.container,r);return n.parentElement=this,this}},{key:"afterSetMod",value:function(e,t){this.syncMod&&this.elements.forEach(function(o){return o.setMod(e,t)})}},{key:"appendChildToContainer",value:function(e,t){void 0===t||t<0||t>this.elements.length-1||null==this.container.children[t]?this.container.appendChild(e):this.container.insertBefore(e,this.container.children[t])}},{key:"remove",value:function(e){var t=this.elements.indexOf(e);return-1!==t&&(this.elements.splice(t,1),ii.safeRemove(e.container),e.parentElement=null),this}},{key:"clear",value:function(){return this.elements.forEach(function(e){return e.destruct()}),this.elements.length=0,this}},{key:"destruct",value:function(){return this.clear(),bl(yl(t.prototype),"destruct",this).call(this)}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(gl);function Cl(e){return Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Cl(e)}function zl(e,t){return zl=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},zl(e,t)}function El(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Tl(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Tl=function(){return!!e})()}xl([va("buttonSize")],Ol.prototype,"update",null),Ol=Sl=xl([pi],Ol);var Il=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e=this,n=arguments,o=Cl(o=t),function(e,t){return!t||"object"!==El(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,Tl()?Reflect.construct(o,n||[],Cl(e).constructor):o.apply(e,n));var e,o,n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zl(e,t)}(t,e),(o=[{key:"className",value:function(){return"UISeparator"}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(gl);function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Pl(e)}function Rl(e,t){return Rl=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Rl(e,t)}function Al(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Ll(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ll=function(){return!!e})()}Il=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;
1if("object"===("undefined"==typeof Reflect?"undefined":El(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a}([pi],Il);var Ml=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e=this,n=arguments,o=Pl(o=t),function(e,t){return!t||"object"!==Al(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,Ll()?Reflect.construct(o,n||[],Pl(e).constructor):o.apply(e,n));var e,o,n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rl(e,t)}(t,e),(o=[{key:"className",value:function(){return"UISpacer"}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(gl);function Bl(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function Dl(e){return function(e){if(Array.isArray(e))return Bl(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Bl(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Bl(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}Ml=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":Al(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a}([pi],Ml);var Nl=function(e){return To(e.buttons)};function Hl(e,t){var o=t.getRegisteredButtonGroups();return new Set(e.reduce(function(e,t){var n;return Nl(t)?e=e.concat(Dl(t.buttons).concat(Dl(null!==(n=o[t.group])&&void 0!==n?n:[]))):e.push(t),e},[]))}function Fl(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function ql(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Vl(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},n=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(o).filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable}))),n.forEach(function(t){ql(e,t,o[t])})}return e}function Wl(e,t){var o;return t||(t=Qn.defaultOptions.controls),Io(e)?o=Ul(e,t)||{name:e,command:e,tooltip:e}:void 0!==t[(o=Vl({name:"empty"},vr(e))).name]&&(o=Vl({},vr(t[o.name]),vr(o))),o}function Ul(e,t){var o=function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,r=[],i=!0,a=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(r.push(o.value),2!==r.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==t.return||t.return()}finally{if(a)throw n}}return r}}(e)||function(e){if(e){if("string"==typeof e)return Fl(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Fl(e,2):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e.split(/\./)),n=o[0],r=o[1],i=t;return null!=r?void 0!==t[n]&&(i=t[n]):r=n,i[r]?Vl({name:r},vr(i[r])):void 0}function Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Yl(e)}function Kl(e,t){return Kl=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Kl(e,t)}function Gl(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Jl(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jl=function(){return!!e})()}var Xl=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;
1if("object"===("undefined"==typeof Reflect?"undefined":Gl(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Zl=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=function(e,t,o){return t=Yl(t),function(e,t){return!t||"object"!==Gl(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,Jl()?Reflect.construct(t,o||[],Yl(e).constructor):t.apply(e,o))}(this,t,[e])).mode="horizontal",o.removeButtons=[],o}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kl(e,t)}(t,e),o=[{key:"className",value:function(){return"UIList"}},{key:"__onChangeMode",value:function(){this.setMod("mode",this.mode)}},{key:"makeGroup",value:function(){return new Ol(this.jodit)}},{key:"buttons",get:function(){return this.allChildren.filter(function(e){return Ra.isInstanceOf(e,is)})}},{key:"getButtonsNames",value:function(){return this.buttons.map(function(e){return t=e,(null!=(o=is)&&"undefined"!=typeof Symbol&&o[Symbol.hasInstance]?!!o[Symbol.hasInstance](t):t instanceof o)&&e.state.name||"";var t,o}).filter(function(e){return""!==e})}},{key:"setRemoveButtons",value:function(e){return this.removeButtons=e||[],this}},{key:"build",value:function(e){var t=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;e=ki(e),this.clear();var n,r=!1,i=this.makeGroup();this.append(i),i.setMod("line",!0);var a=function(e){var a=null;switch(e.name){case"\n":(i=t.makeGroup()).setMod("line",!0),n=t.makeGroup(),i.append(n),t.append(i);break;case"|":r||(r=!0,a=new Il(t.j));break;case"---":n.setMod("before-spacer",!0);var l=new Ml(t.j);i.append(l),n=t.makeGroup(),i.append(n),r=!1;break;default:r=!1,a="select"===e.component?t.makeSelect(e,o):t.makeButton(e,o)}a&&(n||(n=t.makeGroup(),i.append(n)),n.append(a))},l=function(e){var o;return!t.removeButtons.includes(e.name)&&(!e.isVisible||(null===(o=e.isVisible)||void 0===o?void 0:o.call(e,t.j,e)))};return e.forEach(function(e){if(Nl(e)){var o=e.buttons.filter(function(e){return e});o.length&&((n=t.makeGroup()).setMod("separated",!0).setMod("group",e.group),i.append(n),function(e,t){var o=To(e)?e:cr(e,!1).map(function(t){return hr({name:t},e[t]||{})});return o.map(function(e){return Wl(e,t||Qn.defaultOptions.controls)})}(o,t.j.o.controls).filter(l).forEach(a))}else{n||(n=t.makeGroup(),i.append(n));var r=Wl(e,t.j.o.controls);l(r)&&a(r)}}),this.update(),this}},{key:"makeSelect",value:function(e,t){throw new Error("Not implemented behaviour")}},{key:"makeButton",value:function(e,t){return new is(this.j,{name:e.name})}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Ol);function Ql(e,t,o){return Ql="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=$l(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},Ql(e,t,o||e)}function $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},$l(e)}function es(e,t){return es=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},es(e,t)}function ts(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function os(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(os=function(){return!!e})()}Xl([va("mode"),Ua("ready")],Zl.prototype,"__onChangeMode",null),Zl=Xl([pi],Zl);var ns=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;
1if("object"===("undefined"==typeof Reflect?"undefined":ts(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},rs=function(){return{size:"middle",type:"button",role:"button",name:"",value:"",variant:"initial",disabled:!1,activated:!1,icon:{name:"empty",fill:"",iconURL:""},tooltip:"",text:"",tabIndex:void 0}},is=function(e){function t(e,o){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t,o){return t=$l(t),function(e,t){return!t||"object"!==ts(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,os()?Reflect.construct(t,o||[],$l(e).constructor):t.apply(e,o))}(this,t,[e])).isButton=!0,n.state=rs(),n.actionHandlers=[],n.button=n.container,n.updateSize(),n.onChangeSize(),n.onChangeStatus(),o&&n.hookStatus(zo.ready,function(){n.setState(o)}),n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&es(e,t)}(t,e),(o=[{key:"className",value:function(){return"UIButton"}},{key:"setState",value:function(e){return Object.assign(this.state,e),this}},{key:"text",get:function(){var e=this.getElm("text");return Kn(e,"Text element not found"),e}},{key:"icon",get:function(){var e=this.getElm("icon");return Kn(e,"Icon element not found"),e}},{key:"onChangeSize",value:function(){this.setMod("size",this.state.size)}},{key:"onChangeType",value:function(){Gn(this.container,"type",this.state.type)}},{key:"onChangeRole",value:function(){Gn(this.container,"role",this.state.role)}},{key:"updateSize",value:function(){var e=this.closest(Zl);e&&(this.state.size=e.buttonSize)}},{key:"onChangeStatus",value:function(){this.setMod("variant",this.state.variant)}},{key:"onChangeText",value:function(){this.text.textContent=this.jodit.i18n(this.state.text)}},{key:"onChangeTextSetMode",value:function(){this.setMod("text-icons",Boolean(this.state.text.trim().length))}},{key:"onChangeDisabled",value:function(){Gn(this.container,"disabled",this.state.disabled||null)}},{key:"onChangeActivated",value:function(){Gn(this.container,"aria-pressed",this.state.activated)}},{key:"onChangeName",value:function(){this.container.classList.add("".concat(this.componentName,"_").concat(this.clearName(this.state.name))),this.name=this.state.name,Gn(this.container,"data-ref",this.state.name),Gn(this.container,"ref",this.state.name)}},{key:"onChangeTooltip",value:function(){this.get("j.o.useNativeTooltip")&&Gn(this.container,"title",this.state.tooltip),Gn(this.container,"aria-label",this.state.tooltip)}},{key:"onChangeTabIndex",value:function(){Gn(this.container,"tabindex",this.state.tabIndex)}},{key:"onChangeIcon",value:function(){var e=this.get("j.o.textIcons");if(!(!0===e||Oo(e)&&e(this.state.name))){ii.detach(this.icon);var t=sl.makeIcon(this.j,this.state.icon);t&&this.icon.appendChild(t)}}},{key:"focus",value:function(){this.container.focus()}},{key:"isFocused",value:function(){var e=this.od.activeElement;return Boolean(e&&ii.isOrContains(this.container,e))}},{key:"createContainer",value:function(){var e=this.componentName,t=this.j.c.element("button",{class:e,type:"button",role:"button",ariaPressed:!1}),o=this.j.c.span(e+"__icon"),n=this.j.c.span(e+"__text");return t.appendChild(o),t.appendChild(n),t}},{key:"destruct",value:function(){return this.j.e.off(this.container),Ql($l(t.prototype),"destruct",this).call(this)}},{key:"onAction",value:function(e){return this.actionHandlers.push(e),this}},{key:"__onActionFire",value:function(e){var t=this;e.buffer={actionTrigger:this},this.actionHandlers.forEach(function(o){return o.call(t,e)})}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(gl);function as(e,t,o,n){var r=new is(e);return r.state.tabIndex=e.o.allowTabNavigation?0:-1,Io(t)?(r.state.icon.name=t,r.state.name=t,n&&(r.state.variant=n),o&&(r.state.text=o)):r.setState(t),r}function ls(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}
1function ss(e){return ss=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ss(e)}function cs(e,t){return cs=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},cs(e,t)}function us(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function ds(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ds=function(){return!!e})()}ns([li],is.prototype,"text",null),ns([li],is.prototype,"icon",null),ns([va("state.size",{immediately:!1})],is.prototype,"onChangeSize",null),ns([va("state.type",{immediately:!1})],is.prototype,"onChangeType",null),ns([va("state.role",{immediately:!1})],is.prototype,"onChangeRole",null),ns([va("parentElement")],is.prototype,"updateSize",null),ns([va("state.variant",{immediately:!1})],is.prototype,"onChangeStatus",null),ns([va("state.text",{immediately:!1})],is.prototype,"onChangeText",null),ns([va("state.text",{immediately:!1})],is.prototype,"onChangeTextSetMode",null),ns([va("state.disabled")],is.prototype,"onChangeDisabled",null),ns([va("state.activated")],is.prototype,"onChangeActivated",null),ns([va("state.name",{immediately:!1})],is.prototype,"onChangeName",null),ns([va("state.tooltip",{immediately:!1})],is.prototype,"onChangeTooltip",null),ns([va("state.tabIndex",{immediately:!1})],is.prototype,"onChangeTabIndex",null),ns([va("state.icon",{immediately:!1})],is.prototype,"onChangeIcon",null),ns([si],is.prototype,"createContainer",null),ns([va("button:click")],is.prototype,"__onActionFire",null),is=ns([pi],is);var fs=function(e){function t(e){var o,n,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{radio:!0};return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=function(e,t,o){return t=ss(t),function(e,t){return!t||"object"!==us(t)&&"function"!=typeof t?ls(e):t}(e,ds()?Reflect.construct(t,o||[],ss(e).constructor):t.apply(e,o))}(this,t,[e,null===(n=i.options)||void 0===n?void 0:n.map(function(t){var n=new is(e,{text:t.text,value:t.value,variant:"primary"});return n.onAction(function(){ls(o).select(t.value)}),n}),i])).options=i,o.select(null!==(r=i.value)&&void 0!==r?r:0),o}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cs(e,t)}(t,e),o=[{key:"className",value:function(){return"UIButtonGroup"}},{key:"render",value:function(e){return'<div>\n\t\t\t<div class="&__label">~'.concat(e.label,'~</div>\n\t\t\t<div class="&__options"></div>\n\t\t</div>')}},{key:"appendChildToContainer",value:function(e){var t=this.getElm("options");Kn(null!=t,"Options does not exist"),t.appendChild(e)}},{key:"select",value:function(e){var t,o,n=this;this.elements.forEach(function(t,o){o===e||t.state.value===e?t.state.activated=!0:n.options.radio&&(t.state.activated=!1)});var r=this.elements.filter(function(e){return e.state.activated}).map(function(e){return{text:e.state.text,value:e.state.value}});this.jodit.e.fire(this,"select",r),null===(o=(t=this.options).onChange)||void 0===o||o.call(t,r)}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Ol);function ps(e,t,o){return ps="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=hs(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},ps(e,t,o||e)}function hs(e){return hs=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},hs(e)}function vs(e,t){return vs=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},vs(e,t)}function gs(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function ms(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ms=function(){return!!e})()}fs=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;
1if("object"===("undefined"==typeof Reflect?"undefined":us(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a}([pi],fs);var bs,ys=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":gs(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},_s=["scroll.tooltip","joditCloseDialog","mouseleave.tooltip"],js=["escape.tooltip","change.tooltip","changePlace.tooltip","afterOpenPopup.tooltip","hidePopup.tooltip","beforePopupClose.tooltip","closeAllPopups.tooltip"],ws=bs=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=function(e,t,o){return t=hs(t),function(e,t){return!t||"object"!==gs(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,ms()?Reflect.construct(t,o||[],hs(e).constructor):t.apply(e,o))}(this,t,[e])).__isOpened=!1,o.__attachedContainers=new Set,o.__listenClose=!1,o.__currentTarget=null,o.__delayShowTimeout=0,o.__hideTimeout=0,e.o.textIcons||!e.o.showTooltip||e.o.useNativeTooltip||(o.j.e.on("getContainer",function(e){o.__onAttach(e)}),e.hookStatus(zo.ready,function(){o.__onAttach(o.j.container)})),o}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vs(e,t)}(t,e),(o=[{key:"className",value:function(){return"UITooltip"}},{key:"render",value:function(){return'<div><div class="&__content"></div></div>'}},{key:"__onAttach",value:function(e){za(this.j,bs).appendChild(this.container),this.__attachedContainers.add(e),this.__attachedContainers.add(this.j.container),this.j.e.on(e,"mouseenter.tooltip",this.__onMouseEnter,{capture:!0}).on(e,"mouseleave.tooltip",this.__onMouseLeave,{capture:!0}).on(this.j.container,"mouseleave.tooltip",this.__onMouseLeave,{capture:!0})}},{key:"__addListenersOnEnter",value:function(){if(!this.__listenClose){this.__listenClose=!0;var e=this.j;e.e.on(e.ow,_s,this.__hide).on(js,this.__hide)}}},{key:"__removeListenersOnLeave",value:function(){if(this.__listenClose){this.__listenClose=!1;var e=this.j;e.e.off(e.ow,_s,this.__hide).off(js,this.__hide)}}},{key:"__onMouseLeave",value:function(e){this.__currentTarget===e.target&&(this.__hideDelay(),this.__currentTarget=null)}},{key:"__onMouseEnter",value:function(e){if(ii.isHTMLElement(e.target)){var t=Gn(e.target,"aria-label");if(t&&!Boolean(Gn(e.target,"disabled"))&&e.target.className.includes("jodit")){this.__currentTarget=e.target;var o=e.target;this.__open(function(){var e=Ki(o);return{x:e.left+e.width/2,y:e.top+e.height}},t)}}}},{key:"__open",value:function(e,t){var o=this;this.__addListenersOnEnter(),this.__isOpened=!0,this.j.async.clearTimeout(this.__hideTimeout),this.j.async.clearTimeout(this.__delayShowTimeout);var n=this.j.o.showTooltipDelay||this.j.defaultTimeout;n?this.__delayShowTimeout=this.j.async.setTimeout(function(){return o.__show(e,t)},n):this.__show(e,t)}},{key:"__show",value:function(e,t){this.setMod("visible",!0),this.getElm("content").innerHTML=t;var o=e();En(this.container,{left:o.x,top:o.y})}},{key:"__hide",value:function(){this.j.async.clearTimeout(this.__delayShowTimeout),this.j.async.clearTimeout(this.__hideTimeout),this.__removeListenersOnLeave(),this.__isOpened&&(this.__isOpened=!1,this.setMod("visible",!1),this.getElm("content").innerHTML="",En(this.container,{left:-5e3}))}},{key:"__hideDelay",value:function(){this.j.async.clearTimeout(this.__delayShowTimeout),this.j.async.clearTimeout(this.__hideTimeout),this.__isOpened&&(this.__hideTimeout=this.async.setTimeout(this.__hide,this.j.defaultTimeout))}},{key:"destruct",value:function(){var e=this;
1this.__attachedContainers.forEach(function(t){e.j.e.off(t,"mouseenter.tooltip",e.__onMouseEnter).off(t,"mouseleave.tooltip",e.__onMouseLeave)}),this.__hide(),ps(hs(t.prototype),"destruct",this).call(this)}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(gl);function ks(e){return ks=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ks(e)}function Ss(e,t){return Ss=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Ss(e,t)}function xs(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Os(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Os=function(){return!!e})()}ys([Co],ws.prototype,"__onMouseLeave",null),ys([Co],ws.prototype,"__onMouseEnter",null),ys([Co],ws.prototype,"__hide",null),ys([Co],ws.prototype,"__hideDelay",null),ws=bs=ys([pi],ws);var Cs=function(e){function t(e,o){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{align:"left"};return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t,o){return t=ks(t),function(e,t){return!t||"object"!==xs(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,Os()?Reflect.construct(t,o||[],ks(e).constructor):t.apply(e,o))}(this,t,[e,o])).options=r,n.setMod("align",n.options.align||"left"),n.setMod("width",n.options.width||""),n.options.mod&&n.setMod(n.options.mod,!0),n.options.className&&n.container.classList.add(n.options.className),Gn(n.container,"data-ref",r.ref),Gn(n.container,"ref",r.ref),n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ss(e,t)}(t,e),(o=[{key:"className",value:function(){return"UIBlock"}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Ol);Cs=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":xs(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a}([pi],Cs);var zs=function(e){return!!dn(e.value).length||(e.error="Please fill out this field",!1)},Es=function(e){return!!sn(dn(e.value))||(e.error="Please enter a web address",!1)},Ts=function(e){return!!dn(e.value).length||(e.error="Please fill out this field",!1)};function Is(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Ps(e,t,o){return Ps="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Rs(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},Ps(e,t,o||e)}function Rs(e){return Rs=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Rs(e)}function As(e,t){return As=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},As(e,t)}function Ls(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Ms(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ms=function(){return!!e})()}var Bs,Ds=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":Ls(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Ns=Bs=function(e){function t(e,o){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t,o){return t=Rs(t),function(e,t){return!t||"object"!==Ls(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,Ms()?Reflect.construct(t,o||[],Rs(e).constructor):t.apply(e,o))}(this,t,[e,o])).label=n.j.c.span(n.getFullElName("label")),n.icon=n.j.c.span(n.getFullElName("icon")),n.clearButton=n.j.c.span(n.getFullElName("clear"),sl.get("cancel")),n.state=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},n=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(o).filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable}
1))),n.forEach(function(t){Is(e,t,o[t])})}return e}({},Bs.defaultState),n.__errorBox=n.j.c.span(n.getFullElName("error")),n.validators=new Set([]),void 0!==(null==o?void 0:o.value)&&(o.value=o.value.toString()),Object.assign(n.state,o),void 0!==n.state.clearButton&&(n.j.e.on(n.clearButton,"click",function(e){e.preventDefault(),n.nativeInput.value="",n.j.e.fire(n.nativeInput,"input"),n.focus()}).on(n.nativeInput,"input",function(){n.state.clearButton=Boolean(n.value.length)}),n.state.clearButton=Boolean(n.value.length)),n.j.e.on(n.nativeInput,"focus blur",function(){n.onChangeFocus()}).on(n.nativeInput,"input change",n.onChangeValue),n.onChangeState(),n.onChangeClassName(),n.onChangeStateValue(),n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&As(e,t)}(t,e),o=[{key:"className",value:function(){return"UIInput"}},{key:"onChangeClear",value:function(){this.state.clearButton?ii.after(this.nativeInput,this.clearButton):ii.safeRemove(this.clearButton)}},{key:"onChangeClassName",value:function(e,t){t&&this.container.classList.remove(t),this.state.className&&this.container.classList.add(this.state.className)}},{key:"onChangeState",value:function(){this.name=this.state.name;var e=this.nativeInput,t=this.state,o=t.name,n=t.icon,r=t.type,i=t.ref,a=t.required,l=t.placeholder,s=t.autocomplete,c=t.label;Gn(e,"name",o),Gn(e,"type",r),Gn(e,"data-ref",i||o),Gn(e,"ref",i||o),Gn(e,"required",a||null),Gn(e,"autocomplete",s?null:"off"),Gn(e,"placeholder",l?this.j.i18n(l):""),n&&sl.exists(n)?(ii.before(e,this.icon),this.icon.innerHTML=sl.get(n)):ii.safeRemove(this.icon),c?(ii.before(this.wrapper,this.label),this.label.innerText=this.j.i18n(c)):ii.safeRemove(this.label),this.updateValidators()}},{key:"updateValidators",value:function(){var e,t=this;this.validators.clear(),this.state.required&&this.validators.add(zs),null===(e=this.state.validators)||void 0===e||e.forEach(function(e){var o=s[e];o&&t.validators.add(o)})}},{key:"error",set:function(e){this.setMod("has-error",Boolean(e)),e?(this.__errorBox.innerText=this.j.i18n(e,this.j.i18n(this.state.label||"")),this.container.appendChild(this.__errorBox)):ii.safeRemove(this.__errorBox)}},{key:"value",get:function(){return this.nativeInput.value},set:function(e){this.value!==e&&(this.nativeInput.value=e,this.onChangeValue())}},{key:"onChangeStateValue",value:function(){var e=this.state.value.toString();e!==this.value&&(this.value=e)}},{key:"onChangeValue",value:function(){var e,t,o=this.value;this.state.value!==o&&(this.state.value=o,this.j.e.fire(this,"change",o),null===(t=(e=this.state).onChange)||void 0===t||t.call(e,o))}},{key:"validate",value:function(){var e=this;this.error="";var t=Bo(this.validators).every(function(t){return t(e)});return this.__markInputInvalid(),t}},{key:"__markInputInvalid",value:function(){var e,t,o,n;this.error?(this.nativeInput.setAttribute("aria-invalid","true"),null===(t=(e=this.nativeInput).setCustomValidity)||void 0===t||t.call(e,this.error)):(this.nativeInput.removeAttribute("aria-invalid"),null===(n=(o=this.nativeInput).setCustomValidity)||void 0===n||n.call(o,""))}},{key:"createContainer",value:function(e){var o=Ps(Rs(t.prototype),"createContainer",this).call(this);this.wrapper=this.j.c.div(this.getFullElName("wrapper")),this.nativeInput||(this.nativeInput=this.createNativeInput());var n=this.nativeInput;return n.classList.add(this.getFullElName("input")),this.wrapper.appendChild(n),o.appendChild(this.wrapper),Gn(n,"dir",this.j.o.direction||"auto"),o}},{key:"createNativeInput",value:function(e){return this.j.create.element("input")}},{key:"focus",value:function(){this.nativeInput.focus()}},{key:"isFocused",get:function(){return this.nativeInput===this.j.od.activeElement}},{key:"onChangeFocus",value:function(){this.setMod("focused",this.isFocused)}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(gl);function Hs(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Fs(e,t,o){return Fs="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=qs(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},Fs(e,t,o||e)}
1function qs(e){return qs=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},qs(e)}function Vs(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},n=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(o).filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable}))),n.forEach(function(t){Hs(e,t,o[t])})}return e}function Ws(e,t){return Ws=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Ws(e,t)}function Us(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Ys(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ys=function(){return!!e})()}Ns.defaultState={className:"",autocomplete:!0,name:"",value:"",icon:"",label:"",ref:"",type:"text",placeholder:"",required:!1,validators:[]},Ds([va("state.clearButton")],Ns.prototype,"onChangeClear",null),Ds([va("state.className")],Ns.prototype,"onChangeClassName",null),Ds([va(["state.name","state.type","state.label","state.placeholder","state.autocomplete","state.icon"],{immediately:!1}),Ha()],Ns.prototype,"onChangeState",null),Ds([va("state.value")],Ns.prototype,"onChangeStateValue",null),Ds([Co],Ns.prototype,"onChangeValue",null),Ns=Bs=Ds([pi],Ns);var Ks,Gs=Ks=function(e){function t(e,o){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t,o){return t=qs(t),function(e,t){return!t||"object"!==Us(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,Ys()?Reflect.construct(t,o||[],qs(e).constructor):t.apply(e,o))}(this,t,[e,o])).state=Vs({},Ks.defaultState),Object.assign(n.state,o),n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ws(e,t)}(t,e),(o=[{key:"className",value:function(){return"UISelect"}},{key:"createContainer",value:function(e){var o,n=Fs(qs(t.prototype),"createContainer",this).call(this,e),r=this.j,i=this.nativeInput,a=function(){return r.create.element("option")};if(void 0!==e.placeholder){var l=a();l.value="",l.text=r.i18n(e.placeholder),i.add(l)}return null===(o=e.options)||void 0===o||o.forEach(function(e){var t=a();t.value=e.value.toString(),t.text=r.i18n(e.text),i.add(t)}),e.size&&e.size>0&&Gn(i,"size",e.size),e.multiple&&Gn(i,"multiple",""),n}},{key:"createNativeInput",value:function(){return this.j.create.element("select")}},{key:"updateValidators",value:function(){Fs(qs(t.prototype),"updateValidators",this).call(this),this.state.required&&(this.validators.delete(zs),this.validators.add(Ts))}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Ns);function Js(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function Xs(e){return Xs=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Xs(e)}function Zs(e,t){return Zs=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Zs(e,t)}function Qs(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function $s(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($s=function(){return!!e})()}Gs.defaultState=function(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t.push.apply(t,o)}return t}(Object(t)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}),e}(Vs({},Ns.defaultState),{options:[],size:1,multiple:!1}),Gs=Ks=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;
1if("object"===("undefined"==typeof Reflect?"undefined":Us(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a}([pi],Gs);var ec=function(e){function t(){for(var e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];var r,i,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(null===(i=(r=function(e,t,o){return t=Xs(t),function(e,t){return!t||"object"!==Qs(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,$s()?Reflect.construct(t,o||[],Xs(e).constructor):t.apply(e,o))}(this,t,function(e){return function(e){if(Array.isArray(e))return Js(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Js(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Js(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(o))).options)||void 0===i?void 0:i.className)&&r.container.classList.add(null===(a=r.options)||void 0===a?void 0:a.className),r}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zs(e,t)}(t,e),o=[{key:"className",value:function(){return"UIForm"}},{key:"submit",value:function(){this.j.e.fire(this.container,"submit")}},{key:"validate",value:function(){var e=this.allChildren.filter(function(e){return Ra.isInstanceOf(e,Ns)}),t=!0,o=!1,n=void 0;try{for(var r,i=e[Symbol.iterator]();!(t=(r=i.next()).done);t=!0)if(!r.value.validate())return!1}catch(e){o=!0,n=e}finally{try{t||null==i.return||i.return()}finally{if(o)throw n}}var a=this.allChildren.filter(function(e){return Ra.isInstanceOf(e,Gs)}),l=!0,s=!1,c=void 0;try{for(var u,d=a[Symbol.iterator]();!(l=(u=d.next()).done);l=!0)if(!u.value.validate())return!1}catch(e){s=!0,c=e}finally{try{l||null==d.return||d.return()}finally{if(s)throw c}}return!0}},{key:"onSubmit",value:function(e){var t=this;return this.j.e.on(this.container,"submit",function(){var o=t.allChildren.filter(function(e){return Ra.isInstanceOf(e,Ns)});return!!t.validate()&&(e(o.reduce(function(e,t){return e[t.state.name]=t.value,e},{})),!1)}),this}},{key:"createContainer",value:function(){var e=this.j.c.element("form");return e.classList.add(this.componentName),Gn(e,"dir",this.j.o.direction||"auto"),Gn(e,"novalidate",""),e}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Ol);function tc(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},oc(e)}function nc(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},n=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(o).filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable}))),n.forEach(function(t){tc(e,t,o[t])})}return e}function rc(e,t){return rc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},rc(e,t)}function ic(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function ac(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ac=function(){return!!e})()}ec=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;
1if("object"===("undefined"==typeof Reflect?"undefined":Qs(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a}([pi],ec);var lc,sc=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":ic(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},cc=lc=function(e){function t(e,o){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t,o){return t=oc(t),function(e,t){return!t||"object"!==ic(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,ac()?Reflect.construct(t,o||[],oc(e).constructor):t.apply(e,o))}(this,t,[e,o])).state=nc({},lc.defaultState),Object.assign(n.state,o),!1===n.state.resizable&&(n.nativeInput.style.resize="none"),n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rc(e,t)}(t,e),o=[{key:"className",value:function(){return"UITextArea"}},{key:"createNativeInput",value:function(e){return this.j.create.element("textarea")}},{key:"onChangeStateSize",value:function(){var e=this.state,t=e.size,o=e.resizable;this.nativeInput.style.resize=o?"auto":"none",this.nativeInput.rows=null!=t?t:5}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Ns);function uc(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},dc(e)}function fc(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},n=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(o).filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable}))),n.forEach(function(t){uc(e,t,o[t])})}return e}function pc(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t.push.apply(t,o)}return t}(Object(t)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}),e}function hc(e,t){return hc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},hc(e,t)}function vc(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function gc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gc=function(){return!!e})()}cc.defaultState=function(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t.push.apply(t,o)}return t}(Object(t)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}),e}(nc({},Ns.defaultState),{size:5,resizable:!0}),sc([va(["state.size","state.resizable"])],cc.prototype,"onChangeStateSize",null),cc=lc=sc([pi],cc);var mc,bc=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":vc(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},yc=mc=function(e){function t(e,o){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t,o){return t=dc(t),function(e,t){return!t||"object"!==vc(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,gc()?Reflect.construct(t,o||[],dc(e).constructor):t.apply(e,o))}(this,t,[e,pc(fc({},o),{type:"checkbox"})])).state=fc({},mc.defaultState),Object.assign(n.state,o),n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hc(e,t)}(t,e),(o=[{key:"className",value:function(){return"UICheckbox"}}
1,{key:"render",value:function(){return this.j.c.element("label",{className:this.componentName})}},{key:"onChangeChecked",value:function(){this.value=this.state.checked.toString(),this.nativeInput.checked=this.state.checked,this.setMod("checked",this.state.checked)}},{key:"onChangeNativeCheckBox",value:function(){this.state.checked=this.nativeInput.checked}},{key:"onChangeSwitch",value:function(){this.setMod("switch",this.state.switch);var e=this.getElm("switch-slider");this.state.switch?(e||(e=this.j.c.div(this.getFullElName("switch-slider"))),ii.after(this.nativeInput,e)):ii.safeRemove(e)}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Ns);function _c(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},jc(e)}function wc(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},n=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(o).filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable}))),n.forEach(function(t){_c(e,t,o[t])})}return e}function kc(e,t){return kc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},kc(e,t)}function Sc(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function xc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xc=function(){return!!e})()}yc.defaultState=pc(fc({},Ns.defaultState),{checked:!1,switch:!1}),bc([va("state.checked"),Ua("ready")],yc.prototype,"onChangeChecked",null),bc([va("nativeInput:change")],yc.prototype,"onChangeNativeCheckBox",null),bc([va("state.switch"),Ua("ready")],yc.prototype,"onChangeSwitch",null),yc=mc=bc([pi],yc);var Oc=function(e){function t(e,o){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t,o){return t=jc(t),function(e,t){return!t||"object"!==Sc(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,xc()?Reflect.construct(t,o||[],jc(e).constructor):t.apply(e,o))}(this,t,[e,wc({type:"file"},o)])).state=function(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t.push.apply(t,o)}return t}(Object(t)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}),e}(wc({},Ns.defaultState),{type:"file",onlyImages:!0}),n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kc(e,t)}(t,e),o=[{key:"className",value:function(){return"UIFileInput"}},{key:"createContainer",value:function(e){this.button=new is(this.j,{tooltip:e.tooltip,icon:{name:"plus"}});var t=this.button.container;this.nativeInput||(this.nativeInput=this.createNativeInput(e));var o=this.nativeInput;return o.classList.add(this.getFullElName("input")),t.classList.add(this.componentName),t.appendChild(o),t}},{key:"createNativeInput",value:function(e){return this.j.create.fromHTML('<input\n\t\t\ttype="file"\n\t\t\taccept="'.concat(e.onlyImages?"image/*":"*",'"\n\t\t\ttabindex="-1"\n\t\t\tdir="auto"\n\t\t\tmultiple=""\n\t\t/>'))}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Ns);function Cc(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function zc(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ec(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Tc(e,t,o){return Tc="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Ic(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},Tc(e,t,o||e)}
1function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ic(e)}function Pc(e,t){return Pc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Pc(e,t)}function Rc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var n,r,i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Cc(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Cc(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ac(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Lc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Lc=function(){return!!e})()}Oc=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":Sc(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a}([pi],Oc);var Mc=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":Ac(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Bc=["escape","cut","delete","backSpaceAfterDelete","beforeCommandDelete"],Dc=function(e){function t(e){var o,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=function(e,t,o){return t=Ic(t),function(e,t){return!t||"object"!==Ac(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,Lc()?Reflect.construct(t,o||[],Ic(e).constructor):t.apply(e,o))}(this,t,[e])).smart=n,o.isOpened=!1,o.strategy="leftBottom",o.viewBound=function(){return{left:0,top:0,width:o.ow.innerWidth,height:o.ow.innerHeight}},o.__childrenPopups=new Set,Gn(o.container,"role","popup"),o}var o,n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pc(e,t)}(t,e),o=t,n=[{key:"className",value:function(){return"Popup"}},{key:"appendChildToContainer",value:function(e){var t=this.getElm("content");Kn(t,"Content element should exist"),t.appendChild(e)}},{key:"updateParentElement",value:function(e){var o=this;return e!==this&&Ra.isInstanceOf(e,t)&&(this.__childrenPopups.forEach(function(t){!e.closest(t)&&t.isOpened&&t.close()}),this.__childrenPopups.has(e)||this.j.e.on(e,"beforeClose",function(){o.__childrenPopups.delete(e)}),this.__childrenPopups.add(e)),Tc(Ic(t.prototype),"updateParentElement",this).call(this,e)}},{key:"setContent",value:function(e){if(this.allChildren.length)throw new Error("Remove children");if(Ra.isInstanceOf(e,gl))this.append(e);else{var t=Io(e)?this.j.c.fromHTML(e):e;this.appendChildToContainer(t)}return this.updatePosition(),this}},{key:"open",value:function(e){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0;if(ar(this.jodit,this.container),this.container.classList.add("jodit_theme_".concat(this.jodit.o.theme)),this.__calculateZIndex(),this.isOpened=!0,this.__addGlobalListeners(),this.__targetBound=o?this.getKeepBound(e):e,n)n.appendChild(this.container);else{var r=za(this.jodit,t);n!==this.container.parentElement&&r.appendChild(this.container)}return this.updatePosition(),this.j.e.fire(this,"afterOpen"),this.j.e.fire("afterOpenPopup",this),this}},{key:"__calculateZIndex",value:function(){var e=this;if(!this.container.style.zIndex){var t=function(t){var o=t.container.style.zIndex||t.o.zIndex;return!!o&&(e.setZIndex(1+parseInt(o.toString(),10)),!0)};if(!t(this.j))for(var o=this.parentElement;o;){if(t(o.j))return;if(o.container.style.zIndex)return void this.setZIndex(1+parseInt(o.container.style.zIndex.toString(),10));if(!o.parentElement&&o.container.parentElement){var n=gl.closestElement(o.container.parentElement,gl);if(n){o=n;continue}}
1o=o.parentElement}}}},{key:"getKeepBound",value:function(e){var t=this,o=e(),n=this.od.elementFromPoint(o.left,o.top);if(!n)return e;var r=ii.isHTMLElement(n)?n:n.parentElement,i=Ki(r,this.j);return function(){var o=e(),n=Ki(r,t.j);return function(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t.push.apply(t,o)}return t}(Object(t)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}),e}(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},n=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(o).filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable}))),n.forEach(function(t){Ec(e,t,o[t])})}return e}({},o),{top:o.top+(n.top-i.top),left:o.left+(n.left-i.left)})}}},{key:"updatePosition",value:function(){if(!this.isOpened)return this;var e=Rc(this.__calculatePosition(this.__targetBound(),this.viewBound(),Ki(this.container,this.j)),2),t=e[0],o=e[1];return this.setMod("strategy",o),En(this.container,{left:t.left,top:t.top}),this.__childrenPopups.forEach(function(e){return e.updatePosition()}),this}},{key:"__throttleUpdatePosition",value:function(){this.updatePosition()}},{key:"__calculatePosition",value:function(e,o,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.strategy,i={left:e.left,right:e.left-(n.width-e.width)},a={bottom:e.top+e.height,top:e.top-n.height},l=Object.keys(i).reduce(function(e,t){return e.concat(Object.keys(a).map(function(e){return"".concat(t).concat(Ji(e))}))},[]),s=function(e){var t=Rc(kn(e).split("-"),2),o=t[0],r=t[1];return{left:i[o],top:a[r],width:n.width,height:n.height}},c=function(e){return t.boxInView(s(r),e)?r:l.find(function(o){if(t.boxInView(s(o),e))return o})||null},u=c(Ki(this.j.container,this.j));return u&&t.boxInView(s(u),o)||(u=c(o)||u||r),[s(u),u]}},{key:"close",value:function(){return this.isOpened?(this.isOpened=!1,this.__childrenPopups.forEach(function(e){return e.close()}),this.j.e.fire(this,"beforeClose"),this.j.e.fire("beforePopupClose",this),this.__removeGlobalListeners(),ii.safeRemove(this.container),this):this}},{key:"__closeOnOutsideClick",value:function(e){this.isOpened&&!this.isOwnClick(e)&&this.close()}},{key:"isOwnClick",value:function(e){if(!e.target)return!1;var o=gl.closestElement(e.target,t);return Boolean(o&&(this===o||o.closest(this)))}},{key:"__addGlobalListeners",value:function(){var e=this,t=this.__throttleUpdatePosition,o=this.ow;Ta.on("closeAllPopups",this.close),this.smart&&this.j.e.on(Bc,this.close).on("mousedown touchstart",this.__closeOnOutsideClick).on(o,"mousedown touchstart",this.__closeOnOutsideClick),this.j.e.on("closeAllPopups",this.close).on("resize",t).on(this.container,"scroll mousewheel",t).on(o,"scroll",t).on(o,"resize",t),ii.up(this.j.container,function(o){o&&e.j.e.on(o,"scroll mousewheel",t)})}},{key:"__removeGlobalListeners",value:function(){var e=this,t=this.__throttleUpdatePosition,o=this.ow;Ta.off("closeAllPopups",this.close),this.smart&&this.j.e.off(Bc,this.close).off("mousedown touchstart",this.__closeOnOutsideClick).off(o,"mousedown touchstart",this.__closeOnOutsideClick),this.j.e.off("closeAllPopups",this.close).off("resize",t).off(this.container,"scroll mousewheel",t).off(o,"scroll",t).off(o,"resize",t),this.j.container.isConnected&&ii.up(this.j.container,function(o){o&&e.j.e.off(o,"scroll mousewheel",t)})}},{key:"setZIndex",value:function(e){this.container.style.zIndex=e.toString()}},{key:"render",value:function(){return'<div>\n\t\t\t<div class="&__content"></div>\n\t\t</div>'}},{key:"destruct",value:function(){return this.close(),Tc(Ic(t.prototype),"destruct",this).call(this)}}],r=[{key:"boxInView",value:function(e,t){return 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)>=-2}}],n&&zc(o.prototype,n),r&&zc(o,r),t}(Ol);function Nc(e,t,o){return Nc="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Hc(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},Nc(e,t,o||e)}
1function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Hc(e)}function Fc(e,t){return Fc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Fc(e,t)}function qc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qc=function(){return!!e})()}Mc([Co],Dc.prototype,"updatePosition",null),Mc([Fa(10),Co],Dc.prototype,"__throttleUpdatePosition",null),Mc([Co],Dc.prototype,"close",null),Mc([Co],Dc.prototype,"__closeOnOutsideClick",null);var Vc,Wc=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e=this,n=arguments,o=Hc(o=t),function(e,t){return!t||"object"!=((o=t)&&"undefined"!=typeof Symbol&&o.constructor===Symbol?"symbol":typeof o)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t;var o}(e,qc()?Reflect.construct(o,n||[],Hc(e).constructor):o.apply(e,n));var e,o,n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fc(e,t)}(t,e),(o=[{key:"className",value:function(){return"ProgressBar"}},{key:"render",value:function(){return"<div><div></div></div>"}},{key:"show",value:function(){return(this.j.workplace||this.j.container).appendChild(this.container),this}},{key:"hide",value:function(){return ii.safeRemove(this.container),this}},{key:"progress",value:function(e){return this.container.style.width=e.toFixed(2)+"%",this}},{key:"destruct",value:function(){return this.hide(),Nc(Hc(t.prototype),"destruct",this).call(this)}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(gl),Uc=function(){function e(t,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.document=t,this.createAttributes=o}var t;return t=[{key:"doc",get:function(){return Oo(this.document)?this.document():this.document}},{key:"element",value:function(e,t,o){var n=this,r=this.doc.createElement(e.toLowerCase());return this.applyCreateAttributes(r),t&&(rn(t)?Gn(r,t):o=t),o&&wi(o).forEach(function(e){return r.appendChild(Io(e)?n.fromHTML(e):e)}),r}},{key:"div",value:function(e,t,o){var n=this.element("div",t,o);return e&&(n.className=e),n}},{key:"sandbox",value:function(){var e,t=this.element("iframe",{sandbox:"allow-same-origin"});this.doc.body.appendChild(t);var o=null===(e=t.contentWindow)||void 0===e?void 0:e.document;if(Kn(o,"iframe.contentWindow.document"),!o)throw Error("Iframe error");return o.open(),o.write("<!DOCTYPE html><html><head></head><body></body></html>"),o.close(),[o.body,t]}},{key:"span",value:function(e,t,o){var n=this.element("span",t,o);return e&&(n.className=e),n}},{key:"a",value:function(e,t,o){var n=this.element("a",t,o);return e&&(n.className=e),n}},{key:"text",value:function(e){return this.doc.createTextNode(e)}},{key:"fake",value:function(){return this.text(bt)}},{key:"fragment",value:function(){return this.doc.createDocumentFragment()}},{key:"fromHTML",value:function(e,t){var o=this.div();o.innerHTML=e.toString();var n=o.firstChild===o.lastChild&&o.firstChild?o.firstChild:o;if(ii.safeRemove(n),t){var r=Gr(n);Object.keys(t).forEach(function(e){var o=r[e];o&&!1===t[e]&&ii.hide(o)})}return n}},{key:"applyCreateAttributes",value:function(e){if(this.createAttributes){var t=this.createAttributes;if(t&&t[e.tagName.toLowerCase()]){var o=t[e.tagName.toLowerCase()];Oo(o)?o(e):rn(o)&&Gn(e,o)}}}}],t&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}(),Yc=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.rootKey=t}var t;return t=[{key:"set",value:function(e,t){try{var o=localStorage.getItem(this.rootKey),n=o?JSON.parse(o):{};n[e]=t,localStorage.setItem(this.rootKey,JSON.stringify(n))}catch(e){}return this}},{key:"delete",value:function(e){try{localStorage.removeItem(this.rootKey)}catch(e){}return this}},{key:"get",value:function(e){try{var t=localStorage.getItem(this.rootKey),o=t?JSON.parse(t):{};return void 0!==o[e]?o[e]:void 0}catch(e){}}},{key:"exists",value:function(e){return null!=this.get(e)}},{key:"clear",value:function(){try{localStorage.removeItem(this.rootKey)}catch(e){}return this}}],t&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}(),Kc=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.data=new Map}var t;return t=[{key:"set",value:function(e,t){return this.data.set(e,t),this}},{key:"delete",value:function(e){return this.data.delete(e),this}},{key:"get",value:function(e){return this.data.get(e)}},{key:"exists",value:function(e){return this.data.has(e)}},{key:"clear",value:function(){return this.data.clear(),this}}],t&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}();function Gc(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Jc="Jodit_",Xc=function(){function e(t,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.provider=t,this.prefix=Jc,o&&(this.prefix+=o)}var t,o,n;return t=e,o=[{key:"set",value:function(e,t){return this.provider.set(zn(this.prefix+e),t),this}},{key:"delete",value:function(e){return this.provider.delete(zn(this.prefix+e)),this}},{key:"get",value:function(e){return this.provider.get(zn(this.prefix+e))}},{key:"exists",value:function(e){return this.provider.exists(zn(this.prefix+e))}},{key:"clear",value:function(){return this.provider.clear(),this}}],n=[{key:"makeStorage",value:function(){var t,o=arguments.length>1?arguments[1]:void 0;return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&(void 0===Vc&&(Vc=function(){var e="___Jodit___"+Math.random().toString();try{localStorage.setItem(e,"1");var t="1"===localStorage.getItem(e);return localStorage.removeItem(e),t}catch(e){}return!1}()),Vc)&&(t=new Yc(Jc+o)),t||(t=new Kc),new e(t,o)}}],o&&Gc(t.prototype,o),n&&Gc(t,n),e}();
1function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Zc(e)}function Qc(e,t){return Qc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Qc(e,t)}function $c(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function eu(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eu=function(){return!!e})()}var tu=function(e){function t(e,o){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t,o){return t=Zc(t),function(e,t){return!t||"object"!==$c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,eu()?Reflect.construct(t,o||[],Zc(e).constructor):t.apply(e,o))}(this,t,[e])).setMod("active",!0),n.setMod("variant",o.variant),n.container.textContent=o.text,n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qc(e,t)}(t,e),(o=[{key:"className",value:function(){return"UIMessage"}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(gl);function ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ou(e)}function nu(e,t){return nu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},nu(e,t)}function ru(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function iu(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(iu=function(){return!!e})()}tu=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":$c(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a}([pi],tu);var au=function(e){function t(e,o){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{defaultTimeout:3e3,defaultOffset:5};return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t,o){return t=ou(t),function(e,t){return!t||"object"!==ru(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,iu()?Reflect.construct(t,o||[],ou(e).constructor):t.apply(e,o))}(this,t,[e])).__box=o,n.options=r,n.__messages=new Set,n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nu(e,t)}(t,e),o=[{key:"className",value:function(){return"UIMessages"}},{key:"info",value:function(e,t){this.__message(e,"info",t)}},{key:"success",value:function(e,t){this.__message(e,"success",t)}},{key:"error",value:function(e,t){this.__message(e,"error",t)}},{key:"message",value:function(e,t,o){this.__message(e,t,o)}},{key:"__message",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"info",o=arguments.length>2?arguments[2]:void 0,n=e+":"+t;if(this.__messages.has(n))this.async.updateTimeout(n,o||this.options.defaultTimeout);else{if(!this.__box)throw new Error("Container is not defined: "+n);this.__box.appendChild(this.container);var r=new tu(this.j,{text:e,variant:t});this.append(r),this.__calcOffsets(),this.__messages.add(n);var i=this.__getRemoveCallback(r,n);this.j.e.on(r.container,"pointerdown",i),this.async.setTimeout(i,{label:n,timeout:o||this.options.defaultTimeout})}}},{key:"__getRemoveCallback",value:function(e,t){var o=this,n=function(r){r&&r.preventDefault(),e.isInDestruct||(o.async.clearTimeout(t),o.j.e.off(e.container,"pointerdown",n),o.__messages.delete(t),e.setMod("active",!1),o.async.setTimeout(function(){o.remove(e),e.destruct(),o.__calcOffsets()},300))};return n}},{key:"__calcOffsets",value:function(){var e=this,t=5;
1this.elements.forEach(function(o){En(o.container,"bottom",t+"px"),t+=o.container.offsetHeight+e.options.defaultOffset})}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Ol);function lu(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function su(e,t,o){return su="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=cu(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},su(e,t,o||e)}function cu(e){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},cu(e)}function uu(e,t){return uu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},uu(e,t)}function du(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function fu(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fu=function(){return!!e})()}au=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":ru(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a}([pi],au);var pu,hu=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":du(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},vu=pu=function(e){function t(e){var o,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=function(e,t,o){return t=cu(t),function(e,t){return!t||"object"!==du(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,fu()?Reflect.construct(t,[],cu(e).constructor):t.apply(e,o))}(this,t)).isJodit=n,o.isView=!0,o.parent=null,o.mods={},o.components=new Set,o.OPTIONS=pu.defaultOptions,o.__isFullSize=!1,o.__whoLocked="",o.isLockedNotBy=function(e){return o.isLocked&&o.__whoLocked!==e},o.__modulesInstances=new Map,o.id=(new Date).getTime().toString(),o.initOptions(e),o.initOwners(),o.events=new ca(o.od),o.create=new Uc(o.od),o.__container=o.c.div("jodit ".concat(o.componentName)),o}var o,n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uu(e,t)}(t,e),o=t,n=[{key:"basePath",get:function(){return this.o.basePath?this.o.basePath:yo}},{key:"minified",get:function(){return void 0!==this.o.minified?this.o.minified:_o}},{key:"defaultTimeout",get:function(){return Ro(this.o.defaultTimeout)?100:this.o.defaultTimeout}},{key:"buffer",get:function(){return Xc.makeStorage()}},{key:"message",get:function(){return this.getMessageModule(this.container)}},{key:"getMessageModule",value:function(e){return new au(this,e)}},{key:"storage",get:function(){return Xc.makeStorage(!0,this.id)}},{key:"c",get:function(){return this.create}},{key:"container",get:function(){return this.__container},set:function(e){this.__container=e}},{key:"e",get:function(){return this.events}},{key:"progressbar",get:function(){return new Wc(this)}},{key:"options",get:function(){return this.__options},set:function(e){this.__options=e}},{key:"o",get:function(){return this.options}},{key:"i18n",value:function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];return Zi(e,o,this.options)}},{key:"toggleFullSize",value:function(e){void 0===e&&(e=!this.__isFullSize),e!==this.__isFullSize&&(this.__isFullSize=e,this.e.fire("toggleFullSize",e))}},{key:"isLocked",get:function(){return""!==this.__whoLocked}},{key:"lock",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"any";return!this.isLocked&&(this.__whoLocked=e,!0)}},{key:"unlock",value:function(){return!!this.isLocked&&(this.__whoLocked="",!0)}},{key:"isFullSize",get:function(){return this.__isFullSize}},{key:"getVersion",value:function(){return pu.version}},{key:"initOptions",value:function(e){this.options=hr(e||{},hr(this.options||{},pu.defaultOptions))}},{key:"initOwners",value:function(){var e;this.ownerWindow=null!==(e=this.o.ownerWindow)&&void 0!==e?e:window}},{key:"attachEvents",value:function(e){var t=this;if(e){var o=null==e?void 0:e.events;
1o&&Object.keys(o).forEach(function(e){return t.e.on(e,o[e])})}}},{key:"getInstance",value:function(e,t){var o=Oo(e)?e.prototype.className():e,n=this.e.fire(zn("getInstance_"+o),t);if(n)return n;var r,i,a=Oo(e)?e:xa[o],l=this.__modulesInstances;if(!Oo(a))throw Lr("Need real module name");if(!l.has(o)){var s=(r=a.prototype,(null!=(i=Na)&&"undefined"!=typeof Symbol&&i[Symbol.hasInstance]?i[Symbol.hasInstance](r):r instanceof i)?new a(this,t):new a(t));this.components.add(s),l.set(o,s)}return l.get(o)}},{key:"addDisclaimer",value:function(e){this.container.appendChild(e)}},{key:"beforeDestruct",value:function(){this.e.fire(zo.beforeDestruct,this),this.components.forEach(function(e){Go(e)&&!e.isInDestruct&&e.destruct()}),this.components.clear()}},{key:"destruct",value:function(){var e,o,n;this.isDestructed||(null===(e=ai(this,"progressbar"))||void 0===e||e.destruct(),null===(o=ai(this,"message"))||void 0===o||o.destruct(),this.events&&(this.events.destruct(),this.events=void 0),null===(n=ai(this,"buffer"))||void 0===n||n.clear(),ii.safeRemove(this.container),su(cu(t.prototype),"destruct",this).call(this))}}],r=[{key:"getVersion",value:function(){return pu.version}}],n&&lu(o.prototype,n),r&&lu(o,r),t}(Ra);function gu(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function mu(e,t,o){return mu="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=bu(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},mu(e,t,o||e)}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},bu(e)}function yu(e,t){return yu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},yu(e,t)}function _u(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function ju(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ju=function(){return!!e})()}vu.ES=ct,vu.version=st,vu.esNext=dt,vu.esModern=ut,hu([li],vu.prototype,"buffer",null),hu([li],vu.prototype,"message",null),hu([li],vu.prototype,"storage",null),hu([li],vu.prototype,"c",null),hu([li],vu.prototype,"e",null),hu([li],vu.prototype,"progressbar",null),hu([Ua(zo.beforeDestruct)],vu.prototype,"beforeDestruct",null),(vu=pu=hu([Wa(ll,al)],vu)).defaultOptions={extraButtons:[],cache:!0,textIcons:!1,namespace:"",removeButtons:[],zIndex:100002,defaultTimeout:100,fullsize:!1,showTooltip:!0,useNativeTooltip:!1,buttons:[],globalFullSize:!0,language:"auto"};var wu=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":_u(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},ku=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=function(e,t,o){return t=bu(t),function(e,t){return!t||"object"!==_u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,ju()?Reflect.construct(t,o||[],bu(e).constructor):t.apply(e,o))}(this,t,[e])).__listenEvents="updatePlugins updateToolbar changeStack mousedown mouseup keydown change afterInit readonly afterResize selectionchange changeSelection focus afterSetMode touchstart focus blur",o}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yu(e,t)}(t,e),o=[{key:"className",value:function(){return"ToolbarCollection"}},{key:"firstButton",get:function(){return function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,r=[],i=!0,a=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(r.push(o.value),1!==r.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==t.return||t.return()}finally{if(a)throw n}}return r}}(e)||function(e){if(e){if("string"==typeof e)return gu(e,1);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?gu(e,1):void 0}}
1(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(this.buttons)[0]||null}},{key:"makeButton",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return td(this.j,e,t)}},{key:"makeSelect",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(e,t){return new Ku(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:null)}(this.j,e,t)}},{key:"shouldBeActive",value:function(e){}},{key:"shouldBeDisabled",value:function(e){}},{key:"getTarget",value:function(e){return e.target||null}},{key:"__immediateUpdate",value:function(){this.isDestructed||this.j.isLocked||(mu(bu(t.prototype),"update",this).call(this),this.j.e.fire("afterUpdateToolbar",this))}},{key:"update",value:function(){this.__immediateUpdate()}},{key:"setDirection",value:function(e){this.container.style.direction=e,this.container.setAttribute("dir",e)}},{key:"__initEvents",value:function(){this.j.e.on(this.__listenEvents,this.update).on("afterSetMode focus",this.__immediateUpdate)}},{key:"hide",value:function(){this.container.remove()}},{key:"show",value:function(){this.appendTo(this.j.toolbarContainer)}},{key:"showInline",value:function(e){throw Lr("The method is not implemented for this class.")}},{key:"build",value:function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.j.e.fire("beforeToolbarBuild",e);return n&&(e=n),mu(bu(t.prototype),"build",this).call(this,e,o),this}},{key:"destruct",value:function(){this.isDestructed||(this.j.e.off(this.__listenEvents,this.update).off("afterSetMode focus",this.__immediateUpdate),mu(bu(t.prototype),"destruct",this).call(this))}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Zl);function Su(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function xu(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Ou(e,t,o){return Ou="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Cu(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},Ou(e,t,o||e)}function Cu(e){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Cu(e)}function zu(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},n=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(o).filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable}))),n.forEach(function(t){xu(e,t,o[t])})}return e}function Eu(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t.push.apply(t,o)}return t}(Object(t)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}),e}function Tu(e,t){return Tu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Tu(e,t)}function Iu(e){return function(e){if(Array.isArray(e))return Su(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Su(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Su(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pu(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Ru(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ru=function(){return!!e})()}
1wu([Co],ku.prototype,"__immediateUpdate",null),wu([Ha(function(e){return e.j.defaultTimeout},!0)],ku.prototype,"update",null),wu([Ua("ready")],ku.prototype,"__initEvents",null),ku=wu([pi],ku);var Au=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":Pu(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Lu=function(e){function t(e,o){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t,o){return t=Cu(t),function(e,t){return!t||"object"!==Pu(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,Ru()?Reflect.construct(t,o||[],Cu(e).constructor):t.apply(e,o))}(this,t,[e])).control=o,n.target=r,n.state=Eu(zu({},rs()),{theme:"toolbar",currentValue:"",hasTrigger:!1}),n.openedPopup=null;var i=n.getElm("button");Kn(i,"Element button should exists"),n.button=i,Object.defineProperty(i,"component",{value:n,configurable:!0});var a=n.getElm("trigger");return Kn(a,"Element trigger should exists"),n.trigger=a,a.remove(),e.e.on([n.button,n.trigger],"mousedown",function(e){return e.preventDefault()}),n.onAction(n.onClick),n.hookStatus(zo.ready,function(){n.__initFromControl(),n.update()}),o.mods&&Object.keys(o.mods).forEach(function(e){o.mods&&n.setMod(e,o.mods[e])}),n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tu(e,t)}(t,e),o=[{key:"className",value:function(){return"ToolbarButton"}},{key:"toolbar",get:function(){return this.closest(ku)}},{key:"update",value:function(){var e,t,o=this.control,n=this.state,r=this.closest(ku);if(r){var i=null===(e=o.value)||void 0===e?void 0:e.call(o,r.jodit,this);void 0!==i&&(n.value=i),n.disabled=this.__calculateDisabledStatus(r),n.activated=this.__calculateActivatedStatus(r),null===(t=o.update)||void 0===t||t.call(o,r.jodit,this)}}},{key:"__calculateActivatedStatus",value:function(e){var t,o;return!($o(this.j)&&!this.j.editorIsActive)&&(!!(null===(o=(t=this.control).isActive)||void 0===o?void 0:o.call(t,this.j,this))||Boolean(e&&e.shouldBeActive(this)))}},{key:"__calculateDisabledStatus",value:function(e){var t,o;return!!this.j.o.disabled||!(!this.j.o.readonly||this.j.o.activeButtonsInReadOnly&&this.j.o.activeButtonsInReadOnly.includes(this.control.name))||!!(null===(o=(t=this.control).isDisabled)||void 0===o?void 0:o.call(t,this.j,this))||Boolean(e&&e.shouldBeDisabled(this))}},{key:"onChangeActivated",value:function(){Gn(this.button,"aria-pressed",this.state.activated),Ou(Cu(t.prototype),"onChangeActivated",this).call(this)}},{key:"onChangeText",value:function(){Oo(this.control.template)?this.text.innerHTML=this.control.template(this.j,this.control.name,this.j.i18n(this.state.text)):Ou(Cu(t.prototype),"onChangeText",this).call(this),this.setMod("text-icons",Boolean(this.text.innerText.trim().length))}},{key:"onChangeTabIndex",value:function(){Gn(this.button,"tabindex",this.state.tabIndex)}},{key:"createContainer",value:function(){var e=this.componentName,o=this.j.c.span(e),n=Ou(Cu(t.prototype),"createContainer",this).call(this);Gn(o,"role","listitem"),n.classList.remove(e),n.classList.add(e+"__button"),Object.defineProperty(n,"component",{value:this}),o.appendChild(n);var r=this.j.c.fromHTML('<span role="trigger" class="'.concat(e,'__trigger">').concat(sl.get("chevron"),"</span>"));return n.appendChild(r),o}},{key:"focus",value:function(){var e;null===(e=this.container.querySelector("button"))||void 0===e||e.focus()}},{key:"onChangeHasTrigger",value:function(){this.state.hasTrigger?this.container.appendChild(this.trigger):ii.safeRemove(this.trigger),this.setMod("with-trigger",this.state.hasTrigger||null)}},{key:"onChangeDisabled",value:function(){var e=this.state.disabled?"disabled":null;Gn(this.trigger,"disabled",e),Gn(this.button,"disabled",e),Gn(this.container,"disabled",e)}},{key:"__initFromControl",value:function(){var e,t=this.control,o=this.state;this.updateSize(),o.name=t.name;var n=this.j.o.textIcons;if(!0===n||Oo(n)&&n(t.name)||t.template)o.icon=rs().icon,o.text=t.text||t.name;else{if(t.iconURL)o.icon.iconURL=t.iconURL;else{var r=t.icon||t.name;o.icon.name=sl.exists(r)||(null===(e=this.j.o.extraIcons)||void 0===e?void 0:e[r])?r:""}t.iconURL||o.icon.name||(o.text=t.text||t.name)}
1t.tooltip&&(o.tooltip=this.j.i18n(Oo(t.tooltip)?t.tooltip(this.j,t,this):t.tooltip)),o.hasTrigger=Boolean(t.list||t.popup&&t.exec)}},{key:"onTriggerClick",value:function(e){var t,o,n,r=this;if(this.openedPopup)this.__closePopup();else{var i=this.control;if(e.buffer={actionTrigger:this},i.list)return this.__openControlList(i);if(Oo(i.popup)){var a=this.openPopup();a.parentElement=this;try{if(!1!==this.j.e.fire(zn("before-".concat(i.name,"-open-popup")),this.target,i,a)){var l=null!==(n=null!==(o=null===(t=this.toolbar)||void 0===t?void 0:t.getTarget(this))&&void 0!==o?o:this.target)&&void 0!==n?n:null,s=i.popup(this.j,l,this.__closePopup,this);s?a.setContent(Io(s)?this.j.c.fromHTML(s):s).open(function(){return Ki(r.container)},!1,this.j.o.allowTabNavigation?this.container:void 0):this.__closePopup()}}catch(e){throw this.__closePopup(),e}this.j.e.fire(zn("after-".concat(i.name,"-open-popup")),a.container)}}}},{key:"__openControlList",value:function(e){var t,o=this,n=null!==(t=this.jodit.options.controls)&&void 0!==t?t:{},r=function(e){return Ul(e,n)},i=e.list,a=this.openPopup(),l=ed(this.j);a.parentElement=this,l.parentElement=a,l.mode="vertical";var s=function(t,n){if(Io(n)&&r(n))return zu({name:n.toString()},r(n));if(Io(t)&&r(t))return zu({name:t.toString()},r(t),"object"===(void 0===n?"undefined":Pu(n))?n:{});(function(e){return rn(e)&&"title"in e&&"value"in e})(t)&&(n=t.value,t=t.title);var i=e.childTemplate,a={name:t.toString(),template:i&&function(e,t,n){return i(e,t,n,o)},exec:e.childExec?function(t,o,n){var r;return null===(r=e.childExec)||void 0===r?void 0:r.call(e,t,o,Eu(zu({},n),{parentControl:e}))}:e.exec,data:e.data,command:e.command,isActive:e.isChildActive,value:e.value,isDisabled:e.isChildDisabled,mode:e.mode,args:Iu(e.args?e.args:[]).concat([t,n])};return Io(n)&&(a.text=n),a};l.build(To(i)?i.map(s):cr(i,!1).map(function(e){return s(e,i[e])}),this.target),a.setContent(l).open(function(){return Ki(o.container)},!1,this.j.o.allowTabNavigation?this.container:void 0),this.state.activated=!0}},{key:"onOutsideClick",value:function(e){this.openedPopup&&(e&&ii.isNode(e.target)&&(ii.isOrContains(this.container,e.target)||this.openedPopup.isOwnClick(e))||this.__closePopup())}},{key:"openPopup",value:function(){return this.__closePopup(),this.openedPopup=new Dc(this.j,!1),this.j.e.on(this.ow,"mousedown touchstart",this.onOutsideClick).on("escape closeAllPopups",this.onOutsideClick),this.openedPopup}},{key:"__closePopup",value:function(){this.openedPopup&&(this.j.e.off(this.ow,"mousedown touchstart",this.onOutsideClick).off("escape closeAllPopups",this.onOutsideClick),this.state.activated=!1,this.openedPopup.close(),this.openedPopup.destruct(),this.openedPopup=null)}},{key:"onClick",value:function(e){var t,o,n,r,i,a,l,s=this.control;if(Oo(s.exec)){var c=null!==(n=null!==(o=null===(t=this.toolbar)||void 0===t?void 0:t.getTarget(this))&&void 0!==o?o:this.target)&&void 0!==n?n:null,u=s.exec(this.j,c,{control:s,originalEvent:e,button:this});if(!1!==u&&!0!==u&&(null===(i=null===(r=this.j)||void 0===r?void 0:r.e)||void 0===i||i.fire("synchro"),this.parentElement&&this.parentElement.update(),null===(l=null===(a=this.j)||void 0===a?void 0:a.e)||void 0===l||l.fire("closeAllPopups afterExec")),!1!==u)return}return s.list?this.__openControlList(s):Oo(s.popup)?this.onTriggerClick(e):void((s.command||s.name)&&(ir($o(this.j)?this.j.execCommand.bind(this.j):this.j.od.execCommand.bind(this.j.od),s.command||s.name,!1,s.args&&s.args[0]),this.j.e.fire("closeAllPopups")))}},{key:"destruct",value:function(){return this.__closePopup(),Ou(Cu(t.prototype),"destruct",this).call(this)}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(is);function Mu(e,t,o){return Mu="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Bu(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},Mu(e,t,o||e)}function Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Bu(e)}function Du(e,t){return Du=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Du(e,t)}function Nu(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Hu(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Hu=function(){return!!e})()}Au([si],Lu.prototype,"createContainer",null),Au([va("state.hasTrigger",{immediately:!1})],Lu.prototype,"onChangeHasTrigger",null),Au([va("trigger:click")],Lu.prototype,"onTriggerClick",null),Au([Co],Lu.prototype,"onOutsideClick",null),Au([Co],Lu.prototype,"__closePopup",
1null),Lu=Au([pi],Lu);var Fu=function(e){function t(e,o){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t,o){return t=Bu(t),function(e,t){return!t||"object"!==Nu(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,Hu()?Reflect.construct(t,o||[],Bu(e).constructor):t.apply(e,o))}(this,t,[e])).control=o,n.target=r,n.container.classList.add("".concat(n.componentName,"_").concat(n.clearName(o.name))),Gn(n.container,"role","content"),n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Du(e,t)}(t,e),(o=[{key:"className",value:function(){return"ToolbarContent"}},{key:"update",value:function(){var e=this.control.getContent(this.j,this);(Io(e)||e.parentNode!==this.container)&&(ii.detach(this.container),this.container.appendChild(Io(e)?this.j.create.fromHTML(e):e)),Mu(Bu(t.prototype),"update",this).call(this)}},{key:"createContainer",value:function(){return this.j.c.span(this.componentName)}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(is);function qu(e,t,o){return qu="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Vu(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},qu(e,t,o||e)}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Vu(e)}function Wu(e,t){return Wu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Wu(e,t)}function Uu(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Yu(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Yu=function(){return!!e})()}Fu=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":Nu(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a}([pi],Fu);var Ku=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e=this,n=arguments,o=Vu(o=t),function(e,t){return!t||"object"!==Uu(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,Yu()?Reflect.construct(o,n||[],Vu(e).constructor):o.apply(e,n));var e,o,n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wu(e,t)}(t,e),o=[{key:"className",value:function(){return"ToolbarSelect"}},{key:"update",value:function(){var e,o,n;qu(Vu(t.prototype),"update",this).call(this),this.state.icon.name="";var r=this.control,i=r.list,a=r.data;if(i){var l=this.state.value||(a&&Io(a.currentValue)?a.currentValue:void 0);l||(l=Object.keys(i)[0]);var s=(rn(i)&&i[l.toString()]||l).toString();this.state.text=null!==(n=null===(o=(e=this.control).textTemplate)||void 0===o?void 0:o.call(e,this.jodit,s))&&void 0!==n?n:s}}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Lu);function Gu(e,t,o){return Gu="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Ju(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},Gu(e,t,o||e)}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ju(e)}function Xu(e,t){return Xu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Xu(e,t)}function Zu(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Qu(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Qu=function(){return!!e})()}Ku=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;
1if("object"===("undefined"==typeof Reflect?"undefined":Uu(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a}([pi],Ku);var $u=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=function(e,t,o){return t=Ju(t),function(e,t){return!t||"object"!==Zu(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,Qu()?Reflect.construct(t,o||[],Ju(e).constructor):t.apply(e,o))}(this,t,[e])).checkActiveStatus=function(e,t){var n=0,r=0;return Object.keys(e).forEach(function(i){var a=e[i];Oo(a)?a(o.j,En(t,i).toString())&&(n+=1):-1!==a.indexOf(En(t,i).toString())&&(n+=1),r+=1}),r===n},o.prependInvisibleInput(o.container),o}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xu(e,t)}(t,e),o=[{key:"className",value:function(){return"ToolbarEditorCollection"}},{key:"shouldBeDisabled",value:function(e){var o=Gu(Ju(t.prototype),"shouldBeDisabled",this).call(this,e);if(void 0!==o)return o;var n=void 0===e.control.mode?Qt:e.control.mode;return!(n===eo||n===this.j.getRealMode())}},{key:"shouldBeActive",value:function(e){var o=this,n=Gu(Ju(t.prototype),"shouldBeActive",this).call(this,e);if(void 0!==n)return n;var r,i=this.j.selection?this.j.s.current():null;if(!i)return!1;if(e.control.tags){var a=e.control.tags;if(r=i,ii.up(r,function(e){if(e&&-1!==a.indexOf(e.nodeName.toLowerCase()))return!0},this.j.editor))return!0}if(e.control.css){var l=e.control.css;if(r=i,ii.up(r,function(e){if(e&&!ii.isText(e)&&!ii.isComment(e))return o.checkActiveStatus(l,e)},this.j.editor))return!0}return!1}},{key:"getTarget",value:function(e){return e.target||this.j.s.current()||null}},{key:"prependInvisibleInput",value:function(e){var t=this.j.create.element("input",{tabIndex:-1,disabled:!0,style:"width: 0; height:0; position: absolute; visibility: hidden;"});ii.appendChildFirst(e,t)}},{key:"showInline",value:function(e){this.jodit.e.fire("showInlineToolbar",e)}},{key:"hide",value:function(){this.jodit.e.fire("hidePopup"),Gu(Ju(t.prototype),"hide",this).call(this),this.jodit.e.fire("toggleToolbar")}},{key:"show",value:function(){Gu(Ju(t.prototype),"show",this).call(this),this.jodit.e.fire("toggleToolbar")}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(ku);function ed(e,t){var o=$o(e)?new $u(e):new ku(e);return e.o.textIcons&&o.container.classList.add("jodit_text_icons"),t&&(o.parentElement=t),e.o.toolbarButtonSize&&(o.buttonSize=e.o.toolbarButtonSize),o}function td(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(Oo(t.getContent))return new Fu(e,t,o);var n=new Lu(e,t,o);return n.state.tabIndex=e.o.allowTabNavigation?0:-1,n}function od(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function nd(e,t,o){return nd="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=rd(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},nd(e,t,o||e)}function rd(e){return rd=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},rd(e)}function id(e,t){return id=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},id(e,t)}function ad(e){return function(e){if(Array.isArray(e))return od(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return od(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?od(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ld(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function sd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sd=function(){return!!e})()}$u=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;
1if("object"===("undefined"==typeof Reflect?"undefined":Zu(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a}([pi],$u);var cd=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":ld(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},ud=function(e){function t(e){var o,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=function(e,t,o){return t=rd(t),function(e,t){return!t||"object"!==ld(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,sd()?Reflect.construct(t,o||[],rd(e).constructor):t.apply(e,o))}(this,t,[e,n])).toolbar=ed(o),o.__defaultToolbarContainer=o.c.div("jodit-toolbar__box"),o.registeredButtons=new Set,o.groupToButtons={},o.isJodit=!1,o.__tooltip=new ws(o),o.isJodit=n,o.e.on("beforeToolbarBuild",o.beforeToolbarBuild),o}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&id(e,t)}(t,e),(o=[{key:"toolbarContainer",get:function(){return this.o.fullsize||!Io(this.o.toolbar)&&!ii.isHTMLElement(this.o.toolbar)?(this.o.toolbar&&ii.appendChildFirst(this.container,this.__defaultToolbarContainer),this.__defaultToolbarContainer):Xr(this.o.toolbar,this.o.shadowRoot||this.od)}},{key:"setPanel",value:function(e){this.o.toolbar=e,this.buildToolbar()}},{key:"buildToolbar",value:function(){var e;if(this.o.toolbar){var t=this.o.buttons?ki(this.o.buttons):[];null===(e=this.toolbar)||void 0===e||e.setRemoveButtons(this.o.removeButtons).build(t.concat(this.o.extraButtons||[])).appendTo(this.toolbarContainer)}}},{key:"getRegisteredButtonGroups",value:function(){return this.groupToButtons}},{key:"registerButton",value:function(e){var t;this.registeredButtons.add(e);var o=null!==(t=e.group)&&void 0!==t?t:"other";return this.groupToButtons[o]||(this.groupToButtons[o]=[]),null!=e.position?this.groupToButtons[o][e.position]=e.name:this.groupToButtons[o].push(e.name),this}},{key:"unregisterButton",value:function(e){var t;this.registeredButtons.delete(e);var o=null!==(t=e.group)&&void 0!==t?t:"other",n=this.groupToButtons[o];if(n){var r=n.indexOf(e.name);-1!==r&&n.splice(r,1),0===n.length&&delete this.groupToButtons[o]}return this}},{key:"beforeToolbarBuild",value:function(e){var t=this;if(Object.keys(this.groupToButtons).length)return e.map(function(e){return Nl(e)&&e.group&&t.groupToButtons[e.group]?{group:e.group,buttons:ad(e.buttons).concat(ad(t.groupToButtons[e.group]))}:e})}},{key:"destruct",value:function(){this.isDestructed||(this.setStatus(zo.beforeDestruct),this.e.off("beforeToolbarBuild",this.beforeToolbarBuild),this.__tooltip.destruct(),this.toolbar.destruct(),this.toolbar=void 0,nd(rd(t.prototype),"destruct",this).call(this))}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(vu);function dd(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function fd(e,t,o){return fd="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=pd(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},fd(e,t,o||e)}function pd(e){return pd=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},pd(e)}
1function hd(e,t){return hd=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},hd(e,t)}function vd(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function gd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gd=function(){return!!e})()}cd([va(":rebuildToolbar")],ud.prototype,"buildToolbar",null),cd([Co],ud.prototype,"beforeToolbarBuild",null);var md,bd=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":vd(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a};Qn.prototype.dialog={namespace:"",extraButtons:[],resizable:!0,draggable:!0,buttons:["dialog.close"],removeButtons:[],toolbarButtonSize:"middle",zIndex:"inherit"},Qn.prototype.controls.dialog={close:{icon:"cancel",exec:function(e){e.close()}}};var yd=md=function(e){function t(){var e,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=pd(t),function(e,t){return!t||"object"!==vd(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,gd()?Reflect.construct(t,o||[],pd(e).constructor):t.apply(e,o))}(this,t,[o])).destroyAfterClose=!1,e.moved=!1,e.resizable=!1,e.draggable=!1,e.startX=0,e.startY=0,e.startPoint={x:0,y:0,w:0,h:0},e.lockSelect=function(){e.setMod("moved",!0)},e.unlockSelect=function(){e.setMod("moved",!1)},e.__onResize=function(){e.options&&e.o.resizable&&!e.moved&&e.isOpened&&!e.offsetX&&!e.offsetY&&e.setPosition()},e.isModal=!1,e.isOpened=!1;var n=e;n.options=hr(o,hr(Qn.prototype.dialog,md.defaultOptions)),ii.safeRemove(n.container);var r=e.getFullElName.bind(e);n.container=e.c.fromHTML('<div class="jodit jodit-dialog '.concat(e.componentName,'">\n\t\t\t\t<div class="').concat(r("overlay"),'"></div>\n\t\t\t\t<div class="').concat(e.getFullElName("panel"),'">\n\t\t\t\t\t<div class="').concat(r("header"),'">\n\t\t\t\t\t\t<div class="').concat(r("header-title"),'"></div>\n\t\t\t\t\t\t<div class="').concat(r("header-toolbar"),'"></div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="').concat(r("content"),'"></div>\n\t\t\t\t\t<div class="').concat(r("footer"),'"></div>\n\t\t\t\t\t<div class="').concat(r("resizer"),'">').concat(sl.get("resize_handler"),"</div>\n\t\t\t\t</div>\n\t\t\t</div>")),"rtl"===n.options.direction&&(n.container.style.direction="rtl",n.container.setAttribute("dir","rtl")),e.o.zIndex&&(e.container.style.zIndex=e.o.zIndex.toString()),Gn(n.container,"role","dialog"),Object.defineProperty(n.container,"component",{value:e}),n.setMod("theme",n.o.theme||"default").setMod("resizable",Boolean(n.o.resizable));var i=n.getElm("panel");Kn(null!=i,"Panel element does not exist");var a=n.getElm("resizer");Kn(null!=a,"Resizer element does not exist");var l=n.getElm("header-title");Kn(null!=l,"header-title element does not exist");var s=n.getElm("content");Kn(null!=s,"Content element does not exist");var c=n.getElm("footer");Kn(null!=c,"Footer element does not exist");var u=n.getElm("header-toolbar");Kn(null!=u,"header-toolbar element does not exist"),e.dialog=i,e.resizer=a,e.dialogbox_header=l,e.dialogbox_content=s,e.dialogbox_footer=c,e.dialogbox_toolbar=u,En(n.dialog,{maxWidth:n.options.maxWidth,minHeight:n.options.minHeight,minWidth:n.options.minWidth});var d=n.getElm("header");d&&n.e.on(d,"pointerdown touchstart",n.__onHeaderMouseDown),n.e.on(n.resizer,"mousedown touchstart",n.__onResizerMouseDown);var f=Sa.get("fullsize");if(Oo(f)&&f(n),e.e.on(n.container,"close_dialog",n.close).on(e.ow,"keydown",e.__onEsc).on(e.ow,"resize",e.__onResize),e.o.closeOnClickOverlay){var p=n.getElm("overlay");Kn(null!=p,"Overlay element does not exist"),e.e.on(p,"click",n.close)}return e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hd(e,t)}(t,e),o=[{key:"className",value:function(){return"Dialog"}},{key:"destination",get:function(){var e=this.o,t=e.popupRoot,o=e.shadowRoot;return t||o||this.od.body}},{key:"setElements",value:function(e,t){var o=this,n=[];wi(t).forEach(function(t){if(To(t)){var r=o.c.div(o.getFullElName("column"));return n.push(r),e.appendChild(r),o.setElements(r,t)}var i;i=Io(t)?o.c.fromHTML(t):Jo(t)?t.container:t,n.push(i),i.parentNode!==e&&e.appendChild(i)}
1),Bo(e.childNodes).forEach(function(t){-1===n.indexOf(t)&&e.removeChild(t)})}},{key:"__onMouseUp",value:function(){(this.draggable||this.resizable)&&(this.__removeGlobalResizeListeners(),this.draggable=!1,this.resizable=!1,this.unlockSelect(),this.e&&(this.__removeGlobalResizeListeners(),this.e.fire(this,"endResize endMove")))}},{key:"__onHeaderMouseDown",value:function(e){var 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=En(this.dialog,"left"),this.startPoint.y=En(this.dialog,"top"),this.setMaxZIndex(),e.cancelable&&e.preventDefault(),this.lockSelect(),this.__addGlobalResizeListeners(),this.e&&(this.e.fire(this,"startMove"),this.e.fire("closeAllPopups")))}},{key:"__onMouseMove",value:function(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))}},{key:"__onEsc",value:function(e){if(this.o.closeOnEsc&&this.isOpened&&e.key===Dt&&!0!==this.getMod("static")){var t=this.getMaxZIndexDialog();t?t.close():this.close(),e.stopImmediatePropagation()}}},{key:"__onResizerMouseDown",value:function(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")}},{key:"__addGlobalResizeListeners",value:function(){var e=this;e.e.on(e.ow,"pointermove touchmove",e.__onMouseMove).on(e.ow,"pointerup touchend",e.__onMouseUp)}},{key:"__removeGlobalResizeListeners",value:function(){var e=this;e.e.off(e.ow,"mousemove pointermove",e.__onMouseMove).off(e.ow,"mouseup pointerup",e.__onMouseUp)}},{key:"setSize",value:function(e,t){return null==e&&(e=this.dialog.offsetWidth),null==t&&(t=this.dialog.offsetHeight),En(this.dialog,{width:e,height:t}),this}},{key:"calcAutoSize",value:function(){return this.setSize("auto","auto"),this.setSize(),this}},{key:"setPosition",value:function(e,t){var o=this.ow.innerWidth,n=this.ow.innerHeight,r=o/2-this.dialog.offsetWidth/2,i=n/2-this.dialog.offsetHeight/2;return r<0&&(r=0),i<0&&(i=0),void 0!==e&&void 0!==t&&(this.offsetX=e,this.offsetY=t,this.moved=Math.abs(e-r)>100||Math.abs(t-i)>100),this.dialog.style.left=(e||r)+"px",this.dialog.style.top=(t||i)+"px",this}},{key:"setHeader",value:function(e){return this.setElements(this.dialogbox_header,e),this}},{key:"setContent",value:function(e){return this.setElements(this.dialogbox_content,e),this}},{key:"setFooter",value:function(e){return this.setElements(this.dialogbox_footer,e),this.setMod("footer",Boolean(e)),this}},{key:"getZIndex",value:function(){return parseInt(En(this.container,"zIndex"),10)||0}},{key:"getMaxZIndexDialog",value:function(){var e,t,o=0,n=this;return Yr(".jodit-dialog",this.destination).forEach(function(r){e=r.component,t=parseInt(En(r,"zIndex"),10),e.isOpened&&!isNaN(t)&&t>o&&(n=e,o=t)}),n}},{key:"setMaxZIndex",value:function(){if(!this.getMod("static")){var e=20000004,t=0;Yr(".jodit-dialog",this.destination).forEach(function(o){t=parseInt(En(o,"zIndex"),10),e=Math.max(isNaN(t)?0:t,e)}),this.container.style.zIndex=(e+1).toString()}}},{key:"toggleFullSize",value:function(e){Ro(e)&&(e=!this.getMod("fullsize")),this.setMod("fullsize",e),fd(pd(t.prototype),"toggleFullSize",this).call(this,e)}},{key:"open",value:function(e,t,o,n){if(Ta.fire("closeAllPopups hideHelpers"),!1===this.e.fire(this,"beforeOpen"))return this;Ho(e)&&(o=e),Ho(t)&&(n=t),this.destroyAfterClose=!0===o;var r=Ho(e)?void 0:e,i=Ho(t)?void 0:t;return void 0!==i&&this.setHeader(i),r&&this.setContent(r),this.setMod("active",!0),this.isOpened=!0,this.setModal(n),this.destination.appendChild(this.container),!0!==this.getMod("static")?(this.setPosition(this.offsetX,this.offsetY),this.setMaxZIndex()):this.container.style.removeProperty("z-index"),this.o.fullsize&&this.toggleFullSize(!0),this.e.fire("afterOpen",this),this}},{key:"setModal",value:function(e){return this.isModal=Boolean(e),this.setMod("modal",this.isModal),this}},{key:"close",value:function(){if(this.isDestructed||!this.isOpened||!0===this.getMod("static"))return this;var e=this.e;return!1===e.fire(this,"beforeClose")||!1===e.fire("beforeClose",this)||(this.setMod("active",!1),this.isOpened=!1,this.isFullSize&&this.toggleFullSize(!1),ii.safeRemove(this.container),this.__removeGlobalResizeListeners(),e.fire(this,"afterClose"),e.fire(this.ow,"joditCloseDialog"),this.destroyAfterClose&&this.destruct()),this}},{key:"buildToolbar",value:function(){this.o.buttons&&this.toolbar.build(ki(this.o.buttons)).setMod("mode","header").appendTo(this.dialogbox_toolbar)}},{key:"destruct",value:function(){this.isInDestruct||(this.setStatus(zo.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)),fd(pd(t.prototype),"destruct",this).call(this))}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(ud);function _d(e,t,o){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"jodit-dialog_alert";Oo(t)&&(o=t,t=void 0);var r,i=(null!=(r=yd)&&"undefined"!=typeof Symbol&&r[Symbol.hasInstance]?r[Symbol.hasInstance](this):this instanceof r)?this:new yd({closeOnClickOverlay:!0}),a=i.c.div(n),l=as(i,"ok","Ok");return wi(e).forEach(function(e){a.appendChild(ii.isNode(e)?e:i.c.fromHTML(e))}),l.onAction(function(){o&&Oo(o)&&!1===o(i)||i.close()}),i.setFooter([l]),i.open(a,t||" ",!0,!0),l.focus(),i}
1function jd(e,t,o){var n,r=(null!=(n=yd)&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?n[Symbol.hasInstance](this):this instanceof n)?this:new yd({closeOnClickOverlay:!0}),i=r.c.fromHTML('<form class="jodit-dialog_prompt"></form>'),a=r.c.element("label");Oo(t)&&(o=t,t=void 0),a.appendChild(r.c.fromHTML(e)),i.appendChild(a);var l=function(e){return function(){o&&!1===o(e)||r.close()}},s=as(r,"cancel","Cancel"),c=as(r,"ok","Yes");return s.onAction(l(!1)),c.onAction(l(!0)),r.e.on(i,"submit",function(){return l(!0)(),!1}),r.setFooter([c,s]),r.open(i,t||" ",!0,!0),c.focus(),r}function wd(e,t,o,n,r){var i,a=(null!=(i=yd)&&"undefined"!=typeof Symbol&&i[Symbol.hasInstance]?i[Symbol.hasInstance](this):this instanceof i)?this:new yd({closeOnClickOverlay:!0}),l=as(a,"cancel","Cancel"),s=as(a,"ok","Ok"),c=a.c.element("form",{class:"jodit-dialog_prompt"}),u=a.c.element("input",{autofocus:!0,class:"jodit-input"}),d=a.c.element("label");Oo(t)&&(o=t,t=void 0),n&&Gn(u,"placeholder",n),d.appendChild(a.c.text(e)),c.appendChild(d),c.appendChild(u),l.onAction(a.close);var f=function(){o&&Oo(o)&&!1===o(u.value)||a.close()};return s.onAction(f),a.e.on(c,"submit",function(){return f(),!1}),a.setFooter([s,l]),a.open(c,t||" ",!0,!0),u.focus(),void 0!==r&&r.length&&(u.value=r,u.select()),a}function kd(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}yd.defaultOptions=function(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t.push.apply(t,o)}return t}(Object(t)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}),e}(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},n=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(o).filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable}))),n.forEach(function(t){dd(e,t,o[t])})}return e}({},vu.defaultOptions),{closeOnClickOverlay:!1,closeOnEsc:!0}),bd([Co],yd.prototype,"__onMouseUp",null),bd([Co],yd.prototype,"__onHeaderMouseDown",null),bd([Co],yd.prototype,"__onMouseMove",null),bd([Co],yd.prototype,"__onEsc",null),bd([Co],yd.prototype,"__onResizerMouseDown",null),bd([Co],yd.prototype,"close",null),bd([Ua("ready")],yd.prototype,"buildToolbar",null),yd=md=bd([pi],yd);var Sd=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t;return t=[{key:"dlg",value:function(e){var t=Ea(this.o,this.container,this.od.body),o=new yd(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},n=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(o).filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable}))),n.forEach(function(t){kd(e,t,o[t])})}return e}({language:this.o.language,shadowRoot:this.o.shadowRoot,popupRoot:t,ownerWindow:this.o.ownerWindow,defaultTimeout:this.o.defaultTimeout,direction:this.o.direction,theme:this.o.theme,globalFullSize:this.o.globalFullSize},e));return ar(this,o.container),o.parent=this,o.bindDestruct(this)}},{key:"confirm",value:function(e,t,o){return e=xd(e,this),t=xd(t,this),jd.call(this.dlg({closeOnClickOverlay:!0}),e,t,o)}},{key:"prompt",value:function(e,t,o,n,r){return e=xd(e,this),t=xd(t,this),n=xd(n,this),wd.call(this.dlg({closeOnClickOverlay:!0}),e,t,o,n,r)}},{key:"alert",value:function(e,t,o,n){return e=xd(e,this),t=xd(t,this),_d.call(this.dlg({closeOnClickOverlay:!0}),e,t,o,n)}}],t&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}();function xd(e,t){return Io(e)&&!Uo(e)&&(e=t.i18n(e)),e}function Od(e){return Od=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Od(e)}
1function Cd(e,t){return Cd=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Cd(e,t)}function zd(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Ed(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ed=function(){return!!e})()}var Td=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e=this,n=arguments,o=Od(o=t),function(e,t){return!t||"object"!==zd(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,Ed()?Reflect.construct(o,n||[],Od(e).constructor):o.apply(e,n));var e,o,n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cd(e,t)}(t,e),(o=[{key:"className",value:function(){return"ContextMenu"}},{key:"show",value:function(e,t,o){var n=this,r=this;r.clear(),To(o)&&(o.forEach(function(e){if(e){var t=as(n.jodit,e.icon||"empty",e.title);n.jodit&&t.setParentView(n.jodit),t.setMod("context","menu"),t.onAction(function(t){var o;return null===(o=e.exec)||void 0===o||o.call(r,t),r.clear(),r.close(),!1}),n.append(t)}}),this.open(function(){return{left:e,top:t,width:0,height:0}},!0))}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Dc);function Id(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function Pd(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Rd(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(function(t){t&&(e.state.elements=t,e.state.activeElements=[])}).catch(e.status).finally(function(){return e.files.setMod("loading",!1)})}function Ad(e,t,o,n,r,i,a){try{var l=e[i](a),s=l.value}catch(e){return void o(e)}l.done?t(s):Promise.resolve(s).then(n,r)}function Ld(e){return Md.apply(this,arguments)}function Md(){var e;return e=function(e){var t,o;return function(e,t){var o,n,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,n&&(r=2&i[0]?n.return:i[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,i[1])).done)return r;switch(n=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{o=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}(this,function(n){return e.tree.setMod("active",!0),ii.detach(e.tree.container),t=Rd(e),e.o.showFoldersPanel?(e.tree.setMod("loading",!0),o=e.dataProvider.tree(e.state.currentPath,e.state.currentSource).then(function(t){e.state.sources=t}).catch(e.status).finally(function(){return e.tree.setMod("loading",!1)}),[2,Promise.all([o,t])]):(e.tree.setMod("active",!1),[2,t])})},Md=function(){var t=this,o=arguments;return new Promise(function(n,r){var i=e.apply(t,o);function a(e){Ad(i,n,r,a,l,"next",e)}function l(e){Ad(i,n,r,a,l,"throw",e)}a(void 0)})},Md.apply(this,arguments)}Td=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;
1if("object"===("undefined"==typeof Reflect?"undefined":zd(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a}([pi],Td),Qn.prototype.filebrowser={namespace:"",cache:!0,extraButtons:[],filter:function(e,t){return t=t.toLowerCase(),Io(e)?-1!==e.toLowerCase().indexOf(t):Io(e.name)?-1!==e.name.toLowerCase().indexOf(t):!Io(e.file)||-1!==e.file.toLowerCase().indexOf(t)},sortBy:"changed-desc",sort:function(e,t,o){var n=function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,r=[],i=!0,a=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(r.push(o.value),2!==r.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==t.return||t.return()}finally{if(a)throw n}}return r}}(e)||function(e){if(e){if("string"==typeof e)return Id(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Id(e,2):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(o.toLowerCase().split("-")),r=n[0],i="asc"===n[1],a=function(e,t){return e<t?i?-1:1:e>t?i?1:-1:0};if(Io(e))return a(e.toLowerCase(),t.toLowerCase());if(void 0===e[r]||"name"===r)return Io(e.name)?a(e.name.toLowerCase(),t.name.toLowerCase()):Io(e.file)?a(e.file.toLowerCase(),t.file.toLowerCase()):0;switch(r){case"changed":var l=new Date(e.changed).getTime(),s=new Date(t.changed).getTime();return i?l-s:s-l;case"size":var c=Hr(e.size),u=Hr(t.size);return i?c-u:u-c}return 0},editImage:!0,preview:!0,showPreviewNavigation:!0,showSelectButtonInPreview:!0,contextMenu:!0,howLongShowMsg:3e3,createNewFolder:!0,deleteFolder:!0,renameFolder:!0,moveFolder:!0,moveFile:!0,permissionsPresets:{allowFileDownload:void 0,allowFileMove:void 0,allowFileRemove:void 0,allowFileRename:void 0,allowFileUpload:void 0,allowFileUploadRemote:void 0,allowFiles:void 0,allowFolderCreate:void 0,allowFolderMove:void 0,allowFolderRemove:void 0,allowFolderRename:void 0,allowFolderTree:void 0,allowFolders:void 0,allowGeneratePdf:void 0,allowImageCrop:void 0,allowImageResize:void 0},showFoldersPanel:!0,storeLastOpenedFolder:!0,width:859,height:400,buttons:["filebrowser.upload","filebrowser.remove","filebrowser.update","filebrowser.select","filebrowser.edit","|","filebrowser.tiles","filebrowser.list","|","filebrowser.filter","|","filebrowser.sort"],removeButtons:[],fullsize:!1,showTooltip:!0,view:null,isSuccess:function(e){return e.success},getMessage:function(e){return void 0!==e.data.messages&&To(e.data.messages)?e.data.messages.join(" "):""},showFileName:!0,showFileSize:!0,showFileChangeTime:!0,saveStateInStorage:{storeLastOpenedFolder:!0,storeView:!0,storeSortBy:!0},pixelOffsetLoadNewChunk:200,getThumbTemplate:function(e,t,o){var n=this.options,r=this.files.getFullElName("item"),i=n.showFileName,a=n.showFileSize&&e.size,l=n.showFileChangeTime&&e.time,s="";void 0!==e.file&&(s=e.file);var c='<div class="'.concat(r,'-info">').concat(i?'<span class="'.concat(r,'-info-filename">').concat(s,"</span>"):"").concat(a?'<span class="'.concat(r,'-info-filesize">').concat(e.size,"</span>"):"").concat(l?'<span class="'.concat(r,'-info-filechanged">').concat(l,"</span>"):"","</div>");return'<a\n\t\t\tdata-jodit-file-browser-item="true"\n\t\t\tdata-is-file="'.concat(e.isImage?0:1,'"\n\t\t\tdraggable="true"\n\t\t\tclass="').concat(r,'"\n\t\t\thref="').concat(e.fileURL,'"\n\t\t\tdata-source="').concat(o,'"\n\t\t\tdata-path="').concat(e.path,'"\n\t\t\tdata-name="').concat(s,'"\n\t\t\ttitle="').concat(s,'"\n\t\t\tdata-url="').concat(e.fileURL,'">\n\t\t\t\t<img\n\t\t\t\t\tdata-is-file="').concat(e.isImage?0:1,'"\n\t\t\t\t\tdata-src="').concat(e.fileURL,'"\n\t\t\t\t\tsrc="').concat(e.imageURL,'"\n\t\t\t\t\talt="').concat(s,'"\n\t\t\t\t\tloading="lazy"\n\t\t\t\t/>\n\t\t\t\t').concat(i||a||l?c:"","\n\t\t\t</a>")},ajax:function(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t.push.apply(t,o)}return t}
1(Object(t)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}),e}(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},n=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(o).filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable}))),n.forEach(function(t){Pd(e,t,o[t])})}return e}({},Qn.prototype.defaultAjaxOptions),{url:"",data:{},cache:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",method:"POST",processData:!0,headers:{},prepareData:function(e){return e},process:function(e){return e}}),create:{data:{action:"folderCreate"}},getLocalFileByUrl:{data:{action:"getLocalFileByUrl"}},resize:{data:{action:"imageResize"}},crop:{data:{action:"imageCrop"}},fileMove:{data:{action:"fileMove"}},folderMove:{data:{action:"folderMove"}},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"}}},Qn.prototype.controls.filebrowser={upload:{icon:"plus",tooltip:"Upload file",isInput:!0,isDisabled:function(e){return!e.dataProvider.canI("FileUpload")},getContent:function(e,t){var o=new Oc(e,{tooltip:t.control.tooltip,onlyImages:e.state.onlyImages});return e.e.fire("bindUploader.filebrowser",o.container),o.container}},remove:{icon:"bin",tooltip:"Remove file",isDisabled:function(e){return!e.state.activeElements.length||!e.dataProvider.canI("FileRemove")},exec:function(e){e.e.fire("fileRemove.filebrowser")}},update:{tooltip:"Update file list",exec:function(e){e.e.fire("update.filebrowser")}},select:{tooltip:"Select file",icon:"check",isDisabled:function(e){return!e.state.activeElements.length},exec:function(e){e.e.fire("select.filebrowser")}},edit:{tooltip:"Edit image",icon:"pencil",isDisabled:function(e){var t=e.state.activeElements;return 1!==t.length||!t[0].isImage||!(e.dataProvider.canI("ImageCrop")||e.dataProvider.canI("ImageResize"))},exec:function(e){e.e.fire("edit.filebrowser")}},tiles:{tooltip:"Tiles view",icon:"th",isActive:function(e){return"tiles"===e.state.view},exec:function(e){e.e.fire("view.filebrowser","tiles")}},list:{tooltip:"List view",icon:"th-list",isActive:function(e){return"list"===e.state.view},exec:function(e){e.e.fire("view.filebrowser","list")}},filter:{isInput:!0,getContent:function(e,t){var o=t.container.querySelector(".jodit-input");if(o)return o;var n=e.c.element("input",{class:"jodit-input",placeholder:e.i18n("Filter")});return n.value=e.state.filterWord,e.e.on(n,"keydown mousedown",e.async.debounce(function(){e.e.fire("filter.filebrowser",n.value)},e.defaultTimeout)),n}},sort:{isInput:!0,getContent:function(e){var t=e.c.fromHTML('<select class="jodit-input jodit-select">'+'<option value="changed-asc">'.concat(e.i18n("Sort by changed")," (\u2b06)</option>")+'<option value="changed-desc">'.concat(e.i18n("Sort by changed")," (\u2b07)</option>")+'<option value="name-asc">'.concat(e.i18n("Sort by name")," (\u2b06)</option>")+'<option value="name-desc">'.concat(e.i18n("Sort by name")," (\u2b07)</option>")+'<option value="size-asc">'.concat(e.i18n("Sort by size")," (\u2b06)</option>")+'<option value="size-desc">'.concat(e.i18n("Sort by size")," (\u2b07)</option>")+"</select>");return t.value=e.state.sortBy,e.e.on("sort.filebrowser",function(e){t.value!==e&&(t.value=e)}).on(t,"change",function(){e.e.fire("sort.filebrowser",t.value)}),t}}};var Bd=new WeakMap,Dd=function(e){var t=Bd.get(e);return t||(t={},Bd.set(e,t)),t};function Nd(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Hd=function(){function e(t){var o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.data=t,Object.keys(t).forEach(function(e){o[e]=t[e]})}var t,o,n;return t=e,o=[{key:"path",get:function(){return Di(this.data.source.path?this.data.source.path+"/":"/")}},{key:"imageURL",get:function(){var e=this.time||(new Date).getTime().toString(),t=this.data,o=t.thumbIsAbsolute,n=t.source,r=t.thumb,i=t.file,a=r||i;return o&&a?a:Fi(n.baseurl,n.path,a||"")+"?_tmst="+encodeURIComponent(e)}},{key:"fileURL",get:function(){var e=this.data.name,t=this.data,o=t.file,n=t.fileIsAbsolute,r=t.source;return void 0!==o&&(e=o),n&&e?e:Fi(r.baseurl,r.path,e||"")}},{key:"time",get:function(){var e=this.data.changed;
1return e&&("number"==typeof e?new Date(e).toLocaleString():e)||""}},{key:"uniqueHashKey",get:function(){var e=this.data;return[e.sourceName,e.name,e.file,this.time,e.thumb].join("_").toLowerCase().replace(/[^0-9a-z\-.]/g,"-")}},{key:"toJSON",value:function(){return this.data}}],n=[{key:"create",value:function(t){return o=t,(null!=(n=e)&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?n[Symbol.hasInstance](o):o instanceof n)?t:new e(t);var o,n}}],o&&Nd(t.prototype,o),n&&Nd(t,n),e}();function Fd(e,t,o,n,r,i,a){try{var l=e[i](a),s=l.value}catch(e){return void o(e)}l.done?t(s):Promise.resolve(s).then(n,r)}function qd(e){return function(){var t=this,o=arguments;return new Promise(function(n,r){var i=e.apply(t,o);function a(e){Fd(i,n,r,a,l,"next",e)}function l(e){Fd(i,n,r,a,l,"throw",e)}a(void 0)})}}function Vd(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Wd(e,t){var o,n,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,n&&(r=2&i[0]?n.return:i[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,i[1])).done)return r;switch(n=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{o=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}var Ud="default",Yd=new Set(["allowFiles","allowFileMove","allowFileUpload","allowFileUploadRemote","allowFileRemove","allowFileRename","allowFolders","allowFolderMove","allowFolderCreate","allowFolderRemove","allowFolderRename","allowImageResize","allowImageCrop"]),Kd=function(){function e(t,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parent=t,this.options=o,this.__currentPermissions=null,this.__ajaxInstances=new Map,this.progressHandler=function(e){}}var t;return t=[{key:"o",get:function(){return this.options}},{key:"get",value:function(e){var t=this,o=this.__ajaxInstances;if(o.has(e)){var n=o.get(e);null==n||n.abort(),o.delete(e)}var r=hr(void 0!==this.options[e]?this.options[e]:{},hr({onProgress:this.progressHandler},this.o.ajax));r.prepareData&&(r.data=r.prepareData.call(this,r.data));var i=new il(r);o.set(e,i);var a=i.send();return a.finally(function(){i.destruct(),o.delete(e),t.progressHandler(100)}).catch(function(){return null}),a.then(function(e){return e.json()}).then(function(e){if(e&&!t.isSuccess(e))throw new Error(t.getMessage(e));return e})}},{key:"onProgress",value:function(e){this.progressHandler=e}},{key:"permissions",value:function(e,t){var o=this;return qd(function(){return Wd(this,function(n){return o.o.permissions?(o.o.permissions.data.path=e,o.o.permissions.data.source=t,o.o.permissions.url?[2,o.get("permissions").then(function(e){if(o.parent.isInDestruct)throw jr();var t=o.o.permissions.process;if(t||(t=o.o.ajax.process),t){var n=t.call(self,e);n.data.permissions&&(o.parent.events.fire(o,"changePermissions",o.__currentPermissions,n.data.permissions),o.__currentPermissions=n.data.permissions)}return o.__currentPermissions})]:[2,null]):[2,null]})})()}},{key:"canI",value:function(e){var t="allow"+e;if(!ft&&!Yd.has(t))throw Lr("Wrong action "+e);var o=this.o.permissionsPresets[t];return void 0!==o?o:null==this.__currentPermissions||void 0===this.__currentPermissions[t]||this.__currentPermissions[t]}},{key:"__items",value:function(e,t,o,n){var r=this,i=this.options;return i.items?(i.items.data.path=e,i.items.data.source=t,i.items.data.mods=o,this.get("items").then(function(e){var t=r.o.items.process;return t||(t=r.o.ajax.process),t&&(e=t.call(self,e)),n(e)})):Promise.reject(Error("Set Items api options"))}},{key:"items",value:function(e,t){var o=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.__items(e,t,n,function(e){return o.generateItemsList(e.data.sources,n)})}},{key:"itemsEx",value:function(e,t){var o=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.__items(e,t,n,function(e){return{items:o.generateItemsList(e.data.sources,n),loadedTotal:(t=e.data.sources,t.reduce(function(e,t){return e+t.files.length},0))};var t})}},{key:"generateItemsList",value:function(e){var t=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];return e.forEach(function(e){if(e.files&&e.files.length){var r=t.o.sort;Oo(r)&&o.sortBy&&e.files.sort(function(e,t){return r(e,t,o.sortBy)}
1),e.files.forEach(function(r){(function(e){var n;return!(null===(n=o.filterWord)||void 0===n?void 0:n.length)||void 0===t.o.filter||t.o.filter(e,o.filterWord)})(r)&&function(e){return"folder"===e.type||!o.onlyImages||void 0===e.isImage||e.isImage}(r)&&n.push(Hd.create(function(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t.push.apply(t,o)}return t}(Object(t)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}),e}(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},n=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(o).filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable}))),n.forEach(function(t){Vd(e,t,o[t])})}return e}({},r),{sourceName:e.name,source:e})))})}}),n}},{key:"tree",value:function(e,t){var o=this;return qd(function(){return Wd(this,function(n){switch(n.label){case 0:return e=Ni(e),o.o.folder?[4,o.permissions(e,t)]:[2,Promise.reject(Error("Set Folder Api options"))];case 1:return n.sent(),o.o.folder.data.path=e,o.o.folder.data.source=t,[2,o.get("folder").then(function(e){var t=o.o.folder.process;return t||(t=o.o.ajax.process),t&&(e=t.call(self,e)),e.data.sources})]}})})()}},{key:"getPathByUrl",value:function(e){var t=this;return ei("options.getLocalFileByUrl.data.url",e,this),this.get("getLocalFileByUrl").then(function(e){if(t.isSuccess(e))return e.data;throw Lr(t.getMessage(e))})}},{key:"createFolder",value:function(e,t,o){var n=this,r=this.o.create;if(!r)throw Lr("Set Create api options");return r.data.source=o,r.data.path=t,r.data.name=e,this.get("create").then(function(e){if(n.isSuccess(e))return!0;throw Lr(n.getMessage(e))})}},{key:"move",value:function(e,t,o,n){var r=this,i=n?"fileMove":"folderMove",a=this.options[i];if(!a)throw Lr("Set Move api options");return a.data.from=e,a.data.path=t,a.data.source=o,this.get(i).then(function(e){if(r.isSuccess(e))return!0;throw Lr(r.getMessage(e))})}},{key:"remove",value:function(e,t,o,n){var r=this,i=this.o[e];if(!i)throw Lr('Set "'.concat(e,'" api options'));return i.data.path=t,i.data.name=o,i.data.source=n,this.get(e).then(function(e){return i.process&&(e=i.process.call(r,e)),r.getMessage(e)})}},{key:"fileRemove",value:function(e,t,o){return this.remove("fileRemove",e,t,o)}},{key:"folderRemove",value:function(e,t,o){return this.remove("folderRemove",e,t,o)}},{key:"rename",value:function(e,t,o,n,r){var i=this,a=this.o[e];if(!a)throw Lr('Set "'.concat(e,'" api options'));return a.data.path=t,a.data.name=o,a.data.newname=n,a.data.source=r,this.get(e).then(function(e){return a.process&&(e=a.process.call(self,e)),i.getMessage(e)})}},{key:"folderRename",value:function(e,t,o,n){return this.rename("folderRename",e,t,o,n)}},{key:"fileRename",value:function(e,t,o,n){return this.rename("fileRename",e,t,o,n)}},{key:"changeImage",value:function(e,t,o,n,r,i){this.o[e]||(this.o[e]={data:{}});var a=this.o[e];return void 0===a.data&&(a.data={action:e}),a.data.newname=r||n,i&&(a.data.box=i),a.data.path=t,a.data.name=n,a.data.source=o,this.get(e).then(function(){return!0})}},{key:"crop",value:function(e,t,o,n,r){return this.changeImage("crop",e,t,o,n,r)}},{key:"resize",value:function(e,t,o,n,r){return this.changeImage("resize",e,t,o,n,r)}},{key:"getMessage",value:function(e){return this.options.getMessage(e)}},{key:"isSuccess",value:function(e){return this.options.isSuccess(e)}},{key:"destruct",value:function(){this.__ajaxInstances.forEach(function(e){return e.destruct()}),this.__ajaxInstances.clear()}}],t&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}();function Gd(e,t,o){return e.dataProvider.fileRemove(e.state.currentPath,t,o).then(function(o){e.status(o||e.i18n('File "%s" was deleted',t),!0)}).catch(e.status)}Qn.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%"},sl.set("crop",'<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> ').set("resize",'<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> ');var Jd="jodit-image-editor",Xd=sl.get.bind(sl),Zd=function(e){return e?arguments.length>1&&void 0!==arguments[1]?arguments[1]:"jodti-image-editor_active":""};function Qd(e,t,o){return Qd="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=$d(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},Qd(e,t,o||e)}
1function $d(e){return $d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},$d(e)}function ef(e,t){return ef=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ef(e,t)}function tf(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function of(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(of=function(){return!!e})()}var nf,rf=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":tf(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},af="jodit-image-editor",lf="resize",sf="crop",cf=nf=function(e){function t(e){var o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=function(e,t,o){return t=$d(t),function(e,t){return!t||"object"!==tf(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,of()?Reflect.construct(t,o||[],$d(e).constructor):t.apply(e,o))}(this,t,[e])).resizeUseRatio=!0,o.cropUseRatio=!0,o.clicked=!1,o.start_x=0,o.start_y=0,o.top_x=0,o.top_y=0,o.width=0,o.height=0,o.activeTab=lf,o.naturalWidth=0,o.naturalHeight=0,o.ratio=0,o.new_h=0,o.new_w=0,o.diff_x=0,o.diff_y=0,o.cropBox={x:0,y:0,w:0,h:0},o.resizeBox={w:0,h:0},o.calcCropBox=function(){var e=o.crop_box.parentNode,t=.8*e.offsetWidth,n=.8*e.offsetHeight,r=t,i=n,a=o.naturalWidth,l=o.naturalHeight;t>a&&n>l?(r=a,i=l):o.ratio>t/n?(r=t,i=l*(t/a)):(r=a*(n/l),i=n),En(o.crop_box,{width:r,height:i})},o.showCrop=function(){if(o.cropImage){o.calcCropBox();var e=o.cropImage.offsetWidth||o.image.offsetWidth||o.image.naturalWidth;o.new_w=nf.calcValueByPercent(e,o.o.cropDefaultWidth);var t=o.cropImage.offsetHeight||o.image.offsetHeight||o.image.naturalHeight;o.cropUseRatio?o.new_h=o.new_w/o.ratio:o.new_h=nf.calcValueByPercent(t,o.o.cropDefaultHeight),En(o.cropHandler,{backgroundImage:"url("+Gn(o.cropImage,"src")+")",width:o.new_w,height:o.new_h,left:e/2-o.new_w/2,top:t/2-o.new_h/2}),o.j.e.fire(o.cropHandler,"updatesize")}},o.updateCropBox=function(){if(o.cropImage){var e=o.cropImage.offsetWidth/o.naturalWidth,t=o.cropImage.offsetHeight/o.naturalHeight;o.cropBox.x=En(o.cropHandler,"left")/e,o.cropBox.y=En(o.cropHandler,"top")/t,o.cropBox.w=o.cropHandler.offsetWidth/e,o.cropBox.h=o.cropHandler.offsetHeight/t,o.sizes.textContent=o.cropBox.w.toFixed(0)+"x"+o.cropBox.h.toFixed(0)}},o.updateResizeBox=function(){o.resizeBox.w=o.image.offsetWidth||o.naturalWidth,o.resizeBox.h=o.image.offsetHeight||o.naturalHeight},o.setHandlers=function(){var e=o,t=Gr(o.editor),n=t.widthInput,r=t.heightInput;e.j.e.on([e.editor.querySelector(".jodit_bottomright"),e.cropHandler],"mousedown.".concat(af),o.onResizeHandleMouseDown).on(o.j.ow,"resize.".concat(af),function(){o.j.e.fire(e.resizeHandler,"updatesize"),e.showCrop(),o.j.e.fire(e.cropHandler,"updatesize")}),e.j.e.on(Bo(o.editor.querySelectorAll(".".concat(af,"__slider-title"))),"click",o.onTitleModeClick).on([n,r],"input",o.onChangeSizeInput);var i=Gr(o.editor),a=i.keepAspectRatioResize,l=i.keepAspectRatioCrop;a&&a.addEventListener("change",function(){o.resizeUseRatio=a.checked}),l&&l.addEventListener("change",function(){o.cropUseRatio=l.checked}),e.j.e.on(e.resizeHandler,"updatesize",function(){En(e.resizeHandler,{top:0,left:0,width:e.image.offsetWidth||e.naturalWidth,height:e.image.offsetHeight||e.naturalHeight}),o.updateResizeBox()}).on(e.cropHandler,"updatesize",function(){if(e.cropImage){var t=En(e.cropHandler,"left"),o=En(e.cropHandler,"top"),n=e.cropHandler.offsetWidth,r=e.cropHandler.offsetHeight;t<0&&(t=0),o<0&&(o=0),t+n>e.cropImage.offsetWidth&&(n=e.cropImage.offsetWidth-t,e.cropUseRatio&&(r=n/e.ratio)),o+r>e.cropImage.offsetHeight&&(r=e.cropImage.offsetHeight-o,e.cropUseRatio&&(n=r*e.ratio)),En(e.cropHandler,{width:n,height:r,left:t,top:o,backgroundPosition:-t-1+"px "+(-o-1)+"px",backgroundSize:e.cropImage.offsetWidth+"px "+e.cropImage.offsetHeight+"px"}),e.updateCropBox()}}
1),Object.values(e.buttons).forEach(function(t){t.onAction(function(){var o={action:e.activeTab,box:e.activeTab===lf?e.resizeBox:e.cropBox};switch(t){case e.buttons.saveas:e.j.prompt("Enter new name","Save in new file",function(t){if(!dn(t))return e.j.alert("The name should not be empty"),!1;e.onSave(t,o,e.hide,function(t){e.j.alert(t.message)})});break;case e.buttons.save:e.onSave(void 0,o,e.hide,function(t){e.j.alert(t.message)});break;case e.buttons.reset:e.activeTab===lf?(En(e.image,{width:null,height:null}),n.value=e.naturalWidth.toString(),r.value=e.naturalHeight.toString(),e.j.e.fire(e.resizeHandler,"updatesize")):e.showCrop()}})})},o.options=e&&e.o&&e.o.imageeditor?e.o.imageeditor:Qn.defaultOptions.imageeditor;var n=o.options;o.resizeUseRatio=n.resizeUseRatio,o.cropUseRatio=n.cropUseRatio,o.buttons={reset:as(o.j,"update","Reset"),save:as(o.j,"save","Save"),saveas:as(o.j,"save","Save as ...")},o.activeTab=n.resize?lf:sf,o.editor=function(e,t){var o=e.i18n.bind(e),n=function(e,t){return'<div class="jodit-form__group">\n\t\t\t<label class="jodit-switcher-wrapper">\n\t\t\t\t<span class=\'jodit-switcher\'>\n\t\t\t\t\t<input '.concat(Zd(!(arguments.length>2&&void 0!==arguments[2])||arguments[2],"checked"),' data-ref="').concat(t,'" type="checkbox"/>\n\t\t\t\t\t<span class="jodit-switcher__slider"></span>\n\t\t\t\t</span>\n\t\t\t\t<span>').concat(o(e),"</span>\n\t\t\t</label>\n\t</div>")};return e.create.fromHTML('<form class="'.concat(Jd,' 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').concat(t.resize?'<div class="'.concat(Jd,"__area ").concat(Jd,"__area_resize ").concat(Jd,'_active">\n\t\t\t\t\t\t\t<div data-ref="resizeBox" class="').concat(Jd,'__box"></div>\n\t\t\t\t\t\t\t<div class="').concat(Jd,'__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").concat(t.crop?'<div class="'.concat(Jd,"__area ").concat(Jd,"__area_crop ").concat(Zd(!t.resize),'">\n\t\t\t\t\t\t\t<div data-ref="cropBox" class="').concat(Jd,'__box">\n\t\t\t\t\t\t\t\t<div class="').concat(Jd,'__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="').concat(Jd,'__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').concat(t.resize?'<div data-area="resize" class="'.concat(Jd,"__slider ").concat(Jd,'_active">\n\t\t\t\t\t\t\t<div class="').concat(Jd,'__slider-title">\n\t\t\t\t\t\t\t\t').concat(Xd("resize"),"\n\t\t\t\t\t\t\t\t").concat(o("Resize"),'\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class="').concat(Jd,'__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').concat(o("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').concat(o("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').concat(n("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").concat(t.crop?'<div data-area="crop" class="'.concat(Jd,"__slider ").concat(Zd(!t.resize),'\'">\n\t\t\t\t\t\t\t<div class="').concat(Jd,'__slider-title">\n\t\t\t\t\t\t\t\t').concat(Xd("crop"),"\n\t\t\t\t\t\t\t\t").concat(o("Crop"),'\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class="').concat(Jd,'__slider-content">\n\t\t\t\t\t\t\t\t').concat(n("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>"))}(o.j,o.options);var r=Gr(o.editor),i=r.resizeBox,a=r.cropBox;return o.resize_box=i,o.crop_box=a,o.sizes=o.editor.querySelector(".".concat(af,"__area.").concat(af,"__area_crop .jodit-image-editor__sizes")),o.resizeHandler=o.editor.querySelector(".".concat(af,"__resizer")),o.cropHandler=o.editor.querySelector(".".concat(af,"__croper")),o._dialog=o.j.dlg({buttons:["fullsize","dialog.close"]}),o._dialog.setContent(o.editor),o._dialog.setSize(o.o.width,o.o.height),o._dialog.setHeader([o.buttons.reset,o.buttons.save,o.buttons.saveas]),o.setHandlers(),o}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ef(e,t)}(t,e),o=[{key:"className",value:function(){return"ImageEditor"}},{key:"o",get:function(){return this.options}},{key:"hide",value:function(){this._dialog.close()}},{key:"open",value:function(e,t){var o=this;return this.j.async.promise(function(n){var r=(new Date).getTime();
1o.image=o.j.c.element("img"),Yr("img,.jodit-icon_loader",o.resize_box).forEach(ii.safeRemove),Yr("img,.jodit-icon_loader",o.crop_box).forEach(ii.safeRemove),En(o.cropHandler,"background","transparent"),o.onSave=t,o.resize_box.appendChild(o.j.c.element("i",{class:"jodit-icon_loader"})),o.crop_box.appendChild(o.j.c.element("i",{class:"jodit-icon_loader"})),/\?/.test(e)?e+="&_tst="+r:e+="?_tst="+r,o.image.setAttribute("src",e),o._dialog.open();var i=Gr(o.editor),a=i.widthInput,l=i.heightInput,s=function(){o.isDestructed||(o.image.removeEventListener("load",s),o.naturalWidth=o.image.naturalWidth,o.naturalHeight=o.image.naturalHeight,a.value=o.naturalWidth.toString(),l.value=o.naturalHeight.toString(),o.ratio=o.naturalWidth/o.naturalHeight,o.resize_box.appendChild(o.image),o.cropImage=o.image.cloneNode(!0),o.crop_box.appendChild(o.cropImage),ii.safeRemove.apply(null,Yr(".jodit-icon_loader",o.editor)),o.activeTab===sf&&o.showCrop(),o.j.e.fire(o.resizeHandler,"updatesize"),o.j.e.fire(o.cropHandler,"updatesize"),o._dialog.setPosition(),o.j.e.fire("afterImageEditor"),n(o._dialog))};o.image.addEventListener("load",s),o.image.complete&&s()})}},{key:"onTitleModeClick",value:function(e){var t=this,o=e.target,n=null==o?void 0:o.parentElement;if(n){Yr(".".concat(af,"__slider,.").concat(af,"__area"),t.editor).forEach(function(e){return e.classList.remove("".concat(af,"_active"))}),n.classList.add("".concat(af,"_active")),this.activeTab=Gn(n,"-area")||lf;var r=t.editor.querySelector(".".concat(af,"__area.").concat(af,"__area_")+t.activeTab);r&&r.classList.add("".concat(af,"_active")),t.activeTab===sf&&t.showCrop()}}},{key:"onChangeSizeInput",value:function(e){var t,o=this,n=e.target,r=Gr(this.editor),i=r.widthInput,a=r.heightInput,l="widthInput"===Gn(n,"data-ref"),s=parseInt(n.value,10),c=l?o.o.min_width:o.o.min_height,u=l?o.o.min_height:o.o.min_width;s>c&&(En(o.image,l?"width":"height",s),o.resizeUseRatio&&(t=l?Math.round(s/o.ratio):Math.round(s*o.ratio))>u&&(En(o.image,l?"height":"width",t),l?a.value=t.toString():i.value=t.toString())),this.j.e.fire(o.resizeHandler,"updatesize")}},{key:"onResizeHandleMouseDown",value:function(e){var 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===sf?(t.top_x=En(t.cropHandler,"left"),t.top_y=En(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)}},{key:"onGlobalMouseUp",value:function(e){this.clicked&&(this.clicked=!1,e.stopImmediatePropagation(),this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove))}},{key:"onGlobalMouseMove",value:function(e){var t=this;if(t.clicked){var o=Gr(this.editor),n=o.widthInput,r=o.heightInput;t.diff_x=e.clientX-t.start_x,t.diff_y=e.clientY-t.start_y,t.activeTab===lf&&t.resizeUseRatio||t.activeTab===sf&&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===lf?(t.new_w>t.o.resizeMinWidth&&(En(t.image,"width",t.new_w+"px"),n.value=t.new_w.toString()),t.new_h>t.o.resizeMinHeight&&(En(t.image,"height",t.new_h+"px"),r.value=t.new_h.toString()),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),En(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),En(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),En(t.cropHandler,"top",t.top_y+t.diff_y)),this.j.e.fire(t.cropHandler,"updatesize"))}}},{key:"destruct",value:function(){this.isDestructed||(this._dialog&&!this._dialog.isInDestruct&&this._dialog.destruct(),ii.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,".".concat(af)).off(".".concat(af)),Qd($d(t.prototype),"destruct",this).call(this))}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Na);function uf(e,t,o,n,r,i){var a=this;return this.getInstance("ImageEditor",this.o).open(e,function(e,l,s,c){return ir("resize"===l.action?a.dataProvider.resize:a.dataProvider.crop,o,n,t,e,l.box).then(function(e){e&&(s(),r&&r()
1)}).catch(function(e){c(e),i&&i(e)})})}function df(e,t,o,n,r,i,a){try{var l=e[i](a),s=l.value}catch(e){return void o(e)}l.done?t(s):Promise.resolve(s).then(n,r)}function ff(e){return function(){var t=this,o=arguments;return new Promise(function(n,r){var i=e.apply(t,o);function a(e){df(i,n,r,a,l,"next",e)}function l(e){df(i,n,r,a,l,"throw",e)}a(void 0)})}}cf.calcValueByPercent=function(e,t){var o,n=t.toString(),r=parseFloat(e.toString());return(o=/^[-+]?[0-9]+(px)?$/.exec(n))?parseInt(n,10):(o=/^([-+]?[0-9.]+)%$/.exec(n))?Math.round(r*(parseFloat(o[1])/100)):r||0},rf([Co],cf.prototype,"hide",null),rf([Co],cf.prototype,"open",null),rf([Co],cf.prototype,"onTitleModeClick",null),rf([Ha(),Co],cf.prototype,"onChangeSizeInput",null),rf([Co],cf.prototype,"onResizeHandleMouseDown",null),rf([Co],cf.prototype,"onGlobalMouseUp",null),rf([Fa(10)],cf.prototype,"onGlobalMouseMove",null),cf=nf=rf([pi],cf);var pf="jodit-file-browser-preview",hf=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"next",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"right";return'<div class="'.concat(pf,"__navigation ").concat(pf,"__navigation_arrow_").concat(e,'">')+""+sl.get("angle-"+t)+"</a>"};function vf(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}var gf=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"a";return ii.closest(e,function(e){return ii.isTag(e,o)},t)},mf=function(e,t){return t[e.dataset.key||""].item};function bf(){var e=this,t=!1,o=Dd(this),n=this;n.e.on(n.tree.container,"dragstart",function(e){var o=gf(e.target,n.container);o&&n.o.moveFolder&&(t=o)}).on(n.tree.container,"drop",function(o){if((n.o.moveFile||n.o.moveFolder)&&t){var r=Gn(t,"-path")||"";if(!n.o.moveFolder&&t.classList.contains(e.tree.getFullElName("item")))return!1;if(t.classList.contains(e.files.getFullElName("item"))&&(r+=Gn(t,"-name"),!n.o.moveFile))return!1;var i=gf(o.target,n.container);if(!i)return;n.dataProvider.move(r,Gn(i,"-path")||"",Gn(i,"-source")||"",t.classList.contains(e.files.getFullElName("item"))).then(function(){return Ld(e)}).catch(n.status),t=!1}}).on(n.files.container,"contextmenu",function(e){if(!e.o.contextMenu)return function(){};var t=new Td(e);return function(o){var n=gf(o.target,e.container);if(n){var r=n,i=e.options,a=function(e){return Gn(r,e)||""};return e.async.setTimeout(function(){var l=mf(n,Dd(e));l&&(e.state.activeElements=[l],t.show(o.clientX,o.clientY,[!("1"===a("data-is-file")||!i.editImage||!e.dataProvider.canI("ImageResize")&&!e.dataProvider.canI("ImageCrop"))&&{icon:"pencil",title:"Edit",exec:function(){return uf.call(e,a("href"),a("data-name"),a("data-path"),a("data-source"))}},!!e.dataProvider.canI("FileRename")&&{icon:"italic",title:"Rename",exec:function(){e.e.fire("fileRename.filebrowser",a("data-name"),a("data-path"),a("data-source"))}},!!e.dataProvider.canI("FileRemove")&&{icon:"bin",title:"Delete",exec:ff(function(){var t;return function(e,t){var o,n,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,n&&(r=2&i[0]?n.return:i[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,i[1])).done)return r;switch(n=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{o=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,Gd(e,a("data-name"),a("data-source"))];case 1:return o.sent(),[3,3];case 2:return t=o.sent(),[2,e.status(t)];case 3:return e.state.activeElements=[],[2,Ld(e).catch(e.status)]}})})},!!i.preview&&{icon:"eye",title:"Preview",exec:function(){var t=e.dlg({buttons:["fullsize","dialog.close"]}),o=e.c.div(pf,'<div class="jodit-icon_loader"></div>'),n=e.c.div(pf+"__box"),l=e.c.fromHTML(hf()),s=e.c.fromHTML(hf("prev","left")),c=function(a){var c=e.c.element
1("img");c.setAttribute("src",a);var u=function(){var a;e.isInDestruct||(e.e.off(c,"load"),ii.detach(o),i.showPreviewNavigation&&(ii.prevWithClass(r,e.files.getFullElName("item"))&&o.appendChild(s),ii.nextWithClass(r,e.files.getFullElName("item"))&&o.appendChild(l)),o.appendChild(n),n.appendChild(c),t.setPosition(),null===(a=null==e?void 0:e.events)||void 0===a||a.fire("previewOpenedAndLoaded"))};e.e.on(c,"load",u),c.complete&&u()};e.e.on([l,s],"click",function(){if(!(r=this===l?ii.nextWithClass(r,e.files.getFullElName("item")):ii.prevWithClass(r,e.files.getFullElName("item"))))throw Lr("Need element");ii.detach(o),ii.detach(n),o.innerHTML='<div class="jodit-icon_loader"></div>',c(a("href"))}),e.e.on("beforeDestruct",function(){t.destruct()}),t.container.classList.add(pf+"__dialog"),t.setContent(o),t.setPosition(),t.open(),c(a("href")),e.events.on("beforeDestruct",function(){t.destruct()}).fire("previewOpened")}},{icon:"upload",title:"Download",exec:function(){var t=a("href");t&&e.ow.open(t)}}]))},e.defaultTimeout),e.e.on("beforeClose",function(){t.close()}).on("beforeDestruct",function(){return t.destruct()}),o.stopPropagation(),o.preventDefault(),!1}}}(n)).on(n.files.container,"click",function(t){yr(t)||(e.state.activeElements=[])}).on(n.files.container,"click",function(e){var t=gf(e.target,n.container);if(t){var r=mf(t,o);if(r)return yr(e)?n.state.activeElements=function(e){return function(e){if(Array.isArray(e))return vf(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return vf(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?vf(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(n.state.activeElements).concat([r]):n.state.activeElements=[r],e.stopPropagation(),!1}}).on(n.files.container,"dragstart",function(e){if(n.o.moveFile){var o=gf(e.target,n.container);if(!o)return;t=o}}).on(n.container,"drop",function(e){return e.preventDefault()})}function yf(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function _f(){var e=this,t=this.state,o=this.dataProvider,n=this;n.e.on("view.filebrowser",function(e){e!==t.view&&(t.view=e)}).on("sort.filebrowser",function(e){e!==t.sortBy&&(t.sortBy=e,Rd(n))}).on("filter.filebrowser",function(e){e!==t.filterWord&&(t.filterWord=e,Rd(n))}).on("openFolder.filebrowser",function(e){var t;t=".."===e.name?e.path.split("/").filter(function(e){return e.length}).slice(0,-1).join("/"):Di(e.path,e.name),n.state.currentPath=t,n.state.currentSource="."===e.name?Ud:e.source}).on("removeFolder.filebrowser",function(e){n.confirm("Are you sure?","Delete",function(t){t&&o.folderRemove(e.path,e.name,e.source).then(function(e){return n.status(e,!0),Ld(n)}).catch(n.status)})}).on("renameFolder.filebrowser",function(e){n.prompt("Enter new name","Rename",function(t){if(!cn(t))return n.status(n.i18n("Enter new name")),!1;o.folderRename(e.path,e.name,t,e.source).then(function(e){return n.state.activeElements=[],n.status(e,!0),Ld(n)}).catch(n.status)},"type name",e.name)}).on("addFolder.filebrowser",function(e){n.prompt("Enter Directory name","Create directory",function(t){o.createFolder(t,e.path,e.source).then(function(){return Ld(n)}).catch(n.status)},"type name")}).on("fileRemove.filebrowser",function(){n.state.activeElements.length&&n.confirm("Are you sure?","",function(e){if(e){var t=[];n.state.activeElements.forEach(function(e){t.push(Gd(n,e.file||e.name||"",e.sourceName))}),n.state.activeElements=[],Promise.all(t).then(function(){return Ld(n).catch(n.status)},n.status)}})}).on("edit.filebrowser",function(){if(1===n.state.activeElements.length){var t=function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,r=[],i=!0,a=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(r.push(o.value),1!==r.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==t.return||t.return()}finally{if(a)throw n}}return r}}(e)||function(e){if(e){if("string"==typeof e)return yf(e,1);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?yf(e,1):void 0}}
1(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e.state.activeElements)[0];uf.call(n,t.fileURL,t.file||"",t.path,t.sourceName)}}).on("fileRename.filebrowser",function(e,t,r){1===n.state.activeElements.length&&n.prompt("Enter new name","Rename",function(i){if(!cn(i))return n.status(n.i18n("Enter new name")),!1;o.fileRename(t,e,i,r).then(function(e){n.state.activeElements=[],n.status(e,!0),Rd(n)}).catch(n.status)},"type name",e)}).on("update.filebrowser",function(){Ld(e).then(e.status,e.status)})}function jf(){var e=this,t=Dd(this),o=this,n=o.state,r=o.files,i=o.create,a=o.options;n.on(["change.currentPath","change.currentSource"],this.async.debounce(function(){e.o.saveStateInStorage&&e.o.saveStateInStorage.storeLastOpenedFolder&&e.storage.set("currentPath",e.state.currentPath).set("currentSource",e.state.currentSource),Ld(e).catch(e.status)},this.defaultTimeout)).on("beforeChange.activeElements",function(){n.activeElements.forEach(function(e){var o=e.uniqueHashKey,n=t[o].elm;n&&n.classList.remove(r.getFullElName("item","active",!0))})}).on("change.activeElements",function(){e.e.fire("changeSelection"),n.activeElements.forEach(function(e){var o=e.uniqueHashKey,n=t[o].elm;n&&n.classList.add(r.getFullElName("item","active",!0))})}).on("change.view",function(){r.setMod("view",n.view),e.o.saveStateInStorage&&e.o.saveStateInStorage.storeView&&e.storage.set("view",n.view)}).on("change.sortBy",function(){e.o.saveStateInStorage&&e.o.saveStateInStorage.storeSortBy&&e.storage.set("sortBy",n.sortBy)}).on("change.elements",this.async.debounce(function(){ii.detach(r.container),n.elements.length?n.elements.forEach(function(o){e.files.container.appendChild(function(o){var n=o.uniqueHashKey;if(t[n])return t[n].elm;var r=i.fromHTML(a.getThumbTemplate.call(e,o,o.source,o.sourceName.toString()));return r.dataset.key=n,t[n]={item:o,elm:r},t[n].elm}(o))}):r.container.appendChild(i.div(e.componentName+"_no-files_true",e.i18n("There are no files")))},this.defaultTimeout)).on("change.sources",this.async.debounce(function(){ii.detach(e.tree.container),n.sources.forEach(function(t){var o=t.name;if(o&&"default"!==o&&e.tree.container.appendChild(i.div(e.tree.getFullElName("source-title"),o)),t.folders.forEach(function(n){var r=i.a(e.tree.getFullElName("item"),{draggable:"draggable",href:"#","data-path":Di(t.path,n+"/"),"data-name":n,"data-source":o,"data-source-path":t.path},i.span(e.tree.getFullElName("item-title"),n)),l=function(r){return function(i){e.e.fire("".concat(r,".filebrowser"),{name:n,path:Di(t.path+"/"),source:o}),i.stopPropagation(),i.preventDefault()}};if(e.e.on(r,"click",l("openFolder")),e.tree.container.appendChild(r),".."!==n&&"."!==n){if(a.renameFolder&&e.dataProvider.canI("FolderRename")){var s=as(e,{icon:{name:"pencil"},name:"rename",tooltip:"Rename",size:"tiny"});s.onAction(l("renameFolder")),r.appendChild(s.container)}if(a.deleteFolder&&e.dataProvider.canI("FolderRemove")){var c=as(e,{icon:{name:"cancel"},name:"remove",tooltip:"Delete",size:"tiny"});c.onAction(l("removeFolder")),r.appendChild(c.container)}}}),a.createNewFolder&&e.dataProvider.canI("FolderCreate")){var n=as(e,"plus","Add folder","secondary");n.onAction(function(){e.e.fire("addFolder",{path:Di(t.path+"/"),source:o})}),e.tree.append(n)}})},this.defaultTimeout))}function wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},wf(e)}function kf(e,t){return kf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},kf(e,t)}function Sf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Sf=function(){return!!e})()}var xf=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}
1(this,t),e=this,n=arguments,o=wf(o=t),function(e,t){return!t||"object"!=((o=t)&&"undefined"!=typeof Symbol&&o.constructor===Symbol?"symbol":typeof o)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t;var o}(e,Sf()?Reflect.construct(o,n||[],wf(e).constructor):o.apply(e,n));var e,o,n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kf(e,t)}(t,e),(o=[{key:"className",value:function(){return"FileBrowserFiles"}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Ol);function Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Of(e)}function Cf(e,t){return Cf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Cf(e,t)}function zf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zf=function(){return!!e})()}var Ef=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e=this,n=arguments,o=Of(o=t),function(e,t){return!t||"object"!=((o=t)&&"undefined"!=typeof Symbol&&o.constructor===Symbol?"symbol":typeof o)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t;var o}(e,zf()?Reflect.construct(o,n||[],Of(e).constructor):o.apply(e,n));var e,o,n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cf(e,t)}(t,e),(o=[{key:"className",value:function(){return"FileBrowserTree"}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Ol);function Tf(e,t,o){return Tf="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=If(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},Tf(e,t,o||e)}function If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},If(e)}function Pf(e,t){return Pf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Pf(e,t)}function Rf(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Af(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Af=function(){return!!e})()}var Lf=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":Rf(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Mf=function(e){function t(e){var o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=function(e,t,o){return t=If(t),function(e,t){return!t||"object"!==Rf(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,Af()?Reflect.construct(t,o||[],If(e).constructor):t.apply(e,o))}(this,t,[e])).browser=o.c.div(o.componentName),o.status_line=o.c.div(o.getFullElName("status")),o.tree=new Ef(o),o.files=new xf(o),o.state=_a({currentPath:"",currentSource:Ud,currentBaseUrl:"",activeElements:[],elements:[],sources:[],view:"tiles",sortBy:"changed-desc",filterWord:"",onlyImages:!1}),o.errorHandler=function(e){var t,n;
1No(e)||(t=e,(null!=(n=Error)&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?n[Symbol.hasInstance](t):t instanceof n)?o.status(o.i18n(e.message)):o.status(o.dataProvider.getMessage(e)))},o.close=function(){o._dialog.close()},o.__prevButtons=[],o.attachEvents(e);var n=o;n.options=hr(e||{},Qn.defaultOptions.filebrowser),n.browser.component=o,n.container=n.browser,n.o.showFoldersPanel&&n.browser.appendChild(n.tree.container),n.browser.appendChild(n.files.container),n.browser.appendChild(n.status_line),_f.call(n),bf.call(n),jf.call(n),["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRename","folderRename","fileRemove","folderRemove","folder","items","permissions"].forEach(function(e){null!=o.options[e]&&(o.options[e]=hr(o.options[e],o.o.ajax))});var r=o.o.saveStateInStorage||{storeLastOpenedFolder:!1,storeView:!1,storeSortBy:!1},i=r.storeView,a=r.storeSortBy,l=r.storeLastOpenedFolder,s=i&&o.storage.get("view");s&&null==o.o.view?n.state.view="list"===s?"list":"tiles":n.state.view="list"===n.o.view?"list":"tiles",n.files.setMod("view",n.state.view);var c=a&&n.storage.get("sortBy");if(c){var u=c.split("-");n.state.sortBy=["changed","name","size"].includes(u[0])?c:"changed-desc"}else n.state.sortBy=n.o.sortBy||"changed-desc";if(l){var d=n.storage.get("currentPath"),f=n.storage.get("currentSource");n.state.currentPath=null!=d?d:"",n.state.currentSource=null!=f?f:""}return n.initUploader(n),n.setStatus(zo.ready),o}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pf(e,t)}(t,e),o=[{key:"className",value:function(){return"FileBrowser"}},{key:"dataProvider",get:function(){return function(e,t){return new Kd(e,t)}(this,this.options)}},{key:"onSelect",value:function(e){var t=this;return function(){if(t.state.activeElements.length){var o=[],n=[];t.state.activeElements.forEach(function(e){var t=e.fileURL;t&&(o.push(t),n.push(e.isImage||!1))}),t.close();var r={baseurl:"",files:o,isImages:n};Oo(e)&&e(r),t.close()}return!1}}},{key:"_dialog",get:function(){var e,t=this,o=this.dlg({minWidth:Math.min(700,screen.width),minHeight:300,buttons:null!==(e=this.o.headerButtons)&&void 0!==e?e:["fullsize","dialog.close"]});return["beforeClose","afterClose","beforeOpen"].forEach(function(e){return o.events.on(o,e,function(){return t.e.fire(e)})}),o.setSize(this.o.width,this.o.height),o}},{key:"storage",get:function(){return Xc.makeStorage(Boolean(this.o.saveStateInStorage),this.componentName)}},{key:"isOpened",get:function(){return this._dialog.isOpened&&"none"!==this.browser.style.display}},{key:"status",value:function(e,t){e&&!No(e)&&(Io(e)||(e=e.message),Io(e)&&dn(e).length&&this.message.message(e,t?"success":"error",this.o.howLongShowMsg))}},{key:"open",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.o.defaultCallback,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.state.onlyImages=o,this.async.promise(function(o,n){var r;if(!e.o.items||!e.o.items.url)throw Lr("Need set options.filebrowser.ajax.url");var i=0;e.e.off(e.files.container,"dblclick").on(e.files.container,"dblclick",e.onSelect(t)).on(e.files.container,"touchstart",function(){var o=(new Date).getTime();o-i<ao&&e.onSelect(t)(),i=o}).off("select.filebrowser").on("select.filebrowser",e.onSelect(t));var a=e.c.div();null===(r=e.toolbar)||void 0===r||r.appendTo(a),e.__updateToolbarButtons(),e._dialog.open(e.browser,a),e.e.fire("sort.filebrowser",e.state.sortBy),Ld(e).then(o,n).finally(function(){var t;e.isInDestruct||null===(t=null==e?void 0:e.e)||void 0===t||t.fire("fileBrowserReady.filebrowser")})}).catch(function(e){if(!No(e)&&!ft)throw e})}},{key:"__getButtons",value:function(){var e,t=this;return(null!==(e=this.o.buttons)&&void 0!==e?e:[]).filter(function(e){if(!Io(e))return!0;switch(e){case"filebrowser.upload":return t.dataProvider.canI("FileUpload");case"filebrowser.edit":return t.dataProvider.canI("ImageResize")||t.dataProvider.canI("ImageCrop");case"filebrowser.remove":return t.dataProvider.canI("FileRemove")}return!0})}},{key:"initUploader",value:function(e){var t,o=this,n=this,r=hr((null===(t=null==e?void 0:e.options)||void 0===t?void 0:t.uploader)||{},Qn.defaultOptions.uploader),i=function(){return Rd(o)};n.uploader=n.getInstance("Uploader",r),n.uploader.setPath(n.state.currentPath).setSource(n.state.currentSource).bind(n.browser,i,n.errorHandler),this.state.on(["change.currentPath","change.currentSource"],function(){o.uploader.setPath(o.state.currentPath).setSource(o.state.currentSource)}),n.e.on("bindUploader.filebrowser",function(e){n.uploader.bind(e,i,n.errorHandler)})}},{key:"destruct",value:function(){var e;this.isInDestruct||(null===(e=ai(this,"_dialog"))||void 0===e||e.destruct(),Tf(If(t.prototype),"destruct",this).call(this),this.events&&this.e.off(".filebrowser"),this.uploader&&this.uploader.destruct())}},{key:"__updateToolbarButtons",value:function(){var e,t=this.__getButtons();(function(e,t){if(e.length!==t.length)return!1;for(var o=0;o<e.length;o++)if(e[o]!==t[o])return!1;return!0})(this.__prevButtons,t)||(this.__prevButtons=t,null===(e=this.toolbar)||void 0===e||e.build(t))}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(ud);function Bf(e,t,o){return Bf="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Df(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},Bf(e,t,o||e)}function Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Df(e)}function Nf(e,t){return Nf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Nf(e,t)}function Hf(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Ff(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ff=function(){return!!e})()}Lf([li],Mf.prototype,"dataProvider",null),Lf([li],Mf.prototype,"_dialog",null),Lf([li],Mf.prototype,"storage",null),Lf([Co],Mf.prototype,"status",null),Lf([Co],Mf.prototype,"open",null),Lf([va("dataProvider:changePermissions")],Mf.prototype,"__updateToolbarButtons",null),Mf=Lf([Wa(Sd)],Mf);var qf=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;
1if("object"===("undefined"==typeof Reflect?"undefined":Hf(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Vf=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=function(e,t,o){return t=Df(t),function(e,t){return!t||"object"!==Hf(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,Ff()?Reflect.construct(t,o||[],Df(e).constructor):t.apply(e,o))}(this,t,[e])).buttons=[],o.hasStyle=!1,o.__inited=!1,e.e.on("afterPluginSystemInit",o.__afterPluginSystemInit).on("afterInit",o.__afterInit).on("beforeDestruct",o.__beforeDestruct),o}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nf(e,t)}(t,e),(o=[{key:"className",value:function(){return"Plugin"}},{key:"__afterPluginSystemInit",value:function(){var e=this.j,t=this.buttons;t&&$o(e)&&t.forEach(function(t){e.registerButton(t)})}},{key:"__afterInit",value:function(){this.__inited=!0,this.setStatus(zo.ready),this.afterInit(this.jodit)}},{key:"init",value:function(e){this.jodit.isReady&&(this.afterInit(this.jodit),this.__afterPluginSystemInit(),this.jodit.e.fire("rebuildToolbar"))}},{key:"__beforeDestruct",value:function(){var e;if(!this.isInDestruct){var o=this.j;if(o.e.off("afterPluginSystemInit",this.__afterPluginSystemInit).off("afterInit",this.__afterInit).off("beforeDestruct",this.destruct),this.setStatus(zo.beforeDestruct),!this.__inited)return Bf(Df(t.prototype),"destruct",this).call(this);$o(o)&&(null===(e=this.buttons)||void 0===e||e.forEach(function(e){null==o||o.unregisterButton(e)})),this.beforeDestruct(this.j),Bf(Df(t.prototype),"destruct",this).call(this)}}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Na);Vf.requires=[],qf([Co],Vf.prototype,"__afterPluginSystemInit",null),qf([Co],Vf.prototype,"__afterInit",null),qf([Co],Vf.prototype,"__beforeDestruct",null);var Wf=function(){function e(t,o,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.oldValue=t,this.newValue=o,this.history=n,this.tick=r}var t;return(t=[{key:"undo",value:function(){this.history.snapshot.restore(this.oldValue)}},{key:"redo",value:function(){this.history.snapshot.restore(this.newValue)}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}();function Uf(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Yf(e,t,o){return Yf="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Kf(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},Yf(e,t,o||e)}function Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Kf(e)}function Gf(e,t){return Gf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Gf(e,t)}function Jf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jf=function(){return!!e})()}var Xf=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=Kf(t),function(e,t){return!t||"object"!=((o=t)&&"undefined"!=typeof Symbol&&o.constructor===Symbol?"symbol":typeof o)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t;var o}(e,Jf()?Reflect.construct(t,o||[],Kf(e).constructor):t.apply(e,o))}(this,t,arguments)).__isBlocked=!1,e.__levelOfTransaction=0,e}var o,n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gf(e,t)}(t,e),o=t,n=[{key:"className",value:function(){return"Snapshot"}},{key:"calcHierarchyLadder",value:function(e){var o=[];if(!e||!e.parentNode||!ii.isOrContains(this.j.editor,e))return[];for(;e&&e!==this.j.editor;)e&&!t.isIgnoredNode(e)&&o.push(t.countNodesBeforeInParent(e)),e=e.parentNode;return o.reverse()}},{key:"getElementByLadder",value:function(e){var t,o=this.j.editor;for(t=0;o&&t<e.length;t+=1)o=o.childNodes[e[t]];return o}},{key:"isBlocked",get:function(){return this.__isBlocked}},{key:"__block",value:function(e){this.__isBlocked=e}},{key:"transaction",value:function(e){this.__block(!0),this.__levelOfTransaction+=1;try{e()}catch(e){if(!ft)throw e}finally{this.__levelOfTransaction-=1,0===this.__levelOfTransaction&&this.__block(!1)}}},{key:"make",value:function(){var e={html:"",range:{startContainer:[],startOffset:0,endContainer:[],endOffset:0}};e.html=this.__getCleanedEditorValue(this.j.editor);var o=this.j.s.sel;if(o&&o.rangeCount){var n=o.getRangeAt(0),r=this.calcHierarchyLadder(n.startContainer),i=this.calcHierarchyLadder(n.endContainer),a=t.strokeOffset(n.startContainer,n.startOffset),l=t.strokeOffset(n.endContainer,n.endOffset);r.length||n.startContainer===this.j.editor||(a=0),i.length||n.endContainer===this.j.editor||(l=0),e.range={startContainer:r,startOffset:a,endContainer:i,endOffset:l}}return e}},{key:"restore",value:function(e){var t=this;this.transaction(function(){var o=t.storeScrollState();t.__getCleanedEditorValue(t.j.editor)!==e.html&&(t.j.value=e.html),t.restoreOnlySelection(e),t.restoreScrollState(
1o)})}},{key:"storeScrollState",value:function(){return[this.j.ow.scrollY,this.j.editor.scrollTop]}},{key:"restoreScrollState",value:function(e){var t=this.j,o=t.ow;o.scrollTo(o.scrollX,e[0]),t.editor.scrollTop=e[1]}},{key:"restoreOnlySelection",value:function(e){try{if(e.range){var 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),ft||console.warn("Broken snapshot",e)}}},{key:"destruct",value:function(){this.__block(!1),Yf(Kf(t.prototype),"destruct",this).call(this)}},{key:"__getCleanedEditorValue",value:function(e){var t=e.cloneNode(!0);return ii.temporaryList(t).forEach(ii.unwrap),t.innerHTML}}],r=[{key:"equal",value:function(e,t){return e.html===t.html&&JSON.stringify(e.range)===JSON.stringify(t.range)}},{key:"countNodesBeforeInParent",value:function(e){if(!e.parentNode)return 0;for(var t=e.parentNode.childNodes,o=0,n=null,r=0;r<t.length;r+=1){if(!n||this.isIgnoredNode(t[r])||ii.isText(n)&&ii.isText(t[r])||(o+=1),t[r]===e)return o;n=t[r]}return 0}},{key:"strokeOffset",value:function(e,t){for(;ii.isText(e);)e=e.previousSibling,ii.isText(e)&&e.nodeValue&&(t+=e.nodeValue.length);return t}},{key:"isIgnoredNode",value:function(e){return ii.isText(e)&&!e.nodeValue||ii.isTemporary(e)}}],n&&Uf(o.prototype,n),r&&Uf(o,r),t}(Na),Zf=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.size=t,this.commands=[],this.stackPosition=-1}var t;return(t=[{key:"length",get:function(){return this.commands.length}},{key:"clearRedo",value:function(){this.commands.length=this.stackPosition+1}},{key:"clear",value:function(){this.commands.length=0,this.stackPosition=-1}},{key:"push",value:function(e){this.clearRedo(),this.commands.push(e),this.stackPosition+=1,this.commands.length>this.size&&(this.commands.shift(),this.stackPosition-=1)}},{key:"replace",value:function(e){this.commands[this.stackPosition]=e}},{key:"current",value:function(){return this.commands[this.stackPosition]}},{key:"undo",value:function(){return!!this.canUndo()&&(this.commands[this.stackPosition]&&this.commands[this.stackPosition].undo(),this.stackPosition-=1,!0)}},{key:"redo",value:function(){return!!this.canRedo()&&(this.stackPosition+=1,this.commands[this.stackPosition]&&this.commands[this.stackPosition].redo(),!0)}},{key:"canUndo",value:function(){return this.stackPosition>=0}},{key:"canRedo",value:function(){return this.stackPosition<this.commands.length-1}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}();function Qf(e,t,o){return Qf="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=$f(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},Qf(e,t,o||e)}function $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},$f(e)}function ep(e,t){return ep=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ep(e,t)}function tp(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function op(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(op=function(){return!!e})()}Qn.prototype.history={enable:!0,maxHistoryLength:1/0,timeout:1e3};var np=function(e){function t(e){var o,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Zf(e.o.history.maxHistoryLength),r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Xf(e);return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=function(e,t,o){return t=$f(t),function(e,t){return!t||"object"!==tp(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,op()?Reflect.construct(t,o||[],$f(e).constructor):t.apply(e,o))}(this,t,[e])).updateTick=0,o.__stack=n,o.snapshot=r,e.o.history.enable&&e.e.on("afterAddPlace.history",function(){o.isInDestruct||(o.startValue=o.snapshot.make(),e.events.on("internalChange internalUpdate",function(){o.startValue=o.snapshot.make()}).on(e.editor,["changeSelection","selectionstart","selectionchange","mousedown","mouseup","keydown","keyup"].map(function(e){return e+".history"}).join(" "),function(){o.startValue.html===o.j.getNativeEditorValue()&&(o.startValue=o.snapshot.make())}).on(o,"change.history",o.onChange))}),o}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ep(e,t)}(t,e),o=[{key:"className",value:function(){return"History"}},{key:"redo",value:function(){this.__stack.redo()&&(this.startValue=this.snapshot.make(),this.fireChangeStack())}},{key:"canRedo",value:function(){return this.__stack.canRedo()}},{key:"undo",value:function(){this.__stack.undo()&&(this.startValue=this.snapshot.make(),this.fireChangeStack())}},{key:"canUndo",value:function(){return this.__stack.canUndo()}},{key:"clear",value:function(){this.startValue=this.snapshot.make(),this.__stack.clear(),this.fireChangeStack()}},{key:"length",get:function(){return this.__stack.length}},{key:"startValue",get:function(){return this.__startValue},set:function(e){this.__startValue=e}},{key:"__upTick",value:function(){this.updateTick+=1}},{key:"onChange",value:function(){this.__processChanges()}},{key:"__processChanges",value:function(){!this.snapshot.isBlocked&&this.j.o.history.enable&&this.updateStack()}},{key:"updateStack",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.snapshot.make();if(!Xf.equal(t,this.startValue)){var o=new Wf(this.startValue,t,this,this.updateTick);if(e){var n=this.__stack.current();n&&this.updateTick===n.tick&&this.__stack.replace(o)}else this.__stack.push(o);this.startValue=t,this.fireChangeStack()}}},{key:"fireChangeStack",value:function(){var e;this.j&&!this.j.isInDestruct&&(null===(e=this.j.events)||void 0===e||e.fire("changeStack"))}},{key:"destruct",value:function(){this.isInDestruct||(this.j.events&&this.j.e.off(".history"),this.snapshot.destruct(),Qf($f(t.prototype),"destruct",this).call(this))}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Na);function rp(e,t,o){return rp="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ip(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},rp(e,t,o||e)}
1function ip(e){return ip=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ip(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ap(e,t)}function lp(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function sp(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sp=function(){return!!e})()}!function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":tp(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);i>3&&a&&Object.defineProperty(t,o,a)}([Ha()],np.prototype,"onChange",null);var cp=function(e){function t(e,o){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t,o){return t=ip(t),function(e,t){return!t||"object"!==lp(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,sp()?Reflect.construct(t,o||[],ip(e).constructor):t.apply(e,o))}(this,t,[e])).target=o,n.mods={},n.container=e.c.div("jodit-status-bar"),o.appendChild(n.container),n.hide(),n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ap(e,t)}(t,e),o=[{key:"className",value:function(){return"StatusBar"}},{key:"hide",value:function(){this.container.classList.add("jodit_hidden")}},{key:"show",value:function(){this.container.classList.remove("jodit_hidden")}},{key:"isShown",get:function(){return!this.container.classList.contains("jodit_hidden")}},{key:"getHeight",value:function(){var e,t;return null!==(t=null===(e=this.container)||void 0===e?void 0:e.offsetHeight)&&void 0!==t?t:0}},{key:"findEmpty",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.getElms(e?"item-right":"item"),o=0;o<t.length;o+=1)if(!t[o].innerHTML.trim().length)return t[o]}},{key:"append",value:function(e){var t,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.findEmpty(o)||this.j.c.div(this.getFullElName("item"));o&&n.classList.add(this.getFullElName("item-right")),n.appendChild(e),null===(t=this.container)||void 0===t||t.appendChild(n),this.j.o.statusbar&&this.show(),this.j.e.fire("resize")}},{key:"destruct",value:function(){this.isInDestruct||(this.setStatus(zo.beforeDestruct),ii.safeRemove(this.container),rp(ip(t.prototype),"destruct",this).call(this))}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Na);function up(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dp(e,t,o){return dp="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=fp(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},dp(e,t,o||e)}function fp(e){return fp=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},fp(e)}function pp(e,t){return pp=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},pp(e,t)}function hp(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function vp(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vp=function(){return!!e})()}cp=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":lp(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a}([pi,Wa(ll,al)],cp);var gp=new WeakMap,mp=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=fp(t),function(e,t){return!t||"object"!==hp(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,vp()?Reflect.construct(t,o||[],fp(e).constructor):t.apply(e,o))}(this,t,arguments)).selected=new Set,e}var o,n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pp(e,t)}(t,e),o=t,n=[{key:"className",value:function(){return"Table"}},{key:"__recalculateStyles",value:function(){var e=za(this.j,t,"style",!0),o=[];this.selected.forEach(function(e){var t=Jr(e);t&&o.push(t)}),e.innerHTML=o.length?o.join(",")+"{".concat(this.jodit.options.table.selectionCellStyle,"}"):""}},{key:"addSelection",value:function(e){this.selected.add(e),this.__recalculateStyles();var o=ii.closest(e,"table",this.j.editor);if(o){var n=t.__selectedByTable.get(o)||new Set;n.add(e),t.__selectedByTable.set(o,n)}}},{key:"removeSelection",value:function(e){this.selected.delete(e),this.__recalculateStyles();var o=ii.closest(e,"table",this.j.editor);if(o){var n=t.__selectedByTable.get(o);n&&(n.delete(e),n.size||t.__selectedByTable.delete(o))}}},{key:"getAllSelectedCells",value:function(){return Bo(this.selected)}},{key:"destruct",value:function(){return this.selected.clear(),dp(fp(t.prototype),"destruct",this).call(this)}},{key:"getRowsCount",value:function(e){return t.__getRowsCount(e)}},{key:"getColumnsCount",value:function(e){return t.__getColumnsCount(e)}},{key:"formalMatrix",value:function(e,o){return t.__formalMatrix(e,o)}},{key:"formalCoordinate",value:function(e,o){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t.__formalCoordinate(e,o,n)}},{key:"appendRow",value:function(e,o,n){return t.__appendRow(e,o,n,this.j.createInside)}},{key:"removeRow",value:function(e,o){return t.__removeRow(e,o)}},{key:"appendColumn",value:function(e,o){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=t.__formalMatrix(e);if(!n&&ii.isCell(o.previousElementSibling))return this.appendColumn(e,o.previousElementSibling,!0);for(var i=n?o.cellIndex+((o.colSpan||1)-1):o.cellIndex,a=n?i+1:i,l=0;l<r.length;){var s=r[l];if(s[i]!==s[a]||i===a){var c=this.j.createInside.element("td");n?ii.after(s[i],c):ii.before(s[i],c),s[i].rowSpan>1&&(c.rowSpan=s[i].rowSpan)}else s[i].colSpan+=1;l+=s[i].rowSpan||1}}},{key:"removeColumn",value:function(e,o){return t.__removeColumn(e,o)}},{key:"getSelectedBound",value:function(e,o){return t.__getSelectedBound(e,o)}},{key:"normalizeTable",value:function(e){return t.__normalizeTable(e)}},{key:"mergeSelected",value:function(e){return t.__mergeSelected(e,this.j)}},{key:"splitHorizontal",value:function(e){return t.__splitHorizontal(e,this.j)}},{key:"splitVertical",value:function(e){return t.__splitVertical(e,this.j)}},{key:"setColumnWidthByDelta",value:function(e,o,n,r,i){return t.__setColumnWidthByDelta(e,o,n,r,i)}}],r=[{key:"__getSelectedCellsByTable",value:function(e){var o=t.__selectedByTable.get(e);return o?Bo(o):[]}},{key:"__getRowsCount",value:function(e){return e.rows.length}},{key:"__getColumnsCount",value:function(e){return t.__formalMatrix(e).reduce(function(e,t){return Math.max(e,t.length)},0)}},{key:"__formalMatrix",value:function(e,t){for(var o=[[]],n=Bo(e.rows),r=function(e,n){void 0===o[n]&&(o[n]=[]);for(var r,i,a=e.colSpan,l=e.rowSpan,s=0;o[n][s];)s+=1;for(i=0;i<l;i+=1)for(r=0;r<a;r+=1){if(void 0===o[n+i]&&(o[n+i]=[]),t&&!1===t(e,n+i,s+r,a,l))return!1;o[n+i][s+r]=e}},i=0;i<n.length;i+=1)for(var a=Bo(n[i].cells),l=0;l<a.length;l+=1)if(!1===r(a[l],i))return o;return o}},{key:"__formalCoordinate",value:function(e,o){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=0,i=0,a=1,l=1;return t.__formalMatrix(e,function(e,t,s,c,u){if(o===e)return r=t,i=s,a=c||1,l=u||1,n&&(i+=(c||1)-1,r+=(u||1)-1),!1}),[r,i,a,l]}},{key:"__appendRow",value:function(e,o,n,r){var i,a;
1if(o)a=o.cloneNode(!0),Yr("td,th",o).forEach(function(e){var t=Gn(e,"rowspan");if(t&&parseInt(t,10)>1){var o=parseInt(t,10)-1;Gn(e,"rowspan",o>1?o:null)}}),Yr("td,th",a).forEach(function(e){e.innerHTML=""});else{var l=t.__getColumnsCount(e);a=r.element("tr");for(var s=0;s<l;s+=1)a.appendChild(r.element("td"))}n&&o&&o.nextSibling?o.parentNode&&o.parentNode.insertBefore(a,o.nextSibling):!n&&o?o.parentNode&&o.parentNode.insertBefore(a,o):((null===(i=e.getElementsByTagName("tbody"))||void 0===i?void 0:i[0])||e).appendChild(a)}},{key:"__removeRow",value:function(e,o){var n,r=t.__formalMatrix(e),i=e.rows[o];r[o].forEach(function(t,a){if(n=!1,o-1>=0&&r[o-1][a]===t)n=!0;else if(r[o+1]&&r[o+1][a]===t){if(t.parentNode===i&&t.parentNode.nextSibling){n=!0;for(var l=a+1;r[o+1][l]===t;)l+=1;var s=ii.next(t.parentNode,function(e){return ii.isTag(e,"tr")},e);s&&(r[o+1][l]?s.insertBefore(t,r[o+1][l]):s.appendChild(t))}}else ii.safeRemove(t);if(n&&(t.parentNode===i||t!==r[o][a-1])){var c=t.rowSpan;Gn(t,"rowspan",c-1>1?c-1:null)}}),ii.safeRemove(i)}},{key:"__removeColumn",value:function(e,o){var n,r=t.__formalMatrix(e);r.forEach(function(e,t){var i=e[o];if(n=!1,o-1>=0&&r[t][o-1]===i||o+1<e.length&&r[t][o+1]===i?n=!0:ii.safeRemove(i),n&&(t-1<0||i!==r[t-1][o])){var a=i.colSpan;Gn(i,"colspan",a-1>1?(a-1).toString():null)}})}},{key:"__getSelectedBound",value:function(e,o){var n,r,i,a=[[1/0,1/0],[0,0]],l=t.__formalMatrix(e);for(n=0;n<l.length;n+=1)for(r=0;l[n]&&r<l[n].length;r+=1)o.includes(l[n][r])&&(a[0][0]=Math.min(n,a[0][0]),a[0][1]=Math.min(r,a[0][1]),a[1][0]=Math.max(n,a[1][0]),a[1][1]=Math.max(r,a[1][1]));for(n=a[0][0];n<=a[1][0];n+=1)for(i=1,r=a[0][1];r<=a[1][1];r+=1){for(;l[n]&&l[n][r-i]&&l[n][r]===l[n][r-i];)a[0][1]=Math.min(r-i,a[0][1]),a[1][1]=Math.max(r-i,a[1][1]),i+=1;for(i=1;l[n]&&l[n][r+i]&&l[n][r]===l[n][r+i];)a[0][1]=Math.min(r+i,a[0][1]),a[1][1]=Math.max(r+i,a[1][1]),i+=1;for(i=1;l[n-i]&&l[n][r]===l[n-i][r];)a[0][0]=Math.min(n-i,a[0][0]),a[1][0]=Math.max(n-i,a[1][0]),i+=1;for(i=1;l[n+i]&&l[n][r]===l[n+i][r];)a[0][0]=Math.min(n+i,a[0][0]),a[1][0]=Math.max(n+i,a[1][0]),i+=1}return a}},{key:"__normalizeTable",value:function(e){var o=[],n=t.__formalMatrix(e);t.__removeExtraColspans(n,o),t.__removeExtraRowspans(n,o);for(var r=0;r<n.length;r+=1)for(var i=0;i<n[r].length;i+=1)void 0!==n[r][i]&&(n[r][i].hasAttribute("rowspan")&&1===n[r][i].rowSpan&&Gn(n[r][i],"rowspan",null),n[r][i].hasAttribute("colspan")&&1===n[r][i].colSpan&&Gn(n[r][i],"colspan",null),n[r][i].hasAttribute("class")&&!Gn(n[r][i],"class")&&Gn(n[r][i],"class",null));t.__unmark(o)}},{key:"__removeExtraColspans",value:function(e,o){for(var n=0;n<e[0].length;n+=1){for(var r=1e6,i=!1,a=0;a<e.length;a+=1)if(void 0!==e[a][n]){if(e[a][n].colSpan<2){i=!0;break}r=Math.min(r,e[a][n].colSpan)}if(!i)for(var l=0;l<e.length;l+=1)void 0!==e[l][n]&&t.__mark(e[l][n],"colspan",e[l][n].colSpan-r+1,o)}}},{key:"__removeExtraRowspans",value:function(e,o){var n=0,r=0;for(n=0;n<e.length;n+=1){var i=1e6,a=!1;for(r=0;r<e[n].length;r+=1)if(void 0!==e[n][r]){if(e[n][r].rowSpan<2){a=!0;break}i=Math.min(i,e[n][r].rowSpan)}if(!a)for(r=0;r<e[n].length;r+=1)void 0!==e[n][r]&&t.__mark(e[n][r],"rowspan",e[n][r].rowSpan-i+1,o)}}},{key:"__mergeSelected",value:function(e,o){var n,r=[],i=t.__getSelectedBound(e,t.__getSelectedCellsByTable(e)),a=0,l=null,s=0,c=0,u=0,d=new Set,f=[];i&&(i[0][0]-i[1][0]||i[0][1]-i[1][1])&&(t.__formalMatrix(e,function(e,p,h,v,g){if(p>=i[0][0]&&p<=i[1][0]&&h>=i[0][1]&&h<=i[1][1]){if(n=e,d.has(n))return;d.add(n),p===i[0][0]&&n.style.width&&(a+=n.offsetWidth),""!==dn(e.innerHTML.replace(/<br(\/)?>/g,""))&&r.push(e.innerHTML),v>1&&(c+=v-1),g>1&&(u+=g-1),l?(t.__mark(n,"remove",1,f),bp(o).removeSelection(n)):(l=e,s=h)}}),c=i[1][1]-i[0][1]+1,u=i[1][0]-i[0][0]+1,l&&(c>1&&t.__mark(l,"colspan",c,f),u>1&&t.__mark(l,"rowspan",u,f),a&&(t.__mark(l,"width",(a/e.offsetWidth*100).toFixed(Gt)+"%",f),s&&t.__setColumnWidthByDelta(e,s,0,!0,f)),l.innerHTML=r.join("<br/>"),bp(o).addSelection(l),d.delete(l),t.__unmark(f),t.__normalizeTable(e),Bo(e.rows).forEach(function(e){e.cells.length||ii.safeRemove(e)})))}},{key:"__splitHorizontal",value:function(e,o){var n,r,i,a,l,s=[];t.__getSelectedCellsByTable(e).forEach(function(c){(r=o.createInside.element("td")).appendChild(o.createInside.element("br")),i=o.createInside.element("tr"),n=t.__formalCoordinate(e,c),c.rowSpan<2?(t.__formalMatrix(e,function(e,o,r){n[0]===o&&n[1]!==r&&e!==c&&t.__mark(e,"rowspan",e.rowSpan+1,s)}),ii.after(ii.closest(c,"tr",e),i),i.appendChild(r)):(t.__mark(c,"rows
1pan",c.rowSpan-1,s),t.__formalMatrix(e,function(t,o,r){o>n[0]&&o<n[0]+c.rowSpan&&n[1]>r&&t.parentNode.rowIndex===o&&(l=t),n[0]<o&&t===c&&(a=e.rows[o])}),l?ii.after(l,r):a.insertBefore(r,a.firstChild)),c.colSpan>1&&t.__mark(r,"colspan",c.colSpan,s),t.__unmark(s),bp(o).removeSelection(c)}),this.__normalizeTable(e)}},{key:"__splitVertical",value:function(e,o){var n,r,i,a=[];t.__getSelectedCellsByTable(e).forEach(function(l){n=t.__formalCoordinate(e,l),l.colSpan<2?t.__formalMatrix(e,function(e,o,r){n[1]===r&&n[0]!==o&&e!==l&&t.__mark(e,"colspan",e.colSpan+1,a)}):t.__mark(l,"colspan",l.colSpan-1,a),(r=o.createInside.element("td")).appendChild(o.createInside.element("br")),l.rowSpan>1&&t.__mark(r,"rowspan",l.rowSpan,a);var s=l.offsetWidth;ii.after(l,r),i=s/e.offsetWidth/2,t.__mark(l,"width",(100*i).toFixed(Gt)+"%",a),t.__mark(r,"width",(100*i).toFixed(Gt)+"%",a),t.__unmark(a),bp(o).removeSelection(l)}),t.__normalizeTable(e)}},{key:"__setColumnWidthByDelta",value:function(e,o,n,r,i){for(var a=t.__formalMatrix(e),l=0,s=0;s<a.length;s+=1){var c=a[s][o];if(!(c.colSpan>1&&a.length>1)){var u=(c.offsetWidth+n)/e.offsetWidth*100;t.__mark(c,"width",u.toFixed(Gt)+"%",i),l=s;break}}for(var d=l+1;d<a.length;d+=1){var f=a[d][o];t.__mark(f,"width",null,i)}r||t.__unmark(i)}},{key:"__mark",value:function(e,t,o,n){var r;n.push(e);var i=null!==(r=gp.get(e))&&void 0!==r?r:{};i[t]=void 0===o?1:o,gp.set(e,i)}},{key:"__unmark",value:function(e){e.forEach(function(e){var t=gp.get(e);t&&(Object.keys(t).forEach(function(o){var n=t[o];switch(o){case"remove":ii.safeRemove(e);break;case"rowspan":Gn(e,"rowspan",on(n)&&n>1?n:null);break;case"colspan":Gn(e,"colspan",on(n)&&n>1?n:null);break;case"width":null==n?(e.style.removeProperty("width"),Gn(e,"style")||Gn(e,"style",null)):e.style.width=n.toString()}delete t[o]}),gp.delete(e))})}}],n&&up(o.prototype,n),r&&up(o,r),t}(Na);mp.__selectedByTable=new WeakMap,function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":hp(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);i>3&&a&&Object.defineProperty(t,o,a)}([Ha()],mp.prototype,"__recalculateStyles",null);var bp=function(e){return e.getInstance("Table",e.o)};function yp(e){for(var t=atob(e.split(",")[1]),o=e.split(",")[0].split(":")[1].split(";
1")[0],n=new ArrayBuffer(t.length),r=new Uint8Array(n),i=0;i<t.length;i+=1)r[i]=t.charCodeAt(i);return new Blob([r.buffer],{type:o})}var _p=new WeakMap;function jp(e,t){var o=function(e,t){if(Oo(e.o.buildData))return e.o.buildData.call(e,t);var o,n,r=e.ow.FormData;if(void 0!==r){if(o=t,null!=(n=r)&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?n[Symbol.hasInstance](o):o instanceof n)return t;if(Io(t))return t;var i=new r,a=t;return Object.keys(a).forEach(function(e){i.append(e,a[e])}),i}return t}(e,t),n=function(t){e.j.progressbar.show().progress(t),t>=100&&e.j.progressbar.hide()},r=function(t,o){var n=new il({xhr:function(){var t=new XMLHttpRequest;return void 0!==e.j.ow.FormData&&t.upload?(o(10),t.upload.addEventListener("progress",function(e){if(e.lengthComputable){var t=e.loaded/e.total;o(t*=100)}},!1)):o(100),t},method:e.o.method||"POST",data:t,url:Oo(e.o.url)?e.o.url(t):e.o.url,headers:e.o.headers,queryBuild:e.o.queryBuild,contentType:e.o.contentType.call(e,t),withCredentials:e.o.withCredentials||!1}),r=_p.get(e);return r||(r=new Set,_p.set(e,r)),r.add(n),e.j.e.one("beforeDestruct",n.destruct),n.send().then(function(e){return e.json()}).catch(function(e){return{success:!1,data:{messages:[e]}}}).finally(function(){n.destruct(),null==r||r.delete(n)})};return Oo(e.o.customUploadFunction)&&(r=e.o.customUploadFunction),an(o)?o.then(function(e){return r(e,n)}).catch(function(t){e.o.error.call(e,t)}):r(o,n)}function wp(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function kp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var n,r,i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return wp(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?wp(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Sp(e,t,o,n,r){if(!t)return Promise.reject(Lr("Need files"));var i=e.o,a=Bo(t);if(!a.length)return Promise.reject(Lr("Need files"));var l=[];if(i.insertImageAsBase64URI&&function(e,t,o,n,r,i){var a,l,s=function(){if((a=e[l])&&a.type){var s=a.type.match(/\/([a-z0-9]+)/i),c=s[1]?s[1].toLowerCase():"";if(!t.includes(c))return"continue";var u=new FileReader;o.push(n.j.async.promise(function(e,t){u.onerror=t,u.onloadend=function(){var t={baseurl:"",files:[u.result],isImages:[!0]};(Oo(r)?r:i).call(n,t),e(t)},u.readAsDataURL(a)})),e[l]=null}};for(l=0;l<e.length;l+=1)s()}(a,i.imagesExtensions,l,e,o,i.defaultHandlerSuccess),a=a.filter(function(e){return e}),a.length){var s,c=new FormData;c.append(i.pathVariableName,e.path),c.append("source",e.source);for(var u=0;u<a.length;u+=1)if(s=a[u]){var d=/\.\w+$/.test(s.name),f=s.type.match(/\/([a-z0-9]+)/i),p=f&&f[1]?f[1].toLowerCase():"",h=a[u].name||Math.random().toString().replace(".","");if(!d&&p){var v=p;["jpeg","jpg"].includes(v)&&(v="jpeg|jpg"),new RegExp(".("+v+")$","i").test(h)||(h+="."+p)}var g=kp(i.processFileName.call(e,i.filesVariableName(u),a[u],h),3),m=g[0],b=g[1],y=g[2];c.append(m,b,y)}r&&r(c),i.data&&rn(i.data)&&Object.keys(i.data).forEach(function(e){c.append(e,i.data[e])}),i.prepareData.call(e,c),l.push(jp(e,c).then(function(t){return i.isSuccess.call(e,t)?((Oo(o)?o:i.defaultHandlerSuccess).call(e,i.process.call(e,t)),t):((Oo(n)?n:i.defaultHandlerError).call(e,Lr(i.getMessage.call(e,t))),t)}).then(function(){e.j.events&&e.j.e.fire("filesWereUploaded")}))}return Promise.all(l)}function xp(e){return Boolean(e&&e.files&&e.files.length>0)}function Op(e){return Boolean(e&&e.items&&e.items.length>0)}function Cp(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function zp(e,t,o){return zp="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Ep(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},zp(e,t,o||e)}
1function Ep(e){return Ep=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ep(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Tp(e,t)}function Ip(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ip=function(){return!!e})()}Qn.prototype.enableDragAndDropFileToEditor=!0,Qn.prototype.uploader={url:"",insertImageAsBase64URI:!1,imagesExtensions:["jpg","png","jpeg","gif"],headers:null,data:null,filesVariableName:function(e){return"files[".concat(e,"]")},withCredentials:!1,pathVariableName:"path",format:"json",method:"POST",prepareData:function(e){return e},isSuccess:function(e){return e.success},getMessage:function(e){return void 0!==e.data.messages&&To(e.data.messages)?e.data.messages.join(" "):""},processFileName:function(e,t,o){return[e,t,o]},process:function(e){return e.data},error:function(e){this.j.message.error(e.message,4e3)},getDisplayName:function(e,t){return e+t},defaultHandlerSuccess:function(e){var t=this,o=this.j||this;$o(o)&&e.files&&e.files.length&&e.files.forEach(function(n,r){var i=function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,r=[],i=!0,a=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(r.push(o.value),2!==r.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==t.return||t.return()}finally{if(a)throw n}}return r}}(e)||function(e){if(e){if("string"==typeof e)return Cp(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Cp(e,2):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e.isImages&&e.isImages[r]?["img","src"]:["a","href"]),a=i[0],l=i[1],s=o.createInside.element(a);s.setAttribute(l,e.baseurl+n),"a"===a&&(s.textContent=o.o.uploader.getDisplayName.call(t,e.baseurl,n)),"img"===a?o.s.insertImage(s,null,o.o.imageDefaultWidth):o.s.insertNode(s)})},defaultHandlerError:function(e){this.j.message.error(e.message)},contentType:function(e){return(void 0===this.ow.FormData||"string"==typeof e)&&"application/x-www-form-urlencoded; charset=UTF-8"}};var Pp=function(e){function t(e,o){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t,o){return t=Ep(t),function(e,t){return!t||"object"!=((o=t)&&"undefined"!=typeof Symbol&&o.constructor===Symbol?"symbol":typeof o)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t;var o}(e,Ip()?Reflect.construct(t,o||[],Ep(e).constructor):t.apply(e,o))}(this,t,[e])).path="",n.source="default",n.options=hr(o||{},hr(Qn.defaultOptions.uploader,$o(e)?e.o.uploader:{})),n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tp(e,t)}(t,e),o=[{key:"j",get:function(){return this.jodit}},{key:"className",value:function(){return"Uploader"}},{key:"o",get:function(){return this.options}},{key:"setPath",value:function(e){return this.path=e,this}},{key:"setSource",value:function(e){return this.source=e,this}},{key:"bind",value:function(e,t,o){var n=function(){e.classList.remove("jodit_drag_hover")},r=this,i=function(e){var i,a,l,s=e.clipboardData,c=function(e){a&&(e.append("extension",l),e.append("mimetype",a.type))};if(!to&&xp(s))return Sp(r,s.files,t,o).finally(n),!1;if(to&&!dt)return function(e,t,o,n,r){if(t&&(!t.types.length||t.types[0]!==oo)){var i=e.j.c.div("",{tabindex:-1,style:"left: -9999px; top: 0; width: 0; height: 100%;line-height: 140%; overflow: hidden; position: fixed; z-index: 2147483647; word-break: break-all;",contenteditable:!0});za(e.j,e.constructor).appendChild(i);var a=$o(e.j)?e.j.s.save():null;i.focus(),e.j.async.setTimeout(function(){var t=i.firstChild;if(ii.safeRemove(i),t&&t.hasAttribute("src")){var l=Gn(t,"src")||"";
1a&&$o(e.j)&&e.j.s.restore(),Sp(e,[yp(l)],o,n).finally(r)}},e.j.defaultTimeout)}}(r,s,t,o,n);if(Op(s)){var u=s.items;for(i=0;i<u.length;i+=1)if("file"===u[i].kind&&"image/png"===u[i].type){if(a=u[i].getAsFile()){var d=a.type.match(/\/([a-z0-9]+)/i);l=d[1]?d[1].toLowerCase():"",Sp(r,[a],t,o,c).finally(n)}e.preventDefault();break}}};r.j&&r.j.editor!==e?r.j.e.on(e,"paste",i):r.j.e.on("beforePaste",i),this.attachEvents(e,t,o,n)}},{key:"attachEvents",value:function(e,t,o,n){var r=this;r.j.e.on(e,"dragend dragover dragenter dragleave drop",function(e){e.preventDefault()}).on(e,"dragover",function(t){(xp(t.dataTransfer)||Op(t.dataTransfer))&&(e.classList.add("jodit_drag_hover"),t.preventDefault())}).on(e,"dragend dragleave",function(t){e.classList.remove("jodit_drag_hover"),xp(t.dataTransfer)&&t.preventDefault()}).on(e,"drop",function(i){e.classList.remove("jodit_drag_hover"),xp(i.dataTransfer)&&(i.preventDefault(),i.stopImmediatePropagation(),Sp(r,i.dataTransfer.files,t,o).finally(n))});var i=e.querySelector("input[type=file]");i&&r.j.e.on(i,"change",function(){Sp(r,i.files,t,o).then(function(){i.value="",/safari/i.test(navigator.userAgent)||(i.type="",i.type="file")}).finally(n)})}},{key:"uploadRemoteImage",value:function(e,t,o){var n=this,r=n.o,i=Oo(o)?o:r.defaultHandlerError;jp(n,{action:"fileUploadRemote",url:e}).then(function(e){r.isSuccess.call(n,e)?(Oo(t)?t:r.defaultHandlerSuccess).call(n,r.process.call(n,e)):i.call(n,Lr(r.getMe
1ssage.call(n,e)))}).catch(function(e){return i.call(n,e)})}},{key:"destruct",value:function(){this.setStatus(zo.beforeDestruct);var e=_p.get(this);e&&(e.forEach(function(e){try{e.destruct()}catch(e){}}),e.clear()),zp(Ep(t.prototype),"destruct",this).call(this)}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Na),Rp="wrap",Ap="unwrap",Lp="change",Mp="unset",Bp="initial",Dp="replace",Np="commitStyle";function Hp(e,t,o){var n=o.s.createRange(),r=tn(t.previousSibling)?t.previousSibling:t;n.setStartBefore(e),n.setEndBefore(r),Fp(e,n,!0);var i=tn(t.nextSibling)?t.nextSibling:t;n.setStartAfter(i),n.setEndAfter(e),Fp(e,n,!1)}function Fp(e,t,o){var n=t.extractContents();n.textContent&&dn(n.textContent).length||!n.firstChild||ii.unwrap(n.firstChild),e.parentNode&&ir(o?ii.before:ii.after,e,n)}var qp=function(){function e(t,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.transitions=o,this.silent=!0,this.__previewsStates=new Set,this.setState(t)}var t;return(t=[{key:"setState",value:function(e){Kn(!this.__previewsStates.has(e),"Circled states"),this.__previewsStates.add(e),this.__state=e}},{key:"getState",value:function(){return this.__state}},{key:"disableSilent",value:function(){this.silent=!1}},{key:"dispatch",value:function(e,t){var o=this.transitions[this.getState()][e];if(o){var n=o.call(this,t);return Kn(n&&n!==t,"Action should return new value"),Kn(Io(n.next),"Value should contain the next state"),Kn(n.next!==this.getState(),"The new state should not be equal to the old one."),this.setState(n.next),ft||this.silent||console.log("State: ".concat(this.getState())),n}throw new Error("invalid action: ".concat(this.getState(),".").concat(e.toString()))}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}();function Vp(e){return Boolean(e&&!ii.isEmptyTextNode(e)&&!ii.isTemporary(e)&&!tn(e))}function Wp(e,t){return Boolean(!ii.isTag(e,"font")&&ii.isHTMLElement(e)&&Object.keys(t).every(function(o){var n=En(e,o,!0);return""===n&&(""===t[o]||null==t[o])||!Ro(n)&&""!==n&&!Ro(t[o])&&Cn(o,t[o]).toString().toLowerCase()===n.toString().toLowerCase()}))}if(Ct){var Up=Ct.createElement("div");Up.style.color="red",Kn(Wp(Up,{color:"red"}),"Style test"),Kn(Wp(Up,{fontSize:null}),"Style test"),Kn(Wp(Up,{fontSize:""}),"Style test")}function Yp(e,t){return Boolean(!ii.isTag(e,"font")&&ii.isHTMLElement(e)&&Object.keys(t).every(function(t){return""!==En(e,t,!0)}))}if(Ct){var Kp=Ct.createElement("div");Kp.style.color="red",Kn(Yp(Kp,{color:"red"}),"Style test"),Kn(!Yp(Kp,{font:"Arial",color:"red"}),"Style test"),Kn(!Yp(Kp,{border:"1px solid #ccc"}
1),"Style test")}function Gp(e,t,o){var n,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!t||!Vp(t))return!1;var i=e.element,a=e.elementIsDefault,l=e.options;if(ii.isList(t)&&e.elementIsList)return!0;var s=ii.isTag(t,i);return!(!s||a&&o)||!(!Boolean((null===(n=l.attributes)||void 0===n?void 0:n.style)&&(r?Wp(t,l.attributes.style):Yp(t,l.attributes.style)))||e.elementIsList)||!s&&!o&&a&&ii.isInlineBlock(t)}function Jp(e,t,o){return ii.closest(t,function(t){return Gp(e,t,!0,!1)},o)}function Xp(e,t,o){var n=t.parentNode;return n===o||!ii.isHTMLElement(n)||ii.next(t,Vp,n)||ii.prev(t,Vp,n)?null:e.isElementCommit&&e.elementIsBlock&&!ii.isBlock(n)?Xp(e,n,o):!Gp(e,n,!1)||ii.isBlock(n)&&!e.elementIsBlock?e.isElementCommit&&!ii.isBlock(n)?Xp(e,n,o):null:n}var Zp="toggleAttributes";function Qp(e,t,o,n){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(!r&&e.isApplied(t,Zp))return n;!r&&e.setApplied(t,Zp);var i=e.options.attributes;return i&&Ui(i)>0&&Object.keys(i).forEach(function(a){var l=i[a];switch(a){case"style":n=function(e,t,o,n,r,i){return Kn(rn(o)&&Ui(o),"Style must be an object"),Object.keys(o).forEach(function(a){var l=n.style.getPropertyValue(kn(a)),s=o[a];if(""!==l||null!=s){if(function(e,t,o){var n=e.create.element(t.tagName.toLowerCase());n.style.cssText=t.style.cssText;var r=function(e){var t;if(void 0!==nr(e,"shadowRoot"))return nr(e,"shadowRoot");var o=za(e),n=Ct.createElement("iframe");En(n,{width:0,height:0,position:"absolute",border:0}),n.src="about:blank",o.appendChild(n);var r=null===(t=n.contentWindow)||void 0===t?void 0:t.document,i=r?r.body:e.od.body;return nr(e,"shadowRoot",i),i}(e);r.appendChild(n);var i=En(n,o);return ii.safeRemove(n),i}(t,n,a)===Cn(a,s)){if(!l)return;return!r&&En(n,a,null),void(i=$p(e,n,i=Mp))}i=Lp,r||(En(n,a,s),i=$p(e,n,i))}}),i}(e,o,l,t,r,n);break;case"className":case"class":n=function(e,t,o,n,r){Kn(Io(t),"Class name must be a string");var i=e.e.fire.bind(e.e,"".concat(Np,"AfterToggleAttribute"));return o.classList.contains(t.toString())?(n=Mp,r||(o.classList.remove(t),0===o.classList.length&&(Gn(o,"class",null),i(n,o,"class",null)))):(n=Lp,r||(o.classList.add(t),i(n,o,"class",t))),n}(o,l,t,n,r);break;default:n=function(e,t,o,n,r,i){Kn(Io(t)||on(t)||Ho(t)||null==t,"Attribute value must be a string or number or boolean or null");var a=e.e.fire.bind(e.e,"".concat(Np,"AfterToggleAttribute"));return Gn(o,n)===t?(!r&&Gn(o,n,null),i=Mp,!r&&a(i,o,n,t),i):(i=Lp,r||(Gn(o,n,t),a(i,o,n,t)),i)}(o,l,t,a,r,n)}}),n}function $p(e,t,o){return Gn(t,"style")||(Gn(t,"style",null),t.tagName.toLowerCase()===e.defaultTag&&(ii.unwrap(t),o=Ap)),o}function eh(e,t,o){var n=o.e.fire("".concat(Np,"BeforeWrapList"),Dp,t,e),r=null!=n?n:ii.replace(t,"li",o.createInside),i=r.previousElementSibling,a=r.nextElementSibling,l=ii.isTag(i,e.element)?i:null;return null!=l||(l=ii.isTag(a,e.element)?a:null),ii.isList(l)&&function(e,t){return!e.attributes.length&&!Ui(t)||!Ui(t)||(Kn(t,"Attrs must be a non-empty object"),Object.keys(t).every(function(o){return"class"===o||"className"===o?e.classList.contains(t[o]):"style"===o?Wp(e,t[o]):Gn(e,o)===t[o]}))}(l,e.options.attributes)||(Qp(e,l=o.createInside.element(e.element),o,Bp),ii.before(r,l)),i===l?ii.append(l,r):ii.prepend(l,r),ii.isTag(l.nextElementSibling,e.element)&&function(e,t){return e.attributes.length===t.attributes.length&&Array.from(e.attributes).every(function(e){return t.hasAttribute(e.name)&&t.getAttribute(e.name)===e.value})}(l,l.nextElementSibling)&&(ii.append(l,Array.from(l.nextElementSibling.childNodes)),ii.safeRemove(l.nextElementSibling)),o.e.fire("".concat(Np,"AfterWrapList"),Rp,l,e),l}function th(e,t,o,n){if(!t)return n;var r=t.parentElement;if(!r)return n;var i=o.e.fire("".concat(Np,"BeforeToggleList"),n,e,r);if(void 0!==i)return i;var a=o.e.fire.bind(o.e,"".concat(Np,"AfterToggleList"));if(n!==Ap){var l=Qp(e,t.parentElement,o,Bp,!0)===Lp;if(n===Dp||l||r.tagName.toLowerCase()!==e.element){var s=eh(e,oh(Dp,r,t,o,e),o);return a(Dp,s,e),Dp}}var c=oh(Ap,r,t,o,e);return a(Ap,c,e),Ap}function oh(e,t,o,n,r){var i=n.e.fire("".concat(Np,"BeforeUnwrapList"),e,t,r);return i?(Kn(ii.isHTMLElement(i),"".concat(Np,"BeforeUnwrapList hook must return HTMLElement")),i):(Hp(t,o,n),Kn(ii.isHTMLElement(o.parentElement),"Element should be inside the list"),ii.unwrap(o.parentElement),ii.replace(o,"br"!==n.o.enter.toLowerCase()?n.o.enter:n.createInside.fragment(),n.createInside))}var nh=new Set(["td","th","tr","tbody","table","li","ul","ol"]);function rh(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function ih(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},n=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(o).filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable}
1))),n.forEach(function(t){rh(e,t,o[t])})}return e}function ah(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t.push.apply(t,o)}return t}(Object(t)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}),e}var lh,sh="START",ch="ELEMENT",uh="UNWRAP",dh="UNWRAP_CHILDREN",fh="CHANGE",ph="REPLACE_DEFAULT",hh="LIST",vh="TOGGLE_LIST",gh="WRAP",mh="EXTRACT",bh="END",yh=(rh(lh={},sh,{exec:function(e){var t,o,n=e.element,r=e.jodit,i=e.style,a=e.mode,l=e.collapsed;if(t=n,o=r.editor,Boolean(ii.closest(t,["style","script"],o))||!l&&ii.isEmptyContent(n))return ah(ih({},e),{next:bh});var s=Xp(i,n,r.editor)||function(e,t){for(var o=t.firstChild;o&&!Vp(o);)if(!(o=o.nextSibling))return null;return o&&!ii.next(o,Vp,t)&&Gp(e,o,!1)?o:null}(i,n);if(s)return ah(ih({},e),{next:ch,element:s});var c=Jp(i,n,r.editor);return i.elementIsList&&ii.isList(c)?ah(ih({},e),{next:hh}):ah(ih({},e),c?{next:mh}:{next:a!==Ap?dh:bh})}}),rh(lh,hh,{exec:function(e){var t=e.element,o=e.jodit,n=e.mode;if(n!==Bp&&n!==Ap&&n!==Dp)return ah(ih({},e),{next:bh});var r=ii.closest(t,"li",o.editor);if(!r)return ah(ih({},e),{next:bh});var i=ii.closest(t,Tt,o.editor);return ah(ih({},e),i?{element:r,next:vh}:{next:bh})}}),rh(lh,vh,{exec:function(e){return ah(ih({},e),{mode:th(e.style,e.element,e.jodit,e.mode),next:bh})}}),rh(lh,mh,{exec:function(e){var t,o=e.element,n=e.jodit,r=e.style,i=Jp(r,o,n.editor);return Kn(i,"This place should have an element"),!r.elementIsBlock&&(null===(t=r.options.attributes)||void 0===t?void 0:t.style)&&ii.isBlock(i)?ah(ih({},e),{next:gh}):(r.elementIsBlock||Hp(i,o,n),ah(ih({},e),{element:i,next:ch}))}}),rh(lh,dh,{exec:function(e){var t=e.element;return function(e,t){var o,n,r=[],i=[],a=null===(o=e.options.attributes)||void 0===o?void 0:o.style;if(t.firstChild)for(var l=function(){var t=c.value;!Gp(e,t,!0)||a&&!Yp(t,a)?a&&function(e,t){var o,n,r=e.element,i=e.options;if(!t||!Vp(t))return!1;var a=t.nodeName.toLowerCase()===r,l=Boolean((null===(o=i.attributes)||void 0===o?void 0:o.style)&&Yp(t,null===(n=i.attributes)||void 0===n?void 0:n.style));return a&&l}(e,t)?(void 0===n&&(n=!1),i.push(function(){En(t,Object.keys(a).reduce(function(e,t){return e[t]=null,e},{})),Gn(t,"style")||Gn(t,"style",null),Gn(t,"style")||t.nodeName.toLowerCase()!==e.element||r.push(t)})):ii.isEmptyTextNode(t)||void 0===n&&(n=!1):(void 0===n&&(n=!0),r.push(t)),c=s.next()},s=ii.eachGen(t),c=s.next();!c.done;)l();return i.forEach(function(e){return e()}),r.forEach(ii.unwrap),Boolean(n)}(e.style,t)?ah(ih({},e),{mode:Ap,next:bh}):ah(ih({},e),{next:gh})}}),rh(lh,gh,{exec:function(e){var t=e.element,o=e.jodit,n=e.style,r=function(e,t,o){var n=function(e,t,o){return e.elementIsBlock?ii.up(t,function(e){return ii.isBlock(e)&&!ii.isTag(e,nh)},o.editor)||function(e,t,o){var n=o.editor,r=o.createInside,i=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"previousSibling",r=e,i=e;
1i&&!tn(i)&&!ii.isTag(i,o.o.enter)&&(r=i,i=i[t]?i[t]:i.parentNode&&!ii.isBlock(i.parentNode)&&i.parentNode!==n?i.parentNode:null,!ii.isBlock(i)););return r},a=i(t),l=i(t,"nextSibling"),s=o.s.createRange();s.setStartBefore(a),s.setEndAfter(l);var c=s.extractContents(),u=r.element(e.element);return u.appendChild(c),ii.safeInsertNode(s,u),e.elementIsBlock&&ii.isEmpty(u)&&!ii.isTag(u.firstElementChild,"br")&&u.appendChild(r.element("br")),u}(e,t,o):(Gn(t,"size",null),t)}(e,t,o);return e.elementIsList?eh(e,n,o):ii.replace(n,e.element,o.createInside,!0)}(n,t,o);return ah(ih({},e),{next:n.elementIsList?bh:fh,mode:Rp,element:r})}}),rh(lh,ch,{exec:function(e){var t=e.style,o=e.element;return Qp(t,o,e.jodit,Bp,!0)!==Bp?ah(ih({},e),{next:fh}):ii.isTag(o,t.element)?ah(ih({},e),{next:uh}):ah(ih({},e),{next:bh})}}),rh(lh,fh,{exec:function(e){var t=e.style,o=e.element,n=e.jodit,r=e.mode,i=Qp(t,o,n,e.mode);return r!==Rp&&i===Mp&&!o.attributes.length&&ii.isTag(o,t.element)?ah(ih({},e),{next:uh}):ah(ih({},e),{mode:i,next:bh})}}),rh(lh,uh,{exec:function(e){return e.element.attributes.length&&ii.isTag(e.element,e.style.element)?ah(ih({},e),{next:ph}):(ii.unwrap(e.element),ah(ih({},e),{mode:Ap,next:bh}))}}),rh(lh,ph,{exec:function(e){return ii.replace(e.element,e.style.defaultTag,e.jodit.createInside,!0),ah(ih({},e),{mode:Dp,next:bh})}}),rh(lh,bh,{exec:function(e){return e}}),lh),_h=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=t,this.__applyMap=new WeakMap}var t;return t=[{key:"isApplied",value:function(e,t){var o=this.__applyMap.get(e);return!!o&&o[t]}},{key:"setApplied",value:function(e,t){var o,n=null!==(o=this.__applyMap.get(e))&&void 0!==o?o:{};n[t]=!0,this.__applyMap.set(e,n)}},{key:"elementIsList",get:function(){return Boolean(this.options.element&&Tt.has(this.options.element))}},{key:"element",get:function(){return this.options.element||this.defaultTag}},{key:"elementIsBlock",get:function(){return Boolean(this.options.element&&zt.test(this.options.element))}},{key:"isElementCommit",get:function(){return Boolean(this.options.element&&this.options.element!==this.options.defaultTag)}},{key:"defaultTag",get:function(){return this.options.defaultTag?this.options.defaultTag:this.elementIsBlock?"p":"span"}},{key:"elementIsDefault",get:function(){return this.element===this.defaultTag}},{key:"apply",value:function(e){var t=this.options.hooks,o=t?Object.keys(t):[];try{o.forEach(function(o){e.e.on(zn(Np+"_"+o),t[o])}),function(e,t){var o,n=e.s;null===(o=e.editor.firstChild)||void 0===o||o.normalize();var r=n.fakes(),i=e.s.wrapInTagGen(r),a=i.next();if(!a.done){for(var l={collapsed:n.isCollapsed(),mode:Bp,element:a.value,next:sh,jodit:e,style:t};a&&!a.done;){var s=new qp(sh,yh);for(l.element=a.value;s.getState()!==bh;)l=s.dispatch("exec",l);a=i.next()}n.restoreFakes(r)}}(e,this)}finally{o.forEach(function(o){e.e.off(zn(Np+"_"+o),t[o])}),this.__applyMap=new WeakMap}e.synchronizeValues(),e.e.fire("afterCommitStyle",this)}}],t&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}();function jh(e,t,o){for(var n=ii.findSibling(t,o),r=ii.findSibling(t,!o);ii.isElement(n)&&!ii.isTag(n,Pt)&&ii.isContentEditable(n,e.editor)&&(!r||!ii.closest(t,ii.isElement,e.editor));)o||!n.firstChild?n.appendChild(t):ii.before(n.firstChild,t),n=ii.sibling(t,o),r=ii.sibling(t,!o)}function wh(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function kh(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}var Sh=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":kh(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},xh=function(){function e(t){var o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.jodit=t,t.e.on("removeMarkers",function(){o.removeMarkers()})}var t;return t=[{key:"j",get:function(){return this.jodit}},{key:"errorNode",value:function(e){if(!ii.isNode(e))throw Lr("Parameter node must be instance of Node")}},{key:"area",get:function(){return this.j.editor}},{key:"win",get:function(){return this.j.ew}},{key:"doc",get:function(){return this.j.ed}},{key:"sel",get:function(){return this.j.o.shadowRoot&&Oo(this.j.o.shadowRoot.getSelection)?this.j.o.shadowRoot.getSelection():this.win.getSelection()}},{key:"range",get:function(){var e=this.sel;return e&&e.rangeCount?e.getRangeAt(0):this.createRange()}},{key:"isInsideArea",get:function(){var e=this.sel,t=(null==e?void 0:e.rangeCount)?e.getRangeAt(0):null;return!(!t||!ii.isOrContains(this.area,t.startContainer))}},{key:"createRange",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.doc.createRange();return e&&this.selectRange(t),t}},{key:"remove",value:function(){var e=this.sel,t=this.current();if(e&&t)for(var o=0;o<e.rangeCount;o+=1)e.getRangeAt(o).deleteContents(),e.getRangeAt(o).collapse(!0)}},{key:"clear",value:function(){var e,t;(null===(e=this.sel)||void 0===e?void 0:e.rangeCount)&&(null===(t=this.sel)||void 0===t||t.removeAllRanges())}},{key:"removeNode",value:function(e){if(!ii.isOrContains(this.j.editor,e,!0))throw Lr("Selection.removeNode can remove only editor's children");ii.safeRemove(e),this.j.e.fire("afterRemoveNode",e)}},{key:"insertCursorAtPoint",value:function(e,t){var o=this;this.removeMarkers();try{var n=this.createRange();return function(){if(o.doc.caretPositionFromPoint){var r=o.doc.caretPositionFromPoint(e,t);if(r)return void n.setStart(r.offsetNode,r.offset)}if(o.doc.caretRangeFromPoint){var i=o.doc.caretRangeFromPoint(e,t);Kn(i,"Incorrect caretRangeFromPoint behaviour"),n.setStart(i.startContainer,i.startOffset)}}(),n.collapse(!0),this.selectRange(n),!0}catch(e){}return!1}},{key:"hasMarkers",get:function(){return Boolean(this.markers.length)}},{key:"markers",get:function(){return Yr("span[data-"+io+"]",this.area)}},{key:"removeMarkers",value:function(){ii.safeRemove.apply(null,this.markers)}},{key:"marker",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0,o=null;t&&(o=t.cloneRange()).collapse(e);var n=this.j.createInside.span();return n.id=io+"_"+Number(new Date)+"_"+String(Math.random()).slice(2),n.style.lineHeight="0",n.style.display="none",ii.markTemporary(n),Gn(n,"data-"+io,e?"start":"end"),n.appendChild(this.j.createInside.text(bt)),o&&ii.isOrContains(this.area,e?o.startContainer:o.endContainer)&&o.insertNode(n),n}},{key:"restore",value:function(){var e=!1,t=function(e){return"span[data-".concat(io,"=").concat(e?"start":"end","]")},o=this.area.querySelector(t(!0)),n=this.area.querySelector(t(!1));if(o){if(e=this.createRange(),n)e.setStartAfter(o),ii.safeRemove(o),e.setEndBefore(n),ii.safeRemove(n);else{var r=o.previousSibling;ii.isText(r)?e.setStart(r,r.nodeValue?r.nodeValue.length:0):e.setStartBefore(o),ii.safeRemove(o),e.collapse(!0)}e&&this.selectRange(e)}}},{key:"fakes",value:function(){var e=this.sel;if(!e||!e.rangeCount)return[];var t=e.getRangeAt(0);Kn(t,"Range is null");var o=t.cloneRange();o.collapse(!0);var n=this.j.createInside.fake();ii.safeInsertNode(o,n),t.setStartBefore(n);var r=[n];if(!t.collapsed){var i=t.cloneRange();i.collapse(!1);var a=this.j.createInside.fake();ii.safeInsertNode(i,a),t.setEndAfter(a),r.push(a)}return this.selectRange(t),r}},{key:"restoreFakes",value:function(e){var t,o,n,r,i=e.filter(function(e){return e.isConnected});if(i.length){var a=function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,r=[],i=!0,a=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(r.push(o.value),2!==r.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==t.return||t.return()}finally{if(a)throw n}}return r}}(e)||function(e){if(e){if("string"==typeof e)return wh(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?wh(e,2):void 0}}
1(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(i),l=a[0],s=a[1],c=this.createRange();c.setStartAfter(l),s&&c.setEndBefore(s),this.selectRange(c),(null===(t=l.parentNode)||void 0===t?void 0:t.firstChild)!==(null===(o=l.parentNode)||void 0===o?void 0:o.lastChild)&&ii.safeRemove(l),(null===(n=null==s?void 0:s.parentNode)||void 0===n?void 0:n.firstChild)!==(null===(r=null==s?void 0:s.parentNode)||void 0===r?void 0:r.lastChild)&&ii.safeRemove(s)}}},{key:"save",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.hasMarkers)return[];var t=this.sel;if(!t||!t.rangeCount)return[];for(var o=[],n=t.rangeCount,r=[],i=0;i<n;i+=1)if(r[i]=t.getRangeAt(i),r[i].collapsed){var a=this.marker(!0,r[i]);o[i]={startId:a.id,collapsed:!0,startMarker:a.outerHTML}}else{var l=this.marker(!0,r[i]),s=this.marker(!1,r[i]);o[i]={startId:l.id,endId:s.id,collapsed:!1,startMarker:l.outerHTML,endMarker:s.outerHTML}}if(!e){t.removeAllRanges();for(var c=n-1;c>=0;--c){var u=this.doc.getElementById(o[c].startId);
1if(u){if(o[c].collapsed)r[c].setStartAfter(u),r[c].collapse(!0);else if(r[c].setStartBefore(u),o[c].endId){var d=this.doc.getElementById(o[c].endId);d&&r[c].setEndAfter(d)}try{t.addRange(r[c].cloneRange())}catch(e){}}}}return o}},{key:"focus",value:function(){var e,t,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{preventScroll:!0};if(!this.isFocused()){var n=Vi(this.j.container),r=null==n?void 0:n.scrollTop;this.j.iframe&&"complete"===this.doc.readyState&&this.j.iframe.focus(o),this.win.focus(),this.area.focus(o),r&&(null==n?void 0:n.scrollTo)&&n.scrollTo(0,r);var i=this.sel,a=(null==i?void 0:i.rangeCount)?null==i?void 0:i.getRangeAt(0):null;if(!a||!ii.isOrContains(this.area,a.startContainer)){var l=this.createRange();l.setStart(this.area,0),l.collapse(!0),this.selectRange(l,!1)}return this.j.editorIsActive||null===(t=null===(e=this.j)||void 0===e?void 0:e.events)||void 0===t||t.fire("focus"),!0}return!1}},{key:"isCollapsed",value:function(){for(var e=this.sel,t=0;e&&t<e.rangeCount;t+=1)if(!e.getRangeAt(t).collapsed)return!1;return!0}},{key:"isFocused",value:function(){return this.doc.hasFocus&&this.doc.hasFocus()&&this.area===this.doc.activeElement}},{key:"current",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.j.getRealMode()!==Qt)return null;var t=this.sel;if(!t||0===t.rangeCount)return null;var o=t.getRangeAt(0),n=o.startContainer,r=!1;if(ii.isTag(n,"br")&&t.isCollapsed)return n;if(!ii.isText(n)){var i=function(e,t,o,n,r,i){if((e=t.startContainer.childNodes[t.startOffset])||(e=t.startContainer.childNodes[t.startOffset-1],o=!0),e&&n&&!ii.isText(e))if(!o&&ii.isText(e.previousSibling))e=e.previousSibling;else if(r)for(var a=i(e);a;){if(a&&ii.isText(a)){e=a;break}a=i(a)}if(e&&!n&&!ii.isText(e)){var l=e,s=e;do{l=l.firstChild,s=s.lastChild}while(l&&s&&!ii.isText(l));l===s&&l&&ii.isText(l)&&(e=l)}return{node:e,rightMode:o}}(n,o,r,t.isCollapsed,e,function(e){return r?e.lastChild:e.firstChild});n=i.node,r=i.rightMode}return n&&ii.isOrContains(this.area,n)?n:null}},{key:"insertNode",value:function(e){var t=this,o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];this.errorNode(e);var r=ii.isFragment(e)?e.lastChild:e;this.j.e.fire("safeHTML",e),!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore());var i=this.sel;this.j.history.snapshot.transaction(function(){if(t.isCollapsed()||t.j.execCommand("Delete"),t.j.e.fire("beforeInsertNode",e),i&&i.rangeCount){var n=i.getRangeAt(0),a=e.firstChild;ii.isOrContains(t.area,n.commonAncestorContainer)?ii.safeInsertNode(n,e):t.area.appendChild(e),[function(){return null==a?void 0:a.previousSibling},function(){return null==a?void 0:a.previousSibling},function(){var e;return null===(e=null==a?void 0:a.previousSibling)||void 0===e?void 0:e.lastChild}].forEach(function(e){var t=e();t&&ii.isEmptyTextNode(t)&&ii.safeRemove(t)})}else t.area.appendChild(e);var l=function(e){if(ii.isBlock(e)){var o=e.lastChild;if(o)return l(o)}t.setCursorAfter(e)};o&&(ii.isFragment(e)?r&&l(r):l(e)),t.j.o.scrollToPastedContent&&$r(null!=r?r:e,t.j.editor,t.doc)}),n&&this.j.events&&this.j.__imdSynchronizeValues(),this.j.events&&this.j.e.fire("afterInsertNode",ii.isFragment(e)?r:e)}},{key:"insertHTML",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(""!==e){var o=this.j.createInside.div(),n=this.j.createInside.fragment();if(!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore()),ii.isNode(e)?o.appendChild(e):o.innerHTML=e.toString(),(this.j.isEditorMode()||!1!==this.j.e.fire("insertHTML",o.innerHTML))&&o.lastChild){for(;o.firstChild;)o.firstChild,n.appendChild(o.firstChild);this.insertNode(n,t,!1),this.j.__imdSynchronizeValues()}}}},{key:"insertImage",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=Io(e)?this.j.createInside.element("img"):e;if(Io(e)&&n.setAttribute("src",e),null!=o){var r=o.toString();r&&"auto"!==r&&String(r).indexOf("px")<0&&String(r).indexOf("%")<0&&(r+="px"),Gn(n,"width",r)}t&&"object"===(void 0===t?"undefined":kh(t))&&En(n,t);
1var i=function(){(n.naturalHeight<n.offsetHeight||n.naturalWidth<n.offsetWidth)&&(n.style.width="",n.style.height=""),n.removeEventListener("load",i)};this.j.e.on(n,"load",i),n.complete&&i(),this.insertNode(n),this.j.e.fire("afterInsertImage",n)}},{key:"eachSelection",value:function(e){var t,o=this,n=this.sel;if(n&&n.rangeCount){var r=n.getRangeAt(0),i=r.commonAncestorContainer;ii.isHTMLElement(i)||(i=i.parentElement);var a=[],l=r.startOffset,s=i.childNodes.length,c=l<s?l:s-1,u=r.startContainer===this.area?i.childNodes[c]:r.startContainer,d=r.endContainer===this.area?i.childNodes[r.endOffset-1]:r.endContainer;ii.isText(u)&&u===r.startContainer&&r.startOffset===(null===(t=u.nodeValue)||void 0===t?void 0:t.length)&&u.nextSibling&&(u=u.nextSibling),ii.isText(d)&&d===r.endContainer&&0===r.endOffset&&d.previousSibling&&(d=d.previousSibling);var f=function(e){!e||e===i||ii.isEmptyTextNode(e)||tn(e)||a.push(e)};f(u),u!==d&&ii.isOrContains(i,u,!0)&&ii.find(u,function(e){return f(e),e===d||e&&e.contains&&e.contains(d)},i,!0,!1);var p=function(t){if(ii.isOrContains(o.j.editor,t,!0)){if(t.nodeName.match(/^(UL|OL)$/))return Bo(t.childNodes).forEach(p);if(ii.isTag(t,"li"))if(t.firstChild)t=t.firstChild;else{var n=o.j.createInside.text(bt);t.appendChild(n),t=n}e(t)}};0===a.length&&(ii.isEmptyTextNode(u)&&a.push(u),u.firstChild&&a.push(u.firstChild)),a.forEach(p)}}},{key:"cursorInTheEdge",value:function(e,t){var o,n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=!e,a=null===(o=this.sel)||void 0===o?void 0:o.getRangeAt(0);if(null!=r||(r=this.current(!1)),!a||!r||!ii.isOrContains(t,r,!0))return null;var l=e?a.startContainer:a.endContainer,s=e?a.startOffset:a.endOffset,c=function(e){return Boolean(e&&!ii.isTag(e,"br")&&!ii.isEmptyTextNode(e)&&!ii.isTemporary(e)&&!(ii.isElement(e)&&!0===n.j.e.fire("isInvisibleForCursor",e)))};if(ii.isText(l)){if(function(e,t,o,n){var r,i=(null===(r=e.nodeValue)||void 0===r?void 0:r.length)?e.nodeValue:"";if(n&&i.replace(jt(),"").length>t)return!0;var a=wt().exec(i);return o&&(a&&a[0].length<t||!a&&t>0)}(l,s,e,i))return!1}else{var u=Bo(l.childNodes);if(i){if(u.slice(s).some(c))return!1}else if(u.slice(0,s).some(c))return!1}for(var d=r;d&&d!==t;){var f=ii.sibling(d,e);if(f){if((d=f)&&c(d))return!1}else d=d.parentNode}return!0}},{key:"cursorOnTheLeft",value:function(e,t){return this.cursorInTheEdge(!0,e,t)}},{key:"cursorOnTheRight",value:function(e,t){return this.cursorInTheEdge(!1,e,t)}},{key:"setCursorAfter",value:function(e){return this.setCursorNearWith(e,!1)}},{key:"setCursorBefore",value:function(e){return this.setCursorNearWith(e,!0)}},{key:"setCursorNearWith",value:function(e,t){var o,n,r=this;if(this.errorNode(e),!ii.up(e,function(e){return e===r.area||e&&e.parentNode===r.area},this.area))throw Lr("Node element must be in editor");var i=this.createRange(),a=null;return ii.isText(e)?t?i.setStart(e,0):i.setEnd(e,null!==(n=null===(o=e.nodeValue)||void 0===o?void 0:o.length)&&void 0!==n?n:0):(a=this.j.createInside.fake(),t?i.setStartBefore(e):i.setEndAfter(e),i.collapse(t),ii.safeInsertNode(i,a),i.selectNode(a)),i.collapse(t),this.selectRange(i),a}},{key:"setCursorIn",value:function(e){var t=this,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.errorNode(e),!ii.up(e,function(e){return e===t.area||e&&e.parentNode===t.area},this.area))throw Lr("Node element must be in editor");var n=this.createRange(),r=e,i=e;do{if(ii.isText(r)||ii.isTag(r,Pt))break;i=r,r=o?r.firstChild:r.lastChild}while(r);if(!r){var a=this.j.createInside.text(bt);ii.isTag(i,Pt)?r=i:(i.appendChild(a),i=a)}var l=r||i;return ii.isTag(l,Pt)?(o||ii.isTag(l,"br")?n.setStartBefore(l):n.setEndAfter(l),n.collapse(o)):(n.selectNodeContents(l),n.collapse(o)),this.selectRange(n),i}},{key:"selectRange",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=this.sel;return t&&!this.isFocused()&&this.focus(),o&&(o.removeAllRanges(),o.addRange(e)),this.j.e.fire("changeSelection"),this}},{key:"select",value:function(e){var t=this,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.errorNode(e),!ii.up(e,function(e){return e===t.area||e&&e.parentNode===t.area},this.area))throw Lr("Node element must be in editor");var n=this.createRange();return n[o?"selectNodeContents":"selectNode"](e),this.selectRange(n)}},{key:"html",get:function(){var e=this.sel;if(e&&e.rangeCount>0){var t=e.getRangeAt(0).cloneContents(),o=this.j.createInside.div();return o.appendChild(t),o.innerHTML}return""}},{key:"wrapInTagGen",value:function(e){var t,o,n,r,i,a,l,s,c,u,d;return function(e,t){var o,n,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]}
1,trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,n&&(r=2&i[0]?n.return:i[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,i[1])).done)return r;switch(n=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{o=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}(this,function(f){switch(f.label){case 0:return this.isCollapsed()?(t=this.jodit.createInside.element("font",bt),this.insertNode(t,!1,!1),e&&e[0]&&t.appendChild(e[0]),[4,t]):[3,2];case 1:return f.sent(),ii.unwrap(t),[2];case 2:Yr("*[style*=font-size]",this.area).forEach(function(e){Gn(e,"data-font-size",e.style.fontSize.toString()),e.style.removeProperty("font-size")}),this.j.nativeExecCommand("fontsize",!1,"7"),Yr("*[data-font-size]",this.area).forEach(function(e){var t=Gn(e,"data-font-size");t&&(e.style.fontSize=t,Gn(e,"data-font-size",null))}),o=Yr('font[size="7"]',this.area),n=!0,r=!1,i=void 0,f.label=3;case 3:f.trys.push([3,8,9,10]),a=o[Symbol.iterator](),f.label=4;case 4:return(n=(l=a.next()).done)?[3,7]:(s=l.value,c=s.firstChild,u=s.lastChild,c&&c===u&&tn(c)?(ii.unwrap(s),[3,6]):(c&&tn(c)&&ii.before(s,c),u&&tn(u)&&ii.after(s,u),[4,s]));case 5:f.sent(),ii.unwrap(s),f.label=6;case 6:return n=!0,[3,4];case 7:return[3,10];case 8:return d=f.sent(),r=!0,i=d,[3,10];case 9:try{n||null==a.return||a.return()}finally{if(r)throw i}return[7];case 10:return[2]}})}},{key:"wrapInTag",value:function(e){var t=[],o=!0,n=!1,r=void 0;try{for(var i,a=this.wrapInTagGen()[Symbol.iterator]();!(o=(i=a.next()).done);o=!0){var l=i.value;try{if(l.firstChild&&l.firstChild===l.lastChild&&tn(l.firstChild))continue;Oo(e)?e(l):t.push(ii.replace(l,e,this.j.createInside))}finally{var s=l.parentNode;s&&(ii.unwrap(l),ii.isEmpty(s)&&ii.unwrap(s))}}}catch(e){n=!0,r=e}finally{try{o||null==a.return||a.return()}finally{if(n)throw r}}return t}},{key:"commitStyle",value:function(e){Kn(Ui(e)>0,"Need to pass at least one option"),new _h(e).apply(this.j)}},{key:"splitSelection",value:function(e,t){if(!this.isCollapsed())return null;var o=this.createRange(),n=this.range;o.setStartBefore(e);var r=this.cursorOnTheRight(e,t),i=this.cursorOnTheLeft(e,t),a=this.j.createInside.element("br"),l=this.j.createInside.fake(),s=l.cloneNode();try{if(r||i){t?ii.before(t,a):ii.safeInsertNode(n,a);var c=function(e,t){for(var o=t(e);o;){var n=t(o);if(!o||!ii.isTag(o,"br")&&!ii.isEmptyTextNode(o))break;ii.safeRemove(o),o=n}};c(a,function(e){return e.nextSibling}),c(a,function(e){return e.previousSibling}),ii.after(a,s),ii.before(a,l),r?(o.setEndBefore(a),n.setEndBefore(a)):(o.setEndAfter(a),n.setEndAfter(a))}else o.setEnd(n.startContainer,n.startOffset);var u=o.extractContents(),d=function(e){return ii.each(e,function(e){return ii.isEmptyTextNode(e)&&ii.safeRemove(e)})};Kn(e.parentNode,"Splitting fails");try{if(d(u),d(e),e.parentNode.insertBefore(u,e),!t&&r&&(null==a?void 0:a.parentNode)){var f=this.createRange();f.setStartBefore(a),this.selectRange(f)}}catch(e){if(!ft)throw e}var p=function(e){var t,o,n;(null===(t=null==e?void 0:e.parentNode)||void 0===t?void 0:t.firstChild)===(null===(o=null==e?void 0:e.parentNode)||void 0===o?void 0:o.lastChild)&&(null===(n=null==e?void 0:e.parentNode)||void 0===n||n.appendChild(a.cloneNode()))};p(l),p(s)}finally{ii.safeRemove(l),ii.safeRemove(s)}return e.previousElementSibling}},{key:"expandSelection",value:function(){var e=this;if(this.isCollapsed())return this;var t=this.range,o=t.cloneRange();if(!ii.isOrContains(this.j.editor,t.commonAncestorContainer,!0))return this;var n=function(o){var n=e.j.createInside.fake(),r=t.cloneRange();return r.collapse(o),ii.safeInsertNode(r,n),function(e,t,o){for(var n=e;n&&n!==o;){if(ii.findSibling(n,t))return;if(ii.isBlock(n.parentElement))break;(n=n.parentElement)&&n!==o&&(t?ii.before(n,e):ii.after(n,e))}}(n,o,e.j.editor),n},r=n(!0),i=n(!1);o.setStartAfter(r),o.setEndBefore(i);var a=ii.findSibling(r,!1),l=ii.findSibling(i,!0);if(a!==l){var s=ii.isElement(a)&&ii.isOrContains(a,i),c=!s&&ii.isElement(l)&&ii.isOrContains(l,r);if(s||c){for(var u=s?a:l,d=u;ii.isElement(u);)(u=s?u.firstElementChild:u.lastElementChild)&&(s?ii.isOrContains(u,i):ii.isOrContains(u,r))&&(d=u);s?o.setStart(d,0):o.setEnd(d,d.childNodes.length)}}if(this.selectRange(o),ii.safeRemove(r,i),this.isCollapsed())throw Lr("Selection is collapsed");return this}}],t&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}();function Oh(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function Ch(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zh(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Eh(e,t,o){return Eh="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Th(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},Eh(e,t,o||e)}
1function Th(e){return Th=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Th(e)}function Ih(e,t){return!t||"object"!==Ah(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ph(e,t){return Ph=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Ph(e,t)}function Rh(e){return function(e){if(Array.isArray(e))return Oh(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Oh(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Oh(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ah(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Lh(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Lh=function(){return!!e})()}Sh([Co],xh.prototype,"createRange",null),Sh([Co],xh.prototype,"focus",null),Sh([Co],xh.prototype,"setCursorAfter",null),Sh([Co],xh.prototype,"setCursorBefore",null),Sh([Co],xh.prototype,"setCursorIn",null);var Mh,Bh=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":Ah(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Dh="data-jodit-default-style-display",Nh="data-jodit-default-classes",Hh=Mh=function(e){function t(e,o){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t,o){return t=Th(t),Ih(e,Lh()?Reflect.construct(t,o||[],Th(e).constructor):t.apply(e,o))}(this,t,[o,!0])).isJodit=!0,n.commands=new Map,n.__selectionLocked=null,n.__wasReadOnly=!1,n.editorIsActive=!1,n.__mode=Qt,n.__callChangeCount=0,n.__isSilentChange=!1,n.currentPlace={options:n.__options,container:n.__container},n.places=[],n.__elementToPlace=new Map;try{var r=Xr(e,n.options.shadowRoot||n.od);if(Mh.isJoditAssigned(r))return Ih(n,r.component)}catch(e){if(!ft)throw e;throw n.destruct(),e}return n.setStatus(zo.beforeInit),n.id=Gn(Xr(e,n.o.shadowRoot||n.od),"id")||(new Date).getTime().toString(),ja[n.id]=n,n.attachEvents(o),n.e.on(n.ow,"resize",function(){n.e&&n.e.fire("resize")}),n.e.on("prepareWYSIWYGEditor",n.__prepareWYSIWYGEditor),n.selection=new xh(n),lr(n.beforeInitHook(),function(){if(!n.isInDestruct){n.e.fire("beforeInit",n),Sa.__init(n),n.e.fire("afterPluginSystemInit",n),n.e.on("changePlace",function(){n.setReadOnly(n.o.readonly),n.setDisabled(n.o.disabled)}),n.places.length=0;var t=n.addPlace(e,o);ja[n.id]=n,lr(t,function(){n.isInDestruct||(n.e&&n.e.fire("afterInit",n),lr(n.afterInitHook()),n.setStatus(zo.ready),n.e.fire("afterConstructor",n))})}}),n}var o,n,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ph(e,t)}(t,e),o=t,n=[{key:"className",value:function(){return"Jodit"}},{key:"waitForReady",value:function(){var e=this;return this.isReady?Promise.resolve(this):this.async.promise(function(t){e.hookStatus("ready",function(){return t(e)})})}},{key:"text",get:function(){if(this.editor)return this.editor.innerText||"";var e=this.createInside.div();return e.innerHTML=this.getElementValue(),e.innerText||""}},{key:"defaultTimeout",get:function(){return on(this.o.defaultTimeout)?this.o.defaultTimeout:Qn.defaultOptions.defaultTimeout}},{key:"createInside",get:function(){var e=this;return new Uc(function(){return e.ed},this.o.createAttributes)}},{key:"__setPlaceField",value:function(e,t){this.currentPlace||(this.currentPlace={},this.places=[this.currentPlace]),this.currentPlace[e]=t}},{key:"element",get:function(){return this.currentPlace.element}},{key:"editor",get:function(){return this.currentPlace.editor},set:function(e){this.__setPlaceField("editor",e)}
1},{key:"container",get:function(){return this.currentPlace.container},set:function(e){this.__setPlaceField("container",e)}},{key:"workplace",get:function(){return this.currentPlace.workplace}},{key:"message",get:function(){return this.getMessageModule(this.workplace)}},{key:"statusbar",get:function(){return this.currentPlace.statusbar}},{key:"iframe",get:function(){return this.currentPlace.iframe},set:function(e){this.__setPlaceField("iframe",e)}},{key:"history",get:function(){return this.currentPlace.history}},{key:"editorWindow",get:function(){return this.currentPlace.editorWindow},set:function(e){this.__setPlaceField("editorWindow",e)}},{key:"ew",get:function(){return this.editorWindow}},{key:"editorDocument",get:function(){return this.currentPlace.editorWindow.document}},{key:"ed",get:function(){return this.editorDocument}},{key:"options",get:function(){return this.currentPlace.options},set:function(e){this.__options=e,this.__setPlaceField("options",e)}},{key:"s",get:function(){return this.selection}},{key:"uploader",get:function(){return this.getInstance("Uploader",this.o.uploader)}},{key:"filebrowser",get:function(){var e=this,t=hr({defaultTimeout:e.defaultTimeout,uploader:e.o.uploader,language:e.o.language,license:e.o.license,theme:e.o.theme,shadowRoot:e.o.shadowRoot,defaultCallback:function(t){t.files&&t.files.length&&t.files.forEach(function(o,n){var r=t.baseurl+o;t.isImages&&t.isImages[n]?e.s.insertImage(r,null,e.o.imageDefaultWidth):e.s.insertNode(e.createInside.fromHTML("<a href='".concat(r,"' title='").concat(r,"'>").concat(r,"</a>")))})}},this.o.filebrowser);return e.getInstance("FileBrowser",t)}},{key:"mode",get:function(){return this.__mode},set:function(e){this.setMode(e)}},{key:"getNativeEditorValue",value:function(){var e=this.e.fire("beforeGetNativeEditorValue");return Io(e)?e:this.editor?this.editor.innerHTML:this.getElementValue()}},{key:"setNativeEditorValue",value:function(e){var t={value:e};this.e.fire("beforeSetNativeEditorValue",t)||this.editor&&(this.editor.innerHTML=t.value)}},{key:"value",get:function(){return this.getEditorValue()},set:function(e){this.setEditorValue(e),this.history.__processChanges()}},{key:"synchronizeValues",value:function(){this.__imdSynchronizeValues()}},{key:"__imdSynchronizeValues",value:function(){this.setEditorValue()}},{key:"getEditorValue",value:function(){var e,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],o=arguments.length>1?arguments[1]:void 0;if(void 0!==(e=this.e.fire("beforeGetValueFromEditor",o)))return e;e=this.getNativeEditorValue().replace(_t(),""),t&&(e=e.replace(/<span[^>]+id="jodit-selection_marker_[^>]+><\/span>/g,"")),"<br>"===e&&(e="");var n={value:e};return this.e.fire("afterGetValueFromEditor",n,o),n.value}},{key:"setEditorValue",value:function(e){var t=this.e.fire("beforeSetValueToEditor",e);if(!1!==t)if(Io(t)&&(e=t),this.editor){if(!Io(e)&&!Ro(e))throw Lr("value must be string");Ro(e)||this.getNativeEditorValue()===e||this.setNativeEditorValue(e),this.e.fire("postProcessSetEditorValue");var o=this.getElementValue(),n=this.getEditorValue();if(!this.__isSilentChange&&o!==n&&this.__callChangeCount<fo){this.__setElementValue(n),this.__callChangeCount+=1,!ft&&this.__callChangeCount>4&&console.warn("Too many recursive changes",n,o);try{this.history.__upTick(),this.e.fire("change",n,o),this.e.fire(this.history,"change",n,o)}finally{this.__callChangeCount=0}}}else void 0!==e&&this.__setElementValue(e)}},{key:"updateElementValue",value:function(){this.__setElementValue(this.getEditorValue())}},{key:"getElementValue",value:function(){return void 0!==this.element.value?this.element.value:this.element.innerHTML}},{key:"__setElementValue",value:function(e){var t=this;if(!Io(e))throw Lr("value must be string");if(this.element!==this.container&&e!==this.getElementValue()){var o={value:e};lr(this.e.fire("beforeSetElementValue",o),function(){void 0!==t.element.value?t.element.value=o.value:t.element.innerHTML=o.value,t.e.fire("afterSetElementValue",o)})}}},{key:"registerCommand",value:function(e,t,o){var n=e.toLowerCase(),r=this.commands.get(n);if(void 0===r&&(r=[],this.commands.set(n,r)),r.push(t),!Oo(t)){var i=this.o.commandToHotkeys[n]||this.o.commandToHotkeys[e]||t.hotkeys;i&&this.registerHotkeyToCommand(i,n,null==o?void 0:o.stopPropagation)}return this}},{key:"registerHotkeyToCommand",value:function(e,t){var o=this,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=wi(e).map(Mi).map(function(e){return e+".hotkey"}).join(" ");this.e.off(r).on(r,function(e,r){return r&&(r.shouldStop=null==n||n),o.execCommand(t)})}},{key:"execCommand",value:function(e,t,o){for(var n=arguments.length,r=new Array(n>3?n-3:0),i=3;i<n;i++)r[i-3]=arguments[i];var a;if(this.s.isFocused()||this.s.focus(),!this.o.readonly||this.o.allowCommandsInReadOnly.includes(e)){var l,s;if(e=e.toLowerCase(),!1!==(l=(a=this.e).fire.apply(a,["beforeCommand".concat(Ji(e)),t,o].concat(Rh(r))))&&(l=(s=this.e).fire.apply(s,["beforeCommand",e,t,o].concat(Rh(r)))),!1!==l&&(l=this.__execCustomCommands.apply(this,[e,t,o].concat(Rh(r)))),!1!==l){this.s.focus();try{l=this.nativeExecCommand(e,t,o)}catch(e){if(!ft)throw e}}return this.e.fire("afterCommand",e,t,o),this.__imdSynchronizeValues(),l}}},{key:"nativeExecCommand",value:function(e,t,o){this.__isSilentChange=!0;try{return this.ed.execCommand(e,t,o)}finally{this.__isSilentChange=!1}}},{key:"__execCustomCommands",value:function(e,t,o){for(var n=this,r=arguments.length,i=new Array(r>3?r-3:0),a=3;a<r;a++)i[a-3]=arguments[a];e=e.toLowerCase();var l,s=this.commands.get(e);
1if(void 0!==s)return s.forEach(function(r){var a,s=(a=Oo(r)?r:r.exec).call.apply(a,[n,e,t,o].concat(Rh(i)));void 0!==s&&(l=s)}),l}},{key:"lock",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"any";return!!Eh(Th(t.prototype),"lock",this).call(this,e)&&(this.__selectionLocked=this.s.save(),this.s.clear(),this.editor.classList.add("jodit_lock"),this.e.fire("lock",!0),!0)}},{key:"unlock",value:function(){return!!Eh(Th(t.prototype),"unlock",this).call(this)&&(this.editor.classList.remove("jodit_lock"),this.__selectionLocked&&this.s.restore(),this.e.fire("lock",!1),!0)}},{key:"getMode",value:function(){return this.mode}},{key:"isEditorMode",value:function(){return this.getRealMode()===Qt}},{key:"getRealMode",value:function(){if(this.getMode()!==eo)return this.getMode();var e=this.od.activeElement;return e&&(e===this.iframe||ii.isOrContains(this.editor,e)||ii.isOrContains(this.toolbar.container,e))?Qt:$t}},{key:"setMode",value:function(e){var t=this,o=this.getMode(),n={mode:parseInt(e.toString(),10)},r=["jodit-wysiwyg_mode","jodit-source__mode","jodit_split_mode"];!1!==this.e.fire("beforeSetMode",n)&&(this.__mode=[$t,Qt,eo].includes(n.mode)?n.mode:Qt,this.o.saveModeInStorage&&this.storage.set("jodit_default_mode",this.mode),r.forEach(function(e){t.container.classList.remove(e)}),this.container.classList.add(r[this.mode-1]),o!==this.getMode()&&this.e.fire("afterSetMode"))}},{key:"toggleMode",value:function(){var e=this.getMode();[$t,Qt,this.o.useSplitMode?eo:9].includes(e+1)?e+=1:e=Qt,this.setMode(e)}},{key:"setDisabled",value:function(e){this.o.disabled=e;var t=this.__wasReadOnly;this.setReadOnly(e||t),this.__wasReadOnly=t,this.editor&&(this.editor.setAttribute("aria-disabled",e.toString()),this.container.classList.toggle("jodit_disabled",e),this.e.fire("disabled",e))}},{key:"getDisabled",value:function(){return this.o.disabled}},{key:"setReadOnly",value:function(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))}},{key:"getReadOnly",value:function(){return this.o.readonly}},{key:"focus",value:function(){this.getMode()!==$t&&this.s.focus()}},{key:"isFocused",get:function(){return this.s.isFocused()}},{key:"beforeInitHook",value:function(){}},{key:"afterInitHook",value:function(){}},{key:"initOptions",value:function(e){this.options=hr(e||{},Qn.defaultOptions)}},{key:"initOwners",value:function(){this.editorWindow=this.o.ownerWindow,this.ownerWindow=this.o.ownerWindow}},{key:"addPlace",value:function(e,t){var o=this,n=Xr(e,this.o.shadowRoot||this.od);this.attachEvents(t),n.attributes&&Bo(n.attributes).forEach(function(e){var n=e.name,r=e.value;void 0===Qn.defaultOptions[n]||t&&void 0!==t[n]||(-1!==["readonly","disabled"].indexOf(n)&&(r=""===r||"true"===r),/^[0-9]+(\.)?([0-9]+)?$/.test(r.toString())&&(r=Number(r)),o.options[n]=r)});var r=this.c.div("jodit-container");r.classList.add("jodit"),r.classList.add("jodit-container"),r.classList.add("jodit_theme_".concat(this.o.theme||"default")),Fh(this.o.className,r),this.o.containerStyle&&En(r,this.o.containerStyle);var i=this.o.styleValues;
1Object.keys(i).forEach(function(e){var t=kn(e);r.style.setProperty("--jd-".concat(t),i[e])}),r.setAttribute("contenteditable","false");var a=null;this.o.inline&&(-1===["TEXTAREA","INPUT"].indexOf(n.nodeName)&&(r=n,n.setAttribute(Nh,n.className.toString()),a=r.innerHTML,r.innerHTML=""),r.classList.add("jodit_inline"),r.classList.add("jodit-container")),n!==r&&(n.style.display&&n.setAttribute(Dh,n.style.display),n.style.display="none");var l=this.c.div("jodit-workplace",{contenteditable:!1});r.appendChild(l),n.parentNode&&n!==r&&n.parentNode.insertBefore(r,n),Object.defineProperty(n,"component",{enumerable:!1,configurable:!0,value:this});var s=this.c.div("jodit-wysiwyg",{contenteditable:!0,"aria-disabled":!1,tabindex:this.o.tabIndex});l.appendChild(s);var c={editor:s,element:n,container:r,workplace:l,statusbar:new cp(this,r),options:this.isReady?hr(t||{},Qn.defaultOptions):this.options,history:new np(this),editorWindow:this.ow};this.__elementToPlace.set(s,c),this.setCurrentPlace(c),this.places.push(c),this.setNativeEditorValue(this.getElementValue());var u=this.__initEditor(a),d=this.options;return lr(u,function(){d.enableDragAndDropFileToEditor&&d.uploader&&(d.uploader.url||d.uploader.insertImageAsBase64URI)&&o.uploader.bind(o.editor),o.__elementToPlace.get(o.editor)||o.__elementToPlace.set(o.editor,c),o.e.fire("afterAddPlace",c)})}},{key:"addDisclaimer",value:function(e){this.workplace.appendChild(e)}},{key:"setCurrentPlace",value:function(e){this.currentPlace!==e&&(this.isEditorMode()||this.setMode(Qt),this.currentPlace=e,this.buildToolbar(),this.isReady&&this.e.fire("changePlace",e))}},{key:"__initEditor",value:function(e){var t=this;return lr(this.__createEditor(),function(){if(!t.isInDestruct){if(t.element!==t.container){var o=t.getElementValue();o!==t.getEditorValue()&&t.setEditorValue(o)}else null!=e&&t.setEditorValue(e);var n=t.o.defaultMode;if(t.o.saveModeInStorage){var r=t.storage.get("jodit_default_mode");"string"==typeof r&&(n=parseInt(r,10))}t.setMode(n),t.o.readonly&&(t.__wasReadOnly=!1,t.setReadOnly(!0)),t.o.disabled&&t.setDisabled(!0);try{t.ed.execCommand("defaultParagraphSeparator",!1,t.o.enter.toLowerCase())}catch(e){}}})}},{key:"__createEditor",value:function(){var e=this,t=this.editor,o=this.e.fire("createEditor",this);return lr(o,function(){e.isInDestruct||((!1===o||an(o))&&ii.safeRemove(t),Fh(e.o.editorClassName,e.editor),e.o.style&&En(e.editor,e.o.style),e.e.on("synchro",function(){e.setEditorValue()}).on("focus",function(){e.editorIsActive=!0}).on("blur",function(){return e.editorIsActive=!1}),e.__prepareWYSIWYGEditor(),e.o.triggerChangeEvent&&e.e.on("change",e.async.debounce(function(){e.e&&e.e.fire(e.element,"change")},e.defaultTimeout)))})}},{key:"__prepareWYSIWYGEditor",value:function(){var e=this,t=this.editor;if(this.o.direction){var o="rtl"===this.o.direction.toLowerCase()?"rtl":"ltr";this.editor.style.direction=o,this.editor.setAttribute("dir",o),this.container.style.direction=o,this.container.setAttribute("dir",o),this.toolbar.setDirection(o)}this.e.on(t,"mousedown touchstart focus",function(){var o=e.__elementToPlace.get(t);o&&e.setCurrentPlace(o)}).on(t,"compositionend",this.synchronizeValues).on(t,"selectionchange selectionstart keydown keyup input keypress dblclick mousedown mouseup click copy cut dragstart drop dragover paste resize touchstart touchend focus blur",function(t){var o,n;if(!e.o.readonly&&!e.__isSilentChange&&(o=t,(!(null!=(n=e.ew.KeyboardEvent)&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?n[Symbol.hasInstance](o):o instanceof n)||!t.isComposing)&&e.e&&e.e.fire)){if(!1===e.e.fire(t.type,t))return!1;e.synchronizeValues()}})}},{key:"fetch",value:function(e,t){var o=this,n=new il(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},n=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(o).filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable}))),n.forEach(function(t){zh(e,t,o[t])})}return e}({url:e},t),this.o.defaultAjaxOptions),r=function(){o.e.off("beforeDestruct",r),o.progressbar.progress(100).hide(),n.destruct()};this.e.one("beforeDestruct",r),this.progressbar.show().progress(30);var i=n.send();return i.finally(r).catch(function(){return null}),i}},{key:"destruct",value:function(){var e,o,n=this;if(!this.isInDestruct){this.setStatus(zo.beforeDestruct),this.__elementToPlace.clear(),null===(e=ai(this,"storage"))||void 0===e||e.clear(),null===(o=ai(this,"buffer"))||void 0===o||o.clear(),this.commands.clear(),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);var r=this.editor?this.getEditorValue():"";
1this.places.forEach(function(e){var t=e.container,o=e.workplace,i=e.statusbar,a=e.element,l=e.iframe,s=e.editor,c=e.history;if(a){if(a!==t)if(a.hasAttribute(Dh)){var u=Gn(a,Dh);u&&(a.style.display=u,a.removeAttribute(Dh))}else a.style.display="";else a.hasAttribute(Nh)&&(a.className=Gn(a,Nh)||"",a.removeAttribute(Nh));a.hasAttribute("style")&&!Gn(a,"style")&&a.removeAttribute("style"),i.destruct(),n.e.off(t),n.e.off(a),n.e.off(s),ii.safeRemove(o),ii.safeRemove(s),t!==a&&ii.safeRemove(t),Object.defineProperty(a,"component",{enumerable:!1,configurable:!0,value:null}),ii.safeRemove(l),t===a&&(a.innerHTML=r),c.destruct()}}),this.places.length=0,this.currentPlace={},delete ja[this.id],Eh(Th(t.prototype),"destruct",this).call(this)}}}],r=[{key:"ready",get:function(){return new Promise(function(e){Ta.on("joditready",e)})}},{key:"atom",value:function(e){return er(e)}},{key:"make",value:function(e,t){return new this(e,t)}},{key:"isJoditAssigned",value:function(e){return e&&$o(e.component)&&!e.component.isInDestruct}},{key:"defaultOptions",get:function(){return Qn.defaultOptions}}],n&&Ch(o.prototype,n),r&&Ch(o,r),t}(ud);function Fh(e,t){e&&e.split(/\s+/).forEach(function(e){return t.classList.add(e)})}Hh.fatMode=ht,Hh.plugins=Sa,Hh.modules=xa,Hh.ns=xa,Hh.decorators={},Hh.constants=i,Hh.instances=ja,Hh.lang=wo,Hh.core={Plugin:Vf},Bh([li],Hh.prototype,"createInside",null),Bh([li],Hh.prototype,"message",null),Bh([li],Hh.prototype,"s",null),Bh([li],Hh.prototype,"uploader",null),Bh([li],Hh.prototype,"filebrowser",null),Bh([Fa()],Hh.prototype,"synchronizeValues",null),Bh([va(":internalChange")],Hh.prototype,"updateElementValue",null),Bh([Co],Hh.prototype,"__prepareWYSIWYGEditor",null),Hh=Mh=Bh([Wa(Sd)],Hh);const qh='<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> ',Vh='<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> ',Wh='<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> ',Uh='<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> ',Yh='<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> ',Kh='<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> ',Gh='<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> ',Jh='<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> ',Xh='<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> ',Zh='<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> ',Qh='<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 11
17-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> ',$h='<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> ',ev='<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> ',tv='<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> ',ov='<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> ',nv='<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> ',rv='<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> ',iv='<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> ',av='<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> ',lv='<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> ',sv='<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> ',cv='<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> ',uv='<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> ',dv='<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> ',fv='<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> ',pv='<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
1-42 0-59-40-17-39 14-69l448-448q18-19 45-19t45 19l448 448q31 30 14 69z"/> </svg> ',hv='<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> ',vv={};var gv={};gv={ar:{"Type something":"\u0625\u0628\u062f\u0623 \u0641\u064a \u0627\u0644\u0643\u062a\u0627\u0628\u0629...","About Jodit":"\u062d\u0648\u0644 \u062c\u0648\u062f\u064a\u062a","Jodit Editor":"\u0645\u062d\u0631\u0631 \u062c\u0648\u062f\u064a\u062a","Jodit User's Guide":"\u062f\u0644\u064a\u0644 \u0645\u0633\u062a\u062e\u062f\u0645 \u062c\u0648\u062f\u064a\u062a","contains detailed help for using":"\u064a\u062d\u062a\u0648\u064a \u0639\u0644\u0649 \u0645\u0633\u0627\u0639\u062f\u0629 \u0645\u0641\u0635\u0644\u0629 \u0644\u0644\u0627\u0633\u062a\u062e\u062f\u0627\u0645","For information about the license, please go to our website:":"\u0644\u0644\u062d\u0635\u0648\u0644 \u0639\u0644\u0649 \u0645\u0639\u0644\u0648\u0645\u0627\u062a \u062d\u0648\u0644 \u0627\u0644\u062a\u0631\u062e\u064a\u0635\u060c \u064a\u0631\u062c\u0649 \u0627\u0644\u0630\u0647\u0627\u0628 \u0644\u0645\u0648\u0642\u0639\u0646\u0627:","Buy full version":"\u0634\u0631\u0627\u0621 \u0627\u0644\u0646\u0633\u062e\u0629 \u0627\u0644\u0643\u0627\u0645\u0644\u0629","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"\u062d\u0642\u0648\u0642 \u0627\u0644\u0637\u0628\u0639 \u0648\u0627\u0644\u0646\u0634\u0631 \xa9 XDSoft.net - Chupurnov Valeriy. \u0643\u0644 \u0627\u0644\u062d\u0642\u0648\u0642 \u0645\u062d\u0641\u0648\u0638\u0629.",Anchor:"\u0645\u0650\u0631\u0652\u0633\u0627\u0629","Open in new tab":"\u0641\u062a\u062d \u0641\u064a \u0646\u0627\u0641\u0630\u0629 \u062c\u062f\u064a\u062f\u0629","Open in fullsize":"\u0641\u062a\u062d \u0627\u0644\u0645\u062d\u0631\u0631 \u0641\u064a \u0627\u0644\u062d\u062c\u0645 \u0627\u0644\u0643\u0627\u0645\u0644","Clear Formatting":"\u0645\u0633\u062d \u0627\u0644\u062a\u0646\u0633\u064a\u0642","Fill color or set the text color":"\u0645\u0644\u0621 \u0627\u0644\u0644\u0648\u0646 \u0623\u0648 \u062a\u0639\u064a\u064a\u0646 \u0644\u0648\u0646 \u0627\u0644\u0646\u0635",Redo:"\u0625\u0639\u0627\u062f\u0629",Undo:"\u062a\u0631\u0627\u062c\u0639",Bold:"\u0639\u0631\u064a\u0636",Italic:"\u0645\u0627\u0626\u0644","Insert Unordered List":"\u0625\u062f\u0631\u0627\u062c \u0642\u0627\u0626\u0645\u0629 \u063a\u064a\u0631 \u0645\u0631\u062a\u0628\u0629","Insert Ordered List":"\u0625\u062f\u0631\u0627\u062c \u0642\u0627\u0626\u0645\u0629 \u0645\u0631\u062a\u0628\u0629","Align Center":"\u0645\u062d\u0627\u0630\u0627\u0629 \u0644\u0644\u0648\u0633\u0637","Align Justify":"\u0645\u062d\u0627\u0630\u0627\u0629 \u0645\u062b\u0628\u062a\u0629","Align Left":"\u0645\u062d\u0627\u0630\u0627\u0629 \u0644\u0644\u064a\u0633\u0627\u0631","Align Right":"\u0645\u062d\u0627\u0630\u0627\u0629 \u0644\u0644\u064a\u0645\u064a\u0646","Insert Horizontal Line":"\u0625\u062f\u0631\u0627\u062c \u062e\u0637 \u0623\u0641\u0642\u064a","Insert Image":"\u0625\u062f\u0631\u0627\u062c \u0635\u0648\u0631\u0629","Insert file":"\u0627\u062f\u062e\u0627\u0644 \u0627\u0644\u0645\u0644\u0641","Insert youtube/vimeo video":"\u0625\u062f\u0631\u0627\u062c \u0641\u064a\u062f\u064a\u0648 \u064a\u0648\u062a\u064a\u0648\u0628/\u0641\u064a\u0645\u064a\u0648 ","Insert link":"\u0625\u062f\u0631\u0627\u062c \u0631\u0627\u0628\u0637","Font size":"\u062d\u062c\u0645 \u0627\u0644\u062e\u0637","Font family":"\u0646\u0648\u0639 \u0627\u0644\u062e\u0637","Insert format block":"\u0625\u062f\u0631\u0627\u062c \u0643\u062a\u0644\u0629 \u062a\u0646\u0633\u064a\u0642",Normal:"\u0639\u0627\u062f\u064a","Heading 1":"\u0639\u0646\u0648\u0627\u0646 1","Heading 2":"\u0639\u0646\u0648\u0627\u0646 2","Heading 3":"\u0639\u0646\u0648\u0627\u0646 3","Heading 4":"\u0639\u0646\u0648\u0627\u0646 4",Quote:"\u0625\u0642\u062a\u0628\u0627\u0633",Code:"\u0643\u0648\u062f",Insert:"\u0625\u062f\u0631\u0627\u062c","Insert table":"\u0625\u062f\u0631\u0627\u062c \u062c\u062f\u0648\u0644","Decrease Indent":"\u062a\u0642\u0644\u064a\u0644 \u0627\u0644\u0645\u0633\u0627\u0641\u0629 \u0627\u0644\u0628\u0627\u062f\u0626\u0629","Increase Indent":"\u0632\u064a\u0627\u062f\u0629 \u0627\u0644\u0645\u0633\u0627\u0641\u0629 \u0627\u0644\u0628\u0627\u062f\u0626\u0629","Select Special Character":"\u062a\u062d\u062f\u064a\u062f \u0623\u062d\u0631\u0641 \u062e\u0627\u0635\u0629","Insert Special Character":"\u0625\u062f\u0631\u0627\u062c \u062d\u0631\u0641 \u062e\u0627\u0635","Paint format":"\u062a\u0646\u0633\u064a\u0642 \u0627\u0644\u0631\u0633\u0645","Change mode":"\u062a\u063a\u064a\u064a\u0631 \u0627\u0644\u0648\u0636\u0639",Margins:"\u0647\u0648\u0627\u0645\u0634",top:"\u0623\u0639\u0644\u0649",right:"\u064a\u0645\u064a\u0646",bottom:"\u0623\u0633\u0641\u0644",left:"\u064a\u0633\u0627\u0631",Styles:"\u0627\u0644\u0623\u0646\u0645\u0627\u0637",Classes:"\u0627\u0644\u0637\u0628\u0642\u0627\u062a",Align:"\u0645\u062d\u0627\u0630\u0627\u0629",Right:"\u0627\u0644\u064a\u0645\u064a\u0646",Center:"\u0627\u0644\u0648\u0633\u0637",Left:"\u0627\u0644\u064a\u0633\u0627\u0631","--Not Set--":"--\u063a\u064a\u0631 \u0645\u0636\u0628\u0648\u0637--",Src:"Src",Title:"\u0627\u0644\u0639\u0646\u0648\u0627\u0646",Alternative:"\u0627\u0644\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0628\u062f\u064a\u0644",Link:"\u0627\u0644\u0631\u0627\u0628\u0637","Open link in new tab":"\u0627\u0641\u062a\u062d \u0627\u0644\u0631\u0627\u0628\u0637 \u0641\u064a \u0646\u0627\u0641\u0630\u0629 \u062c\u062f\u064a\u062f\u0629",Image:"\u0627\u0644\u0635\u0648\u0631\u0629",file:"\u0645\u0644\u0641",Advanced:"\u0645\u062a\u0642\u062f\u0645","Image properties":"\u062e\u0635\u0627\u0626\u0635 \u0627\u0644\u0635\u0648\u0631\u0629",Cancel:"\u0625\u0644\u063a\u0627\u0621",Ok:"\u062d\u0633\u0646\u0627","File Browser":"\u0645\u062a\u0635\u0641\u062d \u0627\u0644\u0645\u0644\u0641\u0627\u062a","Error on load list":"\u062d\u062f\u062b \u062e\u0637\u0623 \u0641\u064a \u062a\u062d\u0645\u064a\u0644 \u0627\u0644\u0642\u0627\u0626\u0645\u0629 ","Error on load folders":"\u062d\u062f\u062b \u062e\u0637\u0623 \u0641\u064a \u062a\u062d\u0645\u064a\u0644 \u0627\u0644\u0645\u062c\u0644\u062f\u0627\u062a","Are you sure?":"\u
10647\u0644 \u0623\u0646\u062a \u0648\u0627\u062b\u0642\u061f","Enter Directory name":"\u0623\u062f\u062e\u0644 \u0627\u0633\u0645 \u0627\u0644\u0645\u062c\u0644\u062f","Create directory":"\u0625\u0646\u0634\u0627\u0621 \u0645\u062c\u0644\u062f","type name":"\u0623\u0643\u062a\u0628 \u0625\u0633\u0645","Drop image":"\u0625\u0633\u0642\u0627\u0637 \u0635\u0648\u0631\u0629","Drop file":"\u0625\u0633\u0642\u0627\u0637 \u0627\u0644\u0645\u0644\u0641","or click":"\u0623\u0648 \u0623\u0646\u0642\u0631","Alternative text":"\u0627\u0644\u0646\u0635 \u0627\u0644\u0628\u062f\u064a\u0644",Upload:"\u0631\u0641\u0639",Browse:"\u062a\u0635\u0641\u062d",Background:"\u0627\u0644\u062e\u0644\u0641\u064a\u0629",Text:"\u0646\u0635",Top:"\u0623\u0639\u0644\u0649",Middle:"\u0627\u0644\u0648\u0633\u0637",Bottom:"\u0627\u0644\u0623\u0633\u0641\u0644","Insert column before":"\u0625\u062f\u0631\u0627\u062c \u0639\u0645\u0648\u062f \u0642\u0628\u0644","Insert column after":"\u0625\u062f\u0631\u0627\u062c \u0639\u0645\u0648\u062f \u0628\u0639\u062f","Insert row above":"\u0625\u062f\u0631\u0627\u062c \u0635\u0641 \u0623\u0639\u0644\u0649","Insert row below":"\u0625\u062f\u0631\u0627\u062c \u0635\u0641 \u0623\u0633\u0641\u0644","Delete table":"\u062d\u0630\u0641 \u0627\u0644\u062c\u062f\u0648\u0644","Delete row":"\u062d\u0630\u0641 \u0627\u0644\u0635\u0641","Delete column":"\u062d\u0630\u0641 \u0627\u0644\u0639\u0645\u0648\u062f","Empty cell":"\u062e\u0644\u064a\u0629 \u0641\u0627\u0631\u063a\u0629","Chars: %d":"%d \u062d\u0631\u0641","Words: %d":"%d \u0643\u0644\u0627\u0645","Strike through":"\u0627\u0636\u0631\u0628 \u0645\u0646 \u062e\u0644\u0627\u0644",Underline:"\u0623\u0643\u062f",superscript:"\u062d\u0631\u0641 \u0641\u0648\u0642\u064a",subscript:"\u0645\u062e\u0637\u0648\u0637\u0629","Cut selection":"\u0642\u0637\u0639 \u0627\u0644\u0627\u062e\u062a\u064a\u0627\u0631","Select all":"\u0627\u062e\u062a\u0631 \u0627\u0644\u0643\u0644",Break:"\u0627\u0633\u062a\u0631\u0627\u062d\u0629","Search for":"\u0627\u0644\u0628\u062d\u062b \u0639\u0646","Replace with":"\u0627\u0633\u062a\u0628\u062f\u0644 \u0628",Replace:"\u0645\u062d\u0644",Paste:"\u0645\u0639\u062c\u0648\u0646","Choose Content to Paste":"\u0627\u062e\u062a\u0631 \u0645\u062d\u062a\u0648\u0649 \u0644\u0644\u0635\u0642",source:"\u0645\u0635\u062f\u0631",bold:"\u0628\u0627\u0644\u062e\u0637 \u0627\u0644\u0639\u0631\u064a\u0636",italic:"\u0645\u0627\u0626\u0644",brush:"\u0634\u063a\u0644",link:"\u0635\u0644\u0629",undo:"\u0625\u0644\u063a\u0627\u0621",redo:"\u0643\u0631\u0631",table:"\u0637\u0627\u0648\u0644\u0629",image:"\u0635\u0648\u0631\u0629",eraser:"\u0646\u0638\u064a\u0641",paragraph:"\u0641\u0642\u0631\u0629",fontsize:"\u062d\u062c\u0645 \u0627\u0644\u062e\u0637",video:"\u0641\u064a\u062f\u064a\u0648",font:"\u0627\u0644\u062e\u0637",about:"\u062d\u0648\u0644 \u0627\u0644\u0645\u062d\u0631\u0631",print:"\u0637\u0628\u0627\u0639\u0629",underline:"\u0623\u0643\u062f",strikethrough:"\u0634\u0637\u0628",indent:"\u0627\u0644\u0645\u0633\u0627\u0641\u0629 \u0627\u0644\u0628\u0627\u062f\u0626\u0629",outdent:"\u0646\u062a\u0648\u0621",fullsize:"\u0645\u0644\u0621 \u0627\u0644\u0634\u0627\u0634\u0629",shrink:"\u0627\u0644\u062d\u062c\u0645 \u0627\u0644\u062a\u0642\u0644\u064a\u062f\u064a",hr:"\u0627\u0644\u062e\u0637",ul:"\u0642\u0627\u0626\u0645\u0629",ol:"\u0642\u0627\u0626\u0645\u0629 \u0645\u0631\u0642\u0645\u0629",cut:"\u0642\u0637\u0639",selectall:"\u0627\u062e\u062a\u0631 \u0627\u0644\u0643\u0644","Embed code":"\u0642\u0627\u0646\u0648\u0646","Open link":"\u0641\u062a\u062d \u0627\u0644\u0631\u0627\u0628\u0637","Edit link":"\u062a\u0639\u062f\u064a\u0644 \u0627\u0644\u0631\u0627\u0628\u0637","No follow":"\u0633\u0645\u0629 Nofollow",Unlink:"\u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u0631\u0627\u0628\u0637",Update:"\u062a\u062d\u062f\u064a\u062b",pencil:"\u0644\u062a\u062d\u0631\u064a\u0631",Eye:"\u0645\u0631\u0627\u062c\u0639\u0629"," URL":"URL",Edit:"\u062a\u062d\u0631\u064a\u0631","Horizontal align":"\u0645\u062d\u0627\u0630\u0627\u0629 \u0623\u0641\u0642\u064a\u0629",Filter:"\u0641\u0644\u062a\u0631","Sort by changed":"\u0639\u0646 \u0637\u0631\u064a\u0642 \u0627\u0644\u062a\u063a\u064a\u064a\u0631","Sort by name":"\u0628\u0627\u0644\u0627\u0633\u0645","Sort by size":"\u062d\u0633\u0628 \u0627\u0644\u062d\u062c\u0645","Add folder":"\u0625\u0636\u0627\u0641\u0629 \u0645\u062c\u0644\u062f",Reset:"\u0625\u0639\u0627\u062f\u0629",Save:"\u0627\u062d\u062a\u0641\u0638","Save as ...":"\u062d\u0641\u0638 \u0628\u0627\u0633\u0645",Resize:"\u062a\u063a\u064a\u064a\u0631 \u0627\u0644\u062d\u062c\u0645",Crop:"\u062d\u062c\u0645 \u0627\u0644\u0642\u0637\u0639",W
1idth:"\u0639\u0631\u0636",Height:"\u0627\u0631\u062a\u0641\u0627\u0639","Keep Aspect Ratio":"\u062d\u0627\u0641\u0638 \u0639\u0644\u0649 \u0627\u0644\u0646\u0633\u0628",Yes:"\u0623\u0646",No:"\u0644\u0627",Remove:"\u062d\u0630\u0641",Select:"\u062a\u0645\u064a\u0632","Select %s":"\u062a\u0645\u064a\u0632 %s","Vertical align":"\u0645\u062d\u0627\u0630\u0627\u0629 \u0639\u0645\u0648\u062f\u064a\u0629",Split:"\u0627\u0646\u0634\u0642\u060c \u0645\u0632\u0642",Merge:"\u0627\u0630\u0647\u0628","Add column":"\u0623\u0636\u0641 \u0627\u0644\u0639\u0645\u0648\u062f","Add row":"\u0627\u0636\u0641 \u0633\u0637\u0631","License: %s":"\u0631\u062e\u0635\u0629 %s",Delete:"\u062d\u0630\u0641","Split vertical":"\u0627\u0646\u0642\u0633\u0627\u0645 \u0639\u0645\u0648\u062f\u064a","Split horizontal":"\u062a\u0642\u0633\u064a\u0645 \u0623\u0641\u0642\u064a",Border:"\u0627\u0644\u062d\u062f\u0648\u062f","Your code is similar to HTML. Keep as HTML?":"\u064a\u0634\u0628\u0647 \u0627\u0644\u0643\u0648\u062f \u0627\u0644\u062e\u0627\u0635 \u0628\u0643 HTML. \u062a\u0628\u0642\u064a \u0643\u0645\u0627 HTML\u061f","Paste as HTML":"\u0627\u0644\u0635\u0642 \u0643 HTML",Keep:"\u0627\u062d\u062a\u0641\u0638","Insert as Text":"\u0625\u062f\u0631\u0627\u062c \u0643\u0646\u0635","Insert only Text":"\u0625\u062f\u0631\u0627\u062c \u0627\u0644\u0646\u0635 \u0641\u0642\u0637","You can only edit your own images. Download this image on the host?":"\u064a\u0645\u0643\u0646\u0643 \u0641\u0642\u0637 \u062a\u062d\u0631\u064a\u0631 \u0635\u0648\u0631\u0643 \u0627\u0644\u062e\u0627\u0635\u0629. \u062a\u062d\u0645\u064a\u0644 \u0647\u0630\u0647 \u0627\u0644\u0635\u0648\u0631\u0629 \u0639\u0644\u0649 \u0627\u0644\u0645\u0636\u064a\u0641\u061f","The image has been successfully uploaded to the host!":"\u062a\u0645 \u062a\u062d\u0645\u064a\u0644 \u0627\u0644\u0635\u0648\u0631\u0629 \u0628\u0646\u062c\u0627\u062d \u0639\u0644\u0649 \u0627\u0644\u062e\u0627\u062f\u0645!",palette:"\u0644\u0648\u062d\u0629","There are no files":"\u0644\u0627 \u062a\u0648\u062c\u062f \u0645\u0644\u0641\u0627\u062a \u0641\u064a \u0647\u0630\u0627 \u0627\u0644\u062f\u0644\u064a\u0644.",Rename:"\u0625\u0639\u0627\u062f\u0629 \u062a\u0633\u0645\u064a\u0629","Enter new name":"\u0623\u062f\u062e\u0644 \u0627\u0633\u0645 \u062c\u062f\u064a\u062f",preview:"\u0645\u0639\u0627\u064a\u0646\u0629",download:"\u062a\u062d\u0645\u064a\u0644","Paste from clipboard":"\u0644\u0635\u0642 \u0645\u0646 \u0627\u0644\u062d\u0627\u0641\u0638\u0629","Your browser doesn't support direct access to the clipboard.":"\u0645\u062a\u0635\u0641\u062d\u0643 \u0644\u0627 \u064a\u062f\u0639\u0645 \u0625\u0645\u0643\u0627\u0646\u064a\u0629 \u0627\u0644\u0648\u0635\u0648\u0644 \u0627\u0644\u0645\u0628\u0627\u0634\u0631 \u0625\u0644\u0649 \u0627\u0644\u062d\u0627\u0641\u0638\u0629.","Copy selection":"\u0646\u0633\u062e \u0627\u0644\u062a\u062d\u062f\u064a\u062f",copy:"\u0646\u0633\u062e","Border radius":"\u062f\u0627\u0626\u0631\u0629 \u0646\u0635\u0641 \u0642\u0637\u0631\u0647\u0627 \u0627\u0644\u062d\u062f\u0648\u062f","Show all":"\u0639\u0631\u0636 \u0643\u0644",Apply:"\u062a\u0637\u0628\u064a\u0642","Please fill out this field":"\u064a\u0631\u062c\u0649 \u0645\u0644\u0621 \u0647\u0630\u0627 \u0627\u0644\u0645\u062c\u0627\u0644","Please enter a web address":"\u064a\u0631\u062c\u0649 \u0625\u062f\u062e\u0627\u0644 \u0639\u0646\u0648\u0627\u0646 \u0648\u064a\u0628",Default:"\u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a",Circle:"\u062f\u0627\u0626\u0631\u0629",Dot:"\u0646\u0642\u0637\u0629",Quadrate:"\u0627\u0644\u0645\u0631\u0628\u0639\u0629",Find:"\u0627\u0644\u0628\u062d\u062b","Find Previous":"\u062a\u062c\u062f \u0627\u0644\u0633\u0627\u0628\u0642\u0629","Find Next":"\u062a\u062c\u062f \u0627\u0644\u062a\u0627\u0644\u064a","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"\u0644\u0644\u0635\u0642 \u0627\u0644\u0645\u062d\u062a\u0648\u0649 \u0642\u0627\u062f\u0645 \u0645\u0646 Microsoft Word/Excel \u0627\u0644\u0648\u062b\u064a\u0642\u0629. \u0647\u0644 \u062a\u0631\u064a\u062f \u0623\u0646 \u062a\u0628\u0642\u064a \u0634\u0643\u0644 \u0623\u0648 \u062a\u0646\u0638\u064a\u064
11\u0647 \u061f ","Word Paste Detected":"\u0643\u0644\u0645\u0629 \u0644\u0635\u0642 \u0627\u0644\u0643\u0634\u0641 \u0639\u0646",Clean:"\u0646\u0638\u064a\u0641\u0629","Insert className":"\u0623\u062f\u062e\u0644 \u0627\u0633\u0645 \u0627\u0644\u0641\u0635\u0644","Press Alt for custom resizing":"\u0627\u0636\u063a\u0637 \u0627\u0644\u0628\u062f\u064a\u0644 \u0644\u062a\u063a\u064a\u064a\u0631 \u062d\u062c\u0645 \u0645\u062e\u0635\u0635","Line height":"\u0627\u0631\u062a\u0641\u0627\u0639 \u0627\u0644\u062e\u0637",spellcheck:"\u0627\u0644\u062a\u062f\u0642\u064a\u0642 \u0627\u0644\u0625\u0645\u0644\u0627\u0626\u064a","Speech Recognize":"\u0627\u0644\u062a\u0639\u0631\u0641 \u0639\u0644\u0649 \u0627\u0644\u0643\u0644\u0627\u0645",All:"\u062a\u062d\u062f\u064a\u062f \u0627\u0644\u0643\u0644"},cs_cz:{"Type something":"Napi\u0161 n\u011bco","About Jodit":"O Jodit","Jodit Editor":"Editor Jodit","Free Non-commercial Version":"Verze pro nekomer\u010dn\xed pou\u017eit\xed","Jodit User's Guide":"Jodit U\u017eivatelsk\xe1 p\u0159\xedru\u010dka","contains detailed help for using":"obsahuje detailn\xed n\xe1pov\u011bdu","For information about the license, please go to our website:":"Pro informace o licenci, pros\xedm, p\u0159ejd\u011bte na na\u0161i str\xe1nku:","Buy full version":"Koupit plnou verzi","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. V\u0161echna pr\xe1va vyhrazena.",Anchor:"Anchor","Open in new tab":"Otev\u0159\xedt v nov\xe9 z\xe1lo\u017ece","Open in fullsize":"Otev\u0159\xedt v celoobrazovkov\xe9m re\u017eimu","Clear Formatting":"Vy\u010distit form\xe1tov\xe1n\xed","Fill color or set the text color":"Barva v\xfdpln\u011b a p\xedsma",Redo:"Vp\u0159ed",Undo:"Zp\u011bt",Bold:"Tu\u010dn\xe9",Italic:"Kurz\xedva","Insert Unordered List":"Odr\xe1\u017eky","Insert Ordered List":"\u010c\xedslovan\xfd seznam","Align Center":"Zarovnat na st\u0159ed","Align Justify":"Zarovnat do bloku","Align Left":"Zarovnat vlevo","Align Right":"Zarovnat vpravo","Insert Horizontal Line":"Vlo\u017eit horizont\xe1ln\xed linku","Insert Image":"Vlo\u017eit obr\xe1zek","Insert file":"Vlo\u017eit soubor","Insert youtube/vimeo video":"Vlo\u017eit video (YT/Vimeo)","Insert link":"Vlo\u017eit odkaz","Font size":"Velikost p\xedsma","Font family":"Typ p\xedsma","Insert format block":"Form\xe1tovat blok",Normal:"Norm\xe1ln\xed text","Heading 1":"Nadpis 1","Heading 2":"Nadpis 2","Heading 3":"Nadpis 3","Heading 4":"Nadpis 4",Quote:"Cit\xe1t",Code:"K\xf3d",Insert:"Vlo\u017eit","Insert table":"Vlo\u017eit tabulku","Decrease Indent":"Zmen\u0161it odsazen\xed","Increase Indent":"Zv\u011bt\u0161it odsazen\xed","Select Special Character":"Vybrat speci\xe1ln\xed symbol","Insert Special Character":"Vlo\u017eit speci\xe1ln\xed symbol","Paint format":"Pou\u017e\xedt form\xe1t","Change mode":"Zm\u011bnit m\xf3d",Margins:"Okraje",top:"horn\xed",right:"prav\xfd",bottom:"spodn\xed",left:"lev\xfd",Styles:"Styly",Classes:"T\u0159\xeddy",Align:"Zarovn\xe1n\xed",Right:"Vpravo",Center:"Na st\u0159ed",Left:"Vlevo","--Not Set--":"--nenastaveno--",Src:"src",Title:"Titulek",Alternative:"Alternativn\xed text (alt)",Link:"Link","Open link in new tab":"Otev\u0159\xedt link v nov\xe9 z\xe1lo\u017ece",Image:"Obr\xe1zek",file:"soubor",Advanced:"Roz\u0161\xed\u0159en\xe9","Image properties":"Vlastnosti obr\xe1zku",Cancel:"Zp\u011bt",Ok:"Ok","Your code is similar to HTML. Keep as HTML?":"V\xe1\u0161 text se podob\xe1 HTML. Vlo\u017eit ho jako HTML?","Paste as HTML":"Vlo\u017eit jako HTML",Keep:"Ponechat origin\xe1l",Clean:"Vy\u010distit","Insert as Text":"Vlo\u017eit jako TEXT","Insert only Text":"Vlo\u017eit pouze TEXT","Word Paste Detected":"Detekov\xe1n 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\xfd vkl\xe1d\xe1te, je pravd\u011bpodobn\u011b z Microsoft Word / Excel. Chcete ponechat form\xe1t nebo vlo\u017eit pouze text?","File Browser":"Prohl\xed\u017ee\u010d soubor\u016f","Error on load list":"Chyba p\u0159i na\u010d\xedt\xe1n\xed seznamu soubor\u
1016f","Error on load folders":"Chyba p\u0159i na\u010d\xedt\xe1n\xed slo\u017eek","Are you sure?":"Jste si jist\xfd(\xe1)?","Enter Directory name":"N\xe1zev slo\u017eky","Create directory":"Vytvo\u0159it slo\u017eku","type name":"n\xe1zev","Drop image":"P\u0159et\xe1hn\u011bte sem obr\xe1zek","Drop file":"P\u0159et\xe1hn\u011bte sem soubor","or click":"nebo klikn\u011bte","Alternative text":"Alternativn\xed text",Browse:"Server",Upload:"Nahr\xe1t",Background:"Pozad\xed",Text:"Text",Top:"Nahoru",Middle:"Na st\u0159ed",Bottom:"Dolu","Insert column before":"Vlo\u017eit sloupec p\u0159ed","Insert column after":"Vlo\u017eit sloupec za","Insert row above":"Vlo\u017eit \u0159\xe1dek nad","Insert row below":"Vlo\u017eit \u0159\xe1dek pod","Delete table":"Vymazat tabulku","Delete row":"Vymazat \u0159\xe1dku","Delete column":"Vymazat sloupec","Empty cell":"Vy\u010distit bu\u0148ku",source:"HTML",bold:"tu\u010dn\u011b",italic:"kurz\xedva",brush:"\u0161t\u011btec",link:"odkaz",undo:"zp\u011bt",redo:"vp\u0159ed",table:"tabulka",image:"obr\xe1zek",eraser:"guma",paragraph:"odstavec",fontsize:"velikost p\xedsma",video:"video",font:"p\xedsmo",about:"\u043e editoru",print:"tisk",underline:"podtr\u017eeno",strikethrough:"p\u0159e\u0161krtnuto",indent:"zv\u011bt\u0161it odsazen\xed",outdent:"zmen\u0161it odsazen\xed",fullsize:"celoobrazovkov\xfd re\u017eim",shrink:"smrsknout",hr:"Linka",ul:"Odr\xe1\u017eka",ol:"\u010c\xedslovan\xfd seznam",cut:"Vyjmout",selectall:"Ozna\u010dit v\u0161e","Embed code":"K\xf3d","Open link":"Otev\u0159\xedt odkaz","Edit link":"Uprav
1it odkaz","No follow":"Atribut no-follow",Unlink:"Odstranit odkaz",Eye:"Zobrazit",pencil:"Chcete-li upravit",Update:"Aktualizovat"," URL":"URL",Edit:"Editovat","Horizontal align":"Horizont\xe1ln\xed zarovn\xe1n\xed",Filter:"Filtr","Sort by changed":"Dle posledn\xed zm\u011bny","Sort by name":"Dle n\xe1zvu","Sort by size":"Dle velikosti","Add folder":"P\u0159idat slo\u017eku",Reset:"Reset",Save:"Ulo\u017eit","Save as ...":"Ulo\u017eit jako...",Resize:"Zm\u011bnit rozm\u011br",Crop:"O\u0159ezat",Width:"\u0160\xed\u0159ka",Height:"V\xfd\u0161ka","Keep Aspect Ratio":"Ponechat pom\u011br",Yes:"Ano",No:"Ne",Remove:"Vyjmout",Select:"Ozna\u010dit","Chars: %d":"Znaky: %d","Words: %d":"Slova: %d",All:"V\u0161e","Select %s":"Ozna\u010dit %s","Select all":"Ozna\u010dit v\u0161e","Vertical align":"Vertik\xe1ln\xed zarovn\xe1n\xed",Split:"Rozd\u011blit","Split vertical":"Rozd\u011blit vertik\xe1ln\u011b","Split horizontal":"Rozd\u011blit horizont\xe1ln\u011b",Merge:"Spojit","Add column":"P\u0159idat sloupec","Add row":"P\u0159idat \u0159\xe1dek",Delete:"Vymazat",Border:"Okraj","License: %s":"Licence: %s","Strike through":"P\u0159e\u0161krtnuto",Underline:"Podtr\u017eeno",superscript:"Horn\xed index",subscript:"Doln\xed index","Cut selection":"Vyjmout ozna\u010den\xe9",Break:"Zalomen\xed","Search for":"Najdi","Replace with":"Nahradit za",Replace:"Vym\u011b\u0148te",Paste:"Vlo\u017eit","Choose Content to Paste":"Vyber obsah pro vlo\u017een\xed","You can only edit your own images. Download this image on the host?":"M\u016f\u017eete upravovat pouze sv\xe9 obr\xe1zky. Na\u010d\xedst obr\xe1zek?","The image has been successfully uploaded to the host!":"Obr\xe1zek byl \xfasp\u011b\u0161n\u011b nahr\xe1n!",palette:"paleta","There are no files":"V tomto adres\xe1\u0159i nejsou \u017e\xe1dn\xe9 soubory.",Rename:"p\u0159ejmenovat","Enter new name":"Zadejte nov\xfd n\xe1zev",preview:"n\xe1hled",download:"Sta\u017een\xed","Paste from clipboard":"Vlo\u017eit ze schr\xe1nky","Your browser doesn't support direct access to the clipboard.":"V\xe1\u0161 prohl\xed\u017ee\u010d nepodporuje p\u0159\xedm\xfd p\u0159\xedstup do schr\xe1nky.","Copy selection":"Kop\xedrovat v\xfdb\u011br",copy:"kop\xedrov\xe1n\xed","Border radius":"Border radius","Show all":"Zobrazit v\u0161echny",Apply:"Plat\xed","Please fill out this field":"Pros\xedm, vypl\u0148te toto pole","Please enter a web address":"Pros\xedm, zadejte webovou adresu",Default:"V\xfdchoz\xed",Circle:"Kruh",Dot:"Dot",Quadrate:"Quadrate",Find:"Naj\xedt","Find Previous":"Naj\xedt P\u0159edchoz\xed","Find Next":"Naj\xedt Dal\u0161\xed","Insert className":"Vlo\u017ete n\xe1zev t\u0159\xeddy","Press Alt for custom resizing":"Stiskn\u011bte Alt pro vlastn\xed zm\u011bnu velikosti"},de:{"Type something":"Bitte geben Sie einen Text ein",Advanced:"Fortgeschritten","About Jodit":"\xdcber Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Das Jodit Benutzerhandbuch","contains detailed help for using":"beinhaltet ausf\xfchrliche Informationen wie Sie den Editor verwenden k\xf6nnen.","For information about the license, please go to our website:":"F\xfcr Informationen zur Lizenz, besuchen Sie bitte unsere Web-Pr\xe4senz:","Buy full version":"Vollversion kaufen","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.",Anchor:"Anker","Open in new tab":"In neuer Registerkarte \xf6ffnen","Open in fullsize":"Editor in voller Gr\xf6\xdfe \xf6ffnen","Clear Formatting":"Formatierung l\xf6schen","Fill color or set the text color":"F\xfcllfarbe oder Textfarbe \xe4ndern",Redo:"Wiederholen",Undo:"R\xfcckg\xe4ngig machen",Bold:"Fett",Italic:"Kursiv","Insert Unordered List":"Unsortierte Liste einf\xfcgen","Insert Ordered List":"Nummerierte Liste einf\xfcgen","Align Center":"Mittig ausrichten","Align Justify":"Blocksatz","Align Left":"Links ausrichten","Align Right":"Rechts ausrichten","Insert Horizontal Line":"Horizontale Linie einf\xfcgen","Insert Image":"Bild einf\xfcgen","Insert file":"Datei einf\xfcgen","Insert youtube/vimeo video":"Youtube/vimeo Video einf\xfcgen","Insert link":"Link einf\xfcgen","Font size":"Schriftgr\xf6\xdfe","Font family":"Schriftfamilie","Insert format block":"Formatblock einf\xfcgen",Normal:"Normal","Heading 1":"\xdcberschrift 1","Heading 2":"\xdcberschrift 2","Heading 3":"\xdcberschrift 3","Heading 4":"\xdcberschrift 4",Quote:"Zitat",Code:"Code",Insert:"Einf\xfcgen","Insert table":"Tabelle einf\xfcgen","Decrease Indent":"Einzug verkleinern","Increase Indent":"Einzug vergr\xf6\xdfern","Select Special Character":"Sonderzeichen ausw\xe4hlen","Insert Special Character":"Sonderzeichen einf\xfcgen","Paint format":"Format kopieren","Change mode":"\xc4nderungsmodus",Margins:"R\xe4nder",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 \xf6ffnen",Image:"Bild",file:"Datei","Image properties":"Bildeigenschaften",Cancel:"Abbrechen",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Ihr Text \xe4hnelt HTML-Code. Als HTML beibehalten?","Paste as HTML":"Als HTML einf\xfcgen?",Keep:"Original speichern",Clean:"S\xe4ubern","Insert as Text":"Als Text einf\xfcgen","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\xfcgen, stammt aus einem Microsoft Word / Excel-Dokument. M\xf6chten Sie das Format erhalten oder bereinigen?","Insert only Text":"Nur Text einf\xfcgen","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\xf6schen","or click":"oder hier klicken","Alternative text":"Alternativtext",Browse:"Ausw\xe4hlen",Upload:"Hochladen",Backgroun
1d:"Hintergrund",Text:"Text",Top:"Oben",Middle:"Mittig",Bottom:"Unten","Insert column before":"Spalte davor einf\xfcgen","Insert column after":"Spalte danach einf\xfcgen","Insert row above":"Zeile oberhalb einf\xfcgen","Insert row below":"Zeile unterhalb einf\xfcgen","Delete table":"Tabelle l\xf6schen","Delete row":"Zeile l\xf6schen","Delete column":"Spalte l\xf6schen","Empty cell":"Zelle leeren",Delete:"L\xf6schen","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\xe4ndert","Sort by name":"Nach Name sortieren","Sort by size":"Nach Gr\xf6\xdfe sortiert","Add folder":"Ordner hinzuf\xfcgen","Split vertical":"Vertikal unterteilen","Split horizontal":"Horizontal unterteilen",Split:"Unterteilen",Merge:"Vereinen","Add column":"Spalte hinzuf\xfcgen","Add row":"Zeile hinzuf\xfcgen",Border:"Rand","Embed code":"Code einbetten",Update:"Aktualisieren",superscript:"Hochstellen",subscript:"Tiefstellen","Cut selection":"Auswahl ausschneiden",Paste:"Einf\xfcgen","Choose Content to Paste":"W\xe4hlen Sie den Inhalt zum Einf\xfcgen aus","Chars: %d":"Zeichen: %d","Words: %d":"W\xf6rter: %d",All:"Alles markieren","Select %s":"Markieren: %s","Select all":"Alles markieren",source:"HTML",bold:"Fett gedruckt",italic:"Kursiv",brush:"B\xfcrste",link:"Verkn\xfcpfung",undo:"R\xfcckg\xe4ngig machen",redo:"Wiederholen",table:"Tabelle",image:"Bild",eraser:"Radiergummi",paragraph:"Absatz",fontsize:"Schriftgr\xf6\xdfe",video:"Video",font:"Schriftart",about:"\xdcber",print:"Drucken",underline:"Unterstreichen",strikethrough:"Durchstreichen",indent:"Einzug",outdent:"Herausstellen",fullsize:"Vollgr\xf6\xdfe",shrink:"Schrumpfen",hr:"die Linie",ul:"Liste von",ol:"Nummerierte Liste","Lower Alpha":"Standard, Alphabet (klein)","Upper Alpha":"Standard, Alphabet (gross)","Lower Roman":"R\xf6misch (klein)","Upper Roman":"R\xf6misch (gross)","Lower Greek":"Griechisch",cut:"Schneiden",selectall:"W\xe4hlen Sie Alle aus","Open link":"Link \xf6ffnen","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\xf6\xdfe \xe4ndern",Crop:"Gr\xf6\xdfe anpassen",Width:"Breite",Height:"H\xf6he","Keep Aspect Ratio":"Seitenverh\xe4ltnis beibehalten",Yes:"Ja",No:"Nein",Remove:"Entfernen",Select:"Markieren","You can only edit your own images. Download this image on the host?":"Sie k\xf6nnen 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\xfcgen","Your browser doesn't support direct access to the clipboard.":"Ihr Browser unterst\xfctzt keinen direkten Zugriff auf die Zwischenablage.","Copy selection":"Auswahl kopieren",copy:"Kopieren","Border radius":"Radius f\xfcr abgerundete Ecken","Show all":"Alle anzeigen",Apply:"Anwenden","Please fill out this field":"Bitte f\xfcllen Sie dieses Feld aus","Please enter a web address":"Bitte geben Sie eine Web-Adresse ein",Default:"Standard",Circle:"Kreis",Dot:"Punkte",Quadrate:"Quadrate",Find:"Suchen","Find Previous":"Suche vorherige","Find Next":"Weitersuchen","Insert className":"className (CSS) einf\xfcgen","Press Alt for custom resizing":"Dr\xfccken Sie Alt f\xfcr benutzerdefinierte Gr\xf6\xdfenanpassung","License: %s":"Lizenz: %s"},en:{"Type something":"Start writing...",pencil:"Edit",Quadrate:"Square"},es:{"Type something":"Escriba algo...",Advanced:"Avanzado","About Jodit":"Acerca de Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Gu\xeda 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\xf3n sobre la licencia, por favor visite nuestro sitio:","Buy full version":"Compre la versi\xf3n completa","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Todos los derechos reservados.",Anchor:"Anclar","Open in new tab":"Abrir en nueva pesta\xf1a","Open 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\xednea horizontal","Insert Image":"Insertar imagen","Insert file":"Insertar archivo","Insert youtube/vimeo video":"Insertar video de Youtube/vimeo","Insert link":"Insertar v\xednculo","Font size":"Tama\xf1o 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\xf3digo",Insert:"Insertar","Insert table":"Insertar tabla","Decrease Indent":"Disminuir sangr\xeda","Increase Indent":"Aumentar sangr\xeda","Select Special Character":"Seleccionar caracter especial","Insert Special Character":"Insertar caracter especial","Paint format":"Copiar formato","Change mode":"Cambiar modo",Margins:"M\xe1rgenes",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\xedtulo",Alternative:"Texto Alternativo",Filter:"Filtrar",Link:"V\xednculo","Open link in new tab":"Abrir v\xednculo en nueva pesta\xf1a",Image:"Imagen",file:"Archivo","Image properties":"Propiedades de imagen",Cancel:"Cancelar",Ok:"Aceptar","Your code is similar to HTML. Keep as HTML?":"El c\xf3digo es similar a HTML. \xbfMantener como HTML?","Paste as HTML":"Pegar como HTML?",Keep:"Mantener",Clean:"Limpiar","Insert as Text":"Insertar c
1omo 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. \xbfDesea 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?":"\xbfEst\xe1 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\xe9s","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\xf3n vertical","Horizontal align":"Alineaci\xf3n horizontal","Sort by changed":"Ordenar por fecha modificaci\xf3n","Sort by name":"Ordenar por nombre","Sort by size":"Ordenar por tama\xf1o","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\xf3digo",Update:"Actualizar",superscript:"super\xedndice",subscript:"sub\xedndice","Cut selection":"Cortar selecci\xf3n",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\xednculo",undo:"deshacer",redo:"rehacer",table:"Tabla",image:"Imagen",eraser:"Borrar",paragraph:"P\xe1rrafo",fontsize:"Tama\xf1o de letra",video:"Video",font:"Letra",about:"Acerca de",print:"Imprimir",underline:"subrayar",strikethrough:"tachar",indent:"sangr\xeda",outdent:"quitar sangr\xeda",fullsize:"Tama\xf1o completo",shrink:"encoger",hr:"l\xednea horizontal",ul:"lista sin ordenar",ol:"lista ordenada",cut:"Cortar",selectall:"Seleccionar todo","Open link":"Abrir v\xednculo","Edit link":"Editar v\xednculo","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\xf3n 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\xe1genes. \xbfDescargar esta imagen en el servidor?","The image has been successfully uploaded to the host!":"\xa1La 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\xf3n 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\xf3n web",Default:"Predeterminado",Circle:"C\xedrculo",Dot:"Punto",Quadrate:"Cuadro","Lower Alpha":"Letra Min\xfascula","Lower Greek":"Griego Min\xfascula","Lower Roman":"Romano Min\xfascula","Upper Alpha":"Letra May\xfascula","Upper Roman":"Romano May\xfascula",Find:"Encontrar","Find Previous":"Buscar Anterior","Find Next":"Buscar Siguiente","Insert className":"Insertar nombre de clase","Press Alt for custom resizing":"Presione Alt para cambiar el tama\xf1o personalizado","License: %s":"Licencia: %s"},fi:{"Type something":"Kirjoita jotain...",Advanced:"Avanzado","About Jodit":"Tietoja Jodit:ista","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Jodit k\xe4ytt\xe4j\xe4n ohje","contains detailed help for using":"sis\xe4lt\xe4\xe4 tarkempaa tietoa k\xe4ytt\xe4miseen","For information about the license, please go to our website:":"Tietoa lisensoinnista, vieraile verkkosivuillamme:","Buy full version":"Osta t\xe4ysi versio","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Kaikki oikeudet pid\xe4tet\xe4\xe4n.",Anchor:"Ankkuri","Open in new tab":"Avaa uudessa v\xe4lilehdess\xe4","Open in fullsize":"Avaa t\xe4ysikokoisena","Clear Formatting":"Poista muotoilu","Fill color or set the text color":"T\xe4yt\xe4 v\xe4rill\xe4 tai aseta tekstin v\xe4ri",Redo:"Tee uudelleen",Undo:"Peruuta",Bold:"Lihavoitu",Italic:"Kursiivi","Insert Unordered List":"Lis\xe4\xe4 j\xe4rjest\xe4m\xe4t\xf6n lista","Insert Ordered List":"Lis\xe4\xe4 j\xe4rjestetty lista","Align Center":"Asemoi keskelle","Align Justify":"Asemoi tasav\xe4lein","Align Left":"Asemoi vasemmalle","Align Right":"Asemoi oikealle","Insert Horizontal Line":"Lis\xe4\xe4 vaakasuuntainen viiva","Insert Image":"Lis\xe4\xe4 kuva","Insert file":"Lis\xe4\xe4 tiedosto","Insert youtube/vimeo video":"Lis\xe4\xe4 Youtube-/vimeo- video","Insert link":"Lis\xe4\xe4 linkki","Font size":"Kirjasimen koko","Font family":"Kirjasimen nimi","Insert format block":"Lis\xe4\xe4 muotoilualue",Normal:"Normaali","Heading 1":"Otsikko 1","Heading 2":"Otsikko 2","Heading 3":"Otsikko 3","Heading 4":"Otsikko 4",Quote:"Lainaus",Code:"Koodi",Insert:"Lis\xe4\xe4","Insert table":"Lis\xe4\xe4 taulukko","Decrease Indent":"Pienenn\xe4 sisennyst\xe4","Increase Indent":"Lis\xe4\xe4 sisennyst\xe4","Select Special Character":"Valitse erikoismerkki","Insert Special Character":"Lis\xe4\xe4 erikoismerkki","Paint format":"Maalaa muotoilu","Change mode":"Vaihda tilaa",Margins:"Marginaalit",top:"yl\xf6s",right:"oikealle",bottom:"alas",left:"vasemmalle",Styles:"CSS-tyylit",Classes:"CSS-luokat",Align:"Asemointi",Right:"Oikea",Center:"Keskell\xe4",Left:"Vasen","--Not Set--":"--Ei asetettu--",Src:"Fuente",Title:"Otsikko",Alternative:"Vaihtoehtoinen teksti",Filter:"Suodatin",Link:"Linkki","Open link in new tab":"Avaa uudessa v\xe4lilehdess\xe4",Image:"Kuva",file:"Tiedosto","Image properties":"Kuvan ominaisuudet",Cancel:"Peruuta",Ok:"Ok","Your code is similar to HTML. Keep as HTML?":"Koodi on HTML:n tapaista. S\xe4ilytet\xe4\xe4nk\xf6 HTML?","Paste as HTML":"Liit\xe4 HTML:n\xe4?",Keep:"S\xe4ilyt\xe4",Clean:"Tyhjenn\xe4","Insert as Text":"Lis\xe4\xe4 tekstin\xe4","Word Paste Detected":"Word liitt\xe4minen havaittu","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Liitetty sis\xe4lt\xf6 tulee Microsoft Word-/Excel- tiedostosta. Haluatko s\xe4ilytt\xe4\xe4 muotoilun vai poistaa sen?","Insert only Text":"Lis\xe4\xe4 vain teksti","File Browser":"Tiedostoselain","Error on load list":"Virhe listan latauksessa","Error on load folders":"Virhe kansioiden latauksessa","Are you sure?":"Oletko varma?","Enter Directory name":"Sy\xf6t\xe4 hakemiston nimi","Create directory":"Luo hakemisto","type name":"Sy\xf6t\xe4 nimi","Drop image":"Pudota kuva","Drop file":"Pudota tiedosto","or click":"tai klikkaa","Alternative text":"Vaihtoehtoinen teksti",Browse:"Selaa",Upload:"Lataa",Backgroun
1d:"Tausta",Text:"Teksti",Top:"Yl\xf6s",Middle:"Keskelle",Bottom:"Alas","Insert column before":"Lis\xe4\xe4 sarake ennen","Insert column after":"Lis\xe4\xe4 sarake j\xe4lkeen","Insert row above":"Lis\xe4\xe4 rivi yl\xf6s","Insert row below":"Lis\xe4\xe4 rivi alle","Delete table":"Poista taulukko","Delete row":"Poista rivi","Delete column":"Poista sarake","Empty cell":"Tyhjenn\xe4 solu",Delete:"Poista","Strike through":"Yliviivaus",Underline:"Alleviivaus",Break:"Vaihto","Search for":"Etsi arvoa","Replace with":"Korvaa arvolla",Replace:"Korvaa",Edit:"Muokkaa","Vertical align":"Pystyasemointi","Horizontal align":"Vaaka-asemointi","Sort by changed":"J\xe4rjest\xe4 muuttuneilla","Sort by name":"J\xe4rjest\xe4 nimell\xe4","Sort by size":"J\xe4rjest\xe4 koolla","Add folder":"Lis\xe4\xe4 kansio",Split:"Jaa","Split vertical":"Jaa pystysuuntaisesti","Split horizontal":"Jaa vaakasuuntaisesti",Merge:"Yhdist\xe4","Add column":"Lis\xe4\xe4 sarake","Add row":"Lis\xe4\xe4 rivi",Border:"Reuna","Embed code":"Sis\xe4llyt\xe4 koodi",Update:"P\xe4ivit\xe4",superscript:"yl\xe4viite",subscript:"alaviite","Cut selection":"Leikkaa valinta",Paste:"Liit\xe4","Choose Content to Paste":"Valitse liitett\xe4v\xe4 sis\xe4lt\xf6","Chars: %d":"Merkit: %d","Words: %d":"Sanat: %d",All:"Kaikki","Select %s":"Valitse: %s","Select all":"Valitse kaikki",source:"HTML",bold:"lihavoitu",italic:"kursiivi",brush:"sivellin",link:"linkki",undo:"peruuta",redo:"tee uudelleen",table:"taulukko",image:"kuva",eraser:"pyyhekumi",paragraph:"kappale",fontsize:"tekstin koko",video:"video",font:"kirjasin",about:"tietoja",print:"tulosta",underline:"alleviivaa",strikethrough:"yliviivaa",indent:"sisenn\xe4",outdent:"pienenn\xe4 sisennyst\xe4",fullsize:"t\xe4ysikokoinen",shrink:"pienenn\xe4",hr:"vaakaviiva",ul:"j\xe4rjestetty lista",ol:"j\xe4rjest\xe4m\xe4t\xf6n lista",cut:"leikkaa",selectall:"valitse kaikki","Open link":"Avaa linkki","Edit link":"Muokkaa linkki\xe4","No follow":"\xc4l\xe4 seuraa",Unlink:"Pura linkki",Eye:"Ver",pencil:"Muokkaa"," URL":"URL",Reset:"Nollaa",Save:"Tallenna","Save as ...":"Tallenna nimell\xe4 ...",Resize:"Muuta kokoa",Crop:"Rajaa",Width:"Leveys",Height:"Korkeus","Keep Aspect Ratio":"S\xe4ilyt\xe4 kuvasuhde",Yes:"Kyll\xe4",No:"Ei",Remove:"Poista",Select:"Valitse","You can only edit your own images. Download this image on the host?":"Voit muokata vain omia kuvia. Lataa t\xe4m\xe4 kuva palvelimelle?","The image has been successfully uploaded to the host!":"Kuva on onnistuneesti ladattu palvelimelle!",palette:"paletti","There are no files":"Tiedostoja ei ole",Rename:"Nime\xe4 uudelleen","Enter new name":"Sy\xf6t\xe4 uusi nimi",preview:"esikatselu",download:"Lataa","Paste from clipboard":"Liit\xe4 leikep\xf6yd\xe4lt\xe4","Your browser doesn't support direct access to the clipboard.":"Selaimesi ei tue suoraa p\xe4\xe4sy\xe4 leikep\xf6yd\xe4lle.","Copy selection":"Kopioi valinta",copy:"kopioi","Border radius":"Reunan py\xf6ristys","Show all":"N\xe4yt\xe4 kaikki",Apply:"K\xe4yt\xe4","Please fill out this field":"T\xe4yt\xe4 t\xe4m\xe4 kentt\xe4","Please enter a web address":"Annan web-osoite",Default:"Oletus",Circle:"Ympyr\xe4",Dot:"Piste",Quadrate:"Neli\xf6","Lower Alpha":"Pieni aakkosellinen","Lower Greek":"Pieni kreikkalainen","Lower Roman":"Pieni roomalainen","Upper Alpha":"Suuri aakkosellinen","Upper Roman":"Suuri roomalainen",Find:"Hae","Find Previous":"Hae edellinen","Find Next":"Hae seuraava","Insert className":"Lis\xe4\xe4 luokkanimi","Press Alt for custom resizing":"Paina Alt muokattuun koon muuttamiseen","Class name":"Luokan nimi","License: %s":"Lisenssi: %s"},fr:{"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\xe9taill\xe9e \xe0 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\xe8te","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Tous droits r\xe9serv\xe9s.",Anchor:"Ancre","Open in new tab":"Ouvrir dans un nouvel onglet","Open in fullsize":"Ouvrir l'\xe9diteur 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\xe9faire",Bold:"Gras",Italic:"Italique","Insert Unordered List":"Liste non ordonn\xe9e","Insert Ordered List":"Liste ordonn\xe9e","Align Center":"Centrer","Align Justify":"Justifier","Align Left":"Aligner \xe0 gauche ","Align Right":"Aligner \xe0 droite","Insert Horizontal Line":"Ins\xe9rer une ligne horizontale","Insert Image":"Ins\xe9rer une image","Insert file":"Ins\xe9rer un fichier","Insert youtube/vimeo video":"Ins\xe9rer une vid\xe9o","Insert link":"Ins\xe9rer un lien","Font size":"Taille des caract\xe8res","Font family":"Famille des caract\xe8res","Insert format block":"Bloc formatt\xe9",Normal:"Normal","Heading 1":"Titre 1","Heading 2":"Titre 2","Heading 3":"Titre 3","Heading 4":"Titre 4",Quote:"Citation",Code:"Code",Insert:"Ins\xe9rer","Insert table":"Ins\xe9rer un tableau","Decrease Indent":"Diminuer le retrait","Increase Indent":"Retrait plus","Select Special Character":"S\xe9lectionnez un caract\xe8re sp\xe9cial","Insert Special Character":"Ins\xe9rer un caract\xe8re sp\xe9cial","Paint format":"Cloner le format","Change mode":"Mode wysiwyg <->
1 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\xe9","Image properties":"Propri\xe9t\xe9s 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-\xeatre 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\xe9rez 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\xfbrs ?","Enter Directory name":"Entrer le nom de dossier","Create directory":"Cr\xe9er un dossier","type name":"type de fichier","Drop image":"Coller une image","Drop file":"D\xe9poser un fichier","or click":"ou cliquer","Alternative text":"Texte de remplacemement",Browse:"Chercher",Upload:"Charger",Background:"Arri\xe8re-plan",Border:"Bordure",Text:"Texte",Top:"Haut",Middle:"Milieu",Bottom:"Bas","Insert column before":"Ins\xe9rer une colonne avant","Insert column after":"Ins\xe9rer une colonne apr\xe8s","Insert row above":"Ins\xe9rer une ligne au dessus","Insert row below":"Ins\xe9rer 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":"Barrer",Underline:"Souligner",superscript:"exposant",subscript:"indice","Cut selection":"Couper la s\xe9lection","Select all":"Tout s\xe9lectionner",Break:"Pause","Search for":"Rechercher","Replace with":"Remplacer par",Replace:"Remplacer",Paste:"Coller","Choose Content to Paste":"Choisissez le contenu \xe0 coller",source:"la source",bold:"gras",italic:"italique",brush:"pinceau",link:"lien",undo:"annuler",redo:"refaire",table:"tableau",image:"image",eraser:"gomme",paragraph:"clause",fontsize:"taille de police",video:"Video",font:"police",about:"\xe0 propos de l'\xe9diteur",print:"impression",underline:"soulign\xe9",strikethrough:"barr\xe9",indent:"indentation",outdent:"retrait",fullsize:"taille r\xe9elle",shrink:"taille conventionnelle",hr:"la ligne",ul:"Liste",ol:"Liste num\xe9rot\xe9e",cut:"Couper",selectall:"S\xe9lectionner tout","Open link":"Ouvrir le lien","Edit link":"Modifier le lien","No follow":"Attribut Nofollow",Unlink:"Supprimer le lien",Eye:"Voir",pencil:"Pour \xe9diter"," 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 \xe9vidence","Select %s":"Mettre en \xe9vidence: %s",Update:"Mettre \xe0 j
1our","Vertical align":"Alignement vertical",Merge:"aller","Add column":"Ajouter une colonne","Add row":"Ajouter une rang\xe9e",Delete:"Effacer","Horizontal align":"Alignement horizontal","Sort by changed":"Trier par modification","Sort by name":"Trier par nom","Sort by size":"Trier par taille","Add folder":"Cr\xe9er le dossier","You can only edit your own images. Download this image on the host?":"Vous ne pouvez \xe9diter que vos propres images. T\xe9l\xe9chargez cette image sur l'h\xf4te?","The image has been successfully uploaded to the host!":"L'image a \xe9t\xe9 t\xe9l\xe9charg\xe9e avec succ\xe8s sur le serveur!",palette:"Palette","There are no files":"Il n'y a aucun fichier dans ce r\xe9pertoire.",Rename:"renommer","Enter new name":"Entrez un nouveau nom",preview:"Aper\xe7u",download:"T\xe9l\xe9charger","Paste from clipboard":"Coller \xe0 partir du presse-papiers","Your browser doesn't support direct access to the clipboard.":"Votre navigateur ne prend pas en charge l'acc\xe8s direct au presse-papiers.","Copy selection":"Copier la s\xe9lection",copy:"copie","Border radius":"Rayon des bordures","Show all":"Afficher tous",Apply:"Appliquer","Please fill out this field":"Veuillez remplir ce champ","Please enter a web address":"Veuillez entrer une adresse web",Default:"Par d\xe9faut",Circle:"Cercle",Dot:"Point",Quadrate:"Quadratique",Find:"Trouver","Find Previous":"Pr\xe9c\xe9dent","Find Next":"Suivant","Insert className":"Ins\xe9rer un nom de classe","Press Alt for custom resizing":"Appuyez sur Alt pour un redimensionnement personnalis\xe9","Embed code":"Code d'int\xe9gration",Edit:"Modifier",All:"Tout s\xe9lectionner","License: %s":"Licence: %s"},he:{"Type something":"\u05d4\u05e7\u05dc\u05d3 \u05de\u05e9\u05d4\u05d5...",Advanced:"\u05de\u05ea\u05e7\u05d3\u05dd","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 \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.",Anchor:"\u05de\u05e7\u05d5\u05dd \u05e2\u05d9\u05d2\u05d5\u05df","Open in new tab":"\u05e4\u05ea\u05d7 \u05d1\u05db\u05e8\u05d8\u05d9\u05e1\u05d9\u05d4 \u05d7\u05d3\u05e9\u05d4","Open in fullsize":"\u05e4\u05ea\u05d7 \u05d0\u05ea \u05d4\u05e2\u05d5\u05e8\u05da \u05d1\u05d7\u05dc\u05d5\u05df \u05d7\u05d3\u05e9","Clear Formatting":"\u05e0\u05e7\u05d4 \u05e2\u05d9\u05e6\u05d5\u05d1","Fill color or set the text color":"\u05e9\u05e0\u05d4 \u05e6\u05d1\u05e2 \u05d8\u05e7\u05e1\u05d8 \u05d0\u05d5 \u05e8\u05e7\u05e2",Redo:"\u05d1\u05e6\u05e2 \u05e9\u05d5\u05d1",Undo:"\u05d1\u05d8\u05dc",Bold:"\u05de\u05d5\u05d3\u05d2\u05e9",Italic:"\u05e0\u05d8\u05d5\u05d9","Insert Unordered List":"\u05d4\u05db\u05e0\u05e1 \u05e8\u05e9\u05d9\u05de\u05ea \u05ea\u05d1\u05dc\u05d9\u05d8\u05d9\u05dd","Insert Ordered List":"\u05d4\u05db\u05e0\u05e1 \u05e8\u05e9\u05d9\u05de\u05d4 \u05de\u05de\u05d5\u05e1\u05e4\u05e8\u
105ea","Align Center":"\u05de\u05e8\u05db\u05d6","Align Justify":"\u05d9\u05e9\u05e8 ","Align Left":"\u05d9\u05e9\u05e8 \u05dc\u05e9\u05de\u05d0\u05dc","Align Right":"\u05d9\u05e9\u05e8 \u05dc\u05d9\u05de\u05d9\u05df","Insert Horizontal Line":"\u05d4\u05db\u05e0\u05e1 \u05e7\u05d5 \u05d0\u05d5\u05e4\u05e7\u05d9","Insert Image":"\u05d4\u05db\u05e0\u05e1 \u05ea\u05de\u05d5\u05e0\u05d4","Insert file":"\u05d4\u05db\u05e0\u05e1 \u05e7\u05d5\u05d1\u05e5","Insert youtube/vimeo video":"\u05d4\u05db\u05e0\u05e1 \u05e1\u05e8\u05d8\u05d5\u05df \u05d5\u05d9\u05d3\u05d0\u05d5 \u05deYouTube/Vimeo","Insert link":"\u05d4\u05db\u05e0\u05e1 \u05e7\u05d9\u05e9\u05d5\u05e8","Font size":"\u05d2\u05d5\u05d3\u05dc \u05d2\u05d5\u05e4\u05df","Font family":"\u05d2\u05d5\u05e4\u05df","Insert format block":"\u05de\u05e2\u05d5\u05e6\u05d1 \u05de\u05e8\u05d0\u05e9",Normal:"\u05e8\u05d2\u05d9\u05dc","Heading 1":"\u05db\u05d5\u05ea\u05e8\u05ea 1","Heading 2":"\u05db\u05d5\u05ea\u05e8\u05ea 2","Heading 3":"\u05db\u05d5\u05ea\u05e8\u05ea 3","Heading 4":"\u05db\u05d5\u05ea\u05e8\u05ea 4",Quote:"\u05e6\u05d9\u05d8\u05d5\u05d8",Code:"\u05e7\u05d5\u05d3",Insert:"\u05d4\u05db\u05e0\u05e1","Insert table":"\u05d4\u05db\u05e0\u05e1 \u05d8\u05d1\u05dc\u05d4","Decrease Indent":"\u05d4\u05e7\u05d8\u05df \u05db\u05e0\u05d9\u05e1\u05d4","Increase Indent":"\u05d4\u05d2\u05d3\u05dc \u05db\u05e0\u05d9\u05e1\u05d4","Select Special Character":"\u05d1\u05d7\u05e8 \u05ea\u05d5 \u05de\u05d9\u05d5\u05d7\u05d3","Insert Special Character":"\u05d4\u05db\u05e0\u05e1 \u05ea\u05d5 \u05de\u05d9\u05d5\u05d7\u05d3","Paint format":"\u05d4\u05e2\u05ea\u05e7 \u05e2\u05d9\u05e6\u05d5\u05d1","Change mode":"\u05d4\u05d7\u05dc\u05e3 \u05de\u05e6\u05d1",Margins:"\u05e8\u05d9\u05d5\u05d5\u05d7",top:"\u05e2\u05dc\u05d9\u05d5\u05df",right:"\u05d9\u05de\u05d9\u05df",bottom:"\u05ea\u05d7\u05ea\u05d5\u05df",left:"\u05e9\u05de\u05d0\u05dc",Styles:"\u05e2\u05d9\u05e6\u05d5\u05d1 CSS",Classes:"\u05de\u05d7\u05dc\u05e7\u05ea CSS",Align:"\u05d9\u05d9\u05e9\u05d5\u05e8",Right:"\u05d9\u05de\u05d9\u05df",Center:"\u05de\u05e8\u05db\u05d6",Left:"\u05e9\u05de\u05d0\u05dc","--Not Set--":"--\u05dc\u05d0 \u05e0\u05e7\u05d1\u05e2--",Src:"\u05de\u05e7\u05d5\u05e8",Title:"\u05db\u05d5\u05ea\u05e8\u05ea",Alternative:"\u05db\u05d9\u05ea\u05d5\u05d1 \u05d7\u05dc\u05d5\u05e4\u05d9",Link:"\u05e7\u05d9\u05e9\u05d5\u05e8","Open link in new tab":"\u05e4\u05ea\u05d7 \u05d1\u05db\u05e8\u05d8\u05d9\u05e1\u05d9\u05d4 \u05d7\u05d3\u05e9\u05d4",Image:"\u05ea\u05de\u05d5\u05e0\u05d4",file:"\u05e7\u05d5\u05d1\u05e5","Image properties":"\u05de\u05d0\u05e4\u05d9\u05d9\u05e0\u05d9 \u05ea\u05de\u05d5\u05e0\u05d4",Cancel:"\u05d1\u05d9\u05d8\u05d5\u05dc",Ok:"\u05d0\u05d9\u05e9\u05d5\u05e8","Your code is similar to HTML. Keep as HTML?":"\u05d4\u05e7\u05d5\u05d3 \u05d3\u05d5\u05de\u05d4 \u05dcHTML, \u05d4\u05d0\u05dd \u05dc\u05d4\u05e9\u05d0\u05d9\u05e8 \u05dbHTML","Paste as HTML":"\u05d4\u05d3\u05d1\u05e7 \u05dbHTML",Keep:"\u05d4\u05e9\u05d0\u05e8",Clean:"\u05e0\u05e7\u05d4","Insert as Text":"\u05d4\u05db\u05e0\u05e1 \u05db\u05d8\u05e7\u05e1\u05d8","Word Paste Detected":'\u05d6\u05d5\u05d4\u05ea\u05d4 \u05d4\u05d3\u05d1\u05e7\u05d4 \u05de"\u05d5\u05d5\u05e8\u05d3"',"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"\u05d4\u05ea\u05d5\u05db\u05df \u05d4\u05de\u05d5\u05d3\u05d1\u05e7 \u05de\u05d2\u05d9\u05e2 \u05de\u05de\u05e1\u05de\u05da \u05d5\u05d5\u05e8\u05d3/\u05d0\u05e7\u05e1\u05dc. \u05d4\u05d0\u05dd \u05d1\u05e8\u05e6\u05d5\u05e0\u05da \u05dc\u05d4\u05e9\u05d0\u05d9\u05e8 \u05d0\u05ea \u05d4\u05e2\u05d9\u05e6\u05d5\u05d1 \u05d0\u05d5 \u05dc\u05e0\u05e7\u05d5\u05ea\u05d5","Insert only Text":"\u05d4\u05db\u05e0\u05e1 \u05d8\u05e7\u05e1\u05d8 \u05d1\u05dc\u05d1\u05d3","File Browser":"\u05e1\u05d9\u05d9\u05e8 \u05d4\u05e7\u05d1\u05e6\u05d9\u05dd","Error on load list":"\u05e9\u05d2\u05d9\u05d0\u05d4 \u05d1\u05d6\u05de\u05df \u05d8\u05e2\u05d9\u05e0\u05ea \u05e8\u05e9\u05d9\u05de\u05d4","Error on load folders":"\u05e9\u05d2\u05d9\u05d0\u05d4 \u05d1\u05d6\u05de\u05df \u05d8\u05e2\u05d9\u05e0\u05ea \u05ea\u05e7\u05d9\u05d5\u05ea","Are you sure?":"\u
105d4\u05d0\u05dd \u05d0\u05ea\u05d4 \u05d1\u05d8\u05d5\u05d7?","Enter Directory name":"\u05d4\u05db\u05e0\u05e1 \u05e9\u05dd \u05ea\u05e7\u05d9\u05d4","Create directory":"\u05e6\u05d5\u05e8 \u05ea\u05e7\u05d9\u05d4","type name":"\u05e1\u05d5\u05d2 \u05d4\u05e7\u05d5\u05d1\u05e5","Drop image":"\u05d4\u05e1\u05e8 \u05ea\u05de\u05d5\u05e0\u05d4","Drop file":"\u05d4\u05e1\u05e8 \u05e7\u05d5\u05d1\u05e5","or click":"\u05d0\u05d5 \u05dc\u05d7\u05e5","Alternative text":"\u05db\u05d9\u05ea\u05d5\u05d1 \u05d7\u05dc\u05d5\u05e4\u05d9",Browse:"\u05e1\u05d9\u05d9\u05e8",Upload:"\u05d4\u05e2\u05dc\u05d4",Background:"\u05e8\u05e7\u05e2",Text:"\u05d8\u05e7\u05e1\u05d8",Top:"\u05e2\u05dc\u05d9\u05d5\u05df",Middle:"\u05de\u05e8\u05db\u05d6",Bottom:"\u05ea\u05d7\u05ea\u05d5\u05df","Insert column before":"\u05d4\u05db\u05e0\u05e1 \u05e2\u05de\u05d5\u05d3\u05d4 \u05dc\u05e4\u05e0\u05d9","Insert column after":"\u05d4\u05db\u05e0\u05e1 \u05e2\u05de\u05d5\u05d3\u05d4 \u05d0\u05d7\u05e8\u05d9","Insert row above":"\u05d4\u05db\u05e0\u05e1 \u05e9\u05d5\u05e8\u05d4 \u05de\u05e2\u05dc","Insert row below":"\u05d4\u05db\u05e0\u05e1 \u05e9\u05d5\u05e8\u05d4 \u05de\u05ea\u05d7\u05ea","Delete table":"\u05de\u05d7\u05e7 \u05d8\u05d1\u05dc\u05d4","Delete row":"\u05de\u05d7\u05e7 \u05e9\u05d5\u05e8\u05d4","Delete column":"\u05de\u05d7\u05e7 \u05e2\u05de\u05d5\u05d3\u05d4","Empty cell":"\u05e8\u05d5\u05e7\u05df \u05ea\u05d0",Delete:"\u05de\u05d7\u05e7","Strike through":"\u05e7\u05d5 \u05d7\u05d5\u05e6\u05d4",Underline:"\u05e7\u05d5 \u05ea\u05d7\u05ea\u05d5\u05df",Break:"\u05e9\u05d1\u05d9\u05e8\u05ea \u05e9\u05d5\u05e8\u05d4","Search for":"\u05d7\u05e4\u05e9","Replace with":"\u05d4\u05d7\u05dc\u05e3 \u05d1",Replace:"\u05dc\u05d4\u05d7\u05dc\u05d9\u05e3",Edit:"\u05e2\u05e8\u05d5\u05da","Vertical align":"\u05d9\u05d9\u05e9\u05d5\u05e8 \u05d0\u05e0\u05db\u05d9","Horizontal align":"\u05d9\u05d9\u05e9\u05d5\u05e8 \u05d0\u05d5\u05e4\u05e7\u05d9",Filter:"\u05e1\u05e0\u05df","Sort by changed":"\u05de\u05d9\u05df \u05dc\u05e4\u05d9 \u05e9\u05d9\u05e0\u05d5\u05d9","Sort by name":"\u05de\u05d9\u05d9\u05df \u05dc\u05e4\u05d9 \u05e9\u05dd","Sort by size":"\u05de\u05d9\u05d9\u05df \u05dc\u05e4\u05d9 \u05d2\u05d5\u05d3\u05dc","Add folder":"\u05d4\u05d5\u05e1\u05e3 \u05ea\u05e7\u05d9\u05d9\u05d4",Split:"\u05e4\u05d9\u05e6\u05d5\u05dc","Split vertical":"\u05e4\u05d9\u05e6\u05d5\u05dc \u05d0\u05e0\u05db\u05d9","Split horizontal":"\u05e4\u05d9\u05e6\u05d5\u05dc \u05d0\u05d5\u05e4\u05e7\u05d9",Merge:"\u05de\u05d6\u05d2","Add column":"\u05d4\u05d5\u05e1\u05e3 \u05e2\u05de\u05d5\u05d3\u05d4","Add row":"\u05d4\u05d5\u05e1\u05e3 \u05e9\u05d5\u05e8\u05d4",Border:"\u05de\u05e1\u05d2\u05e8\u05ea","Embed code":"\u05d4\u05d5\u05e1\u05e3 \u05e7\u05d5\u05d3",Update:"\u05e2\u05d3\u05db\u05df",superscript:"superscript",subscript:"subscript","Cut selection":"\u05d2\u05d6\u05d5\u05e8 \u05d1\u05d7\u05d9\u05e8\u05d4",Paste:"\u05d4\u05d3\u05d1\u05e7","Choose Content to Paste":"\u05d1\u05d7\u05e8 \u05ea\u05d5\u05db\u05df \u05dc\u05d4\u05d3\u05d1\u05e7\u05d4","Chars: %d":"\u05ea\u05d5\u05d5\u05d9\u05dd: %d","Words: %d":"\u05de\u05d9\u05dc\u05d9\u05dd: %d",All:"\u05d4\u05db\u05dc","Select %s":"\u05e0\u05d1\u05d7\u05e8: %s","Select all":"\u05d1\u05d7\u05e8 \u05d4\u05db\u05dc",source:"HTML",bold:"\u05de\u05d5\u05d3\u05d2\u05e9",italic:"\u05e0\u05d8\u05d5\u05d9",brush:"\u05de\u05d1\u05e8\u05e9\u05ea",link:"\u05e7\u05d9\u05e9\u05d5\u05e8",undo:"\u05d1\u05d8\u05dc",redo:"\u05d1\u05e6\u05e2 \u05e9\u05d5\u05d1",table:"\u05d8\u05d1\u05dc\u05d4",image:"\u05ea\u05de\u05d5\u05e0\u05d4",eraser:"\u05de\u05d7\u05e7",paragraph:"\u05e4\u05e1\u05e7\u05d4",fontsize:"\u05d2\u05d5\u05d3\u05dc \u05d2\u05d5\u05e4\u05df",video:"\u05d5\u05d9\u05d3\u05d0\u05d5",font:"\u05d2\u05d5\u05e4\u05df",about:"\u05e2\u05dc\u05d9\u05e0\u05d5",print:"\u05d4\u05d3\u05e4\u05e1",underline:"\u05e7\u05d5 \u05ea\u05d7\u05ea\u05d5\u05df",strikethrough:"\u05e7\u05d5 \u05d7\u05d5\u05e6\u05d4",indent:"\u05d4\u05d2\u05d3\u05dc \u05db\u05e0\u05d9\u05e1\u05d4",outdent:"\u05d4\u05e7\u05d8\u05df \u05db\u05e0\u05d9\u05e1\u05d4",fullsize:"\u05d2\u05d5\u05d3\u05dc \u05de\u05dc\u05d0",shrink:"\u05db\u05d5\u05d5\u05e5",hr:"\u05e7\u05d5 \u05d0\u05d5\u05e4\u05e7\u05d9",ul:"\u05e8\u
105e9\u05d9\u05de\u05ea \u05ea\u05d1\u05dc\u05d9\u05d8\u05d9\u05dd",ol:"\u05e8\u05e9\u05d9\u05de\u05d4 \u05de\u05de\u05d5\u05e1\u05e4\u05e8\u05ea",cut:"\u05d7\u05ea\u05d5\u05da",selectall:"\u05d1\u05d7\u05e8 \u05d4\u05db\u05dc","Open link":"\u05e4\u05ea\u05d7 \u05e7\u05d9\u05e9\u05d5\u05e8","Edit link":"\u05e2\u05e8\u05d5\u05da \u05e7\u05d9\u05e9\u05d5\u05e8","No follow":"\u05dc\u05dc\u05d0 \u05de\u05e2\u05e7\u05d1",Unlink:"\u05d1\u05d8\u05dc \u05e7\u05d9\u05e9\u05d5\u05e8",Eye:"\u05d4\u05e6\u05d2",pencil:"\u05db\u05d3\u05d9 \u05dc\u05e2\u05e8\u05d5\u05da"," URL":"\u05db\u05ea\u05d5\u05d1\u05ea",Reset:"\u05d0\u05e4\u05e1",Save:"\u05e9\u05de\u05d5\u05e8","Save as ...":"\u05e9\u05de\u05d5\u05e8 \u05d1\u05e9\u05dd...",Resize:"\u05e9\u05e0\u05d4 \u05d2\u05d5\u05d3\u05dc",Crop:"\u05d7\u05ea\u05d5\u05da",Width:"\u05e8\u05d5\u05d7\u05d1",Height:"\u05d2\u05d5\u05d1\u05d4","Keep Aspect Ratio":"\u05e9\u05de\u05d5\u05e8 \u05d9\u05d7\u05e1",Yes:"\u05db\u05df",No:"\u05dc\u05d0",Remove:"\u05d4\u05e1\u05e8",Select:"\u05d1\u05d7\u05e8","You can only edit your own images. Download this image on the host?":"\u05e8\u05e7 \u05e7\u05d1\u05e6\u05d9\u05dd \u05d4\u05de\u05e9\u05d5\u05d9\u05d9\u05db\u05d9\u05dd \u05e9\u05dc\u05da \u05e0\u05d9\u05ea\u05e0\u05d9\u05dd \u05dc\u05e2\u05e8\u05d9\u05db\u05d4. \u05d4\u05d0\u05dd \u05dc\u05d4\u05d5\u05e8\u05d9\u05d3 \u05d0\u05ea \u05d4\u05e7\u05d5\u05d1\u05e5?","The image has been successfully uploaded to the host!":"\u05d4\u05ea\u05de\u05d5\u05e0\u05d4 \u05e2\u05dc\u05ea\u05d4 \u05d1\u05d4\u05e6\u05dc\u05d7\u05d4!",palette:"\u05dc\u05d5\u05d7","There are no files":"\u05d0\u05d9\u05df \u05e7\u05d1\u05e6\u05d9\u05dd \u05d1\u05e1\u05e4\u05e8\u
105d9\u05d4 \u05d6\u05d5.",Rename:"\u05d4\u05d5\u05e0\u05d2\u05e8\u05d9\u05ea","Enter new name":"\u05d4\u05d6\u05df \u05e9\u05dd \u05d7\u05d3\u05e9",preview:"\u05ea\u05e6\u05d5\u05d2\u05d4 \u05de\u05e7\u05d3\u05d9\u05de\u05d4",download:"\u05d4\u05d5\u05e8\u05d3","Paste from clipboard":"\u05dc\u05d4\u05d3\u05d1\u05d9\u05e7 \u05de\u05d4\u05dc\u05d5\u05d7","Your browser doesn't support direct access to the clipboard.":"\u05d4\u05d3\u05e4\u05d3\u05e4\u05df \u05e9\u05dc\u05da \u05dc\u05d0 \u05ea\u05d5\u05de\u05da \u05d2\u05d9\u05e9\u05d4 \u05d9\u05e9\u05d9\u05e8\u05d4 \u05dc\u05dc\u05d5\u05d7.","Copy selection":"\u05d4\u05e2\u05ea\u05e7 \u05d1\u05d7\u05d9\u05e8\u05d4",copy:"\u05d4\u05e2\u05ea\u05e7","Border radius":"\u05e8\u05d3\u05d9\u05d5\u05e1 \u05d4\u05d2\u05d1\u05d5\u05dc","Show all":"\u05d4\u05e6\u05d2 \u05d0\u05ea \u05db\u05dc",Apply:"\u05d4\u05d7\u05dc","Please fill out this field":"\u05e0\u05d0 \u05dc\u05de\u05dc\u05d0 \u05e9\u05d3\u05d4 \u05d6\u05d4","Please enter a web address":"\u05d0\u05e0\u05d0 \u05d4\u05d6\u05df \u05db\u05ea\u05d5\u05d1\u05ea \u05d0\u05d9\u05e0\u05d8\u05e8\u05e0\u05d8",Default:"\u05d1\u05e8\u05d9\u05e8\u05ea \u05d4\u05de\u05d7\u05d3\u05dc",Cir
1cle:"\u05de\u05e2\u05d2\u05dc",Dot:"\u05e0\u05e7\u05d5\u05d3\u05d4",Quadrate:"\u05d4\u05e8\u05d9\u05d1\u05d5\u05e2 \u05d4\u05d6\u05d4",Find:"\u05dc\u05de\u05e6\u05d5\u05d0","Find Previous":"\u05de\u05e6\u05d0 \u05d0\u05ea \u05d4\u05e7\u05d5\u05d3\u05dd","Find Next":"\u05d7\u05e4\u05e9 \u05d0\u05ea \u05d4\u05d1\u05d0","Insert className":"\u05d4\u05db\u05e0\u05e1 \u05d0\u05ea \u05e9\u05dd \u05d4\u05db\u05d9\u05ea\u05d4","Press Alt for custom resizing":"\u05dc\u05d7\u05e5 \u05e2\u05dc \u05d0\u05dc\u05d8 \u05dc\u05e9\u05d9\u05e0\u05d5\u05d9 \u05d2\u05d5\u05d3\u05dc \u05de\u05d5\u05ea\u05d0\u05dd \u05d0\u05d9\u05e9\u05d9\u05ea","License: %s":"\u05e8\u05d9\u05e9\u05d9\u05d5\u05df: %s"},hu:{"Type something":"\xcdrjon be valamit",Advanced:"Halad\xf3","About Jodit":"Joditr\xf3l","Jodit Editor":"Jodit Editor","Free Non-commercial Version":"Ingyenes v\xe1ltozat","Jodit User's Guide":"Jodit \xfatmutat\xf3","contains detailed help for using":"tov\xe1bbi seg\xedts\xe9get tartalmaz","For information about the license, please go to our website:":"Tov\xe1bbi licence inform\xe1ci\xf3k\xe9rt l\xe1togassa meg a weboldalunkat:","Buy full version":"Teljes verzi\xf3 megv\xe1s\xe1rl\xe1sa","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Minden jog fenntartva.",Anchor:"Horgony","Open in new tab":"Megnyit\xe1s \xfaj lapon","Open in fullsize":"Megnyit\xe1s teljes m\xe9retben","Clear Formatting":"Form\xe1z\xe1s t\xf6rl\xe9se","Fill color or set the text color":"H\xe1tt\xe9r/sz\xf6veg sz\xedn",Redo:"\xdajra",Undo:"Visszavon",Bold:"F\xe9lk\xf6v\xe9r",Italic:"D\u0151lt","Insert Unordered List":"Pontozott lista","Insert Ordered List":"Sz\xe1mozott lista","Align Center":"K\xf6z\xe9pre z\xe1rt","Align Justify":"Sorkiz\xe1rt","Align Left":"Balra z\xe1rt","Align Right":"Jobbra z\xe1rt","Insert Horizontal Line":"V\xedzszintes vonal besz\xfar\xe1sa","Insert Image":"K\xe9p besz\xfar\xe1s","Insert file":"F\xe1jl besz\xfar\xe1s","Insert youtube/vimeo video":"Youtube vide\xf3 besz\xfar\xe1sa","Insert link":"Link besz\xfar\xe1s","Font size":"Bet\u0171m\xe9ret","Font family":"Bet\u0171t\xedpus","Insert format block":"Form\xe1zott blokk besz\xfar\xe1sa",Normal:"Norm\xe1l","Heading 1":"Fejl\xe9c 1","Heading 2":"Fejl\xe9c 2","Heading 3":"Fejl\xe9c 3","Heading 4":"Fejl\xe9c 4",Quote:"Id\xe9zet",Code:"K\xf3d",Insert:"Besz\xfar","Insert table":"T\xe1bl\xe1zat besz\xfar\xe1sa","Decrease Indent":"Beh\xfaz\xe1s cs\xf6kkent\xe9se","Increase Indent":"Beh\xfaz\xe1s n\xf6vel\xe9se","Select Special Character":"Speci\xe1lis karakter kiv\xe1laszt\xe1sa","Insert Special Character":"Speci\xe1lis karakter besz\xfar\xe1sa","Paint format":"K\xe9p form\xe1z\xe1sa","Change mode":"N\xe9zet v\xe1lt\xe1sa",Print:"Nyomtat\xe1s",Margins:"Szeg\xe9lyek",top:"fels\u0151",right:"jobb",bottom:"als\xf3",left:"bal",Styles:"CSS st\xedlusok",Classes:"CSS oszt\xe1lyok",Align:"Igaz\xedt\xe1s",Right:"Jobbra",Center:"K\xf6z\xe9pre",Left:"Balra","--Not Set--":"Nincs",Src:"Forr\xe1s",Title:"C\xedm",Alternative:"Helyettes\xedt\u0151 sz\xf6veg",Link:"Link","Open link in new tab":"Link megnyit\xe1sa \xfaj lapon",Image:"K\xe9p",file:"F\xe1jl","Image properties":"K\xe9p tulajdons\xe1gai",Cancel:"M\xe9gsem",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"A beillesztett sz\xf6veg HTML-nek t\u0171nik. Megtartsuk HTML-k\xe9nt?","Paste as HTML":"Besz\xfar\xe1s HTML-k\xe9nt",Keep:"Megtart\xe1s",Clean:"Elvet\xe9s","Insert as Text":"Besz\xfar\xe1s sz\xf6vegk\xe9nt","Word Paste Detected":"Word-b\u0151l m\xe1solt sz\xf6veg","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\xf3l sz\xe1rmazik. Meg szeretn\xe9 tartani a form\xe1tum\xe1t?","Insert only Text":"Csak sz\xf6veg beilleszt\xe9se","File Browser":"F\xe1jl tall\xf3z\xf3","Error on load list":"Hiba a lista bet\xf6lt\xe9se k\xf6zben","Error on load folders":"Hiba a mapp\xe1k bet\xf6lt\xe9se k\xf6zben","Are you sure?":"Biztosan ezt szeretn\xe9?","Enter Directory name":"\xcdrjon be egy mappanevet","Create directory":"Mappa l\xe9trehoz\xe1sa","type name":"\xedrjon be bevet","Drop image":"H\xfazza ide a k\xe9pet","Drop file":"H\xfazza ide a f\xe1jlt","or click":"vagy kattintson","Alternative text":"Helyettes\xedt\u0151 sz\xf6veg",Browse:"Tall\xf3z",Upload:"Felt\xf6lt",Backgroun
1d:"H\xe1tt\xe9r",Text:"Sz\xf6veg",Top:"Fent",Middle:"K\xf6z\xe9pen",Bottom:"Lent","Insert column before":"Oszlop besz\xfar\xe1s el\xe9","Insert column after":"Oszlop besz\xfar\xe1s ut\xe1na","Insert row above":"Sor besz\xfar\xe1s f\xf6l\xe9","Insert row below":"Sor besz\xfar\xe1s al\xe1","Delete table":"T\xe1bl\xe1zat t\xf6rl\xe9se","Delete row":"Sor t\xf6rl\xe9se","Delete column":"Oszlop t\xf6rl\xe9se","Empty cell":"Cella tartalm\xe1nak t\xf6rl\xe9se",Delete:"T\xf6rl\xe9s","Strike through":"\xc1th\xfazott",Underline:"Al\xe1h\xfazott",Break:"Sz\xfcnet","Search for":"Keres\xe9s","Replace with":"Csere erre",Replace:"Cser\xe9lje ki",Edit:"Szerkeszt","Vertical align":"F\xfcgg\u0151leges igaz\xedt\xe1s","Horizontal align":"V\xedzszintes igaz\xedt\xe1s",Filter:"Sz\u0171r\u0151","Sort by changed":"Rendez\xe9s m\xf3dos\xedt\xe1s szerint","Sort by name":"Rendez\xe9s n\xe9v szerint","Sort by size":"Rendez\xe9s m\xe9ret szerint","Add folder":"Mappa hozz\xe1ad\xe1s","Split vertical":"F\xfcgg\u0151leges feloszt\xe1s","Split horizontal":"V\xedzszintes feloszt\xe1s",Merge:"\xd6sszevon\xe1s","Add column":"Oszlop hozz\xe1ad\xe1s","Add row":"Sor hozz\xe1ad\xe1s",Border:"Szeg\xe9ly","Embed code":"Be\xe1gyazott k\xf3d",Update:"Friss\xedt",superscript:"Fels\u0151 index",subscript:"Als\xf3 index","Cut selection":"Kiv\xe1g\xe1s",Paste:"Beilleszt\xe9s","Choose Content to Paste":"V\xe1lasszon tartalmat a beilleszt\xe9shez",Split:"Feloszt\xe1s","Chars: %d":"Karakterek sz\xe1ma: %d","Words: %d":"Szavak sz\xe1ma: %d",All:"\xd6sszes","Select %s":"Kijel\xf6l: %s","Select all":"\xd6sszes kijel\xf6l\xe9se",source:"HTML",bold:"F\xe9lk\xf6v\xe9r",italic:"D\u0151lt",brush:"Ecset",link:"Link",undo:"Visszavon",redo:"\xdajra",table:"T\xe1bl\xe1zat",image:"K\xe9p",eraser:"T\xf6rl\xe9s",paragraph:"Paragr\xe1fus",fontsize:"Bet\u0171m\xe9ret",video:"Vide\xf3",font:"Bet\u0171",about:"R\xf3lunk",print:"Nyomtat",underline:"Al\xe1h\xfazott",strikethrough:"\xc1th\xfazott",indent:"Beh\xfaz\xe1s",outdent:"Aussenseiter",fullsize:"Teljes m\xe9ret",shrink:"\xd6sszenyom",hr:"Egyenes vonal",ul:"Lista",ol:"Sz\xe1mozott lista",cut:"Kiv\xe1g",selectall:"\xd6sszes kijel\xf6l\xe9se","Open link":"Link megnyit\xe1sa","Edit link":"Link szerkeszt\xe9se","No follow":"Nincs k\xf6vet\xe9s",Unlink:"Link lev\xe1laszt\xe1sa",Eye:"fel\xfclvizsg\xe1lat",pencil:"Szerkeszt\xe9s"," URL":"URL",Reset:"Vissza\xe1ll\xedt",Save:"Ment\xe9s","Save as ...":"Ment\xe9s m\xe1sk\xe9nt...",Resize:"\xc1tm\xe9retez\xe9s",Crop:"Kiv\xe1g",Width:"Sz\xe9less\xe9g",Height:"Magass\xe1g","Keep Aspect Ratio":"K\xe9par\xe1ny megtart\xe1sa",Yes:"Igen",No:"Nem",Remove:"Elt\xe1vol\xedt",Select:"Kijel\xf6l","You can only edit your own images. Download this image on the host?":"Csak a saj\xe1t k\xe9peit tudja szerkeszteni. Let\xf6lti ezt a k\xe9pet?","The image has been successfully uploaded to the host!":"K\xe9p sikeresen felt\xf6ltve!",palette:"Palette","There are no files":"Er zijn geen bestanden in deze map.",Rename:"\xe1tnevez\xe9s","Enter new name":"Adja meg az \xfaj nevet",preview:"el\u0151n\xe9zet",download:"Let\xf6lt\xe9s","Paste from clipboard":"Illessze be a v\xe1g\xf3lap","Your browser doesn't support direct access to the clipboard.":"A b\xf6ng\xe9sz\u0151 nem t\xe1mogatja a k\xf6zvetlen hozz\xe1f\xe9r\xe9st biztos\xedt a v\xe1g\xf3lapra.","Copy selection":"M\xe1sol\xe1s kiv\xe1laszt\xe1sa",copy:"m\xe1sol\xe1s","Border radius":"Hat\xe1r sug\xe1r","Show all":"\xd6sszes",Apply:"Alkalmazni","Please fill out this field":"K\xe9rj\xfck, t\xf6ltse ki ezt a mez\u0151t,","Please enter a web address":"K\xe9rj\xfck, \xedrja be a webc\xedmet",Default:"Alap\xe9rtelmezett",Circle:"K\xf6r",Dot:"Pont",Quadrate:"Quadrate",Find:"Tal\xe1lni","Find Previous":"Megtal\xe1lja El\u0151z\u0151","Find Next":"K\xf6vetkez\u0151 Keres\xe9se","Insert className":"Helyezze be az oszt\xe1ly nev\xe9t","Press Alt for custom resizing":"Nyomja meg az Alt egy\xe9ni \xe1tm\xe9retez\xe9s","License: %s":"Licenc: %s"},id:{"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 \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Hak Cipta \xa9 XDSoft.net - Chupurnov Valeriy. Hak cipta dilindungi undang-undang.",Anchor:"Tautan","Open in new tab":"Buka di tab baru","Open 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":"Sisi
1pkan 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",underline:"garis bawah",strikethrough:"coret",indent:"menjorok ke dalam",outdent:"menjorok ke luar",fullsize:"ukuran penuh",shrink:"menyusut",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","Press Alt for custom resizing":"Tekan Alt untuk mengubah ukuran kustom"},it:{"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
1sito web:","Buy full version":"Acquista la versione completa","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Tutti i diritti riservati.",Anchor:"Link","Open in new tab":"Apri in una nuova scheda","Open in fullsize":"Apri l'editor a schermo intero","Clear Formatting":"Pulisci Formattazione","Fill color or set the text color":"Colore di sfondo o del testo",Redo:"Ripristina",Undo:"Annulla",Bold:"Grassetto",Italic:"Corsivo","Insert Unordered List":"Inserisci lista non ordinata","Insert Ordered List":"Inserisci lista ordinata","Align Center":"Allinea al centro","Align Justify":"Allineamento Giustificato","Align Left":"Allinea a Sinistra","Align Right":"Allinea a Destra","Insert Horizontal Line":"Inserisci una linea orizzontale","Insert Image":"Inserisci immagine","Insert file":"Inserisci un file","Insert youtube/vimeo video":"Inserisci video Youtube/Vimeo","Insert link":"Inserisci link","Font size":"Dimensione carattere","Font family":"Tipo di font","Insert format block":"Inserisci blocco",Normal:"Normale","Heading 1":"Intestazione 1","Heading 2":"Intestazione 2","Heading 3":"Intestazione 3","Heading 4":"Intestazione 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 un carattere speciale","Insert Special Character":"Inserisci un carattere speciale","Paint format":"Copia formato","Change mode":"Cambia modalita'",Margins:"Margini",top:"su",right:"destra",bottom:"gi\xf9",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","Image properties":"Propriet\xe0 dell'immagine",Cancel:"Annulla",Ok:"Accetta","Your code is similar to HTML. Keep as HTML?":"Il codice \xe8 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":"Incolla testo 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 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":"Digita il nome","Drop image":"Cancella immagine","Drop file":"Cancella file","or click":"o clicca","Alternative text":"Testo alternativo",Browse:"Sfoglia",Upload:"Carica",Background:"Sfondo",Text:"Testo",Top:"Su",Middle:"Centro",Bottom:"Sotto","Insert column before":"Inserisci la colonna prima","Insert column after":"Inserisci la 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 per","Replace with":"Sostituisci con",Replace:"Sostituisci",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:"Dividi","Split vertical":"Dividi verticalmente","Split horizontal":"Dividi orizzontale",Merge:"Fondi","Add column":"Aggiungi colonna","Add row":"Aggiungi riga",Border:"Bordo","Embed code":"Includi codice",Update:"Aggiorna",superscript:"indice",subscript:"pedice","Cut selection":"Taglia 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:"risorsa",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",underline:"Sottolineato",strikethrough:"Barrato",indent:"aumenta rientro",outdent:"riduci rientro",fullsize:"espandi",shrink:"comprimi",hr:"linea orizzontale",ul:"lista non ordinata",ol
1:"lista ordinata",cut:"Taglia",selectall:"Seleziona tutto","Open link":"Apri link","Edit link":"Modifica link","No follow":"Non seguire",Unlink:"Rimuovi link",Eye:"Recensione",pencil:"Per modificare"," URL":" URL",Reset:"Reset",Save:"Salva","Save as ...":"Salva con nome...",Resize:"Ridimensiona",Crop:"Ritaglia",Width:"Larghezza",Height:"Altezza","Keep Aspect Ratio":"Mantieni le proporzioni",Yes:"Si",No:"No",Remove:"Rimuovi",Select:"Seleziona","You can only edit your own images. Download this image on the host?":"Puoi modificare solo le tue immagini. Vuoi scaricare questa immagine dal server?","The image has been successfully uploaded to the host!":"L'immagine \xe8 stata caricata correttamente sul server!",palette:"tavolozza","There are no files":"Non ci sono file in questa directory.",Rename:"Rinomina","Enter new name":"Inserisci un nuovo nome",preview:"anteprima",download:"Scarica","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":"Copia selezione",copy:"copia","Border radius":"Border radius","Show all":"Mostra tutti",Apply:"Applica","Please fill out this field":"Si prega di compilare questo campo","Please enter a web address":"Si prega di inserire un indirizzo web",Default:"Default",Circle:"Cerchio",Dot:"Punto",Quadrate:"Quadrato","Lower Alpha":"Lettera Minuscola","Lower Greek":"Lettera Greca Minuscola","Lower Roman":"Numero Romano Minuscolo","Upper Alpha":"Lettera Maiuscola","Upper Roman":"Numero Romano Maiuscolo",Find:"Trova","Find Previous":"Trova Precedente","Find Next":"Trova Successivo","Insert className":"Inserisci il nome della classe","Press Alt for custom resizing":"Premere Alt per il ridimensionamento personalizzato","License: %s":"Licenza: %s"},ja:{"Type something":"\u306a\u306b\u304b\u30bf\u30a4\u30d7\u3057\u3066\u304f\u3060\u3055\u3044",Advanced:"\u9ad8\u5ea6\u306a\u8a2d\u5b9a","About Jodit":"Jodit\u306b\u3064\u3044\u3066","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Jodit \u30e6\u30fc\u30b6\u30fc\u30ba\u30fb\u30ac\u30a4\u30c9","contains detailed help for using":"\u8a73\u3057\u3044\u4f7f\u3044\u65b9","For information about the license, please go to our website:":"\u30e9\u30a4\u30bb\u30f3\u30b9\u8a73\u7d30\u306b\u3064\u3044\u3066\u306fJodit Web\u30b5\u30a4\u30c8\u3092\u78ba\u8a8d\u304f\u3060\u3055\u3044\uff1a","Buy full version":"\u30d5\u30eb\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u8cfc\u5165","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.",Anchor:"Anchor","Open in new tab":"\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f","Open in fullsize":"\u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u30b5\u30a4\u30ba\uff08\u30d5\u30eb/\u30ce\u30fc\u30de\u30eb\uff09","Clear Formatting":"\u66f8\u5f0f\u3092\u30af\u30ea\u30a2","Fill color or set the text color":"\u30c6\u30ad\u30b9\u30c8\u306e\u8272",Redo:"\u3084\u308a\u76f4\u3057",Undo:"\u5143\u306b\u623b\u3059",Bold:"\u592a\u5b57",Italic:"\u659c\u4f53","Insert Unordered List":"\u7b87\u6761\u66f8\u304d","Insert Ordered List":"\u756a\u53f7\u4ed8\u304d\u30ea\u30b9\u30c8","Align Center":"\u4e2d\u592e\u63c3\u3048","Align Justify":"\u4e21\u7aef\u63c3\u3048","Align Left":"\u5de6\u63c3\u3048","Align Right":"\u53f3\u63c3\u3048","Insert Horizontal Line":"\u533a\u5207\u308a\u7dda\u3092\u633f\u5165","Insert Image":"\u753b\u50cf\u3092\u633f\u5165","Insert file":"\u30d5\u30a1\u30a4\u30eb\u3092\u633f\u5165","Insert youtube/vimeo video":"Youtube/Vimeo \u52d5\u753b","Insert link":"\u30ea\u30f3\u30af\u3092\u633f\u5165","Font size":"\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba","Font family":"\u30d5\u30a9\u30f3\u30c8","Insert format block":"\u30c6\u30ad\u30b9\u30c8\u306e\u30b9\u30bf\u30a4\u30eb",Normal:"\u6307\u5b9a\u306a\u3057","Heading 1":"\u30bf\u30a4\u30c8\u30eb1","Heading 2":"\u30bf\u30a4\u30c8\u30eb2","Heading 3":"\u30bf\u30a4\u30c8\u30eb3","Heading 4":"\u30bf\u30a4\u30c8\u30eb4",Quote:"\u5f15\u7528",Code:"\u30b3\u30fc\u30c9",Insert:"\u633f\u5165","Insert table":"\u8868\u3092\u633f\u5165","Decrease Indent":"\u30a4\u30f3\u30c7\u30f3\u30c8\u6e1b","Increase Indent":"\u30a4\u30f3\u30c7\u30f3\u30c8\u5897","Select Special Character":"\u7279\u6b8a\u6587\u5b57\u3092\u9078\u629e","Insert Special Character":"\u7279\u6b8a\u6587\u5b57\u3092\u633f\u5165","Paint format":"\u66f8\u5f0f\u3092\u8cbc\u4ed8\u3051","Change mode":"\u7de8\u96c6\u30e2\u30fc\u30c9\u5207\u66ff\u3048",Margins:"\u30de\u30fc\u30b8\u30f3",top:"\u4e0a",right:"\u53f3",bottom:"\u4e0b",left:"\u5de6",Styles:"\u30b9\u30bf\u30a4\u30eb",Classes:"\u30af\u30e9\u30b9",Align:"\u914d\u7f6e",Right:"\u53f3\u5bc4\u305b",Center:"\u4e2d\u592e\u5bc4\u305b",Left:"\u5de6\u5bc4\u305b","--Not Set--":"\u6307\u5b9a\u306a\u3057",Src:"\u30bd\u30fc\u30b9",Title:"\u30bf\u30a4\u30c8\u30eb",Alternative:"\u4ee3\u66ff\u30c6\u30ad\u30b9\u30c8",Link:"\u30ea\u30f3\u30af","Open link in new tab":"\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f",Image:"\u753b\u50cf",file:"\u30d5\u30a1\u30a4\u30eb","Image properties":"\u753b\u50cf\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u30fc",Cancel:"\u30ad\u30e3\u30f3\u30bb\u30eb",Ok:"\u78ba\u5b9a","Your code is similar to HTML. Keep as HTML?":"HTML\u30b3\u30fc\u30c9\u3092\u4fdd\u6301\u3057\u307e\u3059\u304b\uff1f","Paste as HTML":"HTML\u3067\u8cbc\u4ed8\u3051",Keep:"HTML\u3092\u4fdd\u6301",Clean:"Clean","Insert as Text":"HTML\u3092\u30c6\u30ad\u30b9\u30c8\u306b\u3059\u308b","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":"\u30c6\u30ad\u30b9\u30c8\u3060\u3051","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":"\u3053\u3053\u306b\u753b\u50cf\u3092\u30c9\u30ed\u30c3\u30d7","Drop file":"\u3053\u3053\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u30c9\u30ed\u30c3\u30d7","or click":"or \u30af\u30ea\u30c3\u30af","Alternative text":"\u4ee3\u66ff\u30c6\u30ad\u30b9\u30c8",Browse:"\u30d6\u30e9\u30a6\u30ba",Upload:"\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9",Backgroun
1d:"\u80cc\u666f",Text:"\u6587\u5b57",Top:"\u4e0a",Middle:"\u4e2d\u592e",Bottom:"\u4e0b","Insert column before":"\u5de6\u306b\u5217\u3092\u633f\u5165","Insert column after":"\u53f3\u306b\u5217\u3092\u633f\u5165","Insert row above":"\u4e0a\u306b\u884c\u3092\u633f\u5165","Insert row below":"\u4e0b\u306b\u884c\u3092\u633f\u5165","Delete table":"\u8868\u3092\u524a\u9664","Delete row":"\u884c\u3092\u524a\u9664","Delete column":"\u5217\u3092\u524a\u9664","Empty cell":"\u30bb\u30eb\u3092\u7a7a\u306b\u3059\u308b","Chars: %d":"\u6587\u5b57\u6570: %d","Words: %d":"\u5358\u8a9e\u6570: %d","Strike through":"\u53d6\u308a\u6d88\u3057\u7dda",Underline:"\u4e0b\u7dda",superscript:"\u4e0a\u4ed8\u304d\u6587\u5b57",subscript:"\u4e0b\u4ed8\u304d\u6587\u5b57","Cut selection":"\u5207\u308a\u53d6\u308a","Select all":"\u3059\u3079\u3066\u9078\u629e",Break:"Pause","Search for":"\u691c\u7d22","Replace with":"\u7f6e\u63db",Replace:"\u4ea4\u63db",Paste:"\u8cbc\u4ed8\u3051","Choose Content to Paste":"\u9078\u629e\u3057\u305f\u5185\u5bb9\u3092\u8cbc\u4ed8\u3051",All:"\u5168\u90e8",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",underline:"underline",strikethrough:"strikethrough",indent:"indent",outdent:"outdent",fullsize:"fullsize",shrink:"shrink",hr:"\u5206\u5272\u7dda",ul:"\u7b87\u6761\u66f8\u304d",ol:"\u756a\u53f7\u4ed8\u304d\u30ea\u30b9\u30c8",cut:"\u5207\u308a\u53d6\u308a",selectall:"\u3059\u3079\u3066\u9078\u629e","Open link":"\u30ea\u30f3\u30af\u3092\u958b\u304f","Edit link":"\u30ea\u30f3\u30af\u3092\u7de8\u96c6","No follow":"No follow",Unlink:"\u30ea\u30f3\u30af\u89e3\u9664",Eye:"\u30b5\u30a4\u30c8\u3092\u78ba\u8a8d"," URL":"URL",Reset:"\u30ea\u30bb\u30c3\u30c8",Save:"\u4fdd\u5b58","Save as ...":"Save as ...",Resize:"\u30ea\u30b5\u30a4\u30ba",Crop:"Crop",Width:"\u5e45",Height:"\u9ad8\u3055","Keep Aspect Ratio":"\u7e26\u6a2a\u6bd4\u3092\u4fdd\u6301",Yes:"\u306f\u3044",No:"\u3044\u3044\u3048",Remove:"\u79fb\u9664",Select:"\u9078\u629e","Select %s":"\u9078\u629e: %s",Update:"\u66f4\u65b0","Vertical align":"\u5782\u76f4\u65b9\u5411\u306e\u914d\u7f6e",Merge:"\u30bb\u30eb\u306e\u7d50\u5408","Add column":"\u5217\u3092\u8ffd\u52a0","Add row":"\u884c\u3092\u8ffd\u52a0",Border:"\u5883\u754c\u7dda","Embed code":"\u57cb\u3081\u8fbc\u307f\u30b3\u30fc\u30c9",Delete:"\u524a\u9664",Edit:"\u7de8\u96c6","Horizontal align":"\u6c34\u5e73\u65b9\u5411\u306e\u914d\u7f6e",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:"\u5206\u5272","Split vertical":"\u30bb\u30eb\u306e\u5206\u5272\uff08\u5782\u76f4\u65b9\u5411\uff09","Split horizontal":"\u30bb\u30eb\u306e\u5206\u5272\uff08\u6c34\u5e73\u65b9\u5411\uff09","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:"\u30d1\u30ec\u30c3\u30c8",pencil:"\u925b\u7b46","There are no files":"There are no files",Rename:"Rename","Enter new name":"Enter new name",preview:"\u30d7\u30ec\u30d3\u30e5\u30fc",download:"\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9","Paste from clipboard":"\u8cbc\u308a\u4ed8\u3051","Your browser doesn't support direct access to the clipboard.":"\u304a\u4f7f\u3044\u306e\u30d6\u30e9\u30a6\u30b6\u306f\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u3092\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093","Copy selection":"\u30b3\u30d4\u30fc",copy:"copy","Border radius":"\u89d2\u306e\u4e38\u307f","Show all":"\u5168\u3066\u8868\u793a",Apply:"\u9069\u7528","Please fill out this field":"\u307e\u3060\u3053\u306e\u5206\u91ce","Please enter a web address":"\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u30a6\u30a7\u30d6\u30a2\u30c9\u30ec\u30b9",Default:"\u30c7\u30d5\u30a9\u30eb\u30c8",Circle:"\u767d\u4e38",Dot:"\u9ed2\u4e38",Quadrate:"\u56db\u89d2",Find:"\u898b","Find Previous":"\u63a2\u524d","Find Next":"\u7531\u6765","Lower Alpha":"\u82f1\u5c0f\u6587\u5b57","Lower Greek":"\u30ae\u30ea\u30b7\u30e3\u6587\u5b57","Lower Roman":"\u30ed\u30fc\u30de\u6570\u5b57\u5c0f\u6587\u5b57","Upper Alpha":"\u82f1\u5927\u6587\u5b57","Upper Roman":"\u30ed\u30fc\u30de\u6570\u5b57\u5927\u6587\u5b57","Insert className":"\u30af\u30e9\u30b9\u540d\u3092\u633f\u5165","Press Alt for custom resizing":"\u30ab\u30b9\u30bf\u30e0\u30b5\u30a4\u30ba\u5909\u
166f4\u306e\u305f\u3081\u306eAlt\u30ad\u30fc\u3092\u62bc\u3057\u307e\u3059","License: %s":"\u30e9\u30a4\u30bb\u30f3\u30b9: %s"},ko:{"Type something":"\ubb34\uc5c7\uc774\ub4e0 \uc785\ub825\ud558\uc138\uc694","About Jodit":"Jodit\uc5d0 \ub300\ud558\uc5ec","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Jodit \uc0ac\uc6a9\uc790 \uc548\ub0b4\uc11c","contains detailed help for using":"\uc790\uc138\ud55c \ub3c4\uc6c0\ub9d0\uc774 \ub4e4\uc5b4\uc788\uc5b4\uc694","For information about the license, please go to our website:":"\ub77c\uc774\uc13c\uc2a4\uc5d0 \uad00\ud574\uc11c\ub294 Jodit \uc6f9 \uc0ac\uc774\ud2b8\ub97c \ubc29\ubb38\ud574\uc8fc\uc138\uc694\uff1a","Buy full version":"\ud480 \ubc84\uc804 \uad6c\uc785\ud558\uae30","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"\xa9 XDSoft.net - Chupurnov Valeriy. \uc5d0\uac8c \uc800\uc791\uad8c\uacfc \ubaa8\ub4e0 \uad8c\ub9ac\uac00 \uc788\uc2b5\ub2c8\ub2e4.",Anchor:"Anchor","Open in new tab":"\uc0c8 \ud0ed\uc5d0\uc11c \uc5f4\uae30","Open in fullsize":"\uc804\uccb4 \ud06c\uae30\ub85c \ubcf4\uae30","Clear Formatting":"\uc11c\uc2dd \uc9c0\uc6b0\uae30","Fill color or set the text color":"\uae00\uc528 \uc0c9\uc0c1",Redo:"\uc7ac\uc2e4\ud589",Undo:"\uc2e4\ud589 \ucde8\uc18c",Bold:"\uad75\uac8c",Italic:"\uae30\uc6b8\uc784","Insert Unordered List":"\uae00\uba38\ub9ac \ubaa9\ub85d","Insert Ordered List":"\ubc88\ud638 \ubaa9\ub85d","Align Center":"\uac00\uc6b4\ub370 \uc815\ub82c","Align Justify":"\uc591\ucabd \uc815\ub82c","Align Left":"\uc67c\ucabd \uc815\ub82c","Align Right":"\uc624\ub978\ucabd \uc815\ub82c","Insert Horizontal Line":"\uc218\ud3c9 \uad6c\ubd84\uc120 \ub123\uae30","Insert Image":"\uc774\ubbf8\uc9c0 \ub123\uae30","Insert file":"\ud30c\uc77c \ub123\uae30","Insert youtube/vimeo video":"Youtube/Vimeo \ub3d9\uc601\uc0c1","Insert link":"\ub9c1\ud06c \ub123\uae30","Font size":"\uae00\uaf34 \ud06c\uae30","Font family":"\uae00\uaf34","Insert format block":"\ube14\ub85d \uc694\uc18c \ub123\uae30",Normal:"\uc77c\ubc18 \ud14d\uc2a4\ud2b8","Heading 1":"\uc81c\ubaa9 1","Heading 2":"\uc81c\ubaa9 2","Heading 3":"\uc81c\ubaa9 3","Heading 4":"\uc81c\ubaa9 4",Quote:"\uc778\uc6a9",Code:"\ucf54\ub4dc",Insert:"\ubd99\uc5ec \ub123\uae30","Insert table":"\ud14c\uc774\ube14","Decrease Indent":"\ub4e4\uc5ec\uc4f0\uae30 \uac10\uc18c","Increase Indent":"\ub4e4\uc5ec\uc4f0\uae30 \uc99d\uac00","Select Special Character":"\ud2b9\uc218\ubb38\uc790 \uc120\ud0dd","Insert Special Character":"\ud2b9\uc218\ubb38\uc790 \uc785\ub825","Paint format":"\ud398\uc778\ud2b8 \ud615\uc2dd","Change mode":"\ud3b8\uc9d1\ubaa8\ub4dc \ubcc0\uacbd",Margins:"\ub9c8\uc9c4",top:"\uc704",right:"\uc624\ub978\ucabd",bottom:"\uc544\ub798",left:"\uc67c\ucabd",Styles:"\uc2a4\ud0c0\uc77c",Classes:"\ud074\ub798\uc2a4",Align:"\uc815\ub82c",Right:"\uc624\ub978\ucabd\uc73c\ub85c",Center:"\uac00\uc6b4\ub370\ub85c",Left:"\uc67c\ucabd\uc73c\ub85c","--Not Set--":"--\uc9c0\uc815 \uc548 \ud568--",Src:"\uacbd\ub85c(src)",Title:"\uc81c\ubaa9",Alternative:"\ub300\uccb4 \ud14d\uc2a4\ud2b8(alt)",Link:"\ub9c1\ud06c","Open link in new tab":"\uc0c8 \ud0ed\uc5d0\uc11c \uc5f4\uae30",file:"\ud30c\uc77c",Advanced:"\uace0\uae09","Image properties":"\uc774\ubbf8\uc9c0 \uc18d\uc131",Cancel:"\ucde8\uc18c",Ok:"\ud655\uc778","Your code is similar to HTML. Keep as HTML?":"HTML \ucf54\ub4dc\ub85c \uac10\uc9c0\ud588\uc5b4\uc694. \ucf54\ub4dc\uc778\ucc44\ub85c \ubd99\uc5ec\ub123\uc744\uae4c\uc694?","Paste as HTML":"HTML\ub85c \ubd99\uc5ec\ub123\uae30",Keep:"\uc6d0\ubcf8 \uc720\uc9c0",Clean:"\uc9c0\uc6b0\uae30","Insert as Text":"\ud14d\uc2a4\ud2b8\ub85c \ub123\uae30","Insert only Text":"\ud14d\uc2a4\ud2b8\ub9cc \ub123\uae30","Word Paste Detected":"Word \ubd99\uc5ec\ub123\uae30 \uac10\uc9c0","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 \ubb38\uc11c\ub85c \uac10\uc9c0\ud588\uc5b4\uc694. \uc11c\uc2dd\uc744 \uc720\uc9c0\ud55c\ucc44\ub85c \ubd99\uc5ec\ub123\uc744\uae4c\uc694?","File Browser":"\ud30c\uc77c \ud0d0\uc0c9\uae30","Error on load list":"\ubaa9\ub85d \ubd88\ub7ec\uc624\uae30 \uc5d0\ub7ec","Error on load folders":"\ud3f4\ub354 \ubd88\ub7ec\uc624\uae30","Are you sure?":"\uc815\ub9d0 \uc9c4\ud589\ud560\uae4c\uc694?","Enter Directory name":"\ub514\ub809\ud1a0\ub9ac \uc774\ub984 \uc785\ub825","Create directory":"\ub514\ub809\ud1a0\ub9ac \uc0dd\uc131","type name":"\uc774\ub984 \uc785\ub825","Drop image":"\uc774\ubbf8\uc9c0 \ub4dc\ub798\uadf8","Drop file":"\ud30c\uc77c \ub4dc\ub798\uadf8","or click":"\ud639\uc740 \ud074\ub9ad","Alternative text":"\ub300\uccb4 \ud14d\uc2a4\ud2b8",Browse:"\ud0d0\uc0c9",Upload:"\uc5c5\ub85c\ub4dc",Backgroun
1d:"\ubc30\uacbd",Text:"\ud14d\uc2a4\ud2b8",Top:"\uc704",Middle:"\uc911\uc559",Bottom:"\uc544\ub798","Insert column before":"\uc774\uc804 \uc5f4\uc5d0 \uc0bd\uc785","Insert column after":"\ub2e4\uc74c \uc5f4\uc5d0 \uc0bd\uc785","Insert row above":"\uc704 \ud589\uc5d0 \uc0bd\uc785","Insert row below":"\uc544\ub798 \ud589\uc5d0 \uc0bd\uc785","Delete table":"\ud14c\uc774\ube14 \uc0ad\uc81c","Delete row":"\ud589 \uc0ad\uc81c","Delete column":"\uc5f4 \uc0ad\uc81c","Empty cell":"\ube48 \uc140",source:"HTML \uc18c\uc2a4",bold:"\ubcfc\ub4dc",italic:"\uc774\ud0e4\ub9ad",brush:"\ube0c\ub7ec\uc2dc",link:"\ub9c1\ud06c",undo:"\uc2e4\ud589 \ucde8\uc18c",redo:"\uc7ac\uc2e4\ud589",table:"\ud14c\uc774\ube14",image:"\uc774\ubbf8\uc9c0",eraser:"\uc9c0\uc6b0\uac1c",paragraph:"\ubb38\ub2e8",fontsize:"\uae00\uaf34 \ud06c\uae30",video:"\ube44\ub514\uc624",font:"\uae00\uaf34",about:"\ud3b8\uc9d1\uae30 \uc815\ubcf4",print:"\ud504\ub9b0\ud2b8",underline:"\ubc11\uc904",strikethrough:"\ucde8\uc18c\uc120",indent:"\ub4e4\uc5ec\uc4f0\uae30",outdent:"\ub0b4\uc5b4\uc4f0\uae30",fullsize:"\uc804\uccb4 \ud654\uba74",shrink:"\uc77c\ubc18 \ud654\uba74",hr:"\uad6c\ubd84\uc120",ul:"\uae00\uba38\ub9ac \ubaa9\ub85d",ol:"\ubc88\ud638 \ubaa9\ub85d",cut:"\uc798\ub77c\ub0b4\uae30",selectall:"\ubaa8\ub450 \uc120\ud0dd","Embed code":"Embed \ucf54\ub4dc","Open link":"\ub9c1\ud06c \uc5f4\uae30","Edit link":"\ub9c1\ud06c \ud3b8\uc9d1","No follow":"No follow",Unlink:"\ub9c1\ud06c \uc81c\uac70",Eye:"\uc0ac\uc774\ud2b8 \ud655\uc778",pencil:"\uc5f0\ud544",Update:"\uac31\uc2e0"," URL":"URL",Edit:"\ud3b8\uc9d1","Horizontal align":"\uc218\ud3c9 \uc815\ub82c",Filter:"\ud544\ud130","Sort by changed":"\ubcc0\uacbd\uc77c \uc815\ub82c","Sort by name":"\uc774\ub984 \uc815\ub82c","Sort by size":"\ud06c\uae30 \uc815\ub82c","Add folder":"\uc0c8 \ud3f4\ub354",Reset:"\ucd08\uae30\ud654",Save:"\uc800\uc7a5","Save as ...":"\uc0c8\ub85c \uc800\uc7a5\ud558\uae30 ...",Resize:"\ub9ac\uc0ac\uc774\uc988",Crop:"\ud06c\ub86d",Width:"\uac00\ub85c \uae38\uc774",Height:"\uc138\ub85c \ub192\uc774","Keep Aspect Ratio":"\ube44\uc728 \uc720\uc9c0\ud558\uae30",Yes:"\ub124",No:"\uc544\ub2c8\uc624",Remove:"\uc81c\uac70",Select:"\uc120\ud0dd","Chars: %d":"\ubb38\uc790\uc218: %d","Words: %d":"\ub2e8\uc5b4\uc218: %d",All:"\ubaa8\ub450","Select all":"\ubaa8\ub450 \uc120\ud0dd","Select %s":"\uc120\ud0dd: %s","Vertical align":"\uc218\uc9c1 \uc815\ub82c",Split:"\ubd84\ud560","Split vertical":"\uc138\ub85c \uc140 \ubd84\ud560","Split horizontal":"\uac00\ub85c \uc140 \ubd84\ud560",Merge:"\uc140 \ubcd1\ud569","Add column":"\uc5f4 \ucd94\uac00","Add row":"\ud589 \ucd94\uac00",Delete:"\uc0ad\uc81c",Border:"\uc678\uacfd\uc120","License: %s":"\ub77c\uc774\uc13c\uc2a4: %s","Strike through":"\ucde8\uc18c\uc120",Underline:"\ubc11\uc904",superscript:"\uc717\ucca8\uc790",subscript:"\uc544\ub798\ucca8\uc790","Cut selection":"\uc120\ud0dd \uc798\ub77c\ub0b4\uae30",Break:"\uad6c\ubd84\uc790","Search for":"\uac80\uc0c9","Replace with":"\ub300\uccb4\ud558\uae30",Replace:"\ub300\uccb4",Paste:"\ubd99\uc5ec\ub123\uae30","Choose Content to Paste":"\ubd99\uc5ec\ub123\uc744 \ub0b4\uc6a9 \uc120\ud0dd","You can only edit your own images. Download this image on the host?":"\uc678\ubd80 \uc774\ubbf8\uc9c0\ub294 \ud3b8\uc9d1\ud560 \uc218 \uc5c6\uc5b4\uc694. \uc678\ubd80 \uc774\ubbf8\uc9c0\ub97c \ub2e4\uc6b4\ub85c\ub4dc \ud560\uae4c\uc694?","The image has been successfully uploaded to the host!":"\uc774\ubbf8\uc9c0\ub97c \ubb34\uc0ac\ud788 \uc5c5\ub85c\ub4dc \ud588\uc5b4\uc694!",palette:"\ud314\ub808\ud2b8","There are no files":"\ud30c\uc77c\uc774 \uc5c6\uc5b4\uc694",Rename:"\uc774\ub984 \ubcc0\uacbd","Enter new name":"\uc0c8 \uc774\ub984 \uc785\ub825",preview:"\ubbf8\ub9ac\ubcf4\uae30",download:"\ub2e4\uc6b4\ub85c\ub4dc","Paste from clipboard":"\ud074\ub9bd\ubcf4\ub4dc \ubd99\uc5ec\ub123\uae30","Your browser doesn't support direct access to the clipboard.":"\uc0ac\uc6a9\uc911\uc778 \ube0c\ub77c\uc6b0\uc800\uac00 \ud074\ub9bd\ubcf4\ub4dc \uc811\uadfc\uc744 \uc9c0\uc6d0\ud558\uc9c0 \uc54a\uc544\uc694.","Copy selection":"\uc120\ud0dd \ubcf5\uc0ac",copy:"\ubcf5\uc0ac","Border radius":"\ub465\uadfc \ud14c\ub450\ub9ac","Show all":"\ubaa8\ub450 \ubcf4\uae30",Apply:"\uc801\uc6a9","Please fill out this field":"\uc774 \ud56d\ubaa9\uc744 \uc785\ub825\ud574\uc8fc\uc138\uc694!","Please enter a web address":"\uc6f9 URL\uc744 \uc785\ub825\ud574\uc8fc\uc138\uc694.",Default:"\uae30\ubcf8",Circle:"\uc6d0",Dot:"\uc810",Quadrate:"\uc815\uc0ac\uac01\ud615",Find:"\ucc3e\uae30","Find Previous":"\uc774\uc804 \ucc3e\uae30","Find Next":"\ub2e4\uc74c \ucc3e\uae30","Insert className":"className \uc785\ub825","Press Alt for custom resizing":"\uc0ac\uc6a9\uc790 \uc9c0\uc815 \ud06c\uae30 \uc870\uc815\uc5d0 \ub300 \ud55c \uace0\ub3c4 \ub204\ub974\uc2ed\uc2dc\uc624"},mn:{"Type something":"\u0411\u0438\u0447\u044d\u044d\u0434 \u04af\u0437\u044d\u044d\u0440\u044d\u0439",Advanced:"\u0414\u044d\u0432\u0448\u0438\u043b\u0442\u044d\u0442","About Jodit":"Jodit-\u044b\u043d \u0442\u0430\u043b\u0430\u0430\u0440 ","Jodit Editor":"Jodit \u043f\u0440\u043e\u0433\u0440\u0430\u043c","Jodit User's Guide":"Jodit \u0433\u0430\u0440\u044b\u043d \u0430\u0432\u043b\u0430\u0433\u0430","contains detailed help for using":"\u0445\u044d\u0440\u044d\u0433\u043b\u044d\u044d\u043d\u0438\u0439 \u0442\u0430\u043b\u0430\u0430\u0440 \u0434\u044d\u043b\u0433\u044d\u0440\u044d\u043d\u0433\u04af\u0439 \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u0433 \u0430\u0433\u0443\u0443\u043b\u043d\u0430","For information about the license, please go to our website:":"\u041b\u
10438\u0446\u0435\u043d\u0437\u0438\u0439\u043d \u043c\u044d\u0434\u044d\u044d\u043b\u043b\u0438\u0439\u0433 \u043c\u0430\u043d\u0430\u0439 \u0432\u044d\u0431 \u0445\u0443\u0443\u0434\u0430\u0441\u043d\u0430\u0430\u0441 \u0430\u0432\u043d\u0430 \u0443\u0443:","Buy full version":"\u0411\u04af\u0440\u044d\u043d \u0445\u0443\u0432\u0438\u043b\u0431\u0430\u0440 \u0445\u0443\u0434\u0430\u043b\u0434\u0430\u043d \u0430\u0432\u0430\u0445","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"\u0417\u043e\u0445\u0438\u043e\u0433\u0447\u0438\u0439\u043d \u044d\u0440\u0445 \u0445\u0430\u043c\u0433\u0430\u0430\u043b\u0430\u0433\u0434\u0441\u0430\u043d \xa9 XDSoft.net - Chupurnov Valeriy. \u0411\u04af\u0445 \u044d\u0440\u0445\u0438\u0439\u0433 \u044d\u0437\u044d\u043c\u0448\u0438\u043d\u044d.",Anchor:"\u0425\u043e\u043b\u0431\u043e\u043e \u0431\u0430\u0440\u0438\u0445","Open in new tab":"\u0428\u0438\u043d\u044d \u0442\u0430\u0431\u0430\u0430\u0440 \u043d\u044d\u044d\u0445","Open in fullsize":"\u0411\u04af\u0442\u044d\u043d \u0434\u044d\u043b\u0433\u044d\u0446\u044d\u044d\u0440 \u043d\u044d\u044d\u0445","Clear Formatting":"\u0424\u043e\u0440\u043c\u0430\u0442\u044b\u0433 \u0430\u0440\u0438\u043b\u0433\u0430\u0445","Fill color or set the text color":"\u04e8\u043d\u0433\u04e9\u04e9\u0440 \u0431\u0443\u0434\u0430\u0445 \u044d\u0441\u0432\u044d\u043b \u0442\u0435\u043a\u0441\u0442\u0438\u0439\u043d \u04e9\u043d\u0433\u04e9 \u0441\u043e\u043d\u0433\u043e\u0445",Redo:"\u0414\u0430\u0445\u0438\u0445",Undo:"\u0411\u0443\u0446\u0430\u0430\u0445",Bold:"\u0422\u043e\u0434",Italic:"\u041d\u0430\u043b\u0443\u0443","Insert Unordered List":"\u0422\u044d\u043c\u0434\u044d\u0433\u0442 \u0436\u0430\u0433\u0441\u0430\u0430\u043b\u0442 \u043d\u044d\u043c\u044d\u0445","Insert Ordered List":"\u0414\u0443\u0433\u0430\u0430\u0440\u0442 \u0436\u0430\u0433\u0441\u0430\u0430\u043b\u0442 \u043d\u044d\u043c\u044d\u0445","Align Center":"\u0413\u043e\u043b\u043b\u043e\u0436 \u0431\u0430\u0439\u0440\u043b\u0443\u0443\u043b\u0430\u0445","Align Justify":"\u0422\u044d\u0433\u0448\u0438\u0442\u0433\u044d\u043d \u0431\u0430\u0439\u0440\u043b\u0443\u0443\u043b\u0430\u0445","Align Left":"\u0417\u04af\u04af\u043d\u0434 \u0431\u0430\u0439\u0440\u043b\u0443\u0443\u043b\u0430\u0445","Align Right":"\u0411\u0430\u0440\u0443\u0443\u043d\u0434 \u0431\u0430\u0439\u0440\u043b\u0443\u0443\u043b\u0430\u0445","Insert Horizontal Line":"\u0425\u044d\u0432\u0442\u044d\u044d \u0437\u0443\u0440\u0430\u0430\u0441 \u043d\u044d\u043c\u044d\u0445","Insert Image":"\u0417\u0443\u0440\u0430\u0433 \u043d\u044d\u043c\u044d\u0445","Insert file":"\u0424\u0430\u0439\u043b \u043d\u044d\u043c\u044d\u0445","Insert youtube/vimeo video":"Youtube/Vimeo \u0432\u0438\u0434\u0435\u043e \u043d\u044d\u043c\u044d\u0445","Insert link":"\u0425\u043e\u043b\u0431\u043e\u043e\u0441 \u043d\u044d\u043c\u044d\u0445","Font size":"\u0424\u043e\u043d\u0442\u044b\u043d \u0445\u044d\u043c\u0436\u044d\u044d","Font family":"\u0424\u043e\u043d\u0442\u044b\u043d \u0431\u04af\u043b","Insert format block":"\u0411\u043b\u043e\u043a \u043d\u044d\u043c\u044d\u0445",Normal:"\u0425\u044d\u0432\u0438\u0439\u043d","Heading 1":"\u0413\u0430\u0440\u0447\u0438\u0433 1","Heading 2":"\u0413\u0430\u0440\u0447\u0438\u0433 2","Heading 3":"\u0413\u0430\u0440\u0447\u0438\u0433 3","Heading 4":"\u0413\u0430\u0440\u0447\u0438\u0433 4",Quote:"\u0418\u0448\u043b\u044d\u043b",Code:"\u041a\u043e\u0434",Insert:"\u041e\u0440\u0443\u0443\u043b\u0430\u0445","Insert table":"\u0425\u04af\u0441\u043d\u044d\u0433\u0442 \u043e\u0440\u0443\u0443\u043b\u0430\u0445","Decrease Indent":"\u0414\u043e\u0433\u043e\u043b\u044b\u043d \u0437\u0430\u0439 \u0445\u0430\u0441\u0430\u0445","Increase Indent":"\u0414\u043e\u0433\u043e\u043b\u044b\u043d \u0437\u0430\u0439 \u043d\u044d\u043c\u044d\u0445","Select Special Character":"\u0422\u0443\u0441\u0433\u0430\u0439 \u0442\u044d\u043c\u0434\u044d\u0433\u0442 \u0441\u043e\u043d\u0433\u043e\u0445","Insert Special Character":"\u0422\u0443\u0441\u0433\u0430\u0439 \u0442\u044d\u043c\u0434\u044d\u0433\u0442 \u043d\u044d\u043c\u044d\u0445","Paint format":"\u0417\u0443\u0440\u0433\u0438\u0439\u043d \u0444\u043e\u0440\u043c\u0430\u0442","Change mode":"\u0413\u043e\u0440\u0438\u043c \u04e9\u04e9\u0440\u0447\u043b\u04e9\u0445",Margins:"\u0426\u0430\u0430\u0441\u043d\u044b \u0437\u0430\u0439",top:"\u0414\u044d\u044d\u0440\u044d\u044d\u0441",right:"\u0411\u0430\u0440\u0443\u0443\u043d\u0430\u0430\u0441",bottom:"\u0414\u043e\u043e\u0440\u043e\u043e\u0441",left:"\u0417\u04af\u04af\u043d\u044d\u044d\u0441",Styles:"CSS \u0441\u0442\u0438\u043b\u044c",Classes:"CSS \u0430\u043d\u0433\u0438",Align:"\u0411\u0430\u0439\u0440\u043b\u0443\u0443\u043b\u0430\u0445",Right:"\u0411\u0430\u0440\u0443\u0443\u043d",Center:"\u0422\u04e9\u0432",Left:"\u0417\u04af\u04af\u043d","--Not Set--":"--\u0422\u043e\u0434\u043e\u0440\u0445\u043e\u0439\u0433\u04af\u0439--",Src:"\u042d\u0445 \u04af\u04af\u0441\u0432\u044d\u0440",Title:"\u0413\u0430\u0440\u0447\u0438\u0433",Alternative:"\u0410\u043b\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432 \u0442\u0435\u043a\u0441\u0442",Link:"\u0425\u043e\u043b\u0431\u043e\u043e\u0441","Open link in new tab":"\u0425\u043e\u043b\u0431\u043e\u043e\u0441\u044b\u0433 \u0448\u0438\u043d\u044d \u0445\u0430\u0432\u0442\u0441\u0430\u043d\u0434 \u043d\u044d\u044d\u0445",Image:"\u0417\u0443\u0440\u0430\u0433",file:"\u0424\u0430\u0439\u043b","Image properties":"\u0417\u0443\u0440\u0433\u0438\u0439\u043d \u04af\u0437\u04af\u04af\u043b\u044d\u043b\u0442",Cancel:"\u0426\u0443\u0446\u043b\u0430\u0445",Ok:"Ok","Your code is similar to HTML. Keep as HTML?":"\u0422\u0430\u043d\u044b \u043a\u043e\u0434 HTML \u043a\u043e\u0434\u0442\u043e\u0439 \u0430\u0434\u0438\u043b \u0431\u0430\u0439\u043d\u0430. HTML \u0444\u043e\u0440\u043c\u0430\u0442\u0430\u0430\u0440 \u04af\u0440\u0433\u044d\u043b\u0436\u043b\u04af\u04af\u043b\u044d\u0445 \u04af\u04af?","Paste as HTML":"HTML \u0431\u0430\u0439\u0434\u043b\u0430\u0430\u0440 \u0431\u0443\u0443\u043b\u0433\u0430\u0445",Keep:"\u0425\u0430\u0434\u0433\u0430\u043b\u0430\u0445",Clean:"\u0426\u044d\u0432\u044d\u0440\u043b\u044d\u0445","Insert as Text":"\u0422\u0435\u043a\u0441\u0442 \u0431\u0430\u0439\u0434\u043b\u0430\u0430\u0440 \u043d\u044d\u043c\u044d\u0445","Word Paste Detected":"Word \u0431\u0430\u0439\u0434\u043b\u0430\u0430\u0440 \u0431\u0443\u0443\u043b\u0433\u0430\u0441\u0430\u043d \u0431\u0430\u0439\u043d\u0430","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"\u0411\u0443\u0443\u043b\u0433\u0430\u0441\u0430\u043d \u0430\u0433\u0443\u0443\u043b\u0433\u0430 Microsoft Word/Excel \u0444\u043e\u0440\u043c\u0430\u0442\u0442\u0430\u0439 \u0431\u0430\u0439\u043d\u0430. \u042d\u043d\u044d \u0444\u043e\u0440\u043c\u0430\u0442\u044b\u0433 \u0445\u044d\u0432\u044d\u044d\u0440 \u0445\u0430\u0434\u0433\u0430\u043b\u0430\u0445 \u0443\u0443 \u044d\u0441\u0432\u044d\u043b \u0430\u0440\u0438\u043b\u0433\u0430\u0445 \u0443\u0443?","Insert only Text":"\u0417\u04e9\u0432\u0445\u04e9\u043d \u0442\u0435\u043a\u0441\u0442 \u043e\u0440\u0443\u0443\u043b\u0430\u0445","File Browser":"\u0424\u0430\u0439\u043b\u044b\u043d \u0446\u043e\u043d\u0445","Error on load list":"\u0416\u0430\u0433\u0441\u0430\u0430\u043b\u0442 \u0442\u0430\u0442\u0430\u0445 \u04af\u0435\u0434 \u0430\u043b\u0434\u0430\u0430 \u0433\u0430\u0440\u043b\u0430\u0430","Error on load folders":"\u0425\u0430\u0432\u0442\u0430\u0441 \u0442\u0430\u0442\u0430\u0445 \u04af\u0435\u0434 \u0430\u043b\u0434\u0430\u0430 \u0433\u0430\u0440\u043b\u0430\u0430","Are you sure?":"\u
10418\u0442\u0433\u044d\u043b\u0442\u044d\u0439 \u0431\u0430\u0439\u043d\u0430 \u0443\u0443?","Enter Directory name":"\u0425\u0430\u0432\u0442\u0441\u044b\u043d \u043d\u044d\u0440 \u043e\u0440\u0443\u0443\u043b\u0430\u0445","Create directory":"\u0425\u0430\u0432\u0442\u0430\u0441 \u04af\u04af\u0441\u0433\u044d\u0445","type name":"\u041d\u044d\u0440 \u0431\u0438\u0447\u0438\u0445","Drop image":"\u0417\u0443\u0440\u0430\u0433 \u0431\u0443\u0443\u043b\u0433\u0430\u0445","Drop file":"\u0424\u0430\u0439\u043b \u0431\u0443\u0443\u043b\u0433\u0430\u0445","or click":"\u044d\u0441\u0432\u044d\u043b \u0442\u043e\u0432\u0448","Alternative text":"\u0410\u043b\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432 \u0442\u0435\u043a\u0441\u0442",Browse:"\u04ae\u0437\u044d\u0445",Upload:"\u0411\u0430\u0439\u0440\u0448\u0443\u0443\u043b\u0430\u0445",Background:"\u0410\u0440\u044b\u043d \u0437\u0443\u0440\u0430\u0433",Text:"\u0422\u0435\u043a\u0441\u0442",Top:"\u0414\u044d\u044d\u0440",Middle:"\u0414\u0443\u043d\u0434",Bottom:"\u0414\u043e\u043e\u0440","Insert column before":"\u0423\u0440\u0434 \u043d\u044c \u0431\u0430\u0433\u0430\u043d\u0430 \u043d\u044d\u043c\u044d\u0445","Insert column after":"\u0410\u0440\u0434 \u043d\u044c \u0431\u0430\u0433\u0430\u043d\u0430 \u043d\u044d\u043c\u044d\u0445","Insert row above":"\u0414\u044d\u044d\u0440 \u043d\u044c \u043c\u04e9\u0440 \u043d\u044d\u043c\u044d\u0445","Insert row below":"\u0414\u043e\u043e\u0440 \u043d\u044c \u043c\u04e9\u0440 \u043d\u044d\u043c\u044d\u0445","Delete table":"\u0425\u04af\u0441\u043d\u044d\u0433\u0442 \u0443\u0441\u0442\u0433\u0430\u0445","Delete row":"\u041c\u04e9\u0440 \u0443\u0441\u0442\u0433\u0430\u0445","Delete column":"\u0411\u0430\u0433\u0430\u043d\u0430 \u0443\u0441\u0442\u0433\u0430\u0445","Empty cell":"\u041d\u04af\u0434 \u0446\u044d\u0432\u044d\u0440\u043b\u044d\u0445",Delete:"\u0423\u0441\u0442\u0433\u0430\u0445","Strike through":"\u0414\u044d\u044d\u0433\u04af\u04af\u0440 \u0437\u0443\u0440\u0430\u0430\u0441",Underline:"\u0414\u043e\u043e\u0433\u0443\u0443\u0440 \u0437\u0443\u0440\u0430\u0430\u0441",Break:"\u041c\u04e9\u0440\u0438\u0439\u0433 \u0442\u0430\u0441\u043b\u0430\u0445","Search for":"\u0425\u0430\u0439\u0445","Replace with":"\u04ae\u04af\u0433\u044d\u044d\u0440 \u0441\u043e\u043b\u0438\u0445",Replace:"\u0421\u043e\u043b\u0438\u0445",Edit:"\u0417\u0430\u0441\u0430\u0445","Vertical align":"\u0411\u043e\u0441\u043e\u043e \u044d\u0433\u043d\u04af\u04af\u043b\u044d\u0445","Horizontal align":"\u0425\u044d\u0432\u0442\u044d\u044d \u044d\u0433\u043d\u04af\u04af\u043b\u044d\u0445",Filter:"\u0428\u04af\u04af\u0445","Sort by changed":"\u0421\u04af\u04af\u043b\u0434 \u04e9\u04e9\u0440\u0447\u043b\u04e9\u0433\u0434\u0441\u04e9\u043d\u04e9\u04e9\u0440 \u0436\u0430\u0433\u0441\u0430\u0430\u0445","Sort by name":"\u041d\u044d\u0440\u044d\u044d\u0440 \u0436\u0430\u0433\u0441\u0430\u0430\u0445","Sort by size":"\u0425\u044d\u043c\u0436\u044d\u044d\u0433\u044d\u044d\u0440 \u0436\u0430\u0433\u0441\u0430\u0430\u0445","Add folder":"\u0425\u0430\u0432\u0442\u0430\u0441 \u043d\u044d\u043c\u044d\u0445",Split:"\u0417\u0430\u0434\u043b\u0430\u0445","Split vertical":"\u0411\u0430\u0433\u0430\u043d\u0430\u0430\u0440 \u0437\u0430\u0434\u043b\u0430\u0445","Split horizontal":"\u041c\u04e9\u0440\u04e9\u04e9\u0440 \u0437\u0430\u0434\u043b\u0430\u0445",Merge:"\u041d\u044d\u0433\u0442\u0433\u044d\u0445","Add column":"\u0411\u0430\u0433\u0430\u043d\u0430 \u043d\u044d\u043c\u044d\u0445","Add row":"\u041c\u04e9\u0440 \u043d\u044d\u043c\u044d\u0445",Border:"\u0425\u04af\u0440\u044d\u044d","Embed code":"\u041a\u043e\u0434 \u043e\u0440\u0443\u0443\u043b\u0430\u0445",Update:"\u0428\u0438\u043d\u044d\u0447\u043b\u044d\u0445",superscript:"\u0414\u044d\u044d\u0434 \u0438\u043d\u0434\u0435\u043a\u0441",subscript:"\u0414\u043e\u043e\u0434 \u0438\u043d\u0434\u0435\u043a\u0441","Cut selection":"\u0421\u043e\u043d\u0433\u043e\u043b\u0442\u044b\u0433 \u0442\u0430\u0441\u043b\u0430\u0445",Paste:"\u0411\u0443\u0443\u043b\u0433\u0430\u0445","Choose Content to Paste":"\u0411\u0443\u0443\u043b\u0433\u0430\u0445 \u0430\u0433\u0443\u0443\u043b\u0433\u0430\u0430 \u0441\u043e\u043d\u0433\u043e\u043d\u043e \u0443\u0443","Chars: %d":"\u0422\u044d\u043c\u0434\u044d\u0433\u0442: %d","Words: %d":"\u04ae\u0433: %d",All:"\u0411\u04af\u0433\u0434\u0438\u0439\u0433","Select %s":"\u0421\u043e\u043d\u0433\u043e: %s","Select all":"\u0411\u04af\u0433\u0434\u0438\u0439\u0433 \u0441\u043e\u043d\u0433\u043e",source:"\u
1042d\u0445 \u04af\u04af\u0441\u0432\u044d\u0440",bold:"\u0422\u043e\u0434",italic:"\u041d\u0430\u043b\u0443\u0443",brush:"\u0411\u0443\u0434\u0430\u0445",link:"\u0425\u043e\u043b\u0431\u043e\u043e\u0441",undo:"\u0411\u0443\u0446\u0430\u0430\u0445",redo:"\u0414\u0430\u0445\u0438\u0445",table:"\u0425\u04af\u0441\u043d\u044d\u0433\u0442",image:"\u0417\u0443\u0440\u0430\u0433",eraser:"\u0411\u0430\u043b\u043b\u0443\u0443\u0440",paragraph:"\u041f\u0430\u0440\u0430\u0433\u0440\u0430\u0444",fontsize:"\u0424\u043e\u043d\u0442\u044b\u043d \u0445\u044d\u043c\u0436\u044d\u044d",video:"\u0412\u0438\u0434\u0435\u043e",font:"\u0424\u043e\u043d\u0442",about:"\u0422\u0443\u0445\u0430\u0439",print:"\u0425\u044d\u0432\u043b\u044d\u0445",underline:"\u0414\u043e\u043e\u0433\u0443\u0443\u0440 \u0437\u0443\u0440\u0430\u0430\u0441",strikethrough:"\u0414\u044d\u044d\u0433\u04af\u04af\u0440 \u0437\u0443\u0440\u0430\u0430\u0441",indent:"\u0414\u043e\u0433\u043e\u043b \u043d\u044d\u043c\u044d\u0445",outdent:"\u0414\u043e\u0433\u043e\u043b \u0431\u0430\u0433\u0430\u0441\u0433\u0430\u0445",fullsize:"\u0411\u04af\u0442\u044d\u043d \u0434\u044d\u043b\u0433\u044d\u0446",shrink:"\u0411\u0430\u0433\u0430\u0441\u0433\u0430",hr:"\u0425\u0430\u0430\u043b\u0442",ul:"\u0422\u044d\u043c\u0434\u044d\u0433\u0442 \u0436\u0430\u0433\u0441\u0430\u0430\u043b\u0442",ol:"\u0414\u0443\u0433\u0430\u0430\u0440\u043b\u0430\u0441\u0430\u043d \u0436\u0430\u0433\u0441\u0430\u0430\u043b\u0442",cut:"\u0422\u0430\u0441\u043b\u0430\u0445",selectall:"\u0411\u04af\u0433\u0434\u0438\u0439\u0433 \u0441\u043e\u043d\u0433\u043e","Open link":"\u0425\u043e\u043b\u0431\u043e\u043e\u0441 \u043d\u044d\u044d\u0445","Edit link":"\u0425\u043e\u043b\u0431\u043e\u043e\u0441 \u0437\u0430\u0441\u0430\u0445","No follow":"Nofollow \xf6zelli\u011fi",Unlink:"\u0425\u043e\u043b\u0431\u043e\u043e\u0441 \u0441\u0430\u043b\u0433\u0430\u0445",Eye:"\u041d\u04af\u0434",pencil:"\u0417\u0430\u0441\u0430\u0445"," URL":"URL",Reset:"\u0411\u0443\u0446\u0430\u0430\u0445",Save:"\u0425\u0430\u0434\u0433\u0430\u043b\u0430\u0445","Save as ...":"\u04e8\u04e9\u0440\u04e9\u04e9\u0440 \u0445\u0430\u0434\u0433\u0430\u043b\u0430\u0445",Resize:"\u0425\u044d\u043c\u0436\u044d\u044d\u0433 \u04e9\u04e9\u0440\u0447\u0438\u043b",Crop:"\u0422\u0430\u0439\u0440\u0430\u0445",Width:"\u04e8\u0440\u0433\u04e9\u043d",Height:"\u04e8\u043d\u0434\u04e9\u0440","Keep Aspect Ratio":"\u0425\u0430\u0440\u044c\u0446\u0430\u0430\u0433 \u0445\u0430\u0434\u0433\u0430\u043b",Yes:"\u0422\u0438\u0439\u043c",No:"\u04ae\u0433\u04af\u0439",Remove:"\u0410\u0440\u0438\u043b\u0433\u0430",Select:"\u0421\u043e\u043d\u0433\u043e","You can only edit your own images. Download this image on the host?":"\u0422\u0430 \u0437\u04e9\u0432\u0445\u04e9\u043d \u04e9\u04e9\u0440\u0438\u0439\u043d \u0437\u0443\u0440\u0433\u0443\u0443\u0434\u0430\u0430 \u044f\u043d\u0437\u043b\u0430\u0445 \u0431\u043e\u043b\u043e\u043c\u0436\u0442\u043e\u0439. \u042d\u043d\u044d \u0437\u0443\u0440\u0433\u0438\u0439\u0433 \u04e9\u04e9\u0440 \u043b\u04af\u04af\u0433\u044d\u044d \u0442\u0430\u0442\u043c\u0430\u0430\u0440 \u0431\u0430\u0439\u043d\u0430 \u0443\u0443?","The image has been successfully uploaded to the host!":"\u0417\u0443\u0440\u0433\u0438\u0439\u0433 \u0445\u043e\u0441\u0442 \u0440\u0443\u0443 \u0430\u043c\u0436\u0438\u043b\u0442\u0442\u0430\u0439 \u0445\u0430\u0434\u0433\u0430\u043b\u0441\u0430\u043d",palette:"\u041f\u0430\u043b\u0435\u0442","There are no files":"\u042d\u043d\u0434 \u044f\u043c\u0430\u0440 \u043d\u044d\u0433 \u0444\u0430\u0439\u043b \u0430\u043b\u0433\u0430",Rename:"\u0428\u0438\u043d\u044d\u044d\u0440 \u043d\u044d\u0440\u043b\u044d\u0445","Enter new name":"\u0428\u0438\u043d\u044d \u043d\u044d\u0440 \u043e\u0440\u0443\u0443\u043b\u043d\u0430 \u0443\u0443",preview:"\u0423\u0440\u044c\u0434\u0447\u0438\u043b\u0430\u043d \u0445\u0430\u0440\u0430\u0445",download:"\u0422\u0430\u0442\u0430\u0445","Paste from clipboard":"\u0421\u0430\u043c\u0431\u0430\u0440\u0430\u0430\u0441 \u0445\u0443\u0443\u043b\u0430\u0445 ","Your browser doesn't support direct access to the clipboard.":"\u042d\u043d\u044d \u0432\u044d\u0431 \u0445\u04e9\u0442\u0447\u04e9\u04e9\u0441 \u0441\u0430\u043c\u0431\u0430\u0440\u0442 \u0445\u0430\u043d\u0434\u0430\u0445 \u044d\u0440\u0445 \u0430\u043b\u0433\u0430.","Copy selection":"\u0421\u043e\u043d\u0433\u043e\u043b\u0442\u044b\u0433 \u0445\u0443\u0443\u043b",copy:"\u0425\u0443\u0443\u043b\u0430\u0445","Border radius":"\u0425\u04af\u0440\u044d\u044d\u043d\u0438\u0439 \u0440\u0430\u0434\u0438\u0443\u0441","Show all":"\u0411\u04af\u0433\u0434\u0438\u0439\u0433 \u0445\u0430\u0440\u0443\u0443\u043b\u0430\u0445",Apply:"\u0425\u044d\u0440\u044d\u0433\u0436\u04af\u04af\u043b","Please fill out this field":"\u042d\u043d\u044d \u0442\u0430\u043b\u0431\u0430\u0440\u044b\u0433 \u0431\u04e9\u0433\u043b\u04e9\u043d\u04e9 \u04af\u04af","Please enter a web address":"\u0412\u044d\u0431 \u0445\u0430\u044f\u0433\u0430\u0430 \u043e\u0440\u0443\u0443\u043b\u043d\u0430 \u0443\u0443",Default:"\u
104ae\u043d\u0434\u0441\u044d\u043d",Circle:"\u0414\u0443\u0433\u0443\u0439",Dot:"\u0426\u044d\u0433",Quadrate:"\u0414\u04e9\u0440\u0432\u04e9\u043b\u0436\u0438\u043d",Find:"\u0425\u0430\u0439\u0445","Find Previous":"\u04e8\u043c\u043d\u04e9\u0445\u0438\u0439\u0433 \u043e\u043b","Find Next":"\u0414\u0430\u0440\u0430\u0430\u0433\u0438\u0439\u043d\u0445\u0438\u0439\u0433 \u043e\u043b","Insert className":"\u0411\u04af\u043b\u0433\u0438\u0439\u043d \u043d\u044d\u0440\u044d\u044d \u043e\u0440\u0443\u0443\u043b\u043d\u0430 \u0443\u0443","Press Alt for custom resizing":"\u0425\u044d\u043c\u0436\u044d\u044d\u0441\u0438\u0439\u0433 \u0448\u0438\u043d\u044d\u044d\u0440 \u04e9\u04e9\u0447\u0440\u043b\u04e9\u0445\u0438\u0439\u043d \u0442\u0443\u043b\u0434 Alt \u0442\u043e\u0432\u0447\u0438\u043d \u0434\u044d\u044d\u0440 \u0434\u0430\u0440\u043d\u0430 \u0443\u0443","License: %s":"\u041b\u0438\u0446\u0435\u043d\u0437: %s"},nl:{"Type something":"Begin met typen..",Advanced:"Geavanceerd","About Jodit":"Over Jodit","Jodit Editor":"Jodit Editor","Free Non-commercial Version":"Gratis niet-commerci\xeble 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 \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Alle rechten voorbehouden.",Anchor:"Anker","Open in new tab":"Open in nieuwe tab","Open 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","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",Backgroun
1d:"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",underline:"onderstreept",strikethrough:"doorgestreept",indent:"inspringen",outdent:"minder inspringen",fullsize:"volledige grootte",shrink:"kleiner maken",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\xfcploadet!",palette:"Palette","There are no files":"Er zijn geen bestanden in deze map.",Rename:"Hernoemen","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\xebren",copy:"kopi\xebren","Border radius":"Border radius","Show all":"Toon alle",Apply:"Toepassen","Please fill out this field":"Vul dit veld in","Please enter a web address":"Voer een webadres in",Default:"Standaard",Circle:"Cirkel",Dot:"Punt",Quadrate:"Kwadraat",Find:"Zoeken","Find Previous":"Vorige Zoeken","Find Next":"Volgende Zoeken","Insert className":"Voeg de klassenaam in","Press Alt for custom resizing":"Druk op Alt voor aangepaste grootte","License: %s":"Licentie: %s"},no:{"Type something":"Skriv noe","About Jodit":"Om Jodit","Jodit Editor":"Jodit-redigerer","Jodit User's Guide":"Jodit brukerveiledning","contains detailed help for using":"Inneholder detaljert hjelp for bruk","For information about the license, please go to our website:":"For informasjon om lisensen, bes\xf8k v\xe5r nettside:","Buy full version":"Kj\xf8p fullversjon","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Opphavsrett \xa9 XDSoft.net - Chupurnov Valeriy. Alle rettigheter forbeholdt.",Anchor:"Anker","Open in new tab":"\xc5pne i ny fane","Open in fullsize":"\xc5pne i fullskjerm","Clear Formatting":"Fjern formatering","Fill color or set the text color":"Endre bakgrunns- eller tekstfarge",Redo:"Gj\xf8r om",Undo:"Angre",Bold:"Fet",Italic:"Kursiv","Insert Unordered List":"Sett inn punktliste","Insert Ordered List":"Sett inn nummerert liste","Align Center":"Midtstill","Align Justify":"Juster","Align Left":"Venstrejuster","Align Right":"H\xf8yrejuster","Insert Horizontal Line":"Sett inn horisontal linje","Insert Image":"Sett inn bilde","Insert file":"Sett inn fil","Insert youtube/vimeo video":"Sett inn YouTube/Vimeo-vi
1deo","Insert link":"Sett inn lenke","Font size":"Skriftst\xf8rrelse","Font family":"Skriftfamilie","Insert format block":"Sett inn formateringsblokk",Normal:"Normal","Heading 1":"Overskrift 1","Heading 2":"Overskrift 2","Heading 3":"Overskrift 3","Heading 4":"Overskrift 4",Quote:"Sitat",Code:"Kode",Insert:"Sett inn","Insert table":"Sett inn tabell","Decrease Indent":"Reduser innrykk","Increase Indent":"\xd8k innrykk","Select Special Character":"Velg spesialtegn","Insert Special Character":"Sett inn spesialtegn","Paint format":"Kopier format","Change mode":"Bytt modus (WYSIWYG/HTML)",Margins:"Marger",top:"topp",right:"h\xf8yre",bottom:"bunn",left:"venstre",Styles:"Stiler",Classes:"Klasser",Align:"Justering",Right:"H\xf8yre",Center:"Senter",Left:"Venstre","--Not Set--":"--Ikke satt--",Src:"Kilde",Title:"Tittel",Alternative:"Alternativ",Filter:"Filter",Link:"Lenke","Open link in new tab":"\xc5pne lenke i ny fane",Image:"Bilde",file:"fil",Advanced:"Avansert","Image properties":"Bildeegenskaper",Cancel:"Avbryt",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Koden din ligner HTML. Beholde som HTML?","Paste as HTML":"Lim inn som HTML",Keep:"Behold",Clean:"Rens","Insert as Text":"Lim inn som tekst","Word Paste Detected":"Word-innliming oppdaget","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Innholdet du limer inn kommer fra et Microsoft Word/Excel-dokument. Vil du beholde formatet eller rense det?","Insert only Text":"Lim inn kun tekst","File Browser":"Filutforsker","Error on load list":"Feil ved lasting av liste","Error on load folders":"Feil ved lasting av mapper","Are you sure?":"Er du sikker?","Enter Directory name":"Skriv inn mappenavn","Create directory":"Opprett mappe","type name":"skriv navn","Drop image":"Slipp bilde","Drop file":"Slipp fil","or click":"eller klikk","Alternative text":"Alternativ tekst",Browse:"Bla gjennom",Upload:"Last opp",Background:"Bakgrunn",Border:"Kantlinje",Text:"Tekst",Top:"Topp",Middle:"Midt",Bottom:"Bunn","Insert column before":"Sett inn kolonne f\xf8r","Insert column after":"Sett inn kolonne etter","Insert row above":"Sett inn rad over","Insert row below":"Sett inn rad under","Delete table":"Slett tabell","Delete row":"Slett rad","Delete column":"Slett kolonne","Empty cell":"T\xf8m celle","Chars: %d":"Tegn: %d","Words: %d":"Ord: %d",Split:"Del","Split vertical":"Del vertikalt","Split horizontal":"Del horisontalt","Strike through":"Gjennomstreking",Underline:"Understreking",superscript:"hevet skrift",subscript:"senket skrift","Cut selection":"Klipp ut markering","Select all":"Velg alt",Break:"Pause","Search for":"S\xf8k etter","Replace with":"Erstatt med",Replace:"Erstatt",Paste:"Lim inn","Choose Content to Paste":"Velg innhold \xe5 lime inn",source:"kilde",bold:"fet",italic:"kursiv",brush:"pensel",link:"lenke",undo:"angre",redo:"gj\xf8r om",table:"tabell",image:"bilde",eraser:"viskel\xe6r",paragraph:"avsnitt",fontsize:"skriftst\xf8rrelse",video:"video",font:"skrift",about:"om redigeringsverkt\xf8yet",print:"skriv ut",underline:"understreking",strikethrough:"gjennomstreking",indent:"innrykk",outdent:"reduser innrykk",fullsize:"full st\xf8rrelse",shrink:"krympe",hr:"linje",ul:"punktliste",ol:"nummerert liste",cut:"klipp ut",selectall:"velg alt","Open link":"\xc5pne lenke","Edit link":"Rediger lenke","No follow":"Ingen oppf\xf8lging",Unlink:"Fjern lenke",Eye:"Forh\xe5ndsvisning",pencil:"Rediger"," URL":"URL",Reset:"Tilbakestill",Save:"Lagre","Save as ...":"Lagre som ...",Resize:"Endre st\xf8rrelse",Crop:"Beskj\xe6r",Width:"Bredde",Height:"H\xf8yde","Keep Aspect Ratio":"Behold proporsjoner",Yes:"Ja",No:"Nei",Remove:"Fjern",Select:"Velg","Select %s":"Velg: %s",Update:"Oppdater","Vertical align":"Vertikal justering",Merge:"Sl\xe5 sammen","Add column":"Legg til kolonne","Add row":"Legg til rad",Delete:"Slett","Horizontal align":"Horisontal justering","Sort by changed":"Sorter etter endring","Sort by name":"Sorter etter navn","Sort by size":"Sorter etter st\xf8rrelse","Add folder":"Legg til mappe",palette:"Palett",preview:"Forh\xe5ndsvisning","Line height":"Linjeh\xf8yde","Insert className":"Sett inn klassenavn",apply:"Bruk",edit:"Rediger","Show all":"Vis alle",sound:"Lyd","Interim Results":"Forel\xf8pige resultater",default:"Standard",circle:"Sirkel",dot:"Punkt",square:"Firkant","Press Alt for custom resizing":"Trykk p\xe5 Alt for \xe5 endre st\xf8rrelse","Copy selection":"Kopier utvalg","Paste from clipboard":"Lim inn fra utklippstavlen",Find:"Finne","Embed code":"Bygge inn kode",Edit:"Rediger",All:"Velg alle","License: %s":"Lisens: %s","You can only edit your own images. Download this image on the host?":"Du k
1an bare redigere dine egne bilder. Last ned dette bildet p\xe5 verten?","The image has been successfully uploaded to the host!":"Bildet har blitt lastet opp til verten!","There are no files":"Det er ingen filer i denne katalogen",Rename:"Gi nytt navn","Enter new name":"Skriv inn nytt navn",download:"Last ned","Your browser doesn't support direct access to the clipboard.":"Nettleseren din st\xf8tter ikke direkte tilgang til utklippstavlen.",copy:"kopi","Border radius":"Grenseradius",Apply:"Bruk","Please fill out this field":"Vennligst fyll ut dette feltet","Please enter a web address":"Vennligst skriv inn en webadresse",Default:"Standard",Circle:"Sirkel",Dot:"Prikk",Quadrate:"Firkant","Find Previous":"Finn forrige","Find Next":"Finn neste"},pl:{"Type something":"Napisz co\u015b",Advanced:"Zaawansowane","About Jodit":"O Jodit","Jodit Editor":"Edytor Jodit","Jodit User's Guide":"Instrukcja Jodit","contains detailed help for using":"zawiera szczeg\xf3\u0142owe informacje dotycz\u0105ce u\u017cytkowania.","For information about the license, please go to our website:":"Odwied\u01
17a nasz\u0105 stron\u0119, aby uzyska\u0107 wi\u0119cej informacji na temat licencji:","Buy full version":"Zakup pe\u0142nej wersji","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Wszystkie prawa zastrze\u017cone.",Anchor:"Kotwica","Open in new tab":"Otw\xf3rz w nowej zak\u0142adce","Open in fullsize":"Otw\xf3rz edytor w pe\u0142nym rozmiarze","Clear Formatting":"Wyczy\u015b\u0107 formatowanie","Fill color or set the text color":"Kolor wype\u0142nienia lub ustaw kolor tekstu",Redo:"Pon\xf3w",Undo:"Cofnij",Bold:"Pogrubienie",Italic:"Kursywa","Insert Unordered List":"Wstaw list\u0119 wypunktowan\u0105","Insert Ordered List":"Wstaw list\u0119 numeryczn\u0105","Align Center":"Wy\u015brodkuj","Align Justify":"Wyjustuj","Align Left":"Wyr\xf3wnaj do lewej","Align Right":"Wyr\xf3wnaj do prawej","Insert Horizontal Line":"Wstaw lini\u0119 poziom\u0105","Insert Image":"Wstaw grafik\u0119","Insert file":"Wstaw plik","Insert youtube/vimeo video":"Wstaw film Youtube/vimeo","Insert link":"Wstaw link","Font size":"Rozmiar tekstu","Font family":"Kr\xf3j czcionki","Insert format block":"Wstaw formatowanie",Normal:"Normalne","Heading 1":"Nag\u0142\xf3wek 1","Heading 2":"Nag\u0142\xf3wek 2","Heading 3":"Nag\u0142\xf3wek 3","Heading 4":"Nag\u0142\xf3wek 4",Quote:"Cytat",Code:"Kod",Insert:"Wstaw","Insert table":"Wstaw tabel\u0119","Decrease Indent":"Zmniejsz wci\u0119cie","Increase Indent":"Zwi\u0119ksz wci\u0119cie","Select Special Character":"Wybierz znak specjalny","Insert Special Character":"Wstaw znak specjalny","Paint format":"Malarz format\xf3w","Change mode":"Zmie\u0144 tryb",Margins:"Marginesy",top:"G\xf3rny",right:"Prawy",bottom:"Dolny",left:"Levy",Styles:"Style CSS",Classes:"Klasy CSS",Align:"Wyr\xf3wnanie",Right:"Prawa",Center:"\u015brodek",Left:"Lewa","--Not Set--":"brak",Src:"\u0179r\xf3d\u0142o",Title:"Tytu\u0142",Alternative:"Tekst alternatywny",Link:"Link","Open link in new tab":"Otw\xf3rz w nowej zak\u0142adce",Image:"Grafika",file:"Plik","Image properties":"W\u0142a\u015bciwo\u015bci grafiki",Cancel:"Anuluj",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Tw\xf3j kod wygl\u0105da jak HTML. Zachowa\u0107 HTML?","Paste as HTML":"Wklei\u0107 jako HTML?",Keep:"Oryginalny tekst",Clean:"Wyczy\u015b\u0107","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\u0107 ten format czy wyczy\u015bci\u0107 go? ","Insert only Text":"Wstaw tylko tre\u015b\u0107","File Browser":"Przegl\u0105darka plik\xf3w","Error on load list":"B\u0142\u0105d \u0142adowania listy plik\xf3w","Error on load folders":"B\u0142\u0105d \u0142adowania folder\xf3w","Are you sure?":"Czy jeste\u015b pewien?","Enter Directory name":"Wprowad\u017a nazw\u0119 folderu","Create directory":"Utw\xf3rz folder","type name":"wprowad\u017a nazw\u0119","Drop image":"Upu\u015b\u0107 plik graficzny","Drop file":"Upu\u015b\u0107 plik","or click":"lub kliknij tu","Alternative text":"Tekst alternatywny",Browse:"Przegl\u0105daj",Upload:"Wczytaj",Background:"T\u0142o",Text:"Tre\u015b\u0107",Top:"G\xf3ra",Middle:"\u015arodek",Bottom:"D\xf3\u0142","Insert column before":"Wstaw kolumn\u0119 przed","Insert column after":"Wstaw kolumn\u0119 po","Insert row above":"Wstaw wiersz przed","Insert row below":"Wstaw wiersz po","Delete table":"Usu\u0144 tabel\u0119","Delete row":"Usu\u0144 wiersz","Delete column":"Usu\u0144 kolumn\u0119","Empty cell":"Wyczy\u015b\u0107 kom\xf3rk\u0119",Delete:"Usu\u0144","Strike through":"Przekre\u015blenie",Underline:"Podkre\u015blenie",Break:"Przerwa","Search for":"Szukaj","Replace with":"Zamie\u0144 na",Replace:"Wymieni\u0107",Edit:"Edytuj","Vertical align":"Wyr\xf3wnywanie w pionie","Horizontal align":"Wyr\xf3wnywanie 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":"Dod
1aj kolumn\u0119","Add row":"Dodaj wiersz",Border:"Obramowanie","Embed code":"Wstaw kod",Update:"Aktualizuj",superscript:"indeks g\xf3rny",subscript:"index dolny","Cut selection":"Wytnij zaznaczenie",Paste:"Wklej","Choose Content to Paste":"Wybierz zawarto\u015b\u0107 do wklejenia","Chars: %d":"Znaki: %d","Words: %d":"S\u0142owa: %d",All:"Wszystko","Select %s":"Wybierz: %s","Select all":"Wybierz wszystko",source:"HTML",bold:"pogrubienie",italic:"kursywa",brush:"p\u0119dzel",link:"link",undo:"cofnij",redo:"pon\xf3w",table:"tabela",image:"grafika",eraser:"wyczy\u015b\u0107",paragraph:"akapit",fontsize:"rozmiar czcionki",video:"wideo",font:"czcionka",about:"O programie",print:"drukuj",underline:"podkre\u015blenie",strikethrough:"przekre\u015blenie",indent:"wci\u0119cie",outdent:"wyci\u0119cie",fullsize:"pe\u0142en rozmiar",shrink:"przytnij",hr:"linia pozioma",ul:"lista",ol:"lista numerowana",cut:"wytnij",selectall:"zaznacz wszystko","Open link":"otw\xf3rz link","Edit link":"edytuj link","No follow":"Atrybut no-follow",Unlink:"Usu\u0144 link",Eye:"szukaj",pencil:"edytuj"," URL":"URL",Reset:"wyczy\u015b\u0107",Save:"zapisz","Save as ...":"zapisz jako",Resize:"Zmie\u0144 rozmiar",Crop:"Przytnij",Width:"Szeroko\u015b\u0107",Height:"Wysoko\u015b\u0107","Keep Aspect Ratio":"Zachowaj proporcje",Yes:"Tak",No:"Nie",Remove:"Usu\u0144",Select:"Wybierz","You can only edit your own images. Download this image on the host?":"Mo\u017cesz edytowa\u0107 tylko swoje grafiki. Czy chcesz pobra\u0107 t\u0105 grafik\u0119?","The image has been successfully uploaded to the host!":"Grafika zosta\u0142a pomy\u015blnienie dodana na serwer",palette:"Paleta","There are no files":"Brak plik\xf3w.",Rename:"zmie\u0144 nazw\u0119","Enter new name":"Wprowad\u017a now\u0105 nazw\u0119",preview:"podgl\u0105d",download:"pobierz","Paste from clipboard":"Wklej ze schowka","Your browser doesn't support direct access to the clipboard.":"Twoja przegl\u0105darka nie obs\u0142uguje schowka","Copy selection":"Kopiuj zaznaczenie",copy:"
1kopiuj","Border radius":"Zaokr\u0105glenie kraw\u0119dzi","Show all":"Poka\u017c wszystkie",Apply:"Zastosuj","Please fill out this field":"Prosz\u0119 wype\u0142ni\u0107 to pole","Please enter a web address":"Prosz\u0119, wpisz adres sieci web",Default:"Domy\u015blnie",Circle:"Ko\u0142o",Dot:"Punkt",Quadrate:"Kwadrat",Find:"Znale\u017a\u0107","Find Previous":"Znale\u017a\u0107 Poprzednie","Find Next":"Znajd\u017a Dalej","Insert className":"Wstaw nazw\u0119 zaj\u0119\u0107","Press Alt for custom resizing":"Naci\u015bnij Alt, aby zmieni\u0107 rozmiar","License: %s":"Licencja: %s"},pt_br:{"Type something":"Escreva algo...",Advanced:"Avan\xe7ado","About Jodit":"Sobre o Jodit","Jodit Editor":"Editor Jodit","Jodit User's Guide":"Guia de usu\xe1rio Jodit","contains detailed help for using":"cont\xe9m ajuda detalhada para o uso.","For information about the license, please go to our website:":"Para informa\xe7\xe3o sobre a licen\xe7a, por favor visite nosso site:","Buy full version":"Compre a vers\xe3o completa","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Todos os direitos reservados.",Anchor:"Link","Open in new tab":"Abrir em nova aba","Open in fullsize":"Abrir editor em tela cheia","Clear Formatting":"Limpar formata\xe7\xe3o","Fill color or set the text color":"Cor de preenchimento ou cor do texto",Redo:"Refazer",Undo:"Desfazer",Bold:"Negrito",Italic:"It\xe1lico","Insert Unordered List":"Inserir lista n\xe3o ordenada","Insert Ordered List":"Inserir lista ordenada","Align Center":"Centralizar","Align Justify":"Justificar","Align Left":"Alinhar \xe0 Esquerda","Align Right":"Alinhar \xe0 Direita","Insert Horizontal Line":"Inserir linha horizontal","Insert Image":"Inserir imagem","Insert file":"Inserir arquivo","Insert youtube/vimeo video":"Inserir v\xeddeo 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\xe7alho 1","Heading 2":"Cabe\xe7alho 2","Heading 3":"Cabe\xe7alho 3","Heading 4":"Cabe\xe7alho 4",Quote:"Cita\xe7\xe3o",Code:"C\xf3digo",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\xe3o Estabelecido--",Src:"Fonte",Title:"T\xedtulo",Alternative:"Texto Alternativo",Link:"Link","Open link in new tab":"Abrir link em nova aba",Image:"Imagem",file:"Arquivo","Image properties":"Propriedades da imagem",Cancel:"Cancelar",Ok:"Ok","Your code is similar to HTML. Keep as HTML?":"Seu c\xf3digo \xe9 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\xfado colado veio de um documento Microsoft Word/Excel. Voc\xea 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\xea 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\xe9lula",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\xe7\xe3o","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\xf3digo",Update:"Atualizar",superscript:"sobrescrito",subscript:"subscrito","Cut selection":"Cortar sele\xe7\xe3o",Paste:"Colar","Choose Content to Paste":"Escolher conte\xfado 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\xe1lico",brush:"pincel",link:"link",undo:"desfazer",redo:"refazer",table:"tabela",image:"imagem",eraser:"apagar",paragraph:"par\xe1grafo",fontsize:"tamanho da letra",video:"v\xeddeo",font:"fonte",about:"Sobre de",print:"Imprimir",underline:"sublinhar",strikethrough:"tachado",indent:"recuar",outdent:"diminuir recuo",fullsize:"Tamanho completo",shrink:"diminuir",hr:"linha horizontal",ul:"lista n\xe3o ordenada",ol:"lista ordenada",cut:"Cortar",selectall:"Selecionar tudo","Open link":"Abrir link","Edit link":"Editar link","No follow":"N\xe3o 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\xe7\xe3o",Yes:"Sim",No:"N\xe3o",Remove:"Remover",Select:"Selecionar","You can only edit your own images. Download this image on the host?":"Voc\xea s\xf3 pode editar suas pr\xf3prias 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\xe3o h\xe1 arquivos nesse diret\xf3rio.",Rename:"H\xfangara","Enter new name":"Digite um novo nome",preview:"preview",download:"Baixar","Paste from clipboard":"Colar da \xe1rea de transfer\xeancia","Your browser doesn't support direct access to the clipboard.":"O seu navegador n\xe3o oferece suporte a acesso direto para a \xe1rea de transfer\xeancia.","Copy selection":"Selec\xe7\xe3o de c\xf3pia",copy:"c\xf3pia","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\xe7o web",Default:"Padr\xe3o",Circle:"C\xedrculo",Dot:"Ponto",Quadrate:"Quadro","Lower Alpha":"Letra Min\xfascula","
1Lower Greek":"Grego Min\xfascula","Lower Roman":"Romano Min\xfascula","Upper Alpha":"Letra Mai\xfascula","Upper Roman":"Romano Mai\xfascula",Find:"Encontrar","Find Previous":"Encontrar Anteriores","Find Next":"Localizar Pr\xf3xima","Insert className":"Insira o nome da classe","Press Alt for custom resizing":"Pressione Alt para redimensionamento personalizado","License: %s":"Licen\xe7a: %s"},ru:{"Type something":"\u041d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u0447\u0442\u043e-\u043b\u0438\u0431\u043e","About Jodit":"\u041e Jodit","Jodit Editor":"\u0420\u0435\u0434\u0430\u043a\u0442\u043e\u0440 Jodit","Jodit User's Guide":"Jodit \u0420\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f","contains detailed help for using":"\u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043f\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e","For information about the license, please go to our website:":"\u0414\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u0439 \u043e \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0438 , \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u043d\u0430 \u043d\u0430\u0448 \u0441\u0430\u0439\u0442:","Buy full version":"\u041a\u0443\u043f\u0438\u0442\u044c \u043f\u043e\u043b\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"\u0410\u0432\u0442\u043e\u0440\u0441\u043a\u0438\u0435 \u043f\u0440\u0430\u0432\u0430 \xa9 XDSoft.net - \u0427\u0443\u043f\u0443\u0440\u043d\u043e\u0432 \u0412\u0430\u043b\u0435\u0440\u0438\u0439. \u0412\u0441\u0435 \u043f\u0440\u0430\u0432\u0430 \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u044b.",Anchor:"\u0410\u043d\u043a\u043e\u0440","Open in new tab":"\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443 \u0432 \u043d\u043e\u0432\u043e\u0439 \u0432\u043a\u043b\u0430\u0434\u043a\u0435","Open in fullsize":"\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 \u0432 \u043f\u043e\u043b\u043d\u043e\u043c \u0440\u0430\u0437\u043c\u0435\u0440\u0435","Clear Formatting":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435","Fill color or set the text color":"\u0426\u0432\u0435\u0442 \u0437\u0430\u043b\u0438\u0432\u043a\u0438 \u0438\u043b\u0438 \u0446\u0432\u0435\u0442 \u0442\u0435\u043a\u0441\u0442\u0430",Redo:"\u041f\u043e\u0432\u0442\u043e\u0440",Undo:"\u041e\u0442\u043c\u0435\u043d\u0430",Bold:"\u0416\u0438\u0440\u043d\u044b\u0439",Italic:"\u041d\u0430\u043a\u043b\u043e\u043d\u043d\u044b\u0439","Insert Unordered List":"\u0412\u0441\u0442\u0430\u0432\u043a\u0430 \u043c\u0430\u0440\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u043f\u0438\u0441\u043a\u0430","Insert Ordered List":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043d\u0443\u043c\u0435\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a","Align Center":"\u0412\u044b\u0440\u043e\u0432\u043d\u044f\u0442\u044c \u043f\u043e \u0446\u0435\u043d\u0442\u0440\u0443","Align Justify":"\u0412\u044b\u0440\u043e\u0432\u043d\u044f\u0442\u044c \u043f\u043e \u0448\u0438\u0440\u0438\u043d\u0435","Align Left":"\u0412\u044b\u0440\u043e\u0432\u043d\u044f\u0442\u044c \u043f\u043e \u043b\u0435\u0432\u043e\u043c\u0443 \u043a\u0440\u0430\u044e","Align Right":"\u0412\u044b\u0440\u043e\u0432\u043d\u044f\u0442\u044c \u043f\u043e \u043f\u0440\u0430\u0432\u043e\u043c\u0443 \u043a\u0440\u0430\u044e","Insert Horizontal Line":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u0443\u044e \u043b\u0438\u043d\u0438\u044e","Insert Image":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435","Insert file":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0444\u0430\u0439\u043b","Insert youtube/vimeo video":"\u0412\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0432\u0438\u0434\u0435\u043e","Insert link":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443","Font size":"\u0420\u0430\u0437\u043c\u0435\u0440 \u0448\u0440\u0438\u0444\u0442\u0430","Font family":"\u0428\u0440\u0438\u0444\u0442","Insert format block":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0431\u043b\u043e\u0447\u043d\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442",
1Normal:"\u041d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442","Heading 1":"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 1","Heading 2":"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 2","Heading 3":"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 3","Heading 4":"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 4",Quote:"\u0426\u0438\u0442\u0430\u0442\u0430",Code:"\u041a\u043e\u0434",Insert:"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c","Insert table":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0443","Decrease Indent":"\u0423\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c \u043e\u0442\u0441\u0442\u0443\u043f","Increase Indent":"\u0423\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c \u043e\u0442\u0441\u0442\u0443\u043f","Select Special Character":"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0438\u043c\u0432\u043e\u043b","Insert Special Character":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0438\u043c\u0432\u043e\u043b","Paint format":"\u0424\u043e\u0440\u043c\u0430\u0442 \u043a\u0440\u0430\u0441\u043a\u0438","Change mode":"\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a",Margins:"\u041e\u0442\u0441\u0442\u0443\u043f\u044b",top:"\u0441\u0432\u0435\u0440\u0445\u0443",right:"\u0441\u043f\u0440\u0430\u0432\u0430",bottom:"\u0441\u043d\u0438\u0437\u0443",left:"\u0441\u043b\u0435\u0432\u0430",Styles:"\u0421\u0442\u0438\u043b\u0438",Classes:"\u041a\u043b\u0430\u0441\u0441\u044b",Align:"\u0412\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435",Right:"\u041f\u043e \u043f\u0440\u0430\u0432\u043e\u043c\u0443 \u043a\u0440\u0430\u044e",Center:"\u041f\u043e \u0446\u0435\u043d\u0442\u0440\u0443",Left:"\u041f\u043e \u043b\u0435\u0432\u043e\u043c\u0443 \u043a\u0440\u0430\u044e","--Not Set--":"--\u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c--",Src:"src",Title:"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a",Alternative:"\u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442 (alt)",Link:"\u0421\u0441\u044b\u043b\u043a\u0430","Open link in new tab":"\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443 \u0432 \u043d\u043e\u0432\u043e\u043c \u043e\u043a\u043d\u0435",file:"\u0424\u0430\u0439\u043b",Advanced:"\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u044b\u0435","Image properties":"\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f",Cancel:"\u041e\u0442\u043c\u0435\u043d\u0430",Ok:"\u041e\u043a","Your code is similar to HTML. Keep as HTML?":"\u0412\u0430\u0448 \u0442\u0435\u043a\u0441\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b \u043f\u044b\u0442\u0430\u0435\u0442\u0435\u0441\u044c \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0445\u043e\u0436 \u043d\u0430 HTML. \u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0435\u0433\u043e \u043a\u0430\u043a HTML?","Paste as HTML":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043a\u0430\u043a HTML?",Keep:"\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b",Clean:"\u041f\u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c","Insert as Text":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043a\u0430\u043a \u0442\u0435\u043a\u0441\u0442","Insert only Text":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435\u043a\u0441\u0442","Word Paste Detected":"\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u044d\u0442\u043e \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 Word \u0438\u043b\u0438 Excel","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"\u041a\u043e\u043d\u0442\u0435\u043d\u0442 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0435 \u043f\u043e\u0441\u0442\u0443\u043f\u0430\u0435\u0442 \u0438\u0437 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 Microsoft Word / Excel. \u0412\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0444\u043e\u0440\u043c\u0430\u0442 \u0438\u043b\u0438 \u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0435\u0433\u043e?","File Browser":"\u0411\u0440\u0430\u0443\u0437\u0435\u0440 \u0444\u0430\u0439\u043b\u043e\u0432","Error on load list":"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0441\u043f\u0438\u0441\u043a\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439","Error on load folders":"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0441\u043f\u0438\u0441\u043a\u0430 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0439","Are you sure?":"\u
10412\u044b \u0443\u0432\u0435\u0440\u0435\u043d\u044b?","Enter Directory name":"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438","Create directory":"\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e","type name":"\u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435","Drop image":"\u041f\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0441\u044e\u0434\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435","Drop file":"\u041f\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0441\u044e\u0434\u0430 \u0444\u0430\u0439\u043b","or click":"\u0438\u043b\u0438 \u043d\u0430\u0436\u043c\u0438\u0442\u0435","Alternative text":"\u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442",Browse:"\u0421\u0435\u0440\u0432\u0435\u0440",Upload:"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430",Background:"\u0424\u043e\u043d",Text:"\u0422\u0435\u043a\u0441\u0442",Top:" \u041a \u0432\u0435\u0440\u0445\u0443",Middle:"\u041f\u043e \u0441\u0435\u0440\u0435\u0434\u0438\u043d\u0435",Bottom:"\u041a \u043d\u0438\u0437\u0443","Insert column before":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u043e\u043b\u0431\u0435\u0446 \u0434\u043e","Insert column after":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u043e\u043b\u0431\u0435\u0446 \u043f\u043e\u0441\u043b\u0435","Insert row above":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0440\u044f\u0434 \u0432\u044b\u0448\u0435","Insert row below":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0440\u044f\u0434 \u043d\u0438\u0436\u0435","Delete table":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0443","Delete row":"\u0423\u0434\u0430\u043b\u044f\u0442\u044c \u0440\u044f\u0434","Delete column":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0441\u0442\u043e\u043b\u0431\u0435\u0446","Empty cell":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u044f\u0447\u0435\u0439\u043a\u0443",source:"HTML",bold:"\u0436\u0438\u0440\u043d\u044b\u0439",italic:"\u043a\u0443\u0440\u0441\u0438\u0432",brush:"\u0437\u0430\u043b\u0438\u0432\u043a\u0430",link:"\u0441\u0441\u044b\u043b\u043a\u0430",undo:"\u043e\u0442\u043c\u0435\u043d\u0438\u0442\u044c",redo:"\u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c",table:"\u0442\u0430\u0431\u043b\u0438\u0446\u0430",image:"\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435",eraser:"\u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c",paragraph:"\u043f\u0430\u0440\u0430\u0433\u0440\u0430\u0444",fontsize:"\u0440\u0430\u0437\u043c\u0435\u0440 \u0448\u0440\u0438\u0444\u0442\u0430",video:"\u0432\u0438\u0434\u0435\u043e",font:"\u0448\u0440\u0438\u0444\u0442",about:"\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0435",print:"\u043f\u0435\u0447\u0430\u0442\u044c",underline:"\u043f\u043e\u0434\u0447\u0435\u0440\u043a\u043d\u0443\u0442\u044b\u0439",strikethrough:"\u043f\u0435\u0440\u0435\u0447\u0435\u0440\u043a\u043d\u0443\u0442\u044b\u0439",indent:"\u043e\u0442\u0441\u0442\u0443\u043f",outdent:"\u0432\u044b\u0441\u0442\u0443\u043f",fullsize:"\u0432\u043e \u0432\u0435\u0441\u044c \u044d\u043a\u0440\u0430\u043d",shrink:"\u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u0440\u0430\u0437\u043c\u0435\u0440",hr:"\u043b\u0438\u043d\u0438\u044f",ul:"\u0421\u043f\u0438\u0441\u043e\u043a",ol:"\u041d\u0443\u043c\u0435\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a",cut:"\u0412\u044b\u0440\u0435\u0437\u0430\u0442\u044c",selectall:"\u0412\u044b\u0434\u0435\u043b\u0438\u0442\u044c \u0432\u0441\u0435","Embed code":"\u041a\u043e\u0434","Open link":"\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443","Edit link":"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443","No follow":"\u0410\u0442\u0440\u0438\u0431\u0443\u0442 nofollow",Unlink:"\u0423\u0431\u0440\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443",Eye:"\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440",pencil:"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c",Update:"\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u044c"," URL":"URL",Edit:"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c","Horizontal align":"\u0413\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435",Filter:"\u0424\u0438\u043b\u044c\u0442\u0440","Sort by changed":"\u041f\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044e","S
1ort by name":"\u041f\u043e \u0438\u043c\u0435\u043d\u0438","Sort by size":"\u041f\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0443","Add folder":"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u0430\u043f\u043a\u0443",Reset:"\u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c",Save:"\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c","Save as ...":"\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043a\u0430\u043a",Resize:"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0440",Crop:"\u041e\u0431\u0440\u0435\u0437\u0430\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0440",Width:"\u0428\u0438\u0440\u0438\u043d\u0430",Height:"\u0412\u044b\u0441\u043e\u0442\u0430","Keep Aspect Ratio":"\u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u043f\u0440\u043e\u043f\u043e\u0440\u0446\u0438\u0438",Yes:"\u0414\u0430",No:"\u041d\u0435\u0442",Remove:"\u0423\u0434\u0430\u043b\u0438\u0442\u044c",Select:"\u0412\u044b\u0434\u0435\u043b\u0438\u0442\u044c","Chars: %d":"\u0421\u0438\u043c\u0432\u043e\u043b\u043e\u0432: %d","Words: %d":"\u0421\u043b\u043e\u0432: %d",All:"\u0412\u044b\u0434\u0435\u043b\u0438\u0442\u044c \u0432\u0441\u0435","Select %s":"\u0412\u044b\u0434\u0435\u043b\u0438\u0442\u044c: %s","Select all":"\u0412\u044b\u0434\u0435\u043b\u0438\u0442\u044c \u0432\u0441\u0435","Vertical align":"\u0412\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435",Split:"\u0420\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c","Split vertical":"\u0420\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u043f\u043e \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u0438","Split horizontal":"\u0420\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u043f\u043e \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u0438",Merge:"\u041e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u0432 \u043e\u0434\u043d\u0443","Add column":"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u043e\u043b\u0431\u0435\u0446","Add row":"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0443",Delete:"\u0423\u0434\u0430\u043b\u0438\u0442\u044c",Border:"\u0420\u0430\u043c\u043a\u0430","License: %s":"\u041b\u0438\u0446\u0435\u043d\u0437\u0438\u044f: %s","Strike through":"\u041f\u0435\u0440\u0435\u0447\u0435\u0440\u043a\u043d\u0443\u0442\u044c",Underline:"\u041f\u043e\u0434\u0447\u0435\u0440\u043a\u0438\u0432\u0430\u043d\u0438\u0435",superscript:"\u0432\u0435\u0440\u0445\u043d\u0438\u0439 \u0438\u043d\u0434\u0435\u043a\u0441",subscript:"\u0438\u043d\u0434\u0435\u043a\u0441","Cut selection":"\u0412\u044b\u0440\u0435\u0437\u0430\u0442\u044c",Break:"\u0420\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c","Search for":"\u041d\u0430\u0439\u0442\u0438","Replace with":"\u0417\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430",Replace:"\u0417\u0430\u043c\u0435\u043d\u0438\u0442\u044c",Paste:"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c","Choose Content to Paste":"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u043d\u0442 \u0434\u043b\u044f \u0432\u0441\u0442\u0430\u0432\u043a\u0438","You can only edit your own images. Download this image on the host?":"\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0432\u043e\u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f. \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u044d\u0442\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u0432\u0430\u0448 \u0441\u0435\u0440\u0432\u0435\u0440?","The image has been successfully uploaded to the host!":"\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043e \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440!",palette:"\u043f\u0430\u043b\u0438\u0442\u0440\u0430","There are no files":"\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \u043d\u0435\u0442 \u0444\u0430\u0439\u043b\u043e\u0432",Rename:"\u041f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u0442\u044c","Enter new name":"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u043e\u0432\u043e\u0435 \u0438\u043c\u044f",preview:"\u041f\u0440\u0435\u0434\u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440",download:"\u0421\u043a\u0430\u0447\u0430\u0442\u044c","Paste from clipboard":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0438\u0437 \u0431\u0443\u0444\u0435\u0440\u0430 \u043e\u0431\u043c\u0435\u043d\u0430","Your browser doesn't support direct access to the clipboard.":"\u0412\u0430\u0448 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u0440\u044f\u043c\u043e\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0431\u0443\u0444\u0435\u0440\u0443 \u043e\u0431\u043c\u0435\u043d\u0430.","Copy selection":"\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0435",copy:"\u043a\u043e\u043f\u0438\u044f","Border radius":"\u0420\u0430\u0434\u0438\u0443\u0441 \u0433\u0440\u0430\u043d\u0438\u0446\u044b","Show all":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u0441\u0435",Apply:"\u041f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c","Please fill out this field":"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u044d\u0442\u043e \u043f\u043e\u043b\u0435","Please enter a web address":"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0432\u0435\u0431-\u0430\u0434\u0440\u0435\u0441",Default:"\u
1041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e",Circle:"\u041a\u0440\u0443\u0433",Dot:"\u0422\u043e\u0447\u043a\u0430",Quadrate:"\u041a\u0432\u0430\u0434\u0440\u0430\u0442",Find:"\u041d\u0430\u0439\u0442\u0438","Find Previous":"\u041d\u0430\u0439\u0442\u0438 \u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435","Find Next":"\u041d\u0430\u0439\u0442\u0438 \u0414\u0430\u043b\u0435\u0435","Insert className":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043a\u043b\u0430\u0441\u0441\u0430","Press Alt for custom resizing":"\u041d\u0430\u0436\u043c\u0438\u0442\u0435 Alt \u0434\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430"},tr:{"Type something":"Bir \u015feyler yaz",Advanced:"Geli\u015fmi\u015f","About Jodit":"Jodit Hakk\u0131nda","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Jodit Kullan\u0131m K\u0131lavuzu","contains detailed help for using":"kullan\u0131m i\xe7in detayl\u0131 bilgiler i\xe7erir","For information about the license, please go to our website:":"Lisans hakk\u0131nda bilgi i\xe7in l\xfctfen web sitemize gidin:","Buy full version":"Tam versiyonunu sat\u0131n al","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. T\xfcm haklar\u0131 sakl\u0131d\u0131r.",Anchor:"Ba\u011flant\u0131","Open in new tab":"Yeni sekmede a\xe7","Open in fullsize":"Edit\xf6r\xfc tam ekranda a\xe7","Clear Formatting":"Stili temizle","Fill color or set the text color":"Renk doldur veya yaz\u0131 rengi se\xe7",Redo:"Yinele",Undo:"Geri Al",Bold:"Kal\u0131n",Italic:"\u0130talik","Insert Unordered List":"S\u0131ras\u0131z Liste Ekle","Insert Ordered List":"S\u0131ral\u0131 Liste Ekle","Align Center":"Ortala","Align Justify":"Kenarlara Yasla","Align Left":"Sola Yasla","Align Right":"Sa\u011fa Yasla","Insert Horizontal Line":"Yatay \xc7izgi Ekle","Insert Image":"Resim Ekle","Insert file":"Dosya Ekle","Insert youtube/vimeo video":"Youtube/Vimeo Videosu Ekle","Insert link":"Ba\u011flant\u0131 Ekle","Font size":"Font Boyutu","Font family":"Font Ailesi","Insert format block":"Blok Ekle",Normal:"Normal","Heading 1":"Ba\u015fl\u0131k 1","Heading 2":"Ba\u015fl\u0131k 2","Heading 3":"Ba\u015fl\u0131k 3","Heading 4":"Ba\u015fl\u0131k 4",Quote:"Al\u0131nt\u0131",Code:"Kod",Insert:"Ekle","Insert table":"Tablo Ekle","Decrease Indent":"Girintiyi Azalt","Increase Indent":"Girintiyi Artt\u0131r","Select Special Character":"\xd6zel Karakter Se\xe7","Insert Special Character":"\xd6zel Karakter Ekle","Paint format":"Resim Bi\xe7imi","Change mode":"Mod De\u011fi\u015ftir",Margins:"Bo\u015fluklar",top:"\xdcst",right:"Sa\u011f",bottom:"Alt",left:"Sol",Styles:"CSS Stilleri",Classes:"CSS S\u0131n\u0131flar\u0131",Align:"Hizalama",Right:"Sa\u011f",Center:"Ortal\u0131",Left:"Sol","--Not Set--":"Belirsiz",Src:"Kaynak",Title:"Ba\u015fl\u0131k",Alternative:"Alternatif Yaz\u0131",Link:"Link","Open link in new tab":"Ba\u011flant\u0131y\u0131 yeni sekmede a\xe7",Image:"Resim",file:"Dosya","Image properties":"Resim \xf6zellikleri",Cancel:"\u0130ptal",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\u0131\u015ft\u0131r",Keep:"Sakla",Clean:"Temizle","Insert as Text":"Yaz\u0131 olarak ekle","Word Paste Detected":"Word bi\xe7iminde yap\u0131\u015ft\u0131rma alg\u0131land\u0131","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\xfcgen, stammt aus einem Microsoft Word / Excel-Dokument. M\xf6chten Sie das Format erhalten oder l\xf6schen?","Insert only Text":"Sadece yaz\u0131y\u0131 ekle","File Browser":"Dosya Listeleyici","Error on load list":"Liste y\xfcklenirken hata olu\u015ftu","Error on load folders":"Klas\xf6rler y\xfcklenirken hata olu\u015ftur","Are you sure?":"Emin misiniz?","Enter Directory name":"Dizin y
1olu giriniz","Create directory":"Dizin olu\u015ftur","type name":"\u0130sim yaz","Drop image":"Resim b\u0131rak","Drop file":"Dosya b\u0131rak","or click":"veya t\u0131kla","Alternative text":"Alternatif yaz\u0131",Browse:"G\xf6zat",Upload:"Y\xfckle",Background:"Arka plan",Text:"Yaz\u0131",Top:"\xdcst",Middle:"Orta",Bottom:"A\u015fa\u011f\u0131","Insert column before":"\xd6ncesine kolon ekle","Insert column after":"Sonras\u0131na kolon ekle","Insert row above":"\xdcst\xfcne sat\u0131r ekle","Insert row below":"Alt\u0131na sat\u0131r ekle","Delete table":"Tabloyu sil","Delete row":"Sat\u0131r\u0131 sil","Delete column":"Kolonu sil","Empty cell":"H\xfccreyi temizle",Delete:"Sil","Strike through":"\xdcst\xfc \xe7izili",Underline:"Alt \xe7izgi",Break:"Sat\u0131r sonu","Search for":"Ara","Replace with":"\u015eununla de\u011fi\u015ftir",Replace:"De\u011fi\u015ftir",Edit:"D\xfczenle","Vertical align":"Dikey hizala","Horizontal align":"Yatay hizala",Filter:"Filtre","Sort by changed":"De\u011fi\u015fime g\xf6re s\u0131rala","Sort by name":"\u0130sme g\xf6re s\u0131rala","Sort by size":"Boyuta g\xf6re s\u0131rala","Add folder":"Klas\xf6r ekle",Split:"Ay\u0131r","Split vertical":"Dikey ay\u0131r","Split horizontal":"Yatay ay\u0131r",Merge:"Birle\u015ftir","Add column":"Kolon ekle","Add row":"Sat\u0131r ekle",Border:"Kenarl\u0131k","Embed code":"Kod ekle",Update:"G\xfcncelle",superscript:"\xdcst yaz\u0131",subscript:"Alt yaz\u0131","Cut selection":"Se\xe7ilimi kes",Paste:"Yap\u0131\u015ft\u0131r","Choose Content to Paste":"Yap\u0131\u015ft\u0131r\u0131lacak i\xe7erik se\xe7","Chars: %d":"Harfler: %d","Words: %d":"Kelimeler: %d",All:"T\xfcm\xfc","Select %s":"Se\xe7: %s","Select all":"T\xfcm\xfcn\xfc se\xe7",source:"Kaynak",bold:"Kal\u0131n",italic:"italik",brush:"F\u0131r\xe7a",link:"Ba\u011flant\u0131",undo:"Geri al",redo:"Yinele",table:"Tablo",image:"Resim",eraser:"Silgi",paragraph:"Paragraf",fontsize:"Font boyutu",video:"Video",font:"Font",about:"Hakk\u0131nda",print:"Yazd\u0131r",underline:"Alt \xe7izgi",strikethrough:"\xdcst\xfc \xe7izili",indent:"Girinti",outdent:"\xc7\u0131k\u0131nt\u0131",fullsize:"Tam ekran",shrink:"K\xfc\xe7\xfclt",hr:"Ayra\xe7",ul:"S\u0131ras\u0131z liste",ol:"S\u0131ral\u0131 liste",cut:"Kes",selectall:"T\xfcm\xfcn\xfc se\xe7","Open link":"Ba\u011flant\u0131y\u0131 a\xe7","Edit link":"Ba\u011flant\u0131y\u0131 d\xfczenle","No follow":"Nofollow \xf6zelli\u011fi",Unlink:"Ba\u011flant\u0131y\u0131 kald\u0131r",Eye:"Yorumu",pencil:"D\xfczenlemek i\xe7in"," URL":"URL",Reset:"S\u0131f\u0131rla",Save:"Kaydet","Save as ...":"Farkl\u0131 kaydet",Resize:"Boyutland\u0131r",Crop:"K\u0131rp",Width:"Geni\u015flik",Height:"Y\xfckseklik","Keep Aspect Ratio":"En boy oran\u0131n\u0131 koru",Yes:"Evet",No:"Hay\u0131r",Remove:"Sil",Select:"Se\xe7","You can only edit your own images. Download this image on the host?":"Sadece kendi resimlerinizi d\xfczenleyebilirsiniz. Bu g\xf6rseli kendi hostunuza indirmek ister misiniz?","The image has been successfully uploaded to the host!":"G\xf6rsel ba\u015far\u0131yla hostunuza y\xfcklendi",palette:"Palet","There are no files":"Bu dizinde dosya yok",Rename:"Yeniden isimlendir","Enter new name":"Yeni isim girin",preview:"\xd6n izleme",download:"\u0130ndir","Paste from clipboard":"Panodan yap\u0131\u015ft\u0131r ","Your browser doesn't support direct access to the clipboard.":"Taray\u0131c\u0131n\u0131z panoya do\u011frudan eri\u015fimi desteklemiyor.","Copy selection":"Se\xe7imi kopyala",copy:"Kopyala","Border radius":"S\u0131n\u0131r yar\u0131\xe7ap\u0131","Show all":"T\xfcm\xfcn\xfc G\xf6ster",Apply:"Uygula","Please fill out this field":"L\xfctfen bu alan\u0131 doldurun","Please enter a web address":"L\xfctfen bir web adresi girin",Default:"Varsay\u0131lan",Circle:"Daire",Dot:"Nokta",Quadrate:"Kare",Find:"Bul","Find Previous":"\xd6ncekini Bul","Find Next":"Sonrakini Bul","Insert className":"S\u0131n\u0131f ad\u0131 girin","Press Alt for custom resizing":"\xd6zel yeniden boyutland\u0131rma i\xe7in Alt tu\u015funa bas\u0131n","License: %s":"Lisans: %s"},ua:{"Type something":"\u041d\u0430\u043f\u0438\u0448\u0456\u0442\u044c \u0449\u043e\u0441\u044c","About Jodit":"\u041f\u0440\u043e Jodit","Jodit Editor":"\u0420\u0435\u0434\u0430\u043a\u0442\u043e\u0440 Jodit","Jodit User's Guide":"Jodit \u0456\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0456\u044f \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430","contains detailed help for using":"\u043c\u0456\u0441\u0442\u0438\u0442\u044c \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u0443 \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u044e \u0449\u043e\u0434\u043e \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u043d\u043d\u044f","For information about the license, please go to our website:":"\u0429\u043e\u0431 \u0434\u0456\u0437\u043d\u0430\u0442\u0438\u0441\u044c \u0431\u0456\u043b\u044c\u0448\u0435 \u043f\u0440\u043e \u043b\u0456\u0446\u0435\u043d\u0437\u0456\u044e , \u0431\u0443\u0434\u044c \u043b\u0430\u0441\u043a\u0430, \u043f\u0435\u0440\u0435\u0439\u0434\u0456\u0442\u044c \u043d\u0430 \u043d\u0430\u0448 \u0441\u0430\u0439\u0442:","Buy full version":"\u041a\u0443\u043f\u0438\u0442\u0438 \u043f\u043e\u0432\u043d\u0443 \u0432\u0435\u0440\u0441\u0456\u044e","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"\u0410\u0432\u0442\u043e\u0440\u0441\u044c\u043a\u0456 \u043f\u0440\u0430\u0432\u0430 \xa9 XDSoft.net - \u0427\u0443\u043f\u0443\u0440\u043d\u043e\u0432 \u0412\u0430\u043b\u0435\u0440\u0456\u0439. \u0412\u0441\u0456 \u043f\u0440\u0430\u0432\u0430 \u0437\u0430\u0445\u0438\u0449\u0435\u043d\u0456.",Anchor:"\u0410\u043d\u043a\u043e\u0440","Open in new tab":"\u0412\u0456\u0434\u043a\u0440\u0438\u0442\u0438 \u0443 \u043d\u043e\u0432\u0456\u0439 \u0432\u043a\u043b\u0430\u0434\u0446\u0456","Open in fullsize":"\u0412\u0456\u0434\u043a\u0440\u0438\u0442\u0438 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 \u0432 \u043f\u043e\u0432\u043d\u043e\u043c\u0443 \u0440\u043e\u0437\u043c\u0456\u0440\u0456","Clear Formatting":"\u
1041e\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0444\u043e\u0440\u043c\u0430\u0442\u0443\u0432\u0430\u043d\u043d\u044f","Fill color or set the text color":"\u041a\u043e\u043b\u0456\u0440 \u0437\u0430\u043b\u0438\u0432\u043a\u0438 \u0430\u0431\u043e \u043a\u043e\u043b\u0456\u0440 \u0442\u0435\u043a\u0441\u0442\u0430",Redo:"\u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0438",Undo:"\u0412\u0456\u0434\u043c\u0456\u043d\u0438\u0442\u0438",Bold:"\u0416\u0438\u0440\u043d\u0438\u0439",Italic:"\u041a\u0443\u0440\u0441\u0456\u0432","Insert Unordered List":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043d\u0435\u0432\u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u0430\u043d\u0438\u0439 \u0441\u043f\u0438\u0441\u043e\u043a","Insert Ordered List":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043d\u0443\u043c\u0435\u0440\u043e\u0432\u0430\u043d\u043d\u0438\u0439 \u0441\u043f\u0438\u0441\u043e\u043a","Align Center":"\u0412\u0438\u0440\u0456\u0432\u043d\u044f\u0442\u0438 \u043f\u043e \u0446\u0435\u043d\u0442\u0440\u0443","Align Justify":"\u0412\u0438\u0440\u0456\u0432\u043d\u044f\u0442\u0438 \u043f\u043e \u0448\u0438\u0440\u0438\u043d\u0456","Align Left":"\u0412\u0438\u0440\u0456\u0432\u043d\u044f\u0442\u0438 \u043f\u043e \u043b\u0456\u0432\u043e\u043c\u0443 \u043a\u0440\u0430\u044e","Align Right":"\u0412\u0438\u0440\u0456\u0432\u043d\u044f\u0442\u0438 \u043f\u043e \u043f\u0440\u0430\u0432\u043e\u043c\u0443 \u043a\u0440\u0430\u044e","Insert Horizontal Line":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u0443 \u043b\u0456\u043d\u0456\u044e","Insert Image":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f","Insert file":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0444\u0430\u0439\u043b","Insert youtube/vimeo video":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0432\u0456\u0434\u0435\u043e","Insert link":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f","Font size":"\u0420\u043e\u0437\u043c\u0456\u0440 \u0448\u0440\u0438\u0444\u0442\u0443","Font family":"\u0428\u0440\u0438\u0444\u0442","Insert format block":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0431\u043b\u043e\u0447\u043d\u0438\u0439 \u0435\u043b\u0435\u043c\u0435\u043d\u0442",Normal:"\u041d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u0438\u0439 \u0442\u0435\u043a\u0441\u0442","Heading 1":"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 1","Heading 2":"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 2","Heading 3":"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 3","Heading 4":"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 4",Quote:"\u0426\u0438\u0442\u0430\u0442\u0430",Code:"\u041a\u043e\u0434",Insert:"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438","Insert table":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u044e","Decrease Indent":"\u0417\u0431\u0456\u043b\u044c\u0448\u0438\u0442\u0438 \u0432\u0456\u0434\u0441\u0442\u0443\u043f","Increase Indent":"\u0417\u043c\u0435\u043d\u0448\u0438\u0442\u0438 \u0432\u0456\u0434\u0441\u0442\u0443\u043f","Select Special Character":"\u041e\u0431\u0435\u0440\u0456\u0442\u044c \u0441\u043f\u0435\u0446\u0456\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0438\u043c\u0432\u043e\u043b","Insert Special Character":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0441\u043f\u0435\u0446\u0456\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0438\u043c\u0432\u043e\u043b","Paint format":"\u0424\u043e\u0440\u043c\u0430\u0442 \u043a\u0440\u0430\u0441\u043a\u0438","Change mode":"\u0414\u0436\u0435\u0440\u0435\u043b\u043e",Margins:"\u0412\u0456\u0434\u0441\u0442\u0443\u043f\u0438",top:"\u0437\u0432\u0435\u0440\u0445\u0443",right:"\u0441\u043f\u0440\u0430\u0432\u0430",bottom:"\u0437\u043d\u0438\u0437\u0443",left:"\u0437\u043b\u0456\u0432\u0430",Styles:"\u0421\u0442\u0438\u043b\u0456",Classes:"\u041a\u043b\u0430\u0441\u0438",Align:"\u0412\u0438\u0440\u0456\u0432\u043d\u044e\u0432\u0430\u043d\u043d\u044f",Right:"\u041f\u043e \u043f\u0440\u0430\u0432\u043e\u043c\u0443 \u043a\u0440\u0430\u044e",Center:"\u041f\u043e \u0446\u0435\u043d\u0442\u0440\u0443",Left:"\u041f\u043e \u043b\u0456\u0432\u043e\u043c\u0443 \u043a\u0440\u0430\u044e","--Not Set--":"--\u043d\u0435 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e--",Src:"src",Title:"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a",Alternative:"\u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u0438\u0439 \u0442\u0435\u043a\u0441\u0442 (alt)",Link:"\u041f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f","Open link in new tab":"\u0412\u0456\u0434\u043a\u0440\u0438\u0442\u0438 \u043f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f \u0432 \u043d\u043e\u0432\u0456\u0439 \u0432\u043a\u043b\u0430\u0434\u0446\u0456",file:"\u0424\u0430\u0439\u043b",Advanced:"\u0420\u043e\u0437\u0448\u0438\u0440\u0435\u043d\u0456","Image properties":"\u0412\u043b\u0430\u0441\u0442\u0438\u0432\u043e\u0441\u0442\u0456 \u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f",Cancel:"\u0412\u0456\u0434\u043c\u0456\u043d\u0430",Ok:"\u041e\u043a","Your code is similar to HTML. Keep as HTML?":"\u0422\u0435\u043a\u0441\u0442, \u044f\u043a\u0438\u0439 \u0412\u0438 \u043d\u0430\u043c\u0430\u0433\u0430\u0454\u0442\u0435\u0441\u044c \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0441\u0445\u043e\u0436\u0438\u0439 \u043d\u0430 HTML. \u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0439\u043e\u0433\u043e \u044f\u043a HTML?","Paste as HTML":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0439\u043e\u0433\u043e \u044f\u043a HTML",Keep:"\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u043e\u0440\u0438\u0433\u0456\u043d\u0430\u043b",Clean:"\u041f\u043e\u0447\u0438\u0441\u0442\u0438\u0442\u0438","Insert as Text":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u044f\u043a \u0442\u0435\u043a\u0441\u0442","Insert only Text":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0442\u0456\u043b\u044c\u043a\u0438 \u0442\u0435\u043a\u0441\u0442","Word Paste Detected":"\u041c\u043e\u0436\u043b\u0438\u0432\u043e \u0446\u0435 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 Word \u0430\u0431\u043e Excel","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"\u0412\u0438 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0454\u0442\u0435 \u043a\u043e\u043d\u0442\u0435\u043d\u0442 \u0437 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 Microsoft Word \u0430\u0431\u043e Excel. \u0411\u0430\u0436\u0430\u0454\u0442\u0435 \u0437\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0444\u043e\u0440\u043c\u0430\u0442\u0443\u0432\u0430\u043d\u043d\u044f?","File Browser":"\u0411\u0440\u0430\u0443\u0437\u0435\u0440 \u0444\u0430\u0439\u043b\u0456\u0432","Error on load list":"\u041f\u043e\u043c\u0438\u043b\u043a\u0430 \u043f\u0440\u0438 \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u0456 \u0441\u043f\u0438\u0441\u043a\u0443 \u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u044c","Error on load folders":"\u041f\u043e\u043c\u0438\u043b\u043a\u0430 \u043f\u0440\u0438 \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u0456 \u0441\u043f\u0438\u0441\u043a\u0443 \u043f\u0430\u043f\u043e\u043a","Are you sure?":"\u
10412\u0438 \u0432\u043f\u0435\u0432\u043d\u0435\u043d\u0456?","Enter Directory name":"\u0412\u0432\u0435\u0434\u0456\u0442\u044c \u043d\u0430\u0437\u0432\u0443 \u043f\u0430\u043f\u043a\u0438","Create directory":"\u0421\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u043f\u0430\u043f\u043a\u0443","type name":"\u0432\u0432\u0435\u0434\u0456\u0442\u044c \u043d\u0430\u0437\u0432\u0443","Drop image":"\u041f\u0435\u0440\u0435\u0442\u044f\u0433\u043d\u0456\u0442\u044c \u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f \u0441\u044e\u0434\u0438","Drop file":"\u041f\u0435\u0440\u0435\u0442\u044f\u0433\u043d\u0456\u0442\u044c \u0444\u0430\u0439\u043b \u0441\u044e\u0434\u0438","or click":"\u0430\u0431\u043e \u043a\u043b\u0456\u043a\u043d\u0456\u0442\u044c","Alternative text":"\u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442",Browse:"\u0421\u0435\u0440\u0432\u0435\u0440",Upload:"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f",Background:"\u0424\u043e\u043d",Text:"\u0422\u0435\u043a\u0441\u0442",Top:" \u0412\u0433\u043e\u0440\u0443",Middle:"\u041f\u043e \u0446\u0435\u043d\u0442\u0440\u0443",Bottom:"\u0414\u043e\u043d\u0438\u0437\u0443","Insert column before":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0441\u0442\u043e\u0432\u043f\u0435\u0446\u044c \u0434\u043e","Insert column after":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0441\u0442\u043e\u0432\u043f\u0435\u0446\u044c \u043f\u0456\u0441\u043b\u044f","Insert row above":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0440\u044f\u0434\u043e\u043a \u0432\u0438\u0449\u0435","Insert row below":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0440\u044f\u0434\u043e\u043a \u043d\u0438\u0436\u0447\u0435","Delete table":"\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u044e","Delete row":"\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438 \u0440\u044f\u0434\u043e\u043a","Delete column":"\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438 \u0441\u0442\u043e\u0432\u043f\u0447\u0438\u043a","Empty cell":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u043a\u043b\u0456\u0438\u043d\u043a\u0443",source:"HTML",bold:"\u0436\u0438\u0440\u043d\u0438\u0439",italic:"\u043a\u0443\u0440\u0441\u0456\u0432",brush:"\u0437\u0430\u043b\u0438\u0432\u043a\u0430",link:"\u043f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f",undo:"\u0432\u0456\u0434\u043c\u0456\u043d\u0438\u0442\u0438",redo:"\u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0438",table:"\u0442\u0430\u0431\u043b\u0438\u0446\u044f",image:"\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f",eraser:"\u0432\u0438\u0434\u0430\u043b\u0435\u043d\u043d\u044f",paragraph:"\u043f\u0430\u0440\u0430\u0433\u0440\u0430\u0444",fontsize:"\u0440\u043e\u0437\u043c\u0456\u0440 \u0448\u0440\u0438\u0444\u0442\u0443",video:"\u0432\u0456\u0434\u0435\u043e",font:"\u0448\u0440\u0438\u0444\u0442",about:"\u043f\u0440\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440",print:"\u0434\u0440\u0443\u043a",underline:"\u043f\u0456\u0434\u043a\u0440\u0435\u0441\u043b\u0435\u043d\u0438\u0439",strikethrough:"\u0437\u0430\u043a\u0440\u0435\u0441\u043b\u0435\u043d\u0438\u0439",indent:"\u0432\u0456\u0434\u0441\u0442\u0443\u043f",outdent:"\u0437\u0430\u0441\u0442\u0443\u043f",fullsize:"\u043d\u0430 \u0432\u0435\u0441\u044c \u0435\u043a\u0440\u0430\u043d",shrink:"\u0437\u0432\u0438\u0447\u0430\u0439\u043d\u0438\u0439 \u0440\u043e\u0437\u043c\u0456\u0440",hr:"\u043b\u0456\u043d\u0456\u044f",ul:"\u0421\u043f\u0438\u0441\u043e\u043a",ol:"\u041d\u0443\u043c\u0435\u0440\u043e\u0432\u0430\u043d\u0438\u0439 \u0441\u043f\u0438\u0441\u043e\u043a",cut:"\u0412\u0438\u0440\u0456\u0437\u0430\u0442\u0438",selectall:"\u0412\u0438\u0434\u0456\u043b\u0438\u0442\u0438 \u0432\u0441\u0435","Embed code":"\u041a\u043e\u0434","Open link":"\u0412\u0456\u0434\u043a\u0440\u0438\u0442\u0438 \u043f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f","Edit link":"\u0420\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u043f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f","No follow":"\u0410\u0442\u0440\u0438\u0431\u0443\u0442 nofollow",Unlink:"\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438 \u043f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f",Eye:"\u041f\u0435\u0440\u0435\u0433\u043b\u044f\u0434",pencil:"\u0420\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u043d\u043d\u044f",Update:"\u041e\u043d\u043e\u0432\u0438\u0442\u0438"," URL":"URL",Edit:"\u0420\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438","Horizontal align":"\u0413\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u0435 \u0432\u0438\u0440\u0456\u0432\u043d\u044e\u0432\u0430\u043d\u043d\u044f",Filter:"\u0424\u0456\u043b\u044c\u0442\u0440","Sort by changed":"\u0421\u043e\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0437\u0430 \u0437\u043c\u0456\u043d\u043e\u044e","S
1ort by name":"\u0421\u043e\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0437\u0430 \u0456\u043c'\u044f\u043c","Sort by size":"\u0421\u043e\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0437\u0430 \u0440\u043e\u0437\u043c\u0456\u0440\u043e\u043c","Add folder":"\u0414\u043e\u0434\u0430\u0442\u0438 \u043f\u0430\u043f\u043a\u0443",Reset:"\u0412\u0456\u0434\u043d\u043e\u0432\u0438\u0442\u0438",Save:"\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438","Save as ...":"\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u044f\u043a",Resize:"\u0417\u043c\u0456\u043d\u0438\u0442\u0438 \u0440\u043e\u0437\u043c\u0456\u0440",Crop:"\u041e\u0431\u0440\u0456\u0437\u0430\u0442\u0438 \u0440\u043e\u0437\u043c\u0456\u0440",Width:"\u0428\u0438\u0440\u0438\u043d\u0430",Height:"\u0412\u0438\u0441\u043e\u0442\u0430","Keep Aspect Ratio":"\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u043f\u0440\u043e\u043f\u043e\u0440\u0446\u0456\u0457",Yes:"\u0422\u0430\u043a",No:"\u041d\u0456",Remove:"\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438",Select:"\u0412\u0438\u0431\u0440\u0430\u0442\u0438","Chars: %d":"\u0421\u0438\u043c\u0432\u043e\u043b\u0456\u0432: %d","Words: %d":"\u0421\u043b\u0456\u0432: %d",All:"\u0412\u0438\u0431\u0440\u0430\u0442\u0438 \u0432\u0441\u0435","Select %s":"\u0412\u0438\u0431\u0440\u0430\u0442\u0438: %s","Select all":"\u0412\u0438\u0431\u0440\u0430\u0442\u0438 \u0432\u0441\u0435","Vertical align":"\u0412\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u044c\u043d\u0435 \u0432\u0438\u0440\u0456\u0432\u043d\u044e\u0432\u0430\u043d\u043d\u044f",Split:"\u0420\u043e\u0437\u0434\u0456\u043b\u0438\u0442\u0438","Split vertical":"\u0420\u043e\u0437\u0434\u0456\u043b\u0438\u0442\u0438 \u043f\u043e \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u0456","Split horizontal":"\u0420\u043e\u0437\u0434\u0456\u043b\u0438\u0442\u0438 \u043f\u043e \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u0456",Merge:"\u041e\u0431'\u0454\u0434\u043d\u0430\u0442\u0438 \u0432 \u043e\u0434\u043d\u0443","Add column":"\u0414\u043e\u0434\u0430\u0442\u0438 \u0441\u0442\u043e\u0432\u043f\u0447\u0438\u043a","Add row":"\u0414\u043e\u0434\u0430\u0442\u0438 \u0440\u044f\u0434\u043e\u043a",Delete:"\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438",Border:"\u0420\u0430\u043c\u043a\u0430","License: %s":"\u041b\u0456\u0446\u0435\u043d\u0437\u0456\u044f: %s","Strike through":"\u0417\u0430\u043a\u0440\u0435\u0441\u043b\u0435\u043d\u0438\u0439",Underline:"\u041f\u0456\u0434\u043a\u0440\u0435\u0441\u043b\u0435\u043d\u0438\u0439",superscript:"\u0432\u0435\u0440\u0445\u043d\u0456\u0439 \u0456\u043d\u0434\u0435\u043a\u0441",subscript:"\u0456\u043d\u0434\u0435\u043a\u0441","Cut selection":"\u041e\u0431\u0440\u0456\u0437\u0430\u0442\u0438 \u0432\u0438\u0431\u0440\u0430\u043d\u0435",Break:"\u041c\u0435\u0436\u0430","Search for":"\u0428\u0443\u043a\u0430\u0442\u0438","Replace with":"\u0417\u0430\u043c\u0456\u043d\u0438\u0442\u0438 \u043d\u0430",Replace:"\u0417\u0430\u043c\u0456\u043d\u0438\u0442\u0438",Paste:"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438","Choose Content to Paste":"\u041e\u0431\u0440\u0430\u0442\u0438 \u043a\u043e\u043d\u0442\u0435\u043d\u0442 \u0434\u043b\u044f \u0432\u0441\u0442\u0430\u0432\u043a\u0438","You can only edit your own images. Download this image on the host?":"\u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0440\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u043b\u0438\u0448\u0435 \u0432\u043b\u0430\u0441\u043d\u0456 \u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f. \u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438 \u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f \u043d\u0430 \u0432\u0430\u0448 \u0441\u0435\u0440\u0432\u0435\u0440?","The image has been successfully uploaded to the host!":"\u0417\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f \u0443\u0441\u043f\u0456\u0448\u043d\u043e \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043e \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440!",palette:"\u043f\u0430\u043b\u0456\u0442\u0440\u0430","There are no files":"\u0424\u0430\u0439\u043b\u0438 \u0432\u0456\u0434\u0441\u0443\u0442\u043d\u0456",Rename:"\u0417\u043c\u0456\u043d\u0438\u0442\u0438 \u043d\u0430\u0437\u0432\u0443","Enter new name":"\u0412\u0432\u0435\u0434\u0456\u0442\u044c \u043d\u043e\u0432\u0435 \u0456\u043c\u044f'",preview:"\u041f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u0456\u0439 \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u0434",download:"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438","Paste from clipboard":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0437 \u0431\u0443\u0444\u0435\u0440\u0430 \u043e\u0431\u043c\u0456\u043d\u0443","Your browser doesn't support direct access to the clipboard.":"\u0412\u0430\u0448 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043d\u0435 \u043f\u0456\u0434\u0442\u0440\u0438\u043c\u0443\u0454 \u0434\u043e\u0441\u0442\u0443\u043f \u0434\u043e \u0431\u0443\u0444\u0435\u0440\u0430 \u043e\u0431\u043c\u0456\u043d\u0443.","Copy selection":"\u041a\u043e\u043f\u0456\u044e\u0432\u0430\u0442\u0438 \u0432\u0438\u0434\u0456\u043b\u0435\u043d\u0435",copy:"\u043a\u043e\u043f\u0456\u044f","Border radius":"\u0420\u0430\u0434\u0456\u0443\u0441 \u0440\u0430\u043c\u043a\u0438","Show all":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u0432\u0441\u0435",Apply:"\u0417\u0430\u0441\u0442\u043e\u0441\u0443\u0432\u0430\u0442\u0438","Please fill out this field":"\u0411\u0443\u0434\u044c \u043b\u0430\u0441\u043a\u0430, \u0437\u0430\u043f\u043e\u0432\u043d\u0456\u0442\u044c \u0446\u0435 \u043f\u043e\u043b\u0435","Please enter a web address":"\u0411\u0443\u0434\u044c \u043b\u0430\u0441\u043a\u0430, \u0432\u0432\u0435\u0434\u0456\u0442\u044c \u0432\u0435\u0431-\u0430\u0434\u0440\u0435\u0441\u0443",Default:"\u
10417\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0435\u043d\u043d\u044f\u043c",Circle:"\u041a\u043e\u043b\u043e",Dot:"\u041a\u0440\u0430\u043f\u043a\u0430",Quadrate:"\u041a\u0432\u0430\u0434\u0440\u0430\u0442",Find:"\u0417\u043d\u0430\u0439\u0442\u0438","Find Previous":"\u0417\u043d\u0430\u0439\u0442\u0438 \u043f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u0456","Find Next":"\u0417\u043d\u0430\u0439\u0442\u0438 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0456","Insert className":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043a\u043b\u0430\u0441","Press Alt for custom resizing":"\u041d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c Alt \u0434\u043b\u044f \u0437\u043c\u0456\u043d\u0438 \u0440\u043e\u0437\u043c\u0456\u0440\u0443"},zh_cn:{"Type something":"\u8f93\u5165\u4e00\u4e9b\u5185\u5bb9",Advanced:"\u9ad8\u7ea7","About Jodit":"\u5173\u4e8eJodit","Jodit Editor":"Jodit Editor","Free Non-commercial Version":"Free Non-commercial Version","Jodit User's Guide":"\u5f00\u53d1\u8005\u6307\u5357","contains detailed help for using":"\u4f7f\u7528\u5e2e\u52a9","For information about the license, please go to our website:":"\u6709\u5173\u8bb8\u53ef\u8bc1\u7684\u4fe1\u606f\uff0c\u8bf7\u8bbf\u95ee\u6211\u4eec\u7684\u7f51\u7ad9\uff1a","Buy full version":"\u8d2d\u4e70\u5b8c\u6574\u7248\u672c","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. \u7248\u6743\u6240\u6709",Anchor:"Anchor","Open in new tab":"\u5
1728\u65b0\u7a97\u53e3\u6253\u5f00","Open in fullsize":"\u5168\u5c4f\u7f16\u8f91","Clear Formatting":"\u6e05\u9664\u6837\u5f0f","Fill color or set the text color":"\u989c\u8272",Redo:"\u91cd\u505a",Undo:"\u64a4\u9500",Bold:"\u7c97\u4f53",Italic:"\u659c\u4f53","Insert Unordered List":"\u7b26\u53f7\u5217\u8868","Insert Ordered List":"\u7f16\u53f7","Align Center":"\u5c45\u4e2d","Align Justify":"\u5bf9\u9f50\u6587\u672c","Align Left":"\u5de6\u5bf9\u9f50","Align Right":"\u53f3\u5bf9\u9f50","Insert Horizontal Line":"\u5206\u5272\u7ebf","Insert Image":"\u56fe\u7247","Insert file":"\u6587\u4ef6","Insert youtube/vimeo video":"\u89c6\u9891","Insert link":"\u94fe\u63a5","Font size":"\u5b57\u53f7","Font family":"\u5b57\u4f53","Insert format block":"\u683c\u5f0f\u5757",Normal:"\u9ed8\u8ba4","Heading 1":"\u6807\u98981","Heading 2":"\u6807\u98982","Heading 3":"\u6807\u98983","Heading 4":"\u6807\u98984",Quote:"\u5f15\u7528",Code:"\u4ee3\u7801",Insert:"\u63d2\u5165","Insert table":"\u8868\u683c","Decrease Indent":"\u51cf\u5c11\u7f29\u8fdb","Increase Indent":"\u589e\u52a0\u7f29\u8fdb","Select Special Character":"\u9009\u62e9\u7279\u6b8a\u7b26\u53f7","Insert Special Character":"\u7279\u6b8a\u7b26\u53f7","Paint format":"\u683c\u5f0f\u590d\u5236","Change mode":"\u6539\u53d8\u6a21\u5f0f",Margins:"\u5916\u8fb9\u8ddd\uff08Margins\uff09",top:"top",right:"right",bottom:"bottom",left:"left",Styles:"\u6837\u5f0f",Classes:"Classes",Align:"\u5bf9\u9f50\u65b9\u5f0f",Right:"\u5c45\u53f3",Center:"\u5c45\u4e2d",Left:"\u5c45\u5de6","--Not Set--":"\u65e0",Src:"Src",Title:"Title",Alternative:"Alternative",Link:"Link","Open link in new tab":"\u5
1728\u65b0\u7a97\u53e3\u6253\u5f00\u94fe\u63a5",Image:"\u56fe\u7247",file:"file","Image properties":"\u56fe\u7247\u5c5e\u6027",Cancel:"\u53d6\u6d88",Ok:"\u786e\u5b9a","Your code is similar to HTML. Keep as HTML?":"\u4f60\u7c98\u8d34\u7684\u6587\u672c\u662f\u4e00\u6bb5html\u4ee3\u7801\uff0c\u662f\u5426\u4fdd\u7559\u6e90\u683c\u5f0f","Paste as HTML":"html\u7c98\u8d34",Keep:"\u4fdd\u7559\u6e90\u683c\u5f0f",Clean:"\u5339\u914d\u76ee\u6807\u683c\u5f0f","Insert as Text":"\u628ahtml\u4ee3\u7801\u89c6\u4e3a\u666e\u901a\u6587\u672c","Word Paste Detected":"\u6587\u672c\u7c98\u8d34","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"\u6b63\u5728\u7c98\u8d34 Word/Excel \u7684\u6587\u672c\uff0c\u662f\u5426\u4fdd\u7559\u6e90\u683c\u5f0f\uff1f","Insert only Text":"\u53ea\u4fdd\u7559\u6587\u672c","File Browser":"\u6587\u4ef6\u7ba1\u7406","Error on load list":"\u52a0\u8f7dlist\u9519\u8bef","Error on load folders":"\u52a0\u8f7dfolders\u9519\u8bef","Are you sure?":"\u4f60\u786e\u5b9a\u5417\uff1f","Enter Directory name":"\u8f93\u5165\u8def\u5f84","Create directory":"\u521b\u5efa\u8def\u5f84","type name":"type name","Drop image":"\u62d6\u52a8\u56fe\u7247\u5230\u6b64","Drop file":"\u62d6\u52a8\u6587\u4ef6\u5230\u6b64","or click":"\u6216\u70b9\u51fb","Alternative text":"Alternative text",Browse:"\u6d4f\u89c8",Upload:"\u4e0a\u4f20",Background:"\u80cc\u666f\u8272",Text:"\u6587\u5b57",Top:"\u9876\u90e8",Middle:"\u4e2d\u95f4",Bottom:"\u5e95\u90e8","Insert column before":"\u5728\u4e4b\u524d\u63d2\u5165\u5217","Insert column after":"\u5728\u4e4b\u540e\u63d2\u5165\u5217","Insert row above":"\u5728\u4e4b\u524d\u63d2\u5165\u884c","Insert row below":"\u5728\u4e4b\u540e\u63d2\u5165\u884c","Delete table":"\u5220\u9664\u8868\u683c","Delete row":"\u5220\u9664\u884c","Delete column":"\u5220\u9664\u5217","Empty cell":"\u6e05\u9664\u5185\u5bb9","Chars: %d":"\u5b57\u7b26\u6570: %d","Words: %d":"\u5355\u8bcd\u6570: %d","Strike through":"\u5220\u9664\u7ebf",Underline:"\u4e0b\u5212\u7ebf",superscript:"\u4e0a\u6807",subscript:"\u4e0b\u6807","Cut selection":"\u526a\u5207","Select all":"\u5168\u9009",Break:"Break","Search for":"\u67e5\u627e","Replace with":"\u66ff\u6362\u4e3a",Replace:"\u66ff\u6362",Edit:"\u7f16\u8f91",Paste:"\u7c98\u8d34","Choose Content to Paste":"\u9009\u62e9\u5185\u5bb9\u5e76\u7c98\u8d34",All:"\u5168\u90e8",source:"\u6e90\u7801",bold:"\u7c97\u4f53",italic:"\u659c\u4f53",brush:"\u989c\u8272",link:"\u94fe\u63a5",undo:"\u64a4\u9500",redo:"\u91cd\u505a",table:"\u8868\u683c",image:"\u56fe\u7247",eraser:"\u6a61\u76ae\u64e6",paragraph:"\u6bb5\u843d",fontsize:"\u5b57\u53f7",video:"\u89c6\u9891",font:"\u5b57\u4f53",about:"\u5173\u4e8e",print:"\u6253\u5370",underline:"\u4e0b\u5212\u7ebf",strikethrough:"\u4e0a\u51fa\u73b0",indent:"\u589e\u52a0\u7f29\u8fdb",outdent:"\u51cf\u5c11\u7f29\u8fdb",fullsize:"\u5168\u5c4f",shrink:"\u6536\u7f29",hr:"\u5206\u5272\u7ebf",ul:"\u65e0\u5e8f\u5217\u8868",ol:"\u987a\u5e8f\u5217\u8868",cut:"\u526a\u5207",selectall:"\u5168\u9009","Open link":"\u6253\u5f00\u94fe\u63a5","Edit link":"\u7f16\u8f91\u94fe\u63a5","No follow":"No follow",Unlink:"\u53d6\u6d88\u94fe\u63a5",Eye:"\u9884\u89c8"," URL":"URL",Reset:"\u91cd\u7f6e",Save:"\u4fdd\u5b58","Save as ...":"\u4fdd\u5b58\u4e3a",Resize:"\u8c03\u6574\u5927\u5c0f",Crop:"\u526a\u5207",Width:"\u5bbd",Height:"\u9ad8","Keep Aspect Ratio":"\u4fdd\u6301\u957f\u5bbd\u6bd4",Yes:"\u662f",No:"\u4e0d",Remove:"\u79fb\u9664",Select:"\u9009\u62e9","Select %s":"\u9009\u62e9: %s",Update:"\u66f4\u65b0","Vertical align":"\u5782\u76f4\u5bf9\u9f50",Merge:"\u5408\u5e76","Add column":"\u6dfb\u52a0\u5217","Add row":"\u6dfb\u52a0\u884c",Border:"\u8fb9\u6846","Embed code":"\u5d4c\u5165\u4ee3\u7801",Delete:"\u5220\u9664","Horizontal align":"\u6c34\u5e73\u5bf9\u9f50",Filter:"\u7b5b\u9009","Sort by changed":"\u4fee\u6539\u65f6\u95f4\u6392\u5e8f","Sort by name":"\u540d\u79f0\u6392\u5e8f","Sort by size":"\u5927\u5c0f\u6392\u5e8f","Add folder":"\u65b0\u5efa\u6587\u4ef6\u5939",Split:"\u62c6\u5206","Split vertical":"\u5782\u76f4\u62c6\u5206","Split horizontal":"\u6c34\u5e73\u62c6\u5206","You can only edit your own images. Download this image on the host?":"\u4f60\u53ea\u80fd\u7f16\u8f91\u4f60\u81ea\u5df1\u7684\u56fe\u7247\u3002Download this image on the host?","The image has been successfully uploaded to the host!":"\u56fe\u7247\u4e0a\u4f20\u6210\u529f",palette:"\u8c03\u8272\u677f",pencil:"\u94c5\u7b14","There are no files":"\u6b64\u76ee\u5f55\u4e2d\u6c92\u6709\u6587\u4ef6\u3002",Rename:"\u91cd\u547d\u540d","Enter new name":"\u8f93\u5165\u65b0\u540d\u79f0",preview:"\u9884\u89c8",download:"\u4e0b\u8f7d","Paste from clipboard":"\u7c98\u8d34\u4ece\u526a\u8d34\u677f","Your browser doesn't support direct access to the clipboard.":"\u4f60\u6d4f\u89c8\u5668\u4e0d\u652f\u6301\u76f4\u63a5\u8bbf\u95ee\u7684\u526a\u8d34\u677f\u3002","Copy selection":"\u590d\u5236\u9009\u4e2d\u5185\u5bb9",copy:"\u590d\u5236","Border radius":"\u8fb9\u754c\u534a\u5f84","Show all":"\u663e\u793a\u6240\u6709",Apply:"\u5e94\u7528","Please fill out this field":"\u8bf7\u586b\u5199\u8fd9\u4e2a\u5b57\u6bb5","Please enter a web address":"\u8bf7\u8f93\u5165\u4e00\u4e2a\u7f51\u5740",Default:"\u9ed8\u8ba4",Circle:"\u5706\u5708",Dot:"\u70b9",Quadrate:"\u65b9\u5f62",Find:"\u641c\u7d22","Find Previous":"\u67e5\u627e\u4e0a\u4e00\u4e2a","Find Next":"\u67e5\u627e\u4e0b\u4e00\u4e2a","Insert className":"\u63d2\u5165\u73ed\u7ea7\u540d\u79f0","Press Alt for custom resizing":"\u6309Alt\u81ea\u5b9a\u4e49\u8c03\u6574\u5927\u5c0f","License: %s":"\u8bb8\u53ef\u8bc1: %s"},zh_tw:{"Type something":"\u8f38\u5165\u4e00\u4e9b\u5167\u5bb9",Advanced:"\u9032\u968e","About Jodit":"\u95dc\u65bcJodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"\u958b\u767c\u8005\u6307\u5357","contains detailed help for using":"\u4f7f\u7528\u5e6b\u52a9","For information about the license, please go to our website:":"\u76f8\u95dc\u6388\u6b0a\u689d\u6b3e\u8cc7\u8a0a\uff0c\u8acb\u9020\u8a2a\u6211\u5011\u7684\u7db2\u7ad9\uff1a","Buy full version":"\u8cfc\u8cb7\u5b8c\u6574\u7248\u672c","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.",Anchor:"\u9328\u9ede","Open in new tab":"\u5
1728\u65b0\u5206\u9801\u958b\u555f","Open in fullsize":"\u5168\u87a2\u5e55\u7de8\u8f2f","Clear Formatting":"\u6e05\u9664\u6a23\u5f0f","Fill color or set the text color":"\u984f\u8272",Redo:"\u53d6\u6d88\u5fa9\u539f",Undo:"\u5fa9\u539f",Bold:"\u7c97\u9ad4",Italic:"\u659c\u9ad4","Insert Unordered List":"\u9805\u76ee\u7b26\u865f\u6e05\u55ae","Insert Ordered List":"\u7de8\u865f\u6e05\u55ae","Align Center":"\u7f6e\u4e2d","Align Justify":"\u6587\u5b57\u5c0d\u9f4a","Align Left":"\u9760\u5de6","Align Right":"\u9760\u53f3","Insert Horizontal Line":"\u5206\u5272\u7dda","Insert Image":"\u5716\u7247","Insert file":"\u6a94\u6848","Insert youtube/vimeo video":"\u63d2\u5165 youtube/vimeo \u5f71\u7247","Insert link":"\u63d2\u5165\u9023\u7d50","Font size":"\u6587\u5b57\u5927\u5c0f","Font family":"\u5b57\u578b","Insert format block":"\u683c\u5f0f\u5316\u5340\u584a",Normal:"\u5167\u6587","Heading 1":"\u6a19\u984c1","Heading 2":"\u6a19\u984c2","Heading 3":"\u6a19\u984c3","Heading 4":"\u6a19\u984c4",Quote:"\u5f15\u6587",Code:"\u7a0b\u5f0f\u78bc",Insert:"\u63d2\u5165","Insert table":"\u8868\u683c","Decrease Indent":"\u6e1b\u5c11\u7e2e\u6392","Increase Indent":"\u589e\u52a0\u7e2e\u6392","Select Special Character":"\u9078\u64c7\u7279\u6b8a\u7b26\u865f","Insert Special Character":"\u7279\u6b8a\u7b26\u865f","Paint format":"\u683c\u5f0f\u8907\u88fd","Change mode":"\u6aa2\u8996\u539f\u59cb\u78bc",Margins:"\u908a\u8ddd",top:"\u4e0a",right:"\u53f3",bottom:"\u4e0b",left:"\u5de6",Styles:"\u6a23\u5f0f",Classes:"Classes",Align:"\u5c0d\u9f4a\u65b9\u5f0f",Right:"\u9760\u53f3",Center:"\u7f6e\u4e2d",Left:"\u9760\u5de6","--Not Set--":"\u7121",Src:"Src",Title:"Title",Alternative:"\u66ff\u4ee3",Link:"Link","Open link in new tab":"\u5
1728\u65b0\u5206\u9801\u958b\u555f\u9023\u7d50",Image:"\u5716\u7247",file:"\u6a94\u6848","Image properties":"\u5716\u7247\u5c6c\u6027",Cancel:"\u53d6\u6d88",Ok:"\u78ba\u5b9a","Your code is similar to HTML. Keep as HTML?":"\u60a8\u7684\u7a0b\u5f0f\u78bc\u8207 HTML \u985e\u4f3c\uff0c\u662f\u5426\u8cbc\u4e0a HTML \u683c\u5f0f\uff1f","Paste as HTML":"\u8cbc\u4e0a HTML",Keep:"\u4fdd\u7559\u539f\u59cb\u683c\u5f0f",Clean:"\u6e05\u9664\u683c\u5f0f","Insert as Text":"\u4ee5\u7d14\u6587\u5b57\u8cbc\u4e0a","Word Paste Detected":"\u8cbc\u4e0a Word \u683c\u5f0f","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"\u6b63\u5728\u8cbc\u4e0a Word/Excel \u6587\u4ef6\u7684\u5167\u5bb9\uff0c\u662f\u5426\u4fdd\u7559\u539f\u59cb\u683c\u5f0f\uff1f","Insert only Text":"\u50c5\u8cbc\u4e0a\u5167\u6587","File Browser":"\u6a94\u6848\u700f\u89bd","Error on load list":"\u6e05\u55ae\u8f09\u5165\u932f\u8aa4","Error on load folders":"\u8cc7\u6599\u593e\u8f09\u5165\u932f\u8aa4","Are you sure?":"\u60a8\u78ba\u5b9a\u55ce\uff1f","Enter Directory name":"\u8f38\u5165\u8def\u5f91","Create directory":"\u5275\u5efa\u8def\u5f91","type name":"type name","Drop image":"\u62d6\u66f3\u5716\u7247\u81f3\u6b64","Drop file":"\u62d6\u66f3\u6a94\u6848\u81f3\u6b64","or click":"\u6216\u9ede\u64ca","Alternative text":"\u66ff\u4ee3\u6587\u5b57",Browse:"\u700f\u89bd",Upload:"\u4e0a\u50b3",Background:"\u80cc\u666f\u8272",Text:"\u6587\u5b57",Top:"\u9802\u90e8",Middle:"\u4e2d\u9593",Bottom:"\u5e95\u90e8","Insert column before":"\u63d2\u5165\u5de6\u65b9\u6b04","Insert column after":"\u63d2\u5165\u53f3\u65b9\u6b04","Insert row above":"\u63d2\u5165\u4e0a\u65b9\u5217","Insert row below":"\u63d2\u5165\u4e0b\u65b9\u5217","Delete table":"\u522a\u9664\u8868\u683c","Delete row":"\u522a\u9664\u6574\u5217","Delete column":"\u522a\u9664\u6574\u6b04","Empty cell":"\u6e05\u9664\u5167\u5bb9","Chars: %d":"\u5b57\u5143\u6578: %d","Words: %d":"\u55ae\u5b57\u6578: %d","Strike through":"\u522a\u9664\u7dda",Underline:"\u5e95\u7dda",superscript:"\u4e0a\u6a19",subscript:"\u4e0b\u6a19","Cut selection":"\u526a\u4e0b","Select all":"\u5168\u9078",Break:"\u65b7\u884c","Search for":"\u5c0b\u627e","Replace with":"\u53d6\u4ee3\u70ba",Replace:"\u53d6\u4ee3",Paste:"\u8cbc\u4e0a","Choose Content to Paste":"\u9078\u64c7\u5167\u5bb9\u4e26\u8cbc\u4e0a",All:"\u5168\u90e8",source:"\u539f\u59cb\u78bc",bold:"\u7c97\u9ad4",italic:"\u659c\u9ad4",brush:"\u984f\u8272",link:"\u9023\u7d50",undo:"\u5fa9\u539f",redo:"\u53d6\u6d88\u5fa9\u539f",table:"\u8868\u683c",image:"\u5716\u7247",eraser:"\u6a61\u76ae\u64e6",paragraph:"\u6bb5\u843d",fontsize:"\u6587\u5b57\u5927\u5c0f",video:"\u5f71\u7247",font:"\u5b57\u578b",about:"\u95dc\u65bc",print:"\u5217\u5370",underline:"\u5e95\u7dda",strikethrough:"\u522a\u9664\u7dda",indent:"\u589e\u52a0\u7e2e\u6392",outdent:"\u6e1b\u5c11\u7e2e\u6392",fullsize:"\u5168\u87a2\u5e55",shrink:"\u7e2e\u6e1b",hr:"\u5206\u9694\u7dda",ul:"\u9805\u76ee\u7b26\u865f\u6e05\u55ae",ol:"\u7de8\u865f\u6e05\u55ae",cut:"\u526a\u4e0b",selectall:"\u5168\u9078","Open link":"\u6253\u958b\u9023\u7d50","Edit link":"\u7de8\u8f2f\u9023\u7d50","No follow":"No follow",Unlink:"\u53d6\u6d88\u9023\u7d50",Eye:"\u67e5\u770b"," URL":"URL",Reset:"\u91cd\u8a2d",Save:"\u5132\u5b58","Save as ...":"\u53e6\u5b58\u70ba...",Resize:"\u8abf\u6574\u5927\u5c0f",Crop:"\u88c1\u5207",Width:"\u5bec",Height:"\u9ad8","Keep Aspect Ratio":"\u7dad\u6301\u9577\u5bec\u6bd4",Yes:"\u662f",No:"\u5426",Remove:"\u79fb\u9664",Select:"\u9078\u64c7","Select %s":"\u9078\u64c7: %s",Update:"\u66f4\u65b0","Vertical align":"\u5782\u76f4\u5c0d\u9f4a",Merge:"\u5408\u4f75","Add column":"\u65b0\u589e\u6b04","Add row":"\u65b0\u589e\u5217",Border:"\u908a\u6846","Embed code":"\u5d4c\u5165\u7a0b\u5f0f\u78bc",Delete:"\u522a\u9664","Horizontal align":"\u6c34\u5e73\u5c0d\u9f4a",Filter:"\u7be9\u9078","Sort by changed":"\u4fee\u6539\u6642\u9593\u6392\u5e8f","Sort by name":"\u540d\u7a31\u6392\u5e8f","Sort by size":"\u5927\u5c0f\u6392\u5e8f","Add folder":"\u65b0\u589e\u8cc7\u6599\u593e",Split:"\u5206\u5272","Split vertical":"\u5782\u76f4\u5206\u5272","Split horizontal":"\u6c34\u5e73\u5206\u5272","You can only edit your own images. Download this image on the host?":"\u60a8\u53ea\u80fd\u7de8\u8f2f\u60a8\u81ea\u5df1\u7684\u5716\u7247\u3002\u662f\u5426\u4e0b\u8f09\u6b64\u5716\u7247?","The image has been successfully uploaded to the host!":"\u5716\u7247\u4e0a\u50b3\u6210\u529f",palette:"\u8abf\u8272\u76e4",pencil:"\u925b\u7b46","There are no files":"\u6c92\u6709\u6a94\u6848",Rename:"\u91cd\u65b0\u547d\u540d","Enter new name":"\u8f38\u5165\u65b0\u540d\u7a31",preview:"\u9810\u89bd",download:"\u4e0b\u8f09","Paste from clipboard":"\u5f9e\u526a\u8cbc\u7c3f\u8cbc\u4e0a","Your browser doesn't support direct access to the clipboard.":"\u700f\u89bd\u5668\u7121\u6cd5\u5b58\u53d6\u526
1a\u8cbc\u7c3f\u3002","Copy selection":"\u8907\u88fd\u5df2\u9078\u53d6\u9805\u76ee",copy:"\u8907\u88fd","Border radius":"\u908a\u6846\u5713\u89d2","Show all":"\u986f\u793a\u5168\u90e8",Apply:"\u61c9\u7528","Please fill out this field":"\u8acb\u8f38\u5165\u6b64\u6b04\u4f4d","Please enter a web address":"\u8acb\u8f38\u5165\u7db2\u5740",Default:"\u9810\u8a2d",Circle:"\u5713\u5708",Dot:"\u9ede",Quadrate:"\u65b9\u5f62",Find:"\u5c0b\u627e","Find Previous":"\u5c0b\u627e\u4e0a\u4e00\u500b","Find Next":"\u5c0b\u627e\u4e0b\u4e00\u500b","Insert className":"\u63d2\u5165 class \u540d\u7a31","Press Alt for custom resizing":"\u6309\u4f4f Alt \u4ee5\u8abf\u6574\u81ea\u8a02\u5927\u5c0f",Edit:"\u7de8\u8f2f","License: %s":"\u8a31\u53ef\u8b49: %s"}};var mv=function(e){return e?e.default||e:{}},bv={};To(mv(vv))&&mv(vv).forEach(function(e,t){bv[t]=e}),Object.keys(gv).forEach(function(e){var t=mv(gv[e]);To(t)?(gv[e]={},t.forEach(function(t,o){gv[e][bv[o]]=t})):gv[e]=t});const yv=gv;function _v(e){return function(t){return!0!==e.e.fire("backSpaceIsMovedIgnore",t)}}function jv(e,t,o,n){if(t&&ii.isElement(o)){ii.moveContent(t,o,!n,_v(e));for(var r=t;r&&r!==e.editor&&ii.isEmpty(r);){var i=r.parentElement;ii.safeRemove(r),r=i}return!0}return!1}function wv(e,t,o){var n=ii.findSibling(t,o),r=ii.findSibling(t,!o);if(!ii.closest(t,ii.isElement,e.editor)&&ii.isList(n)&&ii.isList(r)&&ii.isTag(n.lastElementChild,"li")&&ii.isTag(r.firstElementChild,"li")){var i=e.s,a=i.setCursorBefore,l=i.setCursorAfter,s=n.lastElementChild,c=r.firstElementChild;return ir(o?ii.prepend:ii.append,c,t),ii.moveContent(r,n,!o,_v(e)),ii.safeRemove(r),ir(o?ii.append:ii.prepend,s,t),ir(o?a:l,t),!0}return!1}function kv(e,t,o,n){var r,i,a,l=o?-1:1,s=ii.sibling(t,!o),c=ii.sibling(t,o),u=null,d=!1;for(c||(c=Sv(t,o,e.editor));c&&(ii.isText(c)||ii.isInlineBlock(c));){for(;ii.isInlineBlock(c);)c=o?null==c?void 0:c.lastChild:null==c?void 0:c.firstChild;if(!c)break;if((null===(r=c.nodeValue)||void 0===r?void 0:r.length)&&(a=xv(c,o,l,s),!c.nodeValue.length&&ii.isInlineBlock(c.parentNode)&&(c.nodeValue=bt)),(null===(i=c.nodeValue)||void 0===i?void 0:i.length)||(u=c),!Ro(a)&&a!==bt){Ov(o,c,t,n,a,e),d=!0;break}var f=Sv(c,o,e.editor);u&&(ii.safeRemove(u),u=null),c=f}return u&&(ii.safeRemove(u),u=null),d&&(function(e){for(var t=e.parentElement;t&&ii.isInlineBlock(t)&&ii.isTag(t,"a");){var o=t.parentElement;ii.isEmpty(t)&&(ii.after(t,e),ii.safeRemove(t)),t=o}}(t),function(e,t){t.parentElement!==e.editor&&ii.isBlock(t.parentElement)&&ii.each(t.parentElement,ii.isEmptyTextNode)&&ii.after(t,e.createInside.element("br"))}(e,t),e.s.setCursorBefore(t),ii.isTag(t.previousSibling,"br")&&!ii.findNotEmptySibling(t,!1)&&ii.after(t,e.createInside.element("br"))),d}function Sv(e,t,o){var n=ii.sibling(e,t);return!n&&e.parentNode&&e.parentNode!==o&&(n=function(e,t,o){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=function(e){return t?e.firstChild:e.lastChild},i=ii.findNotEmptyNeighbor(e,!t,o);if(n&&ii.isElement(i)&&!ii.isInlineBlock(i))return null;if(i)do{if(!r(i))return i;i=r(i)}while(i);return null}(e,!t,o,!0)),n}function xv(e,t,o,n){var r=Bo(e.nodeValue),i=r.length,a=t?i-1:0;if(r[a]===bt)for(;r[a]===bt;)a+=o;var l=r[a];if(r[a+o]===bt){for(a+=o;r[a]===bt;)a+=o;a+=t?1:-1}return function(e,t,o){var n;if(!e||!ii.isText(e)||(t?/^ /:/ $/).test(null!==(n=e.nodeValue)&&void 0!==n?n:"")||!pn(e.nodeValue||"").length)for(var r=t?o.length-1:0;(t?r>=0:r<o.length)&&" "===o[r];r+=t?-1:1)o[r]=yt}(n,t,r=t&&a<0?[]:r.slice(t?0:a+1,t?a:i)),e.nodeValue=r.join(""),l}function Ov(e,t,o,n,r,i){ir(e?ii.after:ii.before,t,o),("sentence"===n||"word"===n&&" "!==r&&r!==yt)&&kv(i,o,e,n)}function Cv(e,t,o){var n=!1,r=e.s,i=r.setCursorBefore,a=r.setCursorIn,l=ii.closest(t,ii.isElement,e.editor);if(!l||!ii.isEmpty(l))return!1;var s=ii.findNotEmptyNeighbor(t,o,e.editor);do{if(!l||!ii.isEmpty(l)||ii.isCell(l))break;ii.after(l,t);var c=ii.closest(l,function(e){return ii.isElement(e)&&e!==l},e.editor);ii.safeRemove(l),n=!0,l=c}while(l);return!(!n||!wv(e,t,o))||(!s||ii.isText(s)||ii.isTag(s,Pt)?i(t):a(s,!o),n)}Qn.prototype.controls.about={exec:function(e){var t=e.dlg({closeOnClickOverlay:!0}),o=e.i18n.bind(e);t.setMod("theme",e.o.theme).setHeader(o("About Jodit")).setContent('<div class="jodit-about">\n\t\t\t\t\t<div>'.concat(o("Jodit Editor")," v.").concat(e.getVersion(),"</div>\n\t\t\t\t\t<div>").concat(o("License: %s",en(e.o.license)?Bi(e.o.license):"MIT"),'</div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<a href="').concat(vt,'" target="_blank">').concat(vt,'</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/docs/" target="_blank">').concat(o("Jodit User's Guide"),"</a>\n\t\t\t\t\t\t").concat(o("contains detailed help for using"),"\n\t\t\t\t\t</div>\n\t\t\t\t\t<div>").concat(o("Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved."),"</div>\n\t\t\t\t</div>")),En(t.dialog,{minHeight:200,minWidth:420}),t.open(!0,!0)},tooltip:"About Jodit",mode:$t+Qt},Sa.add("about",function(e){e.registerButton({name:"about",group:"info"})}),sl.set("about",'<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> '),Qn.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"]}};var zv=[function(e,t,o){var n=ii.findSibling(t,o);return!(!ii.isElement(n)||!ii.isTag(n,Pt)&&!ii.isEmpty(n)||(ii.safeRemove(n),ii.isTag(n,"br")&&!ii.findNotEmptySibling(t,!1)&&ii.after(t,e.createInside.element("br")),e.s.setCursorBefore(t),ii.isTag(n,"br")&&Cv(e,t,o),0))},function(e,t,o){var n=ii.findSibling(t,o);return!n&&t.parentElement&&t.parentElement!==e.editor&&(n=ii.findSibling(t.parentElement,o)),!(!ii.isElement(n)||ii.isContentEditable(n,e.editor)||(ir(o?ii.before:ii.after,n,t),ii.safeRemove(n),jh(e,t,o),ir(o?e.s.setCursorBefore:e.s.setCursorAfter,t),0))},kv,function(e,t){var o=t.parentElement;return!!ii.isCell(o)},Cv,function(e,t,o){var n=ii.closest(t,ii.isElement,e.editor);if(!n)return!1;var r=ii.findNotEmptySibling(n,o);return!(!r||!ii.isEmpty(r)||(ii.safeRemove(r),e.s.setCursorBefore(t),0))},wv,function(e,t,o){for(var n=t,r=n;n&&!ii.findNotEmptySibling(n,o)&&n.parentElement!==e.editor;)r=n=n.parentElement;if(ii.isElement(r)&&ii.isContentEditable(r,e.editor)){var i=ii.findNotEmptySibling(r,o);if(i&&(function(e,t,o,n){var r=ii.isTag(o,Tt),i=ii.isTag(t,Tt),a=function(e,t){return t?e.firstElementChild:e.lastElementChild};return i?(o=e.createInside.element(e.o.enterBlock),ii.before(t,o),jv(e,a(t,n),o,n)):!(!o||!r||i)&&jv(e,t,a(o,!n),n)}(e,r,i,o)||jv(e,r,i,o)))return e.s.setCursorBefore(t),!0}return!1},function(e,t,o){var n,r=ii.closest(t,ii.isElement,e.editor),i=e.s;if(ii.isLeaf(r)&&(null===(n=null==r?void 0:r.parentElement)||void 0===n?void 0:n[o?"firstElementChild":"lastElementChild"])===r&&i.cursorInTheEdge(o,r)){var a=r.parentElement,l=e.createInside.element(e.o.enterBlock);return ir(o?ii.before:ii.after,a,l),ii.moveContent(r,l),ii.safeRemove(r),ii.isEmpty(a)&&ii.safeRemove(a),ir(o?i.setCursorBefore:i.setCursorAfter,t),!0}return!1}];function Ev(e,t,o){return Ev=Rv()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&Iv(r,o.prototype),r},Ev.apply(null,arguments)}function Tv(e){return Tv=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Tv(e)}
1function Iv(e,t){return Iv=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Iv(e,t)}function Pv(e){var t="function"==typeof Map?new Map:void 0;return Pv=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return Ev(e,arguments,Tv(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Iv(n,e)},Pv(e)}function Rv(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Rv=function(){return!!e})()}var Av=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e=this,n=arguments,o=Tv(o=t),function(e,t){return!t||"object"!=((o=t)&&"undefined"!=typeof Symbol&&o.constructor===Symbol?"symbol":typeof o)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t;var o}(e,Rv()?Reflect.construct(o,n||[],Tv(e).constructor):o.apply(e,n));var e,o,n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iv(e,t)}(t,e),o=[{key:"afterInit",value:function(e){var t=this;e.registerCommand("deleteButton",{exec:function(){return t.onDelete(!1)},hotkeys:e.o.delete.hotkeys.delete},{stopPropagation:!1}).registerCommand("backspaceButton",{exec:function(){return t.onDelete(!0)},hotkeys:e.o.delete.hotkeys.backspace},{stopPropagation:!1}).registerCommand("deleteWordButton",{exec:function(){return t.onDelete(!1,"word")},hotkeys:e.o.delete.hotkeys.deleteWord}).registerCommand("backspaceWordButton",{exec:function(){return t.onDelete(!0,"word")},hotkeys:e.o.delete.hotkeys.backspaceWord}).registerCommand("deleteSentenceButton",{exec:function(){return t.onDelete(!1,"sentence")},hotkeys:e.o.delete.hotkeys.deleteSentence}).registerCommand("backspaceSentenceButton",{exec:function(){return t.onDelete(!0,"sentence")},hotkeys:e.o.delete.hotkeys.backspaceSentence})}},{key:"beforeDestruct",value:function(e){e.e.off("afterCommand.delete")}},{key:"onDelete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"char",o=this.j,n=o.selection;if(n.isFocused()||n.focus(),function(e){return!e.s.isCollapsed()&&(e.execCommand("Delete"),!0)}(o))return!1;var r=n.range,i=o.createInside.text(bt);try{if(ii.safeInsertNode(r,i),!ii.isOrContains(o.editor,i))return;if(o.e.fire("backSpaceBeforeCases",e,i))return!1;if(jh(o,i,e),zv.some(function(n){if(Oo(n)&&n(o,i,e,t))return ft||console.info("Remove case:",n.name),!0}))return!1}catch(e){throw ft||console.error(e),e}finally{o.e.fire("backSpaceAfterDelete",e,i),this.safeRemoveEmptyNode(i)}return!1}},{key:"safeRemoveEmptyNode",value:function(e){var t,o,n=this.j.s.range;n.startContainer===e&&(e.previousSibling?ii.isText(e.previousSibling)?n.setStart(e.previousSibling,null!==(o=null===(t=e.previousSibling.nodeValue)||void 0===t?void 0:t.length)&&void 0!==o?o:0):n.setStartAfter(e.previousSibling):e.nextSibling&&(ii.isText(e.nextSibling)?n.setStart(e.nextSibling,0):n.setStartBefore(e.nextSibling)),n.collapse(!0),this.j.s.selectRange(n)),ii.safeRemove(e)}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Pv(Vf));function Lv(e,t,o){return Lv=Nv()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&Bv(r,o.prototype),r},Lv.apply(null,arguments)}function Mv(e){return Mv=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Mv(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Bv(e,t)}function Dv(e){var t="function"==typeof Map?new Map:void 0;return Dv=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return Lv(e,arguments,Mv(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Bv(n,e)},Dv(e)}function Nv(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Nv=function(){return!!e})()}Av.requires=["hotkeys"],Sa.add("backspace",Av);var Hv=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e=this,n=arguments,o=Mv(o=t),function(e,t){return!t||"object"!=((o=t)&&"undefined"!=typeof Symbol&&o.constructor===Symbol?"symbol":typeof o)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t;var o}(e,Nv()?Reflect.construct(o,n||[],Mv(e).constructor):o.apply(e,n));var e,o,n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bv(e,t)}(t,e),(o=[{key:"afterInit",value:function(e){var t=this;e.e.on("afterCommand.delete",function(e){"delete"===e&&t.__afterDeleteCommand()}),e.registerCommand("delete",{exec:this.__onDeleteCommand.bind(this)},{stopPropagation:!1})}},{key:"beforeDestruct",value:function(e){e.e.off("afterCommand.delete")}},{key:"__afterDeleteCommand",value:function(){var e=this.j,t=e.s.current();if(t&&ii.isTag(t.firstChild,"br")&&e.s.removeNode(t.firstChild),!(dn(e.editor.textContent||"")||e.editor.querySelector("img,table,jodit,iframe,hr")||t&&ii.closest(t,"table",e.editor))){e.editor.innerHTML="";var o=e.s.setCursorIn(e.editor);e.s.removeNode(o)}}},{key:"__onDeleteCommand",value:function(){var e=this.jodit;if(!e.s.isCollapsed()){e.s.expandSelection();var t=e.s.range;t.deleteContents();var o=e.createInside.fake();
1t.insertNode(o);var n=ii.findSibling(o,!0),r=ii.findSibling(o,!1);return this.__moveContentInLeftSibling(o,n,r),t.setStartBefore(o),t.collapse(!0),this.__moveCursorInEditableSibling(e,n,o,t),this.__addBrInEmptyBlock(o,r,t),ii.safeRemove(o),e.s.selectRange(t),!1}}},{key:"__moveContentInLeftSibling",value:function(e,t,o){t=this.__defineRightLeftBox(t),!ii.isList(o)&&!ii.isTag(o,"table")&&ii.isBlock(o)&&ii.isBlock(t)&&(ii.append(t,e),ii.moveContent(o,t),ii.safeRemove(o)),ii.isList(o)&&ii.isLeaf(o.firstElementChild)&&ii.isEmpty(o.firstElementChild)&&ii.safeRemove(o.firstElementChild)}},{key:"__defineRightLeftBox",value:function(e){if(!ii.isList(e))return e;var t=e.lastElementChild;return ii.isLeaf(t)||(t=this.j.createInside.element("li"),ii.append(e,t)),t}},{key:"__addBrInEmptyBlock",value:function(e,t,o){var n=this.j;if(e.isConnected&&ii.isBlock(e.parentNode)&&!e.nextSibling&&!e.previousSibling){var r=n.createInside.element("br");ii.after(e,r),o.setStartBefore(r),o.collapse(!0)}if(ii.isTag(t,"table")){var i=Yr("td,th",t).shift();ii.isCell(i)&&ii.isEmpty(i)&&ii.append(i,n.createInside.element("br"))}}},{key:"__moveCursorInEditableSibling",value:function(e,t,o,n){var r;if(!t||!ii.isText(t)){var i=null!==(r=ii.closest(o,ii.isBlock,e.editor))&&void 0!==r?r:e.editor,a=ii.prev(o,ii.isText,i);a&&(n.setStartAfter(a),n.collapse(!0),ii.safeRemove(o))}}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Dv(Vf));function Fv(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}Hv.requires=["backspace"],Sa.add("deleteCommand",Hv),Qn.prototype.controls.subscript={tags:["sub"],tooltip:"subscript"},Qn.prototype.controls.superscript={tags:["sup"],tooltip:"superscript"},Qn.prototype.controls.bold={tagRegExp:/^(strong|b)$/i,tags:["strong","b"],css:{"font-weight":["bold","700"]},tooltip:"Bold"},Qn.prototype.controls.italic={tagRegExp:/^(em|i)$/i,tags:["em","i"],css:{"font-style":"italic"},tooltip:"Italic"},Qn.prototype.controls.underline={tagRegExp:/^(u)$/i,tags:["u"],css:{"text-decoration-line":"underline"},tooltip:"Underline"},Qn.prototype.controls.strikethrough={tagRegExp:/^(s)$/i,tags:["s"],css:{"text-decoration-line":"line-through"},tooltip:"Strike through"},Sa.add("bold",function(e){var t=function(t){var o,n=Qn.defaultOptions.controls[t],r=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},n=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(o).filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable}))),n.forEach(function(t){Fv(e,t,o[t])})}return e}({},n.css);return Object.keys(r).forEach(function(e){o||(o={}),o[e]=To(r[e])?r[e][0]:r[e]}),e.s.commitStyle({element:n.tags?n.tags[0]:void 0}),e.synchronizeValues(),!1};["bold","italic","underline","strikethrough"].forEach(function(t){e.registerButton({name:t,group:"font-style"})}),["superscript","subscript"].forEach(function(t){e.registerButton({name:t,group:"script"})}),e.registerCommand("bold",{exec:t,hotkeys:["ctrl+b","cmd+b"]}).registerCommand("italic",{exec:t,hotkeys:["ctrl+i","cmd+i"]}).registerCommand("underline",{exec:t,hotkeys:["ctrl+u","cmd+u"]}).registerCommand("strikethrough",{exec:t}).registerCommand("subscript",{exec:t}).registerCommand("superscript",{exec:t})}),sl.set("bold",'<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> ').set("italic",'<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> ').set("strikethrough",'<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> ').set("subscript",'<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> ').set("superscript",'<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-
1514l-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> ').set("underline",'<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> '),sl.set("palette",'<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> ');var qv=function(e,t,o){var n="jodit-color-picker",r=Li(o),i=e.c.div(n),a=e.o.textIcons?"<span>".concat(e.i18n("palette"),"</span>"):sl.get("palette"),l=function(e){var t=[];return rn(e)?Object.keys(e).forEach(function(o){t.push('<div class="'.concat(n,"__group ").concat(n,"__group-").concat(o,'">')),t.push(l(e[o])),t.push("</div>")}):To(e)&&e.forEach(function(e){t.push("<span class='".concat(n,"__color-item ").concat(r===e?n+"__color-item_active_true":"","' title=\"").concat(e,'" style="background-color:').concat(e,'" data-color="').concat(e,'"></span>'))}),t.join("")};i.appendChild(e.c.fromHTML('<div class="'.concat(n,'__groups">').concat(l(e.o.colors),"</div>"))),i.appendChild(e.c.fromHTML('<div data-ref="extra" class="'.concat(n,'__extra"></div>')));var s=Gr(i).extra;return e.o.showBrowserColorPicker&&Do()&&(s.appendChild(e.c.fromHTML('<div class="'.concat(n,'__native">').concat(a,'<input type="color" value="#ffffff"/></div>'))),e.e.on(i,"change",function(e){e.stopPropagation();var o=e.target;if(o&&o.tagName&&ii.isTag(o,"input")){var n=o.value||"";Oo(t)&&t(n),e.preventDefault()}})),e.e.on(i,"mousedown touchend",function(o){o.stopPropagation(),o.preventDefault();var r=o.target;if(r&&r.tagName&&!ii.isTag(r,"svg")&&!ii.isTag(r,"path")||!r.parentNode||(r=ii.closest(r.parentNode,"span",e.editor)),ii.isTag(r,"span")&&r.classList.contains(n+"__color-item")){var i=Gn(r,"-color")||"";t&&Oo(t)&&t(i)}}),e.e.fire("afterGenerateColorPicker",i,s,t,r),i},Vv=function(e,t,o){var n=e.c.div("jodit-tabs"),r=e.c.div("jodit-tabs__wrapper"),i=e.c.div("jodit-tabs__buttons");Gn(i,{role:"tablist","aria-orientation":"horizontal"});var a={},l=[],s="";n.appendChild(i),n.appendChild(r);var c=function(e){a[e]&&(l.forEach(function(e){e.state.activated=!1}),Object.values(a).forEach(function(e){return e.tab.classList.remove("jodit-tab_active")}),a[e].button.state.activated=!0,a[e].tab.classList.add("jodit-tab_active"))};t.forEach(function(n){var u=n.icon,d=n.name,f=n.content,p=e.c.div("jodit-tab");Gn(p,{role:"tabpanel"});var h=as(e,u||d,d);h.state.role="tab",e.e.on(h.container,"pointerdown",function(e){return e.preventDefault()}),s||(s=d),i.appendChild(h.container),l.push(h),h.container.classList.add("jodit-tabs__button","jodit-tabs__button_columns_"+t.length),Oo(f)?p.appendChild(e.c.div("jodit-tab_empty")):p.appendChild(Ra.isInstanceOf(f,gl)?f.container:f),r.appendChild(p),h.onAction(function(){return c(d),Oo(f)&&!ii.isElement(f)&&f.call(e),o&&(o.activeTab=d),!1}),a[d]={button:h,tab:p}}
1),Object.values(a).forEach(function(e){e.button.container.style.width=(100/t.length).toFixed(10)+"%"});var u=o&&o.activeTab&&a[o.activeTab]?o.activeTab:s;if(c(u),o){var d=o.activeTab;Object.defineProperty(o,"activeTab",{configurable:!0,enumerable:!1,get:function(){return d},set:function(e){d=e,c(e)}})}return n},Wv=function(e,t,o,n){var r,i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=[],l=e.o.uploader;if(t.upload&&(l.url||l.insertImageAsBase64URI||l.customUploadFunction)){var s=e.c.fromHTML('<div class="jodit-drag-and-drop__file-box">'+"<strong>".concat(e.i18n(i?"Drop image":"Drop file"),"</strong>")+"<span><br>".concat(e.i18n("or click"),"</span>")+'<input type="file" accept="'.concat(i?"image/*":"*",'" tabindex="-1" dir="auto" multiple=""/>')+"</div>");e.uploader.bind(s,function(o){var n=Oo(t.upload)?t.upload:l.defaultHandlerSuccess;Oo(n)&&n.call(e,o),e.e.fire("closeAllPopups")},function(t){e.message.error(t.message),e.e.fire("closeAllPopups")}),a.push({icon:"upload",name:"Upload",content:s})}if(t.filebrowser&&(e.o.filebrowser.ajax.url||e.o.filebrowser.items.url)&&a.push({icon:"folder",name:"Browse",content:function(){n&&n(),t.filebrowser&&e.filebrowser.open(t.filebrowser,i)}}),t.url){var c=new is(e,{type:"submit",variant:"primary",text:"Insert"}),u=new ec(e,[new Ns(e,{required:!0,label:"URL",name:"url",type:"text",placeholder:"https://"}),new Ns(e,{name:"text",label:"Alternative text"}),new Cs(e,[c])]);r=null,!o||ii.isText(o)||ii.isComment(o)||!ii.isTag(o,"img")&&!Yr("img",o).length||(r="IMG"===o.tagName?o:Yr("img",o)[0],Uv(u.container,"input[name=url]",Gn(r,"src")),Uv(u.container,"input[name=text]",Gn(r,"alt")),c.state.text="Update"),o&&ii.isTag(o,"a")&&(Uv(u.container,"input[name=url]",Gn(o,"href")),Uv(u.container,"input[name=text]",Gn(o,"title")),c.state.text="Update"),u.onSubmit(function(o){Oo(t.url)&&t.url.call(e,o.url,o.text)}),a.push({icon:"link",name:"URL",content:u.container})}return Vv(e,a)};function Uv(e,t,o){var n=e.querySelector(t);return n?(o&&(n.value=o),n.value):""}function Yv(e){if(!e)return!1;var t=ii.findSibling(e,!0);return!(!t||!ii.isTag(t,"br"))&&t}function Kv(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:zt,n=e,r=t.editor;do{if(!n||n===r)break;if(o.test(n.nodeName))return ii.isLeaf(n)?n:Kv(n.parentNode,t,/^li$/i)||n;n=n.parentNode}while(n&&n!==r);return null}function Gv(e,t,o,n){var r="br"===o.toLowerCase(),i=t.createInside,a=i.element(o),l=i.element("br");return r||a.appendChild(l),n&&n.cssText&&a.setAttribute("style",n.cssText),ii.after(e,a),ii.before(r?a:l,e),$r(a,t.editor,t.ed),a}function Jv(e,t,o){return Jv=eg()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&Zv(r,o.prototype),r},Jv.apply(null,arguments)}function Xv(e){return Xv=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Xv(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Zv(e,t)}function Qv(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function $v(e){var t="function"==typeof Map?new Map:void 0;return $v=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return Jv(e,arguments,Xv(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Zv(n,e)},$v(e)}function eg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eg=function(){return!!e})()}sl.set("brush",'<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
1101 151 62.5 90.5q81 127 81 275z"/> </svg> '),Qn.prototype.controls.brushCell={isVisible:function(e){return!e.o.disablePlugins.includes("color")},icon:"brush",popup:function(e,t,o){if($o(e)){var n=e.getInstance("Table",e.o).getAllSelectedCells();if(!n.length)return!1;var r=function(t){return qv(e,function(r){n.forEach(function(e){En(e,t,r)}),e.lock(),e.synchronizeValues(),o(),e.unlock()},En(n[0],t))};return Vv(e,[{name:"Background",content:r("background-color")},{name:"Text",content:r("color")},{name:"Border",content:r("border-color")}])}},tooltip:"Background"},Qn.prototype.controls.brush={isVisible:function(e){return!e.o.disablePlugins.includes("color")},update:function(e,t){var o=nr(t,"color"),n=function(o,n){n&&n!==En(e.editor,o).toString()&&(t.state.icon.fill=n)};if(o){var r=nr(t,"color");n("color"===r?r:"background-color",o)}else{var i=e.s.current();if(i&&!t.state.disabled){var a=ii.closest(i,ii.isElement,e.editor)||e.editor;n("color",En(a,"color").toString()),n("background-color",En(a,"background-color").toString())}t.state.icon.fill="",t.state.activated=!1}},popup:function(e,t,o,n){var r="",i="",a=[],l=null;return t&&t!==e.editor&&ii.isNode(t)&&(ii.isElement(t)&&e.s.isCollapsed()&&!ii.isTag(t,new Set(["br","hr"]))&&(l=t),ii.up(t,function(e){if(ii.isHTMLElement(e)){var t=En(e,"color",!0),o=En(e,"background-color",!0);if(t)return r=t.toString(),!0;if(o)return i=o.toString(),!0}},e.editor)),a=[{name:"Background",content:qv(e,function(t){l?l.style.backgroundColor=t:e.execCommand("background",!1,t),nr(n,"color",t),nr(n,"color-mode","background"),o()},i)},{name:"Text",content:qv(e,function(t){l?l.style.color=t:e.execCommand("forecolor",!1,t),nr(n,"color",t),nr(n,"color-mode","color"),o()},r)}],"background"!==e.o.colorPickerDefaultTab&&(a=a.reverse()),Vv(e,a,l)},exec:function(e,t,o){var n=o.button,r=nr(n,"color-mode"),i=nr(n,"color");
1if(!r)return!1;if(t&&t!==e.editor&&ii.isNode(t)&&ii.isElement(t))switch(r){case"color":t.style.color=i;break;case"background":t.style.backgroundColor=i}else e.execCommand("background"===r?r:"forecolor",!1,i)},tooltip:"Fill color or set the text color"},Sa.add("color",function(e){e.registerButton({name:"brush",group:"color"});var t=function(t,o,n){var r=Li(n);switch(t){case"background":e.s.commitStyle({attributes:{style:{backgroundColor:r||""}}});break;case"forecolor":e.s.commitStyle({attributes:{style:{color:r||""}}})}return e.synchronizeValues(),!1};e.registerCommand("forecolor",t).registerCommand("background",t)});var tg=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e=this,n=arguments,o=Xv(o=t),function(e,t){return!t||"object"!==Qv(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,eg()?Reflect.construct(o,n||[],Xv(e).constructor):o.apply(e,n));var e,o,n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zv(e,t)}(t,e),o=[{key:"afterInit",value:function(e){var t=this,o=e.o.enter.toLowerCase(),n=o===Xt.toLowerCase();e.o.enterBlock||(e.o.enterBlock=n?Zt:o),e.registerCommand("enter",function(e,o){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.onEnter(n)})}},{key:"onEnterKeyDown",value:function(e){if(e.key===Bt){var t=this.j,o=t.e.fire("beforeEnter",e);return void 0!==o?o:(t.s.isCollapsed()||t.execCommand("Delete"),t.s.focus(),this.onEnter(e),t.e.fire("afterEnter",e),t.synchronizeValues(),!1)}}},{key:"onEnter",value:function(e){var t=this.jodit,o=t.createInside.fake();try{ii.safeInsertNode(t.s.range,o),function(e,t){var o=e.s,n=ii.closest(t,["a"],e.editor);n&&(o.cursorOnTheRight(n,t)?ii.after(n,t):o.cursorOnTheLeft(n,t)&&ii.before(n,t))}(t,o);var n=Kv(o,t),r=ii.isLeaf(n);if((!r||(null==e?void 0:e.shiftKey))&&function(e,t,o){var n=Boolean(ii.closest(e,["pre","blockquote"],t.editor)),r=!n&&ii.closest(e,["td","th"],t.editor);if(t.o.enter.toLowerCase()===Xt.toLowerCase()||r||o&&!n||!o&&n){if(n&&function(e){var t=Yv(Yv(e));return!!t&&(ii.safeRemove(Yv(e)),ii.safeRemove(t),!0)}(e))return!1;var i=t.createInside.element("br");if(ii.before(e,i),!ii.findNotEmptySibling(i,!1)){var a=i.cloneNode();ii.after(i,a),ii.before(a,e)}return $r(i,t.editor,t.ed),!0}return!1}(o,t,null==e?void 0:e.shiftKey))return!1;if(n||function(e,t){return Boolean(ii.prev(e,function(e){return ii.isBlock(e)||ii.isImage(e)},t.editor))}(o,t)||(n=function(e,t){var o=e;ii.up(o,function(e){e&&e.hasChildNodes()&&e!==t.editor&&(o=e)},t.editor);var n=ii.wrapInline(o,t.o.enter,t);if(ii.isEmpty(n)){var r=t.createInside.element("br");n.appendChild(r),ii.before(r,e)}return n}(o,t)),!n)return Gv(o,t,r?"li":t.o.enter),!1;if(!function(e,t,o){return!!ii.canSplitBlock(o)||(ii.before(e,t.createInside.element("br")),!1)}(o,t,n))return!1;if(r&&this.__isEmptyListLeaf(n))return function(e,t,o){var n=ii.closest(o,["ol","ul"],t.editor);if(n){var r=n.parentElement,i=ii.isLeaf(r),a=i?r:n,l=t.s.createRange();l.setStartAfter(o),l.setEndAfter(n);var s=l.extractContents();ii.after(a,e),ii.safeRemove(o),Yr("li",n).length||ii.safeRemove(n);var c=Gv(e,t,i?"li":t.o.enter);s.querySelector("li")&&(i?c.appendChild(s):ii.after(c,s))}}(o,t,n),!1;!function(e,t,o){var n=t.s,r=t.o.enter.toLowerCase(),i=ii.isLeaf(o),a=o.tagName.toLowerCase()===r||i,l=n.cursorOnTheRight(o,e),s=n.cursorOnTheLeft(o,e);if(!a&&(l||s))return l?ii.after(o,e):ii.before(o,e),Gv(e,t,r),void(s&&!l&&ii.prepend(o,e));$r(n.splitSelection(o,e),t.editor,t.ed)}(o,t,n)}finally{o.isConnected&&t.s.setCursorBefore(o),ii.safeRemove(o)}}},{key:"__isEmptyListLeaf",value:function(e){var t=this.j.e.fire("enterIsEmptyListLeaf",e);return Ho(t)?t:ii.isEmpty(e)}},{key:"beforeDestruct",value:function(e){e.e.off("keydown.enter")}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}($v(Vf));function og(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function ng(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function rg(e,t,o){return rg=sg()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&ag(r,o.prototype),r},rg.apply(null,arguments)}function ig(e){return ig=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ig(e)}function ag(e,t){return ag=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ag(e,t)}function lg(e){var t="function"==typeof Map?new Map:void 0;return lg=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return rg(e,arguments,ig(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),ag(n,e)},lg(e)}function sg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sg=function(){return!!e})()}(function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;
1if("object"===("undefined"==typeof Reflect?"undefined":Qv(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);i>3&&a&&Object.defineProperty(t,o,a)})([va(":keydown.enter")],tg.prototype,"onEnterKeyDown",null),Sa.add("enter",tg),Qn.prototype.defaultFontSizePoints="px",sl.set("font",'<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> ').set("fontsize",'<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> '),Qn.prototype.controls.fontsize={command:"fontsize",data:{cssRule:"font-size",normalise:function(e,t){return/pt$/i.test(e)&&"pt"===t.o.defaultFontSizePoints?e.replace(/pt$/i,""):e}},list:[8,9,10,11,12,14,16,18,24,30,32,34,36,48,60,72,96],textTemplate:function(e,t){return t+e.o.defaultFontSizePoints},childTemplate:function(e,t,o){return"".concat(o).concat(e.o.defaultFontSizePoints)},tooltip:"Font size",value:function(e,t){var o,n=e.s.current();if(n){var r=ii.closest(n,ii.isElement,e.editor);if(r)return En(r,(null===(o=t.control.data)||void 0===o?void 0:o.cssRule)||"font-size").toString()}},isChildActive:function(e,t){var o,n,r=t.state.value,i=null!==(n=null===(o=t.control.data)||void 0===o?void 0:o.normalize)&&void 0!==n?n:function(e){return e};return Boolean(r&&t.control.args&&i(t.control.args[0].toString())===i(r.toString()))},isActive:function(e,t){var o,n,r=t.state.value;if(!r)return!1;var i=null!==(n=null===(o=t.control.data)||void 0===o?void 0:o.normalize)&&void 0!==n?n:function(e){return e},a=t.control.data.cacheListSet;if(!a){var l=Object.keys(t.control.list).map(i);a=new Set(l),t.control.data.cacheListSet=a}return a.has(i(r.toString()))}},Qn.prototype.controls.font=function(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t.push.apply(t,o)}return t}(Object(t)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}),e}(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},n=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(o).filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable}))),n.forEach(function(t){ng(e,t,o[t])})}return e}({},Qn.prototype.controls.fontsize),{command:"fontname",textTemplate:function(e,t){return fn(function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,r=[],i=!0,a=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(r.push(o.value),1!==r.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==t.return||t.return()}finally{if(a)throw n}}return r}}(e)||function(e){if(e){if("string"==typeof e)return og(e,1);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?og(e,1):void 0}}
1(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t.split(","))[0],"\"'")},list:{"":"Default","Arial, Helvetica, sans-serif":"Arial","'Courier New', Courier, monospace":"Courier New","Georgia, Palatino, serif":"Georgia","'Lucida Sans Unicode', 'Lucida Grande', sans-serif":"Lucida Sans Unicode","Tahoma, Geneva, sans-serif":"Tahoma","'Times New Roman', Times, serif":"Times New Roman","'Trebuchet MS', Helvetica, sans-serif":"Trebuchet MS","Helvetica, sans-serif":"Helvetica","Impact, Charcoal, sans-serif":"Impact","Verdana, Geneva, sans-serif":"Verdana"},childTemplate:function(e,t,o){var n=!1;try{n=-1===t.indexOf("dings")&&document.fonts.check("16px ".concat(t),o)}catch(e){}return'<span data-style="'.concat(t,'" style="').concat(n?"font-family: ".concat(t,"!important;"):"",'">').concat(o,"</span>")},data:{cssRule:"font-family",normalize:function(e){return e.toLowerCase().replace(/['"]+/g,"").replace(/[^a-z0-9-]+/g,",")}},tooltip:"Font family"}),Sa.add("font",function(e){e.registerButton({name:"font",group:"font"}).registerButton({name:"fontsize",group:"font"});var t=function(t,o,n){switch(t){case"fontsize":e.s.commitStyle({attributes:{style:{fontSize:Hi(n,e.o.defaultFontSizePoints)}}});break;case"fontname":e.s.commitStyle({attributes:{style:{fontFamily:n}}})}return e.synchronizeValues(),!1};e.registerCommand("fontsize",t).registerCommand("fontname",t)}),sl.set("paragraph",'<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> '),Qn.prototype.controls.paragraph={command:"formatBlock",value:function(e,t){var o,n,r=t.control,i=e.s.current(),a=ii.closest(i,ii.isBlock,e.editor);return null!==(o=null==a?void 0:a.nodeName.toLowerCase())&&void 0!==o?o:null===(n=r.data)||void 0===n?void 0:n.currentValue},update:function(e,t){var o=t.control;if(!e.s.current())return!1;var n=t.state.value,r=o.list;return rn(r)&&r[n.toString()]&&e.o.textIcons&&(t.state.text=r[n.toString()].toString()),!1},data:{currentValue:"p"},list:{p:"Paragraph",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",blockquote:"Quote",pre:"Code"},isChildActive:function(e,t){var o,n;return Boolean(t.state.value===(null===(n=null===(o=t.control)||void 0===o?void 0:o.args)||void 0===n?void 0:n[0]))},isActive:function(e,t){return t.state.value!==e.o.enter&&rn(t.control.list)&&Boolean(t.control.list[t.state.value])},childTemplate:function(e,t,o){return"<".concat(t,' style="margin:0;padding:0"><span>').concat(e.i18n(o),"</span></").concat(t,">")},tooltip:"Insert format block"},Sa.add("formatBlock",function(e){e.registerButton({name:"paragraph",group:"font"}),e.registerCommand("formatblock",function(t,o,n){return e.s.commitStyle({element:n}),e.synchronizeValues(),!1})}),Qn.prototype.commandToHotkeys={removeFormat:["ctrl+shift+m","cmd+shift+m"],insertOrderedList:["ctrl+shift+7","cmd+shift+7"],insertUnorderedList:["ctrl+shift+8, cmd+shift+8"],selectall:["ctrl+a","cmd+a"]};var cg=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=ig(t),function(e,t){return!t||"object"!=((o=t)&&"undefined"!=typeof Symbol&&o.constructor===Symbol?"symbol":typeof o)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t;var o}(e,sg()?Reflect.construct(t,o||[],ig(e).constructor):t.apply(e,o))}(this,t,arguments)).onKeyPress=function(t){var o=e.specialKeys[t.which],n=(t.key||String.fromCharCode(t.which)).toLowerCase(),r=[o||n];return["alt","ctrl","shift","meta"].forEach(function(e){t[e+"Key"]&&o!==e&&r.push(e)}),Mi(r.join("+"))},e.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:"'"},e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ag(e,t)}(t,e),(o=[{key:"afterInit",value:function(e){var t=this;
1cr(e.o.commandToHotkeys,!1).forEach(function(t){var o=e.o.commandToHotkeys[t];o&&(To(o)||Io(o))&&e.registerHotkeyToCommand(o,t)});var o=!1;e.e.off(".hotkeys").on([e.ow,e.ew],"keydown.hotkeys",function(e){if(e.key===Dt)return t.j.e.fire("escape",e)}).on("keydown.hotkeys",function(n){var r=t.onKeyPress(n),i={shouldStop:!0};if(!1===t.j.e.fire(r+".hotkey",n.type,i)){if(i.shouldStop)return o=!0,e.e.stopPropagation("keydown"),!1;n.preventDefault()}},{top:!0}).on("keyup.hotkeys",function(){if(o)return o=!1,e.e.stopPropagation("keyup"),!1},{top:!0})}},{key:"beforeDestruct",value:function(e){e.events&&e.e.off(".hotkeys")}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(lg(Vf));function ug(e,t,o,n,r,i,a){try{var l=e[i](a),s=l.value}catch(e){return void o(e)}l.done?t(s):Promise.resolve(s).then(n,r)}Sa.add("hotkeys",cg),Qn.prototype.iframeBaseUrl="",Qn.prototype.iframeTitle="Jodit Editor",Qn.prototype.iframeDoctype="<!DOCTYPE html>",Qn.prototype.iframeDefaultSrc="about:blank",Qn.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}',Qn.prototype.iframeCSSLinks=[],Qn.prototype.iframeSandbox=null,Sa.add("iframe",function(e){var t=e.options;e.e.on("afterSetMode",function(){e.isEditorMode()&&e.s.focus()}).on("generateDocumentStructure.iframe",function(e,o){var n=e||o.iframe.contentWindow.document;if(n.open(),n.write(t.iframeDoctype+'<html dir="'.concat(t.direction,'" class="jodit" lang="').concat(_r(t.language),'">')+"<head>"+"<title>".concat(t.iframeTitle,"</title>")+(t.iframeBaseUrl?'<base href="'.concat(t.iframeBaseUrl,'"/>'):"")+'</head><body class="jodit-wysiwyg"></body></html>'),n.close(),t.iframeCSSLinks&&t.iframeCSSLinks.forEach(function(e){var t=n.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),n.head&&n.head.appendChild(t)}),t.iframeStyle){var r=n.createElement("style");r.innerHTML=t.iframeStyle,n.head&&n.head.appendChild(r)}}).on("createEditor",function(){if(t.iframe){var o=e.c.element("iframe");return o.style.display="block",o.src="about:blank",o.className="jodit-wysiwyg_iframe",o.setAttribute("allowtransparency","true"),o.setAttribute("tabindex",t.tabIndex.toString()),o.setAttribute("frameborder","0"),null!=t.iframeSandbox&&o.setAttribute("sandbox",t.iframeSandbox),e.workplace.appendChild(o),e.iframe=o,lr(e.e.fire("generateDocumentStructure.iframe",null,e),function(){if(!e.iframe)return!1;var o=e.iframe.contentWindow.document;e.editorWindow=e.iframe.contentWindow;var n=t.editHTMLDocumentMode,r=function(){Gn(o.body,"contenteditable",e.getMode()!==$t&&!e.getReadOnly()||null)},i=function(e){var t=/<body.*<\/body>/im,o="{%%BODY%%}",n=t.exec(e);return n&&(e=e.replace(t,o).replace(/<span([^>]*?)>(.*?)<\/span>/gim,"").replace(/<span([^&]*?)>(.*?)<\/span>/gim,"").replace(o,n[0].replace(/(<body[^>]+?)min-height["'\s]*:[\s"']*[0-9]+(px|%)/im,"$1").replace(/(<body[^>]+?)([\s]*["'])?contenteditable["'\s]*=[\s"']*true["']?/im,"$1").replace(/<(style|script|span)[^>]+jodit[^>]+>.*?<\/\1>/g,"")).replace(/(class\s*=\s*)(['"])([^"']*)(jodit-wysiwyg|jodit)([^"']*\2)/g,"$1$2$3$5").replace(/(<[^<]+?)\sclass="[\s]*"/gim,"$1").replace(/(<[^<]+?)\sstyle="[\s;]*"/gim,"$1").replace(/(<[^<]+?)\sdir="[\s]*"/gim,"$1")),e};
1if(n){var a=e.element.tagName;if("TEXTAREA"!==a&&"INPUT"!==a)throw Lr("If enable `editHTMLDocumentMode` - source element should be INPUT or TEXTAREA");e.e.on("beforeGetNativeEditorValue",function(){return i(e.o.iframeDoctype+o.documentElement.outerHTML)}).on("beforeSetNativeEditorValue",function(t){var n=t.value;if(e.isLocked)return!1;if(/<(html|body)/i.test(n)){var a=o.documentElement.outerHTML;i(a)!==i(n)&&(o.open(),o.write(e.o.iframeDoctype+i(n)),o.close(),e.editor=o.body,e.e.fire("safeHTML",e.editor),r(),e.e.fire("prepareWYSIWYGEditor"),e.e.stopPropagation("beforeSetNativeEditorValue"))}else o.body.innerHTML=n;return!0},{top:!0})}if(e.editor=o.body,e.e.on("afterSetMode afterInit afterAddPlace",r),"auto"===t.height){o.documentElement&&(o.documentElement.style.overflowY="hidden");var l=e.async.throttle(function(){for(var o=arguments.length,n=new Array(o),r=0;r<o;r++)n[r]=arguments[r];e.async.requestAnimationFrame(function(){if(e.editor&&e.iframe&&"auto"===t.height){var o=e.ew.getComputedStyle(e.editor),n=parseInt(o.marginTop||"0",10)+parseInt(o.marginBottom||"0",10);En(e.iframe,"height",e.editor.offsetHeight+n)}})},e.defaultTimeout/2);if(e.e.on("change afterInit afterSetMode resize",l).on([e.iframe,e.ew,o.documentElement],"load",l).on(o,"readystatechange DOMContentLoaded",l),"function"==typeof ResizeObserver){var s=new ResizeObserver(l);s.observe(o.body),e.e.on("beforeDestruct",function(){s.disconnect()})}}return o.documentElement&&e.e.on(o.documentElement,"mousedown touchend",function(){e.s.isFocused()||(e.s.focus(),e.editor===o.body&&e.s.setCursorIn(o.body))}).on(e.ew,"mousedown touchstart keydown keyup touchend click mouseup mousemove scroll",function(t){var o;null===(o=e.events)||void 0===o||o.fire(e.ow,t)}),!1})}})}),sl.set("image",'<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> '),Qn.prototype.controls.image={popup:function(e,t,o){var n=null;return t&&!ii.isText(t)&&ii.isHTMLElement(t)&&(ii.isTag(t,"img")||Yr("img",t).length)&&(n=ii.isTag(t,"img")?t:Yr("img",t)[0]),e.s.save(),Wv(e,{filebrowser:function(t){e.s.restore(),t.files&&t.files.forEach(function(o){return e.s.insertImage(t.baseurl+o,null,e.o.imageDefaultWidth)}),o()},upload:!0,url:function(){var t,r=(t=function(t,r){var i;return function(e,t){var o,n,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,n&&(r=2&i[0]?n.return:i[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,i[1])).done)return r;switch(n=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{o=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}(this,function(a){switch(a.label){case 0:return e.s.restore(),/^[a-z\d_-]+(\.[a-z\d_-]+)+/i.test(t)&&(t="//"+t),(i=n||e.createInside.element("img")).setAttribute("src",t),i.setAttribute("alt",r),n?[3,2]:[4,e.s.insertImage(i,null,e.o.imageDefaultWidth)];case 1:a.sent(),a.label=2;case 2:return o(),[2]}})},function(){var e=this,o=arguments;return new Promise(function(n,r){var i=t.apply(e,o);function a(e){ug(i,n,r,a,l,"next",e)}function l(e){ug(i,n,r,a,l,"throw",e)}a(void 0)})});return function(e,t){return r.apply(this,arguments)}}()},n,o)},tags:["img"],tooltip:"Insert Image"},Sa.add("image",function(e){e.registerButton({name:"image",group:"media"})});const dg=[{name:"eye",tooltip:"Open link",exec:function(e,t){var o=Gn(t,"href");t&&o&&e.ow.open(o)}},{name:"link",tooltip:"Edit link",icon:"pencil"},"unlink","brush","file"];var fg=function(e){return e.args&&Io(e.args[0])?e.args[0].toLowerCase():""};const pg=["brushCell",{name:"valign",list:["Top","Middle","Bottom","Normal"],childTemplate:function(e,t,o){return o},exec:function(e,t,o){var n=o.control,r=fg(n);
1e.getInstance("Table",e.o).getAllSelectedCells().forEach(function(e){En(e,"vertical-align","normal"===r?"":r)})},tooltip:"Vertical align"},{name:"splitv",list:{tablesplitv:"Split vertical",tablesplitg:"Split horizontal"},tooltip:"Split"},{name:"align",icon:"left"},"\n",{name:"merge",command:"tablemerge",tooltip:"Merge"},{name:"addcolumn",list:{tableaddcolumnbefore:"Insert column before",tableaddcolumnafter:"Insert column after"},exec:function(e,t,o){var n=o.control;if($o(e)){if(!n.args)return!1;var r=fg(n);e.execCommand(r,!1,t)}},tooltip:"Add column"},{name:"addrow",list:{tableaddrowbefore:"Insert row above",tableaddrowafter:"Insert row below"},exec:function(e,t,o){var n=o.control;if($o(e)){if(!n.args)return!1;var r=fg(n);e.execCommand(r,!1,t)}},tooltip:"Add row"},{name:"delete",icon:"bin",list:{tablebin:"Delete table",tablebinrow:"Delete row",tablebincolumn:"Delete column",tableempty:"Empty cell"},exec:function(e,t,o){var n=o.control;if($o(e)){if(!n.args)return!1;var r=fg(n);e.execCommand(r,!1,t),e.e.fire("hidePopup")}},tooltip:"Delete"}];var hg={name:"left",childTemplate:function(e,t,o){return o},list:["Left","Right","Center","Normal"],exec:function(e,t,o){var n=o.control;if(ii.isTag(t,new Set(["img","jodit","jodit-media"]))){var r=n.args&&Io(n.args[0])?n.args[0].toLowerCase():"";if(!r)return!1;In(t,r),ii.isTag(t,new Set(["jodit","jodit-media"]))&&t.firstElementChild&&In(t.firstElementChild,r),e.synchronizeValues(),e.e.fire("recalcPositionPopup")}},tooltip:"Horizontal align"};const vg=[{name:"delete",icon:"bin",tooltip:"Delete",exec:function(e,t){t&&e.s.removeNode(t)}},{name:"pencil",exec:function(e,t){"img"===t.tagName.toLowerCase()&&e.e.fire("openImageProperties",t)},tooltip:"Edit"},{name:"valign",list:["Top","Middle","Bottom","Normal"],tooltip:"Vertical align",exec:function(e,t,o){var n=o.control;if(ii.isTag(t,"img")){var r=n.args&&Io(n.args[0])?n.args[0].toLowerCase():"";if(!r)return!1;En(t,"vertical-align","normal"===r?"":r),e.e.fire("recalcPositionPopup")}}},hg],gg=[{name:"bin",tooltip:"Delete",exec:function(e,t){t&&e.s.removeNode(t)}},hg];function mg(e,t,o){return mg=wg()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&yg(r,o.prototype),r},mg.apply(null,arguments)}function bg(e){return bg=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},bg(e)}function yg(e,t){return yg=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},yg(e,t)}function _g(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function jg(e){var t="function"==typeof Map?new Map:void 0;return jg=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return mg(e,arguments,bg(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),yg(n,e)},jg(e)}function wg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wg=function(){return!!e})()}Qn.prototype.toolbarInline=!0,Qn.prototype.toolbarInlineForSelection=!1,Qn.prototype.toolbarInlineDisableFor=[],Qn.prototype.toolbarInlineDisabledButtons=["source"],sl.set("addcolumn",'<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> ').set("addrow",'<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> ').set("merge",'<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
1-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> ').set("th",'<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> ').set("splitg",'<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> ').set("splitv",'<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> ').set("th-list",'<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> '),Qn.prototype.popup={a:dg,img:vg,cells:pg,toolbar:["bold","italic","|","ul","ol","eraser","|","fontsize","brush","paragraph","---","image","table","\n","link","|","align","|","undo","redo","|","copyformat","fullsize","---","dots"],jodit:gg,iframe:gg,"jodit-media":gg,selection:["bold","underline","italic","ul","ol","\n","outdent","indent","fontsize","brush","cut","\n","paragraph","link","align","dots"]};var kg=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":_g(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Sg=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=bg(t),function(e,t){return!t||"object"!==_g(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,wg()?Reflect.construct(t,o||[],bg(e).constructor):t.apply(e,o))}
1(this,t,arguments)).type=null,e.snapRange=null,e.elmsList=cr(e.j.o.popup,!1).filter(function(t){return!e.isExcludedTarget(t)}),e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yg(e,t)}(t,e),o=[{key:"popup",get:function(){return new Dc(this.jodit,!1)}},{key:"toolbar",get:function(){return ed(this.jodit,this.popup)}},{key:"onClick",value:function(e){var t=this,o=this.elmsList,n=ii.isTag(e,"img")?e:ii.closest(e,o,this.j.editor);if(n&&this.canShowPopupForType(n.nodeName.toLowerCase()))return this.showPopup(function(){return Ki(n,t.j)},n.nodeName.toLowerCase(),n),!1}},{key:"showPopup",value:function(e,t,o){if(t=t.toLowerCase(),!this.canShowPopupForType(t))return!1;if(this.type!==t||o!==this.previousTarget){this.previousTarget=o;var n,r=this.j.o.popup[t];To(n=Oo(r)?r(this.j,o,this.popup.close):r)&&(this.toolbar.build(n,o),this.toolbar.buttonSize=this.j.o.toolbarButtonSize,n=this.toolbar.container),this.popup.setContent(n),this.type=t}return this.popup.open(e),!0}},{key:"hidePopup",value:function(e){!this.popup.isOpened||Io(e)&&e!==this.type||this.popup.close()}},{key:"onOutsideClick",value:function(){this.popup.close()}},{key:"canShowPopupForType",value:function(e){var t=this.j.o.popup[e.toLowerCase()];return!(this.j.o.readonly||!this.j.o.toolbarInline||!t||this.isExcludedTarget(e))}},{key:"isExcludedTarget",value:function(e){return ki(this.j.o.toolbarInlineDisableFor).map(function(e){return e.toLowerCase()}).includes(e.toLowerCase())}},{key:"afterInit",value:function(e){var t=this;this.j.e.on("getDiffButtons.mobile",function(o){if(t.toolbar===o){var n=t.toolbar.getButtonsNames();return Bo(e.registeredButtons).filter(function(e){return!t.j.o.toolbarInlineDisabledButtons.includes(e.name)}).filter(function(e){var t=Io(e)?e:e.name;return t&&"|"!==t&&"\n"!==t&&!n.includes(t)})}}).on("hidePopup",this.hidePopup).on("showInlineToolbar",this.showInlineToolbar).on("showPopup",function(e,o,n){t.showPopup(o,n||(Io(e)?e:e.nodeName),Io(e)?void 0:e)}).on("mousedown keydown",this.onSelectionStart).on("change",function(){t.popup.isOpened&&t.previousTarget&&!t.previousTarget.parentNode&&(t.hidePopup(),t.previousTarget=void 0)}).on([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.addListenersForElements()}},{key:"onSelectionStart",value:function(){this.snapRange=this.j.s.range.cloneRange()}},{key:"onSelectionEnd",value:function(e){if(!(e&&e.target&&gl.closestElement(e.target,Dc))){var t=this.snapRange,o=this.j.s.range;t&&!o.collapsed&&o.startContainer===t.startContainer&&o.startOffset===t.startOffset&&o.endContainer===t.endContainer&&o.endOffset===t.endOffset||this.onSelectionChange()}}},{key:"onSelectionChange",value:function(){if(this.j.o.toolbarInlineForSelection){var e="selection",t=this.j.s.sel,o=this.j.s.range;(null==t?void 0:t.isCollapsed)||this.isSelectedTarget(o)?this.type===e&&this.popup.isOpened&&this.hidePopup():this.j.s.current()&&this.showPopup(function(){return o.getBoundingClientRect()},e)}}},{key:"isSelectedTarget",value:function(e){var t=e.startContainer;return ii.isElement(t)&&t===e.endContainer&&ii.isTag(t.childNodes[e.startOffset],new Set(cr(this.j.o.popup,!1)))&&e.startOffset===e.endOffset-1}},{key:"beforeDestruct",value:function(e){e.e.off("showPopup").off([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.removeListenersForElements()}},{key:"_eventsList",value:function(){var e=this.elmsList;return e.map(function(e){return zn("click_".concat(e))}).concat(e.map(function(e){return zn("touchstart_".concat(e))})).join(" ")}},{key:"addListenersForElements",value:function(){this.j.e.on(this._eventsList(),this.onClick)}},{key:"removeListenersForElements",value:function(){this.j.e.off(this._eventsList(),this.onClick)}},{key:"showInlineToolbar",value:function(e){var t=this;this.showPopup(function(){return e||t.j.s.range.getBoundingClientRect()},"toolbar")}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(jg(Vf));function xg(e,t,o){return xg=Tg()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&Cg(r,o.prototype),r}
1,xg.apply(null,arguments)}function Og(e){return Og=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Og(e)}function Cg(e,t){return Cg=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Cg(e,t)}function zg(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Eg(e){var t="function"==typeof Map?new Map:void 0;return Eg=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return xg(e,arguments,Og(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Cg(n,e)},Eg(e)}function Tg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Tg=function(){return!!e})()}Sg.requires=["select"],kg([li],Sg.prototype,"popup",null),kg([li],Sg.prototype,"toolbar",null),kg([Co],Sg.prototype,"onClick",null),kg([Za(function(e){return!e.j.isLocked})],Sg.prototype,"showPopup",null),kg([va([":clickEditor",":beforeCommandDelete",":backSpaceAfterDelete"]),Co],Sg.prototype,"hidePopup",null),kg([va(":outsideClick")],Sg.prototype,"onOutsideClick",null),kg([Co],Sg.prototype,"onSelectionStart",null),kg([Co],Sg.prototype,"onSelectionEnd",null),kg([Ha(function(e){return e.defaultTimeout})],Sg.prototype,"onSelectionChange",null),kg([Co],Sg.prototype,"showInlineToolbar",null),Sa.add("inlinePopup",Sg),Qn.prototype.link={formTemplate:function(e){var t=e.o.link,o=t.openInNewTabCheckbox,n=t.noFollowCheckbox,r=t.modeClassName,i=t.selectSizeClassName,a=t.selectMultipleClassName,l=t.selectOptionsClassName;return new ec(e,[new Cs(e,[new Ns(e,{name:"url",type:"text",ref:"url_input",label:"URL",placeholder:"http://",required:!0})]),new Cs(e,[new Ns(e,{name:"content",ref:"content_input",label:"Text"})],{ref:"content_input_box"}),r?new Cs(e,["input"===r?new Ns(e,{name:"className",ref:"className_input",label:"Class name"}):"select"===r?new Gs(e,{name:"className",ref:"className_select",label:"Class name",size:i,multiple:a,options:l}):null]):null,o?new yc(e,{name:"target",ref:"target_checkbox",label:"Open in new tab"}):null,n?new yc(e,{name:"nofollow",ref:"nofollow_checkbox",label:"No follow"}):null,new Cs(e,[new is(e,{name:"unlink",variant:"default",text:"Unlink"}),new is(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,preventReadOnlyNavigation:!0,selectSizeClassName:3,selectOptionsClassName:[],hotkeys:["ctrl+k","cmd+k"]},sl.set("link",'<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> ').set("unlink",'<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> '),Qn.prototype.controls.unlink={exec:function(e,t){var o=ii.closest(t,"a",e.editor);o&&ii.unwrap(o),e.synchronizeValues(),e.e.fire("hidePopup")},tooltip:"Unlink"},Qn.prototype.controls.link={isActive:function(e){var t=e.s.current();return Boolean(t&&ii.closest(t,"a",e.editor))},popup:function(e,t,o){return e.e.fire("generateLinkForm.link",t,o)},tags:["a"],tooltip:"Insert link"};var Ig=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;
1if("object"===("undefined"==typeof Reflect?"undefined":zg(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Pg=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=Og(t),function(e,t){return!t||"object"!==zg(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,Tg()?Reflect.construct(t,o||[],Og(e).constructor):t.apply(e,o))}(this,t,arguments)).buttons=[{name:"link",group:"insert"}],e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cg(e,t)}(t,e),o=[{key:"afterInit",value:function(e){var t=this;e.o.link.followOnDblClick&&e.e.on("dblclick.link",this.__onDblClickOnLink),e.e.on(e.editor,"click.link",this.__onClickReadOnlyLink),e.o.link.processPastedLink&&e.e.on("processPaste.link",this.onProcessPasteLink),e.e.on("generateLinkForm.link",this.__generateForm),e.registerCommand("openLinkDialog",{exec:function(){var o=e.dlg({resizable:!1}),n=t.__generateForm(e.s.current(),function(){o.close()});n.container.classList.add("jodit-dialog_alert"),o.setContent(n),o.open(),e.async.requestIdleCallback(function(){var e=Gr(n.container).url_input;null==e||e.focus()})},hotkeys:e.o.link.hotkeys})}},{key:"__onDblClickOnLink",value:function(e){if(ii.isTag(e.target,"a")){var t=Gn(e.target,"href");t&&(location.href=t,e.preventDefault())}}},{key:"onProcessPasteLink",value:function(e,t){var o,n,r,i,a=this.jodit;if(sn(t)&&a.o.link.processPastedLink){if(a.e.stopPropagation("processPaste"),a.o.link.processVideoLink){var l=ir(null!==(n=null===(o=a.o.video)||void 0===o?void 0:o.parseUrlToVideoEmbed)&&void 0!==n?n:br,t,{width:null===(r=a.o.video)||void 0===r?void 0:r.defaultWidth,height:null===(i=a.o.video)||void 0===i?void 0:i.defaultHeight});if(l!==t)return a.createInside.fromHTML(l)}if(a.s.isCollapsed()){var s=a.createInside.element("a");return s.setAttribute("href",t),s.textContent=t,a.e.fire("applyLink",a,s,null),s}return a.s.commitStyle({element:"a",attributes:{href:t}}),!0}}},{key:"__generateForm",value:function(e,t){var o,n=this.jodit,r=n.i18n.bind(n),i=n.o.link,a=i.openInNewTabCheckbox,l=i.noFollowCheckbox,s=i.formTemplate,c=i.formClassName,u=i.modeClassName,d=s(n),f=Io(d)?n.c.fromHTML(d,{target_checkbox_box:a,nofollow_checkbox_box:l}):d,p=ii.isElement(f)?f:f.container,h=Gr(p),v=h.insert,g=h.unlink,m=h.content_input_box,b=h.target_checkbox,y=h.nofollow_checkbox,_=h.url_input,j=e,w=ii.isImage(j),k=h.content_input,S=h.className_input,x=h.className_select;k||(k=n.c.element("input",{type:"hidden",ref:"content_input"})),c&&p.classList.add(c),w&&ii.hide(m);var O=function(){return o?o.innerText:Ai(n.s.range.cloneContents(),n.ed)};o=!(!e||!ii.closest(e,"a",n.editor))&&ii.closest(e,"a",n.editor),!w&&e&&(k.value=O()),o?(_.value=Gn(o,"href")||"",u&&function(e,t,o,n){switch(e){case"input":t&&(t.value=Gn(o,"class")||"");break;case"select":if(n){for(var r=0;r<n.selectedOptions.length;r++){var i=n.options.item(r);i&&(i.selected=!1)}(Gn(o,"class")||"").split(/\s+/).filter(function(e){return e.trim().length>0}).forEach(function(e){if(e)for(var t=0;t<n.options.length;t++){var o=n.options.item(t);(null==o?void 0:o.value)&&o.value.split(/\s+/).map(function(e){return e.trim()}).includes(e)&&(o.selected=!0)}})}}}(u,S,o,x),a&&b&&(b.checked="_blank"===Gn(o,"target")),l&&y&&(y.checked="nofollow"===Gn(o,"rel")),v.textContent=r("Update")):ii.hide(g),n.editor.normalize();var C=n.history.snapshot.make();g&&n.e.on(g,"click",function(e){n.s.restore(),n.history.snapshot.restore(C),o&&ii.unwrap(o),n.synchronizeValues(),t(),e.preventDefault()});var z=function(){if(!_.value.trim().length)return _.focus(),_.classList.add("jodit_error"),!1;var e;
1n.s.restore(),n.s.removeMarkers(),n.editor.normalize(),n.history.snapshot.restore(C);var r=O()!==k.value.trim(),i=n.createInside;if(o&&ii.isOrContains(n.editor,o))e=[o];else{if(n.s.isCollapsed()){var s=i.element("a");n.s.insertNode(s,!1,!1),e=[s]}else{var c=n.s.current();e=ii.isTag(c,"img")?[ii.wrap(c,"a",i)]:n.s.wrapInTag("a")}e.forEach(function(e){return n.s.select(e)})}return e.forEach(function(e){Gn(e,"href",_.value),function(e,t,o,n){var r;if(e&&(null!=t?t:o))if("input"===e)""===t.value&&n.hasAttribute("class")&&Gn(n,"class",null),""!==t.value&&Gn(n,"class",t.value);else if("select"===e){n.hasAttribute("class")&&Gn(n,"class",null);for(var i=0;i<o.selectedOptions.length;i++){var a=null===(r=o.selectedOptions.item(i))||void 0===r?void 0:r.value;a&&a.split(/\s+/).filter(function(e){return e.trim().length>0}).forEach(function(e){n.classList.add(e)})}}}(u,S,x,e),w||function(e,t,o,n){var r=e.textContent;t.value.trim().length?o&&(r=t.value):r=n.value,r!==e.textContent&&(e.textContent=r)}(e,k,r,_),a&&b&&Gn(e,"target",b.checked?"_blank":null),l&&y&&Gn(e,"rel",y.checked?"nofollow":null),n.e.fire("applyLink",n,e,f)}),n.synchronizeValues(),t(),!1};return ii.isElement(f)?n.e.on(f,"submit",function(e){return e.preventDefault(),e.stopImmediatePropagation(),z(),!1}):f.onSubmit(z),f}},{key:"beforeDestruct",value:function(e){e.e.off("generateLinkForm.link",this.__generateForm).off("dblclick.link",this.__onDblClickOnLink).off(e.editor,"click.link",this.__onClickReadOnlyLink).off("processPaste.link",this.onProcessPasteLink)}},{key:"__onClickReadOnlyLink",value:function(e){var t=this.jodit;t.o.readonly&&t.o.link.preventReadOnlyNavigation&&ii.isTag(e.target,"a")&&e.preventDefault()}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Eg(Vf));Ig([Co],Pg.prototype,"__onDblClickOnLink",null),Ig([Co],Pg.prototype,"onProcessPasteLink",null),Ig([Co],Pg.prototype,"__generateForm",null),Ig([Co],Pg.prototype,"__onClickReadOnlyLink",null),Sa.add("link",Pg);var Rg=function(e,t,o){var n,r=o.control,i="button".concat(r.command),a=null!==(n=r.args&&r.args[0])&&void 0!==n?n:nr(e,i);nr(e,i,a),e.execCommand(r.command,!1,"default"===a?null:a)};function Ag(e,t,o){return Ag=Ng()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&Mg(r,o.prototype),r},Ag.apply(null,arguments)}function Lg(e){return Lg=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Lg(e)}function Mg(e,t){return Mg=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Mg(e,t)}function Bg(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Dg(e){var t="function"==typeof Map?new Map:void 0;return Dg=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return Ag(e,arguments,Lg(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Mg(n,e)},Dg(e)}function Ng(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ng=function(){return!!e})()}sl.set("ol",'<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> ').set("ul",'<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> '),Qn.prototype.controls.ul={command:"insertUnorderedList",tags:["ul"],tooltip:"Insert Unordered List",list:{default:"Default",circle:"Circle",disc:"Dot",square:"Quadrate"},exec:Rg},Qn.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:Rg};var Hg=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=Lg(t),function(e,t){return!t||"object"!==Bg(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,Ng()?Reflect.construct(t,o||[],Lg(e).constructor):t.apply(e,o))}(this,t,arguments)).buttons=[{name:"ul",group:"list"},{name:"ol",group:"list"}],e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mg(e,t)}(t,e),(o=[{key:"afterInit",value:function(e){e.registerCommand("insertUnorderedList",this.onCommand).registerCommand("insertOrderedList",this.onCommand)}},{key:"onCommand",value:function(e,t,o){return this.jodit.s.commitStyle({element:"insertunorderedlist"===e?"ul":"ol",attributes:{style:{listStyleType:null!=o?o:null}}}),this.jodit.synchronizeValues(),!1}},{key:"beforeDestruct",value:function(e){}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Dg(Vf));function Fg(e,t,o){return Fg=Yg()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&Vg(r,o.prototype),r},Fg.apply(null,arguments)}function qg(e){return qg=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},qg(e)}function Vg(e,t){return Vg=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Vg(e,t)}function Wg(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Ug(e){var t="function"==typeof Map?new Map:void 0;return Ug=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return Fg(e,arguments,qg(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Vg(n,e)},Ug(e)}function Yg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Yg=function(){return!!e})()}(function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;
1if("object"===("undefined"==typeof Reflect?"undefined":Bg(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);i>3&&a&&Object.defineProperty(t,o,a)})([Co],Hg.prototype,"onCommand",null),Sa.add("orderedList",Hg),Qn.prototype.showPlaceholder=!0,Qn.prototype.placeholder="Type something",Qn.prototype.useInputsPlaceholder=!0;var Kg=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=qg(t),function(e,t){return!t||"object"!==Wg(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,Yg()?Reflect.construct(t,o||[],qg(e).constructor):t.apply(e,o))}(this,t,arguments)).addNativeListeners=function(){e.j.e.off(e.j.editor,"input.placeholder keydown.placeholder").on(e.j.editor,"input.placeholder keydown.placeholder",e.toggle)},e.addEvents=function(){var t=e.j;t.o.useInputsPlaceholder&&t.element.hasAttribute("placeholder")&&(e.placeholderElm.innerHTML=Gn(t.element,"placeholder")||""),t.e.fire("placeholder",e.placeholderElm.innerHTML),t.e.off(".placeholder").on("changePlace.placeholder",e.addNativeListeners).on("change.placeholder focus.placeholder keyup.placeholder mouseup.placeholder keydown.placeholder mousedown.placeholder afterSetMode.placeholder changePlace.placeholder",e.toggle).on(window,"load",e.toggle),e.addNativeListeners(),e.toggle()},e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vg(e,t)}(t,e),o=[{key:"afterInit",value:function(e){var t=this;e.o.showPlaceholder&&(this.placeholderElm=e.c.fromHTML('<span data-ref="placeholder" style="display: none;" class="jodit-placeholder">'.concat(e.i18n(e.o.placeholder),"</span>")),"rtl"===e.o.direction&&(this.placeholderElm.style.right="0px",this.placeholderElm.style.direction="rtl"),e.e.on("readonly",function(e){e?t.hide():t.toggle()}).on("changePlace",this.addEvents),this.addEvents())}},{key:"show",value:function(){var e=this.j;if(!e.o.readonly){var t=0,o=0,n=e.s.current(),r=n&&ii.closest(n,ii.isBlock,e.editor)||e.editor,i=e.ew.getComputedStyle(r),a=e.ew.getComputedStyle(e.editor);e.workplace.appendChild(this.placeholderElm);var l=e.editor.firstChild;if(ii.isElement(l)&&!tn(l)){var s=e.ew.getComputedStyle(l);t=parseInt(s.getPropertyValue("margin-top"),10),o=parseInt(s.getPropertyValue("margin-left"),10),this.placeholderElm.style.fontSize=parseInt(s.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=s.getPropertyValue("line-height")}else this.placeholderElm.style.fontSize=parseInt(i.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=i.getPropertyValue("line-height");En(this.placeholderElm,{display:"block",textAlign:i.getPropertyValue("text-align"),paddingTop:parseInt(a.paddingTop,10)+"px",paddingLeft:parseInt(a.paddingLeft,10)+"px",paddingRight:parseInt(a.paddingRight,10)+"px",marginTop:Math.max(parseInt(i.getPropertyValue("margin-top"),10),t),marginLeft:Math.max(parseInt(i.getPropertyValue("margin-left"),10),o)})}}},{key:"hide",value:function(){ii.safeRemove(this.placeholderElm)}},{key:"toggle",value:function(){var e=this.j;e.editor&&!e.isInDestruct&&(e.getRealMode()===Qt&&function(e){var t;if(!e.firstChild)return!0;var o=e.firstChild;if(Pt.has(null===(t=o.nodeName)||void 0===t?void 0:t.toLowerCase())||/^(TABLE)$/i.test(o.nodeName))return!1;var n=ii.next(o,function(e){return e&&!ii.isEmptyTextNode(e)},e);return ii.isText(o)&&!n?ii.isEmptyTextNode(o):!n&&ii.each(o,function(e){return!(ii.isLeaf(e)||ii.isList(e))&&(ii.isEmpty(e)||ii.isTag(e,"br"))})}(e.editor)?this.show():this.hide())}},{key:"beforeDestruct",value:function(e){this.hide(),e.e.off(".placeholder").off(window,"load",this.toggle)}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Ug(Vf));function Gg(e,t,o){return Gg=Qg()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&Xg(r,o.prototype),r},Gg.apply(null,arguments)}function Jg(e){return Jg=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Jg(e)}function Xg(e,t){return Xg=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Xg(e,t)}function Zg(e){var t="function"==typeof Map?new Map:void 0;return Zg=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return Gg(e,arguments,Jg(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Xg(n,e)},Zg(e)}function Qg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Qg=function(){return!!e})()}(function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;
1if("object"===("undefined"==typeof Reflect?"undefined":Wg(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);i>3&&a&&Object.defineProperty(t,o,a)})([Ha(function(e){return e.defaultTimeout/10},!0)],Kg.prototype,"toggle",null),Sa.add("placeholder",Kg),Sa.add("poweredByJodit",function(e){var t=e.o;t.hidePoweredByJodit||t.inline||!(t.showCharsCounter||t.showWordsCounter||t.showXPathInStatusbar)||e.hookStatus("ready",function(){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)})}),sl.set("redo",'<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> ').set("undo",'<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> '),Qn.prototype.controls.redo={mode:eo,isDisabled:function(e){return!e.history.canRedo()},tooltip:"Redo"},Qn.prototype.controls.undo={mode:eo,isDisabled:function(e){return!e.history.canUndo()},tooltip:"Undo"};var $g=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=Jg(t),function(e,t){return!t||"object"!=((o=t)&&"undefined"!=typeof Symbol&&o.constructor===Symbol?"symbol":typeof o)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t;var o}(e,Qg()?Reflect.construct(t,o||[],Jg(e).constructor):t.apply(e,o))}(this,t,arguments)).buttons=[{name:"undo",group:"history"},{name:"redo",group:"history"}],e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xg(e,t)}(t,e),(o=[{key:"beforeDestruct",value:function(){}},{key:"afterInit",value:function(e){var t=function(t){return e.history[t](),!1};e.registerCommand("redo",{exec:t,hotkeys:["ctrl+y","ctrl+shift+z","cmd+y","cmd+shift+z"]}),e.registerCommand("undo",{exec:t,hotkeys:["ctrl+z","cmd+z"]})}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Zg(Vf));function em(e,t,o){return em=im()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&om(r,o.prototype),r},em.apply(null,arguments)}function tm(e){return tm=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},tm(e)}function om(e,t){return om=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},om(e,t)}function nm(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function rm(e){var t="function"==typeof Map?new Map:void 0;return rm=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return em(e,arguments,tm(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),om(n,e)},rm(e)}function im(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(im=function(){return!!e})()}Sa.add("redoUndo",$g),Qn.prototype.minWidth=200,Qn.prototype.maxWidth="100%",Qn.prototype.minHeight=200,Qn.prototype.maxHeight="auto",Qn.prototype.saveHeightInStorage=!1;var am=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;
1if("object"===("undefined"==typeof Reflect?"undefined":nm(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},lm=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=tm(t),function(e,t){return!t||"object"!==nm(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,im()?Reflect.construct(t,o||[],tm(e).constructor):t.apply(e,o))}(this,t,arguments)).__resizeWorkspaces=e.j.async.debounce(e.__resizeWorkspaceImd,e.j.defaultTimeout,!0),e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&om(e,t)}(t,e),o=[{key:"afterInit",value:function(e){e.e.on("setHeight.size",this.__setHeight).on("setWidth.size",this.__setWidth).on("afterInit.size changePlace.size",this.__initialize,{top:!0}).on(e.ow,"load.size",this.__resizeWorkspaces).on("afterInit.size resize.size afterUpdateToolbar.size scroll.size afterResize.size",this.__resizeWorkspaces).on("toggleFullSize.size toggleToolbar.size",this.__resizeWorkspaceImd),this.__initialize()}},{key:"__initialize",value:function(){var e=this.j;if(!e.o.inline){var t=e.o.height;if(e.o.saveHeightInStorage&&"auto"!==t){var o=e.storage.get("height");o&&(t=o)}En(e.editor,{minHeight:"100%"}),En(e.container,{minHeight:e.o.minHeight,maxHeight:e.o.maxHeight,minWidth:e.o.minWidth,maxWidth:e.o.maxWidth}),e.isFullSize||(this.__setHeight(t),this.__setWidth(e.o.width))}}},{key:"__setHeight",value:function(e){var t=this.j.container,o=t.clientHeight,n=t.clientWidth;if(on(e)){var r=this.j.o,i=r.minHeight,a=r.maxHeight;on(i)&&i>e&&(e=i),on(a)&&a<e&&(e=a)}En(this.j.container,"height",e),this.j.o.saveHeightInStorage&&this.j.storage.set("height",e),this.__resizeWorkspaceImd({clientHeight:o,clientWidth:n})}},{key:"__setWidth",value:function(e){var t=this.j.container,o=t.clientHeight,n=t.clientWidth;if(on(e)){var r=this.j.o,i=r.minWidth,a=r.maxWidth;on(i)&&i>e&&(e=i),on(a)&&a<e&&(e=a)}En(this.j.container,"width",e),this.__resizeWorkspaceImd({clientHeight:o,clientWidth:n})}},{key:"__getNotWorkHeight",value:function(){var e,t;return((null===(e=this.j.toolbarContainer)||void 0===e?void 0:e.offsetHeight)||0)+((null===(t=this.j.statusbar)||void 0===t?void 0:t.getHeight())||0)+2}},{key:"__resizeWorkspaceImd",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.j.container,t=e.clientHeight,o=e.clientWidth;
1if(this.j&&!this.j.isDestructed&&this.j.o&&!this.j.o.inline&&this.j.container&&this.j.container.parentNode){var n=(En(this.j.container,"minHeight")||0)-this.__getNotWorkHeight();if(on(n)&&n>0&&([this.j.workplace,this.j.iframe,this.j.editor].map(function(e){e&&En(e,"minHeight",n)}),this.j.e.fire("setMinHeight",n)),on(this.j.o.maxHeight)){var r=this.j.o.maxHeight-this.__getNotWorkHeight();[this.j.workplace,this.j.iframe,this.j.editor].map(function(e){e&&En(e,"maxHeight",r)}),this.j.e.fire("setMaxHeight",r)}this.j.container&&En(this.j.workplace,"height","auto"!==this.j.o.height||this.j.isFullSize?this.j.container.offsetHeight-this.__getNotWorkHeight():"auto");var i=this.j.container,a=i.clientHeight,l=i.clientWidth;t===a&&o===l||this.j.e.fire(this.j,"resize")}}},{key:"beforeDestruct",value:function(e){e.e.off(e.ow,"load.size",this.__resizeWorkspaces).off(".size")}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(rm(Vf));function sm(e,t,o){return sm=fm()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&um(r,o.prototype),r},sm.apply(null,arguments)}function cm(e){return cm=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},cm(e)}function um(e,t){return um=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},um(e,t)}function dm(e){var t="function"==typeof Map?new Map:void 0;return dm=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return sm(e,arguments,cm(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),um(n,e)},dm(e)}function fm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fm=function(){return!!e})()}am([Fa()],lm.prototype,"__initialize",null),am([Co],lm.prototype,"__setHeight",null),am([Co],lm.prototype,"__setWidth",null),am([Co],lm.prototype,"__resizeWorkspaceImd",null),Sa.add("size",lm),Qn.prototype.showCharsCounter=!0,Qn.prototype.countHTMLChars=!1,Qn.prototype.countTextSpaces=!1,Qn.prototype.showWordsCounter=!0;var pm=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=cm(t),function(e,t){return!t||"object"!=((o=t)&&"undefined"!=typeof Symbol&&o.constructor===Symbol?"symbol":typeof o)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t;var o}(e,fm()?Reflect.construct(t,o||[],cm(e).constructor):t.apply(e,o))}(this,t,arguments)).charCounter=null,e.wordCounter=null,e.reInit=function(){e.j.o.showCharsCounter&&e.charCounter&&e.j.statusbar.append(e.charCounter,!0),e.j.o.showWordsCounter&&e.wordCounter&&e.j.statusbar.append(e.wordCounter,!0),e.j.e.off("change keyup",e.calc).on("change keyup",e.calc),e.calc()},e.calc=e.j.async.throttle(function(){var t,o=e.j.text;e.j.o.showCharsCounter&&e.charCounter&&(t=e.j.o.countHTMLChars?e.j.value:e.j.o.countTextSpaces?o.replace(_t(),"").replace(/[\r\n]/g,""):o.replace(kt(),""),e.charCounter.textContent=e.j.i18n("Chars: %d",t.length)),e.j.o.showWordsCounter&&e.wordCounter&&(e.wordCounter.textContent=e.j.i18n("Words: %d",o.replace(_t(),"").split(kt()).filter(function(e){return e.length}).length))},e.j.defaultTimeout),e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&um(e,t)}(t,e),(o=[{key:"afterInit",value:function(){this.charCounter=this.j.c.span(),this.wordCounter=this.j.c.span(),this.j.e.on("afterInit changePlace afterAddPlace",this.reInit),this.reInit()}},{key:"beforeDestruct",value:function(){ii.safeRemove(this.charCounter),ii.safeRemove(this.wordCounter),this.j.e.off("afterInit changePlace afterAddPlace",this.reInit),this.charCounter=null,this.wordCounter=null}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(dm(Vf));function hm(e,t,o){return hm=ym()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&gm(r,o.prototype),r},hm.apply(null,arguments)}function vm(e){return vm=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},vm(e)}function gm(e,t){return gm=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},gm(e,t)}function mm(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function bm(e){var t="function"==typeof Map?new Map:void 0;return bm=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return hm(e,arguments,vm(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),gm(n,e)},bm(e)}function ym(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ym=function(){return!!e})()}Sa.add("stat",pm),Qn.prototype.table={splitBlockOnInsertTable:!0,selectionCellStyle:"border: 1px double #1e88e5 !important;
1",useExtraClassesOptions:!1},sl.set("table",'<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> '),Qn.prototype.controls.table={data:{cols:10,rows:10,classList:{"table table-bordered":"Bootstrap Bordered","table table-striped":"Bootstrap Striped","table table-dark":"Bootstrap Dark"}},popup:function(e,t,o,n){e.editor.normalize();for(var r=e.history.snapshot.make(),i=n.control,a=i.data&&i.data.rows?i.data.rows:10,l=i.data&&i.data.cols?i.data.cols:10,s=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">'+function(){if(!e.o.table.useExtraClassesOptions)return"";var t=[];if(i.data){var o=i.data.classList;Object.keys(o).forEach(function(e){t.push('<label class="jodit_vertical_middle"><input class="jodit-checkbox" value="'.concat(e,'" type="checkbox"/>').concat(o[e],"</label>"))})}return t.join("")}()+'</div></div><label class="jodit-form__center"><span>1</span> × <span>1</span></label></form>'),c=s.querySelectorAll("span")[0],u=s.querySelectorAll("span")[1],d=s.querySelector(".jodit-form__container"),f=s.querySelector(".jodit-form__options"),p=[],h=a*l,v=0;v<h;v+=1)p[v]||p.push(e.c.element("span",{dataIndex:v}));if(e.e.on(d,"mousemove",function(e,t){var o=e.target;if(ii.isTag(o,"span")){for(var n=void 0===t||isNaN(t)?parseInt(Gn(o,"-index")||"0",10):t||0,r=Math.ceil((n+1)/l),i=n%l+1,a=0;a<p.length;a+=1)i>=a%l+1&&r>=Math.ceil((a+1)/l)?p[a].className="jodit_hovered":p[a].className="";u.textContent=i.toString(),c.textContent=r.toString()}}).on(d,"touchstart mousedown",function(t){var n=t.target;if(t.preventDefault(),t.stopImmediatePropagation(),ii.isTag(n,"span")){var i=parseInt(Gn(n,"-index")||"0",10),a=Math.ceil((i+1)/l),s=i%l+1,c=e.createInside,u=c.element("tbody"),d=c.element("table");d.appendChild(u);for(var p,h,v=null,g=1;g<=a;g+=1){p=c.element("tr");for(var m=1;m<=s;m+=1)h=c.element("td"),v||(v=h),En(h,"width",(100/s).toFixed(4)+"%"),h.appendChild(c.element("br")),p.appendChild(c.text("\n")),p.appendChild(c.text("\t")),p.appendChild(h);u.appendChild(c.text("\n")),u.appendChild(p)}Yr("input[type=checkbox]:checked",f).forEach(function(e){e.value.split(/[\s]+/).forEach(function(e){d.classList.add(e)})}),e.s.restore(),e.s.removeMarkers(),e.editor.normalize(),e.history.snapshot.restore(r);var b=ii.furthest(e.s.current(),ii.isBlock,e.editor);if(b&&ii.isEmpty(b))ii.replace(b,d,void 0,!1,!0);else if(b){var y=c.text("\n");if(e.o.table.splitBlockOnInsertTable){var _=e.s.range;_.collapse(!1),_.insertNode(y),_.collapse(!1),e.s.selectRange(_);var j=e.s.splitSelection(b,y);ii.after(j,d)}else ii.after(b,y),ii.after(y,d)}else e.s.insertNode(d,!1);v&&(e.s.setCursorIn(v),$r(v,e.editor,e.ed)),o()}}),n&&n.parentElement){for(var g=0;g<a;g+=1){for(var m=e.c.div(),b=0;b<l;b+=1)m.appendChild(p[g*l+b]);d.appendChild(m)}p[0]&&(p[0].className="hovered")}return s},tooltip:"Insert table"},Sa.add("table",function(e){e.registerButton({name:"table",group:"insert"})}),Qn.prototype.wrapNodes={exclude:new Set(["hr","style","br"]),emptyBlockAfterInit:!0};var _m=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;
1if("object"===("undefined"==typeof Reflect?"undefined":mm(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},jm=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=vm(t),function(e,t){return!t||"object"!==mm(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,ym()?Reflect.construct(t,o||[],vm(e).constructor):t.apply(e,o))}(this,t,arguments)).isSuitableStart=function(t){var o;return ii.isText(t)&&Io(t.nodeValue)&&(/[^\s]/.test(t.nodeValue)||(null===(o=t.parentNode)||void 0===o?void 0:o.firstChild)===t&&e.isSuitable(t.nextSibling))||e.isNotWrapped(t)&&!ii.isTemporary(t)},e.isSuitable=function(t){return ii.isText(t)||e.isNotWrapped(t)},e.isNotWrapped=function(t){return ii.isElement(t)&&!(ii.isBlock(t)||ii.isTag(t,e.j.o.wrapNodes.exclude))},e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gm(e,t)}(t,e),(o=[{key:"afterInit",value:function(e){"br"!==e.o.enter.toLowerCase()&&e.e.on("drop.wtn focus.wtn keydown.wtn mousedown.wtn afterInit.wtn backSpaceAfterDelete.wtn",this.preprocessInput,{top:!0}).on("afterInit.wtn postProcessSetEditorValue.wtn afterCommitStyle.wtn backSpaceAfterDelete.wtn",this.postProcessSetEditorValue)}},{key:"beforeDestruct",value:function(e){e.e.off(".wtn")}},{key:"postProcessSetEditorValue",value:function(){var e=this.jodit;if(e.isEditorMode()){for(var t=e.editor.firstChild,o=!1;t;){if(t=wm(t,e),this.isSuitableStart(t)){o||e.s.save(),o=!0;var n=e.createInside.element(e.o.enter);for(ii.before(t,n);t&&this.isSuitable(t);){var r=t.nextSibling;n.appendChild(t),t=r}n.normalize(),t=n}t=t&&t.nextSibling}o&&(e.s.restore(),"afterInit"===e.e.current&&e.e.fire("internalChange"))}}},{key:"preprocessInput",value:function(){var e=this.jodit,t="afterInit"===e.e.current;if(e.isEditorMode()&&!e.editor.firstChild&&(e.o.wrapNodes.emptyBlockAfterInit||!t)){var o=e.createInside.element(e.o.enter),n=e.createInside.element("br");ii.append(o,n),ii.append(e.editor,o),e.s.isFocused()&&e.s.setCursorBefore(n),e.e.fire("internalChange")}}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(bm(Vf));function wm(e,t){var o=e,n=e;do{if(!ii.isElement(n)||!ii.isLeaf(n)||ii.isList(n.parentElement))break;var r=ii.findNotEmptySibling(n,!1);ii.isTag(o,"ul")?o.appendChild(n):o=ii.wrap(n,"ul",t.createInside),n=r}while(n);return o}_m([Co],jm.prototype,"postProcessSetEditorValue",null),_m([Co],jm.prototype,"preprocessInput",null),Sa.add("wrapNodes",jm),Qn.prototype.dtd={removeExtraBr:!0,checkBlockNesting:!0,blockLimits:{article:1,aside:1,audio:1,body:1,caption:1,details:1,dir:1,div:1,dl:1,fieldset:1,figcaption:1,figure:1,footer:1,form:1,header:1,hgroup:1,main:1,menu:1,nav:1,ol:1,section:1,table:1,td:1,th:1,tr:1,ul:1,video:1}};var km=new Set(["table","pre","blockquote","code"]);function Sm(e,t){if(e.o.dtd.removeExtraBr&&!ii.isTag(t,"br")){var o=ii.furthest(t,ii.isBlock,e.editor);if(o&&!ii.isTag(o,km)){var n=ii.isTag(t,"br")?t:ii.findNotEmptySibling(t,!1);if(!ii.isTag(n,"br"))return;e.s.setCursorBefore(n),ii.safeRemove(n)}}}function xm(e,t){if(ii.isFragment(t)&&(t=t.firstChild),e.o.dtd.checkBlockNesting&&ii.isBlock(t)){var o=ii.furthest(e.s.current(),ii.isBlock,e.editor);o&&!e.o.dtd.blockLimits[o.tagName.toLowerCase()]&&(e.s.setCursorAfter(o),ii.isEmpty(o)&&ii.safeRemove(o))}}function Om(e,t,o){return Om=Im()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&zm(r,o.prototype),r},Om.apply(null,arguments)}function Cm(e){return Cm=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Cm(e)}function zm(e,t){return zm=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},zm(e,t)}function Em(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Tm(e){var t="function"==typeof Map?new Map:void 0;return Tm=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return Om(e,arguments,Cm(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),zm(n,e)},Tm(e)}function Im(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Im=function(){return!!e})()}var Pm=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;
1if("object"===("undefined"==typeof Reflect?"undefined":Em(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Rm=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e=this,n=arguments,o=Cm(o=t),function(e,t){return!t||"object"!==Em(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,Im()?Reflect.construct(o,n||[],Cm(e).constructor):o.apply(e,n));var e,o,n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zm(e,t)}(t,e),o=[{key:"afterInit",value:function(e){}},{key:"beforeDestruct",value:function(e){}},{key:"__onBeforeInsertNode",value:function(e){var t=this;Object.keys(f).forEach(function(o){f[o](t.j,e)})}},{key:"__onAfterInsertNode",value:function(e){var t=this;Object.keys(d).forEach(function(o){d[o](t.j,e)})}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Tm(Vf));Pm([va(":beforeInsertNode")],Rm.prototype,"__onBeforeInsertNode",null),Pm([va(":afterInsertNode")],Rm.prototype,"__onAfterInsertNode",null),Sa.add("dtd",Rm),Object.keys(i).forEac
1h(function(e){Hh[e]=i[e]});var Am=function(e){return"__esModule"!==e};Object.keys(u).filter(Am).forEach(function(e){sl.set(e.replace("_","-"),u[e])}),Object.keys(c).filter(Am).forEach(function(e){var t,o=c[e],n=Oo(null===(t=o.prototype)||void 0===t?void 0:t.className)?o.prototype.className():e;Io(n)?Hh.modules[n]=o:console.warn("Module name must be a string",e)}),Object.keys(l).filter(Am).forEach(function(e){Hh.decorators[e]=l[e]}),["Confirm","Alert","Prompt"].forEach(function(e){Hh[e]=c[e]}),Object.keys(yv).filter(Am).forEach(function(e){Hh.lang[e]=yv[e]});var Lm=n(72),Mm=n.n(Lm),Bm=n(825),Dm=n.n(Bm),Nm=n(659),Hm=n.n(Nm),Fm=n(56),qm=n.n(Fm),Vm=n(540),Wm=n.n(Vm),Um=n(113),Ym=n.n(Um),Km=n(616),Gm={};function Jm(e,t,o){return Jm=eb()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&Zm(r,o.prototype),r},Jm.apply(null,arguments)}function Xm(e){return Xm=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Xm(e)}function Zm(e,t){return Zm=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Zm(e,t)}function Qm(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function $m(e){var t="function"==typeof Map?new Map:void 0;return $m=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return Jm(e,arguments,Xm(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Zm(n,e)},$m(e)}function eb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eb=function(){return!!e})()}Gm.styleTagTransform=Ym(),Gm.setAttributes=qm(),Gm.insert=Hm().bind(null,"head"),Gm.domAPI=Dm(),Gm.insertStyleElement=Wm(),Mm()(Km.A,Gm),Km.A&&Km.A.locals&&Km.A.locals,Qn.prototype.addNewLine=!0,Qn.prototype.addNewLineOnDBLClick=!0,Qn.prototype.addNewLineTagsTriggers=["table","iframe","img","hr","pre","jodit"],Qn.prototype.addNewLineDeltaShow=20,sl.set("enter",'<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> ');var tb=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":Qm(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},ob="addnewline",nb=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=Xm(t),function(e,t){return!t||"object"!==Qm(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,eb()?Reflect.construct(t,o||[],Xm(e).constructor):t.apply(e,o))}(this,t,arguments)).__line=e.j.c.fromHTML('<div role="button" tabindex="-1" title="'.concat(e.j.i18n("Break"),'" class="jodit-add-new-line"><span>').concat(sl.get("enter"),"</span></div>")),e.__isMatchedTag=function(t){return Boolean(t&&e.j.o.addNewLineTagsTriggers.includes(t.nodeName.toLowerCase()))},e.__isBeforeContent=!1,e.__lineInFocus=!1,e.__isShown=!1,e.__hideForce=function(){e.__isShown&&(e.__isShown=!1,e.j.async.clearTimeout(e.__timeout),e.__lineInFocus=!1,ii.safeRemove(e.__line),e.__line.style.setProperty("--jd-anl-handle-offset","0"))},e.__canGetFocus=function(e){return null!=e&&ii.isBlock(e)&&!/^(img|table|iframe|hr)$/i.test(e.nodeName)}
1,e.__onClickLine=function(t){var o=e.j,n=o.createInside.element(o.o.enter);e.__isBeforeContent&&e.__current&&e.__current.parentNode?e.__current===o.editor?ii.prepend(o.editor,n):e.__current.parentNode.insertBefore(n,e.__current):o.editor.appendChild(n),o.s.setCursorIn(n),$r(n,o.editor,o.ed),o.synchronizeValues(),e.__hideForce(),t.preventDefault()},e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zm(e,t)}(t,e),(o=[{key:"__show",value:function(){this.j.o.readonly||this.j.isLocked||(this.j.async.clearTimeout(this.__timeout),this.__isShown||(this.__isShown=!0,this.j.container.appendChild(this.__line),this.__line.style.width=this.j.container.clientWidth+"px"))}},{key:"onLock",value:function(e){e&&this.__isShown&&this.__hideForce()}},{key:"__hide",value:function(){this.__isShown&&!this.__lineInFocus&&(this.__timeout=this.j.async.setTimeout(this.__hideForce,{timeout:500,label:"add-new-line-hide"}))}},{key:"afterInit",value:function(e){var t=this;e.o.addNewLine&&(e.e.on(this.__line,"mousemove",function(e){e.stopPropagation()}).on(this.__line,"mousedown touchstart",this.__onClickLine).on("change",this.__hideForce).on(this.__line,"mouseenter",function(){t.j.async.clearTimeout(t.__timeout),t.__lineInFocus=!0}).on(this.__line,"mouseleave",function(){t.__lineInFocus=!1}).on("changePlace",this.__addEventListeners.bind(this)),this.__addEventListeners())}},{key:"__addEventListeners",value:function(){var e=this.j;e.e.off(e.editor,"."+ob).off(e.container,"."+ob).off("."+ob).on([e.ow,e.ew,e.editor],"scroll."+ob,this.__hideForce).on("finishedCleanHTMLWorker."+ob,this.__hideForce).on(e.editor,"click."+ob,this.__hide).on(e.container,"mouseleave."+ob,this.__hide).on(e.editor,"mousemove."+ob,this.__onMouseMove)}},{key:"onDblClickEditor",value:function(e){var t=this.j;if(!t.o.readonly&&t.o.addNewLineOnDBLClick&&e.target===t.editor&&t.s.isCollapsed()){var o=Yi(t.editor,t,t.ed),n=e.pageY-t.ew.scrollX,r=t.createInside.element(t.o.enter);Math.abs(n-o.top)<Math.abs(n-(o.height+o.top))&&t.editor.firstChild?t.editor.insertBefore(r,t.editor.firstChild):t.editor.appendChild(r),t.s.setCursorIn(r),t.synchronizeValues(),this.__hideForce(),e.preventDefault()}}},{key:"__onMouseMove",value:function(e){var t=this.j,o=t.ed.elementFromPoint(e.clientX,e.clientY);if(ii.isHTMLElement(o)&&ii.isOrContains(t.editor,o))if(t.editor===o||this.__isMatchedTag(o)||(o=ii.closest(o,this.__isMatchedTag,t.editor)),o){if(this.__isMatchedTag(o)){var n=ii.up(o,ii.isBlock,t.editor);n&&n!==t.editor&&(o=n)}var r=Ki(o,this.j),i=!1,a=e.clientY,l=e.clientX;if(this.j.iframe){var s=Ki(this.j.iframe,this.j,!0);a+=s.top,l+=s.left}var c=this.j.o.addNewLineDeltaShow;Math.abs(a-r.top)<=c?(i=r.top,this.__isBeforeContent=!0):Math.abs(a-(r.top+r.height))<=c&&(i=r.top+r.height,this.__isBeforeContent=!1);var u=t.editor===o;!1!==i&&(u&&!this.__isBeforeContent||!u&&!ir(this.__isBeforeContent?ii.prev:ii.next,o,this.__canGetFocus,t.editor))?(this.__line.style.top=i+"px",this.__current=o,this.__show(),this.__line.style.setProperty("--jd-anl-handle-offset",l-r.left-10+"px")):(this.__current=!1,this.__hide())}else this.__hide()}},{key:"beforeDestruct",value:function(){this.j.async.clearTimeout(this.__timeout),this.j.e.off(this.__line).off("changePlace",this.__addEventListeners),ii.safeRemove(this.__line),this.j.e.off([this.j.ow,this.j.ew,this.j.editor],"."+ob).off(this.j.container,"."+ob).off("."+ob)}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}($m(Vf));function rb(e,t,o){return rb=cb()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&lb(r,o.prototype),r},rb.apply(null,arguments)}function ib(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function ab(e){return ab=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ab(e)}function lb(e,t){return lb=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},lb(e,t)}
1function sb(e){var t="function"==typeof Map?new Map:void 0;return sb=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return rb(e,arguments,ab(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),lb(n,e)},sb(e)}function cb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cb=function(){return!!e})()}tb([va(":lock")],nb.prototype,"onLock",null),tb([Co],nb.prototype,"__hide",null),tb([va(":dblclick")],nb.prototype,"onDblClickEditor",null),tb([Fa(function(e){return e.defaultTimeout})],nb.prototype,"__onMouseMove",null),Sa.add("addNewLine",nb),Qn.prototype.controls.classSpan={command:"applyClassName",exec:ur,list:["enabled","disabled","activated","text-left","text-center","text-right","warning","error"],isChildActive:function(e,t){var o=e.s.current();if(o){var n=ii.closest(o,ii.isElement,e.editor)||e.editor;return Boolean(t.control.args&&n.classList.contains(t.control.args[0].toString()))}return!1},isActive:function(e,t){var o=e.s.current();if(o){var n=ii.closest(o,ii.isElement,e.editor)||e.editor,r=!1;return t.control.list&&Object.keys(t.control.list).forEach(function(e){n.classList.contains(e)&&(r=!0)}),Boolean(n&&n!==e.editor&&void 0!==t.control.list&&r)}return!1},childTemplate:function(e,t,o){return'<span class="'.concat(t,'">').concat(e.i18n(o),"</span>")},tooltip:"Insert className"};var ub=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=ab(t),function(e,t){return!t||"object"!=((o=t)&&"undefined"!=typeof Symbol&&o.constructor===Symbol?"symbol":typeof o)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t;var o}(e,cb()?Reflect.construct(t,o||[],ab(e).constructor):t.apply(e,o))}(this,t,arguments)).buttons=[{name:"classSpan",group:"script"}],e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lb(e,t)}(t,e),(o=[{key:"afterInit",value:function(e){e.registerCommand("applyClassName",function(t,o,n){return e.s.commitStyle({attributes:ib({},"class",n)}),!1})}},{key:"beforeDestruct",value:function(){}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(sb(Vf));function db(e){var t=/([^[]*)\[([^\]]+)]/,o=/[\s]*,[\s]*/,n=/^(.*)[\s]*=[\s]*(.*)$/,r={};return Io(e)?(e.split(o).map(function(e){e=dn(e);var i=t.exec(e),a={};if(i){var l=i[2].split(o);i[1]&&(l.forEach(function(e){e=dn(e);var t=n.exec(e);t?a[t[1]]=t[2]:a[e]=!0}),r[i[1].toUpperCase()]=a)}else r[e.toUpperCase()]=!0}),r):!!e&&(Object.keys(e).forEach(function(t){r[t.toUpperCase()]=e[t]}),r)}function fb(e,t){var o=e.s,n=t;if(!n){n=e.createInside.fake();var r=o.range;ii.safeInsertNode(r,n),r.collapse()}var i=ii.furthest(n,pb,e.editor);if(i)if(o.cursorOnTheLeft(i))ii.before(i,n);else if(o.cursorOnTheRight(i))ii.after(i,n);else{var a=o.splitSelection(i);a&&ii.after(a,n)}t||(o.setCursorBefore(n),ii.safeRemove(n))}function pb(e){return ii.isInlineBlock(e)&&!ii.isTag(e,Pt)}function hb(e,t,o,n){if(n&&ii.isElement(t)&&!0!==n[t.nodeName]){var r=t.attributes;if(r&&r.length){for(var i=[],a=0;a<r.length;a+=1){var l=n[t.nodeName][r[a].name];(!l||!0!==l&&l!==r[a].value)&&i.push(r[a].name)}i.length&&(o=!0),i.forEach(function(e){t.removeAttribute(e)})}}return o}Sa.add("classSpan",ub),sl.set("class-span",'<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> '),Qn.prototype.cleanHTML={timeout:300,removeEmptyElements:!0,fillEmptyParagraph:!0,replaceNBSP:!0,replaceOldTags:{i:"em",b:"strong"},allowTags:!1,denyTags:"script",useIframeSandbox:!1,removeOnError:!0,safeJavaScriptLink:!0,disableCleanFilter:null}
1,Qn.prototype.controls.eraser={command:"removeFormat",tooltip:"Clear Formatting"},sl.set("eraser",'<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> ');var vb=new Set(["table","tbody","thead","tfoot","tr"]);function gb(e,t,o){if(e.o.cleanHTML.fillEmptyParagraph&&ii.isBlock(t)&&ii.isEmpty(t,Pt)&&!ii.isTag(t,vb)){var n=e.createInside.element("br");return t.appendChild(n),!0}return o}function mb(e,t,o,n,r,i){return ii.isText(t)&&!t.nodeValue?(t===i&&e.s.isCollapsed()&&e.s.setCursorAfter(t),ii.safeRemove(t),!0):o}function bb(e,t,o,n,r,i){if(i===t||!ii.isText(t)||null==t.nodeValue)return o;if(!_t().test(t.nodeValue))return o;var a=ii.furthest(i,ii.isBlock,e.editor);return!a||ii.isOrContains(a,t)?o:(t.nodeValue=t.nodeValue.replace(_t(),""),t===i&&e.s.isCollapsed()&&e.s.setCursorAfter(t),t.nodeValue||ii.safeRemove(t),!0)}function yb(e,t,o){var n=function(e,t,o){if(!o||!ii.isHTMLElement(t))return t;var n=o[t.nodeName.toLowerCase()]||o[t.nodeName];return n?ii.replace(t,n,e.createInside,!0,!1):t}(e,t,e.o.cleanHTML.replaceOldTags);return t!==n?(t=n,!0):o}function _b(e,t,o){return!(!ii.isElement(t)||!Ti(t,{safeJavaScriptLink:e.options.cleanHTML.safeJavaScriptLink,removeOnError:e.options.cleanHTML.removeOnError}))||o}function jb(e,t,o,n,r,i){return function(e,t,o,n,r){if(!ii.isText(t)){if(n&&!n[t.nodeName])return!0;if(!n&&r&&r[t.nodeName])return!0}return!!e.o.cleanHTML.removeEmptyElements&&ii.isElement(t)&&null!=t.nodeName.match(Et)&&!ii.isTemporary(t)&&0===pn(t.innerHTML).length&&(null==o||!ii.isOrContains(t,o))}(e,t,i,n,r)?(ii.safeRemove(t),!0):o}var wb=Object.keys(p);function kb(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function Sb(e,t,o){return Sb=Eb()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&Ob(r,o.prototype),r},Sb.apply(null,arguments)}function xb(e){return xb=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},xb(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Ob(e,t)}function Cb(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function zb(e){var t="function"==typeof Map?new Map:void 0;return zb=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return Sb(e,arguments,xb(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Ob(n,e)},zb(e)}function Eb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Eb=function(){return!!e})()}var Tb=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":Cb(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Ib=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=xb(t),function(e,t){return!t||"object"!==Cb(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,Eb()?Reflect.construct(t,o||[],xb(e).constructor):t.apply(e,o))}(this,t,arguments)).buttons=[{name:"eraser",group:"font-style"}],e.currentSelectionNode=null,e.walker=new jn(e.j.async,{timeout:e.j.o.cleanHTML.timeout}),e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ob(e,t)}(t,e),o=[{key:"afterInit",value:function(e){}},{key:"isEditMode",get:function(){return!(this.j.isInDestruct||!this.j.isEditorMode()||this.j.getReadOnly())}},{key:"onChangeCleanHTML",value:function(){if(this.isEditMode){var e=this.j;this.walker.setWork(e.editor),this.currentSelectionNode=e.s.current()}}},{key:"startWalker",value:function(){var e=this,t=this.jodit,o=db(this.j.o.cleanHTML.allowTags),n=db(this.j.o.cleanHTML.denyTags);this.walker.on("visit",function(r){return function(e,t,o,n,r){var i=!1,a=e.o.
1cleanHTML.disableCleanFilter,l=!0,s=!1,c=void 0;try{for(var u,d=wb[Symbol.iterator]();!(l=(u=d.next()).done);l=!0){var f=u.value;if(!a||!a.has(f)){var h=i;if(i=(0,p[f])(e,t,i,o,n,r),ft||h||!i||console.warn('CleanHTML: Effect "'.concat(f,'"')),!t.isConnected)return!0}}}catch(e){s=!0,c=e}finally{try{l||null==d.return||d.return()}finally{if(s)throw c}}return i}(t,r,o,n,e.currentSelectionNode)}).on("end",function(t){e.j.e.fire(t?"internalChange finishedCleanHTMLWorker":"finishedCleanHTMLWorker")})}},{key:"beforeCommand",value:function(e){if("removeformat"===e.toLowerCase())return this.j.s.isCollapsed()?fb(this.j):function(e){var t=e.s,o=e.editor,n=e.createInside,r=t.range,i=r.cloneRange(),a=r.cloneRange(),l=n.fake(),s=n.fake();i.collapse(!0),a.collapse(!1),ii.safeInsertNode(i,l),ii.safeInsertNode(a,s),r.setStartBefore(l),r.collapse(!0),t.selectRange(r),fb(e,l),r.setEndAfter(s),r.collapse(!1),t.selectRange(r),fb(e,s);var c=[];ii.between(l,s,function(e){pb(e)&&!ii.isTag(e,"a")&&c.push(e),ii.isElement(e)&&Gn(e,"style")&&Gn(e,"style",null)}),c.forEach(function(e){return ii.unwrap(e)});var u=function(e,t){if(!ii.findNotEmptySibling(e,t)){var n=e.parentNode;if(n&&n!==o&&Gn(n,"style"))return Gn(n,"style",null),u(n,t),!0}};u(l,!0)&&u(s,!1),r.setStartAfter(l),r.setEndBefore(s),t.selectRange(r),ii.safeRemove(l),ii.safeRemove(s)}(this.j),!1}},{key:"onBeforeSetNativeEditorValue",value:function(e){var t=function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,r=[],i=!0,a=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(r.push(o.value),2!==r.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==t.return||t.return()}finally{if(a)throw n}}return r}}(e)||function(e){if(e){if("string"==typeof e)return kb(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?kb(e,2):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(this.j.o.cleanHTML.useIframeSandbox?this.j.createInside.sandbox():[this.j.createInside.div()]),o=t[0],n=t[1];return o.innerHTML=e.value,this.onSafeHTML(o),e.value=o.innerHTML,Ei(o,{safeJavaScriptLink:!0,removeOnError:!0}),ii.safeRemove(n),!1}},{key:"onSafeHTML",value:function(e){Ei(e,this.j.o.cleanHTML)}},{key:"beforeDestruct",value:function(){this.walker.destruct()}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(zb(Vf));Tb([va([":change",":afterSetMode",":afterInit",":mousedown",":keydown"])],Ib.prototype,"onChangeCleanHTML",null),Tb([Ua("ready")],Ib.prototype,"startWalker",null),Tb([va(":beforeCommand")],Ib.prototype,"beforeCommand",null),Tb([va(":beforeSetNativeEditorValue")],Ib.prototype,"onBeforeSetNativeEditorValue",null),Tb([va(":safeHTML")],Ib.prototype,"onSafeHTML",null),Sa.add("cleanHtml",Ib),Qn.prototype.controls.cut={command:"cut",isDisabled:function(e){return e.s.isCollapsed()},tooltip:"Cut selection"},Qn.prototype.controls.copy={command:"copy",isDisabled:function(e){return e.s.isCollapsed()},tooltip:"Copy selection"},Qn.prototype.controls.selectall={icon:"select-all",command:"selectall",tooltip:"Select all"},sl.set("copy",'<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> ').set("cut",'<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-2
11 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> ').set("paste",'<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> ').set("select-all",'<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> ');var Pb=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.buttons=[{name:"cut",group:"clipboard"},{name:"copy",group:"clipboard"},{name:"paste",group:"clipboard"},{name:"selectall",group:"clipboard"}]}var t;return(t=[{key:"init",value:function(e){var t;null===(t=this.buttons)||void 0===t||t.forEach(function(t){return e.registerButton(t)}),e.e.off("copy.".concat(ko," cut.").concat(ko)).on("copy.".concat(ko," cut.").concat(ko),function(t){var o,n=e.s.html,r=dr(t)||dr(e.ew)||dr(t.originalEvent);r&&(r.setData(oo,Ai(n)),r.setData(no,n)),e.buffer.set(ko,n),e.e.fire("pasteStack",{html:n,action:e.o.defaultActionOnPaste||lo}),"cut"===t.type&&(e.s.remove(),e.s.focus()),t.preventDefault(),null===(o=null==e?void 0:e.events)||void 0===o||o.fire("afterCopy",n)})}},{key:"destruct",value:function(e){var t,o;null===(t=ai(e,"buffer"))||void 0===t||t.set(ko,""),null===(o=null==e?void 0:e.events)||void 0===o||o.off("."+ko)}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}();Sa.add("clipboard",Pb);const Rb={"copy-format":"\u0646\u0633\u062e \u0627\u0644\u062a\u0646\u0633\u064a\u0642"},Ab={"copy-format":"Kop\xedrovat form\xe1t"},Lb={"copy-format":"Format kopieren\u0442"},Mb={"copy-format":"Copiar formato"},Bb={"copy-format":"\u06a9\u067e\u06cc \u06a9\u0631\u062f\u0646 \u0642\u0627\u0644\u0628"},Db={"copy-format":"Kopioi muotoilu"},Nb={"copy-format":"Format de copie"},Hb={"copy-format":"\u05d4\u05e2\u05ea\u05e7 \u05e2\u05d9\u05e6\u05d5\u05d1"},Fb={"copy-format":"Form\xe1tum m\xe1sol\xe1s"},qb={"copy-format":"salin format"},Vb={"copy-format":"Copia il formato"},Wb={"copy-format":"copyformat"},Ub={"copy-format":"\ubcf5\uc0ac \ud615\uc2dd"},Yb={"copy-format":"\u0424\u043e\u0440\u043c\u0430\u0442 \u0445\u0443\u0443\u043b\u0430\u0445"},Kb={"copy-format":"opmaak kopi\xebren"},Gb={"copy-format":"format kopii"},Jb={"copy-format":"Copiar formato"},Xb={"copy-format":"\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0444\u043e\u0440\u043c\u0430\u0442"},Zb={"copy-format":"Kopyalama Bi\xe7imi"},Qb={"copy-format":"\u590d\u5236\u683c\u5f0f"},$b={"copy-format":"\u8907\u88fd\u683c\u5f0f"};var ey="copy-format",ty=["lineHeight","fontWeight","fontStyle","fontSize","fontFamily","color","margin","padding","borderWidth","borderStyle","borderColor","borderRadius","backgroundColor","textDecorationLine"],oy=function(e,t,o,n){var r=En(o,t);return r===n[t]&&(r=o.parentNode&&o!==e.editor&&o.parentNode!==e.editor?oy(e,t,o.parentNode,n):void 0),r};function ny(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function ry(e,t,o){return ry=cy()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&ay(r,o.prototype),r},ry.apply(null,arguments)}
1function iy(e){return iy=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},iy(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ay(e,t)}function ly(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function sy(e){var t="function"==typeof Map?new Map:void 0;return sy=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return ry(e,arguments,iy(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),ay(n,e)},sy(e)}function cy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cy=function(){return!!e})()}Qn.prototype.controls.copyformat={exec:function(e,t,o){var n=o.button;if(t){if(e.buffer.exists(ey))e.buffer.delete(ey),e.e.off(e.editor,"mouseup."+ey);else{var r={},i=ii.up(t,function(e){return e&&!ii.isText(e)},e.editor)||e.editor,a=e.createInside.span();e.editor.appendChild(a),ty.forEach(function(e){r[e]=En(a,e)}),a!==e.editor&&ii.safeRemove(a);var l=function(e,t,o){var n={};return t&&ty.forEach(function(r){n[r]=oy(e,r,t,o),r.match(/border(Style|Color)/)&&!n.borderWidth&&(n[r]=void 0)}),n}(e,i,r);e.e.on(e.editor,"mouseup."+ey,function(){e.buffer.delete(ey);var t=e.s.current();t&&(ii.isTag(t,"img")?En(t,l):e.s.commitStyle({attributes:{style:l}})),e.e.off(e.editor,"mouseup."+ey)}),e.buffer.set(ey,!0)}n.update()}},isActive:function(e){return e.buffer.exists(ey)},tooltip:"Paint format"},Sa.add("copyformat",function(e){e.registerButton({name:"copyformat",group:"clipboard"}),Oa(h)}),sl.set("copyformat",'<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> ');var uy=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":ly(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},dy=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=iy(t),function(e,t){return!t||"object"!==ly(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,cy()?Reflect.construct(t,o||[],iy(e).constructor):t.apply(e,o))}(this,t,arguments)).isFragmentFromEditor=!1,e.isCopyMode=!1,e.startDragPoint={x:0,y:0},e.draggable=null,e.bufferRange=null,e.getText=function(e){var t=dr(e);return t?t.getData(no)||t.getData(oo):null},e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ay(e,t)}(t,e),o=[{key:"afterInit",value:function(){this.j.e.on([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)}},{key:"onDragStart",value:function(e){var t=e.target;if(this.onDragEnd(),this.isFragmentFromEditor=ii.isOrContains(this.j.editor,t,!0),this.isCopyMode=!this.isFragmentFromEditor||yr(e),this.isFragmentFromEditor){var o=this.j.s.sel,n=o&&o.rangeCount?o.getRangeAt(0):null;n&&(this.bufferRange=n.cloneRange())}else this.bufferRange=null;this.startDragPoint.x=e.clientX,this.startDragPoint.y=e.clientY,function(e){return ii.isElement(e)&&e.classList.contains(xf.prototype.getFullElName("item"))}(t)&&(t=t.querySelector("img")),ii.isTag(t,"img")&&(this.draggable=t.cloneNode(!0),nr(this.draggable,"target",t)),this.addDragListeners()}},{key:"addDragListeners",value:function(){this.j.e.on("dragover",this.onDrag).on("drop.DragAndDrop",this.onDrop).on(window,"dragend.DragAndDrop drop.DragAndDrop mouseup.DragAndDrop",this.onDragEnd)}},{key:"removeDragListeners",value:function(){this.j.e.off("dragover",this.onDrag).off("drop.DragAndDrop",this.onDrop).off(window,"dragend.DragAndDrop drop.DragAndDrop mouseup.DragAndDrop",this.onDragEnd)}},{key:"onDrag",value:function(e){this.draggable&&(this.j.e.fire("hidePopup"),this.j.s.insertCursorAtPoint(e.clientX,e.clientY),e.preventDefault(),e.stopPropagation())}},{key:"onDragEnd",value:function(){this.draggable&&(ii.safeRemove(this.draggable),this.draggable=null),this.isCopyMode=!1,this.removeDragListeners()}},{key:"onDrop",value:function(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;var t=this.j.s.sel,o=this.bufferRange||(t&&t.rangeCount?t.getRangeAt(0):null),n=this.__getWorkFragment(o,e);t&&t.removeAllRanges(),this.j.s.insertCursorAtPoint(e.clientX,e.clientY),n&&this.__insertFragment.call(this,n,o),e.preventDefault(),e.stopPropagation()}this.isFragmentFromEditor=!1,this.removeDragListeners()}},{key:"__getWorkFragment",value:function(e,t){var o=null;if(!this.draggable&&e)o=this.isCopyMode?e.cloneContents():e.extractContents();else if(this.draggable)if(this.isCopyMode){var n=function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,r=[],i=!0,a=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(r.push(o.value),2!==r.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==t.return||t.return()}finally{if(a)throw n}}return r}}(e)||function(e){if(e){if("string"==typeof e)return ny(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?ny(e,2):void 0}}
1(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}("1"===Gn(this.draggable,"-is-file")?["a","href"]:["img","src"]),r=n[0],i=n[1];(o=this.j.createInside.element(r)).setAttribute(i,Gn(this.draggable,"data-src")||Gn(this.draggable,"src")||""),"a"===r&&(o.textContent=Gn(o,i)||"")}else o=nr(this.draggable,"target");else this.getText(t)&&(o=this.j.createInside.fromHTML(this.getText(t)));return o}},{key:"__insertFragment",value:function(e,t){this.j.s.insertNode(e,!1,!1),t&&e.firstChild&&e.lastChild&&(t.setStartBefore(e.firstChild),t.setEndAfter(e.lastChild),this.j.s.selectRange(t),this.j.e.fire("synchro")),ii.isTag(e,"img")&&this.j.events&&this.j.e.fire("afterInsertImage",e)}},{key:"beforeDestruct",value:function(){this.onDragEnd(),this.j.e.off(window,".DragAndDrop").off(".DragAndDrop").off([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(sy(Vf));function fy(e,t,o){return fy=my()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&hy(r,o.prototype),r},fy.apply(null,arguments)}function py(e){return py=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},py(e)}function hy(e,t){return hy=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},hy(e,t)}function vy(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function gy(e){var t="function"==typeof Map?new Map:void 0;return gy=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return fy(e,arguments,py(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),hy(n,e)},gy(e)}function my(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(my=function(){return!!e})()}uy([Co],dy.prototype,"onDragStart",null),uy([Fa(function(e){return e.defaultTimeout/10})],dy.prototype,"onDrag",null),uy([Co],dy.prototype,"onDragEnd",null),uy([Co],dy.prototype,"onDrop",null),Sa.add("dragAndDrop",dy),Qn.prototype.draggableTags=["img","jodit-media","jodit"];var by,yy=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":vy(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a};!function(e){e[e.IDLE=0]="IDLE",e[e.WAIT_DRAGGING=1]="WAIT_DRAGGING",e[e.DRAGGING=2]="DRAGGING"}(by||(by={}));var _y=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=py(t),function(e,t){return!t||"object"!==vy(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,my()?Reflect.construct(t,o||[],py(e).constructor):t.apply(e,o))}(this,t,arguments)).dragList=[],e.draggable=null,e.isCopyMode=!1,e.diffStep=10,e.startX=0,e.startY=0,e.state=by.IDLE,e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hy(e,t)}(t,e),(o=[{key:"afterInit",value:function(){this.dragList=this.j.o.draggableTags?ki(this.j.o.draggableTags).filter(Boolean).map(function(e){return e.toLowerCase()}):[],this.dragList.length&&this.j.e.on("mousedown dragstart",this.onDragStart)}},{key:"onDragStart",value:function(e){var t=this;if("dragstart"===e.type&&this.draggable)return!1;if(!(this.state>by.IDLE)){var o=e.target;if(this.dragList.length&&o){var n=function(e){return Boolean(e&&t.dragList.includes(e.nodeName.toLowerCase()))},r=ii.furthest(o,n,this.j.editor)||(n(o)?o:null);r&&(ii.isTag(r.parentElement,"a")&&r.parentElement.firstChild===r&&r.parentElement.lastChild===r&&(r=r.parentElement),this.startX=e.clientX,this.startY=e.clientY,this.isCopyMode=yr(e),this.draggable=r.cloneNode(!0),nr(this.draggable,"target",r),this.state=by.WAIT_DRAGGING,this.addDragListeners())}}}},{key:"onDrag",value:function(e){var o,n;if(this.draggable&&this.state!==by.IDLE){var r=e.clientX,i=e.clientY;if(!(this.state===by.WAIT_DRAGGING&&Math.sqrt(Math.pow(r-this.startX,2)+Math.pow(i-this.startY,2))<this.diffStep)){if(this.state===by.WAIT_DRAGGING&&(this.j.lock("drag-and-drop-element"),this.state=by.DRAGGING),this.j.e.fire("hidePopup hideResizer"),
1!this.draggable.parentNode){var a=nr(this.draggable,"target");En(this.draggable,{zIndex:1e13,pointerEvents:"none",pointer:"drag",position:"fixed",opacity:.7,display:"inline-block",left:e.clientX,top:e.clientY,width:null!==(o=null==a?void 0:a.offsetWidth)&&void 0!==o?o:100,height:null!==(n=null==a?void 0:a.offsetHeight)&&void 0!==n?n:100}),za(this.j,t).appendChild(this.draggable)}En(this.draggable,{left:e.clientX,top:e.clientY}),this.j.s.insertCursorAtPoint(e.clientX,e.clientY)}}}},{key:"onDragEnd",value:function(){this.isInDestruct||(this.removeDragListeners(),this.j.unlock(),this.state=by.IDLE,this.draggable&&(ii.safeRemove(this.draggable),this.draggable=null))}},{key:"onDrop",value:function(){if(!this.draggable||this.state<by.DRAGGING)this.onDragEnd();else{var e=nr(this.draggable,"target");this.onDragEnd(),this.isCopyMode&&(e=e.cloneNode(!0));var t=e.parentElement;this.j.s.insertNode(e,!0,!1),t&&ii.isEmpty(t)&&!ii.isCell(t)&&ii.safeRemove(t),ii.isTag(e,"img")&&this.j.e&&this.j.e.fire("afterInsertImage",e),this.j.e.fire("synchro")}}},{key:"addDragListeners",value:function(){this.j.e.on(this.j.editor,"mousemove",this.onDrag).on("mouseup",this.onDrop).on([this.j.ew,this.ow],"mouseup",this.onDragEnd)}},{key:"removeDragListeners",value:function(){this.j.e.off(this.j.editor,"mousemove",this.onDrag).off("mouseup",this.onDrop).off([this.j.ew,this.ow],"mouseup",this.onDragEnd)}},{key:"beforeDestruct",value:function(){this.onDragEnd(),this.j.e.off("mousedown dragstart",this.onDragStart),this.removeDragListeners()}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(gy(Vf));yy([Co],_y.prototype,"onDragStart",null),yy([Fa(function(e){return e.defaultTimeout/10})],_y.prototype,"onDrag",null),yy([Co],_y.prototype,"onDragEnd",null),yy([Co],_y.prototype,"onDrop",null),Sa.add("dragAndDropElement",_y),Qn.prototype.controls.file={popup:function(e,t,o){var n=function(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";e.s.insertNode(e.createInside.fromHTML('<a href="'.concat(t,'" title="').concat(o,'">').concat(o||t,"</a>")))},r=null;return t&&(ii.isTag(t,"a")||ii.closest(t,"a",e.editor))&&(r=ii.isTag(t,"a")?t:ii.closest(t,"a",e.editor)),Wv(e,{filebrowser:function(e){e.files&&e.files.forEach(function(t){return n(e.baseurl+t)}),o()},upload:!0,url:function(e,t){r?(r.setAttribute("href",e),r.setAttribute("title",t)):n(e,t),o()}},r,o,!1)},tags:["a"],tooltip:"Insert file"},Sa.add("file",function(e){e.registerButton({name:"file",group:"media"})}),Qn.prototype.autofocus=!1,Qn.prototype.cursorAfterAutofocus="end",Qn.prototype.saveSelectionOnBlur=!0,Sa.add("focus",function(e){e.o.saveSelectionOnBlur&&e.e.on("blur",function(){e.isEditorMode()&&e.s.save(!0)}).on("focus",function(){e.s.restore()});var t=function(){if(e.s.focus(),"end"===e.o.cursorAfterAutofocus){var t=ii.last(e.editor,function(e){return ii.isText(e)});t&&e.s.setCursorIn(t,!1)}};e.e.on("afterInit",function(){e.o.autofocus&&(e.defaultTimeout?e.async.setTimeout(t,300):t())}),e.e.on("afterInit afterAddPlace",function(){e.e.off(e.editor,"mousedown.autofocus").on(e.editor,"mousedown.autofocus",function(t){e.isEditorMode()&&t.target&&ii.isBlock(t.target)&&!t.target.childNodes.length&&(e.editor===t.target?e.s.focus():e.s.setCursorIn(t.target))})})}),Qn.prototype.fullsize=!1,Qn.prototype.globalFullSize=!0,sl.set("fullsize",'<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> ').set("shrink",'<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> '),Qn.prototype.controls.fullsize={exec:function(e){e.toggleFullSize()},update:function(e,t){var o=e.isFullSize?"shrink":"fullsize";t.state.activated=e.isFullSize,e.o.textIcons?t.state.text=o:t.state.icon.name=o},tooltip:"Open in fullsize",mode:$t+Qt};var jy=new Set;function wy(e,t,o,n,r,i,a){try{var l=e[i](a),s=l.value}catch(e){return void o(e)}l.done?t(s):Promise.resolve(s).then(n,r)}function ky(e,t,o){return ky=zy()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&xy(r,o.prototype),r},ky.apply(null,arguments)}
1function Sy(e){return Sy=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Sy(e)}function xy(e,t){return xy=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},xy(e,t)}function Oy(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Cy(e){var t="function"==typeof Map?new Map:void 0;return Cy=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return ky(e,arguments,Sy(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),xy(n,e)},Cy(e)}function zy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zy=function(){return!!e})()}Sa.add("fullsize",function(e){e.registerButton({name:"fullsize"});var t=!1,o=0,n=0,r=!1,i=function(){var i=e.container;e.events&&(t?(o=En(i,"height",!0),n=En(i,"width",!0),En(i,{height:e.ow.innerHeight,width:e.ow.innerWidth}),r=!0):r&&En(i,{height:o||"auto",width:n||"auto"}))},a=function(o){var n,r=e.container,a=e.events;if(r){if(void 0===o&&(o=!r.classList.contains("jodit_fullsize")),e.setMod("fullsize",o),e.o.fullsize=o,t=o,r.classList.toggle("jodit_fullsize",o),e.toolbar&&($o(e)&&(null===(n=e.toolbarContainer)||void 0===n||n.appendChild(e.toolbar.container)),En(e.toolbar.container,"width","auto")),o?jy.add(r):jy.delete(r),e.o.globalFullSize&&(1===jy.size&&o||0===jy.size&&!o)){for(var l=r.parentNode;l&&l.nodeType!==Node.DOCUMENT_NODE&&l.nodeType!==Node.DOCUMENT_FRAGMENT_NODE;)l.classList.toggle("jodit_fullsize-box_true",o),l=l.parentNode;i()}a.fire("afterResize")}};e.o.globalFullSize&&e.e.on(e.ow,"resize",i),e.e.on("afterInit afterOpen",function(){var t;e.toggleFullSize(null===(t=null==e?void 0:e.options)||void 0===t?void 0:t.fullsize)}).on("toggleFullSize",a).on("beforeDestruct",function(){t&&a(!1)}).on("beforeDestruct",function(){e.events&&e.e.off(e.ow,"resize",i)})}),sl.set("hr",'<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> '),Qn.prototype.controls.hr={command:"insertHorizontalRule",tags:["hr"],tooltip:"Insert Horizontal Line"},Sa.add("hr",function(e){e.registerButton({name:"hr",group:"insert"}),e.registerCommand("insertHorizontalRule",function(){var t=e.createInside.element("hr");e.s.insertNode(t,!1,!1);var o=ii.closest(t.parentElement,ii.isBlock,e.editor);o&&ii.isEmpty(o)&&o!==e.editor&&(ii.after(o,t),ii.safeRemove(o));var n=ii.next(t,ii.isBlock,e.editor,!1);return n||(n=e.createInside.element(e.o.enter),ii.after(t,n)),e.s.setCursorIn(n),!1})}),Qn.prototype.imageProcessor={replaceDataURIToBlobIdInView:!0};var Ey=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":Oy(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Ty="__jodit_imageprocessor_binded",Iy=Ty+"blob-id",Py=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e=this,n=arguments,o=Sy(o=t),function(e,t){return!t||"object"!==Oy(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,zy()?Reflect.construct(o,n||[],Sy(e).constructor):o.apply(e,n));var e,o,n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xy(e,t)}(t,e),o=[{key:"afterInit",value:function(e){}},{key:"beforeDestruct",value:function(e){var t=ai(e,"buffer"),o=null==t?void 0:t.get(Iy);
1if(t&&o){var n=Object.keys(o),r=!0,i=!1,a=void 0;try{for(var l,s=n[Symbol.iterator]();!(r=(l=s.next()).done);r=!0){var c=l.value;URL.revokeObjectURL(c)}}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}t.delete(Iy)}}},{key:"onAfterGetValueFromEditor",value:function(e,t){if(t!==So)return this.onBeforeSetElementValue(e)}},{key:"onBeforeSetElementValue",value:function(e){var t=this.jodit;if(t.o.imageProcessor.replaceDataURIToBlobIdInView){var o=t.buffer.get(Iy);if(o){var n=Object.keys(o),r=!0,i=!1,a=void 0;try{for(var l,s=n[Symbol.iterator]();!(r=(l=s.next()).done);r=!0)for(var c=l.value;e.value.includes(c);)e.value=e.value.replace(c,o[c])}catch(e){i=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}}}}},{key:"afterChange",value:function(e){var t,o=this;return(t=function(){var e;return function(e,t){var o,n,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,n&&(r=2&i[0]?n.return:i[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,i[1])).done)return r;switch(n=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{o=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}(this,function(t){return(e=o.jodit).editor?(Yr("img",e.editor).forEach(function(t){nr(t,Ty)||(nr(t,Ty,!0),t.complete||e.e.on(t,"load",function o(){var n;!e.isInDestruct&&(null===(n=e.e)||void 0===n||n.fire("resize")),e.e.off(t,"load",o)}),t.src&&/^data:/.test(t.src)&&function(e,t){if(e.o.imageProcessor.replaceDataURIToBlobIdInView&&"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof URL){var o=t.src,n=function(e){for(var t=atob(e.split(",")[1]),o=e.split(",")[0].split(":")[1].split(";
1")[0],n=new ArrayBuffer(t.length),r=new Uint8Array(n),i=0;i<t.length;i++)r[i]=t.charCodeAt(i);return new Blob([n],{type:o})}(o);t.src=URL.createObjectURL(n),e.e.fire("internalUpdate");var r=e.buffer.get(Iy)||{};r[t.src]=o,e.buffer.set(Iy,r)}}(e,t),e.e.on(t,"mousedown touchstart",function(){e.s.select(t)}))}),[2]):[2]})},function(){var e=this,o=arguments;return new Promise(function(n,r){var i=t.apply(e,o);function a(e){wy(i,n,r,a,l,"next",e)}function l(e){wy(i,n,r,a,l,"throw",e)}a(void 0)})})()}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Cy(Vf));function Ry(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function Ay(e,t,o,n,r,i,a){try{var l=e[i](a),s=l.value}catch(e){return void o(e)}l.done?t(s):Promise.resolve(s).then(n,r)}function Ly(e){return Ly=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ly(e)}function My(e,t){return My=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},My(e,t)}function By(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Dy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Dy=function(){return!!e})()}Ey([va(":afterGetValueFromEditor")],Py.prototype,"onAfterGetValueFromEditor",null),Ey([va(":beforeSetElementValue")],Py.prototype,"onBeforeSetElementValue",null),Ey([va([":change",":afterInit",":changePlace"]),Ha()],Py.prototype,"afterChange",null),Sa.add("imageProcessor",Py),Qn.prototype.image={dialogWidth:600,openOnDblClick:!0,editSrc:!0,useImageEditor:!0,editTitle:!0,editAlt:!0,editLink:!0,editSize:!0,editBorderRadius:!0,editMargins:!0,editClass:!0,availableClasses:[],editStyle:!0,editId:!0,editAlign:!0,showPreview:!0,selectImageAfterClose:!0};var Ny=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":By(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Hy=function(e){function t(e,o,n){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=function(e,t,o){return t=Ly(t),function(e,t){return!t||"object"!==By(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,Dy()?Reflect.construct(t,o||[],Ly(e).constructor):t.apply(e,o))}(this,t,[e])).state=o,r.handlers=n,r}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&My(e,t)}(t,e),o=[{key:"className",value:function(){return"UIImageMainTab"}},{key:"appendChildToContainer",value:function(){}},{key:"render",value:function(){return'<div class="jodit-form__group &__editSrc">\n\t\t\t<label>~Src~</label>\n\t\t\t<div class="jodit-input_group">\n\t\t\t\t<input class="jodit-input &__imageSrc" type="text"/>\n\t\t\t\t<div class="jodit-input_group-buttons &__fixImage">\n\t\t\t\t\t\t<a class="jodit-button &__changeImage">*image*</a>\n\t\t\t\t\t\t<a class="jodit-button &__editImage">*crop*</a>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class="jodit-form__group &__editTitle">\n\t\t\t<label>~Title~</label>\n\t\t\t<input type="text" class="jodit-input &__imageTitle"/>\n\t\t</div>\n\t\t<div class="jodit-form__group &__editAlt">\n\t\t\t<label>~Alternative~</label>\n\t\t\t<input type="text" class="jodit-input &__imageAlt"/>\n\t\t</div>\n\t\t<div class="jodit-form__group &__editLink">\n\t\t\t<label>~Link~</label>\n\t\t\t<input type="text" class="jodit-input &__imageLink"/>\n\t\t</div>\n\t\t<div class="jodit-form__group &__editLinkTarget">\n\t\t\t<label class="jodit_vertical_middle">\n\t\t\t\t<input type="checkbox" class="jodit-checkbox &__imageLinkOpenInNewTab"/>\n\t\t\t\t<span>~Open link in new tab~</span>\n\t\t\t</label>\n\t\t</div>'}},{key:"onStateImageSrcChange",value:function(){var e,t=this;return(e=function(){return function(e,t){var o,n,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]}
1,trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,n&&(r=2&i[0]?n.return:i[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,i[1])).done)return r;switch(n=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{o=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}(this,function(e){return t.getElm("imageSrc").value=t.state.values.imageSrc,[2]})},function(){var t=this,o=arguments;return new Promise(function(n,r){var i=e.apply(t,o);function a(e){Ay(i,n,r,a,l,"next",e)}function l(e){Ay(i,n,r,a,l,"throw",e)}a(void 0)})})()}},{key:"onImageSrcChange",value:function(){this.state.values.imageSrc=this.getElm("imageSrc").value}},{key:"onEditImageClick",value:function(e){this.handlers.openImageEditor(),e.stopPropagation()}},{key:"onChangeImageClick",value:function(e){this.handlers.openImagePopup(this.getElm("changeImage")),e.stopPropagation()}},{key:"onStateTitleChange",value:function(){this.getElm("imageTitle").value=this.state.values.imageTitle}},{key:"onTitleChange",value:function(){this.state.values.imageTitle=this.getElm("imageTitle").value}},{key:"onStateAltChange",value:function(){this.getElm("imageAlt").value=this.state.values.imageAlt}},{key:"onAltChange",value:function(){this.state.values.imageAlt=this.getElm("imageAlt").value}},{key:"onStateImageLinkChange",value:function(){this.getElm("imageLink").value=this.state.values.imageLink}},{key:"onImageLinkChange",value:function(){this.state.values.imageLink=this.getElm("imageLink").value}},{key:"onStateImageLinkOpenInNewTabChange",value:function(){this.getElm("imageLinkOpenInNewTab").checked=this.state.values.imageLinkOpenInNewTab}},{key:"onImageLinkOpenInNewTabChange",value:function(){this.state.values.imageLinkOpenInNewTab=this.getElm("imageLinkOpenInNewTab").checked}},{key:"hideFieldByOptions",value:function(){var e=this,t=this.j.o,o=t.image;[["editSrc","editSrc"],["editTitle","editTitle"],["editAlt","editAlt"],["editLink","editLink"],["editLink","editLinkTarget"],["useImageEditor","editImage"]].forEach(function(t){var n=function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,r=[],i=!0,a=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(r.push(o.value),2!==r.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==t.return||t.return()}finally{if(a)throw n}}return r}}(e)||function(e){if(e){if("string"==typeof e)return Ry(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Ry(e,2):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t),r=n[0],i=n[1];En(e.getElm(i),"display",o[r]?null:"none")});var n=this.getElm("changeImage"),r=Boolean(t.filebrowser.ajax.url||t.uploader.url);En(n,"display",r?null:"none");var i=this.getElm("editImage"),a=Boolean(t.filebrowser.ajax.url)&&o.useImageEditor;En(i,"display",a?null:"none"),En(this.getElm("fixImage"),"display",r||a?null:"none")}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Ol);Ny([va("state.values.imageSrc")],Hy.prototype,"onStateImageSrcChange",null),Ny([va("imageSrc:change")],Hy.prototype,"onImageSrcChange",null),Ny([va("editImage:click")],Hy.prototype,"onEditImageClick",null),Ny([va("changeImage:click")],Hy.prototype,"onChangeImageClick",null),Ny([va("state.values.imageTitle")],Hy.prototype,"onStateTitleChange",null),Ny([va("imageTitle:change")],Hy.prototype,"onTitleChange",null),Ny([va("state.values.imageAlt")],Hy.prototype,"onStateAltChange",null),Ny([va("imageAlt:change")],Hy.prototype,"onAltChange",null),Ny([va("state.values.imageLink")],Hy.prototype,"onStateImageLinkChange",null),Ny([va("imageLink:change")],Hy.prototype,"onImageLinkChange",null),Ny([va("state.values.imageLinkOpenInNewTab")],Hy.prototype,"onStateImageLinkOpenInNewTabChange",null),Ny([va("imageLinkOpenInNewTab:change")],Hy.prototype,"onImageLinkOpenInNewTabChange",null),Ny([Ua("ready")],Hy.prototype,"hideFieldByOptions",null),Hy=Ny([pi],Hy);var Fy=function(e){return/^[-+]?[0-9.]+(px)?$/.test(e.toString())?parseFloat(e.toString()):e},qy=function(e){return on(e)?e?e+"px":e.toString():(e=dn(e),/^[0-9]+$/.test(e)?e+"px":e)};function Vy(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}
1function Wy(e){return Wy=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Wy(e)}function Uy(e,t){return Uy=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Uy(e,t)}function Yy(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Ky(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ky=function(){return!!e})()}var Gy=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":Yy(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Jy=function(e){function t(e,o,n){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=function(e,t,o){return t=Wy(t),function(e,t){return!t||"object"!==Yy(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,Ky()?Reflect.construct(t,o||[],Wy(e).constructor):t.apply(e,o))}(this,t,[e,{availableClasses:e.o.image.availableClasses}])).state=o,r.handlers=n,r}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uy(e,t)}(t,e),o=[{key:"className",value:function(){return"UIImagePositionTab"}},{key:"render",value:function(e){var t,o=e.availableClasses;return'<div class="jodit-form__group &__editMargins">\n\t\t\t<label>~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 &__marginTop" type="text" placeholder="~top~"/>\n\t\t\t\t<a style="text-align: center;" class="jodit-properties__lock jodit_col-lg-1-5 &__lockMargin">*lock*</a>\n\t\t\t\t<input disabled="disabled" class="jodit_col-lg-1-5 jodit-input &__marginRight" type="text" placeholder="~right~"/>\n\t\t\t\t<input disabled="disabled" class="jodit_col-lg-1-5 jodit-input &__marginBottom" type="text" placeholder="~bottom~"/>\n\t\t\t\t<input disabled="disabled" class="jodit_col-lg-1-5 jodit-input &__marginLeft" type="text" placeholder="~left~"/>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class="jodit-form__group &__editAlign">\n\t\t\t<label>~Align~</label>\n\t\t\t<select class="jodit-select &__align">\n\t\t\t\t<option value="">~--Not Set--~</option>\n\t\t\t\t<option value="left">~Left~</option>\n\t\t\t\t<option value="center">~Center~</option>\n\t\t\t\t<option value="right">~Right~</option>\n\t\t\t</select>\n\t\t</div>\n\t\t<div class="jodit-form__group &__editStyle">\n\t\t\t<label>~Styles~</label>\n\t\t\t<input type="text" class="jodit-input &__style"/>\n\t\t</div>\n\t\t<div class="jodit-form__group &__editClass">\n\t\t\t<label>~Classes~</label>\n\t\t\t'.concat((t=[],o&&o.length>0?(t.push('<select class="jodit-input jodit-select &__classes">'),o.forEach(function(e){Io(e)?t.push('<option value="'.concat(e,'">').concat(e,"</option>")):t.push('<option value="'.concat(e[0],'">').concat(e[1],"</option>"))}),t.push("</select>")):t.push('<input type="text" class="jodit-input &__classes"/>'),t.join("")),'\n\t\t</div>\n\t\t<div class="jodit-form__group &__editId">\n\t\t\t<label>Id</label>\n\t\t\t<input type="text" class="jodit-input &__id"/>\n\t\t</div>\n\t\t<div\n\t\t\tclass="jodit-form__group &__editBorderRadius"\n\t\t>\n\t\t\t<label>~Border radius~</label>\n\t\t\t<input type="number" class="jodit-input &__borderRadius"/>\n\t\t</div>')}},{key:"onStateAlignChange",value:function(){this.getElm("align").value=this.state.values.align}},{key:"onChangeAlign",value:function(){var e=this.getElm("align");this.state.values.align=e.value}},{key:"onStateValuesBorderRadiusChange",value:function(){this.getElm("borderRadius").value=this.state.values.borderRadius.toString()}},{key:"onChangeBorderRadius",value:function(){var e=this.getElm("borderRadius");this.state.values.borderRadius=parseFloat(e.value)}},{key:"onStateValuesIdChange",value:function(){this.getElm("id").value=this.state.values.id}},{key:"onChangeId",value:function(){var e=this.getElm("id");this.state.values.id=e.value}},{key:"onStateValuesStyleChange",value:function(){this.getElm("style").value=this.state.values.style}},{key:"onChangeStyle",value:function(){var e=this.getElm("style");this.state.values.style=e.value}},{key:"onStateValuesClassesChange",value:function(){this.getElm("classes").value=this.state.values.classes}},{key:"onChangClasses",value:function(){var e=this.getElm("classes");this.state.values.classes=e.value}},{key:"onLockMarginClick",value:function(e){this.state.marginIsLocked=!this.state.marginIsLocked,e.preventDefault()}},{key:"onChangeMarginIsLocked",value:function(){var e=this,t=this.getElm("marginBottom"),o=this.getElm("marginRight"),n=this.getElm("marginLeft"),r=this.getElm("lockMargin");
1if([o,t,n].forEach(function(t){Gn(t,"disabled",e.state.marginIsLocked||null)}),r.innerHTML=sl.get(this.state.marginIsLocked?"lock":"unlock"),this.state.marginIsLocked){var i=this.state.values.marginTop;this.state.values.marginRight=i,this.state.values.marginBottom=i,this.state.values.marginLeft=i}}},{key:"onStateValuesMarginChange",value:function(){var e=this.getElm("marginTop"),t=this.getElm("marginRight"),o=this.getElm("marginBottom"),n=this.getElm("marginLeft");e.value=this.state.values.marginTop.toString(),t.value=this.state.values.marginRight.toString(),o.value=this.state.values.marginBottom.toString(),n.value=this.state.values.marginLeft.toString()}},{key:"onChangeMargin",value:function(){var e=this.getElm("marginTop"),t=this.getElm("marginRight"),o=this.getElm("marginBottom"),n=this.getElm("marginLeft");this.state.values.marginTop=Fy(e.value),this.state.marginIsLocked?(this.state.values.marginRight=this.state.values.marginTop,this.state.values.marginBottom=this.state.values.marginTop,this.state.values.marginLeft=this.state.values.marginTop):(this.state.values.marginRight=Fy(t.value),this.state.values.marginBottom=Fy(o.value),this.state.values.marginLeft=Fy(n.value))}},{key:"hideFieldByOptions",value:function(){var e=this,t=this.j.o.image;[["editMargins","editMargins"],["editAlign","editAlign"],["editStyle","editStyle"],["editClass","editClass"],["editId","editId"],["editBorderRadius","editBorderRadius"]].forEach(function(o){var n=function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,r=[],i=!0,a=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(r.push(o.value),2!==r.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==t.return||t.return()}finally{if(a)throw n}}return r}}(e)||function(e){if(e){if("string"==typeof e)return Vy(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Vy(e,2):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(o),r=n[0],i=n[1];En(e.getElm(i),"display",t[r]?null:"none")})}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(gl);function Xy(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function Zy(e,t,o){return Zy="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Qy(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},Zy(e,t,o||e)}function Qy(e){return Qy=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Qy(e)}
1function $y(e,t){return $y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},$y(e,t)}function e_(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function t_(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(t_=function(){return!!e})()}Gy([Ua("ready"),va("state.values.align")],Jy.prototype,"onStateAlignChange",null),Gy([va("align:change")],Jy.prototype,"onChangeAlign",null),Gy([Ua("ready"),va("state.values.borderRadius")],Jy.prototype,"onStateValuesBorderRadiusChange",null),Gy([va("borderRadius:change")],Jy.prototype,"onChangeBorderRadius",null),Gy([Ua("ready"),va("state.values.id")],Jy.prototype,"onStateValuesIdChange",null),Gy([va("id:change")],Jy.prototype,"onChangeId",null),Gy([Ua("ready"),va("state.values.style")],Jy.prototype,"onStateValuesStyleChange",null),Gy([va("style:change")],Jy.prototype,"onChangeStyle",null),Gy([Ua("ready"),va("state.values.classes")],Jy.prototype,"onStateValuesClassesChange",null),Gy([va("classes:change")],Jy.prototype,"onChangClasses",null),Gy([va("lockMargin:click")],Jy.prototype,"onLockMarginClick",null),Gy([Ua("ready"),va("state.marginIsLocked")],Jy.prototype,"onChangeMarginIsLocked",null),Gy([Ua("ready"),va(["state.values.marginTop","state.values.marginRight","state.values.marginBottom","state.values.marginLeft"])],Jy.prototype,"onStateValuesMarginChange",null),Gy([va(["marginTop:change","marginRight:change","marginBottom:change","marginLeft:change"])],Jy.prototype,"onChangeMargin",null),Gy([Ua("ready")],Jy.prototype,"hideFieldByOptions",null),Jy=Gy([pi],Jy);var o_=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":e_(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},n_=function(e){function t(e,o,n,r){var i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(i=function(e,t,o){return t=Qy(t),function(e,t){return!t||"object"!==e_(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,t_()?Reflect.construct(t,o||[],Qy(e).constructor):t.apply(e,o))}(this,t,[e])).state=o,i.handlers=r,i.__mainTab=new Hy(i.jodit,i.state,i.handlers),i.__positionTab=new Jy(i.jodit,i.state,i.handlers),i.getElm("tabsBox").appendChild(Vv(e,[{name:"Image",content:i.__mainTab},{name:"Advanced",content:i.__positionTab}],n)),i.setMod("lock-size",i.state.sizeIsLocked),i.append(i.__mainTab).append(i.__positionTab),i}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$y(e,t)}(t,e),o=[{key:"className",value:function(){return"UIImagePropertiesForm"}},{key:"appendChildToContainer",value:function(){}},{key:"getElm",value:function(e){var o=Zy(Qy(t.prototype),"getElm",this).call(this,e);if(o)return o;var n=!0,r=!1,i=void 0;try{for(var a,l=this.elements[Symbol.iterator]();!(n=(a=l.next()).done);n=!0){var s=a.value.getElm(e);if(s)return s}}catch(e){r=!0,i=e}finally{try{n||null==l.return||l.return()}finally{if(r)throw i}}return null}},{key:"render",value:function(){return'<form>\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="&__view-box">\n\t\t\t\t\t<div class="&__imageView">\n\t\t\t\t\t\t<img class="&__imageViewSrc" src="" alt=""/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="jodit-form__group &__imageSizes">\n\t\t\t\t\t\t<input type="text" class="jodit-input &__imageWidth"/>\n\t\t\t\t\t\t<a class="&__lockSize">'.concat(sl.get("lock"),'</a>\n\t\t\t\t\t\t<input 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 class="jodit_col-lg-3-5 jodit_col-xs-5-5 &__tabsBox"></div>\n\t\t</div>\n\t</form>')}},{key:"onChangeSizeIsLocked",value:function(){var e=this.getElm("lockSize"),t=this.getElm("imageWidth");e.innerHTML=sl.get(this.state.sizeIsLocked?"lock":"unlock"),this.setMod("lock-size",this.state.sizeIsLocked),this.j.e.fire(t,"change")}},{key:"onLockSizeClick",value:function(){this.state.sizeIsLocked=!this.state.sizeIsLocked}},{key:"onStateValuesSizeChange",value:function(){var e=this.getElm("imageWidth"),t=this.getElm("imageHeight");e!==this.j.od.activeElement&&(e.value=this.state.values.imageWidth.toString()),t!==this.j.od.activeElement&&(t.value=this.state.values.imageHeight.toString())}},{key:"onImageWidthChange",value:function(e){var t=this.getElm("imageWidth"),o=this.getElm("imageHeight");if(!this.state.sizeIsLocked||!Xo(t.value)||!Xo(o.value))return this.state.values.imageWidth=t.value,void(this.state.values.imageHeight=o.value);var n=parseFloat(t.value),r=parseFloat(o.value);e.target===t?(this.state.values.imageWidth=n,this.state.values.imageHeight=Math.round(n/this.state.ratio)):(this.state.values.imageWidth=Math.round(r*this.state.ratio),this.state.values.imageHeight=r)}},{key:"onStateValuesImageSrcChange",value:function(){var e=this.state.values.imageSrc;if(e){Gn(this.getElm("imageViewSrc"),"src",e);var t=new Image;t.src=e,this.state.image=t}}},{key:"hideFieldByOptions",value:function(){var e=this,t=this.j.o.image;
1[["editSize","imageSizes"],["showPreview","imageView"]].forEach(function(o){var n=function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,r=[],i=!0,a=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(r.push(o.value),2!==r.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==t.return||t.return()}finally{if(a)throw n}}return r}}(e)||function(e){if(e){if("string"==typeof e)return Xy(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Xy(e,2):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(o),r=n[0],i=n[1];En(e.getElm(i),"display",t[r]?null:"none")})}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Ol);function r_(e,t,o,n,r,i,a){try{var l=e[i](a),s=l.value}catch(e){return void o(e)}l.done?t(s):Promise.resolve(s).then(n,r)}function i_(e,t,o,n,r,i,a){try{var l=e[i](a),s=l.value}catch(e){return void o(e)}l.done?t(s):Promise.resolve(s).then(n,r)}function a_(e,t,o){return l_.apply(this,arguments)}function l_(){var e;return e=function(e,t,o){var n,r,i,a,l,s;return function(e,t){var o,n,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,n&&(r=2&i[0]?n.return:i[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,i[1])).done)return r;switch(n=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{o=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}(this,function(c){switch(c.label){case 0:return[4,e.decode()];case 1:return c.sent(),n=En(e,"width",!0)||Gn(e,"width")||!1,r=En(e,"height",!0)||Gn(e,"height")||!1,t.imageWidth=!1!==n?Fy(n):e.offsetWidth||e.naturalWidth,Xo(t.imageWidth)?t.imageHeight=!1!==r?Fy(r):e.offsetHeight||e.naturalHeight:t.imageHeight=r||"",i=t.imageWidth,a=t.imageHeight,l=parseFloat(i.toString()),Xo(i)&&Xo(a)?!1===r?(t.imageHeight=Math.round(l/o.ratio),o.sizeIsLocked=!0,[2]):(s=parseFloat(a.toString()),o.sizeIsLocked=Math.abs(l-s*o.ratio)<1,[2]):(o.sizeIsLocked=!1,[2])}})},l_=function(){var t=this,o=arguments;return new Promise(function(n,r){var i=e.apply(t,o);function a(e){i_(i,n,r,a,l,"next",e)}function l(e){i_(i,n,r,a,l,"throw",e)}a(void 0)})},l_.apply(this,arguments)}function s_(e,t,o,n,r,i,a){try{var l=e[i](a),s=l.value}catch(e){return void o(e)}l.done?t(s):Promise.resolve(s).then(n,r)}function c_(){var e;return e=function(e,t){var o,n;return function(e,t){var o,n,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,n&&(r=2&i[0]?n.return:i[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,i[1])).done)return r;switch(n=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{o=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}(this,function(r){return o=t.sourceImage,n=t.values,function(e,t){e.style.cssFloat&&-1!==["left","right"].indexOf(e.style.cssFloat.toLowerCase())?t.align=En(e,"float"):"block"===En(e,"display")&&"auto"===e.style.marginLeft&&"auto"===e.style.marginRight?t.align="center"
1:t.align=""}(o,n),n.borderRadius=parseInt(o.style.borderRadius||"0",10)||0,n.id=Gn(o,"id")||"",n.imageTitle=Gn(o,"title")||"",n.imageAlt=Gn(o,"alt")||"",n.style=Gn(o,"style")||"",n.classes=(Gn(o,"class")||"").replace(/jodit_focused_image[\s]*/,""),function(e,t,o){var n=!0,r=!1;["marginTop","marginRight","marginBottom","marginLeft"].forEach(function(o){var i=e.style.getPropertyValue(kn(o));if(!i)return r=!0,void(t[o]=0);/^[0-9]+(px)?$/.test(i)&&(i=parseInt(i,10)),t[o]=i,(r&&t[o]||n&&"marginTop"!==o&&t[o]!==t.marginTop)&&(n=!1)}),o.marginIsLocked=n}(o,n,t),function(e,t,o){var n=ii.closest(e.sourceImage,"a",t.editor);n?(o.imageLink=Gn(n,"href")||"",o.imageLinkOpenInNewTab="_blank"===Gn(n,"target")):(o.imageLink="",o.imageLinkOpenInNewTab=!1)}(t,e,n),n.imageSrc=Gn(o,"src")||"",[2,a_(o,n,t)]})},c_=function(){var t=this,o=arguments;return new Promise(function(n,r){var i=e.apply(t,o);function a(e){s_(i,n,r,a,l,"next",e)}function l(e){s_(i,n,r,a,l,"throw",e)}a(void 0)})},c_.apply(this,arguments)}function u_(e,t,o,n,r,i,a){try{var l=e[i](a),s=l.value}catch(e){return void o(e)}l.done?t(s):Promise.resolve(s).then(n,r)}function d_(e,t,o){return d_=g_()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&p_(r,o.prototype),r},d_.apply(null,arguments)}function f_(e){return f_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f_(e)}function p_(e,t){return p_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p_(e,t)}function h_(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function v_(e){var t="function"==typeof Map?new Map:void 0;return v_=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return d_(e,arguments,f_(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),p_(n,e)},v_(e)}function g_(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(g_=function(){return!!e})()}o_([Ua("ready"),va("state.sizeIsLocked")],n_.prototype,"onChangeSizeIsLocked",null),o_([va("lockSize:click")],n_.prototype,"onLockSizeClick",null),o_([Ua("ready"),va(["state.values.imageWidth","state.values.imageHeight"])],n_.prototype,"onStateValuesSizeChange",null),o_([va(["imageWidth:change","imageHeight:change","imageWidth:keydown","imageHeight:keydown","imageWidth:mousedown","imageHeight:mousedown","imageWidth:paste","imageHeight:paste"]),Ha()],n_.prototype,"onImageWidthChange",null),o_([Ua("ready"),va("state.values.imageSrc")],n_.prototype,"onStateValuesImageSrcChange",null),o_([Ua("ready")],n_.prototype,"hideFieldByOptions",null),n_=o_([pi],n_);var m_=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":h_(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},b_=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=f_(t),function(e,t){return!t||"object"!==h_(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,g_()?Reflect.construct(t,o||[],f_(e).constructor):t.apply(e,o))}(this,t,arguments)).state={image:new Image,sourceImage:new Image,get ratio(){var e=this.image;return e.naturalWidth/e.naturalHeight||1},sizeIsLocked:!0,marginIsLocked:!0,values:{style:"",imageSrc:"",borderRadius:0,imageTitle:"",imageAlt:"",imageLink:"",imageLinkOpenInNewTab:!1,imageWidth:0,imageHeight:0,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0,classes:"",id:"",align:""}},e.activeTabState={activeTab:"Image"},e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p_(e,t)}(t,e),o=[{key:"form",get:function(){var e=this;return new n_(this.j,this.state,this.activeTabState,{openImageEditor:function(){return function(e,t){var o=Gn(t.image,"src")||"",n=e.c.element
1("a"),r=function(){n.host===location.host||e.confirm("You can only edit your own images. Download this image on the host?",function(o){o&&e.uploader&&e.uploader.uploadRemoteImage(n.href.toString(),function(o){e.alert("The image has been successfully uploaded to the host!",function(){Io(o.newfilename)&&(t.values.imageSrc=o.baseurl+o.newfilename)})},function(t){e.alert("There was an error loading %s",t.message)})})};n.href=o,e.filebrowser.dataProvider.getPathByUrl(n.href.toString()).then(function(r){uf.call(e.filebrowser,n.href,r.name,r.path,r.source,function(){var e=(new Date).getTime();t.values.imageSrc=o+(-1!==o.indexOf("?")?"":"?")+"&_tmp="+e.toString()},function(t){e.alert(t.message)})}).catch(function(t){e.alert(t.message,r)})}(e.j,e.state)},openImagePopup:function(t){return function(e,t,o,n){var r=new Dc(t),i=function(){r.close(),r.destruct()};r.setContent(Wv(e,{upload:function(e){e.files&&e.files.length&&(o.values.imageSrc=e.baseurl+e.files[0]),i()},filebrowser:function(){var e,t=(e=function(e){return function(e,t){var o,n,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,n&&(r=2&i[0]?n.return:i[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,i[1])).done)return r;switch(n=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{o=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}(this,function(t){return e&&To(e.files)&&e.files.length&&(o.values.imageSrc=e.files[0],i()),[2]})},function(){var t=this,o=arguments;return new Promise(function(n,r){var i=e.apply(t,o);function a(e){r_(i,n,r,a,l,"next",e)}function l(e){r_(i,n,r,a,l,"throw",e)}a(void 0)})});return function(e){return t.apply(this,arguments)}}()},o.image,i)).open(function(){return Ki(n)})}(e.j,e.dialog,e.state,t)}})}},{key:"dialog",get:function(){var e=this,t=this.j,o=t.dlg({minWidth:Math.min(400,screen.width),minHeight:590,buttons:["fullsize","dialog.close"]}),n=this.__buttons;return n.check.onAction(function(){(function(e,t,o){var n=t.values,r=n.style,i=n.imageSrc,a=n.borderRadius,l=n.imageTitle,s=n.imageAlt,c=n.imageLink,u=n.imageWidth,d=n.imageHeight,f=n.marginTop,p=n.marginRight,h=n.marginBottom,v=n.marginLeft,g=n.imageLinkOpenInNewTab,m=n.align,b=n.classes,y=n.id,_=e.o;_.image.editStyle&&Gn(o,"style",r||null),i?(Gn(o,"src",i),o.style.borderRadius=a?a+"px":"",Gn(o,"title",l||null),Gn(o,"alt",s||null),function(e,t,o,n){var r=ii.closest(t,"a",e.editor);o?(r||(r=ii.wrap(t,"a",e.createInside)),Gn(r,"href",o),Gn(r,"target",n?"_blank":null)):r&&r.parentNode&&r.parentNode.replaceChild(t,r)}(e,o,c,g),function(e,t,o,n){if(t!==e.offsetWidth||o!==e.offsetHeight){var r=t?qy(t):null,i=o?qy(o):null;En(e,{width:r,height:r&&n?null:i}),Gn(e,"width",r&&Xo(t)&&Gn(e,"width")?r:null),Gn(e,"width")&&!n||(i=null),Gn(e,"height",i)}}(o,u,d,t.sizeIsLocked),e.o.image.editMargins&&function(e,t,o,n,r,i,a){var l=[t,o,n,r],s=function(e,t){var o=En(i,e),n=qy(t);o.toString()!==n.toString()&&En(i,e,n)};if(a)s("margin",t);else{var c=["margin-top","margin-right","margin-bottom","margin-left"];l.forEach(function(e,t){s(c[t],e)})}}(0,f,p,h,v,o,t.marginIsLocked),_.image.editClass&&Gn(o,"class",b||null),_.image.editId&&Gn(o,"id",y||null),_.image.editAlign&&In(o,m)):ii.safeRemove(o)})(t,e.state,e.state.sourceImage),t.synchronizeValues(),o.close()}),n.remove.onAction(function(){t.s.removeNode(e.state.sourceImage),o.close()}),n.cancel.onAction(function(){o.close()}),o.setHeader(t.i18n("Image properties")),o.setContent(this.form),o.setFooter([[n.cancel,n.remove],n.check]),t.e.on(o,"afterClose",function(){e.state.image.parentNode&&t.o.image.selectImageAfterClose&&t.s.select(e.state.sourceImage)}),o.setSize(t.o.image.dialogWidth),ar(t,o.container),o}},{key:"__buttons",get:function(){var e=this.j;return{check:as(e,"ok","Apply","primary"),remove:as(e,"bin","Delete"),cancel:as(e,"cancel","Cancel")}}},{key:"open",value:function(){var e=this;return this.activeTabState.activeTab="Image",this.__lock(),this.dialog.open().setModal(!0).setPosition(),this.async.promise(function(t,o){return function(e,t){return c_.apply(this,arguments)}(e.j,e.state).then(t,o)}).catch(function(t){No(t)||e.dialog.message.error(t.message)}).finally(function(){return e.__unlock()}),!1}},{key:"__lock",value:function(){this.dialog.lock(),this.form.setMod("lock",!0),Object.values(this.__buttons).forEac
1h(function(e){return e.state.disabled=!0})}},{key:"__unlock",value:function(){this.dialog.unlock(),this.form.setMod("lock",!1),Object.values(this.__buttons).forEach(function(e){return e.state.disabled=!1})}},{key:"afterInit",value:function(e){var t=this,o=this;e.e.on("afterConstructor changePlace",function(){e.e.off(e.editor,".imageproperties").on(e.editor,"dblclick.imageproperties",function(n){var r=n.target;if(ii.isTag(r,"img"))if(e.o.image.openOnDblClick){if(!1===t.j.e.fire("openOnDblClick",r))return;o.state.sourceImage=r,o.state.image=r.cloneNode(!0),e.o.readonly||(n.stopImmediatePropagation(),n.preventDefault(),o.open())}else n.stopImmediatePropagation(),e.s.select(r)})}).on("openImageProperties.imageproperties",function(e){o.state.sourceImage=e,t.state.image=e.cloneNode(!0),t.open()})}},{key:"onStateValuesImageSrcChange",value:function(){var e,t=this;return(e=function(){var e,o,n,r,i;return function(e,t){var o,n,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,n&&(r=2&i[0]?n.return:i[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,i[1])).done)return r;switch(n=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{o=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}(this,function(a){switch(a.label){case 0:if(e=t.state,o=e.image,n=e.values,!o.src)return[2];a.label=1;case 1:return a.trys.push([1,3,4,5]),t.__lock(),[4,o.decode()];case 2:return a.sent(),t.state.sizeIsLocked&&Xo(n.imageWidth)&&(r=parseFloat(n.imageWidth.toString()),n.imageHeight=Math.round(r/t.state.ratio)),t.j.e.fire("updateImageProperties.imageproperties",o),[3,5];case 3:return i=a.sent(),t.j.alert(i.message),[3,5];case 4:return t.__unlock(),[7];case 5:return[2]}})},function(){var t=this,o=arguments;return new Promise(function(n,r){var i=e.apply(t,o);function a(e){u_(i,n,r,a,l,"next",e)}function l(e){u_(i,n,r,a,l,"throw",e)}a(void 0)})})()}},{key:"beforeDestruct",value:function(e){var t,o,n;Object.values(null!==(t=ai(this,"__buttons"))&&void 0!==t?t:{}).forEach(function(e){return e.destruct()}),null===(o=ai(this,"dialog"))||void 0===o||o.destruct(),null===(n=ai(this,"form"))||void 0===n||n.destruct(),e.e.off(e.editor,".imageproperties").off(".imageproperties")}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(v_(Vf));m_([li],b_.prototype,"form",null),m_([li],b_.prototype,"dialog",null),m_([li],b_.prototype,"__buttons",null),m_([va("state.image")],b_.prototype,"onStateValuesImageSrcChange",null),Sa.add("imageProperties",b_);var y_=function(e,t){return"".concat(ii.isCell(t)?"padding":"margin").concat("rtl"===e?"Right":"Left")};sl.set("indent",'<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> ').set("outdent",'<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> '),Qn.prototype.controls.indent={tooltip:"Increase Indent"}
1,Qn.prototype.controls.outdent={isDisabled:function(e){var t=e.s.current();if(t){var o=ii.closest(t,ii.isBlock,e.editor);if(o){var n=y_(e.o.direction,o);return!o.style[n]||parseInt(o.style[n],10)<=0}}return!0},tooltip:"Decrease Indent"},Qn.prototype.indentMargin=10;var __=function(e,t,o,n){if(t&&!e.has(t)){var r=y_(o.o.direction,t);e.add(t);var i=t.style[r]?parseInt(t.style[r],10):0;i+=o.o.indentMargin*("outdent"===n?-1:1),t.style[r]=i>0?i+"px":"",Gn(t,"style")||Gn(t,"style",null)}};function j_(e,t,o){return j_=O_()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&k_(r,o.prototype),r},j_.apply(null,arguments)}function w_(e){return w_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},w_(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},k_(e,t)}function S_(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function x_(e){var t="function"==typeof Map?new Map:void 0;return x_=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return j_(e,arguments,w_(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),k_(n,e)},x_(e)}function O_(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(O_=function(){return!!e})()}Sa.add("indent",function(e){e.registerButton({name:"indent",group:"indent"}).registerButton({name:"outdent",group:"indent"});var t=function(t){var o=new Set,n=e.o,r=n.enter,i=n.enterBlock,a=r.toLowerCase()===Xt,l=e.s.current();if(a&&e.s.isCollapsed()&&l){var s=ii.wrapNextInline(l,i,e);return __(o,s,e,t),!1}return e.s.eachSelection(function(n){e.s.save();var l=!!n&&ii.up(n,ii.isBlock,e.editor);if(!l&&n&&(l=ir(a?ii.wrapNextInline:ii.wrapInline,n,a?i:r.toLowerCase(),e)),!l)return e.s.restore(),!1;__(o,l,e,t),e.s.restore()}),e.synchronizeValues(),!1};e.registerCommand("indent",{exec:t,hotkeys:["ctrl+]","cmd+]"]}),e.registerCommand("outdent",{exec:t,hotkeys:["ctrl+[","cmd+["]})}),sl.set("justify",'<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> '),Qn.prototype.controls.align={name:"left",tooltip:"Align",update:function(e,t){var o=t.control,n=e.s.current();if(n){var r=En(ii.closest(n,ii.isBlock,e.editor)||e.editor,"text-align").toString();o.defaultValue&&-1!==o.defaultValue.indexOf(r)&&(r="left");var i=o.list,a=o.data;a&&a.currentValue!==r&&i&&(rn(i)?i[r]:i.includes(r))&&(e.o.textIcons||"select"===o.component?t.state.text=r:t.state.icon.name=r,a.currentValue=r)}},isActive:function(e,t){var o=e.s.current();if(!o||!t.control.defaultValue)return!1;var n=ii.closest(o,ii.isBlock,e.editor)||e.editor;return-1===t.control.defaultValue.indexOf(En(n,"text-align").toString())},defaultValue:["left","start","inherit"],data:{currentValue:"left"},list:["center","left","right","justify"]},Qn.prototype.controls.center={command:"justifyCenter",css:{"text-align":"center"},tooltip:"Align Center"},Qn.prototype.controls.justify={command:"justifyFull",css:{"text-align":"justify"},tooltip:"Align Justify"},Qn.prototype.controls.left={command:"justifyLeft",css:{"text-align":"left"},tooltip:"Align Left"},Qn.prototype.controls.right={command:"justifyRight",css:{"text-align":"right"},tooltip:"Align Right"},Sa.add("justify",function(e){e.registerButton({name:"align",group:"indent"});var t=function(t){return e.s.focus(),e.s.eachSelection(function(o){if
1(o){var n=ii.up(o,ii.isBlock,e.editor);n||(n=ii.wrapInline(o,e.o.enterBlock,e)),Rn(t,n)}}),!1};e.registerCommand("justifyfull",t),e.registerCommand("justifyright",t),e.registerCommand("justifyleft",t),e.registerCommand("justifycenter",t)});var C_=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e=this,n=arguments,o=w_(o=t),function(e,t){return!t||"object"!==S_(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,O_()?Reflect.construct(o,n||[],w_(e).constructor):o.apply(e,n));var e,o,n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k_(e,t)}(t,e),(o=[{key:"afterInit",value:function(e){}},{key:"beforeDestruct",value:function(e){}},{key:"onKeyDownArrow",value:function(e){var t;if(e.key===qt&&this.j.selection.isCollapsed()){var o=this.j.selection.range,n=o.endContainer,r=o.endOffset;if(ii.isText(n)&&(null===(t=n.nodeValue)||void 0===t?void 0:t.length)===r){var i=n.parentNode;ii.isInlineBlock(i)&&!ii.findNotEmptyNeighbor(i,!1,this.j.editor)&&ii.after(i,this.j.createInside.text(yt))}}}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(x_(Vf));function z_(e,t,o){return z_=R_()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&T_(r,o.prototype),r},z_.apply(null,arguments)}function E_(e){return E_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},E_(e)}function T_(e,t){return T_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},T_(e,t)}function I_(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function P_(e){var t="function"==typeof Map?new Map:void 0;return P_=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return z_(e,arguments,E_(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),T_(n,e)},P_(e)}function R_(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(R_=function(){return!!e})()}(function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":S_(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);i>3&&a&&Object.defineProperty(t,o,a)})([va(":keydown")],C_.prototype,"onKeyDownArrow",null),Sa.add("keyArrowOutside",C_),Qn.prototype.limitWords=!1,Qn.prototype.limitChars=!1,Qn.prototype.limitHTML=!1;var A_=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":I_(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},L_=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e=this,n=arguments,o=E_(o=t),function(e,t){return!t||"object"!==I_(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,R_()?Reflect.construct(o,n||[],E_(e).constructor):o.apply(e,n));var e,o,n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T_(e,t)}(t,e),(o=[{key:"afterInit",value:function(e){var t=this,o=e.o,n=o.limitWords,r=o.limitChars;if(e&&(n||r)){var i=null;e.e.off(".limit").on("beforePaste.limit",function(){i=e.history.snapshot.make()}).on("keydown.limit keyup.limit beforeEnter.limit",this.checkPreventKe
1yPressOrPaste).on("change.limit",this.checkPreventChanging).on("afterPaste.limit",function(){if(t.__shouldDenyInput(!0)&&i)return e.history.snapshot.restore(i),e.e.fire("denyPaste.limit"),!1})}}},{key:"shouldPreventInsertHTML",value:function(e){return(!e||!(Jt.includes(e.key)||e.ctrlKey||e.metaKey))&&this.__shouldDenyInput(!1)}},{key:"__shouldDenyInput",value:function(e){var t=this.jodit,o=t.o,n=o.limitWords,r=o.limitChars,i=t.o.limitHTML?t.value:t.text,a=this.__splitWords(i);if(n&&M_(a.length,n,e))return t.e.fire("denyWords.limit limit.limit"),!0;var l=Boolean(r&&M_(a.join("").length,r,e));return l&&t.e.fire("denyChars.limit limit.limit"),l}},{key:"checkPreventKeyPressOrPaste",value:function(e){if(this.shouldPreventInsertHTML(e))return!1}},{key:"checkPreventChanging",value:function(e,t){var o=this.jodit;this.__shouldDenyInput(!0)&&(o.value=t)}},{key:"__splitWords",value:function(e){return e.replace(_t(),"").split(kt()).filter(function(e){return e.length})}},{key:"beforeDestruct",value:function(e){e.e.off(".limit")}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(P_(Vf));function M_(e,t,o){return o?e>t:e>=t}A_([Co],L_.prototype,"checkPreventKeyPressOrPaste",null),A_([Co],L_.prototype,"checkPreventChanging",null),Sa.add("limit",L_),Qn.prototype.defaultLineHeight=null,sl.set("line-height",'<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M5.09668 6.99707H7.17358L4.17358 3.99707L1.17358 6.99707H3.09668V17.0031H1.15881L4.15881 20.0031L7.15881 17.0031H5.09668V6.99707Z"/> <path d="M22.8412 7H8.84119V5H22.8412V7Z"/> <path d="M22.8412 11H8.84119V9H22.8412V11Z"/> <path d="M8.84119 15H22.8412V13H8.84119V15Z"/> <path d="M22.8412 19H8.84119V17H22.8412V19Z"/> </svg> '),Qn.prototype.controls.lineHeight={command:"applyLineHeight",tags:["ol"],tooltip:"Line height",list:[1,1.1,1.2,1.3,1.4,1.5,2],exec:function(e,t,o){var n=o.control;return ur(e,t,{control:n},function(e){return e})}};
1const B_={"Line height":"\u0627\u0631\u062a\u0641\u0627\u0639 \u0627\u0644\u062e\u0637"},D_={"Line height":"V\xfd\u0161ka \u010d\xe1ry"},N_={"Line height":"Zeilenh\xf6he"},H_={"Line height":"Altura de la l\xednea"},F_={"Line height":"\u0627\u0631\u062a\u0641\u0627\u0639 \u062e\u0637"},q_={"Line height":"Rivin korkeus"},V_={"Line height":"Hauteur de ligne"},W_={"Line height":"\u05d2\u05d5\u05d1\u05d4 \u05e9\u05d5\u05e8\u05d4"},U_={"Line height":"Vonal magass\xe1ga"},Y_={"Line height":"Tinggi baris"},K_={"Line height":"Altezza linea"},G_={"Line height":"\u30e9\u30a4\u30f3\u306e\u9ad8\u3055"},J_={"Line height":"\uc120 \ub192\uc774"},X_={"Line height":"\u0417\u0443\u0440\u0430\u0430\u0441\u043d\u044b \u04e9\u043d\u0434\u04e9\u0440"},Z_={"Line height":"Lijnhoogte"},Q_={"Line height":"Wysoko\u015b\u0107 linii"},$_={"Line height":"Altura da linha"},ej={"Line height":"\u0412\u044b\u0441\u043e\u0442\u0430 \u043b\u0438\u043d\u0438\u0438"},tj={"Line height":"\xc7izgi y\xfcksekli\u011fi"},oj={"Line height":"\u0412\u0438\u0441\u043e\u0442\u0430 \u043b\u0456\u043d\u0456\u0457"},nj={"Line height":"\u7ebf\u9ad8"},rj={"Line height":"\u884c\u9ad8"};function ij(e,t,o){return ij=uj()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&lj(r,o.prototype),r},ij.apply(null,arguments)}function aj(e){return aj=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},aj(e)}function lj(e,t){return lj=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},lj(e,t)}function sj(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function cj(e){var t="function"==typeof Map?new Map:void 0;return cj=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return ij(e,arguments,aj(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),lj(n,e)},cj(e)}function uj(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uj=function(){return!!e})()}var dj=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=function(e,t,o){return t=aj(t),function(e,t){return!t||"object"!==sj(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,uj()?Reflect.construct(t,o||[],aj(e).constructor):t.apply(e,o))}(this,t,[e])).buttons=[{name:"lineHeight",group:"font"}],Oa(B),o}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lj(e,t)}(t,e),(o=[{key:"afterInit",value:function(e){En(e.editor,{lineHeight:e.o.defaultLineHeight}),e.registerCommand("applyLineHeight",this.applyLineHeight)}},{key:"applyLineHeight",value:function(e,t,o){var n,r=this.j,i=r.s,a=r.createInside,l=r.editor,s=r.o;i.isFocused()||i.focus(),i.save();var c=function(e){var t=ii.closest(e,ii.isBlock,l);t||(t=ii.wrap(e,s.enter,a));var r=En(t,"lineHeight");void 0===n&&(n=r.toString()!==o.toString()),En(t,"lineHeight",n?o:null)};try{if(i.isCollapsed()){var u=a.fake();i.insertNode(u,!1,!1),c(u),ii.safeRemove(u)}else i.eachSelection(c)}finally{i.restore()}}},{key:"beforeDestruct",value:function(e){En(e.editor,{lineHeight:null})}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(cj(Vf));function fj(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function pj(e,t,o){if(!t.isInDestruct){(function(e){return Boolean(e&&"drop"===e.type)})(e)&&t.s.insertCursorAtPoint(e.clientX,e.clientY);var n=t.e.fire("beforePasteInsert",o);!Ro(n)&&(Io(n)||on(n)||ii.isNode(n))&&(o=n),Io(o)&&(o=function(e){var t=(e=e.replace(/<meta[^>]+?>/g,"")).search(/<!--StartFragment-->/i);-1!==t&&(e=e.substring(t+20));var o=e.search(/<!--EndFragment-->/i);return-1!==o&&(e=e.substring(0,o)),e}(o)),t.s.insertHTML(o)}}function hj(e,t,o,n,r){if(!1!==e.e.fire("beforeOpenPasteDialog",t,o,n,r)){var i=e.confirm('<div style="word-break: normal; white-space: normal">'.concat(e.i18n(t),"</div>"),e.i18n(o)),a=r.map(function(t){var o=t.text,r=t.value;return as(e,{text:o,name:o.toLowerCase(),tabIndex:0}).onAction(function(){i.close(),n(r)})});i.e.one(i,"afterClose",function(){e.s.isFocused()||e.s.focus()});var l=as(e,{text:"Cancel",tabIndex:0}).onAction(function(){i.close()});return i.setFooter(function(e){return function(e){if(Array.isArray(e))return fj(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return fj(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?fj(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(a).concat([l])),a[0].focus(),a[0].state.variant="primary",e.e.fire("afterOpenPasteDialog",i,t,o,n,r),i}}function vj(e,t,o,n,r,i,a){try{var l=e[i](a),s=l.value}catch(e){return void o(e)}l.done?t(s):Promise.resolve(s).then(n,r)}(function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;
1if("object"===("undefined"==typeof Reflect?"undefined":sj(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);i>3&&a&&Object.defineProperty(t,o,a)})([Co],dj.prototype,"applyLineHeight",null),Sa.add("lineHeight",dj),Qn.prototype.mediaFakeTag="jodit-media",Qn.prototype.mediaInFakeBlock=!0,Qn.prototype.mediaBlocks=["video","audio"],Sa.add("media",function(e){var t="jodit_fake_wrapper",o=e.options,n=o.mediaFakeTag,r=o.mediaBlocks;o.mediaInFakeBlock&&e.e.on("afterGetValueFromEditor",function(e){var o=new RegExp("<".concat(n,"[^>]+data-").concat(t,"[^>]+>([^]+?)</").concat(n,">"),"ig");o.test(e.value)&&(e.value=e.value.replace(o,"$1"))}).on("change afterInit afterSetMode changePlace",e.async.debounce(function(){e.isDestructed||e.getMode()===$t||Yr(r.join(","),e.editor).forEach(function(o){nr(o,t)||(nr(o,t,!0),function(o){if(o.parentNode&&Gn(o.parentNode,"data-jodit_iframe_wrapper"))o=o.parentNode;else{var r=e.createInside.element(n,function(e,t){return t in e?Object.defineProperty(e,t,{value:1,enumerable:!0,configurable:!0,writable:!0}):e[t]=1,e}({"data-jodit-temp":1,contenteditable:!1,draggable:!0},"data-".concat(t)));Gn(r,"style",Gn(o,"style")),r.style.display="inline-block"===o.style.display?"inline-block":"block",r.style.width=o.offsetWidth+"px",r.style.height=o.offsetHeight+"px",o.parentNode&&o.parentNode.insertBefore(r,o),r.appendChild(o),o=r}e.e.off(o,"mousedown.select touchstart.select").on(o,"mousedown.select touchstart.select",function(){e.s.setCursorAfter(o)})}(o))})},e.defaultTimeout))}),Qn.prototype.mobileTapTimeout=300,Qn.prototype.toolbarAdaptive=!0,Qn.prototype.buttonsMD=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},{group:"font",buttons:[]},"---",{group:"media",buttons:[]},"\n",{group:"state",buttons:[]},{group:"insert",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},"---",{group:"history",buttons:[]},{group:"other",buttons:[]},"|","dots"],Qn.prototype.buttonsSM=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},"---",{group:"font",buttons:[]},"\n",{group:"state",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},"---",{group:"history",buttons:[]},"|","dots"],Qn.prototype.buttonsXS=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},"---",{group:"font",buttons:[]},{group:"color",buttons:[]},"---","dots"],Qn.prototype.controls.dots={mode:$t+Qt,popup:function(e,t,o,n){var r=n.control.data;return void 0===r&&(r={toolbar:ed(e),rebuild:function(){var t,o;if(n){var i=e.e.fire("getDiffButtons.mobile",n.closest(ku));if(i&&r){r.toolbar.build(ki(i));var a=(null===(o=null===(t=e.toolbar)||void 0===t?void 0:t.firstButton)||void 0===o?void 0:o.container.offsetWidth)||36;r.toolbar.container.style.width=3*(a+4)+"px"}}}},n.control.data=r),r.rebuild(),r.toolbar},tooltip:"Show all"},Sa.add("mobile",function(e){var t=0,o=ki(e.o.buttons);e.o.mobileTapTimeout&&e.e.on("touchend",function(o){if(o.changedTouches&&o.changedTouches.length){var n=(new Date).getTime(),r=n-t;r>e.o.mobileTapTimeout&&(t=n,r<1.5*e.o.mobileTapTimeout&&e.s.insertCursorAtPoint(o.clientX,o.clientY))}}),e.e.on("getDiffButtons.mobile",function(t){if(t===e.toolbar){var n=Hl(ki(e.o.buttons),e),r=Hl(o,e);return Bo(n).reduce(function(e,t){return r.has(t)||e.push(t),e},[])}}),e.o.toolbarAdaptive&&e.e.on("resize afterInit recalcAdaptive changePlace afterAddPlace",function(){var t,n;if(e.o.toolbar){var r=(null!==(t=e.container.parentElement)&&void 0!==t?t:e.container).offsetWidth,i=e.isFullSize||r>=e.o.sizeLG?ki(e.o.buttons):r>=e.o.sizeMD?ki(e.o.buttonsMD):r>=e.o.sizeSM?ki(e.o.buttonsSM):ki(e.o.buttonsXS);i.toString()!==o.toString()&&(o=i,e.e.fire("closeAllPopups"),null===(n=e.toolbar)||void 0===n||n.setRemoveButtons(e.o.removeButtons).build(o.concat(e.o.extraButtons)))}}).on(e.ow,"load resize",function(){return e.e.fire("recalcAdaptive")})}),Qn.prototype.askBeforePasteHTML=!0,Qn.prototype.processPasteHTML=!0,Qn.prototype.scrollToPastedContent=!0,Qn.prototype.pasteExcludeStripTags=["br","hr"],Qn.prototype.pasteHTMLActionList=[{value:lo,text:"Keep"},{value:co,text:"Insert as Text"},{value:uo,text:"Insert only Text"}],Qn.prototype.memorizeChoiceWhenPasteFragment=!1,Qn.prototype.nl2brInPlainText=!0;var gj="pasteStorage";function mj(e,t,o){return mj=wj()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&yj(r,o.prototype),r},mj.apply(null,arguments)}
1function bj(e){return bj=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},bj(e)}function yj(e,t){return yj=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},yj(e,t)}function _j(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function jj(e){var t="function"==typeof Map?new Map:void 0;return jj=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return mj(e,arguments,bj(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),yj(n,e)},jj(e)}function wj(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wj=function(){return!!e})()}Qn.prototype.controls.paste={tooltip:"Paste from clipboard",exec:function(e,t,o){var n,r=o.control;return(n=function(){var t,o,n,i,a,l,s;return function(e,t){var o,n,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,n&&(r=2&i[0]?n.return:i[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,i[1])).done)return r;switch(n=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{o=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}(this,function(c){switch(c.label){case 0:if(r.name===gj)return e.execCommand("showPasteStorage"),[2];if(e.s.focus(),t="",o=!0,!navigator.clipboard)return[3,11];c.label=1;case 1:return c.trys.push([1,6,,7]),[4,navigator.clipboard.read()];case 2:return(n=c.sent())&&n.length?[4,n[0].getType(oo)]:[3,5];case 3:return i=c.sent(),[4,new Response(i).text()];case 4:t=c.sent(),c.label=5;case 5:return o=!1,[3,7];case 6:return a=c.sent(),ft||console.log(a),[3,7];case 7:if(!o)return[3,11];c.label=8;case 8:return c.trys.push([8,10,,11]),[4,navigator.clipboard.readText()];case 9:return t=c.sent(),o=!1,[3,11];case 10:return l=c.sent(),ft||console.log(l),[3,11];case 11:return o&&(t=e.buffer.get(ko)||"",o=0===t.length),s=e.value,o?(e.ed.execCommand("paste"),!(o=s===e.value)&&e.e.fire("afterPaste")):t.length?(pj(null,e,t),e.e.fire("afterPaste")):o&&e.alert("Your browser doesn't support direct access to the clipboard.",function(){e.s.focus()}),[2]}})},function(){var e=this,t=arguments;return new Promise(function(o,r){var i=n.apply(e,t);function a(e){vj(i,o,r,a,l,"next",e)}function l(e){vj(i,o,r,a,l,"throw",e)}a(void 0)})})()},list:function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}({},gj,"Paste Storage"),isChildDisabled:function(e){return e.e.fire("pasteStorageList")<2}};var kj=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":_j(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Sj=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=bj(t),function(e,t){return!t||"object"!==_j(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,wj()?Reflect.construct(t,o||[],bj(e).constructor):t.apply(e,o))}(this,t,arguments)).pasteStack=new ti(20),e._isDialogOpened=!1,e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yj(e,t)}(t,e),o=[{key:"afterInit",value:function(e){var t=this;e.e.on("paste.paste",this.onPaste).on("pasteStack.paste",function(e){return t.pasteStack.push(e)}),e.o.nl2brInPlainText&&this.j.e.on("processPaste.paste",this.onProcessPasteReplaceNl2Br)}},{key:"beforeDestruct",value:function(e){e.e.off("paste.paste",this.onPaste).off("processPaste.paste",this.onProcessPasteReplaceNl2Br).off(".paste")}},{key:"onPaste",value:function(e){try{if(!1===this.customPasteProcess(e)||!1===this.j.e.fire("beforePaste",e))return e.preventDefault(),!1;this.defaultPasteProcess(e)}finally{this.j.e.fire("afterPaste",e)}}},{key:"customPasteProcess",value:function(e){if(this.j.o.processPasteHTML){var t=dr(e),o=[null==t?void 0:t.getData(oo),null==t?void 0:t.getData(no),null==t?void 0:t.getData(ro)],n=!0,r=!1,i=void 0;try{for(var a,l=o[Symbol.iterator]();!(n=(a=l.next()).done);
1n=!0){var s=a.value;if(Uo(s)&&(this.j.e.fire("processHTML",e,s,{plain:o[0],html:o[1],rtf:o[2]})||this.processHTML(e,s)))return!1}}catch(e){r=!0,i=e}finally{try{n||null==l.return||l.return()}finally{if(r)throw i}}}}},{key:"defaultPasteProcess",value:function(e){var t=dr(e),o=(null==t?void 0:t.getData(no))||(null==t?void 0:t.getData(oo));if(t&&o&&""!==dn(o)){var n=this.j.e.fire("processPaste",e,o,function(e){var t=e.types,o="";if(To(t)||"[object DOMStringList]"==={}.toString.call(t))for(var n=0;n<t.length;n+=1)o+=t[n]+";";else o=(t||oo).toString()+";";return o}(t));void 0!==n&&(o=n),(Io(o)||ii.isNode(o))&&this.__insertByType(e,o,this.j.o.defaultActionOnPaste),e.preventDefault(),e.stopPropagation()}}},{key:"processHTML",value:function(e,t){var o=this;if(!this.j.o.askBeforePasteHTML)return!1;if(this.j.o.memorizeChoiceWhenPasteFragment){var n=this.pasteStack.find(function(e){return e.html===t});if(n)return this.__insertByType(e,t,n.action||this.j.o.defaultActionOnPaste),!0}if(this._isDialogOpened)return!0;var r=hj(this.j,"Your code is similar to HTML. Keep as HTML?","Paste as HTML",function(n){o._isDialogOpened=!1,o.__insertByType(e,t,n)},this.j.o.pasteHTMLActionList);return r&&(this._isDialogOpened=!0,r.e.on("beforeClose",function(){o._isDialogOpened=!1})),!0}},{key:"__insertByType",value:function(e,t,o){if(this.pasteStack.push({html:t,action:o}),Io(t))switch(this.j.buffer.set(ko,t),o){case so:t=Oi(t);break;case uo:t=Ai(t,this.j.ed,new Set(this.j.o.pasteExcludeStripTags));break;case co:t=Ci(t);break;default:var n=this.j.e.fire("onCustomPasteHTMLOption",o,t,e);"string"==typeof n&&(t=n)}pj(e,this.j,t)}},{key:"onProcessPasteReplaceNl2Br",value:function(e,t,o){if(o===oo+";"&&!Uo(t))return zi(t)}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(jj(Vf));function xj(e,t,o){return xj=Tj()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&Cj(r,o.prototype),r},xj.apply(null,arguments)}function Oj(e){return Oj=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Oj(e)}function Cj(e,t){return Cj=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Cj(e,t)}function zj(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Ej(e){var t="function"==typeof Map?new Map:void 0;return Ej=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return xj(e,arguments,Oj(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Cj(n,e)},Ej(e)}function Tj(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Tj=function(){return!!e})()}kj([Co],Sj.prototype,"onPaste",null),kj([Co],Sj.prototype,"onProcessPasteReplaceNl2Br",null),Sa.add("paste",Sj),Qn.prototype.askBeforePasteFromWord=!0,Qn.prototype.processPasteFromWord=!0,Qn.prototype.defaultActionOnPasteFromWord=null,Qn.prototype.pasteFromWordActionList=[{value:lo,text:"Keep"},{value:co,text:"Clean"},{value:uo,text:"Insert only Text"}];var Ij=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e=this,n=arguments,o=Oj(o=t),function(e,t){return!t||"object"!==zj(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,Tj()?Reflect.construct(o,n||[],Oj(e).constructor):o.apply(e,n));var e,o,n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cj(e,t)}(t,e),(o=[{key:"afterInit",value:function(e){}},{key:"beforeDestruct",value:function(e){}},{key:"processWordHTML",value:function(e,t,o){var n=this,r=this.j,i=r.o,a=i.processPasteFromWord,l=i.askBeforePasteFromWord,s=i.defaultActionOnPasteFromWord,c=i.defaultActionOnPaste,u=i.pasteFromWordActionList;return!(!a||!Yo(t)||(l?hj(r,"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",function(r){n.insertFromWordByType(e,t,r,o)},u):this.insertFromWordByType(e,t,s||c,o),0))}},{key:"insertFromWordByType",value:function(e,t,o,n){var r;switch(o){case lo:t=xi(t);var i=null===(r=this.j.events)||void 0===r?void 0:r.fire("beautifyHTML",t);Io(i)&&(t=i);break;case co:t=Oi(t);break;case uo:t=Ai(Oi(t))}pj(e,this.j,t)}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Ej(Vf));function Pj(e,t,o){return Pj=Mj()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&Aj(r,o.prototype),r},Pj.apply(null,arguments)}
1function Rj(e){return Rj=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Rj(e)}function Aj(e,t){return Aj=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Aj(e,t)}function Lj(e){var t="function"==typeof Map?new Map:void 0;return Lj=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return Pj(e,arguments,Rj(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Aj(n,e)},Lj(e)}function Mj(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Mj=function(){return!!e})()}Ij.requires=["paste"],function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":zj(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);i>3&&a&&Object.defineProperty(t,o,a)}([va(":processHTML")],Ij.prototype,"processWordHTML",null),Sa.add("pasteFromWord",Ij);var Bj=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=Rj(t),function(e,t){return!t||"object"!=((o=t)&&"undefined"!=typeof Symbol&&o.constructor===Symbol?"symbol":typeof o)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t;var o}(e,Mj()?Reflect.construct(t,o||[],Rj(e).constructor):t.apply(e,o))}(this,t,arguments)).currentIndex=0,e.list=[],e.container=null,e.listBox=null,e.previewBox=null,e.dialog=null,e.paste=function(){if(e.j.s.focus(),e.j.s.insertHTML(e.list[e.currentIndex]),0!==e.currentIndex){var t=e.list[0];e.list[0]=e.list[e.currentIndex],e.list[e.currentIndex]=t}e.dialog&&e.dialog.close(),e.j.synchronizeValues(),e.j.e.fire("afterPaste")},e.onKeyDown=function(t){var o=e.currentIndex;-1!==[Ft,Vt,Bt].indexOf(t.key)&&(t.key===Ft&&(0===o?o=e.list.length-1:o-=1),t.key===Vt&&(o===e.list.length-1?o=0:o+=1),t.key!==Bt?(o!==e.currentIndex&&e.selectIndex(o),t.stopImmediatePropagation(),t.preventDefault()):e.paste())},e.selectIndex=function(t){e.listBox&&Bo(e.listBox.childNodes).forEach(function(o,n){o.classList.remove("jodit_active"),t===n&&e.previewBox&&(o.classList.add("jodit_active"),e.previewBox.innerHTML=e.list[t],o.focus())}),e.currentIndex=t},e.showDialog=function(){e.list.length<2||(e.dialog||e.createDialog(),e.listBox&&(e.listBox.innerHTML=""),e.previewBox&&(e.previewBox.innerHTML=""),e.list.forEach(function(t,o){var n=e.j.c.element
1("a");n.textContent=o+1+". "+t.replace(kt(),""),e.j.e.on(n,"keydown",e.onKeyDown),Gn(n,"href","#"),Gn(n,"data-index",o.toString()),Gn(n,"tab-index","-1"),e.listBox&&e.listBox.appendChild(n)}),e.dialog&&e.dialog.open(),e.j.async.setTimeout(function(){e.selectIndex(0)},100))},e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Aj(e,t)}(t,e),o=[{key:"createDialog",value:function(){var e=this;this.dialog=this.j.dlg();var t=as(this.j,"paste","Paste","primary");t.onAction(this.paste);var o=as(this.j,"","Cancel");o.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([t,o]),this.j.e.on(this.listBox,"click dblclick",function(t){var o=t.target;return ii.isTag(o,"a")&&o.hasAttribute("data-index")&&e.selectIndex(parseInt(Gn(o,"-index")||"0",10)),"dblclick"===t.type&&e.paste(),!1})}},{key:"afterInit",value:function(){var e=this;this.j.e.off("afterCopy.paste-storage").on("pasteStorageList.paste-storage",function(){return e.list.length}).on("afterCopy.paste-storage",function(t){-1!==e.list.indexOf(t)&&e.list.splice(e.list.indexOf(t),1),e.list.unshift(t),e.list.length>5&&(e.list.length=5)}),this.j.registerCommand("showPasteStorage",{exec:this.showDialog,hotkeys:["ctrl+shift+v","cmd+shift+v"]})}},{key:"beforeDestruct",value:function(){this.dialog&&this.dialog.destruct(),this.j.e.off(".paste-storage"),ii.safeRemove(this.previewBox),ii.safeRemove(this.listBox),ii.safeRemove(this.container),this.container=null,this.listBox=null,this.previewBox=null,this.dialog=null,this.list=[]}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Lj(Vf));function Dj(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function Nj(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function Hj(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var n,r,i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Nj(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Nj(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fj(e,t,o){return Fj=Yj()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&Vj(r,o.prototype),r},Fj.apply(null,arguments)}function qj(e){return qj=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},qj(e)}function Vj(e,t){return Vj=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Vj(e,t)}function Wj(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Uj(e){var t="function"==typeof Map?new Map:void 0;return Uj=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return Fj(e,arguments,qj(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Vj(n,e)},Uj(e)}function Yj(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Yj=function(){return!!e})()}Sa.add("pasteStorage",Bj),Qn.prototype.controls.preview={icon:"eye",command:"preview",mode:$t+Qt,tooltip:"Preview"},Sa.add("preview",function(e){e.registerButton({name:"preview"}),e.registerCommand("preview",function(t,o,n){var r=e.dlg();r.setSize(1024,600).open("",e.i18n("Preview")).setModal(!0);var i=function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,r=[],i=!0,a=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(r.push(o.value),2!==r.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==t.return||t.return()}finally{if(a)throw n}}return r}}(e)||function(e){if(e){if("string"==typeof e)return Dj(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Dj(e,2):void 0}}
1(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Zr(e,n,"px",r.getElm("content")))[1];r.e.on(r,"afterClose",i)})}),sl.set("print",'<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> '),Qn.prototype.controls.print={exec:function(e){var t=e.create.element("iframe");Object.assign(t.style,{position:"fixed",right:0,bottom:0,width:0,height:0,border:0}),za(e,Qn).appendChild(t);var o=function(){e.e.off(e.ow,"mousemove",o),ii.safeRemove(t)},n=t.contentWindow;if(n){e.e.on(n,"onbeforeunload onafterprint",o).on(e.ow,"mousemove",o),e.o.iframe?(e.e.fire("generateDocumentStructure.iframe",n.document,e),n.document.body.innerHTML=e.value):(n.document.write('
1<!doctype html><html lang="'+_r(e.o.language)+'"><head><title></title></head><style>'+function(e){var t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.ownerDocument.styleSheets;return Bo(t).map(function(e){try{return Bo(e.cssRules)}catch(e){}return[]}).flat().filter(function(t){try{return Boolean(t&&e.matches(t.selectorText))}catch(e){}return!1})},o=function(){function o(n,r,i){var a=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),this.css={};var l=i||{},s=function(t){var o=t.selectorText.split(",").map(function(e){return e.trim()}).sort().join(",");!1===Boolean(a.css[o])&&(a.css[o]={});for(var n=t.style.cssText.split(/;(?![A-Za-z0-9])/),r=0;r<n.length;r++)if(n[r]){var i=n[r].split(":");i[0]=i[0].trim(),i[1]=i[1].trim(),a.css[o][i[0]]=i[1].replace(/var\(([^)]+)\)/g,function(t,o){var n=Hj(o.split(","),2),r=n[0],i=n[1];return(e.ew.getComputedStyle(e.editor).getPropertyValue(r.trim())||i||t).trim()})}};!function(){for(var o=n.innerHeight,i=r.createTreeWalker(e.editor,NodeFilter.SHOW_ELEMENT,function(){return NodeFilter.FILTER_ACCEPT});i.nextNode();){var a=i.currentNode;if(a.getBoundingClientRect().top<o||l.scanFullPage){var c=t(a);if(c)for(var u=0;u<c.length;u++)s(c[u])}}}()}var n;return(n=[{key:"generateCSS",value:function(){var e="";for(var t in this.css)if(!/:not\(/.test(t)){for(var o in e+=t+" { ",this.css[t])e+=o+": "+this.css[t][o]+"; ";e+="}\n"}return e}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(o.prototype,n),o}();try{return new o(e.ew,e.ed,{scanFullPage:!0}).generateCSS()}catch(e){}return""}(e)+"</style><body></body></html>"),n.document.close(),Zr(e,void 0,"px",n.document.body));var r=n.document.createElement("style");r.innerHTML="@media print {\n\t\t\t\t\tbody {\n\t\t\t\t\t\t\t-webkit-print-color-adjust: exact;\n\t\t\t\t\t}\n\t\t\t}",n.document.head.appendChild(r),n.focus(),n.print()}},mode:$t+Qt,tooltip:"Print"},Sa.add("print",function(e){e.registerButton({name:"print"})}),Qn.prototype.tableAllowCellResize=!0;var Kj=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":Wj(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Gj="table_processor_observer-resize",Jj=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=qj(t),function(e,t){return!t||"object"!==Wj(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,Yj()?Reflect.construct(t,o||[],qj(e).constructor):t.apply(e,o))}(this,t,arguments)).selectMode=!1,e.resizeDelta=0,e.createResizeHandle=function(){e.resizeHandler||(e.resizeHandler=e.j.c.div("jodit-table-resizer"),e.j.e.on(e.resizeHandler,"mousedown.table touchstart.table",e.onHandleMouseDown).on(e.resizeHandler,"mouseenter.table",function(){e.j.async.clearTimeout(e.hideTimeout)}))},e.hideTimeout=0,e.drag=!1,e.minX=0,e.maxX=0,e.startX=0,e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vj(e,t)}(t,e),o=[{key:"module",get:function(){return this.j.getInstance("Table",this.j.o)}},{key:"isRTL",get:function(){return"rtl"===this.j.o.direction}},{key:"showResizeHandle",value:function(){this.j.async.clearTimeout(this.hideTimeout),this.j.workplace.appendChild(this.resizeHandler)}},{key:"hideResizeHandle",value:function(){var e=this;this.hideTimeout=this.j.async.setTimeout(function(){ii.safeRemove(e.resizeHandler)},{timeout:this.j.defaultTimeout,label:"hideResizer"})}},{key:"onHandleMouseDown",value:function(e){var t=this;if(!this.j.isLocked){this.drag=!0,this.j.e.on(this.j.ow,"mouseup.resize-cells touchend.resize-cells",this.onMouseUp).on(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.startX=e.clientX,this.j.lock(Gj),this.resizeHandler.classList.add("jodit-table-resizer_moved");var o,n=this.workTable.getBoundingClientRect();if(this.minX=0,this.maxX=1e6,null!=this.wholeTable)n=this.workTable.parentNode.getBoundingClientRect(),this.minX=n.left,this.maxX=this.minX+n.width;else{var r=this.module.formalCoordinate(this.workTable,this.workCell,!0);this.module.formalMatrix(this.workTable,function(e,n,i){r[1]===i&&(o=e.getBoundingClientRect(),t.minX=Math.max(o.left+Kt/2,t.minX)),r[1]+(t.isRTL?
1-1:1)===i&&(o=e.getBoundingClientRect(),t.maxX=Math.min(o.left+o.width-Kt/2,t.maxX))})}return!1}}},{key:"onMouseMove",value:function(e){if(this.drag){this.j.e.fire("closeAllPopups");var t=e.clientX,o=Yi(this.resizeHandler.parentNode||this.j.od.documentElement,this.j,this.j.od,!0);t<this.minX&&(t=this.minX),t>this.maxX&&(t=this.maxX),this.resizeDelta=t-this.startX+(this.j.o.iframe?o.left:0),this.resizeHandler.style.left=t-(this.j.o.iframe?0:o.left)+"px";var n=this.j.s.sel;n&&n.removeAllRanges()}}},{key:"onMouseUp",value:function(e){(this.selectMode||this.drag)&&(this.selectMode=!1,this.j.unlock()),this.resizeHandler&&this.drag&&(this.drag=!1,this.j.e.off(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.resizeHandler.classList.remove("jodit-table-resizer_moved"),this.startX!==e.clientX&&(null==this.wholeTable?this.resizeColumns():this.resizeTable()),this.j.synchronizeValues(),this.j.s.focus())}},{key:"resizeColumns",value:function(){var e=this.resizeDelta,t=[],o=this.module;o.setColumnWidthByDelta(this.workTable,o.formalCoordinate(this.workTable,this.workCell,!0)[1],e,!0,t);var n=ir(this.isRTL?ii.prev:ii.next,this.workCell,ii.isCell,this.workCell.parentNode);o.setColumnWidthByDelta(this.workTable,o.formalCoordinate(this.workTable,n)[1],-e,!1,t)}},{key:"resizeTable",value:function(){var e=this.resizeDelta*(this.isRTL?-1:1),t=this.workTable.offsetWidth,o=qi(this.workTable.parentNode,this.j.ew),n=!this.wholeTable;if(this.isRTL?!n:n)this.workTable.style.width=(t+e)/o*100+"%";else{var r=this.isRTL?"marginRight":"marginLeft",i=parseInt(this.j.ew.getComputedStyle(this.workTable)[r]||"0",10);this.workTable.style.width=(t-e)/o*100+"%",this.workTable.style[r]=(i+e)/o*100+"%"}}},{key:"setWorkCell",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.wholeTable=t,this.workCell=e,this.workTable=ii.up(e,function(e){return ii.isTag(e,"table")},this.j.editor)}},{key:"calcHandlePosition",value:function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=Yi(t,this.j,this.j.ed);if(o>Kt&&o<r.width-Kt)this.hideResizeHandle();else{var i=Yi(this.j.workplace,this.j,this.j.od,!0),a=Yi(e,this.j,this.j.ed);if(this.resizeHandler.style.left=(o<=Kt?r.left:r.left+r.width)-i.left+n+"px",Object.assign(this.resizeHandler.style,{height:a.height+"px",top:a.top-i.top+"px"}),this.showResizeHandle(),o<=Kt){var l=ir(this.isRTL?ii.next:ii.prev,t,ii.isCell,t.parentNode);this.setWorkCell(l||t,!l||null)}else{var s=ir(this.isRTL?ii.prev:ii.next,t,ii.isCell,t.parentNode);this.setWorkCell(t,!!s&&null)}}}},{key:"afterInit",value:function(e){var t=this;e.o.tableAllowCellResize&&e.e.off(this.j.ow,".resize-cells").off(".resize-cells").on("change.resize-cells afterCommand.resize-cells afterSetMode.resize-cells",function(){Yr("table",e.editor).forEach(t.observe)}).on(this.j.ow,"scroll.resize-cells",function(){if(t.drag){var o=ii.up(t.workCell,function(e){return ii.isTag(e,"table")},e.editor);if(o){var n=o.getBoundingClientRect();t.resizeHandler.style.top=n.top+"px"}}}).on("beforeSetMode.resize-cells",function(){var o=t.module;
1o.getAllSelectedCells().forEach(function(t){o.removeSelection(t),o.normalizeTable(ii.closest(t,"table",e.editor))})})}},{key:"observe",value:function(e){var t=this;nr(e,Gj)||(nr(e,Gj,!0),this.j.e.on(e,"mouseleave.resize-cells",function(e){t.resizeHandler&&t.resizeHandler!==e.relatedTarget&&t.hideResizeHandle()}).on(e,"mousemove.resize-cells touchmove.resize-cells",this.j.async.throttle(function(o){if(!t.j.isLocked){var n=ii.up(o.target,ii.isCell,e);n&&t.calcHandlePosition(e,n,o.offsetX)}},{timeout:this.j.defaultTimeout})),this.createResizeHandle())}},{key:"beforeDestruct",value:function(e){e.events&&(e.e.off(this.j.ow,".resize-cells"),e.e.off(".resize-cells"))}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Uj(Vf));function Xj(e,t,o){return Xj=tw()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&Qj(r,o.prototype),r},Xj.apply(null,arguments)}function Zj(e){return Zj=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Zj(e)}function Qj(e,t){return Qj=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Qj(e,t)}function $j(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function ew(e){var t="function"==typeof Map?new Map:void 0;return ew=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return Xj(e,arguments,Zj(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Qj(n,e)},ew(e)}function tw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tw=function(){return!!e})()}Kj([Co],Jj.prototype,"onHandleMouseDown",null),Kj([Co],Jj.prototype,"onMouseMove",null),Kj([Co],Jj.prototype,"onMouseUp",null),Kj([Co],Jj.prototype,"observe",null),Sa.add("resizeCells",Jj),Qn.prototype.allowResizeX=!1,Qn.prototype.allowResizeY=!0;var ow=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":$j(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},nw=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=Zj(t),function(e,t){return!t||"object"!==$j(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,tw()?Reflect.construct(t,o||[],Zj(e).constructor):t.apply(e,o))}(this,t,arguments)).isResized=!1,e.start={x:0,y:0,w:0,h:0},e.handle=e.j.c.div("jodit-editor__resize",sl.get("resize_handler")),e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qj(e,t)}(t,e),(o=[{key:"afterInit",value:function(e){var t=this,o=e.o,n=o.height,r=o.width,i=o.allowResizeX,a=e.o.allowResizeY;"auto"===n&&"auto"!==r&&(a=!1),"auto"===n&&"auto"===r||!i&&!a||(e.statusbar.setMod("resize-handle",!0),e.e.on("toggleFullSize.resizeHandler",function(){t.handle.style.display=e.isFullSize?"none":"block"}).on(this.handle,"mousedown touchstart",this.onHandleResizeStart).on(e.ow,"mouseup touchend",this.onHandleResizeEnd),e.container.appendChild(this.handle))}},{key:"onHandleResizeStart",value:function(e){this.isResized=!0,this.start.x=e.clientX,this.start.y=e.clientY,this.start.w=this.j.container.offsetWidth,this.start.h=this.j.container.offsetHeight,this.j.lock(),this.j.e.on(this.j.ow,"mousemove touchmove",this.onHandleResize),e.preventDefault()}},{key:"onHandleResize",value:function(e){this.isResized&&(this.j.o.allowResizeY&&this.j.e.fire("setHeight",this.start.h+e.clientY-this.start.y),this.j.o.allowResizeX&&this.j.e.fire("setWidth",this.start.w+e.clientX-this.start.x),this.j.e.fire("resize"))}},{key:"onHandleResizeEnd",value:function(){this.isResized&&(this.isResized=!1,this.j.e.off(this.j.ow,"mousemove touchmove",this.onHandleResize),this.j.unlock())}},{key:"beforeDestruct",value:function(){ii.safeRemove(this.handle),this.j.e.off(this.j.ow,"mouseup touchsend",this.onHandleResizeEnd)}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(ew(Vf));function rw(e,t,o){return rw=cw()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&aw(r,o.prototype),r},rw.apply(null,arguments)}
1function iw(e){return iw=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},iw(e)}function aw(e,t){return aw=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},aw(e,t)}function lw(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function sw(e){var t="function"==typeof Map?new Map:void 0;return sw=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return rw(e,arguments,iw(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),aw(n,e)},sw(e)}function cw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cw=function(){return!!e})()}nw.requires=["size"],ow([Co],nw.prototype,"onHandleResizeStart",null),ow([Co],nw.prototype,"onHandleResize",null),ow([Co],nw.prototype,"onHandleResizeEnd",null),Sa.add("resizeHandler",nw),Qn.prototype.allowResizeTags=new Set(["img","iframe","table","jodit"]),Qn.prototype.resizer={showSize:!0,hideSizeTimeout:1e3,forImageChangeAttributes:!0,min_width:10,min_height:10,useAspectRatio:new Set(["img"])};var uw=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":lw(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},dw="__jodit-resizer_binded",fw=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=iw(t),function(e,t){return!t||"object"!==lw(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,cw()?Reflect.construct(t,o||[],iw(e).constructor):t.apply(e,o))}(this,t,arguments)).LOCK_KEY="resizer",e.element=null,e.isResizeMode=!1,e.isShown=!1,e.startX=0,e.startY=0,e.width=0,e.height=0,e.ratio=0,e.rect=e.j.c.fromHTML('<div title="'.concat(e.j.i18n("Press Alt for custom resizing"),'" 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>')),e.sizeViewer=e.rect.getElementsByTagName("span")[0],e.pointerX=0,e.pointerY=0,e.isAltMode=!1,e.onClickElement=function(t){e.isResizeMode||e.element===t&&e.isShown||(e.element=t,e.show(),ii.isTag(e.element,"img")&&!e.element.complete&&e.j.e.one(e.element,"load",e.updateSize))},e.updateSize=function(){if(!e.isInDestruct&&e.isShown&&e.element&&e.rect){var t=e.getWorkplacePosition(),o=Yi(e.element,e.j,e.j.ed),n=parseInt(e.rect.style.left||"0",10),r=parseInt(e.rect.style.top||"0",10),i=e.rect.offsetWidth,a=e.rect.offsetHeight,l=o.top-t.top,s=o.left-t.left;r===l&&n===s&&i===e.element.offsetWidth&&a===e.element.offsetHeight||(En(e.rect,{top:l,left:s,width:e.element.offsetWidth,height:e.element.offsetHeight}),e.j.events&&(e.j.e.fire(e.element,"changesize"),isNaN(n)||e.j.e.fire("resize")))}},e.hideSizeViewer=function(){e.sizeViewer.style.opacity="0"},e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aw(e,t)}(t,e),o=[{key:"afterInit",value:function(e){var t=this;Yr("div",this.rect).forEach(function(o){e.e.on(o,"mousedown.resizer touchstart.resizer",t.onStartResizing.bind(t,o))}),Ta.on("hideHelpers",this.hide),e.e.on("readonly",function(e){e&&t.hide()}).on("afterInit changePlace",this.addEventListeners.bind(this)).on("afterGetValueFromEditor.resizer",function(e){var t=/<jodit[^>]+data-jodit_iframe_wrapper[^>]+>(.*?<iframe[^>]*>.*?<\/iframe>.*?)<\/jodit>/gi;t.test(e.value)&&(e.value=e.value.replace(t,"$1"))}),this.addEventListeners(),this.__onChangeEditor()}},{key:"onEditorClick",value:function(e){for(var t=e.target,o=this.j,n=o.editor,r=o.options.allowResizeTags;t&&t!==n;){if(ii.isTag(t,r))return this.__bind(t),void this.onClickElement(t);t=t.parentNode}}},{key:"__afterInsertImage",value:function(e){if(!this.j.o.resizer.forImageChangeAttributes){var t=Gn(e,"width");t&&!En(e,"width",!0)&&(En(e,"width",t),Gn(e,"width",null))}}},{key:"addEventListeners",value:function(){var e=this,t=this.j;t.e.off(t.editor,".resizer").off(t.ow,".resizer").on(t.editor,"keydown.resizer",function(t){e.isShown&&t.key===Ut&&e.element&&!ii.isTag(e.element,"table")&&e.onDelete(t)}).on(t.ow,"resize.resizer",this.updateSize).on("resize.resizer",this.updateSize).on([t.ow,t.editor],"scroll.resizer",function(){e.isShown&&!e.isResizeMode&&e.hide()}).on(t.ow,"keydown.resizer",this.onKeyDown).on(t.ow,"keyup.resizer",this.onKeyUp).on(t.ow,"mouseup.resizer touchend.resizer",this.onClickOutside)}},{key:"onStartResizing",value:function(e,t){if(!this.element||!this.element.parentNode)return this.hide(),!1;this.handle=e,t.cancelable&&t.preventDefault(),t.stopImmediatePropagation(),this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.isResizeMode=!0,this.startX=t.clientX,this.startY=t.clientY,this.pointerX=t.clientX,this.pointerY=t.clientY;var o=this.j;o.e.fire("hidePopup"),o.lock(this.LOCK_KEY),o.e.on(o.ow,"mousemove.resizer touchmove.resizer",this.onResize)}},{key:"onEndResizing",value:function(){var e=this.j;e.unlock(),this.isResizeMode=!1,this.isAltMode=!1,e.synchronizeValues(),e.e.off(e.ow,"mousemove.resizer touchmove.resizer",this.onResize)}},{key:"onResize",value:function(e){if(this.isResizeMode){if(!this.element)return;var t,o;if(this.pointerX=e.clientX,this.pointerY=e.clientY,this.j.options.iframe){var n=this.getWorkplacePosition();t=e.clientX+n.left-this.startX,o=e.clientY+n.top-this.startY}else t=this.pointerX-this.startX,o=this.pointerY-this.startY;var r=this.handle.className,i=0,a=0,l=this.j.o.resizer.useAspectRatio;!this.isAltMode&&(!0===l||l&&ii.isTag(this.element,l))?(t?(i=this.width+(r.match(/left/)?-1:1)*t,a=Math.round(i/this.ratio)):(a=this.height+(r.match(/top/)?-1:1)*o,i=Math.round(a*this.ratio)),i>Wi(this.j.editor,this.j.ow)&&(i=Wi(this.j.editor,this.j.ow),a=Math.round(i/this.ratio))):(i=this.width+(r.match(/left/)?-1:1)*t,a=this.height+(r.match(/top/)?-1:1)*o),i>
1this.j.o.resizer.min_width&&(i<this.rect.parentNode.offsetWidth?this.applySize(this.element,"width",i):this.applySize(this.element,"width","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()}}},{key:"onKeyDown",value:function(e){this.isAltMode=e.key===Nt,!this.isAltMode&&this.isResizeMode&&this.onEndResizing()}},{key:"onKeyUp",value:function(){this.isAltMode&&this.isResizeMode&&this.element&&(this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.startX=this.pointerX,this.startY=this.pointerY),this.isAltMode=!1}},{key:"onClickOutside",value:function(e){if(this.isShown){if(!this.isResizeMode)return this.hide();e.stopImmediatePropagation(),this.onEndResizing()}}},{key:"getWorkplacePosition",value:function(){return Yi(this.rect.parentNode||this.j.od.documentElement,this.j,this.j.od,!0)}},{key:"applySize",value:function(e,t,o){var n=ii.isImage(e)&&this.j.o.resizer.forImageChangeAttributes;n&&Gn(e,t,o),n&&!e.style[t]||En(e,t,o)}},{key:"onDelete",value:function(e){this.element&&("JODIT"!==this.element.tagName?this.j.s.select(this.element):(ii.safeRemove(this.element),this.hide(),e.preventDefault()))}},{key:"__onChangeEditor",value:function(){this.isShown&&(this.element&&this.element.parentNode?this.updateSize():this.hide()),Yr("iframe",this.j.editor).forEach(this.__bind)}},{key:"__bind",value:function(e){var t=this;if(ii.isHTMLElement(e)&&this.j.o.allowResizeTags.has(e.tagName.toLowerCase())&&!nr(e,dw)){var o;if(nr(e,dw,!0),ii.isTag(e,"iframe")){var n=e;ii.isHTMLElement(e.parentNode)&&Gn(e.parentNode,"-jodit_iframe_wrapper")?e=e.parentNode:(Gn(o=this.j.createInside.element("jodit",{"data-jodit-temp":1,contenteditable:!1,draggable:!0,"data-jodit_iframe_wrapper":1}),"style",Gn(e,"style")),En(o,{display:"inline-block"===e.style.display?"inline-block":"block",width:e.offsetWidth,height:e.offsetHeight}),e.parentNode&&e.parentNode.insertBefore(o,e),o.appendChild(e),this.j.e.on(o,"click",function(){Gn(o,"data-jodit-wrapper_active",!0)}),e=o),this.j.e.off(e,"mousedown.select touchstart.select").on(e,"mousedown.select touchstart.select",function(){t.j.s.select(e)}).off(e,"changesize").on(e,"changesize",function(){n.setAttribute("width",e.offsetWidth+"px"),n.setAttribute("height",e.offsetHeight+"px")})}this.j.e.on(e,"dragstart",this.hide),!dt&&to&&this.j.e.on(e,"mousedown",function(t){ii.isTag(e,"img")&&t.preventDefault()})}}},{key:"showSizeViewer",value:function(e,t){this.j.o.resizer.showSize&&(e<this.sizeViewer.offsetWidth||t<this.sizeViewer.offsetHeight?this.hideSizeViewer():(this.sizeViewer.style.opacity="1",this.sizeViewer.textContent="".concat(e," x ").concat(t),this.j.async.setTimeout(this.hideSizeViewer,{timeout:this.j.o.resizer.hideSizeTimeout,label:"hideSizeViewer"})))}},{key:"show",value:function(){this.j.o.readonly||this.isShown||(this.isShown=!0,this.rect.parentNode||(ar(this.j,this.rect),this.j.workplace.appendChild(this.rect)),this.j.isFullSize&&(this.rect.style.zIndex=En(this.j.container,"zIndex").toString()),this.updateSize())}},{key:"hide",value:function(){this.isResizeMode||(this.isResizeMode=!1,this.isShown=!1,this.element=null,ii.safeRemove(this.rect),Yr("[data-jodit-wrapper_active='true']",this.j.editor).forEach(function(e){return Gn(e,"data-jodit-wrapper_active",!1)}))}},{key:"beforeDestruct",value:function(e){this.hide(),Ta.off("hideHelpers",this.hide),e.e.off(this.j.ow,".resizer").off(".resizer")}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(sw(Vf));function pw(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function hw(e,t,o){return hw=mw()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&vw(r,o.prototype),r},hw.apply(null,arguments)}
1function vw(e,t){return vw=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},vw(e,t)}function gw(e){return function(e){if(Array.isArray(e))return pw(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return pw(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?pw(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function mw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mw=function(){return!!e})()}uw([va(":click")],fw.prototype,"onEditorClick",null),uw([va(":afterInsertImage")],fw.prototype,"__afterInsertImage",null),uw([Co],fw.prototype,"onStartResizing",null),uw([Co],fw.prototype,"onEndResizing",null),uw([Co],fw.prototype,"onResize",null),uw([Co],fw.prototype,"onKeyDown",null),uw([Co],fw.prototype,"onKeyUp",null),uw([Co],fw.prototype,"onClickOutside",null),uw([va(":change")],fw.prototype,"__onChangeEditor",null),uw([Co],fw.prototype,"__bind",null),uw([Co,va(":hideResizer")],fw.prototype,"hide",null),Sa.add("resizer",fw),Qn.prototype.useSearch=!0,Qn.prototype.search={lazyIdleTimeout:0,useCustomHighlightAPI:Ot&&void 0!==Ot.Highlight},sl.set("search",'<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> '),Qn.prototype.controls.find={tooltip:"Find",icon:"search",exec:function(e,t,o){var n=o.control;switch(n.args&&n.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:function(e,t,o){return o}};var bw="jd-tmp-selection";function yw(e,t,o,n,r){if(null!=t.startContainer.nodeValue&&null!=t.endContainer.nodeValue&&!function(e,t,o){if(e.o.search.useCustomHighlightAPI&&Ot&&void 0!==Ot.Highlight){var n=[t].concat(gw(o)).map(function(t){var o=e.selection.createRange();return o.setStart(t.startContainer,t.startOffset),o.setEnd(t.endContainer,t.endOffset),o}),r=hw(Highlight,gw(n));return CSS.highlights.clear(),CSS.highlights.set("jodit-search-result",r),o.length=0,!0}return!1}(e,t,o)){var i=n.element("span",function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}({},bw,!0));ii.markTemporary(i),function(e,t,o){var n=e.startContainer.nodeValue,r=0;if(0!==e.startOffset){var i=o.text(n.substring(0,e.startOffset));e.startContainer.nodeValue=n.substring(e.startOffset),ii.before(e.startContainer,i),e.startContainer===e.endContainer&&(r=e.startOffset,e.endOffset-=r),e.startOffset=0}var a=e.endContainer.nodeValue;if(e.endOffset!==a.length){var l=o.text(a.substring(e.endOffset));e.endContainer.nodeValue=a.substring(0,e.endOffset),ii.after(e.endContainer,l);var s=!0,c=!1,u=void 0;try{for(var d,f=t[Symbol.iterator]();!(s=(d=f.next()).done);s=!0){var p=d.value;if(p.startContainer!==e.endContainer)break;p.startContainer=l,p.startOffset=p.startOffset-e.endOffset-r,p.endContainer===e.endContainer&&(p.endContainer=l,p.endOffset=p.endOffset-e.endOffset-r)}}catch(e){c=!0,u=e}finally{try{s||null==f.return||f.return()}finally{if(c)throw u}}e.endOffset=e.endContainer.nodeValue.length}}(t,o,n);var a,l=t.startContainer;do{if(!l)break;if(!ii.isText(l)||(a=l.parentNode,ii.isElement(a)&&a.hasAttribute(bw))||ii.wrap(l,i.cloneNode(),n),l===t.endContainer)break;var s=l.firstChild||l.nextSibling;if(!s){for(;l&&!l.nextSibling&&l!==r;)l=l.parentNode;s=null==l?void 0:l.nextSibling}l=s}while(l&&l!==r)}}function _w(e){return Yr("[".concat(bw,"]"),e)}function jw(e){_w(e.editor).forEach(function(e){return ii.unwrap(e)}),function(e){e.o.search.useCustomHighlightAPI&&Ot&&void 0!==Ot.Highlight&&CSS.highlights.clear()}(e)}function ww(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function kw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var n,r,i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ww(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?ww(e,t):void 0}}
1(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Sw=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Gi;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.searchIndex=t,this.queue=[],this.value=""}var t;return t=[{key:"add",value:function(e){var t,o=(null!==(t=e.nodeValue)&&void 0!==t?t:"").toLowerCase();if(o.length){var n=this.value.length;this.queue.push({startIndex:n,endIndex:n+o.length,node:e}),this.value+=o}}},{key:"ranges",value:function(e){var t=[],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=0,r=0;do{var i;if(o=(i=kw(this.searchIndex(e,this.value,o),2))[0],n=i[1],-1!==o){for(var a=void 0,l=0,s=void 0,c=0,u=r;u<this.queue.length;u+=1)if(!a&&this.queue[u].endIndex>o&&(a=this.queue[u].node,l=o-this.queue[u].startIndex),a&&this.queue[u].endIndex>=o+n){s=this.queue[u].node,c=o+n-this.queue[u].startIndex,r=u;break}a&&s&&t.push({startContainer:a,startOffset:l,endContainer:s,endOffset:c}),o+=n}}while(-1!==o);return 0===t.length?null:t}}],t&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}();function xw(e,t,o,n,r,i,a){try{var l=e[i](a),s=l.value}catch(e){return void o(e)}l.done?t(s):Promise.resolve(s).then(n,r)}
1function Ow(e){return Ow=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ow(e)}function Cw(e,t){return Cw=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Cw(e,t)}function zw(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Ew(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ew=function(){return!!e})()}var Tw=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":zw(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Iw=function(e){function t(e){var o,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),o=function(e,t,o){return t=Ow(t),function(e,t){return!t||"object"!==zw(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,Ew()?Reflect.construct(t,o||[],Ow(e).constructor):t.apply(e,o))}(this,t,[e]),n=o,o.selInfo=null,o._currentIndex=0,o.isOpened=!1;var r=Gr(o.container),i=r.query,a=r.replace,l=r.cancel,s=r.next,c=r.prev,u=r.replaceBtn,d=r.current,f=r.count;return o.queryInput=i,o.replaceInput=a,o.closeButton=l,o.replaceButton=u,o.currentBox=d,o.countBox=f,e.e.on(o.closeButton,"pointerdown",function(){return o.close(),!1}).on(o.queryInput,"input",function(){o.currentIndex=0}).on(o.queryInput,"pointerdown",function(){e.s.isFocused()&&(e.s.removeMarkers(),o.selInfo=e.s.save())}).on(o.replaceButton,"pointerdown",function(){return e.e.fire(o,"pressReplaceButton"),!1}).on(s,"pointerdown",function(){return e.e.fire("searchNext"),!1}).on(c,"pointerdown",function(){return e.e.fire("searchPrevious"),!1}).on(o.queryInput,"input",function(){o.setMod("empty-query",!dn(o.queryInput.value).length)}).on(o.queryInput,"keydown",o.j.async.debounce(function(){var t,o=(t=function(t){return function(e,t){var o,n,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,n&&(r=2&i[0]?n.return:i[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,i[1])).done)return r;switch(n=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{o=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}(this,function(o){switch(o.label){case 0:return t.key===Bt?[3,1]:[3,3];case 1:return t.preventDefault(),t.stopImmediatePropagation(),[4,e.e.fire("searchNext")];case 2:return o.sent()&&n.close(),[3,4];case 3:return e.e.fire(n,"needUpdateCounters"),[3,4];case 4:return[2]}})},function(){var e=this,o=arguments;return new Promise(function(n,r){var i=t.apply(e,o);function a(e){xw(i,n,r,a,l,"next",e)}function l(e){xw(i,n,r,a,l,"throw",e)}a(void 0)})});return function(e){return o.apply(this,arguments)}}(),o.j.defaultTimeout)),o}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cw(e,t)}(t,e),o=[{key:"className",value:function(){return"UISearch"}},{key:"render",value:function(){return'<div>\n\t\t\t<div class="&__box">\n\t\t\t\t<div class="&__inputs">\n\t\t\t\t\t<input data-ref="query" tabindex="0" placeholder="~Search for~" type="text"/>\n\t\t\t\t\t<input data-ref="replace" tabindex="0" placeholder="~Replace with~" type="text"/>\n\t\t\t\t</div>\n\t\t\t\t<div class="&__counts">\n\t\t\t\t\t<span data-ref="counter-box">\n\t\t\t\t\t\t<span data-ref="current">0</span><span>/</span><span data-ref="count">0</span>\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t\t<div class="&__buttons">\n\t\t\t\t\t<button data-ref="next" tabindex="0" type="button">'.concat(sl.get("angle-down"),'</button>\n\t\t\t\t\t<button data-ref="prev" tabindex="0" type="button">').concat(sl.get("angle-up"),'</button>\n\t\t\t\t\t<button data-ref="cancel" tabindex="0" type="button">
1').concat(sl.get("cancel"),'</button>\n\t\t\t\t\t<button data-ref="replace-btn" tabindex="0" type="button" class="jodit-ui-button">~Replace~</button>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>')}},{key:"currentIndex",get:function(){return this._currentIndex},set:function(e){this._currentIndex=e,this.currentBox.innerText=e.toString()}},{key:"count",set:function(e){this.countBox.innerText=e.toString()}},{key:"query",get:function(){return this.queryInput.value}},{key:"replace",get:function(){return this.replaceInput.value}},{key:"onEditorKeyDown",value:function(e){if(this.isOpened){var t=this.j;if(t.getRealMode()===Qt)switch(e.key){case Dt:this.close();break;case Yt:this.queryInput.value&&(t.e.fire(e.shiftKey?"searchPrevious":"searchNext"),e.preventDefault())}}}},{key:"open",value:function(e,t){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.isOpened||(this.j.workplace.appendChild(this.container),this.isOpened=!0),this.calcSticky(this.j.e.fire("getStickyState.sticky")||!1),this.j.e.fire("hidePopup"),this.setMod("replace",o);var n=null!=e?e:(this.j.s.sel||"").toString();n&&(this.queryInput.value=n),t&&(this.replaceInput.value=t),this.setMod("empty-query",!n.length),this.j.e.fire(this,"needUpdateCounters"),n?this.queryInput.select():this.queryInput.focus()}},{key:"close",value:function(){this.isOpened&&(this.j.s.restore(),ii.safeRemove(this.container),this.isOpened=!1,this.j.e.fire(this,"afterClose"))}},{key:"calcSticky",value:function(e){if(this.isOpened)if(this.setMod("sticky",e),e){var t=Ki(this.j.toolbarContainer);En(this.container,{top:t.top+t.height,left:t.left+t.width})}else En(this.container,{top:null,left:null})}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(gl);function Pw(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function Rw(e,t,o,n,r,i,a){try{var l=e[i](a),s=l.value}catch(e){return void o(e)}l.done?t(s):Promise.resolve(s).then(n,r)}function Aw(e){return function(){var t=this,o=arguments;return new Promise(function(n,r){var i=e.apply(t,o);function a(e){Rw(i,n,r,a,l,"next",e)}function l(e){Rw(i,n,r,a,l,"throw",e)}a(void 0)})}}function Lw(e,t,o){return Lw=Hw()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&Bw(r,o.prototype),r},Lw.apply(null,arguments)}function Mw(e){return Mw=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Mw(e)}function Bw(e,t){return Bw=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Bw(e,t)}function Dw(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Nw(e){var t="function"==typeof Map?new Map:void 0;return Nw=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return Lw(e,arguments,Mw(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Bw(n,e)},Nw(e)}function Hw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Hw=function(){return!!e})()}function Fw(e,t){var o,n,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,n&&(r=2&i[0]?n.return:i[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,i[1])).done)return r;switch(n=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{o=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}Tw([va([":keydown","queryInput:keydown"])],Iw.prototype,"onEditorKeyDown",null),Tw([Co],Iw.prototype,"open",null),Tw([Co],Iw.prototype,"close",null),Tw([va(":toggleSticky")],Iw.prototype,"calcSticky",null),Iw=Tw([pi],Iw);var qw=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;
1if("object"===("undefined"==typeof Reflect?"undefined":Dw(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Vw=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=Mw(t),function(e,t){return!t||"object"!==Dw(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,Hw()?Reflect.construct(t,o||[],Mw(e).constructor):t.apply(e,o))}(this,t,arguments)).buttons=[{name:"find",group:"search"}],e.previousQuery="",e.drawPromise=null,e.walker=null,e.walkerCount=null,e.cache={},e.wrapFrameRequest=0,e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bw(e,t)}(t,e),o=[{key:"ui",get:function(){return new Iw(this.j)}},{key:"updateCounters",value:function(){var e=this;return Aw(function(){var t;return Fw(this,function(o){switch(o.label){case 0:return e.ui.isOpened?(t=e.ui,[4,e.calcCounts(e.ui.query)]):[2];case 1:return t.count=o.sent(),[2]}})})()}},{key:"onPressReplaceButton",value:function(){this.findAndReplace(this.ui.query),this.updateCounters()}},{key:"tryScrollToElement",value:function(e){var t=ii.closest(e,ii.isElement,this.j.editor);t||(t=ii.prev(e,ii.isElement,this.j.editor)),t&&t!==this.j.editor&&$r(t,this.j.editor,this.j.ed)}},{key:"calcCounts",value:function(e){var t=this;return Aw(function(){return Fw(this,function(o){switch(o.label){case 0:return[4,t.findQueryBounds(e,"walkerCount")];case 1:return[2,o.sent().length]}})})()}},{key:"findQueryBounds",value:function(e,t){var o=this;return Aw(function(){var n;return Fw(this,function(r){return(n=o[t])&&n.break(),n=new jn(o.j.async,{timeout:o.j.o.search.lazyIdleTimeout}),o[t]=n,[2,o.find(n,e).catch(function(e){return!ft&&console.error(e),[]})]})})()}},{key:"findAndReplace",value:function(e){var t=this;return Aw(function(){var o,n,r,i,a;return Fw(this,function(l){switch(l.label){case 0:return[4,t.findQueryBounds(e,"walker")];case 1:if(!(o=l.sent()).length)return[2,!1];if(-1===(n=t.findCurrentIndexInRanges(o,t.j.s.range))&&(n=0),!(r=o[n]))return[3,6];l.label=2;case 2:return l.trys.push([2,,4,5]),(i=t.j.ed.createRange()).setStart(r.startContainer,r.startOffset),i.setEnd(r.endContainer,r.endOffset),i.deleteContents(),a=t.j.createInside.text(t.ui.replace),ii.safeInsertNode(i,a),jw(t.j),t.j.s.setCursorAfter(a),t.tryScrollToElement(a),t.cache={},t.ui.currentIndex=n,[4,t.findAndSelect(e,!0).catch(function(e){return!ft&&console.error(e),null})];case 3:return l.sent(),[3,5];case 4:return t.j.synchronizeValues(),[7];case 5:return t.j.e.fire("afterFindAndReplace"),[2,!0];case 6:return[2,!1]}})})()}},{key:"findAndSelect",value:function(e,t){var o=this;return Aw(function(){var n,r,i,a,l;return Fw(this,function(s){switch(s.label){case 0:return[4,o.findQueryBounds(e,"walker")];case 1:if(!(r=s.sent()).length)return[2,!1];if(o.previousQuery===e&&_w(o.j.editor).length||(null===(n=o.drawPromise)||void 0===n||n.rejectCallback(),o.j.async.cancelAnimationFrame(o.wrapFrameRequest),jw(o.j),o.drawPromise=o.__drawSelectionRanges(r)),o.previousQuery=e,i=-1==(i=o.ui.currentIndex-1)?0:t?i===r.length-1?0:i+1:0===i?r.length-1:i-1,o.ui.currentIndex=i+1,!(a=r[i]))return[3,4];l=o.j.ed.createRange();try{l.setStart(a.startContainer,a.startOffset),l.setEnd(a.endContainer,a.endOffset),o.j.s.selectRange(l)}catch(e){!ft&&console.error(e)}return o.tryScrollToElement(a.startContainer),[4,o.updateCounters()];case 2:return s.sent(),[4,o.drawPromise];case 3:return s.sent(),o.j.e.fire("afterFindAndSelect"),[2,!0];case 4:return[2,!1]}})})()}},{key:"findCurrentIndexInRanges",value:function(e,t){return e.findIndex(function(e){return e.startContainer===t.startContainer&&e.startOffset===t.startOffset&&e.endContainer===t.startContainer&&e.endOffset===t.endOffset})}},{key:"isValidCache",value:function(e){return Aw(function(){return Fw(this,function(t){switch(t.label){case 0:return[4,e];case 1:return[2,t.sent().every(function(e){var t,o,n,r;return e.startContainer.isConnected&&e.startOffset<=(null!==(o=null===(t=e.startContainer.nodeValue)||void 0===t?void 0:t.length)&&void 0!==o?o:0)&&e.endContainer.isConnected&&e.endOffset<=(null!==(r=null===(n=e.endContainer.nodeValue)||void 0===n?void 0:n.length)&&void 0!==r?r:0)})]}})})()}},{key:"find",value:function(e,t){var o=this;return Aw(function(){var n,r;return Fw(this,function(i){switch(i.label){case 0:return t.length?(n=o.cache[t],(r=n)?[4,o.isValidCache(n)]:[3,2]):[2,[]];case 1:r=i.sent(),i.label=2;case 2:return r?[2,n]:(o.cache[t]=o.j.async.promise(function(n){var r=new Sw(o.j.o.search.fuzzySearch);e.on("break",function(){n([])}).on("visit",function(e){return ii.isText(e)&&r.add(e),!1}).on("end",function(){var e;n(null!==(e=r.ranges(t))&&void 0!==e?e:[])}).setWork(o.j.editor)}),[2,o.cache[t]])}})})()}},{key:"__drawSelectionRanges",value:function(e){var t=this,o=this.j,n=o.async,r=o.createInside,i=o.editor;n.cancelAnimationFrame(this.wrapFrameRequest);var a,l=function(e){return function(e){if(Array.isArray(e))return Pw(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Pw(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(o):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Pw(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e),s=0;return n.promise(function(e){var o=function(){do{(a=l.shift())&&yw(t.j,a,l,r,i),s+=1}while(a&&s<=5);l.length?t.wrapFrameRequest=n.requestAnimationFrame(o):e()};o()})}},{key:"onAfterGetValueFromEditor",value:function(e){e.value=e.value.replace(RegExp("<span[^>]+".concat(bw,"[^>]+>(.*?)</span>"),"g"),"$1")}},{key:"afterInit",value:function(e){var t=this;if(e.o.useSearch){var o=this,n=this;e.e.on("beforeSetMode.search",function(){t.ui.close()}).on(this.ui,"afterClose",function(){jw(e),t.ui.currentIndex=0,t.ui.count=0,t.cache={},e.focus()}).on("click",function(){t.ui.currentIndex=0,jw(e)}).on("change.search",function(){t.cache={}}).on("keydown.search mousedown.search",e.async.debounce(function(){t.ui.selInfo&&(e.s.removeMarkers(),t.ui.selInfo=null),t.ui.isOpened&&t.updateCounters()},e.defaultTimeout)).on("searchNext.search searchPrevious.search",function(){return t.ui.isOpened||t.ui.open(),n.findAndSelect(n.ui.query,"searchNext"===e.e.current).catch(function(e){!ft&&console.error("Search error",e)})}).on("search.search",function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return o.ui.currentIndex=0,n.findAndSelect(e||"",t).catch(function(e){!ft&&console.error("Search error",e)})}),e.registerCommand("search",{exec:function(e,t){var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t&&n.findAndSelect(t,o).catch(function(e){!ft&&console.error("Search error",e)}),!1}}).registerCommand("openSearchDialog",{exec:function(e,t){return n.ui.open(t),!1},hotkeys:["ctrl+f","cmd+f"]}).registerCommand("openReplaceDialog",{exec:function(t,o,r){return e.o.readonly||n.ui.open(o,r,!0),!1},hotkeys:["ctrl+h","cmd+h"]})}}},{key:"beforeDestruct",value:function(e){var t;null===(t=ai(this,"ui"))||void 0===t||t.destruct(),e.e.off(".search")}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Nw(Vf));function Ww(e,t,o){return Ww=Jw()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&Yw(r,o.prototype),r},Ww.apply(null,arguments)}
1function Uw(e){return Uw=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Uw(e)}function Yw(e,t){return Yw=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Yw(e,t)}function Kw(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Gw(e){var t="function"==typeof Map?new Map:void 0;return Gw=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return Ww(e,arguments,Uw(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Yw(n,e)},Gw(e)}function Jw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jw=function(){return!!e})()}qw([li],Vw.prototype,"ui",null),qw([va("ui:needUpdateCounters")],Vw.prototype,"updateCounters",null),qw([va("ui:pressReplaceButton")],Vw.prototype,"onPressReplaceButton",null),qw([Co],Vw.prototype,"findQueryBounds",null),qw([Co],Vw.prototype,"findAndReplace",null),qw([Co],Vw.prototype,"findAndSelect",null),qw([Co],Vw.prototype,"find",null),qw([va(":afterGetValueFromEditor")],Vw.prototype,"onAfterGetValueFromEditor",null),Sa.add("search",Vw),Qn.prototype.select={normalizeSelectionBeforeCutAndCopy:!1,normalizeTripleClick:!0};var Xw=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":Kw(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Zw=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=Uw(t),function(e,t){return!t||"object"!==Kw(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,Jw()?Reflect.construct(t,o||[],Uw(e).constructor):t.apply(e,o))}(this,t,arguments)).proxyEventsList=["click","mousedown","touchstart","mouseup","touchend"],e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yw(e,t)}(t,e),o=[{key:"afterInit",value:function(e){var t=this;this.proxyEventsList.forEach(function(o){e.e.on(o+".select",t.onStartSelection)})}},{key:"beforeDestruct",value:function(e){var t=this;this.proxyEventsList.forEach(function(o){e.e.on(o+".select",t.onStartSelection)})}},{key:"onStartSelection",value:function(e){for(var t,o=this.j,n=e.target;void 0===t&&n&&n!==o.editor;)t=o.e.fire(zn(e.type+"_"+n.nodeName.toLowerCase()),n,e),n=n.parentElement;"click"===e.type&&void 0===t&&n===o.editor&&o.e.fire(e.type+"Editor",n,e)}},{key:"onOutsideClick",value:function(e){var t=this,o=e.target;ii.up(o,function(e){return e===t.j.editor})||gl.closestElement(o,Dc)||this.j.e.fire("outsideClick",e)}},{key:"beforeCommandCut",value:function(){var e=this.j.s;if(!e.isCollapsed()){var t=e.current();t&&ii.isOrContains(this.j.editor,t)&&this.onCopyNormalizeSelectionBound()}}},{key:"beforeCommandSelectAll",value:function(){var e=this.j.s;return e.focus(),e.select(this.j.editor,!0),e.expandSelection(),!1}},{key:"onTripleClickNormalizeSelection",value:function(e){if(3===e.detail&&this.j.o.select.normalizeTripleClick){var t=this.j.s,o=t.range,n=o.startContainer;0===o.startOffset&&ii.isText(n)&&t.select(ii.closest(n,ii.isBlock,this.j.editor)||n,!0)}}},{key:"onCopyNormalizeSelectionBound",value:function(e){var t=this.j,o=t.s,n=t.editor;t.o.select.normalizeSelectionBeforeCutAndCopy&&!o.isCollapsed()&&(!e||e.isTrusted&&ii.isNode(e.target)&&ii.isOrContains(n,e.target))&&this.jodit.s.expandSelection()}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(Gw(Vf));function Qw(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function $w(e,t,o){return $w=rk()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&tk(r,o.prototype),r},$w.apply(null,arguments)}
1function ek(e){return ek=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ek(e)}function tk(e,t){return tk=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},tk(e,t)}function ok(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function nk(e){var t="function"==typeof Map?new Map:void 0;return nk=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return $w(e,arguments,ek(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),tk(n,e)},nk(e)}function rk(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rk=function(){return!!e})()}Xw([Co],Zw.prototype,"onStartSelection",null),Xw([va("ow:click")],Zw.prototype,"onOutsideClick",null),Xw([va([":beforeCommandCut"])],Zw.prototype,"beforeCommandCut",null),Xw([va([":beforeCommandSelectall"])],Zw.prototype,"beforeCommandSelectAll",null),Xw([va([":click"])],Zw.prototype,"onTripleClickNormalizeSelection",null),Xw([va([":copy",":cut"])],Zw.prototype,"onCopyNormalizeSelectionBound",null),Sa.add("select",Zw),Qn.prototype.tableAllowCellSelection=!0;var ik=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":ok(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},ak="table_processor_observer",lk="onMoveTableSelectCell",sk=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=ek(t),function(e,t){return!t||"object"!==ok(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,rk()?Reflect.construct(t,o||[],ek(e).constructor):t.apply(e,o))}(this,t,arguments)).__selectedCell=null,e.__isSelectionMode=!1,e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tk(e,t)}(t,e),o=[{key:"__tableModule",get:function(){return this.j.getInstance(mp,this.j.o)}},{key:"afterInit",value:function(e){var t=this;e.o.tableAllowCellSelection&&e.e.on("keydown.select-cells",function(e){e.key===Mt&&t.unselectCells()}).on("beforeCommand.select-cells",this.onExecCommand).on("afterCommand.select-cells",this.onAfterCommand).on(["clickEditor","mousedownTd","mousedownTh","touchstartTd","touchstartTh"].map(function(e){return e+".select-cells"}).join(" "),this.onStartSelection).on("clickTr clickTbody",function(){var e,o=t.__tableModule.getAllSelectedCells().length;if(o)return o>1&&(null===(e=t.j.s.sel)||void 0===e||e.removeAllRanges()),!1})}},{key:"onStartSelection",value:function(e){if(!this.j.o.readonly&&(this.unselectCells(),e!==this.j.editor)){var t=ii.closest(e,"table",this.j.editor);if(e&&t)return e.firstChild||e.appendChild(this.j.createInside.element("br")),this.__isSelectionMode=!0,this.__selectedCell=e,this.__tableModule.addSelection(e),this.j.e.on(t,"mousemove.select-cells touchmove.select-cells",this.j.async.throttle(this.__onMove.bind(this,t),{label:lk,timeout:this.j.defaultTimeout/2})).on(t,"mouseup.select-cells touchend.select-cells",this.__onStopSelection.bind(this,t)),!1}}},{key:"onOutsideClick",value:function(){this.__selectedCell=null,this.__onRemoveSelection()}},{key:"onChange",value:function(){this.j.isLocked||this.__isSelectionMode||this.__onRemoveSelection()}},{key:"__onMove",value:function(e,t){var o,n=this;if((!this.j.o.readonly||this.j.isLocked)&&!this.j.isLockedNotBy(ak)){var r=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(r){var i=ii.closest(r,["td","th"],e);if(i&&this.__selectedCell){i!==this.__selectedCell&&this.j.lock(ak),this.unselectCells();for(var a=this.__tableModule.getSelectedBound(e,[i,this.__selectedCell]),l=this.__tableModule.formalMatrix(e),s=a[0][0];s<=a[1][0];s+=1)for(var c=a[0][1];c<=a[1][1];c+=1)this.__tableModule.addSelection(l[s][c]);var u;this.__tableModule.getAllSelectedCells().length>1&&(null===(o=this.j.s.sel)||void 0===o||o.removeAllRanges()),this.j.e.fire("hidePopup"),t.stopPropagation(),u=n.j.createInside.fromHTML('<div style="color:rgba(0,0,0,0.01);width:0;height:0"> </div>'),i.appendChild(u),n.j.async.setTimeout(function(){var e;null===(e=u.parentNode)||void 0===e||e.removeChild(u)},n.j.defaultTimeout/5)}}}}},{key:"__onRemoveSelection",value:function(e){var t;if(!(null===(t=null==e?void 0:e.buffer)||void 0===t?void 0:t.actionTrigger)&&!this.__selectedCell&&this.__tableModule.getAllSelectedCells().length)return this.j.unlock(),this.unselectCells(),void this.j.e.fire("hidePopup","cells");this.__isSelectionMode=!1,this.__selectedCell=null}},{key:"__onStopSelection",value:function(e,t){var o=this;if(this.__selectedCell){this.__isSelectionMode=!1,this.j.unlock();var n=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(n){var r=ii.closest(n,["td","th"],e);if(r){var i=ii.closest(r,"table",e);if(!i||i===e){var a=this.__tableModule.getSelectedBound(e,[r,this.__selectedCell]),l=this.__tableModule.formalMatrix(e),s=l[a[1][0]][a[1][1]],c=l[a[0][0]][a[0][1]];this.j.e.fire("showPopup",e,function(){var e=Ki(c,o.j),t=Ki(s,o.j);return{left:e.left,top:e.top,width:t.left-e.left+t.width,height:t.top-e.top+t.height}},"cells"),Yr("table",this.j.editor).forEach(function(e){o.j.e.off(e,"mousemove.select-cells touchmove.select-cells mouseup.select-cells touchend.select-cells")}),this.j.async.clearTimeout(lk)}}}}}},{key:"unselectCells",value:function(e){var t=this.__tableModule,o=t.getAllSelectedCells();o.length&&o.forEach(function(o){e&&e===o||t.removeSelection(o)})}},{key:"onExecCommand",value:function(e){var t=this;if(/table(splitv|splitg|merge|empty|bin|binrow|bincolumn|addcolumn|addrow)/.test(e)){e=e.replace("table","");var o=this.__tableModule.getAllSelectedCells();if(o.length){var n=function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,r=[],i=!0,a=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(r.push(o.value),1!==r.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==t.return||t.return()}finally{if(a)throw n}}return r}}(e)||function(e){if(e){if("string"==typeof e)return Qw(e,1);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Qw(e,1):void 0}}
1(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(o)[0];if(!n)return;var r=ii.closest(n,"table",this.j.editor);if(!r)return;switch(e){case"splitv":this.__tableModule.splitVertical(r);break;case"splitg":this.__tableModule.splitHorizontal(r);break;case"merge":this.__tableModule.mergeSelected(r);break;case"empty":o.forEach(function(e){return ii.detach(e)});break;case"bin":ii.safeRemove(r);break;case"binrow":new Set(o.map(function(e){return e.parentNode})).forEach(function(e){t.__tableModule.removeRow(r,e.rowIndex)});break;case"bincolumn":var i=new Set;o.reduce(function(e,t){return i.has(t.cellIndex)||(e.push(t),i.add(t.cellIndex)),e},[]).forEach(function(e){t.__tableModule.removeColumn(r,e.cellIndex)});break;case"addcolumnafter":case"addcolumnbefore":this.__tableModule.appendColumn(r,n,"addcolumnafter"===e);break;case"addrowafter":case"addrowbefore":this.__tableModule.appendRow(r,n.parentNode,"addrowafter"===e)}}return!1}}},{key:"onAfterCommand",value:function(e){/^justify/.test(e)&&this.__tableModule.getAllSelectedCells().forEac
1h(function(t){return Rn(e,t)})}},{key:"beforeDestruct",value:function(e){this.__onRemoveSelection(),e.e.off(".select-cells")}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(nk(Vf));sk.requires=["select"],ik([Co],sk.prototype,"onStartSelection",null),ik([va(":outsideClick")],sk.prototype,"onOutsideClick",null),ik([va(":change")],sk.prototype,"onChange",null),ik([Co],sk.prototype,"__onRemoveSelection",null),ik([Co],sk.prototype,"__onStopSelection",null),ik([Co],sk.prototype,"onExecCommand",null),ik([Co],sk.prototype,"onAfterCommand",null),Sa.add("selectCells",sk),Qn.prototype.beautifyHTML=!to,Qn.prototype.sourceEditor="ace",Qn.prototype.sourceEditorNativeOptions={showGutter:!0,theme:"ace/theme/idle_fingers",mode:"ace/mode/html",wrap:!0,highlightActiveLine:!0},Qn.prototype.sourceEditorCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js"],Qn.prototype.beautifyHTMLCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js","https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js"],sl.set("source",'<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> '),Qn.prototype.controls.source={mode:eo,exec:function(e){e.toggleMode()},isActive:function(e){return e.getRealMode()===$t},tooltip:"Change mode"};var ck=function(){function e(t,o,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.jodit=t,this.container=o,this.toWYSIWYG=n,this.fromWYSIWYG=r,this.className="",this.isReady=!1}var t;return(t=[{key:"j",get:function(){return this.jodit}},{key:"onReady",value:function(){this.replaceUndoManager(),this.isReady=!0,this.j.e.fire(this,"ready")}},{key:"onReadyAlways",value:function(e){var t;this.isReady?e():null===(t=this.j.events)||void 0===t||t.on(this,"ready",e)}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}();
1function uk(e){return uk=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},uk(e)}function dk(e,t){return dk=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},dk(e,t)}function fk(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fk=function(){return!!e})()}var pk=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=uk(t),function(e,t){return!t||"object"!=((o=t)&&"undefined"!=typeof Symbol&&o.constructor===Symbol?"symbol":typeof o)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t;var o}(e,fk()?Reflect.construct(t,o||[],uk(e).constructor):t.apply(e,o))}(this,t,arguments)).className="jodit_ace_editor",e.proxyOnBlur=function(t){e.j.e.fire("blur",t)},e.proxyOnFocus=function(t){e.j.e.fire("focus",t)},e.proxyOnMouseDown=function(t){e.j.e.fire("mousedown",t)},e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dk(e,t)}(t,e),(o=[{key:"aceExists",value:function(){return void 0!==this.j.ow.ace}},{key:"getLastColumnIndex",value:function(e){return this.instance.session.getLine(e).length}},{key:"getLastColumnIndices",value:function(){for(var e=this.instance.session.getLength(),t=[],o=0,n=0;n<e;n++)o+=this.getLastColumnIndex(n),n>0&&(o+=1),t[n]=o;return t}},{key:"getRowColumnIndices",value:function(e){var t=this.getLastColumnIndices();if(e<=t[0])return{row:0,column:e};for(var o=1,n=1;n<t.length;n++)e>t[n]&&(o=n+1);return{row:o,column:e-t[o-1]-1}}},{key:"setSelectionRangeIndices",value:function(e,t){var o=this.getRowColumnIndices(e),n=this.getRowColumnIndices(t);this.instance.getSelection().setSelectionRange({start:o,end:n})}},{key:"getIndexByRowColumn",value:function(e,t){return this.getLastColumnIndices()[e]-this.getLastColumnIndex(e)+t}},{key:"init",value:function(e){var t=this,o=function(){if(void 0===t.instance&&t.aceExists()){var o=t.j.c.div("jodit-source__mirror-fake");t.container.appendChild(o);var n=e.ow.ace;t.instance=n.edit(o),"rtl"===e.o.direction&&(t.instance.setOption("rtlText",!0),t.instance.setOption("rtl",!0)),t.instance.setTheme(e.o.sourceEditorNativeOptions.theme),t.instance.renderer.setShowGutter(e.o.sourceEditorNativeOptions.showGutter),t.instance.getSession().setMode(e.o.sourceEditorNativeOptions.mode),t.instance.setHighlightActiveLine(e.o.sourceEditorNativeOptions.highlightActiveLine),t.instance.getSession().setUseWrapMode(!0),t.instance.setOption("indentedSoftWrap",!1),t.instance.setOption("wrap",e.o.sourceEditorNativeOptions.wrap),t.instance.getSession().setUseWorker(!1),t.instance.$blockScrolling=1/0,t.instance.on("change",t.toWYSIWYG),t.instance.on("focus",t.proxyOnFocus),t.instance.on("mousedown",t.proxyOnMouseDown),t.instance.on("blur",t.proxyOnBlur),e.getRealMode()!==Qt&&t.setValue(t.getValue());var r=t.j.async.throttle(function(){if(!e.isInDestruct&&e.getMode()!==Qt){var o=t.instance.isFocused();"auto"!==e.o.height?t.instance.setOption("maxLines",e.workplace.offsetHeight/t.instance.renderer.lineHeight):t.instance.setOption("maxLines",1/0),t.instance.resize(),o&&t.focus()}},2*t.j.defaultTimeout);e.e.on(e,"resize",r).on("afterResize afterSetMode",r),r(),t.onReady()}};e.e.on("afterSetMode",function(){e.getRealMode()!==$t&&e.getMode()!==eo||(t.fromWYSIWYG(),o())}),o(),this.aceExists()||Nn(e,e.o.sourceEditorCDNUrlsJS).then(function(){e.isInDestruct||o()}).catch(function(){return null})}},{key:"destruct",value:function(){var e,t;this.instance.off("change",this.toWYSIWYG),this.instance.off("focus",this.proxyOnFocus),this.instance.off("mousedown",this.proxyOnMouseDown),this.instance.destroy(),null===(t=null===(e=this.j)||void 0===e?void 0:e.events)||void 0===t||t.off("aceInited.source")}},{key:"setValue",value:function(e){if(!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){var t=this.j.e.fire("beautifyHTML",e);Io(t)&&(e=t)}this.instance.setValue(e),this.instance.clearSelection()}},{key:"getValue",value:function(){return this.instance.getValue()}},{key:"setReadOnly",value:function(e){this.instance.setReadOnly(e)}},{key:"isFocused",get:function(){return this.instance.isFocused()}},{key:"focus",value:function(){this.instance.container.focus(),this.instance.focus()}},{key:"blur",value:function(){this.instance.blur()}},{key:"getSelectionStart",value:function(){var e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.start.row,e.start.column)}},{key:"getSelectionEnd",value:function(){var e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.end.row,e.end.column)}},{key:"selectAll",value:function(){this.instance.selection.selectAll()}},{key:"insertRaw",value:function(e){var t=this.instance.selection.getCursor(),o=this.instance.session.insert(t,e);this.instance.selection.setRange({start:t,end:o},!1)}},{key:"setSelectionRange",value:function(e,t){this.setSelectionRangeIndices(e,t)}},{key:"setPlaceHolder",value:function(e){}},{key:"replaceUndoManager",value:function(){var e=this.jodit.history;this.instance.commands.addCommand({name:"Undo",bindKey:{win:"Ctrl-Z",mac:"Command-Z"},exec:function(){e.undo()}}),this.instance.commands.addCommand({name:"Redo",bindKey:{win:"Ctrl-Shift-Z",mac:"Command-Shift-Z"},exec:function(){e.redo()}})}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(ck);
1function hk(e){return hk=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},hk(e)}function vk(e,t){return vk=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},vk(e,t)}function gk(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gk=function(){return!!e})()}var mk=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=hk(t),function(e,t){return!t||"object"!=((o=t)&&"undefined"!=typeof Symbol&&o.constructor===Symbol?"symbol":typeof o)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t;var o}(e,gk()?Reflect.construct(t,o||[],hk(e).constructor):t.apply(e,o))}(this,t,arguments)).autosize=e.j.async.debounce(function(){e.instance.style.height="auto",e.instance.style.height=e.instance.scrollHeight+"px"},e.j.defaultTimeout),e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vk(e,t)}(t,e),o=[{key:"init",value:function(e){var t=this;this.instance=e.c.element("textarea",{class:"jodit-source__mirror",dir:"rtl"===e.o.direction?"rtl":void 0}),this.container.appendChild(this.instance),e.e.on(this.instance,"mousedown keydown touchstart input",e.async.debounce(this.toWYSIWYG,e.defaultTimeout)).on("setMinHeight.source",function(e){En(t.instance,"minHeight",e)}).on(this.instance,"change keydown mousedown touchstart input",this.autosize).on("afterSetMode.source",this.autosize).on(this.instance,"mousedown focus",function(t){e.e.fire(t.type,t)}),this.autosize(),this.onReady()}},{key:"destruct",value:function(){ii.safeRemove(this.instance)}},{key:"getValue",value:function(){return this.instance.value}},{key:"setValue",value:function(e){this.instance.value=e}},{key:"insertRaw",value:function(e){var t=this.getValue();if(this.getSelectionStart()>=0){var o=this.getSelectionStart(),n=this.getSelectionEnd();this.setValue(t.substring(0,o)+e+t.substring(n,t.length))}else this.setValue(t+e)}},{key:"getSelectionStart",value:function(){return this.instance.selectionStart}},{key:"getSelectionEnd",value:function(){return this.instance.selectionEnd}},{key:"setSelectionRange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;this.instance.setSelectionRange(e,t)}},{key:"isFocused",get:function(){return this.instance===this.j.od.activeElement}},{key:"focus",value:function(){this.instance.focus()}},{key:"blur",value:function(){this.instance.blur()}},{key:"setPlaceHolder",value:function(e){this.instance.setAttribute("placeholder",e)}},{key:"setReadOnly",value:function(e){e?this.instance.setAttribute("readonly","true"):this.instance.removeAttribute("readonly")}},{key:"selectAll",value:function(){this.instance.select()}},{key:"replaceUndoManager",value:function(){var e=this,t=this.jodit.history;this.j.e.on(this.instance,"keydown",function(o){if((o.ctrlKey||o.metaKey)&&"z"===o.key)return o.shiftKey?t.redo():t.undo(),e.setSelectionRange(e.getValue().length),!1})}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(ck);function bk(e,t,o,n,r){var i;if(Oo(e))i=e(t);else switch(e){case"ace":if(!t.o.shadowRoot){i=new pk(t,o,n,r);break}default:i=new mk(t,o,n,r)}return i.init(t),i.onReadyAlways(function(){i.setReadOnly(t.o.readonly)}),i}function yk(e,t,o){return yk=Sk()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&jk(r,o.prototype),r},yk.apply(null,arguments)}function _k(e){return _k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_k(e)}function jk(e,t){return jk=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},jk(e,t)}function wk(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function kk(e){var t="function"==typeof Map?new Map:void 0;return kk=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return yk(e,arguments,_k(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),jk(n,e)},kk(e)}function Sk(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Sk=function(){return!!e})()}var xk=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;
1if("object"===("undefined"==typeof Reflect?"undefined":wk(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Ok=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=_k(t),function(e,t){return!t||"object"!==wk(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,Sk()?Reflect.construct(t,o||[],_k(e).constructor):t.apply(e,o))}(this,t,arguments)).buttons=[{name:"source",group:"source"}],e.__lock=!1,e.__oldMirrorValue="",e.tempMarkerStart="{start-jodit-selection}",e.tempMarkerStartReg=/{start-jodit-selection}/g,e.tempMarkerEnd="{end-jodit-selection}",e.tempMarkerEndReg=/{end-jodit-selection}/g,e.getSelectionStart=function(){var t,o;return null!==(o=null===(t=e.sourceEditor)||void 0===t?void 0:t.getSelectionStart())&&void 0!==o?o:0},e.getSelectionEnd=function(){var t,o;return null!==(o=null===(t=e.sourceEditor)||void 0===t?void 0:t.getSelectionEnd())&&void 0!==o?o:0},e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jk(e,t)}(t,e),o=[{key:"onInsertHTML",value:function(e){var t;if(!this.j.o.readonly&&!this.j.isEditorMode())return null===(t=this.sourceEditor)||void 0===t||t.insertRaw(e),this.toWYSIWYG(),!1}},{key:"fromWYSIWYG",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.__lock||!0===e){this.__lock=!0;var t=this.j.getEditorValue(!1,So);t!==this.getMirrorValue()&&this.setMirrorValue(t),this.__lock=!1}}},{key:"toWYSIWYG",value:function(){if(!this.__lock){var e=this.getMirrorValue();e!==this.__oldMirrorValue&&(this.__lock=!0,this.j.value=e,this.__lock=!1,this.__oldMirrorValue=e)}}},{key:"getNormalPosition",value:function(e,t){for(t=t.replace(/<(script|style|iframe)[^>]*>[^]*?<\/\1>/im,function(e){for(var t="",o=0;o<e.length;o+=1)t+=bt;return t});e>0&&t[e]===bt;)e--;for(var o=e;o>0;){if("<"===t[--o]&&void 0!==t[o+1]&&t[o+1].match(/[\w/]+/i))return o;if(">"===t[o])return e}return e}},{key:"clnInv",value:function(e){return e.replace(_t(),"")}},{key:"onSelectAll",value:function(e){var t;if("selectall"===e.toLowerCase()&&this.j.getRealMode()===$t)return null===(t=this.sourceEditor)||void 0===t||t.selectAll(),!1}},{key:"getMirrorValue",value:function(){var e;return(null===(e=this.sourceEditor)||void 0===e?void 0:e.getValue())||""}},{key:"setMirrorValue",value:function(e){var t;null===(t=this.sourceEditor)||void 0===t||t.setValue(e)}},{key:"setFocusToMirror",value:function(){var e;null===(e=this.sourceEditor)||void 0===e||e.focus()}},{key:"saveSelection",value:function(){if(this.j.getRealMode()===Qt)this.j.s.save(),this.j.synchronizeValues(),this.fromWYSIWYG(!0);else{if(this.j.o.editHTMLDocumentMode)return;var e=this.getMirrorValue();if(this.getSelectionStart()===this.getSelectionEnd()){var t=this.j.s.marker(!0),o=this.getNormalPosition(this.getSelectionStart(),this.getMirrorValue());this.setMirrorValue(e.substring(0,o)+this.clnInv(t.outerHTML)+e.substring(o))}else{var n=this.j.s.marker(!0),r=this.j.s.marker(!1),i=this.getNormalPosition(this.getSelectionStart(),e),a=this.getNormalPosition(this.getSelectionEnd(),e);this.setMirrorValue(e.slice(0,i)+this.clnInv(n.outerHTML)+e.slice(i,a)+this.clnInv(r.outerHTML)+e.slice(a))}this.toWYSIWYG()}}},{key:"removeSelection",value:function(){if(this.j.getRealMode()===Qt)return this.__lock=!0,this.j.s.restore(),void(this.__lock=!1);var e=this.getMirrorValue(),t=0,o=0;try{if(e=e.replace(/<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){var n=this.j.e.fire("beautifyHTML",e);Io(n)&&(e=n)}if(o=t=e.indexOf(this.tempMarkerStart),e=e.replace(this.tempMarkerStartReg,""),-1!==t){var r=e.indexOf(this.tempMarkerEnd);-1!==r&&(o=r)}
1e=e.replace(this.tempMarkerEndReg,"")}finally{e=e.replace(this.tempMarkerEndReg,"").replace(this.tempMarkerStartReg,"")}this.setMirrorValue(e),this.setMirrorSelectionRange(t,o),this.toWYSIWYG(),this.setFocusToMirror()}},{key:"setMirrorSelectionRange",value:function(e,t){var o;null===(o=this.sourceEditor)||void 0===o||o.setSelectionRange(e,t)}},{key:"onReadonlyReact",value:function(){var e;null===(e=this.sourceEditor)||void 0===e||e.setReadOnly(this.j.o.readonly)}},{key:"afterInit",value:function(e){var t=this;if(this.mirrorContainer=e.c.div("jodit-source"),e.workplace.appendChild(this.mirrorContainer),e.e.on("afterAddPlace changePlace afterInit",function(){e.workplace.appendChild(t.mirrorContainer)}),this.sourceEditor=bk("area",e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG),e.e.on(e.ow,"keydown",function(e){var o;e.key===Dt&&(null===(o=t.sourceEditor)||void 0===o?void 0:o.isFocused)&&t.sourceEditor.blur()}),this.onReadonlyReact(),e.e.on("placeholder.source",function(e){var o;null===(o=t.sourceEditor)||void 0===o||o.setPlaceHolder(e)}).on("change.source",this.syncValueFromWYSIWYG).on("beautifyHTML",function(e){return e}),e.o.beautifyHTML){var o=function(){var t;if(e.isInDestruct)return!1;var o=e.ow.html_beautify;return!(!o||e.isInDestruct||(null===(t=e.events)||void 0===t||t.off("beautifyHTML").on("beautifyHTML",function(e){return o(e)}),0))};o()||Nn(e,e.o.beautifyHTMLCDNUrlsJS).then(o,function(){return null})}this.syncValueFromWYSIWYG(!0),this.initSourceEditor(e)}},{key:"syncValueFromWYSIWYG",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.j;t.getMode()!==eo&&t.getMode()!==$t||this.fromWYSIWYG(e)}},{key:"initSourceEditor",value:function(e){var t,o=this;if("area"!==e.o.sourceEditor){var n=bk(e.o.sourceEditor,e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG);n.onReadyAlways(function(){var t,r;null===(t=o.sourceEditor)||void 0===t||t.destruct(),o.sourceEditor=n,o.syncValueFromWYSIWYG(!0),null===(r=e.events)||void 0===r||r.fire("sourceEditorReady",e)})}else null===(t=this.sourceEditor)||void 0===t||t.onReadyAlways(function(){var t;o.syncValueFromWYSIWYG(!0),null===(t=e.events)||void 0===t||t.fire("sourceEditorReady",e)})}},{key:"beforeDestruct",value:function(){this.sourceEditor&&(this.sourceEditor.destruct(),delete this.sourceEditor),ii.safeRemove(this.mirrorContainer)}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(kk(Vf));xk([va(":insertHTML.source")],Ok.prototype,"onInsertHTML",null),xk([Co],Ok.prototype,"fromWYSIWYG",null),xk([Co],Ok.prototype,"toWYSIWYG",null),xk([Co],Ok.prototype,"getNormalPosition",null),xk([va(":beforeCommand.source")],Ok.prototype,"onSelectAll",null),xk([va(":beforeSetMode.source")],Ok.prototype,"saveSelection",null),xk([va(":afterSetMode.source")],Ok.prototype,"removeSelection",null),xk([Co],Ok.prototype,"setMirrorSelectionRange",null),xk([va(":readonly.source")],Ok.prototype,"onReadonlyReact",null),xk([Co],Ok.prototype,"syncValueFromWYSIWYG",null),Sa.add("source",Ok);const Ck='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M24.89 32h4.18L18.86 6h-3.71L4.93 32h4.18l2.25-6h11.29l2.24 6zM12.86 22L17 10.95 21.14 22h-8.28zm30.31 1.17L27 39.34 19.66 32l-2.83 2.83L27 45l19-19-2.83-2.83z"/> </svg> ';Qn.prototype.spellcheck=!1,sl.set("spellcheck",Ck),Qn.prototype.controls.spellcheck={isActive:function(e){return e.o.spellcheck},icon:Ck,name:"spellcheck",command:"toggleSpellcheck",tooltip:"Spellcheck"};const zk={Spellcheck:"\u0627\u0644\u062a\u062f\u0642\u064a\u0642 \u0627\u0644\u0625\u0645\u0644\u0627\u0626\u064a"},Ek={Spellcheck:"Kontrola pravopisu"},Tk={Spellcheck:"Rechtschreibpr\xfcfung"},Ik={Spellcheck:"Correcci\xf3n ortogr\xe1fica"},Pk={Spellcheck:"\u063a\u0644\u0637\u06cc\u0627\u0628\u06cc \u0627\u0645\u0644\u0627\u06cc\u06cc"},Rk={Spellcheck:"Oikeinkirjoituksen tarkistus"},Ak={Spellcheck:"V\xe9rification Orthographique"},Lk={Spellcheck:"\u05d1\u05d3\u05d9\u05e7\u05ea \u05d0\u05d9\u05d5\u05ea"},Mk={Spellcheck:"Helyes\xedr\xe1s-ellen\u0151rz\xe9s"},Bk={Spellcheck:"Spellchecking"},Dk={Spellcheck:"Controllo ortografico"}
1,Nk={Spellcheck:"\u30b9\u30da\u30eb\u30c1\u30a7\u30c3\u30af"},Hk={Spellcheck:"\ub9de\ucda4\ubc95 \uac80\uc0ac"},Fk={Spellcheck:"\u0414\u04af\u0440\u043c\u0438\u0439\u043d \u0430\u043b\u0434\u0430\u0430 \u0448\u0430\u043b\u0433\u0430\u0445"},qk={Spellcheck:"Spellingcontrole"},Vk={Spellcheck:"Stavekontroll"},Wk={Spellcheck:"Sprawdzanie pisowni"},Uk={Spellcheck:"Verifica\xe7\xe3o ortogr\xe1fica"},Yk={Spellcheck:"\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043e\u0440\u0444\u043e\u0433\u0440\u0430\u0444\u0438\u0438"},Kk={Spellcheck:"Yaz\u0131m denetimi"},Gk={Spellcheck:"\u041f\u0435\u0440\u0435\u0432\u0456\u0440\u043a\u0430 \u043e\u0440\u0444\u043e\u0433\u0440\u0430\u0444\u0456\u0457"},Jk={Spellcheck:"\u62fc\u5199\u68c0\u67e5"},Xk={Spellcheck:"\u62fc\u5b57\u6aa2\u67e5"};function Zk(e,t,o){return Zk=oS()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&$k(r,o.prototype),r},Zk.apply(null,arguments)}function Qk(e){return Qk=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Qk(e)}function $k(e,t){return $k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},$k(e,t)}function eS(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function tS(e){var t="function"==typeof Map?new Map:void 0;return tS=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return Zk(e,arguments,Qk(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),$k(n,e)},tS(e)}function oS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oS=function(){return!!e})()}var nS=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=function(e,t,o){return t=Qk(t),function(e,t){return!t||"object"!==eS(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,oS()?Reflect.construct(t,o||[],Qk(e).constructor):t.apply(e,o))}(this,t,[e])).buttons=[{group:"state",name:"spellcheck"}],Oa(le),o}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$k(e,t)}(t,e),(o=[{key:"afterInit",value:function(e){var t=this;e.e.on("afterInit afterAddPlace prepareWYSIWYGEditor",this.toggleSpellcheck),this.toggleSpellcheck(),e.registerCommand("toggleSpellcheck",function(){t.jodit.o.spellcheck=!t.jodit.o.spellcheck,t.toggleSpellcheck(),t.j.e.fire("updateToolbar")})}},{key:"toggleSpellcheck",value:function(){Gn(this.jodit.editor,"spellcheck",this.jodit.o.spellcheck)}},{key:"beforeDestruct",value:function(e){}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(tS(Vf));function rS(e,t,o){return rS=cS()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&aS(r,o.prototype),r},rS.apply(null,arguments)}function iS(e){return iS=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},iS(e)}function aS(e,t){return aS=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},aS(e,t)}function lS(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function sS(e){var t="function"==typeof Map?new Map:void 0;return sS=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return rS(e,arguments,iS(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),aS(n,e)},sS(e)}function cS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cS=function(){return!!e})()}(function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;
1if("object"===("undefined"==typeof Reflect?"undefined":eS(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);i>3&&a&&Object.defineProperty(t,o,a)})([Co],nS.prototype,"toggleSpellcheck",null),Sa.add("spellcheck",nS),Qn.prototype.toolbarSticky=!0,Qn.prototype.toolbarDisableStickyForMobile=!0,Qn.prototype.toolbarStickyOffset=0;var uS=!dt&&to,dS=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=iS(t),function(e,t){return!t||"object"!==lS(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,cS()?Reflect.construct(t,o||[],iS(e).constructor):t.apply(e,o))}(this,t,arguments)).__isToolbarStuck=!1,e.__createDummy=function(t){e.__dummyBox=e.j.c.div(),e.__dummyBox.classList.add("jodit_sticky-dummy_toolbar"),e.j.container.insertBefore(e.__dummyBox,t)},e.addSticky=function(t){e.__isToolbarStuck||(uS&&!e.__dummyBox&&e.__createDummy(t),e.j.container.classList.add("jodit_sticky"),e.__isToolbarStuck=!0),En(t,{top:e.j.o.toolbarStickyOffset||null,width:e.j.container.offsetWidth-2}),e.__dummyBox&&En(e.__dummyBox,{height:t.offsetHeight})},e.removeSticky=function(t){e.__isToolbarStuck&&(En(t,{width:"",top:""}),e.j.container.classList.remove("jodit_sticky"),e.__isToolbarStuck=!1)},e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aS(e,t)}(t,e),(o=[{key:"afterInit",value:function(e){var t=this;e.e.on(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.__onScroll).on("getStickyState.sticky",function(){return t.__isToolbarStuck})}},{key:"__onScroll",value:function(){var e=this.jodit;if(e.o.toolbarSticky&&e.o.toolbar){var t=e.ow.pageYOffset||e.od.documentElement&&e.od.documentElement.scrollTop||0,o=Yi(e.container,e,e.od,!0),n=e.getMode()===Qt&&t+e.o.toolbarStickyOffset>o.top&&t+e.o.toolbarStickyOffset<o.top+o.height&&!(e.o.toolbarDisableStickyForMobile&&this.__isMobile());if(this.__isToolbarStuck!==n){var r=e.toolbarContainer;r&&(n?this.addSticky(r):this.removeSticky(r)),e.e.fire("toggleSticky",n)}}}},{key:"__isMobile",value:function(){var e=this.j;return e&&e.options&&e.container&&e.options.sizeSM>=e.container.offsetWidth}},{key:"beforeDestruct",value:function(e){ii.safeRemove(this.__dummyBox),e.e.off(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.__onScroll).off(".sticky")}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(sS(Vf));(function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":lS(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);i>3&&a&&Object.defineProperty(t,o,a)})([Fa()],dS.prototype,"__onScroll",null),Sa.add("sticky",dS),Qn.prototype.usePopupForSpecialCharacters=!1,Qn.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","{","|","}","~","€","‘","’","“","”","–","—","¡","¢","£","¤","¥","¦","§","¨","©","ª","«","»","¬","®","¯","°","²","³","´","µ","¶","·","¸","¹","º","¼","½","¾","¿","À","Á","Â","Ã","Ä","Å","Æ","Ç","È","É","Ê","Ë","Ì","Í","Î","Ï","Ð","Ñ","Ò","Ó","Ô","Õ","Ö","×","Ø","Ù","Ú","Û","Ü","Ý","Þ","ß","à","á","â","ã","ä","å","æ","ç","è","é","ê","ë","ì","í","î","ï","ð","ñ","ò","ó","ô","õ","ö","÷","ø","ù","ú","û","ü","ý","þ","ÿ","Œ","œ","Ŵ","Ŷ","ŵ","ŷ","‚","‛","„","…","™","►","•","→","⇒","⇔","♦","≈"],sl.set("symbols",'<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> '),Qn.prototype.controls.symbols={hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup:function(e,t,o){var n=e.e.fire("generateSpecialCharactersTable.symbols");if(n){if(e.o.usePopupForSpecialCharacters){var r=e.c.div();return r.classList.add("jodit-symbols"),r.appendChild(n),e.e.on(n,"close_dialog",o),r}e.alert(n,"Select Special Character",void 0,"jodit-symbols").bindDestruct(e);var i=n.querySelector("a");i&&i.focus()}}};const fS={symbols:"\u0631\u0645\u0632"},pS={symbols:"symbol"},hS={symbols:"Symbol"},vS={symbols:"S\xedmbolo"},gS={symbols:"\u0633\u0645\u0628\u0644"},mS={symbols:"Symbolit"},bS={symbols:"caract\xe8re"},yS={symbols:"\u05ea\u05d5 \u05de\u05d9\u05d5\u05d7\u05d3"},_S={symbols:"Szimb\xf3lum"},jS={symbols:"simbol"},wS={symbols:"Simbolo"},kS={symbols:"symbol"},SS={symbols:"\uae30\ud638"},xS={symbols:"\u0442\u044d\u043c\u0434\u044d\u0433\u0442"},OS={symbols:"symbool"},CS={symbols:"symbol"},zS={symbols:"S\xedmbolo"},ES={symbols:"\u0441\u0438\u043c\u0432\u043e\u043b"},TS={symbols:"Sembol"},IS={symbols:"\u0441\u0438\u043c\u0432\u043e\u043b"},PS={symbols:"\u7b26\u53f7"},RS={symbols:"\u7b26\u865f"};function AS(e,t,o){return AS=DS()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&MS(r,o.prototype),r},AS.apply(null,arguments)}
1function LS(e){return LS=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},LS(e)}function MS(e,t){return MS=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},MS(e,t)}function BS(e){var t="function"==typeof Map?new Map:void 0;return BS=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return AS(e,arguments,LS(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),MS(n,e)},BS(e)}function DS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(DS=function(){return!!e})()}var NS=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=function(e,t,o){return t=LS(t),function(e,t){return!t||"object"!=((o=t)&&"undefined"!=typeof Symbol&&o.constructor===Symbol?"symbol":typeof o)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t;var o}(e,DS()?Reflect.construct(t,o||[],LS(e).constructor):t.apply(e,o))}(this,t,[e])).buttons=[{name:"symbols",group:"insert"}],o.__countInRow=17,Oa(Te),o}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&MS(e,t)}(t,e),o=[{key:"afterInit",value:function(e){var t=this;e.e.on("generateSpecialCharactersTable.symbols",function(){for(var o=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>'),n=o.querySelector(".jodit-symbols__preview"),r=o.querySelector("table").tBodies[0],i=[],a=0;a<e.o.specialCharacters.length;){for(var l=e.c.element("tr"),s=0;s<t.__countInRow&&a<e.o.specialCharacters.length;s+=1,a+=1){var c=e.c.element("td"),u=e.c.fromHTML('<a\n\t\t\t\t\t\t\t\t\tdata-index="'.concat(a,'"\n\t\t\t\t\t\t\t\t\tdata-index-j="').concat(s,'"\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>').concat(e.o.specialCharacters[a],"</a>"));i.push(u),c.appendChild(u),l.appendChild(c)}r.appendChild(l)}var d=t;return e.e.on(i,"focus",function(){n.innerHTML=this.innerHTML}).on(i,"mousedown",function(t){ii.isTag(this,"a")&&(e.s.focus(),e.s.insertHTML(this.innerHTML),(null==t?void 0:t.shiftKey)||e.e.fire(this,"close_dialog"),t&&t.preventDefault(),t&&t.stopImmediatePropagation())}).on(i,"mouseenter",function(){ii.isTag(this,"a")&&this.focus()}).on(i,"keydown",function(t){var o=t.target;if(ii.isTag(o,"a")){var n,r=parseInt(Gn(o,"-index")||"0",10),a=parseInt(Gn(o,"data-index-j")||"0",10);switch(t.key){case Ft:case Vt:n=t.key===Ft?r-d.__countInRow:r+d.__countInRow,void 0===i[n]&&(n=t.key===Ft?Math.floor(i.length/d.__countInRow)*d.__countInRow+a:a)>i.length-1&&(n-=d.__countInRow),i[n]&&i[n].focus();break;case qt:case Ht:n=t.key===Ht?r-1:r+1,void 0===i[n]&&(n=t.key===Ht?i.length-1:0),i[n]&&i[n].focus();break;case Bt:e.e.fire(o,"mousedown"),t.stopImmediatePropagation(),t.preventDefault()}}}),o})}},{key:"beforeDestruct",value:function(e){e.e.off("generateSpecialCharactersTable.symbols")}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(BS(Vf));function HS(e){return HS=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},HS(e)}
1function FS(e,t){return FS=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},FS(e,t)}function qS(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function VS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(VS=function(){return!!e})()}Sa.add("symbols",NS),Qn.prototype.aiAssistant={aiCommonPrefixPrompt:"",aiCommonSuffixPrompt:"",aiImproveWritingPrompt:"It needs to be refined for better clarity, coherence, and overall quality. Please enhance the writing style while keeping the original meaning and language intact.",aiMakeShorterPrompt:"Please condense this content to make it more concise, while preserving the key messages, language and information.",aiMakeLongerPrompt:"Expand on this content to provide more detail, depth, and richness, without diverging from the original message and language.",aiSimplifyLanguagePrompt:"The language used here needs to be simplified for easier understanding, without altering the core information and the original language.",aiSummarizePrompt:"Provide a brief summary of this content, capturing the essential points in a concise manner. Preserve the original language and meaning.",aiContinuePrompt:"Continue the narrative or discussion from this content seamlessly, maintaining the same language, tone and style.",aiChangeToneProfessionalPrompt:"Adjust the tone to be professional, suitable for a formal business or academic setting, while retaining the original message and language.",aiChangeToneFriendlyPrompt:"It needs to be rewritten in a friendly tone while maintaining the original message and language. Please modify this content to be warm, approachable, and engaging.",aiChangeToneFormalPrompt:"Transform this content to have a formal tone, appropriate for official or serious contexts, without changing the main points and language.",aiChangeToneCasualPrompt:"Revise this content to have a casual, relaxed tone, making it feel more personal and less formal, without changing the original meaning and language.",aiChangeToneDirectPrompt:"Make the tone more direct, with straightforward language and a clear, assertive approach, without changing the original meaning and language.",aiChangeToneConfidentPrompt:"Infuse this content with a confident tone, showcasing assurance and decisiveness, without changing the original meaning and language.",aiChangeStyleBusinessPrompt:"Rewrite this content with a business-oriented style, focusing on clarity, efficiency, and professionalism, without changing the original meaning and language.",aiChangeStyleLegalPrompt:"Adapt this content to a legal style, incorporating appropriate terminology and formality typical of legal documents, without changing the original meaning and language.",aiChangeStyleJournalismPrompt:"Convert this content into a journalistic style, emphasizing factual accuracy, objectivity, and informative reporting, without changing the original meaning and language.",aiChangeStylePoeticPrompt:"Recreate this content with a poetic style, using expressive language, rhythm, and imagery to convey the message, without changing the original meaning and language.",aiTranslateToSpanishPrompt:"Translate this content into Spanish, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToFrenchPrompt:"Translate this content into French, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToGermanPrompt:"Translate this content into German, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToItalianPrompt:"Translate this content into Italian, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToPortuguesePrompt:"Translate this content into Portuguese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToEnglishPrompt:"Translate this content into English, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToChinesePrompt:"Translate this content into Chinese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToJapanesePrompt:"Translate this content into Japanese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToKoreanPrompt:"Translate this content into Korean, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToRussianPrompt:"Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToArabicPrompt:"Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning."},sl.set("ai-assistant",'<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <g transform="scale(1.2 1.2) translate(-2 -0.5)"> <path d="M 22,12.5 A 1.49995,1.49995 0 0 0 20.50006,11 H 20 V 10 A 3,3 0 0 0 17,7 H 13 V 5.7226 a 2,2 0 1 0 -2,0 V 7 H 7 a 3,3 0 0 0 -3,3 v 1 H 3.49994 a 1.5,1.5 0 0 0 0,3 H 4 v 1 A 3.00128,3.00128 0 0 0 6.20251,
117.89282 1.03113,1.03113 0 0 1 7,18.86975 v 0.716 a 0.99928,0.99928 0 0 0 1.00726,1.002 0.9792,0.9792 0 0 0 0.69983,-0.29486 l 2,-2 A 1,1 0 0 1 11.41425,18 H 17 a 3,3 0 0 0 3,-3 v -1 h 0.50006 A 1.49995,1.49995 0 0 0 22,12.5 Z M 19,15 a 2.00226,2.00226 0 0 1 -2,2 H 11.41425 A 1.987,1.987 0 0 0 10,17.58575 l -2,2 v -0.716 A 2.02082,2.02082 0 0 0 6.46771,16.92865 2.00439,2.00439 0 0 1 5,15 V 10 A 2.00226,2.00226 0 0 1 7,8 h 10 a 2.00222,2.00222 0 0 1 2,2 z M 10,12.5 A 1.5,1.5 0 1 1 8.5,11 1.5,1.5 0 0 1 10,12.5 Z m 7,0 A 1.5,1.5 0 1 1 15.5,11 1.5,1.5 0 0 1 17,12.5 Z"/> </g> </svg> '),sl.set("ai-commands",'<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 270 270"> <path d="M 255.9537,58.150081 237.69527,40.997278 c -1.49414,-1.375593 -3.43653,-2.077427 -5.37891,-2.077427 -1.94239,0 -3.88478,0.701834 -5.37892,2.077427 L 29.919751,226.1128 c -2.988286,2.77926 -2.988286,7.32714 0,10.13447 L 48.148295,253.372 c 1.46426,1.37559 3.406646,2.1055 5.378915,2.1055 1.972268,0 3.884771,-0.72991 5.378914,-2.1055 L 221.34935,100.73732 255.9537,68.284552 c 2.9584,-2.807333 2.9584,-7.355212 0,-10.134471 z M 251.17244,63.79282 221.34935,91.781927 201.89561,73.506191 231.68882,45.48901 c 0.20918,-0.140367 0.38847,-0.224587 0.62754,-0.224587 0.23906,0 0.44824,0.08422 0.59765,0.224587 l 18.25843,17.152803 c 0,0 0.23906,0.33688 0.23906,0.561467 0,0.224586 -0.0896,0.4211 -0.23906,0.58954 z" style="stroke-width:2.8964;stroke-opacity:1" /> <path d="m 48.626421,116.87948 10.578532,23.10435 c 0.83672,1.82477 3.615826,1.85284 4.452546,0 l 10.937126,-23.52545 c 2.629692,-5.69888 7.470715,-10.24676 13.536935,-12.71722 l 25.07172,-10.274833 c 1.94239,-0.786053 1.94239,-3.396873 0,-4.182926 L 88.13156,79.008563 C 82.06534,76.53811 77.224317,71.990231 74.594625,66.291346 L 63.657499,42.737824 c -0.83672,-1.824766 -3.615826,-1.824766 -4.452546,0 L 48.267826,66.291346 C 45.638135,71.990231 40.797112,76.53811 34.730891,79.008563 L 9.6292894,89.311474 c -1.9423859,0.786054 -1.9423859,3.3688 0,4.182926 l 25.5498446,10.61172 c 6.036338,2.49852 10.847478,7.07448 13.477169,12.77336 z" style="stroke-width:2.8964;fill-opacity:1;stroke-opacity:1" /> <path d="m 111.79878,33.136746 13.56682,5.642739 c 3.19747,1.319446 5.76739,3.761826 7.14201,6.793745 l 5.61797,12.268044 c 0.44825,0.982567 1.91251,0.982567 2.36075,0 l 5.79727,-12.492631 c 1.4045,-3.031919 3.97442,-5.446225 7.20177,-6.765672 l 13.29788,-5.446225 c 1.0459,-0.4211 1.0459,-1.796693 0,-2.217793 l -13.29788,-5.446225 c -3.22735,-1.319447 -5.79727,-3.733753 -7.20177,-6.765672 L 140.48633,6.2144248 c -0.44824,-0.9825664 -1.9125,-0.9825664 -2.36075,0 l -5.79727,12.4926312 c -1.4045,3.031919 -3.97442,5.446225 -7.20177,6.765672 l -13.32776,5.474298 c -1.01601,0.4211 -1.0459,1.796693 0,2.217793 z" style="stroke-width:2.8964;fill-opacity:1" /> <path d="m 233.09331,192.98627 -14.13459,-5.7831 c -3.40665,-1.40367 -6.12599,-3.95834 -7.62013,-7.1587 l -6.15587,-13.27868 c -0.47813,-1.03872 -2.03203,-1.03872 -2.51016,0 l -6.15587,13.27868 c -1.49414,3.20036 -4.21348,5.75503 -7.62013,7.1587 l -14.13459,5.81118 c -1.10567,0.44917 -1.10567,1.90898 0,2.35816 l 14.40354,5.97961 c 3.40664,1.40367 6.12598,3.98642 7.59024,7.21485 l 5.97658,13.02602 c 0.47812,1.03872 2.03203,1.03872 2.51016,0 l 6.15586,-13.25061 c 1.49415,-3.20036 4.21349,-5.75503 7.62013,-7.1587 l 14.1346,-5.7831 c 1.10566,-0.44917 1.10566,-1.90899 0,-2.35816 z" style="stroke-width:2.8964;stroke-opacity:1" /> </svg> '),Qn.prototype.controls["ai-commands"]={isDisabled:function(e){return!e.o.aiAssistant.aiAssistantCallback},tooltip:"AI Commands",list:{aiImproveWritingPrompt:"Improve writing",aiMakeShorterPrompt:"Make shorter",aiMakeLongerPrompt:"Make longer",aiSimplifyLanguagePrompt:"Simplify language",aiSummarizePrompt:"Summarize",aiContinuePrompt:"Continue",aiChangeToneProfessionalPrompt:"Change tone to professional",aiChangeToneFriendlyPrompt:"Change tone to friendly",aiChangeToneFormalPrompt:"Change tone to formal",aiChangeToneCasualPrompt:"Change tone to casual",aiChangeToneDirectPrompt:"Change tone to direct",aiChangeToneConfidentPrompt:"Change tone to confident",aiChangeStyleBusinessPrompt:"Change style to business",aiChangeStyleLegalPrompt:"Change style to legal",aiChangeStyleJournalismPrompt:"Change style of journalism",aiChangeStylePoeticPrompt:"Change style to poetic",aiTranslateToSpanishPrompt:"Translate to Spanish",aiTranslateToFrenchPrompt:"Translate to French",aiTranslateToGermanPrompt:"Translate to German",aiTranslateToItalianPrompt:"Translate to Italian",aiTranslateToPortuguesePrompt:"Translate to Portuguese",aiTranslateToEnglishPrompt:"Translate to English",aiTranslateToChinesePrompt:"Translate to Chinese",aiTranslateToJapanesePrompt:"Translate to Japanese",aiTranslateToKoreanPrompt:"Translate to Korean",aiTranslateToRussianPrompt:"Translate to Russian",aiTranslateToArabicPrompt:"Translate to Arabic"},exec:function(e,t,o){var n=o.control;e.e.fire("generateAiAssistantForm.ai-assistant",n.name)}},Qn.prototype.controls["ai-assistant"]={isDisabled:function(e){return!e.o.aiAssistant.aiAssistantCallback},hotkeys:["ctrl+a+i","cmd+a+i"],tooltip:"AI Assistant",exec:function(e,t,o){e.e.fire("generateAiAssistantForm.ai-assistant")}};var WS=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;
1if("object"===("undefined"==typeof Reflect?"undefined":qS(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},US=function(e){function t(e,o){var n,r=o.onInsert,i=o.onInsertAfter;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t,o){return t=HS(t),function(e,t){return!t||"object"!==qS(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,VS()?Reflect.construct(t,o||[],HS(e).constructor):t.apply(e,o))}(this,t,[e])).__aiResult="",n.__error=n.getElm("error"),n.__body=n.getElm("body"),n.__buttons=n.getElm("buttons"),n.__results=n.getElm("results"),n.__spinner=n.getElm("spinner"),n.__insertButton=as(e,"","Insert","primary").onAction(function(){return r(n.__aiResult)}),n.__insertAfterButton=as(e,"","Insert After","initial").onAction(function(){return i(n.__aiResult)});var a=function(){n.__formAiAssistant.validate()&&(n.__formAiAssistant.submit(),n.__toggleInsertButton(!0),n.__toggleSubmitButton(!0))};n.__submitButton=as(e,"ai-assistant","").onAction(a),n.__tryAgainButton=as(e,"update","","initial").onAction(a),n.promptInput=new cc(e,{name:"prompt",required:!0,label:"Prompt",placeholder:"Ask AI to improve generated text",className:n.getFullElName("prompt-row-input")});var l=new Cs(e,[n.__insertButton,n.__insertAfterButton,n.__tryAgainButton],{className:n.getFullElName("prompt-row")});return n.__formAiAssistant=new ec(e,[new Cs(e,[n.promptInput,n.__submitButton],{className:n.getFullElName("prompt-row")})]).onSubmit(function(t){n.__error.textContent="",n.setMod("loading",!0),e.e.fire("invokeAiAssistant",t.prompt);var o=n.getFullElName("","hide","true");n.__results.classList.remove(o),n.__buttons.classList.remove(o),ii.detach(n.__results),n.__results.appendChild(n.__spinner),n.__insertButton.focus()}),n.__buttons.appendChild(l.container),n.__body.appendChild(n.__formAiAssistant.container),n.onChangePromptValue(),n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&FS(e,t)}(t,e),o=[{key:"className",value:function(){return"UIAiAssistant"}},{key:"render",value:function(){return'<div>\n\t\t\t\t<div class="&__container">\n\t\t\t\t\t\t<div class="&__error"></div>\n\t\t\t\t\t\t<div class="&__body"></div>\n\t\t\t\t\t\t<div class="&__buttons &_hide_true"></div>\n\t\t\t\t\t\t<div class="&__results &_hide_true">\n\t\t\t\t\t\t\t\t<div class="&__spinner"></div>\n\t\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t</div>'}},{key:"setPrompt",value:function(e){if(e){var t=this.jodit,o=t.o.aiAssistant[e],n=t.o.aiAssistant,r=n.aiCommonPrefixPrompt,i=n.aiCommonSuffixPrompt;this.promptInput.value=[r,Io(o)?o:"",i].filter(Boolean).join(" "),this.__toggleInsertButton(!0),this.promptInput.value&&(this.__formAiAssistant.submit(),this.__toggleSubmitButton(!0))}this.promptInput.focus()}},{key:"onAiAssistentResponse",value:function(e){this.setMod("loading",!1),ii.detach(this.__results),this.__aiResult=e,this.__results.appendChild(this.jodit.c.fromHTML(e)),this.__toggleSubmitButton(!1),this.__toggleInsertButton(!1)}},{key:"onAiAssistentError",value:function(e){this.__aiResult="",this.setMod("loading",!1),this.__error.textContent=e,ii.detach(this.__results),this.__toggleSubmitButton(!1);var t=this.getFullElName("","hide","true");this.__results.classList.add(t),this.__toggleInsertButton(!0)}},{key:"onChangePromptValue",value:function(){this.__toggleSubmitButton(!this.promptInput.value)}},{key:"__toggleSubmitButton",value:function(e){this.__submitButton.state.disabled=e,this.__tryAgainButton.state.disabled=e}},{key:"__toggleInsertButton",value:function(e){this.__insertButton.state.disabled=e,this.__insertAfterButton.state.disabled=e}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(gl);WS([va(":ai-assistant-response")],US.prototype,"onAiAssistentResponse",null),WS([va(":ai-assistant-error")],US.prototype,"onAiAssistentError",null),WS([va("promptInput:change")],US.prototype,"onChangePromptValue",null),US=WS([pi],US);const YS={aiAssistant:"AI Assistant",aiCommands:"AI Commands","AI Assistant":"AI Assistant",Prompt:"Prompt","Ask AI to improve generated text":"Ask AI to improve generated text",Submit:"Submit"},KS={aiAssistant:"Asistente de IA",aiCommands:"Comandos de IA","AI Assistant":"Asistente de IA","AI Commands":"Comandos de IA","Improve writing":"Mejorar escritura","Make shorter":"Hacer m\xe1s corto","Make longer":"Hacer m\xe1s largo","Simplify language":"Simplificar lenguaje",Summarize:"Resumir",Continue:"Continuar",Prompt:"Solicitud",Insert:"Insertar","Insert After":"Insertar despu\xe9s","Try Again":"Intentar de nuevo","Ask AI to improve generated text":"Pida a la IA que mejore el texto generado","Change tone to professional":"Cambiar tono a profesional","Change tone to friendly":"Cambiar tono a am
1igable","Change tone to formal":"Cambiar tono a formal","Change tone to casual":"Cambiar tono a casual","Change tone to direct":"Cambiar tono a directo","Change tone to confident":"Cambiar tono a confiado","Change tone to business":"Cambiar tono a empresarial","Change style to legal":"Cambiar estilo a legal","Change style to journalism":"Cambiar estilo a period\xedstico","Change style to poetic":"Cambiar estilo a po\xe9tico","Translate to Spanish":"Traducir al espa\xf1ol","Translate to French":"Traducir al franc\xe9s","Translate to German":"Traducir al alem\xe1n","Translate to Italian":"Traducir al italiano","Translate to Portuguese":"Traducir al portugu\xe9s","Translate to English":"Traducir al ingl\xe9s","Translate to Chinese":"Traducir al chino","Translate to Japanese":"Traducid al japon\xe9s","Translate to Korean":"Traducir al coreano","Translate to Russian":"Traducir al ruso","Translate to Arabic":"Traducir al \xe1rabe",Submit:"Enviar"};function GS(e,t,o,n,r,i,a){try{var l=e[i](a),s=l.value}catch(e){return void o(e)}l.done?t(s):Promise.resolve(s).then(n,r)}function JS(e,t,o){return JS=ex()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&ZS(r,o.prototype),r},JS.apply(null,arguments)}function XS(e){return XS=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},XS(e)}function ZS(e,t){return ZS=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ZS(e,t)}function QS(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function $S(e){var t="function"==typeof Map?new Map:void 0;return $S=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return JS(e,arguments,XS(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),ZS(n,e)},$S(e)}function ex(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ex=function(){return!!e})()}var tx=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":QS(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},ox=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=function(e,t,o){return t=XS(t),function(e,t){return!t||"object"!==QS(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,ex()?Reflect.construct(t,o||[],XS(e).constructor):t.apply(e,o))}(this,t,[e])).buttons=[{name:"ai-commands",group:"insert"},{name:"ai-assistant",group:"insert"}],Oa(Re),o}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ZS(e,t)}(t,e),o=[{key:"__dialog",get:function(){return this.jodit.dlg({buttons:["fullsize","dialog.close"],closeOnClickOverlay:!0,closeOnEsc:!0,resizable:!1,draggable:!0,minHeight:160})}},{key:"__container",get:function(){var e=this.jodit,t=this.__dialog;return new US(e,{onInsertAfter:function(o){e.s.focus(),e.s.setCursorAfter(e.s.current()),e.s.insertHTML(o),t.close()},onInsert:function(o){e.s.focus(),e.s.insertHTML(o),t.close()}})}},{key:"afterInit",value:function(){}},{key:"onGenerateAiAssistantForm",value:function(e){this.__dialog.open(this.__container,"AI Assistant"),this.__container.setPrompt(e)}},{key:"onInvokeAiAssistant",value:function(e){var t=this.jodit;t.s.focus();var o=t.s.html;t.async.promise(function(){var n,r=(n=function(n,r){var i,a;return function(e,t){var o,n,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]}
1,trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,n&&(r=2&i[0]?n.return:i[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,i[1])).done)return r;switch(n=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{o=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}(this,function(l){switch(l.label){case 0:return l.trys.push([0,2,,3]),[4,t.o.aiAssistant.aiAssistantCallback(e,o)];case 1:return i=l.sent(),n(i),[3,3];case 2:return a=l.sent(),r(a),[3,3];case 3:return[2]}})},function(){var e=this,t=arguments;return new Promise(function(o,r){var i=n.apply(e,t);function a(e){GS(i,o,r,a,l,"next",e)}function l(e){GS(i,o,r,a,l,"throw",e)}a(void 0)})});return function(e,t){return r.apply(this,arguments)}}()).then(function(e){t.e.fire("ai-assistant-response",e)}).catch(function(e){No(e)||(t.message.error(e.message),t.e.fire("ai-assistant-error",e.message))})}},{key:"beforeDestruct",value:function(e){var t,o;null===(t=ai(this,"__container"))||void 0===t||t.destruct(),null===(o=ai(this,"__dialog"))||void 0===o||o.destruct()}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}($S(Vf));function nx(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function rx(e,t,o){return rx=cx()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&ax(r,o.prototype),r},rx.apply(null,arguments)}function ix(e){return ix=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ix(e)}function ax(e,t){return ax=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ax(e,t)}function lx(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function sx(e){var t="function"==typeof Map?new Map:void 0;return sx=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return rx(e,arguments,ix(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),ax(n,e)},sx(e)}function cx(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cx=function(){return!!e})()}tx([li],ox.prototype,"__dialog",null),tx([li],ox.prototype,"__container",null),tx([va(":generateAiAssistantForm.ai-assistant")],ox.prototype,"onGenerateAiAssistantForm",null),tx([va(":invokeAiAssistant")],ox.prototype,"onInvokeAiAssistant",null),Sa.add("ai-assistant",ox),Qn.prototype.tab={tabInsideLiInsertNewList:!0};var ux=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":lx(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},dx=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e=this,n=arguments,o=ix(o=t),function(e,t){return!t||"object"!==lx(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,cx()?Reflect.construct(o,n||[],ix(e).constructor):o.apply(e,n));var e,o,n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ax(e,t)}(t,e),(o=[{key:"afterInit",value:function(e){}},{key:"__onTab",value:function(e){if(e.key===Mt&&this.__onShift(e.shiftKey))return!1}},{key:"__onCommand",value:function(e){if(("indent"===e||"outdent"===e)&&this.__onShift("outdent"===e))return!1}},{key:"__onShift",value:function(e){var t=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e.o.tab.tabInsideLiInsertNewList)return!1;var o=function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,r=[],i=!0,a=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(r.push(o.value),2!==r.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==t.return||t.return()}finally{if(a)throw n}}return r}}(e)||function(e){if(e){if("string"==typeof e)return nx(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?nx(e,2):void 0}}
1(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(function(e){var t=e.createInside.fake(),o=e.createInside.fake(),n=e.s.range.cloneRange();n.collapse(!0),n.insertNode(t);var r=e.s.range.cloneRange();return r.collapse(!1),r.insertNode(o),[t,o]}(e)),n=o[0],r=o[1];try{var i=function(e,t,o){var n=ii.closest(t,"li",e.editor);return!!n&&!(!o&&!ii.isLeaf(n.previousElementSibling))&&!(o&&!ii.closest(n,"li",e.editor))&&n}(e,n,t);if(!i)return!1;if(!function(e,t,o){var n=ii.closest(o,"li",t.editor);return!(!n||n!==e&&!e.contains(n))}(i,e,n))return!1;var a=ii.closest(i,["ol","ul"],e.editor);return!(!a||t&&!ii.closest(a,"li",e.editor)||(t?function(e,t,o){var n=ii.closest(t,"li",e.editor);Kn(n,"tab parent li is null");var r=Array.from(t.children).filter(function(e){return ii.isLeaf(e)});ii.after(n,o);var i=r.indexOf(o);if(0!==i&&1!==r.length||ii.safeRemove(t),i!==r.length-1){var a=t.cloneNode();ii.append(o,a);for(var l=i+1;l<r.length;l+=1)ii.append(a,r[l])}}(e,a,i):function(e,t,o){var n=o.previousElementSibling;Kn(n,"tab previousElementSibling is null");var r=n.lastElementChild,i=ii.isTag(r,t.tagName)?r:e.createInside.element(t.tagName,Array.from(t.attributes).reduce(function(e,t){return e[t.name]=t.value,e},{}));i.appendChild(o),r!==i&&n.appendChild(i)}(e,a,i),0))}finally{var l=e.s.createRange();l.setStartAfter(n),l.setEndBefore(r),e.s.selectRange(l),ii.safeRemove(n),ii.safeRemove(r)}}(this.j,e);return t&&this.j.e.fire("afterTab",e),t}},{key:"beforeDestruct",value:function(e){}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(sx(Vf));function fx(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}ux([va(":keydown.tab")],dx.prototype,"__onTab",null),ux([va(":beforeCommand.tab")],dx.prototype,"__onCommand",null),Sa.add("tab",dx);var px=new Set([Mt,Ht,qt,Ft,Vt]);function hx(e,t,o){return hx=yx()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&mx(r,o.prototype),r},hx.apply(null,arguments)}function vx(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function gx(e){return gx=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},gx(e)}function mx(e,t){return mx=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},mx(e,t)}function bx(e){var t="function"==typeof Map?new Map:void 0;return bx=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return hx(e,arguments,gx(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),mx(n,e)},bx(e)}function yx(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yx=function(){return!!e})()}Sa.add("tableKeyboardNavigation",function(e){e.e.off(".tableKeyboardNavigation").on("keydown.tableKeyboardNavigation",function(t){var o=t.key,n=function(e,t){if(px.has(t)){var o=e.s.current();if(o){var n=ii.up(o,ii.isCell,e.editor);if(n){var r=e.s.range;if(t!==Mt&&o!==n){var i=t===qt||t===Vt,a=ir(i?ii.next:ii.prev,o,function(e){return t===Ft||t===Vt?ii.isTag(e,"br"):Boolean(e)},n);if(!i&&(a||t!==Ft&&ii.isText(o)&&0!==r.startOffset)||i&&(a||t!==Vt&&ii.isText(o)&&o.nodeValue&&r.startOffset!==o.nodeValue.length))return}return n}}}}(e,o);if(n){var r=e.getInstance(mp,e.o),i=ii.closest(n,"table",e.editor),a=null,l=o===Ht||t.shiftKey,s=function(){return ir(l?ii.prev:ii.next,n,ii.isCell,i)};switch(o){case Mt:case Ht:(a=s())||(r.appendRow(i,!!l&&i.querySelector("tr"),!l),a=s());break;case Ft:case Vt:var c=r.formalMatrix(i),u=function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,r=[],i=!0,a=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(r.push(o.value),2!==r.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==t.return||t.return()}finally{if(a)throw n}}return r}}(e)||function(e){if(e){if("string"==typeof e)return fx(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?fx(e,2):void 0}}
1(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(r.formalCoordinate(i,n)),d=u[0],f=u[1];o===Ft?void 0!==c[d-1]&&(a=c[d-1][f]):void 0!==c[d+1]&&(a=c[d+1][f])}if(a){if(e.e.fire("hidePopup hideResizer"),a.firstChild)o===Mt?e.s.select(a,!0):e.s.setCursorIn(a,o===qt||o===Vt);else{var p=e.createInside.element("br");a.appendChild(p),e.s.setCursorBefore(p)}return e.synchronizeValues(),!1}}})}),Qn.prototype.video={parseUrlToVideoEmbed:br,defaultWidth:400,defaultHeight:345},sl.set("video",'<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> '),Qn.prototype.controls.video={popup:function(e,t,o){var n=new ec(e,[new Cs(e,[new Ns(e,{name:"url",required:!0,label:"URL",placeholder:"https://",validators:["url"]})]),new Cs(e,[as(e,"","Insert","primary").onAction(function(){return n.submit()})])]),r=new ec(e,[new Cs(e,[new cc(e,{name:"code",required:!0,label:"Embed code"})]),new Cs(e,[as(e,"","Insert","primary").onAction(function(){return r.submit()})])]),i=[],a=function(t){e.s.restore(),e.s.insertHTML(t),o()};return e.s.save(),i.push({icon:"link",name:"Link",content:n.container},{icon:"source",name:"Code",content:r.container}),n.onSubmit(function(t){var o,n,r,i;a(ir(null!==(n=null===(o=e.o.video)||void 0===o?void 0:o.parseUrlToVideoEmbed)&&void 0!==n?n:br,t.url,{width:null===(r=e.o.video)||void 0===r?void 0:r.defaultWidth,height:null===(i=e.o.video)||void 0===i?void 0:i.defaultHeight}))}),r.onSubmit(function(e){a(e.code)}),Vv(e,i)},tags:["iframe"],tooltip:"Insert youtube/vimeo video"},Sa.add("video",function(e){e.registerButton({name:"video",group:"media"})}),Qn.prototype.showXPathInStatusbar=!0;var _x=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=gx(t),function(e,t){return!t||"object"!=((o=t)&&"undefined"!=typeof Symbol&&o.constructor===Symbol?"symbol":typeof o)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t;var o}(e,yx()?Reflect.construct(t,o||[],gx(e).constructor):t.apply(e,o))}(this,t,arguments)).onContext=function(t,o){return e.menu||(e.menu=new Td(e.j)),e.menu.show(o.clientX,o.clientY,[{icon:"bin",title:t===e.j.editor?"Clear":"Remove",exec:function(){t!==e.j.editor?ii.safeRemove(t):e.j.value="",e.j.synchronizeValues()}},{icon:"select-all",title:"Select",exec:function(){e.j.s.select(t)}}]),!1},e.onSelectPath=function(t,o){e.j.s.focus();var n=Gn(o.target,"-path")||"/";if("/"===n)return e.j.execCommand("selectall"),!1;try{var r=e.j.ed.evaluate(n,e.j.editor,null,XPathResult.ANY_TYPE,null).iterateNext();if(r)return e.j.s.select(r),!1}catch(e){}return e.j.s.select(t),!1},e.tpl=function(t,o,n,r){var i=e.j.c.fromHTML('<span class="jodit-xpath__item"><a role="button" data-path="'.concat(o,'" title="').concat(r,'" tabindex="-1"\'>').concat(dn(n),"</a></span>")),a=i.firstChild;return e.j.e.on(a,"click",e.onSelectPath.bind(e,t)).on(a,"contextmenu",e.onContext.bind(e,t)),i},e.removeSelectAll=function(){e.selectAllButton&&(e.selectAllButton.destruct(),delete e.selectAllButton)},e.appendSelectAll=function(){e.removeSelectAll(),e.selectAllButton=td(e.j,function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},n=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(o).filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable}))),n.forEach(function(t){vx(e,t,o[t])})}return e}({name:"selectall"},e.j.o.controls.selectall)),e.selectAllButton.state.size="tiny",e.container&&e.container.insertBefore(e.selectAllButton.container,e.container.firstChild)},e.calcPathImd=function(){if(!e.isDestructed){var t,o,n,r=e.j.s.current();e.container&&(e.container.innerHTML=bt),r&&ii.up(r,function(r){!r||e.j.editor===r||ii.isText(r)||ii.isComment(r)||(t=r.nodeName.toLowerCase(),o=Kr(r,e.j.editor).replace(/^\//,""),n=e.tpl(r,o,t,e.j.i18n("Select %s",t)),e.container&&e.container.insertBefore(n,e.container.firstChild))}
1,e.j.editor),e.appendSelectAll()}},e.calcPath=e.j.async.debounce(e.calcPathImd,2*e.j.defaultTimeout),e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mx(e,t)}(t,e),(o=[{key:"afterInit",value:function(){var e=this;this.j.o.showXPathInStatusbar&&(this.container=this.j.c.div("jodit-xpath"),this.j.e.off(".xpath").on("mouseup.xpath change.xpath keydown.xpath changeSelection.xpath",this.calcPath).on("afterSetMode.xpath afterInit.xpath changePlace.xpath",function(){e.j.o.showXPathInStatusbar&&e.container&&(e.j.statusbar.append(e.container),e.j.getRealMode()===Qt?e.calcPath():(e.container&&(e.container.innerHTML=bt),e.appendSelectAll()))}),this.calcPath())}},{key:"beforeDestruct",value:function(){this.j&&this.j.events&&this.j.e.off(".xpath"),this.removeSelectAll(),this.menu&&this.menu.destruct(),ii.safeRemove(this.container),delete this.menu,delete this.container}}])&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(bx(Vf));Sa.add("xpath",_x);var jx=Ot?Ot.SpeechRecognition||Ot.webkitSpeechRecognition:void 0;function wx(e,t,o){return wx="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,o){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=kx(e)););return e}(e,t);if(n){var r=Object.getOwnPropertyDescriptor(n,t);return r.get?r.get.call(o||e):r.value}},wx(e,t,o||e)}function kx(e){return kx=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},kx(e)}
1function Sx(e,t){return Sx=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Sx(e,t)}function xx(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Ox(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ox=function(){return!!e})()}var Cx=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"===("undefined"==typeof Reflect?"undefined":xx(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},zx=function(e){function t(e,o){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t,o){return t=kx(t),function(e,t){return!t||"object"!==xx(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,Ox()?Reflect.construct(t,[],kx(e).constructor):t.apply(e,o))}(this,t)).async=e,n._continuous=!1,n._interimResults=!1,n.sound=!0,n._isEnabled=!1,n._restartTimeout=0,n._onSpeechStart=function(e){n._isEnabled&&(n.async.clearTimeout(n._restartTimeout),n._restartTimeout=n.async.setTimeout(function(){n.restart(),n.emit("pulse",!1),n._makeSound(940)},5e3),n.emit("pulse",!0))},n.__interimResults="",n._api=o,t._instances.add(n),n}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sx(e,t)}(t,e),o=[{key:"lang",get:function(){return this._lang},set:function(e){this._lang=e,this._api.lang=e}},{key:"continuous",get:function(){return this._continuous},set:function(e){this._continuous=e,this._api.continuous=e}},{key:"interimResults",get:function(){return this._interimResults},set:function(e){this._interimResults=e,this._api.interimResults=e}},{key:"destruct",value:function(){this.stop(),t._instances.delete(this),wx(kx(t.prototype),"destruct",this).call(this)}},{key:"isEnabled",get:function(){return this._isEnabled}},{key:"start",value:function(){var e=this;if(!this._isEnabled){this._isEnabled=!0,t._instances.forEach(function(t){t!==e&&t.stop()});try{this._api.start()}catch(e){return this._onError(e),void this.stop()}this.__on("speechstart",this._onSpeechStart).__on("error",this._onError).__on("result",this._onProgress).__on("end",this._onResults)}}},{key:"stop",value:function(){this._isEnabled&&(this._api.abort(),this._api.stop(),this.__off("speechstart",this._onSpeechStart).__off("error",this._onError).__off("result",this._onProgress).__off("end",this._onResults),this.async.clearTimeout(this._restartTimeout),this._isEnabled=!1,this.emit("pulse",!1))}},{key:"toggle",value:function(){this._isEnabled?this.stop():this.start()}},{key:"restart",value:function(){this.stop(),this.start()}},{key:"__on",value:function(e,t){return this._api.addEventListener(e,t),this}},{key:"__off",value:function(e,t){return this._api.removeEventListener(e,t),this}},{key:"_onResults",value:function(e){this.emit("pulse",!1),this.emit("result",this.__interimResults),this.__interimResults="",this._makeSound(440),this.restart()}},{key:"_onProgress",value:function(e){if(this._isEnabled&&(this.__interimResults="",e.results)){for(var t=0;t<e.results.length;t++){var o=e.results.item(t);if(o.length){var n=o.item(0).transcript;this.__interimResults+=n}}this.__interimResults&&this.emit("progress",this.__interimResults)}}},{key:"_onError",value:function(e){"voice-unavailable"===e.error&&this.emit("error","Voice unavailable"),"not-allowed"===e.error&&this.emit("error","Not allowed"),"language-unavailable"!==e.error&&"language-not-supported"!==e.error||this.emit("error","Language unavailable"),this._makeSound(940),this.emit("pulse",!1),this.stop()}},{key:"_makeSound",value:function(e){this.sound&&function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.sec,o=void 0===t?.1:t,n=e.frequency,r=void 0===n?440:n,i=e.gain,a=void 0===i?.1:i,l=e.type,s=void 0===l?"sine":l;if(Ot&&(void 0!==Ot.AudioContext||void 0!==Ot.webkitAudioContext)){var c=new(Ot.AudioContext||Ot.webkitAudioContext),u=c.createGain(),d=c.createOscillator();d.type=s,d.frequency.value=r,d.connect(u),u.connect(c.destination),d.start(),d.stop(c.currentTime+o),u.gain.value=a}}({frequency:e})}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(vn);function Ex(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}zx._instances=new Set,Cx([Co],zx.prototype,"_onResults",null),Cx([Co],zx.prototype,"_onProgress",null),Cx([Co],zx.prototype,"_onError",null),Qn.prototype.speechRecognize={api:void 0!==jx?jx:null,
1sound:!0,continuous:!1,interimResults:!0,commands:{"newline|enter":"enter","delete|remove word|delete word":"backspaceWordButton",comma:"inserthtml::,",underline:"inserthtml::_",hyphen:"inserthtml::-",space:"inserthtml:: ",question:"inserthtml::?",dot:"inserthtml::.","quote|quotes|open quote":"inserthtml::'","header|header h1":"formatblock::h1","select all":"selectall"}},sl.set("speech-recognize",'<svg viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <path d="M8,11c1.657,0,3-1.343,3-3V3c0-1.657-1.343-3-3-3S5,1.343,5,3v5C5,9.657,6.343,11,8,11z"/> <path d="M13,8V6h-1l0,1.844c0,1.92-1.282,3.688-3.164,4.071C6.266,12.438,4,10.479,4,8V6H3v2c0,2.414,1.721,4.434,4,4.899V15H5v1h6 v-1H9v-2.101C11.279,12.434,13,10.414,13,8z"/> </svg> '),Qn.prototype.controls.speechRecognize={isVisible:function(e){return Boolean(e.o.speechRecognize.api)},isActive:function(e,t){var o=nr(e,"speech");return Boolean(null==o?void 0:o.isEnabled)},isDisabled:function(e){return!e.o.speechRecognize.api},exec:function(e,t,o){var n,r=o.button,i=o.control,a=e.o.speechRecognize,l=a.api,s=a.lang,c=a.continuous,u=a.interimResults,d=a.sound;if(l){var f=nr(e,"speech");if(!f){var p=new l;(f=new zx(e.async,p)).lang=Io(s)?s:null!==(n=Gn(e.od.documentElement,"lang"))&&void 0!==n?n:void 0,f.continuous=c,f.interimResults=u,f.sound=d,nr(e,"speech",f),f.on("pulse",function(e){r.setMod("pulse",e)}),f.on("result",function(t){return e.e.fire("speechRecognizeResult",t)}),f.on("progress",function(t){return e.e.fire("speechRecognizeProgressResult",t)}),f.on("error",function(t){return e.message.error(t)}),r.hookStatus("beforeDestruct",function(){nr(e,"speech",null),f.destruct()})}if(i.args){var h=i.args[0];
1if(Ho(f[h]))return f[h]=!f[h],void(f.isEnabled&&f.restart())}f.toggle(),f.isEnabled&&r.setMod("pulse",!0),r.state.activated=f.isEnabled}else e.alert("Speech recognize API unsupported in your browser")},name:"speechRecognize",command:"toggleSpeechRecognize",tooltip:"Speech Recognize",list:{sound:"Sound",interimResults:"Interim Results"},childTemplate:function(e,t,o){var n,r=nr(e,"speech"),i=null!==(n=null==r?void 0:r[t])&&void 0!==n?n:e.o.speechRecognize[t];return"<span class='jodit-speech-recognize__list-item'><input ".concat(i?"checked":""," class='jodit-checkbox' type='checkbox'> ").concat(o,"</span>")},mods:{stroke:!1}};const Tx={newline:"\u0627\u0644\u062e\u0637 \u0627\u0644\u062c\u062f\u064a\u062f",delete:"\u062d\u0630\u0641",space:"\u0627\u0644\u0641\u0636\u0627\u0621","Speech Recognize":"\u0627\u0644\u062a\u0639\u0631\u0641 \u0639\u0644\u0649 \u0627\u0644\u0643\u0644\u0627\u0645",Sound:"\u0627\u0644\u0635\u0648\u062a","Interim Results":"\u0627\u0644\u0646\u062a\u0627\u0626\u062c \u0627\u0644\u0645\u0624\u0642\u062a\u0629"},Ix={newline:"\u0159\xe1dek",delete:"odstranit",space:"prostora","Speech Recognize":"Rozpozn\xe1n\xed \u0158e\u010di",Sound:"Zvuk","Interim Results":"Pr\u016fb\u011b\u017en\xe9 V\xfdsledky"},Px={newline:"Zeilenumbruch",delete:"l\xf6schen",space:"Raum","Speech Recognize":"Sprache Erkennen",Sound:"Sound","Interim Results":"Zwischenergebnis"},Rx={newline:"nueva l\xednea",delete:"eliminar",space:"espacio","Speech Recognize":"Reconocimiento de Voz",Sound:"Sonido","Interim Results":"Resultados Provisionales"},Ax={newline:"\u062e\u0637 \u062c\u062f\u06cc\u062f",delete:"\u062d\u0630\u0641",space:"\u0641\u0636\u0627","Speech Recognize":"\u06af\u0641\u062a\u0627\u0631 \u0631\u0627 \u062a\u0634\u062e\u06cc\u0635 \u062f\u0647\u06cc\u062f",Sound:"\u0635\u062f\u0627","Interim Results":"\u0646\u062a\u0627\u06cc\u062c \u0645\u0648\u0642\u062a"},Lx={"Speech Recognize":"Puheentunnistus",newline:"uusi rivi",delete:"poistaa",space:"tilaa",Sound:"\xc4\xe4ni","Interim Results":"V\xe4litulokset"},Mx={newline:"nouvelle ligne",delete:"supprimer",space:"espace","Speech Recognize":"Reconnaissance Vocale",Sound:"Son","Interim Results":"R\xe9sultats Interm\xe9diaires"},Bx={newline:"\u05d7\u05d3\u05e9\u05d5\u05ea",delete:"\u05de\u05d7\u05e7",space:"\u05e9\u05d8\u05d7","Speech Recognize":"\u05d3\u05d9\u05d1\u05d5\u05e8 \u05de\u05d6\u05d4\u05d4",Sound:"\u05e7\u05d5\u05dc","Interim Results":"\u05ea\u05d5\u05e6\u05d0\u05d5\u05ea \u05d1\u05d9\u05e0\u05d9\u05d9\u05dd"},Dx={newline:"\xfajsor",delete:"t\xf6rl\xe9s",space:"t\xe9r","Speech Recognize":"A Besz\xe9d Felismeri",S
1ound:"Hang","Interim Results":"Id\u0151k\xf6zi Eredm\xe9nyek"},Nx={newline:"newline",delete:"Hapus",space:"ruang","Speech Recognize":"Pidato Mengenali",Sound:"Suara","Interim Results":"Hasil Sementara"},Hx={newline:"nuova riga",delete:"eliminare",space:"spazio","Speech Recognize":"Discorso Riconoscere",Sound:"Suono","Interim Results":"Risultati intermedi"},Fx={newline:"\u6539\u884c",delete:"\u524a\u9664",space:"\u30b9\u30da\u30fc\u30b9","Speech Recognize":"\u97f3\u58f0\u8a8d\u8b58",Sound:"\u97f3","Interim Results":"\u4e2d\u9593\u7d50\u679c"},qx={newline:"\uc904 \ubc14\uafc8",delete:"\uc0ad\uc81c",space:"\uacf5\uac04","Speech Recognize":"\uc74c\uc131 \uc778\uc2dd",Sound:"\uc18c\ub9ac","Interim Results":"\uc911\uac04 \uacb0\uacfc"},Vx={newline:"\u0428\u0438\u043d\u044d \u043c\u04e9\u0440",delete:"\u0423\u0441\u0442\u0433\u0430\u0445",space:"\u0417\u0430\u0439","Speech Recognize":"\u0414\u0443\u0443 \u0445\u043e\u043e\u043b\u043e\u0439 \u0442\u0430\u043d\u0438\u0445",Sound:"\u0414\u0443\u0443","Interim Results":"\u0422\u04af\u0440 \u0437\u0443\u0443\u0440\u044b\u043d \u04af\u0440 \u0434\u04af\u043d"},Wx={newline:"regel",delete:"verwijderen",space:"ruimte","Speech Recognize":"Spraak Herkennen",Sound:"Geluid","Interim Results":"Tussentijdse Resultaten"},Ux={newline:"nylinje",delete:"slette",space:"rom","Speech Recognize":"Talegjenkjenning",Sound:"Lyd","Interim Results":"Midlertidige resultater"},Yx={newline:"newline",delete:"usun\u0105\u0107",space:"przestrze\u0144","Speech Recognize":"Rozpoznawanie Mowy",Sound:"D\u017awi\u0119k","Interim Results":"Wyniki Okresowe"},Kx={newline:"linha",delete:"excluir",space:"espaco","Speech Recognize":"Discurso Reconhecer",Sound:"Som","Interim Results":"Resultados Provis\xf3rios"},Gx={newline:"\u043d\u043e\u0432\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430|\u043f\u0435\u0440\u0435\u043d\u043e\u0441|\u044d\u043d\u0442\u0435\u0440",delete:"\u0443\u0434\u0430\u043b\u0438\u0442\u044c",space:"\u043f\u0440\u043e\u0431\u0435\u043b","Speech Recognize":"\u0420\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0432\u0430\u043d\u0438\u0435 \u0440\u0435\u0447\u0438",Sound:"\u0417\u0432\u0443\u043a","Interim Results":"\u041f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b"},Jx={newline:"yeni sat\u0131r",delete:"silmek",space:"uzay","Speech Recognize":"Konu\u015fma Tan\u0131ma",Sound:"Ses","Interim Results":"Ara Sonu\xe7lar"},Xx={newline:"\u043d\u043e\u0432\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430|\u043f\u0435\u0440\u0435\u043d\u043e\u0441|\u0435\u043d\u0442\u0435\u0440",delete:"\u0432\u0438\u0434\u0430\u043b\u0438\u0442\u0438",space:"\u043f\u0440\u043e\u0431\u0435\u043b","Speech Recognize":"\u0420\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0432\u0430\u043d\u0438\u0435 \u0440\u0435\u0447\u0438",Sound:"\u0417\u0432\u0443\u043a","Interim Results":"\u041f\u0440\u043e\u043c\u0456\u0436\u043d\u0456 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0438"},Zx={newline:"\u65b0\u884c",delete:"\u5220\u9664",space:"\u7a7a\u95f4","Speech Recognize":"\u8a00\u8bed\u8bc6\u522b",Sound:"\u58f0\u97f3","Interim Results":"\u4e2d\u671f\u4e1a\u7ee9"},Qx={newline:"\u63db\u884c",delete:"\u522a\u9664",space:"\u7a7a\u767d","Speech Recognize":"\u8a9e\u97f3\u8fa8\u8b58",Sound:"\u8072\u97f3","Interim Results":"\u968e\u6bb5\u6027\u8fa8\u8b58\u7d50\u679c"};function $x(e,t,o){return $x=rO()?Reflect.construct:function(e,t,o){var n=[null];n.push.apply(n,t);var r=new(Function.bind.apply(e,n));return o&&tO(r,o.prototype),r},$x.apply(null,arguments)}function eO(e){return eO=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},eO(e)}function tO(e,t){return tO=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},tO(e,t)}function oO(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function nO(e){var t="function"==typeof Map?new Map:void 0;return nO=function(e){if(null===e||(o=e,-1===Function.toString.call(o).indexOf("[native code]")))return e;var o;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return $x(e,arguments,eO(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),tO(n,e)},nO(e)}function rO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rO=function(){return!!e})()}var iO=function(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;
1if("object"===("undefined"==typeof Reflect?"undefined":oO(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},aO=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t,o){return t=eO(t),function(e,t){return!t||"object"!==oO(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,rO()?Reflect.construct(t,o||[],eO(e).constructor):t.apply(e,o))}(this,t,arguments)).buttons=[{group:"state",name:"speechRecognize"}],e._commandToWord={},e}var o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tO(e,t)}(t,e),o=[{key:"afterInit",value:function(e){var t=this,o=e.o.speechRecognize.commands;o&&(Oa(nt),cr(o,!1).forEach(function(n){n.split("|").forEach(function(r){r=r.trim().toLowerCase(),t._commandToWord[r]=o[n];var i=e.i18n(r);i!==r&&i.split("|").forEach(function(e){t._commandToWord[e.trim().toLowerCase()]=o[n].trim()})})}))}},{key:"beforeDestruct",value:function(e){ii.safeRemove(this.messagePopup)}},{key:"onSpeechRecognizeProgressResult",value:function(e){var t=this;this.messagePopup||(this.messagePopup=this.j.create.div("jodit-speech-recognize__popup")),this.j.workplace.appendChild(this.messagePopup),this.j.async.clearTimeout(this.__hidePopupTimeout),this.__hidePopupTimeout=this.j.async.setTimeout(function(){ii.safeRemove(t.messagePopup)},1e3),this.messagePopup.innerText=e+"|"}},{key:"onSpeechRecognizeResult",value:function(e){this.j.async.clearTimeout(this.__hidePopupTimeout),ii.safeRemove(this.messagePopup);var t=this.j,o=t.s;if(!this._checkCommand(e)){var n=o.range,r=o.current();if(o.isCollapsed()&&ii.isText(r)&&ii.isOrContains(t.editor,r)&&r.nodeValue){var i=r.nodeValue;r.nodeValue=i+(/[\u00A0 ]\uFEFF*$/.test(i)?"":" ")+e,n.setStartAfter(r),o.selectRange(n),t.synchronizeValues()}else o.insertHTML(e)}}},{key:"_checkCommand",value:function(e){return e=e.toLowerCase().replace(/\./g,""),!!this._commandToWord[e]&&(function(e,t){var o=function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,r=[],i=!0,a=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(r.push(o.value),2!==r.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==t.return||t.return()}finally{if(a)throw n}}return r}}(e)||function(e){if(e){if("string"==typeof e)return Ex(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Ex(e,2):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t.split("::")),n=o[0],r=o[1];e.execCommand(n,null,r)}(this.j,this._commandToWord[e]),!0)}}],o&&function(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,o),t}(nO(Vf));iO([va(":speechRecognizeProgressResult")],aO.prototype,"onSpeechRecognizeProgressResult",null),iO([va(":speechRecognizeResult")],aO.prototype,"onSpeechRecognizeResult",null),Hh.plugins.add("speech-recognize",aO);var lO=Hh,sO=(0,rt.forwardRef)(function(e,t){var o=e.JoditConstructor,n=void 0===o?lO:o,r=e.className,i=e.config,a=e.id,l=e.name,s=e.onBlur,c=e.onChange,u=e.tabIndex,d=e.value,f=e.editorRef,p=(0,rt.useRef)(null),h=(0,rt.useRef)(null);(0,rt.useEffect)(function(){var e=p.current,t=n.make(e,i);return h.current=t,"function"==typeof f&&f(t),function(){t.isReady?t.destruct():t.waitForReady().then(function(e){return e.destruct()})}},[n,i,f]),(0,rt.useEffect)(function(){t&&("function"==typeof t?t(h.current):t.current=h.current)},[p,t,h]);var v=function(e){var t=(0,rt.useRef)("");return(0,rt.useEffect)(function(){t.current=e},[e]),t.current}(null!=r?r:"");return(0,rt.useEffect)(function(){var e,t,o=null===(t=h.current)||void 0===t||null===(e=t.container)||void 0===e?void 0:e.classList;
1v!==r&&"string"==typeof v&&v.split(/\s+/).filter(Boolean).forEach(function(e){return null==o?void 0:o.remove(e)}),r&&"string"==typeof r&&r.split(/\s+/).filter(Boolean).forEach(function(e){return null==o?void 0:o.add(e)})},[r,v]),(0,rt.useEffect)(function(){var e;(null===(e=h.current)||void 0===e?void 0:e.workplace)&&(h.current.workplace.tabIndex=u||-1)},[u]),(0,rt.useEffect)(function(){var e=h.current;if((null==e?void 0:e.events)&&(s||c)){var t=function(e){var t,o;return s&&s(null!==(o=null==h||null===(t=h.current)||void 0===t?void 0:t.value)&&void 0!==o?o:"",e)},o=function(e){return c&&c(e)};return e.events.on("blur",t).on("change",o),function(){var n;null===(n=e.events)||void 0===n||n.off("blur",t).off("change",o)}}},[s,c]),(0,rt.useEffect)(function(){var e=h.current,t=function(){e&&void 0!==d&&e.value!==d&&(e.value=d)};e&&(e.isReady?t():e.waitForReady().then(t))},[d]),it().createElement("div",{className:"jodit-react-container"},it().createElement("textarea",{defaultValue:d,name:l,id:a,ref:p}))});sO.displayName="JoditEditor";const cO=sO;return r})(),e.exports=n(o(5043))}}]); 2//# sourceMappingURL=8555.9b785b24.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.