jodit-pro 4.6.24 → 4.6.25

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 (292) hide show
  1. package/es2015/jodit.css +1 -1
  2. package/es2015/jodit.fat.min.js +2 -2
  3. package/es2015/jodit.js +16 -2
  4. package/es2015/jodit.min.js +2 -2
  5. package/es2015/plugins/autocomplete/autocomplete.js +1 -1
  6. package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
  7. package/es2015/plugins/backup/backup.css +1 -1
  8. package/es2015/plugins/backup/backup.js +1 -1
  9. package/es2015/plugins/backup/backup.min.js +1 -1
  10. package/es2015/plugins/button-generator/button-generator.css +1 -1
  11. package/es2015/plugins/button-generator/button-generator.js +1 -1
  12. package/es2015/plugins/button-generator/button-generator.min.js +1 -1
  13. package/es2015/plugins/change-case/change-case.js +1 -1
  14. package/es2015/plugins/change-case/change-case.min.js +1 -1
  15. package/es2015/plugins/color-picker/color-picker.css +1 -1
  16. package/es2015/plugins/color-picker/color-picker.js +1 -1
  17. package/es2015/plugins/color-picker/color-picker.min.js +1 -1
  18. package/es2015/plugins/emoji/emoji.css +1 -1
  19. package/es2015/plugins/emoji/emoji.js +1 -1
  20. package/es2015/plugins/emoji/emoji.min.js +1 -1
  21. package/es2015/plugins/export-docs/export-docs.js +1 -1
  22. package/es2015/plugins/export-docs/export-docs.min.js +1 -1
  23. package/es2015/plugins/finder/finder.css +1 -1
  24. package/es2015/plugins/finder/finder.js +1 -1
  25. package/es2015/plugins/finder/finder.min.js +1 -1
  26. package/es2015/plugins/google-maps/google-maps.css +1 -1
  27. package/es2015/plugins/google-maps/google-maps.js +1 -1
  28. package/es2015/plugins/google-maps/google-maps.min.js +1 -1
  29. package/es2015/plugins/google-search/google-search.js +1 -1
  30. package/es2015/plugins/google-search/google-search.min.js +1 -1
  31. package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
  32. package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
  33. package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
  34. package/es2015/plugins/iframe-editor/iframe-editor.js +1 -1
  35. package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
  36. package/es2015/plugins/keyboard/keyboard.css +1 -1
  37. package/es2015/plugins/keyboard/keyboard.js +1 -1
  38. package/es2015/plugins/keyboard/keyboard.min.js +1 -1
  39. package/es2015/plugins/mobile-view/mobile-view.js +1 -1
  40. package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
  41. package/es2015/plugins/page-break/page-break.js +1 -1
  42. package/es2015/plugins/page-break/page-break.min.js +1 -1
  43. package/es2015/plugins/paste-code/paste-code.css +1 -1
  44. package/es2015/plugins/paste-code/paste-code.js +1 -1
  45. package/es2015/plugins/paste-code/paste-code.min.js +1 -1
  46. package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
  47. package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
  48. package/es2015/plugins/show-blocks/show-blocks.js +1 -1
  49. package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
  50. package/es2015/plugins/todo-list/todo-list.css +1 -1
  51. package/es2015/plugins/todo-list/todo-list.js +1 -1
  52. package/es2015/plugins/todo-list/todo-list.min.js +1 -1
  53. package/es2015/plugins/translate/translate.css +1 -1
  54. package/es2015/plugins/translate/translate.js +1 -1
  55. package/es2015/plugins/translate/translate.min.js +1 -1
  56. package/es2015/plugins/tune-block/tune-block.css +1 -1
  57. package/es2015/plugins/tune-block/tune-block.js +1 -1
  58. package/es2015/plugins/tune-block/tune-block.min.js +1 -1
  59. package/es2018/jodit.css +1 -1
  60. package/es2018/jodit.fat.min.js +2 -2
  61. package/es2018/jodit.js +16 -2
  62. package/es2018/jodit.min.js +2 -2
  63. package/es2018/plugins/autocomplete/autocomplete.js +1 -1
  64. package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
  65. package/es2018/plugins/backup/backup.css +1 -1
  66. package/es2018/plugins/backup/backup.js +1 -1
  67. package/es2018/plugins/backup/backup.min.js +1 -1
  68. package/es2018/plugins/button-generator/button-generator.css +1 -1
  69. package/es2018/plugins/button-generator/button-generator.js +1 -1
  70. package/es2018/plugins/button-generator/button-generator.min.js +1 -1
  71. package/es2018/plugins/change-case/change-case.js +1 -1
  72. package/es2018/plugins/change-case/change-case.min.js +1 -1
  73. package/es2018/plugins/color-picker/color-picker.css +1 -1
  74. package/es2018/plugins/color-picker/color-picker.js +1 -1
  75. package/es2018/plugins/color-picker/color-picker.min.js +1 -1
  76. package/es2018/plugins/emoji/emoji.css +1 -1
  77. package/es2018/plugins/emoji/emoji.js +1 -1
  78. package/es2018/plugins/emoji/emoji.min.js +1 -1
  79. package/es2018/plugins/export-docs/export-docs.js +1 -1
  80. package/es2018/plugins/export-docs/export-docs.min.js +1 -1
  81. package/es2018/plugins/finder/finder.css +1 -1
  82. package/es2018/plugins/finder/finder.js +1 -1
  83. package/es2018/plugins/finder/finder.min.js +1 -1
  84. package/es2018/plugins/google-maps/google-maps.css +1 -1
  85. package/es2018/plugins/google-maps/google-maps.js +1 -1
  86. package/es2018/plugins/google-maps/google-maps.min.js +1 -1
  87. package/es2018/plugins/google-search/google-search.js +1 -1
  88. package/es2018/plugins/google-search/google-search.min.js +1 -1
  89. package/es2018/plugins/highlight-signature/highlight-signature.js +1 -1
  90. package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
  91. package/es2018/plugins/iframe-editor/iframe-editor.css +1 -1
  92. package/es2018/plugins/iframe-editor/iframe-editor.js +1 -1
  93. package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
  94. package/es2018/plugins/keyboard/keyboard.css +1 -1
  95. package/es2018/plugins/keyboard/keyboard.js +1 -1
  96. package/es2018/plugins/keyboard/keyboard.min.js +1 -1
  97. package/es2018/plugins/mobile-view/mobile-view.js +1 -1
  98. package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
  99. package/es2018/plugins/page-break/page-break.js +1 -1
  100. package/es2018/plugins/page-break/page-break.min.js +1 -1
  101. package/es2018/plugins/paste-code/paste-code.css +1 -1
  102. package/es2018/plugins/paste-code/paste-code.js +1 -1
  103. package/es2018/plugins/paste-code/paste-code.min.js +1 -1
  104. package/es2018/plugins/paste-from-word/paste-from-word.js +1 -1
  105. package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
  106. package/es2018/plugins/show-blocks/show-blocks.js +1 -1
  107. package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
  108. package/es2018/plugins/todo-list/todo-list.css +1 -1
  109. package/es2018/plugins/todo-list/todo-list.js +1 -1
  110. package/es2018/plugins/todo-list/todo-list.min.js +1 -1
  111. package/es2018/plugins/translate/translate.css +1 -1
  112. package/es2018/plugins/translate/translate.js +1 -1
  113. package/es2018/plugins/translate/translate.min.js +1 -1
  114. package/es2018/plugins/tune-block/tune-block.css +1 -1
  115. package/es2018/plugins/tune-block/tune-block.js +1 -1
  116. package/es2018/plugins/tune-block/tune-block.min.js +1 -1
  117. package/es2021/jodit.css +1 -1
  118. package/es2021/jodit.fat.min.js +2 -2
  119. package/es2021/jodit.js +16 -2
  120. package/es2021/jodit.min.js +2 -2
  121. package/es2021/plugins/autocomplete/autocomplete.js +1 -1
  122. package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
  123. package/es2021/plugins/backup/backup.css +1 -1
  124. package/es2021/plugins/backup/backup.js +1 -1
  125. package/es2021/plugins/backup/backup.min.js +1 -1
  126. package/es2021/plugins/button-generator/button-generator.css +1 -1
  127. package/es2021/plugins/button-generator/button-generator.js +1 -1
  128. package/es2021/plugins/button-generator/button-generator.min.js +1 -1
  129. package/es2021/plugins/change-case/change-case.js +1 -1
  130. package/es2021/plugins/change-case/change-case.min.js +1 -1
  131. package/es2021/plugins/color-picker/color-picker.css +1 -1
  132. package/es2021/plugins/color-picker/color-picker.js +1 -1
  133. package/es2021/plugins/color-picker/color-picker.min.js +1 -1
  134. package/es2021/plugins/emoji/emoji.css +1 -1
  135. package/es2021/plugins/emoji/emoji.js +1 -1
  136. package/es2021/plugins/emoji/emoji.min.js +1 -1
  137. package/es2021/plugins/export-docs/export-docs.js +1 -1
  138. package/es2021/plugins/export-docs/export-docs.min.js +1 -1
  139. package/es2021/plugins/finder/finder.css +1 -1
  140. package/es2021/plugins/finder/finder.js +1 -1
  141. package/es2021/plugins/finder/finder.min.js +1 -1
  142. package/es2021/plugins/google-maps/google-maps.css +1 -1
  143. package/es2021/plugins/google-maps/google-maps.js +1 -1
  144. package/es2021/plugins/google-maps/google-maps.min.js +1 -1
  145. package/es2021/plugins/google-search/google-search.js +1 -1
  146. package/es2021/plugins/google-search/google-search.min.js +1 -1
  147. package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
  148. package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
  149. package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
  150. package/es2021/plugins/iframe-editor/iframe-editor.js +1 -1
  151. package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
  152. package/es2021/plugins/keyboard/keyboard.css +1 -1
  153. package/es2021/plugins/keyboard/keyboard.js +1 -1
  154. package/es2021/plugins/keyboard/keyboard.min.js +1 -1
  155. package/es2021/plugins/mobile-view/mobile-view.js +1 -1
  156. package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
  157. package/es2021/plugins/page-break/page-break.js +1 -1
  158. package/es2021/plugins/page-break/page-break.min.js +1 -1
  159. package/es2021/plugins/paste-code/paste-code.css +1 -1
  160. package/es2021/plugins/paste-code/paste-code.js +1 -1
  161. package/es2021/plugins/paste-code/paste-code.min.js +1 -1
  162. package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
  163. package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
  164. package/es2021/plugins/show-blocks/show-blocks.js +1 -1
  165. package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
  166. package/es2021/plugins/todo-list/todo-list.css +1 -1
  167. package/es2021/plugins/todo-list/todo-list.js +1 -1
  168. package/es2021/plugins/todo-list/todo-list.min.js +1 -1
  169. package/es2021/plugins/translate/translate.css +1 -1
  170. package/es2021/plugins/translate/translate.js +1 -1
  171. package/es2021/plugins/translate/translate.min.js +1 -1
  172. package/es2021/plugins/tune-block/tune-block.css +1 -1
  173. package/es2021/plugins/tune-block/tune-block.js +1 -1
  174. package/es2021/plugins/tune-block/tune-block.min.js +1 -1
  175. package/es2021.en/jodit.css +1 -1
  176. package/es2021.en/jodit.fat.min.js +2 -2
  177. package/es2021.en/jodit.js +16 -2
  178. package/es2021.en/jodit.min.js +2 -2
  179. package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
  180. package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
  181. package/es2021.en/plugins/backup/backup.css +1 -1
  182. package/es2021.en/plugins/backup/backup.js +1 -1
  183. package/es2021.en/plugins/backup/backup.min.js +1 -1
  184. package/es2021.en/plugins/button-generator/button-generator.css +1 -1
  185. package/es2021.en/plugins/button-generator/button-generator.js +1 -1
  186. package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
  187. package/es2021.en/plugins/change-case/change-case.js +1 -1
  188. package/es2021.en/plugins/change-case/change-case.min.js +1 -1
  189. package/es2021.en/plugins/color-picker/color-picker.css +1 -1
  190. package/es2021.en/plugins/color-picker/color-picker.js +1 -1
  191. package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
  192. package/es2021.en/plugins/emoji/emoji.css +1 -1
  193. package/es2021.en/plugins/emoji/emoji.js +1 -1
  194. package/es2021.en/plugins/emoji/emoji.min.js +1 -1
  195. package/es2021.en/plugins/export-docs/export-docs.js +1 -1
  196. package/es2021.en/plugins/export-docs/export-docs.min.js +1 -1
  197. package/es2021.en/plugins/finder/finder.css +1 -1
  198. package/es2021.en/plugins/finder/finder.js +1 -1
  199. package/es2021.en/plugins/finder/finder.min.js +1 -1
  200. package/es2021.en/plugins/google-maps/google-maps.css +1 -1
  201. package/es2021.en/plugins/google-maps/google-maps.js +1 -1
  202. package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
  203. package/es2021.en/plugins/google-search/google-search.js +1 -1
  204. package/es2021.en/plugins/google-search/google-search.min.js +1 -1
  205. package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
  206. package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
  207. package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
  208. package/es2021.en/plugins/iframe-editor/iframe-editor.js +1 -1
  209. package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
  210. package/es2021.en/plugins/keyboard/keyboard.css +1 -1
  211. package/es2021.en/plugins/keyboard/keyboard.js +1 -1
  212. package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
  213. package/es2021.en/plugins/mobile-view/mobile-view.js +1 -1
  214. package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
  215. package/es2021.en/plugins/page-break/page-break.js +1 -1
  216. package/es2021.en/plugins/page-break/page-break.min.js +1 -1
  217. package/es2021.en/plugins/paste-code/paste-code.css +1 -1
  218. package/es2021.en/plugins/paste-code/paste-code.js +1 -1
  219. package/es2021.en/plugins/paste-code/paste-code.min.js +1 -1
  220. package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
  221. package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
  222. package/es2021.en/plugins/show-blocks/show-blocks.js +1 -1
  223. package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
  224. package/es2021.en/plugins/todo-list/todo-list.css +1 -1
  225. package/es2021.en/plugins/todo-list/todo-list.js +1 -1
  226. package/es2021.en/plugins/todo-list/todo-list.min.js +1 -1
  227. package/es2021.en/plugins/translate/translate.css +1 -1
  228. package/es2021.en/plugins/translate/translate.js +1 -1
  229. package/es2021.en/plugins/translate/translate.min.js +1 -1
  230. package/es2021.en/plugins/tune-block/tune-block.css +1 -1
  231. package/es2021.en/plugins/tune-block/tune-block.js +1 -1
  232. package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
  233. package/es5/jodit.css +2 -2
  234. package/es5/jodit.fat.min.js +2 -2
  235. package/es5/jodit.js +20 -2
  236. package/es5/jodit.min.css +2 -2
  237. package/es5/jodit.min.js +2 -2
  238. package/es5/plugins/autocomplete/autocomplete.js +1 -1
  239. package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
  240. package/es5/plugins/backup/backup.css +1 -1
  241. package/es5/plugins/backup/backup.js +1 -1
  242. package/es5/plugins/backup/backup.min.js +1 -1
  243. package/es5/plugins/button-generator/button-generator.css +1 -1
  244. package/es5/plugins/button-generator/button-generator.js +1 -1
  245. package/es5/plugins/button-generator/button-generator.min.js +1 -1
  246. package/es5/plugins/change-case/change-case.js +1 -1
  247. package/es5/plugins/change-case/change-case.min.js +1 -1
  248. package/es5/plugins/color-picker/color-picker.css +1 -1
  249. package/es5/plugins/color-picker/color-picker.js +1 -1
  250. package/es5/plugins/color-picker/color-picker.min.js +1 -1
  251. package/es5/plugins/emoji/emoji.css +1 -1
  252. package/es5/plugins/emoji/emoji.js +1 -1
  253. package/es5/plugins/emoji/emoji.min.js +1 -1
  254. package/es5/plugins/export-docs/export-docs.js +1 -1
  255. package/es5/plugins/export-docs/export-docs.min.js +1 -1
  256. package/es5/plugins/finder/finder.css +1 -1
  257. package/es5/plugins/finder/finder.js +1 -1
  258. package/es5/plugins/finder/finder.min.js +1 -1
  259. package/es5/plugins/google-maps/google-maps.css +1 -1
  260. package/es5/plugins/google-maps/google-maps.js +1 -1
  261. package/es5/plugins/google-maps/google-maps.min.js +1 -1
  262. package/es5/plugins/google-search/google-search.js +1 -1
  263. package/es5/plugins/google-search/google-search.min.js +1 -1
  264. package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
  265. package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
  266. package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
  267. package/es5/plugins/iframe-editor/iframe-editor.js +1 -1
  268. package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
  269. package/es5/plugins/keyboard/keyboard.css +1 -1
  270. package/es5/plugins/keyboard/keyboard.js +1 -1
  271. package/es5/plugins/keyboard/keyboard.min.js +1 -1
  272. package/es5/plugins/mobile-view/mobile-view.js +1 -1
  273. package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
  274. package/es5/plugins/page-break/page-break.js +1 -1
  275. package/es5/plugins/page-break/page-break.min.js +1 -1
  276. package/es5/plugins/paste-code/paste-code.css +1 -1
  277. package/es5/plugins/paste-code/paste-code.js +1 -1
  278. package/es5/plugins/paste-code/paste-code.min.js +1 -1
  279. package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
  280. package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
  281. package/es5/plugins/show-blocks/show-blocks.js +1 -1
  282. package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
  283. package/es5/plugins/todo-list/todo-list.css +1 -1
  284. package/es5/plugins/todo-list/todo-list.js +1 -1
  285. package/es5/plugins/todo-list/todo-list.min.js +1 -1
  286. package/es5/plugins/translate/translate.css +1 -1
  287. package/es5/plugins/translate/translate.js +1 -1
  288. package/es5/plugins/translate/translate.min.js +1 -1
  289. package/es5/plugins/tune-block/tune-block.css +1 -1
  290. package/es5/plugins/tune-block/tune-block.js +1 -1
  291. package/es5/plugins/tune-block/tune-block.min.js +1 -1
  292. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v4.6.24
4
+ * Version: v4.6.25
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
8
8
 
9
9
 
10
- ((e,t)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("{}"));else if("function"==typeof define&&define.amd)define(["{}"],t);else{var r="object"==typeof exports?t(require("{}")):t(e["{}"]);for(var i in r)("object"==typeof exports?exports:e)[i]=r[i]}})(self,function(e){return function(){"use strict";var t,r={117(e,t,r){r.d(t,{DI(){return l},PU(){return c},sX(){return a}});var i=r(82758),o=r(2748),n=r(27613),s=r(10830);function a(e,t,r){if(t.isInDestruct)return;(e=>!(!e||"drop"!==e.type))(e)&&t.s.insertCursorAtPoint(e.clientX,e.clientY);const i=t.e.fire("beforePasteInsert",r);!(0,n.Rd)(i)&&((0,n.Kg)(i)||(0,n.Et)(i)||o.J.isNode(i))&&(r=i),(0,n.Kg)(r)&&(r=(e=>{const t=(e=e.replace(/<meta[^>]+?>/g,"")).search(/<!--StartFragment-->/i);-1!==t&&(e=e.substring(t+20));const r=e.search(/<!--EndFragment-->/i);return-1!==r&&(e=e.substring(0,r)),e})(r)),t.s.insertHTML(r)}function l(e){const t=e.types;let r="";if((0,n.cy)(t)||"[object DOMStringList]"==={}.toString.call(t))for(let e=0;t.length>e;e+=1)r+=t[e]+";";else r=(t||i.TEXT_PLAIN)+";";return r}function c(e,t,r,i,o){if(!1===e.e.fire("beforeOpenPasteDialog",t,r,i,o))return;const n=e.confirm(`<div style="word-break: normal; white-space: normal">${e.i18n(t)}</div>`,e.i18n(r)),a=o.map(({text:t,value:r})=>(0,s.$n)(e,{text:t,name:t.toLowerCase(),tabIndex:0}).onAction(()=>{n.close(),i(r)}));n.e.one(n,"afterClose",()=>{e.s.isFocused()||e.s.focus()});const l=(0,s.$n)(e,{text:"Cancel",tabIndex:0}).onAction(()=>{n.close()});return n.setFooter([...a,l]),a[0].focus(),a[0].state.variant="primary",e.e.fire("afterOpenPasteDialog",n,t,r,i,o),n}},159(e,t,r){r.d(t,{u(){return o}});var i=r(21537);class o{static create(e){return e instanceof o?e:new o(e)}get path(){return(0,i.normalizePath)(this.data.source.path?this.data.source.path+"/":"/")}get imageURL(){const e=this.time||""+(new Date).getTime(),{thumbIsAbsolute:t,source:r,thumb:o,file:n}=this.data,s=o||n;return t&&s?s:(0,i.normalizeUrl)(r.baseurl,r.path,s||"")+"?_tmst="+encodeURIComponent(e)}get fileURL(){let{name:e}=this.data;const{file:t,fileIsAbsolute:r,source:o}=this.data;return void 0!==t&&(e=t),r&&e?e:(0,i.normalizeUrl)(o.baseurl,o.path,e||"")}get time(){const{changed:e}=this.data;return e&&("number"==typeof e?new Date(e).toLocaleString():e)||""}get uniqueHashKey(){const e=this.data;let t=[e.sourceName,e.name,e.file,this.time,e.thumb].join("_");return t=t.toLowerCase().replace(/[^0-9a-z\-.]/g,"-"),t}toJSON(){return this.data}constructor(e){this.data=e,Object.keys(e).forEach(t=>{this[t]=e[t]})}}},302(e,t,r){r.d(t,{i(){return o}});var i=r(2748);const o=(e,t)=>`${i.J.isCell(t)?"padding":"margin"}${"rtl"===e?"Right":"Left"}`},384(e,t,r){r.d(t,{L(){return n}});var i=r(2748),o=r(21537);function n(e,t,r){return!(!i.J.isElement(t)||!(0,o.sanitizeHTMLElement)(t,{safeJavaScriptLink:e.options.cleanHTML.safeJavaScriptLink,removeOnError:e.options.cleanHTML.removeOnError}))||r}},445(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/> </svg> '},575(e,t,r){var i=r(82758),o=r(65478),n=r(2748),s=r(580),a=r(87612),l=r(20356),c=r(35399);class d extends l.k{afterInit(e){const t=e.o.enter.toLowerCase(),r=t===i.BR.toLowerCase();e.o.enterBlock||(e.o.enterBlock=r?i.PARAGRAPH:t),e.registerCommand("enter",(e,t,r={})=>this.onEnter(r))}onEnterKeyDown(e){if(e.key===i.KEY_ENTER){const t=this.j,r=t.e.fire("beforeEnter",e);return void 0!==r?r:(t.s.isCollapsed()||t.execCommand("Delete"),t.s.focus(),this.onEnter(e),t.e.fire("afterEnter",e),t.synchronizeValues(),!1)}}onEnter(e){const{jodit:t}=this,r=t.createInside.fake();try{n.J.safeInsertNode(t.s.range,r),(0,c.Mt)(t,r,["a"]);let i=(0,c.Dk)(r,t);const o=n.J.isLeaf(i);if((!o||(null==e?void 0:e.shiftKey))&&(0,c.lN)(r,t,null==e?void 0:e.shiftKey))return!1;if(i||(0,c.tX)(r,t)||(i=(0,c.C1)(r,t)),!i)return(0,c.yh)(r,t,o?"li":t.o.enter),!1;if(!(0,c.bD)(r,t,i))return!1;if(o&&this.__isEmptyListLeaf(i))return(0,c.cf)(r,t,i),!1;(0,c.HS)(r,t,i)}finally{r.isConnected&&t.s.setCursorBefore(r),n.J.safeRemove(r)}}__isEmptyListLeaf(e){const t=this.j.e.fire("enterIsEmptyListLeaf",e);return(0,a.L)(t)?t:n.J.isEmpty(e)}beforeDestruct(e){e.e.off("keydown.enter")}}(function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);n>3&&s&&Object.defineProperty(t,r,s)})([(0,o.watch)(":keydown.enter")],d.prototype,"onEnterKeyDown",null),s.fg.add("enter",d)},580(e,t,r){r.d(t,{JW(){return y},My(){return _},RR(){return C},VF(){return p},av(){return b},ef(){return k},fg(){return v},w9(){return g}});var i=r(21537),o=r(19306),n=r(70799),s=r(39955),a=r(12475),l=r(80568),c=r(41876),d=r(82758),u=r(22732),h=r(3827);const p={};let f=1;const m=new Set;function g(){function e(){return f+=10*(Math.random()+1),Math.round(f).toString(16)}let t=e();for(;m.has(t);)t=e();return m.add(t),t}const v=new c.$,b={},y=e=>{Object.keys(e).forEach(t=>{d.lang[t]?Object.assign(d.lang[t],e[t]):d.lang[t]=e[t]})},w=new WeakMap;function _(e,t,r="div",i=!1){const c=(0,n.K)(t)?t:t?(0,l.u)(t.prototype):"jodit-utils",d=w.get(e)||{},h=c+r,p=(0,s.h)(e)?e:e.j;let f=null;if(!d[h]){let t=p.c;if(f=k(p.o,p.container,e.od.body),i&&(0,o.y)(e)&&e.od!==e.ed){t=e.createInside;const i="style"===r?e.ed.head:e.ed.body;f=(0,o.y)(e)&&e.o.shadowRoot?e.o.shadowRoot:i}const n=t.element(r,{className:`jodit jodit-${(0,a.k)(c)}-container jodit-box`});n.classList.add("jodit_theme_"+(p.o.theme||"default")),f.appendChild(n),d[h]=n,e.hookStatus("beforeDestruct",()=>{p.events.off(n),u.J.safeRemove(n),delete d[h],Object.keys(d).length&&w.delete(e)}),w.set(e,d),p.events.fire("getContainer",n)}return d[h].classList.remove("jodit_theme_default","jodit_theme_dark"),d[h].classList.add("jodit_theme_"+(p.o.theme||"default")),d[h]}function k(e,t,r){var o,n,s;return null!==(s=null!==(n=null!==(o=e.popupRoot)&&void 0!==o?o:e.shadowRoot)&&void 0!==n?n:u.J.closest(t,e=>u.J.isHTMLElement(e)&&(u.J.isTag(e,"dialog")||["fixed","absolute"].includes((0,i.css)(e,"position"))),r))&&void 0!==s?s:r}const C=new h.bk},638(e,t,r){r.d(t,{Fc(){return i.F},XG(){return s.X},lG(){return n.l},pT(){return o.p}});var i=r(71568),o=r(26866),n=r(78584),s=r(36806)},757(e,t,r){var i=r(6441);i.T.prototype.mediaFakeTag="jodit-media",i.T.prototype.mediaInFakeBlock=!0,i.T.prototype.mediaBlocks=["video","audio"]},767(e,t,r){var i=r(82758),o=r(65478),n=r(580),s=r(50911),a=(r(66288),r(47686)),l=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};class c extends s.k{afterInit(e){}__onTab(e){if(e.key===i.KEY_TAB&&this.__onShift(e.shiftKey))return!1}__onCommand(e){if(("indent"===e||"outdent"===e)&&this.__onShift("outdent"===e))return!1}__onShift(e){const t=(0,a.O)(this.j,e);return t&&this.j.e.fire("afterTab",e),t}beforeDestruct(e){}}l([(0,o.watch)(":keydown.tab")],c.prototype,"__onTab",null),l([(0,o.watch)(":beforeCommand.tab")],c.prototype,"__onCommand",null),n.fg.add("tab",c)},820(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M747 1521q74 32 140 32 376 0 376-335 0-114-41-180-27-44-61.5-74t-67.5-46.5-80.5-25-84-10.5-94.5-2q-73 0-101 10 0 53-.5 159t-.5 158q0 8-1 67.5t-.5 96.5 4.5 83.5 12 66.5zm-14-746q42 7 109 7 82 0 143-13t110-44.5 74.5-89.5 25.5-142q0-70-29-122.5t-79-82-108-43.5-124-14q-50 0-130 13 0 50 4 151t4 152q0 27-.5 80t-.5 79q0 46 1 69zm-541 889l2-94q15-4 85-16t106-27q7-12 12.5-27t8.5-33.5 5.5-32.5 3-37.5.5-34v-65.5q0-982-22-1025-4-8-22-14.5t-44.5-11-49.5-7-48.5-4.5-30.5-3l-4-83q98-2 340-11.5t373-9.5q23 0 68.5.5t67.5.5q70 0 136.5 13t128.5 42 108 71 74 104.5 28 137.5q0 52-16.5 95.5t-39 72-64.5 57.5-73 45-84 40q154 35 256.5 134t102.5 248q0 100-35 179.5t-93.5 130.5-138 85.5-163.5 48.5-176 14q-44 0-132-3t-132-3q-106 0-307 11t-231 12z"/> </svg> '},1255(e,t,r){var i,o=r(65478),n=r(22732),s=r(580),a=r(21537),l=r(50911),c=(r(44586),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});(e=>{e[e.IDLE=0]="IDLE",e[e.WAIT_DRAGGING=1]="WAIT_DRAGGING",e[e.DRAGGING=2]="DRAGGING"})(i||(i={}));class d extends l.k{afterInit(){this.dragList=this.j.o.draggableTags?(0,a.splitArray)(this.j.o.draggableTags).filter(Boolean).map(e=>e.toLowerCase()):[],this.dragList.length&&this.j.e.on("mousedown dragstart",this.onDragStart)}onDragStart(e){if("dragstart"===e.type&&this.draggable)return!1;if(this.state>i.IDLE)return;const t=e.target;if(!this.dragList.length||!t)return;const r=e=>!(!e||!this.dragList.includes(e.nodeName.toLowerCase()));let o=n.J.furthest(t,r,this.j.editor)||(r(t)?t:null);o&&(n.J.isTag(o.parentElement,"a")&&o.parentElement.firstChild===o&&o.parentElement.lastChild===o&&(o=o.parentElement),this.startX=e.clientX,this.startY=e.clientY,this.isCopyMode=(0,a.ctrlKey)(e),this.draggable=o.cloneNode(!0),(0,a.dataBind)(this.draggable,"target",o),this.state=i.WAIT_DRAGGING,this.addDragListeners())}onDrag(e){var t,r;if(!this.draggable||this.state===i.IDLE)return;const o=e.clientY;if(this.state!==i.WAIT_DRAGGING||Math.sqrt(Math.pow(e.clientX-this.startX,2)+Math.pow(o-this.startY,2))>=this.diffStep){if(this.state===i.WAIT_DRAGGING&&(this.j.lock("drag-and-drop-element"),this.state=i.DRAGGING),this.j.e.fire("hidePopup hideResizer"),!this.draggable.parentNode){const i=(0,a.dataBind)(this.draggable,"target");(0,a.css)(this.draggable,{zIndex:1e13,pointerEvents:"none",pointer:"drag",position:"fixed",opacity:.7,display:"inline-block",left:e.clientX,top:e.clientY,width:null!==(t=null==i?void 0:i.offsetWidth)&&void 0!==t?t:100,height:null!==(r=null==i?void 0:i.offsetHeight)&&void 0!==r?r:100}),(0,s.My)(this.j,d).appendChild(this.draggable)}(0,a.css)(this.draggable,{left:e.clientX,top:e.clientY}),this.j.s.insertCursorAtPoint(e.clientX,e.clientY)}}onDragEnd(){this.isInDestruct||(this.removeDragListeners(),this.j.unlock(),this.state=i.IDLE,this.draggable&&(n.J.safeRemove(this.draggable),this.draggable=null))}onDrop(){if(!this.draggable||i.DRAGGING>this.state)return void this.onDragEnd();let e=(0,a.dataBind)(this.draggable,"target");this.onDragEnd(),this.isCopyMode&&(e=e.cloneNode(!0));const{parentElement:t}=e;this.j.s.insertNode(e,!0,!1),t&&n.J.isEmpty(t)&&!n.J.isCell(t)&&n.J.safeRemove(t),n.J.isTag(e,"img")&&this.j.e&&this.j.e.fire("afterInsertImage",e),this.j.e.fire("synchro")}addDragListeners(){this.j.e.on(this.j.editor,"mousemove",this.onDrag).on("mouseup",this.onDrop).on([this.j.ew,this.ow],"mouseup",this.onDragEnd)}removeDragListeners(){this.j.e.off(this.j.editor,"mousemove",this.onDrag).off("mouseup",this.onDrop).off([this.j.ew,this.ow],"mouseup",this.onDragEnd)}beforeDestruct(){this.onDragEnd(),this.j.e.off("mousedown dragstart",this.onDragStart),this.removeDragListeners()}constructor(){super(...arguments),this.dragList=[],this.draggable=null,this.isCopyMode=!1,this.diffStep=10,this.startX=0,this.startY=0,this.state=i.IDLE}}c([o.autobind],d.prototype,"onDragStart",null),c([(0,o.throttle)(e=>e.defaultTimeout/10)],d.prototype,"onDrag",null),c([o.autobind],d.prototype,"onDragEnd",null),c([o.autobind],d.prototype,"onDrop",null),s.fg.add("dragAndDropElement",d)},1596(e,t,r){r(25187),r(7087),r(12275),r(89377),r(3115)},1808(e,t,r){r.d(t,{N(){return a}});var i=r(87325),o=r(41180),n=r(62405),s=r(68389);let a=class e extends n.U{className(){return"UIMessages"}info(e,t){this.__message(e,"info",t)}success(e,t){this.__message(e,"success",t)}error(e,t){this.__message(e,"error",t)}message(e,t,r){this.__message(e,t,r)}__message(e,t="info",r){const i=e+":"+t;if(this.__messages.has(i))return void this.async.updateTimeout(i,r||this.options.defaultTimeout);if(!this.__box)throw Error("Container is not defined: "+i);this.__box.appendChild(this.container);const o=new s.C(this.j,{text:e,variant:t});this.append(o),this.__calcOffsets(),this.__messages.add(i);const n=this.__getRemoveCallback(o,i);this.j.e.on(o.container,"pointerdown",n),this.async.setTimeout(n,{label:i,timeout:r||this.options.defaultTimeout})}__getRemoveCallback(e,t){const r=i=>{i&&i.preventDefault(),e.isInDestruct||(this.async.clearTimeout(t),this.j.e.off(e.container,"pointerdown",r),this.__messages.delete(t),e.setMod("active",!1),this.async.setTimeout(()=>{this.remove(e),e.destruct(),this.__calcOffsets()},300))};return r}__calcOffsets(){let e=5;this.elements.forEach(t=>{(0,o.A)(t.container,"bottom",e+"px"),e+=t.container.offsetHeight+this.options.defaultOffset})}constructor(e,t,r={defaultTimeout:3e3,defaultOffset:5}){super(e),this.__box=t,this.options=r,this.__messages=new Set}};a=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([i.s],a)},1830(e,t){t.A={"Type something":"Start writing...",pencil:"Edit",Quadrate:"Square"}},2169(e,t,r){var i=r(580),o=r(19306),n=r(41180);r(99823);const s=new Set;i.fg.add("fullsize",e=>{e.registerButton({name:"fullsize"});let t=!1,r=0,i=0,a=!1;const l=()=>{const{container:o,events:s}=e;s&&(t?(r=(0,n.A)(o,"height",!0),i=(0,n.A)(o,"width",!0),(0,n.A)(o,{height:e.ow.innerHeight,width:e.ow.innerWidth}),a=!0):a&&(0,n.A)(o,{height:r||"auto",width:i||"auto"}))},c=r=>{var i;const{container:a,events:c}=e;if(a){if(void 0===r&&(r=!a.classList.contains("jodit_fullsize")),e.setMod("fullsize",r),e.o.fullsize=r,t=r,a.classList.toggle("jodit_fullsize",r),e.toolbar&&((0,o.y)(e)&&(null===(i=e.toolbarContainer)||void 0===i||i.appendChild(e.toolbar.container)),(0,n.A)(e.toolbar.container,"width","auto")),r?s.add(a):s.delete(a),e.o.globalFullSize&&(1===s.size&&r||0===s.size&&!r)){let e=a.parentNode;for(;e&&e.nodeType!==Node.DOCUMENT_NODE&&e.nodeType!==Node.DOCUMENT_FRAGMENT_NODE;)e.classList.toggle("jodit_fullsize-box_true",r),e=e.parentNode;l()}c.fire("afterResize")}};e.o.globalFullSize&&e.e.on(e.ow,"resize",l),e.e.on("afterInit afterOpen",()=>{var t;e.toggleFullSize(null===(t=null==e?void 0:e.options)||void 0===t?void 0:t.fullsize)}).on("toggleFullSize",c).on("beforeDestruct",()=>{t&&c(!1)}).on("beforeDestruct",()=>{e.events&&e.e.off(e.ow,"resize",l)})})},2303(e,t,r){r.d(t,{x(){return Jodit}});var i,o=r(82758),n=r(65478),s=r(580),a=r(21537),l=r(41601),c=r(70231),d=r(6441),u=r(41409),h=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};const p="data-jodit-default-style-display",f="data-jodit-default-classes";let Jodit=i=class Jodit extends u.ViewWithToolbar{className(){return"Jodit"}waitForReady(){return this.isReady?Promise.resolve(this):this.async.promise(e=>{this.hookStatus("ready",()=>e(this))})}static get ready(){return new Promise(e=>{s.RR.on("joditready",e)})}get text(){if(this.editor)return this.editor.innerText||"";const e=this.createInside.div();return e.innerHTML=this.getElementValue(),e.innerText||""}get defaultTimeout(){return(0,a.isNumber)(this.o.defaultTimeout)?this.o.defaultTimeout:d.T.defaultOptions.defaultTimeout}static atom(e){return(0,a.markAsAtomic)(e)}static make(e,t){return new this(e,t)}static isJoditAssigned(e){return e&&(0,a.isJoditObject)(e.component)&&!e.component.isInDestruct}static get defaultOptions(){return d.T.defaultOptions}get createInside(){return new u.Create(()=>this.ed,this.o.createAttributes)}__setPlaceField(e,t){this.currentPlace||(this.currentPlace={},this.places=[this.currentPlace]),this.currentPlace[e]=t}get element(){return this.currentPlace.element}get editor(){return this.currentPlace.editor}set editor(e){this.__setPlaceField("editor",e)}get container(){return this.currentPlace.container}set container(e){this.__setPlaceField("container",e)}get workplace(){return this.currentPlace.workplace}get message(){return this.getMessageModule(this.workplace)}get statusbar(){return this.currentPlace.statusbar}get iframe(){return this.currentPlace.iframe}set iframe(e){this.__setPlaceField("iframe",e)}get history(){return this.currentPlace.history}get editorWindow(){return this.currentPlace.editorWindow}set editorWindow(e){this.__setPlaceField("editorWindow",e)}get ew(){return this.editorWindow}get editorDocument(){return this.currentPlace.editorWindow.document}get ed(){return this.editorDocument}get options(){return this.currentPlace.options}set options(e){this.__setPlaceField("options",e)}get s(){return this.selection}get uploader(){return this.getInstance("Uploader",this.o.uploader)}get filebrowser(){const e=this,t=(0,a.ConfigProto)({defaultTimeout:e.defaultTimeout,uploader:e.o.uploader,language:e.o.language,license:e.o.license,theme:e.o.theme,shadowRoot:e.o.shadowRoot,defaultCallback(t){t.files&&t.files.length&&t.files.forEach((r,i)=>{const o=t.baseurl+r;t.isImages&&t.isImages[i]?e.s.insertImage(o,null,e.o.imageDefaultWidth):e.s.insertNode(e.createInside.fromHTML(`<a href='${o}' title='${o}'>${o}</a>`))})}},this.o.filebrowser);return e.getInstance("FileBrowser",t)}get mode(){return this.__mode}set mode(e){this.setMode(e)}getNativeEditorValue(){const e=this.e.fire("beforeGetNativeEditorValue");return(0,a.isString)(e)?e:this.editor?this.editor.innerHTML:this.getElementValue()}setNativeEditorValue(e){const t={value:e};this.e.fire("beforeSetNativeEditorValue",t)||this.editor&&(this.editor.innerHTML=t.value)}get value(){return this.getEditorValue()}set value(e){this.setEditorValue(e),this.history.__processChanges()}synchronizeValues(){this.__imdSynchronizeValues()}__imdSynchronizeValues(){this.setEditorValue()}getEditorValue(e=!0,t){let r;if(r=this.e.fire("beforeGetValueFromEditor",t),void 0!==r)return r;r=this.getNativeEditorValue().replace(o.INVISIBLE_SPACE_REG_EXP(),""),e&&(r=r.replace(/<span[^>]+id="jodit-selection_marker_[^>]+><\/span>/g,"")),"<br>"===r&&(r="");const i={value:r};return this.e.fire("afterGetValueFromEditor",i,t),i.value}setEditorValue(e){const t=this.e.fire("beforeSetValueToEditor",e);if(!1===t)return;if((0,a.isString)(t)&&(e=t),!this.editor)return void(void 0!==e&&this.__setElementValue(e));if(!(0,a.isString)(e)&&!(0,a.isVoid)(e))throw(0,a.error)("value must be string");(0,a.isVoid)(e)||this.getNativeEditorValue()===e||this.setNativeEditorValue(e),this.e.fire("postProcessSetEditorValue");const r=this.getElementValue(),i=this.getEditorValue();if(!this.__isSilentChange&&r!==i&&o.SAFE_COUNT_CHANGE_CALL>this.__callChangeCount){this.__setElementValue(i),this.__callChangeCount+=1;try{this.history.__upTick(),this.e.fire("change",i,r),this.e.fire(this.history,"change",i,r)}finally{this.__callChangeCount=0}}}updateElementValue(){this.__setElementValue(this.getEditorValue())}getElementValue(){return void 0!==this.element.value?this.element.value:this.element.innerHTML}__setElementValue(e){if(!(0,a.isString)(e))throw(0,a.error)("value must be string");if(this.element!==this.container&&e!==this.getElementValue()){const t={value:e},r=this.e.fire("beforeSetElementValue",t);(0,a.callPromise)(r,()=>{void 0!==this.element.value?this.element.value=t.value:this.element.innerHTML=t.value,this.e.fire("afterSetElementValue",t)})}}registerCommand(e,t,r){const i=e.toLowerCase();let o=this.commands.get(i);if(void 0===o&&(o=[],this.commands.set(i,o)),o.push(t),!(0,a.isFunction)(t)){const o=this.o.commandToHotkeys[i]||this.o.commandToHotkeys[e]||t.hotkeys;o&&this.registerHotkeyToCommand(o,i,null==r?void 0:r.stopPropagation)}return this}registerHotkeyToCommand(e,t,r=!0){const i=(0,a.asArray)(e).map(a.normalizeKeyAliases).map(e=>e+".hotkey").join(" ");this.e.off(i).on(i,(e,i)=>(i&&(i.shouldStop=null==r||r),this.execCommand(t)))}execCommand(e,t,r,...i){if(this.s.isFocused()||this.s.focus(),this.o.readonly&&!this.o.allowCommandsInReadOnly.includes(e))return;let n;if(e=e.toLowerCase(),n=this.e.fire("beforeCommand"+(0,a.ucfirst)(e),t,r,...i),!1!==n&&(n=this.e.fire("beforeCommand",e,t,r,...i)),!1!==n&&(n=this.__execCustomCommands(e,t,r,...i)),!1!==n){this.s.focus();try{n=this.nativeExecCommand(e,t,r)}catch(e){if(!o.IS_PROD)throw e}}return this.e.fire("afterCommand",e,t,r),this.__imdSynchronizeValues(),n}nativeExecCommand(e,t,r){this.__isSilentChange=!0;try{return this.ed.execCommand(e,t,r)}finally{this.__isSilentChange=!1}}__execCustomCommands(e,t,r,...i){e=e.toLowerCase();const o=this.commands.get(e);if(void 0!==o){let n;return o.forEach(o=>{let s;s=(0,a.isFunction)(o)?o:o.exec;const l=s.call(this,e,t,r,...i);void 0!==l&&(n=l)}),n}}lock(e="any"){return!!super.lock(e)&&(this.__selectionLocked=this.s.save(),this.s.clear(),this.editor.classList.add("jodit_lock"),this.e.fire("lock",!0),!0)}unlock(){return!!super.unlock()&&(this.editor.classList.remove("jodit_lock"),this.__selectionLocked&&this.s.restore(),this.e.fire("lock",!1),!0)}getMode(){return this.mode}isEditorMode(){return this.getRealMode()===o.MODE_WYSIWYG}getRealMode(){if(this.getMode()!==o.MODE_SPLIT)return this.getMode();const e=this.od.activeElement;return e&&(e===this.iframe||u.Dom.isOrContains(this.editor,e)||u.Dom.isOrContains(this.toolbar.container,e))?o.MODE_WYSIWYG:o.MODE_SOURCE}setMode(e){const t=this.getMode(),r={mode:parseInt(""+e,10)},i=["jodit-wysiwyg_mode","jodit-source__mode","jodit_split_mode"];!1!==this.e.fire("beforeSetMode",r)&&(this.__mode=[o.MODE_SOURCE,o.MODE_WYSIWYG,o.MODE_SPLIT].includes(r.mode)?r.mode:o.MODE_WYSIWYG,this.o.saveModeInStorage&&this.storage.set("jodit_default_mode",this.mode),i.forEach(e=>{this.container.classList.remove(e)}),this.container.classList.add(i[this.mode-1]),t!==this.getMode()&&this.e.fire("afterSetMode"))}toggleMode(){let e=this.getMode();[o.MODE_SOURCE,o.MODE_WYSIWYG,this.o.useSplitMode?o.MODE_SPLIT:9].includes(e+1)?e+=1:e=o.MODE_WYSIWYG,this.setMode(e)}setDisabled(e){this.o.disabled=e;const t=this.__wasReadOnly;this.setReadOnly(e||t),this.__wasReadOnly=t,this.editor&&(this.editor.setAttribute("aria-disabled",""+e),this.container.classList.toggle("jodit_disabled",e),this.e.fire("disabled",e))}getDisabled(){return this.o.disabled}setReadOnly(e){this.__wasReadOnly!==e&&(this.__wasReadOnly=e,this.o.readonly=e,e?this.editor&&this.editor.removeAttribute("contenteditable"):this.editor&&this.editor.setAttribute("contenteditable","true"),this.e&&this.e.fire("readonly",e))}getReadOnly(){return this.o.readonly}focus(){this.getMode()!==o.MODE_SOURCE&&this.s.focus()}get isFocused(){return this.s.isFocused()}beforeInitHook(){}afterInitHook(){}initOptions(e){this.options=(0,a.ConfigProto)(e||{},d.T.defaultOptions)}initOwners(){this.editorWindow=this.o.ownerWindow,this.ownerWindow=this.o.ownerWindow}addPlace(e,t){const r=(0,a.resolveElement)(e,this.o.shadowRoot||this.od);this.attachEvents(t),r.attributes&&(0,a.toArray)(r.attributes).forEach(e=>{const r=e.name;let i=e.value;void 0===d.T.defaultOptions[r]||t&&void 0!==t[r]||(-1!==["readonly","disabled"].indexOf(r)&&(i=""===i||"true"===i),/^[0-9]+(\.)?([0-9]+)?$/.test(""+i)&&(i=Number(i)),this.options[r]=i)});let i=this.c.div("jodit-container");i.classList.add("jodit"),i.classList.add("jodit-container"),i.classList.add("jodit_theme_"+(this.o.theme||"default")),m(this.o.className,i),this.o.containerStyle&&(0,a.css)(i,this.o.containerStyle);const{styleValues:o}=this.o;Object.keys(o).forEach(e=>{const t=(0,a.kebabCase)(e);i.style.setProperty("--jd-"+t,o[e])}),i.setAttribute("contenteditable","false");let n=null;this.o.inline&&(-1===["TEXTAREA","INPUT"].indexOf(r.nodeName)&&(i=r,r.setAttribute(f,""+r.className),n=i.innerHTML,i.innerHTML=""),i.classList.add("jodit_inline"),i.classList.add("jodit-container")),r!==i&&(r.style.display&&r.setAttribute(p,r.style.display),r.style.display="none");const s=this.c.div("jodit-workplace",{contenteditable:!1});i.appendChild(s),r.parentNode&&r!==i&&r.parentNode.insertBefore(i,r),Object.defineProperty(r,"component",{enumerable:!1,configurable:!0,value:this});const l=this.c.div("jodit-wysiwyg",{contenteditable:!0,"aria-disabled":!1,tabindex:this.o.tabIndex});s.appendChild(l);const c={editor:l,element:r,container:i,workplace:s,statusbar:new u.StatusBar(this,i),options:this.isReady?(0,a.ConfigProto)(t||{},d.T.defaultOptions):this.options,history:new u.History(this),editorWindow:this.ow};this.__elementToPlace.set(l,c),this.setCurrentPlace(c),this.places.push(c),this.setNativeEditorValue(this.getElementValue());const h=this.__initEditor(n),g=this.options;return(0,a.callPromise)(h,()=>{g.enableDragAndDropFileToEditor&&g.uploader&&(g.uploader.url||g.uploader.insertImageAsBase64URI)&&this.uploader.bind(this.editor),this.__elementToPlace.get(this.editor)||this.__elementToPlace.set(this.editor,c),this.e.fire("afterAddPlace",c)})}addDisclaimer(e){this.workplace.appendChild(e)}setCurrentPlace(e){this.currentPlace!==e&&(this.isEditorMode()||this.setMode(o.MODE_WYSIWYG),this.currentPlace=e,this.buildToolbar(),this.isReady&&this.e.fire("changePlace",e))}__initEditor(e){const t=this.__createEditor();return(0,a.callPromise)(t,()=>{if(this.isInDestruct)return;if(this.element!==this.container){const e=this.getElementValue();e!==this.getEditorValue()&&this.setEditorValue(e)}else null!=e&&this.setEditorValue(e);let t=this.o.defaultMode;if(this.o.saveModeInStorage){const e=this.storage.get("jodit_default_mode");"string"==typeof e&&(t=parseInt(e,10))}this.setMode(t),this.o.readonly&&(this.__wasReadOnly=!1,this.setReadOnly(!0)),this.o.disabled&&this.setDisabled(!0);try{this.ed.execCommand("defaultParagraphSeparator",!1,this.o.enter.toLowerCase())}catch(e){}})}__createEditor(){const e=this.editor,t=this.e.fire("createEditor",this);return(0,a.callPromise)(t,()=>{this.isInDestruct||((!1===t||(0,a.isPromise)(t))&&u.Dom.safeRemove(e),m(this.o.editorClassName,this.editor),this.o.style&&(0,a.css)(this.editor,this.o.style),this.e.on("synchro",()=>{this.setEditorValue()}).on("focus",()=>{this.editorIsActive=!0}).on("blur",()=>this.editorIsActive=!1),this.__prepareWYSIWYGEditor(),this.o.triggerChangeEvent&&this.e.on("change",this.async.debounce(()=>{this.e&&this.e.fire(this.element,"change")},this.defaultTimeout)))})}__prepareWYSIWYGEditor(){const{editor:e}=this;if(this.o.direction){const e="rtl"===this.o.direction.toLowerCase()?"rtl":"ltr";this.editor.style.direction=e,this.editor.setAttribute("dir",e),this.container.style.direction=e,this.container.setAttribute("dir",e),this.toolbar.setDirection(e)}this.e.on(e,"mousedown touchstart focus",()=>{const t=this.__elementToPlace.get(e);t&&this.setCurrentPlace(t)}).on(e,"compositionend",this.synchronizeValues).on(e,"selectionchange selectionstart keydown keyup input keypress dblclick mousedown mouseup click copy cut dragstart drop dragover paste resize touchstart touchend focus blur",e=>{if(!this.o.readonly&&!this.__isSilentChange&&!(e instanceof this.ew.KeyboardEvent&&e.isComposing)&&this.e&&this.e.fire){if(!1===this.e.fire(e.type,e))return!1;this.synchronizeValues()}})}fetch(e,t){const r=new l.d({url:e,...t},this.o.defaultAjaxOptions),i=()=>{this.e.off("beforeDestruct",i),this.progressbar.progress(100).hide(),r.destruct()};this.e.one("beforeDestruct",i),this.progressbar.show().progress(30);const o=r.send();return o.finally(i).catch(()=>null),o}destruct(){var e,t;if(this.isInDestruct)return;this.setStatus(u.STATUSES.beforeDestruct),this.__elementToPlace.clear(),null===(e=(0,n.cached)(this,"storage"))||void 0===e||e.clear(),null===(t=(0,n.cached)(this,"buffer"))||void 0===t||t.clear(),this.commands.clear(),this.__selectionLocked=null,this.e.off(this.ow,"resize"),this.e.off(this.ow),this.e.off(this.od),this.e.off(this.od.body);const r=this.editor?this.getEditorValue():"";this.places.forEach(({container:e,workplace:t,statusbar:i,element:o,iframe:n,editor:s,history:l})=>{if(o){if(o!==e)if(o.hasAttribute(p)){const e=(0,a.attr)(o,p);e&&(o.style.display=e,o.removeAttribute(p))}else o.style.display="";else o.hasAttribute(f)&&(o.className=(0,a.attr)(o,f)||"",o.removeAttribute(f));o.hasAttribute("style")&&!(0,a.attr)(o,"style")&&o.removeAttribute("style"),i.destruct(),this.e.off(e),this.e.off(o),this.e.off(s),u.Dom.safeRemove(t),u.Dom.safeRemove(s),e!==o&&u.Dom.safeRemove(e),Object.defineProperty(o,"component",{enumerable:!1,configurable:!0,value:null}),u.Dom.safeRemove(n),e===o&&(o.innerHTML=r),l.destruct()}}),this.places.length=0,this.currentPlace={},delete s.VF[this.id],super.destruct()}constructor(e,t){super(t,!0),this.isJodit=!0,this.commands=new Map,this.__selectionLocked=null,this.__wasReadOnly=!1,this.editorIsActive=!1,this.__mode=o.MODE_WYSIWYG,this.__callChangeCount=0,this.__isSilentChange=!1,this.__elementToPlace=new Map;try{const t=(0,a.resolveElement)(e,this.o.shadowRoot||this.od);if(i.isJoditAssigned(t))return t.component}catch(e){if(!o.IS_PROD)throw e;throw this.destruct(),e}this.setStatus(u.STATUSES.beforeInit),this.id=(0,a.attr)((0,a.resolveElement)(e,this.o.shadowRoot||this.od),"id")||""+(new Date).getTime(),s.VF[this.id]=this,this.attachEvents(t),this.e.on(this.ow,"resize",()=>{this.e&&this.e.fire("resize")}),this.e.on("prepareWYSIWYGEditor",this.__prepareWYSIWYGEditor),this.selection=new u.Selection(this);const r=this.beforeInitHook();(0,a.callPromise)(r,()=>{if(this.isInDestruct)return;this.e.fire("beforeInit",this),s.fg.__init(this),this.e.fire("afterPluginSystemInit",this),this.e.on("changePlace",()=>{this.setReadOnly(this.o.readonly),this.setDisabled(this.o.disabled)}),this.places.length=0;const r=this.addPlace(e,t);s.VF[this.id]=this,(0,a.callPromise)(r,()=>{this.isInDestruct||(this.e&&this.e.fire("afterInit",this),(0,a.callPromise)(this.afterInitHook()),this.setStatus(u.STATUSES.ready),this.e.fire("afterConstructor",this))})})}};function m(e,t){e&&e.split(/\s+/).forEach(e=>t.classList.add(e))}Jodit.fatMode=o.FAT_MODE,Jodit.plugins=s.fg,Jodit.modules=s.av,Jodit.ns=s.av,Jodit.decorators={},Jodit.constants=o,Jodit.instances=s.VF,Jodit.lang=o.lang,Jodit.core={Plugin:u.Plugin},h([n.cache],Jodit.prototype,"createInside",null),h([n.cache],Jodit.prototype,"message",null),h([n.cache],Jodit.prototype,"s",null),h([n.cache],Jodit.prototype,"uploader",null),h([n.cache],Jodit.prototype,"filebrowser",null),h([(0,n.throttle)()],Jodit.prototype,"synchronizeValues",null),h([(0,n.watch)(":internalChange")],Jodit.prototype,"updateElementValue",null),h([n.autobind],Jodit.prototype,"__prepareWYSIWYGEditor",null),Jodit=i=h([(0,n.derive)(c.z)],Jodit)},2525(e,t,r){r.d(t,{$6(){return n.$6},F0(){return n.F0},XV(){return o.X},Yh(){return i.Y},cY(){return n.cY},nE(){return n.nE},tS(){return n.tS}});var i=r(19070),o=r(86327),n=r(8959)},2748(e,t,r){r.d(t,{J(){return l}});var i=r(82758),o=r(4510),n=r(27613),s=r(49055),a=r(43555);class l{static detach(e){for(;e&&e.firstChild;)e.removeChild(e.firstChild)}static wrapNextInline(e,t,r){let i;const o=e;let n=e;r.s.save();let s=!1;do{s=!1,i=n.nextSibling,!i||l.isBlock(i)||l.isTag(i,"br")||(s=!0,n=i)}while(s);return l.__wrapElements(t,r,o,n)}static __wrapElements(e,t,r,i){const o=(0,n.Kg)(e)?t.createInside.element(e):e;r.parentNode&&r.parentNode.insertBefore(o,r);let s=r;for(;s&&(s=r.nextSibling,o.appendChild(r),r!==i&&s);)r=s;return t.s.restore(),o}static wrapInline(e,t,r){let i,o=e,n=e;r.s.save();let s=!1;do{s=!1,i=o.previousSibling,i&&!l.isBlock(i)&&(s=!0,o=i)}while(s);do{s=!1,i=n.nextSibling,i&&!l.isBlock(i)&&(s=!0,n=i)}while(s);return l.__wrapElements(t,r,o,n)}static wrap(e,t,r){const i=(0,n.Kg)(t)?r.element(t):t;if(l.isNode(e)){if(!e.parentNode)throw(0,a.z3)("Element should be in DOM");e.parentNode.insertBefore(i,e),i.appendChild(e)}else{const t=e.extractContents();e.insertNode(i),i.appendChild(t)}return i}static unwrap(e){const t=e.parentNode;if(t){for(;e.firstChild;)t.insertBefore(e.firstChild,e);l.safeRemove(e)}}static between(e,t,r){let i=e;for(;i&&i!==t&&(e===i||!r(i));){let e=i.firstChild||i.nextSibling;if(!e){for(;i&&!i.nextSibling;)i=i.parentNode;e=null==i?void 0:i.nextSibling}i=e}}static replace(e,t,r,i=!1,s=!1){let c;if((0,n.AH)(t)&&((0,a.vA)(r,"Need create instance for new tag"),t=r.fromHTML(t)),(0,n.Kg)(t)?((0,a.vA)(r,"Need create instance for new tag"),c=r.element(t)):c=t,!s)for(;e.firstChild;)c.appendChild(e.firstChild);return i&&l.isElement(e)&&l.isElement(c)&&(0,o.$)(e.attributes).forEach(e=>{c.setAttribute(e.name,e.value)}),e.parentNode&&e.parentNode.replaceChild(c,e),c}static isEmptyTextNode(e){return l.isText(e)&&(!e.nodeValue||0===e.nodeValue.replace(i.INVISIBLE_SPACE_REG_EXP(),"").trim().length)}static isEmptyContent(e){return l.each(e,e=>l.isEmptyTextNode(e))}static isContentEditable(e,t){return l.isNode(e)&&!l.closest(e,e=>l.isElement(e)&&"false"===e.getAttribute("contenteditable"),t)}static isEmpty(e,t=i.NO_EMPTY_TAGS){if(!e)return!0;let r;r=(0,n.Tn)(t)?t:e=>t.has(e.nodeName.toLowerCase());const o=e=>null==e.nodeValue||0===(0,s.Bq)(e.nodeValue).length;return l.isText(e)?o(e):!(l.isElement(e)&&r(e))&&l.each(e,e=>{if(l.isText(e)&&!o(e)||l.isElement(e)&&r(e))return!1})}static isNode(e){return!!(e&&(0,n.Kg)(e.nodeName)&&"number"==typeof e.nodeType&&e.childNodes&&(0,n.Tn)(e.appendChild))}static isCell(e){return l.isNode(e)&&("TD"===e.nodeName||"TH"===e.nodeName)}static isList(e){return l.isTag(e,i.LIST_TAGS)}static isLeaf(e){return l.isTag(e,"li")}static isImage(e){return l.isNode(e)&&/^(img|svg|picture|canvas)$/i.test(e.nodeName)}static isBlock(e){return!(0,n.Rd)(e)&&"object"==typeof e&&l.isNode(e)&&i.IS_BLOCK.test(e.nodeName)}static isText(e){return!(!e||e.nodeType!==Node.TEXT_NODE)}static isComment(e){return!(!e||e.nodeType!==Node.COMMENT_NODE)}static isElement(e){var t;return!!l.isNode(e)&&!(!(null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView)||e.nodeType!==Node.ELEMENT_NODE)}static isFragment(e){var t;return!!l.isNode(e)&&!(!(null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView)||e.nodeType!==Node.DOCUMENT_FRAGMENT_NODE)}static isHTMLElement(e){var t;if(!l.isNode(e))return!1;const r=null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(r&&e instanceof r.HTMLElement)}static isInlineBlock(e){return l.isElement(e)&&!/^(BR|HR)$/i.test(e.tagName)&&-1!==["inline","inline-block"].indexOf(""+(0,a.AH)(e,"display"))}static canSplitBlock(e){return!(0,n.Rd)(e)&&l.isHTMLElement(e)&&l.isBlock(e)&&!/^(TD|TH|CAPTION|FORM)$/.test(e.nodeName)&&void 0!==e.style&&!/^(fixed|absolute)/i.test(e.style.position)}static last(e,t){let r=null==e?void 0:e.lastChild;if(!r)return null;do{if(t(r))return r;let i=r.lastChild;if(i||(i=r.previousSibling),!i&&r.parentNode!==e){do{r=r.parentNode}while(r&&!(null==r?void 0:r.previousSibling)&&r.parentNode!==e);i=null==r?void 0:r.previousSibling}r=i}while(r);return null}static prev(e,t,r,i=!0){return l.find(e,t,r,!1,i)}static next(e,t,r,i=!0){return l.find(e,t,r,!0,i)}static prevWithClass(e,t){return l.prev(e,e=>l.isElement(e)&&e.classList.contains(t),e.parentNode)}static nextWithClass(e,t){return l.next(e,e=>l.isElement(e)&&e.classList.contains(t),e.parentNode)}static find(e,t,r,i=!0,o=!0){const n=this.nextGen(e,r,i,o);let s=n.next();for(;!s.done;){if(t(s.value))return s.value;s=n.next()}return null}static*nextGen(e,t,r=!0,i=!0){const o=[];let n=e;do{let t=r?n.nextSibling:n.previousSibling;for(;t;)o.unshift(t),t=r?t.nextSibling:t.previousSibling;yield*this.runInStack(e,o,r,i),n=n.parentNode}while(n&&n!==t);return null}static each(e,t,r=!0){const i=this.eachGen(e,r);let o=i.next();for(;!o.done;){if(!1===t(o.value))return!1;o=i.next()}return!0}static eachGen(e,t=!0){return this.runInStack(e,[e],t)}static*runInStack(e,t,r,i=!0){for(;t.length;){const o=t.pop();if(i){let e=r?o.lastChild:o.firstChild;for(;e;)t.push(e),e=r?e.previousSibling:e.nextSibling}e!==o&&(yield o)}}static findWithCurrent(e,t,r,i="nextSibling",o="firstChild"){let n=e;do{if(t(n))return n||null;if(o&&n&&n[o]){const e=l.findWithCurrent(n[o],t,n,i,o);if(e)return e}for(;n&&!n[i]&&n!==r;)n=n.parentNode;n&&n[i]&&n!==r&&(n=n[i])}while(n&&n!==r);return null}static findSibling(e,t=!0,r=e=>!l.isEmptyTextNode(e)){let i=l.sibling(e,t);for(;i&&!r(i);)i=l.sibling(i,t);return i&&r(i)?i:null}static findNotEmptySibling(e,t){return l.findSibling(e,t,e=>{var t;return!l.isEmptyTextNode(e)&&!!(!l.isText(e)||(null===(t=e.nodeValue)||void 0===t?void 0:t.length)&&(0,s.Bq)(e.nodeValue))})}static findNotEmptyNeighbor(e,t,r){return(0,a.T1)(t?l.prev:l.next,e,e=>!(!e||(l.isText(e)||l.isComment(e))&&!(0,s.Bq)((null==e?void 0:e.nodeValue)||"").length),r)}static sibling(e,t){return t?e.previousSibling:e.nextSibling}static up(e,t,r,i=!1){let o=e;if(!o)return null;do{if(t(o))return o;if(o===r||!o.parentNode)break;o=o.parentNode}while(o&&o!==r);return o===r&&i&&t(o)?o:null}static closest(e,t,r){let i;const o=e=>e.toLowerCase();if((0,n.Tn)(t))i=t;else if((0,n.cy)(t)||(0,n.vM)(t)){const e=(0,n.vM)(t)?t:new Set(t.map(o));i=t=>!(!t||!e.has(o(t.nodeName)))}else i=e=>!(!e||o(t)!==o(e.nodeName));return l.up(e,i,r)}static furthest(e,t,r){let i=null,o=null==e?void 0:e.parentElement;for(;o&&o!==r;)t(o)&&(i=o),o=null==o?void 0:o.parentElement;return i}static appendChildFirst(e,t){const r=e.firstChild;r?r!==t&&e.insertBefore(t,r):e.appendChild(t)}static after(e,t){const{parentNode:r}=e;r&&(r.lastChild===e?r.appendChild(t):r.insertBefore(t,e.nextSibling))}static before(e,t){const{parentNode:r}=e;r&&r.insertBefore(t,e)}static prepend(e,t){e.insertBefore(t,e.firstChild)}static append(e,t){(0,n.cy)(t)?t.forEach(t=>{this.append(e,t)}):e.appendChild(t)}static moveContent(e,t,r=!1,n=()=>!0){const s=(e.ownerDocument||i.globalDocument).createDocumentFragment();(0,o.$)(e.childNodes).filter(e=>!!n(e)||(l.safeRemove(e),!1)).forEach(e=>{s.appendChild(e)}),r&&t.firstChild?t.insertBefore(s,t.firstChild):t.appendChild(s)}static isOrContains(e,t,r=!1){return e===t?!r:!!(t&&e&&this.up(t,t=>t===e,e,!0))}static safeRemove(...e){e.forEach(e=>l.isNode(e)&&e.parentNode&&e.parentNode.removeChild(e))}static safeInsertNode(e,t){e.collapsed||e.deleteContents();const r=l.isFragment(t)?t.lastChild:t;e.startContainer===e.endContainer&&e.collapsed&&l.isTag(e.startContainer,i.INSEPARABLE_TAGS)?l.after(e.startContainer,t):(e.insertNode(t),r&&e.setStartBefore(r)),e.collapse(!0),[t.nextSibling,t.previousSibling].forEach(e=>l.isText(e)&&!e.nodeValue&&l.safeRemove(e))}static hide(e){e&&((0,a.mv)(e,"__old_display",e.style.display),e.style.display="none")}static show(e){if(!e)return;const t=(0,a.mv)(e,"__old_display");"none"===e.style.display&&(e.style.display=t||"")}static isTag(e,t){if(!this.isElement(e))return!1;const r=e.tagName.toLowerCase(),i=e.tagName.toUpperCase();if(t instanceof Set)return t.has(r)||t.has(i);if(Array.isArray(t))throw new TypeError("Dom.isTag does not support array");return r===t||i===t}static markTemporary(e,t){return t&&(0,a.CF)(e,t),(0,a.CF)(e,i.TEMP_ATTR,!0),e}static isTemporary(e){return!!l.isElement(e)&&((0,n.rg)(e)||"true"===(0,a.CF)(e,i.TEMP_ATTR))}static replaceTemporaryFromString(e){return e.replace(/<([a-z]+)[^>]+data-jodit-temp[^>]+>(.+?)<\/\1>/gi,"$2")}static temporaryList(e){return(0,a.$$)(`[${i.TEMP_ATTR}]`,e)}constructor(){throw Error("Dom is static module")}}},2969(e,t,r){r.d(t,{R(){return l}});var i=r(90129),o=r(39804),n=r(82758),s=r(22732);r(38837);const a=new Set(n.INSEPARABLE_TAGS);class l{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 a.has(this.name)}get length(){return this.children.length}constructor(e,t){this.parent=t,this.name=e.nodeName.toLowerCase(),this.type=e.nodeType,this.attributes=(e=>{const t={};if(s.J.isElement(e))for(let r=0,i=e.attributes;i.length>r;r+=1)t[i[r].name]=i[r].value;else t.nodeValue=e.nodeValue;return t})(e),this.style=new o.O(this.attributes.style),this.children=[],e.childNodes.forEach(e=>this.children.push(l.make(e,this)))}static make(e,t=null){return new l(e,t)}wrap(e){const t=l.make(document.createElement(e),this.parent),r=this.parent.children.indexOf(this)??-1;return-1===r?this.parent.append(t):this.parent.children[r]=t,t.append(this),t}append(e){return e.remove(),this.children.push(e),e.parent=this,this}get previousElement(){if(!this.parent)return null;const{children:e}=this.parent,t=e.indexOf(this);if(-1!==t)for(let r=t-1;r>=0;r-=1)if(e[r].isElement)return e[r];return null}get lastElement(){const{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;const{children:t}=this.parent,r=t.indexOf(this);return-1!==r&&t[r+(e?1:-1)]?t[r+(e?1:-1)]:null}forEach(e,t=!1){const r=[...this.children];for(const i of r){if(!1===e(i))return!1;if(t&&!1===i.forEach(e,!0))return!1}}find(e,t=!0){const r=[];return this.forEach(t=>{e(t)&&r.push(t)},t),r}map(e){return this.children.map(e)}remove(){const e=this.parent?.children.indexOf(this);return null!=e&&-1!==e&&this.parent?.children.splice(e,1),this}textBetween(e,t){let r=!1;const o=[];return this.forEach(n=>{if(!r&&e(n)&&(r=!0),r&&n.isText&&o.push((0,i.q)(n)),r&&t(n))return!1},!0),o.join("")}}},3115(e,t,r){var i=r(37133),o=r(2748),n=r(580),s=r(37790),a=r(50911),l=(r(46614),r(2303)),c=r(54076),d=r(90492),u=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};class h extends a.k{afterInit(e){const{commands:t}=e.o.speechRecognize;t&&((0,n.JW)(d),(0,s.HP)(t,!1).forEach(r=>{r.split("|").forEach(i=>{i=i.trim().toLowerCase(),this._commandToWord[i]=t[r];const o=e.i18n(i);o!==i&&o.split("|").forEach(e=>{this._commandToWord[e.trim().toLowerCase()]=t[r].trim()})})}))}beforeDestruct(e){o.J.safeRemove(this.messagePopup)}onSpeechRecognizeProgressResult(e){this.messagePopup||(this.messagePopup=this.j.create.div("jodit-speech-recognize__popup")),this.j.workplace.appendChild(this.messagePopup),this.j.async.clearTimeout(this.__hidePopupTimeout),this.__hidePopupTimeout=this.j.async.setTimeout(()=>{o.J.safeRemove(this.messagePopup)},1e3),this.messagePopup.innerText=e+"|"}onSpeechRecognizeResult(e){this.j.async.clearTimeout(this.__hidePopupTimeout),o.J.safeRemove(this.messagePopup);const{j:t}=this,{s:r}=t;if(!this._checkCommand(e)){const{range:i}=r,n=r.current();if(r.isCollapsed()&&o.J.isText(n)&&o.J.isOrContains(t.editor,n)&&n.nodeValue){const o=n.nodeValue;n.nodeValue=o+(/[\u00A0 ]\uFEFF*$/.test(o)?"":" ")+e,i.setStartAfter(n),r.selectRange(i),t.synchronizeValues()}else r.insertHTML(e)}}_checkCommand(e){return e=e.toLowerCase().replace(/\./g,""),!!this._commandToWord[e]&&((0,c.F)(this.j,this._commandToWord[e]),!0)}constructor(){super(...arguments),this.buttons=[{group:"state",name:"speechRecognize"}],this._commandToWord={}}}u([(0,i.w)(":speechRecognizeProgressResult")],h.prototype,"onSpeechRecognizeProgressResult",null),u([(0,i.w)(":speechRecognizeResult")],h.prototype,"onSpeechRecognizeResult",null),l.x.plugins.add("speech-recognize",h)},3215(e,t,r){var i=r(65478),o=r(2748),n=r(580),s=r(21537),a=r(20356),l=r(62843),c=(r(97536),r(59436)),d=r(53636),u=r(10263),h=r(94575),p=r(34755),f=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};class m extends a.k{get form(){return new c.l(this.j,this.state,this.activeTabState,{openImageEditor:()=>(0,d.v)(this.j,this.state),openImagePopup:e=>(0,u.q)(this.j,this.dialog,this.state,e)})}get dialog(){const{j:e}=this,t=e.dlg({minWidth:Math.min(400,screen.width),minHeight:590,buttons:["fullsize","dialog.close"]}),r=this.__buttons;return r.check.onAction(()=>{(0,p.j)(e,this.state,this.state.sourceImage),e.synchronizeValues(),t.close()}),r.remove.onAction(()=>{e.s.removeNode(this.state.sourceImage),t.close()}),r.cancel.onAction(()=>{t.close()}),t.setHeader(e.i18n("Image properties")),t.setContent(this.form),t.setFooter([[r.cancel,r.remove],r.check]),e.e.on(t,"afterClose",()=>{this.state.image.parentNode&&e.o.image.selectImageAfterClose&&e.s.select(this.state.sourceImage)}),t.setSize(e.o.image.dialogWidth),(0,s.markOwner)(e,t.container),t}get __buttons(){const{j:e}=this;return{check:(0,l.$n)(e,"ok","Apply","primary"),remove:(0,l.$n)(e,"bin","Delete"),cancel:(0,l.$n)(e,"cancel","Cancel")}}open(){return this.activeTabState.activeTab="Image",this.__lock(),this.dialog.open().setModal(!0).setPosition(),this.async.promise((e,t)=>(0,h.U)(this.j,this.state).then(e,t)).catch(e=>{(0,s.isAbortError)(e)||this.dialog.message.error(e.message)}).finally(()=>this.__unlock()),!1}__lock(){this.dialog.lock(),this.form.setMod("lock",!0),Object.values(this.__buttons).forEach(e=>e.state.disabled=!0)}__unlock(){this.dialog.unlock(),this.form.setMod("lock",!1),Object.values(this.__buttons).forEach(e=>e.state.disabled=!1)}afterInit(e){const t=this;e.e.on("afterConstructor changePlace",()=>{e.e.off(e.editor,".imageproperties").on(e.editor,"dblclick.imageproperties",r=>{const i=r.target;if(o.J.isTag(i,"img"))if(e.o.image.openOnDblClick){if(!1===this.j.e.fire("openOnDblClick",i))return;t.state.sourceImage=i,t.state.image=i.cloneNode(!0),e.o.readonly||(r.stopImmediatePropagation(),r.preventDefault(),t.open())}else r.stopImmediatePropagation(),e.s.select(i)})}).on("openImageProperties.imageproperties",e=>{t.state.sourceImage=e,this.state.image=e.cloneNode(!0),this.open()})}async onStateValuesImageSrcChange(){const{image:e,values:t}=this.state;if(e.src)try{this.__lock(),await e.decode(),this.state.sizeIsLocked&&(0,s.isNumeric)(t.imageWidth)&&(t.imageHeight=Math.round(parseFloat(""+t.imageWidth)/this.state.ratio)),this.j.e.fire("updateImageProperties.imageproperties",e)}catch(e){this.j.alert(e.message)}finally{this.__unlock()}}beforeDestruct(e){var t,r,o;Object.values(null!==(t=(0,i.cached)(this,"__buttons"))&&void 0!==t?t:{}).forEach(e=>e.destruct()),null===(r=(0,i.cached)(this,"dialog"))||void 0===r||r.destruct(),null===(o=(0,i.cached)(this,"form"))||void 0===o||o.destruct(),e.e.off(e.editor,".imageproperties").off(".imageproperties")}constructor(){super(...arguments),this.state={image:new Image,sourceImage:new Image,get ratio(){const{naturalWidth:e,naturalHeight:t}=this.image;return e/t||1},sizeIsLocked:!0,marginIsLocked:!0,values:{style:"",imageSrc:"",borderRadius:0,imageTitle:"",imageAlt:"",imageLink:"",imageLinkOpenInNewTab:!1,imageWidth:0,imageHeight:0,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0,classes:"",id:"",align:""}},this.activeTabState={activeTab:"Image"}}}f([i.cache],m.prototype,"form",null),f([i.cache],m.prototype,"dialog",null),f([i.cache],m.prototype,"__buttons",null),f([(0,i.watch)("state.image")],m.prototype,"onStateValuesImageSrcChange",null),n.fg.add("imageProperties",m)},3703(e,t,r){r.d(t,{h(){return a}});var i=r(68345),o=r(29807),n=r(72430),s=r(70799);function a(e,t,r){if(!(0,s.K)(e)||!e.length)return;const a=e.split(".");let l=r,c=a[0];for(let e=0;a.length-1>e;e+=1)c=a[e],(0,i.c)(l[c])||(0,n.Q)(l[c])||(l[c]=(0,o.k)(a[e+1])?[]:{}),l=l[c];l&&(l[a[a.length-1]]=t)}},3760(e,t,r){r.d(t,{b$(){return a},iy(){return c},n8(){return l}});var i=r(29807),o=r(86068),n=r(35278),s=r(12475);const a=/^(left|top|bottom|right|width|min|max|height|margin|padding|fontsize|font-size)/i;function l(e,t){return!(0,o.R)(t)&&a.test(e)&&(0,i.k)(""+t)?parseInt(""+t,10)+"px":t}function c(e,t){if("font-weight"===(0,s.k)(e)){switch((""+t).toLowerCase()){case"700":case"bold":return 700;case"400":case"normal":return 400;case"900":case"heavy":return 900}return(0,i.k)(t)?Number(t):t}return/color/i.test(e)&&/^rgb/i.test(""+t)&&(0,n.s)(""+t)||t}},3827(e,t,r){r.d(t,{Xr(){return s.X},bk(){return i.b},d$(){return s.d},h5(){return o.h},sH(){return n.s}});var i=r(98220),o=r(72757),n=r(73026),s=r(15738)},4012(e,t,r){r.d(t,{u(){return l}});var i=r(8884),o=r(78213),n=r(580),s=r(21537);const a=new Map;class l{get componentName(){return this.__componentName||(this.__componentName="jodit-"+(0,s.kebabCase)(((0,s.isFunction)(this.className)?this.className():"")||(0,s.getClassName)(this))),this.__componentName}getFullElName(e,t,r){const i=[this.componentName];return e&&(e=e.replace(/[^a-z0-9-]/gi,"-"),i.push("__"+e)),t&&(i.push("_",t),i.push("_",(0,s.isVoid)(r)?"true":""+r)),i.join("")}get ownerDocument(){return this.ow.document}get od(){return this.ownerDocument}get ow(){return this.ownerWindow}get(e,t){return(0,s.get)(e,t||this)}get isReady(){return this.componentStatus===o.f.ready}get isDestructed(){return this.componentStatus===o.f.destructed}get isInDestruct(){return o.f.beforeDestruct===this.componentStatus||o.f.destructed===this.componentStatus}bindDestruct(e){return e.hookStatus(o.f.beforeDestruct,()=>!this.isInDestruct&&this.destruct()),this}destruct(){this.setStatus(o.f.destructed),this.async&&(this.async.destruct(),this.async=void 0),a.get(this)&&a.delete(this),this.ownerWindow=void 0}get componentStatus(){return this.__componentStatus}set componentStatus(e){this.setStatus(e)}setStatus(e){return this.setStatusComponent(e,this)}setStatusComponent(e,t){if(e===this.__componentStatus)return;t===this&&(this.__componentStatus=e);const r=Object.getPrototypeOf(this);r&&(0,s.isFunction)(r.setStatusComponent)&&r.setStatusComponent(e,t);const i=a.get(this),o=null==i?void 0:i[e];o&&o.length&&o.forEach(e=>e(t))}hookStatus(e,t){let r=a.get(this);r||(r={},a.set(this,r)),r[e]||(r[e]=[]),r[e].push(t)}static isInstanceOf(e,t){return e instanceof t}constructor(){this.async=new i.j,this.ownerWindow=window,this.__componentStatus=o.f.beforeInit,this.uid="jodit-uid-"+(0,n.w9)()}}l.STATUSES=o.f},4038(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z"/></svg> '},4104(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M789 559l-170 450q33 0 136.5 2t160.5 2q19 0 57-2-87-253-184-452zm-725 1105l2-79q23-7 56-12.5t57-10.5 49.5-14.5 44.5-29 31-50.5l237-616 280-724h128q8 14 11 21l205 480q33 78 106 257.5t114 274.5q15 34 58 144.5t72 168.5q20 45 35 57 19 15 88 29.5t84 20.5q6 38 6 57 0 4-.5 13t-.5 13q-63 0-190-8t-191-8q-76 0-215 7t-178 8q0-43 4-78l131-28q1 0 12.5-2.5t15.5-3.5 14.5-4.5 15-6.5 11-8 9-11 2.5-14q0-16-31-96.5t-72-177.5-42-100l-450-2q-26 58-76.5 195.5t-50.5 162.5q0 22 14 37.5t43.5 24.5 48.5 13.5 57 8.5 41 4q1 19 1 58 0 9-2 27-58 0-174.5-10t-174.5-10q-8 0-26.5 4t-21.5 4q-80 14-188 14z"/> </svg> '},4242(e,t,r){r.d(t,{n(){return s}});var i=r(87325),o=r(10830),n=r(80256);let s=class e extends n.t{className(){return"UIFileInput"}createContainer(e){this.button=new o.lD(this.j,{tooltip:e.tooltip,icon:{name:"plus"}});const{container:t}=this.button;this.nativeInput||(this.nativeInput=this.createNativeInput(e));const{nativeInput:r}=this;return r.classList.add(this.getFullElName("input")),t.classList.add(this.componentName),t.appendChild(r),t}createNativeInput(e){return this.j.create.fromHTML(`<input\n\t\t\ttype="file"\n\t\t\taccept="${e.onlyImages?"image/*":"*"}"\n\t\t\ttabindex="-1"\n\t\t\tdir="auto"\n\t\t\tmultiple=""\n\t\t/>`)}constructor(e,t){super(e,{type:"file",...t}),this.state={...n.t.defaultState,type:"file",onlyImages:!0}}};s=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([i.s],s)},4510(e,t,r){r.d(t,{$(){return n}});var i=r(70722),o=r(58844);const n=(...e)=>{var t;return((0,i.a)(Array.from)?Array.from:null!==(t=(0,o.c)("Array.from"))&&void 0!==t?t:Array.from).apply(Array,e)}},4604(e,t,r){var i=r(12153),o=r(6441),n=r(6342);o.T.prototype.addNewLine=!0,o.T.prototype.addNewLineOnDBLClick=!0,o.T.prototype.addNewLineTagsTriggers=["table","iframe","img","hr","pre","jodit"],o.T.prototype.addNewLineDeltaShow=20,i.I.set("enter",n.A)},4795(e,t){t.A={"Type something":"Napiš něco","About Jodit":"O Jodit","Jodit Editor":"Editor Jodit","Free Non-commercial Version":"Verze pro nekomerční použití","Jodit User's Guide":"Jodit Uživatelská příručka","contains detailed help for using":"obsahuje detailní nápovědu","For information about the license, please go to our website:":"Pro informace o licenci, prosím, přejděte na naši stránku:","Buy full version":"Koupit plnou verzi","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Všechna práva vyhrazena.",Anchor:"Anchor","Open in new tab":"Otevřít v nové záložce","Open in fullsize":"Otevřít v celoobrazovkovém režimu","Clear Formatting":"Vyčistit formátování","Fill color or set the text color":"Barva výplně a písma",Redo:"Vpřed",Undo:"Zpět",Bold:"Tučné",Italic:"Kurzíva","Insert Unordered List":"Odrážky","Insert Ordered List":"Číslovaný seznam","Align Center":"Zarovnat na střed","Align Justify":"Zarovnat do bloku","Align Left":"Zarovnat vlevo","Align Right":"Zarovnat vpravo","Insert Horizontal Line":"Vložit horizontální linku","Insert Image":"Vložit obrázek","Insert file":"Vložit soubor","Insert youtube/vimeo video":"Vložit video (YT/Vimeo)","Insert link":"Vložit odkaz","Font size":"Velikost písma","Font family":"Typ písma","Insert format block":"Formátovat blok",Normal:"Normální text","Heading 1":"Nadpis 1","Heading 2":"Nadpis 2","Heading 3":"Nadpis 3","Heading 4":"Nadpis 4",Quote:"Citát",Code:"Kód",Insert:"Vložit","Insert table":"Vložit tabulku","Decrease Indent":"Zmenšit odsazení","Increase Indent":"Zvětšit odsazení","Select Special Character":"Vybrat speciální symbol","Insert Special Character":"Vložit speciální symbol","Paint format":"Použít formát","Change mode":"Změnit mód",Margins:"Okraje",top:"horní",right:"pravý",bottom:"spodní",left:"levý",Styles:"Styly",Classes:"Třídy",Align:"Zarovnání",Right:"Vpravo",Center:"Na střed",Left:"Vlevo","--Not Set--":"--nenastaveno--",Src:"src",Title:"Titulek",Alternative:"Alternativní text (alt)",Link:"Link","Open link in new tab":"Otevřít link v nové záložce",Image:"Obrázek",file:"soubor",Advanced:"Rozšířené","Image properties":"Vlastnosti obrázku",Cancel:"Zpět",Ok:"Ok","Your code is similar to HTML. Keep as HTML?":"Váš text se podobá HTML. Vložit ho jako HTML?","Paste as HTML":"Vložit jako HTML",Keep:"Ponechat originál",Clean:"Vyčistit","Insert as Text":"Vložit jako TEXT","Insert only Text":"Vložit pouze TEXT","Word Paste Detected":"Detekován fragment z Wordu nebo Excelu","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Obsah, který vkládáte, je pravděpodobně z Microsoft Word / Excel. Chcete ponechat formát nebo vložit pouze text?","File Browser":"Prohlížeč souborů","Error on load list":"Chyba při načítání seznamu souborů","Error on load folders":"Chyba při načítání složek","Are you sure?":"Jste si jistý(á)?","Enter Directory name":"Název složky","Create directory":"Vytvořit složku","type name":"název","Drop image":"Přetáhněte sem obrázek","Drop file":"Přetáhněte sem soubor","or click":"nebo klikněte","Alternative text":"Alternativní text",Browse:"Server",Upload:"Nahrát",Background:"Pozadí",Text:"Text",Top:"Nahoru",Middle:"Na střed",Bottom:"Dolu","Insert column before":"Vložit sloupec před","Insert column after":"Vložit sloupec za","Insert row above":"Vložit řádek nad","Insert row below":"Vložit řádek pod","Delete table":"Vymazat tabulku","Delete row":"Vymazat řádku","Delete column":"Vymazat sloupec","Empty cell":"Vyčistit buňku",source:"HTML",bold:"tučně",italic:"kurzíva",brush:"štětec",link:"odkaz",undo:"zpět",redo:"vpřed",table:"tabulka",image:"obrázek",eraser:"guma",paragraph:"odstavec",fontsize:"velikost písma",video:"video",font:"písmo",about:"о editoru",print:"tisk",underline:"podtrženo",strikethrough:"přeškrtnuto",indent:"zvětšit odsazení",outdent:"zmenšit odsazení",fullsize:"celoobrazovkový režim",shrink:"smrsknout",hr:"Linka",ul:"Odrážka",ol:"Číslovaný seznam",cut:"Vyjmout",selectall:"Označit vše","Embed code":"Kód","Open link":"Otevřít odkaz","Edit link":"Upravit odkaz","No follow":"Atribut no-follow",Unlink:"Odstranit odkaz",Eye:"Zobrazit",pencil:"Chcete-li upravit",Update:"Aktualizovat"," URL":"URL",Edit:"Editovat","Horizontal align":"Horizontální zarovnání",Filter:"Filtr","Sort by changed":"Dle poslední změny","Sort by name":"Dle názvu","Sort by size":"Dle velikosti","Add folder":"Přidat složku",Reset:"Reset",Save:"Uložit","Save as ...":"Uložit jako...",Resize:"Změnit rozměr",Crop:"Ořezat",Width:"Šířka",Height:"Výška","Keep Aspect Ratio":"Ponechat poměr",Yes:"Ano",No:"Ne",Remove:"Vyjmout",Select:"Označit","Chars: %d":"Znaky: %d","Words: %d":"Slova: %d",All:"Vše","Select %s":"Označit %s","Select all":"Označit vše","Vertical align":"Vertikální zarovnání",Split:"Rozdělit","Split vertical":"Rozdělit vertikálně","Split horizontal":"Rozdělit horizontálně",Merge:"Spojit","Add column":"Přidat sloupec","Add row":"Přidat řádek",Delete:"Vymazat",Border:"Okraj","License: %s":"Licence: %s","Strike through":"Přeškrtnuto",Underline:"Podtrženo",superscript:"Horní index",subscript:"Dolní index","Cut selection":"Vyjmout označené",Break:"Zalomení","Search for":"Najdi","Replace with":"Nahradit za",Replace:"Vyměňte",Paste:"Vložit","Choose Content to Paste":"Vyber obsah pro vložení","You can only edit your own images. Download this image on the host?":"Můžete upravovat pouze své obrázky. Načíst obrázek?","The image has been successfully uploaded to the host!":"Obrázek byl úspěšně nahrán!",palette:"paleta","There are no files":"V tomto adresáři nejsou žádné soubory.",Rename:"přejmenovat","Enter new name":"Zadejte nový název",preview:"náhled",download:"Stažení","Paste from clipboard":"Vložit ze schránky","Your browser doesn't support direct access to the clipboard.":"Váš prohlížeč nepodporuje přímý přístup do schránky.","Copy selection":"Kopírovat výběr",copy:"kopírování","Border radius":"Border radius","Show all":"Zobrazit všechny",Apply:"Platí","Please fill out this field":"Prosím, vyplňte toto pole","Please enter a web address":"Prosím, zadejte webovou adresu",Default:"Výchozí",Circle:"Kruh",Dot:"Dot",Quadrate:"Quadrate",Find:"Najít","Find Previous":"Najít Předchozí","Find Next":"Najít Další","Insert className":"Vložte název třídy","Press Alt for custom resizing":"Stiskněte Alt pro vlastní změnu velikosti"}},5119(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 270 270"> <path d="m240.443652,220.45085l-47.410809,0l0,-10.342138c13.89973,-8.43655 25.752896,-19.844464 34.686646,-33.469923c11.445525,-17.455846 17.496072,-37.709239 17.496072,-58.570077c0,-59.589197 -49.208516,-108.068714 -109.693558,-108.068714s-109.69263,48.479517 -109.69263,108.069628c0,20.860839 6.050547,41.113316 17.497001,58.570077c8.93375,13.625459 20.787845,25.032458 34.686646,33.469008l0,10.342138l-47.412666,0c-10.256959,0 -18.571354,8.191376 -18.571354,18.296574c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.98402,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574l0,-39.496814c0,-7.073455 -4.137698,-13.51202 -10.626529,-16.537358c-25.24497,-11.772016 -41.557118,-37.145704 -41.557118,-64.643625c0,-39.411735 32.545369,-71.476481 72.549922,-71.476481c40.004553,0 72.550851,32.064746 72.550851,71.476481c0,27.497006 -16.312149,52.87161 -41.557118,64.643625c-6.487902,3.026253 -10.6256,9.464818 -10.6256,16.537358l0,39.496814c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.982163,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574c0,-10.105198 -8.314395,-18.296574 -18.571354,-18.296574z"/> </svg> '},5287(e,t,r){r.d(t,{C(){return o}});var i=r(2748);function o(e,t){let r=e;i.J.up(r,e=>{e&&e.hasChildNodes()&&e!==t.editor&&(r=e)},t.editor);const o=i.J.wrapInline(r,t.o.enter,t);if(i.J.isEmpty(o)){const r=t.createInside.element("br");o.appendChild(r),i.J.before(r,e)}return o}},5567(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45z"/> </svg> '},5700(e,t,r){r.d(t,{G(){return o}});var i=r(19306);function o(e,t,r=!1){var n,s;const a=e.getBoundingClientRect();let l=a.left,c=a.top;if((0,i.y)(t)&&t.iframe&&t.ed.body.contains(e)&&!r){const{left:e,top:r}=o(t.iframe,t,!0);l+=e,c+=r}return{left:Math.round(l),top:Math.round(c),width:Math.round(null!==(n=e.offsetWidth)&&void 0!==n?n:a.width),height:Math.round(null!==(s=e.offsetHeight)&&void 0!==s?s:a.height)}}},5827(e,t,r){var i=r(2748),o=r(12153),n=r(6441),s=r(27190),a=r(42345),l=r(10411);n.T.prototype.link={formTemplate:l.B,followOnDblClick:!1,processVideoLink:!0,processPastedLink:!0,noFollowCheckbox:!0,openInNewTabCheckbox:!0,modeClassName:"input",selectMultipleClassName:!0,preventReadOnlyNavigation:!0,selectSizeClassName:3,selectOptionsClassName:[],hotkeys:["ctrl+k","cmd+k"]},o.I.set("link",s.A).set("unlink",a.A),n.T.prototype.controls.unlink={exec(e,t){const r=i.J.closest(t,"a",e.editor);r&&i.J.unwrap(r),e.synchronizeValues(),e.e.fire("hidePopup")},tooltip:"Unlink"},n.T.prototype.controls.link={isActive(e){const t=e.s.current();return!(!t||!i.J.closest(t,"a",e.editor))},popup(e,t,r){return e.e.fire("generateLinkForm.link",t,r)},tags:["a"],tooltip:"Insert link"}},5986(e,t,r){r.d(t,{l(){return o}});var i=r(49055);const o=e=>(e.attributes.class&&(e.attributes.class=e.attributes.class.replace(/(el\d+)|(font\d+)|msonormal|msolistparagraph\w*/gi,""),(0,i.Bq)(e.attributes.class)||(e.attributes.class=null)),e)},6091(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M576 1376v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm128-320v1088q0 66-47 113t-113 47h-1344q-66 0-113-47t-47-113v-1088q0-66 47-113t113-47h1344q66 0 113 47t47 113z"/> </svg> '},6342(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 128 128" xml:space="preserve"> <polygon points="112.4560547,23.3203125 112.4560547,75.8154297 31.4853516,75.8154297 31.4853516,61.953125 16.0131836,72.6357422 0.5410156,83.3164063 16.0131836,93.9990234 31.4853516,104.6796875 31.4853516,90.8183594 112.4560547,90.8183594 112.4560547,90.8339844 127.4589844,90.8339844 127.4589844,23.3203125"/> </svg> '},6441(e,t,r){r.d(t,{T(){return o}});var i=r(82758);class o{static get defaultOptions(){return o.__defaultOptions||(o.__defaultOptions=new o),o.__defaultOptions}constructor(){this.cache=!0,this.defaultTimeout=100,this.namespace="",this.safeMode=!1,this.width="auto",this.height="auto",this.safePluginsList=["about","enter","backspace","size","bold","hotkeys"],this.license="",this.preset="custom",this.presets={inline:{inline:!0,toolbar:!1,toolbarInline:!0,toolbarInlineForSelection:!0,showXPathInStatusbar:!1,showCharsCounter:!1,showWordsCounter:!1,showPlaceholder:!1}},this.ownerDocument=i.globalDocument,this.ownerWindow=i.globalWindow,this.shadowRoot=null,this.zIndex=0,this.readonly=!1,this.disabled=!1,this.activeButtonsInReadOnly=["source","fullsize","print","about","dots","selectall"],this.allowCommandsInReadOnly=["selectall","preview","print"],this.toolbarButtonSize="middle",this.allowTabNavigation=!1,this.inline=!1,this.theme="default",this.saveModeInStorage=!1,this.editorClassName=!1,this.className=!1,this.style=!1,this.containerStyle=!1,this.styleValues={},this.triggerChangeEvent=!0,this.direction="",this.language="auto",this.debugLanguage=!1,this.i18n=!1,this.tabIndex=-1,this.toolbar=!0,this.statusbar=!0,this.showTooltip=!0,this.showTooltipDelay=200,this.useNativeTooltip=!1,this.defaultActionOnPaste=i.INSERT_AS_HTML,this.enter=i.PARAGRAPH,this.iframe=!1,this.editHTMLDocumentMode=!1,this.enterBlock="br"!==this.enter?this.enter:i.PARAGRAPH,this.defaultMode=i.MODE_WYSIWYG,this.useSplitMode=!1,this.colors={greyscale:["#000000","#434343","#666666","#999999","#B7B7B7","#CCCCCC","#D9D9D9","#EFEFEF","#F3F3F3","#FFFFFF"],palette:["#980000","#FF0000","#FF9900","#FFFF00","#00F0F0","#00FFFF","#4A86E8","#0000FF","#9900FF","#FF00FF"],full:["#E6B8AF","#F4CCCC","#FCE5CD","#FFF2CC","#D9EAD3","#D0E0E3","#C9DAF8","#CFE2F3","#D9D2E9","#EAD1DC","#DD7E6B","#EA9999","#F9CB9C","#FFE599","#B6D7A8","#A2C4C9","#A4C2F4","#9FC5E8","#B4A7D6","#D5A6BD","#CC4125","#E06666","#F6B26B","#FFD966","#93C47D","#76A5AF","#6D9EEB","#6FA8DC","#8E7CC3","#C27BA0","#A61C00","#CC0000","#E69138","#F1C232","#6AA84F","#45818E","#3C78D8","#3D85C6","#674EA7","#A64D79","#85200C","#990000","#B45F06","#BF9000","#38761D","#134F5C","#1155CC","#0B5394","#351C75","#733554","#5B0F00","#660000","#783F04","#7F6000","#274E13","#0C343D","#1C4587","#073763","#20124D","#4C1130"]},this.colorPickerDefaultTab="background",this.imageDefaultWidth=300,this.removeButtons=[],this.disablePlugins=[],this.extraPlugins=[],this.extraButtons=[],this.extraIcons={},this.createAttributes={table:{style:"border-collapse:collapse;width: 100%;"}},this.sizeLG=900,this.sizeMD=700,this.sizeSM=400,this.buttons=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},{group:"font",buttons:[]},"---",{group:"script",buttons:[]},{group:"media",buttons:[]},"\n",{group:"state",buttons:[]},{group:"clipboard",buttons:[]},{group:"insert",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},{group:"form",buttons:[]},"---",{group:"history",buttons:[]},{group:"search",buttons:[]},{group:"source",buttons:[]},{group:"other",buttons:[]},{group:"info",buttons:[]}],this.events={},this.textIcons=!1,this.popupRoot=null,this.showBrowserColorPicker=!0}}o.prototype.controls={}},6687(e,t,r){var i=r(82758),o=r(580),n=r(20356),s=r(12153),a=r(6441),l=r(66863),c=r(64489);s.I.set("redo",l.A).set("undo",c.A),a.T.prototype.controls.redo={mode:i.MODE_SPLIT,isDisabled(e){return!e.history.canRedo()},tooltip:"Redo"},a.T.prototype.controls.undo={mode:i.MODE_SPLIT,isDisabled(e){return!e.history.canUndo()},tooltip:"Undo"},o.fg.add("redoUndo",class d extends n.k{beforeDestruct(){}afterInit(e){const t=t=>(e.history[t](),!1);e.registerCommand("redo",{exec:t,hotkeys:["ctrl+y","ctrl+shift+z","cmd+y","cmd+shift+z"]}),e.registerCommand("undo",{exec:t,hotkeys:["ctrl+z","cmd+z"]})}constructor(){super(...arguments),this.buttons=[{name:"undo",group:"history"},{name:"redo",group:"history"}]}})},6700(e,t,r){r.d(t,{w(){return a}});var i=r(87058),o=r(65638),n=r(21162);const s="Jodit_";class a{set(e,t){return this.provider.set((0,i.x)(this.prefix+e),t),this}delete(e){return this.provider.delete((0,i.x)(this.prefix+e)),this}get(e){return this.provider.get((0,i.x)(this.prefix+e))}exists(e){return this.provider.exists((0,i.x)(this.prefix+e))}clear(){return this.provider.clear(),this}static makeStorage(e=!1,t){let r;return e&&(0,o.I)()&&(r=new o.O(s+t)),r||(r=new n.M),new a(r,t)}constructor(e,t){this.provider=e,this.prefix=s,t&&(this.prefix+=t)}}},6950(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <path stroke-width="0" d="M22,20.6L3.4,2H8V0H0v8h2V3.4L20.6,22H16v2h8v-8h-2V20.6z M16,0v2h4.7l-6.3,6.3l1.4,1.4L22,3.5V8h2V0H16z M8.3,14.3L2,20.6V16H0v8h8v-2H3.5l6.3-6.3L8.3,14.3z"/> </svg> '},6980(e,t,r){r.d(t,{Y(){return n}});var i=r(2748),o=r(78116);function n(e,t,r){const n=r.editor,s=r.createInside,a=(e,t="previousSibling")=>{let s=e,a=e;for(;a&&!(0,o.r)(a)&&!i.J.isTag(a,r.o.enter)&&(s=a,a=a[t]?a[t]:a.parentNode&&!i.J.isBlock(a.parentNode)&&a.parentNode!==n?a.parentNode:null,!i.J.isBlock(a)););return s},l=a(t),c=a(t,"nextSibling"),d=r.s.createRange();d.setStartBefore(l),d.setEndAfter(c);const u=d.extractContents(),h=s.element(e.element);return h.appendChild(u),i.J.safeInsertNode(d,h),e.elementIsBlock&&i.J.isEmpty(h)&&!i.J.isTag(h.firstElementChild,"br")&&h.appendChild(s.element("br")),h}},7087(e,t,r){r.r(t),r.d(t,{PasteFromWordPro(){return c}}),r(64310);var i=r(46788),o=r(82758),n=r(70799),s=r(117),a=r(31571),l=r(34013);class c extends a.s{insertFromWordByType(e,t,r,a){if(!this.j.o.pasteFromWord.enable||r!==o.INSERT_AS_HTML&&r!==o.INSERT_AS_TEXT)return super.insertFromWordByType(e,t,r,a);if(t=(0,i.GW)(this.j,t,r===o.INSERT_AS_TEXT,a.rtf),this.j.o.beautifyHTML){const e=this.j.events?.fire("beautifyHTML",t);(0,n.K)(e)&&(t=e)}(0,s.sX)(e,this.j,t)}}c.requires=["license"],l.A.plugins.remove("pasteFromWord"),l.A.plugins.add("pasteFromWordPro",c)},7309(e,t,r){var i=r(82758),o=r(2748),n=r(580),s=r(20356);r(99649),n.fg.add("stat",class a extends s.k{afterInit(){this.charCounter=this.j.c.span(),this.wordCounter=this.j.c.span(),this.j.e.on("afterInit changePlace afterAddPlace",this.reInit),this.reInit()}beforeDestruct(){o.J.safeRemove(this.charCounter),o.J.safeRemove(this.wordCounter),this.j.e.off("afterInit changePlace afterAddPlace",this.reInit),this.charCounter=null,this.wordCounter=null}constructor(){super(...arguments),this.charCounter=null,this.wordCounter=null,this.reInit=()=>{this.j.o.showCharsCounter&&this.charCounter&&this.j.statusbar.append(this.charCounter,!0),this.j.o.showWordsCounter&&this.wordCounter&&this.j.statusbar.append(this.wordCounter,!0),this.j.e.off("change keyup",this.calc).on("change keyup",this.calc),this.calc()},this.calc=this.j.async.throttle(()=>{const e=this.j.text;if(this.j.o.showCharsCounter&&this.charCounter){let t;t=this.j.o.countHTMLChars?this.j.value:this.j.o.countTextSpaces?e.replace((0,i.INVISIBLE_SPACE_REG_EXP)(),"").replace(/[\r\n]/g,""):e.replace((0,i.SPACE_REG_EXP)(),""),this.charCounter.textContent=this.j.i18n("Chars: %d",t.length)}this.j.o.showWordsCounter&&this.wordCounter&&(this.wordCounter.textContent=this.j.i18n("Words: %d",e.replace((0,i.INVISIBLE_SPACE_REG_EXP)(),"").split((0,i.SPACE_REG_EXP)()).filter(e=>e.length).length))},this.j.defaultTimeout)}})},7483(e,t,r){r.d(t,{S(){return s}});var i=r(2748),o=r(41180),n=r(23370);class s extends n.F{init(e){this.instance=e.c.element("textarea",{class:"jodit-source__mirror",dir:"rtl"===e.o.direction?"rtl":void 0}),this.container.appendChild(this.instance),e.e.on(this.instance,"mousedown keydown touchstart input",e.async.debounce(this.toWYSIWYG,e.defaultTimeout)).on("setMinHeight.source",e=>{(0,o.A)(this.instance,"minHeight",e)}).on(this.instance,"change keydown mousedown touchstart input",this.autosize).on("afterSetMode.source",this.autosize).on(this.instance,"mousedown focus",t=>{e.e.fire(t.type,t)}),this.autosize(),this.onReady()}destruct(){i.J.safeRemove(this.instance)}getValue(){return this.instance.value}setValue(e){this.instance.value=e}insertRaw(e){const t=this.getValue();if(0>this.getSelectionStart())this.setValue(t+e);else{const r=this.getSelectionStart(),i=this.getSelectionEnd();this.setValue(t.substring(0,r)+e+t.substring(i,t.length))}}getSelectionStart(){return this.instance.selectionStart}getSelectionEnd(){return this.instance.selectionEnd}setSelectionRange(e,t=e){this.instance.setSelectionRange(e,t)}get isFocused(){return this.instance===this.j.od.activeElement}focus(){this.instance.focus()}blur(){this.instance.blur()}setPlaceHolder(e){this.instance.setAttribute("placeholder",e)}setReadOnly(e){e?this.instance.setAttribute("readonly","true"):this.instance.removeAttribute("readonly")}selectAll(){this.instance.select()}replaceUndoManager(){const{history:e}=this.jodit;this.j.e.on(this.instance,"keydown",t=>{if((t.ctrlKey||t.metaKey)&&"z"===t.key)return t.shiftKey?e.redo():e.undo(),this.setSelectionRange(this.getValue().length),!1})}constructor(){super(...arguments),this.autosize=this.j.async.debounce(()=>{this.instance.style.height="auto",this.instance.style.height=this.instance.scrollHeight+"px"},this.j.defaultTimeout)}}},7903(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1472 930v318q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-10 10-23 10-3 0-9-2-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-254q0-13 9-22l64-64q10-10 23-10 6 0 12 3 20 8 20 29zm231-489l-814 814q-24 24-57 24t-57-24l-430-430q-24-24-24-57t24-57l110-110q24-24 57-24t57 24l263 263 647-647q24-24 57-24t57 24l110 110q24 24 24 57t-24 57z"/> </svg> '},8172(e,t,r){r.d(t,{Q(){return i.Q},V(){return o.V}});var i=r(97379),o=r(8193)},8193(e,t,r){r.d(t,{V(){return o}});var i=r(67510);class o extends i.Ue{className(){return"FileBrowserTree"}}},8355(e,t,r){var i=r(82758),o=r(580),n=r(11628);r(6441).T.prototype.controls.preview={icon:"eye",command:"preview",mode:i.MODE_SOURCE+i.MODE_WYSIWYG,tooltip:"Preview"},o.fg.add("preview",e=>{e.registerButton({name:"preview"}),e.registerCommand("preview",(t,r,i)=>{const o=e.dlg();o.setSize(1024,600).open("",e.i18n("Preview")).setModal(!0);const[,s]=(0,n.u)(e,i,"px",o.getElm("content"));o.e.on(o,"afterClose",s)})})},8884(e,t,r){r.d(t,{j(){return i.j}});var i=r(26992)},8959(e,t,r){r.d(t,{$6(){return a.$},F0(){return i.F},cY(){return o.c},nE(){return n.n},tS(){return s.t}});var i=r(85120),o=r(17328),n=r(4242),s=r(80256),a=r(12234)},9045(e,t,r){r(6441).T.prototype.dtd={removeExtraBr:!0,checkBlockNesting:!0,blockLimits:{article:1,aside:1,audio:1,body:1,caption:1,details:1,dir:1,div:1,dl:1,fieldset:1,figcaption:1,figure:1,footer:1,form:1,header:1,hgroup:1,main:1,menu:1,nav:1,ol:1,section:1,table:1,td:1,th:1,tr:1,ul:1,video:1}}},9159(e,t,r){var i=r(65478),o=r(22732),n=r(580),s=r(50911),a=r(67510),l=(r(68252),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});let c=class e extends s.k{afterInit(e){const{height:t,width:r,allowResizeX:i}=e.o;let{allowResizeY:o}=e.o;"auto"===t&&"auto"!==r&&(o=!1),"auto"===t&&"auto"===r||!i&&!o||(e.statusbar.setMod("resize-handle",!0),e.e.on("toggleFullSize.resizeHandler",()=>{this.handle.style.display=e.isFullSize?"none":"block"}).on(this.handle,"mousedown touchstart",this.onHandleResizeStart).on(e.ow,"mouseup touchend",this.onHandleResizeEnd),e.container.appendChild(this.handle))}onHandleResizeStart(e){this.isResized=!0,this.start.x=e.clientX,this.start.y=e.clientY,this.start.w=this.j.container.offsetWidth,this.start.h=this.j.container.offsetHeight,this.j.lock(),this.j.e.on(this.j.ow,"mousemove touchmove",this.onHandleResize),e.preventDefault()}onHandleResize(e){this.isResized&&(this.j.o.allowResizeY&&this.j.e.fire("setHeight",this.start.h+e.clientY-this.start.y),this.j.o.allowResizeX&&this.j.e.fire("setWidth",this.start.w+e.clientX-this.start.x),this.j.e.fire("resize"))}onHandleResizeEnd(){this.isResized&&(this.isResized=!1,this.j.e.off(this.j.ow,"mousemove touchmove",this.onHandleResize),this.j.unlock())}beforeDestruct(){o.J.safeRemove(this.handle),this.j.e.off(this.j.ow,"mouseup touchsend",this.onHandleResizeEnd)}constructor(){super(...arguments),this.isResized=!1,this.start={x:0,y:0,w:0,h:0},this.handle=this.j.c.div("jodit-editor__resize",a.In.get("resize_handler"))}};c.requires=["size"],c=l([i.autobind],c),n.fg.add("resizeHandler",c)},9881(e,t,r){var i=r(65478),o=r(2748),n=r(580),s=r(87058),a=r(50911),l=r(67510),c=(r(67215),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});class d extends a.k{afterInit(e){this.proxyEventsList.forEach(t=>{e.e.on(t+".select",this.onStartSelection)})}beforeDestruct(e){this.proxyEventsList.forEach(t=>{e.e.on(t+".select",this.onStartSelection)})}onStartSelection(e){const{j:t}=this;let r,i=e.target;for(;void 0===r&&i&&i!==t.editor;)r=t.e.fire((0,s.x)(e.type+"_"+i.nodeName.toLowerCase()),i,e),i=i.parentElement;"click"===e.type&&void 0===r&&i===t.editor&&t.e.fire(e.type+"Editor",i,e)}onOutsideClick(e){const t=e.target;o.J.up(t,e=>e===this.j.editor)||l.D$.closestElement(t,l.zD)||this.j.e.fire("outsideClick",e)}beforeCommandCut(){const{s:e}=this.j;if(!e.isCollapsed()){const t=e.current();t&&o.J.isOrContains(this.j.editor,t)&&this.onCopyNormalizeSelectionBound()}}beforeCommandSelectAll(){const{s:e}=this.j;return e.focus(),e.select(this.j.editor,!0),e.expandSelection(),!1}onTripleClickNormalizeSelection(e){if(3!==e.detail||!this.j.o.select.normalizeTripleClick)return;const{s:t}=this.j,{startContainer:r,startOffset:i}=t.range;0===i&&o.J.isText(r)&&t.select(o.J.closest(r,o.J.isBlock,this.j.editor)||r,!0)}onCopyNormalizeSelectionBound(e){const{s:t,editor:r,o:i}=this.j;i.select.normalizeSelectionBeforeCutAndCopy&&!t.isCollapsed()&&(!e||e.isTrusted&&o.J.isNode(e.target)&&o.J.isOrContains(r,e.target))&&this.jodit.s.expandSelection()}constructor(){super(...arguments),this.proxyEventsList=["click","mousedown","touchstart","mouseup","touchend"]}}c([i.autobind],d.prototype,"onStartSelection",null),c([(0,i.watch)("ow:click")],d.prototype,"onOutsideClick",null),c([(0,i.watch)([":beforeCommandCut"])],d.prototype,"beforeCommandCut",null),c([(0,i.watch)([":beforeCommandSelectall"])],d.prototype,"beforeCommandSelectAll",null),c([(0,i.watch)([":click"])],d.prototype,"onTripleClickNormalizeSelection",null),c([(0,i.watch)([":copy",":cut"])],d.prototype,"onCopyNormalizeSelectionBound",null),n.fg.add("select",d)},9914(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 48 48"> <path d="M6 18h4v-4h-4v4zm0-8h4v-4h-4v4zm8 32h4v-4h-4v4zm0-16h4v-4h-4v4zm-8 0h4v-4h-4v4zm0 16h4v-4h-4v4zm0-8h4v-4h-4v4zm8-24h4v-4h-4v4zm24 24h4v-4h-4v4zm-16 8h4v-36h-4v36zm16 0h4v-4h-4v4zm0-16h4v-4h-4v4zm0-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-8-8h4v-4h-4v4zm0 32h4v-4h-4v4zm0-16h4v-4h-4v4z"/> <path d="M0 0h48v48h-48z" fill="none"/> </svg> '},9992(e,t,r){r.d(t,{F(){return o}});var i=r(49055);const o=(...e)=>e.filter(e=>(0,i.Bq)(e).length).map((t,r)=>(t=t.replace(/([^:])[\\/]+/g,"$1/"),r&&(t=t.replace(/^\//,"")),r!==e.length-1&&(t=t.replace(/\/$/,"")),t)).join("/")},10052(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 18 18"> <g fill-rule="evenodd" stroke="none" stroke-width="1"> <g transform="translate(-381.000000, -381.000000)"> <g transform="translate(381.000000, 381.000000)"> <path d="M0,2 L2,2 L2,0 C0.9,0 0,0.9 0,2 L0,2 Z M0,10 L2,10 L2,8 L0,8 L0,10 L0,10 Z M4,18 L6,18 L6,16 L4,16 L4,18 L4,18 Z M0,6 L2,6 L2,4 L0,4 L0,6 L0,6 Z M10,0 L8,0 L8,2 L10,2 L10,0 L10,0 Z M16,0 L16,2 L18,2 C18,0.9 17.1,0 16,0 L16,0 Z M2,18 L2,16 L0,16 C0,17.1 0.9,18 2,18 L2,18 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M6,0 L4,0 L4,2 L6,2 L6,0 L6,0 Z M8,18 L10,18 L10,16 L8,16 L8,18 L8,18 Z M16,10 L18,10 L18,8 L16,8 L16,10 L16,10 Z M16,18 C17.1,18 18,17.1 18,16 L16,16 L16,18 L16,18 Z M16,6 L18,6 L18,4 L16,4 L16,6 L16,6 Z M16,14 L18,14 L18,12 L16,12 L16,14 L16,14 Z M12,18 L14,18 L14,16 L12,16 L12,18 L12,18 Z M12,2 L14,2 L14,0 L12,0 L12,2 L12,2 Z M4,14 L14,14 L14,4 L4,4 L4,14 L4,14 Z M6,6 L12,6 L12,12 L6,12 L6,6 L6,6 Z"/> </g> </g> </g> </svg> '},10263(e,t,r){r.d(t,{q(){return a}});var i=r(68345),o=r(5700),n=r(56917),s=r(34793);function a(e,t,r,a){const l=new n.z(t),c=()=>{l.close(),l.destruct()};l.setContent((0,s.k)(e,{upload(e){e.files&&e.files.length&&(r.values.imageSrc=e.baseurl+e.files[0]),c()},async filebrowser(e){e&&(0,i.c)(e.files)&&e.files.length&&(r.values.imageSrc=e.files[0],c())}},r.image,c)).open(()=>(0,o.G)(a))}},10411(e,t,r){r.d(t,{B(){return n}});var i=r(62843),o=r(2525);const n=e=>{const{openInNewTabCheckbox:t,noFollowCheckbox:r,modeClassName:n,selectSizeClassName:s,selectMultipleClassName:a,selectOptionsClassName:l}=e.o.link;return new o.XV(e,[new o.Yh(e,[new o.tS(e,{name:"url",type:"text",ref:"url_input",label:"URL",placeholder:"http://",required:!0})]),new o.Yh(e,[new o.tS(e,{name:"content",ref:"content_input",label:"Text"})],{ref:"content_input_box"}),n?new o.Yh(e,["input"===n?new o.tS(e,{name:"className",ref:"className_input",label:"Class name"}):"select"===n?new o.$6(e,{name:"className",ref:"className_select",label:"Class name",size:s,multiple:a,options:l}):null]):null,t?new o.cY(e,{name:"target",ref:"target_checkbox",label:"Open in new tab"}):null,r?new o.cY(e,{name:"nofollow",ref:"nofollow_checkbox",label:"No follow"}):null,new o.Yh(e,[new i.lD(e,{name:"unlink",variant:"default",text:"Unlink"}),new i.lD(e,{name:"insert",type:"submit",variant:"primary",text:"Insert"})],{align:"full"})])}},10766(e,t){t.A='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path stroke="null" d="m42.276011,26.302547c0.098397,-0.76605 0.172194,-1.54407 0.172194,-2.33406s-0.073797,-1.56801 -0.172194,-2.33406l5.202718,-3.961917c0.467384,-0.359086 0.602679,-1.005441 0.29519,-1.532101l-4.919828,-8.29489c-0.307489,-0.51469 -0.947067,-0.730142 -1.500548,-0.51469l-6.125186,2.405877c-1.266856,-0.945594 -2.656707,-1.747553 -4.157255,-2.357999l-0.922468,-6.343855c-0.110696,-0.562568 -0.614979,-1.005441 -1.229957,-1.005441l-9.839656,0c-0.614979,0 -1.119261,0.442873 -1.217657,1.005441l-0.922468,6.343855c-1.500548,0.610446 -2.890399,1.400436 -4.157255,2.357999l-6.125186,-2.405877c-0.553481,-0.203482 -1.193058,0 -1.500548,0.51469l-4.919828,8.29489c-0.307489,0.51469 -0.172194,1.161045 0.29519,1.532101l5.190419,3.961917c-0.098397,0.76605 -0.172194,1.54407 -0.172194,2.33406s0.073797,1.56801 0.172194,2.33406l-5.190419,3.961917c-0.467384,0.359086 -0.602679,1.005441 -0.29519,1.532101l4.919828,8.29489c0.307489,0.51469 0.947067,0.730142 1.500548,0.51469l6.125186,-2.405877c1.266856,0.945594 2.656707,1.747553 4.157255,2.357999l0.922468,6.343855c0.098397,0.562568 0.602679,1.005441 1.217657,1.005441l9.839656,0c0.614979,0 1.119261,-0.442873 1.217657,-1.005441l0.922468,-6.343855c1.500548,-0.610446 2.890399,-1.400436 4.157255,-2.357999l6.125186,2.405877c0.553481,0.203482 1.193058,0 1.500548,-0.51469l4.919828,-8.29489c0.307489,-0.51469 0.172194,-1.161045 -0.29519,-1.532101l-5.190419,-3.961917zm-18.277162,6.044617c-4.759934,0 -8.609699,-3.746465 -8.609699,-8.378677s3.849766,-8.378677 8.609699,-8.378677s8.609699,3.746465 8.609699,8.378677s-3.849766,8.378677 -8.609699,8.378677z"/> </svg> '},10830(e,t,r){r.d(t,{$n(){return m},lD(){return f},ue(){return p}});var i=r(78213),o=r(65478),n=r(2748),s=r(23282),a=r(70799),l=r(43555),c=r(48538),d=r(24536),u=r(12153),h=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};const p=()=>({size:"middle",type:"button",role:"button",name:"",value:"",variant:"initial",disabled:!1,activated:!1,icon:{name:"empty",fill:"",iconURL:""},tooltip:"",text:"",tabIndex:void 0});let f=class e extends c.D{className(){return"UIButton"}setState(e){return Object.assign(this.state,e),this}get text(){const e=this.getElm("text");return(0,l.vA)(e,"Text element not found"),e}get icon(){const e=this.getElm("icon");return(0,l.vA)(e,"Icon element not found"),e}onChangeSize(){this.setMod("size",this.state.size)}onChangeType(){(0,l.CF)(this.container,"type",this.state.type)}onChangeRole(){(0,l.CF)(this.container,"role",this.state.role)}updateSize(){const e=this.closest(d.z);e&&(this.state.size=e.buttonSize)}onChangeStatus(){this.setMod("variant",this.state.variant)}onChangeText(){this.text.textContent=this.jodit.i18n(this.state.text)}onChangeTextSetMode(){this.setMod("text-icons",!!this.state.text.trim().length)}onChangeDisabled(){(0,l.CF)(this.container,"disabled",this.state.disabled||null)}onChangeActivated(){(0,l.CF)(this.container,"aria-pressed",this.state.activated)}onChangeName(){this.container.classList.add(`${this.componentName}_${this.clearName(this.state.name)}`),this.name=this.state.name,(0,l.CF)(this.container,"data-ref",this.state.name),(0,l.CF)(this.container,"ref",this.state.name)}onChangeTooltip(){this.get("j.o.useNativeTooltip")&&(0,l.CF)(this.container,"title",this.state.tooltip),(0,l.CF)(this.container,"aria-label",this.state.tooltip)}onChangeTabIndex(){(0,l.CF)(this.container,"tabindex",this.state.tabIndex)}onChangeIcon(){const e=this.get("j.o.textIcons");if(!0===e||(0,s.T)(e)&&e(this.state.name))return;n.J.detach(this.icon);const t=u.I.makeIcon(this.j,this.state.icon);t&&this.icon.appendChild(t)}focus(){this.container.focus()}isFocused(){const{activeElement:e}=this.od;return!(!e||!n.J.isOrContains(this.container,e))}createContainer(){const e=this.componentName,t=this.j.c.element("button",{class:e,type:"button",role:"button",ariaPressed:!1}),r=this.j.c.span(e+"__icon"),i=this.j.c.span(e+"__text");return t.appendChild(r),t.appendChild(i),t}destruct(){return this.j.e.off(this.container),super.destruct()}onAction(e){return this.actionHandlers.push(e),this}__onActionFire(e){e.buffer={actionTrigger:this},this.actionHandlers.forEach(t=>t.call(this,e))}constructor(e,t){super(e),this.isButton=!0,this.state=p(),this.actionHandlers=[],this.button=this.container,this.updateSize(),this.onChangeSize(),this.onChangeStatus(),t&&this.hookStatus(i.f.ready,()=>{this.setState(t)})}};function m(e,t,r,i){const o=new f(e);return o.state.tabIndex=e.o.allowTabNavigation?0:-1,(0,a.K)(t)?(o.state.icon.name=t,o.state.name=t,i&&(o.state.variant=i),r&&(o.state.text=r)):o.setState(t),o}h([o.cache],f.prototype,"text",null),h([o.cache],f.prototype,"icon",null),h([(0,o.watch)("state.size",{immediately:!1})],f.prototype,"onChangeSize",null),h([(0,o.watch)("state.type",{immediately:!1})],f.prototype,"onChangeType",null),h([(0,o.watch)("state.role",{immediately:!1})],f.prototype,"onChangeRole",null),h([(0,o.watch)("parentElement")],f.prototype,"updateSize",null),h([(0,o.watch)("state.variant",{immediately:!1})],f.prototype,"onChangeStatus",null),h([(0,o.watch)("state.text",{immediately:!1})],f.prototype,"onChangeText",null),h([(0,o.watch)("state.text",{immediately:!1})],f.prototype,"onChangeTextSetMode",null),h([(0,o.watch)("state.disabled")],f.prototype,"onChangeDisabled",null),h([(0,o.watch)("state.activated")],f.prototype,"onChangeActivated",null),h([(0,o.watch)("state.name",{immediately:!1})],f.prototype,"onChangeName",null),h([(0,o.watch)("state.tooltip",{immediately:!1})],f.prototype,"onChangeTooltip",null),h([(0,o.watch)("state.tabIndex",{immediately:!1})],f.prototype,"onChangeTabIndex",null),h([(0,o.watch)("state.icon",{immediately:!1})],f.prototype,"onChangeIcon",null),h([o.cacheHTML],f.prototype,"createContainer",null),h([(0,o.watch)("button:click")],f.prototype,"__onActionFire",null),f=h([o.component],f)},10937(e,t){t.A='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M24.89 32h4.18L18.86 6h-3.71L4.93 32h4.18l2.25-6h11.29l2.24 6zM12.86 22L17 10.95 21.14 22h-8.28zm30.31 1.17L27 39.34 19.66 32l-2.83 2.83L27 45l19-19-2.83-2.83z"/> </svg> '},11317(e,t,r){var i=r(2748),o=r(580),n=r(6441),s=r(92762);n.T.prototype.controls.file={popup(e,t,r){const o=(t,r="")=>{e.s.insertNode(e.createInside.fromHTML(`<a href="${t}" title="${r}">${r||t}</a>`))};let n=null;return t&&(i.J.isTag(t,"a")||i.J.closest(t,"a",e.editor))&&(n=i.J.isTag(t,"a")?t:i.J.closest(t,"a",e.editor)),(0,s.kG)(e,{filebrowser(e){e.files&&e.files.forEach(t=>o(e.baseurl+t)),r()},upload:!0,url(e,t){n?(n.setAttribute("href",e),n.setAttribute("title",t)):o(e,t),r()}},n,r,!1)},tags:["a"],tooltip:"Insert file"},o.fg.add("file",e=>{e.registerButton({name:"file",group:"media"})})},11338(e,t,r){function i(e){return!e.s.isCollapsed()&&(e.execCommand("Delete"),!0)}r.d(t,{L(){return i}})},11628(e,t,r){r.d(t,{u(){return l}});var i=r(2748),o=r(70799),n=r(29960),s=r(41180),a=r(76078);function l(e,t,r="px",l=null){const c=[],d=((e,t)=>{const r=[];try{(0,a.$$)("img",e.editor).forEach(o=>{const s=[(0,n.C)(o,"width"),(0,n.C)(o,"height"),o.src];(0,n.C)(o,{width:o.offsetWidth+t,height:o.offsetHeight+t});const a=e.createInside.a();e.ed.body.appendChild(a),a.href=o.src,o.src=a.href,i.J.safeRemove(a),r.push(()=>{var e;o.src=null!==(e=s[2])&&void 0!==e?e:"",(0,n.C)(o,{width:s[0]||null,height:s[1]||null})})})}catch(e){throw r.forEach(e=>e()),r.length=0,e}return r})(e,r);try{const a=e.e.fire("beforePreviewBox",t,r);if(null!=a)return a;let d=e.c.div("jodit__preview-box jodit-context");l&&l.appendChild(d),(0,s.A)(d,{position:"relative",padding:16});const u=e.value||`<div style='position: absolute;left:50%;top:50%;transform: translateX(-50%) translateY(-50%);color:#ccc;'>${e.i18n("Empty")}</div>`;if(e.iframe){const t=e.create.element("iframe");(0,s.A)(t,{minWidth:800,minHeight:600,border:0}),d.appendChild(t);const r=t.contentWindow;if(r&&(e.e.fire("generateDocumentStructure.iframe",r.document,e),d=r.document.body,"function"==typeof ResizeObserver)){let i=!1;const o=r.document.body,n=new ResizeObserver(e.async.debounce(()=>{n.unobserve(o),t.style.height=o.offsetHeight+20+"px",e.async.requestAnimationFrame(()=>{!i&&n.observe(o)})},100)),s=()=>{i=!0,n.unobserve(o),n.disconnect(),e.e.off("beforeDestruct",s)};c.push(s),e.e.on("beforeDestruct",s)}}else(0,s.A)(d,{minWidth:1024,minHeight:600,border:0});const h=(t,r)=>{const s=(0,o.K)(r)?e.c.div():r;(0,o.K)(r)&&(s.innerHTML=r);for(let e=0;s.childNodes.length>e;e+=1){const r=s.childNodes[e];if(i.J.isElement(r)){const e=t.ownerDocument.createElement(r.nodeName);for(let t=0;r.attributes.length>t;t+=1)(0,n.C)(e,r.attributes[t].nodeName,r.attributes[t].nodeValue);0===r.childNodes.length||i.J.isTag(r,"table")?"SCRIPT"===r.nodeName?r.textContent&&(e.textContent=r.textContent):r.innerHTML&&(e.innerHTML=r.innerHTML):h(e,r);try{t.appendChild(e)}catch(e){}}else try{t.appendChild(r.cloneNode(!0))}catch(e){}}};return h(d,u),e.e.fire("afterPreviewBox",d),[d,()=>{c.forEach(e=>e())}]}finally{d.forEach(e=>e())}}},11676(e,t,r){r.d(t,{Q(){return l}});var i=r(65478),o=r(82760),n=r(67510),s=r(21491),a=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};let l=class e extends n.z4{className(){return"ToolbarCollection"}get firstButton(){const[e]=this.buttons;return e||null}makeButton(e,t=null){return(0,s.BJ)(this.j,e,t)}makeSelect(e,t=null){return(0,s.RR)(this.j,e,t)}shouldBeActive(e){}shouldBeDisabled(e){}getTarget(e){return e.target||null}__immediateUpdate(){this.isDestructed||this.j.isLocked||(super.update(),this.j.e.fire("afterUpdateToolbar",this))}update(){this.__immediateUpdate()}setDirection(e){this.container.style.direction=e,this.container.setAttribute("dir",e)}__initEvents(){this.j.e.on(this.__listenEvents,this.update).on("afterSetMode focus",this.__immediateUpdate)}hide(){this.container.remove()}show(){this.appendTo(this.j.toolbarContainer)}showInline(e){throw(0,o.z3)("The method is not implemented for this class.")}build(e,t=null){const r=this.j.e.fire("beforeToolbarBuild",e);return r&&(e=r),super.build(e,t),this}destruct(){this.isDestructed||(this.j.e.off(this.__listenEvents,this.update).off("afterSetMode focus",this.__immediateUpdate),super.destruct())}constructor(e){super(e),this.__listenEvents="updatePlugins updateToolbar changeStack mousedown mouseup keydown change afterInit readonly afterResize selectionchange changeSelection focus afterSetMode touchstart focus blur"}};a([i.autobind],l.prototype,"__immediateUpdate",null),a([(0,i.debounce)(e=>e.j.defaultTimeout,!0)],l.prototype,"update",null),a([(0,i.hook)("ready")],l.prototype,"__initEvents",null),l=a([i.component],l)},11691(e,t,r){r(6441).T.prototype.autocomplete={sources:[],maxItems:50,isMatchedQuery(e,t){return 0===t.toLowerCase().indexOf(e.toLowerCase())},itemRenderer(e){return e.title??e.value},insertValueRenderer(e){return e.value+"&nbsp;"}}},11787(e,t,r){r.d(t,{o(){return l}});var i=r(82758),o=r(65478),n=r(21537),s=r(41601),a=r(159);const l="default",c=new Set(["allowFiles","allowFileMove","allowFileUpload","allowFileUploadRemote","allowFileRemove","allowFileRename","allowFolders","allowFolderMove","allowFolderCreate","allowFolderRemove","allowFolderRename","allowImageResize","allowImageCrop"]);let d=class e{get o(){return this.options}get(e){const t=this.__ajaxInstances;if(t.has(e)){const r=t.get(e);null==r||r.abort(),t.delete(e)}const r=(0,n.ConfigProto)(void 0!==this.options[e]?this.options[e]:{},(0,n.ConfigProto)({onProgress:this.progressHandler},this.o.ajax));r.prepareData&&(r.data=r.prepareData.call(this,r.data));const i=new s.d(r);t.set(e,i);const o=i.send();return o.finally(()=>{i.destruct(),t.delete(e),this.progressHandler(100)}).catch(()=>null),o.then(e=>e.json()).then(e=>{if(e&&!this.isSuccess(e))throw Error(this.getMessage(e));return e})}onProgress(e){this.progressHandler=e}async permissions(e,t){return this.o.permissions?(this.o.permissions.data.path=e,this.o.permissions.data.source=t,this.o.permissions.url?this.get("permissions").then(e=>{if(this.parent.isInDestruct)throw(0,n.abort)();let t=this.o.permissions.process;if(t||(t=this.o.ajax.process),t){const r=t.call(self,e);r.data.permissions&&(this.parent.events.fire(this,"changePermissions",this.__currentPermissions,r.data.permissions),this.__currentPermissions=r.data.permissions)}return this.__currentPermissions}):null):null}canI(e){const t="allow"+e;if(!i.IS_PROD&&!c.has(t))throw(0,n.error)("Wrong action "+e);const r=this.o.permissionsPresets[t];return void 0!==r?r:null==this.__currentPermissions||void 0===this.__currentPermissions[t]||this.__currentPermissions[t]}__items(e,t,r,i){const o=this.options;return o.items?(o.items.data.path=e,o.items.data.source=t,o.items.data.mods=r,this.get("items").then(e=>{let t=this.o.items.process;return t||(t=this.o.ajax.process),t&&(e=t.call(self,e)),i(e)})):Promise.reject(Error("Set Items api options"))}items(e,t,r={}){return this.__items(e,t,r,e=>this.generateItemsList(e.data.sources,r))}itemsEx(e,t,r={}){return this.__items(e,t,r,e=>{return{items:this.generateItemsList(e.data.sources,r),loadedTotal:(t=e.data.sources,t.reduce((e,t)=>e+t.files.length,0))};var t})}generateItemsList(e,t={}){const r=[],i=e=>{var r;return!(null===(r=t.filterWord)||void 0===r?void 0:r.length)||void 0===this.o.filter||this.o.filter(e,t.filterWord)};return e.forEach(e=>{if(e.files&&e.files.length){const{sort:o}=this.o;(0,n.isFunction)(o)&&t.sortBy&&e.files.sort((e,r)=>o(e,r,t.sortBy)),e.files.forEach(o=>{i(o)&&(e=>"folder"===e.type||!t.onlyImages||void 0===e.isImage||e.isImage)(o)&&r.push(a.u.create({...o,sourceName:e.name,source:e}))})}}),r}async tree(e,t){return e=(0,n.normalizeRelativePath)(e),this.o.folder?(await this.permissions(e,t),this.o.folder.data.path=e,this.o.folder.data.source=t,this.get("folder").then(e=>{let t=this.o.folder.process;return t||(t=this.o.ajax.process),t&&(e=t.call(self,e)),e.data.sources})):Promise.reject(Error("Set Folder Api options"))}getPathByUrl(e){return(0,n.set)("options.getLocalFileByUrl.data.url",e,this),this.get("getLocalFileByUrl").then(e=>{if(this.isSuccess(e))return e.data;throw(0,n.error)(this.getMessage(e))})}createFolder(e,t,r){const{create:i}=this.o;if(!i)throw(0,n.error)("Set Create api options");return i.data.source=r,i.data.path=t,i.data.name=e,this.get("create").then(e=>{if(this.isSuccess(e))return!0;throw(0,n.error)(this.getMessage(e))})}move(e,t,r,i){const o=i?"fileMove":"folderMove",s=this.options[o];if(!s)throw(0,n.error)("Set Move api options");return s.data.from=e,s.data.path=t,s.data.source=r,this.get(o).then(e=>{if(this.isSuccess(e))return!0;throw(0,n.error)(this.getMessage(e))})}remove(e,t,r,i){const o=this.o[e];if(!o)throw(0,n.error)(`Set "${e}" api options`);return o.data.path=t,o.data.name=r,o.data.source=i,this.get(e).then(e=>(o.process&&(e=o.process.call(this,e)),this.getMessage(e)))}fileRemove(e,t,r){return this.remove("fileRemove",e,t,r)}folderRemove(e,t,r){return this.remove("folderRemove",e,t,r)}rename(e,t,r,i,o){const s=this.o[e];if(!s)throw(0,n.error)(`Set "${e}" api options`);return s.data.path=t,s.data.name=r,s.data.newname=i,s.data.source=o,this.get(e).then(e=>(s.process&&(e=s.process.call(self,e)),this.getMessage(e)))}folderRename(e,t,r,i){return this.rename("folderRename",e,t,r,i)}fileRename(e,t,r,i){return this.rename("fileRename",e,t,r,i)}changeImage(e,t,r,i,o,n){this.o[e]||(this.o[e]={data:{}});const s=this.o[e];return void 0===s.data&&(s.data={action:e}),s.data.newname=o||i,n&&(s.data.box=n),s.data.path=t,s.data.name=i,s.data.source=r,this.get(e).then(()=>!0)}crop(e,t,r,i,o){return this.changeImage("crop",e,t,r,i,o)}resize(e,t,r,i,o){return this.changeImage("resize",e,t,r,i,o)}getMessage(e){return this.options.getMessage(e)}isSuccess(e){return this.options.isSuccess(e)}destruct(){this.__ajaxInstances.forEach(e=>e.destruct()),this.__ajaxInstances.clear()}constructor(e,t){this.parent=e,this.options=t,this.__currentPermissions=null,this.__ajaxInstances=new Map,this.progressHandler=e=>{}}};d=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([o.autobind],d),t.A=d},11991(e,t,r){r.d(t,{f(){return o}});const i=["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;"_GoBack"===e.attributes.name&&(e.attributes.name=null);for(const t of i)e.attributes[t]&&(e.attributes[t]=null);return e}},12019(e,t,r){var i=r(82758),o=r(65478),n=r(2748),s=r(580),a=r(21537),l=r(20356),c=(r(71675),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});const d="__jodit-resizer_binded";class u extends l.k{afterInit(e){(0,a.$$)("div",this.rect).forEach(t=>{e.e.on(t,"mousedown.resizer touchstart.resizer",this.onStartResizing.bind(this,t))}),s.RR.on("hideHelpers",this.hide),e.e.on("readonly",e=>{e&&this.hide()}).on("afterInit changePlace",this.addEventListeners.bind(this)).on("afterGetValueFromEditor.resizer",e=>{const t=/<jodit[^>]+data-jodit_iframe_wrapper[^>]+>(.*?<iframe[^>]*>.*?<\/iframe>.*?)<\/jodit>/gi;t.test(e.value)&&(e.value=e.value.replace(t,"$1"))}),this.addEventListeners(),this.__onChangeEditor()}onEditorClick(e){let t=e.target;const{editor:r,options:{allowResizeTags:i}}=this.j;for(;t&&t!==r;){if(n.J.isTag(t,i))return this.__bind(t),void this.onClickElement(t);t=t.parentNode}}__afterInsertImage(e){if(this.j.o.resizer.forImageChangeAttributes)return;const t=(0,a.attr)(e,"width");t&&!(0,a.css)(e,"width",!0)&&((0,a.css)(e,"width",t),(0,a.attr)(e,"width",null))}addEventListeners(){const e=this.j;e.e.off(e.editor,".resizer").off(e.ow,".resizer").on(e.editor,"keydown.resizer",e=>{this.isShown&&e.key===i.KEY_DELETE&&this.element&&!n.J.isTag(this.element,"table")&&this.onDelete(e)}).on(e.ow,"resize.resizer",this.updateSize).on("resize.resizer",this.updateSize).on([e.ow,e.editor],"scroll.resizer",()=>{this.isShown&&!this.isResizeMode&&this.hide()}).on(e.ow,"keydown.resizer",this.onKeyDown).on(e.ow,"keyup.resizer",this.onKeyUp).on(e.ow,"mouseup.resizer touchend.resizer",this.onClickOutside)}onStartResizing(e,t){if(!this.element||!this.element.parentNode)return this.hide(),!1;this.handle=e,t.cancelable&&t.preventDefault(),t.stopImmediatePropagation(),this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.isResizeMode=!0,this.startX=t.clientX,this.startY=t.clientY,this.pointerX=t.clientX,this.pointerY=t.clientY;const{j:r}=this;r.e.fire("hidePopup"),r.lock(this.LOCK_KEY),r.e.on(r.ow,"mousemove.resizer touchmove.resizer",this.onResize)}onEndResizing(){const{j:e}=this;e.unlock(),this.isResizeMode=!1,this.isAltMode=!1,e.synchronizeValues(),e.e.off(e.ow,"mousemove.resizer touchmove.resizer",this.onResize)}onResize(e){if(this.isResizeMode){if(!this.element)return;let t,r;if(this.pointerX=e.clientX,this.pointerY=e.clientY,this.j.options.iframe){const i=this.getWorkplacePosition();t=e.clientX+i.left-this.startX,r=e.clientY+i.top-this.startY}else t=this.pointerX-this.startX,r=this.pointerY-this.startY;const i=this.handle.className;let o=0,s=0;const l=this.j.o.resizer.useAspectRatio;!this.isAltMode&&(!0===l||l&&n.J.isTag(this.element,l))?(t?(o=this.width+(i.match(/left/)?-1:1)*t,s=Math.round(o/this.ratio)):(s=this.height+(i.match(/top/)?-1:1)*r,o=Math.round(s*this.ratio)),o>(0,a.innerWidth)(this.j.editor,this.j.ow)&&(o=(0,a.innerWidth)(this.j.editor,this.j.ow),s=Math.round(o/this.ratio))):(o=this.width+(i.match(/left/)?-1:1)*t,s=this.height+(i.match(/top/)?-1:1)*r),o>this.j.o.resizer.min_width&&this.applySize(this.element,"width",this.rect.parentNode.offsetWidth>o?o:"100%"),s>this.j.o.resizer.min_height&&this.applySize(this.element,"height",s),this.updateSize(),this.showSizeViewer(this.element.offsetWidth,this.element.offsetHeight),e.stopImmediatePropagation()}}onKeyDown(e){this.isAltMode=e.key===i.KEY_ALT,!this.isAltMode&&this.isResizeMode&&this.onEndResizing()}onKeyUp(){this.isAltMode&&this.isResizeMode&&this.element&&(this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.startX=this.pointerX,this.startY=this.pointerY),this.isAltMode=!1}onClickOutside(e){if(this.isShown){if(!this.isResizeMode)return this.hide();e.stopImmediatePropagation(),this.onEndResizing()}}getWorkplacePosition(){return(0,a.offset)(this.rect.parentNode||this.j.od.documentElement,this.j,this.j.od,!0)}applySize(e,t,r){const i=n.J.isImage(e)&&this.j.o.resizer.forImageChangeAttributes;i&&(0,a.attr)(e,t,r),i&&!e.style[t]||(0,a.css)(e,t,r)}onDelete(e){this.element&&("JODIT"!==this.element.tagName?this.j.s.select(this.element):(n.J.safeRemove(this.element),this.hide(),e.preventDefault()))}__onChangeEditor(){this.isShown&&(this.element&&this.element.parentNode?this.updateSize():this.hide()),(0,a.$$)("iframe",this.j.editor).forEach(this.__bind)}__bind(e){if(!n.J.isHTMLElement(e)||!this.j.o.allowResizeTags.has(e.tagName.toLowerCase())||(0,a.dataBind)(e,d))return;let t;if((0,a.dataBind)(e,d,!0),n.J.isTag(e,"iframe")){const r=e;n.J.isHTMLElement(e.parentNode)&&(0,a.attr)(e.parentNode,"-jodit_iframe_wrapper")?e=e.parentNode:(t=this.j.createInside.element("jodit",{"data-jodit-temp":1,contenteditable:!1,draggable:!0,"data-jodit_iframe_wrapper":1}),(0,a.attr)(t,"style",(0,a.attr)(e,"style")),(0,a.css)(t,{display:"inline-block"===e.style.display?"inline-block":"block",width:e.offsetWidth,height:e.offsetHeight}),e.parentNode&&e.parentNode.insertBefore(t,e),t.appendChild(e),this.j.e.on(t,"click",()=>{(0,a.attr)(t,"data-jodit-wrapper_active",!0)}),e=t),this.j.e.off(e,"mousedown.select touchstart.select").on(e,"mousedown.select touchstart.select",()=>{this.j.s.select(e)}).off(e,"changesize").on(e,"changesize",()=>{r.setAttribute("width",e.offsetWidth+"px"),r.setAttribute("height",e.offsetHeight+"px")})}this.j.e.on(e,"dragstart",this.hide),!i.IS_ES_NEXT&&i.IS_IE&&this.j.e.on(e,"mousedown",t=>{n.J.isTag(e,"img")&&t.preventDefault()})}showSizeViewer(e,t){this.j.o.resizer.showSize&&(this.sizeViewer.offsetWidth>e||this.sizeViewer.offsetHeight>t?this.hideSizeViewer():(this.sizeViewer.style.opacity="1",this.sizeViewer.textContent=`${e} x ${t}`,this.j.async.setTimeout(this.hideSizeViewer,{timeout:this.j.o.resizer.hideSizeTimeout,label:"hideSizeViewer"})))}show(){this.j.o.readonly||this.isShown||(this.isShown=!0,this.rect.parentNode||((0,a.markOwner)(this.j,this.rect),this.j.workplace.appendChild(this.rect)),this.j.isFullSize&&(this.rect.style.zIndex=""+(0,a.css)(this.j.container,"zIndex")),this.updateSize())}hide(){this.isResizeMode||(this.isResizeMode=!1,this.isShown=!1,this.element=null,n.J.safeRemove(this.rect),(0,a.$$)("[data-jodit-wrapper_active='true']",this.j.editor).forEach(e=>(0,a.attr)(e,"data-jodit-wrapper_active",!1)))}beforeDestruct(e){this.hide(),s.RR.off("hideHelpers",this.hide),e.e.off(this.j.ow,".resizer").off(".resizer")}constructor(){super(...arguments),this.LOCK_KEY="resizer",this.element=null,this.isResizeMode=!1,this.isShown=!1,this.startX=0,this.startY=0,this.width=0,this.height=0,this.ratio=0,this.rect=this.j.c.fromHTML(`<div title="${this.j.i18n("Press Alt for custom resizing")}" class="jodit-resizer">\n\t\t\t\t<div class="jodit-resizer__top-left"></div>\n\t\t\t\t<div class="jodit-resizer__top-right"></div>\n\t\t\t\t<div class="jodit-resizer__bottom-right"></div>\n\t\t\t\t<div class="jodit-resizer__bottom-left"></div>\n\t\t\t\t<span>100x100</span>\n\t\t\t</div>`),this.sizeViewer=this.rect.getElementsByTagName("span")[0],this.pointerX=0,this.pointerY=0,this.isAltMode=!1,this.onClickElement=e=>{this.isResizeMode||this.element===e&&this.isShown||(this.element=e,this.show(),n.J.isTag(this.element,"img")&&!this.element.complete&&this.j.e.one(this.element,"load",this.updateSize))},this.updateSize=()=>{if(!this.isInDestruct&&this.isShown&&this.element&&this.rect){const e=this.getWorkplacePosition(),t=(0,a.offset)(this.element,this.j,this.j.ed),r=parseInt(this.rect.style.left||"0",10),i=t.top-e.top,o=t.left-e.left;parseInt(this.rect.style.top||"0",10)===i&&r===o&&this.rect.offsetWidth===this.element.offsetWidth&&this.rect.offsetHeight===this.element.offsetHeight||((0,a.css)(this.rect,{top:i,left:o,width:this.element.offsetWidth,height:this.element.offsetHeight}),this.j.events&&(this.j.e.fire(this.element,"changesize"),isNaN(r)||this.j.e.fire("resize")))}},this.hideSizeViewer=()=>{this.sizeViewer.style.opacity="0"}}}c([(0,o.watch)(":click")],u.prototype,"onEditorClick",null),c([(0,o.watch)(":afterInsertImage")],u.prototype,"__afterInsertImage",null),c([o.autobind],u.prototype,"onStartResizing",null),c([o.autobind],u.prototype,"onEndResizing",null),c([o.autobind],u.prototype,"onResize",null),c([o.autobind],u.prototype,"onKeyDown",null),c([o.autobind],u.prototype,"onKeyUp",null),c([o.autobind],u.prototype,"onClickOutside",null),c([(0,o.watch)(":change")],u.prototype,"__onChangeEditor",null),c([o.autobind],u.prototype,"__bind",null),c([o.autobind,(0,o.watch)(":hideResizer")],u.prototype,"hide",null),s.fg.add("resizer",u)},12045(e,t,r){function i(e){return!!e&&e instanceof DOMException&&"AbortError"===e.name}r.d(t,{z(){return i}})},12060(e,t,r){r.d(t,{X(){return i.X}});var i=r(20218)},12081(e,t,r){r.d(t,{wc(){return i.w}}),r(65638);var i=r(6700)},12153(e,t,r){r.d(t,{I(){return n}}),r(82758);var i=r(21537),o=r(41180);class n{static getIcon(e){return/<svg/i.test(e)?e:n.icons[e]||n.icons[e.replace(/-/g,"_")]||n.icons[e.replace(/_/g,"-")]||n.icons[(0,i.camelCase)(e)]||n.icons[(0,i.kebabCase)(e)]||n.icons[e.toLowerCase()]}static exists(e){return void 0!==this.getIcon(e)}static get(e,t="<span></span>"){return this.getIcon(e)||t}static set(e,t){return this.icons[e.replace("_","-")]=t,this}static makeIcon(e,t){var r,i,s,a;if(!t)return;let l;const{name:c,iconURL:d,fill:u}=t,h=c.replace(/[^a-zA-Z0-9]/g,"_");let p;/<svg/.test(c)||(p=null===(i=(r=e.o).getIcon)||void 0===i?void 0:i.call(r,c,h));const f=`${c}${d}${u}${null!=p?p:""}`;if(e.o.cache&&this.__cache.has(f))return null===(s=this.__cache.get(f))||void 0===s?void 0:s.cloneNode(!0);if(d)l=e.c.span(),(0,o.A)(l,"backgroundImage","url("+d.replace("{basePath}",(null==e?void 0:e.basePath)||"")+")");else{const t=p||n.get(c,"")||(null===(a=e.o.extraIcons)||void 0===a?void 0:a[c]);t&&(l=e.c.fromHTML(t.trim()),/^<svg/i.test(c)||l.classList.add("jodit-icon_"+h))}return l&&(l.classList.add("jodit-icon"),l.style.fill=u,e.o.cache&&this.__cache.set(f,l.cloneNode(!0))),l}}n.icons={},n.__cache=new Map},12202(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1344 1472q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm256 0q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128-224v320q0 40-28 68t-68 28h-1472q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h427q21 56 70.5 92t110.5 36h256q61 0 110.5-36t70.5-92h427q40 0 68 28t28 68zm-325-648q-17 40-59 40h-256v448q0 26-19 45t-45 19h-256q-26 0-45-19t-19-45v-448h-256q-42 0-59-40-17-39 14-69l448-448q18-19 45-19t45 19l448 448q31 30 14 69z"/> </svg> '},12234(e,t,r){r.d(t,{$(){return l}});var i,o=r(87325),n=r(29960),s=r(80256),a=r(30389);let l=i=class e extends s.t{className(){return"UISelect"}createContainer(e){var t;const r=super.createContainer(e),{j:i}=this,{nativeInput:o}=this,s=()=>i.create.element("option");if(void 0!==e.placeholder){const t=s();t.value="",t.text=i.i18n(e.placeholder),o.add(t)}return null===(t=e.options)||void 0===t||t.forEach(e=>{const t=s();t.value=""+e.value,t.text=i.i18n(e.text),o.add(t)}),e.size&&e.size>0&&(0,n.C)(o,"size",e.size),e.multiple&&(0,n.C)(o,"multiple",""),r}createNativeInput(){return this.j.create.element("select")}updateValidators(){super.updateValidators(),this.state.required&&(this.validators.delete(a.O.required),this.validators.add(a.U.m))}constructor(e,t){super(e,t),this.state={...i.defaultState},Object.assign(this.state,t)}};l.defaultState={...s.t.defaultState,options:[],size:1,multiple:!1},l=i=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([o.s],l)},12270(e,t,r){r.d(t,{IJ(){return c},Tz(){return d},_B(){return a},zy(){return l}});var i=r(82758),o=r(2748),n=r(76078);const s="jd-tmp-selection";function a(e,t,r,n,a){if(null==t.startContainer.nodeValue||null==t.endContainer.nodeValue)return;if(((e,t,r)=>{if(e.o.search.useCustomHighlightAPI&&i.globalWindow&&void 0!==i.globalWindow.Highlight){const i=[t,...r].map(t=>{const r=e.selection.createRange();return r.setStart(t.startContainer,t.startOffset),r.setEnd(t.endContainer,t.endOffset),r}),o=new Highlight(...i);return CSS.highlights.clear(),CSS.highlights.set("jodit-search-result",o),r.length=0,!0}return!1})(e,t,r))return;const l=n.element("span",{[s]:!0});o.J.markTemporary(l),((e,t,r)=>{const i=e.startContainer.nodeValue;let n=0;if(0!==e.startOffset){const t=r.text(i.substring(0,e.startOffset));e.startContainer.nodeValue=i.substring(e.startOffset),o.J.before(e.startContainer,t),e.startContainer===e.endContainer&&(n=e.startOffset,e.endOffset-=n),e.startOffset=0}const s=e.endContainer.nodeValue;if(e.endOffset!==s.length){const i=r.text(s.substring(e.endOffset));e.endContainer.nodeValue=s.substring(0,e.endOffset),o.J.after(e.endContainer,i);for(const r of t){if(r.startContainer!==e.endContainer)break;r.startContainer=i,r.startOffset=r.startOffset-e.endOffset-n,r.endContainer===e.endContainer&&(r.endContainer=i,r.endOffset=r.endOffset-e.endOffset-n)}e.endOffset=e.endContainer.nodeValue.length}})(t,r,n);let c=t.startContainer;do{if(!c)break;if(o.J.isText(c)&&!u(c.parentNode)&&o.J.wrap(c,l.cloneNode(),n),c===t.endContainer)break;let e=c.firstChild||c.nextSibling;if(!e){for(;c&&!c.nextSibling&&c!==a;)c=c.parentNode;e=null==c?void 0:c.nextSibling}c=e}while(c&&c!==a)}function l(e){return(0,n.$$)(`[${s}]`,e)}function c(e){l(e.editor).forEach(e=>o.J.unwrap(e)),(e=>{e.o.search.useCustomHighlightAPI&&i.globalWindow&&void 0!==i.globalWindow.Highlight&&CSS.highlights.clear()})(e)}function d(e){return e.replace(RegExp(`<span[^>]+${s}[^>]+>(.*?)</span>`,"g"),"$1")}function u(e){return o.J.isElement(e)&&e.hasAttribute(s)}},12275(e,t,r){r.d(t,{q(){return d}});var i=r(17263),o=r(82758),n=r(2748),s=r(87612),a=r(70799),l=r(20356),c=r(34013);class d extends l.k{static make(e){return new d(e)}afterInit(e){this.j.e.on("checkReserve",async e=>{const t=this.j.o.license;if((0,i.fI)(e))return"normal";if(!t)return"";const r=e;if(!(0,a.K)(t))return"";let n=(0,i.M0)(t,r);return n||"A">=t[12]||o.IS_TEST||(n=await this.validateLicenseRemote(t,r)),n?"normal":""})}beforeDestruct(e){}async validateLicenseRemote(e,t){const r="validateJoditLicenseRemote",o=this.j.storage.get(r);if(o&&(0,i.M0)(o,t))return!0;const a=document.createElement("script");return a.src=`https://xdsoft.net/jodit/pro/api/licenses/validate/?code=${encodeURIComponent(e)}&host=${encodeURIComponent(t)}`,document.body.appendChild(a),this.j.async.promise(e=>{window.onJoditResolveKeyCode=o=>{try{if((0,s.L)(o))return e(o);(0,i.M0)(o,t)?(this.j.storage.set(r,o),e(!0)):e(!1)}finally{n.J.safeRemove(a)}},this.j.async.setTimeout(()=>{e(!1),n.J.safeRemove(a)},3e3)})}}c.A.plugins.add("license",d)},12391(e,t,r){var i=r(65478),o=r(580),n=r(21537),s=r(41409),a=(r(4604),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});const l="addnewline";class c extends s.Plugin{__show(){this.j.o.readonly||this.j.isLocked||(this.j.async.clearTimeout(this.__timeout),this.__isShown||(this.__isShown=!0,this.j.container.appendChild(this.__line),this.__line.style.width=this.j.container.clientWidth+"px"))}onLock(e){e&&this.__isShown&&this.__hideForce()}__hide(){this.__isShown&&!this.__lineInFocus&&(this.__timeout=this.j.async.setTimeout(this.__hideForce,{timeout:500,label:"add-new-line-hide"}))}afterInit(e){e.o.addNewLine&&(e.e.on(this.__line,"mousemove",e=>{e.stopPropagation()}).on(this.__line,"mousedown touchstart",this.__onClickLine).on("change",this.__hideForce).on(this.__line,"mouseenter",()=>{this.j.async.clearTimeout(this.__timeout),this.__lineInFocus=!0}).on(this.__line,"mouseleave",()=>{this.__lineInFocus=!1}).on("changePlace",this.__addEventListeners.bind(this)),this.__addEventListeners())}__addEventListeners(){const e=this.j;e.e.off(e.editor,"."+l).off(e.container,"."+l).off("."+l).on([e.ow,e.ew,e.editor],"scroll."+l,this.__hideForce).on("finishedCleanHTMLWorker."+l,this.__hideForce).on(e.editor,"click."+l,this.__hide).on(e.container,"mouseleave."+l,this.__hide).on(e.editor,"mousemove."+l,this.__onMouseMove)}onDblClickEditor(e){const t=this.j;if(!t.o.readonly&&t.o.addNewLineOnDBLClick&&e.target===t.editor&&t.s.isCollapsed()){const r=(0,n.offset)(t.editor,t,t.ed),i=e.pageY-t.ew.scrollX,o=t.createInside.element(t.o.enter);Math.abs(i-(r.height+r.top))>Math.abs(i-r.top)&&t.editor.firstChild?t.editor.insertBefore(o,t.editor.firstChild):t.editor.appendChild(o),t.s.setCursorIn(o),t.synchronizeValues(),this.__hideForce(),e.preventDefault()}}__onMouseMove(e){const t=this.j;let r=t.ed.elementFromPoint(e.clientX,e.clientY);if(!s.Dom.isHTMLElement(r)||!s.Dom.isOrContains(t.editor,r))return;if(t.editor===r||this.__isMatchedTag(r)||(r=s.Dom.closest(r,this.__isMatchedTag,t.editor)),!r)return void this.__hide();if(this.__isMatchedTag(r)){const e=s.Dom.up(r,s.Dom.isBlock,t.editor);e&&e!==t.editor&&(r=e)}const i=(0,n.position)(r,this.j);let o=!1,{clientY:a,clientX:l}=e;if(this.j.iframe){const{top:e,left:t}=(0,n.position)(this.j.iframe,this.j,!0);a+=e,l+=t}const c=this.j.o.addNewLineDeltaShow;Math.abs(a-i.top)>c?Math.abs(a-(i.top+i.height))>c||(o=i.top+i.height,this.__isBeforeContent=!1):(o=i.top,this.__isBeforeContent=!0);const d=t.editor===r;!1!==o&&(d&&!this.__isBeforeContent||!d&&!(0,n.call)(this.__isBeforeContent?s.Dom.prev:s.Dom.next,r,this.__canGetFocus,t.editor))?(this.__line.style.top=o+"px",this.__current=r,this.__show(),this.__line.style.setProperty("--jd-anl-handle-offset",l-i.left-10+"px")):(this.__current=!1,this.__hide())}beforeDestruct(){this.j.async.clearTimeout(this.__timeout),this.j.e.off(this.__line).off("changePlace",this.__addEventListeners),s.Dom.safeRemove(this.__line),this.j.e.off([this.j.ow,this.j.ew,this.j.editor],"."+l).off(this.j.container,"."+l).off("."+l)}constructor(){super(...arguments),this.__line=this.j.c.fromHTML(`<div role="button" tabindex="-1" title="${this.j.i18n("Break")}" class="jodit-add-new-line"><span>${s.Icon.get("enter")}</span></div>`),this.__isMatchedTag=e=>!(!e||!this.j.o.addNewLineTagsTriggers.includes(e.nodeName.toLowerCase())),this.__isBeforeContent=!1,this.__lineInFocus=!1,this.__isShown=!1,this.__hideForce=()=>{this.__isShown&&(this.__isShown=!1,this.j.async.clearTimeout(this.__timeout),this.__lineInFocus=!1,s.Dom.safeRemove(this.__line),this.__line.style.setProperty("--jd-anl-handle-offset","0"))},this.__canGetFocus=e=>null!=e&&s.Dom.isBlock(e)&&!/^(img|table|iframe|hr)$/i.test(e.nodeName),this.__onClickLine=e=>{const t=this.j,r=t.createInside.element(t.o.enter);this.__isBeforeContent&&this.__current&&this.__current.parentNode?this.__current===t.editor?s.Dom.prepend(t.editor,r):this.__current.parentNode.insertBefore(r,this.__current):t.editor.appendChild(r),t.s.setCursorIn(r),(0,n.scrollIntoViewIfNeeded)(r,t.editor,t.ed),t.synchronizeValues(),this.__hideForce(),e.preventDefault()}}}a([(0,i.watch)(":lock")],c.prototype,"onLock",null),a([i.autobind],c.prototype,"__hide",null),a([(0,i.watch)(":dblclick")],c.prototype,"onDblClickEditor",null),a([(0,i.throttle)(e=>e.defaultTimeout)],c.prototype,"__onMouseMove",null),o.fg.add("addNewLine",c)},12474(e,t,r){r.d(t,{_(){return o}});var i=r(2748);function o(e,t,r){const o=i.J.closest(t,i.J.isElement,e.editor);if(!o)return!1;const n=i.J.findNotEmptySibling(o,r);return!(!n||!i.J.isEmpty(n)||(i.J.safeRemove(n),e.s.setCursorBefore(t),0))}},12475(e,t,r){r.d(t,{N(){return o},k(){return i}});const i=e=>e.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),o=e=>e.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},12972(e,t,r){r.d(t,{f(){return i}});const i=(e,t=8)=>{const r=[];for(;e.length;)r.push(e.substr(0,t)),e=e.substr(t);return r[1]=r[1].replace(/./g,"*"),r[2]=r[2].replace(/./g,"*"),r.join("-")}},13252(e,t,r){r.d(t,{D(){return n},w(){return o}});var i=r(82758);function o(e,t,...r){return t?i.globalWindow.setTimeout(e,t,...r):(e.call(null,...r),0)}function n(e){i.globalWindow.clearTimeout(e)}},13465(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path stroke-width="0" d="M381 1620q0 80-54.5 126t-135.5 46q-106 0-172-66l57-88q49 45 106 45 29 0 50.5-14.5t21.5-42.5q0-64-105-56l-26-56q8-10 32.5-43.5t42.5-54 37-38.5v-1q-16 0-48.5 1t-48.5 1v53h-106v-152h333v88l-95 115q51 12 81 49t30 88zm2-627v159h-362q-6-36-6-54 0-51 23.5-93t56.5-68 66-47.5 56.5-43.5 23.5-45q0-25-14.5-38.5t-39.5-13.5q-46 0-81 58l-85-59q24-51 71.5-79.5t105.5-28.5q73 0 123 41.5t50 112.5q0 50-34 91.5t-75 64.5-75.5 50.5-35.5 52.5h127v-60h105zm1409 319v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm-1408-899v99h-335v-99h107q0-41 .5-122t.5-121v-12h-2q-8 17-50 54l-71-76 136-127h106v404h108zm1408 387v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/> </svg> '},13525(e,t,r){r.d(t,{u(){return s}});var i=r(78213),o=r(23282),n=r(89890);function s(e){return(t,r)=>{if(!(0,o.T)(t[r]))throw(0,n.z3)("Handler must be a Function");t.hookStatus(i.f.ready,t=>{const{async:i}=t,o=t[r];let n=0;Object.defineProperty(t,r,{configurable:!0,value:function r(...s){i.clearTimeout(n),e(t)?o.apply(t,s):n=i.setTimeout(()=>r(...s),10)}})})}}},14041(e,t,r){r.d(t,{M(){return l},o(){return d}});var i=r(82758),o=r(12475),n=r(63799),s=r(89672);const a=new Set;async function l(e,t){const r=c(e,t,!1);if(!a.has(r))return a.add(r),(0,n.S5)(e,r)}function c(e,t,r){return t=(0,o.k)(t),e.basePath+"plugins/"+t+"/"+t+(e.minified?".min":"")+"."+(r?"js":"css")}function d(e,t,r,o){try{const i=r.filter(t=>!e.has((0,s.P)(t.name)));i.length&&((e,t,r)=>{t.map(t=>{const i=t.url||c(e,t.name,!0);return(0,n.w4)(e,i).then(r).catch(()=>null)})})(t,i,o)}catch(e){if(!i.IS_PROD)throw e}}},14306(e,t){t.A=["bold","italic","|","ul","ol","eraser","|","fontsize","brush","paragraph","---","image","table","\n","link","|","align","|","undo","redo","|","copyformat","fullsize","---","dots"]},14316(e,t,r){r.d(t,{O(){return o}});var i=r(4510);class o{getElm(e){return this.container.querySelector("."+this.getFullElName(e))}getElms(e){return(0,i.$)(this.container.querySelectorAll("."+this.getFullElName(e)))}}},14415(e,t,r){r.d(t,{G(){return n},n(){return s}});var i=r(84767),o=r(49055);const n=e=>/^[-+]?[0-9.]+(px)?$/.test(""+e)?parseFloat(""+e):e,s=e=>(0,i.E)(e)?e?e+"px":""+e:(e=(0,o.Bq)(e),/^[0-9]+$/.test(e)?e+"px":e)},14625(e,t,r){r.d(t,{Y(){return o}});var i=r(4510);function o(e){const t=(e,t=e.ownerDocument.styleSheets)=>(0,i.$)(t).map(e=>{try{return(0,i.$)(e.cssRules)}catch(e){}return[]}).flat().filter(t=>{try{return!(!t||!e.matches(t.selectorText))}catch(e){}return!1});class r{generateCSS(){let e="";for(const t in this.css)if(!/:not\(/.test(t)){e+=t+" { ";for(const r in this.css[t])e+=r+": "+this.css[t][r]+"; ";e+="}\n"}return e}constructor(r,i,o){this.css={};const n=o||{},s=t=>{const r=t.selectorText.split(",").map(e=>e.trim()).sort().join(",");0==!!this.css[r]&&(this.css[r]={});const i=t.style.cssText.split(/;(?![A-Za-z0-9])/);for(let t=0;i.length>t;t++){if(!i[t])continue;const o=i[t].split(":");o[0]=o[0].trim(),o[1]=o[1].trim(),this.css[r][o[0]]=o[1].replace(/var\(([^)]+)\)/g,(t,r)=>{const[i,o]=r.split(",");return(e.ew.getComputedStyle(e.editor).getPropertyValue(i.trim())||o||t).trim()})}};(()=>{const o=r.innerHeight,a=i.createTreeWalker(e.editor,NodeFilter.SHOW_ELEMENT,()=>NodeFilter.FILTER_ACCEPT);for(;a.nextNode();){const e=a.currentNode;if(o>e.getBoundingClientRect().top||n.scanFullPage){const r=t(e);if(r)for(let e=0;r.length>e;e++)s(r[e])}}})()}}try{return new r(e.ew,e.ed,{scanFullPage:!0}).generateCSS()}catch(e){}return""}},14630(e,t,r){r.d(t,{C(){return h}});var i=r(62845),o=r(91748),n=r(73792),s=r(87536),a=r(12474),l=r(58940),c=r(56825),d=r(90240),u=r(68034);const h=[c.f,s.V,n.H,d.R,l.C,a._,o.a,i.E,u.B]},14721(e,t,r){r.d(t,{N(){return n}});var i=r(41180),o=r(14415);function n(e,t,r,n,s,a,l){const c=[t,r,n,s],d=(e,t)=>{const r=(0,i.A)(a,e),n=(0,o.n)(t);""+r!=""+n&&(0,i.A)(a,e,n)};if(l)d("margin",t);else{const e=["margin-top","margin-right","margin-bottom","margin-left"];c.forEach((t,r)=>{d(e[r],t)})}}},14773(e,t,r){function i(e){return e&&"function"==typeof e.then}r.d(t,{y(){return i}})},14862(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 312 312"> <g transform="translate(0.000000,312.000000) scale(0.100000,-0.100000)" stroke="none"> <path d="M50 3109 c0 -7 -11 -22 -25 -35 l-25 -23 0 -961 0 -961 32 -29 32 -30 501 -2 500 -3 3 -502 2 -502 31 -30 31 -31 958 0 958 0 23 25 c13 13 30 25 37 25 9 0 12 199 12 960 0 686 -3 960 -11 960 -6 0 -24 12 -40 28 l-29 27 -503 5 -502 5 -5 502 -5 503 -28 29 c-15 16 -27 34 -27 40 0 8 -274 11 -960 11 -710 0 -960 -3 -960 -11z m1738 -698 l2 -453 -40 -40 c-22 -22 -40 -43 -40 -47 0 -4 36 -42 79 -85 88 -87 82 -87 141 -23 l26 27 455 -2 454 -3 0 -775 0 -775 -775 0 -775 0 -3 450 -2 449 47 48 47 48 -82 80 c-44 44 -84 80 -87 80 -3 0 -25 -18 -48 -40 l-41 -40 -456 2 -455 3 -3 765 c-1 421 0 771 3 778 3 10 164 12 777 10 l773 -3 3 -454z"/> <path d="M607 2492 c-42 -42 -77 -82 -77 -87 0 -6 86 -96 190 -200 105 -104 190 -197 190 -205 0 -8 -41 -56 -92 -107 -65 -65 -87 -94 -77 -98 8 -3 138 -4 289 -3 l275 3 3 275 c1 151 0 281 -3 289 -4 10 -35 -14 -103 -82 -54 -53 -103 -97 -109 -97 -7 0 -99 88 -206 195 -107 107 -196 195 -198 195 -3 0 -39 -35 -82 -78z"/> <path d="M1470 1639 c-47 -49 -87 -91 -89 -94 -5 -6 149 -165 160 -165 9 0 189 179 189 188 0 12 -154 162 -165 161 -6 0 -48 -41 -95 -90z"/> <path d="M1797 1303 c-9 -8 -9 -568 0 -576 4 -4 50 36 103 88 54 52 101 95 106 95 5 0 95 -85 199 -190 104 -104 194 -190 200 -190 6 0 46 36 90 80 l79 79 -197 196 c-108 108 -197 199 -197 203 0 4 45 52 99 106 55 55 98 103 95 108 -6 10 -568 11 -577 1z"/> </g> </svg> '},14984(e,t,r){var i=r(21537),o=r(62843),n=r(2525),s=r(12153),a=r(6441),l=r(92762),c=r(37775);a.T.prototype.video={parseUrlToVideoEmbed:i.convertMediaUrlToVideoEmbed,defaultWidth:400,defaultHeight:345},s.I.set("video",c.A),a.T.prototype.controls.video={popup(e,t,r){const s=new n.XV(e,[new n.Yh(e,[new n.tS(e,{name:"url",required:!0,label:"URL",placeholder:"https://",validators:["url"]})]),new n.Yh(e,[(0,o.$n)(e,"","Insert","primary").onAction(()=>s.submit())])]),a=new n.XV(e,[new n.Yh(e,[new n.F0(e,{name:"code",required:!0,label:"Embed code"})]),new n.Yh(e,[(0,o.$n)(e,"","Insert","primary").onAction(()=>a.submit())])]),c=[],d=t=>{e.s.restore(),e.s.insertHTML(t),r()};return e.s.save(),c.push({icon:"link",name:"Link",content:s.container},{icon:"source",name:"Code",content:a.container}),s.onSubmit(t=>{var r,o,n,s;d((0,i.call)(null!==(o=null===(r=e.o.video)||void 0===r?void 0:r.parseUrlToVideoEmbed)&&void 0!==o?o:i.convertMediaUrlToVideoEmbed,t.url,{width:null===(n=e.o.video)||void 0===n?void 0:n.defaultWidth,height:null===(s=e.o.video)||void 0===s?void 0:s.defaultHeight}))}),a.onSubmit(e=>{d(e.code)}),(0,l.Zg)(e,c)},tags:["iframe"],tooltip:"Insert youtube/vimeo video"}},15456(e,t,r){r.d(t,{X(){return i}});const i=e=>{if("undefined"!=typeof navigator&&-1!==navigator.userAgent.indexOf("Mac OS X")){if(e.metaKey&&!e.altKey)return!0}else if(e.ctrlKey&&!e.altKey)return!0;return!1}},15738(e,t,r){r.d(t,{X(){return n},d(){return s}});var i=r(4510),o=r(38837);const n="JoditEventDefaultNamespace";class s{get(e,t){if(this.__store.has(t)){const r=this.__store.get(t);return(0,o.v)(r,"-"),r[e]}}indexOf(e,t,r){const i=this.get(e,t);if(i)for(let e=0;i.length>e;e+=1)if(i[e].originalCallback===r)return e;return!1}namespaces(e=!1){const t=(0,i.$)(this.__store.keys());return e?t.filter(e=>e!==n):t}events(e){const t=this.__store.get(e);return t?Object.keys(t):[]}set(e,t,r,i=!1){let o=this.__store.get(t);o||(o={},this.__store.set(t,o)),void 0===o[e]&&(o[e]=[]),i?o[e].unshift(r):o[e].push(r)}clear(){this.__store.clear()}clearEvents(e,t){const r=this.__store.get(e);r&&r[t]&&(delete r[t],Object.keys(r).length||this.__store.delete(e))}isEmpty(){return 0===this.__store.size}constructor(){this.__store=new Map}}},16020(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1760 896q14 0 23 9t9 23v64q0 14-9 23t-23 9h-1728q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h1728zm-1277-64q-28-35-51-80-48-97-48-188 0-181 134-309 133-127 393-127 50 0 167 19 66 12 177 48 10 38 21 118 14 123 14 183 0 18-5 45l-12 3-84-6-14-2q-50-149-103-205-88-91-210-91-114 0-182 59-67 58-67 146 0 73 66 140t279 129q69 20 173 66 58 28 95 52h-743zm507 256h411q7 39 7 92 0 111-41 212-23 55-71 104-37 35-109 81-80 48-153 66-80 21-203 21-114 0-195-23l-140-40q-57-16-72-28-8-8-8-22v-13q0-108-2-156-1-30 0-68l2-37v-44l102-2q15 34 30 71t22.5 56 12.5 27q35 57 80 94 43 36 105 57 59 22 132 22 64 0 139-27 77-26 122-86 47-61 47-129 0-84-81-157-34-29-137-71z"/> </svg> '},16233(e,t,r){var i=r(22732),o=r(580),n=r(12153),s=r(6441),a=r(72337);n.I.set("hr",a.A),s.T.prototype.controls.hr={command:"insertHorizontalRule",tags:["hr"],tooltip:"Insert Horizontal Line"},o.fg.add("hr",e=>{e.registerButton({name:"hr",group:"insert"}),e.registerCommand("insertHorizontalRule",()=>{const t=e.createInside.element("hr");e.s.insertNode(t,!1,!1);const r=i.J.closest(t.parentElement,i.J.isBlock,e.editor);r&&i.J.isEmpty(r)&&r!==e.editor&&(i.J.after(r,t),i.J.safeRemove(r));let o=i.J.next(t,i.J.isBlock,e.editor,!1);return o||(o=e.createInside.element(e.o.enter),i.J.after(t,o)),e.s.setCursorIn(o),!1})})},16260(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1203 544q0 13-10 23l-393 393 393 393q10 10 10 23t-10 23l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg> '},16442(e,t,r){r.d(t,{m(){return s}});var i=r(82758),o=r(2748),n=r(43555);function s(e){if(!e)return null;const t=o.J.isHTMLElement(e),r=t&&(0,n.AH)(e,"overflowY");return t&&"visible"!==r&&"hidden"!==r&&e.scrollHeight>=e.clientHeight?e:s(e.parentNode)||i.globalDocument.scrollingElement||i.globalDocument.body}},17096(e,t,r){r.d(t,{H(){return o}});const i={i:"em",b:"strong"};function o(e){const{name:t}=e;return t in i&&(e.name=i[t]),e}},17176(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1152 1376v-160q0-14-9-23t-23-9h-96v-512q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896v-160q0-14-9-23t-23-9h-192q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"/> </svg> '},17263(e,t,r){r.d(t,{M0(){return n},fI(){return o}});const i=["*localhost*","staging.","*.dev.","*.test.","*.stg.","stg.*","test.*","beta.*","*demo.*","*test.*","acceptatie.*"];function o(e){return i.some(t=>{var r;return RegExp((r=t.replace(/\*/g,"%ANY%"),r.replace(/[/\-\\^$*+?.()|[\]{}]/g,"\\$&")).replace(/%ANY%/g,".*")).test(e)})}function n(e,t){if((e=>/[A-Z0-9][013456][A-P0-9]{2}[ABC]-([0-3])[ELPDF][E-L4-8]{2}\1-[A-D][R0][J-P5-6]{3}-[DPGHYE][GFPOD]{3}[A-SX-Z]/.test(e))(e=e.replace(/[^A-Z0-9-]/g,"R")))return!0;if(o(t))return!0;const r=(e=>{const t=e.split(".");return t.map(e=>{const t=e[0];return"string"==typeof t&&t.charCodeAt(0)?String.fromCharCode(t.charCodeAt(0)+1):t}).concat(t.map(e=>{const 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")})(t),i=["[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}",r[t]||"[R-T]")),s=RegExp(`^${i.join("-")}$`,"i"),a=e.substring(12,13),l=s.test(e);if(!l&&a===(typeof!t).toUpperCase()[5]){const r=t.split(".");return r.shift(),!!r.length&&n(e,r.join("."))}return l}},17328(e,t,r){r.d(t,{c(){return l}});var i,o=r(65478),n=r(2748),s=r(80256),a=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};let l=i=class e extends s.t{className(){return"UICheckbox"}render(){return this.j.c.element("label",{className:this.componentName})}onChangeChecked(){this.value=""+this.state.checked,this.nativeInput.checked=this.state.checked,this.setMod("checked",this.state.checked)}onChangeNativeCheckBox(){this.state.checked=this.nativeInput.checked}onChangeSwitch(){this.setMod("switch",this.state.switch);let e=this.getElm("switch-slider");this.state.switch?(e||(e=this.j.c.div(this.getFullElName("switch-slider"))),n.J.after(this.nativeInput,e)):n.J.safeRemove(e)}constructor(e,t){super(e,{...t,type:"checkbox"}),this.state={...i.defaultState},Object.assign(this.state,t)}};l.defaultState={...s.t.defaultState,checked:!1,switch:!1},a([(0,o.watch)("state.checked"),(0,o.hook)("ready")],l.prototype,"onChangeChecked",null),a([(0,o.watch)("nativeInput:change")],l.prototype,"onChangeNativeCheckBox",null),a([(0,o.watch)("state.switch"),(0,o.hook)("ready")],l.prototype,"onChangeSwitch",null),l=i=a([o.component],l)},17555(e,t,r){r.r(t),r.d(t,{angle_down(){return i.A},angle_left(){return o.A},angle_right(){return n.A},angle_up(){return s.A},bin(){return a.A},cancel(){return l.A},center(){return c.A},check(){return d.A},chevron(){return u.A},dots(){return h.A},eye(){return p.A},file(){return f.A},folder(){return m.A},info_circle(){return g.A},left(){return v.A},lock(){return b.A},ok(){return y.A},pencil(){return w.A},plus(){return _.A},resize_handler(){return k.A},right(){return C.A},save(){return S.A},settings(){return T.A},unlock(){return E.A},update(){return I.A},upload(){return A.A},valign(){return j.A}});var i=r(78173),o=r(16260),n=r(37663),s=r(51036),a=r(31554),l=r(18309),c=r(99762),d=r(7903),u=r(58032),h=r(52507),p=r(43478),f=r(60097),m=r(49155),g=r(17176),v=r(57882),b=r(58908),y=r(24829),w=r(4038),_=r(45575),k=r(84858),C=r(445),S=r(36886),T=r(10766),E=r(33651),I=r(20362),A=r(12202),j=r(80152)},17583(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M448 1536h896v-256h-896v256zm0-640h896v-384h-160q-40 0-68-28t-28-68v-160h-640v640zm1152 64q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128 0v416q0 13-9.5 22.5t-22.5 9.5h-224v160q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-160h-224q-13 0-22.5-9.5t-9.5-22.5v-416q0-79 56.5-135.5t135.5-56.5h64v-544q0-40 28-68t68-28h672q40 0 88 20t76 48l152 152q28 28 48 76t20 88v256h64q79 0 135.5 56.5t56.5 135.5z"/> </svg> '},18309(e,t){t.A='<svg viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"> <g stroke="none" stroke-width="1"> <path d="M14,1.4 L12.6,0 L7,5.6 L1.4,0 L0,1.4 L5.6,7 L0,12.6 L1.4,14 L7,8.4 L12.6,14 L14,12.6 L8.4,7 L14,1.4 Z"/> </g> </svg> '},18363(e,t,r){r(580).fg.add("poweredByJodit",e=>{const{o:t}=e;t.hidePoweredByJodit||t.inline||!(t.showCharsCounter||t.showWordsCounter||t.showXPathInStatusbar)||e.hookStatus("ready",()=>{e.statusbar.append(e.create.fromHTML('<a\n\t\t\t\t\t\ttabindex="-1"\n\t\t\t\t\t\tstyle="text-transform: uppercase"\n\t\t\t\t\t\tclass="jodit-status-bar-link"\n\t\t\t\t\t\ttarget="_blank"\n\t\t\t\t\t\thref="https://xdsoft.net/jodit/">\n\t\t\t\t\t\t\tPowered by Jodit\n\t\t\t\t\t\t</a>'),!0)})})},19007(e,t){t.A={"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 для зміни розміру"}},19057(e,t,r){r.d(t,{t(){return o}});var i=r(2748);function o(e,t){return!!i.J.prev(e,e=>i.J.isBlock(e)||i.J.isImage(e),t.editor)}},19063(e,t,r){var i=r(2748),o=r(580),n=r(41180),s=r(12153),a=r(6441),l=r(57487),c=r(23914);const d="copy-format",u=["lineHeight","fontWeight","fontStyle","fontSize","fontFamily","color","margin","padding","borderWidth","borderStyle","borderColor","borderRadius","backgroundColor","textDecorationLine"],h=(e,t,r,i)=>{let o=(0,n.A)(r,t);return o===i[t]&&(o=r.parentNode&&r!==e.editor&&r.parentNode!==e.editor?h(e,t,r.parentNode,i):void 0),o};a.T.prototype.controls.copyformat={exec(e,t,{button:r}){if(t){if(e.buffer.exists(d))e.buffer.delete(d),e.e.off(e.editor,"mouseup."+d);else{const r={},o=i.J.up(t,e=>e&&!i.J.isText(e),e.editor)||e.editor,s=e.createInside.span();e.editor.appendChild(s),u.forEach(e=>{r[e]=(0,n.A)(s,e)}),s!==e.editor&&i.J.safeRemove(s);const a=((e,t,r)=>{const i={};return t&&u.forEach(o=>{i[o]=h(e,o,t,r),o.match(/border(Style|Color)/)&&!i.borderWidth&&(i[o]=void 0)}),i})(e,o,r),l=()=>{e.buffer.delete(d);const t=e.s.current();t&&(i.J.isTag(t,"img")?(0,n.A)(t,a):e.s.commitStyle({attributes:{style:a}})),e.e.off(e.editor,"mouseup."+d)};e.e.on(e.editor,"mouseup."+d,l),e.buffer.set(d,!0)}r.update()}},isActive(e){return e.buffer.exists(d)},tooltip:"Paint format"},o.fg.add("copyformat",e=>{e.registerButton({name:"copyformat",group:"clipboard"}),(0,o.JW)(c)}),s.I.set("copyformat",l.A)},19070(e,t,r){r.d(t,{Y(){return s}});var i=r(87325),o=r(43555),n=r(62405);let s=class e extends n.U{className(){return"UIBlock"}constructor(e,t,r={align:"left"}){super(e,t),this.options=r,this.setMod("align",this.options.align||"left"),this.setMod("width",this.options.width||""),this.options.mod&&this.setMod(this.options.mod,!0),this.options.className&&this.container.classList.add(this.options.className),(0,o.CF)(this.container,"data-ref",r.ref),(0,o.CF)(this.container,"ref",r.ref)}};s=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([i.s],s)},19263(e,t,r){r.d(t,{L(){return a}});var i=r(22732),o=r(29960),n=r(82515),s=r(6980);function a(e,t,r){const a=((e,t,r)=>e.elementIsBlock?i.J.up(t,e=>i.J.isBlock(e)&&!i.J.isTag(e,l),r.editor)||(0,s.Y)(e,t,r):((0,o.C)(t,"size",null),t))(e,t,r);return e.elementIsList?(0,n.z)(e,a,r):i.J.replace(a,e.element,r.createInside,!0)}const l=new Set(["td","th","tr","tbody","table","li","ul","ol"])},19271(e,t,r){var i=r(82758),o=r(65478),n=r(2748),s=r(580),a=r(21537),l=r(50911),c=r(8172),d=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};class u extends l.k{afterInit(){this.j.e.on([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)}onDragStart(e){let t=e.target;if(this.onDragEnd(),this.isFragmentFromEditor=n.J.isOrContains(this.j.editor,t,!0),this.isCopyMode=!this.isFragmentFromEditor||(0,a.ctrlKey)(e),this.isFragmentFromEditor){const e=this.j.s.sel,t=e&&e.rangeCount?e.getRangeAt(0):null;t&&(this.bufferRange=t.cloneRange())}else this.bufferRange=null;this.startDragPoint.x=e.clientX,this.startDragPoint.y=e.clientY,(e=>n.J.isElement(e)&&e.classList.contains(c.Q.prototype.getFullElName("item")))(t)&&(t=t.querySelector("img")),n.J.isTag(t,"img")&&(this.draggable=t.cloneNode(!0),(0,a.dataBind)(this.draggable,"target",t)),this.addDragListeners()}addDragListeners(){this.j.e.on("dragover",this.onDrag).on("drop.DragAndDrop",this.onDrop).on(window,"dragend.DragAndDrop drop.DragAndDrop mouseup.DragAndDrop",this.onDragEnd)}removeDragListeners(){this.j.e.off("dragover",this.onDrag).off("drop.DragAndDrop",this.onDrop).off(window,"dragend.DragAndDrop drop.DragAndDrop mouseup.DragAndDrop",this.onDragEnd)}onDrag(e){this.draggable&&(this.j.e.fire("hidePopup"),this.j.s.insertCursorAtPoint(e.clientX,e.clientY),e.preventDefault(),e.stopPropagation())}onDragEnd(){this.draggable&&(n.J.safeRemove(this.draggable),this.draggable=null),this.isCopyMode=!1,this.removeDragListeners()}onDrop(e){if(!e.dataTransfer||!e.dataTransfer.files||!e.dataTransfer.files.length){if(!this.isFragmentFromEditor&&!this.draggable)return this.j.e.fire("paste",e),e.preventDefault(),e.stopPropagation(),!1;const t=this.j.s.sel,r=this.bufferRange||(t&&t.rangeCount?t.getRangeAt(0):null),i=this.__getWorkFragment(r,e);t&&t.removeAllRanges(),this.j.s.insertCursorAtPoint(e.clientX,e.clientY),i&&this.__insertFragment.call(this,i,r),e.preventDefault(),e.stopPropagation()}this.isFragmentFromEditor=!1,this.removeDragListeners()}__getWorkFragment(e,t){let r=null;if(!this.draggable&&e)r=this.isCopyMode?e.cloneContents():e.extractContents();else if(this.draggable)if(this.isCopyMode){const[e,t]="1"===(0,a.attr)(this.draggable,"-is-file")?["a","href"]:["img","src"];r=this.j.createInside.element(e),r.setAttribute(t,(0,a.attr)(this.draggable,"data-src")||(0,a.attr)(this.draggable,"src")||""),"a"===e&&(r.textContent=(0,a.attr)(r,t)||"")}else r=(0,a.dataBind)(this.draggable,"target");else this.getText(t)&&(r=this.j.createInside.fromHTML(this.getText(t)));return r}__insertFragment(e,t){this.j.s.insertNode(e,!1,!1),t&&e.firstChild&&e.lastChild&&(t.setStartBefore(e.firstChild),t.setEndAfter(e.lastChild),this.j.s.selectRange(t),this.j.e.fire("synchro")),n.J.isTag(e,"img")&&this.j.events&&this.j.e.fire("afterInsertImage",e)}beforeDestruct(){this.onDragEnd(),this.j.e.off(window,".DragAndDrop").off(".DragAndDrop").off([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)}constructor(){super(...arguments),this.isFragmentFromEditor=!1,this.isCopyMode=!1,this.startDragPoint={x:0,y:0},this.draggable=null,this.bufferRange=null,this.getText=e=>{const t=(0,a.getDataTransfer)(e);return t?t.getData(i.TEXT_HTML)||t.getData(i.TEXT_PLAIN):null}}}d([o.autobind],u.prototype,"onDragStart",null),d([(0,o.throttle)(e=>e.defaultTimeout/10)],u.prototype,"onDrag",null),d([o.autobind],u.prototype,"onDragEnd",null),d([o.autobind],u.prototype,"onDrop",null),s.fg.add("dragAndDrop",u)},19292(e,t){t.A={"Type something":"Escreva algo...",Advanced:"Avançado","About Jodit":"Sobre o Jodit","Jodit Editor":"Editor Jodit","Jodit User's Guide":"Guia de usuário Jodit","contains detailed help for using":"contém ajuda detalhada para o uso.","For information about the license, please go to our website:":"Para informação sobre a licença, por favor visite nosso site:","Buy full version":"Compre a versão completa","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Todos os direitos reservados.",Anchor:"Link","Open in new tab":"Abrir em nova aba","Open in fullsize":"Abrir editor em tela cheia","Clear Formatting":"Limpar formatação","Fill color or set the text color":"Cor de preenchimento ou cor do texto",Redo:"Refazer",Undo:"Desfazer",Bold:"Negrito",Italic:"Itálico","Insert Unordered List":"Inserir lista não ordenada","Insert Ordered List":"Inserir lista ordenada","Align Center":"Centralizar","Align Justify":"Justificar","Align Left":"Alinhar à Esquerda","Align Right":"Alinhar à Direita","Insert Horizontal Line":"Inserir linha horizontal","Insert Image":"Inserir imagem","Insert file":"Inserir arquivo","Insert youtube/vimeo video":"Inserir vídeo do Youtube/vimeo","Insert link":"Inserir link","Font size":"Tamanho da letra","Font family":"Fonte","Insert format block":"Inserir bloco",Normal:"Normal","Heading 1":"Cabeçalho 1","Heading 2":"Cabeçalho 2","Heading 3":"Cabeçalho 3","Heading 4":"Cabeçalho 4",Quote:"Citação",Code:"Código",Insert:"Inserir","Insert table":"Inserir tabela","Decrease Indent":"Diminuir recuo","Increase Indent":"Aumentar recuo","Select Special Character":"Selecionar caractere especial","Insert Special Character":"Inserir caractere especial","Paint format":"Copiar formato","Change mode":"Mudar modo",Margins:"Margens",top:"cima",right:"direta",bottom:"baixo",left:"esquerda",Styles:"Estilos CSS",Classes:"Classes CSS",Align:"Alinhamento",Right:"Direita",Center:"Centro",Left:"Esquerda","--Not Set--":"--Não Estabelecido--",Src:"Fonte",Title:"Título",Alternative:"Texto Alternativo",Link:"Link","Open link in new tab":"Abrir link em nova aba",Image:"Imagem",file:"Arquivo","Image properties":"Propriedades da imagem",Cancel:"Cancelar",Ok:"Ok","Your code is similar to HTML. Keep as HTML?":"Seu código é similar ao HTML. Manter como HTML?","Paste as HTML":"Colar como HTML?",Keep:"Manter",Clean:"Limpar","Insert as Text":"Inserir como Texto","Word Paste Detected":"Colado do Word Detectado","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"O conteúdo colado veio de um documento Microsoft Word/Excel. Você deseja manter o formato ou limpa-lo?","Insert only Text":"Inserir somente o Texto","File Browser":"Procurar arquivo","Error on load list":"Erro ao carregar a lista","Error on load folders":"Erro ao carregar as pastas","Are you sure?":"Você tem certeza?","Enter Directory name":"Escreva o nome da pasta","Create directory":"Criar pasta","type name":"Escreva seu nome","Drop image":"Soltar imagem","Drop file":"Soltar arquivo","or click":"ou clique","Alternative text":"Texto alternativo",Browse:"Explorar",Upload:"Upload",Background:"Fundo",Text:"Texto",Top:"Cima",Middle:"Meio",Bottom:"Baixo","Insert column before":"Inserir coluna antes","Insert column after":"Inserir coluna depois","Insert row above":"Inserir linha acima","Insert row below":"Inserir linha abaixo","Delete table":"Excluir tabela","Delete row":"Excluir linha","Delete column":"Excluir coluna","Empty cell":"Limpar célula",Delete:"Excluir","Strike through":"Tachado",Underline:"Sublinhar",Break:"Pausa","Search for":"Procurar por","Replace with":"Substituir com",Replace:"Substituir",Edit:"Editar","Vertical align":"Alinhamento vertical","Horizontal align":"Alinhamento horizontal",Filter:"filtrar","Sort by changed":"Ordenar por modificação","Sort by name":"Ordenar por nome","Sort by size":"Ordenar por tamanho","Add folder":"Adicionar pasta",Split:"Dividir","Split vertical":"Dividir vertical","Split horizontal":"Dividir horizontal",Merge:"Mesclar","Add column":"Adicionar coluna","Add row":"Adicionar linha",Border:"Borda","Embed code":"Incluir código",Update:"Atualizar",superscript:"sobrescrito",subscript:"subscrito","Cut selection":"Cortar seleção",Paste:"Colar","Choose Content to Paste":"Escolher conteúdo para colar","Chars: %d":"Caracteres: %d","Words: %d":"Palavras: %d",All:"Tudo","Select %s":"Selecionar: %s","Select all":"Selecionar tudo",source:"HTML",bold:"negrito",italic:"itálico",brush:"pincel",link:"link",undo:"desfazer",redo:"refazer",table:"tabela",image:"imagem",eraser:"apagar",paragraph:"parágrafo",fontsize:"tamanho da letra",video:"vídeo",font:"fonte",about:"Sobre de",print:"Imprimir",underline:"sublinhar",strikethrough:"tachado",indent:"recuar",outdent:"diminuir recuo",fullsize:"Tamanho completo",shrink:"diminuir",hr:"linha horizontal",ul:"lista não ordenada",ol:"lista ordenada",cut:"Cortar",selectall:"Selecionar tudo","Open link":"Abrir link","Edit link":"Editar link","No follow":"Não siga",Unlink:"Remover link",Eye:"Visualizar",pencil:"Editar"," URL":"URL",Reset:"Resetar",Save:"Salvar","Save as ...":"Salvar como...",Resize:"Redimensionar",Crop:"Recortar",Width:"Largura",Height:"Altura","Keep Aspect Ratio":"Manter a proporção",Yes:"Sim",No:"Não",Remove:"Remover",Select:"Selecionar","You can only edit your own images. Download this image on the host?":"Você só pode editar suas próprias imagens. Baixar essa imagem pro servidor?","The image has been successfully uploaded to the host!":"A imagem foi enviada com sucesso para o servidor!",palette:"Palette","There are no files":"Não há arquivos nesse diretório.",Rename:"Húngara","Enter new name":"Digite um novo nome",preview:"preview",download:"Baixar","Paste from clipboard":"Colar da área de transferência","Your browser doesn't support direct access to the clipboard.":"O seu navegador não oferece suporte a acesso direto para a área de transferência.","Copy selection":"Selecção de cópia",copy:"cópia","Border radius":"Border radius","Show all":"Mostrar todos os",Apply:"Aplicar","Please fill out this field":"Por favor, preencha este campo","Please enter a web address":"Por favor introduza um endereço web",Default:"Padrão",Circle:"Círculo",Dot:"Ponto",Quadrate:"Quadro","Lower Alpha":"Letra Minúscula","Lower Greek":"Grego Minúscula","Lower Roman":"Romano Minúscula","Upper Alpha":"Letra Maiúscula","Upper Roman":"Romano Maiúscula",Find:"Encontrar","Find Previous":"Encontrar Anteriores","Find Next":"Localizar Próxima","Insert className":"Insira o nome da classe","Press Alt for custom resizing":"Pressione Alt para redimensionamento personalizado","License: %s":"Licença: %s"}},19306(e,t,r){r.d(t,{y(){return o}});var i=r(23282);function o(e){return!!(e&&e instanceof Object&&(0,i.T)(e.constructor)&&("undefined"!=typeof Jodit&&e instanceof Jodit||e.isJodit))}},19308(e,t,r){r.r(t),r.d(t,{en(){return i},es(){return o}});var i=r(47193),o=r(41324)},20071(e,t,r){var i=r(82758),o=r(580),n=r(43555);r(757),o.fg.add("media",e=>{const t="jodit_fake_wrapper",{mediaFakeTag:r,mediaBlocks:o,mediaInFakeBlock:s}=e.options;s&&e.e.on("afterGetValueFromEditor",e=>{const i=RegExp(`<${r}[^>]+data-${t}[^>]+>([^]+?)</${r}>`,"ig");i.test(e.value)&&(e.value=e.value.replace(i,"$1"))}).on("change afterInit afterSetMode changePlace",e.async.debounce(()=>{e.isDestructed||e.getMode()===i.MODE_SOURCE||(0,n.$$)(o.join(","),e.editor).forEach(i=>{(0,n.mv)(i,t)||((0,n.mv)(i,t,!0),(i=>{if(i.parentNode&&(0,n.CF)(i.parentNode,"data-jodit_iframe_wrapper"))i=i.parentNode;else{const o=e.createInside.element(r,{"data-jodit-temp":1,contenteditable:!1,draggable:!0,["data-"+t]:1});(0,n.CF)(o,"style",(0,n.CF)(i,"style")),o.style.display="inline-block"===i.style.display?"inline-block":"block",o.style.width=i.offsetWidth+"px",o.style.height=i.offsetHeight+"px",i.parentNode&&i.parentNode.insertBefore(o,i),o.appendChild(i),i=o}e.e.off(i,"mousedown.select touchstart.select").on(i,"mousedown.select touchstart.select",()=>{e.s.setCursorAfter(i)})})(i))})},e.defaultTimeout))})},20199(e,t,r){r.d(t,{k(){return c}});var i=r(2748),o=r(38837),n=r(32526),s=r(44253),a=r(77361),l=r(82515);function c(e,t,r,i){if(!t)return i;const o=t.parentElement;if(!o)return i;const n=r.e.fire(a.ar+"BeforeToggleList",i,e,o);if(void 0!==n)return n;const c=r.e.fire.bind(r.e,a.ar+"AfterToggleList");if(i!==a.OJ){const n=(0,s.Y)(e,t.parentElement,r,a.DI,!0)===a.PL;if(i===a.dj||n||o.tagName.toLowerCase()!==e.element){const i=d(a.dj,o,t,r,e),n=(0,l.z)(e,i,r);return c(a.dj,n,e),a.dj}}const u=d(a.OJ,o,t,r,e);return c(a.OJ,u,e),a.OJ}function d(e,t,r,s,l){const c=s.e.fire(a.ar+"BeforeUnwrapList",e,t,l);return c?((0,o.v)(i.J.isHTMLElement(c),a.ar+"BeforeUnwrapList hook must return HTMLElement"),c):((0,n.y)(t,r,s),(0,o.v)(i.J.isHTMLElement(r.parentElement),"Element should be inside the list"),i.J.unwrap(r.parentElement),i.J.replace(r,"br"!==s.o.enter.toLowerCase()?s.o.enter:s.createInside.fragment(),s.createInside))}},20201(e,t,r){r.d(t,{r(){return n}});var i=r(22732),o=r(30465);async function n(e){e.tree.setMod("active",!0),i.J.detach(e.tree.container);const t=(0,o.f)(e);if(e.o.showFoldersPanel){e.tree.setMod("loading",!0);const r=e.dataProvider.tree(e.state.currentPath,e.state.currentSource).then(t=>{e.state.sources=t}).catch(e.status).finally(()=>e.tree.setMod("loading",!1));return Promise.all([r,t])}return e.tree.setMod("active",!1),t}},20218(e,t,r){r.d(t,{X(){return a}});var i=r(82758),o=r(2748),n=r(21537),s=r(38837);class a{get doc(){return(0,n.isFunction)(this.document)?this.document():this.document}element(e,t,r){const i=this.doc.createElement(e.toLowerCase());return this.applyCreateAttributes(i),t&&((0,n.isPlainObject)(t)?(0,n.attr)(i,t):r=t),r&&(0,n.asArray)(r).forEach(e=>i.appendChild((0,n.isString)(e)?this.fromHTML(e):e)),i}div(e,t,r){const i=this.element("div",t,r);return e&&(i.className=e),i}sandbox(){var e;const t=this.element("iframe",{sandbox:"allow-same-origin"});this.doc.body.appendChild(t);const r=null===(e=t.contentWindow)||void 0===e?void 0:e.document;if((0,s.v)(r,"iframe.contentWindow.document"),!r)throw Error("Iframe error");return r.open(),r.write("<!DOCTYPE html><html><head></head><body></body></html>"),r.close(),[r.body,t]}span(e,t,r){const i=this.element("span",t,r);return e&&(i.className=e),i}a(e,t,r){const i=this.element("a",t,r);return e&&(i.className=e),i}text(e){return this.doc.createTextNode(e)}fake(){return this.text(i.INVISIBLE_SPACE)}fragment(){return this.doc.createDocumentFragment()}fromHTML(e,t){const r=this.div();r.innerHTML=""+e;const i=r.firstChild===r.lastChild&&r.firstChild?r.firstChild:r;if(o.J.safeRemove(i),t){const e=(0,n.refs)(i);Object.keys(t).forEach(r=>{const i=e[r];i&&!1===t[r]&&o.J.hide(i)})}return i}applyCreateAttributes(e){if(this.createAttributes){const t=this.createAttributes;if(t&&t[e.tagName.toLowerCase()]){const r=t[e.tagName.toLowerCase()];(0,n.isFunction)(r)?r(e):(0,n.isPlainObject)(r)&&(0,n.attr)(e,r)}}}constructor(e,t){this.document=e,this.createAttributes=t}}},20356(e,t,r){r.d(t,{k(){return a}});var i=r(91907),o=r(65478),n=r(19306),s=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};class a extends i.vG{className(){return"Plugin"}__afterPluginSystemInit(){const{j:e,buttons:t}=this;t&&(0,n.y)(e)&&t.forEach(t=>{e.registerButton(t)})}__afterInit(){this.__inited=!0,this.setStatus(i.f.ready),this.afterInit(this.jodit)}init(e){this.jodit.isReady&&(this.afterInit(this.jodit),this.__afterPluginSystemInit(),this.jodit.e.fire("rebuildToolbar"))}__beforeDestruct(){var e;if(this.isInDestruct)return;const{j:t}=this;if(t.e.off("afterPluginSystemInit",this.__afterPluginSystemInit).off("afterInit",this.__afterInit).off("beforeDestruct",this.destruct),this.setStatus(i.f.beforeDestruct),!this.__inited)return super.destruct();(0,n.y)(t)&&(null===(e=this.buttons)||void 0===e||e.forEach(e=>{null==t||t.unregisterButton(e)})),this.beforeDestruct(this.j),super.destruct()}constructor(e){super(e),this.buttons=[],this.hasStyle=!1,this.__inited=!1,e.e.on("afterPluginSystemInit",this.__afterPluginSystemInit).on("afterInit",this.__afterInit).on("beforeDestruct",this.__beforeDestruct)}}a.requires=[],s([o.autobind],a.prototype,"__afterPluginSystemInit",null),s([o.autobind],a.prototype,"__afterInit",null),s([o.autobind],a.prototype,"__beforeDestruct",null)},20362(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1639 1056q0 5-1 7-64 268-268 434.5t-478 166.5q-146 0-282.5-55t-243.5-157l-129 129q-19 19-45 19t-45-19-19-45v-448q0-26 19-45t45-19h448q26 0 45 19t19 45-19 45l-137 137q71 66 161 102t187 36q134 0 250-65t186-179q11-17 53-117 8-23 30-23h192q13 0 22.5 9.5t9.5 22.5zm25-800v448q0 26-19 45t-45 19h-448q-26 0-45-19t-19-45 19-45l138-138q-148-137-349-137-134 0-250 65t-186 179q-11 17-53 117-8 23-30 23h-199q-13 0-22.5-9.5t-9.5-22.5v-7q65-268 270-434.5t480-166.5q146 0 284 55.5t245 156.5l130-129q19-19 45-19t45 19 19 45z"/> </svg> '},20882(e,t,r){r.d(t,{M(){return a}});var i=r(22732),o=r(70799),n=r(25726),s=r(41180);const a={name:"left",childTemplate(e,t,r){return r},list:["Left","Right","Center","Normal"],exec(e,t,{control:r}){if(!i.J.isTag(t,new Set(["img","jodit","jodit-media"])))return;const s=r.args&&(0,o.K)(r.args[0])?r.args[0].toLowerCase():"";if(!s)return!1;(0,n.Mr)(t,s),i.J.isTag(t,new Set(["jodit","jodit-media"]))&&t.firstElementChild&&(0,n.Mr)(t.firstElementChild,s),e.synchronizeValues(),e.e.fire("recalcPositionPopup")},tooltip:"Horizontal align"};t.A=[{name:"delete",icon:"bin",tooltip:"Delete",exec(e,t){t&&e.s.removeNode(t)}},{name:"pencil",exec(e,t){"img"===t.tagName.toLowerCase()&&e.e.fire("openImageProperties",t)},tooltip:"Edit"},{name:"valign",list:["Top","Middle","Bottom","Normal"],tooltip:"Vertical align",exec(e,t,{control:r}){if(!i.J.isTag(t,"img"))return;const n=r.args&&(0,o.K)(r.args[0])?r.args[0].toLowerCase():"";if(!n)return!1;(0,s.A)(t,"vertical-align","normal"===n?"":n),e.e.fire("recalcPositionPopup")}},a]},21162(e,t,r){r.d(t,{M(){return i}});class i{set(e,t){return this.data.set(e,t),this}delete(e){return this.data.delete(e),this}get(e){return this.data.get(e)}exists(e){return this.data.has(e)}clear(){return this.data.clear(),this}constructor(){this.data=new Map}}},21224(e,t,r){r.d(t,{$(){return n}});var i=r(35278),o=r(49055);const n=e=>{const t=["#"];let r=(0,i.s)(e);if(!r)return!1;if(r=(0,o.Bq)(r.toUpperCase()),r=r.substring(1),3===r.length){for(let e=0;3>e;e+=1)t.push(r[e]),t.push(r[e]);return t.join("")}return r.length>6&&(r=r.slice(0,6)),"#"+r}},21473(e,t,r){r.d(t,{N(){return i}});const i=(e,t)=>{const r=t.links??{};if(e.attributes.href&&e.attributes.href.match(/#.+$/)&&(r[e.attributes.href.match(/#(.+)$/)[1]]=e),e.attributes.name&&r[e.attributes.name]){const t=r[e.attributes.name];t.attributes.href=t.attributes.href.replace(/.*#(.*)$/,"#$1")}return t.links=r,e}},21491(e,t,r){r.d(t,{$K(){return c},BJ(){return d},RR(){return u}});var i=r(21537),o=r(78644),n=r(80319),s=r(83111),a=r(11676),l=r(37426);function c(e,t){const r=(0,i.isJoditObject)(e)?new l.b(e):new a.Q(e);return e.o.textIcons&&r.container.classList.add("jodit_text_icons"),t&&(r.parentElement=t),e.o.toolbarButtonSize&&(r.buttonSize=e.o.toolbarButtonSize),r}function d(e,t,r=null){if((0,i.isFunction)(t.getContent))return new n.P(e,t,r);const s=new o.I(e,t,r);return s.state.tabIndex=e.o.allowTabNavigation?0:-1,s}function u(e,t,r=null){return new s.q(e,t,r)}},21496(e,t,r){r.d(t,{E(){return o}});var i=r(27613);function o(e){return(0,i.Kg)(e)||(0,i.cy)(e)?e.length:(0,i.Qd)(e)?Object.keys(e).length:0}},21537(e,t,r){r.r(t),r.d(t,{$$(){return u.$$},CamelCaseToKebabCase(){return d.N},ConfigDeepFlatten(){return u.pi},ConfigFlatten(){return u.VL},ConfigProto(){return u.tb},ConnectionError(){return u.Rc},LimitedStack(){return u.dh},NUMBER_FIELDS_REG(){return l.b$},OptionsError(){return u.ZW},abort(){return u.h2},alignElement(){return u.Op},alreadyLoadedList(){return u.EW},appendScriptAsync(){return u.w4},appendStyleAsync(){return u.S5},applyStyles(){return a.ZM},asArray(){return i._j},assert(){return u.vA},attr(){return u.CF},browser(){return u.T},buildQuery(){return u.Zq},call(){return u.T1},callPromise(){return u.o_},camelCase(){return d.xQ},cleanFromWord(){return a.wE},clearAlign(){return u.Xm},clearCenterAlign(){return u.aE},clearTimeout(){return o.D},cns(){return u.fV},colorToHex(){return s.s},completeUrl(){return u.XO},connection(){return u.FI},convertMediaUrlToVideoEmbed(){return u.mY},css(){return u.AH},cssPath(){return u.bE},ctrlKey(){return u.Xu},dataBind(){return u.mv},defaultLanguage(){return u.eG},error(){return u.z3},fastClone(){return u.y6},fuzzySearchIndex(){return d.Hp},get(){return u.Jt},getClassName(){return u.uB},getContentWidth(){return c.y6},getDataTransfer(){return u.my},getScrollParent(){return c.mH},getXPathByElement(){return u.fz},hAlignElement(){return u.Mr},hasBrowserColorPicker(){return n.kC},hasContainer(){return n.kO},htmlspecialchars(){return a.Gq},humanSizeToBytes(){return u.zP},i18n(){return d.Ru},inView(){return u.l7},innerWidth(){return c.xM},isAbort(){return u.rV},isAbortError(){return n.zf},isArray(){return n.cy},isAtom(){return u.mA},isBoolean(){return n.Lm},isDestructable(){return n.pV},isEqual(){return n.n4},isFastEqual(){return n.P5},isFunction(){return n.Tn},isHTML(){return n.AH},isHtmlFromWord(){return n.CE},isInitable(){return n.Gp},isInt(){return n.E6},isJoditObject(){return n.y0},isLicense(){return n.Mj},isMarker(){return n.rg},isNativeFunction(){return n.a3},isNumber(){return n.Et},isNumeric(){return n.kf},isPlainObject(){return n.Qd},isPromise(){return n.yL},isSet(){return n.vM},isString(){return n.Kg},isStringArray(){return n.Bo},isURL(){return n.mv},isValidName(){return n.uV},isViewObject(){return n.hH},isVoid(){return n.Rd},isWindow(){return n.l6},kebabCase(){return d.kW},keepNames(){return u.MJ},keys(){return u.HP},loadImage(){return u.yt},loadNext(){return u.Qt},loadNextStyle(){return u.x_},markAsAtomic(){return u.Hp},markDeprecated(){return u.BG},markOwner(){return u.b_},memorizeExec(){return u.qN},nl2br(){return a.HA},normalizeColor(){return l.$2},normalizeCssNumericValue(){return l.n8},normalizeCssValue(){return l.iy},normalizeKeyAliases(){return l.jB},normalizeLicense(){return l.f},normalizePath(){return l.Fd},normalizeRelativePath(){return l.Vd},normalizeSize(){return l.rn},normalizeUrl(){return l.l2},offset(){return c.cY},options(){return u.fF},parseQuery(){return u.Vc},position(){return c.G1},previewBox(){return u.u_},refs(){return u.DY},reset(){return u.cL},resolveElement(){return u.tI},safeHTML(){return a.t_},sanitizeHTMLElement(){return a.vn},scrollIntoViewIfNeeded(){return u.$v},set(){return u.hZ},setTimeout(){return o.w},size(){return c.Ej},splitArray(){return i.uM},sprintf(){return d.nv},stringify(){return d.As},stripTags(){return a.Kq},toArray(){return i.$r},trim(){return d.Bq},trimChars(){return d.Gd},trimInv(){return d.gj},ucfirst(){return d.Z2}});var i=r(76855),o=r(91898),n=r(27613),s=r(58149),a=r(75275),l=r(71521),c=r(56175),d=r(59007),u=r(43555)},21597(e,t){t.A='<svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg"> <path clip-rule="evenodd" d="M306.39,154.09c19.628,4.543,35.244,21.259,39.787,39.523 c1.551,8.54,8.998,14.989,17.904,14.989c9.991,0,18.168-8.175,18.168-18.17c0-13.083-10.991-32.98-25.985-47.881 c-14.719-14.537-32.252-24.802-46.695-24.802c-9.991,0-18.172,8.45-18.172,18.446C291.396,145.094,297.847,152.546,306.39,154.09z M56.629,392.312c-14.09,14.08-14.09,36.979,0,51.059c14.08,14.092,36.981,14.092,50.965,0l104.392-104.303 c24.347,15.181,53.062,23.991,83.953,23.991c87.857,0,158.995-71.142,158.995-158.999c0-87.854-71.138-158.995-158.995-158.995 c-87.856,0-158.995,71.141-158.995,158.995c0,30.802,8.819,59.606,23.992,83.953L56.629,392.312z M182.371,204.06 c0-62.687,50.875-113.568,113.568-113.568s113.569,50.881,113.569,113.568c0,62.694-50.876,113.569-113.569,113.569 S182.371,266.754,182.371,204.06z" fill-rule="evenodd"/> </svg> '},21988(e,t,r){var i=r(2748),o=r(21537),n=r(12153),s=r(6441),a=r(92762),l=r(46104);n.I.set("brush",l.A),s.T.prototype.controls.brushCell={isVisible(e){return!e.o.disablePlugins.includes("color")},icon:"brush",popup(e,t,r){if(!(0,o.isJoditObject)(e))return;const i=e.getInstance("Table",e.o).getAllSelectedCells();if(!i.length)return!1;const n=t=>(0,a.Kn)(e,n=>{i.forEach(e=>{(0,o.css)(e,t,n)}),e.lock(),e.synchronizeValues(),r(),e.unlock()},(0,o.css)(i[0],t));return(0,a.Zg)(e,[{name:"Background",content:n("background-color")},{name:"Text",content:n("color")},{name:"Border",content:n("border-color")}])},tooltip:"Background"},s.T.prototype.controls.brush={isVisible(e){return!e.o.disablePlugins.includes("color")},update(e,t){const r=(0,o.dataBind)(t,"color"),n=(r,i)=>{i&&i!==""+(0,o.css)(e.editor,r)&&(t.state.icon.fill=i)};if(r){const e=(0,o.dataBind)(t,"color");return void n("color"===e?e:"background-color",r)}const s=e.s.current();if(s&&!t.state.disabled){const t=i.J.closest(s,i.J.isElement,e.editor)||e.editor;n("color",""+(0,o.css)(t,"color")),n("background-color",""+(0,o.css)(t,"background-color"))}t.state.icon.fill="",t.state.activated=!1},popup(e,t,r,n){let s="",l="",c=[],d=null;return t&&t!==e.editor&&i.J.isNode(t)&&(i.J.isElement(t)&&e.s.isCollapsed()&&!i.J.isTag(t,new Set(["br","hr"]))&&(d=t),i.J.up(t,e=>{if(i.J.isHTMLElement(e)){const t=(0,o.css)(e,"color",!0),r=(0,o.css)(e,"background-color",!0);if(t)return s=""+t,!0;if(r)return l=""+r,!0}},e.editor)),c=[{name:"Background",content:(0,a.Kn)(e,t=>{d?d.style.backgroundColor=t:e.execCommand("background",!1,t),(0,o.dataBind)(n,"color",t),(0,o.dataBind)(n,"color-mode","background"),r()},l)},{name:"Text",content:(0,a.Kn)(e,t=>{d?d.style.color=t:e.execCommand("forecolor",!1,t),(0,o.dataBind)(n,"color",t),(0,o.dataBind)(n,"color-mode","color"),r()},s)}],"background"!==e.o.colorPickerDefaultTab&&(c=c.reverse()),(0,a.Zg)(e,c,d)},exec(e,t,{button:r}){const n=(0,o.dataBind)(r,"color-mode"),s=(0,o.dataBind)(r,"color");if(!n)return!1;if(t&&t!==e.editor&&i.J.isNode(t)&&i.J.isElement(t))switch(n){case"color":t.style.color=s;break;case"background":t.style.backgroundColor=s}else e.execCommand("background"===n?n:"forecolor",!1,s)},tooltip:"Fill color or set the text color"}},22030(e,t,r){r.d(t,{Y(){return d},g(){return c}});var i=r(82758),o=r(2748),n=r(86068),s=r(3760),a=r(38837),l=r(41180);function c(e,t){return!(o.J.isTag(e,"font")||!o.J.isHTMLElement(e)||!Object.keys(t).every(r=>{const i=(0,l.A)(e,r,!0);return""===i&&(""===t[r]||null==t[r])||!(0,n.R)(i)&&""!==i&&!(0,n.R)(t[r])&&(""+(0,s.iy)(r,t[r])).toLowerCase()===(""+i).toLowerCase()}))}if(i.globalDocument){const e=i.globalDocument.createElement("div");e.style.color="red",(0,a.v)(c(e,{color:"red"}),"Style test"),(0,a.v)(c(e,{fontSize:null}),"Style test"),(0,a.v)(c(e,{fontSize:""}),"Style test")}function d(e,t){return!(o.J.isTag(e,"font")||!o.J.isHTMLElement(e)||!Object.keys(t).every(t=>""!==(0,l.A)(e,t,!0)))}if(i.globalDocument){const e=i.globalDocument.createElement("div");e.style.color="red",(0,a.v)(d(e,{color:"red"}),"Style test"),(0,a.v)(!d(e,{font:"Arial",color:"red"}),"Style test"),(0,a.v)(!d(e,{border:"1px solid #ccc"}),"Style test")}},22461(e,t,r){r.d(t,{Z(){return a}});var i=r(67510);const o="jodit-image-editor",n=i.In.get.bind(i.In),s=(e,t="jodti-image-editor_active")=>e?t:"",a=(e,t)=>{const r=e.i18n.bind(e),i=(e,t,i=!0)=>`<div class="jodit-form__group">\n\t\t\t<label class="jodit-switcher-wrapper">\n\t\t\t\t<span class='jodit-switcher'>\n\t\t\t\t\t<input ${s(i,"checked")} data-ref="${t}" type="checkbox"/>\n\t\t\t\t\t<span class="jodit-switcher__slider"></span>\n\t\t\t\t</span>\n\t\t\t\t<span>${r(e)}</span>\n\t\t\t</label>\n\t</div>`;return e.create.fromHTML(`<form class="${o} jodit-properties">\n\t\t<div class="jodit-grid jodit-grid_xs-column">\n\t\t\t<div class="jodit_col-lg-3-4 jodit_col-sm-5-5">\n\t\t\t${t.resize?`<div class="${o}__area ${o}__area_resize ${o}_active">\n\t\t\t\t\t\t\t<div data-ref="resizeBox" class="${o}__box"></div>\n\t\t\t\t\t\t\t<div class="${o}__resizer">\n\t\t\t\t\t\t\t\t<i class="jodit_bottomright"></i>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>`:""}\n\t\t\t${t.crop?`<div class="${o}__area ${o}__area_crop ${s(!t.resize)}">\n\t\t\t\t\t\t\t<div data-ref="cropBox" class="${o}__box">\n\t\t\t\t\t\t\t\t<div class="${o}__croper">\n\t\t\t\t\t\t\t\t\t<i class="jodit_bottomright"></i>\n\t\t\t\t\t\t\t\t\t<i class="${o}__sizes"></i>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>`:""}\n\t\t\t</div>\n\t\t\t<div class="jodit_col-lg-1-4 jodit_col-sm-5-5">\n\t\t\t${t.resize?`<div data-area="resize" class="${o}__slider ${o}_active">\n\t\t\t\t\t\t\t<div class="${o}__slider-title">\n\t\t\t\t\t\t\t\t${n("resize")}\n\t\t\t\t\t\t\t\t${r("Resize")}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class="${o}__slider-content">\n\t\t\t\t\t\t\t\t<div class="jodit-form__group">\n\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t${r("Width")}\n\t\t\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t\t\t<input type="number" data-ref="widthInput" class="jodit-input"/>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="jodit-form__group">\n\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t${r("Height")}\n\t\t\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t\t\t<input type="number" data-ref="heightInput" class="jodit-input"/>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t${i("Keep Aspect Ratio","keepAspectRatioResize")}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>`:""}\n\t\t\t${t.crop?`<div data-area="crop" class="${o}__slider ${s(!t.resize)}'">\n\t\t\t\t\t\t\t<div class="${o}__slider-title">\n\t\t\t\t\t\t\t\t${n("crop")}\n\t\t\t\t\t\t\t\t${r("Crop")}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class="${o}__slider-content">\n\t\t\t\t\t\t\t\t${i("Keep Aspect Ratio","keepAspectRatioCrop")}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>`:""}\n\t\t\t</div>\n\t\t</div>\n\t</form>`)}},22732(e,t,r){r.d(t,{J(){return i.J},p(){return o.p}});var i=r(2748),o=r(70071)},22859(e,t,r){r.d(t,{K(){return a}});var i=r(22732),o=r(21537),n=r(67510),s=r(37068);n.In.set("palette",s.A);const a=(e,t,r)=>{const s="jodit-color-picker",a=(0,o.normalizeColor)(r),l=e.c.div(s),c=e.o.textIcons?`<span>${e.i18n("palette")}</span>`:n.In.get("palette"),d=e=>{const t=[];return(0,o.isPlainObject)(e)?Object.keys(e).forEach(r=>{t.push(`<div class="${s}__group ${s}__group-${r}">`),t.push(d(e[r])),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">${d(e.o.colors)}</div>`)),l.appendChild(e.c.fromHTML(`<div data-ref="extra" class="${s}__extra"></div>`));const{extra:u}=(0,o.refs)(l);return e.o.showBrowserColorPicker&&(0,o.hasBrowserColorPicker)()&&(u.appendChild(e.c.fromHTML(`<div class="${s}__native">${c}<input type="color" value="#ffffff"/></div>`)),e.e.on(l,"change",e=>{e.stopPropagation();const r=e.target;if(!r||!r.tagName||!i.J.isTag(r,"input"))return;const n=r.value||"";(0,o.isFunction)(t)&&t(n),e.preventDefault()})),e.e.on(l,"mousedown touchend",r=>{r.stopPropagation(),r.preventDefault();let n=r.target;if(n&&n.tagName&&!i.J.isTag(n,"svg")&&!i.J.isTag(n,"path")||!n.parentNode||(n=i.J.closest(n.parentNode,"span",e.editor)),!i.J.isTag(n,"span")||!n.classList.contains(s+"__color-item"))return;const a=(0,o.attr)(n,"-color")||"";t&&(0,o.isFunction)(t)&&t(a)}),e.e.fire("afterGenerateColorPicker",l,u,t,a),l}},23140(e,t){t.A='<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(e,t,r){function i(e){return"function"==typeof e}r.d(t,{T(){return i}})},23370(e,t,r){r.d(t,{F(){return i}});class i{get j(){return this.jodit}onReady(){this.replaceUndoManager(),this.isReady=!0,this.j.e.fire(this,"ready")}onReadyAlways(e){var t;this.isReady?e():null===(t=this.j.events)||void 0===t||t.on(this,"ready",e)}constructor(e,t,r,i){this.jodit=e,this.container=t,this.toWYSIWYG=r,this.fromWYSIWYG=i,this.className="",this.isReady=!1}}},23399(e,t,r){var i=r(580),o=r(21537);r(28252),i.fg.add("font",e=>{e.registerButton({name:"font",group:"font"}).registerButton({name:"fontsize",group:"font"});const t=(t,r,i)=>{switch(t){case"fontsize":e.s.commitStyle({attributes:{style:{fontSize:(0,o.normalizeSize)(i,e.o.defaultFontSizePoints)}}});break;case"fontname":e.s.commitStyle({attributes:{style:{fontFamily:i}}})}return e.synchronizeValues(),!1};e.registerCommand("fontsize",t).registerCommand("fontname",t)})},23512(e,t,r){r.d(t,{e(){return l}});var i=r(91907),o=r(65478),n=r(2748),s=r(14316),a=r(34176);let l=class e extends i.vG{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?void 0:e.offsetHeight)&&void 0!==t?t:0}findEmpty(e=!1){const t=this.getElms(e?"item-right":"item");for(let e=0;t.length>e;e+=1)if(!t[e].innerHTML.trim().length)return t[e]}append(e,t=!1){var r;const i=this.findEmpty(t)||this.j.c.div(this.getFullElName("item"));t&&i.classList.add(this.getFullElName("item-right")),i.appendChild(e),null===(r=this.container)||void 0===r||r.appendChild(i),this.j.o.statusbar&&this.show(),this.j.e.fire("resize")}destruct(){this.isInDestruct||(this.setStatus(i.f.beforeDestruct),n.J.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,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([o.component,(0,o.derive)(a.K,s.O)],l)},23531(e,t,r){var i=r(22732),o=r(580),n=r(21537),s=r(12153),a=r(6441),l=r(92762),c=r(25179);s.I.set("image",c.A),a.T.prototype.controls.image={popup(e,t,r){let o=null;return t&&!i.J.isText(t)&&i.J.isHTMLElement(t)&&(i.J.isTag(t,"img")||(0,n.$$)("img",t).length)&&(o=i.J.isTag(t,"img")?t:(0,n.$$)("img",t)[0]),e.s.save(),(0,l.kG)(e,{filebrowser(t){e.s.restore(),t.files&&t.files.forEach(r=>e.s.insertImage(t.baseurl+r,null,e.o.imageDefaultWidth)),r()},upload:!0,async url(t,i){e.s.restore(),/^[a-z\d_-]+(\.[a-z\d_-]+)+/i.test(t)&&(t="//"+t);const n=o||e.createInside.element("img");n.setAttribute("src",t),n.setAttribute("alt",i),o||await e.s.insertImage(n,null,e.o.imageDefaultWidth),r()}},o,r)},tags:["img"],tooltip:"Insert Image"},o.fg.add("image",e=>{e.registerButton({name:"image",group:"media"})})},23658(e,t){t.A='<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(e,t,r){r.d(t,{G(){return s}});var i=r(2748),o=r(29136),n=r(97380);function s(e,t){let{firstChild:r}=t;for(;r&&!(0,o._)(r);)if(r=r.nextSibling,!r)return null;return r&&!i.J.next(r,o._,t)&&(0,n.sz)(e,r,!1)?r:null}},23769(e,t,r){r.d(t,{z(){return n}});var i=r(2748),o=r(48538);class n extends o.D{className(){return"ProgressBar"}render(){return"<div><div></div></div>"}show(){return(this.j.workplace||this.j.container).appendChild(this.container),this}hide(){return i.J.safeRemove(this.container),this}progress(e){return this.container.style.width=e.toFixed(2)+"%",this}destruct(){return this.hide(),super.destruct()}}},23914(e,t,r){r.r(t),r.d(t,{ar(){return o.a},cs_cz(){return o.a},de(){return o.a},es(){return o.a},fa(){return o.a},fi(){return o.a},fr(){return o.a},he(){return o.a},hu(){return o.a},id(){return o.a},it(){return o.a},ja(){return o.a},ko(){return o.a},mn(){return o.a},nl(){return o.a},pl(){return o.a},pt_br(){return o.a},ru(){return o.a},tr(){return o.a},zh_cn(){return o.a},zh_tw(){return o.a}});var i=r(41324),o=r.n(i)},24231(e,t){t.A='<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> '},24526(e,t,r){var i=r(12153),o=r(6441),n=r(61122),s=r(62e3),a=r(66789),l=r(20882),c=r(14306),d=r(24231),u=r(75393),h=r(14862),p=r(96257),f=r(9914),m=r(53696),g=r(33489);o.T.prototype.toolbarInline=!0,o.T.prototype.toolbarInlineForSelection=!1,o.T.prototype.toolbarInlineDisableFor=[],o.T.prototype.toolbarInlineDisabledButtons=["source"],i.I.set("addcolumn",d.A).set("addrow",u.A).set("merge",h.A).set("th",m.A).set("splitg",p.A).set("splitv",f.A).set("th-list",g.A),o.T.prototype.popup={a:n.A,img:l.A,cells:s.A,toolbar:c.A,jodit:a.A,iframe:a.A,"jodit-media":a.A,selection:["bold","underline","italic","ul","ol","\n","outdent","indent","fontsize","brush","cut","\n","paragraph","link","align","dots"]}},24536(e,t,r){r.d(t,{z(){return f}});var i=r(4012),o=r(65478),n=r(46559),s=r(10830),a=r(62405),l=r(92113),c=r(34244),d=r(43649),u=r(72157),h=r(71262),p=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};let f=class e extends a.U{className(){return"UIList"}__onChangeMode(){this.setMod("mode",this.mode)}makeGroup(){return new a.U(this.jodit)}get buttons(){return this.allChildren.filter(e=>i.u.isInstanceOf(e,s.lD))}getButtonsNames(){return this.buttons.map(e=>e instanceof s.lD&&e.state.name||"").filter(e=>""!==e)}setRemoveButtons(e){return this.removeButtons=e||[],this}build(e,t=null){e=(0,n.u)(e),this.clear();let r,i=!1,o=this.makeGroup();this.append(o),o.setMod("line",!0);const s=e=>{let n=null;switch(e.name){case"\n":o=this.makeGroup(),o.setMod("line",!0),r=this.makeGroup(),o.append(r),this.append(o);break;case"|":i||(i=!0,n=new l.C(this.j));break;case"---":{r.setMod("before-spacer",!0);const e=new c.b(this.j);o.append(e),r=this.makeGroup(),o.append(r),i=!1;break}default:i=!1,n="select"===e.component?this.makeSelect(e,t):this.makeButton(e,t)}n&&(r||(r=this.makeGroup(),o.append(r)),r.append(n))},a=e=>{var t;return!this.removeButtons.includes(e.name)&&(!e.isVisible||(null===(t=e.isVisible)||void 0===t?void 0:t.call(e,this.j,e)))};return e.forEach(e=>{if((0,d.i)(e)){const t=e.buttons.filter(e=>e);t.length&&(r=this.makeGroup(),r.setMod("separated",!0).setMod("group",e.group),o.append(r),(0,h.Q)(t,this.j.o.controls).filter(a).forEach(s))}else{r||(r=this.makeGroup(),o.append(r));const t=(0,u.U)(e,this.j.o.controls);a(t)&&s(t)}}),this.update(),this}makeSelect(e,t){throw Error("Not implemented behaviour")}makeButton(e,t){return new s.lD(this.j,{name:e.name})}constructor(e){super(e),this.mode="horizontal",this.removeButtons=[]}};p([(0,o.watch)("mode"),(0,o.hook)("ready")],f.prototype,"__onChangeMode",null),f=p([o.component],f)},24630(e,t,r){var i=r(2748),o=r(72430),n=r(12153),s=r(6441),a=r(89816);n.I.set("paragraph",a.A),s.T.prototype.controls.paragraph={command:"formatBlock",value(e,t){var r,o;const n=t.control,s=e.s.current(),a=i.J.closest(s,i.J.isBlock,e.editor);return null!==(r=null==a?void 0:a.nodeName.toLowerCase())&&void 0!==r?r:null===(o=n.data)||void 0===o?void 0:o.currentValue},update(e,t){const r=t.control;if(!e.s.current())return!1;const i=t.state.value,n=r.list;return(0,o.Q)(n)&&n[""+i]&&e.o.textIcons&&(t.state.text=""+n[""+i]),!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 r,i;return!(t.state.value!==(null===(i=null===(r=t.control)||void 0===r?void 0:r.args)||void 0===i?void 0:i[0]))},isActive(e,t){return t.state.value!==e.o.enter&&(0,o.Q)(t.control.list)&&!!t.control.list[t.state.value]},childTemplate(e,t,r){return`<${t} style="margin:0;padding:0"><span>${e.i18n(r)}</span></${t}>`},tooltip:"Insert format block"}},24829(e,t){t.A='<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> '},25179(e,t){t.A='<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(e,t,r){r(73391),r(12391),r(93183),r(66707),r(41107),r(71255),r(82439),r(61323),r(93079),r(19063),r(19271),r(1255),r(575),r(11317),r(36243),r(23399),r(96111),r(2169),r(42263),r(16233),r(77469),r(23531),r(80763),r(3215),r(70045),r(93401),r(76295),r(59483),r(91071),r(61019),r(65517),r(20071),r(32309),r(64837),r(79799),r(31571),r(85407),r(59451),r(18363),r(8355),r(58519),r(6687),r(56113),r(9159),r(12019),r(36125),r(9881),r(28545),r(45927),r(52951),r(43809),r(7309),r(68687),r(59495),r(39627),r(767),r(43003),r(72439),r(26551),r(72253),r(65735),r(83671),r(3115)},25639(e,t,r){r.d(t,{x(){return a}});var i=r(82758),o=r(87058),n=r(77361),s=r(83632);class a{isApplied(e,t){const r=this.__applyMap.get(e);return!!r&&r[t]}setApplied(e,t){var r;const i=null!==(r=this.__applyMap.get(e))&&void 0!==r?r:{};i[t]=!0,this.__applyMap.set(e,i)}get elementIsList(){return!(!this.options.element||!i.LIST_TAGS.has(this.options.element))}get element(){return this.options.element||this.defaultTag}get elementIsBlock(){return!(!this.options.element||!i.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){const{hooks:t}=this.options,r=t?Object.keys(t):[];try{r.forEach(r=>{e.e.on((0,o.x)(n.ar+"_"+r),t[r])}),(0,s.O)(e,this)}finally{r.forEach(r=>{e.e.off((0,o.x)(n.ar+"_"+r),t[r])}),this.__applyMap=new WeakMap}e.synchronizeValues(),e.e.fire("afterCommitStyle",this)}constructor(e){this.options=e,this.__applyMap=new WeakMap}}},25685(e,t,r){r.r(t),r.d(t,{required(){return n},url(){return s}});var i=r(26049),o=r(49055);const n=e=>!!(0,o.Bq)(e.value).length||(e.error="Please fill out this field",!1),s=e=>!!(0,i.m)((0,o.Bq)(e.value))||(e.error="Please enter a web address",!1)},25726(e,t,r){r.d(t,{Mr(){return n},Op(){return a},Xm(){return s}});var i=r(22732),o=r(41180);function n(e,t){t&&"normal"!==t?"center"!==t?((0,o.A)(e,"float",t),(0,o.a)(e)):(0,o.A)(e,{float:"",display:"block",marginLeft:"auto",marginRight:"auto"}):((0,o.A)(e,"float")&&-1!==["right","left"].indexOf((""+(0,o.A)(e,"float")).toLowerCase())&&(0,o.A)(e,"float",""),(0,o.a)(e))}function s(e){i.J.each(e,e=>{i.J.isHTMLElement(e)&&e.style.textAlign&&(e.style.textAlign="",e.style.cssText.trim().length||e.removeAttribute("style"))})}function a(e,t){if(i.J.isNode(t)&&i.J.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(e,t,r){r.d(t,{u(){return n}});var i=r(82758),o=r(2748);function n(e,t,r,n,s,a){if(a===t||!o.J.isText(t)||null==t.nodeValue)return r;if(!(0,i.INVISIBLE_SPACE_REG_EXP)().test(t.nodeValue))return r;const l=o.J.furthest(a,o.J.isBlock,e.editor);return!l||o.J.isOrContains(l,t)?r:(t.nodeValue=t.nodeValue.replace((0,i.INVISIBLE_SPACE_REG_EXP)(),""),t===a&&e.s.isCollapsed()&&e.s.setCursorAfter(t),t.nodeValue||o.J.safeRemove(t),!0)}},26049(e,t,r){r.d(t,{m(){return o}});var i=r(82758);function o(e){if(e.includes(" "))return!1;if("undefined"!=typeof URL)try{const t=new URL(e);return["https:","http:","ftp:","file:","rtmp:"].includes(t.protocol)}catch(e){return!1}const t=i.globalDocument.createElement("a");return t.href=e,!!t.hostname}},26152(e,t,r){var i=r(68345),o=r(79910),n=r(4795),s=r(62770),a=r(1830),l=r(86273),c=r(82168),d=r(85017),u=r(32726),h=r(67078),p=r(92648),f=r(62232),m=r(62700),g=r(75445),v=r(97519),b=r(80926),y=r(52995),w=r(59526),_=r(40565),k=r(19292),C=r(83160),S=r(28923),T=r(19007),E=r(60175),I=r(69159);let A={};A={ar:o.A,cs_cz:n.A,de:s.A,en:a.A,es:l.A,fi:c.A,fr:d.A,he:u.A,hu:h.A,id:p.A,it:f.A,ja:m.A,ko:v.A,mn:b.A,nl:y.A,no:w.A,pl:_.A,pt_br:k.A,ru:C.A,tr:S.A,ua:T.A,zh_cn:E.A,zh_tw:I.A};const j=e=>e?e.default||e:{},z={};(0,i.c)(j(g.A))&&j(g.A).forEach((e,t)=>{z[t]=e}),Object.keys(A).forEach(e=>{const t=j(A[e]);(0,i.c)(t)?(A[e]={},t.forEach((t,r)=>{A[e][z[r]]=t})):A[e]=t}),t.A=A},26295(e,t,r){var i=r(21537),o=r(12153),n=r(6441),s=r(53259);n.T.prototype.defaultLineHeight=null,o.I.set("line-height",s.A),n.T.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:r}){return(0,i.memorizeExec)(e,t,{control:r},e=>e)}}},26395(e,t,r){r.d(t,{$(){return n},l(){return o}});var i=r(2748);function o(e,t,r){let i=e.getBoundingClientRect(),o=e;const n=i.top,s=i.height;for(;o&&o!==t&&o.parentNode;){if(o=o.parentNode,i=o.getBoundingClientRect(),n>i.bottom)return!1;if(i.top>=n+s)return!1}return(r.documentElement&&r.documentElement.clientHeight||0)>=n}function n(e,t,r){i.J.isHTMLElement(e)&&!o(e,t,r)&&(t.clientHeight!==t.scrollHeight&&(t.scrollTop=e.offsetTop),o(e,t,r)||e.scrollIntoView())}},26529(e,t,r){r.r(t),r.d(t,{ar(){return i},cs_cz(){return i},de(){return i},es(){return i},fa(){return i},fi(){return i},fr(){return i},he(){return i},hu(){return i},id(){return i},it(){return i},ja(){return i},ko(){return i},mn(){return i},nl(){return i},no(){return i},pl(){return i},pt_br(){return i},ru(){return i},tr(){return i},ua(){return i},zh_cn(){return i},zh_tw(){return i}});var i=r(41324)},26532(e,t,r){r.d(t,{o(){return o}});var i=r(82758);const o=i.globalWindow?i.globalWindow.SpeechRecognition||i.globalWindow.webkitSpeechRecognition:void 0},26551(e,t,r){var i=r(580);r(14984),i.fg.add("video",e=>{e.registerButton({name:"video",group:"media"})})},26658(e,t,r){r.d(t,{O(){return n}});var i=r(2748),o=r(38837);function n(e,t=!1){if(!e.o.tab.tabInsideLiInsertNewList)return!1;const[r,n]=(e=>{const t=e.createInside.fake(),r=e.createInside.fake(),i=e.s.range.cloneRange();i.collapse(!0),i.insertNode(t);const o=e.s.range.cloneRange();return o.collapse(!1),o.insertNode(r),[t,r]})(e);try{const n=((e,t,r)=>{const o=i.J.closest(t,"li",e.editor);return!!o&&!(!r&&!i.J.isLeaf(o.previousElementSibling))&&!(r&&!i.J.closest(o,"li",e.editor))&&o})(e,r,t);if(!n)return!1;if(!((e,t,r)=>{const o=i.J.closest(r,"li",t.editor);return!(!o||o!==e&&!e.contains(o))})(n,e,r))return!1;const s=i.J.closest(n,["ol","ul"],e.editor);return!(!s||t&&!i.J.closest(s,"li",e.editor)||(t?((e,t,r)=>{const n=i.J.closest(t,"li",e.editor);(0,o.v)(n,"tab parentLi is null");const s=Array.from(t.children).filter(e=>i.J.isLeaf(e));i.J.after(n,r);const a=s.indexOf(r);if(0!==a&&1!==s.length||i.J.safeRemove(t),a!==s.length-1){const e=t.cloneNode();i.J.append(r,e);for(let t=a+1;s.length>t;t+=1)i.J.append(e,s[t])}})(e,s,n):((e,t,r)=>{const n=r.previousElementSibling;(0,o.v)(n,"tab previousElementSibling is null");const s=n.lastElementChild,a=i.J.isTag(s,t.tagName)?s:e.createInside.element(t.tagName,Array.from(t.attributes).reduce((e,t)=>(e[t.name]=t.value,e),{}));a.appendChild(r),s!==a&&n.appendChild(a)})(e,s,n),0))}finally{const t=e.s.createRange();t.setStartAfter(r),t.setEndBefore(n),e.s.selectRange(t),i.J.safeRemove(r),i.J.safeRemove(n)}}},26716(e,t,r){r.d(t,{W(){return n}});var i=r(82758),o=r(2748);function n(e,t,r){let n=o.J.findSibling(t,r),s=o.J.findSibling(t,!r);for(;o.J.isElement(n)&&!o.J.isTag(n,i.INSEPARABLE_TAGS)&&o.J.isContentEditable(n,e.editor)&&(!s||!o.J.closest(t,o.J.isElement,e.editor));)r||!n.firstChild?n.appendChild(t):o.J.before(n.firstChild,t),n=o.J.sibling(t,r),s=o.J.sibling(t,!r)}},26866(e,t,r){r.d(t,{p(){return s}});var i=r(23282),o=r(10830),n=r(78584);function s(e,t,r){const s=this instanceof n.l?this:new n.l({closeOnClickOverlay:!0}),a=s.c.fromHTML('<form class="jodit-dialog_prompt"></form>'),l=s.c.element("label");(0,i.T)(t)&&(r=t,t=void 0),l.appendChild(s.c.fromHTML(e)),a.appendChild(l);const c=e=>()=>{r&&!1===r(e)||s.close()},d=(0,o.$n)(s,"cancel","Cancel"),u=(0,o.$n)(s,"ok","Yes");return d.onAction(c(!1)),u.onAction(c(!0)),s.e.on(a,"submit",()=>(c(!0)(),!1)),s.setFooter([u,d]),s.open(a,t||"&nbsp;",!0,!0),u.focus(),s}},26992(e,t,r){r.d(t,{j(){return f}});var i=r(82758),o=r(91898),n=r(12045),s=r(23282),a=r(84767),l=r(72430),c=r(14773),d=r(70799),u=r(86068),h=r(38837),p=r(93661);class f{delay(e){return this.promise(t=>this.setTimeout(t,e))}setTimeout(e,t,...r){if(this.isDestructed)return 0;let i={};(0,u.R)(t)&&(t=0),(0,a.E)(t)||(i=t,t=i.timeout||0),i.label&&this.clearLabel(i.label);const n=(0,o.w)(e,t,...r),s=i.label||n;return this.timers.set(s,n),this.__callbacks.set(s,e),n}updateTimeout(e,t){if((0,h.v)(e&&this.timers.has(e),"Label does not exist"),!e||!this.timers.has(e))return null;const r=this.__callbacks.get(e);return(0,h.v)((0,s.T)(r),"Callback is not a function"),this.setTimeout(r,{label:e,timeout:t})}clearLabel(e){e&&this.timers.has(e)&&((0,o.D)(this.timers.get(e)),this.timers.delete(e),this.__callbacks.delete(e))}clearTimeout(e){if((0,d.K)(e))return this.clearLabel(e);(0,o.D)(e),this.timers.delete(e),this.__callbacks.delete(e)}debounce(e,t,r=!1){let i=0,a=!1;const d=[],u=(...t)=>{if(!a){i=0;const r=e(...t);if(a=!0,d.length){const e=()=>{d.forEach(e=>e()),d.length=0};(0,c.y)(r)?r.finally(e):e()}}},h=(...n)=>{a=!1,t?(!i&&r&&u(...n),(0,o.D)(i),i=this.setTimeout(()=>u(...n),(0,s.T)(t)?t():t),this.timers.set(e,i)):u(...n)};return(0,l.Q)(t)&&t.promisify?(...e)=>{const t=this.promise(e=>{d.push(e)}).catch(e=>{if((0,n.z)(e))return null;throw e});return h(...e),t}:h}microDebounce(e,t=!1){let r,i=!1,o=!0;return(...n)=>{r=n,i?o=!0:(o=!0,t&&(o=!1,e(...r)),i=!0,this.__queueMicrotaskNative(()=>{i=!1,this.isDestructed||o&&e(...r)}))}}throttle(e,t,r=!1){let i,o,n,a=null;return(...r)=>{i=!0,n=r,t?a||(o=()=>{i?(e(...n),i=!1,a=this.setTimeout(o,(0,s.T)(t)?t():t),this.timers.set(o,a)):a=null},o()):e(...n)}}promise(e){let t=()=>{};const r=new Promise((r,i)=>{t=()=>i((0,p.h)("Abort async")),this.promisesRejections.add(t),e(r,i)});return r.finally||"undefined"==typeof process||i.IS_ES_NEXT||(r.finally=e=>(r.then(e).catch(e),r)),r.finally(()=>{this.promisesRejections.delete(t)}).catch(()=>null),r.rejectCallback=t,r}promiseState(e){if(e.status)return e.status;if(!Promise.race)return new Promise(t=>{e.then(e=>(t("fulfilled"),e),e=>{throw t("rejected"),e}),this.setTimeout(()=>{t("pending")},100)});const t={};return Promise.race([e,t]).then(e=>e===t?"pending":"fulfilled",()=>"rejected")}requestIdleCallback(e,t={timeout:100}){const r=this.__requestIdleCallbackNative(e,t);return this.__requestsIdle.add(r),r}requestIdlePromise(e){return this.promise(t=>{const r=this.requestIdleCallback(()=>t(r),e)})}schedulerPostTask(e,t={delay:0,priority:"user-visible"}){const r=new AbortController;if(t.signal&&t.signal.addEventListener("abort",()=>r.abort()),this.__controllers.add(r),void 0!==globalThis.scheduler){const i=globalThis.scheduler.postTask(e,{...t,signal:r.signal});return i.finally(()=>{this.__controllers.delete(r)}).catch(()=>null),i}return this.promise((i,o)=>{const n=this.setTimeout(()=>{try{i(e())}catch(e){o(e)}this.__controllers.delete(r)},t.delay||1);r.signal.addEventListener("abort",()=>{this.clearTimeout(n),this.__controllers.delete(r),o((0,p.h)())})})}schedulerYield(){return this.schedulerPostTask(()=>{},{priority:"user-visible"})}cancelIdleCallback(e){return this.__requestsIdle.delete(e),this.__cancelIdleCallbackNative(e)}requestAnimationFrame(e){const 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.D)(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,r,i,o;this.timers=new Map,this.__callbacks=new Map,this.__queueMicrotaskNative=null!==(e=null===queueMicrotask||void 0===queueMicrotask?void 0:queueMicrotask.bind(window))&&void 0!==e?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!==(r=null===(t=window.requestIdleCallback)||void 0===t?void 0:t.bind(window))&&void 0!==r?r:(e,t)=>{var r;const i=Date.now();return this.setTimeout(()=>{e({didTimeout:!1,timeRemaining(){return Math.max(0,50-(Date.now()-i))}})},null!==(r=null==t?void 0:t.timeout)&&void 0!==r?r:1)},this.__cancelIdleCallbackNative=null!==(o=null===(i=window.cancelIdleCallback)||void 0===i?void 0:i.bind(window))&&void 0!==o?o:e=>{this.clearTimeout(e)},this.isDestructed=!1}}},27190(e,t){t.A='<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(e,t,r){r.d(t,{AH(){return c.A},Bo(){return k.B},CE(){return d.C},E6(){return h.E},Et(){return v.E},Gp(){return u.n4},Kg(){return k.K},Lm(){return s.L},Mj(){return f.M},P5(){return a.P},Qd(){return y.Q},Rd(){return E.R},Tn(){return l.T},a3(){return g.a},cy(){return n.c},hH(){return T.h},kC(){return i.k},kO(){return u.kO},kf(){return b.k},l6(){return I.l},mv(){return C.m},n4(){return a.n},pV(){return u.pV},rg(){return m.r},uV(){return S.u},vM(){return _.v},y0(){return p.y},yL(){return w.y},zf(){return o.z}});var i=r(54765),o=r(12045),n=r(68345),s=r(87612),a=r(59292),l=r(23282),c=r(58487),d=r(29673),u=r(60132),h=r(72913),p=r(19306),f=r(45603),m=r(78116),g=r(70722),v=r(84767),b=r(29807),y=r(72430),w=r(14773),_=r(42320),k=r(70799),C=r(26049),S=r(37508),T=r(39955),E=r(86068),I=r(52742)},28143(e,t,r){r.r(t),r.d(t,{ar(){return i},cs_cz(){return i},de(){return i},es(){return i},fa(){return i},fi(){return i},fr(){return i},he(){return i},hu(){return i},id(){return i},it(){return i},ja(){return i},ko(){return i},mn(){return i},nl(){return i},pl(){return i},pt_br(){return i},ru(){return i},tr(){return i},ua(){return i},zh_cn(){return i},zh_tw(){return i}});var i=r(41324)},28252(e,t,r){var i=r(22732),o=r(49055),n=r(41180),s=r(12153),a=r(6441),l=r(4104),c=r(83709);a.T.prototype.defaultFontSizePoints="px",s.I.set("font",l.A).set("fontsize",c.A),a.T.prototype.controls.fontsize={command:"fontsize",data:{cssRule:"font-size",normalise(e,t){return/pt$/i.test(e)&&"pt"===t.o.defaultFontSizePoints?e.replace(/pt$/i,""):e}},list:[8,9,10,11,12,14,16,18,24,30,32,34,36,48,60,72,96],textTemplate(e,t){return t+e.o.defaultFontSizePoints},childTemplate(e,t,r){return`${r}${e.o.defaultFontSizePoints}`},tooltip:"Font size",value(e,t){var r;const o=e.s.current();if(!o)return;const s=i.J.closest(o,i.J.isElement,e.editor);if(!s)return;const a=(null===(r=t.control.data)||void 0===r?void 0:r.cssRule)||"font-size";return""+(0,n.A)(s,a)},isChildActive(e,t){var r,i;const o=t.state.value,n=null!==(i=null===(r=t.control.data)||void 0===r?void 0:r.normalize)&&void 0!==i?i:e=>e;return!(!o||!t.control.args||n(""+t.control.args[0])!==n(""+o))},isActive(e,t){var r,i;const o=t.state.value;if(!o)return!1;const n=null!==(i=null===(r=t.control.data)||void 0===r?void 0:r.normalize)&&void 0!==i?i:e=>e;let s=t.control.data.cacheListSet;if(!s){const e=Object.keys(t.control.list).map(n);s=new Set(e),t.control.data.cacheListSet=s}return s.has(n(""+o))}},a.T.prototype.controls.font={...a.T.prototype.controls.fontsize,command:"fontname",textTemplate(e,t){const[r]=t.split(",");return(0,o.Gd)(r,"\"'")},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,r){let i=!1;try{i=-1===t.indexOf("dings")&&document.fonts.check("16px "+t,r)}catch(e){}return`<span data-style="${t}" style="${i?`font-family: ${t}!important;`:""}">${r}</span>`},data:{cssRule:"font-family",normalize(e){return e.toLowerCase().replace(/['"]+/g,"").replace(/[^a-z0-9-]+/g,",")}},tooltip:"Font family"}},28545(e,t,r){var i=r(82758),o=r(65478),n=r(2748),s=r(580),a=r(21537),l=r(50911),c=r(76014),d=(r(55311),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});const u="table_processor_observer",h="onMoveTableSelectCell";class p extends l.k{get __tableModule(){return this.j.getInstance(c.X,this.j.o)}afterInit(e){e.o.tableAllowCellSelection&&e.e.on("keydown.select-cells",e=>{e.key===i.KEY_TAB&&this.unselectCells()}).on("beforeCommand.select-cells",this.onExecCommand).on("afterCommand.select-cells",this.onAfterCommand).on(["clickEditor","mousedownTd","mousedownTh","touchstartTd","touchstartTh"].map(e=>e+".select-cells").join(" "),this.onStartSelection).on("clickTr clickTbody",()=>{var e;const t=this.__tableModule.getAllSelectedCells().length;if(t)return t>1&&(null===(e=this.j.s.sel)||void 0===e||e.removeAllRanges()),!1})}onStartSelection(e){if(this.j.o.readonly)return;if(this.unselectCells(),e===this.j.editor)return;const t=n.J.closest(e,"table",this.j.editor);return e&&t?(e.firstChild||e.appendChild(this.j.createInside.element("br")),this.__isSelectionMode=!0,this.__selectedCell=e,this.__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):void 0}onOutsideClick(){this.__selectedCell=null,this.__onRemoveSelection()}onChange(){this.j.isLocked||this.__isSelectionMode||this.__onRemoveSelection()}__onMove(e,t){var r;if(this.j.o.readonly&&!this.j.isLocked)return;if(this.j.isLockedNotBy(u))return;const i=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(!i)return;const o=n.J.closest(i,["td","th"],e);if(!o||!this.__selectedCell)return;o!==this.__selectedCell&&this.j.lock(u),this.unselectCells();const s=this.__tableModule.getSelectedBound(e,[o,this.__selectedCell]),a=this.__tableModule.formalMatrix(e);for(let e=s[0][0];s[1][0]>=e;e+=1)for(let t=s[0][1];s[1][1]>=t;t+=1)this.__tableModule.addSelection(a[e][t]);this.__tableModule.getAllSelectedCells().length>1&&(null===(r=this.j.s.sel)||void 0===r||r.removeAllRanges()),this.j.e.fire("hidePopup"),t.stopPropagation(),(()=>{const e=this.j.createInside.fromHTML('<div style="color:rgba(0,0,0,0.01);width:0;height:0">&nbsp;</div>');o.appendChild(e),this.j.async.setTimeout(()=>{var t;null===(t=e.parentNode)||void 0===t||t.removeChild(e)},this.j.defaultTimeout/5)})()}__onRemoveSelection(e){var t;if(!(null===(t=null==e?void 0:e.buffer)||void 0===t?void 0:t.actionTrigger)&&!this.__selectedCell&&this.__tableModule.getAllSelectedCells().length)return this.j.unlock(),this.unselectCells(),void this.j.e.fire("hidePopup","cells");this.__isSelectionMode=!1,this.__selectedCell=null}__onStopSelection(e,t){if(!this.__selectedCell)return;this.__isSelectionMode=!1,this.j.unlock();const r=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(!r)return;const i=n.J.closest(r,["td","th"],e);if(!i)return;const o=n.J.closest(i,"table",e);if(o&&o!==e)return;const s=this.__tableModule.getSelectedBound(e,[i,this.__selectedCell]),l=this.__tableModule.formalMatrix(e),c=l[s[1][0]][s[1][1]],d=l[s[0][0]][s[0][1]];this.j.e.fire("showPopup",e,()=>{const e=(0,a.position)(d,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){const t=this.__tableModule,r=t.getAllSelectedCells();r.length&&r.forEach(r=>{e&&e===r||t.removeSelection(r)})}onExecCommand(e){if(/table(splitv|splitg|merge|empty|bin|binrow|bincolumn|addcolumn|addrow)/.test(e)){e=e.replace("table","");const t=this.__tableModule.getAllSelectedCells();if(t.length){const[r]=t;if(!r)return;const i=n.J.closest(r,"table",this.j.editor);if(!i)return;switch(e){case"splitv":this.__tableModule.splitVertical(i);break;case"splitg":this.__tableModule.splitHorizontal(i);break;case"merge":this.__tableModule.mergeSelected(i);break;case"empty":t.forEach(e=>n.J.detach(e));break;case"bin":n.J.safeRemove(i);break;case"binrow":new Set(t.map(e=>e.parentNode)).forEach(e=>{this.__tableModule.removeRow(i,e.rowIndex)});break;case"bincolumn":{const e=new Set;t.reduce((t,r)=>(e.has(r.cellIndex)||(t.push(r),e.add(r.cellIndex)),t),[]).forEach(e=>{this.__tableModule.removeColumn(i,e.cellIndex)})}break;case"addcolumnafter":case"addcolumnbefore":this.__tableModule.appendColumn(i,r,"addcolumnafter"===e);break;case"addrowafter":case"addrowbefore":this.__tableModule.appendRow(i,r.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"],d([o.autobind],p.prototype,"onStartSelection",null),d([(0,o.watch)(":outsideClick")],p.prototype,"onOutsideClick",null),d([(0,o.watch)(":change")],p.prototype,"onChange",null),d([o.autobind],p.prototype,"__onRemoveSelection",null),d([o.autobind],p.prototype,"__onStopSelection",null),d([o.autobind],p.prototype,"onExecCommand",null),d([o.autobind],p.prototype,"onAfterCommand",null),s.fg.add("selectCells",p)},28800(e,t,r){r.d(t,{k(){return s}});var i=r(82758),o=r(2748),n=r(49055);function s(e,t,r,s,a,l){return((e,t,r,s,a)=>{if(!o.J.isText(t)){if(s&&!s[t.nodeName])return!0;if(!s&&a&&a[t.nodeName])return!0}return!!e.o.cleanHTML.removeEmptyElements&&o.J.isElement(t)&&null!=t.nodeName.match(i.IS_INLINE)&&!o.J.isTemporary(t)&&0===(0,n.gj)(t.innerHTML).length&&(null==r||!o.J.isOrContains(t,r))})(e,t,l,s,a)?(o.J.safeRemove(t),!0):r}},28911(e,t){t.A='<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(e,t){t.A={"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"}},29136(e,t,r){r.d(t,{_(){return n}});var i=r(2748),o=r(78116);function n(e){return!(!e||i.J.isEmptyTextNode(e)||i.J.isTemporary(e)||(0,o.r)(e))}},29345(e,t,r){r.d(t,{f(){return i}});const i=e=>((e.isElement&&"always"===e.style.get("page-break-before")||"page"===e.style.get("break-before"))&&(e.attributes["jd-safe"]=!0,e.style.add("page-break-before","always"),e.isSingle&&(e.name="div")),e)},29615(e,t,r){r.d(t,{j(){return n}});var i=r(2748),o=r(29960);function n(e,t,r,n){let s=i.J.closest(t,"a",e.editor);r?(s||(s=i.J.wrap(t,"a",e.createInside)),(0,o.C)(s,"href",r),(0,o.C)(s,"target",n?"_blank":null)):s&&s.parentNode&&s.parentNode.replaceChild(t,s)}},29673(e,t,r){function i(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/)}r.d(t,{C(){return i}})},29807(e,t,r){r.d(t,{k(){return o}});var i=r(70799);function o(e){if((0,i.K)(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(e,t,r){r.d(t,{_(){return p}});var i=r(87325),o=r(97357),n=r(37133),s=r(21537),a=r(70799),l=r(29960),c=r(48538),d=r(12153),u=r(14415),h=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};let p=class e extends c.D{className(){return"UIImagePositionTab"}render({availableClasses:e}){return`<div class="jodit-form__group &__editMargins">\n\t\t\t<label>~Margins~</label>\n\t\t\t<div class="jodit-grid jodit_vertical_middle">\n\t\t\t\t<input class="jodit_col-lg-1-5 jodit-input &__marginTop" type="text" placeholder="~top~"/>\n\t\t\t\t<a style="text-align: center;" class="jodit-properties__lock jodit_col-lg-1-5 &__lockMargin">*lock*</a>\n\t\t\t\t<input disabled="disabled" class="jodit_col-lg-1-5 jodit-input &__marginRight" type="text" placeholder="~right~"/>\n\t\t\t\t<input disabled="disabled" class="jodit_col-lg-1-5 jodit-input &__marginBottom" type="text" placeholder="~bottom~"/>\n\t\t\t\t<input disabled="disabled" class="jodit_col-lg-1-5 jodit-input &__marginLeft" type="text" placeholder="~left~"/>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class="jodit-form__group &__editAlign">\n\t\t\t<label>~Align~</label>\n\t\t\t<select class="jodit-select &__align">\n\t\t\t\t<option value="">~--Not Set--~</option>\n\t\t\t\t<option value="left">~Left~</option>\n\t\t\t\t<option value="center">~Center~</option>\n\t\t\t\t<option value="right">~Right~</option>\n\t\t\t</select>\n\t\t</div>\n\t\t<div class="jodit-form__group &__editStyle">\n\t\t\t<label>~Styles~</label>\n\t\t\t<input type="text" class="jodit-input &__style"/>\n\t\t</div>\n\t\t<div class="jodit-form__group &__editClass">\n\t\t\t<label>~Classes~</label>\n\t\t\t${(()=>{const t=[];return e&&e.length>0?(t.push('<select class="jodit-input jodit-select &__classes">'),e.forEach(e=>{(0,a.K)(e)?t.push(`<option value="${e}">${e}</option>`):t.push(`<option value="${e[0]}">${e[1]}</option>`)}),t.push("</select>")):t.push('<input type="text" class="jodit-input &__classes"/>'),t.join("")})()}\n\t\t</div>\n\t\t<div class="jodit-form__group &__editId">\n\t\t\t<label>Id</label>\n\t\t\t<input type="text" class="jodit-input &__id"/>\n\t\t</div>\n\t\t<div\n\t\t\tclass="jodit-form__group &__editBorderRadius"\n\t\t>\n\t\t\t<label>~Border radius~</label>\n\t\t\t<input type="number" class="jodit-input &__borderRadius"/>\n\t\t</div>`}onStateAlignChange(){this.getElm("align").value=this.state.values.align}onChangeAlign(){const e=this.getElm("align");this.state.values.align=e.value}onStateValuesBorderRadiusChange(){this.getElm("borderRadius").value=""+this.state.values.borderRadius}onChangeBorderRadius(){const e=this.getElm("borderRadius");this.state.values.borderRadius=parseFloat(e.value)}onStateValuesIdChange(){this.getElm("id").value=this.state.values.id}onChangeId(){const e=this.getElm("id");this.state.values.id=e.value}onStateValuesStyleChange(){this.getElm("style").value=this.state.values.style}onChangeStyle(){const e=this.getElm("style");this.state.values.style=e.value}onStateValuesClassesChange(){this.getElm("classes").value=this.state.values.classes}onChangClasses(){const e=this.getElm("classes");this.state.values.classes=e.value}onLockMarginClick(e){this.state.marginIsLocked=!this.state.marginIsLocked,e.preventDefault()}onChangeMarginIsLocked(){const e=this.getElm("marginBottom"),t=this.getElm("marginRight"),r=this.getElm("marginLeft"),i=this.getElm("lockMargin");if([t,e,r].forEach(e=>{(0,l.C)(e,"disabled",this.state.marginIsLocked||null)}),i.innerHTML=d.I.get(this.state.marginIsLocked?"lock":"unlock"),this.state.marginIsLocked){const e=this.state.values.marginTop;this.state.values.marginRight=e,this.state.values.marginBottom=e,this.state.values.marginLeft=e}}onStateValuesMarginChange(){const e=this.getElm("marginTop"),t=this.getElm("marginRight"),r=this.getElm("marginBottom"),i=this.getElm("marginLeft");e.value=""+this.state.values.marginTop,t.value=""+this.state.values.marginRight,r.value=""+this.state.values.marginBottom,i.value=""+this.state.values.marginLeft}onChangeMargin(){const e=this.getElm("marginTop"),t=this.getElm("marginRight"),r=this.getElm("marginBottom"),i=this.getElm("marginLeft");this.state.values.marginTop=(0,u.G)(e.value),this.state.marginIsLocked?(this.state.values.marginRight=this.state.values.marginTop,this.state.values.marginBottom=this.state.values.marginTop,this.state.values.marginLeft=this.state.values.marginTop):(this.state.values.marginRight=(0,u.G)(t.value),this.state.values.marginBottom=(0,u.G)(r.value),this.state.values.marginLeft=(0,u.G)(i.value))}hideFieldByOptions(){const e=this.j.o.image;[["editMargins","editMargins"],["editAlign","editAlign"],["editStyle","editStyle"],["editClass","editClass"],["editId","editId"],["editBorderRadius","editBorderRadius"]].forEach(([t,r])=>{const i=this.getElm(r);(0,s.css)(i,"display",e[t]?null:"none")})}constructor(e,t,r){super(e,{availableClasses:e.o.image.availableClasses}),this.state=t,this.handlers=r}};h([(0,o.A)("ready"),(0,n.w)("state.values.align")],p.prototype,"onStateAlignChange",null),h([(0,n.w)("align:change")],p.prototype,"onChangeAlign",null),h([(0,o.A)("ready"),(0,n.w)("state.values.borderRadius")],p.prototype,"onStateValuesBorderRadiusChange",null),h([(0,n.w)("borderRadius:change")],p.prototype,"onChangeBorderRadius",null),h([(0,o.A)("ready"),(0,n.w)("state.values.id")],p.prototype,"onStateValuesIdChange",null),h([(0,n.w)("id:change")],p.prototype,"onChangeId",null),h([(0,o.A)("ready"),(0,n.w)("state.values.style")],p.prototype,"onStateValuesStyleChange",null),h([(0,n.w)("style:change")],p.prototype,"onChangeStyle",null),h([(0,o.A)("ready"),(0,n.w)("state.values.classes")],p.prototype,"onStateValuesClassesChange",null),h([(0,n.w)("classes:change")],p.prototype,"onChangClasses",null),h([(0,n.w)("lockMargin:click")],p.prototype,"onLockMarginClick",null),h([(0,o.A)("ready"),(0,n.w)("state.marginIsLocked")],p.prototype,"onChangeMarginIsLocked",null),h([(0,o.A)("ready"),(0,n.w)(["state.values.marginTop","state.values.marginRight","state.values.marginBottom","state.values.marginLeft"])],p.prototype,"onStateValuesMarginChange",null),h([(0,n.w)(["marginTop:change","marginRight:change","marginBottom:change","marginLeft:change"])],p.prototype,"onChangeMargin",null),h([(0,o.A)("ready")],p.prototype,"hideFieldByOptions",null),p=h([i.s],p)},29960(e,t,r){r.d(t,{C(){return s}});var i=r(27613),o=r(12475),n=r(41180);function s(e,t,r){if(!e||!(0,i.Tn)(e.getAttribute))return null;if(!(0,i.Kg)(t))return Object.keys(t).forEach(r=>{const o=t[r];(0,i.Qd)(o)&&"style"===r?(0,n.A)(e,o):("className"===r&&(r="class"),s(e,r,o))}),null;let a=(0,o.N)(t);if(/^-/.test(a)){const t=s(e,"data"+a);if(t)return t;a=a.substr(1)}if(void 0!==r){if(null!=r){let t=""+r;return"IMG"!==e.nodeName||"width"!==a&&"height"!==a||(t=t.replace("px","")),e.setAttribute(a,t),t}e.hasAttribute(a)&&e.removeAttribute(a)}return e.getAttribute(a)}},29999(e,t,r){r.d(t,{_(){return o}});var i=r(68345);const o=e=>(0,i.c)(e)?e:[e]},30389(e,t,r){r.d(t,{O(){return i},U(){return o}});var i=r(25685),o=r(66465)},30465(e,t,r){function i(e){return e.files.setMod("active",!0),e.files.setMod("loading",!0),e.dataProvider.items(e.state.currentPath,e.state.currentSource,{sortBy:e.state.sortBy,onlyImages:e.state.onlyImages,filterWord:e.state.filterWord}).then(t=>{t&&(e.state.elements=t,e.state.activeElements=[])}).catch(e.status).finally(()=>e.files.setMod("loading",!1))}r.d(t,{f(){return i}})},31117(e,t,r){r.d(t,{LE(){return i.LE},Lv(){return i.Lv},OH(){return n.O},Rd(){return o.R},hJ(){return i.hJ},qy(){return n.q},xe(){return i.xe}});var i=r(84661),o=r(2969),n=r(90129)},31151(e,t){t.A='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M36 4h-24c-2.21 0-4 1.79-4 4v32c0 2.21 1.79 4 4 4h24c2.21 0 4-1.79 4-4v-32c0-2.21-1.79-4-4-4zm-24 4h10v16l-5-3-5 3v-16z"/> </svg> '},31359(e,t,r){r.d(t,{T(){return a}});var i=r(82758),o=r(580),n=r(27613),s=r(14041);function a(e,t,r,a,l,c){if((0,n.Gp)(a))try{a.init(e)}catch(e){if(!i.IS_PROD)throw e}l.set(t,a),c.delete(t),a.hasStyle&&(0,s.M)(e,t).catch(e=>{}),a.styles&&((0,o.My)(e,t,"style").innerHTML=a.styles)}},31461(e,t,r){r.d(t,{J(){return o}});var i=r(21537);const o=(e,t)=>{if(t.rtf&&"#comment"===e.name&&e.attributes.nodeValue&&-1!==e.attributes.nodeValue.indexOf("<v:shape")){t.shapes||(t.shapes={});const r=t.jodit.create.fromHTML(e.attributes.nodeValue);return(0,i.toArray)(r.getElementsByTagName("v:shape")).forEach(e=>{t.shapes[e.id]=e.getAttribute("o:spid")}),e}if("img"!==e.name)return e;if(t.rtf&&e.attributes["v:shapes"]){const r=t.shapes?.[e.attributes["v:shapes"]];if(r){const i=t.imageMap??{};t.imageMap||(t.imageMap=i,n(t.rtf,"i","\\shppict",t.imageMap),n(t.rtf,"s","\\shp{",t.imageMap));const o=i[r.substring(7)];if(o){const t=[],r=o.hex.match(/[0-9a-f]{2}/gi);if(r){for(let e=0;r.length>e;e++)t.push(String.fromCharCode(parseInt(r[e],16)));e.attributes.src="data:"+o.type+";base64,"+btoa(t.join(""))}}}}return e};function n(e,t,r,i){const o=e.split(r);for(const e of o){const r=e.split("shplid");if(r.length>1){const e=r[1];let o="";for(let t=0;e.length>t&&!/[{ \r\n\\]/.test(e[t]);t++)o+=e[t];const n=e.split("bliptag");if(n&&2>n.length)continue;let s=null;if(n[0].indexOf("pngblip")?s="image/png":-1!==n[0].indexOf("jpegblip")&&(s="image/jpeg"),!s)continue;const a=n[1].split("}");if(a&&2>a.length)continue;let l;if(a.length>2&&a[0].includes("blipuid"))l=a[1].split(" ");else{if(l=a[0].split(" "),l&&2>l.length)continue;l.shift()}i[t+o]={hex:l.join(""),type:s}}}}},31554(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M704 1376v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm-544-992h448l-48-117q-7-9-17-11h-317q-10 2-17 11zm928 32v64q0 14-9 23t-23 9h-96v948q0 83-47 143.5t-113 60.5h-832q-66 0-113-58.5t-47-141.5v-952h-96q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h309l70-167q15-37 54-63t79-26h320q40 0 79 26t54 63l70 167h309q14 0 23 9t9 23z"/> </svg> '},31571(e,t,r){r.d(t,{s(){return c}});var i=r(82758),o=r(65478),n=r(580),s=r(21537),a=r(50911),l=(r(71842),r(117));class c extends a.k{afterInit(e){}beforeDestruct(e){}processWordHTML(e,t,r){const{j:i}=this,{processPasteFromWord:o,askBeforePasteFromWord:n,defaultActionOnPasteFromWord:a,defaultActionOnPaste:c,pasteFromWordActionList:d}=i.o;return!(!o||!(0,s.isHtmlFromWord)(t)||(n?(0,l.PU)(i,"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Word Paste Detected",i=>{this.insertFromWordByType(e,t,i,r)},d):this.insertFromWordByType(e,t,a||c,r),0))}insertFromWordByType(e,t,r,o){var n;switch(r){case i.INSERT_AS_HTML:{t=(0,s.applyStyles)(t);const e=null===(n=this.j.events)||void 0===n?void 0:n.fire("beautifyHTML",t);(0,s.isString)(e)&&(t=e);break}case i.INSERT_AS_TEXT:t=(0,s.cleanFromWord)(t);break;case i.INSERT_ONLY_TEXT:t=(0,s.stripTags)((0,s.cleanFromWord)(t))}(0,l.sX)(e,this.j,t)}}c.requires=["paste"],function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);n>3&&s&&Object.defineProperty(t,r,s)}([(0,o.watch)(":processHTML")],c.prototype,"processWordHTML",null),n.fg.add("pasteFromWord",c)},31589(e,t,r){r.d(t,{m(){return i}});const i=(e,t)=>{!1!==(Object.getOwnPropertyDescriptor(e,t)||{}).enumerable&&Object.defineProperty(e,t,{enumerable:!1,set(e){Object.defineProperty(this,t,{enumerable:!1,writable:!0,value:e})}})}},31635(e,t,r){function i(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}r.d(t,{Cg(){return i}}),"function"==typeof SuppressedError&&SuppressedError},31974(e,t,r){var i=r(12153),o=r(6441),n=r(42107),s=r(23658);o.T.prototype.aiAssistant={aiCommonPrefixPrompt:"",aiCommonSuffixPrompt:"",aiImproveWritingPrompt:"It needs to be refined for better clarity, coherence, and overall quality. Please enhance the writing style while keeping the original meaning and language intact.",aiMakeShorterPrompt:"Please condense this content to make it more concise, while preserving the key messages, language and information.",aiMakeLongerPrompt:"Expand on this content to provide more detail, depth, and richness, without diverging from the original message and language.",aiSimplifyLanguagePrompt:"The language used here needs to be simplified for easier understanding, without altering the core information and the original language.",aiSummarizePrompt:"Provide a brief summary of this content, capturing the essential points in a concise manner. Preserve the original language and meaning.",aiContinuePrompt:"Continue the narrative or discussion from this content seamlessly, maintaining the same language, tone and style.",aiChangeToneProfessionalPrompt:"Adjust the tone to be professional, suitable for a formal business or academic setting, while retaining the original message and language.",aiChangeToneFriendlyPrompt:"It needs to be rewritten in a friendly tone while maintaining the original message and language. Please modify this content to be warm, approachable, and engaging.",aiChangeToneFormalPrompt:"Transform this content to have a formal tone, appropriate for official or serious contexts, without changing the main points and language.",aiChangeToneCasualPrompt:"Revise this content to have a casual, relaxed tone, making it feel more personal and less formal, without changing the original meaning and language.",aiChangeToneDirectPrompt:"Make the tone more direct, with straightforward language and a clear, assertive approach, without changing the original meaning and language.",aiChangeToneConfidentPrompt:"Infuse this content with a confident tone, showcasing assurance and decisiveness, without changing the original meaning and language.",aiChangeStyleBusinessPrompt:"Rewrite this content with a business-oriented style, focusing on clarity, efficiency, and professionalism, without changing the original meaning and language.",aiChangeStyleLegalPrompt:"Adapt this content to a legal style, incorporating appropriate terminology and formality typical of legal documents, without changing the original meaning and language.",aiChangeStyleJournalismPrompt:"Convert this content into a journalistic style, emphasizing factual accuracy, objectivity, and informative reporting, without changing the original meaning and language.",aiChangeStylePoeticPrompt:"Recreate this content with a poetic style, using expressive language, rhythm, and imagery to convey the message, without changing the original meaning and language.",aiTranslateToSpanishPrompt:"Translate this content into Spanish, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToFrenchPrompt:"Translate this content into French, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToGermanPrompt:"Translate this content into German, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToItalianPrompt:"Translate this content into Italian, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToPortuguesePrompt:"Translate this content into Portuguese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToEnglishPrompt:"Translate this content into English, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToChinesePrompt:"Translate this content into Chinese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToJapanesePrompt:"Translate this content into Japanese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToKoreanPrompt:"Translate this content into Korean, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToRussianPrompt:"Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToArabicPrompt:"Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning."},i.I.set("ai-assistant",s.A),i.I.set("ai-commands",n.A),o.T.prototype.controls["ai-commands"]={isDisabled:e=>!e.o.aiAssistant.aiAssistantCallback,tooltip:"AI Commands",list:{aiImproveWritingPrompt:"Improve writing",aiMakeShorterPrompt:"Make shorter",aiMakeLongerPrompt:"Make longer",aiSimplifyLanguagePrompt:"Simplify language",aiSummarizePrompt:"Summarize",aiContinuePrompt:"Continue",aiChangeToneProfessionalPrompt:"Change tone to professional",aiChangeToneFriendlyPrompt:"Change tone to friendly",aiChangeToneFormalPrompt:"Change tone to formal",aiChangeToneCasualPrompt:"Change tone to casual",aiChangeToneDirectPrompt:"Change tone to direct",aiChangeToneConfidentPrompt:"Change tone to confident",aiChangeStyleBusinessPrompt:"Change style to business",aiChangeStyleLegalPrompt:"Change style to legal",aiChangeStyleJournalismPrompt:"Change style of journalism",aiChangeStylePoeticPrompt:"Change style to poetic",aiTranslateToSpanishPrompt:"Translate to Spanish",aiTranslateToFrenchPrompt:"Translate to French",aiTranslateToGermanPrompt:"Translate to German",aiTranslateToItalianPrompt:"Translate to Italian",aiTranslateToPortuguesePrompt:"Translate to Portuguese",aiTranslateToEnglishPrompt:"Translate to English",aiTranslateToChinesePrompt:"Translate to Chinese",aiTranslateToJapanesePrompt:"Translate to Japanese",aiTranslateToKoreanPrompt:"Translate to Korean",aiTranslateToRussianPrompt:"Translate to Russian",aiTranslateToArabicPrompt:"Translate to Arabic"},exec(e,t,{control:r}){e.e.fire("generateAiAssistantForm.ai-assistant",r.name)}},o.T.prototype.controls["ai-assistant"]={isDisabled:e=>!e.o.aiAssistant.aiAssistantCallback,hotkeys:["ctrl+a+i","cmd+a+i"],tooltip:"AI Assistant",exec(e,t,r){e.e.fire("generateAiAssistantForm.ai-assistant")}}},32118(e,t,r){r.d(t,{a(){return o}});const i=new WeakMap,o=e=>{let t=i.get(e);return t||(t={},i.set(e,t)),t}},32309(e,t,r){var i=r(580),o=r(21537),n=r(43649);r(37585),i.fg.add("mobile",e=>{let t=0,r=(0,o.splitArray)(e.o.buttons);e.o.mobileTapTimeout&&e.e.on("touchend",r=>{if(r.changedTouches&&r.changedTouches.length){const i=(new Date).getTime(),o=i-t;o>e.o.mobileTapTimeout&&(t=i,1.5*e.o.mobileTapTimeout>o&&e.s.insertCursorAtPoint(r.clientX,r.clientY))}}),e.e.on("getDiffButtons.mobile",t=>{if(t===e.toolbar){const t=(0,n.V)((0,o.splitArray)(e.o.buttons),e),i=(0,n.V)(r,e);return(0,o.toArray)(t).reduce((e,t)=>(i.has(t)||e.push(t),e),[])}}),e.o.toolbarAdaptive&&e.e.on("resize afterInit recalcAdaptive changePlace afterAddPlace",()=>{var t,i;if(!e.o.toolbar)return;const n=(null!==(t=e.container.parentElement)&&void 0!==t?t:e.container).offsetWidth,s=(0,o.splitArray)(e.isFullSize||n>=e.o.sizeLG?e.o.buttons:e.o.sizeMD>n?e.o.sizeSM>n?e.o.buttonsXS:e.o.buttonsSM:e.o.buttonsMD);""+s!=""+r&&(r=s,e.e.fire("closeAllPopups"),null===(i=e.toolbar)||void 0===i||i.setRemoveButtons(e.o.removeButtons).build(r.concat(e.o.extraButtons)))}).on(e.ow,"load resize",()=>e.e.fire("recalcAdaptive"))})},32496(e,t,r){r(6441).T.prototype.delete={hotkeys:{delete:["delete","cmd+backspace"],deleteWord:["ctrl+delete","cmd+alt+backspace","ctrl+alt+backspace"],deleteSentence:["ctrl+shift+delete","cmd+shift+delete"],backspace:["backspace"],backspaceWord:["ctrl+backspace"],backspaceSentence:["ctrl+shift+backspace","cmd+shift+backspace"]}}},32523(e,t,r){r.d(t,{b(){return d}});var i=r(87325),o=r(37133),n=r(2748),s=r(70799),a=r(67510),l=r(48538),c=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};let d=class e extends l.D{className(){return"UIAiAssistant"}render(){return'<div>\n\t\t\t\t<div class="&__container">\n\t\t\t\t\t\t<div class="&__error"></div>\n\t\t\t\t\t\t<div class="&__body"></div>\n\t\t\t\t\t\t<div class="&__buttons &_hide_true"></div>\n\t\t\t\t\t\t<div class="&__results &_hide_true">\n\t\t\t\t\t\t\t\t<div class="&__spinner"></div>\n\t\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t</div>'}setPrompt(e){if(e){const{jodit:t}=this,r=t.o.aiAssistant[e],{aiCommonPrefixPrompt:i,aiCommonSuffixPrompt:o}=t.o.aiAssistant;this.promptInput.value=[i,(0,s.K)(r)?r:"",o].filter(Boolean).join(" "),this.__toggleInsertButton(!0),this.promptInput.value&&(this.__formAiAssistant.submit(),this.__toggleSubmitButton(!0))}this.promptInput.focus()}onAiAssistentResponse(e){this.setMod("loading",!1),n.J.detach(this.__results),this.__aiResult=e,this.__results.appendChild(this.jodit.c.fromHTML(e)),this.__toggleSubmitButton(!1),this.__toggleInsertButton(!1)}onAiAssistentError(e){this.__aiResult="",this.setMod("loading",!1),this.__error.textContent=e,n.J.detach(this.__results),this.__toggleSubmitButton(!1);const t=this.getFullElName("","hide","true");this.__results.classList.add(t),this.__toggleInsertButton(!0)}onChangePromptValue(){this.__toggleSubmitButton(!this.promptInput.value)}__toggleSubmitButton(e){this.__submitButton.state.disabled=e,this.__tryAgainButton.state.disabled=e}__toggleInsertButton(e){this.__insertButton.state.disabled=e,this.__insertAfterButton.state.disabled=e}constructor(e,{onInsert:t,onInsertAfter:r}){super(e),this.__aiResult="",this.__error=this.getElm("error"),this.__body=this.getElm("body"),this.__buttons=this.getElm("buttons"),this.__results=this.getElm("results"),this.__spinner=this.getElm("spinner"),this.__insertButton=(0,a.$n)(e,"","Insert","primary").onAction(()=>t(this.__aiResult)),this.__insertAfterButton=(0,a.$n)(e,"","Insert After","initial").onAction(()=>r(this.__aiResult));const i=()=>{this.__formAiAssistant.validate()&&(this.__formAiAssistant.submit(),this.__toggleInsertButton(!0),this.__toggleSubmitButton(!0))};this.__submitButton=(0,a.$n)(e,"ai-assistant","").onAction(i),this.__tryAgainButton=(0,a.$n)(e,"update","","initial").onAction(i),this.promptInput=new a.F0(e,{name:"prompt",required:!0,label:"Prompt",placeholder:"Ask AI to improve generated text",className:this.getFullElName("prompt-row-input")});const o=new a.Yh(e,[this.__insertButton,this.__insertAfterButton,this.__tryAgainButton],{className:this.getFullElName("prompt-row")});this.__formAiAssistant=new a.XV(e,[new a.Yh(e,[this.promptInput,this.__submitButton],{className:this.getFullElName("prompt-row")})]).onSubmit(t=>{this.__error.textContent="",this.setMod("loading",!0),e.e.fire("invokeAiAssistant",t.prompt);const r=this.getFullElName("","hide","true");this.__results.classList.remove(r),this.__buttons.classList.remove(r),n.J.detach(this.__results),this.__results.appendChild(this.__spinner),this.__insertButton.focus()}),this.__buttons.appendChild(o.container),this.__body.appendChild(this.__formAiAssistant.container),this.onChangePromptValue()}};c([(0,o.w)(":ai-assistant-response")],d.prototype,"onAiAssistentResponse",null),c([(0,o.w)(":ai-assistant-error")],d.prototype,"onAiAssistentError",null),c([(0,o.w)("promptInput:change")],d.prototype,"onChangePromptValue",null),d=c([i.s],d)},32526(e,t,r){r.d(t,{y(){return a}});var i=r(2748),o=r(78116),n=r(49055),s=r(37790);function a(e,t,r){const i=r.s.createRange(),n=(0,o.r)(t.previousSibling)?t.previousSibling:t;i.setStartBefore(e),i.setEndBefore(n),l(e,i,!0);const s=(0,o.r)(t.nextSibling)?t.nextSibling:t;i.setStartAfter(s),i.setEndAfter(e),l(e,i,!1)}function l(e,t,r){const o=t.extractContents();o.textContent&&(0,n.Bq)(o.textContent).length||!o.firstChild||i.J.unwrap(o.firstChild),e.parentNode&&(0,s.T1)(r?i.J.before:i.J.after,e,o)}},32566(e,t,r){r.d(t,{P(){return a}});var i=r(29807),o=r(29960),n=r(41180),s=r(14415);async function a(e,t,r){await e.decode();const a=(0,n.A)(e,"width",!0)||(0,o.C)(e,"width")||!1,l=(0,n.A)(e,"height",!0)||(0,o.C)(e,"height")||!1;t.imageWidth=!1!==a?(0,s.G)(a):e.offsetWidth||e.naturalWidth,t.imageHeight=(0,i.k)(t.imageWidth)?!1!==l?(0,s.G)(l):e.offsetHeight||e.naturalHeight:l||"";const{imageWidth:c,imageHeight:d}=t,u=parseFloat(""+c);if((0,i.k)(c)&&(0,i.k)(d))return!1===l?(t.imageHeight=Math.round(u/r.ratio),void(r.sizeIsLocked=!0)):void(r.sizeIsLocked=1>Math.abs(u-parseFloat(""+d)*r.ratio));r.sizeIsLocked=!1}},32574(e,t,r){r.d(t,{Z(){return l}});var i=r(82758),o=r(2748),n=r(49055),s=r(76078);function a(e){return e.replace(/mso-[a-z-]+:[\s]*[^;]+;/gi,"").replace(/mso-[a-z-]+:[\s]*[^";']+$/gi,"").replace(/border[a-z-]*:[\s]*[^;]+;/gi,"").replace(/([0-9.]+)(pt|cm)/gi,(e,t,r)=>{switch(r.toLowerCase()){case"pt":return(1.328*parseFloat(t)).toFixed(0)+"px";case"cm":return(.02645833*parseFloat(t)).toFixed(0)+"px"}return e})}function l(e){if(-1===e.indexOf("<html "))return e;e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,e.lastIndexOf("</html>")+7);const t=i.globalDocument.createElement("iframe");t.style.display="none",i.globalDocument.body.appendChild(t);let r="",l=[];try{const c=t.contentDocument||(t.contentWindow?t.contentWindow.document:null);if(c){c.open(),c.write(e),c.close();try{for(let e=0;c.styleSheets.length>e;e+=1){const t=c.styleSheets[e].cssRules;for(let e=0;t.length>e;e+=1)""!==t[e].selectorText&&(l=(0,s.$$)(t[e].selectorText,c.body),l.forEach(r=>{r.style.cssText=a(t[e].style.cssText+";"+r.style.cssText)}))}}catch(e){if(!i.IS_PROD)throw e}o.J.each(c.body,e=>{if(o.J.isElement(e)){const t=e,r=t.getAttribute("style");r&&(t.style.cssText=a(r)),t.hasAttribute("style")&&!t.getAttribute("style")&&t.removeAttribute("style")}}),r=c.firstChild?(0,n.Bq)(c.body.innerHTML):""}}catch(e){}finally{o.J.safeRemove(t)}return r&&(e=r),(0,n.Bq)(e.replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,""))}},32726(e,t){t.A={"Type something":"הקלד משהו...",Advanced:"מתקדם","About Jodit":"About Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Jodit User's Guide","contains detailed help for using":"contains detailed help for using.","For information about the license, please go to our website:":"For information about the license, please go to our website:","Buy full version":"Buy full version","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.",Anchor:"מקום עיגון","Open in new tab":"פתח בכרטיסיה חדשה","Open 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:"אישור","Your code is similar to HTML. Keep as HTML?":"הקוד דומה לHTML, האם להשאיר כHTML","Paste as HTML":"הדבק כHTML",Keep:"השאר",Clean:"נקה","Insert as Text":"הכנס כטקסט","Word Paste Detected":'זוהתה הדבקה מ"וורד"',"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"התוכן המודבק מגיע ממסמך וורד/אקסל. האם ברצונך להשאיר את העיצוב או לנקותו","Insert only Text":"הכנס טקסט בלבד","File Browser":"סייר הקבצים","Error on load list":"שגיאה בזמן טעינת רשימה","Error on load folders":"שגיאה בזמן טעינת תקיות","Are you sure?":"האם אתה בטוח?","Enter Directory name":"הכנס שם תקיה","Create directory":"צור תקיה","type name":"סוג הקובץ","Drop image":"הסר תמונה","Drop file":"הסר קובץ","or click":"או לחץ","Alternative text":"כיתוב חלופי",Browse:"סייר",Upload:"העלה",Background:"רקע",Text:"טקסט",Top:"עליון",Middle:"מרכז",Bottom:"תחתון","Insert column before":"הכנס עמודה לפני","Insert column after":"הכנס עמודה אחרי","Insert row above":"הכנס שורה מעל","Insert row below":"הכנס שורה מתחת","Delete table":"מחק טבלה","Delete row":"מחק שורה","Delete column":"מחק עמודה","Empty cell":"רוקן תא",Delete:"מחק","Strike through":"קו חוצה",Underline:"קו תחתון",Break:"שבירת שורה","Search for":"חפש","Replace with":"החלף ב",Replace:"להחליף",Edit:"ערוך","Vertical align":"יישור אנכי","Horizontal align":"יישור אופקי",Filter:"סנן","Sort by changed":"מין לפי שינוי","Sort by name":"מיין לפי שם","Sort by size":"מיין לפי גודל","Add folder":"הוסף תקייה",Split:"פיצול","Split vertical":"פיצול אנכי","Split horizontal":"פיצול אופקי",Merge:"מזג","Add column":"הוסף עמודה","Add row":"הוסף שורה",Border:"מסגרת","Embed code":"הוסף קוד",Update:"עדכן",superscript:"superscript",subscript:"subscript","Cut selection":"גזור בחירה",Paste:"הדבק","Choose Content to Paste":"בחר תוכן להדבקה","Chars: %d":"תווים: %d","Words: %d":"מילים: %d",All:"הכל","Select %s":"נבחר: %s","Select all":"בחר הכל",source:"HTML",bold:"מודגש",italic:"נטוי",brush:"מברשת",link:"קישור",undo:"בטל",redo:"בצע שוב",table:"טבלה",image:"תמונה",eraser:"מחק",paragraph:"פסקה",fontsize:"גודל גופן",video:"וידאו",font:"גופן",about:"עלינו",print:"הדפס",underline:"קו תחתון",strikethrough:"קו חוצה",indent:"הגדל כניסה",outdent:"הקטן כניסה",fullsize:"גודל מלא",shrink:"כווץ",hr:"קו אופקי",ul:"רשימת תבליטים",ol:"רשימה ממוספרת",cut:"חתוך",selectall:"בחר הכל","Open link":"פתח קישור","Edit link":"ערוך קישור","No follow":"ללא מעקב",Unlink:"בטל קישור",Eye:"הצג",pencil:"כדי לערוך"," URL":"כתובת",Reset:"אפס",Save:"שמור","Save as ...":"שמור בשם...",Resize:"שנה גודל",Crop:"חתוך",Width:"רוחב",Height:"גובה","Keep Aspect Ratio":"שמור יחס",Yes:"כן",No:"לא",Remove:"הסר",Select:"בחר","You can only edit your own images. Download this image on the host?":"רק קבצים המשוייכים שלך ניתנים לעריכה. האם להוריד את הקובץ?","The image has been successfully uploaded to the host!":"התמונה עלתה בהצלחה!",palette:"לוח","There are no files":"אין קבצים בספריה זו.",Rename:"הונגרית","Enter new name":"הזן שם חדש",preview:"תצוגה מקדימה",download:"הורד","Paste from clipboard":"להדביק מהלוח","Your browser doesn't support direct access to the clipboard.":"הדפדפן שלך לא תומך גישה ישירה ללוח.","Copy selection":"העתק בחירה",copy:"העתק","Border radius":"רדיוס הגבול","Show all":"הצג את כל",Apply:"החל","Please fill out this field":"נא למלא שדה זה","Please enter a web address":"אנא הזן כתובת אינטרנט",Default:"ברירת המחדל",Circle:"מעגל",Dot:"נקודה",Quadrate:"הריבוע הזה",Find:"למצוא","Find Previous":"מצא את הקודם","Find Next":"חפש את הבא","Insert className":"הכנס את שם הכיתה","Press Alt for custom resizing":"לחץ על אלט לשינוי גודל מותאם אישית","License: %s":"רישיון: %s"}},32824(e,t,r){r.r(t),r.d(t,{ar(){return i},cs_cz(){return i},de(){return i},es(){return i},fa(){return i},fi(){return i},fr(){return i},he(){return i},hu(){return i},id(){return i},it(){return i},ja(){return i},ko(){return i},mn(){return i},nl(){return i},pl(){return i},pt_br(){return i},ru(){return i},tr(){return i},ua(){return i},zh_cn(){return i},zh_tw(){return i}});var i=r(41324)},32880(e,t,r){r.d(t,{Rc(){return o.R},ZW(){return n.Z},h2(){return i.h},rV(){return i.r}});var i=r(93661),o=r(86397),n=r(57865)},33281(e,t,r){r.d(t,{c(){return d}});var i=r(21537),o=r(27613),n=r(11787),s=r(44450),a=r(30465),l=r(20201),c=r(50050);function d(){const e=this.state,t=this.dataProvider,r=this;r.e.on("view.filebrowser",t=>{t!==e.view&&(e.view=t)}).on("sort.filebrowser",t=>{t!==e.sortBy&&(e.sortBy=t,(0,a.f)(r))}).on("filter.filebrowser",t=>{t!==e.filterWord&&(e.filterWord=t,(0,a.f)(r))}).on("openFolder.filebrowser",e=>{let t;t=".."===e.name?e.path.split("/").filter(e=>e.length).slice(0,-1).join("/"):(0,i.normalizePath)(e.path,e.name),r.state.currentPath=t,r.state.currentSource="."===e.name?n.o:e.source}).on("removeFolder.filebrowser",e=>{r.confirm("Are you sure?","Delete",i=>{i&&t.folderRemove(e.path,e.name,e.source).then(e=>(r.status(e,!0),(0,l.r)(r))).catch(r.status)})}).on("renameFolder.filebrowser",e=>{r.prompt("Enter new name","Rename",i=>{if(!(0,o.uV)(i))return r.status(r.i18n("Enter new name")),!1;t.folderRename(e.path,e.name,i,e.source).then(e=>(r.state.activeElements=[],r.status(e,!0),(0,l.r)(r))).catch(r.status)},"type name",e.name)}).on("addFolder.filebrowser",e=>{r.prompt("Enter Directory name","Create directory",i=>{t.createFolder(i,e.path,e.source).then(()=>(0,l.r)(r)).catch(r.status)},"type name")}).on("fileRemove.filebrowser",()=>{r.state.activeElements.length&&r.confirm("Are you sure?","",e=>{if(e){const e=[];r.state.activeElements.forEach(t=>{e.push((0,s.W)(r,t.file||t.name||"",t.sourceName))}),r.state.activeElements=[],Promise.all(e).then(()=>(0,l.r)(r).catch(r.status),r.status)}})}).on("edit.filebrowser",()=>{if(1===r.state.activeElements.length){const[e]=this.state.activeElements;c.B.call(r,e.fileURL,e.file||"",e.path,e.sourceName)}}).on("fileRename.filebrowser",(e,i,n)=>{1===r.state.activeElements.length&&r.prompt("Enter new name","Rename",s=>{if(!(0,o.uV)(s))return r.status(r.i18n("Enter new name")),!1;t.fileRename(i,e,s,n).then(e=>{r.state.activeElements=[],r.status(e,!0),(0,a.f)(r)}).catch(r.status)},"type name",e)}).on("update.filebrowser",()=>{(0,l.r)(this).then(this.status,this.status)})}},33433(e,t,r){r.d(t,{OK(){return c},PO(){return a},PP(){return l}});var i=r(78213),o=(r(82758),r(2748)),n=r(27613),s=r(82760);function a(e,t){const r=Object.getOwnPropertyDescriptor(e,t);return!r||(0,n.Tn)(r.get)?null:r.value}function l(e,t,r){const i=r.get;if(!i)throw(0,s.z3)("Getter property descriptor expected");r.get=function(){const e=i.call(this);return e&&!0===e.noCache||Object.defineProperty(this,t,{configurable:r.configurable,enumerable:r.enumerable,writable:!1,value:e}),e}}function c(e,t,r){const a=r.value;if(!(0,n.Tn)(a))throw(0,s.z3)("Handler must be a Function");let l=!0;const c=new WeakMap;r.value=function(...e){var t;if(l&&c.has(this.constructor))return null===(t=c.get(this.constructor))||void 0===t?void 0:t.cloneNode(!0);const r=a.apply(this,e);return l&&o.J.isElement(r)&&c.set(this.constructor,r),l?r.cloneNode(!0):r},e.hookStatus(i.f.ready,e=>{const t=(0,n.hH)(e)?e:e.jodit;l=!!t.options.cache})}},33489(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm-1280-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68z"/> </svg> '},33651(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1728 576v256q0 26-19 45t-45 19h-64q-26 0-45-19t-19-45v-256q0-106-75-181t-181-75-181 75-75 181v192h96q40 0 68 28t28 68v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h672v-192q0-185 131.5-316.5t316.5-131.5 316.5 131.5 131.5 316.5z"/> </svg> '},34013(e,t,r){r.d(t,{A(){return a}});var i=r(82758),o=r(63799),n=r(41180),s=r(86019);r(65917);class a extends s.x{beforeInitHook(){if(i.IS_PROD&&!i.IS_TEST&&this.o.loadExternalConfig)return(0,o.w4)(this,this.basePath+"config.js")}afterInitHook(){(async()=>{if("normal"!==await this.e.fire("checkReserve",location.host)){if(this.isInDestruct)return;const e=this.c.div("",'Trial version. Buy <a href="https://xdsoft.net/jodit/pro/">Jodit Pro</a>');(0,n.A)(e,{position:"absolute",color:"red",right:10,bottom:10}),this.addDisclaimer(e)}})().catch(()=>null),super.afterInitHook()}getVersion(){return"PRO "+i.APP_VERSION}}},34176(e,t,r){r.d(t,{K(){return o}});var i=r(86068);class o{afterSetMod(e,t){}setMod(e,t,r){e=e.toLowerCase();const o=this.mods[e];if(o===t)return this;const n=`${this.componentName}_${e}_`,s=(r||this.container).classList;return null!=o&&s.remove(`${n}${(""+o).toLowerCase()}`),!(0,i.R)(t)&&""!==t&&s.add(`${n}${(""+t).toLowerCase()}`),this.mods[e]=t,this.afterSetMod(e,t),this}getMod(e){var t;return null!==(t=this.mods[e])&&void 0!==t?t:null}}},34244(e,t,r){r.d(t,{b(){return n}});var i=r(87325),o=r(48538);let n=class e extends o.D{className(){return"UISpacer"}};n=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([i.s],n)},34755(e,t,r){r.d(t,{j(){return l}});var i=r(2748),o=r(43555),n=r(29615),s=r(14721),a=r(87602);function l(e,t,r){const{style:l,imageSrc:c,borderRadius:d,imageTitle:u,imageAlt:h,imageLink:p,imageWidth:f,imageHeight:m,marginTop:g,marginRight:v,marginBottom:b,marginLeft:y,imageLinkOpenInNewTab:w,align:_,classes:k,id:C}=t.values,S=e.o;S.image.editStyle&&(0,o.CF)(r,"style",l||null),c?((0,o.CF)(r,"src",c),r.style.borderRadius=d?d+"px":"",(0,o.CF)(r,"title",u||null),(0,o.CF)(r,"alt",h||null),(0,n.j)(e,r,p,w),(0,a.q)(r,f,m,t.sizeIsLocked),e.o.image.editMargins&&(0,s.N)(e,g,v,b,y,r,t.marginIsLocked),S.image.editClass&&(0,o.CF)(r,"class",k||null),S.image.editId&&(0,o.CF)(r,"id",C||null),S.image.editAlign&&(0,o.Mr)(r,_)):i.J.safeRemove(r)}},34793(e,t,r){r.d(t,{k(){return a}});var i=r(2748),o=r(21537),n=r(67510),s=r(38927);const a=(e,t,r,a,c=!0)=>{let d;const u=[];if(t.upload&&e.o.uploader&&(e.o.uploader.url||e.o.uploader.insertImageAsBase64URI)){const r=e.c.fromHTML(`<div class="jodit-drag-and-drop__file-box"><strong>${e.i18n(c?"Drop image":"Drop file")}</strong><span><br>${e.i18n("or click")}</span><input type="file" accept="${c?"image/*":"*"}" tabindex="-1" dir="auto" multiple=""/></div>`);e.uploader.bind(r,r=>{const i=(0,o.isFunction)(t.upload)?t.upload:e.o.uploader.defaultHandlerSuccess;(0,o.isFunction)(i)&&i.call(e,r),e.e.fire("closeAllPopups")},t=>{e.message.error(t.message),e.e.fire("closeAllPopups")}),u.push({icon:"upload",name:"Upload",content:r})}if(t.filebrowser&&(e.o.filebrowser.ajax.url||e.o.filebrowser.items.url)&&u.push({icon:"folder",name:"Browse",content(){a&&a(),t.filebrowser&&e.filebrowser.open(t.filebrowser,c)}}),t.url){const s=new n.lD(e,{type:"submit",variant:"primary",text:"Insert"}),a=new n.XV(e,[new n.tS(e,{required:!0,label:"URL",name:"url",type:"text",placeholder:"https://"}),new n.tS(e,{name:"text",label:"Alternative text"}),new n.Yh(e,[s])]);d=null,!r||i.J.isText(r)||i.J.isComment(r)||!i.J.isTag(r,"img")&&!(0,o.$$)("img",r).length||(d="IMG"===r.tagName?r:(0,o.$$)("img",r)[0],l(a.container,"input[name=url]",(0,o.attr)(d,"src")),l(a.container,"input[name=text]",(0,o.attr)(d,"alt")),s.state.text="Update"),r&&i.J.isTag(r,"a")&&(l(a.container,"input[name=url]",(0,o.attr)(r,"href")),l(a.container,"input[name=text]",(0,o.attr)(r,"title")),s.state.text="Update"),a.onSubmit(r=>{(0,o.isFunction)(t.url)&&t.url.call(e,r.url,r.text)}),u.push({icon:"link",name:"URL",content:a.container})}return(0,s.Z)(e,u)};function l(e,t,r){const i=e.querySelector(t);return i?(r&&(i.value=r),i.value):""}},35105(e,t,r){r.d(t,{k(){return c}});var i=r(87325),o=r(97357),n=r(37133),s=r(21537),a=r(62405),l=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};let c=class e extends a.U{className(){return"UIImageMainTab"}appendChildToContainer(){}render(){return'<div class="jodit-form__group &__editSrc">\n\t\t\t<label>~Src~</label>\n\t\t\t<div class="jodit-input_group">\n\t\t\t\t<input class="jodit-input &__imageSrc" type="text"/>\n\t\t\t\t<div class="jodit-input_group-buttons &__fixImage">\n\t\t\t\t\t\t<a class="jodit-button &__changeImage">*image*</a>\n\t\t\t\t\t\t<a class="jodit-button &__editImage">*crop*</a>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class="jodit-form__group &__editTitle">\n\t\t\t<label>~Title~</label>\n\t\t\t<input type="text" class="jodit-input &__imageTitle"/>\n\t\t</div>\n\t\t<div class="jodit-form__group &__editAlt">\n\t\t\t<label>~Alternative~</label>\n\t\t\t<input type="text" class="jodit-input &__imageAlt"/>\n\t\t</div>\n\t\t<div class="jodit-form__group &__editLink">\n\t\t\t<label>~Link~</label>\n\t\t\t<input type="text" class="jodit-input &__imageLink"/>\n\t\t</div>\n\t\t<div class="jodit-form__group &__editLinkTarget">\n\t\t\t<label class="jodit_vertical_middle">\n\t\t\t\t<input type="checkbox" class="jodit-checkbox &__imageLinkOpenInNewTab"/>\n\t\t\t\t<span>~Open link in new tab~</span>\n\t\t\t</label>\n\t\t</div>'}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(){const e=this.j.o,t=e.image;[["editSrc","editSrc"],["editTitle","editTitle"],["editAlt","editAlt"],["editLink","editLink"],["editLink","editLinkTarget"],["useImageEditor","editImage"]].forEach(([e,r])=>{const i=this.getElm(r);(0,s.css)(i,"display",t[e]?null:"none")});const r=this.getElm("changeImage"),i=!(!e.filebrowser.ajax.url&&!e.uploader.url);(0,s.css)(r,"display",i?null:"none");const o=this.getElm("editImage"),n=!!e.filebrowser.ajax.url&&t.useImageEditor;(0,s.css)(o,"display",n?null:"none");const a=this.getElm("fixImage");(0,s.css)(a,"display",i||n?null:"none")}constructor(e,t,r){super(e),this.state=t,this.handlers=r}};l([(0,n.w)("state.values.imageSrc")],c.prototype,"onStateImageSrcChange",null),l([(0,n.w)("imageSrc:change")],c.prototype,"onImageSrcChange",null),l([(0,n.w)("editImage:click")],c.prototype,"onEditImageClick",null),l([(0,n.w)("changeImage:click")],c.prototype,"onChangeImageClick",null),l([(0,n.w)("state.values.imageTitle")],c.prototype,"onStateTitleChange",null),l([(0,n.w)("imageTitle:change")],c.prototype,"onTitleChange",null),l([(0,n.w)("state.values.imageAlt")],c.prototype,"onStateAltChange",null),l([(0,n.w)("imageAlt:change")],c.prototype,"onAltChange",null),l([(0,n.w)("state.values.imageLink")],c.prototype,"onStateImageLinkChange",null),l([(0,n.w)("imageLink:change")],c.prototype,"onImageLinkChange",null),l([(0,n.w)("state.values.imageLinkOpenInNewTab")],c.prototype,"onStateImageLinkOpenInNewTabChange",null),l([(0,n.w)("imageLinkOpenInNewTab:change")],c.prototype,"onImageLinkOpenInNewTabChange",null),l([(0,o.A)("ready")],c.prototype,"hideFieldByOptions",null),c=l([i.s],c)},35278(e,t,r){r.d(t,{s(){return i}});const i=e=>{if("rgba(0, 0, 0, 0)"===e||""===e)return!1;if(!e)return"#000000";if("#"===e.substr(0,1))return e;const t=/([\s\n\t\r]*?)rgb\((\d+), (\d+), (\d+)\)/.exec(e)||/([\s\n\t\r]*?)rgba\((\d+), (\d+), (\d+), ([\d.]+)\)/.exec(e);if(!t)return"#000000";const r=parseInt(t[2],10),i=parseInt(t[3],10);let o=(parseInt(t[4],10)|i<<8|r<<16).toString(16).toUpperCase();for(;6>o.length;)o="0"+o;return t[1]+"#"+o}},35399(e,t,r){r.d(t,{C1(){return u.C},Dk(){return n.D},HS(){return d.H},Mt(){return l.M},bD(){return o.b},cf(){return c.c},lN(){return i.l},tX(){return s.t},yh(){return a.y}});var i=r(41872),o=r(61991),n=r(54041),s=r(19057),a=r(44245),l=r(91388),c=r(65181),d=r(54600),u=r(5287)},35599(e,t){t.A='<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(e,t,r){r.d(t,{S(){return k}});var i,o=r(91907),n=r(4012),s=r(78213),a=r(82758),l=r(20218),c=r(33433),d=r(55153),u=r(97357),h=r(22732),p=r(3827),f=r(580),m=r(21537),g=r(6700),v=r(14316),b=r(34176),y=r(23769),w=r(1808),_=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};let k=i=class e extends n.u{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 g.w.makeStorage()}get message(){return this.getMessageModule(this.container)}getMessageModule(e){return new w.N(this,e)}get storage(){return g.w.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 y.z(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 i.version}static getVersion(){return i.version}initOptions(e){this.options=(0,m.ConfigProto)(e||{},(0,m.ConfigProto)(this.options||{},i.defaultOptions))}initOwners(){var e;this.ownerWindow=null!==(e=this.o.ownerWindow)&&void 0!==e?e:window}attachEvents(e){if(!e)return;const t=null==e?void 0:e.events;t&&Object.keys(t).forEach(e=>this.e.on(e,t[e]))}getInstance(e,t){const r=(0,m.isFunction)(e)?e.prototype.className():e,i=this.e.fire((0,m.camelCase)("getInstance_"+r),t);if(i)return i;const n=(0,m.isFunction)(e)?e:f.av[r],s=this.__modulesInstances;if(!(0,m.isFunction)(n))throw(0,m.error)("Need real module name");if(!s.has(r)){const e=n.prototype instanceof o.vG?new n(this,t):new n(t);this.components.add(e),s.set(r,e)}return s.get(r)}addDisclaimer(e){this.container.appendChild(e)}beforeDestruct(){this.e.fire(s.f.beforeDestruct,this),this.components.forEach(e=>{(0,m.isDestructable)(e)&&!e.isInDestruct&&e.destruct()}),this.components.clear()}destruct(){var e,t,r;this.isDestructed||(null===(e=(0,c.PO)(this,"progressbar"))||void 0===e||e.destruct(),null===(t=(0,c.PO)(this,"message"))||void 0===t||t.destruct(),this.events&&(this.events.destruct(),this.events=void 0),null===(r=(0,c.PO)(this,"buffer"))||void 0===r||r.clear(),h.J.safeRemove(this.container),super.destruct())}constructor(e,t=!1){super(),this.isJodit=t,this.isView=!0,this.parent=null,this.mods={},this.components=new Set,this.OPTIONS=i.defaultOptions,this.__isFullSize=!1,this.__whoLocked="",this.isLockedNotBy=e=>this.isLocked&&this.__whoLocked!==e,this.__modulesInstances=new Map,this.id=""+(new Date).getTime(),this.initOptions(e),this.initOwners(),this.events=new p.bk(this.od),this.create=new l.X(this.od),this.container=this.c.div("jodit "+this.componentName)}};k.ES=a.ES,k.version=a.APP_VERSION,k.esNext=a.IS_ES_NEXT,k.esModern=a.IS_ES_MODERN,_([c.PP],k.prototype,"buffer",null),_([c.PP],k.prototype,"message",null),_([c.PP],k.prototype,"storage",null),_([c.PP],k.prototype,"c",null),_([c.PP],k.prototype,"e",null),_([c.PP],k.prototype,"progressbar",null),_([(0,u.A)(s.f.beforeDestruct)],k.prototype,"beforeDestruct",null),k=i=_([(0,d.C)(b.K,v.O)],k),k.defaultOptions={extraButtons:[],cache:!0,textIcons:!1,namespace:"",removeButtons:[],zIndex:100002,defaultTimeout:100,fullsize:!1,showTooltip:!0,useNativeTooltip:!1,buttons:[],globalFullSize:!0,language:"auto"}},36125(e,t,r){r(82758);var i=r(65478),o=r(22732),n=r(580),s=r(21537),a=r(50911),l=(r(55099),r(55611)),c=r(92278),d=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};class u extends a.k{get ui(){return new c.F(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=o.J.closest(e,o.J.isElement,this.j.editor);t||(t=o.J.prev(e,o.J.isElement,this.j.editor)),t&&t!==this.j.editor&&(0,s.scrollIntoViewIfNeeded)(t,this.j.editor,this.j.ed)}async calcCounts(e){return(await this.findQueryBounds(e,"walkerCount")).length}async findQueryBounds(e,t){let r=this[t];return r&&r.break(),r=new o.p(this.j.async,{timeout:this.j.o.search.lazyIdleTimeout}),this[t]=r,this.find(r,e).catch(e=>[])}async findAndReplace(e){const t=await this.findQueryBounds(e,"walker");if(!t.length)return!1;let r=this.findCurrentIndexInRanges(t,this.j.s.range);-1===r&&(r=0);const i=t[r];if(i){try{const t=this.j.ed.createRange();t.setStart(i.startContainer,i.startOffset),t.setEnd(i.endContainer,i.endOffset),t.deleteContents();const n=this.j.createInside.text(this.ui.replace);o.J.safeInsertNode(t,n),(0,l.IJ)(this.j),this.j.s.setCursorAfter(n),this.tryScrollToElement(n),this.cache={},this.ui.currentIndex=r,await this.findAndSelect(e,!0).catch(e=>null)}finally{this.j.synchronizeValues()}return this.j.e.fire("afterFindAndReplace"),!0}return!1}async findAndSelect(e,t){var r;const i=await this.findQueryBounds(e,"walker");if(!i.length)return!1;this.previousQuery===e&&(0,l.zy)(this.j.editor).length||(null===(r=this.drawPromise)||void 0===r||r.rejectCallback(),this.j.async.cancelAnimationFrame(this.wrapFrameRequest),(0,l.IJ)(this.j),this.drawPromise=this.__drawSelectionRanges(i)),this.previousQuery=e;let o=this.ui.currentIndex-1;o=-1===o?0:t?o===i.length-1?0:o+1:0===o?i.length-1:o-1,this.ui.currentIndex=o+1;const n=i[o];if(n){const e=this.j.ed.createRange();try{e.setStart(n.startContainer,n.startOffset),e.setEnd(n.endContainer,n.endOffset),this.j.s.selectRange(e)}catch(e){}return this.tryScrollToElement(n.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,r,i,o;return e.startContainer.isConnected&&e.startOffset<=(null!==(r=null===(t=e.startContainer.nodeValue)||void 0===t?void 0:t.length)&&void 0!==r?r:0)&&e.endContainer.isConnected&&e.endOffset<=(null!==(o=null===(i=e.endContainer.nodeValue)||void 0===i?void 0:i.length)&&void 0!==o?o:0)})}async find(e,t){if(!t.length)return[];const r=this.cache[t];return r&&await this.isValidCache(r)?r:(this.cache[t]=this.j.async.promise(r=>{const i=new l.QN(this.j.o.search.fuzzySearch);e.on("break",()=>{r([])}).on("visit",e=>(o.J.isText(e)&&i.add(e),!1)).on("end",()=>{var e;r(null!==(e=i.ranges(t))&&void 0!==e?e:[])}).setWork(this.j.editor)}),this.cache[t])}__drawSelectionRanges(e){const{async:t,createInside:r,editor:i}=this.j;t.cancelAnimationFrame(this.wrapFrameRequest);const o=[...e];let n,s=0;return t.promise(e=>{const a=()=>{do{n=o.shift(),n&&(0,l._B)(this.j,n,o,r,i),s+=1}while(n&&5>=s);o.length?this.wrapFrameRequest=t.requestAnimationFrame(a):e()};a()})}onAfterGetValueFromEditor(e){e.value=(0,l.Tz)(e.value)}afterInit(e){if(e.o.useSearch){const t=this;e.e.on("beforeSetMode.search",()=>{this.ui.close()}).on(this.ui,"afterClose",()=>{(0,l.IJ)(e),this.ui.currentIndex=0,this.ui.count=0,this.cache={},e.focus()}).on("click",()=>{this.ui.currentIndex=0,(0,l.IJ)(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=>{}))).on("search.search",(e,r=!0)=>(this.ui.currentIndex=0,t.findAndSelect(e||"",r).catch(e=>{}))),e.registerCommand("search",{exec(e,r,i=!0){return r&&t.findAndSelect(r,i).catch(e=>{}),!1}}).registerCommand("openSearchDialog",{exec(e,r){return t.ui.open(r),!1},hotkeys:["ctrl+f","cmd+f"]}).registerCommand("openReplaceDialog",{exec(r,i,o){return e.o.readonly||t.ui.open(i,o,!0),!1},hotkeys:["ctrl+h","cmd+h"]})}}beforeDestruct(e){var t;null===(t=(0,i.cached)(this,"ui"))||void 0===t||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([i.cache],u.prototype,"ui",null),d([(0,i.watch)("ui:needUpdateCounters")],u.prototype,"updateCounters",null),d([(0,i.watch)("ui:pressReplaceButton")],u.prototype,"onPressReplaceButton",null),d([i.autobind],u.prototype,"findQueryBounds",null),d([i.autobind],u.prototype,"findAndReplace",null),d([i.autobind],u.prototype,"findAndSelect",null),d([i.autobind],u.prototype,"find",null),d([(0,i.watch)(":afterGetValueFromEditor")],u.prototype,"onAfterGetValueFromEditor",null),n.fg.add("search",u)},36204(e,t,r){var i=r(82758),o=r(12153),n=r(6441),s=r(35599);n.T.prototype.beautifyHTML=!i.IS_IE,n.T.prototype.sourceEditor="ace",n.T.prototype.sourceEditorNativeOptions={showGutter:!0,theme:"ace/theme/idle_fingers",mode:"ace/mode/html",wrap:!0,highlightActiveLine:!0},n.T.prototype.sourceEditorCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js"],n.T.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.I.set("source",s.A),n.T.prototype.controls.source={mode:i.MODE_SPLIT,exec(e){e.toggleMode()},isActive(e){return e.getRealMode()===i.MODE_SOURCE},tooltip:"Change mode"}},36243(e,t,r){var i=r(22732),o=r(580),n=r(6441);n.T.prototype.autofocus=!1,n.T.prototype.cursorAfterAutofocus="end",n.T.prototype.saveSelectionOnBlur=!0,o.fg.add("focus",e=>{e.o.saveSelectionOnBlur&&e.e.on("blur",()=>{e.isEditorMode()&&e.s.save(!0)}).on("focus",()=>{e.s.restore()});const t=()=>{if(e.s.focus(),"end"===e.o.cursorAfterAutofocus){const t=i.J.last(e.editor,e=>i.J.isText(e));t&&e.s.setCursorIn(t,!1)}};e.e.on("afterInit",()=>{e.o.autofocus&&(e.defaultTimeout?e.async.setTimeout(t,300):t())}),e.e.on("afterInit afterAddPlace",()=>{e.e.off(e.editor,"mousedown.autofocus").on(e.editor,"mousedown.autofocus",t=>{e.isEditorMode()&&t.target&&i.J.isBlock(t.target)&&!t.target.childNodes.length&&(e.editor===t.target?e.s.focus():e.s.setCursorIn(t.target))})})})},36409(e,t,r){function i(e){return e.length?e[0].toUpperCase()+e.substring(1):""}r.d(t,{Z(){return i}})},36646(e,t,r){r.d(t,{IB(){return i.I},P1(){return o.P},q4(){return n.q}});var i=r(78644),o=r(80319),n=r(83111)},36806(e,t,r){r.d(t,{X(){return a}});var i=r(23282),o=r(29960),n=r(10830),s=r(78584);function a(e,t,r,a,l){const c=this instanceof s.l?this:new s.l({closeOnClickOverlay:!0}),d=(0,n.$n)(c,"cancel","Cancel"),u=(0,n.$n)(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,i.T)(t)&&(r=t,t=void 0),a&&(0,o.C)(p,"placeholder",a),f.appendChild(c.c.text(e)),h.appendChild(f),h.appendChild(p),d.onAction(c.close);const m=()=>{r&&(0,i.T)(r)&&!1===r(p.value)||c.close()};return u.onAction(m),c.e.on(h,"submit",()=>(m(),!1)),c.setFooter([u,d]),c.open(h,t||"&nbsp;",!0,!0),p.focus(),void 0!==l&&l.length&&(p.value=l,p.select()),c}},36886(e,t){t.A='<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(e,t){t.A='<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(e,t,r){r.d(t,{N(){return d},w(){return u}});var i=r(78213),o=r(73026),n=r(46559),s=r(23282),a=r(72430),l=r(39955),c=r(89890);function d(e,t){let r;do{r=Object.getOwnPropertyDescriptor(e,t),e=Object.getPrototypeOf(e)}while(!r&&e);return r}function u(e,t){return(r,u)=>{var h;if(!(0,s.T)(r[u]))throw(0,c.z3)("Handler must be a Function");const p=null===(h=null==t?void 0:t.immediately)||void 0===h||h,f=null==t?void 0:t.context,m=t=>{const i=(0,l.h)(t)?t:t.jodit;let c=(e,...r)=>{if(!t.isInDestruct)return t[u](e,...r)};p||(c=t.async.microDebounce(c,!0)),(0,n.u)(e).forEach(e=>{if(/:/.test(e)){const[r,o]=e.split(":");let n=f;return r.length&&(n=t.get(r)),(0,s.T)(n)&&(n=n(t)),i.events.on(n||t,o,c),n||i.events.on(o,c),void t.hookStatus("beforeDestruct",()=>{i.events.off(n||t,o,c).off(o,c)})}const n=e.split("."),[l]=n,u=n.slice(1);let h=t[l];(0,a.Q)(h)&&(0,o.s)(h).on("change."+u.join("."),c);const p=d(r,l);Object.defineProperty(t,l,{configurable:!0,set(e){const r=h;r!==e&&(h=e,p&&p.set&&p.set.call(t,e),(0,a.Q)(h)&&(h=(0,o.s)(h),h.on("change."+u.join("."),c)),c(l,r,h))},get:()=>p&&p.get?p.get.call(t):h})})};(0,s.T)(r.hookStatus)?r.hookStatus(i.f.ready,m):m(r)}}},37406(e,t,r){r.d(t,{l(){return i}});const i=(...e)=>e.filter(e=>e.length).map(e=>e.replace(/\/$/,"")).join("/").replace(/([^:])[\\/]+/g,"$1/")},37426(e,t,r){r.d(t,{b(){return l}});var i=r(82758),o=r(65478),n=r(22732),s=r(21537),a=r(11676);let l=class e extends a.Q{className(){return"ToolbarEditorCollection"}shouldBeDisabled(e){const t=super.shouldBeDisabled(e);if(void 0!==t)return t;const r=void 0===e.control.mode?i.MODE_WYSIWYG:e.control.mode;return!(r===i.MODE_SPLIT||r===this.j.getRealMode())}shouldBeActive(e){const t=super.shouldBeActive(e);if(void 0!==t)return t;const r=this.j.selection?this.j.s.current():null;if(!r)return!1;let i;if(e.control.tags){const t=e.control.tags;if(i=r,n.J.up(i,e=>{if(e&&-1!==t.indexOf(e.nodeName.toLowerCase()))return!0},this.j.editor))return!0}if(e.control.css){const t=e.control.css;if(i=r,n.J.up(i,e=>{if(e&&!n.J.isText(e)&&!n.J.isComment(e))return this.checkActiveStatus(t,e)},this.j.editor))return!0}return!1}getTarget(e){return e.target||this.j.s.current()||null}prependInvisibleInput(e){const t=this.j.create.element("input",{tabIndex:-1,disabled:!0,style:"width: 0; height:0; position: absolute; visibility: hidden;"});n.J.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 r=0,i=0;return Object.keys(e).forEach(o=>{const n=e[o];(0,s.isFunction)(n)?n(this.j,""+(0,s.css)(t,o))&&(r+=1):-1!==n.indexOf(""+(0,s.css)(t,o))&&(r+=1),i+=1}),i===r},this.prependInvisibleInput(this.container)}};l=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([o.component],l)},37467(e,t,r){r(6441).T.prototype.tableAllowCellResize=!0},37508(e,t,r){function i(e){return!!e.length&&!/[^0-9A-Za-zа-яА-ЯЁё\w\-_. ]/.test(e)&&e.trim().length>0}r.d(t,{u(){return i}})},37585(e,t,r){var i=r(82758),o=r(21537),n=r(6441),s=r(11676),a=r(21491);n.T.prototype.mobileTapTimeout=300,n.T.prototype.toolbarAdaptive=!0,n.T.prototype.buttonsMD=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},{group:"font",buttons:[]},"---",{group:"media",buttons:[]},"\n",{group:"state",buttons:[]},{group:"insert",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},"---",{group:"history",buttons:[]},{group:"other",buttons:[]},"|","dots"],n.T.prototype.buttonsSM=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},"---",{group:"font",buttons:[]},"\n",{group:"state",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},"---",{group:"history",buttons:[]},"|","dots"],n.T.prototype.buttonsXS=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},"---",{group:"font",buttons:[]},{group:"color",buttons:[]},"---","dots"],n.T.prototype.controls.dots={mode:i.MODE_SOURCE+i.MODE_WYSIWYG,popup(e,t,r,i){let n=i.control.data;return void 0===n&&(n={toolbar:(0,a.$K)(e),rebuild(){var t,r;if(i){const a=e.e.fire("getDiffButtons.mobile",i.closest(s.Q));if(a&&n){n.toolbar.build((0,o.splitArray)(a));const i=(null===(r=null===(t=e.toolbar)||void 0===t?void 0:t.firstButton)||void 0===r?void 0:r.container.offsetWidth)||36;n.toolbar.container.style.width=3*(i+4)+"px"}}}},i.control.data=n),n.rebuild(),n.toolbar},tooltip:"Show all"}},37643(e,t,r){r.d(t,{s(){return n}});var i=r(82758),o=r(85567);function n({sec:e=.1,frequency:t=o.N,gain:r=.1,type:n="sine"}={}){if(!i.globalWindow||void 0===i.globalWindow.AudioContext&&void 0===i.globalWindow.webkitAudioContext)return;const s=new(i.globalWindow.AudioContext||i.globalWindow.webkitAudioContext),a=s.createGain(),l=s.createOscillator();l.type=n,l.frequency.value=t,l.connect(a),a.connect(s.destination),l.start(),l.stop(s.currentTime+e),a.gain.value=r}},37663(e,t){t.A='<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(e,t){t.A='<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(e,t,r){r.d(t,{HP(){return u},T1(){return a},b_(){return l},my(){return p},o_(){return c},qN(){return h},yt(){return d}});var i=r(14773),o=r(86068),n=r(29960),s=r(86583);function a(e,...t){return e(...t)}function l(e,t){(0,n.C)(t,"data-editor_id",e.id),!t.component&&Object.defineProperty(t,"jodit",{value:e})}function c(e,t){return(0,i.y)(e)?e.then(e=>e,()=>null).finally(t):null==t?void 0:t()}const d=(e,t)=>t.async.promise((r,i)=>{const o=new Image,n=()=>{t.e.off(o),null==i||i()},s=()=>{t.e.off(o),r(o)};t.e.one(o,"load",s).one(o,"error",n).one(o,"abort",n),o.src=e,o.complete&&s()}),u=(e,t=!0)=>{if(t)return Object.keys(e);const r=[];for(const t in e)r.push(t);return r},h=(e,t,{control:r},i)=>{var n;const a="button"+r.command;let l=null!==(n=r.args&&r.args[0])&&void 0!==n?n:(0,s.m)(e,a);if((0,o.R)(l))return!1;(0,s.m)(e,a,l),i&&(l=i(l)),e.execCommand(r.command,!1,null!=l?l:void 0)},p=e=>{if(e.clipboardData)return e.clipboardData;try{return e.dataTransfer||new DataTransfer}catch(e){return null}}},38420(e,t,r){r.d(t,{z(){return i}});const i=e=>{if(/^[0-9.]+$/.test(""+e))return parseFloat(e);const t=e.substr(-2,2).toUpperCase(),r=["KB","MB","GB","TB"],i=parseFloat(e.substr(0,e.length-2));return-1!==r.indexOf(t)?i*Math.pow(1024,r.indexOf(t)+1):parseInt(e,10)}},38837(e,t,r){r.d(t,{v(){return o}});class i extends Error{constructor(e){super(e),this.name="AssertionError"}}function o(e,t){if(!e)throw new i("Assertion failed: "+t)}},38927(e,t,r){r.d(t,{Z(){return l}});var i=r(91907),o=r(2748),n=r(23282),s=r(29960),a=r(67510);const l=(e,t,r)=>{const l=e.c.div("jodit-tabs"),c=e.c.div("jodit-tabs__wrapper"),d=e.c.div("jodit-tabs__buttons");(0,s.C)(d,{role:"tablist","aria-orientation":"horizontal"});const u={},h=[];let p="";l.appendChild(d),l.appendChild(c);const f=e=>{u[e]&&(h.forEach(e=>{e.state.activated=!1}),Object.values(u).forEach(({tab:e})=>e.classList.remove("jodit-tab_active")),u[e].button.state.activated=!0,u[e].tab.classList.add("jodit-tab_active"))};if(t.forEach(({icon:l,name:m,content:g})=>{const v=e.c.div("jodit-tab");(0,s.C)(v,{role:"tabpanel"});const b=(0,a.$n)(e,l||m,m);b.state.role="tab",e.e.on(b.container,"pointerdown",e=>e.preventDefault()),p||(p=m),d.appendChild(b.container),h.push(b),b.container.classList.add("jodit-tabs__button","jodit-tabs__button_columns_"+t.length),(0,n.T)(g)?v.appendChild(e.c.div("jodit-tab_empty")):v.appendChild(i.uA.isInstanceOf(g,a.D$)?g.container:g),c.appendChild(v),b.onAction(()=>(f(m),(0,n.T)(g)&&!o.J.isElement(g)&&g.call(e),r&&(r.activeTab=m),!1)),u[m]={button:b,tab:v}}),Object.values(u).forEach(({button:e})=>{e.container.style.width=(100/t.length).toFixed(10)+"%"}),f(r&&r.activeTab&&u[r.activeTab]?r.activeTab:p),r){let e=r.activeTab;Object.defineProperty(r,"activeTab",{configurable:!0,enumerable:!1,get:()=>e,set(t){e=t,f(t)}})}return l}},39433(e,t,r){r.d(t,{f(){return s}});var i=r(82758),o=r(2748);const n=new Set(["table","tbody","thead","tfoot","tr"]);function s(e,t,r){if(e.o.cleanHTML.fillEmptyParagraph&&o.J.isBlock(t)&&o.J.isEmpty(t,i.INSEPARABLE_TAGS)&&!o.J.isTag(t,n)){const r=e.createInside.element("br");return t.appendChild(r),!0}return r}},39516(e,t,r){r.d(t,{e(){return n}}),r(82758);var i=r(45235);const o=Object.keys(i);function n(e,t,r,n,s){let a=!1;const l=e.o.cleanHTML.disableCleanFilter;for(const c of o)if(!(l&&l.has(c)||(a=(0,i[c])(e,t,a,r,n,s),t.isConnected)))return!0;return a}},39627(e,t,r){var i=r(33433),o=r(37133),n=r(580),s=r(12045),a=r(20356),l=(r(31974),r(32523)),c=r(19308),d=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};class u extends a.k{get __dialog(){return this.jodit.dlg({buttons:["fullsize","dialog.close"],closeOnClickOverlay:!0,closeOnEsc:!0,resizable:!1,draggable:!0,minHeight:160})}get __container(){const{jodit:e,__dialog:t}=this;return new l.b(e,{onInsertAfter(r){e.s.focus(),e.s.setCursorAfter(e.s.current()),e.s.insertHTML(r),t.close()},onInsert(r){e.s.focus(),e.s.insertHTML(r),t.close()}})}afterInit(){}onGenerateAiAssistantForm(e){this.__dialog.open(this.__container,"AI Assistant"),this.__container.setPrompt(e)}onInvokeAiAssistant(e){const{jodit:t}=this;t.s.focus();const r=t.s.html;t.async.promise(async(i,o)=>{try{i(await t.o.aiAssistant.aiAssistantCallback(e,r))}catch(e){o(e)}}).then(e=>{t.e.fire("ai-assistant-response",e)}).catch(e=>{(0,s.z)(e)||(t.message.error(e.message),t.e.fire("ai-assistant-error",e.message))})}beforeDestruct(e){var t,r;null===(t=(0,i.PO)(this,"__container"))||void 0===t||t.destruct(),null===(r=(0,i.PO)(this,"__dialog"))||void 0===r||r.destruct()}constructor(e){super(e),this.buttons=[{name:"ai-commands",group:"insert"},{name:"ai-assistant",group:"insert"}],(0,n.JW)(c)}}d([i.PP],u.prototype,"__dialog",null),d([i.PP],u.prototype,"__container",null),d([(0,o.w)(":generateAiAssistantForm.ai-assistant")],u.prototype,"onGenerateAiAssistantForm",null),d([(0,o.w)(":invokeAiAssistant")],u.prototype,"onInvokeAiAssistant",null),n.fg.add("ai-assistant",u)},39804(e,t,r){r.d(t,{O(){return a}});var i=r(31635),o=r(65478),n=r(21537),s=r(46788);let a=class e{constructor(e){this._data=l(e)}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=l(this.str()+";"+`${e}:${t}`),this}str(e=e=>!0){const t=Object.keys(this._data).filter(t=>t&&!/^mso-/.test(t)&&e(t)&&null!=this.get(t)),r=e=>(0,n.isString)(e)?/^0[a-z]+$/i.test(e)?"0":e:""+e;return["padding","margin"].forEach(e=>{if(this._data[e]){const i=t.indexOf(e),o=(0,s.i)(this._data[e]);["top","right","bottom","left"].forEach((n,s)=>{const a=`${e}-${n}`,l=this._data[a];null==l||t.indexOf(a)>=i&&r(o[s])!==r(l)||-1!==t.indexOf(a)&&t.splice(t.indexOf(a),1)})}}),t.length?t.map(e=>`${(0,n.kebabCase)(e)}:${this.get(e)}`).join(";"):""}};function l(e){return(e=>{const t={},r=[];for(let i=e.length-1;i>=0;i-=1){const o=e[i][0];t[o]||(t[o]=!0,r.unshift(e[i]))}return r})((e??"").replace(/&quot;/g,'"').split(";").filter(Boolean).map(e=>(0,n.trim)(e).split(":").map(n.trim))).reduce((e,[t,r])=>(t&&r&&(e[t]=r),e),{})}a=(0,i.Cg)([o.autobind],a)},39955(e,t,r){r.d(t,{h(){return o}});var i=r(23282);function o(e){return!!(e&&e instanceof Object&&(0,i.T)(e.constructor)&&e.isView)}},40329(e,t,r){var i=r(22732),o=r(21537),n=r(43555),s=r(12153),a=r(6441),l=r(6091);a.T.prototype.table={splitBlockOnInsertTable:!0,selectionCellStyle:"border: 1px double #1e88e5 !important;",useExtraClassesOptions:!1},s.I.set("table",l.A),a.T.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,r,s){e.editor.normalize();const a=e.history.snapshot.make(),l=s.control,c=l.data&&l.data.rows?l.data.rows:10,d=l.data&&l.data.cols?l.data.cols:10,u=e.c.fromHTML('<form class="jodit-form jodit-form__inserter"><div class="jodit-form__table-creator-box"><div class="jodit-form__container"></div><div class="jodit-form__options">'+(()=>{if(!e.o.table.useExtraClassesOptions)return"";const t=[];if(l.data){const e=l.data.classList;Object.keys(e).forEach(r=>{t.push(`<label class="jodit_vertical_middle"><input class="jodit-checkbox" value="${r}" type="checkbox"/>${e[r]}</label>`)})}return t.join("")})()+'</div></div><label class="jodit-form__center"><span>1</span> &times; <span>1</span></label></form>'),h=u.querySelectorAll("span")[0],p=u.querySelectorAll("span")[1],f=u.querySelector(".jodit-form__container"),m=u.querySelector(".jodit-form__options"),g=[],v=c*d;for(let t=0;v>t;t+=1)g[t]||g.push(e.c.element("span",{dataIndex:t}));if(e.e.on(f,"mousemove",(e,t)=>{const r=e.target;if(!i.J.isTag(r,"span"))return;const o=void 0===t||isNaN(t)?parseInt((0,n.CF)(r,"-index")||"0",10):t||0,s=Math.ceil((o+1)/d),a=o%d+1;for(let e=0;g.length>e;e+=1)g[e].className=e%d+1>a||Math.ceil((e+1)/d)>s?"":"jodit_hovered";p.textContent=""+a,h.textContent=""+s}).on(f,"touchstart mousedown",t=>{const s=t.target;if(t.preventDefault(),t.stopImmediatePropagation(),!i.J.isTag(s,"span"))return;const l=parseInt((0,n.CF)(s,"-index")||"0",10),c=Math.ceil((l+1)/d),u=l%d+1,h=e.createInside,p=h.element("tbody"),f=h.element("table");f.appendChild(p);let g,v,b=null;for(let e=1;c>=e;e+=1){g=h.element("tr");for(let e=1;u>=e;e+=1)v=h.element("td"),b||(b=v),(0,o.css)(v,"width",(100/u).toFixed(4)+"%"),v.appendChild(h.element("br")),g.appendChild(h.text("\n")),g.appendChild(h.text("\t")),g.appendChild(v);p.appendChild(h.text("\n")),p.appendChild(g)}(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);const y=i.J.furthest(e.s.current(),i.J.isBlock,e.editor);if(y&&i.J.isEmpty(y))i.J.replace(y,f,void 0,!1,!0);else if(y){const t=h.text("\n");if(e.o.table.splitBlockOnInsertTable){const r=e.s.range;r.collapse(!1),r.insertNode(t),r.collapse(!1),e.s.selectRange(r);const o=e.s.splitSelection(y,t);i.J.after(o,f)}else i.J.after(y,t),i.J.after(t,f)}else e.s.insertNode(f,!1);b&&(e.s.setCursorIn(b),(0,o.scrollIntoViewIfNeeded)(b,e.editor,e.ed)),r()}),s&&s.parentElement){for(let t=0;c>t;t+=1){const r=e.c.div();for(let e=0;d>e;e+=1)r.appendChild(g[t*d+e]);f.appendChild(r)}g[0]&&(g[0].className="hovered")}return u},tooltip:"Insert table"}},40401(e,t,r){function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e=>typeof e:e=>e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e,i(e)}function o(e,t,r){var o=r.value;if("function"!=typeof o)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(i(o)));var n=!1;return{configurable:!0,get(){if(n||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof o)return o;var r=o.bind(this);return n=!0,Object.defineProperty(this,t,{configurable:!0,get(){return r},set(e){o=e,delete this[t]}}),n=!1,r},set(e){o=e}}}function n(e){var t;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?t=Reflect.ownKeys(e.prototype):(t=Object.getOwnPropertyNames(e.prototype),"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e.prototype)))),t.forEach(t=>{if("constructor"!==t){var r=Object.getOwnPropertyDescriptor(e.prototype,t);"function"==typeof r.value&&Object.defineProperty(e.prototype,t,o(e,t,r))}}),e}function s(){return 1===arguments.length?n.apply(void 0,arguments):o.apply(void 0,arguments)}r.d(t,{Ay(){return s}})},40565(e,t){t.A={"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(e,t,r){var i=r(580),o=r(21537),n=r(12153),s=r(6441),a=(r(73674),r(820)),l=r(53651),c=r(16020),d=r(89758),u=r(98527),h=r(51855);i.fg.add("bold",e=>{const t=t=>{const r=s.T.defaultOptions.controls[t],i={...r.css};let n;return Object.keys(i).forEach(e=>{n||(n={}),n[e]=(0,o.isArray)(i[e])?i[e][0]:i[e]}),e.s.commitStyle({element:r.tags?r.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})}),n.I.set("bold",a.A).set("italic",l.A).set("strikethrough",c.A).set("subscript",d.A).set("superscript",u.A).set("underline",h.A)},41180(e,t,r){r.d(t,{A(){return l},a(){return c}});var i=r(87612),o=r(72430),n=r(3760),s=r(87058),a=r(12475);function l(e,t,r,c=!1){if((0,i.L)(r)&&(c=r,r=void 0),(0,o.Q)(t)||void 0!==r){const i=(e,t,r)=>{void 0===(r=(0,n.n8)(t,r))||null!=r&&l(e,t,!0)===(0,n.iy)(t,r)||(e.style[t]=r)};if((0,o.Q)(t)){const r=Object.keys(t);for(let o=0;r.length>o;o+=1)i(e,(0,s.x)(r[o]),t[r[o]])}else i(e,(0,s.x)(t),r);return""}const d=(0,a.k)(t),u=e.ownerDocument||document,h=!!u&&(u.defaultView||u.parentWindow),p=e.style[t];let f="";return void 0!==p&&""!==p?f=p:h&&!c&&(f=h.getComputedStyle(e).getPropertyValue(d)),n.b$.test(t)&&/^[-+]?[0-9.]+px$/.test(""+f)&&(f=parseInt(""+f,10)),(0,n.iy)(t,f)}const c=e=>{"block"===l(e,"display")&&l(e,"display","");const{style:t}=e;"auto"===t.marginLeft&&"auto"===t.marginRight&&(t.marginLeft="",t.marginRight="")}},41324(t){t.exports=e},41409(e,t,r){r.r(t),r.d(t,{Ajax(){return p.d},Alert(){return s.Fc},Async(){return l.j},Button(){return f.$n},CommitStyle(){return A.xk},Component(){return i.uA},Confirm(){return s.pT},ContextMenu(){return n.t},Create(){return c.X},Dialog(){return s.lG},Dom(){return d.J},EventEmitter(){return u.bk},EventHandlersStore(){return u.d$},Eventify(){return u.h5},FileBrowser(){return a.V},Helpers(){return o},History(){return v.B},Icon(){return f.In},ImageEditor(){return y.n},LazyWalker(){return d.p},Plugin(){return h.k},PluginSystem(){return I.$},Popup(){return f.zD},ProgressBar(){return f.z2},Prompt(){return s.XG},Response(){return p.Y},STATUSES(){return i.f},Selection(){return A.LN},Snapshot(){return b.F},StatusBar(){return _.e},Table(){return k.X},ToolbarButton(){return C.IB},ToolbarCollection(){return S.Q},ToolbarContent(){return C.P1},ToolbarEditorCollection(){return T.b},ToolbarSelect(){return C.q4},UIBlock(){return f.Yh},UIButton(){return f.lD},UIButtonGroup(){return f.ss},UIButtonState(){return f.ue},UICheckbox(){return f.cY},UIElement(){return f.D$},UIFileInput(){return f.nE},UIForm(){return f.XV},UIGroup(){return f.Ue},UIInput(){return f.tS},UIList(){return f.z4},UIMessages(){return w.N},UISelect(){return f.$6},UISeparator(){return f.CP},UISpacer(){return f.bk},UITextArea(){return f.F0},UITooltip(){return f.SB},Uploader(){return E.d},View(){return m.S},ViewComponent(){return i.vG},ViewWithToolbar(){return g.T},defaultNameSpace(){return u.Xr},observable(){return u.sH}});var i=r(91907),o=r(21537),n=r(80870),s=r(638),a=r(78513),l=r(8884),c=r(12060),d=r(22732),u=r(3827),h=r(50911),p=r(41601),f=r(67510),m=r(35608),g=r(84075),v=r(78818),b=r(52604),y=r(50050),w=r(1808),_=r(23512),k=r(76014),C=r(36646),S=r(11676),T=r(37426),E=r(57380),I=r(41876),A=r(59242)},41457(e,t,r){var i=r(22732),o=r(43555),n=r(12153),s=r(32118),a=r(63399),l=r(44450),c=r(20201),d=r(73948),u=r(50050);const h="jodit-file-browser-preview",p=(e="next",t="right")=>`<div class="${h}__navigation ${h}__navigation_arrow_${e}">`+n.I.get("angle-"+t)+"</a>";t.A=e=>{if(!e.o.contextMenu)return()=>{};const t=(0,a.V)(e);return r=>{const n=(0,d.Gq)(r.target,e.container);if(!n)return;let a=n;const f=e.options,m=e=>(0,o.CF)(a,e)||"";return e.async.setTimeout(()=>{const g=(0,d.PZ)(n,(0,s.a)(e));g&&(e.state.activeElements=[g],t.show(r.clientX,r.clientY,[!("1"===m("data-is-file")||!f.editImage||!e.dataProvider.canI("ImageResize")&&!e.dataProvider.canI("ImageCrop"))&&{icon:"pencil",title:"Edit",exec(){return u.B.call(e,m("href"),m("data-name"),m("data-path"),m("data-source"))}},!!e.dataProvider.canI("FileRename")&&{icon:"italic",title:"Rename",exec(){e.e.fire("fileRename.filebrowser",m("data-name"),m("data-path"),m("data-source"))}},!!e.dataProvider.canI("FileRemove")&&{icon:"bin",title:"Delete",async exec(){try{await(0,l.W)(e,m("data-name"),m("data-source"))}catch(t){return e.status(t)}return e.state.activeElements=[],(0,c.r)(e).catch(e.status)}},!!f.preview&&{icon:"eye",title:"Preview",exec(){const t=e.dlg({buttons:["fullsize","dialog.close"]}),r=e.c.div(h,'<div class="jodit-icon_loader"></div>'),n=e.c.div(h+"__box"),s=e.c.fromHTML(p()),l=e.c.fromHTML(p("prev","left")),c=o=>{const c=e.c.element("img");c.setAttribute("src",o);const d=()=>{var o;e.isInDestruct||(e.e.off(c,"load"),i.J.detach(r),f.showPreviewNavigation&&(i.J.prevWithClass(a,e.files.getFullElName("item"))&&r.appendChild(l),i.J.nextWithClass(a,e.files.getFullElName("item"))&&r.appendChild(s)),r.appendChild(n),n.appendChild(c),t.setPosition(),null===(o=null==e?void 0:e.events)||void 0===o||o.fire("previewOpenedAndLoaded"))};e.e.on(c,"load",d),c.complete&&d()};e.e.on([s,l],"click",function(){if(a=this===s?i.J.nextWithClass(a,e.files.getFullElName("item")):i.J.prevWithClass(a,e.files.getFullElName("item")),!a)throw(0,o.z3)("Need element");i.J.detach(r),i.J.detach(n),r.innerHTML='<div class="jodit-icon_loader"></div>',c(m("href"))}),e.e.on("beforeDestruct",()=>{t.destruct()}),t.container.classList.add(h+"__dialog"),t.setContent(r),t.setPosition(),t.open(),c(m("href")),e.events.on("beforeDestruct",()=>{t.destruct()}).fire("previewOpened")}},{icon:"upload",title:"Download",exec(){const t=m("href");t&&e.ow.open(t)}}]))},e.defaultTimeout),e.e.on("beforeClose",()=>{t.close()}).on("beforeDestruct",()=>t.destruct()),r.stopPropagation(),r.preventDefault(),!1}}},41601(e,t,r){r.d(t,{Y(){return o.Y},d(){return i.d}});var i=r(54079),o=r(98582)},41872(e,t,r){r.d(t,{l(){return s}});var i=r(82758),o=r(2748),n=r(26395);function s(e,t,r){const s=!!o.J.closest(e,["pre","blockquote"],t.editor),l=!s&&o.J.closest(e,["td","th"],t.editor);if(t.o.enter.toLowerCase()===i.BR.toLowerCase()||l||r&&!s||!r&&s){if(s&&(e=>{const t=a(a(e));return!!t&&(o.J.safeRemove(a(e)),o.J.safeRemove(t),!0)})(e))return!1;const r=t.createInside.element("br");if(o.J.before(e,r),!o.J.findNotEmptySibling(r,!1)){const t=r.cloneNode();o.J.after(r,t),o.J.before(t,e)}return(0,n.$)(r,t.editor,t.ed),!0}return!1}function a(e){if(!e)return!1;const t=o.J.findSibling(e,!0);return!(!t||!o.J.isTag(t,"br"))&&t}},41876(e,t,r){r.d(t,{$(){return d}}),r(82758);var i=r(580),o=r(76855),n=r(27613),s=r(31359),a=r(14041),l=r(48591),c=r(89672);class d{get size(){return this.__items.size}add(e,t){this.__items.set((0,c.P)(e),t),i.RR.fire(`plugin:${e}:ready`)}get(e){return this.__items.get((0,c.P)(e))}remove(e){this.__items.delete((0,c.P)(e))}__getFullPluginsList(e){const t=[];return this.__items.forEach((r,i)=>{e&&!e.has(i)||t.push([i,r])}),t}__init(e){const{extraList:t,disableList:r,filter:i}=(e=>({extraList:e.o.extraPlugins.map(e=>(0,n.Kg)(e)?{name:e}:e),disableList:new Set((0,o.uM)(e.o.disablePlugins).map(c.P)),filter:e.o.safeMode?new Set(e.o.safePluginsList):null}))(e),d=new Map,u={},h=new Set;e.__plugins=u;const p=()=>{if(e.isInDestruct)return;let t=!1;this.__getFullPluginsList(i).forEach(([i,o])=>{if(r.has(i)||d.has(i))return;const a=null==o?void 0:o.requires;if(a&&(0,n.cy)(a)&&a.length){if(a.some(e=>r.has(e)))return;if(!a.every(e=>d.has(e)))return void h.add(i)}t=!0;const c=(0,l.k)(e,o);if(!c)return d.set(i,null),void h.delete(i);(0,s.T)(e,i,o,c,d,h),u[i]=c}),t&&(e.e.fire("updatePlugins"),p())};t&&t.length&&(0,a.o)(this.__items,e,t,p),p(),((e,t)=>{e.e.on("beforeDestruct",()=>{Object.keys(t).forEach(r=>{const i=t[r];(0,n.pV)(i)&&i.destruct(e),delete t[r]}),delete e.__plugins})})(e,u)}wait(e){return new Promise(t=>{if(this.get(e))return t();const r=()=>{t(),i.RR.off(`plugin:${e}:ready`,r)};i.RR.on(`plugin:${e}:ready`,r)})}constructor(){this.__items=new Map}}},42107(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 270 270"> <path d="M 255.9537,58.150081 237.69527,40.997278 c -1.49414,-1.375593 -3.43653,-2.077427 -5.37891,-2.077427 -1.94239,0 -3.88478,0.701834 -5.37892,2.077427 L 29.919751,226.1128 c -2.988286,2.77926 -2.988286,7.32714 0,10.13447 L 48.148295,253.372 c 1.46426,1.37559 3.406646,2.1055 5.378915,2.1055 1.972268,0 3.884771,-0.72991 5.378914,-2.1055 L 221.34935,100.73732 255.9537,68.284552 c 2.9584,-2.807333 2.9584,-7.355212 0,-10.134471 z M 251.17244,63.79282 221.34935,91.781927 201.89561,73.506191 231.68882,45.48901 c 0.20918,-0.140367 0.38847,-0.224587 0.62754,-0.224587 0.23906,0 0.44824,0.08422 0.59765,0.224587 l 18.25843,17.152803 c 0,0 0.23906,0.33688 0.23906,0.561467 0,0.224586 -0.0896,0.4211 -0.23906,0.58954 z" style="stroke-width:2.8964;stroke-opacity:1" /> <path d="m 48.626421,116.87948 10.578532,23.10435 c 0.83672,1.82477 3.615826,1.85284 4.452546,0 l 10.937126,-23.52545 c 2.629692,-5.69888 7.470715,-10.24676 13.536935,-12.71722 l 25.07172,-10.274833 c 1.94239,-0.786053 1.94239,-3.396873 0,-4.182926 L 88.13156,79.008563 C 82.06534,76.53811 77.224317,71.990231 74.594625,66.291346 L 63.657499,42.737824 c -0.83672,-1.824766 -3.615826,-1.824766 -4.452546,0 L 48.267826,66.291346 C 45.638135,71.990231 40.797112,76.53811 34.730891,79.008563 L 9.6292894,89.311474 c -1.9423859,0.786054 -1.9423859,3.3688 0,4.182926 l 25.5498446,10.61172 c 6.036338,2.49852 10.847478,7.07448 13.477169,12.77336 z" style="stroke-width:2.8964;fill-opacity:1;stroke-opacity:1" /> <path d="m 111.79878,33.136746 13.56682,5.642739 c 3.19747,1.319446 5.76739,3.761826 7.14201,6.793745 l 5.61797,12.268044 c 0.44825,0.982567 1.91251,0.982567 2.36075,0 l 5.79727,-12.492631 c 1.4045,-3.031919 3.97442,-5.446225 7.20177,-6.765672 l 13.29788,-5.446225 c 1.0459,-0.4211 1.0459,-1.796693 0,-2.217793 l -13.29788,-5.446225 c -3.22735,-1.319447 -5.79727,-3.733753 -7.20177,-6.765672 L 140.48633,6.2144248 c -0.44824,-0.9825664 -1.9125,-0.9825664 -2.36075,0 l -5.79727,12.4926312 c -1.4045,3.031919 -3.97442,5.446225 -7.20177,6.765672 l -13.32776,5.474298 c -1.01601,0.4211 -1.0459,1.796693 0,2.217793 z" style="stroke-width:2.8964;fill-opacity:1" /> <path d="m 233.09331,192.98627 -14.13459,-5.7831 c -3.40665,-1.40367 -6.12599,-3.95834 -7.62013,-7.1587 l -6.15587,-13.27868 c -0.47813,-1.03872 -2.03203,-1.03872 -2.51016,0 l -6.15587,13.27868 c -1.49414,3.20036 -4.21348,5.75503 -7.62013,7.1587 l -14.13459,5.81118 c -1.10567,0.44917 -1.10567,1.90898 0,2.35816 l 14.40354,5.97961 c 3.40664,1.40367 6.12598,3.98642 7.59024,7.21485 l 5.97658,13.02602 c 0.47812,1.03872 2.03203,1.03872 2.51016,0 l 6.15586,-13.25061 c 1.49415,-3.20036 4.21349,-5.75503 7.62013,-7.1587 l 14.1346,-5.7831 c 1.10566,-0.44917 1.10566,-1.90899 0,-2.35816 z" style="stroke-width:2.8964;stroke-opacity:1" /> </svg> '},42263(e,t,r){var i=r(82758),o=r(580),n=r(21537),s=r(50911);r(78524),o.fg.add("hotkeys",class a extends s.k{afterInit(e){(0,n.keys)(e.o.commandToHotkeys,!1).forEach(t=>{const r=e.o.commandToHotkeys[t];r&&((0,n.isArray)(r)||(0,n.isString)(r))&&e.registerHotkeyToCommand(r,t)});let t=!1;e.e.off(".hotkeys").on([e.ow,e.ew],"keydown.hotkeys",e=>{if(e.key===i.KEY_ESC)return this.j.e.fire("escape",e)}).on("keydown.hotkeys",r=>{const i=this.onKeyPress(r),o={shouldStop:!0};if(!1===this.j.e.fire(i+".hotkey",r.type,o)){if(o.shouldStop)return t=!0,e.e.stopPropagation("keydown"),!1;r.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=>{const t=this.specialKeys[e.which],r=(e.key||String.fromCharCode(e.which)).toLowerCase(),i=[t||r];return["alt","ctrl","shift","meta"].forEach(r=>{e[r+"Key"]&&t!==r&&i.push(r)}),(0,n.normalizeKeyAliases)(i.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:"'"}}})},42312(e,t,r){r.d(t,{h(){return s}});var i=r(2748),o=r(43555),n=r(84272);function s(e){const{s:t,editor:r,createInside:s}=e,{range:a}=t,l=a.cloneRange(),c=a.cloneRange(),d=s.fake(),u=s.fake();l.collapse(!0),c.collapse(!1),i.J.safeInsertNode(l,d),i.J.safeInsertNode(c,u),a.setStartBefore(d),a.collapse(!0),t.selectRange(a),(0,n.w)(e,d),a.setEndAfter(u),a.collapse(!1),t.selectRange(a),(0,n.w)(e,u);const h=[];i.J.between(d,u,e=>{(0,n.D)(e)&&!i.J.isTag(e,"a")&&h.push(e),i.J.isElement(e)&&(0,o.CF)(e,"style")&&(0,o.CF)(e,"style",null)}),h.forEach(e=>i.J.unwrap(e));const p=(e,t)=>{if(!i.J.findNotEmptySibling(e,t)){const i=e.parentNode;if(i&&i!==r&&(0,o.CF)(i,"style"))return(0,o.CF)(i,"style",null),p(i,t),!0}};p(d,!0)&&p(u,!1),a.setStartAfter(d),a.setEndBefore(u),t.selectRange(a),i.J.safeRemove(d),i.J.safeRemove(u)}},42320(e,t,r){r.d(t,{v(){return o}});var i=r(23282);function o(e){return!!e&&(0,i.T)(e.has)&&(0,i.T)(e.add)&&(0,i.T)(e.delete)}},42345(e,t){t.A='<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> '},42640(e,t,r){r.d(t,{Q(){return o}});const i={"text-justify":["inter-ideograph"]};function o(e){return e.isElement&&e.attributes.style&&Object.keys(i).forEach(t=>{const r=i[t];e.style.has(t)&&r.includes(e.style.get(t)?.toString())&&e.style.set(t,null)}),e}},43003(e,t,r){var i=r(580);r(40329),i.fg.add("table",e=>{e.registerButton({name:"table",group:"insert"})})},43267(e,t,r){r.r(t),r.d(t,{checkBlockNesting(){return i.o}});var i=r(78720)},43463(e,t,r){r.d(t,{G(){return o}});var i=r(2748);function o(e,t,r){let o=e;for(;o&&o!==r;){if(i.J.findSibling(o,t))return;if(i.J.isBlock(o.parentElement))break;o=o.parentElement,o&&o!==r&&(t?i.J.before(o,e):i.J.after(o,e))}}},43478(e,t){t.A='<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(e,t,r){r.d(t,{$$(){return E.$$},$v(){return T.$},AH(){return h.A},BG(){return _.B},CF(){return s.C},DY(){return E.DY},EW(){return o.EW},FI(){return g.FI},HP(){return j.HP},Hp(){return v.Hp},Jt(){return b.J},MJ(){return y.M},Mr(){return i.Mr},Op(){return i.Op},Qt(){return o.Qt},Rc(){return g.Rc},S5(){return o.S5},T(){return a.T},T1(){return j.T1},VL(){return d.VL},Vc(){return k.m},XO(){return c.X},Xm(){return i.Xm},Xu(){return p.X},ZW(){return g.ZW},Zq(){return l.Z},aE(){return h.a},bE(){return E.bE},b_(){return j.b_},cL(){return S.c},dh(){return A.d},eG(){return m.e},fF(){return g.fF},fV(){return _.f},fz(){return E.fz},h2(){return g.h2},hZ(){return I.h},l7(){return T.l},mA(){return v.mA},mY(){return u.m},mv(){return f.m},my(){return j.my},o_(){return j.o_},pi(){return d.pi},qN(){return j.qN},rV(){return g.rV},tI(){return E.tI},tb(){return d.tb},uB(){return y.u},u_(){return C.u},vA(){return n.v},w4(){return o.w4},x_(){return o.x_},y6(){return v.y6},yt(){return j.yt},z3(){return g.z3},zP(){return w.z}});var i=r(25726),o=r(63799),n=r(38837),s=r(29960),a=r(97639),l=r(44710),c=r(66292),d=r(68934),u=r(55877),h=r(41180),p=r(15456),f=r(86583),m=r(96325),g=r(89890),v=r(97735),b=r(94643),y=r(80568),w=r(38420),_=r(95942),k=r(82501),C=r(11628),S=r(58844),T=r(26395),E=r(76078),I=r(3703),A=r(50535),j=r(37790)},43649(e,t,r){r.d(t,{V(){return n},i(){return o}});var i=r(68345);const o=e=>(0,i.c)(e.buttons);function n(e,t){const r=t.getRegisteredButtonGroups();return new Set(e.reduce((e,t)=>{var i;return o(t)?e=e.concat([...t.buttons,...null!==(i=r[t.group])&&void 0!==i?i:[]]):e.push(t),e},[]))}},43809(e,t,r){var i=r(65478),o=r(580),n=r(29960),s=r(50911),a=(r(99085),r(26529));class l extends s.k{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,n.C)(this.jodit.editor,"spellcheck",this.jodit.o.spellcheck)}beforeDestruct(e){}constructor(e){super(e),this.buttons=[{group:"state",name:"spellcheck"}],(0,o.JW)(a)}}(function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);n>3&&s&&Object.defineProperty(t,r,s)})([i.autobind],l.prototype,"toggleSpellcheck",null),o.fg.add("spellcheck",l)},44245(e,t,r){r.d(t,{y(){return n}});var i=r(2748),o=r(26395);function n(e,t,r,n){const s="br"===r.toLowerCase(),{createInside:a}=t,l=a.element(r),c=a.element("br");return s||l.appendChild(c),n&&n.cssText&&l.setAttribute("style",n.cssText),i.J.after(e,l),i.J.before(s?l:c,e),(0,o.$)(l,t.editor,t.ed),l}},44253(e,t,r){r.d(t,{Y(){return m}});var i=r(82758),o=r(2748),n=r(580),s=r(27613),a=r(3760),l=r(21496),c=r(12475),d=r(43555),u=r(41180),h=r(86583),p=r(77361);const f="toggleAttributes";function m(e,t,r,m,v=!1){if(!v&&e.isApplied(t,f))return m;!v&&e.setApplied(t,f);const{attributes:b}=e.options;return b&&(0,l.E)(b)>0&&Object.keys(b).forEach(f=>{const y=b[f];switch(f){case"style":m=((e,t,r,f,m,v)=>((0,d.vA)((0,s.Qd)(r)&&(0,l.E)(r),"Style must be an object"),Object.keys(r).forEach(s=>{const l=f.style.getPropertyValue((0,c.k)(s)),d=r[s];if(""!==l||null!=d){if(((e,t,r)=>{const s=e.create.element(t.tagName.toLowerCase());s.style.cssText=t.style.cssText;const a=(e=>{var t;if(void 0!==(0,h.m)(e,"shadowRoot"))return(0,h.m)(e,"shadowRoot");const r=(0,n.My)(e),o=i.globalDocument.createElement("iframe");(0,u.A)(o,{width:0,height:0,position:"absolute",border:0}),o.src="about:blank",r.appendChild(o);const s=null===(t=o.contentWindow)||void 0===t?void 0:t.document,a=s?s.body:e.od.body;return(0,h.m)(e,"shadowRoot",a),a})(e);a.appendChild(s);const l=(0,u.A)(s,r);return o.J.safeRemove(s),l})(t,f,s)===(0,a.iy)(s,d)){if(!l)return;return!m&&(0,u.A)(f,s,null),void(v=g(e,f,v=p.Ag))}v=p.PL,m||((0,u.A)(f,s,d),v=g(e,f,v))}}),v))(e,r,y,t,v,m);break;case"className":case"class":m=((e,t,r,i,o)=>{(0,d.vA)((0,s.Kg)(t),"Class name must be a string");const n=e.e.fire.bind(e.e,p.ar+"AfterToggleAttribute");return r.classList.contains(""+t)?(i=p.Ag,o||(r.classList.remove(t),0===r.classList.length&&((0,d.CF)(r,"class",null),n(i,r,"class",null)))):(i=p.PL,o||(r.classList.add(t),n(i,r,"class",t))),i})(r,y,t,m,v);break;default:m=((e,t,r,i,o,n)=>{(0,d.vA)((0,s.Kg)(t)||(0,s.Et)(t)||(0,s.Lm)(t)||null==t,"Attribute value must be a string or number or boolean or null");const a=e.e.fire.bind(e.e,p.ar+"AfterToggleAttribute");return(0,d.CF)(r,i)===t?(!o&&(0,d.CF)(r,i,null),n=p.Ag,!o&&a(n,r,i,t),n):(n=p.PL,o||((0,d.CF)(r,i,t),a(n,r,i,t)),n)})(r,y,t,f,v,m)}}),m}function g(e,t,r){return(0,d.CF)(t,"style")||((0,d.CF)(t,"style",null),t.tagName.toLowerCase()===e.defaultTag&&(o.J.unwrap(t),r=p.OJ)),r}},44330(e,t){t.A='<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(e,t,r){function i(e,t,r){return e.dataProvider.fileRemove(e.state.currentPath,t,r).then(r=>{e.status(r||e.i18n('File "%s" was deleted',t),!0)}).catch(e.status)}r.d(t,{W(){return i}})},44506(e,t,r){r.d(t,{y(){return i}});const i=(e,t)=>{const r=e=>parseInt(e,10),i=t.getComputedStyle(e);return e.offsetWidth-r(i.getPropertyValue("padding-left")||"0")-r(i.getPropertyValue("padding-right")||"0")}},44586(e,t,r){r(6441).T.prototype.draggableTags=["img","jodit-media","jodit"]},44602(e,t,r){r.d(t,{A(){return s}});var i=r(2748),o=r(29136),n=r(97380);function s(e,t,r){const{parentNode:a}=t;return a===r||!i.J.isHTMLElement(a)||i.J.next(t,o._,a)||i.J.prev(t,o._,a)?null:e.isElementCommit&&e.elementIsBlock&&!i.J.isBlock(a)?s(e,a,r):!(0,n.sz)(e,a,!1)||i.J.isBlock(a)&&!e.elementIsBlock?e.isElementCommit&&!i.J.isBlock(a)?s(e,a,r):null:a}},44710(e,t,r){r.d(t,{Z(){return o}});var i=r(72430);const o=(e,t)=>{const r=[],n=encodeURIComponent;for(const s in e)if(Object.prototype.hasOwnProperty.call(e,s)){const a=t?t+"["+s+"]":s,l=e[s];r.push((0,i.Q)(l)?o(l,a):n(a)+"="+n(l))}return r.join("&")}},45124(e,t,r){r.d(t,{Qe(){return s},W8(){return n.W},dY(){return a}});var i=r(82758),o=r(2748),n=r(26716);function s(e,t,r,o){var n;const s=(null===(n=e.nodeValue)||void 0===n?void 0:n.length)?e.nodeValue:"";if(o&&s.replace((0,i.INVISIBLE_SPACE_REG_EXP_END)(),"").length>t)return!0;const a=(0,i.INVISIBLE_SPACE_REG_EXP_START)().exec(s);return r&&(a&&t>a[0].length||!a&&t>0)}function a(e,t,r,i,n,s){if((e=t.startContainer.childNodes[t.startOffset])||(e=t.startContainer.childNodes[t.startOffset-1],r=!0),e&&i&&!o.J.isText(e))if(!r&&o.J.isText(e.previousSibling))e=e.previousSibling;else if(n){let t=s(e);for(;t;){if(t&&o.J.isText(t)){e=t;break}t=s(t)}}if(e&&!i&&!o.J.isText(e)){let t=e,r=e;do{t=t.firstChild,r=r.lastChild}while(t&&r&&!o.J.isText(t));t===r&&t&&o.J.isText(t)&&(e=t)}return{node:e,rightMode:r}}r(43463)},45219(e,t,r){r.d(t,{d(){return i.Ay}});var i=r(40401)},45235(e,t,r){r.r(t),r.d(t,{allowAttributes(){return i.f},fillEmptyParagraph(){return o.f},removeEmptyTextNode(){return n.r},removeInvTextNodes(){return s.u},replaceOldTags(){return a.H},sanitizeAttributes(){return l.L},tryRemoveNode(){return c.k}});var i=r(82558),o=r(39433),n=r(53392),s=r(25813),a=r(80973),l=r(384),c=r(28800)},45575(e,t){t.A='<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(e,t,r){r.d(t,{M(){return o}});var i=r(70799);const o=e=>(0,i.K)(e)&&23===e.length&&/^[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}$/i.test(e)},45927(e,t,r){var i=r(65478),o=r(580),n=r(84767),s=r(41180),a=r(20356),l=(r(80792),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});let c=class e extends a.k{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.__initialize()}__initialize(){const{j:e}=this;if(e.o.inline)return;let{height:t}=e.o;if(e.o.saveHeightInStorage&&"auto"!==t){const r=e.storage.get("height");r&&(t=r)}(0,s.A)(e.editor,{minHeight:"100%"}),(0,s.A)(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){const{clientHeight:t,clientWidth:r}=this.j.container;if((0,n.E)(e)){const{minHeight:t,maxHeight:r}=this.j.o;(0,n.E)(t)&&t>e&&(e=t),(0,n.E)(r)&&e>r&&(e=r)}(0,s.A)(this.j.container,"height",e),this.j.o.saveHeightInStorage&&this.j.storage.set("height",e),this.__resizeWorkspaceImd({clientHeight:t,clientWidth:r})}__setWidth(e){const{clientHeight:t,clientWidth:r}=this.j.container;if((0,n.E)(e)){const{minWidth:t,maxWidth:r}=this.j.o;(0,n.E)(t)&&t>e&&(e=t),(0,n.E)(r)&&e>r&&(e=r)}(0,s.A)(this.j.container,"width",e),this.__resizeWorkspaceImd({clientHeight:t,clientWidth:r})}__getNotWorkHeight(){var e,t;return((null===(e=this.j.toolbarContainer)||void 0===e?void 0:e.offsetHeight)||0)+((null===(t=this.j.statusbar)||void 0===t?void 0:t.getHeight())||0)+2}__resizeWorkspaceImd({clientHeight:e,clientWidth:t}=this.j.container){if(!this.j||this.j.isDestructed||!this.j.o||this.j.o.inline)return;if(!this.j.container||!this.j.container.parentNode)return;const r=((0,s.A)(this.j.container,"minHeight")||0)-this.__getNotWorkHeight();if((0,n.E)(r)&&r>0&&([this.j.workplace,this.j.iframe,this.j.editor].map(e=>{e&&(0,s.A)(e,"minHeight",r)}),this.j.e.fire("setMinHeight",r)),(0,n.E)(this.j.o.maxHeight)){const e=this.j.o.maxHeight-this.__getNotWorkHeight();[this.j.workplace,this.j.iframe,this.j.editor].map(t=>{t&&(0,s.A)(t,"maxHeight",e)}),this.j.e.fire("setMaxHeight",e)}this.j.container&&(0,s.A)(this.j.workplace,"height","auto"!==this.j.o.height||this.j.isFullSize?this.j.container.offsetHeight-this.__getNotWorkHeight():"auto");const{clientHeight:i,clientWidth:o}=this.j.container;e===i&&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,i.throttle)()],c.prototype,"__initialize",null),l([i.autobind],c.prototype,"__resizeWorkspaceImd",null),c=l([i.autobind],c),o.fg.add("size",c)},45971(e,t,r){function i(e){return e.replace(/\r\n|\r|\n/g,"<br/>")}r.d(t,{H(){return i}})},46104(e,t){t.A='<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(e,t,r){r.r(t),r.d(t,{removeExtraBr(){return i.z}});var i=r(94870)},46334(e,t,r){r.d(t,{r(){return i}});const i=(e,t)=>/^[0-9]+$/.test(""+e)?e+t:""+e},46448(e,t,r){r(73391),r(93183),r(66707),r(41107),r(93079),r(575),r(23399),r(96111),r(42263),r(77469),r(23531),r(93401),r(65517),r(64837),r(59451),r(18363),r(6687),r(45927),r(7309),r(43003),r(72253),r(65735)},46559(e,t,r){function i(e){return Array.isArray(e)?e:e.split(/[,\s]+/)}r.d(t,{u(){return i}})},46614(e,t,r){var i=r(87612),o=r(70799),n=r(29960),s=r(86583),a=r(12153),l=r(6441),c=r(26532),d=r(93602),u=r(75259);l.T.prototype.speechRecognize={api:void 0!==c.o?c.o: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.I.set("speech-recognize",u.A),l.T.prototype.controls.speechRecognize={isVisible:e=>!!e.o.speechRecognize.api,isActive(e,t){const r=(0,s.m)(e,"speech");return!!(null==r?void 0:r.isEnabled)},isDisabled:e=>!e.o.speechRecognize.api,exec(e,t,{button:r,control:a}){var l;const{api:c,lang:u,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.m)(e,"speech");if(!m){const t=new c;m=new d.g(e.async,t),m.lang=(0,o.K)(u)?u:null!==(l=(0,n.C)(e.od.documentElement,"lang"))&&void 0!==l?l:void 0,m.continuous=h,m.interimResults=p,m.sound=f,(0,s.m)(e,"speech",m),m.on("pulse",e=>{r.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)),r.hookStatus("beforeDestruct",()=>{(0,s.m)(e,"speech",null),m.destruct()})}if(a.args){const e=a.args[0];if((0,i.L)(m[e]))return m[e]=!m[e],void(m.isEnabled&&m.restart())}m.toggle(),m.isEnabled&&r.setMod("pulse",!0),r.state.activated=m.isEnabled},name:"speechRecognize",command:"toggleSpeechRecognize",tooltip:"Speech Recognize",list:{sound:"Sound",interimResults:"Interim Results"},childTemplate(e,t,r){var i;const o=(0,s.m)(e,"speech");return`<span class='jodit-speech-recognize__list-item'><input ${(null!==(i=null==o?void 0:o[t])&&void 0!==i?i:e.o.speechRecognize[t])?"checked":""} class='jodit-checkbox' type='checkbox'>&nbsp;${r}</span>`},mods:{stroke:!1}}},46776(e,t,r){var i=r(12153),o=r(6441),n=r(44330);o.T.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.T.prototype.controls.eraser={command:"removeFormat",tooltip:"Clear Formatting"},i.I.set("eraser",n.A)},46788(e,t,r){r.d(t,{Bj(){return n.Bj},GW(){return i.G},i(){return n.i},jh(){return n.jh},lT(){return o.l}});var i=r(60181),o=r(91126),n=r(48430);r(56869)},47193(e,t,r){r.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"}},47686(e,t,r){r.d(t,{O(){return i.O}});var i=r(26658)},47749(e,t,r){r.d(t,{E(){return o}});var i=r(12475);function o(e,t,r){let o=!0,n=!1;["marginTop","marginRight","marginBottom","marginLeft"].forEach(r=>{let s=e.style.getPropertyValue((0,i.k)(r));if(!s)return n=!0,void(t[r]=0);/^[0-9]+(px)?$/.test(s)&&(s=parseInt(s,10)),t[r]=s,(n&&t[r]||o&&"marginTop"!==r&&t[r]!==t.marginTop)&&(o=!1)}),r.marginIsLocked=o}},48038(e,t,r){var i=r(6441);i.T.prototype.toolbarSticky=!0,i.T.prototype.toolbarDisableStickyForMobile=!0,i.T.prototype.toolbarStickyOffset=0},48430(e,t,r){function i(e){if(!e)return[0,0,0,0];const 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])}}let o;function n(e){if("number"==typeof e)return e;if(/%$/.test(e))return 0;o||(o=document.createElement("div"),Object.assign(o.style,{position:"absolute",left:"-9999px",top:"-9999px",margin:"0",padding:"0",border:"0"}),document.body.append(o),setTimeout(()=>{o?.remove(),o=null}));const t=0>parseFloat(e);t&&(e=e.replace("-","")),o.style.width=e;const r=o.clientWidth;return t?-r:r}function s(e){const{style:t}=e;let r=[0,0,0,0];const o=t.keys.filter(e=>/margin/.test(e)),s=Math.max(o.indexOf("margin-left"),o.indexOf("margin")),a=s>0?o[s]:"margin-left";let l;return"margin"===a?(r=i(t.get("margin")),l=r[3]||0):l=t.get(a)||0,n(l)}function a(e){return/\d.\d/.test(e)?e.split(".").pop()||null:/^\d/.test(e)?""+(parseInt(e,10)||1):null}r.d(t,{Bj(){return n},i(){return i},jh(){return a},x0(){return s}})},48538(e,t,r){r.d(t,{D(){return u}});var i,o=r(91907),n=r(55153),s=r(2748),a=r(70799),l=r(14316),c=r(34176),d=r(12153);let u=i=class e extends o.vG{get parentElement(){return this.__parentElement}set parentElement(e){this.__parentElement=e,e&&e.hookStatus("beforeDestruct",()=>this.destruct()),this.updateParentElement(this)}bubble(e){let t=this.parentElement;for(;t;)e(t),t=t.parentElement;return this}updateParentElement(e){var t;return null===(t=this.__parentElement)||void 0===t||t.updateParentElement(e),this}get(e,t){return super.get(e,t)||this.getElm(e)}closest(e){const t="object"==typeof e?t=>t===e:t=>o.uA.isInstanceOf(t,e);let r=this.__parentElement;for(;r;){if(t(r))return r;r=!r.parentElement&&r.container.parentElement?i.closestElement(r.container.parentElement,i):r.parentElement}return null}static closestElement(e,t){const r=s.J.up(e,e=>{if(e){const{component:r}=e;return r&&o.uA.isInstanceOf(r,t)}return!1});return r?null==r?void 0:r.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){const t=this.render(e);if((0,a.K)(t)){const 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.I.get(t)||"").replace(/&_/g,this.componentName+"_").replace(/~([^~]+?)~/g,(e,t)=>this.i18n(t)))}destruct(){return s.J.safeRemove(this.container),this.parentElement=null,super.destruct()}constructor(e,t){super(e),this.name="",this.__parentElement=null,this.mods={},this.container=this.createContainer(t),Object.defineProperty(this.container,"component",{value:this,configurable:!0})}};u=i=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([(0,n.C)(c.K,l.O)],u)},48591(e,t,r){r.d(t,{k(){return n}});var i=r(82758),o=r(23282);function n(e,t){try{try{return(0,o.T)(t)?new t(e):t}catch(r){if((0,o.T)(t)&&!t.prototype)return t(e)}}catch(e){if(!i.IS_PROD)throw e}return null}},49033(e,t,r){r.d(t,{j(){return n}});var i=r(82758),o=r(49055);function n(e){const t={},r={meta:1,ctrl:2,control:2,alt:3,shift:4,space:5};return e.replace(/\+\+/g,"+add").split(/[\s]*\+[\s]*/).map(e=>(0,o.Bq)(e.toLowerCase())).map(e=>i.KEY_ALIASES[e]||e).sort((e,t)=>r[e]&&!r[t]?-1:!r[e]&&r[t]?1:r[e]&&r[t]?r[e]-r[t]:e>t?1:-1).filter(e=>!t[e]&&""!==e&&(t[e]=!0)).join("+")}},49055(e,t,r){r.d(t,{Bq(){return o},Gd(){return n},gj(){return s}});var i=r(82758);function o(e){return e.replace((0,i.SPACE_REG_EXP_END)(),"").replace((0,i.SPACE_REG_EXP_START)(),"")}function n(e,t){return e.replace(RegExp(`[${t}]+$`),"").replace(RegExp(`^[${t}]+`),"")}function s(e){return e.replace((0,i.INVISIBLE_SPACE_REG_EXP_END)(),"").replace((0,i.INVISIBLE_SPACE_REG_EXP_START)(),"")}},49155(e,t){t.A='<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(e,t){t.A='<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> '},49922(e,t){t.A='<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(e,t,r){r.d(t,{E(){return n}}),r(82758);var i=r(70799),o=r(38837);class n{setState(e){(0,o.v)(!this.__previewsStates.has(e),"Circled states"),this.__previewsStates.add(e),this.__state=e}getState(){return this.__state}disableSilent(){this.silent=!1}dispatch(e,t){const r=this.transitions[this.getState()][e];if(r){const e=r.call(this,t);return(0,o.v)(e&&e!==t,"Action should return new value"),(0,o.v)((0,i.K)(e.next),"Value should contain the next state"),(0,o.v)(e.next!==this.getState(),"The new state should not be equal to the old one."),this.setState(e.next),e}throw Error(`invalid action: ${this.getState()}.${""+e}`)}constructor(e,t){this.transitions=t,this.silent=!0,this.__previewsStates=new Set,this.setState(e)}}},50050(e,t,r){r.d(t,{B(){return g},n(){return m}});var i,o=r(91907),n=r(65478),s=r(22732),a=r(21537),l=r(62843),c=r(6441),d=(r(62489),r(22461)),u=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};const h="jodit-image-editor",p="resize",f="crop";let m=i=class e extends o.vG{className(){return"ImageEditor"}get o(){return this.options}hide(){this._dialog.close()}open(e,t){return this.j.async.promise(r=>{const i=(new Date).getTime();this.image=this.j.c.element("img"),(0,a.$$)("img,.jodit-icon_loader",this.resize_box).forEach(s.J.safeRemove),(0,a.$$)("img,.jodit-icon_loader",this.crop_box).forEach(s.J.safeRemove),(0,a.css)(this.cropHandler,"background","transparent"),this.onSave=t,this.resize_box.appendChild(this.j.c.element("i",{class:"jodit-icon_loader"})),this.crop_box.appendChild(this.j.c.element("i",{class:"jodit-icon_loader"})),this.image.setAttribute("src",e+=/\?/.test(e)?"&_tst="+i:"?_tst="+i),this._dialog.open();const{widthInput:o,heightInput:n}=(0,a.refs)(this.editor),l=()=>{this.isDestructed||(this.image.removeEventListener("load",l),this.naturalWidth=this.image.naturalWidth,this.naturalHeight=this.image.naturalHeight,o.value=""+this.naturalWidth,n.value=""+this.naturalHeight,this.ratio=this.naturalWidth/this.naturalHeight,this.resize_box.appendChild(this.image),this.cropImage=this.image.cloneNode(!0),this.crop_box.appendChild(this.cropImage),s.J.safeRemove.apply(null,(0,a.$$)(".jodit-icon_loader",this.editor)),this.activeTab===f&&this.showCrop(),this.j.e.fire(this.resizeHandler,"updatesize"),this.j.e.fire(this.cropHandler,"updatesize"),this._dialog.setPosition(),this.j.e.fire("afterImageEditor"),r(this._dialog))};this.image.addEventListener("load",l),this.image.complete&&l()})}onTitleModeClick(e){const t=this,r=e.target,i=null==r?void 0:r.parentElement;if(!i)return;(0,a.$$)(`.${h}__slider,.${h}__area`,t.editor).forEach(e=>e.classList.remove(h+"_active")),i.classList.add(h+"_active"),this.activeTab=(0,a.attr)(i,"-area")||p;const o=t.editor.querySelector(`.${h}__area.${h}__area_`+t.activeTab);o&&o.classList.add(h+"_active"),t.activeTab===f&&t.showCrop()}onChangeSizeInput(e){const t=this,r=e.target,{widthInput:i,heightInput:o}=(0,a.refs)(this.editor),n="widthInput"===(0,a.attr)(r,"data-ref"),s=parseInt(r.value,10),l=n?t.o.min_height:t.o.min_width;let c;s>(n?t.o.min_width:t.o.min_height)&&((0,a.css)(t.image,n?"width":"height",s),t.resizeUseRatio&&(c=Math.round(n?s/t.ratio:s*t.ratio),c>l&&((0,a.css)(t.image,n?"height":"width",c),n?o.value=""+c:i.value=""+c))),this.j.e.fire(t.resizeHandler,"updatesize")}onResizeHandleMouseDown(e){const t=this;t.target=e.target,e.preventDefault(),e.stopImmediatePropagation(),t.clicked=!0,t.start_x=e.clientX,t.start_y=e.clientY,t.activeTab===f?(t.top_x=(0,a.css)(t.cropHandler,"left"),t.top_y=(0,a.css)(t.cropHandler,"top"),t.width=t.cropHandler.offsetWidth,t.height=t.cropHandler.offsetHeight):(t.width=t.image.offsetWidth,t.height=t.image.offsetHeight),t.j.e.on(this.j.ow,"mousemove",this.onGlobalMouseMove).one(this.j.ow,"mouseup",this.onGlobalMouseUp)}onGlobalMouseUp(e){this.clicked&&(this.clicked=!1,e.stopImmediatePropagation(),this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove))}onGlobalMouseMove(e){const t=this;if(!t.clicked)return;const{widthInput:r,heightInput:i}=(0,a.refs)(this.editor);t.diff_x=e.clientX-t.start_x,t.diff_y=e.clientY-t.start_y,t.activeTab===p&&t.resizeUseRatio||t.activeTab===f&&t.cropUseRatio?t.diff_x?(t.new_w=t.width+t.diff_x,t.new_h=Math.round(t.new_w/t.ratio)):(t.new_h=t.height+t.diff_y,t.new_w=Math.round(t.new_h*t.ratio)):(t.new_w=t.width+t.diff_x,t.new_h=t.height+t.diff_y),t.activeTab===p?(t.new_w>t.o.resizeMinWidth&&((0,a.css)(t.image,"width",t.new_w+"px"),r.value=""+t.new_w),t.new_h>t.o.resizeMinHeight&&((0,a.css)(t.image,"height",t.new_h+"px"),i.value=""+t.new_h),this.j.e.fire(t.resizeHandler,"updatesize")):(t.target!==t.cropHandler?(t.top_x+t.new_w>t.cropImage.offsetWidth&&(t.new_w=t.cropImage.offsetWidth-t.top_x),t.top_y+t.new_h>t.cropImage.offsetHeight&&(t.new_h=t.cropImage.offsetHeight-t.top_y),(0,a.css)(t.cropHandler,{width:t.new_w,height:t.new_h})):(t.top_x+t.diff_x+t.cropHandler.offsetWidth>t.cropImage.offsetWidth&&(t.diff_x=t.cropImage.offsetWidth-t.top_x-t.cropHandler.offsetWidth),(0,a.css)(t.cropHandler,"left",t.top_x+t.diff_x),t.top_y+t.diff_y+t.cropHandler.offsetHeight>t.cropImage.offsetHeight&&(t.diff_y=t.cropImage.offsetHeight-t.top_y-t.cropHandler.offsetHeight),(0,a.css)(t.cropHandler,"top",t.top_y+t.diff_y)),this.j.e.fire(t.cropHandler,"updatesize"))}destruct(){this.isDestructed||(this._dialog&&!this._dialog.isInDestruct&&this._dialog.destruct(),s.J.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,"."+h).off("."+h),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=p,this.naturalWidth=0,this.naturalHeight=0,this.ratio=0,this.new_h=0,this.new_w=0,this.diff_x=0,this.diff_y=0,this.cropBox={x:0,y:0,w:0,h:0},this.resizeBox={w:0,h:0},this.calcCropBox=()=>{const e=this.crop_box.parentNode,t=.8*e.offsetWidth,r=.8*e.offsetHeight;let i=t,o=r;const{naturalWidth:n,naturalHeight:s}=this;t>n&&r>s?(i=n,o=s):this.ratio>t/r?(i=t,o=s*(t/n)):(i=n*(r/s),o=r),(0,a.css)(this.crop_box,{width:i,height:o})},this.showCrop=()=>{if(!this.cropImage)return;this.calcCropBox();const e=this.cropImage.offsetWidth||this.image.offsetWidth||this.image.naturalWidth;this.new_w=i.calcValueByPercent(e,this.o.cropDefaultWidth);const t=this.cropImage.offsetHeight||this.image.offsetHeight||this.image.naturalHeight;this.new_h=this.cropUseRatio?this.new_w/this.ratio:i.calcValueByPercent(t,this.o.cropDefaultHeight),(0,a.css)(this.cropHandler,{backgroundImage:"url("+(0,a.attr)(this.cropImage,"src")+")",width:this.new_w,height:this.new_h,left:e/2-this.new_w/2,top:t/2-this.new_h/2}),this.j.e.fire(this.cropHandler,"updatesize")},this.updateCropBox=()=>{if(!this.cropImage)return;const e=this.cropImage.offsetWidth/this.naturalWidth,t=this.cropImage.offsetHeight/this.naturalHeight;this.cropBox.x=(0,a.css)(this.cropHandler,"left")/e,this.cropBox.y=(0,a.css)(this.cropHandler,"top")/t,this.cropBox.w=this.cropHandler.offsetWidth/e,this.cropBox.h=this.cropHandler.offsetHeight/t,this.sizes.textContent=this.cropBox.w.toFixed(0)+"x"+this.cropBox.h.toFixed(0)},this.updateResizeBox=()=>{this.resizeBox.w=this.image.offsetWidth||this.naturalWidth,this.resizeBox.h=this.image.offsetHeight||this.naturalHeight},this.setHandlers=()=>{const e=this,{widthInput:t,heightInput:r}=(0,a.refs)(this.editor);e.j.e.on([e.editor.querySelector(".jodit_bottomright"),e.cropHandler],"mousedown."+h,this.onResizeHandleMouseDown).on(this.j.ow,"resize."+h,()=>{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(`.${h}__slider-title`)),"click",this.onTitleModeClick).on([t,r],"input",this.onChangeSizeInput);const{keepAspectRatioResize:i,keepAspectRatioCrop:o}=(0,a.refs)(this.editor);i&&i.addEventListener("change",()=>{this.resizeUseRatio=i.checked}),o&&o.addEventListener("change",()=>{this.cropUseRatio=o.checked}),e.j.e.on(e.resizeHandler,"updatesize",()=>{(0,a.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,a.css)(e.cropHandler,"left"),r=(0,a.css)(e.cropHandler,"top"),i=e.cropHandler.offsetWidth,o=e.cropHandler.offsetHeight;0>t&&(t=0),0>r&&(r=0),t+i>e.cropImage.offsetWidth&&(i=e.cropImage.offsetWidth-t,e.cropUseRatio&&(o=i/e.ratio)),r+o>e.cropImage.offsetHeight&&(o=e.cropImage.offsetHeight-r,e.cropUseRatio&&(i=o*e.ratio)),(0,a.css)(e.cropHandler,{width:i,height:o,left:t,top:r,backgroundPosition:-t-1+"px "+(-r-1)+"px",backgroundSize:e.cropImage.offsetWidth+"px "+e.cropImage.offsetHeight+"px"}),e.updateCropBox()}),Object.values(e.buttons).forEach(i=>{i.onAction(()=>{const o={action:e.activeTab,box:e.activeTab===p?e.resizeBox:e.cropBox};switch(i){case e.buttons.saveas:e.j.prompt("Enter new name","Save in new file",t=>{if(!(0,a.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===p?((0,a.css)(e.image,{width:null,height:null}),t.value=""+e.naturalWidth,r.value=""+e.naturalHeight,e.j.e.fire(e.resizeHandler,"updatesize")):e.showCrop()}})})},this.options=e&&e.o&&e.o.imageeditor?e.o.imageeditor:c.T.defaultOptions.imageeditor;const t=this.options;this.resizeUseRatio=t.resizeUseRatio,this.cropUseRatio=t.cropUseRatio,this.buttons={reset:(0,l.$n)(this.j,"update","Reset"),save:(0,l.$n)(this.j,"save","Save"),saveas:(0,l.$n)(this.j,"save","Save as ...")},this.activeTab=t.resize?p:f,this.editor=(0,d.Z)(this.j,this.options);const{resizeBox:r,cropBox:o}=(0,a.refs)(this.editor);this.resize_box=r,this.crop_box=o,this.sizes=this.editor.querySelector(`.${h}__area.${h}__area_crop .jodit-image-editor__sizes`),this.resizeHandler=this.editor.querySelector(`.${h}__resizer`),this.cropHandler=this.editor.querySelector(`.${h}__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 g(e,t,r,i,o,n){return this.getInstance("ImageEditor",this.o).open(e,(e,s,l,c)=>(0,a.call)("resize"===s.action?this.dataProvider.resize:this.dataProvider.crop,r,i,t,e,s.box).then(e=>{e&&(l(),o&&o())}).catch(e=>{c(e),n&&n(e)}))}m.calcValueByPercent=(e,t)=>{const r=""+t,i=parseFloat(""+e);let o;return o=/^[-+]?[0-9]+(px)?$/.exec(r),o?parseInt(r,10):(o=/^([-+]?[0-9.]+)%$/.exec(r),o?Math.round(i*(parseFloat(o[1])/100)):i||0)},u([n.autobind],m.prototype,"hide",null),u([n.autobind],m.prototype,"open",null),u([n.autobind],m.prototype,"onTitleModeClick",null),u([(0,n.debounce)(),n.autobind],m.prototype,"onChangeSizeInput",null),u([n.autobind],m.prototype,"onResizeHandleMouseDown",null),u([n.autobind],m.prototype,"onGlobalMouseUp",null),u([(0,n.throttle)(10)],m.prototype,"onGlobalMouseMove",null),m=i=u([n.component],m)},50267(e,t){t.A='<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(e,t,r){r.d(t,{d(){return c}});var i=r(82758),o=r(22732),n=r(580),s=r(21537),a=r(74569),l=r(80020);function c(e,t,r,c,d){if(t&&(!t.types.length||t.types[0]!==i.TEXT_PLAIN)){const 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,n.My)(e.j,e.constructor).appendChild(t);const i=(0,s.isJoditObject)(e.j)?e.j.s.save():null,u=()=>i&&(0,s.isJoditObject)(e.j)&&e.j.s.restore();t.focus(),e.j.async.setTimeout(()=>{const i=t.firstChild;if(o.J.safeRemove(t),i&&i.hasAttribute("src")){const t=(0,s.attr)(i,"src")||"";u(),(0,l._)(e,[(0,a.z)(t)],r,c).finally(d)}},e.j.defaultTimeout)}}},50535(e,t,r){r.d(t,{d(){return i}});class i{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(e,t,r){r.d(t,{k(){return i.k}});var i=r(20356);r(41876)},50963(e,t,r){var i=r(6441);i.T.prototype.iframeBaseUrl="",i.T.prototype.iframeTitle="Jodit Editor",i.T.prototype.iframeDoctype="<!DOCTYPE html>",i.T.prototype.iframeDefaultSrc="about:blank",i.T.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}',i.T.prototype.iframeCSSLinks=[],i.T.prototype.iframeSandbox=null},51036(e,t){t.A='<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> '},51642(e,t,r){r.d(t,{g(){return o}});var i=r(41180);function o(e,t){t.align=e.style.cssFloat&&-1!==["left","right"].indexOf(e.style.cssFloat.toLowerCase())?(0,i.A)(e,"float"):"block"===(0,i.A)(e,"display")&&"auto"===e.style.marginLeft&&"auto"===e.style.marginRight?"center":""}},51855(e,t){t.A='<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> '},52507(e,t){t.A='<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(e,t,r){r.d(t,{F(){return s}});var i=r(91907),o=r(82758),n=r(2748);class s extends i.vG{className(){return"Snapshot"}static equal(e,t){return e.html===t.html&&JSON.stringify(e.range)===JSON.stringify(t.range)}static countNodesBeforeInParent(e){if(!e.parentNode)return 0;const t=e.parentNode.childNodes;let r=0,i=null;for(let o=0;t.length>o;o+=1){if(!i||this.isIgnoredNode(t[o])||n.J.isText(i)&&n.J.isText(t[o])||(r+=1),t[o]===e)return r;i=t[o]}return 0}static strokeOffset(e,t){for(;n.J.isText(e);)n.J.isText(e=e.previousSibling)&&e.nodeValue&&(t+=e.nodeValue.length);return t}calcHierarchyLadder(e){const t=[];if(!e||!e.parentNode||!n.J.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,r=this.j.editor;for(t=0;r&&e.length>t;t+=1)r=r.childNodes[e[t]];return r}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(){const e={html:"",range:{startContainer:[],startOffset:0,endContainer:[],endOffset:0}};e.html=this.__getCleanedEditorValue(this.j.editor);const t=this.j.s.sel;if(t&&t.rangeCount){const r=t.getRangeAt(0),i=this.calcHierarchyLadder(r.startContainer),o=this.calcHierarchyLadder(r.endContainer);let n=s.strokeOffset(r.startContainer,r.startOffset),a=s.strokeOffset(r.endContainer,r.endOffset);i.length||r.startContainer===this.j.editor||(n=0),o.length||r.endContainer===this.j.editor||(a=0),e.range={startContainer:i,startOffset:n,endContainer:o,endOffset:a}}return e}restore(e){this.transaction(()=>{const 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){const{j:t}=this,{ow:r}=t;r.scrollTo(r.scrollX,e[0]),t.editor.scrollTop=e[1]}restoreOnlySelection(e){try{if(e.range){const t=this.j.ed.createRange();t.setStart(this.getElementByLadder(e.range.startContainer),e.range.startOffset),t.setEnd(this.getElementByLadder(e.range.endContainer),e.range.endOffset),this.j.s.selectRange(t)}}catch(e){this.j.editor.lastChild&&this.j.s.setCursorAfter(this.j.editor.lastChild)}}destruct(){this.__block(!1),super.destruct()}static isIgnoredNode(e){return n.J.isText(e)&&!e.nodeValue||n.J.isTemporary(e)}__getCleanedEditorValue(e){const t=e.cloneNode(!0);return n.J.temporaryList(t).forEach(n.J.unwrap),t.innerHTML}constructor(){super(...arguments),this.__isBlocked=!1,this.__levelOfTransaction=0}}},52742(e,t,r){function i(e){return null!=e&&e===e.window}r.d(t,{l(){return i}})},52951(e,t,r){var i=r(82758),o=r(65478),n=r(2748),s=r(580),a=r(21537),l=r(50911),c=(r(36204),r(70022)),d=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};class u extends l.k{onInsertHTML(e){var t;if(!this.j.o.readonly&&!this.j.isEditorMode())return null===(t=this.sourceEditor)||void 0===t||t.insertRaw(e),this.toWYSIWYG(),!1}fromWYSIWYG(e=!1){if(!this.__lock||!0===e){this.__lock=!0;const e=this.j.getEditorValue(!1,i.SOURCE_CONSUMER);e!==this.getMirrorValue()&&this.setMirrorValue(e),this.__lock=!1}}toWYSIWYG(){if(this.__lock)return;const e=this.getMirrorValue();e!==this.__oldMirrorValue&&(this.__lock=!0,this.j.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 r=0;e.length>r;r+=1)t+=i.INVISIBLE_SPACE;return t});e>0&&t[e]===i.INVISIBLE_SPACE;)e--;let r=e;for(;r>0;){if(r--,"<"===t[r]&&void 0!==t[r+1]&&t[r+1].match(/[\w/]+/i))return r;if(">"===t[r])return e}return e}clnInv(e){return e.replace(i.INVISIBLE_SPACE_REG_EXP(),"")}onSelectAll(e){var t;if("selectall"===e.toLowerCase()&&this.j.getRealMode()===i.MODE_SOURCE)return null===(t=this.sourceEditor)||void 0===t||t.selectAll(),!1}getMirrorValue(){var e;return(null===(e=this.sourceEditor)||void 0===e?void 0:e.getValue())||""}setMirrorValue(e){var t;null===(t=this.sourceEditor)||void 0===t||t.setValue(e)}setFocusToMirror(){var e;null===(e=this.sourceEditor)||void 0===e||e.focus()}saveSelection(){if(this.j.getRealMode()===i.MODE_WYSIWYG)this.j.s.save(),this.j.synchronizeValues(),this.fromWYSIWYG(!0);else{if(this.j.o.editHTMLDocumentMode)return;const e=this.getMirrorValue();if(this.getSelectionStart()===this.getSelectionEnd()){const t=this.j.s.marker(!0),r=this.getNormalPosition(this.getSelectionStart(),this.getMirrorValue());this.setMirrorValue(e.substring(0,r)+this.clnInv(t.outerHTML)+e.substring(r))}else{const t=this.j.s.marker(!0),r=this.j.s.marker(!1),i=this.getNormalPosition(this.getSelectionStart(),e),o=this.getNormalPosition(this.getSelectionEnd(),e);this.setMirrorValue(e.slice(0,i)+this.clnInv(t.outerHTML)+e.slice(i,o)+this.clnInv(r.outerHTML)+e.slice(o))}this.toWYSIWYG()}}removeSelection(){if(this.j.getRealMode()===i.MODE_WYSIWYG)return this.__lock=!0,this.j.s.restore(),void(this.__lock=!1);let e=this.getMirrorValue(),t=0,r=0;try{if(e=e.replace(/<span[^>]+data-jodit-selection_marker=(["'])start\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerStart).replace(/<span[^>]+data-jodit-selection_marker=(["'])end\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerEnd),!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){const t=this.j.e.fire("beautifyHTML",e);(0,a.isString)(t)&&(e=t)}if(t=e.indexOf(this.tempMarkerStart),r=t,e=e.replace(this.tempMarkerStartReg,""),-1!==t){const t=e.indexOf(this.tempMarkerEnd);-1!==t&&(r=t)}e=e.replace(this.tempMarkerEndReg,"")}finally{e=e.replace(this.tempMarkerEndReg,"").replace(this.tempMarkerStartReg,"")}this.setMirrorValue(e),this.setMirrorSelectionRange(t,r),this.toWYSIWYG(),this.setFocusToMirror()}setMirrorSelectionRange(e,t){var r;null===(r=this.sourceEditor)||void 0===r||r.setSelectionRange(e,t)}onReadonlyReact(){var e;null===(e=this.sourceEditor)||void 0===e||e.setReadOnly(this.j.o.readonly)}afterInit(e){if(this.mirrorContainer=e.c.div("jodit-source"),e.workplace.appendChild(this.mirrorContainer),e.e.on("afterAddPlace changePlace afterInit",()=>{e.workplace.appendChild(this.mirrorContainer)}),this.sourceEditor=(0,c.b)("area",e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG),e.e.on(e.ow,"keydown",e=>{var t;e.key===i.KEY_ESC&&(null===(t=this.sourceEditor)||void 0===t?void 0:t.isFocused)&&this.sourceEditor.blur()}),this.onReadonlyReact(),e.e.on("placeholder.source",e=>{var t;null===(t=this.sourceEditor)||void 0===t||t.setPlaceHolder(e)}).on("change.source",this.syncValueFromWYSIWYG).on("beautifyHTML",e=>e),e.o.beautifyHTML){const t=()=>{var t;if(e.isInDestruct)return!1;const r=e.ow.html_beautify;return!(!r||e.isInDestruct||(null===(t=e.events)||void 0===t||t.off("beautifyHTML").on("beautifyHTML",e=>r(e)),0))};t()||(0,a.loadNext)(e,e.o.beautifyHTMLCDNUrlsJS).then(t,()=>null)}this.syncValueFromWYSIWYG(!0),this.initSourceEditor(e)}syncValueFromWYSIWYG(e=!1){const t=this.j;t.getMode()!==i.MODE_SPLIT&&t.getMode()!==i.MODE_SOURCE||this.fromWYSIWYG(e)}initSourceEditor(e){var t;if("area"!==e.o.sourceEditor){const t=(0,c.b)(e.o.sourceEditor,e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG);t.onReadyAlways(()=>{var r,i;null===(r=this.sourceEditor)||void 0===r||r.destruct(),this.sourceEditor=t,this.syncValueFromWYSIWYG(!0),null===(i=e.events)||void 0===i||i.fire("sourceEditorReady",e)})}else null===(t=this.sourceEditor)||void 0===t||t.onReadyAlways(()=>{var t;this.syncValueFromWYSIWYG(!0),null===(t=e.events)||void 0===t||t.fire("sourceEditorReady",e)})}beforeDestruct(){this.sourceEditor&&(this.sourceEditor.destruct(),delete this.sourceEditor),n.J.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?void 0:e.getSelectionStart())&&void 0!==t?t:0},this.getSelectionEnd=()=>{var e,t;return null!==(t=null===(e=this.sourceEditor)||void 0===e?void 0:e.getSelectionEnd())&&void 0!==t?t:0}}}d([(0,o.watch)(":insertHTML.source")],u.prototype,"onInsertHTML",null),d([o.autobind],u.prototype,"fromWYSIWYG",null),d([o.autobind],u.prototype,"toWYSIWYG",null),d([o.autobind],u.prototype,"getNormalPosition",null),d([(0,o.watch)(":beforeCommand.source")],u.prototype,"onSelectAll",null),d([(0,o.watch)(":beforeSetMode.source")],u.prototype,"saveSelection",null),d([(0,o.watch)(":afterSetMode.source")],u.prototype,"removeSelection",null),d([o.autobind],u.prototype,"setMirrorSelectionRange",null),d([(0,o.watch)(":readonly.source")],u.prototype,"onReadonlyReact",null),d([o.autobind],u.prototype,"syncValueFromWYSIWYG",null),s.fg.add("source",u)},52968(e,t,r){r.d(t,{S(){return o.S},p(){return i.p}});var i=r(60031),o=r(7483)},52995(e,t){t.A={"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(e,t,r){r.d(t,{w(){return a}});var i=r(82758),o=r(2748),n=r(4510),s=r(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{const r=i.globalDocument.createElement("div");r.innerHTML=e;const s=[];r.firstChild&&o.J.each(r,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.J.unwrap(e);break;default:(0,n.$)(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.J.safeRemove.apply(null,s),t=r.innerHTML}catch(e){}return t&&(e=t),(e=e.split(/(\n)/).filter(s.Bq).join("\n")).replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,"")}},53213(e,t,r){r.d(t,{y(){return n}});var i=r(78213),o=r(39955);function n(e,t){e.hookStatus(i.f.ready,e=>{const r=(0,o.h)(e)?e:e.jodit,i=`${r.options.namespace}${e.componentName}_prop_${t}`,n=e[t];Object.defineProperty(e,t,{get(){var e;return null!==(e=r.storage.get(i))&&void 0!==e?e:n},set(e){r.storage.set(i,e)}})})}},53253(e,t,r){r.d(t,{K(){return a}});var i=r(31635),o=r(65478),n=r(27613),s=r(48538);let a=class e extends s.D{className(){return"AutocompleteItem"}constructor(e,t,r){super(e),this.item=t,this.onClick=r,this.value="";const{container:i}=this;if(this.value=t.value,(0,n.Tn)(t.itemRenderer)){const e=t.itemRenderer(t);(0,n.Kg)(e)?i.innerHTML=e:i.appendChild(e)}else i.innerText=t.title??t.value}onClickPrevent(e){e.preventDefault(),e.stopPropagation()}onClickHandler(){this.onClick(this.value)}};(0,i.Cg)([(0,o.watch)("container:mousedown container:touchstart")],a.prototype,"onClickPrevent",null),(0,i.Cg)([(0,o.watch)("container:click")],a.prototype,"onClickHandler",null),a=(0,i.Cg)([o.component],a)},53259(e,t){t.A='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M5.09668 6.99707H7.17358L4.17358 3.99707L1.17358 6.99707H3.09668V17.0031H1.15881L4.15881 20.0031L7.15881 17.0031H5.09668V6.99707Z"/> <path d="M22.8412 7H8.84119V5H22.8412V7Z"/> <path d="M22.8412 11H8.84119V9H22.8412V11Z"/> <path d="M8.84119 15H22.8412V13H8.84119V15Z"/> <path d="M22.8412 19H8.84119V17H22.8412V19Z"/> </svg> '},53326(e,t,r){r.d(t,{G(){return o}});var i=r(82758);function o(e){const t=i.globalDocument.createElement("div");return t.textContent=e,t.innerHTML}},53392(e,t,r){r.d(t,{r(){return o}});var i=r(2748);function o(e,t,r,o,n,s){return i.J.isText(t)&&!t.nodeValue?(t===s&&e.s.isCollapsed()&&e.s.setCursorAfter(t),i.J.safeRemove(t),!0):r}},53636(e,t,r){r.d(t,{v(){return s}});var i=r(70799),o=r(29960),n=r(50050);function s(e,t){const r=(0,o.C)(t.image,"src")||"",s=e.c.element("a"),a=()=>{s.host===location.host||e.confirm("You can only edit your own images. Download this image on the host?",r=>{r&&e.uploader&&e.uploader.uploadRemoteImage(""+s.href,r=>{e.alert("The image has been successfully uploaded to the host!",()=>{(0,i.K)(r.newfilename)&&(t.values.imageSrc=r.baseurl+r.newfilename)})},t=>{e.alert("There was an error loading %s",t.message)})})};s.href=r,e.filebrowser.dataProvider.getPathByUrl(""+s.href).then(i=>{n.B.call(e.filebrowser,s.href,i.name,i.path,i.source,()=>{const e=(new Date).getTime();t.values.imageSrc=r+(-1!==r.indexOf("?")?"":"?")+"&_tmp="+e},t=>{e.alert(t.message)})}).catch(t=>{e.alert(t.message,a)})}},53651(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M384 1662l17-85q6-2 81.5-21.5t111.5-37.5q28-35 41-101 1-7 62-289t114-543.5 52-296.5v-25q-24-13-54.5-18.5t-69.5-8-58-5.5l19-103q33 2 120 6.5t149.5 7 120.5 2.5q48 0 98.5-2.5t121-7 98.5-6.5q-5 39-19 89-30 10-101.5 28.5t-108.5 33.5q-8 19-14 42.5t-9 40-7.5 45.5-6.5 42q-27 148-87.5 419.5t-77.5 355.5q-2 9-13 58t-20 90-16 83.5-6 57.5l1 18q17 4 185 31-3 44-16 99-11 0-32.5 1.5t-32.5 1.5q-29 0-87-10t-86-10q-138-2-206-2-51 0-143 9t-121 11z"/> </svg> '},53696(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68z"/> </svg> '},54041(e,t,r){r.d(t,{D(){return n}});var i=r(82758),o=r(2748);function n(e,t,r=i.IS_BLOCK){let s=e;const a=t.editor;do{if(!s||s===a)break;if(r.test(s.nodeName))return o.J.isLeaf(s)?s:n(s.parentNode,t,/^li$/i)||s;s=s.parentNode}while(s&&s!==a);return null}},54076(e,t,r){function i(e,t){const[r,i]=t.split("::");e.execCommand(r,null,i)}r.d(t,{F(){return i}})},54079(e,t,r){r.d(t,{d(){return d}});var i=r(8884),o=r(82758),n=r(40401),s=r(21537),a=r(89890),l=r(6441),c=(r(57459),r(98582));class d{className(){return"Ajax"}__buildParams(e,t){return(0,s.isPlainObject)(e)&&this.options.contentType&&this.options.contentType.includes("application/json")?JSON.stringify(e):(0,s.isFunction)(this.o.queryBuild)?this.o.queryBuild.call(this,e,t):(0,s.isString)(e)||e instanceof o.globalWindow.FormData||"object"==typeof e&&null!=e&&(0,s.isFunction)(e.append)?e:(0,s.buildQuery)(e)}get o(){return this.options}abort(){if(this.__isFulfilled)return this;try{this.__isFulfilled=!0,this.xhr.abort()}catch(e){}return this}send(){this.__activated=!0;const{xhr:e,o:t}=this,r=this.prepareRequest();return this.__async.promise(async(i,o)=>{var n;const l=()=>{this.__isFulfilled=!0,o(a.FI("Connection error"))},d=()=>{this.__isFulfilled=!0,i(new c.Y(r,e.status,e.statusText,e.responseType?e.response:e.responseText))};e.onload=d,e.onabort=()=>{this.__isFulfilled=!0,o(a.h2("Abort connection"))},e.onerror=l,e.ontimeout=l,t.responseType&&(e.responseType=t.responseType),e.onprogress=e=>{var t,r;let i=0;e.lengthComputable&&(i=e.loaded/e.total*100),null===(r=(t=this.options).onProgress)||void 0===r||r.call(t,i)},e.onreadystatechange=()=>{var r,i;null===(i=(r=this.options).onProgress)||void 0===i||i.call(r,10),e.readyState===XMLHttpRequest.DONE&&(t.successStatuses.includes(e.status)?d():e.statusText&&(this.__isFulfilled=!0,o(a.FI(e.statusText))))},e.withCredentials=null!==(n=t.withCredentials)&&void 0!==n&&n;const{url:u,data:h,method:p}=r;e.open(p,u,!0),t.contentType&&e.setRequestHeader&&e.setRequestHeader("Content-type",t.contentType);let{headers:f}=t;(0,s.isFunction)(f)&&(f=await f.call(this)),f&&e.setRequestHeader&&Object.keys(f).forEach(t=>{e.setRequestHeader(t,f[t])}),this.__async.setTimeout(()=>{e.send(h?this.__buildParams(h):void 0)},0)})}prepareRequest(){if(!this.o.url)throw a.z3("Need URL for AJAX request");let e=this.o.url;const t=this.o.data,r=(this.o.method||"get").toLowerCase();if("get"===r&&t&&(0,s.isPlainObject)(t)){const r=e.indexOf("?");if(-1!==r){const i=(0,s.parseQuery)(e);e=e.substring(0,r)+"?"+(0,s.buildQuery)({...i,...t})}else e+="?"+(0,s.buildQuery)(this.o.data)}const i={url:e,method:r,data:t};return d.log.splice(100),d.log.push(i),i}destruct(){this.__isDestructed||(this.__isDestructed=!0,this.__activated&&!this.__isFulfilled&&(this.abort(),this.__isFulfilled=!0),this.__async.destruct())}constructor(e,t=l.T.prototype.defaultAjaxOptions){this.__async=new i.j,this.__isFulfilled=!1,this.__activated=!1,this.__isDestructed=!1,this.options=(0,s.ConfigProto)(e||{},t),this.xhr=this.o.xhr?this.o.xhr():new XMLHttpRequest}}d.log=[],function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);n>3&&s&&Object.defineProperty(t,r,s)}([n.Ay],d.prototype,"destruct",null)},54389(e,t,r){var i=r(22732),o=r(12153),n=r(6441),s=r(78614),a=r(86835),l=r(302);o.I.set("indent",s.A).set("outdent",a.A),n.T.prototype.controls.indent={tooltip:"Increase Indent"},n.T.prototype.controls.outdent={isDisabled(e){const t=e.s.current();if(t){const r=i.J.closest(t,i.J.isBlock,e.editor);if(r){const t=(0,l.i)(e.o.direction,r);return!r.style[t]||0>=parseInt(r.style[t],10)}}return!0},tooltip:"Decrease Indent"},n.T.prototype.indentMargin=10},54600(e,t,r){r.d(t,{H(){return s}});var i=r(2748),o=r(26395),n=r(44245);function s(e,t,r){const s=t.s,{enter:a}=t.o,l=a.toLowerCase(),c=i.J.isLeaf(r),d=r.tagName.toLowerCase()===l||c,u=s.cursorOnTheRight(r,e),h=s.cursorOnTheLeft(r,e);if(!d&&(u||h))return u?i.J.after(r,e):i.J.before(r,e),(0,n.y)(e,t,l),void(h&&!u&&i.J.prepend(r,e));const p=s.splitSelection(r,e);(0,o.$)(p,t.editor,t.ed)}},54765(e,t,r){r.d(t,{k(){return o}});var i=r(82758);function o(){let e=!0;try{const t=i.globalDocument.createElement("input");t.type="color",t.value="!",e="color"===t.type&&"!"!==t.value}catch(t){e=!1}return e}},55099(e,t,r){var i=r(82758),o=r(12153),n=r(6441),s=r(21597);n.T.prototype.useSearch=!0,n.T.prototype.search={lazyIdleTimeout:0,useCustomHighlightAPI:i.globalWindow&&void 0!==i.globalWindow.Highlight},o.I.set("search",s.A),n.T.prototype.controls.find={tooltip:"Find",icon:"search",exec(e,t,{control:r}){switch(r.args&&r.args[0]){case"findPrevious":e.e.fire("searchPrevious");break;case"findNext":e.e.fire("searchNext");break;case"replace":e.execCommand("openReplaceDialog");break;default:e.execCommand("openSearchDialog")}},list:{search:"Find",findNext:"Find Next",findPrevious:"Find Previous",replace:"Replace"},childTemplate(e,t,r){return r}}},55153(e,t,r){r.d(t,{C(){return o}});var i=r(23282);function o(...e){return t=>{const r=t.prototype;for(let t=0;e.length>t;t++){const o=e[t],n=Object.getOwnPropertyNames(o.prototype);for(let e=0;n.length>e;e++){const t=n[e],s=Object.getOwnPropertyDescriptor(o.prototype,t);null!=s&&(0,i.T)(s.value)&&!(0,i.T)(r[t])&&Object.defineProperty(r,t,{enumerable:!0,configurable:!0,writable:!0,value(...e){return s.value.call(this,...e)}})}}}}},55307(e,t,r){r.d(t,{g(){return c},x(){return l}});var i=r(82758),o=r(2748),n=r(38837),s=r(59242),a=r(63687);const l={START:"START",ELEMENT:"ELEMENT",UNWRAP:"UNWRAP",UNWRAP_CHILDREN:"UNWRAP_CHILDREN",CHANGE:"CHANGE",REPLACE_DEFAULT:"REPLACE_DEFAULT",LIST:"LIST",TOGGLE_LIST:"TOGGLE_LIST",WRAP:"WRAP",EXTRACT:"EXTRACT",END:"END"},c={[l.START]:{exec(e){const{element:t,jodit:r,style:i,mode:n,collapsed:c}=e;if((0,a.iu)(t,r.editor)||!c&&o.J.isEmptyContent(t))return{...e,next:l.END};const d=(0,a.AS)(i,t,r.editor)||(0,a.G6)(i,t);if(d)return{...e,next:l.ELEMENT,element:d};const u=(0,a.$s)(i,t,r.editor);return i.elementIsList&&o.J.isList(u)?{...e,next:l.LIST}:u?{...e,next:l.EXTRACT}:{...e,next:n!==s.OJ?l.UNWRAP_CHILDREN:l.END}}},[l.LIST]:{exec(e){const{element:t,jodit:r,mode:n}=e;if(n!==s.DI&&n!==s.OJ&&n!==s.dj)return{...e,next:l.END};const a=o.J.closest(t,"li",r.editor);return a&&o.J.closest(t,i.LIST_TAGS,r.editor)?{...e,element:a,next:l.TOGGLE_LIST}:{...e,next:l.END}}},[l.TOGGLE_LIST]:{exec:e=>({...e,mode:(0,a.ks)(e.style,e.element,e.jodit,e.mode),next:l.END})},[l.EXTRACT]:{exec(e){var t;const{element:r,jodit:i,style:s}=e,c=(0,a.$s)(s,r,i.editor);return(0,n.v)(c,"This place should have an element"),!s.elementIsBlock&&(null===(t=s.options.attributes)||void 0===t?void 0:t.style)&&o.J.isBlock(c)?{...e,next:l.WRAP}:(s.elementIsBlock||(0,a.yP)(c,r,i),{...e,element:c,next:l.ELEMENT})}},[l.UNWRAP_CHILDREN]:{exec(e){const{element:t,style:r}=e;return(0,a.tm)(r,t)?{...e,mode:s.OJ,next:l.END}:{...e,next:l.WRAP}}},[l.WRAP]:{exec(e){const{element:t,jodit:r,style:i}=e,o=(0,a.LV)(i,t,r);return{...e,next:i.elementIsList?l.END:l.CHANGE,mode:s.Zk,element:o}}},[l.ELEMENT]:{exec(e){const{style:t,element:r,jodit:i}=e;return(0,a.Yx)(t,r,i,s.DI,!0)!==s.DI?{...e,next:l.CHANGE}:o.J.isTag(r,t.element)?{...e,next:l.UNWRAP}:{...e,next:l.END}}},[l.CHANGE]:{exec(e){const{style:t,element:r,jodit:i,mode:n}=e,c=(0,a.Yx)(t,r,i,e.mode);return n!==s.Zk&&c===s.Ag&&!r.attributes.length&&o.J.isTag(r,t.element)?{...e,next:l.UNWRAP}:{...e,mode:c,next:l.END}}},[l.UNWRAP]:{exec:e=>e.element.attributes.length&&o.J.isTag(e.element,e.style.element)?{...e,next:l.REPLACE_DEFAULT}:(o.J.unwrap(e.element),{...e,mode:s.OJ,next:l.END})},[l.REPLACE_DEFAULT]:{exec:e=>(o.J.replace(e.element,e.style.defaultTag,e.jodit.createInside,!0),{...e,mode:s.dj,next:l.END})},[l.END]:{exec:e=>e}}},55311(e,t,r){r(6441).T.prototype.tableAllowCellSelection=!0},55611(e,t,r){r.d(t,{IJ(){return i.IJ},QN(){return o.Q},Tz(){return i.Tz},_B(){return i._B},zy(){return i.zy}});var i=r(12270),o=r(93119)},55877(e,t,r){r.d(t,{m(){return s}});var i=r(82758),o=r(26049),n=r(82501);const s=(e,{width:t=400,height:r=345}={})=>{if(!(0,o.m)(e))return e;const s=i.globalDocument.createElement("a"),a=/(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(.+)/g;s.href=e,t||(t=400),r||(r=345);const l=s.protocol||"";switch(s.hostname){case"www.vimeo.com":case"vimeo.com":return a.test(e)?e.replace(a,'<iframe width="'+t+'" height="'+r+'" src="'+l+'//player.vimeo.com/video/$1" frameborder="0" allowfullscreen></iframe>'):e;case"youtube.com":case"www.youtube.com":case"youtu.be":case"www.youtu.be":{const i=s.search?(0,n.m)(s.search):{v:s.pathname.substring(1)};return/^embed\/.*/.test(i.v)&&(i.v=i.v.substring(6)),i.v?'<iframe width="'+t+'" height="'+r+'" src="'+l+"//www.youtube.com/embed/"+i.v+'" frameborder="0" allowfullscreen></iframe>':e}}return e}},56113(e,t,r){var i=r(82758),o=r(65478),n=r(2748),s=r(580),a=r(21537),l=r(41409),c=(r(37467),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});const d="table_processor_observer-resize";class u extends l.Plugin{get module(){return this.j.getInstance("Table",this.j.o)}get isRTL(){return"rtl"===this.j.o.direction}showResizeHandle(){this.j.async.clearTimeout(this.hideTimeout),this.j.workplace.appendChild(this.resizeHandler)}hideResizeHandle(){this.hideTimeout=this.j.async.setTimeout(()=>{n.J.safeRemove(this.resizeHandler)},{timeout:this.j.defaultTimeout,label:"hideResizer"})}onHandleMouseDown(e){if(this.j.isLocked)return;this.drag=!0,this.j.e.on(this.j.ow,"mouseup.resize-cells touchend.resize-cells",this.onMouseUp).on(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.startX=e.clientX,this.j.lock(d),this.resizeHandler.classList.add("jodit-table-resizer_moved");let t,r=this.workTable.getBoundingClientRect();if(this.minX=0,this.maxX=1e6,null!=this.wholeTable)r=this.workTable.parentNode.getBoundingClientRect(),this.minX=r.left,this.maxX=this.minX+r.width;else{const e=this.module.formalCoordinate(this.workTable,this.workCell,!0);this.module.formalMatrix(this.workTable,(r,o,n)=>{e[1]===n&&(t=r.getBoundingClientRect(),this.minX=Math.max(t.left+i.NEARBY/2,this.minX)),e[1]+(this.isRTL?-1:1)===n&&(t=r.getBoundingClientRect(),this.maxX=Math.min(t.left+t.width-i.NEARBY/2,this.maxX))})}return!1}onMouseMove(e){if(!this.drag)return;this.j.e.fire("closeAllPopups");let t=e.clientX;const r=(0,a.offset)(this.resizeHandler.parentNode||this.j.od.documentElement,this.j,this.j.od,!0);this.minX>t&&(t=this.minX),t>this.maxX&&(t=this.maxX),this.resizeDelta=t-this.startX+(this.j.o.iframe?r.left:0),this.resizeHandler.style.left=t-(this.j.o.iframe?0:r.left)+"px";const i=this.j.s.sel;i&&i.removeAllRanges()}onMouseUp(e){(this.selectMode||this.drag)&&(this.selectMode=!1,this.j.unlock()),this.resizeHandler&&this.drag&&(this.drag=!1,this.j.e.off(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.resizeHandler.classList.remove("jodit-table-resizer_moved"),this.startX!==e.clientX&&(null==this.wholeTable?this.resizeColumns():this.resizeTable()),this.j.synchronizeValues(),this.j.s.focus())}resizeColumns(){const e=this.resizeDelta,t=[],r=this.module;r.setColumnWidthByDelta(this.workTable,r.formalCoordinate(this.workTable,this.workCell,!0)[1],e,!0,t);const i=(0,a.call)(this.isRTL?n.J.prev:n.J.next,this.workCell,n.J.isCell,this.workCell.parentNode);r.setColumnWidthByDelta(this.workTable,r.formalCoordinate(this.workTable,i)[1],-e,!1,t)}resizeTable(){const e=this.resizeDelta*(this.isRTL?-1:1),t=this.workTable.offsetWidth,r=(0,a.getContentWidth)(this.workTable.parentNode,this.j.ew),i=!this.wholeTable;if(this.isRTL?!i:i)this.workTable.style.width=(t+e)/r*100+"%";else{const i=this.isRTL?"marginRight":"marginLeft",o=parseInt(this.j.ew.getComputedStyle(this.workTable)[i]||"0",10);this.workTable.style.width=(t-e)/r*100+"%",this.workTable.style[i]=(o+e)/r*100+"%"}}setWorkCell(e,t=null){this.wholeTable=t,this.workCell=e,this.workTable=n.J.up(e,e=>n.J.isTag(e,"table"),this.j.editor)}calcHandlePosition(e,t,r=0,o=0){const s=(0,a.offset)(t,this.j,this.j.ed);if(r>i.NEARBY&&s.width-i.NEARBY>r)return void this.hideResizeHandle();const l=(0,a.offset)(this.j.workplace,this.j,this.j.od,!0),c=(0,a.offset)(e,this.j,this.j.ed);if(this.resizeHandler.style.left=(r>i.NEARBY?s.left+s.width:s.left)-l.left+o+"px",Object.assign(this.resizeHandler.style,{height:c.height+"px",top:c.top-l.top+"px"}),this.showResizeHandle(),r>i.NEARBY){const e=(0,a.call)(this.isRTL?n.J.prev:n.J.next,t,n.J.isCell,t.parentNode);this.setWorkCell(t,!!e&&null)}else{const e=(0,a.call)(this.isRTL?n.J.next:n.J.prev,t,n.J.isCell,t.parentNode);this.setWorkCell(e||t,!e||null)}}afterInit(e){e.o.tableAllowCellResize&&e.e.off(this.j.ow,".resize-cells").off(".resize-cells").on("change.resize-cells afterCommand.resize-cells afterSetMode.resize-cells",()=>{(0,a.$$)("table",e.editor).forEach(this.observe)}).on(this.j.ow,"scroll.resize-cells",()=>{if(!this.drag)return;const t=n.J.up(this.workCell,e=>n.J.isTag(e,"table"),e.editor);if(t){const e=t.getBoundingClientRect();this.resizeHandler.style.top=e.top+"px"}}).on("beforeSetMode.resize-cells",()=>{const t=this.module;t.getAllSelectedCells().forEach(r=>{t.removeSelection(r),t.normalizeTable(n.J.closest(r,"table",e.editor))})})}observe(e){(0,a.dataBind)(e,d)||((0,a.dataBind)(e,d,!0),this.j.e.on(e,"mouseleave.resize-cells",e=>{this.resizeHandler&&this.resizeHandler!==e.relatedTarget&&this.hideResizeHandle()}).on(e,"mousemove.resize-cells touchmove.resize-cells",this.j.async.throttle(t=>{if(this.j.isLocked)return;const r=n.J.up(t.target,n.J.isCell,e);r&&this.calcHandlePosition(e,r,t.offsetX)},{timeout:this.j.defaultTimeout})),this.createResizeHandle())}beforeDestruct(e){e.events&&(e.e.off(this.j.ow,".resize-cells"),e.e.off(".resize-cells"))}constructor(){super(...arguments),this.selectMode=!1,this.resizeDelta=0,this.createResizeHandle=()=>{this.resizeHandler||(this.resizeHandler=this.j.c.div("jodit-table-resizer"),this.j.e.on(this.resizeHandler,"mousedown.table touchstart.table",this.onHandleMouseDown).on(this.resizeHandler,"mouseenter.table",()=>{this.j.async.clearTimeout(this.hideTimeout)}))},this.hideTimeout=0,this.drag=!1,this.minX=0,this.maxX=0,this.startX=0}}c([o.autobind],u.prototype,"onHandleMouseDown",null),c([o.autobind],u.prototype,"onMouseMove",null),c([o.autobind],u.prototype,"onMouseUp",null),c([o.autobind],u.prototype,"observe",null),s.fg.add("resizeCells",u)},56175(e,t,r){r.d(t,{Ej(){return s.E},G1(){return l.G},cY(){return a.c},mH(){return o.m},xM(){return n.x},y6(){return i.y}});var i=r(44506),o=r(16442),n=r(81630),s=r(21496),a=r(81284),l=r(5700)},56825(e,t,r){r.d(t,{f(){return s}});var i=r(82758),o=r(2748),n=r(58940);function s(e,t,r){const s=o.J.findSibling(t,r);return!(!o.J.isElement(s)||!o.J.isTag(s,i.INSEPARABLE_TAGS)&&!o.J.isEmpty(s)||(o.J.safeRemove(s),o.J.isTag(s,"br")&&!o.J.findNotEmptySibling(t,!1)&&o.J.after(t,e.createInside.element("br")),e.s.setCursorBefore(t),o.J.isTag(s,"br")&&(0,n.C)(e,t,r),0))}},56869(e,t,r){r.d(t,{d(){return s}});var i=r(49055),o=r(85568),n=r(31117);function s(e,t,r,s){const a={jodit:e,rtf:s};return t.forEach(function e(t){if(t){for(const e of o.C)if(null==(t=e(t,a)))break;t?.forEach(e)}}),r&&t.forEach(e=>{e.style.clear()},!0),(0,i.Bq)((0,n.OH)(t,e=>!e.isComment,!0,e.o.pasteFromWord.allowedStyleProps))}},56917(e,t,r){r.d(t,{z(){return p}});var i=r(4012),o=r(65478),n=r(2748),s=r(580),a=r(21537),l=r(38837),c=r(48538),d=r(62405),u=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};const h=["escape","cut","delete","backSpaceAfterDelete","beforeCommandDelete"];class p extends d.U{className(){return"Popup"}appendChildToContainer(e){const t=this.getElm("content");(0,l.v)(t,"Content element should exist"),t.appendChild(e)}updateParentElement(e){return e!==this&&i.u.isInstanceOf(e,p)&&(this.__childrenPopups.forEach(t=>{!e.closest(t)&&t.isOpened&&t.close()}),this.__childrenPopups.has(e)||this.j.e.on(e,"beforeClose",()=>{this.__childrenPopups.delete(e)}),this.__childrenPopups.add(e)),super.updateParentElement(e)}setContent(e){if(this.allChildren.length)throw Error("Remove children");if(i.u.isInstanceOf(e,c.D))this.append(e);else{const t=(0,a.isString)(e)?this.j.c.fromHTML(e):e;this.appendChildToContainer(t)}return this.updatePosition(),this}open(e,t=!1,r){if((0,a.markOwner)(this.jodit,this.container),this.container.classList.add("jodit_theme_"+this.jodit.o.theme),this.__calculateZIndex(),this.isOpened=!0,this.__addGlobalListeners(),this.__targetBound=t?this.getKeepBound(e):e,r)r.appendChild(this.container);else{const e=(0,s.My)(this.jodit,p);r!==this.container.parentElement&&e.appendChild(this.container)}return this.updatePosition(),this.j.e.fire(this,"afterOpen"),this.j.e.fire("afterOpenPopup",this),this}__calculateZIndex(){if(this.container.style.zIndex)return;const e=e=>{const t=e.container.style.zIndex||e.o.zIndex;return!!t&&(this.setZIndex(1+parseInt(""+t,10)),!0)},{j:t}=this;if(e(t))return;let r=this.parentElement;for(;r;){if(e(r.j))return;if(r.container.style.zIndex)return void this.setZIndex(1+parseInt(""+r.container.style.zIndex,10));if(!r.parentElement&&r.container.parentElement){const e=c.D.closestElement(r.container.parentElement,c.D);if(e){r=e;continue}}r=r.parentElement}}getKeepBound(e){const t=e(),r=this.od.elementFromPoint(t.left,t.top);if(!r)return e;const i=n.J.isHTMLElement(r)?r:r.parentElement,o=(0,a.position)(i,this.j);return()=>{const t=e(),r=(0,a.position)(i,this.j);return{...t,top:t.top+(r.top-o.top),left:t.left+(r.left-o.left)}}}updatePosition(){if(!this.isOpened)return this;const[e,t]=this.__calculatePosition(this.__targetBound(),this.viewBound(),(0,a.position)(this.container,this.j));return this.setMod("strategy",t),(0,a.css)(this.container,{left:e.left,top:e.top}),this.__childrenPopups.forEach(e=>e.updatePosition()),this}__throttleUpdatePosition(){this.updatePosition()}__calculatePosition(e,t,r,i=this.strategy){const o={left:e.left,right:e.left-(r.width-e.width)},n={bottom:e.top+e.height,top:e.top-r.height},s=Object.keys(o).reduce((e,t)=>e.concat(Object.keys(n).map(e=>`${t}${(0,a.ucfirst)(e)}`)),[]),l=e=>{const[t,i]=(0,a.kebabCase)(e).split("-");return{left:o[t],top:n[i],width:r.width,height:r.height}},c=e=>{let t=null;return t=p.boxInView(l(i),e)?i:s.find(t=>{if(p.boxInView(l(t),e))return t})||null,t};let d=c((0,a.position)(this.j.container,this.j));return d&&p.boxInView(l(d),t)||(d=c(t)||d||i),[l(d),d]}static boxInView(e,t){return!(-2>e.top-t.top||-2>e.left-t.left||-2>t.top+t.height-(e.top+e.height)||-2>t.left+t.width-(e.left+e.width))}close(){return this.isOpened?(this.isOpened=!1,this.__childrenPopups.forEach(e=>e.close()),this.j.e.fire(this,"beforeClose"),this.j.e.fire("beforePopupClose",this),this.__removeGlobalListeners(),n.J.safeRemove(this.container),this):this}__closeOnOutsideClick(e){this.isOpened&&!this.isOwnClick(e)&&this.close()}isOwnClick(e){if(!e.target)return!1;const t=c.D.closestElement(e.target,p);return!(!t||this!==t&&!t.closest(this))}__addGlobalListeners(){const e=this.__throttleUpdatePosition,t=this.ow;s.RR.on("closeAllPopups",this.close),this.smart&&this.j.e.on(h,this.close).on("mousedown touchstart",this.__closeOnOutsideClick).on(t,"mousedown touchstart",this.__closeOnOutsideClick),this.j.e.on("closeAllPopups",this.close).on("resize",e).on(this.container,"scroll mousewheel",e).on(t,"scroll",e).on(t,"resize",e),n.J.up(this.j.container,t=>{t&&this.j.e.on(t,"scroll mousewheel",e)})}__removeGlobalListeners(){const e=this.__throttleUpdatePosition,t=this.ow;s.RR.off("closeAllPopups",this.close),this.smart&&this.j.e.off(h,this.close).off("mousedown touchstart",this.__closeOnOutsideClick).off(t,"mousedown touchstart",this.__closeOnOutsideClick),this.j.e.off("closeAllPopups",this.close).off("resize",e).off(this.container,"scroll mousewheel",e).off(t,"scroll",e).off(t,"resize",e),this.j.container.isConnected&&n.J.up(this.j.container,t=>{t&&this.j.e.off(t,"scroll mousewheel",e)})}setZIndex(e){this.container.style.zIndex=""+e}render(){return'<div>\n\t\t\t<div class="&__content"></div>\n\t\t</div>'}destruct(){return this.close(),super.destruct()}constructor(e,t=!0){super(e),this.smart=t,this.isOpened=!1,this.strategy="leftBottom",this.viewBound=()=>({left:0,top:0,width:this.ow.innerWidth,height:this.ow.innerHeight}),this.__childrenPopups=new Set,(0,a.attr)(this.container,"role","popup")}}u([o.autobind],p.prototype,"updatePosition",null),u([(0,o.throttle)(10),o.autobind],p.prototype,"__throttleUpdatePosition",null),u([o.autobind],p.prototype,"close",null),u([o.autobind],p.prototype,"__closeOnOutsideClick",null)},56967(e,t,r){r.d(t,{R(){return c},n(){return l}});var i=r(82758),o=r(70799),n=r(36409),s=r(43555),a=r(6441);const l=(e,t)=>{if(!t||!t.length)return e;const r=/%([sd])/g;let i=r.exec(e),o=e,n=0;for(;i&&void 0!==t[n];)o=o.replace(i[0],""+t[n]),n+=1,i=r.exec(e);return o};function c(e,t,r){if(!(0,o.K)(e))throw(0,s.z3)("i18n: Need string in first argument");if(!e.length)return e;const c=!!(null==r?void 0:r.debugLanguage);let d={};const u=e=>t&&t.length?l(e,t):e,h=(0,s.eG)(a.T.defaultOptions.language,a.T.defaultOptions.language),p=(0,s.eG)(null==r?void 0:r.language,h),f=t=>{if(!t)return;if((0,o.K)(t[e]))return u(t[e]);const r=e.toLowerCase();if((0,o.K)(t[r]))return u(t[r]);const i=(0,n.Z)(e);return(0,o.K)(t[i])?u(t[i]):void 0};void 0!==i.lang[p]?d=i.lang[p]:c||(d=void 0!==i.lang[h]?i.lang[h]:i.lang.en);const m=null==r?void 0:r.i18n;if(m&&m[p]){const e=f(m[p]);if(e)return e}return f(d)||(!c&&i.lang.en&&(0,o.K)(i.lang.en[e])&&i.lang.en[e]?u(i.lang.en[e]):c?"{"+e+"}":u(e))}},57034(e,t,r){r.d(t,{B(){return i}});class i{get length(){return this.commands.length}clearRedo(){this.commands.length=this.stackPosition+1}clear(){this.commands.length=0,this.stackPosition=-1}push(e){this.clearRedo(),this.commands.push(e),this.stackPosition+=1,this.commands.length>this.size&&(this.commands.shift(),this.stackPosition-=1)}replace(e){this.commands[this.stackPosition]=e}current(){return this.commands[this.stackPosition]}undo(){return!!this.canUndo()&&(this.commands[this.stackPosition]&&this.commands[this.stackPosition].undo(),this.stackPosition-=1,!0)}redo(){return!!this.canRedo()&&(this.stackPosition+=1,this.commands[this.stackPosition]&&this.commands[this.stackPosition].redo(),!0)}canUndo(){return this.stackPosition>=0}canRedo(){return this.commands.length-1>this.stackPosition}constructor(e){this.size=e,this.commands=[],this.stackPosition=-1}}},57288(e,t,r){var i=r(6441);i.T.prototype.limitWords=!1,i.T.prototype.limitChars=!1,i.T.prototype.limitHTML=!1},57340(e,t,r){r.d(t,{S(){return f}});var i,o=r(91907),n=r(65478),s=r(22732),a=r(580),l=r(5700),c=r(43555),d=r(48538),u=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};const h=["scroll.tooltip","joditCloseDialog","mouseleave.tooltip"],p=["escape.tooltip","change.tooltip","changePlace.tooltip","afterOpenPopup.tooltip","hidePopup.tooltip","beforePopupClose.tooltip","closeAllPopups.tooltip"];let f=i=class e extends d.D{className(){return"UITooltip"}render(){return'<div><div class="&__content"></div></div>'}__onAttach(e){(0,a.My)(this.j,i).appendChild(this.container),this.__attachedContainers.add(e),this.__attachedContainers.add(this.j.container),this.j.e.on(e,"mouseenter.tooltip",this.__onMouseEnter,{capture:!0}).on(e,"mouseleave.tooltip",this.__onMouseLeave,{capture:!0}).on(this.j.container,"mouseleave.tooltip",this.__onMouseLeave,{capture:!0})}__addListenersOnEnter(){if(this.__listenClose)return;this.__listenClose=!0;const e=this.j;e.e.on(e.ow,h,this.__hide).on(p,this.__hide)}__removeListenersOnLeave(){if(!this.__listenClose)return;this.__listenClose=!1;const e=this.j;e.e.off(e.ow,h,this.__hide).off(p,this.__hide)}__onMouseLeave(e){this.__currentTarget===e.target&&(this.__hideDelay(),this.__currentTarget=null)}__onMouseEnter(e){if(!s.J.isHTMLElement(e.target))return;const t=(0,c.CF)(e.target,"aria-label");if(!t)return;if((0,c.CF)(e.target,"disabled"))return;if(!e.target.className.includes("jodit"))return;this.__currentTarget=e.target;const r=e.target;this.__open(()=>{const e=(0,l.G)(r);return{x:e.left+e.width/2,y:e.top+e.height}},t)}__open(e,t){this.__addListenersOnEnter(),this.__isOpened=!0,this.j.async.clearTimeout(this.__hideTimeout),this.j.async.clearTimeout(this.__delayShowTimeout);const r=this.j.o.showTooltipDelay||this.j.defaultTimeout;r?this.__delayShowTimeout=this.j.async.setTimeout(()=>this.__show(e,t),r):this.__show(e,t)}__show(e,t){this.setMod("visible",!0),this.getElm("content").innerHTML=t;const r=e();(0,c.AH)(this.container,{left:r.x,top:r.y})}__hide(){this.j.async.clearTimeout(this.__delayShowTimeout),this.j.async.clearTimeout(this.__hideTimeout),this.__removeListenersOnLeave(),this.__isOpened&&(this.__isOpened=!1,this.setMod("visible",!1),this.getElm("content").innerHTML="",(0,c.AH)(this.container,{left:-5e3}))}__hideDelay(){this.j.async.clearTimeout(this.__delayShowTimeout),this.j.async.clearTimeout(this.__hideTimeout),this.__isOpened&&(this.__hideTimeout=this.async.setTimeout(this.__hide,this.j.defaultTimeout))}destruct(){this.__attachedContainers.forEach(e=>{this.j.e.off(e,"mouseenter.tooltip",this.__onMouseEnter).off(e,"mouseleave.tooltip",this.__onMouseLeave)}),this.__hide(),super.destruct()}constructor(e){super(e),this.__isOpened=!1,this.__attachedContainers=new Set,this.__listenClose=!1,this.__currentTarget=null,this.__delayShowTimeout=0,this.__hideTimeout=0,e.o.textIcons||!e.o.showTooltip||e.o.useNativeTooltip||(this.j.e.on("getContainer",e=>{this.__onAttach(e)}),e.hookStatus(o.f.ready,()=>{this.__onAttach(this.j.container)}))}};u([n.autobind],f.prototype,"__onMouseLeave",null),u([n.autobind],f.prototype,"__onMouseEnter",null),u([n.autobind],f.prototype,"__hide",null),u([n.autobind],f.prototype,"__hideDelay",null),f=i=u([n.component],f)},57380(e,t,r){r.d(t,{d(){return l}});var i=r(91907),o=r(82758),n=r(21537),s=r(6441),a=r(94122);r(80536);class l extends i.vG{get j(){return this.jodit}className(){return"Uploader"}get o(){return this.options}setPath(e){return this.path=e,this}setSource(e){return this.source=e,this}bind(e,t,r){const i=()=>{e.classList.remove("jodit_drag_hover")},n=this,s=e=>{let s,l,c;const d=e.clipboardData,u=e=>{l&&(e.append("extension",c),e.append("mimetype",l.type))};if(!o.IS_IE&&(0,a.YQ)(d))return(0,a._9)(n,d.files,t,r).finally(i),!1;if(o.IS_IE&&!o.IS_ES_NEXT)return(0,a.dT)(n,d,t,r,i);if((0,a.Pb)(d)){const{items:o}=d;for(s=0;o.length>s;s+=1)if("file"===o[s].kind&&"image/png"===o[s].type){if(l=o[s].getAsFile(),l){const e=l.type.match(/\/([a-z0-9]+)/i);c=e[1]?e[1].toLowerCase():"",(0,a._9)(n,[l],t,r,u).finally(i)}e.preventDefault();break}}};n.j&&n.j.editor!==e?n.j.e.on(e,"paste",s):n.j.e.on("beforePaste",s),this.attachEvents(e,t,r,i)}attachEvents(e,t,r,i){const o=this;o.j.e.on(e,"dragend dragover dragenter dragleave drop",e=>{e.preventDefault()}).on(e,"dragover",t=>{((0,a.YQ)(t.dataTransfer)||(0,a.Pb)(t.dataTransfer))&&(e.classList.add("jodit_drag_hover"),t.preventDefault())}).on(e,"dragend dragleave",t=>{e.classList.remove("jodit_drag_hover"),(0,a.YQ)(t.dataTransfer)&&t.preventDefault()}).on(e,"drop",n=>{e.classList.remove("jodit_drag_hover"),(0,a.YQ)(n.dataTransfer)&&(n.preventDefault(),n.stopImmediatePropagation(),(0,a._9)(o,n.dataTransfer.files,t,r).finally(i))});const n=e.querySelector("input[type=file]");n&&o.j.e.on(n,"change",()=>{(0,a._9)(o,n.files,t,r).then(()=>{n.value="",/safari/i.test(navigator.userAgent)||(n.type="",n.type="file")}).finally(i)})}uploadRemoteImage(e,t,r){const i=this,{o}=i,s=(0,n.isFunction)(r)?r:o.defaultHandlerError;(0,a.tN)(i,{action:"fileUploadRemote",url:e}).then(e=>{o.isSuccess.call(i,e)?((0,n.isFunction)(t)?t:o.defaultHandlerSuccess).call(i,o.process.call(i,e)):s.call(i,(0,n.error)(o.getMessage.call(i,e)))}).catch(e=>s.call(i,e))}destruct(){this.setStatus(i.f.beforeDestruct);const e=a.$j.get(this);e&&(e.forEach(e=>{try{e.destruct()}catch(e){}}),e.clear()),super.destruct()}constructor(e,t){super(e),this.path="",this.source="default",this.options=(0,n.ConfigProto)(t||{},(0,n.ConfigProto)(s.T.defaultOptions.uploader,(0,n.isJoditObject)(e)?e.o.uploader:{}))}}},57459(e,t,r){r(6441).T.prototype.defaultAjaxOptions={successStatuses:[200,201,202],method:"GET",url:"",data:null,contentType:"application/x-www-form-urlencoded; charset=UTF-8",headers:{"X-REQUESTED-WITH":"XMLHttpRequest"},withCredentials:!1,xhr:()=>new XMLHttpRequest}},57487(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 16 16"> <path stroke-width="0" d="M16 9v-6h-3v-1c0-0.55-0.45-1-1-1h-11c-0.55 0-1 0.45-1 1v3c0 0.55 0.45 1 1 1h11c0.55 0 1-0.45 1-1v-1h2v4h-9v2h-0.5c-0.276 0-0.5 0.224-0.5 0.5v5c0 0.276 0.224 0.5 0.5 0.5h2c0.276 0 0.5-0.224 0.5-0.5v-5c0-0.276-0.224-0.5-0.5-0.5h-0.5v-1h9zM12 3h-11v-1h11v1z"/> </svg> '},57865(e,t,r){r.d(t,{Z(){return i}});class i extends TypeError{constructor(e){super(e),Object.setPrototypeOf(this,i.prototype)}}},57882(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/> </svg> '},57951(e,t,r){var i=r(86583),o=r(12153),n=r(6441),s=r(13465),a=r(50267);const l=(e,t,{control:r})=>{var o;const n="button"+r.command,s=null!==(o=r.args&&r.args[0])&&void 0!==o?o:(0,i.m)(e,n);(0,i.m)(e,n,s),e.execCommand(r.command,!1,"default"===s?null:s)};o.I.set("ol",s.A).set("ul",a.A),n.T.prototype.controls.ul={command:"insertUnorderedList",tags:["ul"],tooltip:"Insert Unordered List",list:{default:"Default",circle:"Circle",disc:"Dot",square:"Quadrate"},exec:l},n.T.prototype.controls.ol={command:"insertOrderedList",tags:["ol"],tooltip:"Insert Ordered List",list:{default:"Default","lower-alpha":"Lower Alpha","lower-greek":"Lower Greek","lower-roman":"Lower Roman","upper-alpha":"Upper Alpha","upper-roman":"Upper Roman"},exec:l}},58032(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 10 10"> <path d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"/> </svg> '},58149(e,t,r){r.d(t,{s(){return i.s}});var i=r(35278)},58487(e,t,r){r.d(t,{A(){return o}});var i=r(70799);const o=e=>(0,i.K)(e)&&/<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(e.replace(/[\r\n]/g,""))},58519(e,t,r){var i=r(82758),o=r(22732),n=r(580),s=r(96325),a=r(11628),l=r(12153),c=r(6441),d=r(14625),u=r(17583);l.I.set("print",u.A),c.T.prototype.controls.print={exec(e){const t=e.create.element("iframe");Object.assign(t.style,{position:"fixed",right:0,bottom:0,width:0,height:0,border:0}),(0,n.My)(e,c.T).appendChild(t);const r=()=>{e.e.off(e.ow,"mousemove",r),o.J.safeRemove(t)},i=t.contentWindow;if(i){e.e.on(i,"onbeforeunload onafterprint",r).on(e.ow,"mousemove",r),e.o.iframe?(e.e.fire("generateDocumentStructure.iframe",i.document,e),i.document.body.innerHTML=e.value):(i.document.write('<!doctype html><html lang="'+(0,s.e)(e.o.language)+'"><head><title></title></head><style>'+(0,d.Y)(e)+"</style><body></body></html>"),i.document.close(),(0,a.u)(e,void 0,"px",i.document.body));const t=i.document.createElement("style");t.innerHTML="@media print {\n\t\t\t\t\tbody {\n\t\t\t\t\t\t\t-webkit-print-color-adjust: exact;\n\t\t\t\t\t}\n\t\t\t}",i.document.head.appendChild(t),i.focus(),i.print()}},mode:i.MODE_SOURCE+i.MODE_WYSIWYG,tooltip:"Print"},n.fg.add("print",e=>{e.registerButton({name:"print"})})},58844(e,t,r){r.d(t,{c(){return a}});var i=r(82758),o=r(23282),n=r(94643);const s={};function a(e){var t,r;if(!(e in s)){const r=i.globalDocument.createElement("iframe");try{if(r.src="about:blank",i.globalDocument.body.appendChild(r),!r.contentWindow)return null;const t=(0,n.J)(e,r.contentWindow),a=(0,n.J)(e.split(".").slice(0,-1).join("."),r.contentWindow);(0,o.T)(t)&&(s[e]=t.bind(a))}catch(e){if(!i.IS_PROD)throw e}finally{null===(t=r.parentNode)||void 0===t||t.removeChild(r)}}return null!==(r=s[e])&&void 0!==r?r:null}},58908(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M640 768h512v-192q0-106-75-181t-181-75-181 75-75 181v192zm832 96v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h32v-192q0-184 132-316t316-132 316 132 132 316v192h32q40 0 68 28t28 68z"/></svg> '},58940(e,t,r){r.d(t,{C(){return s}});var i=r(82758),o=r(22732),n=r(91748);function s(e,t,r){let s=!1;const{setCursorBefore:a,setCursorIn:l}=e.s;let c=o.J.closest(t,o.J.isElement,e.editor);if(!c||!o.J.isEmpty(c))return!1;const d=o.J.findNotEmptyNeighbor(t,r,e.editor);do{if(!c||!o.J.isEmpty(c)||o.J.isCell(c))break;{o.J.after(c,t);const r=o.J.closest(c,e=>o.J.isElement(e)&&e!==c,e.editor);o.J.safeRemove(c),s=!0,c=r}}while(c);return!(!s||!(0,n.a)(e,t,r))||(!d||o.J.isText(d)||o.J.isTag(d,i.INSEPARABLE_TAGS)?a(t):l(d,!r),s)}},59007(e,t,r){r.d(t,{As(){return a.A},Bq(){return l.Bq},Gd(){return l.Gd},Hp(){return o.H},N(){return s.N},Ru(){return n.R},Z2(){return c.Z},gj(){return l.gj},kW(){return s.k},nv(){return n.n},xQ(){return i.x}});var i=r(87058),o=r(67477),n=r(56967),s=r(12475),a=r(67462),l=r(49055),c=r(36409)},59242(e,t,r){r.d(t,{Ag(){return n.Ag},DI(){return n.DI},LN(){return i.L},OJ(){return n.OJ},PL(){return n.PL},Zk(){return n.Zk},dj(){return n.dj},xk(){return o.x}});var i=r(79348),o=r(25639),n=r(77361)},59292(e,t,r){r.d(t,{P(){return n},n(){return o}});var i=r(67462);function o(e,t){return e===t||(0,i.A)(e)===(0,i.A)(t)}function n(e,t){return e===t}},59436(e,t,r){r.d(t,{l(){return h}});var i=r(65478),o=r(87325),n=r(21537),s=r(62405),a=r(12153),l=r(92762),c=r(35105),d=r(29827),u=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};let h=class e extends s.U{className(){return"UIImagePropertiesForm"}appendChildToContainer(){}getElm(e){const t=super.getElm(e);if(t)return t;for(const t of this.elements){const r=t.getElm(e);if(r)return r}return null}render(){return`<form>\n\t\t<div class="jodit-grid jodit-grid_xs-column">\n\t\t\t<div class="jodit_col-lg-2-5 jodit_col-xs-5-5">\n\t\t\t\t<div class="&__view-box">\n\t\t\t\t\t<div class="&__imageView">\n\t\t\t\t\t\t<img class="&__imageViewSrc" src="" alt=""/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="jodit-form__group &__imageSizes">\n\t\t\t\t\t\t<input type="text" class="jodit-input &__imageWidth"/>\n\t\t\t\t\t\t<a class="&__lockSize">${a.I.get("lock")}</a>\n\t\t\t\t\t\t<input type="text" class="&__imageHeight jodit-input"/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="jodit_col-lg-3-5 jodit_col-xs-5-5 &__tabsBox"></div>\n\t\t</div>\n\t</form>`}onChangeSizeIsLocked(){const e=this.getElm("lockSize"),t=this.getElm("imageWidth");e.innerHTML=a.I.get(this.state.sizeIsLocked?"lock":"unlock"),this.setMod("lock-size",this.state.sizeIsLocked),this.j.e.fire(t,"change")}onLockSizeClick(){this.state.sizeIsLocked=!this.state.sizeIsLocked}onStateValuesSizeChange(){const e=this.getElm("imageWidth"),t=this.getElm("imageHeight");e!==this.j.od.activeElement&&(e.value=""+this.state.values.imageWidth),t!==this.j.od.activeElement&&(t.value=""+this.state.values.imageHeight)}onImageWidthChange(e){const t=this.getElm("imageWidth"),r=this.getElm("imageHeight");if(!this.state.sizeIsLocked||!(0,n.isNumeric)(t.value)||!(0,n.isNumeric)(r.value))return this.state.values.imageWidth=t.value,void(this.state.values.imageHeight=r.value);const i=parseFloat(t.value),o=parseFloat(r.value);e.target===t?(this.state.values.imageWidth=i,this.state.values.imageHeight=Math.round(i/this.state.ratio)):(this.state.values.imageWidth=Math.round(o*this.state.ratio),this.state.values.imageHeight=o)}onStateValuesImageSrcChange(){const{imageSrc:e}=this.state.values;if(!e)return;const t=this.getElm("imageViewSrc");(0,n.attr)(t,"src",e);const r=new Image;r.src=e,this.state.image=r}hideFieldByOptions(){const e=this.j.o.image;[["editSize","imageSizes"],["showPreview","imageView"]].forEach(([t,r])=>{const i=this.getElm(r);(0,n.css)(i,"display",e[t]?null:"none")})}constructor(e,t,r,i){super(e),this.state=t,this.handlers=i,this.__mainTab=new c.k(this.jodit,this.state,this.handlers),this.__positionTab=new d._(this.jodit,this.state,this.handlers),this.getElm("tabsBox").appendChild((0,l.Zg)(e,[{name:"Image",content:this.__mainTab},{name:"Advanced",content:this.__positionTab}],r)),this.setMod("lock-size",this.state.sizeIsLocked),this.append(this.__mainTab).append(this.__positionTab)}};u([(0,i.hook)("ready"),(0,i.watch)("state.sizeIsLocked")],h.prototype,"onChangeSizeIsLocked",null),u([(0,i.watch)("lockSize:click")],h.prototype,"onLockSizeClick",null),u([(0,i.hook)("ready"),(0,i.watch)(["state.values.imageWidth","state.values.imageHeight"])],h.prototype,"onStateValuesSizeChange",null),u([(0,i.watch)(["imageWidth:change","imageHeight:change","imageWidth:keydown","imageHeight:keydown","imageWidth:mousedown","imageHeight:mousedown","imageWidth:paste","imageHeight:paste"]),(0,i.debounce)()],h.prototype,"onImageWidthChange",null),u([(0,i.hook)("ready"),(0,i.watch)("state.values.imageSrc")],h.prototype,"onStateValuesImageSrcChange",null),u([(0,i.hook)("ready")],h.prototype,"hideFieldByOptions",null),h=u([o.s],h)},59451(e,t,r){r.d(t,{F(){return h}});var i=r(82758),o=r(65478),n=r(2748),s=r(580),a=r(78116),l=r(29960),c=r(41180),d=r(20356),u=(r(61926),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});function h(e){var t;if(!e.firstChild)return!0;const r=e.firstChild;if(i.INSEPARABLE_TAGS.has(null===(t=r.nodeName)||void 0===t?void 0:t.toLowerCase())||/^(TABLE)$/i.test(r.nodeName))return!1;const o=n.J.next(r,e=>e&&!n.J.isEmptyTextNode(e),e);return n.J.isText(r)&&!o?n.J.isEmptyTextNode(r):!o&&n.J.each(r,e=>!(n.J.isLeaf(e)||n.J.isList(e))&&(n.J.isEmpty(e)||n.J.isTag(e,"br")))}class p extends d.k{afterInit(e){e.o.showPlaceholder&&(this.placeholderElm=e.c.fromHTML(`<span data-ref="placeholder" style="display: none;" class="jodit-placeholder">${e.i18n(e.o.placeholder)}</span>`),"rtl"===e.o.direction&&(this.placeholderElm.style.right="0px",this.placeholderElm.style.direction="rtl"),e.e.on("readonly",e=>{e?this.hide():this.toggle()}).on("changePlace",this.addEvents),this.addEvents())}show(){const e=this.j;if(e.o.readonly)return;let t=0,r=0;const i=e.s.current(),o=i&&n.J.closest(i,n.J.isBlock,e.editor)||e.editor,s=e.ew.getComputedStyle(o),l=e.ew.getComputedStyle(e.editor);e.workplace.appendChild(this.placeholderElm);const{firstChild:d}=e.editor;if(n.J.isElement(d)&&!(0,a.r)(d)){const i=e.ew.getComputedStyle(d);t=parseInt(i.getPropertyValue("margin-top"),10),r=parseInt(i.getPropertyValue("margin-left"),10),this.placeholderElm.style.fontSize=parseInt(i.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=i.getPropertyValue("line-height")}else this.placeholderElm.style.fontSize=parseInt(s.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=s.getPropertyValue("line-height");(0,c.A)(this.placeholderElm,{display:"block",textAlign:s.getPropertyValue("text-align"),paddingTop:parseInt(l.paddingTop,10)+"px",paddingLeft:parseInt(l.paddingLeft,10)+"px",paddingRight:parseInt(l.paddingRight,10)+"px",marginTop:Math.max(parseInt(s.getPropertyValue("margin-top"),10),t),marginLeft:Math.max(parseInt(s.getPropertyValue("margin-left"),10),r)})}hide(){n.J.safeRemove(this.placeholderElm)}toggle(){const e=this.j;e.editor&&!e.isInDestruct&&(e.getRealMode()===i.MODE_WYSIWYG&&h(e.editor)?this.show():this.hide())}beforeDestruct(e){this.hide(),e.e.off(".placeholder").off(window,"load",this.toggle)}constructor(){super(...arguments),this.addNativeListeners=()=>{this.j.e.off(this.j.editor,"input.placeholder keydown.placeholder").on(this.j.editor,"input.placeholder keydown.placeholder",this.toggle)},this.addEvents=()=>{const e=this.j;e.o.useInputsPlaceholder&&e.element.hasAttribute("placeholder")&&(this.placeholderElm.innerHTML=(0,l.C)(e.element,"placeholder")||""),e.e.fire("placeholder",this.placeholderElm.innerHTML),e.e.off(".placeholder").on("changePlace.placeholder",this.addNativeListeners).on("change.placeholder focus.placeholder keyup.placeholder mouseup.placeholder keydown.placeholder mousedown.placeholder afterSetMode.placeholder changePlace.placeholder",this.toggle).on(window,"load",this.toggle),this.addNativeListeners(),this.toggle()}}}u([(0,o.debounce)(e=>e.defaultTimeout/10,!0)],p.prototype,"toggle",null),s.fg.add("placeholder",p)},59483(e,t,r){var i=r(82758),o=r(65478),n=r(2748),s=r(580),a=r(50911);class l extends a.k{afterInit(e){}beforeDestruct(e){}onKeyDownArrow(e){var t;if(e.key!==i.KEY_RIGHT||!this.j.selection.isCollapsed())return;const{endContainer:r,endOffset:o}=this.j.selection.range;if(n.J.isText(r)&&(null===(t=r.nodeValue)||void 0===t?void 0:t.length)===o){const{parentNode:e}=r;n.J.isInlineBlock(e)&&!n.J.findNotEmptyNeighbor(e,!1,this.j.editor)&&n.J.after(e,this.j.createInside.text(i.NBSP_SPACE))}}}(function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);n>3&&s&&Object.defineProperty(t,r,s)})([(0,o.watch)(":keydown")],l.prototype,"onKeyDownArrow",null),s.fg.add("keyArrowOutside",l)},59495(e,t,r){var i=r(82758),o=r(2748),n=r(580),s=r(43555),a=r(20356),l=(r(87394),r(32824));n.fg.add("symbols",class c extends a.k{afterInit(e){e.e.on("generateSpecialCharactersTable.symbols",()=>{const t=e.c.fromHTML('<div class="jodit-symbols__container">\n\t\t\t\t\t\t<div class="jodit-symbols__container_table">\n\t\t\t\t\t\t\t<table class="jodit-symbols__table"><tbody></tbody></table>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="jodit-symbols__container_preview">\n\t\t\t\t\t\t\t<div class="jodit-symbols__preview"></div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>'),r=t.querySelector(".jodit-symbols__preview"),n=t.querySelector("table").tBodies[0],a=[];for(let t=0;e.o.specialCharacters.length>t;){const r=e.c.element("tr");for(let i=0;this.__countInRow>i&&e.o.specialCharacters.length>t;i+=1,t+=1){const o=e.c.element("td"),n=e.c.fromHTML(`<a\n\t\t\t\t\t\t\t\t\tdata-index="${t}"\n\t\t\t\t\t\t\t\t\tdata-index-j="${i}"\n\t\t\t\t\t\t\t\t\trole="option"\n\t\t\t\t\t\t\t\t\ttabindex="-1"\n\t\t\t\t\t\t\t>${e.o.specialCharacters[t]}</a>`);a.push(n),o.appendChild(n),r.appendChild(o)}n.appendChild(r)}const l=this;return e.e.on(a,"focus",function(){r.innerHTML=this.innerHTML}).on(a,"mousedown",function(t){o.J.isTag(this,"a")&&(e.s.focus(),e.s.insertHTML(this.innerHTML),(null==t?void 0:t.shiftKey)||e.e.fire(this,"close_dialog"),t&&t.preventDefault(),t&&t.stopImmediatePropagation())}).on(a,"mouseenter",function(){o.J.isTag(this,"a")&&this.focus()}).on(a,"keydown",t=>{const r=t.target;if(o.J.isTag(r,"a")){const o=parseInt((0,s.CF)(r,"-index")||"0",10),n=parseInt((0,s.CF)(r,"data-index-j")||"0",10);let c;switch(t.key){case i.KEY_UP:case i.KEY_DOWN:c=t.key===i.KEY_UP?o-l.__countInRow:o+l.__countInRow,void 0===a[c]&&(c=t.key===i.KEY_UP?Math.floor(a.length/l.__countInRow)*l.__countInRow+n:n,c>a.length-1&&(c-=l.__countInRow)),a[c]&&a[c].focus();break;case i.KEY_RIGHT:case i.KEY_LEFT:c=t.key===i.KEY_LEFT?o-1:o+1,void 0===a[c]&&(c=t.key===i.KEY_LEFT?a.length-1:0),a[c]&&a[c].focus();break;case i.KEY_ENTER:e.e.fire(r,"mousedown"),t.stopImmediatePropagation(),t.preventDefault()}}}),t})}beforeDestruct(e){e.e.off("generateSpecialCharactersTable.symbols")}constructor(e){super(e),this.buttons=[{name:"symbols",group:"insert"}],this.__countInRow=17,(0,n.JW)(l)}})},59498(e,t,r){r.d(t,{Zd(){return i.Z},eZ(){return s.e},hk(){return n.h},w5(){return o.w}});var i=r(83447),o=r(84272),n=r(42312),s=r(39516)},59526(e,t){t.A={"Type something":"Skriv noe","About Jodit":"Om Jodit","Jodit Editor":"Jodit-redigerer","Jodit User's Guide":"Jodit brukerveiledning","contains detailed help for using":"Inneholder detaljert hjelp for bruk","For information about the license, please go to our website:":"For informasjon om lisensen, besøk vår nettside:","Buy full version":"Kjøp fullversjon","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Opphavsrett © XDSoft.net - Chupurnov Valeriy. Alle rettigheter forbeholdt.",Anchor:"Anker","Open in new tab":"Åpne i ny fane","Open in fullsize":"Åpne i fullskjerm","Clear Formatting":"Fjern formatering","Fill color or set the text color":"Endre bakgrunns- eller tekstfarge",Redo:"Gjør om",Undo:"Angre",Bold:"Fet",Italic:"Kursiv","Insert Unordered List":"Sett inn punktliste","Insert Ordered List":"Sett inn nummerert liste","Align Center":"Midtstill","Align Justify":"Juster","Align Left":"Venstrejuster","Align Right":"Høyrejuster","Insert Horizontal Line":"Sett inn horisontal linje","Insert Image":"Sett inn bilde","Insert file":"Sett inn fil","Insert youtube/vimeo video":"Sett inn YouTube/Vimeo-video","Insert link":"Sett inn lenke","Font size":"Skriftstørrelse","Font family":"Skriftfamilie","Insert format block":"Sett inn formateringsblokk",Normal:"Normal","Heading 1":"Overskrift 1","Heading 2":"Overskrift 2","Heading 3":"Overskrift 3","Heading 4":"Overskrift 4",Quote:"Sitat",Code:"Kode",Insert:"Sett inn","Insert table":"Sett inn tabell","Decrease Indent":"Reduser innrykk","Increase Indent":"Øk innrykk","Select Special Character":"Velg spesialtegn","Insert Special Character":"Sett inn spesialtegn","Paint format":"Kopier format","Change mode":"Bytt modus (WYSIWYG/HTML)",Margins:"Marger",top:"topp",right:"høyre",bottom:"bunn",left:"venstre",Styles:"Stiler",Classes:"Klasser",Align:"Justering",Right:"Høyre",Center:"Senter",Left:"Venstre","--Not Set--":"--Ikke satt--",Src:"Kilde",Title:"Tittel",Alternative:"Alternativ",Filter:"Filter",Link:"Lenke","Open link in new tab":"Åpne lenke i ny fane",Image:"Bilde",file:"fil",Advanced:"Avansert","Image properties":"Bildeegenskaper",Cancel:"Avbryt",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Koden din ligner HTML. Beholde som HTML?","Paste as HTML":"Lim inn som HTML",Keep:"Behold",Clean:"Rens","Insert as Text":"Lim inn som tekst","Word Paste Detected":"Word-innliming oppdaget","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Innholdet du limer inn kommer fra et Microsoft Word/Excel-dokument. Vil du beholde formatet eller rense det?","Insert only Text":"Lim inn kun tekst","File Browser":"Filutforsker","Error on load list":"Feil ved lasting av liste","Error on load folders":"Feil ved lasting av mapper","Are you sure?":"Er du sikker?","Enter Directory name":"Skriv inn mappenavn","Create directory":"Opprett mappe","type name":"skriv navn","Drop image":"Slipp bilde","Drop file":"Slipp fil","or click":"eller klikk","Alternative text":"Alternativ tekst",Browse:"Bla gjennom",Upload:"Last opp",Background:"Bakgrunn",Border:"Kantlinje",Text:"Tekst",Top:"Topp",Middle:"Midt",Bottom:"Bunn","Insert column before":"Sett inn kolonne før","Insert column after":"Sett inn kolonne etter","Insert row above":"Sett inn rad over","Insert row below":"Sett inn rad under","Delete table":"Slett tabell","Delete row":"Slett rad","Delete column":"Slett kolonne","Empty cell":"Tøm celle","Chars: %d":"Tegn: %d","Words: %d":"Ord: %d",Split:"Del","Split vertical":"Del vertikalt","Split horizontal":"Del horisontalt","Strike through":"Gjennomstreking",Underline:"Understreking",superscript:"hevet skrift",subscript:"senket skrift","Cut selection":"Klipp ut markering","Select all":"Velg alt",Break:"Pause","Search for":"Søk etter","Replace with":"Erstatt med",Replace:"Erstatt",Paste:"Lim inn","Choose Content to Paste":"Velg innhold å lime inn",source:"kilde",bold:"fet",italic:"kursiv",brush:"pensel",link:"lenke",undo:"angre",redo:"gjør om",table:"tabell",image:"bilde",eraser:"viskelær",paragraph:"avsnitt",fontsize:"skriftstørrelse",video:"video",font:"skrift",about:"om redigeringsverktøyet",print:"skriv ut",underline:"understreking",strikethrough:"gjennomstreking",indent:"innrykk",outdent:"reduser innrykk",fullsize:"full størrelse",shrink:"krympe",hr:"linje",ul:"punktliste",ol:"nummerert liste",cut:"klipp ut",selectall:"velg alt","Open link":"Åpne lenke","Edit link":"Rediger lenke","No follow":"Ingen oppfølging",Unlink:"Fjern lenke",Eye:"Forhåndsvisning",pencil:"Rediger"," URL":"URL",Reset:"Tilbakestill",Save:"Lagre","Save as ...":"Lagre som ...",Resize:"Endre størrelse",Crop:"Beskjær",Width:"Bredde",Height:"Høyde","Keep Aspect Ratio":"Behold proporsjoner",Yes:"Ja",No:"Nei",Remove:"Fjern",Select:"Velg","Select %s":"Velg: %s",Update:"Oppdater","Vertical align":"Vertikal justering",Merge:"Slå sammen","Add column":"Legg til kolonne","Add row":"Legg til rad",Delete:"Slett","Horizontal align":"Horisontal justering","Sort by changed":"Sorter etter endring","Sort by name":"Sorter etter navn","Sort by size":"Sorter etter størrelse","Add folder":"Legg til mappe",palette:"Palett",preview:"Forhåndsvisning","Line height":"Linjehøyde","Insert className":"Sett inn klassenavn",apply:"Bruk",edit:"Rediger","Show all":"Vis alle",sound:"Lyd","Interim Results":"Foreløpige resultater",default:"Standard",circle:"Sirkel",dot:"Punkt",square:"Firkant","Press Alt for custom resizing":"Trykk på Alt for å endre størrelse","Copy selection":"Kopier utvalg","Paste from clipboard":"Lim inn fra utklippstavlen",Find:"Finne","Embed code":"Bygge inn kode",Edit:"Rediger",All:"Velg alle","License: %s":"Lisens: %s","You can only edit your own images. Download this image on the host?":"Du kan bare redigere dine egne bilder. Last ned dette bildet på verten?","The image has been successfully uploaded to the host!":"Bildet har blitt lastet opp til verten!","There are no files":"Det er ingen filer i denne katalogen",Rename:"Gi nytt navn","Enter new name":"Skriv inn nytt navn",download:"Last ned","Your browser doesn't support direct access to the clipboard.":"Nettleseren din støtter ikke direkte tilgang til utklippstavlen.",copy:"kopi","Border radius":"Grenseradius",Apply:"Bruk","Please fill out this field":"Vennligst fyll ut dette feltet","Please enter a web address":"Vennligst skriv inn en webadresse",Default:"Standard",Circle:"Sirkel",Dot:"Prikk",Quadrate:"Firkant","Find Previous":"Finn forrige","Find Next":"Finn neste"}},60031(e,t,r){r.d(t,{p(){return s}});var i=r(82758),o=r(21537),n=r(23370);class s extends n.F{aceExists(){return void 0!==this.j.ow.ace}getLastColumnIndex(e){return this.instance.session.getLine(e).length}getLastColumnIndices(){const e=this.instance.session.getLength(),t=[];let r=0;for(let i=0;e>i;i++)r+=this.getLastColumnIndex(i),i>0&&(r+=1),t[i]=r;return t}getRowColumnIndices(e){const t=this.getLastColumnIndices();if(t[0]>=e)return{row:0,column:e};let r=1;for(let i=1;t.length>i;i++)e>t[i]&&(r=i+1);return{row:r,column:e-t[r-1]-1}}setSelectionRangeIndices(e,t){const r=this.getRowColumnIndices(e),i=this.getRowColumnIndices(t);this.instance.getSelection().setSelectionRange({start:r,end:i})}getIndexByRowColumn(e,t){return this.getLastColumnIndices()[e]-this.getLastColumnIndex(e)+t}init(e){const t=()=>{if(void 0!==this.instance||!this.aceExists())return;const t=this.j.c.div("jodit-source__mirror-fake");this.container.appendChild(t),this.instance=e.ow.ace.edit(t),"rtl"===e.o.direction&&(this.instance.setOption("rtlText",!0),this.instance.setOption("rtl",!0)),this.instance.setTheme(e.o.sourceEditorNativeOptions.theme),this.instance.renderer.setShowGutter(e.o.sourceEditorNativeOptions.showGutter),this.instance.getSession().setMode(e.o.sourceEditorNativeOptions.mode),this.instance.setHighlightActiveLine(e.o.sourceEditorNativeOptions.highlightActiveLine),this.instance.getSession().setUseWrapMode(!0),this.instance.setOption("indentedSoftWrap",!1),this.instance.setOption("wrap",e.o.sourceEditorNativeOptions.wrap),this.instance.getSession().setUseWorker(!1),this.instance.$blockScrolling=1/0,this.instance.on("change",this.toWYSIWYG),this.instance.on("focus",this.proxyOnFocus),this.instance.on("mousedown",this.proxyOnMouseDown),this.instance.on("blur",this.proxyOnBlur),e.getRealMode()!==i.MODE_WYSIWYG&&this.setValue(this.getValue());const r=this.j.async.throttle(()=>{if(e.isInDestruct||e.getMode()===i.MODE_WYSIWYG)return;const t=this.instance.isFocused();this.instance.setOption("maxLines","auto"!==e.o.height?e.workplace.offsetHeight/this.instance.renderer.lineHeight:1/0),this.instance.resize(),t&&this.focus()},2*this.j.defaultTimeout);e.e.on(e,"resize",r).on("afterResize afterSetMode",r),r(),this.onReady()};e.e.on("afterSetMode",()=>{e.getRealMode()!==i.MODE_SOURCE&&e.getMode()!==i.MODE_SPLIT||(this.fromWYSIWYG(),t())}),t(),this.aceExists()||(0,o.loadNext)(e,e.o.sourceEditorCDNUrlsJS).then(()=>{e.isInDestruct||t()}).catch(()=>null)}destruct(){var e,t;this.instance.off("change",this.toWYSIWYG),this.instance.off("focus",this.proxyOnFocus),this.instance.off("mousedown",this.proxyOnMouseDown),this.instance.destroy(),null===(t=null===(e=this.j)||void 0===e?void 0:e.events)||void 0===t||t.off("aceInited.source")}setValue(e){if(!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){const t=this.j.e.fire("beautifyHTML",e);(0,o.isString)(t)&&(e=t)}this.instance.setValue(e),this.instance.clearSelection()}getValue(){return this.instance.getValue()}setReadOnly(e){this.instance.setReadOnly(e)}get isFocused(){return this.instance.isFocused()}focus(){this.instance.container.focus(),this.instance.focus()}blur(){this.instance.blur()}getSelectionStart(){const e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.start.row,e.start.column)}getSelectionEnd(){const e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.end.row,e.end.column)}selectAll(){this.instance.selection.selectAll()}insertRaw(e){const t=this.instance.selection.getCursor(),r=this.instance.session.insert(t,e);this.instance.selection.setRange({start:t,end:r},!1)}setSelectionRange(e,t){this.setSelectionRangeIndices(e,t)}setPlaceHolder(e){}replaceUndoManager(){const{history:e}=this.jodit;this.instance.commands.addCommand({name:"Undo",bindKey:{win:"Ctrl-Z",mac:"Command-Z"},exec(){e.undo()}}),this.instance.commands.addCommand({name:"Redo",bindKey:{win:"Ctrl-Shift-Z",mac:"Command-Shift-Z"},exec(){e.redo()}})}constructor(){super(...arguments),this.className="jodit_ace_editor",this.proxyOnBlur=e=>{this.j.e.fire("blur",e)},this.proxyOnFocus=e=>{this.j.e.fire("focus",e)},this.proxyOnMouseDown=e=>{this.j.e.fire("mousedown",e)}}}},60097(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1152 512v-472q22 14 36 28l408 408q14 14 28 36h-472zm-128 32q0 40 28 68t68 28h544v1056q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1600q0-40 28-68t68-28h800v544z"/> </svg> '},60132(e,t,r){r.d(t,{kO(){return l},n4(){return s},pV(){return a}});var i=r(2748),o=r(23282),n=r(86068);function s(e){return!(0,n.R)(e)&&(0,o.T)(e.init)}function a(e){return!(0,n.R)(e)&&(0,o.T)(e.destruct)}function l(e){return!(0,n.R)(e)&&i.J.isElement(e.container)}},60175(e,t){t.A={"Type something":"输入一些内容",Advanced:"高级","About Jodit":"关于Jodit","Jodit Editor":"Jodit Editor","Free Non-commercial Version":"Free Non-commercial Version","Jodit User's Guide":"开发者指南","contains detailed help for using":"使用帮助","For information about the license, please go to our website:":"有关许可证的信息,请访问我们的网站:","Buy full version":"购买完整版本","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. 版权所有",Anchor:"Anchor","Open in new tab":"在新窗口打开","Open in fullsize":"全屏编辑","Clear Formatting":"清除样式","Fill color or set the text color":"颜色",Redo:"重做",Undo:"撤销",Bold:"粗体",Italic:"斜体","Insert Unordered List":"符号列表","Insert Ordered List":"编号","Align Center":"居中","Align Justify":"对齐文本","Align Left":"左对齐","Align Right":"右对齐","Insert Horizontal Line":"分割线","Insert Image":"图片","Insert file":"文件","Insert youtube/vimeo video":"视频","Insert link":"链接","Font size":"字号","Font family":"字体","Insert format block":"格式块",Normal:"默认","Heading 1":"标题1","Heading 2":"标题2","Heading 3":"标题3","Heading 4":"标题4",Quote:"引用",Code:"代码",Insert:"插入","Insert table":"表格","Decrease Indent":"减少缩进","Increase Indent":"增加缩进","Select Special Character":"选择特殊符号","Insert Special Character":"特殊符号","Paint format":"格式复制","Change mode":"改变模式",Margins:"外边距(Margins)",top:"top",right:"right",bottom:"bottom",left:"left",Styles:"样式",Classes:"Classes",Align:"对齐方式",Right:"居右",Center:"居中",Left:"居左","--Not Set--":"无",Src:"Src",Title:"Title",Alternative:"Alternative",Link:"Link","Open link in new tab":"在新窗口打开链接",Image:"图片",file:"file","Image properties":"图片属性",Cancel:"取消",Ok:"确定","Your code is similar to HTML. Keep as HTML?":"你粘贴的文本是一段html代码,是否保留源格式","Paste as HTML":"html粘贴",Keep:"保留源格式",Clean:"匹配目标格式","Insert as Text":"把html代码视为普通文本","Word Paste Detected":"文本粘贴","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"正在粘贴 Word/Excel 的文本,是否保留源格式?","Insert only Text":"只保留文本","File Browser":"文件管理","Error on load list":"加载list错误","Error on load folders":"加载folders错误","Are you sure?":"你确定吗?","Enter Directory name":"输入路径","Create directory":"创建路径","type name":"type name","Drop image":"拖动图片到此","Drop file":"拖动文件到此","or click":"或点击","Alternative text":"Alternative text",Browse:"浏览",Upload:"上传",Background:"背景色",Text:"文字",Top:"顶部",Middle:"中间",Bottom:"底部","Insert column before":"在之前插入列","Insert column after":"在之后插入列","Insert row above":"在之前插入行","Insert row below":"在之后插入行","Delete table":"删除表格","Delete row":"删除行","Delete column":"删除列","Empty cell":"清除内容","Chars: %d":"字符数: %d","Words: %d":"单词数: %d","Strike through":"删除线",Underline:"下划线",superscript:"上标",subscript:"下标","Cut selection":"剪切","Select all":"全选",Break:"Break","Search for":"查找","Replace with":"替换为",Replace:"替换",Edit:"编辑",Paste:"粘贴","Choose Content to Paste":"选择内容并粘贴",All:"全部",source:"源码",bold:"粗体",italic:"斜体",brush:"颜色",link:"链接",undo:"撤销",redo:"重做",table:"表格",image:"图片",eraser:"橡皮擦",paragraph:"段落",fontsize:"字号",video:"视频",font:"字体",about:"关于",print:"打印",underline:"下划线",strikethrough:"上出现",indent:"增加缩进",outdent:"减少缩进",fullsize:"全屏",shrink:"收缩",hr:"分割线",ul:"无序列表",ol:"顺序列表",cut:"剪切",selectall:"全选","Open link":"打开链接","Edit link":"编辑链接","No follow":"No follow",Unlink:"取消链接",Eye:"预览"," URL":"URL",Reset:"重置",Save:"保存","Save as ...":"保存为",Resize:"调整大小",Crop:"剪切",Width:"宽",Height:"高","Keep Aspect Ratio":"保持长宽比",Yes:"是",No:"不",Remove:"移除",Select:"选择","Select %s":"选择: %s",Update:"更新","Vertical align":"垂直对齐",Merge:"合并","Add column":"添加列","Add row":"添加行",Border:"边框","Embed code":"嵌入代码",Delete:"删除","Horizontal align":"水平对齐",Filter:"筛选","Sort by changed":"修改时间排序","Sort by name":"名称排序","Sort by size":"大小排序","Add folder":"新建文件夹",Split:"拆分","Split vertical":"垂直拆分","Split horizontal":"水平拆分","You can only edit your own images. Download this image on the host?":"你只能编辑你自己的图片。Download this image on the host?","The image has been successfully uploaded to the host!":"图片上传成功",palette:"调色板",pencil:"铅笔","There are no files":"此目录中沒有文件。",Rename:"重命名","Enter new name":"输入新名称",preview:"预览",download:"下载","Paste from clipboard":"粘贴从剪贴板","Your browser doesn't support direct access to the clipboard.":"你浏览器不支持直接访问的剪贴板。","Copy selection":"复制选中内容",copy:"复制","Border radius":"边界半径","Show all":"显示所有",Apply:"应用","Please fill out this field":"请填写这个字段","Please enter a web address":"请输入一个网址",Default:"默认",Circle:"圆圈",Dot:"点",Quadrate:"方形",Find:"搜索","Find Previous":"查找上一个","Find Next":"查找下一个","Insert className":"插入班级名称","Press Alt for custom resizing":"按Alt自定义调整大小","License: %s":"许可证: %s"}},60181(e,t,r){r.d(t,{G(){return a}});var i=r(56869),o=r(2748),n=r(43555),s=r(31117);function a(e,t,r,a=""){const l=document.createElement("iframe");l.style.display="none",document.body.appendChild(l);try{const o=l.contentDocument??l.contentWindow?.document;if(!o)return t;o.open(),o.write(t),o.close();const c="jd-style";for(let e=0;o.styleSheets.length>e;e+=1)try{const t=o.styleSheets[e].cssRules;for(let e=0;t.length>e;e+=1)t[e].selectorText&&(0,n.$$)(t[e].selectorText,o.body).forEach(r=>{(0,n.CF)(r,c)||((0,n.CF)(r,c,(0,n.CF)(r,"style")||""),(0,n.CF)(r,"style","")),(0,n.CF)(r,"style",`${(0,n.CF)(r,"style")};${t[e].style.cssText}`)})}catch(e){}return(0,n.$$)(`[${c}]`,o.body).forEach(e=>{(0,n.CF)(e,"style",`${(0,n.CF)(e,"style")};${(0,n.CF)(e,c)}`)}),(0,i.d)(e,s.Rd.make(o.body),r,a)}finally{o.J.safeRemove(l)}}},61019(e,t,r){var i=r(65478),o=r(2748),n=r(580),s=r(21537),a=r(50911),l=(r(26295),r(28143));class c extends a.k{afterInit(e){(0,s.css)(e.editor,{lineHeight:e.o.defaultLineHeight}),e.registerCommand("applyLineHeight",this.applyLineHeight)}applyLineHeight(e,t,r){const{s:i,createInside:n,editor:a,o:l}=this.j;let c;i.isFocused()||i.focus(),i.save();const d=e=>{let t=o.J.closest(e,o.J.isBlock,a);t||(t=o.J.wrap(e,l.enter,n));const i=(0,s.css)(t,"lineHeight");void 0===c&&(c=""+i!=""+r),(0,s.css)(t,"lineHeight",c?r:null)};try{if(i.isCollapsed()){const e=n.fake();i.insertNode(e,!1,!1),d(e),o.J.safeRemove(e)}else i.eachSelection(d)}finally{i.restore()}}beforeDestruct(e){(0,s.css)(e.editor,{lineHeight:null})}constructor(e){super(e),this.buttons=[{name:"lineHeight",group:"font"}],(0,n.JW)(l)}}(function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);n>3&&s&&Object.defineProperty(t,r,s)})([i.autobind],c.prototype,"applyLineHeight",null),n.fg.add("lineHeight",c)},61122(e,t,r){var i=r(29960);t.A=[{name:"eye",tooltip:"Open link",exec(e,t){const r=(0,i.C)(t,"href");t&&r&&e.ow.open(r)}},{name:"link",tooltip:"Edit link",icon:"pencil"},"unlink","brush","file"]},61251(e,t,r){r(57459);var i=r(27613),o=r(38420),n=r(4242),s=r(6441);s.T.prototype.filebrowser={namespace:"",cache:!0,extraButtons:[],filter:(e,t)=>(t=t.toLowerCase(),(0,i.Kg)(e)?-1!==e.toLowerCase().indexOf(t):(0,i.Kg)(e.name)?-1!==e.name.toLowerCase().indexOf(t):!(0,i.Kg)(e.file)||-1!==e.file.toLowerCase().indexOf(t)),sortBy:"changed-desc",sort(e,t,r){const[n,s]=r.toLowerCase().split("-"),a="asc"===s,l=(e,t)=>t>e?a?-1:1:e>t?a?1:-1:0;if((0,i.Kg)(e))return l(e.toLowerCase(),t.toLowerCase());if(void 0===e[n]||"name"===n)return(0,i.Kg)(e.name)?l(e.name.toLowerCase(),t.name.toLowerCase()):(0,i.Kg)(e.file)?l(e.file.toLowerCase(),t.file.toLowerCase()):0;switch(n){case"changed":{const r=new Date(e.changed).getTime(),i=new Date(t.changed).getTime();return a?r-i:i-r}case"size":{const r=(0,o.z)(e.size),i=(0,o.z)(t.size);return a?r-i:i-r}}return 0},editImage:!0,preview:!0,showPreviewNavigation:!0,showSelectButtonInPreview:!0,contextMenu:!0,howLongShowMsg:3e3,createNewFolder:!0,deleteFolder:!0,renameFolder:!0,moveFolder:!0,moveFile:!0,permissionsPresets:{allowFileDownload:void 0,allowFileMove:void 0,allowFileRemove:void 0,allowFileRename:void 0,allowFileUpload:void 0,allowFileUploadRemote:void 0,allowFiles:void 0,allowFolderCreate:void 0,allowFolderMove:void 0,allowFolderRemove:void 0,allowFolderRename:void 0,allowFolderTree:void 0,allowFolders:void 0,allowGeneratePdf:void 0,allowImageCrop:void 0,allowImageResize:void 0},showFoldersPanel:!0,storeLastOpenedFolder:!0,width:859,height:400,buttons:["filebrowser.upload","filebrowser.remove","filebrowser.update","filebrowser.select","filebrowser.edit","|","filebrowser.tiles","filebrowser.list","|","filebrowser.filter","|","filebrowser.sort"],removeButtons:[],fullsize:!1,showTooltip:!0,view:null,isSuccess:e=>e.success,getMessage:e=>void 0!==e.data.messages&&(0,i.cy)(e.data.messages)?e.data.messages.join(" "):"",showFileName:!0,showFileSize:!0,showFileChangeTime:!0,saveStateInStorage:{storeLastOpenedFolder:!0,storeView:!0,storeSortBy:!0},pixelOffsetLoadNewChunk:200,getThumbTemplate(e,t,r){const i=this.options,o=this.files.getFullElName("item"),n=i.showFileName,s=i.showFileSize&&e.size,a=i.showFileChangeTime&&e.time;let l="";return void 0!==e.file&&(l=e.file),`<a\n\t\t\tdata-jodit-file-browser-item="true"\n\t\t\tdata-is-file="${e.isImage?0:1}"\n\t\t\tdraggable="true"\n\t\t\tclass="${o}"\n\t\t\thref="${e.fileURL}"\n\t\t\tdata-source="${r}"\n\t\t\tdata-path="${e.path}"\n\t\t\tdata-name="${l}"\n\t\t\ttitle="${l}"\n\t\t\tdata-url="${e.fileURL}">\n\t\t\t\t<img\n\t\t\t\t\tdata-is-file="${e.isImage?0:1}"\n\t\t\t\t\tdata-src="${e.fileURL}"\n\t\t\t\t\tsrc="${e.imageURL}"\n\t\t\t\t\talt="${l}"\n\t\t\t\t\tloading="lazy"\n\t\t\t\t/>\n\t\t\t\t${n||s||a?`<div class="${o}-info">${n?`<span class="${o}-info-filename">${l}</span>`:""}${s?`<span class="${o}-info-filesize">${e.size}</span>`:""}${a?`<span class="${o}-info-filechanged">${a}</span>`:""}</div>`:""}\n\t\t\t</a>`},ajax:{...s.T.prototype.defaultAjaxOptions,url:"",data:{},cache:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",method:"POST",processData:!0,headers:{},prepareData:e=>e,process:e=>e},create:{data:{action:"folderCreate"}},getLocalFileByUrl:{data:{action:"getLocalFileByUrl"}},resize:{data:{action:"imageResize"}},crop:{data:{action:"imageCrop"}},fileMove:{data:{action:"fileMove"}},folderMove:{data:{action:"folderMove"}},fileRename:{data:{action:"fileRename"}},folderRename:{data:{action:"folderRename"}},fileRemove:{data:{action:"fileRemove"}},folderRemove:{data:{action:"folderRemove"}},items:{data:{action:"files"}},folder:{data:{action:"folders"}},permissions:{data:{action:"permissions"}}},s.T.prototype.controls.filebrowser={upload:{icon:"plus",tooltip:"Upload file",isInput:!0,isDisabled(e){return!e.dataProvider.canI("FileUpload")},getContent(e,t){const r=new n.n(e,{tooltip:t.control.tooltip,onlyImages:e.state.onlyImages});return e.e.fire("bindUploader.filebrowser",r.container),r.container}},remove:{icon:"bin",tooltip:"Remove file",isDisabled(e){return!e.state.activeElements.length||!e.dataProvider.canI("FileRemove")},exec(e){e.e.fire("fileRemove.filebrowser")}},update:{tooltip:"Update file list",exec(e){e.e.fire("update.filebrowser")}},select:{tooltip:"Select file",icon:"check",isDisabled(e){return!e.state.activeElements.length},exec(e){e.e.fire("select.filebrowser")}},edit:{tooltip:"Edit image",icon:"pencil",isDisabled(e){const t=e.state.activeElements;return 1!==t.length||!t[0].isImage||!(e.dataProvider.canI("ImageCrop")||e.dataProvider.canI("ImageResize"))},exec(e){e.e.fire("edit.filebrowser")}},tiles:{tooltip:"Tiles view",icon:"th",isActive(e){return"tiles"===e.state.view},exec(e){e.e.fire("view.filebrowser","tiles")}},list:{tooltip:"List view",icon:"th-list",isActive(e){return"list"===e.state.view},exec(e){e.e.fire("view.filebrowser","list")}},filter:{isInput:!0,getContent(e,t){const r=t.container.querySelector(".jodit-input");if(r)return r;const i=e.c.element("input",{class:"jodit-input",placeholder:e.i18n("Filter")});return i.value=e.state.filterWord,e.e.on(i,"keydown mousedown",e.async.debounce(()=>{e.e.fire("filter.filebrowser",i.value)},e.defaultTimeout)),i}},sort:{isInput:!0,getContent(e){const t=e.c.fromHTML(`<select class="jodit-input jodit-select"><option value="changed-asc">${e.i18n("Sort by changed")} (⬆)</option><option value="changed-desc">${e.i18n("Sort by changed")} (⬇)</option><option value="name-asc">${e.i18n("Sort by name")} (⬆)</option><option value="name-desc">${e.i18n("Sort by name")} (⬇)</option><option value="size-asc">${e.i18n("Sort by size")} (⬆)</option><option value="size-desc">${e.i18n("Sort by size")} (⬇)</option></select>`);return t.value=e.state.sortBy,e.e.on("sort.filebrowser",e=>{t.value!==e&&(t.value=e)}).on(t,"change",()=>{e.e.fire("sort.filebrowser",t.value)}),t}}}},61259(e,t,r){r.d(t,{z(){return i.z}});var i=r(56917)},61323(e,t,r){var i=r(82758),o=r(33433),n=r(580),s=r(21537);r(79419),n.fg.add("clipboard",class a{init(e){var t;null===(t=this.buttons)||void 0===t||t.forEach(t=>e.registerButton(t)),e.e.off(`copy.${i.CLIPBOARD_ID} cut.${i.CLIPBOARD_ID}`).on(`copy.${i.CLIPBOARD_ID} cut.${i.CLIPBOARD_ID}`,t=>{var r;const o=e.s.html,n=(0,s.getDataTransfer)(t)||(0,s.getDataTransfer)(e.ew)||(0,s.getDataTransfer)(t.originalEvent);n&&(n.setData(i.TEXT_PLAIN,(0,s.stripTags)(o)),n.setData(i.TEXT_HTML,o)),e.buffer.set(i.CLIPBOARD_ID,o),e.e.fire("pasteStack",{html:o,action:e.o.defaultActionOnPaste||i.INSERT_AS_HTML}),"cut"===t.type&&(e.s.remove(),e.s.focus()),t.preventDefault(),null===(r=null==e?void 0:e.events)||void 0===r||r.fire("afterCopy",o)})}destruct(e){var t,r;null===(t=(0,o.PO)(e,"buffer"))||void 0===t||t.set(i.CLIPBOARD_ID,""),null===(r=null==e?void 0:e.events)||void 0===r||r.off("."+i.CLIPBOARD_ID)}constructor(){this.buttons=[{name:"cut",group:"clipboard"},{name:"copy",group:"clipboard"},{name:"paste",group:"clipboard"},{name:"selectall",group:"clipboard"}]}})},61388(e,t,r){r.d(t,{j(){return i}});const i=e=>(!e.attributes.width||"th"!==e.name&&"td"!==e.name||(e.attributes.width=null),e)},61926(e,t,r){var i=r(6441);i.T.prototype.showPlaceholder=!0,i.T.prototype.placeholder="Type something",i.T.prototype.useInputsPlaceholder=!0},61991(e,t,r){r.d(t,{b(){return o}});var i=r(2748);function o(e,t,r){return!!i.J.canSplitBlock(r)||(i.J.before(e,t.createInside.element("br")),!1)}},62e3(e,t,r){var i=r(27613),o=r(41180);const n=e=>e.args&&(0,i.Kg)(e.args[0])?e.args[0].toLowerCase():"";t.A=["brushCell",{name:"valign",list:["Top","Middle","Bottom","Normal"],childTemplate(e,t,r){return r},exec(e,t,{control:r}){const i=n(r);e.getInstance("Table",e.o).getAllSelectedCells().forEach(e=>{(0,o.A)(e,"vertical-align","normal"===i?"":i)})},tooltip:"Vertical align"},{name:"splitv",list:{tablesplitv:"Split vertical",tablesplitg:"Split horizontal"},tooltip:"Split"},{name:"align",icon:"left"},"\n",{name:"merge",command:"tablemerge",tooltip:"Merge"},{name:"addcolumn",list:{tableaddcolumnbefore:"Insert column before",tableaddcolumnafter:"Insert column after"},exec(e,t,{control:r}){if(!(0,i.y0)(e))return;if(!r.args)return!1;const o=n(r);e.execCommand(o,!1,t)},tooltip:"Add column"},{name:"addrow",list:{tableaddrowbefore:"Insert row above",tableaddrowafter:"Insert row below"},exec(e,t,{control:r}){if(!(0,i.y0)(e))return;if(!r.args)return!1;const o=n(r);e.execCommand(o,!1,t)},tooltip:"Add row"},{name:"delete",icon:"bin",list:{tablebin:"Delete table",tablebinrow:"Delete row",tablebincolumn:"Delete column",tableempty:"Empty cell"},exec(e,t,{control:r}){if(!(0,i.y0)(e))return;if(!r.args)return!1;const o=n(r);e.execCommand(o,!1,t),e.e.fire("hidePopup")},tooltip:"Delete"}]},62232(e,t){t.A={"Type something":"Scrivi qualcosa...",Advanced:"Avanzato","About Jodit":"A proposito di Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Guida utente di Jodit","contains detailed help for using":"contiene una guida dettagliata per l'uso.","For information about the license, please go to our website:":"Per informazioni sulla licenza, si prega di visitare il nostro sito web:","Buy full version":"Acquista la versione completa","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Tutti i diritti riservati.",Anchor:"Link","Open in new tab":"Apri in una nuova scheda","Open in fullsize":"Apri l'editor a schermo intero","Clear Formatting":"Pulisci Formattazione","Fill color or set the text color":"Colore di sfondo o del testo",Redo:"Ripristina",Undo:"Annulla",Bold:"Grassetto",Italic:"Corsivo","Insert Unordered List":"Inserisci lista non ordinata","Insert Ordered List":"Inserisci lista ordinata","Align Center":"Allinea al centro","Align Justify":"Allineamento Giustificato","Align Left":"Allinea a Sinistra","Align Right":"Allinea a Destra","Insert Horizontal Line":"Inserisci una linea orizzontale","Insert Image":"Inserisci immagine","Insert file":"Inserisci un file","Insert youtube/vimeo video":"Inserisci video Youtube/Vimeo","Insert link":"Inserisci link","Font size":"Dimensione carattere","Font family":"Tipo di font","Insert format block":"Inserisci blocco",Normal:"Normale","Heading 1":"Intestazione 1","Heading 2":"Intestazione 2","Heading 3":"Intestazione 3","Heading 4":"Intestazione 4",Quote:"Citazione",Code:"Codice",Insert:"Inserisci","Insert table":"Inserisci tabella","Decrease Indent":"Riduci il rientro","Increase Indent":"Aumenta il rientro","Select Special Character":"Seleziona un carattere speciale","Insert Special Character":"Inserisci un carattere speciale","Paint format":"Copia formato","Change mode":"Cambia modalita'",Margins:"Margini",top:"su",right:"destra",bottom:"giù",left:"sinistra",Styles:"Stili CSS",Classes:"Classi CSS",Align:"Allinea",Right:"Destra",Center:"Centro",Left:"Sinistra","--Not Set--":"--Non Impostato--",Src:"Fonte",Title:"Titolo",Alternative:"Testo Alternativo",Link:"Link","Open link in new tab":"Apri il link in una nuova scheda",Image:"Immagine",file:"Archivio","Image properties":"Proprietà dell'immagine",Cancel:"Annulla",Ok:"Accetta","Your code is similar to HTML. Keep as HTML?":"Il codice è simile all'HTML. Mantieni come HTML?","Paste as HTML":"Incolla come HTML",Keep:"Mantieni",Clean:"Pulisci","Insert as Text":"Inserisci come testo","Word Paste Detected":"Incolla testo da Word rilevato","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Il contenuto incollato proviene da un documento Microsoft Word / Excel. Vuoi mantenere il formato o pulirlo?","Insert only Text":"Inserisci solo il testo","File Browser":"Cerca file","Error on load list":"Errore durante il caricamento dell'elenco","Error on load folders":"Errore durante il caricamento delle cartelle","Are you sure?":"Sei sicuro?","Enter Directory name":"Inserisci il nome della cartella","Create directory":"Crea cartella","type name":"Digita il nome","Drop image":"Cancella immagine","Drop file":"Cancella file","or click":"o clicca","Alternative text":"Testo alternativo",Browse:"Sfoglia",Upload:"Carica",Background:"Sfondo",Text:"Testo",Top:"Su",Middle:"Centro",Bottom:"Sotto","Insert column before":"Inserisci la colonna prima","Insert column after":"Inserisci la colonna dopo","Insert row above":"Inserisci la riga sopra","Insert row below":"Inserisci la riga sotto","Delete table":"Elimina tabella","Delete row":"Elimina riga","Delete column":"Elimina colonna","Empty cell":"Cella vuota",Delete:"Cancella","Strike through":"Barrato",Underline:"Sottolineato",Break:"Pausa","Search for":"Cerca per","Replace with":"Sostituisci con",Replace:"Sostituisci",Edit:"Modifica","Vertical align":"Allineamento verticala","Horizontal align":"Allineamento orizzontale",Filter:"Filtro","Sort by changed":"Ordina per data di modifica","Sort by name":"Ordina per nome","Sort by size":"Ordina per dimensione","Add folder":"Aggiungi cartella",Split:"Dividi","Split vertical":"Dividi verticalmente","Split horizontal":"Dividi orizzontale",Merge:"Fondi","Add column":"Aggiungi colonna","Add row":"Aggiungi riga",Border:"Bordo","Embed code":"Includi codice",Update:"Aggiorna",superscript:"indice",subscript:"pedice","Cut selection":"Taglia selezione",Paste:"Incolla","Choose Content to Paste":"Seleziona il contenuto da incollare","Chars: %d":"Caratteri: %d","Words: %d":"Parole: %d",All:"Tutto","Select %s":"Seleziona: %s","Select all":"Seleziona tutto",source:"risorsa",bold:"Grassetto",italic:"Corsivo",brush:"Pennello",link:"Link",undo:"Annulla",redo:"Ripristina",table:"Tabella",image:"Immagine",eraser:"Gomma",paragraph:"Paragrafo",fontsize:"Dimensione del carattere",video:"Video",font:"Font",about:"Approposito di",print:"Stampa",underline:"Sottolineato",strikethrough:"Barrato",indent:"aumenta rientro",outdent:"riduci rientro",fullsize:"espandi",shrink:"comprimi",hr:"linea orizzontale",ul:"lista non ordinata",ol:"lista ordinata",cut:"Taglia",selectall:"Seleziona tutto","Open link":"Apri link","Edit link":"Modifica link","No follow":"Non seguire",Unlink:"Rimuovi link",Eye:"Recensione",pencil:"Per modificare"," URL":" URL",Reset:"Reset",Save:"Salva","Save as ...":"Salva con nome...",Resize:"Ridimensiona",Crop:"Ritaglia",Width:"Larghezza",Height:"Altezza","Keep Aspect Ratio":"Mantieni le proporzioni",Yes:"Si",No:"No",Remove:"Rimuovi",Select:"Seleziona","You can only edit your own images. Download this image on the host?":"Puoi modificare solo le tue immagini. Vuoi scaricare questa immagine dal server?","The image has been successfully uploaded to the host!":"L'immagine è stata caricata correttamente sul server!",palette:"tavolozza","There are no files":"Non ci sono file in questa directory.",Rename:"Rinomina","Enter new name":"Inserisci un nuovo nome",preview:"anteprima",download:"Scarica","Paste from clipboard":"Incolla dagli appunti","Your browser doesn't support direct access to the clipboard.":"Il tuo browser non supporta l'accesso diretto agli appunti.","Copy selection":"Copia selezione",copy:"copia","Border radius":"Border radius","Show all":"Mostra tutti",Apply:"Applica","Please fill out this field":"Si prega di compilare questo campo","Please enter a web address":"Si prega di inserire un indirizzo web",Default:"Default",Circle:"Cerchio",Dot:"Punto",Quadrate:"Quadrato","Lower Alpha":"Lettera Minuscola","Lower Greek":"Lettera Greca Minuscola","Lower Roman":"Numero Romano Minuscolo","Upper Alpha":"Lettera Maiuscola","Upper Roman":"Numero Romano Maiuscolo",Find:"Trova","Find Previous":"Trova Precedente","Find Next":"Trova Successivo","Insert className":"Inserisci il nome della classe","Press Alt for custom resizing":"Premere Alt per il ridimensionamento personalizzato","License: %s":"Licenza: %s"}},62405(e,t,r){r.d(t,{U(){return d}});var i,o=r(4012),n=r(65478),s=r(2748),a=r(21537),l=r(48538),c=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};let d=i=class e extends l.D{className(){return"UIGroup"}get allChildren(){const e=[],t=[...this.elements];for(;t.length;){const r=t.shift();(0,a.isArray)(r)?t.push(...r):o.u.isInstanceOf(r,i)?t.push(...r.elements):r&&e.push(r)}return e}update(){this.elements.forEach(e=>e.update()),this.setMod("size",this.buttonSize)}append(e,t){if((0,a.isArray)(e)){if("number"==typeof t)throw Error("You can not use index when append array of elements");return e.forEach(e=>this.append(e,t)),this}const r=e;let i;if("number"==typeof t?(i=Math.min(Math.max(0,t),this.elements.length),this.elements.splice(i,0,r)):this.elements.push(r),r.name&&r.container.classList.add(this.getFullElName(r.name)),t&&"string"==typeof t){const e=this.getElm(t);if(null==e)throw Error("Element does not exist");e.appendChild(r.container)}else this.appendChildToContainer(r.container,i);return r.parentElement=this,this}afterSetMod(e,t){this.syncMod&&this.elements.forEach(r=>r.setMod(e,t))}appendChildToContainer(e,t){void 0===t||0>t||t>this.elements.length-1||null==this.container.children[t]?this.container.appendChild(e):this.container.insertBefore(e,this.container.children[t])}remove(e){const t=this.elements.indexOf(e);return-1!==t&&(this.elements.splice(t,1),s.J.safeRemove(e.container),e.parentElement=null),this}clear(){return this.elements.forEach(e=>e.destruct()),this.elements.length=0,this}destruct(){return this.clear(),super.destruct()}constructor(e,t,r){super(e,r),this.options=r,this.syncMod=!1,this.elements=[],this.buttonSize="middle",null==t||t.forEach(e=>e&&this.append(e)),(null==r?void 0:r.name)&&(this.name=r.name)}};c([(0,n.watch)("buttonSize")],d.prototype,"update",null),d=i=c([n.component],d)},62489(e,t,r){var i=r(12153),o=r(6441),n=r(49922),s=r(72144);o.T.prototype.imageeditor={min_width:20,min_height:20,closeAfterSave:!1,width:"85%",height:"85%",crop:!0,resize:!0,resizeUseRatio:!0,resizeMinWidth:20,resizeMinHeight:20,cropUseRatio:!0,cropDefaultWidth:"70%",cropDefaultHeight:"70%"},i.I.set("crop",n.A).set("resize",s.A)},62700(e,t){t.A={"Type something":"なにかタイプしてください",Advanced:"高度な設定","About Jodit":"Joditについて","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Jodit ユーザーズ・ガイド","contains detailed help for using":"詳しい使い方","For information about the license, please go to our website:":"ライセンス詳細についてはJodit Webサイトを確認ください:","Buy full version":"フルバージョンを購入","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.",Anchor:"Anchor","Open in new tab":"新しいタブで開く","Open in fullsize":"エディターのサイズ(フル/ノーマル)","Clear Formatting":"書式をクリア","Fill color or set the text color":"テキストの色",Redo:"やり直し",Undo:"元に戻す",Bold:"太字",Italic:"斜体","Insert Unordered List":"箇条書き","Insert Ordered List":"番号付きリスト","Align Center":"中央揃え","Align Justify":"両端揃え","Align Left":"左揃え","Align Right":"右揃え","Insert Horizontal Line":"区切り線を挿入","Insert Image":"画像を挿入","Insert file":"ファイルを挿入","Insert youtube/vimeo video":"Youtube/Vimeo 動画","Insert link":"リンクを挿入","Font size":"フォントサイズ","Font family":"フォント","Insert format block":"テキストのスタイル",Normal:"指定なし","Heading 1":"タイトル1","Heading 2":"タイトル2","Heading 3":"タイトル3","Heading 4":"タイトル4",Quote:"引用",Code:"コード",Insert:"挿入","Insert table":"表を挿入","Decrease Indent":"インデント減","Increase Indent":"インデント増","Select Special Character":"特殊文字を選択","Insert Special Character":"特殊文字を挿入","Paint format":"書式を貼付け","Change mode":"編集モード切替え",Margins:"マージン",top:"上",right:"右",bottom:"下",left:"左",Styles:"スタイル",Classes:"クラス",Align:"配置",Right:"右寄せ",Center:"中央寄せ",Left:"左寄せ","--Not Set--":"指定なし",Src:"ソース",Title:"タイトル",Alternative:"代替テキスト",Link:"リンク","Open link in new tab":"新しいタブで開く",Image:"画像",file:"ファイル","Image properties":"画像のプロパティー",Cancel:"キャンセル",Ok:"確定","Your code is similar to HTML. Keep as HTML?":"HTMLコードを保持しますか?","Paste as HTML":"HTMLで貼付け",Keep:"HTMLを保持",Clean:"Clean","Insert as Text":"HTMLをテキストにする","Word Paste Detected":"Word Paste Detected","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Insert only Text":"テキストだけ","File Browser":"File Browser","Error on load list":"Error on load list","Error on load folders":"Error on load folders","Are you sure?":"Are you sure?","Enter Directory name":"Enter Directory name","Create directory":"Create directory","type name":"type name","Drop image":"ここに画像をドロップ","Drop file":"ここにファイルをドロップ","or click":"or クリック","Alternative text":"代替テキスト",Browse:"ブラウズ",Upload:"アップロード",Background:"背景",Text:"文字",Top:"上",Middle:"中央",Bottom:"下","Insert column before":"左に列を挿入","Insert column after":"右に列を挿入","Insert row above":"上に行を挿入","Insert row below":"下に行を挿入","Delete table":"表を削除","Delete row":"行を削除","Delete column":"列を削除","Empty cell":"セルを空にする","Chars: %d":"文字数: %d","Words: %d":"単語数: %d","Strike through":"取り消し線",Underline:"下線",superscript:"上付き文字",subscript:"下付き文字","Cut selection":"切り取り","Select all":"すべて選択",Break:"Pause","Search for":"検索","Replace with":"置換",Replace:"交換",Paste:"貼付け","Choose Content to Paste":"選択した内容を貼付け",All:"全部",source:"source",bold:"bold",italic:"italic",brush:"brush",link:"link",undo:"undo",redo:"redo",table:"table",image:"image",eraser:"eraser",paragraph:"paragraph",fontsize:"fontsize",video:"video",font:"font",about:"about",print:"print",underline:"underline",strikethrough:"strikethrough",indent:"indent",outdent:"outdent",fullsize:"fullsize",shrink:"shrink",hr:"分割線",ul:"箇条書き",ol:"番号付きリスト",cut:"切り取り",selectall:"すべて選択","Open link":"リンクを開く","Edit link":"リンクを編集","No follow":"No follow",Unlink:"リンク解除",Eye:"サイトを確認"," URL":"URL",Reset:"リセット",Save:"保存","Save as ...":"Save as ...",Resize:"リサイズ",Crop:"Crop",Width:"幅",Height:"高さ","Keep Aspect Ratio":"縦横比を保持",Yes:"はい",No:"いいえ",Remove:"移除",Select:"選択","Select %s":"選択: %s",Update:"更新","Vertical align":"垂直方向の配置",Merge:"セルの結合","Add column":"列を追加","Add row":"行を追加",Border:"境界線","Embed code":"埋め込みコード",Delete:"削除",Edit:"編集","Horizontal align":"水平方向の配置",Filter:"Filter","Sort by changed":"Sort by changed","Sort by name":"Sort by name","Sort by size":"Sort by size","Add folder":"Add folder",Split:"分割","Split vertical":"セルの分割(垂直方向)","Split horizontal":"セルの分割(水平方向)","You can only edit your own images. Download this image on the host?":"You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!":"The image has been successfully uploaded to the host!",palette:"パレット",pencil:"鉛筆","There are no files":"There are no files",Rename:"Rename","Enter new name":"Enter new name",preview:"プレビュー",download:"ダウンロード","Paste from clipboard":"貼り付け","Your browser doesn't support direct access to the clipboard.":"お使いのブラウザはクリップボードを使用できません","Copy selection":"コピー",copy:"copy","Border radius":"角の丸み","Show all":"全て表示",Apply:"適用","Please fill out this field":"まだこの分野","Please enter a web address":"を入力してくださいウェブアドレス",Default:"デフォルト",Circle:"白丸",Dot:"黒丸",Quadrate:"四角",Find:"見","Find Previous":"探前","Find Next":"由来","Lower Alpha":"英小文字","Lower Greek":"ギリシャ文字","Lower Roman":"ローマ数字小文字","Upper Alpha":"英大文字","Upper Roman":"ローマ数字大文字","Insert className":"クラス名を挿入","Press Alt for custom resizing":"カスタムサイズ変更のためのAltキーを押します","License: %s":"ライセンス: %s"}},62770(e,t){t.A={"Type something":"Bitte geben Sie einen Text ein",Advanced:"Fortgeschritten","About Jodit":"Über Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Das Jodit Benutzerhandbuch","contains detailed help for using":"beinhaltet ausführliche Informationen wie Sie den Editor verwenden können.","For information about the license, please go to our website:":"Für Informationen zur Lizenz, besuchen Sie bitte unsere Web-Präsenz:","Buy full version":"Vollversion kaufen","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.",Anchor:"Anker","Open in new tab":"In neuer Registerkarte öffnen","Open in fullsize":"Editor in voller Größe öffnen","Clear Formatting":"Formatierung löschen","Fill color or set the text color":"Füllfarbe oder Textfarbe ändern",Redo:"Wiederholen",Undo:"Rückgängig machen",Bold:"Fett",Italic:"Kursiv","Insert Unordered List":"Unsortierte Liste einfügen","Insert Ordered List":"Nummerierte Liste einfügen","Align Center":"Mittig ausrichten","Align Justify":"Blocksatz","Align Left":"Links ausrichten","Align Right":"Rechts ausrichten","Insert Horizontal Line":"Horizontale Linie einfügen","Insert Image":"Bild einfügen","Insert file":"Datei einfügen","Insert youtube/vimeo video":"Youtube/vimeo Video einfügen","Insert link":"Link einfügen","Font size":"Schriftgröße","Font family":"Schriftfamilie","Insert format block":"Formatblock einfügen",Normal:"Normal","Heading 1":"Überschrift 1","Heading 2":"Überschrift 2","Heading 3":"Überschrift 3","Heading 4":"Überschrift 4",Quote:"Zitat",Code:"Code",Insert:"Einfügen","Insert table":"Tabelle einfügen","Decrease Indent":"Einzug verkleinern","Increase Indent":"Einzug vergrößern","Select Special Character":"Sonderzeichen auswählen","Insert Special Character":"Sonderzeichen einfügen","Paint format":"Format kopieren","Change mode":"Änderungsmodus",Margins:"Ränder",top:"Oben",right:"Rechts",bottom:"Unten",left:"Links",Styles:"CSS Stil",Classes:"CSS Klassen",Align:"Ausrichtung",Right:"Rechts",Center:"Zentriert",Left:"Links","--Not Set--":"Keine",Src:"Pfad",Title:"Titel",Alternative:"Alternativer Text",Link:"Link","Open link in new tab":"Link in neuem Tab öffnen",Image:"Bild",file:"Datei","Image properties":"Bildeigenschaften",Cancel:"Abbrechen",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Ihr Text ähnelt HTML-Code. Als HTML beibehalten?","Paste as HTML":"Als HTML einfügen?",Keep:"Original speichern",Clean:"Säubern","Insert as Text":"Als Text einfügen","Word Paste Detected":"In Word formatierter Text erkannt","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Der Inhalt, den Sie einfügen, stammt aus einem Microsoft Word / Excel-Dokument. Möchten Sie das Format erhalten oder bereinigen?","Insert only Text":"Nur Text einfügen","File Browser":"Dateibrowser","Error on load list":"Fehler beim Laden der Liste","Error on load folders":"Fehler beim Laden der Ordner","Are you sure?":"Sind Sie sicher?","Enter Directory name":"Geben Sie den Verzeichnisnamen ein","Create directory":"Verzeichnis erstellen","type name":"Typname","Drop image":"Bild hier hinziehen","Drop file":"Datei löschen","or click":"oder hier klicken","Alternative text":"Alternativtext",Browse:"Auswählen",Upload:"Hochladen",Background:"Hintergrund",Text:"Text",Top:"Oben",Middle:"Mittig",Bottom:"Unten","Insert column before":"Spalte davor einfügen","Insert column after":"Spalte danach einfügen","Insert row above":"Zeile oberhalb einfügen","Insert row below":"Zeile unterhalb einfügen","Delete table":"Tabelle löschen","Delete row":"Zeile löschen","Delete column":"Spalte löschen","Empty cell":"Zelle leeren",Delete:"Löschen","Strike through":"Durchstreichen",Underline:"Unterstreichen",Break:"Pause","Search for":"Suche nach","Replace with":"Ersetzen durch",Replace:"Ersetzen",Edit:"Bearbeiten","Vertical align":"Vertikale Ausrichtung","Horizontal align":"Horizontale Ausrichtung",Filter:"Filter","Sort by changed":"Sortieren nach geändert","Sort by name":"Nach Name sortieren","Sort by size":"Nach Größe sortiert","Add folder":"Ordner hinzufügen","Split vertical":"Vertikal unterteilen","Split horizontal":"Horizontal unterteilen",Split:"Unterteilen",Merge:"Vereinen","Add column":"Spalte hinzufügen","Add row":"Zeile hinzufügen",Border:"Rand","Embed code":"Code einbetten",Update:"Aktualisieren",superscript:"Hochstellen",subscript:"Tiefstellen","Cut selection":"Auswahl ausschneiden",Paste:"Einfügen","Choose Content to Paste":"Wählen Sie den Inhalt zum Einfügen aus","Chars: %d":"Zeichen: %d","Words: %d":"Wörter: %d",All:"Alles markieren","Select %s":"Markieren: %s","Select all":"Alles markieren",source:"HTML",bold:"Fett gedruckt",italic:"Kursiv",brush:"Bürste",link:"Verknüpfung",undo:"Rückgängig machen",redo:"Wiederholen",table:"Tabelle",image:"Bild",eraser:"Radiergummi",paragraph:"Absatz",fontsize:"Schriftgröße",video:"Video",font:"Schriftart",about:"Über",print:"Drucken",underline:"Unterstreichen",strikethrough:"Durchstreichen",indent:"Einzug",outdent:"Herausstellen",fullsize:"Vollgröße",shrink:"Schrumpfen",hr:"die Linie",ul:"Liste von",ol:"Nummerierte Liste","Lower Alpha":"Standard, Alphabet (klein)","Upper Alpha":"Standard, Alphabet (gross)","Lower Roman":"Römisch (klein)","Upper Roman":"Römisch (gross)","Lower Greek":"Griechisch",cut:"Schneiden",selectall:"Wählen Sie Alle aus","Open link":"Link öffnen","Edit link":"Link bearbeiten","No follow":"Nofollow-Attribut",Unlink:"Link entfernen",Eye:"Ansehen",pencil:"Bearbeiten"," URL":"URL",Reset:"Wiederherstellen",Save:"Speichern","Save as ...":"Speichern als",Resize:"Größe ändern",Crop:"Größe anpassen",Width:"Breite",Height:"Höhe","Keep Aspect Ratio":"Seitenverhältnis beibehalten",Yes:"Ja",No:"Nein",Remove:"Entfernen",Select:"Markieren","You can only edit your own images. Download this image on the host?":"Sie können nur Ihre eigenen Bilder bearbeiten. Dieses Bild auf den Host herunterladen?","The image has been successfully uploaded to the host!":"Das Bild wurde erfolgreich auf den Server hochgeladen!",palette:"Palette","There are no files":"In diesem Verzeichnis befinden sich keine Dateien.",Rename:"Umbenennen","Enter new name":"Geben Sie einen neuen Namen ein",preview:"Vorschau",download:"Herunterladen","Paste from clipboard":"Aus Zwischenablage einfügen","Your browser doesn't support direct access to the clipboard.":"Ihr Browser unterstützt keinen direkten Zugriff auf die Zwischenablage.","Copy selection":"Auswahl kopieren",copy:"Kopieren","Border radius":"Radius für abgerundete Ecken","Show all":"Alle anzeigen",Apply:"Anwenden","Please fill out this field":"Bitte füllen Sie dieses Feld aus","Please enter a web address":"Bitte geben Sie eine Web-Adresse ein",Default:"Standard",Circle:"Kreis",Dot:"Punkte",Quadrate:"Quadrate",Find:"Suchen","Find Previous":"Suche vorherige","Find Next":"Weitersuchen","Insert className":"className (CSS) einfügen","Press Alt for custom resizing":"Drücken Sie Alt für benutzerdefinierte Größenanpassung","License: %s":"Lizenz: %s"}},62843(e,t,r){r.d(t,{$n(){return i.$n},SB(){return n.S},lD(){return i.lD},ss(){return o.s},ue(){return i.ue}});var i=r(10830),o=r(71916),n=r(57340)},62845(e,t,r){r.d(t,{E(){return s}});var i=r(82758),o=r(2748),n=r(63785);function s(e,t,r){let n=t,s=n;for(;n&&!o.J.findNotEmptySibling(n,r)&&n.parentElement!==e.editor;)n=n.parentElement,s=n;if(o.J.isElement(s)&&o.J.isContentEditable(s,e.editor)){const n=o.J.findNotEmptySibling(s,r);if(n&&(((e,t,r,n)=>{const s=o.J.isTag(r,i.LIST_TAGS),l=o.J.isTag(t,i.LIST_TAGS),c=(e,t)=>t?e.firstElementChild:e.lastElementChild;return l?(r=e.createInside.element(e.o.enterBlock),o.J.before(t,r),a(e,c(t,n),r,n)):!(!r||!s||l)&&a(e,t,c(r,!n),n)})(e,s,n,r)||a(e,s,n,r)))return e.s.setCursorBefore(t),!0}return!1}function a(e,t,r,i){if(t&&o.J.isElement(r)){o.J.moveContent(t,r,!i,(0,n.g)(e));let s=t;for(;s&&s!==e.editor&&o.J.isEmpty(s);){const e=s.parentElement;o.J.safeRemove(s),s=e}return!0}return!1}},63399(e,t,r){r.d(t,{S(){return n},V(){return s}});var i=r(80870),o=r(11787);function n(e,t){return new o.A(e,t)}function s(e){return new i.t(e)}},63687(e,t,r){r.d(t,{$s(){return c.$s},AS(){return s.A},Dd(){return l.D},EF(){return o.E},G6(){return n.G},LV(){return p.L},M6(){return l.M},Yx(){return u.Y},iu(){return a.i},ks(){return d.k},tm(){return h.t},yP(){return i.y}});var i=r(32526),o=r(49996),n=r(23738),s=r(44602),a=(r(22030),r(64291)),l=(r(29136),r(94466)),c=r(97380),d=r(20199),u=(r(82515),r(44253)),h=r(75882),p=r(19263);r(6980)},63785(e,t,r){r.d(t,{g(){return n},s(){return o}});var i=r(22732);function o(e,t,r,o=!1){const n=e=>t?e.firstChild:e.lastChild;let s=i.J.findNotEmptyNeighbor(e,!t,r);if(o&&i.J.isElement(s)&&!i.J.isInlineBlock(s))return null;if(s)do{if(!n(s))return s;s=n(s)}while(s);return null}function n(e){return t=>!0!==e.e.fire("backSpaceIsMovedIgnore",t)}},63799(e,t,r){r.d(t,{EW(){return n},Qt(){return c},S5(){return l},w4(){return a},x_(){return d}});var i=r(70799),o=r(66292);const n=new Map,s=e=>(t,r)=>{if(n.has(r))return n.get(r);const i=e(t,r);return n.set(r,i),i},a=s((e,t)=>e.async.promise((r,i)=>{if(e.isInDestruct)return i();const n=e.c.element("script",{type:"text/javascript",crossorigin:"anonymous",referrerpolicy:"no-referrer",async:!0,src:(0,o.X)(t)});e.e.one(n,"error",i).one(n,"load",r),e.od.body.appendChild(n)})),l=s((e,t)=>e.async.promise((r,i)=>{if(e.isInDestruct)return i();const n=e.c.element("link");n.rel="stylesheet",n.media="all",n.crossOrigin="anonymous",!e.isInDestruct&&e.e.on(n,"load",()=>r(n)).on(n,"error",i),n.href=(0,o.X)(t),e.o.shadowRoot?e.o.shadowRoot.appendChild(n):e.od.body.appendChild(n)}));function c(e,t,r=0){return(0,i.K)(t[r])?a(e,t[r]).then(()=>c(e,t,r+1)):Promise.resolve()}function d(e,t,r=0){return(0,i.K)(t[r])?l(e,t[r]).then(()=>d(e,t,r+1)):Promise.resolve()}},64291(e,t,r){r.d(t,{i(){return o}});var i=r(2748);function o(e,t){return!!i.J.closest(e,["style","script"],t)}},64310(e,t,r){r(6441).T.prototype.pasteFromWord={enable:!1,convertUnitsToPixel:!1,allowedStyleProps:["background","background-color","border","border-.*","color","float","font-family","font-size","font-style","font-weight","height","line-height","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","padding","text-align","text-justify","text-decoration","text-indent","vertical-align","width"]}},64489(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 896q0 156-61 298t-164 245-245 164-298 61q-172 0-327-72.5t-264-204.5q-7-10-6.5-22.5t8.5-20.5l137-138q10-9 25-9 16 2 23 12 73 95 179 147t225 52q104 0 198.5-40.5t163.5-109.5 109.5-163.5 40.5-198.5-40.5-198.5-109.5-163.5-163.5-109.5-198.5-40.5q-98 0-188 35.5t-160 101.5l137 138q31 30 14 69-17 40-59 40h-448q-26 0-45-19t-19-45v-448q0-42 40-59 39-17 69 14l130 129q107-101 244.5-156.5t284.5-55.5q156 0 298 61t245 164 164 245 61 298z"/> </svg> '},64837(e,t,r){var i=r(65478),o=r(580),n=r(50911),s=(r(57951),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});class a extends n.k{afterInit(e){e.registerCommand("insertUnorderedList",this.onCommand).registerCommand("insertOrderedList",this.onCommand)}onCommand(e,t,r){return this.jodit.s.commitStyle({element:"insertunorderedlist"===e?"ul":"ol",attributes:{style:{listStyleType:null!=r?r:null}}}),this.jodit.synchronizeValues(),!1}beforeDestruct(e){}constructor(){super(...arguments),this.buttons=[{name:"ul",group:"list"},{name:"ol",group:"list"}]}}s([i.autobind],a.prototype,"onCommand",null),o.fg.add("orderedList",a)},65181(e,t,r){r.d(t,{c(){return s}});var i=r(2748),o=r(76078),n=r(44245);function s(e,t,r){const s=i.J.closest(r,["ol","ul"],t.editor);if(!s)return;const a=s.parentElement,l=i.J.isLeaf(a),c=l?a:s,d=t.s.createRange();d.setStartAfter(r),d.setEndAfter(s);const u=d.extractContents();i.J.after(c,e),i.J.safeRemove(r),(0,o.$$)("li",s).length||i.J.safeRemove(s);const h=(0,n.y)(e,t,l?"li":t.o.enter);u.querySelector("li")&&(l?h.appendChild(u):i.J.after(h,u))}},65478(e,t,r){r.r(t),r.d(t,{autobind(){return i.d},cache(){return o.PP},cacheHTML(){return o.OK},cached(){return o.PO},component(){return n.s},debounce(){return s.s},derive(){return a.C},getPropertyDescriptor(){return p.N},hook(){return l.A},idle(){return c.N},nonenumerable(){return d.m},persistent(){return u.y},throttle(){return s.n},wait(){return h.u},watch(){return p.w}});var i=r(45219),o=r(33433),n=r(87325),s=r(81577),a=r(55153),l=r(97357),c=r(78927),d=r(31589),u=r(53213),h=r(13525),p=r(37133)},65517(e,t,r){var i=r(65478),o=r(22732),n=r(580),s=r(21537),a=r(50911),l=(r(5827),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});class c extends a.k{afterInit(e){e.o.link.followOnDblClick&&e.e.on("dblclick.link",this.__onDblClickOnLink),e.e.on(e.editor,"click.link",this.__onClickReadOnlyLink),e.o.link.processPastedLink&&e.e.on("processPaste.link",this.onProcessPasteLink),e.e.on("generateLinkForm.link",this.__generateForm),e.registerCommand("openLinkDialog",{exec:()=>{const t=e.dlg({resizable:!1}),r=this.__generateForm(e.s.current(),()=>{t.close()});r.container.classList.add("jodit-dialog_alert"),t.setContent(r),t.open(),e.async.requestIdleCallback(()=>{const{url_input:e}=(0,s.refs)(r.container);null==e||e.focus()})},hotkeys:e.o.link.hotkeys})}__onDblClickOnLink(e){if(!o.J.isTag(e.target,"a"))return;const t=(0,s.attr)(e.target,"href");t&&(location.href=t,e.preventDefault())}onProcessPasteLink(e,t){var r,i,o,n;const{jodit:a}=this;if((0,s.isURL)(t)&&a.o.link.processPastedLink){if(a.e.stopPropagation("processPaste"),a.o.link.processVideoLink){const e=(0,s.call)(null!==(i=null===(r=a.o.video)||void 0===r?void 0:r.parseUrlToVideoEmbed)&&void 0!==i?i:s.convertMediaUrlToVideoEmbed,t,{width:null===(o=a.o.video)||void 0===o?void 0:o.defaultWidth,height:null===(n=a.o.video)||void 0===n?void 0:n.defaultHeight});if(e!==t)return a.createInside.fromHTML(e)}if(a.s.isCollapsed()){const e=a.createInside.element("a");return e.setAttribute("href",t),e.textContent=t,a.e.fire("applyLink",a,e,null),e}return a.s.commitStyle({element:"a",attributes:{href:t}}),!0}}__generateForm(e,t){const{jodit:r}=this,i=r.i18n.bind(r),{openInNewTabCheckbox:n,noFollowCheckbox:a,formTemplate:l,formClassName:c,modeClassName:d}=r.o.link,u=l(r),h=(0,s.isString)(u)?r.c.fromHTML(u,{target_checkbox_box:n,nofollow_checkbox_box:a}):u,p=o.J.isElement(h)?h:h.container,f=(0,s.refs)(p),{insert:m,unlink:g,content_input_box:v}=f,{target_checkbox:b,nofollow_checkbox:y,url_input:w}=f,_=o.J.isImage(e);let{content_input:k}=f;const{className_input:C}=f,{className_select:S}=f;let T;k||(k=r.c.element("input",{type:"hidden",ref:"content_input"})),c&&p.classList.add(c),_&&o.J.hide(v);const E=()=>T?T.innerText:(0,s.stripTags)(r.s.range.cloneContents(),r.ed);T=!(!e||!o.J.closest(e,"a",r.editor))&&o.J.closest(e,"a",r.editor),!_&&e&&(k.value=E()),T?(w.value=(0,s.attr)(T,"href")||"",d&&((e,t,r,i)=>{switch(e){case"input":t&&(t.value=(0,s.attr)(r,"class")||"");break;case"select":if(i){for(let e=0;i.selectedOptions.length>e;e++){const t=i.options.item(e);t&&(t.selected=!1)}((0,s.attr)(r,"class")||"").split(" ").forEach(e=>{if(e)for(let t=0;i.options.length>t;t++){const r=i.options.item(t);(null==r?void 0:r.value)&&r.value===e&&(r.selected=!0)}})}}})(d,C,T,S),n&&b&&(b.checked="_blank"===(0,s.attr)(T,"target")),a&&y&&(y.checked="nofollow"===(0,s.attr)(T,"rel")),m.textContent=i("Update")):o.J.hide(g),r.editor.normalize();const I=r.history.snapshot.make();g&&r.e.on(g,"click",e=>{r.s.restore(),r.history.snapshot.restore(I),T&&o.J.unwrap(T),r.synchronizeValues(),t(),e.preventDefault()});const A=()=>{if(!w.value.trim().length)return w.focus(),w.classList.add("jodit_error"),!1;let e;r.s.restore(),r.s.removeMarkers(),r.editor.normalize(),r.history.snapshot.restore(I);const i=E()!==k.value.trim(),l=r.createInside;if(T&&o.J.isOrContains(r.editor,T))e=[T];else{if(r.s.isCollapsed()){const t=l.element("a");r.s.insertNode(t,!1,!1),e=[t]}else{const t=r.s.current();e=o.J.isTag(t,"img")?[o.J.wrap(t,"a",l)]:r.s.wrapInTag("a")}e.forEach(e=>r.s.select(e))}return e.forEach(e=>{(0,s.attr)(e,"href",w.value),((e,t,r,i)=>{var o;if(e&&(null!=t?t:r))if("input"===e)""===t.value&&i.hasAttribute("class")&&(0,s.attr)(i,"class",null),""!==t.value&&(0,s.attr)(i,"class",t.value);else if("select"===e){i.hasAttribute("class")&&(0,s.attr)(i,"class",null);for(let e=0;r.selectedOptions.length>e;e++){const t=null===(o=r.selectedOptions.item(e))||void 0===o?void 0:o.value;t&&i.classList.add(t)}}})(d,C,S,e),_||((e,t,r,i)=>{let o=e.textContent;t.value.trim().length?r&&(o=t.value):o=i.value,o!==e.textContent&&(e.textContent=o)})(e,k,i,w),n&&b&&(0,s.attr)(e,"target",b.checked?"_blank":null),a&&y&&(0,s.attr)(e,"rel",y.checked?"nofollow":null),r.e.fire("applyLink",r,e,h)}),r.synchronizeValues(),t(),!1};return o.J.isElement(h)?r.e.on(h,"submit",e=>(e.preventDefault(),e.stopImmediatePropagation(),A(),!1)):h.onSubmit(A),h}beforeDestruct(e){e.e.off("generateLinkForm.link",this.__generateForm).off("dblclick.link",this.__onDblClickOnLink).off(e.editor,"click.link",this.__onClickReadOnlyLink).off("processPaste.link",this.onProcessPasteLink)}__onClickReadOnlyLink(e){const{jodit:t}=this;t.o.readonly&&t.o.link.preventReadOnlyNavigation&&o.J.isTag(e.target,"a")&&e.preventDefault()}constructor(){super(...arguments),this.buttons=[{name:"link",group:"insert"}]}}l([i.autobind],c.prototype,"__onDblClickOnLink",null),l([i.autobind],c.prototype,"onProcessPasteLink",null),l([i.autobind],c.prototype,"__generateForm",null),l([i.autobind],c.prototype,"__onClickReadOnlyLink",null),n.fg.add("link",c)},65638(e,t,r){r.d(t,{I(){return i},O(){return o}});const i=(()=>{let e;return()=>(void 0===e&&(e=(()=>{const e="___Jodit___"+Math.random();try{localStorage.setItem(e,"1");const t="1"===localStorage.getItem(e);return localStorage.removeItem(e),t}catch(e){}return!1})()),e)})();class o{set(e,t){try{const r=localStorage.getItem(this.rootKey),i=r?JSON.parse(r):{};i[e]=t,localStorage.setItem(this.rootKey,JSON.stringify(i))}catch(e){}return this}delete(e){try{localStorage.removeItem(this.rootKey)}catch(e){}return this}get(e){try{const t=localStorage.getItem(this.rootKey),r=t?JSON.parse(t):{};return void 0!==r[e]?r[e]:void 0}catch(e){}}exists(e){return null!=this.get(e)}clear(){try{localStorage.removeItem(this.rootKey)}catch(e){}return this}constructor(e){this.rootKey=e}}},65735(e,t,r){var i=r(37133),o=r(580),n=r(50911),s=(r(9045),r(46124)),a=r(43267),l=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};class c extends n.k{afterInit(e){}beforeDestruct(e){}__onBeforeInsertNode(e){Object.keys(a).forEach(t=>{a[t](this.j,e)})}__onAfterInsertNode(e){Object.keys(s).forEach(t=>{s[t](this.j,e)})}}l([(0,i.w)(":beforeInsertNode")],c.prototype,"__onBeforeInsertNode",null),l([(0,i.w)(":afterInsertNode")],c.prototype,"__onAfterInsertNode",null),o.fg.add("dtd",c)},65917(e,t,r){var i=r(6441);i.T.prototype.controls.font.list={"'Andale mono', monospace'":"Andale Mono","Arial, Helvetica, sans-serif":"Arial","'Arial black', sans-serif":"Arial Black","'Book antiqua', palatino, serif":"Book Antiqua","'Comic Sans MS', sans-serif":"Comic Sans MS","'Courier new', Courier, monospace":"Courier New","Georgia, Palatino, serif":"Georgia","Helvetica, Arial, sans-serif":"Helvetica","Impact, Charcoal, sans-serif":"Impact","Symbol, sans-serif":"Symbol","Tahoma, Arial, Helvetica, sans-serif":"Tahoma","Terminal, Monaco, monospace":"Terminal","'Times new roman', Times, serif":"Times New Roman","'Trebuchet ms', Geneva, sans-serif":"Trebuchet MS","Verdana, Geneva, sans-serif":"Verdana",Webdings:"Webdings","Wingdings, 'Zapf dingbats'":"Wingdings"},i.T.prototype.loadExternalConfig=!0},66288(e,t,r){r(6441).T.prototype.tab={tabInsideLiInsertNewList:!0}},66292(e,t,r){r.d(t,{X(){return o}});var i=r(82758);const o=e=>("file:"===i.globalWindow.location.protocol&&/^\/\//.test(e)&&(e="https:"+e),e)},66465(e,t,r){r.d(t,{m(){return o}});var i=r(49055);const o=e=>!!(0,i.Bq)(e.value).length||(e.error="Please fill out this field",!1)},66707(e,t,r){var i=r(22732),o=r(580),n=r(21537),s=r(49055),a=r(50911);class l extends a.k{afterInit(e){e.e.on("afterCommand.delete",e=>{"delete"===e&&this.__afterDeleteCommand()}),e.registerCommand("delete",{exec:this.__onDeleteCommand.bind(this)},{stopPropagation:!1})}beforeDestruct(e){e.e.off("afterCommand.delete")}__afterDeleteCommand(){const e=this.j,t=e.s.current();if(t&&i.J.isTag(t.firstChild,"br")&&e.s.removeNode(t.firstChild),!((0,s.Bq)(e.editor.textContent||"")||e.editor.querySelector("img,table,jodit,iframe,hr")||t&&i.J.closest(t,"table",e.editor))){e.editor.innerHTML="";const t=e.s.setCursorIn(e.editor);e.s.removeNode(t)}}__onDeleteCommand(){const{jodit:e}=this;if(e.s.isCollapsed())return;e.s.expandSelection();const t=e.s.range;t.deleteContents();const r=e.createInside.fake();t.insertNode(r);const o=i.J.findSibling(r,!0),n=i.J.findSibling(r,!1);return this.__moveContentInLeftSibling(r,o,n),t.setStartBefore(r),t.collapse(!0),this.__moveCursorInEditableSibling(e,o,r,t),this.__addBrInEmptyBlock(r,n,t),i.J.safeRemove(r),e.s.selectRange(t),!1}__moveContentInLeftSibling(e,t,r){t=this.__defineRightLeftBox(t),!i.J.isList(r)&&!i.J.isTag(r,"table")&&i.J.isBlock(r)&&i.J.isBlock(t)&&(i.J.append(t,e),i.J.moveContent(r,t),i.J.safeRemove(r)),i.J.isList(r)&&i.J.isLeaf(r.firstElementChild)&&i.J.isEmpty(r.firstElementChild)&&i.J.safeRemove(r.firstElementChild)}__defineRightLeftBox(e){if(!i.J.isList(e))return e;let t=e.lastElementChild;return i.J.isLeaf(t)||(t=this.j.createInside.element("li"),i.J.append(e,t)),t}__addBrInEmptyBlock(e,t,r){const o=this.j;if(e.isConnected&&i.J.isBlock(e.parentNode)&&!e.nextSibling&&!e.previousSibling){const t=o.createInside.element("br");i.J.after(e,t),r.setStartBefore(t),r.collapse(!0)}if(i.J.isTag(t,"table")){const e=(0,n.$$)("td,th",t).shift();i.J.isCell(e)&&i.J.isEmpty(e)&&i.J.append(e,o.createInside.element("br"))}}__moveCursorInEditableSibling(e,t,r,o){var n;if(!t||!i.J.isText(t)){const t=null!==(n=i.J.closest(r,i.J.isBlock,e.editor))&&void 0!==n?n:e.editor,s=i.J.prev(r,i.J.isText,t);s&&(o.setStartAfter(s),o.collapse(!0),i.J.safeRemove(r))}}}l.requires=["backspace"],o.fg.add("deleteCommand",l)},66789(e,t,r){var i=r(20882);t.A=[{name:"bin",tooltip:"Delete",exec(e,t){t&&e.s.removeNode(t)}},i.M]},66863(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 256v448q0 26-19 45t-45 19h-448q-42 0-59-40-17-39 14-69l138-138q-148-137-349-137-104 0-198.5 40.5t-163.5 109.5-109.5 163.5-40.5 198.5 40.5 198.5 109.5 163.5 163.5 109.5 198.5 40.5q119 0 225-52t179-147q7-10 23-12 14 0 25 9l137 138q9 8 9.5 20.5t-7.5 22.5q-109 132-264 204.5t-327 72.5q-156 0-298-61t-245-164-164-245-61-298 61-298 164-245 245-164 298-61q147 0 284.5 55.5t244.5 156.5l130-129q29-31 70-14 39 17 39 59z"/> </svg> '},67078(e,t){t.A={"Type something":"Írjon be valamit",Advanced:"Haladó","About Jodit":"Joditról","Jodit Editor":"Jodit Editor","Free Non-commercial Version":"Ingyenes változat","Jodit User's Guide":"Jodit útmutató","contains detailed help for using":"további segítséget tartalmaz","For information about the license, please go to our website:":"További licence információkért látogassa meg a weboldalunkat:","Buy full version":"Teljes verzió megvásárlása","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Minden jog fenntartva.",Anchor:"Horgony","Open in new tab":"Megnyitás új lapon","Open in fullsize":"Megnyitás teljes méretben","Clear Formatting":"Formázás törlése","Fill color or set the text color":"Háttér/szöveg szín",Redo:"Újra",Undo:"Visszavon",Bold:"Félkövér",Italic:"Dőlt","Insert Unordered List":"Pontozott lista","Insert Ordered List":"Számozott lista","Align Center":"Középre zárt","Align Justify":"Sorkizárt","Align Left":"Balra zárt","Align Right":"Jobbra zárt","Insert Horizontal Line":"Vízszintes vonal beszúrása","Insert Image":"Kép beszúrás","Insert file":"Fájl beszúrás","Insert youtube/vimeo video":"Youtube videó beszúrása","Insert link":"Link beszúrás","Font size":"Betűméret","Font family":"Betűtípus","Insert format block":"Formázott blokk beszúrása",Normal:"Normál","Heading 1":"Fejléc 1","Heading 2":"Fejléc 2","Heading 3":"Fejléc 3","Heading 4":"Fejléc 4",Quote:"Idézet",Code:"Kód",Insert:"Beszúr","Insert table":"Táblázat beszúrása","Decrease Indent":"Behúzás csökkentése","Increase Indent":"Behúzás növelése","Select Special Character":"Speciális karakter kiválasztása","Insert Special Character":"Speciális karakter beszúrása","Paint format":"Kép formázása","Change mode":"Nézet váltása",Print:"Nyomtatás",Margins:"Szegélyek",top:"felső",right:"jobb",bottom:"alsó",left:"bal",Styles:"CSS stílusok",Classes:"CSS osztályok",Align:"Igazítás",Right:"Jobbra",Center:"Középre",Left:"Balra","--Not Set--":"Nincs",Src:"Forrás",Title:"Cím",Alternative:"Helyettesítő szöveg",Link:"Link","Open link in new tab":"Link megnyitása új lapon",Image:"Kép",file:"Fájl","Image properties":"Kép tulajdonságai",Cancel:"Mégsem",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"A beillesztett szöveg HTML-nek tűnik. Megtartsuk HTML-ként?","Paste as HTML":"Beszúrás HTML-ként",Keep:"Megtartás",Clean:"Elvetés","Insert as Text":"Beszúrás szövegként","Word Paste Detected":"Word-ből másolt szöveg","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"A beillesztett tartalom Microsoft Word/Excel dokumentumból származik. Meg szeretné tartani a formátumát?","Insert only Text":"Csak szöveg beillesztése","File Browser":"Fájl tallózó","Error on load list":"Hiba a lista betöltése közben","Error on load folders":"Hiba a mappák betöltése közben","Are you sure?":"Biztosan ezt szeretné?","Enter Directory name":"Írjon be egy mappanevet","Create directory":"Mappa létrehozása","type name":"írjon be bevet","Drop image":"Húzza ide a képet","Drop file":"Húzza ide a fájlt","or click":"vagy kattintson","Alternative text":"Helyettesítő szöveg",Browse:"Tallóz",Upload:"Feltölt",Background:"Háttér",Text:"Szöveg",Top:"Fent",Middle:"Középen",Bottom:"Lent","Insert column before":"Oszlop beszúrás elé","Insert column after":"Oszlop beszúrás utána","Insert row above":"Sor beszúrás fölé","Insert row below":"Sor beszúrás alá","Delete table":"Táblázat törlése","Delete row":"Sor törlése","Delete column":"Oszlop törlése","Empty cell":"Cella tartalmának törlése",Delete:"Törlés","Strike through":"Áthúzott",Underline:"Aláhúzott",Break:"Szünet","Search for":"Keresés","Replace with":"Csere erre",Replace:"Cserélje ki",Edit:"Szerkeszt","Vertical align":"Függőleges igazítás","Horizontal align":"Vízszintes igazítás",Filter:"Szűrő","Sort by changed":"Rendezés módosítás szerint","Sort by name":"Rendezés név szerint","Sort by size":"Rendezés méret szerint","Add folder":"Mappa hozzáadás","Split vertical":"Függőleges felosztás","Split horizontal":"Vízszintes felosztás",Merge:"Összevonás","Add column":"Oszlop hozzáadás","Add row":"Sor hozzáadás",Border:"Szegély","Embed code":"Beágyazott kód",Update:"Frissít",superscript:"Felső index",subscript:"Alsó index","Cut selection":"Kivágás",Paste:"Beillesztés","Choose Content to Paste":"Válasszon tartalmat a beillesztéshez",Split:"Felosztás","Chars: %d":"Karakterek száma: %d","Words: %d":"Szavak száma: %d",All:"Összes","Select %s":"Kijelöl: %s","Select all":"Összes kijelölése",source:"HTML",bold:"Félkövér",italic:"Dőlt",brush:"Ecset",link:"Link",undo:"Visszavon",redo:"Újra",table:"Táblázat",image:"Kép",eraser:"Törlés",paragraph:"Paragráfus",fontsize:"Betűméret",video:"Videó",font:"Betű",about:"Rólunk",print:"Nyomtat",underline:"Aláhúzott",strikethrough:"Áthúzott",indent:"Behúzás",outdent:"Aussenseiter",fullsize:"Teljes méret",shrink:"Összenyom",hr:"Egyenes vonal",ul:"Lista",ol:"Számozott lista",cut:"Kivág",selectall:"Összes kijelölése","Open link":"Link megnyitása","Edit link":"Link szerkesztése","No follow":"Nincs követés",Unlink:"Link leválasztása",Eye:"felülvizsgálat",pencil:"Szerkesztés"," URL":"URL",Reset:"Visszaállít",Save:"Mentés","Save as ...":"Mentés másként...",Resize:"Átméretezés",Crop:"Kivág",Width:"Szélesség",Height:"Magasság","Keep Aspect Ratio":"Képarány megtartása",Yes:"Igen",No:"Nem",Remove:"Eltávolít",Select:"Kijelöl","You can only edit your own images. Download this image on the host?":"Csak a saját képeit tudja szerkeszteni. Letölti ezt a képet?","The image has been successfully uploaded to the host!":"Kép sikeresen feltöltve!",palette:"Palette","There are no files":"Er zijn geen bestanden in deze map.",Rename:"átnevezés","Enter new name":"Adja meg az új nevet",preview:"előnézet",download:"Letöltés","Paste from clipboard":"Illessze be a vágólap","Your browser doesn't support direct access to the clipboard.":"A böngésző nem támogatja a közvetlen hozzáférést biztosít a vágólapra.","Copy selection":"Másolás kiválasztása",copy:"másolás","Border radius":"Határ sugár","Show all":"Összes",Apply:"Alkalmazni","Please fill out this field":"Kérjük, töltse ki ezt a mezőt,","Please enter a web address":"Kérjük, írja be a webcímet",Default:"Alapértelmezett",Circle:"Kör",Dot:"Pont",Quadrate:"Quadrate",Find:"Találni","Find Previous":"Megtalálja Előző","Find Next":"Következő Keresése","Insert className":"Helyezze be az osztály nevét","Press Alt for custom resizing":"Nyomja meg az Alt egyéni átméretezés","License: %s":"Licenc: %s"}},67215(e,t,r){r(6441).T.prototype.select={normalizeSelectionBeforeCutAndCopy:!1,normalizeTripleClick:!0}},67290(e,t,r){r.d(t,{CP(){return n.C},Ue(){return i.U},bk(){return s.b},z4(){return o.z}});var i=r(62405),o=r(24536),n=r(92113),s=r(34244)},67462(e,t,r){function i(e,t={}){if("object"!=typeof e)return e+"";const r=new Set(t.excludeKeys),i=new WeakMap;return JSON.stringify(e,(e,t)=>{if(!r.has(e)){if("object"==typeof t&&null!=t){if(i.get(t))return"[refObject]";i.set(t,!0)}return t}},t.prettify)}r.d(t,{A(){return i}})},67477(e,t,r){r.d(t,{H(){return o}});var i=r(82758);function o(e,t,r=0,o=1){let n=0,s=0,a=-1,l=0,c=0;for(s=r;e.length>n&&t.length>s;)e[n].toLowerCase()===t[s].toLowerCase()?(n++,l++,c=0,-1===a&&(a=s)):n>0&&(o>c||t[s]===i.INVISIBLE_SPACE?(c++,l++):(n=0,a=-1,l=0,c=0,s--)),s++;return n===e.length?[a,l]:[-1,0]}},67510(e,t,r){r.d(t,{$6(){return n.$6},$n(){return i.$n},CP(){return s.CP},D$(){return o.D},F0(){return n.F0},In(){return a.I},SB(){return i.SB},Ue(){return s.Ue},XV(){return n.XV},Yh(){return n.Yh},bk(){return s.bk},cY(){return n.cY},lD(){return i.lD},nE(){return n.nE},ss(){return i.ss},tS(){return n.tS},ue(){return i.ue},z2(){return c.z},z4(){return s.z4},zD(){return l.z}});var i=r(62843),o=r(48538),n=r(2525),s=r(67290),a=r(12153),l=r(61259),c=r(23769)},68034(e,t,r){r.d(t,{B(){return n}});var i=r(2748),o=r(43555);function n(e,t,r){var n;const s=i.J.closest(t,i.J.isElement,e.editor),{s:a}=e;if(i.J.isLeaf(s)&&(null===(n=null==s?void 0:s.parentElement)||void 0===n?void 0:n[r?"firstElementChild":"lastElementChild"])===s&&a.cursorInTheEdge(r,s)){const n=s.parentElement,l=e.createInside.element(e.o.enterBlock);return(0,o.T1)(r?i.J.before:i.J.after,n,l),i.J.moveContent(s,l),i.J.safeRemove(s),i.J.isEmpty(n)&&i.J.safeRemove(n),(0,o.T1)(r?a.setCursorBefore:a.setCursorAfter,t),!0}return!1}},68252(e,t,r){var i=r(6441);i.T.prototype.allowResizeX=!1,i.T.prototype.allowResizeY=!0},68345(e,t,r){function i(e){return Array.isArray(e)}r.d(t,{c(){return i}})},68389(e,t,r){r.d(t,{C(){return n}});var i=r(87325),o=r(67510);let n=class e extends o.D${className(){return"UIMessage"}constructor(e,t){super(e),this.setMod("active",!0),this.setMod("variant",t.variant),this.container.textContent=t.text}};n=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([i.s],n)},68687(e,t,r){var i=r(82758),o=r(65478),n=r(2748),s=r(580),a=r(21537),l=r(20356),c=(r(48038),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});const d=!i.IS_ES_NEXT&&i.IS_IE;class u extends l.k{afterInit(e){e.e.on(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.__onScroll).on("getStickyState.sticky",()=>this.__isToolbarStuck)}__onScroll(){const{jodit:e}=this;if(!e.o.toolbarSticky||!e.o.toolbar)return;const t=e.ow.pageYOffset||e.od.documentElement&&e.od.documentElement.scrollTop||0,r=(0,a.offset)(e.container,e,e.od,!0),o=e.getMode()===i.MODE_WYSIWYG&&t+e.o.toolbarStickyOffset>r.top&&r.top+r.height>t+e.o.toolbarStickyOffset&&!(e.o.toolbarDisableStickyForMobile&&this.__isMobile());if(this.__isToolbarStuck===o)return;const n=e.toolbarContainer;n&&(o?this.addSticky(n):this.removeSticky(n)),e.e.fire("toggleSticky",o)}__isMobile(){const{j:e}=this;return e&&e.options&&e.container&&e.options.sizeSM>=e.container.offsetWidth}beforeDestruct(e){n.J.safeRemove(this.__dummyBox),e.e.off(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.__onScroll).off(".sticky")}constructor(){super(...arguments),this.__isToolbarStuck=!1,this.__createDummy=e=>{this.__dummyBox=this.j.c.div(),this.__dummyBox.classList.add("jodit_sticky-dummy_toolbar"),this.j.container.insertBefore(this.__dummyBox,e)},this.addSticky=e=>{this.__isToolbarStuck||(d&&!this.__dummyBox&&this.__createDummy(e),this.j.container.classList.add("jodit_sticky"),this.__isToolbarStuck=!0),(0,a.css)(e,{top:this.j.o.toolbarStickyOffset||null,width:this.j.container.offsetWidth-2}),this.__dummyBox&&(0,a.css)(this.__dummyBox,{height:e.offsetHeight})},this.removeSticky=e=>{this.__isToolbarStuck&&((0,a.css)(e,{width:"",top:""}),this.j.container.classList.remove("jodit_sticky"),this.__isToolbarStuck=!1)}}}c([(0,o.throttle)()],u.prototype,"__onScroll",null),s.fg.add("sticky",u)},68846(e,t,r){r.d(t,{F(){return o}});var i=r(46788);const o=(e,{jodit:t})=>{if(!t.o.pasteFromWord.convertUnitsToPixel)return e;const{style:r}=e;return r.forEach(e=>{const t=r.get(e);t&&r.set(e,(""+t).replace(/\d+(\.\d+)?(pt|cm)/g,e=>(0,i.Bj)(e)+"px"))}),e}},68934(e,t,r){r.d(t,{VL(){return u},pi(){return h},tb(){return d}});var i=r(68345),o=r(72430),n=r(70799),s=r(86068),a=r(6441),l=r(97735),c=r(37790);function d(e,t,r=0){if(Object.getPrototypeOf(e)!==Object.prototype)return e;const c=a.T.defaultOptions;if((0,n.K)(e.preset)){if(void 0!==c.presets[e.preset]){const t=c.presets[e.preset];Object.keys(t).forEach(r=>{(0,s.R)(e[r])&&(e[r]=t[r])})}delete e.preset}const u={};return Object.keys(e).forEach(n=>{const s=e[n],a=t?t[n]:null;u[n]=(0,o.Q)(s)&&(0,o.Q)(a)&&!(0,l.mA)(s)?d(s,a,r+1):0!==r&&(0,i.c)(s)&&!(0,l.mA)(s)&&(0,i.c)(a)?[...s,...a.slice(s.length)]:s}),Object.setPrototypeOf(u,t),u}function u(e){return(0,c.HP)(e,!1).reduce((t,r)=>(t[r]=e[r],t),{})}function h(e){return(0,c.HP)(e,!1).reduce((t,r)=>(t[r]=(0,o.Q)(e[r])?h(e[r]):e[r],t),{})}},69159(e,t){t.A={"Type something":"輸入一些內容",Advanced:"進階","About Jodit":"關於Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"開發者指南","contains detailed help for using":"使用幫助","For information about the license, please go to our website:":"相關授權條款資訊,請造訪我們的網站:","Buy full version":"購買完整版本","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.",Anchor:"錨點","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:"樣式",Classes:"Classes",Align:"對齊方式",Right:"靠右",Center:"置中",Left:"靠左","--Not Set--":"無",Src:"Src",Title:"Title",Alternative:"替代",Link:"Link","Open link in new tab":"在新分頁開啟連結",Image:"圖片",file:"檔案","Image properties":"圖片屬性",Cancel:"取消",Ok:"確定","Your code is similar to HTML. Keep as HTML?":"您的程式碼與 HTML 類似,是否貼上 HTML 格式?","Paste as HTML":"貼上 HTML",Keep:"保留原始格式",Clean:"清除格式","Insert as Text":"以純文字貼上","Word Paste Detected":"貼上 Word 格式","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"正在貼上 Word/Excel 文件的內容,是否保留原始格式?","Insert only Text":"僅貼上內文","File Browser":"檔案瀏覽","Error on load list":"清單載入錯誤","Error on load folders":"資料夾載入錯誤","Are you sure?":"您確定嗎?","Enter Directory name":"輸入路徑","Create directory":"創建路徑","type name":"type name","Drop image":"拖曳圖片至此","Drop file":"拖曳檔案至此","or click":"或點擊","Alternative text":"替代文字",Browse:"瀏覽",Upload:"上傳",Background:"背景色",Text:"文字",Top:"頂部",Middle:"中間",Bottom:"底部","Insert column before":"插入左方欄","Insert column after":"插入右方欄","Insert row above":"插入上方列","Insert row below":"插入下方列","Delete table":"刪除表格","Delete row":"刪除整列","Delete column":"刪除整欄","Empty cell":"清除內容","Chars: %d":"字元數: %d","Words: %d":"單字數: %d","Strike through":"刪除線",Underline:"底線",superscript:"上標",subscript:"下標","Cut selection":"剪下","Select all":"全選",Break:"斷行","Search for":"尋找","Replace with":"取代為",Replace:"取代",Paste:"貼上","Choose Content to Paste":"選擇內容並貼上",All:"全部",source:"原始碼",bold:"粗體",italic:"斜體",brush:"顏色",link:"連結",undo:"復原",redo:"取消復原",table:"表格",image:"圖片",eraser:"橡皮擦",paragraph:"段落",fontsize:"文字大小",video:"影片",font:"字型",about:"關於",print:"列印",underline:"底線",strikethrough:"刪除線",indent:"增加縮排",outdent:"減少縮排",fullsize:"全螢幕",shrink:"縮減",hr:"分隔線",ul:"項目符號清單",ol:"編號清單",cut:"剪下",selectall:"全選","Open link":"打開連結","Edit link":"編輯連結","No follow":"No follow",Unlink:"取消連結",Eye:"查看"," URL":"URL",Reset:"重設",Save:"儲存","Save as ...":"另存為...",Resize:"調整大小",Crop:"裁切",Width:"寬",Height:"高","Keep Aspect Ratio":"維持長寬比",Yes:"是",No:"否",Remove:"移除",Select:"選擇","Select %s":"選擇: %s",Update:"更新","Vertical align":"垂直對齊",Merge:"合併","Add column":"新增欄","Add row":"新增列",Border:"邊框","Embed code":"嵌入程式碼",Delete:"刪除","Horizontal align":"水平對齊",Filter:"篩選","Sort by changed":"修改時間排序","Sort by name":"名稱排序","Sort by size":"大小排序","Add folder":"新增資料夾",Split:"分割","Split vertical":"垂直分割","Split horizontal":"水平分割","You can only edit your own images. Download this image on the host?":"您只能編輯您自己的圖片。是否下載此圖片?","The image has been successfully uploaded to the host!":"圖片上傳成功",palette:"調色盤",pencil:"鉛筆","There are no files":"沒有檔案",Rename:"重新命名","Enter new name":"輸入新名稱",preview:"預覽",download:"下載","Paste from clipboard":"從剪貼簿貼上","Your browser doesn't support direct access to the clipboard.":"瀏覽器無法存取剪貼簿。","Copy selection":"複製已選取項目",copy:"複製","Border radius":"邊框圓角","Show all":"顯示全部",Apply:"應用","Please fill out this field":"請輸入此欄位","Please enter a web address":"請輸入網址",Default:"預設",Circle:"圓圈",Dot:"點",Quadrate:"方形",Find:"尋找","Find Previous":"尋找上一個","Find Next":"尋找下一個","Insert className":"插入 class 名稱","Press Alt for custom resizing":"按住 Alt 以調整自訂大小",Edit:"編輯","License: %s":"許可證: %s"}},70022(e,t,r){r.d(t,{b(){return n}});var i=r(21537),o=r(52968);function n(e,t,r,n,s){let a;if((0,i.isFunction)(e))a=e(t);else switch(e){case"ace":if(!t.o.shadowRoot){a=new o.p(t,r,n,s);break}default:a=new o.S(t,r,n,s)}return a.init(t),a.onReadyAlways(()=>{a.setReadOnly(t.o.readonly)}),a}},70045(e,t,r){var i=r(82758),o=r(22732),n=r(580),s=r(43555),a=(r(54389),r(302));const l=(e,t,r,i)=>{if(!t)return;if(e.has(t))return;const o=(0,a.i)(r.o.direction,t);e.add(t);let n=t.style[o]?parseInt(t.style[o],10):0;n+=r.o.indentMargin*("outdent"===i?-1:1),t.style[o]=n>0?n+"px":"",(0,s.CF)(t,"style")||(0,s.CF)(t,"style",null)};n.fg.add("indent",e=>{e.registerButton({name:"indent",group:"indent"}).registerButton({name:"outdent",group:"indent"});const t=t=>{const r=new Set,{enter:n,enterBlock:a}=e.o,c=n.toLowerCase()===i.BR,d=e.s.current();if(c&&e.s.isCollapsed()&&d){const i=o.J.wrapNextInline(d,a,e);return l(r,i,e,t),!1}return e.s.eachSelection(i=>{e.s.save();let d=!!i&&o.J.up(i,o.J.isBlock,e.editor);if(!d&&i&&(d=(0,s.T1)(c?o.J.wrapNextInline:o.J.wrapInline,i,c?a:n.toLowerCase(),e)),!d)return e.s.restore(),!1;l(r,d,e,t),e.s.restore()}),e.synchronizeValues(),!1};e.registerCommand("indent",{exec:t,hotkeys:["ctrl+]","cmd+]"]}),e.registerCommand("outdent",{exec:t,hotkeys:["ctrl+[","cmd+["]})})},70071(e,t,r){r.d(t,{p(){return s}});var i=r(65478),o=r(2748),n=r(72757);class s extends n.h{setWork(e){return this.isWorked&&this.break(),this.workNodes=o.J.eachGen(e,!this.options.reverse),this.isFinished=!1,this._requestStarting(),this}_requestStarting(){this.__schedulerController=new AbortController,this.async.schedulerPostTask(this.__workPerform,{delay:this.options.timeout,signal:this.__schedulerController.signal}).catch(()=>null)}break(e){this.isWorked&&(this.stop(),this.emit("break",e))}end(){this.isWorked&&(this.stop(),this.emit("end",this.hadAffect),this.hadAffect=!1)}stop(){this.isWorked=!1,this.isFinished=!0,this.workNodes=null,this.async.cancelIdleCallback(this.idleId)}destruct(){super.destruct(),this.stop()}__workPerform(){var e;if(this.workNodes){this.isWorked=!0;let t=0;const r=null!==(e=this.options.timeoutChunkSize)&&void 0!==e?e:50;for(;!this.isFinished&&r>=t;){const e=this.workNodes.next();if(t+=1,this.visitNode(e.value)&&(this.hadAffect=!0),e.done)return void this.end()}}else this.end();this.isFinished||this._requestStarting()}visitNode(e){var t;return!(!e||void 0!==this.options.whatToShow&&e.nodeType!==this.options.whatToShow)&&null!==(t=this.emit("visit",e))&&void 0!==t&&t}constructor(e,t={}){super(),this.async=e,this.options=t,this.workNodes=null,this.hadAffect=!1,this.isWorked=!1,this.isFinished=!1,this.idleId=0,this.__schedulerController=null}}!function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);n>3&&s&&Object.defineProperty(t,r,s)}([i.autobind],s.prototype,"__workPerform",null)},70091(e,t,r){r.d(t,{V(){return i}});const i=e=>e.split("/").reduce((e,t)=>{switch(t){case"":case".":break;case"..":e.pop();break;default:e.push(t)}return e},[]).join("/")+(e.endsWith("/")?"/":"")},70231(e,t,r){r.d(t,{z(){return a}});var i=r(580),o=r(27613),n=r(37790),s=r(638);class a{dlg(e){const t=(0,i.ef)(this.o,this.container,this.od.body),r=new s.lG({language:this.o.language,shadowRoot:this.o.shadowRoot,popupRoot:t,ownerWindow:this.o.ownerWindow,defaultTimeout:this.o.defaultTimeout,direction:this.o.direction,theme:this.o.theme,globalFullSize:this.o.globalFullSize,...e});return(0,n.b_)(this,r.container),r.parent=this,r.bindDestruct(this)}confirm(e,t,r){return e=l(e,this),t=l(t,this),s.pT.call(this.dlg({closeOnClickOverlay:!0}),e,t,r)}prompt(e,t,r,i,o){return e=l(e,this),t=l(t,this),i=l(i,this),s.XG.call(this.dlg({closeOnClickOverlay:!0}),e,t,r,i,o)}alert(e,t,r,i){return e=l(e,this),t=l(t,this),s.Fc.call(this.dlg({closeOnClickOverlay:!0}),e,t,r,i)}}function l(e,t){return(0,o.Kg)(e)&&!(0,o.AH)(e)&&(e=t.i18n(e)),e}},70722(e,t,r){function i(e){return!!e&&"function"===(typeof e).toLowerCase()&&(e===Function.prototype||/^\s*function\s*(\b[a-z$_][a-z0-9$_]*\b)*\s*\((|([a-z$_][a-z0-9$_]*)(\s*,[a-z$_][a-z0-9$_]*)*)\)\s*{\s*\[native code]\s*}\s*$/i.test(e+""))}r.d(t,{a(){return i}})},70799(e,t,r){r.d(t,{B(){return n},K(){return o}});var i=r(68345);function o(e){return"string"==typeof e}function n(e){return(0,i.c)(e)&&o(e[0])}},71255(e,t,r){var i=r(2748),o=r(580),n=r(37790),s=r(50911),a=r(12153),l=r(6441),c=r(31151);l.T.prototype.controls.classSpan={command:"applyClassName",exec:n.qN,list:["enabled","disabled","activated","text-left","text-center","text-right","warning","error"],isChildActive(e,t){const r=e.s.current();if(r){const o=i.J.closest(r,i.J.isElement,e.editor)||e.editor;return!(!t.control.args||!o.classList.contains(""+t.control.args[0]))}return!1},isActive(e,t){const r=e.s.current();if(r){const o=i.J.closest(r,i.J.isElement,e.editor)||e.editor;let n=!1;return t.control.list&&Object.keys(t.control.list).forEach(e=>{o.classList.contains(e)&&(n=!0)}),!(!o||o===e.editor||void 0===t.control.list||!n)}return!1},childTemplate(e,t,r){return`<span class="${t}">${e.i18n(r)}</span>`},tooltip:"Insert className"},o.fg.add("classSpan",class d extends s.k{afterInit(e){e.registerCommand("applyClassName",(t,r,i)=>(e.s.commitStyle({attributes:{class:i}}),!1))}beforeDestruct(){}constructor(){super(...arguments),this.buttons=[{name:"classSpan",group:"script"}]}}),a.I.set("class-span",c.A)},71262(e,t,r){r.d(t,{Q(){return a}});var i=r(68345),o=r(43555),n=r(6441),s=r(72157);function a(e,t){return((0,i.c)(e)?e:(0,o.HP)(e,!1).map(t=>(0,o.tb)({name:t},e[t]||{}))).map(e=>(0,s.U)(e,t||n.T.defaultOptions.controls))}},71521(e,t,r){r.d(t,{$2(){return i.$},Fd(){return a.F},Vd(){return l.V},b$(){return o.b$},f(){return s.f},iy(){return o.iy},jB(){return n.j},l2(){return d.l},n8(){return o.n8},rn(){return c.r}});var i=r(21224),o=r(3760),n=r(49033),s=r(12972),a=r(9992),l=r(70091),c=r(46334),d=r(37406)},71568(e,t,r){r.d(t,{F(){return l}});var i=r(2748),o=r(29999),n=r(23282),s=r(10830),a=r(78584);function l(e,t,r,l="jodit-dialog_alert"){(0,n.T)(t)&&(r=t,t=void 0);const c=this instanceof a.l?this:new a.l({closeOnClickOverlay:!0}),d=c.c.div(l),u=(0,s.$n)(c,"ok","Ok");return(0,o._)(e).forEach(e=>{d.appendChild(i.J.isNode(e)?e:c.c.fromHTML(e))}),u.onAction(()=>{r&&(0,n.T)(r)&&!1===r(c)||c.close()}),c.setFooter([u]),c.open(d,t||"&nbsp;",!0,!0),u.focus(),c}},71675(e,t,r){var i=r(6441);i.T.prototype.allowResizeTags=new Set(["img","iframe","table","jodit"]),i.T.prototype.resizer={showSize:!0,hideSizeTimeout:1e3,forImageChangeAttributes:!0,min_width:10,min_height:10,useAspectRatio:new Set(["img"])}},71686(e,t,r){r.d(t,{$(){return s},t(){return a}});var i=r(21537),o=r(41601),n=r(83987);const s=new WeakMap;function a(e,t){const r=(0,n.$)(e,t),a=t=>{const r=new o.d({xhr(){const t=new XMLHttpRequest;return void 0!==e.j.ow.FormData&&t.upload?(e.j.progressbar.show().progress(10),t.upload.addEventListener("progress",t=>{if(t.lengthComputable){let r=t.loaded/t.total;r*=100,e.j.progressbar.show().progress(r),100>r||e.j.progressbar.hide()}},!1)):e.j.progressbar.hide(),t},method:e.o.method||"POST",data:t,url:(0,i.isFunction)(e.o.url)?e.o.url(t):e.o.url,headers:e.o.headers,queryBuild:e.o.queryBuild,contentType:e.o.contentType.call(e,t),withCredentials:e.o.withCredentials||!1});let n=s.get(e);return n||(n=new Set,s.set(e,n)),n.add(r),e.j.e.one("beforeDestruct",r.destruct),r.send().then(e=>e.json()).catch(e=>({success:!1,data:{messages:[e]}})).finally(()=>{r.destruct(),null==n||n.delete(r)})};return(0,i.isPromise)(r)?r.then(a).catch(t=>{e.o.error.call(e,t)}):a(r)}},71842(e,t,r){var i=r(82758),o=r(6441);o.T.prototype.askBeforePasteFromWord=!0,o.T.prototype.processPasteFromWord=!0,o.T.prototype.defaultActionOnPasteFromWord=null,o.T.prototype.pasteFromWordActionList=[{value:i.INSERT_AS_HTML,text:"Keep"},{value:i.INSERT_AS_TEXT,text:"Clean"},{value:i.INSERT_ONLY_TEXT,text:"Insert only Text"}]},71916(e,t,r){r.d(t,{s(){return a}});var i=r(87325),o=r(38837),n=r(10830),s=r(62405);let a=class e extends s.U{className(){return"UIButtonGroup"}render(e){return`<div>\n\t\t\t<div class="&__label">~${e.label}~</div>\n\t\t\t<div class="&__options"></div>\n\t\t</div>`}appendChildToContainer(e){const t=this.getElm("options");(0,o.v)(null!=t,"Options does not exist"),t.appendChild(e)}select(e){var t,r;this.elements.forEach((t,r)=>{r===e||t.state.value===e?t.state.activated=!0:this.options.radio&&(t.state.activated=!1)});const i=this.elements.filter(e=>e.state.activated).map(e=>({text:e.state.text,value:e.state.value}));this.jodit.e.fire(this,"select",i),null===(r=(t=this.options).onChange)||void 0===r||r.call(t,i)}constructor(e,t={radio:!0}){var r,i;super(e,null===(r=t.options)||void 0===r?void 0:r.map(t=>{const r=new n.lD(e,{text:t.text,value:t.value,variant:"primary"});return r.onAction(()=>{this.select(t.value)}),r}),t),this.options=t,this.select(null!==(i=t.value)&&void 0!==i?i:0)}};a=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([i.s],a)},72144(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <g transform="translate(-251.000000, -443.000000)"> <g transform="translate(215.000000, 119.000000)"/> <path d="M252,448 L256,448 L256,444 L252,444 L252,448 Z M257,448 L269,448 L269,446 L257,446 L257,448 Z M257,464 L269,464 L269,462 L257,462 L257,464 Z M270,444 L270,448 L274,448 L274,444 L270,444 Z M252,462 L252,466 L256,466 L256,462 L252,462 Z M270,462 L270,466 L274,466 L274,462 L270,462 Z M254,461 L256,461 L256,449 L254,449 L254,461 Z M270,461 L272,461 L272,449 L270,449 L270,461 Z"/> </g> </svg> '},72157(e,t,r){r.d(t,{U(){return n},x(){return s}});var i=r(21537),o=r(6441);function n(e,t){let r;return t||(t=o.T.defaultOptions.controls),(0,i.isString)(e)?r=s(e,t)||{name:e,command:e,tooltip:e}:(r={name:"empty",...(0,i.ConfigFlatten)(e)},void 0!==t[r.name]&&(r={...(0,i.ConfigFlatten)(t[r.name]),...(0,i.ConfigFlatten)(r)})),r}function s(e,t){let[r,o]=e.split(/\./),n=t;return null!=o?void 0!==t[r]&&(n=t[r]):o=r,n[o]?{name:o,...(0,i.ConfigFlatten)(n[o])}:void 0}},72253(e,t,r){var i=r(65478),o=r(22732),n=r(580),s=r(70799),a=r(50911),l=(r(96967),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});class c extends a.k{afterInit(e){"br"!==e.o.enter.toLowerCase()&&e.e.on("drop.wtn focus.wtn keydown.wtn mousedown.wtn afterInit.wtn backSpaceAfterDelete.wtn",this.preprocessInput,{top:!0}).on("afterInit.wtn postProcessSetEditorValue.wtn afterCommitStyle.wtn backSpaceAfterDelete.wtn",this.postProcessSetEditorValue)}beforeDestruct(e){e.e.off(".wtn")}postProcessSetEditorValue(){const{jodit:e}=this;if(!e.isEditorMode())return;let t=e.editor.firstChild,r=!1;for(;t;){if(t=d(t,e),this.isSuitableStart(t)){r||e.s.save(),r=!0;const i=e.createInside.element(e.o.enter);for(o.J.before(t,i);t&&this.isSuitable(t);){const e=t.nextSibling;i.appendChild(t),t=e}i.normalize(),t=i}t=t&&t.nextSibling}r&&(e.s.restore(),"afterInit"===e.e.current&&e.e.fire("internalChange"))}preprocessInput(){const{jodit:e}=this,t="afterInit"===e.e.current;if(!e.isEditorMode()||e.editor.firstChild||!e.o.wrapNodes.emptyBlockAfterInit&&t)return;const r=e.createInside.element(e.o.enter),i=e.createInside.element("br");o.J.append(r,i),o.J.append(e.editor,r),e.s.isFocused()&&e.s.setCursorBefore(i),e.e.fire("internalChange")}constructor(){super(...arguments),this.isSuitableStart=e=>{var t;return o.J.isText(e)&&(0,s.K)(e.nodeValue)&&(/[^\s]/.test(e.nodeValue)||(null===(t=e.parentNode)||void 0===t?void 0:t.firstChild)===e&&this.isSuitable(e.nextSibling))||this.isNotWrapped(e)&&!o.J.isTemporary(e)},this.isSuitable=e=>o.J.isText(e)||this.isNotWrapped(e),this.isNotWrapped=e=>o.J.isElement(e)&&!(o.J.isBlock(e)||o.J.isTag(e,this.j.o.wrapNodes.exclude))}}function d(e,t){let r=e,i=e;do{if(!o.J.isElement(i)||!o.J.isLeaf(i)||o.J.isList(i.parentElement))break;{const e=o.J.findNotEmptySibling(i,!1);o.J.isTag(r,"ul")?r.appendChild(i):r=o.J.wrap(i,"ul",t.createInside),i=e}}while(i);return r}l([i.autobind],c.prototype,"postProcessSetEditorValue",null),l([i.autobind],c.prototype,"preprocessInput",null),n.fg.add("wrapNodes",c)},72337(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1600 736v192q0 40-28 68t-68 28h-1216q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h1216q40 0 68 28t28 68z"/> </svg> '},72430(e,t,r){r.d(t,{Q(){return o}});var i=r(52742);function o(e){return!(!e||"object"!=typeof e||e.nodeType||(0,i.l)(e)||e.constructor&&!{}.hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))}},72439(e,t,r){var i=r(82758),o=r(2748),n=r(580),s=r(21537),a=r(76014);const l=new Set([i.KEY_TAB,i.KEY_LEFT,i.KEY_RIGHT,i.KEY_UP,i.KEY_DOWN]);n.fg.add("tableKeyboardNavigation",e=>{e.e.off(".tableKeyboardNavigation").on("keydown.tableKeyboardNavigation",t=>{const{key:r}=t,n=((e,t)=>{if(!l.has(t))return;const r=e.s.current();if(!r)return;const n=o.J.up(r,o.J.isCell,e.editor);if(!n)return;const{range:a}=e.s;if(t!==i.KEY_TAB&&r!==n){const e=t===i.KEY_RIGHT||t===i.KEY_DOWN,l=(0,s.call)(e?o.J.next:o.J.prev,r,e=>t===i.KEY_UP||t===i.KEY_DOWN?o.J.isTag(e,"br"):!!e,n);if(!e&&(l||t!==i.KEY_UP&&o.J.isText(r)&&0!==a.startOffset)||e&&(l||t!==i.KEY_DOWN&&o.J.isText(r)&&r.nodeValue&&a.startOffset!==r.nodeValue.length))return}return n})(e,r);if(!n)return;const c=e.getInstance(a.X,e.o),d=o.J.closest(n,"table",e.editor);let u=null;const h=r===i.KEY_LEFT||t.shiftKey,p=()=>(0,s.call)(h?o.J.prev:o.J.next,n,o.J.isCell,d);switch(r){case i.KEY_TAB:case i.KEY_LEFT:u=p(),u||(c.appendRow(d,!!h&&d.querySelector("tr"),!h),u=p());break;case i.KEY_UP:case i.KEY_DOWN:{const e=c.formalMatrix(d),[t,o]=c.formalCoordinate(d,n);r===i.KEY_UP?void 0!==e[t-1]&&(u=e[t-1][o]):void 0!==e[t+1]&&(u=e[t+1][o])}}if(u){if(e.e.fire("hidePopup hideResizer"),u.firstChild)r===i.KEY_TAB?e.s.select(u,!0):e.s.setCursorIn(u,r===i.KEY_RIGHT||r===i.KEY_DOWN);else{const t=e.createInside.element("br");u.appendChild(t),e.s.setCursorBefore(t)}return e.synchronizeValues(),!1}})})},72757(e,t,r){r.d(t,{h(){return i}});class i{on(e,t){var r;return this.__map.has(e)||this.__map.set(e,new Set),null===(r=this.__map.get(e))||void 0===r||r.add(t),this}off(e,t){var r;return this.__map.has(e)&&(null===(r=this.__map.get(e))||void 0===r||r.delete(t)),this}destruct(){this.__map.clear()}emit(e,...t){var r;let i;return this.__map.has(e)&&(null===(r=this.__map.get(e))||void 0===r||r.forEach(e=>{i=e(...t)})),i}constructor(){this.__map=new Map}}},72913(e,t,r){r.d(t,{E(){return n}});var i=r(29807),o=r(70799);function n(e){return(0,o.K)(e)&&(0,i.k)(e)&&(e=parseFloat(e)),"number"==typeof e&&Number.isFinite(e)&&!(e%1)}},73026(e,t,r){r.d(t,{s(){return c}});var i=r(37133),o=r(68345),n=r(59292),s=r(72430);const a=Symbol("observable-object");function l(e){return void 0!==e[a]}function c(e){if(l(e))return e;const t={},r={},c=(t,i)=>(0,o.c)(t)?(t.map(e=>c(e,i)),e):(r[t]||(r[t]=[]),r[t].push(i),e),d=(i,...n)=>{if((0,o.c)(i))i.map(e=>d(e,...n));else try{!t[i]&&r[i]&&(t[i]=!0,r[i].forEach(t=>t.call(e,...n)))}finally{t[i]=!1}},u=(t,r=[])=>{const o={};l(t)||(Object.defineProperty(t,a,{enumerable:!1,value:!0}),Object.keys(t).forEach(a=>{const l=a,c=r.concat(l).filter(e=>e.length);o[l]=t[l];const h=(0,i.N)(t,l);Object.defineProperty(t,l,{set(t){const r=o[l];if(!(0,n.P)(o[l],t)){d(["beforeChange","beforeChange."+c.join(".")],l,t),(0,s.Q)(t)&&u(t,c),h&&h.set?h.set.call(e,t):o[l]=t;const i=[];d(["change",...c.reduce((e,t)=>(i.push(t),e.push("change."+i.join(".")),e),[])],c.join("."),r,(null==t?void 0:t.valueOf)?t.valueOf():t)}},get(){return h&&h.get?h.get.call(e):o[l]},enumerable:!0,configurable:!0}),(0,s.Q)(o[l])&&u(o[l],c)}),Object.defineProperty(e,"on",{value:c}))};return u(e),e}},73391(e,t,r){var i=r(82758),o=r(580),n=r(21537),s=r(12153),a=r(6441),l=r(49399);a.T.prototype.controls.about={exec(e){const t=e.dlg({closeOnClickOverlay:!0}),r=e.i18n.bind(e);t.setMod("theme",e.o.theme).setHeader(r("About Jodit")).setContent(`<div class="jodit-about">\n\t\t\t\t\t<div>${r("Jodit Editor")} v.${e.getVersion()}</div>\n\t\t\t\t\t<div>${r("License: %s",(0,n.isLicense)(e.o.license)?(0,n.normalizeLicense)(e.o.license):"MIT")}</div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<a href="${i.HOMEPAGE}" target="_blank">${i.HOMEPAGE}</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<a href="https://xdsoft.net/jodit/docs/" target="_blank">${r("Jodit User's Guide")}</a>\n\t\t\t\t\t\t${r("contains detailed help for using")}\n\t\t\t\t\t</div>\n\t\t\t\t\t<div>${r("Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.")}</div>\n\t\t\t\t</div>`),(0,n.css)(t.dialog,{minHeight:200,minWidth:420}),t.open(!0,!0)},tooltip:"About Jodit",mode:i.MODE_SOURCE+i.MODE_WYSIWYG},o.fg.add("about",e=>{e.registerButton({name:"about",group:"info"})}),s.I.set("about",l.A)},73674(e,t,r){var i=r(6441);i.T.prototype.controls.subscript={tags:["sub"],tooltip:"subscript"},i.T.prototype.controls.superscript={tags:["sup"],tooltip:"superscript"},i.T.prototype.controls.bold={tagRegExp:/^(strong|b)$/i,tags:["strong","b"],css:{"font-weight":["bold","700"]},tooltip:"Bold"},i.T.prototype.controls.italic={tagRegExp:/^(em|i)$/i,tags:["em","i"],css:{"font-style":"italic"},tooltip:"Italic"},i.T.prototype.controls.underline={tagRegExp:/^(u)$/i,tags:["u"],css:{"text-decoration-line":"underline"},tooltip:"Underline"},i.T.prototype.controls.strikethrough={tagRegExp:/^(s)$/i,tags:["s"],css:{"text-decoration-line":"line-through"},tooltip:"Strike through"}},73792(e,t,r){r.d(t,{H(){return a}});var i=r(82758),o=r(22732),n=r(21537),s=r(63785);function a(e,t,r,s){var a,u;const h=r?-1:1,p=o.J.sibling(t,!r);let f,m=o.J.sibling(t,r),g=null,v=!1;for(m||(m=l(t,r,e.editor));m&&(o.J.isText(m)||o.J.isInlineBlock(m));){for(;o.J.isInlineBlock(m);)m=r?null==m?void 0:m.lastChild:null==m?void 0:m.firstChild;if(!m)break;if((null===(a=m.nodeValue)||void 0===a?void 0:a.length)&&(f=c(m,r,h,p),!m.nodeValue.length&&o.J.isInlineBlock(m.parentNode)&&(m.nodeValue=i.INVISIBLE_SPACE)),(null===(u=m.nodeValue)||void 0===u?void 0:u.length)||(g=m),!(0,n.isVoid)(f)&&f!==i.INVISIBLE_SPACE){d(r,m,t,s,f,e),v=!0;break}const b=l(m,r,e.editor);g&&(o.J.safeRemove(g),g=null),m=b}return g&&(o.J.safeRemove(g),g=null),v&&((e=>{let t=e.parentElement;for(;t&&o.J.isInlineBlock(t)&&o.J.isTag(t,"a");){const r=t.parentElement;o.J.isEmpty(t)&&(o.J.after(t,e),o.J.safeRemove(t)),t=r}})(t),((e,t)=>{t.parentElement!==e.editor&&o.J.isBlock(t.parentElement)&&o.J.each(t.parentElement,o.J.isEmptyTextNode)&&o.J.after(t,e.createInside.element("br"))})(e,t),e.s.setCursorBefore(t),o.J.isTag(t.previousSibling,"br")&&!o.J.findNotEmptySibling(t,!1)&&o.J.after(t,e.createInside.element("br"))),v}function l(e,t,r){let i=o.J.sibling(e,t);return!i&&e.parentNode&&e.parentNode!==r&&(i=(0,s.s)(e,!t,r,!0)),i}function c(e,t,r,s){let a=(0,n.toArray)(e.nodeValue);const l=a.length;let c=t?l-1:0;if(a[c]===i.INVISIBLE_SPACE)for(;a[c]===i.INVISIBLE_SPACE;)c+=r;const d=a[c];if(a[c+r]===i.INVISIBLE_SPACE){for(c+=r;a[c]===i.INVISIBLE_SPACE;)c+=r;c+=t?1:-1}return a=t&&0>c?[]:a.slice(t?0:c+1,t?c:l),((e,t,r)=>{var s;if(!e||!o.J.isText(e)||(t?/^ /:/ $/).test(null!==(s=e.nodeValue)&&void 0!==s?s:"")||!(0,n.trimInv)(e.nodeValue||"").length)for(let e=t?r.length-1:0;(t?e>=0:r.length>e)&&" "===r[e];e+=t?-1:1)r[e]=i.NBSP_SPACE})(s,t,a),e.nodeValue=a.join(""),d}function d(e,t,r,s,l,c){(0,n.call)(e?o.J.after:o.J.before,t,r),("sentence"===s||"word"===s&&" "!==l&&l!==i.NBSP_SPACE)&&a(c,r,e,s)}},73948(e,t,r){r.d(t,{Gq(){return l},PZ(){return c},nW(){return d}});var i=r(22732),o=r(21537),n=r(41457),s=r(32118),a=r(20201);const l=(e,t,r="a")=>i.J.closest(e,e=>i.J.isTag(e,r),t),c=(e,t)=>{const{key:r}=e.dataset,{item:i}=t[r||""];return i};function d(){let e=!1;const t=(0,s.a)(this),r=this;r.e.on(r.tree.container,"dragstart",t=>{const i=l(t.target,r.container);i&&r.o.moveFolder&&(e=i)}).on(r.tree.container,"drop",t=>{if((r.o.moveFile||r.o.moveFolder)&&e){let i=(0,o.attr)(e,"-path")||"";if(!r.o.moveFolder&&e.classList.contains(this.tree.getFullElName("item")))return!1;if(e.classList.contains(this.files.getFullElName("item"))&&(i+=(0,o.attr)(e,"-name"),!r.o.moveFile))return!1;const n=l(t.target,r.container);if(!n)return;r.dataProvider.move(i,(0,o.attr)(n,"-path")||"",(0,o.attr)(n,"-source")||"",e.classList.contains(this.files.getFullElName("item"))).then(()=>(0,a.r)(this)).catch(r.status),e=!1}}).on(r.files.container,"contextmenu",(0,n.A)(r)).on(r.files.container,"click",e=>{(0,o.ctrlKey)(e)||(this.state.activeElements=[])}).on(r.files.container,"click",e=>{const i=l(e.target,r.container);if(!i)return;const n=c(i,t);return n?(r.state.activeElements=(0,o.ctrlKey)(e)?[...r.state.activeElements,n]:[n],e.stopPropagation(),!1):void 0}).on(r.files.container,"dragstart",t=>{if(r.o.moveFile){const i=l(t.target,r.container);if(!i)return;e=i}}).on(r.container,"drop",e=>e.preventDefault())}},74569(e,t,r){function i(e){const t=atob(e.split(",")[1]),r=e.split(",")[0].split(":")[1].split(";")[0],i=new ArrayBuffer(t.length),o=new Uint8Array(i);for(let e=0;t.length>e;e+=1)o[e]=t.charCodeAt(e);return new Blob([o.buffer],{type:r})}r.d(t,{z(){return i}})},75259(e,t){t.A='<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(e,t,r){r.d(t,{Gq(){return n.G},HA(){return s.H},Kq(){return l.K},ZM(){return i.Z},t_(){return a.t},vn(){return a.v},wE(){return o.w}});var i=r(32574),o=r(53212),n=r(53326),s=r(45971),a=r(86518),l=r(91003)},75330(e,t,r){r.d(t,{V(){return k}});var i=r(91907),o=r(82758),n=r(65478),s=r(37133),a=r(3827),l=r(21537),c=r(12081),d=r(70231),u=r(84075),h=r(6441),p=(r(61251),r(30465)),f=r(20201),m=r(73948),g=r(33281),v=r(94538),b=r(11787),y=r(63399),w=r(8172),_=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};let k=class e extends u.T{className(){return"FileBrowser"}get dataProvider(){return(0,y.S)(this,this.options)}onSelect(e){return()=>{if(this.state.activeElements.length){const t=[],r=[];this.state.activeElements.forEach(e=>{const i=e.fileURL;i&&(t.push(i),r.push(e.isImage||!1))}),this.close();const i={baseurl:"",files:t,isImages:r};(0,l.isFunction)(e)&&e(i),this.close()}return!1}}get _dialog(){var e;const t=this.dlg({minWidth:Math.min(700,screen.width),minHeight:300,buttons:null!==(e=this.o.headerButtons)&&void 0!==e?e:["fullsize","dialog.close"]});return["beforeClose","afterClose","beforeOpen"].forEach(e=>t.events.on(t,e,()=>this.e.fire(e))),t.setSize(this.o.width,this.o.height),t}get storage(){return c.wc.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,r)=>{var i;if(!this.o.items||!this.o.items.url)throw(0,l.error)("Need set options.filebrowser.ajax.url");let n=0;this.e.off(this.files.container,"dblclick").on(this.files.container,"dblclick",this.onSelect(e)).on(this.files.container,"touchstart",()=>{const t=(new Date).getTime();o.EMULATE_DBLCLICK_TIMEOUT>t-n&&this.onSelect(e)(),n=t}).off("select.filebrowser").on("select.filebrowser",this.onSelect(e));const s=this.c.div();null===(i=this.toolbar)||void 0===i||i.appendTo(s),this.__updateToolbarButtons(),this._dialog.open(this.browser,s),this.e.fire("sort.filebrowser",this.state.sortBy),(0,f.r)(this).then(t,r).finally(()=>{var e;this.isInDestruct||null===(e=null==this?void 0:this.e)||void 0===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)&&void 0!==e?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;const r=this,i=null===(t=null==e?void 0:e.options)||void 0===t?void 0:t.uploader,o=(0,l.ConfigProto)(i||{},h.T.defaultOptions.uploader),n=()=>(0,p.f)(this);r.uploader=r.getInstance("Uploader",o),r.uploader.setPath(r.state.currentPath).setSource(r.state.currentSource).bind(r.browser,n,r.errorHandler),this.state.on(["change.currentPath","change.currentSource"],()=>{this.uploader.setPath(this.state.currentPath).setSource(this.state.currentSource)}),r.e.on("bindUploader.filebrowser",e=>{r.uploader.bind(e,n,r.errorHandler)})}destruct(){var e;this.isInDestruct||(null===(e=(0,n.cached)(this,"_dialog"))||void 0===e||e.destruct(),super.destruct(),this.events&&this.e.off(".filebrowser"),this.uploader&&this.uploader.destruct())}__updateToolbarButtons(){var e;const t=this.__getButtons();((e,t)=>{if(e.length!==t.length)return!1;for(let r=0;e.length>r;r++)if(e[r]!==t[r])return!1;return!0})(this.__prevButtons,t)||(this.__prevButtons=t,null===(e=this.toolbar)||void 0===e||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 w.V(this),this.files=new w.Q(this),this.state=(0,a.sH)({currentPath:"",currentSource:b.o,currentBaseUrl:"",activeElements:[],elements:[],sources:[],view:"tiles",sortBy:"changed-desc",filterWord:"",onlyImages:!1}),this.errorHandler=e=>{(0,l.isAbortError)(e)||this.status(e instanceof Error?this.i18n(e.message):this.dataProvider.getMessage(e))},this.close=()=>{this._dialog.close()},this.__prevButtons=[],this.attachEvents(e);const t=this;t.options=(0,l.ConfigProto)(e||{},h.T.defaultOptions.filebrowser),t.browser.component=this,t.container=t.browser,t.o.showFoldersPanel&&t.browser.appendChild(t.tree.container),t.browser.appendChild(t.files.container),t.browser.appendChild(t.status_line),g.c.call(t),m.nW.call(t),v.r.call(t),["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:r,storeSortBy:o,storeLastOpenedFolder:n}=this.o.saveStateInStorage||{storeLastOpenedFolder:!1,storeView:!1,storeSortBy:!1},s=r&&this.storage.get("view");t.state.view=s&&null==this.o.view?"list"===s?"list":"tiles":"list"===t.o.view?"list":"tiles",t.files.setMod("view",t.state.view);const c=o&&t.storage.get("sortBy");if(c){const e=c.split("-");t.state.sortBy=["changed","name","size"].includes(e[0])?c:"changed-desc"}else t.state.sortBy=t.o.sortBy||"changed-desc";if(n){const e=t.storage.get("currentPath"),r=t.storage.get("currentSource");t.state.currentPath=null!=e?e:"",t.state.currentSource=null!=r?r:""}t.initUploader(t),t.setStatus(i.f.ready)}};_([n.cache],k.prototype,"dataProvider",null),_([n.cache],k.prototype,"_dialog",null),_([n.cache],k.prototype,"storage",null),_([n.autobind],k.prototype,"status",null),_([n.autobind],k.prototype,"open",null),_([(0,s.w)("dataProvider:changePermissions")],k.prototype,"__updateToolbarButtons",null),k=_([(0,n.derive)(d.z)],k)},75393(e,t){t.A='<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(e,t){t.A={}},75595(e,t,r){r.d(t,{X(){return n}});var i=r(2748),o=r(29960);function n(e,t,r){const n=i.J.closest(e.sourceImage,"a",t.editor);n?(r.imageLink=(0,o.C)(n,"href")||"",r.imageLinkOpenInNewTab="_blank"===(0,o.C)(n,"target")):(r.imageLink="",r.imageLinkOpenInNewTab=!1)}},75882(e,t,r){r.d(t,{t(){return a}});var i=r(2748),o=r(43555),n=r(22030),s=r(97380);function a(e,t){var r;const a=[],l=[];let c;const d=null===(r=e.options.attributes)||void 0===r?void 0:r.style;if(t.firstChild){const r=i.J.eachGen(t);let u=r.next();for(;!u.done;){const t=u.value;!(0,s.sz)(e,t,!0)||d&&!(0,n.Y)(t,d)?d&&(0,s.Wv)(e,t)?(void 0===c&&(c=!1),l.push(()=>{(0,o.AH)(t,Object.keys(d).reduce((e,t)=>(e[t]=null,e),{})),(0,o.CF)(t,"style")||(0,o.CF)(t,"style",null),(0,o.CF)(t,"style")||t.nodeName.toLowerCase()!==e.element||a.push(t)})):i.J.isEmptyTextNode(t)||void 0===c&&(c=!1):(void 0===c&&(c=!0),a.push(t)),u=r.next()}}return l.forEach(e=>e()),a.forEach(i.J.unwrap),!!c}},76014(e,t,r){r.d(t,{X(){return d}});var i=r(91907),o=r(82758),n=r(65478),s=r(22732),a=r(580),l=r(21537);const c=new WeakMap;class d extends i.vG{className(){return"Table"}__recalculateStyles(){const e=(0,a.My)(this.j,d,"style",!0),t=[];this.selected.forEach(e=>{const r=(0,l.cssPath)(e);r&&t.push(r)}),e.innerHTML=t.length?t.join(",")+`{${this.jodit.options.table.selectionCellStyle}}`:""}addSelection(e){this.selected.add(e),this.__recalculateStyles();const t=s.J.closest(e,"table",this.j.editor);if(t){const r=d.__selectedByTable.get(t)||new Set;r.add(e),d.__selectedByTable.set(t,r)}}removeSelection(e){this.selected.delete(e),this.__recalculateStyles();const t=s.J.closest(e,"table",this.j.editor);if(t){const r=d.__selectedByTable.get(t);r&&(r.delete(e),r.size||d.__selectedByTable.delete(t))}}getAllSelectedCells(){return(0,l.toArray)(this.selected)}static __getSelectedCellsByTable(e){const t=d.__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 d.__getRowsCount(e)}static __getColumnsCount(e){return d.__formalMatrix(e).reduce((e,t)=>Math.max(e,t.length),0)}getColumnsCount(e){return d.__getColumnsCount(e)}static __formalMatrix(e,t){const r=[[]],i=(0,l.toArray)(e.rows),o=(e,i)=>{void 0===r[i]&&(r[i]=[]);const o=e.colSpan,n=e.rowSpan;let s,a,l=0;for(;r[i][l];)l+=1;for(a=0;n>a;a+=1)for(s=0;o>s;s+=1){if(void 0===r[i+a]&&(r[i+a]=[]),t&&!1===t(e,i+a,l+s,o,n))return!1;r[i+a][l+s]=e}};for(let e=0;i.length>e;e+=1){const t=(0,l.toArray)(i[e].cells);for(let i=0;t.length>i;i+=1)if(!1===o(t[i],e))return r}return r}formalMatrix(e,t){return d.__formalMatrix(e,t)}static __formalCoordinate(e,t,r=!1){let i=0,o=0,n=1,s=1;return d.__formalMatrix(e,(e,a,l,c,d)=>{if(t===e)return i=a,o=l,n=c||1,s=d||1,r&&(o+=(c||1)-1,i+=(d||1)-1),!1}),[i,o,n,s]}formalCoordinate(e,t,r=!1){return d.__formalCoordinate(e,t,r)}static __appendRow(e,t,r,i){var o;let n;if(t)n=t.cloneNode(!0),(0,l.$$)("td,th",t).forEach(e=>{const t=(0,l.attr)(e,"rowspan");if(t&&parseInt(t,10)>1){const r=parseInt(t,10)-1;(0,l.attr)(e,"rowspan",r>1?r:null)}}),(0,l.$$)("td,th",n).forEach(e=>{e.innerHTML=""});else{const t=d.__getColumnsCount(e);n=i.element("tr");for(let e=0;t>e;e+=1)n.appendChild(i.element("td"))}r&&t&&t.nextSibling?t.parentNode&&t.parentNode.insertBefore(n,t.nextSibling):!r&&t?t.parentNode&&t.parentNode.insertBefore(n,t):((null===(o=e.getElementsByTagName("tbody"))||void 0===o?void 0:o[0])||e).appendChild(n)}appendRow(e,t,r){return d.__appendRow(e,t,r,this.j.createInside)}static __removeRow(e,t){const r=d.__formalMatrix(e);let i;const o=e.rows[t];r[t].forEach((n,a)=>{if(i=!1,0>t-1||r[t-1][a]!==n)if(r[t+1]&&r[t+1][a]===n){if(n.parentNode===o&&n.parentNode.nextSibling){i=!0;let o=a+1;for(;r[t+1][o]===n;)o+=1;const l=s.J.next(n.parentNode,e=>s.J.isTag(e,"tr"),e);l&&(r[t+1][o]?l.insertBefore(n,r[t+1][o]):l.appendChild(n))}}else s.J.safeRemove(n);else i=!0;if(i&&(n.parentNode===o||n!==r[t][a-1])){const e=n.rowSpan;(0,l.attr)(n,"rowspan",e-1>1?e-1:null)}}),s.J.safeRemove(o)}removeRow(e,t){return d.__removeRow(e,t)}appendColumn(e,t,r=!0){const i=d.__formalMatrix(e);if(!r&&s.J.isCell(t.previousElementSibling))return this.appendColumn(e,t.previousElementSibling,!0);const o=r?t.cellIndex+((t.colSpan||1)-1):t.cellIndex,n=r?o+1:o;for(let e=0;i.length>e;){const t=i[e];if(t[o]!==t[n]||o===n){const e=this.j.createInside.element("td");r?s.J.after(t[o],e):s.J.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){const r=d.__formalMatrix(e);let i;r.forEach((e,o)=>{const n=e[t];if(i=!1,0>t-1||r[o][t-1]!==n?e.length>t+1&&r[o][t+1]===n?i=!0:s.J.safeRemove(n):i=!0,i&&(0>o-1||n!==r[o-1][t])){const e=n.colSpan;(0,l.attr)(n,"colspan",e-1>1?""+(e-1):null)}})}removeColumn(e,t){return d.__removeColumn(e,t)}static __getSelectedBound(e,t){const r=[[1/0,1/0],[0,0]],i=d.__formalMatrix(e);let o,n,s;for(o=0;i.length>o;o+=1)for(n=0;i[o]&&i[o].length>n;n+=1)t.includes(i[o][n])&&(r[0][0]=Math.min(o,r[0][0]),r[0][1]=Math.min(n,r[0][1]),r[1][0]=Math.max(o,r[1][0]),r[1][1]=Math.max(n,r[1][1]));for(o=r[0][0];r[1][0]>=o;o+=1)for(s=1,n=r[0][1];r[1][1]>=n;n+=1){for(;i[o]&&i[o][n-s]&&i[o][n]===i[o][n-s];)r[0][1]=Math.min(n-s,r[0][1]),r[1][1]=Math.max(n-s,r[1][1]),s+=1;for(s=1;i[o]&&i[o][n+s]&&i[o][n]===i[o][n+s];)r[0][1]=Math.min(n+s,r[0][1]),r[1][1]=Math.max(n+s,r[1][1]),s+=1;for(s=1;i[o-s]&&i[o][n]===i[o-s][n];)r[0][0]=Math.min(o-s,r[0][0]),r[1][0]=Math.max(o-s,r[1][0]),s+=1;for(s=1;i[o+s]&&i[o][n]===i[o+s][n];)r[0][0]=Math.min(o+s,r[0][0]),r[1][0]=Math.max(o+s,r[1][0]),s+=1}return r}getSelectedBound(e,t){return d.__getSelectedBound(e,t)}static __normalizeTable(e){const t=[],r=d.__formalMatrix(e);d.__removeExtraColspans(r,t),d.__removeExtraRowspans(r,t);for(let e=0;r.length>e;e+=1)for(let t=0;r[e].length>t;t+=1)void 0!==r[e][t]&&(r[e][t].hasAttribute("rowspan")&&1===r[e][t].rowSpan&&(0,l.attr)(r[e][t],"rowspan",null),r[e][t].hasAttribute("colspan")&&1===r[e][t].colSpan&&(0,l.attr)(r[e][t],"colspan",null),r[e][t].hasAttribute("class")&&!(0,l.attr)(r[e][t],"class")&&(0,l.attr)(r[e][t],"class",null));d.__unmark(t)}static __removeExtraColspans(e,t){for(let r=0;e[0].length>r;r+=1){let i=1e6,o=!1;for(let t=0;e.length>t;t+=1)if(void 0!==e[t][r]){if(2>e[t][r].colSpan){o=!0;break}i=Math.min(i,e[t][r].colSpan)}if(!o)for(let o=0;e.length>o;o+=1)void 0!==e[o][r]&&d.__mark(e[o][r],"colspan",e[o][r].colSpan-i+1,t)}}static __removeExtraRowspans(e,t){let r=0,i=0;for(r=0;e.length>r;r+=1){let o=1e6,n=!1;for(i=0;e[r].length>i;i+=1)if(void 0!==e[r][i]){if(2>e[r][i].rowSpan){n=!0;break}o=Math.min(o,e[r][i].rowSpan)}if(!n)for(i=0;e[r].length>i;i+=1)void 0!==e[r][i]&&d.__mark(e[r][i],"rowspan",e[r][i].rowSpan-o+1,t)}}normalizeTable(e){return d.__normalizeTable(e)}static __mergeSelected(e,t){const r=[],i=d.__getSelectedBound(e,d.__getSelectedCellsByTable(e));let n,a=0,c=null,h=0,p=0,f=0;const m=new Set,g=[];i&&(i[0][0]-i[1][0]||i[0][1]-i[1][1])&&(d.__formalMatrix(e,(e,o,s,v,b)=>{if(!(i[0][0]>o||o>i[1][0]||i[0][1]>s||s>i[1][1])){if(n=e,m.has(n))return;m.add(n),o===i[0][0]&&n.style.width&&(a+=n.offsetWidth),""!==(0,l.trim)(e.innerHTML.replace(/<br(\/)?>/g,""))&&r.push(e.innerHTML),v>1&&(p+=v-1),b>1&&(f+=b-1),c?(d.__mark(n,"remove",1,g),u(t).removeSelection(n)):(c=e,h=s)}}),p=i[1][1]-i[0][1]+1,f=i[1][0]-i[0][0]+1,c&&(p>1&&d.__mark(c,"colspan",p,g),f>1&&d.__mark(c,"rowspan",f,g),a&&(d.__mark(c,"width",(a/e.offsetWidth*100).toFixed(o.ACCURACY)+"%",g),h&&d.__setColumnWidthByDelta(e,h,0,!0,g)),c.innerHTML=r.join("<br/>"),u(t).addSelection(c),m.delete(c),d.__unmark(g),d.__normalizeTable(e),(0,l.toArray)(e.rows).forEach(e=>{e.cells.length||s.J.safeRemove(e)})))}mergeSelected(e){return d.__mergeSelected(e,this.j)}static __splitHorizontal(e,t){let r,i,o,n,a;const l=[];d.__getSelectedCellsByTable(e).forEach(c=>{i=t.createInside.element("td"),i.appendChild(t.createInside.element("br")),o=t.createInside.element("tr"),r=d.__formalCoordinate(e,c),2>c.rowSpan?(d.__formalMatrix(e,(e,t,i)=>{r[0]===t&&r[1]!==i&&e!==c&&d.__mark(e,"rowspan",e.rowSpan+1,l)}),s.J.after(s.J.closest(c,"tr",e),o),o.appendChild(i)):(d.__mark(c,"rowspan",c.rowSpan-1,l),d.__formalMatrix(e,(t,i,o)=>{i>r[0]&&r[0]+c.rowSpan>i&&r[1]>o&&t.parentNode.rowIndex===i&&(a=t),i>r[0]&&t===c&&(n=e.rows[i])}),a?s.J.after(a,i):n.insertBefore(i,n.firstChild)),c.colSpan>1&&d.__mark(i,"colspan",c.colSpan,l),d.__unmark(l),u(t).removeSelection(c)}),this.__normalizeTable(e)}splitHorizontal(e){return d.__splitHorizontal(e,this.j)}static __splitVertical(e,t){let r,i,n;const a=[];d.__getSelectedCellsByTable(e).forEach(l=>{r=d.__formalCoordinate(e,l),2>l.colSpan?d.__formalMatrix(e,(e,t,i)=>{r[1]===i&&r[0]!==t&&e!==l&&d.__mark(e,"colspan",e.colSpan+1,a)}):d.__mark(l,"colspan",l.colSpan-1,a),i=t.createInside.element("td"),i.appendChild(t.createInside.element("br")),l.rowSpan>1&&d.__mark(i,"rowspan",l.rowSpan,a);const c=l.offsetWidth;s.J.after(l,i),n=c/e.offsetWidth/2,d.__mark(l,"width",(100*n).toFixed(o.ACCURACY)+"%",a),d.__mark(i,"width",(100*n).toFixed(o.ACCURACY)+"%",a),d.__unmark(a),u(t).removeSelection(l)}),d.__normalizeTable(e)}splitVertical(e){return d.__splitVertical(e,this.j)}static __setColumnWidthByDelta(e,t,r,i,n){const s=d.__formalMatrix(e);let a=0;for(let i=0;s.length>i;i+=1){const l=s[i][t];if(1>=l.colSpan||1>=s.length){d.__mark(l,"width",((l.offsetWidth+r)/e.offsetWidth*100).toFixed(o.ACCURACY)+"%",n),a=i;break}}for(let e=a+1;s.length>e;e+=1)d.__mark(s[e][t],"width",null,n);i||d.__unmark(n)}setColumnWidthByDelta(e,t,r,i,o){return d.__setColumnWidthByDelta(e,t,r,i,o)}static __mark(e,t,r,i){var o;i.push(e);const n=null!==(o=c.get(e))&&void 0!==o?o:{};n[t]=void 0===r?1:r,c.set(e,n)}static __unmark(e){e.forEach(e=>{const t=c.get(e);t&&(Object.keys(t).forEach(r=>{const i=t[r];switch(r){case"remove":s.J.safeRemove(e);break;case"rowspan":(0,l.attr)(e,"rowspan",(0,l.isNumber)(i)&&i>1?i:null);break;case"colspan":(0,l.attr)(e,"colspan",(0,l.isNumber)(i)&&i>1?i:null);break;case"width":null==i?(e.style.removeProperty("width"),(0,l.attr)(e,"style")||(0,l.attr)(e,"style",null)):e.style.width=""+i}delete t[r]}),c.delete(e))})}constructor(){super(...arguments),this.selected=new Set}}d.__selectedByTable=new WeakMap,function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);n>3&&s&&Object.defineProperty(t,r,s)}([(0,n.debounce)()],d.prototype,"__recalculateStyles",null);const u=e=>e.getInstance("Table",e.o)},76078(e,t,r){r.d(t,{$$(){return d},DY(){return h},bE(){return p},fz(){return u},tI(){return f}});var i=r(82758),o=r(2748),n=r(4510),s=r(70799),a=r(87058),l=r(43555);let c=1;function d(e,t){let r;if(i.IS_ES_NEXT||!/:scope/.test(e)||!i.IS_IE||t&&t.nodeType===Node.DOCUMENT_NODE)r=t.querySelectorAll(e);else{const i=t.id,o=i||"_selector_id_"+(Math.random()+"").slice(2)+(c++,c);e=e.replace(/:scope/g,"#"+o),!i&&t.setAttribute("id",o),r=t.parentNode.querySelectorAll(e),i||t.removeAttribute("id")}return[].slice.call(r)}const u=(e,t)=>{if(!e||e.nodeType!==Node.ELEMENT_NODE)return"";if(!e.parentNode||t===e)return"";if(e.id)return"//*[@id='"+e.id+"']";const r=[].filter.call(e.parentNode.childNodes,t=>t.nodeName===e.nodeName);return u(e.parentNode,t)+"/"+e.nodeName.toLowerCase()+(r.length>1?"["+((0,n.$)(r).indexOf(e)+1)+"]":"")},h=e=>("container"in e&&(e=e.container),d("[ref],[data-ref]",e).reduce((e,t)=>{const r=(0,l.CF)(t,"-ref");return r&&(0,s.K)(r)&&(e[(0,a.x)(r)]=t,e[r]=t),e},{})),p=e=>{if(!o.J.isElement(e))return null;const t=[];let r=e;for(;r&&r.nodeType===Node.ELEMENT_NODE;){let e=r.nodeName.toLowerCase();if(r.id){e+="#"+r.id,t.unshift(e);break}{let t=r,i=1;do{t=t.previousElementSibling,t&&t.nodeName.toLowerCase()===e&&i++}while(t);e+=":nth-of-type("+i+")"}t.unshift(e),r=r.parentNode}return t.join(" > ")};function f(e,t){let r=e;if((0,s.K)(e))try{r=t.querySelector(e)}catch(t){throw(0,l.z3)('String "'+e+'" should be valid HTML selector')}if(!r||"object"!=typeof r||!o.J.isElement(r)||!r.cloneNode)throw(0,l.z3)('Element "'+e+'" should be string or HTMLElement instance');return r}},76295(e,t,r){var i=r(2748),o=r(580),n=r(21537),s=r(25726),a=r(41180),l=r(12153),c=r(6441),d=r(5567);l.I.set("justify",d.A),c.T.prototype.controls.align={name:"left",tooltip:"Align",update(e,t){const r=t.control,o=e.s.current();if(o){const s=i.J.closest(o,i.J.isBlock,e.editor)||e.editor;let l=""+(0,a.A)(s,"text-align");r.defaultValue&&-1!==r.defaultValue.indexOf(l)&&(l="left");const{list:c,data:d}=r;d&&d.currentValue!==l&&c&&((0,n.isPlainObject)(c)?c[l]:c.includes(l))&&(e.o.textIcons||"select"===r.component?t.state.text=l:t.state.icon.name=l,d.currentValue=l)}},isActive(e,t){const r=e.s.current();if(!r||!t.control.defaultValue)return!1;const o=i.J.closest(r,i.J.isBlock,e.editor)||e.editor;return-1===t.control.defaultValue.indexOf(""+(0,a.A)(o,"text-align"))},defaultValue:["left","start","inherit"],data:{currentValue:"left"},list:["center","left","right","justify"]},c.T.prototype.controls.center={command:"justifyCenter",css:{"text-align":"center"},tooltip:"Align Center"},c.T.prototype.controls.justify={command:"justifyFull",css:{"text-align":"justify"},tooltip:"Align Justify"},c.T.prototype.controls.left={command:"justifyLeft",css:{"text-align":"left"},tooltip:"Align Left"},c.T.prototype.controls.right={command:"justifyRight",css:{"text-align":"right"},tooltip:"Align Right"},o.fg.add("justify",e=>{e.registerButton({name:"align",group:"indent"});const t=t=>(e.s.focus(),e.s.eachSelection(r=>{if(!r)return;let o=i.J.up(r,i.J.isBlock,e.editor);o||(o=i.J.wrapInline(r,e.o.enterBlock,e)),(0,s.Op)(t,o)}),!1);e.registerCommand("justifyfull",t),e.registerCommand("justifyright",t),e.registerCommand("justifyleft",t),e.registerCommand("justifycenter",t)})},76855(e,t,r){r.d(t,{$r(){return n.$},_j(){return i._},uM(){return o.u}});var i=r(29999),o=r(46559),n=r(4510)},77183(e,t,r){r.d(t,{S(){return o}});const i=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||i.has(e.name)?(e.remove(),null):e}},77361(e,t,r){r.d(t,{Ag(){return s},DI(){return a},OJ(){return o},PL(){return n},Zk(){return i},ar(){return c},dj(){return l}});const i="wrap",o="unwrap",n="change",s="unset",a="initial",l="replace",c="commitStyle"},77469(e,t,r){var i=r(82758),o=r(580),n=r(21537);r(50963),o.fg.add("iframe",e=>{const t=e.options;e.e.on("afterSetMode",()=>{e.isEditorMode()&&e.s.focus()}).on("generateDocumentStructure.iframe",(e,r)=>{const i=e||r.iframe.contentWindow.document;if(i.open(),i.write(t.iframeDoctype+`<html dir="${t.direction}" class="jodit" lang="${(0,n.defaultLanguage)(t.language)}"><head>`+`<title>${t.iframeTitle}</title>`+(t.iframeBaseUrl?`<base href="${t.iframeBaseUrl}"/>`:"")+'</head><body class="jodit-wysiwyg"></body></html>'),i.close(),t.iframeCSSLinks&&t.iframeCSSLinks.forEach(e=>{const t=i.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),i.head&&i.head.appendChild(t)}),t.iframeStyle){const e=i.createElement("style");e.innerHTML=t.iframeStyle,i.head&&i.head.appendChild(e)}}).on("createEditor",()=>{if(!t.iframe)return;const r=e.c.element("iframe");r.style.display="block",r.src="about:blank",r.className="jodit-wysiwyg_iframe",r.setAttribute("allowtransparency","true"),r.setAttribute("tabindex",""+t.tabIndex),r.setAttribute("frameborder","0"),null!=t.iframeSandbox&&r.setAttribute("sandbox",t.iframeSandbox),e.workplace.appendChild(r),e.iframe=r;const o=e.e.fire("generateDocumentStructure.iframe",null,e);return(0,n.callPromise)(o,()=>{if(!e.iframe)return!1;const r=e.iframe.contentWindow.document;e.editorWindow=e.iframe.contentWindow;const o=()=>{(0,n.attr)(r.body,"contenteditable",e.getMode()!==i.MODE_SOURCE&&!e.getReadOnly()||null)},s=e=>{const t=/<body.*<\/body>/im,r="{%%BODY%%}",i=t.exec(e);return i&&(e=e.replace(t,r).replace(/<span([^>]*?)>(.*?)<\/span>/gim,"").replace(/&lt;span([^&]*?)&gt;(.*?)&lt;\/span&gt;/gim,"").replace(r,i[0].replace(/(<body[^>]+?)min-height["'\s]*:[\s"']*[0-9]+(px|%)/im,"$1").replace(/(<body[^>]+?)([\s]*["'])?contenteditable["'\s]*=[\s"']*true["']?/im,"$1").replace(/<(style|script|span)[^>]+jodit[^>]+>.*?<\/\1>/g,"")).replace(/(class\s*=\s*)(['"])([^"']*)(jodit-wysiwyg|jodit)([^"']*\2)/g,"$1$2$3$5").replace(/(<[^<]+?)\sclass="[\s]*"/gim,"$1").replace(/(<[^<]+?)\sstyle="[\s;]*"/gim,"$1").replace(/(<[^<]+?)\sdir="[\s]*"/gim,"$1")),e};if(t.editHTMLDocumentMode){const t=e.element.tagName;if("TEXTAREA"!==t&&"INPUT"!==t)throw(0,n.error)("If enable `editHTMLDocumentMode` - source element should be INPUT or TEXTAREA");e.e.on("beforeGetNativeEditorValue",()=>s(e.o.iframeDoctype+r.documentElement.outerHTML)).on("beforeSetNativeEditorValue",({value:t})=>!e.isLocked&&(/<(html|body)/i.test(t)?s(r.documentElement.outerHTML)!==s(t)&&(r.open(),r.write(e.o.iframeDoctype+s(t)),r.close(),e.editor=r.body,e.e.fire("safeHTML",e.editor),o(),e.e.fire("prepareWYSIWYGEditor"),e.e.stopPropagation("beforeSetNativeEditorValue")):r.body.innerHTML=t,!0),{top:!0})}if(e.editor=r.body,e.e.on("afterSetMode afterInit afterAddPlace",o),"auto"===t.height){r.documentElement&&(r.documentElement.style.overflowY="hidden");const i=e.async.throttle((...r)=>{e.async.requestAnimationFrame(()=>{if(e.editor&&e.iframe&&"auto"===t.height){const t=e.ew.getComputedStyle(e.editor);(0,n.css)(e.iframe,"height",e.editor.offsetHeight+(parseInt(t.marginTop||"0",10)+parseInt(t.marginBottom||"0",10)))}})},e.defaultTimeout/2);if(e.e.on("change afterInit afterSetMode resize",i).on([e.iframe,e.ew,r.documentElement],"load",i).on(r,"readystatechange DOMContentLoaded",i),"function"==typeof ResizeObserver){const t=new ResizeObserver(i);t.observe(r.body),e.e.on("beforeDestruct",()=>{t.disconnect()})}}return r.documentElement&&e.e.on(r.documentElement,"mousedown touchend",()=>{e.s.isFocused()||(e.s.focus(),e.editor===r.body&&e.s.setCursorIn(r.body))}).on(e.ew,"mousedown touchstart keydown keyup touchend click mouseup mousemove scroll",t=>{var r;null===(r=e.events)||void 0===r||r.fire(e.ow,t)}),!1})})})},78116(e,t,r){r.d(t,{r(){return n}});var i=r(82758),o=r(2748);function n(e){return o.J.isNode(e)&&o.J.isTag(e,"span")&&e.hasAttribute("data-"+i.MARKER_CLASS)}},78173(e,t){t.A='<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(e,t,r){r.d(t,{f(){return i}});const i={beforeInit:"beforeInit",ready:"ready",beforeDestruct:"beforeDestruct",destructed:"destructed"}},78284(e,t,r){r.d(t,{v(){return i}});const i=e=>e.isElement?("img"===e.name&&(e.attributes.align&&(e.style.add("float",e.attributes.align),e.attributes.align=null),e.attributes.hspace&&(e.style.add("marginLeft",e.attributes.hspace+"px"),e.style.add("marginRight",e.attributes.hspace+"px"),e.attributes.hspace=null)),e):e},78513(e,t,r){r.d(t,{V(){return i.V}});var i=r(75330)},78524(e,t,r){r(6441).T.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"]}},78547(e,t,r){r.d(t,{Gb(){return a},fB(){return i},lA(){return o},pz(){return s},wD(){return l},yL(){return n}});const i="jd-list-level",o="jd-list-type",n="jd-list-style-type",s="data-list-style-type",a="list-style-type",l={"·":"disc",o:"circle","§":"square","[ivx]":"lower-roman","[IVX]":"upper-roman","[a-z]":"lower-alpha","[A-Z]":"upper-alpha","\\d":"decimal"}},78584(e,t,r){r.d(t,{l(){return b}});var i,o=r(91907),n=r(82758),s=r(65478),a=r(2748),l=r(580),c=r(76855),d=r(27613),u=r(43555),h=r(38837),p=r(67510),f=r(35608),m=r(84075),g=r(6441),v=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};g.T.prototype.dialog={namespace:"",extraButtons:[],resizable:!0,draggable:!0,buttons:["dialog.close"],removeButtons:[],toolbarButtonSize:"middle",zIndex:"inherit"},g.T.prototype.controls.dialog={close:{icon:"cancel",exec(e){e.close()}}};let b=i=class e extends m.T{className(){return"Dialog"}get destination(){const{popupRoot:e,shadowRoot:t}=this.o;return e||t||this.od.body}setElements(e,t){const r=[];(0,c._j)(t).forEach(t=>{if((0,d.cy)(t)){const i=this.c.div(this.getFullElName("column"));return r.push(i),e.appendChild(i),this.setElements(i,t)}let i;i=(0,d.Kg)(t)?this.c.fromHTML(t):(0,d.kO)(t)?t.container:t,r.push(i),i.parentNode!==e&&e.appendChild(i)}),(0,c.$r)(e.childNodes).forEach(t=>{-1===r.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){const t=e.target;!this.o.draggable||t&&t.nodeName.match(/^(INPUT|SELECT)$/)||(this.draggable=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.x=(0,u.AH)(this.dialog,"left"),this.startPoint.y=(0,u.AH)(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===n.KEY_ESC&&!0!==this.getMod("static")){const t=this.getMaxZIndexDialog();t?t.close():this.close(),e.stopImmediatePropagation()}}__onResizerMouseDown(e){this.resizable=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.w=this.dialog.offsetWidth,this.startPoint.h=this.dialog.offsetHeight,this.lockSelect(),this.__addGlobalResizeListeners(),this.e&&this.e.fire(this,"startResize")}__addGlobalResizeListeners(){const e=this;e.e.on(e.ow,"pointermove touchmove",e.__onMouseMove).on(e.ow,"pointerup touchend",e.__onMouseUp)}__removeGlobalResizeListeners(){const e=this;e.e.off(e.ow,"mousemove pointermove",e.__onMouseMove).off(e.ow,"mouseup pointerup",e.__onMouseUp)}setSize(e,t){return null==e&&(e=this.dialog.offsetWidth),null==t&&(t=this.dialog.offsetHeight),(0,u.AH)(this.dialog,{width:e,height:t}),this}calcAutoSize(){return this.setSize("auto","auto"),this.setSize(),this}setPosition(e,t){let r=this.ow.innerWidth/2-this.dialog.offsetWidth/2,i=this.ow.innerHeight/2-this.dialog.offsetHeight/2;return 0>r&&(r=0),0>i&&(i=0),void 0!==e&&void 0!==t&&(this.offsetX=e,this.offsetY=t,this.moved=Math.abs(e-r)>100||Math.abs(t-i)>100),this.dialog.style.left=(e||r)+"px",this.dialog.style.top=(t||i)+"px",this}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,u.AH)(this.container,"zIndex"),10)||0}getMaxZIndexDialog(){let e,t,r=0,i=this;return(0,u.$$)(".jodit-dialog",this.destination).forEach(o=>{e=o.component,t=parseInt((0,u.AH)(o,"zIndex"),10),e.isOpened&&!isNaN(t)&&t>r&&(i=e,r=t)}),i}setMaxZIndex(){if(this.getMod("static"))return;let e=20000004,t=0;(0,u.$$)(".jodit-dialog",this.destination).forEach(r=>{t=parseInt((0,u.AH)(r,"zIndex"),10),e=Math.max(isNaN(t)?0:t,e)}),this.container.style.zIndex=""+(e+1)}toggleFullSize(e){(0,d.Rd)(e)&&(e=!this.getMod("fullsize")),this.setMod("fullsize",e),super.toggleFullSize(e)}open(e,t,r,i){if(l.RR.fire("closeAllPopups hideHelpers"),!1===this.e.fire(this,"beforeOpen"))return this;(0,d.Lm)(e)&&(r=e),(0,d.Lm)(t)&&(i=t),this.destroyAfterClose=!0===r;const o=(0,d.Lm)(e)?void 0:e,n=(0,d.Lm)(t)?void 0:t;return void 0!==n&&this.setHeader(n),o&&this.setContent(o),this.setMod("active",!0),this.isOpened=!0,this.setModal(i),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;const{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.J.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.uM)(this.o.buttons)).setMod("mode","header").appendTo(this.dialogbox_toolbar)}destruct(){this.isInDestruct||(this.setStatus(o.f.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;const t=this;t.options=(0,u.tb)(e,(0,u.tb)(g.T.prototype.dialog,i.defaultOptions)),a.J.safeRemove(t.container);const r=this.getFullElName.bind(this);t.container=this.c.fromHTML(`<div class="jodit jodit-dialog ${this.componentName}">\n\t\t\t\t<div class="${r("overlay")}"></div>\n\t\t\t\t<div class="${this.getFullElName("panel")}">\n\t\t\t\t\t<div class="${r("header")}">\n\t\t\t\t\t\t<div class="${r("header-title")}"></div>\n\t\t\t\t\t\t<div class="${r("header-toolbar")}"></div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="${r("content")}"></div>\n\t\t\t\t\t<div class="${r("footer")}"></div>\n\t\t\t\t\t<div class="${r("resizer")}">${p.In.get("resize_handler")}</div>\n\t\t\t\t</div>\n\t\t\t</div>`),"rtl"===t.options.direction&&(t.container.style.direction="rtl",t.container.setAttribute("dir","rtl")),this.o.zIndex&&(this.container.style.zIndex=""+this.o.zIndex),(0,u.CF)(t.container,"role","dialog"),Object.defineProperty(t.container,"component",{value:this}),t.setMod("theme",t.o.theme||"default").setMod("resizable",!!t.o.resizable);const o=t.getElm("panel");(0,h.v)(null!=o,"Panel element does not exist");const n=t.getElm("resizer");(0,h.v)(null!=n,"Resizer element does not exist");const s=t.getElm("header-title");(0,h.v)(null!=s,"header-title element does not exist");const c=t.getElm("content");(0,h.v)(null!=c,"Content element does not exist");const f=t.getElm("footer");(0,h.v)(null!=f,"Footer element does not exist");const m=t.getElm("header-toolbar");(0,h.v)(null!=m,"header-toolbar element does not exist"),this.dialog=o,this.resizer=n,this.dialogbox_header=s,this.dialogbox_content=c,this.dialogbox_footer=f,this.dialogbox_toolbar=m,(0,u.AH)(t.dialog,{maxWidth:t.options.maxWidth,minHeight:t.options.minHeight,minWidth:t.options.minWidth});const v=t.getElm("header");v&&t.e.on(v,"pointerdown touchstart",t.__onHeaderMouseDown),t.e.on(t.resizer,"mousedown touchstart",t.__onResizerMouseDown);const b=l.fg.get("fullsize");if((0,d.Tn)(b)&&b(t),this.e.on(t.container,"close_dialog",t.close).on(this.ow,"keydown",this.__onEsc).on(this.ow,"resize",this.__onResize),this.o.closeOnClickOverlay){const e=t.getElm("overlay");(0,h.v)(null!=e,"Overlay element does not exist"),this.e.on(e,"click",t.close)}}};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=i=v([s.component],b),b.defaultOptions={...f.S.defaultOptions,closeOnClickOverlay:!1,closeOnEsc:!0}},78614(e,t){t.A='<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> '},78630(e,t,r){r.d(t,{j(){return a}});var i=r(31635),o=r(53253),n=r(65478),s=r(62405);let a=class e extends s.U{constructor(){super(...arguments),this.elements=[],this.currentSelection=-1,this.__previousList=[]}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){const t=this.elements[this.currentSelection]?.item.value,r=[];let i=-1;for(let t=0;e.length>t;t+=1){if(i+=1,null!=this.__previousList[t]&&e[t].value===this.__previousList[t].value)continue;this.elements[i]&&(r.push(this.elements[i]),i+=1);const n=new o.K(this.jodit,e[t],t=>{this.currentSelection=e.findIndex(e=>e.value===t),this.select()});this.append(n,i)}for(let e=i+1;this.elements.length>e;e+=1)r.push(this.elements[e]);r.forEach(e=>{this.remove(e),e.destruct()});const n=this.currentSelection;this.currentSelection=Math.max(0,e.findIndex(e=>e.value===t)),n===this.currentSelection&&this.onChangeSelection(),this.__previousList=[...e]}selectNext(){this.currentSelection+1>this.elements.length-1?this.currentSelection=0:this.currentSelection+=1}selectPrevious(){0>this.currentSelection-1?this.currentSelection=this.elements.length-1:this.currentSelection-=1}select(){this.j.e.fire("select.autocomplete",this.elements[this.currentSelection].item)}};(0,i.Cg)([(0,n.watch)("currentSelection")],a.prototype,"onChangeSelection",null),a=(0,i.Cg)([n.component],a)},78644(e,t,r){r.d(t,{I(){return f}});var i=r(78213),o=r(65478),n=r(22732),s=r(21537),a=r(62843),l=r(72157),c=r(12153),d=r(56917),u=r(11676),h=r(21491),p=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};let f=class e extends a.lD{className(){return"ToolbarButton"}get toolbar(){return this.closest(u.Q)}update(){var e,t;const{control:r,state:i}=this,o=this.closest(u.Q);if(!o)return;const n=null===(e=r.value)||void 0===e?void 0:e.call(r,o.jodit,this);void 0!==n&&(i.value=n),i.disabled=this.__calculateDisabledStatus(o),i.activated=this.__calculateActivatedStatus(o),null===(t=r.update)||void 0===t||t.call(r,o.jodit,this)}__calculateActivatedStatus(e){var t,r;return!((0,s.isJoditObject)(this.j)&&!this.j.editorIsActive||!(null===(r=(t=this.control).isActive)||void 0===r?void 0:r.call(t,this.j,this))&&(!e||!e.shouldBeActive(this)))}__calculateDisabledStatus(e){var t,r;return!(!this.j.o.disabled&&(!this.j.o.readonly||this.j.o.activeButtonsInReadOnly&&this.j.o.activeButtonsInReadOnly.includes(this.control.name))&&!(null===(r=(t=this.control).isDisabled)||void 0===r?void 0:r.call(t,this.j,this))&&(!e||!e.shouldBeDisabled(this)))}onChangeActivated(){(0,s.attr)(this.button,"aria-pressed",this.state.activated),super.onChangeActivated()}onChangeText(){(0,s.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,s.attr)(this.button,"tabindex",this.state.tabIndex)}createContainer(){const e=this.componentName,t=this.j.c.span(e),r=super.createContainer();(0,s.attr)(t,"role","listitem"),r.classList.remove(e),r.classList.add(e+"__button"),Object.defineProperty(r,"component",{value:this}),t.appendChild(r);const i=this.j.c.fromHTML(`<span role="trigger" class="${e}__trigger">${c.I.get("chevron")}</span>`);return r.appendChild(i),t}focus(){var e;null===(e=this.container.querySelector("button"))||void 0===e||e.focus()}onChangeHasTrigger(){this.state.hasTrigger?this.container.appendChild(this.trigger):n.J.safeRemove(this.trigger),this.setMod("with-trigger",this.state.hasTrigger||null)}onChangeDisabled(){const e=this.state.disabled?"disabled":null;(0,s.attr)(this.trigger,"disabled",e),(0,s.attr)(this.button,"disabled",e),(0,s.attr)(this.container,"disabled",e)}__initFromControl(){var e;const{control:t,state:r}=this;this.updateSize(),r.name=t.name;const{textIcons:i}=this.j.o;if(!0===i||(0,s.isFunction)(i)&&i(t.name)||t.template)r.icon=(0,a.ue)().icon,r.text=t.text||t.name;else{if(t.iconURL)r.icon.iconURL=t.iconURL;else{const i=t.icon||t.name;r.icon.name=c.I.exists(i)||(null===(e=this.j.o.extraIcons)||void 0===e?void 0:e[i])?i:""}t.iconURL||r.icon.name||(r.text=t.text||t.name)}t.tooltip&&(r.tooltip=this.j.i18n((0,s.isFunction)(t.tooltip)?t.tooltip(this.j,t,this):t.tooltip)),r.hasTrigger=!!(t.list||t.popup&&t.exec)}onTriggerClick(e){var t,r,i;if(this.openedPopup)return void this.__closePopup();const{control:o}=this;if(e.buffer={actionTrigger:this},o.list)return this.__openControlList(o);if((0,s.isFunction)(o.popup)){const n=this.openPopup();n.parentElement=this;try{if(!1!==this.j.e.fire((0,s.camelCase)(`before-${o.name}-open-popup`),this.target,o,n)){const e=null!==(i=null!==(r=null===(t=this.toolbar)||void 0===t?void 0:t.getTarget(this))&&void 0!==r?r:this.target)&&void 0!==i?i:null,a=o.popup(this.j,e,this.__closePopup,this);a?n.setContent((0,s.isString)(a)?this.j.c.fromHTML(a):a).open(()=>(0,s.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,s.camelCase)(`after-${o.name}-open-popup`),n.container)}}__openControlList(e){var t;const r=null!==(t=this.jodit.options.controls)&&void 0!==t?t:{},i=e=>(0,l.x)(e,r),o=e.list,n=this.openPopup(),a=(0,h.$K)(this.j);n.parentElement=this,a.parentElement=n,a.mode="vertical";const c=(t,r)=>{if((0,s.isString)(r)&&i(r))return{name:""+r,...i(r)};if((0,s.isString)(t)&&i(t))return{name:""+t,...i(t),..."object"==typeof r?r:{}};(e=>(0,s.isPlainObject)(e)&&"title"in e&&"value"in e)(t)&&(r=t.value,t=t.title);const{childTemplate:o}=e,n={name:""+t,template:o&&((e,t,r)=>o(e,t,r,this)),exec:e.childExec?(t,r,i)=>{var o;return null===(o=e.childExec)||void 0===o?void 0:o.call(e,t,r,{...i,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,r]};return(0,s.isString)(r)&&(n.text=r),n};a.build((0,s.isArray)(o)?o.map(c):(0,s.keys)(o,!1).map(e=>c(e,o[e])),this.target),n.setContent(a).open(()=>(0,s.position)(this.container),!1,this.j.o.allowTabNavigation?this.container:void 0),this.state.activated=!0}onOutsideClick(e){this.openedPopup&&(e&&n.J.isNode(e.target)&&(n.J.isOrContains(this.container,e.target)||this.openedPopup.isOwnClick(e))||this.__closePopup())}openPopup(){return this.__closePopup(),this.openedPopup=new d.z(this.j,!1),this.j.e.on(this.ow,"mousedown touchstart",this.onOutsideClick).on("escape closeAllPopups",this.onOutsideClick),this.openedPopup}__closePopup(){this.openedPopup&&(this.j.e.off(this.ow,"mousedown touchstart",this.onOutsideClick).off("escape closeAllPopups",this.onOutsideClick),this.state.activated=!1,this.openedPopup.close(),this.openedPopup.destruct(),this.openedPopup=null)}onClick(e){var t,r,i,o,n,a,l;const{control:c}=this;if((0,s.isFunction)(c.exec)){const s=null!==(i=null!==(r=null===(t=this.toolbar)||void 0===t?void 0:t.getTarget(this))&&void 0!==r?r:this.target)&&void 0!==i?i:null,d=c.exec(this.j,s,{control:c,originalEvent:e,button:this});if(!1!==d&&!0!==d&&(null===(n=null===(o=this.j)||void 0===o?void 0:o.e)||void 0===n||n.fire("synchro"),this.parentElement&&this.parentElement.update(),null===(l=null===(a=this.j)||void 0===a?void 0:a.e)||void 0===l||l.fire("closeAllPopups afterExec")),!1!==d)return}return c.list?this.__openControlList(c):(0,s.isFunction)(c.popup)?this.onTriggerClick(e):void((c.command||c.name)&&((0,s.call)((0,s.isJoditObject)(this.j)?this.j.execCommand.bind(this.j):this.j.od.execCommand.bind(this.j.od),c.command||c.name,!1,c.args&&c.args[0]),this.j.e.fire("closeAllPopups")))}destruct(){return this.__closePopup(),super.destruct()}constructor(e,t,r=null){super(e),this.control=t,this.target=r,this.state={...(0,a.ue)(),theme:"toolbar",currentValue:"",hasTrigger:!1},this.openedPopup=null;const o=this.getElm("button");(0,s.assert)(o,"Element button should exists"),this.button=o,Object.defineProperty(o,"component",{value:this,configurable:!0});const n=this.getElm("trigger");(0,s.assert)(n,"Element trigger should exists"),this.trigger=n,n.remove(),e.e.on([this.button,this.trigger],"mousedown",e=>e.preventDefault()),this.onAction(this.onClick),this.hookStatus(i.f.ready,()=>{this.__initFromControl(),this.update()}),t.mods&&Object.keys(t.mods).forEach(e=>{t.mods&&this.setMod(e,t.mods[e])})}};p([o.cacheHTML],f.prototype,"createContainer",null),p([(0,o.watch)("state.hasTrigger",{immediately:!1})],f.prototype,"onChangeHasTrigger",null),p([(0,o.watch)("trigger:click")],f.prototype,"onTriggerClick",null),p([o.autobind],f.prototype,"onOutsideClick",null),p([o.autobind],f.prototype,"__closePopup",null),f=p([o.component],f)},78720(e,t,r){r.d(t,{o(){return o}});var i=r(2748);function o(e,t){if(i.J.isFragment(t)&&(t=t.firstChild),e.o.dtd.checkBlockNesting&&i.J.isBlock(t)){const t=i.J.furthest(e.s.current(),i.J.isBlock,e.editor);t&&!e.o.dtd.blockLimits[t.tagName.toLowerCase()]&&(e.s.setCursorAfter(t),i.J.isEmpty(t)&&i.J.safeRemove(t))}}},78818(e,t,r){r.d(t,{B(){return c}});var i=r(91907),o=r(65478),n=r(6441),s=r(92643),a=r(52604),l=r(57034);n.T.prototype.history={enable:!0,maxHistoryLength:1/0,timeout:1e3};class c extends i.vG{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){const t=this.snapshot.make();if(!a.F.equal(t,this.startValue)){const r=new s.u(this.startValue,t,this,this.updateTick);if(e){const e=this.__stack.current();e&&this.updateTick===e.tick&&this.__stack.replace(r)}else this.__stack.push(r);this.startValue=t,this.fireChangeStack()}}fireChangeStack(){var e;this.j&&!this.j.isInDestruct&&(null===(e=this.j.events)||void 0===e||e.fire("changeStack"))}destruct(){this.isInDestruct||(this.j.events&&this.j.e.off(".history"),this.snapshot.destruct(),super.destruct())}constructor(e,t=new l.B(e.o.history.maxHistoryLength),r=new a.F(e)){super(e),this.updateTick=0,this.__stack=t,this.snapshot=r,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,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);n>3&&s&&Object.defineProperty(t,r,s)}([(0,o.debounce)()],c.prototype,"onChange",null)},78927(e,t,r){r.d(t,{N(){return s}});var i=r(91907),o=r(23282),n=r(89890);function s(){return(e,t)=>{if(!(0,o.T)(e[t]))throw(0,n.z3)("Handler must be a Function");e.hookStatus(i.f.ready,e=>{const{async:r}=e,i=e[t];e[t]=(...t)=>r.requestIdleCallback(i.bind(e,...t))})}}},79348(e,t,r){r.d(t,{L(){return p}});var i=r(82758),o=r(65478),n=r(2748),s=r(21537),a=r(27613),l=r(38837),c=r(43463),d=r(25639),u=r(45124),h=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};class p{get j(){return this.jodit}errorNode(e){if(!n.J.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.Tn)(this.j.o.shadowRoot.getSelection)?this.j.o.shadowRoot.getSelection():this.win.getSelection()}get range(){const e=this.sel;return e&&e.rangeCount?e.getRangeAt(0):this.createRange()}get isInsideArea(){const{sel:e}=this,t=(null==e?void 0:e.rangeCount)?e.getRangeAt(0):null;return!(!t||!n.J.isOrContains(this.area,t.startContainer))}createRange(e=!1){const t=this.doc.createRange();return e&&this.selectRange(t),t}remove(){const e=this.sel,t=this.current();if(e&&t)for(let t=0;e.rangeCount>t;t+=1)e.getRangeAt(t).deleteContents(),e.getRangeAt(t).collapse(!0)}clear(){var e,t;(null===(e=this.sel)||void 0===e?void 0:e.rangeCount)&&(null===(t=this.sel)||void 0===t||t.removeAllRanges())}removeNode(e){if(!n.J.isOrContains(this.j.editor,e,!0))throw(0,s.error)("Selection.removeNode can remove only editor's children");n.J.safeRemove(e),this.j.e.fire("afterRemoveNode",e)}insertCursorAtPoint(e,t){this.removeMarkers();try{const r=this.createRange();return(()=>{if(this.doc.caretPositionFromPoint){const i=this.doc.caretPositionFromPoint(e,t);if(i)return void r.setStart(i.offsetNode,i.offset)}if(this.doc.caretRangeFromPoint){const i=this.doc.caretRangeFromPoint(e,t);(0,l.v)(i,"Incorrect caretRangeFromPoint behaviour"),r.setStart(i.startContainer,i.startOffset)}})(),r.collapse(!0),this.selectRange(r),!0}catch(e){}return!1}get hasMarkers(){return!!this.markers.length}get markers(){return(0,s.$$)("span[data-"+i.MARKER_CLASS+"]",this.area)}removeMarkers(){n.J.safeRemove.apply(null,this.markers)}marker(e=!1,t){let r=null;t&&(r=t.cloneRange(),r.collapse(e));const o=this.j.createInside.span();return o.id=i.MARKER_CLASS+"_"+Number(new Date)+"_"+(Math.random()+"").slice(2),o.style.lineHeight="0",o.style.display="none",n.J.markTemporary(o),(0,s.attr)(o,"data-"+i.MARKER_CLASS,e?"start":"end"),o.appendChild(this.j.createInside.text(i.INVISIBLE_SPACE)),r&&n.J.isOrContains(this.area,e?r.startContainer:r.endContainer)&&r.insertNode(o),o}restore(){let e=!1;const t=e=>`span[data-${i.MARKER_CLASS}=${e?"start":"end"}]`,r=this.area.querySelector(t(!0)),o=this.area.querySelector(t(!1));if(r){if(e=this.createRange(),o)e.setStartAfter(r),n.J.safeRemove(r),e.setEndBefore(o),n.J.safeRemove(o);else{const t=r.previousSibling;n.J.isText(t)?e.setStart(t,t.nodeValue?t.nodeValue.length:0):e.setStartBefore(r),n.J.safeRemove(r),e.collapse(!0)}e&&this.selectRange(e)}}fakes(){const e=this.sel;if(!e||!e.rangeCount)return[];const t=e.getRangeAt(0);(0,l.v)(t,"Range is null");const r=t.cloneRange();r.collapse(!0);const i=this.j.createInside.fake();n.J.safeInsertNode(r,i),t.setStartBefore(i);const o=[i];if(!t.collapsed){const e=t.cloneRange();e.collapse(!1);const r=this.j.createInside.fake();n.J.safeInsertNode(e,r),t.setEndAfter(r),o.push(r)}return this.selectRange(t),o}restoreFakes(e){var t,r,i,o;const s=e.filter(e=>e.isConnected);if(!s.length)return;const[a,l]=s,c=this.createRange();c.setStartAfter(a),l&&c.setEndBefore(l),this.selectRange(c),(null===(t=a.parentNode)||void 0===t?void 0:t.firstChild)!==(null===(r=a.parentNode)||void 0===r?void 0:r.lastChild)&&n.J.safeRemove(a),(null===(i=null==l?void 0:l.parentNode)||void 0===i?void 0:i.firstChild)!==(null===(o=null==l?void 0:l.parentNode)||void 0===o?void 0:o.lastChild)&&n.J.safeRemove(l)}save(e=!1){if(this.hasMarkers)return[];const t=this.sel;if(!t||!t.rangeCount)return[];const r=[],i=t.rangeCount,o=[];for(let e=0;i>e;e+=1)if(o[e]=t.getRangeAt(e),o[e].collapsed){const t=this.marker(!0,o[e]);r[e]={startId:t.id,collapsed:!0,startMarker:t.outerHTML}}else{const t=this.marker(!0,o[e]),i=this.marker(!1,o[e]);r[e]={startId:t.id,endId:i.id,collapsed:!1,startMarker:t.outerHTML,endMarker:i.outerHTML}}if(!e){t.removeAllRanges();for(let e=i-1;e>=0;--e){const i=this.doc.getElementById(r[e].startId);if(i){if(r[e].collapsed)o[e].setStartAfter(i),o[e].collapse(!0);else if(o[e].setStartBefore(i),r[e].endId){const t=this.doc.getElementById(r[e].endId);t&&o[e].setEndAfter(t)}try{t.addRange(o[e].cloneRange())}catch(e){}}}}return r}focus(e={preventScroll:!0}){var t,r;if(!this.isFocused()){const i=(0,s.getScrollParent)(this.j.container),o=null==i?void 0:i.scrollTop;this.j.iframe&&"complete"===this.doc.readyState&&this.j.iframe.focus(e),this.win.focus(),this.area.focus(e),o&&(null==i?void 0:i.scrollTo)&&i.scrollTo(0,o);const a=this.sel,l=(null==a?void 0:a.rangeCount)?null==a?void 0:a.getRangeAt(0):null;if(!l||!n.J.isOrContains(this.area,l.startContainer)){const e=this.createRange();e.setStart(this.area,0),e.collapse(!0),this.selectRange(e,!1)}return this.j.editorIsActive||null===(r=null===(t=this.j)||void 0===t?void 0:t.events)||void 0===r||r.fire("focus"),!0}return!1}isCollapsed(){const e=this.sel;for(let t=0;e&&e.rangeCount>t;t+=1)if(!e.getRangeAt(t).collapsed)return!1;return!0}isFocused(){return this.doc.hasFocus&&this.doc.hasFocus()&&this.area===this.doc.activeElement}current(e=!0){if(this.j.getRealMode()!==i.MODE_WYSIWYG)return null;const t=this.sel;if(!t||0===t.rangeCount)return null;const r=t.getRangeAt(0);let o=r.startContainer,s=!1;const a=e=>s?e.lastChild:e.firstChild;if(n.J.isTag(o,"br")&&t.isCollapsed)return o;if(!n.J.isText(o)){const i=(0,u.dY)(o,r,s,t.isCollapsed,e,a);o=i.node,s=i.rightMode}return o&&n.J.isOrContains(this.area,o)?o:null}insertNode(e,t=!0,r=!0){this.errorNode(e);const i=n.J.isFragment(e)?e.lastChild:e;this.j.e.fire("safeHTML",e),!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore());const o=this.sel;this.j.history.snapshot.transaction(()=>{if(this.isCollapsed()||this.j.execCommand("Delete"),this.j.e.fire("beforeInsertNode",e),o&&o.rangeCount){const t=o.getRangeAt(0);n.J.isOrContains(this.area,t.commonAncestorContainer)?n.J.safeInsertNode(t,e):this.area.appendChild(e)}else this.area.appendChild(e);const r=e=>{if(n.J.isBlock(e)){const t=e.lastChild;if(t)return r(t)}this.setCursorAfter(e)};t&&(n.J.isFragment(e)?i&&r(i):r(e)),this.j.o.scrollToPastedContent&&(0,s.scrollIntoViewIfNeeded)(null!=i?i:e,this.j.editor,this.doc)}),r&&this.j.events&&this.j.__imdSynchronizeValues(),this.j.events&&this.j.e.fire("afterInsertNode",n.J.isFragment(e)?i:e)}insertHTML(e,t=!0){if(""===e)return;const r=this.j.createInside.div(),i=this.j.createInside.fragment();let o;if(!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore()),n.J.isNode(e)?r.appendChild(e):r.innerHTML=""+e,(this.j.isEditorMode()||!1!==this.j.e.fire("insertHTML",r.innerHTML))&&(o=r.lastChild,o)){for(;r.firstChild;)o=r.firstChild,i.appendChild(r.firstChild);this.insertNode(i,t,!1),this.j.__imdSynchronizeValues()}}insertImage(e,t=null,r=null){const i=(0,a.Kg)(e)?this.j.createInside.element("img"):e;if((0,a.Kg)(e)&&i.setAttribute("src",e),null!=r){let e=""+r;e&&"auto"!==e&&0>(e+"").indexOf("px")&&0>(e+"").indexOf("%")&&(e+="px"),(0,s.attr)(i,"width",e)}t&&"object"==typeof t&&(0,s.css)(i,t);const o=()=>{(i.offsetHeight>i.naturalHeight||i.offsetWidth>i.naturalWidth)&&(i.style.width="",i.style.height=""),i.removeEventListener("load",o)};this.j.e.on(i,"load",o),i.complete&&o(),this.insertNode(i),this.j.e.fire("afterInsertImage",i)}eachSelection(e){var t;const r=this.sel;if(!r||!r.rangeCount)return;const o=r.getRangeAt(0);let l=o.commonAncestorContainer;n.J.isHTMLElement(l)||(l=l.parentElement);const c=[],d=o.startOffset,u=l.childNodes.length;let h=o.startContainer===this.area?l.childNodes[u>d?d:u-1]:o.startContainer,p=o.endContainer===this.area?l.childNodes[o.endOffset-1]:o.endContainer;n.J.isText(h)&&h===o.startContainer&&o.startOffset===(null===(t=h.nodeValue)||void 0===t?void 0:t.length)&&h.nextSibling&&(h=h.nextSibling),n.J.isText(p)&&p===o.endContainer&&0===o.endOffset&&p.previousSibling&&(p=p.previousSibling);const f=e=>{!e||e===l||n.J.isEmptyTextNode(e)||(0,a.rg)(e)||c.push(e)};f(h),h!==p&&n.J.isOrContains(l,h,!0)&&n.J.find(h,e=>(f(e),e===p||e&&e.contains&&e.contains(p)),l,!0,!1);const m=t=>{if(n.J.isOrContains(this.j.editor,t,!0)){if(t.nodeName.match(/^(UL|OL)$/))return(0,s.toArray)(t.childNodes).forEach(m);if(n.J.isTag(t,"li"))if(t.firstChild)t=t.firstChild;else{const e=this.j.createInside.text(i.INVISIBLE_SPACE);t.appendChild(e),t=e}e(t)}};0===c.length&&(n.J.isEmptyTextNode(h)&&c.push(h),h.firstChild&&c.push(h.firstChild)),c.forEach(m)}cursorInTheEdge(e,t,r=null){var i;const o=!e,a=null===(i=this.sel)||void 0===i?void 0:i.getRangeAt(0);if(null!=r||(r=this.current(!1)),!a||!r||!n.J.isOrContains(t,r,!0))return null;const l=e?a.startContainer:a.endContainer,c=e?a.startOffset:a.endOffset,d=e=>!(!e||n.J.isTag(e,"br")||n.J.isEmptyTextNode(e)||n.J.isTemporary(e)||n.J.isElement(e)&&!0===this.j.e.fire("isInvisibleForCursor",e));if(n.J.isText(l)){if((0,u.Qe)(l,c,e,o))return!1}else{const e=(0,s.toArray)(l.childNodes);if(o){if(e.slice(c).some(d))return!1}else if(e.slice(0,c).some(d))return!1}let h=r;for(;h&&h!==t;){const t=n.J.sibling(h,e);if(t){if(h=t,h&&d(h))return!1}else h=h.parentNode}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 r,i;if(this.errorNode(e),!n.J.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,s.error)("Node element must be in editor");const o=this.createRange();let a=null;return n.J.isText(e)?t?o.setStart(e,0):o.setEnd(e,null!==(i=null===(r=e.nodeValue)||void 0===r?void 0:r.length)&&void 0!==i?i:0):(a=this.j.createInside.fake(),t?o.setStartBefore(e):o.setEndAfter(e),o.collapse(t),n.J.safeInsertNode(o,a),o.selectNode(a)),o.collapse(t),this.selectRange(o),a}setCursorIn(e,t=!1){if(this.errorNode(e),!n.J.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,s.error)("Node element must be in editor");const r=this.createRange();let o=e,a=e;do{if(n.J.isText(o)||n.J.isTag(o,i.INSEPARABLE_TAGS))break;a=o,o=t?o.firstChild:o.lastChild}while(o);if(!o){const e=this.j.createInside.text(i.INVISIBLE_SPACE);n.J.isTag(a,i.INSEPARABLE_TAGS)?o=a:(a.appendChild(e),a=e)}const l=o||a;return n.J.isTag(l,i.INSEPARABLE_TAGS)?(t||n.J.isTag(l,"br")?r.setStartBefore(l):r.setEndAfter(l),r.collapse(t)):(r.selectNodeContents(l),r.collapse(t)),this.selectRange(r),a}selectRange(e,t=!0){const r=this.sel;return t&&!this.isFocused()&&this.focus(),r&&(r.removeAllRanges(),r.addRange(e)),this.j.e.fire("changeSelection"),this}select(e,t=!1){if(this.errorNode(e),!n.J.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,s.error)("Node element must be in editor");const r=this.createRange();return r[t?"selectNodeContents":"selectNode"](e),this.selectRange(r)}get html(){const e=this.sel;if(e&&e.rangeCount>0){const t=e.getRangeAt(0).cloneContents(),r=this.j.createInside.div();return r.appendChild(t),r.innerHTML}return""}*wrapInTagGen(e){if(this.isCollapsed()){const t=this.jodit.createInside.element("font",i.INVISIBLE_SPACE);return this.insertNode(t,!1,!1),e&&e[0]&&t.appendChild(e[0]),yield t,void n.J.unwrap(t)}(0,s.$$)("*[style*=font-size]",this.area).forEach(e=>{(0,s.attr)(e,"data-font-size",""+e.style.fontSize),e.style.removeProperty("font-size")}),this.j.nativeExecCommand("fontsize",!1,"7"),(0,s.$$)("*[data-font-size]",this.area).forEach(e=>{const t=(0,s.attr)(e,"data-font-size");t&&(e.style.fontSize=t,(0,s.attr)(e,"data-font-size",null))});const t=(0,s.$$)('font[size="7"]',this.area);for(const e of t){const{firstChild:t,lastChild:r}=e;t&&t===r&&(0,a.rg)(t)||(t&&(0,a.rg)(t)&&n.J.before(e,t),r&&(0,a.rg)(r)&&n.J.after(e,r),yield e),n.J.unwrap(e)}}wrapInTag(e){const t=[];for(const r of this.wrapInTagGen())try{if(r.firstChild&&r.firstChild===r.lastChild&&(0,a.rg)(r.firstChild))continue;(0,a.Tn)(e)?e(r):t.push(n.J.replace(r,e,this.j.createInside))}finally{const e=r.parentNode;e&&(n.J.unwrap(r),n.J.isEmpty(e)&&n.J.unwrap(e))}return t}commitStyle(e){(0,l.v)((0,s.size)(e)>0,"Need to pass at least one option"),new d.x(e).apply(this.j)}splitSelection(e,t){if(!this.isCollapsed())return null;const r=this.createRange(),o=this.range;r.setStartBefore(e);const s=this.cursorOnTheRight(e,t),a=this.cursorOnTheLeft(e,t),c=this.j.createInside.element("br"),d=this.j.createInside.fake(),u=d.cloneNode();try{if(s||a){t?n.J.before(t,c):n.J.safeInsertNode(o,c);const e=(e,t)=>{let r=t(e);for(;r;){const e=t(r);if(!r||!n.J.isTag(r,"br")&&!n.J.isEmptyTextNode(r))break;n.J.safeRemove(r),r=e}};e(c,e=>e.nextSibling),e(c,e=>e.previousSibling),n.J.after(c,u),n.J.before(c,d),s?(r.setEndBefore(c),o.setEndBefore(c)):(r.setEndAfter(c),o.setEndAfter(c))}else r.setEnd(o.startContainer,o.startOffset);const h=r.extractContents(),p=e=>n.J.each(e,e=>n.J.isEmptyTextNode(e)&&n.J.safeRemove(e));(0,l.v)(e.parentNode,"Splitting fails");try{if(p(h),p(e),e.parentNode.insertBefore(h,e),!t&&s&&(null==c?void 0:c.parentNode)){const e=this.createRange();e.setStartBefore(c),this.selectRange(e)}}catch(e){if(!i.IS_PROD)throw e}const f=e=>{var t,r,i;(null===(t=null==e?void 0:e.parentNode)||void 0===t?void 0:t.firstChild)===(null===(r=null==e?void 0:e.parentNode)||void 0===r?void 0:r.lastChild)&&(null===(i=null==e?void 0:e.parentNode)||void 0===i||i.appendChild(c.cloneNode()))};f(d),f(u)}finally{n.J.safeRemove(d),n.J.safeRemove(u)}return e.previousElementSibling}expandSelection(){if(this.isCollapsed())return this;const{range:e}=this,t=e.cloneRange();if(!n.J.isOrContains(this.j.editor,e.commonAncestorContainer,!0))return this;const r=t=>{const r=this.j.createInside.fake(),i=e.cloneRange();return i.collapse(t),n.J.safeInsertNode(i,r),(0,c.G)(r,t,this.j.editor),r},i=r(!0),o=r(!1);t.setStartAfter(i),t.setEndBefore(o);const a=n.J.findSibling(i,!1),l=n.J.findSibling(o,!0);if(a!==l){const e=n.J.isElement(a)&&n.J.isOrContains(a,o),r=!e&&n.J.isElement(l)&&n.J.isOrContains(l,i);if(e||r){let r=e?a:l,s=r;for(;n.J.isElement(r);)r=e?r.firstElementChild:r.lastElementChild,r&&n.J.isOrContains(r,e?o:i)&&(s=r);e?t.setStart(s,0):t.setEnd(s,s.childNodes.length)}}if(this.selectRange(t),n.J.safeRemove(i,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(e,t,r){var i=r(12153),o=r(6441),n=r(94775),s=r(23140),a=r(92699),l=r(10052);o.T.prototype.controls.cut={command:"cut",isDisabled(e){return e.s.isCollapsed()},tooltip:"Cut selection"},o.T.prototype.controls.copy={command:"copy",isDisabled(e){return e.s.isCollapsed()},tooltip:"Copy selection"},o.T.prototype.controls.selectall={icon:"select-all",command:"selectall",tooltip:"Select all"},i.I.set("copy",n.A).set("cut",s.A).set("paste",a.A).set("select-all",l.A)},79799(e,t,r){var i=r(82758),o=r(65478),n=r(2748),s=r(580),a=r(21537),l=r(20356),c=(r(84380),r(117)),d=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};class u extends l.k{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;const t=(0,a.getDataTransfer)(e),r=[null==t?void 0:t.getData(i.TEXT_PLAIN),null==t?void 0:t.getData(i.TEXT_HTML),null==t?void 0:t.getData(i.TEXT_RTF)];for(const t of r)if((0,a.isHTML)(t)&&(this.j.e.fire("processHTML",e,t,{plain:r[0],html:r[1],rtf:r[2]})||this.processHTML(e,t)))return!1}defaultPasteProcess(e){const t=(0,a.getDataTransfer)(e);let r=(null==t?void 0:t.getData(i.TEXT_HTML))||(null==t?void 0:t.getData(i.TEXT_PLAIN));if(t&&r&&""!==(0,a.trim)(r)){const i=this.j.e.fire("processPaste",e,r,(0,c.DI)(t));void 0!==i&&(r=i),((0,a.isString)(r)||n.J.isNode(r))&&this.__insertByType(e,r,this.j.o.defaultActionOnPaste),e.preventDefault(),e.stopPropagation()}}processHTML(e,t){if(!this.j.o.askBeforePasteHTML)return!1;if(this.j.o.memorizeChoiceWhenPasteFragment){const r=this.pasteStack.find(e=>e.html===t);if(r)return this.__insertByType(e,t,r.action||this.j.o.defaultActionOnPaste),!0}if(this._isDialogOpened)return!0;const r=(0,c.PU)(this.j,"Your code is similar to HTML. Keep as HTML?","Paste as HTML",r=>{this._isDialogOpened=!1,this.__insertByType(e,t,r)},this.j.o.pasteHTMLActionList);return r&&(this._isDialogOpened=!0,r.e.on("beforeClose",()=>{this._isDialogOpened=!1})),!0}__insertByType(e,t,r){if(this.pasteStack.push({html:t,action:r}),(0,a.isString)(t))switch(this.j.buffer.set(i.CLIPBOARD_ID,t),r){case i.INSERT_CLEAR_HTML:t=(0,a.cleanFromWord)(t);break;case i.INSERT_ONLY_TEXT:t=(0,a.stripTags)(t,this.j.ed,new Set(this.j.o.pasteExcludeStripTags));break;case i.INSERT_AS_TEXT:t=(0,a.htmlspecialchars)(t);break;default:{const i=this.j.e.fire("onCustomPasteHTMLOption",r,t,e);"string"==typeof i&&(t=i)}}(0,c.sX)(e,this.j,t)}onProcessPasteReplaceNl2Br(e,t,r){if(r===i.TEXT_PLAIN+";"&&!(0,a.isHTML)(t))return(0,a.nl2br)(t)}constructor(){super(...arguments),this.pasteStack=new a.LimitedStack(20),this._isDialogOpened=!1}}d([o.autobind],u.prototype,"onPaste",null),d([o.autobind],u.prototype,"onProcessPasteReplaceNl2Br",null),s.fg.add("paste",u)},79910(e,t){t.A={"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(e,t,r){r.d(t,{_(){return n}});var i=r(21537),o=r(71686);function n(e,t,r,n,s){if(!t)return Promise.reject((0,i.error)("Need files"));const{o:a}=e;let l=(0,i.toArray)(t);if(!l.length)return Promise.reject((0,i.error)("Need files"));const c=[];if(a.insertImageAsBase64URI&&((e,t,r,o,n,s)=>{let a,l;for(l=0;e.length>l;l+=1)if(a=e[l],a&&a.type){const c=a.type.match(/\/([a-z0-9]+)/i),d=c[1]?c[1].toLowerCase():"";if(!t.includes(d))continue;const u=new FileReader;r.push(o.j.async.promise((e,t)=>{u.onerror=t,u.onloadend=()=>{const t={baseurl:"",files:[u.result],isImages:[!0]};((0,i.isFunction)(n)?n:s).call(o,t),e(t)},u.readAsDataURL(a)})),e[l]=null}})(l,a.imagesExtensions,c,e,r,a.defaultHandlerSuccess),l=l.filter(e=>e),l.length){const t=new FormData;let d;t.append(a.pathVariableName,e.path),t.append("source",e.source);for(let r=0;l.length>r;r+=1)if(d=l[r],d){const i=/\.\w+$/.test(d.name),o=d.type.match(/\/([a-z0-9]+)/i),n=o&&o[1]?o[1].toLowerCase():"";let s=l[r].name||(""+Math.random()).replace(".","");if(!i&&n){let e=n;["jpeg","jpg"].includes(e)&&(e="jpeg|jpg"),RegExp(".("+e+")$","i").test(s)||(s+="."+n)}const[c,u,h]=a.processFileName.call(e,a.filesVariableName(r),l[r],s);t.append(c,u,h)}s&&s(t),a.data&&(0,i.isPlainObject)(a.data)&&Object.keys(a.data).forEach(e=>{t.append(e,a.data[e])}),a.prepareData.call(e,t),c.push((0,o.t)(e,t).then(t=>a.isSuccess.call(e,t)?(((0,i.isFunction)(r)?r:a.defaultHandlerSuccess).call(e,a.process.call(e,t)),t):(((0,i.isFunction)(n)?n:a.defaultHandlerError).call(e,(0,i.error)(a.getMessage.call(e,t))),t)).then(()=>{e.j.events&&e.j.e.fire("filesWereUploaded")}))}return Promise.all(c)}},80152(e,t){t.A='<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(e,t,r){r.d(t,{t(){return h}});var i,o=r(65478),n=r(2748),s=r(4510),a=r(43555),l=r(48538),c=r(30389),d=r(12153),u=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};let h=i=class e extends l.D{className(){return"UIInput"}onChangeClear(){this.state.clearButton?n.J.after(this.nativeInput,this.clearButton):n.J.safeRemove(this.clearButton)}onChangeClassName(e,t){t&&this.container.classList.remove(t),this.state.className&&this.container.classList.add(this.state.className)}onChangeState(){this.name=this.state.name;const e=this.nativeInput,{name:t,icon:r,type:i,ref:o,required:s,placeholder:l,autocomplete:c,label:u}=this.state;(0,a.CF)(e,"name",t),(0,a.CF)(e,"type",i),(0,a.CF)(e,"data-ref",o||t),(0,a.CF)(e,"ref",o||t),(0,a.CF)(e,"required",s||null),(0,a.CF)(e,"autocomplete",c?null:"off"),(0,a.CF)(e,"placeholder",l?this.j.i18n(l):""),r&&d.I.exists(r)?(n.J.before(e,this.icon),this.icon.innerHTML=d.I.get(r)):n.J.safeRemove(this.icon),u?(n.J.before(this.wrapper,this.label),this.label.innerText=this.j.i18n(u)):n.J.safeRemove(this.label),this.updateValidators()}updateValidators(){var e;this.validators.clear(),this.state.required&&this.validators.add(c.O.required),null===(e=this.state.validators)||void 0===e||e.forEach(e=>{const t=c.O[e];t&&this.validators.add(t)})}set error(e){this.setMod("has-error",!!e),e?(this.__errorBox.innerText=this.j.i18n(e,this.j.i18n(this.state.label||"")),this.container.appendChild(this.__errorBox)):n.J.safeRemove(this.__errorBox)}get value(){return this.nativeInput.value}set value(e){this.value!==e&&(this.nativeInput.value=e,this.onChangeValue())}onChangeStateValue(){const e=""+this.state.value;e!==this.value&&(this.value=e)}onChangeValue(){var e,t;const{value:r}=this;this.state.value!==r&&(this.state.value=r,this.j.e.fire(this,"change",r),null===(t=(e=this.state).onChange)||void 0===t||t.call(e,r))}validate(){this.error="";const e=(0,s.$)(this.validators).every(e=>e(this));return this.__markInputInvalid(),e}__markInputInvalid(){var e,t,r,i;this.error?(this.nativeInput.setAttribute("aria-invalid","true"),null===(t=(e=this.nativeInput).setCustomValidity)||void 0===t||t.call(e,this.error)):(this.nativeInput.removeAttribute("aria-invalid"),null===(i=(r=this.nativeInput).setCustomValidity)||void 0===i||i.call(r,""))}createContainer(e){const t=super.createContainer();this.wrapper=this.j.c.div(this.getFullElName("wrapper")),this.nativeInput||(this.nativeInput=this.createNativeInput());const{nativeInput:r}=this;return r.classList.add(this.getFullElName("input")),this.wrapper.appendChild(r),t.appendChild(this.wrapper),(0,a.CF)(r,"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"),d.I.get("cancel")),this.state={...i.defaultState},this.__errorBox=this.j.c.span(this.getFullElName("error")),this.validators=new Set([]),void 0!==(null==t?void 0:t.value)&&(t.value=""+t.value),Object.assign(this.state,t),void 0!==this.state.clearButton&&(this.j.e.on(this.clearButton,"click",e=>{e.preventDefault(),this.nativeInput.value="",this.j.e.fire(this.nativeInput,"input"),this.focus()}).on(this.nativeInput,"input",()=>{this.state.clearButton=!!this.value.length}),this.state.clearButton=!!this.value.length),this.j.e.on(this.nativeInput,"focus blur",()=>{this.onChangeFocus()}).on(this.nativeInput,"input change",this.onChangeValue),this.onChangeState(),this.onChangeClassName(),this.onChangeStateValue()}};h.defaultState={className:"",autocomplete:!0,name:"",value:"",icon:"",label:"",ref:"",type:"text",placeholder:"",required:!1,validators:[]},u([(0,o.watch)("state.clearButton")],h.prototype,"onChangeClear",null),u([(0,o.watch)("state.className")],h.prototype,"onChangeClassName",null),u([(0,o.watch)(["state.name","state.type","state.label","state.placeholder","state.autocomplete","state.icon"],{immediately:!1}),(0,o.debounce)()],h.prototype,"onChangeState",null),u([(0,o.watch)("state.value")],h.prototype,"onChangeStateValue",null),u([o.autobind],h.prototype,"onChangeValue",null),h=i=u([o.component],h)},80319(e,t,r){r.d(t,{P(){return a}});var i=r(65478),o=r(22732),n=r(21537),s=r(62843);let a=class e extends s.lD{className(){return"ToolbarContent"}update(){const e=this.control.getContent(this.j,this);((0,n.isString)(e)||e.parentNode!==this.container)&&(o.J.detach(this.container),this.container.appendChild((0,n.isString)(e)?this.j.create.fromHTML(e):e)),super.update()}createContainer(){return this.j.c.span(this.componentName)}constructor(e,t,r=null){super(e),this.control=t,this.target=r,this.container.classList.add(`${this.componentName}_${this.clearName(t.name)}`),(0,n.attr)(this.container,"role","content")}};a=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([i.component],a)},80480(e,t,r){r.d(t,{v(){return o}});var i=r(4012);class o extends i.u{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(e,t,r){var i=r(68345),o=r(19306),n=r(6441);n.T.prototype.enableDragAndDropFileToEditor=!0,n.T.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,i.c)(e.data.messages)?e.data.messages.join(" "):"",processFileName:(e,t,r)=>[e,t,r],process:e=>e.data,error(e){this.j.message.error(e.message,4e3)},getDisplayName:(e,t)=>e+t,defaultHandlerSuccess(e){const t=this.j||this;(0,o.y)(t)&&e.files&&e.files.length&&e.files.forEach((r,i)=>{const[o,n]=e.isImages&&e.isImages[i]?["img","src"]:["a","href"],s=t.createInside.element(o);s.setAttribute(n,e.baseurl+r),"a"===o&&(s.textContent=t.o.uploader.getDisplayName.call(this,e.baseurl,r)),"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(e,t,r){r.d(t,{M(){return o},u(){return n}});var i=r(23282);const o=new Map,n=e=>{var t;if((0,i.T)(e.className))return e.className();const r=(null===(t=e.constructor)||void 0===t?void 0:t.originalConstructor)||e.constructor;if(o.has(r))return o.get(r);if(r.name)return r.name;const n=RegExp(/^\s*function\s*(\S*)\s*\(/),s=(""+r).match(n);return s?s[1]:""}},80763(e,t,r){var i=r(82758),o=r(65478),n=r(580),s=r(21537),a=r(50911),l=(r(85745),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});const c="__jodit_imageprocessor_binded",d=c+"blob-id";class u extends a.k{afterInit(e){}beforeDestruct(e){const t=(0,o.cached)(e,"buffer"),r=null==t?void 0:t.get(d);if(t&&r){const e=Object.keys(r);for(const t of e)URL.revokeObjectURL(t);t.delete(d)}}onAfterGetValueFromEditor(e,t){if(t!==i.SOURCE_CONSUMER)return this.onBeforeSetElementValue(e)}onBeforeSetElementValue(e){const{jodit:t}=this;if(!t.o.imageProcessor.replaceDataURIToBlobIdInView)return;const r=t.buffer.get(d);if(r){const t=Object.keys(r);for(const i of t)for(;e.value.includes(i);)e.value=e.value.replace(i,r[i])}}async afterChange(e){const{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 r(){var i;!t.isInDestruct&&(null===(i=t.e)||void 0===i||i.fire("resize")),t.e.off(e,"load",r)}),e.src&&/^data:/.test(e.src)&&((e,t)=>{if(!e.o.imageProcessor.replaceDataURIToBlobIdInView)return;if("undefined"==typeof ArrayBuffer||"undefined"==typeof URL)return;const r=t.src,i=(e=>{const t=atob(e.split(",")[1]),r=e.split(",")[0].split(":")[1].split(";")[0],i=new ArrayBuffer(t.length),o=new Uint8Array(i);for(let e=0;t.length>e;e++)o[e]=t.charCodeAt(e);return new Blob([i],{type:r})})(r);t.src=URL.createObjectURL(i),e.e.fire("internalUpdate");const{buffer:o}=e,n=o.get(d)||{};n[t.src]=r,e.buffer.set(d,n)})(t,e),t.e.on(e,"mousedown touchstart",()=>{t.s.select(e)}))})}}l([(0,o.watch)(":afterGetValueFromEditor")],u.prototype,"onAfterGetValueFromEditor",null),l([(0,o.watch)(":beforeSetElementValue")],u.prototype,"onBeforeSetElementValue",null),l([(0,o.watch)([":change",":afterInit",":changePlace"]),(0,o.debounce)()],u.prototype,"afterChange",null),n.fg.add("imageProcessor",u)},80792(e,t,r){var i=r(6441);i.T.prototype.minWidth=200,i.T.prototype.maxWidth="100%",i.T.prototype.minHeight=200,i.T.prototype.maxHeight="auto",i.T.prototype.saveHeightInStorage=!1},80870(e,t,r){r.d(t,{t(){return a}});var i=r(87325),o=r(68345),n=r(10830),s=r(56917);let a=class e extends s.z{className(){return"ContextMenu"}show(e,t,r){const i=this;i.clear(),(0,o.c)(r)&&(r.forEach(e=>{if(!e)return;const t=(0,n.$n)(this.jodit,e.icon||"empty",e.title);this.jodit&&t.setParentView(this.jodit),t.setMod("context","menu"),t.onAction(t=>{var r;return null===(r=e.exec)||void 0===r||r.call(i,t),i.clear(),i.close(),!1}),this.append(t)}),this.open(()=>({left:e,top:t,width:0,height:0}),!0))}};a=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([i.s],a)},80926(e,t){t.A={"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(e,t,r){r.d(t,{H(){return o}});var i=r(2748);function o(e,t,r){const o=((e,t,r)=>{if(!r||!i.J.isHTMLElement(t))return t;const o=r[t.nodeName.toLowerCase()]||r[t.nodeName];return o?i.J.replace(t,o,e.createInside,!0,!1):t})(e,t,e.o.cleanHTML.replaceOldTags);return t!==o?(t=o,!0):r}},81284(e,t,r){r.d(t,{c(){return i}});const i=(e,t,r,o=!1)=>{let n;try{n=e.getBoundingClientRect()}catch(e){n={top:0,bottom:0,left:0,right:0,width:0,height:0}}const s=r.body,a=r.documentElement||{clientTop:0,clientLeft:0,scrollTop:0,scrollLeft:0},l=r.defaultView||r.parentWindow,c=l.pageYOffset||a.scrollTop||s.scrollTop,d=l.pageXOffset||a.scrollLeft||s.scrollLeft,u=a.clientTop||s.clientTop||0,h=a.clientLeft||s.clientLeft||0;let p,f;const m=t.iframe;if(!o&&t&&t.options&&t.o.iframe&&m){const{top:e,left:r}=i(m,t,t.od,!0);p=n.top+e,f=n.left+r}else p=n.top+c-u,f=n.left+d-h;return{top:Math.round(p),left:Math.round(f),width:n.width,height:n.height}}},81577(e,t,r){r.d(t,{n(){return l},s(){return a}});var i=r(91907),o=r(27613),n=r(38837),s=r(89890);function a(e,t=!1,r="debounce"){return(a,l)=>{const c=a[l];if(!(0,o.Tn)(c))throw(0,s.z3)("Handler must be a Function");return a.hookStatus(i.f.ready,i=>{const{async:s}=i;(0,n.v)(null!=s,`Component ${i.componentName||i.constructor.name} should have "async:IAsync" field`);const a=(0,o.Tn)(e)?e(i):e,c=(0,o.Et)(a)||(0,o.Qd)(a)?a:i.defaultTimeout;Object.defineProperty(i,l,{configurable:!0,value:s[r](i[l].bind(i),c,t)})}),{configurable:!0,get(){return c.bind(this)}}}}function l(e,t=!1){return a(e,t,"throttle")}},81630(e,t,r){r.d(t,{x(){return i}});const i=(e,t)=>{const r=t.getComputedStyle(e);let i=e.clientWidth;return i-=parseFloat(r.paddingLeft||"0")+parseFloat(r.paddingRight||"0"),i}},82168(e,t){t.A={"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(e,t,r){var i=r(65478),o=r(2748),n=r(70071),s=r(580),a=r(86518),l=r(20356),c=(r(46776),r(59498)),d=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};class u extends l.k{afterInit(e){}get isEditMode(){return!(this.j.isInDestruct||!this.j.isEditorMode()||this.j.getReadOnly())}onChangeCleanHTML(){if(!this.isEditMode)return;const e=this.j;this.walker.setWork(e.editor),this.currentSelectionNode=e.s.current()}startWalker(){const{jodit:e}=this,t=(0,c.Zd)(this.j.o.cleanHTML.allowTags),r=(0,c.Zd)(this.j.o.cleanHTML.denyTags);this.walker.on("visit",i=>(0,c.eZ)(e,i,t,r,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.w5)(this.j):(0,c.hk)(this.j),!1}onBeforeSetNativeEditorValue(e){const[t,r]=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.t)(t,{safeJavaScriptLink:!0,removeOnError:!0}),o.J.safeRemove(r),!1}onSafeHTML(e){(0,a.t)(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 n.p(this.j.async,{timeout:this.j.o.cleanHTML.timeout})}}d([(0,i.watch)([":change",":afterSetMode",":afterInit",":mousedown",":keydown"])],u.prototype,"onChangeCleanHTML",null),d([(0,i.hook)("ready")],u.prototype,"startWalker",null),d([(0,i.watch)(":beforeCommand")],u.prototype,"beforeCommand",null),d([(0,i.watch)(":beforeSetNativeEditorValue")],u.prototype,"onBeforeSetNativeEditorValue",null),d([(0,i.watch)(":safeHTML")],u.prototype,"onSafeHTML",null),s.fg.add("cleanHtml",u)},82501(e,t,r){r.d(t,{m(){return i}});const i=e=>{const t={},r=e.substring(1).split("&");for(let e=0;r.length>e;e+=1){const i=r[e].split("=");t[decodeURIComponent(i[0])]=decodeURIComponent(i[1]||"")}return t}},82515(e,t,r){r.d(t,{z(){return s}});var i=r(22732),o=r(63687),n=r(77361);function s(e,t,r){const s=r.e.fire(n.ar+"BeforeWrapList",n.dj,t,e),a=null!=s?s:i.J.replace(t,"li",r.createInside),l=a.previousElementSibling,c=a.nextElementSibling;let d=i.J.isTag(l,e.element)?l:null;return null!=d||(d=i.J.isTag(c,e.element)?c:null),i.J.isList(d)&&(0,o.M6)(d,e.options.attributes)||(d=r.createInside.element(e.element),(0,o.Yx)(e,d,r,n.DI),i.J.before(a,d)),l===d?i.J.append(d,a):i.J.prepend(d,a),i.J.isTag(d.nextElementSibling,e.element)&&(0,o.Dd)(d,d.nextElementSibling)&&(i.J.append(d,Array.from(d.nextElementSibling.childNodes)),i.J.safeRemove(d.nextElementSibling)),r.e.fire(n.ar+"AfterWrapList",n.Zk,d,e),d}},82558(e,t,r){r.d(t,{f(){return o}});var i=r(2748);function o(e,t,r,o){if(o&&i.J.isElement(t)&&!0!==o[t.nodeName]){const e=t.attributes;if(e&&e.length){const i=[];for(let r=0;e.length>r;r+=1){const n=o[t.nodeName][e[r].name];(!n||!0!==n&&n!==e[r].value)&&i.push(e[r].name)}i.length&&(r=!0),i.forEach(e=>{t.removeAttribute(e)})}}return r}},82758(e,t,r){r.r(t),r.d(t,{ACCURACY(){return q},APP_VERSION(){return i},BASE_PATH(){return he},BASE_PATH_IS_MIN(){return pe},BR(){return W},CLIPBOARD_ID(){return ge},COMMAND_KEYS(){return V},EMULATE_DBLCLICK_TIMEOUT(){return te},ES(){return o},FAT_MODE(){return c},HOMEPAGE(){return d},INSEPARABLE_TAGS(){return I},INSERT_AS_HTML(){return re},INSERT_AS_TEXT(){return oe},INSERT_CLEAR_HTML(){return ie},INSERT_ONLY_TEXT(){return ne},INVISIBLE_SPACE(){return p},INVISIBLE_SPACE_REG_EXP(){return m},INVISIBLE_SPACE_REG_EXP_END(){return g},INVISIBLE_SPACE_REG_EXP_START(){return v},IS_BLOCK(){return C},IS_ES_MODERN(){return n},IS_ES_NEXT(){return s},IS_IE(){return G},IS_INLINE(){return S},IS_MAC(){return ae},IS_PROD(){return a},IS_TEST(){return l},KEY_ALIASES(){return le},KEY_ALT(){return P},KEY_BACKSPACE(){return z},KEY_DELETE(){return H},KEY_DOWN(){return N},KEY_ENTER(){return L},KEY_ESC(){return R},KEY_F3(){return F},KEY_LEFT(){return M},KEY_META(){return j},KEY_RIGHT(){return O},KEY_SPACE(){return B},KEY_TAB(){return x},KEY_UP(){return D},LIST_TAGS(){return T},MARKER_CLASS(){return ee},MODE_SOURCE(){return Y},MODE_SPLIT(){return K},MODE_WYSIWYG(){return $},NBSP_SPACE(){return f},NEARBY(){return J},NO_EMPTY_TAGS(){return A},PARAGRAPH(){return U},PASSIVE_EVENTS(){return be},SAFE_COUNT_CHANGE_CALL(){return se},SET_TEST(){return u},SOURCE_CONSUMER(){return ve},SPACE_REG_EXP(){return b},SPACE_REG_EXP_END(){return w},SPACE_REG_EXP_START(){return y},TEMP_ATTR(){return fe},TEXT_HTML(){return Z},TEXT_PLAIN(){return X},TEXT_RTF(){return Q},TOKENS(){return h},globalDocument(){return k},globalWindow(){return _},lang(){return me}});const i="4.6.24",o="es2021",n=!0,s=!0,a=!0;let l=!1;const c=!1,d="https://xdsoft.net/jodit/pro/",u=()=>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,w=()=>/[\s\n\t\r\uFEFF\u200b]+$/g,_="undefined"!=typeof window?window:void 0,k="undefined"!=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,S=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,T=new Set(["ul","ol"]),E=["img","video","svg","iframe","script","input","textarea","link","jodit","jodit-media"],I=new Set([...E,"br","hr"]),A=new Set(E),j="Meta",z="Backspace",x="Tab",L="Enter",R="Escape",P="Alt",M="ArrowLeft",D="ArrowUp",O="ArrowRight",N="ArrowDown",B="Space",H="Delete",F="F3",J=5,q=10,V=[j,z,H,D,N,O,M,L,R,F,x],W="br",U="p",$=1,Y=2,K=3,G="undefined"!=typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),X=G?"text":"text/plain",Z=G?"html":"text/html",Q=G?"rtf":"text/rtf",ee="jodit-selection_marker",te=300,re="insert_as_html",ie="insert_clear_html",oe="insert_as_text",ne="insert_only_text",se=10,ae=void 0!==_&&/Mac|iPod|iPhone|iPad/.test(_.navigator.platform),le={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:ae?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:"space",spacebar:"space",up:"arrowup",win:"meta",windows:"meta"},ce=e=>{const t=e.split("/"),r=!0;return/\.js/.test(t[t.length-1])?{basePath:t.slice(0,t.length-1).join("/")+"/",isMin:r}:{basePath:e,isMin:r}},{basePath:de,isMin:ue}=(()=>{if("undefined"==typeof document)return{basePath:"",isMin:!0};const e=k.currentScript;if(e)return ce(e.src);const t=k.querySelectorAll("script[src]");return ce(t&&t.length?t[t.length-1].src:_.location.href)})(),he=de,pe=ue,fe="data-jodit-temp",me={},ge="clipboard",ve="source-consumer",be=new Set(["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"])},82760(e,t,r){r.d(t,{FI(){return n},fF(){return s},z3(){return o}});var i=r(32880);function o(e){return new TypeError(e)}function n(e){return new i.Rc(e)}function s(e){return new i.ZW(e)}},83111(e,t,r){r.d(t,{q(){return a}});var i=r(65478),o=r(72430),n=r(70799),s=r(78644);let a=class e extends s.I{className(){return"ToolbarSelect"}update(){var e,t,r;super.update(),this.state.icon.name="";const{list:i,data:s}=this.control;if(i){let a=this.state.value||(s&&(0,n.K)(s.currentValue)?s.currentValue:void 0);a||(a=Object.keys(i)[0]);const l=""+((0,o.Q)(i)&&i[""+a]||a);this.state.text=null!==(r=null===(t=(e=this.control).textTemplate)||void 0===t?void 0:t.call(e,this.jodit,l))&&void 0!==r?r:l}}};a=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([i.component],a)},83160(e,t){t.A={"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(e,t,r){r.d(t,{Z(){return n}});var i=r(70799),o=r(49055);function n(e){const t=/([^[]*)\[([^\]]+)]/,r=/[\s]*,[\s]*/,n=/^(.*)[\s]*=[\s]*(.*)$/,s={};return(0,i.K)(e)?(e.split(r).map(e=>{e=(0,o.Bq)(e);const i=t.exec(e),a={},l=e=>{e=(0,o.Bq)(e);const t=n.exec(e);t?a[t[1]]=t[2]:a[e]=!0};if(i){const e=i[2].split(r);i[1]&&(e.forEach(l),s[i[1].toUpperCase()]=a)}else s[e.toUpperCase()]=!0}),s):!!e&&(Object.keys(e).forEach(t=>{s[t.toUpperCase()]=e[t]}),s)}},83632(e,t,r){r.d(t,{O(){return s}});var i=r(63687),o=r(77361),n=r(55307);function s(e,t){var r;const{s,editor:a}=e;null===(r=a.firstChild)||void 0===r||r.normalize();const l=s.fakes(),c=e.s.wrapInTagGen(l);let d=c.next();if(d.done)return;let u={collapsed:s.isCollapsed(),mode:o.DI,element:d.value,next:n.x.START,jodit:e,style:t};for(;d&&!d.done;){const e=new i.EF(n.x.START,n.g);for(u.element=d.value;e.getState()!==n.x.END;)u=e.dispatch("exec",u);d=c.next()}s.restoreFakes(l)}},83671(e,t,r){var i=r(82758),o=r(22732),n=r(580),s=r(21537),a=r(50911),l=r(80870),c=r(21491);r(86012),n.fg.add("xpath",class d extends a.k{afterInit(){this.j.o.showXPathInStatusbar&&(this.container=this.j.c.div("jodit-xpath"),this.j.e.off(".xpath").on("mouseup.xpath change.xpath keydown.xpath changeSelection.xpath",this.calcPath).on("afterSetMode.xpath afterInit.xpath changePlace.xpath",()=>{this.j.o.showXPathInStatusbar&&this.container&&(this.j.statusbar.append(this.container),this.j.getRealMode()===i.MODE_WYSIWYG?this.calcPath():(this.container&&(this.container.innerHTML=i.INVISIBLE_SPACE),this.appendSelectAll()))}),this.calcPath())}beforeDestruct(){this.j&&this.j.events&&this.j.e.off(".xpath"),this.removeSelectAll(),this.menu&&this.menu.destruct(),o.J.safeRemove(this.container),delete this.menu,delete this.container}constructor(){super(...arguments),this.onContext=(e,t)=>(this.menu||(this.menu=new l.t(this.j)),this.menu.show(t.clientX,t.clientY,[{icon:"bin",title:e===this.j.editor?"Clear":"Remove",exec:()=>{e!==this.j.editor?o.J.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();const r=(0,s.attr)(t.target,"-path")||"/";if("/"===r)return this.j.execCommand("selectall"),!1;try{const e=this.j.ed.evaluate(r,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,r,i)=>{const o=this.j.c.fromHTML(`<span class="jodit-xpath__item"><a role="button" data-path="${t}" title="${i}" tabindex="-1"'>${(0,s.trim)(r)}</a></span>`),n=o.firstChild;return this.j.e.on(n,"click",this.onSelectPath.bind(this,e)).on(n,"contextmenu",this.onContext.bind(this,e)),o},this.removeSelectAll=()=>{this.selectAllButton&&(this.selectAllButton.destruct(),delete this.selectAllButton)},this.appendSelectAll=()=>{this.removeSelectAll(),this.selectAllButton=(0,c.BJ)(this.j,{name:"selectall",...this.j.o.controls.selectall}),this.selectAllButton.state.size="tiny",this.container&&this.container.insertBefore(this.selectAllButton.container,this.container.firstChild)},this.calcPathImd=()=>{if(this.isDestructed)return;const e=this.j.s.current();if(this.container&&(this.container.innerHTML=i.INVISIBLE_SPACE),e){let t,r,i;o.J.up(e,e=>{!e||this.j.editor===e||o.J.isText(e)||o.J.isComment(e)||(t=e.nodeName.toLowerCase(),r=(0,s.getXPathByElement)(e,this.j.editor).replace(/^\//,""),i=this.tpl(e,r,t,this.j.i18n("Select %s",t)),this.container&&this.container.insertBefore(i,this.container.firstChild))},this.j.editor)}this.appendSelectAll()},this.calcPath=this.j.async.debounce(this.calcPathImd,2*this.j.defaultTimeout)}})},83709(e,t){t.A='<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> '},83987(e,t,r){r.d(t,{$(){return o}});var i=r(21537);function o(e,t){if((0,i.isFunction)(e.o.buildData))return e.o.buildData.call(e,t);const r=e.ow.FormData;if(void 0!==r){if(t instanceof r)return t;if((0,i.isString)(t))return t;const e=new r,o=t;return Object.keys(o).forEach(t=>{e.append(t,o[t])}),e}return t}},84075(e,t,r){r.d(t,{T(){return m}});var i=r(78213),o=r(40401),n=r(37133),s=r(2748),a=r(76855),l=r(70799),c=r(76078),d=r(67510),u=r(43649),h=r(35608),p=r(21491),f=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};class m extends h.S{get toolbarContainer(){return this.o.fullsize||!(0,l.K)(this.o.toolbar)&&!s.J.isHTMLElement(this.o.toolbar)?(this.o.toolbar&&s.J.appendChildFirst(this.container,this.__defaultToolbarContainer),this.__defaultToolbarContainer):(0,c.tI)(this.o.toolbar,this.o.shadowRoot||this.od)}setPanel(e){this.o.toolbar=e,this.buildToolbar()}buildToolbar(){var e;if(!this.o.toolbar)return;const t=this.o.buttons?(0,a.uM)(this.o.buttons):[];null===(e=this.toolbar)||void 0===e||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);const r=null!==(t=e.group)&&void 0!==t?t:"other";return this.groupToButtons[r]||(this.groupToButtons[r]=[]),null!=e.position?this.groupToButtons[r][e.position]=e.name:this.groupToButtons[r].push(e.name),this}unregisterButton(e){var t;this.registeredButtons.delete(e);const r=null!==(t=e.group)&&void 0!==t?t:"other",i=this.groupToButtons[r];if(i){const t=i.indexOf(e.name);-1!==t&&i.splice(t,1),0===i.length&&delete this.groupToButtons[r]}return this}beforeToolbarBuild(e){if(Object.keys(this.groupToButtons).length)return e.map(e=>(0,u.i)(e)&&e.group&&this.groupToButtons[e.group]?{group:e.group,buttons:[...e.buttons,...this.groupToButtons[e.group]]}:e)}destruct(){this.isDestructed||(this.setStatus(i.f.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.$K)(this),this.__defaultToolbarContainer=this.c.div("jodit-toolbar__box"),this.registeredButtons=new Set,this.groupToButtons={},this.isJodit=!1,this.__tooltip=new d.SB(this),this.isJodit=t,this.e.on("beforeToolbarBuild",this.beforeToolbarBuild)}}f([(0,n.w)(":rebuildToolbar")],m.prototype,"buildToolbar",null),f([o.Ay],m.prototype,"beforeToolbarBuild",null)},84272(e,t,r){r.d(t,{D(){return s},w(){return n}});var i=r(82758),o=r(2748);function n(e,t){const{s:r}=e;let i=t;if(!i){i=e.createInside.fake();const{range:t}=r;o.J.safeInsertNode(t,i),t.collapse()}const n=o.J.furthest(i,s,e.editor);if(n)if(r.cursorOnTheLeft(n))o.J.before(n,i);else if(r.cursorOnTheRight(n))o.J.after(n,i);else{const e=r.splitSelection(n);e&&o.J.after(e,i)}t||(r.setCursorBefore(i),o.J.safeRemove(i))}function s(e){return o.J.isInlineBlock(e)&&!o.J.isTag(e,i.INSEPARABLE_TAGS)}},84380(e,t,r){var i=r(82758),o=r(6441),n=r(117);o.T.prototype.askBeforePasteHTML=!0,o.T.prototype.processPasteHTML=!0,o.T.prototype.scrollToPastedContent=!0,o.T.prototype.pasteExcludeStripTags=["br","hr"],o.T.prototype.pasteHTMLActionList=[{value:i.INSERT_AS_HTML,text:"Keep"},{value:i.INSERT_AS_TEXT,text:"Insert as Text"},{value:i.INSERT_ONLY_TEXT,text:"Insert only Text"}],o.T.prototype.memorizeChoiceWhenPasteFragment=!1,o.T.prototype.nl2brInPlainText=!0;const s="pasteStorage";o.T.prototype.controls.paste={tooltip:"Paste from clipboard",async exec(e,t,{control:r}){if(r.name===s)return void e.execCommand("showPasteStorage");e.s.focus();let o="",a=!0;if(navigator.clipboard){try{const e=await navigator.clipboard.read();if(e&&e.length){const t=await e[0].getType(i.TEXT_PLAIN);o=await new Response(t).text()}a=!1}catch(e){}if(a)try{o=await navigator.clipboard.readText(),a=!1}catch(e){}}a&&(o=e.buffer.get(i.CLIPBOARD_ID)||"",a=0===o.length);const l=e.value;a?(e.ed.execCommand("paste"),a=l===e.value,!a&&e.e.fire("afterPaste")):o.length?((0,n.sX)(null,e,o),e.e.fire("afterPaste")):a&&e.alert("Your browser doesn't support direct access to the clipboard.",()=>{e.s.focus()})},list:{[s]:"Paste Storage"},isChildDisabled:e=>2>e.e.fire("pasteStorageList")}},84591(e,t,r){r.d(t,{A(){return n}});var i=r(90129);let o=0;function n(e){return e.isComment&&/\[if.*(supportLists|gte vml).*]/.test((0,i.q)(e))&&(o++,e.remove()),e.isComment&&o>0&&(0,i.q)(e).includes("[endif]")&&(o=o>0?o-1:0,e.remove()),o&&(e.isText||"img"===e.name&&(!e.attributes.src||/^file:/.test(e.attributes.src)))?(e.remove(),null):e}},84661(e,t,r){r.d(t,{LE(){return l},Lv(){return n},hJ(){return a},xe(){return s}});var i=r(90129),o=r(78547);function n(e){return!(!e||"ol"!==e.name&&"ul"!==e.name)}function s(e){return!(!e||"li"!==e.name)}function a(e){return"li"!==e.name&&/mso-list:\s*l\d+ level\d+ lfo\d+/i.test(e.attributes.style)||/msolistparagraph/i.test(e.attributes.class)&&!!e.find(e=>e.isComment&&(0,i.q)(e).includes("supportLists")).length}function l(e,t){return!(t.name!==e.attributes[o.lA]||t.attributes[o.yL]!==e.attributes[o.yL]||e.attributes[o.fB]!==t.attributes[o.fB])}},84767(e,t,r){function i(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}r.d(t,{E(){return i}})},84858(e,t){t.A='<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(e,t){t.A={"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(e,t,r){r.d(t,{F(){return l}});var i,o=r(65478),n=r(87325),s=r(80256),a=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};let l=i=class e extends s.t{className(){return"UITextArea"}createNativeInput(e){return this.j.create.element("textarea")}onChangeStateSize(){const{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={...i.defaultState},Object.assign(this.state,t),!1===this.state.resizable&&(this.nativeInput.style.resize="none")}};l.defaultState={...s.t.defaultState,size:5,resizable:!0},a([(0,o.watch)(["state.size","state.resizable"])],l.prototype,"onChangeStateSize",null),l=i=a([n.s],l)},85407(e,t,r){var i=r(82758),o=r(2748),n=r(580),s=r(21537),a=r(20356),l=r(10830);n.fg.add("pasteStorage",class c extends a.k{createDialog(){this.dialog=this.j.dlg();const e=(0,l.$n)(this.j,"paste","Paste","primary");e.onAction(this.paste);const t=(0,l.$n)(this.j,"","Cancel");t.onAction(this.dialog.close),this.container=this.j.c.div(),this.container.classList.add("jodit-paste-storage"),this.listBox=this.j.c.div(),this.previewBox=this.j.c.div(),this.container.appendChild(this.listBox),this.container.appendChild(this.previewBox),this.dialog.setHeader(this.j.i18n("Choose Content to Paste")),this.dialog.setContent(this.container),this.dialog.setFooter([e,t]),this.j.e.on(this.listBox,"click dblclick",e=>{const t=e.target;return o.J.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.J.safeRemove(this.previewBox),o.J.safeRemove(this.listBox),o.J.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){const 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;-1!==[i.KEY_UP,i.KEY_DOWN,i.KEY_ENTER].indexOf(e.key)&&(e.key===i.KEY_UP&&(0===t?t=this.list.length-1:t-=1),e.key===i.KEY_DOWN&&(t===this.list.length-1?t=0:t+=1),e.key!==i.KEY_ENTER?(t!==this.currentIndex&&this.selectIndex(t),e.stopImmediatePropagation(),e.preventDefault()):this.paste())},this.selectIndex=e=>{this.listBox&&(0,s.toArray)(this.listBox.childNodes).forEach((t,r)=>{t.classList.remove("jodit_active"),e===r&&this.previewBox&&(t.classList.add("jodit_active"),this.previewBox.innerHTML=this.list[e],t.focus())}),this.currentIndex=e},this.showDialog=()=>{2>this.list.length||(this.dialog||this.createDialog(),this.listBox&&(this.listBox.innerHTML=""),this.previewBox&&(this.previewBox.innerHTML=""),this.list.forEach((e,t)=>{const r=this.j.c.element("a");r.textContent=t+1+". "+e.replace((0,i.SPACE_REG_EXP)(),""),this.j.e.on(r,"keydown",this.onKeyDown),(0,s.attr)(r,"href","#"),(0,s.attr)(r,"data-index",""+t),(0,s.attr)(r,"tab-index","-1"),this.listBox&&this.listBox.appendChild(r)}),this.dialog&&this.dialog.open(),this.j.async.setTimeout(()=>{this.selectIndex(0)},100))}}})},85567(e,t,r){r.d(t,{N(){return i},Z(){return o}});const i=440,o=940},85568(e,t,r){r.d(t,{C(){return g}});var i=r(42640),o=r(11991),n=r(5986),s=r(68846),a=r(96958),l=r(29345),c=r(78284),d=r(31461),u=r(21473),h=r(77183),p=r(84591),f=r(17096),m=r(61388);const g=[d.J,l.f,h.S,f.H,o.f,a.z,u.N,p.A,s.F,n.l,c.v,m.j,i.Q]},85745(e,t,r){r(6441).T.prototype.imageProcessor={replaceDataURIToBlobIdInView:!0}},86012(e,t,r){r(6441).T.prototype.showXPathInStatusbar=!0},86019(e,t,r){r.d(t,{x(){return i.x}});var i=r(2303),o=r(27613),n=r(82758),s=r(65478),a=r(41409),l=r(17555),c=r(26152);r(46448),Object.keys(n).forEach(e=>{i.x[e]=n[e]});const d=e=>"__esModule"!==e;Object.keys(l).filter(d).forEach(e=>{a.Icon.set(e.replace("_","-"),l[e])}),Object.keys(a).filter(d).forEach(e=>{var t;const r=a[e],n=(0,o.Tn)(null===(t=r.prototype)||void 0===t?void 0:t.className)?r.prototype.className():e;(0,o.Kg)(n)&&(i.x.modules[n]=r)}),Object.keys(s).filter(d).forEach(e=>{i.x.decorators[e]=s[e]}),["Confirm","Alert","Prompt"].forEach(e=>{i.x[e]=a[e]}),Object.keys(c.A).filter(d).forEach(e=>{i.x.lang[e]=c.A[e]})},86068(e,t,r){function i(e){return null==e}r.d(t,{R(){return i}})},86273(e,t){t.A={"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(e,t,r){r.d(t,{X(){return c}});var i=r(4012),o=r(87325),n=r(43555),s=r(80256),a=r(12234),l=r(62405);let c=class e extends l.U{className(){return"UIForm"}submit(){this.j.e.fire(this.container,"submit")}validate(){const e=this.allChildren.filter(e=>i.u.isInstanceOf(e,s.t));for(const t of e)if(!t.validate())return!1;const t=this.allChildren.filter(e=>i.u.isInstanceOf(e,a.$));for(const e of t)if(!e.validate())return!1;return!0}onSubmit(e){return this.j.e.on(this.container,"submit",()=>{const t=this.allChildren.filter(e=>i.u.isInstanceOf(e,s.t));return!!this.validate()&&(e(t.reduce((e,t)=>(e[t.state.name]=t.value,e),{})),!1)}),this}createContainer(){const e=this.j.c.element("form");return e.classList.add(this.componentName),(0,n.CF)(e,"dir",this.j.o.direction||"auto"),(0,n.CF)(e,"novalidate",""),e}constructor(...e){var t,r;super(...e),(null===(t=this.options)||void 0===t?void 0:t.className)&&this.container.classList.add(null===(r=this.options)||void 0===r?void 0:r.className)}};c=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([o.s],c)},86397(e,t,r){r.d(t,{R(){return i}});class i extends Error{constructor(e){super(e),Object.setPrototypeOf(this,i.prototype)}}},86518(e,t,r){r.d(t,{t(){return n},v(){return s}});var i=r(2748),o=r(43555);function n(e,t){(i.J.isElement(e)||i.J.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:r}={safeJavaScriptLink:!0,removeOnError:!0}){if(!i.J.isElement(e))return!1;let n=!1;r&&e.hasAttribute("onerror")&&((0,o.CF)(e,"onerror",null),n=!0);const s=e.getAttribute("href");return t&&s&&0===s.trim().indexOf("javascript")&&((0,o.CF)(e,"href",location.protocol+"//"+s),n=!0),n}},86583(e,t,r){r.d(t,{m(){return n}});var i=r(39955);const o=new WeakMap,n=(e,t,r)=>{let n=o.get(e);if(!n){n={},o.set(e,n);let t=null;(0,i.h)(e.j)&&(t=e.j.e),(0,i.h)(e)&&(t=e.e),t&&t.on("beforeDestruct",()=>{o.delete(e)})}return void 0===r?n[t]:(n[t]=r,r)}},86835(e,t){t.A='<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(e,t,r){r.d(t,{x(){return i}});const i=e=>e.replace(/([-_])(.)/g,(e,t,r)=>r.toUpperCase())},87325(e,t,r){function i(e){class t extends e{constructor(...e){super(...e),this.constructor===t&&(this instanceof t||Object.setPrototypeOf(this,t.prototype),this.setStatus("ready"))}}return t}r.d(t,{s(){return i}})},87394(e,t,r){var i=r(12153),o=r(6441),n=r(5119);o.T.prototype.usePopupForSpecialCharacters=!1,o.T.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;"],i.I.set("symbols",n.A),o.T.prototype.controls.symbols={hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup(e,t,r){const i=e.e.fire("generateSpecialCharactersTable.symbols");if(i){if(e.o.usePopupForSpecialCharacters){const t=e.c.div();return t.classList.add("jodit-symbols"),t.appendChild(i),e.e.on(i,"close_dialog",r),t}e.alert(i,"Select Special Character",void 0,"jodit-symbols").bindDestruct(e);const t=i.querySelector("a");t&&t.focus()}}}},87536(e,t,r){r.d(t,{V(){return s}});var i=r(22732),o=r(21537),n=r(45124);function s(e,t,r){let s=i.J.findSibling(t,r);return!s&&t.parentElement&&t.parentElement!==e.editor&&(s=i.J.findSibling(t.parentElement,r)),!(!i.J.isElement(s)||i.J.isContentEditable(s,e.editor)||((0,o.call)(r?i.J.before:i.J.after,s,t),i.J.safeRemove(s),(0,n.W8)(e,t,r),(0,o.call)(r?e.s.setCursorBefore:e.s.setCursorAfter,t),0))}},87602(e,t,r){r.d(t,{q(){return a}});var i=r(29807),o=r(29960),n=r(41180),s=r(14415);function a(e,t,r,a){if(t!==e.offsetWidth||r!==e.offsetHeight){const l=t?(0,s.n)(t):null;let c=r?(0,s.n)(r):null;(0,n.A)(e,{width:l,height:l&&a?null:c}),(0,o.C)(e,"width",l&&(0,i.k)(t)&&(0,o.C)(e,"width")?l:null),(0,o.C)(e,"width")&&!a||(c=null),(0,o.C)(e,"height",c)}}},87612(e,t,r){function i(e){return"boolean"==typeof e}r.d(t,{L(){return i}})},89377(e,t,r){r.r(t),r.d(t,{autocomplete(){return p}});var i=r(31635),o=(r(11691),r(78630)),n=r(91876),s=r(82758),a=r(65478),l=r(2748),c=r(21537),d=r(50911),u=r(56917),h=r(34013);class p extends d.k{constructor(){super(...arguments),this.hasStyle=!h.A.fatMode,this.sources=[]}get list(){return new o.j(this.jodit)}get popup(){const e=new u.z(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 r=t.value;(0,c.isFunction)(t.insertValueRenderer)&&(r=t.insertValueRenderer(t)),l.J.isNode(r)||(r=e.createInside.fromHTML(r)),(0,n.s)(e.s.range,r),this.j.s.setCursorAfter(r),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){const t=this.sources.indexOf(e);-1!==t&&this.sources.splice(t,1)}static isControlKey(e){return e===s.KEY_DOWN||e===s.KEY_UP||e===s.KEY_ENTER||e===s.KEY_TAB}async onKeyDown(e){if(e.key===s.KEY_ESC)return void(this.popup.isOpened&&this.popup.close());const{s:t}=this.j;if(p.isControlKey(e.key)||!t.isInsideArea||!t.isCollapsed)return;const r=this.j.s.sel?.rangeCount?this.j.s.sel?.getRangeAt(0):null,i=r&&(0,n.I)(r).split(" ").pop();if(i&&(0,c.trim)(i).length){const e=await this.onAutoComplete(i);if(e.length)return this.openPopup(e)}this.popup.isOpened&&this.popup.close()}onKeyControlDown(e){if(this.popup.isOpened&&p.isControlKey(e.key)){switch(e.key){case s.KEY_DOWN:this.list.selectNext();break;case s.KEY_UP:this.list.selectPrevious();break;case s.KEY_TAB:this.list.select()}return this.j.e.stopPropagation(e.type),!1}}onEnter(){if(this.popup.isOpened)return this.list.select(),!1}async onAutoComplete(e){const t=[];return await Promise.all(this.sources.concat(this.j.o.autocomplete.sources).map(async r=>{t.push(...await this.resolveFeed(e,r))})),t}async resolveFeed(e,t,r){let i;if((0,c.isPromise)(t)&&(t=await t),(0,c.isFunction)(t))i=await t(e);else if((0,c.isArray)(t)){const r=t,{isMatchedQuery:o}=this.j.o.autocomplete;i=r.filter(t=>(0,c.isString)(t)?o(e,t):o(e,t.value)).map(e=>(0,c.isString)(e)?{title:e,value:e}:e)}else i=await this.resolveFeed(e,t.feed,t);if(this.j.isDestructed)return[];if(i&&(0,c.isArray)(i)){const{itemRenderer:e,insertValueRenderer:t,maxItems:o}=this.j.o.autocomplete;return i=i.map(i=>({itemRenderer:r?.itemRenderer??e,insertValueRenderer:r?.insertValueRenderer??t,...i})),i.slice(0,o)}return[]}openPopup(e){this.list.build(e),this.popup.open(()=>{const{j:e}=this,t=e.s.range.getBoundingClientRect(),r={left:t.left,top:t.top,height:t.height,width:t.width};if(e.o.iframe&&e.iframe){const t=(0,c.position)(e.iframe,e);r.top+=t.top,r.left+=t.left}return r})}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()}}p.requires=["enter","license"],(0,i.Cg)([a.cache],p.prototype,"list",null),(0,i.Cg)([a.cache],p.prototype,"popup",null),(0,i.Cg)([a.autobind],p.prototype,"registerAutocompleteSource",null),(0,i.Cg)([a.autobind],p.prototype,"unregisterAutocompleteSource",null),(0,i.Cg)([(0,a.debounce)()],p.prototype,"onKeyDown",null),(0,i.Cg)([a.autobind],p.prototype,"onKeyControlDown",null),(0,i.Cg)([a.autobind],p.prototype,"onEnter",null),(0,i.Cg)([a.autobind],p.prototype,"onAutoComplete",null),(0,i.Cg)([a.autobind],p.prototype,"resolveFeed",null),h.A.plugins.add("autocomplete",p)},89672(e,t,r){r.d(t,{P(){return o}});var i=r(12475);function o(e){return(0,i.k)(e).toLowerCase()}},89758(e,t){t.A='<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(e,t){t.A='<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(e,t,r){r.d(t,{FI(){return i.FI},Rc(){return o.Rc},ZW(){return o.ZW},fF(){return i.fF},h2(){return o.h2},rV(){return o.rV},z3(){return i.z3}});var i=r(82760),o=r(32880)},90129(e,t,r){r.d(t,{O(){return l},q(){return s}});var i=r(82758),o=r(87612),n=r(49055);function s(e,t=()=>!0,r=!0,o){switch(!0){case e.isComment:case e.isText:{if(!t(e))return"";const{nodeValue:r}=e.attributes;return e.isComment?`\x3c!--${r}--\x3e`:r}case e.isElement:{const{attributes:i}=e,n=l(e,t,r,o);if(!e.attributes["jd-safe"]&&r&&0===n.replace(/[\n\t]/g,"").length&&!e.isSingle)return"";const s=Object.keys(i).map(e=>"style"===e||null==i[e]||/^jd-/.test(e)?"":`${e}="${c(i[e])}"`).filter(Boolean),{str:d}=e.style,u=c(d(e=>a(e,o)));if(u&&s.push(`style="${u}"`),r&&0===s.length&&["span","a"].includes(e.name))return n;const h=s.length?" "+s.join(" "):"";return t(e)?e.isSingle?`<${e.name}${h}/>`:`<${e.name}${h}>${n}</${e.name}>`:n}default:if(!i.IS_PROD)throw Error("Need implementation for this type")}return""}function a(e,t){if(!t)return!0;if(a.cache.has(t)){const r=a.cache.get(t)?.get(e);if((0,o.L)(r))return r}const r=t.some(t=>RegExp(t).test(e)),i=a.cache.get(t)||new Map;return i.set(e,r),a.cache.set(t,i),r}function l(e,t=()=>!0,r=!0,i){let o=e.map(e=>s(e,t,r,i)).join("");return"p"===e.name&&0===(0,n.Bq)(o).length&&(o="&nbsp;"),o}function c(e){return(""+e).replace(/"/g,"&quot;")}a.cache=new WeakMap},90240(e,t,r){r.d(t,{R(){return o}});var i=r(2748);function o(e,t){return!!i.J.isCell(t.parentElement)}},90492(e,t,r){r.r(t),r.d(t,{ar(){return i},cs_cz(){return i},de(){return i},es(){return i},fa(){return i},fi(){return i},fr(){return i},he(){return i},hu(){return i},id(){return i},it(){return i},ja(){return i},ko(){return i},mn(){return i},nl(){return i},no(){return i},pl(){return i},pt_br(){return i},ru(){return i},tr(){return i},ua(){return i},zh_cn(){return i},zh_tw(){return i}});var i=r(41324)},91003(e,t,r){r.d(t,{K(){return d}});var i=r(2748),o=r(70799),n=r(49055),s=r(43555);const a=new Set(["div","p","br","h1","h2","h3","h4","h5","h6","hr"]),l=new Set(["script","style"]),c=new Set(["br","hr","input"]);function d(e,t=document,r=null){const u=t.createElement("div");return(0,o.K)(e)?u.innerHTML=e:u.appendChild(e),(0,s.$$)("*",u).forEach(e=>{const o=e.parentNode;if(!o)return;if(r&&i.J.isTag(e,r)){const o=e.nodeName.toLowerCase(),n=i.J.isTag(e,c)?`%%%jodit-single-${o}%%%`:`%%%jodit-${o}%%%${d(e.innerHTML,t,r)}%%%/jodit-${o}%%%`;return i.J.before(e,t.createTextNode(n)),void i.J.safeRemove(e)}if(i.J.isTag(e,l))return void i.J.safeRemove(e);if(!i.J.isTag(e,a))return;const n=e.nextSibling;i.J.isText(n)&&/^\s/.test(n.nodeValue||"")||n&&o.insertBefore(t.createTextNode(" "),n)}),(0,n.Bq)(u.innerText).replace(/%%%(\/)?jodit(-single)?-([\w\n]+)%%%/g,(e,t,r,i)=>`<${t?"/":""}${i}>`)}},91071(e,t,r){var i=r(82758),o=r(65478),n=r(580),s=r(50911),a=(r(57288),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});class l extends s.k{afterInit(e){const{limitWords:t,limitChars:r}=e.o;if(e&&(t||r)){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||!(i.COMMAND_KEYS.includes(e.key)||e.ctrlKey||e.metaKey))&&this.__shouldDenyInput(!1)}__shouldDenyInput(e){const{jodit:t}=this,{limitWords:r,limitChars:i}=t.o,o=this.__splitWords(t.o.limitHTML?t.value:t.text);if(r&&c(o.length,r,e))return t.e.fire("denyWords.limit limit.limit"),!0;const n=!(!i||!c(o.join("").length,i,e));return n&&t.e.fire("denyChars.limit limit.limit"),n}checkPreventKeyPressOrPaste(e){if(this.shouldPreventInsertHTML(e))return!1}checkPreventChanging(e,t){const{jodit:r}=this;this.__shouldDenyInput(!0)&&(r.value=t)}__splitWords(e){return e.replace((0,i.INVISIBLE_SPACE_REG_EXP)(),"").split((0,i.SPACE_REG_EXP)()).filter(e=>e.length)}beforeDestruct(e){e.e.off(".limit")}}function c(e,t,r){return r?e>t:e>=t}a([o.autobind],l.prototype,"checkPreventKeyPressOrPaste",null),a([o.autobind],l.prototype,"checkPreventChanging",null),n.fg.add("limit",l)},91126(e,t,r){r.d(t,{l(){return s}});var i=r(48430),o=r(78547),n=r(31117);function s(e){if(void 0!==e.attributes[o.fB])return;const t=[(0,i.x0)(e)],r=[e];let s=e.next;for(;s;){if(s.isElement&&!s.attributes[o.fB]&&(0,n.hJ)(s)){const e=(0,i.x0)(s);e&&(t.push(e),r.push(s))}s=s.next}const a=Math.min(...t.filter(e=>e>0));let l=t.map(e=>Math.ceil(e/10));-1!==l.indexOf(0)&&(l=l.map(e=>e+1)),r.forEach((e,t)=>{e.attributes[o.fB]=l[t],e.style.add("margin-left",Math.max((0,i.x0)(e)-10*l[t]/a*40,0)+"px")})}},91388(e,t,r){r.d(t,{M(){return o}});var i=r(2748);function o(e,t,r){const{s:o}=e,n=i.J.closest(t,r,e.editor);n&&(o.cursorOnTheRight(n,t)?i.J.after(n,t):o.cursorOnTheLeft(n,t)&&i.J.before(n,t))}},91748(e,t,r){r.d(t,{a(){return s}});var i=r(2748),o=r(37790),n=r(63785);function s(e,t,r){const s=i.J.findSibling(t,r),a=i.J.findSibling(t,!r);if(!i.J.closest(t,i.J.isElement,e.editor)&&i.J.isList(s)&&i.J.isList(a)&&i.J.isTag(s.lastElementChild,"li")&&i.J.isTag(a.firstElementChild,"li")){const{setCursorBefore:l,setCursorAfter:c}=e.s,d=s.lastElementChild;return(0,o.T1)(r?i.J.prepend:i.J.append,a.firstElementChild,t),i.J.moveContent(a,s,!r,(0,n.g)(e)),i.J.safeRemove(a),(0,o.T1)(r?i.J.append:i.J.prepend,d,t),(0,o.T1)(r?l:c,t),!0}return!1}},91876(e,t,r){r.d(t,{I(){return o},s(){return n}});var i=r(2748);function o(e){const{startContainer:t,startOffset:r}=e;if(i.J.isText(t))return t.nodeValue?.substr(0,r)??"";const o=t.childNodes[r];if(!o)return"";if(i.J.isText(o))return o.nodeValue??"";const n=i.J.findNotEmptyNeighbor(o,!0,t);return i.J.isText(n)?o.nodeValue??"":""}function n(e,t){let{startContainer:r,startOffset:o}=e;if(i.J.isText(r)||(r=r.childNodes[o-1],i.J.isText(r)&&(o=r.nodeValue?.length??0)),i.J.isText(r)){const i=r.nodeValue??"",n=i.substring(0,o),s=i.substring(o),a=n.split(" ");a[a.length-1]="";const l=a.join(" ");return r.nodeValue=l+s,e.setStart(r,l.length),void e.insertNode(t)}}},91898(e,t,r){r.d(t,{D(){return i.D},w(){return i.w}});var i=r(13252)},91907(e,t,r){r.d(t,{f(){return o.f},uA(){return i.u},vG(){return n.v}});var i=r(4012),o=r(78213),n=r(80480)},92113(e,t,r){r.d(t,{C(){return n}});var i=r(87325),o=r(48538);let n=class e extends o.D{className(){return"UISeparator"}};n=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([i.s],n)},92278(e,t,r){r.d(t,{F(){return c}});var i=r(82758),o=r(65478),n=r(22732),s=r(21537),a=r(67510),l=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};let c=class e extends a.D${className(){return"UISearch"}render(){return`<div>\n\t\t\t<div class="&__box">\n\t\t\t\t<div class="&__inputs">\n\t\t\t\t\t<input data-ref="query" tabindex="0" placeholder="~Search for~" type="text"/>\n\t\t\t\t\t<input data-ref="replace" tabindex="0" placeholder="~Replace with~" type="text"/>\n\t\t\t\t</div>\n\t\t\t\t<div class="&__counts">\n\t\t\t\t\t<span data-ref="counter-box">\n\t\t\t\t\t\t<span data-ref="current">0</span><span>/</span><span data-ref="count">0</span>\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t\t<div class="&__buttons">\n\t\t\t\t\t<button data-ref="next" tabindex="0" type="button">${a.In.get("angle-down")}</button>\n\t\t\t\t\t<button data-ref="prev" tabindex="0" type="button">${a.In.get("angle-up")}</button>\n\t\t\t\t\t<button data-ref="cancel" tabindex="0" type="button">${a.In.get("cancel")}</button>\n\t\t\t\t\t<button data-ref="replace-btn" tabindex="0" type="button" class="jodit-ui-button">~Replace~</button>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>`}get currentIndex(){return this._currentIndex}set currentIndex(e){this._currentIndex=e,this.currentBox.innerText=""+e}set count(e){this.countBox.innerText=""+e}get query(){return this.queryInput.value}get replace(){return this.replaceInput.value}onEditorKeyDown(e){if(!this.isOpened)return;const{j:t}=this;if(t.getRealMode()===i.MODE_WYSIWYG)switch(e.key){case i.KEY_ESC:this.close();break;case i.KEY_F3:this.queryInput.value&&(t.e.fire(e.shiftKey?"searchPrevious":"searchNext"),e.preventDefault())}}open(e,t,r=!1){this.isOpened||(this.j.workplace.appendChild(this.container),this.isOpened=!0),this.calcSticky(this.j.e.fire("getStickyState.sticky")||!1),this.j.e.fire("hidePopup"),this.setMod("replace",r);const i=null!=e?e:""+(this.j.s.sel||"");i&&(this.queryInput.value=i),t&&(this.replaceInput.value=t),this.setMod("empty-query",!i.length),this.j.e.fire(this,"needUpdateCounters"),i?this.queryInput.select():this.queryInput.focus()}close(){this.isOpened&&(this.j.s.restore(),n.J.safeRemove(this.container),this.isOpened=!1,this.j.e.fire(this,"afterClose"))}calcSticky(e){if(this.isOpened)if(this.setMod("sticky",e),e){const e=(0,s.position)(this.j.toolbarContainer);(0,s.css)(this.container,{top:e.top+e.height,left:e.left+e.width})}else(0,s.css)(this.container,{top:null,left:null})}constructor(e){super(e),this.selInfo=null,this._currentIndex=0,this.isOpened=!1;const{query:t,replace:r,cancel:o,next:n,prev:a,replaceBtn:l,current:c,count:d}=(0,s.refs)(this.container);this.queryInput=t,this.replaceInput=r,this.closeButton=o,this.replaceButton=l,this.currentBox=c,this.countBox=d,e.e.on(this.closeButton,"pointerdown",()=>(this.close(),!1)).on(this.queryInput,"input",()=>{this.currentIndex=0}).on(this.queryInput,"pointerdown",()=>{e.s.isFocused()&&(e.s.removeMarkers(),this.selInfo=e.s.save())}).on(this.replaceButton,"pointerdown",()=>(e.e.fire(this,"pressReplaceButton"),!1)).on(n,"pointerdown",()=>(e.e.fire("searchNext"),!1)).on(a,"pointerdown",()=>(e.e.fire("searchPrevious"),!1)).on(this.queryInput,"input",()=>{this.setMod("empty-query",!(0,s.trim)(this.queryInput.value).length)}).on(this.queryInput,"keydown",this.j.async.debounce(async t=>{t.key===i.KEY_ENTER?(t.preventDefault(),t.stopImmediatePropagation(),await e.e.fire("searchNext")&&this.close()):e.e.fire(this,"needUpdateCounters")},this.j.defaultTimeout))}};l([(0,o.watch)([":keydown","queryInput:keydown"])],c.prototype,"onEditorKeyDown",null),l([o.autobind],c.prototype,"open",null),l([o.autobind],c.prototype,"close",null),l([(0,o.watch)(":toggleSticky")],c.prototype,"calcSticky",null),c=l([o.component],c)},92643(e,t,r){r.d(t,{u(){return i}});class i{undo(){this.history.snapshot.restore(this.oldValue)}redo(){this.history.snapshot.restore(this.newValue)}constructor(e,t,r,i){this.oldValue=e,this.newValue=t,this.history=r,this.tick=i}}},92648(e,t){t.A={"Type something":"Ketik sesuatu","About Jodit":"Tentang Jodit","Jodit Editor":"Editor Jodit","Free Non-commercial Version":"Versi Bebas Non-komersil","Jodit User's Guide":"Panduan Pengguna Jodit","contains detailed help for using":"mencakup detail bantuan penggunaan","For information about the license, please go to our website:":"Untuk informasi tentang lisensi, silakan kunjungi website:","Buy full version":"Beli versi lengkap","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Hak Cipta © XDSoft.net - Chupurnov Valeriy. Hak cipta dilindungi undang-undang.",Anchor:"Tautan","Open in new tab":"Buka di tab baru","Open in fullsize":"Buka editor dalam ukuran penuh","Clear Formatting":"Hapus Pemformatan","Fill color or set the text color":"Isi warna atau atur warna teks",Redo:"Ulangi",Undo:"Batalkan",Bold:"Tebal",Italic:"Miring","Insert Unordered List":"Sisipkan Daftar Tidak Berurut","Insert Ordered List":"Sisipkan Daftar Berurut","Align Center":"Tengah","Align Justify":"Penuh","Align Left":"Kiri","Align Right":"Kanan","Insert Horizontal Line":"Sisipkan Garis Horizontal","Insert Image":"Sisipkan Gambar","Insert file":"Sisipkan Berkas","Insert youtube/vimeo video":"Sisipkan video youtube/vimeo","Insert link":"Sisipkan tautan","Font size":"Ukuran font","Font family":"Keluarga font","Insert format block":"Sisipkan blok format",Normal:"Normal","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading 4":"Heading 4",Quote:"Kutip",Code:"Kode",Insert:"Sisipkan","Insert table":"Sisipkan tabel","Decrease Indent":"Kurangi Indentasi","Increase Indent":"Tambah Indentasi","Select Special Character":"Pilih Karakter Spesial","Insert Special Character":"Sisipkan Karakter Spesial","Paint format":"Formar warna","Change mode":"Ubah mode",Margins:"Batas",top:"atas",right:"kanan",bottom:"bawah",left:"kiri",Styles:"Gaya",Classes:"Class",Align:"Rata",Right:"Kanan",Center:"Tengah",Left:"Kiri","--Not Set--":"--Tidak diset--",Src:"Src",Title:"Judul",Alternative:"Teks alternatif",Link:"Tautan","Open link in new tab":"Buka tautan di tab baru",Image:"Gambar",file:"berkas",Advanced:"Lanjutan","Image properties":"Properti gambar",Cancel:"Batal",Ok:"Ya","Your code is similar to HTML. Keep as HTML?":"Kode Anda cenderung ke HTML. Biarkan sebagai HTML?","Paste as HTML":"Paste sebagai HTML",Keep:"Jaga",Clean:"Bersih","Insert as Text":"Sisipkan sebagai teks","Insert only Text":"Sisipkan hanya teks","Word Paste Detected":"Terdeteksi paste dari Word","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Konten dipaste dari dokumen Microsoft Word/Excel. Apakah Anda ingin tetap menjaga format atau membersihkannya?","File Browser":"Penjelajah Berkas","Error on load list":"Error ketika memuat list","Error on load folders":"Error ketika memuat folder","Are you sure?":"Apakah Anda yakin?","Enter Directory name":"Masukkan nama Direktori","Create directory":"Buat direktori","type name":"ketik nama","Drop image":"Letakkan gambar","Drop file":"Letakkan berkas","or click":"atau klik","Alternative text":"Teks alternatif",Browse:"Jelajahi",Upload:"Unggah",Background:"Latar Belakang",Text:"Teks",Top:"Atas",Middle:"Tengah",Bottom:"Bawah","Insert column before":"Sisipkan kolom sebelumnya","Insert column after":"Sisipkan kolom setelahnya","Insert row above":"Sisipkan baris di atasnya","Insert row below":"Sisipkan baris di bawahnya","Delete table":"Hapus tabel","Delete row":"Hapus baris","Delete column":"Hapus kolom","Empty cell":"Kosongkan cell",source:"sumber",bold:"tebal",italic:"miring",brush:"sikat",link:"tautan",undo:"batalkan",redo:"ulangi",table:"tabel",image:"gambar",eraser:"penghapus",paragraph:"paragraf",fontsize:"ukuran font",video:"video",font:"font",about:"tentang",print:"cetak",underline:"garis bawah",strikethrough:"coret",indent:"menjorok ke dalam",outdent:"menjorok ke luar",fullsize:"ukuran penuh",shrink:"menyusut",hr:"hr",ul:"ul",ol:"ol",cut:"potong",selectall:"Pilih semua","Embed code":"Kode embed","Open link":"Buka tautan","Edit link":"Edit tautan","No follow":"No follow",Unlink:"Hapus tautan",Eye:"Mata",pencil:"pensil",Update:"Perbarui"," URL":"URL",Edit:"Edit","Horizontal align":"Perataan horizontal",Filter:"Filter","Sort by changed":"Urutkan berdasarkan perubahan","Sort by name":"Urutkan berdasarkan nama","Sort by size":"Urutkan berdasarkan ukuran","Add folder":"Tambah folder",Reset:"Reset",Save:"Simpan","Save as ...":"Simpan sebagai...",Resize:"Ubah ukuran",Crop:"Crop",Width:"Lebar",Height:"Tinggi","Keep Aspect Ratio":"Jaga aspek rasio",Yes:"Ya",No:"Tidak",Remove:"Copot",Select:"Pilih","Chars: %d":"Karakter: %d","Words: %d":"Kata: %d",All:"Semua","Select %s":"Pilih %s","Select all":"Pilih semua","Vertical align":"Rata vertikal",Split:"Bagi","Split vertical":"Bagi secara vertikal","Split horizontal":"Bagi secara horizontal",Merge:"Gabungkan","Add column":"Tambah kolom","Add row":"tambah baris",Delete:"Hapus",Border:"Bingkai","License: %s":"Lisensi: %s","Strike through":"Coret",Underline:"Garis Bawah",superscript:"Superskrip",subscript:"Subskrip","Cut selection":"Potong pilihan",Break:"Berhenti","Search for":"Mencari","Replace with":"Ganti dengan",Replace:"Mengganti",Paste:"Paste","Choose Content to Paste":"Pilih konten untuk dipaste","You can only edit your own images. Download this image on the host?":"Anda hanya dapat mengedit gambar Anda sendiri. Unduh gambar ini di host?","The image has been successfully uploaded to the host!":"Gambar telah sukses diunggah ke host!",palette:"palet","There are no files":"Tidak ada berkas",Rename:"ganti nama","Enter new name":"Masukkan nama baru",preview:"pratinjau",download:"Unduh","Paste from clipboard":"Paste dari clipboard","Your browser doesn't support direct access to the clipboard.":"Browser anda tidak mendukung akses langsung ke clipboard.","Copy selection":"Copy seleksi",copy:"copy","Border radius":"Border radius","Show all":"Tampilkan semua",Apply:"Menerapkan","Please fill out this field":"Silahkan mengisi kolom ini","Please enter a web address":"Silahkan masukkan alamat web",Default:"Default",Circle:"Lingkaran",Dot:"Dot",Quadrate:"Kuadrat",Find:"Menemukan","Find Previous":"Menemukan Sebelumnya","Find Next":"Menemukan Berikutnya","Insert className":"Masukkan nama kelas","Press Alt for custom resizing":"Tekan Alt untuk mengubah ukuran kustom"}},92699(e,t){t.A='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path stroke-width="0" d="M10.5 20H2a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h1V3l2.03-.4a3 3 0 0 1 5.94 0L13 3v1h1a2 2 0 0 1 2 2v1h-2V6h-1v1H3V6H2v12h5v2h3.5zM8 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm2 4h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2v-8c0-1.1.9-2 2-2zm0 2v8h8v-8h-8z"/> </svg> '},92762(e,t,r){r.d(t,{Kn(){return i.K},Zg(){return n.Z},kG(){return o.k}});var i=r(22859),o=r(34793),n=r(38927)},93079(e,t,r){var i=r(580),o=r(21537);r(21988),i.fg.add("color",e=>{e.registerButton({name:"brush",group:"color"});const t=(t,r,i)=>{const n=(0,o.normalizeColor)(i);switch(t){case"background":e.s.commitStyle({attributes:{style:{backgroundColor:n||""}}});break;case"forecolor":e.s.commitStyle({attributes:{style:{color:n||""}}})}return e.synchronizeValues(),!1};e.registerCommand("forecolor",t).registerCommand("background",t)})},93119(e,t,r){r.d(t,{Q(){return o}});var i=r(67477);class o{add(e){var t;const r=(null!==(t=e.nodeValue)&&void 0!==t?t:"").toLowerCase();if(!r.length)return;const i=this.value.length;this.queue.push({startIndex:i,endIndex:i+r.length,node:e}),this.value+=r}ranges(e,t=0){const r=[];let i=t,o=0,n=0;do{if([i,o]=this.searchIndex(e,this.value,i),-1!==i){let e,t,s=0,a=0;for(let r=n;this.queue.length>r;r+=1)if(!e&&this.queue[r].endIndex>i&&(e=this.queue[r].node,s=i-this.queue[r].startIndex),e&&this.queue[r].endIndex>=i+o){t=this.queue[r].node,a=i+o-this.queue[r].startIndex,n=r;break}e&&t&&r.push({startContainer:e,startOffset:s,endContainer:t,endOffset:a}),i+=o}}while(-1!==i);return 0===r.length?null:r}constructor(e=i.H){this.searchIndex=e,this.queue=[],this.value=""}}},93183(e,t,r){var i=r(82758),o=r(22732),n=r(580),s=r(23282),a=r(50911),l=r(45124),c=(r(32496),r(11338)),d=r(14630);class u extends a.k{afterInit(e){e.registerCommand("deleteButton",{exec:()=>this.onDelete(!1),hotkeys:e.o.delete.hotkeys.delete},{stopPropagation:!1}).registerCommand("backspaceButton",{exec:()=>this.onDelete(!0),hotkeys:e.o.delete.hotkeys.backspace},{stopPropagation:!1}).registerCommand("deleteWordButton",{exec:()=>this.onDelete(!1,"word"),hotkeys:e.o.delete.hotkeys.deleteWord}).registerCommand("backspaceWordButton",{exec:()=>this.onDelete(!0,"word"),hotkeys:e.o.delete.hotkeys.backspaceWord}).registerCommand("deleteSentenceButton",{exec:()=>this.onDelete(!1,"sentence"),hotkeys:e.o.delete.hotkeys.deleteSentence}).registerCommand("backspaceSentenceButton",{exec:()=>this.onDelete(!0,"sentence"),hotkeys:e.o.delete.hotkeys.backspaceSentence})}beforeDestruct(e){e.e.off("afterCommand.delete")}onDelete(e,t="char"){const r=this.j,n=r.selection;if(n.isFocused()||n.focus(),(0,c.L)(r))return!1;const a=n.range,u=r.createInside.text(i.INVISIBLE_SPACE);try{if(o.J.safeInsertNode(a,u),!o.J.isOrContains(r.editor,u))return;if(r.e.fire("backSpaceBeforeCases",e,u))return!1;if((0,l.W8)(r,u,e),d.C.some(i=>{if((0,s.T)(i)&&i(r,u,e,t))return!0}))return!1}catch(e){throw e}finally{r.e.fire("backSpaceAfterDelete",e,u),this.safeRemoveEmptyNode(u)}return!1}safeRemoveEmptyNode(e){var t,r;const{range:i}=this.j.s;i.startContainer===e&&(e.previousSibling?o.J.isText(e.previousSibling)?i.setStart(e.previousSibling,null!==(r=null===(t=e.previousSibling.nodeValue)||void 0===t?void 0:t.length)&&void 0!==r?r:0):i.setStartAfter(e.previousSibling):e.nextSibling&&(o.J.isText(e.nextSibling)?i.setStart(e.nextSibling,0):i.setStartBefore(e.nextSibling)),i.collapse(!0),this.j.s.selectRange(i)),o.J.safeRemove(e)}}u.requires=["hotkeys"],n.fg.add("backspace",u)},93401(e,t,r){var i=r(65478),o=r(22732),n=r(580),s=r(21537),a=r(50911),l=r(67510),c=r(61259),d=r(21491),u=(r(24526),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});class h extends a.k{get popup(){return new c.z(this.jodit,!1)}get toolbar(){return(0,d.$K)(this.jodit,this.popup)}onClick(e){const t=this.elmsList,r=o.J.isTag(e,"img")?e:o.J.closest(e,t,this.j.editor);if(r&&this.canShowPopupForType(r.nodeName.toLowerCase()))return this.showPopup(()=>(0,s.position)(r,this.j),r.nodeName.toLowerCase(),r),!1}showPopup(e,t,r){if(t=t.toLowerCase(),!this.canShowPopupForType(t))return!1;if(this.type!==t||r!==this.previousTarget){this.previousTarget=r;const e=this.j.o.popup[t];let i;i=(0,s.isFunction)(e)?e(this.j,r,this.popup.close):e,(0,s.isArray)(i)&&(this.toolbar.build(i,r),this.toolbar.buttonSize=this.j.o.toolbarButtonSize,i=this.toolbar.container),this.popup.setContent(i),this.type=t}return this.popup.open(e),!0}hidePopup(e){!this.popup.isOpened||(0,s.isString)(e)&&e!==this.type||this.popup.close()}onOutsideClick(){this.popup.close()}canShowPopupForType(e){const t=this.j.o.popup[e.toLowerCase()];return!(this.j.o.readonly||!this.j.o.toolbarInline||!t||this.isExcludedTarget(e))}isExcludedTarget(e){return(0,s.splitArray)(this.j.o.toolbarInlineDisableFor).map(e=>e.toLowerCase()).includes(e.toLowerCase())}afterInit(e){this.j.e.on("getDiffButtons.mobile",t=>{if(this.toolbar===t){const t=this.toolbar.getButtonsNames();return(0,s.toArray)(e.registeredButtons).filter(e=>!this.j.o.toolbarInlineDisabledButtons.includes(e.name)).filter(e=>{const r=(0,s.isString)(e)?e:e.name;return r&&"|"!==r&&"\n"!==r&&!t.includes(r)})}}).on("hidePopup",this.hidePopup).on("showInlineToolbar",this.showInlineToolbar).on("showPopup",(e,t,r)=>{this.showPopup(t,r||((0,s.isString)(e)?e:e.nodeName),(0,s.isString)(e)?void 0:e)}).on("mousedown keydown",this.onSelectionStart).on("change",()=>{this.popup.isOpened&&this.previousTarget&&!this.previousTarget.parentNode&&(this.hidePopup(),this.previousTarget=void 0)}).on([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.addListenersForElements()}onSelectionStart(){this.snapRange=this.j.s.range.cloneRange()}onSelectionEnd(e){if(e&&e.target&&l.D$.closestElement(e.target,c.z))return;const{snapRange:t}=this,{range:r}=this.j.s;t&&!r.collapsed&&r.startContainer===t.startContainer&&r.startOffset===t.startOffset&&r.endContainer===t.endContainer&&r.endOffset===t.endOffset||this.onSelectionChange()}onSelectionChange(){if(!this.j.o.toolbarInlineForSelection)return;const e="selection",t=this.j.s.sel,r=this.j.s.range;(null==t?void 0:t.isCollapsed)||this.isSelectedTarget(r)?this.type===e&&this.popup.isOpened&&this.hidePopup():this.j.s.current()&&this.showPopup(()=>r.getBoundingClientRect(),e)}isSelectedTarget(e){const t=e.startContainer;return o.J.isElement(t)&&t===e.endContainer&&o.J.isTag(t.childNodes[e.startOffset],new Set((0,s.keys)(this.j.o.popup,!1)))&&e.startOffset===e.endOffset-1}beforeDestruct(e){e.e.off("showPopup").off([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.removeListenersForElements()}_eventsList(){const e=this.elmsList;return e.map(e=>(0,s.camelCase)("click_"+e)).concat(e.map(e=>(0,s.camelCase)("touchstart_"+e))).join(" ")}addListenersForElements(){this.j.e.on(this._eventsList(),this.onClick)}removeListenersForElements(){this.j.e.off(this._eventsList(),this.onClick)}showInlineToolbar(e){this.showPopup(()=>{if(e)return e;const{range:t}=this.j.s;return t.getBoundingClientRect()},"toolbar")}constructor(){super(...arguments),this.type=null,this.snapRange=null,this.elmsList=(0,s.keys)(this.j.o.popup,!1).filter(e=>!this.isExcludedTarget(e))}}h.requires=["select"],u([i.cache],h.prototype,"popup",null),u([i.cache],h.prototype,"toolbar",null),u([i.autobind],h.prototype,"onClick",null),u([(0,i.wait)(e=>!e.j.isLocked)],h.prototype,"showPopup",null),u([(0,i.watch)([":clickEditor",":beforeCommandDelete",":backSpaceAfterDelete"]),i.autobind],h.prototype,"hidePopup",null),u([(0,i.watch)(":outsideClick")],h.prototype,"onOutsideClick",null),u([i.autobind],h.prototype,"onSelectionStart",null),u([i.autobind],h.prototype,"onSelectionEnd",null),u([(0,i.debounce)(e=>e.defaultTimeout)],h.prototype,"onSelectionChange",null),u([i.autobind],h.prototype,"showInlineToolbar",null),n.fg.add("inlinePopup",h)},93602(e,t,r){r.d(t,{g(){return l}});var i,o=r(65478),n=r(72757),s=r(37643),a=r(85567);let l=i=class e extends n.h{set lang(e){this._lang=e,this._api.lang=e}get lang(){return this._lang}set continuous(e){this._continuous=e,this._api.continuous=e}get continuous(){return this._continuous}set interimResults(e){this._interimResults=e,this._api.interimResults=e}get interimResults(){return this._interimResults}destruct(){this.stop(),i._instances.delete(this),super.destruct()}get isEnabled(){return this._isEnabled}start(){if(!this._isEnabled){this._isEnabled=!0,i._instances.forEach(e=>{e!==this&&e.stop()});try{this._api.start()}catch(e){return this._onError(e),void this.stop()}this.__on("speechstart",this._onSpeechStart).__on("error",this._onError).__on("result",this._onProgress).__on("end",this._onResults)}}stop(){this._isEnabled&&(this._api.abort(),this._api.stop(),this.__off("speechstart",this._onSpeechStart).__off("error",this._onError).__off("result",this._onProgress).__off("end",this._onResults),this.async.clearTimeout(this._restartTimeout),this._isEnabled=!1,this.emit("pulse",!1))}toggle(){this._isEnabled?this.stop():this.start()}restart(){this.stop(),this.start()}__on(e,t){return this._api.addEventListener(e,t),this}__off(e,t){return this._api.removeEventListener(e,t),this}_onResults(e){this.emit("pulse",!1),this.emit("result",this.__interimResults),this.__interimResults="",this._makeSound(a.N),this.restart()}_onProgress(e){if(this._isEnabled&&(this.__interimResults="",e.results)){for(let t=0;e.results.length>t;t++){const r=e.results.item(t);if(r.length){const{transcript:e}=r.item(0);this.__interimResults+=e}}this.__interimResults&&this.emit("progress",this.__interimResults)}}_onError(e){"voice-unavailable"===e.error&&this.emit("error","Voice unavailable"),"not-allowed"===e.error&&this.emit("error","Not allowed"),"language-unavailable"!==e.error&&"language-not-supported"!==e.error||this.emit("error","Language unavailable"),this._makeSound(a.Z),this.emit("pulse",!1),this.stop()}_makeSound(e){this.sound&&(0,s.s)({frequency:e})}constructor(e,t){super(),this.async=e,this._continuous=!1,this._interimResults=!1,this.sound=!0,this._isEnabled=!1,this._restartTimeout=0,this._onSpeechStart=e=>{this._isEnabled&&(this.async.clearTimeout(this._restartTimeout),this._restartTimeout=this.async.setTimeout(()=>{this.restart(),this.emit("pulse",!1),this._makeSound(a.Z)},5e3),this.emit("pulse",!0))},this.__interimResults="",this._api=t,i._instances.add(this)}};l._instances=new Set,l=i=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([o.autobind],l)},93661(e,t,r){function i(e="Aborted"){return new DOMException(e,"AbortError")}r.d(t,{h(){return i},r(){return o}});const o=r(12045).z},94122(e,t,r){r.d(t,{$j(){return o.$},Pb(){return a},YQ(){return s},_9(){return n._},dT(){return i.d},tN(){return o.t}}),r(83987);var i=r(50373),o=r(71686),n=r(80020);function s(e){return!!(e&&e.files&&e.files.length>0)}function a(e){return!!(e&&e.items&&e.items.length>0)}},94466(e,t,r){r.d(t,{D(){return l},M(){return a}});var i=r(21496),o=r(43555),n=r(38837),s=r(22030);function a(e,t){return!e.attributes.length&&!(0,i.E)(t)||!(0,i.E)(t)||((0,n.v)(t,"Attrs must be a non-empty object"),Object.keys(t).every(r=>"class"===r||"className"===r?e.classList.contains(t[r]):"style"===r?(0,s.g)(e,t[r]):(0,o.CF)(e,r)===t[r]))}function l(e,t){return e.attributes.length===t.attributes.length&&Array.from(e.attributes).every(e=>t.hasAttribute(e.name)&&t.getAttribute(e.name)===e.value)}},94538(e,t,r){r.d(t,{r(){return l}});var i=r(22732),o=r(71521),n=r(10830),s=r(32118),a=r(20201);function l(){const e=(0,s.a)(this),{state:t,files:r,create:l,options:c}=this,d=t=>{const r=t.uniqueHashKey;if(e[r])return e[r].elm;const i=l.fromHTML(c.getThumbTemplate.call(this,t,t.source,""+t.sourceName));return i.dataset.key=r,e[r]={item:t,elm:i},e[r].elm};t.on(["change.currentPath","change.currentSource"],this.async.debounce(()=>{this.o.saveStateInStorage&&this.o.saveStateInStorage.storeLastOpenedFolder&&this.storage.set("currentPath",this.state.currentPath).set("currentSource",this.state.currentSource),(0,a.r)(this).catch(this.status)},this.defaultTimeout)).on("beforeChange.activeElements",()=>{t.activeElements.forEach(t=>{const i=t.uniqueHashKey,{elm:o}=e[i];o&&o.classList.remove(r.getFullElName("item","active",!0))})}).on("change.activeElements",()=>{this.e.fire("changeSelection"),t.activeElements.forEach(t=>{const i=t.uniqueHashKey,{elm:o}=e[i];o&&o.classList.add(r.getFullElName("item","active",!0))})}).on("change.view",()=>{r.setMod("view",t.view),this.o.saveStateInStorage&&this.o.saveStateInStorage.storeView&&this.storage.set("view",t.view)}).on("change.sortBy",()=>{this.o.saveStateInStorage&&this.o.saveStateInStorage.storeSortBy&&this.storage.set("sortBy",t.sortBy)}).on("change.elements",this.async.debounce(()=>{i.J.detach(r.container),t.elements.length?t.elements.forEach(e=>{this.files.container.appendChild(d(e))}):r.container.appendChild(l.div(this.componentName+"_no-files_true",this.i18n("There are no files")))},this.defaultTimeout)).on("change.sources",this.async.debounce(()=>{i.J.detach(this.tree.container),t.sources.forEach(e=>{const t=e.name;if(t&&"default"!==t&&this.tree.container.appendChild(l.div(this.tree.getFullElName("source-title"),t)),e.folders.forEach(r=>{const i=l.a(this.tree.getFullElName("item"),{draggable:"draggable",href:"#","data-path":(0,o.Fd)(e.path,r+"/"),"data-name":r,"data-source":t,"data-source-path":e.path},l.span(this.tree.getFullElName("item-title"),r)),s=i=>n=>{this.e.fire(i+".filebrowser",{name:r,path:(0,o.Fd)(e.path+"/"),source:t}),n.stopPropagation(),n.preventDefault()};if(this.e.on(i,"click",s("openFolder")),this.tree.container.appendChild(i),".."!==r&&"."!==r){if(c.renameFolder&&this.dataProvider.canI("FolderRename")){const e=(0,n.$n)(this,{icon:{name:"pencil"},name:"rename",tooltip:"Rename",size:"tiny"});e.onAction(s("renameFolder")),i.appendChild(e.container)}if(c.deleteFolder&&this.dataProvider.canI("FolderRemove")){const e=(0,n.$n)(this,{icon:{name:"cancel"},name:"remove",tooltip:"Delete",size:"tiny"});e.onAction(s("removeFolder")),i.appendChild(e.container)}}}),c.createNewFolder&&this.dataProvider.canI("FolderCreate")){const r=(0,n.$n)(this,"plus","Add folder","secondary");r.onAction(()=>{this.e.fire("addFolder",{path:(0,o.Fd)(e.path+"/"),source:t})}),this.tree.append(r)}})},this.defaultTimeout))}},94575(e,t,r){r.d(t,{U(){return l}});var i=r(29960),o=r(51642),n=r(75595),s=r(47749),a=r(32566);async function l(e,t){const{sourceImage:r,values:l}=t;return(0,o.g)(r,l),l.borderRadius=parseInt(r.style.borderRadius||"0",10)||0,l.id=(0,i.C)(r,"id")||"",l.imageTitle=(0,i.C)(r,"title")||"",l.imageAlt=(0,i.C)(r,"alt")||"",l.style=(0,i.C)(r,"style")||"",l.classes=((0,i.C)(r,"class")||"").replace(/jodit_focused_image[\s]*/,""),(0,s.E)(r,l,t),(0,n.X)(t,e,l),l.imageSrc=(0,i.C)(r,"src")||"",(0,a.P)(r,l,t)}},94643(e,t,r){r.d(t,{J(){return n}});var i=r(70799),o=r(86068);function n(e,t){if(!(0,i.K)(e)||!e.length)return null;const r=e.split(".");let n=t;try{for(const e of r){if((0,o.R)(n[e]))return null;n=n[e]}}catch(e){return null}return(0,o.R)(n)?null:n}},94775(e,t){t.A='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"> <path d="M24.89,6.61H22.31V4.47A2.47,2.47,0,0,0,19.84,2H6.78A2.47,2.47,0,0,0,4.31,4.47V22.92a2.47,2.47,0,0,0,2.47,2.47H9.69V27.2a2.8,2.8,0,0,0,2.8,2.8h12.4a2.8,2.8,0,0,0,2.8-2.8V9.41A2.8,2.8,0,0,0,24.89,6.61ZM6.78,23.52a.61.61,0,0,1-.61-.6V4.47a.61.61,0,0,1,.61-.6H19.84a.61.61,0,0,1,.61.6V6.61h-8a2.8,2.8,0,0,0-2.8,2.8V23.52Zm19,3.68a.94.94,0,0,1-.94.93H12.49a.94.94,0,0,1-.94-.93V9.41a.94.94,0,0,1,.94-.93h12.4a.94.94,0,0,1,.94.93Z"/> <path d="M23.49,13.53h-9.6a.94.94,0,1,0,0,1.87h9.6a.94.94,0,1,0,0-1.87Z"/> <path d="M23.49,17.37h-9.6a.94.94,0,1,0,0,1.87h9.6a.94.94,0,1,0,0-1.87Z"/> <path d="M23.49,21.22h-9.6a.93.93,0,1,0,0,1.86h9.6a.93.93,0,1,0,0-1.86Z"/> </svg> '},94870(e,t,r){r.d(t,{z(){return n}});var i=r(2748);const o=new Set(["table","pre","blockquote","code"]);function n(e,t){if(!e.o.dtd.removeExtraBr||i.J.isTag(t,"br"))return;const r=i.J.furthest(t,i.J.isBlock,e.editor);if(r&&!i.J.isTag(r,o)){const r=i.J.isTag(t,"br")?t:i.J.findNotEmptySibling(t,!1);if(!i.J.isTag(r,"br"))return;e.s.setCursorBefore(r),i.J.safeRemove(r)}}},95942(e,t,r){r.d(t,{B(){return o},f(){return i}});const i=console;function o(e,t=[""],r=null){return(...o)=>(i.warn(`Method "${t[0]}" deprecated.`+(t[1]?` Use "${t[1]}" instead`:"")),e.call(r,...o))}},96111(e,t,r){var i=r(580);r(24630),i.fg.add("formatBlock",e=>{e.registerButton({name:"paragraph",group:"font"}),e.registerCommand("formatblock",(t,r,i)=>(e.s.commitStyle({element:i}),e.synchronizeValues(),!1))})},96257(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 48 48"> <path d="M6 42h4v-4h-4v4zm4-28h-4v4h4v-4zm-4 20h4v-4h-4v4zm8 8h4v-4h-4v4zm-4-36h-4v4h4v-4zm8 0h-4v4h4v-4zm16 0h-4v4h4v-4zm-8 8h-4v4h4v-4zm0-8h-4v4h4v-4zm12 28h4v-4h-4v4zm-16 8h4v-4h-4v4zm-16-16h36v-4h-36v4zm32-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-16 16h4v-4h-4v4zm8 8h4v-4h-4v4zm8 0h4v-4h-4v4z"/> <path d="M0 0h48v48h-48z" fill="none"/> </svg> '},96325(e,t,r){r.d(t,{e(){return n}});var i=r(82758),o=r(70799);const n=(e,t="en")=>"auto"!==e&&(0,o.K)(e)?e:i.globalDocument.documentElement&&i.globalDocument.documentElement.lang?i.globalDocument.documentElement.lang:navigator.language?navigator.language.substring(0,2):t},96958(e,t,r){r.d(t,{z(){return a}});var i=r(82758),o=r(78547),n=r(31117),s=r(46788);function a(e){if((0,n.hJ)(e)){e.name="li",e.style.set("text-indent",null);const t=l(e),r=/[\da-np-zA-NP-Z].?/.test(t)?"ol":"ul",i=((e,t)=>{for(const t in o.wD)if(RegExp(t).test(e))return o.wD[t];return"ol"===t?"decimal":"disc"})(t,r);e.attributes[o.lA]=r,e.attributes[o.yL]=i,(0,s.lT)(e),(e=>{for(;e;){const t=e.previousElement;if(!(0,n.xe)(t)&&!(0,n.Lv)(t))break;if((0,n.xe)(t)){if(t.attributes[o.fB]>e.attributes[o.fB])break;if(e.attributes[o.fB]===t.attributes[o.fB]&&e.parent&&(0,n.LE)(e,e.parent))break;t.append(e);continue}const r=t;if(r.attributes[o.fB]>e.attributes[o.fB])break;if(e.attributes[o.fB]===r.attributes[o.fB]&&!(0,n.LE)(e,r))break;r.append(e)}})(e);const{parent:a}=e;if(!(0,n.Lv)(a)||!(0,n.LE)(e,a)){const l=((e,t,r,i)=>{const a=e.wrap(t);return a.attributes.start=(0,s.jh)(r),a.attributes[o.fB]=e.attributes[o.fB],a.attributes[o.yL]=e.attributes[o.yL],a.attributes[o.pz]=e.attributes[o.yL],a.style.set(o.Gb,i),(e=>{!(0,n.Lv)(e)||"li"===e.parent?.name||"disc"!==e.style.get(o.Gb)&&"decimal"!==e.style.get(o.Gb)||e.style.set(o.Gb,null)})(a),a})(e,r,t,i);return(0,n.Lv)(a)&&(l.remove(),a.lastElement?.append(l)),e}}return e}const l=e=>e.textBetween(e=>e.isComment&&/\[if.*supportLists.*]/.test((0,n.qy)(e)),e=>e.isComment&&/\[endif]/.test((0,n.qy)(e))).replace(/&nbsp;/g,"").replace((0,i.SPACE_REG_EXP)(),"")},96967(e,t,r){r(6441).T.prototype.wrapNodes={exclude:new Set(["hr","style","br"]),emptyBlockAfterInit:!0}},97357(e,t,r){r.d(t,{A(){return n}});var i=r(23282),o=r(89890);function n(e){return(t,r)=>{if(!(0,i.T)(t[r]))throw(0,o.z3)("Handler must be a Function");t.hookStatus(e,e=>{e[r].call(e)})}}},97379(e,t,r){r.d(t,{Q(){return o}});var i=r(67510);class o extends i.Ue{className(){return"FileBrowserFiles"}}},97380(e,t,r){r.d(t,{$s(){return a},Wv(){return l},sz(){return s}});var i=r(2748),o=r(22030),n=r(29136);function s(e,t,r,s=!0){var a;if(!t||!(0,n._)(t))return!1;const{element:l,elementIsDefault:c,options:d}=e;if(i.J.isList(t)&&e.elementIsList)return!0;const u=i.J.isTag(t,l);return!(!u||c&&r)||!(!(null===(a=d.attributes)||void 0===a?void 0:a.style)||!(s?(0,o.g)(t,d.attributes.style):(0,o.Y)(t,d.attributes.style))||e.elementIsList)||!u&&!r&&c&&i.J.isInlineBlock(t)}function a(e,t,r){return i.J.closest(t,t=>s(e,t,!0,!1),r)}function l(e,t){var r,i;const{element:s,options:a}=e;if(!t||!(0,n._)(t))return!1;const l=t.nodeName.toLowerCase()===s,c=!(!(null===(r=a.attributes)||void 0===r?void 0:r.style)||!(0,o.Y)(t,null===(i=a.attributes)||void 0===i?void 0:i.style));return l&&c}},97519(e,t){t.A={"Type something":"무엇이든 입력하세요","About Jodit":"Jodit에 대하여","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Jodit 사용자 안내서","contains detailed help for using":"자세한 도움말이 들어있어요","For information about the license, please go to our website:":"라이센스에 관해서는 Jodit 웹 사이트를 방문해주세요:","Buy full version":"풀 버전 구입하기","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"© XDSoft.net - Chupurnov Valeriy. 에게 저작권과 모든 권리가 있습니다.",Anchor:"Anchor","Open in new tab":"새 탭에서 열기","Open in fullsize":"전체 크기로 보기","Clear Formatting":"서식 지우기","Fill color or set the text color":"글씨 색상",Redo:"재실행",Undo:"실행 취소",Bold:"굵게",Italic:"기울임","Insert Unordered List":"글머리 목록","Insert Ordered List":"번호 목록","Align Center":"가운데 정렬","Align Justify":"양쪽 정렬","Align Left":"왼쪽 정렬","Align Right":"오른쪽 정렬","Insert Horizontal Line":"수평 구분선 넣기","Insert Image":"이미지 넣기","Insert file":"파일 넣기","Insert youtube/vimeo video":"Youtube/Vimeo 동영상","Insert link":"링크 넣기","Font size":"글꼴 크기","Font family":"글꼴","Insert format block":"블록 요소 넣기",Normal:"일반 텍스트","Heading 1":"제목 1","Heading 2":"제목 2","Heading 3":"제목 3","Heading 4":"제목 4",Quote:"인용",Code:"코드",Insert:"붙여 넣기","Insert table":"테이블","Decrease Indent":"들여쓰기 감소","Increase Indent":"들여쓰기 증가","Select Special Character":"특수문자 선택","Insert Special Character":"특수문자 입력","Paint format":"페인트 형식","Change mode":"편집모드 변경",Margins:"마진",top:"위",right:"오른쪽",bottom:"아래",left:"왼쪽",Styles:"스타일",Classes:"클래스",Align:"정렬",Right:"오른쪽으로",Center:"가운데로",Left:"왼쪽으로","--Not Set--":"--지정 안 함--",Src:"경로(src)",Title:"제목",Alternative:"대체 텍스트(alt)",Link:"링크","Open link in new tab":"새 탭에서 열기",file:"파일",Advanced:"고급","Image properties":"이미지 속성",Cancel:"취소",Ok:"확인","Your code is similar to HTML. Keep as HTML?":"HTML 코드로 감지했어요. 코드인채로 붙여넣을까요?","Paste as HTML":"HTML로 붙여넣기",Keep:"원본 유지",Clean:"지우기","Insert as Text":"텍스트로 넣기","Insert only Text":"텍스트만 넣기","Word Paste Detected":"Word 붙여넣기 감지","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Microsoft Word/Excel 문서로 감지했어요. 서식을 유지한채로 붙여넣을까요?","File Browser":"파일 탐색기","Error on load list":"목록 불러오기 에러","Error on load folders":"폴더 불러오기","Are you sure?":"정말 진행할까요?","Enter Directory name":"디렉토리 이름 입력","Create directory":"디렉토리 생성","type name":"이름 입력","Drop image":"이미지 드래그","Drop file":"파일 드래그","or click":"혹은 클릭","Alternative text":"대체 텍스트",Browse:"탐색",Upload:"업로드",Background:"배경",Text:"텍스트",Top:"위",Middle:"중앙",Bottom:"아래","Insert column before":"이전 열에 삽입","Insert column after":"다음 열에 삽입","Insert row above":"위 행에 삽입","Insert row below":"아래 행에 삽입","Delete table":"테이블 삭제","Delete row":"행 삭제","Delete column":"열 삭제","Empty cell":"빈 셀",source:"HTML 소스",bold:"볼드",italic:"이탤릭",brush:"브러시",link:"링크",undo:"실행 취소",redo:"재실행",table:"테이블",image:"이미지",eraser:"지우개",paragraph:"문단",fontsize:"글꼴 크기",video:"비디오",font:"글꼴",about:"편집기 정보",print:"프린트",underline:"밑줄",strikethrough:"취소선",indent:"들여쓰기",outdent:"내어쓰기",fullsize:"전체 화면",shrink:"일반 화면",hr:"구분선",ul:"글머리 목록",ol:"번호 목록",cut:"잘라내기",selectall:"모두 선택","Embed code":"Embed 코드","Open link":"링크 열기","Edit link":"링크 편집","No follow":"No follow",Unlink:"링크 제거",Eye:"사이트 확인",pencil:"연필",Update:"갱신"," URL":"URL",Edit:"편집","Horizontal align":"수평 정렬",Filter:"필터","Sort by changed":"변경일 정렬","Sort by name":"이름 정렬","Sort by size":"크기 정렬","Add folder":"새 폴더",Reset:"초기화",Save:"저장","Save as ...":"새로 저장하기 ...",Resize:"리사이즈",Crop:"크롭",Width:"가로 길이",Height:"세로 높이","Keep Aspect Ratio":"비율 유지하기",Yes:"네",No:"아니오",Remove:"제거",Select:"선택","Chars: %d":"문자수: %d","Words: %d":"단어수: %d",All:"모두","Select all":"모두 선택","Select %s":"선택: %s","Vertical align":"수직 정렬",Split:"분할","Split vertical":"세로 셀 분할","Split horizontal":"가로 셀 분할",Merge:"셀 병합","Add column":"열 추가","Add row":"행 추가",Delete:"삭제",Border:"외곽선","License: %s":"라이센스: %s","Strike through":"취소선",Underline:"밑줄",superscript:"윗첨자",subscript:"아래첨자","Cut selection":"선택 잘라내기",Break:"구분자","Search for":"검색","Replace with":"대체하기",Replace:"대체",Paste:"붙여넣기","Choose Content to Paste":"붙여넣을 내용 선택","You can only edit your own images. Download this image on the host?":"외부 이미지는 편집할 수 없어요. 외부 이미지를 다운로드 할까요?","The image has been successfully uploaded to the host!":"이미지를 무사히 업로드 했어요!",palette:"팔레트","There are no files":"파일이 없어요",Rename:"이름 변경","Enter new name":"새 이름 입력",preview:"미리보기",download:"다운로드","Paste from clipboard":"클립보드 붙여넣기","Your browser doesn't support direct access to the clipboard.":"사용중인 브라우저가 클립보드 접근을 지원하지 않아요.","Copy selection":"선택 복사",copy:"복사","Border radius":"둥근 테두리","Show all":"모두 보기",Apply:"적용","Please fill out this field":"이 항목을 입력해주세요!","Please enter a web address":"웹 URL을 입력해주세요.",Default:"기본",Circle:"원",Dot:"점",Quadrate:"정사각형",Find:"찾기","Find Previous":"이전 찾기","Find Next":"다음 찾기","Insert className":"className 입력","Press Alt for custom resizing":"사용자 지정 크기 조정에 대 한 고도 누르십시오"}},97536(e,t,r){r(6441).T.prototype.image={dialogWidth:600,openOnDblClick:!0,editSrc:!0,useImageEditor:!0,editTitle:!0,editAlt:!0,editLink:!0,editSize:!0,editBorderRadius:!0,editMargins:!0,editClass:!0,availableClasses:[],editStyle:!0,editId:!0,editAlign:!0,showPreview:!0,selectImageAfterClose:!0}},97639(e,t,r){r.d(t,{T(){return i}});const i=e=>{const t=navigator.userAgent.toLowerCase(),r=/(firefox)[\s/]([\w.]+)/.exec(t)||/(chrome)[\s/]([\w.]+)/.exec(t)||/(webkit)[\s/]([\w.]+)/.exec(t)||/(opera)(?:.*version)[\s/]([\w.]+)/.exec(t)||/(msie)[\s]([\w.]+)/.exec(t)||/(trident)\/([\w.]+)/.exec(t)||0>t.indexOf("compatible")||[];return"version"===e?r[2]:"webkit"===e?"chrome"===r[1]||"webkit"===r[1]:"ff"===e?"firefox"===r[1]:"msie"===e?"trident"===r[1]||"msie"===r[1]:r[1]===e}},97735(e,t,r){r.d(t,{Hp(){return n},mA(){return o},y6(){return s}});var i=r(67462);function o(e){return e&&e.isAtom}function n(e){return Object.defineProperty(e,"isAtom",{enumerable:!1,value:!0,configurable:!1}),e}function s(e){return JSON.parse((0,i.A)(e))}},98220(e,t,r){r.d(t,{b(){return d}});var i=r(82758),o=r(46559),n=r(68345),s=r(23282),a=r(70799),l=r(89890),c=r(15738);class d{mute(e){return this.__mutedEvents.add(null!=e?e:"*"),this}isMuted(e){return!(!e||!this.__mutedEvents.has(e))||this.__mutedEvents.has("*")}unmute(e){return this.__mutedEvents.delete(null!=e?e:"*"),this}__eachEvent(e,t){(0,o.u)(e).map(e=>e.trim()).forEach(e=>{const r=e.split(".");t.call(this,r[0],r[1]||c.X)})}__getStore(e){if(!e)throw(0,l.z3)("Need subject");if(void 0===e[this.__key]){const t=new c.d;Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:t})}return e[this.__key]}__removeStoreFromSubject(e){void 0!==e[this.__key]&&Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:void 0})}__triggerNativeEvent(e,t){const r=this.__doc.createEvent("HTMLEvents");(0,a.K)(t)?r.initEvent(t,!0,!0):(r.initEvent(t.type,t.bubbles,t.cancelable),["screenX","screenY","clientX","clientY","target","srcElement","currentTarget","timeStamp","which","keyCode"].forEach(e=>{Object.defineProperty(r,e,{value:t[e],enumerable:!0})}),Object.defineProperty(r,"originalEvent",{value:t,enumerable:!0})),e.dispatchEvent(r)}get current(){return this.currents[this.currents.length-1]}on(e,t,r,o){let c,d,h,p;if((0,a.K)(e)||(0,a.B)(e)?(c=this,d=e,h=t,p=r):(c=e,d=t,h=r,p=o),!(0,a.K)(d)&&!(0,a.B)(d)||0===d.length)throw(0,l.z3)("Need events names");if(!(0,s.T)(h))throw(0,l.z3)("Need event handler");if((0,n.c)(c))return c.forEach(e=>{this.on(e,d,h,p)}),this;const f=c,m=this.__getStore(f),g=this;let v=function(e,...t){if(!g.isMuted(e))return h&&h.call(this,...t)};return u(f)&&(v=function(e){if(!g.isMuted(e.type))return g.__prepareEvent(e),h&&!1===h.call(this,e)?(e.preventDefault(),e.stopImmediatePropagation(),!1):void 0}),this.__eachEvent(d,(e,t)=>{var r,o;if(0===e.length)throw(0,l.z3)("Need event name");if(!1===m.indexOf(e,t,h)&&(m.set(e,t,{event:e,originalCallback:h,syntheticCallback:v},null==p?void 0:p.top),u(f))){const t=i.PASSIVE_EVENTS.has(e)?{passive:!0,capture:null!==(r=null==p?void 0:p.capture)&&void 0!==r&&r}:null!==(o=null==p?void 0:p.capture)&&void 0!==o&&o;v.options=t,f.addEventListener(e,v,t),this.__memoryDOMSubjectToHandler(f,v)}}),this}__memoryDOMSubjectToHandler(e,t){const r=this.__domEventsMap.get(e)||new Set;r.add(t),this.__domEventsMap.set(e,r)}__unmemoryDOMSubjectToHandler(e,t){const r=this.__domEventsMap,i=r.get(e)||new Set;i.delete(t),i.size?r.set(e,i):r.delete(e)}one(e,t,r,i){let o,n,s,l;(0,a.K)(e)||(0,a.B)(e)?(o=this,n=e,s=t,l=r):(o=e,n=t,s=r,l=i);const c=(...e)=>(this.off(o,n,c),s(...e));return this.on(o,n,c,l),this}off(e,t,r){let i,o,l;if((0,a.K)(e)||(0,a.B)(e)?(i=this,o=e,l=t):(i=e,o=t,l=r),(0,n.c)(i))return i.forEach(e=>{this.off(e,o,l)}),this;const d=i,h=this.__getStore(d);if(!(0,a.K)(o)&&!(0,a.B)(o)||0===o.length)return h.namespaces().forEach(e=>{this.off(d,"."+e)}),this.__removeStoreFromSubject(d),this;const p=e=>{var t;u(d)&&(d.removeEventListener(e.event,e.syntheticCallback,null!==(t=e.syntheticCallback.options)&&void 0!==t&&t),this.__unmemoryDOMSubjectToHandler(d,e.syntheticCallback))},f=(e,t)=>{if(""===e)return void h.events(t).forEach(e=>{""!==e&&f(e,t)});const r=h.get(e,t);if(r&&r.length)if((0,s.T)(l)){const i=h.indexOf(e,t,l);!1!==i&&(p(r[i]),r.splice(i,1),r.length||h.clearEvents(t,e))}else r.forEach(p),r.length=0,h.clearEvents(t,e)};return this.__eachEvent(o,(e,t)=>{t===c.X?h.namespaces().forEach(t=>{f(e,t)}):f(e,t)}),h.isEmpty()&&this.__removeStoreFromSubject(d),this}stopPropagation(e,t){const r=(0,a.K)(e)?this:e,i=(0,a.K)(e)?e:t;if("string"!=typeof i)throw(0,l.z3)("Need event names");const o=this.__getStore(r);this.__eachEvent(i,(e,t)=>{const i=o.get(e,t);i&&this.__stopped.push(i),t===c.X&&o.namespaces(!0).forEach(t=>this.stopPropagation(r,e+"."+t))})}__removeStop(e){if(e){const t=this.__stopped.indexOf(e);-1!==t&&this.__stopped.splice(0,t+1)}}__isStopped(e){return void 0!==e&&-1!==this.__stopped.indexOf(e)}fire(e,t,...r){let i,o;const n=(0,a.K)(e)?this:e,s=(0,a.K)(e)?e:t,d=(0,a.K)(e)?[t,...r]:r;if(!u(n)&&!(0,a.K)(s))throw(0,l.z3)("Need events names");const h=this.__getStore(n);return!(0,a.K)(s)&&u(n)?this.__triggerNativeEvent(n,t):this.__eachEvent(s,(e,t)=>{if(u(n))this.__triggerNativeEvent(n,e);else{const r=h.get(e,t);if(r)try{[...r].every(t=>!this.__isStopped(r)&&(this.currents.push(e),o=t.syntheticCallback.call(n,e,...d),this.currents.pop(),void 0!==o&&(i=o),!0))}finally{this.__removeStop(r)}t!==c.X||u(n)||h.namespaces().filter(e=>e!==t).forEach(t=>{const r=this.fire.call(this,n,e+"."+t,...d);void 0!==r&&(i=r)})}}),i}destruct(){this.__isDestructed||(this.__isDestructed=!0,this.__domEventsMap.forEach((e,t)=>{this.off(t)}),this.__domEventsMap.clear(),this.__mutedEvents.clear(),this.currents.length=0,this.__stopped.length=0,this.off(this),this.__getStore(this).clear(),this.__removeStoreFromSubject(this))}constructor(e){this.__domEventsMap=new Map,this.__mutedEvents=new Set,this.__key="__JoditEventEmitterNamespaces",this.__doc=i.globalDocument,this.__prepareEvent=e=>{e.cancelBubble||(e.composed&&(0,s.T)(e.composedPath)&&e.composedPath()[0]&&Object.defineProperty(e,"target",{value:e.composedPath()[0],configurable:!0,enumerable:!0}),e.type.match(/^touch/)&&e.changedTouches&&e.changedTouches.length&&["clientX","clientY","pageX","pageY"].forEach(t=>{Object.defineProperty(e,t,{value:e.changedTouches[0][t],configurable:!0,enumerable:!0})}),e.originalEvent||(e.originalEvent=e),"paste"===e.type&&void 0===e.clipboardData&&this.__doc.defaultView.clipboardData&&Object.defineProperty(e,"clipboardData",{get:()=>this.__doc.defaultView.clipboardData,configurable:!0,enumerable:!0}))},this.currents=[],this.__stopped=[],this.__isDestructed=!1,e&&(this.__doc=e),this.__key+=(new Date).getTime()}}function u(e){return(0,s.T)(e.addEventListener)}},98527(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm637-679v206h-514l-3-27q-4-28-4-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 83-65 188-65 110 0 178 59.5t68 158.5q0 56-24.5 103t-62 76.5-81.5 58.5-82 50.5-65.5 51.5-30.5 63h232v-80h126z"/> </svg> '},98582(e,t,r){r.d(t,{Y(){return i}});class i{get url(){return this.request.url}async json(){return JSON.parse(this.body)}text(){return Promise.resolve(this.body)}async blob(){return this.body}constructor(e,t,r,i){this.request=e,this.status=t,this.statusText=r,this.body=i}}},99085(e,t,r){var i=r(12153),o=r(6441),n=r(10937);o.T.prototype.spellcheck=!1,i.I.set("spellcheck",n.A),o.T.prototype.controls.spellcheck={isActive:e=>e.o.spellcheck,icon:n.A,name:"spellcheck",command:"toggleSpellcheck",tooltip:"Spellcheck"}},99649(e,t,r){var i=r(6441);i.T.prototype.showCharsCounter=!0,i.T.prototype.countHTMLChars=!1,i.T.prototype.countTextSpaces=!1,i.T.prototype.showWordsCounter=!0},99762(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-896q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h896q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-640q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h640q26 0 45 19t19 45z"/> </svg> '},99823(e,t,r){var i=r(82758),o=r(12153),n=r(6441),s=r(6950),a=r(28911);n.T.prototype.fullsize=!1,n.T.prototype.globalFullSize=!0,o.I.set("fullsize",s.A).set("shrink",a.A),n.T.prototype.controls.fullsize={exec(e){e.toggleFullSize()},update(e,t){const r=e.isFullSize?"shrink":"fullsize";t.state.activated=e.isFullSize,e.o.textIcons?t.state.text=r:t.state.icon.name=r},tooltip:"Open in fullsize",mode:i.MODE_SOURCE+i.MODE_WYSIWYG}}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return r[e].call(n.exports,n,n.exports,o),n.exports}o.m=r,t=[],o.O=(e,r,i,n)=>{if(!r){var s=1/0;for(d=0;t.length>d;d++){r=t[d][0],i=t[d][1],n=t[d][2];for(var a=!0,l=0;r.length>l;l++)(!1&n||s>=n)&&Object.keys(o.O).every(e=>o.O[e](r[l]))?r.splice(l--,1):(a=!1,s>n&&(s=n));if(a){t.splice(d--,1);var c=i();void 0!==c&&(e=c)}}return e}n=n||0;for(var d=t.length;d>0&&t[d-1][2]>n;d--)t[d]=t[d-1];t[d]=[r,i,n]},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={521:0};o.O.j=t=>0===e[t];var t=(t,r)=>{var i,n,s=r[0],a=r[1],l=r[2],c=0;if(s.some(t=>0!==e[t])){for(i in a)o.o(a,i)&&(o.m[i]=a[i]);if(l)var d=l(o)}for(t&&t(r);s.length>c;c++)o.o(e,n=s[c])&&e[n]&&e[n][0](),e[n]=0;return o.O(d)},r=self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var n={};o.r(n),o.d(n,{Jodit(){return s.A}}),o(1596);var s=o(34013);return s.A.plugins.add("poweredByJodit",()=>{}),o.O(n)}()});
10
+ ((e,t)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("{}"));else if("function"==typeof define&&define.amd)define(["{}"],t);else{var r="object"==typeof exports?t(require("{}")):t(e["{}"]);for(var i in r)("object"==typeof exports?exports:e)[i]=r[i]}})(self,function(e){return function(){"use strict";var t,r={117(e,t,r){r.d(t,{DI(){return l},PU(){return c},sX(){return a}});var i=r(82758),o=r(2748),n=r(27613),s=r(10830);function a(e,t,r){if(t.isInDestruct)return;(e=>!(!e||"drop"!==e.type))(e)&&t.s.insertCursorAtPoint(e.clientX,e.clientY);const i=t.e.fire("beforePasteInsert",r);!(0,n.Rd)(i)&&((0,n.Kg)(i)||(0,n.Et)(i)||o.J.isNode(i))&&(r=i),(0,n.Kg)(r)&&(r=(e=>{const t=(e=e.replace(/<meta[^>]+?>/g,"")).search(/<!--StartFragment-->/i);-1!==t&&(e=e.substring(t+20));const r=e.search(/<!--EndFragment-->/i);return-1!==r&&(e=e.substring(0,r)),e})(r)),t.s.insertHTML(r)}function l(e){const t=e.types;let r="";if((0,n.cy)(t)||"[object DOMStringList]"==={}.toString.call(t))for(let e=0;t.length>e;e+=1)r+=t[e]+";";else r=(t||i.TEXT_PLAIN)+";";return r}function c(e,t,r,i,o){if(!1===e.e.fire("beforeOpenPasteDialog",t,r,i,o))return;const n=e.confirm(`<div style="word-break: normal; white-space: normal">${e.i18n(t)}</div>`,e.i18n(r)),a=o.map(({text:t,value:r})=>(0,s.$n)(e,{text:t,name:t.toLowerCase(),tabIndex:0}).onAction(()=>{n.close(),i(r)}));n.e.one(n,"afterClose",()=>{e.s.isFocused()||e.s.focus()});const l=(0,s.$n)(e,{text:"Cancel",tabIndex:0}).onAction(()=>{n.close()});return n.setFooter([...a,l]),a[0].focus(),a[0].state.variant="primary",e.e.fire("afterOpenPasteDialog",n,t,r,i,o),n}},159(e,t,r){r.d(t,{u(){return o}});var i=r(21537);class o{static create(e){return e instanceof o?e:new o(e)}get path(){return(0,i.normalizePath)(this.data.source.path?this.data.source.path+"/":"/")}get imageURL(){const e=this.time||""+(new Date).getTime(),{thumbIsAbsolute:t,source:r,thumb:o,file:n}=this.data,s=o||n;return t&&s?s:(0,i.normalizeUrl)(r.baseurl,r.path,s||"")+"?_tmst="+encodeURIComponent(e)}get fileURL(){let{name:e}=this.data;const{file:t,fileIsAbsolute:r,source:o}=this.data;return void 0!==t&&(e=t),r&&e?e:(0,i.normalizeUrl)(o.baseurl,o.path,e||"")}get time(){const{changed:e}=this.data;return e&&("number"==typeof e?new Date(e).toLocaleString():e)||""}get uniqueHashKey(){const e=this.data;let t=[e.sourceName,e.name,e.file,this.time,e.thumb].join("_");return t=t.toLowerCase().replace(/[^0-9a-z\-.]/g,"-"),t}toJSON(){return this.data}constructor(e){this.data=e,Object.keys(e).forEach(t=>{this[t]=e[t]})}}},302(e,t,r){r.d(t,{i(){return o}});var i=r(2748);const o=(e,t)=>`${i.J.isCell(t)?"padding":"margin"}${"rtl"===e?"Right":"Left"}`},384(e,t,r){r.d(t,{L(){return n}});var i=r(2748),o=r(21537);function n(e,t,r){return!(!i.J.isElement(t)||!(0,o.sanitizeHTMLElement)(t,{safeJavaScriptLink:e.options.cleanHTML.safeJavaScriptLink,removeOnError:e.options.cleanHTML.removeOnError}))||r}},445(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/> </svg> '},575(e,t,r){var i=r(82758),o=r(65478),n=r(2748),s=r(580),a=r(87612),l=r(20356),c=r(35399);class d extends l.k{afterInit(e){const t=e.o.enter.toLowerCase(),r=t===i.BR.toLowerCase();e.o.enterBlock||(e.o.enterBlock=r?i.PARAGRAPH:t),e.registerCommand("enter",(e,t,r={})=>this.onEnter(r))}onEnterKeyDown(e){if(e.key===i.KEY_ENTER){const t=this.j,r=t.e.fire("beforeEnter",e);return void 0!==r?r:(t.s.isCollapsed()||t.execCommand("Delete"),t.s.focus(),this.onEnter(e),t.e.fire("afterEnter",e),t.synchronizeValues(),!1)}}onEnter(e){const{jodit:t}=this,r=t.createInside.fake();try{n.J.safeInsertNode(t.s.range,r),(0,c.Mt)(t,r,["a"]);let i=(0,c.Dk)(r,t);const o=n.J.isLeaf(i);if((!o||(null==e?void 0:e.shiftKey))&&(0,c.lN)(r,t,null==e?void 0:e.shiftKey))return!1;if(i||(0,c.tX)(r,t)||(i=(0,c.C1)(r,t)),!i)return(0,c.yh)(r,t,o?"li":t.o.enter),!1;if(!(0,c.bD)(r,t,i))return!1;if(o&&this.__isEmptyListLeaf(i))return(0,c.cf)(r,t,i),!1;(0,c.HS)(r,t,i)}finally{r.isConnected&&t.s.setCursorBefore(r),n.J.safeRemove(r)}}__isEmptyListLeaf(e){const t=this.j.e.fire("enterIsEmptyListLeaf",e);return(0,a.L)(t)?t:n.J.isEmpty(e)}beforeDestruct(e){e.e.off("keydown.enter")}}(function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);n>3&&s&&Object.defineProperty(t,r,s)})([(0,o.watch)(":keydown.enter")],d.prototype,"onEnterKeyDown",null),s.fg.add("enter",d)},580(e,t,r){r.d(t,{JW(){return y},My(){return _},RR(){return C},VF(){return p},av(){return b},ef(){return k},fg(){return v},w9(){return g}});var i=r(21537),o=r(19306),n=r(70799),s=r(39955),a=r(12475),l=r(80568),c=r(41876),d=r(82758),u=r(22732),h=r(3827);const p={};let f=1;const m=new Set;function g(){function e(){return f+=10*(Math.random()+1),Math.round(f).toString(16)}let t=e();for(;m.has(t);)t=e();return m.add(t),t}const v=new c.$,b={},y=e=>{Object.keys(e).forEach(t=>{d.lang[t]?Object.assign(d.lang[t],e[t]):d.lang[t]=e[t]})},w=new WeakMap;function _(e,t,r="div",i=!1){const c=(0,n.K)(t)?t:t?(0,l.u)(t.prototype):"jodit-utils",d=w.get(e)||{},h=c+r,p=(0,s.h)(e)?e:e.j;let f=null;if(!d[h]){let t=p.c;if(f=k(p.o,p.container,e.od.body),i&&(0,o.y)(e)&&e.od!==e.ed){t=e.createInside;const i="style"===r?e.ed.head:e.ed.body;f=(0,o.y)(e)&&e.o.shadowRoot?e.o.shadowRoot:i}const n=t.element(r,{className:`jodit jodit-${(0,a.k)(c)}-container jodit-box`});n.classList.add("jodit_theme_"+(p.o.theme||"default")),f.appendChild(n),d[h]=n,e.hookStatus("beforeDestruct",()=>{p.events.off(n),u.J.safeRemove(n),delete d[h],Object.keys(d).length&&w.delete(e)}),w.set(e,d),p.events.fire("getContainer",n)}return d[h].classList.remove("jodit_theme_default","jodit_theme_dark"),d[h].classList.add("jodit_theme_"+(p.o.theme||"default")),d[h]}function k(e,t,r){var o,n,s;return null!==(s=null!==(n=null!==(o=e.popupRoot)&&void 0!==o?o:e.shadowRoot)&&void 0!==n?n:u.J.closest(t,e=>u.J.isHTMLElement(e)&&(u.J.isTag(e,"dialog")||["fixed","absolute"].includes((0,i.css)(e,"position"))),r))&&void 0!==s?s:r}const C=new h.bk},638(e,t,r){r.d(t,{Fc(){return i.F},XG(){return s.X},lG(){return n.l},pT(){return o.p}});var i=r(71568),o=r(26866),n=r(78584),s=r(36806)},757(e,t,r){var i=r(6441);i.T.prototype.mediaFakeTag="jodit-media",i.T.prototype.mediaInFakeBlock=!0,i.T.prototype.mediaBlocks=["video","audio"]},767(e,t,r){var i=r(82758),o=r(65478),n=r(580),s=r(50911),a=(r(66288),r(47686)),l=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};class c extends s.k{afterInit(e){}__onTab(e){if(e.key===i.KEY_TAB&&this.__onShift(e.shiftKey))return!1}__onCommand(e){if(("indent"===e||"outdent"===e)&&this.__onShift("outdent"===e))return!1}__onShift(e){const t=(0,a.O)(this.j,e);return t&&this.j.e.fire("afterTab",e),t}beforeDestruct(e){}}l([(0,o.watch)(":keydown.tab")],c.prototype,"__onTab",null),l([(0,o.watch)(":beforeCommand.tab")],c.prototype,"__onCommand",null),n.fg.add("tab",c)},820(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M747 1521q74 32 140 32 376 0 376-335 0-114-41-180-27-44-61.5-74t-67.5-46.5-80.5-25-84-10.5-94.5-2q-73 0-101 10 0 53-.5 159t-.5 158q0 8-1 67.5t-.5 96.5 4.5 83.5 12 66.5zm-14-746q42 7 109 7 82 0 143-13t110-44.5 74.5-89.5 25.5-142q0-70-29-122.5t-79-82-108-43.5-124-14q-50 0-130 13 0 50 4 151t4 152q0 27-.5 80t-.5 79q0 46 1 69zm-541 889l2-94q15-4 85-16t106-27q7-12 12.5-27t8.5-33.5 5.5-32.5 3-37.5.5-34v-65.5q0-982-22-1025-4-8-22-14.5t-44.5-11-49.5-7-48.5-4.5-30.5-3l-4-83q98-2 340-11.5t373-9.5q23 0 68.5.5t67.5.5q70 0 136.5 13t128.5 42 108 71 74 104.5 28 137.5q0 52-16.5 95.5t-39 72-64.5 57.5-73 45-84 40q154 35 256.5 134t102.5 248q0 100-35 179.5t-93.5 130.5-138 85.5-163.5 48.5-176 14q-44 0-132-3t-132-3q-106 0-307 11t-231 12z"/> </svg> '},1255(e,t,r){var i,o=r(65478),n=r(22732),s=r(580),a=r(21537),l=r(50911),c=(r(44586),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});(e=>{e[e.IDLE=0]="IDLE",e[e.WAIT_DRAGGING=1]="WAIT_DRAGGING",e[e.DRAGGING=2]="DRAGGING"})(i||(i={}));class d extends l.k{afterInit(){this.dragList=this.j.o.draggableTags?(0,a.splitArray)(this.j.o.draggableTags).filter(Boolean).map(e=>e.toLowerCase()):[],this.dragList.length&&this.j.e.on("mousedown dragstart",this.onDragStart)}onDragStart(e){if("dragstart"===e.type&&this.draggable)return!1;if(this.state>i.IDLE)return;const t=e.target;if(!this.dragList.length||!t)return;const r=e=>!(!e||!this.dragList.includes(e.nodeName.toLowerCase()));let o=n.J.furthest(t,r,this.j.editor)||(r(t)?t:null);o&&(n.J.isTag(o.parentElement,"a")&&o.parentElement.firstChild===o&&o.parentElement.lastChild===o&&(o=o.parentElement),this.startX=e.clientX,this.startY=e.clientY,this.isCopyMode=(0,a.ctrlKey)(e),this.draggable=o.cloneNode(!0),(0,a.dataBind)(this.draggable,"target",o),this.state=i.WAIT_DRAGGING,this.addDragListeners())}onDrag(e){var t,r;if(!this.draggable||this.state===i.IDLE)return;const o=e.clientY;if(this.state!==i.WAIT_DRAGGING||Math.sqrt(Math.pow(e.clientX-this.startX,2)+Math.pow(o-this.startY,2))>=this.diffStep){if(this.state===i.WAIT_DRAGGING&&(this.j.lock("drag-and-drop-element"),this.state=i.DRAGGING),this.j.e.fire("hidePopup hideResizer"),!this.draggable.parentNode){const i=(0,a.dataBind)(this.draggable,"target");(0,a.css)(this.draggable,{zIndex:1e13,pointerEvents:"none",pointer:"drag",position:"fixed",opacity:.7,display:"inline-block",left:e.clientX,top:e.clientY,width:null!==(t=null==i?void 0:i.offsetWidth)&&void 0!==t?t:100,height:null!==(r=null==i?void 0:i.offsetHeight)&&void 0!==r?r:100}),(0,s.My)(this.j,d).appendChild(this.draggable)}(0,a.css)(this.draggable,{left:e.clientX,top:e.clientY}),this.j.s.insertCursorAtPoint(e.clientX,e.clientY)}}onDragEnd(){this.isInDestruct||(this.removeDragListeners(),this.j.unlock(),this.state=i.IDLE,this.draggable&&(n.J.safeRemove(this.draggable),this.draggable=null))}onDrop(){if(!this.draggable||i.DRAGGING>this.state)return void this.onDragEnd();let e=(0,a.dataBind)(this.draggable,"target");this.onDragEnd(),this.isCopyMode&&(e=e.cloneNode(!0));const{parentElement:t}=e;this.j.s.insertNode(e,!0,!1),t&&n.J.isEmpty(t)&&!n.J.isCell(t)&&n.J.safeRemove(t),n.J.isTag(e,"img")&&this.j.e&&this.j.e.fire("afterInsertImage",e),this.j.e.fire("synchro")}addDragListeners(){this.j.e.on(this.j.editor,"mousemove",this.onDrag).on("mouseup",this.onDrop).on([this.j.ew,this.ow],"mouseup",this.onDragEnd)}removeDragListeners(){this.j.e.off(this.j.editor,"mousemove",this.onDrag).off("mouseup",this.onDrop).off([this.j.ew,this.ow],"mouseup",this.onDragEnd)}beforeDestruct(){this.onDragEnd(),this.j.e.off("mousedown dragstart",this.onDragStart),this.removeDragListeners()}constructor(){super(...arguments),this.dragList=[],this.draggable=null,this.isCopyMode=!1,this.diffStep=10,this.startX=0,this.startY=0,this.state=i.IDLE}}c([o.autobind],d.prototype,"onDragStart",null),c([(0,o.throttle)(e=>e.defaultTimeout/10)],d.prototype,"onDrag",null),c([o.autobind],d.prototype,"onDragEnd",null),c([o.autobind],d.prototype,"onDrop",null),s.fg.add("dragAndDropElement",d)},1596(e,t,r){r(25187),r(7087),r(12275),r(89377),r(3115)},1808(e,t,r){r.d(t,{N(){return a}});var i=r(87325),o=r(41180),n=r(62405),s=r(68389);let a=class e extends n.U{className(){return"UIMessages"}info(e,t){this.__message(e,"info",t)}success(e,t){this.__message(e,"success",t)}error(e,t){this.__message(e,"error",t)}message(e,t,r){this.__message(e,t,r)}__message(e,t="info",r){const i=e+":"+t;if(this.__messages.has(i))return void this.async.updateTimeout(i,r||this.options.defaultTimeout);if(!this.__box)throw Error("Container is not defined: "+i);this.__box.appendChild(this.container);const o=new s.C(this.j,{text:e,variant:t});this.append(o),this.__calcOffsets(),this.__messages.add(i);const n=this.__getRemoveCallback(o,i);this.j.e.on(o.container,"pointerdown",n),this.async.setTimeout(n,{label:i,timeout:r||this.options.defaultTimeout})}__getRemoveCallback(e,t){const r=i=>{i&&i.preventDefault(),e.isInDestruct||(this.async.clearTimeout(t),this.j.e.off(e.container,"pointerdown",r),this.__messages.delete(t),e.setMod("active",!1),this.async.setTimeout(()=>{this.remove(e),e.destruct(),this.__calcOffsets()},300))};return r}__calcOffsets(){let e=5;this.elements.forEach(t=>{(0,o.A)(t.container,"bottom",e+"px"),e+=t.container.offsetHeight+this.options.defaultOffset})}constructor(e,t,r={defaultTimeout:3e3,defaultOffset:5}){super(e),this.__box=t,this.options=r,this.__messages=new Set}};a=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([i.s],a)},1830(e,t){t.A={"Type something":"Start writing...",pencil:"Edit",Quadrate:"Square"}},2169(e,t,r){var i=r(580),o=r(19306),n=r(41180);r(99823);const s=new Set;i.fg.add("fullsize",e=>{e.registerButton({name:"fullsize"});let t=!1,r=0,i=0,a=!1;const l=()=>{const{container:o,events:s}=e;s&&(t?(r=(0,n.A)(o,"height",!0),i=(0,n.A)(o,"width",!0),(0,n.A)(o,{height:e.ow.innerHeight,width:e.ow.innerWidth}),a=!0):a&&(0,n.A)(o,{height:r||"auto",width:i||"auto"}))},c=r=>{var i;const{container:a,events:c}=e;if(a){if(void 0===r&&(r=!a.classList.contains("jodit_fullsize")),e.setMod("fullsize",r),e.o.fullsize=r,t=r,a.classList.toggle("jodit_fullsize",r),e.toolbar&&((0,o.y)(e)&&(null===(i=e.toolbarContainer)||void 0===i||i.appendChild(e.toolbar.container)),(0,n.A)(e.toolbar.container,"width","auto")),r?s.add(a):s.delete(a),e.o.globalFullSize&&(1===s.size&&r||0===s.size&&!r)){let e=a.parentNode;for(;e&&e.nodeType!==Node.DOCUMENT_NODE&&e.nodeType!==Node.DOCUMENT_FRAGMENT_NODE;)e.classList.toggle("jodit_fullsize-box_true",r),e=e.parentNode;l()}c.fire("afterResize")}};e.o.globalFullSize&&e.e.on(e.ow,"resize",l),e.e.on("afterInit afterOpen",()=>{var t;e.toggleFullSize(null===(t=null==e?void 0:e.options)||void 0===t?void 0:t.fullsize)}).on("toggleFullSize",c).on("beforeDestruct",()=>{t&&c(!1)}).on("beforeDestruct",()=>{e.events&&e.e.off(e.ow,"resize",l)})})},2303(e,t,r){r.d(t,{x(){return Jodit}});var i,o=r(82758),n=r(65478),s=r(580),a=r(21537),l=r(41601),c=r(70231),d=r(6441),u=r(41409),h=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};const p="data-jodit-default-style-display",f="data-jodit-default-classes";let Jodit=i=class Jodit extends u.ViewWithToolbar{className(){return"Jodit"}waitForReady(){return this.isReady?Promise.resolve(this):this.async.promise(e=>{this.hookStatus("ready",()=>e(this))})}static get ready(){return new Promise(e=>{s.RR.on("joditready",e)})}get text(){if(this.editor)return this.editor.innerText||"";const e=this.createInside.div();return e.innerHTML=this.getElementValue(),e.innerText||""}get defaultTimeout(){return(0,a.isNumber)(this.o.defaultTimeout)?this.o.defaultTimeout:d.T.defaultOptions.defaultTimeout}static atom(e){return(0,a.markAsAtomic)(e)}static make(e,t){return new this(e,t)}static isJoditAssigned(e){return e&&(0,a.isJoditObject)(e.component)&&!e.component.isInDestruct}static get defaultOptions(){return d.T.defaultOptions}get createInside(){return new u.Create(()=>this.ed,this.o.createAttributes)}__setPlaceField(e,t){this.currentPlace||(this.currentPlace={},this.places=[this.currentPlace]),this.currentPlace[e]=t}get element(){return this.currentPlace.element}get editor(){return this.currentPlace.editor}set editor(e){this.__setPlaceField("editor",e)}get container(){return this.currentPlace.container}set container(e){this.__setPlaceField("container",e)}get workplace(){return this.currentPlace.workplace}get message(){return this.getMessageModule(this.workplace)}get statusbar(){return this.currentPlace.statusbar}get iframe(){return this.currentPlace.iframe}set iframe(e){this.__setPlaceField("iframe",e)}get history(){return this.currentPlace.history}get editorWindow(){return this.currentPlace.editorWindow}set editorWindow(e){this.__setPlaceField("editorWindow",e)}get ew(){return this.editorWindow}get editorDocument(){return this.currentPlace.editorWindow.document}get ed(){return this.editorDocument}get options(){return this.currentPlace.options}set options(e){this.__setPlaceField("options",e)}get s(){return this.selection}get uploader(){return this.getInstance("Uploader",this.o.uploader)}get filebrowser(){const e=this,t=(0,a.ConfigProto)({defaultTimeout:e.defaultTimeout,uploader:e.o.uploader,language:e.o.language,license:e.o.license,theme:e.o.theme,shadowRoot:e.o.shadowRoot,defaultCallback(t){t.files&&t.files.length&&t.files.forEach((r,i)=>{const o=t.baseurl+r;t.isImages&&t.isImages[i]?e.s.insertImage(o,null,e.o.imageDefaultWidth):e.s.insertNode(e.createInside.fromHTML(`<a href='${o}' title='${o}'>${o}</a>`))})}},this.o.filebrowser);return e.getInstance("FileBrowser",t)}get mode(){return this.__mode}set mode(e){this.setMode(e)}getNativeEditorValue(){const e=this.e.fire("beforeGetNativeEditorValue");return(0,a.isString)(e)?e:this.editor?this.editor.innerHTML:this.getElementValue()}setNativeEditorValue(e){const t={value:e};this.e.fire("beforeSetNativeEditorValue",t)||this.editor&&(this.editor.innerHTML=t.value)}get value(){return this.getEditorValue()}set value(e){this.setEditorValue(e),this.history.__processChanges()}synchronizeValues(){this.__imdSynchronizeValues()}__imdSynchronizeValues(){this.setEditorValue()}getEditorValue(e=!0,t){let r;if(r=this.e.fire("beforeGetValueFromEditor",t),void 0!==r)return r;r=this.getNativeEditorValue().replace(o.INVISIBLE_SPACE_REG_EXP(),""),e&&(r=r.replace(/<span[^>]+id="jodit-selection_marker_[^>]+><\/span>/g,"")),"<br>"===r&&(r="");const i={value:r};return this.e.fire("afterGetValueFromEditor",i,t),i.value}setEditorValue(e){const t=this.e.fire("beforeSetValueToEditor",e);if(!1===t)return;if((0,a.isString)(t)&&(e=t),!this.editor)return void(void 0!==e&&this.__setElementValue(e));if(!(0,a.isString)(e)&&!(0,a.isVoid)(e))throw(0,a.error)("value must be string");(0,a.isVoid)(e)||this.getNativeEditorValue()===e||this.setNativeEditorValue(e),this.e.fire("postProcessSetEditorValue");const r=this.getElementValue(),i=this.getEditorValue();if(!this.__isSilentChange&&r!==i&&o.SAFE_COUNT_CHANGE_CALL>this.__callChangeCount){this.__setElementValue(i),this.__callChangeCount+=1;try{this.history.__upTick(),this.e.fire("change",i,r),this.e.fire(this.history,"change",i,r)}finally{this.__callChangeCount=0}}}updateElementValue(){this.__setElementValue(this.getEditorValue())}getElementValue(){return void 0!==this.element.value?this.element.value:this.element.innerHTML}__setElementValue(e){if(!(0,a.isString)(e))throw(0,a.error)("value must be string");if(this.element!==this.container&&e!==this.getElementValue()){const t={value:e},r=this.e.fire("beforeSetElementValue",t);(0,a.callPromise)(r,()=>{void 0!==this.element.value?this.element.value=t.value:this.element.innerHTML=t.value,this.e.fire("afterSetElementValue",t)})}}registerCommand(e,t,r){const i=e.toLowerCase();let o=this.commands.get(i);if(void 0===o&&(o=[],this.commands.set(i,o)),o.push(t),!(0,a.isFunction)(t)){const o=this.o.commandToHotkeys[i]||this.o.commandToHotkeys[e]||t.hotkeys;o&&this.registerHotkeyToCommand(o,i,null==r?void 0:r.stopPropagation)}return this}registerHotkeyToCommand(e,t,r=!0){const i=(0,a.asArray)(e).map(a.normalizeKeyAliases).map(e=>e+".hotkey").join(" ");this.e.off(i).on(i,(e,i)=>(i&&(i.shouldStop=null==r||r),this.execCommand(t)))}execCommand(e,t,r,...i){if(this.s.isFocused()||this.s.focus(),this.o.readonly&&!this.o.allowCommandsInReadOnly.includes(e))return;let n;if(e=e.toLowerCase(),n=this.e.fire("beforeCommand"+(0,a.ucfirst)(e),t,r,...i),!1!==n&&(n=this.e.fire("beforeCommand",e,t,r,...i)),!1!==n&&(n=this.__execCustomCommands(e,t,r,...i)),!1!==n){this.s.focus();try{n=this.nativeExecCommand(e,t,r)}catch(e){if(!o.IS_PROD)throw e}}return this.e.fire("afterCommand",e,t,r),this.__imdSynchronizeValues(),n}nativeExecCommand(e,t,r){this.__isSilentChange=!0;try{return this.ed.execCommand(e,t,r)}finally{this.__isSilentChange=!1}}__execCustomCommands(e,t,r,...i){e=e.toLowerCase();const o=this.commands.get(e);if(void 0!==o){let n;return o.forEach(o=>{let s;s=(0,a.isFunction)(o)?o:o.exec;const l=s.call(this,e,t,r,...i);void 0!==l&&(n=l)}),n}}lock(e="any"){return!!super.lock(e)&&(this.__selectionLocked=this.s.save(),this.s.clear(),this.editor.classList.add("jodit_lock"),this.e.fire("lock",!0),!0)}unlock(){return!!super.unlock()&&(this.editor.classList.remove("jodit_lock"),this.__selectionLocked&&this.s.restore(),this.e.fire("lock",!1),!0)}getMode(){return this.mode}isEditorMode(){return this.getRealMode()===o.MODE_WYSIWYG}getRealMode(){if(this.getMode()!==o.MODE_SPLIT)return this.getMode();const e=this.od.activeElement;return e&&(e===this.iframe||u.Dom.isOrContains(this.editor,e)||u.Dom.isOrContains(this.toolbar.container,e))?o.MODE_WYSIWYG:o.MODE_SOURCE}setMode(e){const t=this.getMode(),r={mode:parseInt(""+e,10)},i=["jodit-wysiwyg_mode","jodit-source__mode","jodit_split_mode"];!1!==this.e.fire("beforeSetMode",r)&&(this.__mode=[o.MODE_SOURCE,o.MODE_WYSIWYG,o.MODE_SPLIT].includes(r.mode)?r.mode:o.MODE_WYSIWYG,this.o.saveModeInStorage&&this.storage.set("jodit_default_mode",this.mode),i.forEach(e=>{this.container.classList.remove(e)}),this.container.classList.add(i[this.mode-1]),t!==this.getMode()&&this.e.fire("afterSetMode"))}toggleMode(){let e=this.getMode();[o.MODE_SOURCE,o.MODE_WYSIWYG,this.o.useSplitMode?o.MODE_SPLIT:9].includes(e+1)?e+=1:e=o.MODE_WYSIWYG,this.setMode(e)}setDisabled(e){this.o.disabled=e;const t=this.__wasReadOnly;this.setReadOnly(e||t),this.__wasReadOnly=t,this.editor&&(this.editor.setAttribute("aria-disabled",""+e),this.container.classList.toggle("jodit_disabled",e),this.e.fire("disabled",e))}getDisabled(){return this.o.disabled}setReadOnly(e){this.__wasReadOnly!==e&&(this.__wasReadOnly=e,this.o.readonly=e,e?this.editor&&this.editor.removeAttribute("contenteditable"):this.editor&&this.editor.setAttribute("contenteditable","true"),this.e&&this.e.fire("readonly",e))}getReadOnly(){return this.o.readonly}focus(){this.getMode()!==o.MODE_SOURCE&&this.s.focus()}get isFocused(){return this.s.isFocused()}beforeInitHook(){}afterInitHook(){}initOptions(e){this.options=(0,a.ConfigProto)(e||{},d.T.defaultOptions)}initOwners(){this.editorWindow=this.o.ownerWindow,this.ownerWindow=this.o.ownerWindow}addPlace(e,t){const r=(0,a.resolveElement)(e,this.o.shadowRoot||this.od);this.attachEvents(t),r.attributes&&(0,a.toArray)(r.attributes).forEach(e=>{const r=e.name;let i=e.value;void 0===d.T.defaultOptions[r]||t&&void 0!==t[r]||(-1!==["readonly","disabled"].indexOf(r)&&(i=""===i||"true"===i),/^[0-9]+(\.)?([0-9]+)?$/.test(""+i)&&(i=Number(i)),this.options[r]=i)});let i=this.c.div("jodit-container");i.classList.add("jodit"),i.classList.add("jodit-container"),i.classList.add("jodit_theme_"+(this.o.theme||"default")),m(this.o.className,i),this.o.containerStyle&&(0,a.css)(i,this.o.containerStyle);const{styleValues:o}=this.o;Object.keys(o).forEach(e=>{const t=(0,a.kebabCase)(e);i.style.setProperty("--jd-"+t,o[e])}),i.setAttribute("contenteditable","false");let n=null;this.o.inline&&(-1===["TEXTAREA","INPUT"].indexOf(r.nodeName)&&(i=r,r.setAttribute(f,""+r.className),n=i.innerHTML,i.innerHTML=""),i.classList.add("jodit_inline"),i.classList.add("jodit-container")),r!==i&&(r.style.display&&r.setAttribute(p,r.style.display),r.style.display="none");const s=this.c.div("jodit-workplace",{contenteditable:!1});i.appendChild(s),r.parentNode&&r!==i&&r.parentNode.insertBefore(i,r),Object.defineProperty(r,"component",{enumerable:!1,configurable:!0,value:this});const l=this.c.div("jodit-wysiwyg",{contenteditable:!0,"aria-disabled":!1,tabindex:this.o.tabIndex});s.appendChild(l);const c={editor:l,element:r,container:i,workplace:s,statusbar:new u.StatusBar(this,i),options:this.isReady?(0,a.ConfigProto)(t||{},d.T.defaultOptions):this.options,history:new u.History(this),editorWindow:this.ow};this.__elementToPlace.set(l,c),this.setCurrentPlace(c),this.places.push(c),this.setNativeEditorValue(this.getElementValue());const h=this.__initEditor(n),g=this.options;return(0,a.callPromise)(h,()=>{g.enableDragAndDropFileToEditor&&g.uploader&&(g.uploader.url||g.uploader.insertImageAsBase64URI)&&this.uploader.bind(this.editor),this.__elementToPlace.get(this.editor)||this.__elementToPlace.set(this.editor,c),this.e.fire("afterAddPlace",c)})}addDisclaimer(e){this.workplace.appendChild(e)}setCurrentPlace(e){this.currentPlace!==e&&(this.isEditorMode()||this.setMode(o.MODE_WYSIWYG),this.currentPlace=e,this.buildToolbar(),this.isReady&&this.e.fire("changePlace",e))}__initEditor(e){const t=this.__createEditor();return(0,a.callPromise)(t,()=>{if(this.isInDestruct)return;if(this.element!==this.container){const e=this.getElementValue();e!==this.getEditorValue()&&this.setEditorValue(e)}else null!=e&&this.setEditorValue(e);let t=this.o.defaultMode;if(this.o.saveModeInStorage){const e=this.storage.get("jodit_default_mode");"string"==typeof e&&(t=parseInt(e,10))}this.setMode(t),this.o.readonly&&(this.__wasReadOnly=!1,this.setReadOnly(!0)),this.o.disabled&&this.setDisabled(!0);try{this.ed.execCommand("defaultParagraphSeparator",!1,this.o.enter.toLowerCase())}catch(e){}})}__createEditor(){const e=this.editor,t=this.e.fire("createEditor",this);return(0,a.callPromise)(t,()=>{this.isInDestruct||((!1===t||(0,a.isPromise)(t))&&u.Dom.safeRemove(e),m(this.o.editorClassName,this.editor),this.o.style&&(0,a.css)(this.editor,this.o.style),this.e.on("synchro",()=>{this.setEditorValue()}).on("focus",()=>{this.editorIsActive=!0}).on("blur",()=>this.editorIsActive=!1),this.__prepareWYSIWYGEditor(),this.o.triggerChangeEvent&&this.e.on("change",this.async.debounce(()=>{this.e&&this.e.fire(this.element,"change")},this.defaultTimeout)))})}__prepareWYSIWYGEditor(){const{editor:e}=this;if(this.o.direction){const e="rtl"===this.o.direction.toLowerCase()?"rtl":"ltr";this.editor.style.direction=e,this.editor.setAttribute("dir",e),this.container.style.direction=e,this.container.setAttribute("dir",e),this.toolbar.setDirection(e)}this.e.on(e,"mousedown touchstart focus",()=>{const t=this.__elementToPlace.get(e);t&&this.setCurrentPlace(t)}).on(e,"compositionend",this.synchronizeValues).on(e,"selectionchange selectionstart keydown keyup input keypress dblclick mousedown mouseup click copy cut dragstart drop dragover paste resize touchstart touchend focus blur",e=>{if(!this.o.readonly&&!this.__isSilentChange&&!(e instanceof this.ew.KeyboardEvent&&e.isComposing)&&this.e&&this.e.fire){if(!1===this.e.fire(e.type,e))return!1;this.synchronizeValues()}})}fetch(e,t){const r=new l.d({url:e,...t},this.o.defaultAjaxOptions),i=()=>{this.e.off("beforeDestruct",i),this.progressbar.progress(100).hide(),r.destruct()};this.e.one("beforeDestruct",i),this.progressbar.show().progress(30);const o=r.send();return o.finally(i).catch(()=>null),o}destruct(){var e,t;if(this.isInDestruct)return;this.setStatus(u.STATUSES.beforeDestruct),this.__elementToPlace.clear(),null===(e=(0,n.cached)(this,"storage"))||void 0===e||e.clear(),null===(t=(0,n.cached)(this,"buffer"))||void 0===t||t.clear(),this.commands.clear(),this.__selectionLocked=null,this.e.off(this.ow,"resize"),this.e.off(this.ow),this.e.off(this.od),this.e.off(this.od.body);const r=this.editor?this.getEditorValue():"";this.places.forEach(({container:e,workplace:t,statusbar:i,element:o,iframe:n,editor:s,history:l})=>{if(o){if(o!==e)if(o.hasAttribute(p)){const e=(0,a.attr)(o,p);e&&(o.style.display=e,o.removeAttribute(p))}else o.style.display="";else o.hasAttribute(f)&&(o.className=(0,a.attr)(o,f)||"",o.removeAttribute(f));o.hasAttribute("style")&&!(0,a.attr)(o,"style")&&o.removeAttribute("style"),i.destruct(),this.e.off(e),this.e.off(o),this.e.off(s),u.Dom.safeRemove(t),u.Dom.safeRemove(s),e!==o&&u.Dom.safeRemove(e),Object.defineProperty(o,"component",{enumerable:!1,configurable:!0,value:null}),u.Dom.safeRemove(n),e===o&&(o.innerHTML=r),l.destruct()}}),this.places.length=0,this.currentPlace={},delete s.VF[this.id],super.destruct()}constructor(e,t){super(t,!0),this.isJodit=!0,this.commands=new Map,this.__selectionLocked=null,this.__wasReadOnly=!1,this.editorIsActive=!1,this.__mode=o.MODE_WYSIWYG,this.__callChangeCount=0,this.__isSilentChange=!1,this.__elementToPlace=new Map;try{const t=(0,a.resolveElement)(e,this.o.shadowRoot||this.od);if(i.isJoditAssigned(t))return t.component}catch(e){if(!o.IS_PROD)throw e;throw this.destruct(),e}this.setStatus(u.STATUSES.beforeInit),this.id=(0,a.attr)((0,a.resolveElement)(e,this.o.shadowRoot||this.od),"id")||""+(new Date).getTime(),s.VF[this.id]=this,this.attachEvents(t),this.e.on(this.ow,"resize",()=>{this.e&&this.e.fire("resize")}),this.e.on("prepareWYSIWYGEditor",this.__prepareWYSIWYGEditor),this.selection=new u.Selection(this);const r=this.beforeInitHook();(0,a.callPromise)(r,()=>{if(this.isInDestruct)return;this.e.fire("beforeInit",this),s.fg.__init(this),this.e.fire("afterPluginSystemInit",this),this.e.on("changePlace",()=>{this.setReadOnly(this.o.readonly),this.setDisabled(this.o.disabled)}),this.places.length=0;const r=this.addPlace(e,t);s.VF[this.id]=this,(0,a.callPromise)(r,()=>{this.isInDestruct||(this.e&&this.e.fire("afterInit",this),(0,a.callPromise)(this.afterInitHook()),this.setStatus(u.STATUSES.ready),this.e.fire("afterConstructor",this))})})}};function m(e,t){e&&e.split(/\s+/).forEach(e=>t.classList.add(e))}Jodit.fatMode=o.FAT_MODE,Jodit.plugins=s.fg,Jodit.modules=s.av,Jodit.ns=s.av,Jodit.decorators={},Jodit.constants=o,Jodit.instances=s.VF,Jodit.lang=o.lang,Jodit.core={Plugin:u.Plugin},h([n.cache],Jodit.prototype,"createInside",null),h([n.cache],Jodit.prototype,"message",null),h([n.cache],Jodit.prototype,"s",null),h([n.cache],Jodit.prototype,"uploader",null),h([n.cache],Jodit.prototype,"filebrowser",null),h([(0,n.throttle)()],Jodit.prototype,"synchronizeValues",null),h([(0,n.watch)(":internalChange")],Jodit.prototype,"updateElementValue",null),h([n.autobind],Jodit.prototype,"__prepareWYSIWYGEditor",null),Jodit=i=h([(0,n.derive)(c.z)],Jodit)},2525(e,t,r){r.d(t,{$6(){return n.$6},F0(){return n.F0},XV(){return o.X},Yh(){return i.Y},cY(){return n.cY},nE(){return n.nE},tS(){return n.tS}});var i=r(19070),o=r(86327),n=r(8959)},2748(e,t,r){r.d(t,{J(){return l}});var i=r(82758),o=r(4510),n=r(27613),s=r(49055),a=r(43555);class l{static detach(e){for(;e&&e.firstChild;)e.removeChild(e.firstChild)}static wrapNextInline(e,t,r){let i;const o=e;let n=e;r.s.save();let s=!1;do{s=!1,i=n.nextSibling,!i||l.isBlock(i)||l.isTag(i,"br")||(s=!0,n=i)}while(s);return l.__wrapElements(t,r,o,n)}static __wrapElements(e,t,r,i){const o=(0,n.Kg)(e)?t.createInside.element(e):e;r.parentNode&&r.parentNode.insertBefore(o,r);let s=r;for(;s&&(s=r.nextSibling,o.appendChild(r),r!==i&&s);)r=s;return t.s.restore(),o}static wrapInline(e,t,r){let i,o=e,n=e;r.s.save();let s=!1;do{s=!1,i=o.previousSibling,i&&!l.isBlock(i)&&(s=!0,o=i)}while(s);do{s=!1,i=n.nextSibling,i&&!l.isBlock(i)&&(s=!0,n=i)}while(s);return l.__wrapElements(t,r,o,n)}static wrap(e,t,r){const i=(0,n.Kg)(t)?r.element(t):t;if(l.isNode(e)){if(!e.parentNode)throw(0,a.z3)("Element should be in DOM");e.parentNode.insertBefore(i,e),i.appendChild(e)}else{const t=e.extractContents();e.insertNode(i),i.appendChild(t)}return i}static unwrap(e){const t=e.parentNode;if(t){for(;e.firstChild;)t.insertBefore(e.firstChild,e);l.safeRemove(e)}}static between(e,t,r){let i=e;for(;i&&i!==t&&(e===i||!r(i));){let e=i.firstChild||i.nextSibling;if(!e){for(;i&&!i.nextSibling;)i=i.parentNode;e=null==i?void 0:i.nextSibling}i=e}}static replace(e,t,r,i=!1,s=!1){let c;if((0,n.AH)(t)&&((0,a.vA)(r,"Need create instance for new tag"),t=r.fromHTML(t)),(0,n.Kg)(t)?((0,a.vA)(r,"Need create instance for new tag"),c=r.element(t)):c=t,!s)for(;e.firstChild;)c.appendChild(e.firstChild);return i&&l.isElement(e)&&l.isElement(c)&&(0,o.$)(e.attributes).forEach(e=>{c.setAttribute(e.name,e.value)}),e.parentNode&&e.parentNode.replaceChild(c,e),c}static isEmptyTextNode(e){return l.isText(e)&&(!e.nodeValue||0===e.nodeValue.replace(i.INVISIBLE_SPACE_REG_EXP(),"").trim().length)}static isEmptyContent(e){return l.each(e,e=>l.isEmptyTextNode(e))}static isContentEditable(e,t){return l.isNode(e)&&!l.closest(e,e=>l.isElement(e)&&"false"===e.getAttribute("contenteditable"),t)}static isEmpty(e,t=i.NO_EMPTY_TAGS){if(!e)return!0;let r;r=(0,n.Tn)(t)?t:e=>t.has(e.nodeName.toLowerCase());const o=e=>null==e.nodeValue||0===(0,s.Bq)(e.nodeValue).length;return l.isText(e)?o(e):!(l.isElement(e)&&r(e))&&l.each(e,e=>{if(l.isText(e)&&!o(e)||l.isElement(e)&&r(e))return!1})}static isNode(e){return!!(e&&(0,n.Kg)(e.nodeName)&&"number"==typeof e.nodeType&&e.childNodes&&(0,n.Tn)(e.appendChild))}static isCell(e){return l.isNode(e)&&("TD"===e.nodeName||"TH"===e.nodeName)}static isList(e){return l.isTag(e,i.LIST_TAGS)}static isLeaf(e){return l.isTag(e,"li")}static isImage(e){return l.isNode(e)&&/^(img|svg|picture|canvas)$/i.test(e.nodeName)}static isBlock(e){return!(0,n.Rd)(e)&&"object"==typeof e&&l.isNode(e)&&i.IS_BLOCK.test(e.nodeName)}static isText(e){return!(!e||e.nodeType!==Node.TEXT_NODE)}static isComment(e){return!(!e||e.nodeType!==Node.COMMENT_NODE)}static isElement(e){var t;return!!l.isNode(e)&&!(!(null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView)||e.nodeType!==Node.ELEMENT_NODE)}static isFragment(e){var t;return!!l.isNode(e)&&!(!(null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView)||e.nodeType!==Node.DOCUMENT_FRAGMENT_NODE)}static isHTMLElement(e){var t;if(!l.isNode(e))return!1;const r=null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(r&&e instanceof r.HTMLElement)}static isInlineBlock(e){return l.isElement(e)&&!/^(BR|HR)$/i.test(e.tagName)&&-1!==["inline","inline-block"].indexOf(""+(0,a.AH)(e,"display"))}static canSplitBlock(e){return!(0,n.Rd)(e)&&l.isHTMLElement(e)&&l.isBlock(e)&&!/^(TD|TH|CAPTION|FORM)$/.test(e.nodeName)&&void 0!==e.style&&!/^(fixed|absolute)/i.test(e.style.position)}static last(e,t){let r=null==e?void 0:e.lastChild;if(!r)return null;do{if(t(r))return r;let i=r.lastChild;if(i||(i=r.previousSibling),!i&&r.parentNode!==e){do{r=r.parentNode}while(r&&!(null==r?void 0:r.previousSibling)&&r.parentNode!==e);i=null==r?void 0:r.previousSibling}r=i}while(r);return null}static prev(e,t,r,i=!0){return l.find(e,t,r,!1,i)}static next(e,t,r,i=!0){return l.find(e,t,r,!0,i)}static prevWithClass(e,t){return l.prev(e,e=>l.isElement(e)&&e.classList.contains(t),e.parentNode)}static nextWithClass(e,t){return l.next(e,e=>l.isElement(e)&&e.classList.contains(t),e.parentNode)}static find(e,t,r,i=!0,o=!0){const n=this.nextGen(e,r,i,o);let s=n.next();for(;!s.done;){if(t(s.value))return s.value;s=n.next()}return null}static*nextGen(e,t,r=!0,i=!0){const o=[];let n=e;do{let t=r?n.nextSibling:n.previousSibling;for(;t;)o.unshift(t),t=r?t.nextSibling:t.previousSibling;yield*this.runInStack(e,o,r,i),n=n.parentNode}while(n&&n!==t);return null}static each(e,t,r=!0){const i=this.eachGen(e,r);let o=i.next();for(;!o.done;){if(!1===t(o.value))return!1;o=i.next()}return!0}static eachGen(e,t=!0){return this.runInStack(e,[e],t)}static*runInStack(e,t,r,i=!0){for(;t.length;){const o=t.pop();if(i){let e=r?o.lastChild:o.firstChild;for(;e;)t.push(e),e=r?e.previousSibling:e.nextSibling}e!==o&&(yield o)}}static findWithCurrent(e,t,r,i="nextSibling",o="firstChild"){let n=e;do{if(t(n))return n||null;if(o&&n&&n[o]){const e=l.findWithCurrent(n[o],t,n,i,o);if(e)return e}for(;n&&!n[i]&&n!==r;)n=n.parentNode;n&&n[i]&&n!==r&&(n=n[i])}while(n&&n!==r);return null}static findSibling(e,t=!0,r=e=>!l.isEmptyTextNode(e)){let i=l.sibling(e,t);for(;i&&!r(i);)i=l.sibling(i,t);return i&&r(i)?i:null}static findNotEmptySibling(e,t){return l.findSibling(e,t,e=>{var t;return!l.isEmptyTextNode(e)&&!!(!l.isText(e)||(null===(t=e.nodeValue)||void 0===t?void 0:t.length)&&(0,s.Bq)(e.nodeValue))})}static findNotEmptyNeighbor(e,t,r){return(0,a.T1)(t?l.prev:l.next,e,e=>!(!e||(l.isText(e)||l.isComment(e))&&!(0,s.Bq)((null==e?void 0:e.nodeValue)||"").length),r)}static sibling(e,t){return t?e.previousSibling:e.nextSibling}static up(e,t,r,i=!1){let o=e;if(!o)return null;do{if(t(o))return o;if(o===r||!o.parentNode)break;o=o.parentNode}while(o&&o!==r);return o===r&&i&&t(o)?o:null}static closest(e,t,r){let i;const o=e=>e.toLowerCase();if((0,n.Tn)(t))i=t;else if((0,n.cy)(t)||(0,n.vM)(t)){const e=(0,n.vM)(t)?t:new Set(t.map(o));i=t=>!(!t||!e.has(o(t.nodeName)))}else i=e=>!(!e||o(t)!==o(e.nodeName));return l.up(e,i,r)}static furthest(e,t,r){let i=null,o=null==e?void 0:e.parentElement;for(;o&&o!==r;)t(o)&&(i=o),o=null==o?void 0:o.parentElement;return i}static appendChildFirst(e,t){const r=e.firstChild;r?r!==t&&e.insertBefore(t,r):e.appendChild(t)}static after(e,t){const{parentNode:r}=e;r&&(r.lastChild===e?r.appendChild(t):r.insertBefore(t,e.nextSibling))}static before(e,t){const{parentNode:r}=e;r&&r.insertBefore(t,e)}static prepend(e,t){e.insertBefore(t,e.firstChild)}static append(e,t){(0,n.cy)(t)?t.forEach(t=>{this.append(e,t)}):e.appendChild(t)}static moveContent(e,t,r=!1,n=()=>!0){const s=(e.ownerDocument||i.globalDocument).createDocumentFragment();(0,o.$)(e.childNodes).filter(e=>!!n(e)||(l.safeRemove(e),!1)).forEach(e=>{s.appendChild(e)}),r&&t.firstChild?t.insertBefore(s,t.firstChild):t.appendChild(s)}static isOrContains(e,t,r=!1){return e===t?!r:!!(t&&e&&this.up(t,t=>t===e,e,!0))}static safeRemove(...e){e.forEach(e=>l.isNode(e)&&e.parentNode&&e.parentNode.removeChild(e))}static safeInsertNode(e,t){e.collapsed||e.deleteContents();const r=l.isFragment(t)?t.lastChild:t;e.startContainer===e.endContainer&&e.collapsed&&l.isTag(e.startContainer,i.INSEPARABLE_TAGS)?l.after(e.startContainer,t):(e.insertNode(t),r&&e.setStartBefore(r)),e.collapse(!0),[t.nextSibling,t.previousSibling].forEach(e=>l.isText(e)&&!e.nodeValue&&l.safeRemove(e))}static hide(e){e&&((0,a.mv)(e,"__old_display",e.style.display),e.style.display="none")}static show(e){if(!e)return;const t=(0,a.mv)(e,"__old_display");"none"===e.style.display&&(e.style.display=t||"")}static isTag(e,t){if(!this.isElement(e))return!1;const r=e.tagName.toLowerCase(),i=e.tagName.toUpperCase();if(t instanceof Set)return t.has(r)||t.has(i);if(Array.isArray(t))throw new TypeError("Dom.isTag does not support array");return r===t||i===t}static markTemporary(e,t){return t&&(0,a.CF)(e,t),(0,a.CF)(e,i.TEMP_ATTR,!0),e}static isTemporary(e){return!!l.isElement(e)&&((0,n.rg)(e)||"true"===(0,a.CF)(e,i.TEMP_ATTR))}static replaceTemporaryFromString(e){return e.replace(/<([a-z]+)[^>]+data-jodit-temp[^>]+>(.+?)<\/\1>/gi,"$2")}static temporaryList(e){return(0,a.$$)(`[${i.TEMP_ATTR}]`,e)}constructor(){throw Error("Dom is static module")}}},2969(e,t,r){r.d(t,{R(){return l}});var i=r(90129),o=r(39804),n=r(82758),s=r(22732);r(38837);const a=new Set(n.INSEPARABLE_TAGS);class l{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 a.has(this.name)}get length(){return this.children.length}constructor(e,t){this.parent=t,this.name=e.nodeName.toLowerCase(),this.type=e.nodeType,this.attributes=(e=>{const t={};if(s.J.isElement(e))for(let r=0,i=e.attributes;i.length>r;r+=1)t[i[r].name]=i[r].value;else t.nodeValue=e.nodeValue;return t})(e),this.style=new o.O(this.attributes.style),this.children=[],e.childNodes.forEach(e=>this.children.push(l.make(e,this)))}static make(e,t=null){return new l(e,t)}wrap(e){const t=l.make(document.createElement(e),this.parent),r=this.parent.children.indexOf(this)??-1;return-1===r?this.parent.append(t):this.parent.children[r]=t,t.append(this),t}append(e){return e.remove(),this.children.push(e),e.parent=this,this}get previousElement(){if(!this.parent)return null;const{children:e}=this.parent,t=e.indexOf(this);if(-1!==t)for(let r=t-1;r>=0;r-=1)if(e[r].isElement)return e[r];return null}get lastElement(){const{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;const{children:t}=this.parent,r=t.indexOf(this);return-1!==r&&t[r+(e?1:-1)]?t[r+(e?1:-1)]:null}forEach(e,t=!1){const r=[...this.children];for(const i of r){if(!1===e(i))return!1;if(t&&!1===i.forEach(e,!0))return!1}}find(e,t=!0){const r=[];return this.forEach(t=>{e(t)&&r.push(t)},t),r}map(e){return this.children.map(e)}remove(){const e=this.parent?.children.indexOf(this);return null!=e&&-1!==e&&this.parent?.children.splice(e,1),this}textBetween(e,t){let r=!1;const o=[];return this.forEach(n=>{if(!r&&e(n)&&(r=!0),r&&n.isText&&o.push((0,i.q)(n)),r&&t(n))return!1},!0),o.join("")}}},3115(e,t,r){var i=r(37133),o=r(2748),n=r(580),s=r(37790),a=r(50911),l=(r(46614),r(2303)),c=r(54076),d=r(90492),u=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};class h extends a.k{afterInit(e){const{commands:t}=e.o.speechRecognize;t&&((0,n.JW)(d),(0,s.HP)(t,!1).forEach(r=>{r.split("|").forEach(i=>{i=i.trim().toLowerCase(),this._commandToWord[i]=t[r];const o=e.i18n(i);o!==i&&o.split("|").forEach(e=>{this._commandToWord[e.trim().toLowerCase()]=t[r].trim()})})}))}beforeDestruct(e){o.J.safeRemove(this.messagePopup)}onSpeechRecognizeProgressResult(e){this.messagePopup||(this.messagePopup=this.j.create.div("jodit-speech-recognize__popup")),this.j.workplace.appendChild(this.messagePopup),this.j.async.clearTimeout(this.__hidePopupTimeout),this.__hidePopupTimeout=this.j.async.setTimeout(()=>{o.J.safeRemove(this.messagePopup)},1e3),this.messagePopup.innerText=e+"|"}onSpeechRecognizeResult(e){this.j.async.clearTimeout(this.__hidePopupTimeout),o.J.safeRemove(this.messagePopup);const{j:t}=this,{s:r}=t;if(!this._checkCommand(e)){const{range:i}=r,n=r.current();if(r.isCollapsed()&&o.J.isText(n)&&o.J.isOrContains(t.editor,n)&&n.nodeValue){const o=n.nodeValue;n.nodeValue=o+(/[\u00A0 ]\uFEFF*$/.test(o)?"":" ")+e,i.setStartAfter(n),r.selectRange(i),t.synchronizeValues()}else r.insertHTML(e)}}_checkCommand(e){return e=e.toLowerCase().replace(/\./g,""),!!this._commandToWord[e]&&((0,c.F)(this.j,this._commandToWord[e]),!0)}constructor(){super(...arguments),this.buttons=[{group:"state",name:"speechRecognize"}],this._commandToWord={}}}u([(0,i.w)(":speechRecognizeProgressResult")],h.prototype,"onSpeechRecognizeProgressResult",null),u([(0,i.w)(":speechRecognizeResult")],h.prototype,"onSpeechRecognizeResult",null),l.x.plugins.add("speech-recognize",h)},3215(e,t,r){var i=r(65478),o=r(2748),n=r(580),s=r(21537),a=r(20356),l=r(62843),c=(r(97536),r(59436)),d=r(53636),u=r(10263),h=r(94575),p=r(34755),f=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};class m extends a.k{get form(){return new c.l(this.j,this.state,this.activeTabState,{openImageEditor:()=>(0,d.v)(this.j,this.state),openImagePopup:e=>(0,u.q)(this.j,this.dialog,this.state,e)})}get dialog(){const{j:e}=this,t=e.dlg({minWidth:Math.min(400,screen.width),minHeight:590,buttons:["fullsize","dialog.close"]}),r=this.__buttons;return r.check.onAction(()=>{(0,p.j)(e,this.state,this.state.sourceImage),e.synchronizeValues(),t.close()}),r.remove.onAction(()=>{e.s.removeNode(this.state.sourceImage),t.close()}),r.cancel.onAction(()=>{t.close()}),t.setHeader(e.i18n("Image properties")),t.setContent(this.form),t.setFooter([[r.cancel,r.remove],r.check]),e.e.on(t,"afterClose",()=>{this.state.image.parentNode&&e.o.image.selectImageAfterClose&&e.s.select(this.state.sourceImage)}),t.setSize(e.o.image.dialogWidth),(0,s.markOwner)(e,t.container),t}get __buttons(){const{j:e}=this;return{check:(0,l.$n)(e,"ok","Apply","primary"),remove:(0,l.$n)(e,"bin","Delete"),cancel:(0,l.$n)(e,"cancel","Cancel")}}open(){return this.activeTabState.activeTab="Image",this.__lock(),this.dialog.open().setModal(!0).setPosition(),this.async.promise((e,t)=>(0,h.U)(this.j,this.state).then(e,t)).catch(e=>{(0,s.isAbortError)(e)||this.dialog.message.error(e.message)}).finally(()=>this.__unlock()),!1}__lock(){this.dialog.lock(),this.form.setMod("lock",!0),Object.values(this.__buttons).forEach(e=>e.state.disabled=!0)}__unlock(){this.dialog.unlock(),this.form.setMod("lock",!1),Object.values(this.__buttons).forEach(e=>e.state.disabled=!1)}afterInit(e){const t=this;e.e.on("afterConstructor changePlace",()=>{e.e.off(e.editor,".imageproperties").on(e.editor,"dblclick.imageproperties",r=>{const i=r.target;if(o.J.isTag(i,"img"))if(e.o.image.openOnDblClick){if(!1===this.j.e.fire("openOnDblClick",i))return;t.state.sourceImage=i,t.state.image=i.cloneNode(!0),e.o.readonly||(r.stopImmediatePropagation(),r.preventDefault(),t.open())}else r.stopImmediatePropagation(),e.s.select(i)})}).on("openImageProperties.imageproperties",e=>{t.state.sourceImage=e,this.state.image=e.cloneNode(!0),this.open()})}async onStateValuesImageSrcChange(){const{image:e,values:t}=this.state;if(e.src)try{this.__lock(),await e.decode(),this.state.sizeIsLocked&&(0,s.isNumeric)(t.imageWidth)&&(t.imageHeight=Math.round(parseFloat(""+t.imageWidth)/this.state.ratio)),this.j.e.fire("updateImageProperties.imageproperties",e)}catch(e){this.j.alert(e.message)}finally{this.__unlock()}}beforeDestruct(e){var t,r,o;Object.values(null!==(t=(0,i.cached)(this,"__buttons"))&&void 0!==t?t:{}).forEach(e=>e.destruct()),null===(r=(0,i.cached)(this,"dialog"))||void 0===r||r.destruct(),null===(o=(0,i.cached)(this,"form"))||void 0===o||o.destruct(),e.e.off(e.editor,".imageproperties").off(".imageproperties")}constructor(){super(...arguments),this.state={image:new Image,sourceImage:new Image,get ratio(){const{naturalWidth:e,naturalHeight:t}=this.image;return e/t||1},sizeIsLocked:!0,marginIsLocked:!0,values:{style:"",imageSrc:"",borderRadius:0,imageTitle:"",imageAlt:"",imageLink:"",imageLinkOpenInNewTab:!1,imageWidth:0,imageHeight:0,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0,classes:"",id:"",align:""}},this.activeTabState={activeTab:"Image"}}}f([i.cache],m.prototype,"form",null),f([i.cache],m.prototype,"dialog",null),f([i.cache],m.prototype,"__buttons",null),f([(0,i.watch)("state.image")],m.prototype,"onStateValuesImageSrcChange",null),n.fg.add("imageProperties",m)},3703(e,t,r){r.d(t,{h(){return a}});var i=r(68345),o=r(29807),n=r(72430),s=r(70799);function a(e,t,r){if(!(0,s.K)(e)||!e.length)return;const a=e.split(".");let l=r,c=a[0];for(let e=0;a.length-1>e;e+=1)c=a[e],(0,i.c)(l[c])||(0,n.Q)(l[c])||(l[c]=(0,o.k)(a[e+1])?[]:{}),l=l[c];l&&(l[a[a.length-1]]=t)}},3760(e,t,r){r.d(t,{b$(){return a},iy(){return c},n8(){return l}});var i=r(29807),o=r(86068),n=r(35278),s=r(12475);const a=/^(left|top|bottom|right|width|min|max|height|margin|padding|fontsize|font-size)/i;function l(e,t){return!(0,o.R)(t)&&a.test(e)&&(0,i.k)(""+t)?parseInt(""+t,10)+"px":t}function c(e,t){if("font-weight"===(0,s.k)(e)){switch((""+t).toLowerCase()){case"700":case"bold":return 700;case"400":case"normal":return 400;case"900":case"heavy":return 900}return(0,i.k)(t)?Number(t):t}return/color/i.test(e)&&/^rgb/i.test(""+t)&&(0,n.s)(""+t)||t}},3827(e,t,r){r.d(t,{Xr(){return s.X},bk(){return i.b},d$(){return s.d},h5(){return o.h},sH(){return n.s}});var i=r(98220),o=r(72757),n=r(73026),s=r(15738)},4012(e,t,r){r.d(t,{u(){return l}});var i=r(8884),o=r(78213),n=r(580),s=r(21537);const a=new Map;class l{get componentName(){return this.__componentName||(this.__componentName="jodit-"+(0,s.kebabCase)(((0,s.isFunction)(this.className)?this.className():"")||(0,s.getClassName)(this))),this.__componentName}getFullElName(e,t,r){const i=[this.componentName];return e&&(e=e.replace(/[^a-z0-9-]/gi,"-"),i.push("__"+e)),t&&(i.push("_",t),i.push("_",(0,s.isVoid)(r)?"true":""+r)),i.join("")}get ownerDocument(){return this.ow.document}get od(){return this.ownerDocument}get ow(){return this.ownerWindow}get(e,t){return(0,s.get)(e,t||this)}get isReady(){return this.componentStatus===o.f.ready}get isDestructed(){return this.componentStatus===o.f.destructed}get isInDestruct(){return o.f.beforeDestruct===this.componentStatus||o.f.destructed===this.componentStatus}bindDestruct(e){return e.hookStatus(o.f.beforeDestruct,()=>!this.isInDestruct&&this.destruct()),this}destruct(){this.setStatus(o.f.destructed),this.async&&(this.async.destruct(),this.async=void 0),a.get(this)&&a.delete(this),this.ownerWindow=void 0}get componentStatus(){return this.__componentStatus}set componentStatus(e){this.setStatus(e)}setStatus(e){return this.setStatusComponent(e,this)}setStatusComponent(e,t){if(e===this.__componentStatus)return;t===this&&(this.__componentStatus=e);const r=Object.getPrototypeOf(this);r&&(0,s.isFunction)(r.setStatusComponent)&&r.setStatusComponent(e,t);const i=a.get(this),o=null==i?void 0:i[e];o&&o.length&&o.forEach(e=>e(t))}hookStatus(e,t){let r=a.get(this);r||(r={},a.set(this,r)),r[e]||(r[e]=[]),r[e].push(t)}static isInstanceOf(e,t){return e instanceof t}constructor(){this.async=new i.j,this.ownerWindow=window,this.__componentStatus=o.f.beforeInit,this.uid="jodit-uid-"+(0,n.w9)()}}l.STATUSES=o.f},4038(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z"/></svg> '},4104(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M789 559l-170 450q33 0 136.5 2t160.5 2q19 0 57-2-87-253-184-452zm-725 1105l2-79q23-7 56-12.5t57-10.5 49.5-14.5 44.5-29 31-50.5l237-616 280-724h128q8 14 11 21l205 480q33 78 106 257.5t114 274.5q15 34 58 144.5t72 168.5q20 45 35 57 19 15 88 29.5t84 20.5q6 38 6 57 0 4-.5 13t-.5 13q-63 0-190-8t-191-8q-76 0-215 7t-178 8q0-43 4-78l131-28q1 0 12.5-2.5t15.5-3.5 14.5-4.5 15-6.5 11-8 9-11 2.5-14q0-16-31-96.5t-72-177.5-42-100l-450-2q-26 58-76.5 195.5t-50.5 162.5q0 22 14 37.5t43.5 24.5 48.5 13.5 57 8.5 41 4q1 19 1 58 0 9-2 27-58 0-174.5-10t-174.5-10q-8 0-26.5 4t-21.5 4q-80 14-188 14z"/> </svg> '},4242(e,t,r){r.d(t,{n(){return s}});var i=r(87325),o=r(10830),n=r(80256);let s=class e extends n.t{className(){return"UIFileInput"}createContainer(e){this.button=new o.lD(this.j,{tooltip:e.tooltip,icon:{name:"plus"}});const{container:t}=this.button;this.nativeInput||(this.nativeInput=this.createNativeInput(e));const{nativeInput:r}=this;return r.classList.add(this.getFullElName("input")),t.classList.add(this.componentName),t.appendChild(r),t}createNativeInput(e){return this.j.create.fromHTML(`<input\n\t\t\ttype="file"\n\t\t\taccept="${e.onlyImages?"image/*":"*"}"\n\t\t\ttabindex="-1"\n\t\t\tdir="auto"\n\t\t\tmultiple=""\n\t\t/>`)}constructor(e,t){super(e,{type:"file",...t}),this.state={...n.t.defaultState,type:"file",onlyImages:!0}}};s=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([i.s],s)},4510(e,t,r){r.d(t,{$(){return n}});var i=r(70722),o=r(58844);const n=(...e)=>{var t;return((0,i.a)(Array.from)?Array.from:null!==(t=(0,o.c)("Array.from"))&&void 0!==t?t:Array.from).apply(Array,e)}},4604(e,t,r){var i=r(12153),o=r(6441),n=r(6342);o.T.prototype.addNewLine=!0,o.T.prototype.addNewLineOnDBLClick=!0,o.T.prototype.addNewLineTagsTriggers=["table","iframe","img","hr","pre","jodit"],o.T.prototype.addNewLineDeltaShow=20,i.I.set("enter",n.A)},4795(e,t){t.A={"Type something":"Napiš něco","About Jodit":"O Jodit","Jodit Editor":"Editor Jodit","Free Non-commercial Version":"Verze pro nekomerční použití","Jodit User's Guide":"Jodit Uživatelská příručka","contains detailed help for using":"obsahuje detailní nápovědu","For information about the license, please go to our website:":"Pro informace o licenci, prosím, přejděte na naši stránku:","Buy full version":"Koupit plnou verzi","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Všechna práva vyhrazena.",Anchor:"Anchor","Open in new tab":"Otevřít v nové záložce","Open in fullsize":"Otevřít v celoobrazovkovém režimu","Clear Formatting":"Vyčistit formátování","Fill color or set the text color":"Barva výplně a písma",Redo:"Vpřed",Undo:"Zpět",Bold:"Tučné",Italic:"Kurzíva","Insert Unordered List":"Odrážky","Insert Ordered List":"Číslovaný seznam","Align Center":"Zarovnat na střed","Align Justify":"Zarovnat do bloku","Align Left":"Zarovnat vlevo","Align Right":"Zarovnat vpravo","Insert Horizontal Line":"Vložit horizontální linku","Insert Image":"Vložit obrázek","Insert file":"Vložit soubor","Insert youtube/vimeo video":"Vložit video (YT/Vimeo)","Insert link":"Vložit odkaz","Font size":"Velikost písma","Font family":"Typ písma","Insert format block":"Formátovat blok",Normal:"Normální text","Heading 1":"Nadpis 1","Heading 2":"Nadpis 2","Heading 3":"Nadpis 3","Heading 4":"Nadpis 4",Quote:"Citát",Code:"Kód",Insert:"Vložit","Insert table":"Vložit tabulku","Decrease Indent":"Zmenšit odsazení","Increase Indent":"Zvětšit odsazení","Select Special Character":"Vybrat speciální symbol","Insert Special Character":"Vložit speciální symbol","Paint format":"Použít formát","Change mode":"Změnit mód",Margins:"Okraje",top:"horní",right:"pravý",bottom:"spodní",left:"levý",Styles:"Styly",Classes:"Třídy",Align:"Zarovnání",Right:"Vpravo",Center:"Na střed",Left:"Vlevo","--Not Set--":"--nenastaveno--",Src:"src",Title:"Titulek",Alternative:"Alternativní text (alt)",Link:"Link","Open link in new tab":"Otevřít link v nové záložce",Image:"Obrázek",file:"soubor",Advanced:"Rozšířené","Image properties":"Vlastnosti obrázku",Cancel:"Zpět",Ok:"Ok","Your code is similar to HTML. Keep as HTML?":"Váš text se podobá HTML. Vložit ho jako HTML?","Paste as HTML":"Vložit jako HTML",Keep:"Ponechat originál",Clean:"Vyčistit","Insert as Text":"Vložit jako TEXT","Insert only Text":"Vložit pouze TEXT","Word Paste Detected":"Detekován fragment z Wordu nebo Excelu","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Obsah, který vkládáte, je pravděpodobně z Microsoft Word / Excel. Chcete ponechat formát nebo vložit pouze text?","File Browser":"Prohlížeč souborů","Error on load list":"Chyba při načítání seznamu souborů","Error on load folders":"Chyba při načítání složek","Are you sure?":"Jste si jistý(á)?","Enter Directory name":"Název složky","Create directory":"Vytvořit složku","type name":"název","Drop image":"Přetáhněte sem obrázek","Drop file":"Přetáhněte sem soubor","or click":"nebo klikněte","Alternative text":"Alternativní text",Browse:"Server",Upload:"Nahrát",Background:"Pozadí",Text:"Text",Top:"Nahoru",Middle:"Na střed",Bottom:"Dolu","Insert column before":"Vložit sloupec před","Insert column after":"Vložit sloupec za","Insert row above":"Vložit řádek nad","Insert row below":"Vložit řádek pod","Delete table":"Vymazat tabulku","Delete row":"Vymazat řádku","Delete column":"Vymazat sloupec","Empty cell":"Vyčistit buňku",source:"HTML",bold:"tučně",italic:"kurzíva",brush:"štětec",link:"odkaz",undo:"zpět",redo:"vpřed",table:"tabulka",image:"obrázek",eraser:"guma",paragraph:"odstavec",fontsize:"velikost písma",video:"video",font:"písmo",about:"о editoru",print:"tisk",underline:"podtrženo",strikethrough:"přeškrtnuto",indent:"zvětšit odsazení",outdent:"zmenšit odsazení",fullsize:"celoobrazovkový režim",shrink:"smrsknout",hr:"Linka",ul:"Odrážka",ol:"Číslovaný seznam",cut:"Vyjmout",selectall:"Označit vše","Embed code":"Kód","Open link":"Otevřít odkaz","Edit link":"Upravit odkaz","No follow":"Atribut no-follow",Unlink:"Odstranit odkaz",Eye:"Zobrazit",pencil:"Chcete-li upravit",Update:"Aktualizovat"," URL":"URL",Edit:"Editovat","Horizontal align":"Horizontální zarovnání",Filter:"Filtr","Sort by changed":"Dle poslední změny","Sort by name":"Dle názvu","Sort by size":"Dle velikosti","Add folder":"Přidat složku",Reset:"Reset",Save:"Uložit","Save as ...":"Uložit jako...",Resize:"Změnit rozměr",Crop:"Ořezat",Width:"Šířka",Height:"Výška","Keep Aspect Ratio":"Ponechat poměr",Yes:"Ano",No:"Ne",Remove:"Vyjmout",Select:"Označit","Chars: %d":"Znaky: %d","Words: %d":"Slova: %d",All:"Vše","Select %s":"Označit %s","Select all":"Označit vše","Vertical align":"Vertikální zarovnání",Split:"Rozdělit","Split vertical":"Rozdělit vertikálně","Split horizontal":"Rozdělit horizontálně",Merge:"Spojit","Add column":"Přidat sloupec","Add row":"Přidat řádek",Delete:"Vymazat",Border:"Okraj","License: %s":"Licence: %s","Strike through":"Přeškrtnuto",Underline:"Podtrženo",superscript:"Horní index",subscript:"Dolní index","Cut selection":"Vyjmout označené",Break:"Zalomení","Search for":"Najdi","Replace with":"Nahradit za",Replace:"Vyměňte",Paste:"Vložit","Choose Content to Paste":"Vyber obsah pro vložení","You can only edit your own images. Download this image on the host?":"Můžete upravovat pouze své obrázky. Načíst obrázek?","The image has been successfully uploaded to the host!":"Obrázek byl úspěšně nahrán!",palette:"paleta","There are no files":"V tomto adresáři nejsou žádné soubory.",Rename:"přejmenovat","Enter new name":"Zadejte nový název",preview:"náhled",download:"Stažení","Paste from clipboard":"Vložit ze schránky","Your browser doesn't support direct access to the clipboard.":"Váš prohlížeč nepodporuje přímý přístup do schránky.","Copy selection":"Kopírovat výběr",copy:"kopírování","Border radius":"Border radius","Show all":"Zobrazit všechny",Apply:"Platí","Please fill out this field":"Prosím, vyplňte toto pole","Please enter a web address":"Prosím, zadejte webovou adresu",Default:"Výchozí",Circle:"Kruh",Dot:"Dot",Quadrate:"Quadrate",Find:"Najít","Find Previous":"Najít Předchozí","Find Next":"Najít Další","Insert className":"Vložte název třídy","Press Alt for custom resizing":"Stiskněte Alt pro vlastní změnu velikosti"}},5119(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 270 270"> <path d="m240.443652,220.45085l-47.410809,0l0,-10.342138c13.89973,-8.43655 25.752896,-19.844464 34.686646,-33.469923c11.445525,-17.455846 17.496072,-37.709239 17.496072,-58.570077c0,-59.589197 -49.208516,-108.068714 -109.693558,-108.068714s-109.69263,48.479517 -109.69263,108.069628c0,20.860839 6.050547,41.113316 17.497001,58.570077c8.93375,13.625459 20.787845,25.032458 34.686646,33.469008l0,10.342138l-47.412666,0c-10.256959,0 -18.571354,8.191376 -18.571354,18.296574c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.98402,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574l0,-39.496814c0,-7.073455 -4.137698,-13.51202 -10.626529,-16.537358c-25.24497,-11.772016 -41.557118,-37.145704 -41.557118,-64.643625c0,-39.411735 32.545369,-71.476481 72.549922,-71.476481c40.004553,0 72.550851,32.064746 72.550851,71.476481c0,27.497006 -16.312149,52.87161 -41.557118,64.643625c-6.487902,3.026253 -10.6256,9.464818 -10.6256,16.537358l0,39.496814c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.982163,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574c0,-10.105198 -8.314395,-18.296574 -18.571354,-18.296574z"/> </svg> '},5287(e,t,r){r.d(t,{C(){return o}});var i=r(2748);function o(e,t){let r=e;i.J.up(r,e=>{e&&e.hasChildNodes()&&e!==t.editor&&(r=e)},t.editor);const o=i.J.wrapInline(r,t.o.enter,t);if(i.J.isEmpty(o)){const r=t.createInside.element("br");o.appendChild(r),i.J.before(r,e)}return o}},5567(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45z"/> </svg> '},5700(e,t,r){r.d(t,{G(){return o}});var i=r(19306);function o(e,t,r=!1){var n,s;const a=e.getBoundingClientRect();let l=a.left,c=a.top;if((0,i.y)(t)&&t.iframe&&t.ed.body.contains(e)&&!r){const{left:e,top:r}=o(t.iframe,t,!0);l+=e,c+=r}return{left:Math.round(l),top:Math.round(c),width:Math.round(null!==(n=e.offsetWidth)&&void 0!==n?n:a.width),height:Math.round(null!==(s=e.offsetHeight)&&void 0!==s?s:a.height)}}},5827(e,t,r){var i=r(2748),o=r(12153),n=r(6441),s=r(27190),a=r(42345),l=r(10411);n.T.prototype.link={formTemplate:l.B,followOnDblClick:!1,processVideoLink:!0,processPastedLink:!0,noFollowCheckbox:!0,openInNewTabCheckbox:!0,modeClassName:"input",selectMultipleClassName:!0,preventReadOnlyNavigation:!0,selectSizeClassName:3,selectOptionsClassName:[],hotkeys:["ctrl+k","cmd+k"]},o.I.set("link",s.A).set("unlink",a.A),n.T.prototype.controls.unlink={exec(e,t){const r=i.J.closest(t,"a",e.editor);r&&i.J.unwrap(r),e.synchronizeValues(),e.e.fire("hidePopup")},tooltip:"Unlink"},n.T.prototype.controls.link={isActive(e){const t=e.s.current();return!(!t||!i.J.closest(t,"a",e.editor))},popup(e,t,r){return e.e.fire("generateLinkForm.link",t,r)},tags:["a"],tooltip:"Insert link"}},5986(e,t,r){r.d(t,{l(){return o}});var i=r(49055);const o=e=>(e.attributes.class&&(e.attributes.class=e.attributes.class.replace(/(el\d+)|(font\d+)|msonormal|msolistparagraph\w*/gi,""),(0,i.Bq)(e.attributes.class)||(e.attributes.class=null)),e)},6091(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M576 1376v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm128-320v1088q0 66-47 113t-113 47h-1344q-66 0-113-47t-47-113v-1088q0-66 47-113t113-47h1344q66 0 113 47t47 113z"/> </svg> '},6342(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 128 128" xml:space="preserve"> <polygon points="112.4560547,23.3203125 112.4560547,75.8154297 31.4853516,75.8154297 31.4853516,61.953125 16.0131836,72.6357422 0.5410156,83.3164063 16.0131836,93.9990234 31.4853516,104.6796875 31.4853516,90.8183594 112.4560547,90.8183594 112.4560547,90.8339844 127.4589844,90.8339844 127.4589844,23.3203125"/> </svg> '},6441(e,t,r){r.d(t,{T(){return o}});var i=r(82758);class o{static get defaultOptions(){return o.__defaultOptions||(o.__defaultOptions=new o),o.__defaultOptions}constructor(){this.cache=!0,this.defaultTimeout=100,this.namespace="",this.safeMode=!1,this.width="auto",this.height="auto",this.safePluginsList=["about","enter","backspace","size","bold","hotkeys"],this.license="",this.preset="custom",this.presets={inline:{inline:!0,toolbar:!1,toolbarInline:!0,toolbarInlineForSelection:!0,showXPathInStatusbar:!1,showCharsCounter:!1,showWordsCounter:!1,showPlaceholder:!1}},this.ownerDocument=i.globalDocument,this.ownerWindow=i.globalWindow,this.shadowRoot=null,this.zIndex=0,this.readonly=!1,this.disabled=!1,this.activeButtonsInReadOnly=["source","fullsize","print","about","dots","selectall"],this.allowCommandsInReadOnly=["selectall","preview","print"],this.toolbarButtonSize="middle",this.allowTabNavigation=!1,this.inline=!1,this.theme="default",this.saveModeInStorage=!1,this.editorClassName=!1,this.className=!1,this.style=!1,this.containerStyle=!1,this.styleValues={},this.triggerChangeEvent=!0,this.direction="",this.language="auto",this.debugLanguage=!1,this.i18n=!1,this.tabIndex=-1,this.toolbar=!0,this.statusbar=!0,this.showTooltip=!0,this.showTooltipDelay=200,this.useNativeTooltip=!1,this.defaultActionOnPaste=i.INSERT_AS_HTML,this.enter=i.PARAGRAPH,this.iframe=!1,this.editHTMLDocumentMode=!1,this.enterBlock="br"!==this.enter?this.enter:i.PARAGRAPH,this.defaultMode=i.MODE_WYSIWYG,this.useSplitMode=!1,this.colors={greyscale:["#000000","#434343","#666666","#999999","#B7B7B7","#CCCCCC","#D9D9D9","#EFEFEF","#F3F3F3","#FFFFFF"],palette:["#980000","#FF0000","#FF9900","#FFFF00","#00F0F0","#00FFFF","#4A86E8","#0000FF","#9900FF","#FF00FF"],full:["#E6B8AF","#F4CCCC","#FCE5CD","#FFF2CC","#D9EAD3","#D0E0E3","#C9DAF8","#CFE2F3","#D9D2E9","#EAD1DC","#DD7E6B","#EA9999","#F9CB9C","#FFE599","#B6D7A8","#A2C4C9","#A4C2F4","#9FC5E8","#B4A7D6","#D5A6BD","#CC4125","#E06666","#F6B26B","#FFD966","#93C47D","#76A5AF","#6D9EEB","#6FA8DC","#8E7CC3","#C27BA0","#A61C00","#CC0000","#E69138","#F1C232","#6AA84F","#45818E","#3C78D8","#3D85C6","#674EA7","#A64D79","#85200C","#990000","#B45F06","#BF9000","#38761D","#134F5C","#1155CC","#0B5394","#351C75","#733554","#5B0F00","#660000","#783F04","#7F6000","#274E13","#0C343D","#1C4587","#073763","#20124D","#4C1130"]},this.colorPickerDefaultTab="background",this.imageDefaultWidth=300,this.removeButtons=[],this.disablePlugins=[],this.extraPlugins=[],this.extraButtons=[],this.extraIcons={},this.createAttributes={table:{style:"border-collapse:collapse;width: 100%;"}},this.sizeLG=900,this.sizeMD=700,this.sizeSM=400,this.buttons=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},{group:"font",buttons:[]},"---",{group:"script",buttons:[]},{group:"media",buttons:[]},"\n",{group:"state",buttons:[]},{group:"clipboard",buttons:[]},{group:"insert",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},{group:"form",buttons:[]},"---",{group:"history",buttons:[]},{group:"search",buttons:[]},{group:"source",buttons:[]},{group:"other",buttons:[]},{group:"info",buttons:[]}],this.events={},this.textIcons=!1,this.popupRoot=null,this.showBrowserColorPicker=!0}}o.prototype.controls={}},6687(e,t,r){var i=r(82758),o=r(580),n=r(20356),s=r(12153),a=r(6441),l=r(66863),c=r(64489);s.I.set("redo",l.A).set("undo",c.A),a.T.prototype.controls.redo={mode:i.MODE_SPLIT,isDisabled(e){return!e.history.canRedo()},tooltip:"Redo"},a.T.prototype.controls.undo={mode:i.MODE_SPLIT,isDisabled(e){return!e.history.canUndo()},tooltip:"Undo"},o.fg.add("redoUndo",class d extends n.k{beforeDestruct(){}afterInit(e){const t=t=>(e.history[t](),!1);e.registerCommand("redo",{exec:t,hotkeys:["ctrl+y","ctrl+shift+z","cmd+y","cmd+shift+z"]}),e.registerCommand("undo",{exec:t,hotkeys:["ctrl+z","cmd+z"]})}constructor(){super(...arguments),this.buttons=[{name:"undo",group:"history"},{name:"redo",group:"history"}]}})},6700(e,t,r){r.d(t,{w(){return a}});var i=r(87058),o=r(65638),n=r(21162);const s="Jodit_";class a{set(e,t){return this.provider.set((0,i.x)(this.prefix+e),t),this}delete(e){return this.provider.delete((0,i.x)(this.prefix+e)),this}get(e){return this.provider.get((0,i.x)(this.prefix+e))}exists(e){return this.provider.exists((0,i.x)(this.prefix+e))}clear(){return this.provider.clear(),this}static makeStorage(e=!1,t){let r;return e&&(0,o.I)()&&(r=new o.O(s+t)),r||(r=new n.M),new a(r,t)}constructor(e,t){this.provider=e,this.prefix=s,t&&(this.prefix+=t)}}},6950(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <path stroke-width="0" d="M22,20.6L3.4,2H8V0H0v8h2V3.4L20.6,22H16v2h8v-8h-2V20.6z M16,0v2h4.7l-6.3,6.3l1.4,1.4L22,3.5V8h2V0H16z M8.3,14.3L2,20.6V16H0v8h8v-2H3.5l6.3-6.3L8.3,14.3z"/> </svg> '},6980(e,t,r){r.d(t,{Y(){return n}});var i=r(2748),o=r(78116);function n(e,t,r){const n=r.editor,s=r.createInside,a=(e,t="previousSibling")=>{let s=e,a=e;for(;a&&!(0,o.r)(a)&&!i.J.isTag(a,r.o.enter)&&(s=a,a=a[t]?a[t]:a.parentNode&&!i.J.isBlock(a.parentNode)&&a.parentNode!==n?a.parentNode:null,!i.J.isBlock(a)););return s},l=a(t),c=a(t,"nextSibling"),d=r.s.createRange();d.setStartBefore(l),d.setEndAfter(c);const u=d.extractContents(),h=s.element(e.element);return h.appendChild(u),i.J.safeInsertNode(d,h),e.elementIsBlock&&i.J.isEmpty(h)&&!i.J.isTag(h.firstElementChild,"br")&&h.appendChild(s.element("br")),h}},7087(e,t,r){r.r(t),r.d(t,{PasteFromWordPro(){return c}}),r(64310);var i=r(46788),o=r(82758),n=r(70799),s=r(117),a=r(31571),l=r(34013);class c extends a.s{insertFromWordByType(e,t,r,a){if(!this.j.o.pasteFromWord.enable||r!==o.INSERT_AS_HTML&&r!==o.INSERT_AS_TEXT)return super.insertFromWordByType(e,t,r,a);if(t=(0,i.GW)(this.j,t,r===o.INSERT_AS_TEXT,a.rtf),this.j.o.beautifyHTML){const e=this.j.events?.fire("beautifyHTML",t);(0,n.K)(e)&&(t=e)}(0,s.sX)(e,this.j,t)}}c.requires=["license"],l.A.plugins.remove("pasteFromWord"),l.A.plugins.add("pasteFromWordPro",c)},7309(e,t,r){var i=r(82758),o=r(2748),n=r(580),s=r(20356);r(99649),n.fg.add("stat",class a extends s.k{afterInit(){this.charCounter=this.j.c.span(),this.wordCounter=this.j.c.span(),this.j.e.on("afterInit changePlace afterAddPlace",this.reInit),this.reInit()}beforeDestruct(){o.J.safeRemove(this.charCounter),o.J.safeRemove(this.wordCounter),this.j.e.off("afterInit changePlace afterAddPlace",this.reInit),this.charCounter=null,this.wordCounter=null}constructor(){super(...arguments),this.charCounter=null,this.wordCounter=null,this.reInit=()=>{this.j.o.showCharsCounter&&this.charCounter&&this.j.statusbar.append(this.charCounter,!0),this.j.o.showWordsCounter&&this.wordCounter&&this.j.statusbar.append(this.wordCounter,!0),this.j.e.off("change keyup",this.calc).on("change keyup",this.calc),this.calc()},this.calc=this.j.async.throttle(()=>{const e=this.j.text;if(this.j.o.showCharsCounter&&this.charCounter){let t;t=this.j.o.countHTMLChars?this.j.value:this.j.o.countTextSpaces?e.replace((0,i.INVISIBLE_SPACE_REG_EXP)(),"").replace(/[\r\n]/g,""):e.replace((0,i.SPACE_REG_EXP)(),""),this.charCounter.textContent=this.j.i18n("Chars: %d",t.length)}this.j.o.showWordsCounter&&this.wordCounter&&(this.wordCounter.textContent=this.j.i18n("Words: %d",e.replace((0,i.INVISIBLE_SPACE_REG_EXP)(),"").split((0,i.SPACE_REG_EXP)()).filter(e=>e.length).length))},this.j.defaultTimeout)}})},7483(e,t,r){r.d(t,{S(){return s}});var i=r(2748),o=r(41180),n=r(23370);class s extends n.F{init(e){this.instance=e.c.element("textarea",{class:"jodit-source__mirror",dir:"rtl"===e.o.direction?"rtl":void 0}),this.container.appendChild(this.instance),e.e.on(this.instance,"mousedown keydown touchstart input",e.async.debounce(this.toWYSIWYG,e.defaultTimeout)).on("setMinHeight.source",e=>{(0,o.A)(this.instance,"minHeight",e)}).on(this.instance,"change keydown mousedown touchstart input",this.autosize).on("afterSetMode.source",this.autosize).on(this.instance,"mousedown focus",t=>{e.e.fire(t.type,t)}),this.autosize(),this.onReady()}destruct(){i.J.safeRemove(this.instance)}getValue(){return this.instance.value}setValue(e){this.instance.value=e}insertRaw(e){const t=this.getValue();if(0>this.getSelectionStart())this.setValue(t+e);else{const r=this.getSelectionStart(),i=this.getSelectionEnd();this.setValue(t.substring(0,r)+e+t.substring(i,t.length))}}getSelectionStart(){return this.instance.selectionStart}getSelectionEnd(){return this.instance.selectionEnd}setSelectionRange(e,t=e){this.instance.setSelectionRange(e,t)}get isFocused(){return this.instance===this.j.od.activeElement}focus(){this.instance.focus()}blur(){this.instance.blur()}setPlaceHolder(e){this.instance.setAttribute("placeholder",e)}setReadOnly(e){e?this.instance.setAttribute("readonly","true"):this.instance.removeAttribute("readonly")}selectAll(){this.instance.select()}replaceUndoManager(){const{history:e}=this.jodit;this.j.e.on(this.instance,"keydown",t=>{if((t.ctrlKey||t.metaKey)&&"z"===t.key)return t.shiftKey?e.redo():e.undo(),this.setSelectionRange(this.getValue().length),!1})}constructor(){super(...arguments),this.autosize=this.j.async.debounce(()=>{this.instance.style.height="auto",this.instance.style.height=this.instance.scrollHeight+"px"},this.j.defaultTimeout)}}},7903(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1472 930v318q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-10 10-23 10-3 0-9-2-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-254q0-13 9-22l64-64q10-10 23-10 6 0 12 3 20 8 20 29zm231-489l-814 814q-24 24-57 24t-57-24l-430-430q-24-24-24-57t24-57l110-110q24-24 57-24t57 24l263 263 647-647q24-24 57-24t57 24l110 110q24 24 24 57t-24 57z"/> </svg> '},8172(e,t,r){r.d(t,{Q(){return i.Q},V(){return o.V}});var i=r(97379),o=r(8193)},8193(e,t,r){r.d(t,{V(){return o}});var i=r(67510);class o extends i.Ue{className(){return"FileBrowserTree"}}},8355(e,t,r){var i=r(82758),o=r(580),n=r(11628);r(6441).T.prototype.controls.preview={icon:"eye",command:"preview",mode:i.MODE_SOURCE+i.MODE_WYSIWYG,tooltip:"Preview"},o.fg.add("preview",e=>{e.registerButton({name:"preview"}),e.registerCommand("preview",(t,r,i)=>{const o=e.dlg();o.setSize(1024,600).open("",e.i18n("Preview")).setModal(!0);const[,s]=(0,n.u)(e,i,"px",o.getElm("content"));o.e.on(o,"afterClose",s)})})},8884(e,t,r){r.d(t,{j(){return i.j}});var i=r(26992)},8959(e,t,r){r.d(t,{$6(){return a.$},F0(){return i.F},cY(){return o.c},nE(){return n.n},tS(){return s.t}});var i=r(85120),o=r(17328),n=r(4242),s=r(80256),a=r(12234)},9045(e,t,r){r(6441).T.prototype.dtd={removeExtraBr:!0,checkBlockNesting:!0,blockLimits:{article:1,aside:1,audio:1,body:1,caption:1,details:1,dir:1,div:1,dl:1,fieldset:1,figcaption:1,figure:1,footer:1,form:1,header:1,hgroup:1,main:1,menu:1,nav:1,ol:1,section:1,table:1,td:1,th:1,tr:1,ul:1,video:1}}},9159(e,t,r){var i=r(65478),o=r(22732),n=r(580),s=r(50911),a=r(67510),l=(r(68252),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});let c=class e extends s.k{afterInit(e){const{height:t,width:r,allowResizeX:i}=e.o;let{allowResizeY:o}=e.o;"auto"===t&&"auto"!==r&&(o=!1),"auto"===t&&"auto"===r||!i&&!o||(e.statusbar.setMod("resize-handle",!0),e.e.on("toggleFullSize.resizeHandler",()=>{this.handle.style.display=e.isFullSize?"none":"block"}).on(this.handle,"mousedown touchstart",this.onHandleResizeStart).on(e.ow,"mouseup touchend",this.onHandleResizeEnd),e.container.appendChild(this.handle))}onHandleResizeStart(e){this.isResized=!0,this.start.x=e.clientX,this.start.y=e.clientY,this.start.w=this.j.container.offsetWidth,this.start.h=this.j.container.offsetHeight,this.j.lock(),this.j.e.on(this.j.ow,"mousemove touchmove",this.onHandleResize),e.preventDefault()}onHandleResize(e){this.isResized&&(this.j.o.allowResizeY&&this.j.e.fire("setHeight",this.start.h+e.clientY-this.start.y),this.j.o.allowResizeX&&this.j.e.fire("setWidth",this.start.w+e.clientX-this.start.x),this.j.e.fire("resize"))}onHandleResizeEnd(){this.isResized&&(this.isResized=!1,this.j.e.off(this.j.ow,"mousemove touchmove",this.onHandleResize),this.j.unlock())}beforeDestruct(){o.J.safeRemove(this.handle),this.j.e.off(this.j.ow,"mouseup touchsend",this.onHandleResizeEnd)}constructor(){super(...arguments),this.isResized=!1,this.start={x:0,y:0,w:0,h:0},this.handle=this.j.c.div("jodit-editor__resize",a.In.get("resize_handler"))}};c.requires=["size"],c=l([i.autobind],c),n.fg.add("resizeHandler",c)},9881(e,t,r){var i=r(65478),o=r(2748),n=r(580),s=r(87058),a=r(50911),l=r(67510),c=(r(67215),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});class d extends a.k{afterInit(e){this.proxyEventsList.forEach(t=>{e.e.on(t+".select",this.onStartSelection)})}beforeDestruct(e){this.proxyEventsList.forEach(t=>{e.e.on(t+".select",this.onStartSelection)})}onStartSelection(e){const{j:t}=this;let r,i=e.target;for(;void 0===r&&i&&i!==t.editor;)r=t.e.fire((0,s.x)(e.type+"_"+i.nodeName.toLowerCase()),i,e),i=i.parentElement;"click"===e.type&&void 0===r&&i===t.editor&&t.e.fire(e.type+"Editor",i,e)}onOutsideClick(e){const t=e.target;o.J.up(t,e=>e===this.j.editor)||l.D$.closestElement(t,l.zD)||this.j.e.fire("outsideClick",e)}beforeCommandCut(){const{s:e}=this.j;if(!e.isCollapsed()){const t=e.current();t&&o.J.isOrContains(this.j.editor,t)&&this.onCopyNormalizeSelectionBound()}}beforeCommandSelectAll(){const{s:e}=this.j;return e.focus(),e.select(this.j.editor,!0),e.expandSelection(),!1}onTripleClickNormalizeSelection(e){if(3!==e.detail||!this.j.o.select.normalizeTripleClick)return;const{s:t}=this.j,{startContainer:r,startOffset:i}=t.range;0===i&&o.J.isText(r)&&t.select(o.J.closest(r,o.J.isBlock,this.j.editor)||r,!0)}onCopyNormalizeSelectionBound(e){const{s:t,editor:r,o:i}=this.j;i.select.normalizeSelectionBeforeCutAndCopy&&!t.isCollapsed()&&(!e||e.isTrusted&&o.J.isNode(e.target)&&o.J.isOrContains(r,e.target))&&this.jodit.s.expandSelection()}constructor(){super(...arguments),this.proxyEventsList=["click","mousedown","touchstart","mouseup","touchend"]}}c([i.autobind],d.prototype,"onStartSelection",null),c([(0,i.watch)("ow:click")],d.prototype,"onOutsideClick",null),c([(0,i.watch)([":beforeCommandCut"])],d.prototype,"beforeCommandCut",null),c([(0,i.watch)([":beforeCommandSelectall"])],d.prototype,"beforeCommandSelectAll",null),c([(0,i.watch)([":click"])],d.prototype,"onTripleClickNormalizeSelection",null),c([(0,i.watch)([":copy",":cut"])],d.prototype,"onCopyNormalizeSelectionBound",null),n.fg.add("select",d)},9914(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 48 48"> <path d="M6 18h4v-4h-4v4zm0-8h4v-4h-4v4zm8 32h4v-4h-4v4zm0-16h4v-4h-4v4zm-8 0h4v-4h-4v4zm0 16h4v-4h-4v4zm0-8h4v-4h-4v4zm8-24h4v-4h-4v4zm24 24h4v-4h-4v4zm-16 8h4v-36h-4v36zm16 0h4v-4h-4v4zm0-16h4v-4h-4v4zm0-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-8-8h4v-4h-4v4zm0 32h4v-4h-4v4zm0-16h4v-4h-4v4z"/> <path d="M0 0h48v48h-48z" fill="none"/> </svg> '},9992(e,t,r){r.d(t,{F(){return o}});var i=r(49055);const o=(...e)=>e.filter(e=>(0,i.Bq)(e).length).map((t,r)=>(t=t.replace(/([^:])[\\/]+/g,"$1/"),r&&(t=t.replace(/^\//,"")),r!==e.length-1&&(t=t.replace(/\/$/,"")),t)).join("/")},10052(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 18 18"> <g fill-rule="evenodd" stroke="none" stroke-width="1"> <g transform="translate(-381.000000, -381.000000)"> <g transform="translate(381.000000, 381.000000)"> <path d="M0,2 L2,2 L2,0 C0.9,0 0,0.9 0,2 L0,2 Z M0,10 L2,10 L2,8 L0,8 L0,10 L0,10 Z M4,18 L6,18 L6,16 L4,16 L4,18 L4,18 Z M0,6 L2,6 L2,4 L0,4 L0,6 L0,6 Z M10,0 L8,0 L8,2 L10,2 L10,0 L10,0 Z M16,0 L16,2 L18,2 C18,0.9 17.1,0 16,0 L16,0 Z M2,18 L2,16 L0,16 C0,17.1 0.9,18 2,18 L2,18 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M6,0 L4,0 L4,2 L6,2 L6,0 L6,0 Z M8,18 L10,18 L10,16 L8,16 L8,18 L8,18 Z M16,10 L18,10 L18,8 L16,8 L16,10 L16,10 Z M16,18 C17.1,18 18,17.1 18,16 L16,16 L16,18 L16,18 Z M16,6 L18,6 L18,4 L16,4 L16,6 L16,6 Z M16,14 L18,14 L18,12 L16,12 L16,14 L16,14 Z M12,18 L14,18 L14,16 L12,16 L12,18 L12,18 Z M12,2 L14,2 L14,0 L12,0 L12,2 L12,2 Z M4,14 L14,14 L14,4 L4,4 L4,14 L4,14 Z M6,6 L12,6 L12,12 L6,12 L6,6 L6,6 Z"/> </g> </g> </g> </svg> '},10263(e,t,r){r.d(t,{q(){return a}});var i=r(68345),o=r(5700),n=r(56917),s=r(34793);function a(e,t,r,a){const l=new n.z(t),c=()=>{l.close(),l.destruct()};l.setContent((0,s.k)(e,{upload(e){e.files&&e.files.length&&(r.values.imageSrc=e.baseurl+e.files[0]),c()},async filebrowser(e){e&&(0,i.c)(e.files)&&e.files.length&&(r.values.imageSrc=e.files[0],c())}},r.image,c)).open(()=>(0,o.G)(a))}},10411(e,t,r){r.d(t,{B(){return n}});var i=r(62843),o=r(2525);const n=e=>{const{openInNewTabCheckbox:t,noFollowCheckbox:r,modeClassName:n,selectSizeClassName:s,selectMultipleClassName:a,selectOptionsClassName:l}=e.o.link;return new o.XV(e,[new o.Yh(e,[new o.tS(e,{name:"url",type:"text",ref:"url_input",label:"URL",placeholder:"http://",required:!0})]),new o.Yh(e,[new o.tS(e,{name:"content",ref:"content_input",label:"Text"})],{ref:"content_input_box"}),n?new o.Yh(e,["input"===n?new o.tS(e,{name:"className",ref:"className_input",label:"Class name"}):"select"===n?new o.$6(e,{name:"className",ref:"className_select",label:"Class name",size:s,multiple:a,options:l}):null]):null,t?new o.cY(e,{name:"target",ref:"target_checkbox",label:"Open in new tab"}):null,r?new o.cY(e,{name:"nofollow",ref:"nofollow_checkbox",label:"No follow"}):null,new o.Yh(e,[new i.lD(e,{name:"unlink",variant:"default",text:"Unlink"}),new i.lD(e,{name:"insert",type:"submit",variant:"primary",text:"Insert"})],{align:"full"})])}},10766(e,t){t.A='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path stroke="null" d="m42.276011,26.302547c0.098397,-0.76605 0.172194,-1.54407 0.172194,-2.33406s-0.073797,-1.56801 -0.172194,-2.33406l5.202718,-3.961917c0.467384,-0.359086 0.602679,-1.005441 0.29519,-1.532101l-4.919828,-8.29489c-0.307489,-0.51469 -0.947067,-0.730142 -1.500548,-0.51469l-6.125186,2.405877c-1.266856,-0.945594 -2.656707,-1.747553 -4.157255,-2.357999l-0.922468,-6.343855c-0.110696,-0.562568 -0.614979,-1.005441 -1.229957,-1.005441l-9.839656,0c-0.614979,0 -1.119261,0.442873 -1.217657,1.005441l-0.922468,6.343855c-1.500548,0.610446 -2.890399,1.400436 -4.157255,2.357999l-6.125186,-2.405877c-0.553481,-0.203482 -1.193058,0 -1.500548,0.51469l-4.919828,8.29489c-0.307489,0.51469 -0.172194,1.161045 0.29519,1.532101l5.190419,3.961917c-0.098397,0.76605 -0.172194,1.54407 -0.172194,2.33406s0.073797,1.56801 0.172194,2.33406l-5.190419,3.961917c-0.467384,0.359086 -0.602679,1.005441 -0.29519,1.532101l4.919828,8.29489c0.307489,0.51469 0.947067,0.730142 1.500548,0.51469l6.125186,-2.405877c1.266856,0.945594 2.656707,1.747553 4.157255,2.357999l0.922468,6.343855c0.098397,0.562568 0.602679,1.005441 1.217657,1.005441l9.839656,0c0.614979,0 1.119261,-0.442873 1.217657,-1.005441l0.922468,-6.343855c1.500548,-0.610446 2.890399,-1.400436 4.157255,-2.357999l6.125186,2.405877c0.553481,0.203482 1.193058,0 1.500548,-0.51469l4.919828,-8.29489c0.307489,-0.51469 0.172194,-1.161045 -0.29519,-1.532101l-5.190419,-3.961917zm-18.277162,6.044617c-4.759934,0 -8.609699,-3.746465 -8.609699,-8.378677s3.849766,-8.378677 8.609699,-8.378677s8.609699,3.746465 8.609699,8.378677s-3.849766,8.378677 -8.609699,8.378677z"/> </svg> '},10830(e,t,r){r.d(t,{$n(){return m},lD(){return f},ue(){return p}});var i=r(78213),o=r(65478),n=r(2748),s=r(23282),a=r(70799),l=r(43555),c=r(48538),d=r(24536),u=r(12153),h=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};const p=()=>({size:"middle",type:"button",role:"button",name:"",value:"",variant:"initial",disabled:!1,activated:!1,icon:{name:"empty",fill:"",iconURL:""},tooltip:"",text:"",tabIndex:void 0});let f=class e extends c.D{className(){return"UIButton"}setState(e){return Object.assign(this.state,e),this}get text(){const e=this.getElm("text");return(0,l.vA)(e,"Text element not found"),e}get icon(){const e=this.getElm("icon");return(0,l.vA)(e,"Icon element not found"),e}onChangeSize(){this.setMod("size",this.state.size)}onChangeType(){(0,l.CF)(this.container,"type",this.state.type)}onChangeRole(){(0,l.CF)(this.container,"role",this.state.role)}updateSize(){const e=this.closest(d.z);e&&(this.state.size=e.buttonSize)}onChangeStatus(){this.setMod("variant",this.state.variant)}onChangeText(){this.text.textContent=this.jodit.i18n(this.state.text)}onChangeTextSetMode(){this.setMod("text-icons",!!this.state.text.trim().length)}onChangeDisabled(){(0,l.CF)(this.container,"disabled",this.state.disabled||null)}onChangeActivated(){(0,l.CF)(this.container,"aria-pressed",this.state.activated)}onChangeName(){this.container.classList.add(`${this.componentName}_${this.clearName(this.state.name)}`),this.name=this.state.name,(0,l.CF)(this.container,"data-ref",this.state.name),(0,l.CF)(this.container,"ref",this.state.name)}onChangeTooltip(){this.get("j.o.useNativeTooltip")&&(0,l.CF)(this.container,"title",this.state.tooltip),(0,l.CF)(this.container,"aria-label",this.state.tooltip)}onChangeTabIndex(){(0,l.CF)(this.container,"tabindex",this.state.tabIndex)}onChangeIcon(){const e=this.get("j.o.textIcons");if(!0===e||(0,s.T)(e)&&e(this.state.name))return;n.J.detach(this.icon);const t=u.I.makeIcon(this.j,this.state.icon);t&&this.icon.appendChild(t)}focus(){this.container.focus()}isFocused(){const{activeElement:e}=this.od;return!(!e||!n.J.isOrContains(this.container,e))}createContainer(){const e=this.componentName,t=this.j.c.element("button",{class:e,type:"button",role:"button",ariaPressed:!1}),r=this.j.c.span(e+"__icon"),i=this.j.c.span(e+"__text");return t.appendChild(r),t.appendChild(i),t}destruct(){return this.j.e.off(this.container),super.destruct()}onAction(e){return this.actionHandlers.push(e),this}__onActionFire(e){e.buffer={actionTrigger:this},this.actionHandlers.forEach(t=>t.call(this,e))}constructor(e,t){super(e),this.isButton=!0,this.state=p(),this.actionHandlers=[],this.button=this.container,this.updateSize(),this.onChangeSize(),this.onChangeStatus(),t&&this.hookStatus(i.f.ready,()=>{this.setState(t)})}};function m(e,t,r,i){const o=new f(e);return o.state.tabIndex=e.o.allowTabNavigation?0:-1,(0,a.K)(t)?(o.state.icon.name=t,o.state.name=t,i&&(o.state.variant=i),r&&(o.state.text=r)):o.setState(t),o}h([o.cache],f.prototype,"text",null),h([o.cache],f.prototype,"icon",null),h([(0,o.watch)("state.size",{immediately:!1})],f.prototype,"onChangeSize",null),h([(0,o.watch)("state.type",{immediately:!1})],f.prototype,"onChangeType",null),h([(0,o.watch)("state.role",{immediately:!1})],f.prototype,"onChangeRole",null),h([(0,o.watch)("parentElement")],f.prototype,"updateSize",null),h([(0,o.watch)("state.variant",{immediately:!1})],f.prototype,"onChangeStatus",null),h([(0,o.watch)("state.text",{immediately:!1})],f.prototype,"onChangeText",null),h([(0,o.watch)("state.text",{immediately:!1})],f.prototype,"onChangeTextSetMode",null),h([(0,o.watch)("state.disabled")],f.prototype,"onChangeDisabled",null),h([(0,o.watch)("state.activated")],f.prototype,"onChangeActivated",null),h([(0,o.watch)("state.name",{immediately:!1})],f.prototype,"onChangeName",null),h([(0,o.watch)("state.tooltip",{immediately:!1})],f.prototype,"onChangeTooltip",null),h([(0,o.watch)("state.tabIndex",{immediately:!1})],f.prototype,"onChangeTabIndex",null),h([(0,o.watch)("state.icon",{immediately:!1})],f.prototype,"onChangeIcon",null),h([o.cacheHTML],f.prototype,"createContainer",null),h([(0,o.watch)("button:click")],f.prototype,"__onActionFire",null),f=h([o.component],f)},10937(e,t){t.A='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M24.89 32h4.18L18.86 6h-3.71L4.93 32h4.18l2.25-6h11.29l2.24 6zM12.86 22L17 10.95 21.14 22h-8.28zm30.31 1.17L27 39.34 19.66 32l-2.83 2.83L27 45l19-19-2.83-2.83z"/> </svg> '},11317(e,t,r){var i=r(2748),o=r(580),n=r(6441),s=r(92762);n.T.prototype.controls.file={popup(e,t,r){const o=(t,r="")=>{e.s.insertNode(e.createInside.fromHTML(`<a href="${t}" title="${r}">${r||t}</a>`))};let n=null;return t&&(i.J.isTag(t,"a")||i.J.closest(t,"a",e.editor))&&(n=i.J.isTag(t,"a")?t:i.J.closest(t,"a",e.editor)),(0,s.kG)(e,{filebrowser(e){e.files&&e.files.forEach(t=>o(e.baseurl+t)),r()},upload:!0,url(e,t){n?(n.setAttribute("href",e),n.setAttribute("title",t)):o(e,t),r()}},n,r,!1)},tags:["a"],tooltip:"Insert file"},o.fg.add("file",e=>{e.registerButton({name:"file",group:"media"})})},11338(e,t,r){function i(e){return!e.s.isCollapsed()&&(e.execCommand("Delete"),!0)}r.d(t,{L(){return i}})},11628(e,t,r){r.d(t,{u(){return l}});var i=r(2748),o=r(70799),n=r(29960),s=r(41180),a=r(76078);function l(e,t,r="px",l=null){const c=[],d=((e,t)=>{const r=[];try{(0,a.$$)("img",e.editor).forEach(o=>{const s=[(0,n.C)(o,"width"),(0,n.C)(o,"height"),o.src];(0,n.C)(o,{width:o.offsetWidth+t,height:o.offsetHeight+t});const a=e.createInside.a();e.ed.body.appendChild(a),a.href=o.src,o.src=a.href,i.J.safeRemove(a),r.push(()=>{var e;o.src=null!==(e=s[2])&&void 0!==e?e:"",(0,n.C)(o,{width:s[0]||null,height:s[1]||null})})})}catch(e){throw r.forEach(e=>e()),r.length=0,e}return r})(e,r);try{const a=e.e.fire("beforePreviewBox",t,r);if(null!=a)return a;let d=e.c.div("jodit__preview-box jodit-context");l&&l.appendChild(d),(0,s.A)(d,{position:"relative",padding:16});const u=e.value||`<div style='position: absolute;left:50%;top:50%;transform: translateX(-50%) translateY(-50%);color:#ccc;'>${e.i18n("Empty")}</div>`;if(e.iframe){const t=e.create.element("iframe");(0,s.A)(t,{minWidth:800,minHeight:600,border:0}),d.appendChild(t);const r=t.contentWindow;if(r&&(e.e.fire("generateDocumentStructure.iframe",r.document,e),d=r.document.body,"function"==typeof ResizeObserver)){let i=!1;const o=r.document.body,n=new ResizeObserver(e.async.debounce(()=>{n.unobserve(o),t.style.height=o.offsetHeight+20+"px",e.async.requestAnimationFrame(()=>{!i&&n.observe(o)})},100)),s=()=>{i=!0,n.unobserve(o),n.disconnect(),e.e.off("beforeDestruct",s)};c.push(s),e.e.on("beforeDestruct",s)}}else(0,s.A)(d,{minWidth:1024,minHeight:600,border:0});const h=(t,r)=>{const s=(0,o.K)(r)?e.c.div():r;(0,o.K)(r)&&(s.innerHTML=r);for(let e=0;s.childNodes.length>e;e+=1){const r=s.childNodes[e];if(i.J.isElement(r)){const e=t.ownerDocument.createElement(r.nodeName);for(let t=0;r.attributes.length>t;t+=1)(0,n.C)(e,r.attributes[t].nodeName,r.attributes[t].nodeValue);0===r.childNodes.length||i.J.isTag(r,"table")?"SCRIPT"===r.nodeName?r.textContent&&(e.textContent=r.textContent):r.innerHTML&&(e.innerHTML=r.innerHTML):h(e,r);try{t.appendChild(e)}catch(e){}}else try{t.appendChild(r.cloneNode(!0))}catch(e){}}};return h(d,u),e.e.fire("afterPreviewBox",d),[d,()=>{c.forEach(e=>e())}]}finally{d.forEach(e=>e())}}},11676(e,t,r){r.d(t,{Q(){return l}});var i=r(65478),o=r(82760),n=r(67510),s=r(21491),a=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};let l=class e extends n.z4{className(){return"ToolbarCollection"}get firstButton(){const[e]=this.buttons;return e||null}makeButton(e,t=null){return(0,s.BJ)(this.j,e,t)}makeSelect(e,t=null){return(0,s.RR)(this.j,e,t)}shouldBeActive(e){}shouldBeDisabled(e){}getTarget(e){return e.target||null}__immediateUpdate(){this.isDestructed||this.j.isLocked||(super.update(),this.j.e.fire("afterUpdateToolbar",this))}update(){this.__immediateUpdate()}setDirection(e){this.container.style.direction=e,this.container.setAttribute("dir",e)}__initEvents(){this.j.e.on(this.__listenEvents,this.update).on("afterSetMode focus",this.__immediateUpdate)}hide(){this.container.remove()}show(){this.appendTo(this.j.toolbarContainer)}showInline(e){throw(0,o.z3)("The method is not implemented for this class.")}build(e,t=null){const r=this.j.e.fire("beforeToolbarBuild",e);return r&&(e=r),super.build(e,t),this}destruct(){this.isDestructed||(this.j.e.off(this.__listenEvents,this.update).off("afterSetMode focus",this.__immediateUpdate),super.destruct())}constructor(e){super(e),this.__listenEvents="updatePlugins updateToolbar changeStack mousedown mouseup keydown change afterInit readonly afterResize selectionchange changeSelection focus afterSetMode touchstart focus blur"}};a([i.autobind],l.prototype,"__immediateUpdate",null),a([(0,i.debounce)(e=>e.j.defaultTimeout,!0)],l.prototype,"update",null),a([(0,i.hook)("ready")],l.prototype,"__initEvents",null),l=a([i.component],l)},11691(e,t,r){r(6441).T.prototype.autocomplete={sources:[],maxItems:50,isMatchedQuery(e,t){return 0===t.toLowerCase().indexOf(e.toLowerCase())},itemRenderer(e){return e.title??e.value},insertValueRenderer(e){return e.value+"&nbsp;"}}},11787(e,t,r){r.d(t,{o(){return l}});var i=r(82758),o=r(65478),n=r(21537),s=r(41601),a=r(159);const l="default",c=new Set(["allowFiles","allowFileMove","allowFileUpload","allowFileUploadRemote","allowFileRemove","allowFileRename","allowFolders","allowFolderMove","allowFolderCreate","allowFolderRemove","allowFolderRename","allowImageResize","allowImageCrop"]);let d=class e{get o(){return this.options}get(e){const t=this.__ajaxInstances;if(t.has(e)){const r=t.get(e);null==r||r.abort(),t.delete(e)}const r=(0,n.ConfigProto)(void 0!==this.options[e]?this.options[e]:{},(0,n.ConfigProto)({onProgress:this.progressHandler},this.o.ajax));r.prepareData&&(r.data=r.prepareData.call(this,r.data));const i=new s.d(r);t.set(e,i);const o=i.send();return o.finally(()=>{i.destruct(),t.delete(e),this.progressHandler(100)}).catch(()=>null),o.then(e=>e.json()).then(e=>{if(e&&!this.isSuccess(e))throw Error(this.getMessage(e));return e})}onProgress(e){this.progressHandler=e}async permissions(e,t){return this.o.permissions?(this.o.permissions.data.path=e,this.o.permissions.data.source=t,this.o.permissions.url?this.get("permissions").then(e=>{if(this.parent.isInDestruct)throw(0,n.abort)();let t=this.o.permissions.process;if(t||(t=this.o.ajax.process),t){const r=t.call(self,e);r.data.permissions&&(this.parent.events.fire(this,"changePermissions",this.__currentPermissions,r.data.permissions),this.__currentPermissions=r.data.permissions)}return this.__currentPermissions}):null):null}canI(e){const t="allow"+e;if(!i.IS_PROD&&!c.has(t))throw(0,n.error)("Wrong action "+e);const r=this.o.permissionsPresets[t];return void 0!==r?r:null==this.__currentPermissions||void 0===this.__currentPermissions[t]||this.__currentPermissions[t]}__items(e,t,r,i){const o=this.options;return o.items?(o.items.data.path=e,o.items.data.source=t,o.items.data.mods=r,this.get("items").then(e=>{let t=this.o.items.process;return t||(t=this.o.ajax.process),t&&(e=t.call(self,e)),i(e)})):Promise.reject(Error("Set Items api options"))}items(e,t,r={}){return this.__items(e,t,r,e=>this.generateItemsList(e.data.sources,r))}itemsEx(e,t,r={}){return this.__items(e,t,r,e=>{return{items:this.generateItemsList(e.data.sources,r),loadedTotal:(t=e.data.sources,t.reduce((e,t)=>e+t.files.length,0))};var t})}generateItemsList(e,t={}){const r=[],i=e=>{var r;return!(null===(r=t.filterWord)||void 0===r?void 0:r.length)||void 0===this.o.filter||this.o.filter(e,t.filterWord)};return e.forEach(e=>{if(e.files&&e.files.length){const{sort:o}=this.o;(0,n.isFunction)(o)&&t.sortBy&&e.files.sort((e,r)=>o(e,r,t.sortBy)),e.files.forEach(o=>{i(o)&&(e=>"folder"===e.type||!t.onlyImages||void 0===e.isImage||e.isImage)(o)&&r.push(a.u.create({...o,sourceName:e.name,source:e}))})}}),r}async tree(e,t){return e=(0,n.normalizeRelativePath)(e),this.o.folder?(await this.permissions(e,t),this.o.folder.data.path=e,this.o.folder.data.source=t,this.get("folder").then(e=>{let t=this.o.folder.process;return t||(t=this.o.ajax.process),t&&(e=t.call(self,e)),e.data.sources})):Promise.reject(Error("Set Folder Api options"))}getPathByUrl(e){return(0,n.set)("options.getLocalFileByUrl.data.url",e,this),this.get("getLocalFileByUrl").then(e=>{if(this.isSuccess(e))return e.data;throw(0,n.error)(this.getMessage(e))})}createFolder(e,t,r){const{create:i}=this.o;if(!i)throw(0,n.error)("Set Create api options");return i.data.source=r,i.data.path=t,i.data.name=e,this.get("create").then(e=>{if(this.isSuccess(e))return!0;throw(0,n.error)(this.getMessage(e))})}move(e,t,r,i){const o=i?"fileMove":"folderMove",s=this.options[o];if(!s)throw(0,n.error)("Set Move api options");return s.data.from=e,s.data.path=t,s.data.source=r,this.get(o).then(e=>{if(this.isSuccess(e))return!0;throw(0,n.error)(this.getMessage(e))})}remove(e,t,r,i){const o=this.o[e];if(!o)throw(0,n.error)(`Set "${e}" api options`);return o.data.path=t,o.data.name=r,o.data.source=i,this.get(e).then(e=>(o.process&&(e=o.process.call(this,e)),this.getMessage(e)))}fileRemove(e,t,r){return this.remove("fileRemove",e,t,r)}folderRemove(e,t,r){return this.remove("folderRemove",e,t,r)}rename(e,t,r,i,o){const s=this.o[e];if(!s)throw(0,n.error)(`Set "${e}" api options`);return s.data.path=t,s.data.name=r,s.data.newname=i,s.data.source=o,this.get(e).then(e=>(s.process&&(e=s.process.call(self,e)),this.getMessage(e)))}folderRename(e,t,r,i){return this.rename("folderRename",e,t,r,i)}fileRename(e,t,r,i){return this.rename("fileRename",e,t,r,i)}changeImage(e,t,r,i,o,n){this.o[e]||(this.o[e]={data:{}});const s=this.o[e];return void 0===s.data&&(s.data={action:e}),s.data.newname=o||i,n&&(s.data.box=n),s.data.path=t,s.data.name=i,s.data.source=r,this.get(e).then(()=>!0)}crop(e,t,r,i,o){return this.changeImage("crop",e,t,r,i,o)}resize(e,t,r,i,o){return this.changeImage("resize",e,t,r,i,o)}getMessage(e){return this.options.getMessage(e)}isSuccess(e){return this.options.isSuccess(e)}destruct(){this.__ajaxInstances.forEach(e=>e.destruct()),this.__ajaxInstances.clear()}constructor(e,t){this.parent=e,this.options=t,this.__currentPermissions=null,this.__ajaxInstances=new Map,this.progressHandler=e=>{}}};d=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([o.autobind],d),t.A=d},11991(e,t,r){r.d(t,{f(){return o}});const i=["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;"_GoBack"===e.attributes.name&&(e.attributes.name=null);for(const t of i)e.attributes[t]&&(e.attributes[t]=null);return e}},12019(e,t,r){var i=r(82758),o=r(65478),n=r(2748),s=r(580),a=r(21537),l=r(20356),c=(r(71675),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});const d="__jodit-resizer_binded";class u extends l.k{afterInit(e){(0,a.$$)("div",this.rect).forEach(t=>{e.e.on(t,"mousedown.resizer touchstart.resizer",this.onStartResizing.bind(this,t))}),s.RR.on("hideHelpers",this.hide),e.e.on("readonly",e=>{e&&this.hide()}).on("afterInit changePlace",this.addEventListeners.bind(this)).on("afterGetValueFromEditor.resizer",e=>{const t=/<jodit[^>]+data-jodit_iframe_wrapper[^>]+>(.*?<iframe[^>]*>.*?<\/iframe>.*?)<\/jodit>/gi;t.test(e.value)&&(e.value=e.value.replace(t,"$1"))}),this.addEventListeners(),this.__onChangeEditor()}onEditorClick(e){let t=e.target;const{editor:r,options:{allowResizeTags:i}}=this.j;for(;t&&t!==r;){if(n.J.isTag(t,i))return this.__bind(t),void this.onClickElement(t);t=t.parentNode}}__afterInsertImage(e){if(this.j.o.resizer.forImageChangeAttributes)return;const t=(0,a.attr)(e,"width");t&&!(0,a.css)(e,"width",!0)&&((0,a.css)(e,"width",t),(0,a.attr)(e,"width",null))}addEventListeners(){const e=this.j;e.e.off(e.editor,".resizer").off(e.ow,".resizer").on(e.editor,"keydown.resizer",e=>{this.isShown&&e.key===i.KEY_DELETE&&this.element&&!n.J.isTag(this.element,"table")&&this.onDelete(e)}).on(e.ow,"resize.resizer",this.updateSize).on("resize.resizer",this.updateSize).on([e.ow,e.editor],"scroll.resizer",()=>{this.isShown&&!this.isResizeMode&&this.hide()}).on(e.ow,"keydown.resizer",this.onKeyDown).on(e.ow,"keyup.resizer",this.onKeyUp).on(e.ow,"mouseup.resizer touchend.resizer",this.onClickOutside)}onStartResizing(e,t){if(!this.element||!this.element.parentNode)return this.hide(),!1;this.handle=e,t.cancelable&&t.preventDefault(),t.stopImmediatePropagation(),this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.isResizeMode=!0,this.startX=t.clientX,this.startY=t.clientY,this.pointerX=t.clientX,this.pointerY=t.clientY;const{j:r}=this;r.e.fire("hidePopup"),r.lock(this.LOCK_KEY),r.e.on(r.ow,"mousemove.resizer touchmove.resizer",this.onResize)}onEndResizing(){const{j:e}=this;e.unlock(),this.isResizeMode=!1,this.isAltMode=!1,e.synchronizeValues(),e.e.off(e.ow,"mousemove.resizer touchmove.resizer",this.onResize)}onResize(e){if(this.isResizeMode){if(!this.element)return;let t,r;if(this.pointerX=e.clientX,this.pointerY=e.clientY,this.j.options.iframe){const i=this.getWorkplacePosition();t=e.clientX+i.left-this.startX,r=e.clientY+i.top-this.startY}else t=this.pointerX-this.startX,r=this.pointerY-this.startY;const i=this.handle.className;let o=0,s=0;const l=this.j.o.resizer.useAspectRatio;!this.isAltMode&&(!0===l||l&&n.J.isTag(this.element,l))?(t?(o=this.width+(i.match(/left/)?-1:1)*t,s=Math.round(o/this.ratio)):(s=this.height+(i.match(/top/)?-1:1)*r,o=Math.round(s*this.ratio)),o>(0,a.innerWidth)(this.j.editor,this.j.ow)&&(o=(0,a.innerWidth)(this.j.editor,this.j.ow),s=Math.round(o/this.ratio))):(o=this.width+(i.match(/left/)?-1:1)*t,s=this.height+(i.match(/top/)?-1:1)*r),o>this.j.o.resizer.min_width&&this.applySize(this.element,"width",this.rect.parentNode.offsetWidth>o?o:"100%"),s>this.j.o.resizer.min_height&&this.applySize(this.element,"height",s),this.updateSize(),this.showSizeViewer(this.element.offsetWidth,this.element.offsetHeight),e.stopImmediatePropagation()}}onKeyDown(e){this.isAltMode=e.key===i.KEY_ALT,!this.isAltMode&&this.isResizeMode&&this.onEndResizing()}onKeyUp(){this.isAltMode&&this.isResizeMode&&this.element&&(this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.startX=this.pointerX,this.startY=this.pointerY),this.isAltMode=!1}onClickOutside(e){if(this.isShown){if(!this.isResizeMode)return this.hide();e.stopImmediatePropagation(),this.onEndResizing()}}getWorkplacePosition(){return(0,a.offset)(this.rect.parentNode||this.j.od.documentElement,this.j,this.j.od,!0)}applySize(e,t,r){const i=n.J.isImage(e)&&this.j.o.resizer.forImageChangeAttributes;i&&(0,a.attr)(e,t,r),i&&!e.style[t]||(0,a.css)(e,t,r)}onDelete(e){this.element&&("JODIT"!==this.element.tagName?this.j.s.select(this.element):(n.J.safeRemove(this.element),this.hide(),e.preventDefault()))}__onChangeEditor(){this.isShown&&(this.element&&this.element.parentNode?this.updateSize():this.hide()),(0,a.$$)("iframe",this.j.editor).forEach(this.__bind)}__bind(e){if(!n.J.isHTMLElement(e)||!this.j.o.allowResizeTags.has(e.tagName.toLowerCase())||(0,a.dataBind)(e,d))return;let t;if((0,a.dataBind)(e,d,!0),n.J.isTag(e,"iframe")){const r=e;n.J.isHTMLElement(e.parentNode)&&(0,a.attr)(e.parentNode,"-jodit_iframe_wrapper")?e=e.parentNode:(t=this.j.createInside.element("jodit",{"data-jodit-temp":1,contenteditable:!1,draggable:!0,"data-jodit_iframe_wrapper":1}),(0,a.attr)(t,"style",(0,a.attr)(e,"style")),(0,a.css)(t,{display:"inline-block"===e.style.display?"inline-block":"block",width:e.offsetWidth,height:e.offsetHeight}),e.parentNode&&e.parentNode.insertBefore(t,e),t.appendChild(e),this.j.e.on(t,"click",()=>{(0,a.attr)(t,"data-jodit-wrapper_active",!0)}),e=t),this.j.e.off(e,"mousedown.select touchstart.select").on(e,"mousedown.select touchstart.select",()=>{this.j.s.select(e)}).off(e,"changesize").on(e,"changesize",()=>{r.setAttribute("width",e.offsetWidth+"px"),r.setAttribute("height",e.offsetHeight+"px")})}this.j.e.on(e,"dragstart",this.hide),!i.IS_ES_NEXT&&i.IS_IE&&this.j.e.on(e,"mousedown",t=>{n.J.isTag(e,"img")&&t.preventDefault()})}showSizeViewer(e,t){this.j.o.resizer.showSize&&(this.sizeViewer.offsetWidth>e||this.sizeViewer.offsetHeight>t?this.hideSizeViewer():(this.sizeViewer.style.opacity="1",this.sizeViewer.textContent=`${e} x ${t}`,this.j.async.setTimeout(this.hideSizeViewer,{timeout:this.j.o.resizer.hideSizeTimeout,label:"hideSizeViewer"})))}show(){this.j.o.readonly||this.isShown||(this.isShown=!0,this.rect.parentNode||((0,a.markOwner)(this.j,this.rect),this.j.workplace.appendChild(this.rect)),this.j.isFullSize&&(this.rect.style.zIndex=""+(0,a.css)(this.j.container,"zIndex")),this.updateSize())}hide(){this.isResizeMode||(this.isResizeMode=!1,this.isShown=!1,this.element=null,n.J.safeRemove(this.rect),(0,a.$$)("[data-jodit-wrapper_active='true']",this.j.editor).forEach(e=>(0,a.attr)(e,"data-jodit-wrapper_active",!1)))}beforeDestruct(e){this.hide(),s.RR.off("hideHelpers",this.hide),e.e.off(this.j.ow,".resizer").off(".resizer")}constructor(){super(...arguments),this.LOCK_KEY="resizer",this.element=null,this.isResizeMode=!1,this.isShown=!1,this.startX=0,this.startY=0,this.width=0,this.height=0,this.ratio=0,this.rect=this.j.c.fromHTML(`<div title="${this.j.i18n("Press Alt for custom resizing")}" class="jodit-resizer">\n\t\t\t\t<div class="jodit-resizer__top-left"></div>\n\t\t\t\t<div class="jodit-resizer__top-right"></div>\n\t\t\t\t<div class="jodit-resizer__bottom-right"></div>\n\t\t\t\t<div class="jodit-resizer__bottom-left"></div>\n\t\t\t\t<span>100x100</span>\n\t\t\t</div>`),this.sizeViewer=this.rect.getElementsByTagName("span")[0],this.pointerX=0,this.pointerY=0,this.isAltMode=!1,this.onClickElement=e=>{this.isResizeMode||this.element===e&&this.isShown||(this.element=e,this.show(),n.J.isTag(this.element,"img")&&!this.element.complete&&this.j.e.one(this.element,"load",this.updateSize))},this.updateSize=()=>{if(!this.isInDestruct&&this.isShown&&this.element&&this.rect){const e=this.getWorkplacePosition(),t=(0,a.offset)(this.element,this.j,this.j.ed),r=parseInt(this.rect.style.left||"0",10),i=t.top-e.top,o=t.left-e.left;parseInt(this.rect.style.top||"0",10)===i&&r===o&&this.rect.offsetWidth===this.element.offsetWidth&&this.rect.offsetHeight===this.element.offsetHeight||((0,a.css)(this.rect,{top:i,left:o,width:this.element.offsetWidth,height:this.element.offsetHeight}),this.j.events&&(this.j.e.fire(this.element,"changesize"),isNaN(r)||this.j.e.fire("resize")))}},this.hideSizeViewer=()=>{this.sizeViewer.style.opacity="0"}}}c([(0,o.watch)(":click")],u.prototype,"onEditorClick",null),c([(0,o.watch)(":afterInsertImage")],u.prototype,"__afterInsertImage",null),c([o.autobind],u.prototype,"onStartResizing",null),c([o.autobind],u.prototype,"onEndResizing",null),c([o.autobind],u.prototype,"onResize",null),c([o.autobind],u.prototype,"onKeyDown",null),c([o.autobind],u.prototype,"onKeyUp",null),c([o.autobind],u.prototype,"onClickOutside",null),c([(0,o.watch)(":change")],u.prototype,"__onChangeEditor",null),c([o.autobind],u.prototype,"__bind",null),c([o.autobind,(0,o.watch)(":hideResizer")],u.prototype,"hide",null),s.fg.add("resizer",u)},12045(e,t,r){function i(e){return!!e&&e instanceof DOMException&&"AbortError"===e.name}r.d(t,{z(){return i}})},12060(e,t,r){r.d(t,{X(){return i.X}});var i=r(20218)},12081(e,t,r){r.d(t,{wc(){return i.w}}),r(65638);var i=r(6700)},12153(e,t,r){r.d(t,{I(){return n}}),r(82758);var i=r(21537),o=r(41180);class n{static getIcon(e){return/<svg/i.test(e)?e:n.icons[e]||n.icons[e.replace(/-/g,"_")]||n.icons[e.replace(/_/g,"-")]||n.icons[(0,i.camelCase)(e)]||n.icons[(0,i.kebabCase)(e)]||n.icons[e.toLowerCase()]}static exists(e){return void 0!==this.getIcon(e)}static get(e,t="<span></span>"){return this.getIcon(e)||t}static set(e,t){return this.icons[e.replace("_","-")]=t,this}static makeIcon(e,t){var r,i,s,a;if(!t)return;let l;const{name:c,iconURL:d,fill:u}=t,h=c.replace(/[^a-zA-Z0-9]/g,"_");let p;/<svg/.test(c)||(p=null===(i=(r=e.o).getIcon)||void 0===i?void 0:i.call(r,c,h));const f=`${c}${d}${u}${null!=p?p:""}`;if(e.o.cache&&this.__cache.has(f))return null===(s=this.__cache.get(f))||void 0===s?void 0:s.cloneNode(!0);if(d)l=e.c.span(),(0,o.A)(l,"backgroundImage","url("+d.replace("{basePath}",(null==e?void 0:e.basePath)||"")+")");else{const t=p||n.get(c,"")||(null===(a=e.o.extraIcons)||void 0===a?void 0:a[c]);t&&(l=e.c.fromHTML(t.trim()),/^<svg/i.test(c)||l.classList.add("jodit-icon_"+h))}return l&&(l.classList.add("jodit-icon"),l.style.fill=u,e.o.cache&&this.__cache.set(f,l.cloneNode(!0))),l}}n.icons={},n.__cache=new Map},12202(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1344 1472q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm256 0q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128-224v320q0 40-28 68t-68 28h-1472q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h427q21 56 70.5 92t110.5 36h256q61 0 110.5-36t70.5-92h427q40 0 68 28t28 68zm-325-648q-17 40-59 40h-256v448q0 26-19 45t-45 19h-256q-26 0-45-19t-19-45v-448h-256q-42 0-59-40-17-39 14-69l448-448q18-19 45-19t45 19l448 448q31 30 14 69z"/> </svg> '},12234(e,t,r){r.d(t,{$(){return l}});var i,o=r(87325),n=r(29960),s=r(80256),a=r(30389);let l=i=class e extends s.t{className(){return"UISelect"}createContainer(e){var t;const r=super.createContainer(e),{j:i}=this,{nativeInput:o}=this,s=()=>i.create.element("option");if(void 0!==e.placeholder){const t=s();t.value="",t.text=i.i18n(e.placeholder),o.add(t)}return null===(t=e.options)||void 0===t||t.forEach(e=>{const t=s();t.value=""+e.value,t.text=i.i18n(e.text),o.add(t)}),e.size&&e.size>0&&(0,n.C)(o,"size",e.size),e.multiple&&(0,n.C)(o,"multiple",""),r}createNativeInput(){return this.j.create.element("select")}updateValidators(){super.updateValidators(),this.state.required&&(this.validators.delete(a.O.required),this.validators.add(a.U.m))}constructor(e,t){super(e,t),this.state={...i.defaultState},Object.assign(this.state,t)}};l.defaultState={...s.t.defaultState,options:[],size:1,multiple:!1},l=i=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([o.s],l)},12270(e,t,r){r.d(t,{IJ(){return c},Tz(){return d},_B(){return a},zy(){return l}});var i=r(82758),o=r(2748),n=r(76078);const s="jd-tmp-selection";function a(e,t,r,n,a){if(null==t.startContainer.nodeValue||null==t.endContainer.nodeValue)return;if(((e,t,r)=>{if(e.o.search.useCustomHighlightAPI&&i.globalWindow&&void 0!==i.globalWindow.Highlight){const i=[t,...r].map(t=>{const r=e.selection.createRange();return r.setStart(t.startContainer,t.startOffset),r.setEnd(t.endContainer,t.endOffset),r}),o=new Highlight(...i);return CSS.highlights.clear(),CSS.highlights.set("jodit-search-result",o),r.length=0,!0}return!1})(e,t,r))return;const l=n.element("span",{[s]:!0});o.J.markTemporary(l),((e,t,r)=>{const i=e.startContainer.nodeValue;let n=0;if(0!==e.startOffset){const t=r.text(i.substring(0,e.startOffset));e.startContainer.nodeValue=i.substring(e.startOffset),o.J.before(e.startContainer,t),e.startContainer===e.endContainer&&(n=e.startOffset,e.endOffset-=n),e.startOffset=0}const s=e.endContainer.nodeValue;if(e.endOffset!==s.length){const i=r.text(s.substring(e.endOffset));e.endContainer.nodeValue=s.substring(0,e.endOffset),o.J.after(e.endContainer,i);for(const r of t){if(r.startContainer!==e.endContainer)break;r.startContainer=i,r.startOffset=r.startOffset-e.endOffset-n,r.endContainer===e.endContainer&&(r.endContainer=i,r.endOffset=r.endOffset-e.endOffset-n)}e.endOffset=e.endContainer.nodeValue.length}})(t,r,n);let c=t.startContainer;do{if(!c)break;if(o.J.isText(c)&&!u(c.parentNode)&&o.J.wrap(c,l.cloneNode(),n),c===t.endContainer)break;let e=c.firstChild||c.nextSibling;if(!e){for(;c&&!c.nextSibling&&c!==a;)c=c.parentNode;e=null==c?void 0:c.nextSibling}c=e}while(c&&c!==a)}function l(e){return(0,n.$$)(`[${s}]`,e)}function c(e){l(e.editor).forEach(e=>o.J.unwrap(e)),(e=>{e.o.search.useCustomHighlightAPI&&i.globalWindow&&void 0!==i.globalWindow.Highlight&&CSS.highlights.clear()})(e)}function d(e){return e.replace(RegExp(`<span[^>]+${s}[^>]+>(.*?)</span>`,"g"),"$1")}function u(e){return o.J.isElement(e)&&e.hasAttribute(s)}},12275(e,t,r){r.d(t,{q(){return d}});var i=r(17263),o=r(82758),n=r(2748),s=r(87612),a=r(70799),l=r(20356),c=r(34013);class d extends l.k{static make(e){return new d(e)}afterInit(e){this.j.e.on("checkReserve",async e=>{const t=this.j.o.license;if((0,i.fI)(e))return"normal";if(!t)return"";const r=e;if(!(0,a.K)(t))return"";let n=(0,i.M0)(t,r);return n||"A">=t[12]||o.IS_TEST||(n=await this.validateLicenseRemote(t,r)),n?"normal":""})}beforeDestruct(e){}async validateLicenseRemote(e,t){const r="validateJoditLicenseRemote",o=this.j.storage.get(r);if(o&&(0,i.M0)(o,t))return!0;const a=document.createElement("script");return a.src=`https://xdsoft.net/jodit/pro/api/licenses/validate/?code=${encodeURIComponent(e)}&host=${encodeURIComponent(t)}`,document.body.appendChild(a),this.j.async.promise(e=>{window.onJoditResolveKeyCode=o=>{try{if((0,s.L)(o))return e(o);(0,i.M0)(o,t)?(this.j.storage.set(r,o),e(!0)):e(!1)}finally{n.J.safeRemove(a)}},this.j.async.setTimeout(()=>{e(!1),n.J.safeRemove(a)},3e3)})}}c.A.plugins.add("license",d)},12391(e,t,r){var i=r(65478),o=r(580),n=r(21537),s=r(41409),a=(r(4604),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});const l="addnewline";class c extends s.Plugin{__show(){this.j.o.readonly||this.j.isLocked||(this.j.async.clearTimeout(this.__timeout),this.__isShown||(this.__isShown=!0,this.j.container.appendChild(this.__line),this.__line.style.width=this.j.container.clientWidth+"px"))}onLock(e){e&&this.__isShown&&this.__hideForce()}__hide(){this.__isShown&&!this.__lineInFocus&&(this.__timeout=this.j.async.setTimeout(this.__hideForce,{timeout:500,label:"add-new-line-hide"}))}afterInit(e){e.o.addNewLine&&(e.e.on(this.__line,"mousemove",e=>{e.stopPropagation()}).on(this.__line,"mousedown touchstart",this.__onClickLine).on("change",this.__hideForce).on(this.__line,"mouseenter",()=>{this.j.async.clearTimeout(this.__timeout),this.__lineInFocus=!0}).on(this.__line,"mouseleave",()=>{this.__lineInFocus=!1}).on("changePlace",this.__addEventListeners.bind(this)),this.__addEventListeners())}__addEventListeners(){const e=this.j;e.e.off(e.editor,"."+l).off(e.container,"."+l).off("."+l).on([e.ow,e.ew,e.editor],"scroll."+l,this.__hideForce).on("finishedCleanHTMLWorker."+l,this.__hideForce).on(e.editor,"click."+l,this.__hide).on(e.container,"mouseleave."+l,this.__hide).on(e.editor,"mousemove."+l,this.__onMouseMove)}onDblClickEditor(e){const t=this.j;if(!t.o.readonly&&t.o.addNewLineOnDBLClick&&e.target===t.editor&&t.s.isCollapsed()){const r=(0,n.offset)(t.editor,t,t.ed),i=e.pageY-t.ew.scrollX,o=t.createInside.element(t.o.enter);Math.abs(i-(r.height+r.top))>Math.abs(i-r.top)&&t.editor.firstChild?t.editor.insertBefore(o,t.editor.firstChild):t.editor.appendChild(o),t.s.setCursorIn(o),t.synchronizeValues(),this.__hideForce(),e.preventDefault()}}__onMouseMove(e){const t=this.j;let r=t.ed.elementFromPoint(e.clientX,e.clientY);if(!s.Dom.isHTMLElement(r)||!s.Dom.isOrContains(t.editor,r))return;if(t.editor===r||this.__isMatchedTag(r)||(r=s.Dom.closest(r,this.__isMatchedTag,t.editor)),!r)return void this.__hide();if(this.__isMatchedTag(r)){const e=s.Dom.up(r,s.Dom.isBlock,t.editor);e&&e!==t.editor&&(r=e)}const i=(0,n.position)(r,this.j);let o=!1,{clientY:a,clientX:l}=e;if(this.j.iframe){const{top:e,left:t}=(0,n.position)(this.j.iframe,this.j,!0);a+=e,l+=t}const c=this.j.o.addNewLineDeltaShow;Math.abs(a-i.top)>c?Math.abs(a-(i.top+i.height))>c||(o=i.top+i.height,this.__isBeforeContent=!1):(o=i.top,this.__isBeforeContent=!0);const d=t.editor===r;!1!==o&&(d&&!this.__isBeforeContent||!d&&!(0,n.call)(this.__isBeforeContent?s.Dom.prev:s.Dom.next,r,this.__canGetFocus,t.editor))?(this.__line.style.top=o+"px",this.__current=r,this.__show(),this.__line.style.setProperty("--jd-anl-handle-offset",l-i.left-10+"px")):(this.__current=!1,this.__hide())}beforeDestruct(){this.j.async.clearTimeout(this.__timeout),this.j.e.off(this.__line).off("changePlace",this.__addEventListeners),s.Dom.safeRemove(this.__line),this.j.e.off([this.j.ow,this.j.ew,this.j.editor],"."+l).off(this.j.container,"."+l).off("."+l)}constructor(){super(...arguments),this.__line=this.j.c.fromHTML(`<div role="button" tabindex="-1" title="${this.j.i18n("Break")}" class="jodit-add-new-line"><span>${s.Icon.get("enter")}</span></div>`),this.__isMatchedTag=e=>!(!e||!this.j.o.addNewLineTagsTriggers.includes(e.nodeName.toLowerCase())),this.__isBeforeContent=!1,this.__lineInFocus=!1,this.__isShown=!1,this.__hideForce=()=>{this.__isShown&&(this.__isShown=!1,this.j.async.clearTimeout(this.__timeout),this.__lineInFocus=!1,s.Dom.safeRemove(this.__line),this.__line.style.setProperty("--jd-anl-handle-offset","0"))},this.__canGetFocus=e=>null!=e&&s.Dom.isBlock(e)&&!/^(img|table|iframe|hr)$/i.test(e.nodeName),this.__onClickLine=e=>{const t=this.j,r=t.createInside.element(t.o.enter);this.__isBeforeContent&&this.__current&&this.__current.parentNode?this.__current===t.editor?s.Dom.prepend(t.editor,r):this.__current.parentNode.insertBefore(r,this.__current):t.editor.appendChild(r),t.s.setCursorIn(r),(0,n.scrollIntoViewIfNeeded)(r,t.editor,t.ed),t.synchronizeValues(),this.__hideForce(),e.preventDefault()}}}a([(0,i.watch)(":lock")],c.prototype,"onLock",null),a([i.autobind],c.prototype,"__hide",null),a([(0,i.watch)(":dblclick")],c.prototype,"onDblClickEditor",null),a([(0,i.throttle)(e=>e.defaultTimeout)],c.prototype,"__onMouseMove",null),o.fg.add("addNewLine",c)},12474(e,t,r){r.d(t,{_(){return o}});var i=r(2748);function o(e,t,r){const o=i.J.closest(t,i.J.isElement,e.editor);if(!o)return!1;const n=i.J.findNotEmptySibling(o,r);return!(!n||!i.J.isEmpty(n)||(i.J.safeRemove(n),e.s.setCursorBefore(t),0))}},12475(e,t,r){r.d(t,{N(){return o},k(){return i}});const i=e=>e.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),o=e=>e.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},12972(e,t,r){r.d(t,{f(){return i}});const i=(e,t=8)=>{const r=[];for(;e.length;)r.push(e.substr(0,t)),e=e.substr(t);return r[1]=r[1].replace(/./g,"*"),r[2]=r[2].replace(/./g,"*"),r.join("-")}},13252(e,t,r){r.d(t,{D(){return n},w(){return o}});var i=r(82758);function o(e,t,...r){return t?i.globalWindow.setTimeout(e,t,...r):(e.call(null,...r),0)}function n(e){i.globalWindow.clearTimeout(e)}},13465(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path stroke-width="0" d="M381 1620q0 80-54.5 126t-135.5 46q-106 0-172-66l57-88q49 45 106 45 29 0 50.5-14.5t21.5-42.5q0-64-105-56l-26-56q8-10 32.5-43.5t42.5-54 37-38.5v-1q-16 0-48.5 1t-48.5 1v53h-106v-152h333v88l-95 115q51 12 81 49t30 88zm2-627v159h-362q-6-36-6-54 0-51 23.5-93t56.5-68 66-47.5 56.5-43.5 23.5-45q0-25-14.5-38.5t-39.5-13.5q-46 0-81 58l-85-59q24-51 71.5-79.5t105.5-28.5q73 0 123 41.5t50 112.5q0 50-34 91.5t-75 64.5-75.5 50.5-35.5 52.5h127v-60h105zm1409 319v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm-1408-899v99h-335v-99h107q0-41 .5-122t.5-121v-12h-2q-8 17-50 54l-71-76 136-127h106v404h108zm1408 387v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/> </svg> '},13525(e,t,r){r.d(t,{u(){return s}});var i=r(78213),o=r(23282),n=r(89890);function s(e){return(t,r)=>{if(!(0,o.T)(t[r]))throw(0,n.z3)("Handler must be a Function");t.hookStatus(i.f.ready,t=>{const{async:i}=t,o=t[r];let n=0;Object.defineProperty(t,r,{configurable:!0,value:function r(...s){i.clearTimeout(n),e(t)?o.apply(t,s):n=i.setTimeout(()=>r(...s),10)}})})}}},14041(e,t,r){r.d(t,{M(){return l},o(){return d}});var i=r(82758),o=r(12475),n=r(63799),s=r(89672);const a=new Set;async function l(e,t){const r=c(e,t,!1);if(!a.has(r))return a.add(r),(0,n.S5)(e,r)}function c(e,t,r){return t=(0,o.k)(t),e.basePath+"plugins/"+t+"/"+t+(e.minified?".min":"")+"."+(r?"js":"css")}function d(e,t,r,o){try{const i=r.filter(t=>!e.has((0,s.P)(t.name)));i.length&&((e,t,r)=>{t.map(t=>{const i=t.url||c(e,t.name,!0);return(0,n.w4)(e,i).then(r).catch(()=>null)})})(t,i,o)}catch(e){if(!i.IS_PROD)throw e}}},14306(e,t){t.A=["bold","italic","|","ul","ol","eraser","|","fontsize","brush","paragraph","---","image","table","\n","link","|","align","|","undo","redo","|","copyformat","fullsize","---","dots"]},14316(e,t,r){r.d(t,{O(){return o}});var i=r(4510);class o{getElm(e){return this.container.querySelector("."+this.getFullElName(e))}getElms(e){return(0,i.$)(this.container.querySelectorAll("."+this.getFullElName(e)))}}},14415(e,t,r){r.d(t,{G(){return n},n(){return s}});var i=r(84767),o=r(49055);const n=e=>/^[-+]?[0-9.]+(px)?$/.test(""+e)?parseFloat(""+e):e,s=e=>(0,i.E)(e)?e?e+"px":""+e:(e=(0,o.Bq)(e),/^[0-9]+$/.test(e)?e+"px":e)},14625(e,t,r){r.d(t,{Y(){return o}});var i=r(4510);function o(e){const t=(e,t=e.ownerDocument.styleSheets)=>(0,i.$)(t).map(e=>{try{return(0,i.$)(e.cssRules)}catch(e){}return[]}).flat().filter(t=>{try{return!(!t||!e.matches(t.selectorText))}catch(e){}return!1});class r{generateCSS(){let e="";for(const t in this.css)if(!/:not\(/.test(t)){e+=t+" { ";for(const r in this.css[t])e+=r+": "+this.css[t][r]+"; ";e+="}\n"}return e}constructor(r,i,o){this.css={};const n=o||{},s=t=>{const r=t.selectorText.split(",").map(e=>e.trim()).sort().join(",");0==!!this.css[r]&&(this.css[r]={});const i=t.style.cssText.split(/;(?![A-Za-z0-9])/);for(let t=0;i.length>t;t++){if(!i[t])continue;const o=i[t].split(":");o[0]=o[0].trim(),o[1]=o[1].trim(),this.css[r][o[0]]=o[1].replace(/var\(([^)]+)\)/g,(t,r)=>{const[i,o]=r.split(",");return(e.ew.getComputedStyle(e.editor).getPropertyValue(i.trim())||o||t).trim()})}};(()=>{const o=r.innerHeight,a=i.createTreeWalker(e.editor,NodeFilter.SHOW_ELEMENT,()=>NodeFilter.FILTER_ACCEPT);for(;a.nextNode();){const e=a.currentNode;if(o>e.getBoundingClientRect().top||n.scanFullPage){const r=t(e);if(r)for(let e=0;r.length>e;e++)s(r[e])}}})()}}try{return new r(e.ew,e.ed,{scanFullPage:!0}).generateCSS()}catch(e){}return""}},14630(e,t,r){r.d(t,{C(){return h}});var i=r(62845),o=r(91748),n=r(73792),s=r(87536),a=r(12474),l=r(58940),c=r(56825),d=r(90240),u=r(68034);const h=[c.f,s.V,n.H,d.R,l.C,a._,o.a,i.E,u.B]},14721(e,t,r){r.d(t,{N(){return n}});var i=r(41180),o=r(14415);function n(e,t,r,n,s,a,l){const c=[t,r,n,s],d=(e,t)=>{const r=(0,i.A)(a,e),n=(0,o.n)(t);""+r!=""+n&&(0,i.A)(a,e,n)};if(l)d("margin",t);else{const e=["margin-top","margin-right","margin-bottom","margin-left"];c.forEach((t,r)=>{d(e[r],t)})}}},14773(e,t,r){function i(e){return e&&"function"==typeof e.then}r.d(t,{y(){return i}})},14862(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 312 312"> <g transform="translate(0.000000,312.000000) scale(0.100000,-0.100000)" stroke="none"> <path d="M50 3109 c0 -7 -11 -22 -25 -35 l-25 -23 0 -961 0 -961 32 -29 32 -30 501 -2 500 -3 3 -502 2 -502 31 -30 31 -31 958 0 958 0 23 25 c13 13 30 25 37 25 9 0 12 199 12 960 0 686 -3 960 -11 960 -6 0 -24 12 -40 28 l-29 27 -503 5 -502 5 -5 502 -5 503 -28 29 c-15 16 -27 34 -27 40 0 8 -274 11 -960 11 -710 0 -960 -3 -960 -11z m1738 -698 l2 -453 -40 -40 c-22 -22 -40 -43 -40 -47 0 -4 36 -42 79 -85 88 -87 82 -87 141 -23 l26 27 455 -2 454 -3 0 -775 0 -775 -775 0 -775 0 -3 450 -2 449 47 48 47 48 -82 80 c-44 44 -84 80 -87 80 -3 0 -25 -18 -48 -40 l-41 -40 -456 2 -455 3 -3 765 c-1 421 0 771 3 778 3 10 164 12 777 10 l773 -3 3 -454z"/> <path d="M607 2492 c-42 -42 -77 -82 -77 -87 0 -6 86 -96 190 -200 105 -104 190 -197 190 -205 0 -8 -41 -56 -92 -107 -65 -65 -87 -94 -77 -98 8 -3 138 -4 289 -3 l275 3 3 275 c1 151 0 281 -3 289 -4 10 -35 -14 -103 -82 -54 -53 -103 -97 -109 -97 -7 0 -99 88 -206 195 -107 107 -196 195 -198 195 -3 0 -39 -35 -82 -78z"/> <path d="M1470 1639 c-47 -49 -87 -91 -89 -94 -5 -6 149 -165 160 -165 9 0 189 179 189 188 0 12 -154 162 -165 161 -6 0 -48 -41 -95 -90z"/> <path d="M1797 1303 c-9 -8 -9 -568 0 -576 4 -4 50 36 103 88 54 52 101 95 106 95 5 0 95 -85 199 -190 104 -104 194 -190 200 -190 6 0 46 36 90 80 l79 79 -197 196 c-108 108 -197 199 -197 203 0 4 45 52 99 106 55 55 98 103 95 108 -6 10 -568 11 -577 1z"/> </g> </svg> '},14984(e,t,r){var i=r(21537),o=r(62843),n=r(2525),s=r(12153),a=r(6441),l=r(92762),c=r(37775);a.T.prototype.video={parseUrlToVideoEmbed:i.convertMediaUrlToVideoEmbed,defaultWidth:400,defaultHeight:345},s.I.set("video",c.A),a.T.prototype.controls.video={popup(e,t,r){const s=new n.XV(e,[new n.Yh(e,[new n.tS(e,{name:"url",required:!0,label:"URL",placeholder:"https://",validators:["url"]})]),new n.Yh(e,[(0,o.$n)(e,"","Insert","primary").onAction(()=>s.submit())])]),a=new n.XV(e,[new n.Yh(e,[new n.F0(e,{name:"code",required:!0,label:"Embed code"})]),new n.Yh(e,[(0,o.$n)(e,"","Insert","primary").onAction(()=>a.submit())])]),c=[],d=t=>{e.s.restore(),e.s.insertHTML(t),r()};return e.s.save(),c.push({icon:"link",name:"Link",content:s.container},{icon:"source",name:"Code",content:a.container}),s.onSubmit(t=>{var r,o,n,s;d((0,i.call)(null!==(o=null===(r=e.o.video)||void 0===r?void 0:r.parseUrlToVideoEmbed)&&void 0!==o?o:i.convertMediaUrlToVideoEmbed,t.url,{width:null===(n=e.o.video)||void 0===n?void 0:n.defaultWidth,height:null===(s=e.o.video)||void 0===s?void 0:s.defaultHeight}))}),a.onSubmit(e=>{d(e.code)}),(0,l.Zg)(e,c)},tags:["iframe"],tooltip:"Insert youtube/vimeo video"}},15456(e,t,r){r.d(t,{X(){return i}});const i=e=>{if("undefined"!=typeof navigator&&-1!==navigator.userAgent.indexOf("Mac OS X")){if(e.metaKey&&!e.altKey)return!0}else if(e.ctrlKey&&!e.altKey)return!0;return!1}},15738(e,t,r){r.d(t,{X(){return n},d(){return s}});var i=r(4510),o=r(38837);const n="JoditEventDefaultNamespace";class s{get(e,t){if(this.__store.has(t)){const r=this.__store.get(t);return(0,o.v)(r,"-"),r[e]}}indexOf(e,t,r){const i=this.get(e,t);if(i)for(let e=0;i.length>e;e+=1)if(i[e].originalCallback===r)return e;return!1}namespaces(e=!1){const t=(0,i.$)(this.__store.keys());return e?t.filter(e=>e!==n):t}events(e){const t=this.__store.get(e);return t?Object.keys(t):[]}set(e,t,r,i=!1){let o=this.__store.get(t);o||(o={},this.__store.set(t,o)),void 0===o[e]&&(o[e]=[]),i?o[e].unshift(r):o[e].push(r)}clear(){this.__store.clear()}clearEvents(e,t){const r=this.__store.get(e);r&&r[t]&&(delete r[t],Object.keys(r).length||this.__store.delete(e))}isEmpty(){return 0===this.__store.size}constructor(){this.__store=new Map}}},16020(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1760 896q14 0 23 9t9 23v64q0 14-9 23t-23 9h-1728q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h1728zm-1277-64q-28-35-51-80-48-97-48-188 0-181 134-309 133-127 393-127 50 0 167 19 66 12 177 48 10 38 21 118 14 123 14 183 0 18-5 45l-12 3-84-6-14-2q-50-149-103-205-88-91-210-91-114 0-182 59-67 58-67 146 0 73 66 140t279 129q69 20 173 66 58 28 95 52h-743zm507 256h411q7 39 7 92 0 111-41 212-23 55-71 104-37 35-109 81-80 48-153 66-80 21-203 21-114 0-195-23l-140-40q-57-16-72-28-8-8-8-22v-13q0-108-2-156-1-30 0-68l2-37v-44l102-2q15 34 30 71t22.5 56 12.5 27q35 57 80 94 43 36 105 57 59 22 132 22 64 0 139-27 77-26 122-86 47-61 47-129 0-84-81-157-34-29-137-71z"/> </svg> '},16233(e,t,r){var i=r(22732),o=r(580),n=r(12153),s=r(6441),a=r(72337);n.I.set("hr",a.A),s.T.prototype.controls.hr={command:"insertHorizontalRule",tags:["hr"],tooltip:"Insert Horizontal Line"},o.fg.add("hr",e=>{e.registerButton({name:"hr",group:"insert"}),e.registerCommand("insertHorizontalRule",()=>{const t=e.createInside.element("hr");e.s.insertNode(t,!1,!1);const r=i.J.closest(t.parentElement,i.J.isBlock,e.editor);r&&i.J.isEmpty(r)&&r!==e.editor&&(i.J.after(r,t),i.J.safeRemove(r));let o=i.J.next(t,i.J.isBlock,e.editor,!1);return o||(o=e.createInside.element(e.o.enter),i.J.after(t,o)),e.s.setCursorIn(o),!1})})},16260(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1203 544q0 13-10 23l-393 393 393 393q10 10 10 23t-10 23l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg> '},16442(e,t,r){r.d(t,{m(){return s}});var i=r(82758),o=r(2748),n=r(43555);function s(e){if(!e)return null;const t=o.J.isHTMLElement(e),r=t&&(0,n.AH)(e,"overflowY");return t&&"visible"!==r&&"hidden"!==r&&e.scrollHeight>=e.clientHeight?e:s(e.parentNode)||i.globalDocument.scrollingElement||i.globalDocument.body}},17096(e,t,r){r.d(t,{H(){return o}});const i={i:"em",b:"strong"};function o(e){const{name:t}=e;return t in i&&(e.name=i[t]),e}},17176(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1152 1376v-160q0-14-9-23t-23-9h-96v-512q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896v-160q0-14-9-23t-23-9h-192q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"/> </svg> '},17263(e,t,r){r.d(t,{M0(){return n},fI(){return o}});const i=["*localhost*","staging.","*.dev.","*.test.","*.stg.","stg.*","test.*","beta.*","*demo.*","*test.*","acceptatie.*"];function o(e){return i.some(t=>{var r;return RegExp((r=t.replace(/\*/g,"%ANY%"),r.replace(/[/\-\\^$*+?.()|[\]{}]/g,"\\$&")).replace(/%ANY%/g,".*")).test(e)})}function n(e,t){if((e=>/[A-Z0-9][013456][A-P0-9]{2}[ABC]-([0-3])[ELPDF][E-L4-8]{2}\1-[A-D][R0][J-P5-6]{3}-[DPGHYE][GFPOD]{3}[A-SX-Z]/.test(e))(e=e.replace(/[^A-Z0-9-]/g,"R")))return!0;if(o(t))return!0;const r=(e=>{const t=e.split(".");return t.map(e=>{const t=e[0];return"string"==typeof t&&t.charCodeAt(0)?String.fromCharCode(t.charCodeAt(0)+1):t}).concat(t.map(e=>{const 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")})(t),i=["[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}",r[t]||"[R-T]")),s=RegExp(`^${i.join("-")}$`,"i"),a=e.substring(12,13),l=s.test(e);if(!l&&a===(typeof!t).toUpperCase()[5]){const r=t.split(".");return r.shift(),!!r.length&&n(e,r.join("."))}return l}},17328(e,t,r){r.d(t,{c(){return l}});var i,o=r(65478),n=r(2748),s=r(80256),a=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};let l=i=class e extends s.t{className(){return"UICheckbox"}render(){return this.j.c.element("label",{className:this.componentName})}onChangeChecked(){this.value=""+this.state.checked,this.nativeInput.checked=this.state.checked,this.setMod("checked",this.state.checked)}onChangeNativeCheckBox(){this.state.checked=this.nativeInput.checked}onChangeSwitch(){this.setMod("switch",this.state.switch);let e=this.getElm("switch-slider");this.state.switch?(e||(e=this.j.c.div(this.getFullElName("switch-slider"))),n.J.after(this.nativeInput,e)):n.J.safeRemove(e)}constructor(e,t){super(e,{...t,type:"checkbox"}),this.state={...i.defaultState},Object.assign(this.state,t)}};l.defaultState={...s.t.defaultState,checked:!1,switch:!1},a([(0,o.watch)("state.checked"),(0,o.hook)("ready")],l.prototype,"onChangeChecked",null),a([(0,o.watch)("nativeInput:change")],l.prototype,"onChangeNativeCheckBox",null),a([(0,o.watch)("state.switch"),(0,o.hook)("ready")],l.prototype,"onChangeSwitch",null),l=i=a([o.component],l)},17555(e,t,r){r.r(t),r.d(t,{angle_down(){return i.A},angle_left(){return o.A},angle_right(){return n.A},angle_up(){return s.A},bin(){return a.A},cancel(){return l.A},center(){return c.A},check(){return d.A},chevron(){return u.A},dots(){return h.A},eye(){return p.A},file(){return f.A},folder(){return m.A},info_circle(){return g.A},left(){return v.A},lock(){return b.A},ok(){return y.A},pencil(){return w.A},plus(){return _.A},resize_handler(){return k.A},right(){return C.A},save(){return S.A},settings(){return T.A},unlock(){return E.A},update(){return I.A},upload(){return A.A},valign(){return j.A}});var i=r(78173),o=r(16260),n=r(37663),s=r(51036),a=r(31554),l=r(18309),c=r(99762),d=r(7903),u=r(58032),h=r(52507),p=r(43478),f=r(60097),m=r(49155),g=r(17176),v=r(57882),b=r(58908),y=r(24829),w=r(4038),_=r(45575),k=r(84858),C=r(445),S=r(36886),T=r(10766),E=r(33651),I=r(20362),A=r(12202),j=r(80152)},17583(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M448 1536h896v-256h-896v256zm0-640h896v-384h-160q-40 0-68-28t-28-68v-160h-640v640zm1152 64q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128 0v416q0 13-9.5 22.5t-22.5 9.5h-224v160q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-160h-224q-13 0-22.5-9.5t-9.5-22.5v-416q0-79 56.5-135.5t135.5-56.5h64v-544q0-40 28-68t68-28h672q40 0 88 20t76 48l152 152q28 28 48 76t20 88v256h64q79 0 135.5 56.5t56.5 135.5z"/> </svg> '},18309(e,t){t.A='<svg viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"> <g stroke="none" stroke-width="1"> <path d="M14,1.4 L12.6,0 L7,5.6 L1.4,0 L0,1.4 L5.6,7 L0,12.6 L1.4,14 L7,8.4 L12.6,14 L14,12.6 L8.4,7 L14,1.4 Z"/> </g> </svg> '},18363(e,t,r){r(580).fg.add("poweredByJodit",e=>{const{o:t}=e;t.hidePoweredByJodit||t.inline||!(t.showCharsCounter||t.showWordsCounter||t.showXPathInStatusbar)||e.hookStatus("ready",()=>{e.statusbar.append(e.create.fromHTML('<a\n\t\t\t\t\t\ttabindex="-1"\n\t\t\t\t\t\tstyle="text-transform: uppercase"\n\t\t\t\t\t\tclass="jodit-status-bar-link"\n\t\t\t\t\t\ttarget="_blank"\n\t\t\t\t\t\thref="https://xdsoft.net/jodit/">\n\t\t\t\t\t\t\tPowered by Jodit\n\t\t\t\t\t\t</a>'),!0)})})},19007(e,t){t.A={"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 для зміни розміру"}},19057(e,t,r){r.d(t,{t(){return o}});var i=r(2748);function o(e,t){return!!i.J.prev(e,e=>i.J.isBlock(e)||i.J.isImage(e),t.editor)}},19063(e,t,r){var i=r(2748),o=r(580),n=r(41180),s=r(12153),a=r(6441),l=r(57487),c=r(23914);const d="copy-format",u=["lineHeight","fontWeight","fontStyle","fontSize","fontFamily","color","margin","padding","borderWidth","borderStyle","borderColor","borderRadius","backgroundColor","textDecorationLine"],h=(e,t,r,i)=>{let o=(0,n.A)(r,t);return o===i[t]&&(o=r.parentNode&&r!==e.editor&&r.parentNode!==e.editor?h(e,t,r.parentNode,i):void 0),o};a.T.prototype.controls.copyformat={exec(e,t,{button:r}){if(t){if(e.buffer.exists(d))e.buffer.delete(d),e.e.off(e.editor,"mouseup."+d);else{const r={},o=i.J.up(t,e=>e&&!i.J.isText(e),e.editor)||e.editor,s=e.createInside.span();e.editor.appendChild(s),u.forEach(e=>{r[e]=(0,n.A)(s,e)}),s!==e.editor&&i.J.safeRemove(s);const a=((e,t,r)=>{const i={};return t&&u.forEach(o=>{i[o]=h(e,o,t,r),o.match(/border(Style|Color)/)&&!i.borderWidth&&(i[o]=void 0)}),i})(e,o,r),l=()=>{e.buffer.delete(d);const t=e.s.current();t&&(i.J.isTag(t,"img")?(0,n.A)(t,a):e.s.commitStyle({attributes:{style:a}})),e.e.off(e.editor,"mouseup."+d)};e.e.on(e.editor,"mouseup."+d,l),e.buffer.set(d,!0)}r.update()}},isActive(e){return e.buffer.exists(d)},tooltip:"Paint format"},o.fg.add("copyformat",e=>{e.registerButton({name:"copyformat",group:"clipboard"}),(0,o.JW)(c)}),s.I.set("copyformat",l.A)},19070(e,t,r){r.d(t,{Y(){return s}});var i=r(87325),o=r(43555),n=r(62405);let s=class e extends n.U{className(){return"UIBlock"}constructor(e,t,r={align:"left"}){super(e,t),this.options=r,this.setMod("align",this.options.align||"left"),this.setMod("width",this.options.width||""),this.options.mod&&this.setMod(this.options.mod,!0),this.options.className&&this.container.classList.add(this.options.className),(0,o.CF)(this.container,"data-ref",r.ref),(0,o.CF)(this.container,"ref",r.ref)}};s=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([i.s],s)},19263(e,t,r){r.d(t,{L(){return a}});var i=r(22732),o=r(29960),n=r(82515),s=r(6980);function a(e,t,r){const a=((e,t,r)=>e.elementIsBlock?i.J.up(t,e=>i.J.isBlock(e)&&!i.J.isTag(e,l),r.editor)||(0,s.Y)(e,t,r):((0,o.C)(t,"size",null),t))(e,t,r);return e.elementIsList?(0,n.z)(e,a,r):i.J.replace(a,e.element,r.createInside,!0)}const l=new Set(["td","th","tr","tbody","table","li","ul","ol"])},19271(e,t,r){var i=r(82758),o=r(65478),n=r(2748),s=r(580),a=r(21537),l=r(50911),c=r(8172),d=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};class u extends l.k{afterInit(){this.j.e.on([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)}onDragStart(e){let t=e.target;if(this.onDragEnd(),this.isFragmentFromEditor=n.J.isOrContains(this.j.editor,t,!0),this.isCopyMode=!this.isFragmentFromEditor||(0,a.ctrlKey)(e),this.isFragmentFromEditor){const e=this.j.s.sel,t=e&&e.rangeCount?e.getRangeAt(0):null;t&&(this.bufferRange=t.cloneRange())}else this.bufferRange=null;this.startDragPoint.x=e.clientX,this.startDragPoint.y=e.clientY,(e=>n.J.isElement(e)&&e.classList.contains(c.Q.prototype.getFullElName("item")))(t)&&(t=t.querySelector("img")),n.J.isTag(t,"img")&&(this.draggable=t.cloneNode(!0),(0,a.dataBind)(this.draggable,"target",t)),this.addDragListeners()}addDragListeners(){this.j.e.on("dragover",this.onDrag).on("drop.DragAndDrop",this.onDrop).on(window,"dragend.DragAndDrop drop.DragAndDrop mouseup.DragAndDrop",this.onDragEnd)}removeDragListeners(){this.j.e.off("dragover",this.onDrag).off("drop.DragAndDrop",this.onDrop).off(window,"dragend.DragAndDrop drop.DragAndDrop mouseup.DragAndDrop",this.onDragEnd)}onDrag(e){this.draggable&&(this.j.e.fire("hidePopup"),this.j.s.insertCursorAtPoint(e.clientX,e.clientY),e.preventDefault(),e.stopPropagation())}onDragEnd(){this.draggable&&(n.J.safeRemove(this.draggable),this.draggable=null),this.isCopyMode=!1,this.removeDragListeners()}onDrop(e){if(!e.dataTransfer||!e.dataTransfer.files||!e.dataTransfer.files.length){if(!this.isFragmentFromEditor&&!this.draggable)return this.j.e.fire("paste",e),e.preventDefault(),e.stopPropagation(),!1;const t=this.j.s.sel,r=this.bufferRange||(t&&t.rangeCount?t.getRangeAt(0):null),i=this.__getWorkFragment(r,e);t&&t.removeAllRanges(),this.j.s.insertCursorAtPoint(e.clientX,e.clientY),i&&this.__insertFragment.call(this,i,r),e.preventDefault(),e.stopPropagation()}this.isFragmentFromEditor=!1,this.removeDragListeners()}__getWorkFragment(e,t){let r=null;if(!this.draggable&&e)r=this.isCopyMode?e.cloneContents():e.extractContents();else if(this.draggable)if(this.isCopyMode){const[e,t]="1"===(0,a.attr)(this.draggable,"-is-file")?["a","href"]:["img","src"];r=this.j.createInside.element(e),r.setAttribute(t,(0,a.attr)(this.draggable,"data-src")||(0,a.attr)(this.draggable,"src")||""),"a"===e&&(r.textContent=(0,a.attr)(r,t)||"")}else r=(0,a.dataBind)(this.draggable,"target");else this.getText(t)&&(r=this.j.createInside.fromHTML(this.getText(t)));return r}__insertFragment(e,t){this.j.s.insertNode(e,!1,!1),t&&e.firstChild&&e.lastChild&&(t.setStartBefore(e.firstChild),t.setEndAfter(e.lastChild),this.j.s.selectRange(t),this.j.e.fire("synchro")),n.J.isTag(e,"img")&&this.j.events&&this.j.e.fire("afterInsertImage",e)}beforeDestruct(){this.onDragEnd(),this.j.e.off(window,".DragAndDrop").off(".DragAndDrop").off([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)}constructor(){super(...arguments),this.isFragmentFromEditor=!1,this.isCopyMode=!1,this.startDragPoint={x:0,y:0},this.draggable=null,this.bufferRange=null,this.getText=e=>{const t=(0,a.getDataTransfer)(e);return t?t.getData(i.TEXT_HTML)||t.getData(i.TEXT_PLAIN):null}}}d([o.autobind],u.prototype,"onDragStart",null),d([(0,o.throttle)(e=>e.defaultTimeout/10)],u.prototype,"onDrag",null),d([o.autobind],u.prototype,"onDragEnd",null),d([o.autobind],u.prototype,"onDrop",null),s.fg.add("dragAndDrop",u)},19292(e,t){t.A={"Type something":"Escreva algo...",Advanced:"Avançado","About Jodit":"Sobre o Jodit","Jodit Editor":"Editor Jodit","Jodit User's Guide":"Guia de usuário Jodit","contains detailed help for using":"contém ajuda detalhada para o uso.","For information about the license, please go to our website:":"Para informação sobre a licença, por favor visite nosso site:","Buy full version":"Compre a versão completa","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Todos os direitos reservados.",Anchor:"Link","Open in new tab":"Abrir em nova aba","Open in fullsize":"Abrir editor em tela cheia","Clear Formatting":"Limpar formatação","Fill color or set the text color":"Cor de preenchimento ou cor do texto",Redo:"Refazer",Undo:"Desfazer",Bold:"Negrito",Italic:"Itálico","Insert Unordered List":"Inserir lista não ordenada","Insert Ordered List":"Inserir lista ordenada","Align Center":"Centralizar","Align Justify":"Justificar","Align Left":"Alinhar à Esquerda","Align Right":"Alinhar à Direita","Insert Horizontal Line":"Inserir linha horizontal","Insert Image":"Inserir imagem","Insert file":"Inserir arquivo","Insert youtube/vimeo video":"Inserir vídeo do Youtube/vimeo","Insert link":"Inserir link","Font size":"Tamanho da letra","Font family":"Fonte","Insert format block":"Inserir bloco",Normal:"Normal","Heading 1":"Cabeçalho 1","Heading 2":"Cabeçalho 2","Heading 3":"Cabeçalho 3","Heading 4":"Cabeçalho 4",Quote:"Citação",Code:"Código",Insert:"Inserir","Insert table":"Inserir tabela","Decrease Indent":"Diminuir recuo","Increase Indent":"Aumentar recuo","Select Special Character":"Selecionar caractere especial","Insert Special Character":"Inserir caractere especial","Paint format":"Copiar formato","Change mode":"Mudar modo",Margins:"Margens",top:"cima",right:"direta",bottom:"baixo",left:"esquerda",Styles:"Estilos CSS",Classes:"Classes CSS",Align:"Alinhamento",Right:"Direita",Center:"Centro",Left:"Esquerda","--Not Set--":"--Não Estabelecido--",Src:"Fonte",Title:"Título",Alternative:"Texto Alternativo",Link:"Link","Open link in new tab":"Abrir link em nova aba",Image:"Imagem",file:"Arquivo","Image properties":"Propriedades da imagem",Cancel:"Cancelar",Ok:"Ok","Your code is similar to HTML. Keep as HTML?":"Seu código é similar ao HTML. Manter como HTML?","Paste as HTML":"Colar como HTML?",Keep:"Manter",Clean:"Limpar","Insert as Text":"Inserir como Texto","Word Paste Detected":"Colado do Word Detectado","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"O conteúdo colado veio de um documento Microsoft Word/Excel. Você deseja manter o formato ou limpa-lo?","Insert only Text":"Inserir somente o Texto","File Browser":"Procurar arquivo","Error on load list":"Erro ao carregar a lista","Error on load folders":"Erro ao carregar as pastas","Are you sure?":"Você tem certeza?","Enter Directory name":"Escreva o nome da pasta","Create directory":"Criar pasta","type name":"Escreva seu nome","Drop image":"Soltar imagem","Drop file":"Soltar arquivo","or click":"ou clique","Alternative text":"Texto alternativo",Browse:"Explorar",Upload:"Upload",Background:"Fundo",Text:"Texto",Top:"Cima",Middle:"Meio",Bottom:"Baixo","Insert column before":"Inserir coluna antes","Insert column after":"Inserir coluna depois","Insert row above":"Inserir linha acima","Insert row below":"Inserir linha abaixo","Delete table":"Excluir tabela","Delete row":"Excluir linha","Delete column":"Excluir coluna","Empty cell":"Limpar célula",Delete:"Excluir","Strike through":"Tachado",Underline:"Sublinhar",Break:"Pausa","Search for":"Procurar por","Replace with":"Substituir com",Replace:"Substituir",Edit:"Editar","Vertical align":"Alinhamento vertical","Horizontal align":"Alinhamento horizontal",Filter:"filtrar","Sort by changed":"Ordenar por modificação","Sort by name":"Ordenar por nome","Sort by size":"Ordenar por tamanho","Add folder":"Adicionar pasta",Split:"Dividir","Split vertical":"Dividir vertical","Split horizontal":"Dividir horizontal",Merge:"Mesclar","Add column":"Adicionar coluna","Add row":"Adicionar linha",Border:"Borda","Embed code":"Incluir código",Update:"Atualizar",superscript:"sobrescrito",subscript:"subscrito","Cut selection":"Cortar seleção",Paste:"Colar","Choose Content to Paste":"Escolher conteúdo para colar","Chars: %d":"Caracteres: %d","Words: %d":"Palavras: %d",All:"Tudo","Select %s":"Selecionar: %s","Select all":"Selecionar tudo",source:"HTML",bold:"negrito",italic:"itálico",brush:"pincel",link:"link",undo:"desfazer",redo:"refazer",table:"tabela",image:"imagem",eraser:"apagar",paragraph:"parágrafo",fontsize:"tamanho da letra",video:"vídeo",font:"fonte",about:"Sobre de",print:"Imprimir",underline:"sublinhar",strikethrough:"tachado",indent:"recuar",outdent:"diminuir recuo",fullsize:"Tamanho completo",shrink:"diminuir",hr:"linha horizontal",ul:"lista não ordenada",ol:"lista ordenada",cut:"Cortar",selectall:"Selecionar tudo","Open link":"Abrir link","Edit link":"Editar link","No follow":"Não siga",Unlink:"Remover link",Eye:"Visualizar",pencil:"Editar"," URL":"URL",Reset:"Resetar",Save:"Salvar","Save as ...":"Salvar como...",Resize:"Redimensionar",Crop:"Recortar",Width:"Largura",Height:"Altura","Keep Aspect Ratio":"Manter a proporção",Yes:"Sim",No:"Não",Remove:"Remover",Select:"Selecionar","You can only edit your own images. Download this image on the host?":"Você só pode editar suas próprias imagens. Baixar essa imagem pro servidor?","The image has been successfully uploaded to the host!":"A imagem foi enviada com sucesso para o servidor!",palette:"Palette","There are no files":"Não há arquivos nesse diretório.",Rename:"Húngara","Enter new name":"Digite um novo nome",preview:"preview",download:"Baixar","Paste from clipboard":"Colar da área de transferência","Your browser doesn't support direct access to the clipboard.":"O seu navegador não oferece suporte a acesso direto para a área de transferência.","Copy selection":"Selecção de cópia",copy:"cópia","Border radius":"Border radius","Show all":"Mostrar todos os",Apply:"Aplicar","Please fill out this field":"Por favor, preencha este campo","Please enter a web address":"Por favor introduza um endereço web",Default:"Padrão",Circle:"Círculo",Dot:"Ponto",Quadrate:"Quadro","Lower Alpha":"Letra Minúscula","Lower Greek":"Grego Minúscula","Lower Roman":"Romano Minúscula","Upper Alpha":"Letra Maiúscula","Upper Roman":"Romano Maiúscula",Find:"Encontrar","Find Previous":"Encontrar Anteriores","Find Next":"Localizar Próxima","Insert className":"Insira o nome da classe","Press Alt for custom resizing":"Pressione Alt para redimensionamento personalizado","License: %s":"Licença: %s"}},19306(e,t,r){r.d(t,{y(){return o}});var i=r(23282);function o(e){return!!(e&&e instanceof Object&&(0,i.T)(e.constructor)&&("undefined"!=typeof Jodit&&e instanceof Jodit||e.isJodit))}},19308(e,t,r){r.r(t),r.d(t,{en(){return i},es(){return o}});var i=r(47193),o=r(41324)},20071(e,t,r){var i=r(82758),o=r(580),n=r(43555);r(757),o.fg.add("media",e=>{const t="jodit_fake_wrapper",{mediaFakeTag:r,mediaBlocks:o,mediaInFakeBlock:s}=e.options;s&&e.e.on("afterGetValueFromEditor",e=>{const i=RegExp(`<${r}[^>]+data-${t}[^>]+>([^]+?)</${r}>`,"ig");i.test(e.value)&&(e.value=e.value.replace(i,"$1"))}).on("change afterInit afterSetMode changePlace",e.async.debounce(()=>{e.isDestructed||e.getMode()===i.MODE_SOURCE||(0,n.$$)(o.join(","),e.editor).forEach(i=>{(0,n.mv)(i,t)||((0,n.mv)(i,t,!0),(i=>{if(i.parentNode&&(0,n.CF)(i.parentNode,"data-jodit_iframe_wrapper"))i=i.parentNode;else{const o=e.createInside.element(r,{"data-jodit-temp":1,contenteditable:!1,draggable:!0,["data-"+t]:1});(0,n.CF)(o,"style",(0,n.CF)(i,"style")),o.style.display="inline-block"===i.style.display?"inline-block":"block",o.style.width=i.offsetWidth+"px",o.style.height=i.offsetHeight+"px",i.parentNode&&i.parentNode.insertBefore(o,i),o.appendChild(i),i=o}e.e.off(i,"mousedown.select touchstart.select").on(i,"mousedown.select touchstart.select",()=>{e.s.setCursorAfter(i)})})(i))})},e.defaultTimeout))})},20199(e,t,r){r.d(t,{k(){return c}});var i=r(2748),o=r(38837),n=r(32526),s=r(44253),a=r(77361),l=r(82515);function c(e,t,r,i){if(!t)return i;const o=t.parentElement;if(!o)return i;const n=r.e.fire(a.ar+"BeforeToggleList",i,e,o);if(void 0!==n)return n;const c=r.e.fire.bind(r.e,a.ar+"AfterToggleList");if(i!==a.OJ){const n=(0,s.Y)(e,t.parentElement,r,a.DI,!0)===a.PL;if(i===a.dj||n||o.tagName.toLowerCase()!==e.element){const i=d(a.dj,o,t,r,e),n=(0,l.z)(e,i,r);return c(a.dj,n,e),a.dj}}const u=d(a.OJ,o,t,r,e);return c(a.OJ,u,e),a.OJ}function d(e,t,r,s,l){const c=s.e.fire(a.ar+"BeforeUnwrapList",e,t,l);return c?((0,o.v)(i.J.isHTMLElement(c),a.ar+"BeforeUnwrapList hook must return HTMLElement"),c):((0,n.y)(t,r,s),(0,o.v)(i.J.isHTMLElement(r.parentElement),"Element should be inside the list"),i.J.unwrap(r.parentElement),i.J.replace(r,"br"!==s.o.enter.toLowerCase()?s.o.enter:s.createInside.fragment(),s.createInside))}},20201(e,t,r){r.d(t,{r(){return n}});var i=r(22732),o=r(30465);async function n(e){e.tree.setMod("active",!0),i.J.detach(e.tree.container);const t=(0,o.f)(e);if(e.o.showFoldersPanel){e.tree.setMod("loading",!0);const r=e.dataProvider.tree(e.state.currentPath,e.state.currentSource).then(t=>{e.state.sources=t}).catch(e.status).finally(()=>e.tree.setMod("loading",!1));return Promise.all([r,t])}return e.tree.setMod("active",!1),t}},20218(e,t,r){r.d(t,{X(){return a}});var i=r(82758),o=r(2748),n=r(21537),s=r(38837);class a{get doc(){return(0,n.isFunction)(this.document)?this.document():this.document}element(e,t,r){const i=this.doc.createElement(e.toLowerCase());return this.applyCreateAttributes(i),t&&((0,n.isPlainObject)(t)?(0,n.attr)(i,t):r=t),r&&(0,n.asArray)(r).forEach(e=>i.appendChild((0,n.isString)(e)?this.fromHTML(e):e)),i}div(e,t,r){const i=this.element("div",t,r);return e&&(i.className=e),i}sandbox(){var e;const t=this.element("iframe",{sandbox:"allow-same-origin"});this.doc.body.appendChild(t);const r=null===(e=t.contentWindow)||void 0===e?void 0:e.document;if((0,s.v)(r,"iframe.contentWindow.document"),!r)throw Error("Iframe error");return r.open(),r.write("<!DOCTYPE html><html><head></head><body></body></html>"),r.close(),[r.body,t]}span(e,t,r){const i=this.element("span",t,r);return e&&(i.className=e),i}a(e,t,r){const i=this.element("a",t,r);return e&&(i.className=e),i}text(e){return this.doc.createTextNode(e)}fake(){return this.text(i.INVISIBLE_SPACE)}fragment(){return this.doc.createDocumentFragment()}fromHTML(e,t){const r=this.div();r.innerHTML=""+e;const i=r.firstChild===r.lastChild&&r.firstChild?r.firstChild:r;if(o.J.safeRemove(i),t){const e=(0,n.refs)(i);Object.keys(t).forEach(r=>{const i=e[r];i&&!1===t[r]&&o.J.hide(i)})}return i}applyCreateAttributes(e){if(this.createAttributes){const t=this.createAttributes;if(t&&t[e.tagName.toLowerCase()]){const r=t[e.tagName.toLowerCase()];(0,n.isFunction)(r)?r(e):(0,n.isPlainObject)(r)&&(0,n.attr)(e,r)}}}constructor(e,t){this.document=e,this.createAttributes=t}}},20356(e,t,r){r.d(t,{k(){return a}});var i=r(91907),o=r(65478),n=r(19306),s=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};class a extends i.vG{className(){return"Plugin"}__afterPluginSystemInit(){const{j:e,buttons:t}=this;t&&(0,n.y)(e)&&t.forEach(t=>{e.registerButton(t)})}__afterInit(){this.__inited=!0,this.setStatus(i.f.ready),this.afterInit(this.jodit)}init(e){this.jodit.isReady&&(this.afterInit(this.jodit),this.__afterPluginSystemInit(),this.jodit.e.fire("rebuildToolbar"))}__beforeDestruct(){var e;if(this.isInDestruct)return;const{j:t}=this;if(t.e.off("afterPluginSystemInit",this.__afterPluginSystemInit).off("afterInit",this.__afterInit).off("beforeDestruct",this.destruct),this.setStatus(i.f.beforeDestruct),!this.__inited)return super.destruct();(0,n.y)(t)&&(null===(e=this.buttons)||void 0===e||e.forEach(e=>{null==t||t.unregisterButton(e)})),this.beforeDestruct(this.j),super.destruct()}constructor(e){super(e),this.buttons=[],this.hasStyle=!1,this.__inited=!1,e.e.on("afterPluginSystemInit",this.__afterPluginSystemInit).on("afterInit",this.__afterInit).on("beforeDestruct",this.__beforeDestruct)}}a.requires=[],s([o.autobind],a.prototype,"__afterPluginSystemInit",null),s([o.autobind],a.prototype,"__afterInit",null),s([o.autobind],a.prototype,"__beforeDestruct",null)},20362(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1639 1056q0 5-1 7-64 268-268 434.5t-478 166.5q-146 0-282.5-55t-243.5-157l-129 129q-19 19-45 19t-45-19-19-45v-448q0-26 19-45t45-19h448q26 0 45 19t19 45-19 45l-137 137q71 66 161 102t187 36q134 0 250-65t186-179q11-17 53-117 8-23 30-23h192q13 0 22.5 9.5t9.5 22.5zm25-800v448q0 26-19 45t-45 19h-448q-26 0-45-19t-19-45 19-45l138-138q-148-137-349-137-134 0-250 65t-186 179q-11 17-53 117-8 23-30 23h-199q-13 0-22.5-9.5t-9.5-22.5v-7q65-268 270-434.5t480-166.5q146 0 284 55.5t245 156.5l130-129q19-19 45-19t45 19 19 45z"/> </svg> '},20882(e,t,r){r.d(t,{M(){return a}});var i=r(22732),o=r(70799),n=r(25726),s=r(41180);const a={name:"left",childTemplate(e,t,r){return r},list:["Left","Right","Center","Normal"],exec(e,t,{control:r}){if(!i.J.isTag(t,new Set(["img","jodit","jodit-media"])))return;const s=r.args&&(0,o.K)(r.args[0])?r.args[0].toLowerCase():"";if(!s)return!1;(0,n.Mr)(t,s),i.J.isTag(t,new Set(["jodit","jodit-media"]))&&t.firstElementChild&&(0,n.Mr)(t.firstElementChild,s),e.synchronizeValues(),e.e.fire("recalcPositionPopup")},tooltip:"Horizontal align"};t.A=[{name:"delete",icon:"bin",tooltip:"Delete",exec(e,t){t&&e.s.removeNode(t)}},{name:"pencil",exec(e,t){"img"===t.tagName.toLowerCase()&&e.e.fire("openImageProperties",t)},tooltip:"Edit"},{name:"valign",list:["Top","Middle","Bottom","Normal"],tooltip:"Vertical align",exec(e,t,{control:r}){if(!i.J.isTag(t,"img"))return;const n=r.args&&(0,o.K)(r.args[0])?r.args[0].toLowerCase():"";if(!n)return!1;(0,s.A)(t,"vertical-align","normal"===n?"":n),e.e.fire("recalcPositionPopup")}},a]},21162(e,t,r){r.d(t,{M(){return i}});class i{set(e,t){return this.data.set(e,t),this}delete(e){return this.data.delete(e),this}get(e){return this.data.get(e)}exists(e){return this.data.has(e)}clear(){return this.data.clear(),this}constructor(){this.data=new Map}}},21224(e,t,r){r.d(t,{$(){return n}});var i=r(35278),o=r(49055);const n=e=>{const t=["#"];let r=(0,i.s)(e);if(!r)return!1;if(r=(0,o.Bq)(r.toUpperCase()),r=r.substring(1),3===r.length){for(let e=0;3>e;e+=1)t.push(r[e]),t.push(r[e]);return t.join("")}return r.length>6&&(r=r.slice(0,6)),"#"+r}},21473(e,t,r){r.d(t,{N(){return i}});const i=(e,t)=>{const r=t.links??{};if(e.attributes.href&&e.attributes.href.match(/#.+$/)&&(r[e.attributes.href.match(/#(.+)$/)[1]]=e),e.attributes.name&&r[e.attributes.name]){const t=r[e.attributes.name];t.attributes.href=t.attributes.href.replace(/.*#(.*)$/,"#$1")}return t.links=r,e}},21491(e,t,r){r.d(t,{$K(){return c},BJ(){return d},RR(){return u}});var i=r(21537),o=r(78644),n=r(80319),s=r(83111),a=r(11676),l=r(37426);function c(e,t){const r=(0,i.isJoditObject)(e)?new l.b(e):new a.Q(e);return e.o.textIcons&&r.container.classList.add("jodit_text_icons"),t&&(r.parentElement=t),e.o.toolbarButtonSize&&(r.buttonSize=e.o.toolbarButtonSize),r}function d(e,t,r=null){if((0,i.isFunction)(t.getContent))return new n.P(e,t,r);const s=new o.I(e,t,r);return s.state.tabIndex=e.o.allowTabNavigation?0:-1,s}function u(e,t,r=null){return new s.q(e,t,r)}},21496(e,t,r){r.d(t,{E(){return o}});var i=r(27613);function o(e){return(0,i.Kg)(e)||(0,i.cy)(e)?e.length:(0,i.Qd)(e)?Object.keys(e).length:0}},21537(e,t,r){r.r(t),r.d(t,{$$(){return u.$$},CamelCaseToKebabCase(){return d.N},ConfigDeepFlatten(){return u.pi},ConfigFlatten(){return u.VL},ConfigProto(){return u.tb},ConnectionError(){return u.Rc},LimitedStack(){return u.dh},NUMBER_FIELDS_REG(){return l.b$},OptionsError(){return u.ZW},abort(){return u.h2},alignElement(){return u.Op},alreadyLoadedList(){return u.EW},appendScriptAsync(){return u.w4},appendStyleAsync(){return u.S5},applyStyles(){return a.ZM},asArray(){return i._j},assert(){return u.vA},attr(){return u.CF},browser(){return u.T},buildQuery(){return u.Zq},call(){return u.T1},callPromise(){return u.o_},camelCase(){return d.xQ},cleanFromWord(){return a.wE},clearAlign(){return u.Xm},clearCenterAlign(){return u.aE},clearTimeout(){return o.D},cns(){return u.fV},colorToHex(){return s.s},completeUrl(){return u.XO},connection(){return u.FI},convertMediaUrlToVideoEmbed(){return u.mY},css(){return u.AH},cssPath(){return u.bE},ctrlKey(){return u.Xu},dataBind(){return u.mv},defaultLanguage(){return u.eG},error(){return u.z3},fastClone(){return u.y6},fuzzySearchIndex(){return d.Hp},get(){return u.Jt},getClassName(){return u.uB},getContentWidth(){return c.y6},getDataTransfer(){return u.my},getScrollParent(){return c.mH},getXPathByElement(){return u.fz},hAlignElement(){return u.Mr},hasBrowserColorPicker(){return n.kC},hasContainer(){return n.kO},htmlspecialchars(){return a.Gq},humanSizeToBytes(){return u.zP},i18n(){return d.Ru},inView(){return u.l7},innerWidth(){return c.xM},isAbort(){return u.rV},isAbortError(){return n.zf},isArray(){return n.cy},isAtom(){return u.mA},isBoolean(){return n.Lm},isDestructable(){return n.pV},isEqual(){return n.n4},isFastEqual(){return n.P5},isFunction(){return n.Tn},isHTML(){return n.AH},isHtmlFromWord(){return n.CE},isInitable(){return n.Gp},isInt(){return n.E6},isJoditObject(){return n.y0},isLicense(){return n.Mj},isMarker(){return n.rg},isNativeFunction(){return n.a3},isNumber(){return n.Et},isNumeric(){return n.kf},isPlainObject(){return n.Qd},isPromise(){return n.yL},isSet(){return n.vM},isString(){return n.Kg},isStringArray(){return n.Bo},isURL(){return n.mv},isValidName(){return n.uV},isViewObject(){return n.hH},isVoid(){return n.Rd},isWindow(){return n.l6},kebabCase(){return d.kW},keepNames(){return u.MJ},keys(){return u.HP},loadImage(){return u.yt},loadNext(){return u.Qt},loadNextStyle(){return u.x_},markAsAtomic(){return u.Hp},markDeprecated(){return u.BG},markOwner(){return u.b_},memorizeExec(){return u.qN},nl2br(){return a.HA},normalizeColor(){return l.$2},normalizeCssNumericValue(){return l.n8},normalizeCssValue(){return l.iy},normalizeKeyAliases(){return l.jB},normalizeLicense(){return l.f},normalizePath(){return l.Fd},normalizeRelativePath(){return l.Vd},normalizeSize(){return l.rn},normalizeUrl(){return l.l2},offset(){return c.cY},options(){return u.fF},parseQuery(){return u.Vc},position(){return c.G1},previewBox(){return u.u_},refs(){return u.DY},reset(){return u.cL},resolveElement(){return u.tI},safeHTML(){return a.t_},sanitizeHTMLElement(){return a.vn},scrollIntoViewIfNeeded(){return u.$v},set(){return u.hZ},setTimeout(){return o.w},size(){return c.Ej},splitArray(){return i.uM},sprintf(){return d.nv},stringify(){return d.As},stripTags(){return a.Kq},toArray(){return i.$r},trim(){return d.Bq},trimChars(){return d.Gd},trimInv(){return d.gj},ucfirst(){return d.Z2}});var i=r(76855),o=r(91898),n=r(27613),s=r(58149),a=r(75275),l=r(71521),c=r(56175),d=r(59007),u=r(43555)},21597(e,t){t.A='<svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg"> <path clip-rule="evenodd" d="M306.39,154.09c19.628,4.543,35.244,21.259,39.787,39.523 c1.551,8.54,8.998,14.989,17.904,14.989c9.991,0,18.168-8.175,18.168-18.17c0-13.083-10.991-32.98-25.985-47.881 c-14.719-14.537-32.252-24.802-46.695-24.802c-9.991,0-18.172,8.45-18.172,18.446C291.396,145.094,297.847,152.546,306.39,154.09z M56.629,392.312c-14.09,14.08-14.09,36.979,0,51.059c14.08,14.092,36.981,14.092,50.965,0l104.392-104.303 c24.347,15.181,53.062,23.991,83.953,23.991c87.857,0,158.995-71.142,158.995-158.999c0-87.854-71.138-158.995-158.995-158.995 c-87.856,0-158.995,71.141-158.995,158.995c0,30.802,8.819,59.606,23.992,83.953L56.629,392.312z M182.371,204.06 c0-62.687,50.875-113.568,113.568-113.568s113.569,50.881,113.569,113.568c0,62.694-50.876,113.569-113.569,113.569 S182.371,266.754,182.371,204.06z" fill-rule="evenodd"/> </svg> '},21988(e,t,r){var i=r(2748),o=r(21537),n=r(12153),s=r(6441),a=r(92762),l=r(46104);n.I.set("brush",l.A),s.T.prototype.controls.brushCell={isVisible(e){return!e.o.disablePlugins.includes("color")},icon:"brush",popup(e,t,r){if(!(0,o.isJoditObject)(e))return;const i=e.getInstance("Table",e.o).getAllSelectedCells();if(!i.length)return!1;const n=t=>(0,a.Kn)(e,n=>{i.forEach(e=>{(0,o.css)(e,t,n)}),e.lock(),e.synchronizeValues(),r(),e.unlock()},(0,o.css)(i[0],t));return(0,a.Zg)(e,[{name:"Background",content:n("background-color")},{name:"Text",content:n("color")},{name:"Border",content:n("border-color")}])},tooltip:"Background"},s.T.prototype.controls.brush={isVisible(e){return!e.o.disablePlugins.includes("color")},update(e,t){const r=(0,o.dataBind)(t,"color"),n=(r,i)=>{i&&i!==""+(0,o.css)(e.editor,r)&&(t.state.icon.fill=i)};if(r){const e=(0,o.dataBind)(t,"color");return void n("color"===e?e:"background-color",r)}const s=e.s.current();if(s&&!t.state.disabled){const t=i.J.closest(s,i.J.isElement,e.editor)||e.editor;n("color",""+(0,o.css)(t,"color")),n("background-color",""+(0,o.css)(t,"background-color"))}t.state.icon.fill="",t.state.activated=!1},popup(e,t,r,n){let s="",l="",c=[],d=null;return t&&t!==e.editor&&i.J.isNode(t)&&(i.J.isElement(t)&&e.s.isCollapsed()&&!i.J.isTag(t,new Set(["br","hr"]))&&(d=t),i.J.up(t,e=>{if(i.J.isHTMLElement(e)){const t=(0,o.css)(e,"color",!0),r=(0,o.css)(e,"background-color",!0);if(t)return s=""+t,!0;if(r)return l=""+r,!0}},e.editor)),c=[{name:"Background",content:(0,a.Kn)(e,t=>{d?d.style.backgroundColor=t:e.execCommand("background",!1,t),(0,o.dataBind)(n,"color",t),(0,o.dataBind)(n,"color-mode","background"),r()},l)},{name:"Text",content:(0,a.Kn)(e,t=>{d?d.style.color=t:e.execCommand("forecolor",!1,t),(0,o.dataBind)(n,"color",t),(0,o.dataBind)(n,"color-mode","color"),r()},s)}],"background"!==e.o.colorPickerDefaultTab&&(c=c.reverse()),(0,a.Zg)(e,c,d)},exec(e,t,{button:r}){const n=(0,o.dataBind)(r,"color-mode"),s=(0,o.dataBind)(r,"color");if(!n)return!1;if(t&&t!==e.editor&&i.J.isNode(t)&&i.J.isElement(t))switch(n){case"color":t.style.color=s;break;case"background":t.style.backgroundColor=s}else e.execCommand("background"===n?n:"forecolor",!1,s)},tooltip:"Fill color or set the text color"}},22030(e,t,r){r.d(t,{Y(){return d},g(){return c}});var i=r(82758),o=r(2748),n=r(86068),s=r(3760),a=r(38837),l=r(41180);function c(e,t){return!(o.J.isTag(e,"font")||!o.J.isHTMLElement(e)||!Object.keys(t).every(r=>{const i=(0,l.A)(e,r,!0);return""===i&&(""===t[r]||null==t[r])||!(0,n.R)(i)&&""!==i&&!(0,n.R)(t[r])&&(""+(0,s.iy)(r,t[r])).toLowerCase()===(""+i).toLowerCase()}))}if(i.globalDocument){const e=i.globalDocument.createElement("div");e.style.color="red",(0,a.v)(c(e,{color:"red"}),"Style test"),(0,a.v)(c(e,{fontSize:null}),"Style test"),(0,a.v)(c(e,{fontSize:""}),"Style test")}function d(e,t){return!(o.J.isTag(e,"font")||!o.J.isHTMLElement(e)||!Object.keys(t).every(t=>""!==(0,l.A)(e,t,!0)))}if(i.globalDocument){const e=i.globalDocument.createElement("div");e.style.color="red",(0,a.v)(d(e,{color:"red"}),"Style test"),(0,a.v)(!d(e,{font:"Arial",color:"red"}),"Style test"),(0,a.v)(!d(e,{border:"1px solid #ccc"}),"Style test")}},22461(e,t,r){r.d(t,{Z(){return a}});var i=r(67510);const o="jodit-image-editor",n=i.In.get.bind(i.In),s=(e,t="jodti-image-editor_active")=>e?t:"",a=(e,t)=>{const r=e.i18n.bind(e),i=(e,t,i=!0)=>`<div class="jodit-form__group">\n\t\t\t<label class="jodit-switcher-wrapper">\n\t\t\t\t<span class='jodit-switcher'>\n\t\t\t\t\t<input ${s(i,"checked")} data-ref="${t}" type="checkbox"/>\n\t\t\t\t\t<span class="jodit-switcher__slider"></span>\n\t\t\t\t</span>\n\t\t\t\t<span>${r(e)}</span>\n\t\t\t</label>\n\t</div>`;return e.create.fromHTML(`<form class="${o} jodit-properties">\n\t\t<div class="jodit-grid jodit-grid_xs-column">\n\t\t\t<div class="jodit_col-lg-3-4 jodit_col-sm-5-5">\n\t\t\t${t.resize?`<div class="${o}__area ${o}__area_resize ${o}_active">\n\t\t\t\t\t\t\t<div data-ref="resizeBox" class="${o}__box"></div>\n\t\t\t\t\t\t\t<div class="${o}__resizer">\n\t\t\t\t\t\t\t\t<i class="jodit_bottomright"></i>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>`:""}\n\t\t\t${t.crop?`<div class="${o}__area ${o}__area_crop ${s(!t.resize)}">\n\t\t\t\t\t\t\t<div data-ref="cropBox" class="${o}__box">\n\t\t\t\t\t\t\t\t<div class="${o}__croper">\n\t\t\t\t\t\t\t\t\t<i class="jodit_bottomright"></i>\n\t\t\t\t\t\t\t\t\t<i class="${o}__sizes"></i>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>`:""}\n\t\t\t</div>\n\t\t\t<div class="jodit_col-lg-1-4 jodit_col-sm-5-5">\n\t\t\t${t.resize?`<div data-area="resize" class="${o}__slider ${o}_active">\n\t\t\t\t\t\t\t<div class="${o}__slider-title">\n\t\t\t\t\t\t\t\t${n("resize")}\n\t\t\t\t\t\t\t\t${r("Resize")}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class="${o}__slider-content">\n\t\t\t\t\t\t\t\t<div class="jodit-form__group">\n\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t${r("Width")}\n\t\t\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t\t\t<input type="number" data-ref="widthInput" class="jodit-input"/>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="jodit-form__group">\n\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t${r("Height")}\n\t\t\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t\t\t<input type="number" data-ref="heightInput" class="jodit-input"/>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t${i("Keep Aspect Ratio","keepAspectRatioResize")}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>`:""}\n\t\t\t${t.crop?`<div data-area="crop" class="${o}__slider ${s(!t.resize)}'">\n\t\t\t\t\t\t\t<div class="${o}__slider-title">\n\t\t\t\t\t\t\t\t${n("crop")}\n\t\t\t\t\t\t\t\t${r("Crop")}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class="${o}__slider-content">\n\t\t\t\t\t\t\t\t${i("Keep Aspect Ratio","keepAspectRatioCrop")}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>`:""}\n\t\t\t</div>\n\t\t</div>\n\t</form>`)}},22732(e,t,r){r.d(t,{J(){return i.J},p(){return o.p}});var i=r(2748),o=r(70071)},22859(e,t,r){r.d(t,{K(){return a}});var i=r(22732),o=r(21537),n=r(67510),s=r(37068);n.In.set("palette",s.A);const a=(e,t,r)=>{const s="jodit-color-picker",a=(0,o.normalizeColor)(r),l=e.c.div(s),c=e.o.textIcons?`<span>${e.i18n("palette")}</span>`:n.In.get("palette"),d=e=>{const t=[];return(0,o.isPlainObject)(e)?Object.keys(e).forEach(r=>{t.push(`<div class="${s}__group ${s}__group-${r}">`),t.push(d(e[r])),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">${d(e.o.colors)}</div>`)),l.appendChild(e.c.fromHTML(`<div data-ref="extra" class="${s}__extra"></div>`));const{extra:u}=(0,o.refs)(l);return e.o.showBrowserColorPicker&&(0,o.hasBrowserColorPicker)()&&(u.appendChild(e.c.fromHTML(`<div class="${s}__native">${c}<input type="color" value="#ffffff"/></div>`)),e.e.on(l,"change",e=>{e.stopPropagation();const r=e.target;if(!r||!r.tagName||!i.J.isTag(r,"input"))return;const n=r.value||"";(0,o.isFunction)(t)&&t(n),e.preventDefault()})),e.e.on(l,"mousedown touchend",r=>{r.stopPropagation(),r.preventDefault();let n=r.target;if(n&&n.tagName&&!i.J.isTag(n,"svg")&&!i.J.isTag(n,"path")||!n.parentNode||(n=i.J.closest(n.parentNode,"span",e.editor)),!i.J.isTag(n,"span")||!n.classList.contains(s+"__color-item"))return;const a=(0,o.attr)(n,"-color")||"";t&&(0,o.isFunction)(t)&&t(a)}),e.e.fire("afterGenerateColorPicker",l,u,t,a),l}},23140(e,t){t.A='<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(e,t,r){function i(e){return"function"==typeof e}r.d(t,{T(){return i}})},23370(e,t,r){r.d(t,{F(){return i}});class i{get j(){return this.jodit}onReady(){this.replaceUndoManager(),this.isReady=!0,this.j.e.fire(this,"ready")}onReadyAlways(e){var t;this.isReady?e():null===(t=this.j.events)||void 0===t||t.on(this,"ready",e)}constructor(e,t,r,i){this.jodit=e,this.container=t,this.toWYSIWYG=r,this.fromWYSIWYG=i,this.className="",this.isReady=!1}}},23399(e,t,r){var i=r(580),o=r(21537);r(28252),i.fg.add("font",e=>{e.registerButton({name:"font",group:"font"}).registerButton({name:"fontsize",group:"font"});const t=(t,r,i)=>{switch(t){case"fontsize":e.s.commitStyle({attributes:{style:{fontSize:(0,o.normalizeSize)(i,e.o.defaultFontSizePoints)}}});break;case"fontname":e.s.commitStyle({attributes:{style:{fontFamily:i}}})}return e.synchronizeValues(),!1};e.registerCommand("fontsize",t).registerCommand("fontname",t)})},23512(e,t,r){r.d(t,{e(){return l}});var i=r(91907),o=r(65478),n=r(2748),s=r(14316),a=r(34176);let l=class e extends i.vG{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?void 0:e.offsetHeight)&&void 0!==t?t:0}findEmpty(e=!1){const t=this.getElms(e?"item-right":"item");for(let e=0;t.length>e;e+=1)if(!t[e].innerHTML.trim().length)return t[e]}append(e,t=!1){var r;const i=this.findEmpty(t)||this.j.c.div(this.getFullElName("item"));t&&i.classList.add(this.getFullElName("item-right")),i.appendChild(e),null===(r=this.container)||void 0===r||r.appendChild(i),this.j.o.statusbar&&this.show(),this.j.e.fire("resize")}destruct(){this.isInDestruct||(this.setStatus(i.f.beforeDestruct),n.J.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,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([o.component,(0,o.derive)(a.K,s.O)],l)},23531(e,t,r){var i=r(22732),o=r(580),n=r(21537),s=r(12153),a=r(6441),l=r(92762),c=r(25179);s.I.set("image",c.A),a.T.prototype.controls.image={popup(e,t,r){let o=null;return t&&!i.J.isText(t)&&i.J.isHTMLElement(t)&&(i.J.isTag(t,"img")||(0,n.$$)("img",t).length)&&(o=i.J.isTag(t,"img")?t:(0,n.$$)("img",t)[0]),e.s.save(),(0,l.kG)(e,{filebrowser(t){e.s.restore(),t.files&&t.files.forEach(r=>e.s.insertImage(t.baseurl+r,null,e.o.imageDefaultWidth)),r()},upload:!0,async url(t,i){e.s.restore(),/^[a-z\d_-]+(\.[a-z\d_-]+)+/i.test(t)&&(t="//"+t);const n=o||e.createInside.element("img");n.setAttribute("src",t),n.setAttribute("alt",i),o||await e.s.insertImage(n,null,e.o.imageDefaultWidth),r()}},o,r)},tags:["img"],tooltip:"Insert Image"},o.fg.add("image",e=>{e.registerButton({name:"image",group:"media"})})},23658(e,t){t.A='<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(e,t,r){r.d(t,{G(){return s}});var i=r(2748),o=r(29136),n=r(97380);function s(e,t){let{firstChild:r}=t;for(;r&&!(0,o._)(r);)if(r=r.nextSibling,!r)return null;return r&&!i.J.next(r,o._,t)&&(0,n.sz)(e,r,!1)?r:null}},23769(e,t,r){r.d(t,{z(){return n}});var i=r(2748),o=r(48538);class n extends o.D{className(){return"ProgressBar"}render(){return"<div><div></div></div>"}show(){return(this.j.workplace||this.j.container).appendChild(this.container),this}hide(){return i.J.safeRemove(this.container),this}progress(e){return this.container.style.width=e.toFixed(2)+"%",this}destruct(){return this.hide(),super.destruct()}}},23914(e,t,r){r.r(t),r.d(t,{ar(){return o.a},cs_cz(){return o.a},de(){return o.a},es(){return o.a},fa(){return o.a},fi(){return o.a},fr(){return o.a},he(){return o.a},hu(){return o.a},id(){return o.a},it(){return o.a},ja(){return o.a},ko(){return o.a},mn(){return o.a},nl(){return o.a},pl(){return o.a},pt_br(){return o.a},ru(){return o.a},tr(){return o.a},zh_cn(){return o.a},zh_tw(){return o.a}});var i=r(41324),o=r.n(i)},24231(e,t){t.A='<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> '},24526(e,t,r){var i=r(12153),o=r(6441),n=r(61122),s=r(62e3),a=r(66789),l=r(20882),c=r(14306),d=r(24231),u=r(75393),h=r(14862),p=r(96257),f=r(9914),m=r(53696),g=r(33489);o.T.prototype.toolbarInline=!0,o.T.prototype.toolbarInlineForSelection=!1,o.T.prototype.toolbarInlineDisableFor=[],o.T.prototype.toolbarInlineDisabledButtons=["source"],i.I.set("addcolumn",d.A).set("addrow",u.A).set("merge",h.A).set("th",m.A).set("splitg",p.A).set("splitv",f.A).set("th-list",g.A),o.T.prototype.popup={a:n.A,img:l.A,cells:s.A,toolbar:c.A,jodit:a.A,iframe:a.A,"jodit-media":a.A,selection:["bold","underline","italic","ul","ol","\n","outdent","indent","fontsize","brush","cut","\n","paragraph","link","align","dots"]}},24536(e,t,r){r.d(t,{z(){return f}});var i=r(4012),o=r(65478),n=r(46559),s=r(10830),a=r(62405),l=r(92113),c=r(34244),d=r(43649),u=r(72157),h=r(71262),p=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};let f=class e extends a.U{className(){return"UIList"}__onChangeMode(){this.setMod("mode",this.mode)}makeGroup(){return new a.U(this.jodit)}get buttons(){return this.allChildren.filter(e=>i.u.isInstanceOf(e,s.lD))}getButtonsNames(){return this.buttons.map(e=>e instanceof s.lD&&e.state.name||"").filter(e=>""!==e)}setRemoveButtons(e){return this.removeButtons=e||[],this}build(e,t=null){e=(0,n.u)(e),this.clear();let r,i=!1,o=this.makeGroup();this.append(o),o.setMod("line",!0);const s=e=>{let n=null;switch(e.name){case"\n":o=this.makeGroup(),o.setMod("line",!0),r=this.makeGroup(),o.append(r),this.append(o);break;case"|":i||(i=!0,n=new l.C(this.j));break;case"---":{r.setMod("before-spacer",!0);const e=new c.b(this.j);o.append(e),r=this.makeGroup(),o.append(r),i=!1;break}default:i=!1,n="select"===e.component?this.makeSelect(e,t):this.makeButton(e,t)}n&&(r||(r=this.makeGroup(),o.append(r)),r.append(n))},a=e=>{var t;return!this.removeButtons.includes(e.name)&&(!e.isVisible||(null===(t=e.isVisible)||void 0===t?void 0:t.call(e,this.j,e)))};return e.forEach(e=>{if((0,d.i)(e)){const t=e.buttons.filter(e=>e);t.length&&(r=this.makeGroup(),r.setMod("separated",!0).setMod("group",e.group),o.append(r),(0,h.Q)(t,this.j.o.controls).filter(a).forEach(s))}else{r||(r=this.makeGroup(),o.append(r));const t=(0,u.U)(e,this.j.o.controls);a(t)&&s(t)}}),this.update(),this}makeSelect(e,t){throw Error("Not implemented behaviour")}makeButton(e,t){return new s.lD(this.j,{name:e.name})}constructor(e){super(e),this.mode="horizontal",this.removeButtons=[]}};p([(0,o.watch)("mode"),(0,o.hook)("ready")],f.prototype,"__onChangeMode",null),f=p([o.component],f)},24630(e,t,r){var i=r(2748),o=r(72430),n=r(12153),s=r(6441),a=r(89816);n.I.set("paragraph",a.A),s.T.prototype.controls.paragraph={command:"formatBlock",value(e,t){var r,o;const n=t.control,s=e.s.current(),a=i.J.closest(s,i.J.isBlock,e.editor);return null!==(r=null==a?void 0:a.nodeName.toLowerCase())&&void 0!==r?r:null===(o=n.data)||void 0===o?void 0:o.currentValue},update(e,t){const r=t.control;if(!e.s.current())return!1;const i=t.state.value,n=r.list;return(0,o.Q)(n)&&n[""+i]&&e.o.textIcons&&(t.state.text=""+n[""+i]),!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 r,i;return!(t.state.value!==(null===(i=null===(r=t.control)||void 0===r?void 0:r.args)||void 0===i?void 0:i[0]))},isActive(e,t){return t.state.value!==e.o.enter&&(0,o.Q)(t.control.list)&&!!t.control.list[t.state.value]},childTemplate(e,t,r){return`<${t} style="margin:0;padding:0"><span>${e.i18n(r)}</span></${t}>`},tooltip:"Insert format block"}},24829(e,t){t.A='<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> '},25179(e,t){t.A='<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(e,t,r){r(73391),r(12391),r(93183),r(66707),r(41107),r(71255),r(82439),r(61323),r(93079),r(19063),r(19271),r(1255),r(575),r(11317),r(36243),r(23399),r(96111),r(2169),r(42263),r(16233),r(77469),r(23531),r(80763),r(3215),r(70045),r(93401),r(76295),r(59483),r(91071),r(61019),r(65517),r(20071),r(32309),r(64837),r(79799),r(31571),r(85407),r(59451),r(18363),r(8355),r(58519),r(6687),r(56113),r(9159),r(12019),r(36125),r(9881),r(28545),r(45927),r(52951),r(43809),r(7309),r(68687),r(59495),r(39627),r(767),r(43003),r(72439),r(26551),r(72253),r(65735),r(83671),r(3115)},25639(e,t,r){r.d(t,{x(){return a}});var i=r(82758),o=r(87058),n=r(77361),s=r(83632);class a{isApplied(e,t){const r=this.__applyMap.get(e);return!!r&&r[t]}setApplied(e,t){var r;const i=null!==(r=this.__applyMap.get(e))&&void 0!==r?r:{};i[t]=!0,this.__applyMap.set(e,i)}get elementIsList(){return!(!this.options.element||!i.LIST_TAGS.has(this.options.element))}get element(){return this.options.element||this.defaultTag}get elementIsBlock(){return!(!this.options.element||!i.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){const{hooks:t}=this.options,r=t?Object.keys(t):[];try{r.forEach(r=>{e.e.on((0,o.x)(n.ar+"_"+r),t[r])}),(0,s.O)(e,this)}finally{r.forEach(r=>{e.e.off((0,o.x)(n.ar+"_"+r),t[r])}),this.__applyMap=new WeakMap}e.synchronizeValues(),e.e.fire("afterCommitStyle",this)}constructor(e){this.options=e,this.__applyMap=new WeakMap}}},25685(e,t,r){r.r(t),r.d(t,{required(){return n},url(){return s}});var i=r(26049),o=r(49055);const n=e=>!!(0,o.Bq)(e.value).length||(e.error="Please fill out this field",!1),s=e=>!!(0,i.m)((0,o.Bq)(e.value))||(e.error="Please enter a web address",!1)},25726(e,t,r){r.d(t,{Mr(){return n},Op(){return a},Xm(){return s}});var i=r(22732),o=r(41180);function n(e,t){t&&"normal"!==t?"center"!==t?((0,o.A)(e,"float",t),(0,o.a)(e)):(0,o.A)(e,{float:"",display:"block",marginLeft:"auto",marginRight:"auto"}):((0,o.A)(e,"float")&&-1!==["right","left"].indexOf((""+(0,o.A)(e,"float")).toLowerCase())&&(0,o.A)(e,"float",""),(0,o.a)(e))}function s(e){i.J.each(e,e=>{i.J.isHTMLElement(e)&&e.style.textAlign&&(e.style.textAlign="",e.style.cssText.trim().length||e.removeAttribute("style"))})}function a(e,t){if(i.J.isNode(t)&&i.J.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(e,t,r){r.d(t,{u(){return n}});var i=r(82758),o=r(2748);function n(e,t,r,n,s,a){if(a===t||!o.J.isText(t)||null==t.nodeValue)return r;if(!(0,i.INVISIBLE_SPACE_REG_EXP)().test(t.nodeValue))return r;const l=o.J.furthest(a,o.J.isBlock,e.editor);return!l||o.J.isOrContains(l,t)?r:(t.nodeValue=t.nodeValue.replace((0,i.INVISIBLE_SPACE_REG_EXP)(),""),t===a&&e.s.isCollapsed()&&e.s.setCursorAfter(t),t.nodeValue||o.J.safeRemove(t),!0)}},26049(e,t,r){r.d(t,{m(){return o}});var i=r(82758);function o(e){if(e.includes(" "))return!1;if("undefined"!=typeof URL)try{const t=new URL(e);return["https:","http:","ftp:","file:","rtmp:"].includes(t.protocol)}catch(e){return!1}const t=i.globalDocument.createElement("a");return t.href=e,!!t.hostname}},26152(e,t,r){var i=r(68345),o=r(79910),n=r(4795),s=r(62770),a=r(1830),l=r(86273),c=r(82168),d=r(85017),u=r(32726),h=r(67078),p=r(92648),f=r(62232),m=r(62700),g=r(75445),v=r(97519),b=r(80926),y=r(52995),w=r(59526),_=r(40565),k=r(19292),C=r(83160),S=r(28923),T=r(19007),E=r(60175),I=r(69159);let A={};A={ar:o.A,cs_cz:n.A,de:s.A,en:a.A,es:l.A,fi:c.A,fr:d.A,he:u.A,hu:h.A,id:p.A,it:f.A,ja:m.A,ko:v.A,mn:b.A,nl:y.A,no:w.A,pl:_.A,pt_br:k.A,ru:C.A,tr:S.A,ua:T.A,zh_cn:E.A,zh_tw:I.A};const j=e=>e?e.default||e:{},z={};(0,i.c)(j(g.A))&&j(g.A).forEach((e,t)=>{z[t]=e}),Object.keys(A).forEach(e=>{const t=j(A[e]);(0,i.c)(t)?(A[e]={},t.forEach((t,r)=>{A[e][z[r]]=t})):A[e]=t}),t.A=A},26295(e,t,r){var i=r(21537),o=r(12153),n=r(6441),s=r(53259);n.T.prototype.defaultLineHeight=null,o.I.set("line-height",s.A),n.T.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:r}){return(0,i.memorizeExec)(e,t,{control:r},e=>e)}}},26395(e,t,r){r.d(t,{$(){return n},l(){return o}});var i=r(2748);function o(e,t,r){let i=e.getBoundingClientRect(),o=e;const n=i.top,s=i.height;for(;o&&o!==t&&o.parentNode;){if(o=o.parentNode,i=o.getBoundingClientRect(),n>i.bottom)return!1;if(i.top>=n+s)return!1}return(r.documentElement&&r.documentElement.clientHeight||0)>=n}function n(e,t,r){i.J.isHTMLElement(e)&&!o(e,t,r)&&(t.clientHeight!==t.scrollHeight&&(t.scrollTop=e.offsetTop),o(e,t,r)||e.scrollIntoView())}},26529(e,t,r){r.r(t),r.d(t,{ar(){return i},cs_cz(){return i},de(){return i},es(){return i},fa(){return i},fi(){return i},fr(){return i},he(){return i},hu(){return i},id(){return i},it(){return i},ja(){return i},ko(){return i},mn(){return i},nl(){return i},no(){return i},pl(){return i},pt_br(){return i},ru(){return i},tr(){return i},ua(){return i},zh_cn(){return i},zh_tw(){return i}});var i=r(41324)},26532(e,t,r){r.d(t,{o(){return o}});var i=r(82758);const o=i.globalWindow?i.globalWindow.SpeechRecognition||i.globalWindow.webkitSpeechRecognition:void 0},26551(e,t,r){var i=r(580);r(14984),i.fg.add("video",e=>{e.registerButton({name:"video",group:"media"})})},26658(e,t,r){r.d(t,{O(){return n}});var i=r(2748),o=r(38837);function n(e,t=!1){if(!e.o.tab.tabInsideLiInsertNewList)return!1;const[r,n]=(e=>{const t=e.createInside.fake(),r=e.createInside.fake(),i=e.s.range.cloneRange();i.collapse(!0),i.insertNode(t);const o=e.s.range.cloneRange();return o.collapse(!1),o.insertNode(r),[t,r]})(e);try{const n=((e,t,r)=>{const o=i.J.closest(t,"li",e.editor);return!!o&&!(!r&&!i.J.isLeaf(o.previousElementSibling))&&!(r&&!i.J.closest(o,"li",e.editor))&&o})(e,r,t);if(!n)return!1;if(!((e,t,r)=>{const o=i.J.closest(r,"li",t.editor);return!(!o||o!==e&&!e.contains(o))})(n,e,r))return!1;const s=i.J.closest(n,["ol","ul"],e.editor);return!(!s||t&&!i.J.closest(s,"li",e.editor)||(t?((e,t,r)=>{const n=i.J.closest(t,"li",e.editor);(0,o.v)(n,"tab parentLi is null");const s=Array.from(t.children).filter(e=>i.J.isLeaf(e));i.J.after(n,r);const a=s.indexOf(r);if(0!==a&&1!==s.length||i.J.safeRemove(t),a!==s.length-1){const e=t.cloneNode();i.J.append(r,e);for(let t=a+1;s.length>t;t+=1)i.J.append(e,s[t])}})(e,s,n):((e,t,r)=>{const n=r.previousElementSibling;(0,o.v)(n,"tab previousElementSibling is null");const s=n.lastElementChild,a=i.J.isTag(s,t.tagName)?s:e.createInside.element(t.tagName,Array.from(t.attributes).reduce((e,t)=>(e[t.name]=t.value,e),{}));a.appendChild(r),s!==a&&n.appendChild(a)})(e,s,n),0))}finally{const t=e.s.createRange();t.setStartAfter(r),t.setEndBefore(n),e.s.selectRange(t),i.J.safeRemove(r),i.J.safeRemove(n)}}},26716(e,t,r){r.d(t,{W(){return n}});var i=r(82758),o=r(2748);function n(e,t,r){let n=o.J.findSibling(t,r),s=o.J.findSibling(t,!r);for(;o.J.isElement(n)&&!o.J.isTag(n,i.INSEPARABLE_TAGS)&&o.J.isContentEditable(n,e.editor)&&(!s||!o.J.closest(t,o.J.isElement,e.editor));)r||!n.firstChild?n.appendChild(t):o.J.before(n.firstChild,t),n=o.J.sibling(t,r),s=o.J.sibling(t,!r)}},26866(e,t,r){r.d(t,{p(){return s}});var i=r(23282),o=r(10830),n=r(78584);function s(e,t,r){const s=this instanceof n.l?this:new n.l({closeOnClickOverlay:!0}),a=s.c.fromHTML('<form class="jodit-dialog_prompt"></form>'),l=s.c.element("label");(0,i.T)(t)&&(r=t,t=void 0),l.appendChild(s.c.fromHTML(e)),a.appendChild(l);const c=e=>()=>{r&&!1===r(e)||s.close()},d=(0,o.$n)(s,"cancel","Cancel"),u=(0,o.$n)(s,"ok","Yes");return d.onAction(c(!1)),u.onAction(c(!0)),s.e.on(a,"submit",()=>(c(!0)(),!1)),s.setFooter([u,d]),s.open(a,t||"&nbsp;",!0,!0),u.focus(),s}},26992(e,t,r){r.d(t,{j(){return f}});var i=r(82758),o=r(91898),n=r(12045),s=r(23282),a=r(84767),l=r(72430),c=r(14773),d=r(70799),u=r(86068),h=r(38837),p=r(93661);class f{delay(e){return this.promise(t=>this.setTimeout(t,e))}setTimeout(e,t,...r){if(this.isDestructed)return 0;let i={};(0,u.R)(t)&&(t=0),(0,a.E)(t)||(i=t,t=i.timeout||0),i.label&&this.clearLabel(i.label);const n=(0,o.w)(e,t,...r),s=i.label||n;return this.timers.set(s,n),this.__callbacks.set(s,e),n}updateTimeout(e,t){if((0,h.v)(e&&this.timers.has(e),"Label does not exist"),!e||!this.timers.has(e))return null;const r=this.__callbacks.get(e);return(0,h.v)((0,s.T)(r),"Callback is not a function"),this.setTimeout(r,{label:e,timeout:t})}clearLabel(e){e&&this.timers.has(e)&&((0,o.D)(this.timers.get(e)),this.timers.delete(e),this.__callbacks.delete(e))}clearTimeout(e){if((0,d.K)(e))return this.clearLabel(e);(0,o.D)(e),this.timers.delete(e),this.__callbacks.delete(e)}debounce(e,t,r=!1){let i=0,a=!1;const d=[],u=(...t)=>{if(!a){i=0;const r=e(...t);if(a=!0,d.length){const e=()=>{d.forEach(e=>e()),d.length=0};(0,c.y)(r)?r.finally(e):e()}}},h=(...n)=>{a=!1,t?(!i&&r&&u(...n),(0,o.D)(i),i=this.setTimeout(()=>u(...n),(0,s.T)(t)?t():t),this.timers.set(e,i)):u(...n)};return(0,l.Q)(t)&&t.promisify?(...e)=>{const t=this.promise(e=>{d.push(e)}).catch(e=>{if((0,n.z)(e))return null;throw e});return h(...e),t}:h}microDebounce(e,t=!1){let r,i=!1,o=!0;return(...n)=>{r=n,i?o=!0:(o=!0,t&&(o=!1,e(...r)),i=!0,this.__queueMicrotaskNative(()=>{i=!1,this.isDestructed||o&&e(...r)}))}}throttle(e,t,r=!1){let i,o,n,a=null;return(...r)=>{i=!0,n=r,t?a||(o=()=>{i?(e(...n),i=!1,a=this.setTimeout(o,(0,s.T)(t)?t():t),this.timers.set(o,a)):a=null},o()):e(...n)}}promise(e){let t=()=>{};const r=new Promise((r,i)=>{t=()=>i((0,p.h)("Abort async")),this.promisesRejections.add(t),e(r,i)});return r.finally||"undefined"==typeof process||i.IS_ES_NEXT||(r.finally=e=>(r.then(e).catch(e),r)),r.finally(()=>{this.promisesRejections.delete(t)}).catch(()=>null),r.rejectCallback=t,r}promiseState(e){if(e.status)return e.status;if(!Promise.race)return new Promise(t=>{e.then(e=>(t("fulfilled"),e),e=>{throw t("rejected"),e}),this.setTimeout(()=>{t("pending")},100)});const t={};return Promise.race([e,t]).then(e=>e===t?"pending":"fulfilled",()=>"rejected")}requestIdleCallback(e,t={timeout:100}){const r=this.__requestIdleCallbackNative(e,t);return this.__requestsIdle.add(r),r}requestIdlePromise(e){return this.promise(t=>{const r=this.requestIdleCallback(()=>t(r),e)})}schedulerPostTask(e,t={delay:0,priority:"user-visible"}){const r=new AbortController;if(t.signal&&t.signal.addEventListener("abort",()=>r.abort()),this.__controllers.add(r),void 0!==globalThis.scheduler){const i=globalThis.scheduler.postTask(e,{...t,signal:r.signal});return i.finally(()=>{this.__controllers.delete(r)}).catch(()=>null),i}return this.promise((i,o)=>{const n=this.setTimeout(()=>{try{i(e())}catch(e){o(e)}this.__controllers.delete(r)},t.delay||1);r.signal.addEventListener("abort",()=>{this.clearTimeout(n),this.__controllers.delete(r),o((0,p.h)())})})}schedulerYield(){return this.schedulerPostTask(()=>{},{priority:"user-visible"})}cancelIdleCallback(e){return this.__requestsIdle.delete(e),this.__cancelIdleCallbackNative(e)}requestAnimationFrame(e){const 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.D)(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,r,i,o;this.timers=new Map,this.__callbacks=new Map,this.__queueMicrotaskNative=null!==(e=null===queueMicrotask||void 0===queueMicrotask?void 0:queueMicrotask.bind(window))&&void 0!==e?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!==(r=null===(t=window.requestIdleCallback)||void 0===t?void 0:t.bind(window))&&void 0!==r?r:(e,t)=>{var r;const i=Date.now();return this.setTimeout(()=>{e({didTimeout:!1,timeRemaining(){return Math.max(0,50-(Date.now()-i))}})},null!==(r=null==t?void 0:t.timeout)&&void 0!==r?r:1)},this.__cancelIdleCallbackNative=null!==(o=null===(i=window.cancelIdleCallback)||void 0===i?void 0:i.bind(window))&&void 0!==o?o:e=>{this.clearTimeout(e)},this.isDestructed=!1}}},27190(e,t){t.A='<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(e,t,r){r.d(t,{AH(){return c.A},Bo(){return k.B},CE(){return d.C},E6(){return h.E},Et(){return v.E},Gp(){return u.n4},Kg(){return k.K},Lm(){return s.L},Mj(){return f.M},P5(){return a.P},Qd(){return y.Q},Rd(){return E.R},Tn(){return l.T},a3(){return g.a},cy(){return n.c},hH(){return T.h},kC(){return i.k},kO(){return u.kO},kf(){return b.k},l6(){return I.l},mv(){return C.m},n4(){return a.n},pV(){return u.pV},rg(){return m.r},uV(){return S.u},vM(){return _.v},y0(){return p.y},yL(){return w.y},zf(){return o.z}});var i=r(54765),o=r(12045),n=r(68345),s=r(87612),a=r(59292),l=r(23282),c=r(58487),d=r(29673),u=r(60132),h=r(72913),p=r(19306),f=r(45603),m=r(78116),g=r(70722),v=r(84767),b=r(29807),y=r(72430),w=r(14773),_=r(42320),k=r(70799),C=r(26049),S=r(37508),T=r(39955),E=r(86068),I=r(52742)},28143(e,t,r){r.r(t),r.d(t,{ar(){return i},cs_cz(){return i},de(){return i},es(){return i},fa(){return i},fi(){return i},fr(){return i},he(){return i},hu(){return i},id(){return i},it(){return i},ja(){return i},ko(){return i},mn(){return i},nl(){return i},pl(){return i},pt_br(){return i},ru(){return i},tr(){return i},ua(){return i},zh_cn(){return i},zh_tw(){return i}});var i=r(41324)},28252(e,t,r){var i=r(22732),o=r(49055),n=r(41180),s=r(12153),a=r(6441),l=r(4104),c=r(83709);a.T.prototype.defaultFontSizePoints="px",s.I.set("font",l.A).set("fontsize",c.A),a.T.prototype.controls.fontsize={command:"fontsize",data:{cssRule:"font-size",normalise(e,t){return/pt$/i.test(e)&&"pt"===t.o.defaultFontSizePoints?e.replace(/pt$/i,""):e}},list:[8,9,10,11,12,14,16,18,24,30,32,34,36,48,60,72,96],textTemplate(e,t){return t+e.o.defaultFontSizePoints},childTemplate(e,t,r){return`${r}${e.o.defaultFontSizePoints}`},tooltip:"Font size",value(e,t){var r;const o=e.s.current();if(!o)return;const s=i.J.closest(o,i.J.isElement,e.editor);if(!s)return;const a=(null===(r=t.control.data)||void 0===r?void 0:r.cssRule)||"font-size";return""+(0,n.A)(s,a)},isChildActive(e,t){var r,i;const o=t.state.value,n=null!==(i=null===(r=t.control.data)||void 0===r?void 0:r.normalize)&&void 0!==i?i:e=>e;return!(!o||!t.control.args||n(""+t.control.args[0])!==n(""+o))},isActive(e,t){var r,i;const o=t.state.value;if(!o)return!1;const n=null!==(i=null===(r=t.control.data)||void 0===r?void 0:r.normalize)&&void 0!==i?i:e=>e;let s=t.control.data.cacheListSet;if(!s){const e=Object.keys(t.control.list).map(n);s=new Set(e),t.control.data.cacheListSet=s}return s.has(n(""+o))}},a.T.prototype.controls.font={...a.T.prototype.controls.fontsize,command:"fontname",textTemplate(e,t){const[r]=t.split(",");return(0,o.Gd)(r,"\"'")},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,r){let i=!1;try{i=-1===t.indexOf("dings")&&document.fonts.check("16px "+t,r)}catch(e){}return`<span data-style="${t}" style="${i?`font-family: ${t}!important;`:""}">${r}</span>`},data:{cssRule:"font-family",normalize(e){return e.toLowerCase().replace(/['"]+/g,"").replace(/[^a-z0-9-]+/g,",")}},tooltip:"Font family"}},28545(e,t,r){var i=r(82758),o=r(65478),n=r(2748),s=r(580),a=r(21537),l=r(50911),c=r(76014),d=(r(55311),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});const u="table_processor_observer",h="onMoveTableSelectCell";class p extends l.k{get __tableModule(){return this.j.getInstance(c.X,this.j.o)}afterInit(e){e.o.tableAllowCellSelection&&e.e.on("keydown.select-cells",e=>{e.key===i.KEY_TAB&&this.unselectCells()}).on("beforeCommand.select-cells",this.onExecCommand).on("afterCommand.select-cells",this.onAfterCommand).on(["clickEditor","mousedownTd","mousedownTh","touchstartTd","touchstartTh"].map(e=>e+".select-cells").join(" "),this.onStartSelection).on("clickTr clickTbody",()=>{var e;const t=this.__tableModule.getAllSelectedCells().length;if(t)return t>1&&(null===(e=this.j.s.sel)||void 0===e||e.removeAllRanges()),!1})}onStartSelection(e){if(this.j.o.readonly)return;if(this.unselectCells(),e===this.j.editor)return;const t=n.J.closest(e,"table",this.j.editor);return e&&t?(e.firstChild||e.appendChild(this.j.createInside.element("br")),this.__isSelectionMode=!0,this.__selectedCell=e,this.__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):void 0}onOutsideClick(){this.__selectedCell=null,this.__onRemoveSelection()}onChange(){this.j.isLocked||this.__isSelectionMode||this.__onRemoveSelection()}__onMove(e,t){var r;if(this.j.o.readonly&&!this.j.isLocked)return;if(this.j.isLockedNotBy(u))return;const i=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(!i)return;const o=n.J.closest(i,["td","th"],e);if(!o||!this.__selectedCell)return;o!==this.__selectedCell&&this.j.lock(u),this.unselectCells();const s=this.__tableModule.getSelectedBound(e,[o,this.__selectedCell]),a=this.__tableModule.formalMatrix(e);for(let e=s[0][0];s[1][0]>=e;e+=1)for(let t=s[0][1];s[1][1]>=t;t+=1)this.__tableModule.addSelection(a[e][t]);this.__tableModule.getAllSelectedCells().length>1&&(null===(r=this.j.s.sel)||void 0===r||r.removeAllRanges()),this.j.e.fire("hidePopup"),t.stopPropagation(),(()=>{const e=this.j.createInside.fromHTML('<div style="color:rgba(0,0,0,0.01);width:0;height:0">&nbsp;</div>');o.appendChild(e),this.j.async.setTimeout(()=>{var t;null===(t=e.parentNode)||void 0===t||t.removeChild(e)},this.j.defaultTimeout/5)})()}__onRemoveSelection(e){var t;if(!(null===(t=null==e?void 0:e.buffer)||void 0===t?void 0:t.actionTrigger)&&!this.__selectedCell&&this.__tableModule.getAllSelectedCells().length)return this.j.unlock(),this.unselectCells(),void this.j.e.fire("hidePopup","cells");this.__isSelectionMode=!1,this.__selectedCell=null}__onStopSelection(e,t){if(!this.__selectedCell)return;this.__isSelectionMode=!1,this.j.unlock();const r=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(!r)return;const i=n.J.closest(r,["td","th"],e);if(!i)return;const o=n.J.closest(i,"table",e);if(o&&o!==e)return;const s=this.__tableModule.getSelectedBound(e,[i,this.__selectedCell]),l=this.__tableModule.formalMatrix(e),c=l[s[1][0]][s[1][1]],d=l[s[0][0]][s[0][1]];this.j.e.fire("showPopup",e,()=>{const e=(0,a.position)(d,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){const t=this.__tableModule,r=t.getAllSelectedCells();r.length&&r.forEach(r=>{e&&e===r||t.removeSelection(r)})}onExecCommand(e){if(/table(splitv|splitg|merge|empty|bin|binrow|bincolumn|addcolumn|addrow)/.test(e)){e=e.replace("table","");const t=this.__tableModule.getAllSelectedCells();if(t.length){const[r]=t;if(!r)return;const i=n.J.closest(r,"table",this.j.editor);if(!i)return;switch(e){case"splitv":this.__tableModule.splitVertical(i);break;case"splitg":this.__tableModule.splitHorizontal(i);break;case"merge":this.__tableModule.mergeSelected(i);break;case"empty":t.forEach(e=>n.J.detach(e));break;case"bin":n.J.safeRemove(i);break;case"binrow":new Set(t.map(e=>e.parentNode)).forEach(e=>{this.__tableModule.removeRow(i,e.rowIndex)});break;case"bincolumn":{const e=new Set;t.reduce((t,r)=>(e.has(r.cellIndex)||(t.push(r),e.add(r.cellIndex)),t),[]).forEach(e=>{this.__tableModule.removeColumn(i,e.cellIndex)})}break;case"addcolumnafter":case"addcolumnbefore":this.__tableModule.appendColumn(i,r,"addcolumnafter"===e);break;case"addrowafter":case"addrowbefore":this.__tableModule.appendRow(i,r.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"],d([o.autobind],p.prototype,"onStartSelection",null),d([(0,o.watch)(":outsideClick")],p.prototype,"onOutsideClick",null),d([(0,o.watch)(":change")],p.prototype,"onChange",null),d([o.autobind],p.prototype,"__onRemoveSelection",null),d([o.autobind],p.prototype,"__onStopSelection",null),d([o.autobind],p.prototype,"onExecCommand",null),d([o.autobind],p.prototype,"onAfterCommand",null),s.fg.add("selectCells",p)},28800(e,t,r){r.d(t,{k(){return s}});var i=r(82758),o=r(2748),n=r(49055);function s(e,t,r,s,a,l){return((e,t,r,s,a)=>{if(!o.J.isText(t)){if(s&&!s[t.nodeName])return!0;if(!s&&a&&a[t.nodeName])return!0}return!!e.o.cleanHTML.removeEmptyElements&&o.J.isElement(t)&&null!=t.nodeName.match(i.IS_INLINE)&&!o.J.isTemporary(t)&&0===(0,n.gj)(t.innerHTML).length&&(null==r||!o.J.isOrContains(t,r))})(e,t,l,s,a)?(o.J.safeRemove(t),!0):r}},28911(e,t){t.A='<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(e,t){t.A={"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"}},29136(e,t,r){r.d(t,{_(){return n}});var i=r(2748),o=r(78116);function n(e){return!(!e||i.J.isEmptyTextNode(e)||i.J.isTemporary(e)||(0,o.r)(e))}},29345(e,t,r){r.d(t,{f(){return i}});const i=e=>((e.isElement&&"always"===e.style.get("page-break-before")||"page"===e.style.get("break-before"))&&(e.attributes["jd-safe"]=!0,e.style.add("page-break-before","always"),e.isSingle&&(e.name="div")),e)},29615(e,t,r){r.d(t,{j(){return n}});var i=r(2748),o=r(29960);function n(e,t,r,n){let s=i.J.closest(t,"a",e.editor);r?(s||(s=i.J.wrap(t,"a",e.createInside)),(0,o.C)(s,"href",r),(0,o.C)(s,"target",n?"_blank":null)):s&&s.parentNode&&s.parentNode.replaceChild(t,s)}},29673(e,t,r){function i(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/)}r.d(t,{C(){return i}})},29807(e,t,r){r.d(t,{k(){return o}});var i=r(70799);function o(e){if((0,i.K)(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(e,t,r){r.d(t,{_(){return p}});var i=r(87325),o=r(97357),n=r(37133),s=r(21537),a=r(70799),l=r(29960),c=r(48538),d=r(12153),u=r(14415),h=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};let p=class e extends c.D{className(){return"UIImagePositionTab"}render({availableClasses:e}){return`<div class="jodit-form__group &__editMargins">\n\t\t\t<label>~Margins~</label>\n\t\t\t<div class="jodit-grid jodit_vertical_middle">\n\t\t\t\t<input class="jodit_col-lg-1-5 jodit-input &__marginTop" type="text" placeholder="~top~"/>\n\t\t\t\t<a style="text-align: center;" class="jodit-properties__lock jodit_col-lg-1-5 &__lockMargin">*lock*</a>\n\t\t\t\t<input disabled="disabled" class="jodit_col-lg-1-5 jodit-input &__marginRight" type="text" placeholder="~right~"/>\n\t\t\t\t<input disabled="disabled" class="jodit_col-lg-1-5 jodit-input &__marginBottom" type="text" placeholder="~bottom~"/>\n\t\t\t\t<input disabled="disabled" class="jodit_col-lg-1-5 jodit-input &__marginLeft" type="text" placeholder="~left~"/>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class="jodit-form__group &__editAlign">\n\t\t\t<label>~Align~</label>\n\t\t\t<select class="jodit-select &__align">\n\t\t\t\t<option value="">~--Not Set--~</option>\n\t\t\t\t<option value="left">~Left~</option>\n\t\t\t\t<option value="center">~Center~</option>\n\t\t\t\t<option value="right">~Right~</option>\n\t\t\t</select>\n\t\t</div>\n\t\t<div class="jodit-form__group &__editStyle">\n\t\t\t<label>~Styles~</label>\n\t\t\t<input type="text" class="jodit-input &__style"/>\n\t\t</div>\n\t\t<div class="jodit-form__group &__editClass">\n\t\t\t<label>~Classes~</label>\n\t\t\t${(()=>{const t=[];return e&&e.length>0?(t.push('<select class="jodit-input jodit-select &__classes">'),e.forEach(e=>{(0,a.K)(e)?t.push(`<option value="${e}">${e}</option>`):t.push(`<option value="${e[0]}">${e[1]}</option>`)}),t.push("</select>")):t.push('<input type="text" class="jodit-input &__classes"/>'),t.join("")})()}\n\t\t</div>\n\t\t<div class="jodit-form__group &__editId">\n\t\t\t<label>Id</label>\n\t\t\t<input type="text" class="jodit-input &__id"/>\n\t\t</div>\n\t\t<div\n\t\t\tclass="jodit-form__group &__editBorderRadius"\n\t\t>\n\t\t\t<label>~Border radius~</label>\n\t\t\t<input type="number" class="jodit-input &__borderRadius"/>\n\t\t</div>`}onStateAlignChange(){this.getElm("align").value=this.state.values.align}onChangeAlign(){const e=this.getElm("align");this.state.values.align=e.value}onStateValuesBorderRadiusChange(){this.getElm("borderRadius").value=""+this.state.values.borderRadius}onChangeBorderRadius(){const e=this.getElm("borderRadius");this.state.values.borderRadius=parseFloat(e.value)}onStateValuesIdChange(){this.getElm("id").value=this.state.values.id}onChangeId(){const e=this.getElm("id");this.state.values.id=e.value}onStateValuesStyleChange(){this.getElm("style").value=this.state.values.style}onChangeStyle(){const e=this.getElm("style");this.state.values.style=e.value}onStateValuesClassesChange(){this.getElm("classes").value=this.state.values.classes}onChangClasses(){const e=this.getElm("classes");this.state.values.classes=e.value}onLockMarginClick(e){this.state.marginIsLocked=!this.state.marginIsLocked,e.preventDefault()}onChangeMarginIsLocked(){const e=this.getElm("marginBottom"),t=this.getElm("marginRight"),r=this.getElm("marginLeft"),i=this.getElm("lockMargin");if([t,e,r].forEach(e=>{(0,l.C)(e,"disabled",this.state.marginIsLocked||null)}),i.innerHTML=d.I.get(this.state.marginIsLocked?"lock":"unlock"),this.state.marginIsLocked){const e=this.state.values.marginTop;this.state.values.marginRight=e,this.state.values.marginBottom=e,this.state.values.marginLeft=e}}onStateValuesMarginChange(){const e=this.getElm("marginTop"),t=this.getElm("marginRight"),r=this.getElm("marginBottom"),i=this.getElm("marginLeft");e.value=""+this.state.values.marginTop,t.value=""+this.state.values.marginRight,r.value=""+this.state.values.marginBottom,i.value=""+this.state.values.marginLeft}onChangeMargin(){const e=this.getElm("marginTop"),t=this.getElm("marginRight"),r=this.getElm("marginBottom"),i=this.getElm("marginLeft");this.state.values.marginTop=(0,u.G)(e.value),this.state.marginIsLocked?(this.state.values.marginRight=this.state.values.marginTop,this.state.values.marginBottom=this.state.values.marginTop,this.state.values.marginLeft=this.state.values.marginTop):(this.state.values.marginRight=(0,u.G)(t.value),this.state.values.marginBottom=(0,u.G)(r.value),this.state.values.marginLeft=(0,u.G)(i.value))}hideFieldByOptions(){const e=this.j.o.image;[["editMargins","editMargins"],["editAlign","editAlign"],["editStyle","editStyle"],["editClass","editClass"],["editId","editId"],["editBorderRadius","editBorderRadius"]].forEach(([t,r])=>{const i=this.getElm(r);(0,s.css)(i,"display",e[t]?null:"none")})}constructor(e,t,r){super(e,{availableClasses:e.o.image.availableClasses}),this.state=t,this.handlers=r}};h([(0,o.A)("ready"),(0,n.w)("state.values.align")],p.prototype,"onStateAlignChange",null),h([(0,n.w)("align:change")],p.prototype,"onChangeAlign",null),h([(0,o.A)("ready"),(0,n.w)("state.values.borderRadius")],p.prototype,"onStateValuesBorderRadiusChange",null),h([(0,n.w)("borderRadius:change")],p.prototype,"onChangeBorderRadius",null),h([(0,o.A)("ready"),(0,n.w)("state.values.id")],p.prototype,"onStateValuesIdChange",null),h([(0,n.w)("id:change")],p.prototype,"onChangeId",null),h([(0,o.A)("ready"),(0,n.w)("state.values.style")],p.prototype,"onStateValuesStyleChange",null),h([(0,n.w)("style:change")],p.prototype,"onChangeStyle",null),h([(0,o.A)("ready"),(0,n.w)("state.values.classes")],p.prototype,"onStateValuesClassesChange",null),h([(0,n.w)("classes:change")],p.prototype,"onChangClasses",null),h([(0,n.w)("lockMargin:click")],p.prototype,"onLockMarginClick",null),h([(0,o.A)("ready"),(0,n.w)("state.marginIsLocked")],p.prototype,"onChangeMarginIsLocked",null),h([(0,o.A)("ready"),(0,n.w)(["state.values.marginTop","state.values.marginRight","state.values.marginBottom","state.values.marginLeft"])],p.prototype,"onStateValuesMarginChange",null),h([(0,n.w)(["marginTop:change","marginRight:change","marginBottom:change","marginLeft:change"])],p.prototype,"onChangeMargin",null),h([(0,o.A)("ready")],p.prototype,"hideFieldByOptions",null),p=h([i.s],p)},29960(e,t,r){r.d(t,{C(){return s}});var i=r(27613),o=r(12475),n=r(41180);function s(e,t,r){if(!e||!(0,i.Tn)(e.getAttribute))return null;if(!(0,i.Kg)(t))return Object.keys(t).forEach(r=>{const o=t[r];(0,i.Qd)(o)&&"style"===r?(0,n.A)(e,o):("className"===r&&(r="class"),s(e,r,o))}),null;let a=(0,o.N)(t);if(/^-/.test(a)){const t=s(e,"data"+a);if(t)return t;a=a.substr(1)}if(void 0!==r){if(null!=r){let t=""+r;return"IMG"!==e.nodeName||"width"!==a&&"height"!==a||(t=t.replace("px","")),e.setAttribute(a,t),t}e.hasAttribute(a)&&e.removeAttribute(a)}return e.getAttribute(a)}},29999(e,t,r){r.d(t,{_(){return o}});var i=r(68345);const o=e=>(0,i.c)(e)?e:[e]},30389(e,t,r){r.d(t,{O(){return i},U(){return o}});var i=r(25685),o=r(66465)},30465(e,t,r){function i(e){return e.files.setMod("active",!0),e.files.setMod("loading",!0),e.dataProvider.items(e.state.currentPath,e.state.currentSource,{sortBy:e.state.sortBy,onlyImages:e.state.onlyImages,filterWord:e.state.filterWord}).then(t=>{t&&(e.state.elements=t,e.state.activeElements=[])}).catch(e.status).finally(()=>e.files.setMod("loading",!1))}r.d(t,{f(){return i}})},31117(e,t,r){r.d(t,{LE(){return i.LE},Lv(){return i.Lv},OH(){return n.O},Rd(){return o.R},hJ(){return i.hJ},qy(){return n.q},xe(){return i.xe}});var i=r(84661),o=r(2969),n=r(90129)},31151(e,t){t.A='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M36 4h-24c-2.21 0-4 1.79-4 4v32c0 2.21 1.79 4 4 4h24c2.21 0 4-1.79 4-4v-32c0-2.21-1.79-4-4-4zm-24 4h10v16l-5-3-5 3v-16z"/> </svg> '},31359(e,t,r){r.d(t,{T(){return a}});var i=r(82758),o=r(580),n=r(27613),s=r(14041);function a(e,t,r,a,l,c){if((0,n.Gp)(a))try{a.init(e)}catch(e){if(!i.IS_PROD)throw e}l.set(t,a),c.delete(t),a.hasStyle&&(0,s.M)(e,t).catch(e=>{}),a.styles&&((0,o.My)(e,t,"style").innerHTML=a.styles)}},31461(e,t,r){r.d(t,{J(){return o}});var i=r(21537);const o=(e,t)=>{if(t.rtf&&"#comment"===e.name&&e.attributes.nodeValue&&-1!==e.attributes.nodeValue.indexOf("<v:shape")){t.shapes||(t.shapes={});const r=t.jodit.create.fromHTML(e.attributes.nodeValue);return(0,i.toArray)(r.getElementsByTagName("v:shape")).forEach(e=>{t.shapes[e.id]=e.getAttribute("o:spid")}),e}if("img"!==e.name)return e;if(t.rtf&&e.attributes["v:shapes"]){const r=t.shapes?.[e.attributes["v:shapes"]];if(r){const i=t.imageMap??{};t.imageMap||(t.imageMap=i,n(t.rtf,"i","\\shppict",t.imageMap),n(t.rtf,"s","\\shp{",t.imageMap));const o=i[r.substring(7)];if(o){const t=[],r=o.hex.match(/[0-9a-f]{2}/gi);if(r){for(let e=0;r.length>e;e++)t.push(String.fromCharCode(parseInt(r[e],16)));e.attributes.src="data:"+o.type+";base64,"+btoa(t.join(""))}}}}return e};function n(e,t,r,i){const o=e.split(r);for(const e of o){const r=e.split("shplid");if(r.length>1){const e=r[1];let o="";for(let t=0;e.length>t&&!/[{ \r\n\\]/.test(e[t]);t++)o+=e[t];const n=e.split("bliptag");if(n&&2>n.length)continue;let s=null;if(n[0].indexOf("pngblip")?s="image/png":-1!==n[0].indexOf("jpegblip")&&(s="image/jpeg"),!s)continue;const a=n[1].split("}");if(a&&2>a.length)continue;let l;if(a.length>2&&a[0].includes("blipuid"))l=a[1].split(" ");else{if(l=a[0].split(" "),l&&2>l.length)continue;l.shift()}i[t+o]={hex:l.join(""),type:s}}}}},31554(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M704 1376v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm-544-992h448l-48-117q-7-9-17-11h-317q-10 2-17 11zm928 32v64q0 14-9 23t-23 9h-96v948q0 83-47 143.5t-113 60.5h-832q-66 0-113-58.5t-47-141.5v-952h-96q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h309l70-167q15-37 54-63t79-26h320q40 0 79 26t54 63l70 167h309q14 0 23 9t9 23z"/> </svg> '},31571(e,t,r){r.d(t,{s(){return c}});var i=r(82758),o=r(65478),n=r(580),s=r(21537),a=r(50911),l=(r(71842),r(117));class c extends a.k{afterInit(e){}beforeDestruct(e){}processWordHTML(e,t,r){const{j:i}=this,{processPasteFromWord:o,askBeforePasteFromWord:n,defaultActionOnPasteFromWord:a,defaultActionOnPaste:c,pasteFromWordActionList:d}=i.o;return!(!o||!(0,s.isHtmlFromWord)(t)||(n?(0,l.PU)(i,"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Word Paste Detected",i=>{this.insertFromWordByType(e,t,i,r)},d):this.insertFromWordByType(e,t,a||c,r),0))}insertFromWordByType(e,t,r,o){var n;switch(r){case i.INSERT_AS_HTML:{t=(0,s.applyStyles)(t);const e=null===(n=this.j.events)||void 0===n?void 0:n.fire("beautifyHTML",t);(0,s.isString)(e)&&(t=e);break}case i.INSERT_AS_TEXT:t=(0,s.cleanFromWord)(t);break;case i.INSERT_ONLY_TEXT:t=(0,s.stripTags)((0,s.cleanFromWord)(t))}(0,l.sX)(e,this.j,t)}}c.requires=["paste"],function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);n>3&&s&&Object.defineProperty(t,r,s)}([(0,o.watch)(":processHTML")],c.prototype,"processWordHTML",null),n.fg.add("pasteFromWord",c)},31589(e,t,r){r.d(t,{m(){return i}});const i=(e,t)=>{!1!==(Object.getOwnPropertyDescriptor(e,t)||{}).enumerable&&Object.defineProperty(e,t,{enumerable:!1,set(e){Object.defineProperty(this,t,{enumerable:!1,writable:!0,value:e})}})}},31635(e,t,r){function i(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}r.d(t,{Cg(){return i}}),"function"==typeof SuppressedError&&SuppressedError},31974(e,t,r){var i=r(12153),o=r(6441),n=r(42107),s=r(23658);o.T.prototype.aiAssistant={aiCommonPrefixPrompt:"",aiCommonSuffixPrompt:"",aiImproveWritingPrompt:"It needs to be refined for better clarity, coherence, and overall quality. Please enhance the writing style while keeping the original meaning and language intact.",aiMakeShorterPrompt:"Please condense this content to make it more concise, while preserving the key messages, language and information.",aiMakeLongerPrompt:"Expand on this content to provide more detail, depth, and richness, without diverging from the original message and language.",aiSimplifyLanguagePrompt:"The language used here needs to be simplified for easier understanding, without altering the core information and the original language.",aiSummarizePrompt:"Provide a brief summary of this content, capturing the essential points in a concise manner. Preserve the original language and meaning.",aiContinuePrompt:"Continue the narrative or discussion from this content seamlessly, maintaining the same language, tone and style.",aiChangeToneProfessionalPrompt:"Adjust the tone to be professional, suitable for a formal business or academic setting, while retaining the original message and language.",aiChangeToneFriendlyPrompt:"It needs to be rewritten in a friendly tone while maintaining the original message and language. Please modify this content to be warm, approachable, and engaging.",aiChangeToneFormalPrompt:"Transform this content to have a formal tone, appropriate for official or serious contexts, without changing the main points and language.",aiChangeToneCasualPrompt:"Revise this content to have a casual, relaxed tone, making it feel more personal and less formal, without changing the original meaning and language.",aiChangeToneDirectPrompt:"Make the tone more direct, with straightforward language and a clear, assertive approach, without changing the original meaning and language.",aiChangeToneConfidentPrompt:"Infuse this content with a confident tone, showcasing assurance and decisiveness, without changing the original meaning and language.",aiChangeStyleBusinessPrompt:"Rewrite this content with a business-oriented style, focusing on clarity, efficiency, and professionalism, without changing the original meaning and language.",aiChangeStyleLegalPrompt:"Adapt this content to a legal style, incorporating appropriate terminology and formality typical of legal documents, without changing the original meaning and language.",aiChangeStyleJournalismPrompt:"Convert this content into a journalistic style, emphasizing factual accuracy, objectivity, and informative reporting, without changing the original meaning and language.",aiChangeStylePoeticPrompt:"Recreate this content with a poetic style, using expressive language, rhythm, and imagery to convey the message, without changing the original meaning and language.",aiTranslateToSpanishPrompt:"Translate this content into Spanish, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToFrenchPrompt:"Translate this content into French, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToGermanPrompt:"Translate this content into German, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToItalianPrompt:"Translate this content into Italian, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToPortuguesePrompt:"Translate this content into Portuguese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToEnglishPrompt:"Translate this content into English, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToChinesePrompt:"Translate this content into Chinese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToJapanesePrompt:"Translate this content into Japanese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToKoreanPrompt:"Translate this content into Korean, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToRussianPrompt:"Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToArabicPrompt:"Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning."},i.I.set("ai-assistant",s.A),i.I.set("ai-commands",n.A),o.T.prototype.controls["ai-commands"]={isDisabled:e=>!e.o.aiAssistant.aiAssistantCallback,tooltip:"AI Commands",list:{aiImproveWritingPrompt:"Improve writing",aiMakeShorterPrompt:"Make shorter",aiMakeLongerPrompt:"Make longer",aiSimplifyLanguagePrompt:"Simplify language",aiSummarizePrompt:"Summarize",aiContinuePrompt:"Continue",aiChangeToneProfessionalPrompt:"Change tone to professional",aiChangeToneFriendlyPrompt:"Change tone to friendly",aiChangeToneFormalPrompt:"Change tone to formal",aiChangeToneCasualPrompt:"Change tone to casual",aiChangeToneDirectPrompt:"Change tone to direct",aiChangeToneConfidentPrompt:"Change tone to confident",aiChangeStyleBusinessPrompt:"Change style to business",aiChangeStyleLegalPrompt:"Change style to legal",aiChangeStyleJournalismPrompt:"Change style of journalism",aiChangeStylePoeticPrompt:"Change style to poetic",aiTranslateToSpanishPrompt:"Translate to Spanish",aiTranslateToFrenchPrompt:"Translate to French",aiTranslateToGermanPrompt:"Translate to German",aiTranslateToItalianPrompt:"Translate to Italian",aiTranslateToPortuguesePrompt:"Translate to Portuguese",aiTranslateToEnglishPrompt:"Translate to English",aiTranslateToChinesePrompt:"Translate to Chinese",aiTranslateToJapanesePrompt:"Translate to Japanese",aiTranslateToKoreanPrompt:"Translate to Korean",aiTranslateToRussianPrompt:"Translate to Russian",aiTranslateToArabicPrompt:"Translate to Arabic"},exec(e,t,{control:r}){e.e.fire("generateAiAssistantForm.ai-assistant",r.name)}},o.T.prototype.controls["ai-assistant"]={isDisabled:e=>!e.o.aiAssistant.aiAssistantCallback,hotkeys:["ctrl+a+i","cmd+a+i"],tooltip:"AI Assistant",exec(e,t,r){e.e.fire("generateAiAssistantForm.ai-assistant")}}},32118(e,t,r){r.d(t,{a(){return o}});const i=new WeakMap,o=e=>{let t=i.get(e);return t||(t={},i.set(e,t)),t}},32309(e,t,r){var i=r(580),o=r(21537),n=r(43649);r(37585),i.fg.add("mobile",e=>{let t=0,r=(0,o.splitArray)(e.o.buttons);e.o.mobileTapTimeout&&e.e.on("touchend",r=>{if(r.changedTouches&&r.changedTouches.length){const i=(new Date).getTime(),o=i-t;o>e.o.mobileTapTimeout&&(t=i,1.5*e.o.mobileTapTimeout>o&&e.s.insertCursorAtPoint(r.clientX,r.clientY))}}),e.e.on("getDiffButtons.mobile",t=>{if(t===e.toolbar){const t=(0,n.V)((0,o.splitArray)(e.o.buttons),e),i=(0,n.V)(r,e);return(0,o.toArray)(t).reduce((e,t)=>(i.has(t)||e.push(t),e),[])}}),e.o.toolbarAdaptive&&e.e.on("resize afterInit recalcAdaptive changePlace afterAddPlace",()=>{var t,i;if(!e.o.toolbar)return;const n=(null!==(t=e.container.parentElement)&&void 0!==t?t:e.container).offsetWidth,s=(0,o.splitArray)(e.isFullSize||n>=e.o.sizeLG?e.o.buttons:e.o.sizeMD>n?e.o.sizeSM>n?e.o.buttonsXS:e.o.buttonsSM:e.o.buttonsMD);""+s!=""+r&&(r=s,e.e.fire("closeAllPopups"),null===(i=e.toolbar)||void 0===i||i.setRemoveButtons(e.o.removeButtons).build(r.concat(e.o.extraButtons)))}).on(e.ow,"load resize",()=>e.e.fire("recalcAdaptive"))})},32496(e,t,r){r(6441).T.prototype.delete={hotkeys:{delete:["delete","cmd+backspace"],deleteWord:["ctrl+delete","cmd+alt+backspace","ctrl+alt+backspace"],deleteSentence:["ctrl+shift+delete","cmd+shift+delete"],backspace:["backspace"],backspaceWord:["ctrl+backspace"],backspaceSentence:["ctrl+shift+backspace","cmd+shift+backspace"]}}},32523(e,t,r){r.d(t,{b(){return d}});var i=r(87325),o=r(37133),n=r(2748),s=r(70799),a=r(67510),l=r(48538),c=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};let d=class e extends l.D{className(){return"UIAiAssistant"}render(){return'<div>\n\t\t\t\t<div class="&__container">\n\t\t\t\t\t\t<div class="&__error"></div>\n\t\t\t\t\t\t<div class="&__body"></div>\n\t\t\t\t\t\t<div class="&__buttons &_hide_true"></div>\n\t\t\t\t\t\t<div class="&__results &_hide_true">\n\t\t\t\t\t\t\t\t<div class="&__spinner"></div>\n\t\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t</div>'}setPrompt(e){if(e){const{jodit:t}=this,r=t.o.aiAssistant[e],{aiCommonPrefixPrompt:i,aiCommonSuffixPrompt:o}=t.o.aiAssistant;this.promptInput.value=[i,(0,s.K)(r)?r:"",o].filter(Boolean).join(" "),this.__toggleInsertButton(!0),this.promptInput.value&&(this.__formAiAssistant.submit(),this.__toggleSubmitButton(!0))}this.promptInput.focus()}onAiAssistentResponse(e){this.setMod("loading",!1),n.J.detach(this.__results),this.__aiResult=e,this.__results.appendChild(this.jodit.c.fromHTML(e)),this.__toggleSubmitButton(!1),this.__toggleInsertButton(!1)}onAiAssistentError(e){this.__aiResult="",this.setMod("loading",!1),this.__error.textContent=e,n.J.detach(this.__results),this.__toggleSubmitButton(!1);const t=this.getFullElName("","hide","true");this.__results.classList.add(t),this.__toggleInsertButton(!0)}onChangePromptValue(){this.__toggleSubmitButton(!this.promptInput.value)}__toggleSubmitButton(e){this.__submitButton.state.disabled=e,this.__tryAgainButton.state.disabled=e}__toggleInsertButton(e){this.__insertButton.state.disabled=e,this.__insertAfterButton.state.disabled=e}constructor(e,{onInsert:t,onInsertAfter:r}){super(e),this.__aiResult="",this.__error=this.getElm("error"),this.__body=this.getElm("body"),this.__buttons=this.getElm("buttons"),this.__results=this.getElm("results"),this.__spinner=this.getElm("spinner"),this.__insertButton=(0,a.$n)(e,"","Insert","primary").onAction(()=>t(this.__aiResult)),this.__insertAfterButton=(0,a.$n)(e,"","Insert After","initial").onAction(()=>r(this.__aiResult));const i=()=>{this.__formAiAssistant.validate()&&(this.__formAiAssistant.submit(),this.__toggleInsertButton(!0),this.__toggleSubmitButton(!0))};this.__submitButton=(0,a.$n)(e,"ai-assistant","").onAction(i),this.__tryAgainButton=(0,a.$n)(e,"update","","initial").onAction(i),this.promptInput=new a.F0(e,{name:"prompt",required:!0,label:"Prompt",placeholder:"Ask AI to improve generated text",className:this.getFullElName("prompt-row-input")});const o=new a.Yh(e,[this.__insertButton,this.__insertAfterButton,this.__tryAgainButton],{className:this.getFullElName("prompt-row")});this.__formAiAssistant=new a.XV(e,[new a.Yh(e,[this.promptInput,this.__submitButton],{className:this.getFullElName("prompt-row")})]).onSubmit(t=>{this.__error.textContent="",this.setMod("loading",!0),e.e.fire("invokeAiAssistant",t.prompt);const r=this.getFullElName("","hide","true");this.__results.classList.remove(r),this.__buttons.classList.remove(r),n.J.detach(this.__results),this.__results.appendChild(this.__spinner),this.__insertButton.focus()}),this.__buttons.appendChild(o.container),this.__body.appendChild(this.__formAiAssistant.container),this.onChangePromptValue()}};c([(0,o.w)(":ai-assistant-response")],d.prototype,"onAiAssistentResponse",null),c([(0,o.w)(":ai-assistant-error")],d.prototype,"onAiAssistentError",null),c([(0,o.w)("promptInput:change")],d.prototype,"onChangePromptValue",null),d=c([i.s],d)},32526(e,t,r){r.d(t,{y(){return a}});var i=r(2748),o=r(78116),n=r(49055),s=r(37790);function a(e,t,r){const i=r.s.createRange(),n=(0,o.r)(t.previousSibling)?t.previousSibling:t;i.setStartBefore(e),i.setEndBefore(n),l(e,i,!0);const s=(0,o.r)(t.nextSibling)?t.nextSibling:t;i.setStartAfter(s),i.setEndAfter(e),l(e,i,!1)}function l(e,t,r){const o=t.extractContents();o.textContent&&(0,n.Bq)(o.textContent).length||!o.firstChild||i.J.unwrap(o.firstChild),e.parentNode&&(0,s.T1)(r?i.J.before:i.J.after,e,o)}},32566(e,t,r){r.d(t,{P(){return a}});var i=r(29807),o=r(29960),n=r(41180),s=r(14415);async function a(e,t,r){await e.decode();const a=(0,n.A)(e,"width",!0)||(0,o.C)(e,"width")||!1,l=(0,n.A)(e,"height",!0)||(0,o.C)(e,"height")||!1;t.imageWidth=!1!==a?(0,s.G)(a):e.offsetWidth||e.naturalWidth,t.imageHeight=(0,i.k)(t.imageWidth)?!1!==l?(0,s.G)(l):e.offsetHeight||e.naturalHeight:l||"";const{imageWidth:c,imageHeight:d}=t,u=parseFloat(""+c);if((0,i.k)(c)&&(0,i.k)(d))return!1===l?(t.imageHeight=Math.round(u/r.ratio),void(r.sizeIsLocked=!0)):void(r.sizeIsLocked=1>Math.abs(u-parseFloat(""+d)*r.ratio));r.sizeIsLocked=!1}},32574(e,t,r){r.d(t,{Z(){return l}});var i=r(82758),o=r(2748),n=r(49055),s=r(76078);function a(e){return e.replace(/mso-[a-z-]+:[\s]*[^;]+;/gi,"").replace(/mso-[a-z-]+:[\s]*[^";']+$/gi,"").replace(/border[a-z-]*:[\s]*[^;]+;/gi,"").replace(/([0-9.]+)(pt|cm)/gi,(e,t,r)=>{switch(r.toLowerCase()){case"pt":return(1.328*parseFloat(t)).toFixed(0)+"px";case"cm":return(.02645833*parseFloat(t)).toFixed(0)+"px"}return e})}function l(e){if(-1===e.indexOf("<html "))return e;e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,e.lastIndexOf("</html>")+7);const t=i.globalDocument.createElement("iframe");t.style.display="none",i.globalDocument.body.appendChild(t);let r="",l=[];try{const c=t.contentDocument||(t.contentWindow?t.contentWindow.document:null);if(c){c.open(),c.write(e),c.close();try{for(let e=0;c.styleSheets.length>e;e+=1){const t=c.styleSheets[e].cssRules;for(let e=0;t.length>e;e+=1)""!==t[e].selectorText&&(l=(0,s.$$)(t[e].selectorText,c.body),l.forEach(r=>{r.style.cssText=a(t[e].style.cssText+";"+r.style.cssText)}))}}catch(e){if(!i.IS_PROD)throw e}o.J.each(c.body,e=>{if(o.J.isElement(e)){const t=e,r=t.getAttribute("style");r&&(t.style.cssText=a(r)),t.hasAttribute("style")&&!t.getAttribute("style")&&t.removeAttribute("style")}}),r=c.firstChild?(0,n.Bq)(c.body.innerHTML):""}}catch(e){}finally{o.J.safeRemove(t)}return r&&(e=r),(0,n.Bq)(e.replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,""))}},32726(e,t){t.A={"Type something":"הקלד משהו...",Advanced:"מתקדם","About Jodit":"About Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Jodit User's Guide","contains detailed help for using":"contains detailed help for using.","For information about the license, please go to our website:":"For information about the license, please go to our website:","Buy full version":"Buy full version","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.",Anchor:"מקום עיגון","Open in new tab":"פתח בכרטיסיה חדשה","Open 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:"אישור","Your code is similar to HTML. Keep as HTML?":"הקוד דומה לHTML, האם להשאיר כHTML","Paste as HTML":"הדבק כHTML",Keep:"השאר",Clean:"נקה","Insert as Text":"הכנס כטקסט","Word Paste Detected":'זוהתה הדבקה מ"וורד"',"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"התוכן המודבק מגיע ממסמך וורד/אקסל. האם ברצונך להשאיר את העיצוב או לנקותו","Insert only Text":"הכנס טקסט בלבד","File Browser":"סייר הקבצים","Error on load list":"שגיאה בזמן טעינת רשימה","Error on load folders":"שגיאה בזמן טעינת תקיות","Are you sure?":"האם אתה בטוח?","Enter Directory name":"הכנס שם תקיה","Create directory":"צור תקיה","type name":"סוג הקובץ","Drop image":"הסר תמונה","Drop file":"הסר קובץ","or click":"או לחץ","Alternative text":"כיתוב חלופי",Browse:"סייר",Upload:"העלה",Background:"רקע",Text:"טקסט",Top:"עליון",Middle:"מרכז",Bottom:"תחתון","Insert column before":"הכנס עמודה לפני","Insert column after":"הכנס עמודה אחרי","Insert row above":"הכנס שורה מעל","Insert row below":"הכנס שורה מתחת","Delete table":"מחק טבלה","Delete row":"מחק שורה","Delete column":"מחק עמודה","Empty cell":"רוקן תא",Delete:"מחק","Strike through":"קו חוצה",Underline:"קו תחתון",Break:"שבירת שורה","Search for":"חפש","Replace with":"החלף ב",Replace:"להחליף",Edit:"ערוך","Vertical align":"יישור אנכי","Horizontal align":"יישור אופקי",Filter:"סנן","Sort by changed":"מין לפי שינוי","Sort by name":"מיין לפי שם","Sort by size":"מיין לפי גודל","Add folder":"הוסף תקייה",Split:"פיצול","Split vertical":"פיצול אנכי","Split horizontal":"פיצול אופקי",Merge:"מזג","Add column":"הוסף עמודה","Add row":"הוסף שורה",Border:"מסגרת","Embed code":"הוסף קוד",Update:"עדכן",superscript:"superscript",subscript:"subscript","Cut selection":"גזור בחירה",Paste:"הדבק","Choose Content to Paste":"בחר תוכן להדבקה","Chars: %d":"תווים: %d","Words: %d":"מילים: %d",All:"הכל","Select %s":"נבחר: %s","Select all":"בחר הכל",source:"HTML",bold:"מודגש",italic:"נטוי",brush:"מברשת",link:"קישור",undo:"בטל",redo:"בצע שוב",table:"טבלה",image:"תמונה",eraser:"מחק",paragraph:"פסקה",fontsize:"גודל גופן",video:"וידאו",font:"גופן",about:"עלינו",print:"הדפס",underline:"קו תחתון",strikethrough:"קו חוצה",indent:"הגדל כניסה",outdent:"הקטן כניסה",fullsize:"גודל מלא",shrink:"כווץ",hr:"קו אופקי",ul:"רשימת תבליטים",ol:"רשימה ממוספרת",cut:"חתוך",selectall:"בחר הכל","Open link":"פתח קישור","Edit link":"ערוך קישור","No follow":"ללא מעקב",Unlink:"בטל קישור",Eye:"הצג",pencil:"כדי לערוך"," URL":"כתובת",Reset:"אפס",Save:"שמור","Save as ...":"שמור בשם...",Resize:"שנה גודל",Crop:"חתוך",Width:"רוחב",Height:"גובה","Keep Aspect Ratio":"שמור יחס",Yes:"כן",No:"לא",Remove:"הסר",Select:"בחר","You can only edit your own images. Download this image on the host?":"רק קבצים המשוייכים שלך ניתנים לעריכה. האם להוריד את הקובץ?","The image has been successfully uploaded to the host!":"התמונה עלתה בהצלחה!",palette:"לוח","There are no files":"אין קבצים בספריה זו.",Rename:"הונגרית","Enter new name":"הזן שם חדש",preview:"תצוגה מקדימה",download:"הורד","Paste from clipboard":"להדביק מהלוח","Your browser doesn't support direct access to the clipboard.":"הדפדפן שלך לא תומך גישה ישירה ללוח.","Copy selection":"העתק בחירה",copy:"העתק","Border radius":"רדיוס הגבול","Show all":"הצג את כל",Apply:"החל","Please fill out this field":"נא למלא שדה זה","Please enter a web address":"אנא הזן כתובת אינטרנט",Default:"ברירת המחדל",Circle:"מעגל",Dot:"נקודה",Quadrate:"הריבוע הזה",Find:"למצוא","Find Previous":"מצא את הקודם","Find Next":"חפש את הבא","Insert className":"הכנס את שם הכיתה","Press Alt for custom resizing":"לחץ על אלט לשינוי גודל מותאם אישית","License: %s":"רישיון: %s"}},32824(e,t,r){r.r(t),r.d(t,{ar(){return i},cs_cz(){return i},de(){return i},es(){return i},fa(){return i},fi(){return i},fr(){return i},he(){return i},hu(){return i},id(){return i},it(){return i},ja(){return i},ko(){return i},mn(){return i},nl(){return i},pl(){return i},pt_br(){return i},ru(){return i},tr(){return i},ua(){return i},zh_cn(){return i},zh_tw(){return i}});var i=r(41324)},32880(e,t,r){r.d(t,{Rc(){return o.R},ZW(){return n.Z},h2(){return i.h},rV(){return i.r}});var i=r(93661),o=r(86397),n=r(57865)},33281(e,t,r){r.d(t,{c(){return d}});var i=r(21537),o=r(27613),n=r(11787),s=r(44450),a=r(30465),l=r(20201),c=r(50050);function d(){const e=this.state,t=this.dataProvider,r=this;r.e.on("view.filebrowser",t=>{t!==e.view&&(e.view=t)}).on("sort.filebrowser",t=>{t!==e.sortBy&&(e.sortBy=t,(0,a.f)(r))}).on("filter.filebrowser",t=>{t!==e.filterWord&&(e.filterWord=t,(0,a.f)(r))}).on("openFolder.filebrowser",e=>{let t;t=".."===e.name?e.path.split("/").filter(e=>e.length).slice(0,-1).join("/"):(0,i.normalizePath)(e.path,e.name),r.state.currentPath=t,r.state.currentSource="."===e.name?n.o:e.source}).on("removeFolder.filebrowser",e=>{r.confirm("Are you sure?","Delete",i=>{i&&t.folderRemove(e.path,e.name,e.source).then(e=>(r.status(e,!0),(0,l.r)(r))).catch(r.status)})}).on("renameFolder.filebrowser",e=>{r.prompt("Enter new name","Rename",i=>{if(!(0,o.uV)(i))return r.status(r.i18n("Enter new name")),!1;t.folderRename(e.path,e.name,i,e.source).then(e=>(r.state.activeElements=[],r.status(e,!0),(0,l.r)(r))).catch(r.status)},"type name",e.name)}).on("addFolder.filebrowser",e=>{r.prompt("Enter Directory name","Create directory",i=>{t.createFolder(i,e.path,e.source).then(()=>(0,l.r)(r)).catch(r.status)},"type name")}).on("fileRemove.filebrowser",()=>{r.state.activeElements.length&&r.confirm("Are you sure?","",e=>{if(e){const e=[];r.state.activeElements.forEach(t=>{e.push((0,s.W)(r,t.file||t.name||"",t.sourceName))}),r.state.activeElements=[],Promise.all(e).then(()=>(0,l.r)(r).catch(r.status),r.status)}})}).on("edit.filebrowser",()=>{if(1===r.state.activeElements.length){const[e]=this.state.activeElements;c.B.call(r,e.fileURL,e.file||"",e.path,e.sourceName)}}).on("fileRename.filebrowser",(e,i,n)=>{1===r.state.activeElements.length&&r.prompt("Enter new name","Rename",s=>{if(!(0,o.uV)(s))return r.status(r.i18n("Enter new name")),!1;t.fileRename(i,e,s,n).then(e=>{r.state.activeElements=[],r.status(e,!0),(0,a.f)(r)}).catch(r.status)},"type name",e)}).on("update.filebrowser",()=>{(0,l.r)(this).then(this.status,this.status)})}},33433(e,t,r){r.d(t,{OK(){return c},PO(){return a},PP(){return l}});var i=r(78213),o=(r(82758),r(2748)),n=r(27613),s=r(82760);function a(e,t){const r=Object.getOwnPropertyDescriptor(e,t);return!r||(0,n.Tn)(r.get)?null:r.value}function l(e,t,r){const i=r.get;if(!i)throw(0,s.z3)("Getter property descriptor expected");r.get=function(){const e=i.call(this);return e&&!0===e.noCache||Object.defineProperty(this,t,{configurable:r.configurable,enumerable:r.enumerable,writable:!1,value:e}),e}}function c(e,t,r){const a=r.value;if(!(0,n.Tn)(a))throw(0,s.z3)("Handler must be a Function");let l=!0;const c=new WeakMap;r.value=function(...e){var t;if(l&&c.has(this.constructor))return null===(t=c.get(this.constructor))||void 0===t?void 0:t.cloneNode(!0);const r=a.apply(this,e);return l&&o.J.isElement(r)&&c.set(this.constructor,r),l?r.cloneNode(!0):r},e.hookStatus(i.f.ready,e=>{const t=(0,n.hH)(e)?e:e.jodit;l=!!t.options.cache})}},33489(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm-1280-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68z"/> </svg> '},33651(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1728 576v256q0 26-19 45t-45 19h-64q-26 0-45-19t-19-45v-256q0-106-75-181t-181-75-181 75-75 181v192h96q40 0 68 28t28 68v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h672v-192q0-185 131.5-316.5t316.5-131.5 316.5 131.5 131.5 316.5z"/> </svg> '},34013(e,t,r){r.d(t,{A(){return a}});var i=r(82758),o=r(63799),n=r(41180),s=r(86019);r(65917);class a extends s.x{beforeInitHook(){if(i.IS_PROD&&!i.IS_TEST&&this.o.loadExternalConfig)return(0,o.w4)(this,this.basePath+"config.js")}afterInitHook(){(async()=>{if("normal"!==await this.e.fire("checkReserve",location.host)){if(this.isInDestruct)return;const e=this.c.div("",'Trial version. Buy <a href="https://xdsoft.net/jodit/pro/">Jodit Pro</a>');(0,n.A)(e,{position:"absolute",color:"red",right:10,bottom:10}),this.addDisclaimer(e)}})().catch(()=>null),super.afterInitHook()}getVersion(){return"PRO "+i.APP_VERSION}}},34176(e,t,r){r.d(t,{K(){return o}});var i=r(86068);class o{afterSetMod(e,t){}setMod(e,t,r){e=e.toLowerCase();const o=this.mods[e];if(o===t)return this;const n=`${this.componentName}_${e}_`,s=(r||this.container).classList;return null!=o&&s.remove(`${n}${(""+o).toLowerCase()}`),!(0,i.R)(t)&&""!==t&&s.add(`${n}${(""+t).toLowerCase()}`),this.mods[e]=t,this.afterSetMod(e,t),this}getMod(e){var t;return null!==(t=this.mods[e])&&void 0!==t?t:null}}},34244(e,t,r){r.d(t,{b(){return n}});var i=r(87325),o=r(48538);let n=class e extends o.D{className(){return"UISpacer"}};n=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([i.s],n)},34755(e,t,r){r.d(t,{j(){return l}});var i=r(2748),o=r(43555),n=r(29615),s=r(14721),a=r(87602);function l(e,t,r){const{style:l,imageSrc:c,borderRadius:d,imageTitle:u,imageAlt:h,imageLink:p,imageWidth:f,imageHeight:m,marginTop:g,marginRight:v,marginBottom:b,marginLeft:y,imageLinkOpenInNewTab:w,align:_,classes:k,id:C}=t.values,S=e.o;S.image.editStyle&&(0,o.CF)(r,"style",l||null),c?((0,o.CF)(r,"src",c),r.style.borderRadius=d?d+"px":"",(0,o.CF)(r,"title",u||null),(0,o.CF)(r,"alt",h||null),(0,n.j)(e,r,p,w),(0,a.q)(r,f,m,t.sizeIsLocked),e.o.image.editMargins&&(0,s.N)(e,g,v,b,y,r,t.marginIsLocked),S.image.editClass&&(0,o.CF)(r,"class",k||null),S.image.editId&&(0,o.CF)(r,"id",C||null),S.image.editAlign&&(0,o.Mr)(r,_)):i.J.safeRemove(r)}},34793(e,t,r){r.d(t,{k(){return a}});var i=r(2748),o=r(21537),n=r(67510),s=r(38927);const a=(e,t,r,a,c=!0)=>{let d;const u=[];if(t.upload&&e.o.uploader&&(e.o.uploader.url||e.o.uploader.insertImageAsBase64URI)){const r=e.c.fromHTML(`<div class="jodit-drag-and-drop__file-box"><strong>${e.i18n(c?"Drop image":"Drop file")}</strong><span><br>${e.i18n("or click")}</span><input type="file" accept="${c?"image/*":"*"}" tabindex="-1" dir="auto" multiple=""/></div>`);e.uploader.bind(r,r=>{const i=(0,o.isFunction)(t.upload)?t.upload:e.o.uploader.defaultHandlerSuccess;(0,o.isFunction)(i)&&i.call(e,r),e.e.fire("closeAllPopups")},t=>{e.message.error(t.message),e.e.fire("closeAllPopups")}),u.push({icon:"upload",name:"Upload",content:r})}if(t.filebrowser&&(e.o.filebrowser.ajax.url||e.o.filebrowser.items.url)&&u.push({icon:"folder",name:"Browse",content(){a&&a(),t.filebrowser&&e.filebrowser.open(t.filebrowser,c)}}),t.url){const s=new n.lD(e,{type:"submit",variant:"primary",text:"Insert"}),a=new n.XV(e,[new n.tS(e,{required:!0,label:"URL",name:"url",type:"text",placeholder:"https://"}),new n.tS(e,{name:"text",label:"Alternative text"}),new n.Yh(e,[s])]);d=null,!r||i.J.isText(r)||i.J.isComment(r)||!i.J.isTag(r,"img")&&!(0,o.$$)("img",r).length||(d="IMG"===r.tagName?r:(0,o.$$)("img",r)[0],l(a.container,"input[name=url]",(0,o.attr)(d,"src")),l(a.container,"input[name=text]",(0,o.attr)(d,"alt")),s.state.text="Update"),r&&i.J.isTag(r,"a")&&(l(a.container,"input[name=url]",(0,o.attr)(r,"href")),l(a.container,"input[name=text]",(0,o.attr)(r,"title")),s.state.text="Update"),a.onSubmit(r=>{(0,o.isFunction)(t.url)&&t.url.call(e,r.url,r.text)}),u.push({icon:"link",name:"URL",content:a.container})}return(0,s.Z)(e,u)};function l(e,t,r){const i=e.querySelector(t);return i?(r&&(i.value=r),i.value):""}},35105(e,t,r){r.d(t,{k(){return c}});var i=r(87325),o=r(97357),n=r(37133),s=r(21537),a=r(62405),l=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};let c=class e extends a.U{className(){return"UIImageMainTab"}appendChildToContainer(){}render(){return'<div class="jodit-form__group &__editSrc">\n\t\t\t<label>~Src~</label>\n\t\t\t<div class="jodit-input_group">\n\t\t\t\t<input class="jodit-input &__imageSrc" type="text"/>\n\t\t\t\t<div class="jodit-input_group-buttons &__fixImage">\n\t\t\t\t\t\t<a class="jodit-button &__changeImage">*image*</a>\n\t\t\t\t\t\t<a class="jodit-button &__editImage">*crop*</a>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class="jodit-form__group &__editTitle">\n\t\t\t<label>~Title~</label>\n\t\t\t<input type="text" class="jodit-input &__imageTitle"/>\n\t\t</div>\n\t\t<div class="jodit-form__group &__editAlt">\n\t\t\t<label>~Alternative~</label>\n\t\t\t<input type="text" class="jodit-input &__imageAlt"/>\n\t\t</div>\n\t\t<div class="jodit-form__group &__editLink">\n\t\t\t<label>~Link~</label>\n\t\t\t<input type="text" class="jodit-input &__imageLink"/>\n\t\t</div>\n\t\t<div class="jodit-form__group &__editLinkTarget">\n\t\t\t<label class="jodit_vertical_middle">\n\t\t\t\t<input type="checkbox" class="jodit-checkbox &__imageLinkOpenInNewTab"/>\n\t\t\t\t<span>~Open link in new tab~</span>\n\t\t\t</label>\n\t\t</div>'}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(){const e=this.j.o,t=e.image;[["editSrc","editSrc"],["editTitle","editTitle"],["editAlt","editAlt"],["editLink","editLink"],["editLink","editLinkTarget"],["useImageEditor","editImage"]].forEach(([e,r])=>{const i=this.getElm(r);(0,s.css)(i,"display",t[e]?null:"none")});const r=this.getElm("changeImage"),i=!(!e.filebrowser.ajax.url&&!e.uploader.url);(0,s.css)(r,"display",i?null:"none");const o=this.getElm("editImage"),n=!!e.filebrowser.ajax.url&&t.useImageEditor;(0,s.css)(o,"display",n?null:"none");const a=this.getElm("fixImage");(0,s.css)(a,"display",i||n?null:"none")}constructor(e,t,r){super(e),this.state=t,this.handlers=r}};l([(0,n.w)("state.values.imageSrc")],c.prototype,"onStateImageSrcChange",null),l([(0,n.w)("imageSrc:change")],c.prototype,"onImageSrcChange",null),l([(0,n.w)("editImage:click")],c.prototype,"onEditImageClick",null),l([(0,n.w)("changeImage:click")],c.prototype,"onChangeImageClick",null),l([(0,n.w)("state.values.imageTitle")],c.prototype,"onStateTitleChange",null),l([(0,n.w)("imageTitle:change")],c.prototype,"onTitleChange",null),l([(0,n.w)("state.values.imageAlt")],c.prototype,"onStateAltChange",null),l([(0,n.w)("imageAlt:change")],c.prototype,"onAltChange",null),l([(0,n.w)("state.values.imageLink")],c.prototype,"onStateImageLinkChange",null),l([(0,n.w)("imageLink:change")],c.prototype,"onImageLinkChange",null),l([(0,n.w)("state.values.imageLinkOpenInNewTab")],c.prototype,"onStateImageLinkOpenInNewTabChange",null),l([(0,n.w)("imageLinkOpenInNewTab:change")],c.prototype,"onImageLinkOpenInNewTabChange",null),l([(0,o.A)("ready")],c.prototype,"hideFieldByOptions",null),c=l([i.s],c)},35278(e,t,r){r.d(t,{s(){return i}});const i=e=>{if("rgba(0, 0, 0, 0)"===e||""===e)return!1;if(!e)return"#000000";if("#"===e.substr(0,1))return e;const t=/([\s\n\t\r]*?)rgb\((\d+), (\d+), (\d+)\)/.exec(e)||/([\s\n\t\r]*?)rgba\((\d+), (\d+), (\d+), ([\d.]+)\)/.exec(e);if(!t)return"#000000";const r=parseInt(t[2],10),i=parseInt(t[3],10);let o=(parseInt(t[4],10)|i<<8|r<<16).toString(16).toUpperCase();for(;6>o.length;)o="0"+o;return t[1]+"#"+o}},35399(e,t,r){r.d(t,{C1(){return u.C},Dk(){return n.D},HS(){return d.H},Mt(){return l.M},bD(){return o.b},cf(){return c.c},lN(){return i.l},tX(){return s.t},yh(){return a.y}});var i=r(41872),o=r(61991),n=r(54041),s=r(19057),a=r(44245),l=r(91388),c=r(65181),d=r(54600),u=r(5287)},35599(e,t){t.A='<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(e,t,r){r.d(t,{S(){return k}});var i,o=r(91907),n=r(4012),s=r(78213),a=r(82758),l=r(20218),c=r(33433),d=r(55153),u=r(97357),h=r(22732),p=r(3827),f=r(580),m=r(21537),g=r(6700),v=r(14316),b=r(34176),y=r(23769),w=r(1808),_=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};let k=i=class e extends n.u{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 g.w.makeStorage()}get message(){return this.getMessageModule(this.container)}getMessageModule(e){return new w.N(this,e)}get storage(){return g.w.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 y.z(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 i.version}static getVersion(){return i.version}initOptions(e){this.options=(0,m.ConfigProto)(e||{},(0,m.ConfigProto)(this.options||{},i.defaultOptions))}initOwners(){var e;this.ownerWindow=null!==(e=this.o.ownerWindow)&&void 0!==e?e:window}attachEvents(e){if(!e)return;const t=null==e?void 0:e.events;t&&Object.keys(t).forEach(e=>this.e.on(e,t[e]))}getInstance(e,t){const r=(0,m.isFunction)(e)?e.prototype.className():e,i=this.e.fire((0,m.camelCase)("getInstance_"+r),t);if(i)return i;const n=(0,m.isFunction)(e)?e:f.av[r],s=this.__modulesInstances;if(!(0,m.isFunction)(n))throw(0,m.error)("Need real module name");if(!s.has(r)){const e=n.prototype instanceof o.vG?new n(this,t):new n(t);this.components.add(e),s.set(r,e)}return s.get(r)}addDisclaimer(e){this.container.appendChild(e)}beforeDestruct(){this.e.fire(s.f.beforeDestruct,this),this.components.forEach(e=>{(0,m.isDestructable)(e)&&!e.isInDestruct&&e.destruct()}),this.components.clear()}destruct(){var e,t,r;this.isDestructed||(null===(e=(0,c.PO)(this,"progressbar"))||void 0===e||e.destruct(),null===(t=(0,c.PO)(this,"message"))||void 0===t||t.destruct(),this.events&&(this.events.destruct(),this.events=void 0),null===(r=(0,c.PO)(this,"buffer"))||void 0===r||r.clear(),h.J.safeRemove(this.container),super.destruct())}constructor(e,t=!1){super(),this.isJodit=t,this.isView=!0,this.parent=null,this.mods={},this.components=new Set,this.OPTIONS=i.defaultOptions,this.__isFullSize=!1,this.__whoLocked="",this.isLockedNotBy=e=>this.isLocked&&this.__whoLocked!==e,this.__modulesInstances=new Map,this.id=""+(new Date).getTime(),this.initOptions(e),this.initOwners(),this.events=new p.bk(this.od),this.create=new l.X(this.od),this.container=this.c.div("jodit "+this.componentName)}};k.ES=a.ES,k.version=a.APP_VERSION,k.esNext=a.IS_ES_NEXT,k.esModern=a.IS_ES_MODERN,_([c.PP],k.prototype,"buffer",null),_([c.PP],k.prototype,"message",null),_([c.PP],k.prototype,"storage",null),_([c.PP],k.prototype,"c",null),_([c.PP],k.prototype,"e",null),_([c.PP],k.prototype,"progressbar",null),_([(0,u.A)(s.f.beforeDestruct)],k.prototype,"beforeDestruct",null),k=i=_([(0,d.C)(b.K,v.O)],k),k.defaultOptions={extraButtons:[],cache:!0,textIcons:!1,namespace:"",removeButtons:[],zIndex:100002,defaultTimeout:100,fullsize:!1,showTooltip:!0,useNativeTooltip:!1,buttons:[],globalFullSize:!0,language:"auto"}},36125(e,t,r){r(82758);var i=r(65478),o=r(22732),n=r(580),s=r(21537),a=r(50911),l=(r(55099),r(55611)),c=r(92278),d=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};class u extends a.k{get ui(){return new c.F(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=o.J.closest(e,o.J.isElement,this.j.editor);t||(t=o.J.prev(e,o.J.isElement,this.j.editor)),t&&t!==this.j.editor&&(0,s.scrollIntoViewIfNeeded)(t,this.j.editor,this.j.ed)}async calcCounts(e){return(await this.findQueryBounds(e,"walkerCount")).length}async findQueryBounds(e,t){let r=this[t];return r&&r.break(),r=new o.p(this.j.async,{timeout:this.j.o.search.lazyIdleTimeout}),this[t]=r,this.find(r,e).catch(e=>[])}async findAndReplace(e){const t=await this.findQueryBounds(e,"walker");if(!t.length)return!1;let r=this.findCurrentIndexInRanges(t,this.j.s.range);-1===r&&(r=0);const i=t[r];if(i){try{const t=this.j.ed.createRange();t.setStart(i.startContainer,i.startOffset),t.setEnd(i.endContainer,i.endOffset),t.deleteContents();const n=this.j.createInside.text(this.ui.replace);o.J.safeInsertNode(t,n),(0,l.IJ)(this.j),this.j.s.setCursorAfter(n),this.tryScrollToElement(n),this.cache={},this.ui.currentIndex=r,await this.findAndSelect(e,!0).catch(e=>null)}finally{this.j.synchronizeValues()}return this.j.e.fire("afterFindAndReplace"),!0}return!1}async findAndSelect(e,t){var r;const i=await this.findQueryBounds(e,"walker");if(!i.length)return!1;this.previousQuery===e&&(0,l.zy)(this.j.editor).length||(null===(r=this.drawPromise)||void 0===r||r.rejectCallback(),this.j.async.cancelAnimationFrame(this.wrapFrameRequest),(0,l.IJ)(this.j),this.drawPromise=this.__drawSelectionRanges(i)),this.previousQuery=e;let o=this.ui.currentIndex-1;o=-1===o?0:t?o===i.length-1?0:o+1:0===o?i.length-1:o-1,this.ui.currentIndex=o+1;const n=i[o];if(n){const e=this.j.ed.createRange();try{e.setStart(n.startContainer,n.startOffset),e.setEnd(n.endContainer,n.endOffset),this.j.s.selectRange(e)}catch(e){}return this.tryScrollToElement(n.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,r,i,o;return e.startContainer.isConnected&&e.startOffset<=(null!==(r=null===(t=e.startContainer.nodeValue)||void 0===t?void 0:t.length)&&void 0!==r?r:0)&&e.endContainer.isConnected&&e.endOffset<=(null!==(o=null===(i=e.endContainer.nodeValue)||void 0===i?void 0:i.length)&&void 0!==o?o:0)})}async find(e,t){if(!t.length)return[];const r=this.cache[t];return r&&await this.isValidCache(r)?r:(this.cache[t]=this.j.async.promise(r=>{const i=new l.QN(this.j.o.search.fuzzySearch);e.on("break",()=>{r([])}).on("visit",e=>(o.J.isText(e)&&i.add(e),!1)).on("end",()=>{var e;r(null!==(e=i.ranges(t))&&void 0!==e?e:[])}).setWork(this.j.editor)}),this.cache[t])}__drawSelectionRanges(e){const{async:t,createInside:r,editor:i}=this.j;t.cancelAnimationFrame(this.wrapFrameRequest);const o=[...e];let n,s=0;return t.promise(e=>{const a=()=>{do{n=o.shift(),n&&(0,l._B)(this.j,n,o,r,i),s+=1}while(n&&5>=s);o.length?this.wrapFrameRequest=t.requestAnimationFrame(a):e()};a()})}onAfterGetValueFromEditor(e){e.value=(0,l.Tz)(e.value)}afterInit(e){if(e.o.useSearch){const t=this;e.e.on("beforeSetMode.search",()=>{this.ui.close()}).on(this.ui,"afterClose",()=>{(0,l.IJ)(e),this.ui.currentIndex=0,this.ui.count=0,this.cache={},e.focus()}).on("click",()=>{this.ui.currentIndex=0,(0,l.IJ)(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=>{}))).on("search.search",(e,r=!0)=>(this.ui.currentIndex=0,t.findAndSelect(e||"",r).catch(e=>{}))),e.registerCommand("search",{exec(e,r,i=!0){return r&&t.findAndSelect(r,i).catch(e=>{}),!1}}).registerCommand("openSearchDialog",{exec(e,r){return t.ui.open(r),!1},hotkeys:["ctrl+f","cmd+f"]}).registerCommand("openReplaceDialog",{exec(r,i,o){return e.o.readonly||t.ui.open(i,o,!0),!1},hotkeys:["ctrl+h","cmd+h"]})}}beforeDestruct(e){var t;null===(t=(0,i.cached)(this,"ui"))||void 0===t||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([i.cache],u.prototype,"ui",null),d([(0,i.watch)("ui:needUpdateCounters")],u.prototype,"updateCounters",null),d([(0,i.watch)("ui:pressReplaceButton")],u.prototype,"onPressReplaceButton",null),d([i.autobind],u.prototype,"findQueryBounds",null),d([i.autobind],u.prototype,"findAndReplace",null),d([i.autobind],u.prototype,"findAndSelect",null),d([i.autobind],u.prototype,"find",null),d([(0,i.watch)(":afterGetValueFromEditor")],u.prototype,"onAfterGetValueFromEditor",null),n.fg.add("search",u)},36204(e,t,r){var i=r(82758),o=r(12153),n=r(6441),s=r(35599);n.T.prototype.beautifyHTML=!i.IS_IE,n.T.prototype.sourceEditor="ace",n.T.prototype.sourceEditorNativeOptions={showGutter:!0,theme:"ace/theme/idle_fingers",mode:"ace/mode/html",wrap:!0,highlightActiveLine:!0},n.T.prototype.sourceEditorCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js"],n.T.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.I.set("source",s.A),n.T.prototype.controls.source={mode:i.MODE_SPLIT,exec(e){e.toggleMode()},isActive(e){return e.getRealMode()===i.MODE_SOURCE},tooltip:"Change mode"}},36243(e,t,r){var i=r(22732),o=r(580),n=r(6441);n.T.prototype.autofocus=!1,n.T.prototype.cursorAfterAutofocus="end",n.T.prototype.saveSelectionOnBlur=!0,o.fg.add("focus",e=>{e.o.saveSelectionOnBlur&&e.e.on("blur",()=>{e.isEditorMode()&&e.s.save(!0)}).on("focus",()=>{e.s.restore()});const t=()=>{if(e.s.focus(),"end"===e.o.cursorAfterAutofocus){const t=i.J.last(e.editor,e=>i.J.isText(e));t&&e.s.setCursorIn(t,!1)}};e.e.on("afterInit",()=>{e.o.autofocus&&(e.defaultTimeout?e.async.setTimeout(t,300):t())}),e.e.on("afterInit afterAddPlace",()=>{e.e.off(e.editor,"mousedown.autofocus").on(e.editor,"mousedown.autofocus",t=>{e.isEditorMode()&&t.target&&i.J.isBlock(t.target)&&!t.target.childNodes.length&&(e.editor===t.target?e.s.focus():e.s.setCursorIn(t.target))})})})},36409(e,t,r){function i(e){return e.length?e[0].toUpperCase()+e.substring(1):""}r.d(t,{Z(){return i}})},36646(e,t,r){r.d(t,{IB(){return i.I},P1(){return o.P},q4(){return n.q}});var i=r(78644),o=r(80319),n=r(83111)},36806(e,t,r){r.d(t,{X(){return a}});var i=r(23282),o=r(29960),n=r(10830),s=r(78584);function a(e,t,r,a,l){const c=this instanceof s.l?this:new s.l({closeOnClickOverlay:!0}),d=(0,n.$n)(c,"cancel","Cancel"),u=(0,n.$n)(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,i.T)(t)&&(r=t,t=void 0),a&&(0,o.C)(p,"placeholder",a),f.appendChild(c.c.text(e)),h.appendChild(f),h.appendChild(p),d.onAction(c.close);const m=()=>{r&&(0,i.T)(r)&&!1===r(p.value)||c.close()};return u.onAction(m),c.e.on(h,"submit",()=>(m(),!1)),c.setFooter([u,d]),c.open(h,t||"&nbsp;",!0,!0),p.focus(),void 0!==l&&l.length&&(p.value=l,p.select()),c}},36886(e,t){t.A='<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(e,t){t.A='<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(e,t,r){r.d(t,{N(){return d},w(){return u}});var i=r(78213),o=r(73026),n=r(46559),s=r(23282),a=r(72430),l=r(39955),c=r(89890);function d(e,t){let r;do{r=Object.getOwnPropertyDescriptor(e,t),e=Object.getPrototypeOf(e)}while(!r&&e);return r}function u(e,t){return(r,u)=>{var h;if(!(0,s.T)(r[u]))throw(0,c.z3)("Handler must be a Function");const p=null===(h=null==t?void 0:t.immediately)||void 0===h||h,f=null==t?void 0:t.context,m=t=>{const i=(0,l.h)(t)?t:t.jodit;let c=(e,...r)=>{if(!t.isInDestruct)return t[u](e,...r)};p||(c=t.async.microDebounce(c,!0)),(0,n.u)(e).forEach(e=>{if(/:/.test(e)){const[r,o]=e.split(":");let n=f;return r.length&&(n=t.get(r)),(0,s.T)(n)&&(n=n(t)),i.events.on(n||t,o,c),n||i.events.on(o,c),void t.hookStatus("beforeDestruct",()=>{i.events.off(n||t,o,c).off(o,c)})}const n=e.split("."),[l]=n,u=n.slice(1);let h=t[l];(0,a.Q)(h)&&(0,o.s)(h).on("change."+u.join("."),c);const p=d(r,l);Object.defineProperty(t,l,{configurable:!0,set(e){const r=h;r!==e&&(h=e,p&&p.set&&p.set.call(t,e),(0,a.Q)(h)&&(h=(0,o.s)(h),h.on("change."+u.join("."),c)),c(l,r,h))},get:()=>p&&p.get?p.get.call(t):h})})};(0,s.T)(r.hookStatus)?r.hookStatus(i.f.ready,m):m(r)}}},37406(e,t,r){r.d(t,{l(){return i}});const i=(...e)=>e.filter(e=>e.length).map(e=>e.replace(/\/$/,"")).join("/").replace(/([^:])[\\/]+/g,"$1/")},37426(e,t,r){r.d(t,{b(){return l}});var i=r(82758),o=r(65478),n=r(22732),s=r(21537),a=r(11676);let l=class e extends a.Q{className(){return"ToolbarEditorCollection"}shouldBeDisabled(e){const t=super.shouldBeDisabled(e);if(void 0!==t)return t;const r=void 0===e.control.mode?i.MODE_WYSIWYG:e.control.mode;return!(r===i.MODE_SPLIT||r===this.j.getRealMode())}shouldBeActive(e){const t=super.shouldBeActive(e);if(void 0!==t)return t;const r=this.j.selection?this.j.s.current():null;if(!r)return!1;let i;if(e.control.tags){const t=e.control.tags;if(i=r,n.J.up(i,e=>{if(e&&-1!==t.indexOf(e.nodeName.toLowerCase()))return!0},this.j.editor))return!0}if(e.control.css){const t=e.control.css;if(i=r,n.J.up(i,e=>{if(e&&!n.J.isText(e)&&!n.J.isComment(e))return this.checkActiveStatus(t,e)},this.j.editor))return!0}return!1}getTarget(e){return e.target||this.j.s.current()||null}prependInvisibleInput(e){const t=this.j.create.element("input",{tabIndex:-1,disabled:!0,style:"width: 0; height:0; position: absolute; visibility: hidden;"});n.J.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 r=0,i=0;return Object.keys(e).forEach(o=>{const n=e[o];(0,s.isFunction)(n)?n(this.j,""+(0,s.css)(t,o))&&(r+=1):-1!==n.indexOf(""+(0,s.css)(t,o))&&(r+=1),i+=1}),i===r},this.prependInvisibleInput(this.container)}};l=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([o.component],l)},37467(e,t,r){r(6441).T.prototype.tableAllowCellResize=!0},37508(e,t,r){function i(e){return!!e.length&&!/[^0-9A-Za-zа-яА-ЯЁё\w\-_. ]/.test(e)&&e.trim().length>0}r.d(t,{u(){return i}})},37585(e,t,r){var i=r(82758),o=r(21537),n=r(6441),s=r(11676),a=r(21491);n.T.prototype.mobileTapTimeout=300,n.T.prototype.toolbarAdaptive=!0,n.T.prototype.buttonsMD=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},{group:"font",buttons:[]},"---",{group:"media",buttons:[]},"\n",{group:"state",buttons:[]},{group:"insert",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},"---",{group:"history",buttons:[]},{group:"other",buttons:[]},"|","dots"],n.T.prototype.buttonsSM=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},"---",{group:"font",buttons:[]},"\n",{group:"state",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},"---",{group:"history",buttons:[]},"|","dots"],n.T.prototype.buttonsXS=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},"---",{group:"font",buttons:[]},{group:"color",buttons:[]},"---","dots"],n.T.prototype.controls.dots={mode:i.MODE_SOURCE+i.MODE_WYSIWYG,popup(e,t,r,i){let n=i.control.data;return void 0===n&&(n={toolbar:(0,a.$K)(e),rebuild(){var t,r;if(i){const a=e.e.fire("getDiffButtons.mobile",i.closest(s.Q));if(a&&n){n.toolbar.build((0,o.splitArray)(a));const i=(null===(r=null===(t=e.toolbar)||void 0===t?void 0:t.firstButton)||void 0===r?void 0:r.container.offsetWidth)||36;n.toolbar.container.style.width=3*(i+4)+"px"}}}},i.control.data=n),n.rebuild(),n.toolbar},tooltip:"Show all"}},37643(e,t,r){r.d(t,{s(){return n}});var i=r(82758),o=r(85567);function n({sec:e=.1,frequency:t=o.N,gain:r=.1,type:n="sine"}={}){if(!i.globalWindow||void 0===i.globalWindow.AudioContext&&void 0===i.globalWindow.webkitAudioContext)return;const s=new(i.globalWindow.AudioContext||i.globalWindow.webkitAudioContext),a=s.createGain(),l=s.createOscillator();l.type=n,l.frequency.value=t,l.connect(a),a.connect(s.destination),l.start(),l.stop(s.currentTime+e),a.gain.value=r}},37663(e,t){t.A='<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(e,t){t.A='<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(e,t,r){r.d(t,{HP(){return u},T1(){return a},b_(){return l},my(){return p},o_(){return c},qN(){return h},yt(){return d}});var i=r(14773),o=r(86068),n=r(29960),s=r(86583);function a(e,...t){return e(...t)}function l(e,t){(0,n.C)(t,"data-editor_id",e.id),!t.component&&Object.defineProperty(t,"jodit",{value:e})}function c(e,t){return(0,i.y)(e)?e.then(e=>e,()=>null).finally(t):null==t?void 0:t()}const d=(e,t)=>t.async.promise((r,i)=>{const o=new Image,n=()=>{t.e.off(o),null==i||i()},s=()=>{t.e.off(o),r(o)};t.e.one(o,"load",s).one(o,"error",n).one(o,"abort",n),o.src=e,o.complete&&s()}),u=(e,t=!0)=>{if(t)return Object.keys(e);const r=[];for(const t in e)r.push(t);return r},h=(e,t,{control:r},i)=>{var n;const a="button"+r.command;let l=null!==(n=r.args&&r.args[0])&&void 0!==n?n:(0,s.m)(e,a);if((0,o.R)(l))return!1;(0,s.m)(e,a,l),i&&(l=i(l)),e.execCommand(r.command,!1,null!=l?l:void 0)},p=e=>{if(e.clipboardData)return e.clipboardData;try{return e.dataTransfer||new DataTransfer}catch(e){return null}}},38420(e,t,r){r.d(t,{z(){return i}});const i=e=>{if(/^[0-9.]+$/.test(""+e))return parseFloat(e);const t=e.substr(-2,2).toUpperCase(),r=["KB","MB","GB","TB"],i=parseFloat(e.substr(0,e.length-2));return-1!==r.indexOf(t)?i*Math.pow(1024,r.indexOf(t)+1):parseInt(e,10)}},38837(e,t,r){r.d(t,{v(){return o}});class i extends Error{constructor(e){super(e),this.name="AssertionError"}}function o(e,t){if(!e)throw new i("Assertion failed: "+t)}},38927(e,t,r){r.d(t,{Z(){return l}});var i=r(91907),o=r(2748),n=r(23282),s=r(29960),a=r(67510);const l=(e,t,r)=>{const l=e.c.div("jodit-tabs"),c=e.c.div("jodit-tabs__wrapper"),d=e.c.div("jodit-tabs__buttons");(0,s.C)(d,{role:"tablist","aria-orientation":"horizontal"});const u={},h=[];let p="";l.appendChild(d),l.appendChild(c);const f=e=>{u[e]&&(h.forEach(e=>{e.state.activated=!1}),Object.values(u).forEach(({tab:e})=>e.classList.remove("jodit-tab_active")),u[e].button.state.activated=!0,u[e].tab.classList.add("jodit-tab_active"))};if(t.forEach(({icon:l,name:m,content:g})=>{const v=e.c.div("jodit-tab");(0,s.C)(v,{role:"tabpanel"});const b=(0,a.$n)(e,l||m,m);b.state.role="tab",e.e.on(b.container,"pointerdown",e=>e.preventDefault()),p||(p=m),d.appendChild(b.container),h.push(b),b.container.classList.add("jodit-tabs__button","jodit-tabs__button_columns_"+t.length),(0,n.T)(g)?v.appendChild(e.c.div("jodit-tab_empty")):v.appendChild(i.uA.isInstanceOf(g,a.D$)?g.container:g),c.appendChild(v),b.onAction(()=>(f(m),(0,n.T)(g)&&!o.J.isElement(g)&&g.call(e),r&&(r.activeTab=m),!1)),u[m]={button:b,tab:v}}),Object.values(u).forEach(({button:e})=>{e.container.style.width=(100/t.length).toFixed(10)+"%"}),f(r&&r.activeTab&&u[r.activeTab]?r.activeTab:p),r){let e=r.activeTab;Object.defineProperty(r,"activeTab",{configurable:!0,enumerable:!1,get:()=>e,set(t){e=t,f(t)}})}return l}},39433(e,t,r){r.d(t,{f(){return s}});var i=r(82758),o=r(2748);const n=new Set(["table","tbody","thead","tfoot","tr"]);function s(e,t,r){if(e.o.cleanHTML.fillEmptyParagraph&&o.J.isBlock(t)&&o.J.isEmpty(t,i.INSEPARABLE_TAGS)&&!o.J.isTag(t,n)){const r=e.createInside.element("br");return t.appendChild(r),!0}return r}},39516(e,t,r){r.d(t,{e(){return n}}),r(82758);var i=r(45235);const o=Object.keys(i);function n(e,t,r,n,s){let a=!1;const l=e.o.cleanHTML.disableCleanFilter;for(const c of o)if(!(l&&l.has(c)||(a=(0,i[c])(e,t,a,r,n,s),t.isConnected)))return!0;return a}},39627(e,t,r){var i=r(33433),o=r(37133),n=r(580),s=r(12045),a=r(20356),l=(r(31974),r(32523)),c=r(19308),d=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};class u extends a.k{get __dialog(){return this.jodit.dlg({buttons:["fullsize","dialog.close"],closeOnClickOverlay:!0,closeOnEsc:!0,resizable:!1,draggable:!0,minHeight:160})}get __container(){const{jodit:e,__dialog:t}=this;return new l.b(e,{onInsertAfter(r){e.s.focus(),e.s.setCursorAfter(e.s.current()),e.s.insertHTML(r),t.close()},onInsert(r){e.s.focus(),e.s.insertHTML(r),t.close()}})}afterInit(){}onGenerateAiAssistantForm(e){this.__dialog.open(this.__container,"AI Assistant"),this.__container.setPrompt(e)}onInvokeAiAssistant(e){const{jodit:t}=this;t.s.focus();const r=t.s.html;t.async.promise(async(i,o)=>{try{i(await t.o.aiAssistant.aiAssistantCallback(e,r))}catch(e){o(e)}}).then(e=>{t.e.fire("ai-assistant-response",e)}).catch(e=>{(0,s.z)(e)||(t.message.error(e.message),t.e.fire("ai-assistant-error",e.message))})}beforeDestruct(e){var t,r;null===(t=(0,i.PO)(this,"__container"))||void 0===t||t.destruct(),null===(r=(0,i.PO)(this,"__dialog"))||void 0===r||r.destruct()}constructor(e){super(e),this.buttons=[{name:"ai-commands",group:"insert"},{name:"ai-assistant",group:"insert"}],(0,n.JW)(c)}}d([i.PP],u.prototype,"__dialog",null),d([i.PP],u.prototype,"__container",null),d([(0,o.w)(":generateAiAssistantForm.ai-assistant")],u.prototype,"onGenerateAiAssistantForm",null),d([(0,o.w)(":invokeAiAssistant")],u.prototype,"onInvokeAiAssistant",null),n.fg.add("ai-assistant",u)},39804(e,t,r){r.d(t,{O(){return a}});var i=r(31635),o=r(65478),n=r(21537),s=r(46788);let a=class e{constructor(e){this._data=l(e)}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=l(this.str()+";"+`${e}:${t}`),this}str(e=e=>!0){const t=Object.keys(this._data).filter(t=>t&&!/^mso-/.test(t)&&e(t)&&null!=this.get(t)),r=e=>(0,n.isString)(e)?/^0[a-z]+$/i.test(e)?"0":e:""+e;return["padding","margin"].forEach(e=>{if(this._data[e]){const i=t.indexOf(e),o=(0,s.i)(this._data[e]);["top","right","bottom","left"].forEach((n,s)=>{const a=`${e}-${n}`,l=this._data[a];null==l||t.indexOf(a)>=i&&r(o[s])!==r(l)||-1!==t.indexOf(a)&&t.splice(t.indexOf(a),1)})}}),t.length?t.map(e=>`${(0,n.kebabCase)(e)}:${this.get(e)}`).join(";"):""}};function l(e){return(e=>{const t={},r=[];for(let i=e.length-1;i>=0;i-=1){const o=e[i][0];t[o]||(t[o]=!0,r.unshift(e[i]))}return r})((e??"").replace(/&quot;/g,'"').split(";").filter(Boolean).map(e=>(0,n.trim)(e).split(":").map(n.trim))).reduce((e,[t,r])=>(t&&r&&(e[t]=r),e),{})}a=(0,i.Cg)([o.autobind],a)},39955(e,t,r){r.d(t,{h(){return o}});var i=r(23282);function o(e){return!!(e&&e instanceof Object&&(0,i.T)(e.constructor)&&e.isView)}},40329(e,t,r){var i=r(22732),o=r(21537),n=r(43555),s=r(12153),a=r(6441),l=r(6091);a.T.prototype.table={splitBlockOnInsertTable:!0,selectionCellStyle:"border: 1px double #1e88e5 !important;",useExtraClassesOptions:!1},s.I.set("table",l.A),a.T.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,r,s){e.editor.normalize();const a=e.history.snapshot.make(),l=s.control,c=l.data&&l.data.rows?l.data.rows:10,d=l.data&&l.data.cols?l.data.cols:10,u=e.c.fromHTML('<form class="jodit-form jodit-form__inserter"><div class="jodit-form__table-creator-box"><div class="jodit-form__container"></div><div class="jodit-form__options">'+(()=>{if(!e.o.table.useExtraClassesOptions)return"";const t=[];if(l.data){const e=l.data.classList;Object.keys(e).forEach(r=>{t.push(`<label class="jodit_vertical_middle"><input class="jodit-checkbox" value="${r}" type="checkbox"/>${e[r]}</label>`)})}return t.join("")})()+'</div></div><label class="jodit-form__center"><span>1</span> &times; <span>1</span></label></form>'),h=u.querySelectorAll("span")[0],p=u.querySelectorAll("span")[1],f=u.querySelector(".jodit-form__container"),m=u.querySelector(".jodit-form__options"),g=[],v=c*d;for(let t=0;v>t;t+=1)g[t]||g.push(e.c.element("span",{dataIndex:t}));if(e.e.on(f,"mousemove",(e,t)=>{const r=e.target;if(!i.J.isTag(r,"span"))return;const o=void 0===t||isNaN(t)?parseInt((0,n.CF)(r,"-index")||"0",10):t||0,s=Math.ceil((o+1)/d),a=o%d+1;for(let e=0;g.length>e;e+=1)g[e].className=e%d+1>a||Math.ceil((e+1)/d)>s?"":"jodit_hovered";p.textContent=""+a,h.textContent=""+s}).on(f,"touchstart mousedown",t=>{const s=t.target;if(t.preventDefault(),t.stopImmediatePropagation(),!i.J.isTag(s,"span"))return;const l=parseInt((0,n.CF)(s,"-index")||"0",10),c=Math.ceil((l+1)/d),u=l%d+1,h=e.createInside,p=h.element("tbody"),f=h.element("table");f.appendChild(p);let g,v,b=null;for(let e=1;c>=e;e+=1){g=h.element("tr");for(let e=1;u>=e;e+=1)v=h.element("td"),b||(b=v),(0,o.css)(v,"width",(100/u).toFixed(4)+"%"),v.appendChild(h.element("br")),g.appendChild(h.text("\n")),g.appendChild(h.text("\t")),g.appendChild(v);p.appendChild(h.text("\n")),p.appendChild(g)}(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);const y=i.J.furthest(e.s.current(),i.J.isBlock,e.editor);if(y&&i.J.isEmpty(y))i.J.replace(y,f,void 0,!1,!0);else if(y){const t=h.text("\n");if(e.o.table.splitBlockOnInsertTable){const r=e.s.range;r.collapse(!1),r.insertNode(t),r.collapse(!1),e.s.selectRange(r);const o=e.s.splitSelection(y,t);i.J.after(o,f)}else i.J.after(y,t),i.J.after(t,f)}else e.s.insertNode(f,!1);b&&(e.s.setCursorIn(b),(0,o.scrollIntoViewIfNeeded)(b,e.editor,e.ed)),r()}),s&&s.parentElement){for(let t=0;c>t;t+=1){const r=e.c.div();for(let e=0;d>e;e+=1)r.appendChild(g[t*d+e]);f.appendChild(r)}g[0]&&(g[0].className="hovered")}return u},tooltip:"Insert table"}},40401(e,t,r){function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e=>typeof e:e=>e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e,i(e)}function o(e,t,r){var o=r.value;if("function"!=typeof o)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(i(o)));var n=!1;return{configurable:!0,get(){if(n||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof o)return o;var r=o.bind(this);return n=!0,Object.defineProperty(this,t,{configurable:!0,get(){return r},set(e){o=e,delete this[t]}}),n=!1,r},set(e){o=e}}}function n(e){var t;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?t=Reflect.ownKeys(e.prototype):(t=Object.getOwnPropertyNames(e.prototype),"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e.prototype)))),t.forEach(t=>{if("constructor"!==t){var r=Object.getOwnPropertyDescriptor(e.prototype,t);"function"==typeof r.value&&Object.defineProperty(e.prototype,t,o(e,t,r))}}),e}function s(){return 1===arguments.length?n.apply(void 0,arguments):o.apply(void 0,arguments)}r.d(t,{Ay(){return s}})},40565(e,t){t.A={"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(e,t,r){var i=r(580),o=r(21537),n=r(12153),s=r(6441),a=(r(73674),r(820)),l=r(53651),c=r(16020),d=r(89758),u=r(98527),h=r(51855);i.fg.add("bold",e=>{const t=t=>{const r=s.T.defaultOptions.controls[t],i={...r.css};let n;return Object.keys(i).forEach(e=>{n||(n={}),n[e]=(0,o.isArray)(i[e])?i[e][0]:i[e]}),e.s.commitStyle({element:r.tags?r.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})}),n.I.set("bold",a.A).set("italic",l.A).set("strikethrough",c.A).set("subscript",d.A).set("superscript",u.A).set("underline",h.A)},41180(e,t,r){r.d(t,{A(){return l},a(){return c}});var i=r(87612),o=r(72430),n=r(3760),s=r(87058),a=r(12475);function l(e,t,r,c=!1){if((0,i.L)(r)&&(c=r,r=void 0),(0,o.Q)(t)||void 0!==r){const i=(e,t,r)=>{void 0===(r=(0,n.n8)(t,r))||null!=r&&l(e,t,!0)===(0,n.iy)(t,r)||(e.style[t]=r)};if((0,o.Q)(t)){const r=Object.keys(t);for(let o=0;r.length>o;o+=1)i(e,(0,s.x)(r[o]),t[r[o]])}else i(e,(0,s.x)(t),r);return""}const d=(0,a.k)(t),u=e.ownerDocument||document,h=!!u&&(u.defaultView||u.parentWindow),p=e.style[t];let f="";return void 0!==p&&""!==p?f=p:h&&!c&&(f=h.getComputedStyle(e).getPropertyValue(d)),n.b$.test(t)&&/^[-+]?[0-9.]+px$/.test(""+f)&&(f=parseInt(""+f,10)),(0,n.iy)(t,f)}const c=e=>{"block"===l(e,"display")&&l(e,"display","");const{style:t}=e;"auto"===t.marginLeft&&"auto"===t.marginRight&&(t.marginLeft="",t.marginRight="")}},41324(t){t.exports=e},41409(e,t,r){r.r(t),r.d(t,{Ajax(){return p.d},Alert(){return s.Fc},Async(){return l.j},Button(){return f.$n},CommitStyle(){return A.xk},Component(){return i.uA},Confirm(){return s.pT},ContextMenu(){return n.t},Create(){return c.X},Dialog(){return s.lG},Dom(){return d.J},EventEmitter(){return u.bk},EventHandlersStore(){return u.d$},Eventify(){return u.h5},FileBrowser(){return a.V},Helpers(){return o},History(){return v.B},Icon(){return f.In},ImageEditor(){return y.n},LazyWalker(){return d.p},Plugin(){return h.k},PluginSystem(){return I.$},Popup(){return f.zD},ProgressBar(){return f.z2},Prompt(){return s.XG},Response(){return p.Y},STATUSES(){return i.f},Selection(){return A.LN},Snapshot(){return b.F},StatusBar(){return _.e},Table(){return k.X},ToolbarButton(){return C.IB},ToolbarCollection(){return S.Q},ToolbarContent(){return C.P1},ToolbarEditorCollection(){return T.b},ToolbarSelect(){return C.q4},UIBlock(){return f.Yh},UIButton(){return f.lD},UIButtonGroup(){return f.ss},UIButtonState(){return f.ue},UICheckbox(){return f.cY},UIElement(){return f.D$},UIFileInput(){return f.nE},UIForm(){return f.XV},UIGroup(){return f.Ue},UIInput(){return f.tS},UIList(){return f.z4},UIMessages(){return w.N},UISelect(){return f.$6},UISeparator(){return f.CP},UISpacer(){return f.bk},UITextArea(){return f.F0},UITooltip(){return f.SB},Uploader(){return E.d},View(){return m.S},ViewComponent(){return i.vG},ViewWithToolbar(){return g.T},defaultNameSpace(){return u.Xr},observable(){return u.sH}});var i=r(91907),o=r(21537),n=r(80870),s=r(638),a=r(78513),l=r(8884),c=r(12060),d=r(22732),u=r(3827),h=r(50911),p=r(41601),f=r(67510),m=r(35608),g=r(84075),v=r(78818),b=r(52604),y=r(50050),w=r(1808),_=r(23512),k=r(76014),C=r(36646),S=r(11676),T=r(37426),E=r(57380),I=r(41876),A=r(59242)},41457(e,t,r){var i=r(22732),o=r(43555),n=r(12153),s=r(32118),a=r(63399),l=r(44450),c=r(20201),d=r(73948),u=r(50050);const h="jodit-file-browser-preview",p=(e="next",t="right")=>`<div class="${h}__navigation ${h}__navigation_arrow_${e}">`+n.I.get("angle-"+t)+"</a>";t.A=e=>{if(!e.o.contextMenu)return()=>{};const t=(0,a.V)(e);return r=>{const n=(0,d.Gq)(r.target,e.container);if(!n)return;let a=n;const f=e.options,m=e=>(0,o.CF)(a,e)||"";return e.async.setTimeout(()=>{const g=(0,d.PZ)(n,(0,s.a)(e));g&&(e.state.activeElements=[g],t.show(r.clientX,r.clientY,[!("1"===m("data-is-file")||!f.editImage||!e.dataProvider.canI("ImageResize")&&!e.dataProvider.canI("ImageCrop"))&&{icon:"pencil",title:"Edit",exec(){return u.B.call(e,m("href"),m("data-name"),m("data-path"),m("data-source"))}},!!e.dataProvider.canI("FileRename")&&{icon:"italic",title:"Rename",exec(){e.e.fire("fileRename.filebrowser",m("data-name"),m("data-path"),m("data-source"))}},!!e.dataProvider.canI("FileRemove")&&{icon:"bin",title:"Delete",async exec(){try{await(0,l.W)(e,m("data-name"),m("data-source"))}catch(t){return e.status(t)}return e.state.activeElements=[],(0,c.r)(e).catch(e.status)}},!!f.preview&&{icon:"eye",title:"Preview",exec(){const t=e.dlg({buttons:["fullsize","dialog.close"]}),r=e.c.div(h,'<div class="jodit-icon_loader"></div>'),n=e.c.div(h+"__box"),s=e.c.fromHTML(p()),l=e.c.fromHTML(p("prev","left")),c=o=>{const c=e.c.element("img");c.setAttribute("src",o);const d=()=>{var o;e.isInDestruct||(e.e.off(c,"load"),i.J.detach(r),f.showPreviewNavigation&&(i.J.prevWithClass(a,e.files.getFullElName("item"))&&r.appendChild(l),i.J.nextWithClass(a,e.files.getFullElName("item"))&&r.appendChild(s)),r.appendChild(n),n.appendChild(c),t.setPosition(),null===(o=null==e?void 0:e.events)||void 0===o||o.fire("previewOpenedAndLoaded"))};e.e.on(c,"load",d),c.complete&&d()};e.e.on([s,l],"click",function(){if(a=this===s?i.J.nextWithClass(a,e.files.getFullElName("item")):i.J.prevWithClass(a,e.files.getFullElName("item")),!a)throw(0,o.z3)("Need element");i.J.detach(r),i.J.detach(n),r.innerHTML='<div class="jodit-icon_loader"></div>',c(m("href"))}),e.e.on("beforeDestruct",()=>{t.destruct()}),t.container.classList.add(h+"__dialog"),t.setContent(r),t.setPosition(),t.open(),c(m("href")),e.events.on("beforeDestruct",()=>{t.destruct()}).fire("previewOpened")}},{icon:"upload",title:"Download",exec(){const t=m("href");t&&e.ow.open(t)}}]))},e.defaultTimeout),e.e.on("beforeClose",()=>{t.close()}).on("beforeDestruct",()=>t.destruct()),r.stopPropagation(),r.preventDefault(),!1}}},41601(e,t,r){r.d(t,{Y(){return o.Y},d(){return i.d}});var i=r(54079),o=r(98582)},41872(e,t,r){r.d(t,{l(){return s}});var i=r(82758),o=r(2748),n=r(26395);function s(e,t,r){const s=!!o.J.closest(e,["pre","blockquote"],t.editor),l=!s&&o.J.closest(e,["td","th"],t.editor);if(t.o.enter.toLowerCase()===i.BR.toLowerCase()||l||r&&!s||!r&&s){if(s&&(e=>{const t=a(a(e));return!!t&&(o.J.safeRemove(a(e)),o.J.safeRemove(t),!0)})(e))return!1;const r=t.createInside.element("br");if(o.J.before(e,r),!o.J.findNotEmptySibling(r,!1)){const t=r.cloneNode();o.J.after(r,t),o.J.before(t,e)}return(0,n.$)(r,t.editor,t.ed),!0}return!1}function a(e){if(!e)return!1;const t=o.J.findSibling(e,!0);return!(!t||!o.J.isTag(t,"br"))&&t}},41876(e,t,r){r.d(t,{$(){return d}}),r(82758);var i=r(580),o=r(76855),n=r(27613),s=r(31359),a=r(14041),l=r(48591),c=r(89672);class d{get size(){return this.__items.size}add(e,t){this.__items.set((0,c.P)(e),t),i.RR.fire(`plugin:${e}:ready`)}get(e){return this.__items.get((0,c.P)(e))}remove(e){this.__items.delete((0,c.P)(e))}__getFullPluginsList(e){const t=[];return this.__items.forEach((r,i)=>{e&&!e.has(i)||t.push([i,r])}),t}__init(e){const{extraList:t,disableList:r,filter:i}=(e=>({extraList:e.o.extraPlugins.map(e=>(0,n.Kg)(e)?{name:e}:e),disableList:new Set((0,o.uM)(e.o.disablePlugins).map(c.P)),filter:e.o.safeMode?new Set(e.o.safePluginsList):null}))(e),d=new Map,u={},h=new Set;e.__plugins=u;const p=()=>{if(e.isInDestruct)return;let t=!1;this.__getFullPluginsList(i).forEach(([i,o])=>{if(r.has(i)||d.has(i))return;const a=null==o?void 0:o.requires;if(a&&(0,n.cy)(a)&&a.length){if(a.some(e=>r.has(e)))return;if(!a.every(e=>d.has(e)))return void h.add(i)}t=!0;const c=(0,l.k)(e,o);if(!c)return d.set(i,null),void h.delete(i);(0,s.T)(e,i,o,c,d,h),u[i]=c}),t&&(e.e.fire("updatePlugins"),p())};t&&t.length&&(0,a.o)(this.__items,e,t,p),p(),((e,t)=>{e.e.on("beforeDestruct",()=>{Object.keys(t).forEach(r=>{const i=t[r];(0,n.pV)(i)&&i.destruct(e),delete t[r]}),delete e.__plugins})})(e,u)}wait(e){return new Promise(t=>{if(this.get(e))return t();const r=()=>{t(),i.RR.off(`plugin:${e}:ready`,r)};i.RR.on(`plugin:${e}:ready`,r)})}constructor(){this.__items=new Map}}},42107(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 270 270"> <path d="M 255.9537,58.150081 237.69527,40.997278 c -1.49414,-1.375593 -3.43653,-2.077427 -5.37891,-2.077427 -1.94239,0 -3.88478,0.701834 -5.37892,2.077427 L 29.919751,226.1128 c -2.988286,2.77926 -2.988286,7.32714 0,10.13447 L 48.148295,253.372 c 1.46426,1.37559 3.406646,2.1055 5.378915,2.1055 1.972268,0 3.884771,-0.72991 5.378914,-2.1055 L 221.34935,100.73732 255.9537,68.284552 c 2.9584,-2.807333 2.9584,-7.355212 0,-10.134471 z M 251.17244,63.79282 221.34935,91.781927 201.89561,73.506191 231.68882,45.48901 c 0.20918,-0.140367 0.38847,-0.224587 0.62754,-0.224587 0.23906,0 0.44824,0.08422 0.59765,0.224587 l 18.25843,17.152803 c 0,0 0.23906,0.33688 0.23906,0.561467 0,0.224586 -0.0896,0.4211 -0.23906,0.58954 z" style="stroke-width:2.8964;stroke-opacity:1" /> <path d="m 48.626421,116.87948 10.578532,23.10435 c 0.83672,1.82477 3.615826,1.85284 4.452546,0 l 10.937126,-23.52545 c 2.629692,-5.69888 7.470715,-10.24676 13.536935,-12.71722 l 25.07172,-10.274833 c 1.94239,-0.786053 1.94239,-3.396873 0,-4.182926 L 88.13156,79.008563 C 82.06534,76.53811 77.224317,71.990231 74.594625,66.291346 L 63.657499,42.737824 c -0.83672,-1.824766 -3.615826,-1.824766 -4.452546,0 L 48.267826,66.291346 C 45.638135,71.990231 40.797112,76.53811 34.730891,79.008563 L 9.6292894,89.311474 c -1.9423859,0.786054 -1.9423859,3.3688 0,4.182926 l 25.5498446,10.61172 c 6.036338,2.49852 10.847478,7.07448 13.477169,12.77336 z" style="stroke-width:2.8964;fill-opacity:1;stroke-opacity:1" /> <path d="m 111.79878,33.136746 13.56682,5.642739 c 3.19747,1.319446 5.76739,3.761826 7.14201,6.793745 l 5.61797,12.268044 c 0.44825,0.982567 1.91251,0.982567 2.36075,0 l 5.79727,-12.492631 c 1.4045,-3.031919 3.97442,-5.446225 7.20177,-6.765672 l 13.29788,-5.446225 c 1.0459,-0.4211 1.0459,-1.796693 0,-2.217793 l -13.29788,-5.446225 c -3.22735,-1.319447 -5.79727,-3.733753 -7.20177,-6.765672 L 140.48633,6.2144248 c -0.44824,-0.9825664 -1.9125,-0.9825664 -2.36075,0 l -5.79727,12.4926312 c -1.4045,3.031919 -3.97442,5.446225 -7.20177,6.765672 l -13.32776,5.474298 c -1.01601,0.4211 -1.0459,1.796693 0,2.217793 z" style="stroke-width:2.8964;fill-opacity:1" /> <path d="m 233.09331,192.98627 -14.13459,-5.7831 c -3.40665,-1.40367 -6.12599,-3.95834 -7.62013,-7.1587 l -6.15587,-13.27868 c -0.47813,-1.03872 -2.03203,-1.03872 -2.51016,0 l -6.15587,13.27868 c -1.49414,3.20036 -4.21348,5.75503 -7.62013,7.1587 l -14.13459,5.81118 c -1.10567,0.44917 -1.10567,1.90898 0,2.35816 l 14.40354,5.97961 c 3.40664,1.40367 6.12598,3.98642 7.59024,7.21485 l 5.97658,13.02602 c 0.47812,1.03872 2.03203,1.03872 2.51016,0 l 6.15586,-13.25061 c 1.49415,-3.20036 4.21349,-5.75503 7.62013,-7.1587 l 14.1346,-5.7831 c 1.10566,-0.44917 1.10566,-1.90899 0,-2.35816 z" style="stroke-width:2.8964;stroke-opacity:1" /> </svg> '},42263(e,t,r){var i=r(82758),o=r(580),n=r(21537),s=r(50911);r(78524),o.fg.add("hotkeys",class a extends s.k{afterInit(e){(0,n.keys)(e.o.commandToHotkeys,!1).forEach(t=>{const r=e.o.commandToHotkeys[t];r&&((0,n.isArray)(r)||(0,n.isString)(r))&&e.registerHotkeyToCommand(r,t)});let t=!1;e.e.off(".hotkeys").on([e.ow,e.ew],"keydown.hotkeys",e=>{if(e.key===i.KEY_ESC)return this.j.e.fire("escape",e)}).on("keydown.hotkeys",r=>{const i=this.onKeyPress(r),o={shouldStop:!0};if(!1===this.j.e.fire(i+".hotkey",r.type,o)){if(o.shouldStop)return t=!0,e.e.stopPropagation("keydown"),!1;r.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=>{const t=this.specialKeys[e.which],r=(e.key||String.fromCharCode(e.which)).toLowerCase(),i=[t||r];return["alt","ctrl","shift","meta"].forEach(r=>{e[r+"Key"]&&t!==r&&i.push(r)}),(0,n.normalizeKeyAliases)(i.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:"'"}}})},42312(e,t,r){r.d(t,{h(){return s}});var i=r(2748),o=r(43555),n=r(84272);function s(e){const{s:t,editor:r,createInside:s}=e,{range:a}=t,l=a.cloneRange(),c=a.cloneRange(),d=s.fake(),u=s.fake();l.collapse(!0),c.collapse(!1),i.J.safeInsertNode(l,d),i.J.safeInsertNode(c,u),a.setStartBefore(d),a.collapse(!0),t.selectRange(a),(0,n.w)(e,d),a.setEndAfter(u),a.collapse(!1),t.selectRange(a),(0,n.w)(e,u);const h=[];i.J.between(d,u,e=>{(0,n.D)(e)&&!i.J.isTag(e,"a")&&h.push(e),i.J.isElement(e)&&(0,o.CF)(e,"style")&&(0,o.CF)(e,"style",null)}),h.forEach(e=>i.J.unwrap(e));const p=(e,t)=>{if(!i.J.findNotEmptySibling(e,t)){const i=e.parentNode;if(i&&i!==r&&(0,o.CF)(i,"style"))return(0,o.CF)(i,"style",null),p(i,t),!0}};p(d,!0)&&p(u,!1),a.setStartAfter(d),a.setEndBefore(u),t.selectRange(a),i.J.safeRemove(d),i.J.safeRemove(u)}},42320(e,t,r){r.d(t,{v(){return o}});var i=r(23282);function o(e){return!!e&&(0,i.T)(e.has)&&(0,i.T)(e.add)&&(0,i.T)(e.delete)}},42345(e,t){t.A='<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> '},42640(e,t,r){r.d(t,{Q(){return o}});const i={"text-justify":["inter-ideograph"]};function o(e){return e.isElement&&e.attributes.style&&Object.keys(i).forEach(t=>{const r=i[t];e.style.has(t)&&r.includes(e.style.get(t)?.toString())&&e.style.set(t,null)}),e}},43003(e,t,r){var i=r(580);r(40329),i.fg.add("table",e=>{e.registerButton({name:"table",group:"insert"})})},43267(e,t,r){r.r(t),r.d(t,{checkBlockNesting(){return i.o}});var i=r(78720)},43463(e,t,r){r.d(t,{G(){return o}});var i=r(2748);function o(e,t,r){let o=e;for(;o&&o!==r;){if(i.J.findSibling(o,t))return;if(i.J.isBlock(o.parentElement))break;o=o.parentElement,o&&o!==r&&(t?i.J.before(o,e):i.J.after(o,e))}}},43478(e,t){t.A='<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(e,t,r){r.d(t,{$$(){return E.$$},$v(){return T.$},AH(){return h.A},BG(){return _.B},CF(){return s.C},DY(){return E.DY},EW(){return o.EW},FI(){return g.FI},HP(){return j.HP},Hp(){return v.Hp},Jt(){return b.J},MJ(){return y.M},Mr(){return i.Mr},Op(){return i.Op},Qt(){return o.Qt},Rc(){return g.Rc},S5(){return o.S5},T(){return a.T},T1(){return j.T1},VL(){return d.VL},Vc(){return k.m},XO(){return c.X},Xm(){return i.Xm},Xu(){return p.X},ZW(){return g.ZW},Zq(){return l.Z},aE(){return h.a},bE(){return E.bE},b_(){return j.b_},cL(){return S.c},dh(){return A.d},eG(){return m.e},fF(){return g.fF},fV(){return _.f},fz(){return E.fz},h2(){return g.h2},hZ(){return I.h},l7(){return T.l},mA(){return v.mA},mY(){return u.m},mv(){return f.m},my(){return j.my},o_(){return j.o_},pi(){return d.pi},qN(){return j.qN},rV(){return g.rV},tI(){return E.tI},tb(){return d.tb},uB(){return y.u},u_(){return C.u},vA(){return n.v},w4(){return o.w4},x_(){return o.x_},y6(){return v.y6},yt(){return j.yt},z3(){return g.z3},zP(){return w.z}});var i=r(25726),o=r(63799),n=r(38837),s=r(29960),a=r(97639),l=r(44710),c=r(66292),d=r(68934),u=r(55877),h=r(41180),p=r(15456),f=r(86583),m=r(96325),g=r(89890),v=r(97735),b=r(94643),y=r(80568),w=r(38420),_=r(95942),k=r(82501),C=r(11628),S=r(58844),T=r(26395),E=r(76078),I=r(3703),A=r(50535),j=r(37790)},43649(e,t,r){r.d(t,{V(){return n},i(){return o}});var i=r(68345);const o=e=>(0,i.c)(e.buttons);function n(e,t){const r=t.getRegisteredButtonGroups();return new Set(e.reduce((e,t)=>{var i;return o(t)?e=e.concat([...t.buttons,...null!==(i=r[t.group])&&void 0!==i?i:[]]):e.push(t),e},[]))}},43809(e,t,r){var i=r(65478),o=r(580),n=r(29960),s=r(50911),a=(r(99085),r(26529));class l extends s.k{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,n.C)(this.jodit.editor,"spellcheck",this.jodit.o.spellcheck)}beforeDestruct(e){}constructor(e){super(e),this.buttons=[{group:"state",name:"spellcheck"}],(0,o.JW)(a)}}(function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);n>3&&s&&Object.defineProperty(t,r,s)})([i.autobind],l.prototype,"toggleSpellcheck",null),o.fg.add("spellcheck",l)},44245(e,t,r){r.d(t,{y(){return n}});var i=r(2748),o=r(26395);function n(e,t,r,n){const s="br"===r.toLowerCase(),{createInside:a}=t,l=a.element(r),c=a.element("br");return s||l.appendChild(c),n&&n.cssText&&l.setAttribute("style",n.cssText),i.J.after(e,l),i.J.before(s?l:c,e),(0,o.$)(l,t.editor,t.ed),l}},44253(e,t,r){r.d(t,{Y(){return m}});var i=r(82758),o=r(2748),n=r(580),s=r(27613),a=r(3760),l=r(21496),c=r(12475),d=r(43555),u=r(41180),h=r(86583),p=r(77361);const f="toggleAttributes";function m(e,t,r,m,v=!1){if(!v&&e.isApplied(t,f))return m;!v&&e.setApplied(t,f);const{attributes:b}=e.options;return b&&(0,l.E)(b)>0&&Object.keys(b).forEach(f=>{const y=b[f];switch(f){case"style":m=((e,t,r,f,m,v)=>((0,d.vA)((0,s.Qd)(r)&&(0,l.E)(r),"Style must be an object"),Object.keys(r).forEach(s=>{const l=f.style.getPropertyValue((0,c.k)(s)),d=r[s];if(""!==l||null!=d){if(((e,t,r)=>{const s=e.create.element(t.tagName.toLowerCase());s.style.cssText=t.style.cssText;const a=(e=>{var t;if(void 0!==(0,h.m)(e,"shadowRoot"))return(0,h.m)(e,"shadowRoot");const r=(0,n.My)(e),o=i.globalDocument.createElement("iframe");(0,u.A)(o,{width:0,height:0,position:"absolute",border:0}),o.src="about:blank",r.appendChild(o);const s=null===(t=o.contentWindow)||void 0===t?void 0:t.document,a=s?s.body:e.od.body;return(0,h.m)(e,"shadowRoot",a),a})(e);a.appendChild(s);const l=(0,u.A)(s,r);return o.J.safeRemove(s),l})(t,f,s)===(0,a.iy)(s,d)){if(!l)return;return!m&&(0,u.A)(f,s,null),void(v=g(e,f,v=p.Ag))}v=p.PL,m||((0,u.A)(f,s,d),v=g(e,f,v))}}),v))(e,r,y,t,v,m);break;case"className":case"class":m=((e,t,r,i,o)=>{(0,d.vA)((0,s.Kg)(t),"Class name must be a string");const n=e.e.fire.bind(e.e,p.ar+"AfterToggleAttribute");return r.classList.contains(""+t)?(i=p.Ag,o||(r.classList.remove(t),0===r.classList.length&&((0,d.CF)(r,"class",null),n(i,r,"class",null)))):(i=p.PL,o||(r.classList.add(t),n(i,r,"class",t))),i})(r,y,t,m,v);break;default:m=((e,t,r,i,o,n)=>{(0,d.vA)((0,s.Kg)(t)||(0,s.Et)(t)||(0,s.Lm)(t)||null==t,"Attribute value must be a string or number or boolean or null");const a=e.e.fire.bind(e.e,p.ar+"AfterToggleAttribute");return(0,d.CF)(r,i)===t?(!o&&(0,d.CF)(r,i,null),n=p.Ag,!o&&a(n,r,i,t),n):(n=p.PL,o||((0,d.CF)(r,i,t),a(n,r,i,t)),n)})(r,y,t,f,v,m)}}),m}function g(e,t,r){return(0,d.CF)(t,"style")||((0,d.CF)(t,"style",null),t.tagName.toLowerCase()===e.defaultTag&&(o.J.unwrap(t),r=p.OJ)),r}},44330(e,t){t.A='<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(e,t,r){function i(e,t,r){return e.dataProvider.fileRemove(e.state.currentPath,t,r).then(r=>{e.status(r||e.i18n('File "%s" was deleted',t),!0)}).catch(e.status)}r.d(t,{W(){return i}})},44506(e,t,r){r.d(t,{y(){return i}});const i=(e,t)=>{const r=e=>parseInt(e,10),i=t.getComputedStyle(e);return e.offsetWidth-r(i.getPropertyValue("padding-left")||"0")-r(i.getPropertyValue("padding-right")||"0")}},44586(e,t,r){r(6441).T.prototype.draggableTags=["img","jodit-media","jodit"]},44602(e,t,r){r.d(t,{A(){return s}});var i=r(2748),o=r(29136),n=r(97380);function s(e,t,r){const{parentNode:a}=t;return a===r||!i.J.isHTMLElement(a)||i.J.next(t,o._,a)||i.J.prev(t,o._,a)?null:e.isElementCommit&&e.elementIsBlock&&!i.J.isBlock(a)?s(e,a,r):!(0,n.sz)(e,a,!1)||i.J.isBlock(a)&&!e.elementIsBlock?e.isElementCommit&&!i.J.isBlock(a)?s(e,a,r):null:a}},44710(e,t,r){r.d(t,{Z(){return o}});var i=r(72430);const o=(e,t)=>{const r=[],n=encodeURIComponent;for(const s in e)if(Object.prototype.hasOwnProperty.call(e,s)){const a=t?t+"["+s+"]":s,l=e[s];r.push((0,i.Q)(l)?o(l,a):n(a)+"="+n(l))}return r.join("&")}},45124(e,t,r){r.d(t,{Qe(){return s},W8(){return n.W},dY(){return a}});var i=r(82758),o=r(2748),n=r(26716);function s(e,t,r,o){var n;const s=(null===(n=e.nodeValue)||void 0===n?void 0:n.length)?e.nodeValue:"";if(o&&s.replace((0,i.INVISIBLE_SPACE_REG_EXP_END)(),"").length>t)return!0;const a=(0,i.INVISIBLE_SPACE_REG_EXP_START)().exec(s);return r&&(a&&t>a[0].length||!a&&t>0)}function a(e,t,r,i,n,s){if((e=t.startContainer.childNodes[t.startOffset])||(e=t.startContainer.childNodes[t.startOffset-1],r=!0),e&&i&&!o.J.isText(e))if(!r&&o.J.isText(e.previousSibling))e=e.previousSibling;else if(n){let t=s(e);for(;t;){if(t&&o.J.isText(t)){e=t;break}t=s(t)}}if(e&&!i&&!o.J.isText(e)){let t=e,r=e;do{t=t.firstChild,r=r.lastChild}while(t&&r&&!o.J.isText(t));t===r&&t&&o.J.isText(t)&&(e=t)}return{node:e,rightMode:r}}r(43463)},45219(e,t,r){r.d(t,{d(){return i.Ay}});var i=r(40401)},45235(e,t,r){r.r(t),r.d(t,{allowAttributes(){return i.f},fillEmptyParagraph(){return o.f},removeEmptyTextNode(){return n.r},removeInvTextNodes(){return s.u},replaceOldTags(){return a.H},sanitizeAttributes(){return l.L},tryRemoveNode(){return c.k}});var i=r(82558),o=r(39433),n=r(53392),s=r(25813),a=r(80973),l=r(384),c=r(28800)},45575(e,t){t.A='<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(e,t,r){r.d(t,{M(){return o}});var i=r(70799);const o=e=>(0,i.K)(e)&&23===e.length&&/^[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}$/i.test(e)},45927(e,t,r){var i=r(65478),o=r(580),n=r(84767),s=r(41180),a=r(20356),l=(r(80792),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});let c=class e extends a.k{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.__initialize()}__initialize(){const{j:e}=this;if(e.o.inline)return;let{height:t}=e.o;if(e.o.saveHeightInStorage&&"auto"!==t){const r=e.storage.get("height");r&&(t=r)}(0,s.A)(e.editor,{minHeight:"100%"}),(0,s.A)(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){const{clientHeight:t,clientWidth:r}=this.j.container;if((0,n.E)(e)){const{minHeight:t,maxHeight:r}=this.j.o;(0,n.E)(t)&&t>e&&(e=t),(0,n.E)(r)&&e>r&&(e=r)}(0,s.A)(this.j.container,"height",e),this.j.o.saveHeightInStorage&&this.j.storage.set("height",e),this.__resizeWorkspaceImd({clientHeight:t,clientWidth:r})}__setWidth(e){const{clientHeight:t,clientWidth:r}=this.j.container;if((0,n.E)(e)){const{minWidth:t,maxWidth:r}=this.j.o;(0,n.E)(t)&&t>e&&(e=t),(0,n.E)(r)&&e>r&&(e=r)}(0,s.A)(this.j.container,"width",e),this.__resizeWorkspaceImd({clientHeight:t,clientWidth:r})}__getNotWorkHeight(){var e,t;return((null===(e=this.j.toolbarContainer)||void 0===e?void 0:e.offsetHeight)||0)+((null===(t=this.j.statusbar)||void 0===t?void 0:t.getHeight())||0)+2}__resizeWorkspaceImd({clientHeight:e,clientWidth:t}=this.j.container){if(!this.j||this.j.isDestructed||!this.j.o||this.j.o.inline)return;if(!this.j.container||!this.j.container.parentNode)return;const r=((0,s.A)(this.j.container,"minHeight")||0)-this.__getNotWorkHeight();if((0,n.E)(r)&&r>0&&([this.j.workplace,this.j.iframe,this.j.editor].map(e=>{e&&(0,s.A)(e,"minHeight",r)}),this.j.e.fire("setMinHeight",r)),(0,n.E)(this.j.o.maxHeight)){const e=this.j.o.maxHeight-this.__getNotWorkHeight();[this.j.workplace,this.j.iframe,this.j.editor].map(t=>{t&&(0,s.A)(t,"maxHeight",e)}),this.j.e.fire("setMaxHeight",e)}this.j.container&&(0,s.A)(this.j.workplace,"height","auto"!==this.j.o.height||this.j.isFullSize?this.j.container.offsetHeight-this.__getNotWorkHeight():"auto");const{clientHeight:i,clientWidth:o}=this.j.container;e===i&&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,i.throttle)()],c.prototype,"__initialize",null),l([i.autobind],c.prototype,"__resizeWorkspaceImd",null),c=l([i.autobind],c),o.fg.add("size",c)},45971(e,t,r){function i(e){return e.replace(/\r\n|\r|\n/g,"<br/>")}r.d(t,{H(){return i}})},46104(e,t){t.A='<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(e,t,r){r.r(t),r.d(t,{removeExtraBr(){return i.z}});var i=r(94870)},46334(e,t,r){r.d(t,{r(){return i}});const i=(e,t)=>/^[0-9]+$/.test(""+e)?e+t:""+e},46448(e,t,r){r(73391),r(93183),r(66707),r(41107),r(93079),r(575),r(23399),r(96111),r(42263),r(77469),r(23531),r(93401),r(65517),r(64837),r(59451),r(18363),r(6687),r(45927),r(7309),r(43003),r(72253),r(65735)},46559(e,t,r){function i(e){return Array.isArray(e)?e:e.split(/[,\s]+/)}r.d(t,{u(){return i}})},46614(e,t,r){var i=r(87612),o=r(70799),n=r(29960),s=r(86583),a=r(12153),l=r(6441),c=r(26532),d=r(93602),u=r(75259);l.T.prototype.speechRecognize={api:void 0!==c.o?c.o: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.I.set("speech-recognize",u.A),l.T.prototype.controls.speechRecognize={isVisible:e=>!!e.o.speechRecognize.api,isActive(e,t){const r=(0,s.m)(e,"speech");return!!(null==r?void 0:r.isEnabled)},isDisabled:e=>!e.o.speechRecognize.api,exec(e,t,{button:r,control:a}){var l;const{api:c,lang:u,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.m)(e,"speech");if(!m){const t=new c;m=new d.g(e.async,t),m.lang=(0,o.K)(u)?u:null!==(l=(0,n.C)(e.od.documentElement,"lang"))&&void 0!==l?l:void 0,m.continuous=h,m.interimResults=p,m.sound=f,(0,s.m)(e,"speech",m),m.on("pulse",e=>{r.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)),r.hookStatus("beforeDestruct",()=>{(0,s.m)(e,"speech",null),m.destruct()})}if(a.args){const e=a.args[0];if((0,i.L)(m[e]))return m[e]=!m[e],void(m.isEnabled&&m.restart())}m.toggle(),m.isEnabled&&r.setMod("pulse",!0),r.state.activated=m.isEnabled},name:"speechRecognize",command:"toggleSpeechRecognize",tooltip:"Speech Recognize",list:{sound:"Sound",interimResults:"Interim Results"},childTemplate(e,t,r){var i;const o=(0,s.m)(e,"speech");return`<span class='jodit-speech-recognize__list-item'><input ${(null!==(i=null==o?void 0:o[t])&&void 0!==i?i:e.o.speechRecognize[t])?"checked":""} class='jodit-checkbox' type='checkbox'>&nbsp;${r}</span>`},mods:{stroke:!1}}},46776(e,t,r){var i=r(12153),o=r(6441),n=r(44330);o.T.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.T.prototype.controls.eraser={command:"removeFormat",tooltip:"Clear Formatting"},i.I.set("eraser",n.A)},46788(e,t,r){r.d(t,{Bj(){return n.Bj},GW(){return i.G},i(){return n.i},jh(){return n.jh},lT(){return o.l}});var i=r(60181),o=r(91126),n=r(48430);r(56869)},47193(e,t,r){r.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"}},47686(e,t,r){r.d(t,{O(){return i.O}});var i=r(26658)},47749(e,t,r){r.d(t,{E(){return o}});var i=r(12475);function o(e,t,r){let o=!0,n=!1;["marginTop","marginRight","marginBottom","marginLeft"].forEach(r=>{let s=e.style.getPropertyValue((0,i.k)(r));if(!s)return n=!0,void(t[r]=0);/^[0-9]+(px)?$/.test(s)&&(s=parseInt(s,10)),t[r]=s,(n&&t[r]||o&&"marginTop"!==r&&t[r]!==t.marginTop)&&(o=!1)}),r.marginIsLocked=o}},48038(e,t,r){var i=r(6441);i.T.prototype.toolbarSticky=!0,i.T.prototype.toolbarDisableStickyForMobile=!0,i.T.prototype.toolbarStickyOffset=0},48430(e,t,r){function i(e){if(!e)return[0,0,0,0];const 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])}}let o;function n(e){if("number"==typeof e)return e;if(/%$/.test(e))return 0;o||(o=document.createElement("div"),Object.assign(o.style,{position:"absolute",left:"-9999px",top:"-9999px",margin:"0",padding:"0",border:"0"}),document.body.append(o),setTimeout(()=>{o?.remove(),o=null}));const t=0>parseFloat(e);t&&(e=e.replace("-","")),o.style.width=e;const r=o.clientWidth;return t?-r:r}function s(e){const{style:t}=e;let r=[0,0,0,0];const o=t.keys.filter(e=>/margin/.test(e)),s=Math.max(o.indexOf("margin-left"),o.indexOf("margin")),a=s>0?o[s]:"margin-left";let l;return"margin"===a?(r=i(t.get("margin")),l=r[3]||0):l=t.get(a)||0,n(l)}function a(e){return/\d.\d/.test(e)?e.split(".").pop()||null:/^\d/.test(e)?""+(parseInt(e,10)||1):null}r.d(t,{Bj(){return n},i(){return i},jh(){return a},x0(){return s}})},48538(e,t,r){r.d(t,{D(){return u}});var i,o=r(91907),n=r(55153),s=r(2748),a=r(70799),l=r(14316),c=r(34176),d=r(12153);let u=i=class e extends o.vG{get parentElement(){return this.__parentElement}set parentElement(e){this.__parentElement=e,e&&e.hookStatus("beforeDestruct",()=>this.destruct()),this.updateParentElement(this)}bubble(e){let t=this.parentElement;for(;t;)e(t),t=t.parentElement;return this}updateParentElement(e){var t;return null===(t=this.__parentElement)||void 0===t||t.updateParentElement(e),this}get(e,t){return super.get(e,t)||this.getElm(e)}closest(e){const t="object"==typeof e?t=>t===e:t=>o.uA.isInstanceOf(t,e);let r=this.__parentElement;for(;r;){if(t(r))return r;r=!r.parentElement&&r.container.parentElement?i.closestElement(r.container.parentElement,i):r.parentElement}return null}static closestElement(e,t){const r=s.J.up(e,e=>{if(e){const{component:r}=e;return r&&o.uA.isInstanceOf(r,t)}return!1});return r?null==r?void 0:r.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){const t=this.render(e);if((0,a.K)(t)){const 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.I.get(t)||"").replace(/&_/g,this.componentName+"_").replace(/~([^~]+?)~/g,(e,t)=>this.i18n(t)))}destruct(){return s.J.safeRemove(this.container),this.parentElement=null,super.destruct()}constructor(e,t){super(e),this.name="",this.__parentElement=null,this.mods={},this.container=this.createContainer(t),Object.defineProperty(this.container,"component",{value:this,configurable:!0})}};u=i=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([(0,n.C)(c.K,l.O)],u)},48591(e,t,r){r.d(t,{k(){return n}});var i=r(82758),o=r(23282);function n(e,t){try{try{return(0,o.T)(t)?new t(e):t}catch(r){if((0,o.T)(t)&&!t.prototype)return t(e)}}catch(e){if(!i.IS_PROD)throw e}return null}},49033(e,t,r){r.d(t,{j(){return n}});var i=r(82758),o=r(49055);function n(e){const t={},r={meta:1,ctrl:2,control:2,alt:3,shift:4,space:5};return e.replace(/\+\+/g,"+add").split(/[\s]*\+[\s]*/).map(e=>(0,o.Bq)(e.toLowerCase())).map(e=>i.KEY_ALIASES[e]||e).sort((e,t)=>r[e]&&!r[t]?-1:!r[e]&&r[t]?1:r[e]&&r[t]?r[e]-r[t]:e>t?1:-1).filter(e=>!t[e]&&""!==e&&(t[e]=!0)).join("+")}},49055(e,t,r){r.d(t,{Bq(){return o},Gd(){return n},gj(){return s}});var i=r(82758);function o(e){return e.replace((0,i.SPACE_REG_EXP_END)(),"").replace((0,i.SPACE_REG_EXP_START)(),"")}function n(e,t){return e.replace(RegExp(`[${t}]+$`),"").replace(RegExp(`^[${t}]+`),"")}function s(e){return e.replace((0,i.INVISIBLE_SPACE_REG_EXP_END)(),"").replace((0,i.INVISIBLE_SPACE_REG_EXP_START)(),"")}},49155(e,t){t.A='<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(e,t){t.A='<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> '},49922(e,t){t.A='<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(e,t,r){r.d(t,{E(){return n}}),r(82758);var i=r(70799),o=r(38837);class n{setState(e){(0,o.v)(!this.__previewsStates.has(e),"Circled states"),this.__previewsStates.add(e),this.__state=e}getState(){return this.__state}disableSilent(){this.silent=!1}dispatch(e,t){const r=this.transitions[this.getState()][e];if(r){const e=r.call(this,t);return(0,o.v)(e&&e!==t,"Action should return new value"),(0,o.v)((0,i.K)(e.next),"Value should contain the next state"),(0,o.v)(e.next!==this.getState(),"The new state should not be equal to the old one."),this.setState(e.next),e}throw Error(`invalid action: ${this.getState()}.${""+e}`)}constructor(e,t){this.transitions=t,this.silent=!0,this.__previewsStates=new Set,this.setState(e)}}},50050(e,t,r){r.d(t,{B(){return g},n(){return m}});var i,o=r(91907),n=r(65478),s=r(22732),a=r(21537),l=r(62843),c=r(6441),d=(r(62489),r(22461)),u=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};const h="jodit-image-editor",p="resize",f="crop";let m=i=class e extends o.vG{className(){return"ImageEditor"}get o(){return this.options}hide(){this._dialog.close()}open(e,t){return this.j.async.promise(r=>{const i=(new Date).getTime();this.image=this.j.c.element("img"),(0,a.$$)("img,.jodit-icon_loader",this.resize_box).forEach(s.J.safeRemove),(0,a.$$)("img,.jodit-icon_loader",this.crop_box).forEach(s.J.safeRemove),(0,a.css)(this.cropHandler,"background","transparent"),this.onSave=t,this.resize_box.appendChild(this.j.c.element("i",{class:"jodit-icon_loader"})),this.crop_box.appendChild(this.j.c.element("i",{class:"jodit-icon_loader"})),this.image.setAttribute("src",e+=/\?/.test(e)?"&_tst="+i:"?_tst="+i),this._dialog.open();const{widthInput:o,heightInput:n}=(0,a.refs)(this.editor),l=()=>{this.isDestructed||(this.image.removeEventListener("load",l),this.naturalWidth=this.image.naturalWidth,this.naturalHeight=this.image.naturalHeight,o.value=""+this.naturalWidth,n.value=""+this.naturalHeight,this.ratio=this.naturalWidth/this.naturalHeight,this.resize_box.appendChild(this.image),this.cropImage=this.image.cloneNode(!0),this.crop_box.appendChild(this.cropImage),s.J.safeRemove.apply(null,(0,a.$$)(".jodit-icon_loader",this.editor)),this.activeTab===f&&this.showCrop(),this.j.e.fire(this.resizeHandler,"updatesize"),this.j.e.fire(this.cropHandler,"updatesize"),this._dialog.setPosition(),this.j.e.fire("afterImageEditor"),r(this._dialog))};this.image.addEventListener("load",l),this.image.complete&&l()})}onTitleModeClick(e){const t=this,r=e.target,i=null==r?void 0:r.parentElement;if(!i)return;(0,a.$$)(`.${h}__slider,.${h}__area`,t.editor).forEach(e=>e.classList.remove(h+"_active")),i.classList.add(h+"_active"),this.activeTab=(0,a.attr)(i,"-area")||p;const o=t.editor.querySelector(`.${h}__area.${h}__area_`+t.activeTab);o&&o.classList.add(h+"_active"),t.activeTab===f&&t.showCrop()}onChangeSizeInput(e){const t=this,r=e.target,{widthInput:i,heightInput:o}=(0,a.refs)(this.editor),n="widthInput"===(0,a.attr)(r,"data-ref"),s=parseInt(r.value,10),l=n?t.o.min_height:t.o.min_width;let c;s>(n?t.o.min_width:t.o.min_height)&&((0,a.css)(t.image,n?"width":"height",s),t.resizeUseRatio&&(c=Math.round(n?s/t.ratio:s*t.ratio),c>l&&((0,a.css)(t.image,n?"height":"width",c),n?o.value=""+c:i.value=""+c))),this.j.e.fire(t.resizeHandler,"updatesize")}onResizeHandleMouseDown(e){const t=this;t.target=e.target,e.preventDefault(),e.stopImmediatePropagation(),t.clicked=!0,t.start_x=e.clientX,t.start_y=e.clientY,t.activeTab===f?(t.top_x=(0,a.css)(t.cropHandler,"left"),t.top_y=(0,a.css)(t.cropHandler,"top"),t.width=t.cropHandler.offsetWidth,t.height=t.cropHandler.offsetHeight):(t.width=t.image.offsetWidth,t.height=t.image.offsetHeight),t.j.e.on(this.j.ow,"mousemove",this.onGlobalMouseMove).one(this.j.ow,"mouseup",this.onGlobalMouseUp)}onGlobalMouseUp(e){this.clicked&&(this.clicked=!1,e.stopImmediatePropagation(),this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove))}onGlobalMouseMove(e){const t=this;if(!t.clicked)return;const{widthInput:r,heightInput:i}=(0,a.refs)(this.editor);t.diff_x=e.clientX-t.start_x,t.diff_y=e.clientY-t.start_y,t.activeTab===p&&t.resizeUseRatio||t.activeTab===f&&t.cropUseRatio?t.diff_x?(t.new_w=t.width+t.diff_x,t.new_h=Math.round(t.new_w/t.ratio)):(t.new_h=t.height+t.diff_y,t.new_w=Math.round(t.new_h*t.ratio)):(t.new_w=t.width+t.diff_x,t.new_h=t.height+t.diff_y),t.activeTab===p?(t.new_w>t.o.resizeMinWidth&&((0,a.css)(t.image,"width",t.new_w+"px"),r.value=""+t.new_w),t.new_h>t.o.resizeMinHeight&&((0,a.css)(t.image,"height",t.new_h+"px"),i.value=""+t.new_h),this.j.e.fire(t.resizeHandler,"updatesize")):(t.target!==t.cropHandler?(t.top_x+t.new_w>t.cropImage.offsetWidth&&(t.new_w=t.cropImage.offsetWidth-t.top_x),t.top_y+t.new_h>t.cropImage.offsetHeight&&(t.new_h=t.cropImage.offsetHeight-t.top_y),(0,a.css)(t.cropHandler,{width:t.new_w,height:t.new_h})):(t.top_x+t.diff_x+t.cropHandler.offsetWidth>t.cropImage.offsetWidth&&(t.diff_x=t.cropImage.offsetWidth-t.top_x-t.cropHandler.offsetWidth),(0,a.css)(t.cropHandler,"left",t.top_x+t.diff_x),t.top_y+t.diff_y+t.cropHandler.offsetHeight>t.cropImage.offsetHeight&&(t.diff_y=t.cropImage.offsetHeight-t.top_y-t.cropHandler.offsetHeight),(0,a.css)(t.cropHandler,"top",t.top_y+t.diff_y)),this.j.e.fire(t.cropHandler,"updatesize"))}destruct(){this.isDestructed||(this._dialog&&!this._dialog.isInDestruct&&this._dialog.destruct(),s.J.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,"."+h).off("."+h),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=p,this.naturalWidth=0,this.naturalHeight=0,this.ratio=0,this.new_h=0,this.new_w=0,this.diff_x=0,this.diff_y=0,this.cropBox={x:0,y:0,w:0,h:0},this.resizeBox={w:0,h:0},this.calcCropBox=()=>{const e=this.crop_box.parentNode,t=.8*e.offsetWidth,r=.8*e.offsetHeight;let i=t,o=r;const{naturalWidth:n,naturalHeight:s}=this;t>n&&r>s?(i=n,o=s):this.ratio>t/r?(i=t,o=s*(t/n)):(i=n*(r/s),o=r),(0,a.css)(this.crop_box,{width:i,height:o})},this.showCrop=()=>{if(!this.cropImage)return;this.calcCropBox();const e=this.cropImage.offsetWidth||this.image.offsetWidth||this.image.naturalWidth;this.new_w=i.calcValueByPercent(e,this.o.cropDefaultWidth);const t=this.cropImage.offsetHeight||this.image.offsetHeight||this.image.naturalHeight;this.new_h=this.cropUseRatio?this.new_w/this.ratio:i.calcValueByPercent(t,this.o.cropDefaultHeight),(0,a.css)(this.cropHandler,{backgroundImage:"url("+(0,a.attr)(this.cropImage,"src")+")",width:this.new_w,height:this.new_h,left:e/2-this.new_w/2,top:t/2-this.new_h/2}),this.j.e.fire(this.cropHandler,"updatesize")},this.updateCropBox=()=>{if(!this.cropImage)return;const e=this.cropImage.offsetWidth/this.naturalWidth,t=this.cropImage.offsetHeight/this.naturalHeight;this.cropBox.x=(0,a.css)(this.cropHandler,"left")/e,this.cropBox.y=(0,a.css)(this.cropHandler,"top")/t,this.cropBox.w=this.cropHandler.offsetWidth/e,this.cropBox.h=this.cropHandler.offsetHeight/t,this.sizes.textContent=this.cropBox.w.toFixed(0)+"x"+this.cropBox.h.toFixed(0)},this.updateResizeBox=()=>{this.resizeBox.w=this.image.offsetWidth||this.naturalWidth,this.resizeBox.h=this.image.offsetHeight||this.naturalHeight},this.setHandlers=()=>{const e=this,{widthInput:t,heightInput:r}=(0,a.refs)(this.editor);e.j.e.on([e.editor.querySelector(".jodit_bottomright"),e.cropHandler],"mousedown."+h,this.onResizeHandleMouseDown).on(this.j.ow,"resize."+h,()=>{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(`.${h}__slider-title`)),"click",this.onTitleModeClick).on([t,r],"input",this.onChangeSizeInput);const{keepAspectRatioResize:i,keepAspectRatioCrop:o}=(0,a.refs)(this.editor);i&&i.addEventListener("change",()=>{this.resizeUseRatio=i.checked}),o&&o.addEventListener("change",()=>{this.cropUseRatio=o.checked}),e.j.e.on(e.resizeHandler,"updatesize",()=>{(0,a.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,a.css)(e.cropHandler,"left"),r=(0,a.css)(e.cropHandler,"top"),i=e.cropHandler.offsetWidth,o=e.cropHandler.offsetHeight;0>t&&(t=0),0>r&&(r=0),t+i>e.cropImage.offsetWidth&&(i=e.cropImage.offsetWidth-t,e.cropUseRatio&&(o=i/e.ratio)),r+o>e.cropImage.offsetHeight&&(o=e.cropImage.offsetHeight-r,e.cropUseRatio&&(i=o*e.ratio)),(0,a.css)(e.cropHandler,{width:i,height:o,left:t,top:r,backgroundPosition:-t-1+"px "+(-r-1)+"px",backgroundSize:e.cropImage.offsetWidth+"px "+e.cropImage.offsetHeight+"px"}),e.updateCropBox()}),Object.values(e.buttons).forEach(i=>{i.onAction(()=>{const o={action:e.activeTab,box:e.activeTab===p?e.resizeBox:e.cropBox};switch(i){case e.buttons.saveas:e.j.prompt("Enter new name","Save in new file",t=>{if(!(0,a.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===p?((0,a.css)(e.image,{width:null,height:null}),t.value=""+e.naturalWidth,r.value=""+e.naturalHeight,e.j.e.fire(e.resizeHandler,"updatesize")):e.showCrop()}})})},this.options=e&&e.o&&e.o.imageeditor?e.o.imageeditor:c.T.defaultOptions.imageeditor;const t=this.options;this.resizeUseRatio=t.resizeUseRatio,this.cropUseRatio=t.cropUseRatio,this.buttons={reset:(0,l.$n)(this.j,"update","Reset"),save:(0,l.$n)(this.j,"save","Save"),saveas:(0,l.$n)(this.j,"save","Save as ...")},this.activeTab=t.resize?p:f,this.editor=(0,d.Z)(this.j,this.options);const{resizeBox:r,cropBox:o}=(0,a.refs)(this.editor);this.resize_box=r,this.crop_box=o,this.sizes=this.editor.querySelector(`.${h}__area.${h}__area_crop .jodit-image-editor__sizes`),this.resizeHandler=this.editor.querySelector(`.${h}__resizer`),this.cropHandler=this.editor.querySelector(`.${h}__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 g(e,t,r,i,o,n){return this.getInstance("ImageEditor",this.o).open(e,(e,s,l,c)=>(0,a.call)("resize"===s.action?this.dataProvider.resize:this.dataProvider.crop,r,i,t,e,s.box).then(e=>{e&&(l(),o&&o())}).catch(e=>{c(e),n&&n(e)}))}m.calcValueByPercent=(e,t)=>{const r=""+t,i=parseFloat(""+e);let o;return o=/^[-+]?[0-9]+(px)?$/.exec(r),o?parseInt(r,10):(o=/^([-+]?[0-9.]+)%$/.exec(r),o?Math.round(i*(parseFloat(o[1])/100)):i||0)},u([n.autobind],m.prototype,"hide",null),u([n.autobind],m.prototype,"open",null),u([n.autobind],m.prototype,"onTitleModeClick",null),u([(0,n.debounce)(),n.autobind],m.prototype,"onChangeSizeInput",null),u([n.autobind],m.prototype,"onResizeHandleMouseDown",null),u([n.autobind],m.prototype,"onGlobalMouseUp",null),u([(0,n.throttle)(10)],m.prototype,"onGlobalMouseMove",null),m=i=u([n.component],m)},50267(e,t){t.A='<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(e,t,r){r.d(t,{d(){return c}});var i=r(82758),o=r(22732),n=r(580),s=r(21537),a=r(74569),l=r(80020);function c(e,t,r,c,d){if(t&&(!t.types.length||t.types[0]!==i.TEXT_PLAIN)){const 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,n.My)(e.j,e.constructor).appendChild(t);const i=(0,s.isJoditObject)(e.j)?e.j.s.save():null,u=()=>i&&(0,s.isJoditObject)(e.j)&&e.j.s.restore();t.focus(),e.j.async.setTimeout(()=>{const i=t.firstChild;if(o.J.safeRemove(t),i&&i.hasAttribute("src")){const t=(0,s.attr)(i,"src")||"";u(),(0,l._)(e,[(0,a.z)(t)],r,c).finally(d)}},e.j.defaultTimeout)}}},50535(e,t,r){r.d(t,{d(){return i}});class i{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(e,t,r){r.d(t,{k(){return i.k}});var i=r(20356);r(41876)},50963(e,t,r){var i=r(6441);i.T.prototype.iframeBaseUrl="",i.T.prototype.iframeTitle="Jodit Editor",i.T.prototype.iframeDoctype="<!DOCTYPE html>",i.T.prototype.iframeDefaultSrc="about:blank",i.T.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}',i.T.prototype.iframeCSSLinks=[],i.T.prototype.iframeSandbox=null},51036(e,t){t.A='<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> '},51642(e,t,r){r.d(t,{g(){return o}});var i=r(41180);function o(e,t){t.align=e.style.cssFloat&&-1!==["left","right"].indexOf(e.style.cssFloat.toLowerCase())?(0,i.A)(e,"float"):"block"===(0,i.A)(e,"display")&&"auto"===e.style.marginLeft&&"auto"===e.style.marginRight?"center":""}},51855(e,t){t.A='<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> '},52507(e,t){t.A='<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(e,t,r){r.d(t,{F(){return s}});var i=r(91907),o=r(82758),n=r(2748);class s extends i.vG{className(){return"Snapshot"}static equal(e,t){return e.html===t.html&&JSON.stringify(e.range)===JSON.stringify(t.range)}static countNodesBeforeInParent(e){if(!e.parentNode)return 0;const t=e.parentNode.childNodes;let r=0,i=null;for(let o=0;t.length>o;o+=1){if(!i||this.isIgnoredNode(t[o])||n.J.isText(i)&&n.J.isText(t[o])||(r+=1),t[o]===e)return r;i=t[o]}return 0}static strokeOffset(e,t){for(;n.J.isText(e);)n.J.isText(e=e.previousSibling)&&e.nodeValue&&(t+=e.nodeValue.length);return t}calcHierarchyLadder(e){const t=[];if(!e||!e.parentNode||!n.J.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,r=this.j.editor;for(t=0;r&&e.length>t;t+=1)r=r.childNodes[e[t]];return r}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(){const e={html:"",range:{startContainer:[],startOffset:0,endContainer:[],endOffset:0}};e.html=this.__getCleanedEditorValue(this.j.editor);const t=this.j.s.sel;if(t&&t.rangeCount){const r=t.getRangeAt(0),i=this.calcHierarchyLadder(r.startContainer),o=this.calcHierarchyLadder(r.endContainer);let n=s.strokeOffset(r.startContainer,r.startOffset),a=s.strokeOffset(r.endContainer,r.endOffset);i.length||r.startContainer===this.j.editor||(n=0),o.length||r.endContainer===this.j.editor||(a=0),e.range={startContainer:i,startOffset:n,endContainer:o,endOffset:a}}return e}restore(e){this.transaction(()=>{const 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){const{j:t}=this,{ow:r}=t;r.scrollTo(r.scrollX,e[0]),t.editor.scrollTop=e[1]}restoreOnlySelection(e){try{if(e.range){const t=this.j.ed.createRange();t.setStart(this.getElementByLadder(e.range.startContainer),e.range.startOffset),t.setEnd(this.getElementByLadder(e.range.endContainer),e.range.endOffset),this.j.s.selectRange(t)}}catch(e){this.j.editor.lastChild&&this.j.s.setCursorAfter(this.j.editor.lastChild)}}destruct(){this.__block(!1),super.destruct()}static isIgnoredNode(e){return n.J.isText(e)&&!e.nodeValue||n.J.isTemporary(e)}__getCleanedEditorValue(e){const t=e.cloneNode(!0);return n.J.temporaryList(t).forEach(n.J.unwrap),t.innerHTML}constructor(){super(...arguments),this.__isBlocked=!1,this.__levelOfTransaction=0}}},52742(e,t,r){function i(e){return null!=e&&e===e.window}r.d(t,{l(){return i}})},52951(e,t,r){var i=r(82758),o=r(65478),n=r(2748),s=r(580),a=r(21537),l=r(50911),c=(r(36204),r(70022)),d=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};class u extends l.k{onInsertHTML(e){var t;if(!this.j.o.readonly&&!this.j.isEditorMode())return null===(t=this.sourceEditor)||void 0===t||t.insertRaw(e),this.toWYSIWYG(),!1}fromWYSIWYG(e=!1){if(!this.__lock||!0===e){this.__lock=!0;const e=this.j.getEditorValue(!1,i.SOURCE_CONSUMER);e!==this.getMirrorValue()&&this.setMirrorValue(e),this.__lock=!1}}toWYSIWYG(){if(this.__lock)return;const e=this.getMirrorValue();e!==this.__oldMirrorValue&&(this.__lock=!0,this.j.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 r=0;e.length>r;r+=1)t+=i.INVISIBLE_SPACE;return t});e>0&&t[e]===i.INVISIBLE_SPACE;)e--;let r=e;for(;r>0;){if(r--,"<"===t[r]&&void 0!==t[r+1]&&t[r+1].match(/[\w/]+/i))return r;if(">"===t[r])return e}return e}clnInv(e){return e.replace(i.INVISIBLE_SPACE_REG_EXP(),"")}onSelectAll(e){var t;if("selectall"===e.toLowerCase()&&this.j.getRealMode()===i.MODE_SOURCE)return null===(t=this.sourceEditor)||void 0===t||t.selectAll(),!1}getMirrorValue(){var e;return(null===(e=this.sourceEditor)||void 0===e?void 0:e.getValue())||""}setMirrorValue(e){var t;null===(t=this.sourceEditor)||void 0===t||t.setValue(e)}setFocusToMirror(){var e;null===(e=this.sourceEditor)||void 0===e||e.focus()}saveSelection(){if(this.j.getRealMode()===i.MODE_WYSIWYG)this.j.s.save(),this.j.synchronizeValues(),this.fromWYSIWYG(!0);else{if(this.j.o.editHTMLDocumentMode)return;const e=this.getMirrorValue();if(this.getSelectionStart()===this.getSelectionEnd()){const t=this.j.s.marker(!0),r=this.getNormalPosition(this.getSelectionStart(),this.getMirrorValue());this.setMirrorValue(e.substring(0,r)+this.clnInv(t.outerHTML)+e.substring(r))}else{const t=this.j.s.marker(!0),r=this.j.s.marker(!1),i=this.getNormalPosition(this.getSelectionStart(),e),o=this.getNormalPosition(this.getSelectionEnd(),e);this.setMirrorValue(e.slice(0,i)+this.clnInv(t.outerHTML)+e.slice(i,o)+this.clnInv(r.outerHTML)+e.slice(o))}this.toWYSIWYG()}}removeSelection(){if(this.j.getRealMode()===i.MODE_WYSIWYG)return this.__lock=!0,this.j.s.restore(),void(this.__lock=!1);let e=this.getMirrorValue(),t=0,r=0;try{if(e=e.replace(/<span[^>]+data-jodit-selection_marker=(["'])start\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerStart).replace(/<span[^>]+data-jodit-selection_marker=(["'])end\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerEnd),!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){const t=this.j.e.fire("beautifyHTML",e);(0,a.isString)(t)&&(e=t)}if(t=e.indexOf(this.tempMarkerStart),r=t,e=e.replace(this.tempMarkerStartReg,""),-1!==t){const t=e.indexOf(this.tempMarkerEnd);-1!==t&&(r=t)}e=e.replace(this.tempMarkerEndReg,"")}finally{e=e.replace(this.tempMarkerEndReg,"").replace(this.tempMarkerStartReg,"")}this.setMirrorValue(e),this.setMirrorSelectionRange(t,r),this.toWYSIWYG(),this.setFocusToMirror()}setMirrorSelectionRange(e,t){var r;null===(r=this.sourceEditor)||void 0===r||r.setSelectionRange(e,t)}onReadonlyReact(){var e;null===(e=this.sourceEditor)||void 0===e||e.setReadOnly(this.j.o.readonly)}afterInit(e){if(this.mirrorContainer=e.c.div("jodit-source"),e.workplace.appendChild(this.mirrorContainer),e.e.on("afterAddPlace changePlace afterInit",()=>{e.workplace.appendChild(this.mirrorContainer)}),this.sourceEditor=(0,c.b)("area",e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG),e.e.on(e.ow,"keydown",e=>{var t;e.key===i.KEY_ESC&&(null===(t=this.sourceEditor)||void 0===t?void 0:t.isFocused)&&this.sourceEditor.blur()}),this.onReadonlyReact(),e.e.on("placeholder.source",e=>{var t;null===(t=this.sourceEditor)||void 0===t||t.setPlaceHolder(e)}).on("change.source",this.syncValueFromWYSIWYG).on("beautifyHTML",e=>e),e.o.beautifyHTML){const t=()=>{var t;if(e.isInDestruct)return!1;const r=e.ow.html_beautify;return!(!r||e.isInDestruct||(null===(t=e.events)||void 0===t||t.off("beautifyHTML").on("beautifyHTML",e=>r(e)),0))};t()||(0,a.loadNext)(e,e.o.beautifyHTMLCDNUrlsJS).then(t,()=>null)}this.syncValueFromWYSIWYG(!0),this.initSourceEditor(e)}syncValueFromWYSIWYG(e=!1){const t=this.j;t.getMode()!==i.MODE_SPLIT&&t.getMode()!==i.MODE_SOURCE||this.fromWYSIWYG(e)}initSourceEditor(e){var t;if("area"!==e.o.sourceEditor){const t=(0,c.b)(e.o.sourceEditor,e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG);t.onReadyAlways(()=>{var r,i;null===(r=this.sourceEditor)||void 0===r||r.destruct(),this.sourceEditor=t,this.syncValueFromWYSIWYG(!0),null===(i=e.events)||void 0===i||i.fire("sourceEditorReady",e)})}else null===(t=this.sourceEditor)||void 0===t||t.onReadyAlways(()=>{var t;this.syncValueFromWYSIWYG(!0),null===(t=e.events)||void 0===t||t.fire("sourceEditorReady",e)})}beforeDestruct(){this.sourceEditor&&(this.sourceEditor.destruct(),delete this.sourceEditor),n.J.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?void 0:e.getSelectionStart())&&void 0!==t?t:0},this.getSelectionEnd=()=>{var e,t;return null!==(t=null===(e=this.sourceEditor)||void 0===e?void 0:e.getSelectionEnd())&&void 0!==t?t:0}}}d([(0,o.watch)(":insertHTML.source")],u.prototype,"onInsertHTML",null),d([o.autobind],u.prototype,"fromWYSIWYG",null),d([o.autobind],u.prototype,"toWYSIWYG",null),d([o.autobind],u.prototype,"getNormalPosition",null),d([(0,o.watch)(":beforeCommand.source")],u.prototype,"onSelectAll",null),d([(0,o.watch)(":beforeSetMode.source")],u.prototype,"saveSelection",null),d([(0,o.watch)(":afterSetMode.source")],u.prototype,"removeSelection",null),d([o.autobind],u.prototype,"setMirrorSelectionRange",null),d([(0,o.watch)(":readonly.source")],u.prototype,"onReadonlyReact",null),d([o.autobind],u.prototype,"syncValueFromWYSIWYG",null),s.fg.add("source",u)},52968(e,t,r){r.d(t,{S(){return o.S},p(){return i.p}});var i=r(60031),o=r(7483)},52995(e,t){t.A={"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(e,t,r){r.d(t,{w(){return a}});var i=r(82758),o=r(2748),n=r(4510),s=r(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{const r=i.globalDocument.createElement("div");r.innerHTML=e;const s=[];r.firstChild&&o.J.each(r,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.J.unwrap(e);break;default:(0,n.$)(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.J.safeRemove.apply(null,s),t=r.innerHTML}catch(e){}return t&&(e=t),(e=e.split(/(\n)/).filter(s.Bq).join("\n")).replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,"")}},53213(e,t,r){r.d(t,{y(){return n}});var i=r(78213),o=r(39955);function n(e,t){e.hookStatus(i.f.ready,e=>{const r=(0,o.h)(e)?e:e.jodit,i=`${r.options.namespace}${e.componentName}_prop_${t}`,n=e[t];Object.defineProperty(e,t,{get(){var e;return null!==(e=r.storage.get(i))&&void 0!==e?e:n},set(e){r.storage.set(i,e)}})})}},53253(e,t,r){r.d(t,{K(){return a}});var i=r(31635),o=r(65478),n=r(27613),s=r(48538);let a=class e extends s.D{className(){return"AutocompleteItem"}constructor(e,t,r){super(e),this.item=t,this.onClick=r,this.value="";const{container:i}=this;if(this.value=t.value,(0,n.Tn)(t.itemRenderer)){const e=t.itemRenderer(t);(0,n.Kg)(e)?i.innerHTML=e:i.appendChild(e)}else i.innerText=t.title??t.value}onClickPrevent(e){e.preventDefault(),e.stopPropagation()}onClickHandler(){this.onClick(this.value)}};(0,i.Cg)([(0,o.watch)("container:mousedown container:touchstart")],a.prototype,"onClickPrevent",null),(0,i.Cg)([(0,o.watch)("container:click")],a.prototype,"onClickHandler",null),a=(0,i.Cg)([o.component],a)},53259(e,t){t.A='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M5.09668 6.99707H7.17358L4.17358 3.99707L1.17358 6.99707H3.09668V17.0031H1.15881L4.15881 20.0031L7.15881 17.0031H5.09668V6.99707Z"/> <path d="M22.8412 7H8.84119V5H22.8412V7Z"/> <path d="M22.8412 11H8.84119V9H22.8412V11Z"/> <path d="M8.84119 15H22.8412V13H8.84119V15Z"/> <path d="M22.8412 19H8.84119V17H22.8412V19Z"/> </svg> '},53326(e,t,r){r.d(t,{G(){return o}});var i=r(82758);function o(e){const t=i.globalDocument.createElement("div");return t.textContent=e,t.innerHTML}},53392(e,t,r){r.d(t,{r(){return o}});var i=r(2748);function o(e,t,r,o,n,s){return i.J.isText(t)&&!t.nodeValue?(t===s&&e.s.isCollapsed()&&e.s.setCursorAfter(t),i.J.safeRemove(t),!0):r}},53636(e,t,r){r.d(t,{v(){return s}});var i=r(70799),o=r(29960),n=r(50050);function s(e,t){const r=(0,o.C)(t.image,"src")||"",s=e.c.element("a"),a=()=>{s.host===location.host||e.confirm("You can only edit your own images. Download this image on the host?",r=>{r&&e.uploader&&e.uploader.uploadRemoteImage(""+s.href,r=>{e.alert("The image has been successfully uploaded to the host!",()=>{(0,i.K)(r.newfilename)&&(t.values.imageSrc=r.baseurl+r.newfilename)})},t=>{e.alert("There was an error loading %s",t.message)})})};s.href=r,e.filebrowser.dataProvider.getPathByUrl(""+s.href).then(i=>{n.B.call(e.filebrowser,s.href,i.name,i.path,i.source,()=>{const e=(new Date).getTime();t.values.imageSrc=r+(-1!==r.indexOf("?")?"":"?")+"&_tmp="+e},t=>{e.alert(t.message)})}).catch(t=>{e.alert(t.message,a)})}},53651(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M384 1662l17-85q6-2 81.5-21.5t111.5-37.5q28-35 41-101 1-7 62-289t114-543.5 52-296.5v-25q-24-13-54.5-18.5t-69.5-8-58-5.5l19-103q33 2 120 6.5t149.5 7 120.5 2.5q48 0 98.5-2.5t121-7 98.5-6.5q-5 39-19 89-30 10-101.5 28.5t-108.5 33.5q-8 19-14 42.5t-9 40-7.5 45.5-6.5 42q-27 148-87.5 419.5t-77.5 355.5q-2 9-13 58t-20 90-16 83.5-6 57.5l1 18q17 4 185 31-3 44-16 99-11 0-32.5 1.5t-32.5 1.5q-29 0-87-10t-86-10q-138-2-206-2-51 0-143 9t-121 11z"/> </svg> '},53696(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68z"/> </svg> '},54041(e,t,r){r.d(t,{D(){return n}});var i=r(82758),o=r(2748);function n(e,t,r=i.IS_BLOCK){let s=e;const a=t.editor;do{if(!s||s===a)break;if(r.test(s.nodeName))return o.J.isLeaf(s)?s:n(s.parentNode,t,/^li$/i)||s;s=s.parentNode}while(s&&s!==a);return null}},54076(e,t,r){function i(e,t){const[r,i]=t.split("::");e.execCommand(r,null,i)}r.d(t,{F(){return i}})},54079(e,t,r){r.d(t,{d(){return d}});var i=r(8884),o=r(82758),n=r(40401),s=r(21537),a=r(89890),l=r(6441),c=(r(57459),r(98582));class d{className(){return"Ajax"}__buildParams(e,t){return(0,s.isPlainObject)(e)&&this.options.contentType&&this.options.contentType.includes("application/json")?JSON.stringify(e):(0,s.isFunction)(this.o.queryBuild)?this.o.queryBuild.call(this,e,t):(0,s.isString)(e)||e instanceof o.globalWindow.FormData||"object"==typeof e&&null!=e&&(0,s.isFunction)(e.append)?e:(0,s.buildQuery)(e)}get o(){return this.options}abort(){if(this.__isFulfilled)return this;try{this.__isFulfilled=!0,this.xhr.abort()}catch(e){}return this}send(){this.__activated=!0;const{xhr:e,o:t}=this,r=this.prepareRequest();return this.__async.promise(async(i,o)=>{var n;const l=()=>{this.__isFulfilled=!0,o(a.FI("Connection error"))},d=()=>{this.__isFulfilled=!0,i(new c.Y(r,e.status,e.statusText,e.responseType?e.response:e.responseText))};e.onload=d,e.onabort=()=>{this.__isFulfilled=!0,o(a.h2("Abort connection"))},e.onerror=l,e.ontimeout=l,t.responseType&&(e.responseType=t.responseType),e.onprogress=e=>{var t,r;let i=0;e.lengthComputable&&(i=e.loaded/e.total*100),null===(r=(t=this.options).onProgress)||void 0===r||r.call(t,i)},e.onreadystatechange=()=>{var r,i;null===(i=(r=this.options).onProgress)||void 0===i||i.call(r,10),e.readyState===XMLHttpRequest.DONE&&(t.successStatuses.includes(e.status)?d():e.statusText&&(this.__isFulfilled=!0,o(a.FI(e.statusText))))},e.withCredentials=null!==(n=t.withCredentials)&&void 0!==n&&n;const{url:u,data:h,method:p}=r;e.open(p,u,!0),t.contentType&&e.setRequestHeader&&e.setRequestHeader("Content-type",t.contentType);let{headers:f}=t;(0,s.isFunction)(f)&&(f=await f.call(this)),f&&e.setRequestHeader&&Object.keys(f).forEach(t=>{e.setRequestHeader(t,f[t])}),this.__async.setTimeout(()=>{e.send(h?this.__buildParams(h):void 0)},0)})}prepareRequest(){if(!this.o.url)throw a.z3("Need URL for AJAX request");let e=this.o.url;const t=this.o.data,r=(this.o.method||"get").toLowerCase();if("get"===r&&t&&(0,s.isPlainObject)(t)){const r=e.indexOf("?");if(-1!==r){const i=(0,s.parseQuery)(e);e=e.substring(0,r)+"?"+(0,s.buildQuery)({...i,...t})}else e+="?"+(0,s.buildQuery)(this.o.data)}const i={url:e,method:r,data:t};return d.log.splice(100),d.log.push(i),i}destruct(){this.__isDestructed||(this.__isDestructed=!0,this.__activated&&!this.__isFulfilled&&(this.abort(),this.__isFulfilled=!0),this.__async.destruct())}constructor(e,t=l.T.prototype.defaultAjaxOptions){this.__async=new i.j,this.__isFulfilled=!1,this.__activated=!1,this.__isDestructed=!1,this.options=(0,s.ConfigProto)(e||{},t),this.xhr=this.o.xhr?this.o.xhr():new XMLHttpRequest}}d.log=[],function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);n>3&&s&&Object.defineProperty(t,r,s)}([n.Ay],d.prototype,"destruct",null)},54389(e,t,r){var i=r(22732),o=r(12153),n=r(6441),s=r(78614),a=r(86835),l=r(302);o.I.set("indent",s.A).set("outdent",a.A),n.T.prototype.controls.indent={tooltip:"Increase Indent"},n.T.prototype.controls.outdent={isDisabled(e){const t=e.s.current();if(t){const r=i.J.closest(t,i.J.isBlock,e.editor);if(r){const t=(0,l.i)(e.o.direction,r);return!r.style[t]||0>=parseInt(r.style[t],10)}}return!0},tooltip:"Decrease Indent"},n.T.prototype.indentMargin=10},54600(e,t,r){r.d(t,{H(){return s}});var i=r(2748),o=r(26395),n=r(44245);function s(e,t,r){const s=t.s,{enter:a}=t.o,l=a.toLowerCase(),c=i.J.isLeaf(r),d=r.tagName.toLowerCase()===l||c,u=s.cursorOnTheRight(r,e),h=s.cursorOnTheLeft(r,e);if(!d&&(u||h))return u?i.J.after(r,e):i.J.before(r,e),(0,n.y)(e,t,l),void(h&&!u&&i.J.prepend(r,e));const p=s.splitSelection(r,e);(0,o.$)(p,t.editor,t.ed)}},54765(e,t,r){r.d(t,{k(){return o}});var i=r(82758);function o(){let e=!0;try{const t=i.globalDocument.createElement("input");t.type="color",t.value="!",e="color"===t.type&&"!"!==t.value}catch(t){e=!1}return e}},55099(e,t,r){var i=r(82758),o=r(12153),n=r(6441),s=r(21597);n.T.prototype.useSearch=!0,n.T.prototype.search={lazyIdleTimeout:0,useCustomHighlightAPI:i.globalWindow&&void 0!==i.globalWindow.Highlight},o.I.set("search",s.A),n.T.prototype.controls.find={tooltip:"Find",icon:"search",exec(e,t,{control:r}){switch(r.args&&r.args[0]){case"findPrevious":e.e.fire("searchPrevious");break;case"findNext":e.e.fire("searchNext");break;case"replace":e.execCommand("openReplaceDialog");break;default:e.execCommand("openSearchDialog")}},list:{search:"Find",findNext:"Find Next",findPrevious:"Find Previous",replace:"Replace"},childTemplate(e,t,r){return r}}},55153(e,t,r){r.d(t,{C(){return o}});var i=r(23282);function o(...e){return t=>{const r=t.prototype;for(let t=0;e.length>t;t++){const o=e[t],n=Object.getOwnPropertyNames(o.prototype);for(let e=0;n.length>e;e++){const t=n[e],s=Object.getOwnPropertyDescriptor(o.prototype,t);null!=s&&(0,i.T)(s.value)&&!(0,i.T)(r[t])&&Object.defineProperty(r,t,{enumerable:!0,configurable:!0,writable:!0,value(...e){return s.value.call(this,...e)}})}}}}},55307(e,t,r){r.d(t,{g(){return c},x(){return l}});var i=r(82758),o=r(2748),n=r(38837),s=r(59242),a=r(63687);const l={START:"START",ELEMENT:"ELEMENT",UNWRAP:"UNWRAP",UNWRAP_CHILDREN:"UNWRAP_CHILDREN",CHANGE:"CHANGE",REPLACE_DEFAULT:"REPLACE_DEFAULT",LIST:"LIST",TOGGLE_LIST:"TOGGLE_LIST",WRAP:"WRAP",EXTRACT:"EXTRACT",END:"END"},c={[l.START]:{exec(e){const{element:t,jodit:r,style:i,mode:n,collapsed:c}=e;if((0,a.iu)(t,r.editor)||!c&&o.J.isEmptyContent(t))return{...e,next:l.END};const d=(0,a.AS)(i,t,r.editor)||(0,a.G6)(i,t);if(d)return{...e,next:l.ELEMENT,element:d};const u=(0,a.$s)(i,t,r.editor);return i.elementIsList&&o.J.isList(u)?{...e,next:l.LIST}:u?{...e,next:l.EXTRACT}:{...e,next:n!==s.OJ?l.UNWRAP_CHILDREN:l.END}}},[l.LIST]:{exec(e){const{element:t,jodit:r,mode:n}=e;if(n!==s.DI&&n!==s.OJ&&n!==s.dj)return{...e,next:l.END};const a=o.J.closest(t,"li",r.editor);return a&&o.J.closest(t,i.LIST_TAGS,r.editor)?{...e,element:a,next:l.TOGGLE_LIST}:{...e,next:l.END}}},[l.TOGGLE_LIST]:{exec:e=>({...e,mode:(0,a.ks)(e.style,e.element,e.jodit,e.mode),next:l.END})},[l.EXTRACT]:{exec(e){var t;const{element:r,jodit:i,style:s}=e,c=(0,a.$s)(s,r,i.editor);return(0,n.v)(c,"This place should have an element"),!s.elementIsBlock&&(null===(t=s.options.attributes)||void 0===t?void 0:t.style)&&o.J.isBlock(c)?{...e,next:l.WRAP}:(s.elementIsBlock||(0,a.yP)(c,r,i),{...e,element:c,next:l.ELEMENT})}},[l.UNWRAP_CHILDREN]:{exec(e){const{element:t,style:r}=e;return(0,a.tm)(r,t)?{...e,mode:s.OJ,next:l.END}:{...e,next:l.WRAP}}},[l.WRAP]:{exec(e){const{element:t,jodit:r,style:i}=e,o=(0,a.LV)(i,t,r);return{...e,next:i.elementIsList?l.END:l.CHANGE,mode:s.Zk,element:o}}},[l.ELEMENT]:{exec(e){const{style:t,element:r,jodit:i}=e;return(0,a.Yx)(t,r,i,s.DI,!0)!==s.DI?{...e,next:l.CHANGE}:o.J.isTag(r,t.element)?{...e,next:l.UNWRAP}:{...e,next:l.END}}},[l.CHANGE]:{exec(e){const{style:t,element:r,jodit:i,mode:n}=e,c=(0,a.Yx)(t,r,i,e.mode);return n!==s.Zk&&c===s.Ag&&!r.attributes.length&&o.J.isTag(r,t.element)?{...e,next:l.UNWRAP}:{...e,mode:c,next:l.END}}},[l.UNWRAP]:{exec:e=>e.element.attributes.length&&o.J.isTag(e.element,e.style.element)?{...e,next:l.REPLACE_DEFAULT}:(o.J.unwrap(e.element),{...e,mode:s.OJ,next:l.END})},[l.REPLACE_DEFAULT]:{exec:e=>(o.J.replace(e.element,e.style.defaultTag,e.jodit.createInside,!0),{...e,mode:s.dj,next:l.END})},[l.END]:{exec:e=>e}}},55311(e,t,r){r(6441).T.prototype.tableAllowCellSelection=!0},55611(e,t,r){r.d(t,{IJ(){return i.IJ},QN(){return o.Q},Tz(){return i.Tz},_B(){return i._B},zy(){return i.zy}});var i=r(12270),o=r(93119)},55877(e,t,r){r.d(t,{m(){return s}});var i=r(82758),o=r(26049),n=r(82501);const s=(e,{width:t=400,height:r=345}={})=>{if(!(0,o.m)(e))return e;const s=i.globalDocument.createElement("a"),a=/(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(.+)/g;s.href=e,t||(t=400),r||(r=345);const l=s.protocol||"";switch(s.hostname){case"www.vimeo.com":case"vimeo.com":return a.test(e)?e.replace(a,'<iframe width="'+t+'" height="'+r+'" src="'+l+'//player.vimeo.com/video/$1" frameborder="0" allowfullscreen></iframe>'):e;case"youtube.com":case"www.youtube.com":case"youtu.be":case"www.youtu.be":{const i=s.search?(0,n.m)(s.search):{v:s.pathname.substring(1)};return/^embed\/.*/.test(i.v)&&(i.v=i.v.substring(6)),i.v?'<iframe width="'+t+'" height="'+r+'" src="'+l+"//www.youtube.com/embed/"+i.v+'" frameborder="0" allowfullscreen></iframe>':e}}return e}},56113(e,t,r){var i=r(82758),o=r(65478),n=r(2748),s=r(580),a=r(21537),l=r(41409),c=(r(37467),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});const d="table_processor_observer-resize";class u extends l.Plugin{get module(){return this.j.getInstance("Table",this.j.o)}get isRTL(){return"rtl"===this.j.o.direction}showResizeHandle(){this.j.async.clearTimeout(this.hideTimeout),this.j.workplace.appendChild(this.resizeHandler)}hideResizeHandle(){this.hideTimeout=this.j.async.setTimeout(()=>{n.J.safeRemove(this.resizeHandler)},{timeout:this.j.defaultTimeout,label:"hideResizer"})}onHandleMouseDown(e){if(this.j.isLocked)return;this.drag=!0,this.j.e.on(this.j.ow,"mouseup.resize-cells touchend.resize-cells",this.onMouseUp).on(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.startX=e.clientX,this.j.lock(d),this.resizeHandler.classList.add("jodit-table-resizer_moved");let t,r=this.workTable.getBoundingClientRect();if(this.minX=0,this.maxX=1e6,null!=this.wholeTable)r=this.workTable.parentNode.getBoundingClientRect(),this.minX=r.left,this.maxX=this.minX+r.width;else{const e=this.module.formalCoordinate(this.workTable,this.workCell,!0);this.module.formalMatrix(this.workTable,(r,o,n)=>{e[1]===n&&(t=r.getBoundingClientRect(),this.minX=Math.max(t.left+i.NEARBY/2,this.minX)),e[1]+(this.isRTL?-1:1)===n&&(t=r.getBoundingClientRect(),this.maxX=Math.min(t.left+t.width-i.NEARBY/2,this.maxX))})}return!1}onMouseMove(e){if(!this.drag)return;this.j.e.fire("closeAllPopups");let t=e.clientX;const r=(0,a.offset)(this.resizeHandler.parentNode||this.j.od.documentElement,this.j,this.j.od,!0);this.minX>t&&(t=this.minX),t>this.maxX&&(t=this.maxX),this.resizeDelta=t-this.startX+(this.j.o.iframe?r.left:0),this.resizeHandler.style.left=t-(this.j.o.iframe?0:r.left)+"px";const i=this.j.s.sel;i&&i.removeAllRanges()}onMouseUp(e){(this.selectMode||this.drag)&&(this.selectMode=!1,this.j.unlock()),this.resizeHandler&&this.drag&&(this.drag=!1,this.j.e.off(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.resizeHandler.classList.remove("jodit-table-resizer_moved"),this.startX!==e.clientX&&(null==this.wholeTable?this.resizeColumns():this.resizeTable()),this.j.synchronizeValues(),this.j.s.focus())}resizeColumns(){const e=this.resizeDelta,t=[],r=this.module;r.setColumnWidthByDelta(this.workTable,r.formalCoordinate(this.workTable,this.workCell,!0)[1],e,!0,t);const i=(0,a.call)(this.isRTL?n.J.prev:n.J.next,this.workCell,n.J.isCell,this.workCell.parentNode);r.setColumnWidthByDelta(this.workTable,r.formalCoordinate(this.workTable,i)[1],-e,!1,t)}resizeTable(){const e=this.resizeDelta*(this.isRTL?-1:1),t=this.workTable.offsetWidth,r=(0,a.getContentWidth)(this.workTable.parentNode,this.j.ew),i=!this.wholeTable;if(this.isRTL?!i:i)this.workTable.style.width=(t+e)/r*100+"%";else{const i=this.isRTL?"marginRight":"marginLeft",o=parseInt(this.j.ew.getComputedStyle(this.workTable)[i]||"0",10);this.workTable.style.width=(t-e)/r*100+"%",this.workTable.style[i]=(o+e)/r*100+"%"}}setWorkCell(e,t=null){this.wholeTable=t,this.workCell=e,this.workTable=n.J.up(e,e=>n.J.isTag(e,"table"),this.j.editor)}calcHandlePosition(e,t,r=0,o=0){const s=(0,a.offset)(t,this.j,this.j.ed);if(r>i.NEARBY&&s.width-i.NEARBY>r)return void this.hideResizeHandle();const l=(0,a.offset)(this.j.workplace,this.j,this.j.od,!0),c=(0,a.offset)(e,this.j,this.j.ed);if(this.resizeHandler.style.left=(r>i.NEARBY?s.left+s.width:s.left)-l.left+o+"px",Object.assign(this.resizeHandler.style,{height:c.height+"px",top:c.top-l.top+"px"}),this.showResizeHandle(),r>i.NEARBY){const e=(0,a.call)(this.isRTL?n.J.prev:n.J.next,t,n.J.isCell,t.parentNode);this.setWorkCell(t,!!e&&null)}else{const e=(0,a.call)(this.isRTL?n.J.next:n.J.prev,t,n.J.isCell,t.parentNode);this.setWorkCell(e||t,!e||null)}}afterInit(e){e.o.tableAllowCellResize&&e.e.off(this.j.ow,".resize-cells").off(".resize-cells").on("change.resize-cells afterCommand.resize-cells afterSetMode.resize-cells",()=>{(0,a.$$)("table",e.editor).forEach(this.observe)}).on(this.j.ow,"scroll.resize-cells",()=>{if(!this.drag)return;const t=n.J.up(this.workCell,e=>n.J.isTag(e,"table"),e.editor);if(t){const e=t.getBoundingClientRect();this.resizeHandler.style.top=e.top+"px"}}).on("beforeSetMode.resize-cells",()=>{const t=this.module;t.getAllSelectedCells().forEach(r=>{t.removeSelection(r),t.normalizeTable(n.J.closest(r,"table",e.editor))})})}observe(e){(0,a.dataBind)(e,d)||((0,a.dataBind)(e,d,!0),this.j.e.on(e,"mouseleave.resize-cells",e=>{this.resizeHandler&&this.resizeHandler!==e.relatedTarget&&this.hideResizeHandle()}).on(e,"mousemove.resize-cells touchmove.resize-cells",this.j.async.throttle(t=>{if(this.j.isLocked)return;const r=n.J.up(t.target,n.J.isCell,e);r&&this.calcHandlePosition(e,r,t.offsetX)},{timeout:this.j.defaultTimeout})),this.createResizeHandle())}beforeDestruct(e){e.events&&(e.e.off(this.j.ow,".resize-cells"),e.e.off(".resize-cells"))}constructor(){super(...arguments),this.selectMode=!1,this.resizeDelta=0,this.createResizeHandle=()=>{this.resizeHandler||(this.resizeHandler=this.j.c.div("jodit-table-resizer"),this.j.e.on(this.resizeHandler,"mousedown.table touchstart.table",this.onHandleMouseDown).on(this.resizeHandler,"mouseenter.table",()=>{this.j.async.clearTimeout(this.hideTimeout)}))},this.hideTimeout=0,this.drag=!1,this.minX=0,this.maxX=0,this.startX=0}}c([o.autobind],u.prototype,"onHandleMouseDown",null),c([o.autobind],u.prototype,"onMouseMove",null),c([o.autobind],u.prototype,"onMouseUp",null),c([o.autobind],u.prototype,"observe",null),s.fg.add("resizeCells",u)},56175(e,t,r){r.d(t,{Ej(){return s.E},G1(){return l.G},cY(){return a.c},mH(){return o.m},xM(){return n.x},y6(){return i.y}});var i=r(44506),o=r(16442),n=r(81630),s=r(21496),a=r(81284),l=r(5700)},56825(e,t,r){r.d(t,{f(){return s}});var i=r(82758),o=r(2748),n=r(58940);function s(e,t,r){const s=o.J.findSibling(t,r);return!(!o.J.isElement(s)||!o.J.isTag(s,i.INSEPARABLE_TAGS)&&!o.J.isEmpty(s)||(o.J.safeRemove(s),o.J.isTag(s,"br")&&!o.J.findNotEmptySibling(t,!1)&&o.J.after(t,e.createInside.element("br")),e.s.setCursorBefore(t),o.J.isTag(s,"br")&&(0,n.C)(e,t,r),0))}},56869(e,t,r){r.d(t,{d(){return s}});var i=r(49055),o=r(85568),n=r(31117);function s(e,t,r,s){const a={jodit:e,rtf:s};return t.forEach(function e(t){if(t){for(const e of o.C)if(null==(t=e(t,a)))break;t?.forEach(e)}}),r&&t.forEach(e=>{e.style.clear()},!0),(0,i.Bq)((0,n.OH)(t,e=>!e.isComment,!0,e.o.pasteFromWord.allowedStyleProps))}},56917(e,t,r){r.d(t,{z(){return p}});var i=r(4012),o=r(65478),n=r(2748),s=r(580),a=r(21537),l=r(38837),c=r(48538),d=r(62405),u=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};const h=["escape","cut","delete","backSpaceAfterDelete","beforeCommandDelete"];class p extends d.U{className(){return"Popup"}appendChildToContainer(e){const t=this.getElm("content");(0,l.v)(t,"Content element should exist"),t.appendChild(e)}updateParentElement(e){return e!==this&&i.u.isInstanceOf(e,p)&&(this.__childrenPopups.forEach(t=>{!e.closest(t)&&t.isOpened&&t.close()}),this.__childrenPopups.has(e)||this.j.e.on(e,"beforeClose",()=>{this.__childrenPopups.delete(e)}),this.__childrenPopups.add(e)),super.updateParentElement(e)}setContent(e){if(this.allChildren.length)throw Error("Remove children");if(i.u.isInstanceOf(e,c.D))this.append(e);else{const t=(0,a.isString)(e)?this.j.c.fromHTML(e):e;this.appendChildToContainer(t)}return this.updatePosition(),this}open(e,t=!1,r){if((0,a.markOwner)(this.jodit,this.container),this.container.classList.add("jodit_theme_"+this.jodit.o.theme),this.__calculateZIndex(),this.isOpened=!0,this.__addGlobalListeners(),this.__targetBound=t?this.getKeepBound(e):e,r)r.appendChild(this.container);else{const e=(0,s.My)(this.jodit,p);r!==this.container.parentElement&&e.appendChild(this.container)}return this.updatePosition(),this.j.e.fire(this,"afterOpen"),this.j.e.fire("afterOpenPopup",this),this}__calculateZIndex(){if(this.container.style.zIndex)return;const e=e=>{const t=e.container.style.zIndex||e.o.zIndex;return!!t&&(this.setZIndex(1+parseInt(""+t,10)),!0)},{j:t}=this;if(e(t))return;let r=this.parentElement;for(;r;){if(e(r.j))return;if(r.container.style.zIndex)return void this.setZIndex(1+parseInt(""+r.container.style.zIndex,10));if(!r.parentElement&&r.container.parentElement){const e=c.D.closestElement(r.container.parentElement,c.D);if(e){r=e;continue}}r=r.parentElement}}getKeepBound(e){const t=e(),r=this.od.elementFromPoint(t.left,t.top);if(!r)return e;const i=n.J.isHTMLElement(r)?r:r.parentElement,o=(0,a.position)(i,this.j);return()=>{const t=e(),r=(0,a.position)(i,this.j);return{...t,top:t.top+(r.top-o.top),left:t.left+(r.left-o.left)}}}updatePosition(){if(!this.isOpened)return this;const[e,t]=this.__calculatePosition(this.__targetBound(),this.viewBound(),(0,a.position)(this.container,this.j));return this.setMod("strategy",t),(0,a.css)(this.container,{left:e.left,top:e.top}),this.__childrenPopups.forEach(e=>e.updatePosition()),this}__throttleUpdatePosition(){this.updatePosition()}__calculatePosition(e,t,r,i=this.strategy){const o={left:e.left,right:e.left-(r.width-e.width)},n={bottom:e.top+e.height,top:e.top-r.height},s=Object.keys(o).reduce((e,t)=>e.concat(Object.keys(n).map(e=>`${t}${(0,a.ucfirst)(e)}`)),[]),l=e=>{const[t,i]=(0,a.kebabCase)(e).split("-");return{left:o[t],top:n[i],width:r.width,height:r.height}},c=e=>{let t=null;return t=p.boxInView(l(i),e)?i:s.find(t=>{if(p.boxInView(l(t),e))return t})||null,t};let d=c((0,a.position)(this.j.container,this.j));return d&&p.boxInView(l(d),t)||(d=c(t)||d||i),[l(d),d]}static boxInView(e,t){return!(-2>e.top-t.top||-2>e.left-t.left||-2>t.top+t.height-(e.top+e.height)||-2>t.left+t.width-(e.left+e.width))}close(){return this.isOpened?(this.isOpened=!1,this.__childrenPopups.forEach(e=>e.close()),this.j.e.fire(this,"beforeClose"),this.j.e.fire("beforePopupClose",this),this.__removeGlobalListeners(),n.J.safeRemove(this.container),this):this}__closeOnOutsideClick(e){this.isOpened&&!this.isOwnClick(e)&&this.close()}isOwnClick(e){if(!e.target)return!1;const t=c.D.closestElement(e.target,p);return!(!t||this!==t&&!t.closest(this))}__addGlobalListeners(){const e=this.__throttleUpdatePosition,t=this.ow;s.RR.on("closeAllPopups",this.close),this.smart&&this.j.e.on(h,this.close).on("mousedown touchstart",this.__closeOnOutsideClick).on(t,"mousedown touchstart",this.__closeOnOutsideClick),this.j.e.on("closeAllPopups",this.close).on("resize",e).on(this.container,"scroll mousewheel",e).on(t,"scroll",e).on(t,"resize",e),n.J.up(this.j.container,t=>{t&&this.j.e.on(t,"scroll mousewheel",e)})}__removeGlobalListeners(){const e=this.__throttleUpdatePosition,t=this.ow;s.RR.off("closeAllPopups",this.close),this.smart&&this.j.e.off(h,this.close).off("mousedown touchstart",this.__closeOnOutsideClick).off(t,"mousedown touchstart",this.__closeOnOutsideClick),this.j.e.off("closeAllPopups",this.close).off("resize",e).off(this.container,"scroll mousewheel",e).off(t,"scroll",e).off(t,"resize",e),this.j.container.isConnected&&n.J.up(this.j.container,t=>{t&&this.j.e.off(t,"scroll mousewheel",e)})}setZIndex(e){this.container.style.zIndex=""+e}render(){return'<div>\n\t\t\t<div class="&__content"></div>\n\t\t</div>'}destruct(){return this.close(),super.destruct()}constructor(e,t=!0){super(e),this.smart=t,this.isOpened=!1,this.strategy="leftBottom",this.viewBound=()=>({left:0,top:0,width:this.ow.innerWidth,height:this.ow.innerHeight}),this.__childrenPopups=new Set,(0,a.attr)(this.container,"role","popup")}}u([o.autobind],p.prototype,"updatePosition",null),u([(0,o.throttle)(10),o.autobind],p.prototype,"__throttleUpdatePosition",null),u([o.autobind],p.prototype,"close",null),u([o.autobind],p.prototype,"__closeOnOutsideClick",null)},56967(e,t,r){r.d(t,{R(){return c},n(){return l}});var i=r(82758),o=r(70799),n=r(36409),s=r(43555),a=r(6441);const l=(e,t)=>{if(!t||!t.length)return e;const r=/%([sd])/g;let i=r.exec(e),o=e,n=0;for(;i&&void 0!==t[n];)o=o.replace(i[0],""+t[n]),n+=1,i=r.exec(e);return o};function c(e,t,r){if(!(0,o.K)(e))throw(0,s.z3)("i18n: Need string in first argument");if(!e.length)return e;const c=!!(null==r?void 0:r.debugLanguage);let d={};const u=e=>t&&t.length?l(e,t):e,h=(0,s.eG)(a.T.defaultOptions.language,a.T.defaultOptions.language),p=(0,s.eG)(null==r?void 0:r.language,h),f=t=>{if(!t)return;if((0,o.K)(t[e]))return u(t[e]);const r=e.toLowerCase();if((0,o.K)(t[r]))return u(t[r]);const i=(0,n.Z)(e);return(0,o.K)(t[i])?u(t[i]):void 0};void 0!==i.lang[p]?d=i.lang[p]:c||(d=void 0!==i.lang[h]?i.lang[h]:i.lang.en);const m=null==r?void 0:r.i18n;if(m&&m[p]){const e=f(m[p]);if(e)return e}return f(d)||(!c&&i.lang.en&&(0,o.K)(i.lang.en[e])&&i.lang.en[e]?u(i.lang.en[e]):c?"{"+e+"}":u(e))}},57034(e,t,r){r.d(t,{B(){return i}});class i{get length(){return this.commands.length}clearRedo(){this.commands.length=this.stackPosition+1}clear(){this.commands.length=0,this.stackPosition=-1}push(e){this.clearRedo(),this.commands.push(e),this.stackPosition+=1,this.commands.length>this.size&&(this.commands.shift(),this.stackPosition-=1)}replace(e){this.commands[this.stackPosition]=e}current(){return this.commands[this.stackPosition]}undo(){return!!this.canUndo()&&(this.commands[this.stackPosition]&&this.commands[this.stackPosition].undo(),this.stackPosition-=1,!0)}redo(){return!!this.canRedo()&&(this.stackPosition+=1,this.commands[this.stackPosition]&&this.commands[this.stackPosition].redo(),!0)}canUndo(){return this.stackPosition>=0}canRedo(){return this.commands.length-1>this.stackPosition}constructor(e){this.size=e,this.commands=[],this.stackPosition=-1}}},57288(e,t,r){var i=r(6441);i.T.prototype.limitWords=!1,i.T.prototype.limitChars=!1,i.T.prototype.limitHTML=!1},57340(e,t,r){r.d(t,{S(){return f}});var i,o=r(91907),n=r(65478),s=r(22732),a=r(580),l=r(5700),c=r(43555),d=r(48538),u=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};const h=["scroll.tooltip","joditCloseDialog","mouseleave.tooltip"],p=["escape.tooltip","change.tooltip","changePlace.tooltip","afterOpenPopup.tooltip","hidePopup.tooltip","beforePopupClose.tooltip","closeAllPopups.tooltip"];let f=i=class e extends d.D{className(){return"UITooltip"}render(){return'<div><div class="&__content"></div></div>'}__onAttach(e){(0,a.My)(this.j,i).appendChild(this.container),this.__attachedContainers.add(e),this.__attachedContainers.add(this.j.container),this.j.e.on(e,"mouseenter.tooltip",this.__onMouseEnter,{capture:!0}).on(e,"mouseleave.tooltip",this.__onMouseLeave,{capture:!0}).on(this.j.container,"mouseleave.tooltip",this.__onMouseLeave,{capture:!0})}__addListenersOnEnter(){if(this.__listenClose)return;this.__listenClose=!0;const e=this.j;e.e.on(e.ow,h,this.__hide).on(p,this.__hide)}__removeListenersOnLeave(){if(!this.__listenClose)return;this.__listenClose=!1;const e=this.j;e.e.off(e.ow,h,this.__hide).off(p,this.__hide)}__onMouseLeave(e){this.__currentTarget===e.target&&(this.__hideDelay(),this.__currentTarget=null)}__onMouseEnter(e){if(!s.J.isHTMLElement(e.target))return;const t=(0,c.CF)(e.target,"aria-label");if(!t)return;if((0,c.CF)(e.target,"disabled"))return;if(!e.target.className.includes("jodit"))return;this.__currentTarget=e.target;const r=e.target;this.__open(()=>{const e=(0,l.G)(r);return{x:e.left+e.width/2,y:e.top+e.height}},t)}__open(e,t){this.__addListenersOnEnter(),this.__isOpened=!0,this.j.async.clearTimeout(this.__hideTimeout),this.j.async.clearTimeout(this.__delayShowTimeout);const r=this.j.o.showTooltipDelay||this.j.defaultTimeout;r?this.__delayShowTimeout=this.j.async.setTimeout(()=>this.__show(e,t),r):this.__show(e,t)}__show(e,t){this.setMod("visible",!0),this.getElm("content").innerHTML=t;const r=e();(0,c.AH)(this.container,{left:r.x,top:r.y})}__hide(){this.j.async.clearTimeout(this.__delayShowTimeout),this.j.async.clearTimeout(this.__hideTimeout),this.__removeListenersOnLeave(),this.__isOpened&&(this.__isOpened=!1,this.setMod("visible",!1),this.getElm("content").innerHTML="",(0,c.AH)(this.container,{left:-5e3}))}__hideDelay(){this.j.async.clearTimeout(this.__delayShowTimeout),this.j.async.clearTimeout(this.__hideTimeout),this.__isOpened&&(this.__hideTimeout=this.async.setTimeout(this.__hide,this.j.defaultTimeout))}destruct(){this.__attachedContainers.forEach(e=>{this.j.e.off(e,"mouseenter.tooltip",this.__onMouseEnter).off(e,"mouseleave.tooltip",this.__onMouseLeave)}),this.__hide(),super.destruct()}constructor(e){super(e),this.__isOpened=!1,this.__attachedContainers=new Set,this.__listenClose=!1,this.__currentTarget=null,this.__delayShowTimeout=0,this.__hideTimeout=0,e.o.textIcons||!e.o.showTooltip||e.o.useNativeTooltip||(this.j.e.on("getContainer",e=>{this.__onAttach(e)}),e.hookStatus(o.f.ready,()=>{this.__onAttach(this.j.container)}))}};u([n.autobind],f.prototype,"__onMouseLeave",null),u([n.autobind],f.prototype,"__onMouseEnter",null),u([n.autobind],f.prototype,"__hide",null),u([n.autobind],f.prototype,"__hideDelay",null),f=i=u([n.component],f)},57380(e,t,r){r.d(t,{d(){return l}});var i=r(91907),o=r(82758),n=r(21537),s=r(6441),a=r(94122);r(80536);class l extends i.vG{get j(){return this.jodit}className(){return"Uploader"}get o(){return this.options}setPath(e){return this.path=e,this}setSource(e){return this.source=e,this}bind(e,t,r){const i=()=>{e.classList.remove("jodit_drag_hover")},n=this,s=e=>{let s,l,c;const d=e.clipboardData,u=e=>{l&&(e.append("extension",c),e.append("mimetype",l.type))};if(!o.IS_IE&&(0,a.YQ)(d))return(0,a._9)(n,d.files,t,r).finally(i),!1;if(o.IS_IE&&!o.IS_ES_NEXT)return(0,a.dT)(n,d,t,r,i);if((0,a.Pb)(d)){const{items:o}=d;for(s=0;o.length>s;s+=1)if("file"===o[s].kind&&"image/png"===o[s].type){if(l=o[s].getAsFile(),l){const e=l.type.match(/\/([a-z0-9]+)/i);c=e[1]?e[1].toLowerCase():"",(0,a._9)(n,[l],t,r,u).finally(i)}e.preventDefault();break}}};n.j&&n.j.editor!==e?n.j.e.on(e,"paste",s):n.j.e.on("beforePaste",s),this.attachEvents(e,t,r,i)}attachEvents(e,t,r,i){const o=this;o.j.e.on(e,"dragend dragover dragenter dragleave drop",e=>{e.preventDefault()}).on(e,"dragover",t=>{((0,a.YQ)(t.dataTransfer)||(0,a.Pb)(t.dataTransfer))&&(e.classList.add("jodit_drag_hover"),t.preventDefault())}).on(e,"dragend dragleave",t=>{e.classList.remove("jodit_drag_hover"),(0,a.YQ)(t.dataTransfer)&&t.preventDefault()}).on(e,"drop",n=>{e.classList.remove("jodit_drag_hover"),(0,a.YQ)(n.dataTransfer)&&(n.preventDefault(),n.stopImmediatePropagation(),(0,a._9)(o,n.dataTransfer.files,t,r).finally(i))});const n=e.querySelector("input[type=file]");n&&o.j.e.on(n,"change",()=>{(0,a._9)(o,n.files,t,r).then(()=>{n.value="",/safari/i.test(navigator.userAgent)||(n.type="",n.type="file")}).finally(i)})}uploadRemoteImage(e,t,r){const i=this,{o}=i,s=(0,n.isFunction)(r)?r:o.defaultHandlerError;(0,a.tN)(i,{action:"fileUploadRemote",url:e}).then(e=>{o.isSuccess.call(i,e)?((0,n.isFunction)(t)?t:o.defaultHandlerSuccess).call(i,o.process.call(i,e)):s.call(i,(0,n.error)(o.getMessage.call(i,e)))}).catch(e=>s.call(i,e))}destruct(){this.setStatus(i.f.beforeDestruct);const e=a.$j.get(this);e&&(e.forEach(e=>{try{e.destruct()}catch(e){}}),e.clear()),super.destruct()}constructor(e,t){super(e),this.path="",this.source="default",this.options=(0,n.ConfigProto)(t||{},(0,n.ConfigProto)(s.T.defaultOptions.uploader,(0,n.isJoditObject)(e)?e.o.uploader:{}))}}},57459(e,t,r){r(6441).T.prototype.defaultAjaxOptions={successStatuses:[200,201,202],method:"GET",url:"",data:null,contentType:"application/x-www-form-urlencoded; charset=UTF-8",headers:{"X-REQUESTED-WITH":"XMLHttpRequest"},withCredentials:!1,xhr:()=>new XMLHttpRequest}},57487(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 16 16"> <path stroke-width="0" d="M16 9v-6h-3v-1c0-0.55-0.45-1-1-1h-11c-0.55 0-1 0.45-1 1v3c0 0.55 0.45 1 1 1h11c0.55 0 1-0.45 1-1v-1h2v4h-9v2h-0.5c-0.276 0-0.5 0.224-0.5 0.5v5c0 0.276 0.224 0.5 0.5 0.5h2c0.276 0 0.5-0.224 0.5-0.5v-5c0-0.276-0.224-0.5-0.5-0.5h-0.5v-1h9zM12 3h-11v-1h11v1z"/> </svg> '},57865(e,t,r){r.d(t,{Z(){return i}});class i extends TypeError{constructor(e){super(e),Object.setPrototypeOf(this,i.prototype)}}},57882(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/> </svg> '},57951(e,t,r){var i=r(86583),o=r(12153),n=r(6441),s=r(13465),a=r(50267);const l=(e,t,{control:r})=>{var o;const n="button"+r.command,s=null!==(o=r.args&&r.args[0])&&void 0!==o?o:(0,i.m)(e,n);(0,i.m)(e,n,s),e.execCommand(r.command,!1,"default"===s?null:s)};o.I.set("ol",s.A).set("ul",a.A),n.T.prototype.controls.ul={command:"insertUnorderedList",tags:["ul"],tooltip:"Insert Unordered List",list:{default:"Default",circle:"Circle",disc:"Dot",square:"Quadrate"},exec:l},n.T.prototype.controls.ol={command:"insertOrderedList",tags:["ol"],tooltip:"Insert Ordered List",list:{default:"Default","lower-alpha":"Lower Alpha","lower-greek":"Lower Greek","lower-roman":"Lower Roman","upper-alpha":"Upper Alpha","upper-roman":"Upper Roman"},exec:l}},58032(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 10 10"> <path d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"/> </svg> '},58149(e,t,r){r.d(t,{s(){return i.s}});var i=r(35278)},58487(e,t,r){r.d(t,{A(){return o}});var i=r(70799);const o=e=>(0,i.K)(e)&&/<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(e.replace(/[\r\n]/g,""))},58519(e,t,r){var i=r(82758),o=r(22732),n=r(580),s=r(96325),a=r(11628),l=r(12153),c=r(6441),d=r(14625),u=r(17583);l.I.set("print",u.A),c.T.prototype.controls.print={exec(e){const t=e.create.element("iframe");Object.assign(t.style,{position:"fixed",right:0,bottom:0,width:0,height:0,border:0}),(0,n.My)(e,c.T).appendChild(t);const r=()=>{e.e.off(e.ow,"mousemove",r),o.J.safeRemove(t)},i=t.contentWindow;if(i){e.e.on(i,"onbeforeunload onafterprint",r).on(e.ow,"mousemove",r),e.o.iframe?(e.e.fire("generateDocumentStructure.iframe",i.document,e),i.document.body.innerHTML=e.value):(i.document.write('<!doctype html><html lang="'+(0,s.e)(e.o.language)+'"><head><title></title></head><style>'+(0,d.Y)(e)+"</style><body></body></html>"),i.document.close(),(0,a.u)(e,void 0,"px",i.document.body));const t=i.document.createElement("style");t.innerHTML="@media print {\n\t\t\t\t\tbody {\n\t\t\t\t\t\t\t-webkit-print-color-adjust: exact;\n\t\t\t\t\t}\n\t\t\t}",i.document.head.appendChild(t),i.focus(),i.print()}},mode:i.MODE_SOURCE+i.MODE_WYSIWYG,tooltip:"Print"},n.fg.add("print",e=>{e.registerButton({name:"print"})})},58844(e,t,r){r.d(t,{c(){return a}});var i=r(82758),o=r(23282),n=r(94643);const s={};function a(e){var t,r;if(!(e in s)){const r=i.globalDocument.createElement("iframe");try{if(r.src="about:blank",i.globalDocument.body.appendChild(r),!r.contentWindow)return null;const t=(0,n.J)(e,r.contentWindow),a=(0,n.J)(e.split(".").slice(0,-1).join("."),r.contentWindow);(0,o.T)(t)&&(s[e]=t.bind(a))}catch(e){if(!i.IS_PROD)throw e}finally{null===(t=r.parentNode)||void 0===t||t.removeChild(r)}}return null!==(r=s[e])&&void 0!==r?r:null}},58908(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M640 768h512v-192q0-106-75-181t-181-75-181 75-75 181v192zm832 96v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h32v-192q0-184 132-316t316-132 316 132 132 316v192h32q40 0 68 28t28 68z"/></svg> '},58940(e,t,r){r.d(t,{C(){return s}});var i=r(82758),o=r(22732),n=r(91748);function s(e,t,r){let s=!1;const{setCursorBefore:a,setCursorIn:l}=e.s;let c=o.J.closest(t,o.J.isElement,e.editor);if(!c||!o.J.isEmpty(c))return!1;const d=o.J.findNotEmptyNeighbor(t,r,e.editor);do{if(!c||!o.J.isEmpty(c)||o.J.isCell(c))break;{o.J.after(c,t);const r=o.J.closest(c,e=>o.J.isElement(e)&&e!==c,e.editor);o.J.safeRemove(c),s=!0,c=r}}while(c);return!(!s||!(0,n.a)(e,t,r))||(!d||o.J.isText(d)||o.J.isTag(d,i.INSEPARABLE_TAGS)?a(t):l(d,!r),s)}},59007(e,t,r){r.d(t,{As(){return a.A},Bq(){return l.Bq},Gd(){return l.Gd},Hp(){return o.H},N(){return s.N},Ru(){return n.R},Z2(){return c.Z},gj(){return l.gj},kW(){return s.k},nv(){return n.n},xQ(){return i.x}});var i=r(87058),o=r(67477),n=r(56967),s=r(12475),a=r(67462),l=r(49055),c=r(36409)},59242(e,t,r){r.d(t,{Ag(){return n.Ag},DI(){return n.DI},LN(){return i.L},OJ(){return n.OJ},PL(){return n.PL},Zk(){return n.Zk},dj(){return n.dj},xk(){return o.x}});var i=r(79348),o=r(25639),n=r(77361)},59292(e,t,r){r.d(t,{P(){return n},n(){return o}});var i=r(67462);function o(e,t){return e===t||(0,i.A)(e)===(0,i.A)(t)}function n(e,t){return e===t}},59436(e,t,r){r.d(t,{l(){return h}});var i=r(65478),o=r(87325),n=r(21537),s=r(62405),a=r(12153),l=r(92762),c=r(35105),d=r(29827),u=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};let h=class e extends s.U{className(){return"UIImagePropertiesForm"}appendChildToContainer(){}getElm(e){const t=super.getElm(e);if(t)return t;for(const t of this.elements){const r=t.getElm(e);if(r)return r}return null}render(){return`<form>\n\t\t<div class="jodit-grid jodit-grid_xs-column">\n\t\t\t<div class="jodit_col-lg-2-5 jodit_col-xs-5-5">\n\t\t\t\t<div class="&__view-box">\n\t\t\t\t\t<div class="&__imageView">\n\t\t\t\t\t\t<img class="&__imageViewSrc" src="" alt=""/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="jodit-form__group &__imageSizes">\n\t\t\t\t\t\t<input type="text" class="jodit-input &__imageWidth"/>\n\t\t\t\t\t\t<a class="&__lockSize">${a.I.get("lock")}</a>\n\t\t\t\t\t\t<input type="text" class="&__imageHeight jodit-input"/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="jodit_col-lg-3-5 jodit_col-xs-5-5 &__tabsBox"></div>\n\t\t</div>\n\t</form>`}onChangeSizeIsLocked(){const e=this.getElm("lockSize"),t=this.getElm("imageWidth");e.innerHTML=a.I.get(this.state.sizeIsLocked?"lock":"unlock"),this.setMod("lock-size",this.state.sizeIsLocked),this.j.e.fire(t,"change")}onLockSizeClick(){this.state.sizeIsLocked=!this.state.sizeIsLocked}onStateValuesSizeChange(){const e=this.getElm("imageWidth"),t=this.getElm("imageHeight");e!==this.j.od.activeElement&&(e.value=""+this.state.values.imageWidth),t!==this.j.od.activeElement&&(t.value=""+this.state.values.imageHeight)}onImageWidthChange(e){const t=this.getElm("imageWidth"),r=this.getElm("imageHeight");if(!this.state.sizeIsLocked||!(0,n.isNumeric)(t.value)||!(0,n.isNumeric)(r.value))return this.state.values.imageWidth=t.value,void(this.state.values.imageHeight=r.value);const i=parseFloat(t.value),o=parseFloat(r.value);e.target===t?(this.state.values.imageWidth=i,this.state.values.imageHeight=Math.round(i/this.state.ratio)):(this.state.values.imageWidth=Math.round(o*this.state.ratio),this.state.values.imageHeight=o)}onStateValuesImageSrcChange(){const{imageSrc:e}=this.state.values;if(!e)return;const t=this.getElm("imageViewSrc");(0,n.attr)(t,"src",e);const r=new Image;r.src=e,this.state.image=r}hideFieldByOptions(){const e=this.j.o.image;[["editSize","imageSizes"],["showPreview","imageView"]].forEach(([t,r])=>{const i=this.getElm(r);(0,n.css)(i,"display",e[t]?null:"none")})}constructor(e,t,r,i){super(e),this.state=t,this.handlers=i,this.__mainTab=new c.k(this.jodit,this.state,this.handlers),this.__positionTab=new d._(this.jodit,this.state,this.handlers),this.getElm("tabsBox").appendChild((0,l.Zg)(e,[{name:"Image",content:this.__mainTab},{name:"Advanced",content:this.__positionTab}],r)),this.setMod("lock-size",this.state.sizeIsLocked),this.append(this.__mainTab).append(this.__positionTab)}};u([(0,i.hook)("ready"),(0,i.watch)("state.sizeIsLocked")],h.prototype,"onChangeSizeIsLocked",null),u([(0,i.watch)("lockSize:click")],h.prototype,"onLockSizeClick",null),u([(0,i.hook)("ready"),(0,i.watch)(["state.values.imageWidth","state.values.imageHeight"])],h.prototype,"onStateValuesSizeChange",null),u([(0,i.watch)(["imageWidth:change","imageHeight:change","imageWidth:keydown","imageHeight:keydown","imageWidth:mousedown","imageHeight:mousedown","imageWidth:paste","imageHeight:paste"]),(0,i.debounce)()],h.prototype,"onImageWidthChange",null),u([(0,i.hook)("ready"),(0,i.watch)("state.values.imageSrc")],h.prototype,"onStateValuesImageSrcChange",null),u([(0,i.hook)("ready")],h.prototype,"hideFieldByOptions",null),h=u([o.s],h)},59451(e,t,r){r.d(t,{F(){return h}});var i=r(82758),o=r(65478),n=r(2748),s=r(580),a=r(78116),l=r(29960),c=r(41180),d=r(20356),u=(r(61926),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});function h(e){var t;if(!e.firstChild)return!0;const r=e.firstChild;if(i.INSEPARABLE_TAGS.has(null===(t=r.nodeName)||void 0===t?void 0:t.toLowerCase())||/^(TABLE)$/i.test(r.nodeName))return!1;const o=n.J.next(r,e=>e&&!n.J.isEmptyTextNode(e),e);return n.J.isText(r)&&!o?n.J.isEmptyTextNode(r):!o&&n.J.each(r,e=>!(n.J.isLeaf(e)||n.J.isList(e))&&(n.J.isEmpty(e)||n.J.isTag(e,"br")))}class p extends d.k{afterInit(e){e.o.showPlaceholder&&(this.placeholderElm=e.c.fromHTML(`<span data-ref="placeholder" style="display: none;" class="jodit-placeholder">${e.i18n(e.o.placeholder)}</span>`),"rtl"===e.o.direction&&(this.placeholderElm.style.right="0px",this.placeholderElm.style.direction="rtl"),e.e.on("readonly",e=>{e?this.hide():this.toggle()}).on("changePlace",this.addEvents),this.addEvents())}show(){const e=this.j;if(e.o.readonly)return;let t=0,r=0;const i=e.s.current(),o=i&&n.J.closest(i,n.J.isBlock,e.editor)||e.editor,s=e.ew.getComputedStyle(o),l=e.ew.getComputedStyle(e.editor);e.workplace.appendChild(this.placeholderElm);const{firstChild:d}=e.editor;if(n.J.isElement(d)&&!(0,a.r)(d)){const i=e.ew.getComputedStyle(d);t=parseInt(i.getPropertyValue("margin-top"),10),r=parseInt(i.getPropertyValue("margin-left"),10),this.placeholderElm.style.fontSize=parseInt(i.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=i.getPropertyValue("line-height")}else this.placeholderElm.style.fontSize=parseInt(s.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=s.getPropertyValue("line-height");(0,c.A)(this.placeholderElm,{display:"block",textAlign:s.getPropertyValue("text-align"),paddingTop:parseInt(l.paddingTop,10)+"px",paddingLeft:parseInt(l.paddingLeft,10)+"px",paddingRight:parseInt(l.paddingRight,10)+"px",marginTop:Math.max(parseInt(s.getPropertyValue("margin-top"),10),t),marginLeft:Math.max(parseInt(s.getPropertyValue("margin-left"),10),r)})}hide(){n.J.safeRemove(this.placeholderElm)}toggle(){const e=this.j;e.editor&&!e.isInDestruct&&(e.getRealMode()===i.MODE_WYSIWYG&&h(e.editor)?this.show():this.hide())}beforeDestruct(e){this.hide(),e.e.off(".placeholder").off(window,"load",this.toggle)}constructor(){super(...arguments),this.addNativeListeners=()=>{this.j.e.off(this.j.editor,"input.placeholder keydown.placeholder").on(this.j.editor,"input.placeholder keydown.placeholder",this.toggle)},this.addEvents=()=>{const e=this.j;e.o.useInputsPlaceholder&&e.element.hasAttribute("placeholder")&&(this.placeholderElm.innerHTML=(0,l.C)(e.element,"placeholder")||""),e.e.fire("placeholder",this.placeholderElm.innerHTML),e.e.off(".placeholder").on("changePlace.placeholder",this.addNativeListeners).on("change.placeholder focus.placeholder keyup.placeholder mouseup.placeholder keydown.placeholder mousedown.placeholder afterSetMode.placeholder changePlace.placeholder",this.toggle).on(window,"load",this.toggle),this.addNativeListeners(),this.toggle()}}}u([(0,o.debounce)(e=>e.defaultTimeout/10,!0)],p.prototype,"toggle",null),s.fg.add("placeholder",p)},59483(e,t,r){var i=r(82758),o=r(65478),n=r(2748),s=r(580),a=r(50911);class l extends a.k{afterInit(e){}beforeDestruct(e){}onKeyDownArrow(e){var t;if(e.key!==i.KEY_RIGHT||!this.j.selection.isCollapsed())return;const{endContainer:r,endOffset:o}=this.j.selection.range;if(n.J.isText(r)&&(null===(t=r.nodeValue)||void 0===t?void 0:t.length)===o){const{parentNode:e}=r;n.J.isInlineBlock(e)&&!n.J.findNotEmptyNeighbor(e,!1,this.j.editor)&&n.J.after(e,this.j.createInside.text(i.NBSP_SPACE))}}}(function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);n>3&&s&&Object.defineProperty(t,r,s)})([(0,o.watch)(":keydown")],l.prototype,"onKeyDownArrow",null),s.fg.add("keyArrowOutside",l)},59495(e,t,r){var i=r(82758),o=r(2748),n=r(580),s=r(43555),a=r(20356),l=(r(87394),r(32824));n.fg.add("symbols",class c extends a.k{afterInit(e){e.e.on("generateSpecialCharactersTable.symbols",()=>{const t=e.c.fromHTML('<div class="jodit-symbols__container">\n\t\t\t\t\t\t<div class="jodit-symbols__container_table">\n\t\t\t\t\t\t\t<table class="jodit-symbols__table"><tbody></tbody></table>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="jodit-symbols__container_preview">\n\t\t\t\t\t\t\t<div class="jodit-symbols__preview"></div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>'),r=t.querySelector(".jodit-symbols__preview"),n=t.querySelector("table").tBodies[0],a=[];for(let t=0;e.o.specialCharacters.length>t;){const r=e.c.element("tr");for(let i=0;this.__countInRow>i&&e.o.specialCharacters.length>t;i+=1,t+=1){const o=e.c.element("td"),n=e.c.fromHTML(`<a\n\t\t\t\t\t\t\t\t\tdata-index="${t}"\n\t\t\t\t\t\t\t\t\tdata-index-j="${i}"\n\t\t\t\t\t\t\t\t\trole="option"\n\t\t\t\t\t\t\t\t\ttabindex="-1"\n\t\t\t\t\t\t\t>${e.o.specialCharacters[t]}</a>`);a.push(n),o.appendChild(n),r.appendChild(o)}n.appendChild(r)}const l=this;return e.e.on(a,"focus",function(){r.innerHTML=this.innerHTML}).on(a,"mousedown",function(t){o.J.isTag(this,"a")&&(e.s.focus(),e.s.insertHTML(this.innerHTML),(null==t?void 0:t.shiftKey)||e.e.fire(this,"close_dialog"),t&&t.preventDefault(),t&&t.stopImmediatePropagation())}).on(a,"mouseenter",function(){o.J.isTag(this,"a")&&this.focus()}).on(a,"keydown",t=>{const r=t.target;if(o.J.isTag(r,"a")){const o=parseInt((0,s.CF)(r,"-index")||"0",10),n=parseInt((0,s.CF)(r,"data-index-j")||"0",10);let c;switch(t.key){case i.KEY_UP:case i.KEY_DOWN:c=t.key===i.KEY_UP?o-l.__countInRow:o+l.__countInRow,void 0===a[c]&&(c=t.key===i.KEY_UP?Math.floor(a.length/l.__countInRow)*l.__countInRow+n:n,c>a.length-1&&(c-=l.__countInRow)),a[c]&&a[c].focus();break;case i.KEY_RIGHT:case i.KEY_LEFT:c=t.key===i.KEY_LEFT?o-1:o+1,void 0===a[c]&&(c=t.key===i.KEY_LEFT?a.length-1:0),a[c]&&a[c].focus();break;case i.KEY_ENTER:e.e.fire(r,"mousedown"),t.stopImmediatePropagation(),t.preventDefault()}}}),t})}beforeDestruct(e){e.e.off("generateSpecialCharactersTable.symbols")}constructor(e){super(e),this.buttons=[{name:"symbols",group:"insert"}],this.__countInRow=17,(0,n.JW)(l)}})},59498(e,t,r){r.d(t,{Zd(){return i.Z},eZ(){return s.e},hk(){return n.h},w5(){return o.w}});var i=r(83447),o=r(84272),n=r(42312),s=r(39516)},59526(e,t){t.A={"Type something":"Skriv noe","About Jodit":"Om Jodit","Jodit Editor":"Jodit-redigerer","Jodit User's Guide":"Jodit brukerveiledning","contains detailed help for using":"Inneholder detaljert hjelp for bruk","For information about the license, please go to our website:":"For informasjon om lisensen, besøk vår nettside:","Buy full version":"Kjøp fullversjon","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Opphavsrett © XDSoft.net - Chupurnov Valeriy. Alle rettigheter forbeholdt.",Anchor:"Anker","Open in new tab":"Åpne i ny fane","Open in fullsize":"Åpne i fullskjerm","Clear Formatting":"Fjern formatering","Fill color or set the text color":"Endre bakgrunns- eller tekstfarge",Redo:"Gjør om",Undo:"Angre",Bold:"Fet",Italic:"Kursiv","Insert Unordered List":"Sett inn punktliste","Insert Ordered List":"Sett inn nummerert liste","Align Center":"Midtstill","Align Justify":"Juster","Align Left":"Venstrejuster","Align Right":"Høyrejuster","Insert Horizontal Line":"Sett inn horisontal linje","Insert Image":"Sett inn bilde","Insert file":"Sett inn fil","Insert youtube/vimeo video":"Sett inn YouTube/Vimeo-video","Insert link":"Sett inn lenke","Font size":"Skriftstørrelse","Font family":"Skriftfamilie","Insert format block":"Sett inn formateringsblokk",Normal:"Normal","Heading 1":"Overskrift 1","Heading 2":"Overskrift 2","Heading 3":"Overskrift 3","Heading 4":"Overskrift 4",Quote:"Sitat",Code:"Kode",Insert:"Sett inn","Insert table":"Sett inn tabell","Decrease Indent":"Reduser innrykk","Increase Indent":"Øk innrykk","Select Special Character":"Velg spesialtegn","Insert Special Character":"Sett inn spesialtegn","Paint format":"Kopier format","Change mode":"Bytt modus (WYSIWYG/HTML)",Margins:"Marger",top:"topp",right:"høyre",bottom:"bunn",left:"venstre",Styles:"Stiler",Classes:"Klasser",Align:"Justering",Right:"Høyre",Center:"Senter",Left:"Venstre","--Not Set--":"--Ikke satt--",Src:"Kilde",Title:"Tittel",Alternative:"Alternativ",Filter:"Filter",Link:"Lenke","Open link in new tab":"Åpne lenke i ny fane",Image:"Bilde",file:"fil",Advanced:"Avansert","Image properties":"Bildeegenskaper",Cancel:"Avbryt",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Koden din ligner HTML. Beholde som HTML?","Paste as HTML":"Lim inn som HTML",Keep:"Behold",Clean:"Rens","Insert as Text":"Lim inn som tekst","Word Paste Detected":"Word-innliming oppdaget","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Innholdet du limer inn kommer fra et Microsoft Word/Excel-dokument. Vil du beholde formatet eller rense det?","Insert only Text":"Lim inn kun tekst","File Browser":"Filutforsker","Error on load list":"Feil ved lasting av liste","Error on load folders":"Feil ved lasting av mapper","Are you sure?":"Er du sikker?","Enter Directory name":"Skriv inn mappenavn","Create directory":"Opprett mappe","type name":"skriv navn","Drop image":"Slipp bilde","Drop file":"Slipp fil","or click":"eller klikk","Alternative text":"Alternativ tekst",Browse:"Bla gjennom",Upload:"Last opp",Background:"Bakgrunn",Border:"Kantlinje",Text:"Tekst",Top:"Topp",Middle:"Midt",Bottom:"Bunn","Insert column before":"Sett inn kolonne før","Insert column after":"Sett inn kolonne etter","Insert row above":"Sett inn rad over","Insert row below":"Sett inn rad under","Delete table":"Slett tabell","Delete row":"Slett rad","Delete column":"Slett kolonne","Empty cell":"Tøm celle","Chars: %d":"Tegn: %d","Words: %d":"Ord: %d",Split:"Del","Split vertical":"Del vertikalt","Split horizontal":"Del horisontalt","Strike through":"Gjennomstreking",Underline:"Understreking",superscript:"hevet skrift",subscript:"senket skrift","Cut selection":"Klipp ut markering","Select all":"Velg alt",Break:"Pause","Search for":"Søk etter","Replace with":"Erstatt med",Replace:"Erstatt",Paste:"Lim inn","Choose Content to Paste":"Velg innhold å lime inn",source:"kilde",bold:"fet",italic:"kursiv",brush:"pensel",link:"lenke",undo:"angre",redo:"gjør om",table:"tabell",image:"bilde",eraser:"viskelær",paragraph:"avsnitt",fontsize:"skriftstørrelse",video:"video",font:"skrift",about:"om redigeringsverktøyet",print:"skriv ut",underline:"understreking",strikethrough:"gjennomstreking",indent:"innrykk",outdent:"reduser innrykk",fullsize:"full størrelse",shrink:"krympe",hr:"linje",ul:"punktliste",ol:"nummerert liste",cut:"klipp ut",selectall:"velg alt","Open link":"Åpne lenke","Edit link":"Rediger lenke","No follow":"Ingen oppfølging",Unlink:"Fjern lenke",Eye:"Forhåndsvisning",pencil:"Rediger"," URL":"URL",Reset:"Tilbakestill",Save:"Lagre","Save as ...":"Lagre som ...",Resize:"Endre størrelse",Crop:"Beskjær",Width:"Bredde",Height:"Høyde","Keep Aspect Ratio":"Behold proporsjoner",Yes:"Ja",No:"Nei",Remove:"Fjern",Select:"Velg","Select %s":"Velg: %s",Update:"Oppdater","Vertical align":"Vertikal justering",Merge:"Slå sammen","Add column":"Legg til kolonne","Add row":"Legg til rad",Delete:"Slett","Horizontal align":"Horisontal justering","Sort by changed":"Sorter etter endring","Sort by name":"Sorter etter navn","Sort by size":"Sorter etter størrelse","Add folder":"Legg til mappe",palette:"Palett",preview:"Forhåndsvisning","Line height":"Linjehøyde","Insert className":"Sett inn klassenavn",apply:"Bruk",edit:"Rediger","Show all":"Vis alle",sound:"Lyd","Interim Results":"Foreløpige resultater",default:"Standard",circle:"Sirkel",dot:"Punkt",square:"Firkant","Press Alt for custom resizing":"Trykk på Alt for å endre størrelse","Copy selection":"Kopier utvalg","Paste from clipboard":"Lim inn fra utklippstavlen",Find:"Finne","Embed code":"Bygge inn kode",Edit:"Rediger",All:"Velg alle","License: %s":"Lisens: %s","You can only edit your own images. Download this image on the host?":"Du kan bare redigere dine egne bilder. Last ned dette bildet på verten?","The image has been successfully uploaded to the host!":"Bildet har blitt lastet opp til verten!","There are no files":"Det er ingen filer i denne katalogen",Rename:"Gi nytt navn","Enter new name":"Skriv inn nytt navn",download:"Last ned","Your browser doesn't support direct access to the clipboard.":"Nettleseren din støtter ikke direkte tilgang til utklippstavlen.",copy:"kopi","Border radius":"Grenseradius",Apply:"Bruk","Please fill out this field":"Vennligst fyll ut dette feltet","Please enter a web address":"Vennligst skriv inn en webadresse",Default:"Standard",Circle:"Sirkel",Dot:"Prikk",Quadrate:"Firkant","Find Previous":"Finn forrige","Find Next":"Finn neste"}},60031(e,t,r){r.d(t,{p(){return s}});var i=r(82758),o=r(21537),n=r(23370);class s extends n.F{aceExists(){return void 0!==this.j.ow.ace}getLastColumnIndex(e){return this.instance.session.getLine(e).length}getLastColumnIndices(){const e=this.instance.session.getLength(),t=[];let r=0;for(let i=0;e>i;i++)r+=this.getLastColumnIndex(i),i>0&&(r+=1),t[i]=r;return t}getRowColumnIndices(e){const t=this.getLastColumnIndices();if(t[0]>=e)return{row:0,column:e};let r=1;for(let i=1;t.length>i;i++)e>t[i]&&(r=i+1);return{row:r,column:e-t[r-1]-1}}setSelectionRangeIndices(e,t){const r=this.getRowColumnIndices(e),i=this.getRowColumnIndices(t);this.instance.getSelection().setSelectionRange({start:r,end:i})}getIndexByRowColumn(e,t){return this.getLastColumnIndices()[e]-this.getLastColumnIndex(e)+t}init(e){const t=()=>{if(void 0!==this.instance||!this.aceExists())return;const t=this.j.c.div("jodit-source__mirror-fake");this.container.appendChild(t),this.instance=e.ow.ace.edit(t),"rtl"===e.o.direction&&(this.instance.setOption("rtlText",!0),this.instance.setOption("rtl",!0)),this.instance.setTheme(e.o.sourceEditorNativeOptions.theme),this.instance.renderer.setShowGutter(e.o.sourceEditorNativeOptions.showGutter),this.instance.getSession().setMode(e.o.sourceEditorNativeOptions.mode),this.instance.setHighlightActiveLine(e.o.sourceEditorNativeOptions.highlightActiveLine),this.instance.getSession().setUseWrapMode(!0),this.instance.setOption("indentedSoftWrap",!1),this.instance.setOption("wrap",e.o.sourceEditorNativeOptions.wrap),this.instance.getSession().setUseWorker(!1),this.instance.$blockScrolling=1/0,this.instance.on("change",this.toWYSIWYG),this.instance.on("focus",this.proxyOnFocus),this.instance.on("mousedown",this.proxyOnMouseDown),this.instance.on("blur",this.proxyOnBlur),e.getRealMode()!==i.MODE_WYSIWYG&&this.setValue(this.getValue());const r=this.j.async.throttle(()=>{if(e.isInDestruct||e.getMode()===i.MODE_WYSIWYG)return;const t=this.instance.isFocused();this.instance.setOption("maxLines","auto"!==e.o.height?e.workplace.offsetHeight/this.instance.renderer.lineHeight:1/0),this.instance.resize(),t&&this.focus()},2*this.j.defaultTimeout);e.e.on(e,"resize",r).on("afterResize afterSetMode",r),r(),this.onReady()};e.e.on("afterSetMode",()=>{e.getRealMode()!==i.MODE_SOURCE&&e.getMode()!==i.MODE_SPLIT||(this.fromWYSIWYG(),t())}),t(),this.aceExists()||(0,o.loadNext)(e,e.o.sourceEditorCDNUrlsJS).then(()=>{e.isInDestruct||t()}).catch(()=>null)}destruct(){var e,t;this.instance.off("change",this.toWYSIWYG),this.instance.off("focus",this.proxyOnFocus),this.instance.off("mousedown",this.proxyOnMouseDown),this.instance.destroy(),null===(t=null===(e=this.j)||void 0===e?void 0:e.events)||void 0===t||t.off("aceInited.source")}setValue(e){if(!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){const t=this.j.e.fire("beautifyHTML",e);(0,o.isString)(t)&&(e=t)}this.instance.setValue(e),this.instance.clearSelection()}getValue(){return this.instance.getValue()}setReadOnly(e){this.instance.setReadOnly(e)}get isFocused(){return this.instance.isFocused()}focus(){this.instance.container.focus(),this.instance.focus()}blur(){this.instance.blur()}getSelectionStart(){const e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.start.row,e.start.column)}getSelectionEnd(){const e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.end.row,e.end.column)}selectAll(){this.instance.selection.selectAll()}insertRaw(e){const t=this.instance.selection.getCursor(),r=this.instance.session.insert(t,e);this.instance.selection.setRange({start:t,end:r},!1)}setSelectionRange(e,t){this.setSelectionRangeIndices(e,t)}setPlaceHolder(e){}replaceUndoManager(){const{history:e}=this.jodit;this.instance.commands.addCommand({name:"Undo",bindKey:{win:"Ctrl-Z",mac:"Command-Z"},exec(){e.undo()}}),this.instance.commands.addCommand({name:"Redo",bindKey:{win:"Ctrl-Shift-Z",mac:"Command-Shift-Z"},exec(){e.redo()}})}constructor(){super(...arguments),this.className="jodit_ace_editor",this.proxyOnBlur=e=>{this.j.e.fire("blur",e)},this.proxyOnFocus=e=>{this.j.e.fire("focus",e)},this.proxyOnMouseDown=e=>{this.j.e.fire("mousedown",e)}}}},60097(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1152 512v-472q22 14 36 28l408 408q14 14 28 36h-472zm-128 32q0 40 28 68t68 28h544v1056q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1600q0-40 28-68t68-28h800v544z"/> </svg> '},60132(e,t,r){r.d(t,{kO(){return l},n4(){return s},pV(){return a}});var i=r(2748),o=r(23282),n=r(86068);function s(e){return!(0,n.R)(e)&&(0,o.T)(e.init)}function a(e){return!(0,n.R)(e)&&(0,o.T)(e.destruct)}function l(e){return!(0,n.R)(e)&&i.J.isElement(e.container)}},60175(e,t){t.A={"Type something":"输入一些内容",Advanced:"高级","About Jodit":"关于Jodit","Jodit Editor":"Jodit Editor","Free Non-commercial Version":"Free Non-commercial Version","Jodit User's Guide":"开发者指南","contains detailed help for using":"使用帮助","For information about the license, please go to our website:":"有关许可证的信息,请访问我们的网站:","Buy full version":"购买完整版本","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. 版权所有",Anchor:"Anchor","Open in new tab":"在新窗口打开","Open in fullsize":"全屏编辑","Clear Formatting":"清除样式","Fill color or set the text color":"颜色",Redo:"重做",Undo:"撤销",Bold:"粗体",Italic:"斜体","Insert Unordered List":"符号列表","Insert Ordered List":"编号","Align Center":"居中","Align Justify":"对齐文本","Align Left":"左对齐","Align Right":"右对齐","Insert Horizontal Line":"分割线","Insert Image":"图片","Insert file":"文件","Insert youtube/vimeo video":"视频","Insert link":"链接","Font size":"字号","Font family":"字体","Insert format block":"格式块",Normal:"默认","Heading 1":"标题1","Heading 2":"标题2","Heading 3":"标题3","Heading 4":"标题4",Quote:"引用",Code:"代码",Insert:"插入","Insert table":"表格","Decrease Indent":"减少缩进","Increase Indent":"增加缩进","Select Special Character":"选择特殊符号","Insert Special Character":"特殊符号","Paint format":"格式复制","Change mode":"改变模式",Margins:"外边距(Margins)",top:"top",right:"right",bottom:"bottom",left:"left",Styles:"样式",Classes:"Classes",Align:"对齐方式",Right:"居右",Center:"居中",Left:"居左","--Not Set--":"无",Src:"Src",Title:"Title",Alternative:"Alternative",Link:"Link","Open link in new tab":"在新窗口打开链接",Image:"图片",file:"file","Image properties":"图片属性",Cancel:"取消",Ok:"确定","Your code is similar to HTML. Keep as HTML?":"你粘贴的文本是一段html代码,是否保留源格式","Paste as HTML":"html粘贴",Keep:"保留源格式",Clean:"匹配目标格式","Insert as Text":"把html代码视为普通文本","Word Paste Detected":"文本粘贴","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"正在粘贴 Word/Excel 的文本,是否保留源格式?","Insert only Text":"只保留文本","File Browser":"文件管理","Error on load list":"加载list错误","Error on load folders":"加载folders错误","Are you sure?":"你确定吗?","Enter Directory name":"输入路径","Create directory":"创建路径","type name":"type name","Drop image":"拖动图片到此","Drop file":"拖动文件到此","or click":"或点击","Alternative text":"Alternative text",Browse:"浏览",Upload:"上传",Background:"背景色",Text:"文字",Top:"顶部",Middle:"中间",Bottom:"底部","Insert column before":"在之前插入列","Insert column after":"在之后插入列","Insert row above":"在之前插入行","Insert row below":"在之后插入行","Delete table":"删除表格","Delete row":"删除行","Delete column":"删除列","Empty cell":"清除内容","Chars: %d":"字符数: %d","Words: %d":"单词数: %d","Strike through":"删除线",Underline:"下划线",superscript:"上标",subscript:"下标","Cut selection":"剪切","Select all":"全选",Break:"Break","Search for":"查找","Replace with":"替换为",Replace:"替换",Edit:"编辑",Paste:"粘贴","Choose Content to Paste":"选择内容并粘贴",All:"全部",source:"源码",bold:"粗体",italic:"斜体",brush:"颜色",link:"链接",undo:"撤销",redo:"重做",table:"表格",image:"图片",eraser:"橡皮擦",paragraph:"段落",fontsize:"字号",video:"视频",font:"字体",about:"关于",print:"打印",underline:"下划线",strikethrough:"上出现",indent:"增加缩进",outdent:"减少缩进",fullsize:"全屏",shrink:"收缩",hr:"分割线",ul:"无序列表",ol:"顺序列表",cut:"剪切",selectall:"全选","Open link":"打开链接","Edit link":"编辑链接","No follow":"No follow",Unlink:"取消链接",Eye:"预览"," URL":"URL",Reset:"重置",Save:"保存","Save as ...":"保存为",Resize:"调整大小",Crop:"剪切",Width:"宽",Height:"高","Keep Aspect Ratio":"保持长宽比",Yes:"是",No:"不",Remove:"移除",Select:"选择","Select %s":"选择: %s",Update:"更新","Vertical align":"垂直对齐",Merge:"合并","Add column":"添加列","Add row":"添加行",Border:"边框","Embed code":"嵌入代码",Delete:"删除","Horizontal align":"水平对齐",Filter:"筛选","Sort by changed":"修改时间排序","Sort by name":"名称排序","Sort by size":"大小排序","Add folder":"新建文件夹",Split:"拆分","Split vertical":"垂直拆分","Split horizontal":"水平拆分","You can only edit your own images. Download this image on the host?":"你只能编辑你自己的图片。Download this image on the host?","The image has been successfully uploaded to the host!":"图片上传成功",palette:"调色板",pencil:"铅笔","There are no files":"此目录中沒有文件。",Rename:"重命名","Enter new name":"输入新名称",preview:"预览",download:"下载","Paste from clipboard":"粘贴从剪贴板","Your browser doesn't support direct access to the clipboard.":"你浏览器不支持直接访问的剪贴板。","Copy selection":"复制选中内容",copy:"复制","Border radius":"边界半径","Show all":"显示所有",Apply:"应用","Please fill out this field":"请填写这个字段","Please enter a web address":"请输入一个网址",Default:"默认",Circle:"圆圈",Dot:"点",Quadrate:"方形",Find:"搜索","Find Previous":"查找上一个","Find Next":"查找下一个","Insert className":"插入班级名称","Press Alt for custom resizing":"按Alt自定义调整大小","License: %s":"许可证: %s"}},60181(e,t,r){r.d(t,{G(){return a}});var i=r(56869),o=r(2748),n=r(43555),s=r(31117);function a(e,t,r,a=""){const l=document.createElement("iframe");l.style.display="none",document.body.appendChild(l);try{const o=l.contentDocument??l.contentWindow?.document;if(!o)return t;o.open(),o.write(t),o.close();const c="jd-style";for(let e=0;o.styleSheets.length>e;e+=1)try{const t=o.styleSheets[e].cssRules;for(let e=0;t.length>e;e+=1)t[e].selectorText&&(0,n.$$)(t[e].selectorText,o.body).forEach(r=>{(0,n.CF)(r,c)||((0,n.CF)(r,c,(0,n.CF)(r,"style")||""),(0,n.CF)(r,"style","")),(0,n.CF)(r,"style",`${(0,n.CF)(r,"style")};${t[e].style.cssText}`)})}catch(e){}return(0,n.$$)(`[${c}]`,o.body).forEach(e=>{(0,n.CF)(e,"style",`${(0,n.CF)(e,"style")};${(0,n.CF)(e,c)}`)}),(0,i.d)(e,s.Rd.make(o.body),r,a)}finally{o.J.safeRemove(l)}}},61019(e,t,r){var i=r(65478),o=r(2748),n=r(580),s=r(21537),a=r(50911),l=(r(26295),r(28143));class c extends a.k{afterInit(e){(0,s.css)(e.editor,{lineHeight:e.o.defaultLineHeight}),e.registerCommand("applyLineHeight",this.applyLineHeight)}applyLineHeight(e,t,r){const{s:i,createInside:n,editor:a,o:l}=this.j;let c;i.isFocused()||i.focus(),i.save();const d=e=>{let t=o.J.closest(e,o.J.isBlock,a);t||(t=o.J.wrap(e,l.enter,n));const i=(0,s.css)(t,"lineHeight");void 0===c&&(c=""+i!=""+r),(0,s.css)(t,"lineHeight",c?r:null)};try{if(i.isCollapsed()){const e=n.fake();i.insertNode(e,!1,!1),d(e),o.J.safeRemove(e)}else i.eachSelection(d)}finally{i.restore()}}beforeDestruct(e){(0,s.css)(e.editor,{lineHeight:null})}constructor(e){super(e),this.buttons=[{name:"lineHeight",group:"font"}],(0,n.JW)(l)}}(function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);n>3&&s&&Object.defineProperty(t,r,s)})([i.autobind],c.prototype,"applyLineHeight",null),n.fg.add("lineHeight",c)},61122(e,t,r){var i=r(29960);t.A=[{name:"eye",tooltip:"Open link",exec(e,t){const r=(0,i.C)(t,"href");t&&r&&e.ow.open(r)}},{name:"link",tooltip:"Edit link",icon:"pencil"},"unlink","brush","file"]},61251(e,t,r){r(57459);var i=r(27613),o=r(38420),n=r(4242),s=r(6441);s.T.prototype.filebrowser={namespace:"",cache:!0,extraButtons:[],filter:(e,t)=>(t=t.toLowerCase(),(0,i.Kg)(e)?-1!==e.toLowerCase().indexOf(t):(0,i.Kg)(e.name)?-1!==e.name.toLowerCase().indexOf(t):!(0,i.Kg)(e.file)||-1!==e.file.toLowerCase().indexOf(t)),sortBy:"changed-desc",sort(e,t,r){const[n,s]=r.toLowerCase().split("-"),a="asc"===s,l=(e,t)=>t>e?a?-1:1:e>t?a?1:-1:0;if((0,i.Kg)(e))return l(e.toLowerCase(),t.toLowerCase());if(void 0===e[n]||"name"===n)return(0,i.Kg)(e.name)?l(e.name.toLowerCase(),t.name.toLowerCase()):(0,i.Kg)(e.file)?l(e.file.toLowerCase(),t.file.toLowerCase()):0;switch(n){case"changed":{const r=new Date(e.changed).getTime(),i=new Date(t.changed).getTime();return a?r-i:i-r}case"size":{const r=(0,o.z)(e.size),i=(0,o.z)(t.size);return a?r-i:i-r}}return 0},editImage:!0,preview:!0,showPreviewNavigation:!0,showSelectButtonInPreview:!0,contextMenu:!0,howLongShowMsg:3e3,createNewFolder:!0,deleteFolder:!0,renameFolder:!0,moveFolder:!0,moveFile:!0,permissionsPresets:{allowFileDownload:void 0,allowFileMove:void 0,allowFileRemove:void 0,allowFileRename:void 0,allowFileUpload:void 0,allowFileUploadRemote:void 0,allowFiles:void 0,allowFolderCreate:void 0,allowFolderMove:void 0,allowFolderRemove:void 0,allowFolderRename:void 0,allowFolderTree:void 0,allowFolders:void 0,allowGeneratePdf:void 0,allowImageCrop:void 0,allowImageResize:void 0},showFoldersPanel:!0,storeLastOpenedFolder:!0,width:859,height:400,buttons:["filebrowser.upload","filebrowser.remove","filebrowser.update","filebrowser.select","filebrowser.edit","|","filebrowser.tiles","filebrowser.list","|","filebrowser.filter","|","filebrowser.sort"],removeButtons:[],fullsize:!1,showTooltip:!0,view:null,isSuccess:e=>e.success,getMessage:e=>void 0!==e.data.messages&&(0,i.cy)(e.data.messages)?e.data.messages.join(" "):"",showFileName:!0,showFileSize:!0,showFileChangeTime:!0,saveStateInStorage:{storeLastOpenedFolder:!0,storeView:!0,storeSortBy:!0},pixelOffsetLoadNewChunk:200,getThumbTemplate(e,t,r){const i=this.options,o=this.files.getFullElName("item"),n=i.showFileName,s=i.showFileSize&&e.size,a=i.showFileChangeTime&&e.time;let l="";return void 0!==e.file&&(l=e.file),`<a\n\t\t\tdata-jodit-file-browser-item="true"\n\t\t\tdata-is-file="${e.isImage?0:1}"\n\t\t\tdraggable="true"\n\t\t\tclass="${o}"\n\t\t\thref="${e.fileURL}"\n\t\t\tdata-source="${r}"\n\t\t\tdata-path="${e.path}"\n\t\t\tdata-name="${l}"\n\t\t\ttitle="${l}"\n\t\t\tdata-url="${e.fileURL}">\n\t\t\t\t<img\n\t\t\t\t\tdata-is-file="${e.isImage?0:1}"\n\t\t\t\t\tdata-src="${e.fileURL}"\n\t\t\t\t\tsrc="${e.imageURL}"\n\t\t\t\t\talt="${l}"\n\t\t\t\t\tloading="lazy"\n\t\t\t\t/>\n\t\t\t\t${n||s||a?`<div class="${o}-info">${n?`<span class="${o}-info-filename">${l}</span>`:""}${s?`<span class="${o}-info-filesize">${e.size}</span>`:""}${a?`<span class="${o}-info-filechanged">${a}</span>`:""}</div>`:""}\n\t\t\t</a>`},ajax:{...s.T.prototype.defaultAjaxOptions,url:"",data:{},cache:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",method:"POST",processData:!0,headers:{},prepareData:e=>e,process:e=>e},create:{data:{action:"folderCreate"}},getLocalFileByUrl:{data:{action:"getLocalFileByUrl"}},resize:{data:{action:"imageResize"}},crop:{data:{action:"imageCrop"}},fileMove:{data:{action:"fileMove"}},folderMove:{data:{action:"folderMove"}},fileRename:{data:{action:"fileRename"}},folderRename:{data:{action:"folderRename"}},fileRemove:{data:{action:"fileRemove"}},folderRemove:{data:{action:"folderRemove"}},items:{data:{action:"files"}},folder:{data:{action:"folders"}},permissions:{data:{action:"permissions"}}},s.T.prototype.controls.filebrowser={upload:{icon:"plus",tooltip:"Upload file",isInput:!0,isDisabled(e){return!e.dataProvider.canI("FileUpload")},getContent(e,t){const r=new n.n(e,{tooltip:t.control.tooltip,onlyImages:e.state.onlyImages});return e.e.fire("bindUploader.filebrowser",r.container),r.container}},remove:{icon:"bin",tooltip:"Remove file",isDisabled(e){return!e.state.activeElements.length||!e.dataProvider.canI("FileRemove")},exec(e){e.e.fire("fileRemove.filebrowser")}},update:{tooltip:"Update file list",exec(e){e.e.fire("update.filebrowser")}},select:{tooltip:"Select file",icon:"check",isDisabled(e){return!e.state.activeElements.length},exec(e){e.e.fire("select.filebrowser")}},edit:{tooltip:"Edit image",icon:"pencil",isDisabled(e){const t=e.state.activeElements;return 1!==t.length||!t[0].isImage||!(e.dataProvider.canI("ImageCrop")||e.dataProvider.canI("ImageResize"))},exec(e){e.e.fire("edit.filebrowser")}},tiles:{tooltip:"Tiles view",icon:"th",isActive(e){return"tiles"===e.state.view},exec(e){e.e.fire("view.filebrowser","tiles")}},list:{tooltip:"List view",icon:"th-list",isActive(e){return"list"===e.state.view},exec(e){e.e.fire("view.filebrowser","list")}},filter:{isInput:!0,getContent(e,t){const r=t.container.querySelector(".jodit-input");if(r)return r;const i=e.c.element("input",{class:"jodit-input",placeholder:e.i18n("Filter")});return i.value=e.state.filterWord,e.e.on(i,"keydown mousedown",e.async.debounce(()=>{e.e.fire("filter.filebrowser",i.value)},e.defaultTimeout)),i}},sort:{isInput:!0,getContent(e){const t=e.c.fromHTML(`<select class="jodit-input jodit-select"><option value="changed-asc">${e.i18n("Sort by changed")} (⬆)</option><option value="changed-desc">${e.i18n("Sort by changed")} (⬇)</option><option value="name-asc">${e.i18n("Sort by name")} (⬆)</option><option value="name-desc">${e.i18n("Sort by name")} (⬇)</option><option value="size-asc">${e.i18n("Sort by size")} (⬆)</option><option value="size-desc">${e.i18n("Sort by size")} (⬇)</option></select>`);return t.value=e.state.sortBy,e.e.on("sort.filebrowser",e=>{t.value!==e&&(t.value=e)}).on(t,"change",()=>{e.e.fire("sort.filebrowser",t.value)}),t}}}},61259(e,t,r){r.d(t,{z(){return i.z}});var i=r(56917)},61323(e,t,r){var i=r(82758),o=r(33433),n=r(580),s=r(21537);r(79419),n.fg.add("clipboard",class a{init(e){var t;null===(t=this.buttons)||void 0===t||t.forEach(t=>e.registerButton(t)),e.e.off(`copy.${i.CLIPBOARD_ID} cut.${i.CLIPBOARD_ID}`).on(`copy.${i.CLIPBOARD_ID} cut.${i.CLIPBOARD_ID}`,t=>{var r;const o=e.s.html,n=(0,s.getDataTransfer)(t)||(0,s.getDataTransfer)(e.ew)||(0,s.getDataTransfer)(t.originalEvent);n&&(n.setData(i.TEXT_PLAIN,(0,s.stripTags)(o)),n.setData(i.TEXT_HTML,o)),e.buffer.set(i.CLIPBOARD_ID,o),e.e.fire("pasteStack",{html:o,action:e.o.defaultActionOnPaste||i.INSERT_AS_HTML}),"cut"===t.type&&(e.s.remove(),e.s.focus()),t.preventDefault(),null===(r=null==e?void 0:e.events)||void 0===r||r.fire("afterCopy",o)})}destruct(e){var t,r;null===(t=(0,o.PO)(e,"buffer"))||void 0===t||t.set(i.CLIPBOARD_ID,""),null===(r=null==e?void 0:e.events)||void 0===r||r.off("."+i.CLIPBOARD_ID)}constructor(){this.buttons=[{name:"cut",group:"clipboard"},{name:"copy",group:"clipboard"},{name:"paste",group:"clipboard"},{name:"selectall",group:"clipboard"}]}})},61388(e,t,r){r.d(t,{j(){return i}});const i=e=>(!e.attributes.width||"th"!==e.name&&"td"!==e.name||(e.attributes.width=null),e)},61926(e,t,r){var i=r(6441);i.T.prototype.showPlaceholder=!0,i.T.prototype.placeholder="Type something",i.T.prototype.useInputsPlaceholder=!0},61991(e,t,r){r.d(t,{b(){return o}});var i=r(2748);function o(e,t,r){return!!i.J.canSplitBlock(r)||(i.J.before(e,t.createInside.element("br")),!1)}},62e3(e,t,r){var i=r(27613),o=r(41180);const n=e=>e.args&&(0,i.Kg)(e.args[0])?e.args[0].toLowerCase():"";t.A=["brushCell",{name:"valign",list:["Top","Middle","Bottom","Normal"],childTemplate(e,t,r){return r},exec(e,t,{control:r}){const i=n(r);e.getInstance("Table",e.o).getAllSelectedCells().forEach(e=>{(0,o.A)(e,"vertical-align","normal"===i?"":i)})},tooltip:"Vertical align"},{name:"splitv",list:{tablesplitv:"Split vertical",tablesplitg:"Split horizontal"},tooltip:"Split"},{name:"align",icon:"left"},"\n",{name:"merge",command:"tablemerge",tooltip:"Merge"},{name:"addcolumn",list:{tableaddcolumnbefore:"Insert column before",tableaddcolumnafter:"Insert column after"},exec(e,t,{control:r}){if(!(0,i.y0)(e))return;if(!r.args)return!1;const o=n(r);e.execCommand(o,!1,t)},tooltip:"Add column"},{name:"addrow",list:{tableaddrowbefore:"Insert row above",tableaddrowafter:"Insert row below"},exec(e,t,{control:r}){if(!(0,i.y0)(e))return;if(!r.args)return!1;const o=n(r);e.execCommand(o,!1,t)},tooltip:"Add row"},{name:"delete",icon:"bin",list:{tablebin:"Delete table",tablebinrow:"Delete row",tablebincolumn:"Delete column",tableempty:"Empty cell"},exec(e,t,{control:r}){if(!(0,i.y0)(e))return;if(!r.args)return!1;const o=n(r);e.execCommand(o,!1,t),e.e.fire("hidePopup")},tooltip:"Delete"}]},62232(e,t){t.A={"Type something":"Scrivi qualcosa...",Advanced:"Avanzato","About Jodit":"A proposito di Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Guida utente di Jodit","contains detailed help for using":"contiene una guida dettagliata per l'uso.","For information about the license, please go to our website:":"Per informazioni sulla licenza, si prega di visitare il nostro sito web:","Buy full version":"Acquista la versione completa","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Tutti i diritti riservati.",Anchor:"Link","Open in new tab":"Apri in una nuova scheda","Open in fullsize":"Apri l'editor a schermo intero","Clear Formatting":"Pulisci Formattazione","Fill color or set the text color":"Colore di sfondo o del testo",Redo:"Ripristina",Undo:"Annulla",Bold:"Grassetto",Italic:"Corsivo","Insert Unordered List":"Inserisci lista non ordinata","Insert Ordered List":"Inserisci lista ordinata","Align Center":"Allinea al centro","Align Justify":"Allineamento Giustificato","Align Left":"Allinea a Sinistra","Align Right":"Allinea a Destra","Insert Horizontal Line":"Inserisci una linea orizzontale","Insert Image":"Inserisci immagine","Insert file":"Inserisci un file","Insert youtube/vimeo video":"Inserisci video Youtube/Vimeo","Insert link":"Inserisci link","Font size":"Dimensione carattere","Font family":"Tipo di font","Insert format block":"Inserisci blocco",Normal:"Normale","Heading 1":"Intestazione 1","Heading 2":"Intestazione 2","Heading 3":"Intestazione 3","Heading 4":"Intestazione 4",Quote:"Citazione",Code:"Codice",Insert:"Inserisci","Insert table":"Inserisci tabella","Decrease Indent":"Riduci il rientro","Increase Indent":"Aumenta il rientro","Select Special Character":"Seleziona un carattere speciale","Insert Special Character":"Inserisci un carattere speciale","Paint format":"Copia formato","Change mode":"Cambia modalita'",Margins:"Margini",top:"su",right:"destra",bottom:"giù",left:"sinistra",Styles:"Stili CSS",Classes:"Classi CSS",Align:"Allinea",Right:"Destra",Center:"Centro",Left:"Sinistra","--Not Set--":"--Non Impostato--",Src:"Fonte",Title:"Titolo",Alternative:"Testo Alternativo",Link:"Link","Open link in new tab":"Apri il link in una nuova scheda",Image:"Immagine",file:"Archivio","Image properties":"Proprietà dell'immagine",Cancel:"Annulla",Ok:"Accetta","Your code is similar to HTML. Keep as HTML?":"Il codice è simile all'HTML. Mantieni come HTML?","Paste as HTML":"Incolla come HTML",Keep:"Mantieni",Clean:"Pulisci","Insert as Text":"Inserisci come testo","Word Paste Detected":"Incolla testo da Word rilevato","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Il contenuto incollato proviene da un documento Microsoft Word / Excel. Vuoi mantenere il formato o pulirlo?","Insert only Text":"Inserisci solo il testo","File Browser":"Cerca file","Error on load list":"Errore durante il caricamento dell'elenco","Error on load folders":"Errore durante il caricamento delle cartelle","Are you sure?":"Sei sicuro?","Enter Directory name":"Inserisci il nome della cartella","Create directory":"Crea cartella","type name":"Digita il nome","Drop image":"Cancella immagine","Drop file":"Cancella file","or click":"o clicca","Alternative text":"Testo alternativo",Browse:"Sfoglia",Upload:"Carica",Background:"Sfondo",Text:"Testo",Top:"Su",Middle:"Centro",Bottom:"Sotto","Insert column before":"Inserisci la colonna prima","Insert column after":"Inserisci la colonna dopo","Insert row above":"Inserisci la riga sopra","Insert row below":"Inserisci la riga sotto","Delete table":"Elimina tabella","Delete row":"Elimina riga","Delete column":"Elimina colonna","Empty cell":"Cella vuota",Delete:"Cancella","Strike through":"Barrato",Underline:"Sottolineato",Break:"Pausa","Search for":"Cerca per","Replace with":"Sostituisci con",Replace:"Sostituisci",Edit:"Modifica","Vertical align":"Allineamento verticala","Horizontal align":"Allineamento orizzontale",Filter:"Filtro","Sort by changed":"Ordina per data di modifica","Sort by name":"Ordina per nome","Sort by size":"Ordina per dimensione","Add folder":"Aggiungi cartella",Split:"Dividi","Split vertical":"Dividi verticalmente","Split horizontal":"Dividi orizzontale",Merge:"Fondi","Add column":"Aggiungi colonna","Add row":"Aggiungi riga",Border:"Bordo","Embed code":"Includi codice",Update:"Aggiorna",superscript:"indice",subscript:"pedice","Cut selection":"Taglia selezione",Paste:"Incolla","Choose Content to Paste":"Seleziona il contenuto da incollare","Chars: %d":"Caratteri: %d","Words: %d":"Parole: %d",All:"Tutto","Select %s":"Seleziona: %s","Select all":"Seleziona tutto",source:"risorsa",bold:"Grassetto",italic:"Corsivo",brush:"Pennello",link:"Link",undo:"Annulla",redo:"Ripristina",table:"Tabella",image:"Immagine",eraser:"Gomma",paragraph:"Paragrafo",fontsize:"Dimensione del carattere",video:"Video",font:"Font",about:"Approposito di",print:"Stampa",underline:"Sottolineato",strikethrough:"Barrato",indent:"aumenta rientro",outdent:"riduci rientro",fullsize:"espandi",shrink:"comprimi",hr:"linea orizzontale",ul:"lista non ordinata",ol:"lista ordinata",cut:"Taglia",selectall:"Seleziona tutto","Open link":"Apri link","Edit link":"Modifica link","No follow":"Non seguire",Unlink:"Rimuovi link",Eye:"Recensione",pencil:"Per modificare"," URL":" URL",Reset:"Reset",Save:"Salva","Save as ...":"Salva con nome...",Resize:"Ridimensiona",Crop:"Ritaglia",Width:"Larghezza",Height:"Altezza","Keep Aspect Ratio":"Mantieni le proporzioni",Yes:"Si",No:"No",Remove:"Rimuovi",Select:"Seleziona","You can only edit your own images. Download this image on the host?":"Puoi modificare solo le tue immagini. Vuoi scaricare questa immagine dal server?","The image has been successfully uploaded to the host!":"L'immagine è stata caricata correttamente sul server!",palette:"tavolozza","There are no files":"Non ci sono file in questa directory.",Rename:"Rinomina","Enter new name":"Inserisci un nuovo nome",preview:"anteprima",download:"Scarica","Paste from clipboard":"Incolla dagli appunti","Your browser doesn't support direct access to the clipboard.":"Il tuo browser non supporta l'accesso diretto agli appunti.","Copy selection":"Copia selezione",copy:"copia","Border radius":"Border radius","Show all":"Mostra tutti",Apply:"Applica","Please fill out this field":"Si prega di compilare questo campo","Please enter a web address":"Si prega di inserire un indirizzo web",Default:"Default",Circle:"Cerchio",Dot:"Punto",Quadrate:"Quadrato","Lower Alpha":"Lettera Minuscola","Lower Greek":"Lettera Greca Minuscola","Lower Roman":"Numero Romano Minuscolo","Upper Alpha":"Lettera Maiuscola","Upper Roman":"Numero Romano Maiuscolo",Find:"Trova","Find Previous":"Trova Precedente","Find Next":"Trova Successivo","Insert className":"Inserisci il nome della classe","Press Alt for custom resizing":"Premere Alt per il ridimensionamento personalizzato","License: %s":"Licenza: %s"}},62405(e,t,r){r.d(t,{U(){return d}});var i,o=r(4012),n=r(65478),s=r(2748),a=r(21537),l=r(48538),c=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};let d=i=class e extends l.D{className(){return"UIGroup"}get allChildren(){const e=[],t=[...this.elements];for(;t.length;){const r=t.shift();(0,a.isArray)(r)?t.push(...r):o.u.isInstanceOf(r,i)?t.push(...r.elements):r&&e.push(r)}return e}update(){this.elements.forEach(e=>e.update()),this.setMod("size",this.buttonSize)}append(e,t){if((0,a.isArray)(e)){if("number"==typeof t)throw Error("You can not use index when append array of elements");return e.forEach(e=>this.append(e,t)),this}const r=e;let i;if("number"==typeof t?(i=Math.min(Math.max(0,t),this.elements.length),this.elements.splice(i,0,r)):this.elements.push(r),r.name&&r.container.classList.add(this.getFullElName(r.name)),t&&"string"==typeof t){const e=this.getElm(t);if(null==e)throw Error("Element does not exist");e.appendChild(r.container)}else this.appendChildToContainer(r.container,i);return r.parentElement=this,this}afterSetMod(e,t){this.syncMod&&this.elements.forEach(r=>r.setMod(e,t))}appendChildToContainer(e,t){void 0===t||0>t||t>this.elements.length-1||null==this.container.children[t]?this.container.appendChild(e):this.container.insertBefore(e,this.container.children[t])}remove(e){const t=this.elements.indexOf(e);return-1!==t&&(this.elements.splice(t,1),s.J.safeRemove(e.container),e.parentElement=null),this}clear(){return this.elements.forEach(e=>e.destruct()),this.elements.length=0,this}destruct(){return this.clear(),super.destruct()}constructor(e,t,r){super(e,r),this.options=r,this.syncMod=!1,this.elements=[],this.buttonSize="middle",null==t||t.forEach(e=>e&&this.append(e)),(null==r?void 0:r.name)&&(this.name=r.name)}};c([(0,n.watch)("buttonSize")],d.prototype,"update",null),d=i=c([n.component],d)},62489(e,t,r){var i=r(12153),o=r(6441),n=r(49922),s=r(72144);o.T.prototype.imageeditor={min_width:20,min_height:20,closeAfterSave:!1,width:"85%",height:"85%",crop:!0,resize:!0,resizeUseRatio:!0,resizeMinWidth:20,resizeMinHeight:20,cropUseRatio:!0,cropDefaultWidth:"70%",cropDefaultHeight:"70%"},i.I.set("crop",n.A).set("resize",s.A)},62700(e,t){t.A={"Type something":"なにかタイプしてください",Advanced:"高度な設定","About Jodit":"Joditについて","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Jodit ユーザーズ・ガイド","contains detailed help for using":"詳しい使い方","For information about the license, please go to our website:":"ライセンス詳細についてはJodit Webサイトを確認ください:","Buy full version":"フルバージョンを購入","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.",Anchor:"Anchor","Open in new tab":"新しいタブで開く","Open in fullsize":"エディターのサイズ(フル/ノーマル)","Clear Formatting":"書式をクリア","Fill color or set the text color":"テキストの色",Redo:"やり直し",Undo:"元に戻す",Bold:"太字",Italic:"斜体","Insert Unordered List":"箇条書き","Insert Ordered List":"番号付きリスト","Align Center":"中央揃え","Align Justify":"両端揃え","Align Left":"左揃え","Align Right":"右揃え","Insert Horizontal Line":"区切り線を挿入","Insert Image":"画像を挿入","Insert file":"ファイルを挿入","Insert youtube/vimeo video":"Youtube/Vimeo 動画","Insert link":"リンクを挿入","Font size":"フォントサイズ","Font family":"フォント","Insert format block":"テキストのスタイル",Normal:"指定なし","Heading 1":"タイトル1","Heading 2":"タイトル2","Heading 3":"タイトル3","Heading 4":"タイトル4",Quote:"引用",Code:"コード",Insert:"挿入","Insert table":"表を挿入","Decrease Indent":"インデント減","Increase Indent":"インデント増","Select Special Character":"特殊文字を選択","Insert Special Character":"特殊文字を挿入","Paint format":"書式を貼付け","Change mode":"編集モード切替え",Margins:"マージン",top:"上",right:"右",bottom:"下",left:"左",Styles:"スタイル",Classes:"クラス",Align:"配置",Right:"右寄せ",Center:"中央寄せ",Left:"左寄せ","--Not Set--":"指定なし",Src:"ソース",Title:"タイトル",Alternative:"代替テキスト",Link:"リンク","Open link in new tab":"新しいタブで開く",Image:"画像",file:"ファイル","Image properties":"画像のプロパティー",Cancel:"キャンセル",Ok:"確定","Your code is similar to HTML. Keep as HTML?":"HTMLコードを保持しますか?","Paste as HTML":"HTMLで貼付け",Keep:"HTMLを保持",Clean:"Clean","Insert as Text":"HTMLをテキストにする","Word Paste Detected":"Word Paste Detected","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Insert only Text":"テキストだけ","File Browser":"File Browser","Error on load list":"Error on load list","Error on load folders":"Error on load folders","Are you sure?":"Are you sure?","Enter Directory name":"Enter Directory name","Create directory":"Create directory","type name":"type name","Drop image":"ここに画像をドロップ","Drop file":"ここにファイルをドロップ","or click":"or クリック","Alternative text":"代替テキスト",Browse:"ブラウズ",Upload:"アップロード",Background:"背景",Text:"文字",Top:"上",Middle:"中央",Bottom:"下","Insert column before":"左に列を挿入","Insert column after":"右に列を挿入","Insert row above":"上に行を挿入","Insert row below":"下に行を挿入","Delete table":"表を削除","Delete row":"行を削除","Delete column":"列を削除","Empty cell":"セルを空にする","Chars: %d":"文字数: %d","Words: %d":"単語数: %d","Strike through":"取り消し線",Underline:"下線",superscript:"上付き文字",subscript:"下付き文字","Cut selection":"切り取り","Select all":"すべて選択",Break:"Pause","Search for":"検索","Replace with":"置換",Replace:"交換",Paste:"貼付け","Choose Content to Paste":"選択した内容を貼付け",All:"全部",source:"source",bold:"bold",italic:"italic",brush:"brush",link:"link",undo:"undo",redo:"redo",table:"table",image:"image",eraser:"eraser",paragraph:"paragraph",fontsize:"fontsize",video:"video",font:"font",about:"about",print:"print",underline:"underline",strikethrough:"strikethrough",indent:"indent",outdent:"outdent",fullsize:"fullsize",shrink:"shrink",hr:"分割線",ul:"箇条書き",ol:"番号付きリスト",cut:"切り取り",selectall:"すべて選択","Open link":"リンクを開く","Edit link":"リンクを編集","No follow":"No follow",Unlink:"リンク解除",Eye:"サイトを確認"," URL":"URL",Reset:"リセット",Save:"保存","Save as ...":"Save as ...",Resize:"リサイズ",Crop:"Crop",Width:"幅",Height:"高さ","Keep Aspect Ratio":"縦横比を保持",Yes:"はい",No:"いいえ",Remove:"移除",Select:"選択","Select %s":"選択: %s",Update:"更新","Vertical align":"垂直方向の配置",Merge:"セルの結合","Add column":"列を追加","Add row":"行を追加",Border:"境界線","Embed code":"埋め込みコード",Delete:"削除",Edit:"編集","Horizontal align":"水平方向の配置",Filter:"Filter","Sort by changed":"Sort by changed","Sort by name":"Sort by name","Sort by size":"Sort by size","Add folder":"Add folder",Split:"分割","Split vertical":"セルの分割(垂直方向)","Split horizontal":"セルの分割(水平方向)","You can only edit your own images. Download this image on the host?":"You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!":"The image has been successfully uploaded to the host!",palette:"パレット",pencil:"鉛筆","There are no files":"There are no files",Rename:"Rename","Enter new name":"Enter new name",preview:"プレビュー",download:"ダウンロード","Paste from clipboard":"貼り付け","Your browser doesn't support direct access to the clipboard.":"お使いのブラウザはクリップボードを使用できません","Copy selection":"コピー",copy:"copy","Border radius":"角の丸み","Show all":"全て表示",Apply:"適用","Please fill out this field":"まだこの分野","Please enter a web address":"を入力してくださいウェブアドレス",Default:"デフォルト",Circle:"白丸",Dot:"黒丸",Quadrate:"四角",Find:"見","Find Previous":"探前","Find Next":"由来","Lower Alpha":"英小文字","Lower Greek":"ギリシャ文字","Lower Roman":"ローマ数字小文字","Upper Alpha":"英大文字","Upper Roman":"ローマ数字大文字","Insert className":"クラス名を挿入","Press Alt for custom resizing":"カスタムサイズ変更のためのAltキーを押します","License: %s":"ライセンス: %s"}},62770(e,t){t.A={"Type something":"Bitte geben Sie einen Text ein",Advanced:"Fortgeschritten","About Jodit":"Über Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Das Jodit Benutzerhandbuch","contains detailed help for using":"beinhaltet ausführliche Informationen wie Sie den Editor verwenden können.","For information about the license, please go to our website:":"Für Informationen zur Lizenz, besuchen Sie bitte unsere Web-Präsenz:","Buy full version":"Vollversion kaufen","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.",Anchor:"Anker","Open in new tab":"In neuer Registerkarte öffnen","Open in fullsize":"Editor in voller Größe öffnen","Clear Formatting":"Formatierung löschen","Fill color or set the text color":"Füllfarbe oder Textfarbe ändern",Redo:"Wiederholen",Undo:"Rückgängig machen",Bold:"Fett",Italic:"Kursiv","Insert Unordered List":"Unsortierte Liste einfügen","Insert Ordered List":"Nummerierte Liste einfügen","Align Center":"Mittig ausrichten","Align Justify":"Blocksatz","Align Left":"Links ausrichten","Align Right":"Rechts ausrichten","Insert Horizontal Line":"Horizontale Linie einfügen","Insert Image":"Bild einfügen","Insert file":"Datei einfügen","Insert youtube/vimeo video":"Youtube/vimeo Video einfügen","Insert link":"Link einfügen","Font size":"Schriftgröße","Font family":"Schriftfamilie","Insert format block":"Formatblock einfügen",Normal:"Normal","Heading 1":"Überschrift 1","Heading 2":"Überschrift 2","Heading 3":"Überschrift 3","Heading 4":"Überschrift 4",Quote:"Zitat",Code:"Code",Insert:"Einfügen","Insert table":"Tabelle einfügen","Decrease Indent":"Einzug verkleinern","Increase Indent":"Einzug vergrößern","Select Special Character":"Sonderzeichen auswählen","Insert Special Character":"Sonderzeichen einfügen","Paint format":"Format kopieren","Change mode":"Änderungsmodus",Margins:"Ränder",top:"Oben",right:"Rechts",bottom:"Unten",left:"Links",Styles:"CSS Stil",Classes:"CSS Klassen",Align:"Ausrichtung",Right:"Rechts",Center:"Zentriert",Left:"Links","--Not Set--":"Keine",Src:"Pfad",Title:"Titel",Alternative:"Alternativer Text",Link:"Link","Open link in new tab":"Link in neuem Tab öffnen",Image:"Bild",file:"Datei","Image properties":"Bildeigenschaften",Cancel:"Abbrechen",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Ihr Text ähnelt HTML-Code. Als HTML beibehalten?","Paste as HTML":"Als HTML einfügen?",Keep:"Original speichern",Clean:"Säubern","Insert as Text":"Als Text einfügen","Word Paste Detected":"In Word formatierter Text erkannt","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Der Inhalt, den Sie einfügen, stammt aus einem Microsoft Word / Excel-Dokument. Möchten Sie das Format erhalten oder bereinigen?","Insert only Text":"Nur Text einfügen","File Browser":"Dateibrowser","Error on load list":"Fehler beim Laden der Liste","Error on load folders":"Fehler beim Laden der Ordner","Are you sure?":"Sind Sie sicher?","Enter Directory name":"Geben Sie den Verzeichnisnamen ein","Create directory":"Verzeichnis erstellen","type name":"Typname","Drop image":"Bild hier hinziehen","Drop file":"Datei löschen","or click":"oder hier klicken","Alternative text":"Alternativtext",Browse:"Auswählen",Upload:"Hochladen",Background:"Hintergrund",Text:"Text",Top:"Oben",Middle:"Mittig",Bottom:"Unten","Insert column before":"Spalte davor einfügen","Insert column after":"Spalte danach einfügen","Insert row above":"Zeile oberhalb einfügen","Insert row below":"Zeile unterhalb einfügen","Delete table":"Tabelle löschen","Delete row":"Zeile löschen","Delete column":"Spalte löschen","Empty cell":"Zelle leeren",Delete:"Löschen","Strike through":"Durchstreichen",Underline:"Unterstreichen",Break:"Pause","Search for":"Suche nach","Replace with":"Ersetzen durch",Replace:"Ersetzen",Edit:"Bearbeiten","Vertical align":"Vertikale Ausrichtung","Horizontal align":"Horizontale Ausrichtung",Filter:"Filter","Sort by changed":"Sortieren nach geändert","Sort by name":"Nach Name sortieren","Sort by size":"Nach Größe sortiert","Add folder":"Ordner hinzufügen","Split vertical":"Vertikal unterteilen","Split horizontal":"Horizontal unterteilen",Split:"Unterteilen",Merge:"Vereinen","Add column":"Spalte hinzufügen","Add row":"Zeile hinzufügen",Border:"Rand","Embed code":"Code einbetten",Update:"Aktualisieren",superscript:"Hochstellen",subscript:"Tiefstellen","Cut selection":"Auswahl ausschneiden",Paste:"Einfügen","Choose Content to Paste":"Wählen Sie den Inhalt zum Einfügen aus","Chars: %d":"Zeichen: %d","Words: %d":"Wörter: %d",All:"Alles markieren","Select %s":"Markieren: %s","Select all":"Alles markieren",source:"HTML",bold:"Fett gedruckt",italic:"Kursiv",brush:"Bürste",link:"Verknüpfung",undo:"Rückgängig machen",redo:"Wiederholen",table:"Tabelle",image:"Bild",eraser:"Radiergummi",paragraph:"Absatz",fontsize:"Schriftgröße",video:"Video",font:"Schriftart",about:"Über",print:"Drucken",underline:"Unterstreichen",strikethrough:"Durchstreichen",indent:"Einzug",outdent:"Herausstellen",fullsize:"Vollgröße",shrink:"Schrumpfen",hr:"die Linie",ul:"Liste von",ol:"Nummerierte Liste","Lower Alpha":"Standard, Alphabet (klein)","Upper Alpha":"Standard, Alphabet (gross)","Lower Roman":"Römisch (klein)","Upper Roman":"Römisch (gross)","Lower Greek":"Griechisch",cut:"Schneiden",selectall:"Wählen Sie Alle aus","Open link":"Link öffnen","Edit link":"Link bearbeiten","No follow":"Nofollow-Attribut",Unlink:"Link entfernen",Eye:"Ansehen",pencil:"Bearbeiten"," URL":"URL",Reset:"Wiederherstellen",Save:"Speichern","Save as ...":"Speichern als",Resize:"Größe ändern",Crop:"Größe anpassen",Width:"Breite",Height:"Höhe","Keep Aspect Ratio":"Seitenverhältnis beibehalten",Yes:"Ja",No:"Nein",Remove:"Entfernen",Select:"Markieren","You can only edit your own images. Download this image on the host?":"Sie können nur Ihre eigenen Bilder bearbeiten. Dieses Bild auf den Host herunterladen?","The image has been successfully uploaded to the host!":"Das Bild wurde erfolgreich auf den Server hochgeladen!",palette:"Palette","There are no files":"In diesem Verzeichnis befinden sich keine Dateien.",Rename:"Umbenennen","Enter new name":"Geben Sie einen neuen Namen ein",preview:"Vorschau",download:"Herunterladen","Paste from clipboard":"Aus Zwischenablage einfügen","Your browser doesn't support direct access to the clipboard.":"Ihr Browser unterstützt keinen direkten Zugriff auf die Zwischenablage.","Copy selection":"Auswahl kopieren",copy:"Kopieren","Border radius":"Radius für abgerundete Ecken","Show all":"Alle anzeigen",Apply:"Anwenden","Please fill out this field":"Bitte füllen Sie dieses Feld aus","Please enter a web address":"Bitte geben Sie eine Web-Adresse ein",Default:"Standard",Circle:"Kreis",Dot:"Punkte",Quadrate:"Quadrate",Find:"Suchen","Find Previous":"Suche vorherige","Find Next":"Weitersuchen","Insert className":"className (CSS) einfügen","Press Alt for custom resizing":"Drücken Sie Alt für benutzerdefinierte Größenanpassung","License: %s":"Lizenz: %s"}},62843(e,t,r){r.d(t,{$n(){return i.$n},SB(){return n.S},lD(){return i.lD},ss(){return o.s},ue(){return i.ue}});var i=r(10830),o=r(71916),n=r(57340)},62845(e,t,r){r.d(t,{E(){return s}});var i=r(82758),o=r(2748),n=r(63785);function s(e,t,r){let n=t,s=n;for(;n&&!o.J.findNotEmptySibling(n,r)&&n.parentElement!==e.editor;)n=n.parentElement,s=n;if(o.J.isElement(s)&&o.J.isContentEditable(s,e.editor)){const n=o.J.findNotEmptySibling(s,r);if(n&&(((e,t,r,n)=>{const s=o.J.isTag(r,i.LIST_TAGS),l=o.J.isTag(t,i.LIST_TAGS),c=(e,t)=>t?e.firstElementChild:e.lastElementChild;return l?(r=e.createInside.element(e.o.enterBlock),o.J.before(t,r),a(e,c(t,n),r,n)):!(!r||!s||l)&&a(e,t,c(r,!n),n)})(e,s,n,r)||a(e,s,n,r)))return e.s.setCursorBefore(t),!0}return!1}function a(e,t,r,i){if(t&&o.J.isElement(r)){o.J.moveContent(t,r,!i,(0,n.g)(e));let s=t;for(;s&&s!==e.editor&&o.J.isEmpty(s);){const e=s.parentElement;o.J.safeRemove(s),s=e}return!0}return!1}},63399(e,t,r){r.d(t,{S(){return n},V(){return s}});var i=r(80870),o=r(11787);function n(e,t){return new o.A(e,t)}function s(e){return new i.t(e)}},63687(e,t,r){r.d(t,{$s(){return c.$s},AS(){return s.A},Dd(){return l.D},EF(){return o.E},G6(){return n.G},LV(){return p.L},M6(){return l.M},Yx(){return u.Y},iu(){return a.i},ks(){return d.k},tm(){return h.t},yP(){return i.y}});var i=r(32526),o=r(49996),n=r(23738),s=r(44602),a=(r(22030),r(64291)),l=(r(29136),r(94466)),c=r(97380),d=r(20199),u=(r(82515),r(44253)),h=r(75882),p=r(19263);r(6980)},63785(e,t,r){r.d(t,{g(){return n},s(){return o}});var i=r(22732);function o(e,t,r,o=!1){const n=e=>t?e.firstChild:e.lastChild;let s=i.J.findNotEmptyNeighbor(e,!t,r);if(o&&i.J.isElement(s)&&!i.J.isInlineBlock(s))return null;if(s)do{if(!n(s))return s;s=n(s)}while(s);return null}function n(e){return t=>!0!==e.e.fire("backSpaceIsMovedIgnore",t)}},63799(e,t,r){r.d(t,{EW(){return n},Qt(){return c},S5(){return l},w4(){return a},x_(){return d}});var i=r(70799),o=r(66292);const n=new Map,s=e=>(t,r)=>{if(n.has(r))return n.get(r);const i=e(t,r);return n.set(r,i),i},a=s((e,t)=>e.async.promise((r,i)=>{if(e.isInDestruct)return i();const n=e.c.element("script",{type:"text/javascript",crossorigin:"anonymous",referrerpolicy:"no-referrer",async:!0,src:(0,o.X)(t)});e.e.one(n,"error",i).one(n,"load",r),e.od.body.appendChild(n)})),l=s((e,t)=>e.async.promise((r,i)=>{if(e.isInDestruct)return i();const n=e.c.element("link");n.rel="stylesheet",n.media="all",n.crossOrigin="anonymous",!e.isInDestruct&&e.e.on(n,"load",()=>r(n)).on(n,"error",i),n.href=(0,o.X)(t),e.o.shadowRoot?e.o.shadowRoot.appendChild(n):e.od.body.appendChild(n)}));function c(e,t,r=0){return(0,i.K)(t[r])?a(e,t[r]).then(()=>c(e,t,r+1)):Promise.resolve()}function d(e,t,r=0){return(0,i.K)(t[r])?l(e,t[r]).then(()=>d(e,t,r+1)):Promise.resolve()}},64291(e,t,r){r.d(t,{i(){return o}});var i=r(2748);function o(e,t){return!!i.J.closest(e,["style","script"],t)}},64310(e,t,r){r(6441).T.prototype.pasteFromWord={enable:!1,convertUnitsToPixel:!1,allowedStyleProps:["background","background-color","border","border-.*","color","float","font-family","font-size","font-style","font-weight","height","line-height","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","padding","text-align","text-justify","text-decoration","text-indent","vertical-align","width"]}},64489(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 896q0 156-61 298t-164 245-245 164-298 61q-172 0-327-72.5t-264-204.5q-7-10-6.5-22.5t8.5-20.5l137-138q10-9 25-9 16 2 23 12 73 95 179 147t225 52q104 0 198.5-40.5t163.5-109.5 109.5-163.5 40.5-198.5-40.5-198.5-109.5-163.5-163.5-109.5-198.5-40.5q-98 0-188 35.5t-160 101.5l137 138q31 30 14 69-17 40-59 40h-448q-26 0-45-19t-19-45v-448q0-42 40-59 39-17 69 14l130 129q107-101 244.5-156.5t284.5-55.5q156 0 298 61t245 164 164 245 61 298z"/> </svg> '},64837(e,t,r){var i=r(65478),o=r(580),n=r(50911),s=(r(57951),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});class a extends n.k{afterInit(e){e.registerCommand("insertUnorderedList",this.onCommand).registerCommand("insertOrderedList",this.onCommand)}onCommand(e,t,r){return this.jodit.s.commitStyle({element:"insertunorderedlist"===e?"ul":"ol",attributes:{style:{listStyleType:null!=r?r:null}}}),this.jodit.synchronizeValues(),!1}beforeDestruct(e){}constructor(){super(...arguments),this.buttons=[{name:"ul",group:"list"},{name:"ol",group:"list"}]}}s([i.autobind],a.prototype,"onCommand",null),o.fg.add("orderedList",a)},65181(e,t,r){r.d(t,{c(){return s}});var i=r(2748),o=r(76078),n=r(44245);function s(e,t,r){const s=i.J.closest(r,["ol","ul"],t.editor);if(!s)return;const a=s.parentElement,l=i.J.isLeaf(a),c=l?a:s,d=t.s.createRange();d.setStartAfter(r),d.setEndAfter(s);const u=d.extractContents();i.J.after(c,e),i.J.safeRemove(r),(0,o.$$)("li",s).length||i.J.safeRemove(s);const h=(0,n.y)(e,t,l?"li":t.o.enter);u.querySelector("li")&&(l?h.appendChild(u):i.J.after(h,u))}},65478(e,t,r){r.r(t),r.d(t,{autobind(){return i.d},cache(){return o.PP},cacheHTML(){return o.OK},cached(){return o.PO},component(){return n.s},debounce(){return s.s},derive(){return a.C},getPropertyDescriptor(){return p.N},hook(){return l.A},idle(){return c.N},nonenumerable(){return d.m},persistent(){return u.y},throttle(){return s.n},wait(){return h.u},watch(){return p.w}});var i=r(45219),o=r(33433),n=r(87325),s=r(81577),a=r(55153),l=r(97357),c=r(78927),d=r(31589),u=r(53213),h=r(13525),p=r(37133)},65517(e,t,r){var i=r(65478),o=r(22732),n=r(580),s=r(21537),a=r(50911),l=(r(5827),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});class c extends a.k{afterInit(e){e.o.link.followOnDblClick&&e.e.on("dblclick.link",this.__onDblClickOnLink),e.e.on(e.editor,"click.link",this.__onClickReadOnlyLink),e.o.link.processPastedLink&&e.e.on("processPaste.link",this.onProcessPasteLink),e.e.on("generateLinkForm.link",this.__generateForm),e.registerCommand("openLinkDialog",{exec:()=>{const t=e.dlg({resizable:!1}),r=this.__generateForm(e.s.current(),()=>{t.close()});r.container.classList.add("jodit-dialog_alert"),t.setContent(r),t.open(),e.async.requestIdleCallback(()=>{const{url_input:e}=(0,s.refs)(r.container);null==e||e.focus()})},hotkeys:e.o.link.hotkeys})}__onDblClickOnLink(e){if(!o.J.isTag(e.target,"a"))return;const t=(0,s.attr)(e.target,"href");t&&(location.href=t,e.preventDefault())}onProcessPasteLink(e,t){var r,i,o,n;const{jodit:a}=this;if((0,s.isURL)(t)&&a.o.link.processPastedLink){if(a.e.stopPropagation("processPaste"),a.o.link.processVideoLink){const e=(0,s.call)(null!==(i=null===(r=a.o.video)||void 0===r?void 0:r.parseUrlToVideoEmbed)&&void 0!==i?i:s.convertMediaUrlToVideoEmbed,t,{width:null===(o=a.o.video)||void 0===o?void 0:o.defaultWidth,height:null===(n=a.o.video)||void 0===n?void 0:n.defaultHeight});if(e!==t)return a.createInside.fromHTML(e)}if(a.s.isCollapsed()){const e=a.createInside.element("a");return e.setAttribute("href",t),e.textContent=t,a.e.fire("applyLink",a,e,null),e}return a.s.commitStyle({element:"a",attributes:{href:t}}),!0}}__generateForm(e,t){const{jodit:r}=this,i=r.i18n.bind(r),{openInNewTabCheckbox:n,noFollowCheckbox:a,formTemplate:l,formClassName:c,modeClassName:d}=r.o.link,u=l(r),h=(0,s.isString)(u)?r.c.fromHTML(u,{target_checkbox_box:n,nofollow_checkbox_box:a}):u,p=o.J.isElement(h)?h:h.container,f=(0,s.refs)(p),{insert:m,unlink:g,content_input_box:v}=f,{target_checkbox:b,nofollow_checkbox:y,url_input:w}=f,_=o.J.isImage(e);let{content_input:k}=f;const{className_input:C}=f,{className_select:S}=f;let T;k||(k=r.c.element("input",{type:"hidden",ref:"content_input"})),c&&p.classList.add(c),_&&o.J.hide(v);const E=()=>T?T.innerText:(0,s.stripTags)(r.s.range.cloneContents(),r.ed);T=!(!e||!o.J.closest(e,"a",r.editor))&&o.J.closest(e,"a",r.editor),!_&&e&&(k.value=E()),T?(w.value=(0,s.attr)(T,"href")||"",d&&((e,t,r,i)=>{switch(e){case"input":t&&(t.value=(0,s.attr)(r,"class")||"");break;case"select":if(i){for(let e=0;i.selectedOptions.length>e;e++){const t=i.options.item(e);t&&(t.selected=!1)}((0,s.attr)(r,"class")||"").split(" ").forEach(e=>{if(e)for(let t=0;i.options.length>t;t++){const r=i.options.item(t);(null==r?void 0:r.value)&&r.value===e&&(r.selected=!0)}})}}})(d,C,T,S),n&&b&&(b.checked="_blank"===(0,s.attr)(T,"target")),a&&y&&(y.checked="nofollow"===(0,s.attr)(T,"rel")),m.textContent=i("Update")):o.J.hide(g),r.editor.normalize();const I=r.history.snapshot.make();g&&r.e.on(g,"click",e=>{r.s.restore(),r.history.snapshot.restore(I),T&&o.J.unwrap(T),r.synchronizeValues(),t(),e.preventDefault()});const A=()=>{if(!w.value.trim().length)return w.focus(),w.classList.add("jodit_error"),!1;let e;r.s.restore(),r.s.removeMarkers(),r.editor.normalize(),r.history.snapshot.restore(I);const i=E()!==k.value.trim(),l=r.createInside;if(T&&o.J.isOrContains(r.editor,T))e=[T];else{if(r.s.isCollapsed()){const t=l.element("a");r.s.insertNode(t,!1,!1),e=[t]}else{const t=r.s.current();e=o.J.isTag(t,"img")?[o.J.wrap(t,"a",l)]:r.s.wrapInTag("a")}e.forEach(e=>r.s.select(e))}return e.forEach(e=>{(0,s.attr)(e,"href",w.value),((e,t,r,i)=>{var o;if(e&&(null!=t?t:r))if("input"===e)""===t.value&&i.hasAttribute("class")&&(0,s.attr)(i,"class",null),""!==t.value&&(0,s.attr)(i,"class",t.value);else if("select"===e){i.hasAttribute("class")&&(0,s.attr)(i,"class",null);for(let e=0;r.selectedOptions.length>e;e++){const t=null===(o=r.selectedOptions.item(e))||void 0===o?void 0:o.value;t&&i.classList.add(t)}}})(d,C,S,e),_||((e,t,r,i)=>{let o=e.textContent;t.value.trim().length?r&&(o=t.value):o=i.value,o!==e.textContent&&(e.textContent=o)})(e,k,i,w),n&&b&&(0,s.attr)(e,"target",b.checked?"_blank":null),a&&y&&(0,s.attr)(e,"rel",y.checked?"nofollow":null),r.e.fire("applyLink",r,e,h)}),r.synchronizeValues(),t(),!1};return o.J.isElement(h)?r.e.on(h,"submit",e=>(e.preventDefault(),e.stopImmediatePropagation(),A(),!1)):h.onSubmit(A),h}beforeDestruct(e){e.e.off("generateLinkForm.link",this.__generateForm).off("dblclick.link",this.__onDblClickOnLink).off(e.editor,"click.link",this.__onClickReadOnlyLink).off("processPaste.link",this.onProcessPasteLink)}__onClickReadOnlyLink(e){const{jodit:t}=this;t.o.readonly&&t.o.link.preventReadOnlyNavigation&&o.J.isTag(e.target,"a")&&e.preventDefault()}constructor(){super(...arguments),this.buttons=[{name:"link",group:"insert"}]}}l([i.autobind],c.prototype,"__onDblClickOnLink",null),l([i.autobind],c.prototype,"onProcessPasteLink",null),l([i.autobind],c.prototype,"__generateForm",null),l([i.autobind],c.prototype,"__onClickReadOnlyLink",null),n.fg.add("link",c)},65638(e,t,r){r.d(t,{I(){return i},O(){return o}});const i=(()=>{let e;return()=>(void 0===e&&(e=(()=>{const e="___Jodit___"+Math.random();try{localStorage.setItem(e,"1");const t="1"===localStorage.getItem(e);return localStorage.removeItem(e),t}catch(e){}return!1})()),e)})();class o{set(e,t){try{const r=localStorage.getItem(this.rootKey),i=r?JSON.parse(r):{};i[e]=t,localStorage.setItem(this.rootKey,JSON.stringify(i))}catch(e){}return this}delete(e){try{localStorage.removeItem(this.rootKey)}catch(e){}return this}get(e){try{const t=localStorage.getItem(this.rootKey),r=t?JSON.parse(t):{};return void 0!==r[e]?r[e]:void 0}catch(e){}}exists(e){return null!=this.get(e)}clear(){try{localStorage.removeItem(this.rootKey)}catch(e){}return this}constructor(e){this.rootKey=e}}},65735(e,t,r){var i=r(37133),o=r(580),n=r(50911),s=(r(9045),r(46124)),a=r(43267),l=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};class c extends n.k{afterInit(e){}beforeDestruct(e){}__onBeforeInsertNode(e){Object.keys(a).forEach(t=>{a[t](this.j,e)})}__onAfterInsertNode(e){Object.keys(s).forEach(t=>{s[t](this.j,e)})}}l([(0,i.w)(":beforeInsertNode")],c.prototype,"__onBeforeInsertNode",null),l([(0,i.w)(":afterInsertNode")],c.prototype,"__onAfterInsertNode",null),o.fg.add("dtd",c)},65917(e,t,r){var i=r(6441);i.T.prototype.controls.font.list={"'Andale mono', monospace'":"Andale Mono","Arial, Helvetica, sans-serif":"Arial","'Arial black', sans-serif":"Arial Black","'Book antiqua', palatino, serif":"Book Antiqua","'Comic Sans MS', sans-serif":"Comic Sans MS","'Courier new', Courier, monospace":"Courier New","Georgia, Palatino, serif":"Georgia","Helvetica, Arial, sans-serif":"Helvetica","Impact, Charcoal, sans-serif":"Impact","Symbol, sans-serif":"Symbol","Tahoma, Arial, Helvetica, sans-serif":"Tahoma","Terminal, Monaco, monospace":"Terminal","'Times new roman', Times, serif":"Times New Roman","'Trebuchet ms', Geneva, sans-serif":"Trebuchet MS","Verdana, Geneva, sans-serif":"Verdana",Webdings:"Webdings","Wingdings, 'Zapf dingbats'":"Wingdings"},i.T.prototype.loadExternalConfig=!0},66288(e,t,r){r(6441).T.prototype.tab={tabInsideLiInsertNewList:!0}},66292(e,t,r){r.d(t,{X(){return o}});var i=r(82758);const o=e=>("file:"===i.globalWindow.location.protocol&&/^\/\//.test(e)&&(e="https:"+e),e)},66465(e,t,r){r.d(t,{m(){return o}});var i=r(49055);const o=e=>!!(0,i.Bq)(e.value).length||(e.error="Please fill out this field",!1)},66707(e,t,r){var i=r(22732),o=r(580),n=r(21537),s=r(49055),a=r(50911);class l extends a.k{afterInit(e){e.e.on("afterCommand.delete",e=>{"delete"===e&&this.__afterDeleteCommand()}),e.registerCommand("delete",{exec:this.__onDeleteCommand.bind(this)},{stopPropagation:!1})}beforeDestruct(e){e.e.off("afterCommand.delete")}__afterDeleteCommand(){const e=this.j,t=e.s.current();if(t&&i.J.isTag(t.firstChild,"br")&&e.s.removeNode(t.firstChild),!((0,s.Bq)(e.editor.textContent||"")||e.editor.querySelector("img,table,jodit,iframe,hr")||t&&i.J.closest(t,"table",e.editor))){e.editor.innerHTML="";const t=e.s.setCursorIn(e.editor);e.s.removeNode(t)}}__onDeleteCommand(){const{jodit:e}=this;if(e.s.isCollapsed())return;e.s.expandSelection();const t=e.s.range;t.deleteContents();const r=e.createInside.fake();t.insertNode(r);const o=i.J.findSibling(r,!0),n=i.J.findSibling(r,!1);return this.__moveContentInLeftSibling(r,o,n),t.setStartBefore(r),t.collapse(!0),this.__moveCursorInEditableSibling(e,o,r,t),this.__addBrInEmptyBlock(r,n,t),i.J.safeRemove(r),e.s.selectRange(t),!1}__moveContentInLeftSibling(e,t,r){t=this.__defineRightLeftBox(t),!i.J.isList(r)&&!i.J.isTag(r,"table")&&i.J.isBlock(r)&&i.J.isBlock(t)&&(i.J.append(t,e),i.J.moveContent(r,t),i.J.safeRemove(r)),i.J.isList(r)&&i.J.isLeaf(r.firstElementChild)&&i.J.isEmpty(r.firstElementChild)&&i.J.safeRemove(r.firstElementChild)}__defineRightLeftBox(e){if(!i.J.isList(e))return e;let t=e.lastElementChild;return i.J.isLeaf(t)||(t=this.j.createInside.element("li"),i.J.append(e,t)),t}__addBrInEmptyBlock(e,t,r){const o=this.j;if(e.isConnected&&i.J.isBlock(e.parentNode)&&!e.nextSibling&&!e.previousSibling){const t=o.createInside.element("br");i.J.after(e,t),r.setStartBefore(t),r.collapse(!0)}if(i.J.isTag(t,"table")){const e=(0,n.$$)("td,th",t).shift();i.J.isCell(e)&&i.J.isEmpty(e)&&i.J.append(e,o.createInside.element("br"))}}__moveCursorInEditableSibling(e,t,r,o){var n;if(!t||!i.J.isText(t)){const t=null!==(n=i.J.closest(r,i.J.isBlock,e.editor))&&void 0!==n?n:e.editor,s=i.J.prev(r,i.J.isText,t);s&&(o.setStartAfter(s),o.collapse(!0),i.J.safeRemove(r))}}}l.requires=["backspace"],o.fg.add("deleteCommand",l)},66789(e,t,r){var i=r(20882);t.A=[{name:"bin",tooltip:"Delete",exec(e,t){t&&e.s.removeNode(t)}},i.M]},66863(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 256v448q0 26-19 45t-45 19h-448q-42 0-59-40-17-39 14-69l138-138q-148-137-349-137-104 0-198.5 40.5t-163.5 109.5-109.5 163.5-40.5 198.5 40.5 198.5 109.5 163.5 163.5 109.5 198.5 40.5q119 0 225-52t179-147q7-10 23-12 14 0 25 9l137 138q9 8 9.5 20.5t-7.5 22.5q-109 132-264 204.5t-327 72.5q-156 0-298-61t-245-164-164-245-61-298 61-298 164-245 245-164 298-61q147 0 284.5 55.5t244.5 156.5l130-129q29-31 70-14 39 17 39 59z"/> </svg> '},67078(e,t){t.A={"Type something":"Írjon be valamit",Advanced:"Haladó","About Jodit":"Joditról","Jodit Editor":"Jodit Editor","Free Non-commercial Version":"Ingyenes változat","Jodit User's Guide":"Jodit útmutató","contains detailed help for using":"további segítséget tartalmaz","For information about the license, please go to our website:":"További licence információkért látogassa meg a weboldalunkat:","Buy full version":"Teljes verzió megvásárlása","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Minden jog fenntartva.",Anchor:"Horgony","Open in new tab":"Megnyitás új lapon","Open in fullsize":"Megnyitás teljes méretben","Clear Formatting":"Formázás törlése","Fill color or set the text color":"Háttér/szöveg szín",Redo:"Újra",Undo:"Visszavon",Bold:"Félkövér",Italic:"Dőlt","Insert Unordered List":"Pontozott lista","Insert Ordered List":"Számozott lista","Align Center":"Középre zárt","Align Justify":"Sorkizárt","Align Left":"Balra zárt","Align Right":"Jobbra zárt","Insert Horizontal Line":"Vízszintes vonal beszúrása","Insert Image":"Kép beszúrás","Insert file":"Fájl beszúrás","Insert youtube/vimeo video":"Youtube videó beszúrása","Insert link":"Link beszúrás","Font size":"Betűméret","Font family":"Betűtípus","Insert format block":"Formázott blokk beszúrása",Normal:"Normál","Heading 1":"Fejléc 1","Heading 2":"Fejléc 2","Heading 3":"Fejléc 3","Heading 4":"Fejléc 4",Quote:"Idézet",Code:"Kód",Insert:"Beszúr","Insert table":"Táblázat beszúrása","Decrease Indent":"Behúzás csökkentése","Increase Indent":"Behúzás növelése","Select Special Character":"Speciális karakter kiválasztása","Insert Special Character":"Speciális karakter beszúrása","Paint format":"Kép formázása","Change mode":"Nézet váltása",Print:"Nyomtatás",Margins:"Szegélyek",top:"felső",right:"jobb",bottom:"alsó",left:"bal",Styles:"CSS stílusok",Classes:"CSS osztályok",Align:"Igazítás",Right:"Jobbra",Center:"Középre",Left:"Balra","--Not Set--":"Nincs",Src:"Forrás",Title:"Cím",Alternative:"Helyettesítő szöveg",Link:"Link","Open link in new tab":"Link megnyitása új lapon",Image:"Kép",file:"Fájl","Image properties":"Kép tulajdonságai",Cancel:"Mégsem",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"A beillesztett szöveg HTML-nek tűnik. Megtartsuk HTML-ként?","Paste as HTML":"Beszúrás HTML-ként",Keep:"Megtartás",Clean:"Elvetés","Insert as Text":"Beszúrás szövegként","Word Paste Detected":"Word-ből másolt szöveg","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"A beillesztett tartalom Microsoft Word/Excel dokumentumból származik. Meg szeretné tartani a formátumát?","Insert only Text":"Csak szöveg beillesztése","File Browser":"Fájl tallózó","Error on load list":"Hiba a lista betöltése közben","Error on load folders":"Hiba a mappák betöltése közben","Are you sure?":"Biztosan ezt szeretné?","Enter Directory name":"Írjon be egy mappanevet","Create directory":"Mappa létrehozása","type name":"írjon be bevet","Drop image":"Húzza ide a képet","Drop file":"Húzza ide a fájlt","or click":"vagy kattintson","Alternative text":"Helyettesítő szöveg",Browse:"Tallóz",Upload:"Feltölt",Background:"Háttér",Text:"Szöveg",Top:"Fent",Middle:"Középen",Bottom:"Lent","Insert column before":"Oszlop beszúrás elé","Insert column after":"Oszlop beszúrás utána","Insert row above":"Sor beszúrás fölé","Insert row below":"Sor beszúrás alá","Delete table":"Táblázat törlése","Delete row":"Sor törlése","Delete column":"Oszlop törlése","Empty cell":"Cella tartalmának törlése",Delete:"Törlés","Strike through":"Áthúzott",Underline:"Aláhúzott",Break:"Szünet","Search for":"Keresés","Replace with":"Csere erre",Replace:"Cserélje ki",Edit:"Szerkeszt","Vertical align":"Függőleges igazítás","Horizontal align":"Vízszintes igazítás",Filter:"Szűrő","Sort by changed":"Rendezés módosítás szerint","Sort by name":"Rendezés név szerint","Sort by size":"Rendezés méret szerint","Add folder":"Mappa hozzáadás","Split vertical":"Függőleges felosztás","Split horizontal":"Vízszintes felosztás",Merge:"Összevonás","Add column":"Oszlop hozzáadás","Add row":"Sor hozzáadás",Border:"Szegély","Embed code":"Beágyazott kód",Update:"Frissít",superscript:"Felső index",subscript:"Alsó index","Cut selection":"Kivágás",Paste:"Beillesztés","Choose Content to Paste":"Válasszon tartalmat a beillesztéshez",Split:"Felosztás","Chars: %d":"Karakterek száma: %d","Words: %d":"Szavak száma: %d",All:"Összes","Select %s":"Kijelöl: %s","Select all":"Összes kijelölése",source:"HTML",bold:"Félkövér",italic:"Dőlt",brush:"Ecset",link:"Link",undo:"Visszavon",redo:"Újra",table:"Táblázat",image:"Kép",eraser:"Törlés",paragraph:"Paragráfus",fontsize:"Betűméret",video:"Videó",font:"Betű",about:"Rólunk",print:"Nyomtat",underline:"Aláhúzott",strikethrough:"Áthúzott",indent:"Behúzás",outdent:"Aussenseiter",fullsize:"Teljes méret",shrink:"Összenyom",hr:"Egyenes vonal",ul:"Lista",ol:"Számozott lista",cut:"Kivág",selectall:"Összes kijelölése","Open link":"Link megnyitása","Edit link":"Link szerkesztése","No follow":"Nincs követés",Unlink:"Link leválasztása",Eye:"felülvizsgálat",pencil:"Szerkesztés"," URL":"URL",Reset:"Visszaállít",Save:"Mentés","Save as ...":"Mentés másként...",Resize:"Átméretezés",Crop:"Kivág",Width:"Szélesség",Height:"Magasság","Keep Aspect Ratio":"Képarány megtartása",Yes:"Igen",No:"Nem",Remove:"Eltávolít",Select:"Kijelöl","You can only edit your own images. Download this image on the host?":"Csak a saját képeit tudja szerkeszteni. Letölti ezt a képet?","The image has been successfully uploaded to the host!":"Kép sikeresen feltöltve!",palette:"Palette","There are no files":"Er zijn geen bestanden in deze map.",Rename:"átnevezés","Enter new name":"Adja meg az új nevet",preview:"előnézet",download:"Letöltés","Paste from clipboard":"Illessze be a vágólap","Your browser doesn't support direct access to the clipboard.":"A böngésző nem támogatja a közvetlen hozzáférést biztosít a vágólapra.","Copy selection":"Másolás kiválasztása",copy:"másolás","Border radius":"Határ sugár","Show all":"Összes",Apply:"Alkalmazni","Please fill out this field":"Kérjük, töltse ki ezt a mezőt,","Please enter a web address":"Kérjük, írja be a webcímet",Default:"Alapértelmezett",Circle:"Kör",Dot:"Pont",Quadrate:"Quadrate",Find:"Találni","Find Previous":"Megtalálja Előző","Find Next":"Következő Keresése","Insert className":"Helyezze be az osztály nevét","Press Alt for custom resizing":"Nyomja meg az Alt egyéni átméretezés","License: %s":"Licenc: %s"}},67215(e,t,r){r(6441).T.prototype.select={normalizeSelectionBeforeCutAndCopy:!1,normalizeTripleClick:!0}},67290(e,t,r){r.d(t,{CP(){return n.C},Ue(){return i.U},bk(){return s.b},z4(){return o.z}});var i=r(62405),o=r(24536),n=r(92113),s=r(34244)},67462(e,t,r){function i(e,t={}){if("object"!=typeof e)return e+"";const r=new Set(t.excludeKeys),i=new WeakMap;return JSON.stringify(e,(e,t)=>{if(!r.has(e)){if("object"==typeof t&&null!=t){if(i.get(t))return"[refObject]";i.set(t,!0)}return t}},t.prettify)}r.d(t,{A(){return i}})},67477(e,t,r){r.d(t,{H(){return o}});var i=r(82758);function o(e,t,r=0,o=1){let n=0,s=0,a=-1,l=0,c=0;for(s=r;e.length>n&&t.length>s;)e[n].toLowerCase()===t[s].toLowerCase()?(n++,l++,c=0,-1===a&&(a=s)):n>0&&(o>c||t[s]===i.INVISIBLE_SPACE?(c++,l++):(n=0,a=-1,l=0,c=0,s--)),s++;return n===e.length?[a,l]:[-1,0]}},67510(e,t,r){r.d(t,{$6(){return n.$6},$n(){return i.$n},CP(){return s.CP},D$(){return o.D},F0(){return n.F0},In(){return a.I},SB(){return i.SB},Ue(){return s.Ue},XV(){return n.XV},Yh(){return n.Yh},bk(){return s.bk},cY(){return n.cY},lD(){return i.lD},nE(){return n.nE},ss(){return i.ss},tS(){return n.tS},ue(){return i.ue},z2(){return c.z},z4(){return s.z4},zD(){return l.z}});var i=r(62843),o=r(48538),n=r(2525),s=r(67290),a=r(12153),l=r(61259),c=r(23769)},68034(e,t,r){r.d(t,{B(){return n}});var i=r(2748),o=r(43555);function n(e,t,r){var n;const s=i.J.closest(t,i.J.isElement,e.editor),{s:a}=e;if(i.J.isLeaf(s)&&(null===(n=null==s?void 0:s.parentElement)||void 0===n?void 0:n[r?"firstElementChild":"lastElementChild"])===s&&a.cursorInTheEdge(r,s)){const n=s.parentElement,l=e.createInside.element(e.o.enterBlock);return(0,o.T1)(r?i.J.before:i.J.after,n,l),i.J.moveContent(s,l),i.J.safeRemove(s),i.J.isEmpty(n)&&i.J.safeRemove(n),(0,o.T1)(r?a.setCursorBefore:a.setCursorAfter,t),!0}return!1}},68252(e,t,r){var i=r(6441);i.T.prototype.allowResizeX=!1,i.T.prototype.allowResizeY=!0},68345(e,t,r){function i(e){return Array.isArray(e)}r.d(t,{c(){return i}})},68389(e,t,r){r.d(t,{C(){return n}});var i=r(87325),o=r(67510);let n=class e extends o.D${className(){return"UIMessage"}constructor(e,t){super(e),this.setMod("active",!0),this.setMod("variant",t.variant),this.container.textContent=t.text}};n=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([i.s],n)},68687(e,t,r){var i=r(82758),o=r(65478),n=r(2748),s=r(580),a=r(21537),l=r(20356),c=(r(48038),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});const d=!i.IS_ES_NEXT&&i.IS_IE;class u extends l.k{afterInit(e){e.e.on(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.__onScroll).on("getStickyState.sticky",()=>this.__isToolbarStuck)}__onScroll(){const{jodit:e}=this;if(!e.o.toolbarSticky||!e.o.toolbar)return;const t=e.ow.pageYOffset||e.od.documentElement&&e.od.documentElement.scrollTop||0,r=(0,a.offset)(e.container,e,e.od,!0),o=e.getMode()===i.MODE_WYSIWYG&&t+e.o.toolbarStickyOffset>r.top&&r.top+r.height>t+e.o.toolbarStickyOffset&&!(e.o.toolbarDisableStickyForMobile&&this.__isMobile());if(this.__isToolbarStuck===o)return;const n=e.toolbarContainer;n&&(o?this.addSticky(n):this.removeSticky(n)),e.e.fire("toggleSticky",o)}__isMobile(){const{j:e}=this;return e&&e.options&&e.container&&e.options.sizeSM>=e.container.offsetWidth}beforeDestruct(e){n.J.safeRemove(this.__dummyBox),e.e.off(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.__onScroll).off(".sticky")}constructor(){super(...arguments),this.__isToolbarStuck=!1,this.__createDummy=e=>{this.__dummyBox=this.j.c.div(),this.__dummyBox.classList.add("jodit_sticky-dummy_toolbar"),this.j.container.insertBefore(this.__dummyBox,e)},this.addSticky=e=>{this.__isToolbarStuck||(d&&!this.__dummyBox&&this.__createDummy(e),this.j.container.classList.add("jodit_sticky"),this.__isToolbarStuck=!0),(0,a.css)(e,{top:this.j.o.toolbarStickyOffset||null,width:this.j.container.offsetWidth-2}),this.__dummyBox&&(0,a.css)(this.__dummyBox,{height:e.offsetHeight})},this.removeSticky=e=>{this.__isToolbarStuck&&((0,a.css)(e,{width:"",top:""}),this.j.container.classList.remove("jodit_sticky"),this.__isToolbarStuck=!1)}}}c([(0,o.throttle)()],u.prototype,"__onScroll",null),s.fg.add("sticky",u)},68846(e,t,r){r.d(t,{F(){return o}});var i=r(46788);const o=(e,{jodit:t})=>{if(!t.o.pasteFromWord.convertUnitsToPixel)return e;const{style:r}=e;return r.forEach(e=>{const t=r.get(e);t&&r.set(e,(""+t).replace(/\d+(\.\d+)?(pt|cm)/g,e=>(0,i.Bj)(e)+"px"))}),e}},68934(e,t,r){r.d(t,{VL(){return u},pi(){return h},tb(){return d}});var i=r(68345),o=r(72430),n=r(70799),s=r(86068),a=r(6441),l=r(97735),c=r(37790);function d(e,t,r=0){if(Object.getPrototypeOf(e)!==Object.prototype)return e;const c=a.T.defaultOptions;if((0,n.K)(e.preset)){if(void 0!==c.presets[e.preset]){const t=c.presets[e.preset];Object.keys(t).forEach(r=>{(0,s.R)(e[r])&&(e[r]=t[r])})}delete e.preset}const u={};return Object.keys(e).forEach(n=>{const s=e[n],a=t?t[n]:null;u[n]=(0,o.Q)(s)&&(0,o.Q)(a)&&!(0,l.mA)(s)?d(s,a,r+1):0!==r&&(0,i.c)(s)&&!(0,l.mA)(s)&&(0,i.c)(a)?[...s,...a.slice(s.length)]:s}),Object.setPrototypeOf(u,t),u}function u(e){return(0,c.HP)(e,!1).reduce((t,r)=>(t[r]=e[r],t),{})}function h(e){return(0,c.HP)(e,!1).reduce((t,r)=>(t[r]=(0,o.Q)(e[r])?h(e[r]):e[r],t),{})}},69159(e,t){t.A={"Type something":"輸入一些內容",Advanced:"進階","About Jodit":"關於Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"開發者指南","contains detailed help for using":"使用幫助","For information about the license, please go to our website:":"相關授權條款資訊,請造訪我們的網站:","Buy full version":"購買完整版本","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.",Anchor:"錨點","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:"樣式",Classes:"Classes",Align:"對齊方式",Right:"靠右",Center:"置中",Left:"靠左","--Not Set--":"無",Src:"Src",Title:"Title",Alternative:"替代",Link:"Link","Open link in new tab":"在新分頁開啟連結",Image:"圖片",file:"檔案","Image properties":"圖片屬性",Cancel:"取消",Ok:"確定","Your code is similar to HTML. Keep as HTML?":"您的程式碼與 HTML 類似,是否貼上 HTML 格式?","Paste as HTML":"貼上 HTML",Keep:"保留原始格式",Clean:"清除格式","Insert as Text":"以純文字貼上","Word Paste Detected":"貼上 Word 格式","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"正在貼上 Word/Excel 文件的內容,是否保留原始格式?","Insert only Text":"僅貼上內文","File Browser":"檔案瀏覽","Error on load list":"清單載入錯誤","Error on load folders":"資料夾載入錯誤","Are you sure?":"您確定嗎?","Enter Directory name":"輸入路徑","Create directory":"創建路徑","type name":"type name","Drop image":"拖曳圖片至此","Drop file":"拖曳檔案至此","or click":"或點擊","Alternative text":"替代文字",Browse:"瀏覽",Upload:"上傳",Background:"背景色",Text:"文字",Top:"頂部",Middle:"中間",Bottom:"底部","Insert column before":"插入左方欄","Insert column after":"插入右方欄","Insert row above":"插入上方列","Insert row below":"插入下方列","Delete table":"刪除表格","Delete row":"刪除整列","Delete column":"刪除整欄","Empty cell":"清除內容","Chars: %d":"字元數: %d","Words: %d":"單字數: %d","Strike through":"刪除線",Underline:"底線",superscript:"上標",subscript:"下標","Cut selection":"剪下","Select all":"全選",Break:"斷行","Search for":"尋找","Replace with":"取代為",Replace:"取代",Paste:"貼上","Choose Content to Paste":"選擇內容並貼上",All:"全部",source:"原始碼",bold:"粗體",italic:"斜體",brush:"顏色",link:"連結",undo:"復原",redo:"取消復原",table:"表格",image:"圖片",eraser:"橡皮擦",paragraph:"段落",fontsize:"文字大小",video:"影片",font:"字型",about:"關於",print:"列印",underline:"底線",strikethrough:"刪除線",indent:"增加縮排",outdent:"減少縮排",fullsize:"全螢幕",shrink:"縮減",hr:"分隔線",ul:"項目符號清單",ol:"編號清單",cut:"剪下",selectall:"全選","Open link":"打開連結","Edit link":"編輯連結","No follow":"No follow",Unlink:"取消連結",Eye:"查看"," URL":"URL",Reset:"重設",Save:"儲存","Save as ...":"另存為...",Resize:"調整大小",Crop:"裁切",Width:"寬",Height:"高","Keep Aspect Ratio":"維持長寬比",Yes:"是",No:"否",Remove:"移除",Select:"選擇","Select %s":"選擇: %s",Update:"更新","Vertical align":"垂直對齊",Merge:"合併","Add column":"新增欄","Add row":"新增列",Border:"邊框","Embed code":"嵌入程式碼",Delete:"刪除","Horizontal align":"水平對齊",Filter:"篩選","Sort by changed":"修改時間排序","Sort by name":"名稱排序","Sort by size":"大小排序","Add folder":"新增資料夾",Split:"分割","Split vertical":"垂直分割","Split horizontal":"水平分割","You can only edit your own images. Download this image on the host?":"您只能編輯您自己的圖片。是否下載此圖片?","The image has been successfully uploaded to the host!":"圖片上傳成功",palette:"調色盤",pencil:"鉛筆","There are no files":"沒有檔案",Rename:"重新命名","Enter new name":"輸入新名稱",preview:"預覽",download:"下載","Paste from clipboard":"從剪貼簿貼上","Your browser doesn't support direct access to the clipboard.":"瀏覽器無法存取剪貼簿。","Copy selection":"複製已選取項目",copy:"複製","Border radius":"邊框圓角","Show all":"顯示全部",Apply:"應用","Please fill out this field":"請輸入此欄位","Please enter a web address":"請輸入網址",Default:"預設",Circle:"圓圈",Dot:"點",Quadrate:"方形",Find:"尋找","Find Previous":"尋找上一個","Find Next":"尋找下一個","Insert className":"插入 class 名稱","Press Alt for custom resizing":"按住 Alt 以調整自訂大小",Edit:"編輯","License: %s":"許可證: %s"}},70022(e,t,r){r.d(t,{b(){return n}});var i=r(21537),o=r(52968);function n(e,t,r,n,s){let a;if((0,i.isFunction)(e))a=e(t);else switch(e){case"ace":if(!t.o.shadowRoot){a=new o.p(t,r,n,s);break}default:a=new o.S(t,r,n,s)}return a.init(t),a.onReadyAlways(()=>{a.setReadOnly(t.o.readonly)}),a}},70045(e,t,r){var i=r(82758),o=r(22732),n=r(580),s=r(43555),a=(r(54389),r(302));const l=(e,t,r,i)=>{if(!t)return;if(e.has(t))return;const o=(0,a.i)(r.o.direction,t);e.add(t);let n=t.style[o]?parseInt(t.style[o],10):0;n+=r.o.indentMargin*("outdent"===i?-1:1),t.style[o]=n>0?n+"px":"",(0,s.CF)(t,"style")||(0,s.CF)(t,"style",null)};n.fg.add("indent",e=>{e.registerButton({name:"indent",group:"indent"}).registerButton({name:"outdent",group:"indent"});const t=t=>{const r=new Set,{enter:n,enterBlock:a}=e.o,c=n.toLowerCase()===i.BR,d=e.s.current();if(c&&e.s.isCollapsed()&&d){const i=o.J.wrapNextInline(d,a,e);return l(r,i,e,t),!1}return e.s.eachSelection(i=>{e.s.save();let d=!!i&&o.J.up(i,o.J.isBlock,e.editor);if(!d&&i&&(d=(0,s.T1)(c?o.J.wrapNextInline:o.J.wrapInline,i,c?a:n.toLowerCase(),e)),!d)return e.s.restore(),!1;l(r,d,e,t),e.s.restore()}),e.synchronizeValues(),!1};e.registerCommand("indent",{exec:t,hotkeys:["ctrl+]","cmd+]"]}),e.registerCommand("outdent",{exec:t,hotkeys:["ctrl+[","cmd+["]})})},70071(e,t,r){r.d(t,{p(){return s}});var i=r(65478),o=r(2748),n=r(72757);class s extends n.h{setWork(e){return this.isWorked&&this.break(),this.workNodes=o.J.eachGen(e,!this.options.reverse),this.isFinished=!1,this._requestStarting(),this}_requestStarting(){this.__schedulerController=new AbortController,this.async.schedulerPostTask(this.__workPerform,{delay:this.options.timeout,signal:this.__schedulerController.signal}).catch(()=>null)}break(e){this.isWorked&&(this.stop(),this.emit("break",e))}end(){this.isWorked&&(this.stop(),this.emit("end",this.hadAffect),this.hadAffect=!1)}stop(){this.isWorked=!1,this.isFinished=!0,this.workNodes=null,this.async.cancelIdleCallback(this.idleId)}destruct(){super.destruct(),this.stop()}__workPerform(){var e;if(this.workNodes){this.isWorked=!0;let t=0;const r=null!==(e=this.options.timeoutChunkSize)&&void 0!==e?e:50;for(;!this.isFinished&&r>=t;){const e=this.workNodes.next();if(t+=1,this.visitNode(e.value)&&(this.hadAffect=!0),e.done)return void this.end()}}else this.end();this.isFinished||this._requestStarting()}visitNode(e){var t;return!(!e||void 0!==this.options.whatToShow&&e.nodeType!==this.options.whatToShow)&&null!==(t=this.emit("visit",e))&&void 0!==t&&t}constructor(e,t={}){super(),this.async=e,this.options=t,this.workNodes=null,this.hadAffect=!1,this.isWorked=!1,this.isFinished=!1,this.idleId=0,this.__schedulerController=null}}!function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);n>3&&s&&Object.defineProperty(t,r,s)}([i.autobind],s.prototype,"__workPerform",null)},70091(e,t,r){r.d(t,{V(){return i}});const i=e=>e.split("/").reduce((e,t)=>{switch(t){case"":case".":break;case"..":e.pop();break;default:e.push(t)}return e},[]).join("/")+(e.endsWith("/")?"/":"")},70231(e,t,r){r.d(t,{z(){return a}});var i=r(580),o=r(27613),n=r(37790),s=r(638);class a{dlg(e){const t=(0,i.ef)(this.o,this.container,this.od.body),r=new s.lG({language:this.o.language,shadowRoot:this.o.shadowRoot,popupRoot:t,ownerWindow:this.o.ownerWindow,defaultTimeout:this.o.defaultTimeout,direction:this.o.direction,theme:this.o.theme,globalFullSize:this.o.globalFullSize,...e});return(0,n.b_)(this,r.container),r.parent=this,r.bindDestruct(this)}confirm(e,t,r){return e=l(e,this),t=l(t,this),s.pT.call(this.dlg({closeOnClickOverlay:!0}),e,t,r)}prompt(e,t,r,i,o){return e=l(e,this),t=l(t,this),i=l(i,this),s.XG.call(this.dlg({closeOnClickOverlay:!0}),e,t,r,i,o)}alert(e,t,r,i){return e=l(e,this),t=l(t,this),s.Fc.call(this.dlg({closeOnClickOverlay:!0}),e,t,r,i)}}function l(e,t){return(0,o.Kg)(e)&&!(0,o.AH)(e)&&(e=t.i18n(e)),e}},70722(e,t,r){function i(e){return!!e&&"function"===(typeof e).toLowerCase()&&(e===Function.prototype||/^\s*function\s*(\b[a-z$_][a-z0-9$_]*\b)*\s*\((|([a-z$_][a-z0-9$_]*)(\s*,[a-z$_][a-z0-9$_]*)*)\)\s*{\s*\[native code]\s*}\s*$/i.test(e+""))}r.d(t,{a(){return i}})},70799(e,t,r){r.d(t,{B(){return n},K(){return o}});var i=r(68345);function o(e){return"string"==typeof e}function n(e){return(0,i.c)(e)&&o(e[0])}},71255(e,t,r){var i=r(2748),o=r(580),n=r(37790),s=r(50911),a=r(12153),l=r(6441),c=r(31151);l.T.prototype.controls.classSpan={command:"applyClassName",exec:n.qN,list:["enabled","disabled","activated","text-left","text-center","text-right","warning","error"],isChildActive(e,t){const r=e.s.current();if(r){const o=i.J.closest(r,i.J.isElement,e.editor)||e.editor;return!(!t.control.args||!o.classList.contains(""+t.control.args[0]))}return!1},isActive(e,t){const r=e.s.current();if(r){const o=i.J.closest(r,i.J.isElement,e.editor)||e.editor;let n=!1;return t.control.list&&Object.keys(t.control.list).forEach(e=>{o.classList.contains(e)&&(n=!0)}),!(!o||o===e.editor||void 0===t.control.list||!n)}return!1},childTemplate(e,t,r){return`<span class="${t}">${e.i18n(r)}</span>`},tooltip:"Insert className"},o.fg.add("classSpan",class d extends s.k{afterInit(e){e.registerCommand("applyClassName",(t,r,i)=>(e.s.commitStyle({attributes:{class:i}}),!1))}beforeDestruct(){}constructor(){super(...arguments),this.buttons=[{name:"classSpan",group:"script"}]}}),a.I.set("class-span",c.A)},71262(e,t,r){r.d(t,{Q(){return a}});var i=r(68345),o=r(43555),n=r(6441),s=r(72157);function a(e,t){return((0,i.c)(e)?e:(0,o.HP)(e,!1).map(t=>(0,o.tb)({name:t},e[t]||{}))).map(e=>(0,s.U)(e,t||n.T.defaultOptions.controls))}},71521(e,t,r){r.d(t,{$2(){return i.$},Fd(){return a.F},Vd(){return l.V},b$(){return o.b$},f(){return s.f},iy(){return o.iy},jB(){return n.j},l2(){return d.l},n8(){return o.n8},rn(){return c.r}});var i=r(21224),o=r(3760),n=r(49033),s=r(12972),a=r(9992),l=r(70091),c=r(46334),d=r(37406)},71568(e,t,r){r.d(t,{F(){return l}});var i=r(2748),o=r(29999),n=r(23282),s=r(10830),a=r(78584);function l(e,t,r,l="jodit-dialog_alert"){(0,n.T)(t)&&(r=t,t=void 0);const c=this instanceof a.l?this:new a.l({closeOnClickOverlay:!0}),d=c.c.div(l),u=(0,s.$n)(c,"ok","Ok");return(0,o._)(e).forEach(e=>{d.appendChild(i.J.isNode(e)?e:c.c.fromHTML(e))}),u.onAction(()=>{r&&(0,n.T)(r)&&!1===r(c)||c.close()}),c.setFooter([u]),c.open(d,t||"&nbsp;",!0,!0),u.focus(),c}},71675(e,t,r){var i=r(6441);i.T.prototype.allowResizeTags=new Set(["img","iframe","table","jodit"]),i.T.prototype.resizer={showSize:!0,hideSizeTimeout:1e3,forImageChangeAttributes:!0,min_width:10,min_height:10,useAspectRatio:new Set(["img"])}},71686(e,t,r){r.d(t,{$(){return s},t(){return a}});var i=r(21537),o=r(41601),n=r(83987);const s=new WeakMap;function a(e,t){const r=(0,n.$)(e,t),a=t=>{const r=new o.d({xhr(){const t=new XMLHttpRequest;return void 0!==e.j.ow.FormData&&t.upload?(e.j.progressbar.show().progress(10),t.upload.addEventListener("progress",t=>{if(t.lengthComputable){let r=t.loaded/t.total;r*=100,e.j.progressbar.show().progress(r),100>r||e.j.progressbar.hide()}},!1)):e.j.progressbar.hide(),t},method:e.o.method||"POST",data:t,url:(0,i.isFunction)(e.o.url)?e.o.url(t):e.o.url,headers:e.o.headers,queryBuild:e.o.queryBuild,contentType:e.o.contentType.call(e,t),withCredentials:e.o.withCredentials||!1});let n=s.get(e);return n||(n=new Set,s.set(e,n)),n.add(r),e.j.e.one("beforeDestruct",r.destruct),r.send().then(e=>e.json()).catch(e=>({success:!1,data:{messages:[e]}})).finally(()=>{r.destruct(),null==n||n.delete(r)})};return(0,i.isPromise)(r)?r.then(a).catch(t=>{e.o.error.call(e,t)}):a(r)}},71842(e,t,r){var i=r(82758),o=r(6441);o.T.prototype.askBeforePasteFromWord=!0,o.T.prototype.processPasteFromWord=!0,o.T.prototype.defaultActionOnPasteFromWord=null,o.T.prototype.pasteFromWordActionList=[{value:i.INSERT_AS_HTML,text:"Keep"},{value:i.INSERT_AS_TEXT,text:"Clean"},{value:i.INSERT_ONLY_TEXT,text:"Insert only Text"}]},71916(e,t,r){r.d(t,{s(){return a}});var i=r(87325),o=r(38837),n=r(10830),s=r(62405);let a=class e extends s.U{className(){return"UIButtonGroup"}render(e){return`<div>\n\t\t\t<div class="&__label">~${e.label}~</div>\n\t\t\t<div class="&__options"></div>\n\t\t</div>`}appendChildToContainer(e){const t=this.getElm("options");(0,o.v)(null!=t,"Options does not exist"),t.appendChild(e)}select(e){var t,r;this.elements.forEach((t,r)=>{r===e||t.state.value===e?t.state.activated=!0:this.options.radio&&(t.state.activated=!1)});const i=this.elements.filter(e=>e.state.activated).map(e=>({text:e.state.text,value:e.state.value}));this.jodit.e.fire(this,"select",i),null===(r=(t=this.options).onChange)||void 0===r||r.call(t,i)}constructor(e,t={radio:!0}){var r,i;super(e,null===(r=t.options)||void 0===r?void 0:r.map(t=>{const r=new n.lD(e,{text:t.text,value:t.value,variant:"primary"});return r.onAction(()=>{this.select(t.value)}),r}),t),this.options=t,this.select(null!==(i=t.value)&&void 0!==i?i:0)}};a=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([i.s],a)},72144(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <g transform="translate(-251.000000, -443.000000)"> <g transform="translate(215.000000, 119.000000)"/> <path d="M252,448 L256,448 L256,444 L252,444 L252,448 Z M257,448 L269,448 L269,446 L257,446 L257,448 Z M257,464 L269,464 L269,462 L257,462 L257,464 Z M270,444 L270,448 L274,448 L274,444 L270,444 Z M252,462 L252,466 L256,466 L256,462 L252,462 Z M270,462 L270,466 L274,466 L274,462 L270,462 Z M254,461 L256,461 L256,449 L254,449 L254,461 Z M270,461 L272,461 L272,449 L270,449 L270,461 Z"/> </g> </svg> '},72157(e,t,r){r.d(t,{U(){return n},x(){return s}});var i=r(21537),o=r(6441);function n(e,t){let r;return t||(t=o.T.defaultOptions.controls),(0,i.isString)(e)?r=s(e,t)||{name:e,command:e,tooltip:e}:(r={name:"empty",...(0,i.ConfigFlatten)(e)},void 0!==t[r.name]&&(r={...(0,i.ConfigFlatten)(t[r.name]),...(0,i.ConfigFlatten)(r)})),r}function s(e,t){let[r,o]=e.split(/\./),n=t;return null!=o?void 0!==t[r]&&(n=t[r]):o=r,n[o]?{name:o,...(0,i.ConfigFlatten)(n[o])}:void 0}},72253(e,t,r){var i=r(65478),o=r(22732),n=r(580),s=r(70799),a=r(50911),l=(r(96967),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});class c extends a.k{afterInit(e){"br"!==e.o.enter.toLowerCase()&&e.e.on("drop.wtn focus.wtn keydown.wtn mousedown.wtn afterInit.wtn backSpaceAfterDelete.wtn",this.preprocessInput,{top:!0}).on("afterInit.wtn postProcessSetEditorValue.wtn afterCommitStyle.wtn backSpaceAfterDelete.wtn",this.postProcessSetEditorValue)}beforeDestruct(e){e.e.off(".wtn")}postProcessSetEditorValue(){const{jodit:e}=this;if(!e.isEditorMode())return;let t=e.editor.firstChild,r=!1;for(;t;){if(t=d(t,e),this.isSuitableStart(t)){r||e.s.save(),r=!0;const i=e.createInside.element(e.o.enter);for(o.J.before(t,i);t&&this.isSuitable(t);){const e=t.nextSibling;i.appendChild(t),t=e}i.normalize(),t=i}t=t&&t.nextSibling}r&&(e.s.restore(),"afterInit"===e.e.current&&e.e.fire("internalChange"))}preprocessInput(){const{jodit:e}=this,t="afterInit"===e.e.current;if(!e.isEditorMode()||e.editor.firstChild||!e.o.wrapNodes.emptyBlockAfterInit&&t)return;const r=e.createInside.element(e.o.enter),i=e.createInside.element("br");o.J.append(r,i),o.J.append(e.editor,r),e.s.isFocused()&&e.s.setCursorBefore(i),e.e.fire("internalChange")}constructor(){super(...arguments),this.isSuitableStart=e=>{var t;return o.J.isText(e)&&(0,s.K)(e.nodeValue)&&(/[^\s]/.test(e.nodeValue)||(null===(t=e.parentNode)||void 0===t?void 0:t.firstChild)===e&&this.isSuitable(e.nextSibling))||this.isNotWrapped(e)&&!o.J.isTemporary(e)},this.isSuitable=e=>o.J.isText(e)||this.isNotWrapped(e),this.isNotWrapped=e=>o.J.isElement(e)&&!(o.J.isBlock(e)||o.J.isTag(e,this.j.o.wrapNodes.exclude))}}function d(e,t){let r=e,i=e;do{if(!o.J.isElement(i)||!o.J.isLeaf(i)||o.J.isList(i.parentElement))break;{const e=o.J.findNotEmptySibling(i,!1);o.J.isTag(r,"ul")?r.appendChild(i):r=o.J.wrap(i,"ul",t.createInside),i=e}}while(i);return r}l([i.autobind],c.prototype,"postProcessSetEditorValue",null),l([i.autobind],c.prototype,"preprocessInput",null),n.fg.add("wrapNodes",c)},72337(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1600 736v192q0 40-28 68t-68 28h-1216q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h1216q40 0 68 28t28 68z"/> </svg> '},72430(e,t,r){r.d(t,{Q(){return o}});var i=r(52742);function o(e){return!(!e||"object"!=typeof e||e.nodeType||(0,i.l)(e)||e.constructor&&!{}.hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))}},72439(e,t,r){var i=r(82758),o=r(2748),n=r(580),s=r(21537),a=r(76014);const l=new Set([i.KEY_TAB,i.KEY_LEFT,i.KEY_RIGHT,i.KEY_UP,i.KEY_DOWN]);n.fg.add("tableKeyboardNavigation",e=>{e.e.off(".tableKeyboardNavigation").on("keydown.tableKeyboardNavigation",t=>{const{key:r}=t,n=((e,t)=>{if(!l.has(t))return;const r=e.s.current();if(!r)return;const n=o.J.up(r,o.J.isCell,e.editor);if(!n)return;const{range:a}=e.s;if(t!==i.KEY_TAB&&r!==n){const e=t===i.KEY_RIGHT||t===i.KEY_DOWN,l=(0,s.call)(e?o.J.next:o.J.prev,r,e=>t===i.KEY_UP||t===i.KEY_DOWN?o.J.isTag(e,"br"):!!e,n);if(!e&&(l||t!==i.KEY_UP&&o.J.isText(r)&&0!==a.startOffset)||e&&(l||t!==i.KEY_DOWN&&o.J.isText(r)&&r.nodeValue&&a.startOffset!==r.nodeValue.length))return}return n})(e,r);if(!n)return;const c=e.getInstance(a.X,e.o),d=o.J.closest(n,"table",e.editor);let u=null;const h=r===i.KEY_LEFT||t.shiftKey,p=()=>(0,s.call)(h?o.J.prev:o.J.next,n,o.J.isCell,d);switch(r){case i.KEY_TAB:case i.KEY_LEFT:u=p(),u||(c.appendRow(d,!!h&&d.querySelector("tr"),!h),u=p());break;case i.KEY_UP:case i.KEY_DOWN:{const e=c.formalMatrix(d),[t,o]=c.formalCoordinate(d,n);r===i.KEY_UP?void 0!==e[t-1]&&(u=e[t-1][o]):void 0!==e[t+1]&&(u=e[t+1][o])}}if(u){if(e.e.fire("hidePopup hideResizer"),u.firstChild)r===i.KEY_TAB?e.s.select(u,!0):e.s.setCursorIn(u,r===i.KEY_RIGHT||r===i.KEY_DOWN);else{const t=e.createInside.element("br");u.appendChild(t),e.s.setCursorBefore(t)}return e.synchronizeValues(),!1}})})},72757(e,t,r){r.d(t,{h(){return i}});class i{on(e,t){var r;return this.__map.has(e)||this.__map.set(e,new Set),null===(r=this.__map.get(e))||void 0===r||r.add(t),this}off(e,t){var r;return this.__map.has(e)&&(null===(r=this.__map.get(e))||void 0===r||r.delete(t)),this}destruct(){this.__map.clear()}emit(e,...t){var r;let i;return this.__map.has(e)&&(null===(r=this.__map.get(e))||void 0===r||r.forEach(e=>{i=e(...t)})),i}constructor(){this.__map=new Map}}},72913(e,t,r){r.d(t,{E(){return n}});var i=r(29807),o=r(70799);function n(e){return(0,o.K)(e)&&(0,i.k)(e)&&(e=parseFloat(e)),"number"==typeof e&&Number.isFinite(e)&&!(e%1)}},73026(e,t,r){r.d(t,{s(){return c}});var i=r(37133),o=r(68345),n=r(59292),s=r(72430);const a=Symbol("observable-object");function l(e){return void 0!==e[a]}function c(e){if(l(e))return e;const t={},r={},c=(t,i)=>(0,o.c)(t)?(t.map(e=>c(e,i)),e):(r[t]||(r[t]=[]),r[t].push(i),e),d=(i,...n)=>{if((0,o.c)(i))i.map(e=>d(e,...n));else try{!t[i]&&r[i]&&(t[i]=!0,r[i].forEach(t=>t.call(e,...n)))}finally{t[i]=!1}},u=(t,r=[])=>{const o={};l(t)||(Object.defineProperty(t,a,{enumerable:!1,value:!0}),Object.keys(t).forEach(a=>{const l=a,c=r.concat(l).filter(e=>e.length);o[l]=t[l];const h=(0,i.N)(t,l);Object.defineProperty(t,l,{set(t){const r=o[l];if(!(0,n.P)(o[l],t)){d(["beforeChange","beforeChange."+c.join(".")],l,t),(0,s.Q)(t)&&u(t,c),h&&h.set?h.set.call(e,t):o[l]=t;const i=[];d(["change",...c.reduce((e,t)=>(i.push(t),e.push("change."+i.join(".")),e),[])],c.join("."),r,(null==t?void 0:t.valueOf)?t.valueOf():t)}},get(){return h&&h.get?h.get.call(e):o[l]},enumerable:!0,configurable:!0}),(0,s.Q)(o[l])&&u(o[l],c)}),Object.defineProperty(e,"on",{value:c}))};return u(e),e}},73391(e,t,r){var i=r(82758),o=r(580),n=r(21537),s=r(12153),a=r(6441),l=r(49399);a.T.prototype.controls.about={exec(e){const t=e.dlg({closeOnClickOverlay:!0}),r=e.i18n.bind(e);t.setMod("theme",e.o.theme).setHeader(r("About Jodit")).setContent(`<div class="jodit-about">\n\t\t\t\t\t<div>${r("Jodit Editor")} v.${e.getVersion()}</div>\n\t\t\t\t\t<div>${r("License: %s",(0,n.isLicense)(e.o.license)?(0,n.normalizeLicense)(e.o.license):"MIT")}</div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<a href="${i.HOMEPAGE}" target="_blank">${i.HOMEPAGE}</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<a href="https://xdsoft.net/jodit/docs/" target="_blank">${r("Jodit User's Guide")}</a>\n\t\t\t\t\t\t${r("contains detailed help for using")}\n\t\t\t\t\t</div>\n\t\t\t\t\t<div>${r("Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.")}</div>\n\t\t\t\t</div>`),(0,n.css)(t.dialog,{minHeight:200,minWidth:420}),t.open(!0,!0)},tooltip:"About Jodit",mode:i.MODE_SOURCE+i.MODE_WYSIWYG},o.fg.add("about",e=>{e.registerButton({name:"about",group:"info"})}),s.I.set("about",l.A)},73674(e,t,r){var i=r(6441);i.T.prototype.controls.subscript={tags:["sub"],tooltip:"subscript"},i.T.prototype.controls.superscript={tags:["sup"],tooltip:"superscript"},i.T.prototype.controls.bold={tagRegExp:/^(strong|b)$/i,tags:["strong","b"],css:{"font-weight":["bold","700"]},tooltip:"Bold"},i.T.prototype.controls.italic={tagRegExp:/^(em|i)$/i,tags:["em","i"],css:{"font-style":"italic"},tooltip:"Italic"},i.T.prototype.controls.underline={tagRegExp:/^(u)$/i,tags:["u"],css:{"text-decoration-line":"underline"},tooltip:"Underline"},i.T.prototype.controls.strikethrough={tagRegExp:/^(s)$/i,tags:["s"],css:{"text-decoration-line":"line-through"},tooltip:"Strike through"}},73792(e,t,r){r.d(t,{H(){return a}});var i=r(82758),o=r(22732),n=r(21537),s=r(63785);function a(e,t,r,s){var a,u;const h=r?-1:1,p=o.J.sibling(t,!r);let f,m=o.J.sibling(t,r),g=null,v=!1;for(m||(m=l(t,r,e.editor));m&&(o.J.isText(m)||o.J.isInlineBlock(m));){for(;o.J.isInlineBlock(m);)m=r?null==m?void 0:m.lastChild:null==m?void 0:m.firstChild;if(!m)break;if((null===(a=m.nodeValue)||void 0===a?void 0:a.length)&&(f=c(m,r,h,p),!m.nodeValue.length&&o.J.isInlineBlock(m.parentNode)&&(m.nodeValue=i.INVISIBLE_SPACE)),(null===(u=m.nodeValue)||void 0===u?void 0:u.length)||(g=m),!(0,n.isVoid)(f)&&f!==i.INVISIBLE_SPACE){d(r,m,t,s,f,e),v=!0;break}const b=l(m,r,e.editor);g&&(o.J.safeRemove(g),g=null),m=b}return g&&(o.J.safeRemove(g),g=null),v&&((e=>{let t=e.parentElement;for(;t&&o.J.isInlineBlock(t)&&o.J.isTag(t,"a");){const r=t.parentElement;o.J.isEmpty(t)&&(o.J.after(t,e),o.J.safeRemove(t)),t=r}})(t),((e,t)=>{t.parentElement!==e.editor&&o.J.isBlock(t.parentElement)&&o.J.each(t.parentElement,o.J.isEmptyTextNode)&&o.J.after(t,e.createInside.element("br"))})(e,t),e.s.setCursorBefore(t),o.J.isTag(t.previousSibling,"br")&&!o.J.findNotEmptySibling(t,!1)&&o.J.after(t,e.createInside.element("br"))),v}function l(e,t,r){let i=o.J.sibling(e,t);return!i&&e.parentNode&&e.parentNode!==r&&(i=(0,s.s)(e,!t,r,!0)),i}function c(e,t,r,s){let a=(0,n.toArray)(e.nodeValue);const l=a.length;let c=t?l-1:0;if(a[c]===i.INVISIBLE_SPACE)for(;a[c]===i.INVISIBLE_SPACE;)c+=r;const d=a[c];if(a[c+r]===i.INVISIBLE_SPACE){for(c+=r;a[c]===i.INVISIBLE_SPACE;)c+=r;c+=t?1:-1}return a=t&&0>c?[]:a.slice(t?0:c+1,t?c:l),((e,t,r)=>{var s;if(!e||!o.J.isText(e)||(t?/^ /:/ $/).test(null!==(s=e.nodeValue)&&void 0!==s?s:"")||!(0,n.trimInv)(e.nodeValue||"").length)for(let e=t?r.length-1:0;(t?e>=0:r.length>e)&&" "===r[e];e+=t?-1:1)r[e]=i.NBSP_SPACE})(s,t,a),e.nodeValue=a.join(""),d}function d(e,t,r,s,l,c){(0,n.call)(e?o.J.after:o.J.before,t,r),("sentence"===s||"word"===s&&" "!==l&&l!==i.NBSP_SPACE)&&a(c,r,e,s)}},73948(e,t,r){r.d(t,{Gq(){return l},PZ(){return c},nW(){return d}});var i=r(22732),o=r(21537),n=r(41457),s=r(32118),a=r(20201);const l=(e,t,r="a")=>i.J.closest(e,e=>i.J.isTag(e,r),t),c=(e,t)=>{const{key:r}=e.dataset,{item:i}=t[r||""];return i};function d(){let e=!1;const t=(0,s.a)(this),r=this;r.e.on(r.tree.container,"dragstart",t=>{const i=l(t.target,r.container);i&&r.o.moveFolder&&(e=i)}).on(r.tree.container,"drop",t=>{if((r.o.moveFile||r.o.moveFolder)&&e){let i=(0,o.attr)(e,"-path")||"";if(!r.o.moveFolder&&e.classList.contains(this.tree.getFullElName("item")))return!1;if(e.classList.contains(this.files.getFullElName("item"))&&(i+=(0,o.attr)(e,"-name"),!r.o.moveFile))return!1;const n=l(t.target,r.container);if(!n)return;r.dataProvider.move(i,(0,o.attr)(n,"-path")||"",(0,o.attr)(n,"-source")||"",e.classList.contains(this.files.getFullElName("item"))).then(()=>(0,a.r)(this)).catch(r.status),e=!1}}).on(r.files.container,"contextmenu",(0,n.A)(r)).on(r.files.container,"click",e=>{(0,o.ctrlKey)(e)||(this.state.activeElements=[])}).on(r.files.container,"click",e=>{const i=l(e.target,r.container);if(!i)return;const n=c(i,t);return n?(r.state.activeElements=(0,o.ctrlKey)(e)?[...r.state.activeElements,n]:[n],e.stopPropagation(),!1):void 0}).on(r.files.container,"dragstart",t=>{if(r.o.moveFile){const i=l(t.target,r.container);if(!i)return;e=i}}).on(r.container,"drop",e=>e.preventDefault())}},74569(e,t,r){function i(e){const t=atob(e.split(",")[1]),r=e.split(",")[0].split(":")[1].split(";")[0],i=new ArrayBuffer(t.length),o=new Uint8Array(i);for(let e=0;t.length>e;e+=1)o[e]=t.charCodeAt(e);return new Blob([o.buffer],{type:r})}r.d(t,{z(){return i}})},75259(e,t){t.A='<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(e,t,r){r.d(t,{Gq(){return n.G},HA(){return s.H},Kq(){return l.K},ZM(){return i.Z},t_(){return a.t},vn(){return a.v},wE(){return o.w}});var i=r(32574),o=r(53212),n=r(53326),s=r(45971),a=r(86518),l=r(91003)},75330(e,t,r){r.d(t,{V(){return k}});var i=r(91907),o=r(82758),n=r(65478),s=r(37133),a=r(3827),l=r(21537),c=r(12081),d=r(70231),u=r(84075),h=r(6441),p=(r(61251),r(30465)),f=r(20201),m=r(73948),g=r(33281),v=r(94538),b=r(11787),y=r(63399),w=r(8172),_=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};let k=class e extends u.T{className(){return"FileBrowser"}get dataProvider(){return(0,y.S)(this,this.options)}onSelect(e){return()=>{if(this.state.activeElements.length){const t=[],r=[];this.state.activeElements.forEach(e=>{const i=e.fileURL;i&&(t.push(i),r.push(e.isImage||!1))}),this.close();const i={baseurl:"",files:t,isImages:r};(0,l.isFunction)(e)&&e(i),this.close()}return!1}}get _dialog(){var e;const t=this.dlg({minWidth:Math.min(700,screen.width),minHeight:300,buttons:null!==(e=this.o.headerButtons)&&void 0!==e?e:["fullsize","dialog.close"]});return["beforeClose","afterClose","beforeOpen"].forEach(e=>t.events.on(t,e,()=>this.e.fire(e))),t.setSize(this.o.width,this.o.height),t}get storage(){return c.wc.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,r)=>{var i;if(!this.o.items||!this.o.items.url)throw(0,l.error)("Need set options.filebrowser.ajax.url");let n=0;this.e.off(this.files.container,"dblclick").on(this.files.container,"dblclick",this.onSelect(e)).on(this.files.container,"touchstart",()=>{const t=(new Date).getTime();o.EMULATE_DBLCLICK_TIMEOUT>t-n&&this.onSelect(e)(),n=t}).off("select.filebrowser").on("select.filebrowser",this.onSelect(e));const s=this.c.div();null===(i=this.toolbar)||void 0===i||i.appendTo(s),this.__updateToolbarButtons(),this._dialog.open(this.browser,s),this.e.fire("sort.filebrowser",this.state.sortBy),(0,f.r)(this).then(t,r).finally(()=>{var e;this.isInDestruct||null===(e=null==this?void 0:this.e)||void 0===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)&&void 0!==e?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;const r=this,i=null===(t=null==e?void 0:e.options)||void 0===t?void 0:t.uploader,o=(0,l.ConfigProto)(i||{},h.T.defaultOptions.uploader),n=()=>(0,p.f)(this);r.uploader=r.getInstance("Uploader",o),r.uploader.setPath(r.state.currentPath).setSource(r.state.currentSource).bind(r.browser,n,r.errorHandler),this.state.on(["change.currentPath","change.currentSource"],()=>{this.uploader.setPath(this.state.currentPath).setSource(this.state.currentSource)}),r.e.on("bindUploader.filebrowser",e=>{r.uploader.bind(e,n,r.errorHandler)})}destruct(){var e;this.isInDestruct||(null===(e=(0,n.cached)(this,"_dialog"))||void 0===e||e.destruct(),super.destruct(),this.events&&this.e.off(".filebrowser"),this.uploader&&this.uploader.destruct())}__updateToolbarButtons(){var e;const t=this.__getButtons();((e,t)=>{if(e.length!==t.length)return!1;for(let r=0;e.length>r;r++)if(e[r]!==t[r])return!1;return!0})(this.__prevButtons,t)||(this.__prevButtons=t,null===(e=this.toolbar)||void 0===e||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 w.V(this),this.files=new w.Q(this),this.state=(0,a.sH)({currentPath:"",currentSource:b.o,currentBaseUrl:"",activeElements:[],elements:[],sources:[],view:"tiles",sortBy:"changed-desc",filterWord:"",onlyImages:!1}),this.errorHandler=e=>{(0,l.isAbortError)(e)||this.status(e instanceof Error?this.i18n(e.message):this.dataProvider.getMessage(e))},this.close=()=>{this._dialog.close()},this.__prevButtons=[],this.attachEvents(e);const t=this;t.options=(0,l.ConfigProto)(e||{},h.T.defaultOptions.filebrowser),t.browser.component=this,t.container=t.browser,t.o.showFoldersPanel&&t.browser.appendChild(t.tree.container),t.browser.appendChild(t.files.container),t.browser.appendChild(t.status_line),g.c.call(t),m.nW.call(t),v.r.call(t),["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:r,storeSortBy:o,storeLastOpenedFolder:n}=this.o.saveStateInStorage||{storeLastOpenedFolder:!1,storeView:!1,storeSortBy:!1},s=r&&this.storage.get("view");t.state.view=s&&null==this.o.view?"list"===s?"list":"tiles":"list"===t.o.view?"list":"tiles",t.files.setMod("view",t.state.view);const c=o&&t.storage.get("sortBy");if(c){const e=c.split("-");t.state.sortBy=["changed","name","size"].includes(e[0])?c:"changed-desc"}else t.state.sortBy=t.o.sortBy||"changed-desc";if(n){const e=t.storage.get("currentPath"),r=t.storage.get("currentSource");t.state.currentPath=null!=e?e:"",t.state.currentSource=null!=r?r:""}t.initUploader(t),t.setStatus(i.f.ready)}};_([n.cache],k.prototype,"dataProvider",null),_([n.cache],k.prototype,"_dialog",null),_([n.cache],k.prototype,"storage",null),_([n.autobind],k.prototype,"status",null),_([n.autobind],k.prototype,"open",null),_([(0,s.w)("dataProvider:changePermissions")],k.prototype,"__updateToolbarButtons",null),k=_([(0,n.derive)(d.z)],k)},75393(e,t){t.A='<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(e,t){t.A={}},75595(e,t,r){r.d(t,{X(){return n}});var i=r(2748),o=r(29960);function n(e,t,r){const n=i.J.closest(e.sourceImage,"a",t.editor);n?(r.imageLink=(0,o.C)(n,"href")||"",r.imageLinkOpenInNewTab="_blank"===(0,o.C)(n,"target")):(r.imageLink="",r.imageLinkOpenInNewTab=!1)}},75882(e,t,r){r.d(t,{t(){return a}});var i=r(2748),o=r(43555),n=r(22030),s=r(97380);function a(e,t){var r;const a=[],l=[];let c;const d=null===(r=e.options.attributes)||void 0===r?void 0:r.style;if(t.firstChild){const r=i.J.eachGen(t);let u=r.next();for(;!u.done;){const t=u.value;!(0,s.sz)(e,t,!0)||d&&!(0,n.Y)(t,d)?d&&(0,s.Wv)(e,t)?(void 0===c&&(c=!1),l.push(()=>{(0,o.AH)(t,Object.keys(d).reduce((e,t)=>(e[t]=null,e),{})),(0,o.CF)(t,"style")||(0,o.CF)(t,"style",null),(0,o.CF)(t,"style")||t.nodeName.toLowerCase()!==e.element||a.push(t)})):i.J.isEmptyTextNode(t)||void 0===c&&(c=!1):(void 0===c&&(c=!0),a.push(t)),u=r.next()}}return l.forEach(e=>e()),a.forEach(i.J.unwrap),!!c}},76014(e,t,r){r.d(t,{X(){return d}});var i=r(91907),o=r(82758),n=r(65478),s=r(22732),a=r(580),l=r(21537);const c=new WeakMap;class d extends i.vG{className(){return"Table"}__recalculateStyles(){const e=(0,a.My)(this.j,d,"style",!0),t=[];this.selected.forEach(e=>{const r=(0,l.cssPath)(e);r&&t.push(r)}),e.innerHTML=t.length?t.join(",")+`{${this.jodit.options.table.selectionCellStyle}}`:""}addSelection(e){this.selected.add(e),this.__recalculateStyles();const t=s.J.closest(e,"table",this.j.editor);if(t){const r=d.__selectedByTable.get(t)||new Set;r.add(e),d.__selectedByTable.set(t,r)}}removeSelection(e){this.selected.delete(e),this.__recalculateStyles();const t=s.J.closest(e,"table",this.j.editor);if(t){const r=d.__selectedByTable.get(t);r&&(r.delete(e),r.size||d.__selectedByTable.delete(t))}}getAllSelectedCells(){return(0,l.toArray)(this.selected)}static __getSelectedCellsByTable(e){const t=d.__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 d.__getRowsCount(e)}static __getColumnsCount(e){return d.__formalMatrix(e).reduce((e,t)=>Math.max(e,t.length),0)}getColumnsCount(e){return d.__getColumnsCount(e)}static __formalMatrix(e,t){const r=[[]],i=(0,l.toArray)(e.rows),o=(e,i)=>{void 0===r[i]&&(r[i]=[]);const o=e.colSpan,n=e.rowSpan;let s,a,l=0;for(;r[i][l];)l+=1;for(a=0;n>a;a+=1)for(s=0;o>s;s+=1){if(void 0===r[i+a]&&(r[i+a]=[]),t&&!1===t(e,i+a,l+s,o,n))return!1;r[i+a][l+s]=e}};for(let e=0;i.length>e;e+=1){const t=(0,l.toArray)(i[e].cells);for(let i=0;t.length>i;i+=1)if(!1===o(t[i],e))return r}return r}formalMatrix(e,t){return d.__formalMatrix(e,t)}static __formalCoordinate(e,t,r=!1){let i=0,o=0,n=1,s=1;return d.__formalMatrix(e,(e,a,l,c,d)=>{if(t===e)return i=a,o=l,n=c||1,s=d||1,r&&(o+=(c||1)-1,i+=(d||1)-1),!1}),[i,o,n,s]}formalCoordinate(e,t,r=!1){return d.__formalCoordinate(e,t,r)}static __appendRow(e,t,r,i){var o;let n;if(t)n=t.cloneNode(!0),(0,l.$$)("td,th",t).forEach(e=>{const t=(0,l.attr)(e,"rowspan");if(t&&parseInt(t,10)>1){const r=parseInt(t,10)-1;(0,l.attr)(e,"rowspan",r>1?r:null)}}),(0,l.$$)("td,th",n).forEach(e=>{e.innerHTML=""});else{const t=d.__getColumnsCount(e);n=i.element("tr");for(let e=0;t>e;e+=1)n.appendChild(i.element("td"))}r&&t&&t.nextSibling?t.parentNode&&t.parentNode.insertBefore(n,t.nextSibling):!r&&t?t.parentNode&&t.parentNode.insertBefore(n,t):((null===(o=e.getElementsByTagName("tbody"))||void 0===o?void 0:o[0])||e).appendChild(n)}appendRow(e,t,r){return d.__appendRow(e,t,r,this.j.createInside)}static __removeRow(e,t){const r=d.__formalMatrix(e);let i;const o=e.rows[t];r[t].forEach((n,a)=>{if(i=!1,0>t-1||r[t-1][a]!==n)if(r[t+1]&&r[t+1][a]===n){if(n.parentNode===o&&n.parentNode.nextSibling){i=!0;let o=a+1;for(;r[t+1][o]===n;)o+=1;const l=s.J.next(n.parentNode,e=>s.J.isTag(e,"tr"),e);l&&(r[t+1][o]?l.insertBefore(n,r[t+1][o]):l.appendChild(n))}}else s.J.safeRemove(n);else i=!0;if(i&&(n.parentNode===o||n!==r[t][a-1])){const e=n.rowSpan;(0,l.attr)(n,"rowspan",e-1>1?e-1:null)}}),s.J.safeRemove(o)}removeRow(e,t){return d.__removeRow(e,t)}appendColumn(e,t,r=!0){const i=d.__formalMatrix(e);if(!r&&s.J.isCell(t.previousElementSibling))return this.appendColumn(e,t.previousElementSibling,!0);const o=r?t.cellIndex+((t.colSpan||1)-1):t.cellIndex,n=r?o+1:o;for(let e=0;i.length>e;){const t=i[e];if(t[o]!==t[n]||o===n){const e=this.j.createInside.element("td");r?s.J.after(t[o],e):s.J.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){const r=d.__formalMatrix(e);let i;r.forEach((e,o)=>{const n=e[t];if(i=!1,0>t-1||r[o][t-1]!==n?e.length>t+1&&r[o][t+1]===n?i=!0:s.J.safeRemove(n):i=!0,i&&(0>o-1||n!==r[o-1][t])){const e=n.colSpan;(0,l.attr)(n,"colspan",e-1>1?""+(e-1):null)}})}removeColumn(e,t){return d.__removeColumn(e,t)}static __getSelectedBound(e,t){const r=[[1/0,1/0],[0,0]],i=d.__formalMatrix(e);let o,n,s;for(o=0;i.length>o;o+=1)for(n=0;i[o]&&i[o].length>n;n+=1)t.includes(i[o][n])&&(r[0][0]=Math.min(o,r[0][0]),r[0][1]=Math.min(n,r[0][1]),r[1][0]=Math.max(o,r[1][0]),r[1][1]=Math.max(n,r[1][1]));for(o=r[0][0];r[1][0]>=o;o+=1)for(s=1,n=r[0][1];r[1][1]>=n;n+=1){for(;i[o]&&i[o][n-s]&&i[o][n]===i[o][n-s];)r[0][1]=Math.min(n-s,r[0][1]),r[1][1]=Math.max(n-s,r[1][1]),s+=1;for(s=1;i[o]&&i[o][n+s]&&i[o][n]===i[o][n+s];)r[0][1]=Math.min(n+s,r[0][1]),r[1][1]=Math.max(n+s,r[1][1]),s+=1;for(s=1;i[o-s]&&i[o][n]===i[o-s][n];)r[0][0]=Math.min(o-s,r[0][0]),r[1][0]=Math.max(o-s,r[1][0]),s+=1;for(s=1;i[o+s]&&i[o][n]===i[o+s][n];)r[0][0]=Math.min(o+s,r[0][0]),r[1][0]=Math.max(o+s,r[1][0]),s+=1}return r}getSelectedBound(e,t){return d.__getSelectedBound(e,t)}static __normalizeTable(e){const t=[],r=d.__formalMatrix(e);d.__removeExtraColspans(r,t),d.__removeExtraRowspans(r,t);for(let e=0;r.length>e;e+=1)for(let t=0;r[e].length>t;t+=1)void 0!==r[e][t]&&(r[e][t].hasAttribute("rowspan")&&1===r[e][t].rowSpan&&(0,l.attr)(r[e][t],"rowspan",null),r[e][t].hasAttribute("colspan")&&1===r[e][t].colSpan&&(0,l.attr)(r[e][t],"colspan",null),r[e][t].hasAttribute("class")&&!(0,l.attr)(r[e][t],"class")&&(0,l.attr)(r[e][t],"class",null));d.__unmark(t)}static __removeExtraColspans(e,t){for(let r=0;e[0].length>r;r+=1){let i=1e6,o=!1;for(let t=0;e.length>t;t+=1)if(void 0!==e[t][r]){if(2>e[t][r].colSpan){o=!0;break}i=Math.min(i,e[t][r].colSpan)}if(!o)for(let o=0;e.length>o;o+=1)void 0!==e[o][r]&&d.__mark(e[o][r],"colspan",e[o][r].colSpan-i+1,t)}}static __removeExtraRowspans(e,t){let r=0,i=0;for(r=0;e.length>r;r+=1){let o=1e6,n=!1;for(i=0;e[r].length>i;i+=1)if(void 0!==e[r][i]){if(2>e[r][i].rowSpan){n=!0;break}o=Math.min(o,e[r][i].rowSpan)}if(!n)for(i=0;e[r].length>i;i+=1)void 0!==e[r][i]&&d.__mark(e[r][i],"rowspan",e[r][i].rowSpan-o+1,t)}}normalizeTable(e){return d.__normalizeTable(e)}static __mergeSelected(e,t){const r=[],i=d.__getSelectedBound(e,d.__getSelectedCellsByTable(e));let n,a=0,c=null,h=0,p=0,f=0;const m=new Set,g=[];i&&(i[0][0]-i[1][0]||i[0][1]-i[1][1])&&(d.__formalMatrix(e,(e,o,s,v,b)=>{if(!(i[0][0]>o||o>i[1][0]||i[0][1]>s||s>i[1][1])){if(n=e,m.has(n))return;m.add(n),o===i[0][0]&&n.style.width&&(a+=n.offsetWidth),""!==(0,l.trim)(e.innerHTML.replace(/<br(\/)?>/g,""))&&r.push(e.innerHTML),v>1&&(p+=v-1),b>1&&(f+=b-1),c?(d.__mark(n,"remove",1,g),u(t).removeSelection(n)):(c=e,h=s)}}),p=i[1][1]-i[0][1]+1,f=i[1][0]-i[0][0]+1,c&&(p>1&&d.__mark(c,"colspan",p,g),f>1&&d.__mark(c,"rowspan",f,g),a&&(d.__mark(c,"width",(a/e.offsetWidth*100).toFixed(o.ACCURACY)+"%",g),h&&d.__setColumnWidthByDelta(e,h,0,!0,g)),c.innerHTML=r.join("<br/>"),u(t).addSelection(c),m.delete(c),d.__unmark(g),d.__normalizeTable(e),(0,l.toArray)(e.rows).forEach(e=>{e.cells.length||s.J.safeRemove(e)})))}mergeSelected(e){return d.__mergeSelected(e,this.j)}static __splitHorizontal(e,t){let r,i,o,n,a;const l=[];d.__getSelectedCellsByTable(e).forEach(c=>{i=t.createInside.element("td"),i.appendChild(t.createInside.element("br")),o=t.createInside.element("tr"),r=d.__formalCoordinate(e,c),2>c.rowSpan?(d.__formalMatrix(e,(e,t,i)=>{r[0]===t&&r[1]!==i&&e!==c&&d.__mark(e,"rowspan",e.rowSpan+1,l)}),s.J.after(s.J.closest(c,"tr",e),o),o.appendChild(i)):(d.__mark(c,"rowspan",c.rowSpan-1,l),d.__formalMatrix(e,(t,i,o)=>{i>r[0]&&r[0]+c.rowSpan>i&&r[1]>o&&t.parentNode.rowIndex===i&&(a=t),i>r[0]&&t===c&&(n=e.rows[i])}),a?s.J.after(a,i):n.insertBefore(i,n.firstChild)),c.colSpan>1&&d.__mark(i,"colspan",c.colSpan,l),d.__unmark(l),u(t).removeSelection(c)}),this.__normalizeTable(e)}splitHorizontal(e){return d.__splitHorizontal(e,this.j)}static __splitVertical(e,t){let r,i,n;const a=[];d.__getSelectedCellsByTable(e).forEach(l=>{r=d.__formalCoordinate(e,l),2>l.colSpan?d.__formalMatrix(e,(e,t,i)=>{r[1]===i&&r[0]!==t&&e!==l&&d.__mark(e,"colspan",e.colSpan+1,a)}):d.__mark(l,"colspan",l.colSpan-1,a),i=t.createInside.element("td"),i.appendChild(t.createInside.element("br")),l.rowSpan>1&&d.__mark(i,"rowspan",l.rowSpan,a);const c=l.offsetWidth;s.J.after(l,i),n=c/e.offsetWidth/2,d.__mark(l,"width",(100*n).toFixed(o.ACCURACY)+"%",a),d.__mark(i,"width",(100*n).toFixed(o.ACCURACY)+"%",a),d.__unmark(a),u(t).removeSelection(l)}),d.__normalizeTable(e)}splitVertical(e){return d.__splitVertical(e,this.j)}static __setColumnWidthByDelta(e,t,r,i,n){const s=d.__formalMatrix(e);let a=0;for(let i=0;s.length>i;i+=1){const l=s[i][t];if(1>=l.colSpan||1>=s.length){d.__mark(l,"width",((l.offsetWidth+r)/e.offsetWidth*100).toFixed(o.ACCURACY)+"%",n),a=i;break}}for(let e=a+1;s.length>e;e+=1)d.__mark(s[e][t],"width",null,n);i||d.__unmark(n)}setColumnWidthByDelta(e,t,r,i,o){return d.__setColumnWidthByDelta(e,t,r,i,o)}static __mark(e,t,r,i){var o;i.push(e);const n=null!==(o=c.get(e))&&void 0!==o?o:{};n[t]=void 0===r?1:r,c.set(e,n)}static __unmark(e){e.forEach(e=>{const t=c.get(e);t&&(Object.keys(t).forEach(r=>{const i=t[r];switch(r){case"remove":s.J.safeRemove(e);break;case"rowspan":(0,l.attr)(e,"rowspan",(0,l.isNumber)(i)&&i>1?i:null);break;case"colspan":(0,l.attr)(e,"colspan",(0,l.isNumber)(i)&&i>1?i:null);break;case"width":null==i?(e.style.removeProperty("width"),(0,l.attr)(e,"style")||(0,l.attr)(e,"style",null)):e.style.width=""+i}delete t[r]}),c.delete(e))})}constructor(){super(...arguments),this.selected=new Set}}d.__selectedByTable=new WeakMap,function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);n>3&&s&&Object.defineProperty(t,r,s)}([(0,n.debounce)()],d.prototype,"__recalculateStyles",null);const u=e=>e.getInstance("Table",e.o)},76078(e,t,r){r.d(t,{$$(){return d},DY(){return h},bE(){return p},fz(){return u},tI(){return f}});var i=r(82758),o=r(2748),n=r(4510),s=r(70799),a=r(87058),l=r(43555);let c=1;function d(e,t){let r;if(i.IS_ES_NEXT||!/:scope/.test(e)||!i.IS_IE||t&&t.nodeType===Node.DOCUMENT_NODE)r=t.querySelectorAll(e);else{const i=t.id,o=i||"_selector_id_"+(Math.random()+"").slice(2)+(c++,c);e=e.replace(/:scope/g,"#"+o),!i&&t.setAttribute("id",o),r=t.parentNode.querySelectorAll(e),i||t.removeAttribute("id")}return[].slice.call(r)}const u=(e,t)=>{if(!e||e.nodeType!==Node.ELEMENT_NODE)return"";if(!e.parentNode||t===e)return"";if(e.id)return"//*[@id='"+e.id+"']";const r=[].filter.call(e.parentNode.childNodes,t=>t.nodeName===e.nodeName);return u(e.parentNode,t)+"/"+e.nodeName.toLowerCase()+(r.length>1?"["+((0,n.$)(r).indexOf(e)+1)+"]":"")},h=e=>("container"in e&&(e=e.container),d("[ref],[data-ref]",e).reduce((e,t)=>{const r=(0,l.CF)(t,"-ref");return r&&(0,s.K)(r)&&(e[(0,a.x)(r)]=t,e[r]=t),e},{})),p=e=>{if(!o.J.isElement(e))return null;const t=[];let r=e;for(;r&&r.nodeType===Node.ELEMENT_NODE;){let e=r.nodeName.toLowerCase();if(r.id){e+="#"+r.id,t.unshift(e);break}{let t=r,i=1;do{t=t.previousElementSibling,t&&t.nodeName.toLowerCase()===e&&i++}while(t);e+=":nth-of-type("+i+")"}t.unshift(e),r=r.parentNode}return t.join(" > ")};function f(e,t){let r=e;if((0,s.K)(e))try{r=t.querySelector(e)}catch(t){throw(0,l.z3)('String "'+e+'" should be valid HTML selector')}if(!r||"object"!=typeof r||!o.J.isElement(r)||!r.cloneNode)throw(0,l.z3)('Element "'+e+'" should be string or HTMLElement instance');return r}},76295(e,t,r){var i=r(2748),o=r(580),n=r(21537),s=r(25726),a=r(41180),l=r(12153),c=r(6441),d=r(5567);l.I.set("justify",d.A),c.T.prototype.controls.align={name:"left",tooltip:"Align",update(e,t){const r=t.control,o=e.s.current();if(o){const s=i.J.closest(o,i.J.isBlock,e.editor)||e.editor;let l=""+(0,a.A)(s,"text-align");r.defaultValue&&-1!==r.defaultValue.indexOf(l)&&(l="left");const{list:c,data:d}=r;d&&d.currentValue!==l&&c&&((0,n.isPlainObject)(c)?c[l]:c.includes(l))&&(e.o.textIcons||"select"===r.component?t.state.text=l:t.state.icon.name=l,d.currentValue=l)}},isActive(e,t){const r=e.s.current();if(!r||!t.control.defaultValue)return!1;const o=i.J.closest(r,i.J.isBlock,e.editor)||e.editor;return-1===t.control.defaultValue.indexOf(""+(0,a.A)(o,"text-align"))},defaultValue:["left","start","inherit"],data:{currentValue:"left"},list:["center","left","right","justify"]},c.T.prototype.controls.center={command:"justifyCenter",css:{"text-align":"center"},tooltip:"Align Center"},c.T.prototype.controls.justify={command:"justifyFull",css:{"text-align":"justify"},tooltip:"Align Justify"},c.T.prototype.controls.left={command:"justifyLeft",css:{"text-align":"left"},tooltip:"Align Left"},c.T.prototype.controls.right={command:"justifyRight",css:{"text-align":"right"},tooltip:"Align Right"},o.fg.add("justify",e=>{e.registerButton({name:"align",group:"indent"});const t=t=>(e.s.focus(),e.s.eachSelection(r=>{if(!r)return;let o=i.J.up(r,i.J.isBlock,e.editor);o||(o=i.J.wrapInline(r,e.o.enterBlock,e)),(0,s.Op)(t,o)}),!1);e.registerCommand("justifyfull",t),e.registerCommand("justifyright",t),e.registerCommand("justifyleft",t),e.registerCommand("justifycenter",t)})},76855(e,t,r){r.d(t,{$r(){return n.$},_j(){return i._},uM(){return o.u}});var i=r(29999),o=r(46559),n=r(4510)},77183(e,t,r){r.d(t,{S(){return o}});const i=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||i.has(e.name)?(e.remove(),null):e}},77361(e,t,r){r.d(t,{Ag(){return s},DI(){return a},OJ(){return o},PL(){return n},Zk(){return i},ar(){return c},dj(){return l}});const i="wrap",o="unwrap",n="change",s="unset",a="initial",l="replace",c="commitStyle"},77469(e,t,r){var i=r(82758),o=r(580),n=r(21537);r(50963),o.fg.add("iframe",e=>{const t=e.options;e.e.on("afterSetMode",()=>{e.isEditorMode()&&e.s.focus()}).on("generateDocumentStructure.iframe",(e,r)=>{const i=e||r.iframe.contentWindow.document;if(i.open(),i.write(t.iframeDoctype+`<html dir="${t.direction}" class="jodit" lang="${(0,n.defaultLanguage)(t.language)}"><head>`+`<title>${t.iframeTitle}</title>`+(t.iframeBaseUrl?`<base href="${t.iframeBaseUrl}"/>`:"")+'</head><body class="jodit-wysiwyg"></body></html>'),i.close(),t.iframeCSSLinks&&t.iframeCSSLinks.forEach(e=>{const t=i.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),i.head&&i.head.appendChild(t)}),t.iframeStyle){const e=i.createElement("style");e.innerHTML=t.iframeStyle,i.head&&i.head.appendChild(e)}}).on("createEditor",()=>{if(!t.iframe)return;const r=e.c.element("iframe");r.style.display="block",r.src="about:blank",r.className="jodit-wysiwyg_iframe",r.setAttribute("allowtransparency","true"),r.setAttribute("tabindex",""+t.tabIndex),r.setAttribute("frameborder","0"),null!=t.iframeSandbox&&r.setAttribute("sandbox",t.iframeSandbox),e.workplace.appendChild(r),e.iframe=r;const o=e.e.fire("generateDocumentStructure.iframe",null,e);return(0,n.callPromise)(o,()=>{if(!e.iframe)return!1;const r=e.iframe.contentWindow.document;e.editorWindow=e.iframe.contentWindow;const o=()=>{(0,n.attr)(r.body,"contenteditable",e.getMode()!==i.MODE_SOURCE&&!e.getReadOnly()||null)},s=e=>{const t=/<body.*<\/body>/im,r="{%%BODY%%}",i=t.exec(e);return i&&(e=e.replace(t,r).replace(/<span([^>]*?)>(.*?)<\/span>/gim,"").replace(/&lt;span([^&]*?)&gt;(.*?)&lt;\/span&gt;/gim,"").replace(r,i[0].replace(/(<body[^>]+?)min-height["'\s]*:[\s"']*[0-9]+(px|%)/im,"$1").replace(/(<body[^>]+?)([\s]*["'])?contenteditable["'\s]*=[\s"']*true["']?/im,"$1").replace(/<(style|script|span)[^>]+jodit[^>]+>.*?<\/\1>/g,"")).replace(/(class\s*=\s*)(['"])([^"']*)(jodit-wysiwyg|jodit)([^"']*\2)/g,"$1$2$3$5").replace(/(<[^<]+?)\sclass="[\s]*"/gim,"$1").replace(/(<[^<]+?)\sstyle="[\s;]*"/gim,"$1").replace(/(<[^<]+?)\sdir="[\s]*"/gim,"$1")),e};if(t.editHTMLDocumentMode){const t=e.element.tagName;if("TEXTAREA"!==t&&"INPUT"!==t)throw(0,n.error)("If enable `editHTMLDocumentMode` - source element should be INPUT or TEXTAREA");e.e.on("beforeGetNativeEditorValue",()=>s(e.o.iframeDoctype+r.documentElement.outerHTML)).on("beforeSetNativeEditorValue",({value:t})=>!e.isLocked&&(/<(html|body)/i.test(t)?s(r.documentElement.outerHTML)!==s(t)&&(r.open(),r.write(e.o.iframeDoctype+s(t)),r.close(),e.editor=r.body,e.e.fire("safeHTML",e.editor),o(),e.e.fire("prepareWYSIWYGEditor"),e.e.stopPropagation("beforeSetNativeEditorValue")):r.body.innerHTML=t,!0),{top:!0})}if(e.editor=r.body,e.e.on("afterSetMode afterInit afterAddPlace",o),"auto"===t.height){r.documentElement&&(r.documentElement.style.overflowY="hidden");const i=e.async.throttle((...r)=>{e.async.requestAnimationFrame(()=>{if(e.editor&&e.iframe&&"auto"===t.height){const t=e.ew.getComputedStyle(e.editor);(0,n.css)(e.iframe,"height",e.editor.offsetHeight+(parseInt(t.marginTop||"0",10)+parseInt(t.marginBottom||"0",10)))}})},e.defaultTimeout/2);if(e.e.on("change afterInit afterSetMode resize",i).on([e.iframe,e.ew,r.documentElement],"load",i).on(r,"readystatechange DOMContentLoaded",i),"function"==typeof ResizeObserver){const t=new ResizeObserver(i);t.observe(r.body),e.e.on("beforeDestruct",()=>{t.disconnect()})}}return r.documentElement&&e.e.on(r.documentElement,"mousedown touchend",()=>{e.s.isFocused()||(e.s.focus(),e.editor===r.body&&e.s.setCursorIn(r.body))}).on(e.ew,"mousedown touchstart keydown keyup touchend click mouseup mousemove scroll",t=>{var r;null===(r=e.events)||void 0===r||r.fire(e.ow,t)}),!1})})})},78116(e,t,r){r.d(t,{r(){return n}});var i=r(82758),o=r(2748);function n(e){return o.J.isNode(e)&&o.J.isTag(e,"span")&&e.hasAttribute("data-"+i.MARKER_CLASS)}},78173(e,t){t.A='<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(e,t,r){r.d(t,{f(){return i}});const i={beforeInit:"beforeInit",ready:"ready",beforeDestruct:"beforeDestruct",destructed:"destructed"}},78284(e,t,r){r.d(t,{v(){return i}});const i=e=>e.isElement?("img"===e.name&&(e.attributes.align&&(e.style.add("float",e.attributes.align),e.attributes.align=null),e.attributes.hspace&&(e.style.add("marginLeft",e.attributes.hspace+"px"),e.style.add("marginRight",e.attributes.hspace+"px"),e.attributes.hspace=null)),e):e},78513(e,t,r){r.d(t,{V(){return i.V}});var i=r(75330)},78524(e,t,r){r(6441).T.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"]}},78547(e,t,r){r.d(t,{Gb(){return a},fB(){return i},lA(){return o},pz(){return s},wD(){return l},yL(){return n}});const i="jd-list-level",o="jd-list-type",n="jd-list-style-type",s="data-list-style-type",a="list-style-type",l={"·":"disc",o:"circle","§":"square","[ivx]":"lower-roman","[IVX]":"upper-roman","[a-z]":"lower-alpha","[A-Z]":"upper-alpha","\\d":"decimal"}},78584(e,t,r){r.d(t,{l(){return b}});var i,o=r(91907),n=r(82758),s=r(65478),a=r(2748),l=r(580),c=r(76855),d=r(27613),u=r(43555),h=r(38837),p=r(67510),f=r(35608),m=r(84075),g=r(6441),v=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};g.T.prototype.dialog={namespace:"",extraButtons:[],resizable:!0,draggable:!0,buttons:["dialog.close"],removeButtons:[],toolbarButtonSize:"middle",zIndex:"inherit"},g.T.prototype.controls.dialog={close:{icon:"cancel",exec(e){e.close()}}};let b=i=class e extends m.T{className(){return"Dialog"}get destination(){const{popupRoot:e,shadowRoot:t}=this.o;return e||t||this.od.body}setElements(e,t){const r=[];(0,c._j)(t).forEach(t=>{if((0,d.cy)(t)){const i=this.c.div(this.getFullElName("column"));return r.push(i),e.appendChild(i),this.setElements(i,t)}let i;i=(0,d.Kg)(t)?this.c.fromHTML(t):(0,d.kO)(t)?t.container:t,r.push(i),i.parentNode!==e&&e.appendChild(i)}),(0,c.$r)(e.childNodes).forEach(t=>{-1===r.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){const t=e.target;!this.o.draggable||t&&t.nodeName.match(/^(INPUT|SELECT)$/)||(this.draggable=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.x=(0,u.AH)(this.dialog,"left"),this.startPoint.y=(0,u.AH)(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===n.KEY_ESC&&!0!==this.getMod("static")){const t=this.getMaxZIndexDialog();t?t.close():this.close(),e.stopImmediatePropagation()}}__onResizerMouseDown(e){this.resizable=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.w=this.dialog.offsetWidth,this.startPoint.h=this.dialog.offsetHeight,this.lockSelect(),this.__addGlobalResizeListeners(),this.e&&this.e.fire(this,"startResize")}__addGlobalResizeListeners(){const e=this;e.e.on(e.ow,"pointermove touchmove",e.__onMouseMove).on(e.ow,"pointerup touchend",e.__onMouseUp)}__removeGlobalResizeListeners(){const e=this;e.e.off(e.ow,"mousemove pointermove",e.__onMouseMove).off(e.ow,"mouseup pointerup",e.__onMouseUp)}setSize(e,t){return null==e&&(e=this.dialog.offsetWidth),null==t&&(t=this.dialog.offsetHeight),(0,u.AH)(this.dialog,{width:e,height:t}),this}calcAutoSize(){return this.setSize("auto","auto"),this.setSize(),this}setPosition(e,t){let r=this.ow.innerWidth/2-this.dialog.offsetWidth/2,i=this.ow.innerHeight/2-this.dialog.offsetHeight/2;return 0>r&&(r=0),0>i&&(i=0),void 0!==e&&void 0!==t&&(this.offsetX=e,this.offsetY=t,this.moved=Math.abs(e-r)>100||Math.abs(t-i)>100),this.dialog.style.left=(e||r)+"px",this.dialog.style.top=(t||i)+"px",this}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,u.AH)(this.container,"zIndex"),10)||0}getMaxZIndexDialog(){let e,t,r=0,i=this;return(0,u.$$)(".jodit-dialog",this.destination).forEach(o=>{e=o.component,t=parseInt((0,u.AH)(o,"zIndex"),10),e.isOpened&&!isNaN(t)&&t>r&&(i=e,r=t)}),i}setMaxZIndex(){if(this.getMod("static"))return;let e=20000004,t=0;(0,u.$$)(".jodit-dialog",this.destination).forEach(r=>{t=parseInt((0,u.AH)(r,"zIndex"),10),e=Math.max(isNaN(t)?0:t,e)}),this.container.style.zIndex=""+(e+1)}toggleFullSize(e){(0,d.Rd)(e)&&(e=!this.getMod("fullsize")),this.setMod("fullsize",e),super.toggleFullSize(e)}open(e,t,r,i){if(l.RR.fire("closeAllPopups hideHelpers"),!1===this.e.fire(this,"beforeOpen"))return this;(0,d.Lm)(e)&&(r=e),(0,d.Lm)(t)&&(i=t),this.destroyAfterClose=!0===r;const o=(0,d.Lm)(e)?void 0:e,n=(0,d.Lm)(t)?void 0:t;return void 0!==n&&this.setHeader(n),o&&this.setContent(o),this.setMod("active",!0),this.isOpened=!0,this.setModal(i),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;const{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.J.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.uM)(this.o.buttons)).setMod("mode","header").appendTo(this.dialogbox_toolbar)}destruct(){this.isInDestruct||(this.setStatus(o.f.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;const t=this;t.options=(0,u.tb)(e,(0,u.tb)(g.T.prototype.dialog,i.defaultOptions)),a.J.safeRemove(t.container);const r=this.getFullElName.bind(this);t.container=this.c.fromHTML(`<div class="jodit jodit-dialog ${this.componentName}">\n\t\t\t\t<div class="${r("overlay")}"></div>\n\t\t\t\t<div class="${this.getFullElName("panel")}">\n\t\t\t\t\t<div class="${r("header")}">\n\t\t\t\t\t\t<div class="${r("header-title")}"></div>\n\t\t\t\t\t\t<div class="${r("header-toolbar")}"></div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="${r("content")}"></div>\n\t\t\t\t\t<div class="${r("footer")}"></div>\n\t\t\t\t\t<div class="${r("resizer")}">${p.In.get("resize_handler")}</div>\n\t\t\t\t</div>\n\t\t\t</div>`),"rtl"===t.options.direction&&(t.container.style.direction="rtl",t.container.setAttribute("dir","rtl")),this.o.zIndex&&(this.container.style.zIndex=""+this.o.zIndex),(0,u.CF)(t.container,"role","dialog"),Object.defineProperty(t.container,"component",{value:this}),t.setMod("theme",t.o.theme||"default").setMod("resizable",!!t.o.resizable);const o=t.getElm("panel");(0,h.v)(null!=o,"Panel element does not exist");const n=t.getElm("resizer");(0,h.v)(null!=n,"Resizer element does not exist");const s=t.getElm("header-title");(0,h.v)(null!=s,"header-title element does not exist");const c=t.getElm("content");(0,h.v)(null!=c,"Content element does not exist");const f=t.getElm("footer");(0,h.v)(null!=f,"Footer element does not exist");const m=t.getElm("header-toolbar");(0,h.v)(null!=m,"header-toolbar element does not exist"),this.dialog=o,this.resizer=n,this.dialogbox_header=s,this.dialogbox_content=c,this.dialogbox_footer=f,this.dialogbox_toolbar=m,(0,u.AH)(t.dialog,{maxWidth:t.options.maxWidth,minHeight:t.options.minHeight,minWidth:t.options.minWidth});const v=t.getElm("header");v&&t.e.on(v,"pointerdown touchstart",t.__onHeaderMouseDown),t.e.on(t.resizer,"mousedown touchstart",t.__onResizerMouseDown);const b=l.fg.get("fullsize");if((0,d.Tn)(b)&&b(t),this.e.on(t.container,"close_dialog",t.close).on(this.ow,"keydown",this.__onEsc).on(this.ow,"resize",this.__onResize),this.o.closeOnClickOverlay){const e=t.getElm("overlay");(0,h.v)(null!=e,"Overlay element does not exist"),this.e.on(e,"click",t.close)}}};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=i=v([s.component],b),b.defaultOptions={...f.S.defaultOptions,closeOnClickOverlay:!1,closeOnEsc:!0}},78614(e,t){t.A='<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> '},78630(e,t,r){r.d(t,{j(){return a}});var i=r(31635),o=r(53253),n=r(65478),s=r(62405);let a=class e extends s.U{constructor(){super(...arguments),this.elements=[],this.currentSelection=-1,this.__previousList=[]}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){const t=this.elements[this.currentSelection]?.item.value,r=[];let i=-1;for(let t=0;e.length>t;t+=1){if(i+=1,null!=this.__previousList[t]&&e[t].value===this.__previousList[t].value)continue;this.elements[i]&&(r.push(this.elements[i]),i+=1);const n=new o.K(this.jodit,e[t],t=>{this.currentSelection=e.findIndex(e=>e.value===t),this.select()});this.append(n,i)}for(let e=i+1;this.elements.length>e;e+=1)r.push(this.elements[e]);r.forEach(e=>{this.remove(e),e.destruct()});const n=this.currentSelection;this.currentSelection=Math.max(0,e.findIndex(e=>e.value===t)),n===this.currentSelection&&this.onChangeSelection(),this.__previousList=[...e]}selectNext(){this.currentSelection+1>this.elements.length-1?this.currentSelection=0:this.currentSelection+=1}selectPrevious(){0>this.currentSelection-1?this.currentSelection=this.elements.length-1:this.currentSelection-=1}select(){this.j.e.fire("select.autocomplete",this.elements[this.currentSelection].item)}};(0,i.Cg)([(0,n.watch)("currentSelection")],a.prototype,"onChangeSelection",null),a=(0,i.Cg)([n.component],a)},78644(e,t,r){r.d(t,{I(){return f}});var i=r(78213),o=r(65478),n=r(22732),s=r(21537),a=r(62843),l=r(72157),c=r(12153),d=r(56917),u=r(11676),h=r(21491),p=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};let f=class e extends a.lD{className(){return"ToolbarButton"}get toolbar(){return this.closest(u.Q)}update(){var e,t;const{control:r,state:i}=this,o=this.closest(u.Q);if(!o)return;const n=null===(e=r.value)||void 0===e?void 0:e.call(r,o.jodit,this);void 0!==n&&(i.value=n),i.disabled=this.__calculateDisabledStatus(o),i.activated=this.__calculateActivatedStatus(o),null===(t=r.update)||void 0===t||t.call(r,o.jodit,this)}__calculateActivatedStatus(e){var t,r;return!((0,s.isJoditObject)(this.j)&&!this.j.editorIsActive||!(null===(r=(t=this.control).isActive)||void 0===r?void 0:r.call(t,this.j,this))&&(!e||!e.shouldBeActive(this)))}__calculateDisabledStatus(e){var t,r;return!(!this.j.o.disabled&&(!this.j.o.readonly||this.j.o.activeButtonsInReadOnly&&this.j.o.activeButtonsInReadOnly.includes(this.control.name))&&!(null===(r=(t=this.control).isDisabled)||void 0===r?void 0:r.call(t,this.j,this))&&(!e||!e.shouldBeDisabled(this)))}onChangeActivated(){(0,s.attr)(this.button,"aria-pressed",this.state.activated),super.onChangeActivated()}onChangeText(){(0,s.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,s.attr)(this.button,"tabindex",this.state.tabIndex)}createContainer(){const e=this.componentName,t=this.j.c.span(e),r=super.createContainer();(0,s.attr)(t,"role","listitem"),r.classList.remove(e),r.classList.add(e+"__button"),Object.defineProperty(r,"component",{value:this}),t.appendChild(r);const i=this.j.c.fromHTML(`<span role="trigger" class="${e}__trigger">${c.I.get("chevron")}</span>`);return r.appendChild(i),t}focus(){var e;null===(e=this.container.querySelector("button"))||void 0===e||e.focus()}onChangeHasTrigger(){this.state.hasTrigger?this.container.appendChild(this.trigger):n.J.safeRemove(this.trigger),this.setMod("with-trigger",this.state.hasTrigger||null)}onChangeDisabled(){const e=this.state.disabled?"disabled":null;(0,s.attr)(this.trigger,"disabled",e),(0,s.attr)(this.button,"disabled",e),(0,s.attr)(this.container,"disabled",e)}__initFromControl(){var e;const{control:t,state:r}=this;this.updateSize(),r.name=t.name;const{textIcons:i}=this.j.o;if(!0===i||(0,s.isFunction)(i)&&i(t.name)||t.template)r.icon=(0,a.ue)().icon,r.text=t.text||t.name;else{if(t.iconURL)r.icon.iconURL=t.iconURL;else{const i=t.icon||t.name;r.icon.name=c.I.exists(i)||(null===(e=this.j.o.extraIcons)||void 0===e?void 0:e[i])?i:""}t.iconURL||r.icon.name||(r.text=t.text||t.name)}t.tooltip&&(r.tooltip=this.j.i18n((0,s.isFunction)(t.tooltip)?t.tooltip(this.j,t,this):t.tooltip)),r.hasTrigger=!!(t.list||t.popup&&t.exec)}onTriggerClick(e){var t,r,i;if(this.openedPopup)return void this.__closePopup();const{control:o}=this;if(e.buffer={actionTrigger:this},o.list)return this.__openControlList(o);if((0,s.isFunction)(o.popup)){const n=this.openPopup();n.parentElement=this;try{if(!1!==this.j.e.fire((0,s.camelCase)(`before-${o.name}-open-popup`),this.target,o,n)){const e=null!==(i=null!==(r=null===(t=this.toolbar)||void 0===t?void 0:t.getTarget(this))&&void 0!==r?r:this.target)&&void 0!==i?i:null,a=o.popup(this.j,e,this.__closePopup,this);a?n.setContent((0,s.isString)(a)?this.j.c.fromHTML(a):a).open(()=>(0,s.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,s.camelCase)(`after-${o.name}-open-popup`),n.container)}}__openControlList(e){var t;const r=null!==(t=this.jodit.options.controls)&&void 0!==t?t:{},i=e=>(0,l.x)(e,r),o=e.list,n=this.openPopup(),a=(0,h.$K)(this.j);n.parentElement=this,a.parentElement=n,a.mode="vertical";const c=(t,r)=>{if((0,s.isString)(r)&&i(r))return{name:""+r,...i(r)};if((0,s.isString)(t)&&i(t))return{name:""+t,...i(t),..."object"==typeof r?r:{}};(e=>(0,s.isPlainObject)(e)&&"title"in e&&"value"in e)(t)&&(r=t.value,t=t.title);const{childTemplate:o}=e,n={name:""+t,template:o&&((e,t,r)=>o(e,t,r,this)),exec:e.childExec?(t,r,i)=>{var o;return null===(o=e.childExec)||void 0===o?void 0:o.call(e,t,r,{...i,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,r]};return(0,s.isString)(r)&&(n.text=r),n};a.build((0,s.isArray)(o)?o.map(c):(0,s.keys)(o,!1).map(e=>c(e,o[e])),this.target),n.setContent(a).open(()=>(0,s.position)(this.container),!1,this.j.o.allowTabNavigation?this.container:void 0),this.state.activated=!0}onOutsideClick(e){this.openedPopup&&(e&&n.J.isNode(e.target)&&(n.J.isOrContains(this.container,e.target)||this.openedPopup.isOwnClick(e))||this.__closePopup())}openPopup(){return this.__closePopup(),this.openedPopup=new d.z(this.j,!1),this.j.e.on(this.ow,"mousedown touchstart",this.onOutsideClick).on("escape closeAllPopups",this.onOutsideClick),this.openedPopup}__closePopup(){this.openedPopup&&(this.j.e.off(this.ow,"mousedown touchstart",this.onOutsideClick).off("escape closeAllPopups",this.onOutsideClick),this.state.activated=!1,this.openedPopup.close(),this.openedPopup.destruct(),this.openedPopup=null)}onClick(e){var t,r,i,o,n,a,l;const{control:c}=this;if((0,s.isFunction)(c.exec)){const s=null!==(i=null!==(r=null===(t=this.toolbar)||void 0===t?void 0:t.getTarget(this))&&void 0!==r?r:this.target)&&void 0!==i?i:null,d=c.exec(this.j,s,{control:c,originalEvent:e,button:this});if(!1!==d&&!0!==d&&(null===(n=null===(o=this.j)||void 0===o?void 0:o.e)||void 0===n||n.fire("synchro"),this.parentElement&&this.parentElement.update(),null===(l=null===(a=this.j)||void 0===a?void 0:a.e)||void 0===l||l.fire("closeAllPopups afterExec")),!1!==d)return}return c.list?this.__openControlList(c):(0,s.isFunction)(c.popup)?this.onTriggerClick(e):void((c.command||c.name)&&((0,s.call)((0,s.isJoditObject)(this.j)?this.j.execCommand.bind(this.j):this.j.od.execCommand.bind(this.j.od),c.command||c.name,!1,c.args&&c.args[0]),this.j.e.fire("closeAllPopups")))}destruct(){return this.__closePopup(),super.destruct()}constructor(e,t,r=null){super(e),this.control=t,this.target=r,this.state={...(0,a.ue)(),theme:"toolbar",currentValue:"",hasTrigger:!1},this.openedPopup=null;const o=this.getElm("button");(0,s.assert)(o,"Element button should exists"),this.button=o,Object.defineProperty(o,"component",{value:this,configurable:!0});const n=this.getElm("trigger");(0,s.assert)(n,"Element trigger should exists"),this.trigger=n,n.remove(),e.e.on([this.button,this.trigger],"mousedown",e=>e.preventDefault()),this.onAction(this.onClick),this.hookStatus(i.f.ready,()=>{this.__initFromControl(),this.update()}),t.mods&&Object.keys(t.mods).forEach(e=>{t.mods&&this.setMod(e,t.mods[e])})}};p([o.cacheHTML],f.prototype,"createContainer",null),p([(0,o.watch)("state.hasTrigger",{immediately:!1})],f.prototype,"onChangeHasTrigger",null),p([(0,o.watch)("trigger:click")],f.prototype,"onTriggerClick",null),p([o.autobind],f.prototype,"onOutsideClick",null),p([o.autobind],f.prototype,"__closePopup",null),f=p([o.component],f)},78720(e,t,r){r.d(t,{o(){return o}});var i=r(2748);function o(e,t){if(i.J.isFragment(t)&&(t=t.firstChild),e.o.dtd.checkBlockNesting&&i.J.isBlock(t)){const t=i.J.furthest(e.s.current(),i.J.isBlock,e.editor);t&&!e.o.dtd.blockLimits[t.tagName.toLowerCase()]&&(e.s.setCursorAfter(t),i.J.isEmpty(t)&&i.J.safeRemove(t))}}},78818(e,t,r){r.d(t,{B(){return c}});var i=r(91907),o=r(65478),n=r(6441),s=r(92643),a=r(52604),l=r(57034);n.T.prototype.history={enable:!0,maxHistoryLength:1/0,timeout:1e3};class c extends i.vG{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){const t=this.snapshot.make();if(!a.F.equal(t,this.startValue)){const r=new s.u(this.startValue,t,this,this.updateTick);if(e){const e=this.__stack.current();e&&this.updateTick===e.tick&&this.__stack.replace(r)}else this.__stack.push(r);this.startValue=t,this.fireChangeStack()}}fireChangeStack(){var e;this.j&&!this.j.isInDestruct&&(null===(e=this.j.events)||void 0===e||e.fire("changeStack"))}destruct(){this.isInDestruct||(this.j.events&&this.j.e.off(".history"),this.snapshot.destruct(),super.destruct())}constructor(e,t=new l.B(e.o.history.maxHistoryLength),r=new a.F(e)){super(e),this.updateTick=0,this.__stack=t,this.snapshot=r,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,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);n>3&&s&&Object.defineProperty(t,r,s)}([(0,o.debounce)()],c.prototype,"onChange",null)},78927(e,t,r){r.d(t,{N(){return s}});var i=r(91907),o=r(23282),n=r(89890);function s(){return(e,t)=>{if(!(0,o.T)(e[t]))throw(0,n.z3)("Handler must be a Function");e.hookStatus(i.f.ready,e=>{const{async:r}=e,i=e[t];e[t]=(...t)=>r.requestIdleCallback(i.bind(e,...t))})}}},79348(e,t,r){r.d(t,{L(){return p}});var i=r(82758),o=r(65478),n=r(2748),s=r(21537),a=r(27613),l=r(38837),c=r(43463),d=r(25639),u=r(45124),h=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};class p{get j(){return this.jodit}errorNode(e){if(!n.J.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.Tn)(this.j.o.shadowRoot.getSelection)?this.j.o.shadowRoot.getSelection():this.win.getSelection()}get range(){const e=this.sel;return e&&e.rangeCount?e.getRangeAt(0):this.createRange()}get isInsideArea(){const{sel:e}=this,t=(null==e?void 0:e.rangeCount)?e.getRangeAt(0):null;return!(!t||!n.J.isOrContains(this.area,t.startContainer))}createRange(e=!1){const t=this.doc.createRange();return e&&this.selectRange(t),t}remove(){const e=this.sel,t=this.current();if(e&&t)for(let t=0;e.rangeCount>t;t+=1)e.getRangeAt(t).deleteContents(),e.getRangeAt(t).collapse(!0)}clear(){var e,t;(null===(e=this.sel)||void 0===e?void 0:e.rangeCount)&&(null===(t=this.sel)||void 0===t||t.removeAllRanges())}removeNode(e){if(!n.J.isOrContains(this.j.editor,e,!0))throw(0,s.error)("Selection.removeNode can remove only editor's children");n.J.safeRemove(e),this.j.e.fire("afterRemoveNode",e)}insertCursorAtPoint(e,t){this.removeMarkers();try{const r=this.createRange();return(()=>{if(this.doc.caretPositionFromPoint){const i=this.doc.caretPositionFromPoint(e,t);if(i)return void r.setStart(i.offsetNode,i.offset)}if(this.doc.caretRangeFromPoint){const i=this.doc.caretRangeFromPoint(e,t);(0,l.v)(i,"Incorrect caretRangeFromPoint behaviour"),r.setStart(i.startContainer,i.startOffset)}})(),r.collapse(!0),this.selectRange(r),!0}catch(e){}return!1}get hasMarkers(){return!!this.markers.length}get markers(){return(0,s.$$)("span[data-"+i.MARKER_CLASS+"]",this.area)}removeMarkers(){n.J.safeRemove.apply(null,this.markers)}marker(e=!1,t){let r=null;t&&(r=t.cloneRange(),r.collapse(e));const o=this.j.createInside.span();return o.id=i.MARKER_CLASS+"_"+Number(new Date)+"_"+(Math.random()+"").slice(2),o.style.lineHeight="0",o.style.display="none",n.J.markTemporary(o),(0,s.attr)(o,"data-"+i.MARKER_CLASS,e?"start":"end"),o.appendChild(this.j.createInside.text(i.INVISIBLE_SPACE)),r&&n.J.isOrContains(this.area,e?r.startContainer:r.endContainer)&&r.insertNode(o),o}restore(){let e=!1;const t=e=>`span[data-${i.MARKER_CLASS}=${e?"start":"end"}]`,r=this.area.querySelector(t(!0)),o=this.area.querySelector(t(!1));if(r){if(e=this.createRange(),o)e.setStartAfter(r),n.J.safeRemove(r),e.setEndBefore(o),n.J.safeRemove(o);else{const t=r.previousSibling;n.J.isText(t)?e.setStart(t,t.nodeValue?t.nodeValue.length:0):e.setStartBefore(r),n.J.safeRemove(r),e.collapse(!0)}e&&this.selectRange(e)}}fakes(){const e=this.sel;if(!e||!e.rangeCount)return[];const t=e.getRangeAt(0);(0,l.v)(t,"Range is null");const r=t.cloneRange();r.collapse(!0);const i=this.j.createInside.fake();n.J.safeInsertNode(r,i),t.setStartBefore(i);const o=[i];if(!t.collapsed){const e=t.cloneRange();e.collapse(!1);const r=this.j.createInside.fake();n.J.safeInsertNode(e,r),t.setEndAfter(r),o.push(r)}return this.selectRange(t),o}restoreFakes(e){var t,r,i,o;const s=e.filter(e=>e.isConnected);if(!s.length)return;const[a,l]=s,c=this.createRange();c.setStartAfter(a),l&&c.setEndBefore(l),this.selectRange(c),(null===(t=a.parentNode)||void 0===t?void 0:t.firstChild)!==(null===(r=a.parentNode)||void 0===r?void 0:r.lastChild)&&n.J.safeRemove(a),(null===(i=null==l?void 0:l.parentNode)||void 0===i?void 0:i.firstChild)!==(null===(o=null==l?void 0:l.parentNode)||void 0===o?void 0:o.lastChild)&&n.J.safeRemove(l)}save(e=!1){if(this.hasMarkers)return[];const t=this.sel;if(!t||!t.rangeCount)return[];const r=[],i=t.rangeCount,o=[];for(let e=0;i>e;e+=1)if(o[e]=t.getRangeAt(e),o[e].collapsed){const t=this.marker(!0,o[e]);r[e]={startId:t.id,collapsed:!0,startMarker:t.outerHTML}}else{const t=this.marker(!0,o[e]),i=this.marker(!1,o[e]);r[e]={startId:t.id,endId:i.id,collapsed:!1,startMarker:t.outerHTML,endMarker:i.outerHTML}}if(!e){t.removeAllRanges();for(let e=i-1;e>=0;--e){const i=this.doc.getElementById(r[e].startId);if(i){if(r[e].collapsed)o[e].setStartAfter(i),o[e].collapse(!0);else if(o[e].setStartBefore(i),r[e].endId){const t=this.doc.getElementById(r[e].endId);t&&o[e].setEndAfter(t)}try{t.addRange(o[e].cloneRange())}catch(e){}}}}return r}focus(e={preventScroll:!0}){var t,r;if(!this.isFocused()){const i=(0,s.getScrollParent)(this.j.container),o=null==i?void 0:i.scrollTop;this.j.iframe&&"complete"===this.doc.readyState&&this.j.iframe.focus(e),this.win.focus(),this.area.focus(e),o&&(null==i?void 0:i.scrollTo)&&i.scrollTo(0,o);const a=this.sel,l=(null==a?void 0:a.rangeCount)?null==a?void 0:a.getRangeAt(0):null;if(!l||!n.J.isOrContains(this.area,l.startContainer)){const e=this.createRange();e.setStart(this.area,0),e.collapse(!0),this.selectRange(e,!1)}return this.j.editorIsActive||null===(r=null===(t=this.j)||void 0===t?void 0:t.events)||void 0===r||r.fire("focus"),!0}return!1}isCollapsed(){const e=this.sel;for(let t=0;e&&e.rangeCount>t;t+=1)if(!e.getRangeAt(t).collapsed)return!1;return!0}isFocused(){return this.doc.hasFocus&&this.doc.hasFocus()&&this.area===this.doc.activeElement}current(e=!0){if(this.j.getRealMode()!==i.MODE_WYSIWYG)return null;const t=this.sel;if(!t||0===t.rangeCount)return null;const r=t.getRangeAt(0);let o=r.startContainer,s=!1;const a=e=>s?e.lastChild:e.firstChild;if(n.J.isTag(o,"br")&&t.isCollapsed)return o;if(!n.J.isText(o)){const i=(0,u.dY)(o,r,s,t.isCollapsed,e,a);o=i.node,s=i.rightMode}return o&&n.J.isOrContains(this.area,o)?o:null}insertNode(e,t=!0,r=!0){this.errorNode(e);const i=n.J.isFragment(e)?e.lastChild:e;this.j.e.fire("safeHTML",e),!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore());const o=this.sel;this.j.history.snapshot.transaction(()=>{if(this.isCollapsed()||this.j.execCommand("Delete"),this.j.e.fire("beforeInsertNode",e),o&&o.rangeCount){const t=o.getRangeAt(0),{firstChild:r}=e;n.J.isOrContains(this.area,t.commonAncestorContainer)?n.J.safeInsertNode(t,e):this.area.appendChild(e),[()=>null==r?void 0:r.previousSibling,()=>null==r?void 0:r.previousSibling,()=>{var e;return null===(e=null==r?void 0:r.previousSibling)||void 0===e?void 0:e.lastChild}].forEach(e=>{const t=e();t&&n.J.isEmptyTextNode(t)&&n.J.safeRemove(t)})}else this.area.appendChild(e);const r=e=>{if(n.J.isBlock(e)){const t=e.lastChild;if(t)return r(t)}this.setCursorAfter(e)};t&&(n.J.isFragment(e)?i&&r(i):r(e)),this.j.o.scrollToPastedContent&&(0,s.scrollIntoViewIfNeeded)(null!=i?i:e,this.j.editor,this.doc)}),r&&this.j.events&&this.j.__imdSynchronizeValues(),this.j.events&&this.j.e.fire("afterInsertNode",n.J.isFragment(e)?i:e)}insertHTML(e,t=!0){if(""===e)return;const r=this.j.createInside.div(),i=this.j.createInside.fragment();let o;if(!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore()),n.J.isNode(e)?r.appendChild(e):r.innerHTML=""+e,(this.j.isEditorMode()||!1!==this.j.e.fire("insertHTML",r.innerHTML))&&(o=r.lastChild,o)){for(;r.firstChild;)o=r.firstChild,i.appendChild(r.firstChild);this.insertNode(i,t,!1),this.j.__imdSynchronizeValues()}}insertImage(e,t=null,r=null){const i=(0,a.Kg)(e)?this.j.createInside.element("img"):e;if((0,a.Kg)(e)&&i.setAttribute("src",e),null!=r){let e=""+r;e&&"auto"!==e&&0>(e+"").indexOf("px")&&0>(e+"").indexOf("%")&&(e+="px"),(0,s.attr)(i,"width",e)}t&&"object"==typeof t&&(0,s.css)(i,t);const o=()=>{(i.offsetHeight>i.naturalHeight||i.offsetWidth>i.naturalWidth)&&(i.style.width="",i.style.height=""),i.removeEventListener("load",o)};this.j.e.on(i,"load",o),i.complete&&o(),this.insertNode(i),this.j.e.fire("afterInsertImage",i)}eachSelection(e){var t;const r=this.sel;if(!r||!r.rangeCount)return;const o=r.getRangeAt(0);let l=o.commonAncestorContainer;n.J.isHTMLElement(l)||(l=l.parentElement);const c=[],d=o.startOffset,u=l.childNodes.length;let h=o.startContainer===this.area?l.childNodes[u>d?d:u-1]:o.startContainer,p=o.endContainer===this.area?l.childNodes[o.endOffset-1]:o.endContainer;n.J.isText(h)&&h===o.startContainer&&o.startOffset===(null===(t=h.nodeValue)||void 0===t?void 0:t.length)&&h.nextSibling&&(h=h.nextSibling),n.J.isText(p)&&p===o.endContainer&&0===o.endOffset&&p.previousSibling&&(p=p.previousSibling);const f=e=>{!e||e===l||n.J.isEmptyTextNode(e)||(0,a.rg)(e)||c.push(e)};f(h),h!==p&&n.J.isOrContains(l,h,!0)&&n.J.find(h,e=>(f(e),e===p||e&&e.contains&&e.contains(p)),l,!0,!1);const m=t=>{if(n.J.isOrContains(this.j.editor,t,!0)){if(t.nodeName.match(/^(UL|OL)$/))return(0,s.toArray)(t.childNodes).forEach(m);if(n.J.isTag(t,"li"))if(t.firstChild)t=t.firstChild;else{const e=this.j.createInside.text(i.INVISIBLE_SPACE);t.appendChild(e),t=e}e(t)}};0===c.length&&(n.J.isEmptyTextNode(h)&&c.push(h),h.firstChild&&c.push(h.firstChild)),c.forEach(m)}cursorInTheEdge(e,t,r=null){var i;const o=!e,a=null===(i=this.sel)||void 0===i?void 0:i.getRangeAt(0);if(null!=r||(r=this.current(!1)),!a||!r||!n.J.isOrContains(t,r,!0))return null;const l=e?a.startContainer:a.endContainer,c=e?a.startOffset:a.endOffset,d=e=>!(!e||n.J.isTag(e,"br")||n.J.isEmptyTextNode(e)||n.J.isTemporary(e)||n.J.isElement(e)&&!0===this.j.e.fire("isInvisibleForCursor",e));if(n.J.isText(l)){if((0,u.Qe)(l,c,e,o))return!1}else{const e=(0,s.toArray)(l.childNodes);if(o){if(e.slice(c).some(d))return!1}else if(e.slice(0,c).some(d))return!1}let h=r;for(;h&&h!==t;){const t=n.J.sibling(h,e);if(t){if(h=t,h&&d(h))return!1}else h=h.parentNode}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 r,i;if(this.errorNode(e),!n.J.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,s.error)("Node element must be in editor");const o=this.createRange();let a=null;return n.J.isText(e)?t?o.setStart(e,0):o.setEnd(e,null!==(i=null===(r=e.nodeValue)||void 0===r?void 0:r.length)&&void 0!==i?i:0):(a=this.j.createInside.fake(),t?o.setStartBefore(e):o.setEndAfter(e),o.collapse(t),n.J.safeInsertNode(o,a),o.selectNode(a)),o.collapse(t),this.selectRange(o),a}setCursorIn(e,t=!1){if(this.errorNode(e),!n.J.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,s.error)("Node element must be in editor");const r=this.createRange();let o=e,a=e;do{if(n.J.isText(o)||n.J.isTag(o,i.INSEPARABLE_TAGS))break;a=o,o=t?o.firstChild:o.lastChild}while(o);if(!o){const e=this.j.createInside.text(i.INVISIBLE_SPACE);n.J.isTag(a,i.INSEPARABLE_TAGS)?o=a:(a.appendChild(e),a=e)}const l=o||a;return n.J.isTag(l,i.INSEPARABLE_TAGS)?(t||n.J.isTag(l,"br")?r.setStartBefore(l):r.setEndAfter(l),r.collapse(t)):(r.selectNodeContents(l),r.collapse(t)),this.selectRange(r),a}selectRange(e,t=!0){const r=this.sel;return t&&!this.isFocused()&&this.focus(),r&&(r.removeAllRanges(),r.addRange(e)),this.j.e.fire("changeSelection"),this}select(e,t=!1){if(this.errorNode(e),!n.J.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,s.error)("Node element must be in editor");const r=this.createRange();return r[t?"selectNodeContents":"selectNode"](e),this.selectRange(r)}get html(){const e=this.sel;if(e&&e.rangeCount>0){const t=e.getRangeAt(0).cloneContents(),r=this.j.createInside.div();return r.appendChild(t),r.innerHTML}return""}*wrapInTagGen(e){if(this.isCollapsed()){const t=this.jodit.createInside.element("font",i.INVISIBLE_SPACE);return this.insertNode(t,!1,!1),e&&e[0]&&t.appendChild(e[0]),yield t,void n.J.unwrap(t)}(0,s.$$)("*[style*=font-size]",this.area).forEach(e=>{(0,s.attr)(e,"data-font-size",""+e.style.fontSize),e.style.removeProperty("font-size")}),this.j.nativeExecCommand("fontsize",!1,"7"),(0,s.$$)("*[data-font-size]",this.area).forEach(e=>{const t=(0,s.attr)(e,"data-font-size");t&&(e.style.fontSize=t,(0,s.attr)(e,"data-font-size",null))});const t=(0,s.$$)('font[size="7"]',this.area);for(const e of t){const{firstChild:t,lastChild:r}=e;t&&t===r&&(0,a.rg)(t)||(t&&(0,a.rg)(t)&&n.J.before(e,t),r&&(0,a.rg)(r)&&n.J.after(e,r),yield e),n.J.unwrap(e)}}wrapInTag(e){const t=[];for(const r of this.wrapInTagGen())try{if(r.firstChild&&r.firstChild===r.lastChild&&(0,a.rg)(r.firstChild))continue;(0,a.Tn)(e)?e(r):t.push(n.J.replace(r,e,this.j.createInside))}finally{const e=r.parentNode;e&&(n.J.unwrap(r),n.J.isEmpty(e)&&n.J.unwrap(e))}return t}commitStyle(e){(0,l.v)((0,s.size)(e)>0,"Need to pass at least one option"),new d.x(e).apply(this.j)}splitSelection(e,t){if(!this.isCollapsed())return null;const r=this.createRange(),o=this.range;r.setStartBefore(e);const s=this.cursorOnTheRight(e,t),a=this.cursorOnTheLeft(e,t),c=this.j.createInside.element("br"),d=this.j.createInside.fake(),u=d.cloneNode();try{if(s||a){t?n.J.before(t,c):n.J.safeInsertNode(o,c);const e=(e,t)=>{let r=t(e);for(;r;){const e=t(r);if(!r||!n.J.isTag(r,"br")&&!n.J.isEmptyTextNode(r))break;n.J.safeRemove(r),r=e}};e(c,e=>e.nextSibling),e(c,e=>e.previousSibling),n.J.after(c,u),n.J.before(c,d),s?(r.setEndBefore(c),o.setEndBefore(c)):(r.setEndAfter(c),o.setEndAfter(c))}else r.setEnd(o.startContainer,o.startOffset);const h=r.extractContents(),p=e=>n.J.each(e,e=>n.J.isEmptyTextNode(e)&&n.J.safeRemove(e));(0,l.v)(e.parentNode,"Splitting fails");try{if(p(h),p(e),e.parentNode.insertBefore(h,e),!t&&s&&(null==c?void 0:c.parentNode)){const e=this.createRange();e.setStartBefore(c),this.selectRange(e)}}catch(e){if(!i.IS_PROD)throw e}const f=e=>{var t,r,i;(null===(t=null==e?void 0:e.parentNode)||void 0===t?void 0:t.firstChild)===(null===(r=null==e?void 0:e.parentNode)||void 0===r?void 0:r.lastChild)&&(null===(i=null==e?void 0:e.parentNode)||void 0===i||i.appendChild(c.cloneNode()))};f(d),f(u)}finally{n.J.safeRemove(d),n.J.safeRemove(u)}return e.previousElementSibling}expandSelection(){if(this.isCollapsed())return this;const{range:e}=this,t=e.cloneRange();if(!n.J.isOrContains(this.j.editor,e.commonAncestorContainer,!0))return this;const r=t=>{const r=this.j.createInside.fake(),i=e.cloneRange();return i.collapse(t),n.J.safeInsertNode(i,r),(0,c.G)(r,t,this.j.editor),r},i=r(!0),o=r(!1);t.setStartAfter(i),t.setEndBefore(o);const a=n.J.findSibling(i,!1),l=n.J.findSibling(o,!0);if(a!==l){const e=n.J.isElement(a)&&n.J.isOrContains(a,o),r=!e&&n.J.isElement(l)&&n.J.isOrContains(l,i);if(e||r){let r=e?a:l,s=r;for(;n.J.isElement(r);)r=e?r.firstElementChild:r.lastElementChild,r&&n.J.isOrContains(r,e?o:i)&&(s=r);e?t.setStart(s,0):t.setEnd(s,s.childNodes.length)}}if(this.selectRange(t),n.J.safeRemove(i,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(e,t,r){var i=r(12153),o=r(6441),n=r(94775),s=r(23140),a=r(92699),l=r(10052);o.T.prototype.controls.cut={command:"cut",isDisabled(e){return e.s.isCollapsed()},tooltip:"Cut selection"},o.T.prototype.controls.copy={command:"copy",isDisabled(e){return e.s.isCollapsed()},tooltip:"Copy selection"},o.T.prototype.controls.selectall={icon:"select-all",command:"selectall",tooltip:"Select all"},i.I.set("copy",n.A).set("cut",s.A).set("paste",a.A).set("select-all",l.A)},79799(e,t,r){var i=r(82758),o=r(65478),n=r(2748),s=r(580),a=r(21537),l=r(20356),c=(r(84380),r(117)),d=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};class u extends l.k{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;const t=(0,a.getDataTransfer)(e),r=[null==t?void 0:t.getData(i.TEXT_PLAIN),null==t?void 0:t.getData(i.TEXT_HTML),null==t?void 0:t.getData(i.TEXT_RTF)];for(const t of r)if((0,a.isHTML)(t)&&(this.j.e.fire("processHTML",e,t,{plain:r[0],html:r[1],rtf:r[2]})||this.processHTML(e,t)))return!1}defaultPasteProcess(e){const t=(0,a.getDataTransfer)(e);let r=(null==t?void 0:t.getData(i.TEXT_HTML))||(null==t?void 0:t.getData(i.TEXT_PLAIN));if(t&&r&&""!==(0,a.trim)(r)){const i=this.j.e.fire("processPaste",e,r,(0,c.DI)(t));void 0!==i&&(r=i),((0,a.isString)(r)||n.J.isNode(r))&&this.__insertByType(e,r,this.j.o.defaultActionOnPaste),e.preventDefault(),e.stopPropagation()}}processHTML(e,t){if(!this.j.o.askBeforePasteHTML)return!1;if(this.j.o.memorizeChoiceWhenPasteFragment){const r=this.pasteStack.find(e=>e.html===t);if(r)return this.__insertByType(e,t,r.action||this.j.o.defaultActionOnPaste),!0}if(this._isDialogOpened)return!0;const r=(0,c.PU)(this.j,"Your code is similar to HTML. Keep as HTML?","Paste as HTML",r=>{this._isDialogOpened=!1,this.__insertByType(e,t,r)},this.j.o.pasteHTMLActionList);return r&&(this._isDialogOpened=!0,r.e.on("beforeClose",()=>{this._isDialogOpened=!1})),!0}__insertByType(e,t,r){if(this.pasteStack.push({html:t,action:r}),(0,a.isString)(t))switch(this.j.buffer.set(i.CLIPBOARD_ID,t),r){case i.INSERT_CLEAR_HTML:t=(0,a.cleanFromWord)(t);break;case i.INSERT_ONLY_TEXT:t=(0,a.stripTags)(t,this.j.ed,new Set(this.j.o.pasteExcludeStripTags));break;case i.INSERT_AS_TEXT:t=(0,a.htmlspecialchars)(t);break;default:{const i=this.j.e.fire("onCustomPasteHTMLOption",r,t,e);"string"==typeof i&&(t=i)}}(0,c.sX)(e,this.j,t)}onProcessPasteReplaceNl2Br(e,t,r){if(r===i.TEXT_PLAIN+";"&&!(0,a.isHTML)(t))return(0,a.nl2br)(t)}constructor(){super(...arguments),this.pasteStack=new a.LimitedStack(20),this._isDialogOpened=!1}}d([o.autobind],u.prototype,"onPaste",null),d([o.autobind],u.prototype,"onProcessPasteReplaceNl2Br",null),s.fg.add("paste",u)},79910(e,t){t.A={"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(e,t,r){r.d(t,{_(){return n}});var i=r(21537),o=r(71686);function n(e,t,r,n,s){if(!t)return Promise.reject((0,i.error)("Need files"));const{o:a}=e;let l=(0,i.toArray)(t);if(!l.length)return Promise.reject((0,i.error)("Need files"));const c=[];if(a.insertImageAsBase64URI&&((e,t,r,o,n,s)=>{let a,l;for(l=0;e.length>l;l+=1)if(a=e[l],a&&a.type){const c=a.type.match(/\/([a-z0-9]+)/i),d=c[1]?c[1].toLowerCase():"";if(!t.includes(d))continue;const u=new FileReader;r.push(o.j.async.promise((e,t)=>{u.onerror=t,u.onloadend=()=>{const t={baseurl:"",files:[u.result],isImages:[!0]};((0,i.isFunction)(n)?n:s).call(o,t),e(t)},u.readAsDataURL(a)})),e[l]=null}})(l,a.imagesExtensions,c,e,r,a.defaultHandlerSuccess),l=l.filter(e=>e),l.length){const t=new FormData;let d;t.append(a.pathVariableName,e.path),t.append("source",e.source);for(let r=0;l.length>r;r+=1)if(d=l[r],d){const i=/\.\w+$/.test(d.name),o=d.type.match(/\/([a-z0-9]+)/i),n=o&&o[1]?o[1].toLowerCase():"";let s=l[r].name||(""+Math.random()).replace(".","");if(!i&&n){let e=n;["jpeg","jpg"].includes(e)&&(e="jpeg|jpg"),RegExp(".("+e+")$","i").test(s)||(s+="."+n)}const[c,u,h]=a.processFileName.call(e,a.filesVariableName(r),l[r],s);t.append(c,u,h)}s&&s(t),a.data&&(0,i.isPlainObject)(a.data)&&Object.keys(a.data).forEach(e=>{t.append(e,a.data[e])}),a.prepareData.call(e,t),c.push((0,o.t)(e,t).then(t=>a.isSuccess.call(e,t)?(((0,i.isFunction)(r)?r:a.defaultHandlerSuccess).call(e,a.process.call(e,t)),t):(((0,i.isFunction)(n)?n:a.defaultHandlerError).call(e,(0,i.error)(a.getMessage.call(e,t))),t)).then(()=>{e.j.events&&e.j.e.fire("filesWereUploaded")}))}return Promise.all(c)}},80152(e,t){t.A='<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(e,t,r){r.d(t,{t(){return h}});var i,o=r(65478),n=r(2748),s=r(4510),a=r(43555),l=r(48538),c=r(30389),d=r(12153),u=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};let h=i=class e extends l.D{className(){return"UIInput"}onChangeClear(){this.state.clearButton?n.J.after(this.nativeInput,this.clearButton):n.J.safeRemove(this.clearButton)}onChangeClassName(e,t){t&&this.container.classList.remove(t),this.state.className&&this.container.classList.add(this.state.className)}onChangeState(){this.name=this.state.name;const e=this.nativeInput,{name:t,icon:r,type:i,ref:o,required:s,placeholder:l,autocomplete:c,label:u}=this.state;(0,a.CF)(e,"name",t),(0,a.CF)(e,"type",i),(0,a.CF)(e,"data-ref",o||t),(0,a.CF)(e,"ref",o||t),(0,a.CF)(e,"required",s||null),(0,a.CF)(e,"autocomplete",c?null:"off"),(0,a.CF)(e,"placeholder",l?this.j.i18n(l):""),r&&d.I.exists(r)?(n.J.before(e,this.icon),this.icon.innerHTML=d.I.get(r)):n.J.safeRemove(this.icon),u?(n.J.before(this.wrapper,this.label),this.label.innerText=this.j.i18n(u)):n.J.safeRemove(this.label),this.updateValidators()}updateValidators(){var e;this.validators.clear(),this.state.required&&this.validators.add(c.O.required),null===(e=this.state.validators)||void 0===e||e.forEach(e=>{const t=c.O[e];t&&this.validators.add(t)})}set error(e){this.setMod("has-error",!!e),e?(this.__errorBox.innerText=this.j.i18n(e,this.j.i18n(this.state.label||"")),this.container.appendChild(this.__errorBox)):n.J.safeRemove(this.__errorBox)}get value(){return this.nativeInput.value}set value(e){this.value!==e&&(this.nativeInput.value=e,this.onChangeValue())}onChangeStateValue(){const e=""+this.state.value;e!==this.value&&(this.value=e)}onChangeValue(){var e,t;const{value:r}=this;this.state.value!==r&&(this.state.value=r,this.j.e.fire(this,"change",r),null===(t=(e=this.state).onChange)||void 0===t||t.call(e,r))}validate(){this.error="";const e=(0,s.$)(this.validators).every(e=>e(this));return this.__markInputInvalid(),e}__markInputInvalid(){var e,t,r,i;this.error?(this.nativeInput.setAttribute("aria-invalid","true"),null===(t=(e=this.nativeInput).setCustomValidity)||void 0===t||t.call(e,this.error)):(this.nativeInput.removeAttribute("aria-invalid"),null===(i=(r=this.nativeInput).setCustomValidity)||void 0===i||i.call(r,""))}createContainer(e){const t=super.createContainer();this.wrapper=this.j.c.div(this.getFullElName("wrapper")),this.nativeInput||(this.nativeInput=this.createNativeInput());const{nativeInput:r}=this;return r.classList.add(this.getFullElName("input")),this.wrapper.appendChild(r),t.appendChild(this.wrapper),(0,a.CF)(r,"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"),d.I.get("cancel")),this.state={...i.defaultState},this.__errorBox=this.j.c.span(this.getFullElName("error")),this.validators=new Set([]),void 0!==(null==t?void 0:t.value)&&(t.value=""+t.value),Object.assign(this.state,t),void 0!==this.state.clearButton&&(this.j.e.on(this.clearButton,"click",e=>{e.preventDefault(),this.nativeInput.value="",this.j.e.fire(this.nativeInput,"input"),this.focus()}).on(this.nativeInput,"input",()=>{this.state.clearButton=!!this.value.length}),this.state.clearButton=!!this.value.length),this.j.e.on(this.nativeInput,"focus blur",()=>{this.onChangeFocus()}).on(this.nativeInput,"input change",this.onChangeValue),this.onChangeState(),this.onChangeClassName(),this.onChangeStateValue()}};h.defaultState={className:"",autocomplete:!0,name:"",value:"",icon:"",label:"",ref:"",type:"text",placeholder:"",required:!1,validators:[]},u([(0,o.watch)("state.clearButton")],h.prototype,"onChangeClear",null),u([(0,o.watch)("state.className")],h.prototype,"onChangeClassName",null),u([(0,o.watch)(["state.name","state.type","state.label","state.placeholder","state.autocomplete","state.icon"],{immediately:!1}),(0,o.debounce)()],h.prototype,"onChangeState",null),u([(0,o.watch)("state.value")],h.prototype,"onChangeStateValue",null),u([o.autobind],h.prototype,"onChangeValue",null),h=i=u([o.component],h)},80319(e,t,r){r.d(t,{P(){return a}});var i=r(65478),o=r(22732),n=r(21537),s=r(62843);let a=class e extends s.lD{className(){return"ToolbarContent"}update(){const e=this.control.getContent(this.j,this);((0,n.isString)(e)||e.parentNode!==this.container)&&(o.J.detach(this.container),this.container.appendChild((0,n.isString)(e)?this.j.create.fromHTML(e):e)),super.update()}createContainer(){return this.j.c.span(this.componentName)}constructor(e,t,r=null){super(e),this.control=t,this.target=r,this.container.classList.add(`${this.componentName}_${this.clearName(t.name)}`),(0,n.attr)(this.container,"role","content")}};a=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([i.component],a)},80480(e,t,r){r.d(t,{v(){return o}});var i=r(4012);class o extends i.u{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(e,t,r){var i=r(68345),o=r(19306),n=r(6441);n.T.prototype.enableDragAndDropFileToEditor=!0,n.T.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,i.c)(e.data.messages)?e.data.messages.join(" "):"",processFileName:(e,t,r)=>[e,t,r],process:e=>e.data,error(e){this.j.message.error(e.message,4e3)},getDisplayName:(e,t)=>e+t,defaultHandlerSuccess(e){const t=this.j||this;(0,o.y)(t)&&e.files&&e.files.length&&e.files.forEach((r,i)=>{const[o,n]=e.isImages&&e.isImages[i]?["img","src"]:["a","href"],s=t.createInside.element(o);s.setAttribute(n,e.baseurl+r),"a"===o&&(s.textContent=t.o.uploader.getDisplayName.call(this,e.baseurl,r)),"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(e,t,r){r.d(t,{M(){return o},u(){return n}});var i=r(23282);const o=new Map,n=e=>{var t;if((0,i.T)(e.className))return e.className();const r=(null===(t=e.constructor)||void 0===t?void 0:t.originalConstructor)||e.constructor;if(o.has(r))return o.get(r);if(r.name)return r.name;const n=RegExp(/^\s*function\s*(\S*)\s*\(/),s=(""+r).match(n);return s?s[1]:""}},80763(e,t,r){var i=r(82758),o=r(65478),n=r(580),s=r(21537),a=r(50911),l=(r(85745),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});const c="__jodit_imageprocessor_binded",d=c+"blob-id";class u extends a.k{afterInit(e){}beforeDestruct(e){const t=(0,o.cached)(e,"buffer"),r=null==t?void 0:t.get(d);if(t&&r){const e=Object.keys(r);for(const t of e)URL.revokeObjectURL(t);t.delete(d)}}onAfterGetValueFromEditor(e,t){if(t!==i.SOURCE_CONSUMER)return this.onBeforeSetElementValue(e)}onBeforeSetElementValue(e){const{jodit:t}=this;if(!t.o.imageProcessor.replaceDataURIToBlobIdInView)return;const r=t.buffer.get(d);if(r){const t=Object.keys(r);for(const i of t)for(;e.value.includes(i);)e.value=e.value.replace(i,r[i])}}async afterChange(e){const{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 r(){var i;!t.isInDestruct&&(null===(i=t.e)||void 0===i||i.fire("resize")),t.e.off(e,"load",r)}),e.src&&/^data:/.test(e.src)&&((e,t)=>{if(!e.o.imageProcessor.replaceDataURIToBlobIdInView)return;if("undefined"==typeof ArrayBuffer||"undefined"==typeof URL)return;const r=t.src,i=(e=>{const t=atob(e.split(",")[1]),r=e.split(",")[0].split(":")[1].split(";")[0],i=new ArrayBuffer(t.length),o=new Uint8Array(i);for(let e=0;t.length>e;e++)o[e]=t.charCodeAt(e);return new Blob([i],{type:r})})(r);t.src=URL.createObjectURL(i),e.e.fire("internalUpdate");const{buffer:o}=e,n=o.get(d)||{};n[t.src]=r,e.buffer.set(d,n)})(t,e),t.e.on(e,"mousedown touchstart",()=>{t.s.select(e)}))})}}l([(0,o.watch)(":afterGetValueFromEditor")],u.prototype,"onAfterGetValueFromEditor",null),l([(0,o.watch)(":beforeSetElementValue")],u.prototype,"onBeforeSetElementValue",null),l([(0,o.watch)([":change",":afterInit",":changePlace"]),(0,o.debounce)()],u.prototype,"afterChange",null),n.fg.add("imageProcessor",u)},80792(e,t,r){var i=r(6441);i.T.prototype.minWidth=200,i.T.prototype.maxWidth="100%",i.T.prototype.minHeight=200,i.T.prototype.maxHeight="auto",i.T.prototype.saveHeightInStorage=!1},80870(e,t,r){r.d(t,{t(){return a}});var i=r(87325),o=r(68345),n=r(10830),s=r(56917);let a=class e extends s.z{className(){return"ContextMenu"}show(e,t,r){const i=this;i.clear(),(0,o.c)(r)&&(r.forEach(e=>{if(!e)return;const t=(0,n.$n)(this.jodit,e.icon||"empty",e.title);this.jodit&&t.setParentView(this.jodit),t.setMod("context","menu"),t.onAction(t=>{var r;return null===(r=e.exec)||void 0===r||r.call(i,t),i.clear(),i.close(),!1}),this.append(t)}),this.open(()=>({left:e,top:t,width:0,height:0}),!0))}};a=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([i.s],a)},80926(e,t){t.A={"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(e,t,r){r.d(t,{H(){return o}});var i=r(2748);function o(e,t,r){const o=((e,t,r)=>{if(!r||!i.J.isHTMLElement(t))return t;const o=r[t.nodeName.toLowerCase()]||r[t.nodeName];return o?i.J.replace(t,o,e.createInside,!0,!1):t})(e,t,e.o.cleanHTML.replaceOldTags);return t!==o?(t=o,!0):r}},81284(e,t,r){r.d(t,{c(){return i}});const i=(e,t,r,o=!1)=>{let n;try{n=e.getBoundingClientRect()}catch(e){n={top:0,bottom:0,left:0,right:0,width:0,height:0}}const s=r.body,a=r.documentElement||{clientTop:0,clientLeft:0,scrollTop:0,scrollLeft:0},l=r.defaultView||r.parentWindow,c=l.pageYOffset||a.scrollTop||s.scrollTop,d=l.pageXOffset||a.scrollLeft||s.scrollLeft,u=a.clientTop||s.clientTop||0,h=a.clientLeft||s.clientLeft||0;let p,f;const m=t.iframe;if(!o&&t&&t.options&&t.o.iframe&&m){const{top:e,left:r}=i(m,t,t.od,!0);p=n.top+e,f=n.left+r}else p=n.top+c-u,f=n.left+d-h;return{top:Math.round(p),left:Math.round(f),width:n.width,height:n.height}}},81577(e,t,r){r.d(t,{n(){return l},s(){return a}});var i=r(91907),o=r(27613),n=r(38837),s=r(89890);function a(e,t=!1,r="debounce"){return(a,l)=>{const c=a[l];if(!(0,o.Tn)(c))throw(0,s.z3)("Handler must be a Function");return a.hookStatus(i.f.ready,i=>{const{async:s}=i;(0,n.v)(null!=s,`Component ${i.componentName||i.constructor.name} should have "async:IAsync" field`);const a=(0,o.Tn)(e)?e(i):e,c=(0,o.Et)(a)||(0,o.Qd)(a)?a:i.defaultTimeout;Object.defineProperty(i,l,{configurable:!0,value:s[r](i[l].bind(i),c,t)})}),{configurable:!0,get(){return c.bind(this)}}}}function l(e,t=!1){return a(e,t,"throttle")}},81630(e,t,r){r.d(t,{x(){return i}});const i=(e,t)=>{const r=t.getComputedStyle(e);let i=e.clientWidth;return i-=parseFloat(r.paddingLeft||"0")+parseFloat(r.paddingRight||"0"),i}},82168(e,t){t.A={"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(e,t,r){var i=r(65478),o=r(2748),n=r(70071),s=r(580),a=r(86518),l=r(20356),c=(r(46776),r(59498)),d=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};class u extends l.k{afterInit(e){}get isEditMode(){return!(this.j.isInDestruct||!this.j.isEditorMode()||this.j.getReadOnly())}onChangeCleanHTML(){if(!this.isEditMode)return;const e=this.j;this.walker.setWork(e.editor),this.currentSelectionNode=e.s.current()}startWalker(){const{jodit:e}=this,t=(0,c.Zd)(this.j.o.cleanHTML.allowTags),r=(0,c.Zd)(this.j.o.cleanHTML.denyTags);this.walker.on("visit",i=>(0,c.eZ)(e,i,t,r,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.w5)(this.j):(0,c.hk)(this.j),!1}onBeforeSetNativeEditorValue(e){const[t,r]=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.t)(t,{safeJavaScriptLink:!0,removeOnError:!0}),o.J.safeRemove(r),!1}onSafeHTML(e){(0,a.t)(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 n.p(this.j.async,{timeout:this.j.o.cleanHTML.timeout})}}d([(0,i.watch)([":change",":afterSetMode",":afterInit",":mousedown",":keydown"])],u.prototype,"onChangeCleanHTML",null),d([(0,i.hook)("ready")],u.prototype,"startWalker",null),d([(0,i.watch)(":beforeCommand")],u.prototype,"beforeCommand",null),d([(0,i.watch)(":beforeSetNativeEditorValue")],u.prototype,"onBeforeSetNativeEditorValue",null),d([(0,i.watch)(":safeHTML")],u.prototype,"onSafeHTML",null),s.fg.add("cleanHtml",u)},82501(e,t,r){r.d(t,{m(){return i}});const i=e=>{const t={},r=e.substring(1).split("&");for(let e=0;r.length>e;e+=1){const i=r[e].split("=");t[decodeURIComponent(i[0])]=decodeURIComponent(i[1]||"")}return t}},82515(e,t,r){r.d(t,{z(){return s}});var i=r(22732),o=r(63687),n=r(77361);function s(e,t,r){const s=r.e.fire(n.ar+"BeforeWrapList",n.dj,t,e),a=null!=s?s:i.J.replace(t,"li",r.createInside),l=a.previousElementSibling,c=a.nextElementSibling;let d=i.J.isTag(l,e.element)?l:null;return null!=d||(d=i.J.isTag(c,e.element)?c:null),i.J.isList(d)&&(0,o.M6)(d,e.options.attributes)||(d=r.createInside.element(e.element),(0,o.Yx)(e,d,r,n.DI),i.J.before(a,d)),l===d?i.J.append(d,a):i.J.prepend(d,a),i.J.isTag(d.nextElementSibling,e.element)&&(0,o.Dd)(d,d.nextElementSibling)&&(i.J.append(d,Array.from(d.nextElementSibling.childNodes)),i.J.safeRemove(d.nextElementSibling)),r.e.fire(n.ar+"AfterWrapList",n.Zk,d,e),d}},82558(e,t,r){r.d(t,{f(){return o}});var i=r(2748);function o(e,t,r,o){if(o&&i.J.isElement(t)&&!0!==o[t.nodeName]){const e=t.attributes;if(e&&e.length){const i=[];for(let r=0;e.length>r;r+=1){const n=o[t.nodeName][e[r].name];(!n||!0!==n&&n!==e[r].value)&&i.push(e[r].name)}i.length&&(r=!0),i.forEach(e=>{t.removeAttribute(e)})}}return r}},82758(e,t,r){r.r(t),r.d(t,{ACCURACY(){return q},APP_VERSION(){return i},BASE_PATH(){return he},BASE_PATH_IS_MIN(){return pe},BR(){return W},CLIPBOARD_ID(){return ge},COMMAND_KEYS(){return V},EMULATE_DBLCLICK_TIMEOUT(){return te},ES(){return o},FAT_MODE(){return c},HOMEPAGE(){return d},INSEPARABLE_TAGS(){return I},INSERT_AS_HTML(){return re},INSERT_AS_TEXT(){return oe},INSERT_CLEAR_HTML(){return ie},INSERT_ONLY_TEXT(){return ne},INVISIBLE_SPACE(){return p},INVISIBLE_SPACE_REG_EXP(){return m},INVISIBLE_SPACE_REG_EXP_END(){return g},INVISIBLE_SPACE_REG_EXP_START(){return v},IS_BLOCK(){return C},IS_ES_MODERN(){return n},IS_ES_NEXT(){return s},IS_IE(){return G},IS_INLINE(){return S},IS_MAC(){return ae},IS_PROD(){return a},IS_TEST(){return l},KEY_ALIASES(){return le},KEY_ALT(){return P},KEY_BACKSPACE(){return z},KEY_DELETE(){return H},KEY_DOWN(){return N},KEY_ENTER(){return L},KEY_ESC(){return R},KEY_F3(){return F},KEY_LEFT(){return M},KEY_META(){return j},KEY_RIGHT(){return O},KEY_SPACE(){return B},KEY_TAB(){return x},KEY_UP(){return D},LIST_TAGS(){return T},MARKER_CLASS(){return ee},MODE_SOURCE(){return Y},MODE_SPLIT(){return K},MODE_WYSIWYG(){return $},NBSP_SPACE(){return f},NEARBY(){return J},NO_EMPTY_TAGS(){return A},PARAGRAPH(){return U},PASSIVE_EVENTS(){return be},SAFE_COUNT_CHANGE_CALL(){return se},SET_TEST(){return u},SOURCE_CONSUMER(){return ve},SPACE_REG_EXP(){return b},SPACE_REG_EXP_END(){return w},SPACE_REG_EXP_START(){return y},TEMP_ATTR(){return fe},TEXT_HTML(){return Z},TEXT_PLAIN(){return X},TEXT_RTF(){return Q},TOKENS(){return h},globalDocument(){return k},globalWindow(){return _},lang(){return me}});const i="4.6.25",o="es2021",n=!0,s=!0,a=!0;let l=!1;const c=!1,d="https://xdsoft.net/jodit/pro/",u=()=>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,w=()=>/[\s\n\t\r\uFEFF\u200b]+$/g,_="undefined"!=typeof window?window:void 0,k="undefined"!=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,S=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,T=new Set(["ul","ol"]),E=["img","video","svg","iframe","script","input","textarea","link","jodit","jodit-media"],I=new Set([...E,"br","hr"]),A=new Set(E),j="Meta",z="Backspace",x="Tab",L="Enter",R="Escape",P="Alt",M="ArrowLeft",D="ArrowUp",O="ArrowRight",N="ArrowDown",B="Space",H="Delete",F="F3",J=5,q=10,V=[j,z,H,D,N,O,M,L,R,F,x],W="br",U="p",$=1,Y=2,K=3,G="undefined"!=typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),X=G?"text":"text/plain",Z=G?"html":"text/html",Q=G?"rtf":"text/rtf",ee="jodit-selection_marker",te=300,re="insert_as_html",ie="insert_clear_html",oe="insert_as_text",ne="insert_only_text",se=10,ae=void 0!==_&&/Mac|iPod|iPhone|iPad/.test(_.navigator.platform),le={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:ae?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:"space",spacebar:"space",up:"arrowup",win:"meta",windows:"meta"},ce=e=>{const t=e.split("/"),r=!0;return/\.js/.test(t[t.length-1])?{basePath:t.slice(0,t.length-1).join("/")+"/",isMin:r}:{basePath:e,isMin:r}},{basePath:de,isMin:ue}=(()=>{if("undefined"==typeof document)return{basePath:"",isMin:!0};const e=k.currentScript;if(e)return ce(e.src);const t=k.querySelectorAll("script[src]");return ce(t&&t.length?t[t.length-1].src:_.location.href)})(),he=de,pe=ue,fe="data-jodit-temp",me={},ge="clipboard",ve="source-consumer",be=new Set(["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"])},82760(e,t,r){r.d(t,{FI(){return n},fF(){return s},z3(){return o}});var i=r(32880);function o(e){return new TypeError(e)}function n(e){return new i.Rc(e)}function s(e){return new i.ZW(e)}},83111(e,t,r){r.d(t,{q(){return a}});var i=r(65478),o=r(72430),n=r(70799),s=r(78644);let a=class e extends s.I{className(){return"ToolbarSelect"}update(){var e,t,r;super.update(),this.state.icon.name="";const{list:i,data:s}=this.control;if(i){let a=this.state.value||(s&&(0,n.K)(s.currentValue)?s.currentValue:void 0);a||(a=Object.keys(i)[0]);const l=""+((0,o.Q)(i)&&i[""+a]||a);this.state.text=null!==(r=null===(t=(e=this.control).textTemplate)||void 0===t?void 0:t.call(e,this.jodit,l))&&void 0!==r?r:l}}};a=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([i.component],a)},83160(e,t){t.A={"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(e,t,r){r.d(t,{Z(){return n}});var i=r(70799),o=r(49055);function n(e){const t=/([^[]*)\[([^\]]+)]/,r=/[\s]*,[\s]*/,n=/^(.*)[\s]*=[\s]*(.*)$/,s={};return(0,i.K)(e)?(e.split(r).map(e=>{e=(0,o.Bq)(e);const i=t.exec(e),a={},l=e=>{e=(0,o.Bq)(e);const t=n.exec(e);t?a[t[1]]=t[2]:a[e]=!0};if(i){const e=i[2].split(r);i[1]&&(e.forEach(l),s[i[1].toUpperCase()]=a)}else s[e.toUpperCase()]=!0}),s):!!e&&(Object.keys(e).forEach(t=>{s[t.toUpperCase()]=e[t]}),s)}},83632(e,t,r){r.d(t,{O(){return s}});var i=r(63687),o=r(77361),n=r(55307);function s(e,t){var r;const{s,editor:a}=e;null===(r=a.firstChild)||void 0===r||r.normalize();const l=s.fakes(),c=e.s.wrapInTagGen(l);let d=c.next();if(d.done)return;let u={collapsed:s.isCollapsed(),mode:o.DI,element:d.value,next:n.x.START,jodit:e,style:t};for(;d&&!d.done;){const e=new i.EF(n.x.START,n.g);for(u.element=d.value;e.getState()!==n.x.END;)u=e.dispatch("exec",u);d=c.next()}s.restoreFakes(l)}},83671(e,t,r){var i=r(82758),o=r(22732),n=r(580),s=r(21537),a=r(50911),l=r(80870),c=r(21491);r(86012),n.fg.add("xpath",class d extends a.k{afterInit(){this.j.o.showXPathInStatusbar&&(this.container=this.j.c.div("jodit-xpath"),this.j.e.off(".xpath").on("mouseup.xpath change.xpath keydown.xpath changeSelection.xpath",this.calcPath).on("afterSetMode.xpath afterInit.xpath changePlace.xpath",()=>{this.j.o.showXPathInStatusbar&&this.container&&(this.j.statusbar.append(this.container),this.j.getRealMode()===i.MODE_WYSIWYG?this.calcPath():(this.container&&(this.container.innerHTML=i.INVISIBLE_SPACE),this.appendSelectAll()))}),this.calcPath())}beforeDestruct(){this.j&&this.j.events&&this.j.e.off(".xpath"),this.removeSelectAll(),this.menu&&this.menu.destruct(),o.J.safeRemove(this.container),delete this.menu,delete this.container}constructor(){super(...arguments),this.onContext=(e,t)=>(this.menu||(this.menu=new l.t(this.j)),this.menu.show(t.clientX,t.clientY,[{icon:"bin",title:e===this.j.editor?"Clear":"Remove",exec:()=>{e!==this.j.editor?o.J.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();const r=(0,s.attr)(t.target,"-path")||"/";if("/"===r)return this.j.execCommand("selectall"),!1;try{const e=this.j.ed.evaluate(r,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,r,i)=>{const o=this.j.c.fromHTML(`<span class="jodit-xpath__item"><a role="button" data-path="${t}" title="${i}" tabindex="-1"'>${(0,s.trim)(r)}</a></span>`),n=o.firstChild;return this.j.e.on(n,"click",this.onSelectPath.bind(this,e)).on(n,"contextmenu",this.onContext.bind(this,e)),o},this.removeSelectAll=()=>{this.selectAllButton&&(this.selectAllButton.destruct(),delete this.selectAllButton)},this.appendSelectAll=()=>{this.removeSelectAll(),this.selectAllButton=(0,c.BJ)(this.j,{name:"selectall",...this.j.o.controls.selectall}),this.selectAllButton.state.size="tiny",this.container&&this.container.insertBefore(this.selectAllButton.container,this.container.firstChild)},this.calcPathImd=()=>{if(this.isDestructed)return;const e=this.j.s.current();if(this.container&&(this.container.innerHTML=i.INVISIBLE_SPACE),e){let t,r,i;o.J.up(e,e=>{!e||this.j.editor===e||o.J.isText(e)||o.J.isComment(e)||(t=e.nodeName.toLowerCase(),r=(0,s.getXPathByElement)(e,this.j.editor).replace(/^\//,""),i=this.tpl(e,r,t,this.j.i18n("Select %s",t)),this.container&&this.container.insertBefore(i,this.container.firstChild))},this.j.editor)}this.appendSelectAll()},this.calcPath=this.j.async.debounce(this.calcPathImd,2*this.j.defaultTimeout)}})},83709(e,t){t.A='<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> '},83987(e,t,r){r.d(t,{$(){return o}});var i=r(21537);function o(e,t){if((0,i.isFunction)(e.o.buildData))return e.o.buildData.call(e,t);const r=e.ow.FormData;if(void 0!==r){if(t instanceof r)return t;if((0,i.isString)(t))return t;const e=new r,o=t;return Object.keys(o).forEach(t=>{e.append(t,o[t])}),e}return t}},84075(e,t,r){r.d(t,{T(){return m}});var i=r(78213),o=r(40401),n=r(37133),s=r(2748),a=r(76855),l=r(70799),c=r(76078),d=r(67510),u=r(43649),h=r(35608),p=r(21491),f=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};class m extends h.S{get toolbarContainer(){return this.o.fullsize||!(0,l.K)(this.o.toolbar)&&!s.J.isHTMLElement(this.o.toolbar)?(this.o.toolbar&&s.J.appendChildFirst(this.container,this.__defaultToolbarContainer),this.__defaultToolbarContainer):(0,c.tI)(this.o.toolbar,this.o.shadowRoot||this.od)}setPanel(e){this.o.toolbar=e,this.buildToolbar()}buildToolbar(){var e;if(!this.o.toolbar)return;const t=this.o.buttons?(0,a.uM)(this.o.buttons):[];null===(e=this.toolbar)||void 0===e||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);const r=null!==(t=e.group)&&void 0!==t?t:"other";return this.groupToButtons[r]||(this.groupToButtons[r]=[]),null!=e.position?this.groupToButtons[r][e.position]=e.name:this.groupToButtons[r].push(e.name),this}unregisterButton(e){var t;this.registeredButtons.delete(e);const r=null!==(t=e.group)&&void 0!==t?t:"other",i=this.groupToButtons[r];if(i){const t=i.indexOf(e.name);-1!==t&&i.splice(t,1),0===i.length&&delete this.groupToButtons[r]}return this}beforeToolbarBuild(e){if(Object.keys(this.groupToButtons).length)return e.map(e=>(0,u.i)(e)&&e.group&&this.groupToButtons[e.group]?{group:e.group,buttons:[...e.buttons,...this.groupToButtons[e.group]]}:e)}destruct(){this.isDestructed||(this.setStatus(i.f.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.$K)(this),this.__defaultToolbarContainer=this.c.div("jodit-toolbar__box"),this.registeredButtons=new Set,this.groupToButtons={},this.isJodit=!1,this.__tooltip=new d.SB(this),this.isJodit=t,this.e.on("beforeToolbarBuild",this.beforeToolbarBuild)}}f([(0,n.w)(":rebuildToolbar")],m.prototype,"buildToolbar",null),f([o.Ay],m.prototype,"beforeToolbarBuild",null)},84272(e,t,r){r.d(t,{D(){return s},w(){return n}});var i=r(82758),o=r(2748);function n(e,t){const{s:r}=e;let i=t;if(!i){i=e.createInside.fake();const{range:t}=r;o.J.safeInsertNode(t,i),t.collapse()}const n=o.J.furthest(i,s,e.editor);if(n)if(r.cursorOnTheLeft(n))o.J.before(n,i);else if(r.cursorOnTheRight(n))o.J.after(n,i);else{const e=r.splitSelection(n);e&&o.J.after(e,i)}t||(r.setCursorBefore(i),o.J.safeRemove(i))}function s(e){return o.J.isInlineBlock(e)&&!o.J.isTag(e,i.INSEPARABLE_TAGS)}},84380(e,t,r){var i=r(82758),o=r(6441),n=r(117);o.T.prototype.askBeforePasteHTML=!0,o.T.prototype.processPasteHTML=!0,o.T.prototype.scrollToPastedContent=!0,o.T.prototype.pasteExcludeStripTags=["br","hr"],o.T.prototype.pasteHTMLActionList=[{value:i.INSERT_AS_HTML,text:"Keep"},{value:i.INSERT_AS_TEXT,text:"Insert as Text"},{value:i.INSERT_ONLY_TEXT,text:"Insert only Text"}],o.T.prototype.memorizeChoiceWhenPasteFragment=!1,o.T.prototype.nl2brInPlainText=!0;const s="pasteStorage";o.T.prototype.controls.paste={tooltip:"Paste from clipboard",async exec(e,t,{control:r}){if(r.name===s)return void e.execCommand("showPasteStorage");e.s.focus();let o="",a=!0;if(navigator.clipboard){try{const e=await navigator.clipboard.read();if(e&&e.length){const t=await e[0].getType(i.TEXT_PLAIN);o=await new Response(t).text()}a=!1}catch(e){}if(a)try{o=await navigator.clipboard.readText(),a=!1}catch(e){}}a&&(o=e.buffer.get(i.CLIPBOARD_ID)||"",a=0===o.length);const l=e.value;a?(e.ed.execCommand("paste"),a=l===e.value,!a&&e.e.fire("afterPaste")):o.length?((0,n.sX)(null,e,o),e.e.fire("afterPaste")):a&&e.alert("Your browser doesn't support direct access to the clipboard.",()=>{e.s.focus()})},list:{[s]:"Paste Storage"},isChildDisabled:e=>2>e.e.fire("pasteStorageList")}},84591(e,t,r){r.d(t,{A(){return n}});var i=r(90129);let o=0;function n(e){return e.isComment&&/\[if.*(supportLists|gte vml).*]/.test((0,i.q)(e))&&(o++,e.remove()),e.isComment&&o>0&&(0,i.q)(e).includes("[endif]")&&(o=o>0?o-1:0,e.remove()),o&&(e.isText||"img"===e.name&&(!e.attributes.src||/^file:/.test(e.attributes.src)))?(e.remove(),null):e}},84661(e,t,r){r.d(t,{LE(){return l},Lv(){return n},hJ(){return a},xe(){return s}});var i=r(90129),o=r(78547);function n(e){return!(!e||"ol"!==e.name&&"ul"!==e.name)}function s(e){return!(!e||"li"!==e.name)}function a(e){return"li"!==e.name&&/mso-list:\s*l\d+ level\d+ lfo\d+/i.test(e.attributes.style)||/msolistparagraph/i.test(e.attributes.class)&&!!e.find(e=>e.isComment&&(0,i.q)(e).includes("supportLists")).length}function l(e,t){return!(t.name!==e.attributes[o.lA]||t.attributes[o.yL]!==e.attributes[o.yL]||e.attributes[o.fB]!==t.attributes[o.fB])}},84767(e,t,r){function i(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}r.d(t,{E(){return i}})},84858(e,t){t.A='<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(e,t){t.A={"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(e,t,r){r.d(t,{F(){return l}});var i,o=r(65478),n=r(87325),s=r(80256),a=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};let l=i=class e extends s.t{className(){return"UITextArea"}createNativeInput(e){return this.j.create.element("textarea")}onChangeStateSize(){const{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={...i.defaultState},Object.assign(this.state,t),!1===this.state.resizable&&(this.nativeInput.style.resize="none")}};l.defaultState={...s.t.defaultState,size:5,resizable:!0},a([(0,o.watch)(["state.size","state.resizable"])],l.prototype,"onChangeStateSize",null),l=i=a([n.s],l)},85407(e,t,r){var i=r(82758),o=r(2748),n=r(580),s=r(21537),a=r(20356),l=r(10830);n.fg.add("pasteStorage",class c extends a.k{createDialog(){this.dialog=this.j.dlg();const e=(0,l.$n)(this.j,"paste","Paste","primary");e.onAction(this.paste);const t=(0,l.$n)(this.j,"","Cancel");t.onAction(this.dialog.close),this.container=this.j.c.div(),this.container.classList.add("jodit-paste-storage"),this.listBox=this.j.c.div(),this.previewBox=this.j.c.div(),this.container.appendChild(this.listBox),this.container.appendChild(this.previewBox),this.dialog.setHeader(this.j.i18n("Choose Content to Paste")),this.dialog.setContent(this.container),this.dialog.setFooter([e,t]),this.j.e.on(this.listBox,"click dblclick",e=>{const t=e.target;return o.J.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.J.safeRemove(this.previewBox),o.J.safeRemove(this.listBox),o.J.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){const 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;-1!==[i.KEY_UP,i.KEY_DOWN,i.KEY_ENTER].indexOf(e.key)&&(e.key===i.KEY_UP&&(0===t?t=this.list.length-1:t-=1),e.key===i.KEY_DOWN&&(t===this.list.length-1?t=0:t+=1),e.key!==i.KEY_ENTER?(t!==this.currentIndex&&this.selectIndex(t),e.stopImmediatePropagation(),e.preventDefault()):this.paste())},this.selectIndex=e=>{this.listBox&&(0,s.toArray)(this.listBox.childNodes).forEach((t,r)=>{t.classList.remove("jodit_active"),e===r&&this.previewBox&&(t.classList.add("jodit_active"),this.previewBox.innerHTML=this.list[e],t.focus())}),this.currentIndex=e},this.showDialog=()=>{2>this.list.length||(this.dialog||this.createDialog(),this.listBox&&(this.listBox.innerHTML=""),this.previewBox&&(this.previewBox.innerHTML=""),this.list.forEach((e,t)=>{const r=this.j.c.element("a");r.textContent=t+1+". "+e.replace((0,i.SPACE_REG_EXP)(),""),this.j.e.on(r,"keydown",this.onKeyDown),(0,s.attr)(r,"href","#"),(0,s.attr)(r,"data-index",""+t),(0,s.attr)(r,"tab-index","-1"),this.listBox&&this.listBox.appendChild(r)}),this.dialog&&this.dialog.open(),this.j.async.setTimeout(()=>{this.selectIndex(0)},100))}}})},85567(e,t,r){r.d(t,{N(){return i},Z(){return o}});const i=440,o=940},85568(e,t,r){r.d(t,{C(){return g}});var i=r(42640),o=r(11991),n=r(5986),s=r(68846),a=r(96958),l=r(29345),c=r(78284),d=r(31461),u=r(21473),h=r(77183),p=r(84591),f=r(17096),m=r(61388);const g=[d.J,l.f,h.S,f.H,o.f,a.z,u.N,p.A,s.F,n.l,c.v,m.j,i.Q]},85745(e,t,r){r(6441).T.prototype.imageProcessor={replaceDataURIToBlobIdInView:!0}},86012(e,t,r){r(6441).T.prototype.showXPathInStatusbar=!0},86019(e,t,r){r.d(t,{x(){return i.x}});var i=r(2303),o=r(27613),n=r(82758),s=r(65478),a=r(41409),l=r(17555),c=r(26152);r(46448),Object.keys(n).forEach(e=>{i.x[e]=n[e]});const d=e=>"__esModule"!==e;Object.keys(l).filter(d).forEach(e=>{a.Icon.set(e.replace("_","-"),l[e])}),Object.keys(a).filter(d).forEach(e=>{var t;const r=a[e],n=(0,o.Tn)(null===(t=r.prototype)||void 0===t?void 0:t.className)?r.prototype.className():e;(0,o.Kg)(n)&&(i.x.modules[n]=r)}),Object.keys(s).filter(d).forEach(e=>{i.x.decorators[e]=s[e]}),["Confirm","Alert","Prompt"].forEach(e=>{i.x[e]=a[e]}),Object.keys(c.A).filter(d).forEach(e=>{i.x.lang[e]=c.A[e]})},86068(e,t,r){function i(e){return null==e}r.d(t,{R(){return i}})},86273(e,t){t.A={"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(e,t,r){r.d(t,{X(){return c}});var i=r(4012),o=r(87325),n=r(43555),s=r(80256),a=r(12234),l=r(62405);let c=class e extends l.U{className(){return"UIForm"}submit(){this.j.e.fire(this.container,"submit")}validate(){const e=this.allChildren.filter(e=>i.u.isInstanceOf(e,s.t));for(const t of e)if(!t.validate())return!1;const t=this.allChildren.filter(e=>i.u.isInstanceOf(e,a.$));for(const e of t)if(!e.validate())return!1;return!0}onSubmit(e){return this.j.e.on(this.container,"submit",()=>{const t=this.allChildren.filter(e=>i.u.isInstanceOf(e,s.t));return!!this.validate()&&(e(t.reduce((e,t)=>(e[t.state.name]=t.value,e),{})),!1)}),this}createContainer(){const e=this.j.c.element("form");return e.classList.add(this.componentName),(0,n.CF)(e,"dir",this.j.o.direction||"auto"),(0,n.CF)(e,"novalidate",""),e}constructor(...e){var t,r;super(...e),(null===(t=this.options)||void 0===t?void 0:t.className)&&this.container.classList.add(null===(r=this.options)||void 0===r?void 0:r.className)}};c=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([o.s],c)},86397(e,t,r){r.d(t,{R(){return i}});class i extends Error{constructor(e){super(e),Object.setPrototypeOf(this,i.prototype)}}},86518(e,t,r){r.d(t,{t(){return n},v(){return s}});var i=r(2748),o=r(43555);function n(e,t){(i.J.isElement(e)||i.J.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:r}={safeJavaScriptLink:!0,removeOnError:!0}){if(!i.J.isElement(e))return!1;let n=!1;r&&e.hasAttribute("onerror")&&((0,o.CF)(e,"onerror",null),n=!0);const s=e.getAttribute("href");return t&&s&&0===s.trim().indexOf("javascript")&&((0,o.CF)(e,"href",location.protocol+"//"+s),n=!0),n}},86583(e,t,r){r.d(t,{m(){return n}});var i=r(39955);const o=new WeakMap,n=(e,t,r)=>{let n=o.get(e);if(!n){n={},o.set(e,n);let t=null;(0,i.h)(e.j)&&(t=e.j.e),(0,i.h)(e)&&(t=e.e),t&&t.on("beforeDestruct",()=>{o.delete(e)})}return void 0===r?n[t]:(n[t]=r,r)}},86835(e,t){t.A='<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(e,t,r){r.d(t,{x(){return i}});const i=e=>e.replace(/([-_])(.)/g,(e,t,r)=>r.toUpperCase())},87325(e,t,r){function i(e){class t extends e{constructor(...e){super(...e),this.constructor===t&&(this instanceof t||Object.setPrototypeOf(this,t.prototype),this.setStatus("ready"))}}return t}r.d(t,{s(){return i}})},87394(e,t,r){var i=r(12153),o=r(6441),n=r(5119);o.T.prototype.usePopupForSpecialCharacters=!1,o.T.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;"],i.I.set("symbols",n.A),o.T.prototype.controls.symbols={hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup(e,t,r){const i=e.e.fire("generateSpecialCharactersTable.symbols");if(i){if(e.o.usePopupForSpecialCharacters){const t=e.c.div();return t.classList.add("jodit-symbols"),t.appendChild(i),e.e.on(i,"close_dialog",r),t}e.alert(i,"Select Special Character",void 0,"jodit-symbols").bindDestruct(e);const t=i.querySelector("a");t&&t.focus()}}}},87536(e,t,r){r.d(t,{V(){return s}});var i=r(22732),o=r(21537),n=r(45124);function s(e,t,r){let s=i.J.findSibling(t,r);return!s&&t.parentElement&&t.parentElement!==e.editor&&(s=i.J.findSibling(t.parentElement,r)),!(!i.J.isElement(s)||i.J.isContentEditable(s,e.editor)||((0,o.call)(r?i.J.before:i.J.after,s,t),i.J.safeRemove(s),(0,n.W8)(e,t,r),(0,o.call)(r?e.s.setCursorBefore:e.s.setCursorAfter,t),0))}},87602(e,t,r){r.d(t,{q(){return a}});var i=r(29807),o=r(29960),n=r(41180),s=r(14415);function a(e,t,r,a){if(t!==e.offsetWidth||r!==e.offsetHeight){const l=t?(0,s.n)(t):null;let c=r?(0,s.n)(r):null;(0,n.A)(e,{width:l,height:l&&a?null:c}),(0,o.C)(e,"width",l&&(0,i.k)(t)&&(0,o.C)(e,"width")?l:null),(0,o.C)(e,"width")&&!a||(c=null),(0,o.C)(e,"height",c)}}},87612(e,t,r){function i(e){return"boolean"==typeof e}r.d(t,{L(){return i}})},89377(e,t,r){r.r(t),r.d(t,{autocomplete(){return p}});var i=r(31635),o=(r(11691),r(78630)),n=r(91876),s=r(82758),a=r(65478),l=r(2748),c=r(21537),d=r(50911),u=r(56917),h=r(34013);class p extends d.k{constructor(){super(...arguments),this.hasStyle=!h.A.fatMode,this.sources=[]}get list(){return new o.j(this.jodit)}get popup(){const e=new u.z(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 r=t.value;(0,c.isFunction)(t.insertValueRenderer)&&(r=t.insertValueRenderer(t)),l.J.isNode(r)||(r=e.createInside.fromHTML(r)),(0,n.s)(e.s.range,r),this.j.s.setCursorAfter(r),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){const t=this.sources.indexOf(e);-1!==t&&this.sources.splice(t,1)}static isControlKey(e){return e===s.KEY_DOWN||e===s.KEY_UP||e===s.KEY_ENTER||e===s.KEY_TAB}async onKeyDown(e){if(e.key===s.KEY_ESC)return void(this.popup.isOpened&&this.popup.close());const{s:t}=this.j;if(p.isControlKey(e.key)||!t.isInsideArea||!t.isCollapsed)return;const r=this.j.s.sel?.rangeCount?this.j.s.sel?.getRangeAt(0):null,i=r&&(0,n.I)(r).split(" ").pop();if(i&&(0,c.trim)(i).length){const e=await this.onAutoComplete(i);if(e.length)return this.openPopup(e)}this.popup.isOpened&&this.popup.close()}onKeyControlDown(e){if(this.popup.isOpened&&p.isControlKey(e.key)){switch(e.key){case s.KEY_DOWN:this.list.selectNext();break;case s.KEY_UP:this.list.selectPrevious();break;case s.KEY_TAB:this.list.select()}return this.j.e.stopPropagation(e.type),!1}}onEnter(){if(this.popup.isOpened)return this.list.select(),!1}async onAutoComplete(e){const t=[];return await Promise.all(this.sources.concat(this.j.o.autocomplete.sources).map(async r=>{t.push(...await this.resolveFeed(e,r))})),t}async resolveFeed(e,t,r){let i;if((0,c.isPromise)(t)&&(t=await t),(0,c.isFunction)(t))i=await t(e);else if((0,c.isArray)(t)){const r=t,{isMatchedQuery:o}=this.j.o.autocomplete;i=r.filter(t=>(0,c.isString)(t)?o(e,t):o(e,t.value)).map(e=>(0,c.isString)(e)?{title:e,value:e}:e)}else i=await this.resolveFeed(e,t.feed,t);if(this.j.isDestructed)return[];if(i&&(0,c.isArray)(i)){const{itemRenderer:e,insertValueRenderer:t,maxItems:o}=this.j.o.autocomplete;return i=i.map(i=>({itemRenderer:r?.itemRenderer??e,insertValueRenderer:r?.insertValueRenderer??t,...i})),i.slice(0,o)}return[]}openPopup(e){this.list.build(e),this.popup.open(()=>{const{j:e}=this,t=e.s.range.getBoundingClientRect(),r={left:t.left,top:t.top,height:t.height,width:t.width};if(e.o.iframe&&e.iframe){const t=(0,c.position)(e.iframe,e);r.top+=t.top,r.left+=t.left}return r})}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()}}p.requires=["enter","license"],(0,i.Cg)([a.cache],p.prototype,"list",null),(0,i.Cg)([a.cache],p.prototype,"popup",null),(0,i.Cg)([a.autobind],p.prototype,"registerAutocompleteSource",null),(0,i.Cg)([a.autobind],p.prototype,"unregisterAutocompleteSource",null),(0,i.Cg)([(0,a.debounce)()],p.prototype,"onKeyDown",null),(0,i.Cg)([a.autobind],p.prototype,"onKeyControlDown",null),(0,i.Cg)([a.autobind],p.prototype,"onEnter",null),(0,i.Cg)([a.autobind],p.prototype,"onAutoComplete",null),(0,i.Cg)([a.autobind],p.prototype,"resolveFeed",null),h.A.plugins.add("autocomplete",p)},89672(e,t,r){r.d(t,{P(){return o}});var i=r(12475);function o(e){return(0,i.k)(e).toLowerCase()}},89758(e,t){t.A='<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(e,t){t.A='<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(e,t,r){r.d(t,{FI(){return i.FI},Rc(){return o.Rc},ZW(){return o.ZW},fF(){return i.fF},h2(){return o.h2},rV(){return o.rV},z3(){return i.z3}});var i=r(82760),o=r(32880)},90129(e,t,r){r.d(t,{O(){return l},q(){return s}});var i=r(82758),o=r(87612),n=r(49055);function s(e,t=()=>!0,r=!0,o){switch(!0){case e.isComment:case e.isText:{if(!t(e))return"";const{nodeValue:r}=e.attributes;return e.isComment?`\x3c!--${r}--\x3e`:r}case e.isElement:{const{attributes:i}=e,n=l(e,t,r,o);if(!e.attributes["jd-safe"]&&r&&0===n.replace(/[\n\t]/g,"").length&&!e.isSingle)return"";const s=Object.keys(i).map(e=>"style"===e||null==i[e]||/^jd-/.test(e)?"":`${e}="${c(i[e])}"`).filter(Boolean),{str:d}=e.style,u=c(d(e=>a(e,o)));if(u&&s.push(`style="${u}"`),r&&0===s.length&&["span","a"].includes(e.name))return n;const h=s.length?" "+s.join(" "):"";return t(e)?e.isSingle?`<${e.name}${h}/>`:`<${e.name}${h}>${n}</${e.name}>`:n}default:if(!i.IS_PROD)throw Error("Need implementation for this type")}return""}function a(e,t){if(!t)return!0;if(a.cache.has(t)){const r=a.cache.get(t)?.get(e);if((0,o.L)(r))return r}const r=t.some(t=>RegExp(t).test(e)),i=a.cache.get(t)||new Map;return i.set(e,r),a.cache.set(t,i),r}function l(e,t=()=>!0,r=!0,i){let o=e.map(e=>s(e,t,r,i)).join("");return"p"===e.name&&0===(0,n.Bq)(o).length&&(o="&nbsp;"),o}function c(e){return(""+e).replace(/"/g,"&quot;")}a.cache=new WeakMap},90240(e,t,r){r.d(t,{R(){return o}});var i=r(2748);function o(e,t){return!!i.J.isCell(t.parentElement)}},90492(e,t,r){r.r(t),r.d(t,{ar(){return i},cs_cz(){return i},de(){return i},es(){return i},fa(){return i},fi(){return i},fr(){return i},he(){return i},hu(){return i},id(){return i},it(){return i},ja(){return i},ko(){return i},mn(){return i},nl(){return i},no(){return i},pl(){return i},pt_br(){return i},ru(){return i},tr(){return i},ua(){return i},zh_cn(){return i},zh_tw(){return i}});var i=r(41324)},91003(e,t,r){r.d(t,{K(){return d}});var i=r(2748),o=r(70799),n=r(49055),s=r(43555);const a=new Set(["div","p","br","h1","h2","h3","h4","h5","h6","hr"]),l=new Set(["script","style"]),c=new Set(["br","hr","input"]);function d(e,t=document,r=null){const u=t.createElement("div");return(0,o.K)(e)?u.innerHTML=e:u.appendChild(e),(0,s.$$)("*",u).forEach(e=>{const o=e.parentNode;if(!o)return;if(r&&i.J.isTag(e,r)){const o=e.nodeName.toLowerCase(),n=i.J.isTag(e,c)?`%%%jodit-single-${o}%%%`:`%%%jodit-${o}%%%${d(e.innerHTML,t,r)}%%%/jodit-${o}%%%`;return i.J.before(e,t.createTextNode(n)),void i.J.safeRemove(e)}if(i.J.isTag(e,l))return void i.J.safeRemove(e);if(!i.J.isTag(e,a))return;const n=e.nextSibling;i.J.isText(n)&&/^\s/.test(n.nodeValue||"")||n&&o.insertBefore(t.createTextNode(" "),n)}),(0,n.Bq)(u.innerText).replace(/%%%(\/)?jodit(-single)?-([\w\n]+)%%%/g,(e,t,r,i)=>`<${t?"/":""}${i}>`)}},91071(e,t,r){var i=r(82758),o=r(65478),n=r(580),s=r(50911),a=(r(57288),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});class l extends s.k{afterInit(e){const{limitWords:t,limitChars:r}=e.o;if(e&&(t||r)){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||!(i.COMMAND_KEYS.includes(e.key)||e.ctrlKey||e.metaKey))&&this.__shouldDenyInput(!1)}__shouldDenyInput(e){const{jodit:t}=this,{limitWords:r,limitChars:i}=t.o,o=this.__splitWords(t.o.limitHTML?t.value:t.text);if(r&&c(o.length,r,e))return t.e.fire("denyWords.limit limit.limit"),!0;const n=!(!i||!c(o.join("").length,i,e));return n&&t.e.fire("denyChars.limit limit.limit"),n}checkPreventKeyPressOrPaste(e){if(this.shouldPreventInsertHTML(e))return!1}checkPreventChanging(e,t){const{jodit:r}=this;this.__shouldDenyInput(!0)&&(r.value=t)}__splitWords(e){return e.replace((0,i.INVISIBLE_SPACE_REG_EXP)(),"").split((0,i.SPACE_REG_EXP)()).filter(e=>e.length)}beforeDestruct(e){e.e.off(".limit")}}function c(e,t,r){return r?e>t:e>=t}a([o.autobind],l.prototype,"checkPreventKeyPressOrPaste",null),a([o.autobind],l.prototype,"checkPreventChanging",null),n.fg.add("limit",l)},91126(e,t,r){r.d(t,{l(){return s}});var i=r(48430),o=r(78547),n=r(31117);function s(e){if(void 0!==e.attributes[o.fB])return;const t=[(0,i.x0)(e)],r=[e];let s=e.next;for(;s;){if(s.isElement&&!s.attributes[o.fB]&&(0,n.hJ)(s)){const e=(0,i.x0)(s);e&&(t.push(e),r.push(s))}s=s.next}const a=Math.min(...t.filter(e=>e>0));let l=t.map(e=>Math.ceil(e/10));-1!==l.indexOf(0)&&(l=l.map(e=>e+1)),r.forEach((e,t)=>{e.attributes[o.fB]=l[t],e.style.add("margin-left",Math.max((0,i.x0)(e)-10*l[t]/a*40,0)+"px")})}},91388(e,t,r){r.d(t,{M(){return o}});var i=r(2748);function o(e,t,r){const{s:o}=e,n=i.J.closest(t,r,e.editor);n&&(o.cursorOnTheRight(n,t)?i.J.after(n,t):o.cursorOnTheLeft(n,t)&&i.J.before(n,t))}},91748(e,t,r){r.d(t,{a(){return s}});var i=r(2748),o=r(37790),n=r(63785);function s(e,t,r){const s=i.J.findSibling(t,r),a=i.J.findSibling(t,!r);if(!i.J.closest(t,i.J.isElement,e.editor)&&i.J.isList(s)&&i.J.isList(a)&&i.J.isTag(s.lastElementChild,"li")&&i.J.isTag(a.firstElementChild,"li")){const{setCursorBefore:l,setCursorAfter:c}=e.s,d=s.lastElementChild;return(0,o.T1)(r?i.J.prepend:i.J.append,a.firstElementChild,t),i.J.moveContent(a,s,!r,(0,n.g)(e)),i.J.safeRemove(a),(0,o.T1)(r?i.J.append:i.J.prepend,d,t),(0,o.T1)(r?l:c,t),!0}return!1}},91876(e,t,r){r.d(t,{I(){return o},s(){return n}});var i=r(2748);function o(e){const{startContainer:t,startOffset:r}=e;if(i.J.isText(t))return t.nodeValue?.substr(0,r)??"";const o=t.childNodes[r];if(!o)return"";if(i.J.isText(o))return o.nodeValue??"";const n=i.J.findNotEmptyNeighbor(o,!0,t);return i.J.isText(n)?o.nodeValue??"":""}function n(e,t){let{startContainer:r,startOffset:o}=e;if(i.J.isText(r)||(r=r.childNodes[o-1],i.J.isText(r)&&(o=r.nodeValue?.length??0)),i.J.isText(r)){const i=r.nodeValue??"",n=i.substring(0,o),s=i.substring(o),a=n.split(" ");a[a.length-1]="";const l=a.join(" ");return r.nodeValue=l+s,e.setStart(r,l.length),void e.insertNode(t)}}},91898(e,t,r){r.d(t,{D(){return i.D},w(){return i.w}});var i=r(13252)},91907(e,t,r){r.d(t,{f(){return o.f},uA(){return i.u},vG(){return n.v}});var i=r(4012),o=r(78213),n=r(80480)},92113(e,t,r){r.d(t,{C(){return n}});var i=r(87325),o=r(48538);let n=class e extends o.D{className(){return"UISeparator"}};n=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([i.s],n)},92278(e,t,r){r.d(t,{F(){return c}});var i=r(82758),o=r(65478),n=r(22732),s=r(21537),a=r(67510),l=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s};let c=class e extends a.D${className(){return"UISearch"}render(){return`<div>\n\t\t\t<div class="&__box">\n\t\t\t\t<div class="&__inputs">\n\t\t\t\t\t<input data-ref="query" tabindex="0" placeholder="~Search for~" type="text"/>\n\t\t\t\t\t<input data-ref="replace" tabindex="0" placeholder="~Replace with~" type="text"/>\n\t\t\t\t</div>\n\t\t\t\t<div class="&__counts">\n\t\t\t\t\t<span data-ref="counter-box">\n\t\t\t\t\t\t<span data-ref="current">0</span><span>/</span><span data-ref="count">0</span>\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t\t<div class="&__buttons">\n\t\t\t\t\t<button data-ref="next" tabindex="0" type="button">${a.In.get("angle-down")}</button>\n\t\t\t\t\t<button data-ref="prev" tabindex="0" type="button">${a.In.get("angle-up")}</button>\n\t\t\t\t\t<button data-ref="cancel" tabindex="0" type="button">${a.In.get("cancel")}</button>\n\t\t\t\t\t<button data-ref="replace-btn" tabindex="0" type="button" class="jodit-ui-button">~Replace~</button>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>`}get currentIndex(){return this._currentIndex}set currentIndex(e){this._currentIndex=e,this.currentBox.innerText=""+e}set count(e){this.countBox.innerText=""+e}get query(){return this.queryInput.value}get replace(){return this.replaceInput.value}onEditorKeyDown(e){if(!this.isOpened)return;const{j:t}=this;if(t.getRealMode()===i.MODE_WYSIWYG)switch(e.key){case i.KEY_ESC:this.close();break;case i.KEY_F3:this.queryInput.value&&(t.e.fire(e.shiftKey?"searchPrevious":"searchNext"),e.preventDefault())}}open(e,t,r=!1){this.isOpened||(this.j.workplace.appendChild(this.container),this.isOpened=!0),this.calcSticky(this.j.e.fire("getStickyState.sticky")||!1),this.j.e.fire("hidePopup"),this.setMod("replace",r);const i=null!=e?e:""+(this.j.s.sel||"");i&&(this.queryInput.value=i),t&&(this.replaceInput.value=t),this.setMod("empty-query",!i.length),this.j.e.fire(this,"needUpdateCounters"),i?this.queryInput.select():this.queryInput.focus()}close(){this.isOpened&&(this.j.s.restore(),n.J.safeRemove(this.container),this.isOpened=!1,this.j.e.fire(this,"afterClose"))}calcSticky(e){if(this.isOpened)if(this.setMod("sticky",e),e){const e=(0,s.position)(this.j.toolbarContainer);(0,s.css)(this.container,{top:e.top+e.height,left:e.left+e.width})}else(0,s.css)(this.container,{top:null,left:null})}constructor(e){super(e),this.selInfo=null,this._currentIndex=0,this.isOpened=!1;const{query:t,replace:r,cancel:o,next:n,prev:a,replaceBtn:l,current:c,count:d}=(0,s.refs)(this.container);this.queryInput=t,this.replaceInput=r,this.closeButton=o,this.replaceButton=l,this.currentBox=c,this.countBox=d,e.e.on(this.closeButton,"pointerdown",()=>(this.close(),!1)).on(this.queryInput,"input",()=>{this.currentIndex=0}).on(this.queryInput,"pointerdown",()=>{e.s.isFocused()&&(e.s.removeMarkers(),this.selInfo=e.s.save())}).on(this.replaceButton,"pointerdown",()=>(e.e.fire(this,"pressReplaceButton"),!1)).on(n,"pointerdown",()=>(e.e.fire("searchNext"),!1)).on(a,"pointerdown",()=>(e.e.fire("searchPrevious"),!1)).on(this.queryInput,"input",()=>{this.setMod("empty-query",!(0,s.trim)(this.queryInput.value).length)}).on(this.queryInput,"keydown",this.j.async.debounce(async t=>{t.key===i.KEY_ENTER?(t.preventDefault(),t.stopImmediatePropagation(),await e.e.fire("searchNext")&&this.close()):e.e.fire(this,"needUpdateCounters")},this.j.defaultTimeout))}};l([(0,o.watch)([":keydown","queryInput:keydown"])],c.prototype,"onEditorKeyDown",null),l([o.autobind],c.prototype,"open",null),l([o.autobind],c.prototype,"close",null),l([(0,o.watch)(":toggleSticky")],c.prototype,"calcSticky",null),c=l([o.component],c)},92643(e,t,r){r.d(t,{u(){return i}});class i{undo(){this.history.snapshot.restore(this.oldValue)}redo(){this.history.snapshot.restore(this.newValue)}constructor(e,t,r,i){this.oldValue=e,this.newValue=t,this.history=r,this.tick=i}}},92648(e,t){t.A={"Type something":"Ketik sesuatu","About Jodit":"Tentang Jodit","Jodit Editor":"Editor Jodit","Free Non-commercial Version":"Versi Bebas Non-komersil","Jodit User's Guide":"Panduan Pengguna Jodit","contains detailed help for using":"mencakup detail bantuan penggunaan","For information about the license, please go to our website:":"Untuk informasi tentang lisensi, silakan kunjungi website:","Buy full version":"Beli versi lengkap","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Hak Cipta © XDSoft.net - Chupurnov Valeriy. Hak cipta dilindungi undang-undang.",Anchor:"Tautan","Open in new tab":"Buka di tab baru","Open in fullsize":"Buka editor dalam ukuran penuh","Clear Formatting":"Hapus Pemformatan","Fill color or set the text color":"Isi warna atau atur warna teks",Redo:"Ulangi",Undo:"Batalkan",Bold:"Tebal",Italic:"Miring","Insert Unordered List":"Sisipkan Daftar Tidak Berurut","Insert Ordered List":"Sisipkan Daftar Berurut","Align Center":"Tengah","Align Justify":"Penuh","Align Left":"Kiri","Align Right":"Kanan","Insert Horizontal Line":"Sisipkan Garis Horizontal","Insert Image":"Sisipkan Gambar","Insert file":"Sisipkan Berkas","Insert youtube/vimeo video":"Sisipkan video youtube/vimeo","Insert link":"Sisipkan tautan","Font size":"Ukuran font","Font family":"Keluarga font","Insert format block":"Sisipkan blok format",Normal:"Normal","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading 4":"Heading 4",Quote:"Kutip",Code:"Kode",Insert:"Sisipkan","Insert table":"Sisipkan tabel","Decrease Indent":"Kurangi Indentasi","Increase Indent":"Tambah Indentasi","Select Special Character":"Pilih Karakter Spesial","Insert Special Character":"Sisipkan Karakter Spesial","Paint format":"Formar warna","Change mode":"Ubah mode",Margins:"Batas",top:"atas",right:"kanan",bottom:"bawah",left:"kiri",Styles:"Gaya",Classes:"Class",Align:"Rata",Right:"Kanan",Center:"Tengah",Left:"Kiri","--Not Set--":"--Tidak diset--",Src:"Src",Title:"Judul",Alternative:"Teks alternatif",Link:"Tautan","Open link in new tab":"Buka tautan di tab baru",Image:"Gambar",file:"berkas",Advanced:"Lanjutan","Image properties":"Properti gambar",Cancel:"Batal",Ok:"Ya","Your code is similar to HTML. Keep as HTML?":"Kode Anda cenderung ke HTML. Biarkan sebagai HTML?","Paste as HTML":"Paste sebagai HTML",Keep:"Jaga",Clean:"Bersih","Insert as Text":"Sisipkan sebagai teks","Insert only Text":"Sisipkan hanya teks","Word Paste Detected":"Terdeteksi paste dari Word","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Konten dipaste dari dokumen Microsoft Word/Excel. Apakah Anda ingin tetap menjaga format atau membersihkannya?","File Browser":"Penjelajah Berkas","Error on load list":"Error ketika memuat list","Error on load folders":"Error ketika memuat folder","Are you sure?":"Apakah Anda yakin?","Enter Directory name":"Masukkan nama Direktori","Create directory":"Buat direktori","type name":"ketik nama","Drop image":"Letakkan gambar","Drop file":"Letakkan berkas","or click":"atau klik","Alternative text":"Teks alternatif",Browse:"Jelajahi",Upload:"Unggah",Background:"Latar Belakang",Text:"Teks",Top:"Atas",Middle:"Tengah",Bottom:"Bawah","Insert column before":"Sisipkan kolom sebelumnya","Insert column after":"Sisipkan kolom setelahnya","Insert row above":"Sisipkan baris di atasnya","Insert row below":"Sisipkan baris di bawahnya","Delete table":"Hapus tabel","Delete row":"Hapus baris","Delete column":"Hapus kolom","Empty cell":"Kosongkan cell",source:"sumber",bold:"tebal",italic:"miring",brush:"sikat",link:"tautan",undo:"batalkan",redo:"ulangi",table:"tabel",image:"gambar",eraser:"penghapus",paragraph:"paragraf",fontsize:"ukuran font",video:"video",font:"font",about:"tentang",print:"cetak",underline:"garis bawah",strikethrough:"coret",indent:"menjorok ke dalam",outdent:"menjorok ke luar",fullsize:"ukuran penuh",shrink:"menyusut",hr:"hr",ul:"ul",ol:"ol",cut:"potong",selectall:"Pilih semua","Embed code":"Kode embed","Open link":"Buka tautan","Edit link":"Edit tautan","No follow":"No follow",Unlink:"Hapus tautan",Eye:"Mata",pencil:"pensil",Update:"Perbarui"," URL":"URL",Edit:"Edit","Horizontal align":"Perataan horizontal",Filter:"Filter","Sort by changed":"Urutkan berdasarkan perubahan","Sort by name":"Urutkan berdasarkan nama","Sort by size":"Urutkan berdasarkan ukuran","Add folder":"Tambah folder",Reset:"Reset",Save:"Simpan","Save as ...":"Simpan sebagai...",Resize:"Ubah ukuran",Crop:"Crop",Width:"Lebar",Height:"Tinggi","Keep Aspect Ratio":"Jaga aspek rasio",Yes:"Ya",No:"Tidak",Remove:"Copot",Select:"Pilih","Chars: %d":"Karakter: %d","Words: %d":"Kata: %d",All:"Semua","Select %s":"Pilih %s","Select all":"Pilih semua","Vertical align":"Rata vertikal",Split:"Bagi","Split vertical":"Bagi secara vertikal","Split horizontal":"Bagi secara horizontal",Merge:"Gabungkan","Add column":"Tambah kolom","Add row":"tambah baris",Delete:"Hapus",Border:"Bingkai","License: %s":"Lisensi: %s","Strike through":"Coret",Underline:"Garis Bawah",superscript:"Superskrip",subscript:"Subskrip","Cut selection":"Potong pilihan",Break:"Berhenti","Search for":"Mencari","Replace with":"Ganti dengan",Replace:"Mengganti",Paste:"Paste","Choose Content to Paste":"Pilih konten untuk dipaste","You can only edit your own images. Download this image on the host?":"Anda hanya dapat mengedit gambar Anda sendiri. Unduh gambar ini di host?","The image has been successfully uploaded to the host!":"Gambar telah sukses diunggah ke host!",palette:"palet","There are no files":"Tidak ada berkas",Rename:"ganti nama","Enter new name":"Masukkan nama baru",preview:"pratinjau",download:"Unduh","Paste from clipboard":"Paste dari clipboard","Your browser doesn't support direct access to the clipboard.":"Browser anda tidak mendukung akses langsung ke clipboard.","Copy selection":"Copy seleksi",copy:"copy","Border radius":"Border radius","Show all":"Tampilkan semua",Apply:"Menerapkan","Please fill out this field":"Silahkan mengisi kolom ini","Please enter a web address":"Silahkan masukkan alamat web",Default:"Default",Circle:"Lingkaran",Dot:"Dot",Quadrate:"Kuadrat",Find:"Menemukan","Find Previous":"Menemukan Sebelumnya","Find Next":"Menemukan Berikutnya","Insert className":"Masukkan nama kelas","Press Alt for custom resizing":"Tekan Alt untuk mengubah ukuran kustom"}},92699(e,t){t.A='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path stroke-width="0" d="M10.5 20H2a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h1V3l2.03-.4a3 3 0 0 1 5.94 0L13 3v1h1a2 2 0 0 1 2 2v1h-2V6h-1v1H3V6H2v12h5v2h3.5zM8 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm2 4h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2v-8c0-1.1.9-2 2-2zm0 2v8h8v-8h-8z"/> </svg> '},92762(e,t,r){r.d(t,{Kn(){return i.K},Zg(){return n.Z},kG(){return o.k}});var i=r(22859),o=r(34793),n=r(38927)},93079(e,t,r){var i=r(580),o=r(21537);r(21988),i.fg.add("color",e=>{e.registerButton({name:"brush",group:"color"});const t=(t,r,i)=>{const n=(0,o.normalizeColor)(i);switch(t){case"background":e.s.commitStyle({attributes:{style:{backgroundColor:n||""}}});break;case"forecolor":e.s.commitStyle({attributes:{style:{color:n||""}}})}return e.synchronizeValues(),!1};e.registerCommand("forecolor",t).registerCommand("background",t)})},93119(e,t,r){r.d(t,{Q(){return o}});var i=r(67477);class o{add(e){var t;const r=(null!==(t=e.nodeValue)&&void 0!==t?t:"").toLowerCase();if(!r.length)return;const i=this.value.length;this.queue.push({startIndex:i,endIndex:i+r.length,node:e}),this.value+=r}ranges(e,t=0){const r=[];let i=t,o=0,n=0;do{if([i,o]=this.searchIndex(e,this.value,i),-1!==i){let e,t,s=0,a=0;for(let r=n;this.queue.length>r;r+=1)if(!e&&this.queue[r].endIndex>i&&(e=this.queue[r].node,s=i-this.queue[r].startIndex),e&&this.queue[r].endIndex>=i+o){t=this.queue[r].node,a=i+o-this.queue[r].startIndex,n=r;break}e&&t&&r.push({startContainer:e,startOffset:s,endContainer:t,endOffset:a}),i+=o}}while(-1!==i);return 0===r.length?null:r}constructor(e=i.H){this.searchIndex=e,this.queue=[],this.value=""}}},93183(e,t,r){var i=r(82758),o=r(22732),n=r(580),s=r(23282),a=r(50911),l=r(45124),c=(r(32496),r(11338)),d=r(14630);class u extends a.k{afterInit(e){e.registerCommand("deleteButton",{exec:()=>this.onDelete(!1),hotkeys:e.o.delete.hotkeys.delete},{stopPropagation:!1}).registerCommand("backspaceButton",{exec:()=>this.onDelete(!0),hotkeys:e.o.delete.hotkeys.backspace},{stopPropagation:!1}).registerCommand("deleteWordButton",{exec:()=>this.onDelete(!1,"word"),hotkeys:e.o.delete.hotkeys.deleteWord}).registerCommand("backspaceWordButton",{exec:()=>this.onDelete(!0,"word"),hotkeys:e.o.delete.hotkeys.backspaceWord}).registerCommand("deleteSentenceButton",{exec:()=>this.onDelete(!1,"sentence"),hotkeys:e.o.delete.hotkeys.deleteSentence}).registerCommand("backspaceSentenceButton",{exec:()=>this.onDelete(!0,"sentence"),hotkeys:e.o.delete.hotkeys.backspaceSentence})}beforeDestruct(e){e.e.off("afterCommand.delete")}onDelete(e,t="char"){const r=this.j,n=r.selection;if(n.isFocused()||n.focus(),(0,c.L)(r))return!1;const a=n.range,u=r.createInside.text(i.INVISIBLE_SPACE);try{if(o.J.safeInsertNode(a,u),!o.J.isOrContains(r.editor,u))return;if(r.e.fire("backSpaceBeforeCases",e,u))return!1;if((0,l.W8)(r,u,e),d.C.some(i=>{if((0,s.T)(i)&&i(r,u,e,t))return!0}))return!1}catch(e){throw e}finally{r.e.fire("backSpaceAfterDelete",e,u),this.safeRemoveEmptyNode(u)}return!1}safeRemoveEmptyNode(e){var t,r;const{range:i}=this.j.s;i.startContainer===e&&(e.previousSibling?o.J.isText(e.previousSibling)?i.setStart(e.previousSibling,null!==(r=null===(t=e.previousSibling.nodeValue)||void 0===t?void 0:t.length)&&void 0!==r?r:0):i.setStartAfter(e.previousSibling):e.nextSibling&&(o.J.isText(e.nextSibling)?i.setStart(e.nextSibling,0):i.setStartBefore(e.nextSibling)),i.collapse(!0),this.j.s.selectRange(i)),o.J.safeRemove(e)}}u.requires=["hotkeys"],n.fg.add("backspace",u)},93401(e,t,r){var i=r(65478),o=r(22732),n=r(580),s=r(21537),a=r(50911),l=r(67510),c=r(61259),d=r(21491),u=(r(24526),function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s});class h extends a.k{get popup(){return new c.z(this.jodit,!1)}get toolbar(){return(0,d.$K)(this.jodit,this.popup)}onClick(e){const t=this.elmsList,r=o.J.isTag(e,"img")?e:o.J.closest(e,t,this.j.editor);if(r&&this.canShowPopupForType(r.nodeName.toLowerCase()))return this.showPopup(()=>(0,s.position)(r,this.j),r.nodeName.toLowerCase(),r),!1}showPopup(e,t,r){if(t=t.toLowerCase(),!this.canShowPopupForType(t))return!1;if(this.type!==t||r!==this.previousTarget){this.previousTarget=r;const e=this.j.o.popup[t];let i;i=(0,s.isFunction)(e)?e(this.j,r,this.popup.close):e,(0,s.isArray)(i)&&(this.toolbar.build(i,r),this.toolbar.buttonSize=this.j.o.toolbarButtonSize,i=this.toolbar.container),this.popup.setContent(i),this.type=t}return this.popup.open(e),!0}hidePopup(e){!this.popup.isOpened||(0,s.isString)(e)&&e!==this.type||this.popup.close()}onOutsideClick(){this.popup.close()}canShowPopupForType(e){const t=this.j.o.popup[e.toLowerCase()];return!(this.j.o.readonly||!this.j.o.toolbarInline||!t||this.isExcludedTarget(e))}isExcludedTarget(e){return(0,s.splitArray)(this.j.o.toolbarInlineDisableFor).map(e=>e.toLowerCase()).includes(e.toLowerCase())}afterInit(e){this.j.e.on("getDiffButtons.mobile",t=>{if(this.toolbar===t){const t=this.toolbar.getButtonsNames();return(0,s.toArray)(e.registeredButtons).filter(e=>!this.j.o.toolbarInlineDisabledButtons.includes(e.name)).filter(e=>{const r=(0,s.isString)(e)?e:e.name;return r&&"|"!==r&&"\n"!==r&&!t.includes(r)})}}).on("hidePopup",this.hidePopup).on("showInlineToolbar",this.showInlineToolbar).on("showPopup",(e,t,r)=>{this.showPopup(t,r||((0,s.isString)(e)?e:e.nodeName),(0,s.isString)(e)?void 0:e)}).on("mousedown keydown",this.onSelectionStart).on("change",()=>{this.popup.isOpened&&this.previousTarget&&!this.previousTarget.parentNode&&(this.hidePopup(),this.previousTarget=void 0)}).on([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.addListenersForElements()}onSelectionStart(){this.snapRange=this.j.s.range.cloneRange()}onSelectionEnd(e){if(e&&e.target&&l.D$.closestElement(e.target,c.z))return;const{snapRange:t}=this,{range:r}=this.j.s;t&&!r.collapsed&&r.startContainer===t.startContainer&&r.startOffset===t.startOffset&&r.endContainer===t.endContainer&&r.endOffset===t.endOffset||this.onSelectionChange()}onSelectionChange(){if(!this.j.o.toolbarInlineForSelection)return;const e="selection",t=this.j.s.sel,r=this.j.s.range;(null==t?void 0:t.isCollapsed)||this.isSelectedTarget(r)?this.type===e&&this.popup.isOpened&&this.hidePopup():this.j.s.current()&&this.showPopup(()=>r.getBoundingClientRect(),e)}isSelectedTarget(e){const t=e.startContainer;return o.J.isElement(t)&&t===e.endContainer&&o.J.isTag(t.childNodes[e.startOffset],new Set((0,s.keys)(this.j.o.popup,!1)))&&e.startOffset===e.endOffset-1}beforeDestruct(e){e.e.off("showPopup").off([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.removeListenersForElements()}_eventsList(){const e=this.elmsList;return e.map(e=>(0,s.camelCase)("click_"+e)).concat(e.map(e=>(0,s.camelCase)("touchstart_"+e))).join(" ")}addListenersForElements(){this.j.e.on(this._eventsList(),this.onClick)}removeListenersForElements(){this.j.e.off(this._eventsList(),this.onClick)}showInlineToolbar(e){this.showPopup(()=>{if(e)return e;const{range:t}=this.j.s;return t.getBoundingClientRect()},"toolbar")}constructor(){super(...arguments),this.type=null,this.snapRange=null,this.elmsList=(0,s.keys)(this.j.o.popup,!1).filter(e=>!this.isExcludedTarget(e))}}h.requires=["select"],u([i.cache],h.prototype,"popup",null),u([i.cache],h.prototype,"toolbar",null),u([i.autobind],h.prototype,"onClick",null),u([(0,i.wait)(e=>!e.j.isLocked)],h.prototype,"showPopup",null),u([(0,i.watch)([":clickEditor",":beforeCommandDelete",":backSpaceAfterDelete"]),i.autobind],h.prototype,"hidePopup",null),u([(0,i.watch)(":outsideClick")],h.prototype,"onOutsideClick",null),u([i.autobind],h.prototype,"onSelectionStart",null),u([i.autobind],h.prototype,"onSelectionEnd",null),u([(0,i.debounce)(e=>e.defaultTimeout)],h.prototype,"onSelectionChange",null),u([i.autobind],h.prototype,"showInlineToolbar",null),n.fg.add("inlinePopup",h)},93602(e,t,r){r.d(t,{g(){return l}});var i,o=r(65478),n=r(72757),s=r(37643),a=r(85567);let l=i=class e extends n.h{set lang(e){this._lang=e,this._api.lang=e}get lang(){return this._lang}set continuous(e){this._continuous=e,this._api.continuous=e}get continuous(){return this._continuous}set interimResults(e){this._interimResults=e,this._api.interimResults=e}get interimResults(){return this._interimResults}destruct(){this.stop(),i._instances.delete(this),super.destruct()}get isEnabled(){return this._isEnabled}start(){if(!this._isEnabled){this._isEnabled=!0,i._instances.forEach(e=>{e!==this&&e.stop()});try{this._api.start()}catch(e){return this._onError(e),void this.stop()}this.__on("speechstart",this._onSpeechStart).__on("error",this._onError).__on("result",this._onProgress).__on("end",this._onResults)}}stop(){this._isEnabled&&(this._api.abort(),this._api.stop(),this.__off("speechstart",this._onSpeechStart).__off("error",this._onError).__off("result",this._onProgress).__off("end",this._onResults),this.async.clearTimeout(this._restartTimeout),this._isEnabled=!1,this.emit("pulse",!1))}toggle(){this._isEnabled?this.stop():this.start()}restart(){this.stop(),this.start()}__on(e,t){return this._api.addEventListener(e,t),this}__off(e,t){return this._api.removeEventListener(e,t),this}_onResults(e){this.emit("pulse",!1),this.emit("result",this.__interimResults),this.__interimResults="",this._makeSound(a.N),this.restart()}_onProgress(e){if(this._isEnabled&&(this.__interimResults="",e.results)){for(let t=0;e.results.length>t;t++){const r=e.results.item(t);if(r.length){const{transcript:e}=r.item(0);this.__interimResults+=e}}this.__interimResults&&this.emit("progress",this.__interimResults)}}_onError(e){"voice-unavailable"===e.error&&this.emit("error","Voice unavailable"),"not-allowed"===e.error&&this.emit("error","Not allowed"),"language-unavailable"!==e.error&&"language-not-supported"!==e.error||this.emit("error","Language unavailable"),this._makeSound(a.Z),this.emit("pulse",!1),this.stop()}_makeSound(e){this.sound&&(0,s.s)({frequency:e})}constructor(e,t){super(),this.async=e,this._continuous=!1,this._interimResults=!1,this.sound=!0,this._isEnabled=!1,this._restartTimeout=0,this._onSpeechStart=e=>{this._isEnabled&&(this.async.clearTimeout(this._restartTimeout),this._restartTimeout=this.async.setTimeout(()=>{this.restart(),this.emit("pulse",!1),this._makeSound(a.Z)},5e3),this.emit("pulse",!0))},this.__interimResults="",this._api=t,i._instances.add(this)}};l._instances=new Set,l=i=function(e,t,r,i){var o,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>n?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}([o.autobind],l)},93661(e,t,r){function i(e="Aborted"){return new DOMException(e,"AbortError")}r.d(t,{h(){return i},r(){return o}});const o=r(12045).z},94122(e,t,r){r.d(t,{$j(){return o.$},Pb(){return a},YQ(){return s},_9(){return n._},dT(){return i.d},tN(){return o.t}}),r(83987);var i=r(50373),o=r(71686),n=r(80020);function s(e){return!!(e&&e.files&&e.files.length>0)}function a(e){return!!(e&&e.items&&e.items.length>0)}},94466(e,t,r){r.d(t,{D(){return l},M(){return a}});var i=r(21496),o=r(43555),n=r(38837),s=r(22030);function a(e,t){return!e.attributes.length&&!(0,i.E)(t)||!(0,i.E)(t)||((0,n.v)(t,"Attrs must be a non-empty object"),Object.keys(t).every(r=>"class"===r||"className"===r?e.classList.contains(t[r]):"style"===r?(0,s.g)(e,t[r]):(0,o.CF)(e,r)===t[r]))}function l(e,t){return e.attributes.length===t.attributes.length&&Array.from(e.attributes).every(e=>t.hasAttribute(e.name)&&t.getAttribute(e.name)===e.value)}},94538(e,t,r){r.d(t,{r(){return l}});var i=r(22732),o=r(71521),n=r(10830),s=r(32118),a=r(20201);function l(){const e=(0,s.a)(this),{state:t,files:r,create:l,options:c}=this,d=t=>{const r=t.uniqueHashKey;if(e[r])return e[r].elm;const i=l.fromHTML(c.getThumbTemplate.call(this,t,t.source,""+t.sourceName));return i.dataset.key=r,e[r]={item:t,elm:i},e[r].elm};t.on(["change.currentPath","change.currentSource"],this.async.debounce(()=>{this.o.saveStateInStorage&&this.o.saveStateInStorage.storeLastOpenedFolder&&this.storage.set("currentPath",this.state.currentPath).set("currentSource",this.state.currentSource),(0,a.r)(this).catch(this.status)},this.defaultTimeout)).on("beforeChange.activeElements",()=>{t.activeElements.forEach(t=>{const i=t.uniqueHashKey,{elm:o}=e[i];o&&o.classList.remove(r.getFullElName("item","active",!0))})}).on("change.activeElements",()=>{this.e.fire("changeSelection"),t.activeElements.forEach(t=>{const i=t.uniqueHashKey,{elm:o}=e[i];o&&o.classList.add(r.getFullElName("item","active",!0))})}).on("change.view",()=>{r.setMod("view",t.view),this.o.saveStateInStorage&&this.o.saveStateInStorage.storeView&&this.storage.set("view",t.view)}).on("change.sortBy",()=>{this.o.saveStateInStorage&&this.o.saveStateInStorage.storeSortBy&&this.storage.set("sortBy",t.sortBy)}).on("change.elements",this.async.debounce(()=>{i.J.detach(r.container),t.elements.length?t.elements.forEach(e=>{this.files.container.appendChild(d(e))}):r.container.appendChild(l.div(this.componentName+"_no-files_true",this.i18n("There are no files")))},this.defaultTimeout)).on("change.sources",this.async.debounce(()=>{i.J.detach(this.tree.container),t.sources.forEach(e=>{const t=e.name;if(t&&"default"!==t&&this.tree.container.appendChild(l.div(this.tree.getFullElName("source-title"),t)),e.folders.forEach(r=>{const i=l.a(this.tree.getFullElName("item"),{draggable:"draggable",href:"#","data-path":(0,o.Fd)(e.path,r+"/"),"data-name":r,"data-source":t,"data-source-path":e.path},l.span(this.tree.getFullElName("item-title"),r)),s=i=>n=>{this.e.fire(i+".filebrowser",{name:r,path:(0,o.Fd)(e.path+"/"),source:t}),n.stopPropagation(),n.preventDefault()};if(this.e.on(i,"click",s("openFolder")),this.tree.container.appendChild(i),".."!==r&&"."!==r){if(c.renameFolder&&this.dataProvider.canI("FolderRename")){const e=(0,n.$n)(this,{icon:{name:"pencil"},name:"rename",tooltip:"Rename",size:"tiny"});e.onAction(s("renameFolder")),i.appendChild(e.container)}if(c.deleteFolder&&this.dataProvider.canI("FolderRemove")){const e=(0,n.$n)(this,{icon:{name:"cancel"},name:"remove",tooltip:"Delete",size:"tiny"});e.onAction(s("removeFolder")),i.appendChild(e.container)}}}),c.createNewFolder&&this.dataProvider.canI("FolderCreate")){const r=(0,n.$n)(this,"plus","Add folder","secondary");r.onAction(()=>{this.e.fire("addFolder",{path:(0,o.Fd)(e.path+"/"),source:t})}),this.tree.append(r)}})},this.defaultTimeout))}},94575(e,t,r){r.d(t,{U(){return l}});var i=r(29960),o=r(51642),n=r(75595),s=r(47749),a=r(32566);async function l(e,t){const{sourceImage:r,values:l}=t;return(0,o.g)(r,l),l.borderRadius=parseInt(r.style.borderRadius||"0",10)||0,l.id=(0,i.C)(r,"id")||"",l.imageTitle=(0,i.C)(r,"title")||"",l.imageAlt=(0,i.C)(r,"alt")||"",l.style=(0,i.C)(r,"style")||"",l.classes=((0,i.C)(r,"class")||"").replace(/jodit_focused_image[\s]*/,""),(0,s.E)(r,l,t),(0,n.X)(t,e,l),l.imageSrc=(0,i.C)(r,"src")||"",(0,a.P)(r,l,t)}},94643(e,t,r){r.d(t,{J(){return n}});var i=r(70799),o=r(86068);function n(e,t){if(!(0,i.K)(e)||!e.length)return null;const r=e.split(".");let n=t;try{for(const e of r){if((0,o.R)(n[e]))return null;n=n[e]}}catch(e){return null}return(0,o.R)(n)?null:n}},94775(e,t){t.A='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"> <path d="M24.89,6.61H22.31V4.47A2.47,2.47,0,0,0,19.84,2H6.78A2.47,2.47,0,0,0,4.31,4.47V22.92a2.47,2.47,0,0,0,2.47,2.47H9.69V27.2a2.8,2.8,0,0,0,2.8,2.8h12.4a2.8,2.8,0,0,0,2.8-2.8V9.41A2.8,2.8,0,0,0,24.89,6.61ZM6.78,23.52a.61.61,0,0,1-.61-.6V4.47a.61.61,0,0,1,.61-.6H19.84a.61.61,0,0,1,.61.6V6.61h-8a2.8,2.8,0,0,0-2.8,2.8V23.52Zm19,3.68a.94.94,0,0,1-.94.93H12.49a.94.94,0,0,1-.94-.93V9.41a.94.94,0,0,1,.94-.93h12.4a.94.94,0,0,1,.94.93Z"/> <path d="M23.49,13.53h-9.6a.94.94,0,1,0,0,1.87h9.6a.94.94,0,1,0,0-1.87Z"/> <path d="M23.49,17.37h-9.6a.94.94,0,1,0,0,1.87h9.6a.94.94,0,1,0,0-1.87Z"/> <path d="M23.49,21.22h-9.6a.93.93,0,1,0,0,1.86h9.6a.93.93,0,1,0,0-1.86Z"/> </svg> '},94870(e,t,r){r.d(t,{z(){return n}});var i=r(2748);const o=new Set(["table","pre","blockquote","code"]);function n(e,t){if(!e.o.dtd.removeExtraBr||i.J.isTag(t,"br"))return;const r=i.J.furthest(t,i.J.isBlock,e.editor);if(r&&!i.J.isTag(r,o)){const r=i.J.isTag(t,"br")?t:i.J.findNotEmptySibling(t,!1);if(!i.J.isTag(r,"br"))return;e.s.setCursorBefore(r),i.J.safeRemove(r)}}},95942(e,t,r){r.d(t,{B(){return o},f(){return i}});const i=console;function o(e,t=[""],r=null){return(...o)=>(i.warn(`Method "${t[0]}" deprecated.`+(t[1]?` Use "${t[1]}" instead`:"")),e.call(r,...o))}},96111(e,t,r){var i=r(580);r(24630),i.fg.add("formatBlock",e=>{e.registerButton({name:"paragraph",group:"font"}),e.registerCommand("formatblock",(t,r,i)=>(e.s.commitStyle({element:i}),e.synchronizeValues(),!1))})},96257(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 48 48"> <path d="M6 42h4v-4h-4v4zm4-28h-4v4h4v-4zm-4 20h4v-4h-4v4zm8 8h4v-4h-4v4zm-4-36h-4v4h4v-4zm8 0h-4v4h4v-4zm16 0h-4v4h4v-4zm-8 8h-4v4h4v-4zm0-8h-4v4h4v-4zm12 28h4v-4h-4v4zm-16 8h4v-4h-4v4zm-16-16h36v-4h-36v4zm32-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-16 16h4v-4h-4v4zm8 8h4v-4h-4v4zm8 0h4v-4h-4v4z"/> <path d="M0 0h48v48h-48z" fill="none"/> </svg> '},96325(e,t,r){r.d(t,{e(){return n}});var i=r(82758),o=r(70799);const n=(e,t="en")=>"auto"!==e&&(0,o.K)(e)?e:i.globalDocument.documentElement&&i.globalDocument.documentElement.lang?i.globalDocument.documentElement.lang:navigator.language?navigator.language.substring(0,2):t},96958(e,t,r){r.d(t,{z(){return a}});var i=r(82758),o=r(78547),n=r(31117),s=r(46788);function a(e){if((0,n.hJ)(e)){e.name="li",e.style.set("text-indent",null);const t=l(e),r=/[\da-np-zA-NP-Z].?/.test(t)?"ol":"ul",i=((e,t)=>{for(const t in o.wD)if(RegExp(t).test(e))return o.wD[t];return"ol"===t?"decimal":"disc"})(t,r);e.attributes[o.lA]=r,e.attributes[o.yL]=i,(0,s.lT)(e),(e=>{for(;e;){const t=e.previousElement;if(!(0,n.xe)(t)&&!(0,n.Lv)(t))break;if((0,n.xe)(t)){if(t.attributes[o.fB]>e.attributes[o.fB])break;if(e.attributes[o.fB]===t.attributes[o.fB]&&e.parent&&(0,n.LE)(e,e.parent))break;t.append(e);continue}const r=t;if(r.attributes[o.fB]>e.attributes[o.fB])break;if(e.attributes[o.fB]===r.attributes[o.fB]&&!(0,n.LE)(e,r))break;r.append(e)}})(e);const{parent:a}=e;if(!(0,n.Lv)(a)||!(0,n.LE)(e,a)){const l=((e,t,r,i)=>{const a=e.wrap(t);return a.attributes.start=(0,s.jh)(r),a.attributes[o.fB]=e.attributes[o.fB],a.attributes[o.yL]=e.attributes[o.yL],a.attributes[o.pz]=e.attributes[o.yL],a.style.set(o.Gb,i),(e=>{!(0,n.Lv)(e)||"li"===e.parent?.name||"disc"!==e.style.get(o.Gb)&&"decimal"!==e.style.get(o.Gb)||e.style.set(o.Gb,null)})(a),a})(e,r,t,i);return(0,n.Lv)(a)&&(l.remove(),a.lastElement?.append(l)),e}}return e}const l=e=>e.textBetween(e=>e.isComment&&/\[if.*supportLists.*]/.test((0,n.qy)(e)),e=>e.isComment&&/\[endif]/.test((0,n.qy)(e))).replace(/&nbsp;/g,"").replace((0,i.SPACE_REG_EXP)(),"")},96967(e,t,r){r(6441).T.prototype.wrapNodes={exclude:new Set(["hr","style","br"]),emptyBlockAfterInit:!0}},97357(e,t,r){r.d(t,{A(){return n}});var i=r(23282),o=r(89890);function n(e){return(t,r)=>{if(!(0,i.T)(t[r]))throw(0,o.z3)("Handler must be a Function");t.hookStatus(e,e=>{e[r].call(e)})}}},97379(e,t,r){r.d(t,{Q(){return o}});var i=r(67510);class o extends i.Ue{className(){return"FileBrowserFiles"}}},97380(e,t,r){r.d(t,{$s(){return a},Wv(){return l},sz(){return s}});var i=r(2748),o=r(22030),n=r(29136);function s(e,t,r,s=!0){var a;if(!t||!(0,n._)(t))return!1;const{element:l,elementIsDefault:c,options:d}=e;if(i.J.isList(t)&&e.elementIsList)return!0;const u=i.J.isTag(t,l);return!(!u||c&&r)||!(!(null===(a=d.attributes)||void 0===a?void 0:a.style)||!(s?(0,o.g)(t,d.attributes.style):(0,o.Y)(t,d.attributes.style))||e.elementIsList)||!u&&!r&&c&&i.J.isInlineBlock(t)}function a(e,t,r){return i.J.closest(t,t=>s(e,t,!0,!1),r)}function l(e,t){var r,i;const{element:s,options:a}=e;if(!t||!(0,n._)(t))return!1;const l=t.nodeName.toLowerCase()===s,c=!(!(null===(r=a.attributes)||void 0===r?void 0:r.style)||!(0,o.Y)(t,null===(i=a.attributes)||void 0===i?void 0:i.style));return l&&c}},97519(e,t){t.A={"Type something":"무엇이든 입력하세요","About Jodit":"Jodit에 대하여","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Jodit 사용자 안내서","contains detailed help for using":"자세한 도움말이 들어있어요","For information about the license, please go to our website:":"라이센스에 관해서는 Jodit 웹 사이트를 방문해주세요:","Buy full version":"풀 버전 구입하기","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"© XDSoft.net - Chupurnov Valeriy. 에게 저작권과 모든 권리가 있습니다.",Anchor:"Anchor","Open in new tab":"새 탭에서 열기","Open in fullsize":"전체 크기로 보기","Clear Formatting":"서식 지우기","Fill color or set the text color":"글씨 색상",Redo:"재실행",Undo:"실행 취소",Bold:"굵게",Italic:"기울임","Insert Unordered List":"글머리 목록","Insert Ordered List":"번호 목록","Align Center":"가운데 정렬","Align Justify":"양쪽 정렬","Align Left":"왼쪽 정렬","Align Right":"오른쪽 정렬","Insert Horizontal Line":"수평 구분선 넣기","Insert Image":"이미지 넣기","Insert file":"파일 넣기","Insert youtube/vimeo video":"Youtube/Vimeo 동영상","Insert link":"링크 넣기","Font size":"글꼴 크기","Font family":"글꼴","Insert format block":"블록 요소 넣기",Normal:"일반 텍스트","Heading 1":"제목 1","Heading 2":"제목 2","Heading 3":"제목 3","Heading 4":"제목 4",Quote:"인용",Code:"코드",Insert:"붙여 넣기","Insert table":"테이블","Decrease Indent":"들여쓰기 감소","Increase Indent":"들여쓰기 증가","Select Special Character":"특수문자 선택","Insert Special Character":"특수문자 입력","Paint format":"페인트 형식","Change mode":"편집모드 변경",Margins:"마진",top:"위",right:"오른쪽",bottom:"아래",left:"왼쪽",Styles:"스타일",Classes:"클래스",Align:"정렬",Right:"오른쪽으로",Center:"가운데로",Left:"왼쪽으로","--Not Set--":"--지정 안 함--",Src:"경로(src)",Title:"제목",Alternative:"대체 텍스트(alt)",Link:"링크","Open link in new tab":"새 탭에서 열기",file:"파일",Advanced:"고급","Image properties":"이미지 속성",Cancel:"취소",Ok:"확인","Your code is similar to HTML. Keep as HTML?":"HTML 코드로 감지했어요. 코드인채로 붙여넣을까요?","Paste as HTML":"HTML로 붙여넣기",Keep:"원본 유지",Clean:"지우기","Insert as Text":"텍스트로 넣기","Insert only Text":"텍스트만 넣기","Word Paste Detected":"Word 붙여넣기 감지","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Microsoft Word/Excel 문서로 감지했어요. 서식을 유지한채로 붙여넣을까요?","File Browser":"파일 탐색기","Error on load list":"목록 불러오기 에러","Error on load folders":"폴더 불러오기","Are you sure?":"정말 진행할까요?","Enter Directory name":"디렉토리 이름 입력","Create directory":"디렉토리 생성","type name":"이름 입력","Drop image":"이미지 드래그","Drop file":"파일 드래그","or click":"혹은 클릭","Alternative text":"대체 텍스트",Browse:"탐색",Upload:"업로드",Background:"배경",Text:"텍스트",Top:"위",Middle:"중앙",Bottom:"아래","Insert column before":"이전 열에 삽입","Insert column after":"다음 열에 삽입","Insert row above":"위 행에 삽입","Insert row below":"아래 행에 삽입","Delete table":"테이블 삭제","Delete row":"행 삭제","Delete column":"열 삭제","Empty cell":"빈 셀",source:"HTML 소스",bold:"볼드",italic:"이탤릭",brush:"브러시",link:"링크",undo:"실행 취소",redo:"재실행",table:"테이블",image:"이미지",eraser:"지우개",paragraph:"문단",fontsize:"글꼴 크기",video:"비디오",font:"글꼴",about:"편집기 정보",print:"프린트",underline:"밑줄",strikethrough:"취소선",indent:"들여쓰기",outdent:"내어쓰기",fullsize:"전체 화면",shrink:"일반 화면",hr:"구분선",ul:"글머리 목록",ol:"번호 목록",cut:"잘라내기",selectall:"모두 선택","Embed code":"Embed 코드","Open link":"링크 열기","Edit link":"링크 편집","No follow":"No follow",Unlink:"링크 제거",Eye:"사이트 확인",pencil:"연필",Update:"갱신"," URL":"URL",Edit:"편집","Horizontal align":"수평 정렬",Filter:"필터","Sort by changed":"변경일 정렬","Sort by name":"이름 정렬","Sort by size":"크기 정렬","Add folder":"새 폴더",Reset:"초기화",Save:"저장","Save as ...":"새로 저장하기 ...",Resize:"리사이즈",Crop:"크롭",Width:"가로 길이",Height:"세로 높이","Keep Aspect Ratio":"비율 유지하기",Yes:"네",No:"아니오",Remove:"제거",Select:"선택","Chars: %d":"문자수: %d","Words: %d":"단어수: %d",All:"모두","Select all":"모두 선택","Select %s":"선택: %s","Vertical align":"수직 정렬",Split:"분할","Split vertical":"세로 셀 분할","Split horizontal":"가로 셀 분할",Merge:"셀 병합","Add column":"열 추가","Add row":"행 추가",Delete:"삭제",Border:"외곽선","License: %s":"라이센스: %s","Strike through":"취소선",Underline:"밑줄",superscript:"윗첨자",subscript:"아래첨자","Cut selection":"선택 잘라내기",Break:"구분자","Search for":"검색","Replace with":"대체하기",Replace:"대체",Paste:"붙여넣기","Choose Content to Paste":"붙여넣을 내용 선택","You can only edit your own images. Download this image on the host?":"외부 이미지는 편집할 수 없어요. 외부 이미지를 다운로드 할까요?","The image has been successfully uploaded to the host!":"이미지를 무사히 업로드 했어요!",palette:"팔레트","There are no files":"파일이 없어요",Rename:"이름 변경","Enter new name":"새 이름 입력",preview:"미리보기",download:"다운로드","Paste from clipboard":"클립보드 붙여넣기","Your browser doesn't support direct access to the clipboard.":"사용중인 브라우저가 클립보드 접근을 지원하지 않아요.","Copy selection":"선택 복사",copy:"복사","Border radius":"둥근 테두리","Show all":"모두 보기",Apply:"적용","Please fill out this field":"이 항목을 입력해주세요!","Please enter a web address":"웹 URL을 입력해주세요.",Default:"기본",Circle:"원",Dot:"점",Quadrate:"정사각형",Find:"찾기","Find Previous":"이전 찾기","Find Next":"다음 찾기","Insert className":"className 입력","Press Alt for custom resizing":"사용자 지정 크기 조정에 대 한 고도 누르십시오"}},97536(e,t,r){r(6441).T.prototype.image={dialogWidth:600,openOnDblClick:!0,editSrc:!0,useImageEditor:!0,editTitle:!0,editAlt:!0,editLink:!0,editSize:!0,editBorderRadius:!0,editMargins:!0,editClass:!0,availableClasses:[],editStyle:!0,editId:!0,editAlign:!0,showPreview:!0,selectImageAfterClose:!0}},97639(e,t,r){r.d(t,{T(){return i}});const i=e=>{const t=navigator.userAgent.toLowerCase(),r=/(firefox)[\s/]([\w.]+)/.exec(t)||/(chrome)[\s/]([\w.]+)/.exec(t)||/(webkit)[\s/]([\w.]+)/.exec(t)||/(opera)(?:.*version)[\s/]([\w.]+)/.exec(t)||/(msie)[\s]([\w.]+)/.exec(t)||/(trident)\/([\w.]+)/.exec(t)||0>t.indexOf("compatible")||[];return"version"===e?r[2]:"webkit"===e?"chrome"===r[1]||"webkit"===r[1]:"ff"===e?"firefox"===r[1]:"msie"===e?"trident"===r[1]||"msie"===r[1]:r[1]===e}},97735(e,t,r){r.d(t,{Hp(){return n},mA(){return o},y6(){return s}});var i=r(67462);function o(e){return e&&e.isAtom}function n(e){return Object.defineProperty(e,"isAtom",{enumerable:!1,value:!0,configurable:!1}),e}function s(e){return JSON.parse((0,i.A)(e))}},98220(e,t,r){r.d(t,{b(){return d}});var i=r(82758),o=r(46559),n=r(68345),s=r(23282),a=r(70799),l=r(89890),c=r(15738);class d{mute(e){return this.__mutedEvents.add(null!=e?e:"*"),this}isMuted(e){return!(!e||!this.__mutedEvents.has(e))||this.__mutedEvents.has("*")}unmute(e){return this.__mutedEvents.delete(null!=e?e:"*"),this}__eachEvent(e,t){(0,o.u)(e).map(e=>e.trim()).forEach(e=>{const r=e.split(".");t.call(this,r[0],r[1]||c.X)})}__getStore(e){if(!e)throw(0,l.z3)("Need subject");if(void 0===e[this.__key]){const t=new c.d;Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:t})}return e[this.__key]}__removeStoreFromSubject(e){void 0!==e[this.__key]&&Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:void 0})}__triggerNativeEvent(e,t){const r=this.__doc.createEvent("HTMLEvents");(0,a.K)(t)?r.initEvent(t,!0,!0):(r.initEvent(t.type,t.bubbles,t.cancelable),["screenX","screenY","clientX","clientY","target","srcElement","currentTarget","timeStamp","which","keyCode"].forEach(e=>{Object.defineProperty(r,e,{value:t[e],enumerable:!0})}),Object.defineProperty(r,"originalEvent",{value:t,enumerable:!0})),e.dispatchEvent(r)}get current(){return this.currents[this.currents.length-1]}on(e,t,r,o){let c,d,h,p;if((0,a.K)(e)||(0,a.B)(e)?(c=this,d=e,h=t,p=r):(c=e,d=t,h=r,p=o),!(0,a.K)(d)&&!(0,a.B)(d)||0===d.length)throw(0,l.z3)("Need events names");if(!(0,s.T)(h))throw(0,l.z3)("Need event handler");if((0,n.c)(c))return c.forEach(e=>{this.on(e,d,h,p)}),this;const f=c,m=this.__getStore(f),g=this;let v=function(e,...t){if(!g.isMuted(e))return h&&h.call(this,...t)};return u(f)&&(v=function(e){if(!g.isMuted(e.type))return g.__prepareEvent(e),h&&!1===h.call(this,e)?(e.preventDefault(),e.stopImmediatePropagation(),!1):void 0}),this.__eachEvent(d,(e,t)=>{var r,o;if(0===e.length)throw(0,l.z3)("Need event name");if(!1===m.indexOf(e,t,h)&&(m.set(e,t,{event:e,originalCallback:h,syntheticCallback:v},null==p?void 0:p.top),u(f))){const t=i.PASSIVE_EVENTS.has(e)?{passive:!0,capture:null!==(r=null==p?void 0:p.capture)&&void 0!==r&&r}:null!==(o=null==p?void 0:p.capture)&&void 0!==o&&o;v.options=t,f.addEventListener(e,v,t),this.__memoryDOMSubjectToHandler(f,v)}}),this}__memoryDOMSubjectToHandler(e,t){const r=this.__domEventsMap.get(e)||new Set;r.add(t),this.__domEventsMap.set(e,r)}__unmemoryDOMSubjectToHandler(e,t){const r=this.__domEventsMap,i=r.get(e)||new Set;i.delete(t),i.size?r.set(e,i):r.delete(e)}one(e,t,r,i){let o,n,s,l;(0,a.K)(e)||(0,a.B)(e)?(o=this,n=e,s=t,l=r):(o=e,n=t,s=r,l=i);const c=(...e)=>(this.off(o,n,c),s(...e));return this.on(o,n,c,l),this}off(e,t,r){let i,o,l;if((0,a.K)(e)||(0,a.B)(e)?(i=this,o=e,l=t):(i=e,o=t,l=r),(0,n.c)(i))return i.forEach(e=>{this.off(e,o,l)}),this;const d=i,h=this.__getStore(d);if(!(0,a.K)(o)&&!(0,a.B)(o)||0===o.length)return h.namespaces().forEach(e=>{this.off(d,"."+e)}),this.__removeStoreFromSubject(d),this;const p=e=>{var t;u(d)&&(d.removeEventListener(e.event,e.syntheticCallback,null!==(t=e.syntheticCallback.options)&&void 0!==t&&t),this.__unmemoryDOMSubjectToHandler(d,e.syntheticCallback))},f=(e,t)=>{if(""===e)return void h.events(t).forEach(e=>{""!==e&&f(e,t)});const r=h.get(e,t);if(r&&r.length)if((0,s.T)(l)){const i=h.indexOf(e,t,l);!1!==i&&(p(r[i]),r.splice(i,1),r.length||h.clearEvents(t,e))}else r.forEach(p),r.length=0,h.clearEvents(t,e)};return this.__eachEvent(o,(e,t)=>{t===c.X?h.namespaces().forEach(t=>{f(e,t)}):f(e,t)}),h.isEmpty()&&this.__removeStoreFromSubject(d),this}stopPropagation(e,t){const r=(0,a.K)(e)?this:e,i=(0,a.K)(e)?e:t;if("string"!=typeof i)throw(0,l.z3)("Need event names");const o=this.__getStore(r);this.__eachEvent(i,(e,t)=>{const i=o.get(e,t);i&&this.__stopped.push(i),t===c.X&&o.namespaces(!0).forEach(t=>this.stopPropagation(r,e+"."+t))})}__removeStop(e){if(e){const t=this.__stopped.indexOf(e);-1!==t&&this.__stopped.splice(0,t+1)}}__isStopped(e){return void 0!==e&&-1!==this.__stopped.indexOf(e)}fire(e,t,...r){let i,o;const n=(0,a.K)(e)?this:e,s=(0,a.K)(e)?e:t,d=(0,a.K)(e)?[t,...r]:r;if(!u(n)&&!(0,a.K)(s))throw(0,l.z3)("Need events names");const h=this.__getStore(n);return!(0,a.K)(s)&&u(n)?this.__triggerNativeEvent(n,t):this.__eachEvent(s,(e,t)=>{if(u(n))this.__triggerNativeEvent(n,e);else{const r=h.get(e,t);if(r)try{[...r].every(t=>!this.__isStopped(r)&&(this.currents.push(e),o=t.syntheticCallback.call(n,e,...d),this.currents.pop(),void 0!==o&&(i=o),!0))}finally{this.__removeStop(r)}t!==c.X||u(n)||h.namespaces().filter(e=>e!==t).forEach(t=>{const r=this.fire.call(this,n,e+"."+t,...d);void 0!==r&&(i=r)})}}),i}destruct(){this.__isDestructed||(this.__isDestructed=!0,this.__domEventsMap.forEach((e,t)=>{this.off(t)}),this.__domEventsMap.clear(),this.__mutedEvents.clear(),this.currents.length=0,this.__stopped.length=0,this.off(this),this.__getStore(this).clear(),this.__removeStoreFromSubject(this))}constructor(e){this.__domEventsMap=new Map,this.__mutedEvents=new Set,this.__key="__JoditEventEmitterNamespaces",this.__doc=i.globalDocument,this.__prepareEvent=e=>{e.cancelBubble||(e.composed&&(0,s.T)(e.composedPath)&&e.composedPath()[0]&&Object.defineProperty(e,"target",{value:e.composedPath()[0],configurable:!0,enumerable:!0}),e.type.match(/^touch/)&&e.changedTouches&&e.changedTouches.length&&["clientX","clientY","pageX","pageY"].forEach(t=>{Object.defineProperty(e,t,{value:e.changedTouches[0][t],configurable:!0,enumerable:!0})}),e.originalEvent||(e.originalEvent=e),"paste"===e.type&&void 0===e.clipboardData&&this.__doc.defaultView.clipboardData&&Object.defineProperty(e,"clipboardData",{get:()=>this.__doc.defaultView.clipboardData,configurable:!0,enumerable:!0}))},this.currents=[],this.__stopped=[],this.__isDestructed=!1,e&&(this.__doc=e),this.__key+=(new Date).getTime()}}function u(e){return(0,s.T)(e.addEventListener)}},98527(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm637-679v206h-514l-3-27q-4-28-4-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 83-65 188-65 110 0 178 59.5t68 158.5q0 56-24.5 103t-62 76.5-81.5 58.5-82 50.5-65.5 51.5-30.5 63h232v-80h126z"/> </svg> '},98582(e,t,r){r.d(t,{Y(){return i}});class i{get url(){return this.request.url}async json(){return JSON.parse(this.body)}text(){return Promise.resolve(this.body)}async blob(){return this.body}constructor(e,t,r,i){this.request=e,this.status=t,this.statusText=r,this.body=i}}},99085(e,t,r){var i=r(12153),o=r(6441),n=r(10937);o.T.prototype.spellcheck=!1,i.I.set("spellcheck",n.A),o.T.prototype.controls.spellcheck={isActive:e=>e.o.spellcheck,icon:n.A,name:"spellcheck",command:"toggleSpellcheck",tooltip:"Spellcheck"}},99649(e,t,r){var i=r(6441);i.T.prototype.showCharsCounter=!0,i.T.prototype.countHTMLChars=!1,i.T.prototype.countTextSpaces=!1,i.T.prototype.showWordsCounter=!0},99762(e,t){t.A='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-896q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h896q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-640q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h640q26 0 45 19t19 45z"/> </svg> '},99823(e,t,r){var i=r(82758),o=r(12153),n=r(6441),s=r(6950),a=r(28911);n.T.prototype.fullsize=!1,n.T.prototype.globalFullSize=!0,o.I.set("fullsize",s.A).set("shrink",a.A),n.T.prototype.controls.fullsize={exec(e){e.toggleFullSize()},update(e,t){const r=e.isFullSize?"shrink":"fullsize";t.state.activated=e.isFullSize,e.o.textIcons?t.state.text=r:t.state.icon.name=r},tooltip:"Open in fullsize",mode:i.MODE_SOURCE+i.MODE_WYSIWYG}}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return r[e].call(n.exports,n,n.exports,o),n.exports}o.m=r,t=[],o.O=(e,r,i,n)=>{if(!r){var s=1/0;for(d=0;t.length>d;d++){r=t[d][0],i=t[d][1],n=t[d][2];for(var a=!0,l=0;r.length>l;l++)(!1&n||s>=n)&&Object.keys(o.O).every(e=>o.O[e](r[l]))?r.splice(l--,1):(a=!1,s>n&&(s=n));if(a){t.splice(d--,1);var c=i();void 0!==c&&(e=c)}}return e}n=n||0;for(var d=t.length;d>0&&t[d-1][2]>n;d--)t[d]=t[d-1];t[d]=[r,i,n]},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={521:0};o.O.j=t=>0===e[t];var t=(t,r)=>{var i,n,s=r[0],a=r[1],l=r[2],c=0;if(s.some(t=>0!==e[t])){for(i in a)o.o(a,i)&&(o.m[i]=a[i]);if(l)var d=l(o)}for(t&&t(r);s.length>c;c++)o.o(e,n=s[c])&&e[n]&&e[n][0](),e[n]=0;return o.O(d)},r=self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var n={};o.r(n),o.d(n,{Jodit(){return s.A}}),o(1596);var s=o(34013);return s.A.plugins.add("poweredByJodit",()=>{}),o.O(n)}()});