jodit-pro 4.9.35 → 4.9.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (308) hide show
  1. package/es2015/jodit.css +2 -2
  2. package/es2015/jodit.fat.min.css +1 -1
  3. package/es2015/jodit.fat.min.js +5 -5
  4. package/es2015/jodit.js +15 -12
  5. package/es2015/jodit.min.css +1 -1
  6. package/es2015/jodit.min.js +5 -5
  7. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
  8. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
  9. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
  10. package/es2015/plugins/autocomplete/autocomplete.js +1 -1
  11. package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
  12. package/es2015/plugins/backup/backup.css +1 -1
  13. package/es2015/plugins/backup/backup.js +1 -1
  14. package/es2015/plugins/backup/backup.min.js +1 -1
  15. package/es2015/plugins/button-generator/button-generator.css +1 -1
  16. package/es2015/plugins/button-generator/button-generator.js +1 -1
  17. package/es2015/plugins/button-generator/button-generator.min.js +1 -1
  18. package/es2015/plugins/change-case/change-case.js +1 -1
  19. package/es2015/plugins/change-case/change-case.min.js +1 -1
  20. package/es2015/plugins/color-picker/color-picker.css +1 -1
  21. package/es2015/plugins/color-picker/color-picker.js +1 -1
  22. package/es2015/plugins/color-picker/color-picker.min.js +1 -1
  23. package/es2015/plugins/emoji/emoji.css +1 -1
  24. package/es2015/plugins/emoji/emoji.js +1 -1
  25. package/es2015/plugins/emoji/emoji.min.js +1 -1
  26. package/es2015/plugins/export-docs/export-docs.js +1 -1
  27. package/es2015/plugins/export-docs/export-docs.min.js +1 -1
  28. package/es2015/plugins/finder/finder.css +1 -1
  29. package/es2015/plugins/finder/finder.js +1 -1
  30. package/es2015/plugins/finder/finder.min.js +1 -1
  31. package/es2015/plugins/google-maps/google-maps.css +1 -1
  32. package/es2015/plugins/google-maps/google-maps.js +1 -1
  33. package/es2015/plugins/google-maps/google-maps.min.js +1 -1
  34. package/es2015/plugins/google-search/google-search.js +1 -1
  35. package/es2015/plugins/google-search/google-search.min.js +1 -1
  36. package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
  37. package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
  38. package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
  39. package/es2015/plugins/iframe-editor/iframe-editor.js +1 -1
  40. package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
  41. package/es2015/plugins/keyboard/keyboard.css +1 -1
  42. package/es2015/plugins/keyboard/keyboard.js +1 -1
  43. package/es2015/plugins/keyboard/keyboard.min.js +1 -1
  44. package/es2015/plugins/mobile-view/mobile-view.js +1 -1
  45. package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
  46. package/es2015/plugins/page-break/page-break.js +1 -1
  47. package/es2015/plugins/page-break/page-break.min.js +1 -1
  48. package/es2015/plugins/paste-code/paste-code.css +1 -1
  49. package/es2015/plugins/paste-code/paste-code.js +1 -1
  50. package/es2015/plugins/paste-code/paste-code.min.js +1 -1
  51. package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
  52. package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
  53. package/es2015/plugins/show-blocks/show-blocks.js +1 -1
  54. package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
  55. package/es2015/plugins/style/style.css +1 -1
  56. package/es2015/plugins/style/style.js +1 -1
  57. package/es2015/plugins/style/style.min.js +1 -1
  58. package/es2015/plugins/templates/templates.css +1 -1
  59. package/es2015/plugins/templates/templates.js +1 -1
  60. package/es2015/plugins/templates/templates.min.js +1 -1
  61. package/es2015/plugins/todo-list/todo-list.css +1 -1
  62. package/es2015/plugins/todo-list/todo-list.js +1 -1
  63. package/es2015/plugins/todo-list/todo-list.min.js +1 -1
  64. package/es2015/plugins/translate/translate.css +1 -1
  65. package/es2015/plugins/translate/translate.js +1 -1
  66. package/es2015/plugins/translate/translate.min.js +1 -1
  67. package/es2015/plugins/tune-block/tune-block.css +1 -1
  68. package/es2015/plugins/tune-block/tune-block.js +1 -1
  69. package/es2015/plugins/tune-block/tune-block.min.js +1 -1
  70. package/es2018/jodit.fat.min.css +1 -1
  71. package/es2018/jodit.fat.min.js +5 -5
  72. package/es2018/jodit.min.css +1 -1
  73. package/es2018/jodit.min.js +5 -5
  74. package/es2018/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
  75. package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
  76. package/es2018/plugins/backup/backup.min.js +1 -1
  77. package/es2018/plugins/button-generator/button-generator.min.js +1 -1
  78. package/es2018/plugins/change-case/change-case.min.js +1 -1
  79. package/es2018/plugins/color-picker/color-picker.min.js +1 -1
  80. package/es2018/plugins/emoji/emoji.min.js +1 -1
  81. package/es2018/plugins/export-docs/export-docs.min.js +1 -1
  82. package/es2018/plugins/finder/finder.min.js +1 -1
  83. package/es2018/plugins/google-maps/google-maps.min.js +1 -1
  84. package/es2018/plugins/google-search/google-search.min.js +1 -1
  85. package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
  86. package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
  87. package/es2018/plugins/keyboard/keyboard.min.js +1 -1
  88. package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
  89. package/es2018/plugins/page-break/page-break.min.js +1 -1
  90. package/es2018/plugins/paste-code/paste-code.min.js +1 -1
  91. package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
  92. package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
  93. package/es2018/plugins/style/style.min.js +1 -1
  94. package/es2018/plugins/templates/templates.min.js +1 -1
  95. package/es2018/plugins/todo-list/todo-list.min.js +1 -1
  96. package/es2018/plugins/translate/translate.min.js +1 -1
  97. package/es2018/plugins/tune-block/tune-block.min.js +1 -1
  98. package/es2021/jodit.css +2 -2
  99. package/es2021/jodit.fat.min.css +1 -1
  100. package/es2021/jodit.fat.min.js +5 -5
  101. package/es2021/jodit.js +15 -12
  102. package/es2021/jodit.min.css +1 -1
  103. package/es2021/jodit.min.js +5 -5
  104. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
  105. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
  106. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
  107. package/es2021/plugins/autocomplete/autocomplete.js +1 -1
  108. package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
  109. package/es2021/plugins/backup/backup.css +1 -1
  110. package/es2021/plugins/backup/backup.js +1 -1
  111. package/es2021/plugins/backup/backup.min.js +1 -1
  112. package/es2021/plugins/button-generator/button-generator.css +1 -1
  113. package/es2021/plugins/button-generator/button-generator.js +1 -1
  114. package/es2021/plugins/button-generator/button-generator.min.js +1 -1
  115. package/es2021/plugins/change-case/change-case.js +1 -1
  116. package/es2021/plugins/change-case/change-case.min.js +1 -1
  117. package/es2021/plugins/color-picker/color-picker.css +1 -1
  118. package/es2021/plugins/color-picker/color-picker.js +1 -1
  119. package/es2021/plugins/color-picker/color-picker.min.js +1 -1
  120. package/es2021/plugins/emoji/emoji.css +1 -1
  121. package/es2021/plugins/emoji/emoji.js +1 -1
  122. package/es2021/plugins/emoji/emoji.min.js +1 -1
  123. package/es2021/plugins/export-docs/export-docs.js +1 -1
  124. package/es2021/plugins/export-docs/export-docs.min.js +1 -1
  125. package/es2021/plugins/finder/finder.css +1 -1
  126. package/es2021/plugins/finder/finder.js +1 -1
  127. package/es2021/plugins/finder/finder.min.js +1 -1
  128. package/es2021/plugins/google-maps/google-maps.css +1 -1
  129. package/es2021/plugins/google-maps/google-maps.js +1 -1
  130. package/es2021/plugins/google-maps/google-maps.min.js +1 -1
  131. package/es2021/plugins/google-search/google-search.js +1 -1
  132. package/es2021/plugins/google-search/google-search.min.js +1 -1
  133. package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
  134. package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
  135. package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
  136. package/es2021/plugins/iframe-editor/iframe-editor.js +1 -1
  137. package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
  138. package/es2021/plugins/keyboard/keyboard.css +1 -1
  139. package/es2021/plugins/keyboard/keyboard.js +1 -1
  140. package/es2021/plugins/keyboard/keyboard.min.js +1 -1
  141. package/es2021/plugins/mobile-view/mobile-view.js +1 -1
  142. package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
  143. package/es2021/plugins/page-break/page-break.js +1 -1
  144. package/es2021/plugins/page-break/page-break.min.js +1 -1
  145. package/es2021/plugins/paste-code/paste-code.css +1 -1
  146. package/es2021/plugins/paste-code/paste-code.js +1 -1
  147. package/es2021/plugins/paste-code/paste-code.min.js +1 -1
  148. package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
  149. package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
  150. package/es2021/plugins/show-blocks/show-blocks.js +1 -1
  151. package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
  152. package/es2021/plugins/style/style.css +1 -1
  153. package/es2021/plugins/style/style.js +1 -1
  154. package/es2021/plugins/style/style.min.js +1 -1
  155. package/es2021/plugins/templates/templates.css +1 -1
  156. package/es2021/plugins/templates/templates.js +1 -1
  157. package/es2021/plugins/templates/templates.min.js +1 -1
  158. package/es2021/plugins/todo-list/todo-list.css +1 -1
  159. package/es2021/plugins/todo-list/todo-list.js +1 -1
  160. package/es2021/plugins/todo-list/todo-list.min.js +1 -1
  161. package/es2021/plugins/translate/translate.css +1 -1
  162. package/es2021/plugins/translate/translate.js +1 -1
  163. package/es2021/plugins/translate/translate.min.js +1 -1
  164. package/es2021/plugins/tune-block/tune-block.css +1 -1
  165. package/es2021/plugins/tune-block/tune-block.js +1 -1
  166. package/es2021/plugins/tune-block/tune-block.min.js +1 -1
  167. package/es2021.en/jodit.css +2 -2
  168. package/es2021.en/jodit.fat.min.css +1 -1
  169. package/es2021.en/jodit.fat.min.js +5 -5
  170. package/es2021.en/jodit.js +15 -12
  171. package/es2021.en/jodit.min.css +1 -1
  172. package/es2021.en/jodit.min.js +8 -8
  173. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
  174. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
  175. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
  176. package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
  177. package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
  178. package/es2021.en/plugins/backup/backup.css +1 -1
  179. package/es2021.en/plugins/backup/backup.js +1 -1
  180. package/es2021.en/plugins/backup/backup.min.js +1 -1
  181. package/es2021.en/plugins/button-generator/button-generator.css +1 -1
  182. package/es2021.en/plugins/button-generator/button-generator.js +1 -1
  183. package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
  184. package/es2021.en/plugins/change-case/change-case.js +1 -1
  185. package/es2021.en/plugins/change-case/change-case.min.js +1 -1
  186. package/es2021.en/plugins/color-picker/color-picker.css +1 -1
  187. package/es2021.en/plugins/color-picker/color-picker.js +1 -1
  188. package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
  189. package/es2021.en/plugins/emoji/emoji.css +1 -1
  190. package/es2021.en/plugins/emoji/emoji.js +1 -1
  191. package/es2021.en/plugins/emoji/emoji.min.js +1 -1
  192. package/es2021.en/plugins/export-docs/export-docs.js +1 -1
  193. package/es2021.en/plugins/export-docs/export-docs.min.js +1 -1
  194. package/es2021.en/plugins/finder/finder.css +1 -1
  195. package/es2021.en/plugins/finder/finder.js +1 -1
  196. package/es2021.en/plugins/finder/finder.min.js +1 -1
  197. package/es2021.en/plugins/google-maps/google-maps.css +1 -1
  198. package/es2021.en/plugins/google-maps/google-maps.js +1 -1
  199. package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
  200. package/es2021.en/plugins/google-search/google-search.js +1 -1
  201. package/es2021.en/plugins/google-search/google-search.min.js +1 -1
  202. package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
  203. package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
  204. package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
  205. package/es2021.en/plugins/iframe-editor/iframe-editor.js +1 -1
  206. package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
  207. package/es2021.en/plugins/keyboard/keyboard.css +1 -1
  208. package/es2021.en/plugins/keyboard/keyboard.js +1 -1
  209. package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
  210. package/es2021.en/plugins/mobile-view/mobile-view.js +1 -1
  211. package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
  212. package/es2021.en/plugins/page-break/page-break.js +1 -1
  213. package/es2021.en/plugins/page-break/page-break.min.js +1 -1
  214. package/es2021.en/plugins/paste-code/paste-code.css +1 -1
  215. package/es2021.en/plugins/paste-code/paste-code.js +1 -1
  216. package/es2021.en/plugins/paste-code/paste-code.min.js +1 -1
  217. package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
  218. package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
  219. package/es2021.en/plugins/show-blocks/show-blocks.js +1 -1
  220. package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
  221. package/es2021.en/plugins/style/style.css +1 -1
  222. package/es2021.en/plugins/style/style.js +1 -1
  223. package/es2021.en/plugins/style/style.min.js +1 -1
  224. package/es2021.en/plugins/templates/templates.css +1 -1
  225. package/es2021.en/plugins/templates/templates.js +1 -1
  226. package/es2021.en/plugins/templates/templates.min.js +1 -1
  227. package/es2021.en/plugins/todo-list/todo-list.css +1 -1
  228. package/es2021.en/plugins/todo-list/todo-list.js +1 -1
  229. package/es2021.en/plugins/todo-list/todo-list.min.js +1 -1
  230. package/es2021.en/plugins/translate/translate.css +1 -1
  231. package/es2021.en/plugins/translate/translate.js +1 -1
  232. package/es2021.en/plugins/translate/translate.min.js +1 -1
  233. package/es2021.en/plugins/tune-block/tune-block.css +1 -1
  234. package/es2021.en/plugins/tune-block/tune-block.js +1 -1
  235. package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
  236. package/es5/jodit.css +3 -3
  237. package/es5/jodit.fat.min.css +1 -1
  238. package/es5/jodit.fat.min.js +2 -2
  239. package/es5/jodit.js +63 -12
  240. package/es5/jodit.min.css +3 -3
  241. package/es5/jodit.min.js +2 -2
  242. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
  243. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
  244. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
  245. package/es5/plugins/autocomplete/autocomplete.js +1 -1
  246. package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
  247. package/es5/plugins/backup/backup.css +1 -1
  248. package/es5/plugins/backup/backup.js +1 -1
  249. package/es5/plugins/backup/backup.min.js +1 -1
  250. package/es5/plugins/button-generator/button-generator.css +1 -1
  251. package/es5/plugins/button-generator/button-generator.js +1 -1
  252. package/es5/plugins/button-generator/button-generator.min.js +1 -1
  253. package/es5/plugins/change-case/change-case.js +1 -1
  254. package/es5/plugins/change-case/change-case.min.js +1 -1
  255. package/es5/plugins/color-picker/color-picker.css +1 -1
  256. package/es5/plugins/color-picker/color-picker.js +1 -1
  257. package/es5/plugins/color-picker/color-picker.min.js +1 -1
  258. package/es5/plugins/emoji/emoji.css +1 -1
  259. package/es5/plugins/emoji/emoji.js +1 -1
  260. package/es5/plugins/emoji/emoji.min.js +1 -1
  261. package/es5/plugins/export-docs/export-docs.js +1 -1
  262. package/es5/plugins/export-docs/export-docs.min.js +1 -1
  263. package/es5/plugins/finder/finder.css +1 -1
  264. package/es5/plugins/finder/finder.js +1 -1
  265. package/es5/plugins/finder/finder.min.js +1 -1
  266. package/es5/plugins/google-maps/google-maps.css +1 -1
  267. package/es5/plugins/google-maps/google-maps.js +1 -1
  268. package/es5/plugins/google-maps/google-maps.min.js +1 -1
  269. package/es5/plugins/google-search/google-search.js +1 -1
  270. package/es5/plugins/google-search/google-search.min.js +1 -1
  271. package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
  272. package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
  273. package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
  274. package/es5/plugins/iframe-editor/iframe-editor.js +1 -1
  275. package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
  276. package/es5/plugins/keyboard/keyboard.css +1 -1
  277. package/es5/plugins/keyboard/keyboard.js +1 -1
  278. package/es5/plugins/keyboard/keyboard.min.js +1 -1
  279. package/es5/plugins/mobile-view/mobile-view.js +1 -1
  280. package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
  281. package/es5/plugins/page-break/page-break.js +1 -1
  282. package/es5/plugins/page-break/page-break.min.js +1 -1
  283. package/es5/plugins/paste-code/paste-code.css +1 -1
  284. package/es5/plugins/paste-code/paste-code.js +1 -1
  285. package/es5/plugins/paste-code/paste-code.min.js +1 -1
  286. package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
  287. package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
  288. package/es5/plugins/show-blocks/show-blocks.js +1 -1
  289. package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
  290. package/es5/plugins/style/style.css +1 -1
  291. package/es5/plugins/style/style.js +1 -1
  292. package/es5/plugins/style/style.min.js +1 -1
  293. package/es5/plugins/templates/templates.css +1 -1
  294. package/es5/plugins/templates/templates.js +1 -1
  295. package/es5/plugins/templates/templates.min.js +1 -1
  296. package/es5/plugins/todo-list/todo-list.css +1 -1
  297. package/es5/plugins/todo-list/todo-list.js +1 -1
  298. package/es5/plugins/todo-list/todo-list.min.js +1 -1
  299. package/es5/plugins/translate/translate.css +1 -1
  300. package/es5/plugins/translate/translate.js +1 -1
  301. package/es5/plugins/translate/translate.min.js +1 -1
  302. package/es5/plugins/tune-block/tune-block.css +1 -1
  303. package/es5/plugins/tune-block/tune-block.js +1 -1
  304. package/es5/plugins/tune-block/tune-block.min.js +1 -1
  305. package/es5/polyfills.fat.min.js +1 -1
  306. package/es5/polyfills.js +1 -1
  307. package/es5/polyfills.min.js +1 -1
  308. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.9.35
4
+ * Version: v4.9.36
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -89,7 +89,7 @@
89
89
  </form>`)}},22732:function(e,t,i){i.d(t,{Dom:function(){return n.Dom},LazyWalker:function(){return o.LazyWalker}});var n=i(2748),o=i(70071)},22859:function(e,t,i){i.d(t,{ColorPickerWidget:function(){return a}});var n=i(22732),o=i(21537),r=i(67510),s=i(37068);r.Icon.set("palette",s.default);let a=(e,t,i)=>{let s="jodit-color-picker",a=(0,o.normalizeColor)(i),l=e.c.div(s),c=e.o.textIcons?`<span>${e.i18n("palette")}</span>`:r.Icon.get("palette"),u=e=>{let t=[];return(0,o.isPlainObject)(e)?Object.keys(e).forEach(i=>{t.push(`<div class="${s}__group ${s}__group-${i}">`),t.push(u(e[i])),t.push("</div>")}):(0,o.isArray)(e)&&e.forEach(e=>{t.push(`<span class='${s}__color-item ${a===e?s+"__color-item_active_true":""}' title="${e}" style="background-color:${e}" data-color="${e}"></span>`)}),t.join("")};l.appendChild(e.c.fromHTML(`<div class="${s}__groups">${u(e.o.colors)}</div>`)),l.appendChild(e.c.fromHTML(`<div data-ref="extra" class="${s}__extra"></div>`));let{extra:d}=(0,o.refs)(l);return e.o.showBrowserColorPicker&&(0,o.hasBrowserColorPicker)()&&(d.appendChild(e.c.fromHTML(`<div class="${s}__native">${c}<input type="color" value="#ffffff"/></div>`)),e.e.on(l,"change",e=>{e.stopPropagation();let i=e.target;if(!i||!i.tagName||!n.Dom.isTag(i,"input"))return;let r=i.value||"";(0,o.isFunction)(t)&&t(r),e.preventDefault()})),e.e.on(l,"mousedown touchend",i=>{i.stopPropagation(),i.preventDefault();let r=i.target;if((!r||!r.tagName||n.Dom.isTag(r,"svg")||n.Dom.isTag(r,"path"))&&r.parentNode&&(r=n.Dom.closest(r.parentNode,"span",e.editor)),!n.Dom.isTag(r,"span")||!r.classList.contains(s+"__color-item"))return;let a=(0,o.attr)(r,"-color")||"";t&&(0,o.isFunction)(t)&&t(a)}),e.e.fire("afterGenerateColorPicker",l,d,t,a),l}},23140:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M960 896q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm300 64l507 398q28 20 25 56-5 35-35 51l-128 64q-13 7-29 7-17 0-31-8l-690-387-110 66q-8 4-12 5 14 49 10 97-7 77-56 147.5t-132 123.5q-132 84-277 84-136 0-222-78-90-84-79-207 7-76 56-147t131-124q132-84 278-84 83 0 151 31 9-13 22-22l122-73-122-73q-13-9-22-22-68 31-151 31-146 0-278-84-82-53-131-124t-56-147q-5-59 15.5-113t63.5-93q85-79 222-79 145 0 277 84 83 52 132 123t56 148q4 48-10 97 4 1 12 5l110 66 690-387q14-8 31-8 16 0 29 7l128 64q30 16 35 51 3 36-25 56zm-681-260q46-42 21-108t-106-117q-92-59-192-59-74 0-113 36-46 42-21 108t106 117q92 59 192 59 74 0 113-36zm-85 745q81-51 106-117t-21-108q-39-36-113-36-100 0-192 59-81 51-106 117t21 108q39 36 113 36 100 0 192-59zm178-613l96 58v-11q0-36 33-56l14-8-79-47-26 26q-3 3-10 11t-12 12q-2 2-4 3.5t-3 2.5zm224 224l96 32 736-576-128-64-768 431v113l-160 96 9 8q2 2 7 6 4 4 11 12t11 12l26 26zm704 416l128-64-520-408-177 138q-2 3-13 7z"/> </svg> '},23282:function(e,t,i){i.d(t,{isFunction:function(){return n}});function n(e){return"function"==typeof e}},23370:function(e,t,i){i.d(t,{SourceEditor:function(){return n}});class n{get j(){return this.jodit}onReady(){this.replaceUndoManager(),this.isReady=!0,this.j.e.fire(this,"ready")}onReadyAlways(e){var t;this.isReady?e():null==(t=this.j.events)||t.on(this,"ready",e)}constructor(e,t,i,n){this.jodit=e,this.container=t,this.toWYSIWYG=i,this.fromWYSIWYG=n,this.className="",this.isReady=!1}}},23399:function(e,t,i){var n=i(580),o=i(21537);i(28252),n.pluginSystem.add("font",function(e){e.registerButton({name:"font",group:"font"}).registerButton({name:"fontsize",group:"font"});let t=(t,i,n)=>{switch(t){case"fontsize":e.s.commitStyle({attributes:{style:{fontSize:(0,o.normalizeSize)(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)})},23512:function(e,t,i){i.d(t,{StatusBar:function(){return l}});var n=i(91907),o=i(65478),r=i(2748),s=i(14316),a=i(34176);let l=class e extends n.ViewComponent{className(){return"StatusBar"}hide(){this.container.classList.add("jodit_hidden")}show(){this.container.classList.remove("jodit_hidden")}get isShown(){return!this.container.classList.contains("jodit_hidden")}getHeight(){var e,t;return null!=(t=null==(e=this.container)?void 0:e.offsetHeight)?t:0}findEmpty(e=!1){let t=this.getElms(e?"item-right":"item");for(let e=0;e<t.length;e+=1)if(!t[e].innerHTML.trim().length)return t[e]}append(e,t=!1){var i;let n=this.findEmpty(t)||this.j.c.div(this.getFullElName("item"));t&&n.classList.add(this.getFullElName("item-right")),n.appendChild(e),null==(i=this.container)||i.appendChild(n),this.j.o.statusbar&&this.show(),this.j.e.fire("resize")}destruct(){this.isInDestruct||(this.setStatus(n.STATUSES.beforeDestruct),r.Dom.safeRemove(this.container),super.destruct())}constructor(e,t){super(e),this.target=t,this.mods={},this.container=e.c.div("jodit-status-bar"),t.appendChild(this.container),this.hide()}};l=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([o.component,(0,o.derive)(a.Mods,s.Elms)],l)},23531:function(e,t,i){var n=i(22732),o=i(580),r=i(21537),s=i(12153),a=i(6441),l=i(92762),c=i(25179);s.Icon.set("image",c.default),a.Config.prototype.controls.image={popup(e,t,i){let o=null;return t&&!n.Dom.isText(t)&&n.Dom.isHTMLElement(t)&&(n.Dom.isTag(t,"img")||(0,r.$$)("img",t).length)&&(o=n.Dom.isTag(t,"img")?t:(0,r.$$)("img",t)[0]),e.s.save(),(0,l.FileSelectorWidget)(e,{filebrowser(t){e.s.restore(),t.files&&t.files.forEach(i=>e.s.insertImage(t.baseurl+i,null,e.o.imageDefaultWidth)),i()},upload:!0,async url(t,n){e.s.restore(),/^[a-z\d_-]+(\.[a-z\d_-]+)+/i.test(t)&&(t="//"+t);let r=o||e.createInside.element("img");r.setAttribute("src",t),r.setAttribute("alt",n),o||await e.s.insertImage(r,null,e.o.imageDefaultWidth),i()}},o,i)},tags:["img"],tooltip:"Insert Image"},o.pluginSystem.add("image",function(e){e.registerButton({name:"image",group:"media"})})},23658:function(e,t){t.default='<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,17.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> '},23738:function(e,t,i){i.d(t,{getSuitChild:function(){return s}});var n=i(2748),o=i(29136),r=i(97380);function s(e,t){let{firstChild:i}=t;for(;i&&!(0,o.isNormalNode)(i);)if(!(i=i.nextSibling))return null;return i&&!n.Dom.next(i,o.isNormalNode,t)&&(0,r.isSuitElement)(e,i,!1)?i:null}},23769:function(e,t,i){i.d(t,{ProgressBar:function(){return r}});var n=i(2748),o=i(48538);class r extends o.UIElement{className(){return"ProgressBar"}render(){return"<div><div></div></div>"}show(){return(this.j.workplace||this.j.container).appendChild(this.container),this}hide(){return n.Dom.safeRemove(this.container),this}progress(e){return this.container.style.width=e.toFixed(2)+"%",this}destruct(){return this.hide(),super.destruct()}}},23914:function(e,t,i){i.r(t),i.d(t,{ar:function(){return n.default},cs_cz:function(){return o.default},de:function(){return r.default},es:function(){return s.default},fa:function(){return a.default},fi:function(){return l.default},fr:function(){return c.default},he:function(){return u.default},hu:function(){return d.default},id:function(){return h.default},it:function(){return p.default},ja:function(){return f.default},ko:function(){return m.default},mn:function(){return g.default},nl:function(){return v.default},pl:function(){return b.default},pt_br:function(){return y.default},ru:function(){return S.default},tr:function(){return w.default},zh_cn:function(){return _.default},zh_tw:function(){return C.default}});var n=i(63819),o=i(72392),r=i(74551),s=i(2536),a=i(52285),l=i(12117),c=i(35140),u=i(28435),d=i(98019),h=i(96457),p=i(33561),f=i(96545),m=i(52230),g=i(33307),v=i(71042),b=i(32172),y=i(39179),S=i(60629),w=i(68278),_=i(1172),C=i(4164)},24231:function(e,t){t.default='<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> '},24351:function(e,t,i){i.r(t),t.default={Spellcheck:"Kontrola pravopisu"}},24526:function(e,t,i){var n=i(12153),o=i(6441),r=i(61122),s=i(62e3),a=i(66789),l=i(20882),c=i(14306),u=i(24231),d=i(75393),h=i(14862),p=i(96257),f=i(9914),m=i(53696),g=i(33489);o.Config.prototype.toolbarInline=!0,o.Config.prototype.toolbarInlineForSelection=!1,o.Config.prototype.toolbarInlineDisableFor=[],o.Config.prototype.toolbarInlineDisabledButtons=["source"],n.Icon.set("addcolumn",u.default).set("addrow",d.default).set("merge",h.default).set("th",m.default).set("splitg",p.default).set("splitv",f.default).set("th-list",g.default),o.Config.prototype.popup={a:r.default,img:l.default,cells:s.default,toolbar:c.default,jodit:a.default,iframe:a.default,"jodit-media":a.default,selection:["bold","underline","italic","ul","ol",`
90
90
  `,"outdent","indent","fontsize","brush","cut",`
91
91
  `,"paragraph","link","align","dots"]}},24536:function(e,t,i){i.d(t,{UIList:function(){return g}});var n=i(4012),o=i(87325),r=i(97357),s=i(37133),a=i(46559),l=i(10830),c=i(62405),u=i(92113),d=i(34244),h=i(43649),p=i(72157),f=i(71262),m=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};let g=class e extends c.UIGroup{className(){return"UIList"}getRole(){return"list"}__onChangeMode(){this.setMod("mode",this.mode)}makeGroup(e){return new c.UIGroup(this.jodit,[],e?{role:e}:void 0)}get buttons(){return this.allChildren.filter(e=>n.Component.isInstanceOf(e,l.UIButton))}getButtonsNames(){return this.buttons.map(e=>e instanceof l.UIButton&&e.state.name||"").filter(e=>""!==e)}setRemoveButtons(e){return this.removeButtons=e||[],this}build(e,t=null){let i;e=(0,a.splitArray)(e),this.clear();let n=!1,o=this.makeGroup("group");this.append(o),o.setMod("line",!0);let r=e=>{let r=null;switch(e.name){case`
92
- `:(o=this.makeGroup("group")).setMod("line",!0),i=this.makeGroup(),o.append(i),this.append(o);break;case"|":n||(n=!0,r=new u.UISeparator(this.j));break;case"---":{i.setMod("before-spacer",!0);let e=new d.UISpacer(this.j);o.append(e),i=this.makeGroup(),o.append(i),n=!1;break}default:n=!1,r="select"===e.component?this.makeSelect(e,t):this.makeButton(e,t)}r&&(i||(i=this.makeGroup(),o.append(i)),i.append(r))},s=e=>{var t;return!this.removeButtons.includes(e.name)&&(!e.isVisible||(null==(t=e.isVisible)?void 0:t.call(e,this.j,e)))};return e.forEach(e=>{if((0,h.isButtonGroup)(e)){let t=e.buttons.filter(e=>e);t.length&&((i=this.makeGroup()).setMod("separated",!0).setMod("group",e.group),o.append(i),(0,f.getStrongControlTypes)(t,this.j.o.controls).filter(s).forEach(r))}else{i||(i=this.makeGroup(),o.append(i));let t=(0,p.getControlType)(e,this.j.o.controls);s(t)&&r(t)}}),this.update(),this}makeSelect(e,t){throw Error("Not implemented behaviour")}makeButton(e,t){return new l.UIButton(this.j,{name:e.name})}constructor(){super(...arguments),this.mode="horizontal",this.removeButtons=[]}};m([(0,s.watch)("mode"),(0,r.hook)("ready")],g.prototype,"__onChangeMode",null),g=m([o.component],g)},24630:function(e,t,i){var n=i(2748),o=i(72430),r=i(12153),s=i(6441),a=i(89816);r.Icon.set("paragraph",a.default),s.Config.prototype.controls.paragraph={command:"formatBlock",value(e,t){var i,o;let r=t.control,s=e.s.current(),a=n.Dom.closest(s,n.Dom.isBlock,e.editor);return null!=(i=null==a?void 0:a.nodeName.toLowerCase())?i:null==(o=r.data)?void 0:o.currentValue},update(e,t){let i=t.control;if(!e.s.current())return!1;let n=t.state.value,r=i.list;return(0,o.isPlainObject)(r)&&r[n.toString()]&&e.o.textIcons&&(t.state.text=r[n.toString()].toString()),!1},data:{currentValue:"p"},list:{p:"Paragraph",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",blockquote:"Quote",pre:"Code"},isChildActive(e,t){var i,n;return t.state.value===(null==(n=null==(i=t.control)?void 0:i.args)?void 0:n[0])},isActive:(e,t)=>t.state.value!==e.o.enter&&(0,o.isPlainObject)(t.control.list)&&!!t.control.list[t.state.value],childTemplate:(e,t,i)=>`<${t} style="margin:0;padding:0"><span>${e.i18n(i)}</span></${t}>`,tooltip:"Insert format block"}},24829:function(e,t){t.default='<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> '},24877:function(e,t,i){i.r(t),t.default={newline:"újsor",delete:"törlés",space:"tér","Speech Recognize":"A Beszéd Felismeri",Sound:"Hang","Interim Results":"Időközi Eredmények"}},25179:function(e,t){t.default='<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> '},25187:function(e,t,i){i(73391),i(12391),i(93183),i(66707),i(41107),i(71255),i(82439),i(61323),i(93079),i(19063),i(19271),i(1255),i(575),i(11317),i(36243),i(23399),i(96111),i(2169),i(42263),i(16233),i(77469),i(23531),i(80763),i(3215),i(70045),i(93401),i(76295),i(59483),i(91071),i(61019),i(65517),i(20071),i(32309),i(64837),i(79799),i(31571),i(85407),i(59451),i(18363),i(8355),i(58519),i(6687),i(56113),i(9159),i(12019),i(36125),i(9881),i(28545),i(45927),i(52951),i(43809),i(7309),i(68687),i(59495),i(39627),i(767),i(43003),i(72439),i(26551),i(72253),i(65735),i(83671),i(3115)},25639:function(e,t,i){i.d(t,{CommitStyle:function(){return a}});var n=i(82758),o=i(87058),r=i(77361),s=i(83632);class a{isApplied(e,t){let i=this.__applyMap.get(e);return!!i&&i[t]}setApplied(e,t){var i;let n=null!=(i=this.__applyMap.get(e))?i:{};n[t]=!0,this.__applyMap.set(e,n)}get elementIsList(){return!!(this.options.element&&n.LIST_TAGS.has(this.options.element))}get element(){return this.options.element||this.defaultTag}get elementIsBlock(){return!!(this.options.element&&n.IS_BLOCK.test(this.options.element))}get isElementCommit(){return!!(this.options.element&&this.options.element!==this.options.defaultTag)}get defaultTag(){return this.options.defaultTag?this.options.defaultTag:this.elementIsBlock?"p":"span"}get elementIsDefault(){return this.element===this.defaultTag}apply(e){let{hooks:t}=this.options,i=t?Object.keys(t):[];try{i.forEach(i=>{e.e.on((0,o.camelCase)(r._PREFIX+"_"+i),t[i])}),(0,s.ApplyStyle)(e,this)}finally{i.forEach(i=>{e.e.off((0,o.camelCase)(r._PREFIX+"_"+i),t[i])}),this.__applyMap=new WeakMap}e.synchronizeValues(),e.e.fire("afterCommitStyle",this)}constructor(e){this.options=e,this.__applyMap=new WeakMap}}},25685:function(e,t,i){i.r(t),i.d(t,{required:function(){return r},url:function(){return s}});var n=i(26049),o=i(49055);let r=function(e){return!!(0,o.trim)(e.value).length||(e.error="Please fill out this field",!1)},s=function(e){return!!(0,n.isURL)((0,o.trim)(e.value))||(e.error="Please enter a web address",!1)}},25726:function(e,t,i){i.d(t,{alignElement:function(){return a},clearAlign:function(){return s},hAlignElement:function(){return r}});var n=i(22732),o=i(41180);function r(e,t){t&&"normal"!==t?"center"!==t?((0,o.css)(e,"float",t),(0,o.clearCenterAlign)(e)):(0,o.css)(e,{float:"",display:"block",marginLeft:"auto",marginRight:"auto"}):((0,o.css)(e,"float")&&-1!==["right","left"].indexOf((0,o.css)(e,"float").toString().toLowerCase())&&(0,o.css)(e,"float",""),(0,o.clearCenterAlign)(e))}function s(e){n.Dom.each(e,e=>{n.Dom.isHTMLElement(e)&&e.style.textAlign&&(e.style.textAlign="",e.style.cssText.trim().length||e.removeAttribute("style"))})}function a(e,t){if(n.Dom.isNode(t)&&n.Dom.isElement(t))switch(s(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"}}},25813:function(e,t,i){i.d(t,{removeInvTextNodes:function(){return r}});var n=i(82758),o=i(2748);function r(e,t,i,r,s,a){if(a===t||!o.Dom.isText(t)||null==t.nodeValue||!(0,n.INVISIBLE_SPACE_REG_EXP)().test(t.nodeValue))return i;let l=o.Dom.furthest(a,o.Dom.isBlock,e.editor);return!l||o.Dom.isOrContains(l,t)?i:(t.nodeValue=t.nodeValue.replace((0,n.INVISIBLE_SPACE_REG_EXP)(),""),t===a&&e.s.isCollapsed()&&e.s.setCursorAfter(t),t.nodeValue||o.Dom.safeRemove(t),!0)}},26049:function(e,t,i){i.d(t,{isURL:function(){return o}});var n=i(82758);function o(e){if(e.includes(" "))return!1;if("u">typeof URL)try{let t=new URL(e);return["https:","http:","ftp:","file:","rtmp:"].includes(t.protocol)}catch(e){return!1}let t=n.globalDocument.createElement("a");return t.href=e,!!t.hostname}},26152:function(e,t,i){var n=i(68345),o=i(79910),r=i(4795),s=i(62770),a=i(1830),l=i(86273),c=i(82168),u=i(85017),d=i(32726),h=i(67078),p=i(92648),f=i(62232),m=i(62700),g=i(75445),v=i(97519),b=i(80926),y=i(52995),S=i(59526),w=i(40565),_=i(19292),C=i(83160),k=i(28923),I=i(19007),E=i(60175),T=i(69159);let D={};D={ar:o.default,cs_cz:r.default,de:s.default,en:a.default,es:l.default,fi:c.default,fr:u.default,he:d.default,hu:h.default,id:p.default,it:f.default,ja:m.default,ko:v.default,mn:b.default,nl:y.default,no:S.default,pl:w.default,pt_br:_.default,ru:C.default,tr:k.default,ua:I.default,zh_cn:E.default,zh_tw:T.default};let A=e=>e?e.default||e:{},j={};(0,n.isArray)(A(g.default))&&A(g.default).forEach((e,t)=>{j[t]=e}),Object.keys(D).forEach(e=>{let t=A(D[e]);(0,n.isArray)(t)?(D[e]={},t.forEach((t,i)=>{D[e][j[i]]=t})):D[e]=t}),t.default=D},26295:function(e,t,i){var n=i(21537),o=i(12153),r=i(6441),s=i(53259);r.Config.prototype.defaultLineHeight=null,o.Icon.set("line-height",s.default),r.Config.prototype.controls.lineHeight={command:"applyLineHeight",tags:["ol"],tooltip:"Line height",list:[1,1.1,1.2,1.3,1.4,1.5,2],exec:(e,t,{control:i})=>(0,n.memorizeExec)(e,t,{control:i},e=>e)}},26395:function(e,t,i){i.d(t,{inView:function(){return o},scrollIntoViewIfNeeded:function(){return r}});var n=i(2748);function o(e,t,i){let n=e.getBoundingClientRect(),o=e,r=n.top,s=n.height;for(;o&&o!==t&&o.parentNode;)if(!(r<=(n=(o=o.parentNode).getBoundingClientRect()).bottom)||r+s<=n.top)return!1;return r<=(i.documentElement&&i.documentElement.clientHeight||0)}function r(e,t,i){n.Dom.isHTMLElement(e)&&!o(e,t,i)&&(t.clientHeight!==t.scrollHeight&&(t.scrollTop=e.offsetTop),o(e,t,i)||e.scrollIntoView())}},26428:function(e,t,i){i.r(t),t.default={Spellcheck:"غلطیابی املایی"}},26529:function(e,t,i){i.r(t),i.d(t,{ar:function(){return n},cs_cz:function(){return o},de:function(){return r},es:function(){return s},fa:function(){return a},fi:function(){return l},fr:function(){return c},he:function(){return u},hu:function(){return d},id:function(){return h},it:function(){return p},ja:function(){return f},ko:function(){return m},mn:function(){return g},nl:function(){return v},no:function(){return b},pl:function(){return y},pt_br:function(){return S},ru:function(){return w},tr:function(){return _},ua:function(){return C},zh_cn:function(){return k},zh_tw:function(){return I}});var n=i(28906),o=i(24351),r=i(32806),s=i(77725),a=i(26428),l=i(42820),c=i(60373),u=i(98370),d=i(44850),h=i(3636),p=i(73220),f=i(55776),m=i(13995),g=i(6402),v=i(1879),b=i(1322),y=i(53361),S=i(70824),w=i(65140),_=i(42247),C=i(68891),k=i(63195),I=i(42107)},26532:function(e,t,i){i.d(t,{SpeechRecognition:function(){return o}});var n=i(82758);let o=n.globalWindow?n.globalWindow.SpeechRecognition||n.globalWindow.webkitSpeechRecognition:void 0},26551:function(e,t,i){var n=i(580);i(14984),n.pluginSystem.add("video",function(e){e.registerButton({name:"video",group:"media"})})},26556:function(e,t,i){i.r(t),t.default={"Line height":"Зураасны өндөр"}},26658:function(e,t,i){i.d(t,{onTabInsideLi:function(){return r}});var n=i(2748),o=i(38837);function r(e,t=!1){let i,s,a,l;if(!e.o.tab.tabInsideLiInsertNewList)return!1;let[c,u]=(i=e.createInside.fake(),s=e.createInside.fake(),(a=e.s.range.cloneRange()).collapse(!0),a.insertNode(i),(l=e.s.range.cloneRange()).collapse(!1),l.insertNode(s),[i,s]);try{let i,r,s,a,l,u=!!(i=n.Dom.closest(c,"li",e.editor))&&(!!t||!!n.Dom.isLeaf(i.previousElementSibling))&&(!t||!!n.Dom.closest(i,"li",e.editor))&&i;if(!u||!(r=n.Dom.closest(c,"li",e.editor))||r!==u&&!u.contains(r))return!1;let d=n.Dom.closest(u,["ol","ul"],e.editor);if(!d||t&&!n.Dom.closest(d,"li",e.editor))return!1;return t?function(e,t,i){let r=n.Dom.closest(t,"li",e.editor);(0,o.assert)(r,"tab parent li is null");let s=Array.from(t.children).filter(e=>n.Dom.isLeaf(e));n.Dom.after(r,i);let a=s.indexOf(i);if((0===a||1===s.length)&&n.Dom.safeRemove(t),a!==s.length-1){let e=t.cloneNode();n.Dom.append(i,e);for(let t=a+1;t<s.length;t+=1)n.Dom.append(e,s[t])}}(e,d,u):(s=u.previousElementSibling,(0,o.assert)(s,"tab previousElementSibling is null"),a=s.lastElementChild,(l=n.Dom.isTag(a,d.tagName)?a:e.createInside.element(d.tagName,Array.from(d.attributes).reduce((e,t)=>(e[t.name]=t.value,e),{}))).appendChild(u),a!==l&&s.appendChild(l)),!0}finally{let t=e.s.createRange();t.setStartAfter(c),t.setEndBefore(u),e.s.selectRange(t),n.Dom.safeRemove(c),n.Dom.safeRemove(u)}}},26716:function(e,t,i){i.d(t,{moveNodeInsideStart:function(){return r}});var n=i(82758),o=i(2748);function r(e,t,i){let r=o.Dom.findSibling(t,i),s=o.Dom.findSibling(t,!i);for(;o.Dom.isElement(r)&&!o.Dom.isTag(r,n.INSEPARABLE_TAGS)&&o.Dom.isContentEditable(r,e.editor)&&(!s||!o.Dom.closest(t,o.Dom.isElement,e.editor));)i||!r.firstChild?r.appendChild(t):o.Dom.before(r.firstChild,t),r=o.Dom.sibling(t,i),s=o.Dom.sibling(t,!i)}},26866:function(e,t,i){i.d(t,{Confirm:function(){return s}});var n=i(23282),o=i(10830),r=i(78584);function s(e,t,i){let s=this instanceof r.Dialog?this:new r.Dialog({closeOnClickOverlay:!0}),a=s.c.fromHTML('<form class="jodit-dialog_prompt"></form>'),l=s.c.element("label");(0,n.isFunction)(t)&&(i=t,t=void 0),l.appendChild(s.c.fromHTML(e)),a.appendChild(l);let c=e=>()=>{i&&!1===i(e)||s.close()},u=(0,o.Button)(s,"cancel","Cancel"),d=(0,o.Button)(s,"ok","Yes");return u.onAction(c(!1)),d.onAction(c(!0)),s.e.on(a,"submit",()=>(c(!0)(),!1)),s.setFooter([d,u]),s.open(a,t||"&nbsp;",!0,!0),d.focus(),s}},26992:function(e,t,i){i.d(t,{Async:function(){return f}});var n=i(82758),o=i(91898),r=i(12045),s=i(23282),a=i(84767),l=i(72430),c=i(14773),u=i(70799),d=i(86068),h=i(38837),p=i(93661);class f{delay(e){return this.promise(t=>this.setTimeout(t,e))}setTimeout(e,t,...i){if(this.isDestructed)return 0;let n={};(0,d.isVoid)(t)&&(t=0),(0,a.isNumber)(t)||(t=(n=t).timeout||0),n.label&&this.clearLabel(n.label);let r=(0,o.setTimeout)(e,t,...i),s=n.label||r;return this.timers.set(s,r),this.__callbacks.set(s,e),r}updateTimeout(e,t){if((0,h.assert)(e&&this.timers.has(e),"Label does not exist"),!e||!this.timers.has(e))return null;let i=this.__callbacks.get(e);return(0,h.assert)((0,s.isFunction)(i),"Callback is not a function"),this.setTimeout(i,{label:e,timeout:t})}clearLabel(e){e&&this.timers.has(e)&&((0,o.clearTimeout)(this.timers.get(e)),this.timers.delete(e),this.__callbacks.delete(e))}clearTimeout(e){if((0,u.isString)(e))return this.clearLabel(e);(0,o.clearTimeout)(e),this.timers.delete(e),this.__callbacks.delete(e)}debounce(e,t,i=!1){let n=0,a=!1,u=[],d=(...t)=>{if(!a){n=0;let i=e(...t);if(a=!0,u.length){let e=()=>{u.forEach(e=>e()),u.length=0};(0,c.isPromise)(i)?i.finally(e):e()}}},h=(...r)=>{a=!1,t?(!n&&i&&d(...r),(0,o.clearTimeout)(n),n=this.setTimeout(()=>d(...r),(0,s.isFunction)(t)?t():t),this.timers.set(e,n)):d(...r)};return(0,l.isPlainObject)(t)&&t.promisify?(...e)=>{let t=this.promise(e=>{u.push(e)}).catch(e=>{if((0,r.isAbortError)(e))return null;throw e});return h(...e),t}:h}microDebounce(e,t=!1){let i,n=!1,o=!0;return(...r)=>{if(i=r,n){o=!0;return}o=!0,t&&(o=!1,e(...i)),n=!0,this.__queueMicrotaskNative(()=>{n=!1,!this.isDestructed&&o&&e(...i)})}}throttle(e,t,i=!1){let n=null,o,r,a;return(...i)=>{(o=!0,a=i,t)?n||(r=()=>{o?(e(...a),o=!1,n=this.setTimeout(r,(0,s.isFunction)(t)?t():t),this.timers.set(r,n)):n=null})():e(...a)}}promise(e){let t=()=>{},i=new Promise((i,n)=>{t=()=>n((0,p.abort)("Abort async")),this.promisesRejections.add(t),e(i,n)});return!i.finally&&"u">typeof process&&!n.IS_ES_NEXT&&(i.finally=e=>(i.then(e).catch(e),i)),i.finally(()=>{this.promisesRejections.delete(t)}).catch(()=>null),i.rejectCallback=t,i}promiseState(e){if(e.status)return e.status;if(!Promise.race)return new Promise(t=>{e.then(e=>(t("fulfilled"),e),e=>{throw t("rejected"),e}),this.setTimeout(()=>{t("pending")},100)});let t={};return Promise.race([e,t]).then(e=>e===t?"pending":"fulfilled",()=>"rejected")}requestIdleCallback(e,t={timeout:100}){let i=this.__requestIdleCallbackNative(e,t);return this.__requestsIdle.add(i),i}requestIdlePromise(e){return this.promise(t=>{let i=this.requestIdleCallback(()=>t(i),e)})}schedulerPostTask(e,t={delay:0,priority:"user-visible"}){let i=new AbortController;if(t.signal&&t.signal.addEventListener("abort",()=>i.abort()),this.__controllers.add(i),void 0!==globalThis.scheduler){let n=globalThis.scheduler.postTask(e,{...t,signal:i.signal});return n.finally(()=>{this.__controllers.delete(i)}).catch(()=>null),n}return this.promise((n,o)=>{let r=this.setTimeout(()=>{try{n(e())}catch(e){o(e)}this.__controllers.delete(i)},t.delay||1);i.signal.addEventListener("abort",()=>{this.clearTimeout(r),this.__controllers.delete(i),o((0,p.abort)())})})}schedulerYield(){return this.schedulerPostTask(()=>{},{priority:"user-visible"})}cancelIdleCallback(e){return this.__requestsIdle.delete(e),this.__cancelIdleCallbackNative(e)}requestAnimationFrame(e){let t=requestAnimationFrame(e);return this.__requestsRaf.add(t),t}cancelAnimationFrame(e){this.__requestsRaf.delete(e),cancelAnimationFrame(e)}clear(){this.__requestsIdle.forEach(e=>this.cancelIdleCallback(e)),this.__requestsRaf.forEach(e=>this.cancelAnimationFrame(e)),this.__controllers.forEach(e=>e.abort()),this.timers.forEach(e=>(0,o.clearTimeout)(this.timers.get(e))),this.timers.clear(),this.promisesRejections.forEach(e=>e()),this.promisesRejections.clear()}destruct(){this.clear(),this.isDestructed=!0}constructor(){var e,t,i,n,o;this.timers=new Map,this.__callbacks=new Map,this.__queueMicrotaskNative=null!=(e=null==queueMicrotask?void 0:queueMicrotask.bind(window))?e:Promise.resolve().then.bind(Promise.resolve()),this.promisesRejections=new Set,this.__requestsIdle=new Set,this.__controllers=new Set,this.__requestsRaf=new Set,this.__requestIdleCallbackNative=null!=(i=null==(t=window.requestIdleCallback)?void 0:t.bind(window))?i:(e,t)=>{var i;let n=Date.now();return this.setTimeout(()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-n))})},null!=(i=null==t?void 0:t.timeout)?i:1)},this.__cancelIdleCallbackNative=null!=(o=null==(n=window.cancelIdleCallback)?void 0:n.bind(window))?o:e=>{this.clearTimeout(e)},this.isDestructed=!1}}},27190:function(e,t){t.default='<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> '},27613:function(e,t,i){i.d(t,{hasBrowserColorPicker:function(){return n.hasBrowserColorPicker},hasContainer:function(){return d.hasContainer},isAbortError:function(){return o.isAbortError},isArray:function(){return r.isArray},isBoolean:function(){return s.isBoolean},isDestructable:function(){return d.isDestructable},isEqual:function(){return a.isEqual},isFastEqual:function(){return a.isFastEqual},isFunction:function(){return l.isFunction},isHTML:function(){return c.isHTML},isHtmlFromWord:function(){return u.isHtmlFromWord},isInitable:function(){return d.isInitable},isInt:function(){return h.isInt},isJoditObject:function(){return p.isJoditObject},isLicense:function(){return f.isLicense},isMarker:function(){return m.isMarker},isNativeFunction:function(){return g.isNativeFunction},isNumber:function(){return v.isNumber},isNumeric:function(){return b.isNumeric},isPlainObject:function(){return y.isPlainObject},isPromise:function(){return S.isPromise},isSet:function(){return w.isSet},isString:function(){return _.isString},isStringArray:function(){return _.isStringArray},isURL:function(){return C.isURL},isValidName:function(){return k.isValidName},isViewObject:function(){return I.isViewObject},isVoid:function(){return E.isVoid},isWindow:function(){return T.isWindow}});var n=i(54765),o=i(12045),r=i(68345),s=i(87612),a=i(59292),l=i(23282),c=i(58487),u=i(29673),d=i(60132),h=i(72913),p=i(19306),f=i(45603),m=i(78116),g=i(70722),v=i(84767),b=i(29807),y=i(72430),S=i(14773),w=i(42320),_=i(70799),C=i(26049),k=i(37508),I=i(39955),E=i(86068),T=i(52742)},28143:function(e,t,i){i.r(t),i.d(t,{ar:function(){return n},cs_cz:function(){return o},de:function(){return r},es:function(){return s},fa:function(){return a},fi:function(){return l},fr:function(){return c},he:function(){return u},hu:function(){return d},id:function(){return h},it:function(){return p},ja:function(){return f},ko:function(){return m},mn:function(){return g},nl:function(){return v},pl:function(){return b},pt_br:function(){return y},ru:function(){return S},tr:function(){return w},ua:function(){return _},zh_cn:function(){return C},zh_tw:function(){return k}});var n=i(80084),o=i(76725),r=i(71724),s=i(46295),a=i(70190),l=i(67206),c=i(85723),u=i(61072),d=i(30592),h=i(89194),p=i(51834),f=i(5082),m=i(80105),g=i(26556),v=i(98689),b=i(42727),y=i(43646),S=i(53822),w=i(41817),_=i(69625),C=i(28973),k=i(19033)},28252:function(e,t,i){var n=i(22732),o=i(49055),r=i(41180),s=i(12153),a=i(6441),l=i(4104),c=i(83709);a.Config.prototype.defaultFontSizePoints="px",s.Icon.set("font",l.default).set("fontsize",c.default),a.Config.prototype.controls.fontsize={command:"fontsize",data:{cssRule:"font-size",normalise:(e,t)=>/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:(e,t)=>t+e.o.defaultFontSizePoints,childTemplate:(e,t,i)=>`${i}${e.o.defaultFontSizePoints}`,tooltip:"Font size",value(e,t){var i;let o=e.s.current();if(!o)return;let s=n.Dom.closest(o,n.Dom.isElement,e.editor);if(!s)return;let a=(null==(i=t.control.data)?void 0:i.cssRule)||"font-size";return(0,r.css)(s,a).toString()},isChildActive(e,t){var i,n;let o=t.state.value,r=null!=(n=null==(i=t.control.data)?void 0:i.normalize)?n:e=>e;return!!(o&&t.control.args&&r(t.control.args[0].toString())===r(o.toString()))},isActive(e,t){var i,n;let o=t.state.value;if(!o)return!1;let r=null!=(n=null==(i=t.control.data)?void 0:i.normalize)?n:e=>e,s=t.control.data.cacheListSet;return s||(s=new Set(Object.keys(t.control.list).map(r)),t.control.data.cacheListSet=s),s.has(r(o.toString()))}},a.Config.prototype.controls.font={...a.Config.prototype.controls.fontsize,command:"fontname",textTemplate(e,t){let[i]=t.split(",");return(0,o.trimChars)(i,"\"'")},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(e,t,i){let n=!1;try{n=-1===t.indexOf("dings")&&document.fonts.check("16px "+t,i)}catch(e){}return`<span data-style="${t}" style="${n?`font-family: ${t}!important;`:""}">${i}</span>`},data:{cssRule:"font-family",normalize:e=>e.toLowerCase().replace(/['"]+/g,"").replace(/[^a-z0-9-]+/g,",")},tooltip:"Font family"}},28435:function(e,t){t.default={"copy-format":"העתק עיצוב"}},28545:function(e,t,i){var n=i(82758),o=i(65478),r=i(2748),s=i(580),a=i(21537),l=i(50911),c=i(76014);i(55311);var u=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};let d="table_processor_observer",h="onMoveTableSelectCell";class p extends l.Plugin{get __tableModule(){return this.j.getInstance(c.Table,this.j.o)}afterInit(e){e.o.tableAllowCellSelection&&e.e.on("keydown.select-cells",e=>{e.key===n.KEY_TAB&&this.unselectCells()}).on("beforeCommand.select-cells",this.onExecCommand).on("afterCommand.select-cells",this.onAfterCommand).on(["clickEditor","mousedownTd","mousedownTh","touchstartTd","touchstartTh"].map(e=>e+".select-cells").join(" "),this.onStartSelection).on("clickTr clickTbody",()=>{var e;let t=this.__tableModule.getAllSelectedCells().length;if(t)return t>1&&(null==(e=this.j.s.sel)||e.removeAllRanges()),!1})}onStartSelection(e){if(this.j.o.readonly||(this.unselectCells(),e===this.j.editor))return;let t=r.Dom.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:h,timeout:this.j.defaultTimeout/2})).on(t,"mouseup.select-cells touchend.select-cells",this.__onStopSelection.bind(this,t)),!1}onOutsideClick(){this.__selectedCell=null,this.__onRemoveSelection()}onChange(){this.j.isLocked||this.__isSelectionMode||this.__onRemoveSelection()}__onMove(e,t){var i;let n;if(this.j.o.readonly&&!this.j.isLocked||this.j.isLockedNotBy(d))return;let o=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(!o)return;let s=r.Dom.closest(o,["td","th"],e);if(!s||!this.__selectedCell)return;s!==this.__selectedCell&&this.j.lock(d),this.unselectCells();let a=this.__tableModule.getSelectedBound(e,[s,this.__selectedCell]),l=this.__tableModule.formalMatrix(e);for(let e=a[0][0];e<=a[1][0];e+=1)for(let t=a[0][1];t<=a[1][1];t+=1)this.__tableModule.addSelection(l[e][t]);this.__tableModule.getAllSelectedCells().length>1&&(null==(i=this.j.s.sel)||i.removeAllRanges()),this.j.e.fire("hidePopup"),t.stopPropagation(),n=this.j.createInside.fromHTML('<div style="color:rgba(0,0,0,0.01);width:0;height:0">&nbsp;</div>'),s.appendChild(n),this.j.async.setTimeout(()=>{var e;null==(e=n.parentNode)||e.removeChild(n)},this.j.defaultTimeout/5)}__onRemoveSelection(e){var t;if(!(null==(t=null==e?void 0:e.buffer)?void 0:t.actionTrigger)&&!this.__selectedCell&&this.__tableModule.getAllSelectedCells().length){this.j.unlock(),this.unselectCells(),this.j.e.fire("hidePopup","cells");return}this.__isSelectionMode=!1,this.__selectedCell=null}__onStopSelection(e,t){if(!this.__selectedCell)return;this.__isSelectionMode=!1,this.j.unlock();let i=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(!i)return;let n=r.Dom.closest(i,["td","th"],e);if(!n)return;let o=r.Dom.closest(n,"table",e);if(o&&o!==e)return;let s=this.__tableModule.getSelectedBound(e,[n,this.__selectedCell]),l=this.__tableModule.formalMatrix(e),c=l[s[1][0]][s[1][1]],u=l[s[0][0]][s[0][1]];this.j.e.fire("showPopup",e,()=>{let e=(0,a.position)(u,this.j),t=(0,a.position)(c,this.j);return{left:e.left,top:e.top,width:t.left-e.left+t.width,height:t.top-e.top+t.height}},"cells"),(0,a.$$)("table",this.j.editor).forEach(e=>{this.j.e.off(e,"mousemove.select-cells touchmove.select-cells mouseup.select-cells touchend.select-cells")}),this.j.async.clearTimeout(h)}unselectCells(e){let t=this.__tableModule,i=t.getAllSelectedCells();i.length&&i.forEach(i=>{e&&e===i||t.removeSelection(i)})}onExecCommand(e){if(/table(splitv|splitg|merge|empty|bin|binrow|bincolumn|addcolumn|addrow)/.test(e)){e=e.replace("table","");let t=this.__tableModule.getAllSelectedCells();if(t.length){let[i]=t;if(!i)return;let n=r.Dom.closest(i,"table",this.j.editor);if(!n)return;switch(e){case"splitv":this.__tableModule.splitVertical(n);break;case"splitg":this.__tableModule.splitHorizontal(n);break;case"merge":this.__tableModule.mergeSelected(n);break;case"empty":t.forEach(e=>r.Dom.detach(e));break;case"bin":r.Dom.safeRemove(n);break;case"binrow":new Set(t.map(e=>e.parentNode)).forEach(e=>{this.__tableModule.removeRow(n,e.rowIndex)});break;case"bincolumn":{let e=new Set;t.reduce((t,i)=>(e.has(i.cellIndex)||(t.push(i),e.add(i.cellIndex)),t),[]).forEach(e=>{this.__tableModule.removeColumn(n,e.cellIndex)})}break;case"addcolumnafter":case"addcolumnbefore":this.__tableModule.appendColumn(n,i,"addcolumnafter"===e);break;case"addrowafter":case"addrowbefore":this.__tableModule.appendRow(n,i.parentNode,"addrowafter"===e)}}return!1}}onAfterCommand(e){/^justify/.test(e)&&this.__tableModule.getAllSelectedCells().forEach(t=>(0,a.alignElement)(e,t))}beforeDestruct(e){this.__onRemoveSelection(),e.e.off(".select-cells")}constructor(){super(...arguments),this.__selectedCell=null,this.__isSelectionMode=!1}}p.requires=["select"],u([o.autobind],p.prototype,"onStartSelection",null),u([(0,o.watch)(":outsideClick")],p.prototype,"onOutsideClick",null),u([(0,o.watch)(":change")],p.prototype,"onChange",null),u([o.autobind],p.prototype,"__onRemoveSelection",null),u([o.autobind],p.prototype,"__onStopSelection",null),u([o.autobind],p.prototype,"onExecCommand",null),u([o.autobind],p.prototype,"onAfterCommand",null),s.pluginSystem.add("selectCells",p)},28800:function(e,t,i){i.d(t,{tryRemoveNode:function(){return s}});var n=i(82758),o=i(2748),r=i(49055);function s(e,t,i,s,a,l){return!o.Dom.isText(t)&&(s&&!s[t.nodeName]||!s&&a&&a[t.nodeName])||e.o.cleanHTML.removeEmptyElements&&o.Dom.isElement(t)&&null!=t.nodeName.match(n.IS_INLINE)&&!o.Dom.isTemporary(t)&&0===(0,r.trimInv)(t.innerHTML).length&&(null==l||!o.Dom.isOrContains(t,l))?(o.Dom.safeRemove(t),!0):i}},28906:function(e,t,i){i.r(t),t.default={Spellcheck:"التدقيق الإملائي"}},28911:function(e,t){t.default='<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> '},28923:function(e,t){t.default={"Type something":"Bir şeyler yaz",Advanced:"Gelişmiş","About Jodit":"Jodit Hakkında","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Jodit Kullanım Kılavuzu","contains detailed help for using":"kullanım için detaylı bilgiler içerir","For information about the license, please go to our website:":"Lisans hakkında bilgi için lütfen web sitemize gidin:","Buy full version":"Tam versiyonunu satın al","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Tüm hakları saklıdır.",Anchor:"Bağlantı","Open in new tab":"Yeni sekmede aç","Open in fullsize":"Editörü tam ekranda aç","Clear Formatting":"Stili temizle","Fill color or set the text color":"Renk doldur veya yazı rengi seç",Redo:"Yinele",Undo:"Geri Al",Bold:"Kalın",Italic:"İtalik","Insert Unordered List":"Sırasız Liste Ekle","Insert Ordered List":"Sıralı Liste Ekle","Align Center":"Ortala","Align Justify":"Kenarlara Yasla","Align Left":"Sola Yasla","Align Right":"Sağa Yasla","Insert Horizontal Line":"Yatay Çizgi Ekle","Insert Image":"Resim Ekle","Insert file":"Dosya Ekle","Insert youtube/vimeo video":"Youtube/Vimeo Videosu Ekle","Insert link":"Bağlantı Ekle","Font size":"Font Boyutu","Font family":"Font Ailesi","Insert format block":"Blok Ekle",Normal:"Normal","Heading 1":"Başlık 1","Heading 2":"Başlık 2","Heading 3":"Başlık 3","Heading 4":"Başlık 4",Quote:"Alıntı",Code:"Kod",Insert:"Ekle","Insert table":"Tablo Ekle","Decrease Indent":"Girintiyi Azalt","Increase Indent":"Girintiyi Arttır","Select Special Character":"Özel Karakter Seç","Insert Special Character":"Özel Karakter Ekle","Paint format":"Resim Biçimi","Change mode":"Mod Değiştir",Margins:"Boşluklar",top:"Üst",right:"Sağ",bottom:"Alt",left:"Sol",Styles:"CSS Stilleri",Classes:"CSS Sınıfları",Align:"Hizalama",Right:"Sağ",Center:"Ortalı",Left:"Sol","--Not Set--":"Belirsiz",Src:"Kaynak",Title:"Başlık",Alternative:"Alternatif Yazı",Link:"Link","Open link in new tab":"Bağlantıyı yeni sekmede aç",Image:"Resim",file:"Dosya","Image properties":"Resim özellikleri",Cancel:"İptal",Ok:"Tamam","Your code is similar to HTML. Keep as HTML?":"Kodunuz HTML koduna benziyor. HTML olarak devam etmek ister misiniz?","Paste as HTML":"HTML olarak yapıştır",Keep:"Sakla",Clean:"Temizle","Insert as Text":"Yazı olarak ekle","Word Paste Detected":"Word biçiminde yapıştırma algılandı","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Der Inhalt, den Sie einfügen, stammt aus einem Microsoft Word / Excel-Dokument. Möchten Sie das Format erhalten oder löschen?","Insert only Text":"Sadece yazıyı ekle","File Browser":"Dosya Listeleyici","Error on load list":"Liste yüklenirken hata oluştu","Error on load folders":"Klasörler yüklenirken hata oluştur","Are you sure?":"Emin misiniz?","Enter Directory name":"Dizin yolu giriniz","Create directory":"Dizin oluştur","type name":"İsim yaz","Drop image":"Resim bırak","Drop file":"Dosya bırak","or click":"veya tıkla","Alternative text":"Alternatif yazı",Browse:"Gözat",Upload:"Yükle",Background:"Arka plan",Text:"Yazı",Top:"Üst",Middle:"Orta",Bottom:"Aşağı","Insert column before":"Öncesine kolon ekle","Insert column after":"Sonrasına kolon ekle","Insert row above":"Üstüne satır ekle","Insert row below":"Altına satır ekle","Delete table":"Tabloyu sil","Delete row":"Satırı sil","Delete column":"Kolonu sil","Empty cell":"Hücreyi temizle",Delete:"Sil","Strike through":"Üstü çizili",Underline:"Alt çizgi",Break:"Satır sonu","Search for":"Ara","Replace with":"Şununla değiştir",Replace:"Değiştir",Edit:"Düzenle","Vertical align":"Dikey hizala","Horizontal align":"Yatay hizala",Filter:"Filtre","Sort by changed":"Değişime göre sırala","Sort by name":"İsme göre sırala","Sort by size":"Boyuta göre sırala","Add folder":"Klasör ekle",Split:"Ayır","Split vertical":"Dikey ayır","Split horizontal":"Yatay ayır",Merge:"Birleştir","Add column":"Kolon ekle","Add row":"Satır ekle",Border:"Kenarlık","Embed code":"Kod ekle",Update:"Güncelle",superscript:"Üst yazı",subscript:"Alt yazı","Cut selection":"Seçilimi kes",Paste:"Yapıştır","Choose Content to Paste":"Yapıştırılacak içerik seç","Chars: %d":"Harfler: %d","Words: %d":"Kelimeler: %d",All:"Tümü","Select %s":"Seç: %s","Select all":"Tümünü seç",source:"Kaynak",bold:"Kalın",italic:"italik",brush:"Fırça",link:"Bağlantı",undo:"Geri al",redo:"Yinele",table:"Tablo",image:"Resim",eraser:"Silgi",paragraph:"Paragraf",fontsize:"Font boyutu",video:"Video",font:"Font",about:"Hakkında",print:"Yazdır",underline:"Alt çizgi",strikethrough:"Üstü çizili",indent:"Girinti",outdent:"Çıkıntı",fullsize:"Tam ekran",shrink:"Küçült",hr:"Ayraç",ul:"Sırasız liste",ol:"Sıralı liste",cut:"Kes",selectall:"Tümünü seç","Open link":"Bağlantıyı aç","Edit link":"Bağlantıyı düzenle","No follow":"Nofollow özelliği",Unlink:"Bağlantıyı kaldır",Eye:"Yorumu",pencil:"Düzenlemek için"," URL":"URL",Reset:"Sıfırla",Save:"Kaydet","Save as ...":"Farklı kaydet",Resize:"Boyutlandır",Crop:"Kırp",Width:"Genişlik",Height:"Yükseklik","Keep Aspect Ratio":"En boy oranını koru",Yes:"Evet",No:"Hayır",Remove:"Sil",Select:"Seç","You can only edit your own images. Download this image on the host?":"Sadece kendi resimlerinizi düzenleyebilirsiniz. Bu görseli kendi hostunuza indirmek ister misiniz?","The image has been successfully uploaded to the host!":"Görsel başarıyla hostunuza yüklendi",palette:"Palet","There are no files":"Bu dizinde dosya yok",Rename:"Yeniden isimlendir","Enter new name":"Yeni isim girin",preview:"Ön izleme",download:"İndir","Paste from clipboard":"Panodan yapıştır ","Your browser doesn't support direct access to the clipboard.":"Tarayıcınız panoya doğrudan erişimi desteklemiyor.","Copy selection":"Seçimi kopyala",copy:"Kopyala","Border radius":"Sınır yarıçapı","Show all":"Tümünü Göster",Apply:"Uygula","Please fill out this field":"Lütfen bu alanı doldurun","Please enter a web address":"Lütfen bir web adresi girin",Default:"Varsayılan",Circle:"Daire",Dot:"Nokta",Quadrate:"Kare",Find:"Bul","Find Previous":"Öncekini Bul","Find Next":"Sonrakini Bul","Insert className":"Sınıf adı girin","Press Alt for custom resizing":"Özel yeniden boyutlandırma için Alt tuşuna basın","License: %s":"Lisans: %s"}},28973:function(e,t,i){i.r(t),t.default={"Line height":"线高"}},29136:function(e,t,i){i.d(t,{isNormalNode:function(){return r}});var n=i(2748),o=i(78116);function r(e){return!!(e&&!n.Dom.isEmptyTextNode(e)&&!n.Dom.isTemporary(e)&&!(0,o.isMarker)(e))}},29615:function(e,t,i){i.d(t,{applyLink:function(){return r}});var n=i(2748),o=i(29960);function r(e,t,i,r){let s=n.Dom.closest(t,"a",e.editor);i?(s||(s=n.Dom.wrap(t,"a",e.createInside)),(0,o.attr)(s,"href",i),(0,o.attr)(s,"target",r?"_blank":null)):s&&s.parentNode&&s.parentNode.replaceChild(t,s)}},29673:function(e,t,i){i.d(t,{isHtmlFromWord:function(){return n}});function n(e){return -1!==e.search(/<meta.*?Microsoft Excel\s[\d].*?>/)||-1!==e.search(/<meta.*?Microsoft Word\s[\d].*?>/)||-1!==e.search(/style="[^"]*mso-/)&&-1!==e.search(/<font/)}},29807:function(e,t,i){i.d(t,{isNumeric:function(){return o}});var n=i(70799);function o(e){if((0,n.isString)(e)){if(!e.match(/^([+-])?[0-9]+(\.?)([0-9]+)?(e[0-9]+)?$/))return!1;e=parseFloat(e)}return"number"==typeof e&&!isNaN(e)&&isFinite(e)}},29827:function(e,t,i){i.d(t,{UIImagePositionTab:function(){return p}});var n=i(87325),o=i(97357),r=i(37133),s=i(21537),a=i(70799),l=i(29960),c=i(48538),u=i(12153),d=i(14415),h=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};let p=class e extends c.UIElement{className(){return"UIImagePositionTab"}render({availableClasses:e}){let t;return`<div class="jodit-form__group &__editMargins">
92
+ `:(o=this.makeGroup("group")).setMod("line",!0),i=this.makeGroup(),o.append(i),this.append(o);break;case"|":n||(n=!0,r=new u.UISeparator(this.j));break;case"---":{i.setMod("before-spacer",!0);let e=new d.UISpacer(this.j);o.append(e),i=this.makeGroup(),o.append(i),n=!1;break}default:n=!1,r="select"===e.component?this.makeSelect(e,t):this.makeButton(e,t)}r&&(i||(i=this.makeGroup(),o.append(i)),i.append(r))},s=e=>{var t;return!this.removeButtons.includes(e.name)&&(!e.isVisible||(null==(t=e.isVisible)?void 0:t.call(e,this.j,e)))};return e.forEach(e=>{if((0,h.isButtonGroup)(e)){let t=e.buttons.filter(e=>e);t.length&&((i=this.makeGroup()).setMod("separated",!0).setMod("group",e.group),o.append(i),(0,f.getStrongControlTypes)(t,this.j.o.controls).filter(s).forEach(r))}else{i||(i=this.makeGroup(),o.append(i));let t=(0,p.getControlType)(e,this.j.o.controls);s(t)&&r(t)}}),this.update(),this}makeSelect(e,t){throw Error("Not implemented behaviour")}makeButton(e,t){return new l.UIButton(this.j,{name:e.name})}constructor(){super(...arguments),this.mode="horizontal",this.removeButtons=[]}};m([(0,s.watch)("mode"),(0,r.hook)("ready")],g.prototype,"__onChangeMode",null),g=m([o.component],g)},24630:function(e,t,i){var n=i(2748),o=i(72430),r=i(12153),s=i(6441),a=i(89816);r.Icon.set("paragraph",a.default),s.Config.prototype.controls.paragraph={command:"formatBlock",value(e,t){var i,o;let r=t.control,s=e.s.current(),a=n.Dom.closest(s,n.Dom.isBlock,e.editor);return null!=(i=null==a?void 0:a.nodeName.toLowerCase())?i:null==(o=r.data)?void 0:o.currentValue},update(e,t){let i=t.control;if(!e.s.current())return!1;let n=t.state.value,r=i.list;return(0,o.isPlainObject)(r)&&r[n.toString()]&&e.o.textIcons&&(t.state.text=r[n.toString()].toString()),!1},data:{currentValue:"p"},list:{p:"Paragraph",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",blockquote:"Quote",pre:"Code"},isChildActive(e,t){var i,n;return t.state.value===(null==(n=null==(i=t.control)?void 0:i.args)?void 0:n[0])},isActive:(e,t)=>t.state.value!==e.o.enter&&(0,o.isPlainObject)(t.control.list)&&!!t.control.list[t.state.value],childTemplate:(e,t,i)=>`<${t} style="margin:0;padding:0"><span>${e.i18n(i)}</span></${t}>`,tooltip:"Insert format block"}},24829:function(e,t){t.default='<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> '},24877:function(e,t,i){i.r(t),t.default={newline:"újsor",delete:"törlés",space:"tér","Speech Recognize":"A Beszéd Felismeri",Sound:"Hang","Interim Results":"Időközi Eredmények"}},25179:function(e,t){t.default='<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> '},25187:function(e,t,i){i(73391),i(12391),i(93183),i(66707),i(41107),i(71255),i(82439),i(61323),i(93079),i(19063),i(19271),i(1255),i(575),i(11317),i(36243),i(23399),i(96111),i(2169),i(42263),i(16233),i(77469),i(23531),i(80763),i(3215),i(70045),i(93401),i(76295),i(59483),i(91071),i(61019),i(65517),i(20071),i(32309),i(64837),i(79799),i(31571),i(85407),i(59451),i(18363),i(8355),i(58519),i(6687),i(56113),i(9159),i(12019),i(36125),i(9881),i(28545),i(45927),i(52951),i(43809),i(7309),i(68687),i(59495),i(39627),i(767),i(43003),i(72439),i(26551),i(72253),i(65735),i(83671),i(3115)},25639:function(e,t,i){i.d(t,{CommitStyle:function(){return a}});var n=i(82758),o=i(87058),r=i(77361),s=i(83632);class a{isApplied(e,t){let i=this.__applyMap.get(e);return!!i&&i[t]}setApplied(e,t){var i;let n=null!=(i=this.__applyMap.get(e))?i:{};n[t]=!0,this.__applyMap.set(e,n)}get elementIsList(){return!!(this.options.element&&n.LIST_TAGS.has(this.options.element))}get element(){return this.options.element||this.defaultTag}get elementIsBlock(){return!!(this.options.element&&n.IS_BLOCK.test(this.options.element))}get isElementCommit(){return!!(this.options.element&&this.options.element!==this.options.defaultTag)}get defaultTag(){return this.options.defaultTag?this.options.defaultTag:this.elementIsBlock?"p":"span"}get elementIsDefault(){return this.element===this.defaultTag}apply(e){let{hooks:t}=this.options,i=t?Object.keys(t):[];try{i.forEach(i=>{e.e.on((0,o.camelCase)(r._PREFIX+"_"+i),t[i])}),(0,s.ApplyStyle)(e,this)}finally{i.forEach(i=>{e.e.off((0,o.camelCase)(r._PREFIX+"_"+i),t[i])}),this.__applyMap=new WeakMap}e.synchronizeValues(),e.e.fire("afterCommitStyle",this)}constructor(e){this.options=e,this.__applyMap=new WeakMap}}},25685:function(e,t,i){i.r(t),i.d(t,{required:function(){return r},url:function(){return s}});var n=i(26049),o=i(49055);let r=function(e){return!!(0,o.trim)(e.value).length||(e.error="Please fill out this field",!1)},s=function(e){return!!(0,n.isURL)((0,o.trim)(e.value))||(e.error="Please enter a web address",!1)}},25726:function(e,t,i){i.d(t,{alignElement:function(){return a},clearAlign:function(){return s},hAlignElement:function(){return r}});var n=i(22732),o=i(41180);function r(e,t){t&&"normal"!==t?"center"!==t?((0,o.css)(e,"float",t),(0,o.clearCenterAlign)(e)):(0,o.css)(e,{float:"",display:"block",marginLeft:"auto",marginRight:"auto"}):((0,o.css)(e,"float")&&-1!==["right","left"].indexOf((0,o.css)(e,"float").toString().toLowerCase())&&(0,o.css)(e,"float",""),(0,o.clearCenterAlign)(e))}function s(e){n.Dom.each(e,e=>{n.Dom.isHTMLElement(e)&&e.style.textAlign&&(e.style.textAlign="",e.style.cssText.trim().length||e.removeAttribute("style"))})}function a(e,t){if(n.Dom.isNode(t)&&n.Dom.isElement(t))switch(s(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"}}},25813:function(e,t,i){i.d(t,{removeInvTextNodes:function(){return r}});var n=i(82758),o=i(2748);function r(e,t,i,r,s,a){if(a===t||!o.Dom.isText(t)||null==t.nodeValue||!(0,n.INVISIBLE_SPACE_REG_EXP)().test(t.nodeValue))return i;let l=o.Dom.furthest(a,o.Dom.isBlock,e.editor);return!l||o.Dom.isOrContains(l,t)?i:(t.nodeValue=t.nodeValue.replace((0,n.INVISIBLE_SPACE_REG_EXP)(),""),t===a&&e.s.isCollapsed()&&e.s.setCursorAfter(t),t.nodeValue||o.Dom.safeRemove(t),!0)}},26049:function(e,t,i){i.d(t,{isURL:function(){return o}});var n=i(82758);function o(e){if(e.includes(" "))return!1;if("u">typeof URL)try{let t=new URL(e);return["https:","http:","ftp:","file:","rtmp:"].includes(t.protocol)}catch(e){return!1}let t=n.globalDocument.createElement("a");return t.href=e,!!t.hostname}},26152:function(e,t,i){var n=i(68345),o=i(79910),r=i(4795),s=i(62770),a=i(1830),l=i(86273),c=i(82168),u=i(85017),d=i(32726),h=i(67078),p=i(92648),f=i(62232),m=i(62700),g=i(75445),v=i(97519),b=i(80926),y=i(52995),S=i(59526),w=i(40565),_=i(19292),C=i(83160),k=i(28923),I=i(19007),E=i(60175),T=i(69159);let D={};D={ar:o.default,cs_cz:r.default,de:s.default,en:a.default,es:l.default,fi:c.default,fr:u.default,he:d.default,hu:h.default,id:p.default,it:f.default,ja:m.default,ko:v.default,mn:b.default,nl:y.default,no:S.default,pl:w.default,pt_br:_.default,ru:C.default,tr:k.default,ua:I.default,zh_cn:E.default,zh_tw:T.default};let A=e=>e?e.default||e:{},j={};(0,n.isArray)(A(g.default))&&A(g.default).forEach((e,t)=>{j[t]=e}),Object.keys(D).forEach(e=>{let t=A(D[e]);(0,n.isArray)(t)?(D[e]={},t.forEach((t,i)=>{D[e][j[i]]=t})):D[e]=t}),t.default=D},26295:function(e,t,i){var n=i(21537),o=i(12153),r=i(6441),s=i(53259);r.Config.prototype.defaultLineHeight=null,o.Icon.set("line-height",s.default),r.Config.prototype.controls.lineHeight={command:"applyLineHeight",tags:["ol"],tooltip:"Line height",list:[1,1.1,1.2,1.3,1.4,1.5,2],exec:(e,t,{control:i})=>(0,n.memorizeExec)(e,t,{control:i},e=>e)}},26395:function(e,t,i){i.d(t,{inView:function(){return o},scrollIntoViewIfNeeded:function(){return r}});var n=i(2748);function o(e,t,i){let n=e.getBoundingClientRect(),o=e,r=n.top,s=n.height;for(;o&&o!==t&&o.parentNode;)if(!(r<=(n=(o=o.parentNode).getBoundingClientRect()).bottom)||r+s<=n.top)return!1;return r<=(i.documentElement&&i.documentElement.clientHeight||0)}function r(e,t,i){n.Dom.isHTMLElement(e)&&!o(e,t,i)&&(t.clientHeight!==t.scrollHeight&&(t.scrollTop=e.offsetTop),o(e,t,i)||e.scrollIntoView())}},26428:function(e,t,i){i.r(t),t.default={Spellcheck:"غلطیابی املایی"}},26529:function(e,t,i){i.r(t),i.d(t,{ar:function(){return n},cs_cz:function(){return o},de:function(){return r},es:function(){return s},fa:function(){return a},fi:function(){return l},fr:function(){return c},he:function(){return u},hu:function(){return d},id:function(){return h},it:function(){return p},ja:function(){return f},ko:function(){return m},mn:function(){return g},nl:function(){return v},no:function(){return b},pl:function(){return y},pt_br:function(){return S},ru:function(){return w},tr:function(){return _},ua:function(){return C},zh_cn:function(){return k},zh_tw:function(){return I}});var n=i(28906),o=i(24351),r=i(32806),s=i(77725),a=i(26428),l=i(42820),c=i(60373),u=i(98370),d=i(44850),h=i(3636),p=i(73220),f=i(55776),m=i(13995),g=i(6402),v=i(1879),b=i(1322),y=i(53361),S=i(70824),w=i(65140),_=i(42247),C=i(68891),k=i(63195),I=i(42107)},26532:function(e,t,i){i.d(t,{SpeechRecognition:function(){return o}});var n=i(82758);let o=n.globalWindow?n.globalWindow.SpeechRecognition||n.globalWindow.webkitSpeechRecognition:void 0},26551:function(e,t,i){var n=i(580);i(14984),n.pluginSystem.add("video",function(e){e.registerButton({name:"video",group:"media"})})},26556:function(e,t,i){i.r(t),t.default={"Line height":"Зураасны өндөр"}},26658:function(e,t,i){i.d(t,{onTabInsideLi:function(){return r}});var n=i(2748),o=i(38837);function r(e,t=!1){let i,s,a,l;if(!e.o.tab.tabInsideLiInsertNewList)return!1;let[c,u]=(i=e.createInside.fake(),s=e.createInside.fake(),(a=e.s.range.cloneRange()).collapse(!0),a.insertNode(i),(l=e.s.range.cloneRange()).collapse(!1),l.insertNode(s),[i,s]);try{let i,r,s,a,l,u=!!(i=n.Dom.closest(c,"li",e.editor))&&(!!t||!!n.Dom.isLeaf(i.previousElementSibling))&&(!t||!!n.Dom.closest(i,"li",e.editor))&&i;if(!u||!(r=n.Dom.closest(c,"li",e.editor))||r!==u&&!u.contains(r))return!1;let d=n.Dom.closest(u,["ol","ul"],e.editor);if(!d||t&&!n.Dom.closest(d,"li",e.editor))return!1;return t?function(e,t,i){let r=n.Dom.closest(t,"li",e.editor);(0,o.assert)(r,"tab parent li is null");let s=Array.from(t.children).filter(e=>n.Dom.isLeaf(e));n.Dom.after(r,i);let a=s.indexOf(i);if((0===a||1===s.length)&&n.Dom.safeRemove(t),a!==s.length-1){let e=t.cloneNode();n.Dom.append(i,e);for(let t=a+1;t<s.length;t+=1)n.Dom.append(e,s[t])}}(e,d,u):(s=u.previousElementSibling,(0,o.assert)(s,"tab previousElementSibling is null"),a=s.lastElementChild,(l=n.Dom.isTag(a,d.tagName)?a:e.createInside.element(d.tagName,Array.from(d.attributes).reduce((e,t)=>(e[t.name]=t.value,e),{}))).appendChild(u),a!==l&&s.appendChild(l)),!0}finally{let t=e.s.createRange();t.setStartAfter(c),t.setEndBefore(u),e.s.selectRange(t),n.Dom.safeRemove(c),n.Dom.safeRemove(u)}}},26716:function(e,t,i){i.d(t,{moveNodeInsideStart:function(){return r}});var n=i(82758),o=i(2748);function r(e,t,i){let r=o.Dom.findSibling(t,i),s=o.Dom.findSibling(t,!i);for(;o.Dom.isElement(r)&&!o.Dom.isTag(r,n.INSEPARABLE_TAGS)&&o.Dom.isContentEditable(r,e.editor)&&(!s||!o.Dom.closest(t,o.Dom.isElement,e.editor));)i||!r.firstChild?r.appendChild(t):o.Dom.before(r.firstChild,t),r=o.Dom.sibling(t,i),s=o.Dom.sibling(t,!i)}},26866:function(e,t,i){i.d(t,{Confirm:function(){return s}});var n=i(23282),o=i(10830),r=i(78584);function s(e,t,i){let s=this instanceof r.Dialog?this:new r.Dialog({closeOnClickOverlay:!0}),a=s.c.fromHTML('<form class="jodit-dialog_prompt"></form>'),l=s.c.element("label");(0,n.isFunction)(t)&&(i=t,t=void 0),l.appendChild(s.c.fromHTML(e)),a.appendChild(l);let c=e=>()=>{i&&!1===i(e)||s.close()},u=(0,o.Button)(s,"cancel","Cancel"),d=(0,o.Button)(s,"ok","Yes");return u.onAction(c(!1)),d.onAction(c(!0)),s.e.on(a,"submit",()=>(c(!0)(),!1)),s.setFooter([d,u]),s.open(a,t||"&nbsp;",!0,!0),d.focus(),s}},26992:function(e,t,i){i.d(t,{Async:function(){return f}});var n=i(82758),o=i(91898),r=i(12045),s=i(23282),a=i(84767),l=i(72430),c=i(14773),u=i(70799),d=i(86068),h=i(38837),p=i(93661);class f{delay(e){return this.promise(t=>this.setTimeout(t,e))}setTimeout(e,t,...i){if(this.isDestructed)return 0;let n={};(0,d.isVoid)(t)&&(t=0),(0,a.isNumber)(t)||(t=(n=t).timeout||0),n.label&&this.clearLabel(n.label);let r=(0,o.setTimeout)(e,t,...i),s=n.label||r;return this.timers.set(s,r),this.__callbacks.set(s,e),r}updateTimeout(e,t){if((0,h.assert)(e&&this.timers.has(e),"Label does not exist"),!e||!this.timers.has(e))return null;let i=this.__callbacks.get(e);return(0,h.assert)((0,s.isFunction)(i),"Callback is not a function"),this.setTimeout(i,{label:e,timeout:t})}clearLabel(e){e&&this.timers.has(e)&&((0,o.clearTimeout)(this.timers.get(e)),this.timers.delete(e),this.__callbacks.delete(e))}clearTimeout(e){if((0,u.isString)(e))return this.clearLabel(e);(0,o.clearTimeout)(e),this.timers.delete(e),this.__callbacks.delete(e)}debounce(e,t,i=!1){let n=0,a=!1,u=[],d=(...t)=>{if(!a){n=0;let i=e(...t);if(a=!0,u.length){let e=()=>{u.forEach(e=>e()),u.length=0};(0,c.isPromise)(i)?i.finally(e):e()}}},h=(...r)=>{a=!1,t?(!n&&i&&d(...r),(0,o.clearTimeout)(n),n=this.setTimeout(()=>d(...r),(0,s.isFunction)(t)?t():t),this.timers.set(e,n)):d(...r)};return(0,l.isPlainObject)(t)&&t.promisify?(...e)=>{let t=this.promise(e=>{u.push(e)}).catch(e=>{if((0,r.isAbortError)(e))return null;throw e});return h(...e),t}:h}microDebounce(e,t=!1){let i,n=!1,o=!0;return(...r)=>{if(i=r,n){o=!0;return}o=!0,t&&(o=!1,e(...i)),n=!0,this.__queueMicrotaskNative(()=>{n=!1,!this.isDestructed&&o&&e(...i)})}}throttle(e,t,i=!1){let n=null,o,r,a;return(...i)=>{(o=!0,a=i,t)?n||(r=()=>{o?(e(...a),o=!1,n=this.setTimeout(r,(0,s.isFunction)(t)?t():t),this.timers.set(r,n)):n=null})():e(...a)}}promise(e){let t=()=>{},i=new Promise((i,n)=>{t=()=>n((0,p.abort)("Abort async")),this.promisesRejections.add(t),e(i,n)});return!i.finally&&"u">typeof process&&!n.IS_ES_NEXT&&(i.finally=e=>(i.then(e).catch(e),i)),i.finally(()=>{this.promisesRejections.delete(t)}).catch(()=>null),i.rejectCallback=t,i}promiseState(e){if(e.status)return e.status;if(!Promise.race)return new Promise(t=>{e.then(e=>(t("fulfilled"),e),e=>{throw t("rejected"),e}),this.setTimeout(()=>{t("pending")},100)});let t={};return Promise.race([e,t]).then(e=>e===t?"pending":"fulfilled",()=>"rejected")}requestIdleCallback(e,t={timeout:100}){let i=this.__requestIdleCallbackNative(e,t);return this.__requestsIdle.add(i),i}requestIdlePromise(e){return this.promise(t=>{let i=this.requestIdleCallback(()=>t(i),e)})}schedulerPostTask(e,t={delay:0,priority:"user-visible"}){let i=new AbortController;if(t.signal&&t.signal.addEventListener("abort",()=>i.abort()),this.__controllers.add(i),void 0!==globalThis.scheduler){let n=globalThis.scheduler.postTask(e,{...t,signal:i.signal});return n.finally(()=>{this.__controllers.delete(i)}).catch(()=>null),n}return this.promise((n,o)=>{let r=this.setTimeout(()=>{try{n(e())}catch(e){o(e)}this.__controllers.delete(i)},t.delay||1);i.signal.addEventListener("abort",()=>{this.clearTimeout(r),this.__controllers.delete(i),o((0,p.abort)())})})}schedulerYield(){return this.schedulerPostTask(()=>{},{priority:"user-visible"})}cancelIdleCallback(e){return this.__requestsIdle.delete(e),this.__cancelIdleCallbackNative(e)}requestAnimationFrame(e){let t=requestAnimationFrame(e);return this.__requestsRaf.add(t),t}cancelAnimationFrame(e){this.__requestsRaf.delete(e),cancelAnimationFrame(e)}clear(){this.__requestsIdle.forEach(e=>this.cancelIdleCallback(e)),this.__requestsRaf.forEach(e=>this.cancelAnimationFrame(e)),this.__controllers.forEach(e=>e.abort()),this.timers.forEach(e=>(0,o.clearTimeout)(this.timers.get(e))),this.timers.clear(),this.promisesRejections.forEach(e=>e()),this.promisesRejections.clear()}destruct(){this.clear(),this.isDestructed=!0}constructor(){var e,t,i,n,o;this.timers=new Map,this.__callbacks=new Map,this.__queueMicrotaskNative=null!=(e=null==queueMicrotask?void 0:queueMicrotask.bind(window))?e:Promise.resolve().then.bind(Promise.resolve()),this.promisesRejections=new Set,this.__requestsIdle=new Set,this.__controllers=new Set,this.__requestsRaf=new Set,this.__requestIdleCallbackNative=null!=(i=null==(t=window.requestIdleCallback)?void 0:t.bind(window))?i:(e,t)=>{var i;let n=Date.now();return this.setTimeout(()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-n))})},null!=(i=null==t?void 0:t.timeout)?i:1)},this.__cancelIdleCallbackNative=null!=(o=null==(n=window.cancelIdleCallback)?void 0:n.bind(window))?o:e=>{this.clearTimeout(e)},this.isDestructed=!1}}},27190:function(e,t){t.default='<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> '},27613:function(e,t,i){i.d(t,{hasBrowserColorPicker:function(){return n.hasBrowserColorPicker},hasContainer:function(){return d.hasContainer},isAbortError:function(){return o.isAbortError},isArray:function(){return r.isArray},isBoolean:function(){return s.isBoolean},isDestructable:function(){return d.isDestructable},isEqual:function(){return a.isEqual},isFastEqual:function(){return a.isFastEqual},isFunction:function(){return l.isFunction},isHTML:function(){return c.isHTML},isHtmlFromWord:function(){return u.isHtmlFromWord},isInitable:function(){return d.isInitable},isInt:function(){return h.isInt},isJoditObject:function(){return p.isJoditObject},isLicense:function(){return f.isLicense},isMarker:function(){return m.isMarker},isNativeFunction:function(){return g.isNativeFunction},isNumber:function(){return v.isNumber},isNumeric:function(){return b.isNumeric},isPlainObject:function(){return y.isPlainObject},isPromise:function(){return S.isPromise},isSet:function(){return w.isSet},isString:function(){return _.isString},isStringArray:function(){return _.isStringArray},isURL:function(){return C.isURL},isValidName:function(){return k.isValidName},isViewObject:function(){return I.isViewObject},isVoid:function(){return E.isVoid},isWindow:function(){return T.isWindow}});var n=i(54765),o=i(12045),r=i(68345),s=i(87612),a=i(59292),l=i(23282),c=i(58487),u=i(29673),d=i(60132),h=i(72913),p=i(19306),f=i(45603),m=i(78116),g=i(70722),v=i(84767),b=i(29807),y=i(72430),S=i(14773),w=i(42320),_=i(70799),C=i(26049),k=i(37508),I=i(39955),E=i(86068),T=i(52742)},28143:function(e,t,i){i.r(t),i.d(t,{ar:function(){return n},cs_cz:function(){return o},de:function(){return r},es:function(){return s},fa:function(){return a},fi:function(){return l},fr:function(){return c},he:function(){return u},hu:function(){return d},id:function(){return h},it:function(){return p},ja:function(){return f},ko:function(){return m},mn:function(){return g},nl:function(){return v},pl:function(){return b},pt_br:function(){return y},ru:function(){return S},tr:function(){return w},ua:function(){return _},zh_cn:function(){return C},zh_tw:function(){return k}});var n=i(80084),o=i(76725),r=i(71724),s=i(46295),a=i(70190),l=i(67206),c=i(85723),u=i(61072),d=i(30592),h=i(89194),p=i(51834),f=i(5082),m=i(80105),g=i(26556),v=i(98689),b=i(42727),y=i(43646),S=i(53822),w=i(41817),_=i(69625),C=i(28973),k=i(19033)},28252:function(e,t,i){var n=i(22732),o=i(49055),r=i(41180),s=i(12153),a=i(6441),l=i(4104),c=i(83709);a.Config.prototype.defaultFontSizePoints="px",s.Icon.set("font",l.default).set("fontsize",c.default),a.Config.prototype.controls.fontsize={command:"fontsize",data:{cssRule:"font-size",normalise:(e,t)=>/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:(e,t)=>t+e.o.defaultFontSizePoints,childTemplate:(e,t,i)=>`${i}${e.o.defaultFontSizePoints}`,tooltip:"Font size",value(e,t){var i;let o=e.s.current();if(!o)return;let s=n.Dom.closest(o,n.Dom.isElement,e.editor);if(!s)return;let a=(null==(i=t.control.data)?void 0:i.cssRule)||"font-size";return(0,r.css)(s,a).toString()},isChildActive(e,t){var i,n;let o=t.state.value,r=null!=(n=null==(i=t.control.data)?void 0:i.normalize)?n:e=>e;return!!(o&&t.control.args&&r(t.control.args[0].toString())===r(o.toString()))},isActive(e,t){var i,n;let o=t.state.value;if(!o)return!1;let r=null!=(n=null==(i=t.control.data)?void 0:i.normalize)?n:e=>e,s=t.control.data.cacheListSet;return s||(s=new Set(Object.keys(t.control.list).map(r)),t.control.data.cacheListSet=s),s.has(r(o.toString()))}},a.Config.prototype.controls.font={...a.Config.prototype.controls.fontsize,command:"fontname",textTemplate(e,t){let[i]=t.split(",");return(0,o.trimChars)(i,"\"'")},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(e,t,i){let n=!1;try{n=-1===t.indexOf("dings")&&document.fonts.check("16px "+t,i)}catch(e){}return`<span data-style="${t}" style="${n?`font-family: ${t}!important;`:""}">${i}</span>`},data:{cssRule:"font-family",normalize:e=>e.toLowerCase().replace(/['"]+/g,"").replace(/[^a-z0-9-]+/g,",")},tooltip:"Font family"}},28435:function(e,t){t.default={"copy-format":"העתק עיצוב"}},28545:function(e,t,i){var n=i(82758),o=i(65478),r=i(2748),s=i(580),a=i(21537),l=i(50911),c=i(76014);i(55311);var u=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};let d="table_processor_observer",h="onMoveTableSelectCell";class p extends l.Plugin{get __tableModule(){return this.j.getInstance(c.Table,this.j.o)}afterInit(e){e.o.tableAllowCellSelection&&e.e.on("keydown.select-cells",e=>{e.key===n.KEY_TAB&&this.unselectCells()}).on("beforeCommand.select-cells",this.onExecCommand).on("afterCommand.select-cells",this.onAfterCommand).on(["clickEditor","mousedownTd","mousedownTh","touchstartTd","touchstartTh"].map(e=>e+".select-cells").join(" "),this.onStartSelection).on("clickTr clickTbody",()=>{var e;let t=this.__tableModule.getAllSelectedCells().length;if(t)return t>1&&(null==(e=this.j.s.sel)||e.removeAllRanges()),!1})}onStartSelection(e){if(this.j.o.readonly||(this.unselectCells(),e===this.j.editor))return;let t=r.Dom.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:h,timeout:this.j.defaultTimeout/2})).on(t,"mouseup.select-cells touchend.select-cells",this.__onStopSelection.bind(this,t)),!1}onOutsideClick(){this.__selectedCell=null,this.__onRemoveSelection()}onChange(){this.j.isLocked||this.__isSelectionMode||this.__onRemoveSelection()}__onMove(e,t){var i;let n;if(this.j.o.readonly&&!this.j.isLocked||this.j.isLockedNotBy(d))return;let o=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(!o)return;let s=r.Dom.closest(o,["td","th"],e);if(!s||!this.__selectedCell)return;s!==this.__selectedCell&&this.j.lock(d),this.unselectCells();let a=this.__tableModule.getSelectedBound(e,[s,this.__selectedCell]),l=this.__tableModule.formalMatrix(e);for(let e=a[0][0];e<=a[1][0];e+=1)for(let t=a[0][1];t<=a[1][1];t+=1)this.__tableModule.addSelection(l[e][t]);this.__tableModule.getAllSelectedCells().length>1&&(null==(i=this.j.s.sel)||i.removeAllRanges()),this.j.e.fire("hidePopup"),t.stopPropagation(),n=this.j.createInside.fromHTML('<div style="color:rgba(0,0,0,0.01);width:0;height:0">&nbsp;</div>'),s.appendChild(n),this.j.async.setTimeout(()=>{var e;null==(e=n.parentNode)||e.removeChild(n)},this.j.defaultTimeout/5)}__onRemoveSelection(e){var t;if(!(null==(t=null==e?void 0:e.buffer)?void 0:t.actionTrigger)&&!this.__selectedCell&&this.__tableModule.getAllSelectedCells().length){this.j.unlock(),this.unselectCells(),this.j.e.fire("hidePopup","cells");return}this.__isSelectionMode=!1,this.__selectedCell=null}__onStopSelection(e,t){if(!this.__selectedCell)return;this.__isSelectionMode=!1,this.j.unlock();let i=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(!i)return;let n=r.Dom.closest(i,["td","th"],e);if(!n)return;let o=r.Dom.closest(n,"table",e);if(o&&o!==e)return;let s=this.__tableModule.getSelectedBound(e,[n,this.__selectedCell]),l=this.__tableModule.formalMatrix(e),c=l[s[1][0]][s[1][1]],u=l[s[0][0]][s[0][1]];this.j.e.fire("showPopup",e,()=>{let e=(0,a.position)(u,this.j),t=(0,a.position)(c,this.j);return{left:e.left,top:e.top,width:t.left-e.left+t.width,height:t.top-e.top+t.height}},"cells"),(0,a.$$)("table",this.j.editor).forEach(e=>{this.j.e.off(e,"mousemove.select-cells touchmove.select-cells mouseup.select-cells touchend.select-cells")}),this.j.async.clearTimeout(h)}unselectCells(e){let t=this.__tableModule,i=t.getAllSelectedCells();i.length&&i.forEach(i=>{e&&e===i||t.removeSelection(i)})}onExecCommand(e){if(/table(splitv|splitg|merge|empty|bin|binrow|bincolumn|addcolumn|addrow)/.test(e)){e=e.replace("table","");let t=this.__tableModule.getAllSelectedCells();if(t.length){let[i]=t;if(!i)return;let n=r.Dom.closest(i,"table",this.j.editor);if(!n)return;switch(e){case"splitv":this.__tableModule.splitVertical(n);break;case"splitg":this.__tableModule.splitHorizontal(n);break;case"merge":this.__tableModule.mergeSelected(n);break;case"empty":t.forEach(e=>r.Dom.detach(e));break;case"bin":r.Dom.safeRemove(n);break;case"binrow":new Set(t.map(e=>e.parentNode)).forEach(e=>{this.__tableModule.removeRow(n,e.rowIndex)});break;case"bincolumn":{let e=new Set,i=[];t.forEach(t=>{let[,o]=this.__tableModule.formalCoordinate(n,t);e.has(o)||(i.push(o),e.add(o))}),i.sort((e,t)=>t-e).forEach(e=>{this.__tableModule.removeColumn(n,e)})}break;case"addcolumnafter":case"addcolumnbefore":this.__tableModule.appendColumn(n,i,"addcolumnafter"===e);break;case"addrowafter":case"addrowbefore":this.__tableModule.appendRow(n,i.parentNode,"addrowafter"===e)}}return!1}}onAfterCommand(e){/^justify/.test(e)&&this.__tableModule.getAllSelectedCells().forEach(t=>(0,a.alignElement)(e,t))}beforeDestruct(e){this.__onRemoveSelection(),e.e.off(".select-cells")}constructor(){super(...arguments),this.__selectedCell=null,this.__isSelectionMode=!1}}p.requires=["select"],u([o.autobind],p.prototype,"onStartSelection",null),u([(0,o.watch)(":outsideClick")],p.prototype,"onOutsideClick",null),u([(0,o.watch)(":change")],p.prototype,"onChange",null),u([o.autobind],p.prototype,"__onRemoveSelection",null),u([o.autobind],p.prototype,"__onStopSelection",null),u([o.autobind],p.prototype,"onExecCommand",null),u([o.autobind],p.prototype,"onAfterCommand",null),s.pluginSystem.add("selectCells",p)},28800:function(e,t,i){i.d(t,{tryRemoveNode:function(){return s}});var n=i(82758),o=i(2748),r=i(49055);function s(e,t,i,s,a,l){return!o.Dom.isText(t)&&(s&&!s[t.nodeName]||!s&&a&&a[t.nodeName])||e.o.cleanHTML.removeEmptyElements&&o.Dom.isElement(t)&&null!=t.nodeName.match(n.IS_INLINE)&&!o.Dom.isTemporary(t)&&0===(0,r.trimInv)(t.innerHTML).length&&(null==l||!o.Dom.isOrContains(t,l))?(o.Dom.safeRemove(t),!0):i}},28906:function(e,t,i){i.r(t),t.default={Spellcheck:"التدقيق الإملائي"}},28911:function(e,t){t.default='<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> '},28923:function(e,t){t.default={"Type something":"Bir şeyler yaz",Advanced:"Gelişmiş","About Jodit":"Jodit Hakkında","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Jodit Kullanım Kılavuzu","contains detailed help for using":"kullanım için detaylı bilgiler içerir","For information about the license, please go to our website:":"Lisans hakkında bilgi için lütfen web sitemize gidin:","Buy full version":"Tam versiyonunu satın al","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Tüm hakları saklıdır.",Anchor:"Bağlantı","Open in new tab":"Yeni sekmede aç","Open in fullsize":"Editörü tam ekranda aç","Clear Formatting":"Stili temizle","Fill color or set the text color":"Renk doldur veya yazı rengi seç",Redo:"Yinele",Undo:"Geri Al",Bold:"Kalın",Italic:"İtalik","Insert Unordered List":"Sırasız Liste Ekle","Insert Ordered List":"Sıralı Liste Ekle","Align Center":"Ortala","Align Justify":"Kenarlara Yasla","Align Left":"Sola Yasla","Align Right":"Sağa Yasla","Insert Horizontal Line":"Yatay Çizgi Ekle","Insert Image":"Resim Ekle","Insert file":"Dosya Ekle","Insert youtube/vimeo video":"Youtube/Vimeo Videosu Ekle","Insert link":"Bağlantı Ekle","Font size":"Font Boyutu","Font family":"Font Ailesi","Insert format block":"Blok Ekle",Normal:"Normal","Heading 1":"Başlık 1","Heading 2":"Başlık 2","Heading 3":"Başlık 3","Heading 4":"Başlık 4",Quote:"Alıntı",Code:"Kod",Insert:"Ekle","Insert table":"Tablo Ekle","Decrease Indent":"Girintiyi Azalt","Increase Indent":"Girintiyi Arttır","Select Special Character":"Özel Karakter Seç","Insert Special Character":"Özel Karakter Ekle","Paint format":"Resim Biçimi","Change mode":"Mod Değiştir",Margins:"Boşluklar",top:"Üst",right:"Sağ",bottom:"Alt",left:"Sol",Styles:"CSS Stilleri",Classes:"CSS Sınıfları",Align:"Hizalama",Right:"Sağ",Center:"Ortalı",Left:"Sol","--Not Set--":"Belirsiz",Src:"Kaynak",Title:"Başlık",Alternative:"Alternatif Yazı",Link:"Link","Open link in new tab":"Bağlantıyı yeni sekmede aç",Image:"Resim",file:"Dosya","Image properties":"Resim özellikleri",Cancel:"İptal",Ok:"Tamam","Your code is similar to HTML. Keep as HTML?":"Kodunuz HTML koduna benziyor. HTML olarak devam etmek ister misiniz?","Paste as HTML":"HTML olarak yapıştır",Keep:"Sakla",Clean:"Temizle","Insert as Text":"Yazı olarak ekle","Word Paste Detected":"Word biçiminde yapıştırma algılandı","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Der Inhalt, den Sie einfügen, stammt aus einem Microsoft Word / Excel-Dokument. Möchten Sie das Format erhalten oder löschen?","Insert only Text":"Sadece yazıyı ekle","File Browser":"Dosya Listeleyici","Error on load list":"Liste yüklenirken hata oluştu","Error on load folders":"Klasörler yüklenirken hata oluştur","Are you sure?":"Emin misiniz?","Enter Directory name":"Dizin yolu giriniz","Create directory":"Dizin oluştur","type name":"İsim yaz","Drop image":"Resim bırak","Drop file":"Dosya bırak","or click":"veya tıkla","Alternative text":"Alternatif yazı",Browse:"Gözat",Upload:"Yükle",Background:"Arka plan",Text:"Yazı",Top:"Üst",Middle:"Orta",Bottom:"Aşağı","Insert column before":"Öncesine kolon ekle","Insert column after":"Sonrasına kolon ekle","Insert row above":"Üstüne satır ekle","Insert row below":"Altına satır ekle","Delete table":"Tabloyu sil","Delete row":"Satırı sil","Delete column":"Kolonu sil","Empty cell":"Hücreyi temizle",Delete:"Sil","Strike through":"Üstü çizili",Underline:"Alt çizgi",Break:"Satır sonu","Search for":"Ara","Replace with":"Şununla değiştir",Replace:"Değiştir",Edit:"Düzenle","Vertical align":"Dikey hizala","Horizontal align":"Yatay hizala",Filter:"Filtre","Sort by changed":"Değişime göre sırala","Sort by name":"İsme göre sırala","Sort by size":"Boyuta göre sırala","Add folder":"Klasör ekle",Split:"Ayır","Split vertical":"Dikey ayır","Split horizontal":"Yatay ayır",Merge:"Birleştir","Add column":"Kolon ekle","Add row":"Satır ekle",Border:"Kenarlık","Embed code":"Kod ekle",Update:"Güncelle",superscript:"Üst yazı",subscript:"Alt yazı","Cut selection":"Seçilimi kes",Paste:"Yapıştır","Choose Content to Paste":"Yapıştırılacak içerik seç","Chars: %d":"Harfler: %d","Words: %d":"Kelimeler: %d",All:"Tümü","Select %s":"Seç: %s","Select all":"Tümünü seç",source:"Kaynak",bold:"Kalın",italic:"italik",brush:"Fırça",link:"Bağlantı",undo:"Geri al",redo:"Yinele",table:"Tablo",image:"Resim",eraser:"Silgi",paragraph:"Paragraf",fontsize:"Font boyutu",video:"Video",font:"Font",about:"Hakkında",print:"Yazdır",underline:"Alt çizgi",strikethrough:"Üstü çizili",indent:"Girinti",outdent:"Çıkıntı",fullsize:"Tam ekran",shrink:"Küçült",hr:"Ayraç",ul:"Sırasız liste",ol:"Sıralı liste",cut:"Kes",selectall:"Tümünü seç","Open link":"Bağlantıyı aç","Edit link":"Bağlantıyı düzenle","No follow":"Nofollow özelliği",Unlink:"Bağlantıyı kaldır",Eye:"Yorumu",pencil:"Düzenlemek için"," URL":"URL",Reset:"Sıfırla",Save:"Kaydet","Save as ...":"Farklı kaydet",Resize:"Boyutlandır",Crop:"Kırp",Width:"Genişlik",Height:"Yükseklik","Keep Aspect Ratio":"En boy oranını koru",Yes:"Evet",No:"Hayır",Remove:"Sil",Select:"Seç","You can only edit your own images. Download this image on the host?":"Sadece kendi resimlerinizi düzenleyebilirsiniz. Bu görseli kendi hostunuza indirmek ister misiniz?","The image has been successfully uploaded to the host!":"Görsel başarıyla hostunuza yüklendi",palette:"Palet","There are no files":"Bu dizinde dosya yok",Rename:"Yeniden isimlendir","Enter new name":"Yeni isim girin",preview:"Ön izleme",download:"İndir","Paste from clipboard":"Panodan yapıştır ","Your browser doesn't support direct access to the clipboard.":"Tarayıcınız panoya doğrudan erişimi desteklemiyor.","Copy selection":"Seçimi kopyala",copy:"Kopyala","Border radius":"Sınır yarıçapı","Show all":"Tümünü Göster",Apply:"Uygula","Please fill out this field":"Lütfen bu alanı doldurun","Please enter a web address":"Lütfen bir web adresi girin",Default:"Varsayılan",Circle:"Daire",Dot:"Nokta",Quadrate:"Kare",Find:"Bul","Find Previous":"Öncekini Bul","Find Next":"Sonrakini Bul","Insert className":"Sınıf adı girin","Press Alt for custom resizing":"Özel yeniden boyutlandırma için Alt tuşuna basın","License: %s":"Lisans: %s"}},28973:function(e,t,i){i.r(t),t.default={"Line height":"线高"}},29136:function(e,t,i){i.d(t,{isNormalNode:function(){return r}});var n=i(2748),o=i(78116);function r(e){return!!(e&&!n.Dom.isEmptyTextNode(e)&&!n.Dom.isTemporary(e)&&!(0,o.isMarker)(e))}},29615:function(e,t,i){i.d(t,{applyLink:function(){return r}});var n=i(2748),o=i(29960);function r(e,t,i,r){let s=n.Dom.closest(t,"a",e.editor);i?(s||(s=n.Dom.wrap(t,"a",e.createInside)),(0,o.attr)(s,"href",i),(0,o.attr)(s,"target",r?"_blank":null)):s&&s.parentNode&&s.parentNode.replaceChild(t,s)}},29673:function(e,t,i){i.d(t,{isHtmlFromWord:function(){return n}});function n(e){return -1!==e.search(/<meta.*?Microsoft Excel\s[\d].*?>/)||-1!==e.search(/<meta.*?Microsoft Word\s[\d].*?>/)||-1!==e.search(/style="[^"]*mso-/)&&-1!==e.search(/<font/)}},29807:function(e,t,i){i.d(t,{isNumeric:function(){return o}});var n=i(70799);function o(e){if((0,n.isString)(e)){if(!e.match(/^([+-])?[0-9]+(\.?)([0-9]+)?(e[0-9]+)?$/))return!1;e=parseFloat(e)}return"number"==typeof e&&!isNaN(e)&&isFinite(e)}},29827:function(e,t,i){i.d(t,{UIImagePositionTab:function(){return p}});var n=i(87325),o=i(97357),r=i(37133),s=i(21537),a=i(70799),l=i(29960),c=i(48538),u=i(12153),d=i(14415),h=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};let p=class e extends c.UIElement{className(){return"UIImagePositionTab"}render({availableClasses:e}){let t;return`<div class="jodit-form__group &__editMargins">
93
93
  <label>~Margins~</label>
94
94
  <div class="jodit-grid jodit_vertical_middle">
95
95
  <input class="jodit_col-lg-1-5 jodit-input &__marginTop" type="text" placeholder="~top~"/>
@@ -163,7 +163,7 @@
163
163
  </label>
164
164
  </div>`}async onStateImageSrcChange(){this.getElm("imageSrc").value=this.state.values.imageSrc}onImageSrcChange(){this.state.values.imageSrc=this.getElm("imageSrc").value}onEditImageClick(e){this.handlers.openImageEditor(),e.stopPropagation()}onChangeImageClick(e){this.handlers.openImagePopup(this.getElm("changeImage")),e.stopPropagation()}onStateTitleChange(){this.getElm("imageTitle").value=this.state.values.imageTitle}onTitleChange(){this.state.values.imageTitle=this.getElm("imageTitle").value}onStateAltChange(){this.getElm("imageAlt").value=this.state.values.imageAlt}onAltChange(){this.state.values.imageAlt=this.getElm("imageAlt").value}onStateImageLinkChange(){this.getElm("imageLink").value=this.state.values.imageLink}onImageLinkChange(){this.state.values.imageLink=this.getElm("imageLink").value}onStateImageLinkOpenInNewTabChange(){this.getElm("imageLinkOpenInNewTab").checked=this.state.values.imageLinkOpenInNewTab}onImageLinkOpenInNewTabChange(){this.state.values.imageLinkOpenInNewTab=this.getElm("imageLinkOpenInNewTab").checked}hideFieldByOptions(){let e=this.j.o,t=e.image;[["editSrc","editSrc"],["editTitle","editTitle"],["editAlt","editAlt"],["editLink","editLink"],["editLink","editLinkTarget"],["useImageEditor","editImage"]].forEach(([e,i])=>{let n=this.getElm(i);(0,s.css)(n,"display",t[e]?null:"none")});let i=this.getElm("changeImage"),n=!!(e.filebrowser.ajax.url||e.uploader.url);(0,s.css)(i,"display",n?null:"none");let o=this.getElm("editImage"),r=!!e.filebrowser.ajax.url&&t.useImageEditor;(0,s.css)(o,"display",r?null:"none");let a=this.getElm("fixImage");(0,s.css)(a,"display",n||r?null:"none")}constructor(e,t,i){super(e),this.state=t,this.handlers=i}};l([(0,r.watch)("state.values.imageSrc")],c.prototype,"onStateImageSrcChange",null),l([(0,r.watch)("imageSrc:change")],c.prototype,"onImageSrcChange",null),l([(0,r.watch)("editImage:click")],c.prototype,"onEditImageClick",null),l([(0,r.watch)("changeImage:click")],c.prototype,"onChangeImageClick",null),l([(0,r.watch)("state.values.imageTitle")],c.prototype,"onStateTitleChange",null),l([(0,r.watch)("imageTitle:change")],c.prototype,"onTitleChange",null),l([(0,r.watch)("state.values.imageAlt")],c.prototype,"onStateAltChange",null),l([(0,r.watch)("imageAlt:change")],c.prototype,"onAltChange",null),l([(0,r.watch)("state.values.imageLink")],c.prototype,"onStateImageLinkChange",null),l([(0,r.watch)("imageLink:change")],c.prototype,"onImageLinkChange",null),l([(0,r.watch)("state.values.imageLinkOpenInNewTab")],c.prototype,"onStateImageLinkOpenInNewTabChange",null),l([(0,r.watch)("imageLinkOpenInNewTab:change")],c.prototype,"onImageLinkOpenInNewTabChange",null),l([(0,o.hook)("ready")],c.prototype,"hideFieldByOptions",null),c=l([n.component],c)},35140:function(e,t){t.default={"copy-format":"Format de copie"}},35278:function(e,t,i){i.d(t,{colorToHex:function(){return n}});let n=e=>{if("rgba(0, 0, 0, 0)"===e||""===e)return!1;if(!e)return"#000000";if("#"===e.substr(0,1))return e;let t=/([\s\n\t\r]*?)rgb\((\d+), (\d+), (\d+)\)/.exec(e)||/([\s\n\t\r]*?)rgba\((\d+), (\d+), (\d+), ([\d.]+)\)/.exec(e);if(!t)return"#000000";let i=parseInt(t[2],10),n=parseInt(t[3],10),o=(parseInt(t[4],10)|n<<8|i<<16).toString(16).toUpperCase();for(;o.length<6;)o="0"+o;return t[1]+"#"+o}},35399:function(e,t,i){i.d(t,{checkBR:function(){return n.checkBR},checkUnsplittableBox:function(){return o.checkUnsplittableBox},getBlockWrapper:function(){return r.getBlockWrapper},hasPreviousBlock:function(){return s.hasPreviousBlock},insertParagraph:function(){return a.insertParagraph},moveCursorOutFromSpecialTags:function(){return l.moveCursorOutFromSpecialTags},processEmptyLILeaf:function(){return c.processEmptyLILeaf},splitFragment:function(){return u.splitFragment},wrapText:function(){return d.wrapText}});var n=i(41872),o=i(61991),r=i(54041),s=i(19057),a=i(44245),l=i(91388),c=i(65181),u=i(54600),d=i(5287)},35599:function(e,t){t.default='<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> '},35608:function(e,t,i){i.d(t,{View:function(){return C}});var n,o=i(91907),r=i(4012),s=i(78213),a=i(82758),l=i(20218),c=i(33433),u=i(55153),d=i(97357),h=i(22732),p=i(3827),f=i(580),m=i(21537),g=i(97333),v=i(6700),b=i(14316),y=i(34176),S=i(23769),w=i(1808),_=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};let C=n=class e extends r.Component{get basePath(){return this.o.basePath?this.o.basePath:a.BASE_PATH}get minified(){return void 0!==this.o.minified?this.o.minified:a.BASE_PATH_IS_MIN}get defaultTimeout(){return(0,m.isVoid)(this.o.defaultTimeout)?100:this.o.defaultTimeout}get buffer(){return v.Storage.makeStorage()}get message(){return this.getMessageModule(this.container)}getMessageModule(e){return new w.UIMessages(this,e)}get storage(){return v.Storage.makeStorage(!0,this.id)}get asyncStorage(){return g.AsyncStorage.makeStorage(!0,this.id)}get c(){return this.create}get container(){return this.__container}set container(e){this.__container=e}get e(){return this.events}get progressbar(){return new S.ProgressBar(this)}get options(){return this.__options}set options(e){this.__options=e}get o(){return this.options}i18n(e,...t){return(0,m.i18n)(e,t,this.options)}toggleFullSize(e){void 0===e&&(e=!this.__isFullSize),e!==this.__isFullSize&&(this.__isFullSize=e,this.e.fire("toggleFullSize",e))}get isLocked(){return""!==this.__whoLocked}lock(e="any"){return!this.isLocked&&(this.__whoLocked=e,!0)}unlock(){return!!this.isLocked&&(this.__whoLocked="",!0)}get isFullSize(){return this.__isFullSize}getVersion(){return n.version}static getVersion(){return n.version}initOptions(e){this.options=(0,m.ConfigProto)(e||{},(0,m.ConfigProto)(this.options||{},n.defaultOptions))}initOwners(){var e;this.ownerWindow=null!=(e=this.o.ownerWindow)?e:window}attachEvents(e){if(!e)return;let t=null==e?void 0:e.events;t&&Object.keys(t).forEach(e=>this.e.on(e,t[e]))}getInstance(e,t){let i=(0,m.isFunction)(e)?e.prototype.className():e,n=this.e.fire((0,m.camelCase)("getInstance_"+i),t);if(n)return n;let r=(0,m.isFunction)(e)?e:f.modules[i],s=this.__modulesInstances;if(!(0,m.isFunction)(r))throw(0,m.error)("Need real module name");if(!s.has(i)){let e=r.prototype instanceof o.ViewComponent?new r(this,t):new r(t);this.components.add(e),s.set(i,e)}return s.get(i)}addDisclaimer(e){this.container.appendChild(e)}beforeDestruct(){this.e.fire(s.STATUSES.beforeDestruct,this),this.components.forEach(e=>{(0,m.isDestructable)(e)&&!e.isInDestruct&&e.destruct()}),this.components.clear()}destruct(){var e,t,i,n;this.isDestructed||(null==(e=(0,c.cached)(this,"progressbar"))||e.destruct(),null==(t=(0,c.cached)(this,"message"))||t.destruct(),null==(i=(0,c.cached)(this,"asyncStorage"))||i.close(),this.events&&(this.events.destruct(),this.events=void 0),null==(n=(0,c.cached)(this,"buffer"))||n.clear(),h.Dom.safeRemove(this.container),super.destruct())}constructor(e,t=!1){var i;super(),this.isJodit=t,this.isView=!0,this.parent=null,this.mods={},this.components=new Set,this.OPTIONS=n.defaultOptions,this.__isFullSize=!1,this.__whoLocked="",this.isLockedNotBy=e=>this.isLocked&&this.__whoLocked!==e,this.__modulesInstances=new Map,this.id=new Date().getTime().toString(),this.initOptions(e),this.initOwners(),this.events=null!=(i=null==e?void 0:e.eventEmmiter)?i:new p.EventEmitter(this.od),this.create=new l.Create(this.od),this.__container=this.c.div("jodit "+this.componentName)}};C.ES=a.ES,C.version=a.APP_VERSION,C.esNext=a.IS_ES_NEXT,C.esModern=a.IS_ES_MODERN,_([c.cache],C.prototype,"buffer",null),_([c.cache],C.prototype,"message",null),_([c.cache],C.prototype,"storage",null),_([c.cache],C.prototype,"asyncStorage",null),_([c.cache],C.prototype,"c",null),_([c.cache],C.prototype,"e",null),_([c.cache],C.prototype,"progressbar",null),_([(0,d.hook)(s.STATUSES.beforeDestruct)],C.prototype,"beforeDestruct",null),(C=n=_([(0,u.derive)(y.Mods,b.Elms)],C)).defaultOptions={extraButtons:[],cache:!0,textIcons:!1,namespace:"",removeButtons:[],zIndex:100002,defaultTimeout:100,fullsize:!1,showTooltip:!0,useNativeTooltip:!1,buttons:[],globalFullSize:!0,language:"auto"}},35934:function(e,t,i){i.d(t,{AutocompleteItem:function(){return l}});var n=i(82749),o=i(31635),r=i(65478),s=i(27613),a=i(48538);class l extends a.UIElement{className(){return"AutocompleteItem"}onClickPrevent(e){e.preventDefault(),e.stopPropagation()}onClickHandler(){this.onClick(this.value)}constructor(e,t,i){super(e),(0,n._)(this,"item",void 0),(0,n._)(this,"onClick",void 0),(0,n._)(this,"value",void 0),this.item=t,this.onClick=i,this.value="";const{container:o}=this;if(this.value=t.value,(0,s.isFunction)(t.itemRenderer)){const e=t.itemRenderer(t);(0,s.isString)(e)?o.innerHTML=e:o.appendChild(e)}else o.innerText=t.title??t.value}}(0,o.__decorate)([(0,r.watch)("container:mousedown container:touchstart")],l.prototype,"onClickPrevent",null),(0,o.__decorate)([(0,r.watch)("container:click")],l.prototype,"onClickHandler",null),l=(0,o.__decorate)([r.component],l)},36125:function(e,t,i){var n=i(82758),o=i(65478),r=i(22732),s=i(580),a=i(21537),l=i(50911);i(55099);var c=i(55611),u=i(92278),d=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};class h extends l.Plugin{get ui(){return new u.UISearch(this.j)}async updateCounters(){this.ui.isOpened&&(this.ui.count=await this.calcCounts(this.ui.query))}onPressReplaceButton(){this.findAndReplace(this.ui.query),this.updateCounters()}tryScrollToElement(e){let t=r.Dom.closest(e,r.Dom.isElement,this.j.editor);t||(t=r.Dom.prev(e,r.Dom.isElement,this.j.editor)),t&&t!==this.j.editor&&(0,a.scrollIntoViewIfNeeded)(t,this.j.editor,this.j.ed)}async calcCounts(e){return(await this.findQueryBounds(e,"walkerCount")).length}async findQueryBounds(e,t){let i=this[t];return i&&i.break(),i=new r.LazyWalker(this.j.async,{timeout:this.j.o.search.lazyIdleTimeout}),this[t]=i,this.find(i,e).catch(e=>(n.IS_PROD,[]))}async findAndReplace(e){let t=await this.findQueryBounds(e,"walker");if(!t.length)return!1;let i=this.findCurrentIndexInRanges(t,this.j.s.range);-1===i&&(i=0);let o=t[i];if(o){try{let t=this.j.ed.createRange();t.setStart(o.startContainer,o.startOffset),t.setEnd(o.endContainer,o.endOffset),t.deleteContents();let s=this.j.createInside.text(this.ui.replace);r.Dom.safeInsertNode(t,s),(0,c.clearSelectionWrappers)(this.j),this.j.s.setCursorAfter(s),this.tryScrollToElement(s),this.cache={},this.ui.currentIndex=i,await this.findAndSelect(e,!0).catch(e=>(n.IS_PROD,null))}finally{this.j.synchronizeValues()}return this.j.e.fire("afterFindAndReplace"),!0}return!1}async findAndSelect(e,t){var i;let o=await this.findQueryBounds(e,"walker");if(!o.length)return!1;this.previousQuery===e&&(0,c.getSelectionWrappers)(this.j.editor).length||(null==(i=this.drawPromise)||i.rejectCallback(),this.j.async.cancelAnimationFrame(this.wrapFrameRequest),(0,c.clearSelectionWrappers)(this.j),this.drawPromise=this.__drawSelectionRanges(o)),this.previousQuery=e;let r=this.ui.currentIndex-1;r=-1===r?0:t?r===o.length-1?0:r+1:0===r?o.length-1:r-1,this.ui.currentIndex=r+1;let s=o[r];if(s){let e=this.j.ed.createRange();try{e.setStart(s.startContainer,s.startOffset),e.setEnd(s.endContainer,s.endOffset),this.j.s.selectRange(e)}catch(e){n.IS_PROD}return this.tryScrollToElement(s.startContainer),await this.updateCounters(),await this.drawPromise,this.j.e.fire("afterFindAndSelect"),!0}return!1}findCurrentIndexInRanges(e,t){return e.findIndex(e=>e.startContainer===t.startContainer&&e.startOffset===t.startOffset&&e.endContainer===t.startContainer&&e.endOffset===t.endOffset)}async isValidCache(e){return(await e).every(e=>{var t,i,n,o;return e.startContainer.isConnected&&e.startOffset<=(null!=(i=null==(t=e.startContainer.nodeValue)?void 0:t.length)?i:0)&&e.endContainer.isConnected&&e.endOffset<=(null!=(o=null==(n=e.endContainer.nodeValue)?void 0:n.length)?o:0)})}async find(e,t){if(!t.length)return[];let i=this.cache[t];return i&&await this.isValidCache(i)?i:(this.cache[t]=this.j.async.promise(i=>{let n=new c.SentenceFinder(this.j.o.search.fuzzySearch);e.on("break",()=>{i([])}).on("visit",e=>(r.Dom.isText(e)&&n.add(e),!1)).on("end",()=>{var e;i(null!=(e=n.ranges(t))?e:[])}).setWork(this.j.editor)}),this.cache[t])}__drawSelectionRanges(e){let{async:t,createInside:i,editor:n}=this.j;t.cancelAnimationFrame(this.wrapFrameRequest);let o=[...e],r,s=0;return t.promise(e=>{let a=()=>{do(r=o.shift())&&(0,c.highlightTextRanges)(this.j,r,o,i,n),s+=1;while(r&&s<=5)o.length?this.wrapFrameRequest=t.requestAnimationFrame(a):e()};a()})}onAfterGetValueFromEditor(e){e.value=(0,c.clearSelectionWrappersFromHTML)(e.value)}afterInit(e){if(e.o.useSearch){let t=this;e.e.on("beforeSetMode.search",()=>{this.ui.close()}).on(this.ui,"afterClose",()=>{(0,c.clearSelectionWrappers)(e),this.ui.currentIndex=0,this.ui.count=0,this.cache={},e.focus()}).on("click",()=>{this.ui.currentIndex=0,(0,c.clearSelectionWrappers)(e)}).on("change.search",()=>{this.cache={}}).on("keydown.search mousedown.search",e.async.debounce(()=>{this.ui.selInfo&&(e.s.removeMarkers(),this.ui.selInfo=null),this.ui.isOpened&&this.updateCounters()},e.defaultTimeout)).on("searchNext.search searchPrevious.search",()=>(this.ui.isOpened||this.ui.open(),t.findAndSelect(t.ui.query,"searchNext"===e.e.current).catch(e=>{n.IS_PROD}))).on("search.search",(e,i=!0)=>(this.ui.currentIndex=0,t.findAndSelect(e||"",i).catch(e=>{n.IS_PROD}))),e.registerCommand("search",{exec:(e,i,o=!0)=>(i&&t.findAndSelect(i,o).catch(e=>{n.IS_PROD}),!1)}).registerCommand("openSearchDialog",{exec:(e,i)=>(t.ui.open(i),!1),hotkeys:["ctrl+f","cmd+f"]}).registerCommand("openReplaceDialog",{exec:(i,n,o)=>(e.o.readonly||t.ui.open(n,o,!0),!1),hotkeys:["ctrl+h","cmd+h"]})}}beforeDestruct(e){var t;null==(t=(0,o.cached)(this,"ui"))||t.destruct(),e.e.off(".search")}constructor(){super(...arguments),this.buttons=[{name:"find",group:"search"}],this.previousQuery="",this.drawPromise=null,this.walker=null,this.walkerCount=null,this.cache={},this.wrapFrameRequest=0}}d([o.cache],h.prototype,"ui",null),d([(0,o.watch)("ui:needUpdateCounters")],h.prototype,"updateCounters",null),d([(0,o.watch)("ui:pressReplaceButton")],h.prototype,"onPressReplaceButton",null),d([o.autobind],h.prototype,"findQueryBounds",null),d([o.autobind],h.prototype,"findAndReplace",null),d([o.autobind],h.prototype,"findAndSelect",null),d([o.autobind],h.prototype,"find",null),d([(0,o.watch)(":afterGetValueFromEditor")],h.prototype,"onAfterGetValueFromEditor",null),s.pluginSystem.add("search",h)},36204:function(e,t,i){var n=i(82758),o=i(12153),r=i(6441),s=i(35599);r.Config.prototype.beautifyHTML=!n.IS_IE,r.Config.prototype.sourceEditor="ace",r.Config.prototype.sourceEditorNativeOptions={showGutter:!0,theme:"ace/theme/idle_fingers",mode:"ace/mode/html",wrap:!0,highlightActiveLine:!0},r.Config.prototype.sourceEditorCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js"],r.Config.prototype.beautifyHTMLCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js","https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js"],o.Icon.set("source",s.default),r.Config.prototype.controls.source={mode:n.MODE_SPLIT,exec(e){e.toggleMode()},isActive:e=>e.getRealMode()===n.MODE_SOURCE,tooltip:"Change mode"}},36243:function(e,t,i){var n=i(22732),o=i(580),r=i(6441);r.Config.prototype.autofocus=!1,r.Config.prototype.cursorAfterAutofocus="end",r.Config.prototype.saveSelectionOnBlur=!0,o.pluginSystem.add("focus",function(e){e.o.saveSelectionOnBlur&&e.e.on("blur",()=>{e.isEditorMode()&&e.s.save(!0)}).on("focus",()=>{e.s.restore()});let t=()=>{if(e.s.focus(),"end"===e.o.cursorAfterAutofocus){let t=n.Dom.last(e.editor,e=>n.Dom.isText(e));t&&e.s.setCursorIn(t,!1)}};e.e.on("afterInit",()=>{e.o.autofocus&&(e.defaultTimeout?e.async.setTimeout(t,300):t())}),e.e.on("afterInit afterAddPlace",()=>{e.e.off(e.editor,"mousedown.autofocus").on(e.editor,"mousedown.autofocus",t=>{e.isEditorMode()&&t.target&&n.Dom.isBlock(t.target)&&!t.target.childNodes.length&&(e.editor===t.target?e.s.focus():e.s.setCursorIn(t.target))})})})},36409:function(e,t,i){i.d(t,{ucfirst:function(){return n}});function n(e){return e.length?e[0].toUpperCase()+e.substring(1):""}},36646:function(e,t,i){i.d(t,{ToolbarButton:function(){return n.ToolbarButton},ToolbarContent:function(){return o.ToolbarContent},ToolbarSelect:function(){return r.ToolbarSelect}});var n=i(78644),o=i(80319),r=i(83111)},36806:function(e,t,i){i.d(t,{Prompt:function(){return a}});var n=i(23282),o=i(29960),r=i(10830),s=i(78584);function a(e,t,i,a,l){let c=this instanceof s.Dialog?this:new s.Dialog({closeOnClickOverlay:!0}),u=(0,r.Button)(c,"cancel","Cancel"),d=(0,r.Button)(c,"ok","Ok"),h=c.c.element("form",{class:"jodit-dialog_prompt"}),p=c.c.element("input",{autofocus:!0,class:"jodit-input"}),f=c.c.element("label");(0,n.isFunction)(t)&&(i=t,t=void 0),a&&(0,o.attr)(p,"placeholder",a),f.appendChild(c.c.text(e)),h.appendChild(f),h.appendChild(p),u.onAction(c.close);let m=()=>{i&&(0,n.isFunction)(i)&&!1===i(p.value)||c.close()};return d.onAction(m),c.e.on(h,"submit",()=>(m(),!1)),c.setFooter([d,u]),c.open(h,t||"&nbsp;",!0,!0),p.focus(),void 0!==l&&l.length&&(p.value=l,p.select()),c}},36886:function(e,t){t.default='<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> '},37068:function(e,t){t.default='<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> '},37133:function(e,t,i){i.d(t,{watch:function(){return d}});var n=i(78213),o=i(73026),r=i(46559),s=i(23282),a=i(72430),l=i(39955),c=i(89890),u=i(37790);function d(e,t){return(i,d)=>{var h;if(!(0,s.isFunction)(i[d]))throw(0,c.error)("Handler must be a Function");let p=null==(h=null==t?void 0:t.immediately)||h,f=null==t?void 0:t.context,m=t=>{let n=(0,l.isViewObject)(t)?t:t.jodit,c=(e,...i)=>{if(!t.isInDestruct)return t[d](e,...i)};p||(c=t.async.microDebounce(c,!0)),(0,r.splitArray)(e).forEach(e=>{if(/:/.test(e)){let[i,o]=e.split(":"),r=f;i.length&&(r=t.get(i)),(0,s.isFunction)(r)&&(r=r(t)),n.events.on(r||t,o,c),r||n.events.on(o,c),t.hookStatus("beforeDestruct",()=>{n.events.off(r||t,o,c).off(o,c)});return}let r=e.split("."),[l]=r,d=r.slice(1),h=t[l];(0,a.isPlainObject)(h)&&(0,o.observable)(h).on("change."+d.join("."),c);let p=(0,u.getPropertyDescriptor)(i,l);Object.defineProperty(t,l,{configurable:!0,set(e){let i=h;i!==e&&(h=e,p&&p.set&&p.set.call(t,e),(0,a.isPlainObject)(h)&&(h=(0,o.observable)(h)).on("change."+d.join("."),c),c(l,i,h))},get:()=>p&&p.get?p.get.call(t):h})})};(0,s.isFunction)(i.hookStatus)?i.hookStatus(n.STATUSES.ready,m):m(i)}}},37272:function(e,t,i){i.r(t),t.default={newline:"줄 바꿈",delete:"삭제",space:"공간","Speech Recognize":"음성 인식",Sound:"소리","Interim Results":"중간 결과"}},37406:function(e,t,i){i.d(t,{normalizeUrl:function(){return n}});let n=(...e)=>e.filter(e=>e.length).map(e=>e.replace(/\/$/,"")).join("/").replace(/([^:])[\\/]+/g,"$1/")},37426:function(e,t,i){i.d(t,{ToolbarEditorCollection:function(){return l}});var n=i(82758),o=i(65478),r=i(22732),s=i(21537),a=i(11676);let l=class e extends a.ToolbarCollection{className(){return"ToolbarEditorCollection"}shouldBeDisabled(e){let t=super.shouldBeDisabled(e);if(void 0!==t)return t;let i=void 0===e.control.mode?n.MODE_WYSIWYG:e.control.mode;return i!==n.MODE_SPLIT&&i!==this.j.getRealMode()}shouldBeActive(e){let t,i=super.shouldBeActive(e);if(void 0!==i)return i;let n=this.j.selection?this.j.s.current():null;if(!n)return!1;if(e.control.tags){let i=e.control.tags;if(t=n,r.Dom.up(t,e=>{if(e&&-1!==i.indexOf(e.nodeName.toLowerCase()))return!0},this.j.editor))return!0}if(e.control.css){let i=e.control.css;if(t=n,r.Dom.up(t,e=>{if(e&&!r.Dom.isText(e)&&!r.Dom.isComment(e))return this.checkActiveStatus(i,e)},this.j.editor))return!0}return!1}getTarget(e){return e.target||this.j.s.current()||null}prependInvisibleInput(e){let t=this.j.create.element("input",{name:"jodit-toolbar-focus-helper_"+this.j.id,tabIndex:-1,disabled:!0,style:"width: 0; height:0; position: absolute; visibility: hidden;"});r.Dom.appendChildFirst(e,t)}showInline(e){this.jodit.e.fire("showInlineToolbar",e)}hide(){this.jodit.e.fire("hidePopup"),super.hide(),this.jodit.e.fire("toggleToolbar")}show(){super.show(),this.jodit.e.fire("toggleToolbar")}constructor(e){super(e),this.checkActiveStatus=(e,t)=>{let i=0,n=0;return Object.keys(e).forEach(o=>{let r=e[o];(0,s.isFunction)(r)?r(this.j,(0,s.css)(t,o).toString())&&(i+=1):-1!==r.indexOf((0,s.css)(t,o).toString())&&(i+=1),n+=1}),n===i},this.prependInvisibleInput(this.container)}};l=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([o.component],l)},37467:function(e,t,i){i(6441).Config.prototype.tableAllowCellResize=!0},37508:function(e,t,i){i.d(t,{isValidName:function(){return n}});function n(e){return!!e.length&&!/[^0-9A-Za-zа-яА-ЯЁё\w\-_. ]/.test(e)&&e.trim().length>0}},37585:function(e,t,i){var n=i(82758),o=i(21537),r=i(6441),s=i(11676),a=i(21491);r.Config.prototype.mobileTapTimeout=300,r.Config.prototype.toolbarAdaptive=!0,r.Config.prototype.buttonsMD=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},{group:"font",buttons:[]},"---",{group:"media",buttons:[]},`
165
165
  `,{group:"state",buttons:[]},{group:"insert",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},"---",{group:"history",buttons:[]},{group:"other",buttons:[]},"|","dots"],r.Config.prototype.buttonsSM=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},"---",{group:"font",buttons:[]},`
166
- `,{group:"state",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},"---",{group:"history",buttons:[]},"|","dots"],r.Config.prototype.buttonsXS=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},"---",{group:"font",buttons:[]},{group:"color",buttons:[]},"---","dots"],r.Config.prototype.controls.dots={mode:n.MODE_SOURCE+n.MODE_WYSIWYG,popup(e,t,i,n){let r=n.control.data;return void 0===r&&(r={toolbar:(0,a.makeCollection)(e),rebuild(){var t,i;if(n){let a=e.e.fire("getDiffButtons.mobile",n.closest(s.ToolbarCollection));if(a&&r){r.toolbar.build((0,o.splitArray)(a));let n=(null==(i=null==(t=e.toolbar)?void 0:t.firstButton)?void 0:i.container.offsetWidth)||36;r.toolbar.container.style.width=(n+4)*3+"px"}}}},n.control.data=r),r.rebuild(),r.toolbar},tooltip:"Show all"}},37643:function(e,t,i){i.d(t,{sound:function(){return r}});var n=i(82758),o=i(85567);function r({sec:e=.1,frequency:t=o.PII,gain:i=.1,type:s="sine"}={}){if(!n.globalWindow||void 0===n.globalWindow.AudioContext&&void 0===n.globalWindow.webkitAudioContext)return;let a=new(n.globalWindow.AudioContext||n.globalWindow.webkitAudioContext),l=a.createGain(),c=a.createOscillator();c.type=s,c.frequency.value=t,c.connect(l),l.connect(a.destination),c.start(),c.stop(a.currentTime+e),l.gain.value=i}},37663:function(e,t){t.default='<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> '},37775:function(e,t){t.default='<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> '},37790:function(e,t,i){i.d(t,{call:function(){return a},callPromise:function(){return u},callThis:function(){return l},getDataTransfer:function(){return f},getPropertyDescriptor:function(){return m},keys:function(){return h},loadImage:function(){return d},markOwner:function(){return c},memorizeExec:function(){return p}});var n=i(14773),o=i(86068),r=i(29960),s=i(86583);function a(e,...t){return e(...t)}function l(e,t,...i){return e.apply(t,i)}function c(e,t){(0,r.attr)(t,"data-editor_id",e.id),t.component||Object.defineProperty(t,"jodit",{value:e})}function u(e,t){return(0,n.isPromise)(e)?e.then(e=>e,()=>null).finally(t):null==t?void 0:t()}let d=(e,t)=>t.async.promise((i,n)=>{let o=new Image,r=()=>{t.e.off(o),null==n||n()},s=()=>{t.e.off(o),i(o)};t.e.one(o,"load",s).one(o,"error",r).one(o,"abort",r),o.src=e,o.complete&&s()}),h=(e,t=!0)=>{if(t)return Object.keys(e);let i=[];for(let t in e)i.push(t);return i},p=(e,t,{control:i},n)=>{var r;let a="button"+i.command,l=null!=(r=i.args&&i.args[0])?r:(0,s.dataBind)(e,a);if((0,o.isVoid)(l))return!1;(0,s.dataBind)(e,a,l),n&&(l=n(l)),e.execCommand(i.command,!1,null!=l?l:void 0)},f=e=>{if(e.clipboardData)return e.clipboardData;try{return e.dataTransfer||new DataTransfer}catch(e){return null}};function m(e,t){let i;do i=Object.getOwnPropertyDescriptor(e,t),e=Object.getPrototypeOf(e);while(!i&&e)return i}},38420:function(e,t,i){i.d(t,{humanSizeToBytes:function(){return n}});let n=e=>{if(/^[0-9.]+$/.test(e.toString()))return parseFloat(e);let t=e.substr(-2,2).toUpperCase(),i=["KB","MB","GB","TB"],n=parseFloat(e.substr(0,e.length-2));return -1!==i.indexOf(t)?n*Math.pow(1024,i.indexOf(t)+1):parseInt(e,10)}},38837:function(e,t,i){i.d(t,{assert:function(){return o}});class n extends Error{constructor(e){super(e),this.name="AssertionError"}}function o(e,t){if(!e)throw new n("Assertion failed: "+t)}},38882:function(e,t,i){i.d(t,{isAllowedSubdomain:function(){return o},validateLicense:function(){return function e(t,i){var n;let r;if(n=t=t.replace(/[^A-Z0-9-]/g,"R"),/[A-Z0-9][013456][A-P0-9]{2}[ABC]-([0-3])[ELPDF][E-L4-8]{2}\1-[A-D][R0][J-P5-6]{3}-[DPGHYE][GFPOD]{3}[A-SX-Z]/.test(n)||o(i))return!0;let s=(r=i.split(".")).map(e=>{let t=e[0];return"string"==typeof t&&t.charCodeAt(0)?String.fromCharCode(t.charCodeAt(0)+1):t}).concat(r.map(e=>{let t=e[e.length-1];return"string"==typeof t&&t.charCodeAt(0)?String.fromCharCode(t.charCodeAt(0)-1):t})).map(e=>null!=e&&/\w/.test(e)?e:"r"),a=["[A-F013456][A-F0-9]{3}{part}","([0-3]){part}[E-L4-8]{2}\\1","[A-D]{part}[J-P5-6]{3}","{part}[A-R0-9]{3}[X-Z]"].map((e,t)=>e.replace("{part}",s[t]||"[R-T]")),l=RegExp(`^${a.join("-")}$`,"i"),c=t.substring(12,13),u=l.test(t);if(!u&&c===(typeof!i).toUpperCase()[5]){let n=i.split(".");return n.shift(),!!n.length&&e(t,n.join("."))}return u}}});let n=["*localhost*","staging.","*.dev.","*.test.","*.stg.","stg.*","test.*","beta.*","*demo.*","*test.*","acceptatie.*"];function o(e){return n.some(t=>new RegExp(t.replace(/\*/g,"%ANY%").replace(/[/\-\\^$*+?.()|[\]{}]/g,"\\$&").replace(/%ANY%/g,".*")).test(e))}},38927:function(e,t,i){i.d(t,{TabsWidget:function(){return l}});var n=i(91907),o=i(2748),r=i(23282),s=i(29960),a=i(67510);let l=(e,t,i)=>{let l=e.c.div("jodit-tabs"),c=e.c.div("jodit-tabs__wrapper"),u=e.c.div("jodit-tabs__buttons");(0,s.attr)(u,{role:"tablist","aria-orientation":"horizontal"});let d={},h=[],p="";l.appendChild(u),l.appendChild(c);let f=e=>{d[e]&&(h.forEach(e=>{e.state.activated=!1}),Object.values(d).forEach(({tab:e})=>e.classList.remove("jodit-tab_active")),d[e].button.state.activated=!0,d[e].tab.classList.add("jodit-tab_active"))};if(t.forEach(({icon:l,name:m,content:g})=>{let v=e.c.div("jodit-tab");(0,s.attr)(v,{role:"tabpanel"});let b=(0,a.Button)(e,l||m,m);b.state.role="tab",e.e.on(b.container,"pointerdown",e=>e.preventDefault()),p||(p=m),u.appendChild(b.container),h.push(b),b.container.classList.add("jodit-tabs__button","jodit-tabs__button_columns_"+t.length),(0,r.isFunction)(g)?v.appendChild(e.c.div("jodit-tab_empty")):v.appendChild(n.Component.isInstanceOf(g,a.UIElement)?g.container:g),c.appendChild(v),b.onAction(()=>(f(m),(0,r.isFunction)(g)&&!o.Dom.isElement(g)&&g.call(e),i&&(i.activeTab=m),!1)),d[m]={button:b,tab:v}}),Object.values(d).forEach(({button:e})=>{e.container.style.width=(100/t.length).toFixed(10)+"%"}),f(i&&i.activeTab&&d[i.activeTab]?i.activeTab:p),i){let e=i.activeTab;Object.defineProperty(i,"activeTab",{configurable:!0,enumerable:!1,get:()=>e,set(t){e=t,f(t)}})}return l}},39179:function(e,t){t.default={"copy-format":"Copiar formato"}},39433:function(e,t,i){i.d(t,{fillEmptyParagraph:function(){return s}});var n=i(82758),o=i(2748);let r=new Set(["table","tbody","thead","tfoot","tr"]);function s(e,t,i){if(e.o.cleanHTML.fillEmptyParagraph&&o.Dom.isBlock(t)&&o.Dom.isEmpty(t,n.INSEPARABLE_TAGS)&&!o.Dom.isTag(t,r)){let i=e.createInside.element("br");return t.appendChild(i),!0}return i}},39516:function(e,t,i){i.d(t,{visitNodeWalker:function(){return s}});var n=i(82758),o=i(45235);let r=Object.keys(o);function s(e,t,i,s,a){let l=!1,c=e.o.cleanHTML.disableCleanFilter;for(let u of r)if(!(c&&c.has(u))&&(l=(0,o[u])(e,t,l,i,s,a),n.IS_PROD,!t.isConnected))return!0;return l}},39627:function(e,t,i){var n=i(33433),o=i(37133),r=i(580),s=i(12045),a=i(20356);i(31974);var l=i(32523),c=i(19308),u=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};class d extends a.Plugin{get __dialog(){return this.jodit.dlg({buttons:["fullsize","dialog.close"],closeOnClickOverlay:!0,closeOnEsc:!0,resizable:!1,draggable:!0,minHeight:160})}get __container(){let{jodit:e,__dialog:t}=this;return new l.UiAiAssistant(e,{onInsertAfter(i){e.s.focus(),e.s.setCursorAfter(e.s.current()),e.s.insertHTML(i),t.close()},onInsert(i){e.s.focus(),e.s.insertHTML(i),t.close()}})}afterInit(){}onGenerateAiAssistantForm(e){this.__dialog.open(this.__container,"AI Assistant"),this.__container.setPrompt(e)}onInvokeAiAssistant(e){let{jodit:t}=this;t.s.focus();let i=t.s.html;t.async.promise(async(n,o)=>{try{let o=await t.o.aiAssistant.aiAssistantCallback(e,i);n(o)}catch(e){o(e)}}).then(e=>{t.e.fire("ai-assistant-response",e)}).catch(e=>{(0,s.isAbortError)(e)||(t.message.error(e.message),t.e.fire("ai-assistant-error",e.message))})}beforeDestruct(e){var t,i;null==(t=(0,n.cached)(this,"__container"))||t.destruct(),null==(i=(0,n.cached)(this,"__dialog"))||i.destruct()}constructor(e){super(e),this.buttons=[{name:"ai-commands",group:"insert"},{name:"ai-assistant",group:"insert"}],(0,r.extendLang)(c)}}u([n.cache],d.prototype,"__dialog",null),u([n.cache],d.prototype,"__container",null),u([(0,o.watch)(":generateAiAssistantForm.ai-assistant")],d.prototype,"onGenerateAiAssistantForm",null),u([(0,o.watch)(":invokeAiAssistant")],d.prototype,"onInvokeAiAssistant",null),r.pluginSystem.add("ai-assistant",d)},39955:function(e,t,i){i.d(t,{isViewObject:function(){return o}});var n=i(23282);function o(e){return!!(e&&e instanceof Object&&(0,n.isFunction)(e.constructor)&&e.isView)}},40273:function(e,t,i){i.d(t,{Style:function(){return u}});var n=i(82749),o=i(31635),r=i(45219),s=i(70799),a=i(12475),l=i(49055),c=i(43712);class u{get keys(){return Object.keys(this._data)}forEach(e){this.keys.forEach(t=>e(t))}clear(){this._data={}}set(e,t){this._data[e]=t}get(e){return this._data[e]??null}has(e){return void 0!==this._data[e]}add(e,t){return this._data=d(this.str()+";"+`${e}:${t}`),this}str(e=e=>!0){let t=Object.keys(this._data).filter(t=>t&&!/^mso-/.test(t)&&e(t)&&null!=this.get(t)),i=e=>(0,s.isString)(e)?/^0[a-z]+$/i.test(e)?"0":e:e.toString();return(["padding","margin"].forEach(e=>{if(this._data[e]){let n=t.indexOf(e),o=(0,c.calcMarginParts)(this._data[e]);["top","right","bottom","left"].forEach((r,s)=>{let a=`${e}-${r}`,l=this._data[a];null!=l&&(t.indexOf(a)<n||i(o[s])===i(l))&&-1!==t.indexOf(a)&&t.splice(t.indexOf(a),1)})}}),t.length)?t.map(e=>`${(0,a.kebabCase)(e)}:${this.get(e)}`).join(";"):""}constructor(e){(0,n._)(this,"_data",void 0),this._data=d(e)}}function d(e){return(function(e){let t={},i=[];for(let n=e.length-1;n>=0;n-=1){let o=e[n][0];t[o]||(t[o]=!0,i.unshift(e[n]))}return i})((e??"").replace(/&quot;/g,'"').split(";").filter(Boolean).map(e=>(0,l.trim)(e).split(":").map(l.trim))).reduce((e,[t,i])=>(t&&i&&(e[t]=i),e),{})}(0,o.__decorate)([r.autobind],u.prototype,"forEach",null),(0,o.__decorate)([r.autobind],u.prototype,"clear",null),(0,o.__decorate)([r.autobind],u.prototype,"set",null),(0,o.__decorate)([r.autobind],u.prototype,"get",null),(0,o.__decorate)([r.autobind],u.prototype,"has",null),(0,o.__decorate)([r.autobind],u.prototype,"add",null),(0,o.__decorate)([r.autobind],u.prototype,"str",null)},40329:function(e,t,i){var n=i(22732),o=i(21537),r=i(43555),s=i(12153),a=i(6441),l=i(6091);a.Config.prototype.table={splitBlockOnInsertTable:!0,selectionCellStyle:"border: 1px double #1e88e5 !important;",useExtraClassesOptions:!1},s.Icon.set("table",l.default),a.Config.prototype.controls.table={data:{cols:10,rows:10,classList:{"table table-bordered":"Bootstrap Bordered","table table-striped":"Bootstrap Striped","table table-dark":"Bootstrap Dark"}},popup(e,t,i,s){e.editor.normalize();let a=e.history.snapshot.make(),l=s.control,c=l.data&&l.data.rows?l.data.rows:10,u=l.data&&l.data.cols?l.data.cols:10,d=e.c.fromHTML('<form class="jodit-form jodit-form__inserter"><div class="jodit-form__table-creator-box"><div class="jodit-form__container"></div><div class="jodit-form__options">'+(()=>{if(!e.o.table.useExtraClassesOptions)return"";let t=[];if(l.data){let e=l.data.classList;Object.keys(e).forEach(i=>{t.push(`<label class="jodit_vertical_middle"><input class="jodit-checkbox" value="${i}" type="checkbox"/>${e[i]}</label>`)})}return t.join("")})()+'</div></div><label class="jodit-form__center"><span>1</span> &times; <span>1</span></label></form>'),h=d.querySelectorAll("span")[0],p=d.querySelectorAll("span")[1],f=d.querySelector(".jodit-form__container"),m=d.querySelector(".jodit-form__options"),g=[],v=c*u;for(let t=0;t<v;t+=1)g[t]||g.push(e.c.element("span",{dataIndex:t}));if(e.e.on(f,"mousemove",(e,t)=>{let i=e.target;if(!n.Dom.isTag(i,"span"))return;let o=void 0===t||isNaN(t)?parseInt((0,r.attr)(i,"-index")||"0",10):t||0,s=Math.ceil((o+1)/u),a=o%u+1;for(let e=0;e<g.length;e+=1)a>=e%u+1&&s>=Math.ceil((e+1)/u)?g[e].className="jodit_hovered":g[e].className="";p.textContent=a.toString(),h.textContent=s.toString()}).on(f,"touchstart mousedown",t=>{let s=t.target;if(t.preventDefault(),t.stopImmediatePropagation(),!n.Dom.isTag(s,"span"))return;let l=parseInt((0,r.attr)(s,"-index")||"0",10),c=Math.ceil((l+1)/u),d=l%u+1,h=e.createInside,p=h.element("tbody"),f=h.element("table");f.appendChild(p);let g=null,v,b;for(let e=1;c>=e;e+=1){v=h.element("tr");for(let e=1;e<=d;e+=1)b=h.element("td"),g||(g=b),(0,o.css)(b,"width",(100/d).toFixed(4)+"%"),b.appendChild(h.element("br")),v.appendChild(h.text(`
166
+ `,{group:"state",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},"---",{group:"history",buttons:[]},"|","dots"],r.Config.prototype.buttonsXS=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},"---",{group:"font",buttons:[]},{group:"color",buttons:[]},"---","dots"],r.Config.prototype.controls.dots={mode:n.MODE_SOURCE+n.MODE_WYSIWYG,popup(e,t,i,n){let r=n.control.data;return void 0===r&&(r={toolbar:(0,a.makeCollection)(e),rebuild(){var t,i;if(n){let a=e.e.fire("getDiffButtons.mobile",n.closest(s.ToolbarCollection));if(a&&r){r.toolbar.build((0,o.splitArray)(a));let n=(null==(i=null==(t=e.toolbar)?void 0:t.firstButton)?void 0:i.container.offsetWidth)||36;r.toolbar.container.style.width=(n+4)*3+"px"}}}},n.control.data=r),r.rebuild(),r.toolbar},tooltip:"Show all"}},37643:function(e,t,i){i.d(t,{sound:function(){return r}});var n=i(82758),o=i(85567);function r({sec:e=.1,frequency:t=o.PII,gain:i=.1,type:s="sine"}={}){if(!n.globalWindow||void 0===n.globalWindow.AudioContext&&void 0===n.globalWindow.webkitAudioContext)return;let a=new(n.globalWindow.AudioContext||n.globalWindow.webkitAudioContext),l=a.createGain(),c=a.createOscillator();c.type=s,c.frequency.value=t,c.connect(l),l.connect(a.destination),c.start(),c.stop(a.currentTime+e),l.gain.value=i}},37663:function(e,t){t.default='<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> '},37775:function(e,t){t.default='<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> '},37790:function(e,t,i){i.d(t,{call:function(){return a},callPromise:function(){return u},callThis:function(){return l},getDataTransfer:function(){return f},getPropertyDescriptor:function(){return m},keys:function(){return h},loadImage:function(){return d},markOwner:function(){return c},memorizeExec:function(){return p}});var n=i(14773),o=i(86068),r=i(29960),s=i(86583);function a(e,...t){return e(...t)}function l(e,t,...i){return e.apply(t,i)}function c(e,t){(0,r.attr)(t,"data-editor_id",e.id),t.component||Object.defineProperty(t,"jodit",{value:e})}function u(e,t){return(0,n.isPromise)(e)?e.then(e=>e,()=>null).finally(t):null==t?void 0:t()}let d=(e,t)=>t.async.promise((i,n)=>{let o=new Image,r=()=>{t.e.off(o),null==n||n()},s=()=>{t.e.off(o),i(o)};t.e.one(o,"load",s).one(o,"error",r).one(o,"abort",r),o.src=e,o.complete&&s()}),h=(e,t=!0)=>{if(t)return Object.keys(e);let i=[];for(let t in e)i.push(t);return i},p=(e,t,{control:i},n)=>{var r;let a="button"+i.command,l=null!=(r=i.args&&i.args[0])?r:(0,s.dataBind)(e,a);if((0,o.isVoid)(l))return!1;(0,s.dataBind)(e,a,l),n&&(l=n(l)),e.execCommand(i.command,!1,null!=l?l:void 0)},f=e=>{if(e.clipboardData)return e.clipboardData;try{return e.dataTransfer||new DataTransfer}catch(e){return null}};function m(e,t){let i;do i=Object.getOwnPropertyDescriptor(e,t),e=Object.getPrototypeOf(e);while(!i&&e)return i}},38420:function(e,t,i){i.d(t,{humanSizeToBytes:function(){return n}});let n=e=>{if(/^[0-9.]+$/.test(e.toString()))return parseFloat(e);let t=e.substr(-2,2).toUpperCase(),i=["KB","MB","GB","TB"],n=parseFloat(e.substr(0,e.length-2));return -1!==i.indexOf(t)?n*Math.pow(1024,i.indexOf(t)+1):parseInt(e,10)}},38837:function(e,t,i){i.d(t,{assert:function(){return o}});class n extends Error{constructor(e){super(e),this.name="AssertionError"}}function o(e,t){if(!e)throw new n("Assertion failed: "+t)}},38882:function(e,t,i){i.d(t,{isAllowedSubdomain:function(){return o},validateLicense:function(){return function e(t,i){var n;let r;if(n=t=t.replace(/[^A-Z0-9-]/g,"R"),/[A-Z0-9][013456][A-P0-9]{2}[ABC]-([0-3])[ELPDF][E-L4-8]{2}\1-[A-D][R0][J-P5-6]{3}-[DPGHYE][GFPOD]{3}[A-SX-Z]/.test(n)||o(i))return!0;let s=(r=i.split(".")).map(e=>{let t=e[0];return"string"==typeof t&&t.charCodeAt(0)?String.fromCharCode(t.charCodeAt(0)+1):t}).concat(r.map(e=>{let t=e[e.length-1];return"string"==typeof t&&t.charCodeAt(0)?String.fromCharCode(t.charCodeAt(0)-1):t})).map(e=>null!=e&&/\w/.test(e)?e:"r"),a=["[A-F013456][A-F0-9]{3}{part}","([0-3]){part}[E-L4-8]{2}\\1","[A-D]{part}[J-P5-6]{3}","{part}[A-R0-9]{3}[X-Z]"].map((e,t)=>e.replace("{part}",s[t]||"[R-T]")),l=RegExp(`^${a.join("-")}$`,"i"),c=t.substring(12,13),u=l.test(t);if(!u&&c===(typeof!i).toUpperCase()[5]){let n=i.split(".");return n.shift(),!!n.length&&e(t,n.join("."))}return u}}});let n=["*localhost*","staging.","*.dev.","*.test.","*.stg.","stg.*","test.*","beta.*","*demo.*","*test.*","acceptatie.*"];function o(e){return n.some(t=>new RegExp(t.replace(/\*/g,"%ANY%").replace(/[/\-\\^$*+?.()|[\]{}]/g,"\\$&").replace(/%ANY%/g,".*")).test(e))}},38927:function(e,t,i){i.d(t,{TabsWidget:function(){return l}});var n=i(91907),o=i(2748),r=i(23282),s=i(29960),a=i(67510);let l=(e,t,i)=>{let l=e.c.div("jodit-tabs"),c=e.c.div("jodit-tabs__wrapper"),u=e.c.div("jodit-tabs__buttons");(0,s.attr)(u,{role:"tablist","aria-orientation":"horizontal"});let d={},h=[],p="";l.appendChild(u),l.appendChild(c);let f=e=>{d[e]&&(h.forEach(e=>{e.state.activated=!1}),Object.values(d).forEach(({tab:e})=>e.classList.remove("jodit-tab_active")),d[e].button.state.activated=!0,d[e].tab.classList.add("jodit-tab_active"))};if(t.forEach(({icon:l,name:m,content:g})=>{let v=e.c.div("jodit-tab");(0,s.attr)(v,{role:"tabpanel"});let b=(0,a.Button)(e,l||m,m);b.state.role="tab",e.e.on(b.container,"pointerdown",e=>e.preventDefault()),p||(p=m),u.appendChild(b.container),h.push(b),b.container.classList.add("jodit-tabs__button","jodit-tabs__button_columns_"+t.length),(0,r.isFunction)(g)?v.classList.add("jodit-tab_empty"):v.appendChild(n.Component.isInstanceOf(g,a.UIElement)?g.container:g),c.appendChild(v),b.onAction(()=>(f(m),(0,r.isFunction)(g)&&!o.Dom.isElement(g)&&g.call(e),i&&(i.activeTab=m),!1)),d[m]={button:b,tab:v}}),Object.values(d).forEach(({button:e})=>{e.container.style.width=(100/t.length).toFixed(10)+"%"}),f(i&&i.activeTab&&d[i.activeTab]?i.activeTab:p),i){let e=i.activeTab;Object.defineProperty(i,"activeTab",{configurable:!0,enumerable:!1,get:()=>e,set(t){e=t,f(t)}})}return l}},39179:function(e,t){t.default={"copy-format":"Copiar formato"}},39433:function(e,t,i){i.d(t,{fillEmptyParagraph:function(){return s}});var n=i(82758),o=i(2748);let r=new Set(["table","tbody","thead","tfoot","tr"]);function s(e,t,i){if(e.o.cleanHTML.fillEmptyParagraph&&o.Dom.isBlock(t)&&o.Dom.isEmpty(t,n.INSEPARABLE_TAGS)&&!o.Dom.isTag(t,r)){let i=e.createInside.element("br");return t.appendChild(i),!0}return i}},39516:function(e,t,i){i.d(t,{visitNodeWalker:function(){return s}});var n=i(82758),o=i(45235);let r=Object.keys(o);function s(e,t,i,s,a){let l=!1,c=e.o.cleanHTML.disableCleanFilter;for(let u of r)if(!(c&&c.has(u))&&(l=(0,o[u])(e,t,l,i,s,a),n.IS_PROD,!t.isConnected))return!0;return l}},39627:function(e,t,i){var n=i(33433),o=i(37133),r=i(580),s=i(12045),a=i(20356);i(31974);var l=i(32523),c=i(19308),u=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};class d extends a.Plugin{get __dialog(){return this.jodit.dlg({buttons:["fullsize","dialog.close"],closeOnClickOverlay:!0,closeOnEsc:!0,resizable:!1,draggable:!0,minHeight:160})}get __container(){let{jodit:e,__dialog:t}=this;return new l.UiAiAssistant(e,{onInsertAfter(i){e.s.focus(),e.s.setCursorAfter(e.s.current()),e.s.insertHTML(i),t.close()},onInsert(i){e.s.focus(),e.s.insertHTML(i),t.close()}})}afterInit(){}onGenerateAiAssistantForm(e){this.__dialog.open(this.__container,"AI Assistant"),this.__container.setPrompt(e)}onInvokeAiAssistant(e){let{jodit:t}=this;t.s.focus();let i=t.s.html;t.async.promise(async(n,o)=>{try{let o=await t.o.aiAssistant.aiAssistantCallback(e,i);n(o)}catch(e){o(e)}}).then(e=>{t.e.fire("ai-assistant-response",e)}).catch(e=>{(0,s.isAbortError)(e)||(t.message.error(e.message),t.e.fire("ai-assistant-error",e.message))})}beforeDestruct(e){var t,i;null==(t=(0,n.cached)(this,"__container"))||t.destruct(),null==(i=(0,n.cached)(this,"__dialog"))||i.destruct()}constructor(e){super(e),this.buttons=[{name:"ai-commands",group:"insert"},{name:"ai-assistant",group:"insert"}],(0,r.extendLang)(c)}}u([n.cache],d.prototype,"__dialog",null),u([n.cache],d.prototype,"__container",null),u([(0,o.watch)(":generateAiAssistantForm.ai-assistant")],d.prototype,"onGenerateAiAssistantForm",null),u([(0,o.watch)(":invokeAiAssistant")],d.prototype,"onInvokeAiAssistant",null),r.pluginSystem.add("ai-assistant",d)},39955:function(e,t,i){i.d(t,{isViewObject:function(){return o}});var n=i(23282);function o(e){return!!(e&&e instanceof Object&&(0,n.isFunction)(e.constructor)&&e.isView)}},40273:function(e,t,i){i.d(t,{Style:function(){return u}});var n=i(82749),o=i(31635),r=i(45219),s=i(70799),a=i(12475),l=i(49055),c=i(43712);class u{get keys(){return Object.keys(this._data)}forEach(e){this.keys.forEach(t=>e(t))}clear(){this._data={}}set(e,t){this._data[e]=t}get(e){return this._data[e]??null}has(e){return void 0!==this._data[e]}add(e,t){return this._data=d(this.str()+";"+`${e}:${t}`),this}str(e=e=>!0){let t=Object.keys(this._data).filter(t=>t&&!/^mso-/.test(t)&&e(t)&&null!=this.get(t)),i=e=>(0,s.isString)(e)?/^0[a-z]+$/i.test(e)?"0":e:e.toString();return(["padding","margin"].forEach(e=>{if(this._data[e]){let n=t.indexOf(e),o=(0,c.calcMarginParts)(this._data[e]);["top","right","bottom","left"].forEach((r,s)=>{let a=`${e}-${r}`,l=this._data[a];null!=l&&(t.indexOf(a)<n||i(o[s])===i(l))&&-1!==t.indexOf(a)&&t.splice(t.indexOf(a),1)})}}),t.length)?t.map(e=>`${(0,a.kebabCase)(e)}:${this.get(e)}`).join(";"):""}constructor(e){(0,n._)(this,"_data",void 0),this._data=d(e)}}function d(e){return(function(e){let t={},i=[];for(let n=e.length-1;n>=0;n-=1){let o=e[n][0];t[o]||(t[o]=!0,i.unshift(e[n]))}return i})((e??"").replace(/&quot;/g,'"').split(";").filter(Boolean).map(e=>(0,l.trim)(e).split(":").map(l.trim))).reduce((e,[t,i])=>(t&&i&&(e[t]=i),e),{})}(0,o.__decorate)([r.autobind],u.prototype,"forEach",null),(0,o.__decorate)([r.autobind],u.prototype,"clear",null),(0,o.__decorate)([r.autobind],u.prototype,"set",null),(0,o.__decorate)([r.autobind],u.prototype,"get",null),(0,o.__decorate)([r.autobind],u.prototype,"has",null),(0,o.__decorate)([r.autobind],u.prototype,"add",null),(0,o.__decorate)([r.autobind],u.prototype,"str",null)},40329:function(e,t,i){var n=i(22732),o=i(21537),r=i(43555),s=i(12153),a=i(6441),l=i(6091);a.Config.prototype.table={splitBlockOnInsertTable:!0,selectionCellStyle:"border: 1px double #1e88e5 !important;",useExtraClassesOptions:!1},s.Icon.set("table",l.default),a.Config.prototype.controls.table={data:{cols:10,rows:10,classList:{"table table-bordered":"Bootstrap Bordered","table table-striped":"Bootstrap Striped","table table-dark":"Bootstrap Dark"}},popup(e,t,i,s){e.editor.normalize();let a=e.history.snapshot.make(),l=s.control,c=l.data&&l.data.rows?l.data.rows:10,u=l.data&&l.data.cols?l.data.cols:10,d=e.c.fromHTML('<form class="jodit-form jodit-form__inserter"><div class="jodit-form__table-creator-box"><div class="jodit-form__container"></div><div class="jodit-form__options">'+(()=>{if(!e.o.table.useExtraClassesOptions)return"";let t=[];if(l.data){let e=l.data.classList;Object.keys(e).forEach(i=>{t.push(`<label class="jodit_vertical_middle"><input class="jodit-checkbox" value="${i}" type="checkbox"/>${e[i]}</label>`)})}return t.join("")})()+'</div></div><label class="jodit-form__center"><span>1</span> &times; <span>1</span></label></form>'),h=d.querySelectorAll("span")[0],p=d.querySelectorAll("span")[1],f=d.querySelector(".jodit-form__container"),m=d.querySelector(".jodit-form__options"),g=[],v=c*u;for(let t=0;t<v;t+=1)g[t]||g.push(e.c.element("span",{dataIndex:t}));if(e.e.on(f,"mousemove",(e,t)=>{let i=e.target;if(!n.Dom.isTag(i,"span"))return;let o=void 0===t||isNaN(t)?parseInt((0,r.attr)(i,"-index")||"0",10):t||0,s=Math.ceil((o+1)/u),a=o%u+1;for(let e=0;e<g.length;e+=1)a>=e%u+1&&s>=Math.ceil((e+1)/u)?g[e].className="jodit_hovered":g[e].className="";p.textContent=a.toString(),h.textContent=s.toString()}).on(f,"touchstart mousedown",t=>{let s=t.target;if(t.preventDefault(),t.stopImmediatePropagation(),!n.Dom.isTag(s,"span"))return;let l=parseInt((0,r.attr)(s,"-index")||"0",10),c=Math.ceil((l+1)/u),d=l%u+1,h=e.createInside,p=h.element("tbody"),f=h.element("table");f.appendChild(p);let g=null,v,b;for(let e=1;c>=e;e+=1){v=h.element("tr");for(let e=1;e<=d;e+=1)b=h.element("td"),g||(g=b),(0,o.css)(b,"width",(100/d).toFixed(4)+"%"),b.appendChild(h.element("br")),v.appendChild(h.text(`
167
167
  `)),v.appendChild(h.text(" ")),v.appendChild(b);p.appendChild(h.text(`
168
168
  `)),p.appendChild(v)}(0,o.$$)("input[type=checkbox]:checked",m).forEach(e=>{e.value.split(/[\s]+/).forEach(e=>{f.classList.add(e)})}),e.s.restore(),e.s.removeMarkers(),e.editor.normalize(),e.history.snapshot.restore(a);let y=n.Dom.furthest(e.s.current(),n.Dom.isBlock,e.editor);if(y&&n.Dom.isEmpty(y))n.Dom.replace(y,f,void 0,!1,!0);else if(y){let t=h.text(`
169
169
  `);if(e.o.table.splitBlockOnInsertTable){let i=e.s.range;i.collapse(!1),i.insertNode(t),i.collapse(!1),e.s.selectRange(i);let o=e.s.splitSelection(y,t);o?n.Dom.after(o,f):n.Dom.after(y,f)}else n.Dom.after(y,t),n.Dom.after(t,f)}else e.s.insertNode(f,!1);g&&(e.s.setCursorIn(g),(0,o.scrollIntoViewIfNeeded)(g,e.editor,e.ed)),i()}),s&&s.parentElement){for(let t=0;t<c;t+=1){let i=e.c.div();for(let e=0;e<u;e+=1)i.appendChild(g[t*u+e]);f.appendChild(i)}g[0]&&(g[0].className="hovered")}return d},tooltip:"Insert table"}},40372:function(e,t,i){i.r(t),t.default={newline:"новая строка|перенос|ентер",delete:"видалити",space:"пробел","Speech Recognize":"Распознавание речи",Sound:"Звук","Interim Results":"Проміжні результати"}},40565:function(e,t){t.default={"Type something":"Napisz coś",Advanced:"Zaawansowane","About Jodit":"O Jodit","Jodit Editor":"Edytor Jodit","Jodit User's Guide":"Instrukcja Jodit","contains detailed help for using":"zawiera szczegółowe informacje dotyczące użytkowania.","For information about the license, please go to our website:":"Odwiedź naszą stronę, aby uzyskać więcej informacji na temat licencji:","Buy full version":"Zakup pełnej wersji","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Wszystkie prawa zastrzeżone.",Anchor:"Kotwica","Open in new tab":"Otwórz w nowej zakładce","Open in fullsize":"Otwórz edytor w pełnym rozmiarze","Clear Formatting":"Wyczyść formatowanie","Fill color or set the text color":"Kolor wypełnienia lub ustaw kolor tekstu",Redo:"Ponów",Undo:"Cofnij",Bold:"Pogrubienie",Italic:"Kursywa","Insert Unordered List":"Wstaw listę wypunktowaną","Insert Ordered List":"Wstaw listę numeryczną","Align Center":"Wyśrodkuj","Align Justify":"Wyjustuj","Align Left":"Wyrównaj do lewej","Align Right":"Wyrównaj do prawej","Insert Horizontal Line":"Wstaw linię poziomą","Insert Image":"Wstaw grafikę","Insert file":"Wstaw plik","Insert youtube/vimeo video":"Wstaw film Youtube/vimeo","Insert link":"Wstaw link","Font size":"Rozmiar tekstu","Font family":"Krój czcionki","Insert format block":"Wstaw formatowanie",Normal:"Normalne","Heading 1":"Nagłówek 1","Heading 2":"Nagłówek 2","Heading 3":"Nagłówek 3","Heading 4":"Nagłówek 4",Quote:"Cytat",Code:"Kod",Insert:"Wstaw","Insert table":"Wstaw tabelę","Decrease Indent":"Zmniejsz wcięcie","Increase Indent":"Zwiększ wcięcie","Select Special Character":"Wybierz znak specjalny","Insert Special Character":"Wstaw znak specjalny","Paint format":"Malarz formatów","Change mode":"Zmień tryb",Margins:"Marginesy",top:"Górny",right:"Prawy",bottom:"Dolny",left:"Levy",Styles:"Style CSS",Classes:"Klasy CSS",Align:"Wyrównanie",Right:"Prawa",Center:"środek",Left:"Lewa","--Not Set--":"brak",Src:"Źródło",Title:"Tytuł",Alternative:"Tekst alternatywny",Link:"Link","Open link in new tab":"Otwórz w nowej zakładce",Image:"Grafika",file:"Plik","Image properties":"Właściwości grafiki",Cancel:"Anuluj",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Twój kod wygląda jak HTML. Zachować HTML?","Paste as HTML":"Wkleić jako HTML?",Keep:"Oryginalny tekst",Clean:"Wyczyść","Insert as Text":"Wstaw jako tekst","Word Paste Detected":"Wykryto tekst w formacie Word","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Wklejany tekst pochodzi z dokumentu Microsoft Word/Excel. Chcesz zachować ten format czy wyczyścić go? ","Insert only Text":"Wstaw tylko treść","File Browser":"Przeglądarka plików","Error on load list":"Błąd ładowania listy plików","Error on load folders":"Błąd ładowania folderów","Are you sure?":"Czy jesteś pewien?","Enter Directory name":"Wprowadź nazwę folderu","Create directory":"Utwórz folder","type name":"wprowadź nazwę","Drop image":"Upuść plik graficzny","Drop file":"Upuść plik","or click":"lub kliknij tu","Alternative text":"Tekst alternatywny",Browse:"Przeglądaj",Upload:"Wczytaj",Background:"Tło",Text:"Treść",Top:"Góra",Middle:"Środek",Bottom:"Dół","Insert column before":"Wstaw kolumnę przed","Insert column after":"Wstaw kolumnę po","Insert row above":"Wstaw wiersz przed","Insert row below":"Wstaw wiersz po","Delete table":"Usuń tabelę","Delete row":"Usuń wiersz","Delete column":"Usuń kolumnę","Empty cell":"Wyczyść komórkę",Delete:"Usuń","Strike through":"Przekreślenie",Underline:"Podkreślenie",Break:"Przerwa","Search for":"Szukaj","Replace with":"Zamień na",Replace:"Wymienić",Edit:"Edytuj","Vertical align":"Wyrównywanie w pionie","Horizontal align":"Wyrównywanie w poziomie",Filter:"Filtruj","Sort by changed":"Sortuj wg zmiany","Sort by name":"Sortuj wg nazwy","Sort by size":"Sortuj wg rozmiaru","Add folder":"Dodaj folder","Split vertical":"Podziel w pionie","Split horizontal":"Podziel w poziomie",Split:"Podziel",Merge:"Scal","Add column":"Dodaj kolumnę","Add row":"Dodaj wiersz",Border:"Obramowanie","Embed code":"Wstaw kod",Update:"Aktualizuj",superscript:"indeks górny",subscript:"index dolny","Cut selection":"Wytnij zaznaczenie",Paste:"Wklej","Choose Content to Paste":"Wybierz zawartość do wklejenia","Chars: %d":"Znaki: %d","Words: %d":"Słowa: %d",All:"Wszystko","Select %s":"Wybierz: %s","Select all":"Wybierz wszystko",source:"HTML",bold:"pogrubienie",italic:"kursywa",brush:"pędzel",link:"link",undo:"cofnij",redo:"ponów",table:"tabela",image:"grafika",eraser:"wyczyść",paragraph:"akapit",fontsize:"rozmiar czcionki",video:"wideo",font:"czcionka",about:"O programie",print:"drukuj",underline:"podkreślenie",strikethrough:"przekreślenie",indent:"wcięcie",outdent:"wycięcie",fullsize:"pełen rozmiar",shrink:"przytnij",hr:"linia pozioma",ul:"lista",ol:"lista numerowana",cut:"wytnij",selectall:"zaznacz wszystko","Open link":"otwórz link","Edit link":"edytuj link","No follow":"Atrybut no-follow",Unlink:"Usuń link",Eye:"szukaj",pencil:"edytuj"," URL":"URL",Reset:"wyczyść",Save:"zapisz","Save as ...":"zapisz jako",Resize:"Zmień rozmiar",Crop:"Przytnij",Width:"Szerokość",Height:"Wysokość","Keep Aspect Ratio":"Zachowaj proporcje",Yes:"Tak",No:"Nie",Remove:"Usuń",Select:"Wybierz","You can only edit your own images. Download this image on the host?":"Możesz edytować tylko swoje grafiki. Czy chcesz pobrać tą grafikę?","The image has been successfully uploaded to the host!":"Grafika została pomyślnienie dodana na serwer",palette:"Paleta","There are no files":"Brak plików.",Rename:"zmień nazwę","Enter new name":"Wprowadź nową nazwę",preview:"podgląd",download:"pobierz","Paste from clipboard":"Wklej ze schowka","Your browser doesn't support direct access to the clipboard.":"Twoja przeglądarka nie obsługuje schowka","Copy selection":"Kopiuj zaznaczenie",copy:"kopiuj","Border radius":"Zaokrąglenie krawędzi","Show all":"Pokaż wszystkie",Apply:"Zastosuj","Please fill out this field":"Proszę wypełnić to pole","Please enter a web address":"Proszę, wpisz adres sieci web",Default:"Domyślnie",Circle:"Koło",Dot:"Punkt",Quadrate:"Kwadrat",Find:"Znaleźć","Find Previous":"Znaleźć Poprzednie","Find Next":"Znajdź Dalej","Insert className":"Wstaw nazwę zajęć","Press Alt for custom resizing":"Naciśnij Alt, aby zmienić rozmiar","License: %s":"Licencja: %s"}},41107:function(e,t,i){var n=i(580),o=i(21537),r=i(12153),s=i(6441);i(73674);var a=i(820),l=i(53651),c=i(16020),u=i(89758),d=i(98527),h=i(51855);n.pluginSystem.add("bold",function(e){let t=t=>{let i,n=s.Config.defaultOptions.controls[t],r={...n.css};return Object.keys(r).forEach(e=>{i||(i={}),i[e]=(0,o.isArray)(r[e])?r[e][0]:r[e]}),e.s.commitStyle({element:n.tags?n.tags[0]:void 0}),e.synchronizeValues(),!1};["bold","italic","underline","strikethrough"].forEach(t=>{e.registerButton({name:t,group:"font-style"})}),["superscript","subscript"].forEach(t=>{e.registerButton({name:t,group:"script"})}),e.registerCommand("bold",{exec:t,hotkeys:["ctrl+b","cmd+b"]}).registerCommand("italic",{exec:t,hotkeys:["ctrl+i","cmd+i"]}).registerCommand("underline",{exec:t,hotkeys:["ctrl+u","cmd+u"]}).registerCommand("strikethrough",{exec:t}).registerCommand("subscript",{exec:t}).registerCommand("superscript",{exec:t})}),r.Icon.set("bold",a.default).set("italic",l.default).set("strikethrough",c.default).set("subscript",u.default).set("superscript",d.default).set("underline",h.default)},41157:function(e,t,i){i.d(t,{clearClassName:function(){return o}});var n=i(49055);let o=e=>(e.attributes.class&&(e.attributes.class=e.attributes.class.replace(/(el\d+)|(font\d+)|msonormal|msolistparagraph\w*/gi,""),(0,n.trim)(e.attributes.class)||(e.attributes.class=null)),e)},41180:function(e,t,i){i.d(t,{clearCenterAlign:function(){return c},css:function(){return l}});var n=i(87612),o=i(72430),r=i(3760),s=i(87058),a=i(12475);function l(e,t,i,c=!1){if((0,n.isBoolean)(i)&&(c=i,i=void 0),(0,o.isPlainObject)(t)||void 0!==i){let n=(e,t,i)=>{void 0!==(i=(0,r.normalizeCssNumericValue)(t,i))&&(null==i||l(e,t,!0)!==(0,r.normalizeCssValue)(t,i))&&(e.style[t]=i)};if((0,o.isPlainObject)(t)){let i=Object.keys(t);for(let o=0;o<i.length;o+=1)n(e,(0,s.camelCase)(i[o]),t[i[o]])}else n(e,(0,s.camelCase)(t),i);return""}let u=(0,a.kebabCase)(t),d=e.ownerDocument||document,h=!!d&&(d.defaultView||d.parentWindow),p=e.style[t],f="";return void 0!==p&&""!==p?f=p:h&&!c&&(f=h.getComputedStyle(e).getPropertyValue(u)),r.NUMBER_FIELDS_REG.test(t)&&/^[-+]?[0-9.]+px$/.test(f.toString())&&(f=parseInt(f.toString(),10)),(0,r.normalizeCssValue)(t,f)}let c=e=>{"block"===l(e,"display")&&l(e,"display","");let{style:t}=e;"auto"===t.marginLeft&&"auto"===t.marginRight&&(t.marginLeft="",t.marginRight="")}},41369:function(e,t,i){i.r(t),t.default={symbols:"Símbolo"}},41409:function(e,t,i){i.r(t),i.d(t,{Ajax:function(){return p.Ajax},Alert:function(){return s.Alert},Async:function(){return l.Async},AsyncStorage:function(){return A.AsyncStorage},Button:function(){return f.Button},CommitStyle:function(){return D.CommitStyle},Component:function(){return n.Component},Confirm:function(){return s.Confirm},ContextMenu:function(){return r.ContextMenu},Create:function(){return c.Create},Dialog:function(){return s.Dialog},Dom:function(){return u.Dom},EventEmitter:function(){return d.EventEmitter},EventHandlersStore:function(){return d.EventHandlersStore},Eventify:function(){return d.Eventify},FileBrowser:function(){return a.FileBrowser},Helpers:function(){return o},History:function(){return v.History},Icon:function(){return f.Icon},ImageEditor:function(){return y.ImageEditor},IndexedDBProvider:function(){return A.IndexedDBProvider},LazyWalker:function(){return u.LazyWalker},LocalStorageProvider:function(){return A.LocalStorageProvider},MemoryStorageProvider:function(){return A.MemoryStorageProvider},Plugin:function(){return h.Plugin},PluginSystem:function(){return T.PluginSystem},Popup:function(){return f.Popup},ProgressBar:function(){return f.ProgressBar},Prompt:function(){return s.Prompt},Response:function(){return p.Response},STATUSES:function(){return n.STATUSES},Selection:function(){return D.Selection},Snapshot:function(){return b.Snapshot},StatusBar:function(){return w.StatusBar},Storage:function(){return A.Storage},StorageKey:function(){return A.StorageKey},Table:function(){return _.Table},ToolbarButton:function(){return C.ToolbarButton},ToolbarCollection:function(){return k.ToolbarCollection},ToolbarContent:function(){return C.ToolbarContent},ToolbarEditorCollection:function(){return I.ToolbarEditorCollection},ToolbarSelect:function(){return C.ToolbarSelect},UIBlock:function(){return f.UIBlock},UIButton:function(){return f.UIButton},UIButtonGroup:function(){return f.UIButtonGroup},UIButtonState:function(){return f.UIButtonState},UICheckbox:function(){return f.UICheckbox},UIElement:function(){return f.UIElement},UIFileInput:function(){return f.UIFileInput},UIForm:function(){return f.UIForm},UIGroup:function(){return f.UIGroup},UIInput:function(){return f.UIInput},UIList:function(){return f.UIList},UIMessages:function(){return S.UIMessages},UISelect:function(){return f.UISelect},UISeparator:function(){return f.UISeparator},UISpacer:function(){return f.UISpacer},UITextArea:function(){return f.UITextArea},UITooltip:function(){return f.UITooltip},Uploader:function(){return E.Uploader},View:function(){return m.View},ViewComponent:function(){return n.ViewComponent},ViewWithToolbar:function(){return g.ViewWithToolbar},canUseIndexedDB:function(){return A.canUseIndexedDB},canUsePersistentStorage:function(){return A.canUsePersistentStorage},clearUseIndexedDBCache:function(){return A.clearUseIndexedDBCache},defaultNameSpace:function(){return d.defaultNameSpace},observable:function(){return d.observable}});var n=i(91907),o=i(21537),r=i(80870),s=i(638),a=i(78513),l=i(8884),c=i(12060),u=i(22732),d=i(3827),h=i(50911),p=i(41601),f=i(67510),m=i(35608),g=i(84075),v=i(78818),b=i(52604),y=i(50050),S=i(1808),w=i(23512),_=i(76014),C=i(36646),k=i(11676),I=i(37426),E=i(57380),T=i(41876),D=i(59242),A=i(12081)},41457:function(e,t,i){var n=i(22732),o=i(29960),r=i(89890),s=i(12153),a=i(32118),l=i(21735),c=i(63399),u=i(44450),d=i(20201),h=i(50050);let p="jodit-file-browser-preview",f=(e="next",t="right")=>`<div class="${p}__navigation ${p}__navigation_arrow_${e}">`+s.Icon.get("angle-"+t)+"</a>";t.default=e=>{if(!e.o.contextMenu)return()=>{};let t=(0,c.makeContextMenu)(e);return i=>{let s=(0,l.getItem)(i.target,e.container);if(!s)return;let c=s,m=e.options,g=e=>(0,o.attr)(c,e)||"";return e.async.setTimeout(()=>{let o=(0,l.elementToItem)(s,(0,a.elementsMap)(e));o&&(e.state.activeElements=[o],t.show(i.clientX,i.clientY,[!!("1"!==g("data-is-file")&&m.editImage&&(e.dataProvider.canI("ImageResize")||e.dataProvider.canI("ImageCrop")))&&{icon:"pencil",title:"Edit",exec:()=>h.openImageEditor.call(e,g("href"),g("data-name"),g("data-path"),g("data-source"))},!!e.dataProvider.canI("FileRename")&&{icon:"italic",title:"Rename",exec(){e.e.fire("fileRename.filebrowser",g("data-name"),g("data-path"),g("data-source"))}},!!e.dataProvider.canI("FileRemove")&&{icon:"bin",title:"Delete",async exec(){try{await (0,u.deleteFile)(e,g("data-name"),g("data-source"))}catch(t){return e.status(t)}return e.state.activeElements=[],(0,d.loadTree)(e).catch(e.status)}},!!m.preview&&{icon:"eye",title:"Preview",exec(){let t=e.dlg({buttons:["fullsize","dialog.close"]}),i=e.c.div(p,'<div class="jodit-icon_loader"></div>'),o=e.c.div(p+"__box"),s=e.c.fromHTML(f()),a=e.c.fromHTML(f("prev","left")),l=r=>{let l=e.c.element("img");l.setAttribute("src",r);let u=()=>{var r;e.isInDestruct||(e.e.off(l,"load"),n.Dom.detach(i),m.showPreviewNavigation&&(n.Dom.prevWithClass(c,e.files.getFullElName("item"))&&i.appendChild(a),n.Dom.nextWithClass(c,e.files.getFullElName("item"))&&i.appendChild(s)),i.appendChild(o),o.appendChild(l),t.setPosition(),null==(r=null==e?void 0:e.events)||r.fire("previewOpenedAndLoaded"))};e.e.on(l,"load",u),l.complete&&u()};e.e.on([s,a],"click",function(){if(!(c=this===s?n.Dom.nextWithClass(c,e.files.getFullElName("item")):n.Dom.prevWithClass(c,e.files.getFullElName("item"))))throw(0,r.error)("Need element");n.Dom.detach(i),n.Dom.detach(o),i.innerHTML='<div class="jodit-icon_loader"></div>',l(g("href"))}),e.e.on("beforeDestruct",()=>{t.destruct()}),t.container.classList.add(p+"__dialog"),t.setContent(i),t.setPosition(),t.open(),l(g("href")),e.events.on("beforeDestruct",()=>{t.destruct()}).fire("previewOpened")}},{icon:"upload",title:"Download",exec(){let t=g("href");t&&e.ow.open(t)}}]))},e.defaultTimeout),e.e.on("beforeClose",()=>{t.close()}).on("beforeDestruct",()=>t.destruct()),i.stopPropagation(),i.preventDefault(),!1}}},41601:function(e,t,i){i.d(t,{Ajax:function(){return n.Ajax},Response:function(){return o.Response}});var n=i(54079),o=i(98582)},41817:function(e,t,i){i.r(t),t.default={"Line height":"Çizgi yüksekliği"}},41872:function(e,t,i){i.d(t,{checkBR:function(){return s}});var n=i(82758),o=i(2748),r=i(26395);function s(e,t,i){let s=!!o.Dom.closest(e,["pre","blockquote"],t.editor),l=!s&&o.Dom.closest(e,["td","th"],t.editor);if(t.o.enter.toLowerCase()===n.BR.toLowerCase()||l||i&&!s||!i&&s){var c;let i;if(s&&(i=a(a(c=e)))&&(o.Dom.safeRemove(a(c)),o.Dom.safeRemove(i),1))return!1;let n=t.createInside.element("br");if(o.Dom.before(e,n),!o.Dom.findNotEmptySibling(n,!1)){let t=n.cloneNode();o.Dom.after(n,t),o.Dom.before(t,e)}return(0,r.scrollIntoViewIfNeeded)(n,t.editor,t.ed),!0}return!1}function a(e){if(!e)return!1;let t=o.Dom.findSibling(e,!0);return!!t&&!!o.Dom.isTag(t,"br")&&t}},41876:function(e,t,i){i.d(t,{PluginSystem:function(){return p}});var n=i(82758),o=i(57012),r=i(46559),s=i(68345),a=i(60132),l=i(70799),c=i(31359),u=i(14041),d=i(48591),h=i(89672);class p{get size(){return this.__items.size}add(e,t){this.__items.set((0,h.normalizeName)(e),t),o.eventEmitter.fire(`plugin:${e}:ready`)}get(e){return this.__items.get((0,h.normalizeName)(e))}remove(e){this.__items.delete((0,h.normalizeName)(e))}__getFullPluginsList(e){let t=[];return this.__items.forEach((i,n)=>{(!e||e.has(n))&&t.push([n,i])}),t}__init(e){let{extraList:t,disableList:i,filter:o}={extraList:e.o.extraPlugins.map(e=>(0,l.isString)(e)?{name:e}:e),disableList:new Set((0,r.splitArray)(e.o.disablePlugins).map(h.normalizeName)),filter:e.o.safeMode?new Set(e.o.safePluginsList):null},p=new Map,f={},m=new Set;e.__plugins=f;let g=()=>{if(e.isInDestruct)return;let t=!1;this.__getFullPluginsList(o).forEach(([n,o])=>{if(i.has(n)||p.has(n))return;let r=null==o?void 0:o.requires;if(r&&(0,s.isArray)(r)&&r.length){if(r.some(e=>i.has(e)))return;if(!r.every(e=>p.has(e)))return void m.add(n)}t=!0;let a=(0,d.makeInstance)(e,o);if(!a){p.set(n,null),m.delete(n);return}(0,c.init)(e,n,o,a,p,m,this.opts.getContainer),f[n]=a}),t&&(e.e.fire("updatePlugins"),g())};t&&t.length&&(0,u.loadExtras)(this.__items,e,t,g),g(),e.e.on("beforeDestruct",()=>{Object.keys(f).forEach(t=>{let i=f[t];(0,a.isDestructable)(i)&&i.destruct(e),delete f[t]}),delete e.__plugins}),n.IS_PROD||m.size}wait(e){return new Promise(t=>{if(this.get(e))return t();let i=()=>{t(),o.eventEmitter.off(`plugin:${e}:ready`,i)};o.eventEmitter.on(`plugin:${e}:ready`,i)})}constructor(e){this.opts=e,this.__items=new Map}}},42107:function(e,t,i){i.r(t),t.default={Spellcheck:"拼字檢查"}},42247:function(e,t,i){i.r(t),t.default={Spellcheck:"Yazım denetimi"}},42263:function(e,t,i){var n=i(82758),o=i(580),r=i(21537),s=i(50911);i(78524);class a extends s.Plugin{afterInit(e){(0,r.keys)(e.o.commandToHotkeys,!1).forEach(t=>{let i=e.o.commandToHotkeys[t];i&&((0,r.isArray)(i)||(0,r.isString)(i))&&e.registerHotkeyToCommand(i,t)});let t=!1;e.e.off(".hotkeys").on([e.ow,e.ew],"keydown.hotkeys",e=>{if(e.key===n.KEY_ESC)return this.j.e.fire("escape",e)}).on("keydown.hotkeys",i=>{let n=this.onKeyPress(i),o={shouldStop:!0};if(!1===this.j.e.fire(n+".hotkey",i.type,o))if(o.shouldStop)return t=!0,e.e.stopPropagation("keydown"),!1;else i.preventDefault()},{top:!0}).on("keyup.hotkeys",()=>{if(t)return t=!1,e.e.stopPropagation("keyup"),!1},{top:!0})}beforeDestruct(e){e.events&&e.e.off(".hotkeys")}constructor(){super(...arguments),this.onKeyPress=e=>{let t=this.specialKeys[e.which],i=(e.key||String.fromCharCode(e.which)).toLowerCase(),n=[t||i];return["alt","ctrl","shift","meta"].forEach(i=>{e[i+"Key"]&&t!==i&&n.push(i)}),(0,r.normalizeKeyAliases)(n.join("+"))},this.specialKeys={8:"backspace",9:"tab",10:"return",13:"return",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",59:";",61:"=",91:"meta",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"}}}o.pluginSystem.add("hotkeys",a)},42312:function(e,t,i){i.d(t,{removeFormatForSelection:function(){return s}});var n=i(2748),o=i(43555),r=i(84272);function s(e){let{s:t,editor:i,createInside:s}=e,{range:a}=t,l=a.cloneRange(),c=a.cloneRange(),u=s.fake(),d=s.fake();l.collapse(!0),c.collapse(!1),n.Dom.safeInsertNode(l,u),n.Dom.safeInsertNode(c,d),a.setStartBefore(u),a.collapse(!0),t.selectRange(a),(0,r.removeFormatForCollapsedSelection)(e,u),a.setEndAfter(d),a.collapse(!1),t.selectRange(a),(0,r.removeFormatForCollapsedSelection)(e,d);let h=[];n.Dom.between(u,d,e=>{(0,r.isInlineBlock)(e)&&!n.Dom.isTag(e,"a")&&h.push(e),n.Dom.isElement(e)&&(0,o.attr)(e,"style")&&(0,o.attr)(e,"style",null)}),h.forEach(e=>n.Dom.unwrap(e));let p=(e,t)=>{if(!n.Dom.findNotEmptySibling(e,t)){let n=e.parentNode;if(n&&n!==i&&(0,o.attr)(n,"style"))return(0,o.attr)(n,"style",null),p(n,t),!0}};p(u,!0)&&p(d,!1),a.setStartAfter(u),a.setEndBefore(d),t.selectRange(a),n.Dom.safeRemove(u),n.Dom.safeRemove(d)}},42320:function(e,t,i){i.d(t,{isSet:function(){return o}});var n=i(23282);function o(e){return!!e&&(0,n.isFunction)(e.has)&&(0,n.isFunction)(e.add)&&(0,n.isFunction)(e.delete)}},42345:function(e,t){t.default='<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> '},42727:function(e,t,i){i.r(t),t.default={"Line height":"Wysokość linii"}},42820:function(e,t,i){i.r(t),t.default={Spellcheck:"Oikeinkirjoituksen tarkistus"}},42968:function(e,t,i){i.d(t,{JElement:function(){return u}});var n=i(82749),o=i(99658),r=i(40273),s=i(82758),a=i(2748),l=i(38837);let c=new Set(s.INSEPARABLE_TAGS);class u{get isText(){return this.type===Node.TEXT_NODE}get isElement(){return this.type===Node.ELEMENT_NODE}get isComment(){return this.type===Node.COMMENT_NODE}get isSingle(){return c.has(this.name)}get length(){return this.children.length}static make(e,t=null){return new u(e,t)}wrap(e){(0,l.assert)(null!=this.parent,"You can't wrap the root element");let t=u.make(document.createElement(e),this.parent),i=this.parent.children.indexOf(this)??-1;return -1===i?this.parent.append(t):this.parent.children[i]=t,t.append(this),t}append(e){return(0,l.assert)(e!==this,"Forbidden to add to yourself"),e.remove(),this.children.push(e),e.parent=this,this}get previousElement(){if(!this.parent)return null;let{children:e}=this.parent,t=e.indexOf(this);if(-1!==t){for(let i=t-1;i>=0;i-=1)if(e[i].isElement)return e[i]}return null}get lastElement(){let{children:e}=this;for(let t=e.length-1;t>=0;t-=1)if(e[t].isElement)return e[t];return null}get previous(){return this.sibling(!1)??this.parent?.previous??null}get next(){return this.sibling(!0)??this.parent?.next??null}sibling(e){if(!this.parent)return null;let{children:t}=this.parent,i=t.indexOf(this);return -1!==i&&t[i+(e?1:-1)]?t[i+(e?1:-1)]:null}forEach(e,t=!1){for(let i of[...this.children])if(!1===e(i)||t&&!1===i.forEach(e,!0))return!1}find(e,t=!0){let i=[];return this.forEach(t=>{e(t)&&i.push(t)},t),i}map(e){return this.children.map(e)}remove(){let e=this.parent?.children.indexOf(this);return null!=e&&-1!==e&&this.parent?.children.splice(e,1),this}textBetween(e,t){let i=!1,n=[];return this.forEach(r=>{if(!i&&e(r)&&(i=!0),i&&r.isText&&n.push((0,o.html)(r)),i&&t(r))return!1},!0),n.join("")}constructor(e,t){(0,n._)(this,"parent",void 0),(0,n._)(this,"name",void 0),(0,n._)(this,"type",void 0),(0,n._)(this,"attributes",void 0),(0,n._)(this,"style",void 0),(0,n._)(this,"children",void 0),this.parent=t,this.name=e.nodeName.toLowerCase(),this.type=e.nodeType,this.attributes=function(e){let t={};if(a.Dom.isElement(e))for(let i=0,n=e.attributes;i<n.length;i+=1)t[n[i].name]=n[i].value;else t.nodeValue=e.nodeValue;return t}(e),this.style=new r.Style(this.attributes.style),this.children=[],e.childNodes.forEach(e=>this.children.push(u.make(e,this)))}}},43003:function(e,t,i){var n=i(580);i(40329),n.pluginSystem.add("table",function(e){e.registerButton({name:"table",group:"insert"})})},43267:function(e,t,i){i.r(t),i.d(t,{checkBlockNesting:function(){return n.checkBlockNesting}});var n=i(78720)},43463:function(e,t,i){i.d(t,{moveTheNodeAlongTheEdgeOutward:function(){return o}});var n=i(2748);function o(e,t,i){let o=e;for(;o&&o!==i&&!(n.Dom.findSibling(o,t)||n.Dom.isBlock(o.parentElement));)(o=o.parentElement)&&o!==i&&(t?n.Dom.before(o,e):n.Dom.after(o,e))}},43478:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5t-316.5 131.5-316.5-131.5-131.5-316.5q0-121 61-225-229 117-381 353 133 205 333.5 326.5t434.5 121.5 434.5-121.5 333.5-326.5zm-720-384q0-20-14-34t-34-14q-125 0-214.5 89.5t-89.5 214.5q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5t-499.5 138.5-499.5-139-376.5-368q-20-35-20-69t20-69q140-229 376.5-368t499.5-139 499.5 139 376.5 368q20 35 20 69z"/> </svg> '},43555:function(e,t,i){i.d(t,{$$:function(){return E.$$},ConfigDeepFlatten:function(){return u.ConfigDeepFlatten},ConfigFlatten:function(){return u.ConfigFlatten},ConfigProto:function(){return u.ConfigProto},ConnectionError:function(){return g.ConnectionError},LimitedStack:function(){return D.LimitedStack},OptionsError:function(){return g.OptionsError},abort:function(){return g.abort},alignElement:function(){return n.alignElement},alreadyLoadedList:function(){return o.alreadyLoadedList},appendScriptAsync:function(){return o.appendScriptAsync},appendStyleAsync:function(){return o.appendStyleAsync},assert:function(){return r.assert},attr:function(){return s.attr},browser:function(){return a.browser},buildQuery:function(){return l.buildQuery},call:function(){return A.call},callPromise:function(){return A.callPromise},callThis:function(){return A.callThis},clearAlign:function(){return n.clearAlign},clearCenterAlign:function(){return h.clearCenterAlign},cns:function(){return w.cns},completeUrl:function(){return c.completeUrl},connection:function(){return g.connection},convertMediaUrlToVideoEmbed:function(){return d.convertMediaUrlToVideoEmbed},css:function(){return h.css},cssPath:function(){return E.cssPath},ctrlKey:function(){return p.ctrlKey},dataBind:function(){return f.dataBind},defaultLanguage:function(){return m.defaultLanguage},error:function(){return g.error},fastClone:function(){return v.fastClone},get:function(){return b.get},getClassName:function(){return y.getClassName},getDataTransfer:function(){return A.getDataTransfer},getPropertyDescriptor:function(){return A.getPropertyDescriptor},getXPathByElement:function(){return E.getXPathByElement},hAlignElement:function(){return n.hAlignElement},humanSizeToBytes:function(){return S.humanSizeToBytes},inView:function(){return I.inView},isAtom:function(){return v.isAtom},keepNames:function(){return y.keepNames},keys:function(){return A.keys},loadImage:function(){return A.loadImage},loadNext:function(){return o.loadNext},loadNextStyle:function(){return o.loadNextStyle},markAsAtomic:function(){return v.markAsAtomic},markDeprecated:function(){return w.markDeprecated},markOwner:function(){return A.markOwner},memorizeExec:function(){return A.memorizeExec},options:function(){return g.options},parseQuery:function(){return _.parseQuery},previewBox:function(){return C.previewBox},refs:function(){return E.refs},reset:function(){return k.reset},resolveElement:function(){return E.resolveElement},scrollIntoViewIfNeeded:function(){return I.scrollIntoViewIfNeeded},set:function(){return T.set}});var n=i(25726),o=i(63799),r=i(38837),s=i(29960),a=i(97639),l=i(44710),c=i(66292),u=i(68934),d=i(55877),h=i(41180),p=i(15456),f=i(86583),m=i(96325),g=i(89890),v=i(97735),b=i(94643),y=i(80568),S=i(38420),w=i(95942),_=i(82501),C=i(11628),k=i(58844),I=i(26395),E=i(76078),T=i(3703),D=i(50535),A=i(37790)},43646:function(e,t,i){i.r(t),t.default={"Line height":"Altura da linha"}},43649:function(e,t,i){i.d(t,{flatButtonsSet:function(){return r},isButtonGroup:function(){return o}});var n=i(68345);let o=e=>(0,n.isArray)(e.buttons);function r(e,t){let i=t.getRegisteredButtonGroups();return new Set(e.reduce((e,t)=>{var n;return o(t)?e=e.concat([...t.buttons,...null!=(n=i[t.group])?n:[]]):e.push(t),e},[]))}},43712:function(e,t,i){let n;function o(e){if(!e)return[0,0,0,0];let t=e.match(/(0|auto|(-?[.\d]+(?:\w+|%)))/g)||["0px"];switch(t.length){case 2:return[0,1,0,1].map(e=>t[e]);case 3:return[0,1,2,1].map(e=>t[e]);case 4:return[0,1,2,3].map(e=>t[e]);default:return[0,0,0,0].map(e=>t[e])}}function r(e){if("number"==typeof e)return e;if(/%$/.test(e))return 0;n||(Object.assign((n=document.createElement("div")).style,{position:"absolute",left:"-9999px",top:"-9999px",margin:"0",padding:"0",border:"0"}),document.body.append(n),setTimeout(()=>{n?.remove(),n=null}));let t=0>parseFloat(e);t&&(e=e.replace("-","")),n.style.width=e;let i=n.clientWidth;return t?-i:i}function s(e){let{style:t}=e,i=t.keys.filter(e=>/margin/.test(e)),n=Math.max(i.indexOf("margin-left"),i.indexOf("margin")),s=n>0?i[n]:"margin-left";return r("margin"===s?o(t.get("margin"))[3]||0:t.get(s)||0)}function a(e){return/\d.\d/.test(e)?e.split(".").pop()||null:/^\d/.test(e)?(parseInt(e,10)||1).toString():null}i.d(t,{calcMarginParts:function(){return o},calcStartBySymbol:function(){return a},convertUnitToPx:function(){return r},realPixelIndent:function(){return s}})},43809:function(e,t,i){var n=i(65478),o=i(580),r=i(29960),s=i(50911);i(99085);var a=i(26529);class l extends s.Plugin{afterInit(e){e.e.on("afterInit afterAddPlace prepareWYSIWYGEditor",this.toggleSpellcheck),this.toggleSpellcheck(),e.registerCommand("toggleSpellcheck",()=>{this.jodit.o.spellcheck=!this.jodit.o.spellcheck,this.toggleSpellcheck(),this.j.e.fire("updateToolbar")})}toggleSpellcheck(){(0,r.attr)(this.jodit.editor,"spellcheck",this.jodit.o.spellcheck)}beforeDestruct(e){}constructor(e){super(e),this.buttons=[{group:"state",name:"spellcheck"}],(0,o.extendLang)(a)}}!function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);r>3&&s&&Object.defineProperty(t,i,s)}([n.autobind],l.prototype,"toggleSpellcheck",null),o.pluginSystem.add("spellcheck",l)},44245:function(e,t,i){i.d(t,{insertParagraph:function(){return r}});var n=i(2748),o=i(26395);function r(e,t,i,r){let s="br"===i.toLowerCase(),{createInside:a}=t,l=a.element(i),c=a.element("br");return s||l.appendChild(c),r&&r.cssText&&l.setAttribute("style",r.cssText),n.Dom.after(e,l),n.Dom.before(s?l:c,e),(0,o.scrollIntoViewIfNeeded)(l,t.editor,t.ed),l}},44253:function(e,t,i){i.d(t,{toggleAttributes:function(){return m}});var n=i(82758),o=i(2748),r=i(580),s=i(27613),a=i(3760),l=i(21496),c=i(12475),u=i(43555),d=i(41180),h=i(86583),p=i(77361);let f="toggleAttributes";function m(e,t,i,v,b=!1){if(!b&&e.isApplied(t,f))return v;b||e.setApplied(t,f);let{attributes:y}=e.options;return y&&(0,l.size)(y)>0&&Object.keys(y).forEach(f=>{var m,S,w;let _=y[f];switch(f){case"style":m=v,(0,u.assert)((0,s.isPlainObject)(_)&&(0,l.size)(_),"Style must be an object"),Object.keys(_).forEach(s=>{let l=t.style.getPropertyValue((0,c.kebabCase)(s)),u=_[s];if(""!==l||null!=u){let c,f;if((c=i.create.element(t.tagName.toLowerCase())).style.cssText=t.style.cssText,(function(e){var t;if(void 0!==(0,h.dataBind)(e,"shadowRoot"))return(0,h.dataBind)(e,"shadowRoot");let i=(0,r.getContainer)(e),o=n.globalDocument.createElement("iframe");(0,d.css)(o,{width:0,height:0,position:"absolute",border:0}),o.src="about:blank",i.appendChild(o);let s=null==(t=o.contentWindow)?void 0:t.document,a=s?s.body:e.od.body;return(0,h.dataBind)(e,"shadowRoot",a),a})(i).appendChild(c),f=(0,d.css)(c,s),o.Dom.safeRemove(c),f===(0,a.normalizeCssValue)(s,u)){if(!l)return;b||(0,d.css)(t,s,null),m=g(e,t,m=p.UNSET);return}m=p.CHANGE,b||((0,d.css)(t,s,u),m=g(e,t,m))}}),v=m;break;case"className":case"class":let C;S=v,(0,u.assert)((0,s.isString)(_),"Class name must be a string"),C=i.e.fire.bind(i.e,`${p._PREFIX}AfterToggleAttribute`),t.classList.contains(_.toString())?(S=p.UNSET,b||(t.classList.remove(_),0===t.classList.length&&((0,u.attr)(t,"class",null),C(S,t,"class",null)))):(S=p.CHANGE,b||(t.classList.add(_),C(S,t,"class",_))),v=S;break;default:let k;w=v,(0,u.assert)((0,s.isString)(_)||(0,s.isNumber)(_)||(0,s.isBoolean)(_)||null==_,"Attribute value must be a string or number or boolean or null"),k=i.e.fire.bind(i.e,`${p._PREFIX}AfterToggleAttribute`),(0,u.attr)(t,f)===_?(b||(0,u.attr)(t,f,null),w=p.UNSET,b||k(w,t,f,_)):(w=p.CHANGE,b||((0,u.attr)(t,f,_),k(w,t,f,_))),v=w}}),v}function g(e,t,i){return(0,u.attr)(t,"style")||((0,u.attr)(t,"style",null),t.tagName.toLowerCase()===e.defaultTag&&(o.Dom.unwrap(t),i=p.UNWRAP)),i}},44328:function(e,t,i){i.r(t),t.default={symbols:"Sembol"}},44330:function(e,t){t.default='<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> '},44450:function(e,t,i){i.d(t,{deleteFile:function(){return n}});function n(e,t,i){return e.dataProvider.fileRemove(e.state.currentPath,t,i).then(i=>{e.status(i||e.i18n('File "%s" was deleted',t),!0)}).catch(e.status)}},44506:function(e,t,i){i.d(t,{getContentWidth:function(){return n}});let n=(e,t)=>{let i=t.getComputedStyle(e);return e.offsetWidth-parseInt(i.getPropertyValue("padding-left")||"0",10)-parseInt(i.getPropertyValue("padding-right")||"0",10)}},44586:function(e,t,i){i(6441).Config.prototype.draggableTags=["img","jodit-media","jodit"]},44602:function(e,t,i){i.d(t,{getSuitParent:function(){return function e(t,i,s){let{parentNode:a}=i;return a===s||!n.Dom.isHTMLElement(a)||n.Dom.next(i,o.isNormalNode,a)||n.Dom.prev(i,o.isNormalNode,a)?null:t.isElementCommit&&t.elementIsBlock&&!n.Dom.isBlock(a)?e(t,a,s):(0,r.isSuitElement)(t,a,!1)&&(!n.Dom.isBlock(a)||t.elementIsBlock)?a:t.isElementCommit&&!n.Dom.isBlock(a)?e(t,a,s):null}}});var n=i(2748),o=i(29136),r=i(97380)},44710:function(e,t,i){i.d(t,{buildQuery:function(){return o}});var n=i(72430);let o=(e,t)=>{let i=[],r=encodeURIComponent;for(let s in e)if(Object.prototype.hasOwnProperty.call(e,s)){let a=t?t+"["+s+"]":s,l=e[s];i.push((0,n.isPlainObject)(l)?o(l,a):r(a)+"="+r(l))}return i.join("&")}},44730:function(e,t,i){i.r(t),t.default={symbols:"caractère"}},44850:function(e,t,i){i.r(t),t.default={Spellcheck:"Helyesírás-ellenőrzés"}},44864:function(e,t,i){i.r(t),i.d(t,{autocomplete:function(){return f}});var n=i(82749),o=i(31635);i(53586);var r=i(83725),s=i(64199),a=i(82758),l=i(65478),c=i(2748),u=i(21537),d=i(50911),h=i(56917),p=i(2692);class f extends d.Plugin{get list(){return new r.Autocomplete(this.jodit)}get popup(){let e=new h.Popup(this.jodit);return e.setMod("padding",!1),e.setContent(this.list.container),this.jodit.e.on(e,"beforeClose",()=>{this.list.currentSelection=0}),e}afterInit(e){e.e.on("select.autocomplete",t=>{let i=t.value;(0,u.isFunction)(t.insertValueRenderer)&&(i=t.insertValueRenderer(t)),c.Dom.isNode(i)||(i=e.createInside.fromHTML(i)),(0,s.replaceTextLeftOfCursorAfterSpace)(e.s.range,i),this.j.s.setCursorAfter(i),this.j.synchronizeValues(),this.popup.close()}).on("keydown.autocomplete",this.onKeyDown).on("keydown.autocomplete",this.onKeyControlDown,{top:!0}).on("beforeEnter.autocomplete",this.onEnter,{top:!0}).on("autocomplete.autocomplete",this.onAutoComplete).on("registerAutocompleteSource.autocomplete",this.registerAutocompleteSource).on("unregisterAutocompleteSource.autocomplete",this.unregisterAutocompleteSource)}registerAutocompleteSource(e){this.sources.push(e)}unregisterAutocompleteSource(e){let t=this.sources.indexOf(e);-1!==t&&this.sources.splice(t,1)}static isControlKey(e){return e===a.KEY_DOWN||e===a.KEY_UP||e===a.KEY_ENTER||e===a.KEY_TAB}async onKeyDown(e){if(e.key===a.KEY_ESC){this.popup.isOpened&&this.popup.close();return}let{s:t}=this.j;if(f.isControlKey(e.key)||!t.isInsideArea||!t.isCollapsed)return;let i=this.j.s.sel?.rangeCount?this.j.s.sel?.getRangeAt(0):null,n=i&&(0,s.getTextLeftOfCursor)(i).split(" ").pop();if(n&&(0,u.trim)(n).length){let e=await this.onAutoComplete(n);if(e.length)return this.openPopup(e)}this.popup.isOpened&&this.popup.close()}onKeyControlDown(e){if(this.popup.isOpened&&f.isControlKey(e.key)){switch(e.key){case a.KEY_DOWN:this.list.selectNext();break;case a.KEY_UP:this.list.selectPrevious();break;case a.KEY_TAB:this.list.select()}return this.j.e.stopPropagation(e.type),!1}}onEnter(){if(this.popup.isOpened)return this.list.select(),!1}async onAutoComplete(e){let t=[];return await Promise.all(this.sources.concat(this.j.o.autocomplete.sources).map(async i=>{t.push(...await this.resolveFeed(e,i))})),t}async resolveFeed(e,t,i){let n;if((0,u.isPromise)(t)&&(t=await t),(0,u.isFunction)(t))n=await t(e);else if((0,u.isArray)(t)){let i=t,{isMatchedQuery:o}=this.j.o.autocomplete;n=i.filter(t=>(0,u.isString)(t)?o(e,t):o(e,t.value)).map(e=>(0,u.isString)(e)?{title:e,value:e}:e)}else n=await this.resolveFeed(e,t.feed,t);if(this.j.isDestructed)return[];if(n&&(0,u.isArray)(n)){let{itemRenderer:e,insertValueRenderer:t,maxItems:o}=this.j.o.autocomplete;return(n=n.map(n=>({itemRenderer:i?.itemRenderer??e,insertValueRenderer:i?.insertValueRenderer??t,...n}))).slice(0,o)}return[]}openPopup(e){this.list.build(e),this.popup.open(()=>{let{j:e}=this,t=e.s.range.getBoundingClientRect(),i={left:t.left,top:t.top,height:t.height,width:t.width};if(e.o.iframe&&e.iframe){let t=(0,u.position)(e.iframe,e);i.top+=t.top,i.left+=t.left}return i})}beforeDestruct(e){e.e.off(this.list).off(this.popup).off("keydown.autocomplete",this.onKeyDown).off("autocomplete.autocomplete",this.onAutoComplete).off(".autocomplete"),this.list.destruct(),this.popup.destruct()}constructor(...e){super(...e),(0,n._)(this,"hasStyle",!p.JoditPro.fatMode),(0,n._)(this,"sources",[])}}(0,n._)(f,"requires",["enter","license"]),(0,o.__decorate)([l.cache],f.prototype,"list",null),(0,o.__decorate)([l.cache],f.prototype,"popup",null),(0,o.__decorate)([l.autobind],f.prototype,"registerAutocompleteSource",null),(0,o.__decorate)([l.autobind],f.prototype,"unregisterAutocompleteSource",null),(0,o.__decorate)([(0,l.debounce)()],f.prototype,"onKeyDown",null),(0,o.__decorate)([l.autobind],f.prototype,"onKeyControlDown",null),(0,o.__decorate)([l.autobind],f.prototype,"onEnter",null),(0,o.__decorate)([l.autobind],f.prototype,"onAutoComplete",null),(0,o.__decorate)([l.autobind],f.prototype,"resolveFeed",null),p.JoditPro.plugins.add("autocomplete",f)},45124:function(e,t,i){i.d(t,{cursorInTheEdgeOfString:function(){return s},findCorrectCurrentNode:function(){return a},moveNodeInsideStart:function(){return r.moveNodeInsideStart}});var n=i(82758),o=i(2748),r=i(26716);function s(e,t,i,o){var r;let s=(null==(r=e.nodeValue)?void 0:r.length)?e.nodeValue:"";if(o&&s.replace((0,n.INVISIBLE_SPACE_REG_EXP_END)(),"").length>t)return!0;let a=(0,n.INVISIBLE_SPACE_REG_EXP_START)().exec(s);return i&&(a&&a[0].length<t||!a&&t>0)}function a(e,t,i,n,r,s){if((e=t.startContainer.childNodes[t.startOffset])||(e=t.startContainer.childNodes[t.startOffset-1],i=!0),e&&n&&!o.Dom.isText(e)){if(!i&&o.Dom.isText(e.previousSibling))e=e.previousSibling;else if(r){let t=s(e);for(;t;){if(t&&o.Dom.isText(t)){e=t;break}t=s(t)}}}if(e&&!n&&!o.Dom.isText(e)){let t=e,i=e;do t=t.firstChild,i=i.lastChild;while(t&&i&&!o.Dom.isText(t))t===i&&t&&o.Dom.isText(t)&&(e=t)}return{node:e,rightMode:i}}i(43463)},45219:function(e,t,i){i.d(t,{autobind:function(){return o}});var n=i(23282);function o(e,t,i){if(!(0,n.isFunction)(i.value))throw TypeError(`@autobind can only be applied to methods, but "${t}" is not a function`);let o=i.value;return{configurable:!0,get(){let e=o.bind(this);return Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0}),e}}}},45235:function(e,t,i){i.r(t),i.d(t,{allowAttributes:function(){return n.allowAttributes},fillEmptyParagraph:function(){return o.fillEmptyParagraph},removeEmptyTextNode:function(){return r.removeEmptyTextNode},removeInvTextNodes:function(){return s.removeInvTextNodes},replaceOldTags:function(){return a.replaceOldTags},sanitizeAttributes:function(){return l.sanitizeAttributes},tryRemoveNode:function(){return c.tryRemoveNode}});var n=i(82558),o=i(39433),r=i(53392),s=i(25813),a=i(80973),l=i(384),c=i(28800)},45575:function(e,t){t.default='<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> '},45603:function(e,t,i){i.d(t,{isLicense:function(){return o}});var n=i(70799);let o=e=>(0,n.isString)(e)&&23===e.length&&/^[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}$/i.test(e)},45927:function(e,t,i){var n=i(65478),o=i(580),r=i(84767),s=i(41180),a=i(20356);i(80792);var l=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};class c extends a.Plugin{afterInit(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.__immediateInitialize()}__initialize(){this.__immediateInitialize()}__immediateInitialize(){let{j:e}=this;if(e.o.inline)return;let{height:t}=e.o;if(e.o.saveHeightInStorage&&"auto"!==t){let i=e.storage.get("height");i&&(t=i)}(0,s.css)(e.editor,{minHeight:"100%"}),(0,s.css)(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))}__setHeight(e){let{clientHeight:t,clientWidth:i}=this.j.container;if((0,r.isNumber)(e)){let{minHeight:t,maxHeight:i}=this.j.o;(0,r.isNumber)(t)&&t>e&&(e=t),(0,r.isNumber)(i)&&i<e&&(e=i)}(0,s.css)(this.j.container,"height",e),this.j.o.saveHeightInStorage&&this.j.storage.set("height",e),this.__resizeWorkspaceImd({clientHeight:t,clientWidth:i})}__setWidth(e){let{clientHeight:t,clientWidth:i}=this.j.container;if((0,r.isNumber)(e)){let{minWidth:t,maxWidth:i}=this.j.o;(0,r.isNumber)(t)&&t>e&&(e=t),(0,r.isNumber)(i)&&e>i&&(e=i)}(0,s.css)(this.j.container,"width",e),this.__resizeWorkspaceImd({clientHeight:t,clientWidth:i})}__getNotWorkHeight(){var e,t;return((null==(e=this.j.toolbarContainer)?void 0:e.offsetHeight)||0)+((null==(t=this.j.statusbar)?void 0:t.getHeight())||0)+2}__resizeWorkspaceImd({clientHeight:e,clientWidth:t}=this.j.container){if(!this.j||this.j.isDestructed||!this.j.o||this.j.o.inline||!this.j.container||!this.j.container.parentNode)return;let i=((0,s.css)(this.j.container,"minHeight")||0)-this.__getNotWorkHeight();if((0,r.isNumber)(i)&&i>0&&([this.j.workplace,this.j.currentPlace.slots.center,this.j.iframe,this.j.editor].map(e=>{e&&(0,s.css)(e,"minHeight",i)}),this.j.e.fire("setMinHeight",i)),(0,r.isNumber)(this.j.o.maxHeight)){let e=this.j.o.maxHeight-this.__getNotWorkHeight();[this.j.workplace,this.j.currentPlace.slots.center,this.j.iframe,this.j.editor].map(t=>{t&&(0,s.css)(t,"maxHeight",e)}),this.j.e.fire("setMaxHeight",e)}if(this.j.container){let e="auto"!==this.j.o.height||this.j.isFullSize?this.j.container.offsetHeight-this.__getNotWorkHeight():"auto";(0,s.css)(this.j.workplace,"height",e),this.j.container.style.setProperty("--jd-jodit-workplace-height",(0,r.isNumber)(e)?e+"px":e)}let{clientHeight:n,clientWidth:o}=this.j.container;(e!==n||t!==o)&&this.j.e.fire(this.j,"resize")}beforeDestruct(e){e.e.off(e.ow,"load.size",this.__resizeWorkspaces).off(".size")}constructor(){super(...arguments),this.__resizeWorkspaces=this.j.async.debounce(this.__resizeWorkspaceImd,this.j.defaultTimeout,!0)}}l([(0,n.throttle)()],c.prototype,"__initialize",null),l([n.autobind],c.prototype,"__setHeight",null),l([n.autobind],c.prototype,"__setWidth",null),l([n.autobind],c.prototype,"__resizeWorkspaceImd",null),o.pluginSystem.add("size",c)},45971:function(e,t,i){i.d(t,{nl2br:function(){return n}});function n(e){return e.replace(/\r\n|\r|\n/g,"<br/>")}},46104:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M896 1152q0-36-20-69-1-1-15.5-22.5t-25.5-38-25-44-21-50.5q-4-16-21-16t-21 16q-7 23-21 50.5t-25 44-25.5 38-15.5 22.5q-20 33-20 69 0 53 37.5 90.5t90.5 37.5 90.5-37.5 37.5-90.5zm512-128q0 212-150 362t-362 150-362-150-150-362q0-145 81-275 6-9 62.5-90.5t101-151 99.5-178 83-201.5q9-30 34-47t51-17 51.5 17 33.5 47q28 93 83 201.5t99.5 178 101 151 62.5 90.5q81 127 81 275z"/> </svg> '},46124:function(e,t,i){i.r(t),i.d(t,{removeExtraBr:function(){return n.removeExtraBr}});var n=i(94870)},46295:function(e,t,i){i.r(t),t.default={"Line height":"Altura de la línea"}},46334:function(e,t,i){i.d(t,{normalizeSize:function(){return n}});let n=(e,t)=>/^[0-9]+$/.test(e.toString())?e+t:e.toString()},46448:function(e,t,i){i(73391),i(93183),i(66707),i(41107),i(93079),i(575),i(23399),i(96111),i(42263),i(77469),i(23531),i(93401),i(65517),i(64837),i(59451),i(18363),i(6687),i(45927),i(7309),i(43003),i(72253),i(65735)},46559:function(e,t,i){i.d(t,{splitArray:function(){return n}});function n(e){return Array.isArray(e)?e:e.split(/[,\s]+/)}},46614:function(e,t,i){var n=i(87612),o=i(70799),r=i(29960),s=i(86583),a=i(12153),l=i(6441),c=i(26532),u=i(93602),d=i(75259);l.Config.prototype.speechRecognize={api:void 0!==c.SpeechRecognition?c.SpeechRecognition:null,sound:!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"}},a.Icon.set("speech-recognize",d.default),l.Config.prototype.controls.speechRecognize={isVisible:e=>!!e.o.speechRecognize.api,isActive(e,t){let i=(0,s.dataBind)(e,"speech");return!!(null==i?void 0:i.isEnabled)},isDisabled:e=>!e.o.speechRecognize.api,exec(e,t,{button:i,control:a}){var l;let{api:c,lang:d,continuous:h,interimResults:p,sound:f}=e.o.speechRecognize;if(!c)return void e.alert("Speech recognize API unsupported in your browser");let m=(0,s.dataBind)(e,"speech");if(!m){let t=new c;(m=new u.RecognizeManager(e.async,t)).lang=(0,o.isString)(d)?d:null!=(l=(0,r.attr)(e.od.documentElement,"lang"))?l:void 0,m.continuous=h,m.interimResults=p,m.sound=f,(0,s.dataBind)(e,"speech",m),m.on("pulse",e=>{i.setMod("pulse",e)}),m.on("result",t=>e.e.fire("speechRecognizeResult",t)),m.on("progress",t=>e.e.fire("speechRecognizeProgressResult",t)),m.on("error",t=>e.message.error(t)),i.hookStatus("beforeDestruct",()=>{(0,s.dataBind)(e,"speech",null),m.destruct()})}if(a.args){let e=a.args[0];if((0,n.isBoolean)(m[e])){m[e]=!m[e],m.isEnabled&&m.restart();return}}m.toggle(),m.isEnabled&&i.setMod("pulse",!0),i.state.activated=m.isEnabled},name:"speechRecognize",command:"toggleSpeechRecognize",tooltip:"Speech Recognize",list:{sound:"Sound",interimResults:"Interim Results"},childTemplate(e,t,i){var n;let o=(0,s.dataBind)(e,"speech"),r=null!=(n=null==o?void 0:o[t])?n:e.o.speechRecognize[t];return`<span class='jodit-speech-recognize__list-item'><input ${r?"checked":""} class='jodit-checkbox' type='checkbox'>&nbsp;${i}</span>`},mods:{stroke:!1}}},46776:function(e,t,i){var n=i(12153),o=i(6441),r=i(44330);o.Config.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},o.Config.prototype.controls.eraser={command:"removeFormat",tooltip:"Clear Formatting"},n.Icon.set("eraser",r.default)},47064:function(e,t,i){i.d(t,{clearAttributes:function(){return o}});let n=["cellspacing","cellpadding","border","v:shapes","o:spid"];function o(e){if(/^OLE_LINK\d+$/.test(e.attributes.name)&&(e.attributes.name=null,0===e.length))return e.remove(),null;for(let t of("_GoBack"===e.attributes.name&&(e.attributes.name=null),n))e.attributes[t]&&(e.attributes[t]=null);return e}},47193:function(e,t,i){i.r(t),t.default={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"}},47615:function(e,t,i){i.r(t),t.default={symbols:"Simbolo"}},47686:function(e,t,i){i.d(t,{onTabInsideLi:function(){return n.onTabInsideLi}});var n=i(26658)},47749:function(e,t,i){i.d(t,{readMargins:function(){return o}});var n=i(12475);function o(e,t,i){let o=!0,r=!1;["marginTop","marginRight","marginBottom","marginLeft"].forEach(i=>{let s=e.style.getPropertyValue((0,n.kebabCase)(i));if(!s){r=!0,t[i]=0;return}/^[0-9]+(px)?$/.test(s)&&(s=parseInt(s,10)),t[i]=s,(r&&t[i]||o&&"marginTop"!==i&&t[i]!==t.marginTop)&&(o=!1)}),i.marginIsLocked=o}},48038:function(e,t,i){var n=i(6441);n.Config.prototype.toolbarSticky=!0,n.Config.prototype.toolbarDisableStickyForMobile=!0,n.Config.prototype.toolbarStickyOffset=0},48538:function(e,t,i){i.d(t,{UIElement:function(){return h}});var n,o=i(91907),r=i(55153),s=i(2748),a=i(70799),l=i(29960),c=i(14316),u=i(34176),d=i(12153);let h=n=class e extends o.ViewComponent{getRole(){var e;return(null==(e=this.options)?void 0:e.role)||""}get parentElement(){return this.__parentElement}set parentElement(e){this.__parentElement=e,e&&e.hookStatus("beforeDestruct",()=>this.destruct()),this.updateParentElement(this)}bubble(e){let t=this.parentElement;for(;t;)e(t),t=t.parentElement;return this}updateParentElement(e){var t;return null==(t=this.__parentElement)||t.updateParentElement(e),this}get(e,t){return super.get(e,t)||this.getElm(e)}closest(e){let t="object"==typeof e?t=>t===e:t=>o.Component.isInstanceOf(t,e),i=this.__parentElement;for(;i;){if(t(i))return i;i=!i.parentElement&&i.container.parentElement?n.closestElement(i.container.parentElement,n):i.parentElement}return null}static closestElement(e,t){let i=s.Dom.up(e,e=>{if(e){let{component:i}=e;return i&&o.Component.isInstanceOf(i,t)}return!1});return i?null==i?void 0:i.component:null}update(){}appendTo(e){return e.appendChild(this.container),this}clearName(e){return e.replace(/[^a-zA-Z0-9]/g,"_")}render(e){return this.j.c.div(this.componentName)}createContainer(e){let t=this.render(e);if((0,a.isString)(t)){let e=this.parseTemplate(t);return e.classList.add(this.componentName),e}return t}parseTemplate(e){return this.j.c.fromHTML(e.replace(/\*([^*]+?)\*/g,(e,t)=>d.Icon.get(t)||"").replace(/&_/g,this.componentName+"_").replace(/~([^~]+?)~/g,(e,t)=>this.i18n(t)))}destruct(){return s.Dom.safeRemove(this.container),this.parentElement=null,super.destruct()}constructor(e,t){super(e),this.name="",this.__parentElement=null,this.mods={},this.options=t,this.container=this.createContainer(t);const i=this.getRole();i&&(0,l.attr)(this.container,"role",i),Object.defineProperty(this.container,"component",{value:this,configurable:!0})}};h=n=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([(0,r.derive)(u.Mods,c.Elms)],h)},48591:function(e,t,i){i.d(t,{makeInstance:function(){return r}});var n=i(82758),o=i(23282);function r(e,t){try{try{return(0,o.isFunction)(t)?new t(e):t}catch(i){if((0,o.isFunction)(t)&&!t.prototype)return t(e)}}catch(e){if(!n.IS_PROD)throw e}return null}},49033:function(e,t,i){i.d(t,{normalizeKeyAliases:function(){return r}});var n=i(82758),o=i(49055);function r(e){let t={},i={meta:1,ctrl:2,control:2,alt:3,shift:4,space:5};return e.replace(/\+\+/g,"+add").split(/[\s]*\+[\s]*/).map(e=>(0,o.trim)(e.toLowerCase())).map(e=>n.KEY_ALIASES[e]||e).sort((e,t)=>i[e]&&!i[t]?-1:!i[e]&&i[t]?1:i[e]&&i[t]?i[e]-i[t]:e>t?1:-1).filter(e=>!t[e]&&""!==e&&(t[e]=!0)).join("+")}},49055:function(e,t,i){i.d(t,{trim:function(){return o},trimChars:function(){return r},trimInv:function(){return s}});var n=i(82758);function o(e){return e.replace((0,n.SPACE_REG_EXP_END)(),"").replace((0,n.SPACE_REG_EXP_START)(),"")}function r(e,t){return e.replace(RegExp(`[${t}]+$`),"").replace(RegExp(`^[${t}]+`),"")}function s(e){return e.replace((0,n.INVISIBLE_SPACE_REG_EXP_END)(),"").replace((0,n.INVISIBLE_SPACE_REG_EXP_START)(),"")}},49155:function(e,t){t.default='<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> '},49399:function(e,t){t.default='<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> '},49759:function(e,t,i){i.r(t),t.default={symbols:"Symbolit"}},49841:function(e,t,i){i.r(t),t.default={symbols:"Szimbólum"}},49922:function(e,t){t.default='<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> '},49996:function(e,t,i){i.d(t,{FiniteStateMachine:function(){return s}});var n=i(82758),o=i(70799),r=i(38837);class s{setState(e){(0,r.assert)(!this.__previewsStates.has(e),"Circled states"),this.__previewsStates.add(e),this.__state=e}getState(){return this.__state}disableSilent(){this.silent=!1}dispatch(e,t){let i=this.transitions[this.getState()][e];if(i){let e=i.call(this,t);return(0,r.assert)(e&&e!==t,"Action should return new value"),(0,r.assert)((0,o.isString)(e.next),"Value should contain the next state"),(0,r.assert)(e.next!==this.getState(),"The new state should not be equal to the old one."),this.setState(e.next),n.IS_PROD||this.silent,e}throw Error(`invalid action: ${this.getState()}.${e.toString()}`)}constructor(e,t){this.transitions=t,this.silent=!0,this.__previewsStates=new Set,this.setState(e)}}},50050:function(e,t,i){i.d(t,{ImageEditor:function(){return S},openImageEditor:function(){return w}});var n,o=i(91907),r=i(65478),s=i(22732),a=i(4510),l=i(49055),c=i(29960),u=i(41180),d=i(76078),h=i(37790),p=i(62843),f=i(6441);i(62489);var m=i(22461),g=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};let v="jodit-image-editor",b="resize",y="crop",S=n=class e extends o.ViewComponent{className(){return"ImageEditor"}get o(){return this.options}hide(){this._dialog.close()}open(e,t){return this.j.async.promise(i=>{let n=new Date().getTime();this.image=this.j.c.element("img"),(0,d.$$)("img,.jodit-icon_loader",this.resize_box).forEach(s.Dom.safeRemove),(0,d.$$)("img,.jodit-icon_loader",this.crop_box).forEach(s.Dom.safeRemove),(0,u.css)(this.cropHandler,"background","transparent"),this.onSave=t,this.resize_box.appendChild(this.j.c.element("i",{class:"jodit-icon_loader"})),this.crop_box.appendChild(this.j.c.element("i",{class:"jodit-icon_loader"})),/\?/.test(e)?e+="&_tst="+n:e+="?_tst="+n,this.image.setAttribute("src",e),this._dialog.open();let{widthInput:o,heightInput:r}=(0,d.refs)(this.editor),a=()=>{this.isDestructed||(this.image.removeEventListener("load",a),this.naturalWidth=this.image.naturalWidth,this.naturalHeight=this.image.naturalHeight,o.value=this.naturalWidth.toString(),r.value=this.naturalHeight.toString(),this.ratio=this.naturalWidth/this.naturalHeight,this.resize_box.appendChild(this.image),this.cropImage=this.image.cloneNode(!0),this.crop_box.appendChild(this.cropImage),s.Dom.safeRemove.apply(null,(0,d.$$)(".jodit-icon_loader",this.editor)),this.activeTab===y&&this.showCrop(),this.j.e.fire(this.resizeHandler,"updatesize"),this.j.e.fire(this.cropHandler,"updatesize"),this._dialog.setPosition(),this.j.e.fire("afterImageEditor"),i(this._dialog))};this.image.addEventListener("load",a),this.image.complete&&a()})}onTitleModeClick(e){let t=e.target,i=null==t?void 0:t.parentElement;if(!i)return;(0,d.$$)(`.${v}__slider,.${v}__area`,this.editor).forEach(e=>e.classList.remove(`${v}_active`)),i.classList.add(`${v}_active`),this.activeTab=(0,c.attr)(i,"-area")||b;let n=this.editor.querySelector(`.${v}__area.${v}__area_`+this.activeTab);n&&n.classList.add(`${v}_active`),this.activeTab===y&&this.showCrop()}onChangeSizeInput(e){let t,i=e.target,{widthInput:n,heightInput:o}=(0,d.refs)(this.editor),r="widthInput"===(0,c.attr)(i,"data-ref"),s=parseInt(i.value,10),a=r?this.o.min_width:this.o.min_height,l=r?this.o.min_height:this.o.min_width;s>a&&((0,u.css)(this.image,r?"width":"height",s),this.resizeUseRatio&&(t=r?Math.round(s/this.ratio):Math.round(s*this.ratio))>l&&((0,u.css)(this.image,r?"height":"width",t),r?o.value=t.toString():n.value=t.toString())),this.j.e.fire(this.resizeHandler,"updatesize")}onResizeHandleMouseDown(e){this.target=e.target,e.preventDefault(),e.stopImmediatePropagation(),this.clicked=!0,this.start_x=e.clientX,this.start_y=e.clientY,this.activeTab===y?(this.top_x=(0,u.css)(this.cropHandler,"left"),this.top_y=(0,u.css)(this.cropHandler,"top"),this.width=this.cropHandler.offsetWidth,this.height=this.cropHandler.offsetHeight):(this.width=this.image.offsetWidth,this.height=this.image.offsetHeight),this.j.e.on(this.j.ow,"mousemove",this.onGlobalMouseMove).one(this.j.ow,"mouseup",this.onGlobalMouseUp)}onGlobalMouseUp(e){this.clicked&&(this.clicked=!1,e.stopImmediatePropagation(),this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove))}onGlobalMouseMove(e){if(!this.clicked)return;let{widthInput:t,heightInput:i}=(0,d.refs)(this.editor);this.diff_x=e.clientX-this.start_x,this.diff_y=e.clientY-this.start_y,this.activeTab===b&&this.resizeUseRatio||this.activeTab===y&&this.cropUseRatio?this.diff_x?(this.new_w=this.width+this.diff_x,this.new_h=Math.round(this.new_w/this.ratio)):(this.new_h=this.height+this.diff_y,this.new_w=Math.round(this.new_h*this.ratio)):(this.new_w=this.width+this.diff_x,this.new_h=this.height+this.diff_y),this.activeTab===b?(this.new_w>this.o.resizeMinWidth&&((0,u.css)(this.image,"width",this.new_w+"px"),t.value=this.new_w.toString()),this.new_h>this.o.resizeMinHeight&&((0,u.css)(this.image,"height",this.new_h+"px"),i.value=this.new_h.toString()),this.j.e.fire(this.resizeHandler,"updatesize")):(this.target!==this.cropHandler?(this.top_x+this.new_w>this.cropImage.offsetWidth&&(this.new_w=this.cropImage.offsetWidth-this.top_x),this.top_y+this.new_h>this.cropImage.offsetHeight&&(this.new_h=this.cropImage.offsetHeight-this.top_y),(0,u.css)(this.cropHandler,{width:this.new_w,height:this.new_h})):(this.top_x+this.diff_x+this.cropHandler.offsetWidth>this.cropImage.offsetWidth&&(this.diff_x=this.cropImage.offsetWidth-this.top_x-this.cropHandler.offsetWidth),(0,u.css)(this.cropHandler,"left",this.top_x+this.diff_x),this.top_y+this.diff_y+this.cropHandler.offsetHeight>this.cropImage.offsetHeight&&(this.diff_y=this.cropImage.offsetHeight-this.top_y-this.cropHandler.offsetHeight),(0,u.css)(this.cropHandler,"top",this.top_y+this.diff_y)),this.j.e.fire(this.cropHandler,"updatesize"))}destruct(){this.isDestructed||(this._dialog&&!this._dialog.isInDestruct&&this._dialog.destruct(),s.Dom.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,"."+v).off("."+v),super.destruct())}constructor(e){super(e),this.resizeUseRatio=!0,this.cropUseRatio=!0,this.clicked=!1,this.start_x=0,this.start_y=0,this.top_x=0,this.top_y=0,this.width=0,this.height=0,this.activeTab=b,this.naturalWidth=0,this.naturalHeight=0,this.ratio=0,this.new_h=0,this.new_w=0,this.diff_x=0,this.diff_y=0,this.cropBox={x:0,y:0,w:0,h:0},this.resizeBox={w:0,h:0},this.calcCropBox=()=>{let e=this.crop_box.parentNode,t=.8*e.offsetWidth,i=.8*e.offsetHeight,n=t,o=i,{naturalWidth:r,naturalHeight:s}=this;t>r&&i>s?(n=r,o=s):this.ratio>t/i?(n=t,o=t/r*s):(n=i/s*r,o=i),(0,u.css)(this.crop_box,{width:n,height:o})},this.showCrop=()=>{if(!this.cropImage)return;this.calcCropBox();let e=this.cropImage.offsetWidth||this.image.offsetWidth||this.image.naturalWidth;this.new_w=n.calcValueByPercent(e,this.o.cropDefaultWidth);let t=this.cropImage.offsetHeight||this.image.offsetHeight||this.image.naturalHeight;this.cropUseRatio?this.new_h=this.new_w/this.ratio:this.new_h=n.calcValueByPercent(t,this.o.cropDefaultHeight),(0,u.css)(this.cropHandler,{backgroundImage:"url("+(0,c.attr)(this.cropImage,"src")+")",width:this.new_w,height:this.new_h,left:e/2-this.new_w/2,top:t/2-this.new_h/2}),this.j.e.fire(this.cropHandler,"updatesize")},this.updateCropBox=()=>{if(!this.cropImage)return;let e=this.cropImage.offsetWidth/this.naturalWidth,t=this.cropImage.offsetHeight/this.naturalHeight;this.cropBox.x=(0,u.css)(this.cropHandler,"left")/e,this.cropBox.y=(0,u.css)(this.cropHandler,"top")/t,this.cropBox.w=this.cropHandler.offsetWidth/e,this.cropBox.h=this.cropHandler.offsetHeight/t,this.sizes.textContent=this.cropBox.w.toFixed(0)+"x"+this.cropBox.h.toFixed(0)},this.updateResizeBox=()=>{this.resizeBox.w=this.image.offsetWidth||this.naturalWidth,this.resizeBox.h=this.image.offsetHeight||this.naturalHeight},this.setHandlers=()=>{let e=this,{widthInput:t,heightInput:i}=(0,d.refs)(this.editor);e.j.e.on([e.editor.querySelector(".jodit_bottomright"),e.cropHandler],"mousedown."+v,this.onResizeHandleMouseDown).on(this.j.ow,"resize."+v,()=>{this.j.e.fire(e.resizeHandler,"updatesize"),e.showCrop(),this.j.e.fire(e.cropHandler,"updatesize")}),e.j.e.on((0,a.toArray)(this.editor.querySelectorAll(`.${v}__slider-title`)),"click",this.onTitleModeClick).on([t,i],"input",this.onChangeSizeInput);let{keepAspectRatioResize:n,keepAspectRatioCrop:o}=(0,d.refs)(this.editor);n&&n.addEventListener("change",()=>{this.resizeUseRatio=n.checked}),o&&o.addEventListener("change",()=>{this.cropUseRatio=o.checked}),e.j.e.on(e.resizeHandler,"updatesize",()=>{(0,u.css)(e.resizeHandler,{top:0,left:0,width:e.image.offsetWidth||e.naturalWidth,height:e.image.offsetHeight||e.naturalHeight}),this.updateResizeBox()}).on(e.cropHandler,"updatesize",()=>{if(!e.cropImage)return;let t=(0,u.css)(e.cropHandler,"left"),i=(0,u.css)(e.cropHandler,"top"),n=e.cropHandler.offsetWidth,o=e.cropHandler.offsetHeight;t<0&&(t=0),i<0&&(i=0),t+n>e.cropImage.offsetWidth&&(n=e.cropImage.offsetWidth-t,e.cropUseRatio&&(o=n/e.ratio)),i+o>e.cropImage.offsetHeight&&(o=e.cropImage.offsetHeight-i,e.cropUseRatio&&(n=o*e.ratio)),(0,u.css)(e.cropHandler,{width:n,height:o,left:t,top:i,backgroundPosition:-t-1+"px "+(-i-1)+"px",backgroundSize:e.cropImage.offsetWidth+"px "+e.cropImage.offsetHeight+"px"}),e.updateCropBox()}),Object.values(e.buttons).forEach(n=>{n.onAction(()=>{let o={action:e.activeTab,box:e.activeTab===b?e.resizeBox:e.cropBox};switch(n){case e.buttons.saveas:e.j.prompt("Enter new name","Save in new file",t=>{if(!(0,l.trim)(t))return e.j.alert("The name should not be empty"),!1;e.onSave(t,o,e.hide,t=>{e.j.alert(t.message)})});break;case e.buttons.save:e.onSave(void 0,o,e.hide,t=>{e.j.alert(t.message)});break;case e.buttons.reset:e.activeTab===b?((0,u.css)(e.image,{width:null,height:null}),t.value=e.naturalWidth.toString(),i.value=e.naturalHeight.toString(),e.j.e.fire(e.resizeHandler,"updatesize")):e.showCrop()}})})},this.options=e&&e.o&&e.o.imageeditor?e.o.imageeditor:f.Config.defaultOptions.imageeditor;const t=this.options;this.resizeUseRatio=t.resizeUseRatio,this.cropUseRatio=t.cropUseRatio,this.buttons={reset:(0,p.Button)(this.j,"update","Reset"),save:(0,p.Button)(this.j,"save","Save"),saveas:(0,p.Button)(this.j,{icon:{name:"save"},name:"save-as",text:"Save as ..."})},this.activeTab=t.resize?b:y,this.editor=(0,m.form)(this.j,this.options);const{resizeBox:i,cropBox:o}=(0,d.refs)(this.editor);this.resize_box=i,this.crop_box=o,this.sizes=this.editor.querySelector(`.${v}__area.${v}__area_crop .jodit-image-editor__sizes`),this.resizeHandler=this.editor.querySelector(`.${v}__resizer`),this.cropHandler=this.editor.querySelector(`.${v}__croper`),this._dialog=this.j.dlg({buttons:["fullsize","dialog.close"]}),this._dialog.setContent(this.editor),this._dialog.setSize(this.o.width,this.o.height),this._dialog.setHeader([this.buttons.reset,this.buttons.save,this.buttons.saveas]),this.setHandlers()}};function w(e,t,i,n,o,r){return this.getInstance("ImageEditor",this.o).open(e,(e,s,a,l)=>(0,h.call)("resize"===s.action?this.dataProvider.resize:this.dataProvider.crop,i,n,t,e,s.box).then(e=>{e&&(a(),o&&o("string"==typeof e?e:void 0))}).catch(e=>{l(e),r&&r(e)}))}S.calcValueByPercent=(e,t)=>{let i,n=t.toString(),o=parseFloat(e.toString());return(i=/^[-+]?[0-9]+(px)?$/.exec(n))?parseInt(n,10):(i=/^([-+]?[0-9.]+)%$/.exec(n))?Math.round(o*(parseFloat(i[1])/100)):o||0},g([r.autobind],S.prototype,"hide",null),g([r.autobind],S.prototype,"open",null),g([r.autobind],S.prototype,"onTitleModeClick",null),g([(0,r.debounce)(),r.autobind],S.prototype,"onChangeSizeInput",null),g([r.autobind],S.prototype,"onResizeHandleMouseDown",null),g([r.autobind],S.prototype,"onGlobalMouseUp",null),g([(0,r.throttle)(10)],S.prototype,"onGlobalMouseMove",null),S=n=g([r.component],S)},50267:function(e,t){t.default='<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> '},50373:function(e,t,i){i.d(t,{processOldBrowserDrag:function(){return c}});var n=i(82758),o=i(22732),r=i(580),s=i(21537),a=i(74569),l=i(80020);function c(e,t,i,c,u){if(t&&(!t.types.length||t.types[0]!==n.TEXT_PLAIN)){let t=e.j.c.div("",{tabindex:-1,style:"left: -9999px; top: 0; width: 0; height: 100%;line-height: 140%; overflow: hidden; position: fixed; z-index: 2147483647; word-break: break-all;",contenteditable:!0});(0,r.getContainer)(e.j,e.constructor).appendChild(t);let n=(0,s.isJoditObject)(e.j)?e.j.s.save():null;t.focus(),e.j.async.setTimeout(()=>{let r=t.firstChild;if(o.Dom.safeRemove(t),r&&r.hasAttribute("src")){let t=(0,s.attr)(r,"src")||"";n&&(0,s.isJoditObject)(e.j)&&e.j.s.restore(),(0,l.sendFiles)(e,[(0,a.dataURItoBlob)(t)],i,c).finally(u)}},e.j.defaultTimeout)}}},50535:function(e,t,i){i.d(t,{LimitedStack:function(){return n}});class n{push(e){return this.stack.push(e),this.stack.length>this.limit&&this.stack.shift(),this}pop(){return this.stack.pop()}find(e){return this.stack.find(e)}constructor(e){this.limit=e,this.stack=[]}}},50911:function(e,t,i){i.d(t,{Plugin:function(){return n.Plugin}});var n=i(20356);i(41876)},50963:function(e,t,i){var n=i(6441);n.Config.prototype.iframeBaseUrl="",n.Config.prototype.iframeTitle="Jodit Editor",n.Config.prototype.iframeDoctype="<!DOCTYPE html>",n.Config.prototype.iframeDefaultSrc="about:blank",n.Config.prototype.iframeStyle='html{margin:0;padding:0;min-height: 100%;}body{box-sizing:border-box;font-size:13px;line-height:1.6;padding:10px;margin:0;background:transparent;color:#000;position:relative;z-index:2;user-select:auto;margin:0px;overflow:auto;outline:none;}table{width:100%;border:none;border-collapse:collapse;empty-cells: show;max-width: 100%;}th,td{padding: 2px 5px;border:1px solid #ccc;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}p{margin-top:0;}.jodit_editor .jodit_iframe_wrapper{display: block;clear: both;user-select: none;position: relative;}.jodit_editor .jodit_iframe_wrapper:after {position:absolute;content:"";z-index:1;top:0;left:0;right: 0;bottom: 0;cursor: pointer;display: block;background: rgba(0, 0, 0, 0);} .jodit_disabled{user-select: none;-o-user-select: none;-moz-user-select: none;-khtml-user-select: none;-webkit-user-select: none;-ms-user-select: none}',n.Config.prototype.iframeCSSLinks=[],n.Config.prototype.iframeSandbox=null},51036:function(e,t){t.default='<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> '},51586:function(e,t,i){i.d(t,{applyStylesPro:function(){return l}});var n=i(19606),o=i(2748),r=i(29960),s=i(76078),a=i(97420);function l(e,t,i,c=""){let u=document.createElement("iframe");u.style.display="none",document.body.appendChild(u);try{let o=u.contentDocument??u.contentWindow?.document;if(!o)return t;o.open(),o.write(t),o.close();let l="jd-style";for(let e=0;e<o.styleSheets.length;e+=1)try{let t=o.styleSheets[e].cssRules;for(let e=0;e<t.length;e+=1)t[e].selectorText&&(0,s.$$)(t[e].selectorText,o.body).forEach(i=>{(0,r.attr)(i,l)||((0,r.attr)(i,l,(0,r.attr)(i,"style")||""),(0,r.attr)(i,"style","")),(0,r.attr)(i,"style",`${(0,r.attr)(i,"style")};${t[e].style.cssText}`)})}catch(e){}return(0,s.$$)(`[${l}]`,o.body).forEach(e=>{(0,r.attr)(e,"style",`${(0,r.attr)(e,"style")};${(0,r.attr)(e,l)}`)}),(0,n.transformWordToHtml)(e,a.JElement.make(o.body),i,c)}finally{o.Dom.safeRemove(u)}}},51642:function(e,t,i){i.d(t,{readAlign:function(){return o}});var n=i(41180);function o(e,t){e.style.cssFloat&&-1!==["left","right"].indexOf(e.style.cssFloat.toLowerCase())?t.align=(0,n.css)(e,"float"):"block"===(0,n.css)(e,"display")&&"auto"===e.style.marginLeft&&"auto"===e.style.marginRight?t.align="center":t.align=""}},51804:function(e,t,i){i.r(t),t.default={symbols:"symbool"}},51834:function(e,t,i){i.r(t),t.default={"Line height":"Altezza linea"}},51855:function(e,t){t.default='<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> '},52230:function(e,t){t.default={"copy-format":"복사 형식"}},52285:function(e,t){t.default={"copy-format":"کپی کردن قالب"}},52507:function(e,t){t.default='<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> '},52604:function(e,t,i){i.d(t,{Snapshot:function(){return s}});var n=i(91907),o=i(82758),r=i(2748);class s extends n.ViewComponent{className(){return"Snapshot"}static equal(e,t){return e.html===t.html&&JSON.stringify(e.range)===JSON.stringify(t.range)}static countNodesBeforeInParent(e){if(!e.parentNode)return 0;let t=e.parentNode.childNodes,i=0,n=null;for(let o=0;o<t.length;o+=1){if(!n||this.isIgnoredNode(t[o])||r.Dom.isText(n)&&r.Dom.isText(t[o])||(i+=1),t[o]===e)return i;n=t[o]}return 0}static strokeOffset(e,t){for(;r.Dom.isText(e);)e=e.previousSibling,r.Dom.isText(e)&&e.nodeValue&&(t+=e.nodeValue.length);return t}calcHierarchyLadder(e){let t=[];if(!e||!e.parentNode||!r.Dom.isOrContains(this.j.editor,e))return[];for(;e&&e!==this.j.editor;)e&&!s.isIgnoredNode(e)&&t.push(s.countNodesBeforeInParent(e)),e=e.parentNode;return t.reverse()}getElementByLadder(e){let t=this.j.editor,i;for(i=0;t&&i<e.length;i+=1)t=t.childNodes[e[i]];return t}get isBlocked(){return this.__isBlocked}__block(e){this.__isBlocked=e}transaction(e){this.__block(!0),this.__levelOfTransaction+=1;try{e()}catch(e){if(!o.IS_PROD)throw e}finally{this.__levelOfTransaction-=1,0===this.__levelOfTransaction&&this.__block(!1)}}make(){let e={html:"",range:{startContainer:[],startOffset:0,endContainer:[],endOffset:0}};e.html=this.__getCleanedEditorValue(this.j.editor);let t=this.j.s.sel;if(t&&t.rangeCount){let i=t.getRangeAt(0),n=this.calcHierarchyLadder(i.startContainer),o=this.calcHierarchyLadder(i.endContainer),r=s.strokeOffset(i.startContainer,i.startOffset),a=s.strokeOffset(i.endContainer,i.endOffset);n.length||i.startContainer===this.j.editor||(r=0),o.length||i.endContainer===this.j.editor||(a=0),e.range={startContainer:n,startOffset:r,endContainer:o,endOffset:a}}return e}restore(e){this.transaction(()=>{let t=this.storeScrollState();this.__getCleanedEditorValue(this.j.editor)!==e.html&&(this.j.value=e.html),this.restoreOnlySelection(e),this.restoreScrollState(t)})}storeScrollState(){return[this.j.ow.scrollY,this.j.editor.scrollTop]}restoreScrollState(e){let{j:t}=this,{ow:i}=t;i.scrollTo(i.scrollX,e[0]),t.editor.scrollTop=e[1]}restoreOnlySelection(e){try{if(e.range){let 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),o.IS_PROD}}destruct(){this.__block(!1),super.destruct()}static isIgnoredNode(e){return r.Dom.isText(e)&&!e.nodeValue||r.Dom.isTemporary(e)}__getCleanedEditorValue(e){let t=e.cloneNode(!0);return r.Dom.temporaryList(t).forEach(r.Dom.unwrap),t.innerHTML}constructor(){super(...arguments),this.__isBlocked=!1,this.__levelOfTransaction=0}}},52742:function(e,t,i){i.d(t,{isWindow:function(){return n}});function n(e){return null!=e&&e===e.window}},52951:function(e,t,i){var n=i(82758),o=i(65478),r=i(2748),s=i(580),a=i(21537),l=i(50911);i(36204);var c=i(70022),u=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};class d extends l.Plugin{onInsertHTML(e){var t;if(!this.j.o.readonly&&!this.j.isEditorMode())return null==(t=this.sourceEditor)||t.insertRaw(e),this.toWYSIWYG(),!1}fromWYSIWYG(e=!1){if(!this.__lock||!0===e){this.__lock=!0;let e=this.j.getEditorValue(!1,n.SOURCE_CONSUMER);e!==this.getMirrorValue()&&this.setMirrorValue(e),this.__lock=!1}}toWYSIWYG(){if(this.__lock)return;let e=this.getMirrorValue();e!==this.__oldMirrorValue&&(this.__lock=!0,this.j.value=e,this.__lock=!1,this.__oldMirrorValue=e)}getNormalPosition(e,t){for(t=t.replace(/<(script|style|iframe)[^>]*>[^]*?<\/\1>/im,e=>{let t="";for(let i=0;i<e.length;i+=1)t+=n.INVISIBLE_SPACE;return t});e>0&&t[e]===n.INVISIBLE_SPACE;)e--;let i=e;for(;i>0;){if("<"===t[--i]&&void 0!==t[i+1]&&t[i+1].match(/[\w/]+/i))return i;if(">"===t[i])break}return e}clnInv(e){return e.replace(n.INVISIBLE_SPACE_REG_EXP(),"")}onSelectAll(e){var t;if("selectall"===e.toLowerCase()&&this.j.getRealMode()===n.MODE_SOURCE)return null==(t=this.sourceEditor)||t.selectAll(),!1}getMirrorValue(){var e;return(null==(e=this.sourceEditor)?void 0:e.getValue())||""}setMirrorValue(e){var t;null==(t=this.sourceEditor)||t.setValue(e)}setFocusToMirror(){var e;null==(e=this.sourceEditor)||e.focus()}saveSelection(){if(this.j.getRealMode()===n.MODE_WYSIWYG)this.j.s.save(),this.j.synchronizeValues(),this.fromWYSIWYG(!0);else{if(this.j.o.editHTMLDocumentMode)return;let e=this.getMirrorValue();if(this.getSelectionStart()===this.getSelectionEnd()){let t=this.j.s.marker(!0),i=this.getNormalPosition(this.getSelectionStart(),this.getMirrorValue());this.setMirrorValue(e.substring(0,i)+this.clnInv(t.outerHTML)+e.substring(i))}else{let t=this.j.s.marker(!0),i=this.j.s.marker(!1),n=this.getNormalPosition(this.getSelectionStart(),e),o=this.getNormalPosition(this.getSelectionEnd(),e);this.setMirrorValue(e.slice(0,n)+this.clnInv(t.outerHTML)+e.slice(n,o)+this.clnInv(i.outerHTML)+e.slice(o))}this.toWYSIWYG()}}removeSelection(){if(this.j.getRealMode()===n.MODE_WYSIWYG){this.__lock=!0,this.j.s.restore(),this.__lock=!1;return}let e=this.getMirrorValue(),t=0,i=0;try{if(e=e.replace(/<span[^>]+data-jodit-selection_marker=(["'])start\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerStart).replace(/<span[^>]+data-jodit-selection_marker=(["'])end\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerEnd),!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){let t=this.j.e.fire("beautifyHTML",e);(0,a.isString)(t)&&(e=t)}if(i=t=e.indexOf(this.tempMarkerStart),e=e.replace(this.tempMarkerStartReg,""),-1!==t){let t=e.indexOf(this.tempMarkerEnd);-1!==t&&(i=t)}e=e.replace(this.tempMarkerEndReg,"")}finally{e=e.replace(this.tempMarkerEndReg,"").replace(this.tempMarkerStartReg,"")}this.setMirrorValue(e),this.setMirrorSelectionRange(t,i),this.toWYSIWYG(),this.setFocusToMirror()}setMirrorSelectionRange(e,t){var i;null==(i=this.sourceEditor)||i.setSelectionRange(e,t)}onReadonlyReact(){var e;null==(e=this.sourceEditor)||e.setReadOnly(this.j.o.readonly)}afterInit(e){if(this.mirrorContainer=e.c.div("jodit-source"),e.workplace.appendChild(this.mirrorContainer),e.e.on("afterAddPlace changePlace afterInit",()=>{e.workplace.appendChild(this.mirrorContainer)}),this.sourceEditor=(0,c.createSourceEditor)("area",e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG),e.e.on(e.ow,"keydown",e=>{var t;e.key===n.KEY_ESC&&(null==(t=this.sourceEditor)?void 0:t.isFocused)&&this.sourceEditor.blur()}),this.onReadonlyReact(),e.e.on("placeholder.source",e=>{var t;null==(t=this.sourceEditor)||t.setPlaceHolder(e)}).on("change.source",this.syncValueFromWYSIWYG).on("beautifyHTML",e=>e),e.o.beautifyHTML){let t=()=>{var t;if(e.isInDestruct)return!1;let i=e.ow.html_beautify;return!!i&&!e.isInDestruct&&(null==(t=e.events)||t.off("beautifyHTML").on("beautifyHTML",e=>i(e)),!0)};t()||(0,a.loadNext)(e,e.o.beautifyHTMLCDNUrlsJS).then(t,()=>null)}this.syncValueFromWYSIWYG(!0),this.initSourceEditor(e)}syncValueFromWYSIWYG(e=!1){let t=this.j;(t.getMode()===n.MODE_SPLIT||t.getMode()===n.MODE_SOURCE)&&this.fromWYSIWYG(e)}initSourceEditor(e){var t;if("area"!==e.o.sourceEditor){let t=(0,c.createSourceEditor)(e.o.sourceEditor,e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG);t.onReadyAlways(()=>{var i,n;null==(i=this.sourceEditor)||i.destruct(),this.sourceEditor=t,this.syncValueFromWYSIWYG(!0),null==(n=e.events)||n.fire("sourceEditorReady",e)})}else null==(t=this.sourceEditor)||t.onReadyAlways(()=>{var t;this.syncValueFromWYSIWYG(!0),null==(t=e.events)||t.fire("sourceEditorReady",e)})}beforeDestruct(){this.sourceEditor&&(this.sourceEditor.destruct(),delete this.sourceEditor),r.Dom.safeRemove(this.mirrorContainer)}constructor(){super(...arguments),this.buttons=[{name:"source",group:"source"}],this.__lock=!1,this.__oldMirrorValue="",this.tempMarkerStart="{start-jodit-selection}",this.tempMarkerStartReg=/{start-jodit-selection}/g,this.tempMarkerEnd="{end-jodit-selection}",this.tempMarkerEndReg=/{end-jodit-selection}/g,this.getSelectionStart=()=>{var e,t;return null!=(t=null==(e=this.sourceEditor)?void 0:e.getSelectionStart())?t:0},this.getSelectionEnd=()=>{var e,t;return null!=(t=null==(e=this.sourceEditor)?void 0:e.getSelectionEnd())?t:0}}}u([(0,o.watch)(":insertHTML.source")],d.prototype,"onInsertHTML",null),u([o.autobind],d.prototype,"fromWYSIWYG",null),u([o.autobind],d.prototype,"toWYSIWYG",null),u([o.autobind],d.prototype,"getNormalPosition",null),u([(0,o.watch)(":beforeCommand.source")],d.prototype,"onSelectAll",null),u([(0,o.watch)(":beforeSetMode.source")],d.prototype,"saveSelection",null),u([(0,o.watch)(":afterSetMode.source")],d.prototype,"removeSelection",null),u([o.autobind],d.prototype,"setMirrorSelectionRange",null),u([(0,o.watch)(":readonly.source")],d.prototype,"onReadonlyReact",null),u([o.autobind],d.prototype,"syncValueFromWYSIWYG",null),s.pluginSystem.add("source",d)},52968:function(e,t,i){i.d(t,{AceEditor:function(){return n.AceEditor},TextAreaEditor:function(){return o.TextAreaEditor}});var n=i(60031),o=i(7483)},52995:function(e,t){t.default={"Type something":"Begin met typen..",Advanced:"Geavanceerd","About Jodit":"Over Jodit","Jodit Editor":"Jodit Editor","Free Non-commercial Version":"Gratis niet-commerciële versie","Jodit User's Guide":"Jodit gebruikershandleiding","contains detailed help for using":"bevat gedetailleerde informatie voor gebruik.","For information about the license, please go to our website:":"Voor informatie over de licentie, ga naar onze website:","Buy full version":"Volledige versie kopen","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Alle rechten voorbehouden.",Anchor:"Anker","Open in new tab":"Open in nieuwe tab","Open 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",Background:"Achtergrond",Text:"Tekst",Top:"Boven",Middle:"Midden",Bottom:"Onder","Insert column before":"Kolom invoegen (voor)","Insert column after":"Kolom invoegen (na)","Insert row above":"Rij invoegen (boven)","Insert row below":"Rij invoegen (onder)","Delete table":"Tabel verwijderen","Delete row":"Rij verwijderen","Delete column":"Kolom verwijderen","Empty cell":"Cel leegmaken",Delete:"Verwijderen","Strike through":"Doorstrepen",Underline:"Onderstrepen",Break:"Enter","Search for":"Zoek naar","Replace with":"Vervangen door",Replace:"Vervangen",Edit:"Bewerken","Vertical align":"Verticaal uitlijnen","Horizontal align":"Horizontaal uitlijnen",Filter:"Filteren","Sort by changed":"Sorteren op wijzigingsdatum","Sort by name":"Sorteren op naam","Sort by size":"Sorteren op grootte","Add folder":"Map toevoegen",Split:"Splitsen","Split vertical":"Verticaal splitsen","Split horizontal":"Horizontaal splitsen",Merge:"Samenvoegen","Add column":"Kolom toevoegen","Add row":"Rij toevoegen",Border:"Rand","Embed code":"Embed code",Update:"Updaten",superscript:"Superscript",subscript:"Subscript","Cut selection":"Selectie knippen",Paste:"Plakken","Choose Content to Paste":"Kies content om te plakken","Chars: %d":"Tekens: %d","Words: %d":"Woorden: %d",All:"Alles","Select %s":"Selecteer: %s","Select all":"Selecteer alles",source:"Broncode",bold:"vet",italic:"cursief",brush:"kwast",link:"link",undo:"ongedaan maken",redo:"opnieuw",table:"tabel",image:"afbeelding",eraser:"gum",paragraph:"paragraaf",fontsize:"lettergrootte",video:"video",font:"lettertype",about:"over",print:"afdrukken",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üploadet!",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ëren",copy:"kopiëren","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"}},53212:function(e,t,i){i.d(t,{cleanFromWord:function(){return a}});var n=i(82758),o=i(2748),r=i(4510),s=i(49055);function a(e){-1!==e.indexOf("<html ")&&(e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,e.lastIndexOf("</html>")+7));let t="";try{let i=n.globalDocument.createElement("div");i.innerHTML=e;let s=[];i.firstChild&&o.Dom.each(i,e=>{if(e)switch(e.nodeType){case Node.ELEMENT_NODE:switch(e.nodeName){case"STYLE":case"LINK":case"META":s.push(e);break;case"W:SDT":case"W:SDTPR":case"FONT":o.Dom.unwrap(e);break;default:(0,r.toArray)(e.attributes).forEach(t=>{-1===["src","href","rel","content"].indexOf(t.name.toLowerCase())&&e.removeAttribute(t.name)})}break;case Node.TEXT_NODE:break;default:s.push(e)}}),o.Dom.safeRemove.apply(null,s),t=i.innerHTML}catch(e){}return t&&(e=t),(e=e.split(/(\n)/).filter(s.trim).join(`
@@ -235,7 +235,7 @@
235
235
  ${i("contains detailed help for using")}
236
236
  </div>
237
237
  <div>${i("Copyright © XDSoft.net - Chupurnov Valerii. All rights reserved.")}</div>
238
- </div>`),(0,r.css)(t.dialog,{minHeight:200,minWidth:420}),t.open(!0,!0)},tooltip:"About Jodit",mode:n.MODE_SOURCE+n.MODE_WYSIWYG},o.pluginSystem.add("about",function(e){e.registerButton({name:"about",group:"info"})}),s.Icon.set("about",l.default)},73674:function(e,t,i){var n=i(6441);n.Config.prototype.controls.subscript={tags:["sub"],tooltip:"subscript"},n.Config.prototype.controls.superscript={tags:["sup"],tooltip:"superscript"},n.Config.prototype.controls.bold={tagRegExp:/^(strong|b)$/i,tags:["strong","b"],css:{"font-weight":["bold","700"]},tooltip:"Bold"},n.Config.prototype.controls.italic={tagRegExp:/^(em|i)$/i,tags:["em","i"],css:{"font-style":"italic"},tooltip:"Italic"},n.Config.prototype.controls.underline={tagRegExp:/^(u)$/i,tags:["u"],css:{"text-decoration-line":"underline"},tooltip:"Underline"},n.Config.prototype.controls.strikethrough={tagRegExp:/^(s)$/i,tags:["s"],css:{"text-decoration-line":"line-through"},tooltip:"Strike through"}},73792:function(e,t,i){i.d(t,{checkRemoveChar:function(){return function e(t,i,s,l){var c,u,d,h;let p,f=s?-1:1,m=o.Dom.sibling(i,!s),g=o.Dom.sibling(i,s),v=null,b=!1;for(g||(g=a(i,s,t.editor));g&&(o.Dom.isText(g)||o.Dom.isInlineBlock(g));){for(;o.Dom.isInlineBlock(g);)g=s?null==g?void 0:g.lastChild:null==g?void 0:g.firstChild;if(!g)break;if((null==(c=g.nodeValue)?void 0:c.length)&&(p=function(e,t,i,s){let a=(0,r.toArray)(e.nodeValue),l=a.length,c=t?l-1:0;if(a[c]===n.INVISIBLE_SPACE)for(;a[c]===n.INVISIBLE_SPACE;)c+=i;let u=a[c];if(a[c+i]===n.INVISIBLE_SPACE){for(c+=i;a[c]===n.INVISIBLE_SPACE;)c+=i;c+=t?1:-1}return a=t&&c<0?[]:a.slice(t?0:c+1,t?c:l),function(e,t,i){var s;if(!e||!o.Dom.isText(e)||(!t?/ $/:/^ /).test(null!=(s=e.nodeValue)?s:"")||!(0,r.trimInv)(e.nodeValue||"").length)for(let e=t?i.length-1:0;t?e>=0:e<i.length;e+=t?-1:1)if(" "===i[e])i[e]=n.NBSP_SPACE;else break}(s,t,a),e.nodeValue=a.join(""),u}(g,s,f,m),!g.nodeValue.length&&o.Dom.isInlineBlock(g.parentNode)&&(g.nodeValue=n.INVISIBLE_SPACE)),(null==(u=g.nodeValue)?void 0:u.length)||(v=g),!(0,r.isVoid)(p)&&p!==n.INVISIBLE_SPACE){d=g,h=p,(0,r.call)(s?o.Dom.after:o.Dom.before,d,i),("sentence"===l||"word"===l&&" "!==h&&h!==n.NBSP_SPACE)&&e(t,i,s,l),b=!0;break}let y=a(g,s,t.editor);v&&(o.Dom.safeRemove(v),v=null),g=y}return v&&(o.Dom.safeRemove(v),v=null),b&&(function(e){let t=e.parentElement;for(;t&&o.Dom.isInlineBlock(t)&&o.Dom.isTag(t,"a");){let i=t.parentElement;o.Dom.isEmpty(t)&&(o.Dom.after(t,e),o.Dom.safeRemove(t)),t=i}}(i),i.parentElement!==t.editor&&o.Dom.isBlock(i.parentElement)&&o.Dom.each(i.parentElement,o.Dom.isEmptyTextNode)&&o.Dom.after(i,t.createInside.element("br")),t.s.setCursorBefore(i),o.Dom.isTag(i.previousSibling,"br")&&!o.Dom.findNotEmptySibling(i,!1)&&o.Dom.after(i,t.createInside.element("br"))),b}}});var n=i(82758),o=i(22732),r=i(21537),s=i(63785);function a(e,t,i){let n=o.Dom.sibling(e,t);return!n&&e.parentNode&&e.parentNode!==i&&(n=(0,s.findMostNestedNeighbor)(e,!t,i,!0)),n}},73948:function(e,t,i){i.d(t,{nativeListeners:function(){return c}});var n=i(29960),o=i(15456),r=i(41457),s=i(32118),a=i(21735),l=i(20201);function c(){let e=!1,t=(0,s.elementsMap)(this),i=this;i.e.on(i.tree.container,"dragstart",t=>{let n=(0,a.getItem)(t.target,i.container);n&&i.o.moveFolder&&(e=n)}).on(i.tree.container,"drop",t=>{if((i.o.moveFile||i.o.moveFolder)&&e){let o=(0,n.attr)(e,"-path")||"";if(!i.o.moveFolder&&e.classList.contains(this.tree.getFullElName("item"))||e.classList.contains(this.files.getFullElName("item"))&&(o+=(0,n.attr)(e,"-name"),!i.o.moveFile))return!1;let r=(0,a.getItem)(t.target,i.container);r&&(i.dataProvider.move(o,(0,n.attr)(r,"-path")||"",(0,n.attr)(r,"-source")||"",e.classList.contains(this.files.getFullElName("item"))).then(()=>(0,l.loadTree)(this)).catch(i.status),e=!1)}}).on(i.files.container,"contextmenu",(0,r.default)(i)).on(i.files.container,"click",e=>{(0,o.ctrlKey)(e)||(this.state.activeElements=[])}).on(i.files.container,"click",e=>{let n=(0,a.getItem)(e.target,i.container);if(!n)return;let r=(0,a.elementToItem)(n,t);if(r)return(0,o.ctrlKey)(e)?i.state.activeElements=[...i.state.activeElements,r]:i.state.activeElements=[r],e.stopPropagation(),!1}).on(i.files.container,"dragstart",t=>{if(i.o.moveFile){let n=(0,a.getItem)(t.target,i.container);n&&(e=n)}}).on(i.container,"drop",e=>e.preventDefault())}},74551:function(e,t){t.default={"copy-format":"Format kopierenт"}},74569:function(e,t,i){i.d(t,{dataURItoBlob:function(){return n}});function n(e){let t=atob(e.split(",")[1]),i=e.split(",")[0].split(":")[1].split(";")[0],n=new Uint8Array(new ArrayBuffer(t.length));for(let e=0;e<t.length;e+=1)n[e]=t.charCodeAt(e);return new Blob([n.buffer],{type:i})}},75259:function(e,t){t.default='<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> '},75275:function(e,t,i){i.d(t,{applyStyles:function(){return n.applyStyles},cleanFromWord:function(){return o.cleanFromWord},htmlspecialchars:function(){return r.htmlspecialchars},nl2br:function(){return s.nl2br},safeHTML:function(){return a.safeHTML},sanitizeHTMLElement:function(){return a.sanitizeHTMLElement},stripTags:function(){return l.stripTags}});var n=i(32574),o=i(53212),r=i(53326),s=i(45971),a=i(86518),l=i(91003)},75330:function(e,t,i){i.d(t,{FileBrowser:function(){return _}});var n=i(91907),o=i(82758),r=i(65478),s=i(37133),a=i(3827),l=i(21537),c=i(12081),u=i(70231),d=i(84075),h=i(6441);i(61251);var p=i(30465),f=i(20201),m=i(73948),g=i(33281),v=i(94538),b=i(11787),y=i(63399),S=i(8172),w=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};let _=class e extends d.ViewWithToolbar{className(){return"FileBrowser"}get dataProvider(){return(0,y.makeDataProvider)(this,this.options)}onSelect(e){return()=>{if(this.state.activeElements.length){let t=[],i=[];this.state.activeElements.forEach(e=>{let n=e.fileURL;n&&(t.push(n),i.push(e.isImage||!1))}),this.close(),(0,l.isFunction)(e)&&e({baseurl:"",files:t,isImages:i}),this.close()}return!1}}get _dialog(){var e;let t=this.dlg({minWidth:Math.min(700,screen.width),minHeight:300,buttons:null!=(e=this.o.headerButtons)?e:["fullsize","dialog.close"]});return["beforeClose","afterClose","beforeOpen"].forEach(e=>t.events.on(t,e,()=>this.e.fire(e))),t.setSize(this.o.width,this.o.height),t}get storage(){return c.Storage.makeStorage(!!this.o.saveStateInStorage,this.componentName)}get isOpened(){return this._dialog.isOpened&&"none"!==this.browser.style.display}status(e,t){!e||(0,l.isAbortError)(e)||((0,l.isString)(e)||(e=e.message),(0,l.isString)(e)&&(0,l.trim)(e).length&&this.message.message(e,t?"success":"error",this.o.howLongShowMsg))}open(e=this.o.defaultCallback,t=!1){return this.state.onlyImages=t,this.async.promise((t,i)=>{var n;if(!this.o.items||!this.o.items.url)throw(0,l.error)("Need set options.filebrowser.ajax.url");let r=0;this.e.off(this.files.container,"dblclick").on(this.files.container,"dblclick",this.onSelect(e)).on(this.files.container,"touchstart",()=>{let t=new Date().getTime();t-r<o.EMULATE_DBLCLICK_TIMEOUT&&this.onSelect(e)(),r=t}).off("select.filebrowser").on("select.filebrowser",this.onSelect(e));let s=this.c.div();null==(n=this.toolbar)||n.appendTo(s),this.__updateToolbarButtons(),this._dialog.open(this.browser,s),this.e.fire("sort.filebrowser",this.state.sortBy),(0,f.loadTree)(this).then(t,i).finally(()=>{var e;this.isInDestruct||null==(e=this===null||void 0===this?void 0:this.e)||e.fire("fileBrowserReady.filebrowser")})}).catch(e=>{if(!(0,l.isAbortError)(e)&&!o.IS_PROD)throw e})}__getButtons(){var e;return(null!=(e=this.o.buttons)?e:[]).filter(e=>{if(!(0,l.isString)(e))return!0;switch(e){case"filebrowser.upload":return this.dataProvider.canI("FileUpload");case"filebrowser.edit":return this.dataProvider.canI("ImageResize")||this.dataProvider.canI("ImageCrop");case"filebrowser.remove":return this.dataProvider.canI("FileRemove")}return!0})}initUploader(e){var t;let i=this,n=null==(t=null==e?void 0:e.options)?void 0:t.uploader,o=(0,l.ConfigProto)(n||{},h.Config.defaultOptions.uploader),r=()=>(0,p.loadItems)(this);i.uploader=i.getInstance("Uploader",o),i.uploader.setPath(i.state.currentPath).setSource(i.state.currentSource).bind(i.browser,r,i.errorHandler),this.state.on(["change.currentPath","change.currentSource"],()=>{this.uploader.setPath(this.state.currentPath).setSource(this.state.currentSource)}),i.e.on("bindUploader.filebrowser",e=>{i.uploader.bind(e,r,i.errorHandler)})}destruct(){var e;!this.isInDestruct&&(null==(e=(0,r.cached)(this,"_dialog"))||e.destruct(),super.destruct(),this.events&&this.e.off(".filebrowser"),this.uploader&&this.uploader.destruct())}__updateToolbarButtons(){var e;let t=this.__getButtons();!function(e,t){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++)if(e[i]!==t[i])return!1;return!0}(this.__prevButtons,t)&&(this.__prevButtons=t,null==(e=this.toolbar)||e.build(t))}constructor(e){super(e),this.browser=this.c.div(this.componentName),this.status_line=this.c.div(this.getFullElName("status")),this.tree=new S.FileBrowserTree(this),this.files=new S.FileBrowserFiles(this),this.state=(0,a.observable)({currentPath:"",currentSource:b.DEFAULT_SOURCE_NAME,currentBaseUrl:"",activeElements:[],elements:[],sources:[],view:"tiles",sortBy:"changed-desc",filterWord:"",onlyImages:!1}),this.errorHandler=e=>{(0,l.isAbortError)(e)||(e instanceof Error?this.status(this.i18n(e.message)):this.status(this.dataProvider.getMessage(e)))},this.close=()=>{this._dialog.close()},this.__prevButtons=[],this.attachEvents(e),this.options=(0,l.ConfigProto)(e||{},h.Config.defaultOptions.filebrowser),this.browser.component=this,this.container=this.browser,this.o.showFoldersPanel&&this.browser.appendChild(this.tree.container),this.browser.appendChild(this.files.container),this.browser.appendChild(this.status_line),g.selfListeners.call(this),m.nativeListeners.call(this),v.stateListeners.call(this),["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRename","folderRename","fileRemove","folderRemove","folder","items","permissions"].forEach(e=>{null!=this.options[e]&&(this.options[e]=(0,l.ConfigProto)(this.options[e],this.o.ajax))});const{storeView:t,storeSortBy:i,storeLastOpenedFolder:o}=this.o.saveStateInStorage||{storeLastOpenedFolder:!1,storeView:!1,storeSortBy:!1},r=t&&this.storage.get("view");r&&null==this.o.view?this.state.view="list"===r?"list":"tiles":this.state.view="list"===this.o.view?"list":"tiles",this.files.setMod("view",this.state.view);const s=i&&this.storage.get("sortBy");if(s){const e=s.split("-");this.state.sortBy=["changed","name","size"].includes(e[0])?s:"changed-desc"}else this.state.sortBy=this.o.sortBy||"changed-desc";if(o){const e=this.storage.get("currentPath"),t=this.storage.get("currentSource");this.state.currentPath=null!=e?e:"",this.state.currentSource=null!=t?t:""}this.initUploader(this),this.setStatus(n.STATUSES.ready)}};w([r.cache],_.prototype,"dataProvider",null),w([r.cache],_.prototype,"_dialog",null),w([r.cache],_.prototype,"storage",null),w([r.autobind],_.prototype,"status",null),w([r.autobind],_.prototype,"open",null),w([(0,s.watch)("dataProvider:changePermissions")],_.prototype,"__updateToolbarButtons",null),_=w([(0,r.derive)(u.Dlgs)],_)},75393:function(e,t){t.default='<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> '},75445:function(e,t){t.default={}},75595:function(e,t,i){i.d(t,{readLink:function(){return r}});var n=i(2748),o=i(29960);function r(e,t,i){let r=n.Dom.closest(e.sourceImage,"a",t.editor);r?(i.imageLink=(0,o.attr)(r,"href")||"",i.imageLinkOpenInNewTab="_blank"===(0,o.attr)(r,"target")):(i.imageLink="",i.imageLinkOpenInNewTab=!1)}},75703:function(e,t,i){i.r(t),t.default={symbols:"سمبل"}},75882:function(e,t,i){i.d(t,{unwrapChildren:function(){return a}});var n=i(2748),o=i(43555),r=i(22030),s=i(97380);function a(e,t){var i;let a,l=[],c=[],u=null==(i=e.options.attributes)?void 0:i.style;if(t.firstChild){let i=n.Dom.eachGen(t),d=i.next();for(;!d.done;){let t=d.value;(0,s.isSuitElement)(e,t,!0)&&(!u||(0,r.hasSameStyleKeys)(t,u))?(void 0===a&&(a=!0),l.push(t)):u&&(0,s.isSameStyleChild)(e,t)?(void 0===a&&(a=!1),c.push(()=>{(0,o.css)(t,Object.keys(u).reduce((e,t)=>(e[t]=null,e),{})),(0,o.attr)(t,"style")||(0,o.attr)(t,"style",null),(0,o.attr)(t,"style")||t.nodeName.toLowerCase()!==e.element||l.push(t)})):n.Dom.isEmptyTextNode(t)||void 0!==a||(a=!1),d=i.next()}}return c.forEach(e=>e()),l.forEach(n.Dom.unwrap),!!a}},76014:function(e,t,i){i.d(t,{Table:function(){return u}});var n=i(91907),o=i(82758),r=i(65478),s=i(22732),a=i(580),l=i(21537);let c=new WeakMap;class u extends n.ViewComponent{className(){return"Table"}__recalculateStyles(){let e=(0,a.getContainer)(this.j,u,"style",!0),t=[];this.selected.forEach(e=>{let i=(0,l.cssPath)(e);i&&t.push(i)}),e.innerHTML=t.length?t.join(",")+`{${this.jodit.options.table.selectionCellStyle}}`:""}addSelection(e){this.selected.add(e),this.__recalculateStyles();let t=s.Dom.closest(e,"table",this.j.editor);if(t){let i=u.__selectedByTable.get(t)||new Set;i.add(e),u.__selectedByTable.set(t,i)}}removeSelection(e){this.selected.delete(e),this.__recalculateStyles();let t=s.Dom.closest(e,"table",this.j.editor);if(t){let i=u.__selectedByTable.get(t);i&&(i.delete(e),i.size||u.__selectedByTable.delete(t))}}getAllSelectedCells(){return(0,l.toArray)(this.selected)}static __getSelectedCellsByTable(e){let t=u.__selectedByTable.get(e);return t?(0,l.toArray)(t):[]}destruct(){return this.selected.clear(),super.destruct()}static __getRowsCount(e){return e.rows.length}getRowsCount(e){return u.__getRowsCount(e)}static __getColumnsCount(e){return u.__formalMatrix(e).reduce((e,t)=>Math.max(e,t.length),0)}getColumnsCount(e){return u.__getColumnsCount(e)}static __formalMatrix(e,t){let i=[[]],n=(0,l.toArray)(e.rows),o=(e,n)=>{void 0===i[n]&&(i[n]=[]);let o=e.colSpan,r=e.rowSpan,s,a,l=0;for(;i[n][l];)l+=1;for(a=0;r>a;a+=1)for(s=0;s<o;s+=1){if(void 0===i[n+a]&&(i[n+a]=[]),t&&!1===t(e,n+a,l+s,o,r))return!1;i[n+a][l+s]=e}};for(let e=0;e<n.length;e+=1){let t=(0,l.toArray)(n[e].cells);for(let n=0;n<t.length;n+=1)if(!1===o(t[n],e))return i}return i}formalMatrix(e,t){return u.__formalMatrix(e,t)}static __formalCoordinate(e,t,i=!1){let n=0,o=0,r=1,s=1;return u.__formalMatrix(e,(e,a,l,c,u)=>{if(t===e)return n=a,o=l,r=c||1,s=u||1,i&&(o+=(c||1)-1,n+=(u||1)-1),!1}),[n,o,r,s]}formalCoordinate(e,t,i=!1){return u.__formalCoordinate(e,t,i)}static __appendRow(e,t,i,n){var o;let r;if(t)r=t.cloneNode(!0),(0,l.$$)("td,th",t).forEach(e=>{let t=(0,l.attr)(e,"rowspan");if(t&&parseInt(t,10)>1){let i=parseInt(t,10)-1;(0,l.attr)(e,"rowspan",i>1?i:null)}}),(0,l.$$)("td,th",r).forEach(e=>{e.innerHTML=""});else{let t=u.__getColumnsCount(e);r=n.element("tr");for(let e=0;e<t;e+=1)r.appendChild(n.element("td"))}i&&t&&t.nextSibling?t.parentNode&&t.parentNode.insertBefore(r,t.nextSibling):!i&&t?t.parentNode&&t.parentNode.insertBefore(r,t):((null==(o=e.getElementsByTagName("tbody"))?void 0:o[0])||e).appendChild(r)}appendRow(e,t,i){return u.__appendRow(e,t,i,this.j.createInside)}static __removeRow(e,t){let i,n=u.__formalMatrix(e),o=e.rows[t];n[t].forEach((r,a)=>{if(i=!1,t-1>=0&&n[t-1][a]===r)i=!0;else if(n[t+1]&&n[t+1][a]===r){if(r.parentNode===o&&r.parentNode.nextSibling){i=!0;let o=a+1;for(;n[t+1][o]===r;)o+=1;let l=s.Dom.next(r.parentNode,e=>s.Dom.isTag(e,"tr"),e);l&&(n[t+1][o]?l.insertBefore(r,n[t+1][o]):l.appendChild(r))}}else s.Dom.safeRemove(r);if(i&&(r.parentNode===o||r!==n[t][a-1])){let e=r.rowSpan;(0,l.attr)(r,"rowspan",e-1>1?e-1:null)}}),s.Dom.safeRemove(o)}removeRow(e,t){return u.__removeRow(e,t)}appendColumn(e,t,i=!0){let n=u.__formalMatrix(e);if(!i&&s.Dom.isCell(t.previousElementSibling))return this.appendColumn(e,t.previousElementSibling,!0);let o=i?t.cellIndex+((t.colSpan||1)-1):t.cellIndex,r=i?o+1:o;for(let e=0;e<n.length;){let t=n[e];if(t[o]!==t[r]||o===r){let e=this.j.createInside.element("td");i?s.Dom.after(t[o],e):s.Dom.before(t[o],e),t[o].rowSpan>1&&(e.rowSpan=t[o].rowSpan)}else t[o].colSpan+=1;e+=t[o].rowSpan||1}}static __removeColumn(e,t){let i,n=u.__formalMatrix(e);n.forEach((e,o)=>{let r=e[t];if(i=!1,t-1>=0&&n[o][t-1]===r||t+1<e.length&&n[o][t+1]===r?i=!0:s.Dom.safeRemove(r),i&&(o-1<0||r!==n[o-1][t])){let e=r.colSpan;(0,l.attr)(r,"colspan",e-1>1?(e-1).toString():null)}})}removeColumn(e,t){return u.__removeColumn(e,t)}static __getSelectedBound(e,t){let i,n,o,r=[[1/0,1/0],[0,0]],s=u.__formalMatrix(e);for(i=0;i<s.length;i+=1)for(n=0;s[i]&&n<s[i].length;n+=1)t.includes(s[i][n])&&(r[0][0]=Math.min(i,r[0][0]),r[0][1]=Math.min(n,r[0][1]),r[1][0]=Math.max(i,r[1][0]),r[1][1]=Math.max(n,r[1][1]));for(i=r[0][0];i<=r[1][0];i+=1)for(o=1,n=r[0][1];n<=r[1][1];n+=1){for(;s[i]&&s[i][n-o]&&s[i][n]===s[i][n-o];)r[0][1]=Math.min(n-o,r[0][1]),r[1][1]=Math.max(n-o,r[1][1]),o+=1;for(o=1;s[i]&&s[i][n+o]&&s[i][n]===s[i][n+o];)r[0][1]=Math.min(n+o,r[0][1]),r[1][1]=Math.max(n+o,r[1][1]),o+=1;for(o=1;s[i-o]&&s[i][n]===s[i-o][n];)r[0][0]=Math.min(i-o,r[0][0]),r[1][0]=Math.max(i-o,r[1][0]),o+=1;for(o=1;s[i+o]&&s[i][n]===s[i+o][n];)r[0][0]=Math.min(i+o,r[0][0]),r[1][0]=Math.max(i+o,r[1][0]),o+=1}return r}getSelectedBound(e,t){return u.__getSelectedBound(e,t)}static __normalizeTable(e){let t=[],i=u.__formalMatrix(e);u.__removeExtraColspans(i,t),u.__removeExtraRowspans(i,t);for(let e=0;e<i.length;e+=1)for(let t=0;t<i[e].length;t+=1)void 0!==i[e][t]&&(i[e][t].hasAttribute("rowspan")&&1===i[e][t].rowSpan&&(0,l.attr)(i[e][t],"rowspan",null),i[e][t].hasAttribute("colspan")&&1===i[e][t].colSpan&&(0,l.attr)(i[e][t],"colspan",null),i[e][t].hasAttribute("class")&&!(0,l.attr)(i[e][t],"class")&&(0,l.attr)(i[e][t],"class",null));u.__unmark(t)}static __removeExtraColspans(e,t){for(let i=0;i<e[0].length;i+=1){let n=1e6,o=!1;for(let t=0;t<e.length;t+=1)if(void 0!==e[t][i]){if(e[t][i].colSpan<2){o=!0;break}n=Math.min(n,e[t][i].colSpan)}if(!o)for(let o=0;o<e.length;o+=1)void 0!==e[o][i]&&u.__mark(e[o][i],"colspan",e[o][i].colSpan-n+1,t)}}static __removeExtraRowspans(e,t){let i=0,n=0;for(i=0;i<e.length;i+=1){let o=1e6,r=!1;for(n=0;n<e[i].length;n+=1)if(void 0!==e[i][n]){if(e[i][n].rowSpan<2){r=!0;break}o=Math.min(o,e[i][n].rowSpan)}if(!r)for(n=0;n<e[i].length;n+=1)void 0!==e[i][n]&&u.__mark(e[i][n],"rowspan",e[i][n].rowSpan-o+1,t)}}normalizeTable(e){return u.__normalizeTable(e)}static __mergeSelected(e,t){let i=[],n=u.__getSelectedBound(e,u.__getSelectedCellsByTable(e)),r=0,a=null,c=0,h=0,p=0,f=new Set,m=[];n&&(n[0][0]-n[1][0]||n[0][1]-n[1][1])&&(u.__formalMatrix(e,(e,o,s,g,v)=>{o>=n[0][0]&&o<=n[1][0]&&s>=n[0][1]&&s<=n[1][1]&&(f.has(e)||(f.add(e),o===n[0][0]&&e.style.width&&(r+=e.offsetWidth),""!==(0,l.trim)(e.innerHTML.replace(/<br(\/)?>/g,""))&&i.push(e.innerHTML),g>1&&(h+=g-1),v>1&&(p+=v-1),a?(u.__mark(e,"remove",1,m),d(t).removeSelection(e)):(a=e,c=s)))}),h=n[1][1]-n[0][1]+1,p=n[1][0]-n[0][0]+1,a&&(h>1&&u.__mark(a,"colspan",h,m),p>1&&u.__mark(a,"rowspan",p,m),r&&(u.__mark(a,"width",(r/e.offsetWidth*100).toFixed(o.ACCURACY)+"%",m),c&&u.__setColumnWidthByDelta(e,c,0,!0,m)),a.innerHTML=i.join("<br/>"),d(t).addSelection(a),f.delete(a),u.__unmark(m),u.__normalizeTable(e),(0,l.toArray)(e.rows).forEach(e=>{e.cells.length||s.Dom.safeRemove(e)})))}mergeSelected(e){return u.__mergeSelected(e,this.j)}static __splitHorizontal(e,t){let i,n,o,r,a,l=[];u.__getSelectedCellsByTable(e).forEach(c=>{(n=t.createInside.element("td")).appendChild(t.createInside.element("br")),o=t.createInside.element("tr"),i=u.__formalCoordinate(e,c),c.rowSpan<2?(u.__formalMatrix(e,(e,t,n)=>{i[0]===t&&i[1]!==n&&e!==c&&u.__mark(e,"rowspan",e.rowSpan+1,l)}),s.Dom.after(s.Dom.closest(c,"tr",e),o),o.appendChild(n)):(u.__mark(c,"rowspan",c.rowSpan-1,l),u.__formalMatrix(e,(t,n,o)=>{n>i[0]&&n<i[0]+c.rowSpan&&i[1]>o&&t.parentNode.rowIndex===n&&(a=t),i[0]<n&&t===c&&(r=e.rows[n])}),a?s.Dom.after(a,n):r.insertBefore(n,r.firstChild)),c.colSpan>1&&u.__mark(n,"colspan",c.colSpan,l),u.__unmark(l),d(t).removeSelection(c)}),this.__normalizeTable(e)}splitHorizontal(e){return u.__splitHorizontal(e,this.j)}static __splitVertical(e,t){let i,n,r,a=[];u.__getSelectedCellsByTable(e).forEach(l=>{i=u.__formalCoordinate(e,l),l.colSpan<2?u.__formalMatrix(e,(e,t,n)=>{i[1]===n&&i[0]!==t&&e!==l&&u.__mark(e,"colspan",e.colSpan+1,a)}):u.__mark(l,"colspan",l.colSpan-1,a),(n=t.createInside.element("td")).appendChild(t.createInside.element("br")),l.rowSpan>1&&u.__mark(n,"rowspan",l.rowSpan,a);let c=l.offsetWidth;s.Dom.after(l,n),r=c/e.offsetWidth/2,u.__mark(l,"width",(100*r).toFixed(o.ACCURACY)+"%",a),u.__mark(n,"width",(100*r).toFixed(o.ACCURACY)+"%",a),u.__unmark(a),d(t).removeSelection(l)}),u.__normalizeTable(e)}splitVertical(e){return u.__splitVertical(e,this.j)}static __setColumnWidthByDelta(e,t,i,n,r){let s=u.__formalMatrix(e),a=0;for(let n=0;n<s.length;n+=1){let l=s[n][t];if(l.colSpan>1&&s.length>1)continue;let c=(l.offsetWidth+i)/e.offsetWidth*100;u.__mark(l,"width",c.toFixed(o.ACCURACY)+"%",r),a=n;break}for(let e=a+1;e<s.length;e+=1){let i=s[e][t];u.__mark(i,"width",null,r)}n||u.__unmark(r)}setColumnWidthByDelta(e,t,i,n,o){return u.__setColumnWidthByDelta(e,t,i,n,o)}static __mark(e,t,i,n){var o;n.push(e);let r=null!=(o=c.get(e))?o:{};r[t]=void 0===i?1:i,c.set(e,r)}static __unmark(e){e.forEach(e=>{let t=c.get(e);t&&(Object.keys(t).forEach(i=>{let n=t[i];switch(i){case"remove":s.Dom.safeRemove(e);break;case"rowspan":(0,l.attr)(e,"rowspan",(0,l.isNumber)(n)&&n>1?n:null);break;case"colspan":(0,l.attr)(e,"colspan",(0,l.isNumber)(n)&&n>1?n:null);break;case"width":null==n?(e.style.removeProperty("width"),(0,l.attr)(e,"style")||(0,l.attr)(e,"style",null)):e.style.width=n.toString()}delete t[i]}),c.delete(e))})}constructor(){super(...arguments),this.selected=new Set}}u.__selectedByTable=new WeakMap,function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);r>3&&s&&Object.defineProperty(t,i,s)}([(0,r.debounce)()],u.prototype,"__recalculateStyles",null);let d=e=>e.getInstance("Table",e.o)},76059:function(e,t,i){i.d(t,{replaceOldTags:function(){return o}});let n={i:"em",b:"strong"};function o(e){let{name:t}=e;return t in n&&(e.name=n[t]),e}},76078:function(e,t,i){i.d(t,{$$:function(){return d},cssPath:function(){return f},getXPathByElement:function(){return h},refs:function(){return p},resolveElement:function(){return m}});var n=i(82758),o=i(2748),r=i(4510),s=i(70799),a=i(87058),l=i(29960),c=i(89890);let u=1;function d(e,t){let i;if(!n.IS_ES_NEXT&&/:scope/.test(e)&&n.IS_IE&&!(t&&t.nodeType===Node.DOCUMENT_NODE)){let n=t.id,o=n||"_selector_id_"+(Math.random()+"").slice(2)+ ++u;e=e.replace(/:scope/g,"#"+o),n||t.setAttribute("id",o),i=t.parentNode.querySelectorAll(e),n||t.removeAttribute("id")}else i=t.querySelectorAll(e);return[].slice.call(i)}let h=(e,t)=>{if(!e||e.nodeType!==Node.ELEMENT_NODE||!e.parentNode||t===e)return"";if(e.id)return"//*[@id='"+e.id+"']";let i=[].filter.call(e.parentNode.childNodes,t=>t.nodeName===e.nodeName);return h(e.parentNode,t)+"/"+e.nodeName.toLowerCase()+(i.length>1?"["+((0,r.toArray)(i).indexOf(e)+1)+"]":"")},p=e=>("container"in e&&(e=e.container),d("[ref],[data-ref]",e).reduce((e,t)=>{let i=(0,l.attr)(t,"-ref");return i&&(0,s.isString)(i)&&(e[(0,a.camelCase)(i)]=t,e[i]=t),e},{})),f=e=>{if(!o.Dom.isElement(e))return null;let t=[],i=e;for(;i&&i.nodeType===Node.ELEMENT_NODE;){let e=i.nodeName.toLowerCase();if(i.id){e+="#"+i.id,t.unshift(e);break}{let t=i,n=1;do(t=t.previousElementSibling)&&t.nodeName.toLowerCase()===e&&n++;while(t)e+=":nth-of-type("+n+")"}t.unshift(e),i=i.parentNode}return t.join(" > ")};function m(e,t){let i=e;if((0,s.isString)(e))try{i=t.querySelector(e)}catch(t){throw(0,c.error)('String "'+e+'" should be valid HTML selector')}if(!i||"object"!=typeof i||!o.Dom.isElement(i)||!i.cloneNode)throw(0,c.error)('Element "'+e+'" should be string or HTMLElement instance');return i}},76295:function(e,t,i){var n=i(2748),o=i(580),r=i(21537),s=i(25726),a=i(41180),l=i(12153),c=i(6441),u=i(5567);l.Icon.set("justify",u.default),c.Config.prototype.controls.align={name:"left",tooltip:"Align",update(e,t){let i=t.control,o=e.s.current();if(o){let s=n.Dom.closest(o,n.Dom.isBlock,e.editor)||e.editor,l=(0,a.css)(s,"text-align").toString();i.defaultValue&&-1!==i.defaultValue.indexOf(l)&&(l="left");let{list:c,data:u}=i;u&&u.currentValue!==l&&c&&((0,r.isPlainObject)(c)?c[l]:c.includes(l))&&(e.o.textIcons||"select"===i.component?t.state.text=l:t.state.icon.name=l,u.currentValue=l)}},isActive(e,t){let i=e.s.current();if(!i||!t.control.defaultValue)return!1;let o=n.Dom.closest(i,n.Dom.isBlock,e.editor)||e.editor;return -1===t.control.defaultValue.indexOf((0,a.css)(o,"text-align").toString())},defaultValue:["left","start","inherit"],data:{currentValue:"left"},list:["center","left","right","justify"]},c.Config.prototype.controls.center={command:"justifyCenter",css:{"text-align":"center"},tooltip:"Align Center"},c.Config.prototype.controls.justify={command:"justifyFull",css:{"text-align":"justify"},tooltip:"Align Justify"},c.Config.prototype.controls.left={command:"justifyLeft",css:{"text-align":"left"},tooltip:"Align Left"},c.Config.prototype.controls.right={command:"justifyRight",css:{"text-align":"right"},tooltip:"Align Right"},o.pluginSystem.add("justify",function(e){e.registerButton({name:"align",group:"indent"});let t=t=>(e.s.focus(),e.s.eachSelection(i=>{if(!i)return;let o=n.Dom.up(i,n.Dom.isBlock,e.editor);o||(o=n.Dom.wrapInline(i,e.o.enterBlock,e)),(0,s.alignElement)(t,o)}),!1);e.registerCommand("justifyfull",t),e.registerCommand("justifyright",t),e.registerCommand("justifyleft",t),e.registerCommand("justifycenter",t)})},76725:function(e,t,i){i.r(t),t.default={"Line height":"Výška čáry"}},76855:function(e,t,i){i.d(t,{asArray:function(){return n.asArray},splitArray:function(){return o.splitArray},toArray:function(){return r.toArray}});var n=i(29999),o=i(46559),r=i(4510)},77361:function(e,t,i){i.d(t,{CHANGE:function(){return r},INITIAL:function(){return a},REPLACE:function(){return l},UNSET:function(){return s},UNWRAP:function(){return o},WRAP:function(){return n},_PREFIX:function(){return c}});let n="wrap",o="unwrap",r="change",s="unset",a="initial",l="replace",c="commitStyle"},77469:function(e,t,i){var n=i(82758),o=i(580),r=i(21537);i(50963),o.pluginSystem.add("iframe",function(e){let t=e.options;e.e.on("afterSetMode",()=>{e.isEditorMode()&&e.s.focus()}).on("generateDocumentStructure.iframe",(e,i)=>{let n=e||i.iframe.contentWindow.document;if(n.open(),n.write(t.iframeDoctype+`<html dir="${t.direction}" class="jodit" lang="${(0,r.defaultLanguage)(t.language)}">`+"<head>"+`<title>${t.iframeTitle}</title>`+(t.iframeBaseUrl?`<base href="${t.iframeBaseUrl}"/>`:"")+'</head><body class="jodit-wysiwyg"></body></html>'),n.close(),t.iframeCSSLinks&&t.iframeCSSLinks.forEach(e=>{let t=n.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),n.head&&n.head.appendChild(t)}),t.iframeStyle){let e=n.createElement("style");e.innerHTML=t.iframeStyle,n.head&&n.head.appendChild(e)}}).on("createEditor",()=>{if(!t.iframe)return;let i=e.c.element("iframe");i.style.display="block",i.src="about:blank",i.className="jodit-wysiwyg_iframe",i.setAttribute("allowtransparency","true"),i.setAttribute("tabindex",t.tabIndex.toString()),i.setAttribute("frameborder","0"),null!=t.iframeSandbox&&i.setAttribute("sandbox",t.iframeSandbox),e.workplace.appendChild(i),e.iframe=i;let o=e.e.fire("generateDocumentStructure.iframe",null,e);return(0,r.callPromise)(o,()=>{if(!e.iframe)return!1;let i=e.iframe.contentWindow.document;e.editorWindow=e.iframe.contentWindow;let o=t.editHTMLDocumentMode,s=()=>{(0,r.attr)(i.body,"contenteditable",e.getMode()!==n.MODE_SOURCE&&!e.getReadOnly()||null)},a=e=>{let t=/<body.*<\/body>/im,i="{%%BODY%%}",n=t.exec(e);return n&&(e=e.replace(t,i).replace(/<span([^>]*?)>(.*?)<\/span>/gim,"").replace(/&lt;span([^&]*?)&gt;(.*?)&lt;\/span&gt;/gim,"").replace(i,n[0].replace(/(<body[^>]+?)min-height["'\s]*:[\s"']*[0-9]+(px|%)/im,"$1").replace(/(<body[^>]+?)([\s]*["'])?contenteditable["'\s]*=[\s"']*true["']?/im,"$1").replace(/<(style|script|span)[^>]+jodit[^>]+>.*?<\/\1>/g,"")).replace(/(class\s*=\s*)(['"])([^"']*)(jodit-wysiwyg|jodit)([^"']*\2)/g,"$1$2$3$5").replace(/(<[^<]+?)\sclass="[\s]*"/gim,"$1").replace(/(<[^<]+?)\sstyle="[\s;]*"/gim,"$1").replace(/(<[^<]+?)\sdir="[\s]*"/gim,"$1")),e};if(o){let t=e.element.tagName;if("TEXTAREA"!==t&&"INPUT"!==t)throw(0,r.error)("If enable `editHTMLDocumentMode` - source element should be INPUT or TEXTAREA");e.e.on("beforeGetNativeEditorValue",()=>a(e.o.iframeDoctype+i.documentElement.outerHTML)).on("beforeSetNativeEditorValue",({value:t})=>!e.isLocked&&(/<(html|body)/i.test(t)?a(i.documentElement.outerHTML)!==a(t)&&(i.open(),i.write(e.o.iframeDoctype+a(t)),i.close(),e.editor=i.body,e.e.fire("safeHTML",e.editor),s(),e.e.fire("prepareWYSIWYGEditor"),e.e.stopPropagation("beforeSetNativeEditorValue")):i.body.innerHTML=t,!0),{top:!0})}if(e.editor=i.body,e.e.on("afterSetMode afterInit afterAddPlace",s),"auto"===t.height){i.documentElement&&(i.documentElement.style.overflowY="hidden");let n=e.async.throttle((...i)=>{e.async.requestAnimationFrame(()=>{if(e.editor&&e.iframe&&"auto"===t.height){let t=e.ew.getComputedStyle(e.editor),i=parseInt(t.marginTop||"0",10)+parseInt(t.marginBottom||"0",10);(0,r.css)(e.iframe,"height",e.editor.offsetHeight+i)}})},e.defaultTimeout/2);if(e.e.on("change afterInit afterSetMode resize",n).on([e.iframe,e.ew,i.documentElement],"load",n).on(i,"readystatechange DOMContentLoaded",n),"function"==typeof ResizeObserver){let t=new ResizeObserver(n);t.observe(i.body),e.e.on("beforeDestruct",()=>{t.disconnect()})}}return i.documentElement&&e.e.on(i.documentElement,"mousedown touchend",()=>{e.s.isFocused()||(e.s.focus(),e.editor===i.body&&e.s.setCursorIn(i.body))}).on(e.ew,"mousedown touchstart keydown keyup touchend click mouseup mousemove scroll",t=>{var i;null==(i=e.events)||i.fire(e.ow,t)}),!1})})})},77725:function(e,t,i){i.r(t),t.default={Spellcheck:"Corrección ortográfica"}},78116:function(e,t,i){i.d(t,{isMarker:function(){return o}});var n=i(2748);function o(e){return n.Dom.isMarker(e)}},78173:function(e,t){t.default='<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> '},78213:function(e,t,i){i.d(t,{STATUSES:function(){return n}});let n={beforeInit:"beforeInit",ready:"ready",beforeDestruct:"beforeDestruct",destructed:"destructed"}},78513:function(e,t,i){i.d(t,{FileBrowser:function(){return n.FileBrowser}});var n=i(75330)},78524:function(e,t,i){i(6441).Config.prototype.commandToHotkeys={removeFormat:["ctrl+shift+m","cmd+shift+m"],insertOrderedList:["ctrl+shift+7","cmd+shift+7"],insertUnorderedList:["ctrl+shift+8, cmd+shift+8"],selectall:["ctrl+a","cmd+a"]}},78584:function(e,t,i){i.d(t,{Dialog:function(){return b}});var n,o=i(91907),r=i(82758),s=i(65478),a=i(2748),l=i(580),c=i(76855),u=i(27613),d=i(43555),h=i(38837),p=i(67510),f=i(35608),m=i(84075),g=i(6441),v=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};g.Config.prototype.dialog={namespace:"",extraButtons:[],resizable:!0,draggable:!0,buttons:["dialog.close"],removeButtons:[],toolbarButtonSize:"middle",zIndex:"inherit"},g.Config.prototype.controls.dialog={close:{icon:"cancel",exec(e){e.close()}}};let b=n=class e extends m.ViewWithToolbar{className(){return"Dialog"}get destination(){let{popupRoot:e,shadowRoot:t}=this.o;return e||t||this.od.body}setElements(e,t){let i=[];(0,c.asArray)(t).forEach(t=>{let n;if((0,u.isArray)(t)){let n=this.c.div(this.getFullElName("column"));return i.push(n),e.appendChild(n),this.setElements(n,t)}n=(0,u.isString)(t)?this.c.fromHTML(t):(0,u.hasContainer)(t)?t.container:t,i.push(n),n.parentNode!==e&&e.appendChild(n)}),(0,c.toArray)(e.childNodes).forEach(t=>{-1===i.indexOf(t)&&e.removeChild(t)})}__onMouseUp(){(this.draggable||this.resizable)&&(this.__removeGlobalResizeListeners(),this.draggable=!1,this.resizable=!1,this.unlockSelect(),this.e&&(this.__removeGlobalResizeListeners(),this.e.fire(this,"endResize endMove")))}__onHeaderMouseDown(e){let t=e.target;!(!this.o.draggable||t&&t.nodeName.match(/^(INPUT|SELECT)$/))&&(this.draggable=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.x=(0,d.css)(this.dialog,"left"),this.startPoint.y=(0,d.css)(this.dialog,"top"),this.setMaxZIndex(),e.cancelable&&e.preventDefault(),this.lockSelect(),this.__addGlobalResizeListeners(),this.e&&(this.e.fire(this,"startMove"),this.e.fire("closeAllPopups")))}__onMouseMove(e){this.draggable&&this.o.draggable&&(this.setPosition(this.startPoint.x+e.clientX-this.startX,this.startPoint.y+e.clientY-this.startY),this.e&&this.e.fire(this,"move",e.clientX-this.startX,e.clientY-this.startY),e.stopImmediatePropagation()),this.resizable&&this.o.resizable&&(this.setSize(this.startPoint.w+e.clientX-this.startX,this.startPoint.h+e.clientY-this.startY),this.e&&this.e.fire(this,"resizeDialog",e.clientX-this.startX,e.clientY-this.startY))}__onEsc(e){if(this.o.closeOnEsc&&this.isOpened&&e.key===r.KEY_ESC&&!0!==this.getMod("static")){let t=this.getMaxZIndexDialog();t?t.close():this.close(),e.stopImmediatePropagation()}}__onResizerMouseDown(e){this.resizable=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.w=this.dialog.offsetWidth,this.startPoint.h=this.dialog.offsetHeight,this.lockSelect(),this.__addGlobalResizeListeners(),this.e&&this.e.fire(this,"startResize")}__addGlobalResizeListeners(){this.e.on(this.ow,"pointermove touchmove",this.__onMouseMove).on(this.ow,"pointerup touchend",this.__onMouseUp)}__removeGlobalResizeListeners(){this.e.off(this.ow,"mousemove pointermove",this.__onMouseMove).off(this.ow,"mouseup pointerup",this.__onMouseUp)}setSize(e,t){return null==e&&(e=this.dialog.offsetWidth),null==t&&(t=this.dialog.offsetHeight),(0,d.css)(this.dialog,{width:e,height:t}),this}calcAutoSize(){return this.setSize("auto","auto"),this.setSize(),this}setPosition(e,t){let i=this.ow.innerWidth,n=this.ow.innerHeight,o=i/2-this.dialog.offsetWidth/2,r=n/2-this.dialog.offsetHeight/2;return o<0&&(o=0),r<0&&(r=0),void 0!==e&&void 0!==t&&(this.offsetX=e,this.offsetY=t,this.moved=Math.abs(e-o)>100||Math.abs(t-r)>100),this.dialog.style.left=(e||o)+"px",this.dialog.style.top=(t||r)+"px",this}setHeader(e){return this.setElements(this.dialogbox_header,e),this}setContent(e){return this.setElements(this.dialogbox_content,e),this}setFooter(e){return this.setElements(this.dialogbox_footer,e),this.setMod("footer",!!e),this}getZIndex(){return parseInt((0,d.css)(this.container,"zIndex"),10)||0}getMaxZIndexDialog(){let e=0,t,i,n=this;return(0,d.$$)(".jodit-dialog",this.destination).forEach(o=>{t=o.component,i=parseInt((0,d.css)(o,"zIndex"),10),t.isOpened&&!isNaN(i)&&i>e&&(n=t,e=i)}),n}setMaxZIndex(){if(this.getMod("static"))return;let e=0x1312d04,t=0;(0,d.$$)(".jodit-dialog",this.destination).forEach(i=>{e=Math.max(isNaN(t=parseInt((0,d.css)(i,"zIndex"),10))?0:t,e)}),this.container.style.zIndex=(e+1).toString()}toggleFullSize(e){(0,u.isVoid)(e)&&(e=!this.getMod("fullsize")),this.setMod("fullsize",e),super.toggleFullSize(e)}open(e,t,i,n){if(l.eventEmitter.fire("closeAllPopups hideHelpers"),!1===this.e.fire(this,"beforeOpen"))return this;(0,u.isBoolean)(e)&&(i=e),(0,u.isBoolean)(t)&&(n=t),this.destroyAfterClose=!0===i;let o=(0,u.isBoolean)(e)?void 0:e,r=(0,u.isBoolean)(t)?void 0:t;return void 0!==r&&this.setHeader(r),o&&this.setContent(o),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}setModal(e){return this.isModal=!!e,this.setMod("modal",this.isModal),this}close(){if(this.isDestructed||!this.isOpened||!0===this.getMod("static"))return this;let{e}=this;return!1===e.fire(this,"beforeClose")||!1===e.fire("beforeClose",this)||(this.setMod("active",!1),this.isOpened=!1,this.isFullSize&&this.toggleFullSize(!1),a.Dom.safeRemove(this.container),this.__removeGlobalResizeListeners(),e.fire(this,"afterClose"),e.fire(this.ow,"joditCloseDialog"),this.destroyAfterClose&&this.destruct()),this}buildToolbar(){this.o.buttons&&this.toolbar.build((0,c.splitArray)(this.o.buttons)).setMod("mode","header").appendTo(this.dialogbox_toolbar)}destruct(){this.isInDestruct||(this.setStatus(o.STATUSES.beforeDestruct),this.isOpened&&this.close(),this.events&&(this.__removeGlobalResizeListeners(),this.events.off(this.container,"close_dialog",self.close).off(this.ow,"keydown",this.__onEsc).off(this.ow,"resize",this.__onResize)),super.destruct())}constructor(e={}){super(e),this.destroyAfterClose=!1,this.moved=!1,this.resizable=!1,this.draggable=!1,this.startX=0,this.startY=0,this.startPoint={x:0,y:0,w:0,h:0},this.lockSelect=()=>{this.setMod("moved",!0)},this.unlockSelect=()=>{this.setMod("moved",!1)},this.__onResize=()=>{this.options&&this.o.resizable&&!this.moved&&this.isOpened&&!this.offsetX&&!this.offsetY&&this.setPosition()},this.isModal=!1,this.isOpened=!1,this.options=(0,d.ConfigProto)(e,(0,d.ConfigProto)(g.Config.prototype.dialog,n.defaultOptions)),a.Dom.safeRemove(this.container);const t=this.getFullElName.bind(this);this.container=this.c.fromHTML(`<div class="jodit jodit-dialog ${this.componentName}">
238
+ </div>`),(0,r.css)(t.dialog,{minHeight:200,minWidth:420}),t.open(!0,!0)},tooltip:"About Jodit",mode:n.MODE_SOURCE+n.MODE_WYSIWYG},o.pluginSystem.add("about",function(e){e.registerButton({name:"about",group:"info"})}),s.Icon.set("about",l.default)},73674:function(e,t,i){var n=i(6441);n.Config.prototype.controls.subscript={tags:["sub"],tooltip:"subscript"},n.Config.prototype.controls.superscript={tags:["sup"],tooltip:"superscript"},n.Config.prototype.controls.bold={tagRegExp:/^(strong|b)$/i,tags:["strong","b"],css:{"font-weight":["bold","700"]},tooltip:"Bold"},n.Config.prototype.controls.italic={tagRegExp:/^(em|i)$/i,tags:["em","i"],css:{"font-style":"italic"},tooltip:"Italic"},n.Config.prototype.controls.underline={tagRegExp:/^(u)$/i,tags:["u"],css:{"text-decoration-line":"underline"},tooltip:"Underline"},n.Config.prototype.controls.strikethrough={tagRegExp:/^(s)$/i,tags:["s"],css:{"text-decoration-line":"line-through"},tooltip:"Strike through"}},73792:function(e,t,i){i.d(t,{checkRemoveChar:function(){return function e(t,i,s,l){var c,u,d,h;let p,f=s?-1:1,m=o.Dom.sibling(i,!s),g=o.Dom.sibling(i,s),v=null,b=!1;for(g||(g=a(i,s,t.editor));g&&(o.Dom.isText(g)||o.Dom.isInlineBlock(g));){for(;o.Dom.isInlineBlock(g);)g=s?null==g?void 0:g.lastChild:null==g?void 0:g.firstChild;if(!g)break;if((null==(c=g.nodeValue)?void 0:c.length)&&(p=function(e,t,i,s){let a=(0,r.toArray)(e.nodeValue),l=a.length,c=t?l-1:0;if(a[c]===n.INVISIBLE_SPACE)for(;a[c]===n.INVISIBLE_SPACE;)c+=i;let u=a[c];if(a[c+i]===n.INVISIBLE_SPACE){for(c+=i;a[c]===n.INVISIBLE_SPACE;)c+=i;c+=t?1:-1}return a=t&&c<0?[]:a.slice(t?0:c+1,t?c:l),function(e,t,i){var s;if(!e||!o.Dom.isText(e)||(!t?/ $/:/^ /).test(null!=(s=e.nodeValue)?s:"")||!(0,r.trimInv)(e.nodeValue||"").length)for(let e=t?i.length-1:0;t?e>=0:e<i.length;e+=t?-1:1)if(" "===i[e])i[e]=n.NBSP_SPACE;else break}(s,t,a),e.nodeValue=a.join(""),u}(g,s,f,m),!g.nodeValue.length&&o.Dom.isInlineBlock(g.parentNode)&&(g.nodeValue=n.INVISIBLE_SPACE)),(null==(u=g.nodeValue)?void 0:u.length)||(v=g),!(0,r.isVoid)(p)&&p!==n.INVISIBLE_SPACE){d=g,h=p,(0,r.call)(s?o.Dom.after:o.Dom.before,d,i),("sentence"===l||"word"===l&&" "!==h&&h!==n.NBSP_SPACE)&&e(t,i,s,l),b=!0;break}let y=a(g,s,t.editor);v&&(o.Dom.safeRemove(v),v=null),g=y}return v&&(o.Dom.safeRemove(v),v=null),b&&(function(e){let t=e.parentElement;for(;t&&o.Dom.isInlineBlock(t)&&o.Dom.isTag(t,"a");){let i=t.parentElement;o.Dom.isEmpty(t)&&(o.Dom.after(t,e),o.Dom.safeRemove(t)),t=i}}(i),i.parentElement!==t.editor&&o.Dom.isBlock(i.parentElement)&&o.Dom.each(i.parentElement,o.Dom.isEmptyTextNode)&&o.Dom.after(i,t.createInside.element("br")),t.s.setCursorBefore(i),o.Dom.isTag(i.previousSibling,"br")&&!o.Dom.findNotEmptySibling(i,!1)&&o.Dom.after(i,t.createInside.element("br"))),b}}});var n=i(82758),o=i(22732),r=i(21537),s=i(63785);function a(e,t,i){let n=o.Dom.sibling(e,t);return!n&&e.parentNode&&e.parentNode!==i&&(n=(0,s.findMostNestedNeighbor)(e,!t,i,!0)),n}},73948:function(e,t,i){i.d(t,{nativeListeners:function(){return c}});var n=i(29960),o=i(15456),r=i(41457),s=i(32118),a=i(21735),l=i(20201);function c(){let e=!1,t=(0,s.elementsMap)(this),i=this;i.e.on(i.tree.container,"dragstart",t=>{let n=(0,a.getItem)(t.target,i.container);n&&i.o.moveFolder&&(e=n)}).on(i.tree.container,"drop",t=>{if((i.o.moveFile||i.o.moveFolder)&&e){let o=(0,n.attr)(e,"-path")||"";if(!i.o.moveFolder&&e.classList.contains(this.tree.getFullElName("item"))||e.classList.contains(this.files.getFullElName("item"))&&(o+=(0,n.attr)(e,"-name"),!i.o.moveFile))return!1;let r=(0,a.getItem)(t.target,i.container);r&&(i.dataProvider.move(o,(0,n.attr)(r,"-path")||"",(0,n.attr)(r,"-source")||"",e.classList.contains(this.files.getFullElName("item"))).then(()=>(0,l.loadTree)(this)).catch(i.status),e=!1)}}).on(i.files.container,"contextmenu",(0,r.default)(i)).on(i.files.container,"click",e=>{(0,o.ctrlKey)(e)||(this.state.activeElements=[])}).on(i.files.container,"click",e=>{let n=(0,a.getItem)(e.target,i.container);if(!n)return;let r=(0,a.elementToItem)(n,t);if(r)return(0,o.ctrlKey)(e)?i.state.activeElements=[...i.state.activeElements,r]:i.state.activeElements=[r],e.stopPropagation(),!1}).on(i.files.container,"dragstart",t=>{if(i.o.moveFile){let n=(0,a.getItem)(t.target,i.container);n&&(e=n)}}).on(i.container,"drop",e=>e.preventDefault())}},74551:function(e,t){t.default={"copy-format":"Format kopierenт"}},74569:function(e,t,i){i.d(t,{dataURItoBlob:function(){return n}});function n(e){let t=atob(e.split(",")[1]),i=e.split(",")[0].split(":")[1].split(";")[0],n=new Uint8Array(new ArrayBuffer(t.length));for(let e=0;e<t.length;e+=1)n[e]=t.charCodeAt(e);return new Blob([n.buffer],{type:i})}},75259:function(e,t){t.default='<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> '},75275:function(e,t,i){i.d(t,{applyStyles:function(){return n.applyStyles},cleanFromWord:function(){return o.cleanFromWord},htmlspecialchars:function(){return r.htmlspecialchars},nl2br:function(){return s.nl2br},safeHTML:function(){return a.safeHTML},sanitizeHTMLElement:function(){return a.sanitizeHTMLElement},stripTags:function(){return l.stripTags}});var n=i(32574),o=i(53212),r=i(53326),s=i(45971),a=i(86518),l=i(91003)},75330:function(e,t,i){i.d(t,{FileBrowser:function(){return _}});var n=i(91907),o=i(82758),r=i(65478),s=i(37133),a=i(3827),l=i(21537),c=i(12081),u=i(70231),d=i(84075),h=i(6441);i(61251);var p=i(30465),f=i(20201),m=i(73948),g=i(33281),v=i(94538),b=i(11787),y=i(63399),S=i(8172),w=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};let _=class e extends d.ViewWithToolbar{className(){return"FileBrowser"}get dataProvider(){return(0,y.makeDataProvider)(this,this.options)}onSelect(e){return()=>{if(this.state.activeElements.length){let t=[],i=[];this.state.activeElements.forEach(e=>{let n=e.fileURL;n&&(t.push(n),i.push(e.isImage||!1))}),this.close(),(0,l.isFunction)(e)&&e({baseurl:"",files:t,isImages:i}),this.close()}return!1}}get _dialog(){var e;let t=this.dlg({minWidth:Math.min(700,screen.width),minHeight:300,buttons:null!=(e=this.o.headerButtons)?e:["fullsize","dialog.close"]});return["beforeClose","afterClose","beforeOpen"].forEach(e=>t.events.on(t,e,()=>this.e.fire(e))),t.setSize(this.o.width,this.o.height),t}get storage(){return c.Storage.makeStorage(!!this.o.saveStateInStorage,this.componentName)}get isOpened(){return this._dialog.isOpened&&"none"!==this.browser.style.display}status(e,t){!e||(0,l.isAbortError)(e)||((0,l.isString)(e)||(e=e.message),(0,l.isString)(e)&&(0,l.trim)(e).length&&this.message.message(e,t?"success":"error",this.o.howLongShowMsg))}open(e=this.o.defaultCallback,t=!1){return this.state.onlyImages=t,this.async.promise((t,i)=>{var n;if(!this.o.items||!this.o.items.url)throw(0,l.error)("Need set options.filebrowser.ajax.url");let r=0;this.e.off(this.files.container,"dblclick").on(this.files.container,"dblclick",this.onSelect(e)).on(this.files.container,"touchstart",()=>{let t=new Date().getTime();t-r<o.EMULATE_DBLCLICK_TIMEOUT&&this.onSelect(e)(),r=t}).off("select.filebrowser").on("select.filebrowser",this.onSelect(e));let s=this.c.div();null==(n=this.toolbar)||n.appendTo(s),this.__updateToolbarButtons(),this._dialog.open(this.browser,s),this.e.fire("sort.filebrowser",this.state.sortBy),(0,f.loadTree)(this).then(t,i).finally(()=>{var e;this.isInDestruct||null==(e=this===null||void 0===this?void 0:this.e)||e.fire("fileBrowserReady.filebrowser")})}).catch(e=>{if(!(0,l.isAbortError)(e)&&!o.IS_PROD)throw e})}__getButtons(){var e;return(null!=(e=this.o.buttons)?e:[]).filter(e=>{if(!(0,l.isString)(e))return!0;switch(e){case"filebrowser.upload":return this.dataProvider.canI("FileUpload");case"filebrowser.edit":return this.dataProvider.canI("ImageResize")||this.dataProvider.canI("ImageCrop");case"filebrowser.remove":return this.dataProvider.canI("FileRemove")}return!0})}initUploader(e){var t;let i=this,n=null==(t=null==e?void 0:e.options)?void 0:t.uploader,o=(0,l.ConfigProto)(n||{},h.Config.defaultOptions.uploader),r=()=>(0,p.loadItems)(this);i.uploader=i.getInstance("Uploader",o),i.uploader.setPath(i.state.currentPath).setSource(i.state.currentSource).bind(i.browser,r,i.errorHandler),this.state.on(["change.currentPath","change.currentSource"],()=>{this.uploader.setPath(this.state.currentPath).setSource(this.state.currentSource)}),i.e.on("bindUploader.filebrowser",e=>{i.uploader.bind(e,r,i.errorHandler)})}destruct(){var e;!this.isInDestruct&&(null==(e=(0,r.cached)(this,"_dialog"))||e.destruct(),super.destruct(),this.events&&this.e.off(".filebrowser"),this.uploader&&this.uploader.destruct())}__updateToolbarButtons(){var e;let t=this.__getButtons();!function(e,t){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++)if(e[i]!==t[i])return!1;return!0}(this.__prevButtons,t)&&(this.__prevButtons=t,null==(e=this.toolbar)||e.build(t))}constructor(e){super(e),this.browser=this.c.div(this.componentName),this.status_line=this.c.div(this.getFullElName("status")),this.tree=new S.FileBrowserTree(this),this.files=new S.FileBrowserFiles(this),this.state=(0,a.observable)({currentPath:"",currentSource:b.DEFAULT_SOURCE_NAME,currentBaseUrl:"",activeElements:[],elements:[],sources:[],view:"tiles",sortBy:"changed-desc",filterWord:"",onlyImages:!1}),this.errorHandler=e=>{(0,l.isAbortError)(e)||(e instanceof Error?this.status(this.i18n(e.message)):this.status(this.dataProvider.getMessage(e)))},this.close=()=>{this._dialog.close()},this.__prevButtons=[],this.attachEvents(e),this.options=(0,l.ConfigProto)(e||{},h.Config.defaultOptions.filebrowser),this.browser.component=this,this.container=this.browser,this.o.showFoldersPanel&&this.browser.appendChild(this.tree.container),this.browser.appendChild(this.files.container),this.browser.appendChild(this.status_line),g.selfListeners.call(this),m.nativeListeners.call(this),v.stateListeners.call(this),["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRename","folderRename","fileRemove","folderRemove","folder","items","permissions"].forEach(e=>{null!=this.options[e]&&(this.options[e]=(0,l.ConfigProto)(this.options[e],this.o.ajax))});const{storeView:t,storeSortBy:i,storeLastOpenedFolder:o}=this.o.saveStateInStorage||{storeLastOpenedFolder:!1,storeView:!1,storeSortBy:!1},r=t&&this.storage.get("view");r&&null==this.o.view?this.state.view="list"===r?"list":"tiles":this.state.view="list"===this.o.view?"list":"tiles",this.files.setMod("view",this.state.view);const s=i&&this.storage.get("sortBy");if(s){const e=s.split("-");this.state.sortBy=["changed","name","size"].includes(e[0])?s:"changed-desc"}else this.state.sortBy=this.o.sortBy||"changed-desc";if(o){const e=this.storage.get("currentPath"),t=this.storage.get("currentSource");this.state.currentPath=null!=e?e:"",this.state.currentSource=null!=t?t:""}this.initUploader(this),this.setStatus(n.STATUSES.ready)}};w([r.cache],_.prototype,"dataProvider",null),w([r.cache],_.prototype,"_dialog",null),w([r.cache],_.prototype,"storage",null),w([r.autobind],_.prototype,"status",null),w([r.autobind],_.prototype,"open",null),w([(0,s.watch)("dataProvider:changePermissions")],_.prototype,"__updateToolbarButtons",null),_=w([(0,r.derive)(u.Dlgs)],_)},75393:function(e,t){t.default='<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> '},75445:function(e,t){t.default={}},75595:function(e,t,i){i.d(t,{readLink:function(){return r}});var n=i(2748),o=i(29960);function r(e,t,i){let r=n.Dom.closest(e.sourceImage,"a",t.editor);r?(i.imageLink=(0,o.attr)(r,"href")||"",i.imageLinkOpenInNewTab="_blank"===(0,o.attr)(r,"target")):(i.imageLink="",i.imageLinkOpenInNewTab=!1)}},75703:function(e,t,i){i.r(t),t.default={symbols:"سمبل"}},75882:function(e,t,i){i.d(t,{unwrapChildren:function(){return a}});var n=i(2748),o=i(43555),r=i(22030),s=i(97380);function a(e,t){var i;let a,l=[],c=[],u=null==(i=e.options.attributes)?void 0:i.style;if(t.firstChild){let i=n.Dom.eachGen(t),d=i.next();for(;!d.done;){let t=d.value;(0,s.isSuitElement)(e,t,!0)&&(!u||(0,r.hasSameStyleKeys)(t,u))?(void 0===a&&(a=!0),l.push(t)):u&&(0,s.isSameStyleChild)(e,t)?(void 0===a&&(a=!1),c.push(()=>{(0,o.css)(t,Object.keys(u).reduce((e,t)=>(e[t]=null,e),{})),(0,o.attr)(t,"style")||(0,o.attr)(t,"style",null),(0,o.attr)(t,"style")||t.nodeName.toLowerCase()!==e.element||l.push(t)})):n.Dom.isEmptyTextNode(t)||void 0!==a||(a=!1),d=i.next()}}return c.forEach(e=>e()),l.forEach(n.Dom.unwrap),!!a}},76014:function(e,t,i){i.d(t,{Table:function(){return u}});var n=i(91907),o=i(82758),r=i(65478),s=i(22732),a=i(580),l=i(21537);let c=new WeakMap;class u extends n.ViewComponent{className(){return"Table"}__recalculateStyles(){let e=(0,a.getContainer)(this.j,u,"style",!0),t=[];this.selected.forEach(e=>{let i=(0,l.cssPath)(e);i&&t.push(i)}),e.innerHTML=t.length?t.join(",")+`{${this.jodit.options.table.selectionCellStyle}}`:""}addSelection(e){this.selected.add(e),this.__recalculateStyles();let t=s.Dom.closest(e,"table",this.j.editor);if(t){let i=u.__selectedByTable.get(t)||new Set;i.add(e),u.__selectedByTable.set(t,i)}}removeSelection(e){this.selected.delete(e),this.__recalculateStyles();let t=s.Dom.closest(e,"table",this.j.editor);if(t){let i=u.__selectedByTable.get(t);i&&(i.delete(e),i.size||u.__selectedByTable.delete(t))}}getAllSelectedCells(){return(0,l.toArray)(this.selected)}static __getSelectedCellsByTable(e){let t=u.__selectedByTable.get(e);return t?(0,l.toArray)(t):[]}destruct(){return this.selected.clear(),super.destruct()}static __getRowsCount(e){return e.rows.length}getRowsCount(e){return u.__getRowsCount(e)}static __getColumnsCount(e){return u.__formalMatrix(e).reduce((e,t)=>Math.max(e,t.length),0)}getColumnsCount(e){return u.__getColumnsCount(e)}static __formalMatrix(e,t){let i=[[]],n=(0,l.toArray)(e.rows),o=(e,n)=>{void 0===i[n]&&(i[n]=[]);let o=e.colSpan,r=e.rowSpan,s,a,l=0;for(;i[n][l];)l+=1;for(a=0;r>a;a+=1)for(s=0;s<o;s+=1){if(void 0===i[n+a]&&(i[n+a]=[]),t&&!1===t(e,n+a,l+s,o,r))return!1;i[n+a][l+s]=e}};for(let e=0;e<n.length;e+=1){let t=(0,l.toArray)(n[e].cells);for(let n=0;n<t.length;n+=1)if(!1===o(t[n],e))return i}return i}formalMatrix(e,t){return u.__formalMatrix(e,t)}static __formalCoordinate(e,t,i=!1){let n=0,o=0,r=1,s=1;return u.__formalMatrix(e,(e,a,l,c,u)=>{if(t===e)return n=a,o=l,r=c||1,s=u||1,i&&(o+=(c||1)-1,n+=(u||1)-1),!1}),[n,o,r,s]}formalCoordinate(e,t,i=!1){return u.__formalCoordinate(e,t,i)}static __appendRow(e,t,i,n){var o;let r;if(t)r=t.cloneNode(!0),(0,l.$$)("td,th",t).forEach(e=>{let t=(0,l.attr)(e,"rowspan");if(t&&parseInt(t,10)>1){let i=parseInt(t,10)-1;(0,l.attr)(e,"rowspan",i>1?i:null)}}),(0,l.$$)("td,th",r).forEach(e=>{e.innerHTML=""});else{let t=u.__getColumnsCount(e);r=n.element("tr");for(let e=0;e<t;e+=1)r.appendChild(n.element("td"))}i&&t&&t.nextSibling?t.parentNode&&t.parentNode.insertBefore(r,t.nextSibling):!i&&t?t.parentNode&&t.parentNode.insertBefore(r,t):((null==(o=e.getElementsByTagName("tbody"))?void 0:o[0])||e).appendChild(r)}appendRow(e,t,i){return u.__appendRow(e,t,i,this.j.createInside)}static __removeRow(e,t){let i,n=u.__formalMatrix(e),o=e.rows[t];n[t].forEach((r,a)=>{if(i=!1,t-1>=0&&n[t-1][a]===r)i=!0;else if(n[t+1]&&n[t+1][a]===r){if(r.parentNode===o&&r.parentNode.nextSibling){i=!0;let o=a+1;for(;n[t+1][o]===r;)o+=1;let l=s.Dom.next(r.parentNode,e=>s.Dom.isTag(e,"tr"),e);l&&(n[t+1][o]?l.insertBefore(r,n[t+1][o]):l.appendChild(r))}}else s.Dom.safeRemove(r);if(i&&(r.parentNode===o||r!==n[t][a-1])){let e=r.rowSpan;(0,l.attr)(r,"rowspan",e-1>1?e-1:null)}}),s.Dom.safeRemove(o)}removeRow(e,t){return u.__removeRow(e,t)}appendColumn(e,t,i=!0){let n=u.__formalMatrix(e);if(!i&&s.Dom.isCell(t.previousElementSibling))return this.appendColumn(e,t.previousElementSibling,!0);let[,o]=u.__formalCoordinate(e,t,i),r=i?o+1:o;for(let e=0;e<n.length;){let t=n[e];if(t[o]!==t[r]||o===r){let e=this.j.createInside.element("td");i?s.Dom.after(t[o],e):s.Dom.before(t[o],e),t[o].rowSpan>1&&(e.rowSpan=t[o].rowSpan)}else t[o].colSpan+=1;e+=t[o].rowSpan||1}}static __removeColumn(e,t){let i,n=u.__formalMatrix(e);n.forEach((e,o)=>{let r=e[t];if(i=!1,t-1>=0&&n[o][t-1]===r||t+1<e.length&&n[o][t+1]===r?i=!0:s.Dom.safeRemove(r),i&&(o-1<0||r!==n[o-1][t])){let e=r.colSpan;(0,l.attr)(r,"colspan",e-1>1?(e-1).toString():null)}})}removeColumn(e,t){return u.__removeColumn(e,t)}static __getSelectedBound(e,t){let i,n,o,r=[[1/0,1/0],[0,0]],s=u.__formalMatrix(e);for(i=0;i<s.length;i+=1)for(n=0;s[i]&&n<s[i].length;n+=1)t.includes(s[i][n])&&(r[0][0]=Math.min(i,r[0][0]),r[0][1]=Math.min(n,r[0][1]),r[1][0]=Math.max(i,r[1][0]),r[1][1]=Math.max(n,r[1][1]));for(i=r[0][0];i<=r[1][0];i+=1)for(o=1,n=r[0][1];n<=r[1][1];n+=1){for(;s[i]&&s[i][n-o]&&s[i][n]===s[i][n-o];)r[0][1]=Math.min(n-o,r[0][1]),r[1][1]=Math.max(n-o,r[1][1]),o+=1;for(o=1;s[i]&&s[i][n+o]&&s[i][n]===s[i][n+o];)r[0][1]=Math.min(n+o,r[0][1]),r[1][1]=Math.max(n+o,r[1][1]),o+=1;for(o=1;s[i-o]&&s[i][n]===s[i-o][n];)r[0][0]=Math.min(i-o,r[0][0]),r[1][0]=Math.max(i-o,r[1][0]),o+=1;for(o=1;s[i+o]&&s[i][n]===s[i+o][n];)r[0][0]=Math.min(i+o,r[0][0]),r[1][0]=Math.max(i+o,r[1][0]),o+=1}return r}getSelectedBound(e,t){return u.__getSelectedBound(e,t)}static __normalizeTable(e){let t=[],i=u.__formalMatrix(e);u.__removeExtraColspans(i,t),u.__removeExtraRowspans(i,t);for(let e=0;e<i.length;e+=1)for(let t=0;t<i[e].length;t+=1)void 0!==i[e][t]&&(i[e][t].hasAttribute("rowspan")&&1===i[e][t].rowSpan&&(0,l.attr)(i[e][t],"rowspan",null),i[e][t].hasAttribute("colspan")&&1===i[e][t].colSpan&&(0,l.attr)(i[e][t],"colspan",null),i[e][t].hasAttribute("class")&&!(0,l.attr)(i[e][t],"class")&&(0,l.attr)(i[e][t],"class",null));u.__unmark(t)}static __removeExtraColspans(e,t){for(let i=0;i<e[0].length;i+=1){let n=1e6,o=!1;for(let t=0;t<e.length;t+=1)if(void 0!==e[t][i]){if(e[t][i].colSpan<2){o=!0;break}n=Math.min(n,e[t][i].colSpan)}if(!o)for(let o=0;o<e.length;o+=1)void 0!==e[o][i]&&u.__mark(e[o][i],"colspan",e[o][i].colSpan-n+1,t)}}static __removeExtraRowspans(e,t){let i=0,n=0;for(i=0;i<e.length;i+=1){let o=1e6,r=!1;for(n=0;n<e[i].length;n+=1)if(void 0!==e[i][n]){if(e[i][n].rowSpan<2){r=!0;break}o=Math.min(o,e[i][n].rowSpan)}if(!r)for(n=0;n<e[i].length;n+=1)void 0!==e[i][n]&&u.__mark(e[i][n],"rowspan",e[i][n].rowSpan-o+1,t)}}normalizeTable(e){return u.__normalizeTable(e)}static __mergeSelected(e,t){let i=[],n=u.__getSelectedBound(e,u.__getSelectedCellsByTable(e)),r=0,a=null,c=0,h=0,p=0,f=new Set,m=[];n&&(n[0][0]-n[1][0]||n[0][1]-n[1][1])&&(u.__formalMatrix(e,(e,o,s,g,v)=>{o>=n[0][0]&&o<=n[1][0]&&s>=n[0][1]&&s<=n[1][1]&&(f.has(e)||(f.add(e),o===n[0][0]&&e.style.width&&(r+=e.offsetWidth),""!==(0,l.trim)(e.innerHTML.replace(/<br(\/)?>/g,""))&&i.push(e.innerHTML),g>1&&(h+=g-1),v>1&&(p+=v-1),a?(u.__mark(e,"remove",1,m),d(t).removeSelection(e)):(a=e,c=s)))}),h=n[1][1]-n[0][1]+1,p=n[1][0]-n[0][0]+1,a&&(h>1&&u.__mark(a,"colspan",h,m),p>1&&u.__mark(a,"rowspan",p,m),r&&(u.__mark(a,"width",(r/e.offsetWidth*100).toFixed(o.ACCURACY)+"%",m),c&&u.__setColumnWidthByDelta(e,c,0,!0,m)),a.innerHTML=i.join("<br/>"),d(t).addSelection(a),f.delete(a),u.__unmark(m),u.__normalizeTable(e),(0,l.toArray)(e.rows).forEach(e=>{e.cells.length||s.Dom.safeRemove(e)})))}mergeSelected(e){return u.__mergeSelected(e,this.j)}static __splitHorizontal(e,t){let i,n,o,r,a,l=[];u.__getSelectedCellsByTable(e).forEach(c=>{(n=t.createInside.element("td")).appendChild(t.createInside.element("br")),o=t.createInside.element("tr"),i=u.__formalCoordinate(e,c),c.rowSpan<2?(u.__formalMatrix(e,(e,t,n)=>{i[0]===t&&i[1]!==n&&e!==c&&u.__mark(e,"rowspan",e.rowSpan+1,l)}),s.Dom.after(s.Dom.closest(c,"tr",e),o),o.appendChild(n)):(u.__mark(c,"rowspan",c.rowSpan-1,l),u.__formalMatrix(e,(t,n,o)=>{n>i[0]&&n<i[0]+c.rowSpan&&i[1]>o&&t.parentNode.rowIndex===n&&(a=t),i[0]<n&&t===c&&(r=e.rows[n])}),a?s.Dom.after(a,n):r.insertBefore(n,r.firstChild)),c.colSpan>1&&u.__mark(n,"colspan",c.colSpan,l),u.__unmark(l),d(t).removeSelection(c)}),this.__normalizeTable(e)}splitHorizontal(e){return u.__splitHorizontal(e,this.j)}static __splitVertical(e,t){let i,n,r,a=[];u.__getSelectedCellsByTable(e).forEach(l=>{i=u.__formalCoordinate(e,l),l.colSpan<2?u.__formalMatrix(e,(e,t,n)=>{i[1]===n&&i[0]!==t&&e!==l&&u.__mark(e,"colspan",e.colSpan+1,a)}):u.__mark(l,"colspan",l.colSpan-1,a),(n=t.createInside.element("td")).appendChild(t.createInside.element("br")),l.rowSpan>1&&u.__mark(n,"rowspan",l.rowSpan,a);let c=l.offsetWidth;s.Dom.after(l,n),r=c/e.offsetWidth/2,u.__mark(l,"width",(100*r).toFixed(o.ACCURACY)+"%",a),u.__mark(n,"width",(100*r).toFixed(o.ACCURACY)+"%",a),u.__unmark(a),d(t).removeSelection(l)}),u.__normalizeTable(e)}splitVertical(e){return u.__splitVertical(e,this.j)}static __setColumnWidthByDelta(e,t,i,n,r){let s=u.__formalMatrix(e),a=0;for(let n=0;n<s.length;n+=1){let l=s[n][t];if(l.colSpan>1&&s.length>1)continue;let c=(l.offsetWidth+i)/e.offsetWidth*100;u.__mark(l,"width",c.toFixed(o.ACCURACY)+"%",r),a=n;break}for(let e=a+1;e<s.length;e+=1){let i=s[e][t];u.__mark(i,"width",null,r)}n||u.__unmark(r)}setColumnWidthByDelta(e,t,i,n,o){return u.__setColumnWidthByDelta(e,t,i,n,o)}static __mark(e,t,i,n){var o;n.push(e);let r=null!=(o=c.get(e))?o:{};r[t]=void 0===i?1:i,c.set(e,r)}static __unmark(e){e.forEach(e=>{let t=c.get(e);t&&(Object.keys(t).forEach(i=>{let n=t[i];switch(i){case"remove":s.Dom.safeRemove(e);break;case"rowspan":(0,l.attr)(e,"rowspan",(0,l.isNumber)(n)&&n>1?n:null);break;case"colspan":(0,l.attr)(e,"colspan",(0,l.isNumber)(n)&&n>1?n:null);break;case"width":null==n?(e.style.removeProperty("width"),(0,l.attr)(e,"style")||(0,l.attr)(e,"style",null)):e.style.width=n.toString()}delete t[i]}),c.delete(e))})}constructor(){super(...arguments),this.selected=new Set}}u.__selectedByTable=new WeakMap,function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);r>3&&s&&Object.defineProperty(t,i,s)}([(0,r.debounce)()],u.prototype,"__recalculateStyles",null);let d=e=>e.getInstance("Table",e.o)},76059:function(e,t,i){i.d(t,{replaceOldTags:function(){return o}});let n={i:"em",b:"strong"};function o(e){let{name:t}=e;return t in n&&(e.name=n[t]),e}},76078:function(e,t,i){i.d(t,{$$:function(){return d},cssPath:function(){return f},getXPathByElement:function(){return h},refs:function(){return p},resolveElement:function(){return m}});var n=i(82758),o=i(2748),r=i(4510),s=i(70799),a=i(87058),l=i(29960),c=i(89890);let u=1;function d(e,t){let i;if(!n.IS_ES_NEXT&&/:scope/.test(e)&&n.IS_IE&&!(t&&t.nodeType===Node.DOCUMENT_NODE)){let n=t.id,o=n||"_selector_id_"+(Math.random()+"").slice(2)+ ++u;e=e.replace(/:scope/g,"#"+o),n||t.setAttribute("id",o),i=t.parentNode.querySelectorAll(e),n||t.removeAttribute("id")}else i=t.querySelectorAll(e);return[].slice.call(i)}let h=(e,t)=>{if(!e||e.nodeType!==Node.ELEMENT_NODE||!e.parentNode||t===e)return"";if(e.id)return"//*[@id='"+e.id+"']";let i=[].filter.call(e.parentNode.childNodes,t=>t.nodeName===e.nodeName);return h(e.parentNode,t)+"/"+e.nodeName.toLowerCase()+(i.length>1?"["+((0,r.toArray)(i).indexOf(e)+1)+"]":"")},p=e=>("container"in e&&(e=e.container),d("[ref],[data-ref]",e).reduce((e,t)=>{let i=(0,l.attr)(t,"-ref");return i&&(0,s.isString)(i)&&(e[(0,a.camelCase)(i)]=t,e[i]=t),e},{})),f=e=>{if(!o.Dom.isElement(e))return null;let t=[],i=e;for(;i&&i.nodeType===Node.ELEMENT_NODE;){let e=i.nodeName.toLowerCase();if(i.id){e+="#"+i.id,t.unshift(e);break}{let t=i,n=1;do(t=t.previousElementSibling)&&t.nodeName.toLowerCase()===e&&n++;while(t)e+=":nth-of-type("+n+")"}t.unshift(e),i=i.parentNode}return t.join(" > ")};function m(e,t){let i=e;if((0,s.isString)(e))try{i=t.querySelector(e)}catch(t){throw(0,c.error)('String "'+e+'" should be valid HTML selector')}if(!i||"object"!=typeof i||!o.Dom.isElement(i)||!i.cloneNode)throw(0,c.error)('Element "'+e+'" should be string or HTMLElement instance');return i}},76295:function(e,t,i){var n=i(2748),o=i(580),r=i(21537),s=i(25726),a=i(41180),l=i(12153),c=i(6441),u=i(5567);l.Icon.set("justify",u.default),c.Config.prototype.controls.align={name:"left",tooltip:"Align",update(e,t){let i=t.control,o=e.s.current();if(o){let s=n.Dom.closest(o,n.Dom.isBlock,e.editor)||e.editor,l=(0,a.css)(s,"text-align").toString();i.defaultValue&&-1!==i.defaultValue.indexOf(l)&&(l="left");let{list:c,data:u}=i;u&&u.currentValue!==l&&c&&((0,r.isPlainObject)(c)?c[l]:c.includes(l))&&(e.o.textIcons||"select"===i.component?t.state.text=l:t.state.icon.name=l,u.currentValue=l)}},isActive(e,t){let i=e.s.current();if(!i||!t.control.defaultValue)return!1;let o=n.Dom.closest(i,n.Dom.isBlock,e.editor)||e.editor;return -1===t.control.defaultValue.indexOf((0,a.css)(o,"text-align").toString())},defaultValue:["left","start","inherit"],data:{currentValue:"left"},list:["center","left","right","justify"]},c.Config.prototype.controls.center={command:"justifyCenter",css:{"text-align":"center"},tooltip:"Align Center"},c.Config.prototype.controls.justify={command:"justifyFull",css:{"text-align":"justify"},tooltip:"Align Justify"},c.Config.prototype.controls.left={command:"justifyLeft",css:{"text-align":"left"},tooltip:"Align Left"},c.Config.prototype.controls.right={command:"justifyRight",css:{"text-align":"right"},tooltip:"Align Right"},o.pluginSystem.add("justify",function(e){e.registerButton({name:"align",group:"indent"});let t=t=>(e.s.focus(),e.s.eachSelection(i=>{if(!i)return;let o=n.Dom.up(i,n.Dom.isBlock,e.editor);o||(o=n.Dom.wrapInline(i,e.o.enterBlock,e)),(0,s.alignElement)(t,o)}),!1);e.registerCommand("justifyfull",t),e.registerCommand("justifyright",t),e.registerCommand("justifyleft",t),e.registerCommand("justifycenter",t)})},76725:function(e,t,i){i.r(t),t.default={"Line height":"Výška čáry"}},76855:function(e,t,i){i.d(t,{asArray:function(){return n.asArray},splitArray:function(){return o.splitArray},toArray:function(){return r.toArray}});var n=i(29999),o=i(46559),r=i(4510)},77361:function(e,t,i){i.d(t,{CHANGE:function(){return r},INITIAL:function(){return a},REPLACE:function(){return l},UNSET:function(){return s},UNWRAP:function(){return o},WRAP:function(){return n},_PREFIX:function(){return c}});let n="wrap",o="unwrap",r="change",s="unset",a="initial",l="replace",c="commitStyle"},77469:function(e,t,i){var n=i(82758),o=i(580),r=i(21537);i(50963),o.pluginSystem.add("iframe",function(e){let t=e.options;e.e.on("afterSetMode",()=>{e.isEditorMode()&&e.s.focus()}).on("generateDocumentStructure.iframe",(e,i)=>{let n=e||i.iframe.contentWindow.document;if(n.open(),n.write(t.iframeDoctype+`<html dir="${t.direction}" class="jodit" lang="${(0,r.defaultLanguage)(t.language)}">`+"<head>"+`<title>${t.iframeTitle}</title>`+(t.iframeBaseUrl?`<base href="${t.iframeBaseUrl}"/>`:"")+'</head><body class="jodit-wysiwyg"></body></html>'),n.close(),t.iframeCSSLinks&&t.iframeCSSLinks.forEach(e=>{let t=n.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),n.head&&n.head.appendChild(t)}),t.iframeStyle){let e=n.createElement("style");e.innerHTML=t.iframeStyle,n.head&&n.head.appendChild(e)}}).on("createEditor",()=>{if(!t.iframe)return;let i=e.c.element("iframe");i.style.display="block",i.src="about:blank",i.className="jodit-wysiwyg_iframe",i.setAttribute("allowtransparency","true"),i.setAttribute("tabindex",t.tabIndex.toString()),i.setAttribute("frameborder","0"),null!=t.iframeSandbox&&i.setAttribute("sandbox",t.iframeSandbox),e.workplace.appendChild(i),e.iframe=i;let o=e.e.fire("generateDocumentStructure.iframe",null,e);return(0,r.callPromise)(o,()=>{if(!e.iframe)return!1;let i=e.iframe.contentWindow.document;e.editorWindow=e.iframe.contentWindow;let o=t.editHTMLDocumentMode,s=()=>{(0,r.attr)(i.body,"contenteditable",e.getMode()!==n.MODE_SOURCE&&!e.getReadOnly()||null)},a=e=>{let t=/<body.*<\/body>/im,i="{%%BODY%%}",n=t.exec(e);return n&&(e=e.replace(t,i).replace(/<span([^>]*?)>(.*?)<\/span>/gim,"").replace(/&lt;span([^&]*?)&gt;(.*?)&lt;\/span&gt;/gim,"").replace(i,n[0].replace(/(<body[^>]+?)min-height["'\s]*:[\s"']*[0-9]+(px|%)/im,"$1").replace(/(<body[^>]+?)([\s]*["'])?contenteditable["'\s]*=[\s"']*true["']?/im,"$1").replace(/<(style|script|span)[^>]+jodit[^>]+>.*?<\/\1>/g,"")).replace(/(class\s*=\s*)(['"])([^"']*)(jodit-wysiwyg|jodit)([^"']*\2)/g,"$1$2$3$5").replace(/(<[^<]+?)\sclass="[\s]*"/gim,"$1").replace(/(<[^<]+?)\sstyle="[\s;]*"/gim,"$1").replace(/(<[^<]+?)\sdir="[\s]*"/gim,"$1")),e};if(o){let t=e.element.tagName;if("TEXTAREA"!==t&&"INPUT"!==t)throw(0,r.error)("If enable `editHTMLDocumentMode` - source element should be INPUT or TEXTAREA");e.e.on("beforeGetNativeEditorValue",()=>a(e.o.iframeDoctype+i.documentElement.outerHTML)).on("beforeSetNativeEditorValue",({value:t})=>!e.isLocked&&(/<(html|body)/i.test(t)?a(i.documentElement.outerHTML)!==a(t)&&(i.open(),i.write(e.o.iframeDoctype+a(t)),i.close(),e.editor=i.body,e.e.fire("safeHTML",e.editor),s(),e.e.fire("prepareWYSIWYGEditor"),e.e.stopPropagation("beforeSetNativeEditorValue")):i.body.innerHTML=t,!0),{top:!0})}if(e.editor=i.body,e.e.on("afterSetMode afterInit afterAddPlace",s),"auto"===t.height){i.documentElement&&(i.documentElement.style.overflowY="hidden");let n=e.async.throttle((...i)=>{e.async.requestAnimationFrame(()=>{if(e.editor&&e.iframe&&"auto"===t.height){let t=e.ew.getComputedStyle(e.editor),i=parseInt(t.marginTop||"0",10)+parseInt(t.marginBottom||"0",10);(0,r.css)(e.iframe,"height",e.editor.offsetHeight+i)}})},e.defaultTimeout/2);if(e.e.on("change afterInit afterSetMode resize",n).on([e.iframe,e.ew,i.documentElement],"load",n).on(i,"readystatechange DOMContentLoaded",n),"function"==typeof ResizeObserver){let t=new ResizeObserver(n);t.observe(i.body),e.e.on("beforeDestruct",()=>{t.disconnect()})}}return i.documentElement&&e.e.on(i.documentElement,"mousedown touchend",()=>{e.s.isFocused()||(e.s.focus(),e.editor===i.body&&e.s.setCursorIn(i.body))}).on(e.ew,"mousedown touchstart keydown keyup touchend click mouseup mousemove scroll",t=>{var i;null==(i=e.events)||i.fire(e.ow,t)}),!1})})})},77725:function(e,t,i){i.r(t),t.default={Spellcheck:"Corrección ortográfica"}},78116:function(e,t,i){i.d(t,{isMarker:function(){return o}});var n=i(2748);function o(e){return n.Dom.isMarker(e)}},78173:function(e,t){t.default='<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> '},78213:function(e,t,i){i.d(t,{STATUSES:function(){return n}});let n={beforeInit:"beforeInit",ready:"ready",beforeDestruct:"beforeDestruct",destructed:"destructed"}},78513:function(e,t,i){i.d(t,{FileBrowser:function(){return n.FileBrowser}});var n=i(75330)},78524:function(e,t,i){i(6441).Config.prototype.commandToHotkeys={removeFormat:["ctrl+shift+m","cmd+shift+m"],insertOrderedList:["ctrl+shift+7","cmd+shift+7"],insertUnorderedList:["ctrl+shift+8, cmd+shift+8"],selectall:["ctrl+a","cmd+a"]}},78584:function(e,t,i){i.d(t,{Dialog:function(){return b}});var n,o=i(91907),r=i(82758),s=i(65478),a=i(2748),l=i(580),c=i(76855),u=i(27613),d=i(43555),h=i(38837),p=i(67510),f=i(35608),m=i(84075),g=i(6441),v=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};g.Config.prototype.dialog={namespace:"",extraButtons:[],resizable:!0,draggable:!0,buttons:["dialog.close"],removeButtons:[],toolbarButtonSize:"middle",zIndex:"inherit"},g.Config.prototype.controls.dialog={close:{icon:"cancel",exec(e){e.close()}}};let b=n=class e extends m.ViewWithToolbar{className(){return"Dialog"}get destination(){let{popupRoot:e,shadowRoot:t}=this.o;return e||t||this.od.body}setElements(e,t){let i=[];(0,c.asArray)(t).forEach(t=>{let n;if((0,u.isArray)(t)){let n=this.c.div(this.getFullElName("column"));return i.push(n),e.appendChild(n),this.setElements(n,t)}n=(0,u.isString)(t)?this.c.fromHTML(t):(0,u.hasContainer)(t)?t.container:t,i.push(n),n.parentNode!==e&&e.appendChild(n)}),(0,c.toArray)(e.childNodes).forEach(t=>{-1===i.indexOf(t)&&e.removeChild(t)})}__onMouseUp(){(this.draggable||this.resizable)&&(this.__removeGlobalResizeListeners(),this.draggable=!1,this.resizable=!1,this.unlockSelect(),this.e&&(this.__removeGlobalResizeListeners(),this.e.fire(this,"endResize endMove")))}__onHeaderMouseDown(e){let t=e.target;!(!this.o.draggable||t&&t.nodeName.match(/^(INPUT|SELECT)$/))&&(this.draggable=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.x=(0,d.css)(this.dialog,"left"),this.startPoint.y=(0,d.css)(this.dialog,"top"),this.setMaxZIndex(),e.cancelable&&e.preventDefault(),this.lockSelect(),this.__addGlobalResizeListeners(),this.e&&(this.e.fire(this,"startMove"),this.e.fire("closeAllPopups")))}__onMouseMove(e){this.draggable&&this.o.draggable&&(this.setPosition(this.startPoint.x+e.clientX-this.startX,this.startPoint.y+e.clientY-this.startY),this.e&&this.e.fire(this,"move",e.clientX-this.startX,e.clientY-this.startY),e.stopImmediatePropagation()),this.resizable&&this.o.resizable&&(this.setSize(this.startPoint.w+e.clientX-this.startX,this.startPoint.h+e.clientY-this.startY),this.e&&this.e.fire(this,"resizeDialog",e.clientX-this.startX,e.clientY-this.startY))}__onEsc(e){if(this.o.closeOnEsc&&this.isOpened&&e.key===r.KEY_ESC&&!0!==this.getMod("static")){let t=this.getMaxZIndexDialog();t?t.close():this.close(),e.stopImmediatePropagation()}}__onResizerMouseDown(e){this.resizable=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.w=this.dialog.offsetWidth,this.startPoint.h=this.dialog.offsetHeight,this.lockSelect(),this.__addGlobalResizeListeners(),this.e&&this.e.fire(this,"startResize")}__addGlobalResizeListeners(){this.e.on(this.ow,"pointermove touchmove",this.__onMouseMove).on(this.ow,"pointerup touchend",this.__onMouseUp)}__removeGlobalResizeListeners(){this.e.off(this.ow,"mousemove pointermove",this.__onMouseMove).off(this.ow,"mouseup pointerup",this.__onMouseUp)}setSize(e,t){return null==e&&(e=this.dialog.offsetWidth),null==t&&(t=this.dialog.offsetHeight),(0,d.css)(this.dialog,{width:e,height:t}),this}calcAutoSize(){return this.setSize("auto","auto"),this.setSize(),this}setPosition(e,t){let i=this.ow.innerWidth,n=this.ow.innerHeight,o=i/2-this.dialog.offsetWidth/2,r=n/2-this.dialog.offsetHeight/2;return o<0&&(o=0),r<0&&(r=0),void 0!==e&&void 0!==t&&(this.offsetX=e,this.offsetY=t,this.moved=Math.abs(e-o)>100||Math.abs(t-r)>100),this.dialog.style.left=(e||o)+"px",this.dialog.style.top=(t||r)+"px",this}setHeader(e){return this.setElements(this.dialogbox_header,e),this}setContent(e){return this.setElements(this.dialogbox_content,e),this}setFooter(e){return this.setElements(this.dialogbox_footer,e),this.setMod("footer",!!e),this}getZIndex(){return parseInt((0,d.css)(this.container,"zIndex"),10)||0}getMaxZIndexDialog(){let e=0,t,i,n=this;return(0,d.$$)(".jodit-dialog",this.destination).forEach(o=>{t=o.component,i=parseInt((0,d.css)(o,"zIndex"),10),t.isOpened&&!isNaN(i)&&i>e&&(n=t,e=i)}),n}setMaxZIndex(){if(this.getMod("static"))return;let e=0x1312d04,t=0;(0,d.$$)(".jodit-dialog",this.destination).forEach(i=>{e=Math.max(isNaN(t=parseInt((0,d.css)(i,"zIndex"),10))?0:t,e)}),this.container.style.zIndex=(e+1).toString()}toggleFullSize(e){(0,u.isVoid)(e)&&(e=!this.getMod("fullsize")),this.setMod("fullsize",e),super.toggleFullSize(e)}open(e,t,i,n){if(l.eventEmitter.fire("closeAllPopups hideHelpers"),!1===this.e.fire(this,"beforeOpen"))return this;(0,u.isBoolean)(e)&&(i=e),(0,u.isBoolean)(t)&&(n=t),this.destroyAfterClose=!0===i;let o=(0,u.isBoolean)(e)?void 0:e,r=(0,u.isBoolean)(t)?void 0:t;return void 0!==r&&this.setHeader(r),o&&this.setContent(o),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}setModal(e){return this.isModal=!!e,this.setMod("modal",this.isModal),this}close(){if(this.isDestructed||!this.isOpened||!0===this.getMod("static"))return this;let{e}=this;return!1===e.fire(this,"beforeClose")||!1===e.fire("beforeClose",this)||(this.setMod("active",!1),this.isOpened=!1,this.isFullSize&&this.toggleFullSize(!1),a.Dom.safeRemove(this.container),this.__removeGlobalResizeListeners(),e.fire(this,"afterClose"),e.fire(this.ow,"joditCloseDialog"),this.destroyAfterClose&&this.destruct()),this}buildToolbar(){this.o.buttons&&this.toolbar.build((0,c.splitArray)(this.o.buttons)).setMod("mode","header").appendTo(this.dialogbox_toolbar)}destruct(){this.isInDestruct||(this.setStatus(o.STATUSES.beforeDestruct),this.isOpened&&this.close(),this.events&&(this.__removeGlobalResizeListeners(),this.events.off(this.container,"close_dialog",self.close).off(this.ow,"keydown",this.__onEsc).off(this.ow,"resize",this.__onResize)),super.destruct())}constructor(e={}){super(e),this.destroyAfterClose=!1,this.moved=!1,this.resizable=!1,this.draggable=!1,this.startX=0,this.startY=0,this.startPoint={x:0,y:0,w:0,h:0},this.lockSelect=()=>{this.setMod("moved",!0)},this.unlockSelect=()=>{this.setMod("moved",!1)},this.__onResize=()=>{this.options&&this.o.resizable&&!this.moved&&this.isOpened&&!this.offsetX&&!this.offsetY&&this.setPosition()},this.isModal=!1,this.isOpened=!1,this.options=(0,d.ConfigProto)(e,(0,d.ConfigProto)(g.Config.prototype.dialog,n.defaultOptions)),a.Dom.safeRemove(this.container);const t=this.getFullElName.bind(this);this.container=this.c.fromHTML(`<div class="jodit jodit-dialog ${this.componentName}">
239
239
  <div class="${t("overlay")}"></div>
240
240
  <div class="${this.getFullElName("panel")}">
241
241
  <div class="${t("header")}">
@@ -246,7 +246,7 @@
246
246
  <div class="${t("footer")}"></div>
247
247
  <div class="${t("resizer")}">${p.Icon.get("resize_handler")}</div>
248
248
  </div>
249
- </div>`),"rtl"===this.options.direction&&(this.container.style.direction="rtl",this.container.setAttribute("dir","rtl")),this.o.zIndex&&(this.container.style.zIndex=this.o.zIndex.toString()),(0,d.attr)(this.container,"role","dialog"),Object.defineProperty(this.container,"component",{value:this}),this.setMod("theme",this.o.theme||"default").setMod("resizable",!!this.o.resizable);const i=this.getElm("panel");(0,h.assert)(null!=i,"Panel element does not exist");const o=this.getElm("resizer");(0,h.assert)(null!=o,"Resizer element does not exist");const r=this.getElm("header-title");(0,h.assert)(null!=r,"header-title element does not exist");const s=this.getElm("content");(0,h.assert)(null!=s,"Content element does not exist");const c=this.getElm("footer");(0,h.assert)(null!=c,"Footer element does not exist");const f=this.getElm("header-toolbar");(0,h.assert)(null!=f,"header-toolbar element does not exist"),this.dialog=i,this.resizer=o,this.dialogbox_header=r,this.dialogbox_content=s,this.dialogbox_footer=c,this.dialogbox_toolbar=f,(0,d.css)(this.dialog,{maxWidth:this.options.maxWidth,minHeight:this.options.minHeight,minWidth:this.options.minWidth});const m=this.getElm("header");m&&this.e.on(m,"pointerdown touchstart",this.__onHeaderMouseDown),this.e.on(this.resizer,"mousedown touchstart",this.__onResizerMouseDown);const v=l.pluginSystem.get("fullsize");if((0,u.isFunction)(v)&&v(this),this.e.on(this.container,"close_dialog",this.close).on(this.ow,"keydown",this.__onEsc).on(this.ow,"resize",this.__onResize),this.o.closeOnClickOverlay){const e=this.getElm("overlay");(0,h.assert)(null!=e,"Overlay element does not exist"),this.e.on(e,"click",this.close)}}};b.defaultOptions={...f.View.defaultOptions,closeOnClickOverlay:!1,closeOnEsc:!0},v([s.autobind],b.prototype,"__onMouseUp",null),v([s.autobind],b.prototype,"__onHeaderMouseDown",null),v([s.autobind],b.prototype,"__onMouseMove",null),v([s.autobind],b.prototype,"__onEsc",null),v([s.autobind],b.prototype,"__onResizerMouseDown",null),v([s.autobind],b.prototype,"close",null),v([(0,s.hook)("ready")],b.prototype,"buildToolbar",null),b=n=v([s.component],b)},78614:function(e,t){t.default='<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> '},78644:function(e,t,i){i.d(t,{ToolbarButton:function(){return I}});var n=i(78213),o=i(45219),r=i(33433),s=i(87325),a=i(37133),l=i(2748),c=i(68345),u=i(23282),d=i(19306),h=i(72430),p=i(70799),f=i(56175),m=i(87058),g=i(38837),v=i(29960),b=i(37790),y=i(62843),S=i(72157),w=i(12153),_=i(56917),C=i(21491),k=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};let I=class e extends y.UIButton{className(){return"ToolbarButton"}getRole(){return"listitem"}updateAriaLabel(){if(super.updateAriaLabel(),this.trigger){let e=this.state.tooltip?this.jodit.i18n(this.state.tooltip):null;(0,v.attr)(this.trigger,"aria-label",e)}}get toolbar(){let e=(0,s.getComponentClass)("ToolbarCollection");return this.closest(e)}update(){var e,t;let{control:i,state:n}=this,o=this.toolbar;if(!o)return;let r=null==(e=i.value)?void 0:e.call(i,o.jodit,this);void 0!==r&&(n.value=r),n.disabled=this.__calculateDisabledStatus(o),n.activated=this.__calculateActivatedStatus(o),null==(t=i.update)||t.call(i,o.jodit,this)}__calculateActivatedStatus(e){var t,i;return(!(0,d.isJoditObject)(this.j)||!!this.j.editorIsActive)&&(null!=(i=(t=this.control).isActive)&&!!i.call(t,this.j,this)||!!(e&&e.shouldBeActive(this)))}__calculateDisabledStatus(e){var t,i;return!!(this.j.o.disabled||this.j.o.readonly&&(!this.j.o.activeButtonsInReadOnly||!this.j.o.activeButtonsInReadOnly.includes(this.control.name))||(null==(i=(t=this.control).isDisabled)?void 0:i.call(t,this.j,this)))||!!(e&&e.shouldBeDisabled(this))}onChangeActivated(){(0,v.attr)(this.button,"aria-pressed",this.state.activated),super.onChangeActivated()}onChangeText(){(0,u.isFunction)(this.control.template)?this.text.innerHTML=this.control.template(this.j,this.control.name,this.j.i18n(this.state.text)):super.onChangeText(),this.setMod("text-icons",!!this.text.innerText.trim().length)}onChangeTabIndex(){(0,v.attr)(this.button,"tabindex",this.state.tabIndex)}createContainer(){let e=this.componentName,t=this.j.c.span(e),i=super.createContainer();i.classList.remove(e),i.classList.add(e+"__button"),Object.defineProperty(i,"component",{value:this}),t.appendChild(i);let n=this.j.c.fromHTML(`<span role="button" aria-haspopup="true" aria-expanded="false" class="${e}__trigger">${w.Icon.get("chevron")}</span>`);return i.appendChild(n),t}focus(){var e;null==(e=this.container.querySelector("button"))||e.focus()}onChangeHasTrigger(){this.state.hasTrigger?this.container.appendChild(this.trigger):l.Dom.safeRemove(this.trigger),this.setMod("with-trigger",this.state.hasTrigger||null)}onChangeDisabled(){let e=this.state.disabled?"disabled":null;(0,v.attr)(this.trigger,"disabled",e),(0,v.attr)(this.button,"disabled",e),(0,v.attr)(this.container,"disabled",e)}__initFromControl(){var e;let{control:t,state:i}=this;this.updateSize(),i.name=t.name;let{textIcons:n}=this.j.o;if(!0===n||(0,u.isFunction)(n)&&n(t.name)||t.template)i.icon=(0,y.UIButtonState)().icon,i.text=t.text||t.name;else{if(t.iconURL)i.icon.iconURL=t.iconURL;else{let n=t.icon||t.name;i.icon.name=w.Icon.exists(n)||(null==(e=this.j.o.extraIcons)?void 0:e[n])?n:""}t.iconURL||i.icon.name||(i.text=t.text||t.name)}t.tooltip&&(i.tooltip=(0,u.isFunction)(t.tooltip)?t.tooltip(this.j,t,this):t.tooltip),i.hasTrigger=!!(t.list||t.popup&&t.exec)}onTriggerClick(e){var t,i,n;if(this.openedPopup)return void this.__closePopup();let{control:o}=this;if((0,v.attr)(this.trigger,"aria-expanded",!0),e.buffer={actionTrigger:this},o.list)return this.__openControlList(o);if((0,u.isFunction)(o.popup)){let e=this.openPopup();e.parentElement=this;try{if(!1!==this.j.e.fire((0,m.camelCase)(`before-${o.name}-open-popup`),this.target,o,e)){let r=null!=(n=null!=(i=null==(t=this.toolbar)?void 0:t.getTarget(this))?i:this.target)?n:null,s=o.popup(this.j,r,this.__closePopup,this);s?e.setContent((0,p.isString)(s)?this.j.c.fromHTML(s):s).open(()=>(0,f.position)(this.container),!1,this.j.o.allowTabNavigation?this.container:void 0):this.__closePopup()}}catch(e){throw this.__closePopup(),e}this.j.e.fire((0,m.camelCase)(`after-${o.name}-open-popup`),e.container)}}__openControlList(e){var t;let i=null!=(t=this.jodit.options.controls)?t:{},n=e=>(0,S.findControlType)(e,i),o=e.list,r=this.openPopup(),s=(0,C.makeCollection)(this.j);r.parentElement=this,s.parentElement=r,s.mode="vertical";let a=(t,i)=>{let o;if((0,p.isString)(i)&&n(i))return{name:i.toString(),...n(i)};if((0,p.isString)(t)&&n(t))return{name:t.toString(),...n(t),..."object"==typeof i?i:{}};o=t,(0,h.isPlainObject)(o)&&"title"in o&&"value"in o&&(i=t.value,t=t.title);let{childTemplate:r}=e,s={name:t.toString(),template:r&&((e,t,i)=>r(e,t,i,this)),exec:e.childExec?(t,i,n)=>{var o;return null==(o=e.childExec)?void 0:o.call(e,t,i,{...n,parentControl:e})}:e.exec,data:e.data,command:e.command,isActive:e.isChildActive,value:e.value,isDisabled:e.isChildDisabled,mode:e.mode,args:[...e.args?e.args:[],t,i]};return(0,p.isString)(i)&&(s.text=i),s};s.build((0,c.isArray)(o)?o.map(a):(0,b.keys)(o,!1).map(e=>a(e,o[e])),this.target),r.setContent(s).open(()=>(0,f.position)(this.container),!1,this.j.o.allowTabNavigation?this.container:void 0),this.state.activated=!0}onOutsideClick(e){this.openedPopup&&(e&&l.Dom.isNode(e.target)&&(l.Dom.isOrContains(this.container,e.target)||this.openedPopup.isOwnClick(e))||this.__closePopup())}openPopup(){return this.__closePopup(),this.openedPopup=new _.Popup(this.j,!1),this.j.e.on(this.ow,"mousedown touchstart",this.onOutsideClick).on("escape closeAllPopups",this.onOutsideClick),this.openedPopup}__closePopup(){this.openedPopup&&(this.j.e.off(this.ow,"mousedown touchstart",this.onOutsideClick).off("escape closeAllPopups",this.onOutsideClick),this.state.activated=!1,this.openedPopup.close(),this.openedPopup.destruct(),this.openedPopup=null,this.trigger&&(0,v.attr)(this.trigger,"aria-expanded",!1))}onClick(e){var t,i,n,o,r,s,a;let{control:l}=this;if((0,u.isFunction)(l.exec)){let c=null!=(n=null!=(i=null==(t=this.toolbar)?void 0:t.getTarget(this))?i:this.target)?n:null,u=l.exec(this.j,c,{control:l,originalEvent:e,button:this});if(!1!==u&&!0!==u&&(null==(r=null==(o=this.j)?void 0:o.e)||r.fire("synchro"),this.parentElement&&this.parentElement.update(),null==(a=null==(s=this.j)?void 0:s.e)||a.fire("closeAllPopups afterExec")),!1!==u)return}return l.list?this.__openControlList(l):(0,u.isFunction)(l.popup)?this.onTriggerClick(e):void((l.command||l.name)&&((0,b.call)((0,d.isJoditObject)(this.j)?this.j.execCommand.bind(this.j):this.j.od.execCommand.bind(this.j.od),l.command||l.name,!1,l.args&&l.args[0]),this.j.e.fire("closeAllPopups")))}destruct(){return this.__closePopup(),super.destruct()}constructor(e,t,i=null){super(e),this.control=t,this.target=i,this.state={...(0,y.UIButtonState)(),theme:"toolbar",currentValue:"",hasTrigger:!1},this.openedPopup=null;const o=this.getElm("button");(0,g.assert)(o,"Element button should exists"),this.button=o,Object.defineProperty(o,"component",{value:this,configurable:!0});const r=this.getElm("trigger");(0,g.assert)(r,"Element trigger should exists"),this.trigger=r,r.remove(),e.e.on([this.button,this.trigger],"mousedown",e=>e.preventDefault()),this.onAction(this.onClick),this.hookStatus(n.STATUSES.ready,()=>{this.__initFromControl(),this.update()}),t.mods&&Object.keys(t.mods).forEach(e=>{t.mods&&this.setMod(e,t.mods[e])})}};k([r.cacheHTML],I.prototype,"createContainer",null),k([(0,a.watch)("state.hasTrigger",{immediately:!1})],I.prototype,"onChangeHasTrigger",null),k([(0,a.watch)("trigger:click")],I.prototype,"onTriggerClick",null),k([o.autobind],I.prototype,"onOutsideClick",null),k([o.autobind],I.prototype,"__closePopup",null),I=k([s.component],I)},78720:function(e,t,i){i.d(t,{checkBlockNesting:function(){return o}});var n=i(2748);function o(e,t){if(n.Dom.isFragment(t)&&(t=t.firstChild),e.o.dtd.checkBlockNesting&&n.Dom.isBlock(t)){let t=n.Dom.furthest(e.s.current(),n.Dom.isBlock,e.editor);t&&!e.o.dtd.blockLimits[t.tagName.toLowerCase()]&&(e.s.setCursorAfter(t),n.Dom.isEmpty(t)&&n.Dom.safeRemove(t))}}},78818:function(e,t,i){i.d(t,{History:function(){return c}});var n=i(80480),o=i(81577),r=i(6441),s=i(92643),a=i(52604),l=i(57034);r.Config.prototype.history={enable:!0,maxHistoryLength:1/0,timeout:1e3};class c extends n.ViewComponent{className(){return"History"}redo(){this.__stack.redo()&&(this.startValue=this.snapshot.make(),this.fireChangeStack())}canRedo(){return this.__stack.canRedo()}undo(){this.__stack.undo()&&(this.startValue=this.snapshot.make(),this.fireChangeStack())}canUndo(){return this.__stack.canUndo()}clear(){this.startValue=this.snapshot.make(),this.__stack.clear(),this.fireChangeStack()}get length(){return this.__stack.length}get startValue(){return this.__startValue}set startValue(e){this.__startValue=e}__upTick(){this.updateTick+=1}onChange(){this.__processChanges()}__processChanges(){!this.snapshot.isBlocked&&this.j.o.history.enable&&this.updateStack()}updateStack(e=!1){let t=this.snapshot.make();if(!a.Snapshot.equal(t,this.startValue)){let i=new s.Command(this.startValue,t,this,this.updateTick);if(e){let e=this.__stack.current();e&&this.updateTick===e.tick&&this.__stack.replace(i)}else this.__stack.push(i);this.startValue=t,this.fireChangeStack()}}fireChangeStack(){var e;this.j&&!this.j.isInDestruct&&(null==(e=this.j.events)||e.fire("changeStack"))}destruct(){this.isInDestruct||(this.j.events&&this.j.e.off(".history"),this.snapshot.destruct(),super.destruct())}constructor(e,t=new l.Stack(e.o.history.maxHistoryLength),i=new a.Snapshot(e)){super(e),this.updateTick=0,this.__stack=t,this.snapshot=i,e.o.history.enable&&e.e.on("afterAddPlace.history",()=>{this.isInDestruct||(this.startValue=this.snapshot.make(),e.events.on("internalChange internalUpdate",()=>{this.startValue=this.snapshot.make()}).on(e.editor,["changeSelection","selectionstart","selectionchange","mousedown","mouseup","keydown","keyup"].map(e=>e+".history").join(" "),()=>{this.startValue.html===this.j.getNativeEditorValue()&&(this.startValue=this.snapshot.make())}).on(this,"change.history",this.onChange))})}}!function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);r>3&&s&&Object.defineProperty(t,i,s)}([(0,o.debounce)()],c.prototype,"onChange",null)},78927:function(e,t,i){i.d(t,{idle:function(){return s}});var n=i(91907),o=i(23282),r=i(89890);function s(){return(e,t)=>{if(!(0,o.isFunction)(e[t]))throw(0,r.error)("Handler must be a Function");e.hookStatus(n.STATUSES.ready,e=>{let{async:i}=e,n=e[t];e[t]=(...t)=>i.requestIdleCallback(n.bind(e,...t))})}}},79348:function(e,t,i){i.d(t,{Selection:function(){return p}});var n=i(82758),o=i(65478),r=i(2748),s=i(21537),a=i(27613),l=i(38837),c=i(43463),u=i(25639),d=i(45124),h=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};class p{get j(){return this.jodit}errorNode(e){if(!r.Dom.isNode(e))throw(0,s.error)("Parameter node must be instance of Node")}get area(){return this.j.editor}get win(){return this.j.ew}get doc(){return this.j.ed}get sel(){return this.j.o.shadowRoot&&(0,a.isFunction)(this.j.o.shadowRoot.getSelection)?this.j.o.shadowRoot.getSelection():this.win.getSelection()}get range(){let e=this.sel;return e&&e.rangeCount?e.getRangeAt(0):this.createRange()}get isInsideArea(){let{sel:e}=this,t=(null==e?void 0:e.rangeCount)?e.getRangeAt(0):null;return!(!t||!r.Dom.isOrContains(this.area,t.startContainer))}createRange(e=!1){let t=this.doc.createRange();return e&&this.selectRange(t),t}remove(){let e=this.sel,t=this.current();if(e&&t)for(let t=0;t<e.rangeCount;t+=1)e.getRangeAt(t).deleteContents(),e.getRangeAt(t).collapse(!0)}clear(){var e,t;(null==(e=this.sel)?void 0:e.rangeCount)&&(null==(t=this.sel)||t.removeAllRanges())}removeNode(e){if(!r.Dom.isOrContains(this.j.editor,e,!0))throw(0,s.error)("Selection.removeNode can remove only editor's children");r.Dom.safeRemove(e),this.j.e.fire("afterRemoveNode",e)}insertCursorAtPoint(e,t){this.removeMarkers();try{let i=this.createRange();return(()=>{if(this.doc.caretPositionFromPoint){let n=this.doc.caretPositionFromPoint(e,t);if(n)return i.setStart(n.offsetNode,n.offset)}if(this.doc.caretRangeFromPoint){let n=this.doc.caretRangeFromPoint(e,t);(0,l.assert)(n,"Incorrect caretRangeFromPoint behaviour"),i.setStart(n.startContainer,n.startOffset)}})(),i.collapse(!0),this.selectRange(i),!0}catch(e){}return!1}get hasMarkers(){return!!this.markers.length}get markers(){return(0,s.$$)("span[data-"+n.MARKER_CLASS+"]",this.area)}removeMarkers(){r.Dom.safeRemove.apply(null,this.markers)}marker(e=!1,t){let i=null;t&&(i=t.cloneRange()).collapse(e);let o=this.j.createInside.span();return o.id=n.MARKER_CLASS+"_"+Number(new Date)+"_"+(Math.random()+"").slice(2),o.style.lineHeight="0",o.style.display="none",r.Dom.markTemporary(o),(0,s.attr)(o,"data-"+n.MARKER_CLASS,e?"start":"end"),o.appendChild(this.j.createInside.text(n.INVISIBLE_SPACE)),i&&r.Dom.isOrContains(this.area,e?i.startContainer:i.endContainer)&&i.insertNode(o),o}restore(){let e=!1,t=e=>`span[data-${n.MARKER_CLASS}=${e?"start":"end"}]`,i=this.area.querySelector(t(!0)),o=this.area.querySelector(t(!1));if(i){if(e=this.createRange(),o)e.setStartAfter(i),r.Dom.safeRemove(i),e.setEndBefore(o),r.Dom.safeRemove(o);else{let t=i.previousSibling;r.Dom.isText(t)?e.setStart(t,t.nodeValue?t.nodeValue.length:0):e.setStartBefore(i),r.Dom.safeRemove(i),e.collapse(!0)}e&&this.selectRange(e)}}fakes(){let e=this.sel;if(!e||!e.rangeCount)return[];let t=e.getRangeAt(0);(0,l.assert)(t,"Range is null");let i=t.cloneRange();i.collapse(!0);let n=this.j.createInside.fake();r.Dom.safeInsertNode(i,n),t.setStartBefore(n);let o=[n];if(!t.collapsed){let e=t.cloneRange();e.collapse(!1);let i=this.j.createInside.fake();r.Dom.safeInsertNode(e,i),t.setEndAfter(i),o.push(i)}return this.selectRange(t),o}restoreFakes(e){var t,i,n,o;let s=e.filter(e=>e.isConnected);if(!s.length)return;let[a,l]=s,c=this.createRange();c.setStartAfter(a),l&&c.setEndBefore(l),this.selectRange(c),(null==(t=a.parentNode)?void 0:t.firstChild)!==(null==(i=a.parentNode)?void 0:i.lastChild)&&r.Dom.safeRemove(a),(null==(n=null==l?void 0:l.parentNode)?void 0:n.firstChild)!==(null==(o=null==l?void 0:l.parentNode)?void 0:o.lastChild)&&r.Dom.safeRemove(l)}save(e=!1){if(this.hasMarkers)return[];let t=this.sel;if(!t||!t.rangeCount)return[];let i=[],n=t.rangeCount,o=[];for(let e=0;n>e;e+=1)if(o[e]=t.getRangeAt(e),o[e].collapsed){let t=this.marker(!0,o[e]);i[e]={startId:t.id,collapsed:!0,startMarker:t.outerHTML}}else{let t=this.marker(!0,o[e]),n=this.marker(!1,o[e]);i[e]={startId:t.id,endId:n.id,collapsed:!1,startMarker:t.outerHTML,endMarker:n.outerHTML}}if(!e){t.removeAllRanges();for(let e=n-1;e>=0;--e){let n=this.doc.getElementById(i[e].startId);if(n){if(i[e].collapsed)o[e].setStartAfter(n),o[e].collapse(!0);else if(o[e].setStartBefore(n),i[e].endId){let t=this.doc.getElementById(i[e].endId);t&&o[e].setEndAfter(t)}try{t.addRange(o[e].cloneRange())}catch(e){}}}}return i}focus(e={preventScroll:!0}){var t,i;if(!this.isFocused()){let n=(0,s.getScrollParent)(this.j.container),o=null==n?void 0:n.scrollTop;this.j.iframe&&"complete"===this.doc.readyState&&this.j.iframe.focus(e),this.win.focus(),this.area.focus(e),o&&(null==n?void 0:n.scrollTo)&&n.scrollTo(0,o);let a=this.sel,l=(null==a?void 0:a.rangeCount)?null==a?void 0:a.getRangeAt(0):null;if(!l||!r.Dom.isOrContains(this.area,l.startContainer)){let e=this.createRange();e.setStart(this.area,0),e.collapse(!0),this.selectRange(e,!1)}return this.j.editorIsActive||null==(i=null==(t=this.j)?void 0:t.events)||i.fire("focus"),!0}return!1}isCollapsed(){let e=this.sel;for(let t=0;e&&t<e.rangeCount;t+=1)if(!e.getRangeAt(t).collapsed)return!1;return!0}isFocused(){return this.doc.hasFocus&&this.doc.hasFocus()&&this.area===this.doc.activeElement}current(e=!0){if(this.j.getRealMode()!==n.MODE_WYSIWYG)return null;let t=this.sel;if(!t||0===t.rangeCount)return null;let i=t.getRangeAt(0),o=i.startContainer,s=!1;if(r.Dom.isTag(o,"br")&&t.isCollapsed)return o;if(!r.Dom.isText(o)){let n=(0,d.findCorrectCurrentNode)(o,i,s,t.isCollapsed,e,e=>s?e.lastChild:e.firstChild);o=n.node,s=n.rightMode}return o&&r.Dom.isOrContains(this.area,o)?o:null}insertNode(e,t=!0,i=!0){this.errorNode(e);let n=r.Dom.isFragment(e)?e.lastChild:e;this.j.e.fire("safeHTML",e),!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore());let o=this.sel;this.j.history.snapshot.transaction(()=>{if(this.isCollapsed()||this.j.execCommand("Delete"),this.j.e.fire("beforeInsertNode",e),o&&o.rangeCount){let t=o.getRangeAt(0),{firstChild:i}=e;r.Dom.isOrContains(this.area,t.commonAncestorContainer)?r.Dom.safeInsertNode(t,e):this.area.appendChild(e),[()=>null==i?void 0:i.previousSibling,()=>null==i?void 0:i.previousSibling,()=>{var e;return null==(e=null==i?void 0:i.previousSibling)?void 0:e.lastChild}].forEach(e=>{let t=e();t&&r.Dom.isEmptyTextNode(t)&&r.Dom.safeRemove(t)})}else this.area.appendChild(e);let i=e=>{if(r.Dom.isBlock(e)){let t=e.lastChild;if(t)return i(t)}this.setCursorAfter(e)};t&&(r.Dom.isFragment(e)?n&&i(n):i(e)),this.j.o.scrollToPastedContent&&(0,s.scrollIntoViewIfNeeded)(null!=n?n:e,this.j.editor,this.doc)}),i&&this.j.events&&this.j.__imdSynchronizeValues(),this.j.events&&this.j.e.fire("afterInsertNode",r.Dom.isFragment(e)?n:e)}insertHTML(e,t=!0){if(""===e)return;let i=this.j.createInside.div(),n=this.j.createInside.fragment();if(!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore()),r.Dom.isNode(e)?i.appendChild(e):i.innerHTML=e.toString(),(this.j.isEditorMode()||!1!==this.j.e.fire("insertHTML",i.innerHTML))&&i.lastChild){for(;i.firstChild;)i.firstChild,n.appendChild(i.firstChild);this.insertNode(n,t,!1),this.j.__imdSynchronizeValues()}}insertImage(e,t=null,i=null){let n=(0,a.isString)(e)?this.j.createInside.element("img"):e;if((0,a.isString)(e)&&n.setAttribute("src",e),null!=i){let e=i.toString();e&&"auto"!==e&&0>(e+"").indexOf("px")&&0>(e+"").indexOf("%")&&(e+="px"),(0,s.attr)(n,"width",e)}t&&"object"==typeof t&&(0,s.css)(n,t);let o=()=>{(n.naturalHeight<n.offsetHeight||n.naturalWidth<n.offsetWidth)&&(n.style.width="",n.style.height=""),n.removeEventListener("load",o)};this.j.e.on(n,"load",o),n.complete&&o(),this.insertNode(n),this.j.e.fire("afterInsertImage",n)}eachSelection(e){var t;let i=this.sel;if(!i||!i.rangeCount)return;let o=i.getRangeAt(0),l=o.commonAncestorContainer;r.Dom.isHTMLElement(l)||(l=l.parentElement);let c=[],u=o.startOffset,d=l.childNodes.length,h=o.startContainer===this.area?l.childNodes[u<d?u:d-1]:o.startContainer,p=o.endContainer===this.area?l.childNodes[o.endOffset-1]:o.endContainer;r.Dom.isText(h)&&h===o.startContainer&&o.startOffset===(null==(t=h.nodeValue)?void 0:t.length)&&h.nextSibling&&(h=h.nextSibling),r.Dom.isText(p)&&p===o.endContainer&&0===o.endOffset&&p.previousSibling&&(p=p.previousSibling);let f=e=>{!e||e===l||r.Dom.isEmptyTextNode(e)||(0,a.isMarker)(e)||c.push(e)};f(h),h!==p&&r.Dom.isOrContains(l,h,!0)&&r.Dom.find(h,e=>(f(e),e===p||e&&e.contains&&e.contains(p)),l,!0,!1);let m=t=>{if(r.Dom.isOrContains(this.j.editor,t,!0)){if(t.nodeName.match(/^(UL|OL)$/))return(0,s.toArray)(t.childNodes).forEach(m);if(r.Dom.isTag(t,"li"))if(t.firstChild)t=t.firstChild;else{let e=this.j.createInside.text(n.INVISIBLE_SPACE);t.appendChild(e),t=e}e(t)}};0===c.length&&(r.Dom.isEmptyTextNode(h)&&c.push(h),h.firstChild&&c.push(h.firstChild)),c.forEach(m)}cursorInTheEdge(e,t,i=null){var n;let o=!e,a=null==(n=this.sel)?void 0:n.getRangeAt(0);if(null!=i||(i=this.current(!1)),!a||!i||!r.Dom.isOrContains(t,i,!0))return null;let l=e?a.startContainer:a.endContainer,c=e?a.startOffset:a.endOffset,u=e=>!!(e&&!r.Dom.isTag(e,"br")&&!r.Dom.isEmptyTextNode(e)&&!r.Dom.isTemporary(e)&&!(r.Dom.isElement(e)&&!0===this.j.e.fire("isInvisibleForCursor",e)));if(r.Dom.isText(l)){if((0,d.cursorInTheEdgeOfString)(l,c,e,o))return!1}else{let e=(0,s.toArray)(l.childNodes);if(o){if(e.slice(c).some(u))return!1}else if(e.slice(0,c).some(u))return!1}let h=i;for(;h&&h!==t;){let t=r.Dom.sibling(h,e);if(!t){h=h.parentNode;continue}if((h=t)&&u(h))return!1}return!0}cursorOnTheLeft(e,t){return this.cursorInTheEdge(!0,e,t)}cursorOnTheRight(e,t){return this.cursorInTheEdge(!1,e,t)}setCursorAfter(e){return this.setCursorNearWith(e,!1)}setCursorBefore(e){return this.setCursorNearWith(e,!0)}setCursorNearWith(e,t){var i,n;if(this.errorNode(e),!r.Dom.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,s.error)("Node element must be in editor");let o=this.createRange(),a=null;return r.Dom.isText(e)?t?o.setStart(e,0):o.setEnd(e,null!=(n=null==(i=e.nodeValue)?void 0:i.length)?n:0):(a=this.j.createInside.fake(),t?o.setStartBefore(e):o.setEndAfter(e),o.collapse(t),r.Dom.safeInsertNode(o,a),o.selectNode(a)),o.collapse(t),this.selectRange(o),a}setCursorIn(e,t=!1){if(this.errorNode(e),!r.Dom.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,s.error)("Node element must be in editor");let i=this.createRange(),o=e,a=e;do{if(r.Dom.isText(o)||r.Dom.isTag(o,n.INSEPARABLE_TAGS))break;a=o,o=t?o.firstChild:o.lastChild}while(o)if(!o){let e=this.j.createInside.text(n.INVISIBLE_SPACE);r.Dom.isTag(a,n.INSEPARABLE_TAGS)?o=a:(a.appendChild(e),a=e)}let l=o||a;return r.Dom.isTag(l,n.INSEPARABLE_TAGS)?t||r.Dom.isTag(l,"br")?i.setStartBefore(l):i.setEndAfter(l):i.selectNodeContents(l),i.collapse(t),this.selectRange(i),a}selectRange(e,t=!0){let i=this.sel;return t&&!this.isFocused()&&this.focus(),i&&(i.removeAllRanges(),i.addRange(e)),this.j.e.fire("changeSelection"),this}select(e,t=!1){if(this.errorNode(e),!r.Dom.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,s.error)("Node element must be in editor");let i=this.createRange();return i[t?"selectNodeContents":"selectNode"](e),this.selectRange(i)}get html(){let e=this.sel;if(e&&e.rangeCount>0){let t=e.getRangeAt(0).cloneContents(),i=this.j.createInside.div();return i.appendChild(t),i.innerHTML}return""}*wrapInTagGen(e){if(this.isCollapsed()){let t=this.jodit.createInside.element("font",n.INVISIBLE_SPACE);this.insertNode(t,!1,!1),e&&e[0]&&t.appendChild(e[0]),yield t,r.Dom.unwrap(t);return}for(let e of((0,s.$$)("*[style*=font-size]",this.area).forEach(e=>{(0,s.attr)(e,"data-font-size",e.style.fontSize.toString()),e.style.removeProperty("font-size")}),this.j.nativeExecCommand("fontsize",!1,"7"),(0,s.$$)("*[data-font-size]",this.area).forEach(e=>{let t=(0,s.attr)(e,"data-font-size");t&&(e.style.fontSize=t,(0,s.attr)(e,"data-font-size",null))}),(0,s.$$)('font[size="7"]',this.area))){let{firstChild:t,lastChild:i}=e;if(t&&t===i&&(0,a.isMarker)(t)){r.Dom.unwrap(e);continue}t&&(0,a.isMarker)(t)&&r.Dom.before(e,t),i&&(0,a.isMarker)(i)&&r.Dom.after(e,i),yield e,r.Dom.unwrap(e)}}wrapInTag(e){let t=[];for(let i of this.wrapInTagGen())try{if(i.firstChild&&i.firstChild===i.lastChild&&(0,a.isMarker)(i.firstChild))continue;(0,a.isFunction)(e)?e(i):t.push(r.Dom.replace(i,e,this.j.createInside))}finally{let e=i.parentNode;e&&(r.Dom.unwrap(i),r.Dom.isEmpty(e)&&r.Dom.unwrap(e))}return t}commitStyle(e){(0,l.assert)((0,s.size)(e)>0,"Need to pass at least one option"),new u.CommitStyle(e).apply(this.j)}splitSelection(e,t){if(!this.isCollapsed())return null;let i=this.createRange(),o=this.range;i.setStartBefore(e);let s=this.cursorOnTheRight(e,t),a=this.cursorOnTheLeft(e,t),c=this.j.createInside.element("br"),u=this.j.createInside.fake(),d=u.cloneNode();try{if(s||a){t?r.Dom.before(t,c):r.Dom.safeInsertNode(o,c);let e=(e,t)=>{let i=t(e);for(;i;){let e=t(i);if(i&&(r.Dom.isTag(i,"br")||r.Dom.isEmptyTextNode(i)))r.Dom.safeRemove(i);else break;i=e}};e(c,e=>e.nextSibling),e(c,e=>e.previousSibling),r.Dom.after(c,d),r.Dom.before(c,u),s?(i.setEndBefore(c),o.setEndBefore(c)):(i.setEndAfter(c),o.setEndAfter(c))}else i.setEnd(o.startContainer,o.startOffset);let h=i.extractContents(),p=e=>r.Dom.each(e,e=>r.Dom.isEmptyTextNode(e)&&r.Dom.safeRemove(e));(0,l.assert)(e.parentNode,"Splitting fails");try{if(p(h),p(e),e.parentNode.insertBefore(h,e),!t&&s&&(null==c?void 0:c.parentNode)){let e=this.createRange();e.setStartBefore(c),this.selectRange(e)}}catch(e){if(!n.IS_PROD)throw e}let f=e=>{var t,i,n;(null==(t=null==e?void 0:e.parentNode)?void 0:t.firstChild)===(null==(i=null==e?void 0:e.parentNode)?void 0:i.lastChild)&&(null==(n=null==e?void 0:e.parentNode)||n.appendChild(c.cloneNode()))};f(u),f(d)}finally{r.Dom.safeRemove(u),r.Dom.safeRemove(d)}return e.previousElementSibling}expandSelection(){if(this.isCollapsed())return this;let{range:e}=this,t=e.cloneRange();if(!r.Dom.isOrContains(this.j.editor,e.commonAncestorContainer,!0))return this;let i=t=>{let i=this.j.createInside.fake(),n=e.cloneRange();return n.collapse(t),r.Dom.safeInsertNode(n,i),(0,c.moveTheNodeAlongTheEdgeOutward)(i,t,this.j.editor),i},n=i(!0),o=i(!1);t.setStartAfter(n),t.setEndBefore(o);let a=r.Dom.findSibling(n,!1),l=r.Dom.findSibling(o,!0);if(a!==l){let e=r.Dom.isElement(a)&&r.Dom.isOrContains(a,o),i=!e&&r.Dom.isElement(l)&&r.Dom.isOrContains(l,n);if(e||i){let i=e?a:l,s=i;for(;r.Dom.isElement(i);)(i=e?i.firstElementChild:i.lastElementChild)&&(e?r.Dom.isOrContains(i,o):r.Dom.isOrContains(i,n))&&(s=i);e?t.setStart(s,0):t.setEnd(s,s.childNodes.length)}}if(this.selectRange(t),r.Dom.safeRemove(n,o),this.isCollapsed())throw(0,s.error)("Selection is collapsed");return this}constructor(e){this.jodit=e,e.e.on("removeMarkers",()=>{this.removeMarkers()})}}h([o.autobind],p.prototype,"createRange",null),h([o.autobind],p.prototype,"focus",null),h([o.autobind],p.prototype,"setCursorAfter",null),h([o.autobind],p.prototype,"setCursorBefore",null),h([o.autobind],p.prototype,"setCursorIn",null)},79419:function(e,t,i){var n=i(12153),o=i(6441),r=i(94775),s=i(23140),a=i(92699),l=i(10052);o.Config.prototype.controls.cut={command:"cut",isDisabled:e=>e.s.isCollapsed(),tooltip:"Cut selection"},o.Config.prototype.controls.copy={command:"copy",isDisabled:e=>e.s.isCollapsed(),tooltip:"Copy selection"},o.Config.prototype.controls.selectall={icon:"select-all",command:"selectall",tooltip:"Select all"},n.Icon.set("copy",r.default).set("cut",s.default).set("paste",a.default).set("select-all",l.default)},79799:function(e,t,i){var n=i(82758),o=i(65478),r=i(2748),s=i(580),a=i(21537),l=i(20356);i(84380);var c=i(117),u=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};class d extends l.Plugin{afterInit(e){e.e.on("paste.paste",this.onPaste).on("pasteStack.paste",e=>this.pasteStack.push(e)),e.o.nl2brInPlainText&&this.j.e.on("processPaste.paste",this.onProcessPasteReplaceNl2Br)}beforeDestruct(e){e.e.off("paste.paste",this.onPaste).off("processPaste.paste",this.onProcessPasteReplaceNl2Br).off(".paste")}onPaste(e){try{if(!1===this.customPasteProcess(e)||!1===this.j.e.fire("beforePaste",e))return e.preventDefault(),!1;this.defaultPasteProcess(e)}finally{this.j.e.fire("afterPaste",e)}}customPasteProcess(e){if(!this.j.o.processPasteHTML)return;let t=(0,a.getDataTransfer)(e),i=[null==t?void 0:t.getData(n.TEXT_PLAIN),null==t?void 0:t.getData(n.TEXT_HTML),null==t?void 0:t.getData(n.TEXT_RTF)];for(let t of i)if((0,a.isHTML)(t)&&(this.j.e.fire("processHTML",e,t,{plain:i[0],html:i[1],rtf:i[2]})||this.processHTML(e,t)))return!1}defaultPasteProcess(e){let t=(0,a.getDataTransfer)(e),i=(null==t?void 0:t.getData(n.TEXT_HTML))||(null==t?void 0:t.getData(n.TEXT_PLAIN));if(t&&i&&""!==(0,a.trim)(i)){let n=this.j.e.fire("processPaste",e,i,(0,c.getAllTypes)(t));void 0!==n&&(i=n),((0,a.isString)(i)||r.Dom.isNode(i))&&this.__insertByType(e,i,this.j.o.defaultActionOnPaste),e.preventDefault(),e.stopPropagation()}}processHTML(e,t){if(!this.j.o.askBeforePasteHTML)return!1;if(this.j.o.memorizeChoiceWhenPasteFragment){let i=this.pasteStack.find(e=>e.html===t);if(i)return this.__insertByType(e,t,i.action||this.j.o.defaultActionOnPaste),!0}if(this._isDialogOpened)return!0;let i=(0,c.askInsertTypeDialog)(this.j,"Your code is similar to HTML. Keep as HTML?","Paste as HTML",i=>{this._isDialogOpened=!1,this.__insertByType(e,t,i)},this.j.o.pasteHTMLActionList);return i&&(this._isDialogOpened=!0,i.e.on("beforeClose",()=>{this._isDialogOpened=!1})),!0}__insertByType(e,t,i){if(this.pasteStack.push({html:t,action:i}),(0,a.isString)(t))switch(this.j.buffer.set(n.CLIPBOARD_ID,t),i){case n.INSERT_CLEAR_HTML:t=(0,a.cleanFromWord)(t);break;case n.INSERT_ONLY_TEXT:t=(0,a.stripTags)(t,this.j.ed,new Set(this.j.o.pasteExcludeStripTags));break;case n.INSERT_AS_TEXT:t=(0,a.htmlspecialchars)(t);break;default:{let n=this.j.e.fire("onCustomPasteHTMLOption",i,t,e);"string"==typeof n&&(t=n)}}(0,c.pasteInsertHtml)(e,this.j,t)}onProcessPasteReplaceNl2Br(e,t,i){if(i===n.TEXT_PLAIN+";"&&!(0,a.isHTML)(t))return(0,a.nl2br)(t)}constructor(){super(...arguments),this.pasteStack=new a.LimitedStack(20),this._isDialogOpened=!1}}u([o.autobind],d.prototype,"onPaste",null),u([o.autobind],d.prototype,"onProcessPasteReplaceNl2Br",null),s.pluginSystem.add("paste",d)},79910:function(e,t){t.default={"Type something":"إبدأ في الكتابة...","About Jodit":"حول جوديت","Jodit Editor":"محرر جوديت","Jodit User's Guide":"دليل مستخدم جوديت","contains detailed help for using":"يحتوي على مساعدة مفصلة للاستخدام","For information about the license, please go to our website:":"للحصول على معلومات حول الترخيص، يرجى الذهاب لموقعنا:","Buy full version":"شراء النسخة الكاملة","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"حقوق الطبع والنشر © XDSoft.net - Chupurnov Valeriy. كل الحقوق محفوظة.",Anchor:"مِرْساة","Open in new tab":"فتح في نافذة جديدة","Open in fullsize":"فتح المحرر في الحجم الكامل","Clear Formatting":"مسح التنسيق","Fill color or set the text color":"ملء اللون أو تعيين لون النص",Redo:"إعادة",Undo:"تراجع",Bold:"عريض",Italic:"مائل","Insert Unordered List":"إدراج قائمة غير مرتبة","Insert Ordered List":"إدراج قائمة مرتبة","Align Center":"محاذاة للوسط","Align Justify":"محاذاة مثبتة","Align Left":"محاذاة لليسار","Align Right":"محاذاة لليمين","Insert Horizontal Line":"إدراج خط أفقي","Insert Image":"إدراج صورة","Insert file":"ادخال الملف","Insert youtube/vimeo video":"إدراج فيديو يوتيوب/فيميو ","Insert link":"إدراج رابط","Font size":"حجم الخط","Font family":"نوع الخط","Insert format block":"إدراج كتلة تنسيق",Normal:"عادي","Heading 1":"عنوان 1","Heading 2":"عنوان 2","Heading 3":"عنوان 3","Heading 4":"عنوان 4",Quote:"إقتباس",Code:"كود",Insert:"إدراج","Insert table":"إدراج جدول","Decrease Indent":"تقليل المسافة البادئة","Increase Indent":"زيادة المسافة البادئة","Select Special Character":"تحديد أحرف خاصة","Insert Special Character":"إدراج حرف خاص","Paint format":"تنسيق الرسم","Change mode":"تغيير الوضع",Margins:"هوامش",top:"أعلى",right:"يمين",bottom:"أسفل",left:"يسار",Styles:"الأنماط",Classes:"الطبقات",Align:"محاذاة",Right:"اليمين",Center:"الوسط",Left:"اليسار","--Not Set--":"--غير مضبوط--",Src:"Src",Title:"العنوان",Alternative:"العنوان البديل",Link:"الرابط","Open link in new tab":"افتح الرابط في نافذة جديدة",Image:"الصورة",file:"ملف",Advanced:"متقدم","Image properties":"خصائص الصورة",Cancel:"إلغاء",Ok:"حسنا","File Browser":"متصفح الملفات","Error on load list":"حدث خطأ في تحميل القائمة ","Error on load folders":"حدث خطأ في تحميل المجلدات","Are you sure?":"هل أنت واثق؟","Enter Directory name":"أدخل اسم المجلد","Create directory":"إنشاء مجلد","type name":"أكتب إسم","Drop image":"إسقاط صورة","Drop file":"إسقاط الملف","or click":"أو أنقر","Alternative text":"النص البديل",Upload:"رفع",Browse:"تصفح",Background:"الخلفية",Text:"نص",Top:"أعلى",Middle:"الوسط",Bottom:"الأسفل","Insert column before":"إدراج عمود قبل","Insert column after":"إدراج عمود بعد","Insert row above":"إدراج صف أعلى","Insert row below":"إدراج صف أسفل","Delete table":"حذف الجدول","Delete row":"حذف الصف","Delete column":"حذف العمود","Empty cell":"خلية فارغة","Chars: %d":"%d حرف","Words: %d":"%d كلام","Strike through":"اضرب من خلال",Underline:"أكد",superscript:"حرف فوقي",subscript:"مخطوطة","Cut selection":"قطع الاختيار","Select all":"اختر الكل",Break:"استراحة","Search for":"البحث عن","Replace with":"استبدل ب",Replace:"محل",Paste:"معجون","Choose Content to Paste":"اختر محتوى للصق",source:"مصدر",bold:"بالخط العريض",italic:"مائل",brush:"شغل",link:"صلة",undo:"إلغاء",redo:"كرر",table:"طاولة",image:"صورة",eraser:"نظيف",paragraph:"فقرة",fontsize:"حجم الخط",video:"فيديو",font:"الخط",about:"حول المحرر",print:"طباعة",underline:"أكد",strikethrough:"شطب",indent:"المسافة البادئة",outdent:"نتوء",fullsize:"ملء الشاشة",shrink:"الحجم التقليدي",hr:"الخط",ul:"قائمة",ol:"قائمة مرقمة",cut:"قطع",selectall:"اختر الكل","Embed code":"قانون","Open link":"فتح الرابط","Edit link":"تعديل الرابط","No follow":"سمة Nofollow",Unlink:"إزالة الرابط",Update:"تحديث",pencil:"لتحرير",Eye:"مراجعة"," URL":"URL",Edit:"تحرير","Horizontal align":"محاذاة أفقية",Filter:"فلتر","Sort by changed":"عن طريق التغيير","Sort by name":"بالاسم","Sort by size":"حسب الحجم","Add folder":"إضافة مجلد",Reset:"إعادة",Save:"احتفظ","Save as ...":"حفظ باسم",Resize:"تغيير الحجم",Crop:"حجم القطع",Width:"عرض",Height:"ارتفاع","Keep Aspect Ratio":"حافظ على النسب",Yes:"أن",No:"لا",Remove:"حذف",Select:"تميز","Select %s":"تميز %s","Vertical align":"محاذاة عمودية",Split:"انشق، مزق",Merge:"اذهب","Add column":"أضف العمود","Add row":"اضف سطر","License: %s":"رخصة %s",Delete:"حذف","Split vertical":"انقسام عمودي","Split horizontal":"تقسيم أفقي",Border:"الحدود","Your code is similar to HTML. Keep as HTML?":"يشبه الكود الخاص بك HTML. تبقي كما HTML؟","Paste as HTML":"الصق ك HTML",Keep:"احتفظ","Insert as Text":"إدراج كنص","Insert only Text":"إدراج النص فقط","You can only edit your own images. Download this image on the host?":"يمكنك فقط تحرير صورك الخاصة. تحميل هذه الصورة على المضيف؟","The image has been successfully uploaded to the host!":"تم تحميل الصورة بنجاح على الخادم!",palette:"لوحة","There are no files":"لا توجد ملفات في هذا الدليل.",Rename:"إعادة تسمية","Enter new name":"أدخل اسم جديد",preview:"معاينة",download:"تحميل","Paste from clipboard":"لصق من الحافظة","Your browser doesn't support direct access to the clipboard.":"متصفحك لا يدعم إمكانية الوصول المباشر إلى الحافظة.","Copy selection":"نسخ التحديد",copy:"نسخ","Border radius":"دائرة نصف قطرها الحدود","Show all":"عرض كل",Apply:"تطبيق","Please fill out this field":"يرجى ملء هذا المجال","Please enter a web address":"يرجى إدخال عنوان ويب",Default:"الافتراضي",Circle:"دائرة",Dot:"نقطة",Quadrate:"المربعة",Find:"البحث","Find Previous":"تجد السابقة","Find Next":"تجد التالي","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"للصق المحتوى قادم من Microsoft Word/Excel الوثيقة. هل تريد أن تبقي شكل أو تنظيفه ؟ ","Word Paste Detected":"كلمة لصق الكشف عن",Clean:"نظيفة","Insert className":"أدخل اسم الفصل","Press Alt for custom resizing":"اضغط البديل لتغيير حجم مخصص","Line height":"ارتفاع الخط",spellcheck:"التدقيق الإملائي","Speech Recognize":"التعرف على الكلام",All:"تحديد الكل"}},80020:function(e,t,i){i.d(t,{sendFiles:function(){return r}});var n=i(21537),o=i(71686);function r(e,t,i,r,s){if(!t)return Promise.reject((0,n.error)("Need files"));let{o:a}=e,l=(0,n.toArray)(t);if(!l.length)return Promise.reject((0,n.error)("Need files"));let c=[];if(a.insertImageAsBase64URI&&function(e,t,i,o,r,s){let a,l;for(l=0;l<e.length;l+=1)if((a=e[l])&&a.type){let c=a.type.match(/\/([a-z0-9]+)/i),u=c[1]?c[1].toLowerCase():"";if(!t.includes(u))continue;let d=new FileReader;i.push(o.j.async.promise((e,t)=>{d.onerror=t,d.onloadend=()=>{let t={baseurl:"",files:[d.result],isImages:[!0]};((0,n.isFunction)(r)?r:s).call(o,t),e(t)},d.readAsDataURL(a)})),e[l]=null}}(l,a.imagesExtensions,c,e,i,a.defaultHandlerSuccess),(l=l.filter(e=>e)).length){let t,u=new FormData;u.append(a.pathVariableName,e.path),u.append("source",e.source);for(let i=0;i<l.length;i+=1)if(t=l[i]){let n=/\.\w+$/.test(t.name),o=t.type.match(/\/([a-z0-9]+)/i),r=o&&o[1]?o[1].toLowerCase():"",s=l[i].name||Math.random().toString().replace(".","");if(!n&&r){let e=r;["jpeg","jpg"].includes(e)&&(e="jpeg|jpg"),RegExp(".("+e+")$","i").test(s)||(s+="."+r)}let[c,d,h]=a.processFileName.call(e,a.filesVariableName(i),l[i],s);u.append(c,d,h)}s&&s(u),a.data&&(0,n.isPlainObject)(a.data)&&Object.keys(a.data).forEach(e=>{u.append(e,a.data[e])}),a.prepareData.call(e,u),c.push((0,o.send)(e,u).then(t=>(a.isSuccess.call(e,t)?((0,n.isFunction)(i)?i:a.defaultHandlerSuccess).call(e,a.process.call(e,t)):((0,n.isFunction)(r)?r:a.defaultHandlerError).call(e,(0,n.error)(a.getMessage.call(e,t))),t)).then(()=>{e.j.events&&e.j.e.fire("filesWereUploaded")}))}return Promise.all(c)}},80084:function(e,t,i){i.r(t),t.default={"Line height":"ارتفاع الخط"}},80105:function(e,t,i){i.r(t),t.default={"Line height":"선 높이"}},80152:function(e,t){t.default='<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> '},80256:function(e,t,i){i.d(t,{UIInput:function(){return h}});var n,o=i(65478),r=i(2748),s=i(4510),a=i(43555),l=i(48538),c=i(30389),u=i(12153),d=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};let h=n=class e extends l.UIElement{className(){return"UIInput"}onChangeClear(){this.state.clearButton?r.Dom.after(this.nativeInput,this.clearButton):r.Dom.safeRemove(this.clearButton)}onChangeClassName(e,t){t&&this.container.classList.remove(t),this.state.className&&this.container.classList.add(this.state.className)}onChangeState(){this.name=this.state.name;let e=this.nativeInput,{name:t,icon:i,type:n,ref:o,required:s,placeholder:l,autocomplete:c,label:d}=this.state;(0,a.attr)(e,"name",t),(0,a.attr)(e,"type",n),(0,a.attr)(e,"data-ref",o||t),(0,a.attr)(e,"ref",o||t),(0,a.attr)(e,"required",s||null),(0,a.attr)(e,"autocomplete",c?null:"off"),(0,a.attr)(e,"placeholder",l?this.j.i18n(l):""),i&&u.Icon.exists(i)?(r.Dom.before(e,this.icon),this.icon.innerHTML=u.Icon.get(i)):r.Dom.safeRemove(this.icon),d?(r.Dom.before(this.wrapper,this.label),this.label.innerText=this.j.i18n(d)):r.Dom.safeRemove(this.label),this.updateValidators()}updateValidators(){var e;this.validators.clear(),this.state.required&&this.validators.add(c.inputValidators.required),null==(e=this.state.validators)||e.forEach(e=>{let t=c.inputValidators[e];t&&this.validators.add(t)})}set error(e){this.setMod("has-error",!!e),e?(this.__errorBox.innerText=this.j.i18n(e,this.j.i18n(this.state.label||"")),this.container.appendChild(this.__errorBox)):r.Dom.safeRemove(this.__errorBox)}get value(){return this.nativeInput.value}set value(e){this.value!==e&&(this.nativeInput.value=e,this.onChangeValue())}onChangeStateValue(){let e=this.state.value.toString();e!==this.value&&(this.value=e)}onChangeValue(){var e,t;let{value:i}=this;this.state.value!==i&&(this.state.value=i,this.j.e.fire(this,"change",i),null==(t=(e=this.state).onChange)||t.call(e,i))}validate(){this.error="";let e=(0,s.toArray)(this.validators).every(e=>e(this));return this.__markInputInvalid(),e}__markInputInvalid(){var e,t,i,n;this.error?(this.nativeInput.setAttribute("aria-invalid","true"),null==(t=(e=this.nativeInput).setCustomValidity)||t.call(e,this.error)):(this.nativeInput.removeAttribute("aria-invalid"),null==(n=(i=this.nativeInput).setCustomValidity)||n.call(i,""))}createContainer(e){let t=super.createContainer();this.wrapper=this.j.c.div(this.getFullElName("wrapper")),this.nativeInput||(this.nativeInput=this.createNativeInput());let{nativeInput:i}=this;return i.classList.add(this.getFullElName("input")),this.wrapper.appendChild(i),t.appendChild(this.wrapper),(0,a.attr)(i,"dir",this.j.o.direction||"auto"),t}createNativeInput(e){return this.j.create.element("input")}focus(){this.nativeInput.focus()}get isFocused(){return this.nativeInput===this.j.od.activeElement}onChangeFocus(){this.setMod("focused",this.isFocused)}constructor(e,t){super(e,t),this.label=this.j.c.span(this.getFullElName("label")),this.icon=this.j.c.span(this.getFullElName("icon")),this.clearButton=this.j.c.span(this.getFullElName("clear"),u.Icon.get("cancel")),this.state={...n.defaultState},this.__errorBox=this.j.c.span(this.getFullElName("error")),this.validators=new Set([]),(null==t?void 0:t.value)!==void 0&&(t.value=t.value.toString()),Object.assign(this.state,t),void 0!==this.state.clearButton&&(this.j.e.on(this.clearButton,"click",e=>{e.preventDefault(),this.nativeInput.value="",this.j.e.fire(this.nativeInput,"input"),this.focus()}).on(this.nativeInput,"input",()=>{this.state.clearButton=!!this.value.length}),this.state.clearButton=!!this.value.length),this.j.e.on(this.nativeInput,"focus blur",()=>{this.onChangeFocus()}).on(this.nativeInput,"input change",this.onChangeValue),this.onChangeState(),this.onChangeClassName(),this.onChangeStateValue()}};h.defaultState={className:"",autocomplete:!0,name:"",value:"",icon:"",label:"",ref:"",type:"text",placeholder:"",required:!1,validators:[]},d([(0,o.watch)("state.clearButton")],h.prototype,"onChangeClear",null),d([(0,o.watch)("state.className")],h.prototype,"onChangeClassName",null),d([(0,o.watch)(["state.name","state.type","state.label","state.placeholder","state.autocomplete","state.icon"],{immediately:!1}),(0,o.debounce)()],h.prototype,"onChangeState",null),d([(0,o.watch)("state.value")],h.prototype,"onChangeStateValue",null),d([o.autobind],h.prototype,"onChangeValue",null),h=n=d([o.component],h)},80319:function(e,t,i){i.d(t,{ToolbarContent:function(){return a}});var n=i(65478),o=i(22732),r=i(21537),s=i(62843);let a=class e extends s.UIButton{className(){return"ToolbarContent"}update(){let e=this.control.getContent(this.j,this);((0,r.isString)(e)||e.parentNode!==this.container)&&(o.Dom.detach(this.container),this.container.appendChild((0,r.isString)(e)?this.j.create.fromHTML(e):e)),super.update()}createContainer(){return this.j.c.span(this.componentName)}constructor(e,t,i=null){super(e),this.control=t,this.target=i,this.container.classList.add(`${this.componentName}_${this.clearName(t.name)}`),(0,r.attr)(this.container,"role","content")}};a=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([n.component],a)},80480:function(e,t,i){i.d(t,{ViewComponent:function(){return o}});var n=i(4012);class o extends n.Component{get j(){return this.jodit}get defaultTimeout(){return this.j.defaultTimeout}i18n(e,...t){return this.j.i18n(e,...t)}setParentView(e){return this.jodit=e,e.components.add(this),this}destruct(){return this.j.components.delete(this),super.destruct()}constructor(e){super(),this.setParentView(e)}}},80536:function(e,t,i){var n=i(68345),o=i(19306),r=i(6441);r.Config.prototype.enableDragAndDropFileToEditor=!0,r.Config.prototype.uploader={url:"",insertImageAsBase64URI:!1,imagesExtensions:["jpg","png","jpeg","gif"],headers:null,data:null,filesVariableName:e=>`files[${e}]`,withCredentials:!1,pathVariableName:"path",format:"json",method:"POST",prepareData:e=>e,isSuccess:e=>e.success,getMessage:e=>void 0!==e.data.messages&&(0,n.isArray)(e.data.messages)?e.data.messages.join(" "):"",processFileName:(e,t,i)=>[e,t,i],process:e=>e.data,error(e){this.j.message.error(e.message,4e3)},getDisplayName:(e,t)=>e+t,defaultHandlerSuccess(e){let t=this.j||this;(0,o.isJoditObject)(t)&&e.files&&e.files.length&&e.files.forEach((i,n)=>{let[o,r]=e.isImages&&e.isImages[n]?["img","src"]:["a","href"],s=t.createInside.element(o);s.setAttribute(r,e.baseurl+i),"a"===o&&(s.textContent=t.o.uploader.getDisplayName.call(this,e.baseurl,i)),"img"===o?t.s.insertImage(s,null,t.o.imageDefaultWidth):t.s.insertNode(s)})},defaultHandlerError(e){this.j.message.error(e.message)},contentType(e){return(void 0===this.ow.FormData||"string"==typeof e)&&"application/x-www-form-urlencoded; charset=UTF-8"}}},80568:function(e,t,i){i.d(t,{getClassName:function(){return r},keepNames:function(){return o}});var n=i(23282);let o=new Map,r=e=>{var t;if((0,n.isFunction)(e.className))return e.className();let i=(null==(t=e.constructor)?void 0:t.originalConstructor)||e.constructor;if(o.has(i))return o.get(i);if(i.name)return i.name;let r=new RegExp(/^\s*function\s*(\S*)\s*\(/),s=i.toString().match(r);return s?s[1]:""}},80591:function(e,t,i){i.d(t,{convertToList:function(){return l}});var n=i(82758),o=i(10058),r=i(97420),s=i(31269),a=i(43712);function l(e){if((0,r.isPseudoLeaf)(e)){e.name="li",e.style.set("text-indent",null);let u=c(e),d=/[\da-np-zA-NP-Z].?/.test(u)?"ol":"ul",h=function(e,t){for(let t in o.listStyleMap)if(RegExp(t).test(e))return o.listStyleMap[t];return"ol"===t?"decimal":"disc"}(u,d);e.attributes[o.TYPE_KEY]=d,e.attributes[o.STYLE_KEY]=h,(0,s.calcListLevels)(e),function(e){for(;e;){let t=e.previousElement;if(!((0,r.isLeaf)(t)||(0,r.isList)(t)))break;if((0,r.isLeaf)(t)){if(e.attributes[o.LEVEL_KEY]<t.attributes[o.LEVEL_KEY]||e.attributes[o.LEVEL_KEY]===t.attributes[o.LEVEL_KEY]&&e.parent&&(0,r.isSameType)(e,e.parent))break;t.append(e);continue}if(e.attributes[o.LEVEL_KEY]<t.attributes[o.LEVEL_KEY]||e.attributes[o.LEVEL_KEY]===t.attributes[o.LEVEL_KEY]&&!(0,r.isSameType)(e,t))break;t.append(e)}}(e);let{parent:p}=e;if(!(0,r.isList)(p)||!(0,r.isSameType)(e,p)){var t,i,n,l;let s,c=(t=e,i=d,n=u,l=h,(s=t.wrap(i)).attributes.start=(0,a.calcStartBySymbol)(n),s.attributes[o.LEVEL_KEY]=t.attributes[o.LEVEL_KEY],s.attributes[o.STYLE_KEY]=t.attributes[o.STYLE_KEY],s.attributes[o.STYLE_VALID_KEY]=t.attributes[o.STYLE_KEY],s.style.set(o.STYLE_CSS_KEY,l),(0,r.isList)(s)&&s.parent?.name!=="li"&&("disc"===s.style.get(o.STYLE_CSS_KEY)||"decimal"===s.style.get(o.STYLE_CSS_KEY))&&s.style.set(o.STYLE_CSS_KEY,null),s);(0,r.isList)(p)&&(c.remove(),p.lastElement?.append(c))}}return e}let c=e=>e.textBetween(e=>e.isComment&&/\[if.*supportLists.*]/.test((0,r.html)(e)),e=>e.isComment&&/\[endif]/.test((0,r.html)(e))).replace(/&nbsp;/g,"").replace((0,n.SPACE_REG_EXP)(),"")},80651:function(e,t,i){i.r(t),t.default={newline:"newline",delete:"Hapus",space:"ruang","Speech Recognize":"Pidato Mengenali",Sound:"Suara","Interim Results":"Hasil Sementara"}},80763:function(e,t,i){var n=i(82758),o=i(65478),r=i(580),s=i(21537),a=i(50911);i(85745);var l=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};let c="__jodit_imageprocessor_binded",u=c+"blob-id";class d extends a.Plugin{afterInit(e){}beforeDestruct(e){let t=(0,o.cached)(e,"buffer"),i=null==t?void 0:t.get(u);if(t&&i){for(let e of Object.keys(i))URL.revokeObjectURL(e);t.delete(u)}}onAfterGetValueFromEditor(e,t){if(t!==n.SOURCE_CONSUMER)return this.onBeforeSetElementValue(e)}onBeforeSetElementValue(e){let{jodit:t}=this;if(!t.o.imageProcessor.replaceDataURIToBlobIdInView)return;let i=t.buffer.get(u);if(i)for(let t of Object.keys(i))for(;e.value.includes(t);)e.value=e.value.replace(t,i[t])}async afterChange(e){let{jodit:t}=this;t.editor&&(0,s.$$)("img",t.editor).forEach(e=>{(0,s.dataBind)(e,c)||((0,s.dataBind)(e,c,!0),e.complete||t.e.on(e,"load",function i(){var n;t.isInDestruct||null==(n=t.e)||n.fire("resize"),t.e.off(e,"load",i)}),e.src&&/^data:/.test(e.src)&&function(e,t){if(!e.o.imageProcessor.replaceDataURIToBlobIdInView||"u"<typeof ArrayBuffer||"u"<typeof URL)return;let i=t.src,n=function(e){let t=atob(e.split(",")[1]),i=e.split(",")[0].split(":")[1].split(";")[0],n=new ArrayBuffer(t.length),o=new Uint8Array(n);for(let e=0;e<t.length;e++)o[e]=t.charCodeAt(e);return new Blob([n],{type:i})}(i);t.src=URL.createObjectURL(n),e.e.fire("internalUpdate");let{buffer:o}=e,r=o.get(u)||{};r[t.src]=i,e.buffer.set(u,r)}(t,e),t.e.on(e,"mousedown touchstart",()=>{t.s.select(e)}))})}}l([(0,o.watch)(":afterGetValueFromEditor")],d.prototype,"onAfterGetValueFromEditor",null),l([(0,o.watch)(":beforeSetElementValue")],d.prototype,"onBeforeSetElementValue",null),l([(0,o.watch)([":change",":afterInit",":changePlace"]),(0,o.debounce)()],d.prototype,"afterChange",null),r.pluginSystem.add("imageProcessor",d)},80792:function(e,t,i){var n=i(6441);n.Config.prototype.minWidth=200,n.Config.prototype.maxWidth="100%",n.Config.prototype.minHeight=200,n.Config.prototype.maxHeight="auto",n.Config.prototype.saveHeightInStorage=!1},80870:function(e,t,i){i.d(t,{ContextMenu:function(){return a}});var n=i(87325),o=i(68345),r=i(10830),s=i(56917);let a=class e extends s.Popup{className(){return"ContextMenu"}show(e,t,i){let n=this;n.clear(),(0,o.isArray)(i)&&(i.forEach(e=>{if(!e)return;let t=(0,r.Button)(this.jodit,e.icon||"empty",e.title);this.jodit&&t.setParentView(this.jodit),t.setMod("context","menu"),t.onAction(t=>{var i;return null==(i=e.exec)||i.call(n,t),n.clear(),n.close(),!1}),this.append(t)}),this.open(()=>({left:e,top:t,width:0,height:0}),!0))}};a=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([n.component],a)},80926:function(e,t){t.default={"Type something":"Бичээд үзээрэй",Advanced:"Дэвшилтэт","About Jodit":"Jodit-ын талаар ","Jodit Editor":"Jodit програм","Jodit User's Guide":"Jodit гарын авлага","contains detailed help for using":"хэрэглээний талаар дэлгэрэнгүй мэдээллийг агуулна","For information about the license, please go to our website:":"Лицензийн мэдээллийг манай вэб хуудаснаас авна уу:","Buy full version":"Бүрэн хувилбар худалдан авах","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Зохиогчийн эрх хамгаалагдсан © XDSoft.net - Chupurnov Valeriy. Бүх эрхийг эзэмшинэ.",Anchor:"Холбоо барих","Open in new tab":"Шинэ табаар нээх","Open in fullsize":"Бүтэн дэлгэцээр нээх","Clear Formatting":"Форматыг арилгах","Fill color or set the text color":"Өнгөөр будах эсвэл текстийн өнгө сонгох",Redo:"Дахих",Undo:"Буцаах",Bold:"Тод",Italic:"Налуу","Insert Unordered List":"Тэмдэгт жагсаалт нэмэх","Insert Ordered List":"Дугаарт жагсаалт нэмэх","Align Center":"Голлож байрлуулах","Align Justify":"Тэгшитгэн байрлуулах","Align Left":"Зүүнд байрлуулах","Align Right":"Баруунд байрлуулах","Insert Horizontal Line":"Хэвтээ зураас нэмэх","Insert Image":"Зураг нэмэх","Insert file":"Файл нэмэх","Insert youtube/vimeo video":"Youtube/Vimeo видео нэмэх","Insert link":"Холбоос нэмэх","Font size":"Фонтын хэмжээ","Font family":"Фонтын бүл","Insert format block":"Блок нэмэх",Normal:"Хэвийн","Heading 1":"Гарчиг 1","Heading 2":"Гарчиг 2","Heading 3":"Гарчиг 3","Heading 4":"Гарчиг 4",Quote:"Ишлэл",Code:"Код",Insert:"Оруулах","Insert table":"Хүснэгт оруулах","Decrease Indent":"Доголын зай хасах","Increase Indent":"Доголын зай нэмэх","Select Special Character":"Тусгай тэмдэгт сонгох","Insert Special Character":"Тусгай тэмдэгт нэмэх","Paint format":"Зургийн формат","Change mode":"Горим өөрчлөх",Margins:"Цаасны зай",top:"Дээрээс",right:"Баруунаас",bottom:"Доороос",left:"Зүүнээс",Styles:"CSS стиль",Classes:"CSS анги",Align:"Байрлуулах",Right:"Баруун",Center:"Төв",Left:"Зүүн","--Not Set--":"--Тодорхойгүй--",Src:"Эх үүсвэр",Title:"Гарчиг",Alternative:"Алтернатив текст",Link:"Холбоос","Open link in new tab":"Холбоосыг шинэ хавтсанд нээх",Image:"Зураг",file:"Файл","Image properties":"Зургийн үзүүлэлт",Cancel:"Цуцлах",Ok:"Ok","Your code is similar to HTML. Keep as HTML?":"Таны код HTML кодтой адил байна. HTML форматаар үргэлжлүүлэх үү?","Paste as HTML":"HTML байдлаар буулгах",Keep:"Хадгалах",Clean:"Цэвэрлэх","Insert as Text":"Текст байдлаар нэмэх","Word Paste Detected":"Word байдлаар буулгасан байна","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Буулгасан агуулга Microsoft Word/Excel форматтай байна. Энэ форматыг хэвээр хадгалах уу эсвэл арилгах уу?","Insert only Text":"Зөвхөн текст оруулах","File Browser":"Файлын цонх","Error on load list":"Жагсаалт татах үед алдаа гарлаа","Error on load folders":"Хавтас татах үед алдаа гарлаа","Are you sure?":"Итгэлтэй байна уу?","Enter Directory name":"Хавтсын нэр оруулах","Create directory":"Хавтас үүсгэх","type name":"Нэр бичих","Drop image":"Зураг буулгах","Drop file":"Файл буулгах","or click":"эсвэл товш","Alternative text":"Алтернатив текст",Browse:"Үзэх",Upload:"Байршуулах",Background:"Арын зураг",Text:"Текст",Top:"Дээр",Middle:"Дунд",Bottom:"Доор","Insert column before":"Урд нь багана нэмэх","Insert column after":"Ард нь багана нэмэх","Insert row above":"Дээр нь мөр нэмэх","Insert row below":"Доор нь мөр нэмэх","Delete table":"Хүснэгт устгах","Delete row":"Мөр устгах","Delete column":"Багана устгах","Empty cell":"Нүд цэвэрлэх",Delete:"Устгах","Strike through":"Дээгүүр зураас",Underline:"Доогуур зураас",Break:"Мөрийг таслах","Search for":"Хайх","Replace with":"Үүгээр солих",Replace:"Солих",Edit:"Засах","Vertical align":"Босоо эгнүүлэх","Horizontal align":"Хэвтээ эгнүүлэх",Filter:"Шүүх","Sort by changed":"Сүүлд өөрчлөгдсөнөөр жагсаах","Sort by name":"Нэрээр жагсаах","Sort by size":"Хэмжээгээр жагсаах","Add folder":"Хавтас нэмэх",Split:"Задлах","Split vertical":"Баганаар задлах","Split horizontal":"Мөрөөр задлах",Merge:"Нэгтгэх","Add column":"Багана нэмэх","Add row":"Мөр нэмэх",Border:"Хүрээ","Embed code":"Код оруулах",Update:"Шинэчлэх",superscript:"Дээд индекс",subscript:"Доод индекс","Cut selection":"Сонголтыг таслах",Paste:"Буулгах","Choose Content to Paste":"Буулгах агуулгаа сонгоно уу","Chars: %d":"Тэмдэгт: %d","Words: %d":"Үг: %d",All:"Бүгдийг","Select %s":"Сонго: %s","Select all":"Бүгдийг сонго",source:"Эх үүсвэр",bold:"Тод",italic:"Налуу",brush:"Будах",link:"Холбоос",undo:"Буцаах",redo:"Дахих",table:"Хүснэгт",image:"Зураг",eraser:"Баллуур",paragraph:"Параграф",fontsize:"Фонтын хэмжээ",video:"Видео",font:"Фонт",about:"Тухай",print:"Хэвлэх",underline:"Доогуур зураас",strikethrough:"Дээгүүр зураас",indent:"Догол нэмэх",outdent:"Догол багасгах",fullsize:"Бүтэн дэлгэц",shrink:"Багасга",hr:"Хаалт",ul:"Тэмдэгт жагсаалт",ol:"Дугаарласан жагсаалт",cut:"Таслах",selectall:"Бүгдийг сонго","Open link":"Холбоос нээх","Edit link":"Холбоос засах","No follow":"Nofollow özelliği",Unlink:"Холбоос салгах",Eye:"Нүд",pencil:"Засах"," URL":"URL",Reset:"Буцаах",Save:"Хадгалах","Save as ...":"Өөрөөр хадгалах",Resize:"Хэмжээг өөрчил",Crop:"Тайрах",Width:"Өргөн",Height:"Өндөр","Keep Aspect Ratio":"Харьцааг хадгал",Yes:"Тийм",No:"Үгүй",Remove:"Арилга",Select:"Сонго","You can only edit your own images. Download this image on the host?":"Та зөвхөн өөрийн зургуудаа янзлах боломжтой. Энэ зургийг өөр лүүгээ татмаар байна уу?","The image has been successfully uploaded to the host!":"Зургийг хост руу амжилттай хадгалсан",palette:"Палет","There are no files":"Энд ямар нэг файл алга",Rename:"Шинээр нэрлэх","Enter new name":"Шинэ нэр оруулна уу",preview:"Урьдчилан харах",download:"Татах","Paste from clipboard":"Самбараас хуулах ","Your browser doesn't support direct access to the clipboard.":"Энэ вэб хөтчөөс самбарт хандах эрх алга.","Copy selection":"Сонголтыг хуул",copy:"Хуулах","Border radius":"Хүрээний радиус","Show all":"Бүгдийг харуулах",Apply:"Хэрэгжүүл","Please fill out this field":"Энэ талбарыг бөглөнө үү","Please enter a web address":"Вэб хаягаа оруулна уу",Default:"Үндсэн",Circle:"Дугуй",Dot:"Цэг",Quadrate:"Дөрвөлжин",Find:"Хайх","Find Previous":"Өмнөхийг ол","Find Next":"Дараагийнхийг ол","Insert className":"Бүлгийн нэрээ оруулна уу","Press Alt for custom resizing":"Хэмжээсийг шинээр өөчрлөхийн тулд Alt товчин дээр дарна уу","License: %s":"Лиценз: %s"}},80973:function(e,t,i){i.d(t,{replaceOldTags:function(){return o}});var n=i(2748);function o(e,t,i){let o=function(e,t,i){if(!i||!n.Dom.isHTMLElement(t))return t;let o=i[t.nodeName.toLowerCase()]||i[t.nodeName];return o?n.Dom.replace(t,o,e.createInside,!0,!1):t}(e,t,e.o.cleanHTML.replaceOldTags);return t!==o?(t=o,!0):i}},81284:function(e,t,i){i.d(t,{offset:function(){return n}});let n=(e,t,i,o=!1)=>{let r,s,a;try{r=e.getBoundingClientRect()}catch(e){r={top:0,bottom:0,left:0,right:0,width:0,height:0}}let l=i.body,c=i.documentElement||{clientTop:0,clientLeft:0,scrollTop:0,scrollLeft:0},u=i.defaultView||i.parentWindow,d=u.pageYOffset||c.scrollTop||l.scrollTop,h=u.pageXOffset||c.scrollLeft||l.scrollLeft,p=c.clientTop||l.clientTop||0,f=c.clientLeft||l.clientLeft||0,m=t.iframe;if(!o&&t&&t.options&&t.o.iframe&&m){let{top:e,left:i}=n(m,t,t.od,!0);s=r.top+e,a=r.left+i}else s=r.top+d-p,a=r.left+h-f;return{top:Math.round(s),left:Math.round(a),width:r.width,height:r.height}}},81577:function(e,t,i){i.d(t,{debounce:function(){return a},throttle:function(){return l}});var n=i(91907),o=i(27613),r=i(38837),s=i(89890);function a(e,t=!1,i="debounce"){return(a,l)=>{let c=a[l];if(!(0,o.isFunction)(c))throw(0,s.error)("Handler must be a Function");return a.hookStatus(n.STATUSES.ready,n=>{let{async:s}=n;(0,r.assert)(null!=s,`Component ${n.componentName||n.constructor.name} should have "async:IAsync" field`);let a=(0,o.isFunction)(e)?e(n):e,c=(0,o.isNumber)(a)||(0,o.isPlainObject)(a)?a:n.defaultTimeout;Object.defineProperty(n,l,{configurable:!0,value:s[i](n[l].bind(n),c,t)})}),{configurable:!0,get(){return c.bind(this)}}}}function l(e,t=!1){return a(e,t,"throttle")}},81630:function(e,t,i){i.d(t,{innerWidth:function(){return n}});let n=(e,t)=>{let i=t.getComputedStyle(e);return e.clientWidth-(parseFloat(i.paddingLeft||"0")+parseFloat(i.paddingRight||"0"))}},82168:function(e,t){t.default={"Type something":"Kirjoita jotain...",Advanced:"Avanzado","About Jodit":"Tietoja Jodit:ista","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Jodit käyttäjän ohje","contains detailed help for using":"sisältää tarkempaa tietoa käyttämiseen","For information about the license, please go to our website:":"Tietoa lisensoinnista, vieraile verkkosivuillamme:","Buy full version":"Osta täysi versio","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Kaikki oikeudet pidätetään.",Anchor:"Ankkuri","Open in new tab":"Avaa uudessa välilehdessä","Open in fullsize":"Avaa täysikokoisena","Clear Formatting":"Poista muotoilu","Fill color or set the text color":"Täytä värillä tai aseta tekstin väri",Redo:"Tee uudelleen",Undo:"Peruuta",Bold:"Lihavoitu",Italic:"Kursiivi","Insert Unordered List":"Lisää järjestämätön lista","Insert Ordered List":"Lisää järjestetty lista","Align Center":"Asemoi keskelle","Align Justify":"Asemoi tasavälein","Align Left":"Asemoi vasemmalle","Align Right":"Asemoi oikealle","Insert Horizontal Line":"Lisää vaakasuuntainen viiva","Insert Image":"Lisää kuva","Insert file":"Lisää tiedosto","Insert youtube/vimeo video":"Lisää Youtube-/vimeo- video","Insert link":"Lisää linkki","Font size":"Kirjasimen koko","Font family":"Kirjasimen nimi","Insert format block":"Lisää 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ää","Insert table":"Lisää taulukko","Decrease Indent":"Pienennä sisennystä","Increase Indent":"Lisää sisennystä","Select Special Character":"Valitse erikoismerkki","Insert Special Character":"Lisää erikoismerkki","Paint format":"Maalaa muotoilu","Change mode":"Vaihda tilaa",Margins:"Marginaalit",top:"ylös",right:"oikealle",bottom:"alas",left:"vasemmalle",Styles:"CSS-tyylit",Classes:"CSS-luokat",Align:"Asemointi",Right:"Oikea",Center:"Keskellä",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älilehdessä",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äilytetäänkö HTML?","Paste as HTML":"Liitä HTML:nä?",Keep:"Säilytä",Clean:"Tyhjennä","Insert as Text":"Lisää tekstinä","Word Paste Detected":"Word liittäminen 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ältö tulee Microsoft Word-/Excel- tiedostosta. Haluatko säilyttää muotoilun vai poistaa sen?","Insert only Text":"Lisää 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ötä hakemiston nimi","Create directory":"Luo hakemisto","type name":"Syötä nimi","Drop image":"Pudota kuva","Drop file":"Pudota tiedosto","or click":"tai klikkaa","Alternative text":"Vaihtoehtoinen teksti",Browse:"Selaa",Upload:"Lataa",Background:"Tausta",Text:"Teksti",Top:"Ylös",Middle:"Keskelle",Bottom:"Alas","Insert column before":"Lisää sarake ennen","Insert column after":"Lisää sarake jälkeen","Insert row above":"Lisää rivi ylös","Insert row below":"Lisää rivi alle","Delete table":"Poista taulukko","Delete row":"Poista rivi","Delete column":"Poista sarake","Empty cell":"Tyhjennä 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ärjestä muuttuneilla","Sort by name":"Järjestä nimellä","Sort by size":"Järjestä koolla","Add folder":"Lisää kansio",Split:"Jaa","Split vertical":"Jaa pystysuuntaisesti","Split horizontal":"Jaa vaakasuuntaisesti",Merge:"Yhdistä","Add column":"Lisää sarake","Add row":"Lisää rivi",Border:"Reuna","Embed code":"Sisällytä koodi",Update:"Päivitä",superscript:"yläviite",subscript:"alaviite","Cut selection":"Leikkaa valinta",Paste:"Liitä","Choose Content to Paste":"Valitse liitettävä sisältö","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ä",outdent:"pienennä sisennystä",fullsize:"täysikokoinen",shrink:"pienennä",hr:"vaakaviiva",ul:"järjestetty lista",ol:"järjestämätön lista",cut:"leikkaa",selectall:"valitse kaikki","Open link":"Avaa linkki","Edit link":"Muokkaa linkkiä","No follow":"Älä seuraa",Unlink:"Pura linkki",Eye:"Ver",pencil:"Muokkaa"," URL":"URL",Reset:"Nollaa",Save:"Tallenna","Save as ...":"Tallenna nimellä ...",Resize:"Muuta kokoa",Crop:"Rajaa",Width:"Leveys",Height:"Korkeus","Keep Aspect Ratio":"Säilytä kuvasuhde",Yes:"Kyllä",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ämä 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ä uudelleen","Enter new name":"Syötä uusi nimi",preview:"esikatselu",download:"Lataa","Paste from clipboard":"Liitä leikepöydältä","Your browser doesn't support direct access to the clipboard.":"Selaimesi ei tue suoraa pääsyä leikepöydälle.","Copy selection":"Kopioi valinta",copy:"kopioi","Border radius":"Reunan pyöristys","Show all":"Näytä kaikki",Apply:"Käytä","Please fill out this field":"Täytä tämä kenttä","Please enter a web address":"Annan web-osoite",Default:"Oletus",Circle:"Ympyrä",Dot:"Piste",Quadrate:"Neliö","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ää luokkanimi","Press Alt for custom resizing":"Paina Alt muokattuun koon muuttamiseen","Class name":"Luokan nimi","License: %s":"Lisenssi: %s"}},82439:function(e,t,i){var n=i(65478),o=i(2748),r=i(70071),s=i(580),a=i(86518),l=i(20356);i(46776);var c=i(59498),u=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};class d extends l.Plugin{afterInit(e){}get isEditMode(){return!(this.j.isInDestruct||!this.j.isEditorMode()||this.j.getReadOnly())}onChangeCleanHTML(){if(!this.isEditMode)return;let e=this.j;this.walker.setWork(e.editor),this.currentSelectionNode=e.s.current()}startWalker(){let{jodit:e}=this,t=(0,c.getHash)(this.j.o.cleanHTML.allowTags),i=(0,c.getHash)(this.j.o.cleanHTML.denyTags);this.walker.on("visit",n=>(0,c.visitNodeWalker)(e,n,t,i,this.currentSelectionNode)).on("end",e=>{this.j.e.fire(e?"internalChange finishedCleanHTMLWorker":"finishedCleanHTMLWorker")})}beforeCommand(e){if("removeformat"===e.toLowerCase())return this.j.s.isCollapsed()?(0,c.removeFormatForCollapsedSelection)(this.j):(0,c.removeFormatForSelection)(this.j),!1}onBeforeSetNativeEditorValue(e){let[t,i]=this.j.o.cleanHTML.useIframeSandbox?this.j.createInside.sandbox():[this.j.createInside.div()];return t.innerHTML=e.value,this.onSafeHTML(t),e.value=t.innerHTML,(0,a.safeHTML)(t,{safeJavaScriptLink:!0,removeOnError:!0}),o.Dom.safeRemove(i),!1}onSafeHTML(e){(0,a.safeHTML)(e,this.j.o.cleanHTML)}beforeDestruct(){this.walker.destruct()}constructor(){super(...arguments),this.buttons=[{name:"eraser",group:"font-style"}],this.currentSelectionNode=null,this.walker=new r.LazyWalker(this.j.async,{timeout:this.j.o.cleanHTML.timeout})}}u([(0,n.watch)([":change",":afterSetMode",":afterInit",":mousedown",":keydown"])],d.prototype,"onChangeCleanHTML",null),u([(0,n.hook)("ready")],d.prototype,"startWalker",null),u([(0,n.watch)(":beforeCommand")],d.prototype,"beforeCommand",null),u([(0,n.watch)(":beforeSetNativeEditorValue")],d.prototype,"onBeforeSetNativeEditorValue",null),u([(0,n.watch)(":safeHTML")],d.prototype,"onSafeHTML",null),s.pluginSystem.add("cleanHtml",d)},82501:function(e,t,i){i.d(t,{parseQuery:function(){return n}});let n=e=>{let t={},i=e.substring(1).split("&");for(let e=0;e<i.length;e+=1){let n=i[e].split("=");t[decodeURIComponent(n[0])]=decodeURIComponent(n[1]||"")}return t}},82515:function(e,t,i){i.d(t,{wrapList:function(){return a}});var n=i(2748),o=i(94466),r=i(44253),s=i(77361);function a(e,t,i){let a=i.e.fire(`${s._PREFIX}BeforeWrapList`,s.REPLACE,t,e),l=null!=a?a:n.Dom.replace(t,"li",i.createInside),c=l.previousElementSibling,u=l.nextElementSibling,d=n.Dom.isTag(c,e.element)?c:null;return null!=d||(d=n.Dom.isTag(u,e.element)?u:null),n.Dom.isList(d)&&(0,o.isSameAttributes)(d,e.options.attributes)||(d=i.createInside.element(e.element),(0,r.toggleAttributes)(e,d,i,s.INITIAL),n.Dom.before(l,d)),c===d?n.Dom.append(d,l):n.Dom.prepend(d,l),n.Dom.isTag(d.nextElementSibling,e.element)&&(0,o.elementsEqualAttributes)(d,d.nextElementSibling)&&(n.Dom.append(d,Array.from(d.nextElementSibling.childNodes)),n.Dom.safeRemove(d.nextElementSibling)),i.e.fire(`${s._PREFIX}AfterWrapList`,s.WRAP,d,e),d}},82558:function(e,t,i){i.d(t,{allowAttributes:function(){return o}});var n=i(2748);function o(e,t,i,o){if(o&&n.Dom.isElement(t)&&!0!==o[t.nodeName]){let e=t.attributes;if(e&&e.length){let n=[];for(let i=0;i<e.length;i+=1){let r=o[t.nodeName][e[i].name];r&&(!0===r||r===e[i].value)||n.push(e[i].name)}n.length&&(i=!0),n.forEach(e=>{t.removeAttribute(e)})}}return i}},82749:function(e,t,i){i.d(t,{_:function(){return n}});function n(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}},82758:function(e,t,i){i.r(t),i.d(t,{ACCURACY:function(){return U},APP_VERSION:function(){return n},BASE_PATH:function(){return eh},BASE_PATH_IS_MIN:function(){return ep},BR:function(){return W},CLIPBOARD_ID:function(){return eg},COMMAND_KEYS:function(){return V},EMULATE_DBLCLICK_TIMEOUT:function(){return et},ES:function(){return o},FAT_MODE:function(){return c},HOMEPAGE:function(){return u},INSEPARABLE_TAGS:function(){return T},INSERT_AS_HTML:function(){return ei},INSERT_AS_TEXT:function(){return eo},INSERT_CLEAR_HTML:function(){return en},INSERT_ONLY_TEXT:function(){return er},INVISIBLE_SPACE:function(){return p},INVISIBLE_SPACE_REG_EXP:function(){return m},INVISIBLE_SPACE_REG_EXP_END:function(){return g},INVISIBLE_SPACE_REG_EXP_START:function(){return v},IS_BLOCK:function(){return C},IS_ES_MODERN:function(){return r},IS_ES_NEXT:function(){return s},IS_IE:function(){return J},IS_INLINE:function(){return k},IS_MAC:function(){return ea},IS_PROD:function(){return a},IS_TEST:function(){return l},KEY_ALIASES:function(){return el},KEY_ALT:function(){return P},KEY_BACKSPACE:function(){return j},KEY_DELETE:function(){return F},KEY_DOWN:function(){return O},KEY_ENTER:function(){return z},KEY_ESC:function(){return x},KEY_F3:function(){return H},KEY_LEFT:function(){return R},KEY_META:function(){return A},KEY_RIGHT:function(){return N},KEY_SPACE:function(){return B},KEY_TAB:function(){return L},KEY_UP:function(){return M},LIST_TAGS:function(){return I},MARKER_CLASS:function(){return ee},MODE_SOURCE:function(){return $},MODE_SPLIT:function(){return G},MODE_WYSIWYG:function(){return K},NBSP_SPACE:function(){return f},NEARBY:function(){return q},NO_EMPTY_TAGS:function(){return D},PARAGRAPH:function(){return Y},PASSIVE_EVENTS:function(){return eb},SAFE_COUNT_CHANGE_CALL:function(){return es},SET_TEST:function(){return d},SOURCE_CONSUMER:function(){return ev},SPACE_REG_EXP:function(){return b},SPACE_REG_EXP_END:function(){return S},SPACE_REG_EXP_START:function(){return y},TEMP_ATTR:function(){return ef},TEXT_HTML:function(){return Z},TEXT_PLAIN:function(){return X},TEXT_RTF:function(){return Q},TOKENS:function(){return h},globalDocument:function(){return _},globalWindow:function(){return w},lang:function(){return em}});let n="4.9.35",o="es2021",r=!0,s=!0,a=!0,l=!1,c=!1,u="https://xdsoft.net/jodit/pro/",d=()=>l=!0,h={},p="\uFEFF",f=" ",m=()=>/[\uFEFF]/g,g=()=>/[\uFEFF]+$/g,v=()=>/^[\uFEFF]+/g,b=()=>/[\s\n\t\r\uFEFF\u200b]+/g,y=()=>/^[\s\n\t\r\uFEFF\u200b]+/g,S=()=>/[\s\n\t\r\uFEFF\u200b]+$/g,w="u">typeof window?window:void 0,_="u">typeof document?document:void 0,C=/^(ADDRESS|ARTICLE|ASIDE|BLOCKQUOTE|CANVAS|DD|DFN|DIV|DL|DT|FIELDSET|FIGCAPTION|FIGURE|FOOTER|FORM|H[1-6]|HEADER|HGROUP|HR|LI|MAIN|NAV|NOSCRIPT|OUTPUT|P|PRE|RUBY|SCRIPT|STYLE|OBJECT|OL|SECTION|IFRAME|JODIT|JODIT-MEDIA|UL|TR|TD|TH|TBODY|THEAD|TFOOT|TABLE|BODY|HTML|VIDEO)$/i,k=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,I=new Set(["ul","ol"]),E=["img","video","svg","iframe","script","input","textarea","link","jodit","jodit-media"],T=new Set([...E,"br","hr"]),D=new Set(E),A="Meta",j="Backspace",L="Tab",z="Enter",x="Escape",P="Alt",R="ArrowLeft",M="ArrowUp",N="ArrowRight",O="ArrowDown",B="Space",F="Delete",H="F3",q=5,U=10,V=[A,j,F,M,O,N,R,z,x,H,L],W="br",Y="p",K=1,$=2,G=3,J="u">typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),X=J?"text":"text/plain",Z=J?"html":"text/html",Q=J?"rtf":"text/rtf",ee="jodit-selection_marker",et=300,ei="insert_as_html",en="insert_clear_html",eo="insert_as_text",er="insert_only_text",es=10,ea=void 0!==w&&/Mac|iPod|iPhone|iPad/.test(w.navigator.platform),el={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:ea?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:"space",spacebar:"space",up:"arrowup",win:"meta",windows:"meta"},ec=e=>{let t=e.split("/");return/\.js/.test(t[t.length-1])?{basePath:t.slice(0,t.length-1).join("/")+"/",isMin:!0}:{basePath:e,isMin:!0}},{basePath:eu,isMin:ed}=(()=>{if("u"<typeof document)return{basePath:"",isMin:!0};let e=_.currentScript;if(e)return ec(e.src);let t=_.querySelectorAll("script[src]");return t&&t.length?ec(t[t.length-1].src):ec(w.location.href)})(),eh=eu,ep=ed,ef="data-jodit-temp",em={},eg="clipboard",ev="source-consumer",eb=new Set(["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"])},82760:function(e,t,i){i.d(t,{connection:function(){return r},error:function(){return o},options:function(){return s}});var n=i(32880);function o(e){return TypeError(e)}function r(e){return new n.ConnectionError(e)}function s(e){return new n.OptionsError(e)}},83059:function(e,t,i){i.r(t),t.default={symbols:"symbol"}},83111:function(e,t,i){i.d(t,{ToolbarSelect:function(){return a}});var n=i(65478),o=i(72430),r=i(70799),s=i(78644);let a=class e extends s.ToolbarButton{className(){return"ToolbarSelect"}update(){var e,t,i;super.update(),this.state.icon.name="";let{list:n,data:s}=this.control;if(n){let a=this.state.value||(s&&(0,r.isString)(s.currentValue)?s.currentValue:void 0);a||(a=Object.keys(n)[0]);let l=((0,o.isPlainObject)(n)&&n[a.toString()]||a).toString();this.state.text=null!=(i=null==(t=(e=this.control).textTemplate)?void 0:t.call(e,this.jodit,l))?i:l}}};a=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([n.component],a)},83160:function(e,t){t.default={"Type something":"Напишите что-либо","About Jodit":"О Jodit","Jodit Editor":"Редактор Jodit","Jodit User's Guide":"Jodit Руководство пользователя","contains detailed help for using":"содержит детальную информацию по использованию","For information about the license, please go to our website:":"Для получения сведений о лицензии , пожалуйста, перейдите на наш сайт:","Buy full version":"Купить полную версию","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Авторские права © XDSoft.net - Чупурнов Валерий. Все права защищены.",Anchor:"Анкор","Open in new tab":"Открывать ссылку в новой вкладке","Open in fullsize":"Открыть редактор в полном размере","Clear Formatting":"Очистить форматирование","Fill color or set the text color":"Цвет заливки или цвет текста",Redo:"Повтор",Undo:"Отмена",Bold:"Жирный",Italic:"Наклонный","Insert Unordered List":"Вставка маркированного списка","Insert Ordered List":"Вставить нумерованный список","Align Center":"Выровнять по центру","Align Justify":"Выровнять по ширине","Align Left":"Выровнять по левому краю","Align Right":"Выровнять по правому краю","Insert Horizontal Line":"Вставить горизонтальную линию","Insert Image":"Вставить изображение","Insert file":"Вставить файл","Insert youtube/vimeo video":"Вставьте видео","Insert link":"Вставить ссылку","Font size":"Размер шрифта","Font family":"Шрифт","Insert format block":"Вставить блочный элемент",Normal:"Нормальный текст","Heading 1":"Заголовок 1","Heading 2":"Заголовок 2","Heading 3":"Заголовок 3","Heading 4":"Заголовок 4",Quote:"Цитата",Code:"Код",Insert:"Вставить","Insert table":"Вставить таблицу","Decrease Indent":"Уменьшить отступ","Increase Indent":"Увеличить отступ","Select Special Character":"Выберите специальный символ","Insert Special Character":"Вставить специальный символ","Paint format":"Формат краски","Change mode":"Источник",Margins:"Отступы",top:"сверху",right:"справа",bottom:"снизу",left:"слева",Styles:"Стили",Classes:"Классы",Align:"Выравнивание",Right:"По правому краю",Center:"По центру",Left:"По левому краю","--Not Set--":"--не устанавливать--",Src:"src",Title:"Заголовок",Alternative:"Альтернативный текст (alt)",Link:"Ссылка","Open link in new tab":"Открывать ссылку в новом окне",file:"Файл",Advanced:"Расширенные","Image properties":"Свойства изображения",Cancel:"Отмена",Ok:"Ок","Your code is similar to HTML. Keep as HTML?":"Ваш текст, который вы пытаетесь вставить похож на HTML. Вставить его как HTML?","Paste as HTML":"Вставить как HTML?",Keep:"Сохранить оригинал",Clean:"Почистить","Insert as Text":"Вставить как текст","Insert only Text":"Вставить только текст","Word Paste Detected":"Возможно это фрагмент Word или Excel","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Контент который вы вставляете поступает из документа Microsoft Word / Excel. Вы хотите сохранить формат или очистить его?","File Browser":"Браузер файлов","Error on load list":"Ошибка при загрузке списка изображений","Error on load folders":"Ошибка при загрузке списка директорий","Are you sure?":"Вы уверены?","Enter Directory name":"Введите название директории","Create directory":"Создать директорию","type name":"введите название","Drop image":"Перетащите сюда изображение","Drop file":"Перетащите сюда файл","or click":"или нажмите","Alternative text":"Альтернативный текст",Browse:"Сервер",Upload:"Загрузка",Background:"Фон",Text:"Текст",Top:" К верху",Middle:"По середине",Bottom:"К низу","Insert column before":"Вставить столбец до","Insert column after":"Вставить столбец после","Insert row above":"Вставить ряд выше","Insert row below":"Вставить ряд ниже","Delete table":"Удалить таблицу","Delete row":"Удалять ряд","Delete column":"Удалить столбец","Empty cell":"Очистить ячейку",source:"HTML",bold:"жирный",italic:"курсив",brush:"заливка",link:"ссылка",undo:"отменить",redo:"повторить",table:"таблица",image:"Изображение",eraser:"очистить",paragraph:"параграф",fontsize:"размер шрифта",video:"видео",font:"шрифт",about:"о редакторе",print:"печать",underline:"подчеркнутый",strikethrough:"перечеркнутый",indent:"отступ",outdent:"выступ",fullsize:"во весь экран",shrink:"обычный размер",hr:"линия",ul:"Список",ol:"Нумерованный список",cut:"Вырезать",selectall:"Выделить все","Embed code":"Код","Open link":"Открыть ссылку","Edit link":"Редактировать ссылку","No follow":"Атрибут nofollow",Unlink:"Убрать ссылку",Eye:"Просмотр",pencil:"Редактировать",Update:"Обновить"," URL":"URL",Edit:"Редактировать","Horizontal align":"Горизонтальное выравнивание",Filter:"Фильтр","Sort by changed":"По изменению","Sort by name":"По имени","Sort by size":"По размеру","Add folder":"Добавить папку",Reset:"Восстановить",Save:"Сохранить","Save as ...":"Сохранить как",Resize:"Изменить размер",Crop:"Обрезать размер",Width:"Ширина",Height:"Высота","Keep Aspect Ratio":"Сохранять пропорции",Yes:"Да",No:"Нет",Remove:"Удалить",Select:"Выделить","Chars: %d":"Символов: %d","Words: %d":"Слов: %d",All:"Выделить все","Select %s":"Выделить: %s","Select all":"Выделить все","Vertical align":"Вертикальное выравнивание",Split:"Разделить","Split vertical":"Разделить по вертикали","Split horizontal":"Разделить по горизонтали",Merge:"Объединить в одну","Add column":"Добавить столбец","Add row":"Добавить строку",Delete:"Удалить",Border:"Рамка","License: %s":"Лицензия: %s","Strike through":"Перечеркнуть",Underline:"Подчеркивание",superscript:"верхний индекс",subscript:"индекс","Cut selection":"Вырезать",Break:"Разделитель","Search for":"Найти","Replace with":"Заменить на",Replace:"Заменить",Paste:"Вставить","Choose Content to Paste":"Выбрать контент для вставки","You can only edit your own images. Download this image on the host?":"Вы можете редактировать только свои собственные изображения. Загрузить это изображение на ваш сервер?","The image has been successfully uploaded to the host!":"Изображение успешно загружено на сервер!",palette:"палитра","There are no files":"В данном каталоге нет файлов",Rename:"Переименовать","Enter new name":"Введите новое имя",preview:"Предпросмотр",download:"Скачать","Paste from clipboard":"Вставить из буфера обмена","Your browser doesn't support direct access to the clipboard.":"Ваш браузер не поддерживает прямой доступ к буферу обмена.","Copy selection":"Скопировать выделенное",copy:"копия","Border radius":"Радиус границы","Show all":"Показать все",Apply:"Применить","Please fill out this field":"Пожалуйста, заполните это поле","Please enter a web address":"Пожалуйста, введите веб-адрес",Default:"По умолчанию",Circle:"Круг",Dot:"Точка",Quadrate:"Квадрат",Find:"Найти","Find Previous":"Найти Предыдущие","Find Next":"Найти Далее","Insert className":"Вставить название класса","Press Alt for custom resizing":"Нажмите Alt для изменения пользовательского размера"}},83447:function(e,t,i){i.d(t,{getHash:function(){return r}});var n=i(70799),o=i(49055);function r(e){let t=/([^[]*)\[([^\]]+)]/,i=/[\s]*,[\s]*/,r=/^(.*)[\s]*=[\s]*(.*)$/,s={};return(0,n.isString)(e)?(e.split(i).map(e=>{e=(0,o.trim)(e);let n=t.exec(e),a={};if(n){let e=n[2].split(i);n[1]&&(e.forEach(e=>{e=(0,o.trim)(e);let t=r.exec(e);t?a[t[1]]=t[2]:a[e]=!0}),s[n[1].toUpperCase()]=a)}else s[e.toUpperCase()]=!0}),s):!!e&&(Object.keys(e).forEach(t=>{s[t.toUpperCase()]=e[t]}),s)}},83632:function(e,t,i){i.d(t,{ApplyStyle:function(){return s}});var n=i(63687),o=i(77361),r=i(55307);function s(e,t){var i;let{s:s,editor:a}=e;null==(i=a.firstChild)||i.normalize();let l=s.fakes(),c=e.s.wrapInTagGen(l),u=c.next();if(u.done)return;let d={collapsed:s.isCollapsed(),mode:o.INITIAL,element:u.value,next:r.states.START,jodit:e,style:t};for(;u&&!u.done;){let e=new n.FiniteStateMachine(r.states.START,r.transactions);for(d.element=u.value;e.getState()!==r.states.END;)d=e.dispatch("exec",d);u=c.next()}s.restoreFakes(l)}},83671:function(e,t,i){var n=i(82758),o=i(22732),r=i(580),s=i(49055),a=i(29960),l=i(76078),c=i(50911),u=i(80870),d=i(21491);i(86012);class h extends c.Plugin{afterInit(){if(this.j.o.showXPathInStatusbar){this.container=this.j.c.div("jodit-xpath"),(0,a.attr)(this.container,"role","list");let e=()=>{this.j.o.showXPathInStatusbar&&this.container&&(this.j.statusbar.append(this.container),this.j.getRealMode()===n.MODE_WYSIWYG?this.calcPath():(this.container&&(this.container.innerHTML=n.INVISIBLE_SPACE),this.appendSelectAll()))};this.j.e.off(".xpath").on("pointerup.xpath change.xpath keydown.xpath changeSelection.xpath",this.calcPath).on("afterSetMode.xpath afterInit.xpath changePlace.xpath",e),e(),this.calcPath()}}beforeDestruct(){this.j&&this.j.events&&this.j.e.off(".xpath"),this.removeSelectAll(),this.menu&&this.menu.destruct(),o.Dom.safeRemove(this.container),delete this.menu,delete this.container}constructor(){super(...arguments),this.onContext=(e,t)=>(this.menu||(this.menu=new u.ContextMenu(this.j)),this.menu.show(t.clientX,t.clientY,[{icon:"bin",title:e===this.j.editor?"Clear":"Remove",exec:()=>{e!==this.j.editor?o.Dom.safeRemove(e):this.j.value="",this.j.synchronizeValues()}},{icon:"select-all",title:"Select",exec:()=>{this.j.s.select(e)}}]),!1),this.onSelectPath=(e,t)=>{this.j.s.focus();let i=(0,a.attr)(t.target,"-path")||"/";if("/"===i)return this.j.execCommand("selectall"),!1;try{let e=this.j.ed.evaluate(i,this.j.editor,null,XPathResult.ANY_TYPE,null).iterateNext();if(e)return this.j.s.select(e),!1}catch(e){}return this.j.s.select(e),!1},this.tpl=(e,t,i,n)=>{let o=this.j.c.fromHTML(`<span class="jodit-xpath__item"><a role="button" data-path="${t}" title="${n}" tabindex="-1"'>${(0,s.trim)(i)}</a></span>`),r=o.firstChild;return this.j.e.on(r,"click",this.onSelectPath.bind(this,e)).on(r,"contextmenu",this.onContext.bind(this,e)),o},this.removeSelectAll=()=>{this.selectAllButton&&(this.selectAllButton.destruct(),delete this.selectAllButton)},this.appendSelectAll=()=>{this.removeSelectAll(),this.selectAllButton=(0,d.makeButton)(this.j,{name:"selectall",...this.j.o.controls.selectall}),this.selectAllButton.state.size="tiny",this.container&&this.container.insertBefore(this.selectAllButton.container,this.container.firstChild)},this.calcPathImd=()=>{if(this.isDestructed)return;let e=this.j.s.current();if(this.container&&(this.container.innerHTML=n.INVISIBLE_SPACE),e){let t,i,n;o.Dom.up(e,e=>{e&&this.j.editor!==e&&!o.Dom.isText(e)&&!o.Dom.isComment(e)&&(t=e.nodeName.toLowerCase(),i=(0,l.getXPathByElement)(e,this.j.editor).replace(/^\//,""),n=this.tpl(e,i,t,this.j.i18n("Select %s",t)),this.container&&this.container.insertBefore(n,this.container.firstChild))},this.j.editor)}this.appendSelectAll()},this.calcPath=this.j.async.debounce(this.calcPathImd,2*this.j.defaultTimeout,!0)}}r.pluginSystem.add("xpath",h)},83709:function(e,t){t.default='<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> '},83725:function(e,t,i){i.d(t,{Autocomplete:function(){return c}});var n=i(82749),o=i(31635),r=i(31356),s=i(35934),a=i(65478),l=i(62405);class c extends l.UIGroup{className(){return"Autocomplete"}onChangeSelection(){this.elements.forEach(e=>e.setMod("active",!1)),this.elements[this.currentSelection]?.setMod("active",!0),this.elements[this.currentSelection]?.container.scrollIntoView(!1)}build(e){let t=this.elements[this.currentSelection]?.item.value,i=e=>e.value,n=r.ListReconciler.reconcile(this.__previousList,e,{getId:i}),o=new Set;n.toRemove.forEach(e=>{let t=i(e);if(o.has(t))return;o.add(t);let n=this.itemsMap.get(t);n&&(-1!==this.elements.indexOf(n)&&(this.remove(n),n.destruct()),this.itemsMap.delete(e.value))}),n.toCreate.forEach(t=>{let n=i(t);if(o.has(n))return;o.add(n);let r=new s.AutocompleteItem(this.jodit,t,t=>{this.currentSelection=e.findIndex(e=>i(e)===t),this.select()});this.itemsMap.set(n,r);let a=e.indexOf(t);this.append(r,a)}),n.toUpdate.forEach(({newItem:e,index:t})=>{let n=i(e);if(o.has(n))return;o.add(n);let r=this.itemsMap.get(n);r&&(r.item=e,this.elements.indexOf(r)!==t&&t<this.elements.length&&(this.remove(r),this.append(r,t)))});let a=this.currentSelection;this.currentSelection=Math.max(0,e.findIndex(e=>i(e)===t)),a===this.currentSelection&&this.onChangeSelection(),this.__previousList=[...e]}selectNext(){this.currentSelection+1<=this.elements.length-1?this.currentSelection+=1:this.currentSelection=0}selectPrevious(){this.currentSelection-1>=0?this.currentSelection-=1:this.currentSelection=this.elements.length-1}select(){this.j.e.fire("select.autocomplete",this.elements[this.currentSelection].item)}constructor(...e){super(...e),(0,n._)(this,"elements",[]),(0,n._)(this,"currentSelection",-1),(0,n._)(this,"__previousList",[]),(0,n._)(this,"itemsMap",new Map)}}(0,o.__decorate)([(0,a.watch)("currentSelection")],c.prototype,"onChangeSelection",null),c=(0,o.__decorate)([a.component],c)},83987:function(e,t,i){i.d(t,{buildData:function(){return o}});var n=i(21537);function o(e,t){if((0,n.isFunction)(e.o.buildData))return e.o.buildData.call(e,t);let i=e.ow.FormData;if(void 0!==i){if(t instanceof i||(0,n.isString)(t))return t;let e=new i;return Object.keys(t).forEach(i=>{e.append(i,t[i])}),e}return t}},84021:function(e,t,i){i.d(t,{removeExtraTags:function(){return o}});let n=new Set(["o:p","xml","script","meta","link","v:imagedata","style"]);function o(e){return"none"===e.style.get("display")||0===e.length&&"span"===e.name||n.has(e.name)?(e.remove(),null):e}},84075:function(e,t,i){i.d(t,{ViewWithToolbar:function(){return m}});var n=i(78213),o=i(45219),r=i(37133),s=i(2748),a=i(76855),l=i(70799),c=i(76078),u=i(67510),d=i(43649),h=i(35608),p=i(21491),f=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};class m extends h.View{get toolbarContainer(){return!this.o.fullsize&&((0,l.isString)(this.o.toolbar)||s.Dom.isHTMLElement(this.o.toolbar))?(0,c.resolveElement)(this.o.toolbar,this.o.shadowRoot||this.od):(this.o.toolbar&&s.Dom.appendChildFirst(this.container,this.__defaultToolbarContainer),this.__defaultToolbarContainer)}setPanel(e){this.o.toolbar=e,this.buildToolbar()}buildToolbar(){var e;if(!this.o.toolbar)return;let t=this.o.buttons?(0,a.splitArray)(this.o.buttons):[];null==(e=this.toolbar)||e.setRemoveButtons(this.o.removeButtons).build(t.concat(this.o.extraButtons||[])).appendTo(this.toolbarContainer)}getRegisteredButtonGroups(){return this.groupToButtons}registerButton(e){var t;this.registeredButtons.add(e);let i=null!=(t=e.group)?t:"other";return this.groupToButtons[i]||(this.groupToButtons[i]=[]),null!=e.position?this.groupToButtons[i][e.position]=e.name:this.groupToButtons[i].push(e.name),this}unregisterButton(e){var t;this.registeredButtons.delete(e);let i=null!=(t=e.group)?t:"other",n=this.groupToButtons[i];if(n){let t=n.indexOf(e.name);-1!==t&&n.splice(t,1),0===n.length&&delete this.groupToButtons[i]}return this}beforeToolbarBuild(e){if(Object.keys(this.groupToButtons).length)return e.map(e=>(0,d.isButtonGroup)(e)&&e.group&&this.groupToButtons[e.group]?{group:e.group,buttons:[...e.buttons,...this.groupToButtons[e.group]]}:e)}destruct(){this.isDestructed||(this.setStatus(n.STATUSES.beforeDestruct),this.e.off("beforeToolbarBuild",this.beforeToolbarBuild),this.__tooltip.destruct(),this.toolbar.destruct(),this.toolbar=void 0,super.destruct())}constructor(e,t=!1){super(e,t),this.toolbar=(0,p.makeCollection)(this),this.__defaultToolbarContainer=this.c.div("jodit-toolbar__box"),this.registeredButtons=new Set,this.groupToButtons={},this.isJodit=!1,this.__tooltip=new u.UITooltip(this),this.isJodit=t,this.e.on("beforeToolbarBuild",this.beforeToolbarBuild)}}f([(0,r.watch)(":rebuildToolbar")],m.prototype,"buildToolbar",null),f([o.autobind],m.prototype,"beforeToolbarBuild",null)},84272:function(e,t,i){i.d(t,{isInlineBlock:function(){return s},removeFormatForCollapsedSelection:function(){return r}});var n=i(82758),o=i(2748);function r(e,t){let{s:i}=e,n=t;if(!n){n=e.createInside.fake();let{range:t}=i;o.Dom.safeInsertNode(t,n),t.collapse()}let r=o.Dom.furthest(n,s,e.editor);if(r)if(i.cursorOnTheLeft(r))o.Dom.before(r,n);else if(i.cursorOnTheRight(r))o.Dom.after(r,n);else{let e=i.splitSelection(r);e&&o.Dom.after(e,n)}t||(i.setCursorBefore(n),o.Dom.safeRemove(n))}function s(e){return o.Dom.isInlineBlock(e)&&!o.Dom.isTag(e,n.INSEPARABLE_TAGS)}},84380:function(e,t,i){var n=i(82758),o=i(6441),r=i(117);o.Config.prototype.askBeforePasteHTML=!0,o.Config.prototype.processPasteHTML=!0,o.Config.prototype.scrollToPastedContent=!0,o.Config.prototype.pasteExcludeStripTags=["br","hr"],o.Config.prototype.pasteHTMLActionList=[{value:n.INSERT_AS_HTML,text:"Keep"},{value:n.INSERT_AS_TEXT,text:"Insert as Text"},{value:n.INSERT_ONLY_TEXT,text:"Insert only Text"}],o.Config.prototype.memorizeChoiceWhenPasteFragment=!1,o.Config.prototype.nl2brInPlainText=!0;let s="pasteStorage";o.Config.prototype.controls.paste={tooltip:"Paste from clipboard",async exec(e,t,{control:i}){if(i.name===s)return void e.execCommand("showPasteStorage");e.s.focus();let o="",a=!0;if(navigator.clipboard){try{let e=await navigator.clipboard.read();if(e&&e.length){let t=await e[0].getType(n.TEXT_PLAIN);o=await new Response(t).text()}a=!1}catch(e){n.IS_PROD}if(a)try{o=await navigator.clipboard.readText(),a=!1}catch(e){n.IS_PROD}}a&&(a=0===(o=e.buffer.get(n.CLIPBOARD_ID)||"").length);let l=e.value;a?(e.ed.execCommand("paste"),(a=l===e.value)||e.e.fire("afterPaste")):o.length?((0,r.pasteInsertHtml)(null,e,o),e.e.fire("afterPaste")):a&&e.alert("Your browser doesn't support direct access to the clipboard.",()=>void e.s.focus())},list:{[s]:"Paste Storage"},isChildDisabled:e=>2>e.e.fire("pasteStorageList")}},84767:function(e,t,i){i.d(t,{isNumber:function(){return n}});function n(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}},84858:function(e,t){t.default='<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> '},85017:function(e,t){t.default={"Type something":"Ecrivez ici","About Jodit":"A propos de Jodit","Jodit Editor":"Editeur Jodit","Jodit User's Guide":"Guide de l'utilisateur","contains detailed help for using":"Aide détaillée à l'utilisation","For information about the license, please go to our website:":"Consulter la licence sur notre site web:","Buy full version":"Acheter la version complète","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Tous droits réservés.",Anchor:"Ancre","Open in new tab":"Ouvrir dans un nouvel onglet","Open in fullsize":"Ouvrir l'éditeur en pleine page","Clear Formatting":"Supprimer le formattage","Fill color or set the text color":"Modifier la couleur du fond ou du texte",Redo:"Refaire",Undo:"Défaire",Bold:"Gras",Italic:"Italique","Insert Unordered List":"Liste non ordonnée","Insert Ordered List":"Liste ordonnée","Align Center":"Centrer","Align Justify":"Justifier","Align Left":"Aligner à gauche ","Align Right":"Aligner à droite","Insert Horizontal Line":"Insérer une ligne horizontale","Insert Image":"Insérer une image","Insert file":"Insérer un fichier","Insert youtube/vimeo video":"Insérer une vidéo","Insert link":"Insérer un lien","Font size":"Taille des caractères","Font family":"Famille des caractères","Insert format block":"Bloc formatté",Normal:"Normal","Heading 1":"Titre 1","Heading 2":"Titre 2","Heading 3":"Titre 3","Heading 4":"Titre 4",Quote:"Citation",Code:"Code",Insert:"Insérer","Insert table":"Insérer un tableau","Decrease Indent":"Diminuer le retrait","Increase Indent":"Retrait plus","Select Special Character":"Sélectionnez un caractère spécial","Insert Special Character":"Insérer un caractère spécial","Paint format":"Cloner le format","Change mode":"Mode wysiwyg <-> code html",Margins:"Marges",top:"haut",right:"droite",bottom:"Bas",left:"gauche",Styles:"Styles",Classes:"Classes",Align:"Alignement",Right:"Droite",Center:"Centre",Left:"Gauche","--Not Set--":"--Non disponible--",Src:"Source",Title:"Titre",Alternative:"Alternative",Filter:"Filtre",Link:"Lien","Open link in new tab":"Ouvrir le lien dans un nouvel onglet",Image:"Image",file:"fichier",Advanced:"Avancé","Image properties":"Propriétés de l'image",Cancel:"Annuler",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Votre texte que vous essayez de coller est similaire au HTML. Collez-le en HTML?","Paste as HTML":"Coller en HTML?",Keep:"Sauvegarder l'original",Clean:"Nettoyer","Insert as Text":"Coller en tant que texte","Word Paste Detected":"C'est peut-être un fragment de Word ou Excel","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Le contenu que vous insérez provient d'un document Microsoft Word / Excel. Voulez-vous enregistrer le format ou l'effacer?","Insert only Text":"Coller le texte seulement","File Browser":"Explorateur de fichiers","Error on load list":"Erreur de liste de chargement","Error on load folders":"Erreur de dossier de chargement","Are you sure?":"Etes-vous sûrs ?","Enter Directory name":"Entrer le nom de dossier","Create directory":"Créer un dossier","type name":"type de fichier","Drop image":"Coller une image","Drop file":"Déposer un fichier","or click":"ou cliquer","Alternative text":"Texte de remplacemement",Browse:"Chercher",Upload:"Charger",Background:"Arrière-plan",Border:"Bordure",Text:"Texte",Top:"Haut",Middle:"Milieu",Bottom:"Bas","Insert column before":"Insérer une colonne avant","Insert column after":"Insérer une colonne après","Insert row above":"Insérer une ligne au dessus","Insert row below":"Insérer une ligne en dessous","Delete table":"Supprimer le tableau","Delete row":"Supprimer la ligne","Delete column":"Supprimer la colonne","Empty cell":"Vider la cellule","Chars: %d":"Symboles: %d","Words: %d":"Mots: %d",Split:"Split","Split vertical":"Split vertical","Split horizontal":"Split horizontal","Strike through":"Barrer",Underline:"Souligner",superscript:"exposant",subscript:"indice","Cut selection":"Couper la sélection","Select all":"Tout sélectionner",Break:"Pause","Search for":"Rechercher","Replace with":"Remplacer par",Replace:"Remplacer",Paste:"Coller","Choose Content to Paste":"Choisissez le contenu à coller",source:"la source",bold:"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:"à propos de l'éditeur",print:"impression",underline:"souligné",strikethrough:"barré",indent:"indentation",outdent:"retrait",fullsize:"taille réelle",shrink:"taille conventionnelle",hr:"la ligne",ul:"Liste",ol:"Liste numérotée",cut:"Couper",selectall:"Sélectionner tout","Open link":"Ouvrir le lien","Edit link":"Modifier le lien","No follow":"Attribut Nofollow",Unlink:"Supprimer le lien",Eye:"Voir",pencil:"Pour éditer"," URL":"URL",Reset:"Restaurer",Save:"Sauvegarder","Save as ...":"Enregistrer sous",Resize:"Changer la taille",Crop:"Taille de garniture",Width:"Largeur",Height:"Hauteur","Keep Aspect Ratio":"Garder les proportions",Yes:"Oui",No:"Non",Remove:"Supprimer",Select:"Mettre en évidence","Select %s":"Mettre en évidence: %s",Update:"Mettre à jour","Vertical align":"Alignement vertical",Merge:"aller","Add column":"Ajouter une colonne","Add row":"Ajouter une rangée",Delete:"Effacer","Horizontal align":"Alignement horizontal","Sort by changed":"Trier par modification","Sort by name":"Trier par nom","Sort by size":"Trier par taille","Add folder":"Créer le dossier","You can only edit your own images. Download this image on the host?":"Vous ne pouvez éditer que vos propres images. Téléchargez cette image sur l'hôte?","The image has been successfully uploaded to the host!":"L'image a été téléchargée avec succès sur le serveur!",palette:"Palette","There are no files":"Il n'y a aucun fichier dans ce répertoire.",Rename:"renommer","Enter new name":"Entrez un nouveau nom",preview:"Aperçu",download:"Télécharger","Paste from clipboard":"Coller à partir du presse-papiers","Your browser doesn't support direct access to the clipboard.":"Votre navigateur ne prend pas en charge l'accès direct au presse-papiers.","Copy selection":"Copier la sélection",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éfaut",Circle:"Cercle",Dot:"Point",Quadrate:"Quadratique",Find:"Trouver","Find Previous":"Précédent","Find Next":"Suivant","Insert className":"Insérer un nom de classe","Press Alt for custom resizing":"Appuyez sur Alt pour un redimensionnement personnalisé","Embed code":"Code d'intégration",Edit:"Modifier",All:"Tout sélectionner","License: %s":"Licence: %s"}},85120:function(e,t,i){i.d(t,{UITextArea:function(){return l}});var n,o=i(65478),r=i(87325),s=i(80256),a=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};let l=n=class e extends s.UIInput{className(){return"UITextArea"}createNativeInput(e){return this.j.create.element("textarea")}onChangeStateSize(){let{size:e,resizable:t}=this.state;this.nativeInput.style.resize=t?"auto":"none",this.nativeInput.rows=null!=e?e:5}constructor(e,t){super(e,t),this.state={...n.defaultState},Object.assign(this.state,t),!1===this.state.resizable&&(this.nativeInput.style.resize="none")}};l.defaultState={...s.UIInput.defaultState,size:5,resizable:!0},a([(0,o.watch)(["state.size","state.resizable"])],l.prototype,"onChangeStateSize",null),l=n=a([r.component],l)},85407:function(e,t,i){var n=i(82758),o=i(2748),r=i(580),s=i(21537),a=i(20356),l=i(10830);class c extends a.Plugin{createDialog(){this.dialog=this.j.dlg();let e=(0,l.Button)(this.j,"paste","Paste","primary");e.onAction(this.paste);let t=(0,l.Button)(this.j,"","Cancel");t.onAction(this.dialog.close),this.container=this.j.c.div(),this.container.classList.add("jodit-paste-storage"),this.listBox=this.j.c.div(),this.previewBox=this.j.c.div(),this.container.appendChild(this.listBox),this.container.appendChild(this.previewBox),this.dialog.setHeader(this.j.i18n("Choose Content to Paste")),this.dialog.setContent(this.container),this.dialog.setFooter([e,t]),this.j.e.on(this.listBox,"click dblclick",e=>{let t=e.target;return o.Dom.isTag(t,"a")&&t.hasAttribute("data-index")&&this.selectIndex(parseInt((0,s.attr)(t,"-index")||"0",10)),"dblclick"===e.type&&this.paste(),!1})}afterInit(){this.j.e.off("afterCopy.paste-storage").on("pasteStorageList.paste-storage",()=>this.list.length).on("afterCopy.paste-storage",e=>{-1!==this.list.indexOf(e)&&this.list.splice(this.list.indexOf(e),1),this.list.unshift(e),this.list.length>5&&(this.list.length=5)}),this.j.registerCommand("showPasteStorage",{exec:this.showDialog,hotkeys:["ctrl+shift+v","cmd+shift+v"]})}beforeDestruct(){this.dialog&&this.dialog.destruct(),this.j.e.off(".paste-storage"),o.Dom.safeRemove(this.previewBox),o.Dom.safeRemove(this.listBox),o.Dom.safeRemove(this.container),this.container=null,this.listBox=null,this.previewBox=null,this.dialog=null,this.list=[]}constructor(){super(...arguments),this.currentIndex=0,this.list=[],this.container=null,this.listBox=null,this.previewBox=null,this.dialog=null,this.paste=()=>{if(this.j.s.focus(),this.j.s.insertHTML(this.list[this.currentIndex]),0!==this.currentIndex){let e=this.list[0];this.list[0]=this.list[this.currentIndex],this.list[this.currentIndex]=e}this.dialog&&this.dialog.close(),this.j.synchronizeValues(),this.j.e.fire("afterPaste")},this.onKeyDown=e=>{let t=this.currentIndex;if(-1!==[n.KEY_UP,n.KEY_DOWN,n.KEY_ENTER].indexOf(e.key)){if(e.key===n.KEY_UP&&(0===t?t=this.list.length-1:t-=1),e.key===n.KEY_DOWN&&(t===this.list.length-1?t=0:t+=1),e.key===n.KEY_ENTER)return void this.paste();t!==this.currentIndex&&this.selectIndex(t),e.stopImmediatePropagation(),e.preventDefault()}},this.selectIndex=e=>{this.listBox&&(0,s.toArray)(this.listBox.childNodes).forEach((t,i)=>{t.classList.remove("jodit_active"),e===i&&this.previewBox&&(t.classList.add("jodit_active"),this.previewBox.innerHTML=this.list[e],t.focus())}),this.currentIndex=e},this.showDialog=()=>{this.list.length<2||(this.dialog||this.createDialog(),this.listBox&&(this.listBox.innerHTML=""),this.previewBox&&(this.previewBox.innerHTML=""),this.list.forEach((e,t)=>{let i=this.j.c.element("a");i.textContent=t+1+". "+e.replace((0,n.SPACE_REG_EXP)(),""),this.j.e.on(i,"keydown",this.onKeyDown),(0,s.attr)(i,"href","#"),(0,s.attr)(i,"data-index",t.toString()),(0,s.attr)(i,"tab-index","-1"),this.listBox&&this.listBox.appendChild(i)}),this.dialog&&this.dialog.open(),this.j.async.setTimeout(()=>{this.selectIndex(0)},100))}}}r.pluginSystem.add("pasteStorage",c)},85567:function(e,t,i){i.d(t,{PII:function(){return n},WARN:function(){return o}});let n=440,o=940},85723:function(e,t,i){i.r(t),t.default={"Line height":"Hauteur de ligne"}},85745:function(e,t,i){i(6441).Config.prototype.imageProcessor={replaceDataURIToBlobIdInView:!0}},86012:function(e,t,i){i(6441).Config.prototype.showXPathInStatusbar=!0},86019:function(e,t,i){i.d(t,{Jodit:function(){return n.Jodit}});var n=i(2303),o=i(27613),r=i(82758),s=i(65478),a=i(41409),l=i(17555),c=i(26152);i(46448),Object.keys(r).forEach(e=>{n.Jodit[e]=r[e]});let u=e=>"__esModule"!==e;Object.keys(l).filter(u).forEach(e=>{a.Icon.set(e.replace("_","-"),l[e])}),Object.keys(a).filter(u).forEach(e=>{var t;let i=a[e],r=(0,o.isFunction)(null==(t=i.prototype)?void 0:t.className)?i.prototype.className():e;(0,o.isString)(r)&&(n.Jodit.modules[r]=i)}),Object.keys(s).filter(u).forEach(e=>{n.Jodit.decorators[e]=s[e]}),["Confirm","Alert","Prompt"].forEach(e=>{n.Jodit[e]=a[e]}),Object.keys(c.default).filter(u).forEach(e=>{n.Jodit.lang[e]=c.default[e]})},86068:function(e,t,i){i.d(t,{isVoid:function(){return n}});function n(e){return null==e}},86273:function(e,t){t.default={"Type something":"Escriba algo...",Advanced:"Avanzado","About Jodit":"Acerca de Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Guía de usuario Jodit","contains detailed help for using":"contiene ayuda detallada para el uso.","For information about the license, please go to our website:":"Para información sobre la licencia, por favor visite nuestro sitio:","Buy full version":"Compre la versión completa","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Todos los derechos reservados.",Anchor:"Anclar","Open in new tab":"Abrir en nueva pestaña","Open in fullsize":"Abrir editor en pantalla completa","Clear Formatting":"Limpiar formato","Fill color or set the text color":"Color de relleno o de letra",Redo:"Rehacer",Undo:"Deshacer",Bold:"Negrita",Italic:"Cursiva","Insert Unordered List":"Insertar lista no ordenada","Insert Ordered List":"Insertar lista ordenada","Align Center":"Alinear Centrado","Align Justify":"Alinear Justificado","Align Left":"Alinear Izquierda","Align Right":"Alinear Derecha","Insert Horizontal Line":"Insertar línea horizontal","Insert Image":"Insertar imagen","Insert file":"Insertar archivo","Insert youtube/vimeo video":"Insertar video de Youtube/vimeo","Insert link":"Insertar vínculo","Font size":"Tamaño de letra","Font family":"Familia de letra","Insert format block":"Insertar bloque",Normal:"Normal","Heading 1":"Encabezado 1","Heading 2":"Encabezado 2","Heading 3":"Encabezado 3","Heading 4":"Encabezado 4",Quote:"Cita",Code:"Código",Insert:"Insertar","Insert table":"Insertar tabla","Decrease Indent":"Disminuir sangría","Increase Indent":"Aumentar sangría","Select Special Character":"Seleccionar caracter especial","Insert Special Character":"Insertar caracter especial","Paint format":"Copiar formato","Change mode":"Cambiar modo",Margins:"Márgenes",top:"arriba",right:"derecha",bottom:"abajo",left:"izquierda",Styles:"Estilos CSS",Classes:"Clases CSS",Align:"Alinear",Right:"Derecha",Center:"Centrado",Left:"Izquierda","--Not Set--":"--No Establecido--",Src:"Fuente",Title:"Título",Alternative:"Texto Alternativo",Filter:"Filtrar",Link:"Vínculo","Open link in new tab":"Abrir vínculo en nueva pestaña",Image:"Imagen",file:"Archivo","Image properties":"Propiedades de imagen",Cancel:"Cancelar",Ok:"Aceptar","Your code is similar to HTML. Keep as HTML?":"El código es similar a HTML. ¿Mantener como HTML?","Paste as HTML":"Pegar como HTML?",Keep:"Mantener",Clean:"Limpiar","Insert as Text":"Insertar como texto","Word Paste Detected":"Pegado desde Word detectado","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"El contenido pegado proviene de un documento de Microsoft Word/Excel. ¿Desea mantener el formato o limpiarlo?","Insert only Text":"Insertar solo texto","File Browser":"Buscar archivo","Error on load list":"Error al cargar la lista","Error on load folders":"Error al cargar las carpetas","Are you sure?":"¿Está seguro?","Enter Directory name":"Entre nombre de carpeta","Create directory":"Crear carpeta","type name":"Entre el nombre","Drop image":"Soltar imagen","Drop file":"Soltar archivo","or click":"o click","Alternative text":"Texto alternativo",Browse:"Buscar",Upload:"Subir",Background:"Fondo",Text:"Texto",Top:"Arriba",Middle:"Centro",Bottom:"Abajo","Insert column before":"Insertar columna antes","Insert column after":"Interar columna después","Insert row above":"Insertar fila arriba","Insert row below":"Insertar fila debajo","Delete table":"Borrar tabla","Delete row":"Borrar fila","Delete column":"Borrar columna","Empty cell":"Vaciar celda",Delete:"Borrar","Strike through":"Tachado",Underline:"Subrayado",Break:"Pausa","Search for":"Buscar","Replace with":"Reemplazar con",Replace:"Reemplazar",Edit:"Editar","Vertical align":"Alineación vertical","Horizontal align":"Alineación horizontal","Sort by changed":"Ordenar por fecha modificación","Sort by name":"Ordenar por nombre","Sort by size":"Ordenar por tamaño","Add folder":"Agregar carpeta",Split:"Dividir","Split vertical":"Dividir vertical","Split horizontal":"Dividir horizontal",Merge:"Mezclar","Add column":"Agregar columna","Add row":"Agregar fila",Border:"Borde","Embed code":"Incluir código",Update:"Actualizar",superscript:"superíndice",subscript:"subíndice","Cut selection":"Cortar selección",Paste:"Pegar","Choose Content to Paste":"Seleccionar contenido para pegar","Chars: %d":"Caracteres: %d","Words: %d":"Palabras: %d",All:"Todo","Select %s":"Seleccionar: %s","Select all":"Seleccionar todo",source:"HTML",bold:"negrita",italic:"cursiva",brush:"Brocha",link:"Vínculo",undo:"deshacer",redo:"rehacer",table:"Tabla",image:"Imagen",eraser:"Borrar",paragraph:"Párrafo",fontsize:"Tamaño de letra",video:"Video",font:"Letra",about:"Acerca de",print:"Imprimir",underline:"subrayar",strikethrough:"tachar",indent:"sangría",outdent:"quitar sangría",fullsize:"Tamaño completo",shrink:"encoger",hr:"línea horizontal",ul:"lista sin ordenar",ol:"lista ordenada",cut:"Cortar",selectall:"Seleccionar todo","Open link":"Abrir vínculo","Edit link":"Editar vínculo","No follow":"No seguir",Unlink:"Desvincular",Eye:"Ver",pencil:"Para editar"," URL":"URL",Reset:"Resetear",Save:"Guardar","Save as ...":"Guardar como...",Resize:"Redimensionar",Crop:"Recortar",Width:"Ancho",Height:"Alto","Keep Aspect Ratio":"Mantener relación de aspecto",Yes:"Si",No:"No",Remove:"Quitar",Select:"Seleccionar","You can only edit your own images. Download this image on the host?":"Solo puedes editar tus propias imágenes. ¿Descargar esta imagen en el servidor?","The image has been successfully uploaded to the host!":"¡La imagen se ha subido correctamente al servidor!",palette:"paleta","There are no files":"No hay archivos en este directorio.",Rename:"renombrar","Enter new name":"Ingresa un nuevo nombre",preview:"avance",download:"Descargar","Paste from clipboard":"Pegar desde el portapapeles","Your browser doesn't support direct access to the clipboard.":"Su navegador no soporta el acceso directo en el portapapeles.","Copy selection":"Selección de copia",copy:"copia","Border radius":"Radio frontera","Show all":"Mostrar todos los",Apply:"Aplicar","Please fill out this field":"Por favor, rellene este campo","Please enter a web address":"Por favor, introduzca una dirección web",Default:"Predeterminado",Circle:"Círculo",Dot:"Punto",Quadrate:"Cuadro","Lower Alpha":"Letra Minúscula","Lower Greek":"Griego Minúscula","Lower Roman":"Romano Minúscula","Upper Alpha":"Letra Mayúscula","Upper Roman":"Romano Mayúscula",Find:"Encontrar","Find Previous":"Buscar Anterior","Find Next":"Buscar Siguiente","Insert className":"Insertar nombre de clase","Press Alt for custom resizing":"Presione Alt para cambiar el tamaño personalizado","License: %s":"Licencia: %s"}},86327:function(e,t,i){i.d(t,{UIForm:function(){return c}});var n=i(4012),o=i(87325),r=i(43555),s=i(80256),a=i(12234),l=i(62405);let c=class e extends l.UIGroup{className(){return"UIForm"}submit(){this.j.e.fire(this.container,"submit")}validate(){for(let e of this.allChildren.filter(e=>n.Component.isInstanceOf(e,s.UIInput)))if(!e.validate())return!1;for(let e of this.allChildren.filter(e=>n.Component.isInstanceOf(e,a.UISelect)))if(!e.validate())return!1;return!0}onSubmit(e){return this.j.e.on(this.container,"submit",()=>{let t=this.allChildren.filter(e=>n.Component.isInstanceOf(e,s.UIInput));return!!this.validate()&&(e(t.reduce((e,t)=>(e[t.state.name]=t.value,e),{})),!1)}),this}createContainer(){let e=this.j.c.element("form");return e.classList.add(this.componentName),(0,r.attr)(e,"dir",this.j.o.direction||"auto"),(0,r.attr)(e,"novalidate",""),e}constructor(...e){var t,i;super(...e),(null==(t=this.options)?void 0:t.className)&&this.container.classList.add(null==(i=this.options)?void 0:i.className)}};c=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([o.component],c)},86397:function(e,t,i){i.d(t,{ConnectionError:function(){return n}});class n extends Error{constructor(e){super(e),Object.setPrototypeOf(this,n.prototype)}}},86518:function(e,t,i){i.d(t,{safeHTML:function(){return r},sanitizeHTMLElement:function(){return s}});var n=i(2748),o=i(43555);function r(e,t){(n.Dom.isElement(e)||n.Dom.isFragment(e))&&(t.removeOnError&&(s(e),(0,o.$$)("[onerror]",e).forEach(e=>s(e,t))),t.safeJavaScriptLink&&(s(e),(0,o.$$)('a[href^="javascript"]',e).forEach(e=>s(e,t))))}function s(e,{safeJavaScriptLink:t,removeOnError:i}={safeJavaScriptLink:!0,removeOnError:!0}){if(!n.Dom.isElement(e))return!1;let r=!1;i&&e.hasAttribute("onerror")&&((0,o.attr)(e,"onerror",null),r=!0);let a=e.getAttribute("href");return t&&a&&0===a.trim().indexOf("javascript")&&((0,o.attr)(e,"href",location.protocol+"//"+a),r=!0),r}},86583:function(e,t,i){i.d(t,{dataBind:function(){return r}});var n=i(39955);let o=new WeakMap,r=(e,t,i)=>{let r=o.get(e);if(!r){r={},o.set(e,r);let t=null;(0,n.isViewObject)(e.j)&&(t=e.j.e),(0,n.isViewObject)(e)&&(t=e.e),t&&t.on("beforeDestruct",()=>{o.delete(e)})}return void 0===i?r[t]:(r[t]=i,i)}},86835:function(e,t){t.default='<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> '},87058:function(e,t,i){i.d(t,{camelCase:function(){return n}});let n=e=>e.replace(/([-_])(.)/g,(e,t,i)=>i.toUpperCase())},87325:function(e,t,i){i.d(t,{component:function(){return s},getComponentClass:function(){return a}});var n=i(82758),o=i(80568);let r=new Map;function s(e){class t extends e{constructor(...e){super(...e),this.constructor===t&&(this instanceof t||Object.setPrototypeOf(this,t.prototype),this.setStatus("ready"))}}let i=(0,o.getClassName)(e.prototype);if(r.has(i)&&!n.IS_PROD)throw Error(`Component with name "${i}" is already registered`);return r.set(i,t),t}function a(e){return r.get(e)}},87394:function(e,t,i){var n=i(12153),o=i(6441),r=i(5119);o.Config.prototype.usePopupForSpecialCharacters=!1,o.Config.prototype.specialCharacters=["!","&quot;","#","$","%","&amp;","'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","&lt;","=","&gt;","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","&euro;","&lsquo;","&rsquo;","&ldquo;","&rdquo;","&ndash;","&mdash;","&iexcl;","&cent;","&pound;","&curren;","&yen;","&brvbar;","&sect;","&uml;","&copy;","&ordf;","&laquo;","&raquo;","&not;","&reg;","&macr;","&deg;","&sup2;","&sup3;","&acute;","&micro;","&para;","&middot;","&cedil;","&sup1;","&ordm;","&frac14;","&frac12;","&frac34;","&iquest;","&Agrave;","&Aacute;","&Acirc;","&Atilde;","&Auml;","&Aring;","&AElig;","&Ccedil;","&Egrave;","&Eacute;","&Ecirc;","&Euml;","&Igrave;","&Iacute;","&Icirc;","&Iuml;","&ETH;","&Ntilde;","&Ograve;","&Oacute;","&Ocirc;","&Otilde;","&Ouml;","&times;","&Oslash;","&Ugrave;","&Uacute;","&Ucirc;","&Uuml;","&Yacute;","&THORN;","&szlig;","&agrave;","&aacute;","&acirc;","&atilde;","&auml;","&aring;","&aelig;","&ccedil;","&egrave;","&eacute;","&ecirc;","&euml;","&igrave;","&iacute;","&icirc;","&iuml;","&eth;","&ntilde;","&ograve;","&oacute;","&ocirc;","&otilde;","&ouml;","&divide;","&oslash;","&ugrave;","&uacute;","&ucirc;","&uuml;","&yacute;","&thorn;","&yuml;","&OElig;","&oelig;","&#372;","&#374","&#373","&#375;","&sbquo;","&#8219;","&bdquo;","&hellip;","&trade;","&#9658;","&bull;","&rarr;","&rArr;","&hArr;","&diams;","&asymp;"],n.Icon.set("symbols",r.default),o.Config.prototype.controls.symbols={hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup(e,t,i){let n=e.e.fire("generateSpecialCharactersTable.symbols");if(n){if(e.o.usePopupForSpecialCharacters){let t=e.c.div();return t.classList.add("jodit-symbols"),t.appendChild(n),e.e.on(n,"close_dialog",i),t}e.alert(n,"Select Special Character",void 0,"jodit-symbols").bindDestruct(e);let t=n.querySelector("a");t&&t.focus()}}}},87536:function(e,t,i){i.d(t,{checkRemoveContentNotEditable:function(){return s}});var n=i(22732),o=i(21537),r=i(45124);function s(e,t,i){let s=n.Dom.findSibling(t,i);return!s&&t.parentElement&&t.parentElement!==e.editor&&(s=n.Dom.findSibling(t.parentElement,i)),!(!n.Dom.isElement(s)||n.Dom.isContentEditable(s,e.editor))&&((0,o.call)(i?n.Dom.before:n.Dom.after,s,t),n.Dom.safeRemove(s),(0,r.moveNodeInsideStart)(e,t,i),(0,o.call)(i?e.s.setCursorBefore:e.s.setCursorAfter,t),!0)}},87602:function(e,t,i){i.d(t,{applySize:function(){return a}});var n=i(29807),o=i(29960),r=i(41180),s=i(14415);function a(e,t,i,a){if(t!==e.offsetWidth||i!==e.offsetHeight){let l=t?(0,s.normalSizeToString)(t):null,c=i?(0,s.normalSizeToString)(i):null;(0,r.css)(e,{width:l,height:l&&a?null:c}),(0,o.attr)(e,"width",l&&(0,n.isNumeric)(t)&&(0,o.attr)(e,"width")?l:null),(!(0,o.attr)(e,"width")||a)&&(c=null),(0,o.attr)(e,"height",c)}}},87612:function(e,t,i){i.d(t,{isBoolean:function(){return n}});function n(e){return"boolean"==typeof e}},88774:function(e,t,i){i.r(t),t.default={newline:"換行",delete:"刪除",space:"空白","Speech Recognize":"語音辨識",Sound:"聲音","Interim Results":"階段性辨識結果"}},89194:function(e,t,i){i.r(t),t.default={"Line height":"Tinggi baris"}},89672:function(e,t,i){i.d(t,{normalizeName:function(){return o}});var n=i(12475);function o(e){return(0,n.kebabCase)(e).toLowerCase()}},89702:function(e,t,i){i.r(t),t.default={symbols:"符号"}},89758:function(e,t){t.default='<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> '},89816:function(e,t){t.default='<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> '},89890:function(e,t,i){i.d(t,{ConnectionError:function(){return o.ConnectionError},OptionsError:function(){return o.OptionsError},abort:function(){return o.abort},connection:function(){return n.connection},error:function(){return n.error},options:function(){return n.options}});var n=i(82760),o=i(32880)},89930:function(e,t,i){i.r(t),t.default={newline:"řádek",delete:"odstranit",space:"prostora","Speech Recognize":"Rozpoznání Řeči",Sound:"Zvuk","Interim Results":"Průběžné Výsledky"}},90240:function(e,t,i){i.d(t,{checkTableCell:function(){return o}});var n=i(2748);function o(e,t){let i=t.parentElement;return!!n.Dom.isCell(i)}},90492:function(e,t,i){i.r(t),i.d(t,{ar:function(){return n},cs_cz:function(){return o},de:function(){return r},es:function(){return s},fa:function(){return a},fi:function(){return l},fr:function(){return c},he:function(){return u},hu:function(){return d},id:function(){return h},it:function(){return p},ja:function(){return f},ko:function(){return m},mn:function(){return g},nl:function(){return v},no:function(){return b},pl:function(){return y},pt_br:function(){return S},ru:function(){return w},tr:function(){return _},ua:function(){return C},zh_cn:function(){return k},zh_tw:function(){return I}});var n=i(71705),o=i(89930),r=i(34945),s=i(63134),a=i(66835),l=i(1115),c=i(59302),u=i(94141),d=i(24877),h=i(80651),p=i(62395),f=i(16407),m=i(37272),g=i(22113),v=i(22432),b=i(17081),y=i(30798),S=i(8661),w=i(19147),_=i(93620),C=i(40372),k=i(69874),I=i(88774)},91003:function(e,t,i){i.d(t,{stripTags:function(){return function e(t,i=document,u=null){let d=i.createElement("div");return(0,o.isString)(t)?d.innerHTML=t:d.appendChild(t),(0,s.$$)("*",d).forEach(t=>{let o=t.parentNode;if(!o)return;if(u&&n.Dom.isTag(t,u)){let o=t.nodeName.toLowerCase(),r=n.Dom.isTag(t,c)?`%%%jodit-single-${o}%%%`:`%%%jodit-${o}%%%${e(t.innerHTML,i,u)}%%%/jodit-${o}%%%`;n.Dom.before(t,i.createTextNode(r)),n.Dom.safeRemove(t);return}if(n.Dom.isTag(t,l))return void n.Dom.safeRemove(t);if(!n.Dom.isTag(t,a))return;let r=t.nextSibling;!(n.Dom.isText(r)&&/^\s/.test(r.nodeValue||""))&&r&&o.insertBefore(i.createTextNode(" "),r)}),(0,r.trim)(d.innerText).replace(/%%%(\/)?jodit(-single)?-([\w\n]+)%%%/g,(e,t,i,n)=>`<${t?"/":""}${n}>`)}}});var n=i(2748),o=i(70799),r=i(49055),s=i(43555);let a=new Set(["div","p","br","h1","h2","h3","h4","h5","h6","hr"]),l=new Set(["script","style"]),c=new Set(["br","hr","input"])},91071:function(e,t,i){var n=i(82758),o=i(65478),r=i(580),s=i(50911);i(57288);var a=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};class l extends s.Plugin{afterInit(e){let{limitWords:t,limitChars:i}=e.o;if(e&&(t||i)){let t=null;e.e.off(".limit").on("beforePaste.limit",()=>{t=e.history.snapshot.make()}).on("keydown.limit keyup.limit beforeEnter.limit",this.checkPreventKeyPressOrPaste).on("change.limit",this.checkPreventChanging).on("afterPaste.limit",()=>{if(this.__shouldDenyInput(!0)&&t)return e.history.snapshot.restore(t),e.e.fire("denyPaste.limit"),!1})}}shouldPreventInsertHTML(e){return!(e&&(n.COMMAND_KEYS.includes(e.key)||e.ctrlKey||e.metaKey))&&this.__shouldDenyInput(!1)}__shouldDenyInput(e){var t,i;let{jodit:n}=this,{limitWords:o,limitChars:r}=n.o,s=n.o.limitHTML?n.value:n.text,a=this.__splitWords(s);if(o&&(t=a.length,e?t>o:t>=o))return n.e.fire("denyWords.limit limit.limit"),!0;let l=!!(r&&(i=a.join("").length,e?i>r:i>=r));return l&&n.e.fire("denyChars.limit limit.limit"),l}checkPreventKeyPressOrPaste(e){if(this.shouldPreventInsertHTML(e))return!1}checkPreventChanging(e,t){let{jodit:i}=this;this.__shouldDenyInput(!0)&&(i.value=t)}__splitWords(e){return e.replace((0,n.INVISIBLE_SPACE_REG_EXP)(),"").split((0,n.SPACE_REG_EXP)()).filter(e=>e.length)}beforeDestruct(e){e.e.off(".limit")}}a([o.autobind],l.prototype,"checkPreventKeyPressOrPaste",null),a([o.autobind],l.prototype,"checkPreventChanging",null),r.pluginSystem.add("limit",l)},91080:function(e,t,i){i.r(t),t.default={symbols:"символ"}},91388:function(e,t,i){i.d(t,{moveCursorOutFromSpecialTags:function(){return o}});var n=i(2748);function o(e,t,i){let{s:o}=e,r=n.Dom.closest(t,i,e.editor);r&&(o.cursorOnTheRight(r,t)?n.Dom.after(r,t):o.cursorOnTheLeft(r,t)&&n.Dom.before(r,t))}},91748:function(e,t,i){i.d(t,{checkJoinTwoLists:function(){return s}});var n=i(2748),o=i(37790),r=i(63785);function s(e,t,i){let s=n.Dom.findSibling(t,i),a=n.Dom.findSibling(t,!i);if(!n.Dom.closest(t,n.Dom.isElement,e.editor)&&n.Dom.isList(s)&&n.Dom.isList(a)&&n.Dom.isTag(s.lastElementChild,"li")&&n.Dom.isTag(a.firstElementChild,"li")){let{setCursorBefore:l,setCursorAfter:c}=e.s,u=s.lastElementChild,d=a.firstElementChild;return(0,o.call)(i?n.Dom.prepend:n.Dom.append,d,t),n.Dom.moveContent(a,s,!i,(0,r.getMoveFilter)(e)),n.Dom.safeRemove(a),(0,o.call)(i?n.Dom.append:n.Dom.prepend,u,t),(0,o.call)(i?l:c,t),!0}return!1}},91898:function(e,t,i){i.d(t,{clearTimeout:function(){return n.clearTimeout},setTimeout:function(){return n.setTimeout}});var n=i(13252)},91907:function(e,t,i){i.d(t,{Component:function(){return n.Component},STATUSES:function(){return o.STATUSES},ViewComponent:function(){return r.ViewComponent}});var n=i(4012),o=i(78213),r=i(80480)},92113:function(e,t,i){i.d(t,{UISeparator:function(){return r}});var n=i(87325),o=i(48538);let r=class e extends o.UIElement{className(){return"UISeparator"}};r=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([n.component],r)},92278:function(e,t,i){i.d(t,{UISearch:function(){return c}});var n=i(82758),o=i(65478),r=i(22732),s=i(21537),a=i(67510),l=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};let c=class e extends a.UIElement{className(){return"UISearch"}render(){return`<div>
249
+ </div>`),"rtl"===this.options.direction&&(this.container.style.direction="rtl",this.container.setAttribute("dir","rtl")),this.o.zIndex&&(this.container.style.zIndex=this.o.zIndex.toString()),(0,d.attr)(this.container,"role","dialog"),Object.defineProperty(this.container,"component",{value:this}),this.setMod("theme",this.o.theme||"default").setMod("resizable",!!this.o.resizable);const i=this.getElm("panel");(0,h.assert)(null!=i,"Panel element does not exist");const o=this.getElm("resizer");(0,h.assert)(null!=o,"Resizer element does not exist");const r=this.getElm("header-title");(0,h.assert)(null!=r,"header-title element does not exist");const s=this.getElm("content");(0,h.assert)(null!=s,"Content element does not exist");const c=this.getElm("footer");(0,h.assert)(null!=c,"Footer element does not exist");const f=this.getElm("header-toolbar");(0,h.assert)(null!=f,"header-toolbar element does not exist"),this.dialog=i,this.resizer=o,this.dialogbox_header=r,this.dialogbox_content=s,this.dialogbox_footer=c,this.dialogbox_toolbar=f,(0,d.css)(this.dialog,{maxWidth:this.options.maxWidth,minHeight:this.options.minHeight,minWidth:this.options.minWidth});const m=this.getElm("header");m&&this.e.on(m,"pointerdown touchstart",this.__onHeaderMouseDown),this.e.on(this.resizer,"mousedown touchstart",this.__onResizerMouseDown);const v=l.pluginSystem.get("fullsize");if((0,u.isFunction)(v)&&v(this),this.e.on(this.container,"close_dialog",this.close).on(this.ow,"keydown",this.__onEsc).on(this.ow,"resize",this.__onResize),this.o.closeOnClickOverlay){const e=this.getElm("overlay");(0,h.assert)(null!=e,"Overlay element does not exist"),this.e.on(e,"click",this.close)}}};b.defaultOptions={...f.View.defaultOptions,closeOnClickOverlay:!1,closeOnEsc:!0},v([s.autobind],b.prototype,"__onMouseUp",null),v([s.autobind],b.prototype,"__onHeaderMouseDown",null),v([s.autobind],b.prototype,"__onMouseMove",null),v([s.autobind],b.prototype,"__onEsc",null),v([s.autobind],b.prototype,"__onResizerMouseDown",null),v([s.autobind],b.prototype,"close",null),v([(0,s.hook)("ready")],b.prototype,"buildToolbar",null),b=n=v([s.component],b)},78614:function(e,t){t.default='<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> '},78644:function(e,t,i){i.d(t,{ToolbarButton:function(){return I}});var n=i(78213),o=i(45219),r=i(33433),s=i(87325),a=i(37133),l=i(2748),c=i(68345),u=i(23282),d=i(19306),h=i(72430),p=i(70799),f=i(56175),m=i(87058),g=i(38837),v=i(29960),b=i(37790),y=i(62843),S=i(72157),w=i(12153),_=i(56917),C=i(21491),k=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};let I=class e extends y.UIButton{className(){return"ToolbarButton"}getRole(){return"listitem"}updateAriaLabel(){if(super.updateAriaLabel(),this.trigger){let e=this.state.tooltip?this.jodit.i18n(this.state.tooltip):null;(0,v.attr)(this.trigger,"aria-label",e)}}get toolbar(){let e=(0,s.getComponentClass)("ToolbarCollection");return this.closest(e)}update(){var e,t;let{control:i,state:n}=this,o=this.toolbar;if(!o)return;let r=null==(e=i.value)?void 0:e.call(i,o.jodit,this);void 0!==r&&(n.value=r),n.disabled=this.__calculateDisabledStatus(o),n.activated=this.__calculateActivatedStatus(o),null==(t=i.update)||t.call(i,o.jodit,this)}__calculateActivatedStatus(e){var t,i;return(!(0,d.isJoditObject)(this.j)||!!this.j.editorIsActive)&&(null!=(i=(t=this.control).isActive)&&!!i.call(t,this.j,this)||!!(e&&e.shouldBeActive(this)))}__calculateDisabledStatus(e){var t,i;return!!(this.j.o.disabled||this.j.o.readonly&&(!this.j.o.activeButtonsInReadOnly||!this.j.o.activeButtonsInReadOnly.includes(this.control.name))||(null==(i=(t=this.control).isDisabled)?void 0:i.call(t,this.j,this)))||!!(e&&e.shouldBeDisabled(this))}onChangeActivated(){(0,v.attr)(this.button,"aria-pressed",this.state.activated),super.onChangeActivated()}onChangeText(){(0,u.isFunction)(this.control.template)?this.text.innerHTML=this.control.template(this.j,this.control.name,this.j.i18n(this.state.text)):super.onChangeText(),this.setMod("text-icons",!!this.text.innerText.trim().length)}onChangeTabIndex(){(0,v.attr)(this.button,"tabindex",this.state.tabIndex)}createContainer(){let e=this.componentName,t=this.j.c.span(e),i=super.createContainer();i.classList.remove(e),i.classList.add(e+"__button"),Object.defineProperty(i,"component",{value:this}),t.appendChild(i);let n=this.j.c.fromHTML(`<span role="button" aria-haspopup="true" aria-expanded="false" class="${e}__trigger">${w.Icon.get("chevron")}</span>`);return i.appendChild(n),t}focus(){var e;null==(e=this.container.querySelector("button"))||e.focus()}onChangeHasTrigger(){this.state.hasTrigger?this.container.appendChild(this.trigger):l.Dom.safeRemove(this.trigger),this.setMod("with-trigger",this.state.hasTrigger||null)}onChangeDisabled(){let e=this.state.disabled?"disabled":null;(0,v.attr)(this.trigger,"disabled",e),(0,v.attr)(this.button,"disabled",e),(0,v.attr)(this.container,"disabled",e)}__initFromControl(){var e;let{control:t,state:i}=this;this.updateSize(),i.name=t.name;let{textIcons:n}=this.j.o;if(!0===n||(0,u.isFunction)(n)&&n(t.name)||t.template)i.icon=(0,y.UIButtonState)().icon,i.text=t.text||t.name;else{if(t.iconURL)i.icon.iconURL=t.iconURL;else{let n=t.icon||t.name;i.icon.name=w.Icon.exists(n)||(null==(e=this.j.o.extraIcons)?void 0:e[n])?n:""}t.iconURL||i.icon.name||(i.text=t.text||t.name)}t.tooltip&&(i.tooltip=(0,u.isFunction)(t.tooltip)?t.tooltip(this.j,t,this):t.tooltip),i.hasTrigger=!!(t.list||t.popup&&t.exec)}onTriggerClick(e){var t,i,n;if(this.openedPopup)return void this.__closePopup();let{control:o}=this;if((0,v.attr)(this.trigger,"aria-expanded",!0),e.buffer={actionTrigger:this},o.list)return this.__openControlList(o);if((0,u.isFunction)(o.popup)){let e=this.openPopup();e.parentElement=this;try{if(!1!==this.j.e.fire((0,m.camelCase)(`before-${o.name}-open-popup`),this.target,o,e)){let r=null!=(n=null!=(i=null==(t=this.toolbar)?void 0:t.getTarget(this))?i:this.target)?n:null,s=o.popup(this.j,r,this.__closePopup,this);s?e.setContent((0,p.isString)(s)?this.j.c.fromHTML(s):s).open(()=>(0,f.position)(this.container),!1,this.j.o.allowTabNavigation?this.container:void 0):this.__closePopup()}}catch(e){throw this.__closePopup(),e}this.j.e.fire((0,m.camelCase)(`after-${o.name}-open-popup`),e.container)}}__openControlList(e){var t;let i=null!=(t=this.jodit.options.controls)?t:{},n=e=>(0,S.findControlType)(e,i),o=e.list,r=this.openPopup(),s=(0,C.makeCollection)(this.j);r.parentElement=this,s.parentElement=r,s.mode="vertical";let a=(t,i)=>{let o;if((0,p.isString)(i)&&n(i))return{name:i.toString(),...n(i)};if((0,p.isString)(t)&&n(t))return{name:t.toString(),...n(t),..."object"==typeof i?i:{}};o=t,(0,h.isPlainObject)(o)&&"title"in o&&"value"in o&&(i=t.value,t=t.title);let{childTemplate:r}=e,s={name:t.toString(),template:r&&((e,t,i)=>r(e,t,i,this)),exec:e.childExec?(t,i,n)=>{var o;return null==(o=e.childExec)?void 0:o.call(e,t,i,{...n,parentControl:e})}:e.exec,data:e.data,command:e.command,isActive:e.isChildActive,value:e.value,isDisabled:e.isChildDisabled,mode:e.mode,args:[...e.args?e.args:[],t,i]};return(0,p.isString)(i)&&(s.text=i),s};s.build((0,c.isArray)(o)?o.map(a):(0,b.keys)(o,!1).map(e=>a(e,o[e])),this.target),r.setContent(s).open(()=>(0,f.position)(this.container),!1,this.j.o.allowTabNavigation?this.container:void 0),this.state.activated=!0}onOutsideClick(e){this.openedPopup&&(e&&l.Dom.isNode(e.target)&&(l.Dom.isOrContains(this.container,e.target)||this.openedPopup.isOwnClick(e))||this.__closePopup())}openPopup(){return this.__closePopup(),this.openedPopup=new _.Popup(this.j,!1),this.j.e.on(this.ow,"mousedown touchstart",this.onOutsideClick).on("escape closeAllPopups",this.onOutsideClick),this.openedPopup}__closePopup(){this.openedPopup&&(this.j.e.off(this.ow,"mousedown touchstart",this.onOutsideClick).off("escape closeAllPopups",this.onOutsideClick),this.state.activated=!1,this.openedPopup.close(),this.openedPopup.destruct(),this.openedPopup=null,this.trigger&&(0,v.attr)(this.trigger,"aria-expanded",!1))}onClick(e){var t,i,n,o,r,s,a;let{control:l}=this;if((0,u.isFunction)(l.exec)){let c=null!=(n=null!=(i=null==(t=this.toolbar)?void 0:t.getTarget(this))?i:this.target)?n:null,u=l.exec(this.j,c,{control:l,originalEvent:e,button:this});if(!1!==u&&!0!==u&&(null==(r=null==(o=this.j)?void 0:o.e)||r.fire("synchro"),this.parentElement&&this.parentElement.update(),null==(a=null==(s=this.j)?void 0:s.e)||a.fire("closeAllPopups afterExec")),!1!==u)return}return l.list?this.__openControlList(l):(0,u.isFunction)(l.popup)?this.onTriggerClick(e):void((l.command||l.name)&&((0,b.call)((0,d.isJoditObject)(this.j)?this.j.execCommand.bind(this.j):this.j.od.execCommand.bind(this.j.od),l.command||l.name,!1,l.args&&l.args[0]),this.j.e.fire("closeAllPopups")))}destruct(){return this.__closePopup(),super.destruct()}constructor(e,t,i=null){super(e),this.control=t,this.target=i,this.state={...(0,y.UIButtonState)(),theme:"toolbar",currentValue:"",hasTrigger:!1},this.openedPopup=null;const o=this.getElm("button");(0,g.assert)(o,"Element button should exists"),this.button=o,Object.defineProperty(o,"component",{value:this,configurable:!0});const r=this.getElm("trigger");(0,g.assert)(r,"Element trigger should exists"),this.trigger=r,r.remove(),e.e.on([this.button,this.trigger],"mousedown",e=>e.preventDefault()),this.onAction(this.onClick),this.hookStatus(n.STATUSES.ready,()=>{this.__initFromControl(),this.update()}),t.mods&&Object.keys(t.mods).forEach(e=>{t.mods&&this.setMod(e,t.mods[e])})}};k([r.cacheHTML],I.prototype,"createContainer",null),k([(0,a.watch)("state.hasTrigger",{immediately:!1})],I.prototype,"onChangeHasTrigger",null),k([(0,a.watch)("trigger:click")],I.prototype,"onTriggerClick",null),k([o.autobind],I.prototype,"onOutsideClick",null),k([o.autobind],I.prototype,"__closePopup",null),I=k([s.component],I)},78720:function(e,t,i){i.d(t,{checkBlockNesting:function(){return o}});var n=i(2748);function o(e,t){if(n.Dom.isFragment(t)&&(t=t.firstChild),e.o.dtd.checkBlockNesting&&n.Dom.isBlock(t)){let t=n.Dom.furthest(e.s.current(),n.Dom.isBlock,e.editor);t&&!e.o.dtd.blockLimits[t.tagName.toLowerCase()]&&(e.s.setCursorAfter(t),n.Dom.isEmpty(t)&&n.Dom.safeRemove(t))}}},78818:function(e,t,i){i.d(t,{History:function(){return c}});var n=i(80480),o=i(81577),r=i(6441),s=i(92643),a=i(52604),l=i(57034);r.Config.prototype.history={enable:!0,maxHistoryLength:1/0,timeout:1e3};class c extends n.ViewComponent{className(){return"History"}redo(){this.__stack.redo()&&(this.startValue=this.snapshot.make(),this.fireChangeStack())}canRedo(){return this.__stack.canRedo()}undo(){this.__stack.undo()&&(this.startValue=this.snapshot.make(),this.fireChangeStack())}canUndo(){return this.__stack.canUndo()}clear(){this.startValue=this.snapshot.make(),this.__stack.clear(),this.fireChangeStack()}get length(){return this.__stack.length}get startValue(){return this.__startValue}set startValue(e){this.__startValue=e}__upTick(){this.updateTick+=1}onChange(){this.__processChanges()}__processChanges(){!this.snapshot.isBlocked&&this.j.o.history.enable&&this.updateStack()}updateStack(e=!1){let t=this.snapshot.make();if(!a.Snapshot.equal(t,this.startValue)){let i=new s.Command(this.startValue,t,this,this.updateTick);if(e){let e=this.__stack.current();e&&this.updateTick===e.tick&&this.__stack.replace(i)}else this.__stack.push(i);this.startValue=t,this.fireChangeStack()}}fireChangeStack(){var e;this.j&&!this.j.isInDestruct&&(null==(e=this.j.events)||e.fire("changeStack"))}destruct(){this.isInDestruct||(this.j.events&&this.j.e.off(".history"),this.snapshot.destruct(),super.destruct())}constructor(e,t=new l.Stack(e.o.history.maxHistoryLength),i=new a.Snapshot(e)){super(e),this.updateTick=0,this.__stack=t,this.snapshot=i,e.o.history.enable&&e.e.on("afterAddPlace.history",()=>{this.isInDestruct||(this.startValue=this.snapshot.make(),e.events.on("internalChange internalUpdate",()=>{this.startValue=this.snapshot.make()}).on(e.editor,["changeSelection","selectionstart","selectionchange","mousedown","mouseup","keydown","keyup"].map(e=>e+".history").join(" "),()=>{this.startValue.html===this.j.getNativeEditorValue()&&(this.startValue=this.snapshot.make())}).on(this,"change.history",this.onChange))})}}!function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);r>3&&s&&Object.defineProperty(t,i,s)}([(0,o.debounce)()],c.prototype,"onChange",null)},78927:function(e,t,i){i.d(t,{idle:function(){return s}});var n=i(91907),o=i(23282),r=i(89890);function s(){return(e,t)=>{if(!(0,o.isFunction)(e[t]))throw(0,r.error)("Handler must be a Function");e.hookStatus(n.STATUSES.ready,e=>{let{async:i}=e,n=e[t];e[t]=(...t)=>i.requestIdleCallback(n.bind(e,...t))})}}},79348:function(e,t,i){i.d(t,{Selection:function(){return p}});var n=i(82758),o=i(65478),r=i(2748),s=i(21537),a=i(27613),l=i(38837),c=i(43463),u=i(25639),d=i(45124),h=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};class p{get j(){return this.jodit}errorNode(e){if(!r.Dom.isNode(e))throw(0,s.error)("Parameter node must be instance of Node")}get area(){return this.j.editor}get win(){return this.j.ew}get doc(){return this.j.ed}get sel(){return this.j.o.shadowRoot&&(0,a.isFunction)(this.j.o.shadowRoot.getSelection)?this.j.o.shadowRoot.getSelection():this.win.getSelection()}get range(){let e=this.sel;return e&&e.rangeCount?e.getRangeAt(0):this.createRange()}get isInsideArea(){let{sel:e}=this,t=(null==e?void 0:e.rangeCount)?e.getRangeAt(0):null;return!(!t||!r.Dom.isOrContains(this.area,t.startContainer))}createRange(e=!1){let t=this.doc.createRange();return e&&this.selectRange(t),t}remove(){let e=this.sel,t=this.current();if(e&&t)for(let t=0;t<e.rangeCount;t+=1)e.getRangeAt(t).deleteContents(),e.getRangeAt(t).collapse(!0)}clear(){var e,t;(null==(e=this.sel)?void 0:e.rangeCount)&&(null==(t=this.sel)||t.removeAllRanges())}removeNode(e){if(!r.Dom.isOrContains(this.j.editor,e,!0))throw(0,s.error)("Selection.removeNode can remove only editor's children");r.Dom.safeRemove(e),this.j.e.fire("afterRemoveNode",e)}insertCursorAtPoint(e,t){this.removeMarkers();try{let i=this.createRange();return(()=>{if(this.doc.caretPositionFromPoint){let n=this.doc.caretPositionFromPoint(e,t);if(n)return i.setStart(n.offsetNode,n.offset)}if(this.doc.caretRangeFromPoint){let n=this.doc.caretRangeFromPoint(e,t);(0,l.assert)(n,"Incorrect caretRangeFromPoint behaviour"),i.setStart(n.startContainer,n.startOffset)}})(),i.collapse(!0),this.selectRange(i),!0}catch(e){}return!1}get hasMarkers(){return!!this.markers.length}get markers(){return(0,s.$$)("span[data-"+n.MARKER_CLASS+"]",this.area)}removeMarkers(){r.Dom.safeRemove.apply(null,this.markers)}marker(e=!1,t){let i=null;t&&(i=t.cloneRange()).collapse(e);let o=this.j.createInside.span();return o.id=n.MARKER_CLASS+"_"+Number(new Date)+"_"+(Math.random()+"").slice(2),o.style.lineHeight="0",o.style.display="none",r.Dom.markTemporary(o),(0,s.attr)(o,"data-"+n.MARKER_CLASS,e?"start":"end"),o.appendChild(this.j.createInside.text(n.INVISIBLE_SPACE)),i&&r.Dom.isOrContains(this.area,e?i.startContainer:i.endContainer)&&i.insertNode(o),o}restore(){let e=!1,t=e=>`span[data-${n.MARKER_CLASS}=${e?"start":"end"}]`,i=this.area.querySelector(t(!0)),o=this.area.querySelector(t(!1));if(i){if(e=this.createRange(),o)e.setStartAfter(i),r.Dom.safeRemove(i),e.setEndBefore(o),r.Dom.safeRemove(o);else{let t=i.previousSibling;r.Dom.isText(t)?e.setStart(t,t.nodeValue?t.nodeValue.length:0):e.setStartBefore(i),r.Dom.safeRemove(i),e.collapse(!0)}e&&this.selectRange(e)}}fakes(){let e=this.sel;if(!e||!e.rangeCount)return[];let t=e.getRangeAt(0);(0,l.assert)(t,"Range is null");let i=t.cloneRange();i.collapse(!0);let n=this.j.createInside.fake();r.Dom.safeInsertNode(i,n),t.setStartBefore(n);let o=[n];if(!t.collapsed){let e=t.cloneRange();e.collapse(!1);let i=this.j.createInside.fake();r.Dom.safeInsertNode(e,i),t.setEndAfter(i),o.push(i)}return this.selectRange(t),o}restoreFakes(e){var t,i,n,o;let s=e.filter(e=>e.isConnected);if(!s.length)return;let[a,l]=s,c=this.createRange();c.setStartAfter(a),l&&c.setEndBefore(l),this.selectRange(c),(null==(t=a.parentNode)?void 0:t.firstChild)!==(null==(i=a.parentNode)?void 0:i.lastChild)&&r.Dom.safeRemove(a),(null==(n=null==l?void 0:l.parentNode)?void 0:n.firstChild)!==(null==(o=null==l?void 0:l.parentNode)?void 0:o.lastChild)&&r.Dom.safeRemove(l)}save(e=!1){if(this.hasMarkers)return[];let t=this.sel;if(!t||!t.rangeCount)return[];let i=[],n=t.rangeCount,o=[];for(let e=0;n>e;e+=1)if(o[e]=t.getRangeAt(e),o[e].collapsed){let t=this.marker(!0,o[e]);i[e]={startId:t.id,collapsed:!0,startMarker:t.outerHTML}}else{let t=this.marker(!0,o[e]),n=this.marker(!1,o[e]);i[e]={startId:t.id,endId:n.id,collapsed:!1,startMarker:t.outerHTML,endMarker:n.outerHTML}}if(!e){t.removeAllRanges();for(let e=n-1;e>=0;--e){let n=this.doc.getElementById(i[e].startId);if(n){if(i[e].collapsed)o[e].setStartAfter(n),o[e].collapse(!0);else if(o[e].setStartBefore(n),i[e].endId){let t=this.doc.getElementById(i[e].endId);t&&o[e].setEndAfter(t)}try{t.addRange(o[e].cloneRange())}catch(e){}}}}return i}focus(e={preventScroll:!0}){var t,i;if(!this.isFocused()){let n=(0,s.getScrollParent)(this.j.container),o=null==n?void 0:n.scrollTop;this.j.iframe&&"complete"===this.doc.readyState&&this.j.iframe.focus(e),this.win.focus(),this.area.focus(e),o&&(null==n?void 0:n.scrollTo)&&n.scrollTo(0,o);let a=this.sel,l=(null==a?void 0:a.rangeCount)?null==a?void 0:a.getRangeAt(0):null;if(!l||!r.Dom.isOrContains(this.area,l.startContainer)){let e=this.createRange();e.setStart(this.area,0),e.collapse(!0),this.selectRange(e,!1)}return this.j.editorIsActive||null==(i=null==(t=this.j)?void 0:t.events)||i.fire("focus"),!0}return!1}isCollapsed(){let e=this.sel;for(let t=0;e&&t<e.rangeCount;t+=1)if(!e.getRangeAt(t).collapsed)return!1;return!0}isFocused(){return this.doc.hasFocus&&this.doc.hasFocus()&&this.area===this.doc.activeElement}current(e=!0){if(this.j.getRealMode()!==n.MODE_WYSIWYG)return null;let t=this.sel;if(!t||0===t.rangeCount)return null;let i=t.getRangeAt(0),o=i.startContainer,s=!1;if(r.Dom.isTag(o,"br")&&t.isCollapsed)return o;if(!r.Dom.isText(o)){let n=(0,d.findCorrectCurrentNode)(o,i,s,t.isCollapsed,e,e=>s?e.lastChild:e.firstChild);o=n.node,s=n.rightMode}return o&&r.Dom.isOrContains(this.area,o)?o:null}insertNode(e,t=!0,i=!0){this.errorNode(e);let n=r.Dom.isFragment(e)?e.lastChild:e;this.j.e.fire("safeHTML",e),!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore());let o=this.sel;this.j.history.snapshot.transaction(()=>{if(this.isCollapsed()||this.j.execCommand("Delete"),this.j.e.fire("beforeInsertNode",e),o&&o.rangeCount){let t=o.getRangeAt(0),{firstChild:i}=e;r.Dom.isOrContains(this.area,t.commonAncestorContainer)?r.Dom.safeInsertNode(t,e):this.area.appendChild(e),[()=>null==i?void 0:i.previousSibling,()=>null==i?void 0:i.previousSibling,()=>{var e;return null==(e=null==i?void 0:i.previousSibling)?void 0:e.lastChild}].forEach(e=>{let t=e();t&&r.Dom.isEmptyTextNode(t)&&r.Dom.safeRemove(t)})}else this.area.appendChild(e);let i=e=>{if(r.Dom.isBlock(e)){let t=e.lastChild;if(t)return i(t)}this.setCursorAfter(e)};t&&(r.Dom.isFragment(e)?n&&i(n):i(e)),this.j.o.scrollToPastedContent&&(0,s.scrollIntoViewIfNeeded)(null!=n?n:e,this.j.editor,this.doc)}),i&&this.j.events&&this.j.__imdSynchronizeValues(),this.j.events&&this.j.e.fire("afterInsertNode",r.Dom.isFragment(e)?n:e)}insertHTML(e,t=!0){if(""===e)return;let i=this.j.createInside.div(),n=this.j.createInside.fragment();if(!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore()),r.Dom.isNode(e)?i.appendChild(e):i.innerHTML=e.toString(),(this.j.isEditorMode()||!1!==this.j.e.fire("insertHTML",i.innerHTML))&&i.lastChild){for(;i.firstChild;)i.firstChild,n.appendChild(i.firstChild);this.insertNode(n,t,!1),this.j.__imdSynchronizeValues()}}insertImage(e,t=null,i=null){let n=(0,a.isString)(e)?this.j.createInside.element("img"):e;if((0,a.isString)(e)&&n.setAttribute("src",e),null!=i){let e=i.toString();e&&"auto"!==e&&0>(e+"").indexOf("px")&&0>(e+"").indexOf("%")&&(e+="px"),(0,s.attr)(n,"width",e)}t&&"object"==typeof t&&(0,s.css)(n,t);let o=()=>{(n.naturalHeight<n.offsetHeight||n.naturalWidth<n.offsetWidth)&&(n.style.width="",n.style.height=""),n.removeEventListener("load",o)};this.j.e.on(n,"load",o),n.complete&&o(),this.insertNode(n),this.j.e.fire("afterInsertImage",n)}eachSelection(e){var t;let i=this.sel;if(!i||!i.rangeCount)return;let o=i.getRangeAt(0),l=o.commonAncestorContainer;r.Dom.isHTMLElement(l)||(l=l.parentElement);let c=[],u=o.startOffset,d=l.childNodes.length,h=o.startContainer===this.area?l.childNodes[u<d?u:d-1]:o.startContainer,p=o.endContainer===this.area?l.childNodes[o.endOffset-1]:o.endContainer;r.Dom.isText(h)&&h===o.startContainer&&o.startOffset===(null==(t=h.nodeValue)?void 0:t.length)&&h.nextSibling&&(h=h.nextSibling),r.Dom.isText(p)&&p===o.endContainer&&0===o.endOffset&&p.previousSibling&&(p=p.previousSibling);let f=e=>{!e||e===l||r.Dom.isEmptyTextNode(e)||(0,a.isMarker)(e)||c.push(e)};f(h),h!==p&&r.Dom.isOrContains(l,h,!0)&&r.Dom.find(h,e=>(f(e),e===p||e&&e.contains&&e.contains(p)),l,!0,!1);let m=t=>{if(r.Dom.isOrContains(this.j.editor,t,!0)){if(t.nodeName.match(/^(UL|OL)$/))return(0,s.toArray)(t.childNodes).forEach(m);if(r.Dom.isTag(t,"li"))if(t.firstChild)t=t.firstChild;else{let e=this.j.createInside.text(n.INVISIBLE_SPACE);t.appendChild(e),t=e}e(t)}};0===c.length&&(r.Dom.isEmptyTextNode(h)&&c.push(h),h.firstChild&&c.push(h.firstChild)),c.forEach(m)}cursorInTheEdge(e,t,i=null){var n;let o=!e,a=null==(n=this.sel)?void 0:n.getRangeAt(0);if(null!=i||(i=this.current(!1)),!a||!i||!r.Dom.isOrContains(t,i,!0))return null;let l=e?a.startContainer:a.endContainer,c=e?a.startOffset:a.endOffset,u=e=>!!(e&&!r.Dom.isTag(e,"br")&&!r.Dom.isEmptyTextNode(e)&&!r.Dom.isTemporary(e)&&!(r.Dom.isElement(e)&&!0===this.j.e.fire("isInvisibleForCursor",e)));if(r.Dom.isText(l)){if((0,d.cursorInTheEdgeOfString)(l,c,e,o))return!1}else{let e=(0,s.toArray)(l.childNodes);if(o){if(e.slice(c).some(u))return!1}else if(e.slice(0,c).some(u))return!1}let h=i;for(;h&&h!==t;){let t=r.Dom.sibling(h,e);if(!t){h=h.parentNode;continue}if((h=t)&&u(h))return!1}return!0}cursorOnTheLeft(e,t){return this.cursorInTheEdge(!0,e,t)}cursorOnTheRight(e,t){return this.cursorInTheEdge(!1,e,t)}setCursorAfter(e){return this.setCursorNearWith(e,!1)}setCursorBefore(e){return this.setCursorNearWith(e,!0)}setCursorNearWith(e,t){var i,n;if(this.errorNode(e),!r.Dom.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,s.error)("Node element must be in editor");let o=this.createRange(),a=null;return r.Dom.isText(e)?t?o.setStart(e,0):o.setEnd(e,null!=(n=null==(i=e.nodeValue)?void 0:i.length)?n:0):(a=this.j.createInside.fake(),t?o.setStartBefore(e):o.setEndAfter(e),o.collapse(t),r.Dom.safeInsertNode(o,a),o.selectNode(a)),o.collapse(t),this.selectRange(o),a}setCursorIn(e,t=!1){if(this.errorNode(e),!r.Dom.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,s.error)("Node element must be in editor");let i=this.createRange(),o=e,a=e;do{if(r.Dom.isText(o)||r.Dom.isTag(o,n.INSEPARABLE_TAGS))break;a=o,o=t?o.firstChild:o.lastChild}while(o)if(!o){let e=this.j.createInside.text(n.INVISIBLE_SPACE);r.Dom.isTag(a,n.INSEPARABLE_TAGS)?o=a:(a.appendChild(e),a=e)}let l=o||a;return r.Dom.isTag(l,n.INSEPARABLE_TAGS)?t||r.Dom.isTag(l,"br")?i.setStartBefore(l):i.setEndAfter(l):i.selectNodeContents(l),i.collapse(t),this.selectRange(i),a}selectRange(e,t=!0){let i=this.sel;return t&&!this.isFocused()&&this.focus(),i&&(i.removeAllRanges(),i.addRange(e)),this.j.e.fire("changeSelection"),this}select(e,t=!1){if(this.errorNode(e),!r.Dom.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,s.error)("Node element must be in editor");let i=this.createRange();return i[t?"selectNodeContents":"selectNode"](e),this.selectRange(i)}get html(){let e=this.sel;if(e&&e.rangeCount>0){let t=e.getRangeAt(0).cloneContents(),i=this.j.createInside.div();return i.appendChild(t),i.innerHTML}return""}*wrapInTagGen(e){if(this.isCollapsed()){let t=this.jodit.createInside.element("font",n.INVISIBLE_SPACE);this.insertNode(t,!1,!1),e&&e[0]&&t.appendChild(e[0]),yield t,r.Dom.unwrap(t);return}for(let e of((0,s.$$)("*[style*=font-size]",this.area).forEach(e=>{(0,s.attr)(e,"data-font-size",e.style.fontSize.toString()),e.style.removeProperty("font-size")}),this.j.nativeExecCommand("fontsize",!1,"7"),(0,s.$$)("*[data-font-size]",this.area).forEach(e=>{let t=(0,s.attr)(e,"data-font-size");t&&(e.style.fontSize=t,(0,s.attr)(e,"data-font-size",null))}),(0,s.$$)('font[size="7"]',this.area))){let{firstChild:t,lastChild:i}=e;if(t&&t===i&&(0,a.isMarker)(t)){r.Dom.unwrap(e);continue}t&&(0,a.isMarker)(t)&&r.Dom.before(e,t),i&&(0,a.isMarker)(i)&&r.Dom.after(e,i),yield e,r.Dom.unwrap(e)}}wrapInTag(e){let t=[];for(let i of this.wrapInTagGen())try{if(i.firstChild&&i.firstChild===i.lastChild&&(0,a.isMarker)(i.firstChild))continue;(0,a.isFunction)(e)?e(i):t.push(r.Dom.replace(i,e,this.j.createInside))}finally{let e=i.parentNode;e&&(r.Dom.unwrap(i),r.Dom.isEmpty(e)&&r.Dom.unwrap(e))}return t}commitStyle(e){(0,l.assert)((0,s.size)(e)>0,"Need to pass at least one option"),new u.CommitStyle(e).apply(this.j)}splitSelection(e,t){if(!this.isCollapsed())return null;let i=this.createRange(),o=this.range;i.setStartBefore(e);let s=this.cursorOnTheRight(e,t),a=this.cursorOnTheLeft(e,t),c=this.j.createInside.element("br"),u=this.j.createInside.fake(),d=u.cloneNode();try{if(s||a){t?r.Dom.before(t,c):r.Dom.safeInsertNode(o,c);let e=(e,t)=>{let i=t(e);for(;i;){let e=t(i);if(i&&(r.Dom.isTag(i,"br")||r.Dom.isEmptyTextNode(i)))r.Dom.safeRemove(i);else break;i=e}};e(c,e=>e.nextSibling),e(c,e=>e.previousSibling),r.Dom.after(c,d),r.Dom.before(c,u),s?(i.setEndBefore(c),o.setEndBefore(c)):(i.setEndAfter(c),o.setEndAfter(c))}else i.setEnd(o.startContainer,o.startOffset);let h=i.extractContents(),p=e=>r.Dom.each(e,e=>r.Dom.isEmptyTextNode(e)&&r.Dom.safeRemove(e));(0,l.assert)(e.parentNode,"Splitting fails");try{if(p(h),p(e),e.parentNode.insertBefore(h,e),!t&&s&&(null==c?void 0:c.parentNode)){let e=this.createRange();e.setStartBefore(c),this.selectRange(e)}}catch(e){if(!n.IS_PROD)throw e}let f=e=>{var t,i,n;(null==(t=null==e?void 0:e.parentNode)?void 0:t.firstChild)===(null==(i=null==e?void 0:e.parentNode)?void 0:i.lastChild)&&(null==(n=null==e?void 0:e.parentNode)||n.appendChild(c.cloneNode()))};f(u),f(d)}finally{r.Dom.safeRemove(u),r.Dom.safeRemove(d)}return e.previousElementSibling}expandSelection(){if(this.isCollapsed())return this;let{range:e}=this,t=e.cloneRange();if(!r.Dom.isOrContains(this.j.editor,e.commonAncestorContainer,!0))return this;let i=t=>{let i=this.j.createInside.fake(),n=e.cloneRange();return n.collapse(t),r.Dom.safeInsertNode(n,i),(0,c.moveTheNodeAlongTheEdgeOutward)(i,t,this.j.editor),i},n=i(!0),o=i(!1);t.setStartAfter(n),t.setEndBefore(o);let a=r.Dom.findSibling(n,!1),l=r.Dom.findSibling(o,!0);if(a!==l){let e=r.Dom.isElement(a)&&r.Dom.isOrContains(a,o),i=!e&&r.Dom.isElement(l)&&r.Dom.isOrContains(l,n);if(e||i){let i=e?a:l,s=i;for(;r.Dom.isElement(i);)(i=e?i.firstElementChild:i.lastElementChild)&&(e?r.Dom.isOrContains(i,o):r.Dom.isOrContains(i,n))&&(s=i);e?t.setStart(s,0):t.setEnd(s,s.childNodes.length)}}if(this.selectRange(t),r.Dom.safeRemove(n,o),this.isCollapsed())throw(0,s.error)("Selection is collapsed");return this}constructor(e){this.jodit=e,e.e.on("removeMarkers",()=>{this.removeMarkers()})}}h([o.autobind],p.prototype,"createRange",null),h([o.autobind],p.prototype,"focus",null),h([o.autobind],p.prototype,"setCursorAfter",null),h([o.autobind],p.prototype,"setCursorBefore",null),h([o.autobind],p.prototype,"setCursorIn",null)},79419:function(e,t,i){var n=i(12153),o=i(6441),r=i(94775),s=i(23140),a=i(92699),l=i(10052);o.Config.prototype.controls.cut={command:"cut",isDisabled:e=>e.s.isCollapsed(),tooltip:"Cut selection"},o.Config.prototype.controls.copy={command:"copy",isDisabled:e=>e.s.isCollapsed(),tooltip:"Copy selection"},o.Config.prototype.controls.selectall={icon:"select-all",command:"selectall",tooltip:"Select all"},n.Icon.set("copy",r.default).set("cut",s.default).set("paste",a.default).set("select-all",l.default)},79799:function(e,t,i){var n=i(82758),o=i(65478),r=i(2748),s=i(580),a=i(21537),l=i(20356);i(84380);var c=i(117),u=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};class d extends l.Plugin{afterInit(e){e.e.on("paste.paste",this.onPaste).on("pasteStack.paste",e=>this.pasteStack.push(e)),e.o.nl2brInPlainText&&this.j.e.on("processPaste.paste",this.onProcessPasteReplaceNl2Br)}beforeDestruct(e){e.e.off("paste.paste",this.onPaste).off("processPaste.paste",this.onProcessPasteReplaceNl2Br).off(".paste")}onPaste(e){try{if(!1===this.customPasteProcess(e)||!1===this.j.e.fire("beforePaste",e))return e.preventDefault(),!1;this.defaultPasteProcess(e)}finally{this.j.e.fire("afterPaste",e)}}customPasteProcess(e){if(!this.j.o.processPasteHTML)return;let t=(0,a.getDataTransfer)(e),i=[null==t?void 0:t.getData(n.TEXT_PLAIN),null==t?void 0:t.getData(n.TEXT_HTML),null==t?void 0:t.getData(n.TEXT_RTF)];for(let t of i)if((0,a.isHTML)(t)&&(this.j.e.fire("processHTML",e,t,{plain:i[0],html:i[1],rtf:i[2]})||this.processHTML(e,t)))return!1}defaultPasteProcess(e){let t=(0,a.getDataTransfer)(e),i=(null==t?void 0:t.getData(n.TEXT_HTML))||(null==t?void 0:t.getData(n.TEXT_PLAIN));if(t&&i&&""!==(0,a.trim)(i)){let n=this.j.e.fire("processPaste",e,i,(0,c.getAllTypes)(t));void 0!==n&&(i=n),((0,a.isString)(i)||r.Dom.isNode(i))&&this.__insertByType(e,i,this.j.o.defaultActionOnPaste),e.preventDefault(),e.stopPropagation()}}processHTML(e,t){if(!this.j.o.askBeforePasteHTML)return!1;if(this.j.o.memorizeChoiceWhenPasteFragment){let i=this.pasteStack.find(e=>e.html===t);if(i)return this.__insertByType(e,t,i.action||this.j.o.defaultActionOnPaste),!0}if(this._isDialogOpened)return!0;let i=(0,c.askInsertTypeDialog)(this.j,"Your code is similar to HTML. Keep as HTML?","Paste as HTML",i=>{this._isDialogOpened=!1,this.__insertByType(e,t,i)},this.j.o.pasteHTMLActionList);return i&&(this._isDialogOpened=!0,i.e.on("beforeClose",()=>{this._isDialogOpened=!1})),!0}__insertByType(e,t,i){if(this.pasteStack.push({html:t,action:i}),(0,a.isString)(t))switch(this.j.buffer.set(n.CLIPBOARD_ID,t),i){case n.INSERT_CLEAR_HTML:t=(0,a.cleanFromWord)(t);break;case n.INSERT_ONLY_TEXT:t=(0,a.stripTags)(t,this.j.ed,new Set(this.j.o.pasteExcludeStripTags));break;case n.INSERT_AS_TEXT:t=(0,a.htmlspecialchars)(t);break;default:{let n=this.j.e.fire("onCustomPasteHTMLOption",i,t,e);"string"==typeof n&&(t=n)}}(0,c.pasteInsertHtml)(e,this.j,t)}onProcessPasteReplaceNl2Br(e,t,i){if(i===n.TEXT_PLAIN+";"&&!(0,a.isHTML)(t))return(0,a.nl2br)(t)}constructor(){super(...arguments),this.pasteStack=new a.LimitedStack(20),this._isDialogOpened=!1}}u([o.autobind],d.prototype,"onPaste",null),u([o.autobind],d.prototype,"onProcessPasteReplaceNl2Br",null),s.pluginSystem.add("paste",d)},79910:function(e,t){t.default={"Type something":"إبدأ في الكتابة...","About Jodit":"حول جوديت","Jodit Editor":"محرر جوديت","Jodit User's Guide":"دليل مستخدم جوديت","contains detailed help for using":"يحتوي على مساعدة مفصلة للاستخدام","For information about the license, please go to our website:":"للحصول على معلومات حول الترخيص، يرجى الذهاب لموقعنا:","Buy full version":"شراء النسخة الكاملة","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"حقوق الطبع والنشر © XDSoft.net - Chupurnov Valeriy. كل الحقوق محفوظة.",Anchor:"مِرْساة","Open in new tab":"فتح في نافذة جديدة","Open in fullsize":"فتح المحرر في الحجم الكامل","Clear Formatting":"مسح التنسيق","Fill color or set the text color":"ملء اللون أو تعيين لون النص",Redo:"إعادة",Undo:"تراجع",Bold:"عريض",Italic:"مائل","Insert Unordered List":"إدراج قائمة غير مرتبة","Insert Ordered List":"إدراج قائمة مرتبة","Align Center":"محاذاة للوسط","Align Justify":"محاذاة مثبتة","Align Left":"محاذاة لليسار","Align Right":"محاذاة لليمين","Insert Horizontal Line":"إدراج خط أفقي","Insert Image":"إدراج صورة","Insert file":"ادخال الملف","Insert youtube/vimeo video":"إدراج فيديو يوتيوب/فيميو ","Insert link":"إدراج رابط","Font size":"حجم الخط","Font family":"نوع الخط","Insert format block":"إدراج كتلة تنسيق",Normal:"عادي","Heading 1":"عنوان 1","Heading 2":"عنوان 2","Heading 3":"عنوان 3","Heading 4":"عنوان 4",Quote:"إقتباس",Code:"كود",Insert:"إدراج","Insert table":"إدراج جدول","Decrease Indent":"تقليل المسافة البادئة","Increase Indent":"زيادة المسافة البادئة","Select Special Character":"تحديد أحرف خاصة","Insert Special Character":"إدراج حرف خاص","Paint format":"تنسيق الرسم","Change mode":"تغيير الوضع",Margins:"هوامش",top:"أعلى",right:"يمين",bottom:"أسفل",left:"يسار",Styles:"الأنماط",Classes:"الطبقات",Align:"محاذاة",Right:"اليمين",Center:"الوسط",Left:"اليسار","--Not Set--":"--غير مضبوط--",Src:"Src",Title:"العنوان",Alternative:"العنوان البديل",Link:"الرابط","Open link in new tab":"افتح الرابط في نافذة جديدة",Image:"الصورة",file:"ملف",Advanced:"متقدم","Image properties":"خصائص الصورة",Cancel:"إلغاء",Ok:"حسنا","File Browser":"متصفح الملفات","Error on load list":"حدث خطأ في تحميل القائمة ","Error on load folders":"حدث خطأ في تحميل المجلدات","Are you sure?":"هل أنت واثق؟","Enter Directory name":"أدخل اسم المجلد","Create directory":"إنشاء مجلد","type name":"أكتب إسم","Drop image":"إسقاط صورة","Drop file":"إسقاط الملف","or click":"أو أنقر","Alternative text":"النص البديل",Upload:"رفع",Browse:"تصفح",Background:"الخلفية",Text:"نص",Top:"أعلى",Middle:"الوسط",Bottom:"الأسفل","Insert column before":"إدراج عمود قبل","Insert column after":"إدراج عمود بعد","Insert row above":"إدراج صف أعلى","Insert row below":"إدراج صف أسفل","Delete table":"حذف الجدول","Delete row":"حذف الصف","Delete column":"حذف العمود","Empty cell":"خلية فارغة","Chars: %d":"%d حرف","Words: %d":"%d كلام","Strike through":"اضرب من خلال",Underline:"أكد",superscript:"حرف فوقي",subscript:"مخطوطة","Cut selection":"قطع الاختيار","Select all":"اختر الكل",Break:"استراحة","Search for":"البحث عن","Replace with":"استبدل ب",Replace:"محل",Paste:"معجون","Choose Content to Paste":"اختر محتوى للصق",source:"مصدر",bold:"بالخط العريض",italic:"مائل",brush:"شغل",link:"صلة",undo:"إلغاء",redo:"كرر",table:"طاولة",image:"صورة",eraser:"نظيف",paragraph:"فقرة",fontsize:"حجم الخط",video:"فيديو",font:"الخط",about:"حول المحرر",print:"طباعة",underline:"أكد",strikethrough:"شطب",indent:"المسافة البادئة",outdent:"نتوء",fullsize:"ملء الشاشة",shrink:"الحجم التقليدي",hr:"الخط",ul:"قائمة",ol:"قائمة مرقمة",cut:"قطع",selectall:"اختر الكل","Embed code":"قانون","Open link":"فتح الرابط","Edit link":"تعديل الرابط","No follow":"سمة Nofollow",Unlink:"إزالة الرابط",Update:"تحديث",pencil:"لتحرير",Eye:"مراجعة"," URL":"URL",Edit:"تحرير","Horizontal align":"محاذاة أفقية",Filter:"فلتر","Sort by changed":"عن طريق التغيير","Sort by name":"بالاسم","Sort by size":"حسب الحجم","Add folder":"إضافة مجلد",Reset:"إعادة",Save:"احتفظ","Save as ...":"حفظ باسم",Resize:"تغيير الحجم",Crop:"حجم القطع",Width:"عرض",Height:"ارتفاع","Keep Aspect Ratio":"حافظ على النسب",Yes:"أن",No:"لا",Remove:"حذف",Select:"تميز","Select %s":"تميز %s","Vertical align":"محاذاة عمودية",Split:"انشق، مزق",Merge:"اذهب","Add column":"أضف العمود","Add row":"اضف سطر","License: %s":"رخصة %s",Delete:"حذف","Split vertical":"انقسام عمودي","Split horizontal":"تقسيم أفقي",Border:"الحدود","Your code is similar to HTML. Keep as HTML?":"يشبه الكود الخاص بك HTML. تبقي كما HTML؟","Paste as HTML":"الصق ك HTML",Keep:"احتفظ","Insert as Text":"إدراج كنص","Insert only Text":"إدراج النص فقط","You can only edit your own images. Download this image on the host?":"يمكنك فقط تحرير صورك الخاصة. تحميل هذه الصورة على المضيف؟","The image has been successfully uploaded to the host!":"تم تحميل الصورة بنجاح على الخادم!",palette:"لوحة","There are no files":"لا توجد ملفات في هذا الدليل.",Rename:"إعادة تسمية","Enter new name":"أدخل اسم جديد",preview:"معاينة",download:"تحميل","Paste from clipboard":"لصق من الحافظة","Your browser doesn't support direct access to the clipboard.":"متصفحك لا يدعم إمكانية الوصول المباشر إلى الحافظة.","Copy selection":"نسخ التحديد",copy:"نسخ","Border radius":"دائرة نصف قطرها الحدود","Show all":"عرض كل",Apply:"تطبيق","Please fill out this field":"يرجى ملء هذا المجال","Please enter a web address":"يرجى إدخال عنوان ويب",Default:"الافتراضي",Circle:"دائرة",Dot:"نقطة",Quadrate:"المربعة",Find:"البحث","Find Previous":"تجد السابقة","Find Next":"تجد التالي","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"للصق المحتوى قادم من Microsoft Word/Excel الوثيقة. هل تريد أن تبقي شكل أو تنظيفه ؟ ","Word Paste Detected":"كلمة لصق الكشف عن",Clean:"نظيفة","Insert className":"أدخل اسم الفصل","Press Alt for custom resizing":"اضغط البديل لتغيير حجم مخصص","Line height":"ارتفاع الخط",spellcheck:"التدقيق الإملائي","Speech Recognize":"التعرف على الكلام",All:"تحديد الكل"}},80020:function(e,t,i){i.d(t,{sendFiles:function(){return r}});var n=i(21537),o=i(71686);function r(e,t,i,r,s){if(!t)return Promise.reject((0,n.error)("Need files"));let{o:a}=e,l=(0,n.toArray)(t);if(!l.length)return Promise.reject((0,n.error)("Need files"));let c=[];if(a.insertImageAsBase64URI&&function(e,t,i,o,r,s){let a,l;for(l=0;l<e.length;l+=1)if((a=e[l])&&a.type){let c=a.type.match(/\/([a-z0-9]+)/i),u=c[1]?c[1].toLowerCase():"";if(!t.includes(u))continue;let d=new FileReader;i.push(o.j.async.promise((e,t)=>{d.onerror=t,d.onloadend=()=>{let t={baseurl:"",files:[d.result],isImages:[!0]};((0,n.isFunction)(r)?r:s).call(o,t),e(t)},d.readAsDataURL(a)})),e[l]=null}}(l,a.imagesExtensions,c,e,i,a.defaultHandlerSuccess),(l=l.filter(e=>e)).length){let t,u=new FormData;u.append(a.pathVariableName,e.path),u.append("source",e.source);for(let i=0;i<l.length;i+=1)if(t=l[i]){let n=/\.\w+$/.test(t.name),o=t.type.match(/\/([a-z0-9]+)/i),r=o&&o[1]?o[1].toLowerCase():"",s=l[i].name||Math.random().toString().replace(".","");if(!n&&r){let e=r;["jpeg","jpg"].includes(e)&&(e="jpeg|jpg"),RegExp(".("+e+")$","i").test(s)||(s+="."+r)}let[c,d,h]=a.processFileName.call(e,a.filesVariableName(i),l[i],s);u.append(c,d,h)}s&&s(u),a.data&&(0,n.isPlainObject)(a.data)&&Object.keys(a.data).forEach(e=>{u.append(e,a.data[e])}),a.prepareData.call(e,u),c.push((0,o.send)(e,u).then(t=>(a.isSuccess.call(e,t)?((0,n.isFunction)(i)?i:a.defaultHandlerSuccess).call(e,a.process.call(e,t)):((0,n.isFunction)(r)?r:a.defaultHandlerError).call(e,(0,n.error)(a.getMessage.call(e,t))),t)).then(()=>{e.j.events&&e.j.e.fire("filesWereUploaded")}))}return Promise.all(c)}},80084:function(e,t,i){i.r(t),t.default={"Line height":"ارتفاع الخط"}},80105:function(e,t,i){i.r(t),t.default={"Line height":"선 높이"}},80152:function(e,t){t.default='<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> '},80256:function(e,t,i){i.d(t,{UIInput:function(){return h}});var n,o=i(65478),r=i(2748),s=i(4510),a=i(43555),l=i(48538),c=i(30389),u=i(12153),d=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};let h=n=class e extends l.UIElement{className(){return"UIInput"}onChangeClear(){this.state.clearButton?r.Dom.after(this.nativeInput,this.clearButton):r.Dom.safeRemove(this.clearButton)}onChangeClassName(e,t){t&&this.container.classList.remove(t),this.state.className&&this.container.classList.add(this.state.className)}onChangeState(){this.name=this.state.name;let e=this.nativeInput,{name:t,icon:i,type:n,ref:o,required:s,placeholder:l,autocomplete:c,label:d}=this.state;(0,a.attr)(e,"name",t),(0,a.attr)(e,"type",n),(0,a.attr)(e,"data-ref",o||t),(0,a.attr)(e,"ref",o||t),(0,a.attr)(e,"required",s||null),(0,a.attr)(e,"autocomplete",c?null:"off"),(0,a.attr)(e,"placeholder",l?this.j.i18n(l):""),i&&u.Icon.exists(i)?(r.Dom.before(e,this.icon),this.icon.innerHTML=u.Icon.get(i)):r.Dom.safeRemove(this.icon),d?(r.Dom.before(this.wrapper,this.label),this.label.innerText=this.j.i18n(d)):r.Dom.safeRemove(this.label),this.updateValidators()}updateValidators(){var e;this.validators.clear(),this.state.required&&this.validators.add(c.inputValidators.required),null==(e=this.state.validators)||e.forEach(e=>{let t=c.inputValidators[e];t&&this.validators.add(t)})}set error(e){this.setMod("has-error",!!e),e?(this.__errorBox.innerText=this.j.i18n(e,this.j.i18n(this.state.label||"")),this.container.appendChild(this.__errorBox)):r.Dom.safeRemove(this.__errorBox)}get value(){return this.nativeInput.value}set value(e){this.value!==e&&(this.nativeInput.value=e,this.onChangeValue())}onChangeStateValue(){let e=this.state.value.toString();e!==this.value&&(this.value=e)}onChangeValue(){var e,t;let{value:i}=this;this.state.value!==i&&(this.state.value=i,this.j.e.fire(this,"change",i),null==(t=(e=this.state).onChange)||t.call(e,i))}validate(){this.error="";let e=(0,s.toArray)(this.validators).every(e=>e(this));return this.__markInputInvalid(),e}__markInputInvalid(){var e,t,i,n;this.error?(this.nativeInput.setAttribute("aria-invalid","true"),null==(t=(e=this.nativeInput).setCustomValidity)||t.call(e,this.error)):(this.nativeInput.removeAttribute("aria-invalid"),null==(n=(i=this.nativeInput).setCustomValidity)||n.call(i,""))}createContainer(e){let t=super.createContainer();this.wrapper=this.j.c.div(this.getFullElName("wrapper")),this.nativeInput||(this.nativeInput=this.createNativeInput());let{nativeInput:i}=this;return i.classList.add(this.getFullElName("input")),this.wrapper.appendChild(i),t.appendChild(this.wrapper),(0,a.attr)(i,"dir",this.j.o.direction||"auto"),t}createNativeInput(e){return this.j.create.element("input")}focus(){this.nativeInput.focus()}get isFocused(){return this.nativeInput===this.j.od.activeElement}onChangeFocus(){this.setMod("focused",this.isFocused)}constructor(e,t){super(e,t),this.label=this.j.c.span(this.getFullElName("label")),this.icon=this.j.c.span(this.getFullElName("icon")),this.clearButton=this.j.c.span(this.getFullElName("clear"),u.Icon.get("cancel")),this.state={...n.defaultState},this.__errorBox=this.j.c.span(this.getFullElName("error")),this.validators=new Set([]),(null==t?void 0:t.value)!==void 0&&(t.value=t.value.toString()),Object.assign(this.state,t),void 0!==this.state.clearButton&&(this.j.e.on(this.clearButton,"click",e=>{e.preventDefault(),this.nativeInput.value="",this.j.e.fire(this.nativeInput,"input"),this.focus()}).on(this.nativeInput,"input",()=>{this.state.clearButton=!!this.value.length}),this.state.clearButton=!!this.value.length),this.j.e.on(this.nativeInput,"focus blur",()=>{this.onChangeFocus()}).on(this.nativeInput,"input change",this.onChangeValue),this.onChangeState(),this.onChangeClassName(),this.onChangeStateValue()}};h.defaultState={className:"",autocomplete:!0,name:"",value:"",icon:"",label:"",ref:"",type:"text",placeholder:"",required:!1,validators:[]},d([(0,o.watch)("state.clearButton")],h.prototype,"onChangeClear",null),d([(0,o.watch)("state.className")],h.prototype,"onChangeClassName",null),d([(0,o.watch)(["state.name","state.type","state.label","state.placeholder","state.autocomplete","state.icon"],{immediately:!1}),(0,o.debounce)()],h.prototype,"onChangeState",null),d([(0,o.watch)("state.value")],h.prototype,"onChangeStateValue",null),d([o.autobind],h.prototype,"onChangeValue",null),h=n=d([o.component],h)},80319:function(e,t,i){i.d(t,{ToolbarContent:function(){return a}});var n=i(65478),o=i(22732),r=i(21537),s=i(62843);let a=class e extends s.UIButton{className(){return"ToolbarContent"}update(){let e=this.control.getContent(this.j,this);((0,r.isString)(e)||e.parentNode!==this.container)&&(o.Dom.detach(this.container),this.container.appendChild((0,r.isString)(e)?this.j.create.fromHTML(e):e)),super.update()}createContainer(){return this.j.c.span(this.componentName)}constructor(e,t,i=null){super(e),this.control=t,this.target=i,this.container.classList.add(`${this.componentName}_${this.clearName(t.name)}`),(0,r.attr)(this.container,"role","content")}};a=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([n.component],a)},80480:function(e,t,i){i.d(t,{ViewComponent:function(){return o}});var n=i(4012);class o extends n.Component{get j(){return this.jodit}get defaultTimeout(){return this.j.defaultTimeout}i18n(e,...t){return this.j.i18n(e,...t)}setParentView(e){return this.jodit=e,e.components.add(this),this}destruct(){return this.j.components.delete(this),super.destruct()}constructor(e){super(),this.setParentView(e)}}},80536:function(e,t,i){var n=i(68345),o=i(19306),r=i(6441);r.Config.prototype.enableDragAndDropFileToEditor=!0,r.Config.prototype.uploader={url:"",insertImageAsBase64URI:!1,imagesExtensions:["jpg","png","jpeg","gif"],headers:null,data:null,filesVariableName:e=>`files[${e}]`,withCredentials:!1,pathVariableName:"path",format:"json",method:"POST",prepareData:e=>e,isSuccess:e=>e.success,getMessage:e=>void 0!==e.data.messages&&(0,n.isArray)(e.data.messages)?e.data.messages.join(" "):"",processFileName:(e,t,i)=>[e,t,i],process:e=>e.data,error(e){this.j.message.error(e.message,4e3)},getDisplayName:(e,t)=>e+t,defaultHandlerSuccess(e){let t=this.j||this;(0,o.isJoditObject)(t)&&e.files&&e.files.length&&e.files.forEach((i,n)=>{let[o,r]=e.isImages&&e.isImages[n]?["img","src"]:["a","href"],s=t.createInside.element(o);s.setAttribute(r,e.baseurl+i),"a"===o&&(s.textContent=t.o.uploader.getDisplayName.call(this,e.baseurl,i)),"img"===o?t.s.insertImage(s,null,t.o.imageDefaultWidth):t.s.insertNode(s)})},defaultHandlerError(e){this.j.message.error(e.message)},contentType(e){return(void 0===this.ow.FormData||"string"==typeof e)&&"application/x-www-form-urlencoded; charset=UTF-8"}}},80568:function(e,t,i){i.d(t,{getClassName:function(){return r},keepNames:function(){return o}});var n=i(23282);let o=new Map,r=e=>{var t;if((0,n.isFunction)(e.className))return e.className();let i=(null==(t=e.constructor)?void 0:t.originalConstructor)||e.constructor;if(o.has(i))return o.get(i);if(i.name)return i.name;let r=new RegExp(/^\s*function\s*(\S*)\s*\(/),s=i.toString().match(r);return s?s[1]:""}},80591:function(e,t,i){i.d(t,{convertToList:function(){return l}});var n=i(82758),o=i(10058),r=i(97420),s=i(31269),a=i(43712);function l(e){if((0,r.isPseudoLeaf)(e)){e.name="li",e.style.set("text-indent",null);let u=c(e),d=/[\da-np-zA-NP-Z].?/.test(u)?"ol":"ul",h=function(e,t){for(let t in o.listStyleMap)if(RegExp(t).test(e))return o.listStyleMap[t];return"ol"===t?"decimal":"disc"}(u,d);e.attributes[o.TYPE_KEY]=d,e.attributes[o.STYLE_KEY]=h,(0,s.calcListLevels)(e),function(e){for(;e;){let t=e.previousElement;if(!((0,r.isLeaf)(t)||(0,r.isList)(t)))break;if((0,r.isLeaf)(t)){if(e.attributes[o.LEVEL_KEY]<t.attributes[o.LEVEL_KEY]||e.attributes[o.LEVEL_KEY]===t.attributes[o.LEVEL_KEY]&&e.parent&&(0,r.isSameType)(e,e.parent))break;t.append(e);continue}if(e.attributes[o.LEVEL_KEY]<t.attributes[o.LEVEL_KEY]||e.attributes[o.LEVEL_KEY]===t.attributes[o.LEVEL_KEY]&&!(0,r.isSameType)(e,t))break;t.append(e)}}(e);let{parent:p}=e;if(!(0,r.isList)(p)||!(0,r.isSameType)(e,p)){var t,i,n,l;let s,c=(t=e,i=d,n=u,l=h,(s=t.wrap(i)).attributes.start=(0,a.calcStartBySymbol)(n),s.attributes[o.LEVEL_KEY]=t.attributes[o.LEVEL_KEY],s.attributes[o.STYLE_KEY]=t.attributes[o.STYLE_KEY],s.attributes[o.STYLE_VALID_KEY]=t.attributes[o.STYLE_KEY],s.style.set(o.STYLE_CSS_KEY,l),(0,r.isList)(s)&&s.parent?.name!=="li"&&("disc"===s.style.get(o.STYLE_CSS_KEY)||"decimal"===s.style.get(o.STYLE_CSS_KEY))&&s.style.set(o.STYLE_CSS_KEY,null),s);(0,r.isList)(p)&&(c.remove(),p.lastElement?.append(c))}}return e}let c=e=>e.textBetween(e=>e.isComment&&/\[if.*supportLists.*]/.test((0,r.html)(e)),e=>e.isComment&&/\[endif]/.test((0,r.html)(e))).replace(/&nbsp;/g,"").replace((0,n.SPACE_REG_EXP)(),"")},80651:function(e,t,i){i.r(t),t.default={newline:"newline",delete:"Hapus",space:"ruang","Speech Recognize":"Pidato Mengenali",Sound:"Suara","Interim Results":"Hasil Sementara"}},80763:function(e,t,i){var n=i(82758),o=i(65478),r=i(580),s=i(21537),a=i(50911);i(85745);var l=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};let c="__jodit_imageprocessor_binded",u=c+"blob-id";class d extends a.Plugin{afterInit(e){}beforeDestruct(e){let t=(0,o.cached)(e,"buffer"),i=null==t?void 0:t.get(u);if(t&&i){for(let e of Object.keys(i))URL.revokeObjectURL(e);t.delete(u)}}onAfterGetValueFromEditor(e,t){if(t!==n.SOURCE_CONSUMER)return this.onBeforeSetElementValue(e)}onBeforeSetElementValue(e){let{jodit:t}=this;if(!t.o.imageProcessor.replaceDataURIToBlobIdInView)return;let i=t.buffer.get(u);if(i)for(let t of Object.keys(i))for(;e.value.includes(t);)e.value=e.value.replace(t,i[t])}async afterChange(e){let{jodit:t}=this;t.editor&&(0,s.$$)("img",t.editor).forEach(e=>{(0,s.dataBind)(e,c)||((0,s.dataBind)(e,c,!0),e.complete||t.e.on(e,"load",function i(){var n;t.isInDestruct||null==(n=t.e)||n.fire("resize"),t.e.off(e,"load",i)}),e.src&&/^data:/.test(e.src)&&function(e,t){if(!e.o.imageProcessor.replaceDataURIToBlobIdInView||"u"<typeof ArrayBuffer||"u"<typeof URL)return;let i=t.src,n=function(e){let t=atob(e.split(",")[1]),i=e.split(",")[0].split(":")[1].split(";")[0],n=new ArrayBuffer(t.length),o=new Uint8Array(n);for(let e=0;e<t.length;e++)o[e]=t.charCodeAt(e);return new Blob([n],{type:i})}(i);t.src=URL.createObjectURL(n),e.e.fire("internalUpdate");let{buffer:o}=e,r=o.get(u)||{};r[t.src]=i,e.buffer.set(u,r)}(t,e),t.e.on(e,"mousedown touchstart",()=>{t.s.select(e)}))})}}l([(0,o.watch)(":afterGetValueFromEditor")],d.prototype,"onAfterGetValueFromEditor",null),l([(0,o.watch)(":beforeSetElementValue")],d.prototype,"onBeforeSetElementValue",null),l([(0,o.watch)([":change",":afterInit",":changePlace"]),(0,o.debounce)()],d.prototype,"afterChange",null),r.pluginSystem.add("imageProcessor",d)},80792:function(e,t,i){var n=i(6441);n.Config.prototype.minWidth=200,n.Config.prototype.maxWidth="100%",n.Config.prototype.minHeight=200,n.Config.prototype.maxHeight="auto",n.Config.prototype.saveHeightInStorage=!1},80870:function(e,t,i){i.d(t,{ContextMenu:function(){return a}});var n=i(87325),o=i(68345),r=i(10830),s=i(56917);let a=class e extends s.Popup{className(){return"ContextMenu"}show(e,t,i){let n=this;n.clear(),(0,o.isArray)(i)&&(i.forEach(e=>{if(!e)return;let t=(0,r.Button)(this.jodit,e.icon||"empty",e.title);this.jodit&&t.setParentView(this.jodit),t.setMod("context","menu"),t.onAction(t=>{var i;return null==(i=e.exec)||i.call(n,t),n.clear(),n.close(),!1}),this.append(t)}),this.open(()=>({left:e,top:t,width:0,height:0}),!0))}};a=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([n.component],a)},80926:function(e,t){t.default={"Type something":"Бичээд үзээрэй",Advanced:"Дэвшилтэт","About Jodit":"Jodit-ын талаар ","Jodit Editor":"Jodit програм","Jodit User's Guide":"Jodit гарын авлага","contains detailed help for using":"хэрэглээний талаар дэлгэрэнгүй мэдээллийг агуулна","For information about the license, please go to our website:":"Лицензийн мэдээллийг манай вэб хуудаснаас авна уу:","Buy full version":"Бүрэн хувилбар худалдан авах","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Зохиогчийн эрх хамгаалагдсан © XDSoft.net - Chupurnov Valeriy. Бүх эрхийг эзэмшинэ.",Anchor:"Холбоо барих","Open in new tab":"Шинэ табаар нээх","Open in fullsize":"Бүтэн дэлгэцээр нээх","Clear Formatting":"Форматыг арилгах","Fill color or set the text color":"Өнгөөр будах эсвэл текстийн өнгө сонгох",Redo:"Дахих",Undo:"Буцаах",Bold:"Тод",Italic:"Налуу","Insert Unordered List":"Тэмдэгт жагсаалт нэмэх","Insert Ordered List":"Дугаарт жагсаалт нэмэх","Align Center":"Голлож байрлуулах","Align Justify":"Тэгшитгэн байрлуулах","Align Left":"Зүүнд байрлуулах","Align Right":"Баруунд байрлуулах","Insert Horizontal Line":"Хэвтээ зураас нэмэх","Insert Image":"Зураг нэмэх","Insert file":"Файл нэмэх","Insert youtube/vimeo video":"Youtube/Vimeo видео нэмэх","Insert link":"Холбоос нэмэх","Font size":"Фонтын хэмжээ","Font family":"Фонтын бүл","Insert format block":"Блок нэмэх",Normal:"Хэвийн","Heading 1":"Гарчиг 1","Heading 2":"Гарчиг 2","Heading 3":"Гарчиг 3","Heading 4":"Гарчиг 4",Quote:"Ишлэл",Code:"Код",Insert:"Оруулах","Insert table":"Хүснэгт оруулах","Decrease Indent":"Доголын зай хасах","Increase Indent":"Доголын зай нэмэх","Select Special Character":"Тусгай тэмдэгт сонгох","Insert Special Character":"Тусгай тэмдэгт нэмэх","Paint format":"Зургийн формат","Change mode":"Горим өөрчлөх",Margins:"Цаасны зай",top:"Дээрээс",right:"Баруунаас",bottom:"Доороос",left:"Зүүнээс",Styles:"CSS стиль",Classes:"CSS анги",Align:"Байрлуулах",Right:"Баруун",Center:"Төв",Left:"Зүүн","--Not Set--":"--Тодорхойгүй--",Src:"Эх үүсвэр",Title:"Гарчиг",Alternative:"Алтернатив текст",Link:"Холбоос","Open link in new tab":"Холбоосыг шинэ хавтсанд нээх",Image:"Зураг",file:"Файл","Image properties":"Зургийн үзүүлэлт",Cancel:"Цуцлах",Ok:"Ok","Your code is similar to HTML. Keep as HTML?":"Таны код HTML кодтой адил байна. HTML форматаар үргэлжлүүлэх үү?","Paste as HTML":"HTML байдлаар буулгах",Keep:"Хадгалах",Clean:"Цэвэрлэх","Insert as Text":"Текст байдлаар нэмэх","Word Paste Detected":"Word байдлаар буулгасан байна","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Буулгасан агуулга Microsoft Word/Excel форматтай байна. Энэ форматыг хэвээр хадгалах уу эсвэл арилгах уу?","Insert only Text":"Зөвхөн текст оруулах","File Browser":"Файлын цонх","Error on load list":"Жагсаалт татах үед алдаа гарлаа","Error on load folders":"Хавтас татах үед алдаа гарлаа","Are you sure?":"Итгэлтэй байна уу?","Enter Directory name":"Хавтсын нэр оруулах","Create directory":"Хавтас үүсгэх","type name":"Нэр бичих","Drop image":"Зураг буулгах","Drop file":"Файл буулгах","or click":"эсвэл товш","Alternative text":"Алтернатив текст",Browse:"Үзэх",Upload:"Байршуулах",Background:"Арын зураг",Text:"Текст",Top:"Дээр",Middle:"Дунд",Bottom:"Доор","Insert column before":"Урд нь багана нэмэх","Insert column after":"Ард нь багана нэмэх","Insert row above":"Дээр нь мөр нэмэх","Insert row below":"Доор нь мөр нэмэх","Delete table":"Хүснэгт устгах","Delete row":"Мөр устгах","Delete column":"Багана устгах","Empty cell":"Нүд цэвэрлэх",Delete:"Устгах","Strike through":"Дээгүүр зураас",Underline:"Доогуур зураас",Break:"Мөрийг таслах","Search for":"Хайх","Replace with":"Үүгээр солих",Replace:"Солих",Edit:"Засах","Vertical align":"Босоо эгнүүлэх","Horizontal align":"Хэвтээ эгнүүлэх",Filter:"Шүүх","Sort by changed":"Сүүлд өөрчлөгдсөнөөр жагсаах","Sort by name":"Нэрээр жагсаах","Sort by size":"Хэмжээгээр жагсаах","Add folder":"Хавтас нэмэх",Split:"Задлах","Split vertical":"Баганаар задлах","Split horizontal":"Мөрөөр задлах",Merge:"Нэгтгэх","Add column":"Багана нэмэх","Add row":"Мөр нэмэх",Border:"Хүрээ","Embed code":"Код оруулах",Update:"Шинэчлэх",superscript:"Дээд индекс",subscript:"Доод индекс","Cut selection":"Сонголтыг таслах",Paste:"Буулгах","Choose Content to Paste":"Буулгах агуулгаа сонгоно уу","Chars: %d":"Тэмдэгт: %d","Words: %d":"Үг: %d",All:"Бүгдийг","Select %s":"Сонго: %s","Select all":"Бүгдийг сонго",source:"Эх үүсвэр",bold:"Тод",italic:"Налуу",brush:"Будах",link:"Холбоос",undo:"Буцаах",redo:"Дахих",table:"Хүснэгт",image:"Зураг",eraser:"Баллуур",paragraph:"Параграф",fontsize:"Фонтын хэмжээ",video:"Видео",font:"Фонт",about:"Тухай",print:"Хэвлэх",underline:"Доогуур зураас",strikethrough:"Дээгүүр зураас",indent:"Догол нэмэх",outdent:"Догол багасгах",fullsize:"Бүтэн дэлгэц",shrink:"Багасга",hr:"Хаалт",ul:"Тэмдэгт жагсаалт",ol:"Дугаарласан жагсаалт",cut:"Таслах",selectall:"Бүгдийг сонго","Open link":"Холбоос нээх","Edit link":"Холбоос засах","No follow":"Nofollow özelliği",Unlink:"Холбоос салгах",Eye:"Нүд",pencil:"Засах"," URL":"URL",Reset:"Буцаах",Save:"Хадгалах","Save as ...":"Өөрөөр хадгалах",Resize:"Хэмжээг өөрчил",Crop:"Тайрах",Width:"Өргөн",Height:"Өндөр","Keep Aspect Ratio":"Харьцааг хадгал",Yes:"Тийм",No:"Үгүй",Remove:"Арилга",Select:"Сонго","You can only edit your own images. Download this image on the host?":"Та зөвхөн өөрийн зургуудаа янзлах боломжтой. Энэ зургийг өөр лүүгээ татмаар байна уу?","The image has been successfully uploaded to the host!":"Зургийг хост руу амжилттай хадгалсан",palette:"Палет","There are no files":"Энд ямар нэг файл алга",Rename:"Шинээр нэрлэх","Enter new name":"Шинэ нэр оруулна уу",preview:"Урьдчилан харах",download:"Татах","Paste from clipboard":"Самбараас хуулах ","Your browser doesn't support direct access to the clipboard.":"Энэ вэб хөтчөөс самбарт хандах эрх алга.","Copy selection":"Сонголтыг хуул",copy:"Хуулах","Border radius":"Хүрээний радиус","Show all":"Бүгдийг харуулах",Apply:"Хэрэгжүүл","Please fill out this field":"Энэ талбарыг бөглөнө үү","Please enter a web address":"Вэб хаягаа оруулна уу",Default:"Үндсэн",Circle:"Дугуй",Dot:"Цэг",Quadrate:"Дөрвөлжин",Find:"Хайх","Find Previous":"Өмнөхийг ол","Find Next":"Дараагийнхийг ол","Insert className":"Бүлгийн нэрээ оруулна уу","Press Alt for custom resizing":"Хэмжээсийг шинээр өөчрлөхийн тулд Alt товчин дээр дарна уу","License: %s":"Лиценз: %s"}},80973:function(e,t,i){i.d(t,{replaceOldTags:function(){return o}});var n=i(2748);function o(e,t,i){let o=function(e,t,i){if(!i||!n.Dom.isHTMLElement(t))return t;let o=i[t.nodeName.toLowerCase()]||i[t.nodeName];return o?n.Dom.replace(t,o,e.createInside,!0,!1):t}(e,t,e.o.cleanHTML.replaceOldTags);return t!==o?(t=o,!0):i}},81284:function(e,t,i){i.d(t,{offset:function(){return n}});let n=(e,t,i,o=!1)=>{let r,s,a;try{r=e.getBoundingClientRect()}catch(e){r={top:0,bottom:0,left:0,right:0,width:0,height:0}}let l=i.body,c=i.documentElement||{clientTop:0,clientLeft:0,scrollTop:0,scrollLeft:0},u=i.defaultView||i.parentWindow,d=u.pageYOffset||c.scrollTop||l.scrollTop,h=u.pageXOffset||c.scrollLeft||l.scrollLeft,p=c.clientTop||l.clientTop||0,f=c.clientLeft||l.clientLeft||0,m=t.iframe;if(!o&&t&&t.options&&t.o.iframe&&m){let{top:e,left:i}=n(m,t,t.od,!0);s=r.top+e,a=r.left+i}else s=r.top+d-p,a=r.left+h-f;return{top:Math.round(s),left:Math.round(a),width:r.width,height:r.height}}},81577:function(e,t,i){i.d(t,{debounce:function(){return a},throttle:function(){return l}});var n=i(91907),o=i(27613),r=i(38837),s=i(89890);function a(e,t=!1,i="debounce"){return(a,l)=>{let c=a[l];if(!(0,o.isFunction)(c))throw(0,s.error)("Handler must be a Function");return a.hookStatus(n.STATUSES.ready,n=>{let{async:s}=n;(0,r.assert)(null!=s,`Component ${n.componentName||n.constructor.name} should have "async:IAsync" field`);let a=(0,o.isFunction)(e)?e(n):e,c=(0,o.isNumber)(a)||(0,o.isPlainObject)(a)?a:n.defaultTimeout;Object.defineProperty(n,l,{configurable:!0,value:s[i](n[l].bind(n),c,t)})}),{configurable:!0,get(){return c.bind(this)}}}}function l(e,t=!1){return a(e,t,"throttle")}},81630:function(e,t,i){i.d(t,{innerWidth:function(){return n}});let n=(e,t)=>{let i=t.getComputedStyle(e);return e.clientWidth-(parseFloat(i.paddingLeft||"0")+parseFloat(i.paddingRight||"0"))}},82168:function(e,t){t.default={"Type something":"Kirjoita jotain...",Advanced:"Avanzado","About Jodit":"Tietoja Jodit:ista","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Jodit käyttäjän ohje","contains detailed help for using":"sisältää tarkempaa tietoa käyttämiseen","For information about the license, please go to our website:":"Tietoa lisensoinnista, vieraile verkkosivuillamme:","Buy full version":"Osta täysi versio","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Kaikki oikeudet pidätetään.",Anchor:"Ankkuri","Open in new tab":"Avaa uudessa välilehdessä","Open in fullsize":"Avaa täysikokoisena","Clear Formatting":"Poista muotoilu","Fill color or set the text color":"Täytä värillä tai aseta tekstin väri",Redo:"Tee uudelleen",Undo:"Peruuta",Bold:"Lihavoitu",Italic:"Kursiivi","Insert Unordered List":"Lisää järjestämätön lista","Insert Ordered List":"Lisää järjestetty lista","Align Center":"Asemoi keskelle","Align Justify":"Asemoi tasavälein","Align Left":"Asemoi vasemmalle","Align Right":"Asemoi oikealle","Insert Horizontal Line":"Lisää vaakasuuntainen viiva","Insert Image":"Lisää kuva","Insert file":"Lisää tiedosto","Insert youtube/vimeo video":"Lisää Youtube-/vimeo- video","Insert link":"Lisää linkki","Font size":"Kirjasimen koko","Font family":"Kirjasimen nimi","Insert format block":"Lisää 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ää","Insert table":"Lisää taulukko","Decrease Indent":"Pienennä sisennystä","Increase Indent":"Lisää sisennystä","Select Special Character":"Valitse erikoismerkki","Insert Special Character":"Lisää erikoismerkki","Paint format":"Maalaa muotoilu","Change mode":"Vaihda tilaa",Margins:"Marginaalit",top:"ylös",right:"oikealle",bottom:"alas",left:"vasemmalle",Styles:"CSS-tyylit",Classes:"CSS-luokat",Align:"Asemointi",Right:"Oikea",Center:"Keskellä",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älilehdessä",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äilytetäänkö HTML?","Paste as HTML":"Liitä HTML:nä?",Keep:"Säilytä",Clean:"Tyhjennä","Insert as Text":"Lisää tekstinä","Word Paste Detected":"Word liittäminen 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ältö tulee Microsoft Word-/Excel- tiedostosta. Haluatko säilyttää muotoilun vai poistaa sen?","Insert only Text":"Lisää 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ötä hakemiston nimi","Create directory":"Luo hakemisto","type name":"Syötä nimi","Drop image":"Pudota kuva","Drop file":"Pudota tiedosto","or click":"tai klikkaa","Alternative text":"Vaihtoehtoinen teksti",Browse:"Selaa",Upload:"Lataa",Background:"Tausta",Text:"Teksti",Top:"Ylös",Middle:"Keskelle",Bottom:"Alas","Insert column before":"Lisää sarake ennen","Insert column after":"Lisää sarake jälkeen","Insert row above":"Lisää rivi ylös","Insert row below":"Lisää rivi alle","Delete table":"Poista taulukko","Delete row":"Poista rivi","Delete column":"Poista sarake","Empty cell":"Tyhjennä 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ärjestä muuttuneilla","Sort by name":"Järjestä nimellä","Sort by size":"Järjestä koolla","Add folder":"Lisää kansio",Split:"Jaa","Split vertical":"Jaa pystysuuntaisesti","Split horizontal":"Jaa vaakasuuntaisesti",Merge:"Yhdistä","Add column":"Lisää sarake","Add row":"Lisää rivi",Border:"Reuna","Embed code":"Sisällytä koodi",Update:"Päivitä",superscript:"yläviite",subscript:"alaviite","Cut selection":"Leikkaa valinta",Paste:"Liitä","Choose Content to Paste":"Valitse liitettävä sisältö","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ä",outdent:"pienennä sisennystä",fullsize:"täysikokoinen",shrink:"pienennä",hr:"vaakaviiva",ul:"järjestetty lista",ol:"järjestämätön lista",cut:"leikkaa",selectall:"valitse kaikki","Open link":"Avaa linkki","Edit link":"Muokkaa linkkiä","No follow":"Älä seuraa",Unlink:"Pura linkki",Eye:"Ver",pencil:"Muokkaa"," URL":"URL",Reset:"Nollaa",Save:"Tallenna","Save as ...":"Tallenna nimellä ...",Resize:"Muuta kokoa",Crop:"Rajaa",Width:"Leveys",Height:"Korkeus","Keep Aspect Ratio":"Säilytä kuvasuhde",Yes:"Kyllä",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ämä 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ä uudelleen","Enter new name":"Syötä uusi nimi",preview:"esikatselu",download:"Lataa","Paste from clipboard":"Liitä leikepöydältä","Your browser doesn't support direct access to the clipboard.":"Selaimesi ei tue suoraa pääsyä leikepöydälle.","Copy selection":"Kopioi valinta",copy:"kopioi","Border radius":"Reunan pyöristys","Show all":"Näytä kaikki",Apply:"Käytä","Please fill out this field":"Täytä tämä kenttä","Please enter a web address":"Annan web-osoite",Default:"Oletus",Circle:"Ympyrä",Dot:"Piste",Quadrate:"Neliö","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ää luokkanimi","Press Alt for custom resizing":"Paina Alt muokattuun koon muuttamiseen","Class name":"Luokan nimi","License: %s":"Lisenssi: %s"}},82439:function(e,t,i){var n=i(65478),o=i(2748),r=i(70071),s=i(580),a=i(86518),l=i(20356);i(46776);var c=i(59498),u=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};class d extends l.Plugin{afterInit(e){}get isEditMode(){return!(this.j.isInDestruct||!this.j.isEditorMode()||this.j.getReadOnly())}onChangeCleanHTML(){if(!this.isEditMode)return;let e=this.j;this.walker.setWork(e.editor),this.currentSelectionNode=e.s.current()}startWalker(){let{jodit:e}=this,t=(0,c.getHash)(this.j.o.cleanHTML.allowTags),i=(0,c.getHash)(this.j.o.cleanHTML.denyTags);this.walker.on("visit",n=>(0,c.visitNodeWalker)(e,n,t,i,this.currentSelectionNode)).on("end",e=>{this.j.e.fire(e?"internalChange finishedCleanHTMLWorker":"finishedCleanHTMLWorker")})}beforeCommand(e){if("removeformat"===e.toLowerCase())return this.j.s.isCollapsed()?(0,c.removeFormatForCollapsedSelection)(this.j):(0,c.removeFormatForSelection)(this.j),!1}onBeforeSetNativeEditorValue(e){let[t,i]=this.j.o.cleanHTML.useIframeSandbox?this.j.createInside.sandbox():[this.j.createInside.div()];return t.innerHTML=e.value,this.onSafeHTML(t),e.value=t.innerHTML,(0,a.safeHTML)(t,{safeJavaScriptLink:!0,removeOnError:!0}),o.Dom.safeRemove(i),!1}onSafeHTML(e){(0,a.safeHTML)(e,this.j.o.cleanHTML)}beforeDestruct(){this.walker.destruct()}constructor(){super(...arguments),this.buttons=[{name:"eraser",group:"font-style"}],this.currentSelectionNode=null,this.walker=new r.LazyWalker(this.j.async,{timeout:this.j.o.cleanHTML.timeout})}}u([(0,n.watch)([":change",":afterSetMode",":afterInit",":mousedown",":keydown"])],d.prototype,"onChangeCleanHTML",null),u([(0,n.hook)("ready")],d.prototype,"startWalker",null),u([(0,n.watch)(":beforeCommand")],d.prototype,"beforeCommand",null),u([(0,n.watch)(":beforeSetNativeEditorValue")],d.prototype,"onBeforeSetNativeEditorValue",null),u([(0,n.watch)(":safeHTML")],d.prototype,"onSafeHTML",null),s.pluginSystem.add("cleanHtml",d)},82501:function(e,t,i){i.d(t,{parseQuery:function(){return n}});let n=e=>{let t={},i=e.substring(1).split("&");for(let e=0;e<i.length;e+=1){let n=i[e].split("=");t[decodeURIComponent(n[0])]=decodeURIComponent(n[1]||"")}return t}},82515:function(e,t,i){i.d(t,{wrapList:function(){return a}});var n=i(2748),o=i(94466),r=i(44253),s=i(77361);function a(e,t,i){let a=i.e.fire(`${s._PREFIX}BeforeWrapList`,s.REPLACE,t,e),l=null!=a?a:n.Dom.replace(t,"li",i.createInside),c=l.previousElementSibling,u=l.nextElementSibling,d=n.Dom.isTag(c,e.element)?c:null;return null!=d||(d=n.Dom.isTag(u,e.element)?u:null),n.Dom.isList(d)&&(0,o.isSameAttributes)(d,e.options.attributes)||(d=i.createInside.element(e.element),(0,r.toggleAttributes)(e,d,i,s.INITIAL),n.Dom.before(l,d)),c===d?n.Dom.append(d,l):n.Dom.prepend(d,l),n.Dom.isTag(d.nextElementSibling,e.element)&&(0,o.elementsEqualAttributes)(d,d.nextElementSibling)&&(n.Dom.append(d,Array.from(d.nextElementSibling.childNodes)),n.Dom.safeRemove(d.nextElementSibling)),i.e.fire(`${s._PREFIX}AfterWrapList`,s.WRAP,d,e),d}},82558:function(e,t,i){i.d(t,{allowAttributes:function(){return o}});var n=i(2748);function o(e,t,i,o){if(o&&n.Dom.isElement(t)&&!0!==o[t.nodeName]){let e=t.attributes;if(e&&e.length){let n=[];for(let i=0;i<e.length;i+=1){let r=o[t.nodeName][e[i].name];r&&(!0===r||r===e[i].value)||n.push(e[i].name)}n.length&&(i=!0),n.forEach(e=>{t.removeAttribute(e)})}}return i}},82749:function(e,t,i){i.d(t,{_:function(){return n}});function n(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}},82758:function(e,t,i){i.r(t),i.d(t,{ACCURACY:function(){return U},APP_VERSION:function(){return n},BASE_PATH:function(){return eh},BASE_PATH_IS_MIN:function(){return ep},BR:function(){return W},CLIPBOARD_ID:function(){return eg},COMMAND_KEYS:function(){return V},EMULATE_DBLCLICK_TIMEOUT:function(){return et},ES:function(){return o},FAT_MODE:function(){return c},HOMEPAGE:function(){return u},INSEPARABLE_TAGS:function(){return T},INSERT_AS_HTML:function(){return ei},INSERT_AS_TEXT:function(){return eo},INSERT_CLEAR_HTML:function(){return en},INSERT_ONLY_TEXT:function(){return er},INVISIBLE_SPACE:function(){return p},INVISIBLE_SPACE_REG_EXP:function(){return m},INVISIBLE_SPACE_REG_EXP_END:function(){return g},INVISIBLE_SPACE_REG_EXP_START:function(){return v},IS_BLOCK:function(){return C},IS_ES_MODERN:function(){return r},IS_ES_NEXT:function(){return s},IS_IE:function(){return J},IS_INLINE:function(){return k},IS_MAC:function(){return ea},IS_PROD:function(){return a},IS_TEST:function(){return l},KEY_ALIASES:function(){return el},KEY_ALT:function(){return P},KEY_BACKSPACE:function(){return j},KEY_DELETE:function(){return F},KEY_DOWN:function(){return O},KEY_ENTER:function(){return z},KEY_ESC:function(){return x},KEY_F3:function(){return H},KEY_LEFT:function(){return R},KEY_META:function(){return A},KEY_RIGHT:function(){return N},KEY_SPACE:function(){return B},KEY_TAB:function(){return L},KEY_UP:function(){return M},LIST_TAGS:function(){return I},MARKER_CLASS:function(){return ee},MODE_SOURCE:function(){return $},MODE_SPLIT:function(){return G},MODE_WYSIWYG:function(){return K},NBSP_SPACE:function(){return f},NEARBY:function(){return q},NO_EMPTY_TAGS:function(){return D},PARAGRAPH:function(){return Y},PASSIVE_EVENTS:function(){return eb},SAFE_COUNT_CHANGE_CALL:function(){return es},SET_TEST:function(){return d},SOURCE_CONSUMER:function(){return ev},SPACE_REG_EXP:function(){return b},SPACE_REG_EXP_END:function(){return S},SPACE_REG_EXP_START:function(){return y},TEMP_ATTR:function(){return ef},TEXT_HTML:function(){return Z},TEXT_PLAIN:function(){return X},TEXT_RTF:function(){return Q},TOKENS:function(){return h},globalDocument:function(){return _},globalWindow:function(){return w},lang:function(){return em}});let n="4.9.36",o="es2021",r=!0,s=!0,a=!0,l=!1,c=!1,u="https://xdsoft.net/jodit/pro/",d=()=>l=!0,h={},p="\uFEFF",f=" ",m=()=>/[\uFEFF]/g,g=()=>/[\uFEFF]+$/g,v=()=>/^[\uFEFF]+/g,b=()=>/[\s\n\t\r\uFEFF\u200b]+/g,y=()=>/^[\s\n\t\r\uFEFF\u200b]+/g,S=()=>/[\s\n\t\r\uFEFF\u200b]+$/g,w="u">typeof window?window:void 0,_="u">typeof document?document:void 0,C=/^(ADDRESS|ARTICLE|ASIDE|BLOCKQUOTE|CANVAS|DD|DFN|DIV|DL|DT|FIELDSET|FIGCAPTION|FIGURE|FOOTER|FORM|H[1-6]|HEADER|HGROUP|HR|LI|MAIN|NAV|NOSCRIPT|OUTPUT|P|PRE|RUBY|SCRIPT|STYLE|OBJECT|OL|SECTION|IFRAME|JODIT|JODIT-MEDIA|UL|TR|TD|TH|TBODY|THEAD|TFOOT|TABLE|BODY|HTML|VIDEO)$/i,k=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,I=new Set(["ul","ol"]),E=["img","video","svg","iframe","script","input","textarea","link","jodit","jodit-media"],T=new Set([...E,"br","hr"]),D=new Set(E),A="Meta",j="Backspace",L="Tab",z="Enter",x="Escape",P="Alt",R="ArrowLeft",M="ArrowUp",N="ArrowRight",O="ArrowDown",B="Space",F="Delete",H="F3",q=5,U=10,V=[A,j,F,M,O,N,R,z,x,H,L],W="br",Y="p",K=1,$=2,G=3,J="u">typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),X=J?"text":"text/plain",Z=J?"html":"text/html",Q=J?"rtf":"text/rtf",ee="jodit-selection_marker",et=300,ei="insert_as_html",en="insert_clear_html",eo="insert_as_text",er="insert_only_text",es=10,ea=void 0!==w&&/Mac|iPod|iPhone|iPad/.test(w.navigator.platform),el={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:ea?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:"space",spacebar:"space",up:"arrowup",win:"meta",windows:"meta"},ec=e=>{let t=e.split("/");return/\.js/.test(t[t.length-1])?{basePath:t.slice(0,t.length-1).join("/")+"/",isMin:!0}:{basePath:e,isMin:!0}},{basePath:eu,isMin:ed}=(()=>{if("u"<typeof document)return{basePath:"",isMin:!0};let e=_.currentScript;if(e)return ec(e.src);let t=_.querySelectorAll("script[src]");return t&&t.length?ec(t[t.length-1].src):ec(w.location.href)})(),eh=eu,ep=ed,ef="data-jodit-temp",em={},eg="clipboard",ev="source-consumer",eb=new Set(["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"])},82760:function(e,t,i){i.d(t,{connection:function(){return r},error:function(){return o},options:function(){return s}});var n=i(32880);function o(e){return TypeError(e)}function r(e){return new n.ConnectionError(e)}function s(e){return new n.OptionsError(e)}},83059:function(e,t,i){i.r(t),t.default={symbols:"symbol"}},83111:function(e,t,i){i.d(t,{ToolbarSelect:function(){return a}});var n=i(65478),o=i(72430),r=i(70799),s=i(78644);let a=class e extends s.ToolbarButton{className(){return"ToolbarSelect"}update(){var e,t,i;super.update(),this.state.icon.name="";let{list:n,data:s}=this.control;if(n){let a=this.state.value||(s&&(0,r.isString)(s.currentValue)?s.currentValue:void 0);a||(a=Object.keys(n)[0]);let l=((0,o.isPlainObject)(n)&&n[a.toString()]||a).toString();this.state.text=null!=(i=null==(t=(e=this.control).textTemplate)?void 0:t.call(e,this.jodit,l))?i:l}}};a=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([n.component],a)},83160:function(e,t){t.default={"Type something":"Напишите что-либо","About Jodit":"О Jodit","Jodit Editor":"Редактор Jodit","Jodit User's Guide":"Jodit Руководство пользователя","contains detailed help for using":"содержит детальную информацию по использованию","For information about the license, please go to our website:":"Для получения сведений о лицензии , пожалуйста, перейдите на наш сайт:","Buy full version":"Купить полную версию","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Авторские права © XDSoft.net - Чупурнов Валерий. Все права защищены.",Anchor:"Анкор","Open in new tab":"Открывать ссылку в новой вкладке","Open in fullsize":"Открыть редактор в полном размере","Clear Formatting":"Очистить форматирование","Fill color or set the text color":"Цвет заливки или цвет текста",Redo:"Повтор",Undo:"Отмена",Bold:"Жирный",Italic:"Наклонный","Insert Unordered List":"Вставка маркированного списка","Insert Ordered List":"Вставить нумерованный список","Align Center":"Выровнять по центру","Align Justify":"Выровнять по ширине","Align Left":"Выровнять по левому краю","Align Right":"Выровнять по правому краю","Insert Horizontal Line":"Вставить горизонтальную линию","Insert Image":"Вставить изображение","Insert file":"Вставить файл","Insert youtube/vimeo video":"Вставьте видео","Insert link":"Вставить ссылку","Font size":"Размер шрифта","Font family":"Шрифт","Insert format block":"Вставить блочный элемент",Normal:"Нормальный текст","Heading 1":"Заголовок 1","Heading 2":"Заголовок 2","Heading 3":"Заголовок 3","Heading 4":"Заголовок 4",Quote:"Цитата",Code:"Код",Insert:"Вставить","Insert table":"Вставить таблицу","Decrease Indent":"Уменьшить отступ","Increase Indent":"Увеличить отступ","Select Special Character":"Выберите специальный символ","Insert Special Character":"Вставить специальный символ","Paint format":"Формат краски","Change mode":"Источник",Margins:"Отступы",top:"сверху",right:"справа",bottom:"снизу",left:"слева",Styles:"Стили",Classes:"Классы",Align:"Выравнивание",Right:"По правому краю",Center:"По центру",Left:"По левому краю","--Not Set--":"--не устанавливать--",Src:"src",Title:"Заголовок",Alternative:"Альтернативный текст (alt)",Link:"Ссылка","Open link in new tab":"Открывать ссылку в новом окне",file:"Файл",Advanced:"Расширенные","Image properties":"Свойства изображения",Cancel:"Отмена",Ok:"Ок","Your code is similar to HTML. Keep as HTML?":"Ваш текст, который вы пытаетесь вставить похож на HTML. Вставить его как HTML?","Paste as HTML":"Вставить как HTML?",Keep:"Сохранить оригинал",Clean:"Почистить","Insert as Text":"Вставить как текст","Insert only Text":"Вставить только текст","Word Paste Detected":"Возможно это фрагмент Word или Excel","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Контент который вы вставляете поступает из документа Microsoft Word / Excel. Вы хотите сохранить формат или очистить его?","File Browser":"Браузер файлов","Error on load list":"Ошибка при загрузке списка изображений","Error on load folders":"Ошибка при загрузке списка директорий","Are you sure?":"Вы уверены?","Enter Directory name":"Введите название директории","Create directory":"Создать директорию","type name":"введите название","Drop image":"Перетащите сюда изображение","Drop file":"Перетащите сюда файл","or click":"или нажмите","Alternative text":"Альтернативный текст",Browse:"Сервер",Upload:"Загрузка",Background:"Фон",Text:"Текст",Top:" К верху",Middle:"По середине",Bottom:"К низу","Insert column before":"Вставить столбец до","Insert column after":"Вставить столбец после","Insert row above":"Вставить ряд выше","Insert row below":"Вставить ряд ниже","Delete table":"Удалить таблицу","Delete row":"Удалять ряд","Delete column":"Удалить столбец","Empty cell":"Очистить ячейку",source:"HTML",bold:"жирный",italic:"курсив",brush:"заливка",link:"ссылка",undo:"отменить",redo:"повторить",table:"таблица",image:"Изображение",eraser:"очистить",paragraph:"параграф",fontsize:"размер шрифта",video:"видео",font:"шрифт",about:"о редакторе",print:"печать",underline:"подчеркнутый",strikethrough:"перечеркнутый",indent:"отступ",outdent:"выступ",fullsize:"во весь экран",shrink:"обычный размер",hr:"линия",ul:"Список",ol:"Нумерованный список",cut:"Вырезать",selectall:"Выделить все","Embed code":"Код","Open link":"Открыть ссылку","Edit link":"Редактировать ссылку","No follow":"Атрибут nofollow",Unlink:"Убрать ссылку",Eye:"Просмотр",pencil:"Редактировать",Update:"Обновить"," URL":"URL",Edit:"Редактировать","Horizontal align":"Горизонтальное выравнивание",Filter:"Фильтр","Sort by changed":"По изменению","Sort by name":"По имени","Sort by size":"По размеру","Add folder":"Добавить папку",Reset:"Восстановить",Save:"Сохранить","Save as ...":"Сохранить как",Resize:"Изменить размер",Crop:"Обрезать размер",Width:"Ширина",Height:"Высота","Keep Aspect Ratio":"Сохранять пропорции",Yes:"Да",No:"Нет",Remove:"Удалить",Select:"Выделить","Chars: %d":"Символов: %d","Words: %d":"Слов: %d",All:"Выделить все","Select %s":"Выделить: %s","Select all":"Выделить все","Vertical align":"Вертикальное выравнивание",Split:"Разделить","Split vertical":"Разделить по вертикали","Split horizontal":"Разделить по горизонтали",Merge:"Объединить в одну","Add column":"Добавить столбец","Add row":"Добавить строку",Delete:"Удалить",Border:"Рамка","License: %s":"Лицензия: %s","Strike through":"Перечеркнуть",Underline:"Подчеркивание",superscript:"верхний индекс",subscript:"индекс","Cut selection":"Вырезать",Break:"Разделитель","Search for":"Найти","Replace with":"Заменить на",Replace:"Заменить",Paste:"Вставить","Choose Content to Paste":"Выбрать контент для вставки","You can only edit your own images. Download this image on the host?":"Вы можете редактировать только свои собственные изображения. Загрузить это изображение на ваш сервер?","The image has been successfully uploaded to the host!":"Изображение успешно загружено на сервер!",palette:"палитра","There are no files":"В данном каталоге нет файлов",Rename:"Переименовать","Enter new name":"Введите новое имя",preview:"Предпросмотр",download:"Скачать","Paste from clipboard":"Вставить из буфера обмена","Your browser doesn't support direct access to the clipboard.":"Ваш браузер не поддерживает прямой доступ к буферу обмена.","Copy selection":"Скопировать выделенное",copy:"копия","Border radius":"Радиус границы","Show all":"Показать все",Apply:"Применить","Please fill out this field":"Пожалуйста, заполните это поле","Please enter a web address":"Пожалуйста, введите веб-адрес",Default:"По умолчанию",Circle:"Круг",Dot:"Точка",Quadrate:"Квадрат",Find:"Найти","Find Previous":"Найти Предыдущие","Find Next":"Найти Далее","Insert className":"Вставить название класса","Press Alt for custom resizing":"Нажмите Alt для изменения пользовательского размера"}},83447:function(e,t,i){i.d(t,{getHash:function(){return r}});var n=i(70799),o=i(49055);function r(e){let t=/([^[]*)\[([^\]]+)]/,i=/[\s]*,[\s]*/,r=/^(.*)[\s]*=[\s]*(.*)$/,s={};return(0,n.isString)(e)?(e.split(i).map(e=>{e=(0,o.trim)(e);let n=t.exec(e),a={};if(n){let e=n[2].split(i);n[1]&&(e.forEach(e=>{e=(0,o.trim)(e);let t=r.exec(e);t?a[t[1]]=t[2]:a[e]=!0}),s[n[1].toUpperCase()]=a)}else s[e.toUpperCase()]=!0}),s):!!e&&(Object.keys(e).forEach(t=>{s[t.toUpperCase()]=e[t]}),s)}},83632:function(e,t,i){i.d(t,{ApplyStyle:function(){return s}});var n=i(63687),o=i(77361),r=i(55307);function s(e,t){var i;let{s:s,editor:a}=e;null==(i=a.firstChild)||i.normalize();let l=s.fakes(),c=e.s.wrapInTagGen(l),u=c.next();if(u.done)return;let d={collapsed:s.isCollapsed(),mode:o.INITIAL,element:u.value,next:r.states.START,jodit:e,style:t};for(;u&&!u.done;){let e=new n.FiniteStateMachine(r.states.START,r.transactions);for(d.element=u.value;e.getState()!==r.states.END;)d=e.dispatch("exec",d);u=c.next()}s.restoreFakes(l)}},83671:function(e,t,i){var n=i(82758),o=i(22732),r=i(580),s=i(49055),a=i(29960),l=i(76078),c=i(50911),u=i(80870),d=i(21491);i(86012);class h extends c.Plugin{afterInit(){if(this.j.o.showXPathInStatusbar){this.container=this.j.c.div("jodit-xpath"),(0,a.attr)(this.container,"role","list");let e=()=>{this.j.o.showXPathInStatusbar&&this.container&&(this.j.statusbar.append(this.container),this.j.getRealMode()===n.MODE_WYSIWYG?this.calcPath():(this.container&&(this.container.innerHTML=n.INVISIBLE_SPACE),this.appendSelectAll()))};this.j.e.off(".xpath").on("pointerup.xpath change.xpath keydown.xpath changeSelection.xpath",this.calcPath).on("afterSetMode.xpath afterInit.xpath changePlace.xpath",e),e(),this.calcPath()}}beforeDestruct(){this.j&&this.j.events&&this.j.e.off(".xpath"),this.removeSelectAll(),this.menu&&this.menu.destruct(),o.Dom.safeRemove(this.container),delete this.menu,delete this.container}constructor(){super(...arguments),this.onContext=(e,t)=>(this.menu||(this.menu=new u.ContextMenu(this.j)),this.menu.show(t.clientX,t.clientY,[{icon:"bin",title:e===this.j.editor?"Clear":"Remove",exec:()=>{e!==this.j.editor?o.Dom.safeRemove(e):this.j.value="",this.j.synchronizeValues()}},{icon:"select-all",title:"Select",exec:()=>{this.j.s.select(e)}}]),!1),this.onSelectPath=(e,t)=>{this.j.s.focus();let i=(0,a.attr)(t.target,"-path")||"/";if("/"===i)return this.j.execCommand("selectall"),!1;try{let e=this.j.ed.evaluate(i,this.j.editor,null,XPathResult.ANY_TYPE,null).iterateNext();if(e)return this.j.s.select(e),!1}catch(e){}return this.j.s.select(e),!1},this.tpl=(e,t,i,n)=>{let o=this.j.c.fromHTML(`<span class="jodit-xpath__item"><a role="button" data-path="${t}" title="${n}" tabindex="-1"'>${(0,s.trim)(i)}</a></span>`),r=o.firstChild;return this.j.e.on(r,"click",this.onSelectPath.bind(this,e)).on(r,"contextmenu",this.onContext.bind(this,e)),o},this.removeSelectAll=()=>{this.selectAllButton&&(this.selectAllButton.destruct(),delete this.selectAllButton)},this.appendSelectAll=()=>{this.removeSelectAll(),this.selectAllButton=(0,d.makeButton)(this.j,{name:"selectall",...this.j.o.controls.selectall}),this.selectAllButton.state.size="tiny",this.container&&this.container.insertBefore(this.selectAllButton.container,this.container.firstChild)},this.calcPathImd=()=>{if(this.isDestructed)return;let e=this.j.s.current();if(this.container&&(this.container.innerHTML=n.INVISIBLE_SPACE),e){let t,i,n;o.Dom.up(e,e=>{e&&this.j.editor!==e&&!o.Dom.isText(e)&&!o.Dom.isComment(e)&&(t=e.nodeName.toLowerCase(),i=(0,l.getXPathByElement)(e,this.j.editor).replace(/^\//,""),n=this.tpl(e,i,t,this.j.i18n("Select %s",t)),this.container&&this.container.insertBefore(n,this.container.firstChild))},this.j.editor)}this.appendSelectAll()},this.calcPath=this.j.async.debounce(this.calcPathImd,2*this.j.defaultTimeout,!0)}}r.pluginSystem.add("xpath",h)},83709:function(e,t){t.default='<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> '},83725:function(e,t,i){i.d(t,{Autocomplete:function(){return c}});var n=i(82749),o=i(31635),r=i(31356),s=i(35934),a=i(65478),l=i(62405);class c extends l.UIGroup{className(){return"Autocomplete"}onChangeSelection(){this.elements.forEach(e=>e.setMod("active",!1)),this.elements[this.currentSelection]?.setMod("active",!0),this.elements[this.currentSelection]?.container.scrollIntoView(!1)}build(e){let t=this.elements[this.currentSelection]?.item.value,i=e=>e.value,n=r.ListReconciler.reconcile(this.__previousList,e,{getId:i}),o=new Set;n.toRemove.forEach(e=>{let t=i(e);if(o.has(t))return;o.add(t);let n=this.itemsMap.get(t);n&&(-1!==this.elements.indexOf(n)&&(this.remove(n),n.destruct()),this.itemsMap.delete(e.value))}),n.toCreate.forEach(t=>{let n=i(t);if(o.has(n))return;o.add(n);let r=new s.AutocompleteItem(this.jodit,t,t=>{this.currentSelection=e.findIndex(e=>i(e)===t),this.select()});this.itemsMap.set(n,r);let a=e.indexOf(t);this.append(r,a)}),n.toUpdate.forEach(({newItem:e,index:t})=>{let n=i(e);if(o.has(n))return;o.add(n);let r=this.itemsMap.get(n);r&&(r.item=e,this.elements.indexOf(r)!==t&&t<this.elements.length&&(this.remove(r),this.append(r,t)))});let a=this.currentSelection;this.currentSelection=Math.max(0,e.findIndex(e=>i(e)===t)),a===this.currentSelection&&this.onChangeSelection(),this.__previousList=[...e]}selectNext(){this.currentSelection+1<=this.elements.length-1?this.currentSelection+=1:this.currentSelection=0}selectPrevious(){this.currentSelection-1>=0?this.currentSelection-=1:this.currentSelection=this.elements.length-1}select(){this.j.e.fire("select.autocomplete",this.elements[this.currentSelection].item)}constructor(...e){super(...e),(0,n._)(this,"elements",[]),(0,n._)(this,"currentSelection",-1),(0,n._)(this,"__previousList",[]),(0,n._)(this,"itemsMap",new Map)}}(0,o.__decorate)([(0,a.watch)("currentSelection")],c.prototype,"onChangeSelection",null),c=(0,o.__decorate)([a.component],c)},83987:function(e,t,i){i.d(t,{buildData:function(){return o}});var n=i(21537);function o(e,t){if((0,n.isFunction)(e.o.buildData))return e.o.buildData.call(e,t);let i=e.ow.FormData;if(void 0!==i){if(t instanceof i||(0,n.isString)(t))return t;let e=new i;return Object.keys(t).forEach(i=>{e.append(i,t[i])}),e}return t}},84021:function(e,t,i){i.d(t,{removeExtraTags:function(){return o}});let n=new Set(["o:p","xml","script","meta","link","v:imagedata","style"]);function o(e){return"none"===e.style.get("display")||0===e.length&&"span"===e.name||n.has(e.name)?(e.remove(),null):e}},84075:function(e,t,i){i.d(t,{ViewWithToolbar:function(){return m}});var n=i(78213),o=i(45219),r=i(37133),s=i(2748),a=i(76855),l=i(70799),c=i(76078),u=i(67510),d=i(43649),h=i(35608),p=i(21491),f=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};class m extends h.View{get toolbarContainer(){return!this.o.fullsize&&((0,l.isString)(this.o.toolbar)||s.Dom.isHTMLElement(this.o.toolbar))?(0,c.resolveElement)(this.o.toolbar,this.o.shadowRoot||this.od):(this.o.toolbar&&s.Dom.appendChildFirst(this.container,this.__defaultToolbarContainer),this.__defaultToolbarContainer)}setPanel(e){this.o.toolbar=e,this.buildToolbar()}buildToolbar(){var e;if(!this.o.toolbar)return;let t=this.o.buttons?(0,a.splitArray)(this.o.buttons):[];null==(e=this.toolbar)||e.setRemoveButtons(this.o.removeButtons).build(t.concat(this.o.extraButtons||[])).appendTo(this.toolbarContainer)}getRegisteredButtonGroups(){return this.groupToButtons}registerButton(e){var t;this.registeredButtons.add(e);let i=null!=(t=e.group)?t:"other";return this.groupToButtons[i]||(this.groupToButtons[i]=[]),null!=e.position?this.groupToButtons[i][e.position]=e.name:this.groupToButtons[i].push(e.name),this}unregisterButton(e){var t;this.registeredButtons.delete(e);let i=null!=(t=e.group)?t:"other",n=this.groupToButtons[i];if(n){let t=n.indexOf(e.name);-1!==t&&n.splice(t,1),0===n.length&&delete this.groupToButtons[i]}return this}beforeToolbarBuild(e){if(Object.keys(this.groupToButtons).length)return e.map(e=>(0,d.isButtonGroup)(e)&&e.group&&this.groupToButtons[e.group]?{group:e.group,buttons:[...e.buttons,...this.groupToButtons[e.group]]}:e)}destruct(){this.isDestructed||(this.setStatus(n.STATUSES.beforeDestruct),this.e.off("beforeToolbarBuild",this.beforeToolbarBuild),this.__tooltip.destruct(),this.toolbar.destruct(),this.toolbar=void 0,super.destruct())}constructor(e,t=!1){super(e,t),this.toolbar=(0,p.makeCollection)(this),this.__defaultToolbarContainer=this.c.div("jodit-toolbar__box"),this.registeredButtons=new Set,this.groupToButtons={},this.isJodit=!1,this.__tooltip=new u.UITooltip(this),this.isJodit=t,this.e.on("beforeToolbarBuild",this.beforeToolbarBuild)}}f([(0,r.watch)(":rebuildToolbar")],m.prototype,"buildToolbar",null),f([o.autobind],m.prototype,"beforeToolbarBuild",null)},84272:function(e,t,i){i.d(t,{isInlineBlock:function(){return s},removeFormatForCollapsedSelection:function(){return r}});var n=i(82758),o=i(2748);function r(e,t){let{s:i}=e,n=t;if(!n){n=e.createInside.fake();let{range:t}=i;o.Dom.safeInsertNode(t,n),t.collapse()}let r=o.Dom.furthest(n,s,e.editor);if(r)if(i.cursorOnTheLeft(r))o.Dom.before(r,n);else if(i.cursorOnTheRight(r))o.Dom.after(r,n);else{let e=i.splitSelection(r);e&&o.Dom.after(e,n)}t||(i.setCursorBefore(n),o.Dom.safeRemove(n))}function s(e){return o.Dom.isInlineBlock(e)&&!o.Dom.isTag(e,n.INSEPARABLE_TAGS)}},84380:function(e,t,i){var n=i(82758),o=i(6441),r=i(117);o.Config.prototype.askBeforePasteHTML=!0,o.Config.prototype.processPasteHTML=!0,o.Config.prototype.scrollToPastedContent=!0,o.Config.prototype.pasteExcludeStripTags=["br","hr"],o.Config.prototype.pasteHTMLActionList=[{value:n.INSERT_AS_HTML,text:"Keep"},{value:n.INSERT_AS_TEXT,text:"Insert as Text"},{value:n.INSERT_ONLY_TEXT,text:"Insert only Text"}],o.Config.prototype.memorizeChoiceWhenPasteFragment=!1,o.Config.prototype.nl2brInPlainText=!0;let s="pasteStorage";o.Config.prototype.controls.paste={tooltip:"Paste from clipboard",async exec(e,t,{control:i}){if(i.name===s)return void e.execCommand("showPasteStorage");e.s.focus();let o="",a=!0;if(navigator.clipboard){try{let e=await navigator.clipboard.read();if(e&&e.length){let t=await e[0].getType(n.TEXT_PLAIN);o=await new Response(t).text()}a=!1}catch(e){n.IS_PROD}if(a)try{o=await navigator.clipboard.readText(),a=!1}catch(e){n.IS_PROD}}a&&(a=0===(o=e.buffer.get(n.CLIPBOARD_ID)||"").length);let l=e.value;a?(e.ed.execCommand("paste"),(a=l===e.value)||e.e.fire("afterPaste")):o.length?((0,r.pasteInsertHtml)(null,e,o),e.e.fire("afterPaste")):a&&e.alert("Your browser doesn't support direct access to the clipboard.",()=>void e.s.focus())},list:{[s]:"Paste Storage"},isChildDisabled:e=>2>e.e.fire("pasteStorageList")}},84767:function(e,t,i){i.d(t,{isNumber:function(){return n}});function n(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}},84858:function(e,t){t.default='<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> '},85017:function(e,t){t.default={"Type something":"Ecrivez ici","About Jodit":"A propos de Jodit","Jodit Editor":"Editeur Jodit","Jodit User's Guide":"Guide de l'utilisateur","contains detailed help for using":"Aide détaillée à l'utilisation","For information about the license, please go to our website:":"Consulter la licence sur notre site web:","Buy full version":"Acheter la version complète","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Tous droits réservés.",Anchor:"Ancre","Open in new tab":"Ouvrir dans un nouvel onglet","Open in fullsize":"Ouvrir l'éditeur en pleine page","Clear Formatting":"Supprimer le formattage","Fill color or set the text color":"Modifier la couleur du fond ou du texte",Redo:"Refaire",Undo:"Défaire",Bold:"Gras",Italic:"Italique","Insert Unordered List":"Liste non ordonnée","Insert Ordered List":"Liste ordonnée","Align Center":"Centrer","Align Justify":"Justifier","Align Left":"Aligner à gauche ","Align Right":"Aligner à droite","Insert Horizontal Line":"Insérer une ligne horizontale","Insert Image":"Insérer une image","Insert file":"Insérer un fichier","Insert youtube/vimeo video":"Insérer une vidéo","Insert link":"Insérer un lien","Font size":"Taille des caractères","Font family":"Famille des caractères","Insert format block":"Bloc formatté",Normal:"Normal","Heading 1":"Titre 1","Heading 2":"Titre 2","Heading 3":"Titre 3","Heading 4":"Titre 4",Quote:"Citation",Code:"Code",Insert:"Insérer","Insert table":"Insérer un tableau","Decrease Indent":"Diminuer le retrait","Increase Indent":"Retrait plus","Select Special Character":"Sélectionnez un caractère spécial","Insert Special Character":"Insérer un caractère spécial","Paint format":"Cloner le format","Change mode":"Mode wysiwyg <-> code html",Margins:"Marges",top:"haut",right:"droite",bottom:"Bas",left:"gauche",Styles:"Styles",Classes:"Classes",Align:"Alignement",Right:"Droite",Center:"Centre",Left:"Gauche","--Not Set--":"--Non disponible--",Src:"Source",Title:"Titre",Alternative:"Alternative",Filter:"Filtre",Link:"Lien","Open link in new tab":"Ouvrir le lien dans un nouvel onglet",Image:"Image",file:"fichier",Advanced:"Avancé","Image properties":"Propriétés de l'image",Cancel:"Annuler",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Votre texte que vous essayez de coller est similaire au HTML. Collez-le en HTML?","Paste as HTML":"Coller en HTML?",Keep:"Sauvegarder l'original",Clean:"Nettoyer","Insert as Text":"Coller en tant que texte","Word Paste Detected":"C'est peut-être un fragment de Word ou Excel","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Le contenu que vous insérez provient d'un document Microsoft Word / Excel. Voulez-vous enregistrer le format ou l'effacer?","Insert only Text":"Coller le texte seulement","File Browser":"Explorateur de fichiers","Error on load list":"Erreur de liste de chargement","Error on load folders":"Erreur de dossier de chargement","Are you sure?":"Etes-vous sûrs ?","Enter Directory name":"Entrer le nom de dossier","Create directory":"Créer un dossier","type name":"type de fichier","Drop image":"Coller une image","Drop file":"Déposer un fichier","or click":"ou cliquer","Alternative text":"Texte de remplacemement",Browse:"Chercher",Upload:"Charger",Background:"Arrière-plan",Border:"Bordure",Text:"Texte",Top:"Haut",Middle:"Milieu",Bottom:"Bas","Insert column before":"Insérer une colonne avant","Insert column after":"Insérer une colonne après","Insert row above":"Insérer une ligne au dessus","Insert row below":"Insérer une ligne en dessous","Delete table":"Supprimer le tableau","Delete row":"Supprimer la ligne","Delete column":"Supprimer la colonne","Empty cell":"Vider la cellule","Chars: %d":"Symboles: %d","Words: %d":"Mots: %d",Split:"Split","Split vertical":"Split vertical","Split horizontal":"Split horizontal","Strike through":"Barrer",Underline:"Souligner",superscript:"exposant",subscript:"indice","Cut selection":"Couper la sélection","Select all":"Tout sélectionner",Break:"Pause","Search for":"Rechercher","Replace with":"Remplacer par",Replace:"Remplacer",Paste:"Coller","Choose Content to Paste":"Choisissez le contenu à coller",source:"la source",bold:"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:"à propos de l'éditeur",print:"impression",underline:"souligné",strikethrough:"barré",indent:"indentation",outdent:"retrait",fullsize:"taille réelle",shrink:"taille conventionnelle",hr:"la ligne",ul:"Liste",ol:"Liste numérotée",cut:"Couper",selectall:"Sélectionner tout","Open link":"Ouvrir le lien","Edit link":"Modifier le lien","No follow":"Attribut Nofollow",Unlink:"Supprimer le lien",Eye:"Voir",pencil:"Pour éditer"," URL":"URL",Reset:"Restaurer",Save:"Sauvegarder","Save as ...":"Enregistrer sous",Resize:"Changer la taille",Crop:"Taille de garniture",Width:"Largeur",Height:"Hauteur","Keep Aspect Ratio":"Garder les proportions",Yes:"Oui",No:"Non",Remove:"Supprimer",Select:"Mettre en évidence","Select %s":"Mettre en évidence: %s",Update:"Mettre à jour","Vertical align":"Alignement vertical",Merge:"aller","Add column":"Ajouter une colonne","Add row":"Ajouter une rangée",Delete:"Effacer","Horizontal align":"Alignement horizontal","Sort by changed":"Trier par modification","Sort by name":"Trier par nom","Sort by size":"Trier par taille","Add folder":"Créer le dossier","You can only edit your own images. Download this image on the host?":"Vous ne pouvez éditer que vos propres images. Téléchargez cette image sur l'hôte?","The image has been successfully uploaded to the host!":"L'image a été téléchargée avec succès sur le serveur!",palette:"Palette","There are no files":"Il n'y a aucun fichier dans ce répertoire.",Rename:"renommer","Enter new name":"Entrez un nouveau nom",preview:"Aperçu",download:"Télécharger","Paste from clipboard":"Coller à partir du presse-papiers","Your browser doesn't support direct access to the clipboard.":"Votre navigateur ne prend pas en charge l'accès direct au presse-papiers.","Copy selection":"Copier la sélection",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éfaut",Circle:"Cercle",Dot:"Point",Quadrate:"Quadratique",Find:"Trouver","Find Previous":"Précédent","Find Next":"Suivant","Insert className":"Insérer un nom de classe","Press Alt for custom resizing":"Appuyez sur Alt pour un redimensionnement personnalisé","Embed code":"Code d'intégration",Edit:"Modifier",All:"Tout sélectionner","License: %s":"Licence: %s"}},85120:function(e,t,i){i.d(t,{UITextArea:function(){return l}});var n,o=i(65478),r=i(87325),s=i(80256),a=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};let l=n=class e extends s.UIInput{className(){return"UITextArea"}createNativeInput(e){return this.j.create.element("textarea")}onChangeStateSize(){let{size:e,resizable:t}=this.state;this.nativeInput.style.resize=t?"auto":"none",this.nativeInput.rows=null!=e?e:5}constructor(e,t){super(e,t),this.state={...n.defaultState},Object.assign(this.state,t),!1===this.state.resizable&&(this.nativeInput.style.resize="none")}};l.defaultState={...s.UIInput.defaultState,size:5,resizable:!0},a([(0,o.watch)(["state.size","state.resizable"])],l.prototype,"onChangeStateSize",null),l=n=a([r.component],l)},85407:function(e,t,i){var n=i(82758),o=i(2748),r=i(580),s=i(21537),a=i(20356),l=i(10830);class c extends a.Plugin{createDialog(){this.dialog=this.j.dlg();let e=(0,l.Button)(this.j,"paste","Paste","primary");e.onAction(this.paste);let t=(0,l.Button)(this.j,"","Cancel");t.onAction(this.dialog.close),this.container=this.j.c.div(),this.container.classList.add("jodit-paste-storage"),this.listBox=this.j.c.div(),this.previewBox=this.j.c.div(),this.container.appendChild(this.listBox),this.container.appendChild(this.previewBox),this.dialog.setHeader(this.j.i18n("Choose Content to Paste")),this.dialog.setContent(this.container),this.dialog.setFooter([e,t]),this.j.e.on(this.listBox,"click dblclick",e=>{let t=e.target;return o.Dom.isTag(t,"a")&&t.hasAttribute("data-index")&&this.selectIndex(parseInt((0,s.attr)(t,"-index")||"0",10)),"dblclick"===e.type&&this.paste(),!1})}afterInit(){this.j.e.off("afterCopy.paste-storage").on("pasteStorageList.paste-storage",()=>this.list.length).on("afterCopy.paste-storage",e=>{-1!==this.list.indexOf(e)&&this.list.splice(this.list.indexOf(e),1),this.list.unshift(e),this.list.length>5&&(this.list.length=5)}),this.j.registerCommand("showPasteStorage",{exec:this.showDialog,hotkeys:["ctrl+shift+v","cmd+shift+v"]})}beforeDestruct(){this.dialog&&this.dialog.destruct(),this.j.e.off(".paste-storage"),o.Dom.safeRemove(this.previewBox),o.Dom.safeRemove(this.listBox),o.Dom.safeRemove(this.container),this.container=null,this.listBox=null,this.previewBox=null,this.dialog=null,this.list=[]}constructor(){super(...arguments),this.currentIndex=0,this.list=[],this.container=null,this.listBox=null,this.previewBox=null,this.dialog=null,this.paste=()=>{if(this.j.s.focus(),this.j.s.insertHTML(this.list[this.currentIndex]),0!==this.currentIndex){let e=this.list[0];this.list[0]=this.list[this.currentIndex],this.list[this.currentIndex]=e}this.dialog&&this.dialog.close(),this.j.synchronizeValues(),this.j.e.fire("afterPaste")},this.onKeyDown=e=>{let t=this.currentIndex;if(-1!==[n.KEY_UP,n.KEY_DOWN,n.KEY_ENTER].indexOf(e.key)){if(e.key===n.KEY_UP&&(0===t?t=this.list.length-1:t-=1),e.key===n.KEY_DOWN&&(t===this.list.length-1?t=0:t+=1),e.key===n.KEY_ENTER)return void this.paste();t!==this.currentIndex&&this.selectIndex(t),e.stopImmediatePropagation(),e.preventDefault()}},this.selectIndex=e=>{this.listBox&&(0,s.toArray)(this.listBox.childNodes).forEach((t,i)=>{t.classList.remove("jodit_active"),e===i&&this.previewBox&&(t.classList.add("jodit_active"),this.previewBox.innerHTML=this.list[e],t.focus())}),this.currentIndex=e},this.showDialog=()=>{this.list.length<2||(this.dialog||this.createDialog(),this.listBox&&(this.listBox.innerHTML=""),this.previewBox&&(this.previewBox.innerHTML=""),this.list.forEach((e,t)=>{let i=this.j.c.element("a");i.textContent=t+1+". "+e.replace((0,n.SPACE_REG_EXP)(),""),this.j.e.on(i,"keydown",this.onKeyDown),(0,s.attr)(i,"href","#"),(0,s.attr)(i,"data-index",t.toString()),(0,s.attr)(i,"tab-index","-1"),this.listBox&&this.listBox.appendChild(i)}),this.dialog&&this.dialog.open(),this.j.async.setTimeout(()=>{this.selectIndex(0)},100))}}}r.pluginSystem.add("pasteStorage",c)},85567:function(e,t,i){i.d(t,{PII:function(){return n},WARN:function(){return o}});let n=440,o=940},85723:function(e,t,i){i.r(t),t.default={"Line height":"Hauteur de ligne"}},85745:function(e,t,i){i(6441).Config.prototype.imageProcessor={replaceDataURIToBlobIdInView:!0}},86012:function(e,t,i){i(6441).Config.prototype.showXPathInStatusbar=!0},86019:function(e,t,i){i.d(t,{Jodit:function(){return n.Jodit}});var n=i(2303),o=i(27613),r=i(82758),s=i(65478),a=i(41409),l=i(17555),c=i(26152);i(46448),Object.keys(r).forEach(e=>{n.Jodit[e]=r[e]});let u=e=>"__esModule"!==e;Object.keys(l).filter(u).forEach(e=>{a.Icon.set(e.replace("_","-"),l[e])}),Object.keys(a).filter(u).forEach(e=>{var t;let i=a[e],r=(0,o.isFunction)(null==(t=i.prototype)?void 0:t.className)?i.prototype.className():e;(0,o.isString)(r)&&(n.Jodit.modules[r]=i)}),Object.keys(s).filter(u).forEach(e=>{n.Jodit.decorators[e]=s[e]}),["Confirm","Alert","Prompt"].forEach(e=>{n.Jodit[e]=a[e]}),Object.keys(c.default).filter(u).forEach(e=>{n.Jodit.lang[e]=c.default[e]})},86068:function(e,t,i){i.d(t,{isVoid:function(){return n}});function n(e){return null==e}},86273:function(e,t){t.default={"Type something":"Escriba algo...",Advanced:"Avanzado","About Jodit":"Acerca de Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Guía de usuario Jodit","contains detailed help for using":"contiene ayuda detallada para el uso.","For information about the license, please go to our website:":"Para información sobre la licencia, por favor visite nuestro sitio:","Buy full version":"Compre la versión completa","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Todos los derechos reservados.",Anchor:"Anclar","Open in new tab":"Abrir en nueva pestaña","Open in fullsize":"Abrir editor en pantalla completa","Clear Formatting":"Limpiar formato","Fill color or set the text color":"Color de relleno o de letra",Redo:"Rehacer",Undo:"Deshacer",Bold:"Negrita",Italic:"Cursiva","Insert Unordered List":"Insertar lista no ordenada","Insert Ordered List":"Insertar lista ordenada","Align Center":"Alinear Centrado","Align Justify":"Alinear Justificado","Align Left":"Alinear Izquierda","Align Right":"Alinear Derecha","Insert Horizontal Line":"Insertar línea horizontal","Insert Image":"Insertar imagen","Insert file":"Insertar archivo","Insert youtube/vimeo video":"Insertar video de Youtube/vimeo","Insert link":"Insertar vínculo","Font size":"Tamaño de letra","Font family":"Familia de letra","Insert format block":"Insertar bloque",Normal:"Normal","Heading 1":"Encabezado 1","Heading 2":"Encabezado 2","Heading 3":"Encabezado 3","Heading 4":"Encabezado 4",Quote:"Cita",Code:"Código",Insert:"Insertar","Insert table":"Insertar tabla","Decrease Indent":"Disminuir sangría","Increase Indent":"Aumentar sangría","Select Special Character":"Seleccionar caracter especial","Insert Special Character":"Insertar caracter especial","Paint format":"Copiar formato","Change mode":"Cambiar modo",Margins:"Márgenes",top:"arriba",right:"derecha",bottom:"abajo",left:"izquierda",Styles:"Estilos CSS",Classes:"Clases CSS",Align:"Alinear",Right:"Derecha",Center:"Centrado",Left:"Izquierda","--Not Set--":"--No Establecido--",Src:"Fuente",Title:"Título",Alternative:"Texto Alternativo",Filter:"Filtrar",Link:"Vínculo","Open link in new tab":"Abrir vínculo en nueva pestaña",Image:"Imagen",file:"Archivo","Image properties":"Propiedades de imagen",Cancel:"Cancelar",Ok:"Aceptar","Your code is similar to HTML. Keep as HTML?":"El código es similar a HTML. ¿Mantener como HTML?","Paste as HTML":"Pegar como HTML?",Keep:"Mantener",Clean:"Limpiar","Insert as Text":"Insertar como texto","Word Paste Detected":"Pegado desde Word detectado","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"El contenido pegado proviene de un documento de Microsoft Word/Excel. ¿Desea mantener el formato o limpiarlo?","Insert only Text":"Insertar solo texto","File Browser":"Buscar archivo","Error on load list":"Error al cargar la lista","Error on load folders":"Error al cargar las carpetas","Are you sure?":"¿Está seguro?","Enter Directory name":"Entre nombre de carpeta","Create directory":"Crear carpeta","type name":"Entre el nombre","Drop image":"Soltar imagen","Drop file":"Soltar archivo","or click":"o click","Alternative text":"Texto alternativo",Browse:"Buscar",Upload:"Subir",Background:"Fondo",Text:"Texto",Top:"Arriba",Middle:"Centro",Bottom:"Abajo","Insert column before":"Insertar columna antes","Insert column after":"Interar columna después","Insert row above":"Insertar fila arriba","Insert row below":"Insertar fila debajo","Delete table":"Borrar tabla","Delete row":"Borrar fila","Delete column":"Borrar columna","Empty cell":"Vaciar celda",Delete:"Borrar","Strike through":"Tachado",Underline:"Subrayado",Break:"Pausa","Search for":"Buscar","Replace with":"Reemplazar con",Replace:"Reemplazar",Edit:"Editar","Vertical align":"Alineación vertical","Horizontal align":"Alineación horizontal","Sort by changed":"Ordenar por fecha modificación","Sort by name":"Ordenar por nombre","Sort by size":"Ordenar por tamaño","Add folder":"Agregar carpeta",Split:"Dividir","Split vertical":"Dividir vertical","Split horizontal":"Dividir horizontal",Merge:"Mezclar","Add column":"Agregar columna","Add row":"Agregar fila",Border:"Borde","Embed code":"Incluir código",Update:"Actualizar",superscript:"superíndice",subscript:"subíndice","Cut selection":"Cortar selección",Paste:"Pegar","Choose Content to Paste":"Seleccionar contenido para pegar","Chars: %d":"Caracteres: %d","Words: %d":"Palabras: %d",All:"Todo","Select %s":"Seleccionar: %s","Select all":"Seleccionar todo",source:"HTML",bold:"negrita",italic:"cursiva",brush:"Brocha",link:"Vínculo",undo:"deshacer",redo:"rehacer",table:"Tabla",image:"Imagen",eraser:"Borrar",paragraph:"Párrafo",fontsize:"Tamaño de letra",video:"Video",font:"Letra",about:"Acerca de",print:"Imprimir",underline:"subrayar",strikethrough:"tachar",indent:"sangría",outdent:"quitar sangría",fullsize:"Tamaño completo",shrink:"encoger",hr:"línea horizontal",ul:"lista sin ordenar",ol:"lista ordenada",cut:"Cortar",selectall:"Seleccionar todo","Open link":"Abrir vínculo","Edit link":"Editar vínculo","No follow":"No seguir",Unlink:"Desvincular",Eye:"Ver",pencil:"Para editar"," URL":"URL",Reset:"Resetear",Save:"Guardar","Save as ...":"Guardar como...",Resize:"Redimensionar",Crop:"Recortar",Width:"Ancho",Height:"Alto","Keep Aspect Ratio":"Mantener relación de aspecto",Yes:"Si",No:"No",Remove:"Quitar",Select:"Seleccionar","You can only edit your own images. Download this image on the host?":"Solo puedes editar tus propias imágenes. ¿Descargar esta imagen en el servidor?","The image has been successfully uploaded to the host!":"¡La imagen se ha subido correctamente al servidor!",palette:"paleta","There are no files":"No hay archivos en este directorio.",Rename:"renombrar","Enter new name":"Ingresa un nuevo nombre",preview:"avance",download:"Descargar","Paste from clipboard":"Pegar desde el portapapeles","Your browser doesn't support direct access to the clipboard.":"Su navegador no soporta el acceso directo en el portapapeles.","Copy selection":"Selección de copia",copy:"copia","Border radius":"Radio frontera","Show all":"Mostrar todos los",Apply:"Aplicar","Please fill out this field":"Por favor, rellene este campo","Please enter a web address":"Por favor, introduzca una dirección web",Default:"Predeterminado",Circle:"Círculo",Dot:"Punto",Quadrate:"Cuadro","Lower Alpha":"Letra Minúscula","Lower Greek":"Griego Minúscula","Lower Roman":"Romano Minúscula","Upper Alpha":"Letra Mayúscula","Upper Roman":"Romano Mayúscula",Find:"Encontrar","Find Previous":"Buscar Anterior","Find Next":"Buscar Siguiente","Insert className":"Insertar nombre de clase","Press Alt for custom resizing":"Presione Alt para cambiar el tamaño personalizado","License: %s":"Licencia: %s"}},86327:function(e,t,i){i.d(t,{UIForm:function(){return c}});var n=i(4012),o=i(87325),r=i(43555),s=i(80256),a=i(12234),l=i(62405);let c=class e extends l.UIGroup{className(){return"UIForm"}submit(){this.j.e.fire(this.container,"submit")}validate(){for(let e of this.allChildren.filter(e=>n.Component.isInstanceOf(e,s.UIInput)))if(!e.validate())return!1;for(let e of this.allChildren.filter(e=>n.Component.isInstanceOf(e,a.UISelect)))if(!e.validate())return!1;return!0}onSubmit(e){return this.j.e.on(this.container,"submit",()=>{let t=this.allChildren.filter(e=>n.Component.isInstanceOf(e,s.UIInput));return!!this.validate()&&(e(t.reduce((e,t)=>(e[t.state.name]=t.value,e),{})),!1)}),this}createContainer(){let e=this.j.c.element("form");return e.classList.add(this.componentName),(0,r.attr)(e,"dir",this.j.o.direction||"auto"),(0,r.attr)(e,"novalidate",""),e}constructor(...e){var t,i;super(...e),(null==(t=this.options)?void 0:t.className)&&this.container.classList.add(null==(i=this.options)?void 0:i.className)}};c=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([o.component],c)},86397:function(e,t,i){i.d(t,{ConnectionError:function(){return n}});class n extends Error{constructor(e){super(e),Object.setPrototypeOf(this,n.prototype)}}},86518:function(e,t,i){i.d(t,{safeHTML:function(){return r},sanitizeHTMLElement:function(){return s}});var n=i(2748),o=i(43555);function r(e,t){(n.Dom.isElement(e)||n.Dom.isFragment(e))&&(t.removeOnError&&(s(e),(0,o.$$)("[onerror]",e).forEach(e=>s(e,t))),t.safeJavaScriptLink&&(s(e),(0,o.$$)('a[href^="javascript"]',e).forEach(e=>s(e,t))))}function s(e,{safeJavaScriptLink:t,removeOnError:i}={safeJavaScriptLink:!0,removeOnError:!0}){if(!n.Dom.isElement(e))return!1;let r=!1;i&&e.hasAttribute("onerror")&&((0,o.attr)(e,"onerror",null),r=!0);let a=e.getAttribute("href");return t&&a&&0===a.trim().indexOf("javascript")&&((0,o.attr)(e,"href",location.protocol+"//"+a),r=!0),r}},86583:function(e,t,i){i.d(t,{dataBind:function(){return r}});var n=i(39955);let o=new WeakMap,r=(e,t,i)=>{let r=o.get(e);if(!r){r={},o.set(e,r);let t=null;(0,n.isViewObject)(e.j)&&(t=e.j.e),(0,n.isViewObject)(e)&&(t=e.e),t&&t.on("beforeDestruct",()=>{o.delete(e)})}return void 0===i?r[t]:(r[t]=i,i)}},86835:function(e,t){t.default='<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> '},87058:function(e,t,i){i.d(t,{camelCase:function(){return n}});let n=e=>e.replace(/([-_])(.)/g,(e,t,i)=>i.toUpperCase())},87325:function(e,t,i){i.d(t,{component:function(){return s},getComponentClass:function(){return a}});var n=i(82758),o=i(80568);let r=new Map;function s(e){class t extends e{constructor(...e){super(...e),this.constructor===t&&(this instanceof t||Object.setPrototypeOf(this,t.prototype),this.setStatus("ready"))}}let i=(0,o.getClassName)(e.prototype);if(r.has(i)&&!n.IS_PROD)throw Error(`Component with name "${i}" is already registered`);return r.set(i,t),t}function a(e){return r.get(e)}},87394:function(e,t,i){var n=i(12153),o=i(6441),r=i(5119);o.Config.prototype.usePopupForSpecialCharacters=!1,o.Config.prototype.specialCharacters=["!","&quot;","#","$","%","&amp;","'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","&lt;","=","&gt;","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","&euro;","&lsquo;","&rsquo;","&ldquo;","&rdquo;","&ndash;","&mdash;","&iexcl;","&cent;","&pound;","&curren;","&yen;","&brvbar;","&sect;","&uml;","&copy;","&ordf;","&laquo;","&raquo;","&not;","&reg;","&macr;","&deg;","&sup2;","&sup3;","&acute;","&micro;","&para;","&middot;","&cedil;","&sup1;","&ordm;","&frac14;","&frac12;","&frac34;","&iquest;","&Agrave;","&Aacute;","&Acirc;","&Atilde;","&Auml;","&Aring;","&AElig;","&Ccedil;","&Egrave;","&Eacute;","&Ecirc;","&Euml;","&Igrave;","&Iacute;","&Icirc;","&Iuml;","&ETH;","&Ntilde;","&Ograve;","&Oacute;","&Ocirc;","&Otilde;","&Ouml;","&times;","&Oslash;","&Ugrave;","&Uacute;","&Ucirc;","&Uuml;","&Yacute;","&THORN;","&szlig;","&agrave;","&aacute;","&acirc;","&atilde;","&auml;","&aring;","&aelig;","&ccedil;","&egrave;","&eacute;","&ecirc;","&euml;","&igrave;","&iacute;","&icirc;","&iuml;","&eth;","&ntilde;","&ograve;","&oacute;","&ocirc;","&otilde;","&ouml;","&divide;","&oslash;","&ugrave;","&uacute;","&ucirc;","&uuml;","&yacute;","&thorn;","&yuml;","&OElig;","&oelig;","&#372;","&#374","&#373","&#375;","&sbquo;","&#8219;","&bdquo;","&hellip;","&trade;","&#9658;","&bull;","&rarr;","&rArr;","&hArr;","&diams;","&asymp;"],n.Icon.set("symbols",r.default),o.Config.prototype.controls.symbols={hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup(e,t,i){let n=e.e.fire("generateSpecialCharactersTable.symbols");if(n){if(e.o.usePopupForSpecialCharacters){let t=e.c.div();return t.classList.add("jodit-symbols"),t.appendChild(n),e.e.on(n,"close_dialog",i),t}e.alert(n,"Select Special Character",void 0,"jodit-symbols").bindDestruct(e);let t=n.querySelector("a");t&&t.focus()}}}},87536:function(e,t,i){i.d(t,{checkRemoveContentNotEditable:function(){return s}});var n=i(22732),o=i(21537),r=i(45124);function s(e,t,i){let s=n.Dom.findSibling(t,i);return!s&&t.parentElement&&t.parentElement!==e.editor&&(s=n.Dom.findSibling(t.parentElement,i)),!(!n.Dom.isElement(s)||n.Dom.isContentEditable(s,e.editor))&&((0,o.call)(i?n.Dom.before:n.Dom.after,s,t),n.Dom.safeRemove(s),(0,r.moveNodeInsideStart)(e,t,i),(0,o.call)(i?e.s.setCursorBefore:e.s.setCursorAfter,t),!0)}},87602:function(e,t,i){i.d(t,{applySize:function(){return a}});var n=i(29807),o=i(29960),r=i(41180),s=i(14415);function a(e,t,i,a){if(t!==e.offsetWidth||i!==e.offsetHeight){let l=t?(0,s.normalSizeToString)(t):null,c=i?(0,s.normalSizeToString)(i):null;(0,r.css)(e,{width:l,height:l&&a?null:c}),(0,o.attr)(e,"width",l&&(0,n.isNumeric)(t)&&(0,o.attr)(e,"width")?l:null),(!(0,o.attr)(e,"width")||a)&&(c=null),(0,o.attr)(e,"height",c)}}},87612:function(e,t,i){i.d(t,{isBoolean:function(){return n}});function n(e){return"boolean"==typeof e}},88774:function(e,t,i){i.r(t),t.default={newline:"換行",delete:"刪除",space:"空白","Speech Recognize":"語音辨識",Sound:"聲音","Interim Results":"階段性辨識結果"}},89194:function(e,t,i){i.r(t),t.default={"Line height":"Tinggi baris"}},89672:function(e,t,i){i.d(t,{normalizeName:function(){return o}});var n=i(12475);function o(e){return(0,n.kebabCase)(e).toLowerCase()}},89702:function(e,t,i){i.r(t),t.default={symbols:"符号"}},89758:function(e,t){t.default='<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> '},89816:function(e,t){t.default='<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> '},89890:function(e,t,i){i.d(t,{ConnectionError:function(){return o.ConnectionError},OptionsError:function(){return o.OptionsError},abort:function(){return o.abort},connection:function(){return n.connection},error:function(){return n.error},options:function(){return n.options}});var n=i(82760),o=i(32880)},89930:function(e,t,i){i.r(t),t.default={newline:"řádek",delete:"odstranit",space:"prostora","Speech Recognize":"Rozpoznání Řeči",Sound:"Zvuk","Interim Results":"Průběžné Výsledky"}},90240:function(e,t,i){i.d(t,{checkTableCell:function(){return o}});var n=i(2748);function o(e,t){let i=t.parentElement;return!!n.Dom.isCell(i)}},90492:function(e,t,i){i.r(t),i.d(t,{ar:function(){return n},cs_cz:function(){return o},de:function(){return r},es:function(){return s},fa:function(){return a},fi:function(){return l},fr:function(){return c},he:function(){return u},hu:function(){return d},id:function(){return h},it:function(){return p},ja:function(){return f},ko:function(){return m},mn:function(){return g},nl:function(){return v},no:function(){return b},pl:function(){return y},pt_br:function(){return S},ru:function(){return w},tr:function(){return _},ua:function(){return C},zh_cn:function(){return k},zh_tw:function(){return I}});var n=i(71705),o=i(89930),r=i(34945),s=i(63134),a=i(66835),l=i(1115),c=i(59302),u=i(94141),d=i(24877),h=i(80651),p=i(62395),f=i(16407),m=i(37272),g=i(22113),v=i(22432),b=i(17081),y=i(30798),S=i(8661),w=i(19147),_=i(93620),C=i(40372),k=i(69874),I=i(88774)},91003:function(e,t,i){i.d(t,{stripTags:function(){return function e(t,i=document,u=null){let d=i.createElement("div");return(0,o.isString)(t)?d.innerHTML=t:d.appendChild(t),(0,s.$$)("*",d).forEach(t=>{let o=t.parentNode;if(!o)return;if(u&&n.Dom.isTag(t,u)){let o=t.nodeName.toLowerCase(),r=n.Dom.isTag(t,c)?`%%%jodit-single-${o}%%%`:`%%%jodit-${o}%%%${e(t.innerHTML,i,u)}%%%/jodit-${o}%%%`;n.Dom.before(t,i.createTextNode(r)),n.Dom.safeRemove(t);return}if(n.Dom.isTag(t,l))return void n.Dom.safeRemove(t);if(!n.Dom.isTag(t,a))return;let r=t.nextSibling;!(n.Dom.isText(r)&&/^\s/.test(r.nodeValue||""))&&r&&o.insertBefore(i.createTextNode(" "),r)}),(0,r.trim)(d.innerText).replace(/%%%(\/)?jodit(-single)?-([\w\n]+)%%%/g,(e,t,i,n)=>`<${t?"/":""}${n}>`)}}});var n=i(2748),o=i(70799),r=i(49055),s=i(43555);let a=new Set(["div","p","br","h1","h2","h3","h4","h5","h6","hr"]),l=new Set(["script","style"]),c=new Set(["br","hr","input"])},91071:function(e,t,i){var n=i(82758),o=i(65478),r=i(580),s=i(50911);i(57288);var a=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};class l extends s.Plugin{afterInit(e){let{limitWords:t,limitChars:i}=e.o;if(e&&(t||i)){let t=null;e.e.off(".limit").on("beforePaste.limit",()=>{t=e.history.snapshot.make()}).on("keydown.limit keyup.limit beforeEnter.limit",this.checkPreventKeyPressOrPaste).on("change.limit",this.checkPreventChanging).on("afterPaste.limit",()=>{if(this.__shouldDenyInput(!0)&&t)return e.history.snapshot.restore(t),e.e.fire("denyPaste.limit"),!1})}}shouldPreventInsertHTML(e){return!(e&&(n.COMMAND_KEYS.includes(e.key)||e.ctrlKey||e.metaKey))&&this.__shouldDenyInput(!1)}__shouldDenyInput(e){var t,i;let{jodit:n}=this,{limitWords:o,limitChars:r}=n.o,s=n.o.limitHTML?n.value:n.text,a=this.__splitWords(s);if(o&&(t=a.length,e?t>o:t>=o))return n.e.fire("denyWords.limit limit.limit"),!0;let l=!!(r&&(i=a.join("").length,e?i>r:i>=r));return l&&n.e.fire("denyChars.limit limit.limit"),l}checkPreventKeyPressOrPaste(e){if(this.shouldPreventInsertHTML(e))return!1}checkPreventChanging(e,t){let{jodit:i}=this;this.__shouldDenyInput(!0)&&(i.value=t)}__splitWords(e){return e.replace((0,n.INVISIBLE_SPACE_REG_EXP)(),"").split((0,n.SPACE_REG_EXP)()).filter(e=>e.length)}beforeDestruct(e){e.e.off(".limit")}}a([o.autobind],l.prototype,"checkPreventKeyPressOrPaste",null),a([o.autobind],l.prototype,"checkPreventChanging",null),r.pluginSystem.add("limit",l)},91080:function(e,t,i){i.r(t),t.default={symbols:"символ"}},91388:function(e,t,i){i.d(t,{moveCursorOutFromSpecialTags:function(){return o}});var n=i(2748);function o(e,t,i){let{s:o}=e,r=n.Dom.closest(t,i,e.editor);r&&(o.cursorOnTheRight(r,t)?n.Dom.after(r,t):o.cursorOnTheLeft(r,t)&&n.Dom.before(r,t))}},91748:function(e,t,i){i.d(t,{checkJoinTwoLists:function(){return s}});var n=i(2748),o=i(37790),r=i(63785);function s(e,t,i){let s=n.Dom.findSibling(t,i),a=n.Dom.findSibling(t,!i);if(!n.Dom.closest(t,n.Dom.isElement,e.editor)&&n.Dom.isList(s)&&n.Dom.isList(a)&&n.Dom.isTag(s.lastElementChild,"li")&&n.Dom.isTag(a.firstElementChild,"li")){let{setCursorBefore:l,setCursorAfter:c}=e.s,u=s.lastElementChild,d=a.firstElementChild;return(0,o.call)(i?n.Dom.prepend:n.Dom.append,d,t),n.Dom.moveContent(a,s,!i,(0,r.getMoveFilter)(e)),n.Dom.safeRemove(a),(0,o.call)(i?n.Dom.append:n.Dom.prepend,u,t),(0,o.call)(i?l:c,t),!0}return!1}},91898:function(e,t,i){i.d(t,{clearTimeout:function(){return n.clearTimeout},setTimeout:function(){return n.setTimeout}});var n=i(13252)},91907:function(e,t,i){i.d(t,{Component:function(){return n.Component},STATUSES:function(){return o.STATUSES},ViewComponent:function(){return r.ViewComponent}});var n=i(4012),o=i(78213),r=i(80480)},92113:function(e,t,i){i.d(t,{UISeparator:function(){return r}});var n=i(87325),o=i(48538);let r=class e extends o.UIElement{className(){return"UISeparator"}};r=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([n.component],r)},92278:function(e,t,i){i.d(t,{UISearch:function(){return c}});var n=i(82758),o=i(65478),r=i(22732),s=i(21537),a=i(67510),l=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s};let c=class e extends a.UIElement{className(){return"UISearch"}render(){return`<div>
250
250
  <div class="&__box">
251
251
  <div class="&__inputs">
252
252
  <input data-ref="query" tabindex="0" placeholder="~Search for~" type="text"/>