jodit-pro 4.9.27 → 4.9.33

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 (338) hide show
  1. package/CHANGELOG.md +50 -1
  2. package/config.js +1 -0
  3. package/es2015/jodit.css +1 -1
  4. package/es2015/jodit.fat.min.css +1 -1
  5. package/es2015/jodit.fat.min.js +15 -15
  6. package/es2015/jodit.js +15 -10
  7. package/es2015/jodit.min.js +5 -5
  8. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
  9. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
  10. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
  11. package/es2015/plugins/autocomplete/autocomplete.js +1 -1
  12. package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
  13. package/es2015/plugins/backup/backup.css +1 -1
  14. package/es2015/plugins/backup/backup.js +1 -1
  15. package/es2015/plugins/backup/backup.min.js +1 -1
  16. package/es2015/plugins/button-generator/button-generator.css +1 -1
  17. package/es2015/plugins/button-generator/button-generator.js +1 -1
  18. package/es2015/plugins/button-generator/button-generator.min.js +1 -1
  19. package/es2015/plugins/change-case/change-case.js +1 -1
  20. package/es2015/plugins/change-case/change-case.min.js +1 -1
  21. package/es2015/plugins/color-picker/color-picker.css +1 -1
  22. package/es2015/plugins/color-picker/color-picker.js +1 -1
  23. package/es2015/plugins/color-picker/color-picker.min.js +1 -1
  24. package/es2015/plugins/emoji/emoji.css +1 -1
  25. package/es2015/plugins/emoji/emoji.js +1 -1
  26. package/es2015/plugins/emoji/emoji.min.js +1 -1
  27. package/es2015/plugins/export-docs/export-docs.js +1 -1
  28. package/es2015/plugins/export-docs/export-docs.min.js +1 -1
  29. package/es2015/plugins/finder/finder.css +1 -1
  30. package/es2015/plugins/finder/finder.js +40 -4
  31. package/es2015/plugins/finder/finder.min.js +4 -4
  32. package/es2015/plugins/google-maps/google-maps.css +1 -1
  33. package/es2015/plugins/google-maps/google-maps.js +1 -1
  34. package/es2015/plugins/google-maps/google-maps.min.js +1 -1
  35. package/es2015/plugins/google-search/google-search.js +1 -1
  36. package/es2015/plugins/google-search/google-search.min.js +1 -1
  37. package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
  38. package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
  39. package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
  40. package/es2015/plugins/iframe-editor/iframe-editor.js +1 -1
  41. package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
  42. package/es2015/plugins/keyboard/keyboard.css +1 -1
  43. package/es2015/plugins/keyboard/keyboard.js +1 -1
  44. package/es2015/plugins/keyboard/keyboard.min.js +1 -1
  45. package/es2015/plugins/mobile-view/mobile-view.js +1 -1
  46. package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
  47. package/es2015/plugins/page-break/page-break.js +1 -1
  48. package/es2015/plugins/page-break/page-break.min.js +1 -1
  49. package/es2015/plugins/paste-code/paste-code.css +1 -1
  50. package/es2015/plugins/paste-code/paste-code.js +1 -1
  51. package/es2015/plugins/paste-code/paste-code.min.js +1 -1
  52. package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
  53. package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
  54. package/es2015/plugins/show-blocks/show-blocks.js +1 -1
  55. package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
  56. package/es2015/plugins/style/style.css +1 -1
  57. package/es2015/plugins/style/style.js +37 -21
  58. package/es2015/plugins/style/style.min.js +2 -2
  59. package/es2015/plugins/templates/templates.css +82 -0
  60. package/es2015/plugins/templates/templates.js +178 -0
  61. package/es2015/plugins/templates/templates.min.css +1 -0
  62. package/es2015/plugins/templates/templates.min.js +8 -0
  63. package/es2015/plugins/todo-list/todo-list.css +1 -1
  64. package/es2015/plugins/todo-list/todo-list.js +1 -1
  65. package/es2015/plugins/todo-list/todo-list.min.js +1 -1
  66. package/es2015/plugins/translate/translate.css +1 -1
  67. package/es2015/plugins/translate/translate.js +1 -1
  68. package/es2015/plugins/translate/translate.min.js +1 -1
  69. package/es2015/plugins/tune-block/tune-block.css +1 -1
  70. package/es2015/plugins/tune-block/tune-block.js +1 -1
  71. package/es2015/plugins/tune-block/tune-block.min.js +1 -1
  72. package/es2018/jodit.fat.min.css +1 -1
  73. package/es2018/jodit.fat.min.js +15 -15
  74. package/es2018/jodit.min.js +5 -5
  75. package/es2018/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
  76. package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
  77. package/es2018/plugins/backup/backup.min.js +1 -1
  78. package/es2018/plugins/button-generator/button-generator.min.js +1 -1
  79. package/es2018/plugins/change-case/change-case.min.js +1 -1
  80. package/es2018/plugins/color-picker/color-picker.min.js +1 -1
  81. package/es2018/plugins/emoji/emoji.min.js +1 -1
  82. package/es2018/plugins/export-docs/export-docs.min.js +1 -1
  83. package/es2018/plugins/finder/finder.min.js +3 -3
  84. package/es2018/plugins/google-maps/google-maps.min.js +1 -1
  85. package/es2018/plugins/google-search/google-search.min.js +1 -1
  86. package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
  87. package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
  88. package/es2018/plugins/keyboard/keyboard.min.js +1 -1
  89. package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
  90. package/es2018/plugins/page-break/page-break.min.js +1 -1
  91. package/es2018/plugins/paste-code/paste-code.min.js +1 -1
  92. package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
  93. package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
  94. package/es2018/plugins/style/style.min.js +2 -2
  95. package/es2018/plugins/templates/templates.min.css +1 -0
  96. package/es2018/plugins/templates/templates.min.js +8 -0
  97. package/es2018/plugins/todo-list/todo-list.min.js +1 -1
  98. package/es2018/plugins/translate/translate.min.js +1 -1
  99. package/es2018/plugins/tune-block/tune-block.min.js +1 -1
  100. package/es2021/jodit.css +1 -1
  101. package/es2021/jodit.fat.min.css +1 -1
  102. package/es2021/jodit.fat.min.js +15 -15
  103. package/es2021/jodit.js +15 -10
  104. package/es2021/jodit.min.js +6 -6
  105. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
  106. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
  107. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
  108. package/es2021/plugins/autocomplete/autocomplete.js +1 -1
  109. package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
  110. package/es2021/plugins/backup/backup.css +1 -1
  111. package/es2021/plugins/backup/backup.js +1 -1
  112. package/es2021/plugins/backup/backup.min.js +1 -1
  113. package/es2021/plugins/button-generator/button-generator.css +1 -1
  114. package/es2021/plugins/button-generator/button-generator.js +1 -1
  115. package/es2021/plugins/button-generator/button-generator.min.js +1 -1
  116. package/es2021/plugins/change-case/change-case.js +1 -1
  117. package/es2021/plugins/change-case/change-case.min.js +1 -1
  118. package/es2021/plugins/color-picker/color-picker.css +1 -1
  119. package/es2021/plugins/color-picker/color-picker.js +1 -1
  120. package/es2021/plugins/color-picker/color-picker.min.js +1 -1
  121. package/es2021/plugins/emoji/emoji.css +1 -1
  122. package/es2021/plugins/emoji/emoji.js +1 -1
  123. package/es2021/plugins/emoji/emoji.min.js +1 -1
  124. package/es2021/plugins/export-docs/export-docs.js +1 -1
  125. package/es2021/plugins/export-docs/export-docs.min.js +1 -1
  126. package/es2021/plugins/finder/finder.css +1 -1
  127. package/es2021/plugins/finder/finder.js +40 -4
  128. package/es2021/plugins/finder/finder.min.js +4 -4
  129. package/es2021/plugins/google-maps/google-maps.css +1 -1
  130. package/es2021/plugins/google-maps/google-maps.js +1 -1
  131. package/es2021/plugins/google-maps/google-maps.min.js +1 -1
  132. package/es2021/plugins/google-search/google-search.js +1 -1
  133. package/es2021/plugins/google-search/google-search.min.js +1 -1
  134. package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
  135. package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
  136. package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
  137. package/es2021/plugins/iframe-editor/iframe-editor.js +1 -1
  138. package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
  139. package/es2021/plugins/keyboard/keyboard.css +1 -1
  140. package/es2021/plugins/keyboard/keyboard.js +1 -1
  141. package/es2021/plugins/keyboard/keyboard.min.js +1 -1
  142. package/es2021/plugins/mobile-view/mobile-view.js +1 -1
  143. package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
  144. package/es2021/plugins/page-break/page-break.js +1 -1
  145. package/es2021/plugins/page-break/page-break.min.js +1 -1
  146. package/es2021/plugins/paste-code/paste-code.css +1 -1
  147. package/es2021/plugins/paste-code/paste-code.js +1 -1
  148. package/es2021/plugins/paste-code/paste-code.min.js +1 -1
  149. package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
  150. package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
  151. package/es2021/plugins/show-blocks/show-blocks.js +1 -1
  152. package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
  153. package/es2021/plugins/style/style.css +1 -1
  154. package/es2021/plugins/style/style.js +31 -21
  155. package/es2021/plugins/style/style.min.js +2 -2
  156. package/es2021/plugins/templates/templates.css +82 -0
  157. package/es2021/plugins/templates/templates.js +178 -0
  158. package/es2021/plugins/templates/templates.min.css +1 -0
  159. package/es2021/plugins/templates/templates.min.js +8 -0
  160. package/es2021/plugins/todo-list/todo-list.css +1 -1
  161. package/es2021/plugins/todo-list/todo-list.js +1 -1
  162. package/es2021/plugins/todo-list/todo-list.min.js +1 -1
  163. package/es2021/plugins/translate/translate.css +1 -1
  164. package/es2021/plugins/translate/translate.js +1 -1
  165. package/es2021/plugins/translate/translate.min.js +1 -1
  166. package/es2021/plugins/tune-block/tune-block.css +1 -1
  167. package/es2021/plugins/tune-block/tune-block.js +1 -1
  168. package/es2021/plugins/tune-block/tune-block.min.js +1 -1
  169. package/es2021.en/jodit.css +1 -1
  170. package/es2021.en/jodit.fat.min.css +1 -1
  171. package/es2021.en/jodit.fat.min.js +16 -16
  172. package/es2021.en/jodit.js +15 -10
  173. package/es2021.en/jodit.min.js +6 -6
  174. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
  175. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
  176. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
  177. package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
  178. package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
  179. package/es2021.en/plugins/backup/backup.css +1 -1
  180. package/es2021.en/plugins/backup/backup.js +1 -1
  181. package/es2021.en/plugins/backup/backup.min.js +1 -1
  182. package/es2021.en/plugins/button-generator/button-generator.css +1 -1
  183. package/es2021.en/plugins/button-generator/button-generator.js +1 -1
  184. package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
  185. package/es2021.en/plugins/change-case/change-case.js +1 -1
  186. package/es2021.en/plugins/change-case/change-case.min.js +1 -1
  187. package/es2021.en/plugins/color-picker/color-picker.css +1 -1
  188. package/es2021.en/plugins/color-picker/color-picker.js +1 -1
  189. package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
  190. package/es2021.en/plugins/emoji/emoji.css +1 -1
  191. package/es2021.en/plugins/emoji/emoji.js +1 -1
  192. package/es2021.en/plugins/emoji/emoji.min.js +1 -1
  193. package/es2021.en/plugins/export-docs/export-docs.js +1 -1
  194. package/es2021.en/plugins/export-docs/export-docs.min.js +1 -1
  195. package/es2021.en/plugins/finder/finder.css +1 -1
  196. package/es2021.en/plugins/finder/finder.js +6 -4
  197. package/es2021.en/plugins/finder/finder.min.js +2 -2
  198. package/es2021.en/plugins/google-maps/google-maps.css +1 -1
  199. package/es2021.en/plugins/google-maps/google-maps.js +1 -1
  200. package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
  201. package/es2021.en/plugins/google-search/google-search.js +1 -1
  202. package/es2021.en/plugins/google-search/google-search.min.js +1 -1
  203. package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
  204. package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
  205. package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
  206. package/es2021.en/plugins/iframe-editor/iframe-editor.js +1 -1
  207. package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
  208. package/es2021.en/plugins/keyboard/keyboard.css +1 -1
  209. package/es2021.en/plugins/keyboard/keyboard.js +1 -1
  210. package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
  211. package/es2021.en/plugins/mobile-view/mobile-view.js +1 -1
  212. package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
  213. package/es2021.en/plugins/page-break/page-break.js +1 -1
  214. package/es2021.en/plugins/page-break/page-break.min.js +1 -1
  215. package/es2021.en/plugins/paste-code/paste-code.css +1 -1
  216. package/es2021.en/plugins/paste-code/paste-code.js +1 -1
  217. package/es2021.en/plugins/paste-code/paste-code.min.js +1 -1
  218. package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
  219. package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
  220. package/es2021.en/plugins/show-blocks/show-blocks.js +1 -1
  221. package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
  222. package/es2021.en/plugins/style/style.css +1 -1
  223. package/es2021.en/plugins/style/style.js +31 -21
  224. package/es2021.en/plugins/style/style.min.js +2 -2
  225. package/es2021.en/plugins/templates/templates.css +82 -0
  226. package/es2021.en/plugins/templates/templates.js +178 -0
  227. package/es2021.en/plugins/templates/templates.min.css +1 -0
  228. package/es2021.en/plugins/templates/templates.min.js +8 -0
  229. package/es2021.en/plugins/todo-list/todo-list.css +1 -1
  230. package/es2021.en/plugins/todo-list/todo-list.js +1 -1
  231. package/es2021.en/plugins/todo-list/todo-list.min.js +1 -1
  232. package/es2021.en/plugins/translate/translate.css +1 -1
  233. package/es2021.en/plugins/translate/translate.js +1 -1
  234. package/es2021.en/plugins/translate/translate.min.js +1 -1
  235. package/es2021.en/plugins/tune-block/tune-block.css +1 -1
  236. package/es2021.en/plugins/tune-block/tune-block.js +1 -1
  237. package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
  238. package/es5/jodit.css +2 -2
  239. package/es5/jodit.fat.min.css +1 -1
  240. package/es5/jodit.fat.min.js +2 -2
  241. package/es5/jodit.js +15 -10
  242. package/es5/jodit.min.css +2 -2
  243. package/es5/jodit.min.js +2 -2
  244. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
  245. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
  246. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
  247. package/es5/plugins/autocomplete/autocomplete.js +1 -1
  248. package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
  249. package/es5/plugins/backup/backup.css +1 -1
  250. package/es5/plugins/backup/backup.js +1 -1
  251. package/es5/plugins/backup/backup.min.js +1 -1
  252. package/es5/plugins/button-generator/button-generator.css +1 -1
  253. package/es5/plugins/button-generator/button-generator.js +1 -1
  254. package/es5/plugins/button-generator/button-generator.min.js +1 -1
  255. package/es5/plugins/change-case/change-case.js +1 -1
  256. package/es5/plugins/change-case/change-case.min.js +1 -1
  257. package/es5/plugins/color-picker/color-picker.css +1 -1
  258. package/es5/plugins/color-picker/color-picker.js +1 -1
  259. package/es5/plugins/color-picker/color-picker.min.js +1 -1
  260. package/es5/plugins/emoji/emoji.css +1 -1
  261. package/es5/plugins/emoji/emoji.js +1 -1
  262. package/es5/plugins/emoji/emoji.min.js +1 -1
  263. package/es5/plugins/export-docs/export-docs.js +1 -1
  264. package/es5/plugins/export-docs/export-docs.min.js +1 -1
  265. package/es5/plugins/finder/finder.css +1 -1
  266. package/es5/plugins/finder/finder.js +40 -4
  267. package/es5/plugins/finder/finder.min.js +2 -2
  268. package/es5/plugins/google-maps/google-maps.css +1 -1
  269. package/es5/plugins/google-maps/google-maps.js +1 -1
  270. package/es5/plugins/google-maps/google-maps.min.js +1 -1
  271. package/es5/plugins/google-search/google-search.js +1 -1
  272. package/es5/plugins/google-search/google-search.min.js +1 -1
  273. package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
  274. package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
  275. package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
  276. package/es5/plugins/iframe-editor/iframe-editor.js +1 -1
  277. package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
  278. package/es5/plugins/keyboard/keyboard.css +1 -1
  279. package/es5/plugins/keyboard/keyboard.js +1 -1
  280. package/es5/plugins/keyboard/keyboard.min.js +1 -1
  281. package/es5/plugins/mobile-view/mobile-view.js +1 -1
  282. package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
  283. package/es5/plugins/page-break/page-break.js +1 -1
  284. package/es5/plugins/page-break/page-break.min.js +1 -1
  285. package/es5/plugins/paste-code/paste-code.css +1 -1
  286. package/es5/plugins/paste-code/paste-code.js +1 -1
  287. package/es5/plugins/paste-code/paste-code.min.js +1 -1
  288. package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
  289. package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
  290. package/es5/plugins/show-blocks/show-blocks.js +1 -1
  291. package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
  292. package/es5/plugins/style/style.css +1 -1
  293. package/es5/plugins/style/style.js +37 -21
  294. package/es5/plugins/style/style.min.js +2 -2
  295. package/es5/plugins/templates/templates.css +82 -0
  296. package/es5/plugins/templates/templates.js +220 -0
  297. package/es5/plugins/templates/templates.min.css +1 -0
  298. package/es5/plugins/templates/templates.min.js +8 -0
  299. package/es5/plugins/todo-list/todo-list.css +1 -1
  300. package/es5/plugins/todo-list/todo-list.js +1 -1
  301. package/es5/plugins/todo-list/todo-list.min.js +1 -1
  302. package/es5/plugins/translate/translate.css +1 -1
  303. package/es5/plugins/translate/translate.js +1 -1
  304. package/es5/plugins/translate/translate.min.js +1 -1
  305. package/es5/plugins/tune-block/tune-block.css +1 -1
  306. package/es5/plugins/tune-block/tune-block.js +1 -1
  307. package/es5/plugins/tune-block/tune-block.min.js +1 -1
  308. package/es5/polyfills.fat.min.js +1 -1
  309. package/es5/polyfills.js +1 -1
  310. package/es5/polyfills.min.js +1 -1
  311. package/esm/config.d.ts +6 -0
  312. package/esm/plugins/all.js +1 -1
  313. package/esm/plugins/finder/langs/de.d.ts +22 -0
  314. package/esm/plugins/finder/langs/de.js +1 -0
  315. package/esm/plugins/finder/langs/index.d.ts +2 -1
  316. package/esm/plugins/finder/langs/index.js +1 -1
  317. package/esm/plugins/style/helpers/apply-style.js +1 -1
  318. package/esm/plugins/style/helpers/detect-active-style.js +1 -1
  319. package/esm/plugins/style/interface.d.ts +1 -1
  320. package/esm/plugins/style/ui/style-popup.js +1 -1
  321. package/esm/plugins/templates/config.d.ts +13 -0
  322. package/esm/plugins/templates/config.js +1 -0
  323. package/esm/plugins/templates/icon.svg.js +1 -0
  324. package/esm/plugins/templates/interface.d.ts +11 -0
  325. package/esm/plugins/templates/interface.js +0 -0
  326. package/esm/plugins/templates/templates.d.ts +18 -0
  327. package/esm/plugins/templates/templates.js +1 -0
  328. package/esm/plugins/templates/ui/templates-popup.d.ts +8 -0
  329. package/esm/plugins/templates/ui/templates-popup.js +1 -0
  330. package/package.json +1 -1
  331. package/types/config.d.ts +6 -0
  332. package/types/plugins/finder/langs/de.d.ts +22 -0
  333. package/types/plugins/finder/langs/index.d.ts +2 -1
  334. package/types/plugins/style/interface.d.ts +1 -1
  335. package/types/plugins/templates/config.d.ts +13 -0
  336. package/types/plugins/templates/interface.d.ts +11 -0
  337. package/types/plugins/templates/templates.d.ts +18 -0
  338. package/types/plugins/templates/ui/templates-popup.d.ts +8 -0
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.9.27
4
+ * Version: v4.9.33
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -18,7 +18,7 @@
18
18
  />`)}constructor(t,i){super(t,a({type:"file"},i)),this.state=function(t,i){return i=null!=i?i:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):(function(t){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i.push.apply(i,n)}return i})(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))}),t}(a({},s.UIInput.defaultState),{type:"file",onlyImages:!0})}};l=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([r.component],l)},4278:function(t,i,n){"use strict";n.d(i,{UIBrowserPanel:function(){return m}});var r=n(82749),o=n(31635),s=n(65478),a=n(21537),l=n(67510),u=n(8358),c=n(60062),d=n(70950),h=n(59198),p=n(17234),f=n(43778);class m extends l.UIGroup{className(){return"UIBrowserPanel"}get countInRow(){if("list"===this.state.view||!this.items.elements.length)return 1;let{container:t}=this.items.elements[0],i=(0,a.css)(t,"marginLeft");return Math.floor(this.items.container.offsetWidth/(t.offsetWidth+((0,a.isNumber)(i)?i:0)))}get countInColumn(){if(!this.items.elements.length)return 1;let{container:t}=this.items.elements[0],i=(0,a.css)(t,"marginTop");return Math.floor(this.items.container.offsetHeight/(t.offsetHeight+((0,a.isNumber)(i)?i:0)))}render(){return`<div>
19
19
  <div class='&__content'></div>
20
20
  <div class='&__footer'></div>
21
- </div>`}onChangeTheme(){this.setMod("theme",this.stateManager.state.theme)}onChangeElements(){this.items.build(this.stateManager.state.elements)}onChangeActiveElements(){this.state.activeElements.length||(this.state.info="",this.state.metaInfo=null),this.items.elements.forEach(t=>{t.setMod("active",!!this.stateManager.isActive(t.item))}),this.j.e.fire("changeSelection")}onChangeFavorites(){this.items.elements.forEach(t=>{t.setMod("favorite",!!this.stateManager.isFavorite(t.item))})}onChangeSources(){this.sources.build(this.stateManager.state.tree)}onChangeLastSelectedIndex(){var t;let i=null==(t=this.items.elements[this.stateManager.state.lastSelectedIndex])?void 0:t.container;i&&((0,a.scrollIntoViewIfNeeded)(i,this.items.container,this.j.od),i.focus())}onChangeInfo(){this.statusbar.value(this.state.info,"center")}onChangePathOrSource(){this.statusbar.value(this.state.currentPath?`${this.state.currentPath} (${this.state.currentSource})`:this.i18n("Home"),"left")}onChangeShowSettings(){this.settings.setMod("hidden",!this.stateManager.state.showSettings)}onChangeShowPreview(){this.preview.setMod("hidden",!this.stateManager.state.showPreview)}onChangeShowSideBar(){this.sidebar.setMod("hidden",!this.stateManager.state.showSideBar)}onChangeView(){this.items.setMod("view",this.stateManager.state.view)}onChangeTileSize(){this.items.setMod("size",this.stateManager.state.tileSize)}onChangeShowFavorites(){this.sidebar.setMod("show-favorites",this.stateManager.state.showFavorites),this.items.setMod("show-favorites",this.stateManager.state.showFavorites)}onItemDblClick(){return this.j.e.fire("select.filebrowser"),!1}onItemClick(t,i){this.stateManager.addActive(t,i)}onTogglePreview(){return this.state.showPreview=!this.state.showPreview,!1}onToggleFavoriteItem(t){this.stateManager.toggleFavorite(t)}onFolderClick(t){this.stateManager.state.currentSource=t.sourceName,this.stateManager.state.currentPath=t.path||"/",this.j.e.fire("afterOpenFolder.filebrowser")}constructor(t,i){super(t),(0,r._)(this,"stateManager",void 0),(0,r._)(this,"syncMod",void 0),(0,r._)(this,"state",void 0),(0,r._)(this,"sources",void 0),(0,r._)(this,"sidebar",void 0),(0,r._)(this,"preview",void 0),(0,r._)(this,"statusbar",void 0),(0,r._)(this,"items",void 0),(0,r._)(this,"settings",void 0),this.stateManager=i,this.syncMod=!0,this.sources=new h.UIBrowserSources(this.j),this.sidebar=new d.UISidebar(this.jodit,[this.sources],this.stateManager.state),this.preview=new u.UIPreview(this.jodit,this.stateManager.state),this.statusbar=new p.UIBrowserStatusBar(this.j),this.items=new f.UIVirtualScroll(this.j,this.stateManager),this.settings=new c.UIBrowserSettings(this.jodit,this.stateManager.state),this.state=i.state,this.append(this.sidebar,"content"),this.append(this.items,"content"),this.append(this.settings,"content"),this.append(this.preview,"content"),this.append(this.statusbar,"footer"),this.onChangeElements(),this.onChangeSources(),this.onChangeView(),this.onChangeTileSize(),this.onChangeShowFavorites(),this.onChangeActiveElements(),this.onChangeFavorites(),this.onChangeShowSideBar(),this.onChangeShowSettings(),this.onChangeShowPreview(),this.onChangeTheme()}}(0,o.__decorate)([(0,s.watch)("state.theme")],m.prototype,"onChangeTheme",null),(0,o.__decorate)([(0,s.watch)("state.elements")],m.prototype,"onChangeElements",null),(0,o.__decorate)([(0,s.watch)("state.activeElements")],m.prototype,"onChangeActiveElements",null),(0,o.__decorate)([(0,s.watch)(["state.favorites","state.elements"])],m.prototype,"onChangeFavorites",null),(0,o.__decorate)([(0,s.watch)("state.sources")],m.prototype,"onChangeSources",null),(0,o.__decorate)([(0,s.watch)("state.lastSelectedIndex")],m.prototype,"onChangeLastSelectedIndex",null),(0,o.__decorate)([(0,s.watch)("state.info")],m.prototype,"onChangeInfo",null),(0,o.__decorate)([(0,s.watch)(["state.currentPath","state.currentSource"])],m.prototype,"onChangePathOrSource",null),(0,o.__decorate)([(0,s.watch)("state.showSettings")],m.prototype,"onChangeShowSettings",null),(0,o.__decorate)([(0,s.watch)("state.showPreview")],m.prototype,"onChangeShowPreview",null),(0,o.__decorate)([(0,s.watch)("state.showSideBar")],m.prototype,"onChangeShowSideBar",null),(0,o.__decorate)([(0,s.watch)("state.view")],m.prototype,"onChangeView",null),(0,o.__decorate)([(0,s.watch)("state.tileSize")],m.prototype,"onChangeTileSize",null),(0,o.__decorate)([(0,s.watch)("state.showFavorites")],m.prototype,"onChangeShowFavorites",null),(0,o.__decorate)([(0,s.watch)(":dblclickItem.filebrowser")],m.prototype,"onItemDblClick",null),(0,o.__decorate)([(0,s.watch)(":clickItem.filebrowser")],m.prototype,"onItemClick",null),(0,o.__decorate)([(0,s.watch)(":togglePreview.filebrowser")],m.prototype,"onTogglePreview",null),(0,o.__decorate)([(0,s.watch)(":toggleFavoriteItem")],m.prototype,"onToggleFavoriteItem",null),(0,o.__decorate)([(0,s.watch)(":openFolder")],m.prototype,"onFolderClick",null),m=(0,o.__decorate)([s.component],m)},4510:function(t,i,n){"use strict";n.d(i,{toArray:function(){return s}});var r=n(70722),o=n(58844);let s=function(...t){var i;return((0,r.isNativeFunction)(Array.from)?Array.from:null!=(i=(0,o.reset)("Array.from"))?i:Array.from).apply(Array,t)}},4604:function(t,i,n){"use strict";var r=n(12153),o=n(6441),s=n(6342);o.Config.prototype.addNewLine=!0,o.Config.prototype.addNewLineOnDBLClick=!0,o.Config.prototype.addNewLineTagsTriggers=["table","iframe","img","hr","pre","jodit"],o.Config.prototype.addNewLineDeltaShow=20,r.Icon.set("enter",s.default)},4774:function(t,i,n){"use strict";n.d(i,{UIMap:function(){return r.UIMap},UIMapsControlsForm:function(){return o.UIMapsControlsForm},UIMapsPropsForm:function(){return s.UIMapsPropsForm}}),n(90835);var r=n(4169),o=n(8073),s=n(83039);n(11093)},4795:function(t,i){"use strict";i.default={"Type something":"Napiš něco","About Jodit":"O Jodit","Jodit Editor":"Editor Jodit","Free Non-commercial Version":"Verze pro nekomerčn\xed použit\xed","Jodit User's Guide":"Jodit Uživatelsk\xe1 př\xedručka","contains detailed help for using":"obsahuje detailn\xed n\xe1povědu","For information about the license, please go to our website:":"Pro informace o licenci, pros\xedm, přejděte na naši str\xe1nku:","Buy full version":"Koupit plnou verzi","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Všechna pr\xe1va vyhrazena.",Anchor:"Anchor","Open in new tab":"Otevř\xedt v nov\xe9 z\xe1ložce","Open in fullsize":"Otevř\xedt v celoobrazovkov\xe9m režimu","Clear Formatting":"Vyčistit form\xe1tov\xe1n\xed","Fill color or set the text color":"Barva v\xfdplně a p\xedsma",Redo:"Vpřed",Undo:"Zpět",Bold:"Tučn\xe9",Italic:"Kurz\xedva","Insert Unordered List":"Odr\xe1žky","Insert Ordered List":"Č\xedslovan\xfd 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\xe1ln\xed linku","Insert Image":"Vložit obr\xe1zek","Insert file":"Vložit soubor","Insert youtube/vimeo video":"Vložit video (YT/Vimeo)","Insert link":"Vložit odkaz","Font size":"Velikost p\xedsma","Font family":"Typ p\xedsma","Insert format block":"Form\xe1tovat blok",Normal:"Norm\xe1ln\xed text","Heading 1":"Nadpis 1","Heading 2":"Nadpis 2","Heading 3":"Nadpis 3","Heading 4":"Nadpis 4",Quote:"Cit\xe1t",Code:"K\xf3d",Insert:"Vložit","Insert table":"Vložit tabulku","Decrease Indent":"Zmenšit odsazen\xed","Increase Indent":"Zvětšit odsazen\xed","Select Special Character":"Vybrat speci\xe1ln\xed symbol","Insert Special Character":"Vložit speci\xe1ln\xed symbol","Paint format":"Použ\xedt form\xe1t","Change mode":"Změnit m\xf3d",Margins:"Okraje",top:"horn\xed",right:"prav\xfd",bottom:"spodn\xed",left:"lev\xfd",Styles:"Styly",Classes:"Tř\xeddy",Align:"Zarovn\xe1n\xed",Right:"Vpravo",Center:"Na střed",Left:"Vlevo","--Not Set--":"--nenastaveno--",Src:"src",Title:"Titulek",Alternative:"Alternativn\xed text (alt)",Link:"Link","Open link in new tab":"Otevř\xedt link v nov\xe9 z\xe1ložce",Image:"Obr\xe1zek",file:"soubor",Advanced:"Rozš\xedřen\xe9","Image properties":"Vlastnosti obr\xe1zku",Cancel:"Zpět",Ok:"Ok","Your code is similar to HTML. Keep as HTML?":"V\xe1š text se podob\xe1 HTML. Vložit ho jako HTML?","Paste as HTML":"Vložit jako HTML",Keep:"Ponechat origin\xe1l",Clean:"Vyčistit","Insert as Text":"Vložit jako TEXT","Insert only Text":"Vložit pouze TEXT","Word Paste Detected":"Detekov\xe1n fragment z Wordu nebo Excelu","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Obsah, kter\xfd vkl\xe1d\xe1te, je pravděpodobně z Microsoft Word / Excel. Chcete ponechat form\xe1t nebo vložit pouze text?","File Browser":"Prohl\xedžeč souborů","Error on load list":"Chyba při nač\xedt\xe1n\xed seznamu souborů","Error on load folders":"Chyba při nač\xedt\xe1n\xed složek","Are you sure?":"Jste si jist\xfd(\xe1)?","Enter Directory name":"N\xe1zev složky","Create directory":"Vytvořit složku","type name":"n\xe1zev","Drop image":"Přet\xe1hněte sem obr\xe1zek","Drop file":"Přet\xe1hněte sem soubor","or click":"nebo klikněte","Alternative text":"Alternativn\xed text",Browse:"Server",Upload:"Nahr\xe1t",Background:"Pozad\xed",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 ř\xe1dek nad","Insert row below":"Vložit ř\xe1dek pod","Delete table":"Vymazat tabulku","Delete row":"Vymazat ř\xe1dku","Delete column":"Vymazat sloupec","Empty cell":"Vyčistit buňku",source:"HTML",bold:"tučně",italic:"kurz\xedva",brush:"štětec",link:"odkaz",undo:"zpět",redo:"vpřed",table:"tabulka",image:"obr\xe1zek",eraser:"guma",paragraph:"odstavec",fontsize:"velikost p\xedsma",video:"video",font:"p\xedsmo",about:"о editoru",print:"tisk",underline:"podtrženo",strikethrough:"přeškrtnuto",indent:"zvětšit odsazen\xed",outdent:"zmenšit odsazen\xed",fullsize:"celoobrazovkov\xfd režim",shrink:"smrsknout",hr:"Linka",ul:"Odr\xe1žka",ol:"Č\xedslovan\xfd seznam",cut:"Vyjmout",selectall:"Označit vše","Embed code":"K\xf3d","Open link":"Otevř\xedt 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\xe1ln\xed zarovn\xe1n\xed",Filter:"Filtr","Sort by changed":"Dle posledn\xed změny","Sort by name":"Dle n\xe1zvu","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:"Š\xedřka",Height:"V\xfdš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\xe1ln\xed zarovn\xe1n\xed",Split:"Rozdělit","Split vertical":"Rozdělit vertik\xe1lně","Split horizontal":"Rozdělit horizont\xe1lně",Merge:"Spojit","Add column":"Přidat sloupec","Add row":"Přidat ř\xe1dek",Delete:"Vymazat",Border:"Okraj","License: %s":"Licence: %s","Strike through":"Přeškrtnuto",Underline:"Podtrženo",superscript:"Horn\xed index",subscript:"Doln\xed index","Cut selection":"Vyjmout označen\xe9",Break:"Zalomen\xed","Search for":"Najdi","Replace with":"Nahradit za",Replace:"Vyměňte",Paste:"Vložit","Choose Content to Paste":"Vyber obsah pro vložen\xed","You can only edit your own images. Download this image on the host?":"Můžete upravovat pouze sv\xe9 obr\xe1zky. Nač\xedst obr\xe1zek?","The image has been successfully uploaded to the host!":"Obr\xe1zek byl \xfaspěšně nahr\xe1n!",palette:"paleta","There are no files":"V tomto adres\xe1ři nejsou ž\xe1dn\xe9 soubory.",Rename:"přejmenovat","Enter new name":"Zadejte nov\xfd n\xe1zev",preview:"n\xe1hled",download:"Stažen\xed","Paste from clipboard":"Vložit ze schr\xe1nky","Your browser doesn't support direct access to the clipboard.":"V\xe1š prohl\xedžeč nepodporuje př\xedm\xfd př\xedstup do schr\xe1nky.","Copy selection":"Kop\xedrovat v\xfdběr",copy:"kop\xedrov\xe1n\xed","Border radius":"Border radius","Show all":"Zobrazit všechny",Apply:"Plat\xed","Please fill out this field":"Pros\xedm, vyplňte toto pole","Please enter a web address":"Pros\xedm, zadejte webovou adresu",Default:"V\xfdchoz\xed",Circle:"Kruh",Dot:"Dot",Quadrate:"Quadrate",Find:"Naj\xedt","Find Previous":"Naj\xedt Předchoz\xed","Find Next":"Naj\xedt Dalš\xed","Insert className":"Vložte n\xe1zev tř\xeddy","Press Alt for custom resizing":"Stiskněte Alt pro vlastn\xed změnu velikosti"}},4941:function(t,i,n){"use strict";n.d(i,{Emoji:function(){return p}});var r=n(77688),o=n(82749),s=n(56075),a=n(11886),l=n(31635),u=n(65478),c=n(2748),d=n(21537),h=n(67510);class p extends h.UIElement{className(){return"Emoji"}get defaultList(){return this.recent.concat(this.data?this.data.emoji:[])}reset(){this.input.nativeInput.value="",this.setItems(this.defaultList),this.setActiveCategory(0)}setItems(t){var i,n;this.list.scrollTo(0,0),c.Dom.detach(this.list),c.Dom.append(this.list,this.generateEmojiList(t,null!=(i=null==(n=this.data)?void 0:n.categories)?i:[]))}createContainer(t){let i=this.j.c.div("jodit-emoji");this.input=new h.UIInput(this.j,{name:"search",icon:"search",autocomplete:!1,clearButton:!0,placeholder:"Search emoji"}),this.input.container.classList.add(this.getFullElName("input")),this.categories=this.j.c.div(this.getFullElName("categories")),this.list=this.j.c.div(this.getFullElName("emojis"));let n=this.j.c.div(this.getFullElName("navigate"));return c.Dom.append(n,[this.categories,this.input.container]),c.Dom.append(i,[n,this.list]),i}setActiveCategory(t,i=!1){let n=this.getElms("category"),r=n[this.activeIndex];n[t]||(t=n.length-1);let o=n[t],s=this.getFullElName("category","active",!0);r&&r.classList.remove(s),o&&o.classList.add(s),i&&this.getElms("category-title")[t].scrollIntoView(),this.activeIndex=t}generateCategoriesList(t){return t.map((i,n)=>this.j.c.div(this.getFullElName("category"),{"data-index":n,title:i,style:{width:100/t.length+"%"}}))}generateEmojiList(t,i){let n="";return t.reduce((t,r,o)=>{var s,a;let l=-1===(r=p.normalizeEmoji(r)).category?"Recently":i[r.category];if(l!==n){n=l;let i=null!=(a=this.cache[n])?a:this.j.c.div(this.getFullElName("category-title"),n?this.j.i18n(n):"");this.cache[n]=i,t.push(i)}let u=null!=(s=this.cache[r.emoji+r.category])?s:this.j.c.div(this.getFullElName("emoji"),{"data-id":o,"data-value":r.emoji},r.emoji);return this.cache[r.emoji+r.category]=u,t.push(u),t},[])}static isShortCat(t){return t&&(0,d.isString)(t.e)}static normalizeEmoji(t){return p.isShortCat(t)?{emoji:t.e,description:t.d,category:t.c,aliases:t.a,tags:t.t}:t}onInsertCode(t){this.jodit.e.fire(this,"insert",t);let i=this.map[t];if(i){let n=[...this.recent],r=n.findIndex(i=>i.emoji===t);-1!==r&&n.splice(r,1),n.unshift((0,a._)((0,s._)({},i),{category:-1})),this.recent=n}}onScrollList(){let t=this.list.scrollTop,i=this.getElms("category-title"),n=0;i.forEach((i,r)=>{t>i.offsetTop-this.list.offsetTop-20&&(n=r)}),this.setActiveCategory(n)}onClickCategory(t){this.clearFilter();let i=t.target;i.classList.contains(this.getFullElName("category"))&&this.setActiveCategory(parseInt((0,d.attr)(i,"-index")||"0",10)||0,!0)}onClickItem(t){let i=t.target;if(i.classList.contains(this.getFullElName("emoji"))){let t=(0,d.attr)(i,"-value")||"";t&&this.onInsertCode(t)}t.preventDefault()}onInputFilter(){let t=this.input.value.toLowerCase();if(!t.length)return this.setItems(this.defaultList);this.setItems(this.defaultList.filter(i=>{var n,r,o;let s=p.normalizeEmoji(i);return(null==(n=s.description)?void 0:n.toLowerCase().includes(t))||(null==(r=s.tags)?void 0:r.join(" ").toLowerCase().includes(t))||(null==(o=s.aliases)?void 0:o.join(" ").toLowerCase().includes(t))}))}clearFilter(){this.input.nativeInput.value.length&&this.reset()}onReady(){this.j.e.on(this.input.nativeInput,"input",this.onInputFilter).on(this.categories,"click",this.onClickCategory).on(this.list,"scroll",this.onScrollList).on(this.list,"mousedown touchstart",this.onClickItem)}destruct(){return this.input.destruct(),super.destruct()}constructor(t){var i;super(t),i=this,(0,o._)(this,"data",null),(0,o._)(this,"recent",[]),(0,o._)(this,"map",{}),(0,o._)(this,"activeIndex",0),(0,o._)(this,"cache",{}),this.setMod("loading",!0),(0,r._)(function*(){i.data=yield t.o.emoji.data(),i.setMod("loading",!1),i.data.emoji.forEach(t=>{let n=p.normalizeEmoji(t);i.map[n.emoji]=n}),i.setItems(i.defaultList),c.Dom.append(i.categories,i.generateCategoriesList(i.data.categories)),i.setActiveCategory(0)})()}}(0,l.__decorate)([u.persistent],p.prototype,"recent",void 0),(0,l.__decorate)([(0,u.throttle)()],p.prototype,"onScrollList",null),(0,l.__decorate)([u.autobind],p.prototype,"onClickCategory",null),(0,l.__decorate)([u.autobind],p.prototype,"onClickItem",null),(0,l.__decorate)([(0,u.debounce)()],p.prototype,"onInputFilter",null),(0,l.__decorate)([(0,u.hook)("ready")],p.prototype,"onReady",null),p=(0,l.__decorate)([u.component],p)},5082:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"ラインの高さ"}},5119:function(t,i){"use strict";i.default='<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:function(t,i,n){"use strict";n.d(i,{wrapText:function(){return o}});var r=n(2748);function o(t,i){let n=t;r.Dom.up(n,t=>{t&&t.hasChildNodes()&&t!==i.editor&&(n=t)},i.editor);let o=r.Dom.wrapInline(n,i.o.enter,i);if(r.Dom.isEmpty(o)){let n=i.createInside.element("br");o.appendChild(n),r.Dom.before(n,t)}return o}},5422:function(t,i,n){"use strict";n.d(i,{FileBrowserPro:function(){return D}});var r=n(77688),o=n(82749),s=n(31635);n(34042);var a=n(8087),l=n(77841),u=n(17578),c=n(97770),d=n(42663),h=n(55535),p=n(18250),f=n(69277),m=n(4278),g=n(95002),b=n(6441),v=n(82758),y=n(65478),_=n(21537),C=n(70231),w=n(41409),F=n(638),E=n(63399),k=n(50050),S=n(2692),A=n(21246);class D extends F.Dialog{className(){return"FileBrowserPro"}lock(t="any"){return this.container.classList.add("jodit_disabled"),super.lock(t)}unlock(){return this.container.classList.remove("jodit_disabled"),super.unlock()}status(t,i=!(t instanceof Error)){(0,_.isAbortError)(t)||(v.IS_PROD||(0,_.isString)(t),this.message.message((0,_.isString)(t)?t:t.message,i?"success":"error",this.options.howLongShowMsg))}get progressbar(){return new g.UIProgress(this,this.stateManager.state)}addDisclaimer(t){this.dialog.appendChild(t)}open(t){var i=this,n=()=>super.open;return(0,r._)(function*(t=this.o.defaultCallback,r){return this.state.onlyImages=!!r,this.prepareOpening(t),n().call(i,this.panel.container),this.e.fire("update.filebrowser")}).apply(this,arguments)}onResizeWindow(){(0,_.css)(this.dialog,{maxWidth:screen.width,minHeight:Math.min(this.options.height,screen.height),minWidth:Math.min(this.options.width,screen.width)})}onChangePath(){let{currentPath:t,currentSource:i}=this.state;this.uploader.setPath(t),this.uploader.setSource(i)}onChangeTheme(){this.setMod("theme",this.state.theme),this.header.setMod("theme",this.state.theme),this.panel.setMod("theme",this.state.theme),this.options.theme=this.state.theme}onToggleSettings(){this.state.showSettings=!this.state.showSettings}prepareOpening(t){this.registerGlobalListeners(),t&&(this.state.onSelectCallBack=i=>{this.close(),t(i)}),this.persistent.syncWithState()}registerGlobalListeners(){this.e.on(this.ow,"keydown",this.onKeyPress)}onKeyPress(t){let{activeElement:i}=this.od;if(!this.state.activeElements.length||!i||!w.Dom.isOrContains(this.panel.items.container,i))return;let n=this.state.elements;switch(t.key){case v.KEY_ENTER:return this.onChooseItems();case v.KEY_DELETE:return this.onFileRemove();case v.KEY_RIGHT:case v.KEY_LEFT:case v.KEY_DOWN:case v.KEY_UP:{let i,r=t.key===v.KEY_RIGHT||t.key===v.KEY_DOWN,o=this.state.lastSelectedIndex;if([v.KEY_RIGHT,v.KEY_LEFT].includes(t.key))i=r?n[o+1]?o+1:0:n[o-1]?o-1:n.length-1;else{let{countInRow:t}=this.panel;i=Math.round(((o+1)/t+(r?1:-1))*t-1)}return n[i]&&this.stateManager.addActive(n[i],t.shiftKey),!1}}}removeGlobalListeners(){this.e.off(this.ow,"keydown",this.onKeyPress)}onFileRemove(){this.state.activeElements.length&&this.confirm("Are you sure?","Delete",t=>{t&&this.__itemsRemove(this.state.activeElements)}).bindDestruct(this)}__itemsRemove(t){if(!t.length)return Promise.resolve();let i=[];return t.forEach(t=>{var n;i.push("folder"===t.type?this.__folderRemove((0,l.parentPath)(t.path),null!=(n=t.name)?n:"",t.sourceName):this.__removeFile(t.file||t.name||"",t.sourceName))}),this.state.activeElements.forEach(t=>{this.stateManager.isFavorite(t)&&this.stateManager.toggleFavorite(t)}),this.state.activeElements=[],Promise.allSettled(i).then(()=>Promise.allSettled([this.loadingManager.loadItems(),this.loadingManager.loadFolders()]))}__removeFile(t,i){return this.dataProvider.fileRemove(this.state.currentPath,t,i).then(i=>{this.status(i||this.i18n('File "%s" was deleted',t),!0)}).catch(this.status)}__folderRemove(t,i,n){return this.dataProvider.folderRemove(t,i,n).then(r=>{this.status(r||this.i18n('Folder "%s" was deleted',i),!0),this.state.currentPath===t&&(this.state.currentPath=(0,l.parentPath)(t),this.state.currentSource=n)}).catch(this.status)}onFileEdit(){if(1===this.state.activeElements.length){let[t]=this.state.activeElements;k.openImageEditor.call(this,t.fileURL,t.file||"",t.path,t.sourceName,void 0,this.status)}}onFolderRename(t){this.prompt("Enter new name","Rename",i=>{if(!(0,_.isValidName)(i)||i===t.name)return this.status(this.i18n("Enter new name")),!1;this.dataProvider.folderRename((0,l.parentPath)(t.path),t.name,i,t.sourceName).then(n=>{this.state.activeElements=[],this.status(n,!0),this.state.currentPath=(0,l.parentPath)(t.path)+"/"+i,this.state.currentSource=t.sourceName,this.historyManager.updateCurrent(),this.loadingManager.loadFolders()}).catch(this.status)},this.i18n("type name"),t.name).bindDestruct(this)}onFolderRemove(t){this.confirm("Are you sure?","Delete",i=>{i&&this.__itemsRemove([{type:"folder",name:t.name,path:t.path,sourceName:t.sourceName}])}).bindDestruct(this)}onFolderCreate(t){this.prompt("Enter Directory name","Create directory",i=>{let n=t.path||"/";this.dataProvider.createFolder(i,t.path||"/",t.sourceName).then(()=>{this.state.currentSource===t.sourceName&&this.state.currentPath===n?this.e.fire("update.filebrowser"):(this.state.currentSource=t.sourceName,this.state.currentPath=n),this.historyManager.updateCurrent()},this.status)},this.i18n("type name")).bindDestruct(this)}onFileRename(t){let i=t.file||t.name||"";1===this.state.activeElements.length&&i&&this.prompt("Enter new name","Rename",t=>{if(!(0,_.isValidName)(t))return this.status(this.i18n("Enter new name")),!1;this.dataProvider.fileRename(this.state.currentPath,i,t,this.state.currentSource).then(t=>{this.state.activeElements=[],this.status(t,!0),this.loadingManager.loadItems()}).catch(this.status)},this.i18n("type name"),i).bindDestruct(this)}onChooseItems(){let t=this.stateManager.state.activeElements;if(t.length){if("folder"===t[0].type){this.state.currentPath=this.state.currentPath+"/"+t[0].name,this.state.currentSource=t[0].sourceName,this.e.fire("afterOpenFolder.filebrowser");return}this.state.onSelectCallBack?this.stateManager.callSelectHandler():this.onOpenLightBox(t[0])}}onOpenLightBox(t){f.UILightBox.open(this,t,this.state.elements)}initUploader(){let t=this,i=(0,_.ConfigProto)(t.o.uploader||{},b.Config.defaultOptions.uploader),n=()=>this.loadingManager.loadItems();t.uploader=t.getInstance("Uploader",i),t.uploader.bind(t.panel.container,n,t.status),t.e.on("bindUploader.filebrowser",i=>{t.uploader.bind(i,n,t.status)})}destruct(){this.removeGlobalListeners(),this.header.destruct(),this.panel.destruct(),super.destruct()}fullFillOptions(){["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRename","folderRename","fileRemove","folderRemove","folder","items","permissions"].forEach(t=>{null!=this.options[t]&&(this.options[t]=(0,_.ConfigProto)(this.options[t],this.o.ajax))})}constructor(t){super((0,_.ConfigProto)(Object.assign(t||{},{resizable:!0,draggable:!0,toolbarButtons:(null==t?void 0:t.toolbarButtons)||b.Config.defaultOptions.filebrowser.buttons,buttons:S.JoditPro.atom(["filebrowser.settings","fullsize","dialog.close"])}),b.Config.defaultOptions.filebrowser)),(0,o._)(this,"dataProvider",(0,E.makeDataProvider)(this,this.options)),(0,o._)(this,"state",(0,w.observable)({onSelectCallBack:null,theme:"default",showSideBar:!0,showFavorites:!0,showSettings:!1,showPreview:!1,withFolders:!0,foldersPosition:"bottom",info:"",metaInfo:null,currentPath:"",currentSource:"",currentBaseUrl:"",tree:[],activeElements:[],favorites:[],progress:0,lastSelectedIndex:0,elements:[],messages:[],sources:[],view:"tiles",tileSize:"default",sortBy:"name-asc",filterWord:"",onlyImages:!1})),(0,o._)(this,"persistent",new d.PersistentStore(this,this.state)),(0,o._)(this,"loadingManager",new c.LoadingManager(this,this.state)),(0,o._)(this,"stateManager",new h.StateManager(this.state)),(0,o._)(this,"historyManager",new u.HistoryManager(this,this.state)),(0,o._)(this,"contextMenuManager",new a.ContextMenuManager(this)),(0,o._)(this,"header",new p.UIBrowserHeader(this,this.options,this.stateManager)),(0,o._)(this,"panel",new m.UIBrowserPanel(this,this.stateManager)),(0,o._)(this,"files",this.panel),(0,o._)(this,"tree",this.panel),(0,o._)(this,"uploader",void 0),A.license.make(this),!this.persistent.theme&&this.options.theme&&(this.persistent.theme=this.options.theme),this.panel.append(this.progressbar),this.toolbar.setMod("mode","header"),this.setSize(Math.min(this.options.width,screen.width),Math.min(this.options.height,screen.height)).setHeader(this.header),this.onResizeWindow(),this.initUploader(),this.onChangeTheme(),this.fullFillOptions(),this.dataProvider.onProgress(t=>{0===t&&(t=30),this.state.progress=t}),this.e.on("beforeClose",this.removeGlobalListeners),this.e.fire("afterInit"),S.JoditPro.prototype.afterInitHook.call(this)}}(0,s.__decorate)([y.autobind],D.prototype,"status",null),(0,s.__decorate)([y.cache],D.prototype,"progressbar",null),(0,s.__decorate)([(0,y.watch)(":resize",{context:window})],D.prototype,"onResizeWindow",null),(0,s.__decorate)([(0,y.watch)(["state.currentPath","state.currentSource"])],D.prototype,"onChangePath",null),(0,s.__decorate)([(0,y.watch)("state.theme")],D.prototype,"onChangeTheme",null),(0,s.__decorate)([(0,y.watch)(":toggleSettings.filebrowser")],D.prototype,"onToggleSettings",null),(0,s.__decorate)([y.autobind],D.prototype,"onKeyPress",null),(0,s.__decorate)([y.autobind],D.prototype,"removeGlobalListeners",null),(0,s.__decorate)([(0,y.watch)(":fileRemove.filebrowser")],D.prototype,"onFileRemove",null),(0,s.__decorate)([(0,y.watch)(":edit.filebrowser")],D.prototype,"onFileEdit",null),(0,s.__decorate)([(0,y.watch)(":folderRename.filebrowser")],D.prototype,"onFolderRename",null),(0,s.__decorate)([(0,y.watch)(":folderRemove.filebrowser")],D.prototype,"onFolderRemove",null),(0,s.__decorate)([(0,y.watch)(":folderCreate.filebrowser")],D.prototype,"onFolderCreate",null),(0,s.__decorate)([(0,y.watch)(":fileRename.filebrowser")],D.prototype,"onFileRename",null),(0,s.__decorate)([(0,y.watch)(":select.filebrowser")],D.prototype,"onChooseItems",null),(0,s.__decorate)([(0,y.watch)(":openLightBox.filebrowser")],D.prototype,"onOpenLightBox",null),D=(0,s.__decorate)([y.component,(0,y.derive)(C.Dlgs)],D),Object.defineProperty(S.JoditPro.modules,"FileBrowserPro",{value:D,writable:!1,enumerable:!0,configurable:!0})},5440:function(t,i,n){"use strict";n.d(i,{buildStylePopup:function(){return l}});var r=n(31105),o=n(8060),s=n(69341);let a="jodit-style-popup";function l(t,i,n){let l=(0,o.classifyDefinitions)(i),u=(0,s.detectActiveStyle)(t,i),c=t.c.div(a);for(let o of l){let s=t.c.div(`${a}__group-title`);s.textContent=t.i18n(o.title),c.appendChild(s);let l=t.c.div(`${a}__grid`);for(let s of o.definitions){let o=t.c.element("button");o.type="button",o.className=`${a}__card`+(u===s?` ${a}__card_active_true`:"");let c=t.c.div(`${a}__card-preview`),d=t.c.element(s.element);for(let t of s.classes)d.classList.add(t);d.textContent=s.name,c.appendChild(d),o.appendChild(c);let h=t.c.div(`${a}__card-label`);h.textContent=s.name,o.appendChild(h),t.e.on(o,"click",()=>{t.s.focus(),(0,r.applyStyle)(t,s,i),t.synchronizeValues(),n()}),l.appendChild(o)}c.appendChild(l)}return c}},5567:function(t,i){"use strict";i.default='<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> '},5618:function(t,i,n){"use strict";var r=n(56075),o=n(11886),s=n(93809),a=n(28157);i.default=(0,o._)((0,r._)({},s),{execute:a.execute})},5700:function(t,i,n){"use strict";n.d(i,{position:function(){return function t(i,n,o=!1){var s,a;let l=i.getBoundingClientRect(),u=l.left,c=l.top;if((0,r.isJoditObject)(n)&&n.iframe&&n.ed.body.contains(i)&&!o){let{left:i,top:r}=t(n.iframe,n,!0);u+=i,c+=r}return{left:Math.round(u),top:Math.round(c),width:Math.round(null!=(s=i.offsetWidth)?s:l.width),height:Math.round(null!=(a=i.offsetHeight)?a:l.height)}}}});var r=n(19306)},5827:function(t,i,n){"use strict";var r=n(2748),o=n(12153),s=n(6441),a=n(27190),l=n(42345),u=n(10411);s.Config.prototype.link={formTemplate:u.formTemplate,followOnDblClick:!1,processVideoLink:!0,processPastedLink:!0,noFollowCheckbox:!0,openInNewTabCheckbox:!0,modeClassName:"input",selectMultipleClassName:!0,preventReadOnlyNavigation:!0,selectSizeClassName:3,selectOptionsClassName:[],hotkeys:["ctrl+k","cmd+k"]},o.Icon.set("link",a.default).set("unlink",l.default),s.Config.prototype.controls.unlink={exec:(t,i)=>{let n=r.Dom.closest(i,"a",t.editor);n&&r.Dom.unwrap(n),t.synchronizeValues(),t.e.fire("hidePopup")},tooltip:"Unlink"},s.Config.prototype.controls.link={isActive:t=>{let i=t.s.current();return!!(i&&r.Dom.closest(i,"a",t.editor))},popup:(t,i,n)=>t.e.fire("generateLinkForm.link",i,n),tags:["a"],tooltip:"Insert link"}},6091:function(t,i){"use strict";i.default='<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> '},6183:function(t,i,n){"use strict";n.d(i,{UIBackupList:function(){return d}});var r=n(82749),o=n(31635),s=n(38512),a=n(82758),l=n(65478),u=n(21537),c=n(67510);class d extends c.UIGroup{className(){return"UIBackupList"}createContainer(t){let i=super.createContainer(t);return(0,u.attr)(i,"tabIndex","-1"),i}build(t){this.clear(),t.forEach((t,i)=>{let n=new s.UIBackupItem(this.jodit,t);this.append(n),this.j.e.on(n.container,"focus",()=>this.onSelect(i)).on(n.container,"click",()=>this.onSelect(i)).on(n.container,"dblclick",()=>this.onChoose(i))}),this.currentSelection=0,this.onChangeCurrentSelection(void 0,-1,0)}onChangeCurrentSelection(t,i,n){var r,o,s;null==(r=this.elements[i])||r.setMod("active",!1),null==(o=this.elements[n])||o.setMod("active",!0),null==(s=this.elements[n])||s.focus(),this.j.e.fire(this,"select",this.elements[n].data)}onSelect(t){this.currentSelection=t}onChoose(t){this.j.e.fire(this,"choose",this.elements[null!=t?t:this.currentSelection].data)}selectNext(){this.currentSelection+1<=this.elements.length-1?this.currentSelection+=1:this.currentSelection=0}selectPrevious(){this.currentSelection-1>=0?this.currentSelection-=1:this.currentSelection=this.elements.length-1}constructor(t){super(t),(0,r._)(this,"elements",[]),(0,r._)(this,"currentSelection",-1),t.e.on(this.container,"keydown",t=>{switch(t.key){case a.KEY_ENTER:t.preventDefault(),t.stopPropagation(),this.onChoose(this.currentSelection);break;case a.KEY_DOWN:this.selectNext();break;case a.KEY_UP:this.selectPrevious()}})}}(0,o.__decorate)([(0,l.watch)("currentSelection")],d.prototype,"onChangeCurrentSelection",null),(0,o.__decorate)([l.autobind],d.prototype,"onSelect",null),(0,o.__decorate)([l.autobind],d.prototype,"onChoose",null),d=(0,o.__decorate)([l.component],d)},6342:function(t,i){"use strict";i.default='<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> '},6402:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"Дүрмийн алдаа шалгах"}},6441:function(t,i,n){"use strict";n.d(i,{Config:function(){return s}});var r=n(82758);let o={};class s{static get defaultOptions(){return s.__defaultOptions||(s.__defaultOptions=new s),s.__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=r.globalDocument,this.ownerWindow=r.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=r.INSERT_AS_HTML,this.enter=r.PARAGRAPH,this.iframe=!1,this.editHTMLDocumentMode=!1,this.enterBlock="br"!==this.enter?this.enter:r.PARAGRAPH,this.defaultMode=r.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,Object.assign(this,o)}}o=s.prototype,s.prototype.controls={}},6602:function(t){t.exports={"Show Blocks":"Pokaż Bloki"}},6687:function(t,i,n){"use strict";var r=n(82758),o=n(580),s=n(20356),a=n(12153),l=n(6441),u=n(66863),c=n(64489);a.Icon.set("redo",u.default).set("undo",c.default),l.Config.prototype.controls.redo={mode:r.MODE_SPLIT,isDisabled:t=>!t.history.canRedo(),tooltip:"Redo"},l.Config.prototype.controls.undo={mode:r.MODE_SPLIT,isDisabled:t=>!t.history.canUndo(),tooltip:"Undo"};class d extends s.Plugin{beforeDestruct(){}afterInit(t){let i=i=>(t.history[i](),!1);t.registerCommand("redo",{exec:i,hotkeys:["ctrl+y","ctrl+shift+z","cmd+y","cmd+shift+z"]}),t.registerCommand("undo",{exec:i,hotkeys:["ctrl+z","cmd+z"]})}constructor(){super(...arguments),this.buttons=[{name:"undo",group:"history"},{name:"redo",group:"history"}]}}o.pluginSystem.add("redoUndo",d)},6689:function(t,i,n){"use strict";n.d(i,{throwIfAborted:function(){return o}});var r=n(93661);function o(t){if(t.aborted)throw(0,r.abort)()}},6700:function(t,i,n){"use strict";n.d(i,{Storage:function(){return l},StorageKey:function(){return a}});var r=n(87058),o=n(65638),s=n(21162);let a="Jodit_";class l{set(t,i){return this.provider.set((0,r.camelCase)(this.prefix+t),i),this}delete(t){return this.provider.delete((0,r.camelCase)(this.prefix+t)),this}get(t){return this.provider.get((0,r.camelCase)(this.prefix+t))}exists(t){return this.provider.exists((0,r.camelCase)(this.prefix+t))}clear(){return this.provider.clear(),this}static makeStorage(t=!1,i){let n;return"localStorage"===t||"sessionStorage"===t?(0,o.canUsePersistentStorage)(t)&&(n=new o.LocalStorageProvider(a+(i||""),t)):!0===t&&(0,o.canUsePersistentStorage)("localStorage")&&(n=new o.LocalStorageProvider(a+(i||""))),n||(n=new s.MemoryStorageProvider),new l(n,i)}constructor(t,i){this.provider=t,this.prefix=a,i&&(this.prefix+=i)}}},6950:function(t,i){"use strict";i.default='<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:function(t,i,n){"use strict";n.d(i,{wrapUnwrappedText:function(){return s}});var r=n(2748),o=n(78116);function s(t,i,n){let s=n.editor,a=n.createInside,l=(t,i="previousSibling")=>{let a=t,l=t;for(;l&&!(0,o.isMarker)(l)&&!r.Dom.isTag(l,n.o.enter)&&(a=l,l=l[i]?l[i]:l.parentNode&&!r.Dom.isBlock(l.parentNode)&&l.parentNode!==s?l.parentNode:null,!r.Dom.isBlock(l)););return a},u=l(i),c=l(i,"nextSibling"),d=n.s.createRange();d.setStartBefore(u),d.setEndAfter(c);let h=d.extractContents(),p=a.element(t.element);return p.appendChild(h),r.Dom.safeInsertNode(d,p),t.elementIsBlock&&r.Dom.isEmpty(p)&&!r.Dom.isTag(p.firstElementChild,"br")&&p.appendChild(a.element("br")),p}},7085:function(t){t.exports={"Show Blocks":"تظهر كتل"}},7307:function(t){t.exports='<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"> <path d="M365.4,59.628c60.56,0,109.6,49.03,109.6,109.47c0,109.47-109.6,171.8-219.06,281.271 C146.47,340.898,37,278.568,37,169.099c0-60.44,49.04-109.47,109.47-109.47c54.73,0,82.1,27.37,109.47,82.1 C283.3,86.999,310.67,59.628,365.4,59.628z"/> </svg>'},7309:function(t,i,n){"use strict";var r=n(82758),o=n(2748),s=n(580),a=n(20356);n(99649);class l extends a.Plugin{afterInit(){this.charCounter=this.j.c.span(),this.wordCounter=this.j.c.span(),this.j.e.on("afterInit changePlace afterAddPlace",this.reInit),this.reInit()}beforeDestruct(){o.Dom.safeRemove(this.charCounter),o.Dom.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(()=>{let t=this.j.text;if(this.j.o.showCharsCounter&&this.charCounter){let i;i=this.j.o.countHTMLChars?this.j.value:this.j.o.countTextSpaces?t.replace((0,r.INVISIBLE_SPACE_REG_EXP)(),"").replace(/[\r\n]/g,""):t.replace((0,r.SPACE_REG_EXP)(),""),this.charCounter.textContent=this.j.i18n("Chars: %d",i.length)}this.j.o.showWordsCounter&&this.wordCounter&&(this.wordCounter.textContent=this.j.i18n("Words: %d",t.replace((0,r.INVISIBLE_SPACE_REG_EXP)(),"").split((0,r.SPACE_REG_EXP)()).filter(t=>t.length).length))},this.j.defaultTimeout)}}s.pluginSystem.add("stat",l)},7483:function(t,i,n){"use strict";n.d(i,{TextAreaEditor:function(){return a}});var r=n(2748),o=n(41180),s=n(23370);class a extends s.SourceEditor{init(t){this.instance=t.c.element("textarea",{class:"jodit-source__mirror",dir:"rtl"===t.o.direction?"rtl":void 0}),this.container.appendChild(this.instance),t.e.on(this.instance,"mousedown keydown touchstart input",t.async.debounce(this.toWYSIWYG,t.defaultTimeout)).on("setMinHeight.source",t=>{(0,o.css)(this.instance,"minHeight",t)}).on(this.instance,"change keydown mousedown touchstart input",this.autosize).on("afterSetMode.source",this.autosize).on(this.instance,"mousedown focus",i=>{t.e.fire(i.type,i)}),this.autosize(),this.onReady()}destruct(){r.Dom.safeRemove(this.instance)}getValue(){return this.instance.value}setValue(t){this.instance.value=t}insertRaw(t){let i=this.getValue();if(this.getSelectionStart()>=0){let n=this.getSelectionStart(),r=this.getSelectionEnd();this.setValue(i.substring(0,n)+t+i.substring(r,i.length))}else this.setValue(i+t)}getSelectionStart(){return this.instance.selectionStart}getSelectionEnd(){return this.instance.selectionEnd}setSelectionRange(t,i=t){this.instance.setSelectionRange(t,i)}get isFocused(){return this.instance===this.j.od.activeElement}focus(){this.instance.focus()}blur(){this.instance.blur()}setPlaceHolder(t){this.instance.setAttribute("placeholder",t)}setReadOnly(t){t?this.instance.setAttribute("readonly","true"):this.instance.removeAttribute("readonly")}selectAll(){this.instance.select()}replaceUndoManager(){let{history:t}=this.jodit;this.j.e.on(this.instance,"keydown",i=>{if((i.ctrlKey||i.metaKey)&&"z"===i.key)return i.shiftKey?t.redo():t.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,!0)}}},7886:function(t,i,n){"use strict";n.r(i),i.default={aiAssistant:"Asistente de IA",aiCommands:"Comandos de IA","AI Assistant":"Asistente de IA","AI Commands":"Comandos de IA","Improve writing":"Mejorar escritura","Make shorter":"Hacer m\xe1s corto","Make longer":"Hacer m\xe1s largo","Simplify language":"Simplificar lenguaje",Summarize:"Resumir",Continue:"Continuar",Prompt:"Solicitud",Insert:"Insertar","Insert After":"Insertar despu\xe9s","Try Again":"Intentar de nuevo","Ask AI to improve generated text":"Pida a la IA que mejore el texto generado","Change tone to professional":"Cambiar tono a profesional","Change tone to friendly":"Cambiar tono a amigable","Change tone to formal":"Cambiar tono a formal","Change tone to casual":"Cambiar tono a casual","Change tone to direct":"Cambiar tono a directo","Change tone to confident":"Cambiar tono a confiado","Change tone to business":"Cambiar tono a empresarial","Change style to legal":"Cambiar estilo a legal","Change style to journalism":"Cambiar estilo a period\xedstico","Change style to poetic":"Cambiar estilo a po\xe9tico","Translate to Spanish":"Traducir al espa\xf1ol","Translate to French":"Traducir al franc\xe9s","Translate to German":"Traducir al alem\xe1n","Translate to Italian":"Traducir al italiano","Translate to Portuguese":"Traducir al portugu\xe9s","Translate to English":"Traducir al ingl\xe9s","Translate to Chinese":"Traducir al chino","Translate to Japanese":"Traducid al japon\xe9s","Translate to Korean":"Traducir al coreano","Translate to Russian":"Traducir al ruso","Translate to Arabic":"Traducir al \xe1rabe",Submit:"Enviar"}},7903:function(t,i){"use strict";i.default='<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> '},8060:function(t,i,n){"use strict";n.d(i,{classifyDefinitions:function(){return o}});var r=n(82758);function o(t){let i=[],n=[];for(let o of t)r.IS_BLOCK.test(o.element)?i.push(o):n.push(o);let o=[];return i.length&&o.push({title:"Block styles",definitions:i}),n.length&&o.push({title:"Text styles",definitions:n}),o}},8073:function(t,i,n){"use strict";n.d(i,{UIMapsControlsForm:function(){return c}});var r=n(82749),o=n(56075),s=n(11886),a=n(31635),l=n(87325),u=n(67510);class c extends u.UIForm{className(){return"UIMapsControlsForm"}onChangeSize(t,i){this.state.controls=(0,s._)((0,o._)({},this.state.controls),{[t]:"true"===i})}constructor(t,i){super(t),(0,r._)(this,"state",void 0),this.state=i;const n={zoomControl:"Zoom control",mapTypeControl:"Map Type control",scaleControl:"Scale control",streetViewControl:"Street View control ",rotateControl:"Rotate control",fullscreenControl:"Fullscreen control"},o=Object.keys(n);this.append(o.map(i=>new u.UICheckbox(t,{label:n[i],name:i,checked:this.state.controls[i],switch:!0,type:"checkbox",onChange:this.onChangeSize.bind(this,i)})))}}c=(0,a.__decorate)([l.component],c)},8087:function(t,i,n){"use strict";n.d(i,{ContextMenuManager:function(){return l}});var r=n(31635),o=n(80480),s=n(65478),a=n(63399);class l extends o.ViewComponent{className(){return"ContextMenuManager"}onFolderContext(t,i){return this.buildContextItemMenu(this.getFolderContextActions(t),i),!1}onItemContext(t,i,n){return this.buildContextItemMenu(this.getItemContextActions(t),n),!1}onSourceContext(t,i){return this.buildContextItemMenu(this.getSourceContextActions(t),i),!1}buildContextItemMenu(t,i){if(!this.j.o.contextMenu)return;let n=(0,a.makeContextMenu)(this.j).setMod("theme",this.j.state.theme);n.show(i.clientX,i.clientY,t.filter(t=>t&&!1!==t.enabled)),this.j.e.on(this.j,"afterClose",()=>{n.isOpened&&n.close()})}getItemContextActions(t){if(this.j.stateManager.isActive(t)||this.j.stateManager.addActive(t,this.j.state.activeElements.length>1),"folder"===t.type)return this.getFolderContextActions({type:"directory",children:[],name:t.name||"",path:t.path,sourceName:t.sourceName});let i=this.j.options,n=this.j.dataProvider,r=1===this.j.state.activeElements.length;return[{icon:"pencil",title:"Edit",enabled:!!t.isImage&&i.editImage&&r&&(n.canI("ImageResize")||n.canI("ImageCrop")),exec:()=>{this.j.e.fire("edit.filebrowser")}},{icon:"italic",title:"Rename",enabled:n.canI("FileRename")&&r,exec:()=>this.j.e.fire("fileRename.filebrowser",t)},{icon:"bin",title:"Delete",enabled:n.canI("FileRemove"),exec:()=>this.j.e.fire("fileRemove.filebrowser",t)},{icon:"eye",title:"Preview",enabled:!!(t.isImage||"file"===t.type)&&i.preview&&r,exec:()=>this.j.e.fire("openLightBox.filebrowser",t)},{icon:"upload",title:"Download",exec:()=>{t.fileURL&&this.j.ow.open(t.fileURL)}}]}getFolderContextActions(t){let i=this.j.dataProvider;return[{icon:"pencil",title:"Rename",exec:()=>{this.j.e.fire("folderRename.filebrowser",t)},enabled:i.canI("FolderRename")},{icon:"bin",title:"Delete",exec:()=>{this.j.e.fire("folderRemove.filebrowser",t)},enabled:i.canI("FolderRemove")},{icon:"plus",title:"Add folder",exec:()=>{this.j.e.fire("folderCreate.filebrowser",t)},enabled:i.canI("FolderCreate")}]}getSourceContextActions(t){return[{icon:"plus",title:"Create folder",exec:()=>{this.j.e.fire("folderCreate.filebrowser",t)}}]}}(0,r.__decorate)([(0,s.watch)(":contextmenuFolder.filebrowser")],l.prototype,"onFolderContext",null),(0,r.__decorate)([(0,s.watch)(":contextmenuItem.filebrowser")],l.prototype,"onItemContext",null),(0,r.__decorate)([(0,s.watch)(":contextmenuSource.filebrowser")],l.prototype,"onSourceContext",null),l=(0,r.__decorate)([s.component],l)},8172:function(t,i,n){"use strict";n.d(i,{FileBrowserFiles:function(){return r.FileBrowserFiles},FileBrowserTree:function(){return o.FileBrowserTree}});var r=n(97379),o=n(8193)},8193:function(t,i,n){"use strict";n.d(i,{FileBrowserTree:function(){return o}});var r=n(67510);class o extends r.UIGroup{className(){return"FileBrowserTree"}}},8256:function(t,i,n){"use strict";var r=n(6441),o=n(22732),s=n(21537);let a=["tune.up","tune.remove","tune.down"],l=["tune.h1","tune.h2","tune.h3","\n","tune.h4","tune.h5","tune.h6","\n",...a];function u(t){return{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><text dominant-baseline="text-before-edge" style="font: 45px sans-serif" x="0" y="0">'+t.toUpperCase()+"</text></svg>",isActive(i,n){var r;return(null==n||null==(r=n.target)?void 0:r.tagName.toLowerCase())===t},exec(i,n){if(n){i.selection.save();let r=o.Dom.replace(n,t,i.createInside);i.selection.restore(),i.e.fire("synchro"),i.e.fire("afterExecTune.tune",r)}return!0}}}function c(t){let i=t?"previousSibling":"nextSibling";return{icon:t?"angle-up":"angle-down",isDisabled(t,n){var r;return!(null==n||null==(r=n.target)?void 0:r[i])},exec(n,r){let a=null==r?void 0:r[i];return r&&a&&(n.selection.save(),(0,s.call)(t?o.Dom.before:o.Dom.after,a,r),n.selection.restore()),n.e.fire("synchro"),n.e.fire("afterExecTune.tune"),!0}}}r.Config.prototype.tuneBlock={popup:{p:a,table:a,img:a,blockquote:a,div:a,pre:["tune.editPre",...a],h1:l,h2:l,h3:l,h4:l,h5:l,h6:l}},r.Config.prototype.controls.tune={h1:u("h1"),h2:u("h2"),h3:u("h3"),h4:u("h4"),h5:u("h5"),h6:u("h6"),up:c(!0),down:c(!1),editPre:{icon:"pencil",exec(t,i){t.e.fire("editPreInPasteCode",i)}},remove:{icon:"bin",exec(t,i){o.Dom.safeRemove(i),t.e.fire("synchro"),t.e.fire("closeTuner.tune"),t.e.fire("hideTuner.tune")}}}},8355:function(t,i,n){"use strict";var r=n(82758),o=n(580),s=n(11628);n(6441).Config.prototype.controls.preview={icon:"eye",command:"preview",mode:r.MODE_SOURCE+r.MODE_WYSIWYG,tooltip:"Preview"},o.pluginSystem.add("preview",function(t){t.registerButton({name:"preview"}),t.registerCommand("preview",(i,n,r)=>{let o=t.dlg();o.setSize(1024,600).open("",t.i18n("Preview")).setModal(!0);let[,a]=(0,s.previewBox)(t,r,"px",o.getElm("content"));o.e.on(o,"afterClose",a)})})},8358:function(t,i,n){"use strict";n.d(i,{UIPreview:function(){return p}});var r=n(82749),o=n(31635),s=n(65478),a=n(2748),l=n(43555),u=n(38837),c=n(62405),d=n(21130),h=n(54747);class p extends c.UIGroup{className(){return"UIPreview"}addResize(){(0,l.css)(this.container,{width:null,height:null}),h.UIResize.remove(this),h.UIResize.install(this,screen.width>450?"left":"top")}render(){return`<div>
21
+ </div>`}onChangeTheme(){this.setMod("theme",this.stateManager.state.theme)}onChangeElements(){this.items.build(this.stateManager.state.elements)}onChangeActiveElements(){this.state.activeElements.length||(this.state.info="",this.state.metaInfo=null),this.items.elements.forEach(t=>{t.setMod("active",!!this.stateManager.isActive(t.item))}),this.j.e.fire("changeSelection")}onChangeFavorites(){this.items.elements.forEach(t=>{t.setMod("favorite",!!this.stateManager.isFavorite(t.item))})}onChangeSources(){this.sources.build(this.stateManager.state.tree)}onChangeLastSelectedIndex(){var t;let i=null==(t=this.items.elements[this.stateManager.state.lastSelectedIndex])?void 0:t.container;i&&((0,a.scrollIntoViewIfNeeded)(i,this.items.container,this.j.od),i.focus())}onChangeInfo(){this.statusbar.value(this.state.info,"center")}onChangePathOrSource(){this.statusbar.value(this.state.currentPath?`${this.state.currentPath} (${this.state.currentSource})`:this.i18n("Home"),"left")}onChangeShowSettings(){this.settings.setMod("hidden",!this.stateManager.state.showSettings)}onChangeShowPreview(){this.preview.setMod("hidden",!this.stateManager.state.showPreview)}onChangeShowSideBar(){this.sidebar.setMod("hidden",!this.stateManager.state.showSideBar)}onChangeView(){this.items.setMod("view",this.stateManager.state.view)}onChangeTileSize(){this.items.setMod("size",this.stateManager.state.tileSize)}onChangeShowFavorites(){this.sidebar.setMod("show-favorites",this.stateManager.state.showFavorites),this.items.setMod("show-favorites",this.stateManager.state.showFavorites)}onItemDblClick(){return this.j.e.fire("select.filebrowser"),!1}onItemClick(t,i){this.stateManager.addActive(t,i)}onTogglePreview(){return this.state.showPreview=!this.state.showPreview,!1}onToggleFavoriteItem(t){this.stateManager.toggleFavorite(t)}onFolderClick(t){this.stateManager.state.currentSource=t.sourceName,this.stateManager.state.currentPath=t.path||"/",this.j.e.fire("afterOpenFolder.filebrowser")}constructor(t,i){super(t),(0,r._)(this,"stateManager",void 0),(0,r._)(this,"syncMod",void 0),(0,r._)(this,"state",void 0),(0,r._)(this,"sources",void 0),(0,r._)(this,"sidebar",void 0),(0,r._)(this,"preview",void 0),(0,r._)(this,"statusbar",void 0),(0,r._)(this,"items",void 0),(0,r._)(this,"settings",void 0),this.stateManager=i,this.syncMod=!0,this.sources=new h.UIBrowserSources(this.j),this.sidebar=new d.UISidebar(this.jodit,[this.sources],this.stateManager.state),this.preview=new u.UIPreview(this.jodit,this.stateManager.state),this.statusbar=new p.UIBrowserStatusBar(this.j),this.items=new f.UIVirtualScroll(this.j,this.stateManager),this.settings=new c.UIBrowserSettings(this.jodit,this.stateManager.state),this.state=i.state,this.append(this.sidebar,"content"),this.append(this.items,"content"),this.append(this.settings,"content"),this.append(this.preview,"content"),this.append(this.statusbar,"footer"),this.onChangeElements(),this.onChangeSources(),this.onChangeView(),this.onChangeTileSize(),this.onChangeShowFavorites(),this.onChangeActiveElements(),this.onChangeFavorites(),this.onChangeShowSideBar(),this.onChangeShowSettings(),this.onChangeShowPreview(),this.onChangeTheme()}}(0,o.__decorate)([(0,s.watch)("state.theme")],m.prototype,"onChangeTheme",null),(0,o.__decorate)([(0,s.watch)("state.elements")],m.prototype,"onChangeElements",null),(0,o.__decorate)([(0,s.watch)("state.activeElements")],m.prototype,"onChangeActiveElements",null),(0,o.__decorate)([(0,s.watch)(["state.favorites","state.elements"])],m.prototype,"onChangeFavorites",null),(0,o.__decorate)([(0,s.watch)("state.sources")],m.prototype,"onChangeSources",null),(0,o.__decorate)([(0,s.watch)("state.lastSelectedIndex")],m.prototype,"onChangeLastSelectedIndex",null),(0,o.__decorate)([(0,s.watch)("state.info")],m.prototype,"onChangeInfo",null),(0,o.__decorate)([(0,s.watch)(["state.currentPath","state.currentSource"])],m.prototype,"onChangePathOrSource",null),(0,o.__decorate)([(0,s.watch)("state.showSettings")],m.prototype,"onChangeShowSettings",null),(0,o.__decorate)([(0,s.watch)("state.showPreview")],m.prototype,"onChangeShowPreview",null),(0,o.__decorate)([(0,s.watch)("state.showSideBar")],m.prototype,"onChangeShowSideBar",null),(0,o.__decorate)([(0,s.watch)("state.view")],m.prototype,"onChangeView",null),(0,o.__decorate)([(0,s.watch)("state.tileSize")],m.prototype,"onChangeTileSize",null),(0,o.__decorate)([(0,s.watch)("state.showFavorites")],m.prototype,"onChangeShowFavorites",null),(0,o.__decorate)([(0,s.watch)(":dblclickItem.filebrowser")],m.prototype,"onItemDblClick",null),(0,o.__decorate)([(0,s.watch)(":clickItem.filebrowser")],m.prototype,"onItemClick",null),(0,o.__decorate)([(0,s.watch)(":togglePreview.filebrowser")],m.prototype,"onTogglePreview",null),(0,o.__decorate)([(0,s.watch)(":toggleFavoriteItem")],m.prototype,"onToggleFavoriteItem",null),(0,o.__decorate)([(0,s.watch)(":openFolder")],m.prototype,"onFolderClick",null),m=(0,o.__decorate)([s.component],m)},4510:function(t,i,n){"use strict";n.d(i,{toArray:function(){return s}});var r=n(70722),o=n(58844);let s=function(...t){var i;return((0,r.isNativeFunction)(Array.from)?Array.from:null!=(i=(0,o.reset)("Array.from"))?i:Array.from).apply(Array,t)}},4604:function(t,i,n){"use strict";var r=n(12153),o=n(6441),s=n(6342);o.Config.prototype.addNewLine=!0,o.Config.prototype.addNewLineOnDBLClick=!0,o.Config.prototype.addNewLineTagsTriggers=["table","iframe","img","hr","pre","jodit"],o.Config.prototype.addNewLineDeltaShow=20,r.Icon.set("enter",s.default)},4774:function(t,i,n){"use strict";n.d(i,{UIMap:function(){return r.UIMap},UIMapsControlsForm:function(){return o.UIMapsControlsForm},UIMapsPropsForm:function(){return s.UIMapsPropsForm}}),n(90835);var r=n(4169),o=n(8073),s=n(83039);n(11093)},4795:function(t,i){"use strict";i.default={"Type something":"Napiš něco","About Jodit":"O Jodit","Jodit Editor":"Editor Jodit","Free Non-commercial Version":"Verze pro nekomerčn\xed použit\xed","Jodit User's Guide":"Jodit Uživatelsk\xe1 př\xedručka","contains detailed help for using":"obsahuje detailn\xed n\xe1povědu","For information about the license, please go to our website:":"Pro informace o licenci, pros\xedm, přejděte na naši str\xe1nku:","Buy full version":"Koupit plnou verzi","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Všechna pr\xe1va vyhrazena.",Anchor:"Anchor","Open in new tab":"Otevř\xedt v nov\xe9 z\xe1ložce","Open in fullsize":"Otevř\xedt v celoobrazovkov\xe9m režimu","Clear Formatting":"Vyčistit form\xe1tov\xe1n\xed","Fill color or set the text color":"Barva v\xfdplně a p\xedsma",Redo:"Vpřed",Undo:"Zpět",Bold:"Tučn\xe9",Italic:"Kurz\xedva","Insert Unordered List":"Odr\xe1žky","Insert Ordered List":"Č\xedslovan\xfd 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\xe1ln\xed linku","Insert Image":"Vložit obr\xe1zek","Insert file":"Vložit soubor","Insert youtube/vimeo video":"Vložit video (YT/Vimeo)","Insert link":"Vložit odkaz","Font size":"Velikost p\xedsma","Font family":"Typ p\xedsma","Insert format block":"Form\xe1tovat blok",Normal:"Norm\xe1ln\xed text","Heading 1":"Nadpis 1","Heading 2":"Nadpis 2","Heading 3":"Nadpis 3","Heading 4":"Nadpis 4",Quote:"Cit\xe1t",Code:"K\xf3d",Insert:"Vložit","Insert table":"Vložit tabulku","Decrease Indent":"Zmenšit odsazen\xed","Increase Indent":"Zvětšit odsazen\xed","Select Special Character":"Vybrat speci\xe1ln\xed symbol","Insert Special Character":"Vložit speci\xe1ln\xed symbol","Paint format":"Použ\xedt form\xe1t","Change mode":"Změnit m\xf3d",Margins:"Okraje",top:"horn\xed",right:"prav\xfd",bottom:"spodn\xed",left:"lev\xfd",Styles:"Styly",Classes:"Tř\xeddy",Align:"Zarovn\xe1n\xed",Right:"Vpravo",Center:"Na střed",Left:"Vlevo","--Not Set--":"--nenastaveno--",Src:"src",Title:"Titulek",Alternative:"Alternativn\xed text (alt)",Link:"Link","Open link in new tab":"Otevř\xedt link v nov\xe9 z\xe1ložce",Image:"Obr\xe1zek",file:"soubor",Advanced:"Rozš\xedřen\xe9","Image properties":"Vlastnosti obr\xe1zku",Cancel:"Zpět",Ok:"Ok","Your code is similar to HTML. Keep as HTML?":"V\xe1š text se podob\xe1 HTML. Vložit ho jako HTML?","Paste as HTML":"Vložit jako HTML",Keep:"Ponechat origin\xe1l",Clean:"Vyčistit","Insert as Text":"Vložit jako TEXT","Insert only Text":"Vložit pouze TEXT","Word Paste Detected":"Detekov\xe1n fragment z Wordu nebo Excelu","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Obsah, kter\xfd vkl\xe1d\xe1te, je pravděpodobně z Microsoft Word / Excel. Chcete ponechat form\xe1t nebo vložit pouze text?","File Browser":"Prohl\xedžeč souborů","Error on load list":"Chyba při nač\xedt\xe1n\xed seznamu souborů","Error on load folders":"Chyba při nač\xedt\xe1n\xed složek","Are you sure?":"Jste si jist\xfd(\xe1)?","Enter Directory name":"N\xe1zev složky","Create directory":"Vytvořit složku","type name":"n\xe1zev","Drop image":"Přet\xe1hněte sem obr\xe1zek","Drop file":"Přet\xe1hněte sem soubor","or click":"nebo klikněte","Alternative text":"Alternativn\xed text",Browse:"Server",Upload:"Nahr\xe1t",Background:"Pozad\xed",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 ř\xe1dek nad","Insert row below":"Vložit ř\xe1dek pod","Delete table":"Vymazat tabulku","Delete row":"Vymazat ř\xe1dku","Delete column":"Vymazat sloupec","Empty cell":"Vyčistit buňku",source:"HTML",bold:"tučně",italic:"kurz\xedva",brush:"štětec",link:"odkaz",undo:"zpět",redo:"vpřed",table:"tabulka",image:"obr\xe1zek",eraser:"guma",paragraph:"odstavec",fontsize:"velikost p\xedsma",video:"video",font:"p\xedsmo",about:"о editoru",print:"tisk",underline:"podtrženo",strikethrough:"přeškrtnuto",indent:"zvětšit odsazen\xed",outdent:"zmenšit odsazen\xed",fullsize:"celoobrazovkov\xfd režim",shrink:"smrsknout",hr:"Linka",ul:"Odr\xe1žka",ol:"Č\xedslovan\xfd seznam",cut:"Vyjmout",selectall:"Označit vše","Embed code":"K\xf3d","Open link":"Otevř\xedt 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\xe1ln\xed zarovn\xe1n\xed",Filter:"Filtr","Sort by changed":"Dle posledn\xed změny","Sort by name":"Dle n\xe1zvu","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:"Š\xedřka",Height:"V\xfdš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\xe1ln\xed zarovn\xe1n\xed",Split:"Rozdělit","Split vertical":"Rozdělit vertik\xe1lně","Split horizontal":"Rozdělit horizont\xe1lně",Merge:"Spojit","Add column":"Přidat sloupec","Add row":"Přidat ř\xe1dek",Delete:"Vymazat",Border:"Okraj","License: %s":"Licence: %s","Strike through":"Přeškrtnuto",Underline:"Podtrženo",superscript:"Horn\xed index",subscript:"Doln\xed index","Cut selection":"Vyjmout označen\xe9",Break:"Zalomen\xed","Search for":"Najdi","Replace with":"Nahradit za",Replace:"Vyměňte",Paste:"Vložit","Choose Content to Paste":"Vyber obsah pro vložen\xed","You can only edit your own images. Download this image on the host?":"Můžete upravovat pouze sv\xe9 obr\xe1zky. Nač\xedst obr\xe1zek?","The image has been successfully uploaded to the host!":"Obr\xe1zek byl \xfaspěšně nahr\xe1n!",palette:"paleta","There are no files":"V tomto adres\xe1ři nejsou ž\xe1dn\xe9 soubory.",Rename:"přejmenovat","Enter new name":"Zadejte nov\xfd n\xe1zev",preview:"n\xe1hled",download:"Stažen\xed","Paste from clipboard":"Vložit ze schr\xe1nky","Your browser doesn't support direct access to the clipboard.":"V\xe1š prohl\xedžeč nepodporuje př\xedm\xfd př\xedstup do schr\xe1nky.","Copy selection":"Kop\xedrovat v\xfdběr",copy:"kop\xedrov\xe1n\xed","Border radius":"Border radius","Show all":"Zobrazit všechny",Apply:"Plat\xed","Please fill out this field":"Pros\xedm, vyplňte toto pole","Please enter a web address":"Pros\xedm, zadejte webovou adresu",Default:"V\xfdchoz\xed",Circle:"Kruh",Dot:"Dot",Quadrate:"Quadrate",Find:"Naj\xedt","Find Previous":"Naj\xedt Předchoz\xed","Find Next":"Naj\xedt Dalš\xed","Insert className":"Vložte n\xe1zev tř\xeddy","Press Alt for custom resizing":"Stiskněte Alt pro vlastn\xed změnu velikosti"}},4941:function(t,i,n){"use strict";n.d(i,{Emoji:function(){return p}});var r=n(77688),o=n(82749),s=n(56075),a=n(11886),l=n(31635),u=n(65478),c=n(2748),d=n(21537),h=n(67510);class p extends h.UIElement{className(){return"Emoji"}get defaultList(){return this.recent.concat(this.data?this.data.emoji:[])}reset(){this.input.nativeInput.value="",this.setItems(this.defaultList),this.setActiveCategory(0)}setItems(t){var i,n;this.list.scrollTo(0,0),c.Dom.detach(this.list),c.Dom.append(this.list,this.generateEmojiList(t,null!=(i=null==(n=this.data)?void 0:n.categories)?i:[]))}createContainer(t){let i=this.j.c.div("jodit-emoji");this.input=new h.UIInput(this.j,{name:"search",icon:"search",autocomplete:!1,clearButton:!0,placeholder:"Search emoji"}),this.input.container.classList.add(this.getFullElName("input")),this.categories=this.j.c.div(this.getFullElName("categories")),this.list=this.j.c.div(this.getFullElName("emojis"));let n=this.j.c.div(this.getFullElName("navigate"));return c.Dom.append(n,[this.categories,this.input.container]),c.Dom.append(i,[n,this.list]),i}setActiveCategory(t,i=!1){let n=this.getElms("category"),r=n[this.activeIndex];n[t]||(t=n.length-1);let o=n[t],s=this.getFullElName("category","active",!0);r&&r.classList.remove(s),o&&o.classList.add(s),i&&this.getElms("category-title")[t].scrollIntoView(),this.activeIndex=t}generateCategoriesList(t){return t.map((i,n)=>this.j.c.div(this.getFullElName("category"),{"data-index":n,title:i,style:{width:100/t.length+"%"}}))}generateEmojiList(t,i){let n="";return t.reduce((t,r,o)=>{var s,a;let l=-1===(r=p.normalizeEmoji(r)).category?"Recently":i[r.category];if(l!==n){n=l;let i=null!=(a=this.cache[n])?a:this.j.c.div(this.getFullElName("category-title"),n?this.j.i18n(n):"");this.cache[n]=i,t.push(i)}let u=null!=(s=this.cache[r.emoji+r.category])?s:this.j.c.div(this.getFullElName("emoji"),{"data-id":o,"data-value":r.emoji},r.emoji);return this.cache[r.emoji+r.category]=u,t.push(u),t},[])}static isShortCat(t){return t&&(0,d.isString)(t.e)}static normalizeEmoji(t){return p.isShortCat(t)?{emoji:t.e,description:t.d,category:t.c,aliases:t.a,tags:t.t}:t}onInsertCode(t){this.jodit.e.fire(this,"insert",t);let i=this.map[t];if(i){let n=[...this.recent],r=n.findIndex(i=>i.emoji===t);-1!==r&&n.splice(r,1),n.unshift((0,a._)((0,s._)({},i),{category:-1})),this.recent=n}}onScrollList(){let t=this.list.scrollTop,i=this.getElms("category-title"),n=0;i.forEach((i,r)=>{t>i.offsetTop-this.list.offsetTop-20&&(n=r)}),this.setActiveCategory(n)}onClickCategory(t){this.clearFilter();let i=t.target;i.classList.contains(this.getFullElName("category"))&&this.setActiveCategory(parseInt((0,d.attr)(i,"-index")||"0",10)||0,!0)}onClickItem(t){let i=t.target;if(i.classList.contains(this.getFullElName("emoji"))){let t=(0,d.attr)(i,"-value")||"";t&&this.onInsertCode(t)}t.preventDefault()}onInputFilter(){let t=this.input.value.toLowerCase();if(!t.length)return this.setItems(this.defaultList);this.setItems(this.defaultList.filter(i=>{var n,r,o;let s=p.normalizeEmoji(i);return(null==(n=s.description)?void 0:n.toLowerCase().includes(t))||(null==(r=s.tags)?void 0:r.join(" ").toLowerCase().includes(t))||(null==(o=s.aliases)?void 0:o.join(" ").toLowerCase().includes(t))}))}clearFilter(){this.input.nativeInput.value.length&&this.reset()}onReady(){this.j.e.on(this.input.nativeInput,"input",this.onInputFilter).on(this.categories,"click",this.onClickCategory).on(this.list,"scroll",this.onScrollList).on(this.list,"mousedown touchstart",this.onClickItem)}destruct(){return this.input.destruct(),super.destruct()}constructor(t){var i;super(t),i=this,(0,o._)(this,"data",null),(0,o._)(this,"recent",[]),(0,o._)(this,"map",{}),(0,o._)(this,"activeIndex",0),(0,o._)(this,"cache",{}),this.setMod("loading",!0),(0,r._)(function*(){i.data=yield t.o.emoji.data(),i.setMod("loading",!1),i.data.emoji.forEach(t=>{let n=p.normalizeEmoji(t);i.map[n.emoji]=n}),i.setItems(i.defaultList),c.Dom.append(i.categories,i.generateCategoriesList(i.data.categories)),i.setActiveCategory(0)})()}}(0,l.__decorate)([u.persistent],p.prototype,"recent",void 0),(0,l.__decorate)([(0,u.throttle)()],p.prototype,"onScrollList",null),(0,l.__decorate)([u.autobind],p.prototype,"onClickCategory",null),(0,l.__decorate)([u.autobind],p.prototype,"onClickItem",null),(0,l.__decorate)([(0,u.debounce)()],p.prototype,"onInputFilter",null),(0,l.__decorate)([(0,u.hook)("ready")],p.prototype,"onReady",null),p=(0,l.__decorate)([u.component],p)},5082:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"ラインの高さ"}},5119:function(t,i){"use strict";i.default='<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:function(t,i,n){"use strict";n.d(i,{wrapText:function(){return o}});var r=n(2748);function o(t,i){let n=t;r.Dom.up(n,t=>{t&&t.hasChildNodes()&&t!==i.editor&&(n=t)},i.editor);let o=r.Dom.wrapInline(n,i.o.enter,i);if(r.Dom.isEmpty(o)){let n=i.createInside.element("br");o.appendChild(n),r.Dom.before(n,t)}return o}},5422:function(t,i,n){"use strict";n.d(i,{FileBrowserPro:function(){return D}});var r=n(77688),o=n(82749),s=n(31635);n(34042);var a=n(8087),l=n(77841),u=n(17578),c=n(97770),d=n(42663),h=n(55535),p=n(18250),f=n(69277),m=n(4278),g=n(95002),b=n(6441),v=n(82758),y=n(65478),_=n(21537),C=n(70231),w=n(41409),F=n(638),E=n(63399),k=n(50050),S=n(2692),A=n(21246);class D extends F.Dialog{className(){return"FileBrowserPro"}lock(t="any"){return this.container.classList.add("jodit_disabled"),super.lock(t)}unlock(){return this.container.classList.remove("jodit_disabled"),super.unlock()}status(t,i=!(t instanceof Error)){(0,_.isAbortError)(t)||(v.IS_PROD||(0,_.isString)(t),this.message.message((0,_.isString)(t)?t:t.message,i?"success":"error",this.options.howLongShowMsg))}get progressbar(){return new g.UIProgress(this,this.stateManager.state)}addDisclaimer(t){this.dialog.appendChild(t)}open(t){var i=this,n=()=>super.open;return(0,r._)(function*(t=this.o.defaultCallback,r){return this.state.onlyImages=!!r,this.prepareOpening(t),n().call(i,this.panel.container),this.e.fire("update.filebrowser")}).apply(this,arguments)}onResizeWindow(){(0,_.css)(this.dialog,{maxWidth:screen.width,minHeight:Math.min(this.options.height,screen.height),minWidth:Math.min(this.options.width,screen.width)})}onChangePath(){let{currentPath:t,currentSource:i}=this.state;this.uploader.setPath(t),this.uploader.setSource(i)}onChangeTheme(){this.setMod("theme",this.state.theme),this.header.setMod("theme",this.state.theme),this.panel.setMod("theme",this.state.theme),this.options.theme=this.state.theme}onToggleSettings(){this.state.showSettings=!this.state.showSettings}prepareOpening(t){this.registerGlobalListeners(),t&&(this.state.onSelectCallBack=i=>{this.close(),t(i)}),this.persistent.syncWithState()}registerGlobalListeners(){this.e.on(this.ow,"keydown",this.onKeyPress)}onKeyPress(t){let{activeElement:i}=this.od;if(!this.state.activeElements.length||!i||!w.Dom.isOrContains(this.panel.items.container,i))return;let n=this.state.elements;switch(t.key){case v.KEY_ENTER:return this.onChooseItems();case v.KEY_DELETE:return this.onFileRemove();case v.KEY_RIGHT:case v.KEY_LEFT:case v.KEY_DOWN:case v.KEY_UP:{let i,r=t.key===v.KEY_RIGHT||t.key===v.KEY_DOWN,o=this.state.lastSelectedIndex;if([v.KEY_RIGHT,v.KEY_LEFT].includes(t.key))i=r?n[o+1]?o+1:0:n[o-1]?o-1:n.length-1;else{let{countInRow:t}=this.panel;i=Math.round(((o+1)/t+(r?1:-1))*t-1)}return n[i]&&this.stateManager.addActive(n[i],t.shiftKey),!1}}}removeGlobalListeners(){this.e.off(this.ow,"keydown",this.onKeyPress)}onFileRemove(){this.state.activeElements.length&&this.confirm("Are you sure?","Delete",t=>{t&&this.__itemsRemove(this.state.activeElements)}).bindDestruct(this)}__itemsRemove(t){if(!t.length)return Promise.resolve();let i=[];return t.forEach(t=>{var n;i.push("folder"===t.type?this.__folderRemove((0,l.parentPath)(t.path),null!=(n=t.name)?n:"",t.sourceName):this.__removeFile(t.file||t.name||"",t.sourceName))}),this.state.activeElements.forEach(t=>{this.stateManager.isFavorite(t)&&this.stateManager.toggleFavorite(t)}),this.state.activeElements=[],Promise.allSettled(i).then(()=>Promise.allSettled([this.loadingManager.loadItems(),this.loadingManager.loadFolders()]))}__removeFile(t,i){return this.dataProvider.fileRemove(this.state.currentPath,t,i).then(i=>{this.status(i||this.i18n('File "%s" was deleted',t),!0)}).catch(this.status)}__folderRemove(t,i,n){return this.dataProvider.folderRemove(t,i,n).then(r=>{this.status(r||this.i18n('Folder "%s" was deleted',i),!0),this.state.currentPath===t&&(this.state.currentPath=(0,l.parentPath)(t),this.state.currentSource=n)}).catch(this.status)}onFileEdit(){if(1===this.state.activeElements.length){let[t]=this.state.activeElements;k.openImageEditor.call(this,t.fileURL,t.file||"",t.path,t.sourceName,void 0,this.status)}}onFolderRename(t){this.prompt("Enter new name","Rename",i=>{if(!(0,_.isValidName)(i)||i===t.name)return this.status(this.i18n("Enter new name")),!1;this.dataProvider.folderRename((0,l.parentPath)(t.path),t.name,i,t.sourceName).then(n=>{this.state.activeElements=[],this.status(n,!0),this.state.currentPath=(0,l.parentPath)(t.path)+"/"+i,this.state.currentSource=t.sourceName,this.historyManager.updateCurrent(),this.loadingManager.loadFolders()}).catch(this.status)},this.i18n("type name"),t.name).bindDestruct(this)}onFolderRemove(t){this.confirm("Are you sure?","Delete",i=>{i&&this.__itemsRemove([{type:"folder",name:t.name,path:t.path,sourceName:t.sourceName}])}).bindDestruct(this)}onFolderCreate(t){this.prompt("Enter Directory name","Create directory",i=>{let n=t.path||"/";this.dataProvider.createFolder(i,t.path||"/",t.sourceName).then(()=>{this.state.currentSource===t.sourceName&&this.state.currentPath===n?this.e.fire("update.filebrowser"):(this.state.currentSource=t.sourceName,this.state.currentPath=n),this.historyManager.updateCurrent()},this.status)},this.i18n("type name")).bindDestruct(this)}onFileRename(t){let i=t.file||t.name||"";1===this.state.activeElements.length&&i&&this.prompt("Enter new name","Rename",t=>{if(!(0,_.isValidName)(t))return this.status(this.i18n("Enter new name")),!1;this.dataProvider.fileRename(this.state.currentPath,i,t,this.state.currentSource).then(t=>{this.state.activeElements=[],this.status(t,!0),this.loadingManager.loadItems()}).catch(this.status)},this.i18n("type name"),i).bindDestruct(this)}onChooseItems(){let t=this.stateManager.state.activeElements;if(t.length){if("folder"===t[0].type){this.state.currentPath=this.state.currentPath+"/"+t[0].name,this.state.currentSource=t[0].sourceName,this.e.fire("afterOpenFolder.filebrowser");return}this.state.onSelectCallBack?this.stateManager.callSelectHandler():this.onOpenLightBox(t[0])}}onOpenLightBox(t){f.UILightBox.open(this,t,this.state.elements)}initUploader(){let t=this,i=(0,_.ConfigProto)(t.o.uploader||{},b.Config.defaultOptions.uploader),n=()=>this.loadingManager.loadItems();t.uploader=t.getInstance("Uploader",i),t.uploader.bind(t.panel.container,n,t.status),t.e.on("bindUploader.filebrowser",i=>{t.uploader.bind(i,n,t.status)})}destruct(){this.removeGlobalListeners(),this.header.destruct(),this.panel.destruct(),super.destruct()}fullFillOptions(){["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRename","folderRename","fileRemove","folderRemove","folder","items","permissions"].forEach(t=>{null!=this.options[t]&&(this.options[t]=(0,_.ConfigProto)(this.options[t],this.o.ajax))})}constructor(t){super((0,_.ConfigProto)(Object.assign(t||{},{resizable:!0,draggable:!0,toolbarButtons:(null==t?void 0:t.toolbarButtons)||b.Config.defaultOptions.filebrowser.buttons,buttons:S.JoditPro.atom(["filebrowser.settings","fullsize","dialog.close"])}),b.Config.defaultOptions.filebrowser)),(0,o._)(this,"dataProvider",(0,E.makeDataProvider)(this,this.options)),(0,o._)(this,"state",(0,w.observable)({onSelectCallBack:null,theme:"default",showSideBar:!0,showFavorites:!0,showSettings:!1,showPreview:!1,withFolders:!0,foldersPosition:"bottom",info:"",metaInfo:null,currentPath:"",currentSource:"",currentBaseUrl:"",tree:[],activeElements:[],favorites:[],progress:0,lastSelectedIndex:0,elements:[],messages:[],sources:[],view:"tiles",tileSize:"default",sortBy:"name-asc",filterWord:"",onlyImages:!1})),(0,o._)(this,"persistent",new d.PersistentStore(this,this.state)),(0,o._)(this,"loadingManager",new c.LoadingManager(this,this.state)),(0,o._)(this,"stateManager",new h.StateManager(this.state)),(0,o._)(this,"historyManager",new u.HistoryManager(this,this.state)),(0,o._)(this,"contextMenuManager",new a.ContextMenuManager(this)),(0,o._)(this,"header",new p.UIBrowserHeader(this,this.options,this.stateManager)),(0,o._)(this,"panel",new m.UIBrowserPanel(this,this.stateManager)),(0,o._)(this,"files",this.panel),(0,o._)(this,"tree",this.panel),(0,o._)(this,"uploader",void 0),A.license.make(this),!this.persistent.theme&&this.options.theme&&(this.persistent.theme=this.options.theme),this.panel.append(this.progressbar),this.toolbar.setMod("mode","header"),this.setSize(Math.min(this.options.width,screen.width),Math.min(this.options.height,screen.height)).setHeader(this.header),this.onResizeWindow(),this.initUploader(),this.onChangeTheme(),this.fullFillOptions(),this.dataProvider.onProgress(t=>{0===t&&(t=30),this.state.progress=t}),this.e.on("beforeClose",this.removeGlobalListeners),this.e.fire("afterInit"),S.JoditPro.prototype.afterInitHook.call(this)}}(0,s.__decorate)([y.autobind],D.prototype,"status",null),(0,s.__decorate)([y.cache],D.prototype,"progressbar",null),(0,s.__decorate)([(0,y.watch)(":resize",{context:window})],D.prototype,"onResizeWindow",null),(0,s.__decorate)([(0,y.watch)(["state.currentPath","state.currentSource"])],D.prototype,"onChangePath",null),(0,s.__decorate)([(0,y.watch)("state.theme")],D.prototype,"onChangeTheme",null),(0,s.__decorate)([(0,y.watch)(":toggleSettings.filebrowser")],D.prototype,"onToggleSettings",null),(0,s.__decorate)([y.autobind],D.prototype,"onKeyPress",null),(0,s.__decorate)([y.autobind],D.prototype,"removeGlobalListeners",null),(0,s.__decorate)([(0,y.watch)(":fileRemove.filebrowser")],D.prototype,"onFileRemove",null),(0,s.__decorate)([(0,y.watch)(":edit.filebrowser")],D.prototype,"onFileEdit",null),(0,s.__decorate)([(0,y.watch)(":folderRename.filebrowser")],D.prototype,"onFolderRename",null),(0,s.__decorate)([(0,y.watch)(":folderRemove.filebrowser")],D.prototype,"onFolderRemove",null),(0,s.__decorate)([(0,y.watch)(":folderCreate.filebrowser")],D.prototype,"onFolderCreate",null),(0,s.__decorate)([(0,y.watch)(":fileRename.filebrowser")],D.prototype,"onFileRename",null),(0,s.__decorate)([(0,y.watch)(":select.filebrowser")],D.prototype,"onChooseItems",null),(0,s.__decorate)([(0,y.watch)(":openLightBox.filebrowser")],D.prototype,"onOpenLightBox",null),D=(0,s.__decorate)([y.component,(0,y.derive)(C.Dlgs)],D),Object.defineProperty(S.JoditPro.modules,"FileBrowserPro",{value:D,writable:!1,enumerable:!0,configurable:!0})},5440:function(t,i,n){"use strict";n.d(i,{buildStylePopup:function(){return l}});var r=n(31105),o=n(8060),s=n(69341);let a="jodit-style-popup";function l(t,i,n){let l=(0,o.classifyDefinitions)(i),u=(0,s.detectActiveStyle)(t,i),c=t.c.div(a);for(let o of l){let s=t.c.div(`${a}__group-title`);s.textContent=t.i18n(o.title),c.appendChild(s);let l=t.c.div(`${a}__grid`);for(let s of o.definitions){var d,h;let o=t.c.element("button");o.type="button",o.className=`${a}__card`+(u===s?` ${a}__card_active_true`:"");let c=t.c.div(`${a}__card-preview`),p=t.c.element(s.element);for(let t of null!=(d=null==(h=s.classes)?void 0:h.filter(Boolean))?d:[])p.classList.add(t);p.textContent=s.name,c.appendChild(p),o.appendChild(c);let f=t.c.div(`${a}__card-label`);f.textContent=s.name,o.appendChild(f),t.e.on(o,"click",()=>{t.s.focus(),(0,r.applyStyle)(t,s,i),t.synchronizeValues(),n()}),l.appendChild(o)}c.appendChild(l)}return c}},5567:function(t,i){"use strict";i.default='<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> '},5618:function(t,i,n){"use strict";var r=n(56075),o=n(11886),s=n(93809),a=n(28157);i.default=(0,o._)((0,r._)({},s),{execute:a.execute})},5700:function(t,i,n){"use strict";n.d(i,{position:function(){return function t(i,n,o=!1){var s,a;let l=i.getBoundingClientRect(),u=l.left,c=l.top;if((0,r.isJoditObject)(n)&&n.iframe&&n.ed.body.contains(i)&&!o){let{left:i,top:r}=t(n.iframe,n,!0);u+=i,c+=r}return{left:Math.round(u),top:Math.round(c),width:Math.round(null!=(s=i.offsetWidth)?s:l.width),height:Math.round(null!=(a=i.offsetHeight)?a:l.height)}}}});var r=n(19306)},5827:function(t,i,n){"use strict";var r=n(2748),o=n(12153),s=n(6441),a=n(27190),l=n(42345),u=n(10411);s.Config.prototype.link={formTemplate:u.formTemplate,followOnDblClick:!1,processVideoLink:!0,processPastedLink:!0,noFollowCheckbox:!0,openInNewTabCheckbox:!0,modeClassName:"input",selectMultipleClassName:!0,preventReadOnlyNavigation:!0,selectSizeClassName:3,selectOptionsClassName:[],hotkeys:["ctrl+k","cmd+k"]},o.Icon.set("link",a.default).set("unlink",l.default),s.Config.prototype.controls.unlink={exec:(t,i)=>{let n=r.Dom.closest(i,"a",t.editor);n&&r.Dom.unwrap(n),t.synchronizeValues(),t.e.fire("hidePopup")},tooltip:"Unlink"},s.Config.prototype.controls.link={isActive:t=>{let i=t.s.current();return!!(i&&r.Dom.closest(i,"a",t.editor))},popup:(t,i,n)=>t.e.fire("generateLinkForm.link",i,n),tags:["a"],tooltip:"Insert link"}},6091:function(t,i){"use strict";i.default='<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> '},6183:function(t,i,n){"use strict";n.d(i,{UIBackupList:function(){return d}});var r=n(82749),o=n(31635),s=n(38512),a=n(82758),l=n(65478),u=n(21537),c=n(67510);class d extends c.UIGroup{className(){return"UIBackupList"}createContainer(t){let i=super.createContainer(t);return(0,u.attr)(i,"tabIndex","-1"),i}build(t){this.clear(),t.forEach((t,i)=>{let n=new s.UIBackupItem(this.jodit,t);this.append(n),this.j.e.on(n.container,"focus",()=>this.onSelect(i)).on(n.container,"click",()=>this.onSelect(i)).on(n.container,"dblclick",()=>this.onChoose(i))}),this.currentSelection=0,this.onChangeCurrentSelection(void 0,-1,0)}onChangeCurrentSelection(t,i,n){var r,o,s;null==(r=this.elements[i])||r.setMod("active",!1),null==(o=this.elements[n])||o.setMod("active",!0),null==(s=this.elements[n])||s.focus(),this.j.e.fire(this,"select",this.elements[n].data)}onSelect(t){this.currentSelection=t}onChoose(t){this.j.e.fire(this,"choose",this.elements[null!=t?t:this.currentSelection].data)}selectNext(){this.currentSelection+1<=this.elements.length-1?this.currentSelection+=1:this.currentSelection=0}selectPrevious(){this.currentSelection-1>=0?this.currentSelection-=1:this.currentSelection=this.elements.length-1}constructor(t){super(t),(0,r._)(this,"elements",[]),(0,r._)(this,"currentSelection",-1),t.e.on(this.container,"keydown",t=>{switch(t.key){case a.KEY_ENTER:t.preventDefault(),t.stopPropagation(),this.onChoose(this.currentSelection);break;case a.KEY_DOWN:this.selectNext();break;case a.KEY_UP:this.selectPrevious()}})}}(0,o.__decorate)([(0,l.watch)("currentSelection")],d.prototype,"onChangeCurrentSelection",null),(0,o.__decorate)([l.autobind],d.prototype,"onSelect",null),(0,o.__decorate)([l.autobind],d.prototype,"onChoose",null),d=(0,o.__decorate)([l.component],d)},6342:function(t,i){"use strict";i.default='<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> '},6402:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"Дүрмийн алдаа шалгах"}},6441:function(t,i,n){"use strict";n.d(i,{Config:function(){return s}});var r=n(82758);let o={};class s{static get defaultOptions(){return s.__defaultOptions||(s.__defaultOptions=new s),s.__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=r.globalDocument,this.ownerWindow=r.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=r.INSERT_AS_HTML,this.enter=r.PARAGRAPH,this.iframe=!1,this.editHTMLDocumentMode=!1,this.enterBlock="br"!==this.enter?this.enter:r.PARAGRAPH,this.defaultMode=r.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,Object.assign(this,o)}}o=s.prototype,s.prototype.controls={}},6602:function(t){t.exports={"Show Blocks":"Pokaż Bloki"}},6687:function(t,i,n){"use strict";var r=n(82758),o=n(580),s=n(20356),a=n(12153),l=n(6441),u=n(66863),c=n(64489);a.Icon.set("redo",u.default).set("undo",c.default),l.Config.prototype.controls.redo={mode:r.MODE_SPLIT,isDisabled:t=>!t.history.canRedo(),tooltip:"Redo"},l.Config.prototype.controls.undo={mode:r.MODE_SPLIT,isDisabled:t=>!t.history.canUndo(),tooltip:"Undo"};class d extends s.Plugin{beforeDestruct(){}afterInit(t){let i=i=>(t.history[i](),!1);t.registerCommand("redo",{exec:i,hotkeys:["ctrl+y","ctrl+shift+z","cmd+y","cmd+shift+z"]}),t.registerCommand("undo",{exec:i,hotkeys:["ctrl+z","cmd+z"]})}constructor(){super(...arguments),this.buttons=[{name:"undo",group:"history"},{name:"redo",group:"history"}]}}o.pluginSystem.add("redoUndo",d)},6689:function(t,i,n){"use strict";n.d(i,{throwIfAborted:function(){return o}});var r=n(93661);function o(t){if(t.aborted)throw(0,r.abort)()}},6700:function(t,i,n){"use strict";n.d(i,{Storage:function(){return l},StorageKey:function(){return a}});var r=n(87058),o=n(65638),s=n(21162);let a="Jodit_";class l{set(t,i){return this.provider.set((0,r.camelCase)(this.prefix+t),i),this}delete(t){return this.provider.delete((0,r.camelCase)(this.prefix+t)),this}get(t){return this.provider.get((0,r.camelCase)(this.prefix+t))}exists(t){return this.provider.exists((0,r.camelCase)(this.prefix+t))}clear(){return this.provider.clear(),this}static makeStorage(t=!1,i){let n;return"localStorage"===t||"sessionStorage"===t?(0,o.canUsePersistentStorage)(t)&&(n=new o.LocalStorageProvider(a+(i||""),t)):!0===t&&(0,o.canUsePersistentStorage)("localStorage")&&(n=new o.LocalStorageProvider(a+(i||""))),n||(n=new s.MemoryStorageProvider),new l(n,i)}constructor(t,i){this.provider=t,this.prefix=a,i&&(this.prefix+=i)}}},6950:function(t,i){"use strict";i.default='<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:function(t,i,n){"use strict";n.d(i,{wrapUnwrappedText:function(){return s}});var r=n(2748),o=n(78116);function s(t,i,n){let s=n.editor,a=n.createInside,l=(t,i="previousSibling")=>{let a=t,l=t;for(;l&&!(0,o.isMarker)(l)&&!r.Dom.isTag(l,n.o.enter)&&(a=l,l=l[i]?l[i]:l.parentNode&&!r.Dom.isBlock(l.parentNode)&&l.parentNode!==s?l.parentNode:null,!r.Dom.isBlock(l)););return a},u=l(i),c=l(i,"nextSibling"),d=n.s.createRange();d.setStartBefore(u),d.setEndAfter(c);let h=d.extractContents(),p=a.element(t.element);return p.appendChild(h),r.Dom.safeInsertNode(d,p),t.elementIsBlock&&r.Dom.isEmpty(p)&&!r.Dom.isTag(p.firstElementChild,"br")&&p.appendChild(a.element("br")),p}},7085:function(t){t.exports={"Show Blocks":"تظهر كتل"}},7307:function(t){t.exports='<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"> <path d="M365.4,59.628c60.56,0,109.6,49.03,109.6,109.47c0,109.47-109.6,171.8-219.06,281.271 C146.47,340.898,37,278.568,37,169.099c0-60.44,49.04-109.47,109.47-109.47c54.73,0,82.1,27.37,109.47,82.1 C283.3,86.999,310.67,59.628,365.4,59.628z"/> </svg>'},7309:function(t,i,n){"use strict";var r=n(82758),o=n(2748),s=n(580),a=n(20356);n(99649);class l extends a.Plugin{afterInit(){this.charCounter=this.j.c.span(),this.wordCounter=this.j.c.span(),this.j.e.on("afterInit changePlace afterAddPlace",this.reInit),this.reInit()}beforeDestruct(){o.Dom.safeRemove(this.charCounter),o.Dom.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(()=>{let t=this.j.text;if(this.j.o.showCharsCounter&&this.charCounter){let i;i=this.j.o.countHTMLChars?this.j.value:this.j.o.countTextSpaces?t.replace((0,r.INVISIBLE_SPACE_REG_EXP)(),"").replace(/[\r\n]/g,""):t.replace((0,r.SPACE_REG_EXP)(),""),this.charCounter.textContent=this.j.i18n("Chars: %d",i.length)}this.j.o.showWordsCounter&&this.wordCounter&&(this.wordCounter.textContent=this.j.i18n("Words: %d",t.replace((0,r.INVISIBLE_SPACE_REG_EXP)(),"").split((0,r.SPACE_REG_EXP)()).filter(t=>t.length).length))},this.j.defaultTimeout)}}s.pluginSystem.add("stat",l)},7483:function(t,i,n){"use strict";n.d(i,{TextAreaEditor:function(){return a}});var r=n(2748),o=n(41180),s=n(23370);class a extends s.SourceEditor{init(t){this.instance=t.c.element("textarea",{class:"jodit-source__mirror",dir:"rtl"===t.o.direction?"rtl":void 0}),this.container.appendChild(this.instance),t.e.on(this.instance,"mousedown keydown touchstart input",t.async.debounce(this.toWYSIWYG,t.defaultTimeout)).on("setMinHeight.source",t=>{(0,o.css)(this.instance,"minHeight",t)}).on(this.instance,"change keydown mousedown touchstart input",this.autosize).on("afterSetMode.source",this.autosize).on(this.instance,"mousedown focus",i=>{t.e.fire(i.type,i)}),this.autosize(),this.onReady()}destruct(){r.Dom.safeRemove(this.instance)}getValue(){return this.instance.value}setValue(t){this.instance.value=t}insertRaw(t){let i=this.getValue();if(this.getSelectionStart()>=0){let n=this.getSelectionStart(),r=this.getSelectionEnd();this.setValue(i.substring(0,n)+t+i.substring(r,i.length))}else this.setValue(i+t)}getSelectionStart(){return this.instance.selectionStart}getSelectionEnd(){return this.instance.selectionEnd}setSelectionRange(t,i=t){this.instance.setSelectionRange(t,i)}get isFocused(){return this.instance===this.j.od.activeElement}focus(){this.instance.focus()}blur(){this.instance.blur()}setPlaceHolder(t){this.instance.setAttribute("placeholder",t)}setReadOnly(t){t?this.instance.setAttribute("readonly","true"):this.instance.removeAttribute("readonly")}selectAll(){this.instance.select()}replaceUndoManager(){let{history:t}=this.jodit;this.j.e.on(this.instance,"keydown",i=>{if((i.ctrlKey||i.metaKey)&&"z"===i.key)return i.shiftKey?t.redo():t.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,!0)}}},7886:function(t,i,n){"use strict";n.r(i),i.default={aiAssistant:"Asistente de IA",aiCommands:"Comandos de IA","AI Assistant":"Asistente de IA","AI Commands":"Comandos de IA","Improve writing":"Mejorar escritura","Make shorter":"Hacer m\xe1s corto","Make longer":"Hacer m\xe1s largo","Simplify language":"Simplificar lenguaje",Summarize:"Resumir",Continue:"Continuar",Prompt:"Solicitud",Insert:"Insertar","Insert After":"Insertar despu\xe9s","Try Again":"Intentar de nuevo","Ask AI to improve generated text":"Pida a la IA que mejore el texto generado","Change tone to professional":"Cambiar tono a profesional","Change tone to friendly":"Cambiar tono a amigable","Change tone to formal":"Cambiar tono a formal","Change tone to casual":"Cambiar tono a casual","Change tone to direct":"Cambiar tono a directo","Change tone to confident":"Cambiar tono a confiado","Change tone to business":"Cambiar tono a empresarial","Change style to legal":"Cambiar estilo a legal","Change style to journalism":"Cambiar estilo a period\xedstico","Change style to poetic":"Cambiar estilo a po\xe9tico","Translate to Spanish":"Traducir al espa\xf1ol","Translate to French":"Traducir al franc\xe9s","Translate to German":"Traducir al alem\xe1n","Translate to Italian":"Traducir al italiano","Translate to Portuguese":"Traducir al portugu\xe9s","Translate to English":"Traducir al ingl\xe9s","Translate to Chinese":"Traducir al chino","Translate to Japanese":"Traducid al japon\xe9s","Translate to Korean":"Traducir al coreano","Translate to Russian":"Traducir al ruso","Translate to Arabic":"Traducir al \xe1rabe",Submit:"Enviar"}},7903:function(t,i){"use strict";i.default='<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> '},8060:function(t,i,n){"use strict";n.d(i,{classifyDefinitions:function(){return o}});var r=n(82758);function o(t){let i=[],n=[];for(let o of t)r.IS_BLOCK.test(o.element)?i.push(o):n.push(o);let o=[];return i.length&&o.push({title:"Block styles",definitions:i}),n.length&&o.push({title:"Text styles",definitions:n}),o}},8073:function(t,i,n){"use strict";n.d(i,{UIMapsControlsForm:function(){return c}});var r=n(82749),o=n(56075),s=n(11886),a=n(31635),l=n(87325),u=n(67510);class c extends u.UIForm{className(){return"UIMapsControlsForm"}onChangeSize(t,i){this.state.controls=(0,s._)((0,o._)({},this.state.controls),{[t]:"true"===i})}constructor(t,i){super(t),(0,r._)(this,"state",void 0),this.state=i;const n={zoomControl:"Zoom control",mapTypeControl:"Map Type control",scaleControl:"Scale control",streetViewControl:"Street View control ",rotateControl:"Rotate control",fullscreenControl:"Fullscreen control"},o=Object.keys(n);this.append(o.map(i=>new u.UICheckbox(t,{label:n[i],name:i,checked:this.state.controls[i],switch:!0,type:"checkbox",onChange:this.onChangeSize.bind(this,i)})))}}c=(0,a.__decorate)([l.component],c)},8087:function(t,i,n){"use strict";n.d(i,{ContextMenuManager:function(){return l}});var r=n(31635),o=n(80480),s=n(65478),a=n(63399);class l extends o.ViewComponent{className(){return"ContextMenuManager"}onFolderContext(t,i){return this.buildContextItemMenu(this.getFolderContextActions(t),i),!1}onItemContext(t,i,n){return this.buildContextItemMenu(this.getItemContextActions(t),n),!1}onSourceContext(t,i){return this.buildContextItemMenu(this.getSourceContextActions(t),i),!1}buildContextItemMenu(t,i){if(!this.j.o.contextMenu)return;let n=(0,a.makeContextMenu)(this.j).setMod("theme",this.j.state.theme);n.show(i.clientX,i.clientY,t.filter(t=>t&&!1!==t.enabled)),this.j.e.on(this.j,"afterClose",()=>{n.isOpened&&n.close()})}getItemContextActions(t){if(this.j.stateManager.isActive(t)||this.j.stateManager.addActive(t,this.j.state.activeElements.length>1),"folder"===t.type)return this.getFolderContextActions({type:"directory",children:[],name:t.name||"",path:t.path,sourceName:t.sourceName});let i=this.j.options,n=this.j.dataProvider,r=1===this.j.state.activeElements.length;return[{icon:"pencil",title:"Edit",enabled:!!t.isImage&&i.editImage&&r&&(n.canI("ImageResize")||n.canI("ImageCrop")),exec:()=>{this.j.e.fire("edit.filebrowser")}},{icon:"italic",title:"Rename",enabled:n.canI("FileRename")&&r,exec:()=>this.j.e.fire("fileRename.filebrowser",t)},{icon:"bin",title:"Delete",enabled:n.canI("FileRemove"),exec:()=>this.j.e.fire("fileRemove.filebrowser",t)},{icon:"eye",title:"Preview",enabled:!!(t.isImage||"file"===t.type)&&i.preview&&r,exec:()=>this.j.e.fire("openLightBox.filebrowser",t)},{icon:"upload",title:"Download",exec:()=>{t.fileURL&&this.j.ow.open(t.fileURL)}}]}getFolderContextActions(t){let i=this.j.dataProvider;return[{icon:"pencil",title:"Rename",exec:()=>{this.j.e.fire("folderRename.filebrowser",t)},enabled:i.canI("FolderRename")},{icon:"bin",title:"Delete",exec:()=>{this.j.e.fire("folderRemove.filebrowser",t)},enabled:i.canI("FolderRemove")},{icon:"plus",title:"Add folder",exec:()=>{this.j.e.fire("folderCreate.filebrowser",t)},enabled:i.canI("FolderCreate")}]}getSourceContextActions(t){return[{icon:"plus",title:"Create folder",exec:()=>{this.j.e.fire("folderCreate.filebrowser",t)}}]}}(0,r.__decorate)([(0,s.watch)(":contextmenuFolder.filebrowser")],l.prototype,"onFolderContext",null),(0,r.__decorate)([(0,s.watch)(":contextmenuItem.filebrowser")],l.prototype,"onItemContext",null),(0,r.__decorate)([(0,s.watch)(":contextmenuSource.filebrowser")],l.prototype,"onSourceContext",null),l=(0,r.__decorate)([s.component],l)},8172:function(t,i,n){"use strict";n.d(i,{FileBrowserFiles:function(){return r.FileBrowserFiles},FileBrowserTree:function(){return o.FileBrowserTree}});var r=n(97379),o=n(8193)},8193:function(t,i,n){"use strict";n.d(i,{FileBrowserTree:function(){return o}});var r=n(67510);class o extends r.UIGroup{className(){return"FileBrowserTree"}}},8256:function(t,i,n){"use strict";var r=n(6441),o=n(22732),s=n(21537);let a=["tune.up","tune.remove","tune.down"],l=["tune.h1","tune.h2","tune.h3","\n","tune.h4","tune.h5","tune.h6","\n",...a];function u(t){return{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><text dominant-baseline="text-before-edge" style="font: 45px sans-serif" x="0" y="0">'+t.toUpperCase()+"</text></svg>",isActive(i,n){var r;return(null==n||null==(r=n.target)?void 0:r.tagName.toLowerCase())===t},exec(i,n){if(n){i.selection.save();let r=o.Dom.replace(n,t,i.createInside);i.selection.restore(),i.e.fire("synchro"),i.e.fire("afterExecTune.tune",r)}return!0}}}function c(t){let i=t?"previousSibling":"nextSibling";return{icon:t?"angle-up":"angle-down",isDisabled(t,n){var r;return!(null==n||null==(r=n.target)?void 0:r[i])},exec(n,r){let a=null==r?void 0:r[i];return r&&a&&(n.selection.save(),(0,s.call)(t?o.Dom.before:o.Dom.after,a,r),n.selection.restore()),n.e.fire("synchro"),n.e.fire("afterExecTune.tune"),!0}}}r.Config.prototype.tuneBlock={popup:{p:a,table:a,img:a,blockquote:a,div:a,pre:["tune.editPre",...a],h1:l,h2:l,h3:l,h4:l,h5:l,h6:l}},r.Config.prototype.controls.tune={h1:u("h1"),h2:u("h2"),h3:u("h3"),h4:u("h4"),h5:u("h5"),h6:u("h6"),up:c(!0),down:c(!1),editPre:{icon:"pencil",exec(t,i){t.e.fire("editPreInPasteCode",i)}},remove:{icon:"bin",exec(t,i){o.Dom.safeRemove(i),t.e.fire("synchro"),t.e.fire("closeTuner.tune"),t.e.fire("hideTuner.tune")}}}},8355:function(t,i,n){"use strict";var r=n(82758),o=n(580),s=n(11628);n(6441).Config.prototype.controls.preview={icon:"eye",command:"preview",mode:r.MODE_SOURCE+r.MODE_WYSIWYG,tooltip:"Preview"},o.pluginSystem.add("preview",function(t){t.registerButton({name:"preview"}),t.registerCommand("preview",(i,n,r)=>{let o=t.dlg();o.setSize(1024,600).open("",t.i18n("Preview")).setModal(!0);let[,a]=(0,s.previewBox)(t,r,"px",o.getElm("content"));o.e.on(o,"afterClose",a)})})},8358:function(t,i,n){"use strict";n.d(i,{UIPreview:function(){return p}});var r=n(82749),o=n(31635),s=n(65478),a=n(2748),l=n(43555),u=n(38837),c=n(62405),d=n(21130),h=n(54747);class p extends c.UIGroup{className(){return"UIPreview"}addResize(){(0,l.css)(this.container,{width:null,height:null}),h.UIResize.remove(this),h.UIResize.install(this,screen.width>450?"left":"top")}render(){return`<div>
22
22
  <div class="&__image"></div>
23
23
  <div class="&__info"></div>
24
24
  <div class="&__loader"></div>
@@ -26,13 +26,13 @@
26
26
  </div>`}afterSetMod(t,i){"hidden"===t&&!1===i&&this.onChangeMetaInfo(),super.afterSetMod(t,i)}onChangeMetaInfo(){var t,i;if(this.getMod("hidden"))return;let{metaInfo:n}=this.state;this.setMod("empty",!n);let r=this.getElm("info");(0,u.assert)(null!=r,"info element does not exists"),a.Dom.detach(r);let o=this.getElm("image");(0,u.assert)(null!=o,"image element does not exists"),(0,l.css)(o,{backgroundImage:null}),n&&(this.setMod("is-file",!1===n.isImage).setMod("type",null!=(t=n.type)?t:"file"),d.UIBrowserItem.prototype.setElementValue.call(this,"name",n.file),d.UIBrowserItem.prototype.setElementValue.call(this,"time",n.time),d.UIBrowserItem.prototype.setElementValue.call(this,"filesize",n.size),this.setMod("loading",!0),null==(i=this.lastLoadPromise)||i.rejectCallback(),this.lastLoadPromise=(0,l.loadImage)(n.isImage?n.fileURL:n.imageURL,this.j),this.lastLoadPromise.then(t=>{let i=this.getElm("image");(0,u.assert)(null!=i,"image element does not exist"),t&&(0,l.css)(i,{backgroundImage:`url(${t.src})`})}).finally(()=>{this.setMod("loading",!1)}).catch(()=>{}))}constructor(t,i){super(t),(0,r._)(this,"state",void 0),(0,r._)(this,"lastLoadPromise",void 0),this.state=i,this.lastLoadPromise=null,this.onChangeMetaInfo()}}(0,o.__decorate)([(0,s.hook)("ready"),(0,s.watch)(":resize",{context:window}),(0,s.debounce)()],p.prototype,"addResize",null),(0,o.__decorate)([(0,s.watch)("state.metaInfo")],p.prototype,"onChangeMetaInfo",null),p=(0,o.__decorate)([s.component],p)},8390:function(t,i,n){"use strict";var r=n(82749);n(89683);var o=n(2748),s=n(36409),a=n(50911),l=n(2692);class u extends a.Plugin{afterInit(t){t.registerCommand("changeCase",{exec:(i,n,r)=>{r=r.toLowerCase();let s=t.s.range,{startContainer:a,startOffset:l}=s;if(t.s.isCollapsed()){let i=t.s.current(!0);i&&i.parentElement&&this.applyCase(r,i.parentElement),s.setStart(a,l),t.s.selectRange(s)}else{let i=s.cloneRange(),n=s.cloneRange(),a=t.createInside.fake(),l=t.createInside.fake();i.collapse(!0),n.collapse(!1),i.insertNode(a),n.insertNode(l),o.Dom.between(a,l,t=>{this.applyCase(r,t)}),s.setStartAfter(a),s.setEndBefore(l),t.s.selectRange(s),o.Dom.safeRemove(a),o.Dom.safeRemove(l)}}})}applyCase(t,i){if(o.Dom.isText(i)){let n=i.nodeValue;n&&(i.nodeValue=(i=>{switch(t){case"lowercase":return i.toLowerCase();case"uppercase":return i.toUpperCase();default:return i.split(" ").map(s.ucfirst).join(" ")}})(n))}else o.Dom.each(i,i=>{this.applyCase(t,i)})}beforeDestruct(t){}constructor(...t){super(...t),(0,r._)(this,"buttons",[{name:"changeCase",group:"font-style"}])}}(0,r._)(u,"requires",["license"]),l.JoditPro.plugins.add("change-case",u)},8432:function(t){t.exports={"Show Blocks":"Haritayı Blokları"}},8661:function(t,i,n){"use strict";n.r(i),i.default={newline:"linha",delete:"excluir",space:"espaco","Speech Recognize":"Discurso Reconhecer",Sound:"Som","Interim Results":"Resultados Provis\xf3rios"}},8884:function(t,i,n){"use strict";n.d(i,{Async:function(){return r.Async}});var r=n(26992)},8959:function(t,i,n){"use strict";n.d(i,{UICheckbox:function(){return o.UICheckbox},UIFileInput:function(){return s.UIFileInput},UIInput:function(){return a.UIInput},UISelect:function(){return l.UISelect},UITextArea:function(){return r.UITextArea}});var r=n(85120),o=n(17328),s=n(4242),a=n(80256),l=n(12234)},9045:function(t,i,n){"use strict";n(6441).Config.prototype.dtd={removeExtraBr:!0,checkBlockNesting:!0,blockLimits:{article:1,aside:1,audio:1,body:1,caption:1,details:1,dir:1,div:1,dl:1,fieldset:1,figcaption:1,figure:1,footer:1,form:1,header:1,hgroup:1,main:1,menu:1,nav:1,ol:1,section:1,table:1,td:1,th:1,tr:1,ul:1,video:1}}},9159:function(t,i,n){"use strict";var r=n(65478),o=n(22732),s=n(580),a=n(50911),l=n(67510);n(68252);var u=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class c extends a.Plugin{afterInit(t){let{height:i,width:n,allowResizeX:r}=t.o,{allowResizeY:o}=t.o;"auto"===i&&"auto"!==n&&(o=!1),("auto"!==i||"auto"!==n)&&(r||o)&&(t.statusbar.setMod("resize-handle",!0),t.e.on("toggleFullSize.resizeHandler",()=>{this.handle.style.display=t.isFullSize?"none":"block"}).on(this.handle,"mousedown touchstart",this.onHandleResizeStart).on(t.ow,"mouseup touchend",this.onHandleResizeEnd),t.container.appendChild(this.handle))}onHandleResizeStart(t){this.isResized=!0,this.start.x=t.clientX,this.start.y=t.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),t.preventDefault()}onHandleResize(t){this.isResized&&(this.j.o.allowResizeY&&this.j.e.fire("setHeight",this.start.h+t.clientY-this.start.y),this.j.o.allowResizeX&&this.j.e.fire("setWidth",this.start.w+t.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.Dom.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",l.Icon.get("resize_handler"))}}c.requires=["size"],u([r.autobind],c.prototype,"onHandleResizeStart",null),u([r.autobind],c.prototype,"onHandleResize",null),u([r.autobind],c.prototype,"onHandleResizeEnd",null),s.pluginSystem.add("resizeHandler",c)},9881:function(t,i,n){"use strict";var r=n(65478),o=n(2748),s=n(580),a=n(87058),l=n(50911),u=n(67510);n(67215);var c=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class d extends l.Plugin{afterInit(t){this.proxyEventsList.forEach(i=>{t.e.on(i+".select",this.onStartSelection)})}beforeDestruct(t){this.proxyEventsList.forEach(i=>{t.e.on(i+".select",this.onStartSelection)})}onStartSelection(t){let{j:i}=this,n,r=t.target;for(;void 0===n&&r&&r!==i.editor;)n=i.e.fire((0,a.camelCase)(t.type+"_"+r.nodeName.toLowerCase()),r,t),r=r.parentElement;"click"===t.type&&void 0===n&&r===i.editor&&i.e.fire(t.type+"Editor",r,t)}onOutsideClick(t){let i=t.target;o.Dom.up(i,t=>t===this.j.editor)||u.UIElement.closestElement(i,u.Popup)||this.j.e.fire("outsideClick",t)}beforeCommandCut(){let{s:t}=this.j;if(!t.isCollapsed()){let i=t.current();i&&o.Dom.isOrContains(this.j.editor,i)&&this.onCopyNormalizeSelectionBound()}}beforeCommandSelectAll(){let{s:t}=this.j;return t.focus(),t.select(this.j.editor,!0),t.expandSelection(),!1}onTripleClickNormalizeSelection(t){if(3!==t.detail||!this.j.o.select.normalizeTripleClick)return;let{s:i}=this.j,{startContainer:n,startOffset:r}=i.range;0===r&&o.Dom.isText(n)&&i.select(o.Dom.closest(n,o.Dom.isBlock,this.j.editor)||n,!0)}onCopyNormalizeSelectionBound(t){let{s:i,editor:n,o:r}=this.j;!r.select.normalizeSelectionBeforeCutAndCopy||i.isCollapsed()||(!t||t.isTrusted&&o.Dom.isNode(t.target)&&o.Dom.isOrContains(n,t.target))&&this.jodit.s.expandSelection()}constructor(){super(...arguments),this.proxyEventsList=["click","mousedown","touchstart","mouseup","touchend"]}}c([r.autobind],d.prototype,"onStartSelection",null),c([(0,r.watch)("ow:click")],d.prototype,"onOutsideClick",null),c([(0,r.watch)([":beforeCommandCut"])],d.prototype,"beforeCommandCut",null),c([(0,r.watch)([":beforeCommandSelectall"])],d.prototype,"beforeCommandSelectAll",null),c([(0,r.watch)([":click"])],d.prototype,"onTripleClickNormalizeSelection",null),c([(0,r.watch)([":copy",":cut"])],d.prototype,"onCopyNormalizeSelectionBound",null),s.pluginSystem.add("select",d)},9914:function(t,i){"use strict";i.default='<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:function(t,i,n){"use strict";n.d(i,{normalizePath:function(){return o}});var r=n(49055);let o=(...t)=>t.filter(t=>(0,r.trim)(t).length).map((i,n)=>(i=i.replace(/([^:])[\\/]+/g,"$1/"),n&&(i=i.replace(/^\//,"")),n!==t.length-1&&(i=i.replace(/\/$/,"")),i)).join("/")},10052:function(t,i){"use strict";i.default='<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> '},10058:function(t,i,n){"use strict";n.d(i,{LEVEL_KEY:function(){return r},STYLE_CSS_KEY:function(){return l},STYLE_KEY:function(){return s},STYLE_VALID_KEY:function(){return a},TYPE_KEY:function(){return o},listStyleMap:function(){return u}});let r="jd-list-level",o="jd-list-type",s="jd-list-style-type",a="data-list-style-type",l="list-style-type",u={"\xb7":"disc",o:"circle","\xa7":"square","[ivx]":"lower-roman","[IVX]":"upper-roman","[a-z]":"lower-alpha","[A-Z]":"upper-alpha","\\d":"decimal"}},10263:function(t,i,n){"use strict";n.d(i,{openImagePopup:function(){return u}});var r=n(68345),o=n(5700),s=n(56917),a=n(34793);function l(t,i,n,r,o,s,a){try{var l=t[s](a),u=l.value}catch(t){n(t);return}l.done?i(u):Promise.resolve(u).then(r,o)}function u(t,i,n,u){let c=new s.Popup(i),d=()=>{c.close(),c.destruct()};c.setContent((0,a.FileSelectorWidget)(t,{upload:t=>{t.files&&t.files.length&&(n.values.imageSrc=t.baseurl+t.files[0]),d()},filebrowser:t=>{var i;return(i=function*(){t&&(0,r.isArray)(t.files)&&t.files.length&&(n.values.imageSrc=t.files[0],d())},function(){var t=this,n=arguments;return new Promise(function(r,o){var s=i.apply(t,n);function a(t){l(s,r,o,a,u,"next",t)}function u(t){l(s,r,o,a,u,"throw",t)}a(void 0)})})()}},n.image,d)).open(()=>(0,o.position)(u))}},10411:function(t,i,n){"use strict";n.d(i,{formTemplate:function(){return s}});var r=n(62843),o=n(2525);let s=t=>{let{openInNewTabCheckbox:i,noFollowCheckbox:n,modeClassName:s,selectSizeClassName:a,selectMultipleClassName:l,selectOptionsClassName:u}=t.o.link;return new o.UIForm(t,[new o.UIBlock(t,[new o.UIInput(t,{name:"url",type:"text",ref:"url_input",label:"URL",placeholder:"http://",required:!0})]),new o.UIBlock(t,[new o.UIInput(t,{name:"content",ref:"content_input",label:"Text"})],{ref:"content_input_box"}),s?new o.UIBlock(t,["input"===s?new o.UIInput(t,{name:"className",ref:"className_input",label:"Class name"}):"select"===s?new o.UISelect(t,{name:"className",ref:"className_select",label:"Class name",size:a,multiple:l,options:u}):null]):null,i?new o.UICheckbox(t,{name:"target",ref:"target_checkbox",label:"Open in new tab"}):null,n?new o.UICheckbox(t,{name:"nofollow",ref:"nofollow_checkbox",label:"No follow"}):null,new o.UIBlock(t,[new r.UIButton(t,{name:"unlink",variant:"default",text:"Unlink"}),new r.UIButton(t,{name:"insert",type:"submit",variant:"primary",text:"Insert"})],{align:"full"})])}},10690:function(t){t.exports='<svg viewBox="0 0 30 29" xmlns="http://www.w3.org/2000/svg"> <path d="M15 0.5L30 15.2625H22V24H8V15.2625H0L15 0.5Z"/> <rect x="8" y="26" width="14" height="3"/> </svg>'},10766:function(t,i){"use strict";i.default='<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:function(t,i,n){"use strict";n.d(i,{Button:function(){return v},UIButton:function(){return b},UIButtonState:function(){return g}});var r=n(78213),o=n(33433),s=n(87325),a=n(37133),l=n(2748),u=n(23282),c=n(70799),d=n(38837),h=n(29960),p=n(48538),f=n(12153),m=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let g=()=>({size:"middle",type:"button",role:"button",name:"",value:"",variant:"initial",disabled:!1,activated:!1,icon:{name:"empty",fill:"",iconURL:""},tooltip:"",text:"",tabIndex:void 0}),b=class t extends p.UIElement{className(){return"UIButton"}setState(t){return Object.assign(this.state,t),this}get text(){let t=this.getElm("text");return(0,d.assert)(t,"Text element not found"),t}get icon(){let t=this.getElm("icon");return(0,d.assert)(t,"Icon element not found"),t}onChangeSize(){this.setMod("size",this.state.size)}onChangeType(){(0,h.attr)(this.container,"type",this.state.type)}onChangeRole(){(0,h.attr)(this.container,"role",this.state.role)}updateSize(){let t=(0,s.getComponentClass)("UIList"),i=this.closest(t);if(i){this.state.size=i.buttonSize;return}}onChangeStatus(){this.setMod("variant",this.state.variant)}onChangeText(){this.text.textContent=this.jodit.i18n(this.state.text),this.updateAriaLabel()}onChangeTextSetMode(){this.setMod("text-icons",!!this.state.text.trim().length)}onChangeDisabled(){(0,h.attr)(this.container,"disabled",this.state.disabled||null)}onChangeActivated(){(0,h.attr)(this.container,"aria-pressed",this.state.activated)}onChangeName(){this.container.classList.add(`${this.componentName}_${this.clearName(this.state.name)}`),this.name=this.state.name,(0,h.attr)(this.container,"data-ref",this.state.name),(0,h.attr)(this.container,"ref",this.state.name)}onChangeTooltip(){let t=this.state.tooltip?this.jodit.i18n(this.state.tooltip):null;this.get("j.o.useNativeTooltip")&&(0,h.attr)(this.container,"title",t),(0,h.attr)(this.container,"aria-label",t),this.updateAriaLabel()}updateAriaLabel(){let t=this.state.text.trim().length>0,i=this.state.tooltip?this.jodit.i18n(this.state.tooltip):null;(0,h.attr)(this.container,"aria-label",i),(0,h.attr)(this.button,"aria-label",t?null:i)}onChangeTabIndex(){(0,h.attr)(this.container,"tabindex",this.state.tabIndex)}onChangeIcon(){let t=this.get("j.o.textIcons");if(!0===t||(0,u.isFunction)(t)&&t(this.state.name))return;l.Dom.detach(this.icon);let i=f.Icon.makeIcon(this.j,this.state.icon);i&&this.icon.appendChild(i)}focus(){this.container.focus()}isFocused(){let{activeElement:t}=this.od;return!!(t&&l.Dom.isOrContains(this.container,t))}createContainer(){let t=this.componentName,i=this.j.c.element("button",{class:t,type:"button",role:"button",ariaPressed:!1}),n=this.j.c.span(t+"__icon"),r=this.j.c.span(t+"__text");return i.appendChild(n),i.appendChild(r),i}destruct(){return this.j.e.off(this),this.j.e.off(this.container),super.destruct()}onAction(t){return this.actionHandlers.push(t),this}__onActionFire(t){t.buffer={actionTrigger:this},this.actionHandlers.forEach(i=>i.call(this,t)),this.j.e.fire(this,"click",t)}constructor(t,i){super(t),this.isButton=!0,this.state=g(),this.actionHandlers=[],this.button=this.container,this.updateSize(),this.onChangeSize(),this.onChangeStatus(),i&&this.hookStatus(r.STATUSES.ready,()=>{this.setState(i)})}};function v(t,i,n,r){let o=new b(t);return o.state.tabIndex=t.o.allowTabNavigation?0:-1,(0,c.isString)(i)?(o.state.icon.name=i,o.state.name=i,r&&(o.state.variant=r),n&&(o.state.text=n)):o.setState(i),o}m([o.cache],b.prototype,"text",null),m([o.cache],b.prototype,"icon",null),m([(0,a.watch)("state.size",{immediately:!1})],b.prototype,"onChangeSize",null),m([(0,a.watch)("state.type",{immediately:!1})],b.prototype,"onChangeType",null),m([(0,a.watch)("state.role",{immediately:!1})],b.prototype,"onChangeRole",null),m([(0,a.watch)("parentElement")],b.prototype,"updateSize",null),m([(0,a.watch)("state.variant",{immediately:!1})],b.prototype,"onChangeStatus",null),m([(0,a.watch)("state.text",{immediately:!1})],b.prototype,"onChangeText",null),m([(0,a.watch)("state.text",{immediately:!1})],b.prototype,"onChangeTextSetMode",null),m([(0,a.watch)("state.disabled")],b.prototype,"onChangeDisabled",null),m([(0,a.watch)("state.activated")],b.prototype,"onChangeActivated",null),m([(0,a.watch)("state.name",{immediately:!1})],b.prototype,"onChangeName",null),m([(0,a.watch)("state.tooltip",{immediately:!1})],b.prototype,"onChangeTooltip",null),m([(0,a.watch)("state.tabIndex",{immediately:!1})],b.prototype,"onChangeTabIndex",null),m([(0,a.watch)("state.icon",{immediately:!1})],b.prototype,"onChangeIcon",null),m([o.cacheHTML],b.prototype,"createContainer",null),m([(0,a.watch)("button:click")],b.prototype,"__onActionFire",null),b=m([s.component],b)},10937:function(t,i){"use strict";i.default='<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> '},11079:function(t,i,n){"use strict";n.d(i,{openPropsDialog:function(){return c}});var r=n(56075),o=n(11886),s=n(47660),a=n(72690),l=n(90835);function u(){let t=new google.maps.InfoWindow({content:"<div>test</div>"});return t.addListener("domready",()=>{this.setMod("info-opened",!0)}),t.addListener("closeclick",()=>{this.setMod("info-opened",!1)}),t}function c(t,i){let n;switch(this.state.mode="hand",t.type){case"polyline":n=new l.UIPolylineEditor(this.jodit,t.state,this.options);break;case"marker":n=new l.UIMarkerEditor(this.jodit,t.state,this.options);break;case"circle":case"polygon":n=new l.UIPolygonEditor(this.jodit,t.state,this.options)}if(!n)return;this.append(n),this.j.e.on(n,"bin",()=>{s.removeElement.call(this,t)}).on(n,"change",(n,s)=>{a.updateStateAndGme.call(this,(0,o._)((0,r._)({},t.state),{[n]:s}),i)});let c=u.call(this);if("polygon"===t.type||"polyline"===t.type){let i=t.gme.getPath().getAt(0);c.setPosition(i)}"circle"===t.type&&c.setPosition(t.gme.getCenter()),c.setContent(n.container),c.open(this.map,t.gme),c.addListener("closeclick",()=>{n&&(this.remove(n),n.destruct())})}},11093:function(t,i,n){"use strict";n.d(i,{UIWysiwyg:function(){return c}});var r=n(56075),o=n(31635),s=n(87325),a=n(38837),l=n(48538),u=n(2692);class c extends l.UIElement{className(){return"UIWysiwyg"}render(){return`<div>
27
27
  <div class='&__label'>~Info~</div>
28
28
  <div class='&__editor'></div>
29
- </div>`}constructor(t,i,n,o){super(t);const s=this.getElm("editor");(0,a.assert)(null!=s,"editor element does not exist");const l=u.JoditPro.make(s,(0,r._)({buttons:["bold","italic","image"],height:100,minHeight:100,allowResizeY:!1,allowResizeX:!1,disablePlugins:["mobile","backup","highlight-signature","tune-block","show-blocks"],toolbarButtonSize:"small",language:t.o.language,direction:t.o.direction,theme:t.o.theme,statusbar:!1},i));l.value=n,l.e.on("change",()=>o(l.value))}}c=(0,o.__decorate)([s.component],c)},11317:function(t,i,n){"use strict";var r=n(2748),o=n(580),s=n(6441),a=n(92762);s.Config.prototype.controls.file={popup:(t,i,n)=>{let o=(i,n="")=>{t.s.insertNode(t.createInside.fromHTML(`<a href="${i}" title="${n}">${n||i}</a>`))},s=null;return i&&(r.Dom.isTag(i,"a")||r.Dom.closest(i,"a",t.editor))&&(s=r.Dom.isTag(i,"a")?i:r.Dom.closest(i,"a",t.editor)),(0,a.FileSelectorWidget)(t,{filebrowser:t=>{t.files&&t.files.forEach(i=>o(t.baseurl+i)),n()},upload:!0,url:(t,i)=>{s?(s.setAttribute("href",t),s.setAttribute("title",i)):o(t,i),n()}},s,n,!1)},tags:["a"],tooltip:"Insert file"},o.pluginSystem.add("file",function(t){t.registerButton({name:"file",group:"media"})})},11338:function(t,i,n){"use strict";function r(t){return!t.s.isCollapsed()&&(t.execCommand("Delete"),!0)}n.d(i,{checkNotCollapsed:function(){return r}})},11373:function(t){t.exports='<svg stroke="black" stroke-linejoin="round" stroke-linecap="round" stroke-width="28" viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg"> \x3c!-- <rect fill="none" height="256" width="256"/>--\x3e <line fill="none" x1="130" x2="241" y1="54" y2="54"/> <line fill="none" x1="130" x2="241" y1="128" y2="128"/> <line fill="none" x1="130" x2="241" y1="202" y2="202"/> <polyline fill="none" points="92 38 57.3 70 40 54"/> <polyline fill="none" points="92 112 57.3 144 40 128"/> <polyline fill="none" points="92 186 57.3 218 40 202"/> </svg>'},11628:function(t,i,n){"use strict";n.d(i,{previewBox:function(){return u}});var r=n(2748),o=n(70799),s=n(29960),a=n(41180),l=n(76078);function u(t,i,n="px",c=null){let d=[],h=function(t,i){let n=[];try{(0,l.$$)("img",t.editor).forEach(o=>{let a=[(0,s.attr)(o,"width"),(0,s.attr)(o,"height"),o.src];(0,s.attr)(o,{width:o.offsetWidth+i,height:o.offsetHeight+i});let l=t.createInside.a();t.ed.body.appendChild(l),l.href=o.src,o.src=l.href,r.Dom.safeRemove(l),n.push(()=>{var t;o.src=null!=(t=a[2])?t:"",(0,s.attr)(o,{width:a[0]||null,height:a[1]||null})})})}catch(t){throw n.forEach(t=>t()),n.length=0,t}return n}(t,n);try{let l=t.e.fire("beforePreviewBox",i,n);if(null!=l)return l;let u=t.c.div("jodit__preview-box jodit-context");c&&c.appendChild(u),(0,a.css)(u,{position:"relative",padding:16});let h=t.value||`<div style='position: absolute;left:50%;top:50%;transform: translateX(-50%) translateY(-50%);color:#ccc;'>${t.i18n("Empty")}</div>`;if(t.iframe){let i=t.create.element("iframe");(0,a.css)(i,{minWidth:800,minHeight:600,border:0}),u.appendChild(i);let n=i.contentWindow;if(n&&(t.e.fire("generateDocumentStructure.iframe",n.document,t),u=n.document.body,"function"==typeof ResizeObserver)){let r=!1,o=n.document.body,s=new ResizeObserver(t.async.debounce(()=>{s.unobserve(o),i.style.height=`${o.offsetHeight+20}px`,t.async.requestAnimationFrame(()=>{r||s.observe(o)})},100)),a=()=>{r=!0,s.unobserve(o),s.disconnect(),t.e.off("beforeDestruct",a)};d.push(a),t.e.on("beforeDestruct",a)}}else(0,a.css)(u,{minWidth:1024,minHeight:600,border:0});let p=(i,n)=>{let a=(0,o.isString)(n)?t.c.div():n;(0,o.isString)(n)&&(a.innerHTML=n);for(let t=0;t<a.childNodes.length;t+=1){let n=a.childNodes[t];if(r.Dom.isElement(n)){let t=i.ownerDocument.createElement(n.nodeName);for(let i=0;i<n.attributes.length;i+=1)(0,s.attr)(t,n.attributes[i].nodeName,n.attributes[i].nodeValue);0===n.childNodes.length||r.Dom.isTag(n,"table")?"SCRIPT"===n.nodeName?n.textContent&&(t.textContent=n.textContent):n.innerHTML&&(t.innerHTML=n.innerHTML):p(t,n);try{i.appendChild(t)}catch(t){}}else try{i.appendChild(n.cloneNode(!0))}catch(t){}}};return p(u,h),t.e.fire("afterPreviewBox",u),[u,()=>{d.forEach(t=>t())}]}finally{h.forEach(t=>t())}}},11676:function(t,i,n){"use strict";n.d(i,{ToolbarCollection:function(){return p}});var r=n(65478),o=n(45219),s=n(87325),a=n(97357),l=n(37133),u=n(82760),c=n(24536),d=n(21491),h=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let p=class t extends c.UIList{className(){return"ToolbarCollection"}getRole(){return"toolbar"}get firstButton(){let[t]=this.buttons;return t||null}makeButton(t,i=null){return(0,d.makeButton)(this.j,t,i)}makeSelect(t,i=null){return(0,d.makeSelect)(this.j,t,i)}shouldBeActive(t){}shouldBeDisabled(t){}getTarget(t){return t.target||null}__immediateUpdate(){this.isDestructed||this.j.isLocked||(super.update(),this.j.e.fire("afterUpdateToolbar",this))}update(){this.__immediateUpdate()}setDirection(t){this.container.style.direction=t,this.container.setAttribute("dir",t)}__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(t){throw(0,u.error)("The method is not implemented for this class.")}build(t,i=null){let n=this.j.e.fire("beforeToolbarBuild",t);return n&&(t=n),super.build(t,i),this}destruct(){this.isDestructed||(this.j.e.off(this.__listenEvents,this.update).off("afterSetMode focus",this.__immediateUpdate),super.destruct())}constructor(t){super(t),this.__listenEvents="updatePlugins updateToolbar changeStack mousedown mouseup keydown change readonly afterResize selectionchange changeSelection focus afterSetMode touchstart focus blur"}};h([(0,l.watch)(":afterInit"),o.autobind],p.prototype,"__immediateUpdate",null),h([(0,r.debounce)(t=>t.j.defaultTimeout,!0)],p.prototype,"update",null),h([(0,a.hook)("ready")],p.prototype,"__initEvents",null),p=h([s.component],p)},11696:function(t,i,n){"use strict";n.d(i,{UIPolygonEditor:function(){return u}});var r=n(31635),o=n(65478),s=n(62357),a=n(45128),l=n(69398);class u extends l.UIPolylineEditor{className(){return"UIPolygonEditor"}onReady(){var t,i;this.append([new a.ColorInput(this.j,{label:"Fill color",value:null!=(t=this.state.fillColor)?t:"#000",onChange:t=>this.j.e.fire(this,"change","fillColor",t)}).setMod("trigger",!1),new s.UIRange(this.j,{label:"Opacity",min:0,max:1,value:null!=(i=this.state.fillOpacity)?i:1,onChange:t=>{this.j.e.fire(this,"change","fillOpacity",parseFloat(t)||0)}}).setMod("log",!1)],"form")}}(0,r.__decorate)([(0,o.hook)("ready")],u.prototype,"onReady",null),u=(0,r.__decorate)([o.component],u)},11699:function(t){t.exports='<svg viewBox="0 0 30 29" xmlns="http://www.w3.org/2000/svg"> <path d="M15 0.5L30 15.2625H22V29H8V15.2625H0L15 0.5Z"/> </svg>'},11787:function(t,i,n){"use strict";n.d(i,{DEFAULT_SOURCE_NAME:function(){return g},default:function(){return v}});var r=n(82758),o=n(45219),s=n(23282),a=n(70091),l=n(68934),u=n(89890),c=n(3703),d=n(54079),h=n(159);function p(t,i,n,r,o,s,a){try{var l=t[s](a),u=l.value}catch(t){n(t);return}l.done?i(u):Promise.resolve(u).then(r,o)}function f(t){return function(){var i=this,n=arguments;return new Promise(function(r,o){var s=t.apply(i,n);function a(t){p(s,r,o,a,l,"next",t)}function l(t){p(s,r,o,a,l,"throw",t)}a(void 0)})}}var m=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let g="default",b=new Set(["allowFiles","allowFileMove","allowFileUpload","allowFileUploadRemote","allowFileRemove","allowFileRename","allowFolders","allowFolderMove","allowFolderCreate","allowFolderRemove","allowFolderRename","allowImageResize","allowImageCrop"]);class v{get o(){return this.options}get(t){let i=this.__ajaxInstances;if(i.has(t)){let n=i.get(t);null==n||n.abort(),i.delete(t)}let n=(0,l.ConfigProto)(void 0!==this.options[t]?this.options[t]:{},(0,l.ConfigProto)({onProgress:this.progressHandler},this.o.ajax));n.prepareData&&(n.data=n.prepareData.call(this,n.data));let r=new d.Ajax(n);i.set(t,r);let o=r.send();return o.finally(()=>{r.destruct(),i.delete(t),this.progressHandler(100)}).catch(()=>null),o.then(t=>t.json()).then(t=>{if(t&&!this.isSuccess(t))throw Error(this.getMessage(t));return t})}onProgress(t){this.progressHandler=t}permissions(t,i){return f(function*(){return this.o.permissions&&(this.o.permissions.data.path=t,this.o.permissions.data.source=i,this.o.permissions.url)?this.get("permissions").then(t=>{if(this.parent.isInDestruct)throw(0,u.abort)();let i=this.o.permissions.process;if(i||(i=this.o.ajax.process),i){let n=i.call(self,t);n.data.permissions&&(this.parent.events.fire(this,"changePermissions",this.__currentPermissions,n.data.permissions),this.__currentPermissions=n.data.permissions)}return this.__currentPermissions}):null}).call(this)}canI(t){let i="allow"+t;if(!r.IS_PROD&&!b.has(i))throw(0,u.error)("Wrong action "+t);let n=this.o.permissionsPresets[i];return void 0!==n?n:null==this.__currentPermissions||void 0===this.__currentPermissions[i]||this.__currentPermissions[i]}__items(t,i,n,r){let o=this.options;return o.items?(o.items.data.path=t,o.items.data.source=i,o.items.data.mods=n,this.get("items").then(t=>{let i=this.o.items.process;return i||(i=this.o.ajax.process),i&&(t=i.call(self,t)),r(t)})):Promise.reject(Error("Set Items api options"))}items(t,i,n={}){return this.__items(t,i,n,t=>this.__generateItemsList(t.data.sources,n))}itemsEx(t,i,n={}){return this.__items(t,i,n,t=>({items:this.__generateItemsList(t.data.sources,n),loadedTotal:t.data.sources.reduce((t,i)=>t+i.files.length,0)}))}__generateItemsList(t,i={}){let n=[],r=t=>{var n;return!(null==(n=i.filterWord)?void 0:n.length)||void 0===this.o.filter||this.o.filter(t,i.filterWord)};return t.forEach(t=>{if(t.files&&t.files.length){let{sort:o}=this.o;(0,s.isFunction)(o)&&i.sortBy&&t.files.sort((t,n)=>o(t,n,i.sortBy)),t.files.forEach(o=>{var s,a;r(o)&&("folder"===o.type||!i.onlyImages||void 0===o.isImage||o.isImage)&&n.push(h.FileBrowserItem.create((s=function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}({},o),a=a={sourceName:t.name,source:t},Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(a)):(function(t){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i.push.apply(i,n)}return i})(Object(a)).forEach(function(t){Object.defineProperty(s,t,Object.getOwnPropertyDescriptor(a,t))}),s)))})}}),n}tree(t,i){return f(function*(){return(t=(0,a.normalizeRelativePath)(t),this.o.folder)?(yield this.permissions(t,i),this.o.folder.data.path=t,this.o.folder.data.source=i,this.get("folder").then(t=>{let i=this.o.folder.process;return i||(i=this.o.ajax.process),i&&(t=i.call(self,t)),t.data.sources})):Promise.reject(Error("Set Folder Api options"))}).call(this)}getPathByUrl(t){return(0,c.set)("options.getLocalFileByUrl.data.url",t,this),this.get("getLocalFileByUrl").then(t=>{if(this.isSuccess(t))return t.data;throw(0,u.error)(this.getMessage(t))})}createFolder(t,i,n){let{create:r}=this.o;if(!r)throw(0,u.error)("Set Create api options");return r.data.source=n,r.data.path=i,r.data.name=t,this.get("create").then(t=>{if(this.isSuccess(t))return!0;throw(0,u.error)(this.getMessage(t))})}move(t,i,n,r){let o=r?"fileMove":"folderMove",s=this.options[o];if(!s)throw(0,u.error)("Set Move api options");return s.data.from=t,s.data.path=i,s.data.source=n,this.get(o).then(t=>{if(this.isSuccess(t))return!0;throw(0,u.error)(this.getMessage(t))})}__remove(t,i,n,r){let o=this.o[t];if(!o)throw(0,u.error)(`Set "${t}" api options`);return o.data.path=i,o.data.name=n,o.data.source=r,this.get(t).then(t=>(o.process&&(t=o.process.call(this,t)),this.getMessage(t)))}fileRemove(t,i,n){return this.__remove("fileRemove",t,i,n)}folderRemove(t,i,n){return this.__remove("folderRemove",t,i,n)}__rename(t,i,n,r,o){let s=this.o[t];if(!s)throw(0,u.error)(`Set "${t}" api options`);return s.data.path=i,s.data.name=n,s.data.newname=r,s.data.source=o,this.get(t).then(t=>(s.process&&(t=s.process.call(self,t)),this.getMessage(t)))}folderRename(t,i,n,r){return this.__rename("folderRename",t,i,n,r)}fileRename(t,i,n,r){return this.__rename("fileRename",t,i,n,r)}__changeImage(t,i,n,r,o,s){this.o[t]||(this.o[t]={data:{}});let a=this.o[t];return void 0===a.data&&(a.data={action:t}),a.data.newname=o||r,s&&(a.data.box=s),a.data.path=i,a.data.name=r,a.data.source=n,this.get(t).then(()=>!0)}crop(t,i,n,r,o){return this.__changeImage("crop",t,i,n,r,o)}resize(t,i,n,r,o){return this.__changeImage("resize",t,i,n,r,o)}getMessage(t){return this.options.getMessage(t)}isSuccess(t){return this.options.isSuccess(t)}destruct(){this.__ajaxInstances.forEach(t=>t.destruct()),this.__ajaxInstances.clear()}constructor(t,i){this.parent=t,this.options=i,this.__currentPermissions=null,this.__ajaxInstances=new Map,this.progressHandler=t=>{}}}m([o.autobind],v.prototype,"onProgress",null),m([o.autobind],v.prototype,"permissions",null),m([o.autobind],v.prototype,"canI",null),m([o.autobind],v.prototype,"items",null),m([o.autobind],v.prototype,"itemsEx",null),m([o.autobind],v.prototype,"tree",null),m([o.autobind],v.prototype,"getPathByUrl",null),m([o.autobind],v.prototype,"createFolder",null),m([o.autobind],v.prototype,"move",null),m([o.autobind],v.prototype,"fileRemove",null),m([o.autobind],v.prototype,"folderRemove",null),m([o.autobind],v.prototype,"folderRename",null),m([o.autobind],v.prototype,"fileRename",null),m([o.autobind],v.prototype,"crop",null),m([o.autobind],v.prototype,"resize",null),m([o.autobind],v.prototype,"getMessage",null),m([o.autobind],v.prototype,"isSuccess",null),m([o.autobind],v.prototype,"destruct",null)},11886:function(t,i,n){"use strict";function r(t,i){return i=null!=i?i:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):(function(t){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i.push.apply(i,n)}return i})(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))}),t}n.d(i,{_:function(){return r}})},12019:function(t,i,n){"use strict";var r=n(82758),o=n(65478),s=n(2748),a=n(580),l=n(21537),u=n(20356);n(71675);var c=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let d="__jodit-resizer_binded";class h extends u.Plugin{afterInit(t){(0,l.$$)("div",this.rect).forEach(i=>{t.e.on(i,"mousedown.resizer touchstart.resizer",this.onStartResizing.bind(this,i))}),a.eventEmitter.on("hideHelpers",this.hide),t.e.on("readonly",t=>{t&&this.hide()}).on("afterInit changePlace",this.addEventListeners.bind(this)).on("afterGetValueFromEditor.resizer",t=>{let i=/<jodit[^>]+data-jodit_iframe_wrapper[^>]+>(.*?<iframe[^>]*>.*?<\/iframe>.*?)<\/jodit>/gi;i.test(t.value)&&(t.value=t.value.replace(i,"$1"))}),this.addEventListeners(),this.__onChangeEditor()}onEditorClick(t){let i=t.target,{editor:n,options:{allowResizeTags:r}}=this.j;for(;i&&i!==n;){if(s.Dom.isTag(i,r)){this.__bind(i),this.onClickElement(i);return}i=i.parentNode}}__afterInsertImage(t){if(this.j.o.resizer.forImageChangeAttributes)return;let i=(0,l.attr)(t,"width");i&&!(0,l.css)(t,"width",!0)&&((0,l.css)(t,"width",i),(0,l.attr)(t,"width",null))}addEventListeners(){let t=this.j;t.e.off(t.editor,".resizer").off(t.ow,".resizer").on(t.editor,"keydown.resizer",t=>{this.isShown&&t.key===r.KEY_DELETE&&this.element&&!s.Dom.isTag(this.element,"table")&&this.onDelete(t)}).on(t.ow,"resize.resizer",this.updateSize).on("resize.resizer",this.updateSize).on([t.ow,t.editor],"scroll.resizer",()=>{this.isShown&&!this.isResizeMode&&this.hide()}).on(t.ow,"keydown.resizer",this.onKeyDown).on(t.ow,"keyup.resizer",this.onKeyUp).on(t.ow,"mouseup.resizer touchend.resizer",this.onClickOutside)}onStartResizing(t,i){if(!this.element||!this.element.parentNode)return this.hide(),!1;this.handle=t,i.cancelable&&i.preventDefault(),i.stopImmediatePropagation(),this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.isResizeMode=!0,this.startX=i.clientX,this.startY=i.clientY,this.pointerX=i.clientX,this.pointerY=i.clientY;let{j:n}=this;n.e.fire("hidePopup"),n.lock(this.LOCK_KEY),n.e.on(n.ow,"mousemove.resizer touchmove.resizer",this.onResize)}onEndResizing(){let{j:t}=this;t.unlock(),this.isResizeMode=!1,this.isAltMode=!1,t.synchronizeValues(),t.e.off(t.ow,"mousemove.resizer touchmove.resizer",this.onResize)}onResize(t){if(this.isResizeMode){let i,n;if(!this.element)return;if(this.pointerX=t.clientX,this.pointerY=t.clientY,this.j.options.iframe){let r=this.getWorkplacePosition();i=t.clientX+r.left-this.startX,n=t.clientY+r.top-this.startY}else i=this.pointerX-this.startX,n=this.pointerY-this.startY;let r=this.handle.className,o=0,a=0,u=this.j.o.resizer.useAspectRatio;!this.isAltMode&&(!0===u||u&&s.Dom.isTag(this.element,u))?(i?a=Math.round((o=this.width+(r.match(/left/)?-1:1)*i)/this.ratio):o=Math.round((a=this.height+(r.match(/top/)?-1:1)*n)*this.ratio),o>(0,l.innerWidth)(this.j.editor,this.j.ow)&&(a=Math.round((o=(0,l.innerWidth)(this.j.editor,this.j.ow))/this.ratio))):(o=this.width+(r.match(/left/)?-1:1)*i,a=this.height+(r.match(/top/)?-1:1)*n),o>this.j.o.resizer.min_width&&(o<this.rect.parentNode.offsetWidth?this.applySize(this.element,"width",o):this.applySize(this.element,"width","100%")),a>this.j.o.resizer.min_height&&this.applySize(this.element,"height",a),this.updateSize(),this.showSizeViewer(this.element.offsetWidth,this.element.offsetHeight),t.stopImmediatePropagation()}}onKeyDown(t){this.isAltMode=t.key===r.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(t){if(this.isShown){if(!this.isResizeMode)return this.hide();t.stopImmediatePropagation(),this.onEndResizing()}}getWorkplacePosition(){return(0,l.offset)(this.rect.parentNode||this.j.od.documentElement,this.j,this.j.od,!0)}applySize(t,i,n){let r=s.Dom.isImage(t)&&this.j.o.resizer.forImageChangeAttributes;r&&(0,l.attr)(t,i,n),(!r||t.style[i])&&(0,l.css)(t,i,n)}onDelete(t){this.element&&("JODIT"!==this.element.tagName?this.j.s.select(this.element):(s.Dom.safeRemove(this.element),this.hide(),t.preventDefault()))}__onChangeEditor(){this.isShown&&(this.element&&this.element.parentNode?this.updateSize():this.hide()),(0,l.$$)("iframe",this.j.editor).forEach(this.__bind)}__bind(t){let i;if(!(!s.Dom.isHTMLElement(t)||!this.j.o.allowResizeTags.has(t.tagName.toLowerCase())||(0,l.dataBind)(t,d))){if((0,l.dataBind)(t,d,!0),s.Dom.isTag(t,"iframe")){let n=t;s.Dom.isHTMLElement(t.parentNode)&&(0,l.attr)(t.parentNode,"-jodit_iframe_wrapper")?t=t.parentNode:(i=this.j.createInside.element("jodit",{"data-jodit-temp":1,contenteditable:!1,draggable:!0,"data-jodit_iframe_wrapper":1}),(0,l.attr)(i,"style",(0,l.attr)(t,"style")),(0,l.css)(i,{display:"inline-block"===t.style.display?"inline-block":"block",width:t.offsetWidth,height:t.offsetHeight}),t.parentNode&&t.parentNode.insertBefore(i,t),i.appendChild(t),this.j.e.on(i,"click",()=>{(0,l.attr)(i,"data-jodit-wrapper_active",!0)}),t=i),this.j.e.off(t,"mousedown.select touchstart.select").on(t,"mousedown.select touchstart.select",()=>{this.j.s.select(t)}).off(t,"changesize").on(t,"changesize",()=>{n.setAttribute("width",t.offsetWidth+"px"),n.setAttribute("height",t.offsetHeight+"px")})}this.j.e.on(t,"dragstart",this.hide),!r.IS_ES_NEXT&&r.IS_IE&&this.j.e.on(t,"mousedown",i=>{s.Dom.isTag(t,"img")&&i.preventDefault()})}}showSizeViewer(t,i){if(this.j.o.resizer.showSize){if(t<this.sizeViewer.offsetWidth||i<this.sizeViewer.offsetHeight)return void this.hideSizeViewer();this.sizeViewer.style.opacity="1",this.sizeViewer.textContent=`${t} x ${i}`,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,l.markOwner)(this.j,this.rect),this.j.workplace.appendChild(this.rect)),this.j.isFullSize&&(this.rect.style.zIndex=(0,l.css)(this.j.container,"zIndex").toString()),this.updateSize())}hide(){this.isResizeMode||(this.isResizeMode=!1,this.isShown=!1,this.element=null,s.Dom.safeRemove(this.rect),(0,l.$$)("[data-jodit-wrapper_active='true']",this.j.editor).forEach(t=>(0,l.attr)(t,"data-jodit-wrapper_active",!1)))}beforeDestruct(t){this.hide(),a.eventEmitter.off("hideHelpers",this.hide),t.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">
29
+ </div>`}constructor(t,i,n,o){super(t);const s=this.getElm("editor");(0,a.assert)(null!=s,"editor element does not exist");const l=u.JoditPro.make(s,(0,r._)({buttons:["bold","italic","image"],height:100,minHeight:100,allowResizeY:!1,allowResizeX:!1,disablePlugins:["mobile","backup","highlight-signature","tune-block","show-blocks"],toolbarButtonSize:"small",language:t.o.language,direction:t.o.direction,theme:t.o.theme,statusbar:!1},i));l.value=n,l.e.on("change",()=>o(l.value))}}c=(0,o.__decorate)([s.component],c)},11317:function(t,i,n){"use strict";var r=n(2748),o=n(580),s=n(6441),a=n(92762);s.Config.prototype.controls.file={popup:(t,i,n)=>{let o=(i,n="")=>{t.s.insertNode(t.createInside.fromHTML(`<a href="${i}" title="${n}">${n||i}</a>`))},s=null;return i&&(r.Dom.isTag(i,"a")||r.Dom.closest(i,"a",t.editor))&&(s=r.Dom.isTag(i,"a")?i:r.Dom.closest(i,"a",t.editor)),(0,a.FileSelectorWidget)(t,{filebrowser:t=>{t.files&&t.files.forEach(i=>o(t.baseurl+i)),n()},upload:!0,url:(t,i)=>{s?(s.setAttribute("href",t),s.setAttribute("title",i)):o(t,i),n()}},s,n,!1)},tags:["a"],tooltip:"Insert file"},o.pluginSystem.add("file",function(t){t.registerButton({name:"file",group:"media"})})},11338:function(t,i,n){"use strict";function r(t){return!t.s.isCollapsed()&&(t.execCommand("Delete"),!0)}n.d(i,{checkNotCollapsed:function(){return r}})},11373:function(t){t.exports='<svg stroke="black" stroke-linejoin="round" stroke-linecap="round" stroke-width="28" viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg"> \x3c!-- <rect fill="none" height="256" width="256"/>--\x3e <line fill="none" x1="130" x2="241" y1="54" y2="54"/> <line fill="none" x1="130" x2="241" y1="128" y2="128"/> <line fill="none" x1="130" x2="241" y1="202" y2="202"/> <polyline fill="none" points="92 38 57.3 70 40 54"/> <polyline fill="none" points="92 112 57.3 144 40 128"/> <polyline fill="none" points="92 186 57.3 218 40 202"/> </svg>'},11628:function(t,i,n){"use strict";n.d(i,{previewBox:function(){return u}});var r=n(2748),o=n(70799),s=n(29960),a=n(41180),l=n(76078);function u(t,i,n="px",c=null){let d=[],h=function(t,i){let n=[];try{(0,l.$$)("img",t.editor).forEach(o=>{let a=[(0,s.attr)(o,"width"),(0,s.attr)(o,"height"),o.src];(0,s.attr)(o,{width:o.offsetWidth+i,height:o.offsetHeight+i});let l=t.createInside.a();t.ed.body.appendChild(l),l.href=o.src,o.src=l.href,r.Dom.safeRemove(l),n.push(()=>{var t;o.src=null!=(t=a[2])?t:"",(0,s.attr)(o,{width:a[0]||null,height:a[1]||null})})})}catch(t){throw n.forEach(t=>t()),n.length=0,t}return n}(t,n);try{let l=t.e.fire("beforePreviewBox",i,n);if(null!=l)return l;let u=t.c.div("jodit__preview-box jodit-context");c&&c.appendChild(u),(0,a.css)(u,{position:"relative",padding:16});let h=t.value||`<div style='position: absolute;left:50%;top:50%;transform: translateX(-50%) translateY(-50%);color:#ccc;'>${t.i18n("Empty")}</div>`;if(t.iframe){let i=t.create.element("iframe");(0,a.css)(i,{minWidth:800,minHeight:600,border:0}),u.appendChild(i);let n=i.contentWindow;if(n&&(t.e.fire("generateDocumentStructure.iframe",n.document,t),u=n.document.body,"function"==typeof ResizeObserver)){let r=!1,o=n.document.body,s=new ResizeObserver(t.async.debounce(()=>{s.unobserve(o),i.style.height=`${o.offsetHeight+20}px`,t.async.requestAnimationFrame(()=>{r||s.observe(o)})},100)),a=()=>{r=!0,s.unobserve(o),s.disconnect(),t.e.off("beforeDestruct",a)};d.push(a),t.e.on("beforeDestruct",a)}}else(0,a.css)(u,{minWidth:1024,minHeight:600,border:0});let p=(i,n)=>{let a=(0,o.isString)(n)?t.c.div():n;(0,o.isString)(n)&&(a.innerHTML=n);for(let t=0;t<a.childNodes.length;t+=1){let n=a.childNodes[t];if(r.Dom.isElement(n)){let t=i.ownerDocument.createElement(n.nodeName);for(let i=0;i<n.attributes.length;i+=1)(0,s.attr)(t,n.attributes[i].nodeName,n.attributes[i].nodeValue);0===n.childNodes.length||r.Dom.isTag(n,"table")?"SCRIPT"===n.nodeName?n.textContent&&(t.textContent=n.textContent):n.innerHTML&&(t.innerHTML=n.innerHTML):p(t,n);try{i.appendChild(t)}catch(t){}}else try{i.appendChild(n.cloneNode(!0))}catch(t){}}};return p(u,h),t.e.fire("afterPreviewBox",u),[u,()=>{d.forEach(t=>t())}]}finally{h.forEach(t=>t())}}},11676:function(t,i,n){"use strict";n.d(i,{ToolbarCollection:function(){return p}});var r=n(65478),o=n(45219),s=n(87325),a=n(97357),l=n(37133),u=n(82760),c=n(24536),d=n(21491),h=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let p=class t extends c.UIList{className(){return"ToolbarCollection"}getRole(){return"toolbar"}get firstButton(){let[t]=this.buttons;return t||null}makeButton(t,i=null){return(0,d.makeButton)(this.j,t,i)}makeSelect(t,i=null){return(0,d.makeSelect)(this.j,t,i)}shouldBeActive(t){}shouldBeDisabled(t){}getTarget(t){return t.target||null}__immediateUpdate(){this.isDestructed||this.j.isLocked||(super.update(),this.j.e.fire("afterUpdateToolbar",this))}update(){this.__immediateUpdate()}setDirection(t){this.container.style.direction=t,this.container.setAttribute("dir",t)}__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(t){throw(0,u.error)("The method is not implemented for this class.")}build(t,i=null){let n=this.j.e.fire("beforeToolbarBuild",t);return n&&(t=n),super.build(t,i),this}destruct(){this.isDestructed||(this.j.e.off(this.__listenEvents,this.update).off("afterSetMode focus",this.__immediateUpdate),super.destruct())}constructor(t){super(t),this.__listenEvents="updatePlugins updateToolbar changeStack mousedown mouseup keydown change readonly afterResize selectionchange changeSelection focus afterSetMode touchstart focus blur"}};h([(0,l.watch)(":afterInit"),o.autobind],p.prototype,"__immediateUpdate",null),h([(0,r.debounce)(t=>t.j.defaultTimeout,!0)],p.prototype,"update",null),h([(0,a.hook)("ready")],p.prototype,"__initEvents",null),p=h([s.component],p)},11696:function(t,i,n){"use strict";n.d(i,{UIPolygonEditor:function(){return u}});var r=n(31635),o=n(65478),s=n(62357),a=n(45128),l=n(69398);class u extends l.UIPolylineEditor{className(){return"UIPolygonEditor"}onReady(){var t,i;this.append([new a.ColorInput(this.j,{label:"Fill color",value:null!=(t=this.state.fillColor)?t:"#000",onChange:t=>this.j.e.fire(this,"change","fillColor",t)}).setMod("trigger",!1),new s.UIRange(this.j,{label:"Opacity",min:0,max:1,value:null!=(i=this.state.fillOpacity)?i:1,onChange:t=>{this.j.e.fire(this,"change","fillOpacity",parseFloat(t)||0)}}).setMod("log",!1)],"form")}}(0,r.__decorate)([(0,o.hook)("ready")],u.prototype,"onReady",null),u=(0,r.__decorate)([o.component],u)},11699:function(t){t.exports='<svg viewBox="0 0 30 29" xmlns="http://www.w3.org/2000/svg"> <path d="M15 0.5L30 15.2625H22V29H8V15.2625H0L15 0.5Z"/> </svg>'},11787:function(t,i,n){"use strict";n.d(i,{DEFAULT_SOURCE_NAME:function(){return g},default:function(){return v}});var r=n(82758),o=n(45219),s=n(23282),a=n(70091),l=n(68934),u=n(89890),c=n(3703),d=n(54079),h=n(159);function p(t,i,n,r,o,s,a){try{var l=t[s](a),u=l.value}catch(t){n(t);return}l.done?i(u):Promise.resolve(u).then(r,o)}function f(t){return function(){var i=this,n=arguments;return new Promise(function(r,o){var s=t.apply(i,n);function a(t){p(s,r,o,a,l,"next",t)}function l(t){p(s,r,o,a,l,"throw",t)}a(void 0)})}}var m=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let g="default",b=new Set(["allowFiles","allowFileMove","allowFileUpload","allowFileUploadRemote","allowFileRemove","allowFileRename","allowFolders","allowFolderMove","allowFolderCreate","allowFolderRemove","allowFolderRename","allowImageResize","allowImageCrop"]);class v{get o(){return this.options}get(t){let i=this.__ajaxInstances;if(i.has(t)){let n=i.get(t);null==n||n.abort(),i.delete(t)}let n=(0,l.ConfigProto)(void 0!==this.options[t]?this.options[t]:{},(0,l.ConfigProto)({onProgress:this.progressHandler},this.o.ajax));n.prepareData&&(n.data=n.prepareData.call(this,n.data));let r=new d.Ajax(n);i.set(t,r);let o=r.send();return o.finally(()=>{r.destruct(),i.delete(t),this.progressHandler(100)}).catch(()=>null),o.then(t=>t.json()).then(t=>{if(t&&!this.isSuccess(t))throw Error(this.getMessage(t));return t})}onProgress(t){this.progressHandler=t}permissions(t,i){return f(function*(){return this.o.permissions&&(this.o.permissions.data.path=t,this.o.permissions.data.source=i,this.o.permissions.url)?this.get("permissions").then(t=>{if(this.parent.isInDestruct)throw(0,u.abort)();let i=this.o.permissions.process;if(i||(i=this.o.ajax.process),i){let n=i.call(self,t);n.data.permissions&&(this.parent.events.fire(this,"changePermissions",this.__currentPermissions,n.data.permissions),this.__currentPermissions=n.data.permissions)}return this.__currentPermissions}):null}).call(this)}canI(t){let i="allow"+t;if(!r.IS_PROD&&!b.has(i))throw(0,u.error)("Wrong action "+t);let n=this.o.permissionsPresets[i];return void 0!==n?n:null==this.__currentPermissions||void 0===this.__currentPermissions[i]||this.__currentPermissions[i]}__items(t,i,n,r){let o=this.options;return o.items?(o.items.data.path=t,o.items.data.source=i,o.items.data.mods=n,this.get("items").then(t=>{let i=this.o.items.process;return i||(i=this.o.ajax.process),i&&(t=i.call(self,t)),r(t)})):Promise.reject(Error("Set Items api options"))}items(t,i,n={}){return this.__items(t,i,n,t=>this.__generateItemsList(t.data.sources,n))}itemsEx(t,i,n={}){return this.__items(t,i,n,t=>({items:this.__generateItemsList(t.data.sources,n),loadedTotal:t.data.sources.reduce((t,i)=>t+i.files.length,0)}))}__generateItemsList(t,i={}){let n=[],r=t=>{var n;return!(null==(n=i.filterWord)?void 0:n.length)||void 0===this.o.filter||this.o.filter(t,i.filterWord)};return t.forEach(t=>{if(t.files&&t.files.length){let{sort:o}=this.o;(0,s.isFunction)(o)&&i.sortBy&&t.files.sort((t,n)=>o(t,n,i.sortBy)),t.files.forEach(o=>{var s,a;r(o)&&("folder"===o.type||!i.onlyImages||void 0===o.isImage||o.isImage)&&n.push(h.FileBrowserItem.create((s=function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}({},o),a=a={sourceName:t.name,source:t},Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(a)):(function(t){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i.push.apply(i,n)}return i})(Object(a)).forEach(function(t){Object.defineProperty(s,t,Object.getOwnPropertyDescriptor(a,t))}),s)))})}}),n}tree(t,i){return f(function*(){return(t=(0,a.normalizeRelativePath)(t),this.o.folder)?(yield this.permissions(t,i),this.o.folder.data.path=t,this.o.folder.data.source=i,this.get("folder").then(t=>{let i=this.o.folder.process;return i||(i=this.o.ajax.process),i&&(t=i.call(self,t)),t.data.sources})):Promise.reject(Error("Set Folder Api options"))}).call(this)}getPathByUrl(t){return(0,c.set)("options.getLocalFileByUrl.data.url",t,this),this.get("getLocalFileByUrl").then(t=>{if(this.isSuccess(t))return t.data;throw(0,u.error)(this.getMessage(t))})}createFolder(t,i,n){let{create:r}=this.o;if(!r)throw(0,u.error)("Set Create api options");return r.data.source=n,r.data.path=i,r.data.name=t,this.get("create").then(t=>{if(this.isSuccess(t))return!0;throw(0,u.error)(this.getMessage(t))})}move(t,i,n,r){let o=r?"fileMove":"folderMove",s=this.options[o];if(!s)throw(0,u.error)("Set Move api options");return s.data.from=t,s.data.path=i,s.data.source=n,this.get(o).then(t=>{if(this.isSuccess(t))return!0;throw(0,u.error)(this.getMessage(t))})}__remove(t,i,n,r){let o=this.o[t];if(!o)throw(0,u.error)(`Set "${t}" api options`);return o.data.path=i,o.data.name=n,o.data.source=r,this.get(t).then(t=>(o.process&&(t=o.process.call(this,t)),this.getMessage(t)))}fileRemove(t,i,n){return this.__remove("fileRemove",t,i,n)}folderRemove(t,i,n){return this.__remove("folderRemove",t,i,n)}__rename(t,i,n,r,o){let s=this.o[t];if(!s)throw(0,u.error)(`Set "${t}" api options`);return s.data.path=i,s.data.name=n,s.data.newname=r,s.data.source=o,this.get(t).then(t=>(s.process&&(t=s.process.call(self,t)),this.getMessage(t)))}folderRename(t,i,n,r){return this.__rename("folderRename",t,i,n,r)}fileRename(t,i,n,r){return this.__rename("fileRename",t,i,n,r)}__changeImage(t,i,n,r,o,s){this.o[t]||(this.o[t]={data:{}});let a=this.o[t];return void 0===a.data&&(a.data={action:t}),a.data.newname=o||r,s&&(a.data.box=s),a.data.path=i,a.data.name=r,a.data.source=n,this.get(t).then(t=>t.data.newPath||!0)}crop(t,i,n,r,o){return this.__changeImage("crop",t,i,n,r,o)}resize(t,i,n,r,o){return this.__changeImage("resize",t,i,n,r,o)}getMessage(t){return this.options.getMessage(t)}isSuccess(t){return this.options.isSuccess(t)}destruct(){this.__ajaxInstances.forEach(t=>t.destruct()),this.__ajaxInstances.clear()}constructor(t,i){this.parent=t,this.options=i,this.__currentPermissions=null,this.__ajaxInstances=new Map,this.progressHandler=t=>{}}}m([o.autobind],v.prototype,"onProgress",null),m([o.autobind],v.prototype,"permissions",null),m([o.autobind],v.prototype,"canI",null),m([o.autobind],v.prototype,"items",null),m([o.autobind],v.prototype,"itemsEx",null),m([o.autobind],v.prototype,"tree",null),m([o.autobind],v.prototype,"getPathByUrl",null),m([o.autobind],v.prototype,"createFolder",null),m([o.autobind],v.prototype,"move",null),m([o.autobind],v.prototype,"fileRemove",null),m([o.autobind],v.prototype,"folderRemove",null),m([o.autobind],v.prototype,"folderRename",null),m([o.autobind],v.prototype,"fileRename",null),m([o.autobind],v.prototype,"crop",null),m([o.autobind],v.prototype,"resize",null),m([o.autobind],v.prototype,"getMessage",null),m([o.autobind],v.prototype,"isSuccess",null),m([o.autobind],v.prototype,"destruct",null)},11886:function(t,i,n){"use strict";function r(t,i){return i=null!=i?i:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):(function(t){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i.push.apply(i,n)}return i})(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))}),t}n.d(i,{_:function(){return r}})},12019:function(t,i,n){"use strict";var r=n(82758),o=n(65478),s=n(2748),a=n(580),l=n(21537),u=n(20356);n(71675);var c=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let d="__jodit-resizer_binded";class h extends u.Plugin{afterInit(t){(0,l.$$)("div",this.rect).forEach(i=>{t.e.on(i,"mousedown.resizer touchstart.resizer",this.onStartResizing.bind(this,i))}),a.eventEmitter.on("hideHelpers",this.hide),t.e.on("readonly",t=>{t&&this.hide()}).on("afterInit changePlace",this.addEventListeners.bind(this)).on("afterGetValueFromEditor.resizer",t=>{let i=/<jodit[^>]+data-jodit_iframe_wrapper[^>]+>(.*?<iframe[^>]*>.*?<\/iframe>.*?)<\/jodit>/gi;i.test(t.value)&&(t.value=t.value.replace(i,"$1"))}),this.addEventListeners(),this.__onChangeEditor()}onEditorClick(t){let i=t.target,{editor:n,options:{allowResizeTags:r}}=this.j;for(;i&&i!==n;){if(s.Dom.isTag(i,r)){this.__bind(i),this.onClickElement(i);return}i=i.parentNode}}__afterInsertImage(t){if(this.j.o.resizer.forImageChangeAttributes)return;let i=(0,l.attr)(t,"width");i&&!(0,l.css)(t,"width",!0)&&((0,l.css)(t,"width",i),(0,l.attr)(t,"width",null))}addEventListeners(){let t=this.j;t.e.off(t.editor,".resizer").off(t.ow,".resizer").on(t.editor,"keydown.resizer",t=>{this.isShown&&t.key===r.KEY_DELETE&&this.element&&!s.Dom.isTag(this.element,"table")&&this.onDelete(t)}).on(t.ow,"resize.resizer",this.updateSize).on("resize.resizer",this.updateSize).on([t.ow,t.editor],"scroll.resizer",()=>{this.isShown&&!this.isResizeMode&&this.hide()}).on(t.ow,"keydown.resizer",this.onKeyDown).on(t.ow,"keyup.resizer",this.onKeyUp).on(t.ow,"mouseup.resizer touchend.resizer",this.onClickOutside)}onStartResizing(t,i){if(!this.element||!this.element.parentNode)return this.hide(),!1;this.handle=t,i.cancelable&&i.preventDefault(),i.stopImmediatePropagation(),this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.isResizeMode=!0,this.startX=i.clientX,this.startY=i.clientY,this.pointerX=i.clientX,this.pointerY=i.clientY;let{j:n}=this;n.e.fire("hidePopup"),n.lock(this.LOCK_KEY),n.e.on(n.ow,"mousemove.resizer touchmove.resizer",this.onResize)}onEndResizing(){let{j:t}=this;t.unlock(),this.isResizeMode=!1,this.isAltMode=!1,t.synchronizeValues(),t.e.off(t.ow,"mousemove.resizer touchmove.resizer",this.onResize)}onResize(t){if(this.isResizeMode){let i,n;if(!this.element)return;if(this.pointerX=t.clientX,this.pointerY=t.clientY,this.j.options.iframe){let r=this.getWorkplacePosition();i=t.clientX+r.left-this.startX,n=t.clientY+r.top-this.startY}else i=this.pointerX-this.startX,n=this.pointerY-this.startY;let r=this.handle.className,o=0,a=0,u=this.j.o.resizer.useAspectRatio;!this.isAltMode&&(!0===u||u&&s.Dom.isTag(this.element,u))?(i?a=Math.round((o=this.width+(r.match(/left/)?-1:1)*i)/this.ratio):o=Math.round((a=this.height+(r.match(/top/)?-1:1)*n)*this.ratio),o>(0,l.innerWidth)(this.j.editor,this.j.ow)&&(a=Math.round((o=(0,l.innerWidth)(this.j.editor,this.j.ow))/this.ratio))):(o=this.width+(r.match(/left/)?-1:1)*i,a=this.height+(r.match(/top/)?-1:1)*n),o>this.j.o.resizer.min_width&&(o<this.rect.parentNode.offsetWidth?this.applySize(this.element,"width",o):this.applySize(this.element,"width","100%")),a>this.j.o.resizer.min_height&&this.applySize(this.element,"height",a),this.updateSize(),this.showSizeViewer(this.element.offsetWidth,this.element.offsetHeight),t.stopImmediatePropagation()}}onKeyDown(t){this.isAltMode=t.key===r.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(t){if(this.isShown){if(!this.isResizeMode)return this.hide();t.stopImmediatePropagation(),this.onEndResizing()}}getWorkplacePosition(){return(0,l.offset)(this.rect.parentNode||this.j.od.documentElement,this.j,this.j.od,!0)}applySize(t,i,n){let r=s.Dom.isImage(t)&&this.j.o.resizer.forImageChangeAttributes;r&&(0,l.attr)(t,i,n),(!r||t.style[i])&&(0,l.css)(t,i,n)}onDelete(t){this.element&&("JODIT"!==this.element.tagName?this.j.s.select(this.element):(s.Dom.safeRemove(this.element),this.hide(),t.preventDefault()))}__onChangeEditor(){this.isShown&&(this.element&&this.element.parentNode?this.updateSize():this.hide()),(0,l.$$)("iframe",this.j.editor).forEach(this.__bind)}__bind(t){let i;if(!(!s.Dom.isHTMLElement(t)||!this.j.o.allowResizeTags.has(t.tagName.toLowerCase())||(0,l.dataBind)(t,d))){if((0,l.dataBind)(t,d,!0),s.Dom.isTag(t,"iframe")){let n=t;s.Dom.isHTMLElement(t.parentNode)&&(0,l.attr)(t.parentNode,"-jodit_iframe_wrapper")?t=t.parentNode:(i=this.j.createInside.element("jodit",{"data-jodit-temp":1,contenteditable:!1,draggable:!0,"data-jodit_iframe_wrapper":1}),(0,l.attr)(i,"style",(0,l.attr)(t,"style")),(0,l.css)(i,{display:"inline-block"===t.style.display?"inline-block":"block",width:t.offsetWidth,height:t.offsetHeight}),t.parentNode&&t.parentNode.insertBefore(i,t),i.appendChild(t),this.j.e.on(i,"click",()=>{(0,l.attr)(i,"data-jodit-wrapper_active",!0)}),t=i),this.j.e.off(t,"mousedown.select touchstart.select").on(t,"mousedown.select touchstart.select",()=>{this.j.s.select(t)}).off(t,"changesize").on(t,"changesize",()=>{n.setAttribute("width",t.offsetWidth+"px"),n.setAttribute("height",t.offsetHeight+"px")})}this.j.e.on(t,"dragstart",this.hide),!r.IS_ES_NEXT&&r.IS_IE&&this.j.e.on(t,"mousedown",i=>{s.Dom.isTag(t,"img")&&i.preventDefault()})}}showSizeViewer(t,i){if(this.j.o.resizer.showSize){if(t<this.sizeViewer.offsetWidth||i<this.sizeViewer.offsetHeight)return void this.hideSizeViewer();this.sizeViewer.style.opacity="1",this.sizeViewer.textContent=`${t} x ${i}`,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,l.markOwner)(this.j,this.rect),this.j.workplace.appendChild(this.rect)),this.j.isFullSize&&(this.rect.style.zIndex=(0,l.css)(this.j.container,"zIndex").toString()),this.updateSize())}hide(){this.isResizeMode||(this.isResizeMode=!1,this.isShown=!1,this.element=null,s.Dom.safeRemove(this.rect),(0,l.$$)("[data-jodit-wrapper_active='true']",this.j.editor).forEach(t=>(0,l.attr)(t,"data-jodit-wrapper_active",!1)))}beforeDestruct(t){this.hide(),a.eventEmitter.off("hideHelpers",this.hide),t.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">
30
30
  <div class="jodit-resizer__top-left"></div>
31
31
  <div class="jodit-resizer__top-right"></div>
32
32
  <div class="jodit-resizer__bottom-right"></div>
33
33
  <div class="jodit-resizer__bottom-left"></div>
34
34
  <span>100x100</span>
35
- </div>`),this.sizeViewer=this.rect.getElementsByTagName("span")[0],this.pointerX=0,this.pointerY=0,this.isAltMode=!1,this.onClickElement=t=>{!this.isResizeMode&&(this.element===t&&this.isShown||(this.element=t,this.show(),s.Dom.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){let t=this.getWorkplacePosition(),i=(0,l.offset)(this.element,this.j,this.j.ed),n=parseInt(this.rect.style.left||"0",10),r=parseInt(this.rect.style.top||"0",10),o=this.rect.offsetWidth,s=this.rect.offsetHeight,a=i.top-t.top,u=i.left-t.left;(r!==a||n!==u||o!==this.element.offsetWidth||s!==this.element.offsetHeight)&&((0,l.css)(this.rect,{top:a,left:u,width:this.element.offsetWidth,height:this.element.offsetHeight}),this.j.events&&(this.j.e.fire(this.element,"changesize"),isNaN(n)||this.j.e.fire("resize")))}},this.hideSizeViewer=()=>{this.sizeViewer.style.opacity="0"}}}c([(0,o.watch)(":click")],h.prototype,"onEditorClick",null),c([(0,o.watch)(":afterInsertImage")],h.prototype,"__afterInsertImage",null),c([o.autobind],h.prototype,"onStartResizing",null),c([o.autobind],h.prototype,"onEndResizing",null),c([o.autobind],h.prototype,"onResize",null),c([o.autobind],h.prototype,"onKeyDown",null),c([o.autobind],h.prototype,"onKeyUp",null),c([o.autobind],h.prototype,"onClickOutside",null),c([(0,o.watch)(":change")],h.prototype,"__onChangeEditor",null),c([o.autobind],h.prototype,"__bind",null),c([o.autobind,(0,o.watch)(":hideResizer")],h.prototype,"hide",null),a.pluginSystem.add("resizer",h)},12045:function(t,i,n){"use strict";function r(t){return!!t&&t instanceof DOMException&&"AbortError"===t.name}n.d(i,{isAbortError:function(){return r}})},12060:function(t,i,n){"use strict";n.d(i,{Create:function(){return r.Create}});var r=n(20218)},12081:function(t,i,n){"use strict";n.d(i,{AsyncStorage:function(){return r.AsyncStorage},IndexedDBProvider:function(){return o.IndexedDBProvider},LocalStorageProvider:function(){return s.LocalStorageProvider},MemoryStorageProvider:function(){return a.MemoryStorageProvider},Storage:function(){return l.Storage},StorageKey:function(){return l.StorageKey},canUseIndexedDB:function(){return o.canUseIndexedDB},canUsePersistentStorage:function(){return s.canUsePersistentStorage},clearUseIndexedDBCache:function(){return o.clearUseIndexedDBCache}});var r=n(97333),o=n(2621),s=n(65638),a=n(21162),l=n(6700)},12117:function(t,i){"use strict";i.default={"copy-format":"Kopioi muotoilu"}},12153:function(t,i,n){"use strict";n.d(i,{Icon:function(){return a}});var r=n(82758),o=n(21537),s=n(41180);class a{static getIcon(t){if(/<svg/i.test(t))return t;let i=a.icons[t]||a.icons[t.replace(/-/g,"_")]||a.icons[t.replace(/_/g,"-")]||a.icons[(0,o.camelCase)(t)]||a.icons[(0,o.kebabCase)(t)]||a.icons[t.toLowerCase()];return r.IS_PROD,i}static exists(t){return void 0!==this.getIcon(t)}static get(t,i="<span></span>"){return this.getIcon(t)||i}static set(t,i){return this.icons[t.replace("_","-")]=i,this}static makeIcon(t,i){var n,r,o,l;let u,c;if(!i)return;let{name:d,iconURL:h,fill:p}=i,f=d.replace(/[^a-zA-Z0-9]/g,"_");/<svg/.test(d)||(c=null==(r=(n=t.o).getIcon)?void 0:r.call(n,d,f));let m=`${d}${h}${p}${null!=c?c:""}`;if(t.o.cache&&this.__cache.has(m))return null==(o=this.__cache.get(m))?void 0:o.cloneNode(!0);if(h)u=t.c.span(),(0,s.css)(u,"backgroundImage","url("+h.replace("{basePath}",(null==t?void 0:t.basePath)||"")+")");else{let i=c||a.get(d,"")||(null==(l=t.o.extraIcons)?void 0:l[d]);i&&(u=t.c.fromHTML(i.trim()),/^<svg/i.test(d)||u.classList.add("jodit-icon_"+f))}return u&&(u.classList.add("jodit-icon"),u.style.fill=p,t.o.cache&&this.__cache.set(m,u.cloneNode(!0))),u}}a.icons={},a.__cache=new Map},12202:function(t,i){"use strict";i.default='<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:function(t,i,n){"use strict";n.d(i,{UISelect:function(){return h}});var r,o,s,a=n(87325),l=n(29960),u=n(80256),c=n(30389);function d(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}let h=s=class t extends u.UIInput{className(){return"UISelect"}createContainer(t){var i;let n=super.createContainer(t),{j:r}=this,{nativeInput:o}=this;if(void 0!==t.placeholder){let i=r.create.element("option");i.value="",i.text=r.i18n(t.placeholder),o.add(i)}return null==(i=t.options)||i.forEach(t=>{let i=r.create.element("option");i.value=t.value.toString(),i.text=r.i18n(t.text),o.add(i)}),t.size&&t.size>0&&(0,l.attr)(o,"size",t.size),t.multiple&&(0,l.attr)(o,"multiple",""),n}createNativeInput(){return this.j.create.element("select")}updateValidators(){super.updateValidators(),this.state.required&&(this.validators.delete(c.inputValidators.required),this.validators.add(c.selectValidators.required))}constructor(t,i){super(t,i),this.state=d({},s.defaultState),Object.assign(this.state,i)}};h.defaultState=(r=d({},u.UIInput.defaultState),o=o={options:[],size:1,multiple:!1},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):(function(t){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i.push.apply(i,n)}return i})(Object(o)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(o,t))}),r),h=s=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([a.component],h)},12270:function(t,i,n){"use strict";n.d(i,{clearSelectionWrappers:function(){return c},clearSelectionWrappersFromHTML:function(){return d},getSelectionWrappers:function(){return u},highlightTextRanges:function(){return l}});var r=n(82758),o=n(2748),s=n(76078);let a="jd-tmp-selection";function l(t,i,n,s,l){if(null==i.startContainer.nodeValue||null==i.endContainer.nodeValue||function(t,i,n){if(t.o.search.useCustomHighlightAPI&&r.globalWindow&&void 0!==r.globalWindow.Highlight){let r=new Highlight(...[i,...n].map(i=>{let n=t.selection.createRange();return n.setStart(i.startContainer,i.startOffset),n.setEnd(i.endContainer,i.endOffset),n}));return CSS.highlights.clear(),CSS.highlights.set("jodit-search-result",r),n.length=0,!0}return!1}(t,i,n))return;let u=s.element("span",{[a]:!0});o.Dom.markTemporary(u),function(t,i,n){let r=t.startContainer.nodeValue,s=0;if(0!==t.startOffset){let i=n.text(r.substring(0,t.startOffset));t.startContainer.nodeValue=r.substring(t.startOffset),o.Dom.before(t.startContainer,i),t.startContainer===t.endContainer&&(s=t.startOffset,t.endOffset-=s),t.startOffset=0}let a=t.endContainer.nodeValue;if(t.endOffset!==a.length){let r=n.text(a.substring(t.endOffset));for(let n of(t.endContainer.nodeValue=a.substring(0,t.endOffset),o.Dom.after(t.endContainer,r),i))if(n.startContainer===t.endContainer)n.startContainer=r,n.startOffset=n.startOffset-t.endOffset-s,n.endContainer===t.endContainer&&(n.endContainer=r,n.endOffset=n.endOffset-t.endOffset-s);else break;t.endOffset=t.endContainer.nodeValue.length}}(i,n,s);let c=i.startContainer;do{var d;if(!c||(o.Dom.isText(c)&&(d=c.parentNode,!(o.Dom.isElement(d)&&d.hasAttribute(a)))&&o.Dom.wrap(c,u.cloneNode(),s),c===i.endContainer))break;let t=c.firstChild||c.nextSibling;if(!t){for(;c&&!c.nextSibling&&c!==l;)c=c.parentNode;t=null==c?void 0:c.nextSibling}c=t}while(c&&c!==l)}function u(t){return(0,s.$$)(`[${a}]`,t)}function c(t){u(t.editor).forEach(t=>o.Dom.unwrap(t)),t.o.search.useCustomHighlightAPI&&r.globalWindow&&void 0!==r.globalWindow.Highlight&&CSS.highlights.clear()}function d(t){return t.replace(RegExp(`<span[^>]+${a}[^>]+>(.*?)</span>`,"g"),"$1")}},12324:function(t,i,n){"use strict";var r=n(6441);r.Config.prototype.showBlocks={enable:!1,color:"#ccc",tagList:["html","body","div","span","applet","object","iframe","h1","h2","h3","h4","h5","h6","p","blockquote","pre","a","abbr","acronym","address","big","cite","code","del","dfn","em","img","ins","kbd","q","s","samp","small","strike","strong","sub","sup","tt","var","b","u","i","center","dl","dt","dd","fieldset","form","label","legend","caption","th","td","li","ol","ul","article","aside","canvas","details","embed","figure","figcaption","footer","header","hgroup","menu","nav","output","ruby","section","summary","time","mark","audio","video"]},r.Config.prototype.controls.showBlocks={isActive(t){return!!t.e.fire("showBlocksEnabled")},tooltip:"Show Blocks",command:"toggleShowBlocks"}},12373:function(t,i,n){"use strict";n(25187),n(58858),n(21246),n(44864),n(3115),n(41810),n(61328),n(45632),n(8390),n(29528),n(85174),n(90882),n(97068),n(482),n(40650),n(46958),n(1050),n(95618),n(74398),n(79850),n(41406),n(47682),n(75554),n(19374),n(73098),n(13152)},12391:function(t,i,n){"use strict";var r=n(65478),o=n(580),s=n(21537),a=n(41409);n(4604);var l=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let u="addnewline";class c extends a.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(t){t&&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(t){t.o.addNewLine&&(t.e.on(this.__line,"mousemove",t=>{t.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(){let t=this.j;t.e.off(t.editor,"."+u).off(t.container,"."+u).off("."+u).on([t.ow,t.ew,t.editor],"scroll."+u,this.__hideForce).on("finishedCleanHTMLWorker."+u,this.__hideForce).on(t.editor,"click."+u,this.__hide).on(t.container,"mouseleave."+u,this.__hide).on(t.editor,"mousemove."+u,this.__onMouseMove)}onDblClickEditor(t){let i=this.j;if(!i.o.readonly&&i.o.addNewLineOnDBLClick&&t.target===i.editor&&i.s.isCollapsed()){let n=(0,s.offset)(i.editor,i,i.ed),r=t.pageY-i.ew.scrollX,o=i.createInside.element(i.o.enter);Math.abs(r-n.top)<Math.abs(r-(n.height+n.top))&&i.editor.firstChild?i.editor.insertBefore(o,i.editor.firstChild):i.editor.appendChild(o),i.s.setCursorIn(o),i.synchronizeValues(),this.__hideForce(),t.preventDefault()}}__onMouseMove(t){let i=this.j,n=i.ed.elementFromPoint(t.clientX,t.clientY);if(!a.Dom.isHTMLElement(n)||!a.Dom.isOrContains(i.editor,n))return;if(i.editor===n||this.__isMatchedTag(n)||(n=a.Dom.closest(n,this.__isMatchedTag,i.editor)),!n)return void this.__hide();if(this.__isMatchedTag(n)){let t=a.Dom.up(n,a.Dom.isBlock,i.editor);t&&t!==i.editor&&(n=t)}let r=(0,s.position)(n,this.j),o=!1,{clientY:l,clientX:u}=t;if(this.j.iframe){let{top:t,left:i}=(0,s.position)(this.j.iframe,this.j,!0);l+=t,u+=i}let c=this.j.o.addNewLineDeltaShow;Math.abs(l-r.top)<=c?(o=r.top,this.__isBeforeContent=!0):Math.abs(l-(r.top+r.height))<=c&&(o=r.top+r.height,this.__isBeforeContent=!1);let d=i.editor===n;!1===o||(!d||this.__isBeforeContent)&&(d||(0,s.call)(this.__isBeforeContent?a.Dom.prev:a.Dom.next,n,this.__canGetFocus,i.editor))?(this.__current=!1,this.__hide()):(this.__line.style.top=o+"px",this.__current=n,this.__show(),this.__line.style.setProperty("--jd-anl-handle-offset",u-r.left-10+"px"))}beforeDestruct(){this.j.async.clearTimeout(this.__timeout),this.j.e.off(this.__line).off("changePlace",this.__addEventListeners),a.Dom.safeRemove(this.__line),this.j.e.off([this.j.ow,this.j.ew,this.j.editor],"."+u).off(this.j.container,"."+u).off("."+u)}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>${a.Icon.get("enter")}</span></div>`),this.__isMatchedTag=t=>!!(t&&this.j.o.addNewLineTagsTriggers.includes(t.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,a.Dom.safeRemove(this.__line),this.__line.style.setProperty("--jd-anl-handle-offset","0"))},this.__canGetFocus=t=>null!=t&&a.Dom.isBlock(t)&&!/^(img|table|iframe|hr)$/i.test(t.nodeName),this.__onClickLine=t=>{let i=this.j,n=i.createInside.element(i.o.enter);this.__isBeforeContent&&this.__current&&this.__current.parentNode?this.__current===i.editor?a.Dom.prepend(i.editor,n):this.__current.parentNode.insertBefore(n,this.__current):i.editor.appendChild(n),i.s.setCursorIn(n),(0,s.scrollIntoViewIfNeeded)(n,i.editor,i.ed),i.synchronizeValues(),this.__hideForce(),t.preventDefault()}}}l([(0,r.watch)(":lock")],c.prototype,"onLock",null),l([r.autobind],c.prototype,"__hide",null),l([(0,r.watch)(":dblclick")],c.prototype,"onDblClickEditor",null),l([(0,r.throttle)(t=>t.defaultTimeout)],c.prototype,"__onMouseMove",null),o.pluginSystem.add("addNewLine",c)},12474:function(t,i,n){"use strict";n.d(i,{checkRemoveEmptyNeighbor:function(){return o}});var r=n(2748);function o(t,i,n){let o=r.Dom.closest(i,r.Dom.isElement,t.editor);if(!o)return!1;let s=r.Dom.findNotEmptySibling(o,n);return!!(s&&r.Dom.isEmpty(s))&&(r.Dom.safeRemove(s),t.s.setCursorBefore(i),!0)}},12475:function(t,i,n){"use strict";n.d(i,{CamelCaseToKebabCase:function(){return o},kebabCase:function(){return r}});let r=t=>t.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),o=t=>t.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},12570:function(t,i,n){"use strict";var r=n(56075),o=n(11886),s=n(62553),a=n(56293);i.default=(0,o._)((0,r._)({},s),{execute:a.execute})},12972:function(t,i,n){"use strict";n.d(i,{normalizeLicense:function(){return r}});let r=(t,i=8)=>{let n=[];for(;t.length;)n.push(t.substr(0,i)),t=t.substr(i);return n[1]=n[1].replace(/./g,"*"),n[2]=n[2].replace(/./g,"*"),n.join("-")}},13085:function(t,i,n){"use strict";n(6441).Config.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"]}},13109:function(t,i,n){"use strict";var r=n(17405),o=n.n(r),s=n(64889),a=n(6441);a.Config.prototype.pageBreak={separator:'<div style="page-break-before: always"></div>'},a.Config.prototype.controls.pageBreak={tooltip:"Insert page break",icon:o(),command:"insertPageBreak"},a.Config.prototype.iframeStyle=`${a.Config.prototype.iframeStyle};${s.default.replace(/[\n\t]/g,"")}`},13152:function(t,i,n){"use strict";var r=n(82749),o=n(31635);n(8256);var s=n(40104),a=n(65478),l=n(50911),u=n(2692);class c extends l.Plugin{afterInit(t){this.tuner=new s.UITuner(t)}hideTuner(){this.tuner.hide()}onChangeSelection(){this.j.s.isCollapsed()||this.hideTuner()}onClickInBlock(t){this.j.s.isCollapsed()&&this.tuner.show()}beforeDestruct(t){this.tuner.destruct()}constructor(...t){super(...t),(0,r._)(this,"tuner",void 0)}}(0,r._)(c,"requires",["license"]),(0,o.__decorate)([(0,a.watch)(":outsideClick :keydown")],c.prototype,"hideTuner",null),(0,o.__decorate)([(0,a.watch)("j.ed:selectionchange"),(0,a.debounce)()],c.prototype,"onChangeSelection",null),(0,o.__decorate)([(0,a.watch)(":click")],c.prototype,"onClickInBlock",null),u.JoditPro.plugins.add("tune-block",c)},13252:function(t,i,n){"use strict";n.d(i,{clearTimeout:function(){return s},setTimeout:function(){return o}});var r=n(82758);function o(t,i,...n){return i?r.globalWindow.setTimeout(t,i,...n):(t.call(null,...n),0)}function s(t){r.globalWindow.clearTimeout(t)}},13465:function(t,i){"use strict";i.default='<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:function(t,i,n){"use strict";n.d(i,{wait:function(){return a}});var r=n(78213),o=n(23282),s=n(89890);function a(t){return(i,n)=>{let a=i[n];if(!(0,o.isFunction)(a))throw(0,s.error)("Handler must be a Function");i.hookStatus(r.STATUSES.ready,i=>{let{async:r}=i,o=i[n],s=0;Object.defineProperty(i,n,{configurable:!0,value:function n(...a){r.clearTimeout(s),t(i)?o.apply(i,a):s=r.setTimeout(()=>n(...a),10)}})})}}},13995:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"맞춤법 검사"}},14002:function(t,i,n){"use strict";n.d(i,{UIBaseEditor:function(){return s}});var r=n(82749),o=n(67510);class s extends o.UIGroup{className(){return"UIBaseEditor"}render(){return`<div>
35
+ </div>`),this.sizeViewer=this.rect.getElementsByTagName("span")[0],this.pointerX=0,this.pointerY=0,this.isAltMode=!1,this.onClickElement=t=>{!this.isResizeMode&&(this.element===t&&this.isShown||(this.element=t,this.show(),s.Dom.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){let t=this.getWorkplacePosition(),i=(0,l.offset)(this.element,this.j,this.j.ed),n=parseInt(this.rect.style.left||"0",10),r=parseInt(this.rect.style.top||"0",10),o=this.rect.offsetWidth,s=this.rect.offsetHeight,a=i.top-t.top,u=i.left-t.left;(r!==a||n!==u||o!==this.element.offsetWidth||s!==this.element.offsetHeight)&&((0,l.css)(this.rect,{top:a,left:u,width:this.element.offsetWidth,height:this.element.offsetHeight}),this.j.events&&(this.j.e.fire(this.element,"changesize"),isNaN(n)||this.j.e.fire("resize")))}},this.hideSizeViewer=()=>{this.sizeViewer.style.opacity="0"}}}c([(0,o.watch)(":click")],h.prototype,"onEditorClick",null),c([(0,o.watch)(":afterInsertImage")],h.prototype,"__afterInsertImage",null),c([o.autobind],h.prototype,"onStartResizing",null),c([o.autobind],h.prototype,"onEndResizing",null),c([o.autobind],h.prototype,"onResize",null),c([o.autobind],h.prototype,"onKeyDown",null),c([o.autobind],h.prototype,"onKeyUp",null),c([o.autobind],h.prototype,"onClickOutside",null),c([(0,o.watch)(":change")],h.prototype,"__onChangeEditor",null),c([o.autobind],h.prototype,"__bind",null),c([o.autobind,(0,o.watch)(":hideResizer")],h.prototype,"hide",null),a.pluginSystem.add("resizer",h)},12045:function(t,i,n){"use strict";function r(t){return!!t&&t instanceof DOMException&&"AbortError"===t.name}n.d(i,{isAbortError:function(){return r}})},12060:function(t,i,n){"use strict";n.d(i,{Create:function(){return r.Create}});var r=n(20218)},12081:function(t,i,n){"use strict";n.d(i,{AsyncStorage:function(){return r.AsyncStorage},IndexedDBProvider:function(){return o.IndexedDBProvider},LocalStorageProvider:function(){return s.LocalStorageProvider},MemoryStorageProvider:function(){return a.MemoryStorageProvider},Storage:function(){return l.Storage},StorageKey:function(){return l.StorageKey},canUseIndexedDB:function(){return o.canUseIndexedDB},canUsePersistentStorage:function(){return s.canUsePersistentStorage},clearUseIndexedDBCache:function(){return o.clearUseIndexedDBCache}});var r=n(97333),o=n(2621),s=n(65638),a=n(21162),l=n(6700)},12117:function(t,i){"use strict";i.default={"copy-format":"Kopioi muotoilu"}},12153:function(t,i,n){"use strict";n.d(i,{Icon:function(){return a}});var r=n(82758),o=n(21537),s=n(41180);class a{static getIcon(t){if(/<svg/i.test(t))return t;let i=a.icons[t]||a.icons[t.replace(/-/g,"_")]||a.icons[t.replace(/_/g,"-")]||a.icons[(0,o.camelCase)(t)]||a.icons[(0,o.kebabCase)(t)]||a.icons[t.toLowerCase()];return r.IS_PROD,i}static exists(t){return void 0!==this.getIcon(t)}static get(t,i="<span></span>"){return this.getIcon(t)||i}static set(t,i){return this.icons[t.replace("_","-")]=i,this}static makeIcon(t,i){var n,r,o,l;let u,c;if(!i)return;let{name:d,iconURL:h,fill:p}=i,f=d.replace(/[^a-zA-Z0-9]/g,"_");/<svg/.test(d)||(c=null==(r=(n=t.o).getIcon)?void 0:r.call(n,d,f));let m=`${d}${h}${p}${null!=c?c:""}`;if(t.o.cache&&this.__cache.has(m))return null==(o=this.__cache.get(m))?void 0:o.cloneNode(!0);if(h)u=t.c.span(),(0,s.css)(u,"backgroundImage","url("+h.replace("{basePath}",(null==t?void 0:t.basePath)||"")+")");else{let i=c||a.get(d,"")||(null==(l=t.o.extraIcons)?void 0:l[d]);i&&(u=t.c.fromHTML(i.trim()),/^<svg/i.test(d)||u.classList.add("jodit-icon_"+f))}return u&&(u.classList.add("jodit-icon"),u.style.fill=p,t.o.cache&&this.__cache.set(m,u.cloneNode(!0))),u}}a.icons={},a.__cache=new Map},12202:function(t,i){"use strict";i.default='<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:function(t,i,n){"use strict";n.d(i,{UISelect:function(){return h}});var r,o,s,a=n(87325),l=n(29960),u=n(80256),c=n(30389);function d(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}let h=s=class t extends u.UIInput{className(){return"UISelect"}createContainer(t){var i;let n=super.createContainer(t),{j:r}=this,{nativeInput:o}=this;if(void 0!==t.placeholder){let i=r.create.element("option");i.value="",i.text=r.i18n(t.placeholder),o.add(i)}return null==(i=t.options)||i.forEach(t=>{let i=r.create.element("option");i.value=t.value.toString(),i.text=r.i18n(t.text),o.add(i)}),t.size&&t.size>0&&(0,l.attr)(o,"size",t.size),t.multiple&&(0,l.attr)(o,"multiple",""),n}createNativeInput(){return this.j.create.element("select")}updateValidators(){super.updateValidators(),this.state.required&&(this.validators.delete(c.inputValidators.required),this.validators.add(c.selectValidators.required))}constructor(t,i){super(t,i),this.state=d({},s.defaultState),Object.assign(this.state,i)}};h.defaultState=(r=d({},u.UIInput.defaultState),o=o={options:[],size:1,multiple:!1},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):(function(t){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i.push.apply(i,n)}return i})(Object(o)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(o,t))}),r),h=s=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([a.component],h)},12270:function(t,i,n){"use strict";n.d(i,{clearSelectionWrappers:function(){return c},clearSelectionWrappersFromHTML:function(){return d},getSelectionWrappers:function(){return u},highlightTextRanges:function(){return l}});var r=n(82758),o=n(2748),s=n(76078);let a="jd-tmp-selection";function l(t,i,n,s,l){if(null==i.startContainer.nodeValue||null==i.endContainer.nodeValue||function(t,i,n){if(t.o.search.useCustomHighlightAPI&&r.globalWindow&&void 0!==r.globalWindow.Highlight){let r=new Highlight(...[i,...n].map(i=>{let n=t.selection.createRange();return n.setStart(i.startContainer,i.startOffset),n.setEnd(i.endContainer,i.endOffset),n}));return CSS.highlights.clear(),CSS.highlights.set("jodit-search-result",r),n.length=0,!0}return!1}(t,i,n))return;let u=s.element("span",{[a]:!0});o.Dom.markTemporary(u),function(t,i,n){let r=t.startContainer.nodeValue,s=0;if(0!==t.startOffset){let i=n.text(r.substring(0,t.startOffset));t.startContainer.nodeValue=r.substring(t.startOffset),o.Dom.before(t.startContainer,i),t.startContainer===t.endContainer&&(s=t.startOffset,t.endOffset-=s),t.startOffset=0}let a=t.endContainer.nodeValue;if(t.endOffset!==a.length){let r=n.text(a.substring(t.endOffset));for(let n of(t.endContainer.nodeValue=a.substring(0,t.endOffset),o.Dom.after(t.endContainer,r),i))if(n.startContainer===t.endContainer)n.startContainer=r,n.startOffset=n.startOffset-t.endOffset-s,n.endContainer===t.endContainer&&(n.endContainer=r,n.endOffset=n.endOffset-t.endOffset-s);else break;t.endOffset=t.endContainer.nodeValue.length}}(i,n,s);let c=i.startContainer;do{var d;if(!c||(o.Dom.isText(c)&&(d=c.parentNode,!(o.Dom.isElement(d)&&d.hasAttribute(a)))&&o.Dom.wrap(c,u.cloneNode(),s),c===i.endContainer))break;let t=c.firstChild||c.nextSibling;if(!t){for(;c&&!c.nextSibling&&c!==l;)c=c.parentNode;t=null==c?void 0:c.nextSibling}c=t}while(c&&c!==l)}function u(t){return(0,s.$$)(`[${a}]`,t)}function c(t){u(t.editor).forEach(t=>o.Dom.unwrap(t)),t.o.search.useCustomHighlightAPI&&r.globalWindow&&void 0!==r.globalWindow.Highlight&&CSS.highlights.clear()}function d(t){return t.replace(RegExp(`<span[^>]+${a}[^>]+>(.*?)</span>`,"g"),"$1")}},12324:function(t,i,n){"use strict";var r=n(6441);r.Config.prototype.showBlocks={enable:!1,color:"#ccc",tagList:["html","body","div","span","applet","object","iframe","h1","h2","h3","h4","h5","h6","p","blockquote","pre","a","abbr","acronym","address","big","cite","code","del","dfn","em","img","ins","kbd","q","s","samp","small","strike","strong","sub","sup","tt","var","b","u","i","center","dl","dt","dd","fieldset","form","label","legend","caption","th","td","li","ol","ul","article","aside","canvas","details","embed","figure","figcaption","footer","header","hgroup","menu","nav","output","ruby","section","summary","time","mark","audio","video"]},r.Config.prototype.controls.showBlocks={isActive(t){return!!t.e.fire("showBlocksEnabled")},tooltip:"Show Blocks",command:"toggleShowBlocks"}},12373:function(t,i,n){"use strict";n(25187),n(58858),n(21246),n(44864),n(3115),n(41810),n(61328),n(45632),n(8390),n(29528),n(85174),n(90882),n(97068),n(482),n(40650),n(46958),n(1050),n(95618),n(74398),n(79850),n(41406),n(47682),n(75554),n(61886),n(19374),n(73098),n(13152)},12391:function(t,i,n){"use strict";var r=n(65478),o=n(580),s=n(21537),a=n(41409);n(4604);var l=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let u="addnewline";class c extends a.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(t){t&&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(t){t.o.addNewLine&&(t.e.on(this.__line,"mousemove",t=>{t.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(){let t=this.j;t.e.off(t.editor,"."+u).off(t.container,"."+u).off("."+u).on([t.ow,t.ew,t.editor],"scroll."+u,this.__hideForce).on("finishedCleanHTMLWorker."+u,this.__hideForce).on(t.editor,"click."+u,this.__hide).on(t.container,"mouseleave."+u,this.__hide).on(t.editor,"mousemove."+u,this.__onMouseMove)}onDblClickEditor(t){let i=this.j;if(!i.o.readonly&&i.o.addNewLineOnDBLClick&&t.target===i.editor&&i.s.isCollapsed()){let n=(0,s.offset)(i.editor,i,i.ed),r=t.pageY-i.ew.scrollX,o=i.createInside.element(i.o.enter);Math.abs(r-n.top)<Math.abs(r-(n.height+n.top))&&i.editor.firstChild?i.editor.insertBefore(o,i.editor.firstChild):i.editor.appendChild(o),i.s.setCursorIn(o),i.synchronizeValues(),this.__hideForce(),t.preventDefault()}}__onMouseMove(t){let i=this.j,n=i.ed.elementFromPoint(t.clientX,t.clientY);if(!a.Dom.isHTMLElement(n)||!a.Dom.isOrContains(i.editor,n))return;if(i.editor===n||this.__isMatchedTag(n)||(n=a.Dom.closest(n,this.__isMatchedTag,i.editor)),!n)return void this.__hide();if(this.__isMatchedTag(n)){let t=a.Dom.up(n,a.Dom.isBlock,i.editor);t&&t!==i.editor&&(n=t)}let r=(0,s.position)(n,this.j),o=!1,{clientY:l,clientX:u}=t;if(this.j.iframe){let{top:t,left:i}=(0,s.position)(this.j.iframe,this.j,!0);l+=t,u+=i}let c=this.j.o.addNewLineDeltaShow;Math.abs(l-r.top)<=c?(o=r.top,this.__isBeforeContent=!0):Math.abs(l-(r.top+r.height))<=c&&(o=r.top+r.height,this.__isBeforeContent=!1);let d=i.editor===n;!1===o||(!d||this.__isBeforeContent)&&(d||(0,s.call)(this.__isBeforeContent?a.Dom.prev:a.Dom.next,n,this.__canGetFocus,i.editor))?(this.__current=!1,this.__hide()):(this.__line.style.top=o+"px",this.__current=n,this.__show(),this.__line.style.setProperty("--jd-anl-handle-offset",u-r.left-10+"px"))}beforeDestruct(){this.j.async.clearTimeout(this.__timeout),this.j.e.off(this.__line).off("changePlace",this.__addEventListeners),a.Dom.safeRemove(this.__line),this.j.e.off([this.j.ow,this.j.ew,this.j.editor],"."+u).off(this.j.container,"."+u).off("."+u)}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>${a.Icon.get("enter")}</span></div>`),this.__isMatchedTag=t=>!!(t&&this.j.o.addNewLineTagsTriggers.includes(t.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,a.Dom.safeRemove(this.__line),this.__line.style.setProperty("--jd-anl-handle-offset","0"))},this.__canGetFocus=t=>null!=t&&a.Dom.isBlock(t)&&!/^(img|table|iframe|hr)$/i.test(t.nodeName),this.__onClickLine=t=>{let i=this.j,n=i.createInside.element(i.o.enter);this.__isBeforeContent&&this.__current&&this.__current.parentNode?this.__current===i.editor?a.Dom.prepend(i.editor,n):this.__current.parentNode.insertBefore(n,this.__current):i.editor.appendChild(n),i.s.setCursorIn(n),(0,s.scrollIntoViewIfNeeded)(n,i.editor,i.ed),i.synchronizeValues(),this.__hideForce(),t.preventDefault()}}}l([(0,r.watch)(":lock")],c.prototype,"onLock",null),l([r.autobind],c.prototype,"__hide",null),l([(0,r.watch)(":dblclick")],c.prototype,"onDblClickEditor",null),l([(0,r.throttle)(t=>t.defaultTimeout)],c.prototype,"__onMouseMove",null),o.pluginSystem.add("addNewLine",c)},12474:function(t,i,n){"use strict";n.d(i,{checkRemoveEmptyNeighbor:function(){return o}});var r=n(2748);function o(t,i,n){let o=r.Dom.closest(i,r.Dom.isElement,t.editor);if(!o)return!1;let s=r.Dom.findNotEmptySibling(o,n);return!!(s&&r.Dom.isEmpty(s))&&(r.Dom.safeRemove(s),t.s.setCursorBefore(i),!0)}},12475:function(t,i,n){"use strict";n.d(i,{CamelCaseToKebabCase:function(){return o},kebabCase:function(){return r}});let r=t=>t.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),o=t=>t.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},12570:function(t,i,n){"use strict";var r=n(56075),o=n(11886),s=n(62553),a=n(56293);i.default=(0,o._)((0,r._)({},s),{execute:a.execute})},12972:function(t,i,n){"use strict";n.d(i,{normalizeLicense:function(){return r}});let r=(t,i=8)=>{let n=[];for(;t.length;)n.push(t.substr(0,i)),t=t.substr(i);return n[1]=n[1].replace(/./g,"*"),n[2]=n[2].replace(/./g,"*"),n.join("-")}},13085:function(t,i,n){"use strict";n(6441).Config.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"]}},13109:function(t,i,n){"use strict";var r=n(17405),o=n.n(r),s=n(64889),a=n(6441);a.Config.prototype.pageBreak={separator:'<div style="page-break-before: always"></div>'},a.Config.prototype.controls.pageBreak={tooltip:"Insert page break",icon:o(),command:"insertPageBreak"},a.Config.prototype.iframeStyle=`${a.Config.prototype.iframeStyle};${s.default.replace(/[\n\t]/g,"")}`},13152:function(t,i,n){"use strict";var r=n(82749),o=n(31635);n(8256);var s=n(40104),a=n(65478),l=n(50911),u=n(2692);class c extends l.Plugin{afterInit(t){this.tuner=new s.UITuner(t)}hideTuner(){this.tuner.hide()}onChangeSelection(){this.j.s.isCollapsed()||this.hideTuner()}onClickInBlock(t){this.j.s.isCollapsed()&&this.tuner.show()}beforeDestruct(t){this.tuner.destruct()}constructor(...t){super(...t),(0,r._)(this,"tuner",void 0)}}(0,r._)(c,"requires",["license"]),(0,o.__decorate)([(0,a.watch)(":outsideClick :keydown")],c.prototype,"hideTuner",null),(0,o.__decorate)([(0,a.watch)("j.ed:selectionchange"),(0,a.debounce)()],c.prototype,"onChangeSelection",null),(0,o.__decorate)([(0,a.watch)(":click")],c.prototype,"onClickInBlock",null),u.JoditPro.plugins.add("tune-block",c)},13252:function(t,i,n){"use strict";n.d(i,{clearTimeout:function(){return s},setTimeout:function(){return o}});var r=n(82758);function o(t,i,...n){return i?r.globalWindow.setTimeout(t,i,...n):(t.call(null,...n),0)}function s(t){r.globalWindow.clearTimeout(t)}},13465:function(t,i){"use strict";i.default='<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:function(t,i,n){"use strict";n.d(i,{wait:function(){return a}});var r=n(78213),o=n(23282),s=n(89890);function a(t){return(i,n)=>{let a=i[n];if(!(0,o.isFunction)(a))throw(0,s.error)("Handler must be a Function");i.hookStatus(r.STATUSES.ready,i=>{let{async:r}=i,o=i[n],s=0;Object.defineProperty(i,n,{configurable:!0,value:function n(...a){r.clearTimeout(s),t(i)?o.apply(i,a):s=r.setTimeout(()=>n(...a),10)}})})}}},13995:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"맞춤법 검사"}},14002:function(t,i,n){"use strict";n.d(i,{UIBaseEditor:function(){return s}});var r=n(82749),o=n(67510);class s extends o.UIGroup{className(){return"UIBaseEditor"}render(){return`<div>
36
36
  <div class='&__header'></div>
37
37
  <div class='&__form'></div>
38
38
  <div class='&__buttons'></div>
@@ -47,7 +47,7 @@
47
47
  target="_blank"
48
48
  href="https://xdsoft.net/jodit/">
49
49
  Powered by Jodit
50
- </a>`),!0)})})},18549:function(t,i,n){"use strict";n.d(i,{UIFlightPosition:function(){return s}});var r=n(2748);let o=new WeakMap;class s{static install(t,i,n={}){this.remove(t);let{panelHeight:r=250,containerClassName:s,toolbarSelector:a=".jodit-toolbar__box",gap:l=16}=n,u=t.j.c.div("jodit-flight-position");s&&u.classList.add(s),u.style.setProperty("--flight-panel-height",`${r}px`),u.appendChild(t.container),document.body.appendChild(u);let c={toolbarSelector:a,gap:l},d=()=>{this.updatePosition(u,i,c)},h=new ResizeObserver(d);h.observe(i),window.addEventListener("scroll",d,{passive:!0}),window.addEventListener("resize",d,{passive:!0}),o.set(t,{container:u,anchor:i,onScroll:d,resizeObserver:h,options:c}),this.updatePosition(u,i,c)}static updatePosition(t,i,n){let{toolbarSelector:r,gap:o}=n,s=i.getBoundingClientRect(),a=window.innerHeight,l=t.offsetHeight||250;t.style.left=`${s.left}px`,t.style.width=`${s.width}px`;let u=i.querySelector(r),c=u?u.getBoundingClientRect().bottom:s.top,d=s.bottom-c,h=s.bottom<=a;l<=d?h?(t.style.top="auto",t.style.bottom=`${a-s.bottom+o}px`):(t.style.top="auto",t.style.bottom=`${o}px`):(t.style.bottom="auto",t.style.top=`${c}px`)}static remove(t){let i=o.get(t);if(i){if(window.removeEventListener("scroll",i.onScroll),window.removeEventListener("resize",i.onScroll),i.resizeObserver.disconnect(),t.container.parentNode===i.container){var n;null==(n=i.container.parentNode)||n.insertBefore(t.container,i.container)}r.Dom.safeRemove(i.container),o.delete(t)}}static isInstalled(t){return o.has(t)}static setPanelHeight(t,i){let n=o.get(t);n&&n.container.style.setProperty("--flight-panel-height",`${i}px`)}static refresh(t){let i=o.get(t);i&&this.updatePosition(i.container,i.anchor,i.options)}}},18594:function(t,i,n){"use strict";n.d(i,{isLeaf:function(){return a},isList:function(){return s},isPseudoLeaf:function(){return l},isSameType:function(){return u}});var r=n(99658),o=n(10058);function s(t){return!!(t&&("ol"===t.name||"ul"===t.name))}function a(t){return!!(t&&"li"===t.name)}function l(t){return"li"!==t.name&&/mso-list:\s*l\d+ level\d+ lfo\d+/i.test(t.attributes.style)||/msolistparagraph/i.test(t.attributes.class)&&!!t.find(t=>t.isComment&&(0,r.html)(t).includes("supportLists")).length}function u(t,i){let n=t.attributes[o.TYPE_KEY],r=t.attributes[o.STYLE_KEY];return i.name===n&&i.attributes[o.STYLE_KEY]===r&&t.attributes[o.LEVEL_KEY]===i.attributes[o.LEVEL_KEY]}},18616:function(t,i,n){"use strict";n.d(i,{processLinks:function(){return r}});let r=(t,i)=>{var n;let r=null!=(n=i.links)?n:{};if(t.attributes.href&&t.attributes.href.match(/#.+$/)&&(r[t.attributes.href.match(/#(.+)$/)[1]]=t),t.attributes.name&&r[t.attributes.name]){let i=r[t.attributes.name];i.attributes.href=i.attributes.href.replace(/.*#(.*)$/,"#$1")}return i.links=r,t}},19007:function(t,i){"use strict";i.default={"Type something":"Напишіть щось","About Jodit":"Про Jodit","Jodit Editor":"Редактор Jodit","Jodit User's Guide":"Jodit інструкція користувача","contains detailed help for using":"містить детальну інформацію щодо користування","For information about the license, please go to our website:":"Щоб дізнатись більше про ліцензію , будь ласка, перейдіть на наш сайт:","Buy full version":"Купити повну версію","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Авторські права \xa9 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 для зміни розміру"}},19033:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"行高"}},19057:function(t,i,n){"use strict";n.d(i,{hasPreviousBlock:function(){return o}});var r=n(2748);function o(t,i){return!!r.Dom.prev(t,t=>r.Dom.isBlock(t)||r.Dom.isImage(t),i.editor)}},19063:function(t,i,n){"use strict";var r=n(2748),o=n(580),s=n(41180),a=n(12153),l=n(6441),u=n(57487),c=n(23914);let d="copy-format",h=["lineHeight","fontWeight","fontStyle","fontSize","fontFamily","color","margin","padding","borderWidth","borderStyle","borderColor","borderRadius","backgroundColor","textDecorationLine"],p=(t,i,n,r)=>{let o=(0,s.css)(n,i);return o===r[i]&&(o=n.parentNode&&n!==t.editor&&n.parentNode!==t.editor?p(t,i,n.parentNode,r):void 0),o};l.Config.prototype.controls.copyformat={exec:(t,i,{button:n})=>{if(i){if(t.buffer.exists(d))t.buffer.delete(d),t.e.off(t.editor,"mouseup."+d);else{let n,o={},a=r.Dom.up(i,t=>t&&!r.Dom.isText(t),t.editor)||t.editor,l=t.createInside.span();t.editor.appendChild(l),h.forEach(t=>{o[t]=(0,s.css)(l,t)}),l!==t.editor&&r.Dom.safeRemove(l);let u=(n={},a&&h.forEach(i=>{n[i]=p(t,i,a,o),i.match(/border(Style|Color)/)&&!n.borderWidth&&(n[i]=void 0)}),n);t.e.on(t.editor,"mouseup."+d,()=>{t.buffer.delete(d);let i=t.s.current();i&&(r.Dom.isTag(i,"img")?(0,s.css)(i,u):t.s.commitStyle({attributes:{style:u}})),t.e.off(t.editor,"mouseup."+d)}),t.buffer.set(d,!0)}n.update()}},isActive:t=>t.buffer.exists(d),tooltip:"Paint format"},o.pluginSystem.add("copyformat",function(t){t.registerButton({name:"copyformat",group:"clipboard"}),(0,o.extendLang)(c)}),a.Icon.set("copyformat",u.default)},19070:function(t,i,n){"use strict";n.d(i,{UIBlock:function(){return a}});var r=n(87325),o=n(43555),s=n(62405);let a=class t extends s.UIGroup{className(){return"UIBlock"}constructor(t,i,n={align:"left"}){super(t,i),this.options=n,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.attr)(this.container,"data-ref",n.ref),(0,o.attr)(this.container,"ref",n.ref)}};a=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([r.component],a)},19127:function(t,i,n){"use strict";n.d(i,{execute:function(){return u}});var r=n(77688),o=n(56075),s=n(11886),a=n(6689),l=n(44526);function u(t,i,n){return(0,r._)(function*(){let{element:r,attributes:u,remove:c,blockIndex:d,selector:h}=i;if((0,a.throwIfAborted)(n),!r&&!u)throw Error('Either "element" or "attributes" must be provided');if(t.s.restore(),void 0!==d||h){let{element:i}=(0,l.resolveBlock)(t,{selector:h,index:d});t.s.select(i)}if(t.s.isCollapsed())throw Error("No selection found. Please select text to format");try{let i={};return r&&(i.element=r),u&&(i.attributes=u),c?t.s.commitStyle((0,s._)((0,o._)({},i),{mode:"remove"})):t.s.commitStyle(i),t.synchronizeValues(),{success:!0,message:c?"Formatting removed successfully":"Formatting applied successfully"}}catch(t){throw Error(`Failed to ${c?"remove":"apply"} formatting: ${t.message}`)}})()}},19147:function(t,i,n){"use strict";n.r(i),i.default={newline:"новая строка|перенос|энтер",delete:"удалить",space:"пробел","Speech Recognize":"Распознавание речи",Sound:"Звук","Interim Results":"Промежуточные результаты"}},19263:function(t,i,n){"use strict";n.d(i,{wrap:function(){return l}});var r=n(22732),o=n(29960),s=n(82515),a=n(6980);function l(t,i,n){var l,c,d;let h=(l=t,c=i,d=n,l.elementIsBlock?r.Dom.up(c,t=>r.Dom.isBlock(t)&&!r.Dom.isTag(t,u),d.editor)||(0,a.wrapUnwrappedText)(l,c,d):((0,o.attr)(c,"size",null),c));return t.elementIsList?(0,s.wrapList)(t,h,n):r.Dom.replace(h,t.element,n.createInside,!0)}let u=new Set(["td","th","tr","tbody","table","li","ul","ol"])},19271:function(t,i,n){"use strict";var r=n(82758),o=n(65478),s=n(2748),a=n(580),l=n(21537),u=n(50911),c=n(8172),d=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class h extends u.Plugin{afterInit(){this.j.e.on([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)}onDragStart(t){var i;let n=t.target;if(this.onDragEnd(),this.isFragmentFromEditor=s.Dom.isOrContains(this.j.editor,n,!0),this.isCopyMode=!this.isFragmentFromEditor||(0,l.ctrlKey)(t),this.isFragmentFromEditor){let t=this.j.s.sel,i=t&&t.rangeCount?t.getRangeAt(0):null;i&&(this.bufferRange=i.cloneRange())}else this.bufferRange=null;this.startDragPoint.x=t.clientX,this.startDragPoint.y=t.clientY,i=n,s.Dom.isElement(i)&&i.classList.contains(c.FileBrowserFiles.prototype.getFullElName("item"))&&(n=n.querySelector("img")),s.Dom.isTag(n,"img")&&(this.draggable=n.cloneNode(!0),(0,l.dataBind)(this.draggable,"target",n)),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(t){this.draggable&&(this.j.e.fire("hidePopup"),this.j.s.insertCursorAtPoint(t.clientX,t.clientY),t.preventDefault(),t.stopPropagation())}onDragEnd(){this.draggable&&(s.Dom.safeRemove(this.draggable),this.draggable=null),this.isCopyMode=!1,this.removeDragListeners()}onDrop(t){if(!t.dataTransfer||!t.dataTransfer.files||!t.dataTransfer.files.length){if(!this.isFragmentFromEditor&&!this.draggable)return this.j.e.fire("paste",t),t.preventDefault(),t.stopPropagation(),!1;let i=this.j.s.sel,n=this.bufferRange||(i&&i.rangeCount?i.getRangeAt(0):null),r=this.__getWorkFragment(n,t);i&&i.removeAllRanges(),this.j.s.insertCursorAtPoint(t.clientX,t.clientY),r&&this.__insertFragment.call(this,r,n),t.preventDefault(),t.stopPropagation()}this.isFragmentFromEditor=!1,this.removeDragListeners()}__getWorkFragment(t,i){let n=null;if(!this.draggable&&t)n=this.isCopyMode?t.cloneContents():t.extractContents();else if(this.draggable)if(this.isCopyMode){let[t,i]="1"===(0,l.attr)(this.draggable,"-is-file")?["a","href"]:["img","src"];(n=this.j.createInside.element(t)).setAttribute(i,(0,l.attr)(this.draggable,"data-src")||(0,l.attr)(this.draggable,"src")||""),"a"===t&&(n.textContent=(0,l.attr)(n,i)||"")}else n=(0,l.dataBind)(this.draggable,"target");else this.getText(i)&&(n=this.j.createInside.fromHTML(this.getText(i)));return n}__insertFragment(t,i){this.j.s.insertNode(t,!1,!1),i&&t.firstChild&&t.lastChild&&(i.setStartBefore(t.firstChild),i.setEndAfter(t.lastChild),this.j.s.selectRange(i),this.j.e.fire("synchro")),s.Dom.isTag(t,"img")&&this.j.events&&this.j.e.fire("afterInsertImage",t)}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=t=>{let i=(0,l.getDataTransfer)(t);return i?i.getData(r.TEXT_HTML)||i.getData(r.TEXT_PLAIN):null}}}d([o.autobind],h.prototype,"onDragStart",null),d([(0,o.throttle)(t=>t.defaultTimeout/10)],h.prototype,"onDrag",null),d([o.autobind],h.prototype,"onDragEnd",null),d([o.autobind],h.prototype,"onDrop",null),a.pluginSystem.add("dragAndDrop",h)},19292:function(t,i){"use strict";i.default={"Type something":"Escreva algo...",Advanced:"Avan\xe7ado","About Jodit":"Sobre o Jodit","Jodit Editor":"Editor Jodit","Jodit User's Guide":"Guia de usu\xe1rio Jodit","contains detailed help for using":"cont\xe9m ajuda detalhada para o uso.","For information about the license, please go to our website:":"Para informa\xe7\xe3o sobre a licen\xe7a, por favor visite nosso site:","Buy full version":"Compre a vers\xe3o completa","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Todos os direitos reservados.",Anchor:"Link","Open in new tab":"Abrir em nova aba","Open in fullsize":"Abrir editor em tela cheia","Clear Formatting":"Limpar formata\xe7\xe3o","Fill color or set the text color":"Cor de preenchimento ou cor do texto",Redo:"Refazer",Undo:"Desfazer",Bold:"Negrito",Italic:"It\xe1lico","Insert Unordered List":"Inserir lista n\xe3o ordenada","Insert Ordered List":"Inserir lista ordenada","Align Center":"Centralizar","Align Justify":"Justificar","Align Left":"Alinhar \xe0 Esquerda","Align Right":"Alinhar \xe0 Direita","Insert Horizontal Line":"Inserir linha horizontal","Insert Image":"Inserir imagem","Insert file":"Inserir arquivo","Insert youtube/vimeo video":"Inserir v\xeddeo do Youtube/vimeo","Insert link":"Inserir link","Font size":"Tamanho da letra","Font family":"Fonte","Insert format block":"Inserir bloco",Normal:"Normal","Heading 1":"Cabe\xe7alho 1","Heading 2":"Cabe\xe7alho 2","Heading 3":"Cabe\xe7alho 3","Heading 4":"Cabe\xe7alho 4",Quote:"Cita\xe7\xe3o",Code:"C\xf3digo",Insert:"Inserir","Insert table":"Inserir tabela","Decrease Indent":"Diminuir recuo","Increase Indent":"Aumentar recuo","Select Special Character":"Selecionar caractere especial","Insert Special Character":"Inserir caractere especial","Paint format":"Copiar formato","Change mode":"Mudar modo",Margins:"Margens",top:"cima",right:"direta",bottom:"baixo",left:"esquerda",Styles:"Estilos CSS",Classes:"Classes CSS",Align:"Alinhamento",Right:"Direita",Center:"Centro",Left:"Esquerda","--Not Set--":"--N\xe3o Estabelecido--",Src:"Fonte",Title:"T\xedtulo",Alternative:"Texto Alternativo",Link:"Link","Open link in new tab":"Abrir link em nova aba",Image:"Imagem",file:"Arquivo","Image properties":"Propriedades da imagem",Cancel:"Cancelar",Ok:"Ok","Your code is similar to HTML. Keep as HTML?":"Seu c\xf3digo \xe9 similar ao HTML. Manter como HTML?","Paste as HTML":"Colar como HTML?",Keep:"Manter",Clean:"Limpar","Insert as Text":"Inserir como Texto","Word Paste Detected":"Colado do Word Detectado","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"O conte\xfado colado veio de um documento Microsoft Word/Excel. Voc\xea deseja manter o formato ou limpa-lo?","Insert only Text":"Inserir somente o Texto","File Browser":"Procurar arquivo","Error on load list":"Erro ao carregar a lista","Error on load folders":"Erro ao carregar as pastas","Are you sure?":"Voc\xea tem certeza?","Enter Directory name":"Escreva o nome da pasta","Create directory":"Criar pasta","type name":"Escreva seu nome","Drop image":"Soltar imagem","Drop file":"Soltar arquivo","or click":"ou clique","Alternative text":"Texto alternativo",Browse:"Explorar",Upload:"Upload",Background:"Fundo",Text:"Texto",Top:"Cima",Middle:"Meio",Bottom:"Baixo","Insert column before":"Inserir coluna antes","Insert column after":"Inserir coluna depois","Insert row above":"Inserir linha acima","Insert row below":"Inserir linha abaixo","Delete table":"Excluir tabela","Delete row":"Excluir linha","Delete column":"Excluir coluna","Empty cell":"Limpar c\xe9lula",Delete:"Excluir","Strike through":"Tachado",Underline:"Sublinhar",Break:"Pausa","Search for":"Procurar por","Replace with":"Substituir com",Replace:"Substituir",Edit:"Editar","Vertical align":"Alinhamento vertical","Horizontal align":"Alinhamento horizontal",Filter:"filtrar","Sort by changed":"Ordenar por modifica\xe7\xe3o","Sort by name":"Ordenar por nome","Sort by size":"Ordenar por tamanho","Add folder":"Adicionar pasta",Split:"Dividir","Split vertical":"Dividir vertical","Split horizontal":"Dividir horizontal",Merge:"Mesclar","Add column":"Adicionar coluna","Add row":"Adicionar linha",Border:"Borda","Embed code":"Incluir c\xf3digo",Update:"Atualizar",superscript:"sobrescrito",subscript:"subscrito","Cut selection":"Cortar sele\xe7\xe3o",Paste:"Colar","Choose Content to Paste":"Escolher conte\xfado para colar","Chars: %d":"Caracteres: %d","Words: %d":"Palavras: %d",All:"Tudo","Select %s":"Selecionar: %s","Select all":"Selecionar tudo",source:"HTML",bold:"negrito",italic:"it\xe1lico",brush:"pincel",link:"link",undo:"desfazer",redo:"refazer",table:"tabela",image:"imagem",eraser:"apagar",paragraph:"par\xe1grafo",fontsize:"tamanho da letra",video:"v\xeddeo",font:"fonte",about:"Sobre de",print:"Imprimir",underline:"sublinhar",strikethrough:"tachado",indent:"recuar",outdent:"diminuir recuo",fullsize:"Tamanho completo",shrink:"diminuir",hr:"linha horizontal",ul:"lista n\xe3o ordenada",ol:"lista ordenada",cut:"Cortar",selectall:"Selecionar tudo","Open link":"Abrir link","Edit link":"Editar link","No follow":"N\xe3o siga",Unlink:"Remover link",Eye:"Visualizar",pencil:"Editar"," URL":"URL",Reset:"Resetar",Save:"Salvar","Save as ...":"Salvar como...",Resize:"Redimensionar",Crop:"Recortar",Width:"Largura",Height:"Altura","Keep Aspect Ratio":"Manter a propor\xe7\xe3o",Yes:"Sim",No:"N\xe3o",Remove:"Remover",Select:"Selecionar","You can only edit your own images. Download this image on the host?":"Voc\xea s\xf3 pode editar suas pr\xf3prias imagens. Baixar essa imagem pro servidor?","The image has been successfully uploaded to the host!":"A imagem foi enviada com sucesso para o servidor!",palette:"Palette","There are no files":"N\xe3o h\xe1 arquivos nesse diret\xf3rio.",Rename:"H\xfangara","Enter new name":"Digite um novo nome",preview:"preview",download:"Baixar","Paste from clipboard":"Colar da \xe1rea de transfer\xeancia","Your browser doesn't support direct access to the clipboard.":"O seu navegador n\xe3o oferece suporte a acesso direto para a \xe1rea de transfer\xeancia.","Copy selection":"Selec\xe7\xe3o de c\xf3pia",copy:"c\xf3pia","Border radius":"Border radius","Show all":"Mostrar todos os",Apply:"Aplicar","Please fill out this field":"Por favor, preencha este campo","Please enter a web address":"Por favor introduza um endere\xe7o web",Default:"Padr\xe3o",Circle:"C\xedrculo",Dot:"Ponto",Quadrate:"Quadro","Lower Alpha":"Letra Min\xfascula","Lower Greek":"Grego Min\xfascula","Lower Roman":"Romano Min\xfascula","Upper Alpha":"Letra Mai\xfascula","Upper Roman":"Romano Mai\xfascula",Find:"Encontrar","Find Previous":"Encontrar Anteriores","Find Next":"Localizar Pr\xf3xima","Insert className":"Insira o nome da classe","Press Alt for custom resizing":"Pressione Alt para redimensionamento personalizado","License: %s":"Licen\xe7a: %s"}},19306:function(t,i,n){"use strict";n.d(i,{isJoditObject:function(){return o}});var r=n(23282);function o(t){return!!(t&&t instanceof Object&&(0,r.isFunction)(t.constructor)&&("u">typeof Jodit&&t instanceof Jodit||t.isJodit))}},19308:function(t,i,n){"use strict";n.r(i),n.d(i,{en:function(){return r},es:function(){return o}});var r=n(47193),o=n(7886)},19374:function(t,i,n){"use strict";var r=n(82749),o=n(31635);n(64839);var s=n(82758),a=n(65478),l=n(2748),u=n(43555),c=n(50911),d=n(59242),h=n(2692);class p extends c.Plugin{afterInit(t){t.registerCommand("todoList",this.onCommand)}onCommand(){try{this.__isOwnCommand=!0,this.jodit.s.commitStyle({element:"ul",attributes:{class:this.j.o.todoList.className},hooks:{afterWrapList:this.__afterWrapList,afterToggleAttribute:this.__afterWrapList}})}finally{this.__isOwnCommand=!1}return!1}__prependInputLabel(t){let{jodit:i}=this,{labelClassName:n,inputFactory:r}=this.j.o.todoList;if(t.querySelector("label."+n))return;let o=i.createInside.element("label",{contenteditable:"false",class:n}),s=r(i);o.appendChild(s),l.Dom.prepend(t,o)}__afterToggleList(t,i){return(t===d.CHANGE||t===d.REPLACE)&&this.__isOwnCommand?this.__appendInputs(i):t===d.UNWRAP||t===d.REPLACE||t===d.CHANGE?this.__removeInputs(i):void 0}__appendInputs(t){t.querySelectorAll("li").forEach(this.__prependInputLabel)}__removeInputs(t){let{labelClassName:i}=this.j.o.todoList;t.querySelectorAll("label."+i).forEach(l.Dom.safeRemove)}__beforeToggleOrderedList(t,i,n){var r;let o="__beforeToggleOrderedList";if(t!==d.REPLACE&&(i.classList.contains(this.j.o.todoList.className)||n.isApplied(i,o))&&("ul"===n.element||"ol"===n.element)&&(null==(r=n.options.attributes)?void 0:r.class)!==this.j.o.todoList.className){let t=l.Dom.replace(i,n.element,this.jodit.createInside);return n.setApplied(t,o),this.__removeInputs(t),t}}__afterEnter(){(0,u.$$)("ul."+this.j.o.todoList.className+" li",this.jodit.editor).forEach(this.__prependInputLabel)}__afterTab(){(0,u.$$)("ul:not(."+this.j.o.todoList.className+") > li > label",this.jodit.editor).filter(this.isTodoLeafLabel).forEach(l.Dom.safeRemove)}__changeSelection(t){let i=this.j.s.current();this.isTodoLeafLabel(i)&&(t.preventDefault(),t.stopPropagation(),this.j.s.setCursorAfter(i))}__isEmptyListLeaf(t){return l.Dom.isEmpty(t,t=>!("input"===t.nodeName.toLowerCase()&&this.isTodoLeafLabel(t.parentElement))&&s.NO_EMPTY_TAGS.has(t.tagName.toLowerCase()))}__backSpaceBeforeCases(t,i){if(t){let t=l.Dom.findNotEmptySibling(i,!0);this.isTodoLeafLabel(t)&&l.Dom.safeRemove(t)}}__isInvisibleForCursor(t){if(this.isTodoLeafLabel(t))return!0}__backSpaceAfterDelete(){let{labelClassName:t}=this.j.o.todoList;(0,u.$$)("label."+t,this.jodit.editor).forEach(t=>{t.closest("ul."+this.j.o.todoList.className)?t.previousSibling&&t.parentElement&&l.Dom.prepend(t.parentElement,t):l.Dom.safeRemove(t)})}__afterWrapList(t,i){t===d.WRAP&&this.__appendInputs(i)}__onClickInput(t){let i=t.target;i&&l.Dom.isTag(i,"input")&&"checkbox"===i.type&&this.isTodoLeafLabel(i.parentElement)&&(0,u.attr)(i,"checked",i.checked?"checked":null)}isTodoLeafLabel(t){let{labelClassName:i}=this.j.o.todoList;return l.Dom.isHTMLElement(t)&&t.classList.contains(i)}beforeDestruct(t){}constructor(...t){super(...t),(0,r._)(this,"buttons",[{name:"todoList",group:"list"}]),(0,r._)(this,"__isOwnCommand",!1)}}(0,r._)(p,"requires",["license"]),(0,o.__decorate)([a.autobind],p.prototype,"onCommand",null),(0,o.__decorate)([a.autobind],p.prototype,"__prependInputLabel",null),(0,o.__decorate)([(0,a.watch)(":commitStyleAfterToggleList")],p.prototype,"__afterToggleList",null),(0,o.__decorate)([(0,a.watch)(":commitStyleBeforeUnwrapList")],p.prototype,"__beforeToggleOrderedList",null),(0,o.__decorate)([(0,a.watch)(":afterEnter")],p.prototype,"__afterEnter",null),(0,o.__decorate)([(0,a.watch)(":afterTab")],p.prototype,"__afterTab",null),(0,o.__decorate)([(0,a.watch)("j.ed:selectionchange"),(0,a.watch)(":afterEnter")],p.prototype,"__changeSelection",null),(0,o.__decorate)([(0,a.watch)(":enterIsEmptyListLeaf")],p.prototype,"__isEmptyListLeaf",null),(0,o.__decorate)([(0,a.watch)(":backSpaceBeforeCases")],p.prototype,"__backSpaceBeforeCases",null),(0,o.__decorate)([(0,a.watch)(":backSpaceIsMovedIgnore"),(0,a.watch)(":isInvisibleForCursor")],p.prototype,"__isInvisibleForCursor",null),(0,o.__decorate)([(0,a.watch)(":backSpaceAfterDelete")],p.prototype,"__backSpaceAfterDelete",null),(0,o.__decorate)([a.autobind],p.prototype,"__afterWrapList",null),(0,o.__decorate)([(0,a.watch)(":click")],p.prototype,"__onClickInput",null),(0,o.__decorate)([a.autobind],p.prototype,"isTodoLeafLabel",null),h.JoditPro.plugins.add("todo-list",p)},19606:function(t,i,n){"use strict";n.d(i,{transformWordToHtml:function(){return a}});var r=n(49055),o=n(64693),s=n(97420);function a(t,i,n,a){let l={jodit:t,rtf:a};return i.forEach(function t(i){if(i){for(let t of o.cases)if(null==(i=t(i,l)))break;null==i||i.forEach(t)}}),n&&i.forEach(t=>{t.style.clear()},!0),(0,r.trim)((0,s.innerHTML)(i,t=>!t.isComment,!0,t.o.pasteFromWord.allowedStyleProps))}},20071:function(t,i,n){"use strict";var r=n(82758),o=n(580),s=n(43555);n(757),o.pluginSystem.add("media",function(t){let i="jodit_fake_wrapper",{mediaFakeTag:n,mediaBlocks:o,mediaInFakeBlock:a}=t.options;a&&t.e.on("afterGetValueFromEditor",t=>{let r=RegExp(`<${n}[^>]+data-${i}[^>]+>([^]+?)</${n}>`,"ig");r.test(t.value)&&(t.value=t.value.replace(r,"$1"))}).on("change afterInit afterSetMode changePlace",t.async.debounce(()=>{t.isDestructed||t.getMode()===r.MODE_SOURCE||(0,s.$$)(o.join(","),t.editor).forEach(r=>{if(!(0,s.dataBind)(r,i)){(0,s.dataBind)(r,i,!0);var o=r;if(o.parentNode&&(0,s.attr)(o.parentNode,"data-jodit_iframe_wrapper"))o=o.parentNode;else{let r=t.createInside.element(n,{"data-jodit-temp":1,contenteditable:!1,draggable:!0,[`data-${i}`]:1});(0,s.attr)(r,"style",(0,s.attr)(o,"style")),r.style.display="inline-block"===o.style.display?"inline-block":"block",r.style.width=o.offsetWidth+"px",r.style.height=o.offsetHeight+"px",o.parentNode&&o.parentNode.insertBefore(r,o),r.appendChild(o),o=r}t.e.off(o,"mousedown.select touchstart.select").on(o,"mousedown.select touchstart.select",()=>{t.s.setCursorAfter(o)})}})},t.defaultTimeout))})},20104:function(t,i,n){"use strict";var r=n(74922),o=n.n(r),s=n(34575),a=n.n(s),l=n(6441),u=n(12153);l.Config.prototype.translate={hotkeys:{translateSelection:["ctrl+shift+o","cmd+shift+o"],translateOptions:["ctrl+shift+p","cmd+shift+p"]},provider:"google",googleProviderOptions:{url:"https://translation.googleapis.com/language/translate/v2",key:""},defaultSourceLang:"",defaultTargetLang:"de"},l.Config.prototype.controls.translate={translate:{tooltip:"Translate selected text",icon:"translate",command:"translate",exec(t){t.execCommand("translate")},list:["Options"],childExec(t,i,{control:n}){t.execCommand("translate"+n.name)},mods:{stroke:!1}}},u.Icon.set("translate",a()).set("translate-swap",o())},20199:function(t,i,n){"use strict";n.d(i,{toggleOrderedList:function(){return c}});var r=n(2748),o=n(38837),s=n(32526),a=n(44253),l=n(77361),u=n(82515);function c(t,i,n,r){if(!i)return r;let o=i.parentElement;if(!o)return r;let s=n.e.fire(`${l._PREFIX}BeforeToggleList`,r,t,o);if(void 0!==s)return s;let c=n.e.fire.bind(n.e,`${l._PREFIX}AfterToggleList`);if(r!==l.UNWRAP){let s=(0,a.toggleAttributes)(t,i.parentElement,n,l.INITIAL,!0)===l.CHANGE;if(r===l.REPLACE||s||o.tagName.toLowerCase()!==t.element){let r=d(l.REPLACE,o,i,n,t),s=(0,u.wrapList)(t,r,n);return c(l.REPLACE,s,t),l.REPLACE}}let h=d(l.UNWRAP,o,i,n,t);return c(l.UNWRAP,h,t),l.UNWRAP}function d(t,i,n,a,u){let c=a.e.fire(`${l._PREFIX}BeforeUnwrapList`,t,i,u);return c?((0,o.assert)(r.Dom.isHTMLElement(c),`${l._PREFIX}BeforeUnwrapList hook must return HTMLElement`),c):((0,s.extractSelectedPart)(i,n,a),(0,o.assert)(r.Dom.isHTMLElement(n.parentElement),"Element should be inside the list"),r.Dom.unwrap(n.parentElement),r.Dom.replace(n,"br"!==a.o.enter.toLowerCase()?a.o.enter:a.createInside.fragment(),a.createInside))}},20201:function(t,i,n){"use strict";n.d(i,{loadTree:function(){return a}});var r=n(22732),o=n(30465);function s(t,i,n,r,o,s,a){try{var l=t[s](a),u=l.value}catch(t){n(t);return}l.done?i(u):Promise.resolve(u).then(r,o)}function a(t){var i;return(i=function*(){t.tree.setMod("active",!0),r.Dom.detach(t.tree.container);let i=(0,o.loadItems)(t);return t.o.showFoldersPanel?(t.tree.setMod("loading",!0),Promise.all([t.dataProvider.tree(t.state.currentPath,t.state.currentSource).then(i=>{t.state.sources=i}).catch(t.status).finally(()=>t.tree.setMod("loading",!1)),i])):(t.tree.setMod("active",!1),i)},function(){var t=this,n=arguments;return new Promise(function(r,o){var a=i.apply(t,n);function l(t){s(a,r,o,l,u,"next",t)}function u(t){s(a,r,o,l,u,"throw",t)}l(void 0)})})()}},20218:function(t,i,n){"use strict";n.d(i,{Create:function(){return l}});var r=n(82758),o=n(2748),s=n(21537),a=n(38837);class l{get doc(){return(0,s.isFunction)(this.document)?this.document():this.document}element(t,i,n){let r=this.doc.createElement(t.toLowerCase());return this.applyCreateAttributes(r),i&&((0,s.isPlainObject)(i)?(0,s.attr)(r,i):n=i),n&&(0,s.asArray)(n).forEach(t=>r.appendChild((0,s.isString)(t)?this.fromHTML(t):t)),r}div(t,i,n){let r=this.element("div",i,n);return t&&(r.className=t),r}sandbox(){var t;let i=this.element("iframe",{sandbox:"allow-same-origin"});this.doc.body.appendChild(i);let n=null==(t=i.contentWindow)?void 0:t.document;if((0,a.assert)(n,"iframe.contentWindow.document"),!n)throw Error("Iframe error");return n.open(),n.write("<!DOCTYPE html><html><head></head><body></body></html>"),n.close(),[n.body,i]}span(t,i,n){let r=this.element("span",i,n);return t&&(r.className=t),r}a(t,i,n){let r=this.element("a",i,n);return t&&(r.className=t),r}text(t){return this.doc.createTextNode(t)}fake(){return this.text(r.INVISIBLE_SPACE)}fragment(){return this.doc.createDocumentFragment()}fromHTML(t,i){let n=this.div();n.innerHTML=t.toString();let r=n.firstChild===n.lastChild&&n.firstChild?n.firstChild:n;if(o.Dom.safeRemove(r),i){let t=(0,s.refs)(r);Object.keys(i).forEach(n=>{let r=t[n];r&&!1===i[n]&&o.Dom.hide(r)})}return r}applyCreateAttributes(t){if(this.createAttributes){let i=this.createAttributes;if(i&&i[t.tagName.toLowerCase()]){let n=i[t.tagName.toLowerCase()];(0,s.isFunction)(n)?n(t):(0,s.isPlainObject)(n)&&(0,s.attr)(t,n)}}}constructor(t,i){this.document=t,this.createAttributes=i}}},20356:function(t,i,n){"use strict";n.d(i,{Plugin:function(){return l}});var r=n(91907),o=n(65478),s=n(19306),a=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class l extends r.ViewComponent{className(){return"Plugin"}__afterPluginSystemInit(){let{j:t,buttons:i}=this;i&&(0,s.isJoditObject)(t)&&i.forEach(i=>{t.registerButton(i)})}__afterInit(){this.__inited=!0,this.setStatus(r.STATUSES.ready),this.afterInit(this.jodit)}init(t){this.jodit.isReady&&(this.afterInit(this.jodit),this.__afterPluginSystemInit(),this.jodit.e.fire("rebuildToolbar"))}__beforeDestruct(){var t;if(this.isInDestruct)return;let{j:i}=this;if(i.e.off("afterPluginSystemInit",this.__afterPluginSystemInit).off("afterInit",this.__afterInit).off("beforeDestruct",this.destruct),this.setStatus(r.STATUSES.beforeDestruct),!this.__inited)return super.destruct();(0,s.isJoditObject)(i)&&(null==(t=this.buttons)||t.forEach(t=>{null==i||i.unregisterButton(t)})),this.beforeDestruct(this.j),super.destruct()}constructor(t){super(t),this.buttons=[],this.hasStyle=!1,this.__inited=!1,t.e.on("afterPluginSystemInit",this.__afterPluginSystemInit).on("afterInit",this.__afterInit).on("beforeDestruct",this.__beforeDestruct)}}l.requires=[],a([o.autobind],l.prototype,"__afterPluginSystemInit",null),a([o.autobind],l.prototype,"__afterInit",null),a([o.autobind],l.prototype,"__beforeDestruct",null)},20362:function(t,i){"use strict";i.default='<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> '},20741:function(t,i,n){"use strict";n.r(i),i.default={symbols:"رمز"}},20823:function(t,i,n){"use strict";n.d(i,{cleanStyles:function(){return o}});let r={"text-justify":["inter-ideograph"]};function o(t){return t.isElement&&t.attributes.style&&Object.keys(r).forEach(i=>{let n=r[i];if(t.style.has(i)){var o;n.includes(null==(o=t.style.get(i))?void 0:o.toString())&&t.style.set(i,null)}}),t}},20882:function(t,i,n){"use strict";n.d(i,{align:function(){return l}});var r=n(22732),o=n(70799),s=n(25726),a=n(41180);let l={name:"left",childTemplate:(t,i,n)=>n,list:["Left","Right","Center","Normal"],exec:(t,i,{control:n})=>{if(!r.Dom.isTag(i,new Set(["img","jodit","jodit-media"])))return;let a=n.args&&(0,o.isString)(n.args[0])?n.args[0].toLowerCase():"";if(!a)return!1;(0,s.hAlignElement)(i,a),r.Dom.isTag(i,new Set(["jodit","jodit-media"]))&&i.firstElementChild&&(0,s.hAlignElement)(i.firstElementChild,a),t.synchronizeValues(),t.e.fire("recalcPositionPopup")},tooltip:"Horizontal align"};i.default=[{name:"delete",icon:"bin",tooltip:"Delete",exec:(t,i)=>{i&&t.s.removeNode(i)}},{name:"pencil",exec(t,i){"img"===i.tagName.toLowerCase()&&t.e.fire("openImageProperties",i)},tooltip:"Edit"},{name:"valign",list:["Top","Middle","Bottom","Normal"],tooltip:"Vertical align",exec:(t,i,{control:n})=>{if(!r.Dom.isTag(i,"img"))return;let s=n.args&&(0,o.isString)(n.args[0])?n.args[0].toLowerCase():"";if(!s)return!1;(0,a.css)(i,"vertical-align","normal"===s?"":s),t.e.fire("recalcPositionPopup")}},l]},21020:function(t,i,n){"use strict";n.d(i,{PermissionManager:function(){return a}});var r=n(82749),o=n(56075),s=n(11886);class a{requiresPermission(t){let{autoApproveTools:i,alwaysDenyTools:n}=this.jodit.o.aiAssistantPro;if(n.includes(t))return!0;if(i.includes(t))return!1;let r=this.toolRegistry.getTool(t);return!r||r.requiresPermission}isAutoDenied(t){let{alwaysDenyTools:i}=this.jodit.o.aiAssistantPro;return i.includes(t)}isAutoApproved(t){let{autoApproveTools:i}=this.jodit.o.aiAssistantPro;return i.includes(t)}checkPermission(t,i){if(this.isAutoApproved(t))return{toolName:t,granted:!0,grantedAt:Date.now(),scope:"once"};if(this.isAutoDenied(t))return null;let n=this.permanentPermissions.get(t);return n&&n.granted?n:i.find(i=>i.toolName===t&&i.granted)||null}grantPermission(t,i){let n={toolName:t,granted:!0,grantedAt:Date.now(),scope:i};return"forever"===i&&(this.permanentPermissions.set(t,n),this.savePermanentPermissions()),n}denyPermission(t){return{toolName:t,granted:!1,grantedAt:Date.now(),scope:"once"}}filterToolCalls(t,i){let n=[],r=[],a=[];for(let l of t){if(this.isAutoDenied(l.name)){a.push((0,s._)((0,o._)({},l),{status:"denied"}));continue}if(this.isAutoApproved(l.name)){n.push((0,s._)((0,o._)({},l),{status:"approved"}));continue}let t=this.checkPermission(l.name,i);t&&t.granted?n.push((0,s._)((0,o._)({},l),{status:"approved"})):this.requiresPermission(l.name)?(this.jodit.e.fire("permissionRequested.ai-assistant-pro",l.name),r.push((0,s._)((0,o._)({},l),{status:"pending"}))):n.push((0,s._)((0,o._)({},l),{status:"approved"}))}return{approved:n,needsPermission:r,denied:a}}clearConversationPermissions(t){}loadPermanentPermissions(){try{let t=localStorage.getItem(this.PERMANENT_PERMISSIONS_KEY);t&&JSON.parse(t).forEach(t=>{"forever"===t.scope&&t.granted&&this.permanentPermissions.set(t.toolName,t)})}catch(t){}}savePermanentPermissions(){try{let t=Array.from(this.permanentPermissions.values());localStorage.setItem(this.PERMANENT_PERMISSIONS_KEY,JSON.stringify(t))}catch(t){}}clearPermanentPermissions(){this.permanentPermissions.clear(),localStorage.removeItem(this.PERMANENT_PERMISSIONS_KEY)}getPermanentPermissions(){return Array.from(this.permanentPermissions.values())}revokePermanentPermission(t){this.permanentPermissions.delete(t),this.savePermanentPermissions()}destruct(){this.permanentPermissions.clear()}constructor(t,i){(0,r._)(this,"jodit",void 0),(0,r._)(this,"toolRegistry",void 0),(0,r._)(this,"permanentPermissions",void 0),(0,r._)(this,"PERMANENT_PERMISSIONS_KEY",void 0),this.jodit=t,this.toolRegistry=i,this.permanentPermissions=new Map,this.PERMANENT_PERMISSIONS_KEY="jodit-permissions.ai-assistant-pro",this.loadPermanentPermissions()}}},21064:function(t,i,n){"use strict";n.d(i,{WebStorageConversationStorage:function(){return l},createStorageProvider:function(){return u},generateConversationId:function(){return c},generateMessageId:function(){return d}});var r=n(77688),o=n(82749),s=n(56075),a=n(97333);class l{close(){return this.storage.close()}getConversationKey(t){return`conv:${t}`}getAllKeys(){return(0,r._)(function*(){let t=yield this.storage.get("__conversation_index__");return t&&Array.isArray(t)?t:[]}).call(this)}updateIndex(t){return(0,r._)(function*(){yield this.storage.set("__conversation_index__",t)}).call(this)}addToIndex(t){return(0,r._)(function*(){let i=yield this.getAllKeys();i.includes(t)||(i.push(t),yield this.updateIndex(i))}).call(this)}removeFromIndex(t){return(0,r._)(function*(){let i=(yield this.getAllKeys()).filter(i=>i!==t);yield this.updateIndex(i)}).call(this)}list(t){return(0,r._)(function*(){try{let r=yield this.getAllKeys(),o=[],s=null==t?void 0:t.toLowerCase().trim();for(let t of r){var i,n;let r=yield this.get(t);if(r){if(s){let t=null==(n=r.title)?void 0:n.toLowerCase().includes(s),i=!t&&r.messages.some(t=>t.content.toLowerCase().includes(s));if(!t&&!i)continue}o.push({id:r.id,title:null!=(i=r.title)?i:"",created:r.created,updated:r.updated,messageCount:r.messages.length})}}return o.sort((t,i)=>i.updated-t.updated),o}catch(t){return[]}}).call(this)}get(t){return(0,r._)(function*(){try{let i=this.getConversationKey(t);return(yield this.storage.get(i))||null}catch(t){return null}}).call(this)}save(t){return(0,r._)(function*(){try{if(0===t.messages.length)throw Error("Conversation must have at least one message.");let i=yield this.getAllKeys();i.length>=this.maxConversations&&!i.includes(t.id)&&(yield this.evictOldest());let n=this.getConversationKey(t.id);yield this.storage.set(n,t),yield this.addToIndex(t.id)}catch(i){if((null==i?void 0:i.name)==="QuotaExceededError"||(null==i?void 0:i.code)===22||(null==i?void 0:i.code)===1014){yield this.evictOldest();try{let i=this.getConversationKey(t.id);yield this.storage.set(i,t),yield this.addToIndex(t.id)}catch(t){throw Error("Storage quota exceeded. Please delete some conversations.")}}else throw Error(`Failed to save conversation: ${(null==i?void 0:i.message)||"Unknown error"}`)}}).call(this)}delete(t){return(0,r._)(function*(){try{let i=this.getConversationKey(t);yield this.storage.delete(i),yield this.removeFromIndex(t)}catch(t){}}).call(this)}clear(){return(0,r._)(function*(){try{for(let t of yield this.getAllKeys()){let i=this.getConversationKey(t);yield this.storage.delete(i)}yield this.updateIndex([])}catch(t){}}).call(this)}evictOldest(){return(0,r._)(function*(){try{let t=yield this.list();if(0===t.length)return;t.sort((t,i)=>t.updated-i.updated);let i=t[0];yield this.delete(i.id)}catch(t){}}).call(this)}getGlobalSettings(){return(0,r._)(function*(){try{return(yield this.storage.get("global-settings"))||null}catch(t){return null}}).call(this)}saveGlobalSettings(t){return(0,r._)(function*(){try{let i=yield this.getGlobalSettings(),n=(0,s._)({},i,t);yield this.storage.set("global-settings",n)}catch(t){throw Error("Failed to save global settings")}}).call(this)}constructor(t,i){(0,o._)(this,"storage",void 0),(0,o._)(this,"maxConversations",void 0),this.storage=t,this.maxConversations=i}}function u(t,i){return a.AsyncStorage.makeStorage(t,i)}function c(){return`conv_${Date.now()}_${Math.random().toString(36).substring(2,11)}`}function d(){return`msg_${Date.now()}_${Math.random().toString(36).substring(2,11)}`}},21130:function(t,i,n){"use strict";n.d(i,{UIBrowserItem:function(){return h}});var r=n(82749),o=n(31635),s=n(65478),a=n(21537),l=n(38837),u=n(67510),c=n(41409),d=n(159);class h extends u.UIElement{className(){return"UIBrowserItem"}render(){return`<div tabindex='-1'>
50
+ </a>`),!0)})})},18549:function(t,i,n){"use strict";n.d(i,{UIFlightPosition:function(){return s}});var r=n(2748);let o=new WeakMap;class s{static install(t,i,n={}){this.remove(t);let{panelHeight:r=250,containerClassName:s,toolbarSelector:a=".jodit-toolbar__box",gap:l=16}=n,u=t.j.c.div("jodit-flight-position");s&&u.classList.add(s),u.style.setProperty("--flight-panel-height",`${r}px`),u.appendChild(t.container),document.body.appendChild(u);let c={toolbarSelector:a,gap:l},d=()=>{this.updatePosition(u,i,c)},h=new ResizeObserver(d);h.observe(i),window.addEventListener("scroll",d,{passive:!0}),window.addEventListener("resize",d,{passive:!0}),o.set(t,{container:u,anchor:i,onScroll:d,resizeObserver:h,options:c}),this.updatePosition(u,i,c)}static updatePosition(t,i,n){let{toolbarSelector:r,gap:o}=n,s=i.getBoundingClientRect(),a=window.innerHeight,l=t.offsetHeight||250;t.style.left=`${s.left}px`,t.style.width=`${s.width}px`;let u=i.querySelector(r),c=u?u.getBoundingClientRect().bottom:s.top,d=s.bottom-c,h=s.bottom<=a;l<=d?h?(t.style.top="auto",t.style.bottom=`${a-s.bottom+o}px`):(t.style.top="auto",t.style.bottom=`${o}px`):(t.style.bottom="auto",t.style.top=`${c}px`)}static remove(t){let i=o.get(t);if(i){if(window.removeEventListener("scroll",i.onScroll),window.removeEventListener("resize",i.onScroll),i.resizeObserver.disconnect(),t.container.parentNode===i.container){var n;null==(n=i.container.parentNode)||n.insertBefore(t.container,i.container)}r.Dom.safeRemove(i.container),o.delete(t)}}static isInstalled(t){return o.has(t)}static setPanelHeight(t,i){let n=o.get(t);n&&n.container.style.setProperty("--flight-panel-height",`${i}px`)}static refresh(t){let i=o.get(t);i&&this.updatePosition(i.container,i.anchor,i.options)}}},18594:function(t,i,n){"use strict";n.d(i,{isLeaf:function(){return a},isList:function(){return s},isPseudoLeaf:function(){return l},isSameType:function(){return u}});var r=n(99658),o=n(10058);function s(t){return!!(t&&("ol"===t.name||"ul"===t.name))}function a(t){return!!(t&&"li"===t.name)}function l(t){return"li"!==t.name&&/mso-list:\s*l\d+ level\d+ lfo\d+/i.test(t.attributes.style)||/msolistparagraph/i.test(t.attributes.class)&&!!t.find(t=>t.isComment&&(0,r.html)(t).includes("supportLists")).length}function u(t,i){let n=t.attributes[o.TYPE_KEY],r=t.attributes[o.STYLE_KEY];return i.name===n&&i.attributes[o.STYLE_KEY]===r&&t.attributes[o.LEVEL_KEY]===i.attributes[o.LEVEL_KEY]}},18616:function(t,i,n){"use strict";n.d(i,{processLinks:function(){return r}});let r=(t,i)=>{var n;let r=null!=(n=i.links)?n:{};if(t.attributes.href&&t.attributes.href.match(/#.+$/)&&(r[t.attributes.href.match(/#(.+)$/)[1]]=t),t.attributes.name&&r[t.attributes.name]){let i=r[t.attributes.name];i.attributes.href=i.attributes.href.replace(/.*#(.*)$/,"#$1")}return i.links=r,t}},18993:function(t){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" stroke="currentColor" stroke-width="1.5"> <rect x="2" y="2" width="20" height="9" rx="1.5" fill="none"/> <rect x="2" y="14" width="9" height="8" rx="1.5" fill="none"/> <rect x="13" y="14" width="9" height="8" rx="1.5" fill="currentColor"/> </svg>'},19007:function(t,i){"use strict";i.default={"Type something":"Напишіть щось","About Jodit":"Про Jodit","Jodit Editor":"Редактор Jodit","Jodit User's Guide":"Jodit інструкція користувача","contains detailed help for using":"містить детальну інформацію щодо користування","For information about the license, please go to our website:":"Щоб дізнатись більше про ліцензію , будь ласка, перейдіть на наш сайт:","Buy full version":"Купити повну версію","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Авторські права \xa9 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 для зміни розміру"}},19033:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"行高"}},19057:function(t,i,n){"use strict";n.d(i,{hasPreviousBlock:function(){return o}});var r=n(2748);function o(t,i){return!!r.Dom.prev(t,t=>r.Dom.isBlock(t)||r.Dom.isImage(t),i.editor)}},19063:function(t,i,n){"use strict";var r=n(2748),o=n(580),s=n(41180),a=n(12153),l=n(6441),u=n(57487),c=n(23914);let d="copy-format",h=["lineHeight","fontWeight","fontStyle","fontSize","fontFamily","color","margin","padding","borderWidth","borderStyle","borderColor","borderRadius","backgroundColor","textDecorationLine"],p=(t,i,n,r)=>{let o=(0,s.css)(n,i);return o===r[i]&&(o=n.parentNode&&n!==t.editor&&n.parentNode!==t.editor?p(t,i,n.parentNode,r):void 0),o};l.Config.prototype.controls.copyformat={exec:(t,i,{button:n})=>{if(i){if(t.buffer.exists(d))t.buffer.delete(d),t.e.off(t.editor,"mouseup."+d);else{let n,o={},a=r.Dom.up(i,t=>t&&!r.Dom.isText(t),t.editor)||t.editor,l=t.createInside.span();t.editor.appendChild(l),h.forEach(t=>{o[t]=(0,s.css)(l,t)}),l!==t.editor&&r.Dom.safeRemove(l);let u=(n={},a&&h.forEach(i=>{n[i]=p(t,i,a,o),i.match(/border(Style|Color)/)&&!n.borderWidth&&(n[i]=void 0)}),n);t.e.on(t.editor,"mouseup."+d,()=>{t.buffer.delete(d);let i=t.s.current();i&&(r.Dom.isTag(i,"img")?(0,s.css)(i,u):t.s.commitStyle({attributes:{style:u}})),t.e.off(t.editor,"mouseup."+d)}),t.buffer.set(d,!0)}n.update()}},isActive:t=>t.buffer.exists(d),tooltip:"Paint format"},o.pluginSystem.add("copyformat",function(t){t.registerButton({name:"copyformat",group:"clipboard"}),(0,o.extendLang)(c)}),a.Icon.set("copyformat",u.default)},19070:function(t,i,n){"use strict";n.d(i,{UIBlock:function(){return a}});var r=n(87325),o=n(43555),s=n(62405);let a=class t extends s.UIGroup{className(){return"UIBlock"}constructor(t,i,n={align:"left"}){super(t,i),this.options=n,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.attr)(this.container,"data-ref",n.ref),(0,o.attr)(this.container,"ref",n.ref)}};a=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([r.component],a)},19127:function(t,i,n){"use strict";n.d(i,{execute:function(){return u}});var r=n(77688),o=n(56075),s=n(11886),a=n(6689),l=n(44526);function u(t,i,n){return(0,r._)(function*(){let{element:r,attributes:u,remove:c,blockIndex:d,selector:h}=i;if((0,a.throwIfAborted)(n),!r&&!u)throw Error('Either "element" or "attributes" must be provided');if(t.s.restore(),void 0!==d||h){let{element:i}=(0,l.resolveBlock)(t,{selector:h,index:d});t.s.select(i)}if(t.s.isCollapsed())throw Error("No selection found. Please select text to format");try{let i={};return r&&(i.element=r),u&&(i.attributes=u),c?t.s.commitStyle((0,s._)((0,o._)({},i),{mode:"remove"})):t.s.commitStyle(i),t.synchronizeValues(),{success:!0,message:c?"Formatting removed successfully":"Formatting applied successfully"}}catch(t){throw Error(`Failed to ${c?"remove":"apply"} formatting: ${t.message}`)}})()}},19147:function(t,i,n){"use strict";n.r(i),i.default={newline:"новая строка|перенос|энтер",delete:"удалить",space:"пробел","Speech Recognize":"Распознавание речи",Sound:"Звук","Interim Results":"Промежуточные результаты"}},19263:function(t,i,n){"use strict";n.d(i,{wrap:function(){return l}});var r=n(22732),o=n(29960),s=n(82515),a=n(6980);function l(t,i,n){var l,c,d;let h=(l=t,c=i,d=n,l.elementIsBlock?r.Dom.up(c,t=>r.Dom.isBlock(t)&&!r.Dom.isTag(t,u),d.editor)||(0,a.wrapUnwrappedText)(l,c,d):((0,o.attr)(c,"size",null),c));return t.elementIsList?(0,s.wrapList)(t,h,n):r.Dom.replace(h,t.element,n.createInside,!0)}let u=new Set(["td","th","tr","tbody","table","li","ul","ol"])},19271:function(t,i,n){"use strict";var r=n(82758),o=n(65478),s=n(2748),a=n(580),l=n(21537),u=n(50911),c=n(8172),d=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class h extends u.Plugin{afterInit(){this.j.e.on([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)}onDragStart(t){var i;let n=t.target;if(this.onDragEnd(),this.isFragmentFromEditor=s.Dom.isOrContains(this.j.editor,n,!0),this.isCopyMode=!this.isFragmentFromEditor||(0,l.ctrlKey)(t),this.isFragmentFromEditor){let t=this.j.s.sel,i=t&&t.rangeCount?t.getRangeAt(0):null;i&&(this.bufferRange=i.cloneRange())}else this.bufferRange=null;this.startDragPoint.x=t.clientX,this.startDragPoint.y=t.clientY,i=n,s.Dom.isElement(i)&&i.classList.contains(c.FileBrowserFiles.prototype.getFullElName("item"))&&(n=n.querySelector("img")),s.Dom.isTag(n,"img")&&(this.draggable=n.cloneNode(!0),(0,l.dataBind)(this.draggable,"target",n)),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(t){this.draggable&&(this.j.e.fire("hidePopup"),this.j.s.insertCursorAtPoint(t.clientX,t.clientY),t.preventDefault(),t.stopPropagation())}onDragEnd(){this.draggable&&(s.Dom.safeRemove(this.draggable),this.draggable=null),this.isCopyMode=!1,this.removeDragListeners()}onDrop(t){if(!t.dataTransfer||!t.dataTransfer.files||!t.dataTransfer.files.length){if(!this.isFragmentFromEditor&&!this.draggable)return this.j.e.fire("paste",t),t.preventDefault(),t.stopPropagation(),!1;let i=this.j.s.sel,n=this.bufferRange||(i&&i.rangeCount?i.getRangeAt(0):null),r=this.__getWorkFragment(n,t);i&&i.removeAllRanges(),this.j.s.insertCursorAtPoint(t.clientX,t.clientY),r&&this.__insertFragment.call(this,r,n),t.preventDefault(),t.stopPropagation()}this.isFragmentFromEditor=!1,this.removeDragListeners()}__getWorkFragment(t,i){let n=null;if(!this.draggable&&t)n=this.isCopyMode?t.cloneContents():t.extractContents();else if(this.draggable)if(this.isCopyMode){let[t,i]="1"===(0,l.attr)(this.draggable,"-is-file")?["a","href"]:["img","src"];(n=this.j.createInside.element(t)).setAttribute(i,(0,l.attr)(this.draggable,"data-src")||(0,l.attr)(this.draggable,"src")||""),"a"===t&&(n.textContent=(0,l.attr)(n,i)||"")}else n=(0,l.dataBind)(this.draggable,"target");else this.getText(i)&&(n=this.j.createInside.fromHTML(this.getText(i)));return n}__insertFragment(t,i){this.j.s.insertNode(t,!1,!1),i&&t.firstChild&&t.lastChild&&(i.setStartBefore(t.firstChild),i.setEndAfter(t.lastChild),this.j.s.selectRange(i),this.j.e.fire("synchro")),s.Dom.isTag(t,"img")&&this.j.events&&this.j.e.fire("afterInsertImage",t)}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=t=>{let i=(0,l.getDataTransfer)(t);return i?i.getData(r.TEXT_HTML)||i.getData(r.TEXT_PLAIN):null}}}d([o.autobind],h.prototype,"onDragStart",null),d([(0,o.throttle)(t=>t.defaultTimeout/10)],h.prototype,"onDrag",null),d([o.autobind],h.prototype,"onDragEnd",null),d([o.autobind],h.prototype,"onDrop",null),a.pluginSystem.add("dragAndDrop",h)},19292:function(t,i){"use strict";i.default={"Type something":"Escreva algo...",Advanced:"Avan\xe7ado","About Jodit":"Sobre o Jodit","Jodit Editor":"Editor Jodit","Jodit User's Guide":"Guia de usu\xe1rio Jodit","contains detailed help for using":"cont\xe9m ajuda detalhada para o uso.","For information about the license, please go to our website:":"Para informa\xe7\xe3o sobre a licen\xe7a, por favor visite nosso site:","Buy full version":"Compre a vers\xe3o completa","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Todos os direitos reservados.",Anchor:"Link","Open in new tab":"Abrir em nova aba","Open in fullsize":"Abrir editor em tela cheia","Clear Formatting":"Limpar formata\xe7\xe3o","Fill color or set the text color":"Cor de preenchimento ou cor do texto",Redo:"Refazer",Undo:"Desfazer",Bold:"Negrito",Italic:"It\xe1lico","Insert Unordered List":"Inserir lista n\xe3o ordenada","Insert Ordered List":"Inserir lista ordenada","Align Center":"Centralizar","Align Justify":"Justificar","Align Left":"Alinhar \xe0 Esquerda","Align Right":"Alinhar \xe0 Direita","Insert Horizontal Line":"Inserir linha horizontal","Insert Image":"Inserir imagem","Insert file":"Inserir arquivo","Insert youtube/vimeo video":"Inserir v\xeddeo do Youtube/vimeo","Insert link":"Inserir link","Font size":"Tamanho da letra","Font family":"Fonte","Insert format block":"Inserir bloco",Normal:"Normal","Heading 1":"Cabe\xe7alho 1","Heading 2":"Cabe\xe7alho 2","Heading 3":"Cabe\xe7alho 3","Heading 4":"Cabe\xe7alho 4",Quote:"Cita\xe7\xe3o",Code:"C\xf3digo",Insert:"Inserir","Insert table":"Inserir tabela","Decrease Indent":"Diminuir recuo","Increase Indent":"Aumentar recuo","Select Special Character":"Selecionar caractere especial","Insert Special Character":"Inserir caractere especial","Paint format":"Copiar formato","Change mode":"Mudar modo",Margins:"Margens",top:"cima",right:"direta",bottom:"baixo",left:"esquerda",Styles:"Estilos CSS",Classes:"Classes CSS",Align:"Alinhamento",Right:"Direita",Center:"Centro",Left:"Esquerda","--Not Set--":"--N\xe3o Estabelecido--",Src:"Fonte",Title:"T\xedtulo",Alternative:"Texto Alternativo",Link:"Link","Open link in new tab":"Abrir link em nova aba",Image:"Imagem",file:"Arquivo","Image properties":"Propriedades da imagem",Cancel:"Cancelar",Ok:"Ok","Your code is similar to HTML. Keep as HTML?":"Seu c\xf3digo \xe9 similar ao HTML. Manter como HTML?","Paste as HTML":"Colar como HTML?",Keep:"Manter",Clean:"Limpar","Insert as Text":"Inserir como Texto","Word Paste Detected":"Colado do Word Detectado","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"O conte\xfado colado veio de um documento Microsoft Word/Excel. Voc\xea deseja manter o formato ou limpa-lo?","Insert only Text":"Inserir somente o Texto","File Browser":"Procurar arquivo","Error on load list":"Erro ao carregar a lista","Error on load folders":"Erro ao carregar as pastas","Are you sure?":"Voc\xea tem certeza?","Enter Directory name":"Escreva o nome da pasta","Create directory":"Criar pasta","type name":"Escreva seu nome","Drop image":"Soltar imagem","Drop file":"Soltar arquivo","or click":"ou clique","Alternative text":"Texto alternativo",Browse:"Explorar",Upload:"Upload",Background:"Fundo",Text:"Texto",Top:"Cima",Middle:"Meio",Bottom:"Baixo","Insert column before":"Inserir coluna antes","Insert column after":"Inserir coluna depois","Insert row above":"Inserir linha acima","Insert row below":"Inserir linha abaixo","Delete table":"Excluir tabela","Delete row":"Excluir linha","Delete column":"Excluir coluna","Empty cell":"Limpar c\xe9lula",Delete:"Excluir","Strike through":"Tachado",Underline:"Sublinhar",Break:"Pausa","Search for":"Procurar por","Replace with":"Substituir com",Replace:"Substituir",Edit:"Editar","Vertical align":"Alinhamento vertical","Horizontal align":"Alinhamento horizontal",Filter:"filtrar","Sort by changed":"Ordenar por modifica\xe7\xe3o","Sort by name":"Ordenar por nome","Sort by size":"Ordenar por tamanho","Add folder":"Adicionar pasta",Split:"Dividir","Split vertical":"Dividir vertical","Split horizontal":"Dividir horizontal",Merge:"Mesclar","Add column":"Adicionar coluna","Add row":"Adicionar linha",Border:"Borda","Embed code":"Incluir c\xf3digo",Update:"Atualizar",superscript:"sobrescrito",subscript:"subscrito","Cut selection":"Cortar sele\xe7\xe3o",Paste:"Colar","Choose Content to Paste":"Escolher conte\xfado para colar","Chars: %d":"Caracteres: %d","Words: %d":"Palavras: %d",All:"Tudo","Select %s":"Selecionar: %s","Select all":"Selecionar tudo",source:"HTML",bold:"negrito",italic:"it\xe1lico",brush:"pincel",link:"link",undo:"desfazer",redo:"refazer",table:"tabela",image:"imagem",eraser:"apagar",paragraph:"par\xe1grafo",fontsize:"tamanho da letra",video:"v\xeddeo",font:"fonte",about:"Sobre de",print:"Imprimir",underline:"sublinhar",strikethrough:"tachado",indent:"recuar",outdent:"diminuir recuo",fullsize:"Tamanho completo",shrink:"diminuir",hr:"linha horizontal",ul:"lista n\xe3o ordenada",ol:"lista ordenada",cut:"Cortar",selectall:"Selecionar tudo","Open link":"Abrir link","Edit link":"Editar link","No follow":"N\xe3o siga",Unlink:"Remover link",Eye:"Visualizar",pencil:"Editar"," URL":"URL",Reset:"Resetar",Save:"Salvar","Save as ...":"Salvar como...",Resize:"Redimensionar",Crop:"Recortar",Width:"Largura",Height:"Altura","Keep Aspect Ratio":"Manter a propor\xe7\xe3o",Yes:"Sim",No:"N\xe3o",Remove:"Remover",Select:"Selecionar","You can only edit your own images. Download this image on the host?":"Voc\xea s\xf3 pode editar suas pr\xf3prias imagens. Baixar essa imagem pro servidor?","The image has been successfully uploaded to the host!":"A imagem foi enviada com sucesso para o servidor!",palette:"Palette","There are no files":"N\xe3o h\xe1 arquivos nesse diret\xf3rio.",Rename:"H\xfangara","Enter new name":"Digite um novo nome",preview:"preview",download:"Baixar","Paste from clipboard":"Colar da \xe1rea de transfer\xeancia","Your browser doesn't support direct access to the clipboard.":"O seu navegador n\xe3o oferece suporte a acesso direto para a \xe1rea de transfer\xeancia.","Copy selection":"Selec\xe7\xe3o de c\xf3pia",copy:"c\xf3pia","Border radius":"Border radius","Show all":"Mostrar todos os",Apply:"Aplicar","Please fill out this field":"Por favor, preencha este campo","Please enter a web address":"Por favor introduza um endere\xe7o web",Default:"Padr\xe3o",Circle:"C\xedrculo",Dot:"Ponto",Quadrate:"Quadro","Lower Alpha":"Letra Min\xfascula","Lower Greek":"Grego Min\xfascula","Lower Roman":"Romano Min\xfascula","Upper Alpha":"Letra Mai\xfascula","Upper Roman":"Romano Mai\xfascula",Find:"Encontrar","Find Previous":"Encontrar Anteriores","Find Next":"Localizar Pr\xf3xima","Insert className":"Insira o nome da classe","Press Alt for custom resizing":"Pressione Alt para redimensionamento personalizado","License: %s":"Licen\xe7a: %s"}},19306:function(t,i,n){"use strict";n.d(i,{isJoditObject:function(){return o}});var r=n(23282);function o(t){return!!(t&&t instanceof Object&&(0,r.isFunction)(t.constructor)&&("u">typeof Jodit&&t instanceof Jodit||t.isJodit))}},19308:function(t,i,n){"use strict";n.r(i),n.d(i,{en:function(){return r},es:function(){return o}});var r=n(47193),o=n(7886)},19374:function(t,i,n){"use strict";var r=n(82749),o=n(31635);n(64839);var s=n(82758),a=n(65478),l=n(2748),u=n(43555),c=n(50911),d=n(59242),h=n(2692);class p extends c.Plugin{afterInit(t){t.registerCommand("todoList",this.onCommand)}onCommand(){try{this.__isOwnCommand=!0,this.jodit.s.commitStyle({element:"ul",attributes:{class:this.j.o.todoList.className},hooks:{afterWrapList:this.__afterWrapList,afterToggleAttribute:this.__afterWrapList}})}finally{this.__isOwnCommand=!1}return!1}__prependInputLabel(t){let{jodit:i}=this,{labelClassName:n,inputFactory:r}=this.j.o.todoList;if(t.querySelector("label."+n))return;let o=i.createInside.element("label",{contenteditable:"false",class:n}),s=r(i);o.appendChild(s),l.Dom.prepend(t,o)}__afterToggleList(t,i){return(t===d.CHANGE||t===d.REPLACE)&&this.__isOwnCommand?this.__appendInputs(i):t===d.UNWRAP||t===d.REPLACE||t===d.CHANGE?this.__removeInputs(i):void 0}__appendInputs(t){t.querySelectorAll("li").forEach(this.__prependInputLabel)}__removeInputs(t){let{labelClassName:i}=this.j.o.todoList;t.querySelectorAll("label."+i).forEach(l.Dom.safeRemove)}__beforeToggleOrderedList(t,i,n){var r;let o="__beforeToggleOrderedList";if(t!==d.REPLACE&&(i.classList.contains(this.j.o.todoList.className)||n.isApplied(i,o))&&("ul"===n.element||"ol"===n.element)&&(null==(r=n.options.attributes)?void 0:r.class)!==this.j.o.todoList.className){let t=l.Dom.replace(i,n.element,this.jodit.createInside);return n.setApplied(t,o),this.__removeInputs(t),t}}__afterEnter(){(0,u.$$)("ul."+this.j.o.todoList.className+" li",this.jodit.editor).forEach(this.__prependInputLabel)}__afterTab(){(0,u.$$)("ul:not(."+this.j.o.todoList.className+") > li > label",this.jodit.editor).filter(this.isTodoLeafLabel).forEach(l.Dom.safeRemove)}__changeSelection(t){let i=this.j.s.current();this.isTodoLeafLabel(i)&&(t.preventDefault(),t.stopPropagation(),this.j.s.setCursorAfter(i))}__isEmptyListLeaf(t){return l.Dom.isEmpty(t,t=>!("input"===t.nodeName.toLowerCase()&&this.isTodoLeafLabel(t.parentElement))&&s.NO_EMPTY_TAGS.has(t.tagName.toLowerCase()))}__backSpaceBeforeCases(t,i){if(t){let t=l.Dom.findNotEmptySibling(i,!0);this.isTodoLeafLabel(t)&&l.Dom.safeRemove(t)}}__isInvisibleForCursor(t){if(this.isTodoLeafLabel(t))return!0}__backSpaceAfterDelete(){let{labelClassName:t}=this.j.o.todoList;(0,u.$$)("label."+t,this.jodit.editor).forEach(t=>{t.closest("ul."+this.j.o.todoList.className)?t.previousSibling&&t.parentElement&&l.Dom.prepend(t.parentElement,t):l.Dom.safeRemove(t)})}__afterWrapList(t,i){t===d.WRAP&&this.__appendInputs(i)}__onClickInput(t){let i=t.target;i&&l.Dom.isTag(i,"input")&&"checkbox"===i.type&&this.isTodoLeafLabel(i.parentElement)&&(0,u.attr)(i,"checked",i.checked?"checked":null)}isTodoLeafLabel(t){let{labelClassName:i}=this.j.o.todoList;return l.Dom.isHTMLElement(t)&&t.classList.contains(i)}beforeDestruct(t){}constructor(...t){super(...t),(0,r._)(this,"buttons",[{name:"todoList",group:"list"}]),(0,r._)(this,"__isOwnCommand",!1)}}(0,r._)(p,"requires",["license"]),(0,o.__decorate)([a.autobind],p.prototype,"onCommand",null),(0,o.__decorate)([a.autobind],p.prototype,"__prependInputLabel",null),(0,o.__decorate)([(0,a.watch)(":commitStyleAfterToggleList")],p.prototype,"__afterToggleList",null),(0,o.__decorate)([(0,a.watch)(":commitStyleBeforeUnwrapList")],p.prototype,"__beforeToggleOrderedList",null),(0,o.__decorate)([(0,a.watch)(":afterEnter")],p.prototype,"__afterEnter",null),(0,o.__decorate)([(0,a.watch)(":afterTab")],p.prototype,"__afterTab",null),(0,o.__decorate)([(0,a.watch)("j.ed:selectionchange"),(0,a.watch)(":afterEnter")],p.prototype,"__changeSelection",null),(0,o.__decorate)([(0,a.watch)(":enterIsEmptyListLeaf")],p.prototype,"__isEmptyListLeaf",null),(0,o.__decorate)([(0,a.watch)(":backSpaceBeforeCases")],p.prototype,"__backSpaceBeforeCases",null),(0,o.__decorate)([(0,a.watch)(":backSpaceIsMovedIgnore"),(0,a.watch)(":isInvisibleForCursor")],p.prototype,"__isInvisibleForCursor",null),(0,o.__decorate)([(0,a.watch)(":backSpaceAfterDelete")],p.prototype,"__backSpaceAfterDelete",null),(0,o.__decorate)([a.autobind],p.prototype,"__afterWrapList",null),(0,o.__decorate)([(0,a.watch)(":click")],p.prototype,"__onClickInput",null),(0,o.__decorate)([a.autobind],p.prototype,"isTodoLeafLabel",null),h.JoditPro.plugins.add("todo-list",p)},19606:function(t,i,n){"use strict";n.d(i,{transformWordToHtml:function(){return a}});var r=n(49055),o=n(64693),s=n(97420);function a(t,i,n,a){let l={jodit:t,rtf:a};return i.forEach(function t(i){if(i){for(let t of o.cases)if(null==(i=t(i,l)))break;null==i||i.forEach(t)}}),n&&i.forEach(t=>{t.style.clear()},!0),(0,r.trim)((0,s.innerHTML)(i,t=>!t.isComment,!0,t.o.pasteFromWord.allowedStyleProps))}},20071:function(t,i,n){"use strict";var r=n(82758),o=n(580),s=n(43555);n(757),o.pluginSystem.add("media",function(t){let i="jodit_fake_wrapper",{mediaFakeTag:n,mediaBlocks:o,mediaInFakeBlock:a}=t.options;a&&t.e.on("afterGetValueFromEditor",t=>{let r=RegExp(`<${n}[^>]+data-${i}[^>]+>([^]+?)</${n}>`,"ig");r.test(t.value)&&(t.value=t.value.replace(r,"$1"))}).on("change afterInit afterSetMode changePlace",t.async.debounce(()=>{t.isDestructed||t.getMode()===r.MODE_SOURCE||(0,s.$$)(o.join(","),t.editor).forEach(r=>{if(!(0,s.dataBind)(r,i)){(0,s.dataBind)(r,i,!0);var o=r;if(o.parentNode&&(0,s.attr)(o.parentNode,"data-jodit_iframe_wrapper"))o=o.parentNode;else{let r=t.createInside.element(n,{"data-jodit-temp":1,contenteditable:!1,draggable:!0,[`data-${i}`]:1});(0,s.attr)(r,"style",(0,s.attr)(o,"style")),r.style.display="inline-block"===o.style.display?"inline-block":"block",r.style.width=o.offsetWidth+"px",r.style.height=o.offsetHeight+"px",o.parentNode&&o.parentNode.insertBefore(r,o),r.appendChild(o),o=r}t.e.off(o,"mousedown.select touchstart.select").on(o,"mousedown.select touchstart.select",()=>{t.s.setCursorAfter(o)})}})},t.defaultTimeout))})},20104:function(t,i,n){"use strict";var r=n(74922),o=n.n(r),s=n(34575),a=n.n(s),l=n(6441),u=n(12153);l.Config.prototype.translate={hotkeys:{translateSelection:["ctrl+shift+o","cmd+shift+o"],translateOptions:["ctrl+shift+p","cmd+shift+p"]},provider:"google",googleProviderOptions:{url:"https://translation.googleapis.com/language/translate/v2",key:""},defaultSourceLang:"",defaultTargetLang:"de"},l.Config.prototype.controls.translate={translate:{tooltip:"Translate selected text",icon:"translate",command:"translate",exec(t){t.execCommand("translate")},list:["Options"],childExec(t,i,{control:n}){t.execCommand("translate"+n.name)},mods:{stroke:!1}}},u.Icon.set("translate",a()).set("translate-swap",o())},20199:function(t,i,n){"use strict";n.d(i,{toggleOrderedList:function(){return c}});var r=n(2748),o=n(38837),s=n(32526),a=n(44253),l=n(77361),u=n(82515);function c(t,i,n,r){if(!i)return r;let o=i.parentElement;if(!o)return r;let s=n.e.fire(`${l._PREFIX}BeforeToggleList`,r,t,o);if(void 0!==s)return s;let c=n.e.fire.bind(n.e,`${l._PREFIX}AfterToggleList`);if(r!==l.UNWRAP){let s=(0,a.toggleAttributes)(t,i.parentElement,n,l.INITIAL,!0)===l.CHANGE;if(r===l.REPLACE||s||o.tagName.toLowerCase()!==t.element){let r=d(l.REPLACE,o,i,n,t),s=(0,u.wrapList)(t,r,n);return c(l.REPLACE,s,t),l.REPLACE}}let h=d(l.UNWRAP,o,i,n,t);return c(l.UNWRAP,h,t),l.UNWRAP}function d(t,i,n,a,u){let c=a.e.fire(`${l._PREFIX}BeforeUnwrapList`,t,i,u);return c?((0,o.assert)(r.Dom.isHTMLElement(c),`${l._PREFIX}BeforeUnwrapList hook must return HTMLElement`),c):((0,s.extractSelectedPart)(i,n,a),(0,o.assert)(r.Dom.isHTMLElement(n.parentElement),"Element should be inside the list"),r.Dom.unwrap(n.parentElement),r.Dom.replace(n,"br"!==a.o.enter.toLowerCase()?a.o.enter:a.createInside.fragment(),a.createInside))}},20201:function(t,i,n){"use strict";n.d(i,{loadTree:function(){return a}});var r=n(22732),o=n(30465);function s(t,i,n,r,o,s,a){try{var l=t[s](a),u=l.value}catch(t){n(t);return}l.done?i(u):Promise.resolve(u).then(r,o)}function a(t){var i;return(i=function*(){t.tree.setMod("active",!0),r.Dom.detach(t.tree.container);let i=(0,o.loadItems)(t);return t.o.showFoldersPanel?(t.tree.setMod("loading",!0),Promise.all([t.dataProvider.tree(t.state.currentPath,t.state.currentSource).then(i=>{t.state.sources=i}).catch(t.status).finally(()=>t.tree.setMod("loading",!1)),i])):(t.tree.setMod("active",!1),i)},function(){var t=this,n=arguments;return new Promise(function(r,o){var a=i.apply(t,n);function l(t){s(a,r,o,l,u,"next",t)}function u(t){s(a,r,o,l,u,"throw",t)}l(void 0)})})()}},20218:function(t,i,n){"use strict";n.d(i,{Create:function(){return l}});var r=n(82758),o=n(2748),s=n(21537),a=n(38837);class l{get doc(){return(0,s.isFunction)(this.document)?this.document():this.document}element(t,i,n){let r=this.doc.createElement(t.toLowerCase());return this.applyCreateAttributes(r),i&&((0,s.isPlainObject)(i)?(0,s.attr)(r,i):n=i),n&&(0,s.asArray)(n).forEach(t=>r.appendChild((0,s.isString)(t)?this.fromHTML(t):t)),r}div(t,i,n){let r=this.element("div",i,n);return t&&(r.className=t),r}sandbox(){var t;let i=this.element("iframe",{sandbox:"allow-same-origin"});this.doc.body.appendChild(i);let n=null==(t=i.contentWindow)?void 0:t.document;if((0,a.assert)(n,"iframe.contentWindow.document"),!n)throw Error("Iframe error");return n.open(),n.write("<!DOCTYPE html><html><head></head><body></body></html>"),n.close(),[n.body,i]}span(t,i,n){let r=this.element("span",i,n);return t&&(r.className=t),r}a(t,i,n){let r=this.element("a",i,n);return t&&(r.className=t),r}text(t){return this.doc.createTextNode(t)}fake(){return this.text(r.INVISIBLE_SPACE)}fragment(){return this.doc.createDocumentFragment()}fromHTML(t,i){let n=this.div();n.innerHTML=t.toString();let r=n.firstChild===n.lastChild&&n.firstChild?n.firstChild:n;if(o.Dom.safeRemove(r),i){let t=(0,s.refs)(r);Object.keys(i).forEach(n=>{let r=t[n];r&&!1===i[n]&&o.Dom.hide(r)})}return r}applyCreateAttributes(t){if(this.createAttributes){let i=this.createAttributes;if(i&&i[t.tagName.toLowerCase()]){let n=i[t.tagName.toLowerCase()];(0,s.isFunction)(n)?n(t):(0,s.isPlainObject)(n)&&(0,s.attr)(t,n)}}}constructor(t,i){this.document=t,this.createAttributes=i}}},20356:function(t,i,n){"use strict";n.d(i,{Plugin:function(){return l}});var r=n(91907),o=n(65478),s=n(19306),a=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class l extends r.ViewComponent{className(){return"Plugin"}__afterPluginSystemInit(){let{j:t,buttons:i}=this;i&&(0,s.isJoditObject)(t)&&i.forEach(i=>{t.registerButton(i)})}__afterInit(){this.__inited=!0,this.setStatus(r.STATUSES.ready),this.afterInit(this.jodit)}init(t){this.jodit.isReady&&(this.afterInit(this.jodit),this.__afterPluginSystemInit(),this.jodit.e.fire("rebuildToolbar"))}__beforeDestruct(){var t;if(this.isInDestruct)return;let{j:i}=this;if(i.e.off("afterPluginSystemInit",this.__afterPluginSystemInit).off("afterInit",this.__afterInit).off("beforeDestruct",this.destruct),this.setStatus(r.STATUSES.beforeDestruct),!this.__inited)return super.destruct();(0,s.isJoditObject)(i)&&(null==(t=this.buttons)||t.forEach(t=>{null==i||i.unregisterButton(t)})),this.beforeDestruct(this.j),super.destruct()}constructor(t){super(t),this.buttons=[],this.hasStyle=!1,this.__inited=!1,t.e.on("afterPluginSystemInit",this.__afterPluginSystemInit).on("afterInit",this.__afterInit).on("beforeDestruct",this.__beforeDestruct)}}l.requires=[],a([o.autobind],l.prototype,"__afterPluginSystemInit",null),a([o.autobind],l.prototype,"__afterInit",null),a([o.autobind],l.prototype,"__beforeDestruct",null)},20362:function(t,i){"use strict";i.default='<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> '},20741:function(t,i,n){"use strict";n.r(i),i.default={symbols:"رمز"}},20823:function(t,i,n){"use strict";n.d(i,{cleanStyles:function(){return o}});let r={"text-justify":["inter-ideograph"]};function o(t){return t.isElement&&t.attributes.style&&Object.keys(r).forEach(i=>{let n=r[i];if(t.style.has(i)){var o;n.includes(null==(o=t.style.get(i))?void 0:o.toString())&&t.style.set(i,null)}}),t}},20882:function(t,i,n){"use strict";n.d(i,{align:function(){return l}});var r=n(22732),o=n(70799),s=n(25726),a=n(41180);let l={name:"left",childTemplate:(t,i,n)=>n,list:["Left","Right","Center","Normal"],exec:(t,i,{control:n})=>{if(!r.Dom.isTag(i,new Set(["img","jodit","jodit-media"])))return;let a=n.args&&(0,o.isString)(n.args[0])?n.args[0].toLowerCase():"";if(!a)return!1;(0,s.hAlignElement)(i,a),r.Dom.isTag(i,new Set(["jodit","jodit-media"]))&&i.firstElementChild&&(0,s.hAlignElement)(i.firstElementChild,a),t.synchronizeValues(),t.e.fire("recalcPositionPopup")},tooltip:"Horizontal align"};i.default=[{name:"delete",icon:"bin",tooltip:"Delete",exec:(t,i)=>{i&&t.s.removeNode(i)}},{name:"pencil",exec(t,i){"img"===i.tagName.toLowerCase()&&t.e.fire("openImageProperties",i)},tooltip:"Edit"},{name:"valign",list:["Top","Middle","Bottom","Normal"],tooltip:"Vertical align",exec:(t,i,{control:n})=>{if(!r.Dom.isTag(i,"img"))return;let s=n.args&&(0,o.isString)(n.args[0])?n.args[0].toLowerCase():"";if(!s)return!1;(0,a.css)(i,"vertical-align","normal"===s?"":s),t.e.fire("recalcPositionPopup")}},l]},21020:function(t,i,n){"use strict";n.d(i,{PermissionManager:function(){return a}});var r=n(82749),o=n(56075),s=n(11886);class a{requiresPermission(t){let{autoApproveTools:i,alwaysDenyTools:n}=this.jodit.o.aiAssistantPro;if(n.includes(t))return!0;if(i.includes(t))return!1;let r=this.toolRegistry.getTool(t);return!r||r.requiresPermission}isAutoDenied(t){let{alwaysDenyTools:i}=this.jodit.o.aiAssistantPro;return i.includes(t)}isAutoApproved(t){let{autoApproveTools:i}=this.jodit.o.aiAssistantPro;return i.includes(t)}checkPermission(t,i){if(this.isAutoApproved(t))return{toolName:t,granted:!0,grantedAt:Date.now(),scope:"once"};if(this.isAutoDenied(t))return null;let n=this.permanentPermissions.get(t);return n&&n.granted?n:i.find(i=>i.toolName===t&&i.granted)||null}grantPermission(t,i){let n={toolName:t,granted:!0,grantedAt:Date.now(),scope:i};return"forever"===i&&(this.permanentPermissions.set(t,n),this.savePermanentPermissions()),n}denyPermission(t){return{toolName:t,granted:!1,grantedAt:Date.now(),scope:"once"}}filterToolCalls(t,i){let n=[],r=[],a=[];for(let l of t){if(this.isAutoDenied(l.name)){a.push((0,s._)((0,o._)({},l),{status:"denied"}));continue}if(this.isAutoApproved(l.name)){n.push((0,s._)((0,o._)({},l),{status:"approved"}));continue}let t=this.checkPermission(l.name,i);t&&t.granted?n.push((0,s._)((0,o._)({},l),{status:"approved"})):this.requiresPermission(l.name)?(this.jodit.e.fire("permissionRequested.ai-assistant-pro",l.name),r.push((0,s._)((0,o._)({},l),{status:"pending"}))):n.push((0,s._)((0,o._)({},l),{status:"approved"}))}return{approved:n,needsPermission:r,denied:a}}clearConversationPermissions(t){}loadPermanentPermissions(){try{let t=localStorage.getItem(this.PERMANENT_PERMISSIONS_KEY);t&&JSON.parse(t).forEach(t=>{"forever"===t.scope&&t.granted&&this.permanentPermissions.set(t.toolName,t)})}catch(t){}}savePermanentPermissions(){try{let t=Array.from(this.permanentPermissions.values());localStorage.setItem(this.PERMANENT_PERMISSIONS_KEY,JSON.stringify(t))}catch(t){}}clearPermanentPermissions(){this.permanentPermissions.clear(),localStorage.removeItem(this.PERMANENT_PERMISSIONS_KEY)}getPermanentPermissions(){return Array.from(this.permanentPermissions.values())}revokePermanentPermission(t){this.permanentPermissions.delete(t),this.savePermanentPermissions()}destruct(){this.permanentPermissions.clear()}constructor(t,i){(0,r._)(this,"jodit",void 0),(0,r._)(this,"toolRegistry",void 0),(0,r._)(this,"permanentPermissions",void 0),(0,r._)(this,"PERMANENT_PERMISSIONS_KEY",void 0),this.jodit=t,this.toolRegistry=i,this.permanentPermissions=new Map,this.PERMANENT_PERMISSIONS_KEY="jodit-permissions.ai-assistant-pro",this.loadPermanentPermissions()}}},21064:function(t,i,n){"use strict";n.d(i,{WebStorageConversationStorage:function(){return l},createStorageProvider:function(){return u},generateConversationId:function(){return c},generateMessageId:function(){return d}});var r=n(77688),o=n(82749),s=n(56075),a=n(97333);class l{close(){return this.storage.close()}getConversationKey(t){return`conv:${t}`}getAllKeys(){return(0,r._)(function*(){let t=yield this.storage.get("__conversation_index__");return t&&Array.isArray(t)?t:[]}).call(this)}updateIndex(t){return(0,r._)(function*(){yield this.storage.set("__conversation_index__",t)}).call(this)}addToIndex(t){return(0,r._)(function*(){let i=yield this.getAllKeys();i.includes(t)||(i.push(t),yield this.updateIndex(i))}).call(this)}removeFromIndex(t){return(0,r._)(function*(){let i=(yield this.getAllKeys()).filter(i=>i!==t);yield this.updateIndex(i)}).call(this)}list(t){return(0,r._)(function*(){try{let r=yield this.getAllKeys(),o=[],s=null==t?void 0:t.toLowerCase().trim();for(let t of r){var i,n;let r=yield this.get(t);if(r){if(s){let t=null==(n=r.title)?void 0:n.toLowerCase().includes(s),i=!t&&r.messages.some(t=>t.content.toLowerCase().includes(s));if(!t&&!i)continue}o.push({id:r.id,title:null!=(i=r.title)?i:"",created:r.created,updated:r.updated,messageCount:r.messages.length})}}return o.sort((t,i)=>i.updated-t.updated),o}catch(t){return[]}}).call(this)}get(t){return(0,r._)(function*(){try{let i=this.getConversationKey(t);return(yield this.storage.get(i))||null}catch(t){return null}}).call(this)}save(t){return(0,r._)(function*(){try{if(0===t.messages.length)throw Error("Conversation must have at least one message.");let i=yield this.getAllKeys();i.length>=this.maxConversations&&!i.includes(t.id)&&(yield this.evictOldest());let n=this.getConversationKey(t.id);yield this.storage.set(n,t),yield this.addToIndex(t.id)}catch(i){if((null==i?void 0:i.name)==="QuotaExceededError"||(null==i?void 0:i.code)===22||(null==i?void 0:i.code)===1014){yield this.evictOldest();try{let i=this.getConversationKey(t.id);yield this.storage.set(i,t),yield this.addToIndex(t.id)}catch(t){throw Error("Storage quota exceeded. Please delete some conversations.")}}else throw Error(`Failed to save conversation: ${(null==i?void 0:i.message)||"Unknown error"}`)}}).call(this)}delete(t){return(0,r._)(function*(){try{let i=this.getConversationKey(t);yield this.storage.delete(i),yield this.removeFromIndex(t)}catch(t){}}).call(this)}clear(){return(0,r._)(function*(){try{for(let t of yield this.getAllKeys()){let i=this.getConversationKey(t);yield this.storage.delete(i)}yield this.updateIndex([])}catch(t){}}).call(this)}evictOldest(){return(0,r._)(function*(){try{let t=yield this.list();if(0===t.length)return;t.sort((t,i)=>t.updated-i.updated);let i=t[0];yield this.delete(i.id)}catch(t){}}).call(this)}getGlobalSettings(){return(0,r._)(function*(){try{return(yield this.storage.get("global-settings"))||null}catch(t){return null}}).call(this)}saveGlobalSettings(t){return(0,r._)(function*(){try{let i=yield this.getGlobalSettings(),n=(0,s._)({},i,t);yield this.storage.set("global-settings",n)}catch(t){throw Error("Failed to save global settings")}}).call(this)}constructor(t,i){(0,o._)(this,"storage",void 0),(0,o._)(this,"maxConversations",void 0),this.storage=t,this.maxConversations=i}}function u(t,i){return a.AsyncStorage.makeStorage(t,i)}function c(){return`conv_${Date.now()}_${Math.random().toString(36).substring(2,11)}`}function d(){return`msg_${Date.now()}_${Math.random().toString(36).substring(2,11)}`}},21130:function(t,i,n){"use strict";n.d(i,{UIBrowserItem:function(){return h}});var r=n(82749),o=n(31635),s=n(65478),a=n(21537),l=n(38837),u=n(67510),c=n(41409),d=n(159);class h extends u.UIElement{className(){return"UIBrowserItem"}render(){return`<div tabindex='-1'>
51
51
  <div class='&__image'></div>
52
52
  <div class='&__info'></div>
53
53
  <div class='&__heart'>*heart*</div>
@@ -149,7 +149,7 @@
149
149
  >
150
150
  <label>~Border radius~</label>
151
151
  <input type="number" class="jodit-input &__borderRadius"/>
152
- </div>`}onStateAlignChange(){this.getElm("align").value=this.state.values.align}onChangeAlign(){let t=this.getElm("align");this.state.values.align=t.value}onStateValuesBorderRadiusChange(){this.getElm("borderRadius").value=this.state.values.borderRadius.toString()}onChangeBorderRadius(){let t=this.getElm("borderRadius");this.state.values.borderRadius=parseFloat(t.value)}onStateValuesIdChange(){this.getElm("id").value=this.state.values.id}onChangeId(){let t=this.getElm("id");this.state.values.id=t.value}onStateValuesStyleChange(){this.getElm("style").value=this.state.values.style}onChangeStyle(){let t=this.getElm("style");this.state.values.style=t.value}onStateValuesClassesChange(){this.getElm("classes").value=this.state.values.classes}onChangClasses(){let t=this.getElm("classes");this.state.values.classes=t.value}onLockMarginClick(t){this.state.marginIsLocked=!this.state.marginIsLocked,t.preventDefault()}onChangeMarginIsLocked(){let t=this.getElm("marginBottom"),i=this.getElm("marginRight"),n=this.getElm("marginLeft"),r=this.getElm("lockMargin");if([i,t,n].forEach(t=>{(0,u.attr)(t,"disabled",this.state.marginIsLocked||null)}),r.innerHTML=d.Icon.get(this.state.marginIsLocked?"lock":"unlock"),this.state.marginIsLocked){let t=this.state.values.marginTop;this.state.values.marginRight=t,this.state.values.marginBottom=t,this.state.values.marginLeft=t}}onStateValuesMarginChange(){let t=this.getElm("marginTop"),i=this.getElm("marginRight"),n=this.getElm("marginBottom"),r=this.getElm("marginLeft");t.value=this.state.values.marginTop.toString(),i.value=this.state.values.marginRight.toString(),n.value=this.state.values.marginBottom.toString(),r.value=this.state.values.marginLeft.toString()}onChangeMargin(){let t=this.getElm("marginTop"),i=this.getElm("marginRight"),n=this.getElm("marginBottom"),r=this.getElm("marginLeft");this.state.values.marginTop=(0,h.normalSizeFromString)(t.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,h.normalSizeFromString)(i.value),this.state.values.marginBottom=(0,h.normalSizeFromString)(n.value),this.state.values.marginLeft=(0,h.normalSizeFromString)(r.value))}hideFieldByOptions(){let t=this.j.o.image;[["editMargins","editMargins"],["editAlign","editAlign"],["editStyle","editStyle"],["editClass","editClass"],["editId","editId"],["editBorderRadius","editBorderRadius"]].forEach(([i,n])=>{let r=this.getElm(n);(0,a.css)(r,"display",t[i]?null:"none")})}constructor(t,i,n){super(t,{availableClasses:t.o.image.availableClasses}),this.state=i,this.handlers=n}};p([(0,o.hook)("ready"),(0,s.watch)("state.values.align")],f.prototype,"onStateAlignChange",null),p([(0,s.watch)("align:change")],f.prototype,"onChangeAlign",null),p([(0,o.hook)("ready"),(0,s.watch)("state.values.borderRadius")],f.prototype,"onStateValuesBorderRadiusChange",null),p([(0,s.watch)("borderRadius:change")],f.prototype,"onChangeBorderRadius",null),p([(0,o.hook)("ready"),(0,s.watch)("state.values.id")],f.prototype,"onStateValuesIdChange",null),p([(0,s.watch)("id:change")],f.prototype,"onChangeId",null),p([(0,o.hook)("ready"),(0,s.watch)("state.values.style")],f.prototype,"onStateValuesStyleChange",null),p([(0,s.watch)("style:change")],f.prototype,"onChangeStyle",null),p([(0,o.hook)("ready"),(0,s.watch)("state.values.classes")],f.prototype,"onStateValuesClassesChange",null),p([(0,s.watch)("classes:change")],f.prototype,"onChangClasses",null),p([(0,s.watch)("lockMargin:click")],f.prototype,"onLockMarginClick",null),p([(0,o.hook)("ready"),(0,s.watch)("state.marginIsLocked")],f.prototype,"onChangeMarginIsLocked",null),p([(0,o.hook)("ready"),(0,s.watch)(["state.values.marginTop","state.values.marginRight","state.values.marginBottom","state.values.marginLeft"])],f.prototype,"onStateValuesMarginChange",null),p([(0,s.watch)(["marginTop:change","marginRight:change","marginBottom:change","marginLeft:change"])],f.prototype,"onChangeMargin",null),p([(0,o.hook)("ready")],f.prototype,"hideFieldByOptions",null),f=p([r.component],f)},29960:function(t,i,n){"use strict";n.d(i,{attr:function(){return function t(i,n,u){if(!i||!(0,r.isFunction)(i.getAttribute))return null;if(!(0,s.isString)(n))return Object.keys(n).forEach(r=>{let s=n[r];(0,o.isPlainObject)(s)&&"style"===r?(0,l.css)(i,s):("className"===r&&(r="class"),t(i,r,s))}),null;let c=(0,a.CamelCaseToKebabCase)(n);if(/^-/.test(c)){let n=t(i,`data${c}`);if(n)return n;c=c.substr(1)}if(void 0!==u)if(null==u)i.hasAttribute(c)&&i.removeAttribute(c);else{let t=u.toString();return"IMG"===i.nodeName&&("width"===c||"height"===c)&&(t=t.replace("px","")),i.setAttribute(c,t),t}return i.getAttribute(c)}}});var r=n(23282),o=n(72430),s=n(70799),a=n(12475),l=n(41180)},29999:function(t,i,n){"use strict";n.d(i,{asArray:function(){return o}});var r=n(68345);let o=t=>(0,r.isArray)(t)?t:[t]},30389:function(t,i,n){"use strict";n.d(i,{inputValidators:function(){return r},selectValidators:function(){return o}});var r=n(25685),o=n(66465)},30465:function(t,i,n){"use strict";function r(t){return t.files.setMod("active",!0),t.files.setMod("loading",!0),t.dataProvider.items(t.state.currentPath,t.state.currentSource,{sortBy:t.state.sortBy,onlyImages:t.state.onlyImages,filterWord:t.state.filterWord}).then(i=>{i&&(t.state.elements=i,t.state.activeElements=[])}).catch(t.status).finally(()=>t.files.setMod("loading",!1))}n.d(i,{loadItems:function(){return r}})},30592:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"Vonal magass\xe1ga"}},30717:function(t,i,n){"use strict";n.d(i,{applyStylesPro:function(){return r.applyStylesPro}});var r=n(51586);n(31269),n(19606)},30798:function(t,i,n){"use strict";n.r(i),i.default={newline:"newline",delete:"usunąć",space:"przestrzeń","Speech Recognize":"Rozpoznawanie Mowy",Sound:"Dźwięk","Interim Results":"Wyniki Okresowe"}},31105:function(t,i,n){"use strict";n.d(i,{applyStyle:function(){return u}});var r=n(69341),o=n(82758),s=n(2748);function a(t,i){let n=t.s.current();if(!n)return null;if(o.IS_BLOCK.test(i.element))return s.Dom.closest(n,s.Dom.isBlock,t.editor);let r=s.Dom.isElement(n)?n:n.parentNode;for(;r&&r!==t.editor;){if(s.Dom.isElement(r)&&r.nodeName.toLowerCase()===i.element)return r;r=r.parentNode}return null}function l(t,i){for(let n of i)t.classList.remove(n);""===t.className&&t.removeAttribute("class")}function u(t,i,n){let u=(0,r.detectActiveStyle)(t,n);u&&(t.s.commitStyle({element:u.element,attributes:{class:u.classes[0]}}),!function(t,i){if(i.classes.length<=1)return;let n=t.s.current();if(n)if(o.IS_BLOCK.test(i.element)){let r=s.Dom.closest(n,s.Dom.isBlock,t.editor);r&&l(r,i.classes.slice(1))}else{let n=a(t,i);n&&(l(n,i.classes.slice(1)),"span"!==n.nodeName.toLowerCase()||n.attributes.length||s.Dom.unwrap(n))}}(t,u),u===i)||(t.s.commitStyle({element:i.element,attributes:{class:i.classes[0]}}),function(t,i){if(i.classes.length<=1)return;let n=a(t,i);if(n)for(let t=1;t<i.classes.length;t++)n.classList.add(i.classes[t])}(t,i))}},31151:function(t,i){"use strict";i.default='<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> '},31269:function(t,i,n){"use strict";n.d(i,{calcListLevels:function(){return a}});var r=n(43712),o=n(10058),s=n(97420);function a(t){if(void 0!==t.attributes[o.LEVEL_KEY])return;let i=[(0,r.realPixelIndent)(t)],n=[t],a=t.next;for(;a;){if(a.isElement&&!a.attributes[o.LEVEL_KEY]&&(0,s.isPseudoLeaf)(a)){let t=(0,r.realPixelIndent)(a);t&&(i.push(t),n.push(a))}a=a.next}let l=Math.min(...i.filter(t=>t>0)),u=i.map(t=>Math.ceil(t/10));-1!==u.indexOf(0)&&(u=u.map(t=>t+1)),n.forEach((t,i)=>{t.attributes[o.LEVEL_KEY]=u[i],t.style.add("margin-left",`${Math.max((0,r.realPixelIndent)(t)-10*u[i]/l*40,0)}px`)})}},31356:function(t,i,n){"use strict";n.d(i,{ListReconciler:function(){return r}});class r{static reconcile(t,i,n){let{getId:r,isEqual:o=(t,i)=>r(t)===r(i),preserveOrder:s=!0}=n,a=new Map,l=new Map;t.forEach((t,i)=>{let n=r(t);a.set(n,t),l.set(n,i)});let u=new Map,c=new Map;i.forEach((t,i)=>{let n=r(t);u.set(n,t),c.set(n,i)});let d=[],h=[],p=[],f=[];return i.forEach((t,i)=>{let n=r(t),u=a.get(n);u?!o(u,t)||s&&l.get(n)!==i?h.push({oldItem:u,newItem:t,index:s?i:l.get(n)}):f.push(u):d.push(t)}),t.forEach(t=>{let i=r(t);u.has(i)||p.push(t)}),{toCreate:d,toUpdate:h,toRemove:p,unchanged:f}}static applyResult(t,i,n={}){i.toRemove.forEach(i=>{let r=t.indexOf(i);if(-1!==r){var o;null==(o=n.onRemove)||o.call(n,i,r),t.splice(r,1)}}),i.toUpdate.forEach(({oldItem:i,newItem:r,index:o})=>{let s=t.indexOf(i);if(-1!==s){var a;null==(a=n.onUpdate)||a.call(n,i,r,o),t[s]=r}}),i.toCreate.forEach(i=>{var r;null==(r=n.onCreate)||r.call(n,i,t.length),t.push(i)})}}},31359:function(t,i,n){"use strict";n.d(i,{init:function(){return a}});var r=n(82758),o=n(60132),s=n(14041);function a(t,i,n,a,l,u,c){if((0,o.isInitable)(a))try{a.init(t)}catch(t){if(!r.IS_PROD)throw t}l.set(i,a),u.delete(i),a.hasStyle&&(0,s.loadStyle)(t,i).catch(t=>{r.IS_PROD}),a.styles&&(c(t,i,"style").innerHTML=a.styles)}},31554:function(t,i){"use strict";i.default='<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:function(t,i,n){"use strict";n.d(i,{pasteFromWord:function(){return c}});var r=n(82758),o=n(65478),s=n(580),a=n(21537),l=n(50911);n(71842);var u=n(117);class c extends l.Plugin{afterInit(t){}beforeDestruct(t){}processWordHTML(t,i,n){let{j:r}=this,{processPasteFromWord:o,askBeforePasteFromWord:s,defaultActionOnPasteFromWord:l,defaultActionOnPaste:c,pasteFromWordActionList:d}=r.o;return!!(o&&(0,a.isHtmlFromWord)(i))&&(s?(0,u.askInsertTypeDialog)(r,"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Word Paste Detected",r=>{this.insertFromWordByType(t,i,r,n)},d):this.insertFromWordByType(t,i,l||c,n),!0)}insertFromWordByType(t,i,n,o){var s;switch(n){case r.INSERT_AS_HTML:{i=(0,a.applyStyles)(i);let t=null==(s=this.j.events)?void 0:s.fire("beautifyHTML",i);(0,a.isString)(t)&&(i=t);break}case r.INSERT_AS_TEXT:i=(0,a.cleanFromWord)(i);break;case r.INSERT_ONLY_TEXT:i=(0,a.stripTags)((0,a.cleanFromWord)(i))}(0,u.pasteInsertHtml)(t,this.j,i)}}c.requires=["paste"],function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);s>3&&a&&Object.defineProperty(i,n,a)}([(0,o.watch)(":processHTML")],c.prototype,"processWordHTML",null),s.pluginSystem.add("pasteFromWord",c)},31589:function(t,i,n){"use strict";n.d(i,{nonenumerable:function(){return r}});let r=(t,i)=>{!1!==(Object.getOwnPropertyDescriptor(t,i)||{}).enumerable&&Object.defineProperty(t,i,{enumerable:!1,set(t){Object.defineProperty(this,i,{enumerable:!1,writable:!0,value:t})}})}},31635:function(t,i,n){"use strict";function r(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}n.d(i,{__decorate:function(){return r}}),"function"==typeof SuppressedError&&SuppressedError},31974:function(t,i,n){"use strict";n.d(i,{aiAssitentCommands:function(){return l}});var r=n(12153),o=n(6441),s=n(64488),a=n(23658);let l={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"};o.Config.prototype.aiAssistant={aiCommonPrefixPrompt:"",aiCommonSuffixPrompt:"",aiImproveWritingPrompt:"It needs to be refined for better clarity, coherence, and overall quality. Please enhance the writing style while keeping the original meaning and language intact.",aiMakeShorterPrompt:"Please condense this content to make it more concise, while preserving the key messages, language and information.",aiMakeLongerPrompt:"Expand on this content to provide more detail, depth, and richness, without diverging from the original message and language.",aiSimplifyLanguagePrompt:"The language used here needs to be simplified for easier understanding, without altering the core information and the original language.",aiSummarizePrompt:"Provide a brief summary of this content, capturing the essential points in a concise manner. Preserve the original language and meaning.",aiContinuePrompt:"Continue the narrative or discussion from this content seamlessly, maintaining the same language, tone and style.",aiChangeToneProfessionalPrompt:"Adjust the tone to be professional, suitable for a formal business or academic setting, while retaining the original message and language.",aiChangeToneFriendlyPrompt:"It needs to be rewritten in a friendly tone while maintaining the original message and language. Please modify this content to be warm, approachable, and engaging.",aiChangeToneFormalPrompt:"Transform this content to have a formal tone, appropriate for official or serious contexts, without changing the main points and language.",aiChangeToneCasualPrompt:"Revise this content to have a casual, relaxed tone, making it feel more personal and less formal, without changing the original meaning and language.",aiChangeToneDirectPrompt:"Make the tone more direct, with straightforward language and a clear, assertive approach, without changing the original meaning and language.",aiChangeToneConfidentPrompt:"Infuse this content with a confident tone, showcasing assurance and decisiveness, without changing the original meaning and language.",aiChangeStyleBusinessPrompt:"Rewrite this content with a business-oriented style, focusing on clarity, efficiency, and professionalism, without changing the original meaning and language.",aiChangeStyleLegalPrompt:"Adapt this content to a legal style, incorporating appropriate terminology and formality typical of legal documents, without changing the original meaning and language.",aiChangeStyleJournalismPrompt:"Convert this content into a journalistic style, emphasizing factual accuracy, objectivity, and informative reporting, without changing the original meaning and language.",aiChangeStylePoeticPrompt:"Recreate this content with a poetic style, using expressive language, rhythm, and imagery to convey the message, without changing the original meaning and language.",aiTranslateToSpanishPrompt:"Translate this content into Spanish, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToFrenchPrompt:"Translate this content into French, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToGermanPrompt:"Translate this content into German, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToItalianPrompt:"Translate this content into Italian, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToPortuguesePrompt:"Translate this content into Portuguese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToEnglishPrompt:"Translate this content into English, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToChinesePrompt:"Translate this content into Chinese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToJapanesePrompt:"Translate this content into Japanese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToKoreanPrompt:"Translate this content into Korean, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToRussianPrompt:"Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToArabicPrompt:"Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning."},r.Icon.set("ai-assistant",a.default),r.Icon.set("ai-commands",s.default),o.Config.prototype.controls["ai-commands"]={isDisabled(t){return!t.o.aiAssistant.aiAssistantCallback},tooltip:"AI Commands",list:l,exec:(t,i,{control:n})=>{t.e.fire("generateAiAssistantForm.ai-assistant",n.name)}},o.Config.prototype.controls["ai-assistant"]={isDisabled(t){return!t.o.aiAssistant.aiAssistantCallback},hotkeys:["ctrl+a+i","cmd+a+i"],tooltip:"AI Assistant",exec:(t,i,n)=>{t.e.fire("generateAiAssistantForm.ai-assistant")}}},32118:function(t,i,n){"use strict";n.d(i,{elementsMap:function(){return o}});let r=new WeakMap,o=t=>{let i=r.get(t);return i||(i={},r.set(t,i)),i}},32172:function(t,i){"use strict";i.default={"copy-format":"format kopii"}},32309:function(t,i,n){"use strict";var r=n(580),o=n(21537),s=n(43649);n(37585),r.pluginSystem.add("mobile",function(t){let i=0,n=(0,o.splitArray)(t.o.buttons);t.o.mobileTapTimeout&&t.e.on("touchend",n=>{if(n.changedTouches&&n.changedTouches.length){let r=new Date().getTime(),o=r-i;o>t.o.mobileTapTimeout&&(i=r,o<1.5*t.o.mobileTapTimeout&&t.s.insertCursorAtPoint(n.clientX,n.clientY))}}),t.e.on("getDiffButtons.mobile",i=>{if(i===t.toolbar){let i=(0,s.flatButtonsSet)((0,o.splitArray)(t.o.buttons),t),r=(0,s.flatButtonsSet)(n,t);return(0,o.toArray)(i).reduce((t,i)=>(r.has(i)||t.push(i),t),[])}}),t.o.toolbarAdaptive&&t.e.on("resize afterInit recalcAdaptive changePlace afterAddPlace",()=>{var i,r;if(!t.o.toolbar)return;let s=(null!=(i=t.container.parentElement)?i:t.container).offsetWidth,a=t.isFullSize||s>=t.o.sizeLG?(0,o.splitArray)(t.o.buttons):s>=t.o.sizeMD?(0,o.splitArray)(t.o.buttonsMD):s>=t.o.sizeSM?(0,o.splitArray)(t.o.buttonsSM):(0,o.splitArray)(t.o.buttonsXS);a.toString()!==n.toString()&&(n=a,t.e.fire("closeAllPopups"),null==(r=t.toolbar)||r.setRemoveButtons(t.o.removeButtons).build(n.concat(t.o.extraButtons)))}).on(t.ow,"load resize",()=>t.e.fire("recalcAdaptive"))})},32496:function(t,i,n){"use strict";n(6441).Config.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:function(t,i,n){"use strict";n.d(i,{UiAiAssistant:function(){return d}});var r=n(87325),o=n(37133),s=n(2748),a=n(70799),l=n(67510),u=n(48538),c=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let d=class t extends u.UIElement{className(){return"UIAiAssistant"}render(){return`<div>
152
+ </div>`}onStateAlignChange(){this.getElm("align").value=this.state.values.align}onChangeAlign(){let t=this.getElm("align");this.state.values.align=t.value}onStateValuesBorderRadiusChange(){this.getElm("borderRadius").value=this.state.values.borderRadius.toString()}onChangeBorderRadius(){let t=this.getElm("borderRadius");this.state.values.borderRadius=parseFloat(t.value)}onStateValuesIdChange(){this.getElm("id").value=this.state.values.id}onChangeId(){let t=this.getElm("id");this.state.values.id=t.value}onStateValuesStyleChange(){this.getElm("style").value=this.state.values.style}onChangeStyle(){let t=this.getElm("style");this.state.values.style=t.value}onStateValuesClassesChange(){this.getElm("classes").value=this.state.values.classes}onChangClasses(){let t=this.getElm("classes");this.state.values.classes=t.value}onLockMarginClick(t){this.state.marginIsLocked=!this.state.marginIsLocked,t.preventDefault()}onChangeMarginIsLocked(){let t=this.getElm("marginBottom"),i=this.getElm("marginRight"),n=this.getElm("marginLeft"),r=this.getElm("lockMargin");if([i,t,n].forEach(t=>{(0,u.attr)(t,"disabled",this.state.marginIsLocked||null)}),r.innerHTML=d.Icon.get(this.state.marginIsLocked?"lock":"unlock"),this.state.marginIsLocked){let t=this.state.values.marginTop;this.state.values.marginRight=t,this.state.values.marginBottom=t,this.state.values.marginLeft=t}}onStateValuesMarginChange(){let t=this.getElm("marginTop"),i=this.getElm("marginRight"),n=this.getElm("marginBottom"),r=this.getElm("marginLeft");t.value=this.state.values.marginTop.toString(),i.value=this.state.values.marginRight.toString(),n.value=this.state.values.marginBottom.toString(),r.value=this.state.values.marginLeft.toString()}onChangeMargin(){let t=this.getElm("marginTop"),i=this.getElm("marginRight"),n=this.getElm("marginBottom"),r=this.getElm("marginLeft");this.state.values.marginTop=(0,h.normalSizeFromString)(t.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,h.normalSizeFromString)(i.value),this.state.values.marginBottom=(0,h.normalSizeFromString)(n.value),this.state.values.marginLeft=(0,h.normalSizeFromString)(r.value))}hideFieldByOptions(){let t=this.j.o.image;[["editMargins","editMargins"],["editAlign","editAlign"],["editStyle","editStyle"],["editClass","editClass"],["editId","editId"],["editBorderRadius","editBorderRadius"]].forEach(([i,n])=>{let r=this.getElm(n);(0,a.css)(r,"display",t[i]?null:"none")})}constructor(t,i,n){super(t,{availableClasses:t.o.image.availableClasses}),this.state=i,this.handlers=n}};p([(0,o.hook)("ready"),(0,s.watch)("state.values.align")],f.prototype,"onStateAlignChange",null),p([(0,s.watch)("align:change")],f.prototype,"onChangeAlign",null),p([(0,o.hook)("ready"),(0,s.watch)("state.values.borderRadius")],f.prototype,"onStateValuesBorderRadiusChange",null),p([(0,s.watch)("borderRadius:change")],f.prototype,"onChangeBorderRadius",null),p([(0,o.hook)("ready"),(0,s.watch)("state.values.id")],f.prototype,"onStateValuesIdChange",null),p([(0,s.watch)("id:change")],f.prototype,"onChangeId",null),p([(0,o.hook)("ready"),(0,s.watch)("state.values.style")],f.prototype,"onStateValuesStyleChange",null),p([(0,s.watch)("style:change")],f.prototype,"onChangeStyle",null),p([(0,o.hook)("ready"),(0,s.watch)("state.values.classes")],f.prototype,"onStateValuesClassesChange",null),p([(0,s.watch)("classes:change")],f.prototype,"onChangClasses",null),p([(0,s.watch)("lockMargin:click")],f.prototype,"onLockMarginClick",null),p([(0,o.hook)("ready"),(0,s.watch)("state.marginIsLocked")],f.prototype,"onChangeMarginIsLocked",null),p([(0,o.hook)("ready"),(0,s.watch)(["state.values.marginTop","state.values.marginRight","state.values.marginBottom","state.values.marginLeft"])],f.prototype,"onStateValuesMarginChange",null),p([(0,s.watch)(["marginTop:change","marginRight:change","marginBottom:change","marginLeft:change"])],f.prototype,"onChangeMargin",null),p([(0,o.hook)("ready")],f.prototype,"hideFieldByOptions",null),f=p([r.component],f)},29960:function(t,i,n){"use strict";n.d(i,{attr:function(){return function t(i,n,u){if(!i||!(0,r.isFunction)(i.getAttribute))return null;if(!(0,s.isString)(n))return Object.keys(n).forEach(r=>{let s=n[r];(0,o.isPlainObject)(s)&&"style"===r?(0,l.css)(i,s):("className"===r&&(r="class"),t(i,r,s))}),null;let c=(0,a.CamelCaseToKebabCase)(n);if(/^-/.test(c)){let n=t(i,`data${c}`);if(n)return n;c=c.substr(1)}if(void 0!==u)if(null==u)i.hasAttribute(c)&&i.removeAttribute(c);else{let t=u.toString();return"IMG"===i.nodeName&&("width"===c||"height"===c)&&(t=t.replace("px","")),i.setAttribute(c,t),t}return i.getAttribute(c)}}});var r=n(23282),o=n(72430),s=n(70799),a=n(12475),l=n(41180)},29999:function(t,i,n){"use strict";n.d(i,{asArray:function(){return o}});var r=n(68345);let o=t=>(0,r.isArray)(t)?t:[t]},30389:function(t,i,n){"use strict";n.d(i,{inputValidators:function(){return r},selectValidators:function(){return o}});var r=n(25685),o=n(66465)},30465:function(t,i,n){"use strict";function r(t){return t.files.setMod("active",!0),t.files.setMod("loading",!0),t.dataProvider.items(t.state.currentPath,t.state.currentSource,{sortBy:t.state.sortBy,onlyImages:t.state.onlyImages,filterWord:t.state.filterWord}).then(i=>{i&&(t.state.elements=i,t.state.activeElements=[])}).catch(t.status).finally(()=>t.files.setMod("loading",!1))}n.d(i,{loadItems:function(){return r}})},30592:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"Vonal magass\xe1ga"}},30717:function(t,i,n){"use strict";n.d(i,{applyStylesPro:function(){return r.applyStylesPro}});var r=n(51586);n(31269),n(19606)},30798:function(t,i,n){"use strict";n.r(i),i.default={newline:"newline",delete:"usunąć",space:"przestrzeń","Speech Recognize":"Rozpoznawanie Mowy",Sound:"Dźwięk","Interim Results":"Wyniki Okresowe"}},31105:function(t,i,n){"use strict";n.d(i,{applyStyle:function(){return c}});var r=n(69341),o=n(82758),s=n(2748);function a(t,i){let n=t.s.current();if(!n)return null;if(o.IS_BLOCK.test(i.element))return s.Dom.closest(n,s.Dom.isBlock,t.editor);let r=s.Dom.isElement(n)?n:n.parentNode;for(;r&&r!==t.editor;){if(s.Dom.isElement(r)&&r.nodeName.toLowerCase()===i.element)return r;r=r.parentNode}return null}function l(t,i){for(let n of i)t.classList.remove(n);""===t.className&&t.removeAttribute("class")}function u(t){var i;let n=null==(i=t.classes)?void 0:i.filter(Boolean)[0];return n?{element:t.element,attributes:{class:n}}:{element:t.element}}function c(t,i,n){let c=(0,r.detectActiveStyle)(t,n);c&&(t.s.commitStyle(u(c)),!function(t,i){var n;let r=null==(n=i.classes)?void 0:n.filter(Boolean);if(!r||r.length<=1)return;let u=t.s.current();if(u)if(o.IS_BLOCK.test(i.element)){let i=s.Dom.closest(u,s.Dom.isBlock,t.editor);i&&l(i,r.slice(1))}else{let n=a(t,i);n&&(l(n,r.slice(1)),"span"!==n.nodeName.toLowerCase()||n.attributes.length||s.Dom.unwrap(n))}}(t,c),c===i)||(t.s.commitStyle(u(i)),function(t,i){var n;let r=null==(n=i.classes)?void 0:n.filter(Boolean);if(!r||r.length<=1)return;let o=a(t,i);if(o)for(let t=1;t<r.length;t++)o.classList.add(r[t])}(t,i))}},31151:function(t,i){"use strict";i.default='<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> '},31269:function(t,i,n){"use strict";n.d(i,{calcListLevels:function(){return a}});var r=n(43712),o=n(10058),s=n(97420);function a(t){if(void 0!==t.attributes[o.LEVEL_KEY])return;let i=[(0,r.realPixelIndent)(t)],n=[t],a=t.next;for(;a;){if(a.isElement&&!a.attributes[o.LEVEL_KEY]&&(0,s.isPseudoLeaf)(a)){let t=(0,r.realPixelIndent)(a);t&&(i.push(t),n.push(a))}a=a.next}let l=Math.min(...i.filter(t=>t>0)),u=i.map(t=>Math.ceil(t/10));-1!==u.indexOf(0)&&(u=u.map(t=>t+1)),n.forEach((t,i)=>{t.attributes[o.LEVEL_KEY]=u[i],t.style.add("margin-left",`${Math.max((0,r.realPixelIndent)(t)-10*u[i]/l*40,0)}px`)})}},31356:function(t,i,n){"use strict";n.d(i,{ListReconciler:function(){return r}});class r{static reconcile(t,i,n){let{getId:r,isEqual:o=(t,i)=>r(t)===r(i),preserveOrder:s=!0}=n,a=new Map,l=new Map;t.forEach((t,i)=>{let n=r(t);a.set(n,t),l.set(n,i)});let u=new Map,c=new Map;i.forEach((t,i)=>{let n=r(t);u.set(n,t),c.set(n,i)});let d=[],h=[],p=[],f=[];return i.forEach((t,i)=>{let n=r(t),u=a.get(n);u?!o(u,t)||s&&l.get(n)!==i?h.push({oldItem:u,newItem:t,index:s?i:l.get(n)}):f.push(u):d.push(t)}),t.forEach(t=>{let i=r(t);u.has(i)||p.push(t)}),{toCreate:d,toUpdate:h,toRemove:p,unchanged:f}}static applyResult(t,i,n={}){i.toRemove.forEach(i=>{let r=t.indexOf(i);if(-1!==r){var o;null==(o=n.onRemove)||o.call(n,i,r),t.splice(r,1)}}),i.toUpdate.forEach(({oldItem:i,newItem:r,index:o})=>{let s=t.indexOf(i);if(-1!==s){var a;null==(a=n.onUpdate)||a.call(n,i,r,o),t[s]=r}}),i.toCreate.forEach(i=>{var r;null==(r=n.onCreate)||r.call(n,i,t.length),t.push(i)})}}},31359:function(t,i,n){"use strict";n.d(i,{init:function(){return a}});var r=n(82758),o=n(60132),s=n(14041);function a(t,i,n,a,l,u,c){if((0,o.isInitable)(a))try{a.init(t)}catch(t){if(!r.IS_PROD)throw t}l.set(i,a),u.delete(i),a.hasStyle&&(0,s.loadStyle)(t,i).catch(t=>{r.IS_PROD}),a.styles&&(c(t,i,"style").innerHTML=a.styles)}},31554:function(t,i){"use strict";i.default='<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:function(t,i,n){"use strict";n.d(i,{pasteFromWord:function(){return c}});var r=n(82758),o=n(65478),s=n(580),a=n(21537),l=n(50911);n(71842);var u=n(117);class c extends l.Plugin{afterInit(t){}beforeDestruct(t){}processWordHTML(t,i,n){let{j:r}=this,{processPasteFromWord:o,askBeforePasteFromWord:s,defaultActionOnPasteFromWord:l,defaultActionOnPaste:c,pasteFromWordActionList:d}=r.o;return!!(o&&(0,a.isHtmlFromWord)(i))&&(s?(0,u.askInsertTypeDialog)(r,"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Word Paste Detected",r=>{this.insertFromWordByType(t,i,r,n)},d):this.insertFromWordByType(t,i,l||c,n),!0)}insertFromWordByType(t,i,n,o){var s;switch(n){case r.INSERT_AS_HTML:{i=(0,a.applyStyles)(i);let t=null==(s=this.j.events)?void 0:s.fire("beautifyHTML",i);(0,a.isString)(t)&&(i=t);break}case r.INSERT_AS_TEXT:i=(0,a.cleanFromWord)(i);break;case r.INSERT_ONLY_TEXT:i=(0,a.stripTags)((0,a.cleanFromWord)(i))}(0,u.pasteInsertHtml)(t,this.j,i)}}c.requires=["paste"],function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);s>3&&a&&Object.defineProperty(i,n,a)}([(0,o.watch)(":processHTML")],c.prototype,"processWordHTML",null),s.pluginSystem.add("pasteFromWord",c)},31589:function(t,i,n){"use strict";n.d(i,{nonenumerable:function(){return r}});let r=(t,i)=>{!1!==(Object.getOwnPropertyDescriptor(t,i)||{}).enumerable&&Object.defineProperty(t,i,{enumerable:!1,set(t){Object.defineProperty(this,i,{enumerable:!1,writable:!0,value:t})}})}},31635:function(t,i,n){"use strict";function r(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}n.d(i,{__decorate:function(){return r}}),"function"==typeof SuppressedError&&SuppressedError},31974:function(t,i,n){"use strict";n.d(i,{aiAssitentCommands:function(){return l}});var r=n(12153),o=n(6441),s=n(64488),a=n(23658);let l={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"};o.Config.prototype.aiAssistant={aiCommonPrefixPrompt:"",aiCommonSuffixPrompt:"",aiImproveWritingPrompt:"It needs to be refined for better clarity, coherence, and overall quality. Please enhance the writing style while keeping the original meaning and language intact.",aiMakeShorterPrompt:"Please condense this content to make it more concise, while preserving the key messages, language and information.",aiMakeLongerPrompt:"Expand on this content to provide more detail, depth, and richness, without diverging from the original message and language.",aiSimplifyLanguagePrompt:"The language used here needs to be simplified for easier understanding, without altering the core information and the original language.",aiSummarizePrompt:"Provide a brief summary of this content, capturing the essential points in a concise manner. Preserve the original language and meaning.",aiContinuePrompt:"Continue the narrative or discussion from this content seamlessly, maintaining the same language, tone and style.",aiChangeToneProfessionalPrompt:"Adjust the tone to be professional, suitable for a formal business or academic setting, while retaining the original message and language.",aiChangeToneFriendlyPrompt:"It needs to be rewritten in a friendly tone while maintaining the original message and language. Please modify this content to be warm, approachable, and engaging.",aiChangeToneFormalPrompt:"Transform this content to have a formal tone, appropriate for official or serious contexts, without changing the main points and language.",aiChangeToneCasualPrompt:"Revise this content to have a casual, relaxed tone, making it feel more personal and less formal, without changing the original meaning and language.",aiChangeToneDirectPrompt:"Make the tone more direct, with straightforward language and a clear, assertive approach, without changing the original meaning and language.",aiChangeToneConfidentPrompt:"Infuse this content with a confident tone, showcasing assurance and decisiveness, without changing the original meaning and language.",aiChangeStyleBusinessPrompt:"Rewrite this content with a business-oriented style, focusing on clarity, efficiency, and professionalism, without changing the original meaning and language.",aiChangeStyleLegalPrompt:"Adapt this content to a legal style, incorporating appropriate terminology and formality typical of legal documents, without changing the original meaning and language.",aiChangeStyleJournalismPrompt:"Convert this content into a journalistic style, emphasizing factual accuracy, objectivity, and informative reporting, without changing the original meaning and language.",aiChangeStylePoeticPrompt:"Recreate this content with a poetic style, using expressive language, rhythm, and imagery to convey the message, without changing the original meaning and language.",aiTranslateToSpanishPrompt:"Translate this content into Spanish, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToFrenchPrompt:"Translate this content into French, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToGermanPrompt:"Translate this content into German, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToItalianPrompt:"Translate this content into Italian, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToPortuguesePrompt:"Translate this content into Portuguese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToEnglishPrompt:"Translate this content into English, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToChinesePrompt:"Translate this content into Chinese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToJapanesePrompt:"Translate this content into Japanese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToKoreanPrompt:"Translate this content into Korean, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToRussianPrompt:"Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToArabicPrompt:"Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning."},r.Icon.set("ai-assistant",a.default),r.Icon.set("ai-commands",s.default),o.Config.prototype.controls["ai-commands"]={isDisabled(t){return!t.o.aiAssistant.aiAssistantCallback},tooltip:"AI Commands",list:l,exec:(t,i,{control:n})=>{t.e.fire("generateAiAssistantForm.ai-assistant",n.name)}},o.Config.prototype.controls["ai-assistant"]={isDisabled(t){return!t.o.aiAssistant.aiAssistantCallback},hotkeys:["ctrl+a+i","cmd+a+i"],tooltip:"AI Assistant",exec:(t,i,n)=>{t.e.fire("generateAiAssistantForm.ai-assistant")}}},32118:function(t,i,n){"use strict";n.d(i,{elementsMap:function(){return o}});let r=new WeakMap,o=t=>{let i=r.get(t);return i||(i={},r.set(t,i)),i}},32172:function(t,i){"use strict";i.default={"copy-format":"format kopii"}},32309:function(t,i,n){"use strict";var r=n(580),o=n(21537),s=n(43649);n(37585),r.pluginSystem.add("mobile",function(t){let i=0,n=(0,o.splitArray)(t.o.buttons);t.o.mobileTapTimeout&&t.e.on("touchend",n=>{if(n.changedTouches&&n.changedTouches.length){let r=new Date().getTime(),o=r-i;o>t.o.mobileTapTimeout&&(i=r,o<1.5*t.o.mobileTapTimeout&&t.s.insertCursorAtPoint(n.clientX,n.clientY))}}),t.e.on("getDiffButtons.mobile",i=>{if(i===t.toolbar){let i=(0,s.flatButtonsSet)((0,o.splitArray)(t.o.buttons),t),r=(0,s.flatButtonsSet)(n,t);return(0,o.toArray)(i).reduce((t,i)=>(r.has(i)||t.push(i),t),[])}}),t.o.toolbarAdaptive&&t.e.on("resize afterInit recalcAdaptive changePlace afterAddPlace",()=>{var i,r;if(!t.o.toolbar)return;let s=(null!=(i=t.container.parentElement)?i:t.container).offsetWidth,a=t.isFullSize||s>=t.o.sizeLG?(0,o.splitArray)(t.o.buttons):s>=t.o.sizeMD?(0,o.splitArray)(t.o.buttonsMD):s>=t.o.sizeSM?(0,o.splitArray)(t.o.buttonsSM):(0,o.splitArray)(t.o.buttonsXS);a.toString()!==n.toString()&&(n=a,t.e.fire("closeAllPopups"),null==(r=t.toolbar)||r.setRemoveButtons(t.o.removeButtons).build(n.concat(t.o.extraButtons)))}).on(t.ow,"load resize",()=>t.e.fire("recalcAdaptive"))})},32496:function(t,i,n){"use strict";n(6441).Config.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:function(t,i,n){"use strict";n.d(i,{UiAiAssistant:function(){return d}});var r=n(87325),o=n(37133),s=n(2748),a=n(70799),l=n(67510),u=n(48538),c=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let d=class t extends u.UIElement{className(){return"UIAiAssistant"}render(){return`<div>
153
153
  <div class="&__container">
154
154
  <div class="&__error"></div>
155
155
  <div class="&__body"></div>
@@ -217,13 +217,13 @@ ${s}`.trim();n?yield this.__executeQuickCommandSilent(u,s):yield this.__executeQ
217
217
  <div class="&__empty-message">~There are no files~</div>
218
218
  <div class='&__loader'></div>
219
219
  <div class='&__drag-area'>~Drop image~</div>
220
- </div>`}reconcile(t){let i=this.elements.findIndex((i,n)=>!t[n]||i.item.uniqueHashKey!==u.FileBrowserItem.create(t[n]).uniqueHashKey);if(i>-1){for(let t=i;t<this.elements.length;t+=1)this.elements[t].destruct();this.elements.length=i}return i}build(t){let i=this.reconcile(t);t.slice(i>-1?i:this.elements.length).forEach(t=>{let i=new c.UIBrowserItem(this.jodit,t);Object.keys(this.mods).forEach(t=>{i.setMod(t,this.mods[t])}),this.append(i)}),this.setMod("empty",!this.elements.length)}onScrollLoadChunk(){!this.stateManager.isFavoriteItems&&this.container.scrollHeight-(this.container.scrollTop+this.container.offsetHeight)<this.j.o.pixelOffsetLoadNewChunk&&this.j.loadingManager.loadItemsChunk()}onDragOver(t){t.preventDefault(),this.setMod("dragover",!0)}onDragLeave(t){t.preventDefault(),this.setMod("dragover",!1)}addItemsSelector(){d.UISelectItems.install(this)}static intersectRect(t,i){return!(i.left>t.left+t.width||i.left+i.width<t.left||i.top>t.top+t.height||i.top+i.height<t.top)}onSelectItems(t){let i=[];this.elements.forEach(n=>{let r=(0,a.position)(n.container);h.intersectRect(r,t)&&i.push(n.item)}),this.stateManager.state.activeElements=i}constructor(t,i){super(t),(0,r._)(this,"stateManager",void 0),(0,r._)(this,"syncMod",void 0),this.stateManager=i,this.syncMod=!0,this.addItemsSelector()}}(0,o.__decorate)([(0,s.watch)(":afterResize"),(0,s.watch)(":resize"),(0,s.watch)("container:scroll"),(0,s.throttle)()],h.prototype,"onScrollLoadChunk",null),(0,o.__decorate)([(0,s.watch)("container:dragover")],h.prototype,"onDragOver",null),(0,o.__decorate)([(0,s.watch)(["container:dragleave","container:drop"])],h.prototype,"onDragLeave",null),h=(0,o.__decorate)([s.component],h)},43809:function(t,i,n){"use strict";var r=n(65478),o=n(580),s=n(29960),a=n(50911);n(99085);var l=n(26529);class u extends a.Plugin{afterInit(t){t.e.on("afterInit afterAddPlace prepareWYSIWYGEditor",this.toggleSpellcheck),this.toggleSpellcheck(),t.registerCommand("toggleSpellcheck",()=>{this.jodit.o.spellcheck=!this.jodit.o.spellcheck,this.toggleSpellcheck(),this.j.e.fire("updateToolbar")})}toggleSpellcheck(){(0,s.attr)(this.jodit.editor,"spellcheck",this.jodit.o.spellcheck)}beforeDestruct(t){}constructor(t){super(t),this.buttons=[{group:"state",name:"spellcheck"}],(0,o.extendLang)(l)}}!function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);s>3&&a&&Object.defineProperty(i,n,a)}([r.autobind],u.prototype,"toggleSpellcheck",null),o.pluginSystem.add("spellcheck",u)},44245:function(t,i,n){"use strict";n.d(i,{insertParagraph:function(){return s}});var r=n(2748),o=n(26395);function s(t,i,n,s){let a="br"===n.toLowerCase(),{createInside:l}=i,u=l.element(n),c=l.element("br");return a||u.appendChild(c),s&&s.cssText&&u.setAttribute("style",s.cssText),r.Dom.after(t,u),r.Dom.before(a?u:c,t),(0,o.scrollIntoViewIfNeeded)(u,i.editor,i.ed),u}},44253:function(t,i,n){"use strict";n.d(i,{toggleAttributes:function(){return g}});var r=n(82758),o=n(2748),s=n(580),a=n(27613),l=n(3760),u=n(21496),c=n(12475),d=n(43555),h=n(41180),p=n(86583),f=n(77361);let m="toggleAttributes";function g(t,i,n,v,y=!1){if(!y&&t.isApplied(i,m))return v;y||t.setApplied(i,m);let{attributes:_}=t.options;return _&&(0,u.size)(_)>0&&Object.keys(_).forEach(m=>{var g,C,w;let F=_[m];switch(m){case"style":g=v,(0,d.assert)((0,a.isPlainObject)(F)&&(0,u.size)(F),"Style must be an object"),Object.keys(F).forEach(a=>{let u=i.style.getPropertyValue((0,c.kebabCase)(a)),d=F[a];if(""!==u||null!=d){let c,m;if((c=n.create.element(i.tagName.toLowerCase())).style.cssText=i.style.cssText,(function(t){var i;if(void 0!==(0,p.dataBind)(t,"shadowRoot"))return(0,p.dataBind)(t,"shadowRoot");let n=(0,s.getContainer)(t),o=r.globalDocument.createElement("iframe");(0,h.css)(o,{width:0,height:0,position:"absolute",border:0}),o.src="about:blank",n.appendChild(o);let a=null==(i=o.contentWindow)?void 0:i.document,l=a?a.body:t.od.body;return(0,p.dataBind)(t,"shadowRoot",l),l})(n).appendChild(c),m=(0,h.css)(c,a),o.Dom.safeRemove(c),m===(0,l.normalizeCssValue)(a,d)){if(!u)return;y||(0,h.css)(i,a,null),g=b(t,i,g=f.UNSET);return}g=f.CHANGE,y||((0,h.css)(i,a,d),g=b(t,i,g))}}),v=g;break;case"className":case"class":let E;C=v,(0,d.assert)((0,a.isString)(F),"Class name must be a string"),E=n.e.fire.bind(n.e,`${f._PREFIX}AfterToggleAttribute`),i.classList.contains(F.toString())?(C=f.UNSET,y||(i.classList.remove(F),0===i.classList.length&&((0,d.attr)(i,"class",null),E(C,i,"class",null)))):(C=f.CHANGE,y||(i.classList.add(F),E(C,i,"class",F))),v=C;break;default:let k;w=v,(0,d.assert)((0,a.isString)(F)||(0,a.isNumber)(F)||(0,a.isBoolean)(F)||null==F,"Attribute value must be a string or number or boolean or null"),k=n.e.fire.bind(n.e,`${f._PREFIX}AfterToggleAttribute`),(0,d.attr)(i,m)===F?(y||(0,d.attr)(i,m,null),w=f.UNSET,y||k(w,i,m,F)):(w=f.CHANGE,y||((0,d.attr)(i,m,F),k(w,i,m,F))),v=w}}),v}function b(t,i,n){return(0,d.attr)(i,"style")||((0,d.attr)(i,"style",null),i.tagName.toLowerCase()===t.defaultTag&&(o.Dom.unwrap(i),n=f.UNWRAP)),n}},44328:function(t,i,n){"use strict";n.r(i),i.default={symbols:"Sembol"}},44330:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M832 1408l336-384h-768l-336 384h768zm1013-1077q15 34 9.5 71.5t-30.5 65.5l-896 1024q-38 44-96 44h-768q-38 0-69.5-20.5t-47.5-54.5q-15-34-9.5-71.5t30.5-65.5l896-1024q38-44 96-44h768q38 0 69.5 20.5t47.5 54.5z"/> </svg> '},44450:function(t,i,n){"use strict";function r(t,i,n){return t.dataProvider.fileRemove(t.state.currentPath,i,n).then(n=>{t.status(n||t.i18n('File "%s" was deleted',i),!0)}).catch(t.status)}n.d(i,{deleteFile:function(){return r}})},44506:function(t,i,n){"use strict";n.d(i,{getContentWidth:function(){return r}});let r=(t,i)=>{let n=i.getComputedStyle(t);return t.offsetWidth-parseInt(n.getPropertyValue("padding-left")||"0",10)-parseInt(n.getPropertyValue("padding-right")||"0",10)}},44526:function(t,i,n){"use strict";n.d(i,{resolveBlock:function(){return o}});var r=n(22732);function o(t,{selector:i,index:n,requireExactlyOne:s=!1}={}){let a=null!=i,l=null!=n;if(s&&a===l)throw Error("Either index or selector must be provided, but not both");if(!a&&!l)throw Error("Block identifier is required");if(a){if("string"!=typeof i)throw Error("Selector must be a string");let n=t.editor.querySelector(i);if(!n)throw Error(`No element found matching selector "${i}"`);if(!r.Dom.isElement(n))throw Error(`Selector "${i}" does not point to an element node`);return{element:n,identifier:`with selector "${i}"`}}if("number"!=typeof n)throw Error("Block index must be a number");let u=Array.from(t.editor.children);if(n<0||n>=u.length)throw Error(`Block index ${n} is out of range. Document has ${u.length} blocks`);let c=u[n];if(!r.Dom.isElement(c))throw Error(`Block at index ${n} is not a valid element`);return{element:c,identifier:`at index ${n}`}}},44586:function(t,i,n){"use strict";n(6441).Config.prototype.draggableTags=["img","jodit-media","jodit"]},44602:function(t,i,n){"use strict";n.d(i,{getSuitParent:function(){return function t(i,n,a){let{parentNode:l}=n;return l===a||!r.Dom.isHTMLElement(l)||r.Dom.next(n,o.isNormalNode,l)||r.Dom.prev(n,o.isNormalNode,l)?null:i.isElementCommit&&i.elementIsBlock&&!r.Dom.isBlock(l)?t(i,l,a):(0,s.isSuitElement)(i,l,!1)&&(!r.Dom.isBlock(l)||i.elementIsBlock)?l:i.isElementCommit&&!r.Dom.isBlock(l)?t(i,l,a):null}}});var r=n(2748),o=n(29136),s=n(97380)},44710:function(t,i,n){"use strict";n.d(i,{buildQuery:function(){return o}});var r=n(72430);let o=(t,i)=>{let n=[],s=encodeURIComponent;for(let a in t)if(Object.prototype.hasOwnProperty.call(t,a)){let l=i?i+"["+a+"]":a,u=t[a];n.push((0,r.isPlainObject)(u)?o(u,l):s(l)+"="+s(u))}return n.join("&")}},44730:function(t,i,n){"use strict";n.r(i),i.default={symbols:"caract\xe8re"}},44850:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"Helyes\xedr\xe1s-ellenőrz\xe9s"}},44864:function(t,i,n){"use strict";var r=n(77688),o=n(82749),s=n(56075),a=n(31635);n(53586);var l=n(83725),u=n(64199),c=n(82758),d=n(65478),h=n(2748),p=n(21537),f=n(50911),m=n(56917),g=n(2692);class b extends f.Plugin{get list(){return new l.Autocomplete(this.jodit)}get popup(){let t=new m.Popup(this.jodit);return t.setMod("padding",!1),t.setContent(this.list.container),this.jodit.e.on(t,"beforeClose",()=>{this.list.currentSelection=0}),t}afterInit(t){t.e.on("select.autocomplete",i=>{let n=i.value;(0,p.isFunction)(i.insertValueRenderer)&&(n=i.insertValueRenderer(i)),h.Dom.isNode(n)||(n=t.createInside.fromHTML(n)),(0,u.replaceTextLeftOfCursorAfterSpace)(t.s.range,n),this.j.s.setCursorAfter(n),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(t){this.sources.push(t)}unregisterAutocompleteSource(t){let i=this.sources.indexOf(t);-1!==i&&this.sources.splice(i,1)}static isControlKey(t){return t===c.KEY_DOWN||t===c.KEY_UP||t===c.KEY_ENTER||t===c.KEY_TAB}onKeyDown(t){return(0,r._)(function*(){var i,n;if(t.key===c.KEY_ESC){this.popup.isOpened&&this.popup.close();return}let{s:r}=this.j;if(b.isControlKey(t.key)||!r.isInsideArea||!r.isCollapsed)return;let o=(null==(i=this.j.s.sel)?void 0:i.rangeCount)?null==(n=this.j.s.sel)?void 0:n.getRangeAt(0):null,s=o&&(0,u.getTextLeftOfCursor)(o).split(" ").pop();if(s&&(0,p.trim)(s).length){let t=yield this.onAutoComplete(s);if(t.length)return this.openPopup(t)}this.popup.isOpened&&this.popup.close()}).call(this)}onKeyControlDown(t){if(this.popup.isOpened&&b.isControlKey(t.key)){switch(t.key){case c.KEY_DOWN:this.list.selectNext();break;case c.KEY_UP:this.list.selectPrevious();break;case c.KEY_TAB:this.list.select()}return this.j.e.stopPropagation(t.type),!1}}onEnter(){if(this.popup.isOpened)return this.list.select(),!1}onAutoComplete(t){return(0,r._)(function*(){let i=[];return yield Promise.all(this.sources.concat(this.j.o.autocomplete.sources).map(n=>(0,r._)(function*(){i.push(...yield this.resolveFeed(t,n))}).call(this))),i}).call(this)}resolveFeed(t,i,n){return(0,r._)(function*(){let r;if((0,p.isPromise)(i)&&(i=yield i),(0,p.isFunction)(i))r=yield i(t);else if((0,p.isArray)(i)){let n=i,{isMatchedQuery:o}=this.j.o.autocomplete;r=n.filter(i=>(0,p.isString)(i)?o(t,i):o(t,i.value)).map(t=>(0,p.isString)(t)?{title:t,value:t}:t)}else r=yield this.resolveFeed(t,i.feed,i);if(this.j.isDestructed)return[];if(r&&(0,p.isArray)(r)){let{itemRenderer:t,insertValueRenderer:i,maxItems:o}=this.j.o.autocomplete;return(r=r.map(r=>{var o,a;return(0,s._)({itemRenderer:null!=(o=null==n?void 0:n.itemRenderer)?o:t,insertValueRenderer:null!=(a=null==n?void 0:n.insertValueRenderer)?a:i},r)})).slice(0,o)}return[]}).call(this)}openPopup(t){this.list.build(t),this.popup.open(()=>{let{j:t}=this,i=t.s.range.getBoundingClientRect(),n={left:i.left,top:i.top,height:i.height,width:i.width};if(t.o.iframe&&t.iframe){let i=(0,p.position)(t.iframe,t);n.top+=i.top,n.left+=i.left}return n})}beforeDestruct(t){t.e.off(this.list).off(this.popup).off("keydown.autocomplete",this.onKeyDown).off("autocomplete.autocomplete",this.onAutoComplete).off(".autocomplete"),this.list.destruct(),this.popup.destruct()}constructor(...t){super(...t),(0,o._)(this,"hasStyle",!g.JoditPro.fatMode),(0,o._)(this,"sources",[])}}(0,o._)(b,"requires",["enter","license"]),(0,a.__decorate)([d.cache],b.prototype,"list",null),(0,a.__decorate)([d.cache],b.prototype,"popup",null),(0,a.__decorate)([d.autobind],b.prototype,"registerAutocompleteSource",null),(0,a.__decorate)([d.autobind],b.prototype,"unregisterAutocompleteSource",null),(0,a.__decorate)([(0,d.debounce)()],b.prototype,"onKeyDown",null),(0,a.__decorate)([d.autobind],b.prototype,"onKeyControlDown",null),(0,a.__decorate)([d.autobind],b.prototype,"onEnter",null),(0,a.__decorate)([d.autobind],b.prototype,"onAutoComplete",null),(0,a.__decorate)([d.autobind],b.prototype,"resolveFeed",null),g.JoditPro.plugins.add("autocomplete",b)},45124:function(t,i,n){"use strict";n.d(i,{cursorInTheEdgeOfString:function(){return a},findCorrectCurrentNode:function(){return l},moveNodeInsideStart:function(){return s.moveNodeInsideStart}});var r=n(82758),o=n(2748),s=n(26716);function a(t,i,n,o){var s;let a=(null==(s=t.nodeValue)?void 0:s.length)?t.nodeValue:"";if(o&&a.replace((0,r.INVISIBLE_SPACE_REG_EXP_END)(),"").length>i)return!0;let l=(0,r.INVISIBLE_SPACE_REG_EXP_START)().exec(a);return n&&(l&&l[0].length<i||!l&&i>0)}function l(t,i,n,r,s,a){if((t=i.startContainer.childNodes[i.startOffset])||(t=i.startContainer.childNodes[i.startOffset-1],n=!0),t&&r&&!o.Dom.isText(t)){if(!n&&o.Dom.isText(t.previousSibling))t=t.previousSibling;else if(s){let i=a(t);for(;i;){if(i&&o.Dom.isText(i)){t=i;break}i=a(i)}}}if(t&&!r&&!o.Dom.isText(t)){let i=t,n=t;do i=i.firstChild,n=n.lastChild;while(i&&n&&!o.Dom.isText(i));i===n&&i&&o.Dom.isText(i)&&(t=i)}return{node:t,rightMode:n}}n(43463)},45128:function(t,i,n){"use strict";n.d(i,{ColorInput:function(){return p}});var r=n(82749),o=n(31635),s=n(46146),a=n(82758),l=n(65478),u=n(21537),c=n(38837),d=n(67510),h=n(41409);class p extends d.UIInput{className(){return"ColorInput"}afterSetMode(t,i){"slim"===t&&i&&this.nativeInput.setAttribute("readonly","true")}onChangeSelfValue(){this.nativeInput.style.backgroundColor=this.value}onEscKeyDown(t){if(t.key===a.KEY_ESC){var i;null==(i=this.popup)||i.close()}}constructor(t,i){super(t,i),(0,r._)(this,"trigger",void 0),(0,r._)(this,"popup",void 0);const n=new d.Popup(t);this.popup=n,this.trigger=(0,d.Button)(this.j,"ok");const o=this.getElm("wrapper");(0,c.assert)(null!=o,"wrapper element does not exist"),o.appendChild(this.trigger.container),this.trigger.container.classList.add(this.getFullElName("trigger")),this.trigger.onAction(()=>{var t,i;null==(t=(i=this.state).onChange)||t.call(i,this.value),n.close()}),n.setMod("padding",!1).setMod("max-height",!1);const a=this.j.create.div(this.getFullElName("picker")),l=s.createPicker(a,{paletteEditable:!0,showAlpha:!0,palette:"PALETTE_MATERIAL_CHROME"}).on("change",(t,i)=>{this.isFocused||(this.value=s.parseColor(i||"","hex"))});this.j.e.on(this,"change",()=>{let t;t=this.value,s.parseColor(t,"hex")!==l.color&&(l.color=this.value)}),n.setContent(a),this.j.e.on(this.nativeInput,"click",()=>{n.parentElement=this,this.jodit instanceof h.Dialog&&n.setZIndex(this.jodit.getZIndex()+1),n.open(()=>(0,u.position)(this.container))}),this.onChangeValue(),this.onChangeSelfValue()}}(0,o.__decorate)([(0,l.watch)(":change")],p.prototype,"onChangeSelfValue",null),(0,o.__decorate)([(0,l.watch)("nativeInput:keydown")],p.prototype,"onEscKeyDown",null),p=(0,o.__decorate)([l.component],p)},45198:function(t,i,n){"use strict";n.r(i),n.d(i,{ar:function(){return o.a},cs_cz:function(){return a.a},de:function(){return u.a},es:function(){return d.a},fa:function(){return p.a},fr:function(){return m.a},he:function(){return b.a},hu:function(){return y.a},id:function(){return C.a},it:function(){return F.a},ja:function(){return k.a},ko:function(){return A.a},nl:function(){return x.a},pl:function(){return B.a},pt_br:function(){return j.a},ru:function(){return L.a},tr:function(){return M.a},zh_cn:function(){return O.a},zh_tw:function(){return H.a}});var r=n(7085),o=n.n(r),s=n(42350),a=n.n(s),l=n(53189),u=n.n(l),c=n(48154),d=n.n(c),h=n(59551),p=n.n(h),f=n(41858),m=n.n(f),g=n(78777),b=n.n(g),v=n(25321),y=n.n(v),_=n(27847),C=n.n(_),w=n(23287),F=n.n(w),E=n(73035),k=n.n(E),S=n(97028),A=n.n(S),D=n(26436),x=n.n(D),I=n(6602),B=n.n(I),T=n(86401),j=n.n(T),P=n(54023),L=n.n(P),R=n(8432),M=n.n(R),z=n(58366),O=n.n(z),N=n(46954),H=n.n(N)},45219:function(t,i,n){"use strict";n.d(i,{autobind:function(){return o}});var r=n(23282);function o(t,i,n){if(!(0,r.isFunction)(n.value))throw TypeError(`@autobind can only be applied to methods, but "${i}" is not a function`);let o=n.value;return{configurable:!0,get(){let t=o.bind(this);return Object.defineProperty(this,i,{value:t,configurable:!0,writable:!0}),t}}}},45235:function(t,i,n){"use strict";n.r(i),n.d(i,{allowAttributes:function(){return r.allowAttributes},fillEmptyParagraph:function(){return o.fillEmptyParagraph},removeEmptyTextNode:function(){return s.removeEmptyTextNode},removeInvTextNodes:function(){return a.removeInvTextNodes},replaceOldTags:function(){return l.replaceOldTags},sanitizeAttributes:function(){return u.sanitizeAttributes},tryRemoveNode:function(){return c.tryRemoveNode}});var r=n(82558),o=n(39433),s=n(53392),a=n(25813),l=n(80973),u=n(384),c=n(28800)},45575:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M1600 736v192q0 40-28 68t-68 28h-416v416q0 40-28 68t-68 28h-192q-40 0-68-28t-28-68v-416h-416q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h416v-416q0-40 28-68t68-28h192q40 0 68 28t28 68v416h416q40 0 68 28t28 68z"/></svg> '},45603:function(t,i,n){"use strict";n.d(i,{isLicense:function(){return o}});var r=n(70799);let o=t=>(0,r.isString)(t)&&23===t.length&&/^[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}$/i.test(t)},45632:function(t,i,n){"use strict";var r=n(82749),o=n(31635);n(82158);var s=n(82520),a=n(35987),l=n(65478),u=n(2748),c=n(50911),d=n(62843),h=n(78584),p=n(2692);class f extends c.Plugin{afterInit(t){t.e.on("toggleButtonGenerator",this.toggleButtonGenerator).on("isButtonGeneratorOpened",()=>{var t;return null==(t=this.__dialog)?void 0:t.isOpened})}toggleButtonGenerator(t){this.__dialog||(this.__dialog=new h.Dialog({language:this.j.o.language,theme:this.j.o.theme}),this.__ui=new a.UIButtonGenerator(this.__dialog),this.__dialog.setHeader("Button Generator").setContent(this.__ui).setSize(730,700)),t&&!u.Dom.isTag(t,new Set(["button","a"]))&&(t=void 0);let i=this.__ui,n=this.__dialog;n.isOpened?n.close():(t&&s.UIGButton.extractStyle(i.state,t),i.target=t,i.update(),n.setFooter([(0,d.Button)(n,"cancel","Cancel","default").onAction(()=>n.close()),(0,d.Button)(n,"ok",t?"Update":"Insert","primary").onAction(()=>{t||(t=this.j.createInside.element(i.state.href?"a":"button"),this.j.s.insertNode(t,!0,!1)),s.UIGButton.applyStyle(i.state,t),t.className=i.state.className||"",this.jodit.e.fire("synchro"),n.close()})]).open())}onDblClick(t){u.Dom.isTag(t.target,"button")&&this.toggleButtonGenerator(t.target)}beforeDestruct(t){var i;null==(i=this.__dialog)||i.destruct()}constructor(...t){super(...t),(0,r._)(this,"hasStyle",!p.JoditPro.fatMode),(0,r._)(this,"buttons",[{group:"form",name:"buttonGenerator"}]),(0,r._)(this,"__dialog",void 0),(0,r._)(this,"__ui",void 0)}}(0,r._)(f,"requires",["license","color-picker"]),(0,o.__decorate)([l.autobind],f.prototype,"toggleButtonGenerator",null),(0,o.__decorate)([(0,l.watch)(":dblclick")],f.prototype,"onDblClick",null),p.JoditPro.plugins.add("button-generator",f)},45927:function(t,i,n){"use strict";var r=n(65478),o=n(580),s=n(84767),a=n(41180),l=n(20356);n(80792);var u=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class c extends l.Plugin{afterInit(t){t.e.on("setHeight.size",this.__setHeight).on("setWidth.size",this.__setWidth).on("afterInit.size changePlace.size",this.__initialize,{top:!0}).on(t.ow,"load.size",this.__resizeWorkspaces).on("afterInit.size resize.size afterUpdateToolbar.size scroll.size afterResize.size",this.__resizeWorkspaces).on("toggleFullSize.size toggleToolbar.size",this.__resizeWorkspaceImd),this.__immediateInitialize()}__initialize(){this.__immediateInitialize()}__immediateInitialize(){let{j:t}=this;if(t.o.inline)return;let{height:i}=t.o;if(t.o.saveHeightInStorage&&"auto"!==i){let n=t.storage.get("height");n&&(i=n)}(0,a.css)(t.editor,{minHeight:"100%"}),(0,a.css)(t.container,{minHeight:t.o.minHeight,maxHeight:t.o.maxHeight,minWidth:t.o.minWidth,maxWidth:t.o.maxWidth}),t.isFullSize||(this.__setHeight(i),this.__setWidth(t.o.width))}__setHeight(t){let{clientHeight:i,clientWidth:n}=this.j.container;if((0,s.isNumber)(t)){let{minHeight:i,maxHeight:n}=this.j.o;(0,s.isNumber)(i)&&i>t&&(t=i),(0,s.isNumber)(n)&&n<t&&(t=n)}(0,a.css)(this.j.container,"height",t),this.j.o.saveHeightInStorage&&this.j.storage.set("height",t),this.__resizeWorkspaceImd({clientHeight:i,clientWidth:n})}__setWidth(t){let{clientHeight:i,clientWidth:n}=this.j.container;if((0,s.isNumber)(t)){let{minWidth:i,maxWidth:n}=this.j.o;(0,s.isNumber)(i)&&i>t&&(t=i),(0,s.isNumber)(n)&&t>n&&(t=n)}(0,a.css)(this.j.container,"width",t),this.__resizeWorkspaceImd({clientHeight:i,clientWidth:n})}__getNotWorkHeight(){var t,i;return((null==(t=this.j.toolbarContainer)?void 0:t.offsetHeight)||0)+((null==(i=this.j.statusbar)?void 0:i.getHeight())||0)+2}__resizeWorkspaceImd({clientHeight:t,clientWidth:i}=this.j.container){if(!this.j||this.j.isDestructed||!this.j.o||this.j.o.inline||!this.j.container||!this.j.container.parentNode)return;let n=((0,a.css)(this.j.container,"minHeight")||0)-this.__getNotWorkHeight();if((0,s.isNumber)(n)&&n>0&&([this.j.workplace,this.j.currentPlace.slots.center,this.j.iframe,this.j.editor].map(t=>{t&&(0,a.css)(t,"minHeight",n)}),this.j.e.fire("setMinHeight",n)),(0,s.isNumber)(this.j.o.maxHeight)){let t=this.j.o.maxHeight-this.__getNotWorkHeight();[this.j.workplace,this.j.currentPlace.slots.center,this.j.iframe,this.j.editor].map(i=>{i&&(0,a.css)(i,"maxHeight",t)}),this.j.e.fire("setMaxHeight",t)}if(this.j.container){let t="auto"!==this.j.o.height||this.j.isFullSize?this.j.container.offsetHeight-this.__getNotWorkHeight():"auto";(0,a.css)(this.j.workplace,"height",t),this.j.container.style.setProperty("--jd-jodit-workplace-height",(0,s.isNumber)(t)?t+"px":t)}let{clientHeight:r,clientWidth:o}=this.j.container;(t!==r||i!==o)&&this.j.e.fire(this.j,"resize")}beforeDestruct(t){t.e.off(t.ow,"load.size",this.__resizeWorkspaces).off(".size")}constructor(){super(...arguments),this.__resizeWorkspaces=this.j.async.debounce(this.__resizeWorkspaceImd,this.j.defaultTimeout,!0)}}u([(0,r.throttle)()],c.prototype,"__initialize",null),u([r.autobind],c.prototype,"__setHeight",null),u([r.autobind],c.prototype,"__setWidth",null),u([r.autobind],c.prototype,"__resizeWorkspaceImd",null),o.pluginSystem.add("size",c)},45971:function(t,i,n){"use strict";function r(t){return t.replace(/\r\n|\r|\n/g,"<br/>")}n.d(i,{nl2br:function(){return r}})},46104:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M896 1152q0-36-20-69-1-1-15.5-22.5t-25.5-38-25-44-21-50.5q-4-16-21-16t-21 16q-7 23-21 50.5t-25 44-25.5 38-15.5 22.5q-20 33-20 69 0 53 37.5 90.5t90.5 37.5 90.5-37.5 37.5-90.5zm512-128q0 212-150 362t-362 150-362-150-150-362q0-145 81-275 6-9 62.5-90.5t101-151 99.5-178 83-201.5q9-30 34-47t51-17 51.5 17 33.5 47q28 93 83 201.5t99.5 178 101 151 62.5 90.5q81 127 81 275z"/> </svg> '},46124:function(t,i,n){"use strict";n.r(i),n.d(i,{removeExtraBr:function(){return r.removeExtraBr}});var r=n(94870)},46146:function(t){"u">typeof self&&self,t.exports=function(){var t=[function(t,i,n){"use strict";var r=n(3);function o(t){return!0===r(t)&&"[object Object]"===Object.prototype.toString.call(t)}t.exports=function(t){var i,n;return!1!==o(t)&&"function"==typeof(i=t.constructor)&&!1!==o(n=i.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")}},function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.VERSION=i.PALETTE_MATERIAL_CHROME=i.PALETTE_MATERIAL_500=i.COLOR_NAMES=i.getLuminance=i.intToRgb=i.rgbToInt=i.rgbToHsv=i.rgbToHsl=i.hslToRgb=i.rgbToHex=i.parseColor=i.parseColorToHsla=i.parseColorToHsl=i.parseColorToRgba=i.parseColorToRgb=i.from=i.createPicker=void 0;var r=function(){function t(t,i){for(var n=0;n<i.length;n++){var r=i[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(i,n,r){return n&&t(i.prototype,n),r&&t(i,r),i}}(),o=function(t,i){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,i){var n=[],r=!0,o=!1,s=void 0;try{for(var a,l=t[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!i||n.length!==i);r=!0);}catch(t){o=!0,s=t}finally{try{!r&&l.return&&l.return()}finally{if(o)throw s}}return n}(t,i);throw TypeError("Invalid attempt to destructure non-iterable instance")},s=n(2),a=u(n(0)),l=u(n(4));function u(t){return t&&t.__esModule?t:{default:t}}function c(t,i){if(!(t instanceof i))throw TypeError("Cannot call a class as a function")}function d(t){if(Array.isArray(t)){for(var i=0,n=Array(t.length);i<t.length;i++)n[i]=t[i];return n}return Array.from(t)}var h="u">typeof window&&window.navigator.userAgent.indexOf("Edge")>-1,p="u">typeof window&&window.navigator.userAgent.indexOf("rv:")>-1,f={id:null,attachTo:"body",showHSL:!0,showRGB:!0,showHEX:!0,showAlpha:!1,color:"#ff0000",palette:null,paletteEditable:!1,useAlphaInPalette:"auto",slBarSize:[232,150],hueBarSize:[150,11],alphaBarSize:[150,11]},m="COLOR",g="RGBA_USER",b="HSLA_USER";function v(t,i,n){return t?t instanceof HTMLElement?t:t instanceof NodeList?t[0]:"string"==typeof t?document.querySelector(t):t.jquery?t.get(0):n?i:null:i}function y(t){var i=t.getContext("2d"),n=+t.width,r=+t.height,a=i.createLinearGradient(1,1,1,r-1);return a.addColorStop(0,"white"),a.addColorStop(1,"black"),{setHue:function(t){var o=i.createLinearGradient(1,0,n-1,0);o.addColorStop(0,"hsla("+t+", 100%, 50%, 0)"),o.addColorStop(1,"hsla("+t+", 100%, 50%, 1)"),i.fillStyle=a,i.fillRect(0,0,n,r),i.fillStyle=o,i.globalCompositeOperation="multiply",i.fillRect(0,0,n,r),i.globalCompositeOperation="source-over"},grabColor:function(t,n){return i.getImageData(t,n,1,1).data},findColor:function(t,i,a){var l=o((0,s.rgbToHsv)(t,i,a),3);return[l[1]*n,r-l[2]*r]}}}function _(t,i,n){return null===t?i:/^\s*$/.test(t)?n:!!/true|yes|1/i.test(t)||!/false|no|0/i.test(t)&&i}function C(t,i,n){if(null===t)return i;if(/^\s*$/.test(t))return n;var r=t.split(",").map(Number);return 2===r.length&&r[0]&&r[1]?r:i}var w=function(){function t(i,n){if(c(this,t),n?(i=v(i),this.options=Object.assign({},f,n)):i&&(0,a.default)(i)?(this.options=Object.assign({},f,i),i=v(this.options.attachTo)):(this.options=Object.assign({},f),i=v((0,s.nvl)(i,this.options.attachTo))),!i)throw Error("Container not found: "+this.options.attachTo);!function(t,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"acp-";if(i.hasAttribute(n+"show-hsl")&&(t.showHSL=_(i.getAttribute(n+"show-hsl"),f.showHSL,!0)),i.hasAttribute(n+"show-rgb")&&(t.showRGB=_(i.getAttribute(n+"show-rgb"),f.showRGB,!0)),i.hasAttribute(n+"show-hex")&&(t.showHEX=_(i.getAttribute(n+"show-hex"),f.showHEX,!0)),i.hasAttribute(n+"show-alpha")&&(t.showAlpha=_(i.getAttribute(n+"show-alpha"),f.showAlpha,!0)),i.hasAttribute(n+"palette-editable")&&(t.paletteEditable=_(i.getAttribute(n+"palette-editable"),f.paletteEditable,!0)),i.hasAttribute(n+"sl-bar-size")&&(t.slBarSize=C(i.getAttribute(n+"sl-bar-size"),f.slBarSize,[232,150])),i.hasAttribute(n+"hue-bar-size")&&(t.hueBarSize=C(i.getAttribute(n+"hue-bar-size"),f.hueBarSize,[150,11]),t.alphaBarSize=t.hueBarSize),i.hasAttribute(n+"palette")){var r=i.getAttribute(n+"palette");switch(r){case"PALETTE_MATERIAL_500":t.palette=s.PALETTE_MATERIAL_500;break;case"PALETTE_MATERIAL_CHROME":case"":t.palette=s.PALETTE_MATERIAL_CHROME;break;default:t.palette=r.split(/[;|]/)}}i.hasAttribute(n+"color")&&(t.color=i.getAttribute(n+"color"))}(this.options,i),this.H=0,this.S=0,this.L=0,this.R=0,this.G=0,this.B=0,this.A=1,this.palette={},this.element=document.createElement("div"),this.options.id&&(this.element.id=this.options.id),this.element.className="a-color-picker",this.element.innerHTML=l.default,i.appendChild(this.element);var r=this.element.querySelector(".a-color-picker-h");this.setupHueCanvas(r),this.hueBarHelper=y(r),this.huePointer=this.element.querySelector(".a-color-picker-h+.a-color-picker-dot");var o=this.element.querySelector(".a-color-picker-sl");this.setupSlCanvas(o),this.slBarHelper=y(o),this.slPointer=this.element.querySelector(".a-color-picker-sl+.a-color-picker-dot"),this.preview=this.element.querySelector(".a-color-picker-preview"),this.setupClipboard(this.preview.querySelector(".a-color-picker-clipbaord")),this.options.showHSL?(this.setupInput(this.inputH=this.element.querySelector(".a-color-picker-hsl>input[nameref=H]")),this.setupInput(this.inputS=this.element.querySelector(".a-color-picker-hsl>input[nameref=S]")),this.setupInput(this.inputL=this.element.querySelector(".a-color-picker-hsl>input[nameref=L]"))):this.element.querySelector(".a-color-picker-hsl").remove(),this.options.showRGB?(this.setupInput(this.inputR=this.element.querySelector(".a-color-picker-rgb>input[nameref=R]")),this.setupInput(this.inputG=this.element.querySelector(".a-color-picker-rgb>input[nameref=G]")),this.setupInput(this.inputB=this.element.querySelector(".a-color-picker-rgb>input[nameref=B]"))):this.element.querySelector(".a-color-picker-rgb").remove(),this.options.showHEX?this.setupInput(this.inputRGBHEX=this.element.querySelector("input[nameref=RGBHEX]")):this.element.querySelector(".a-color-picker-rgbhex").remove(),this.options.paletteEditable||this.options.palette&&this.options.palette.length>0?this.setPalette(this.paletteRow=this.element.querySelector(".a-color-picker-palette")):(this.paletteRow=this.element.querySelector(".a-color-picker-palette"),this.paletteRow.remove()),this.options.showAlpha?(this.setupAlphaCanvas(this.element.querySelector(".a-color-picker-a")),this.alphaPointer=this.element.querySelector(".a-color-picker-a+.a-color-picker-dot")):this.element.querySelector(".a-color-picker-alpha").remove(),this.element.style.width=this.options.slBarSize[0]+"px",this.onValueChanged(m,this.options.color)}return r(t,[{key:"setupHueCanvas",value:function(t){var i=this;t.width=this.options.hueBarSize[0],t.height=this.options.hueBarSize[1];for(var n=t.getContext("2d"),r=n.createLinearGradient(0,0,this.options.hueBarSize[0],0),o=0;o<=1;o+=1/360)r.addColorStop(o,"hsl("+360*o+", 100%, 50%)");n.fillStyle=r,n.fillRect(0,0,this.options.hueBarSize[0],this.options.hueBarSize[1]);var a=function(n){var r=(0,s.limit)(n.clientX-t.getBoundingClientRect().left,0,i.options.hueBarSize[0]),o=Math.round(360*r/i.options.hueBarSize[0]);i.huePointer.style.left=r-7+"px",i.onValueChanged("H",o)},l=function t(){document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",t)};t.addEventListener("mousedown",function(t){a(t),document.addEventListener("mousemove",a),document.addEventListener("mouseup",l)})}},{key:"setupSlCanvas",value:function(t){var i=this;t.width=this.options.slBarSize[0],t.height=this.options.slBarSize[1];var n=function(n){var r=(0,s.limit)(n.clientX-t.getBoundingClientRect().left,0,i.options.slBarSize[0]-1),o=(0,s.limit)(n.clientY-t.getBoundingClientRect().top,0,i.options.slBarSize[1]-1),a=i.slBarHelper.grabColor(r,o);i.slPointer.style.left=r-7+"px",i.slPointer.style.top=o-7+"px",i.onValueChanged("RGB",a)},r=function t(){document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",t)};t.addEventListener("mousedown",function(t){n(t),document.addEventListener("mousemove",n),document.addEventListener("mouseup",r)})}},{key:"setupAlphaCanvas",value:function(t){var i=this;t.width=this.options.alphaBarSize[0],t.height=this.options.alphaBarSize[1];var n=t.getContext("2d"),r=n.createLinearGradient(0,0,t.width-1,0);r.addColorStop(0,"hsla(0, 0%, 50%, 0)"),r.addColorStop(1,"hsla(0, 0%, 50%, 1)"),n.fillStyle=r,n.fillRect(0,0,this.options.alphaBarSize[0],this.options.alphaBarSize[1]);var o=function(n){var r=(0,s.limit)(n.clientX-t.getBoundingClientRect().left,0,i.options.alphaBarSize[0]),o=+(r/i.options.alphaBarSize[0]).toFixed(2);i.alphaPointer.style.left=r-7+"px",i.onValueChanged("ALPHA",o)},a=function t(){document.removeEventListener("mousemove",o),document.removeEventListener("mouseup",t)};t.addEventListener("mousedown",function(t){o(t),document.addEventListener("mousemove",o),document.addEventListener("mouseup",a)})}},{key:"setupInput",value:function(t){var i=this,n=+t.min,r=+t.max,o=t.getAttribute("nameref");t.hasAttribute("select-on-focus")&&t.addEventListener("focus",function(){t.select()}),"text"===t.type?t.addEventListener("change",function(){i.onValueChanged(o,t.value)}):((h||p)&&t.addEventListener("keydown",function(a){"Up"===a.key?(t.value=(0,s.limit)(+t.value+1,n,r),i.onValueChanged(o,t.value),a.returnValue=!1):"Down"===a.key&&(t.value=(0,s.limit)(t.value-1,n,r),i.onValueChanged(o,t.value),a.returnValue=!1)}),t.addEventListener("change",function(){var a=+t.value;i.onValueChanged(o,(0,s.limit)(a,n,r))}))}},{key:"setupClipboard",value:function(t){var i=this;t.title="click to copy",t.addEventListener("click",function(){t.value=(0,s.parseColor)([i.R,i.G,i.B,i.A],"hexcss4"),t.select(),document.execCommand("copy")})}},{key:"setPalette",value:function(t){var i=this,n="auto"===this.options.useAlphaInPalette?this.options.showAlpha:this.options.useAlphaInPalette,r=null;switch(this.options.palette){case"PALETTE_MATERIAL_500":r=s.PALETTE_MATERIAL_500;break;case"PALETTE_MATERIAL_CHROME":r=s.PALETTE_MATERIAL_CHROME;break;default:r=(0,s.ensureArray)(this.options.palette)}if(this.options.paletteEditable||r.length>0){var o=function(n,r,o){var s=t.querySelector('.a-color-picker-palette-color[data-color="'+n+'"]')||document.createElement("div");s.className="a-color-picker-palette-color",s.style.backgroundColor=n,s.setAttribute("data-color",n),s.title=n,t.insertBefore(s,r),i.palette[n]=!0,o&&i.onPaletteColorAdd(n)},a=function(n,r){n?(t.removeChild(n),i.palette[n.getAttribute("data-color")]=!1,r&&i.onPaletteColorRemove(n.getAttribute("data-color"))):(t.querySelectorAll(".a-color-picker-palette-color[data-color]").forEach(function(i){t.removeChild(i)}),Object.keys(i.palette).forEach(function(t){i.palette[t]=!1}),r&&i.onPaletteColorRemove())};if(r.map(function(t){return(0,s.parseColor)(t,n?"rgbcss4":"hex")}).filter(function(t){return!!t}).forEach(function(t){return o(t)}),this.options.paletteEditable){var l=document.createElement("div");l.className="a-color-picker-palette-color a-color-picker-palette-add",l.innerHTML="+",t.appendChild(l),t.addEventListener("click",function(t){/a-color-picker-palette-add/.test(t.target.className)?t.shiftKey?a(null,!0):o(n?(0,s.parseColor)([i.R,i.G,i.B,i.A],"rgbcss4"):(0,s.rgbToHex)(i.R,i.G,i.B),t.target,!0):/a-color-picker-palette-color/.test(t.target.className)&&(t.shiftKey?a(t.target,!0):i.onValueChanged(m,t.target.getAttribute("data-color")))})}else t.addEventListener("click",function(t){/a-color-picker-palette-color/.test(t.target.className)&&i.onValueChanged(m,t.target.getAttribute("data-color"))})}else t.style.display="none"}},{key:"updatePalette",value:function(t){this.paletteRow.innerHTML="",this.palette={},this.paletteRow.parentElement||this.element.appendChild(this.paletteRow),this.options.palette=t,this.setPalette(this.paletteRow)}},{key:"onValueChanged",value:function(t,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{silent:!1};switch(t){case"H":this.H=i;var r=o((0,s.hslToRgb)(this.H,this.S,this.L),3);this.R=r[0],this.G=r[1],this.B=r[2],this.slBarHelper.setHue(i),this.updatePointerH(this.H),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"S":this.S=i;var a=o((0,s.hslToRgb)(this.H,this.S,this.L),3);this.R=a[0],this.G=a[1],this.B=a[2],this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"L":this.L=i;var l=o((0,s.hslToRgb)(this.H,this.S,this.L),3);this.R=l[0],this.G=l[1],this.B=l[2],this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"R":this.R=i;var u=o((0,s.rgbToHsl)(this.R,this.G,this.B),3);this.H=u[0],this.S=u[1],this.L=u[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"G":this.G=i;var c=o((0,s.rgbToHsl)(this.R,this.G,this.B),3);this.H=c[0],this.S=c[1],this.L=c[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"B":this.B=i;var d=o((0,s.rgbToHsl)(this.R,this.G,this.B),3);this.H=d[0],this.S=d[1],this.L=d[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"RGB":var h=o(i,3);this.R=h[0],this.G=h[1],this.B=h[2];var p=o((0,s.rgbToHsl)(this.R,this.G,this.B),3);this.H=p[0],this.S=p[1],this.L=p[2],this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B);break;case g:var f=o(i,4);this.R=f[0],this.G=f[1],this.B=f[2],this.A=f[3];var v=o((0,s.rgbToHsl)(this.R,this.G,this.B),3);this.H=v[0],this.S=v[1],this.L=v[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B),this.updatePointerA(this.A);break;case b:var y=o(i,4);this.H=y[0],this.S=y[1],this.L=y[2],this.A=y[3];var _=o((0,s.hslToRgb)(this.H,this.S,this.L),3);this.R=_[0],this.G=_[1],this.B=_[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B),this.updatePointerA(this.A);break;case"RGBHEX":var C=o((0,s.cssColorToRgb)(i)||[this.R,this.G,this.B],3);this.R=C[0],this.G=C[1],this.B=C[2];var w=o((0,s.rgbToHsl)(this.R,this.G,this.B),3);this.H=w[0],this.S=w[1],this.L=w[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B);break;case m:var F=o((0,s.parseColor)(i,"rgba")||[0,0,0,1],4);this.R=F[0],this.G=F[1],this.B=F[2],this.A=F[3];var E=o((0,s.rgbToHsl)(this.R,this.G,this.B),3);this.H=E[0],this.S=E[1],this.L=E[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B),this.updatePointerA(this.A);break;case"ALPHA":this.A=i}1===this.A?this.preview.style.backgroundColor="rgb("+this.R+","+this.G+","+this.B+")":this.preview.style.backgroundColor="rgba("+this.R+","+this.G+","+this.B+","+this.A+")",n&&n.silent||this.onchange&&this.onchange(this.preview.style.backgroundColor)}},{key:"onPaletteColorAdd",value:function(t){this.oncoloradd&&this.oncoloradd(t)}},{key:"onPaletteColorRemove",value:function(t){this.oncolorremove&&this.oncolorremove(t)}},{key:"updateInputHSL",value:function(t,i,n){this.options.showHSL&&(this.inputH.value=t,this.inputS.value=i,this.inputL.value=n)}},{key:"updateInputRGB",value:function(t,i,n){this.options.showRGB&&(this.inputR.value=t,this.inputG.value=i,this.inputB.value=n)}},{key:"updateInputRGBHEX",value:function(t,i,n){this.options.showHEX&&(this.inputRGBHEX.value=(0,s.rgbToHex)(t,i,n))}},{key:"updatePointerH",value:function(t){var i=this.options.hueBarSize[0]*t/360;this.huePointer.style.left=i-7+"px"}},{key:"updatePointerSL",value:function(t,i,n){var r=o((0,s.hslToRgb)(t,i,n),3),a=r[0],l=r[1],u=r[2],c=o(this.slBarHelper.findColor(a,l,u),2),d=c[0],h=c[1];d>=0&&(this.slPointer.style.left=d-7+"px",this.slPointer.style.top=h-7+"px")}},{key:"updatePointerA",value:function(t){if(this.options.showAlpha){var i=this.options.alphaBarSize[0]*t;this.alphaPointer.style.left=i-7+"px"}}}]),t}(),F=function(){function t(i){c(this,t),this.name=i,this.listeners=[]}return r(t,[{key:"on",value:function(t){t&&this.listeners.push(t)}},{key:"off",value:function(t){this.listeners=t?this.listeners.filter(function(i){return i!==t}):[]}},{key:"emit",value:function(t,i){for(var n=this.listeners.slice(0),r=0;r<n.length;r++)n[r].apply(i,t)}}]),t}();function E(t,i){var n=new w(t,i),r={change:new F("change"),coloradd:new F("coloradd"),colorremove:new F("colorremove")},a=!0,l={},u={get element(){return n.element},get rgb(){return[n.R,n.G,n.B]},set rgb(e){var c=o(e,3),d=c[0],h=c[1],p=c[2],f=[(0,s.limit)(d,0,255),(0,s.limit)(h,0,255),(0,s.limit)(p,0,255)];d=f[0],h=f[1],p=f[2],n.onValueChanged(g,[d,h,p,1])},get hsl(){return[n.H,n.S,n.L]},set hsl(e){var v=o(e,3),y=v[0],_=v[1],C=v[2],E=[(0,s.limit)(y,0,360),(0,s.limit)(_,0,100),(0,s.limit)(C,0,100)];y=E[0],_=E[1],C=E[2],n.onValueChanged(b,[y,_,C,1])},get rgbhex(){return this.all.hex},get rgba(){return[n.R,n.G,n.B,n.A]},set rgba(e){var k=o(e,4),S=k[0],A=k[1],D=k[2],x=k[3],I=[(0,s.limit)(S,0,255),(0,s.limit)(A,0,255),(0,s.limit)(D,0,255),(0,s.limit)(x,0,1)];S=I[0],A=I[1],D=I[2],x=I[3],n.onValueChanged(g,[S,A,D,x])},get hsla(){return[n.H,n.S,n.L,n.A]},set hsla(e){var B=o(e,4),T=B[0],j=B[1],P=B[2],L=B[3],R=[(0,s.limit)(T,0,360),(0,s.limit)(j,0,100),(0,s.limit)(P,0,100),(0,s.limit)(L,0,1)];T=R[0],j=R[1],P=R[2],L=R[3],n.onValueChanged(b,[T,j,P,L])},get color(){return this.all.toString()},set color(e){n.onValueChanged(m,e)},setColor:function(t){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];n.onValueChanged(m,t,{silent:i})},get all(){if(a){var M=[n.R,n.G,n.B,n.A],z=n.A<1?"rgba("+n.R+","+n.G+","+n.B+","+n.A+")":s.rgbToHex.apply(void 0,M);(l=(0,s.parseColor)(M,l)).toString=function(){return z},a=!1}return Object.assign({},l)},get onchange(){return r.change&&r.change.listeners[0]},set onchange(e){this.off("change").on("change",e)},get oncoloradd(){return r.coloradd&&r.coloradd.listeners[0]},set oncoloradd(e){this.off("coloradd").on("coloradd",e)},get oncolorremove(){return r.colorremove&&r.colorremove.listeners[0]},set oncolorremove(e){this.off("colorremove").on("colorremove",e)},get palette(){return Object.keys(n.palette).filter(function(t){return n.palette[t]})},set palette(e){n.updatePalette(e)},show:function(){n.element.classList.remove("hidden")},hide:function(){n.element.classList.add("hidden")},toggle:function(){n.element.classList.toggle("hidden")},on:function(t,i){return t&&r[t]&&r[t].on(i),this},off:function(t,i){return t&&r[t]&&r[t].off(i),this},destroy:function(){r.change.off(),r.coloradd.off(),r.colorremove.off(),n.element.remove(),r=null,n=null}};return n.onchange=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];a=!0,r.change.emit([u].concat(i),u)},n.oncoloradd=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];r.coloradd.emit([u].concat(i),u)},n.oncolorremove=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];r.colorremove.emit([u].concat(i),u)},n.element.ctrl=u,u}if("u">typeof window&&!document.querySelector('head>style[data-source="a-color-picker"]')){var k=n(5).toString(),S=document.createElement("style");S.setAttribute("type","text/css"),S.setAttribute("data-source","a-color-picker"),S.innerHTML=k,document.querySelector("head").appendChild(S)}i.createPicker=E,i.from=function(t,i){var n=(t?Array.isArray(t)?t:t instanceof HTMLElement?[t]:t instanceof NodeList?[].concat(d(t)):"string"==typeof t?[].concat(d(document.querySelectorAll(t))):t.jquery?t.get():[]:[]).map(function(t,n){var r=E(t,i);return r.index=n,r});return n.on=function(t,i){return n.forEach(function(n){return n.on(t,i)}),this},n.off=function(t){return n.forEach(function(i){return i.off(t)}),this},n},i.parseColorToRgb=s.parseColorToRgb,i.parseColorToRgba=s.parseColorToRgba,i.parseColorToHsl=s.parseColorToHsl,i.parseColorToHsla=s.parseColorToHsla,i.parseColor=s.parseColor,i.rgbToHex=s.rgbToHex,i.hslToRgb=s.hslToRgb,i.rgbToHsl=s.rgbToHsl,i.rgbToHsv=s.rgbToHsv,i.rgbToInt=s.rgbToInt,i.intToRgb=s.intToRgb,i.getLuminance=s.getLuminance,i.COLOR_NAMES=s.COLOR_NAMES,i.PALETTE_MATERIAL_500=s.PALETTE_MATERIAL_500,i.PALETTE_MATERIAL_CHROME=s.PALETTE_MATERIAL_CHROME,i.VERSION="1.2.1"},function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.nvl=i.ensureArray=i.limit=i.getLuminance=i.parseColor=i.parseColorToHsla=i.parseColorToHsl=i.cssHslaToHsla=i.cssHslToHsl=i.parseColorToRgba=i.parseColorToRgb=i.cssRgbaToRgba=i.cssRgbToRgb=i.cssColorToRgba=i.cssColorToRgb=i.intToRgb=i.rgbToInt=i.rgbToHsv=i.rgbToHsl=i.hslToRgb=i.rgbToHex=i.PALETTE_MATERIAL_CHROME=i.PALETTE_MATERIAL_500=i.COLOR_NAMES=void 0;var r,o=function(t,i){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,i){var n=[],r=!0,o=!1,s=void 0;try{for(var a,l=t[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!i||n.length!==i);r=!0);}catch(t){o=!0,s=t}finally{try{!r&&l.return&&l.return()}finally{if(o)throw s}}return n}(t,i);throw TypeError("Invalid attempt to destructure non-iterable instance")},s=(r=n(0))&&r.__esModule?r:{default:r};function a(t){if(Array.isArray(t)){for(var i=0,n=Array(t.length);i<t.length;i++)n[i]=t[i];return n}return Array.from(t)}var l={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#00FFFF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blue:"#0000FF",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgrey:"#A9A9A9",darkgreen:"#006400",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#FF00FF",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4","indianred ":"#CD5C5C","indigo ":"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgrey:"#D3D3D3",lightgreen:"#90EE90",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#00FF00",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#FF0000",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFFFFF",whitesmoke:"#F5F5F5",yellow:"#FFFF00",yellowgreen:"#9ACD32"};function u(t,i,n){return isNaN(t*=1)||i>t?i:t>n?n:t}function c(t,i){return null==t?i:t}function d(t,i,n){var r=[u(t,0,255),u(i,0,255),u(n,0,255)];return"#"+("000000"+((t=r[0])<<16|(i=r[1])<<8|(n=r[2])).toString(16)).slice(-6)}function h(t,i,n){var r=void 0,o=void 0,s=void 0,a=[u(t,0,360)/360,u(i,0,100)/100,u(n,0,100)/100];if(t=a[0],n=a[2],0==(i=a[1]))r=o=s=n;else{var l=function(t,i,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(i-t)*n:n<.5?i:n<2/3?t+(i-t)*(2/3-n)*6:t},c=n<.5?n*(1+i):n+i-n*i,d=2*n-c;r=l(d,c,t+1/3),o=l(d,c,t),s=l(d,c,t-1/3)}return[255*r,255*o,255*s].map(Math.round)}function p(t,i,n){var r=[u(t,0,255)/255,u(i,0,255)/255,u(n,0,255)/255],o=Math.max(t=r[0],i=r[1],n=r[2]),s=Math.min(t,i,n),a=void 0,l=void 0,c=(o+s)/2;if(o==s)a=l=0;else{var d=o-s;switch(l=c>.5?d/(2-o-s):d/(o+s),o){case t:a=(i-n)/d+6*(i<n);break;case i:a=(n-t)/d+2;break;case n:a=(t-i)/d+4}a/=6}return[360*a,100*l,100*c].map(Math.round)}function f(t,i,n){return t<<16|i<<8|n}function m(t){if(t){var i=l[t.toString().toLowerCase()],n=o(/^\s*#?((([0-9A-F])([0-9A-F])([0-9A-F]))|(([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})))\s*$/i.exec(i||t)||[],10),r=n[3],s=n[4],a=n[5],u=n[7],c=n[8],d=n[9];if(void 0!==r)return[parseInt(r+r,16),parseInt(s+s,16),parseInt(a+a,16)];if(void 0!==u)return[parseInt(u,16),parseInt(c,16),parseInt(d,16)]}}function g(t){if(t){var i=l[t.toString().toLowerCase()],n=o(/^\s*#?((([0-9A-F])([0-9A-F])([0-9A-F])([0-9A-F])?)|(([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})?))\s*$/i.exec(i||t)||[],12),r=n[3],s=n[4],a=n[5],u=n[6],c=n[8],d=n[9],h=n[10],p=n[11];if(void 0!==r)return[parseInt(r+r,16),parseInt(s+s,16),parseInt(a+a,16),u?+(parseInt(u+u,16)/255).toFixed(2):1];if(void 0!==c)return[parseInt(c,16),parseInt(d,16),parseInt(h,16),p?+(parseInt(p,16)/255).toFixed(2):1]}}function b(t){if(t){var i=o(/^rgb\((\d+)[\s,](\d+)[\s,](\d+)\)/i.exec(t)||[],4),n=i[0],r=i[1],s=i[2],a=i[3];return n?[u(r,0,255),u(s,0,255),u(a,0,255)]:void 0}}function v(t){if(t){var i=o(/^rgba?\((\d+)\s*[\s,]\s*(\d+)\s*[\s,]\s*(\d+)(\s*[\s,]\s*(\d*(.\d+)?))?\)/i.exec(t)||[],6),n=i[0],r=i[1],s=i[2],a=i[3],l=i[5];return n?[u(r,0,255),u(s,0,255),u(a,0,255),u(c(l,1),0,1)]:void 0}}function y(t){if(Array.isArray(t))return[u(t[0],0,255),u(t[1],0,255),u(t[2],0,255),u(c(t[3],1),0,1)];var i=g(t)||v(t);return i&&3===i.length&&i.push(1),i}function _(t){if(t){var i=o(/^hsl\((\d+)[\s,](\d+)[\s,](\d+)\)/i.exec(t)||[],4),n=i[0],r=i[1],s=i[2],a=i[3];return n?[u(r,0,360),u(s,0,100),u(a,0,100)]:void 0}}function C(t){if(t){var i=o(/^hsla?\((\d+)\s*[\s,]\s*(\d+)\s*[\s,]\s*(\d+)(\s*[\s,]\s*(\d*(.\d+)?))?\)/i.exec(t)||[],6),n=i[0],r=i[1],s=i[2],a=i[3],l=i[5];return n?[u(r,0,255),u(s,0,255),u(a,0,255),u(c(l,1),0,1)]:void 0}}function w(t){if(Array.isArray(t))return[u(t[0],0,360),u(t[1],0,100),u(t[2],0,100),u(c(t[3],1),0,1)];var i=C(t);return i&&3===i.length&&i.push(1),i}function F(t,i){switch(i){case"rgb":default:return t.slice(0,3);case"rgbcss":return"rgb("+t[0]+", "+t[1]+", "+t[2]+")";case"rgbcss4":return"rgb("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")";case"rgba":return t;case"rgbacss":return"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")";case"hsl":return p.apply(void 0,a(t));case"hslcss":return"hsl("+(t=p.apply(void 0,a(t)))[0]+", "+t[1]+", "+t[2]+")";case"hslcss4":var n=p.apply(void 0,a(t));return"hsl("+n[0]+", "+n[1]+", "+n[2]+", "+t[3]+")";case"hsla":return[].concat(a(p.apply(void 0,a(t))),[t[3]]);case"hslacss":var r=p.apply(void 0,a(t));return"hsla("+r[0]+", "+r[1]+", "+r[2]+", "+t[3]+")";case"hex":return d.apply(void 0,a(t));case"hexcss4":return d.apply(void 0,a(t))+("00"+parseInt(255*t[3]).toString(16)).slice(-2);case"int":return f.apply(void 0,a(t))}}i.COLOR_NAMES=l,i.PALETTE_MATERIAL_500=["#F44336","#E91E63","#E91E63","#9C27B0","#9C27B0","#673AB7","#673AB7","#3F51B5","#3F51B5","#2196F3","#2196F3","#03A9F4","#03A9F4","#00BCD4","#00BCD4","#009688","#009688","#4CAF50","#4CAF50","#8BC34A","#8BC34A","#CDDC39","#CDDC39","#FFEB3B","#FFEB3B","#FFC107","#FFC107","#FF9800","#FF9800","#FF5722","#FF5722","#795548","#795548","#9E9E9E","#9E9E9E","#607D8B","#607D8B"],i.PALETTE_MATERIAL_CHROME=["#f44336","#e91e63","#9c27b0","#673ab7","#3f51b5","#2196f3","#03a9f4","#00bcd4","#009688","#4caf50","#8bc34a","#cddc39","#ffeb3b","#ffc107","#ff9800","#ff5722","#795548","#9e9e9e","#607d8b"],i.rgbToHex=d,i.hslToRgb=h,i.rgbToHsl=p,i.rgbToHsv=function(t,i,n){var r=[u(t,0,255)/255,u(i,0,255)/255,u(n,0,255)/255],o,s=Math.max(t=r[0],i=r[1],n=r[2]),a=Math.min(t,i,n),l=void 0,c=s-a;if(o=0===s?0:c/s,s==a)l=0;else{switch(s){case t:l=(i-n)/c+6*(i<n);break;case i:l=(n-t)/c+2;break;case n:l=(t-i)/c+4}l/=6}return[l,o,s]},i.rgbToInt=f,i.intToRgb=function(t){return[t>>16&255,t>>8&255,255&t]},i.cssColorToRgb=m,i.cssColorToRgba=g,i.cssRgbToRgb=b,i.cssRgbaToRgba=v,i.parseColorToRgb=function(t){return Array.isArray(t)?t=[u(t[0],0,255),u(t[1],0,255),u(t[2],0,255)]:m(t)||b(t)},i.parseColorToRgba=y,i.cssHslToHsl=_,i.cssHslaToHsla=C,i.parseColorToHsl=function(t){return Array.isArray(t)?t=[u(t[0],0,360),u(t[1],0,100),u(t[2],0,100)]:_(t)},i.parseColorToHsla=w,i.parseColor=function(t,i){if(i=i||"rgb",null!=t){var n=void 0;if((n=y(t))||(n=w(t))&&(n=[].concat(a(h.apply(void 0,a(n))),[n[3]])))return(0,s.default)(i)?["rgb","rgbcss","rgbcss4","rgba","rgbacss","hsl","hslcss","hslcss4","hsla","hslacss","hex","hexcss4","int"].reduce(function(t,i){return t[i]=F(n,i),t},i||{}):F(n,i.toString().toLowerCase())}},i.getLuminance=function(t,i,n){return .2126*(t=(t/=255)<.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(i=(i/=255)<.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))+.0722*((n/=255)<.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},i.limit=u,i.ensureArray=function(t){return t?Array.from(t):[]},i.nvl=c},function(t,i,n){"use strict";t.exports=function(t){return null!=t&&"object"==typeof t&&!1===Array.isArray(t)}},function(t,i){t.exports='<div class="a-color-picker-row a-color-picker-stack a-color-picker-row-top"> <canvas class="a-color-picker-sl a-color-picker-transparent"></canvas> <div class=a-color-picker-dot></div> </div> <div class=a-color-picker-row> <div class="a-color-picker-stack a-color-picker-transparent a-color-picker-circle"> <div class=a-color-picker-preview> <input class=a-color-picker-clipbaord type=text> </div> </div> <div class=a-color-picker-column> <div class="a-color-picker-cell a-color-picker-stack"> <canvas class=a-color-picker-h></canvas> <div class=a-color-picker-dot></div> </div> <div class="a-color-picker-cell a-color-picker-alpha a-color-picker-stack" show-on-alpha> <canvas class="a-color-picker-a a-color-picker-transparent"></canvas> <div class=a-color-picker-dot></div> </div> </div> </div> <div class="a-color-picker-row a-color-picker-hsl" show-on-hsl> <label>H</label> <input nameref=H type=number maxlength=3 min=0 max=360 value=0> <label>S</label> <input nameref=S type=number maxlength=3 min=0 max=100 value=0> <label>L</label> <input nameref=L type=number maxlength=3 min=0 max=100 value=0> </div> <div class="a-color-picker-row a-color-picker-rgb" show-on-rgb> <label>R</label> <input nameref=R type=number maxlength=3 min=0 max=255 value=0> <label>G</label> <input nameref=G type=number maxlength=3 min=0 max=255 value=0> <label>B</label> <input nameref=B type=number maxlength=3 min=0 max=255 value=0> </div> <div class="a-color-picker-row a-color-picker-rgbhex a-color-picker-single-input" show-on-single-input> <label>HEX</label> <input nameref=RGBHEX type=text select-on-focus> </div> <div class="a-color-picker-row a-color-picker-palette"></div>'},function(t,i,n){var r=n(6);t.exports="string"==typeof r?r:r.toString()},function(t,i,n){(t.exports=n(7)(!1)).push([t.i,"/*!\n * a-color-picker\n * https://github.com/narsenico/a-color-picker\n *\n * Copyright (c) 2017-2018, Gianfranco Caldi.\n * Released under the MIT License.\n */.a-color-picker{background-color:#fff;padding:0;display:inline-flex;flex-direction:column;user-select:none;width:232px;font:400 10px Helvetica,Arial,sans-serif;border-radius:3px;box-shadow:0 0 0 1px rgba(0,0,0,.05),0 2px 4px rgba(0,0,0,.25)}.a-color-picker,.a-color-picker-row,.a-color-picker input{box-sizing:border-box}.a-color-picker-row{padding:15px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;user-select:none}.a-color-picker-row-top{padding:0}.a-color-picker-row:not(:first-child){border-top:1px solid #f5f5f5}.a-color-picker-column{display:flex;flex-direction:column}.a-color-picker-cell{flex:1 1 auto;margin-bottom:4px}.a-color-picker-cell:last-child{margin-bottom:0}.a-color-picker-stack{position:relative}.a-color-picker-dot{position:absolute;width:14px;height:14px;top:0;left:0;background:#fff;pointer-events:none;border-radius:50px;z-index:1000;box-shadow:0 1px 2px rgba(0,0,0,.75)}.a-color-picker-a,.a-color-picker-h,.a-color-picker-sl{cursor:cell}.a-color-picker-a+.a-color-picker-dot,.a-color-picker-h+.a-color-picker-dot{top:-2px}.a-color-picker-a,.a-color-picker-h{border-radius:2px}.a-color-picker-preview{box-sizing:border-box;width:30px;height:30px;user-select:none;border-radius:15px}.a-color-picker-circle{border-radius:50px;border:1px solid #eee}.a-color-picker-hsl,.a-color-picker-rgb,.a-color-picker-single-input{justify-content:space-evenly}.a-color-picker-hsl>label,.a-color-picker-rgb>label,.a-color-picker-single-input>label{padding:0 8px;flex:0 0 auto;color:#969696}.a-color-picker-hsl>input,.a-color-picker-rgb>input,.a-color-picker-single-input>input{text-align:center;padding:2px 0;width:0;flex:1 1 auto;border:1px solid #e0e0e0;line-height:20px}.a-color-picker-hsl>input::-webkit-inner-spin-button,.a-color-picker-rgb>input::-webkit-inner-spin-button,.a-color-picker-single-input>input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.a-color-picker-hsl>input:focus,.a-color-picker-rgb>input:focus,.a-color-picker-single-input>input:focus{border-color:#04a9f4;outline:none}.a-color-picker-transparent{background-image:linear-gradient(-45deg,#cdcdcd 25%,transparent 0),linear-gradient(45deg,#cdcdcd 25%,transparent 0),linear-gradient(-45deg,transparent 75%,#cdcdcd 0),linear-gradient(45deg,transparent 75%,#cdcdcd 0);background-size:11px 11px;background-position:0 0,0 -5.5px,-5.5px 5.5px,5.5px 0}.a-color-picker-sl{border-radius:3px 3px 0 0}.a-color-picker.hide-alpha [show-on-alpha],.a-color-picker.hide-hsl [show-on-hsl],.a-color-picker.hide-rgb [show-on-rgb],.a-color-picker.hide-single-input [show-on-single-input]{display:none}.a-color-picker-clipbaord{width:100%;height:100%;opacity:0;cursor:pointer}.a-color-picker-palette{flex-flow:wrap;flex-direction:row;justify-content:flex-start;padding:10px}.a-color-picker-palette-color{width:15px;height:15px;flex:0 1 15px;margin:3px;box-sizing:border-box;cursor:pointer;border-radius:3px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1)}.a-color-picker-palette-add{text-align:center;line-height:13px;color:#607d8b}.a-color-picker.hidden{display:none}",""])},function(t,i){t.exports=function(t){var i=[];return i.toString=function(){return this.map(function(i){var n=function(t,i){var n=t[1]||"",r=t[3];if(!r)return n;if(i&&"function"==typeof btoa){var o="/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */";return[n].concat(r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"})).concat([o]).join("\n")}return[n].join("\n")}(i,t);return i[2]?"@media "+i[2]+"{"+n+"}":n}).join("")},i.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var s=this[o][0];"number"==typeof s&&(r[s]=!0)}for(o=0;o<t.length;o++){var a=t[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),i.push(a))}},i}}],i={};function n(r){if(i[r])return i[r].exports;var o=i[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=i,n.d=function(t,i,r){n.o(t,i)||Object.defineProperty(t,i,{enumerable:!0,get:r})},n.r=function(t){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,i){if(1&i&&(t=n(t)),8&i||4&i&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&i&&"string"!=typeof t)for(var o in t)n.d(r,o,(function(i){return t[i]}).bind(null,o));return r},n.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(i,"a",i),i},n.o=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},n.p="",n(n.s=1)}()},46166:function(t,i,n){"use strict";n.d(i,{StateManager:function(){return a}});var r=n(82749),o=n(56075),s=n(11886);class a{createInitialState(){return{isOpen:!1,currentView:"welcome",currentConversation:null,conversations:[],isLoading:!1,error:null,pendingToolCalls:[],selectionContexts:[],abortController:null,editingMessageId:null,theme:this.jodit.o.aiAssistantPro.theme||"parent",displayMode:this.jodit.o.aiAssistantPro.displayMode,panelWidth:this.jodit.o.aiAssistantPro.panelWidth,panelHeight:this.jodit.o.aiAssistantPro.panelHeight,defaultModel:this.jodit.o.aiAssistantPro.defaultModel,defaultTemperature:this.jodit.o.aiAssistantPro.defaultTemperature}}open(){this.state.isOpen=!0,this.jodit.e.fire("open.ai-assistant-pro",this.state.currentConversation)}close(){this.state.isOpen=!1,this.jodit.e.fire("close.ai-assistant-pro")}isOpen(){return this.state.isOpen}setView(t){this.state.currentView=t,this.jodit.e.fire("viewChanged.ai-assistant-pro",t)}getView(){return this.state.currentView}setConversations(t){this.state.conversations=t}setSavedState(t){t.theme&&(this.state.theme=t.theme),t.displayMode&&(this.state.displayMode=t.displayMode),t.panelWidth&&(this.state.panelWidth=t.panelWidth),t.panelHeight&&(this.state.panelHeight=t.panelHeight),t.defaultModel&&(this.state.defaultModel=t.defaultModel),t.defaultTemperature&&(this.state.defaultTemperature=t.defaultTemperature)}getConversations(){return this.state.conversations}setCurrentConversation(t){if(this.state.currentConversation===t)throw Error("Conversation is already current");this.state.currentConversation=t||null,t&&(this.setView("conversation"),this.jodit.e.fire("conversationSwitched.ai-assistant-pro",t))}getCurrentConversation(){return this.state.currentConversation}removeConversation(t){let i=this.state.conversations.filter(i=>i.id!==t);this.setConversations(i)}setLoading(t){this.state.isLoading=t}isLoading(){return this.state.isLoading}setError(t){this.state.error=t,t&&this.jodit.e.fire("error.ai-assistant-pro",Error(t))}getError(){return this.state.error}clearError(){this.setError(null)}setPendingToolCalls(t){this.state.pendingToolCalls=t}getPendingToolCalls(){return this.state.pendingToolCalls}addPendingToolCall(t){let i=[...this.state.pendingToolCalls,t];this.setPendingToolCalls(i)}removePendingToolCall(t){let i=this.state.pendingToolCalls.filter(i=>i.id!==t);this.setPendingToolCalls(i)}updateToolCallStatus(t,i){let n=this.state.pendingToolCalls.map(n=>n.id===t?(0,s._)((0,o._)({},n),{status:i}):n);this.setPendingToolCalls(n)}setSelectionContexts(t){this.state.selectionContexts=t}getSelectionContexts(){return this.state.selectionContexts}addSelectionContext(t){let{maxContextRanges:i}=this.jodit.o.aiAssistantPro,n=[...this.state.selectionContexts,t];n.length>i&&(n=n.slice(-i)),this.setSelectionContexts(n),this.jodit.e.fire("contextAdded.ai-assistant-pro",t)}removeSelectionContext(t){let i=this.state.selectionContexts.filter((i,n)=>n!==t);this.setSelectionContexts(i),this.jodit.e.fire("contextRemoved.ai-assistant-pro",t)}clearSelectionContexts(){this.setSelectionContexts([])}setAbortController(t){this.state.abortController=t}getAbortController(){return this.state.abortController}setEditingMessageId(t){this.state.editingMessageId=t}getEditingMessageId(){return this.state.editingMessageId}isEditingMessage(){return null!=this.state.editingMessageId}clearEditingMessage(){this.setEditingMessageId(null)}reset(){this.state=this.createInitialState()}destruct(){this.state.abortController&&this.state.abortController.abort(),this.reset()}constructor(t){(0,r._)(this,"jodit",void 0),(0,r._)(this,"state",void 0),this.jodit=t,this.state=this.createInitialState()}}},46295:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"Altura de la l\xednea"}},46334:function(t,i,n){"use strict";n.d(i,{normalizeSize:function(){return r}});let r=(t,i)=>/^[0-9]+$/.test(t.toString())?t+i:t.toString()},46425:function(t){t.exports='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"> <g> <path d="M23,13.6l5,5V4c0-0.6-0.4-1-1-1h-4V13.6z"/> <polygon points="12.4,3 16.7,7.3 19.7,10.3 21,11.6 21,3"/> <path d="M14.6,8l-5-5H5C4.4,3,4,3.4,4,4v14.6L14.6,8z"/> </g> <path d="M28.8,29.2L26,26.4c0.7-1,1-2.1,1-3.4c0-3.3-2.7-6-6-6s-6,2.7-6,6s2.7,6,6,6c1.2,0,2.4-0.4,3.4-1l2.8,2.8 c0.4,0.4,1.2,0.4,1.6,0C29.2,30.4,29.2,29.6,28.8,29.2z"/> <path d="M13,23c0-4.4,3.6-8,8-8c0.2,0,0.4,0,0.6,0l-0.3-0.3c0,0,0,0,0,0l-3-3L16,9.4l-12,12V26c0,0.6,0.4,1,1,1h9.1 C13.4,25.8,13,24.5,13,23z"/> </svg>'},46448:function(t,i,n){"use strict";n(73391),n(93183),n(66707),n(41107),n(93079),n(575),n(23399),n(96111),n(42263),n(77469),n(23531),n(93401),n(65517),n(64837),n(59451),n(18363),n(6687),n(45927),n(7309),n(43003),n(72253),n(65735)},46559:function(t,i,n){"use strict";function r(t){return Array.isArray(t)?t:t.split(/[,\s]+/)}n.d(i,{splitArray:function(){return r}})},46614:function(t,i,n){"use strict";var r=n(87612),o=n(70799),s=n(29960),a=n(86583),l=n(12153),u=n(6441),c=n(26532),d=n(93602),h=n(75259);u.Config.prototype.speechRecognize={api:void 0!==c.SpeechRecognition?c.SpeechRecognition:null,sound:!0,continuous:!1,interimResults:!0,commands:{"newline|enter":"enter","delete|remove word|delete word":"backspaceWordButton",comma:"inserthtml::,",underline:"inserthtml::_",hyphen:"inserthtml::-",space:"inserthtml:: ",question:"inserthtml::?",dot:"inserthtml::.","quote|quotes|open quote":"inserthtml::'","header|header h1":"formatblock::h1","select all":"selectall"}},l.Icon.set("speech-recognize",h.default),u.Config.prototype.controls.speechRecognize={isVisible(t){return!!t.o.speechRecognize.api},isActive(t,i){let n=(0,a.dataBind)(t,"speech");return!!(null==n?void 0:n.isEnabled)},isDisabled(t){return!t.o.speechRecognize.api},exec(t,i,{button:n,control:l}){var u;let{api:c,lang:h,continuous:p,interimResults:f,sound:m}=t.o.speechRecognize;if(!c)return void t.alert("Speech recognize API unsupported in your browser");let g=(0,a.dataBind)(t,"speech");if(!g){let i=new c;(g=new d.RecognizeManager(t.async,i)).lang=(0,o.isString)(h)?h:null!=(u=(0,s.attr)(t.od.documentElement,"lang"))?u:void 0,g.continuous=p,g.interimResults=f,g.sound=m,(0,a.dataBind)(t,"speech",g),g.on("pulse",t=>{n.setMod("pulse",t)}),g.on("result",i=>t.e.fire("speechRecognizeResult",i)),g.on("progress",i=>t.e.fire("speechRecognizeProgressResult",i)),g.on("error",i=>t.message.error(i)),n.hookStatus("beforeDestruct",()=>{(0,a.dataBind)(t,"speech",null),g.destruct()})}if(l.args){let t=l.args[0];if((0,r.isBoolean)(g[t])){g[t]=!g[t],g.isEnabled&&g.restart();return}}g.toggle(),g.isEnabled&&n.setMod("pulse",!0),n.state.activated=g.isEnabled},name:"speechRecognize",command:"toggleSpeechRecognize",tooltip:"Speech Recognize",list:{sound:"Sound",interimResults:"Interim Results"},childTemplate(t,i,n){var r;let o=(0,a.dataBind)(t,"speech"),s=null!=(r=null==o?void 0:o[i])?r:t.o.speechRecognize[i];return`<span class='jodit-speech-recognize__list-item'><input ${s?"checked":""} class='jodit-checkbox' type='checkbox'>&nbsp;${n}</span>`},mods:{stroke:!1}}},46776:function(t,i,n){"use strict";var r=n(12153),o=n(6441),s=n(44330);o.Config.prototype.cleanHTML={timeout:300,removeEmptyElements:!0,fillEmptyParagraph:!0,replaceNBSP:!0,replaceOldTags:{i:"em",b:"strong"},allowTags:!1,denyTags:"script",useIframeSandbox:!1,removeOnError:!0,safeJavaScriptLink:!0,disableCleanFilter:null},o.Config.prototype.controls.eraser={command:"removeFormat",tooltip:"Clear Formatting"},r.Icon.set("eraser",s.default)},46954:function(t){t.exports={"Show Blocks":"แสดงช่วงตึก"}},46958:function(t,i,n){"use strict";var r=n(82749),o=n(31635);n(36347);var s=n(65478),a=n(2748),l=n(29960),u=n(20356),c=n(2692);class d extends u.Plugin{afterInit(t){Object.keys(t.o.highlightSignature.schema).length&&(t.e.on("change afterSetMode",this.walkNodes).on("afterGetValueFromEditor",d.removeUtilWrappers),this.walkNodes())}beforeDestruct(t){t.e.off("change afterSetMode",this.walkNodes).off("afterGetValueFromEditor",d.removeUtilWrappers)}walkNodes(){var t;if(!this.j.isEditorMode())return;this.checkUtilsBoxToSchema();let{j:i}=this,n=i.ed.createNodeIterator(i.editor,NodeFilter.SHOW_TEXT);null==(t=this.abortController)||t.abort(),this.workLoop(n)}runWorker(t){let i;this.j.e.mute();let n=0,{processInChunkCount:r}=this.j.o.highlightSignature;try{do{if(n+=1,!(i=t.nextNode())||this.checkNormalizing(i))return;this.checkReplaceSchemas(i)}while(i&&r>n)}finally{this.j.e.unmute()}this.workLoop(t)}workLoop(t){this.abortController=new AbortController,this.j.async.schedulerPostTask(()=>this.runWorker(t),{delay:this.j.o.highlightSignature.processDelay}).catch(()=>null)}checkNormalizing(t){return!!a.Dom.isText(t.nextSibling)&&(this.j.editor.normalize(),this.walkNodes(),!0)}checkReplaceSchemas(t){if(d.hasUtilWrapper(t))return;let i=t.nodeValue;if(null==i)return;let{j:n}=this,r=n.o.highlightSignature;for(let n in r.schema){let o=RegExp(n);if(o.test(i)){let s=i.match(o);if(!s||void 0===s.index)continue;let l=r.schema[n](this.j,s);if(l){a.Dom.markTemporary(l,{dataHighlightSchema:n}),this.replaceMatchedTextToElm(t,i,s,l);return}}}}replaceMatchedTextToElm(t,i,n,r){var o;let{j:s}=this,{range:l}=s.s,u=l.startContainer===t,c=l.startOffset,d=null!=(o=n.index)?o:0;t.nodeValue=i.substring(0,d);let h=i.substring(d+n[0].length);if(h.length){let i=s.createInside.text(h);a.Dom.after(t,i)}r.innerText=n[0],a.Dom.after(t,r),u&&this.restoreCursorPosition(c,t,r.firstChild,r.nextSibling)}static hasUtilWrapper(t){return a.Dom.isTemporary(t.parentElement)}static removeUtilWrappers(t){t.value=a.Dom.replaceTemporaryFromString(t.value)}restoreCursorPosition(t,...i){for(let n of i)if(n&&n.nodeValue){let i=n.nodeValue;if(i.length>=t){let i=this.j.s.createRange();i.setStart(n,t),this.j.s.selectRange(i,!1);break}t-=i.length}}checkUtilsBoxToSchema(){a.Dom.temporaryList(this.j.editor).forEach(t=>{var i;let n=(0,l.attr)(t,"dataHighlightSchema");if(!n)return;let r=RegExp(n),o=null!=(i=t.innerText)?i:"";(!r.test(o)||o.replace(r,"").length)&&(this.j.s.save(),a.Dom.unwrap(t),this.j.s.restore())})}constructor(...t){super(...t),(0,r._)(this,"abortController",null)}}(0,r._)(d,"requires",["license"]),(0,o.__decorate)([(0,s.debounce)()],d.prototype,"walkNodes",null),(0,o.__decorate)([s.autobind],d.prototype,"runWorker",null),c.JoditPro.plugins.add("highlight-signature",d)},46995:function(t){t.exports='<svg height="1792" viewBox="0 0 1792 1792" width="1792" xmlns="http://www.w3.org/2000/svg"> <path d="M1262 1075q-37 121-138 195t-228 74-228-74-138-195q-8-25 4-48.5t38-31.5q25-8 48.5 4t31.5 38q25 80 92.5 129.5t151.5 49.5 151.5-49.5 92.5-129.5q8-26 32-38t49-4 37 31.5 4 48.5zm-494-435q0 53-37.5 90.5t-90.5 37.5-90.5-37.5-37.5-90.5 37.5-90.5 90.5-37.5 90.5 37.5 37.5 90.5zm512 0q0 53-37.5 90.5t-90.5 37.5-90.5-37.5-37.5-90.5 37.5-90.5 90.5-37.5 90.5 37.5 37.5 90.5zm256 256q0-130-51-248.5t-136.5-204-204-136.5-248.5-51-248.5 51-204 136.5-136.5 204-51 248.5 51 248.5 136.5 204 204 136.5 248.5 51 248.5-51 204-136.5 136.5-204 51-248.5zm128 0q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"/> </svg>'},47064:function(t,i,n){"use strict";n.d(i,{clearAttributes:function(){return o}});let r=["cellspacing","cellpadding","border","v:shapes","o:spid"];function o(t){if(/^OLE_LINK\d+$/.test(t.attributes.name)&&(t.attributes.name=null,0===t.length))return t.remove(),null;for(let i of("_GoBack"===t.attributes.name&&(t.attributes.name=null),r))t.attributes[i]&&(t.attributes[i]=null);return t}},47193:function(t,i,n){"use strict";n.r(i),i.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"}},47373:function(t,i,n){"use strict";function r(t,i,n="image/png"){let o=atob(t),s=o.length,a=new Uint8Array(s);for(let t=0;s>t;t++)a[t]=o.charCodeAt(t);return new File([new Blob([a],{type:n})],i,{type:n})}n.d(i,{base64ToFile:function(){return r}})},47615:function(t,i,n){"use strict";n.r(i),i.default={symbols:"Simbolo"}},47660:function(t,i,n){"use strict";function r(t){let i=this.mapElements.indexOf(t);-1!==i&&(this.mapElements[i].gme.setMap(null),this.mapElements.splice(i,1),this.state.elements.splice(i,1),this.state.elements=[...this.state.elements])}n.d(i,{removeElement:function(){return r}})},47682:function(t,i,n){"use strict";var r=n(82749),o=n(31635);n(12324);var s=n(45198),a=n(78879),l=n.n(a),u=n(65478),c=n(2748),d=n(580),h=n(50911),p=n(12153),f=n(2692);class m extends h.Plugin{get style(){return(0,d.getContainer)(this.jodit,m,"style",!0)}enable(){this.isEnabled=!0;let t=this.j.o.iframe?"body":".jodit-wysiwyg",{tagList:i,color:n}=this.j.o.showBlocks;this.style.innerHTML=i.map(i=>{var r;return`${t} ${i}{
220
+ </div>`}reconcile(t){let i=this.elements.findIndex((i,n)=>!t[n]||i.item.uniqueHashKey!==u.FileBrowserItem.create(t[n]).uniqueHashKey);if(i>-1){for(let t=i;t<this.elements.length;t+=1)this.elements[t].destruct();this.elements.length=i}return i}build(t){let i=this.reconcile(t);t.slice(i>-1?i:this.elements.length).forEach(t=>{let i=new c.UIBrowserItem(this.jodit,t);Object.keys(this.mods).forEach(t=>{i.setMod(t,this.mods[t])}),this.append(i)}),this.setMod("empty",!this.elements.length)}onScrollLoadChunk(){!this.stateManager.isFavoriteItems&&this.container.scrollHeight-(this.container.scrollTop+this.container.offsetHeight)<this.j.o.pixelOffsetLoadNewChunk&&this.j.loadingManager.loadItemsChunk()}onDragOver(t){t.preventDefault(),this.setMod("dragover",!0)}onDragLeave(t){t.preventDefault(),this.setMod("dragover",!1)}addItemsSelector(){d.UISelectItems.install(this)}static intersectRect(t,i){return!(i.left>t.left+t.width||i.left+i.width<t.left||i.top>t.top+t.height||i.top+i.height<t.top)}onSelectItems(t){let i=[];this.elements.forEach(n=>{let r=(0,a.position)(n.container);h.intersectRect(r,t)&&i.push(n.item)}),this.stateManager.state.activeElements=i}constructor(t,i){super(t),(0,r._)(this,"stateManager",void 0),(0,r._)(this,"syncMod",void 0),this.stateManager=i,this.syncMod=!0,this.addItemsSelector()}}(0,o.__decorate)([(0,s.watch)(":afterResize"),(0,s.watch)(":resize"),(0,s.watch)("container:scroll"),(0,s.throttle)()],h.prototype,"onScrollLoadChunk",null),(0,o.__decorate)([(0,s.watch)("container:dragover")],h.prototype,"onDragOver",null),(0,o.__decorate)([(0,s.watch)(["container:dragleave","container:drop"])],h.prototype,"onDragLeave",null),h=(0,o.__decorate)([s.component],h)},43809:function(t,i,n){"use strict";var r=n(65478),o=n(580),s=n(29960),a=n(50911);n(99085);var l=n(26529);class u extends a.Plugin{afterInit(t){t.e.on("afterInit afterAddPlace prepareWYSIWYGEditor",this.toggleSpellcheck),this.toggleSpellcheck(),t.registerCommand("toggleSpellcheck",()=>{this.jodit.o.spellcheck=!this.jodit.o.spellcheck,this.toggleSpellcheck(),this.j.e.fire("updateToolbar")})}toggleSpellcheck(){(0,s.attr)(this.jodit.editor,"spellcheck",this.jodit.o.spellcheck)}beforeDestruct(t){}constructor(t){super(t),this.buttons=[{group:"state",name:"spellcheck"}],(0,o.extendLang)(l)}}!function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);s>3&&a&&Object.defineProperty(i,n,a)}([r.autobind],u.prototype,"toggleSpellcheck",null),o.pluginSystem.add("spellcheck",u)},44245:function(t,i,n){"use strict";n.d(i,{insertParagraph:function(){return s}});var r=n(2748),o=n(26395);function s(t,i,n,s){let a="br"===n.toLowerCase(),{createInside:l}=i,u=l.element(n),c=l.element("br");return a||u.appendChild(c),s&&s.cssText&&u.setAttribute("style",s.cssText),r.Dom.after(t,u),r.Dom.before(a?u:c,t),(0,o.scrollIntoViewIfNeeded)(u,i.editor,i.ed),u}},44253:function(t,i,n){"use strict";n.d(i,{toggleAttributes:function(){return g}});var r=n(82758),o=n(2748),s=n(580),a=n(27613),l=n(3760),u=n(21496),c=n(12475),d=n(43555),h=n(41180),p=n(86583),f=n(77361);let m="toggleAttributes";function g(t,i,n,v,y=!1){if(!y&&t.isApplied(i,m))return v;y||t.setApplied(i,m);let{attributes:_}=t.options;return _&&(0,u.size)(_)>0&&Object.keys(_).forEach(m=>{var g,C,w;let F=_[m];switch(m){case"style":g=v,(0,d.assert)((0,a.isPlainObject)(F)&&(0,u.size)(F),"Style must be an object"),Object.keys(F).forEach(a=>{let u=i.style.getPropertyValue((0,c.kebabCase)(a)),d=F[a];if(""!==u||null!=d){let c,m;if((c=n.create.element(i.tagName.toLowerCase())).style.cssText=i.style.cssText,(function(t){var i;if(void 0!==(0,p.dataBind)(t,"shadowRoot"))return(0,p.dataBind)(t,"shadowRoot");let n=(0,s.getContainer)(t),o=r.globalDocument.createElement("iframe");(0,h.css)(o,{width:0,height:0,position:"absolute",border:0}),o.src="about:blank",n.appendChild(o);let a=null==(i=o.contentWindow)?void 0:i.document,l=a?a.body:t.od.body;return(0,p.dataBind)(t,"shadowRoot",l),l})(n).appendChild(c),m=(0,h.css)(c,a),o.Dom.safeRemove(c),m===(0,l.normalizeCssValue)(a,d)){if(!u)return;y||(0,h.css)(i,a,null),g=b(t,i,g=f.UNSET);return}g=f.CHANGE,y||((0,h.css)(i,a,d),g=b(t,i,g))}}),v=g;break;case"className":case"class":let E;C=v,(0,d.assert)((0,a.isString)(F),"Class name must be a string"),E=n.e.fire.bind(n.e,`${f._PREFIX}AfterToggleAttribute`),i.classList.contains(F.toString())?(C=f.UNSET,y||(i.classList.remove(F),0===i.classList.length&&((0,d.attr)(i,"class",null),E(C,i,"class",null)))):(C=f.CHANGE,y||(i.classList.add(F),E(C,i,"class",F))),v=C;break;default:let k;w=v,(0,d.assert)((0,a.isString)(F)||(0,a.isNumber)(F)||(0,a.isBoolean)(F)||null==F,"Attribute value must be a string or number or boolean or null"),k=n.e.fire.bind(n.e,`${f._PREFIX}AfterToggleAttribute`),(0,d.attr)(i,m)===F?(y||(0,d.attr)(i,m,null),w=f.UNSET,y||k(w,i,m,F)):(w=f.CHANGE,y||((0,d.attr)(i,m,F),k(w,i,m,F))),v=w}}),v}function b(t,i,n){return(0,d.attr)(i,"style")||((0,d.attr)(i,"style",null),i.tagName.toLowerCase()===t.defaultTag&&(o.Dom.unwrap(i),n=f.UNWRAP)),n}},44328:function(t,i,n){"use strict";n.r(i),i.default={symbols:"Sembol"}},44330:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M832 1408l336-384h-768l-336 384h768zm1013-1077q15 34 9.5 71.5t-30.5 65.5l-896 1024q-38 44-96 44h-768q-38 0-69.5-20.5t-47.5-54.5q-15-34-9.5-71.5t30.5-65.5l896-1024q38-44 96-44h768q38 0 69.5 20.5t47.5 54.5z"/> </svg> '},44450:function(t,i,n){"use strict";function r(t,i,n){return t.dataProvider.fileRemove(t.state.currentPath,i,n).then(n=>{t.status(n||t.i18n('File "%s" was deleted',i),!0)}).catch(t.status)}n.d(i,{deleteFile:function(){return r}})},44506:function(t,i,n){"use strict";n.d(i,{getContentWidth:function(){return r}});let r=(t,i)=>{let n=i.getComputedStyle(t);return t.offsetWidth-parseInt(n.getPropertyValue("padding-left")||"0",10)-parseInt(n.getPropertyValue("padding-right")||"0",10)}},44526:function(t,i,n){"use strict";n.d(i,{resolveBlock:function(){return o}});var r=n(22732);function o(t,{selector:i,index:n,requireExactlyOne:s=!1}={}){let a=null!=i,l=null!=n;if(s&&a===l)throw Error("Either index or selector must be provided, but not both");if(!a&&!l)throw Error("Block identifier is required");if(a){if("string"!=typeof i)throw Error("Selector must be a string");let n=t.editor.querySelector(i);if(!n)throw Error(`No element found matching selector "${i}"`);if(!r.Dom.isElement(n))throw Error(`Selector "${i}" does not point to an element node`);return{element:n,identifier:`with selector "${i}"`}}if("number"!=typeof n)throw Error("Block index must be a number");let u=Array.from(t.editor.children);if(n<0||n>=u.length)throw Error(`Block index ${n} is out of range. Document has ${u.length} blocks`);let c=u[n];if(!r.Dom.isElement(c))throw Error(`Block at index ${n} is not a valid element`);return{element:c,identifier:`at index ${n}`}}},44586:function(t,i,n){"use strict";n(6441).Config.prototype.draggableTags=["img","jodit-media","jodit"]},44602:function(t,i,n){"use strict";n.d(i,{getSuitParent:function(){return function t(i,n,a){let{parentNode:l}=n;return l===a||!r.Dom.isHTMLElement(l)||r.Dom.next(n,o.isNormalNode,l)||r.Dom.prev(n,o.isNormalNode,l)?null:i.isElementCommit&&i.elementIsBlock&&!r.Dom.isBlock(l)?t(i,l,a):(0,s.isSuitElement)(i,l,!1)&&(!r.Dom.isBlock(l)||i.elementIsBlock)?l:i.isElementCommit&&!r.Dom.isBlock(l)?t(i,l,a):null}}});var r=n(2748),o=n(29136),s=n(97380)},44710:function(t,i,n){"use strict";n.d(i,{buildQuery:function(){return o}});var r=n(72430);let o=(t,i)=>{let n=[],s=encodeURIComponent;for(let a in t)if(Object.prototype.hasOwnProperty.call(t,a)){let l=i?i+"["+a+"]":a,u=t[a];n.push((0,r.isPlainObject)(u)?o(u,l):s(l)+"="+s(u))}return n.join("&")}},44730:function(t,i,n){"use strict";n.r(i),i.default={symbols:"caract\xe8re"}},44850:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"Helyes\xedr\xe1s-ellenőrz\xe9s"}},44864:function(t,i,n){"use strict";var r=n(77688),o=n(82749),s=n(56075),a=n(31635);n(53586);var l=n(83725),u=n(64199),c=n(82758),d=n(65478),h=n(2748),p=n(21537),f=n(50911),m=n(56917),g=n(2692);class b extends f.Plugin{get list(){return new l.Autocomplete(this.jodit)}get popup(){let t=new m.Popup(this.jodit);return t.setMod("padding",!1),t.setContent(this.list.container),this.jodit.e.on(t,"beforeClose",()=>{this.list.currentSelection=0}),t}afterInit(t){t.e.on("select.autocomplete",i=>{let n=i.value;(0,p.isFunction)(i.insertValueRenderer)&&(n=i.insertValueRenderer(i)),h.Dom.isNode(n)||(n=t.createInside.fromHTML(n)),(0,u.replaceTextLeftOfCursorAfterSpace)(t.s.range,n),this.j.s.setCursorAfter(n),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(t){this.sources.push(t)}unregisterAutocompleteSource(t){let i=this.sources.indexOf(t);-1!==i&&this.sources.splice(i,1)}static isControlKey(t){return t===c.KEY_DOWN||t===c.KEY_UP||t===c.KEY_ENTER||t===c.KEY_TAB}onKeyDown(t){return(0,r._)(function*(){var i,n;if(t.key===c.KEY_ESC){this.popup.isOpened&&this.popup.close();return}let{s:r}=this.j;if(b.isControlKey(t.key)||!r.isInsideArea||!r.isCollapsed)return;let o=(null==(i=this.j.s.sel)?void 0:i.rangeCount)?null==(n=this.j.s.sel)?void 0:n.getRangeAt(0):null,s=o&&(0,u.getTextLeftOfCursor)(o).split(" ").pop();if(s&&(0,p.trim)(s).length){let t=yield this.onAutoComplete(s);if(t.length)return this.openPopup(t)}this.popup.isOpened&&this.popup.close()}).call(this)}onKeyControlDown(t){if(this.popup.isOpened&&b.isControlKey(t.key)){switch(t.key){case c.KEY_DOWN:this.list.selectNext();break;case c.KEY_UP:this.list.selectPrevious();break;case c.KEY_TAB:this.list.select()}return this.j.e.stopPropagation(t.type),!1}}onEnter(){if(this.popup.isOpened)return this.list.select(),!1}onAutoComplete(t){return(0,r._)(function*(){let i=[];return yield Promise.all(this.sources.concat(this.j.o.autocomplete.sources).map(n=>(0,r._)(function*(){i.push(...yield this.resolveFeed(t,n))}).call(this))),i}).call(this)}resolveFeed(t,i,n){return(0,r._)(function*(){let r;if((0,p.isPromise)(i)&&(i=yield i),(0,p.isFunction)(i))r=yield i(t);else if((0,p.isArray)(i)){let n=i,{isMatchedQuery:o}=this.j.o.autocomplete;r=n.filter(i=>(0,p.isString)(i)?o(t,i):o(t,i.value)).map(t=>(0,p.isString)(t)?{title:t,value:t}:t)}else r=yield this.resolveFeed(t,i.feed,i);if(this.j.isDestructed)return[];if(r&&(0,p.isArray)(r)){let{itemRenderer:t,insertValueRenderer:i,maxItems:o}=this.j.o.autocomplete;return(r=r.map(r=>{var o,a;return(0,s._)({itemRenderer:null!=(o=null==n?void 0:n.itemRenderer)?o:t,insertValueRenderer:null!=(a=null==n?void 0:n.insertValueRenderer)?a:i},r)})).slice(0,o)}return[]}).call(this)}openPopup(t){this.list.build(t),this.popup.open(()=>{let{j:t}=this,i=t.s.range.getBoundingClientRect(),n={left:i.left,top:i.top,height:i.height,width:i.width};if(t.o.iframe&&t.iframe){let i=(0,p.position)(t.iframe,t);n.top+=i.top,n.left+=i.left}return n})}beforeDestruct(t){t.e.off(this.list).off(this.popup).off("keydown.autocomplete",this.onKeyDown).off("autocomplete.autocomplete",this.onAutoComplete).off(".autocomplete"),this.list.destruct(),this.popup.destruct()}constructor(...t){super(...t),(0,o._)(this,"hasStyle",!g.JoditPro.fatMode),(0,o._)(this,"sources",[])}}(0,o._)(b,"requires",["enter","license"]),(0,a.__decorate)([d.cache],b.prototype,"list",null),(0,a.__decorate)([d.cache],b.prototype,"popup",null),(0,a.__decorate)([d.autobind],b.prototype,"registerAutocompleteSource",null),(0,a.__decorate)([d.autobind],b.prototype,"unregisterAutocompleteSource",null),(0,a.__decorate)([(0,d.debounce)()],b.prototype,"onKeyDown",null),(0,a.__decorate)([d.autobind],b.prototype,"onKeyControlDown",null),(0,a.__decorate)([d.autobind],b.prototype,"onEnter",null),(0,a.__decorate)([d.autobind],b.prototype,"onAutoComplete",null),(0,a.__decorate)([d.autobind],b.prototype,"resolveFeed",null),g.JoditPro.plugins.add("autocomplete",b)},45124:function(t,i,n){"use strict";n.d(i,{cursorInTheEdgeOfString:function(){return a},findCorrectCurrentNode:function(){return l},moveNodeInsideStart:function(){return s.moveNodeInsideStart}});var r=n(82758),o=n(2748),s=n(26716);function a(t,i,n,o){var s;let a=(null==(s=t.nodeValue)?void 0:s.length)?t.nodeValue:"";if(o&&a.replace((0,r.INVISIBLE_SPACE_REG_EXP_END)(),"").length>i)return!0;let l=(0,r.INVISIBLE_SPACE_REG_EXP_START)().exec(a);return n&&(l&&l[0].length<i||!l&&i>0)}function l(t,i,n,r,s,a){if((t=i.startContainer.childNodes[i.startOffset])||(t=i.startContainer.childNodes[i.startOffset-1],n=!0),t&&r&&!o.Dom.isText(t)){if(!n&&o.Dom.isText(t.previousSibling))t=t.previousSibling;else if(s){let i=a(t);for(;i;){if(i&&o.Dom.isText(i)){t=i;break}i=a(i)}}}if(t&&!r&&!o.Dom.isText(t)){let i=t,n=t;do i=i.firstChild,n=n.lastChild;while(i&&n&&!o.Dom.isText(i));i===n&&i&&o.Dom.isText(i)&&(t=i)}return{node:t,rightMode:n}}n(43463)},45128:function(t,i,n){"use strict";n.d(i,{ColorInput:function(){return p}});var r=n(82749),o=n(31635),s=n(46146),a=n(82758),l=n(65478),u=n(21537),c=n(38837),d=n(67510),h=n(41409);class p extends d.UIInput{className(){return"ColorInput"}afterSetMode(t,i){"slim"===t&&i&&this.nativeInput.setAttribute("readonly","true")}onChangeSelfValue(){this.nativeInput.style.backgroundColor=this.value}onEscKeyDown(t){if(t.key===a.KEY_ESC){var i;null==(i=this.popup)||i.close()}}constructor(t,i){super(t,i),(0,r._)(this,"trigger",void 0),(0,r._)(this,"popup",void 0);const n=new d.Popup(t);this.popup=n,this.trigger=(0,d.Button)(this.j,"ok");const o=this.getElm("wrapper");(0,c.assert)(null!=o,"wrapper element does not exist"),o.appendChild(this.trigger.container),this.trigger.container.classList.add(this.getFullElName("trigger")),this.trigger.onAction(()=>{var t,i;null==(t=(i=this.state).onChange)||t.call(i,this.value),n.close()}),n.setMod("padding",!1).setMod("max-height",!1);const a=this.j.create.div(this.getFullElName("picker")),l=s.createPicker(a,{paletteEditable:!0,showAlpha:!0,palette:"PALETTE_MATERIAL_CHROME"}).on("change",(t,i)=>{this.isFocused||(this.value=s.parseColor(i||"","hex"))});this.j.e.on(this,"change",()=>{let t;t=this.value,s.parseColor(t,"hex")!==l.color&&(l.color=this.value)}),n.setContent(a),this.j.e.on(this.nativeInput,"click",()=>{n.parentElement=this,this.jodit instanceof h.Dialog&&n.setZIndex(this.jodit.getZIndex()+1),n.open(()=>(0,u.position)(this.container))}),this.onChangeValue(),this.onChangeSelfValue()}}(0,o.__decorate)([(0,l.watch)(":change")],p.prototype,"onChangeSelfValue",null),(0,o.__decorate)([(0,l.watch)("nativeInput:keydown")],p.prototype,"onEscKeyDown",null),p=(0,o.__decorate)([l.component],p)},45198:function(t,i,n){"use strict";n.r(i),n.d(i,{ar:function(){return o.a},cs_cz:function(){return a.a},de:function(){return u.a},es:function(){return d.a},fa:function(){return p.a},fr:function(){return m.a},he:function(){return b.a},hu:function(){return y.a},id:function(){return C.a},it:function(){return F.a},ja:function(){return k.a},ko:function(){return A.a},nl:function(){return x.a},pl:function(){return B.a},pt_br:function(){return j.a},ru:function(){return L.a},tr:function(){return M.a},zh_cn:function(){return O.a},zh_tw:function(){return H.a}});var r=n(7085),o=n.n(r),s=n(42350),a=n.n(s),l=n(53189),u=n.n(l),c=n(48154),d=n.n(c),h=n(59551),p=n.n(h),f=n(41858),m=n.n(f),g=n(78777),b=n.n(g),v=n(25321),y=n.n(v),_=n(27847),C=n.n(_),w=n(23287),F=n.n(w),E=n(73035),k=n.n(E),S=n(97028),A=n.n(S),D=n(26436),x=n.n(D),I=n(6602),B=n.n(I),T=n(86401),j=n.n(T),P=n(54023),L=n.n(P),R=n(8432),M=n.n(R),z=n(58366),O=n.n(z),N=n(46954),H=n.n(N)},45219:function(t,i,n){"use strict";n.d(i,{autobind:function(){return o}});var r=n(23282);function o(t,i,n){if(!(0,r.isFunction)(n.value))throw TypeError(`@autobind can only be applied to methods, but "${i}" is not a function`);let o=n.value;return{configurable:!0,get(){let t=o.bind(this);return Object.defineProperty(this,i,{value:t,configurable:!0,writable:!0}),t}}}},45235:function(t,i,n){"use strict";n.r(i),n.d(i,{allowAttributes:function(){return r.allowAttributes},fillEmptyParagraph:function(){return o.fillEmptyParagraph},removeEmptyTextNode:function(){return s.removeEmptyTextNode},removeInvTextNodes:function(){return a.removeInvTextNodes},replaceOldTags:function(){return l.replaceOldTags},sanitizeAttributes:function(){return u.sanitizeAttributes},tryRemoveNode:function(){return c.tryRemoveNode}});var r=n(82558),o=n(39433),s=n(53392),a=n(25813),l=n(80973),u=n(384),c=n(28800)},45575:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M1600 736v192q0 40-28 68t-68 28h-416v416q0 40-28 68t-68 28h-192q-40 0-68-28t-28-68v-416h-416q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h416v-416q0-40 28-68t68-28h192q40 0 68 28t28 68v416h416q40 0 68 28t28 68z"/></svg> '},45603:function(t,i,n){"use strict";n.d(i,{isLicense:function(){return o}});var r=n(70799);let o=t=>(0,r.isString)(t)&&23===t.length&&/^[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}$/i.test(t)},45632:function(t,i,n){"use strict";var r=n(82749),o=n(31635);n(82158);var s=n(82520),a=n(35987),l=n(65478),u=n(2748),c=n(50911),d=n(62843),h=n(78584),p=n(2692);class f extends c.Plugin{afterInit(t){t.e.on("toggleButtonGenerator",this.toggleButtonGenerator).on("isButtonGeneratorOpened",()=>{var t;return null==(t=this.__dialog)?void 0:t.isOpened})}toggleButtonGenerator(t){this.__dialog||(this.__dialog=new h.Dialog({language:this.j.o.language,theme:this.j.o.theme}),this.__ui=new a.UIButtonGenerator(this.__dialog),this.__dialog.setHeader("Button Generator").setContent(this.__ui).setSize(730,700)),t&&!u.Dom.isTag(t,new Set(["button","a"]))&&(t=void 0);let i=this.__ui,n=this.__dialog;n.isOpened?n.close():(t&&s.UIGButton.extractStyle(i.state,t),i.target=t,i.update(),n.setFooter([(0,d.Button)(n,"cancel","Cancel","default").onAction(()=>n.close()),(0,d.Button)(n,"ok",t?"Update":"Insert","primary").onAction(()=>{t||(t=this.j.createInside.element(i.state.href?"a":"button"),this.j.s.insertNode(t,!0,!1)),s.UIGButton.applyStyle(i.state,t),t.className=i.state.className||"",this.jodit.e.fire("synchro"),n.close()})]).open())}onDblClick(t){u.Dom.isTag(t.target,"button")&&this.toggleButtonGenerator(t.target)}beforeDestruct(t){var i;null==(i=this.__dialog)||i.destruct()}constructor(...t){super(...t),(0,r._)(this,"hasStyle",!p.JoditPro.fatMode),(0,r._)(this,"buttons",[{group:"form",name:"buttonGenerator"}]),(0,r._)(this,"__dialog",void 0),(0,r._)(this,"__ui",void 0)}}(0,r._)(f,"requires",["license","color-picker"]),(0,o.__decorate)([l.autobind],f.prototype,"toggleButtonGenerator",null),(0,o.__decorate)([(0,l.watch)(":dblclick")],f.prototype,"onDblClick",null),p.JoditPro.plugins.add("button-generator",f)},45927:function(t,i,n){"use strict";var r=n(65478),o=n(580),s=n(84767),a=n(41180),l=n(20356);n(80792);var u=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class c extends l.Plugin{afterInit(t){t.e.on("setHeight.size",this.__setHeight).on("setWidth.size",this.__setWidth).on("afterInit.size changePlace.size",this.__initialize,{top:!0}).on(t.ow,"load.size",this.__resizeWorkspaces).on("afterInit.size resize.size afterUpdateToolbar.size scroll.size afterResize.size",this.__resizeWorkspaces).on("toggleFullSize.size toggleToolbar.size",this.__resizeWorkspaceImd),this.__immediateInitialize()}__initialize(){this.__immediateInitialize()}__immediateInitialize(){let{j:t}=this;if(t.o.inline)return;let{height:i}=t.o;if(t.o.saveHeightInStorage&&"auto"!==i){let n=t.storage.get("height");n&&(i=n)}(0,a.css)(t.editor,{minHeight:"100%"}),(0,a.css)(t.container,{minHeight:t.o.minHeight,maxHeight:t.o.maxHeight,minWidth:t.o.minWidth,maxWidth:t.o.maxWidth}),t.isFullSize||(this.__setHeight(i),this.__setWidth(t.o.width))}__setHeight(t){let{clientHeight:i,clientWidth:n}=this.j.container;if((0,s.isNumber)(t)){let{minHeight:i,maxHeight:n}=this.j.o;(0,s.isNumber)(i)&&i>t&&(t=i),(0,s.isNumber)(n)&&n<t&&(t=n)}(0,a.css)(this.j.container,"height",t),this.j.o.saveHeightInStorage&&this.j.storage.set("height",t),this.__resizeWorkspaceImd({clientHeight:i,clientWidth:n})}__setWidth(t){let{clientHeight:i,clientWidth:n}=this.j.container;if((0,s.isNumber)(t)){let{minWidth:i,maxWidth:n}=this.j.o;(0,s.isNumber)(i)&&i>t&&(t=i),(0,s.isNumber)(n)&&t>n&&(t=n)}(0,a.css)(this.j.container,"width",t),this.__resizeWorkspaceImd({clientHeight:i,clientWidth:n})}__getNotWorkHeight(){var t,i;return((null==(t=this.j.toolbarContainer)?void 0:t.offsetHeight)||0)+((null==(i=this.j.statusbar)?void 0:i.getHeight())||0)+2}__resizeWorkspaceImd({clientHeight:t,clientWidth:i}=this.j.container){if(!this.j||this.j.isDestructed||!this.j.o||this.j.o.inline||!this.j.container||!this.j.container.parentNode)return;let n=((0,a.css)(this.j.container,"minHeight")||0)-this.__getNotWorkHeight();if((0,s.isNumber)(n)&&n>0&&([this.j.workplace,this.j.currentPlace.slots.center,this.j.iframe,this.j.editor].map(t=>{t&&(0,a.css)(t,"minHeight",n)}),this.j.e.fire("setMinHeight",n)),(0,s.isNumber)(this.j.o.maxHeight)){let t=this.j.o.maxHeight-this.__getNotWorkHeight();[this.j.workplace,this.j.currentPlace.slots.center,this.j.iframe,this.j.editor].map(i=>{i&&(0,a.css)(i,"maxHeight",t)}),this.j.e.fire("setMaxHeight",t)}if(this.j.container){let t="auto"!==this.j.o.height||this.j.isFullSize?this.j.container.offsetHeight-this.__getNotWorkHeight():"auto";(0,a.css)(this.j.workplace,"height",t),this.j.container.style.setProperty("--jd-jodit-workplace-height",(0,s.isNumber)(t)?t+"px":t)}let{clientHeight:r,clientWidth:o}=this.j.container;(t!==r||i!==o)&&this.j.e.fire(this.j,"resize")}beforeDestruct(t){t.e.off(t.ow,"load.size",this.__resizeWorkspaces).off(".size")}constructor(){super(...arguments),this.__resizeWorkspaces=this.j.async.debounce(this.__resizeWorkspaceImd,this.j.defaultTimeout,!0)}}u([(0,r.throttle)()],c.prototype,"__initialize",null),u([r.autobind],c.prototype,"__setHeight",null),u([r.autobind],c.prototype,"__setWidth",null),u([r.autobind],c.prototype,"__resizeWorkspaceImd",null),o.pluginSystem.add("size",c)},45971:function(t,i,n){"use strict";function r(t){return t.replace(/\r\n|\r|\n/g,"<br/>")}n.d(i,{nl2br:function(){return r}})},46104:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M896 1152q0-36-20-69-1-1-15.5-22.5t-25.5-38-25-44-21-50.5q-4-16-21-16t-21 16q-7 23-21 50.5t-25 44-25.5 38-15.5 22.5q-20 33-20 69 0 53 37.5 90.5t90.5 37.5 90.5-37.5 37.5-90.5zm512-128q0 212-150 362t-362 150-362-150-150-362q0-145 81-275 6-9 62.5-90.5t101-151 99.5-178 83-201.5q9-30 34-47t51-17 51.5 17 33.5 47q28 93 83 201.5t99.5 178 101 151 62.5 90.5q81 127 81 275z"/> </svg> '},46124:function(t,i,n){"use strict";n.r(i),n.d(i,{removeExtraBr:function(){return r.removeExtraBr}});var r=n(94870)},46146:function(t){"u">typeof self&&self,t.exports=function(){var t=[function(t,i,n){"use strict";var r=n(3);function o(t){return!0===r(t)&&"[object Object]"===Object.prototype.toString.call(t)}t.exports=function(t){var i,n;return!1!==o(t)&&"function"==typeof(i=t.constructor)&&!1!==o(n=i.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")}},function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.VERSION=i.PALETTE_MATERIAL_CHROME=i.PALETTE_MATERIAL_500=i.COLOR_NAMES=i.getLuminance=i.intToRgb=i.rgbToInt=i.rgbToHsv=i.rgbToHsl=i.hslToRgb=i.rgbToHex=i.parseColor=i.parseColorToHsla=i.parseColorToHsl=i.parseColorToRgba=i.parseColorToRgb=i.from=i.createPicker=void 0;var r=function(){function t(t,i){for(var n=0;n<i.length;n++){var r=i[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(i,n,r){return n&&t(i.prototype,n),r&&t(i,r),i}}(),o=function(t,i){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,i){var n=[],r=!0,o=!1,s=void 0;try{for(var a,l=t[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!i||n.length!==i);r=!0);}catch(t){o=!0,s=t}finally{try{!r&&l.return&&l.return()}finally{if(o)throw s}}return n}(t,i);throw TypeError("Invalid attempt to destructure non-iterable instance")},s=n(2),a=u(n(0)),l=u(n(4));function u(t){return t&&t.__esModule?t:{default:t}}function c(t,i){if(!(t instanceof i))throw TypeError("Cannot call a class as a function")}function d(t){if(Array.isArray(t)){for(var i=0,n=Array(t.length);i<t.length;i++)n[i]=t[i];return n}return Array.from(t)}var h="u">typeof window&&window.navigator.userAgent.indexOf("Edge")>-1,p="u">typeof window&&window.navigator.userAgent.indexOf("rv:")>-1,f={id:null,attachTo:"body",showHSL:!0,showRGB:!0,showHEX:!0,showAlpha:!1,color:"#ff0000",palette:null,paletteEditable:!1,useAlphaInPalette:"auto",slBarSize:[232,150],hueBarSize:[150,11],alphaBarSize:[150,11]},m="COLOR",g="RGBA_USER",b="HSLA_USER";function v(t,i,n){return t?t instanceof HTMLElement?t:t instanceof NodeList?t[0]:"string"==typeof t?document.querySelector(t):t.jquery?t.get(0):n?i:null:i}function y(t){var i=t.getContext("2d"),n=+t.width,r=+t.height,a=i.createLinearGradient(1,1,1,r-1);return a.addColorStop(0,"white"),a.addColorStop(1,"black"),{setHue:function(t){var o=i.createLinearGradient(1,0,n-1,0);o.addColorStop(0,"hsla("+t+", 100%, 50%, 0)"),o.addColorStop(1,"hsla("+t+", 100%, 50%, 1)"),i.fillStyle=a,i.fillRect(0,0,n,r),i.fillStyle=o,i.globalCompositeOperation="multiply",i.fillRect(0,0,n,r),i.globalCompositeOperation="source-over"},grabColor:function(t,n){return i.getImageData(t,n,1,1).data},findColor:function(t,i,a){var l=o((0,s.rgbToHsv)(t,i,a),3);return[l[1]*n,r-l[2]*r]}}}function _(t,i,n){return null===t?i:/^\s*$/.test(t)?n:!!/true|yes|1/i.test(t)||!/false|no|0/i.test(t)&&i}function C(t,i,n){if(null===t)return i;if(/^\s*$/.test(t))return n;var r=t.split(",").map(Number);return 2===r.length&&r[0]&&r[1]?r:i}var w=function(){function t(i,n){if(c(this,t),n?(i=v(i),this.options=Object.assign({},f,n)):i&&(0,a.default)(i)?(this.options=Object.assign({},f,i),i=v(this.options.attachTo)):(this.options=Object.assign({},f),i=v((0,s.nvl)(i,this.options.attachTo))),!i)throw Error("Container not found: "+this.options.attachTo);!function(t,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"acp-";if(i.hasAttribute(n+"show-hsl")&&(t.showHSL=_(i.getAttribute(n+"show-hsl"),f.showHSL,!0)),i.hasAttribute(n+"show-rgb")&&(t.showRGB=_(i.getAttribute(n+"show-rgb"),f.showRGB,!0)),i.hasAttribute(n+"show-hex")&&(t.showHEX=_(i.getAttribute(n+"show-hex"),f.showHEX,!0)),i.hasAttribute(n+"show-alpha")&&(t.showAlpha=_(i.getAttribute(n+"show-alpha"),f.showAlpha,!0)),i.hasAttribute(n+"palette-editable")&&(t.paletteEditable=_(i.getAttribute(n+"palette-editable"),f.paletteEditable,!0)),i.hasAttribute(n+"sl-bar-size")&&(t.slBarSize=C(i.getAttribute(n+"sl-bar-size"),f.slBarSize,[232,150])),i.hasAttribute(n+"hue-bar-size")&&(t.hueBarSize=C(i.getAttribute(n+"hue-bar-size"),f.hueBarSize,[150,11]),t.alphaBarSize=t.hueBarSize),i.hasAttribute(n+"palette")){var r=i.getAttribute(n+"palette");switch(r){case"PALETTE_MATERIAL_500":t.palette=s.PALETTE_MATERIAL_500;break;case"PALETTE_MATERIAL_CHROME":case"":t.palette=s.PALETTE_MATERIAL_CHROME;break;default:t.palette=r.split(/[;|]/)}}i.hasAttribute(n+"color")&&(t.color=i.getAttribute(n+"color"))}(this.options,i),this.H=0,this.S=0,this.L=0,this.R=0,this.G=0,this.B=0,this.A=1,this.palette={},this.element=document.createElement("div"),this.options.id&&(this.element.id=this.options.id),this.element.className="a-color-picker",this.element.innerHTML=l.default,i.appendChild(this.element);var r=this.element.querySelector(".a-color-picker-h");this.setupHueCanvas(r),this.hueBarHelper=y(r),this.huePointer=this.element.querySelector(".a-color-picker-h+.a-color-picker-dot");var o=this.element.querySelector(".a-color-picker-sl");this.setupSlCanvas(o),this.slBarHelper=y(o),this.slPointer=this.element.querySelector(".a-color-picker-sl+.a-color-picker-dot"),this.preview=this.element.querySelector(".a-color-picker-preview"),this.setupClipboard(this.preview.querySelector(".a-color-picker-clipbaord")),this.options.showHSL?(this.setupInput(this.inputH=this.element.querySelector(".a-color-picker-hsl>input[nameref=H]")),this.setupInput(this.inputS=this.element.querySelector(".a-color-picker-hsl>input[nameref=S]")),this.setupInput(this.inputL=this.element.querySelector(".a-color-picker-hsl>input[nameref=L]"))):this.element.querySelector(".a-color-picker-hsl").remove(),this.options.showRGB?(this.setupInput(this.inputR=this.element.querySelector(".a-color-picker-rgb>input[nameref=R]")),this.setupInput(this.inputG=this.element.querySelector(".a-color-picker-rgb>input[nameref=G]")),this.setupInput(this.inputB=this.element.querySelector(".a-color-picker-rgb>input[nameref=B]"))):this.element.querySelector(".a-color-picker-rgb").remove(),this.options.showHEX?this.setupInput(this.inputRGBHEX=this.element.querySelector("input[nameref=RGBHEX]")):this.element.querySelector(".a-color-picker-rgbhex").remove(),this.options.paletteEditable||this.options.palette&&this.options.palette.length>0?this.setPalette(this.paletteRow=this.element.querySelector(".a-color-picker-palette")):(this.paletteRow=this.element.querySelector(".a-color-picker-palette"),this.paletteRow.remove()),this.options.showAlpha?(this.setupAlphaCanvas(this.element.querySelector(".a-color-picker-a")),this.alphaPointer=this.element.querySelector(".a-color-picker-a+.a-color-picker-dot")):this.element.querySelector(".a-color-picker-alpha").remove(),this.element.style.width=this.options.slBarSize[0]+"px",this.onValueChanged(m,this.options.color)}return r(t,[{key:"setupHueCanvas",value:function(t){var i=this;t.width=this.options.hueBarSize[0],t.height=this.options.hueBarSize[1];for(var n=t.getContext("2d"),r=n.createLinearGradient(0,0,this.options.hueBarSize[0],0),o=0;o<=1;o+=1/360)r.addColorStop(o,"hsl("+360*o+", 100%, 50%)");n.fillStyle=r,n.fillRect(0,0,this.options.hueBarSize[0],this.options.hueBarSize[1]);var a=function(n){var r=(0,s.limit)(n.clientX-t.getBoundingClientRect().left,0,i.options.hueBarSize[0]),o=Math.round(360*r/i.options.hueBarSize[0]);i.huePointer.style.left=r-7+"px",i.onValueChanged("H",o)},l=function t(){document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",t)};t.addEventListener("mousedown",function(t){a(t),document.addEventListener("mousemove",a),document.addEventListener("mouseup",l)})}},{key:"setupSlCanvas",value:function(t){var i=this;t.width=this.options.slBarSize[0],t.height=this.options.slBarSize[1];var n=function(n){var r=(0,s.limit)(n.clientX-t.getBoundingClientRect().left,0,i.options.slBarSize[0]-1),o=(0,s.limit)(n.clientY-t.getBoundingClientRect().top,0,i.options.slBarSize[1]-1),a=i.slBarHelper.grabColor(r,o);i.slPointer.style.left=r-7+"px",i.slPointer.style.top=o-7+"px",i.onValueChanged("RGB",a)},r=function t(){document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",t)};t.addEventListener("mousedown",function(t){n(t),document.addEventListener("mousemove",n),document.addEventListener("mouseup",r)})}},{key:"setupAlphaCanvas",value:function(t){var i=this;t.width=this.options.alphaBarSize[0],t.height=this.options.alphaBarSize[1];var n=t.getContext("2d"),r=n.createLinearGradient(0,0,t.width-1,0);r.addColorStop(0,"hsla(0, 0%, 50%, 0)"),r.addColorStop(1,"hsla(0, 0%, 50%, 1)"),n.fillStyle=r,n.fillRect(0,0,this.options.alphaBarSize[0],this.options.alphaBarSize[1]);var o=function(n){var r=(0,s.limit)(n.clientX-t.getBoundingClientRect().left,0,i.options.alphaBarSize[0]),o=+(r/i.options.alphaBarSize[0]).toFixed(2);i.alphaPointer.style.left=r-7+"px",i.onValueChanged("ALPHA",o)},a=function t(){document.removeEventListener("mousemove",o),document.removeEventListener("mouseup",t)};t.addEventListener("mousedown",function(t){o(t),document.addEventListener("mousemove",o),document.addEventListener("mouseup",a)})}},{key:"setupInput",value:function(t){var i=this,n=+t.min,r=+t.max,o=t.getAttribute("nameref");t.hasAttribute("select-on-focus")&&t.addEventListener("focus",function(){t.select()}),"text"===t.type?t.addEventListener("change",function(){i.onValueChanged(o,t.value)}):((h||p)&&t.addEventListener("keydown",function(a){"Up"===a.key?(t.value=(0,s.limit)(+t.value+1,n,r),i.onValueChanged(o,t.value),a.returnValue=!1):"Down"===a.key&&(t.value=(0,s.limit)(t.value-1,n,r),i.onValueChanged(o,t.value),a.returnValue=!1)}),t.addEventListener("change",function(){var a=+t.value;i.onValueChanged(o,(0,s.limit)(a,n,r))}))}},{key:"setupClipboard",value:function(t){var i=this;t.title="click to copy",t.addEventListener("click",function(){t.value=(0,s.parseColor)([i.R,i.G,i.B,i.A],"hexcss4"),t.select(),document.execCommand("copy")})}},{key:"setPalette",value:function(t){var i=this,n="auto"===this.options.useAlphaInPalette?this.options.showAlpha:this.options.useAlphaInPalette,r=null;switch(this.options.palette){case"PALETTE_MATERIAL_500":r=s.PALETTE_MATERIAL_500;break;case"PALETTE_MATERIAL_CHROME":r=s.PALETTE_MATERIAL_CHROME;break;default:r=(0,s.ensureArray)(this.options.palette)}if(this.options.paletteEditable||r.length>0){var o=function(n,r,o){var s=t.querySelector('.a-color-picker-palette-color[data-color="'+n+'"]')||document.createElement("div");s.className="a-color-picker-palette-color",s.style.backgroundColor=n,s.setAttribute("data-color",n),s.title=n,t.insertBefore(s,r),i.palette[n]=!0,o&&i.onPaletteColorAdd(n)},a=function(n,r){n?(t.removeChild(n),i.palette[n.getAttribute("data-color")]=!1,r&&i.onPaletteColorRemove(n.getAttribute("data-color"))):(t.querySelectorAll(".a-color-picker-palette-color[data-color]").forEach(function(i){t.removeChild(i)}),Object.keys(i.palette).forEach(function(t){i.palette[t]=!1}),r&&i.onPaletteColorRemove())};if(r.map(function(t){return(0,s.parseColor)(t,n?"rgbcss4":"hex")}).filter(function(t){return!!t}).forEach(function(t){return o(t)}),this.options.paletteEditable){var l=document.createElement("div");l.className="a-color-picker-palette-color a-color-picker-palette-add",l.innerHTML="+",t.appendChild(l),t.addEventListener("click",function(t){/a-color-picker-palette-add/.test(t.target.className)?t.shiftKey?a(null,!0):o(n?(0,s.parseColor)([i.R,i.G,i.B,i.A],"rgbcss4"):(0,s.rgbToHex)(i.R,i.G,i.B),t.target,!0):/a-color-picker-palette-color/.test(t.target.className)&&(t.shiftKey?a(t.target,!0):i.onValueChanged(m,t.target.getAttribute("data-color")))})}else t.addEventListener("click",function(t){/a-color-picker-palette-color/.test(t.target.className)&&i.onValueChanged(m,t.target.getAttribute("data-color"))})}else t.style.display="none"}},{key:"updatePalette",value:function(t){this.paletteRow.innerHTML="",this.palette={},this.paletteRow.parentElement||this.element.appendChild(this.paletteRow),this.options.palette=t,this.setPalette(this.paletteRow)}},{key:"onValueChanged",value:function(t,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{silent:!1};switch(t){case"H":this.H=i;var r=o((0,s.hslToRgb)(this.H,this.S,this.L),3);this.R=r[0],this.G=r[1],this.B=r[2],this.slBarHelper.setHue(i),this.updatePointerH(this.H),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"S":this.S=i;var a=o((0,s.hslToRgb)(this.H,this.S,this.L),3);this.R=a[0],this.G=a[1],this.B=a[2],this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"L":this.L=i;var l=o((0,s.hslToRgb)(this.H,this.S,this.L),3);this.R=l[0],this.G=l[1],this.B=l[2],this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"R":this.R=i;var u=o((0,s.rgbToHsl)(this.R,this.G,this.B),3);this.H=u[0],this.S=u[1],this.L=u[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"G":this.G=i;var c=o((0,s.rgbToHsl)(this.R,this.G,this.B),3);this.H=c[0],this.S=c[1],this.L=c[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"B":this.B=i;var d=o((0,s.rgbToHsl)(this.R,this.G,this.B),3);this.H=d[0],this.S=d[1],this.L=d[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"RGB":var h=o(i,3);this.R=h[0],this.G=h[1],this.B=h[2];var p=o((0,s.rgbToHsl)(this.R,this.G,this.B),3);this.H=p[0],this.S=p[1],this.L=p[2],this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B);break;case g:var f=o(i,4);this.R=f[0],this.G=f[1],this.B=f[2],this.A=f[3];var v=o((0,s.rgbToHsl)(this.R,this.G,this.B),3);this.H=v[0],this.S=v[1],this.L=v[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B),this.updatePointerA(this.A);break;case b:var y=o(i,4);this.H=y[0],this.S=y[1],this.L=y[2],this.A=y[3];var _=o((0,s.hslToRgb)(this.H,this.S,this.L),3);this.R=_[0],this.G=_[1],this.B=_[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B),this.updatePointerA(this.A);break;case"RGBHEX":var C=o((0,s.cssColorToRgb)(i)||[this.R,this.G,this.B],3);this.R=C[0],this.G=C[1],this.B=C[2];var w=o((0,s.rgbToHsl)(this.R,this.G,this.B),3);this.H=w[0],this.S=w[1],this.L=w[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B);break;case m:var F=o((0,s.parseColor)(i,"rgba")||[0,0,0,1],4);this.R=F[0],this.G=F[1],this.B=F[2],this.A=F[3];var E=o((0,s.rgbToHsl)(this.R,this.G,this.B),3);this.H=E[0],this.S=E[1],this.L=E[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B),this.updatePointerA(this.A);break;case"ALPHA":this.A=i}1===this.A?this.preview.style.backgroundColor="rgb("+this.R+","+this.G+","+this.B+")":this.preview.style.backgroundColor="rgba("+this.R+","+this.G+","+this.B+","+this.A+")",n&&n.silent||this.onchange&&this.onchange(this.preview.style.backgroundColor)}},{key:"onPaletteColorAdd",value:function(t){this.oncoloradd&&this.oncoloradd(t)}},{key:"onPaletteColorRemove",value:function(t){this.oncolorremove&&this.oncolorremove(t)}},{key:"updateInputHSL",value:function(t,i,n){this.options.showHSL&&(this.inputH.value=t,this.inputS.value=i,this.inputL.value=n)}},{key:"updateInputRGB",value:function(t,i,n){this.options.showRGB&&(this.inputR.value=t,this.inputG.value=i,this.inputB.value=n)}},{key:"updateInputRGBHEX",value:function(t,i,n){this.options.showHEX&&(this.inputRGBHEX.value=(0,s.rgbToHex)(t,i,n))}},{key:"updatePointerH",value:function(t){var i=this.options.hueBarSize[0]*t/360;this.huePointer.style.left=i-7+"px"}},{key:"updatePointerSL",value:function(t,i,n){var r=o((0,s.hslToRgb)(t,i,n),3),a=r[0],l=r[1],u=r[2],c=o(this.slBarHelper.findColor(a,l,u),2),d=c[0],h=c[1];d>=0&&(this.slPointer.style.left=d-7+"px",this.slPointer.style.top=h-7+"px")}},{key:"updatePointerA",value:function(t){if(this.options.showAlpha){var i=this.options.alphaBarSize[0]*t;this.alphaPointer.style.left=i-7+"px"}}}]),t}(),F=function(){function t(i){c(this,t),this.name=i,this.listeners=[]}return r(t,[{key:"on",value:function(t){t&&this.listeners.push(t)}},{key:"off",value:function(t){this.listeners=t?this.listeners.filter(function(i){return i!==t}):[]}},{key:"emit",value:function(t,i){for(var n=this.listeners.slice(0),r=0;r<n.length;r++)n[r].apply(i,t)}}]),t}();function E(t,i){var n=new w(t,i),r={change:new F("change"),coloradd:new F("coloradd"),colorremove:new F("colorremove")},a=!0,l={},u={get element(){return n.element},get rgb(){return[n.R,n.G,n.B]},set rgb(e){var c=o(e,3),d=c[0],h=c[1],p=c[2],f=[(0,s.limit)(d,0,255),(0,s.limit)(h,0,255),(0,s.limit)(p,0,255)];d=f[0],h=f[1],p=f[2],n.onValueChanged(g,[d,h,p,1])},get hsl(){return[n.H,n.S,n.L]},set hsl(e){var v=o(e,3),y=v[0],_=v[1],C=v[2],E=[(0,s.limit)(y,0,360),(0,s.limit)(_,0,100),(0,s.limit)(C,0,100)];y=E[0],_=E[1],C=E[2],n.onValueChanged(b,[y,_,C,1])},get rgbhex(){return this.all.hex},get rgba(){return[n.R,n.G,n.B,n.A]},set rgba(e){var k=o(e,4),S=k[0],A=k[1],D=k[2],x=k[3],I=[(0,s.limit)(S,0,255),(0,s.limit)(A,0,255),(0,s.limit)(D,0,255),(0,s.limit)(x,0,1)];S=I[0],A=I[1],D=I[2],x=I[3],n.onValueChanged(g,[S,A,D,x])},get hsla(){return[n.H,n.S,n.L,n.A]},set hsla(e){var B=o(e,4),T=B[0],j=B[1],P=B[2],L=B[3],R=[(0,s.limit)(T,0,360),(0,s.limit)(j,0,100),(0,s.limit)(P,0,100),(0,s.limit)(L,0,1)];T=R[0],j=R[1],P=R[2],L=R[3],n.onValueChanged(b,[T,j,P,L])},get color(){return this.all.toString()},set color(e){n.onValueChanged(m,e)},setColor:function(t){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];n.onValueChanged(m,t,{silent:i})},get all(){if(a){var M=[n.R,n.G,n.B,n.A],z=n.A<1?"rgba("+n.R+","+n.G+","+n.B+","+n.A+")":s.rgbToHex.apply(void 0,M);(l=(0,s.parseColor)(M,l)).toString=function(){return z},a=!1}return Object.assign({},l)},get onchange(){return r.change&&r.change.listeners[0]},set onchange(e){this.off("change").on("change",e)},get oncoloradd(){return r.coloradd&&r.coloradd.listeners[0]},set oncoloradd(e){this.off("coloradd").on("coloradd",e)},get oncolorremove(){return r.colorremove&&r.colorremove.listeners[0]},set oncolorremove(e){this.off("colorremove").on("colorremove",e)},get palette(){return Object.keys(n.palette).filter(function(t){return n.palette[t]})},set palette(e){n.updatePalette(e)},show:function(){n.element.classList.remove("hidden")},hide:function(){n.element.classList.add("hidden")},toggle:function(){n.element.classList.toggle("hidden")},on:function(t,i){return t&&r[t]&&r[t].on(i),this},off:function(t,i){return t&&r[t]&&r[t].off(i),this},destroy:function(){r.change.off(),r.coloradd.off(),r.colorremove.off(),n.element.remove(),r=null,n=null}};return n.onchange=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];a=!0,r.change.emit([u].concat(i),u)},n.oncoloradd=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];r.coloradd.emit([u].concat(i),u)},n.oncolorremove=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];r.colorremove.emit([u].concat(i),u)},n.element.ctrl=u,u}if("u">typeof window&&!document.querySelector('head>style[data-source="a-color-picker"]')){var k=n(5).toString(),S=document.createElement("style");S.setAttribute("type","text/css"),S.setAttribute("data-source","a-color-picker"),S.innerHTML=k,document.querySelector("head").appendChild(S)}i.createPicker=E,i.from=function(t,i){var n=(t?Array.isArray(t)?t:t instanceof HTMLElement?[t]:t instanceof NodeList?[].concat(d(t)):"string"==typeof t?[].concat(d(document.querySelectorAll(t))):t.jquery?t.get():[]:[]).map(function(t,n){var r=E(t,i);return r.index=n,r});return n.on=function(t,i){return n.forEach(function(n){return n.on(t,i)}),this},n.off=function(t){return n.forEach(function(i){return i.off(t)}),this},n},i.parseColorToRgb=s.parseColorToRgb,i.parseColorToRgba=s.parseColorToRgba,i.parseColorToHsl=s.parseColorToHsl,i.parseColorToHsla=s.parseColorToHsla,i.parseColor=s.parseColor,i.rgbToHex=s.rgbToHex,i.hslToRgb=s.hslToRgb,i.rgbToHsl=s.rgbToHsl,i.rgbToHsv=s.rgbToHsv,i.rgbToInt=s.rgbToInt,i.intToRgb=s.intToRgb,i.getLuminance=s.getLuminance,i.COLOR_NAMES=s.COLOR_NAMES,i.PALETTE_MATERIAL_500=s.PALETTE_MATERIAL_500,i.PALETTE_MATERIAL_CHROME=s.PALETTE_MATERIAL_CHROME,i.VERSION="1.2.1"},function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.nvl=i.ensureArray=i.limit=i.getLuminance=i.parseColor=i.parseColorToHsla=i.parseColorToHsl=i.cssHslaToHsla=i.cssHslToHsl=i.parseColorToRgba=i.parseColorToRgb=i.cssRgbaToRgba=i.cssRgbToRgb=i.cssColorToRgba=i.cssColorToRgb=i.intToRgb=i.rgbToInt=i.rgbToHsv=i.rgbToHsl=i.hslToRgb=i.rgbToHex=i.PALETTE_MATERIAL_CHROME=i.PALETTE_MATERIAL_500=i.COLOR_NAMES=void 0;var r,o=function(t,i){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,i){var n=[],r=!0,o=!1,s=void 0;try{for(var a,l=t[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!i||n.length!==i);r=!0);}catch(t){o=!0,s=t}finally{try{!r&&l.return&&l.return()}finally{if(o)throw s}}return n}(t,i);throw TypeError("Invalid attempt to destructure non-iterable instance")},s=(r=n(0))&&r.__esModule?r:{default:r};function a(t){if(Array.isArray(t)){for(var i=0,n=Array(t.length);i<t.length;i++)n[i]=t[i];return n}return Array.from(t)}var l={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#00FFFF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blue:"#0000FF",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgrey:"#A9A9A9",darkgreen:"#006400",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#FF00FF",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4","indianred ":"#CD5C5C","indigo ":"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgrey:"#D3D3D3",lightgreen:"#90EE90",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#00FF00",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#FF0000",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFFFFF",whitesmoke:"#F5F5F5",yellow:"#FFFF00",yellowgreen:"#9ACD32"};function u(t,i,n){return isNaN(t*=1)||i>t?i:t>n?n:t}function c(t,i){return null==t?i:t}function d(t,i,n){var r=[u(t,0,255),u(i,0,255),u(n,0,255)];return"#"+("000000"+((t=r[0])<<16|(i=r[1])<<8|(n=r[2])).toString(16)).slice(-6)}function h(t,i,n){var r=void 0,o=void 0,s=void 0,a=[u(t,0,360)/360,u(i,0,100)/100,u(n,0,100)/100];if(t=a[0],n=a[2],0==(i=a[1]))r=o=s=n;else{var l=function(t,i,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(i-t)*n:n<.5?i:n<2/3?t+(i-t)*(2/3-n)*6:t},c=n<.5?n*(1+i):n+i-n*i,d=2*n-c;r=l(d,c,t+1/3),o=l(d,c,t),s=l(d,c,t-1/3)}return[255*r,255*o,255*s].map(Math.round)}function p(t,i,n){var r=[u(t,0,255)/255,u(i,0,255)/255,u(n,0,255)/255],o=Math.max(t=r[0],i=r[1],n=r[2]),s=Math.min(t,i,n),a=void 0,l=void 0,c=(o+s)/2;if(o==s)a=l=0;else{var d=o-s;switch(l=c>.5?d/(2-o-s):d/(o+s),o){case t:a=(i-n)/d+6*(i<n);break;case i:a=(n-t)/d+2;break;case n:a=(t-i)/d+4}a/=6}return[360*a,100*l,100*c].map(Math.round)}function f(t,i,n){return t<<16|i<<8|n}function m(t){if(t){var i=l[t.toString().toLowerCase()],n=o(/^\s*#?((([0-9A-F])([0-9A-F])([0-9A-F]))|(([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})))\s*$/i.exec(i||t)||[],10),r=n[3],s=n[4],a=n[5],u=n[7],c=n[8],d=n[9];if(void 0!==r)return[parseInt(r+r,16),parseInt(s+s,16),parseInt(a+a,16)];if(void 0!==u)return[parseInt(u,16),parseInt(c,16),parseInt(d,16)]}}function g(t){if(t){var i=l[t.toString().toLowerCase()],n=o(/^\s*#?((([0-9A-F])([0-9A-F])([0-9A-F])([0-9A-F])?)|(([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})?))\s*$/i.exec(i||t)||[],12),r=n[3],s=n[4],a=n[5],u=n[6],c=n[8],d=n[9],h=n[10],p=n[11];if(void 0!==r)return[parseInt(r+r,16),parseInt(s+s,16),parseInt(a+a,16),u?+(parseInt(u+u,16)/255).toFixed(2):1];if(void 0!==c)return[parseInt(c,16),parseInt(d,16),parseInt(h,16),p?+(parseInt(p,16)/255).toFixed(2):1]}}function b(t){if(t){var i=o(/^rgb\((\d+)[\s,](\d+)[\s,](\d+)\)/i.exec(t)||[],4),n=i[0],r=i[1],s=i[2],a=i[3];return n?[u(r,0,255),u(s,0,255),u(a,0,255)]:void 0}}function v(t){if(t){var i=o(/^rgba?\((\d+)\s*[\s,]\s*(\d+)\s*[\s,]\s*(\d+)(\s*[\s,]\s*(\d*(.\d+)?))?\)/i.exec(t)||[],6),n=i[0],r=i[1],s=i[2],a=i[3],l=i[5];return n?[u(r,0,255),u(s,0,255),u(a,0,255),u(c(l,1),0,1)]:void 0}}function y(t){if(Array.isArray(t))return[u(t[0],0,255),u(t[1],0,255),u(t[2],0,255),u(c(t[3],1),0,1)];var i=g(t)||v(t);return i&&3===i.length&&i.push(1),i}function _(t){if(t){var i=o(/^hsl\((\d+)[\s,](\d+)[\s,](\d+)\)/i.exec(t)||[],4),n=i[0],r=i[1],s=i[2],a=i[3];return n?[u(r,0,360),u(s,0,100),u(a,0,100)]:void 0}}function C(t){if(t){var i=o(/^hsla?\((\d+)\s*[\s,]\s*(\d+)\s*[\s,]\s*(\d+)(\s*[\s,]\s*(\d*(.\d+)?))?\)/i.exec(t)||[],6),n=i[0],r=i[1],s=i[2],a=i[3],l=i[5];return n?[u(r,0,255),u(s,0,255),u(a,0,255),u(c(l,1),0,1)]:void 0}}function w(t){if(Array.isArray(t))return[u(t[0],0,360),u(t[1],0,100),u(t[2],0,100),u(c(t[3],1),0,1)];var i=C(t);return i&&3===i.length&&i.push(1),i}function F(t,i){switch(i){case"rgb":default:return t.slice(0,3);case"rgbcss":return"rgb("+t[0]+", "+t[1]+", "+t[2]+")";case"rgbcss4":return"rgb("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")";case"rgba":return t;case"rgbacss":return"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")";case"hsl":return p.apply(void 0,a(t));case"hslcss":return"hsl("+(t=p.apply(void 0,a(t)))[0]+", "+t[1]+", "+t[2]+")";case"hslcss4":var n=p.apply(void 0,a(t));return"hsl("+n[0]+", "+n[1]+", "+n[2]+", "+t[3]+")";case"hsla":return[].concat(a(p.apply(void 0,a(t))),[t[3]]);case"hslacss":var r=p.apply(void 0,a(t));return"hsla("+r[0]+", "+r[1]+", "+r[2]+", "+t[3]+")";case"hex":return d.apply(void 0,a(t));case"hexcss4":return d.apply(void 0,a(t))+("00"+parseInt(255*t[3]).toString(16)).slice(-2);case"int":return f.apply(void 0,a(t))}}i.COLOR_NAMES=l,i.PALETTE_MATERIAL_500=["#F44336","#E91E63","#E91E63","#9C27B0","#9C27B0","#673AB7","#673AB7","#3F51B5","#3F51B5","#2196F3","#2196F3","#03A9F4","#03A9F4","#00BCD4","#00BCD4","#009688","#009688","#4CAF50","#4CAF50","#8BC34A","#8BC34A","#CDDC39","#CDDC39","#FFEB3B","#FFEB3B","#FFC107","#FFC107","#FF9800","#FF9800","#FF5722","#FF5722","#795548","#795548","#9E9E9E","#9E9E9E","#607D8B","#607D8B"],i.PALETTE_MATERIAL_CHROME=["#f44336","#e91e63","#9c27b0","#673ab7","#3f51b5","#2196f3","#03a9f4","#00bcd4","#009688","#4caf50","#8bc34a","#cddc39","#ffeb3b","#ffc107","#ff9800","#ff5722","#795548","#9e9e9e","#607d8b"],i.rgbToHex=d,i.hslToRgb=h,i.rgbToHsl=p,i.rgbToHsv=function(t,i,n){var r=[u(t,0,255)/255,u(i,0,255)/255,u(n,0,255)/255],o,s=Math.max(t=r[0],i=r[1],n=r[2]),a=Math.min(t,i,n),l=void 0,c=s-a;if(o=0===s?0:c/s,s==a)l=0;else{switch(s){case t:l=(i-n)/c+6*(i<n);break;case i:l=(n-t)/c+2;break;case n:l=(t-i)/c+4}l/=6}return[l,o,s]},i.rgbToInt=f,i.intToRgb=function(t){return[t>>16&255,t>>8&255,255&t]},i.cssColorToRgb=m,i.cssColorToRgba=g,i.cssRgbToRgb=b,i.cssRgbaToRgba=v,i.parseColorToRgb=function(t){return Array.isArray(t)?t=[u(t[0],0,255),u(t[1],0,255),u(t[2],0,255)]:m(t)||b(t)},i.parseColorToRgba=y,i.cssHslToHsl=_,i.cssHslaToHsla=C,i.parseColorToHsl=function(t){return Array.isArray(t)?t=[u(t[0],0,360),u(t[1],0,100),u(t[2],0,100)]:_(t)},i.parseColorToHsla=w,i.parseColor=function(t,i){if(i=i||"rgb",null!=t){var n=void 0;if((n=y(t))||(n=w(t))&&(n=[].concat(a(h.apply(void 0,a(n))),[n[3]])))return(0,s.default)(i)?["rgb","rgbcss","rgbcss4","rgba","rgbacss","hsl","hslcss","hslcss4","hsla","hslacss","hex","hexcss4","int"].reduce(function(t,i){return t[i]=F(n,i),t},i||{}):F(n,i.toString().toLowerCase())}},i.getLuminance=function(t,i,n){return .2126*(t=(t/=255)<.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(i=(i/=255)<.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))+.0722*((n/=255)<.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},i.limit=u,i.ensureArray=function(t){return t?Array.from(t):[]},i.nvl=c},function(t,i,n){"use strict";t.exports=function(t){return null!=t&&"object"==typeof t&&!1===Array.isArray(t)}},function(t,i){t.exports='<div class="a-color-picker-row a-color-picker-stack a-color-picker-row-top"> <canvas class="a-color-picker-sl a-color-picker-transparent"></canvas> <div class=a-color-picker-dot></div> </div> <div class=a-color-picker-row> <div class="a-color-picker-stack a-color-picker-transparent a-color-picker-circle"> <div class=a-color-picker-preview> <input class=a-color-picker-clipbaord type=text> </div> </div> <div class=a-color-picker-column> <div class="a-color-picker-cell a-color-picker-stack"> <canvas class=a-color-picker-h></canvas> <div class=a-color-picker-dot></div> </div> <div class="a-color-picker-cell a-color-picker-alpha a-color-picker-stack" show-on-alpha> <canvas class="a-color-picker-a a-color-picker-transparent"></canvas> <div class=a-color-picker-dot></div> </div> </div> </div> <div class="a-color-picker-row a-color-picker-hsl" show-on-hsl> <label>H</label> <input nameref=H type=number maxlength=3 min=0 max=360 value=0> <label>S</label> <input nameref=S type=number maxlength=3 min=0 max=100 value=0> <label>L</label> <input nameref=L type=number maxlength=3 min=0 max=100 value=0> </div> <div class="a-color-picker-row a-color-picker-rgb" show-on-rgb> <label>R</label> <input nameref=R type=number maxlength=3 min=0 max=255 value=0> <label>G</label> <input nameref=G type=number maxlength=3 min=0 max=255 value=0> <label>B</label> <input nameref=B type=number maxlength=3 min=0 max=255 value=0> </div> <div class="a-color-picker-row a-color-picker-rgbhex a-color-picker-single-input" show-on-single-input> <label>HEX</label> <input nameref=RGBHEX type=text select-on-focus> </div> <div class="a-color-picker-row a-color-picker-palette"></div>'},function(t,i,n){var r=n(6);t.exports="string"==typeof r?r:r.toString()},function(t,i,n){(t.exports=n(7)(!1)).push([t.i,"/*!\n * a-color-picker\n * https://github.com/narsenico/a-color-picker\n *\n * Copyright (c) 2017-2018, Gianfranco Caldi.\n * Released under the MIT License.\n */.a-color-picker{background-color:#fff;padding:0;display:inline-flex;flex-direction:column;user-select:none;width:232px;font:400 10px Helvetica,Arial,sans-serif;border-radius:3px;box-shadow:0 0 0 1px rgba(0,0,0,.05),0 2px 4px rgba(0,0,0,.25)}.a-color-picker,.a-color-picker-row,.a-color-picker input{box-sizing:border-box}.a-color-picker-row{padding:15px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;user-select:none}.a-color-picker-row-top{padding:0}.a-color-picker-row:not(:first-child){border-top:1px solid #f5f5f5}.a-color-picker-column{display:flex;flex-direction:column}.a-color-picker-cell{flex:1 1 auto;margin-bottom:4px}.a-color-picker-cell:last-child{margin-bottom:0}.a-color-picker-stack{position:relative}.a-color-picker-dot{position:absolute;width:14px;height:14px;top:0;left:0;background:#fff;pointer-events:none;border-radius:50px;z-index:1000;box-shadow:0 1px 2px rgba(0,0,0,.75)}.a-color-picker-a,.a-color-picker-h,.a-color-picker-sl{cursor:cell}.a-color-picker-a+.a-color-picker-dot,.a-color-picker-h+.a-color-picker-dot{top:-2px}.a-color-picker-a,.a-color-picker-h{border-radius:2px}.a-color-picker-preview{box-sizing:border-box;width:30px;height:30px;user-select:none;border-radius:15px}.a-color-picker-circle{border-radius:50px;border:1px solid #eee}.a-color-picker-hsl,.a-color-picker-rgb,.a-color-picker-single-input{justify-content:space-evenly}.a-color-picker-hsl>label,.a-color-picker-rgb>label,.a-color-picker-single-input>label{padding:0 8px;flex:0 0 auto;color:#969696}.a-color-picker-hsl>input,.a-color-picker-rgb>input,.a-color-picker-single-input>input{text-align:center;padding:2px 0;width:0;flex:1 1 auto;border:1px solid #e0e0e0;line-height:20px}.a-color-picker-hsl>input::-webkit-inner-spin-button,.a-color-picker-rgb>input::-webkit-inner-spin-button,.a-color-picker-single-input>input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.a-color-picker-hsl>input:focus,.a-color-picker-rgb>input:focus,.a-color-picker-single-input>input:focus{border-color:#04a9f4;outline:none}.a-color-picker-transparent{background-image:linear-gradient(-45deg,#cdcdcd 25%,transparent 0),linear-gradient(45deg,#cdcdcd 25%,transparent 0),linear-gradient(-45deg,transparent 75%,#cdcdcd 0),linear-gradient(45deg,transparent 75%,#cdcdcd 0);background-size:11px 11px;background-position:0 0,0 -5.5px,-5.5px 5.5px,5.5px 0}.a-color-picker-sl{border-radius:3px 3px 0 0}.a-color-picker.hide-alpha [show-on-alpha],.a-color-picker.hide-hsl [show-on-hsl],.a-color-picker.hide-rgb [show-on-rgb],.a-color-picker.hide-single-input [show-on-single-input]{display:none}.a-color-picker-clipbaord{width:100%;height:100%;opacity:0;cursor:pointer}.a-color-picker-palette{flex-flow:wrap;flex-direction:row;justify-content:flex-start;padding:10px}.a-color-picker-palette-color{width:15px;height:15px;flex:0 1 15px;margin:3px;box-sizing:border-box;cursor:pointer;border-radius:3px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1)}.a-color-picker-palette-add{text-align:center;line-height:13px;color:#607d8b}.a-color-picker.hidden{display:none}",""])},function(t,i){t.exports=function(t){var i=[];return i.toString=function(){return this.map(function(i){var n=function(t,i){var n=t[1]||"",r=t[3];if(!r)return n;if(i&&"function"==typeof btoa){var o="/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */";return[n].concat(r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"})).concat([o]).join("\n")}return[n].join("\n")}(i,t);return i[2]?"@media "+i[2]+"{"+n+"}":n}).join("")},i.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var s=this[o][0];"number"==typeof s&&(r[s]=!0)}for(o=0;o<t.length;o++){var a=t[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),i.push(a))}},i}}],i={};function n(r){if(i[r])return i[r].exports;var o=i[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=i,n.d=function(t,i,r){n.o(t,i)||Object.defineProperty(t,i,{enumerable:!0,get:r})},n.r=function(t){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,i){if(1&i&&(t=n(t)),8&i||4&i&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&i&&"string"!=typeof t)for(var o in t)n.d(r,o,(function(i){return t[i]}).bind(null,o));return r},n.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(i,"a",i),i},n.o=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},n.p="",n(n.s=1)}()},46166:function(t,i,n){"use strict";n.d(i,{StateManager:function(){return a}});var r=n(82749),o=n(56075),s=n(11886);class a{createInitialState(){return{isOpen:!1,currentView:"welcome",currentConversation:null,conversations:[],isLoading:!1,error:null,pendingToolCalls:[],selectionContexts:[],abortController:null,editingMessageId:null,theme:this.jodit.o.aiAssistantPro.theme||"parent",displayMode:this.jodit.o.aiAssistantPro.displayMode,panelWidth:this.jodit.o.aiAssistantPro.panelWidth,panelHeight:this.jodit.o.aiAssistantPro.panelHeight,defaultModel:this.jodit.o.aiAssistantPro.defaultModel,defaultTemperature:this.jodit.o.aiAssistantPro.defaultTemperature}}open(){this.state.isOpen=!0,this.jodit.e.fire("open.ai-assistant-pro",this.state.currentConversation)}close(){this.state.isOpen=!1,this.jodit.e.fire("close.ai-assistant-pro")}isOpen(){return this.state.isOpen}setView(t){this.state.currentView=t,this.jodit.e.fire("viewChanged.ai-assistant-pro",t)}getView(){return this.state.currentView}setConversations(t){this.state.conversations=t}setSavedState(t){t.theme&&(this.state.theme=t.theme),t.displayMode&&(this.state.displayMode=t.displayMode),t.panelWidth&&(this.state.panelWidth=t.panelWidth),t.panelHeight&&(this.state.panelHeight=t.panelHeight),t.defaultModel&&(this.state.defaultModel=t.defaultModel),t.defaultTemperature&&(this.state.defaultTemperature=t.defaultTemperature)}getConversations(){return this.state.conversations}setCurrentConversation(t){if(this.state.currentConversation===t)throw Error("Conversation is already current");this.state.currentConversation=t||null,t&&(this.setView("conversation"),this.jodit.e.fire("conversationSwitched.ai-assistant-pro",t))}getCurrentConversation(){return this.state.currentConversation}removeConversation(t){let i=this.state.conversations.filter(i=>i.id!==t);this.setConversations(i)}setLoading(t){this.state.isLoading=t}isLoading(){return this.state.isLoading}setError(t){this.state.error=t,t&&this.jodit.e.fire("error.ai-assistant-pro",Error(t))}getError(){return this.state.error}clearError(){this.setError(null)}setPendingToolCalls(t){this.state.pendingToolCalls=t}getPendingToolCalls(){return this.state.pendingToolCalls}addPendingToolCall(t){let i=[...this.state.pendingToolCalls,t];this.setPendingToolCalls(i)}removePendingToolCall(t){let i=this.state.pendingToolCalls.filter(i=>i.id!==t);this.setPendingToolCalls(i)}updateToolCallStatus(t,i){let n=this.state.pendingToolCalls.map(n=>n.id===t?(0,s._)((0,o._)({},n),{status:i}):n);this.setPendingToolCalls(n)}setSelectionContexts(t){this.state.selectionContexts=t}getSelectionContexts(){return this.state.selectionContexts}addSelectionContext(t){let{maxContextRanges:i}=this.jodit.o.aiAssistantPro,n=[...this.state.selectionContexts,t];n.length>i&&(n=n.slice(-i)),this.setSelectionContexts(n),this.jodit.e.fire("contextAdded.ai-assistant-pro",t)}removeSelectionContext(t){let i=this.state.selectionContexts.filter((i,n)=>n!==t);this.setSelectionContexts(i),this.jodit.e.fire("contextRemoved.ai-assistant-pro",t)}clearSelectionContexts(){this.setSelectionContexts([])}setAbortController(t){this.state.abortController=t}getAbortController(){return this.state.abortController}setEditingMessageId(t){this.state.editingMessageId=t}getEditingMessageId(){return this.state.editingMessageId}isEditingMessage(){return null!=this.state.editingMessageId}clearEditingMessage(){this.setEditingMessageId(null)}reset(){this.state=this.createInitialState()}destruct(){this.state.abortController&&this.state.abortController.abort(),this.reset()}constructor(t){(0,r._)(this,"jodit",void 0),(0,r._)(this,"state",void 0),this.jodit=t,this.state=this.createInitialState()}}},46295:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"Altura de la l\xednea"}},46334:function(t,i,n){"use strict";n.d(i,{normalizeSize:function(){return r}});let r=(t,i)=>/^[0-9]+$/.test(t.toString())?t+i:t.toString()},46425:function(t){t.exports='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"> <g> <path d="M23,13.6l5,5V4c0-0.6-0.4-1-1-1h-4V13.6z"/> <polygon points="12.4,3 16.7,7.3 19.7,10.3 21,11.6 21,3"/> <path d="M14.6,8l-5-5H5C4.4,3,4,3.4,4,4v14.6L14.6,8z"/> </g> <path d="M28.8,29.2L26,26.4c0.7-1,1-2.1,1-3.4c0-3.3-2.7-6-6-6s-6,2.7-6,6s2.7,6,6,6c1.2,0,2.4-0.4,3.4-1l2.8,2.8 c0.4,0.4,1.2,0.4,1.6,0C29.2,30.4,29.2,29.6,28.8,29.2z"/> <path d="M13,23c0-4.4,3.6-8,8-8c0.2,0,0.4,0,0.6,0l-0.3-0.3c0,0,0,0,0,0l-3-3L16,9.4l-12,12V26c0,0.6,0.4,1,1,1h9.1 C13.4,25.8,13,24.5,13,23z"/> </svg>'},46448:function(t,i,n){"use strict";n(73391),n(93183),n(66707),n(41107),n(93079),n(575),n(23399),n(96111),n(42263),n(77469),n(23531),n(93401),n(65517),n(64837),n(59451),n(18363),n(6687),n(45927),n(7309),n(43003),n(72253),n(65735)},46559:function(t,i,n){"use strict";function r(t){return Array.isArray(t)?t:t.split(/[,\s]+/)}n.d(i,{splitArray:function(){return r}})},46614:function(t,i,n){"use strict";var r=n(87612),o=n(70799),s=n(29960),a=n(86583),l=n(12153),u=n(6441),c=n(26532),d=n(93602),h=n(75259);u.Config.prototype.speechRecognize={api:void 0!==c.SpeechRecognition?c.SpeechRecognition:null,sound:!0,continuous:!1,interimResults:!0,commands:{"newline|enter":"enter","delete|remove word|delete word":"backspaceWordButton",comma:"inserthtml::,",underline:"inserthtml::_",hyphen:"inserthtml::-",space:"inserthtml:: ",question:"inserthtml::?",dot:"inserthtml::.","quote|quotes|open quote":"inserthtml::'","header|header h1":"formatblock::h1","select all":"selectall"}},l.Icon.set("speech-recognize",h.default),u.Config.prototype.controls.speechRecognize={isVisible(t){return!!t.o.speechRecognize.api},isActive(t,i){let n=(0,a.dataBind)(t,"speech");return!!(null==n?void 0:n.isEnabled)},isDisabled(t){return!t.o.speechRecognize.api},exec(t,i,{button:n,control:l}){var u;let{api:c,lang:h,continuous:p,interimResults:f,sound:m}=t.o.speechRecognize;if(!c)return void t.alert("Speech recognize API unsupported in your browser");let g=(0,a.dataBind)(t,"speech");if(!g){let i=new c;(g=new d.RecognizeManager(t.async,i)).lang=(0,o.isString)(h)?h:null!=(u=(0,s.attr)(t.od.documentElement,"lang"))?u:void 0,g.continuous=p,g.interimResults=f,g.sound=m,(0,a.dataBind)(t,"speech",g),g.on("pulse",t=>{n.setMod("pulse",t)}),g.on("result",i=>t.e.fire("speechRecognizeResult",i)),g.on("progress",i=>t.e.fire("speechRecognizeProgressResult",i)),g.on("error",i=>t.message.error(i)),n.hookStatus("beforeDestruct",()=>{(0,a.dataBind)(t,"speech",null),g.destruct()})}if(l.args){let t=l.args[0];if((0,r.isBoolean)(g[t])){g[t]=!g[t],g.isEnabled&&g.restart();return}}g.toggle(),g.isEnabled&&n.setMod("pulse",!0),n.state.activated=g.isEnabled},name:"speechRecognize",command:"toggleSpeechRecognize",tooltip:"Speech Recognize",list:{sound:"Sound",interimResults:"Interim Results"},childTemplate(t,i,n){var r;let o=(0,a.dataBind)(t,"speech"),s=null!=(r=null==o?void 0:o[i])?r:t.o.speechRecognize[i];return`<span class='jodit-speech-recognize__list-item'><input ${s?"checked":""} class='jodit-checkbox' type='checkbox'>&nbsp;${n}</span>`},mods:{stroke:!1}}},46732:function(t){t.exports={Favorites:"Favoriten",Settings:"Einstellungen",Light:"Hell",Dark:"Dunkel",Theme:"Design",Show:"Anzeigen",Hide:"Ausblenden","Show favorites":"Favoriten anzeigen",Tiles:"Kacheln",List:"Liste",Compact:"Kompakt",View:"Ansicht","Folders position":"Ordnerposition","Sort by":"Sortieren nach","Extra small":"Sehr klein",Small:"Klein",Large:"Gro\xdf","Extra large":"Sehr gro\xdf","Tile size":"Kachelgr\xf6\xdfe"}},46776:function(t,i,n){"use strict";var r=n(12153),o=n(6441),s=n(44330);o.Config.prototype.cleanHTML={timeout:300,removeEmptyElements:!0,fillEmptyParagraph:!0,replaceNBSP:!0,replaceOldTags:{i:"em",b:"strong"},allowTags:!1,denyTags:"script",useIframeSandbox:!1,removeOnError:!0,safeJavaScriptLink:!0,disableCleanFilter:null},o.Config.prototype.controls.eraser={command:"removeFormat",tooltip:"Clear Formatting"},r.Icon.set("eraser",s.default)},46954:function(t){t.exports={"Show Blocks":"แสดงช่วงตึก"}},46958:function(t,i,n){"use strict";var r=n(82749),o=n(31635);n(36347);var s=n(65478),a=n(2748),l=n(29960),u=n(20356),c=n(2692);class d extends u.Plugin{afterInit(t){Object.keys(t.o.highlightSignature.schema).length&&(t.e.on("change afterSetMode",this.walkNodes).on("afterGetValueFromEditor",d.removeUtilWrappers),this.walkNodes())}beforeDestruct(t){t.e.off("change afterSetMode",this.walkNodes).off("afterGetValueFromEditor",d.removeUtilWrappers)}walkNodes(){var t;if(!this.j.isEditorMode())return;this.checkUtilsBoxToSchema();let{j:i}=this,n=i.ed.createNodeIterator(i.editor,NodeFilter.SHOW_TEXT);null==(t=this.abortController)||t.abort(),this.workLoop(n)}runWorker(t){let i;this.j.e.mute();let n=0,{processInChunkCount:r}=this.j.o.highlightSignature;try{do{if(n+=1,!(i=t.nextNode())||this.checkNormalizing(i))return;this.checkReplaceSchemas(i)}while(i&&r>n)}finally{this.j.e.unmute()}this.workLoop(t)}workLoop(t){this.abortController=new AbortController,this.j.async.schedulerPostTask(()=>this.runWorker(t),{delay:this.j.o.highlightSignature.processDelay}).catch(()=>null)}checkNormalizing(t){return!!a.Dom.isText(t.nextSibling)&&(this.j.editor.normalize(),this.walkNodes(),!0)}checkReplaceSchemas(t){if(d.hasUtilWrapper(t))return;let i=t.nodeValue;if(null==i)return;let{j:n}=this,r=n.o.highlightSignature;for(let n in r.schema){let o=RegExp(n);if(o.test(i)){let s=i.match(o);if(!s||void 0===s.index)continue;let l=r.schema[n](this.j,s);if(l){a.Dom.markTemporary(l,{dataHighlightSchema:n}),this.replaceMatchedTextToElm(t,i,s,l);return}}}}replaceMatchedTextToElm(t,i,n,r){var o;let{j:s}=this,{range:l}=s.s,u=l.startContainer===t,c=l.startOffset,d=null!=(o=n.index)?o:0;t.nodeValue=i.substring(0,d);let h=i.substring(d+n[0].length);if(h.length){let i=s.createInside.text(h);a.Dom.after(t,i)}r.innerText=n[0],a.Dom.after(t,r),u&&this.restoreCursorPosition(c,t,r.firstChild,r.nextSibling)}static hasUtilWrapper(t){return a.Dom.isTemporary(t.parentElement)}static removeUtilWrappers(t){t.value=a.Dom.replaceTemporaryFromString(t.value)}restoreCursorPosition(t,...i){for(let n of i)if(n&&n.nodeValue){let i=n.nodeValue;if(i.length>=t){let i=this.j.s.createRange();i.setStart(n,t),this.j.s.selectRange(i,!1);break}t-=i.length}}checkUtilsBoxToSchema(){a.Dom.temporaryList(this.j.editor).forEach(t=>{var i;let n=(0,l.attr)(t,"dataHighlightSchema");if(!n)return;let r=RegExp(n),o=null!=(i=t.innerText)?i:"";(!r.test(o)||o.replace(r,"").length)&&(this.j.s.save(),a.Dom.unwrap(t),this.j.s.restore())})}constructor(...t){super(...t),(0,r._)(this,"abortController",null)}}(0,r._)(d,"requires",["license"]),(0,o.__decorate)([(0,s.debounce)()],d.prototype,"walkNodes",null),(0,o.__decorate)([s.autobind],d.prototype,"runWorker",null),c.JoditPro.plugins.add("highlight-signature",d)},46995:function(t){t.exports='<svg height="1792" viewBox="0 0 1792 1792" width="1792" xmlns="http://www.w3.org/2000/svg"> <path d="M1262 1075q-37 121-138 195t-228 74-228-74-138-195q-8-25 4-48.5t38-31.5q25-8 48.5 4t31.5 38q25 80 92.5 129.5t151.5 49.5 151.5-49.5 92.5-129.5q8-26 32-38t49-4 37 31.5 4 48.5zm-494-435q0 53-37.5 90.5t-90.5 37.5-90.5-37.5-37.5-90.5 37.5-90.5 90.5-37.5 90.5 37.5 37.5 90.5zm512 0q0 53-37.5 90.5t-90.5 37.5-90.5-37.5-37.5-90.5 37.5-90.5 90.5-37.5 90.5 37.5 37.5 90.5zm256 256q0-130-51-248.5t-136.5-204-204-136.5-248.5-51-248.5 51-204 136.5-136.5 204-51 248.5 51 248.5 136.5 204 204 136.5 248.5 51 248.5-51 204-136.5 136.5-204 51-248.5zm128 0q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"/> </svg>'},47064:function(t,i,n){"use strict";n.d(i,{clearAttributes:function(){return o}});let r=["cellspacing","cellpadding","border","v:shapes","o:spid"];function o(t){if(/^OLE_LINK\d+$/.test(t.attributes.name)&&(t.attributes.name=null,0===t.length))return t.remove(),null;for(let i of("_GoBack"===t.attributes.name&&(t.attributes.name=null),r))t.attributes[i]&&(t.attributes[i]=null);return t}},47193:function(t,i,n){"use strict";n.r(i),i.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"}},47373:function(t,i,n){"use strict";function r(t,i,n="image/png"){let o=atob(t),s=o.length,a=new Uint8Array(s);for(let t=0;s>t;t++)a[t]=o.charCodeAt(t);return new File([new Blob([a],{type:n})],i,{type:n})}n.d(i,{base64ToFile:function(){return r}})},47615:function(t,i,n){"use strict";n.r(i),i.default={symbols:"Simbolo"}},47660:function(t,i,n){"use strict";function r(t){let i=this.mapElements.indexOf(t);-1!==i&&(this.mapElements[i].gme.setMap(null),this.mapElements.splice(i,1),this.state.elements.splice(i,1),this.state.elements=[...this.state.elements])}n.d(i,{removeElement:function(){return r}})},47682:function(t,i,n){"use strict";var r=n(82749),o=n(31635);n(12324);var s=n(45198),a=n(78879),l=n.n(a),u=n(65478),c=n(2748),d=n(580),h=n(50911),p=n(12153),f=n(2692);class m extends h.Plugin{get style(){return(0,d.getContainer)(this.jodit,m,"style",!0)}enable(){this.isEnabled=!0;let t=this.j.o.iframe?"body":".jodit-wysiwyg",{tagList:i,color:n}=this.j.o.showBlocks;this.style.innerHTML=i.map(i=>{var r;return`${t} ${i}{
221
221
  outline: 1px dashed ${n};
222
222
  background-image: url("${r='<svg xmlns="http://www.w3.org/2000/svg" width="50px"><text dominant-baseline="hanging" text-anchor="end" style="fill: '+n+';font: 10px sans-serif" x="50px" y="0">'+i+"</text></svg>",`data:image/svg+xml;utf8,${escape(r)}`}");
223
223
  background-position: top 2px ${"rtl"===this.j.o.direction?"left":"right"} 4px;
224
224
  background-repeat: no-repeat;
225
225
  position: relative;
226
- }`}).join("")}disable(){this.isEnabled=!1;let t=(0,u.cached)(this,"style");t&&(t.innerHTML="")}toggle(){this.isEnabled?this.disable():this.enable(),this.j.e.fire("updateToolbar")}afterInit(t){t.e.on("showBlocksEnabled",()=>this.isEnabled),t.registerCommand("enableShowBlocks",this.enable).registerCommand("disableShowBlocks",this.disable).registerCommand("toggleShowBlocks",this.toggle),this.j.o.showBlocks.enable&&this.enable()}beforeDestruct(t){this.disable(),c.Dom.safeRemove((0,u.cached)(this,"style"))}constructor(t){super(t),(0,r._)(this,"buttons",[{name:"showBlocks",group:"state"}]),(0,r._)(this,"isEnabled",!1),(0,d.extendLang)(s),p.Icon.set("showBlocks",l())}}(0,r._)(m,"requires",["license"]),(0,o.__decorate)([u.cache],m.prototype,"style",null),(0,o.__decorate)([u.autobind],m.prototype,"enable",null),(0,o.__decorate)([u.autobind],m.prototype,"disable",null),(0,o.__decorate)([u.autobind],m.prototype,"toggle",null),f.JoditPro.plugins.add("show-blocks",m)},47686:function(t,i,n){"use strict";n.d(i,{onTabInsideLi:function(){return r.onTabInsideLi}});var r=n(26658)},47749:function(t,i,n){"use strict";n.d(i,{readMargins:function(){return o}});var r=n(12475);function o(t,i,n){let o=!0,s=!1;["marginTop","marginRight","marginBottom","marginLeft"].forEach(n=>{let a=t.style.getPropertyValue((0,r.kebabCase)(n));if(!a){s=!0,i[n]=0;return}/^[0-9]+(px)?$/.test(a)&&(a=parseInt(a,10)),i[n]=a,(s&&i[n]||o&&"marginTop"!==n&&i[n]!==i.marginTop)&&(o=!1)}),n.marginIsLocked=o}},48038:function(t,i,n){"use strict";var r=n(6441);r.Config.prototype.toolbarSticky=!0,r.Config.prototype.toolbarDisableStickyForMobile=!0,r.Config.prototype.toolbarStickyOffset=0},48154:function(t){t.exports={"Show Blocks":"Mostrar Bloques"}},48538:function(t,i,n){"use strict";n.d(i,{UIElement:function(){return p}});var r,o=n(91907),s=n(55153),a=n(2748),l=n(70799),u=n(29960),c=n(14316),d=n(34176),h=n(12153);let p=r=class t extends o.ViewComponent{getRole(){var t;return(null==(t=this.options)?void 0:t.role)||""}get parentElement(){return this.__parentElement}set parentElement(t){this.__parentElement=t,t&&t.hookStatus("beforeDestruct",()=>this.destruct()),this.updateParentElement(this)}bubble(t){let i=this.parentElement;for(;i;)t(i),i=i.parentElement;return this}updateParentElement(t){var i;return null==(i=this.__parentElement)||i.updateParentElement(t),this}get(t,i){return super.get(t,i)||this.getElm(t)}closest(t){let i="object"==typeof t?i=>i===t:i=>o.Component.isInstanceOf(i,t),n=this.__parentElement;for(;n;){if(i(n))return n;n=!n.parentElement&&n.container.parentElement?r.closestElement(n.container.parentElement,r):n.parentElement}return null}static closestElement(t,i){let n=a.Dom.up(t,t=>{if(t){let{component:n}=t;return n&&o.Component.isInstanceOf(n,i)}return!1});return n?null==n?void 0:n.component:null}update(){}appendTo(t){return t.appendChild(this.container),this}clearName(t){return t.replace(/[^a-zA-Z0-9]/g,"_")}render(t){return this.j.c.div(this.componentName)}createContainer(t){let i=this.render(t);if((0,l.isString)(i)){let t=this.parseTemplate(i);return t.classList.add(this.componentName),t}return i}parseTemplate(t){return this.j.c.fromHTML(t.replace(/\*([^*]+?)\*/g,(t,i)=>h.Icon.get(i)||"").replace(/&_/g,this.componentName+"_").replace(/~([^~]+?)~/g,(t,i)=>this.i18n(i)))}destruct(){return a.Dom.safeRemove(this.container),this.parentElement=null,super.destruct()}constructor(t,i){super(t),this.name="",this.__parentElement=null,this.mods={},this.options=i,this.container=this.createContainer(i);const n=this.getRole();n&&(0,u.attr)(this.container,"role",n),Object.defineProperty(this.container,"component",{value:this,configurable:!0})}};p=r=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([(0,s.derive)(d.Mods,c.Elms)],p)},48591:function(t,i,n){"use strict";n.d(i,{makeInstance:function(){return s}});var r=n(82758),o=n(23282);function s(t,i){try{try{return(0,o.isFunction)(i)?new i(t):i}catch(n){if((0,o.isFunction)(i)&&!i.prototype)return i(t)}}catch(t){if(!r.IS_PROD)throw t}return null}},48705:function(t,i,n){"use strict";n.d(i,{UISettingsButton:function(){return r.UISettingsButton}});var r=n(76697)},49033:function(t,i,n){"use strict";n.d(i,{normalizeKeyAliases:function(){return s}});var r=n(82758),o=n(49055);function s(t){let i={},n={meta:1,ctrl:2,control:2,alt:3,shift:4,space:5};return t.replace(/\+\+/g,"+add").split(/[\s]*\+[\s]*/).map(t=>(0,o.trim)(t.toLowerCase())).map(t=>r.KEY_ALIASES[t]||t).sort((t,i)=>n[t]&&!n[i]?-1:!n[t]&&n[i]?1:n[t]&&n[i]?n[t]-n[i]:t>i?1:-1).filter(t=>!i[t]&&""!==t&&(i[t]=!0)).join("+")}},49055:function(t,i,n){"use strict";n.d(i,{trim:function(){return o},trimChars:function(){return s},trimInv:function(){return a}});var r=n(82758);function o(t){return t.replace((0,r.SPACE_REG_EXP_END)(),"").replace((0,r.SPACE_REG_EXP_START)(),"")}function s(t,i){return t.replace(RegExp(`[${i}]+$`),"").replace(RegExp(`^[${i}]+`),"")}function a(t){return t.replace((0,r.INVISIBLE_SPACE_REG_EXP_END)(),"").replace((0,r.INVISIBLE_SPACE_REG_EXP_START)(),"")}},49155:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1728 608v704q0 92-66 158t-158 66h-1216q-92 0-158-66t-66-158v-960q0-92 66-158t158-66h320q92 0 158 66t66 158v32h672q92 0 158 66t66 158z"/> </svg> '},49377:function(t){t.exports='<svg viewBox="0 0 76 76" xmlns="http://www.w3.org/2000/svg"> <path d="M38 6.90909C36.2517 6.90909 34.7591 7.58381 33.5221 8.93324C32.2852 10.2827 31.6667 11.911 31.6667 13.8182V20.7273H30.0833V15.7074C30.0833 13.9801 29.5556 12.5137 28.5 11.3082C27.4444 10.1027 26.125 9.5 24.5417 9.5C23.0243 9.5 21.7214 10.0938 20.6328 11.2813C19.5443 12.4688 19 13.8902 19 15.5455V38.7017L17.4167 37.0824V27.7983C17.4167 26.071 16.8889 24.6046 15.8333 23.3991C14.7778 22.1937 13.4583 21.5909 11.875 21.5909C10.3576 21.5909 9.05469 22.1847 7.96615 23.3722C6.8776 24.5597 6.33333 25.9811 6.33333 27.6364V39.7273C6.33333 41.4186 6.91059 42.8939 8.0651 44.1534L23.4036 60.1307C24.6901 61.5341 25.3333 63.3693 25.3333 65.6364C25.3333 66.572 25.6467 67.3816 26.2734 68.0653C26.9002 68.7491 27.6424 69.0909 28.5 69.0909H60.1667C61.0243 69.0909 61.7665 68.7491 62.3932 68.0653C63.02 67.3816 63.3333 66.572 63.3333 65.6364V64.2869C63.3333 62.8116 63.4983 61.4261 63.8281 60.1307L69.1719 36.5966C69.5017 35.3011 69.6667 33.9157 69.6667 32.4403V19.1619C69.6667 17.4347 69.1389 15.9683 68.0833 14.7628C67.0278 13.5573 65.7083 12.9545 64.125 12.9545C62.6076 12.9545 61.3047 13.5483 60.2161 14.7358C59.1276 15.9233 58.5833 17.3447 58.5833 19V20.7273H57V13.9801C57 12.5407 56.5877 11.2363 55.763 10.0668C54.9384 8.89725 53.8828 8.16856 52.5964 7.88068C52.1345 7.80871 51.7552 7.77273 51.4583 7.77273C49.941 7.77273 48.638 8.36648 47.5495 9.55398C46.4609 10.7415 45.9167 12.1629 45.9167 13.8182V20.7273H44.3333V14.142C44.3333 12.3068 43.7973 10.6965 42.7253 9.31108C41.6532 7.92566 40.2925 7.14299 38.6432 6.96307C38.4783 6.92708 38.2639 6.90909 38 6.90909ZM38 0C40.7708 0 43.2283 0.899621 45.3724 2.69886C47.2526 1.47538 49.2813 0.863636 51.4583 0.863636C53.4045 0.863636 55.2352 1.34943 56.9505 2.32102C58.6658 3.29261 60.0842 4.66004 61.2057 6.4233C62.0964 6.1714 63.0694 6.04545 64.125 6.04545C67.4236 6.04545 70.2274 7.33191 72.5365 9.90483C74.8455 12.4777 76 15.5634 76 19.1619V32.4403C76 34.2756 75.7856 36.2188 75.3568 38.2699L69.9635 61.804C69.7656 62.6676 69.6667 63.9451 69.6667 65.6364C69.6667 68.5152 68.7431 70.9621 66.8958 72.9773C65.0486 74.9924 62.8056 76 60.1667 76H28.5C25.7292 76 23.4531 74.9474 21.6719 72.8423C19.8906 70.7372 19 68.1733 19 65.1506L3.76042 49.1733C1.25347 46.5464 0 43.3977 0 39.7273V27.6364C0 24.0739 1.16276 21.0241 3.48828 18.4872C5.8138 15.9503 8.60938 14.6818 11.875 14.6818C12.2378 14.6818 12.5017 14.6998 12.6667 14.7358C12.8646 11.3172 14.1098 8.43845 16.4023 6.09943C18.6949 3.76042 21.408 2.59091 24.5417 2.59091C26.2569 2.59091 27.8733 2.96875 29.3906 3.72443C31.7656 1.24148 34.6354 0 38 0Z"/> </svg>'},49399:function(t,i){"use strict";i.default='<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <path d="M1088 1256v240q0 16-12 28t-28 12h-240q-16 0-28-12t-12-28v-240q0-16 12-28t28-12h240q16 0 28 12t12 28zm316-600q0 54-15.5 101t-35 76.5-55 59.5-57.5 43.5-61 35.5q-41 23-68.5 65t-27.5 67q0 17-12 32.5t-28 15.5h-240q-15 0-25.5-18.5t-10.5-37.5v-45q0-83 65-156.5t143-108.5q59-27 84-56t25-76q0-42-46.5-74t-107.5-32q-65 0-108 29-35 25-107 115-13 16-31 16-12 0-25-8l-164-125q-13-10-15.5-25t5.5-28q160-266 464-266 80 0 161 31t146 83 106 127.5 41 158.5z"/> </svg> '},49459:function(t,i,n){"use strict";function r(t,i,n={}){let o=t[i];if("string"!=typeof o||!n.allowEmpty&&""===o)throw Error(`Parameter "${i}" is required and must be a${n.allowEmpty?"":" non-empty"} string`);return o}n.d(i,{requireString:function(){return r}})},49759:function(t,i,n){"use strict";n.r(i),i.default={symbols:"Symbolit"}},49841:function(t,i,n){"use strict";n.r(i),i.default={symbols:"Szimb\xf3lum"}},49922:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M621 1280h595v-595zm-45-45l595-595h-595v595zm1152 77v192q0 14-9 23t-23 9h-224v224q0 14-9 23t-23 9h-192q-14 0-23-9t-9-23v-224h-864q-14 0-23-9t-9-23v-864h-224q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h224v-224q0-14 9-23t23-9h192q14 0 23 9t9 23v224h851l246-247q10-9 23-9t23 9q9 10 9 23t-9 23l-247 246v851h224q14 0 23 9t9 23z"/> </svg> '},49996:function(t,i,n){"use strict";n.d(i,{FiniteStateMachine:function(){return a}});var r=n(82758),o=n(70799),s=n(38837);class a{setState(t){(0,s.assert)(!this.__previewsStates.has(t),"Circled states"),this.__previewsStates.add(t),this.__state=t}getState(){return this.__state}disableSilent(){this.silent=!1}dispatch(t,i){let n=this.transitions[this.getState()][t];if(n){let t=n.call(this,i);return(0,s.assert)(t&&t!==i,"Action should return new value"),(0,s.assert)((0,o.isString)(t.next),"Value should contain the next state"),(0,s.assert)(t.next!==this.getState(),"The new state should not be equal to the old one."),this.setState(t.next),r.IS_PROD||this.silent,t}throw Error(`invalid action: ${this.getState()}.${t.toString()}`)}constructor(t,i){this.transitions=i,this.silent=!0,this.__previewsStates=new Set,this.setState(t)}}},50050:function(t,i,n){"use strict";n.d(i,{ImageEditor:function(){return C},openImageEditor:function(){return w}});var r,o=n(91907),s=n(65478),a=n(22732),l=n(4510),u=n(49055),c=n(29960),d=n(41180),h=n(76078),p=n(37790),f=n(62843),m=n(6441);n(62489);var g=n(22461),b=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let v="jodit-image-editor",y="resize",_="crop",C=r=class t extends o.ViewComponent{className(){return"ImageEditor"}get o(){return this.options}hide(){this._dialog.close()}open(t,i){return this.j.async.promise(n=>{let r=new Date().getTime();this.image=this.j.c.element("img"),(0,h.$$)("img,.jodit-icon_loader",this.resize_box).forEach(a.Dom.safeRemove),(0,h.$$)("img,.jodit-icon_loader",this.crop_box).forEach(a.Dom.safeRemove),(0,d.css)(this.cropHandler,"background","transparent"),this.onSave=i,this.resize_box.appendChild(this.j.c.element("i",{class:"jodit-icon_loader"})),this.crop_box.appendChild(this.j.c.element("i",{class:"jodit-icon_loader"})),/\?/.test(t)?t+="&_tst="+r:t+="?_tst="+r,this.image.setAttribute("src",t),this._dialog.open();let{widthInput:o,heightInput:s}=(0,h.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.toString(),s.value=this.naturalHeight.toString(),this.ratio=this.naturalWidth/this.naturalHeight,this.resize_box.appendChild(this.image),this.cropImage=this.image.cloneNode(!0),this.crop_box.appendChild(this.cropImage),a.Dom.safeRemove.apply(null,(0,h.$$)(".jodit-icon_loader",this.editor)),this.activeTab===_&&this.showCrop(),this.j.e.fire(this.resizeHandler,"updatesize"),this.j.e.fire(this.cropHandler,"updatesize"),this._dialog.setPosition(),this.j.e.fire("afterImageEditor"),n(this._dialog))};this.image.addEventListener("load",l),this.image.complete&&l()})}onTitleModeClick(t){let i=t.target,n=null==i?void 0:i.parentElement;if(!n)return;(0,h.$$)(`.${v}__slider,.${v}__area`,this.editor).forEach(t=>t.classList.remove(`${v}_active`)),n.classList.add(`${v}_active`),this.activeTab=(0,c.attr)(n,"-area")||y;let r=this.editor.querySelector(`.${v}__area.${v}__area_`+this.activeTab);r&&r.classList.add(`${v}_active`),this.activeTab===_&&this.showCrop()}onChangeSizeInput(t){let i,n=t.target,{widthInput:r,heightInput:o}=(0,h.refs)(this.editor),s="widthInput"===(0,c.attr)(n,"data-ref"),a=parseInt(n.value,10),l=s?this.o.min_width:this.o.min_height,u=s?this.o.min_height:this.o.min_width;a>l&&((0,d.css)(this.image,s?"width":"height",a),this.resizeUseRatio&&(i=s?Math.round(a/this.ratio):Math.round(a*this.ratio))>u&&((0,d.css)(this.image,s?"height":"width",i),s?o.value=i.toString():r.value=i.toString())),this.j.e.fire(this.resizeHandler,"updatesize")}onResizeHandleMouseDown(t){this.target=t.target,t.preventDefault(),t.stopImmediatePropagation(),this.clicked=!0,this.start_x=t.clientX,this.start_y=t.clientY,this.activeTab===_?(this.top_x=(0,d.css)(this.cropHandler,"left"),this.top_y=(0,d.css)(this.cropHandler,"top"),this.width=this.cropHandler.offsetWidth,this.height=this.cropHandler.offsetHeight):(this.width=this.image.offsetWidth,this.height=this.image.offsetHeight),this.j.e.on(this.j.ow,"mousemove",this.onGlobalMouseMove).one(this.j.ow,"mouseup",this.onGlobalMouseUp)}onGlobalMouseUp(t){this.clicked&&(this.clicked=!1,t.stopImmediatePropagation(),this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove))}onGlobalMouseMove(t){if(!this.clicked)return;let{widthInput:i,heightInput:n}=(0,h.refs)(this.editor);this.diff_x=t.clientX-this.start_x,this.diff_y=t.clientY-this.start_y,this.activeTab===y&&this.resizeUseRatio||this.activeTab===_&&this.cropUseRatio?this.diff_x?(this.new_w=this.width+this.diff_x,this.new_h=Math.round(this.new_w/this.ratio)):(this.new_h=this.height+this.diff_y,this.new_w=Math.round(this.new_h*this.ratio)):(this.new_w=this.width+this.diff_x,this.new_h=this.height+this.diff_y),this.activeTab===y?(this.new_w>this.o.resizeMinWidth&&((0,d.css)(this.image,"width",this.new_w+"px"),i.value=this.new_w.toString()),this.new_h>this.o.resizeMinHeight&&((0,d.css)(this.image,"height",this.new_h+"px"),n.value=this.new_h.toString()),this.j.e.fire(this.resizeHandler,"updatesize")):(this.target!==this.cropHandler?(this.top_x+this.new_w>this.cropImage.offsetWidth&&(this.new_w=this.cropImage.offsetWidth-this.top_x),this.top_y+this.new_h>this.cropImage.offsetHeight&&(this.new_h=this.cropImage.offsetHeight-this.top_y),(0,d.css)(this.cropHandler,{width:this.new_w,height:this.new_h})):(this.top_x+this.diff_x+this.cropHandler.offsetWidth>this.cropImage.offsetWidth&&(this.diff_x=this.cropImage.offsetWidth-this.top_x-this.cropHandler.offsetWidth),(0,d.css)(this.cropHandler,"left",this.top_x+this.diff_x),this.top_y+this.diff_y+this.cropHandler.offsetHeight>this.cropImage.offsetHeight&&(this.diff_y=this.cropImage.offsetHeight-this.top_y-this.cropHandler.offsetHeight),(0,d.css)(this.cropHandler,"top",this.top_y+this.diff_y)),this.j.e.fire(this.cropHandler,"updatesize"))}destruct(){this.isDestructed||(this._dialog&&!this._dialog.isInDestruct&&this._dialog.destruct(),a.Dom.safeRemove(this.editor),this.j.e&&this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove).off(this.j.ow,"mouseup",this.onGlobalMouseUp).off(this.ow,`.${v}`).off(`.${v}`),super.destruct())}constructor(t){super(t),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=y,this.naturalWidth=0,this.naturalHeight=0,this.ratio=0,this.new_h=0,this.new_w=0,this.diff_x=0,this.diff_y=0,this.cropBox={x:0,y:0,w:0,h:0},this.resizeBox={w:0,h:0},this.calcCropBox=()=>{let t=this.crop_box.parentNode,i=.8*t.offsetWidth,n=.8*t.offsetHeight,r=i,o=n,{naturalWidth:s,naturalHeight:a}=this;i>s&&n>a?(r=s,o=a):this.ratio>i/n?(r=i,o=i/s*a):(r=n/a*s,o=n),(0,d.css)(this.crop_box,{width:r,height:o})},this.showCrop=()=>{if(!this.cropImage)return;this.calcCropBox();let t=this.cropImage.offsetWidth||this.image.offsetWidth||this.image.naturalWidth;this.new_w=r.calcValueByPercent(t,this.o.cropDefaultWidth);let i=this.cropImage.offsetHeight||this.image.offsetHeight||this.image.naturalHeight;this.cropUseRatio?this.new_h=this.new_w/this.ratio:this.new_h=r.calcValueByPercent(i,this.o.cropDefaultHeight),(0,d.css)(this.cropHandler,{backgroundImage:"url("+(0,c.attr)(this.cropImage,"src")+")",width:this.new_w,height:this.new_h,left:t/2-this.new_w/2,top:i/2-this.new_h/2}),this.j.e.fire(this.cropHandler,"updatesize")},this.updateCropBox=()=>{if(!this.cropImage)return;let t=this.cropImage.offsetWidth/this.naturalWidth,i=this.cropImage.offsetHeight/this.naturalHeight;this.cropBox.x=(0,d.css)(this.cropHandler,"left")/t,this.cropBox.y=(0,d.css)(this.cropHandler,"top")/i,this.cropBox.w=this.cropHandler.offsetWidth/t,this.cropBox.h=this.cropHandler.offsetHeight/i,this.sizes.textContent=this.cropBox.w.toFixed(0)+"x"+this.cropBox.h.toFixed(0)},this.updateResizeBox=()=>{this.resizeBox.w=this.image.offsetWidth||this.naturalWidth,this.resizeBox.h=this.image.offsetHeight||this.naturalHeight},this.setHandlers=()=>{let t=this,{widthInput:i,heightInput:n}=(0,h.refs)(this.editor);t.j.e.on([t.editor.querySelector(".jodit_bottomright"),t.cropHandler],`mousedown.${v}`,this.onResizeHandleMouseDown).on(this.j.ow,`resize.${v}`,()=>{this.j.e.fire(t.resizeHandler,"updatesize"),t.showCrop(),this.j.e.fire(t.cropHandler,"updatesize")}),t.j.e.on((0,l.toArray)(this.editor.querySelectorAll(`.${v}__slider-title`)),"click",this.onTitleModeClick).on([i,n],"input",this.onChangeSizeInput);let{keepAspectRatioResize:r,keepAspectRatioCrop:o}=(0,h.refs)(this.editor);r&&r.addEventListener("change",()=>{this.resizeUseRatio=r.checked}),o&&o.addEventListener("change",()=>{this.cropUseRatio=o.checked}),t.j.e.on(t.resizeHandler,"updatesize",()=>{(0,d.css)(t.resizeHandler,{top:0,left:0,width:t.image.offsetWidth||t.naturalWidth,height:t.image.offsetHeight||t.naturalHeight}),this.updateResizeBox()}).on(t.cropHandler,"updatesize",()=>{if(!t.cropImage)return;let i=(0,d.css)(t.cropHandler,"left"),n=(0,d.css)(t.cropHandler,"top"),r=t.cropHandler.offsetWidth,o=t.cropHandler.offsetHeight;i<0&&(i=0),n<0&&(n=0),i+r>t.cropImage.offsetWidth&&(r=t.cropImage.offsetWidth-i,t.cropUseRatio&&(o=r/t.ratio)),n+o>t.cropImage.offsetHeight&&(o=t.cropImage.offsetHeight-n,t.cropUseRatio&&(r=o*t.ratio)),(0,d.css)(t.cropHandler,{width:r,height:o,left:i,top:n,backgroundPosition:-i-1+"px "+(-n-1)+"px",backgroundSize:t.cropImage.offsetWidth+"px "+t.cropImage.offsetHeight+"px"}),t.updateCropBox()}),Object.values(t.buttons).forEach(r=>{r.onAction(()=>{let o={action:t.activeTab,box:t.activeTab===y?t.resizeBox:t.cropBox};switch(r){case t.buttons.saveas:t.j.prompt("Enter new name","Save in new file",i=>{if(!(0,u.trim)(i))return t.j.alert("The name should not be empty"),!1;t.onSave(i,o,t.hide,i=>{t.j.alert(i.message)})});break;case t.buttons.save:t.onSave(void 0,o,t.hide,i=>{t.j.alert(i.message)});break;case t.buttons.reset:t.activeTab===y?((0,d.css)(t.image,{width:null,height:null}),i.value=t.naturalWidth.toString(),n.value=t.naturalHeight.toString(),t.j.e.fire(t.resizeHandler,"updatesize")):t.showCrop()}})})},this.options=t&&t.o&&t.o.imageeditor?t.o.imageeditor:m.Config.defaultOptions.imageeditor;const i=this.options;this.resizeUseRatio=i.resizeUseRatio,this.cropUseRatio=i.cropUseRatio,this.buttons={reset:(0,f.Button)(this.j,"update","Reset"),save:(0,f.Button)(this.j,"save","Save"),saveas:(0,f.Button)(this.j,{icon:{name:"save"},name:"save-as",text:"Save as ..."})},this.activeTab=i.resize?y:_,this.editor=(0,g.form)(this.j,this.options);const{resizeBox:n,cropBox:o}=(0,h.refs)(this.editor);this.resize_box=n,this.crop_box=o,this.sizes=this.editor.querySelector(`.${v}__area.${v}__area_crop .jodit-image-editor__sizes`),this.resizeHandler=this.editor.querySelector(`.${v}__resizer`),this.cropHandler=this.editor.querySelector(`.${v}__croper`),this._dialog=this.j.dlg({buttons:["fullsize","dialog.close"]}),this._dialog.setContent(this.editor),this._dialog.setSize(this.o.width,this.o.height),this._dialog.setHeader([this.buttons.reset,this.buttons.save,this.buttons.saveas]),this.setHandlers()}};function w(t,i,n,r,o,s){return this.getInstance("ImageEditor",this.o).open(t,(t,a,l,u)=>(0,p.call)("resize"===a.action?this.dataProvider.resize:this.dataProvider.crop,n,r,i,t,a.box).then(t=>{t&&(l(),o&&o())}).catch(t=>{u(t),s&&s(t)}))}C.calcValueByPercent=(t,i)=>{let n,r=i.toString(),o=parseFloat(t.toString());return(n=/^[-+]?[0-9]+(px)?$/.exec(r))?parseInt(r,10):(n=/^([-+]?[0-9.]+)%$/.exec(r))?Math.round(o*(parseFloat(n[1])/100)):o||0},b([s.autobind],C.prototype,"hide",null),b([s.autobind],C.prototype,"open",null),b([s.autobind],C.prototype,"onTitleModeClick",null),b([(0,s.debounce)(),s.autobind],C.prototype,"onChangeSizeInput",null),b([s.autobind],C.prototype,"onResizeHandleMouseDown",null),b([s.autobind],C.prototype,"onGlobalMouseUp",null),b([(0,s.throttle)(10)],C.prototype,"onGlobalMouseMove",null),C=r=b([s.component],C)},50267:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path stroke-width="0" d="M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm-1408-928q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/> </svg> '},50373:function(t,i,n){"use strict";n.d(i,{processOldBrowserDrag:function(){return c}});var r=n(82758),o=n(22732),s=n(580),a=n(21537),l=n(74569),u=n(80020);function c(t,i,n,c,d){if(i&&(!i.types.length||i.types[0]!==r.TEXT_PLAIN)){let i=t.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,s.getContainer)(t.j,t.constructor).appendChild(i);let r=(0,a.isJoditObject)(t.j)?t.j.s.save():null;i.focus(),t.j.async.setTimeout(()=>{let s=i.firstChild;if(o.Dom.safeRemove(i),s&&s.hasAttribute("src")){let i=(0,a.attr)(s,"src")||"";r&&(0,a.isJoditObject)(t.j)&&t.j.s.restore(),(0,u.sendFiles)(t,[(0,l.dataURItoBlob)(i)],n,c).finally(d)}},t.j.defaultTimeout)}}},50535:function(t,i,n){"use strict";n.d(i,{LimitedStack:function(){return r}});class r{push(t){return this.stack.push(t),this.stack.length>this.limit&&this.stack.shift(),this}pop(){return this.stack.pop()}find(t){return this.stack.find(t)}constructor(t){this.limit=t,this.stack=[]}}},50911:function(t,i,n){"use strict";n.d(i,{Plugin:function(){return r.Plugin}});var r=n(20356);n(41876)},50963:function(t,i,n){"use strict";var r=n(6441);r.Config.prototype.iframeBaseUrl="",r.Config.prototype.iframeTitle="Jodit Editor",r.Config.prototype.iframeDoctype="<!DOCTYPE html>",r.Config.prototype.iframeDefaultSrc="about:blank",r.Config.prototype.iframeStyle='html{margin:0;padding:0;min-height: 100%;}body{box-sizing:border-box;font-size:13px;line-height:1.6;padding:10px;margin:0;background:transparent;color:#000;position:relative;z-index:2;user-select:auto;margin:0px;overflow:auto;outline:none;}table{width:100%;border:none;border-collapse:collapse;empty-cells: show;max-width: 100%;}th,td{padding: 2px 5px;border:1px solid #ccc;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}p{margin-top:0;}.jodit_editor .jodit_iframe_wrapper{display: block;clear: both;user-select: none;position: relative;}.jodit_editor .jodit_iframe_wrapper:after {position:absolute;content:"";z-index:1;top:0;left:0;right: 0;bottom: 0;cursor: pointer;display: block;background: rgba(0, 0, 0, 0);} .jodit_disabled{user-select: none;-o-user-select: none;-moz-user-select: none;-khtml-user-select: none;-webkit-user-select: none;-ms-user-select: none}',r.Config.prototype.iframeCSSLinks=[],r.Config.prototype.iframeSandbox=null},51036:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 1184q0 13-10 23l-50 50q-10 10-23 10t-23-10l-393-393-393 393q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l466 466q10 10 10 23z"/> </svg> '},51251:function(t,i,n){"use strict";n.d(i,{UIMainPanel:function(){return b}});var r=n(77688),o=n(82749),s=n(31635),a=n(68365),l=n(63227),u=n(86563),c=n(93677),d=n(48705),h=n(55885),p=n(65478),f=n(2748),m=n(67510),g=n(62843);class b extends m.UIElement{className(){return"UIMainPanel"}setParentView(t){var i,n,r,o,s,a;return null==(i=this.welcomeScreen)||i.setParentView(t),null==(n=this.conversationList)||n.setParentView(t),null==(r=this.messageList)||r.setParentView(t),null==(o=this.inputArea)||o.setParentView(t),null==(s=this.permissionRequest)||s.setParentView(t),null==(a=this.settingsButton)||a.setParentView(t),super.setParentView(t)}render(){return`<div class="&__container">
226
+ }`}).join("")}disable(){this.isEnabled=!1;let t=(0,u.cached)(this,"style");t&&(t.innerHTML="")}toggle(){this.isEnabled?this.disable():this.enable(),this.j.e.fire("updateToolbar")}afterInit(t){t.e.on("showBlocksEnabled",()=>this.isEnabled),t.registerCommand("enableShowBlocks",this.enable).registerCommand("disableShowBlocks",this.disable).registerCommand("toggleShowBlocks",this.toggle),this.j.o.showBlocks.enable&&this.enable()}beforeDestruct(t){this.disable(),c.Dom.safeRemove((0,u.cached)(this,"style"))}constructor(t){super(t),(0,r._)(this,"buttons",[{name:"showBlocks",group:"state"}]),(0,r._)(this,"isEnabled",!1),(0,d.extendLang)(s),p.Icon.set("showBlocks",l())}}(0,r._)(m,"requires",["license"]),(0,o.__decorate)([u.cache],m.prototype,"style",null),(0,o.__decorate)([u.autobind],m.prototype,"enable",null),(0,o.__decorate)([u.autobind],m.prototype,"disable",null),(0,o.__decorate)([u.autobind],m.prototype,"toggle",null),f.JoditPro.plugins.add("show-blocks",m)},47686:function(t,i,n){"use strict";n.d(i,{onTabInsideLi:function(){return r.onTabInsideLi}});var r=n(26658)},47749:function(t,i,n){"use strict";n.d(i,{readMargins:function(){return o}});var r=n(12475);function o(t,i,n){let o=!0,s=!1;["marginTop","marginRight","marginBottom","marginLeft"].forEach(n=>{let a=t.style.getPropertyValue((0,r.kebabCase)(n));if(!a){s=!0,i[n]=0;return}/^[0-9]+(px)?$/.test(a)&&(a=parseInt(a,10)),i[n]=a,(s&&i[n]||o&&"marginTop"!==n&&i[n]!==i.marginTop)&&(o=!1)}),n.marginIsLocked=o}},48038:function(t,i,n){"use strict";var r=n(6441);r.Config.prototype.toolbarSticky=!0,r.Config.prototype.toolbarDisableStickyForMobile=!0,r.Config.prototype.toolbarStickyOffset=0},48154:function(t){t.exports={"Show Blocks":"Mostrar Bloques"}},48538:function(t,i,n){"use strict";n.d(i,{UIElement:function(){return p}});var r,o=n(91907),s=n(55153),a=n(2748),l=n(70799),u=n(29960),c=n(14316),d=n(34176),h=n(12153);let p=r=class t extends o.ViewComponent{getRole(){var t;return(null==(t=this.options)?void 0:t.role)||""}get parentElement(){return this.__parentElement}set parentElement(t){this.__parentElement=t,t&&t.hookStatus("beforeDestruct",()=>this.destruct()),this.updateParentElement(this)}bubble(t){let i=this.parentElement;for(;i;)t(i),i=i.parentElement;return this}updateParentElement(t){var i;return null==(i=this.__parentElement)||i.updateParentElement(t),this}get(t,i){return super.get(t,i)||this.getElm(t)}closest(t){let i="object"==typeof t?i=>i===t:i=>o.Component.isInstanceOf(i,t),n=this.__parentElement;for(;n;){if(i(n))return n;n=!n.parentElement&&n.container.parentElement?r.closestElement(n.container.parentElement,r):n.parentElement}return null}static closestElement(t,i){let n=a.Dom.up(t,t=>{if(t){let{component:n}=t;return n&&o.Component.isInstanceOf(n,i)}return!1});return n?null==n?void 0:n.component:null}update(){}appendTo(t){return t.appendChild(this.container),this}clearName(t){return t.replace(/[^a-zA-Z0-9]/g,"_")}render(t){return this.j.c.div(this.componentName)}createContainer(t){let i=this.render(t);if((0,l.isString)(i)){let t=this.parseTemplate(i);return t.classList.add(this.componentName),t}return i}parseTemplate(t){return this.j.c.fromHTML(t.replace(/\*([^*]+?)\*/g,(t,i)=>h.Icon.get(i)||"").replace(/&_/g,this.componentName+"_").replace(/~([^~]+?)~/g,(t,i)=>this.i18n(i)))}destruct(){return a.Dom.safeRemove(this.container),this.parentElement=null,super.destruct()}constructor(t,i){super(t),this.name="",this.__parentElement=null,this.mods={},this.options=i,this.container=this.createContainer(i);const n=this.getRole();n&&(0,u.attr)(this.container,"role",n),Object.defineProperty(this.container,"component",{value:this,configurable:!0})}};p=r=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([(0,s.derive)(d.Mods,c.Elms)],p)},48591:function(t,i,n){"use strict";n.d(i,{makeInstance:function(){return s}});var r=n(82758),o=n(23282);function s(t,i){try{try{return(0,o.isFunction)(i)?new i(t):i}catch(n){if((0,o.isFunction)(i)&&!i.prototype)return i(t)}}catch(t){if(!r.IS_PROD)throw t}return null}},48705:function(t,i,n){"use strict";n.d(i,{UISettingsButton:function(){return r.UISettingsButton}});var r=n(76697)},49033:function(t,i,n){"use strict";n.d(i,{normalizeKeyAliases:function(){return s}});var r=n(82758),o=n(49055);function s(t){let i={},n={meta:1,ctrl:2,control:2,alt:3,shift:4,space:5};return t.replace(/\+\+/g,"+add").split(/[\s]*\+[\s]*/).map(t=>(0,o.trim)(t.toLowerCase())).map(t=>r.KEY_ALIASES[t]||t).sort((t,i)=>n[t]&&!n[i]?-1:!n[t]&&n[i]?1:n[t]&&n[i]?n[t]-n[i]:t>i?1:-1).filter(t=>!i[t]&&""!==t&&(i[t]=!0)).join("+")}},49055:function(t,i,n){"use strict";n.d(i,{trim:function(){return o},trimChars:function(){return s},trimInv:function(){return a}});var r=n(82758);function o(t){return t.replace((0,r.SPACE_REG_EXP_END)(),"").replace((0,r.SPACE_REG_EXP_START)(),"")}function s(t,i){return t.replace(RegExp(`[${i}]+$`),"").replace(RegExp(`^[${i}]+`),"")}function a(t){return t.replace((0,r.INVISIBLE_SPACE_REG_EXP_END)(),"").replace((0,r.INVISIBLE_SPACE_REG_EXP_START)(),"")}},49155:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1728 608v704q0 92-66 158t-158 66h-1216q-92 0-158-66t-66-158v-960q0-92 66-158t158-66h320q92 0 158 66t66 158v32h672q92 0 158 66t66 158z"/> </svg> '},49377:function(t){t.exports='<svg viewBox="0 0 76 76" xmlns="http://www.w3.org/2000/svg"> <path d="M38 6.90909C36.2517 6.90909 34.7591 7.58381 33.5221 8.93324C32.2852 10.2827 31.6667 11.911 31.6667 13.8182V20.7273H30.0833V15.7074C30.0833 13.9801 29.5556 12.5137 28.5 11.3082C27.4444 10.1027 26.125 9.5 24.5417 9.5C23.0243 9.5 21.7214 10.0938 20.6328 11.2813C19.5443 12.4688 19 13.8902 19 15.5455V38.7017L17.4167 37.0824V27.7983C17.4167 26.071 16.8889 24.6046 15.8333 23.3991C14.7778 22.1937 13.4583 21.5909 11.875 21.5909C10.3576 21.5909 9.05469 22.1847 7.96615 23.3722C6.8776 24.5597 6.33333 25.9811 6.33333 27.6364V39.7273C6.33333 41.4186 6.91059 42.8939 8.0651 44.1534L23.4036 60.1307C24.6901 61.5341 25.3333 63.3693 25.3333 65.6364C25.3333 66.572 25.6467 67.3816 26.2734 68.0653C26.9002 68.7491 27.6424 69.0909 28.5 69.0909H60.1667C61.0243 69.0909 61.7665 68.7491 62.3932 68.0653C63.02 67.3816 63.3333 66.572 63.3333 65.6364V64.2869C63.3333 62.8116 63.4983 61.4261 63.8281 60.1307L69.1719 36.5966C69.5017 35.3011 69.6667 33.9157 69.6667 32.4403V19.1619C69.6667 17.4347 69.1389 15.9683 68.0833 14.7628C67.0278 13.5573 65.7083 12.9545 64.125 12.9545C62.6076 12.9545 61.3047 13.5483 60.2161 14.7358C59.1276 15.9233 58.5833 17.3447 58.5833 19V20.7273H57V13.9801C57 12.5407 56.5877 11.2363 55.763 10.0668C54.9384 8.89725 53.8828 8.16856 52.5964 7.88068C52.1345 7.80871 51.7552 7.77273 51.4583 7.77273C49.941 7.77273 48.638 8.36648 47.5495 9.55398C46.4609 10.7415 45.9167 12.1629 45.9167 13.8182V20.7273H44.3333V14.142C44.3333 12.3068 43.7973 10.6965 42.7253 9.31108C41.6532 7.92566 40.2925 7.14299 38.6432 6.96307C38.4783 6.92708 38.2639 6.90909 38 6.90909ZM38 0C40.7708 0 43.2283 0.899621 45.3724 2.69886C47.2526 1.47538 49.2813 0.863636 51.4583 0.863636C53.4045 0.863636 55.2352 1.34943 56.9505 2.32102C58.6658 3.29261 60.0842 4.66004 61.2057 6.4233C62.0964 6.1714 63.0694 6.04545 64.125 6.04545C67.4236 6.04545 70.2274 7.33191 72.5365 9.90483C74.8455 12.4777 76 15.5634 76 19.1619V32.4403C76 34.2756 75.7856 36.2188 75.3568 38.2699L69.9635 61.804C69.7656 62.6676 69.6667 63.9451 69.6667 65.6364C69.6667 68.5152 68.7431 70.9621 66.8958 72.9773C65.0486 74.9924 62.8056 76 60.1667 76H28.5C25.7292 76 23.4531 74.9474 21.6719 72.8423C19.8906 70.7372 19 68.1733 19 65.1506L3.76042 49.1733C1.25347 46.5464 0 43.3977 0 39.7273V27.6364C0 24.0739 1.16276 21.0241 3.48828 18.4872C5.8138 15.9503 8.60938 14.6818 11.875 14.6818C12.2378 14.6818 12.5017 14.6998 12.6667 14.7358C12.8646 11.3172 14.1098 8.43845 16.4023 6.09943C18.6949 3.76042 21.408 2.59091 24.5417 2.59091C26.2569 2.59091 27.8733 2.96875 29.3906 3.72443C31.7656 1.24148 34.6354 0 38 0Z"/> </svg>'},49399:function(t,i){"use strict";i.default='<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <path d="M1088 1256v240q0 16-12 28t-28 12h-240q-16 0-28-12t-12-28v-240q0-16 12-28t28-12h240q16 0 28 12t12 28zm316-600q0 54-15.5 101t-35 76.5-55 59.5-57.5 43.5-61 35.5q-41 23-68.5 65t-27.5 67q0 17-12 32.5t-28 15.5h-240q-15 0-25.5-18.5t-10.5-37.5v-45q0-83 65-156.5t143-108.5q59-27 84-56t25-76q0-42-46.5-74t-107.5-32q-65 0-108 29-35 25-107 115-13 16-31 16-12 0-25-8l-164-125q-13-10-15.5-25t5.5-28q160-266 464-266 80 0 161 31t146 83 106 127.5 41 158.5z"/> </svg> '},49459:function(t,i,n){"use strict";function r(t,i,n={}){let o=t[i];if("string"!=typeof o||!n.allowEmpty&&""===o)throw Error(`Parameter "${i}" is required and must be a${n.allowEmpty?"":" non-empty"} string`);return o}n.d(i,{requireString:function(){return r}})},49759:function(t,i,n){"use strict";n.r(i),i.default={symbols:"Symbolit"}},49841:function(t,i,n){"use strict";n.r(i),i.default={symbols:"Szimb\xf3lum"}},49922:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M621 1280h595v-595zm-45-45l595-595h-595v595zm1152 77v192q0 14-9 23t-23 9h-224v224q0 14-9 23t-23 9h-192q-14 0-23-9t-9-23v-224h-864q-14 0-23-9t-9-23v-864h-224q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h224v-224q0-14 9-23t23-9h192q14 0 23 9t9 23v224h851l246-247q10-9 23-9t23 9q9 10 9 23t-9 23l-247 246v851h224q14 0 23 9t9 23z"/> </svg> '},49996:function(t,i,n){"use strict";n.d(i,{FiniteStateMachine:function(){return a}});var r=n(82758),o=n(70799),s=n(38837);class a{setState(t){(0,s.assert)(!this.__previewsStates.has(t),"Circled states"),this.__previewsStates.add(t),this.__state=t}getState(){return this.__state}disableSilent(){this.silent=!1}dispatch(t,i){let n=this.transitions[this.getState()][t];if(n){let t=n.call(this,i);return(0,s.assert)(t&&t!==i,"Action should return new value"),(0,s.assert)((0,o.isString)(t.next),"Value should contain the next state"),(0,s.assert)(t.next!==this.getState(),"The new state should not be equal to the old one."),this.setState(t.next),r.IS_PROD||this.silent,t}throw Error(`invalid action: ${this.getState()}.${t.toString()}`)}constructor(t,i){this.transitions=i,this.silent=!0,this.__previewsStates=new Set,this.setState(t)}}},50050:function(t,i,n){"use strict";n.d(i,{ImageEditor:function(){return C},openImageEditor:function(){return w}});var r,o=n(91907),s=n(65478),a=n(22732),l=n(4510),u=n(49055),c=n(29960),d=n(41180),h=n(76078),p=n(37790),f=n(62843),m=n(6441);n(62489);var g=n(22461),b=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let v="jodit-image-editor",y="resize",_="crop",C=r=class t extends o.ViewComponent{className(){return"ImageEditor"}get o(){return this.options}hide(){this._dialog.close()}open(t,i){return this.j.async.promise(n=>{let r=new Date().getTime();this.image=this.j.c.element("img"),(0,h.$$)("img,.jodit-icon_loader",this.resize_box).forEach(a.Dom.safeRemove),(0,h.$$)("img,.jodit-icon_loader",this.crop_box).forEach(a.Dom.safeRemove),(0,d.css)(this.cropHandler,"background","transparent"),this.onSave=i,this.resize_box.appendChild(this.j.c.element("i",{class:"jodit-icon_loader"})),this.crop_box.appendChild(this.j.c.element("i",{class:"jodit-icon_loader"})),/\?/.test(t)?t+="&_tst="+r:t+="?_tst="+r,this.image.setAttribute("src",t),this._dialog.open();let{widthInput:o,heightInput:s}=(0,h.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.toString(),s.value=this.naturalHeight.toString(),this.ratio=this.naturalWidth/this.naturalHeight,this.resize_box.appendChild(this.image),this.cropImage=this.image.cloneNode(!0),this.crop_box.appendChild(this.cropImage),a.Dom.safeRemove.apply(null,(0,h.$$)(".jodit-icon_loader",this.editor)),this.activeTab===_&&this.showCrop(),this.j.e.fire(this.resizeHandler,"updatesize"),this.j.e.fire(this.cropHandler,"updatesize"),this._dialog.setPosition(),this.j.e.fire("afterImageEditor"),n(this._dialog))};this.image.addEventListener("load",l),this.image.complete&&l()})}onTitleModeClick(t){let i=t.target,n=null==i?void 0:i.parentElement;if(!n)return;(0,h.$$)(`.${v}__slider,.${v}__area`,this.editor).forEach(t=>t.classList.remove(`${v}_active`)),n.classList.add(`${v}_active`),this.activeTab=(0,c.attr)(n,"-area")||y;let r=this.editor.querySelector(`.${v}__area.${v}__area_`+this.activeTab);r&&r.classList.add(`${v}_active`),this.activeTab===_&&this.showCrop()}onChangeSizeInput(t){let i,n=t.target,{widthInput:r,heightInput:o}=(0,h.refs)(this.editor),s="widthInput"===(0,c.attr)(n,"data-ref"),a=parseInt(n.value,10),l=s?this.o.min_width:this.o.min_height,u=s?this.o.min_height:this.o.min_width;a>l&&((0,d.css)(this.image,s?"width":"height",a),this.resizeUseRatio&&(i=s?Math.round(a/this.ratio):Math.round(a*this.ratio))>u&&((0,d.css)(this.image,s?"height":"width",i),s?o.value=i.toString():r.value=i.toString())),this.j.e.fire(this.resizeHandler,"updatesize")}onResizeHandleMouseDown(t){this.target=t.target,t.preventDefault(),t.stopImmediatePropagation(),this.clicked=!0,this.start_x=t.clientX,this.start_y=t.clientY,this.activeTab===_?(this.top_x=(0,d.css)(this.cropHandler,"left"),this.top_y=(0,d.css)(this.cropHandler,"top"),this.width=this.cropHandler.offsetWidth,this.height=this.cropHandler.offsetHeight):(this.width=this.image.offsetWidth,this.height=this.image.offsetHeight),this.j.e.on(this.j.ow,"mousemove",this.onGlobalMouseMove).one(this.j.ow,"mouseup",this.onGlobalMouseUp)}onGlobalMouseUp(t){this.clicked&&(this.clicked=!1,t.stopImmediatePropagation(),this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove))}onGlobalMouseMove(t){if(!this.clicked)return;let{widthInput:i,heightInput:n}=(0,h.refs)(this.editor);this.diff_x=t.clientX-this.start_x,this.diff_y=t.clientY-this.start_y,this.activeTab===y&&this.resizeUseRatio||this.activeTab===_&&this.cropUseRatio?this.diff_x?(this.new_w=this.width+this.diff_x,this.new_h=Math.round(this.new_w/this.ratio)):(this.new_h=this.height+this.diff_y,this.new_w=Math.round(this.new_h*this.ratio)):(this.new_w=this.width+this.diff_x,this.new_h=this.height+this.diff_y),this.activeTab===y?(this.new_w>this.o.resizeMinWidth&&((0,d.css)(this.image,"width",this.new_w+"px"),i.value=this.new_w.toString()),this.new_h>this.o.resizeMinHeight&&((0,d.css)(this.image,"height",this.new_h+"px"),n.value=this.new_h.toString()),this.j.e.fire(this.resizeHandler,"updatesize")):(this.target!==this.cropHandler?(this.top_x+this.new_w>this.cropImage.offsetWidth&&(this.new_w=this.cropImage.offsetWidth-this.top_x),this.top_y+this.new_h>this.cropImage.offsetHeight&&(this.new_h=this.cropImage.offsetHeight-this.top_y),(0,d.css)(this.cropHandler,{width:this.new_w,height:this.new_h})):(this.top_x+this.diff_x+this.cropHandler.offsetWidth>this.cropImage.offsetWidth&&(this.diff_x=this.cropImage.offsetWidth-this.top_x-this.cropHandler.offsetWidth),(0,d.css)(this.cropHandler,"left",this.top_x+this.diff_x),this.top_y+this.diff_y+this.cropHandler.offsetHeight>this.cropImage.offsetHeight&&(this.diff_y=this.cropImage.offsetHeight-this.top_y-this.cropHandler.offsetHeight),(0,d.css)(this.cropHandler,"top",this.top_y+this.diff_y)),this.j.e.fire(this.cropHandler,"updatesize"))}destruct(){this.isDestructed||(this._dialog&&!this._dialog.isInDestruct&&this._dialog.destruct(),a.Dom.safeRemove(this.editor),this.j.e&&this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove).off(this.j.ow,"mouseup",this.onGlobalMouseUp).off(this.ow,`.${v}`).off(`.${v}`),super.destruct())}constructor(t){super(t),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=y,this.naturalWidth=0,this.naturalHeight=0,this.ratio=0,this.new_h=0,this.new_w=0,this.diff_x=0,this.diff_y=0,this.cropBox={x:0,y:0,w:0,h:0},this.resizeBox={w:0,h:0},this.calcCropBox=()=>{let t=this.crop_box.parentNode,i=.8*t.offsetWidth,n=.8*t.offsetHeight,r=i,o=n,{naturalWidth:s,naturalHeight:a}=this;i>s&&n>a?(r=s,o=a):this.ratio>i/n?(r=i,o=i/s*a):(r=n/a*s,o=n),(0,d.css)(this.crop_box,{width:r,height:o})},this.showCrop=()=>{if(!this.cropImage)return;this.calcCropBox();let t=this.cropImage.offsetWidth||this.image.offsetWidth||this.image.naturalWidth;this.new_w=r.calcValueByPercent(t,this.o.cropDefaultWidth);let i=this.cropImage.offsetHeight||this.image.offsetHeight||this.image.naturalHeight;this.cropUseRatio?this.new_h=this.new_w/this.ratio:this.new_h=r.calcValueByPercent(i,this.o.cropDefaultHeight),(0,d.css)(this.cropHandler,{backgroundImage:"url("+(0,c.attr)(this.cropImage,"src")+")",width:this.new_w,height:this.new_h,left:t/2-this.new_w/2,top:i/2-this.new_h/2}),this.j.e.fire(this.cropHandler,"updatesize")},this.updateCropBox=()=>{if(!this.cropImage)return;let t=this.cropImage.offsetWidth/this.naturalWidth,i=this.cropImage.offsetHeight/this.naturalHeight;this.cropBox.x=(0,d.css)(this.cropHandler,"left")/t,this.cropBox.y=(0,d.css)(this.cropHandler,"top")/i,this.cropBox.w=this.cropHandler.offsetWidth/t,this.cropBox.h=this.cropHandler.offsetHeight/i,this.sizes.textContent=this.cropBox.w.toFixed(0)+"x"+this.cropBox.h.toFixed(0)},this.updateResizeBox=()=>{this.resizeBox.w=this.image.offsetWidth||this.naturalWidth,this.resizeBox.h=this.image.offsetHeight||this.naturalHeight},this.setHandlers=()=>{let t=this,{widthInput:i,heightInput:n}=(0,h.refs)(this.editor);t.j.e.on([t.editor.querySelector(".jodit_bottomright"),t.cropHandler],`mousedown.${v}`,this.onResizeHandleMouseDown).on(this.j.ow,`resize.${v}`,()=>{this.j.e.fire(t.resizeHandler,"updatesize"),t.showCrop(),this.j.e.fire(t.cropHandler,"updatesize")}),t.j.e.on((0,l.toArray)(this.editor.querySelectorAll(`.${v}__slider-title`)),"click",this.onTitleModeClick).on([i,n],"input",this.onChangeSizeInput);let{keepAspectRatioResize:r,keepAspectRatioCrop:o}=(0,h.refs)(this.editor);r&&r.addEventListener("change",()=>{this.resizeUseRatio=r.checked}),o&&o.addEventListener("change",()=>{this.cropUseRatio=o.checked}),t.j.e.on(t.resizeHandler,"updatesize",()=>{(0,d.css)(t.resizeHandler,{top:0,left:0,width:t.image.offsetWidth||t.naturalWidth,height:t.image.offsetHeight||t.naturalHeight}),this.updateResizeBox()}).on(t.cropHandler,"updatesize",()=>{if(!t.cropImage)return;let i=(0,d.css)(t.cropHandler,"left"),n=(0,d.css)(t.cropHandler,"top"),r=t.cropHandler.offsetWidth,o=t.cropHandler.offsetHeight;i<0&&(i=0),n<0&&(n=0),i+r>t.cropImage.offsetWidth&&(r=t.cropImage.offsetWidth-i,t.cropUseRatio&&(o=r/t.ratio)),n+o>t.cropImage.offsetHeight&&(o=t.cropImage.offsetHeight-n,t.cropUseRatio&&(r=o*t.ratio)),(0,d.css)(t.cropHandler,{width:r,height:o,left:i,top:n,backgroundPosition:-i-1+"px "+(-n-1)+"px",backgroundSize:t.cropImage.offsetWidth+"px "+t.cropImage.offsetHeight+"px"}),t.updateCropBox()}),Object.values(t.buttons).forEach(r=>{r.onAction(()=>{let o={action:t.activeTab,box:t.activeTab===y?t.resizeBox:t.cropBox};switch(r){case t.buttons.saveas:t.j.prompt("Enter new name","Save in new file",i=>{if(!(0,u.trim)(i))return t.j.alert("The name should not be empty"),!1;t.onSave(i,o,t.hide,i=>{t.j.alert(i.message)})});break;case t.buttons.save:t.onSave(void 0,o,t.hide,i=>{t.j.alert(i.message)});break;case t.buttons.reset:t.activeTab===y?((0,d.css)(t.image,{width:null,height:null}),i.value=t.naturalWidth.toString(),n.value=t.naturalHeight.toString(),t.j.e.fire(t.resizeHandler,"updatesize")):t.showCrop()}})})},this.options=t&&t.o&&t.o.imageeditor?t.o.imageeditor:m.Config.defaultOptions.imageeditor;const i=this.options;this.resizeUseRatio=i.resizeUseRatio,this.cropUseRatio=i.cropUseRatio,this.buttons={reset:(0,f.Button)(this.j,"update","Reset"),save:(0,f.Button)(this.j,"save","Save"),saveas:(0,f.Button)(this.j,{icon:{name:"save"},name:"save-as",text:"Save as ..."})},this.activeTab=i.resize?y:_,this.editor=(0,g.form)(this.j,this.options);const{resizeBox:n,cropBox:o}=(0,h.refs)(this.editor);this.resize_box=n,this.crop_box=o,this.sizes=this.editor.querySelector(`.${v}__area.${v}__area_crop .jodit-image-editor__sizes`),this.resizeHandler=this.editor.querySelector(`.${v}__resizer`),this.cropHandler=this.editor.querySelector(`.${v}__croper`),this._dialog=this.j.dlg({buttons:["fullsize","dialog.close"]}),this._dialog.setContent(this.editor),this._dialog.setSize(this.o.width,this.o.height),this._dialog.setHeader([this.buttons.reset,this.buttons.save,this.buttons.saveas]),this.setHandlers()}};function w(t,i,n,r,o,s){return this.getInstance("ImageEditor",this.o).open(t,(t,a,l,u)=>(0,p.call)("resize"===a.action?this.dataProvider.resize:this.dataProvider.crop,n,r,i,t,a.box).then(t=>{t&&(l(),o&&o("string"==typeof t?t:void 0))}).catch(t=>{u(t),s&&s(t)}))}C.calcValueByPercent=(t,i)=>{let n,r=i.toString(),o=parseFloat(t.toString());return(n=/^[-+]?[0-9]+(px)?$/.exec(r))?parseInt(r,10):(n=/^([-+]?[0-9.]+)%$/.exec(r))?Math.round(o*(parseFloat(n[1])/100)):o||0},b([s.autobind],C.prototype,"hide",null),b([s.autobind],C.prototype,"open",null),b([s.autobind],C.prototype,"onTitleModeClick",null),b([(0,s.debounce)(),s.autobind],C.prototype,"onChangeSizeInput",null),b([s.autobind],C.prototype,"onResizeHandleMouseDown",null),b([s.autobind],C.prototype,"onGlobalMouseUp",null),b([(0,s.throttle)(10)],C.prototype,"onGlobalMouseMove",null),C=r=b([s.component],C)},50267:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path stroke-width="0" d="M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm-1408-928q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/> </svg> '},50373:function(t,i,n){"use strict";n.d(i,{processOldBrowserDrag:function(){return c}});var r=n(82758),o=n(22732),s=n(580),a=n(21537),l=n(74569),u=n(80020);function c(t,i,n,c,d){if(i&&(!i.types.length||i.types[0]!==r.TEXT_PLAIN)){let i=t.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,s.getContainer)(t.j,t.constructor).appendChild(i);let r=(0,a.isJoditObject)(t.j)?t.j.s.save():null;i.focus(),t.j.async.setTimeout(()=>{let s=i.firstChild;if(o.Dom.safeRemove(i),s&&s.hasAttribute("src")){let i=(0,a.attr)(s,"src")||"";r&&(0,a.isJoditObject)(t.j)&&t.j.s.restore(),(0,u.sendFiles)(t,[(0,l.dataURItoBlob)(i)],n,c).finally(d)}},t.j.defaultTimeout)}}},50535:function(t,i,n){"use strict";n.d(i,{LimitedStack:function(){return r}});class r{push(t){return this.stack.push(t),this.stack.length>this.limit&&this.stack.shift(),this}pop(){return this.stack.pop()}find(t){return this.stack.find(t)}constructor(t){this.limit=t,this.stack=[]}}},50911:function(t,i,n){"use strict";n.d(i,{Plugin:function(){return r.Plugin}});var r=n(20356);n(41876)},50963:function(t,i,n){"use strict";var r=n(6441);r.Config.prototype.iframeBaseUrl="",r.Config.prototype.iframeTitle="Jodit Editor",r.Config.prototype.iframeDoctype="<!DOCTYPE html>",r.Config.prototype.iframeDefaultSrc="about:blank",r.Config.prototype.iframeStyle='html{margin:0;padding:0;min-height: 100%;}body{box-sizing:border-box;font-size:13px;line-height:1.6;padding:10px;margin:0;background:transparent;color:#000;position:relative;z-index:2;user-select:auto;margin:0px;overflow:auto;outline:none;}table{width:100%;border:none;border-collapse:collapse;empty-cells: show;max-width: 100%;}th,td{padding: 2px 5px;border:1px solid #ccc;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}p{margin-top:0;}.jodit_editor .jodit_iframe_wrapper{display: block;clear: both;user-select: none;position: relative;}.jodit_editor .jodit_iframe_wrapper:after {position:absolute;content:"";z-index:1;top:0;left:0;right: 0;bottom: 0;cursor: pointer;display: block;background: rgba(0, 0, 0, 0);} .jodit_disabled{user-select: none;-o-user-select: none;-moz-user-select: none;-khtml-user-select: none;-webkit-user-select: none;-ms-user-select: none}',r.Config.prototype.iframeCSSLinks=[],r.Config.prototype.iframeSandbox=null},51036:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 1184q0 13-10 23l-50 50q-10 10-23 10t-23-10l-393-393-393 393q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l466 466q10 10 10 23z"/> </svg> '},51251:function(t,i,n){"use strict";n.d(i,{UIMainPanel:function(){return b}});var r=n(77688),o=n(82749),s=n(31635),a=n(68365),l=n(63227),u=n(86563),c=n(93677),d=n(48705),h=n(55885),p=n(65478),f=n(2748),m=n(67510),g=n(62843);class b extends m.UIElement{className(){return"UIMainPanel"}setParentView(t){var i,n,r,o,s,a;return null==(i=this.welcomeScreen)||i.setParentView(t),null==(n=this.conversationList)||n.setParentView(t),null==(r=this.messageList)||r.setParentView(t),null==(o=this.inputArea)||o.setParentView(t),null==(s=this.permissionRequest)||s.setParentView(t),null==(a=this.settingsButton)||a.setParentView(t),super.setParentView(t)}render(){return`<div class="&__container">
227
227
  <div class="&__header">
228
228
  <div class="&__header-left"></div>
229
229
  <div class="&__header-title"></div>
@@ -234,7 +234,7 @@ ${s}`.trim();n?yield this.__executeQuickCommandSilent(u,s):yield this.__executeQ
234
234
  <div class="&__loading-spinner"></div>
235
235
  </div>
236
236
  <div class="&__footer"></div>
237
- </div>`}addResize(){}afterRender(){this.content=this.getElm("content"),this.createComponents(),this.createHeaderButtons(),this.__updateView("welcome")}__onChangeView(){return(0,r._)(function*(){this.__updateView(this.state.currentView,this.state.currentConversation)}).call(this)}createComponents(){this.welcomeScreen=new h.UIWelcomeScreen(this.j),this.conversationList=new a.UIConversationList(this.j,this.options),this.messageList=new u.UIMessageList(this.j,this.options),this.inputArea=new l.UIInputArea(this.j,this.options),this.getElm("footer").appendChild(this.inputArea.container)}createHeaderButtons(){let t=this.getElm("header-left"),i=this.getElm("header-right"),n=new g.UIButton(this.j,{icon:{name:"angle-left"},size:"small",variant:"initial"});n.container.classList.add(this.getFullElName("back-button")),this.j.e.on(n,"click",()=>{this.j.e.fire("backToList.ai-assistant-pro")}),t.appendChild(n.container);let r=new g.UIButton(this.j,{icon:{name:"plus"},size:"small",tooltip:"New chat",variant:"initial"});if(r.container.classList.add(this.getFullElName("new-button")),this.j.e.on(r,"click",()=>{this.j.e.fire("newConversation.ai-assistant-pro")}),i.appendChild(r.container),this.shouldShowSettings()&&(this.settingsButton=new d.UISettingsButton(this.j,this.state,this.options,()=>this.state.currentConversation,this.updateConversation),this.settingsButton.container.classList.add(this.getFullElName("settings-button")),i.appendChild(this.settingsButton.container)),"dialog"===this.mods.displayMode||!1===this.mods.allowClose)return;let o=new g.UIButton(this.j,{icon:{name:"cancel"},size:"small",tooltip:"Close",variant:"initial"});o.container.classList.add(this.getFullElName("close-button")),this.j.e.on(o,"click",()=>{this.j.e.fire("closeAIAssistantPro.ai-assistant-pro")}),i.appendChild(o.container)}isFlightMode(){return"flight"===this.mods.displayMode}shouldShowSettings(){let t=this.options,i=t.allowEditDisplayMode||t.allowEditPanelWidth,n=t.allowEditDialogSettings;return i||n}__updateView(t,i=null){var n;null==(n=this.settingsButton)||n.update();let r=this.getElm("header-title");this.setMod("view",t);let o=this.isFlightMode();switch(t){case"welcome":r.textContent=this.j.i18n("AI Assistant"),f.Dom.safeRemove(this.conversationList.container),f.Dom.safeRemove(this.messageList.container),this.content.appendChild(this.welcomeScreen.container),this.inputArea.focus();break;case"conversationList":r.textContent=this.j.i18n("AI Assistant"),f.Dom.safeRemove(this.welcomeScreen.container),f.Dom.safeRemove(this.messageList.container),this.conversationList.container.isConnected||this.content.appendChild(this.conversationList.container);break;case"conversation":r.textContent=o?this.j.i18n("AI Assistant"):(null==i?void 0:i.title)||this.j.i18n("Conversation"),f.Dom.safeRemove(this.welcomeScreen.container),f.Dom.safeRemove(this.conversationList.container),this.messageList.container.isConnected||this.content.appendChild(this.messageList.container),i&&this.messageList.setMessages(i.messages),this.inputArea.focus()}}onChangeCurrentConversation(){let{currentConversation:t}=this.state;t&&(this.conversationList.setActiveConversation(t.id),this.messageList.setMessages(t.messages))}onChangeConversations(){this.conversationList.setConversations(this.state.conversations)}onChangeSelectionContexts(){this.inputArea.setContexts(this.state.selectionContexts)}onChangeLoading(){this.inputArea.setLoading(this.state.isLoading)}onChangePendingToolCalls(){this.state.pendingToolCalls&&this.state.pendingToolCalls.length>0?this.showPermissionRequest(this.state.pendingToolCalls[0]):this.hidePermissionRequest()}showPermissionRequest(t){this.permissionRequest||(this.permissionRequest=new c.UIPermissionRequest(this.j,this.options)),this.permissionRequest.setToolCall(t);let i=this.getElm("footer");i.contains(this.permissionRequest.container)||i.insertBefore(this.permissionRequest.container,this.inputArea.container)}hidePermissionRequest(){this.permissionRequest&&this.permissionRequest.container.parentNode&&this.permissionRequest.container.parentNode.removeChild(this.permissionRequest.container)}destruct(){var t,i,n,r,o,s;null==(t=this.welcomeScreen)||t.destruct(),null==(i=this.conversationList)||i.destruct(),null==(n=this.messageList)||n.destruct(),null==(r=this.inputArea)||r.destruct(),null==(o=this.permissionRequest)||o.destruct(),null==(s=this.settingsButton)||s.destruct(),super.destruct()}constructor(t,i,n,r){super(t),(0,o._)(this,"state",void 0),(0,o._)(this,"options",void 0),(0,o._)(this,"updateConversation",void 0),(0,o._)(this,"permissionRequest",void 0),(0,o._)(this,"settingsButton",void 0),(0,o._)(this,"content",void 0),this.state=i,this.options=n,this.updateConversation=r,this.permissionRequest=null,this.settingsButton=null}}(0,s.__decorate)([(0,p.hook)("ready")],b.prototype,"afterRender",null),(0,s.__decorate)([(0,p.watch)(["state.currentView","state.currentConversation"])],b.prototype,"__onChangeView",null),(0,s.__decorate)([(0,p.watch)("state.currentConversation")],b.prototype,"onChangeCurrentConversation",null),(0,s.__decorate)([(0,p.watch)("state.conversations")],b.prototype,"onChangeConversations",null),(0,s.__decorate)([(0,p.watch)("state.selectionContexts")],b.prototype,"onChangeSelectionContexts",null),(0,s.__decorate)([(0,p.watch)("state.isLoading")],b.prototype,"onChangeLoading",null),(0,s.__decorate)([(0,p.watch)("state.pendingToolCalls")],b.prototype,"onChangePendingToolCalls",null),b=(0,s.__decorate)([p.component],b)},51359:function(t,i,n){"use strict";n.d(i,{UIMessageListItem:function(){return h}});var r=n(82749),o=n(31635),s=n(81835),a=n(65478),l=n(67510),u=n(62843),c=n(62405),d=n(80870);class h extends l.UIElement{className(){return"UIMessageListItem"}render(){return`<div class="${this.getFullElName("message")}"></div>`}onReady(){this.updateContent(),this.contextMenu=new d.ContextMenu(this.j)}updateContent(){let t=this.container;t.innerHTML="",t.setAttribute("data-message-id",this.message.id),t.setAttribute("data-role",this.message.role);let i=this.j.c.div(this.getFullElName("message-bubble"));i.classList.add(this.getFullElName("message-bubble",this.message.role,!0));let n=this.j.c.div(this.getFullElName("message-content"));if(n.innerHTML=this.formatMessageContent(this.message.content),i.appendChild(n),this.opts.showTimestamps){let t=this.j.c.div(this.getFullElName("message-timestamp"));t.textContent=this.formatTimestamp(this.message.timestamp),i.appendChild(t)}let r=this.j.c.div(this.getFullElName("message-actions"));if(this.renderActionsButton(r),i.appendChild(r),t.appendChild(i),this.message.toolCalls&&this.message.toolCalls.length>0){let i=this.j.c.div(this.getFullElName("tool-calls"));t.appendChild(i),this.message.toolCalls.forEach(t=>{let n=this.createToolCallElement(t);i.appendChild(n)})}this.message.artifacts&&this.message.artifacts.length>0&&this.renderArtifacts()}renderActionsButton(t){let i=this.opts;(i.showCopyMessageAction||i.showRestartMessageAction||i.showEditMessageAction||i.showDeleteMessageAction)&&(this.actionsButton=new u.UIButton(this.j,{icon:{name:"dots"},tooltip:"Message actions",name:"messageActions",size:"tiny"}),this.actionsButton.onAction(t=>{this.showActionsMenu(t)}),t.appendChild(this.actionsButton.container))}showActionsMenu(t){if(!this.contextMenu||!this.actionsButton)return;let i=this.j,n=i.o.aiAssistantPro,r=[];n.showCopyMessageAction&&r.push({title:"Copy message",icon:"copy",exec:()=>{this.j.e.fire("copyMessage.ai-assistant-pro",this.message.id)}}),"user"===this.message.role&&(n.showRestartMessageAction&&r.push({title:"Restart from here",icon:"update",exec:()=>{this.j.e.fire("restartFromMessage.ai-assistant-pro",this.message.id)}}),n.showEditMessageAction&&r.push({title:"Edit message",icon:"pencil",exec:()=>{this.j.e.fire("editMessage.ai-assistant-pro",this.message.id)}})),n.showDeleteMessageAction&&r.push({title:"Delete message",icon:"bin",exec:()=>{i.confirm("Are you sure you want to delete this message?","Delete message",t=>{t&&this.j.e.fire("deleteMessage.ai-assistant-pro",this.message.id)})}});let o=this.actionsButton.container.getBoundingClientRect();this.contextMenu.show(o.left,o.bottom,r),t.stopPropagation()}renderArtifacts(){if(!this.message.artifacts||0===this.message.artifacts.length)return;let t=this.j.c.div(this.getFullElName("artifacts"));this.container.appendChild(t),this.artifactGroup||(this.artifactGroup=new c.UIGroup(this.j),this.artifactGroup.container.className="jodit-ui-artifact-group"),this.artifactGroup.clear(),this.message.artifacts.forEach(t=>{let i=new s.UIArtifact(this.j,t);this.artifactGroup.append(i)}),t.appendChild(this.artifactGroup.container)}createToolCallElement(t){let i=this.j.c.div(this.getFullElName("tool-call"));i.setAttribute("data-tool-id",t.id),i.setAttribute("data-status",t.status);let n=this.j.c.div(this.getFullElName("tool-header")),r=this.j.c.div(this.getFullElName("tool-icon"));r.classList.add(this.getFullElName("tool-icon",t.status,!0)),r.textContent="⚡";let o=this.j.c.div(this.getFullElName("tool-name"));o.textContent=this.j.i18n(t.name);let s=this.j.c.div(this.getFullElName("tool-status"));s.textContent=this.getToolStatusText(t.status||"unknown"),n.appendChild(r),n.appendChild(o),n.appendChild(s),i.appendChild(n);let a=this.createExpandableSection("Arguments",JSON.stringify(t.arguments||{},null,2));if(i.appendChild(a),t.result){let n=t.result.error?`Error: ${t.result.error}`:t.result.result||"",r=this.createExpandableSection("Result","string"==typeof n?n:JSON.stringify(n,null,2));i.appendChild(r)}return i}createExpandableSection(t,i){let n=this.j.c.div(this.getFullElName("tool-expandable")),r=this.j.c.element("button",{type:"button",class:this.getFullElName("tool-expandable-toggle")});r.textContent=`▶ ${this.j.i18n(t)}`;let o=this.j.c.element("pre",{class:this.getFullElName("tool-expandable-content")});return o.textContent=i,o.style.display="none",this.j.e.on(r,"click",()=>{"none"!==o.style.display?(o.style.display="none",r.textContent=`▶ ${this.j.i18n(t)}`):(o.style.display="block",r.textContent=`▼ ${this.j.i18n(t)}`)}),n.appendChild(r),n.appendChild(o),n}getToolStatusText(t){return({pending:"⏳",approved:"✓",denied:"✕",executing:"⚡",executed:"✓",error:"⚠"})[t]||"●"}formatMessageContent(t){return(0,this.opts.formatMessageContent)(t,this.message.role,this.j.i18n.bind(this.j))}formatTimestamp(t){return(0,this.opts.formatTimestamp)(t,this.j.i18n.bind(this.j))}updateMessage(t){this.message=t,this.updateContent()}destruct(){var t,i,n;null==(t=this.actionsButton)||t.destruct(),null==(i=this.contextMenu)||i.destruct(),null==(n=this.artifactGroup)||n.destruct(),super.destruct()}constructor(t,i,n){super(t),(0,r._)(this,"message",void 0),(0,r._)(this,"opts",void 0),(0,r._)(this,"artifactGroup",void 0),(0,r._)(this,"actionsButton",void 0),(0,r._)(this,"contextMenu",void 0),this.message=i,this.opts=n,this.artifactGroup=null,this.actionsButton=null,this.contextMenu=null}}(0,o.__decorate)([(0,a.hook)("ready")],h.prototype,"onReady",null),h=(0,o.__decorate)([a.component],h)},51586:function(t,i,n){"use strict";n.d(i,{applyStylesPro:function(){return u}});var r=n(19606),o=n(2748),s=n(29960),a=n(76078),l=n(97420);function u(t,i,n,c=""){let d=document.createElement("iframe");d.style.display="none",document.body.appendChild(d);try{var h,p;let o=null!=(h=d.contentDocument)?h:null==(p=d.contentWindow)?void 0:p.document;if(!o)return i;o.open(),o.write(i),o.close();let u="jd-style";for(let t=0;t<o.styleSheets.length;t+=1)try{let i=o.styleSheets[t].cssRules;for(let t=0;t<i.length;t+=1)i[t].selectorText&&(0,a.$$)(i[t].selectorText,o.body).forEach(n=>{(0,s.attr)(n,u)||((0,s.attr)(n,u,(0,s.attr)(n,"style")||""),(0,s.attr)(n,"style","")),(0,s.attr)(n,"style",`${(0,s.attr)(n,"style")};${i[t].style.cssText}`)})}catch(t){}return(0,a.$$)(`[${u}]`,o.body).forEach(t=>{(0,s.attr)(t,"style",`${(0,s.attr)(t,"style")};${(0,s.attr)(t,u)}`)}),(0,r.transformWordToHtml)(t,l.JElement.make(o.body),n,c)}finally{o.Dom.safeRemove(d)}}},51642:function(t,i,n){"use strict";n.d(i,{readAlign:function(){return o}});var r=n(41180);function o(t,i){t.style.cssFloat&&-1!==["left","right"].indexOf(t.style.cssFloat.toLowerCase())?i.align=(0,r.css)(t,"float"):"block"===(0,r.css)(t,"display")&&"auto"===t.style.marginLeft&&"auto"===t.style.marginRight?i.align="center":i.align=""}},51804:function(t,i,n){"use strict";n.r(i),i.default={symbols:"symbool"}},51834:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"Altezza linea"}},51855:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M176 223q-37-2-45-4l-3-88q13-1 40-1 60 0 112 4 132 7 166 7 86 0 168-3 116-4 146-5 56 0 86-2l-1 14 2 64v9q-60 9-124 9-60 0-79 25-13 14-13 132 0 13 .5 32.5t.5 25.5l1 229 14 280q6 124 51 202 35 59 96 92 88 47 177 47 104 0 191-28 56-18 99-51 48-36 65-64 36-56 53-114 21-73 21-229 0-79-3.5-128t-11-122.5-13.5-159.5l-4-59q-5-67-24-88-34-35-77-34l-100 2-14-3 2-86h84l205 10q76 3 196-10l18 2q6 38 6 51 0 7-4 31-45 12-84 13-73 11-79 17-15 15-15 41 0 7 1.5 27t1.5 31q8 19 22 396 6 195-15 304-15 76-41 122-38 65-112 123-75 57-182 89-109 33-255 33-167 0-284-46-119-47-179-122-61-76-83-195-16-80-16-237v-333q0-188-17-213-25-36-147-39zm1488 1409v-64q0-14-9-23t-23-9h-1472q-14 0-23 9t-9 23v64q0 14 9 23t23 9h1472q14 0 23-9t9-23z"/> </svg> '},52230:function(t,i){"use strict";i.default={"copy-format":"복사 형식"}},52285:function(t,i){"use strict";i.default={"copy-format":"کپی کردن قالب"}},52507:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24" > <circle cx="12" cy="12" r="2.2"/> <circle cx="12" cy="5" r="2.2"/> <circle cx="12" cy="19" r="2.2"/> </svg> '},52604:function(t,i,n){"use strict";n.d(i,{Snapshot:function(){return a}});var r=n(91907),o=n(82758),s=n(2748);class a extends r.ViewComponent{className(){return"Snapshot"}static equal(t,i){return t.html===i.html&&JSON.stringify(t.range)===JSON.stringify(i.range)}static countNodesBeforeInParent(t){if(!t.parentNode)return 0;let i=t.parentNode.childNodes,n=0,r=null;for(let o=0;o<i.length;o+=1){if(!r||this.isIgnoredNode(i[o])||s.Dom.isText(r)&&s.Dom.isText(i[o])||(n+=1),i[o]===t)return n;r=i[o]}return 0}static strokeOffset(t,i){for(;s.Dom.isText(t);)t=t.previousSibling,s.Dom.isText(t)&&t.nodeValue&&(i+=t.nodeValue.length);return i}calcHierarchyLadder(t){let i=[];if(!t||!t.parentNode||!s.Dom.isOrContains(this.j.editor,t))return[];for(;t&&t!==this.j.editor;)t&&!a.isIgnoredNode(t)&&i.push(a.countNodesBeforeInParent(t)),t=t.parentNode;return i.reverse()}getElementByLadder(t){let i=this.j.editor,n;for(n=0;i&&n<t.length;n+=1)i=i.childNodes[t[n]];return i}get isBlocked(){return this.__isBlocked}__block(t){this.__isBlocked=t}transaction(t){this.__block(!0),this.__levelOfTransaction+=1;try{t()}catch(t){if(!o.IS_PROD)throw t}finally{this.__levelOfTransaction-=1,0===this.__levelOfTransaction&&this.__block(!1)}}make(){let t={html:"",range:{startContainer:[],startOffset:0,endContainer:[],endOffset:0}};t.html=this.__getCleanedEditorValue(this.j.editor);let i=this.j.s.sel;if(i&&i.rangeCount){let n=i.getRangeAt(0),r=this.calcHierarchyLadder(n.startContainer),o=this.calcHierarchyLadder(n.endContainer),s=a.strokeOffset(n.startContainer,n.startOffset),l=a.strokeOffset(n.endContainer,n.endOffset);r.length||n.startContainer===this.j.editor||(s=0),o.length||n.endContainer===this.j.editor||(l=0),t.range={startContainer:r,startOffset:s,endContainer:o,endOffset:l}}return t}restore(t){this.transaction(()=>{let i=this.storeScrollState();this.__getCleanedEditorValue(this.j.editor)!==t.html&&(this.j.value=t.html),this.restoreOnlySelection(t),this.restoreScrollState(i)})}storeScrollState(){return[this.j.ow.scrollY,this.j.editor.scrollTop]}restoreScrollState(t){let{j:i}=this,{ow:n}=i;n.scrollTo(n.scrollX,t[0]),i.editor.scrollTop=t[1]}restoreOnlySelection(t){try{if(t.range){let i=this.j.ed.createRange();i.setStart(this.getElementByLadder(t.range.startContainer),t.range.startOffset),i.setEnd(this.getElementByLadder(t.range.endContainer),t.range.endOffset),this.j.s.selectRange(i)}}catch(t){this.j.editor.lastChild&&this.j.s.setCursorAfter(this.j.editor.lastChild),o.IS_PROD}}destruct(){this.__block(!1),super.destruct()}static isIgnoredNode(t){return s.Dom.isText(t)&&!t.nodeValue||s.Dom.isTemporary(t)}__getCleanedEditorValue(t){let i=t.cloneNode(!0);return s.Dom.temporaryList(i).forEach(s.Dom.unwrap),i.innerHTML}constructor(){super(...arguments),this.__isBlocked=!1,this.__levelOfTransaction=0}}},52742:function(t,i,n){"use strict";function r(t){return null!=t&&t===t.window}n.d(i,{isWindow:function(){return r}})},52826:function(t,i,n){"use strict";n.r(i),n.d(i,{description:function(){return o},name:function(){return r},parameters:function(){return s},requiresPermission:function(){return a}});let r="readSelection",o="Get information about the current selection including HTML content and optional context",s=[{name:"contextCharsBefore",type:"number",description:"Number of characters to include before the selection",required:!1,default:0},{name:"contextCharsAfter",type:"number",description:"Number of characters to include after the selection",required:!1,default:0}],a=!1},52951:function(t,i,n){"use strict";var r=n(82758),o=n(65478),s=n(2748),a=n(580),l=n(21537),u=n(50911);n(36204);var c=n(70022),d=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class h extends u.Plugin{onInsertHTML(t){var i;if(!this.j.o.readonly&&!this.j.isEditorMode())return null==(i=this.sourceEditor)||i.insertRaw(t),this.toWYSIWYG(),!1}fromWYSIWYG(t=!1){if(!this.__lock||!0===t){this.__lock=!0;let t=this.j.getEditorValue(!1,r.SOURCE_CONSUMER);t!==this.getMirrorValue()&&this.setMirrorValue(t),this.__lock=!1}}toWYSIWYG(){if(this.__lock)return;let t=this.getMirrorValue();t!==this.__oldMirrorValue&&(this.__lock=!0,this.j.value=t,this.__lock=!1,this.__oldMirrorValue=t)}getNormalPosition(t,i){for(i=i.replace(/<(script|style|iframe)[^>]*>[^]*?<\/\1>/im,t=>{let i="";for(let n=0;n<t.length;n+=1)i+=r.INVISIBLE_SPACE;return i});t>0&&i[t]===r.INVISIBLE_SPACE;)t--;let n=t;for(;n>0;){if("<"===i[--n]&&void 0!==i[n+1]&&i[n+1].match(/[\w/]+/i))return n;if(">"===i[n])break}return t}clnInv(t){return t.replace(r.INVISIBLE_SPACE_REG_EXP(),"")}onSelectAll(t){var i;if("selectall"===t.toLowerCase()&&this.j.getRealMode()===r.MODE_SOURCE)return null==(i=this.sourceEditor)||i.selectAll(),!1}getMirrorValue(){var t;return(null==(t=this.sourceEditor)?void 0:t.getValue())||""}setMirrorValue(t){var i;null==(i=this.sourceEditor)||i.setValue(t)}setFocusToMirror(){var t;null==(t=this.sourceEditor)||t.focus()}saveSelection(){if(this.j.getRealMode()===r.MODE_WYSIWYG)this.j.s.save(),this.j.synchronizeValues(),this.fromWYSIWYG(!0);else{if(this.j.o.editHTMLDocumentMode)return;let t=this.getMirrorValue();if(this.getSelectionStart()===this.getSelectionEnd()){let i=this.j.s.marker(!0),n=this.getNormalPosition(this.getSelectionStart(),this.getMirrorValue());this.setMirrorValue(t.substring(0,n)+this.clnInv(i.outerHTML)+t.substring(n))}else{let i=this.j.s.marker(!0),n=this.j.s.marker(!1),r=this.getNormalPosition(this.getSelectionStart(),t),o=this.getNormalPosition(this.getSelectionEnd(),t);this.setMirrorValue(t.slice(0,r)+this.clnInv(i.outerHTML)+t.slice(r,o)+this.clnInv(n.outerHTML)+t.slice(o))}this.toWYSIWYG()}}removeSelection(){if(this.j.getRealMode()===r.MODE_WYSIWYG){this.__lock=!0,this.j.s.restore(),this.__lock=!1;return}let t=this.getMirrorValue(),i=0,n=0;try{if(t=t.replace(/<span[^>]+data-jodit-selection_marker=(["'])start\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerStart).replace(/<span[^>]+data-jodit-selection_marker=(["'])end\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerEnd),!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){let i=this.j.e.fire("beautifyHTML",t);(0,l.isString)(i)&&(t=i)}if(n=i=t.indexOf(this.tempMarkerStart),t=t.replace(this.tempMarkerStartReg,""),-1!==i){let i=t.indexOf(this.tempMarkerEnd);-1!==i&&(n=i)}t=t.replace(this.tempMarkerEndReg,"")}finally{t=t.replace(this.tempMarkerEndReg,"").replace(this.tempMarkerStartReg,"")}this.setMirrorValue(t),this.setMirrorSelectionRange(i,n),this.toWYSIWYG(),this.setFocusToMirror()}setMirrorSelectionRange(t,i){var n;null==(n=this.sourceEditor)||n.setSelectionRange(t,i)}onReadonlyReact(){var t;null==(t=this.sourceEditor)||t.setReadOnly(this.j.o.readonly)}afterInit(t){if(this.mirrorContainer=t.c.div("jodit-source"),t.workplace.appendChild(this.mirrorContainer),t.e.on("afterAddPlace changePlace afterInit",()=>{t.workplace.appendChild(this.mirrorContainer)}),this.sourceEditor=(0,c.createSourceEditor)("area",t,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG),t.e.on(t.ow,"keydown",t=>{var i;t.key===r.KEY_ESC&&(null==(i=this.sourceEditor)?void 0:i.isFocused)&&this.sourceEditor.blur()}),this.onReadonlyReact(),t.e.on("placeholder.source",t=>{var i;null==(i=this.sourceEditor)||i.setPlaceHolder(t)}).on("change.source",this.syncValueFromWYSIWYG).on("beautifyHTML",t=>t),t.o.beautifyHTML){let i=()=>{var i;if(t.isInDestruct)return!1;let n=t.ow.html_beautify;return!!n&&!t.isInDestruct&&(null==(i=t.events)||i.off("beautifyHTML").on("beautifyHTML",t=>n(t)),!0)};i()||(0,l.loadNext)(t,t.o.beautifyHTMLCDNUrlsJS).then(i,()=>null)}this.syncValueFromWYSIWYG(!0),this.initSourceEditor(t)}syncValueFromWYSIWYG(t=!1){let i=this.j;(i.getMode()===r.MODE_SPLIT||i.getMode()===r.MODE_SOURCE)&&this.fromWYSIWYG(t)}initSourceEditor(t){var i;if("area"!==t.o.sourceEditor){let i=(0,c.createSourceEditor)(t.o.sourceEditor,t,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG);i.onReadyAlways(()=>{var n,r;null==(n=this.sourceEditor)||n.destruct(),this.sourceEditor=i,this.syncValueFromWYSIWYG(!0),null==(r=t.events)||r.fire("sourceEditorReady",t)})}else null==(i=this.sourceEditor)||i.onReadyAlways(()=>{var i;this.syncValueFromWYSIWYG(!0),null==(i=t.events)||i.fire("sourceEditorReady",t)})}beforeDestruct(){this.sourceEditor&&(this.sourceEditor.destruct(),delete this.sourceEditor),s.Dom.safeRemove(this.mirrorContainer)}constructor(){super(...arguments),this.buttons=[{name:"source",group:"source"}],this.__lock=!1,this.__oldMirrorValue="",this.tempMarkerStart="{start-jodit-selection}",this.tempMarkerStartReg=/{start-jodit-selection}/g,this.tempMarkerEnd="{end-jodit-selection}",this.tempMarkerEndReg=/{end-jodit-selection}/g,this.getSelectionStart=()=>{var t,i;return null!=(i=null==(t=this.sourceEditor)?void 0:t.getSelectionStart())?i:0},this.getSelectionEnd=()=>{var t,i;return null!=(i=null==(t=this.sourceEditor)?void 0:t.getSelectionEnd())?i:0}}}d([(0,o.watch)(":insertHTML.source")],h.prototype,"onInsertHTML",null),d([o.autobind],h.prototype,"fromWYSIWYG",null),d([o.autobind],h.prototype,"toWYSIWYG",null),d([o.autobind],h.prototype,"getNormalPosition",null),d([(0,o.watch)(":beforeCommand.source")],h.prototype,"onSelectAll",null),d([(0,o.watch)(":beforeSetMode.source")],h.prototype,"saveSelection",null),d([(0,o.watch)(":afterSetMode.source")],h.prototype,"removeSelection",null),d([o.autobind],h.prototype,"setMirrorSelectionRange",null),d([(0,o.watch)(":readonly.source")],h.prototype,"onReadonlyReact",null),d([o.autobind],h.prototype,"syncValueFromWYSIWYG",null),a.pluginSystem.add("source",h)},52968:function(t,i,n){"use strict";n.d(i,{AceEditor:function(){return r.AceEditor},TextAreaEditor:function(){return o.TextAreaEditor}});var r=n(60031),o=n(7483)},52995:function(t,i){"use strict";i.default={"Type something":"Begin met typen..",Advanced:"Geavanceerd","About Jodit":"Over Jodit","Jodit Editor":"Jodit Editor","Free Non-commercial Version":"Gratis niet-commerci\xeble versie","Jodit User's Guide":"Jodit gebruikershandleiding","contains detailed help for using":"bevat gedetailleerde informatie voor gebruik.","For information about the license, please go to our website:":"Voor informatie over de licentie, ga naar onze website:","Buy full version":"Volledige versie kopen","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Alle rechten voorbehouden.",Anchor:"Anker","Open in new tab":"Open in nieuwe tab","Open in fullsize":"Editor in volledig scherm openen","Clear Formatting":"Opmaak verwijderen","Fill color or set the text color":"Vulkleur of tekstkleur aanpassen",Redo:"Opnieuw",Undo:"Ongedaan maken",Bold:"Vet",Italic:"Cursief","Insert Unordered List":"Geordende list invoegen","Insert Ordered List":"Ongeordende lijst invoegen","Align Center":"Centreren","Align Justify":"Uitlijnen op volledige breedte","Align Left":"Links uitlijnen","Align Right":"Rechts uitlijnen","Insert Horizontal Line":"Horizontale lijn invoegen","Insert Image":"Afbeelding invoegen","Insert file":"Bestand invoegen","Insert youtube/vimeo video":"Youtube/Vimeo video invoegen","Insert link":"Link toevoegen","Font size":"Tekstgrootte","Font family":"Lettertype","Insert format block":"Format blok invoegen",Normal:"Normaal","Heading 1":"Koptekst 1","Heading 2":"Koptekst 2","Heading 3":"Koptekst 3","Heading 4":"Koptekst 4",Quote:"Citaat",Code:"Code",Insert:"Invoegen","Insert table":"Tabel invoegen","Decrease Indent":"Inspringing verkleinen","Increase Indent":"Inspringing vergroten","Select Special Character":"Symbool selecteren","Insert Special Character":"Symbool invoegen","Paint format":"Opmaak kopieren","Change mode":"Modus veranderen",Margins:"Marges",top:"Boven",right:"Rechts",bottom:"Onder",left:"Links",Styles:"CSS styles",Classes:"CSS classes",Align:"Uitlijning",Right:"Rechts",Center:"Gecentreerd",Left:"Links","--Not Set--":"--Leeg--",Src:"Src",Title:"Titel",Alternative:"Alternatieve tekst",Link:"Link","Open link in new tab":"Link in nieuwe tab openen",Image:"Afbeelding",file:"Bestand","Image properties":"Afbeeldingseigenschappen",Cancel:"Annuleren",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Deze code lijkt op HTML. Als HTML behouden?","Paste as HTML":"Invoegen als HTML",Keep:"Origineel behouden",Clean:"Opschonen","Insert as Text":"Als tekst invoegen","Word Paste Detected":"Word-tekst gedetecteerd","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"De geplakte tekst is afkomstig van een Microsoft Word/Excel document. Wil je de opmaak behouden of opschonen?","Insert only Text":"Als onopgemaakte tekst invoegen","File Browser":"Bestandsbrowser","Error on load list":"Fout bij het laden van de lijst","Error on load folders":"Fout bij het laden van de mappenlijst","Are you sure?":"Weet je het zeker?","Enter Directory name":"Geef de map een naam","Create directory":"Map aanmaken","type name":"Type naam","Drop image":"Sleep hier een afbeelding naartoe","Drop file":"Sleep hier een bestand naartoe","or click":"of klik","Alternative text":"Alternatieve tekst",Browse:"Bladeren",Upload:"Uploaden",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\xfcploadet!",palette:"Palette","There are no files":"Er zijn geen bestanden in deze map.",Rename:"Hernoemen","Enter new name":"Voer een nieuwe naam in",preview:"Voorvertoning",download:"Download","Paste from clipboard":"Plakken van klembord","Your browser doesn't support direct access to the clipboard.":"Uw browser ondersteunt geen directe toegang tot het klembord.","Copy selection":"Selectie kopi\xebren",copy:"kopi\xebren","Border radius":"Border radius","Show all":"Toon alle",Apply:"Toepassen","Please fill out this field":"Vul dit veld in","Please enter a web address":"Voer een webadres in",Default:"Standaard",Circle:"Cirkel",Dot:"Punt",Quadrate:"Kwadraat",Find:"Zoeken","Find Previous":"Vorige Zoeken","Find Next":"Volgende Zoeken","Insert className":"Voeg de klassenaam in","Press Alt for custom resizing":"Druk op Alt voor aangepaste grootte","License: %s":"Licentie: %s"}},53014:function(t,i,n){"use strict";n.d(i,{applyTheme:function(){return s}});let r=["jodit_theme_dark","jodit-ai-assistant-pro_theme_dark","jodit-dialog_theme_dark"],o=["jodit_theme_light","jodit-ai-assistant-pro_theme_light","jodit-dialog_theme_light"];function s(t,i,n,s,a){let l;if(null==s||s.classList.remove(...r),null==s||s.classList.remove(...o),"dialog"===n){let t=null==a?void 0:a.container;null==t||t.classList.remove(...r),null==t||t.classList.remove(...o)}if(l="dark"===i?r:o,null==s||s.classList.add(...l),"dialog"===n){let t=null==a?void 0:a.container;null==t||t.classList.add(...l)}}},53121:function(t){t.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M19,21H5a2,2,0,0,1-2-2V17a1,1,0,0,1,2,0v2H19V17a1,1,0,0,1,2,0v2A2,2,0,0,1,19,21Z"/> <path d="M18,5H6A1,1,0,0,1,6,3H18a1,1,0,0,1,0,2Z"/> <path d="M15.71,10.29l-3-3a1,1,0,0,0-.33-.21,1,1,0,0,0-.76,0,1,1,0,0,0-.33.21l-3,3a1,1,0,0,0-.21,1.09A1,1,0,0,0,9,12h2v3a1,1,0,0,0,2,0V12h2a1,1,0,0,0,.92-.62A1,1,0,0,0,15.71,10.29Z"/> </svg>'},53189:function(t){t.exports={"Show Blocks":"Zeigen Bl\xf6cke"}},53212:function(t,i,n){"use strict";n.d(i,{cleanFromWord:function(){return l}});var r=n(82758),o=n(2748),s=n(4510),a=n(49055);function l(t){-1!==t.indexOf("<html ")&&(t=(t=t.substring(t.indexOf("<html "),t.length)).substring(0,t.lastIndexOf("</html>")+7));let i="";try{let n=r.globalDocument.createElement("div");n.innerHTML=t;let a=[];n.firstChild&&o.Dom.each(n,t=>{if(t)switch(t.nodeType){case Node.ELEMENT_NODE:switch(t.nodeName){case"STYLE":case"LINK":case"META":a.push(t);break;case"W:SDT":case"W:SDTPR":case"FONT":o.Dom.unwrap(t);break;default:(0,s.toArray)(t.attributes).forEach(i=>{-1===["src","href","rel","content"].indexOf(i.name.toLowerCase())&&t.removeAttribute(i.name)})}break;case Node.TEXT_NODE:break;default:a.push(t)}}),o.Dom.safeRemove.apply(null,a),i=n.innerHTML}catch(t){}return i&&(t=i),(t=t.split(/(\n)/).filter(a.trim).join("\n")).replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,"")}},53213:function(t,i,n){"use strict";n.d(i,{persistent:function(){return s}});var r=n(78213),o=n(39955);function s(t,i){t.hookStatus(r.STATUSES.ready,t=>{let n=(0,o.isViewObject)(t)?t:t.jodit,r=`${n.options.namespace}${t.componentName}_prop_${i}`,s=t[i];Object.defineProperty(t,i,{get(){var t;return null!=(t=n.storage.get(r))?t:s},set(t){n.storage.set(r,t)}})})}},53259:function(t,i){"use strict";i.default='<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:function(t,i,n){"use strict";n.d(i,{htmlspecialchars:function(){return o}});var r=n(82758);function o(t){let i=r.globalDocument.createElement("div");return i.textContent=t,i.innerHTML}},53361:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"Sprawdzanie pisowni"}},53392:function(t,i,n){"use strict";n.d(i,{removeEmptyTextNode:function(){return o}});var r=n(2748);function o(t,i,n,o,s,a){return r.Dom.isText(i)&&!i.nodeValue?(i===a&&t.s.isCollapsed()&&t.s.setCursorAfter(i),r.Dom.safeRemove(i),!0):n}},53437:function(t,i,n){"use strict";n.r(i),i.default={symbols:"Symbol"}},53454:function(t,i,n){"use strict";n.d(i,{onChangeGeometries:function(){return l}});var r=n(56075),o=n(11886),s=n(72690),a=n(67912);function l(t,i){var n,l,u,c;switch(t.type){case"polyline":case"polygon":{let n=(0,a.pathToArray)(t.gme.getPath()),l=(0,o._)((0,r._)({},t.state),{coordinates:n});s.updateStateAndGme.call(this,l,i,!0);break}case"marker":{let a=t.gme.getPosition(),u=(0,o._)((0,r._)({},t.state),{coordinates:[null!=(n=null==a?void 0:a.lat())?n:0,null!=(l=null==a?void 0:a.lng())?l:0]});s.updateStateAndGme.call(this,u,i,!0);break}case"circle":{let n=t.gme.getCenter(),a=(0,o._)((0,r._)({},t.state),{radius:t.gme.getRadius(),coordinates:[null!=(u=null==n?void 0:n.lat())?u:0,null!=(c=null==n?void 0:n.lng())?c:0]});s.updateStateAndGme.call(this,a,i,!0)}}}},53585:function(t,i,n){"use strict";n.d(i,{convertStyleUnitToPixels:function(){return o}});var r=n(43712);let o=(t,{jodit:i})=>{if(!i.o.pasteFromWord.convertUnitsToPixel)return t;let{style:n}=t;return n.forEach(t=>{let i=n.get(t);i&&n.set(t,i.toString().replace(/\d+(\.\d+)?(pt|cm)/g,t=>(0,r.convertUnitToPx)(t)+"px"))}),t}},53586:function(t,i,n){"use strict";n(6441).Config.prototype.autocomplete={sources:[],maxItems:50,isMatchedQuery:(t,i)=>0===i.toLowerCase().indexOf(t.toLowerCase()),itemRenderer:t=>{var i;return null!=(i=t.title)?i:t.value},insertValueRenderer:t=>t.value+"&nbsp;"}},53636:function(t,i,n){"use strict";n.d(i,{openImageEditorDialog:function(){return a}});var r=n(70799),o=n(29960),s=n(50050);function a(t,i){let n=(0,o.attr)(i.image,"src")||"",a=t.c.element("a"),l=()=>{if(a.host!==location.host)return void t.confirm("You can only edit your own images. Download this image on the host?",n=>{n&&t.uploader&&t.uploader.uploadRemoteImage(a.href.toString(),n=>{t.alert("The image has been successfully uploaded to the host!",()=>{(0,r.isString)(n.newfilename)&&(i.values.imageSrc=n.baseurl+n.newfilename)})},i=>{t.alert("There was an error loading %s",i.message)})})};a.href=n,t.filebrowser.dataProvider.getPathByUrl(a.href.toString()).then(r=>{s.openImageEditor.call(t.filebrowser,a.href,r.name,r.path,r.source,()=>{let t=new Date().getTime();i.values.imageSrc=n+(-1!==n.indexOf("?")?"":"?")+"&_tmp="+t.toString()},i=>{t.alert(i.message)})}).catch(i=>{t.alert(i.message,l)})}},53650:function(t,i,n){"use strict";n.r(i),i.default={symbols:"symbol"}},53651:function(t,i){"use strict";i.default='<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:function(t,i){"use strict";i.default='<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> '},53822:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"Высота линии"}},53835:function(t,i,n){"use strict";n.d(i,{BUILT_IN_TOOLS:function(){return p},getToolNames:function(){return f}});var r=n(39296),o=n(16745),s=n(78717),a=n(5618),l=n(90991),u=n(2020),c=n(12570),d=n(95323),h=n(97603);let p={readDocument:a.default,readBlocks:s.default,readSelection:l.default,writeDocument:h.default,replaceSelection:d.default,replaceBlock:u.default,replaceInDocument:c.default,insertHTML:o.default,applyFormat:r.default};function f(){return Object.keys(p)}},54023:function(t){t.exports={"Show Blocks":"Показать Блоки"}},54041:function(t,i,n){"use strict";n.d(i,{getBlockWrapper:function(){return function t(i,n,s=r.IS_BLOCK){let a=i,l=n.editor;do{if(!a||a===l)break;if(s.test(a.nodeName)){if(o.Dom.isLeaf(a))return a;return t(a.parentNode,n,/^li$/i)||a}a=a.parentNode}while(a&&a!==l);return null}}});var r=n(82758),o=n(2748)},54076:function(t,i,n){"use strict";function r(t,i){let[n,r]=i.split("::");t.execCommand(n,null,r)}n.d(i,{execSpellCommand:function(){return r}})},54079:function(t,i,n){"use strict";n.d(i,{Ajax:function(){return h}});var r=n(8884),o=n(82758),s=n(45219),a=n(21537),l=n(89890),u=n(6441);n(57459);var c=n(98582);function d(t,i,n,r,o,s,a){try{var l=t[s](a),u=l.value}catch(t){n(t);return}l.done?i(u):Promise.resolve(u).then(r,o)}class h{className(){return"Ajax"}__buildParams(t,i){return(0,a.isPlainObject)(t)&&this.options.contentType&&this.options.contentType.includes("application/json")?JSON.stringify(t):(0,a.isFunction)(this.o.queryBuild)?this.o.queryBuild.call(this,t,i):(0,a.isString)(t)||t instanceof o.globalWindow.FormData||"object"==typeof t&&null!=t&&(0,a.isFunction)(t.append)?t:(0,a.buildQuery)(t)}get o(){return this.options}abort(){if(this.__isFulfilled)return this;try{this.__isFulfilled=!0,this.xhr.abort()}catch(t){}return this}send(){this.__activated=!0;let{xhr:t,o:i}=this,n=this.prepareRequest();return this.__async.promise((r,o)=>{var s;return(s=function*(){var s;let u=()=>{this.__isFulfilled=!0,o(l.connection("Connection error"))},d=()=>{this.__isFulfilled=!0,r(new c.Response(n,t.status,t.statusText,!t.responseType?t.responseText:t.response))};t.onload=d,t.onabort=()=>{this.__isFulfilled=!0,o(l.abort("Abort connection"))},t.onerror=u,t.ontimeout=u,i.responseType&&(t.responseType=i.responseType),t.onprogress=t=>{var i,n;let r=0;t.lengthComputable&&(r=t.loaded/t.total*100),null==(n=(i=this.options).onProgress)||n.call(i,r)},t.onreadystatechange=()=>{var n,r;null==(r=(n=this.options).onProgress)||r.call(n,10),t.readyState===XMLHttpRequest.DONE&&(i.successStatuses.includes(t.status)?d():t.statusText&&(this.__isFulfilled=!0,o(l.connection(t.statusText))))},t.withCredentials=null!=(s=i.withCredentials)&&s;let{url:h,data:p,method:f}=n;t.open(f,h,!0),i.contentType&&t.setRequestHeader&&t.setRequestHeader("Content-type",i.contentType);let{headers:m}=i;(0,a.isFunction)(m)&&(m=yield m.call(this)),m&&t.setRequestHeader&&Object.keys(m).forEach(i=>{t.setRequestHeader(i,m[i])}),this.__async.setTimeout(()=>{t.send(p?this.__buildParams(p):void 0)},0)},function(){var t=this,i=arguments;return new Promise(function(n,r){var o=s.apply(t,i);function a(t){d(o,n,r,a,l,"next",t)}function l(t){d(o,n,r,a,l,"throw",t)}a(void 0)})}).call(this)})}prepareRequest(){if(!this.o.url)throw l.error("Need URL for AJAX request");let t=this.o.url,i=this.o.data,n=(this.o.method||"get").toLowerCase();if("get"===n&&i&&(0,a.isPlainObject)(i)){let n=t.indexOf("?");if(-1!==n){let r=(0,a.parseQuery)(t);t=t.substring(0,n)+"?"+(0,a.buildQuery)(function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}({},r,i))}else t+="?"+(0,a.buildQuery)(this.o.data)}let r={url:t,method:n,data:i};return h.log.splice(100),h.log.push(r),r}destruct(){this.__isDestructed||(this.__isDestructed=!0,this.__activated&&!this.__isFulfilled&&(this.abort(),this.__isFulfilled=!0),this.__async.destruct())}constructor(t,i=u.Config.prototype.defaultAjaxOptions){this.__async=new r.Async,this.__isFulfilled=!1,this.__activated=!1,this.__isDestructed=!1,this.options=(0,a.ConfigProto)(t||{},i),this.xhr=this.o.xhr?this.o.xhr():new XMLHttpRequest}}h.log=[],function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);s>3&&a&&Object.defineProperty(i,n,a)}([s.autobind],h.prototype,"destruct",null)},54389:function(t,i,n){"use strict";var r=n(22732),o=n(12153),s=n(6441),a=n(78614),l=n(86835),u=n(302);o.Icon.set("indent",a.default).set("outdent",l.default),s.Config.prototype.controls.indent={tooltip:"Increase Indent"},s.Config.prototype.controls.outdent={isDisabled:t=>{let i=t.s.current();if(i){let n=r.Dom.closest(i,r.Dom.isBlock,t.editor);if(n){let i=(0,u.getKey)(t.o.direction,n);return!n.style[i]||0>=parseInt(n.style[i],10)}}return!0},tooltip:"Decrease Indent"},s.Config.prototype.indentMargin=10},54600:function(t,i,n){"use strict";n.d(i,{splitFragment:function(){return a}});var r=n(2748),o=n(26395),s=n(44245);function a(t,i,n){let a=i.s,{enter:l}=i.o,u=l.toLowerCase(),c=r.Dom.isLeaf(n),d=n.tagName.toLowerCase()===u||c,h=a.cursorOnTheRight(n,t),p=a.cursorOnTheLeft(n,t);if(!d&&(h||p)){h?r.Dom.after(n,t):r.Dom.before(n,t),(0,s.insertParagraph)(t,i,u),p&&!h&&r.Dom.prepend(n,t);return}let f=a.splitSelection(n,t);(0,o.scrollIntoViewIfNeeded)(f,i.editor,i.ed)}},54747:function(t,i,n){"use strict";n.d(i,{UIResize:function(){return s}});var r=n(2748),o=n(41180);class s{static remove(t){t.container.classList.remove("jodit-ui-resize"),r.Dom.safeRemove(t.container.querySelector(".jodit-ui-resize__handle"))}static install(t,i,n={}){var r;t.container.classList.add("jodit-ui-resize"),"static"===(0,o.css)(t.container,"position")&&(0,o.css)(t.container,"position","relative");let s=t.j.c.div("jodit-ui-resize__handle");s.classList.add("jodit-ui-resize__handle_type_"+i),n.handleClassName&&s.classList.add(n.handleClassName),t.container.appendChild(s),t.j.e.on(s,"mousedown touchstart",this.onStartResize.bind(this,t,i,null!=(r=n.onResize)?r:()=>void 0))}static onStartResize(t,i,n,r){let o={x:r.clientX,y:r.clientY,w:t.container.offsetWidth,h:t.container.offsetHeight,direction:i},s=t.j.async.throttle(this.onResize.bind(this,t,o,n),t.j.defaultTimeout/10);t.j.lock(),t.j.e.on(t.j.ow,"mousemove touchmove",s).one(t.j.ow,"mouseup touchend",this.onEndResize.bind(this,t,s))}static onResize(t,i,n,r){let s,a=["left","right"].includes(i.direction),l=t.container.parentElement;l&&(s=a?i.w+(r.clientX-i.x)*("right"===i.direction?1:-1):i.h+(r.clientY-i.y)*("top"===i.direction?-1:1),!0!==(null==n?void 0:n({newSize:s}))&&(0,o.css)(t.container,a?"width":"height",s/(a?l.offsetWidth:l.offsetHeight)*100+"%"))}static onEndResize(t,i,n){t.j.e.off(t.j.ow,"mousemove touchmove",i),t.j.unlock()}}},54765:function(t,i,n){"use strict";n.d(i,{hasBrowserColorPicker:function(){return o}});var r=n(82758);function o(){let t=!0;try{let i=r.globalDocument.createElement("input");i.type="color",i.value="!",t="color"===i.type&&"!"!==i.value}catch(i){t=!1}return t}},55029:function(t,i,n){"use strict";var r=n(17298),o=n(6441);o.Config.prototype.googleMaps={saveStateInStorage:!0,useStaticImage:!1,apiUrl:"https://maps.googleapis.com/maps/api/js?key=${j.o.googleMaps.API_KEY}&libraries=geometry,places,drawing&language=${j.o.language}&callback=JoditGoogleReadyHandler",API_KEY:"AIzaSyDjnR03hxN8fo0QJ85Jkkvk2DALTh3eynY",dialog:{size:[700,700]},inlineEditorOptions:{buttons:["bold","italic","link","brush","fontsize","image"]},map:{type:"roadmap",layer:"default",center:"auto",defaultCenter:[-34.397,150.644],defaultZoom:10,zoom:10,size:[500,400],defaultStates:{polyline:{strokeColor:"#5ba4f3",strokeWeight:3},polygon:{strokeColor:"#417706",fillColor:"#5b9302",strokeWeight:1,fillOpacity:.5},marker:{},text:{},circle:{strokeColor:"#da767c",fillColor:"#f34ca8",strokeWeight:1,fillOpacity:.5}}}},o.Config.prototype.controls.googleMaps={tooltip:"Google Maps",icon:"map",command:r.COMMAND_OPEN_DIALOG};let s=t=>({icon:`edit-${t}`,isActive:i=>i.buffer.get("createMode.gm")===t,exec:i=>{i.e.fire("changeCreateMode.gm",t)}});o.Config.prototype.controls.gm={hand:s("hand"),marker:s("marker"),polyline:s("polyline"),polygon:s("polygon"),circle:s("circle"),text:s("text")}},55099:function(t,i,n){"use strict";var r=n(82758),o=n(12153),s=n(6441),a=n(21597);s.Config.prototype.useSearch=!0,s.Config.prototype.search={lazyIdleTimeout:0,useCustomHighlightAPI:r.globalWindow&&void 0!==r.globalWindow.Highlight},o.Icon.set("search",a.default),s.Config.prototype.controls.find={tooltip:"Find",icon:"search",exec(t,i,{control:n}){switch(n.args&&n.args[0]){case"findPrevious":t.e.fire("searchPrevious");break;case"findNext":t.e.fire("searchNext");break;case"replace":t.execCommand("openReplaceDialog");break;default:t.execCommand("openSearchDialog")}},list:{search:"Find",findNext:"Find Next",findPrevious:"Find Previous",replace:"Replace"},childTemplate:(t,i,n)=>n}},55153:function(t,i,n){"use strict";n.d(i,{derive:function(){return o}});var r=n(23282);function o(...t){return i=>{let n=i.prototype;for(let i=0;i<t.length;i++){let o=t[i],s=Object.getOwnPropertyNames(o.prototype);for(let t=0;t<s.length;t++){let i=s[t],a=Object.getOwnPropertyDescriptor(o.prototype,i);null!=a&&(0,r.isFunction)(a.value)&&!(0,r.isFunction)(n[i])&&Object.defineProperty(n,i,{enumerable:!0,configurable:!0,writable:!0,value:function(...t){return a.value.call(this,...t)}})}}}}},55307:function(t,i,n){"use strict";n.d(i,{states:function(){return d},transactions:function(){return h}});var r=n(82758),o=n(2748),s=n(38837),a=n(63687),l=n(77361);function u(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}function c(t,i){return i=null!=i?i:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):(function(t){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i.push.apply(i,n)}return i})(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))}),t}let d={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"},h={[d.START]:{exec(t){let{element:i,jodit:n,style:r,mode:s,collapsed:h}=t;if((0,a.isInsideInvisibleElement)(i,n.editor)||!h&&o.Dom.isEmptyContent(i))return c(u({},t),{next:d.END});let p=(0,a.getSuitParent)(r,i,n.editor)||(0,a.getSuitChild)(r,i);if(p)return c(u({},t),{next:d.ELEMENT,element:p});let f=(0,a.suitableClosest)(r,i,n.editor);return r.elementIsList&&o.Dom.isList(f)?c(u({},t),{next:d.LIST}):f?c(u({},t),{next:d.EXTRACT}):c(u({},t),{next:s!==l.UNWRAP?d.UNWRAP_CHILDREN:d.END})}},[d.LIST]:{exec(t){let{element:i,jodit:n,mode:s}=t;if(s!==l.INITIAL&&s!==l.UNWRAP&&s!==l.REPLACE)return c(u({},t),{next:d.END});let a=o.Dom.closest(i,"li",n.editor);return a&&o.Dom.closest(i,r.LIST_TAGS,n.editor)?c(u({},t),{element:a,next:d.TOGGLE_LIST}):c(u({},t),{next:d.END})}},[d.TOGGLE_LIST]:{exec(t){return c(u({},t),{mode:(0,a.toggleOrderedList)(t.style,t.element,t.jodit,t.mode),next:d.END})}},[d.EXTRACT]:{exec(t){var i;let{element:n,jodit:r,style:l}=t,h=(0,a.suitableClosest)(l,n,r.editor);return((0,s.assert)(h,"This place should have an element"),!l.elementIsBlock&&(null==(i=l.options.attributes)?void 0:i.style)&&o.Dom.isBlock(h))?c(u({},t),{next:d.WRAP}):(l.elementIsBlock||(0,a.extractSelectedPart)(h,n,r),c(u({},t),{element:h,next:d.ELEMENT}))}},[d.UNWRAP_CHILDREN]:{exec(t){let{element:i,style:n}=t;return(0,a.unwrapChildren)(n,i)?c(u({},t),{mode:l.UNWRAP,next:d.END}):c(u({},t),{next:d.WRAP})}},[d.WRAP]:{exec(t){let{element:i,jodit:n,style:r}=t,o=(0,a.wrap)(r,i,n);return c(u({},t),{next:r.elementIsList?d.END:d.CHANGE,mode:l.WRAP,element:o})}},[d.ELEMENT]:{exec(t){let{style:i,element:n,jodit:r}=t;return(0,a.toggleAttributes)(i,n,r,l.INITIAL,!0)!==l.INITIAL?c(u({},t),{next:d.CHANGE}):o.Dom.isTag(n,i.element)?c(u({},t),{next:d.UNWRAP}):c(u({},t),{next:d.END})}},[d.CHANGE]:{exec(t){let{style:i,element:n,jodit:r,mode:s}=t,h=(0,a.toggleAttributes)(i,n,r,t.mode);return s!==l.WRAP&&h===l.UNSET&&!n.attributes.length&&o.Dom.isTag(n,i.element)?c(u({},t),{next:d.UNWRAP}):c(u({},t),{mode:h,next:d.END})}},[d.UNWRAP]:{exec(t){return t.element.attributes.length&&o.Dom.isTag(t.element,t.style.element)?c(u({},t),{next:d.REPLACE_DEFAULT}):(o.Dom.unwrap(t.element),c(u({},t),{mode:l.UNWRAP,next:d.END}))}},[d.REPLACE_DEFAULT]:{exec(t){return o.Dom.replace(t.element,t.style.defaultTag,t.jodit.createInside,!0),c(u({},t),{mode:l.REPLACE,next:d.END})}},[d.END]:{exec(t){return t}}}},55311:function(t,i,n){"use strict";n(6441).Config.prototype.tableAllowCellSelection=!0},55487:function(t,i,n){"use strict";n.d(i,{ToolRegistry:function(){return l}});var r=n(77688),o=n(82749),s=n(56075),a=n(53835);class l{registerBuiltInTools(t){t.forEach(t=>{let i=a.BUILT_IN_TOOLS[t];i&&this.tools.set(t,i)})}registerCustomTools(t){t.forEach(t=>{this.validateToolDefinition(t),this.tools.set(t.name,t)})}validateToolDefinition(t){if(!t.name||"string"!=typeof t.name)throw Error("Tool must have a valid name");if(!t.description||"string"!=typeof t.description)throw Error(`Tool "${t.name}" must have a description`);if(!Array.isArray(t.parameters))throw Error(`Tool "${t.name}" must have a parameters array`);if("function"!=typeof t.execute)throw Error(`Tool "${t.name}" must have an execute function`);t.parameters.forEach(i=>{if(!i.name||"string"!=typeof i.name)throw Error(`Tool "${t.name}" has a parameter without a valid name`);if(!i.type)throw Error(`Tool "${t.name}" parameter "${i.name}" must have a type`);if("boolean"!=typeof i.required)throw Error(`Tool "${t.name}" parameter "${i.name}" must specify if it's required`)})}getAllTools(){return Array.from(this.tools.values())}getTool(t){return this.tools.get(t)}hasTool(t){return this.tools.has(t)}getToolNames(){return Array.from(this.tools.keys())}executeTool(t,i,n){return(0,r._)(function*(){let r=this.getTool(t);if(!r)throw Error(`Tool "${t}" not found`);let o=this.applyDefaults(r,i);this.validateArguments(r,o);try{return yield r.execute(this.jodit,o,n)}catch(t){if((null==t?void 0:t.name)==="AbortError"||n.aborted)throw Error("Tool execution was aborted");throw t}}).call(this)}validateArguments(t,i){let n=Object.keys(i);for(let i of t.parameters.filter(t=>t.required).map(t=>t.name))if(!n.includes(i))throw Error(`Tool "${t.name}" requires parameter "${i}"`);for(let[n,r]of Object.entries(i)){let i=t.parameters.find(t=>t.name===n);if(!i){this.jodit.o.aiAssistantPro.debug;continue}let o=Array.isArray(r)?"array":"object"==typeof r&&null!=r?"object":typeof r;if(i.type!==o&&!("number"===i.type&&"string"===o&&!isNaN(Number(r))))throw Error(`Tool "${t.name}" parameter "${n}" expects type "${i.type}" but got "${o}"`);if(i.enum&&i.enum.length>0&&!i.enum.includes(r))throw Error(`Tool "${t.name}" parameter "${n}" must be one of: ${i.enum.join(", ")}`)}}applyDefaults(t,i){let n=(0,s._)({},i);for(let i of t.parameters)void 0===n[i.name]&&void 0!==i.default&&(n[i.name]=i.default);return n}destruct(){this.tools.clear()}constructor(t){(0,o._)(this,"jodit",void 0),(0,o._)(this,"tools",void 0),this.jodit=t,this.tools=new Map,this.registerBuiltInTools(t.o.aiAssistantPro.enabledTools||[]),this.registerCustomTools(t.o.aiAssistantPro.customTools||[])}}},55535:function(t,i,n){"use strict";n.d(i,{StateManager:function(){return a}});var r=n(82749),o=n(31635),s=n(65478);class a{getIndex(t,i=this.state.elements){return i.findIndex(i=>i.uniqueHashKey===t.uniqueHashKey)}isActive(t){return!!this.state.activeElements.find(i=>i.uniqueHashKey===t.uniqueHashKey)}isFavorite(t){return!!this.state.favorites.find(i=>i.uniqueHashKey===t.uniqueHashKey)}addActive(t,i){var n;this.state.metaInfo=t,this.state.info=null!=(n=t.file)?n:"",this.state.lastSelectedIndex=this.getIndex(t),this.state.activeElements=i?[...this.state.activeElements,t]:[t]}callSelectHandler(){var t;let i=this.state.activeElements;null==(t=this.state.onSelectCallBack)||t.call(this,{baseurl:"",files:i.map(t=>t.fileURL),isImages:i.map(t=>!!t.isImage)})}setFilter(t){this.state.filterWord=t}toggleFavorite(t){let i=this.getIndex(t,this.state.favorites),n=[...this.state.favorites];-1===i?n.push(t):n.splice(i,1),this.state.favorites=n}fillTreeForPath(t,i){if(!this.state.tree.length||!i||"/"===i){this.state.tree=t.map(c);return}this.removeActive(this.state.tree),t.forEach(t=>{var n;let r=l(this.state.tree,t.name);r||(r=c(t),this.state.tree.push(r)),r.isActive=!0;let o=(n=r,i.split("/").reduce((t,i)=>t&&l(t.children,i),n));o&&(o.isActive=!0,o.children=u(t.folders).map(n=>d(n,i+"/"+n,t.name)))}),this.state.tree=[...this.state.tree]}removeActive(t){t.forEach(t=>{t.isActive=!1,this.removeActive(t.children)})}get isFavoriteItems(){return this.state.favorites===this.state.elements}constructor(t){(0,r._)(this,"state",void 0),this.state=t}}function l(t,i){var n;return null!=(n=t.find(t=>t.name===i))?n:null}function u(t){return t.filter(t=>"."!==t&&".."!==t)}function c(t){return{type:"source",name:t.name,title:t.title,sourceName:t.name,path:"/",children:u(t.folders).map(i=>d(i,i,t.name))}}function d(t,i,n){return{type:"directory",name:t,path:i,sourceName:n,children:[]}}(0,o.__decorate)([s.autobind],a.prototype,"getIndex",null),(0,o.__decorate)([s.autobind],a.prototype,"isActive",null),(0,o.__decorate)([s.autobind],a.prototype,"isFavorite",null)},55611:function(t,i,n){"use strict";n.d(i,{SentenceFinder:function(){return o.SentenceFinder},clearSelectionWrappers:function(){return r.clearSelectionWrappers},clearSelectionWrappersFromHTML:function(){return r.clearSelectionWrappersFromHTML},getSelectionWrappers:function(){return r.getSelectionWrappers},highlightTextRanges:function(){return r.highlightTextRanges}});var r=n(12270),o=n(93119)},55776:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"スペルチェック"}},55790:function(t){t.exports={"AI Assistant":"AI Ассистент","AI Assistant Pro":"AI Ассистент Pro","Welcome to AI Assistant":"Добро пожаловать в AI Ассистент","Start your first conversation":"Начните первый диалог","Tip: Select text in editor to add context":"Подсказка: Выделите текст в редакторе для добавления контекста","New chat":"Новый чат","Search conversations...":"Поиск диалогов...","No conversations yet":"Пока нет диалогов","Ask me anything...":"Спросите меня о чем угодно...","Ask a follow-up...":"Задайте дополнительный вопрос...","Reply...":"Ответить...","Type your message...":"Введите ваше сообщение...",Send:"Отправить",Cancel:"Отмена",Retry:"Повторить",Insert:"Вставить",Copy:"Копировать",Edit:"Редактировать",Delete:"Удалить",New:"Новый",Back:"Назад","Permission Required":"Требуется разрешение",Approve:"Разрешить",Deny:"Отклонить",Once:"Один раз","This conversation":"Этот диалог",Always:"Всегда","The AI wants to execute:":"AI хочет выполнить:","This will modify your document content.":"Это изменит содержимое вашего документа.","Executing...":"Выполняется...","Completed successfully":"Успешно выполнено",Failed:"Ошибка","Pending approval":"Ожидает разрешения","Denied by user":"Отклонено пользователем","Tool Result":"Результат инструмента","Tool Execution Error":"Ошибка выполнения инструмента",Context:"Контекст",Contexts:"Контексты","Add to AI Context":"Добавить в контекст AI",Remove:"Удалить","Clear all":"Очистить все","An error occurred":"Произошла ошибка","Request failed":"Запрос не выполнен","Connection error":"Ошибка соединения","AI Assistant is not configured":"AI Ассистент не настроен","Thinking...":"Думаю...","Generating response...":"Генерирую ответ...",insertHTML:"Вставить HTML",readDocument:"Прочитать документ",readBlock:"Прочитать блок",replaceInDocument:"Заменить в документе",replaceInBlock:"Заменить в блоке",getSelection:"Получить выделение","Just now":"Только что",Conversation:"Диалог","New Conversation":"Новый диалог",Yesterday:"Вчера","Delete conversation":"Удалить диалог","Are you sure you want to delete this conversation?":"Вы уверены, что хотите удалить этот диалог?","Failed to delete conversation":"Не удалось удалить диалог",Settings:"Настройки","General Settings":"Общие настройки","Conversation Settings":"Настройки диалога","Display Mode":"Режим отображения","Panel Width":"Ширина панели",Theme:"Тема",Model:"Модель",Temperature:"Температура",Close:"Закрыть",Dialog:"Модальное окно",Left:"Левая панель",Right:"Правая панель",Top:"Верхняя панель",Bottom:"Нижняя панель",Inherit:"Наследовать от редактора",Light:"Светлая тема",Dark:"Тёмная тема","%dm ago":"%dм назад","%dh ago":"%dч назад"}},55877:function(t,i,n){"use strict";n.d(i,{convertMediaUrlToVideoEmbed:function(){return a}});var r=n(82758),o=n(26049),s=n(82501);let a=(t,{width:i=400,height:n=345}={})=>{if(!(0,o.isURL)(t))return t;let a=r.globalDocument.createElement("a"),l=/(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(.+)/g;a.href=t,i||(i=400),n||(n=345);let u=a.protocol||"";switch(a.hostname){case"www.vimeo.com":case"vimeo.com":return l.test(t)?t.replace(l,'<iframe width="'+i+'" height="'+n+'" src="'+u+'//player.vimeo.com/video/$1" frameborder="0" allowfullscreen></iframe>'):t;case"youtube.com":case"www.youtube.com":case"youtu.be":case"www.youtu.be":{let r=a.search?(0,s.parseQuery)(a.search):{v:a.pathname.substring(1)};return/^embed\/.*/.test(r.v)&&(r.v=r.v.substring(6)),r.v?'<iframe width="'+i+'" height="'+n+'" src="'+u+"//www.youtube.com/embed/"+r.v+'" frameborder="0" allowfullscreen></iframe>':t}}return t}},55885:function(t,i,n){"use strict";n.d(i,{UIWelcomeScreen:function(){return a}});var r=n(31635),o=n(65478),s=n(67510);class a extends s.UIElement{className(){return"UIWelcomeScreen"}render(){return`<div class="&__container">
237
+ </div>`}addResize(){}afterRender(){this.content=this.getElm("content"),this.createComponents(),this.createHeaderButtons(),this.__updateView("welcome")}__onChangeView(){return(0,r._)(function*(){this.__updateView(this.state.currentView,this.state.currentConversation)}).call(this)}createComponents(){this.welcomeScreen=new h.UIWelcomeScreen(this.j),this.conversationList=new a.UIConversationList(this.j,this.options),this.messageList=new u.UIMessageList(this.j,this.options),this.inputArea=new l.UIInputArea(this.j,this.options),this.getElm("footer").appendChild(this.inputArea.container)}createHeaderButtons(){let t=this.getElm("header-left"),i=this.getElm("header-right"),n=new g.UIButton(this.j,{icon:{name:"angle-left"},size:"small",variant:"initial"});n.container.classList.add(this.getFullElName("back-button")),this.j.e.on(n,"click",()=>{this.j.e.fire("backToList.ai-assistant-pro")}),t.appendChild(n.container);let r=new g.UIButton(this.j,{icon:{name:"plus"},size:"small",tooltip:"New chat",variant:"initial"});if(r.container.classList.add(this.getFullElName("new-button")),this.j.e.on(r,"click",()=>{this.j.e.fire("newConversation.ai-assistant-pro")}),i.appendChild(r.container),this.shouldShowSettings()&&(this.settingsButton=new d.UISettingsButton(this.j,this.state,this.options,()=>this.state.currentConversation,this.updateConversation),this.settingsButton.container.classList.add(this.getFullElName("settings-button")),i.appendChild(this.settingsButton.container)),"dialog"===this.mods.displayMode||!1===this.mods.allowClose)return;let o=new g.UIButton(this.j,{icon:{name:"cancel"},size:"small",tooltip:"Close",variant:"initial"});o.container.classList.add(this.getFullElName("close-button")),this.j.e.on(o,"click",()=>{this.j.e.fire("closeAIAssistantPro.ai-assistant-pro")}),i.appendChild(o.container)}isFlightMode(){return"flight"===this.mods.displayMode}shouldShowSettings(){let t=this.options,i=t.allowEditDisplayMode||t.allowEditPanelWidth,n=t.allowEditDialogSettings;return i||n}__updateView(t,i=null){var n;null==(n=this.settingsButton)||n.update();let r=this.getElm("header-title");this.setMod("view",t);let o=this.isFlightMode();switch(t){case"welcome":r.textContent=this.j.i18n("AI Assistant"),f.Dom.safeRemove(this.conversationList.container),f.Dom.safeRemove(this.messageList.container),this.content.appendChild(this.welcomeScreen.container),this.inputArea.focus();break;case"conversationList":r.textContent=this.j.i18n("AI Assistant"),f.Dom.safeRemove(this.welcomeScreen.container),f.Dom.safeRemove(this.messageList.container),this.conversationList.container.isConnected||this.content.appendChild(this.conversationList.container);break;case"conversation":r.textContent=o?this.j.i18n("AI Assistant"):(null==i?void 0:i.title)||this.j.i18n("Conversation"),f.Dom.safeRemove(this.welcomeScreen.container),f.Dom.safeRemove(this.conversationList.container),this.messageList.container.isConnected||this.content.appendChild(this.messageList.container),i&&this.messageList.setMessages(i.messages),this.inputArea.focus()}}onChangeCurrentConversation(){let{currentConversation:t}=this.state;t&&(this.conversationList.setActiveConversation(t.id),this.messageList.setMessages(t.messages))}onChangeConversations(){this.conversationList.setConversations(this.state.conversations)}onChangeSelectionContexts(){this.inputArea.setContexts(this.state.selectionContexts)}onChangeLoading(){this.inputArea.setLoading(this.state.isLoading)}onChangePendingToolCalls(){this.state.pendingToolCalls&&this.state.pendingToolCalls.length>0?this.showPermissionRequest(this.state.pendingToolCalls[0]):this.hidePermissionRequest()}showPermissionRequest(t){this.permissionRequest||(this.permissionRequest=new c.UIPermissionRequest(this.j,this.options)),this.permissionRequest.setToolCall(t);let i=this.getElm("footer");i.contains(this.permissionRequest.container)||i.insertBefore(this.permissionRequest.container,this.inputArea.container)}hidePermissionRequest(){this.permissionRequest&&this.permissionRequest.container.parentNode&&this.permissionRequest.container.parentNode.removeChild(this.permissionRequest.container)}destruct(){var t,i,n,r,o,s;null==(t=this.welcomeScreen)||t.destruct(),null==(i=this.conversationList)||i.destruct(),null==(n=this.messageList)||n.destruct(),null==(r=this.inputArea)||r.destruct(),null==(o=this.permissionRequest)||o.destruct(),null==(s=this.settingsButton)||s.destruct(),super.destruct()}constructor(t,i,n,r){super(t),(0,o._)(this,"state",void 0),(0,o._)(this,"options",void 0),(0,o._)(this,"updateConversation",void 0),(0,o._)(this,"permissionRequest",void 0),(0,o._)(this,"settingsButton",void 0),(0,o._)(this,"content",void 0),this.state=i,this.options=n,this.updateConversation=r,this.permissionRequest=null,this.settingsButton=null}}(0,s.__decorate)([(0,p.hook)("ready")],b.prototype,"afterRender",null),(0,s.__decorate)([(0,p.watch)(["state.currentView","state.currentConversation"])],b.prototype,"__onChangeView",null),(0,s.__decorate)([(0,p.watch)("state.currentConversation")],b.prototype,"onChangeCurrentConversation",null),(0,s.__decorate)([(0,p.watch)("state.conversations")],b.prototype,"onChangeConversations",null),(0,s.__decorate)([(0,p.watch)("state.selectionContexts")],b.prototype,"onChangeSelectionContexts",null),(0,s.__decorate)([(0,p.watch)("state.isLoading")],b.prototype,"onChangeLoading",null),(0,s.__decorate)([(0,p.watch)("state.pendingToolCalls")],b.prototype,"onChangePendingToolCalls",null),b=(0,s.__decorate)([p.component],b)},51359:function(t,i,n){"use strict";n.d(i,{UIMessageListItem:function(){return h}});var r=n(82749),o=n(31635),s=n(81835),a=n(65478),l=n(67510),u=n(62843),c=n(62405),d=n(80870);class h extends l.UIElement{className(){return"UIMessageListItem"}render(){return`<div class="${this.getFullElName("message")}"></div>`}onReady(){this.updateContent(),this.contextMenu=new d.ContextMenu(this.j)}updateContent(){let t=this.container;t.innerHTML="",t.setAttribute("data-message-id",this.message.id),t.setAttribute("data-role",this.message.role);let i=this.j.c.div(this.getFullElName("message-bubble"));i.classList.add(this.getFullElName("message-bubble",this.message.role,!0));let n=this.j.c.div(this.getFullElName("message-content"));if(n.innerHTML=this.formatMessageContent(this.message.content),i.appendChild(n),this.opts.showTimestamps){let t=this.j.c.div(this.getFullElName("message-timestamp"));t.textContent=this.formatTimestamp(this.message.timestamp),i.appendChild(t)}let r=this.j.c.div(this.getFullElName("message-actions"));if(this.renderActionsButton(r),i.appendChild(r),t.appendChild(i),this.message.toolCalls&&this.message.toolCalls.length>0){let i=this.j.c.div(this.getFullElName("tool-calls"));t.appendChild(i),this.message.toolCalls.forEach(t=>{let n=this.createToolCallElement(t);i.appendChild(n)})}this.message.artifacts&&this.message.artifacts.length>0&&this.renderArtifacts()}renderActionsButton(t){let i=this.opts;(i.showCopyMessageAction||i.showRestartMessageAction||i.showEditMessageAction||i.showDeleteMessageAction)&&(this.actionsButton=new u.UIButton(this.j,{icon:{name:"dots"},tooltip:"Message actions",name:"messageActions",size:"tiny"}),this.actionsButton.onAction(t=>{this.showActionsMenu(t)}),t.appendChild(this.actionsButton.container))}showActionsMenu(t){if(!this.contextMenu||!this.actionsButton)return;let i=this.j,n=i.o.aiAssistantPro,r=[];n.showCopyMessageAction&&r.push({title:"Copy message",icon:"copy",exec:()=>{this.j.e.fire("copyMessage.ai-assistant-pro",this.message.id)}}),"user"===this.message.role&&(n.showRestartMessageAction&&r.push({title:"Restart from here",icon:"update",exec:()=>{this.j.e.fire("restartFromMessage.ai-assistant-pro",this.message.id)}}),n.showEditMessageAction&&r.push({title:"Edit message",icon:"pencil",exec:()=>{this.j.e.fire("editMessage.ai-assistant-pro",this.message.id)}})),n.showDeleteMessageAction&&r.push({title:"Delete message",icon:"bin",exec:()=>{i.confirm("Are you sure you want to delete this message?","Delete message",t=>{t&&this.j.e.fire("deleteMessage.ai-assistant-pro",this.message.id)})}});let o=this.actionsButton.container.getBoundingClientRect();this.contextMenu.show(o.left,o.bottom,r),t.stopPropagation()}renderArtifacts(){if(!this.message.artifacts||0===this.message.artifacts.length)return;let t=this.j.c.div(this.getFullElName("artifacts"));this.container.appendChild(t),this.artifactGroup||(this.artifactGroup=new c.UIGroup(this.j),this.artifactGroup.container.className="jodit-ui-artifact-group"),this.artifactGroup.clear(),this.message.artifacts.forEach(t=>{let i=new s.UIArtifact(this.j,t);this.artifactGroup.append(i)}),t.appendChild(this.artifactGroup.container)}createToolCallElement(t){let i=this.j.c.div(this.getFullElName("tool-call"));i.setAttribute("data-tool-id",t.id),i.setAttribute("data-status",t.status);let n=this.j.c.div(this.getFullElName("tool-header")),r=this.j.c.div(this.getFullElName("tool-icon"));r.classList.add(this.getFullElName("tool-icon",t.status,!0)),r.textContent="⚡";let o=this.j.c.div(this.getFullElName("tool-name"));o.textContent=this.j.i18n(t.name);let s=this.j.c.div(this.getFullElName("tool-status"));s.textContent=this.getToolStatusText(t.status||"unknown"),n.appendChild(r),n.appendChild(o),n.appendChild(s),i.appendChild(n);let a=this.createExpandableSection("Arguments",JSON.stringify(t.arguments||{},null,2));if(i.appendChild(a),t.result){let n=t.result.error?`Error: ${t.result.error}`:t.result.result||"",r=this.createExpandableSection("Result","string"==typeof n?n:JSON.stringify(n,null,2));i.appendChild(r)}return i}createExpandableSection(t,i){let n=this.j.c.div(this.getFullElName("tool-expandable")),r=this.j.c.element("button",{type:"button",class:this.getFullElName("tool-expandable-toggle")});r.textContent=`▶ ${this.j.i18n(t)}`;let o=this.j.c.element("pre",{class:this.getFullElName("tool-expandable-content")});return o.textContent=i,o.style.display="none",this.j.e.on(r,"click",()=>{"none"!==o.style.display?(o.style.display="none",r.textContent=`▶ ${this.j.i18n(t)}`):(o.style.display="block",r.textContent=`▼ ${this.j.i18n(t)}`)}),n.appendChild(r),n.appendChild(o),n}getToolStatusText(t){return({pending:"⏳",approved:"✓",denied:"✕",executing:"⚡",executed:"✓",error:"⚠"})[t]||"●"}formatMessageContent(t){return(0,this.opts.formatMessageContent)(t,this.message.role,this.j.i18n.bind(this.j))}formatTimestamp(t){return(0,this.opts.formatTimestamp)(t,this.j.i18n.bind(this.j))}updateMessage(t){this.message=t,this.updateContent()}destruct(){var t,i,n;null==(t=this.actionsButton)||t.destruct(),null==(i=this.contextMenu)||i.destruct(),null==(n=this.artifactGroup)||n.destruct(),super.destruct()}constructor(t,i,n){super(t),(0,r._)(this,"message",void 0),(0,r._)(this,"opts",void 0),(0,r._)(this,"artifactGroup",void 0),(0,r._)(this,"actionsButton",void 0),(0,r._)(this,"contextMenu",void 0),this.message=i,this.opts=n,this.artifactGroup=null,this.actionsButton=null,this.contextMenu=null}}(0,o.__decorate)([(0,a.hook)("ready")],h.prototype,"onReady",null),h=(0,o.__decorate)([a.component],h)},51586:function(t,i,n){"use strict";n.d(i,{applyStylesPro:function(){return u}});var r=n(19606),o=n(2748),s=n(29960),a=n(76078),l=n(97420);function u(t,i,n,c=""){let d=document.createElement("iframe");d.style.display="none",document.body.appendChild(d);try{var h,p;let o=null!=(h=d.contentDocument)?h:null==(p=d.contentWindow)?void 0:p.document;if(!o)return i;o.open(),o.write(i),o.close();let u="jd-style";for(let t=0;t<o.styleSheets.length;t+=1)try{let i=o.styleSheets[t].cssRules;for(let t=0;t<i.length;t+=1)i[t].selectorText&&(0,a.$$)(i[t].selectorText,o.body).forEach(n=>{(0,s.attr)(n,u)||((0,s.attr)(n,u,(0,s.attr)(n,"style")||""),(0,s.attr)(n,"style","")),(0,s.attr)(n,"style",`${(0,s.attr)(n,"style")};${i[t].style.cssText}`)})}catch(t){}return(0,a.$$)(`[${u}]`,o.body).forEach(t=>{(0,s.attr)(t,"style",`${(0,s.attr)(t,"style")};${(0,s.attr)(t,u)}`)}),(0,r.transformWordToHtml)(t,l.JElement.make(o.body),n,c)}finally{o.Dom.safeRemove(d)}}},51642:function(t,i,n){"use strict";n.d(i,{readAlign:function(){return o}});var r=n(41180);function o(t,i){t.style.cssFloat&&-1!==["left","right"].indexOf(t.style.cssFloat.toLowerCase())?i.align=(0,r.css)(t,"float"):"block"===(0,r.css)(t,"display")&&"auto"===t.style.marginLeft&&"auto"===t.style.marginRight?i.align="center":i.align=""}},51804:function(t,i,n){"use strict";n.r(i),i.default={symbols:"symbool"}},51834:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"Altezza linea"}},51855:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M176 223q-37-2-45-4l-3-88q13-1 40-1 60 0 112 4 132 7 166 7 86 0 168-3 116-4 146-5 56 0 86-2l-1 14 2 64v9q-60 9-124 9-60 0-79 25-13 14-13 132 0 13 .5 32.5t.5 25.5l1 229 14 280q6 124 51 202 35 59 96 92 88 47 177 47 104 0 191-28 56-18 99-51 48-36 65-64 36-56 53-114 21-73 21-229 0-79-3.5-128t-11-122.5-13.5-159.5l-4-59q-5-67-24-88-34-35-77-34l-100 2-14-3 2-86h84l205 10q76 3 196-10l18 2q6 38 6 51 0 7-4 31-45 12-84 13-73 11-79 17-15 15-15 41 0 7 1.5 27t1.5 31q8 19 22 396 6 195-15 304-15 76-41 122-38 65-112 123-75 57-182 89-109 33-255 33-167 0-284-46-119-47-179-122-61-76-83-195-16-80-16-237v-333q0-188-17-213-25-36-147-39zm1488 1409v-64q0-14-9-23t-23-9h-1472q-14 0-23 9t-9 23v64q0 14 9 23t23 9h1472q14 0 23-9t9-23z"/> </svg> '},52230:function(t,i){"use strict";i.default={"copy-format":"복사 형식"}},52285:function(t,i){"use strict";i.default={"copy-format":"کپی کردن قالب"}},52507:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24" > <circle cx="12" cy="12" r="2.2"/> <circle cx="12" cy="5" r="2.2"/> <circle cx="12" cy="19" r="2.2"/> </svg> '},52604:function(t,i,n){"use strict";n.d(i,{Snapshot:function(){return a}});var r=n(91907),o=n(82758),s=n(2748);class a extends r.ViewComponent{className(){return"Snapshot"}static equal(t,i){return t.html===i.html&&JSON.stringify(t.range)===JSON.stringify(i.range)}static countNodesBeforeInParent(t){if(!t.parentNode)return 0;let i=t.parentNode.childNodes,n=0,r=null;for(let o=0;o<i.length;o+=1){if(!r||this.isIgnoredNode(i[o])||s.Dom.isText(r)&&s.Dom.isText(i[o])||(n+=1),i[o]===t)return n;r=i[o]}return 0}static strokeOffset(t,i){for(;s.Dom.isText(t);)t=t.previousSibling,s.Dom.isText(t)&&t.nodeValue&&(i+=t.nodeValue.length);return i}calcHierarchyLadder(t){let i=[];if(!t||!t.parentNode||!s.Dom.isOrContains(this.j.editor,t))return[];for(;t&&t!==this.j.editor;)t&&!a.isIgnoredNode(t)&&i.push(a.countNodesBeforeInParent(t)),t=t.parentNode;return i.reverse()}getElementByLadder(t){let i=this.j.editor,n;for(n=0;i&&n<t.length;n+=1)i=i.childNodes[t[n]];return i}get isBlocked(){return this.__isBlocked}__block(t){this.__isBlocked=t}transaction(t){this.__block(!0),this.__levelOfTransaction+=1;try{t()}catch(t){if(!o.IS_PROD)throw t}finally{this.__levelOfTransaction-=1,0===this.__levelOfTransaction&&this.__block(!1)}}make(){let t={html:"",range:{startContainer:[],startOffset:0,endContainer:[],endOffset:0}};t.html=this.__getCleanedEditorValue(this.j.editor);let i=this.j.s.sel;if(i&&i.rangeCount){let n=i.getRangeAt(0),r=this.calcHierarchyLadder(n.startContainer),o=this.calcHierarchyLadder(n.endContainer),s=a.strokeOffset(n.startContainer,n.startOffset),l=a.strokeOffset(n.endContainer,n.endOffset);r.length||n.startContainer===this.j.editor||(s=0),o.length||n.endContainer===this.j.editor||(l=0),t.range={startContainer:r,startOffset:s,endContainer:o,endOffset:l}}return t}restore(t){this.transaction(()=>{let i=this.storeScrollState();this.__getCleanedEditorValue(this.j.editor)!==t.html&&(this.j.value=t.html),this.restoreOnlySelection(t),this.restoreScrollState(i)})}storeScrollState(){return[this.j.ow.scrollY,this.j.editor.scrollTop]}restoreScrollState(t){let{j:i}=this,{ow:n}=i;n.scrollTo(n.scrollX,t[0]),i.editor.scrollTop=t[1]}restoreOnlySelection(t){try{if(t.range){let i=this.j.ed.createRange();i.setStart(this.getElementByLadder(t.range.startContainer),t.range.startOffset),i.setEnd(this.getElementByLadder(t.range.endContainer),t.range.endOffset),this.j.s.selectRange(i)}}catch(t){this.j.editor.lastChild&&this.j.s.setCursorAfter(this.j.editor.lastChild),o.IS_PROD}}destruct(){this.__block(!1),super.destruct()}static isIgnoredNode(t){return s.Dom.isText(t)&&!t.nodeValue||s.Dom.isTemporary(t)}__getCleanedEditorValue(t){let i=t.cloneNode(!0);return s.Dom.temporaryList(i).forEach(s.Dom.unwrap),i.innerHTML}constructor(){super(...arguments),this.__isBlocked=!1,this.__levelOfTransaction=0}}},52742:function(t,i,n){"use strict";function r(t){return null!=t&&t===t.window}n.d(i,{isWindow:function(){return r}})},52826:function(t,i,n){"use strict";n.r(i),n.d(i,{description:function(){return o},name:function(){return r},parameters:function(){return s},requiresPermission:function(){return a}});let r="readSelection",o="Get information about the current selection including HTML content and optional context",s=[{name:"contextCharsBefore",type:"number",description:"Number of characters to include before the selection",required:!1,default:0},{name:"contextCharsAfter",type:"number",description:"Number of characters to include after the selection",required:!1,default:0}],a=!1},52951:function(t,i,n){"use strict";var r=n(82758),o=n(65478),s=n(2748),a=n(580),l=n(21537),u=n(50911);n(36204);var c=n(70022),d=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class h extends u.Plugin{onInsertHTML(t){var i;if(!this.j.o.readonly&&!this.j.isEditorMode())return null==(i=this.sourceEditor)||i.insertRaw(t),this.toWYSIWYG(),!1}fromWYSIWYG(t=!1){if(!this.__lock||!0===t){this.__lock=!0;let t=this.j.getEditorValue(!1,r.SOURCE_CONSUMER);t!==this.getMirrorValue()&&this.setMirrorValue(t),this.__lock=!1}}toWYSIWYG(){if(this.__lock)return;let t=this.getMirrorValue();t!==this.__oldMirrorValue&&(this.__lock=!0,this.j.value=t,this.__lock=!1,this.__oldMirrorValue=t)}getNormalPosition(t,i){for(i=i.replace(/<(script|style|iframe)[^>]*>[^]*?<\/\1>/im,t=>{let i="";for(let n=0;n<t.length;n+=1)i+=r.INVISIBLE_SPACE;return i});t>0&&i[t]===r.INVISIBLE_SPACE;)t--;let n=t;for(;n>0;){if("<"===i[--n]&&void 0!==i[n+1]&&i[n+1].match(/[\w/]+/i))return n;if(">"===i[n])break}return t}clnInv(t){return t.replace(r.INVISIBLE_SPACE_REG_EXP(),"")}onSelectAll(t){var i;if("selectall"===t.toLowerCase()&&this.j.getRealMode()===r.MODE_SOURCE)return null==(i=this.sourceEditor)||i.selectAll(),!1}getMirrorValue(){var t;return(null==(t=this.sourceEditor)?void 0:t.getValue())||""}setMirrorValue(t){var i;null==(i=this.sourceEditor)||i.setValue(t)}setFocusToMirror(){var t;null==(t=this.sourceEditor)||t.focus()}saveSelection(){if(this.j.getRealMode()===r.MODE_WYSIWYG)this.j.s.save(),this.j.synchronizeValues(),this.fromWYSIWYG(!0);else{if(this.j.o.editHTMLDocumentMode)return;let t=this.getMirrorValue();if(this.getSelectionStart()===this.getSelectionEnd()){let i=this.j.s.marker(!0),n=this.getNormalPosition(this.getSelectionStart(),this.getMirrorValue());this.setMirrorValue(t.substring(0,n)+this.clnInv(i.outerHTML)+t.substring(n))}else{let i=this.j.s.marker(!0),n=this.j.s.marker(!1),r=this.getNormalPosition(this.getSelectionStart(),t),o=this.getNormalPosition(this.getSelectionEnd(),t);this.setMirrorValue(t.slice(0,r)+this.clnInv(i.outerHTML)+t.slice(r,o)+this.clnInv(n.outerHTML)+t.slice(o))}this.toWYSIWYG()}}removeSelection(){if(this.j.getRealMode()===r.MODE_WYSIWYG){this.__lock=!0,this.j.s.restore(),this.__lock=!1;return}let t=this.getMirrorValue(),i=0,n=0;try{if(t=t.replace(/<span[^>]+data-jodit-selection_marker=(["'])start\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerStart).replace(/<span[^>]+data-jodit-selection_marker=(["'])end\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerEnd),!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){let i=this.j.e.fire("beautifyHTML",t);(0,l.isString)(i)&&(t=i)}if(n=i=t.indexOf(this.tempMarkerStart),t=t.replace(this.tempMarkerStartReg,""),-1!==i){let i=t.indexOf(this.tempMarkerEnd);-1!==i&&(n=i)}t=t.replace(this.tempMarkerEndReg,"")}finally{t=t.replace(this.tempMarkerEndReg,"").replace(this.tempMarkerStartReg,"")}this.setMirrorValue(t),this.setMirrorSelectionRange(i,n),this.toWYSIWYG(),this.setFocusToMirror()}setMirrorSelectionRange(t,i){var n;null==(n=this.sourceEditor)||n.setSelectionRange(t,i)}onReadonlyReact(){var t;null==(t=this.sourceEditor)||t.setReadOnly(this.j.o.readonly)}afterInit(t){if(this.mirrorContainer=t.c.div("jodit-source"),t.workplace.appendChild(this.mirrorContainer),t.e.on("afterAddPlace changePlace afterInit",()=>{t.workplace.appendChild(this.mirrorContainer)}),this.sourceEditor=(0,c.createSourceEditor)("area",t,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG),t.e.on(t.ow,"keydown",t=>{var i;t.key===r.KEY_ESC&&(null==(i=this.sourceEditor)?void 0:i.isFocused)&&this.sourceEditor.blur()}),this.onReadonlyReact(),t.e.on("placeholder.source",t=>{var i;null==(i=this.sourceEditor)||i.setPlaceHolder(t)}).on("change.source",this.syncValueFromWYSIWYG).on("beautifyHTML",t=>t),t.o.beautifyHTML){let i=()=>{var i;if(t.isInDestruct)return!1;let n=t.ow.html_beautify;return!!n&&!t.isInDestruct&&(null==(i=t.events)||i.off("beautifyHTML").on("beautifyHTML",t=>n(t)),!0)};i()||(0,l.loadNext)(t,t.o.beautifyHTMLCDNUrlsJS).then(i,()=>null)}this.syncValueFromWYSIWYG(!0),this.initSourceEditor(t)}syncValueFromWYSIWYG(t=!1){let i=this.j;(i.getMode()===r.MODE_SPLIT||i.getMode()===r.MODE_SOURCE)&&this.fromWYSIWYG(t)}initSourceEditor(t){var i;if("area"!==t.o.sourceEditor){let i=(0,c.createSourceEditor)(t.o.sourceEditor,t,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG);i.onReadyAlways(()=>{var n,r;null==(n=this.sourceEditor)||n.destruct(),this.sourceEditor=i,this.syncValueFromWYSIWYG(!0),null==(r=t.events)||r.fire("sourceEditorReady",t)})}else null==(i=this.sourceEditor)||i.onReadyAlways(()=>{var i;this.syncValueFromWYSIWYG(!0),null==(i=t.events)||i.fire("sourceEditorReady",t)})}beforeDestruct(){this.sourceEditor&&(this.sourceEditor.destruct(),delete this.sourceEditor),s.Dom.safeRemove(this.mirrorContainer)}constructor(){super(...arguments),this.buttons=[{name:"source",group:"source"}],this.__lock=!1,this.__oldMirrorValue="",this.tempMarkerStart="{start-jodit-selection}",this.tempMarkerStartReg=/{start-jodit-selection}/g,this.tempMarkerEnd="{end-jodit-selection}",this.tempMarkerEndReg=/{end-jodit-selection}/g,this.getSelectionStart=()=>{var t,i;return null!=(i=null==(t=this.sourceEditor)?void 0:t.getSelectionStart())?i:0},this.getSelectionEnd=()=>{var t,i;return null!=(i=null==(t=this.sourceEditor)?void 0:t.getSelectionEnd())?i:0}}}d([(0,o.watch)(":insertHTML.source")],h.prototype,"onInsertHTML",null),d([o.autobind],h.prototype,"fromWYSIWYG",null),d([o.autobind],h.prototype,"toWYSIWYG",null),d([o.autobind],h.prototype,"getNormalPosition",null),d([(0,o.watch)(":beforeCommand.source")],h.prototype,"onSelectAll",null),d([(0,o.watch)(":beforeSetMode.source")],h.prototype,"saveSelection",null),d([(0,o.watch)(":afterSetMode.source")],h.prototype,"removeSelection",null),d([o.autobind],h.prototype,"setMirrorSelectionRange",null),d([(0,o.watch)(":readonly.source")],h.prototype,"onReadonlyReact",null),d([o.autobind],h.prototype,"syncValueFromWYSIWYG",null),a.pluginSystem.add("source",h)},52968:function(t,i,n){"use strict";n.d(i,{AceEditor:function(){return r.AceEditor},TextAreaEditor:function(){return o.TextAreaEditor}});var r=n(60031),o=n(7483)},52995:function(t,i){"use strict";i.default={"Type something":"Begin met typen..",Advanced:"Geavanceerd","About Jodit":"Over Jodit","Jodit Editor":"Jodit Editor","Free Non-commercial Version":"Gratis niet-commerci\xeble versie","Jodit User's Guide":"Jodit gebruikershandleiding","contains detailed help for using":"bevat gedetailleerde informatie voor gebruik.","For information about the license, please go to our website:":"Voor informatie over de licentie, ga naar onze website:","Buy full version":"Volledige versie kopen","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Alle rechten voorbehouden.",Anchor:"Anker","Open in new tab":"Open in nieuwe tab","Open in fullsize":"Editor in volledig scherm openen","Clear Formatting":"Opmaak verwijderen","Fill color or set the text color":"Vulkleur of tekstkleur aanpassen",Redo:"Opnieuw",Undo:"Ongedaan maken",Bold:"Vet",Italic:"Cursief","Insert Unordered List":"Geordende list invoegen","Insert Ordered List":"Ongeordende lijst invoegen","Align Center":"Centreren","Align Justify":"Uitlijnen op volledige breedte","Align Left":"Links uitlijnen","Align Right":"Rechts uitlijnen","Insert Horizontal Line":"Horizontale lijn invoegen","Insert Image":"Afbeelding invoegen","Insert file":"Bestand invoegen","Insert youtube/vimeo video":"Youtube/Vimeo video invoegen","Insert link":"Link toevoegen","Font size":"Tekstgrootte","Font family":"Lettertype","Insert format block":"Format blok invoegen",Normal:"Normaal","Heading 1":"Koptekst 1","Heading 2":"Koptekst 2","Heading 3":"Koptekst 3","Heading 4":"Koptekst 4",Quote:"Citaat",Code:"Code",Insert:"Invoegen","Insert table":"Tabel invoegen","Decrease Indent":"Inspringing verkleinen","Increase Indent":"Inspringing vergroten","Select Special Character":"Symbool selecteren","Insert Special Character":"Symbool invoegen","Paint format":"Opmaak kopieren","Change mode":"Modus veranderen",Margins:"Marges",top:"Boven",right:"Rechts",bottom:"Onder",left:"Links",Styles:"CSS styles",Classes:"CSS classes",Align:"Uitlijning",Right:"Rechts",Center:"Gecentreerd",Left:"Links","--Not Set--":"--Leeg--",Src:"Src",Title:"Titel",Alternative:"Alternatieve tekst",Link:"Link","Open link in new tab":"Link in nieuwe tab openen",Image:"Afbeelding",file:"Bestand","Image properties":"Afbeeldingseigenschappen",Cancel:"Annuleren",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Deze code lijkt op HTML. Als HTML behouden?","Paste as HTML":"Invoegen als HTML",Keep:"Origineel behouden",Clean:"Opschonen","Insert as Text":"Als tekst invoegen","Word Paste Detected":"Word-tekst gedetecteerd","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"De geplakte tekst is afkomstig van een Microsoft Word/Excel document. Wil je de opmaak behouden of opschonen?","Insert only Text":"Als onopgemaakte tekst invoegen","File Browser":"Bestandsbrowser","Error on load list":"Fout bij het laden van de lijst","Error on load folders":"Fout bij het laden van de mappenlijst","Are you sure?":"Weet je het zeker?","Enter Directory name":"Geef de map een naam","Create directory":"Map aanmaken","type name":"Type naam","Drop image":"Sleep hier een afbeelding naartoe","Drop file":"Sleep hier een bestand naartoe","or click":"of klik","Alternative text":"Alternatieve tekst",Browse:"Bladeren",Upload:"Uploaden",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\xfcploadet!",palette:"Palette","There are no files":"Er zijn geen bestanden in deze map.",Rename:"Hernoemen","Enter new name":"Voer een nieuwe naam in",preview:"Voorvertoning",download:"Download","Paste from clipboard":"Plakken van klembord","Your browser doesn't support direct access to the clipboard.":"Uw browser ondersteunt geen directe toegang tot het klembord.","Copy selection":"Selectie kopi\xebren",copy:"kopi\xebren","Border radius":"Border radius","Show all":"Toon alle",Apply:"Toepassen","Please fill out this field":"Vul dit veld in","Please enter a web address":"Voer een webadres in",Default:"Standaard",Circle:"Cirkel",Dot:"Punt",Quadrate:"Kwadraat",Find:"Zoeken","Find Previous":"Vorige Zoeken","Find Next":"Volgende Zoeken","Insert className":"Voeg de klassenaam in","Press Alt for custom resizing":"Druk op Alt voor aangepaste grootte","License: %s":"Licentie: %s"}},53014:function(t,i,n){"use strict";n.d(i,{applyTheme:function(){return s}});let r=["jodit_theme_dark","jodit-ai-assistant-pro_theme_dark","jodit-dialog_theme_dark"],o=["jodit_theme_light","jodit-ai-assistant-pro_theme_light","jodit-dialog_theme_light"];function s(t,i,n,s,a){let l;if(null==s||s.classList.remove(...r),null==s||s.classList.remove(...o),"dialog"===n){let t=null==a?void 0:a.container;null==t||t.classList.remove(...r),null==t||t.classList.remove(...o)}if(l="dark"===i?r:o,null==s||s.classList.add(...l),"dialog"===n){let t=null==a?void 0:a.container;null==t||t.classList.add(...l)}}},53121:function(t){t.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M19,21H5a2,2,0,0,1-2-2V17a1,1,0,0,1,2,0v2H19V17a1,1,0,0,1,2,0v2A2,2,0,0,1,19,21Z"/> <path d="M18,5H6A1,1,0,0,1,6,3H18a1,1,0,0,1,0,2Z"/> <path d="M15.71,10.29l-3-3a1,1,0,0,0-.33-.21,1,1,0,0,0-.76,0,1,1,0,0,0-.33.21l-3,3a1,1,0,0,0-.21,1.09A1,1,0,0,0,9,12h2v3a1,1,0,0,0,2,0V12h2a1,1,0,0,0,.92-.62A1,1,0,0,0,15.71,10.29Z"/> </svg>'},53189:function(t){t.exports={"Show Blocks":"Zeigen Bl\xf6cke"}},53212:function(t,i,n){"use strict";n.d(i,{cleanFromWord:function(){return l}});var r=n(82758),o=n(2748),s=n(4510),a=n(49055);function l(t){-1!==t.indexOf("<html ")&&(t=(t=t.substring(t.indexOf("<html "),t.length)).substring(0,t.lastIndexOf("</html>")+7));let i="";try{let n=r.globalDocument.createElement("div");n.innerHTML=t;let a=[];n.firstChild&&o.Dom.each(n,t=>{if(t)switch(t.nodeType){case Node.ELEMENT_NODE:switch(t.nodeName){case"STYLE":case"LINK":case"META":a.push(t);break;case"W:SDT":case"W:SDTPR":case"FONT":o.Dom.unwrap(t);break;default:(0,s.toArray)(t.attributes).forEach(i=>{-1===["src","href","rel","content"].indexOf(i.name.toLowerCase())&&t.removeAttribute(i.name)})}break;case Node.TEXT_NODE:break;default:a.push(t)}}),o.Dom.safeRemove.apply(null,a),i=n.innerHTML}catch(t){}return i&&(t=i),(t=t.split(/(\n)/).filter(a.trim).join("\n")).replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,"")}},53213:function(t,i,n){"use strict";n.d(i,{persistent:function(){return s}});var r=n(78213),o=n(39955);function s(t,i){t.hookStatus(r.STATUSES.ready,t=>{let n=(0,o.isViewObject)(t)?t:t.jodit,r=`${n.options.namespace}${t.componentName}_prop_${i}`,s=t[i];Object.defineProperty(t,i,{get(){var t;return null!=(t=n.storage.get(r))?t:s},set(t){n.storage.set(r,t)}})})}},53259:function(t,i){"use strict";i.default='<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:function(t,i,n){"use strict";n.d(i,{htmlspecialchars:function(){return o}});var r=n(82758);function o(t){let i=r.globalDocument.createElement("div");return i.textContent=t,i.innerHTML}},53361:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"Sprawdzanie pisowni"}},53392:function(t,i,n){"use strict";n.d(i,{removeEmptyTextNode:function(){return o}});var r=n(2748);function o(t,i,n,o,s,a){return r.Dom.isText(i)&&!i.nodeValue?(i===a&&t.s.isCollapsed()&&t.s.setCursorAfter(i),r.Dom.safeRemove(i),!0):n}},53437:function(t,i,n){"use strict";n.r(i),i.default={symbols:"Symbol"}},53454:function(t,i,n){"use strict";n.d(i,{onChangeGeometries:function(){return l}});var r=n(56075),o=n(11886),s=n(72690),a=n(67912);function l(t,i){var n,l,u,c;switch(t.type){case"polyline":case"polygon":{let n=(0,a.pathToArray)(t.gme.getPath()),l=(0,o._)((0,r._)({},t.state),{coordinates:n});s.updateStateAndGme.call(this,l,i,!0);break}case"marker":{let a=t.gme.getPosition(),u=(0,o._)((0,r._)({},t.state),{coordinates:[null!=(n=null==a?void 0:a.lat())?n:0,null!=(l=null==a?void 0:a.lng())?l:0]});s.updateStateAndGme.call(this,u,i,!0);break}case"circle":{let n=t.gme.getCenter(),a=(0,o._)((0,r._)({},t.state),{radius:t.gme.getRadius(),coordinates:[null!=(u=null==n?void 0:n.lat())?u:0,null!=(c=null==n?void 0:n.lng())?c:0]});s.updateStateAndGme.call(this,a,i,!0)}}}},53585:function(t,i,n){"use strict";n.d(i,{convertStyleUnitToPixels:function(){return o}});var r=n(43712);let o=(t,{jodit:i})=>{if(!i.o.pasteFromWord.convertUnitsToPixel)return t;let{style:n}=t;return n.forEach(t=>{let i=n.get(t);i&&n.set(t,i.toString().replace(/\d+(\.\d+)?(pt|cm)/g,t=>(0,r.convertUnitToPx)(t)+"px"))}),t}},53586:function(t,i,n){"use strict";n(6441).Config.prototype.autocomplete={sources:[],maxItems:50,isMatchedQuery:(t,i)=>0===i.toLowerCase().indexOf(t.toLowerCase()),itemRenderer:t=>{var i;return null!=(i=t.title)?i:t.value},insertValueRenderer:t=>t.value+"&nbsp;"}},53636:function(t,i,n){"use strict";n.d(i,{openImageEditorDialog:function(){return a}});var r=n(70799),o=n(29960),s=n(50050);function a(t,i){let n=(0,o.attr)(i.image,"src")||"",a=t.c.element("a"),l=()=>{if(a.host!==location.host)return void t.confirm("You can only edit your own images. Download this image on the host?",n=>{n&&t.uploader&&t.uploader.uploadRemoteImage(a.href.toString(),n=>{t.alert("The image has been successfully uploaded to the host!",()=>{(0,r.isString)(n.newfilename)&&(i.values.imageSrc=n.baseurl+n.newfilename)})},i=>{t.alert("There was an error loading %s",i.message)})})};a.href=n,t.filebrowser.dataProvider.getPathByUrl(a.href.toString()).then(r=>{s.openImageEditor.call(t.filebrowser,a.href,r.name,r.path,r.source,t=>{let r=new Date().getTime(),o=t||n;i.values.imageSrc=o+(-1!==o.indexOf("?")?"":"?")+"&_tmp="+r.toString()},i=>{t.alert(i.message)})}).catch(i=>{t.alert(i.message,l)})}},53650:function(t,i,n){"use strict";n.r(i),i.default={symbols:"symbol"}},53651:function(t,i){"use strict";i.default='<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:function(t,i){"use strict";i.default='<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> '},53822:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"Высота линии"}},53835:function(t,i,n){"use strict";n.d(i,{BUILT_IN_TOOLS:function(){return p},getToolNames:function(){return f}});var r=n(39296),o=n(16745),s=n(78717),a=n(5618),l=n(90991),u=n(2020),c=n(12570),d=n(95323),h=n(97603);let p={readDocument:a.default,readBlocks:s.default,readSelection:l.default,writeDocument:h.default,replaceSelection:d.default,replaceBlock:u.default,replaceInDocument:c.default,insertHTML:o.default,applyFormat:r.default};function f(){return Object.keys(p)}},54023:function(t){t.exports={"Show Blocks":"Показать Блоки"}},54041:function(t,i,n){"use strict";n.d(i,{getBlockWrapper:function(){return function t(i,n,s=r.IS_BLOCK){let a=i,l=n.editor;do{if(!a||a===l)break;if(s.test(a.nodeName)){if(o.Dom.isLeaf(a))return a;return t(a.parentNode,n,/^li$/i)||a}a=a.parentNode}while(a&&a!==l);return null}}});var r=n(82758),o=n(2748)},54076:function(t,i,n){"use strict";function r(t,i){let[n,r]=i.split("::");t.execCommand(n,null,r)}n.d(i,{execSpellCommand:function(){return r}})},54079:function(t,i,n){"use strict";n.d(i,{Ajax:function(){return h}});var r=n(8884),o=n(82758),s=n(45219),a=n(21537),l=n(89890),u=n(6441);n(57459);var c=n(98582);function d(t,i,n,r,o,s,a){try{var l=t[s](a),u=l.value}catch(t){n(t);return}l.done?i(u):Promise.resolve(u).then(r,o)}class h{className(){return"Ajax"}__buildParams(t,i){return(0,a.isPlainObject)(t)&&this.options.contentType&&this.options.contentType.includes("application/json")?JSON.stringify(t):(0,a.isFunction)(this.o.queryBuild)?this.o.queryBuild.call(this,t,i):(0,a.isString)(t)||t instanceof o.globalWindow.FormData||"object"==typeof t&&null!=t&&(0,a.isFunction)(t.append)?t:(0,a.buildQuery)(t)}get o(){return this.options}abort(){if(this.__isFulfilled)return this;try{this.__isFulfilled=!0,this.xhr.abort()}catch(t){}return this}send(){this.__activated=!0;let{xhr:t,o:i}=this,n=this.prepareRequest();return this.__async.promise((r,o)=>{var s;return(s=function*(){var s;let u=()=>{this.__isFulfilled=!0,o(l.connection("Connection error"))},d=()=>{this.__isFulfilled=!0,r(new c.Response(n,t.status,t.statusText,!t.responseType?t.responseText:t.response))};t.onload=d,t.onabort=()=>{this.__isFulfilled=!0,o(l.abort("Abort connection"))},t.onerror=u,t.ontimeout=u,i.responseType&&(t.responseType=i.responseType),t.onprogress=t=>{var i,n;let r=0;t.lengthComputable&&(r=t.loaded/t.total*100),null==(n=(i=this.options).onProgress)||n.call(i,r)},t.onreadystatechange=()=>{var n,r;null==(r=(n=this.options).onProgress)||r.call(n,10),t.readyState===XMLHttpRequest.DONE&&(i.successStatuses.includes(t.status)?d():t.statusText&&(this.__isFulfilled=!0,o(l.connection(t.statusText))))},t.withCredentials=null!=(s=i.withCredentials)&&s;let{url:h,data:p,method:f}=n;t.open(f,h,!0),i.contentType&&t.setRequestHeader&&t.setRequestHeader("Content-type",i.contentType);let{headers:m}=i;(0,a.isFunction)(m)&&(m=yield m.call(this)),m&&t.setRequestHeader&&Object.keys(m).forEach(i=>{t.setRequestHeader(i,m[i])}),this.__async.setTimeout(()=>{t.send(p?this.__buildParams(p):void 0)},0)},function(){var t=this,i=arguments;return new Promise(function(n,r){var o=s.apply(t,i);function a(t){d(o,n,r,a,l,"next",t)}function l(t){d(o,n,r,a,l,"throw",t)}a(void 0)})}).call(this)})}prepareRequest(){if(!this.o.url)throw l.error("Need URL for AJAX request");let t=this.o.url,i=this.o.data,n=(this.o.method||"get").toLowerCase();if("get"===n&&i&&(0,a.isPlainObject)(i)){let n=t.indexOf("?");if(-1!==n){let r=(0,a.parseQuery)(t);t=t.substring(0,n)+"?"+(0,a.buildQuery)(function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}({},r,i))}else t+="?"+(0,a.buildQuery)(this.o.data)}let r={url:t,method:n,data:i};return h.log.splice(100),h.log.push(r),r}destruct(){this.__isDestructed||(this.__isDestructed=!0,this.__activated&&!this.__isFulfilled&&(this.abort(),this.__isFulfilled=!0),this.__async.destruct())}constructor(t,i=u.Config.prototype.defaultAjaxOptions){this.__async=new r.Async,this.__isFulfilled=!1,this.__activated=!1,this.__isDestructed=!1,this.options=(0,a.ConfigProto)(t||{},i),this.xhr=this.o.xhr?this.o.xhr():new XMLHttpRequest}}h.log=[],function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);s>3&&a&&Object.defineProperty(i,n,a)}([s.autobind],h.prototype,"destruct",null)},54296:function(t,i,n){"use strict";n.d(i,{buildTemplatesPopup:function(){return o}});let r="jodit-templates-popup";function o(t,i,n){let o=t.c.div(r);for(let s of i){let i=t.c.element("button");i.type="button",i.className=`${r}__card`;let a=t.c.div(`${r}__card-preview`);if(s.image){let i=t.c.element("img");i.src=s.image,i.alt=s.title,a.appendChild(i)}else{let i=t.c.div(`${r}__card-preview-inner`);i.innerHTML=s.html,a.appendChild(i)}i.appendChild(a);let l=t.c.div(`${r}__card-info`),u=t.c.div(`${r}__card-title`);u.textContent=s.title,l.appendChild(u);let c=t.c.div(`${r}__card-description`);c.textContent=s.description,l.appendChild(c),i.appendChild(l),t.e.on(i,"click",()=>{t.s.focus(),t.s.insertHTML(s.html),t.synchronizeValues(),n()}),o.appendChild(i)}return o}},54389:function(t,i,n){"use strict";var r=n(22732),o=n(12153),s=n(6441),a=n(78614),l=n(86835),u=n(302);o.Icon.set("indent",a.default).set("outdent",l.default),s.Config.prototype.controls.indent={tooltip:"Increase Indent"},s.Config.prototype.controls.outdent={isDisabled:t=>{let i=t.s.current();if(i){let n=r.Dom.closest(i,r.Dom.isBlock,t.editor);if(n){let i=(0,u.getKey)(t.o.direction,n);return!n.style[i]||0>=parseInt(n.style[i],10)}}return!0},tooltip:"Decrease Indent"},s.Config.prototype.indentMargin=10},54600:function(t,i,n){"use strict";n.d(i,{splitFragment:function(){return a}});var r=n(2748),o=n(26395),s=n(44245);function a(t,i,n){let a=i.s,{enter:l}=i.o,u=l.toLowerCase(),c=r.Dom.isLeaf(n),d=n.tagName.toLowerCase()===u||c,h=a.cursorOnTheRight(n,t),p=a.cursorOnTheLeft(n,t);if(!d&&(h||p)){h?r.Dom.after(n,t):r.Dom.before(n,t),(0,s.insertParagraph)(t,i,u),p&&!h&&r.Dom.prepend(n,t);return}let f=a.splitSelection(n,t);(0,o.scrollIntoViewIfNeeded)(f,i.editor,i.ed)}},54747:function(t,i,n){"use strict";n.d(i,{UIResize:function(){return s}});var r=n(2748),o=n(41180);class s{static remove(t){t.container.classList.remove("jodit-ui-resize"),r.Dom.safeRemove(t.container.querySelector(".jodit-ui-resize__handle"))}static install(t,i,n={}){var r;t.container.classList.add("jodit-ui-resize"),"static"===(0,o.css)(t.container,"position")&&(0,o.css)(t.container,"position","relative");let s=t.j.c.div("jodit-ui-resize__handle");s.classList.add("jodit-ui-resize__handle_type_"+i),n.handleClassName&&s.classList.add(n.handleClassName),t.container.appendChild(s),t.j.e.on(s,"mousedown touchstart",this.onStartResize.bind(this,t,i,null!=(r=n.onResize)?r:()=>void 0))}static onStartResize(t,i,n,r){let o={x:r.clientX,y:r.clientY,w:t.container.offsetWidth,h:t.container.offsetHeight,direction:i},s=t.j.async.throttle(this.onResize.bind(this,t,o,n),t.j.defaultTimeout/10);t.j.lock(),t.j.e.on(t.j.ow,"mousemove touchmove",s).one(t.j.ow,"mouseup touchend",this.onEndResize.bind(this,t,s))}static onResize(t,i,n,r){let s,a=["left","right"].includes(i.direction),l=t.container.parentElement;l&&(s=a?i.w+(r.clientX-i.x)*("right"===i.direction?1:-1):i.h+(r.clientY-i.y)*("top"===i.direction?-1:1),!0!==(null==n?void 0:n({newSize:s}))&&(0,o.css)(t.container,a?"width":"height",s/(a?l.offsetWidth:l.offsetHeight)*100+"%"))}static onEndResize(t,i,n){t.j.e.off(t.j.ow,"mousemove touchmove",i),t.j.unlock()}}},54765:function(t,i,n){"use strict";n.d(i,{hasBrowserColorPicker:function(){return o}});var r=n(82758);function o(){let t=!0;try{let i=r.globalDocument.createElement("input");i.type="color",i.value="!",t="color"===i.type&&"!"!==i.value}catch(i){t=!1}return t}},55029:function(t,i,n){"use strict";var r=n(17298),o=n(6441);o.Config.prototype.googleMaps={saveStateInStorage:!0,useStaticImage:!1,apiUrl:"https://maps.googleapis.com/maps/api/js?key=${j.o.googleMaps.API_KEY}&libraries=geometry,places,drawing&language=${j.o.language}&callback=JoditGoogleReadyHandler",API_KEY:"AIzaSyDjnR03hxN8fo0QJ85Jkkvk2DALTh3eynY",dialog:{size:[700,700]},inlineEditorOptions:{buttons:["bold","italic","link","brush","fontsize","image"]},map:{type:"roadmap",layer:"default",center:"auto",defaultCenter:[-34.397,150.644],defaultZoom:10,zoom:10,size:[500,400],defaultStates:{polyline:{strokeColor:"#5ba4f3",strokeWeight:3},polygon:{strokeColor:"#417706",fillColor:"#5b9302",strokeWeight:1,fillOpacity:.5},marker:{},text:{},circle:{strokeColor:"#da767c",fillColor:"#f34ca8",strokeWeight:1,fillOpacity:.5}}}},o.Config.prototype.controls.googleMaps={tooltip:"Google Maps",icon:"map",command:r.COMMAND_OPEN_DIALOG};let s=t=>({icon:`edit-${t}`,isActive:i=>i.buffer.get("createMode.gm")===t,exec:i=>{i.e.fire("changeCreateMode.gm",t)}});o.Config.prototype.controls.gm={hand:s("hand"),marker:s("marker"),polyline:s("polyline"),polygon:s("polygon"),circle:s("circle"),text:s("text")}},55099:function(t,i,n){"use strict";var r=n(82758),o=n(12153),s=n(6441),a=n(21597);s.Config.prototype.useSearch=!0,s.Config.prototype.search={lazyIdleTimeout:0,useCustomHighlightAPI:r.globalWindow&&void 0!==r.globalWindow.Highlight},o.Icon.set("search",a.default),s.Config.prototype.controls.find={tooltip:"Find",icon:"search",exec(t,i,{control:n}){switch(n.args&&n.args[0]){case"findPrevious":t.e.fire("searchPrevious");break;case"findNext":t.e.fire("searchNext");break;case"replace":t.execCommand("openReplaceDialog");break;default:t.execCommand("openSearchDialog")}},list:{search:"Find",findNext:"Find Next",findPrevious:"Find Previous",replace:"Replace"},childTemplate:(t,i,n)=>n}},55153:function(t,i,n){"use strict";n.d(i,{derive:function(){return o}});var r=n(23282);function o(...t){return i=>{let n=i.prototype;for(let i=0;i<t.length;i++){let o=t[i],s=Object.getOwnPropertyNames(o.prototype);for(let t=0;t<s.length;t++){let i=s[t],a=Object.getOwnPropertyDescriptor(o.prototype,i);null!=a&&(0,r.isFunction)(a.value)&&!(0,r.isFunction)(n[i])&&Object.defineProperty(n,i,{enumerable:!0,configurable:!0,writable:!0,value:function(...t){return a.value.call(this,...t)}})}}}}},55307:function(t,i,n){"use strict";n.d(i,{states:function(){return d},transactions:function(){return h}});var r=n(82758),o=n(2748),s=n(38837),a=n(63687),l=n(77361);function u(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}function c(t,i){return i=null!=i?i:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):(function(t){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i.push.apply(i,n)}return i})(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))}),t}let d={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"},h={[d.START]:{exec(t){let{element:i,jodit:n,style:r,mode:s,collapsed:h}=t;if((0,a.isInsideInvisibleElement)(i,n.editor)||!h&&o.Dom.isEmptyContent(i))return c(u({},t),{next:d.END});let p=(0,a.getSuitParent)(r,i,n.editor)||(0,a.getSuitChild)(r,i);if(p)return c(u({},t),{next:d.ELEMENT,element:p});let f=(0,a.suitableClosest)(r,i,n.editor);return r.elementIsList&&o.Dom.isList(f)?c(u({},t),{next:d.LIST}):f?c(u({},t),{next:d.EXTRACT}):c(u({},t),{next:s!==l.UNWRAP?d.UNWRAP_CHILDREN:d.END})}},[d.LIST]:{exec(t){let{element:i,jodit:n,mode:s}=t;if(s!==l.INITIAL&&s!==l.UNWRAP&&s!==l.REPLACE)return c(u({},t),{next:d.END});let a=o.Dom.closest(i,"li",n.editor);return a&&o.Dom.closest(i,r.LIST_TAGS,n.editor)?c(u({},t),{element:a,next:d.TOGGLE_LIST}):c(u({},t),{next:d.END})}},[d.TOGGLE_LIST]:{exec(t){return c(u({},t),{mode:(0,a.toggleOrderedList)(t.style,t.element,t.jodit,t.mode),next:d.END})}},[d.EXTRACT]:{exec(t){var i;let{element:n,jodit:r,style:l}=t,h=(0,a.suitableClosest)(l,n,r.editor);return((0,s.assert)(h,"This place should have an element"),!l.elementIsBlock&&(null==(i=l.options.attributes)?void 0:i.style)&&o.Dom.isBlock(h))?c(u({},t),{next:d.WRAP}):(l.elementIsBlock||(0,a.extractSelectedPart)(h,n,r),c(u({},t),{element:h,next:d.ELEMENT}))}},[d.UNWRAP_CHILDREN]:{exec(t){let{element:i,style:n}=t;return(0,a.unwrapChildren)(n,i)?c(u({},t),{mode:l.UNWRAP,next:d.END}):c(u({},t),{next:d.WRAP})}},[d.WRAP]:{exec(t){let{element:i,jodit:n,style:r}=t,o=(0,a.wrap)(r,i,n);return c(u({},t),{next:r.elementIsList?d.END:d.CHANGE,mode:l.WRAP,element:o})}},[d.ELEMENT]:{exec(t){let{style:i,element:n,jodit:r}=t;return(0,a.toggleAttributes)(i,n,r,l.INITIAL,!0)!==l.INITIAL?c(u({},t),{next:d.CHANGE}):o.Dom.isTag(n,i.element)?c(u({},t),{next:d.UNWRAP}):c(u({},t),{next:d.END})}},[d.CHANGE]:{exec(t){let{style:i,element:n,jodit:r,mode:s}=t,h=(0,a.toggleAttributes)(i,n,r,t.mode);return s!==l.WRAP&&h===l.UNSET&&!n.attributes.length&&o.Dom.isTag(n,i.element)?c(u({},t),{next:d.UNWRAP}):c(u({},t),{mode:h,next:d.END})}},[d.UNWRAP]:{exec(t){return t.element.attributes.length&&o.Dom.isTag(t.element,t.style.element)?c(u({},t),{next:d.REPLACE_DEFAULT}):(o.Dom.unwrap(t.element),c(u({},t),{mode:l.UNWRAP,next:d.END}))}},[d.REPLACE_DEFAULT]:{exec(t){return o.Dom.replace(t.element,t.style.defaultTag,t.jodit.createInside,!0),c(u({},t),{mode:l.REPLACE,next:d.END})}},[d.END]:{exec(t){return t}}}},55311:function(t,i,n){"use strict";n(6441).Config.prototype.tableAllowCellSelection=!0},55487:function(t,i,n){"use strict";n.d(i,{ToolRegistry:function(){return l}});var r=n(77688),o=n(82749),s=n(56075),a=n(53835);class l{registerBuiltInTools(t){t.forEach(t=>{let i=a.BUILT_IN_TOOLS[t];i&&this.tools.set(t,i)})}registerCustomTools(t){t.forEach(t=>{this.validateToolDefinition(t),this.tools.set(t.name,t)})}validateToolDefinition(t){if(!t.name||"string"!=typeof t.name)throw Error("Tool must have a valid name");if(!t.description||"string"!=typeof t.description)throw Error(`Tool "${t.name}" must have a description`);if(!Array.isArray(t.parameters))throw Error(`Tool "${t.name}" must have a parameters array`);if("function"!=typeof t.execute)throw Error(`Tool "${t.name}" must have an execute function`);t.parameters.forEach(i=>{if(!i.name||"string"!=typeof i.name)throw Error(`Tool "${t.name}" has a parameter without a valid name`);if(!i.type)throw Error(`Tool "${t.name}" parameter "${i.name}" must have a type`);if("boolean"!=typeof i.required)throw Error(`Tool "${t.name}" parameter "${i.name}" must specify if it's required`)})}getAllTools(){return Array.from(this.tools.values())}getTool(t){return this.tools.get(t)}hasTool(t){return this.tools.has(t)}getToolNames(){return Array.from(this.tools.keys())}executeTool(t,i,n){return(0,r._)(function*(){let r=this.getTool(t);if(!r)throw Error(`Tool "${t}" not found`);let o=this.applyDefaults(r,i);this.validateArguments(r,o);try{return yield r.execute(this.jodit,o,n)}catch(t){if((null==t?void 0:t.name)==="AbortError"||n.aborted)throw Error("Tool execution was aborted");throw t}}).call(this)}validateArguments(t,i){let n=Object.keys(i);for(let i of t.parameters.filter(t=>t.required).map(t=>t.name))if(!n.includes(i))throw Error(`Tool "${t.name}" requires parameter "${i}"`);for(let[n,r]of Object.entries(i)){let i=t.parameters.find(t=>t.name===n);if(!i){this.jodit.o.aiAssistantPro.debug;continue}let o=Array.isArray(r)?"array":"object"==typeof r&&null!=r?"object":typeof r;if(i.type!==o&&!("number"===i.type&&"string"===o&&!isNaN(Number(r))))throw Error(`Tool "${t.name}" parameter "${n}" expects type "${i.type}" but got "${o}"`);if(i.enum&&i.enum.length>0&&!i.enum.includes(r))throw Error(`Tool "${t.name}" parameter "${n}" must be one of: ${i.enum.join(", ")}`)}}applyDefaults(t,i){let n=(0,s._)({},i);for(let i of t.parameters)void 0===n[i.name]&&void 0!==i.default&&(n[i.name]=i.default);return n}destruct(){this.tools.clear()}constructor(t){(0,o._)(this,"jodit",void 0),(0,o._)(this,"tools",void 0),this.jodit=t,this.tools=new Map,this.registerBuiltInTools(t.o.aiAssistantPro.enabledTools||[]),this.registerCustomTools(t.o.aiAssistantPro.customTools||[])}}},55535:function(t,i,n){"use strict";n.d(i,{StateManager:function(){return a}});var r=n(82749),o=n(31635),s=n(65478);class a{getIndex(t,i=this.state.elements){return i.findIndex(i=>i.uniqueHashKey===t.uniqueHashKey)}isActive(t){return!!this.state.activeElements.find(i=>i.uniqueHashKey===t.uniqueHashKey)}isFavorite(t){return!!this.state.favorites.find(i=>i.uniqueHashKey===t.uniqueHashKey)}addActive(t,i){var n;this.state.metaInfo=t,this.state.info=null!=(n=t.file)?n:"",this.state.lastSelectedIndex=this.getIndex(t),this.state.activeElements=i?[...this.state.activeElements,t]:[t]}callSelectHandler(){var t;let i=this.state.activeElements;null==(t=this.state.onSelectCallBack)||t.call(this,{baseurl:"",files:i.map(t=>t.fileURL),isImages:i.map(t=>!!t.isImage)})}setFilter(t){this.state.filterWord=t}toggleFavorite(t){let i=this.getIndex(t,this.state.favorites),n=[...this.state.favorites];-1===i?n.push(t):n.splice(i,1),this.state.favorites=n}fillTreeForPath(t,i){if(!this.state.tree.length||!i||"/"===i){this.state.tree=t.map(c);return}this.removeActive(this.state.tree),t.forEach(t=>{var n;let r=l(this.state.tree,t.name);r||(r=c(t),this.state.tree.push(r)),r.isActive=!0;let o=(n=r,i.split("/").reduce((t,i)=>t&&l(t.children,i),n));o&&(o.isActive=!0,o.children=u(t.folders).map(n=>d(n,i+"/"+n,t.name)))}),this.state.tree=[...this.state.tree]}removeActive(t){t.forEach(t=>{t.isActive=!1,this.removeActive(t.children)})}get isFavoriteItems(){return this.state.favorites===this.state.elements}constructor(t){(0,r._)(this,"state",void 0),this.state=t}}function l(t,i){var n;return null!=(n=t.find(t=>t.name===i))?n:null}function u(t){return t.filter(t=>"."!==t&&".."!==t)}function c(t){return{type:"source",name:t.name,title:t.title,sourceName:t.name,path:"/",children:u(t.folders).map(i=>d(i,i,t.name))}}function d(t,i,n){return{type:"directory",name:t,path:i,sourceName:n,children:[]}}(0,o.__decorate)([s.autobind],a.prototype,"getIndex",null),(0,o.__decorate)([s.autobind],a.prototype,"isActive",null),(0,o.__decorate)([s.autobind],a.prototype,"isFavorite",null)},55611:function(t,i,n){"use strict";n.d(i,{SentenceFinder:function(){return o.SentenceFinder},clearSelectionWrappers:function(){return r.clearSelectionWrappers},clearSelectionWrappersFromHTML:function(){return r.clearSelectionWrappersFromHTML},getSelectionWrappers:function(){return r.getSelectionWrappers},highlightTextRanges:function(){return r.highlightTextRanges}});var r=n(12270),o=n(93119)},55776:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"スペルチェック"}},55790:function(t){t.exports={"AI Assistant":"AI Ассистент","AI Assistant Pro":"AI Ассистент Pro","Welcome to AI Assistant":"Добро пожаловать в AI Ассистент","Start your first conversation":"Начните первый диалог","Tip: Select text in editor to add context":"Подсказка: Выделите текст в редакторе для добавления контекста","New chat":"Новый чат","Search conversations...":"Поиск диалогов...","No conversations yet":"Пока нет диалогов","Ask me anything...":"Спросите меня о чем угодно...","Ask a follow-up...":"Задайте дополнительный вопрос...","Reply...":"Ответить...","Type your message...":"Введите ваше сообщение...",Send:"Отправить",Cancel:"Отмена",Retry:"Повторить",Insert:"Вставить",Copy:"Копировать",Edit:"Редактировать",Delete:"Удалить",New:"Новый",Back:"Назад","Permission Required":"Требуется разрешение",Approve:"Разрешить",Deny:"Отклонить",Once:"Один раз","This conversation":"Этот диалог",Always:"Всегда","The AI wants to execute:":"AI хочет выполнить:","This will modify your document content.":"Это изменит содержимое вашего документа.","Executing...":"Выполняется...","Completed successfully":"Успешно выполнено",Failed:"Ошибка","Pending approval":"Ожидает разрешения","Denied by user":"Отклонено пользователем","Tool Result":"Результат инструмента","Tool Execution Error":"Ошибка выполнения инструмента",Context:"Контекст",Contexts:"Контексты","Add to AI Context":"Добавить в контекст AI",Remove:"Удалить","Clear all":"Очистить все","An error occurred":"Произошла ошибка","Request failed":"Запрос не выполнен","Connection error":"Ошибка соединения","AI Assistant is not configured":"AI Ассистент не настроен","Thinking...":"Думаю...","Generating response...":"Генерирую ответ...",insertHTML:"Вставить HTML",readDocument:"Прочитать документ",readBlock:"Прочитать блок",replaceInDocument:"Заменить в документе",replaceInBlock:"Заменить в блоке",getSelection:"Получить выделение","Just now":"Только что",Conversation:"Диалог","New Conversation":"Новый диалог",Yesterday:"Вчера","Delete conversation":"Удалить диалог","Are you sure you want to delete this conversation?":"Вы уверены, что хотите удалить этот диалог?","Failed to delete conversation":"Не удалось удалить диалог",Settings:"Настройки","General Settings":"Общие настройки","Conversation Settings":"Настройки диалога","Display Mode":"Режим отображения","Panel Width":"Ширина панели",Theme:"Тема",Model:"Модель",Temperature:"Температура",Close:"Закрыть",Dialog:"Модальное окно",Left:"Левая панель",Right:"Правая панель",Top:"Верхняя панель",Bottom:"Нижняя панель",Inherit:"Наследовать от редактора",Light:"Светлая тема",Dark:"Тёмная тема","%dm ago":"%dм назад","%dh ago":"%dч назад"}},55877:function(t,i,n){"use strict";n.d(i,{convertMediaUrlToVideoEmbed:function(){return a}});var r=n(82758),o=n(26049),s=n(82501);let a=(t,{width:i=400,height:n=345}={})=>{if(!(0,o.isURL)(t))return t;let a=r.globalDocument.createElement("a"),l=/(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(.+)/g;a.href=t,i||(i=400),n||(n=345);let u=a.protocol||"";switch(a.hostname){case"www.vimeo.com":case"vimeo.com":return l.test(t)?t.replace(l,'<iframe width="'+i+'" height="'+n+'" src="'+u+'//player.vimeo.com/video/$1" frameborder="0" allowfullscreen></iframe>'):t;case"youtube.com":case"www.youtube.com":case"youtu.be":case"www.youtu.be":{let r=a.search?(0,s.parseQuery)(a.search):{v:a.pathname.substring(1)};return/^embed\/.*/.test(r.v)&&(r.v=r.v.substring(6)),r.v?'<iframe width="'+i+'" height="'+n+'" src="'+u+"//www.youtube.com/embed/"+r.v+'" frameborder="0" allowfullscreen></iframe>':t}}return t}},55885:function(t,i,n){"use strict";n.d(i,{UIWelcomeScreen:function(){return a}});var r=n(31635),o=n(65478),s=n(67510);class a extends s.UIElement{className(){return"UIWelcomeScreen"}render(){return`<div class="&__container">
238
238
  <div class="&__icon">
239
239
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
240
240
  <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"/>
@@ -245,7 +245,7 @@ ${s}`.trim();n?yield this.__executeQuickCommandSilent(u,s):yield this.__executeQ
245
245
  <div class="&__tip">~Tip: Select text in editor to add context~</div>
246
246
  </div>`}}a=(0,r.__decorate)([o.component],a)},56075:function(t,i,n){"use strict";n.d(i,{_:function(){return o}});var r=n(82749);function o(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),o.forEach(function(i){(0,r._)(t,i,n[i])})}return t}},56110:function(t,i,n){"use strict";n.d(i,{deleteConversationWithCleanup:function(){return s},loadInitialData:function(){return a}});var r=n(77688),o=n(82758);function s(t,i,n,o,s){return(0,r._)(function*(){try{o.setLoading(!0),yield n.delete(i),o.removeConversation(i),s.clearConversationPermissions(i);let r=o.getCurrentConversation();(null==r?void 0:r.id)===i&&o.setCurrentConversation(null);let a=yield n.list();o.setConversations(a),o.setView(0===a.length?"welcome":"conversationList"),t.e.fire("conversationDeleted.ai-assistant-pro",i)}catch(i){t.alert(t.i18n("Failed to delete conversation")+": "+((null==i?void 0:i.message)||"Unknown error"))}finally{o.setLoading(!1)}})()}function a(t,i,n){return(0,r._)(function*(){n.setLoading(!0);try{let[o,s]=yield Promise.all([i.list().catch(()=>[]),i.getGlobalSettings().catch(()=>null)]);if(n.setConversations(o),s&&n.setSavedState(s),0===o.length)n.setView("welcome");else if(t.o.aiAssistantPro.rememberLastConversation&&(null==s?void 0:s.currentConversationId)){var r;let t=null!=(r=o.find(t=>t.id===s.currentConversationId))?r:o[0],a=yield i.get(t.id);a?n.setCurrentConversation(a):n.setView("conversationList")}else n.setView("conversationList")}catch(t){o.IS_PROD,n.setView("welcome")}finally{n.setLoading(!1)}})()}},56113:function(t,i,n){"use strict";var r=n(82758),o=n(65478),s=n(2748),a=n(580),l=n(21537),u=n(41409);n(37467);var c=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let d="table_processor_observer-resize";class h extends u.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(()=>{s.Dom.safeRemove(this.resizeHandler)},{timeout:this.j.defaultTimeout,label:"hideResizer"})}onHandleMouseDown(t){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=t.clientX,this.j.lock(d),this.resizeHandler.classList.add("jodit-table-resizer_moved");let i,n=this.workTable.getBoundingClientRect();if(this.minX=0,this.maxX=1e6,null!=this.wholeTable)n=this.workTable.parentNode.getBoundingClientRect(),this.minX=n.left,this.maxX=this.minX+n.width;else{let t=this.module.formalCoordinate(this.workTable,this.workCell,!0);this.module.formalMatrix(this.workTable,(n,o,s)=>{t[1]===s&&(i=n.getBoundingClientRect(),this.minX=Math.max(i.left+r.NEARBY/2,this.minX)),t[1]+(this.isRTL?-1:1)===s&&(i=n.getBoundingClientRect(),this.maxX=Math.min(i.left+i.width-r.NEARBY/2,this.maxX))})}return!1}onMouseMove(t){if(!this.drag)return;this.j.e.fire("closeAllPopups");let i=t.clientX,n=(0,l.offset)(this.resizeHandler.parentNode||this.j.od.documentElement,this.j,this.j.od,!0);i<this.minX&&(i=this.minX),i>this.maxX&&(i=this.maxX),this.resizeDelta=i-this.startX+(this.j.o.iframe?n.left:0),this.resizeHandler.style.left=i-(this.j.o.iframe?0:n.left)+"px";let r=this.j.s.sel;r&&r.removeAllRanges()}onMouseUp(t){(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!==t.clientX&&(null==this.wholeTable?this.resizeColumns():this.resizeTable()),this.j.synchronizeValues(),this.j.s.focus())}resizeColumns(){let t=this.resizeDelta,i=[],n=this.module;n.setColumnWidthByDelta(this.workTable,n.formalCoordinate(this.workTable,this.workCell,!0)[1],t,!0,i);let r=(0,l.call)(this.isRTL?s.Dom.prev:s.Dom.next,this.workCell,s.Dom.isCell,this.workCell.parentNode);n.setColumnWidthByDelta(this.workTable,n.formalCoordinate(this.workTable,r)[1],-t,!1,i)}resizeTable(){let t=this.resizeDelta*(this.isRTL?-1:1),i=this.workTable.offsetWidth,n=(0,l.getContentWidth)(this.workTable.parentNode,this.j.ew),r=!this.wholeTable;if(this.isRTL?!r:r)this.workTable.style.width=(i+t)/n*100+"%";else{let r=this.isRTL?"marginRight":"marginLeft",o=parseInt(this.j.ew.getComputedStyle(this.workTable)[r]||"0",10);this.workTable.style.width=(i-t)/n*100+"%",this.workTable.style[r]=(o+t)/n*100+"%"}}setWorkCell(t,i=null){this.wholeTable=i,this.workCell=t,this.workTable=s.Dom.up(t,t=>s.Dom.isTag(t,"table"),this.j.editor)}calcHandlePosition(t,i,n=0,o=0){let a=(0,l.offset)(i,this.j,this.j.ed);if(n>r.NEARBY&&n<a.width-r.NEARBY)return void this.hideResizeHandle();let u=(0,l.offset)(this.j.workplace,this.j,this.j.od,!0),c=(0,l.offset)(t,this.j,this.j.ed);if(this.resizeHandler.style.left=(n<=r.NEARBY?a.left:a.left+a.width)-u.left+o+"px",Object.assign(this.resizeHandler.style,{height:c.height+"px",top:c.top-u.top+"px"}),this.showResizeHandle(),n<=r.NEARBY){let t=(0,l.call)(this.isRTL?s.Dom.next:s.Dom.prev,i,s.Dom.isCell,i.parentNode);this.setWorkCell(t||i,!t||null)}else{let t=(0,l.call)(this.isRTL?s.Dom.prev:s.Dom.next,i,s.Dom.isCell,i.parentNode);this.setWorkCell(i,!!t&&null)}}afterInit(t){t.o.tableAllowCellResize&&t.e.off(this.j.ow,".resize-cells").off(".resize-cells").on("change.resize-cells afterCommand.resize-cells afterSetMode.resize-cells",()=>{(0,l.$$)("table",t.editor).forEach(this.observe)}).on(this.j.ow,"scroll.resize-cells",()=>{if(!this.drag)return;let i=s.Dom.up(this.workCell,t=>s.Dom.isTag(t,"table"),t.editor);if(i){let t=i.getBoundingClientRect();this.resizeHandler.style.top=t.top+"px"}}).on("beforeSetMode.resize-cells",()=>{let i=this.module;i.getAllSelectedCells().forEach(n=>{i.removeSelection(n),i.normalizeTable(s.Dom.closest(n,"table",t.editor))})})}observe(t){(0,l.dataBind)(t,d)||((0,l.dataBind)(t,d,!0),this.j.e.on(t,"mouseleave.resize-cells",t=>{this.resizeHandler&&this.resizeHandler!==t.relatedTarget&&this.hideResizeHandle()}).on(t,"mousemove.resize-cells touchmove.resize-cells",this.j.async.throttle(i=>{if(this.j.isLocked)return;let n=s.Dom.up(i.target,s.Dom.isCell,t);n&&this.calcHandlePosition(t,n,i.offsetX)},{timeout:this.j.defaultTimeout})),this.createResizeHandle())}beforeDestruct(t){t.events&&(t.e.off(this.j.ow,".resize-cells"),t.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],h.prototype,"onHandleMouseDown",null),c([o.autobind],h.prototype,"onMouseMove",null),c([o.autobind],h.prototype,"onMouseUp",null),c([o.autobind],h.prototype,"observe",null),a.pluginSystem.add("resizeCells",h)},56175:function(t,i,n){"use strict";n.d(i,{getContentWidth:function(){return r.getContentWidth},getScrollParent:function(){return o.getScrollParent},innerWidth:function(){return s.innerWidth},offset:function(){return l.offset},position:function(){return u.position},size:function(){return a.size}});var r=n(44506),o=n(16442),s=n(81630),a=n(21496),l=n(81284),u=n(5700)},56293:function(t,i,n){"use strict";n.d(i,{execute:function(){return a}});var r=n(77688),o=n(6689),s=n(49459);function a(t,i,n){return(0,r._)(function*(){let r=(0,s.requireString)(i,"search"),a=(0,s.requireString)(i,"replace",{allowEmpty:!0}),{useRegex:l,useSelector:u}=i;(0,o.throwIfAborted)(n);try{let i;t.s.focus(),t.s.save();let s=0;if(u){let c=function(t,i,n,r,s,a){let l=t.editor.querySelectorAll(s);if(0===l.length)return{replacements:0,message:`No elements found matching selector "${s}"`};let u=0;return l.forEach(t=>{(0,o.throwIfAborted)(a);let s=t.innerHTML,l=s;if(r)try{let t=RegExp(i,"g");s=s.replace(t,()=>(u++,n))}catch(t){throw Error(`Invalid regex pattern: ${(null==t?void 0:t.message)||"Unknown error"}`)}else{let t=i.length,r=0;for(;-1!==(r=s.indexOf(i,r));)(0,o.throwIfAborted)(a),s=s.substring(0,r)+n+s.substring(r+t),r+=n.length,u++}s!==l&&(t.innerHTML=s)}),u>0&&(t.synchronizeValues(),t.s.restore()),{replacements:u}}(t,r,a,l,u,n);s=c.replacements,i=c.message}else s=function(t,i,n,r,s,a){let l=0,u=i;if(s)try{let t=RegExp(n,"g");u=u.replace(t,()=>(l++,r))}catch(t){throw Error(`Invalid regex pattern: ${(null==t?void 0:t.message)||"Unknown error"}`)}else{let t=n.length,i=0;for(;-1!==(i=u.indexOf(n,i));)(0,o.throwIfAborted)(a),u=u.substring(0,i)+r+u.substring(i+t),i+=r.length,l++}return l>0&&(t.value=u,t.s.restore(),t.synchronizeValues()),l}(t,t.value,r,a,l,n);return{replacements:s,message:i||(s>0?`Replaced ${s} occurrence(s)`:"No matches found")}}catch(i){throw t.s.restore(),Error(`Failed to replace in document: ${(null==i?void 0:i.message)||"Unknown error"}`)}})()}},56732:function(t,i,n){"use strict";n.r(i),n.d(i,{description:function(){return o},name:function(){return r},parameters:function(){return s},requiresPermission:function(){return a}});let r="insertHTML",o="Insert or replace HTML content at the current cursor position in the editor",s=[{name:"html",type:"string",description:"HTML content to insert",required:!0},{name:"replace",type:"boolean",description:"If true, replaces current selection. If false, inserts at cursor",required:!1,default:!1}],a=!0},56825:function(t,i,n){"use strict";n.d(i,{checkRemoveUnbreakableElement:function(){return a}});var r=n(82758),o=n(2748),s=n(58940);function a(t,i,n){let a=o.Dom.findSibling(i,n);return!!(o.Dom.isElement(a)&&(o.Dom.isTag(a,r.INSEPARABLE_TAGS)||o.Dom.isEmpty(a)))&&(o.Dom.safeRemove(a),o.Dom.isTag(a,"br")&&!o.Dom.findNotEmptySibling(i,!1)&&o.Dom.after(i,t.createInside.element("br")),t.s.setCursorBefore(i),o.Dom.isTag(a,"br")&&(0,s.checkRemoveEmptyParent)(t,i,n),!0)}},56882:function(t,i,n){"use strict";n.r(i),i.default={symbols:"S\xedmbolo"}},56917:function(t,i,n){"use strict";n.d(i,{Popup:function(){return f}});var r=n(4012),o=n(65478),s=n(2748),a=n(580),l=n(21537),u=n(38837),c=n(48538),d=n(62405),h=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let p=["escape","cut","delete","backSpaceAfterDelete","beforeCommandDelete"];class f extends d.UIGroup{className(){return"Popup"}appendChildToContainer(t){let i=this.getElm("content");(0,u.assert)(i,"Content element should exist"),i.appendChild(t)}updateParentElement(t){return t!==this&&r.Component.isInstanceOf(t,f)&&(this.__childrenPopups.forEach(i=>{!t.closest(i)&&i.isOpened&&i.close()}),this.__childrenPopups.has(t)||this.j.e.on(t,"beforeClose",()=>{this.__childrenPopups.delete(t)}),this.__childrenPopups.add(t)),super.updateParentElement(t)}setContent(t){if(this.allChildren.length)throw Error("Remove children");if(r.Component.isInstanceOf(t,c.UIElement))this.append(t);else{let i=(0,l.isString)(t)?this.j.c.fromHTML(t):t;this.appendChildToContainer(i)}return this.updatePosition(),this}open(t,i=!1,n){if((0,l.markOwner)(this.jodit,this.container),this.container.classList.add(`jodit_theme_${this.jodit.o.theme}`),this.__calculateZIndex(),this.isOpened=!0,this.__addGlobalListeners(),this.__targetBound=i?this.getKeepBound(t):t,n)n.appendChild(this.container);else{let t=(0,a.getContainer)(this.jodit,f);n!==this.container.parentElement&&t.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;let t=t=>{let i=t.container.style.zIndex||t.o.zIndex;return!!i&&(this.setZIndex(1+parseInt(i.toString(),10)),!0)},{j:i}=this;if(t(i))return;let n=this.parentElement;for(;n;){if(t(n.j))return;if(n.container.style.zIndex)return void this.setZIndex(1+parseInt(n.container.style.zIndex.toString(),10));if(!n.parentElement&&n.container.parentElement){let t=c.UIElement.closestElement(n.container.parentElement,c.UIElement);if(t){n=t;continue}}n=n.parentElement}}getKeepBound(t){let i=t(),n=this.od.elementFromPoint(i.left,i.top);if(!n)return t;let r=s.Dom.isHTMLElement(n)?n:n.parentElement,o=(0,l.position)(r,this.j);return()=>{var i,n;let s=t(),a=(0,l.position)(r,this.j);return i=function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}({},s),n=n={top:s.top+(a.top-o.top),left:s.left+(a.left-o.left)},Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(n)):(function(t){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i.push.apply(i,n)}return i})(Object(n)).forEach(function(t){Object.defineProperty(i,t,Object.getOwnPropertyDescriptor(n,t))}),i}}updatePosition(){if(!this.isOpened)return this;let[t,i]=this.__calculatePosition(this.__targetBound(),this.viewBound(),(0,l.position)(this.container,this.j));return this.setMod("strategy",i),(0,l.css)(this.container,{left:t.left,top:t.top}),this.__childrenPopups.forEach(t=>t.updatePosition()),this}__throttleUpdatePosition(){this.updatePosition()}__calculatePosition(t,i,n,r=this.strategy){let o={left:t.left,right:t.left-(n.width-t.width)},s={bottom:t.top+t.height,top:t.top-n.height},a=Object.keys(o).reduce((t,i)=>t.concat(Object.keys(s).map(t=>`${i}${(0,l.ucfirst)(t)}`)),[]),u=t=>{let[i,r]=(0,l.kebabCase)(t).split("-");return{left:o[i],top:s[r],width:n.width,height:n.height}},c=t=>f.boxInView(u(r),t)?r:a.find(i=>{if(f.boxInView(u(i),t))return i})||null,d=c((0,l.position)(this.j.container,this.j));return d&&f.boxInView(u(d),i)||(d=c(i)||d||r),[u(d),d]}static boxInView(t,i){return t.top-i.top>=-2&&t.left-i.left>=-2&&i.top+i.height-(t.top+t.height)>=-2&&i.left+i.width-(t.left+t.width)>=-2}close(){return this.isOpened&&(this.isOpened=!1,this.__childrenPopups.forEach(t=>t.close()),this.j.e.fire(this,"beforeClose"),this.j.e.fire("beforePopupClose",this),this.__removeGlobalListeners(),s.Dom.safeRemove(this.container)),this}__closeOnOutsideClick(t){!this.isOpened||this.isOwnClick(t)||this.close()}isOwnClick(t){if(!t.target)return!1;let i=c.UIElement.closestElement(t.target,f);return!!(i&&(this===i||i.closest(this)))}__addGlobalListeners(){let t=this.__throttleUpdatePosition,i=this.ow;a.eventEmitter.on("closeAllPopups",this.close),this.smart&&this.j.e.on(p,this.close).on("mousedown touchstart",this.__closeOnOutsideClick).on(i,"mousedown touchstart",this.__closeOnOutsideClick),this.j.e.on("closeAllPopups",this.close).on("resize",t).on(this.container,"scroll mousewheel",t).on(i,"scroll",t).on(i,"resize",t),s.Dom.up(this.j.container,i=>{i&&this.j.e.on(i,"scroll mousewheel",t)})}__removeGlobalListeners(){let t=this.__throttleUpdatePosition,i=this.ow;a.eventEmitter.off("closeAllPopups",this.close),this.smart&&this.j.e.off(p,this.close).off("mousedown touchstart",this.__closeOnOutsideClick).off(i,"mousedown touchstart",this.__closeOnOutsideClick),this.j.e.off("closeAllPopups",this.close).off("resize",t).off(this.container,"scroll mousewheel",t).off(i,"scroll",t).off(i,"resize",t),this.j.container.isConnected&&s.Dom.up(this.j.container,i=>{i&&this.j.e.off(i,"scroll mousewheel",t)})}setZIndex(t){this.container.style.zIndex=t.toString()}render(){return`<div>
247
247
  <div class="&__content"></div>
248
- </div>`}destruct(){return this.close(),super.destruct()}constructor(t,i=!0){super(t),this.smart=i,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,l.attr)(this.container,"role","popup")}}h([o.autobind],f.prototype,"updatePosition",null),h([(0,o.throttle)(10),o.autobind],f.prototype,"__throttleUpdatePosition",null),h([o.autobind],f.prototype,"close",null),h([o.autobind],f.prototype,"__closeOnOutsideClick",null)},56967:function(t,i,n){"use strict";n.d(i,{i18n:function(){return c},sprintf:function(){return u}});var r=n(82758),o=n(70799),s=n(36409),a=n(43555),l=n(6441);let u=(t,i)=>{if(!i||!i.length)return t;let n=/%([sd])/g,r=n.exec(t),o=t,s=0;for(;r&&void 0!==i[s];)o=o.replace(r[0],i[s].toString()),s+=1,r=n.exec(t);return o};function c(t,i,n){if(!(0,o.isString)(t))throw(0,a.error)("i18n: Need string in first argument");if(!t.length)return t;let c=!!(null==n?void 0:n.debugLanguage),d={},h=t=>i&&i.length?u(t,i):t,p=(0,a.defaultLanguage)(l.Config.defaultOptions.language,l.Config.defaultOptions.language),f=(0,a.defaultLanguage)(null==n?void 0:n.language,p),m=i=>{if(!i)return;if((0,o.isString)(i[t]))return h(i[t]);let n=t.toLowerCase();if((0,o.isString)(i[n]))return h(i[n]);let r=(0,s.ucfirst)(t);if((0,o.isString)(i[r]))return h(i[r])};void 0!==r.lang[f]?d=r.lang[f]:c||(d=void 0!==r.lang[p]?r.lang[p]:r.lang.en);let g=null==n?void 0:n.i18n;if(g&&g[f]){let t=m(g[f]);if(t)return t}return m(d)||(!c&&r.lang.en&&(0,o.isString)(r.lang.en[t])&&r.lang.en[t]?h(r.lang.en[t]):c?"{"+t+"}":(r.IS_PROD,h(t)))}},57012:function(t,i,n){"use strict";n.d(i,{eventEmitter:function(){return r}});let r=new(n(98220)).EventEmitter},57034:function(t,i,n){"use strict";n.d(i,{Stack:function(){return r}});class r{get length(){return this.commands.length}clearRedo(){this.commands.length=this.stackPosition+1}clear(){this.commands.length=0,this.stackPosition=-1}push(t){this.clearRedo(),this.commands.push(t),this.stackPosition+=1,this.commands.length>this.size&&(this.commands.shift(),this.stackPosition-=1)}replace(t){this.commands[this.stackPosition]=t}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.stackPosition<this.commands.length-1}constructor(t){this.size=t,this.commands=[],this.stackPosition=-1}}},57056:function(t,i,n){"use strict";var r=n(68583),o=n.n(r),s=n(29402),a=n(6441),l=n(580),u=n(12153);a.Config.prototype.backup={interval:30,limit:50,dialogWidth:700,hotkeys:["ctrl+shift+b","cmd+shift+b"]},a.Config.prototype.controls.backup={store:{command:"saveBackup",text:"Save backup now"},restore:{tooltip:"Restore",list:["backup.store"],exec(t){t.execCommand("openBackupDialog")}}},u.Icon.set("restore",o()),(0,l.extendLang)(s)},57288:function(t,i,n){"use strict";var r=n(6441);r.Config.prototype.limitWords=!1,r.Config.prototype.limitChars=!1,r.Config.prototype.limitHTML=!1},57340:function(t,i,n){"use strict";n.d(i,{UITooltip:function(){return m}});var r,o=n(91907),s=n(65478),a=n(22732),l=n(580),u=n(5700),c=n(43555),d=n(48538),h=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let p=["scroll.tooltip","joditCloseDialog","mouseleave.tooltip"],f=["escape.tooltip","change.tooltip","changePlace.tooltip","afterOpenPopup.tooltip","hidePopup.tooltip","beforePopupClose.tooltip","closeAllPopups.tooltip"],m=r=class t extends d.UIElement{className(){return"UITooltip"}render(){return'<div><div class="&__content"></div></div>'}__onAttach(t){(0,l.getContainer)(this.j,r).appendChild(this.container),this.__attachedContainers.add(t),this.__attachedContainers.add(this.j.container),this.j.e.on(t,"mouseenter.tooltip",this.__onMouseEnter,{capture:!0}).on(t,"mouseleave.tooltip",this.__onMouseLeave,{capture:!0}).on(this.j.container,"mouseleave.tooltip",this.__onMouseLeave,{capture:!0})}__addListenersOnEnter(){if(this.__listenClose)return;this.__listenClose=!0;let t=this.j;t.e.on(t.ow,p,this.__hide).on(f,this.__hide)}__removeListenersOnLeave(){if(!this.__listenClose)return;this.__listenClose=!1;let t=this.j;t.e.off(t.ow,p,this.__hide).off(f,this.__hide)}__onMouseLeave(t){this.__currentTarget===t.target&&(this.__hideDelay(),this.__currentTarget=null)}__onMouseEnter(t){if(!a.Dom.isHTMLElement(t.target))return;let i=(0,c.attr)(t.target,"aria-label");if(!i||(0,c.attr)(t.target,"disabled")||!t.target.className.includes("jodit"))return;this.__currentTarget=t.target;let n=t.target;this.__open(()=>{let t=(0,u.position)(n);return{x:t.left+t.width/2,y:t.top+t.height}},i)}__open(t,i){this.__addListenersOnEnter(),this.__isOpened=!0,this.j.async.clearTimeout(this.__hideTimeout),this.j.async.clearTimeout(this.__delayShowTimeout);let n=this.j.o.showTooltipDelay||this.j.defaultTimeout;n?this.__delayShowTimeout=this.j.async.setTimeout(()=>this.__show(t,i),n):this.__show(t,i)}__show(t,i){this.setMod("visible",!0),this.getElm("content").innerHTML=i;let n=t();(0,c.css)(this.container,{left:n.x,top:n.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.css)(this.container,{left:-5e3}))}__hideDelay(){this.j.async.clearTimeout(this.__delayShowTimeout),this.j.async.clearTimeout(this.__hideTimeout),this.__isOpened&&(this.__hideTimeout=this.async.setTimeout(this.__hide,this.j.defaultTimeout))}destruct(){this.__attachedContainers.forEach(t=>{this.j.e.off(t,"mouseenter.tooltip",this.__onMouseEnter).off(t,"mouseleave.tooltip",this.__onMouseLeave)}),this.__hide(),super.destruct()}constructor(t){super(t),this.__isOpened=!1,this.__attachedContainers=new Set,this.__listenClose=!1,this.__currentTarget=null,this.__delayShowTimeout=0,this.__hideTimeout=0,t.o.textIcons||!t.o.showTooltip||t.o.useNativeTooltip||(this.j.e.on("getContainer",t=>{this.__onAttach(t)}),t.hookStatus(o.STATUSES.ready,()=>{this.__onAttach(this.j.container)}))}};h([s.autobind],m.prototype,"__onMouseLeave",null),h([s.autobind],m.prototype,"__onMouseEnter",null),h([s.autobind],m.prototype,"__hide",null),h([s.autobind],m.prototype,"__hideDelay",null),m=r=h([s.component],m)},57380:function(t,i,n){"use strict";n.d(i,{Uploader:function(){return u}});var r=n(91907),o=n(82758),s=n(21537),a=n(6441),l=n(94122);n(80536);class u extends r.ViewComponent{get j(){return this.jodit}className(){return"Uploader"}get o(){return this.options}setPath(t){return this.path=t,this}setSource(t){return this.source=t,this}bind(t,i,n){let r=()=>{t.classList.remove("jodit_drag_hover")},s=this,a=t=>{let a,u,c,d=t.clipboardData,h=t=>{u&&(t.append("extension",c),t.append("mimetype",u.type))};if(!o.IS_IE&&(0,l.hasFiles)(d))return(0,l.sendFiles)(s,d.files,i,n).finally(r),!1;if(o.IS_IE&&!o.IS_ES_NEXT)return(0,l.processOldBrowserDrag)(s,d,i,n,r);if((0,l.hasItems)(d)){let{items:o}=d;for(a=0;a<o.length;a+=1)if("file"===o[a].kind&&"image/png"===o[a].type){if(u=o[a].getAsFile()){let t=u.type.match(/\/([a-z0-9]+)/i);c=t[1]?t[1].toLowerCase():"",(0,l.sendFiles)(s,[u],i,n,h).finally(r)}t.preventDefault();break}}};s.j&&s.j.editor!==t?s.j.e.on(t,"paste",a):s.j.e.on("beforePaste",a),this.attachEvents(t,i,n,r)}attachEvents(t,i,n,r){let o=this;o.j.e.on(t,"dragend dragover dragenter dragleave drop",t=>{t.preventDefault()}).on(t,"dragover",i=>{((0,l.hasFiles)(i.dataTransfer)||(0,l.hasItems)(i.dataTransfer))&&(t.classList.add("jodit_drag_hover"),i.preventDefault())}).on(t,"dragend dragleave",i=>{t.classList.remove("jodit_drag_hover"),(0,l.hasFiles)(i.dataTransfer)&&i.preventDefault()}).on(t,"drop",s=>{t.classList.remove("jodit_drag_hover"),(0,l.hasFiles)(s.dataTransfer)&&(s.preventDefault(),s.stopImmediatePropagation(),(0,l.sendFiles)(o,s.dataTransfer.files,i,n).finally(r))});let s=t.querySelector("input[type=file]");s&&o.j.e.on(s,"change",()=>{(0,l.sendFiles)(o,s.files,i,n).then(()=>{s.value="",/safari/i.test(navigator.userAgent)||(s.type="",s.type="file")}).finally(r)})}uploadRemoteImage(t,i,n){let r=this,{o}=r,a=(0,s.isFunction)(n)?n:o.defaultHandlerError;(0,l.send)(r,{action:"fileUploadRemote",url:t}).then(t=>{o.isSuccess.call(r,t)?((0,s.isFunction)(i)?i:o.defaultHandlerSuccess).call(r,o.process.call(r,t)):a.call(r,(0,s.error)(o.getMessage.call(r,t)))}).catch(t=>a.call(r,t))}upload(t){return this.async.promise((i,n)=>{(0,l.sendFiles)(this,t,i,n)})}destruct(){this.setStatus(r.STATUSES.beforeDestruct);let t=l.ajaxInstances.get(this);t&&(t.forEach(t=>{try{t.destruct()}catch(t){}}),t.clear()),super.destruct()}constructor(t,i){super(t),this.path="",this.source="default",this.options=(0,s.ConfigProto)(i||{},(0,s.ConfigProto)(a.Config.defaultOptions.uploader,(0,s.isJoditObject)(t)?t.o.uploader:{}))}}},57459:function(t,i,n){"use strict";n(6441).Config.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(){return new XMLHttpRequest}}},57487:function(t,i){"use strict";i.default='<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> '},57855:function(t,i,n){"use strict";n.r(i),i.default={symbols:"символ"}},57865:function(t,i,n){"use strict";n.d(i,{OptionsError:function(){return r}});class r extends TypeError{constructor(t){super(t),Object.setPrototypeOf(this,r.prototype)}}},57882:function(t,i){"use strict";i.default='<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:function(t,i,n){"use strict";var r=n(86583),o=n(12153),s=n(6441),a=n(13465),l=n(50267);let u=(t,i,{control:n})=>{var o;let s=`button${n.command}`,a=null!=(o=n.args&&n.args[0])?o:(0,r.dataBind)(t,s);(0,r.dataBind)(t,s,a),t.execCommand(n.command,!1,"default"===a?null:a)};o.Icon.set("ol",a.default).set("ul",l.default),s.Config.prototype.controls.ul={command:"insertUnorderedList",tags:["ul"],tooltip:"Insert Unordered List",list:{default:"Default",circle:"Circle",disc:"Dot",square:"Quadrate"},exec:u},s.Config.prototype.controls.ol={command:"insertOrderedList",tags:["ol"],tooltip:"Insert Ordered List",list:{default:"Default","lower-alpha":"Lower Alpha","lower-greek":"Lower Greek","lower-roman":"Lower Roman","upper-alpha":"Upper Alpha","upper-roman":"Upper Roman"},exec:u}},58032:function(t,i){"use strict";i.default='<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:function(t,i,n){"use strict";n.d(i,{colorToHex:function(){return r.colorToHex}});var r=n(35278)},58285:function(t,i,n){"use strict";n.r(i),i.default={symbols:"тэмдэгт"}},58366:function(t){t.exports={"Show Blocks":"显示块"}},58487:function(t,i,n){"use strict";n.d(i,{isHTML:function(){return o}});var r=n(70799);let o=t=>(0,r.isString)(t)&&/<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(t.replace(/[\r\n]/g,""))},58519:function(t,i,n){"use strict";var r=n(82758),o=n(22732),s=n(580),a=n(96325),l=n(11628),u=n(12153),c=n(6441),d=n(14625),h=n(17583);u.Icon.set("print",h.default),c.Config.prototype.controls.print={exec:t=>{let i=t.create.element("iframe");Object.assign(i.style,{position:"fixed",right:0,bottom:0,width:0,height:0,border:0}),(0,s.getContainer)(t,c.Config).appendChild(i);let n=()=>{t.e.off(t.ow,"mousemove",n),o.Dom.safeRemove(i)},r=i.contentWindow;if(r){t.e.on(r,"onbeforeunload onafterprint",n).on(t.ow,"mousemove",n),t.o.iframe?(t.e.fire("generateDocumentStructure.iframe",r.document,t),r.document.body.innerHTML=t.value):(r.document.write('<!doctype html><html lang="'+(0,a.defaultLanguage)(t.o.language)+'"><head><title></title></head><style>'+(0,d.generateCriticalCSS)(t)+"</style><body></body></html>"),r.document.close(),(0,l.previewBox)(t,void 0,"px",r.document.body));let i=r.document.createElement("style");i.innerHTML=`@media print {
248
+ </div>`}destruct(){return this.close(),super.destruct()}constructor(t,i=!0){super(t),this.smart=i,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,l.attr)(this.container,"role","popup")}}h([o.autobind],f.prototype,"updatePosition",null),h([(0,o.throttle)(10),o.autobind],f.prototype,"__throttleUpdatePosition",null),h([o.autobind],f.prototype,"close",null),h([o.autobind],f.prototype,"__closeOnOutsideClick",null)},56967:function(t,i,n){"use strict";n.d(i,{i18n:function(){return c},sprintf:function(){return u}});var r=n(82758),o=n(70799),s=n(36409),a=n(43555),l=n(6441);let u=(t,i)=>{if(!i||!i.length)return t;let n=/%([sd])/g,r=n.exec(t),o=t,s=0;for(;r&&void 0!==i[s];)o=o.replace(r[0],i[s].toString()),s+=1,r=n.exec(t);return o};function c(t,i,n){if(!(0,o.isString)(t))throw(0,a.error)("i18n: Need string in first argument");if(!t.length)return t;let c=!!(null==n?void 0:n.debugLanguage),d={},h=t=>i&&i.length?u(t,i):t,p=(0,a.defaultLanguage)(l.Config.defaultOptions.language,l.Config.defaultOptions.language),f=(0,a.defaultLanguage)(null==n?void 0:n.language,p),m=i=>{if(!i)return;if((0,o.isString)(i[t]))return h(i[t]);let n=t.toLowerCase();if((0,o.isString)(i[n]))return h(i[n]);let r=(0,s.ucfirst)(t);if((0,o.isString)(i[r]))return h(i[r])};void 0!==r.lang[f]?d=r.lang[f]:c||(d=void 0!==r.lang[p]?r.lang[p]:r.lang.en);let g=null==n?void 0:n.i18n;if(g&&g[f]){let t=m(g[f]);if(t)return t}return m(d)||(!c&&r.lang.en&&(0,o.isString)(r.lang.en[t])&&r.lang.en[t]?h(r.lang.en[t]):c?"{"+t+"}":(r.IS_PROD,h(t)))}},57012:function(t,i,n){"use strict";n.d(i,{eventEmitter:function(){return r}});let r=new(n(98220)).EventEmitter},57034:function(t,i,n){"use strict";n.d(i,{Stack:function(){return r}});class r{get length(){return this.commands.length}clearRedo(){this.commands.length=this.stackPosition+1}clear(){this.commands.length=0,this.stackPosition=-1}push(t){this.clearRedo(),this.commands.push(t),this.stackPosition+=1,this.commands.length>this.size&&(this.commands.shift(),this.stackPosition-=1)}replace(t){this.commands[this.stackPosition]=t}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.stackPosition<this.commands.length-1}constructor(t){this.size=t,this.commands=[],this.stackPosition=-1}}},57056:function(t,i,n){"use strict";var r=n(68583),o=n.n(r),s=n(29402),a=n(6441),l=n(580),u=n(12153);a.Config.prototype.backup={interval:30,limit:50,dialogWidth:700,hotkeys:["ctrl+shift+b","cmd+shift+b"]},a.Config.prototype.controls.backup={store:{command:"saveBackup",text:"Save backup now"},restore:{tooltip:"Restore",list:["backup.store"],exec(t){t.execCommand("openBackupDialog")}}},u.Icon.set("restore",o()),(0,l.extendLang)(s)},57288:function(t,i,n){"use strict";var r=n(6441);r.Config.prototype.limitWords=!1,r.Config.prototype.limitChars=!1,r.Config.prototype.limitHTML=!1},57340:function(t,i,n){"use strict";n.d(i,{UITooltip:function(){return m}});var r,o=n(91907),s=n(65478),a=n(22732),l=n(580),u=n(5700),c=n(43555),d=n(48538),h=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let p=["scroll.tooltip","joditCloseDialog","mouseleave.tooltip"],f=["escape.tooltip","change.tooltip","changePlace.tooltip","afterOpenPopup.tooltip","hidePopup.tooltip","beforePopupClose.tooltip","closeAllPopups.tooltip"],m=r=class t extends d.UIElement{className(){return"UITooltip"}render(){return'<div><div class="&__content"></div></div>'}__onAttach(t){(0,l.getContainer)(this.j,r).appendChild(this.container),this.__attachedContainers.add(t),this.__attachedContainers.add(this.j.container),this.j.e.on(t,"mouseenter.tooltip",this.__onMouseEnter,{capture:!0}).on(t,"mouseleave.tooltip",this.__onMouseLeave,{capture:!0}).on(this.j.container,"mouseleave.tooltip",this.__onMouseLeave,{capture:!0})}__addListenersOnEnter(){if(this.__listenClose)return;this.__listenClose=!0;let t=this.j;t.e.on(t.ow,p,this.__hide).on(f,this.__hide)}__removeListenersOnLeave(){if(!this.__listenClose)return;this.__listenClose=!1;let t=this.j;t.e.off(t.ow,p,this.__hide).off(f,this.__hide)}__onMouseLeave(t){this.__currentTarget===t.target&&(this.__hideDelay(),this.__currentTarget=null)}__onMouseEnter(t){if(!a.Dom.isHTMLElement(t.target))return;let i=(0,c.attr)(t.target,"aria-label");if(!i||(0,c.attr)(t.target,"disabled")||!t.target.className.includes("jodit"))return;this.__currentTarget=t.target;let n=t.target;this.__open(()=>{let t=(0,u.position)(n);return{x:t.left+t.width/2,y:t.top+t.height}},i)}__open(t,i){this.__addListenersOnEnter(),this.__isOpened=!0,this.j.async.clearTimeout(this.__hideTimeout),this.j.async.clearTimeout(this.__delayShowTimeout);let n=this.j.o.showTooltipDelay||this.j.defaultTimeout;n?this.__delayShowTimeout=this.j.async.setTimeout(()=>this.__show(t,i),n):this.__show(t,i)}__show(t,i){this.setMod("visible",!0),this.getElm("content").innerHTML=i;let n=t();(0,c.css)(this.container,{left:n.x,top:n.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.css)(this.container,{left:-5e3}))}__hideDelay(){this.j.async.clearTimeout(this.__delayShowTimeout),this.j.async.clearTimeout(this.__hideTimeout),this.__isOpened&&(this.__hideTimeout=this.async.setTimeout(this.__hide,this.j.defaultTimeout))}destruct(){this.__attachedContainers.forEach(t=>{this.j.e.off(t,"mouseenter.tooltip",this.__onMouseEnter).off(t,"mouseleave.tooltip",this.__onMouseLeave)}),this.__hide(),super.destruct()}constructor(t){super(t),this.__isOpened=!1,this.__attachedContainers=new Set,this.__listenClose=!1,this.__currentTarget=null,this.__delayShowTimeout=0,this.__hideTimeout=0,t.o.textIcons||!t.o.showTooltip||t.o.useNativeTooltip||(this.j.e.on("getContainer",t=>{this.__onAttach(t)}),t.hookStatus(o.STATUSES.ready,()=>{this.__onAttach(this.j.container)}))}};h([s.autobind],m.prototype,"__onMouseLeave",null),h([s.autobind],m.prototype,"__onMouseEnter",null),h([s.autobind],m.prototype,"__hide",null),h([s.autobind],m.prototype,"__hideDelay",null),m=r=h([s.component],m)},57380:function(t,i,n){"use strict";n.d(i,{Uploader:function(){return u}});var r=n(91907),o=n(82758),s=n(21537),a=n(6441),l=n(94122);n(80536);class u extends r.ViewComponent{get j(){return this.jodit}className(){return"Uploader"}get o(){return this.options}setPath(t){return this.path=t,this}setSource(t){return this.source=t,this}bind(t,i,n){let r=()=>{t.classList.remove("jodit_drag_hover")},s=this,a=t=>{let a,u,c,d=t.clipboardData,h=t=>{u&&(t.append("extension",c),t.append("mimetype",u.type))};if(!o.IS_IE&&(0,l.hasFiles)(d))return(0,l.sendFiles)(s,d.files,i,n).finally(r),!1;if(o.IS_IE&&!o.IS_ES_NEXT)return(0,l.processOldBrowserDrag)(s,d,i,n,r);if((0,l.hasItems)(d)){let{items:o}=d;for(a=0;a<o.length;a+=1)if("file"===o[a].kind&&"image/png"===o[a].type){if(u=o[a].getAsFile()){let t=u.type.match(/\/([a-z0-9]+)/i);c=t[1]?t[1].toLowerCase():"",(0,l.sendFiles)(s,[u],i,n,h).finally(r)}t.preventDefault();break}}};s.j&&s.j.editor!==t?s.j.e.on(t,"paste",a):s.j.e.on("beforePaste",a),this.attachEvents(t,i,n,r)}attachEvents(t,i,n,r){let o=this;o.j.e.on(t,"dragend dragover dragenter dragleave drop",t=>{t.preventDefault()}).on(t,"dragover",i=>{((0,l.hasFiles)(i.dataTransfer)||(0,l.hasItems)(i.dataTransfer))&&(t.classList.add("jodit_drag_hover"),i.preventDefault())}).on(t,"dragend dragleave",i=>{t.classList.remove("jodit_drag_hover"),(0,l.hasFiles)(i.dataTransfer)&&i.preventDefault()}).on(t,"drop",s=>{t.classList.remove("jodit_drag_hover"),(0,l.hasFiles)(s.dataTransfer)&&(s.preventDefault(),s.stopImmediatePropagation(),(0,l.sendFiles)(o,s.dataTransfer.files,i,n).finally(r))});let s=t.querySelector("input[type=file]");s&&o.j.e.on(s,"change",()=>{(0,l.sendFiles)(o,s.files,i,n).then(()=>{s.value="",/safari/i.test(navigator.userAgent)||(s.type="",s.type="file")}).finally(r)})}uploadRemoteImage(t,i,n){let r=this,{o}=r,a=(0,s.isFunction)(n)?n:o.defaultHandlerError;(0,l.send)(r,{action:"fileUploadRemote",url:t}).then(t=>{o.isSuccess.call(r,t)?((0,s.isFunction)(i)?i:o.defaultHandlerSuccess).call(r,o.process.call(r,t)):a.call(r,(0,s.error)(o.getMessage.call(r,t)))}).catch(t=>a.call(r,t))}upload(t){return this.async.promise((i,n)=>{(0,l.sendFiles)(this,t,i,n)})}destruct(){this.setStatus(r.STATUSES.beforeDestruct);let t=l.ajaxInstances.get(this);t&&(t.forEach(t=>{try{t.destruct()}catch(t){}}),t.clear()),super.destruct()}constructor(t,i){super(t),this.path="",this.source="default",this.options=(0,s.ConfigProto)(i||{},(0,s.ConfigProto)(a.Config.defaultOptions.uploader,(0,s.isJoditObject)(t)?t.o.uploader:{}))}}},57459:function(t,i,n){"use strict";n(6441).Config.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(){return new XMLHttpRequest}}},57487:function(t,i){"use strict";i.default='<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> '},57855:function(t,i,n){"use strict";n.r(i),i.default={symbols:"символ"}},57865:function(t,i,n){"use strict";n.d(i,{OptionsError:function(){return r}});class r extends TypeError{constructor(t){super(t),Object.setPrototypeOf(this,r.prototype)}}},57882:function(t,i){"use strict";i.default='<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:function(t,i,n){"use strict";var r=n(86583),o=n(12153),s=n(6441),a=n(13465),l=n(50267);let u=(t,i,{control:n})=>{var o;let s=`button${n.command}`,a=null!=(o=n.args&&n.args[0])?o:(0,r.dataBind)(t,s);(0,r.dataBind)(t,s,a),t.execCommand(n.command,!1,"default"===a?null:a)};o.Icon.set("ol",a.default).set("ul",l.default),s.Config.prototype.controls.ul={command:"insertUnorderedList",tags:["ul"],tooltip:"Insert Unordered List",list:{default:"Default",circle:"Circle",disc:"Dot",square:"Quadrate"},exec:u},s.Config.prototype.controls.ol={command:"insertOrderedList",tags:["ol"],tooltip:"Insert Ordered List",list:{default:"Default","lower-alpha":"Lower Alpha","lower-greek":"Lower Greek","lower-roman":"Lower Roman","upper-alpha":"Upper Alpha","upper-roman":"Upper Roman"},exec:u}},58032:function(t,i){"use strict";i.default='<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:function(t,i,n){"use strict";n.d(i,{colorToHex:function(){return r.colorToHex}});var r=n(35278)},58285:function(t,i,n){"use strict";n.r(i),i.default={symbols:"тэмдэгт"}},58366:function(t){t.exports={"Show Blocks":"显示块"}},58475:function(t,i,n){"use strict";var r=n(54296),o=n(18993),s=n.n(o),a=n(6441);a.Config.prototype.contentTemplates={definitions:[]},a.Config.prototype.controls.templates={tooltip:"Templates",icon:s(),isDisabled(t){return!t.o.contentTemplates.definitions.length},exec(){return!1},popup(t,i,n){let o=t.o.contentTemplates.definitions;if(!o.length)return!1;t.s.current()||t.s.focus(),t.s.save();let s=(0,r.buildTemplatesPopup)(t,o,()=>{t.s.restore(),n()});return t.e.one("beforePopupClose",()=>{t.s.restore()}),s}}},58487:function(t,i,n){"use strict";n.d(i,{isHTML:function(){return o}});var r=n(70799);let o=t=>(0,r.isString)(t)&&/<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(t.replace(/[\r\n]/g,""))},58519:function(t,i,n){"use strict";var r=n(82758),o=n(22732),s=n(580),a=n(96325),l=n(11628),u=n(12153),c=n(6441),d=n(14625),h=n(17583);u.Icon.set("print",h.default),c.Config.prototype.controls.print={exec:t=>{let i=t.create.element("iframe");Object.assign(i.style,{position:"fixed",right:0,bottom:0,width:0,height:0,border:0}),(0,s.getContainer)(t,c.Config).appendChild(i);let n=()=>{t.e.off(t.ow,"mousemove",n),o.Dom.safeRemove(i)},r=i.contentWindow;if(r){t.e.on(r,"onbeforeunload onafterprint",n).on(t.ow,"mousemove",n),t.o.iframe?(t.e.fire("generateDocumentStructure.iframe",r.document,t),r.document.body.innerHTML=t.value):(r.document.write('<!doctype html><html lang="'+(0,a.defaultLanguage)(t.o.language)+'"><head><title></title></head><style>'+(0,d.generateCriticalCSS)(t)+"</style><body></body></html>"),r.document.close(),(0,l.previewBox)(t,void 0,"px",r.document.body));let i=r.document.createElement("style");i.innerHTML=`@media print {
249
249
  body {
250
250
  -webkit-print-color-adjust: exact;
251
251
  }
@@ -421,7 +421,7 @@ ${s}`.trim();n?yield this.__executeQuickCommandSilent(u,s):yield this.__executeQ
421
421
  scr.src = 'https://maps.googleapis.com/maps/api/js?key=${t.o.googleMaps.API_KEY}&language=${t.o.language}&callback=CreateGMap${i.uid}';
422
422
  document.appendChild(scr);
423
423
  }
424
- /*]]>*/</script>`.replace(/[\n\t]+/g,"")}},61872:function(t,i,n){"use strict";n.d(i,{processArtifacts:function(){return d},processFinalResponse:function(){return c},processStreamingResponse:function(){return u}});var r=n(89929),o=n(77688),s=n(56075),a=n(11886),l=n(61558);function u(t,i,n){return(0,o._)(function*(){let o=(0,l.createAIMessage)(),u=-1;var c,d=!1,h=!1;try{for(var p,f=(0,r._)(i.stream);d=!(p=yield f.next()).done;d=!1){let i=p.value;switch(i.type){case"created":o=(0,a._)((0,s._)({},o),{id:i.response.responseId,content:""}),u=n.messages.length;break;case"text-delta":o=(0,a._)((0,s._)({},o),{content:o.content+i.delta});break;case"completed":o=(0,a._)((0,s._)({},o),{id:i.response.responseId,toolCalls:i.response.toolCalls||[],artifacts:i.response.artifacts||[]});break;case"error":{let t=(0,l.createErrorMessage)(i.error);o=(0,a._)((0,s._)({},o),{id:t.id,content:t.content})}}if(o.id){let i=n.messages.slice();i[u>=0?u:n.messages.length]=o,n=(0,a._)((0,s._)({},n),{messages:i,updated:Date.now()}),t.setCurrentConversation(n)}}}catch(t){h=!0,c=t}finally{try{d&&null!=f.return&&(yield f.return())}finally{if(h)throw c}}return{aiMessage:o,index:u,conversation:n}})()}function c(t,i){let n=(0,a._)((0,s._)({},(0,l.createAIMessage)()),{id:t.response.responseId,content:t.response.content,toolCalls:t.response.toolCalls||[],artifacts:t.response.artifacts||[]}),r=i.messages.slice();return r.push(n),{aiMessage:n,index:(i=(0,a._)((0,s._)({},i),{messages:r,updated:Date.now()})).messages.length-1,conversation:i}}function d(t,i,n,r){return(0,o._)(function*(){if(i.artifacts&&i.artifacts.length>0){let o=n.messages.slice();return o[r]=(0,a._)((0,s._)({},o[r]),{artifacts:yield(0,l.uploadArtifacts)(t,i.artifacts)}),(0,a._)((0,s._)({},n),{messages:o,updated:Date.now()})}return n})()}},61926:function(t,i,n){"use strict";var r=n(6441);r.Config.prototype.showPlaceholder=!0,r.Config.prototype.placeholder="Type something",r.Config.prototype.useInputsPlaceholder=!0},61991:function(t,i,n){"use strict";n.d(i,{checkUnsplittableBox:function(){return o}});var r=n(2748);function o(t,i,n){return!!r.Dom.canSplitBlock(n)||(r.Dom.before(t,i.createInside.element("br")),!1)}},62e3:function(t,i,n){"use strict";var r=n(27613),o=n(41180);let s=t=>t.args&&(0,r.isString)(t.args[0])?t.args[0].toLowerCase():"";i.default=["brushCell",{name:"valign",list:["Top","Middle","Bottom","Normal"],childTemplate:(t,i,n)=>n,exec:(t,i,{control:n})=>{let r=s(n);t.getInstance("Table",t.o).getAllSelectedCells().forEach(t=>{(0,o.css)(t,"vertical-align","normal"===r?"":r)})},tooltip:"Vertical align"},{name:"splitv",list:{tablesplitv:"Split vertical",tablesplitg:"Split horizontal"},tooltip:"Split"},{name:"align",icon:"left"},"\n",{name:"merge",command:"tablemerge",tooltip:"Merge"},{name:"addcolumn",list:{tableaddcolumnbefore:"Insert column before",tableaddcolumnafter:"Insert column after"},exec:(t,i,{control:n})=>{if(!(0,r.isJoditObject)(t))return;if(!n.args)return!1;let o=s(n);t.execCommand(o,!1,i)},tooltip:"Add column"},{name:"addrow",list:{tableaddrowbefore:"Insert row above",tableaddrowafter:"Insert row below"},exec:(t,i,{control:n})=>{if(!(0,r.isJoditObject)(t))return;if(!n.args)return!1;let o=s(n);t.execCommand(o,!1,i)},tooltip:"Add row"},{name:"delete",icon:"bin",list:{tablebin:"Delete table",tablebinrow:"Delete row",tablebincolumn:"Delete column",tableempty:"Empty cell"},exec:(t,i,{control:n})=>{if(!(0,r.isJoditObject)(t))return;if(!n.args)return!1;let o=s(n);t.execCommand(o,!1,i),t.e.fire("hidePopup")},tooltip:"Delete"}]},62232:function(t,i){"use strict";i.default={"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 \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Tutti i diritti riservati.",Anchor:"Link","Open in new tab":"Apri in una nuova scheda","Open in fullsize":"Apri l'editor a schermo intero","Clear Formatting":"Pulisci Formattazione","Fill color or set the text color":"Colore di sfondo o del testo",Redo:"Ripristina",Undo:"Annulla",Bold:"Grassetto",Italic:"Corsivo","Insert Unordered List":"Inserisci lista non ordinata","Insert Ordered List":"Inserisci lista ordinata","Align Center":"Allinea al centro","Align Justify":"Allineamento Giustificato","Align Left":"Allinea a Sinistra","Align Right":"Allinea a Destra","Insert Horizontal Line":"Inserisci una linea orizzontale","Insert Image":"Inserisci immagine","Insert file":"Inserisci un file","Insert youtube/vimeo video":"Inserisci video Youtube/Vimeo","Insert link":"Inserisci link","Font size":"Dimensione carattere","Font family":"Tipo di font","Insert format block":"Inserisci blocco",Normal:"Normale","Heading 1":"Intestazione 1","Heading 2":"Intestazione 2","Heading 3":"Intestazione 3","Heading 4":"Intestazione 4",Quote:"Citazione",Code:"Codice",Insert:"Inserisci","Insert table":"Inserisci tabella","Decrease Indent":"Riduci il rientro","Increase Indent":"Aumenta il rientro","Select Special Character":"Seleziona un carattere speciale","Insert Special Character":"Inserisci un carattere speciale","Paint format":"Copia formato","Change mode":"Cambia modalita'",Margins:"Margini",top:"su",right:"destra",bottom:"gi\xf9",left:"sinistra",Styles:"Stili CSS",Classes:"Classi CSS",Align:"Allinea",Right:"Destra",Center:"Centro",Left:"Sinistra","--Not Set--":"--Non Impostato--",Src:"Fonte",Title:"Titolo",Alternative:"Testo Alternativo",Link:"Link","Open link in new tab":"Apri il link in una nuova scheda",Image:"Immagine",file:"Archivio","Image properties":"Propriet\xe0 dell'immagine",Cancel:"Annulla",Ok:"Accetta","Your code is similar to HTML. Keep as HTML?":"Il codice \xe8 simile all'HTML. Mantieni come HTML?","Paste as HTML":"Incolla come HTML",Keep:"Mantieni",Clean:"Pulisci","Insert as Text":"Inserisci come testo","Word Paste Detected":"Incolla testo da Word rilevato","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Il contenuto incollato proviene da un documento Microsoft Word / Excel. Vuoi mantenere il formato o pulirlo?","Insert only Text":"Inserisci solo il testo","File Browser":"Cerca file","Error on load list":"Errore durante il caricamento dell'elenco","Error on load folders":"Errore durante il caricamento delle cartelle","Are you sure?":"Sei sicuro?","Enter Directory name":"Inserisci il nome della cartella","Create directory":"Crea cartella","type name":"Digita il nome","Drop image":"Cancella immagine","Drop file":"Cancella file","or click":"o clicca","Alternative text":"Testo alternativo",Browse:"Sfoglia",Upload:"Carica",Background:"Sfondo",Text:"Testo",Top:"Su",Middle:"Centro",Bottom:"Sotto","Insert column before":"Inserisci la colonna prima","Insert column after":"Inserisci la colonna dopo","Insert row above":"Inserisci la riga sopra","Insert row below":"Inserisci la riga sotto","Delete table":"Elimina tabella","Delete row":"Elimina riga","Delete column":"Elimina colonna","Empty cell":"Cella vuota",Delete:"Cancella","Strike through":"Barrato",Underline:"Sottolineato",Break:"Pausa","Search for":"Cerca per","Replace with":"Sostituisci con",Replace:"Sostituisci",Edit:"Modifica","Vertical align":"Allineamento verticala","Horizontal align":"Allineamento orizzontale",Filter:"Filtro","Sort by changed":"Ordina per data di modifica","Sort by name":"Ordina per nome","Sort by size":"Ordina per dimensione","Add folder":"Aggiungi cartella",Split:"Dividi","Split vertical":"Dividi verticalmente","Split horizontal":"Dividi orizzontale",Merge:"Fondi","Add column":"Aggiungi colonna","Add row":"Aggiungi riga",Border:"Bordo","Embed code":"Includi codice",Update:"Aggiorna",superscript:"indice",subscript:"pedice","Cut selection":"Taglia selezione",Paste:"Incolla","Choose Content to Paste":"Seleziona il contenuto da incollare","Chars: %d":"Caratteri: %d","Words: %d":"Parole: %d",All:"Tutto","Select %s":"Seleziona: %s","Select all":"Seleziona tutto",source:"risorsa",bold:"Grassetto",italic:"Corsivo",brush:"Pennello",link:"Link",undo:"Annulla",redo:"Ripristina",table:"Tabella",image:"Immagine",eraser:"Gomma",paragraph:"Paragrafo",fontsize:"Dimensione del carattere",video:"Video",font:"Font",about:"Approposito di",print:"Stampa",underline:"Sottolineato",strikethrough:"Barrato",indent:"aumenta rientro",outdent:"riduci rientro",fullsize:"espandi",shrink:"comprimi",hr:"linea orizzontale",ul:"lista non ordinata",ol:"lista ordinata",cut:"Taglia",selectall:"Seleziona tutto","Open link":"Apri link","Edit link":"Modifica link","No follow":"Non seguire",Unlink:"Rimuovi link",Eye:"Recensione",pencil:"Per modificare"," URL":" URL",Reset:"Reset",Save:"Salva","Save as ...":"Salva con nome...",Resize:"Ridimensiona",Crop:"Ritaglia",Width:"Larghezza",Height:"Altezza","Keep Aspect Ratio":"Mantieni le proporzioni",Yes:"Si",No:"No",Remove:"Rimuovi",Select:"Seleziona","You can only edit your own images. Download this image on the host?":"Puoi modificare solo le tue immagini. Vuoi scaricare questa immagine dal server?","The image has been successfully uploaded to the host!":"L'immagine \xe8 stata caricata correttamente sul server!",palette:"tavolozza","There are no files":"Non ci sono file in questa directory.",Rename:"Rinomina","Enter new name":"Inserisci un nuovo nome",preview:"anteprima",download:"Scarica","Paste from clipboard":"Incolla dagli appunti","Your browser doesn't support direct access to the clipboard.":"Il tuo browser non supporta l'accesso diretto agli appunti.","Copy selection":"Copia selezione",copy:"copia","Border radius":"Border radius","Show all":"Mostra tutti",Apply:"Applica","Please fill out this field":"Si prega di compilare questo campo","Please enter a web address":"Si prega di inserire un indirizzo web",Default:"Default",Circle:"Cerchio",Dot:"Punto",Quadrate:"Quadrato","Lower Alpha":"Lettera Minuscola","Lower Greek":"Lettera Greca Minuscola","Lower Roman":"Numero Romano Minuscolo","Upper Alpha":"Lettera Maiuscola","Upper Roman":"Numero Romano Maiuscolo",Find:"Trova","Find Previous":"Trova Precedente","Find Next":"Trova Successivo","Insert className":"Inserisci il nome della classe","Press Alt for custom resizing":"Premere Alt per il ridimensionamento personalizzato","License: %s":"Licenza: %s"}},62357:function(t,i,n){"use strict";n.d(i,{UIRange:function(){return d}});var r=n(82749),o=n(56075),s=n(11886),a=n(31635),l=n(65478),u=n(21537),c=n(67510);class d extends c.UIInput{className(){return"UIRange"}appendUIRange(){let t=this.j.create.div(this.getFullElName("slider"));this.container.appendChild(t);let i=this.j.create.div(this.getFullElName("handle"));t.appendChild(i);let n=this.j.create.div(this.getFullElName("log")),r=this.getElm("label");r&&r.appendChild(n)}onDragStart(t){this.startValue=parseFloat(this.value)||0,this.startX=t.clientX;let i=this.getElm("slider");(0,u.assert)(null!=i,"slider element does not exists"),this.width=i.offsetWidth,this.j.e.on(this.j.ow,"mousemove",this.onDrag)}onDrag(t){let{min:i,max:n,step:r=1}=this.state,o=(t.clientX-this.startX)/this.width*(this.state.max-this.state.min),s=this.startValue+o;s<i&&(s=i),s>n&&(s=n),s=Math.round(s/r)*r,this.value=s.toFixed(10)}onDragEnd(){this.j.e.off(this.j.ow,"mousemove",this.onDrag)}onChangeSelfValue(){let t=this.getElm("handle"),i=parseFloat(this.value)||0;(0,u.assert)(null!=t,"Handle element does not exist"),(0,u.css)(t,{left:(i-this.state.min)/(this.state.max-this.state.min)*100+"%"});let n=this.getElm("log");(0,u.assert)(null!=n,"log element does not exist"),n.innerText=i.toString()}destruct(){return this.onDragEnd(),super.destruct()}constructor(t,i){super(t,(0,s._)((0,o._)({},i),{type:"hidden"})),(0,r._)(this,"state",(0,s._)((0,o._)({},c.UIInput.defaultState),{min:0,max:100,step:1})),(0,r._)(this,"startValue",0),(0,r._)(this,"startX",0),(0,r._)(this,"width",100),Object.assign(this.state,i),this.appendUIRange(),this.onChangeSelfValue()}}(0,a.__decorate)([(0,l.watch)(["handle:mousedown","handle:touchstart"])],d.prototype,"onDragStart",null),(0,a.__decorate)([l.autobind],d.prototype,"onDrag",null),(0,a.__decorate)([(0,l.watch)(["j.ow:mouseup","j.ow:touchend"])],d.prototype,"onDragEnd",null),(0,a.__decorate)([(0,l.watch)(":change")],d.prototype,"onChangeSelfValue",null),d=(0,a.__decorate)([l.component],d)},62395:function(t,i,n){"use strict";n.r(i),i.default={newline:"nuova riga",delete:"eliminare",space:"spazio","Speech Recognize":"Discorso Riconoscere",Sound:"Suono","Interim Results":"Risultati intermedi"}},62405:function(t,i,n){"use strict";n.d(i,{UIGroup:function(){return d}});var r,o=n(4012),s=n(65478),a=n(2748),l=n(21537),u=n(48538),c=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let d=r=class t extends u.UIElement{className(){return"UIGroup"}getRole(){var t;return(null==(t=this.options)?void 0:t.role)||"list"}get allChildren(){let t=[],i=[...this.elements];for(;i.length;){let n=i.shift();(0,l.isArray)(n)?i.push(...n):o.Component.isInstanceOf(n,r)?i.push(...n.elements):n&&t.push(n)}return t}update(){this.elements.forEach(t=>t.update()),this.setMod("size",this.buttonSize)}append(t,i){let n;if((0,l.isArray)(t)){if("number"==typeof i)throw Error("You can not use index when append array of elements");return t.forEach(t=>this.append(t,i)),this}if("number"==typeof i?(n=Math.min(Math.max(0,i),this.elements.length),this.elements.splice(n,0,t)):this.elements.push(t),t.name&&t.container.classList.add(this.getFullElName(t.name)),i&&"string"==typeof i){let n=this.getElm(i);if(null==n)throw Error("Element does not exist");n.appendChild(t.container)}else this.appendChildToContainer(t.container,n);return t.parentElement=this,this}afterSetMod(t,i){this.syncMod&&this.elements.forEach(n=>n.setMod(t,i))}appendChildToContainer(t,i){void 0===i||i<0||i>this.elements.length-1||null==this.container.children[i]?this.container.appendChild(t):this.container.insertBefore(t,this.container.children[i])}remove(t){let i=this.elements.indexOf(t);return -1!==i&&(this.elements.splice(i,1),a.Dom.safeRemove(t.container),t.parentElement=null),this}clear(){return this.elements.forEach(t=>t.destruct()),this.elements.length=0,this}setParentView(t){var i;return null==(i=this.elements)||i.forEach(i=>i.setParentView(t)),super.setParentView(t)}destruct(){return this.clear(),super.destruct()}constructor(t,i,n){super(t,n),this.options=n,this.syncMod=!1,this.elements=[],this.buttonSize="middle",null==i||i.forEach(t=>t&&this.append(t)),(null==n?void 0:n.name)&&(this.name=n.name)}};c([(0,s.watch)("buttonSize")],d.prototype,"update",null),d=r=c([s.component],d)},62489:function(t,i,n){"use strict";var r=n(12153),o=n(6441),s=n(49922),a=n(72144);o.Config.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%"},r.Icon.set("crop",s.default).set("resize",a.default)},62553:function(t,i,n){"use strict";n.r(i),n.d(i,{description:function(){return o},name:function(){return r},parameters:function(){return s},requiresPermission:function(){return a}});let r="replaceInDocument",o="Find and replace text or HTML patterns throughout the entire document",s=[{name:"search",type:"string",description:"Text or pattern to search for",required:!0},{name:"replace",type:"string",description:"Replacement text or HTML",required:!0},{name:"useRegex",type:"boolean",description:"If true, treats search as a regular expression",required:!1,default:!1},{name:"useSelector",type:"string",description:"CSS selector to narrow down the search scope to specific elements",required:!1}],a=!0},62700:function(t,i){"use strict";i.default={"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 \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 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:function(t,i){"use strict";i.default={"Type something":"Bitte geben Sie einen Text ein",Advanced:"Fortgeschritten","About Jodit":"\xdcber Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Das Jodit Benutzerhandbuch","contains detailed help for using":"beinhaltet ausf\xfchrliche Informationen wie Sie den Editor verwenden k\xf6nnen.","For information about the license, please go to our website:":"F\xfcr Informationen zur Lizenz, besuchen Sie bitte unsere Web-Pr\xe4senz:","Buy full version":"Vollversion kaufen","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.",Anchor:"Anker","Open in new tab":"In neuer Registerkarte \xf6ffnen","Open in fullsize":"Editor in voller Gr\xf6\xdfe \xf6ffnen","Clear Formatting":"Formatierung l\xf6schen","Fill color or set the text color":"F\xfcllfarbe oder Textfarbe \xe4ndern",Redo:"Wiederholen",Undo:"R\xfcckg\xe4ngig machen",Bold:"Fett",Italic:"Kursiv","Insert Unordered List":"Unsortierte Liste einf\xfcgen","Insert Ordered List":"Nummerierte Liste einf\xfcgen","Align Center":"Mittig ausrichten","Align Justify":"Blocksatz","Align Left":"Links ausrichten","Align Right":"Rechts ausrichten","Insert Horizontal Line":"Horizontale Linie einf\xfcgen","Insert Image":"Bild einf\xfcgen","Insert file":"Datei einf\xfcgen","Insert youtube/vimeo video":"Youtube/vimeo Video einf\xfcgen","Insert link":"Link einf\xfcgen","Font size":"Schriftgr\xf6\xdfe","Font family":"Schriftfamilie","Insert format block":"Formatblock einf\xfcgen",Normal:"Normal","Heading 1":"\xdcberschrift 1","Heading 2":"\xdcberschrift 2","Heading 3":"\xdcberschrift 3","Heading 4":"\xdcberschrift 4",Quote:"Zitat",Code:"Code",Insert:"Einf\xfcgen","Insert table":"Tabelle einf\xfcgen","Decrease Indent":"Einzug verkleinern","Increase Indent":"Einzug vergr\xf6\xdfern","Select Special Character":"Sonderzeichen ausw\xe4hlen","Insert Special Character":"Sonderzeichen einf\xfcgen","Paint format":"Format kopieren","Change mode":"\xc4nderungsmodus",Margins:"R\xe4nder",top:"Oben",right:"Rechts",bottom:"Unten",left:"Links",Styles:"CSS Stil",Classes:"CSS Klassen",Align:"Ausrichtung",Right:"Rechts",Center:"Zentriert",Left:"Links","--Not Set--":"Keine",Src:"Pfad",Title:"Titel",Alternative:"Alternativer Text",Link:"Link","Open link in new tab":"Link in neuem Tab \xf6ffnen",Image:"Bild",file:"Datei","Image properties":"Bildeigenschaften",Cancel:"Abbrechen",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Ihr Text \xe4hnelt HTML-Code. Als HTML beibehalten?","Paste as HTML":"Als HTML einf\xfcgen?",Keep:"Original speichern",Clean:"S\xe4ubern","Insert as Text":"Als Text einf\xfcgen","Word Paste Detected":"In Word formatierter Text erkannt","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Der Inhalt, den Sie einf\xfcgen, stammt aus einem Microsoft Word / Excel-Dokument. M\xf6chten Sie das Format erhalten oder bereinigen?","Insert only Text":"Nur Text einf\xfcgen","File Browser":"Dateibrowser","Error on load list":"Fehler beim Laden der Liste","Error on load folders":"Fehler beim Laden der Ordner","Are you sure?":"Sind Sie sicher?","Enter Directory name":"Geben Sie den Verzeichnisnamen ein","Create directory":"Verzeichnis erstellen","type name":"Typname","Drop image":"Bild hier hinziehen","Drop file":"Datei l\xf6schen","or click":"oder hier klicken","Alternative text":"Alternativtext",Browse:"Ausw\xe4hlen",Upload:"Hochladen",Background:"Hintergrund",Text:"Text",Top:"Oben",Middle:"Mittig",Bottom:"Unten","Insert column before":"Spalte davor einf\xfcgen","Insert column after":"Spalte danach einf\xfcgen","Insert row above":"Zeile oberhalb einf\xfcgen","Insert row below":"Zeile unterhalb einf\xfcgen","Delete table":"Tabelle l\xf6schen","Delete row":"Zeile l\xf6schen","Delete column":"Spalte l\xf6schen","Empty cell":"Zelle leeren",Delete:"L\xf6schen","Strike through":"Durchstreichen",Underline:"Unterstreichen",Break:"Pause","Search for":"Suche nach","Replace with":"Ersetzen durch",Replace:"Ersetzen",Edit:"Bearbeiten","Vertical align":"Vertikale Ausrichtung","Horizontal align":"Horizontale Ausrichtung",Filter:"Filter","Sort by changed":"Sortieren nach ge\xe4ndert","Sort by name":"Nach Name sortieren","Sort by size":"Nach Gr\xf6\xdfe sortiert","Add folder":"Ordner hinzuf\xfcgen","Split vertical":"Vertikal unterteilen","Split horizontal":"Horizontal unterteilen",Split:"Unterteilen",Merge:"Vereinen","Add column":"Spalte hinzuf\xfcgen","Add row":"Zeile hinzuf\xfcgen",Border:"Rand","Embed code":"Code einbetten",Update:"Aktualisieren",superscript:"Hochstellen",subscript:"Tiefstellen","Cut selection":"Auswahl ausschneiden",Paste:"Einf\xfcgen","Choose Content to Paste":"W\xe4hlen Sie den Inhalt zum Einf\xfcgen aus","Chars: %d":"Zeichen: %d","Words: %d":"W\xf6rter: %d",All:"Alles markieren","Select %s":"Markieren: %s","Select all":"Alles markieren",source:"HTML",bold:"Fett gedruckt",italic:"Kursiv",brush:"B\xfcrste",link:"Verkn\xfcpfung",undo:"R\xfcckg\xe4ngig machen",redo:"Wiederholen",table:"Tabelle",image:"Bild",eraser:"Radiergummi",paragraph:"Absatz",fontsize:"Schriftgr\xf6\xdfe",video:"Video",font:"Schriftart",about:"\xdcber",print:"Drucken",underline:"Unterstreichen",strikethrough:"Durchstreichen",indent:"Einzug",outdent:"Herausstellen",fullsize:"Vollgr\xf6\xdfe",shrink:"Schrumpfen",hr:"die Linie",ul:"Liste von",ol:"Nummerierte Liste","Lower Alpha":"Standard, Alphabet (klein)","Upper Alpha":"Standard, Alphabet (gross)","Lower Roman":"R\xf6misch (klein)","Upper Roman":"R\xf6misch (gross)","Lower Greek":"Griechisch",cut:"Schneiden",selectall:"W\xe4hlen Sie Alle aus","Open link":"Link \xf6ffnen","Edit link":"Link bearbeiten","No follow":"Nofollow-Attribut",Unlink:"Link entfernen",Eye:"Ansehen",pencil:"Bearbeiten"," URL":"URL",Reset:"Wiederherstellen",Save:"Speichern","Save as ...":"Speichern als",Resize:"Gr\xf6\xdfe \xe4ndern",Crop:"Gr\xf6\xdfe anpassen",Width:"Breite",Height:"H\xf6he","Keep Aspect Ratio":"Seitenverh\xe4ltnis beibehalten",Yes:"Ja",No:"Nein",Remove:"Entfernen",Select:"Markieren","You can only edit your own images. Download this image on the host?":"Sie k\xf6nnen nur Ihre eigenen Bilder bearbeiten. Dieses Bild auf den Host herunterladen?","The image has been successfully uploaded to the host!":"Das Bild wurde erfolgreich auf den Server hochgeladen!",palette:"Palette","There are no files":"In diesem Verzeichnis befinden sich keine Dateien.",Rename:"Umbenennen","Enter new name":"Geben Sie einen neuen Namen ein",preview:"Vorschau",download:"Herunterladen","Paste from clipboard":"Aus Zwischenablage einf\xfcgen","Your browser doesn't support direct access to the clipboard.":"Ihr Browser unterst\xfctzt keinen direkten Zugriff auf die Zwischenablage.","Copy selection":"Auswahl kopieren",copy:"Kopieren","Border radius":"Radius f\xfcr abgerundete Ecken","Show all":"Alle anzeigen",Apply:"Anwenden","Please fill out this field":"Bitte f\xfcllen Sie dieses Feld aus","Please enter a web address":"Bitte geben Sie eine Web-Adresse ein",Default:"Standard",Circle:"Kreis",Dot:"Punkte",Quadrate:"Quadrate",Find:"Suchen","Find Previous":"Suche vorherige","Find Next":"Weitersuchen","Insert className":"className (CSS) einf\xfcgen","Press Alt for custom resizing":"Dr\xfccken Sie Alt f\xfcr benutzerdefinierte Gr\xf6\xdfenanpassung","License: %s":"Lizenz: %s"}},62843:function(t,i,n){"use strict";n.d(i,{Button:function(){return r.Button},UIButton:function(){return r.UIButton},UIButtonGroup:function(){return o.UIButtonGroup},UIButtonState:function(){return r.UIButtonState},UITooltip:function(){return s.UITooltip}});var r=n(10830),o=n(71916),s=n(57340)},62845:function(t,i,n){"use strict";n.d(i,{checkJoinNeighbors:function(){return a}});var r=n(82758),o=n(2748),s=n(63785);function a(t,i,n){let s=i,a=s;for(;s&&!o.Dom.findNotEmptySibling(s,n)&&s.parentElement!==t.editor;)a=s=s.parentElement;if(o.Dom.isElement(a)&&o.Dom.isContentEditable(a,t.editor)){var u,c;let s,d,h,p=o.Dom.findNotEmptySibling(a,n);if(p&&(u=a,c=p,s=o.Dom.isTag(c,r.LIST_TAGS),d=o.Dom.isTag(u,r.LIST_TAGS),h=(t,i)=>i?t.firstElementChild:t.lastElementChild,(d?(c=t.createInside.element(t.o.enterBlock),o.Dom.before(u,c),l(t,h(u,n),c,n)):!!c&&!!s&&!d&&l(t,u,h(c,!n),n))||l(t,a,p,n)))return t.s.setCursorBefore(i),!0}return!1}function l(t,i,n,r){if(i&&o.Dom.isElement(n)){o.Dom.moveContent(i,n,!r,(0,s.getMoveFilter)(t));let a=i;for(;a&&a!==t.editor&&o.Dom.isEmpty(a);){let t=a.parentElement;o.Dom.safeRemove(a),a=t}return!0}return!1}},62895:function(t,i,n){"use strict";n.d(i,{WebStorageConversationStorage:function(){return r.WebStorageConversationStorage},createStorageProvider:function(){return r.createStorageProvider}});var r=n(21064)},63134:function(t,i,n){"use strict";n.r(i),i.default={newline:"nueva l\xednea",delete:"eliminar",space:"espacio","Speech Recognize":"Reconocimiento de Voz",Sound:"Sonido","Interim Results":"Resultados Provisionales"}},63195:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"拼写检查"}},63227:function(t,i,n){"use strict";n.d(i,{UIInputArea:function(){return d}});var r=n(82749),o=n(31635),s=n(65478),a=n(38837),l=n(67510),u=n(62843),c=n(85120);class d extends l.UIElement{className(){return"UIInputArea"}setParentView(t){var i,n,r;return null==(i=this.textarea)||i.setParentView(t),null==(n=this.sendButton)||n.setParentView(t),null==(r=this.stopButton)||r.setParentView(t),super.setParentView(t)}render(){return`<div class="&__container">
424
+ /*]]>*/</script>`.replace(/[\n\t]+/g,"")}},61872:function(t,i,n){"use strict";n.d(i,{processArtifacts:function(){return d},processFinalResponse:function(){return c},processStreamingResponse:function(){return u}});var r=n(89929),o=n(77688),s=n(56075),a=n(11886),l=n(61558);function u(t,i,n){return(0,o._)(function*(){let o=(0,l.createAIMessage)(),u=-1;var c,d=!1,h=!1;try{for(var p,f=(0,r._)(i.stream);d=!(p=yield f.next()).done;d=!1){let i=p.value;switch(i.type){case"created":o=(0,a._)((0,s._)({},o),{id:i.response.responseId,content:""}),u=n.messages.length;break;case"text-delta":o=(0,a._)((0,s._)({},o),{content:o.content+i.delta});break;case"completed":o=(0,a._)((0,s._)({},o),{id:i.response.responseId,toolCalls:i.response.toolCalls||[],artifacts:i.response.artifacts||[]});break;case"error":{let t=(0,l.createErrorMessage)(i.error);o=(0,a._)((0,s._)({},o),{id:t.id,content:t.content})}}if(o.id){let i=n.messages.slice();i[u>=0?u:n.messages.length]=o,n=(0,a._)((0,s._)({},n),{messages:i,updated:Date.now()}),t.setCurrentConversation(n)}}}catch(t){h=!0,c=t}finally{try{d&&null!=f.return&&(yield f.return())}finally{if(h)throw c}}return{aiMessage:o,index:u,conversation:n}})()}function c(t,i){let n=(0,a._)((0,s._)({},(0,l.createAIMessage)()),{id:t.response.responseId,content:t.response.content,toolCalls:t.response.toolCalls||[],artifacts:t.response.artifacts||[]}),r=i.messages.slice();return r.push(n),{aiMessage:n,index:(i=(0,a._)((0,s._)({},i),{messages:r,updated:Date.now()})).messages.length-1,conversation:i}}function d(t,i,n,r){return(0,o._)(function*(){if(i.artifacts&&i.artifacts.length>0){let o=n.messages.slice();return o[r]=(0,a._)((0,s._)({},o[r]),{artifacts:yield(0,l.uploadArtifacts)(t,i.artifacts)}),(0,a._)((0,s._)({},n),{messages:o,updated:Date.now()})}return n})()}},61886:function(t,i,n){"use strict";var r=n(82749);n(58475);var o=n(50911),s=n(2692);class a extends o.Plugin{afterInit(t){}beforeDestruct(t){}constructor(...t){super(...t),(0,r._)(this,"buttons",[{name:"templates",group:"insert"}])}}(0,r._)(a,"requires",["license"]),s.JoditPro.plugins.add("templates",a)},61926:function(t,i,n){"use strict";var r=n(6441);r.Config.prototype.showPlaceholder=!0,r.Config.prototype.placeholder="Type something",r.Config.prototype.useInputsPlaceholder=!0},61991:function(t,i,n){"use strict";n.d(i,{checkUnsplittableBox:function(){return o}});var r=n(2748);function o(t,i,n){return!!r.Dom.canSplitBlock(n)||(r.Dom.before(t,i.createInside.element("br")),!1)}},62e3:function(t,i,n){"use strict";var r=n(27613),o=n(41180);let s=t=>t.args&&(0,r.isString)(t.args[0])?t.args[0].toLowerCase():"";i.default=["brushCell",{name:"valign",list:["Top","Middle","Bottom","Normal"],childTemplate:(t,i,n)=>n,exec:(t,i,{control:n})=>{let r=s(n);t.getInstance("Table",t.o).getAllSelectedCells().forEach(t=>{(0,o.css)(t,"vertical-align","normal"===r?"":r)})},tooltip:"Vertical align"},{name:"splitv",list:{tablesplitv:"Split vertical",tablesplitg:"Split horizontal"},tooltip:"Split"},{name:"align",icon:"left"},"\n",{name:"merge",command:"tablemerge",tooltip:"Merge"},{name:"addcolumn",list:{tableaddcolumnbefore:"Insert column before",tableaddcolumnafter:"Insert column after"},exec:(t,i,{control:n})=>{if(!(0,r.isJoditObject)(t))return;if(!n.args)return!1;let o=s(n);t.execCommand(o,!1,i)},tooltip:"Add column"},{name:"addrow",list:{tableaddrowbefore:"Insert row above",tableaddrowafter:"Insert row below"},exec:(t,i,{control:n})=>{if(!(0,r.isJoditObject)(t))return;if(!n.args)return!1;let o=s(n);t.execCommand(o,!1,i)},tooltip:"Add row"},{name:"delete",icon:"bin",list:{tablebin:"Delete table",tablebinrow:"Delete row",tablebincolumn:"Delete column",tableempty:"Empty cell"},exec:(t,i,{control:n})=>{if(!(0,r.isJoditObject)(t))return;if(!n.args)return!1;let o=s(n);t.execCommand(o,!1,i),t.e.fire("hidePopup")},tooltip:"Delete"}]},62232:function(t,i){"use strict";i.default={"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 \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Tutti i diritti riservati.",Anchor:"Link","Open in new tab":"Apri in una nuova scheda","Open in fullsize":"Apri l'editor a schermo intero","Clear Formatting":"Pulisci Formattazione","Fill color or set the text color":"Colore di sfondo o del testo",Redo:"Ripristina",Undo:"Annulla",Bold:"Grassetto",Italic:"Corsivo","Insert Unordered List":"Inserisci lista non ordinata","Insert Ordered List":"Inserisci lista ordinata","Align Center":"Allinea al centro","Align Justify":"Allineamento Giustificato","Align Left":"Allinea a Sinistra","Align Right":"Allinea a Destra","Insert Horizontal Line":"Inserisci una linea orizzontale","Insert Image":"Inserisci immagine","Insert file":"Inserisci un file","Insert youtube/vimeo video":"Inserisci video Youtube/Vimeo","Insert link":"Inserisci link","Font size":"Dimensione carattere","Font family":"Tipo di font","Insert format block":"Inserisci blocco",Normal:"Normale","Heading 1":"Intestazione 1","Heading 2":"Intestazione 2","Heading 3":"Intestazione 3","Heading 4":"Intestazione 4",Quote:"Citazione",Code:"Codice",Insert:"Inserisci","Insert table":"Inserisci tabella","Decrease Indent":"Riduci il rientro","Increase Indent":"Aumenta il rientro","Select Special Character":"Seleziona un carattere speciale","Insert Special Character":"Inserisci un carattere speciale","Paint format":"Copia formato","Change mode":"Cambia modalita'",Margins:"Margini",top:"su",right:"destra",bottom:"gi\xf9",left:"sinistra",Styles:"Stili CSS",Classes:"Classi CSS",Align:"Allinea",Right:"Destra",Center:"Centro",Left:"Sinistra","--Not Set--":"--Non Impostato--",Src:"Fonte",Title:"Titolo",Alternative:"Testo Alternativo",Link:"Link","Open link in new tab":"Apri il link in una nuova scheda",Image:"Immagine",file:"Archivio","Image properties":"Propriet\xe0 dell'immagine",Cancel:"Annulla",Ok:"Accetta","Your code is similar to HTML. Keep as HTML?":"Il codice \xe8 simile all'HTML. Mantieni come HTML?","Paste as HTML":"Incolla come HTML",Keep:"Mantieni",Clean:"Pulisci","Insert as Text":"Inserisci come testo","Word Paste Detected":"Incolla testo da Word rilevato","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Il contenuto incollato proviene da un documento Microsoft Word / Excel. Vuoi mantenere il formato o pulirlo?","Insert only Text":"Inserisci solo il testo","File Browser":"Cerca file","Error on load list":"Errore durante il caricamento dell'elenco","Error on load folders":"Errore durante il caricamento delle cartelle","Are you sure?":"Sei sicuro?","Enter Directory name":"Inserisci il nome della cartella","Create directory":"Crea cartella","type name":"Digita il nome","Drop image":"Cancella immagine","Drop file":"Cancella file","or click":"o clicca","Alternative text":"Testo alternativo",Browse:"Sfoglia",Upload:"Carica",Background:"Sfondo",Text:"Testo",Top:"Su",Middle:"Centro",Bottom:"Sotto","Insert column before":"Inserisci la colonna prima","Insert column after":"Inserisci la colonna dopo","Insert row above":"Inserisci la riga sopra","Insert row below":"Inserisci la riga sotto","Delete table":"Elimina tabella","Delete row":"Elimina riga","Delete column":"Elimina colonna","Empty cell":"Cella vuota",Delete:"Cancella","Strike through":"Barrato",Underline:"Sottolineato",Break:"Pausa","Search for":"Cerca per","Replace with":"Sostituisci con",Replace:"Sostituisci",Edit:"Modifica","Vertical align":"Allineamento verticala","Horizontal align":"Allineamento orizzontale",Filter:"Filtro","Sort by changed":"Ordina per data di modifica","Sort by name":"Ordina per nome","Sort by size":"Ordina per dimensione","Add folder":"Aggiungi cartella",Split:"Dividi","Split vertical":"Dividi verticalmente","Split horizontal":"Dividi orizzontale",Merge:"Fondi","Add column":"Aggiungi colonna","Add row":"Aggiungi riga",Border:"Bordo","Embed code":"Includi codice",Update:"Aggiorna",superscript:"indice",subscript:"pedice","Cut selection":"Taglia selezione",Paste:"Incolla","Choose Content to Paste":"Seleziona il contenuto da incollare","Chars: %d":"Caratteri: %d","Words: %d":"Parole: %d",All:"Tutto","Select %s":"Seleziona: %s","Select all":"Seleziona tutto",source:"risorsa",bold:"Grassetto",italic:"Corsivo",brush:"Pennello",link:"Link",undo:"Annulla",redo:"Ripristina",table:"Tabella",image:"Immagine",eraser:"Gomma",paragraph:"Paragrafo",fontsize:"Dimensione del carattere",video:"Video",font:"Font",about:"Approposito di",print:"Stampa",underline:"Sottolineato",strikethrough:"Barrato",indent:"aumenta rientro",outdent:"riduci rientro",fullsize:"espandi",shrink:"comprimi",hr:"linea orizzontale",ul:"lista non ordinata",ol:"lista ordinata",cut:"Taglia",selectall:"Seleziona tutto","Open link":"Apri link","Edit link":"Modifica link","No follow":"Non seguire",Unlink:"Rimuovi link",Eye:"Recensione",pencil:"Per modificare"," URL":" URL",Reset:"Reset",Save:"Salva","Save as ...":"Salva con nome...",Resize:"Ridimensiona",Crop:"Ritaglia",Width:"Larghezza",Height:"Altezza","Keep Aspect Ratio":"Mantieni le proporzioni",Yes:"Si",No:"No",Remove:"Rimuovi",Select:"Seleziona","You can only edit your own images. Download this image on the host?":"Puoi modificare solo le tue immagini. Vuoi scaricare questa immagine dal server?","The image has been successfully uploaded to the host!":"L'immagine \xe8 stata caricata correttamente sul server!",palette:"tavolozza","There are no files":"Non ci sono file in questa directory.",Rename:"Rinomina","Enter new name":"Inserisci un nuovo nome",preview:"anteprima",download:"Scarica","Paste from clipboard":"Incolla dagli appunti","Your browser doesn't support direct access to the clipboard.":"Il tuo browser non supporta l'accesso diretto agli appunti.","Copy selection":"Copia selezione",copy:"copia","Border radius":"Border radius","Show all":"Mostra tutti",Apply:"Applica","Please fill out this field":"Si prega di compilare questo campo","Please enter a web address":"Si prega di inserire un indirizzo web",Default:"Default",Circle:"Cerchio",Dot:"Punto",Quadrate:"Quadrato","Lower Alpha":"Lettera Minuscola","Lower Greek":"Lettera Greca Minuscola","Lower Roman":"Numero Romano Minuscolo","Upper Alpha":"Lettera Maiuscola","Upper Roman":"Numero Romano Maiuscolo",Find:"Trova","Find Previous":"Trova Precedente","Find Next":"Trova Successivo","Insert className":"Inserisci il nome della classe","Press Alt for custom resizing":"Premere Alt per il ridimensionamento personalizzato","License: %s":"Licenza: %s"}},62357:function(t,i,n){"use strict";n.d(i,{UIRange:function(){return d}});var r=n(82749),o=n(56075),s=n(11886),a=n(31635),l=n(65478),u=n(21537),c=n(67510);class d extends c.UIInput{className(){return"UIRange"}appendUIRange(){let t=this.j.create.div(this.getFullElName("slider"));this.container.appendChild(t);let i=this.j.create.div(this.getFullElName("handle"));t.appendChild(i);let n=this.j.create.div(this.getFullElName("log")),r=this.getElm("label");r&&r.appendChild(n)}onDragStart(t){this.startValue=parseFloat(this.value)||0,this.startX=t.clientX;let i=this.getElm("slider");(0,u.assert)(null!=i,"slider element does not exists"),this.width=i.offsetWidth,this.j.e.on(this.j.ow,"mousemove",this.onDrag)}onDrag(t){let{min:i,max:n,step:r=1}=this.state,o=(t.clientX-this.startX)/this.width*(this.state.max-this.state.min),s=this.startValue+o;s<i&&(s=i),s>n&&(s=n),s=Math.round(s/r)*r,this.value=s.toFixed(10)}onDragEnd(){this.j.e.off(this.j.ow,"mousemove",this.onDrag)}onChangeSelfValue(){let t=this.getElm("handle"),i=parseFloat(this.value)||0;(0,u.assert)(null!=t,"Handle element does not exist"),(0,u.css)(t,{left:(i-this.state.min)/(this.state.max-this.state.min)*100+"%"});let n=this.getElm("log");(0,u.assert)(null!=n,"log element does not exist"),n.innerText=i.toString()}destruct(){return this.onDragEnd(),super.destruct()}constructor(t,i){super(t,(0,s._)((0,o._)({},i),{type:"hidden"})),(0,r._)(this,"state",(0,s._)((0,o._)({},c.UIInput.defaultState),{min:0,max:100,step:1})),(0,r._)(this,"startValue",0),(0,r._)(this,"startX",0),(0,r._)(this,"width",100),Object.assign(this.state,i),this.appendUIRange(),this.onChangeSelfValue()}}(0,a.__decorate)([(0,l.watch)(["handle:mousedown","handle:touchstart"])],d.prototype,"onDragStart",null),(0,a.__decorate)([l.autobind],d.prototype,"onDrag",null),(0,a.__decorate)([(0,l.watch)(["j.ow:mouseup","j.ow:touchend"])],d.prototype,"onDragEnd",null),(0,a.__decorate)([(0,l.watch)(":change")],d.prototype,"onChangeSelfValue",null),d=(0,a.__decorate)([l.component],d)},62395:function(t,i,n){"use strict";n.r(i),i.default={newline:"nuova riga",delete:"eliminare",space:"spazio","Speech Recognize":"Discorso Riconoscere",Sound:"Suono","Interim Results":"Risultati intermedi"}},62405:function(t,i,n){"use strict";n.d(i,{UIGroup:function(){return d}});var r,o=n(4012),s=n(65478),a=n(2748),l=n(21537),u=n(48538),c=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let d=r=class t extends u.UIElement{className(){return"UIGroup"}getRole(){var t;return(null==(t=this.options)?void 0:t.role)||"list"}get allChildren(){let t=[],i=[...this.elements];for(;i.length;){let n=i.shift();(0,l.isArray)(n)?i.push(...n):o.Component.isInstanceOf(n,r)?i.push(...n.elements):n&&t.push(n)}return t}update(){this.elements.forEach(t=>t.update()),this.setMod("size",this.buttonSize)}append(t,i){let n;if((0,l.isArray)(t)){if("number"==typeof i)throw Error("You can not use index when append array of elements");return t.forEach(t=>this.append(t,i)),this}if("number"==typeof i?(n=Math.min(Math.max(0,i),this.elements.length),this.elements.splice(n,0,t)):this.elements.push(t),t.name&&t.container.classList.add(this.getFullElName(t.name)),i&&"string"==typeof i){let n=this.getElm(i);if(null==n)throw Error("Element does not exist");n.appendChild(t.container)}else this.appendChildToContainer(t.container,n);return t.parentElement=this,this}afterSetMod(t,i){this.syncMod&&this.elements.forEach(n=>n.setMod(t,i))}appendChildToContainer(t,i){void 0===i||i<0||i>this.elements.length-1||null==this.container.children[i]?this.container.appendChild(t):this.container.insertBefore(t,this.container.children[i])}remove(t){let i=this.elements.indexOf(t);return -1!==i&&(this.elements.splice(i,1),a.Dom.safeRemove(t.container),t.parentElement=null),this}clear(){return this.elements.forEach(t=>t.destruct()),this.elements.length=0,this}setParentView(t){var i;return null==(i=this.elements)||i.forEach(i=>i.setParentView(t)),super.setParentView(t)}destruct(){return this.clear(),super.destruct()}constructor(t,i,n){super(t,n),this.options=n,this.syncMod=!1,this.elements=[],this.buttonSize="middle",null==i||i.forEach(t=>t&&this.append(t)),(null==n?void 0:n.name)&&(this.name=n.name)}};c([(0,s.watch)("buttonSize")],d.prototype,"update",null),d=r=c([s.component],d)},62489:function(t,i,n){"use strict";var r=n(12153),o=n(6441),s=n(49922),a=n(72144);o.Config.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%"},r.Icon.set("crop",s.default).set("resize",a.default)},62553:function(t,i,n){"use strict";n.r(i),n.d(i,{description:function(){return o},name:function(){return r},parameters:function(){return s},requiresPermission:function(){return a}});let r="replaceInDocument",o="Find and replace text or HTML patterns throughout the entire document",s=[{name:"search",type:"string",description:"Text or pattern to search for",required:!0},{name:"replace",type:"string",description:"Replacement text or HTML",required:!0},{name:"useRegex",type:"boolean",description:"If true, treats search as a regular expression",required:!1,default:!1},{name:"useSelector",type:"string",description:"CSS selector to narrow down the search scope to specific elements",required:!1}],a=!0},62700:function(t,i){"use strict";i.default={"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 \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 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:function(t,i){"use strict";i.default={"Type something":"Bitte geben Sie einen Text ein",Advanced:"Fortgeschritten","About Jodit":"\xdcber Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Das Jodit Benutzerhandbuch","contains detailed help for using":"beinhaltet ausf\xfchrliche Informationen wie Sie den Editor verwenden k\xf6nnen.","For information about the license, please go to our website:":"F\xfcr Informationen zur Lizenz, besuchen Sie bitte unsere Web-Pr\xe4senz:","Buy full version":"Vollversion kaufen","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.",Anchor:"Anker","Open in new tab":"In neuer Registerkarte \xf6ffnen","Open in fullsize":"Editor in voller Gr\xf6\xdfe \xf6ffnen","Clear Formatting":"Formatierung l\xf6schen","Fill color or set the text color":"F\xfcllfarbe oder Textfarbe \xe4ndern",Redo:"Wiederholen",Undo:"R\xfcckg\xe4ngig machen",Bold:"Fett",Italic:"Kursiv","Insert Unordered List":"Unsortierte Liste einf\xfcgen","Insert Ordered List":"Nummerierte Liste einf\xfcgen","Align Center":"Mittig ausrichten","Align Justify":"Blocksatz","Align Left":"Links ausrichten","Align Right":"Rechts ausrichten","Insert Horizontal Line":"Horizontale Linie einf\xfcgen","Insert Image":"Bild einf\xfcgen","Insert file":"Datei einf\xfcgen","Insert youtube/vimeo video":"Youtube/vimeo Video einf\xfcgen","Insert link":"Link einf\xfcgen","Font size":"Schriftgr\xf6\xdfe","Font family":"Schriftfamilie","Insert format block":"Formatblock einf\xfcgen",Normal:"Normal","Heading 1":"\xdcberschrift 1","Heading 2":"\xdcberschrift 2","Heading 3":"\xdcberschrift 3","Heading 4":"\xdcberschrift 4",Quote:"Zitat",Code:"Code",Insert:"Einf\xfcgen","Insert table":"Tabelle einf\xfcgen","Decrease Indent":"Einzug verkleinern","Increase Indent":"Einzug vergr\xf6\xdfern","Select Special Character":"Sonderzeichen ausw\xe4hlen","Insert Special Character":"Sonderzeichen einf\xfcgen","Paint format":"Format kopieren","Change mode":"\xc4nderungsmodus",Margins:"R\xe4nder",top:"Oben",right:"Rechts",bottom:"Unten",left:"Links",Styles:"CSS Stil",Classes:"CSS Klassen",Align:"Ausrichtung",Right:"Rechts",Center:"Zentriert",Left:"Links","--Not Set--":"Keine",Src:"Pfad",Title:"Titel",Alternative:"Alternativer Text",Link:"Link","Open link in new tab":"Link in neuem Tab \xf6ffnen",Image:"Bild",file:"Datei","Image properties":"Bildeigenschaften",Cancel:"Abbrechen",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Ihr Text \xe4hnelt HTML-Code. Als HTML beibehalten?","Paste as HTML":"Als HTML einf\xfcgen?",Keep:"Original speichern",Clean:"S\xe4ubern","Insert as Text":"Als Text einf\xfcgen","Word Paste Detected":"In Word formatierter Text erkannt","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Der Inhalt, den Sie einf\xfcgen, stammt aus einem Microsoft Word / Excel-Dokument. M\xf6chten Sie das Format erhalten oder bereinigen?","Insert only Text":"Nur Text einf\xfcgen","File Browser":"Dateibrowser","Error on load list":"Fehler beim Laden der Liste","Error on load folders":"Fehler beim Laden der Ordner","Are you sure?":"Sind Sie sicher?","Enter Directory name":"Geben Sie den Verzeichnisnamen ein","Create directory":"Verzeichnis erstellen","type name":"Typname","Drop image":"Bild hier hinziehen","Drop file":"Datei l\xf6schen","or click":"oder hier klicken","Alternative text":"Alternativtext",Browse:"Ausw\xe4hlen",Upload:"Hochladen",Background:"Hintergrund",Text:"Text",Top:"Oben",Middle:"Mittig",Bottom:"Unten","Insert column before":"Spalte davor einf\xfcgen","Insert column after":"Spalte danach einf\xfcgen","Insert row above":"Zeile oberhalb einf\xfcgen","Insert row below":"Zeile unterhalb einf\xfcgen","Delete table":"Tabelle l\xf6schen","Delete row":"Zeile l\xf6schen","Delete column":"Spalte l\xf6schen","Empty cell":"Zelle leeren",Delete:"L\xf6schen","Strike through":"Durchstreichen",Underline:"Unterstreichen",Break:"Pause","Search for":"Suche nach","Replace with":"Ersetzen durch",Replace:"Ersetzen",Edit:"Bearbeiten","Vertical align":"Vertikale Ausrichtung","Horizontal align":"Horizontale Ausrichtung",Filter:"Filter","Sort by changed":"Sortieren nach ge\xe4ndert","Sort by name":"Nach Name sortieren","Sort by size":"Nach Gr\xf6\xdfe sortiert","Add folder":"Ordner hinzuf\xfcgen","Split vertical":"Vertikal unterteilen","Split horizontal":"Horizontal unterteilen",Split:"Unterteilen",Merge:"Vereinen","Add column":"Spalte hinzuf\xfcgen","Add row":"Zeile hinzuf\xfcgen",Border:"Rand","Embed code":"Code einbetten",Update:"Aktualisieren",superscript:"Hochstellen",subscript:"Tiefstellen","Cut selection":"Auswahl ausschneiden",Paste:"Einf\xfcgen","Choose Content to Paste":"W\xe4hlen Sie den Inhalt zum Einf\xfcgen aus","Chars: %d":"Zeichen: %d","Words: %d":"W\xf6rter: %d",All:"Alles markieren","Select %s":"Markieren: %s","Select all":"Alles markieren",source:"HTML",bold:"Fett gedruckt",italic:"Kursiv",brush:"B\xfcrste",link:"Verkn\xfcpfung",undo:"R\xfcckg\xe4ngig machen",redo:"Wiederholen",table:"Tabelle",image:"Bild",eraser:"Radiergummi",paragraph:"Absatz",fontsize:"Schriftgr\xf6\xdfe",video:"Video",font:"Schriftart",about:"\xdcber",print:"Drucken",underline:"Unterstreichen",strikethrough:"Durchstreichen",indent:"Einzug",outdent:"Herausstellen",fullsize:"Vollgr\xf6\xdfe",shrink:"Schrumpfen",hr:"die Linie",ul:"Liste von",ol:"Nummerierte Liste","Lower Alpha":"Standard, Alphabet (klein)","Upper Alpha":"Standard, Alphabet (gross)","Lower Roman":"R\xf6misch (klein)","Upper Roman":"R\xf6misch (gross)","Lower Greek":"Griechisch",cut:"Schneiden",selectall:"W\xe4hlen Sie Alle aus","Open link":"Link \xf6ffnen","Edit link":"Link bearbeiten","No follow":"Nofollow-Attribut",Unlink:"Link entfernen",Eye:"Ansehen",pencil:"Bearbeiten"," URL":"URL",Reset:"Wiederherstellen",Save:"Speichern","Save as ...":"Speichern als",Resize:"Gr\xf6\xdfe \xe4ndern",Crop:"Gr\xf6\xdfe anpassen",Width:"Breite",Height:"H\xf6he","Keep Aspect Ratio":"Seitenverh\xe4ltnis beibehalten",Yes:"Ja",No:"Nein",Remove:"Entfernen",Select:"Markieren","You can only edit your own images. Download this image on the host?":"Sie k\xf6nnen nur Ihre eigenen Bilder bearbeiten. Dieses Bild auf den Host herunterladen?","The image has been successfully uploaded to the host!":"Das Bild wurde erfolgreich auf den Server hochgeladen!",palette:"Palette","There are no files":"In diesem Verzeichnis befinden sich keine Dateien.",Rename:"Umbenennen","Enter new name":"Geben Sie einen neuen Namen ein",preview:"Vorschau",download:"Herunterladen","Paste from clipboard":"Aus Zwischenablage einf\xfcgen","Your browser doesn't support direct access to the clipboard.":"Ihr Browser unterst\xfctzt keinen direkten Zugriff auf die Zwischenablage.","Copy selection":"Auswahl kopieren",copy:"Kopieren","Border radius":"Radius f\xfcr abgerundete Ecken","Show all":"Alle anzeigen",Apply:"Anwenden","Please fill out this field":"Bitte f\xfcllen Sie dieses Feld aus","Please enter a web address":"Bitte geben Sie eine Web-Adresse ein",Default:"Standard",Circle:"Kreis",Dot:"Punkte",Quadrate:"Quadrate",Find:"Suchen","Find Previous":"Suche vorherige","Find Next":"Weitersuchen","Insert className":"className (CSS) einf\xfcgen","Press Alt for custom resizing":"Dr\xfccken Sie Alt f\xfcr benutzerdefinierte Gr\xf6\xdfenanpassung","License: %s":"Lizenz: %s"}},62843:function(t,i,n){"use strict";n.d(i,{Button:function(){return r.Button},UIButton:function(){return r.UIButton},UIButtonGroup:function(){return o.UIButtonGroup},UIButtonState:function(){return r.UIButtonState},UITooltip:function(){return s.UITooltip}});var r=n(10830),o=n(71916),s=n(57340)},62845:function(t,i,n){"use strict";n.d(i,{checkJoinNeighbors:function(){return a}});var r=n(82758),o=n(2748),s=n(63785);function a(t,i,n){let s=i,a=s;for(;s&&!o.Dom.findNotEmptySibling(s,n)&&s.parentElement!==t.editor;)a=s=s.parentElement;if(o.Dom.isElement(a)&&o.Dom.isContentEditable(a,t.editor)){var u,c;let s,d,h,p=o.Dom.findNotEmptySibling(a,n);if(p&&(u=a,c=p,s=o.Dom.isTag(c,r.LIST_TAGS),d=o.Dom.isTag(u,r.LIST_TAGS),h=(t,i)=>i?t.firstElementChild:t.lastElementChild,(d?(c=t.createInside.element(t.o.enterBlock),o.Dom.before(u,c),l(t,h(u,n),c,n)):!!c&&!!s&&!d&&l(t,u,h(c,!n),n))||l(t,a,p,n)))return t.s.setCursorBefore(i),!0}return!1}function l(t,i,n,r){if(i&&o.Dom.isElement(n)){o.Dom.moveContent(i,n,!r,(0,s.getMoveFilter)(t));let a=i;for(;a&&a!==t.editor&&o.Dom.isEmpty(a);){let t=a.parentElement;o.Dom.safeRemove(a),a=t}return!0}return!1}},62895:function(t,i,n){"use strict";n.d(i,{WebStorageConversationStorage:function(){return r.WebStorageConversationStorage},createStorageProvider:function(){return r.createStorageProvider}});var r=n(21064)},63134:function(t,i,n){"use strict";n.r(i),i.default={newline:"nueva l\xednea",delete:"eliminar",space:"espacio","Speech Recognize":"Reconocimiento de Voz",Sound:"Sonido","Interim Results":"Resultados Provisionales"}},63195:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"拼写检查"}},63227:function(t,i,n){"use strict";n.d(i,{UIInputArea:function(){return d}});var r=n(82749),o=n(31635),s=n(65478),a=n(38837),l=n(67510),u=n(62843),c=n(85120);class d extends l.UIElement{className(){return"UIInputArea"}setParentView(t){var i,n,r;return null==(i=this.textarea)||i.setParentView(t),null==(n=this.sendButton)||n.setParentView(t),null==(r=this.stopButton)||r.setParentView(t),super.setParentView(t)}render(){return`<div class="&__container">
425
425
  <div class="&__context-badges"></div>
426
426
  <div class="&__loading-indicator">
427
427
  <span class="&__loading-dot"></span>
@@ -466,7 +466,7 @@ ${s}`.trim();n?yield this.__executeQuickCommandSilent(u,s):yield this.__executeQ
466
466
  <div class='&__preview'></div>
467
467
  <div class='&__loader'></div>
468
468
  <div class='&__next'>*angle-right*</div>
469
- </div>`}onChangeCurrent(){return(0,r._)(function*(){let{current:t}=this;this.setMod("loading",!0);let i=this.getElm("preview");if((0,c.assert)(null!=i,"preview element does not exist"),d.Dom.detach(i),(0,u.css)(i,{backgroundImage:null}),t.isImage){let n=yield(0,u.loadImage)(t.fileURL,this.j);this.dialog.setPosition(),(0,u.css)(i,{width:Math.min(this.jodit.ow.innerWidth,n.naturalWidth),height:Math.min(this.jodit.ow.innerHeight-100,n.naturalHeight),backgroundImage:`url(${n.src})`})}else{let n=yield this.makeIframe(t.fileURL);i.appendChild(n)}this.dialog.setSize(),this.dialog.setPosition(),this.setMod("loading",!1)}).call(this)}makeIframe(t){let i=this.j.c.element("iframe");return i.classList.add(this.getFullElName("office-iframe")),i.src=/\.pdf/.test(t)?t:this.j.o.previewOfficeURL+encodeURIComponent(t),i}onPreviousClick(){let{current:t}=this,i=this.j.stateManager.getIndex(t,this.elements);i<=0?i=this.elements.length-1:i-=1,this.current=this.elements[i]}onNextClick(){let{current:t}=this,i=this.j.stateManager.getIndex(t,this.elements);i>=this.elements.length-1?i=0:i+=1,this.current=this.elements[i]}static open(t,i,n){return new h(t,i,n)}addGlobalListeners(){this.j.e.on(this.j.od,"keydown",this.onKeyPress)}onKeyPress(t){if(t.key===a.KEY_LEFT||t.key===a.KEY_RIGHT||t.key===a.KEY_SPACE)return t.key===a.KEY_LEFT?this.onPreviousClick():this.onNextClick(),!1}removeGlobalListeners(){this.j.e.off(this.j.od,"keydown",this.onKeyPress)}destruct(){return this.removeGlobalListeners(),this.dialog.destruct(),super.destruct()}constructor(t,i,n){super(t),(0,o._)(this,"current",void 0),(0,o._)(this,"elements",void 0),(0,o._)(this,"dialog",void 0),this.current=i,this.elements=n,this.dialog=new d.Dialog;const{dialog:r}=this;r.setMod("theme",t.state.theme).toolbar.setMod("mode","header"),r.open(this),this.elements=this.elements.filter(t=>t.isImage),r.e.on(r,"afterClose",()=>{this.destruct()}),this.addGlobalListeners(),this.onChangeCurrent(),r.toolbar.build([{icon:"check",exec:()=>{t.stateManager.addActive(this.current,!1),t.e.fire("select.filebrowser"),r.close()}},"dialog.close"])}}(0,s.__decorate)([(0,l.watch)("current")],h.prototype,"onChangeCurrent",null),(0,s.__decorate)([(0,l.watch)("previous:click")],h.prototype,"onPreviousClick",null),(0,s.__decorate)([(0,l.watch)("next:click")],h.prototype,"onNextClick",null),(0,s.__decorate)([l.autobind],h.prototype,"onKeyPress",null),h=(0,s.__decorate)([l.component],h)},69341:function(t,i,n){"use strict";n.d(i,{detectActiveStyle:function(){return a}});var r=n(82758),o=n(2748);function s(t,i){return t.nodeName.toLowerCase()===i.element&&i.classes.every(i=>t.classList.contains(i))}function a(t,i){let n=t.s.current();if(!n)return null;for(let a of i)if(r.IS_BLOCK.test(a.element)){let i=o.Dom.closest(n,o.Dom.isBlock,t.editor);if(i&&s(i,a))return a}else{let i=o.Dom.isElement(n)?n:n.parentNode;for(;i&&i!==t.editor;){if(o.Dom.isElement(i)&&s(i,a))return a;i=i.parentNode}}return null}},69398:function(t,i,n){"use strict";n.d(i,{UIPolylineEditor:function(){return u}});var r=n(31635),o=n(65478),s=n(80256),a=n(45128),l=n(14002);class u extends l.UIBaseEditor{className(){return"UIPolylineEditor"}onReady(){var t,i;super.onReady(),this.append([new s.UIInput(this.j,{label:"Stroke weight",value:null!=(t=this.state.strokeWeight)?t:1,type:"number",onChange:t=>this.j.e.fire(this,"change","strokeWeight",t)}),new a.ColorInput(this.j,{label:"Stroke color",value:null!=(i=this.state.strokeColor)?i:"#000",onChange:t=>this.j.e.fire(this,"change","strokeColor",t)}).setMod("trigger",!1)],"form")}}(0,r.__decorate)([(0,o.hook)("ready")],u.prototype,"onReady",null),u=(0,r.__decorate)([o.component],u)},69625:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"Висота лінії"}},69874:function(t,i,n){"use strict";n.r(i),i.default={newline:"新行",delete:"删除",space:"空间","Speech Recognize":"言语识别",Sound:"声音","Interim Results":"中期业绩"}},69994:function(t,i,n){"use strict";n.d(i,{removeInsideComment:function(){return s}});var r=n(99658);let o=0;function s(t){return(t.isComment&&/\[if.*(supportLists|gte vml).*]/.test((0,r.html)(t))&&(o++,t.remove()),t.isComment&&o>0&&(0,r.html)(t).includes("[endif]")&&(o=o>0?o-1:0,t.remove()),o&&(t.isText||"img"===t.name&&(!t.attributes.src||/^file:/.test(t.attributes.src))))?(t.remove(),null):t}},70022:function(t,i,n){"use strict";n.d(i,{createSourceEditor:function(){return s}});var r=n(21537),o=n(52968);function s(t,i,n,s,a){let l;if((0,r.isFunction)(t))l=t(i);else switch(t){case"ace":if(!i.o.shadowRoot){l=new o.AceEditor(i,n,s,a);break}default:l=new o.TextAreaEditor(i,n,s,a)}return l.init(i),l.onReadyAlways(()=>{l.setReadOnly(i.o.readonly)}),l}},70045:function(t,i,n){"use strict";var r=n(82758),o=n(22732),s=n(580),a=n(43555);n(54389);var l=n(302);let u=(t,i,n,r)=>{if(!i||t.has(i))return;let o=(0,l.getKey)(n.o.direction,i);t.add(i);let s=i.style[o]?parseInt(i.style[o],10):0;s+=n.o.indentMargin*("outdent"===r?-1:1),i.style[o]=s>0?s+"px":"",(0,a.attr)(i,"style")||(0,a.attr)(i,"style",null)};s.pluginSystem.add("indent",function(t){t.registerButton({name:"indent",group:"indent"}).registerButton({name:"outdent",group:"indent"});let i=i=>{let n=new Set,{enter:s,enterBlock:l}=t.o,c=s.toLowerCase()===r.BR,d=t.s.current();return c&&t.s.isCollapsed()&&d?u(n,o.Dom.wrapNextInline(d,l,t),t,i):(t.s.eachSelection(r=>{t.s.save();let d=!!r&&o.Dom.up(r,o.Dom.isBlock,t.editor);if(!d&&r&&(d=(0,a.call)(c?o.Dom.wrapNextInline:o.Dom.wrapInline,r,c?l:s.toLowerCase(),t)),!d)return t.s.restore(),!1;u(n,d,t,i),t.s.restore()}),t.synchronizeValues()),!1};t.registerCommand("indent",{exec:i,hotkeys:["ctrl+]","cmd+]"]}),t.registerCommand("outdent",{exec:i,hotkeys:["ctrl+[","cmd+["]})})},70071:function(t,i,n){"use strict";n.d(i,{LazyWalker:function(){return a}});var r=n(45219),o=n(2748),s=n(72757);class a extends s.Eventify{setWork(t){return this.isWorked&&this.break(),this.workNodes=o.Dom.eachGen(t,!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(t){this.isWorked&&(this.stop(),this.emit("break",t))}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 t;if(this.workNodes){this.isWorked=!0;let i=0,n=null!=(t=this.options.timeoutChunkSize)?t:50;for(;!this.isFinished&&i<=n;){let t=this.workNodes.next();if(i+=1,this.visitNode(t.value)&&(this.hadAffect=!0),t.done)return void this.end()}}else this.end();this.isFinished||this._requestStarting()}visitNode(t){var i;return!!t&&(void 0===this.options.whatToShow||t.nodeType===this.options.whatToShow)&&null!=(i=this.emit("visit",t))&&i}constructor(t,i={}){super(),this.async=t,this.options=i,this.workNodes=null,this.hadAffect=!1,this.isWorked=!1,this.isFinished=!1,this.idleId=0,this.__schedulerController=null}}!function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);s>3&&a&&Object.defineProperty(i,n,a)}([r.autobind],a.prototype,"__workPerform",null)},70091:function(t,i,n){"use strict";n.d(i,{normalizeRelativePath:function(){return r}});let r=t=>t.split("/").reduce((t,i)=>{switch(i){case"":case".":break;case"..":t.pop();break;default:t.push(i)}return t},[]).join("/")+(t.endsWith("/")?"/":"")},70190:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"ارتفاع خط"}},70231:function(t,i,n){"use strict";n.d(i,{Dlgs:function(){return l}});var r=n(580),o=n(27613),s=n(37790),a=n(638);class l{dlg(t){let i=(0,r.getPopupViewRoot)(this.o,this.container,this.od.body),n=new a.Dialog(function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}({language:this.o.language,shadowRoot:this.o.shadowRoot,popupRoot:i,ownerWindow:this.o.ownerWindow,defaultTimeout:this.o.defaultTimeout,direction:this.o.direction,theme:this.o.theme,globalFullSize:this.o.globalFullSize},t));return(0,s.markOwner)(this,n.container),n.parent=this,n.bindDestruct(this)}confirm(t,i,n){return t=u(t,this),i=u(i,this),a.Confirm.call(this.dlg({closeOnClickOverlay:!0}),t,i,n)}prompt(t,i,n,r,o){return t=u(t,this),i=u(i,this),r=u(r,this),a.Prompt.call(this.dlg({closeOnClickOverlay:!0}),t,i,n,r,o)}alert(t,i,n,r){return t=u(t,this),i=u(i,this),a.Alert.call(this.dlg({closeOnClickOverlay:!0}),t,i,n,r)}}function u(t,i){return(0,o.isString)(t)&&!(0,o.isHTML)(t)&&(t=i.i18n(t)),t}},70308:function(t,i,n){"use strict";n.d(i,{areAllToolCallsExecuted:function(){return a},createNewConversation:function(){return o},findParentMessageId:function(){return s}});var r=n(21064);function o(t,i,n,s=[]){let a=t.o.aiAssistantPro,l={id:(0,r.generateConversationId)(),created:Date.now(),updated:Date.now(),messages:s,permissions:[],options:{model:null!=i?i:a.defaultModel,temperature:null!=n?n:a.defaultTemperature}};return t.e.fire("conversationCreated.ai-assistant-pro",l),l}function s(t){for(let i=t.messages.length-1;i>=0;i--){let n=t.messages[i];if("assistant"===n.role&&!n.id.startsWith("error_"))return n.id}return null}function a(t){let i=t.messages[t.messages.length-1];return!!(null==i?void 0:i.toolCalls)&&i.toolCalls.every(t=>"executed"===t.status||"denied"===t.status||"error"===t.status)}},70722:function(t,i,n){"use strict";function r(t){return!!t&&"function"===(typeof t).toLowerCase()&&(t===Function.prototype||/^\s*function\s*(\b[a-z$_][a-z0-9$_]*\b)*\s*\((|([a-z$_][a-z0-9$_]*)(\s*,[a-z$_][a-z0-9$_]*)*)\)\s*{\s*\[native code]\s*}\s*$/i.test(String(t)))}n.d(i,{isNativeFunction:function(){return r}})},70750:function(t,i,n){"use strict";n.r(i),n.d(i,{description:function(){return o},name:function(){return r},parameters:function(){return s},requiresPermission:function(){return a}});let r="replaceSelection",o="Replace the current selection with new HTML content",s=[{name:"html",type:"string",description:"HTML content to insert in place of the selection",required:!0},{name:"collapseToEnd",type:"boolean",description:"Move cursor to the end of the inserted content",required:!1,default:!0}],a=!0},70799:function(t,i,n){"use strict";n.d(i,{isString:function(){return o},isStringArray:function(){return s}});var r=n(68345);function o(t){return"string"==typeof t}function s(t){return(0,r.isArray)(t)&&o(t[0])}},70824:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"Verifica\xe7\xe3o ortogr\xe1fica"}},70945:function(t,i,n){"use strict";n.r(i),i.default={symbols:"תו מיוחד"}},70950:function(t,i,n){"use strict";n.d(i,{UISidebar:function(){return d}});var r=n(82749),o=n(31635),s=n(65478),a=n(38837),l=n(41180),u=n(62405),c=n(54747);class d extends u.UIGroup{className(){return"UISidebar"}render(){return`<div>
469
+ </div>`}onChangeCurrent(){return(0,r._)(function*(){let{current:t}=this;this.setMod("loading",!0);let i=this.getElm("preview");if((0,c.assert)(null!=i,"preview element does not exist"),d.Dom.detach(i),(0,u.css)(i,{backgroundImage:null}),t.isImage){let n=yield(0,u.loadImage)(t.fileURL,this.j);this.dialog.setPosition(),(0,u.css)(i,{width:Math.min(this.jodit.ow.innerWidth,n.naturalWidth),height:Math.min(this.jodit.ow.innerHeight-100,n.naturalHeight),backgroundImage:`url(${n.src})`})}else{let n=yield this.makeIframe(t.fileURL);i.appendChild(n)}this.dialog.setSize(),this.dialog.setPosition(),this.setMod("loading",!1)}).call(this)}makeIframe(t){let i=this.j.c.element("iframe");return i.classList.add(this.getFullElName("office-iframe")),i.src=/\.pdf/.test(t)?t:this.j.o.previewOfficeURL+encodeURIComponent(t),i}onPreviousClick(){let{current:t}=this,i=this.j.stateManager.getIndex(t,this.elements);i<=0?i=this.elements.length-1:i-=1,this.current=this.elements[i]}onNextClick(){let{current:t}=this,i=this.j.stateManager.getIndex(t,this.elements);i>=this.elements.length-1?i=0:i+=1,this.current=this.elements[i]}static open(t,i,n){return new h(t,i,n)}addGlobalListeners(){this.j.e.on(this.j.od,"keydown",this.onKeyPress)}onKeyPress(t){if(t.key===a.KEY_LEFT||t.key===a.KEY_RIGHT||t.key===a.KEY_SPACE)return t.key===a.KEY_LEFT?this.onPreviousClick():this.onNextClick(),!1}removeGlobalListeners(){this.j.e.off(this.j.od,"keydown",this.onKeyPress)}destruct(){return this.removeGlobalListeners(),this.dialog.destruct(),super.destruct()}constructor(t,i,n){super(t),(0,o._)(this,"current",void 0),(0,o._)(this,"elements",void 0),(0,o._)(this,"dialog",void 0),this.current=i,this.elements=n,this.dialog=new d.Dialog;const{dialog:r}=this;r.setMod("theme",t.state.theme).toolbar.setMod("mode","header"),r.open(this),this.elements=this.elements.filter(t=>t.isImage),r.e.on(r,"afterClose",()=>{this.destruct()}),this.addGlobalListeners(),this.onChangeCurrent(),r.toolbar.build([{icon:"check",exec:()=>{t.stateManager.addActive(this.current,!1),t.e.fire("select.filebrowser"),r.close()}},"dialog.close"])}}(0,s.__decorate)([(0,l.watch)("current")],h.prototype,"onChangeCurrent",null),(0,s.__decorate)([(0,l.watch)("previous:click")],h.prototype,"onPreviousClick",null),(0,s.__decorate)([(0,l.watch)("next:click")],h.prototype,"onNextClick",null),(0,s.__decorate)([l.autobind],h.prototype,"onKeyPress",null),h=(0,s.__decorate)([l.component],h)},69341:function(t,i,n){"use strict";n.d(i,{detectActiveStyle:function(){return a}});var r=n(82758),o=n(2748);function s(t,i){var n;if(t.nodeName.toLowerCase()!==i.element)return!1;let r=null==(n=i.classes)?void 0:n.filter(Boolean);return null==r||!r.length||r.every(i=>t.classList.contains(i))}function a(t,i){let n=t.s.current();if(!n)return null;for(let a of i)if(r.IS_BLOCK.test(a.element)){let i=o.Dom.closest(n,o.Dom.isBlock,t.editor);if(i&&s(i,a))return a}else{let i=o.Dom.isElement(n)?n:n.parentNode;for(;i&&i!==t.editor;){if(o.Dom.isElement(i)&&s(i,a))return a;i=i.parentNode}}return null}},69398:function(t,i,n){"use strict";n.d(i,{UIPolylineEditor:function(){return u}});var r=n(31635),o=n(65478),s=n(80256),a=n(45128),l=n(14002);class u extends l.UIBaseEditor{className(){return"UIPolylineEditor"}onReady(){var t,i;super.onReady(),this.append([new s.UIInput(this.j,{label:"Stroke weight",value:null!=(t=this.state.strokeWeight)?t:1,type:"number",onChange:t=>this.j.e.fire(this,"change","strokeWeight",t)}),new a.ColorInput(this.j,{label:"Stroke color",value:null!=(i=this.state.strokeColor)?i:"#000",onChange:t=>this.j.e.fire(this,"change","strokeColor",t)}).setMod("trigger",!1)],"form")}}(0,r.__decorate)([(0,o.hook)("ready")],u.prototype,"onReady",null),u=(0,r.__decorate)([o.component],u)},69625:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"Висота лінії"}},69874:function(t,i,n){"use strict";n.r(i),i.default={newline:"新行",delete:"删除",space:"空间","Speech Recognize":"言语识别",Sound:"声音","Interim Results":"中期业绩"}},69994:function(t,i,n){"use strict";n.d(i,{removeInsideComment:function(){return s}});var r=n(99658);let o=0;function s(t){return(t.isComment&&/\[if.*(supportLists|gte vml).*]/.test((0,r.html)(t))&&(o++,t.remove()),t.isComment&&o>0&&(0,r.html)(t).includes("[endif]")&&(o=o>0?o-1:0,t.remove()),o&&(t.isText||"img"===t.name&&(!t.attributes.src||/^file:/.test(t.attributes.src))))?(t.remove(),null):t}},70022:function(t,i,n){"use strict";n.d(i,{createSourceEditor:function(){return s}});var r=n(21537),o=n(52968);function s(t,i,n,s,a){let l;if((0,r.isFunction)(t))l=t(i);else switch(t){case"ace":if(!i.o.shadowRoot){l=new o.AceEditor(i,n,s,a);break}default:l=new o.TextAreaEditor(i,n,s,a)}return l.init(i),l.onReadyAlways(()=>{l.setReadOnly(i.o.readonly)}),l}},70045:function(t,i,n){"use strict";var r=n(82758),o=n(22732),s=n(580),a=n(43555);n(54389);var l=n(302);let u=(t,i,n,r)=>{if(!i||t.has(i))return;let o=(0,l.getKey)(n.o.direction,i);t.add(i);let s=i.style[o]?parseInt(i.style[o],10):0;s+=n.o.indentMargin*("outdent"===r?-1:1),i.style[o]=s>0?s+"px":"",(0,a.attr)(i,"style")||(0,a.attr)(i,"style",null)};s.pluginSystem.add("indent",function(t){t.registerButton({name:"indent",group:"indent"}).registerButton({name:"outdent",group:"indent"});let i=i=>{let n=new Set,{enter:s,enterBlock:l}=t.o,c=s.toLowerCase()===r.BR,d=t.s.current();return c&&t.s.isCollapsed()&&d?u(n,o.Dom.wrapNextInline(d,l,t),t,i):(t.s.eachSelection(r=>{t.s.save();let d=!!r&&o.Dom.up(r,o.Dom.isBlock,t.editor);if(!d&&r&&(d=(0,a.call)(c?o.Dom.wrapNextInline:o.Dom.wrapInline,r,c?l:s.toLowerCase(),t)),!d)return t.s.restore(),!1;u(n,d,t,i),t.s.restore()}),t.synchronizeValues()),!1};t.registerCommand("indent",{exec:i,hotkeys:["ctrl+]","cmd+]"]}),t.registerCommand("outdent",{exec:i,hotkeys:["ctrl+[","cmd+["]})})},70071:function(t,i,n){"use strict";n.d(i,{LazyWalker:function(){return a}});var r=n(45219),o=n(2748),s=n(72757);class a extends s.Eventify{setWork(t){return this.isWorked&&this.break(),this.workNodes=o.Dom.eachGen(t,!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(t){this.isWorked&&(this.stop(),this.emit("break",t))}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 t;if(this.workNodes){this.isWorked=!0;let i=0,n=null!=(t=this.options.timeoutChunkSize)?t:50;for(;!this.isFinished&&i<=n;){let t=this.workNodes.next();if(i+=1,this.visitNode(t.value)&&(this.hadAffect=!0),t.done)return void this.end()}}else this.end();this.isFinished||this._requestStarting()}visitNode(t){var i;return!!t&&(void 0===this.options.whatToShow||t.nodeType===this.options.whatToShow)&&null!=(i=this.emit("visit",t))&&i}constructor(t,i={}){super(),this.async=t,this.options=i,this.workNodes=null,this.hadAffect=!1,this.isWorked=!1,this.isFinished=!1,this.idleId=0,this.__schedulerController=null}}!function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);s>3&&a&&Object.defineProperty(i,n,a)}([r.autobind],a.prototype,"__workPerform",null)},70091:function(t,i,n){"use strict";n.d(i,{normalizeRelativePath:function(){return r}});let r=t=>t.split("/").reduce((t,i)=>{switch(i){case"":case".":break;case"..":t.pop();break;default:t.push(i)}return t},[]).join("/")+(t.endsWith("/")?"/":"")},70190:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"ارتفاع خط"}},70231:function(t,i,n){"use strict";n.d(i,{Dlgs:function(){return l}});var r=n(580),o=n(27613),s=n(37790),a=n(638);class l{dlg(t){let i=(0,r.getPopupViewRoot)(this.o,this.container,this.od.body),n=new a.Dialog(function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}({language:this.o.language,shadowRoot:this.o.shadowRoot,popupRoot:i,ownerWindow:this.o.ownerWindow,defaultTimeout:this.o.defaultTimeout,direction:this.o.direction,theme:this.o.theme,globalFullSize:this.o.globalFullSize},t));return(0,s.markOwner)(this,n.container),n.parent=this,n.bindDestruct(this)}confirm(t,i,n){return t=u(t,this),i=u(i,this),a.Confirm.call(this.dlg({closeOnClickOverlay:!0}),t,i,n)}prompt(t,i,n,r,o){return t=u(t,this),i=u(i,this),r=u(r,this),a.Prompt.call(this.dlg({closeOnClickOverlay:!0}),t,i,n,r,o)}alert(t,i,n,r){return t=u(t,this),i=u(i,this),a.Alert.call(this.dlg({closeOnClickOverlay:!0}),t,i,n,r)}}function u(t,i){return(0,o.isString)(t)&&!(0,o.isHTML)(t)&&(t=i.i18n(t)),t}},70308:function(t,i,n){"use strict";n.d(i,{areAllToolCallsExecuted:function(){return a},createNewConversation:function(){return o},findParentMessageId:function(){return s}});var r=n(21064);function o(t,i,n,s=[]){let a=t.o.aiAssistantPro,l={id:(0,r.generateConversationId)(),created:Date.now(),updated:Date.now(),messages:s,permissions:[],options:{model:null!=i?i:a.defaultModel,temperature:null!=n?n:a.defaultTemperature}};return t.e.fire("conversationCreated.ai-assistant-pro",l),l}function s(t){for(let i=t.messages.length-1;i>=0;i--){let n=t.messages[i];if("assistant"===n.role&&!n.id.startsWith("error_"))return n.id}return null}function a(t){let i=t.messages[t.messages.length-1];return!!(null==i?void 0:i.toolCalls)&&i.toolCalls.every(t=>"executed"===t.status||"denied"===t.status||"error"===t.status)}},70722:function(t,i,n){"use strict";function r(t){return!!t&&"function"===(typeof t).toLowerCase()&&(t===Function.prototype||/^\s*function\s*(\b[a-z$_][a-z0-9$_]*\b)*\s*\((|([a-z$_][a-z0-9$_]*)(\s*,[a-z$_][a-z0-9$_]*)*)\)\s*{\s*\[native code]\s*}\s*$/i.test(String(t)))}n.d(i,{isNativeFunction:function(){return r}})},70750:function(t,i,n){"use strict";n.r(i),n.d(i,{description:function(){return o},name:function(){return r},parameters:function(){return s},requiresPermission:function(){return a}});let r="replaceSelection",o="Replace the current selection with new HTML content",s=[{name:"html",type:"string",description:"HTML content to insert in place of the selection",required:!0},{name:"collapseToEnd",type:"boolean",description:"Move cursor to the end of the inserted content",required:!1,default:!0}],a=!0},70799:function(t,i,n){"use strict";n.d(i,{isString:function(){return o},isStringArray:function(){return s}});var r=n(68345);function o(t){return"string"==typeof t}function s(t){return(0,r.isArray)(t)&&o(t[0])}},70824:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"Verifica\xe7\xe3o ortogr\xe1fica"}},70945:function(t,i,n){"use strict";n.r(i),i.default={symbols:"תו מיוחד"}},70950:function(t,i,n){"use strict";n.d(i,{UISidebar:function(){return d}});var r=n(82749),o=n(31635),s=n(65478),a=n(38837),l=n(41180),u=n(62405),c=n(54747);class d extends u.UIGroup{className(){return"UISidebar"}render(){return`<div>
470
470
  <div class='&__hide-btn'>*angle-left*</div>
471
471
  <div class='&__favorites'>*heart* ~Favorites~</div>
472
472
  <div class='&__box'></div>
@@ -542,7 +542,7 @@ Please report this to https://github.com/markedjs/marked.`,t){let t="<p>An error
542
542
  ${n("contains detailed help for using")}
543
543
  </div>
544
544
  <div>${n("Copyright \xa9 XDSoft.net - Chupurnov Valerii. All rights reserved.")}</div>
545
- </div>`),(0,s.css)(i.dialog,{minHeight:200,minWidth:420}),i.open(!0,!0)},tooltip:"About Jodit",mode:r.MODE_SOURCE+r.MODE_WYSIWYG},o.pluginSystem.add("about",function(t){t.registerButton({name:"about",group:"info"})}),a.Icon.set("about",u.default)},73534:function(t,i,n){"use strict";n.d(i,{getSelectionFragments:function(){return o}});var r=n(2748);function o(t){let i=[],n=t.s.expandSelection().sel;if(!n||0===n.rangeCount||n.isCollapsed)return i;t.s.range.commonAncestorContainer.normalize();let o=t.s.range,{commonAncestorContainer:u,startContainer:c,endContainer:d,startOffset:h,endOffset:p}=o;if(c===d){if(r.Dom.isText(c))return[a(c,h,p)];if(p-h==1){let t=c.childNodes[h];return r.Dom.isText(t)?[a(t,0,t.nodeValue.length)]:[l(t)]}if(0===h&&c.childNodes.length===p)return[l(c)];for(let t=h;t<p;t++){let n=c.childNodes[t];r.Dom.isText(n)?i.push(a(n,0,n.nodeValue.length)):i.push(l(n))}return i}let f=new Set,m=t.ed.createTreeWalker(u,NodeFilter.SHOW_ALL,{acceptNode:t=>!o.intersectsNode(t)||r.Dom.closest(t,t=>t&&f.has(t),u)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),g=m.nextNode();for(;g;){if(r.Dom.isElement(g)&&s(o,g))f.add(g),i.push(l(g));else if(r.Dom.isText(g)&&s(o,g))i.push(a(g,0,g.nodeValue.length));else if(r.Dom.isText(g)){let t=0,n=g.nodeValue.length;g===c&&(t=h),g===d&&(n=p),i.push(a(g,t,n))}g=m.nextNode()}return i}let s=(t,i)=>{let n=document.createRange();try{n.selectNodeContents(i)}catch(t){n.selectNode(i)}return 0>=t.compareBoundaryPoints(Range.START_TO_START,n)&&t.compareBoundaryPoints(Range.END_TO_END,n)>=0};function a(t,i,n){return{text:t.nodeValue.slice(i,n),replace:r=>{t.nodeValue=t.nodeValue.slice(0,i)+r+t.nodeValue.slice(n)}}}function l(t){return{text:t.innerHTML,replace:i=>{t.innerHTML=i}}}},73674:function(t,i,n){"use strict";var r=n(6441);r.Config.prototype.controls.subscript={tags:["sub"],tooltip:"subscript"},r.Config.prototype.controls.superscript={tags:["sup"],tooltip:"superscript"},r.Config.prototype.controls.bold={tagRegExp:/^(strong|b)$/i,tags:["strong","b"],css:{"font-weight":["bold","700"]},tooltip:"Bold"},r.Config.prototype.controls.italic={tagRegExp:/^(em|i)$/i,tags:["em","i"],css:{"font-style":"italic"},tooltip:"Italic"},r.Config.prototype.controls.underline={tagRegExp:/^(u)$/i,tags:["u"],css:{"text-decoration-line":"underline"},tooltip:"Underline"},r.Config.prototype.controls.strikethrough={tagRegExp:/^(s)$/i,tags:["s"],css:{"text-decoration-line":"line-through"},tooltip:"Strike through"}},73792:function(t,i,n){"use strict";n.d(i,{checkRemoveChar:function(){return function t(i,n,a,u){var c,d,h,p;let f,m=a?-1:1,g=o.Dom.sibling(n,!a),b=o.Dom.sibling(n,a),v=null,y=!1;for(b||(b=l(n,a,i.editor));b&&(o.Dom.isText(b)||o.Dom.isInlineBlock(b));){for(;o.Dom.isInlineBlock(b);)b=a?null==b?void 0:b.lastChild:null==b?void 0:b.firstChild;if(!b)break;if((null==(c=b.nodeValue)?void 0:c.length)&&(f=function(t,i,n,a){let l=(0,s.toArray)(t.nodeValue),u=l.length,c=i?u-1:0;if(l[c]===r.INVISIBLE_SPACE)for(;l[c]===r.INVISIBLE_SPACE;)c+=n;let d=l[c];if(l[c+n]===r.INVISIBLE_SPACE){for(c+=n;l[c]===r.INVISIBLE_SPACE;)c+=n;c+=i?1:-1}return l=i&&c<0?[]:l.slice(i?0:c+1,i?c:u),function(t,i,n){var a;if(!t||!o.Dom.isText(t)||(!i?/ $/:/^ /).test(null!=(a=t.nodeValue)?a:"")||!(0,s.trimInv)(t.nodeValue||"").length)for(let t=i?n.length-1:0;i?t>=0:t<n.length;t+=i?-1:1)if(" "===n[t])n[t]=r.NBSP_SPACE;else break}(a,i,l),t.nodeValue=l.join(""),d}(b,a,m,g),!b.nodeValue.length&&o.Dom.isInlineBlock(b.parentNode)&&(b.nodeValue=r.INVISIBLE_SPACE)),(null==(d=b.nodeValue)?void 0:d.length)||(v=b),!(0,s.isVoid)(f)&&f!==r.INVISIBLE_SPACE){h=b,p=f,(0,s.call)(a?o.Dom.after:o.Dom.before,h,n),("sentence"===u||"word"===u&&" "!==p&&p!==r.NBSP_SPACE)&&t(i,n,a,u),y=!0;break}let _=l(b,a,i.editor);v&&(o.Dom.safeRemove(v),v=null),b=_}return v&&(o.Dom.safeRemove(v),v=null),y&&(function(t){let i=t.parentElement;for(;i&&o.Dom.isInlineBlock(i)&&o.Dom.isTag(i,"a");){let n=i.parentElement;o.Dom.isEmpty(i)&&(o.Dom.after(i,t),o.Dom.safeRemove(i)),i=n}}(n),n.parentElement!==i.editor&&o.Dom.isBlock(n.parentElement)&&o.Dom.each(n.parentElement,o.Dom.isEmptyTextNode)&&o.Dom.after(n,i.createInside.element("br")),i.s.setCursorBefore(n),o.Dom.isTag(n.previousSibling,"br")&&!o.Dom.findNotEmptySibling(n,!1)&&o.Dom.after(n,i.createInside.element("br"))),y}}});var r=n(82758),o=n(22732),s=n(21537),a=n(63785);function l(t,i,n){let r=o.Dom.sibling(t,i);return!r&&t.parentNode&&t.parentNode!==n&&(r=(0,a.findMostNestedNeighbor)(t,!i,n,!0)),r}},73943:function(t,i,n){"use strict";n.r(i),n.d(i,{description:function(){return o},name:function(){return r},parameters:function(){return s},requiresPermission:function(){return a}});let r="applyFormat",o="Apply or remove inline formatting to the current selection (bold, italic, underline, etc.) or to a specific block",s=[{name:"element",type:"string",description:'HTML element to wrap selection (e.g., "strong", "em", "u", "span")',required:!1},{name:"attributes",type:"object",description:'Attributes to apply (e.g., {"className": "highlight"}, {"style": {"color": "red"}})',required:!1},{name:"remove",type:"boolean",description:"If true, remove the formatting instead of applying it",required:!1,default:!1},{name:"blockIndex",type:"number",description:"Zero-based index of the block to format (if not using current selection)",required:!1},{name:"selector",type:"string",description:"CSS selector to find the block to format (if not using current selection)",required:!1}],a=!0},73948:function(t,i,n){"use strict";n.d(i,{nativeListeners:function(){return c}});var r=n(29960),o=n(15456),s=n(41457),a=n(32118),l=n(21735),u=n(20201);function c(){let t=!1,i=(0,a.elementsMap)(this),n=this;n.e.on(n.tree.container,"dragstart",i=>{let r=(0,l.getItem)(i.target,n.container);r&&n.o.moveFolder&&(t=r)}).on(n.tree.container,"drop",i=>{if((n.o.moveFile||n.o.moveFolder)&&t){let o=(0,r.attr)(t,"-path")||"";if(!n.o.moveFolder&&t.classList.contains(this.tree.getFullElName("item"))||t.classList.contains(this.files.getFullElName("item"))&&(o+=(0,r.attr)(t,"-name"),!n.o.moveFile))return!1;let s=(0,l.getItem)(i.target,n.container);s&&(n.dataProvider.move(o,(0,r.attr)(s,"-path")||"",(0,r.attr)(s,"-source")||"",t.classList.contains(this.files.getFullElName("item"))).then(()=>(0,u.loadTree)(this)).catch(n.status),t=!1)}}).on(n.files.container,"contextmenu",(0,s.default)(n)).on(n.files.container,"click",t=>{(0,o.ctrlKey)(t)||(this.state.activeElements=[])}).on(n.files.container,"click",t=>{let r=(0,l.getItem)(t.target,n.container);if(!r)return;let s=(0,l.elementToItem)(r,i);if(s)return(0,o.ctrlKey)(t)?n.state.activeElements=[...n.state.activeElements,s]:n.state.activeElements=[s],t.stopPropagation(),!1}).on(n.files.container,"dragstart",i=>{if(n.o.moveFile){let r=(0,l.getItem)(i.target,n.container);r&&(t=r)}}).on(n.container,"drop",t=>t.preventDefault())}},74398:function(t,i,n){"use strict";var r=n(82749),o=n(31635),s=n(29606),a=n(65478),l=n(43555),u=n(50911),c=n(2692);class d extends u.Plugin{className(){return"MobileView"}afterInit(t){t.registerCommand("mobileView",{exec:(i,n,r)=>{this.__currentMode===r&&(r="default"),this.__currentMode=r,(0,l.dataBind)(t,s.dataBindCurrentKey,r),"default"!==this.__currentMode&&(0,l.dataBind)(t,s.dataBindStoredKey,r),"default"===r?(0,l.css)(this.jodit.currentPlace.slots.center,{width:null,margin:null}):(0,l.css)(this.j.currentPlace.slots.center,{width:r,margin:"0 auto"})}}),t.events.on("beforeSetMode",()=>{})}__beforeSetMode(){"default"!==this.__currentMode&&this.j.execCommand("mobileView",!1,"default")}beforeDestruct(t){}constructor(...t){super(...t),(0,r._)(this,"buttons",[{name:"mobileView",group:"state"}]),(0,r._)(this,"__currentMode","default")}}(0,r._)(d,"requires",["license"]),(0,o.__decorate)([(0,a.watch)(":beforeSetMode.mobileView")],d.prototype,"__beforeSetMode",null),d=(0,o.__decorate)([a.component],d),c.JoditPro.plugins.add("mobileView",d)},74551:function(t,i){"use strict";i.default={"copy-format":"Format kopierenт"}},74569:function(t,i,n){"use strict";function r(t){let i=atob(t.split(",")[1]),n=t.split(",")[0].split(":")[1].split(";")[0],r=new Uint8Array(new ArrayBuffer(i.length));for(let t=0;t<i.length;t+=1)r[t]=i.charCodeAt(t);return new Blob([r.buffer],{type:n})}n.d(i,{dataURItoBlob:function(){return r}})},74922:function(t){t.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M13.98 22L6 30l7.98 8v-6H28v-4H13.98v-6zM42 18l-7.98-8v6H20v4h14.02v6L42 18z"/> <path d="M0 0h48v48H0z" fill="none"/> </svg>'},75259:function(t,i){"use strict";i.default='<svg viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <path d="M8,11c1.657,0,3-1.343,3-3V3c0-1.657-1.343-3-3-3S5,1.343,5,3v5C5,9.657,6.343,11,8,11z"/> <path d="M13,8V6h-1l0,1.844c0,1.92-1.282,3.688-3.164,4.071C6.266,12.438,4,10.479,4,8V6H3v2c0,2.414,1.721,4.434,4,4.899V15H5v1h6 v-1H9v-2.101C11.279,12.434,13,10.414,13,8z"/> </svg> '},75275:function(t,i,n){"use strict";n.d(i,{applyStyles:function(){return r.applyStyles},cleanFromWord:function(){return o.cleanFromWord},htmlspecialchars:function(){return s.htmlspecialchars},nl2br:function(){return a.nl2br},safeHTML:function(){return l.safeHTML},sanitizeHTMLElement:function(){return l.sanitizeHTMLElement},stripTags:function(){return u.stripTags}});var r=n(32574),o=n(53212),s=n(53326),a=n(45971),l=n(86518),u=n(91003)},75330:function(t,i,n){"use strict";n.d(i,{FileBrowser:function(){return F}});var r=n(91907),o=n(82758),s=n(65478),a=n(37133),l=n(3827),u=n(21537),c=n(12081),d=n(70231),h=n(84075),p=n(6441);n(61251);var f=n(30465),m=n(20201),g=n(73948),b=n(33281),v=n(94538),y=n(11787),_=n(63399),C=n(8172),w=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let F=class t extends h.ViewWithToolbar{className(){return"FileBrowser"}get dataProvider(){return(0,_.makeDataProvider)(this,this.options)}onSelect(t){return()=>{if(this.state.activeElements.length){let i=[],n=[];this.state.activeElements.forEach(t=>{let r=t.fileURL;r&&(i.push(r),n.push(t.isImage||!1))}),this.close(),(0,u.isFunction)(t)&&t({baseurl:"",files:i,isImages:n}),this.close()}return!1}}get _dialog(){var t;let i=this.dlg({minWidth:Math.min(700,screen.width),minHeight:300,buttons:null!=(t=this.o.headerButtons)?t:["fullsize","dialog.close"]});return["beforeClose","afterClose","beforeOpen"].forEach(t=>i.events.on(i,t,()=>this.e.fire(t))),i.setSize(this.o.width,this.o.height),i}get storage(){return c.Storage.makeStorage(!!this.o.saveStateInStorage,this.componentName)}get isOpened(){return this._dialog.isOpened&&"none"!==this.browser.style.display}status(t,i){!t||(0,u.isAbortError)(t)||((0,u.isString)(t)||(t=t.message),(0,u.isString)(t)&&(0,u.trim)(t).length&&this.message.message(t,i?"success":"error",this.o.howLongShowMsg))}open(t=this.o.defaultCallback,i=!1){return this.state.onlyImages=i,this.async.promise((i,n)=>{var r;if(!this.o.items||!this.o.items.url)throw(0,u.error)("Need set options.filebrowser.ajax.url");let s=0;this.e.off(this.files.container,"dblclick").on(this.files.container,"dblclick",this.onSelect(t)).on(this.files.container,"touchstart",()=>{let i=new Date().getTime();i-s<o.EMULATE_DBLCLICK_TIMEOUT&&this.onSelect(t)(),s=i}).off("select.filebrowser").on("select.filebrowser",this.onSelect(t));let a=this.c.div();null==(r=this.toolbar)||r.appendTo(a),this.__updateToolbarButtons(),this._dialog.open(this.browser,a),this.e.fire("sort.filebrowser",this.state.sortBy),(0,m.loadTree)(this).then(i,n).finally(()=>{var t;this.isInDestruct||null==(t=this===null||void 0===this?void 0:this.e)||t.fire("fileBrowserReady.filebrowser")})}).catch(t=>{if(!(0,u.isAbortError)(t)&&!o.IS_PROD)throw t})}__getButtons(){var t;return(null!=(t=this.o.buttons)?t:[]).filter(t=>{if(!(0,u.isString)(t))return!0;switch(t){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(t){var i;let n=this,r=null==(i=null==t?void 0:t.options)?void 0:i.uploader,o=(0,u.ConfigProto)(r||{},p.Config.defaultOptions.uploader),s=()=>(0,f.loadItems)(this);n.uploader=n.getInstance("Uploader",o),n.uploader.setPath(n.state.currentPath).setSource(n.state.currentSource).bind(n.browser,s,n.errorHandler),this.state.on(["change.currentPath","change.currentSource"],()=>{this.uploader.setPath(this.state.currentPath).setSource(this.state.currentSource)}),n.e.on("bindUploader.filebrowser",t=>{n.uploader.bind(t,s,n.errorHandler)})}destruct(){var t;!this.isInDestruct&&(null==(t=(0,s.cached)(this,"_dialog"))||t.destruct(),super.destruct(),this.events&&this.e.off(".filebrowser"),this.uploader&&this.uploader.destruct())}__updateToolbarButtons(){var t;let i=this.__getButtons();!function(t,i){if(t.length!==i.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!==i[n])return!1;return!0}(this.__prevButtons,i)&&(this.__prevButtons=i,null==(t=this.toolbar)||t.build(i))}constructor(t){super(t),this.browser=this.c.div(this.componentName),this.status_line=this.c.div(this.getFullElName("status")),this.tree=new C.FileBrowserTree(this),this.files=new C.FileBrowserFiles(this),this.state=(0,l.observable)({currentPath:"",currentSource:y.DEFAULT_SOURCE_NAME,currentBaseUrl:"",activeElements:[],elements:[],sources:[],view:"tiles",sortBy:"changed-desc",filterWord:"",onlyImages:!1}),this.errorHandler=t=>{(0,u.isAbortError)(t)||(t instanceof Error?this.status(this.i18n(t.message)):this.status(this.dataProvider.getMessage(t)))},this.close=()=>{this._dialog.close()},this.__prevButtons=[],this.attachEvents(t),this.options=(0,u.ConfigProto)(t||{},p.Config.defaultOptions.filebrowser),this.browser.component=this,this.container=this.browser,this.o.showFoldersPanel&&this.browser.appendChild(this.tree.container),this.browser.appendChild(this.files.container),this.browser.appendChild(this.status_line),b.selfListeners.call(this),g.nativeListeners.call(this),v.stateListeners.call(this),["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRename","folderRename","fileRemove","folderRemove","folder","items","permissions"].forEach(t=>{null!=this.options[t]&&(this.options[t]=(0,u.ConfigProto)(this.options[t],this.o.ajax))});const{storeView:i,storeSortBy:n,storeLastOpenedFolder:o}=this.o.saveStateInStorage||{storeLastOpenedFolder:!1,storeView:!1,storeSortBy:!1},s=i&&this.storage.get("view");s&&null==this.o.view?this.state.view="list"===s?"list":"tiles":this.state.view="list"===this.o.view?"list":"tiles",this.files.setMod("view",this.state.view);const a=n&&this.storage.get("sortBy");if(a){const t=a.split("-");this.state.sortBy=["changed","name","size"].includes(t[0])?a:"changed-desc"}else this.state.sortBy=this.o.sortBy||"changed-desc";if(o){const t=this.storage.get("currentPath"),i=this.storage.get("currentSource");this.state.currentPath=null!=t?t:"",this.state.currentSource=null!=i?i:""}this.initUploader(this),this.setStatus(r.STATUSES.ready)}};w([s.cache],F.prototype,"dataProvider",null),w([s.cache],F.prototype,"_dialog",null),w([s.cache],F.prototype,"storage",null),w([s.autobind],F.prototype,"status",null),w([s.autobind],F.prototype,"open",null),w([(0,a.watch)("dataProvider:changePermissions")],F.prototype,"__updateToolbarButtons",null),F=w([(0,s.derive)(d.Dlgs)],F)},75352:function(t,i,n){"use strict";n.r(i),n.d(i,{description:function(){return o},name:function(){return r},parameters:function(){return s},requiresPermission:function(){return a}});let r="readBlocks",o="Read blocks from the editor with optional filtering and pagination",s=[{name:"offset",type:"number",description:"Number of blocks to skip from the beginning (default: 0)",required:!1,default:0},{name:"limit",type:"number",description:"Maximum number of blocks to return (default: all)",required:!1},{name:"query",type:"string",description:"Filter blocks by text content",required:!1}],a=!1},75393:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 432 432"> <g> <polygon points="203.688,96 0,96 0,144 155.688,144 "/> <polygon points="155.719,288 0,288 0,336 203.719,336 "/> <path d="M97.844,230.125c-3.701-3.703-5.856-8.906-5.856-14.141s2.154-10.438,5.856-14.141l9.844-9.844H0v48h107.719 L97.844,230.125z"/> <polygon points="232,176 232,96 112,216 232,336 232,256 432,256 432,176"/> </g> </svg> '},75445:function(t,i){"use strict";i.default={}},75554:function(t,i,n){"use strict";var r=n(82749);n(28609);var o=n(50911),s=n(2692);class a extends o.Plugin{afterInit(t){}beforeDestruct(t){}constructor(...t){super(...t),(0,r._)(this,"buttons",[{name:"style",group:"font"}])}}(0,r._)(a,"requires",["license"]),s.JoditPro.plugins.add("style",a)},75595:function(t,i,n){"use strict";n.d(i,{readLink:function(){return s}});var r=n(2748),o=n(29960);function s(t,i,n){let s=r.Dom.closest(t.sourceImage,"a",i.editor);s?(n.imageLink=(0,o.attr)(s,"href")||"",n.imageLinkOpenInNewTab="_blank"===(0,o.attr)(s,"target")):(n.imageLink="",n.imageLinkOpenInNewTab=!1)}},75689:function(t){t.exports='<svg viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <path d="M2.5244141,23.5h18.9511719c0.4140625,0,0.75-0.3359375,0.75-0.75V4.9208984 c0-0.1992188-0.0795898-0.390625-0.2207031-0.53125L18.3198242,0.71875C18.1791992,0.5786133,17.9887695,0.5,17.7905273,0.5 H2.5244141c-0.4140625,0-0.75,0.3359375-0.75,0.75v21.5C1.7744141,23.1640625,2.1103516,23.5,2.5244141,23.5z M20.7128296,5.2197266 h-2.6986694V2.531189L20.7128296,5.2197266z M3.2744141,2h13.2397461v3.9697266c0,0.4140625,0.3359375,0.75,0.75,0.75h3.4614258V22 H3.2744141V2z" fill="#1D1D1D"/> <path d="M8.75,10.25h1.75c0.4140625,0,0.75-0.3359375,0.75-0.75s-0.3359375-0.75-0.75-0.75H8 c-0.4140625,0-0.75,0.3359375-0.75,0.75v2.75H6c-0.4140625,0-0.75,0.3359375-0.75,0.75S5.5859375,13.75,6,13.75h1.25v2.75 c0,0.4140625,0.3359375,0.75,0.75,0.75h2.5c0.4140625,0,0.75-0.3359375,0.75-0.75s-0.3359375-0.75-0.75-0.75H8.75V10.25z" fill="#1D1D1D"/> <path d="M18.5,12.25h-1.25V9.5c0-0.4140625-0.3359375-0.75-0.75-0.75H14c-0.4140625,0-0.75,0.3359375-0.75,0.75 s0.3359375,0.75,0.75,0.75h1.75v5.5H14c-0.4140625,0-0.75,0.3359375-0.75,0.75s0.3359375,0.75,0.75,0.75h2.5 c0.4140625,0,0.75-0.3359375,0.75-0.75v-2.75h1.25c0.4140625,0,0.75-0.3359375,0.75-0.75S18.9140625,12.25,18.5,12.25z" fill="#1D1D1D"/></svg>'},75703:function(t,i,n){"use strict";n.r(i),i.default={symbols:"سمبل"}},75882:function(t,i,n){"use strict";n.d(i,{unwrapChildren:function(){return l}});var r=n(2748),o=n(43555),s=n(22030),a=n(97380);function l(t,i){var n;let l,u=[],c=[],d=null==(n=t.options.attributes)?void 0:n.style;if(i.firstChild){let n=r.Dom.eachGen(i),h=n.next();for(;!h.done;){let i=h.value;(0,a.isSuitElement)(t,i,!0)&&(!d||(0,s.hasSameStyleKeys)(i,d))?(void 0===l&&(l=!0),u.push(i)):d&&(0,a.isSameStyleChild)(t,i)?(void 0===l&&(l=!1),c.push(()=>{(0,o.css)(i,Object.keys(d).reduce((t,i)=>(t[i]=null,t),{})),(0,o.attr)(i,"style")||(0,o.attr)(i,"style",null),(0,o.attr)(i,"style")||i.nodeName.toLowerCase()!==t.element||u.push(i)})):r.Dom.isEmptyTextNode(i)||void 0!==l||(l=!1),h=n.next()}}return c.forEach(t=>t()),u.forEach(r.Dom.unwrap),!!l}},75966:function(t){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"> \x3c!-- Wand handle - diagonal line --\x3e <rect x="12" y="10" width="13" height="3.5" rx="0.5" transform="rotate(45 12 12)"/> \x3c!-- Wand tip - diamond --\x3e <rect x="3" y="3" width="6" height="6" rx="1" transform="rotate(45 6 6)"/> \x3c!-- Large sparkle - top --\x3e <polygon points="15,0 16,4 15,8 14,4"/> <polygon points="11,4 15,5 19,4 15,3"/> \x3c!-- Medium sparkle - left --\x3e <polygon points="1,11 2,14 1,17 0,14"/> <polygon points="-2,14 1,15 4,14 1,13"/> \x3c!-- Small sparkle - middle --\x3e <polygon points="8,14 8.5,16 8,18 7.5,16"/> <polygon points="6,16 8,16.5 10,16 8,15.5"/> </svg>'},76014:function(t,i,n){"use strict";n.d(i,{Table:function(){return d}});var r=n(91907),o=n(82758),s=n(65478),a=n(22732),l=n(580),u=n(21537);let c=new WeakMap;class d extends r.ViewComponent{className(){return"Table"}__recalculateStyles(){let t=(0,l.getContainer)(this.j,d,"style",!0),i=[];this.selected.forEach(t=>{let n=(0,u.cssPath)(t);n&&i.push(n)}),t.innerHTML=i.length?i.join(",")+`{${this.jodit.options.table.selectionCellStyle}}`:""}addSelection(t){this.selected.add(t),this.__recalculateStyles();let i=a.Dom.closest(t,"table",this.j.editor);if(i){let n=d.__selectedByTable.get(i)||new Set;n.add(t),d.__selectedByTable.set(i,n)}}removeSelection(t){this.selected.delete(t),this.__recalculateStyles();let i=a.Dom.closest(t,"table",this.j.editor);if(i){let n=d.__selectedByTable.get(i);n&&(n.delete(t),n.size||d.__selectedByTable.delete(i))}}getAllSelectedCells(){return(0,u.toArray)(this.selected)}static __getSelectedCellsByTable(t){let i=d.__selectedByTable.get(t);return i?(0,u.toArray)(i):[]}destruct(){return this.selected.clear(),super.destruct()}static __getRowsCount(t){return t.rows.length}getRowsCount(t){return d.__getRowsCount(t)}static __getColumnsCount(t){return d.__formalMatrix(t).reduce((t,i)=>Math.max(t,i.length),0)}getColumnsCount(t){return d.__getColumnsCount(t)}static __formalMatrix(t,i){let n=[[]],r=(0,u.toArray)(t.rows),o=(t,r)=>{void 0===n[r]&&(n[r]=[]);let o=t.colSpan,s=t.rowSpan,a,l,u=0;for(;n[r][u];)u+=1;for(l=0;s>l;l+=1)for(a=0;a<o;a+=1){if(void 0===n[r+l]&&(n[r+l]=[]),i&&!1===i(t,r+l,u+a,o,s))return!1;n[r+l][u+a]=t}};for(let t=0;t<r.length;t+=1){let i=(0,u.toArray)(r[t].cells);for(let r=0;r<i.length;r+=1)if(!1===o(i[r],t))return n}return n}formalMatrix(t,i){return d.__formalMatrix(t,i)}static __formalCoordinate(t,i,n=!1){let r=0,o=0,s=1,a=1;return d.__formalMatrix(t,(t,l,u,c,d)=>{if(i===t)return r=l,o=u,s=c||1,a=d||1,n&&(o+=(c||1)-1,r+=(d||1)-1),!1}),[r,o,s,a]}formalCoordinate(t,i,n=!1){return d.__formalCoordinate(t,i,n)}static __appendRow(t,i,n,r){var o;let s;if(i)s=i.cloneNode(!0),(0,u.$$)("td,th",i).forEach(t=>{let i=(0,u.attr)(t,"rowspan");if(i&&parseInt(i,10)>1){let n=parseInt(i,10)-1;(0,u.attr)(t,"rowspan",n>1?n:null)}}),(0,u.$$)("td,th",s).forEach(t=>{t.innerHTML=""});else{let i=d.__getColumnsCount(t);s=r.element("tr");for(let t=0;t<i;t+=1)s.appendChild(r.element("td"))}n&&i&&i.nextSibling?i.parentNode&&i.parentNode.insertBefore(s,i.nextSibling):!n&&i?i.parentNode&&i.parentNode.insertBefore(s,i):((null==(o=t.getElementsByTagName("tbody"))?void 0:o[0])||t).appendChild(s)}appendRow(t,i,n){return d.__appendRow(t,i,n,this.j.createInside)}static __removeRow(t,i){let n,r=d.__formalMatrix(t),o=t.rows[i];r[i].forEach((s,l)=>{if(n=!1,i-1>=0&&r[i-1][l]===s)n=!0;else if(r[i+1]&&r[i+1][l]===s){if(s.parentNode===o&&s.parentNode.nextSibling){n=!0;let o=l+1;for(;r[i+1][o]===s;)o+=1;let u=a.Dom.next(s.parentNode,t=>a.Dom.isTag(t,"tr"),t);u&&(r[i+1][o]?u.insertBefore(s,r[i+1][o]):u.appendChild(s))}}else a.Dom.safeRemove(s);if(n&&(s.parentNode===o||s!==r[i][l-1])){let t=s.rowSpan;(0,u.attr)(s,"rowspan",t-1>1?t-1:null)}}),a.Dom.safeRemove(o)}removeRow(t,i){return d.__removeRow(t,i)}appendColumn(t,i,n=!0){let r=d.__formalMatrix(t);if(!n&&a.Dom.isCell(i.previousElementSibling))return this.appendColumn(t,i.previousElementSibling,!0);let o=n?i.cellIndex+((i.colSpan||1)-1):i.cellIndex,s=n?o+1:o;for(let t=0;t<r.length;){let i=r[t];if(i[o]!==i[s]||o===s){let t=this.j.createInside.element("td");n?a.Dom.after(i[o],t):a.Dom.before(i[o],t),i[o].rowSpan>1&&(t.rowSpan=i[o].rowSpan)}else i[o].colSpan+=1;t+=i[o].rowSpan||1}}static __removeColumn(t,i){let n,r=d.__formalMatrix(t);r.forEach((t,o)=>{let s=t[i];if(n=!1,i-1>=0&&r[o][i-1]===s||i+1<t.length&&r[o][i+1]===s?n=!0:a.Dom.safeRemove(s),n&&(o-1<0||s!==r[o-1][i])){let t=s.colSpan;(0,u.attr)(s,"colspan",t-1>1?(t-1).toString():null)}})}removeColumn(t,i){return d.__removeColumn(t,i)}static __getSelectedBound(t,i){let n,r,o,s=[[1/0,1/0],[0,0]],a=d.__formalMatrix(t);for(n=0;n<a.length;n+=1)for(r=0;a[n]&&r<a[n].length;r+=1)i.includes(a[n][r])&&(s[0][0]=Math.min(n,s[0][0]),s[0][1]=Math.min(r,s[0][1]),s[1][0]=Math.max(n,s[1][0]),s[1][1]=Math.max(r,s[1][1]));for(n=s[0][0];n<=s[1][0];n+=1)for(o=1,r=s[0][1];r<=s[1][1];r+=1){for(;a[n]&&a[n][r-o]&&a[n][r]===a[n][r-o];)s[0][1]=Math.min(r-o,s[0][1]),s[1][1]=Math.max(r-o,s[1][1]),o+=1;for(o=1;a[n]&&a[n][r+o]&&a[n][r]===a[n][r+o];)s[0][1]=Math.min(r+o,s[0][1]),s[1][1]=Math.max(r+o,s[1][1]),o+=1;for(o=1;a[n-o]&&a[n][r]===a[n-o][r];)s[0][0]=Math.min(n-o,s[0][0]),s[1][0]=Math.max(n-o,s[1][0]),o+=1;for(o=1;a[n+o]&&a[n][r]===a[n+o][r];)s[0][0]=Math.min(n+o,s[0][0]),s[1][0]=Math.max(n+o,s[1][0]),o+=1}return s}getSelectedBound(t,i){return d.__getSelectedBound(t,i)}static __normalizeTable(t){let i=[],n=d.__formalMatrix(t);d.__removeExtraColspans(n,i),d.__removeExtraRowspans(n,i);for(let t=0;t<n.length;t+=1)for(let i=0;i<n[t].length;i+=1)void 0!==n[t][i]&&(n[t][i].hasAttribute("rowspan")&&1===n[t][i].rowSpan&&(0,u.attr)(n[t][i],"rowspan",null),n[t][i].hasAttribute("colspan")&&1===n[t][i].colSpan&&(0,u.attr)(n[t][i],"colspan",null),n[t][i].hasAttribute("class")&&!(0,u.attr)(n[t][i],"class")&&(0,u.attr)(n[t][i],"class",null));d.__unmark(i)}static __removeExtraColspans(t,i){for(let n=0;n<t[0].length;n+=1){let r=1e6,o=!1;for(let i=0;i<t.length;i+=1)if(void 0!==t[i][n]){if(t[i][n].colSpan<2){o=!0;break}r=Math.min(r,t[i][n].colSpan)}if(!o)for(let o=0;o<t.length;o+=1)void 0!==t[o][n]&&d.__mark(t[o][n],"colspan",t[o][n].colSpan-r+1,i)}}static __removeExtraRowspans(t,i){let n=0,r=0;for(n=0;n<t.length;n+=1){let o=1e6,s=!1;for(r=0;r<t[n].length;r+=1)if(void 0!==t[n][r]){if(t[n][r].rowSpan<2){s=!0;break}o=Math.min(o,t[n][r].rowSpan)}if(!s)for(r=0;r<t[n].length;r+=1)void 0!==t[n][r]&&d.__mark(t[n][r],"rowspan",t[n][r].rowSpan-o+1,i)}}normalizeTable(t){return d.__normalizeTable(t)}static __mergeSelected(t,i){let n=[],r=d.__getSelectedBound(t,d.__getSelectedCellsByTable(t)),s=0,l=null,c=0,p=0,f=0,m=new Set,g=[];r&&(r[0][0]-r[1][0]||r[0][1]-r[1][1])&&(d.__formalMatrix(t,(t,o,a,b,v)=>{o>=r[0][0]&&o<=r[1][0]&&a>=r[0][1]&&a<=r[1][1]&&(m.has(t)||(m.add(t),o===r[0][0]&&t.style.width&&(s+=t.offsetWidth),""!==(0,u.trim)(t.innerHTML.replace(/<br(\/)?>/g,""))&&n.push(t.innerHTML),b>1&&(p+=b-1),v>1&&(f+=v-1),l?(d.__mark(t,"remove",1,g),h(i).removeSelection(t)):(l=t,c=a)))}),p=r[1][1]-r[0][1]+1,f=r[1][0]-r[0][0]+1,l&&(p>1&&d.__mark(l,"colspan",p,g),f>1&&d.__mark(l,"rowspan",f,g),s&&(d.__mark(l,"width",(s/t.offsetWidth*100).toFixed(o.ACCURACY)+"%",g),c&&d.__setColumnWidthByDelta(t,c,0,!0,g)),l.innerHTML=n.join("<br/>"),h(i).addSelection(l),m.delete(l),d.__unmark(g),d.__normalizeTable(t),(0,u.toArray)(t.rows).forEach(t=>{t.cells.length||a.Dom.safeRemove(t)})))}mergeSelected(t){return d.__mergeSelected(t,this.j)}static __splitHorizontal(t,i){let n,r,o,s,l,u=[];d.__getSelectedCellsByTable(t).forEach(c=>{(r=i.createInside.element("td")).appendChild(i.createInside.element("br")),o=i.createInside.element("tr"),n=d.__formalCoordinate(t,c),c.rowSpan<2?(d.__formalMatrix(t,(t,i,r)=>{n[0]===i&&n[1]!==r&&t!==c&&d.__mark(t,"rowspan",t.rowSpan+1,u)}),a.Dom.after(a.Dom.closest(c,"tr",t),o),o.appendChild(r)):(d.__mark(c,"rowspan",c.rowSpan-1,u),d.__formalMatrix(t,(i,r,o)=>{r>n[0]&&r<n[0]+c.rowSpan&&n[1]>o&&i.parentNode.rowIndex===r&&(l=i),n[0]<r&&i===c&&(s=t.rows[r])}),l?a.Dom.after(l,r):s.insertBefore(r,s.firstChild)),c.colSpan>1&&d.__mark(r,"colspan",c.colSpan,u),d.__unmark(u),h(i).removeSelection(c)}),this.__normalizeTable(t)}splitHorizontal(t){return d.__splitHorizontal(t,this.j)}static __splitVertical(t,i){let n,r,s,l=[];d.__getSelectedCellsByTable(t).forEach(u=>{n=d.__formalCoordinate(t,u),u.colSpan<2?d.__formalMatrix(t,(t,i,r)=>{n[1]===r&&n[0]!==i&&t!==u&&d.__mark(t,"colspan",t.colSpan+1,l)}):d.__mark(u,"colspan",u.colSpan-1,l),(r=i.createInside.element("td")).appendChild(i.createInside.element("br")),u.rowSpan>1&&d.__mark(r,"rowspan",u.rowSpan,l);let c=u.offsetWidth;a.Dom.after(u,r),s=c/t.offsetWidth/2,d.__mark(u,"width",(100*s).toFixed(o.ACCURACY)+"%",l),d.__mark(r,"width",(100*s).toFixed(o.ACCURACY)+"%",l),d.__unmark(l),h(i).removeSelection(u)}),d.__normalizeTable(t)}splitVertical(t){return d.__splitVertical(t,this.j)}static __setColumnWidthByDelta(t,i,n,r,s){let a=d.__formalMatrix(t),l=0;for(let r=0;r<a.length;r+=1){let u=a[r][i];if(u.colSpan>1&&a.length>1)continue;let c=(u.offsetWidth+n)/t.offsetWidth*100;d.__mark(u,"width",c.toFixed(o.ACCURACY)+"%",s),l=r;break}for(let t=l+1;t<a.length;t+=1){let n=a[t][i];d.__mark(n,"width",null,s)}r||d.__unmark(s)}setColumnWidthByDelta(t,i,n,r,o){return d.__setColumnWidthByDelta(t,i,n,r,o)}static __mark(t,i,n,r){var o;r.push(t);let s=null!=(o=c.get(t))?o:{};s[i]=void 0===n?1:n,c.set(t,s)}static __unmark(t){t.forEach(t=>{let i=c.get(t);i&&(Object.keys(i).forEach(n=>{let r=i[n];switch(n){case"remove":a.Dom.safeRemove(t);break;case"rowspan":(0,u.attr)(t,"rowspan",(0,u.isNumber)(r)&&r>1?r:null);break;case"colspan":(0,u.attr)(t,"colspan",(0,u.isNumber)(r)&&r>1?r:null);break;case"width":null==r?(t.style.removeProperty("width"),(0,u.attr)(t,"style")||(0,u.attr)(t,"style",null)):t.style.width=r.toString()}delete i[n]}),c.delete(t))})}constructor(){super(...arguments),this.selected=new Set}}d.__selectedByTable=new WeakMap,function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);s>3&&a&&Object.defineProperty(i,n,a)}([(0,s.debounce)()],d.prototype,"__recalculateStyles",null);let h=t=>t.getInstance("Table",t.o)},76059:function(t,i,n){"use strict";n.d(i,{replaceOldTags:function(){return o}});let r={i:"em",b:"strong"};function o(t){let{name:i}=t;return i in r&&(t.name=r[i]),t}},76078:function(t,i,n){"use strict";n.d(i,{$$:function(){return h},cssPath:function(){return m},getXPathByElement:function(){return p},refs:function(){return f},resolveElement:function(){return g}});var r=n(82758),o=n(2748),s=n(4510),a=n(70799),l=n(87058),u=n(29960),c=n(89890);let d=1;function h(t,i){let n;if(!r.IS_ES_NEXT&&/:scope/.test(t)&&r.IS_IE&&!(i&&i.nodeType===Node.DOCUMENT_NODE)){let r=i.id,o=r||"_selector_id_"+String(Math.random()).slice(2)+ ++d;t=t.replace(/:scope/g,"#"+o),r||i.setAttribute("id",o),n=i.parentNode.querySelectorAll(t),r||i.removeAttribute("id")}else n=i.querySelectorAll(t);return[].slice.call(n)}let p=(t,i)=>{if(!t||t.nodeType!==Node.ELEMENT_NODE||!t.parentNode||i===t)return"";if(t.id)return"//*[@id='"+t.id+"']";let n=[].filter.call(t.parentNode.childNodes,i=>i.nodeName===t.nodeName);return p(t.parentNode,i)+"/"+t.nodeName.toLowerCase()+(n.length>1?"["+((0,s.toArray)(n).indexOf(t)+1)+"]":"")},f=t=>("container"in t&&(t=t.container),h("[ref],[data-ref]",t).reduce((t,i)=>{let n=(0,u.attr)(i,"-ref");return n&&(0,a.isString)(n)&&(t[(0,l.camelCase)(n)]=i,t[n]=i),t},{})),m=t=>{if(!o.Dom.isElement(t))return null;let i=[],n=t;for(;n&&n.nodeType===Node.ELEMENT_NODE;){let t=n.nodeName.toLowerCase();if(n.id){t+="#"+n.id,i.unshift(t);break}{let i=n,r=1;do(i=i.previousElementSibling)&&i.nodeName.toLowerCase()===t&&r++;while(i);t+=":nth-of-type("+r+")"}i.unshift(t),n=n.parentNode}return i.join(" > ")};function g(t,i){let n=t;if((0,a.isString)(t))try{n=i.querySelector(t)}catch(i){throw(0,c.error)('String "'+t+'" should be valid HTML selector')}if(!n||"object"!=typeof n||!o.Dom.isElement(n)||!n.cloneNode)throw(0,c.error)('Element "'+t+'" should be string or HTMLElement instance');return n}},76295:function(t,i,n){"use strict";var r=n(2748),o=n(580),s=n(21537),a=n(25726),l=n(41180),u=n(12153),c=n(6441),d=n(5567);u.Icon.set("justify",d.default),c.Config.prototype.controls.align={name:"left",tooltip:"Align",update(t,i){let n=i.control,o=t.s.current();if(o){let a=r.Dom.closest(o,r.Dom.isBlock,t.editor)||t.editor,u=(0,l.css)(a,"text-align").toString();n.defaultValue&&-1!==n.defaultValue.indexOf(u)&&(u="left");let{list:c,data:d}=n;d&&d.currentValue!==u&&c&&((0,s.isPlainObject)(c)?c[u]:c.includes(u))&&(t.o.textIcons||"select"===n.component?i.state.text=u:i.state.icon.name=u,d.currentValue=u)}},isActive:(t,i)=>{let n=t.s.current();if(!n||!i.control.defaultValue)return!1;let o=r.Dom.closest(n,r.Dom.isBlock,t.editor)||t.editor;return -1===i.control.defaultValue.indexOf((0,l.css)(o,"text-align").toString())},defaultValue:["left","start","inherit"],data:{currentValue:"left"},list:["center","left","right","justify"]},c.Config.prototype.controls.center={command:"justifyCenter",css:{"text-align":"center"},tooltip:"Align Center"},c.Config.prototype.controls.justify={command:"justifyFull",css:{"text-align":"justify"},tooltip:"Align Justify"},c.Config.prototype.controls.left={command:"justifyLeft",css:{"text-align":"left"},tooltip:"Align Left"},c.Config.prototype.controls.right={command:"justifyRight",css:{"text-align":"right"},tooltip:"Align Right"},o.pluginSystem.add("justify",function(t){t.registerButton({name:"align",group:"indent"});let i=i=>(t.s.focus(),t.s.eachSelection(n=>{if(!n)return;let o=r.Dom.up(n,r.Dom.isBlock,t.editor);o||(o=r.Dom.wrapInline(n,t.o.enterBlock,t)),(0,a.alignElement)(i,o)}),!1);t.registerCommand("justifyfull",i),t.registerCommand("justifyright",i),t.registerCommand("justifyleft",i),t.registerCommand("justifycenter",i)})},76636:function(t,i,n){"use strict";n.r(i),n.d(i,{ru:function(){return o.a}});var r=n(28125),o=n.n(r)},76697:function(t,i,n){"use strict";n.d(i,{UISettingsButton:function(){return d}});var r=n(82749),o=n(31635),s=n(79455),a=n(87325),l=n(37133),u=n(48538),c=n(78644);class d extends u.UIElement{className(){return"UISettingsButton"}setParentView(t){var i,n;return null==(i=this.settingsPopup)||i.setParentView(t),null==(n=this.button)||n.setParentView(t),super.setParentView(t)}onChangeOptionsClosePopup(t){this.closeCallback()}openSettingsPopup(){return this.settingsPopup||(this.settingsPopup=new s.UISettingsPopup(this.jodit,this.extraState,this.options,this.getConversation,this.updateConversation)),this.settingsPopup.update(),this.settingsPopup}constructor(t,i,n,o,s){super(t),(0,r._)(this,"extraState",void 0),(0,r._)(this,"options",void 0),(0,r._)(this,"getConversation",void 0),(0,r._)(this,"updateConversation",void 0),(0,r._)(this,"closeCallback",void 0),(0,r._)(this,"settingsPopup",void 0),(0,r._)(this,"button",void 0),this.extraState=i,this.options=n,this.getConversation=o,this.updateConversation=s,this.closeCallback=()=>{},this.settingsPopup=null,this.button=new c.ToolbarButton(this.jodit,{name:"settings",tooltip:"Settings",popup:(t,i,n)=>(this.closeCallback=n,this.openSettingsPopup())}),this.button.state.variant="initial",this.button.state.size="small",this.container.appendChild(this.button.container)}}(0,o.__decorate)([(0,l.watch)("extraState.displayMode")],d.prototype,"onChangeOptionsClosePopup",null),d=(0,o.__decorate)([a.component],d)},76725:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"V\xfdška č\xe1ry"}},76855:function(t,i,n){"use strict";n.d(i,{asArray:function(){return r.asArray},splitArray:function(){return o.splitArray},toArray:function(){return s.toArray}});var r=n(29999),o=n(46559),s=n(4510)},77361:function(t,i,n){"use strict";n.d(i,{CHANGE:function(){return s},INITIAL:function(){return l},REPLACE:function(){return u},UNSET:function(){return a},UNWRAP:function(){return o},WRAP:function(){return r},_PREFIX:function(){return c}});let r="wrap",o="unwrap",s="change",a="unset",l="initial",u="replace",c="commitStyle"},77469:function(t,i,n){"use strict";var r=n(82758),o=n(580),s=n(21537);n(50963),o.pluginSystem.add("iframe",function(t){let i=t.options;t.e.on("afterSetMode",()=>{t.isEditorMode()&&t.s.focus()}).on("generateDocumentStructure.iframe",(t,n)=>{let r=t||n.iframe.contentWindow.document;if(r.open(),r.write(i.iframeDoctype+`<html dir="${i.direction}" class="jodit" lang="${(0,s.defaultLanguage)(i.language)}">`+"<head>"+`<title>${i.iframeTitle}</title>`+(i.iframeBaseUrl?`<base href="${i.iframeBaseUrl}"/>`:"")+'</head><body class="jodit-wysiwyg"></body></html>'),r.close(),i.iframeCSSLinks&&i.iframeCSSLinks.forEach(t=>{let i=r.createElement("link");i.setAttribute("rel","stylesheet"),i.setAttribute("href",t),r.head&&r.head.appendChild(i)}),i.iframeStyle){let t=r.createElement("style");t.innerHTML=i.iframeStyle,r.head&&r.head.appendChild(t)}}).on("createEditor",()=>{if(!i.iframe)return;let n=t.c.element("iframe");n.style.display="block",n.src="about:blank",n.className="jodit-wysiwyg_iframe",n.setAttribute("allowtransparency","true"),n.setAttribute("tabindex",i.tabIndex.toString()),n.setAttribute("frameborder","0"),null!=i.iframeSandbox&&n.setAttribute("sandbox",i.iframeSandbox),t.workplace.appendChild(n),t.iframe=n;let o=t.e.fire("generateDocumentStructure.iframe",null,t);return(0,s.callPromise)(o,()=>{if(!t.iframe)return!1;let n=t.iframe.contentWindow.document;t.editorWindow=t.iframe.contentWindow;let o=i.editHTMLDocumentMode,a=()=>{(0,s.attr)(n.body,"contenteditable",t.getMode()!==r.MODE_SOURCE&&!t.getReadOnly()||null)},l=t=>{let i=/<body.*<\/body>/im,n="{%%BODY%%}",r=i.exec(t);return r&&(t=t.replace(i,n).replace(/<span([^>]*?)>(.*?)<\/span>/gim,"").replace(/&lt;span([^&]*?)&gt;(.*?)&lt;\/span&gt;/gim,"").replace(n,r[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")),t};if(o){let i=t.element.tagName;if("TEXTAREA"!==i&&"INPUT"!==i)throw(0,s.error)("If enable `editHTMLDocumentMode` - source element should be INPUT or TEXTAREA");t.e.on("beforeGetNativeEditorValue",()=>l(t.o.iframeDoctype+n.documentElement.outerHTML)).on("beforeSetNativeEditorValue",({value:i})=>!t.isLocked&&(/<(html|body)/i.test(i)?l(n.documentElement.outerHTML)!==l(i)&&(n.open(),n.write(t.o.iframeDoctype+l(i)),n.close(),t.editor=n.body,t.e.fire("safeHTML",t.editor),a(),t.e.fire("prepareWYSIWYGEditor"),t.e.stopPropagation("beforeSetNativeEditorValue")):n.body.innerHTML=i,!0),{top:!0})}if(t.editor=n.body,t.e.on("afterSetMode afterInit afterAddPlace",a),"auto"===i.height){n.documentElement&&(n.documentElement.style.overflowY="hidden");let r=t.async.throttle((...n)=>{t.async.requestAnimationFrame(()=>{if(t.editor&&t.iframe&&"auto"===i.height){let i=t.ew.getComputedStyle(t.editor),n=parseInt(i.marginTop||"0",10)+parseInt(i.marginBottom||"0",10);(0,s.css)(t.iframe,"height",t.editor.offsetHeight+n)}})},t.defaultTimeout/2);if(t.e.on("change afterInit afterSetMode resize",r).on([t.iframe,t.ew,n.documentElement],"load",r).on(n,"readystatechange DOMContentLoaded",r),"function"==typeof ResizeObserver){let i=new ResizeObserver(r);i.observe(n.body),t.e.on("beforeDestruct",()=>{i.disconnect()})}}return n.documentElement&&t.e.on(n.documentElement,"mousedown touchend",()=>{t.s.isFocused()||(t.s.focus(),t.editor===n.body&&t.s.setCursorIn(n.body))}).on(t.ew,"mousedown touchstart keydown keyup touchend click mouseup mousemove scroll",i=>{var n;null==(n=t.events)||n.fire(t.ow,i)}),!1})})})},77688:function(t,i,n){"use strict";function r(t,i,n,r,o,s,a){try{var l=t[s](a),u=l.value}catch(t){n(t);return}l.done?i(u):Promise.resolve(u).then(r,o)}function o(t){return function(){var i=this,n=arguments;return new Promise(function(o,s){var a=t.apply(i,n);function l(t){r(a,o,s,l,u,"next",t)}function u(t){r(a,o,s,l,u,"throw",t)}l(void 0)})}}n.d(i,{_:function(){return o}})},77725:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"Correcci\xf3n ortogr\xe1fica"}},77841:function(t,i,n){"use strict";n.d(i,{parentPath:function(){return r}});let r=t=>{let i=t.split("/").filter(t=>t.length);return i.pop(),i.join("/")||"/"}},77894:function(t,i,n){"use strict";var r=n(76636),o=n(6441),s=n(580);let a=o.Config.prototype.controls.filebrowser;a.settings={icon:"settings",tooltip:"Settings",exec:t=>{var i;(null!=(i=t.parent)?i:t).e.fire("toggleSettings.filebrowser")}},a.home={icon:"home",tooltip:"Home",exec:t=>{t.e.fire("goHome.filebrowser")}},a.preview={icon:"eye",tooltip:"Preview",isDisabled(t){return 0===t.state.activeElements.length},exec:t=>{t.e.fire("togglePreview.filebrowser")}},a.next={icon:"angle-right",tooltip:"History next",isDisabled:t=>!t.historyManager.canNext(),exec:t=>{t.historyManager.next()}},a.previous={icon:"angle-left",tooltip:"History previous",isDisabled:t=>!t.historyManager.canPrevious(),exec:t=>{t.historyManager.previous()}},a["new-folder"]={icon:"new-folder",exec:t=>{t.e.fire("folderCreate.filebrowser",{path:t.state.currentPath,sourceName:t.state.currentSource})},tooltip:"New folder"},Object.assign(o.Config.prototype.filebrowser,{buttons:["filebrowser.home","filebrowser.previous","filebrowser.next","|","filebrowser.upload","filebrowser.new-folder","filebrowser.remove","filebrowser.update","filebrowser.select","filebrowser.edit","|","filebrowser.preview","about"],sort:!1,pixelOffsetLoadNewChunk:300,width:800,height:400,previewOfficeURL:"https://view.officeapps.live.com/op/view.aspx?src="}),(0,s.extendLang)(r)},78116:function(t,i,n){"use strict";n.d(i,{isMarker:function(){return o}});var r=n(2748);function o(t){return r.Dom.isMarker(t)}},78173:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 736q0 13-10 23l-466 466q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg> '},78213:function(t,i,n){"use strict";n.d(i,{STATUSES:function(){return r}});let r={beforeInit:"beforeInit",ready:"ready",beforeDestruct:"beforeDestruct",destructed:"destructed"}},78513:function(t,i,n){"use strict";n.d(i,{FileBrowser:function(){return r.FileBrowser}});var r=n(75330)},78524:function(t,i,n){"use strict";n(6441).Config.prototype.commandToHotkeys={removeFormat:["ctrl+shift+m","cmd+shift+m"],insertOrderedList:["ctrl+shift+7","cmd+shift+7"],insertUnorderedList:["ctrl+shift+8, cmd+shift+8"],selectall:["ctrl+a","cmd+a"]}},78584:function(t,i,n){"use strict";n.d(i,{Dialog:function(){return C}});var r,o,s,a=n(91907),l=n(82758),u=n(65478),c=n(2748),d=n(580),h=n(76855),p=n(27613),f=n(43555),m=n(38837),g=n(67510),b=n(35608),v=n(84075),y=n(6441),_=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};y.Config.prototype.dialog={namespace:"",extraButtons:[],resizable:!0,draggable:!0,buttons:["dialog.close"],removeButtons:[],toolbarButtonSize:"middle",zIndex:"inherit"},y.Config.prototype.controls.dialog={close:{icon:"cancel",exec:t=>{t.close()}}};let C=s=class t extends v.ViewWithToolbar{className(){return"Dialog"}get destination(){let{popupRoot:t,shadowRoot:i}=this.o;return t||i||this.od.body}setElements(t,i){let n=[];(0,h.asArray)(i).forEach(i=>{let r;if((0,p.isArray)(i)){let r=this.c.div(this.getFullElName("column"));return n.push(r),t.appendChild(r),this.setElements(r,i)}r=(0,p.isString)(i)?this.c.fromHTML(i):(0,p.hasContainer)(i)?i.container:i,n.push(r),r.parentNode!==t&&t.appendChild(r)}),(0,h.toArray)(t.childNodes).forEach(i=>{-1===n.indexOf(i)&&t.removeChild(i)})}__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(t){let i=t.target;!(!this.o.draggable||i&&i.nodeName.match(/^(INPUT|SELECT)$/))&&(this.draggable=!0,this.startX=t.clientX,this.startY=t.clientY,this.startPoint.x=(0,f.css)(this.dialog,"left"),this.startPoint.y=(0,f.css)(this.dialog,"top"),this.setMaxZIndex(),t.cancelable&&t.preventDefault(),this.lockSelect(),this.__addGlobalResizeListeners(),this.e&&(this.e.fire(this,"startMove"),this.e.fire("closeAllPopups")))}__onMouseMove(t){this.draggable&&this.o.draggable&&(this.setPosition(this.startPoint.x+t.clientX-this.startX,this.startPoint.y+t.clientY-this.startY),this.e&&this.e.fire(this,"move",t.clientX-this.startX,t.clientY-this.startY),t.stopImmediatePropagation()),this.resizable&&this.o.resizable&&(this.setSize(this.startPoint.w+t.clientX-this.startX,this.startPoint.h+t.clientY-this.startY),this.e&&this.e.fire(this,"resizeDialog",t.clientX-this.startX,t.clientY-this.startY))}__onEsc(t){if(this.o.closeOnEsc&&this.isOpened&&t.key===l.KEY_ESC&&!0!==this.getMod("static")){let i=this.getMaxZIndexDialog();i?i.close():this.close(),t.stopImmediatePropagation()}}__onResizerMouseDown(t){this.resizable=!0,this.startX=t.clientX,this.startY=t.clientY,this.startPoint.w=this.dialog.offsetWidth,this.startPoint.h=this.dialog.offsetHeight,this.lockSelect(),this.__addGlobalResizeListeners(),this.e&&this.e.fire(this,"startResize")}__addGlobalResizeListeners(){this.e.on(this.ow,"pointermove touchmove",this.__onMouseMove).on(this.ow,"pointerup touchend",this.__onMouseUp)}__removeGlobalResizeListeners(){this.e.off(this.ow,"mousemove pointermove",this.__onMouseMove).off(this.ow,"mouseup pointerup",this.__onMouseUp)}setSize(t,i){return null==t&&(t=this.dialog.offsetWidth),null==i&&(i=this.dialog.offsetHeight),(0,f.css)(this.dialog,{width:t,height:i}),this}calcAutoSize(){return this.setSize("auto","auto"),this.setSize(),this}setPosition(t,i){let n=this.ow.innerWidth,r=this.ow.innerHeight,o=n/2-this.dialog.offsetWidth/2,s=r/2-this.dialog.offsetHeight/2;return o<0&&(o=0),s<0&&(s=0),void 0!==t&&void 0!==i&&(this.offsetX=t,this.offsetY=i,this.moved=Math.abs(t-o)>100||Math.abs(i-s)>100),this.dialog.style.left=(t||o)+"px",this.dialog.style.top=(i||s)+"px",this}setHeader(t){return this.setElements(this.dialogbox_header,t),this}setContent(t){return this.setElements(this.dialogbox_content,t),this}setFooter(t){return this.setElements(this.dialogbox_footer,t),this.setMod("footer",!!t),this}getZIndex(){return parseInt((0,f.css)(this.container,"zIndex"),10)||0}getMaxZIndexDialog(){let t=0,i,n,r=this;return(0,f.$$)(".jodit-dialog",this.destination).forEach(o=>{i=o.component,n=parseInt((0,f.css)(o,"zIndex"),10),i.isOpened&&!isNaN(n)&&n>t&&(r=i,t=n)}),r}setMaxZIndex(){if(this.getMod("static"))return;let t=0x1312d04,i=0;(0,f.$$)(".jodit-dialog",this.destination).forEach(n=>{t=Math.max(isNaN(i=parseInt((0,f.css)(n,"zIndex"),10))?0:i,t)}),this.container.style.zIndex=(t+1).toString()}toggleFullSize(t){(0,p.isVoid)(t)&&(t=!this.getMod("fullsize")),this.setMod("fullsize",t),super.toggleFullSize(t)}open(t,i,n,r){if(d.eventEmitter.fire("closeAllPopups hideHelpers"),!1===this.e.fire(this,"beforeOpen"))return this;(0,p.isBoolean)(t)&&(n=t),(0,p.isBoolean)(i)&&(r=i),this.destroyAfterClose=!0===n;let o=(0,p.isBoolean)(t)?void 0:t,s=(0,p.isBoolean)(i)?void 0:i;return void 0!==s&&this.setHeader(s),o&&this.setContent(o),this.setMod("active",!0),this.isOpened=!0,this.setModal(r),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(t){return this.isModal=!!t,this.setMod("modal",this.isModal),this}close(){if(this.isDestructed||!this.isOpened||!0===this.getMod("static"))return this;let{e:t}=this;return!1===t.fire(this,"beforeClose")||!1===t.fire("beforeClose",this)||(this.setMod("active",!1),this.isOpened=!1,this.isFullSize&&this.toggleFullSize(!1),c.Dom.safeRemove(this.container),this.__removeGlobalResizeListeners(),t.fire(this,"afterClose"),t.fire(this.ow,"joditCloseDialog"),this.destroyAfterClose&&this.destruct()),this}buildToolbar(){this.o.buttons&&this.toolbar.build((0,h.splitArray)(this.o.buttons)).setMod("mode","header").appendTo(this.dialogbox_toolbar)}destruct(){this.isInDestruct||(this.setStatus(a.STATUSES.beforeDestruct),this.isOpened&&this.close(),this.events&&(this.__removeGlobalResizeListeners(),this.events.off(this.container,"close_dialog",self.close).off(this.ow,"keydown",this.__onEsc).off(this.ow,"resize",this.__onResize)),super.destruct())}constructor(t={}){super(t),this.destroyAfterClose=!1,this.moved=!1,this.resizable=!1,this.draggable=!1,this.startX=0,this.startY=0,this.startPoint={x:0,y:0,w:0,h:0},this.lockSelect=()=>{this.setMod("moved",!0)},this.unlockSelect=()=>{this.setMod("moved",!1)},this.__onResize=()=>{this.options&&this.o.resizable&&!this.moved&&this.isOpened&&!this.offsetX&&!this.offsetY&&this.setPosition()},this.isModal=!1,this.isOpened=!1,this.options=(0,f.ConfigProto)(t,(0,f.ConfigProto)(y.Config.prototype.dialog,s.defaultOptions)),c.Dom.safeRemove(this.container);const i=this.getFullElName.bind(this);this.container=this.c.fromHTML(`<div class="jodit jodit-dialog ${this.componentName}">
545
+ </div>`),(0,s.css)(i.dialog,{minHeight:200,minWidth:420}),i.open(!0,!0)},tooltip:"About Jodit",mode:r.MODE_SOURCE+r.MODE_WYSIWYG},o.pluginSystem.add("about",function(t){t.registerButton({name:"about",group:"info"})}),a.Icon.set("about",u.default)},73534:function(t,i,n){"use strict";n.d(i,{getSelectionFragments:function(){return o}});var r=n(2748);function o(t){let i=[],n=t.s.expandSelection().sel;if(!n||0===n.rangeCount||n.isCollapsed)return i;t.s.range.commonAncestorContainer.normalize();let o=t.s.range,{commonAncestorContainer:u,startContainer:c,endContainer:d,startOffset:h,endOffset:p}=o;if(c===d){if(r.Dom.isText(c))return[a(c,h,p)];if(p-h==1){let t=c.childNodes[h];return r.Dom.isText(t)?[a(t,0,t.nodeValue.length)]:[l(t)]}if(0===h&&c.childNodes.length===p)return[l(c)];for(let t=h;t<p;t++){let n=c.childNodes[t];r.Dom.isText(n)?i.push(a(n,0,n.nodeValue.length)):i.push(l(n))}return i}let f=new Set,m=t.ed.createTreeWalker(u,NodeFilter.SHOW_ALL,{acceptNode:t=>!o.intersectsNode(t)||r.Dom.closest(t,t=>t&&f.has(t),u)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),g=m.nextNode();for(;g;){if(r.Dom.isElement(g)&&s(o,g))f.add(g),i.push(l(g));else if(r.Dom.isText(g)&&s(o,g))i.push(a(g,0,g.nodeValue.length));else if(r.Dom.isText(g)){let t=0,n=g.nodeValue.length;g===c&&(t=h),g===d&&(n=p),i.push(a(g,t,n))}g=m.nextNode()}return i}let s=(t,i)=>{let n=document.createRange();try{n.selectNodeContents(i)}catch(t){n.selectNode(i)}return 0>=t.compareBoundaryPoints(Range.START_TO_START,n)&&t.compareBoundaryPoints(Range.END_TO_END,n)>=0};function a(t,i,n){return{text:t.nodeValue.slice(i,n),replace:r=>{t.nodeValue=t.nodeValue.slice(0,i)+r+t.nodeValue.slice(n)}}}function l(t){return{text:t.innerHTML,replace:i=>{t.innerHTML=i}}}},73674:function(t,i,n){"use strict";var r=n(6441);r.Config.prototype.controls.subscript={tags:["sub"],tooltip:"subscript"},r.Config.prototype.controls.superscript={tags:["sup"],tooltip:"superscript"},r.Config.prototype.controls.bold={tagRegExp:/^(strong|b)$/i,tags:["strong","b"],css:{"font-weight":["bold","700"]},tooltip:"Bold"},r.Config.prototype.controls.italic={tagRegExp:/^(em|i)$/i,tags:["em","i"],css:{"font-style":"italic"},tooltip:"Italic"},r.Config.prototype.controls.underline={tagRegExp:/^(u)$/i,tags:["u"],css:{"text-decoration-line":"underline"},tooltip:"Underline"},r.Config.prototype.controls.strikethrough={tagRegExp:/^(s)$/i,tags:["s"],css:{"text-decoration-line":"line-through"},tooltip:"Strike through"}},73792:function(t,i,n){"use strict";n.d(i,{checkRemoveChar:function(){return function t(i,n,a,u){var c,d,h,p;let f,m=a?-1:1,g=o.Dom.sibling(n,!a),b=o.Dom.sibling(n,a),v=null,y=!1;for(b||(b=l(n,a,i.editor));b&&(o.Dom.isText(b)||o.Dom.isInlineBlock(b));){for(;o.Dom.isInlineBlock(b);)b=a?null==b?void 0:b.lastChild:null==b?void 0:b.firstChild;if(!b)break;if((null==(c=b.nodeValue)?void 0:c.length)&&(f=function(t,i,n,a){let l=(0,s.toArray)(t.nodeValue),u=l.length,c=i?u-1:0;if(l[c]===r.INVISIBLE_SPACE)for(;l[c]===r.INVISIBLE_SPACE;)c+=n;let d=l[c];if(l[c+n]===r.INVISIBLE_SPACE){for(c+=n;l[c]===r.INVISIBLE_SPACE;)c+=n;c+=i?1:-1}return l=i&&c<0?[]:l.slice(i?0:c+1,i?c:u),function(t,i,n){var a;if(!t||!o.Dom.isText(t)||(!i?/ $/:/^ /).test(null!=(a=t.nodeValue)?a:"")||!(0,s.trimInv)(t.nodeValue||"").length)for(let t=i?n.length-1:0;i?t>=0:t<n.length;t+=i?-1:1)if(" "===n[t])n[t]=r.NBSP_SPACE;else break}(a,i,l),t.nodeValue=l.join(""),d}(b,a,m,g),!b.nodeValue.length&&o.Dom.isInlineBlock(b.parentNode)&&(b.nodeValue=r.INVISIBLE_SPACE)),(null==(d=b.nodeValue)?void 0:d.length)||(v=b),!(0,s.isVoid)(f)&&f!==r.INVISIBLE_SPACE){h=b,p=f,(0,s.call)(a?o.Dom.after:o.Dom.before,h,n),("sentence"===u||"word"===u&&" "!==p&&p!==r.NBSP_SPACE)&&t(i,n,a,u),y=!0;break}let _=l(b,a,i.editor);v&&(o.Dom.safeRemove(v),v=null),b=_}return v&&(o.Dom.safeRemove(v),v=null),y&&(function(t){let i=t.parentElement;for(;i&&o.Dom.isInlineBlock(i)&&o.Dom.isTag(i,"a");){let n=i.parentElement;o.Dom.isEmpty(i)&&(o.Dom.after(i,t),o.Dom.safeRemove(i)),i=n}}(n),n.parentElement!==i.editor&&o.Dom.isBlock(n.parentElement)&&o.Dom.each(n.parentElement,o.Dom.isEmptyTextNode)&&o.Dom.after(n,i.createInside.element("br")),i.s.setCursorBefore(n),o.Dom.isTag(n.previousSibling,"br")&&!o.Dom.findNotEmptySibling(n,!1)&&o.Dom.after(n,i.createInside.element("br"))),y}}});var r=n(82758),o=n(22732),s=n(21537),a=n(63785);function l(t,i,n){let r=o.Dom.sibling(t,i);return!r&&t.parentNode&&t.parentNode!==n&&(r=(0,a.findMostNestedNeighbor)(t,!i,n,!0)),r}},73943:function(t,i,n){"use strict";n.r(i),n.d(i,{description:function(){return o},name:function(){return r},parameters:function(){return s},requiresPermission:function(){return a}});let r="applyFormat",o="Apply or remove inline formatting to the current selection (bold, italic, underline, etc.) or to a specific block",s=[{name:"element",type:"string",description:'HTML element to wrap selection (e.g., "strong", "em", "u", "span")',required:!1},{name:"attributes",type:"object",description:'Attributes to apply (e.g., {"className": "highlight"}, {"style": {"color": "red"}})',required:!1},{name:"remove",type:"boolean",description:"If true, remove the formatting instead of applying it",required:!1,default:!1},{name:"blockIndex",type:"number",description:"Zero-based index of the block to format (if not using current selection)",required:!1},{name:"selector",type:"string",description:"CSS selector to find the block to format (if not using current selection)",required:!1}],a=!0},73948:function(t,i,n){"use strict";n.d(i,{nativeListeners:function(){return c}});var r=n(29960),o=n(15456),s=n(41457),a=n(32118),l=n(21735),u=n(20201);function c(){let t=!1,i=(0,a.elementsMap)(this),n=this;n.e.on(n.tree.container,"dragstart",i=>{let r=(0,l.getItem)(i.target,n.container);r&&n.o.moveFolder&&(t=r)}).on(n.tree.container,"drop",i=>{if((n.o.moveFile||n.o.moveFolder)&&t){let o=(0,r.attr)(t,"-path")||"";if(!n.o.moveFolder&&t.classList.contains(this.tree.getFullElName("item"))||t.classList.contains(this.files.getFullElName("item"))&&(o+=(0,r.attr)(t,"-name"),!n.o.moveFile))return!1;let s=(0,l.getItem)(i.target,n.container);s&&(n.dataProvider.move(o,(0,r.attr)(s,"-path")||"",(0,r.attr)(s,"-source")||"",t.classList.contains(this.files.getFullElName("item"))).then(()=>(0,u.loadTree)(this)).catch(n.status),t=!1)}}).on(n.files.container,"contextmenu",(0,s.default)(n)).on(n.files.container,"click",t=>{(0,o.ctrlKey)(t)||(this.state.activeElements=[])}).on(n.files.container,"click",t=>{let r=(0,l.getItem)(t.target,n.container);if(!r)return;let s=(0,l.elementToItem)(r,i);if(s)return(0,o.ctrlKey)(t)?n.state.activeElements=[...n.state.activeElements,s]:n.state.activeElements=[s],t.stopPropagation(),!1}).on(n.files.container,"dragstart",i=>{if(n.o.moveFile){let r=(0,l.getItem)(i.target,n.container);r&&(t=r)}}).on(n.container,"drop",t=>t.preventDefault())}},74398:function(t,i,n){"use strict";var r=n(82749),o=n(31635),s=n(29606),a=n(65478),l=n(43555),u=n(50911),c=n(2692);class d extends u.Plugin{className(){return"MobileView"}afterInit(t){t.registerCommand("mobileView",{exec:(i,n,r)=>{this.__currentMode===r&&(r="default"),this.__currentMode=r,(0,l.dataBind)(t,s.dataBindCurrentKey,r),"default"!==this.__currentMode&&(0,l.dataBind)(t,s.dataBindStoredKey,r),"default"===r?(0,l.css)(this.jodit.currentPlace.slots.center,{width:null,margin:null}):(0,l.css)(this.j.currentPlace.slots.center,{width:r,margin:"0 auto"})}}),t.events.on("beforeSetMode",()=>{})}__beforeSetMode(){"default"!==this.__currentMode&&this.j.execCommand("mobileView",!1,"default")}beforeDestruct(t){}constructor(...t){super(...t),(0,r._)(this,"buttons",[{name:"mobileView",group:"state"}]),(0,r._)(this,"__currentMode","default")}}(0,r._)(d,"requires",["license"]),(0,o.__decorate)([(0,a.watch)(":beforeSetMode.mobileView")],d.prototype,"__beforeSetMode",null),d=(0,o.__decorate)([a.component],d),c.JoditPro.plugins.add("mobileView",d)},74551:function(t,i){"use strict";i.default={"copy-format":"Format kopierenт"}},74569:function(t,i,n){"use strict";function r(t){let i=atob(t.split(",")[1]),n=t.split(",")[0].split(":")[1].split(";")[0],r=new Uint8Array(new ArrayBuffer(i.length));for(let t=0;t<i.length;t+=1)r[t]=i.charCodeAt(t);return new Blob([r.buffer],{type:n})}n.d(i,{dataURItoBlob:function(){return r}})},74922:function(t){t.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M13.98 22L6 30l7.98 8v-6H28v-4H13.98v-6zM42 18l-7.98-8v6H20v4h14.02v6L42 18z"/> <path d="M0 0h48v48H0z" fill="none"/> </svg>'},75259:function(t,i){"use strict";i.default='<svg viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <path d="M8,11c1.657,0,3-1.343,3-3V3c0-1.657-1.343-3-3-3S5,1.343,5,3v5C5,9.657,6.343,11,8,11z"/> <path d="M13,8V6h-1l0,1.844c0,1.92-1.282,3.688-3.164,4.071C6.266,12.438,4,10.479,4,8V6H3v2c0,2.414,1.721,4.434,4,4.899V15H5v1h6 v-1H9v-2.101C11.279,12.434,13,10.414,13,8z"/> </svg> '},75275:function(t,i,n){"use strict";n.d(i,{applyStyles:function(){return r.applyStyles},cleanFromWord:function(){return o.cleanFromWord},htmlspecialchars:function(){return s.htmlspecialchars},nl2br:function(){return a.nl2br},safeHTML:function(){return l.safeHTML},sanitizeHTMLElement:function(){return l.sanitizeHTMLElement},stripTags:function(){return u.stripTags}});var r=n(32574),o=n(53212),s=n(53326),a=n(45971),l=n(86518),u=n(91003)},75330:function(t,i,n){"use strict";n.d(i,{FileBrowser:function(){return F}});var r=n(91907),o=n(82758),s=n(65478),a=n(37133),l=n(3827),u=n(21537),c=n(12081),d=n(70231),h=n(84075),p=n(6441);n(61251);var f=n(30465),m=n(20201),g=n(73948),b=n(33281),v=n(94538),y=n(11787),_=n(63399),C=n(8172),w=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let F=class t extends h.ViewWithToolbar{className(){return"FileBrowser"}get dataProvider(){return(0,_.makeDataProvider)(this,this.options)}onSelect(t){return()=>{if(this.state.activeElements.length){let i=[],n=[];this.state.activeElements.forEach(t=>{let r=t.fileURL;r&&(i.push(r),n.push(t.isImage||!1))}),this.close(),(0,u.isFunction)(t)&&t({baseurl:"",files:i,isImages:n}),this.close()}return!1}}get _dialog(){var t;let i=this.dlg({minWidth:Math.min(700,screen.width),minHeight:300,buttons:null!=(t=this.o.headerButtons)?t:["fullsize","dialog.close"]});return["beforeClose","afterClose","beforeOpen"].forEach(t=>i.events.on(i,t,()=>this.e.fire(t))),i.setSize(this.o.width,this.o.height),i}get storage(){return c.Storage.makeStorage(!!this.o.saveStateInStorage,this.componentName)}get isOpened(){return this._dialog.isOpened&&"none"!==this.browser.style.display}status(t,i){!t||(0,u.isAbortError)(t)||((0,u.isString)(t)||(t=t.message),(0,u.isString)(t)&&(0,u.trim)(t).length&&this.message.message(t,i?"success":"error",this.o.howLongShowMsg))}open(t=this.o.defaultCallback,i=!1){return this.state.onlyImages=i,this.async.promise((i,n)=>{var r;if(!this.o.items||!this.o.items.url)throw(0,u.error)("Need set options.filebrowser.ajax.url");let s=0;this.e.off(this.files.container,"dblclick").on(this.files.container,"dblclick",this.onSelect(t)).on(this.files.container,"touchstart",()=>{let i=new Date().getTime();i-s<o.EMULATE_DBLCLICK_TIMEOUT&&this.onSelect(t)(),s=i}).off("select.filebrowser").on("select.filebrowser",this.onSelect(t));let a=this.c.div();null==(r=this.toolbar)||r.appendTo(a),this.__updateToolbarButtons(),this._dialog.open(this.browser,a),this.e.fire("sort.filebrowser",this.state.sortBy),(0,m.loadTree)(this).then(i,n).finally(()=>{var t;this.isInDestruct||null==(t=this===null||void 0===this?void 0:this.e)||t.fire("fileBrowserReady.filebrowser")})}).catch(t=>{if(!(0,u.isAbortError)(t)&&!o.IS_PROD)throw t})}__getButtons(){var t;return(null!=(t=this.o.buttons)?t:[]).filter(t=>{if(!(0,u.isString)(t))return!0;switch(t){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(t){var i;let n=this,r=null==(i=null==t?void 0:t.options)?void 0:i.uploader,o=(0,u.ConfigProto)(r||{},p.Config.defaultOptions.uploader),s=()=>(0,f.loadItems)(this);n.uploader=n.getInstance("Uploader",o),n.uploader.setPath(n.state.currentPath).setSource(n.state.currentSource).bind(n.browser,s,n.errorHandler),this.state.on(["change.currentPath","change.currentSource"],()=>{this.uploader.setPath(this.state.currentPath).setSource(this.state.currentSource)}),n.e.on("bindUploader.filebrowser",t=>{n.uploader.bind(t,s,n.errorHandler)})}destruct(){var t;!this.isInDestruct&&(null==(t=(0,s.cached)(this,"_dialog"))||t.destruct(),super.destruct(),this.events&&this.e.off(".filebrowser"),this.uploader&&this.uploader.destruct())}__updateToolbarButtons(){var t;let i=this.__getButtons();!function(t,i){if(t.length!==i.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!==i[n])return!1;return!0}(this.__prevButtons,i)&&(this.__prevButtons=i,null==(t=this.toolbar)||t.build(i))}constructor(t){super(t),this.browser=this.c.div(this.componentName),this.status_line=this.c.div(this.getFullElName("status")),this.tree=new C.FileBrowserTree(this),this.files=new C.FileBrowserFiles(this),this.state=(0,l.observable)({currentPath:"",currentSource:y.DEFAULT_SOURCE_NAME,currentBaseUrl:"",activeElements:[],elements:[],sources:[],view:"tiles",sortBy:"changed-desc",filterWord:"",onlyImages:!1}),this.errorHandler=t=>{(0,u.isAbortError)(t)||(t instanceof Error?this.status(this.i18n(t.message)):this.status(this.dataProvider.getMessage(t)))},this.close=()=>{this._dialog.close()},this.__prevButtons=[],this.attachEvents(t),this.options=(0,u.ConfigProto)(t||{},p.Config.defaultOptions.filebrowser),this.browser.component=this,this.container=this.browser,this.o.showFoldersPanel&&this.browser.appendChild(this.tree.container),this.browser.appendChild(this.files.container),this.browser.appendChild(this.status_line),b.selfListeners.call(this),g.nativeListeners.call(this),v.stateListeners.call(this),["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRename","folderRename","fileRemove","folderRemove","folder","items","permissions"].forEach(t=>{null!=this.options[t]&&(this.options[t]=(0,u.ConfigProto)(this.options[t],this.o.ajax))});const{storeView:i,storeSortBy:n,storeLastOpenedFolder:o}=this.o.saveStateInStorage||{storeLastOpenedFolder:!1,storeView:!1,storeSortBy:!1},s=i&&this.storage.get("view");s&&null==this.o.view?this.state.view="list"===s?"list":"tiles":this.state.view="list"===this.o.view?"list":"tiles",this.files.setMod("view",this.state.view);const a=n&&this.storage.get("sortBy");if(a){const t=a.split("-");this.state.sortBy=["changed","name","size"].includes(t[0])?a:"changed-desc"}else this.state.sortBy=this.o.sortBy||"changed-desc";if(o){const t=this.storage.get("currentPath"),i=this.storage.get("currentSource");this.state.currentPath=null!=t?t:"",this.state.currentSource=null!=i?i:""}this.initUploader(this),this.setStatus(r.STATUSES.ready)}};w([s.cache],F.prototype,"dataProvider",null),w([s.cache],F.prototype,"_dialog",null),w([s.cache],F.prototype,"storage",null),w([s.autobind],F.prototype,"status",null),w([s.autobind],F.prototype,"open",null),w([(0,a.watch)("dataProvider:changePermissions")],F.prototype,"__updateToolbarButtons",null),F=w([(0,s.derive)(d.Dlgs)],F)},75352:function(t,i,n){"use strict";n.r(i),n.d(i,{description:function(){return o},name:function(){return r},parameters:function(){return s},requiresPermission:function(){return a}});let r="readBlocks",o="Read blocks from the editor with optional filtering and pagination",s=[{name:"offset",type:"number",description:"Number of blocks to skip from the beginning (default: 0)",required:!1,default:0},{name:"limit",type:"number",description:"Maximum number of blocks to return (default: all)",required:!1},{name:"query",type:"string",description:"Filter blocks by text content",required:!1}],a=!1},75393:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 432 432"> <g> <polygon points="203.688,96 0,96 0,144 155.688,144 "/> <polygon points="155.719,288 0,288 0,336 203.719,336 "/> <path d="M97.844,230.125c-3.701-3.703-5.856-8.906-5.856-14.141s2.154-10.438,5.856-14.141l9.844-9.844H0v48h107.719 L97.844,230.125z"/> <polygon points="232,176 232,96 112,216 232,336 232,256 432,256 432,176"/> </g> </svg> '},75445:function(t,i){"use strict";i.default={}},75554:function(t,i,n){"use strict";var r=n(82749);n(28609);var o=n(50911),s=n(2692);class a extends o.Plugin{afterInit(t){}beforeDestruct(t){}constructor(...t){super(...t),(0,r._)(this,"buttons",[{name:"style",group:"font"}])}}(0,r._)(a,"requires",["license"]),s.JoditPro.plugins.add("style",a)},75595:function(t,i,n){"use strict";n.d(i,{readLink:function(){return s}});var r=n(2748),o=n(29960);function s(t,i,n){let s=r.Dom.closest(t.sourceImage,"a",i.editor);s?(n.imageLink=(0,o.attr)(s,"href")||"",n.imageLinkOpenInNewTab="_blank"===(0,o.attr)(s,"target")):(n.imageLink="",n.imageLinkOpenInNewTab=!1)}},75689:function(t){t.exports='<svg viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <path d="M2.5244141,23.5h18.9511719c0.4140625,0,0.75-0.3359375,0.75-0.75V4.9208984 c0-0.1992188-0.0795898-0.390625-0.2207031-0.53125L18.3198242,0.71875C18.1791992,0.5786133,17.9887695,0.5,17.7905273,0.5 H2.5244141c-0.4140625,0-0.75,0.3359375-0.75,0.75v21.5C1.7744141,23.1640625,2.1103516,23.5,2.5244141,23.5z M20.7128296,5.2197266 h-2.6986694V2.531189L20.7128296,5.2197266z M3.2744141,2h13.2397461v3.9697266c0,0.4140625,0.3359375,0.75,0.75,0.75h3.4614258V22 H3.2744141V2z" fill="#1D1D1D"/> <path d="M8.75,10.25h1.75c0.4140625,0,0.75-0.3359375,0.75-0.75s-0.3359375-0.75-0.75-0.75H8 c-0.4140625,0-0.75,0.3359375-0.75,0.75v2.75H6c-0.4140625,0-0.75,0.3359375-0.75,0.75S5.5859375,13.75,6,13.75h1.25v2.75 c0,0.4140625,0.3359375,0.75,0.75,0.75h2.5c0.4140625,0,0.75-0.3359375,0.75-0.75s-0.3359375-0.75-0.75-0.75H8.75V10.25z" fill="#1D1D1D"/> <path d="M18.5,12.25h-1.25V9.5c0-0.4140625-0.3359375-0.75-0.75-0.75H14c-0.4140625,0-0.75,0.3359375-0.75,0.75 s0.3359375,0.75,0.75,0.75h1.75v5.5H14c-0.4140625,0-0.75,0.3359375-0.75,0.75s0.3359375,0.75,0.75,0.75h2.5 c0.4140625,0,0.75-0.3359375,0.75-0.75v-2.75h1.25c0.4140625,0,0.75-0.3359375,0.75-0.75S18.9140625,12.25,18.5,12.25z" fill="#1D1D1D"/></svg>'},75703:function(t,i,n){"use strict";n.r(i),i.default={symbols:"سمبل"}},75882:function(t,i,n){"use strict";n.d(i,{unwrapChildren:function(){return l}});var r=n(2748),o=n(43555),s=n(22030),a=n(97380);function l(t,i){var n;let l,u=[],c=[],d=null==(n=t.options.attributes)?void 0:n.style;if(i.firstChild){let n=r.Dom.eachGen(i),h=n.next();for(;!h.done;){let i=h.value;(0,a.isSuitElement)(t,i,!0)&&(!d||(0,s.hasSameStyleKeys)(i,d))?(void 0===l&&(l=!0),u.push(i)):d&&(0,a.isSameStyleChild)(t,i)?(void 0===l&&(l=!1),c.push(()=>{(0,o.css)(i,Object.keys(d).reduce((t,i)=>(t[i]=null,t),{})),(0,o.attr)(i,"style")||(0,o.attr)(i,"style",null),(0,o.attr)(i,"style")||i.nodeName.toLowerCase()!==t.element||u.push(i)})):r.Dom.isEmptyTextNode(i)||void 0!==l||(l=!1),h=n.next()}}return c.forEach(t=>t()),u.forEach(r.Dom.unwrap),!!l}},75966:function(t){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"> \x3c!-- Wand handle - diagonal line --\x3e <rect x="12" y="10" width="13" height="3.5" rx="0.5" transform="rotate(45 12 12)"/> \x3c!-- Wand tip - diamond --\x3e <rect x="3" y="3" width="6" height="6" rx="1" transform="rotate(45 6 6)"/> \x3c!-- Large sparkle - top --\x3e <polygon points="15,0 16,4 15,8 14,4"/> <polygon points="11,4 15,5 19,4 15,3"/> \x3c!-- Medium sparkle - left --\x3e <polygon points="1,11 2,14 1,17 0,14"/> <polygon points="-2,14 1,15 4,14 1,13"/> \x3c!-- Small sparkle - middle --\x3e <polygon points="8,14 8.5,16 8,18 7.5,16"/> <polygon points="6,16 8,16.5 10,16 8,15.5"/> </svg>'},76014:function(t,i,n){"use strict";n.d(i,{Table:function(){return d}});var r=n(91907),o=n(82758),s=n(65478),a=n(22732),l=n(580),u=n(21537);let c=new WeakMap;class d extends r.ViewComponent{className(){return"Table"}__recalculateStyles(){let t=(0,l.getContainer)(this.j,d,"style",!0),i=[];this.selected.forEach(t=>{let n=(0,u.cssPath)(t);n&&i.push(n)}),t.innerHTML=i.length?i.join(",")+`{${this.jodit.options.table.selectionCellStyle}}`:""}addSelection(t){this.selected.add(t),this.__recalculateStyles();let i=a.Dom.closest(t,"table",this.j.editor);if(i){let n=d.__selectedByTable.get(i)||new Set;n.add(t),d.__selectedByTable.set(i,n)}}removeSelection(t){this.selected.delete(t),this.__recalculateStyles();let i=a.Dom.closest(t,"table",this.j.editor);if(i){let n=d.__selectedByTable.get(i);n&&(n.delete(t),n.size||d.__selectedByTable.delete(i))}}getAllSelectedCells(){return(0,u.toArray)(this.selected)}static __getSelectedCellsByTable(t){let i=d.__selectedByTable.get(t);return i?(0,u.toArray)(i):[]}destruct(){return this.selected.clear(),super.destruct()}static __getRowsCount(t){return t.rows.length}getRowsCount(t){return d.__getRowsCount(t)}static __getColumnsCount(t){return d.__formalMatrix(t).reduce((t,i)=>Math.max(t,i.length),0)}getColumnsCount(t){return d.__getColumnsCount(t)}static __formalMatrix(t,i){let n=[[]],r=(0,u.toArray)(t.rows),o=(t,r)=>{void 0===n[r]&&(n[r]=[]);let o=t.colSpan,s=t.rowSpan,a,l,u=0;for(;n[r][u];)u+=1;for(l=0;s>l;l+=1)for(a=0;a<o;a+=1){if(void 0===n[r+l]&&(n[r+l]=[]),i&&!1===i(t,r+l,u+a,o,s))return!1;n[r+l][u+a]=t}};for(let t=0;t<r.length;t+=1){let i=(0,u.toArray)(r[t].cells);for(let r=0;r<i.length;r+=1)if(!1===o(i[r],t))return n}return n}formalMatrix(t,i){return d.__formalMatrix(t,i)}static __formalCoordinate(t,i,n=!1){let r=0,o=0,s=1,a=1;return d.__formalMatrix(t,(t,l,u,c,d)=>{if(i===t)return r=l,o=u,s=c||1,a=d||1,n&&(o+=(c||1)-1,r+=(d||1)-1),!1}),[r,o,s,a]}formalCoordinate(t,i,n=!1){return d.__formalCoordinate(t,i,n)}static __appendRow(t,i,n,r){var o;let s;if(i)s=i.cloneNode(!0),(0,u.$$)("td,th",i).forEach(t=>{let i=(0,u.attr)(t,"rowspan");if(i&&parseInt(i,10)>1){let n=parseInt(i,10)-1;(0,u.attr)(t,"rowspan",n>1?n:null)}}),(0,u.$$)("td,th",s).forEach(t=>{t.innerHTML=""});else{let i=d.__getColumnsCount(t);s=r.element("tr");for(let t=0;t<i;t+=1)s.appendChild(r.element("td"))}n&&i&&i.nextSibling?i.parentNode&&i.parentNode.insertBefore(s,i.nextSibling):!n&&i?i.parentNode&&i.parentNode.insertBefore(s,i):((null==(o=t.getElementsByTagName("tbody"))?void 0:o[0])||t).appendChild(s)}appendRow(t,i,n){return d.__appendRow(t,i,n,this.j.createInside)}static __removeRow(t,i){let n,r=d.__formalMatrix(t),o=t.rows[i];r[i].forEach((s,l)=>{if(n=!1,i-1>=0&&r[i-1][l]===s)n=!0;else if(r[i+1]&&r[i+1][l]===s){if(s.parentNode===o&&s.parentNode.nextSibling){n=!0;let o=l+1;for(;r[i+1][o]===s;)o+=1;let u=a.Dom.next(s.parentNode,t=>a.Dom.isTag(t,"tr"),t);u&&(r[i+1][o]?u.insertBefore(s,r[i+1][o]):u.appendChild(s))}}else a.Dom.safeRemove(s);if(n&&(s.parentNode===o||s!==r[i][l-1])){let t=s.rowSpan;(0,u.attr)(s,"rowspan",t-1>1?t-1:null)}}),a.Dom.safeRemove(o)}removeRow(t,i){return d.__removeRow(t,i)}appendColumn(t,i,n=!0){let r=d.__formalMatrix(t);if(!n&&a.Dom.isCell(i.previousElementSibling))return this.appendColumn(t,i.previousElementSibling,!0);let o=n?i.cellIndex+((i.colSpan||1)-1):i.cellIndex,s=n?o+1:o;for(let t=0;t<r.length;){let i=r[t];if(i[o]!==i[s]||o===s){let t=this.j.createInside.element("td");n?a.Dom.after(i[o],t):a.Dom.before(i[o],t),i[o].rowSpan>1&&(t.rowSpan=i[o].rowSpan)}else i[o].colSpan+=1;t+=i[o].rowSpan||1}}static __removeColumn(t,i){let n,r=d.__formalMatrix(t);r.forEach((t,o)=>{let s=t[i];if(n=!1,i-1>=0&&r[o][i-1]===s||i+1<t.length&&r[o][i+1]===s?n=!0:a.Dom.safeRemove(s),n&&(o-1<0||s!==r[o-1][i])){let t=s.colSpan;(0,u.attr)(s,"colspan",t-1>1?(t-1).toString():null)}})}removeColumn(t,i){return d.__removeColumn(t,i)}static __getSelectedBound(t,i){let n,r,o,s=[[1/0,1/0],[0,0]],a=d.__formalMatrix(t);for(n=0;n<a.length;n+=1)for(r=0;a[n]&&r<a[n].length;r+=1)i.includes(a[n][r])&&(s[0][0]=Math.min(n,s[0][0]),s[0][1]=Math.min(r,s[0][1]),s[1][0]=Math.max(n,s[1][0]),s[1][1]=Math.max(r,s[1][1]));for(n=s[0][0];n<=s[1][0];n+=1)for(o=1,r=s[0][1];r<=s[1][1];r+=1){for(;a[n]&&a[n][r-o]&&a[n][r]===a[n][r-o];)s[0][1]=Math.min(r-o,s[0][1]),s[1][1]=Math.max(r-o,s[1][1]),o+=1;for(o=1;a[n]&&a[n][r+o]&&a[n][r]===a[n][r+o];)s[0][1]=Math.min(r+o,s[0][1]),s[1][1]=Math.max(r+o,s[1][1]),o+=1;for(o=1;a[n-o]&&a[n][r]===a[n-o][r];)s[0][0]=Math.min(n-o,s[0][0]),s[1][0]=Math.max(n-o,s[1][0]),o+=1;for(o=1;a[n+o]&&a[n][r]===a[n+o][r];)s[0][0]=Math.min(n+o,s[0][0]),s[1][0]=Math.max(n+o,s[1][0]),o+=1}return s}getSelectedBound(t,i){return d.__getSelectedBound(t,i)}static __normalizeTable(t){let i=[],n=d.__formalMatrix(t);d.__removeExtraColspans(n,i),d.__removeExtraRowspans(n,i);for(let t=0;t<n.length;t+=1)for(let i=0;i<n[t].length;i+=1)void 0!==n[t][i]&&(n[t][i].hasAttribute("rowspan")&&1===n[t][i].rowSpan&&(0,u.attr)(n[t][i],"rowspan",null),n[t][i].hasAttribute("colspan")&&1===n[t][i].colSpan&&(0,u.attr)(n[t][i],"colspan",null),n[t][i].hasAttribute("class")&&!(0,u.attr)(n[t][i],"class")&&(0,u.attr)(n[t][i],"class",null));d.__unmark(i)}static __removeExtraColspans(t,i){for(let n=0;n<t[0].length;n+=1){let r=1e6,o=!1;for(let i=0;i<t.length;i+=1)if(void 0!==t[i][n]){if(t[i][n].colSpan<2){o=!0;break}r=Math.min(r,t[i][n].colSpan)}if(!o)for(let o=0;o<t.length;o+=1)void 0!==t[o][n]&&d.__mark(t[o][n],"colspan",t[o][n].colSpan-r+1,i)}}static __removeExtraRowspans(t,i){let n=0,r=0;for(n=0;n<t.length;n+=1){let o=1e6,s=!1;for(r=0;r<t[n].length;r+=1)if(void 0!==t[n][r]){if(t[n][r].rowSpan<2){s=!0;break}o=Math.min(o,t[n][r].rowSpan)}if(!s)for(r=0;r<t[n].length;r+=1)void 0!==t[n][r]&&d.__mark(t[n][r],"rowspan",t[n][r].rowSpan-o+1,i)}}normalizeTable(t){return d.__normalizeTable(t)}static __mergeSelected(t,i){let n=[],r=d.__getSelectedBound(t,d.__getSelectedCellsByTable(t)),s=0,l=null,c=0,p=0,f=0,m=new Set,g=[];r&&(r[0][0]-r[1][0]||r[0][1]-r[1][1])&&(d.__formalMatrix(t,(t,o,a,b,v)=>{o>=r[0][0]&&o<=r[1][0]&&a>=r[0][1]&&a<=r[1][1]&&(m.has(t)||(m.add(t),o===r[0][0]&&t.style.width&&(s+=t.offsetWidth),""!==(0,u.trim)(t.innerHTML.replace(/<br(\/)?>/g,""))&&n.push(t.innerHTML),b>1&&(p+=b-1),v>1&&(f+=v-1),l?(d.__mark(t,"remove",1,g),h(i).removeSelection(t)):(l=t,c=a)))}),p=r[1][1]-r[0][1]+1,f=r[1][0]-r[0][0]+1,l&&(p>1&&d.__mark(l,"colspan",p,g),f>1&&d.__mark(l,"rowspan",f,g),s&&(d.__mark(l,"width",(s/t.offsetWidth*100).toFixed(o.ACCURACY)+"%",g),c&&d.__setColumnWidthByDelta(t,c,0,!0,g)),l.innerHTML=n.join("<br/>"),h(i).addSelection(l),m.delete(l),d.__unmark(g),d.__normalizeTable(t),(0,u.toArray)(t.rows).forEach(t=>{t.cells.length||a.Dom.safeRemove(t)})))}mergeSelected(t){return d.__mergeSelected(t,this.j)}static __splitHorizontal(t,i){let n,r,o,s,l,u=[];d.__getSelectedCellsByTable(t).forEach(c=>{(r=i.createInside.element("td")).appendChild(i.createInside.element("br")),o=i.createInside.element("tr"),n=d.__formalCoordinate(t,c),c.rowSpan<2?(d.__formalMatrix(t,(t,i,r)=>{n[0]===i&&n[1]!==r&&t!==c&&d.__mark(t,"rowspan",t.rowSpan+1,u)}),a.Dom.after(a.Dom.closest(c,"tr",t),o),o.appendChild(r)):(d.__mark(c,"rowspan",c.rowSpan-1,u),d.__formalMatrix(t,(i,r,o)=>{r>n[0]&&r<n[0]+c.rowSpan&&n[1]>o&&i.parentNode.rowIndex===r&&(l=i),n[0]<r&&i===c&&(s=t.rows[r])}),l?a.Dom.after(l,r):s.insertBefore(r,s.firstChild)),c.colSpan>1&&d.__mark(r,"colspan",c.colSpan,u),d.__unmark(u),h(i).removeSelection(c)}),this.__normalizeTable(t)}splitHorizontal(t){return d.__splitHorizontal(t,this.j)}static __splitVertical(t,i){let n,r,s,l=[];d.__getSelectedCellsByTable(t).forEach(u=>{n=d.__formalCoordinate(t,u),u.colSpan<2?d.__formalMatrix(t,(t,i,r)=>{n[1]===r&&n[0]!==i&&t!==u&&d.__mark(t,"colspan",t.colSpan+1,l)}):d.__mark(u,"colspan",u.colSpan-1,l),(r=i.createInside.element("td")).appendChild(i.createInside.element("br")),u.rowSpan>1&&d.__mark(r,"rowspan",u.rowSpan,l);let c=u.offsetWidth;a.Dom.after(u,r),s=c/t.offsetWidth/2,d.__mark(u,"width",(100*s).toFixed(o.ACCURACY)+"%",l),d.__mark(r,"width",(100*s).toFixed(o.ACCURACY)+"%",l),d.__unmark(l),h(i).removeSelection(u)}),d.__normalizeTable(t)}splitVertical(t){return d.__splitVertical(t,this.j)}static __setColumnWidthByDelta(t,i,n,r,s){let a=d.__formalMatrix(t),l=0;for(let r=0;r<a.length;r+=1){let u=a[r][i];if(u.colSpan>1&&a.length>1)continue;let c=(u.offsetWidth+n)/t.offsetWidth*100;d.__mark(u,"width",c.toFixed(o.ACCURACY)+"%",s),l=r;break}for(let t=l+1;t<a.length;t+=1){let n=a[t][i];d.__mark(n,"width",null,s)}r||d.__unmark(s)}setColumnWidthByDelta(t,i,n,r,o){return d.__setColumnWidthByDelta(t,i,n,r,o)}static __mark(t,i,n,r){var o;r.push(t);let s=null!=(o=c.get(t))?o:{};s[i]=void 0===n?1:n,c.set(t,s)}static __unmark(t){t.forEach(t=>{let i=c.get(t);i&&(Object.keys(i).forEach(n=>{let r=i[n];switch(n){case"remove":a.Dom.safeRemove(t);break;case"rowspan":(0,u.attr)(t,"rowspan",(0,u.isNumber)(r)&&r>1?r:null);break;case"colspan":(0,u.attr)(t,"colspan",(0,u.isNumber)(r)&&r>1?r:null);break;case"width":null==r?(t.style.removeProperty("width"),(0,u.attr)(t,"style")||(0,u.attr)(t,"style",null)):t.style.width=r.toString()}delete i[n]}),c.delete(t))})}constructor(){super(...arguments),this.selected=new Set}}d.__selectedByTable=new WeakMap,function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);s>3&&a&&Object.defineProperty(i,n,a)}([(0,s.debounce)()],d.prototype,"__recalculateStyles",null);let h=t=>t.getInstance("Table",t.o)},76059:function(t,i,n){"use strict";n.d(i,{replaceOldTags:function(){return o}});let r={i:"em",b:"strong"};function o(t){let{name:i}=t;return i in r&&(t.name=r[i]),t}},76078:function(t,i,n){"use strict";n.d(i,{$$:function(){return h},cssPath:function(){return m},getXPathByElement:function(){return p},refs:function(){return f},resolveElement:function(){return g}});var r=n(82758),o=n(2748),s=n(4510),a=n(70799),l=n(87058),u=n(29960),c=n(89890);let d=1;function h(t,i){let n;if(!r.IS_ES_NEXT&&/:scope/.test(t)&&r.IS_IE&&!(i&&i.nodeType===Node.DOCUMENT_NODE)){let r=i.id,o=r||"_selector_id_"+String(Math.random()).slice(2)+ ++d;t=t.replace(/:scope/g,"#"+o),r||i.setAttribute("id",o),n=i.parentNode.querySelectorAll(t),r||i.removeAttribute("id")}else n=i.querySelectorAll(t);return[].slice.call(n)}let p=(t,i)=>{if(!t||t.nodeType!==Node.ELEMENT_NODE||!t.parentNode||i===t)return"";if(t.id)return"//*[@id='"+t.id+"']";let n=[].filter.call(t.parentNode.childNodes,i=>i.nodeName===t.nodeName);return p(t.parentNode,i)+"/"+t.nodeName.toLowerCase()+(n.length>1?"["+((0,s.toArray)(n).indexOf(t)+1)+"]":"")},f=t=>("container"in t&&(t=t.container),h("[ref],[data-ref]",t).reduce((t,i)=>{let n=(0,u.attr)(i,"-ref");return n&&(0,a.isString)(n)&&(t[(0,l.camelCase)(n)]=i,t[n]=i),t},{})),m=t=>{if(!o.Dom.isElement(t))return null;let i=[],n=t;for(;n&&n.nodeType===Node.ELEMENT_NODE;){let t=n.nodeName.toLowerCase();if(n.id){t+="#"+n.id,i.unshift(t);break}{let i=n,r=1;do(i=i.previousElementSibling)&&i.nodeName.toLowerCase()===t&&r++;while(i);t+=":nth-of-type("+r+")"}i.unshift(t),n=n.parentNode}return i.join(" > ")};function g(t,i){let n=t;if((0,a.isString)(t))try{n=i.querySelector(t)}catch(i){throw(0,c.error)('String "'+t+'" should be valid HTML selector')}if(!n||"object"!=typeof n||!o.Dom.isElement(n)||!n.cloneNode)throw(0,c.error)('Element "'+t+'" should be string or HTMLElement instance');return n}},76295:function(t,i,n){"use strict";var r=n(2748),o=n(580),s=n(21537),a=n(25726),l=n(41180),u=n(12153),c=n(6441),d=n(5567);u.Icon.set("justify",d.default),c.Config.prototype.controls.align={name:"left",tooltip:"Align",update(t,i){let n=i.control,o=t.s.current();if(o){let a=r.Dom.closest(o,r.Dom.isBlock,t.editor)||t.editor,u=(0,l.css)(a,"text-align").toString();n.defaultValue&&-1!==n.defaultValue.indexOf(u)&&(u="left");let{list:c,data:d}=n;d&&d.currentValue!==u&&c&&((0,s.isPlainObject)(c)?c[u]:c.includes(u))&&(t.o.textIcons||"select"===n.component?i.state.text=u:i.state.icon.name=u,d.currentValue=u)}},isActive:(t,i)=>{let n=t.s.current();if(!n||!i.control.defaultValue)return!1;let o=r.Dom.closest(n,r.Dom.isBlock,t.editor)||t.editor;return -1===i.control.defaultValue.indexOf((0,l.css)(o,"text-align").toString())},defaultValue:["left","start","inherit"],data:{currentValue:"left"},list:["center","left","right","justify"]},c.Config.prototype.controls.center={command:"justifyCenter",css:{"text-align":"center"},tooltip:"Align Center"},c.Config.prototype.controls.justify={command:"justifyFull",css:{"text-align":"justify"},tooltip:"Align Justify"},c.Config.prototype.controls.left={command:"justifyLeft",css:{"text-align":"left"},tooltip:"Align Left"},c.Config.prototype.controls.right={command:"justifyRight",css:{"text-align":"right"},tooltip:"Align Right"},o.pluginSystem.add("justify",function(t){t.registerButton({name:"align",group:"indent"});let i=i=>(t.s.focus(),t.s.eachSelection(n=>{if(!n)return;let o=r.Dom.up(n,r.Dom.isBlock,t.editor);o||(o=r.Dom.wrapInline(n,t.o.enterBlock,t)),(0,a.alignElement)(i,o)}),!1);t.registerCommand("justifyfull",i),t.registerCommand("justifyright",i),t.registerCommand("justifyleft",i),t.registerCommand("justifycenter",i)})},76636:function(t,i,n){"use strict";n.r(i),n.d(i,{de:function(){return o.a},ru:function(){return a.a}});var r=n(46732),o=n.n(r),s=n(28125),a=n.n(s)},76697:function(t,i,n){"use strict";n.d(i,{UISettingsButton:function(){return d}});var r=n(82749),o=n(31635),s=n(79455),a=n(87325),l=n(37133),u=n(48538),c=n(78644);class d extends u.UIElement{className(){return"UISettingsButton"}setParentView(t){var i,n;return null==(i=this.settingsPopup)||i.setParentView(t),null==(n=this.button)||n.setParentView(t),super.setParentView(t)}onChangeOptionsClosePopup(t){this.closeCallback()}openSettingsPopup(){return this.settingsPopup||(this.settingsPopup=new s.UISettingsPopup(this.jodit,this.extraState,this.options,this.getConversation,this.updateConversation)),this.settingsPopup.update(),this.settingsPopup}constructor(t,i,n,o,s){super(t),(0,r._)(this,"extraState",void 0),(0,r._)(this,"options",void 0),(0,r._)(this,"getConversation",void 0),(0,r._)(this,"updateConversation",void 0),(0,r._)(this,"closeCallback",void 0),(0,r._)(this,"settingsPopup",void 0),(0,r._)(this,"button",void 0),this.extraState=i,this.options=n,this.getConversation=o,this.updateConversation=s,this.closeCallback=()=>{},this.settingsPopup=null,this.button=new c.ToolbarButton(this.jodit,{name:"settings",tooltip:"Settings",popup:(t,i,n)=>(this.closeCallback=n,this.openSettingsPopup())}),this.button.state.variant="initial",this.button.state.size="small",this.container.appendChild(this.button.container)}}(0,o.__decorate)([(0,l.watch)("extraState.displayMode")],d.prototype,"onChangeOptionsClosePopup",null),d=(0,o.__decorate)([a.component],d)},76725:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"V\xfdška č\xe1ry"}},76855:function(t,i,n){"use strict";n.d(i,{asArray:function(){return r.asArray},splitArray:function(){return o.splitArray},toArray:function(){return s.toArray}});var r=n(29999),o=n(46559),s=n(4510)},77361:function(t,i,n){"use strict";n.d(i,{CHANGE:function(){return s},INITIAL:function(){return l},REPLACE:function(){return u},UNSET:function(){return a},UNWRAP:function(){return o},WRAP:function(){return r},_PREFIX:function(){return c}});let r="wrap",o="unwrap",s="change",a="unset",l="initial",u="replace",c="commitStyle"},77469:function(t,i,n){"use strict";var r=n(82758),o=n(580),s=n(21537);n(50963),o.pluginSystem.add("iframe",function(t){let i=t.options;t.e.on("afterSetMode",()=>{t.isEditorMode()&&t.s.focus()}).on("generateDocumentStructure.iframe",(t,n)=>{let r=t||n.iframe.contentWindow.document;if(r.open(),r.write(i.iframeDoctype+`<html dir="${i.direction}" class="jodit" lang="${(0,s.defaultLanguage)(i.language)}">`+"<head>"+`<title>${i.iframeTitle}</title>`+(i.iframeBaseUrl?`<base href="${i.iframeBaseUrl}"/>`:"")+'</head><body class="jodit-wysiwyg"></body></html>'),r.close(),i.iframeCSSLinks&&i.iframeCSSLinks.forEach(t=>{let i=r.createElement("link");i.setAttribute("rel","stylesheet"),i.setAttribute("href",t),r.head&&r.head.appendChild(i)}),i.iframeStyle){let t=r.createElement("style");t.innerHTML=i.iframeStyle,r.head&&r.head.appendChild(t)}}).on("createEditor",()=>{if(!i.iframe)return;let n=t.c.element("iframe");n.style.display="block",n.src="about:blank",n.className="jodit-wysiwyg_iframe",n.setAttribute("allowtransparency","true"),n.setAttribute("tabindex",i.tabIndex.toString()),n.setAttribute("frameborder","0"),null!=i.iframeSandbox&&n.setAttribute("sandbox",i.iframeSandbox),t.workplace.appendChild(n),t.iframe=n;let o=t.e.fire("generateDocumentStructure.iframe",null,t);return(0,s.callPromise)(o,()=>{if(!t.iframe)return!1;let n=t.iframe.contentWindow.document;t.editorWindow=t.iframe.contentWindow;let o=i.editHTMLDocumentMode,a=()=>{(0,s.attr)(n.body,"contenteditable",t.getMode()!==r.MODE_SOURCE&&!t.getReadOnly()||null)},l=t=>{let i=/<body.*<\/body>/im,n="{%%BODY%%}",r=i.exec(t);return r&&(t=t.replace(i,n).replace(/<span([^>]*?)>(.*?)<\/span>/gim,"").replace(/&lt;span([^&]*?)&gt;(.*?)&lt;\/span&gt;/gim,"").replace(n,r[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")),t};if(o){let i=t.element.tagName;if("TEXTAREA"!==i&&"INPUT"!==i)throw(0,s.error)("If enable `editHTMLDocumentMode` - source element should be INPUT or TEXTAREA");t.e.on("beforeGetNativeEditorValue",()=>l(t.o.iframeDoctype+n.documentElement.outerHTML)).on("beforeSetNativeEditorValue",({value:i})=>!t.isLocked&&(/<(html|body)/i.test(i)?l(n.documentElement.outerHTML)!==l(i)&&(n.open(),n.write(t.o.iframeDoctype+l(i)),n.close(),t.editor=n.body,t.e.fire("safeHTML",t.editor),a(),t.e.fire("prepareWYSIWYGEditor"),t.e.stopPropagation("beforeSetNativeEditorValue")):n.body.innerHTML=i,!0),{top:!0})}if(t.editor=n.body,t.e.on("afterSetMode afterInit afterAddPlace",a),"auto"===i.height){n.documentElement&&(n.documentElement.style.overflowY="hidden");let r=t.async.throttle((...n)=>{t.async.requestAnimationFrame(()=>{if(t.editor&&t.iframe&&"auto"===i.height){let i=t.ew.getComputedStyle(t.editor),n=parseInt(i.marginTop||"0",10)+parseInt(i.marginBottom||"0",10);(0,s.css)(t.iframe,"height",t.editor.offsetHeight+n)}})},t.defaultTimeout/2);if(t.e.on("change afterInit afterSetMode resize",r).on([t.iframe,t.ew,n.documentElement],"load",r).on(n,"readystatechange DOMContentLoaded",r),"function"==typeof ResizeObserver){let i=new ResizeObserver(r);i.observe(n.body),t.e.on("beforeDestruct",()=>{i.disconnect()})}}return n.documentElement&&t.e.on(n.documentElement,"mousedown touchend",()=>{t.s.isFocused()||(t.s.focus(),t.editor===n.body&&t.s.setCursorIn(n.body))}).on(t.ew,"mousedown touchstart keydown keyup touchend click mouseup mousemove scroll",i=>{var n;null==(n=t.events)||n.fire(t.ow,i)}),!1})})})},77688:function(t,i,n){"use strict";function r(t,i,n,r,o,s,a){try{var l=t[s](a),u=l.value}catch(t){n(t);return}l.done?i(u):Promise.resolve(u).then(r,o)}function o(t){return function(){var i=this,n=arguments;return new Promise(function(o,s){var a=t.apply(i,n);function l(t){r(a,o,s,l,u,"next",t)}function u(t){r(a,o,s,l,u,"throw",t)}l(void 0)})}}n.d(i,{_:function(){return o}})},77725:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"Correcci\xf3n ortogr\xe1fica"}},77841:function(t,i,n){"use strict";n.d(i,{parentPath:function(){return r}});let r=t=>{let i=t.split("/").filter(t=>t.length);return i.pop(),i.join("/")||"/"}},77894:function(t,i,n){"use strict";var r=n(76636),o=n(6441),s=n(580);let a=o.Config.prototype.controls.filebrowser;a.settings={icon:"settings",tooltip:"Settings",exec:t=>{var i;(null!=(i=t.parent)?i:t).e.fire("toggleSettings.filebrowser")}},a.home={icon:"home",tooltip:"Home",exec:t=>{t.e.fire("goHome.filebrowser")}},a.preview={icon:"eye",tooltip:"Preview",isDisabled(t){return 0===t.state.activeElements.length},exec:t=>{t.e.fire("togglePreview.filebrowser")}},a.next={icon:"angle-right",tooltip:"History next",isDisabled:t=>!t.historyManager.canNext(),exec:t=>{t.historyManager.next()}},a.previous={icon:"angle-left",tooltip:"History previous",isDisabled:t=>!t.historyManager.canPrevious(),exec:t=>{t.historyManager.previous()}},a["new-folder"]={icon:"new-folder",exec:t=>{t.e.fire("folderCreate.filebrowser",{path:t.state.currentPath,sourceName:t.state.currentSource})},tooltip:"New folder"},Object.assign(o.Config.prototype.filebrowser,{buttons:["filebrowser.home","filebrowser.previous","filebrowser.next","|","filebrowser.upload","filebrowser.new-folder","filebrowser.remove","filebrowser.update","filebrowser.select","filebrowser.edit","|","filebrowser.preview","about"],sort:!1,pixelOffsetLoadNewChunk:300,width:800,height:400,previewOfficeURL:"https://view.officeapps.live.com/op/view.aspx?src="}),(0,s.extendLang)(r)},78116:function(t,i,n){"use strict";n.d(i,{isMarker:function(){return o}});var r=n(2748);function o(t){return r.Dom.isMarker(t)}},78173:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 736q0 13-10 23l-466 466q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg> '},78213:function(t,i,n){"use strict";n.d(i,{STATUSES:function(){return r}});let r={beforeInit:"beforeInit",ready:"ready",beforeDestruct:"beforeDestruct",destructed:"destructed"}},78513:function(t,i,n){"use strict";n.d(i,{FileBrowser:function(){return r.FileBrowser}});var r=n(75330)},78524:function(t,i,n){"use strict";n(6441).Config.prototype.commandToHotkeys={removeFormat:["ctrl+shift+m","cmd+shift+m"],insertOrderedList:["ctrl+shift+7","cmd+shift+7"],insertUnorderedList:["ctrl+shift+8, cmd+shift+8"],selectall:["ctrl+a","cmd+a"]}},78584:function(t,i,n){"use strict";n.d(i,{Dialog:function(){return C}});var r,o,s,a=n(91907),l=n(82758),u=n(65478),c=n(2748),d=n(580),h=n(76855),p=n(27613),f=n(43555),m=n(38837),g=n(67510),b=n(35608),v=n(84075),y=n(6441),_=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};y.Config.prototype.dialog={namespace:"",extraButtons:[],resizable:!0,draggable:!0,buttons:["dialog.close"],removeButtons:[],toolbarButtonSize:"middle",zIndex:"inherit"},y.Config.prototype.controls.dialog={close:{icon:"cancel",exec:t=>{t.close()}}};let C=s=class t extends v.ViewWithToolbar{className(){return"Dialog"}get destination(){let{popupRoot:t,shadowRoot:i}=this.o;return t||i||this.od.body}setElements(t,i){let n=[];(0,h.asArray)(i).forEach(i=>{let r;if((0,p.isArray)(i)){let r=this.c.div(this.getFullElName("column"));return n.push(r),t.appendChild(r),this.setElements(r,i)}r=(0,p.isString)(i)?this.c.fromHTML(i):(0,p.hasContainer)(i)?i.container:i,n.push(r),r.parentNode!==t&&t.appendChild(r)}),(0,h.toArray)(t.childNodes).forEach(i=>{-1===n.indexOf(i)&&t.removeChild(i)})}__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(t){let i=t.target;!(!this.o.draggable||i&&i.nodeName.match(/^(INPUT|SELECT)$/))&&(this.draggable=!0,this.startX=t.clientX,this.startY=t.clientY,this.startPoint.x=(0,f.css)(this.dialog,"left"),this.startPoint.y=(0,f.css)(this.dialog,"top"),this.setMaxZIndex(),t.cancelable&&t.preventDefault(),this.lockSelect(),this.__addGlobalResizeListeners(),this.e&&(this.e.fire(this,"startMove"),this.e.fire("closeAllPopups")))}__onMouseMove(t){this.draggable&&this.o.draggable&&(this.setPosition(this.startPoint.x+t.clientX-this.startX,this.startPoint.y+t.clientY-this.startY),this.e&&this.e.fire(this,"move",t.clientX-this.startX,t.clientY-this.startY),t.stopImmediatePropagation()),this.resizable&&this.o.resizable&&(this.setSize(this.startPoint.w+t.clientX-this.startX,this.startPoint.h+t.clientY-this.startY),this.e&&this.e.fire(this,"resizeDialog",t.clientX-this.startX,t.clientY-this.startY))}__onEsc(t){if(this.o.closeOnEsc&&this.isOpened&&t.key===l.KEY_ESC&&!0!==this.getMod("static")){let i=this.getMaxZIndexDialog();i?i.close():this.close(),t.stopImmediatePropagation()}}__onResizerMouseDown(t){this.resizable=!0,this.startX=t.clientX,this.startY=t.clientY,this.startPoint.w=this.dialog.offsetWidth,this.startPoint.h=this.dialog.offsetHeight,this.lockSelect(),this.__addGlobalResizeListeners(),this.e&&this.e.fire(this,"startResize")}__addGlobalResizeListeners(){this.e.on(this.ow,"pointermove touchmove",this.__onMouseMove).on(this.ow,"pointerup touchend",this.__onMouseUp)}__removeGlobalResizeListeners(){this.e.off(this.ow,"mousemove pointermove",this.__onMouseMove).off(this.ow,"mouseup pointerup",this.__onMouseUp)}setSize(t,i){return null==t&&(t=this.dialog.offsetWidth),null==i&&(i=this.dialog.offsetHeight),(0,f.css)(this.dialog,{width:t,height:i}),this}calcAutoSize(){return this.setSize("auto","auto"),this.setSize(),this}setPosition(t,i){let n=this.ow.innerWidth,r=this.ow.innerHeight,o=n/2-this.dialog.offsetWidth/2,s=r/2-this.dialog.offsetHeight/2;return o<0&&(o=0),s<0&&(s=0),void 0!==t&&void 0!==i&&(this.offsetX=t,this.offsetY=i,this.moved=Math.abs(t-o)>100||Math.abs(i-s)>100),this.dialog.style.left=(t||o)+"px",this.dialog.style.top=(i||s)+"px",this}setHeader(t){return this.setElements(this.dialogbox_header,t),this}setContent(t){return this.setElements(this.dialogbox_content,t),this}setFooter(t){return this.setElements(this.dialogbox_footer,t),this.setMod("footer",!!t),this}getZIndex(){return parseInt((0,f.css)(this.container,"zIndex"),10)||0}getMaxZIndexDialog(){let t=0,i,n,r=this;return(0,f.$$)(".jodit-dialog",this.destination).forEach(o=>{i=o.component,n=parseInt((0,f.css)(o,"zIndex"),10),i.isOpened&&!isNaN(n)&&n>t&&(r=i,t=n)}),r}setMaxZIndex(){if(this.getMod("static"))return;let t=0x1312d04,i=0;(0,f.$$)(".jodit-dialog",this.destination).forEach(n=>{t=Math.max(isNaN(i=parseInt((0,f.css)(n,"zIndex"),10))?0:i,t)}),this.container.style.zIndex=(t+1).toString()}toggleFullSize(t){(0,p.isVoid)(t)&&(t=!this.getMod("fullsize")),this.setMod("fullsize",t),super.toggleFullSize(t)}open(t,i,n,r){if(d.eventEmitter.fire("closeAllPopups hideHelpers"),!1===this.e.fire(this,"beforeOpen"))return this;(0,p.isBoolean)(t)&&(n=t),(0,p.isBoolean)(i)&&(r=i),this.destroyAfterClose=!0===n;let o=(0,p.isBoolean)(t)?void 0:t,s=(0,p.isBoolean)(i)?void 0:i;return void 0!==s&&this.setHeader(s),o&&this.setContent(o),this.setMod("active",!0),this.isOpened=!0,this.setModal(r),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(t){return this.isModal=!!t,this.setMod("modal",this.isModal),this}close(){if(this.isDestructed||!this.isOpened||!0===this.getMod("static"))return this;let{e:t}=this;return!1===t.fire(this,"beforeClose")||!1===t.fire("beforeClose",this)||(this.setMod("active",!1),this.isOpened=!1,this.isFullSize&&this.toggleFullSize(!1),c.Dom.safeRemove(this.container),this.__removeGlobalResizeListeners(),t.fire(this,"afterClose"),t.fire(this.ow,"joditCloseDialog"),this.destroyAfterClose&&this.destruct()),this}buildToolbar(){this.o.buttons&&this.toolbar.build((0,h.splitArray)(this.o.buttons)).setMod("mode","header").appendTo(this.dialogbox_toolbar)}destruct(){this.isInDestruct||(this.setStatus(a.STATUSES.beforeDestruct),this.isOpened&&this.close(),this.events&&(this.__removeGlobalResizeListeners(),this.events.off(this.container,"close_dialog",self.close).off(this.ow,"keydown",this.__onEsc).off(this.ow,"resize",this.__onResize)),super.destruct())}constructor(t={}){super(t),this.destroyAfterClose=!1,this.moved=!1,this.resizable=!1,this.draggable=!1,this.startX=0,this.startY=0,this.startPoint={x:0,y:0,w:0,h:0},this.lockSelect=()=>{this.setMod("moved",!0)},this.unlockSelect=()=>{this.setMod("moved",!1)},this.__onResize=()=>{this.options&&this.o.resizable&&!this.moved&&this.isOpened&&!this.offsetX&&!this.offsetY&&this.setPosition()},this.isModal=!1,this.isOpened=!1,this.options=(0,f.ConfigProto)(t,(0,f.ConfigProto)(y.Config.prototype.dialog,s.defaultOptions)),c.Dom.safeRemove(this.container);const i=this.getFullElName.bind(this);this.container=this.c.fromHTML(`<div class="jodit jodit-dialog ${this.componentName}">
546
546
  <div class="${i("overlay")}"></div>
547
547
  <div class="${this.getFullElName("panel")}">
548
548
  <div class="${i("header")}">
@@ -562,7 +562,7 @@ Please report this to https://github.com/markedjs/marked.`,t){let t="<p>An error
562
562
  <div class='&__wrapper'>
563
563
  <button class='&__button'>css</button>
564
564
  </div>
565
- </div>`}static extractStyle(t,i){var n,r,a,l;let u=(null==(l=i.ownerDocument.defaultView)?void 0:l.getComputedStyle(i))||{},c=(t,i,n,r)=>{let o=u[n];return!o||["none","inherit","initial","unset"].includes(o)?{[n]:!1}:(o.replace(/,\s/g,",").split(/\s+/).forEach(n=>{if(/[0-9.]+(px|pt|em|%)/.test(n)){let r=t.shift();r&&(i[r]=n)}else"inset"===n?i.boxShadowInset=!0:i[r]=n}),i[n]=!0,i)};Object.assign(t,(0,o._)((0,s._)((0,o._)((0,s._)((0,o._)({text:i.innerText,className:i.className,href:i.getAttribute("href")||""},(()=>{var t,i;let n={solid:!0,bgStart:null!=(t=u.backgroundColor)?t:"#44c767",bgEnd:null!=(i=u.backgroundColor)?i:"#44c767"},r=u.backgroundImage;if(r&&/linear-gradient/.test(r)){let t=/linear-gradient\((.+)\s+[0-9]+%,\s+(.+)\s+[0-9]+%\)/.exec(r);t&&(n.solid=!1,n.bgStart=t[1]||n.bgStart,n.bgEnd=t[2]||"#5cbf2a")}return n})()),{borderColor:null!=(n=null==u?void 0:u.borderColor)?n:"#18ab29",borderRadius:null!=(r=null==u?void 0:u.borderRadius)?r:0,borderSize:null!=(a=null==u?void 0:u.borderWidth)?a:1}),c(["boxShadowOffsetX","boxShadowOffsetY","boxShadowBlurRadius","boxShadowSpreadRadius"],{boxShadowBlurRadius:0,boxShadowColor:"#3dc21b",boxShadowInset:!1,boxShadowOffsetX:0,boxShadowOffsetY:0,boxShadowSpreadRadius:0},"boxShadow","boxShadowColor")),{fontColor:u.color,fontFamily:u.fontFamily,fontSize:u.fontSize,fontWeight:"bold"===u.fontWeight,fontItalic:"italic"===u.fontStyle,paddingX:u.paddingLeft,paddingY:u.paddingTop}),c(["textShadowOffsetX","textShadowOffsetY","textShadowBlurRadius"],{textShadowBlurRadius:0,textShadowColor:"#2f6627",textShadowOffsetX:0,textShadowOffsetY:1},"textShadow","textShadowColor")))}constructor(t,i){super(t),(0,r._)(this,"style",void 0),this.style=i,this.__updateStyles()}}(0,a.__decorate)([(0,l.watch)("style")],p.prototype,"__updateStyles",null),p=(0,a.__decorate)([l.component],p)},82558:function(t,i,n){"use strict";n.d(i,{allowAttributes:function(){return o}});var r=n(2748);function o(t,i,n,o){if(o&&r.Dom.isElement(i)&&!0!==o[i.nodeName]){let t=i.attributes;if(t&&t.length){let r=[];for(let n=0;n<t.length;n+=1){let s=o[i.nodeName][t[n].name];s&&(!0===s||s===t[n].value)||r.push(t[n].name)}r.length&&(n=!0),r.forEach(t=>{i.removeAttribute(t)})}}return n}},82749:function(t,i,n){"use strict";function r(t,i,n){return i in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}n.d(i,{_:function(){return r}})},82758:function(t,i,n){"use strict";n.r(i),n.d(i,{ACCURACY:function(){return V},APP_VERSION:function(){return r},BASE_PATH:function(){return ep},BASE_PATH_IS_MIN:function(){return ef},BR:function(){return $},CLIPBOARD_ID:function(){return eb},COMMAND_KEYS:function(){return W},EMULATE_DBLCLICK_TIMEOUT:function(){return ei},ES:function(){return o},FAT_MODE:function(){return c},HOMEPAGE:function(){return d},INSEPARABLE_TAGS:function(){return D},INSERT_AS_HTML:function(){return en},INSERT_AS_TEXT:function(){return eo},INSERT_CLEAR_HTML:function(){return er},INSERT_ONLY_TEXT:function(){return es},INVISIBLE_SPACE:function(){return f},INVISIBLE_SPACE_REG_EXP:function(){return g},INVISIBLE_SPACE_REG_EXP_END:function(){return b},INVISIBLE_SPACE_REG_EXP_START:function(){return v},IS_BLOCK:function(){return E},IS_ES_MODERN:function(){return s},IS_ES_NEXT:function(){return a},IS_IE:function(){return X},IS_INLINE:function(){return k},IS_MAC:function(){return el},IS_PROD:function(){return l},IS_TEST:function(){return u},KEY_ALIASES:function(){return eu},KEY_ALT:function(){return L},KEY_BACKSPACE:function(){return B},KEY_DELETE:function(){return H},KEY_DOWN:function(){return O},KEY_ENTER:function(){return j},KEY_ESC:function(){return P},KEY_F3:function(){return U},KEY_LEFT:function(){return R},KEY_META:function(){return I},KEY_RIGHT:function(){return z},KEY_SPACE:function(){return N},KEY_TAB:function(){return T},KEY_UP:function(){return M},LIST_TAGS:function(){return S},MARKER_CLASS:function(){return et},MODE_SOURCE:function(){return Y},MODE_SPLIT:function(){return J},MODE_WYSIWYG:function(){return K},NBSP_SPACE:function(){return m},NEARBY:function(){return q},NO_EMPTY_TAGS:function(){return x},PARAGRAPH:function(){return G},PASSIVE_EVENTS:function(){return ey},SAFE_COUNT_CHANGE_CALL:function(){return ea},SET_TEST:function(){return h},SOURCE_CONSUMER:function(){return ev},SPACE_REG_EXP:function(){return y},SPACE_REG_EXP_END:function(){return C},SPACE_REG_EXP_START:function(){return _},TEMP_ATTR:function(){return em},TEXT_HTML:function(){return Q},TEXT_PLAIN:function(){return Z},TEXT_RTF:function(){return ee},TOKENS:function(){return p},globalDocument:function(){return F},globalWindow:function(){return w},lang:function(){return eg}});let r="4.9.27",o="es2015",s=!0,a=!1,l=!0,u=!1,c=!0,d="https://xdsoft.net/jodit/pro/",h=()=>u=!0,p={},f="\uFEFF",m="\xa0",g=()=>/[\uFEFF]/g,b=()=>/[\uFEFF]+$/g,v=()=>/^[\uFEFF]+/g,y=()=>/[\s\n\t\r\uFEFF\u200b]+/g,_=()=>/^[\s\n\t\r\uFEFF\u200b]+/g,C=()=>/[\s\n\t\r\uFEFF\u200b]+$/g,w="u">typeof window?window:void 0,F="u">typeof document?document:void 0,E=/^(ADDRESS|ARTICLE|ASIDE|BLOCKQUOTE|CANVAS|DD|DFN|DIV|DL|DT|FIELDSET|FIGCAPTION|FIGURE|FOOTER|FORM|H[1-6]|HEADER|HGROUP|HR|LI|MAIN|NAV|NOSCRIPT|OUTPUT|P|PRE|RUBY|SCRIPT|STYLE|OBJECT|OL|SECTION|IFRAME|JODIT|JODIT-MEDIA|UL|TR|TD|TH|TBODY|THEAD|TFOOT|TABLE|BODY|HTML|VIDEO)$/i,k=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,S=new Set(["ul","ol"]),A=["img","video","svg","iframe","script","input","textarea","link","jodit","jodit-media"],D=new Set([...A,"br","hr"]),x=new Set(A),I="Meta",B="Backspace",T="Tab",j="Enter",P="Escape",L="Alt",R="ArrowLeft",M="ArrowUp",z="ArrowRight",O="ArrowDown",N="Space",H="Delete",U="F3",q=5,V=10,W=[I,B,H,M,O,z,R,j,P,U,T],$="br",G="p",K=1,Y=2,J=3,X="u">typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),Z=X?"text":"text/plain",Q=X?"html":"text/html",ee=X?"rtf":"text/rtf",et="jodit-selection_marker",ei=300,en="insert_as_html",er="insert_clear_html",eo="insert_as_text",es="insert_only_text",ea=10,el=void 0!==w&&/Mac|iPod|iPhone|iPad/.test(w.navigator.platform),eu={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:el?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:"space",spacebar:"space",up:"arrowup",win:"meta",windows:"meta"},ec=t=>{let i=t.split("/");return/\.js/.test(i[i.length-1])?{basePath:i.slice(0,i.length-1).join("/")+"/",isMin:!0}:{basePath:t,isMin:!0}},{basePath:ed,isMin:eh}=(()=>{if("u"<typeof document)return{basePath:"",isMin:!0};let t=F.currentScript;if(t)return ec(t.src);let i=F.querySelectorAll("script[src]");return i&&i.length?ec(i[i.length-1].src):ec(w.location.href)})(),ep=ed,ef=eh,em="data-jodit-temp",eg={},eb="clipboard",ev="source-consumer",ey=new Set(["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"])},82760:function(t,i,n){"use strict";n.d(i,{connection:function(){return s},error:function(){return o},options:function(){return a}});var r=n(32880);function o(t){return TypeError(t)}function s(t){return new r.ConnectionError(t)}function a(t){return new r.OptionsError(t)}},83039:function(t,i,n){"use strict";n.d(i,{UIMapsPropsForm:function(){return u}});var r=n(82749),o=n(31635),s=n(65478),a=n(76078),l=n(67510);class u extends l.UIForm{className(){return"UIMapsPropsForm"}onChangeSize(){let{width:t,height:i}=(0,a.refs)(this.container);this.state.size=[parseInt(null==t?void 0:t.value,10)||0,parseInt(null==i?void 0:i.value,10)||0]}onExternalChangeSize(){let{width:t,height:i}=(0,a.refs)(this.container),[n,r]=this.state.size;n.toString()!==t.value&&(t.value=n.toString()),r.toString()!==i.value&&(i.value=r.toString())}onChangeCenter(){let{lat:t,lng:i}=(0,a.refs)(this.container);this.state.center=[parseFloat(null==t?void 0:t.value)||0,parseFloat(null==i?void 0:i.value)||0]}onExternalChangeCenter(){let{lat:t,lng:i}=(0,a.refs)(this.container),[n,r]=this.state.center;n.toString()!==t.value&&(t.value=n.toString()),r.toString()!==i.value&&(i.value=r.toString())}onExternalChangeType(){let{mapType:t}=(0,a.refs)(this.container);this.state.type!==t.value&&(t.value=this.state.type)}onExternalChangeLayer(){let{layer:t}=(0,a.refs)(this.container);this.state.layer!==t.value&&(t.value=this.state.layer)}constructor(t,i){var n;super(t),(0,r._)(this,"state",void 0),this.state=i;const[o,s]=i.size,[a,u]=i.center;this.append([new l.UIInput(t,{label:"Width",name:"width",value:o,type:"number",onChange:this.onChangeSize}),new l.UIInput(t,{label:"Height",name:"height",value:s,type:"number",onChange:this.onChangeSize}),new l.UIInput(t,{label:"Latitude",name:"lat",value:a,onChange:this.onChangeCenter}),new l.UIInput(t,{label:"Longitude",name:"lng",value:u,onChange:this.onChangeCenter}),new l.UISelect(t,{label:"Map type",value:i.type,name:"mapType",options:[{value:"hybrid",text:"Hybrid"},{value:"roadmap",text:"Roadmap"},{value:"satellite",text:"Satellite"},{value:"terrain",text:"Terrain"}],onChange:t=>{i.type=t}}),new l.UISelect(t,{label:"Layer",value:null!=(n=i.layer)?n:"default",name:"layer",options:[{value:"default",text:"Default"},{value:"traffic",text:"Traffic"},{value:"transit",text:"Transit"},{value:"bicycling",text:"Bicycling"}],onChange:t=>{i.layer=t}})])}}(0,o.__decorate)([s.autobind],u.prototype,"onChangeSize",null),(0,o.__decorate)([(0,s.watch)("state.size")],u.prototype,"onExternalChangeSize",null),(0,o.__decorate)([s.autobind],u.prototype,"onChangeCenter",null),(0,o.__decorate)([(0,s.watch)(["state.center"])],u.prototype,"onExternalChangeCenter",null),(0,o.__decorate)([(0,s.watch)(["state.type"])],u.prototype,"onExternalChangeType",null),(0,o.__decorate)([(0,s.watch)(["state.layer"])],u.prototype,"onExternalChangeLayer",null),u=(0,o.__decorate)([s.component],u)},83059:function(t,i,n){"use strict";n.r(i),i.default={symbols:"symbol"}},83111:function(t,i,n){"use strict";n.d(i,{ToolbarSelect:function(){return l}});var r=n(65478),o=n(72430),s=n(70799),a=n(78644);let l=class t extends a.ToolbarButton{className(){return"ToolbarSelect"}update(){var t,i,n;super.update(),this.state.icon.name="";let{list:r,data:a}=this.control;if(r){let l=this.state.value||(a&&(0,s.isString)(a.currentValue)?a.currentValue:void 0);l||(l=Object.keys(r)[0]);let u=((0,o.isPlainObject)(r)&&r[l.toString()]||l).toString();this.state.text=null!=(n=null==(i=(t=this.control).textTemplate)?void 0:i.call(t,this.jodit,u))?n:u}}};l=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([r.component],l)},83160:function(t,i){"use strict";i.default={"Type something":"Напишите что-либо","About Jodit":"О Jodit","Jodit Editor":"Редактор Jodit","Jodit User's Guide":"Jodit Руководство пользователя","contains detailed help for using":"содержит детальную информацию по использованию","For information about the license, please go to our website:":"Для получения сведений о лицензии , пожалуйста, перейдите на наш сайт:","Buy full version":"Купить полную версию","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Авторские права \xa9 XDSoft.net - Чупурнов Валерий. Все права защищены.",Anchor:"Анкор","Open in new tab":"Открывать ссылку в новой вкладке","Open in fullsize":"Открыть редактор в полном размере","Clear Formatting":"Очистить форматирование","Fill color or set the text color":"Цвет заливки или цвет текста",Redo:"Повтор",Undo:"Отмена",Bold:"Жирный",Italic:"Наклонный","Insert Unordered List":"Вставка маркированного списка","Insert Ordered List":"Вставить нумерованный список","Align Center":"Выровнять по центру","Align Justify":"Выровнять по ширине","Align Left":"Выровнять по левому краю","Align Right":"Выровнять по правому краю","Insert Horizontal Line":"Вставить горизонтальную линию","Insert Image":"Вставить изображение","Insert file":"Вставить файл","Insert youtube/vimeo video":"Вставьте видео","Insert link":"Вставить ссылку","Font size":"Размер шрифта","Font family":"Шрифт","Insert format block":"Вставить блочный элемент",Normal:"Нормальный текст","Heading 1":"Заголовок 1","Heading 2":"Заголовок 2","Heading 3":"Заголовок 3","Heading 4":"Заголовок 4",Quote:"Цитата",Code:"Код",Insert:"Вставить","Insert table":"Вставить таблицу","Decrease Indent":"Уменьшить отступ","Increase Indent":"Увеличить отступ","Select Special Character":"Выберите специальный символ","Insert Special Character":"Вставить специальный символ","Paint format":"Формат краски","Change mode":"Источник",Margins:"Отступы",top:"сверху",right:"справа",bottom:"снизу",left:"слева",Styles:"Стили",Classes:"Классы",Align:"Выравнивание",Right:"По правому краю",Center:"По центру",Left:"По левому краю","--Not Set--":"--не устанавливать--",Src:"src",Title:"Заголовок",Alternative:"Альтернативный текст (alt)",Link:"Ссылка","Open link in new tab":"Открывать ссылку в новом окне",file:"Файл",Advanced:"Расширенные","Image properties":"Свойства изображения",Cancel:"Отмена",Ok:"Ок","Your code is similar to HTML. Keep as HTML?":"Ваш текст, который вы пытаетесь вставить похож на HTML. Вставить его как HTML?","Paste as HTML":"Вставить как HTML?",Keep:"Сохранить оригинал",Clean:"Почистить","Insert as Text":"Вставить как текст","Insert only Text":"Вставить только текст","Word Paste Detected":"Возможно это фрагмент Word или Excel","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Контент который вы вставляете поступает из документа Microsoft Word / Excel. Вы хотите сохранить формат или очистить его?","File Browser":"Браузер файлов","Error on load list":"Ошибка при загрузке списка изображений","Error on load folders":"Ошибка при загрузке списка директорий","Are you sure?":"Вы уверены?","Enter Directory name":"Введите название директории","Create directory":"Создать директорию","type name":"введите название","Drop image":"Перетащите сюда изображение","Drop file":"Перетащите сюда файл","or click":"или нажмите","Alternative text":"Альтернативный текст",Browse:"Сервер",Upload:"Загрузка",Background:"Фон",Text:"Текст",Top:" К верху",Middle:"По середине",Bottom:"К низу","Insert column before":"Вставить столбец до","Insert column after":"Вставить столбец после","Insert row above":"Вставить ряд выше","Insert row below":"Вставить ряд ниже","Delete table":"Удалить таблицу","Delete row":"Удалять ряд","Delete column":"Удалить столбец","Empty cell":"Очистить ячейку",source:"HTML",bold:"жирный",italic:"курсив",brush:"заливка",link:"ссылка",undo:"отменить",redo:"повторить",table:"таблица",image:"Изображение",eraser:"очистить",paragraph:"параграф",fontsize:"размер шрифта",video:"видео",font:"шрифт",about:"о редакторе",print:"печать",underline:"подчеркнутый",strikethrough:"перечеркнутый",indent:"отступ",outdent:"выступ",fullsize:"во весь экран",shrink:"обычный размер",hr:"линия",ul:"Список",ol:"Нумерованный список",cut:"Вырезать",selectall:"Выделить все","Embed code":"Код","Open link":"Открыть ссылку","Edit link":"Редактировать ссылку","No follow":"Атрибут nofollow",Unlink:"Убрать ссылку",Eye:"Просмотр",pencil:"Редактировать",Update:"Обновить"," URL":"URL",Edit:"Редактировать","Horizontal align":"Горизонтальное выравнивание",Filter:"Фильтр","Sort by changed":"По изменению","Sort by name":"По имени","Sort by size":"По размеру","Add folder":"Добавить папку",Reset:"Восстановить",Save:"Сохранить","Save as ...":"Сохранить как",Resize:"Изменить размер",Crop:"Обрезать размер",Width:"Ширина",Height:"Высота","Keep Aspect Ratio":"Сохранять пропорции",Yes:"Да",No:"Нет",Remove:"Удалить",Select:"Выделить","Chars: %d":"Символов: %d","Words: %d":"Слов: %d",All:"Выделить все","Select %s":"Выделить: %s","Select all":"Выделить все","Vertical align":"Вертикальное выравнивание",Split:"Разделить","Split vertical":"Разделить по вертикали","Split horizontal":"Разделить по горизонтали",Merge:"Объединить в одну","Add column":"Добавить столбец","Add row":"Добавить строку",Delete:"Удалить",Border:"Рамка","License: %s":"Лицензия: %s","Strike through":"Перечеркнуть",Underline:"Подчеркивание",superscript:"верхний индекс",subscript:"индекс","Cut selection":"Вырезать",Break:"Разделитель","Search for":"Найти","Replace with":"Заменить на",Replace:"Заменить",Paste:"Вставить","Choose Content to Paste":"Выбрать контент для вставки","You can only edit your own images. Download this image on the host?":"Вы можете редактировать только свои собственные изображения. Загрузить это изображение на ваш сервер?","The image has been successfully uploaded to the host!":"Изображение успешно загружено на сервер!",palette:"палитра","There are no files":"В данном каталоге нет файлов",Rename:"Переименовать","Enter new name":"Введите новое имя",preview:"Предпросмотр",download:"Скачать","Paste from clipboard":"Вставить из буфера обмена","Your browser doesn't support direct access to the clipboard.":"Ваш браузер не поддерживает прямой доступ к буферу обмена.","Copy selection":"Скопировать выделенное",copy:"копия","Border radius":"Радиус границы","Show all":"Показать все",Apply:"Применить","Please fill out this field":"Пожалуйста, заполните это поле","Please enter a web address":"Пожалуйста, введите веб-адрес",Default:"По умолчанию",Circle:"Круг",Dot:"Точка",Quadrate:"Квадрат",Find:"Найти","Find Previous":"Найти Предыдущие","Find Next":"Найти Далее","Insert className":"Вставить название класса","Press Alt for custom resizing":"Нажмите Alt для изменения пользовательского размера"}},83447:function(t,i,n){"use strict";n.d(i,{getHash:function(){return s}});var r=n(70799),o=n(49055);function s(t){let i=/([^[]*)\[([^\]]+)]/,n=/[\s]*,[\s]*/,s=/^(.*)[\s]*=[\s]*(.*)$/,a={};return(0,r.isString)(t)?(t.split(n).map(t=>{t=(0,o.trim)(t);let r=i.exec(t),l={};if(r){let t=r[2].split(n);r[1]&&(t.forEach(t=>{t=(0,o.trim)(t);let i=s.exec(t);i?l[i[1]]=i[2]:l[t]=!0}),a[r[1].toUpperCase()]=l)}else a[t.toUpperCase()]=!0}),a):!!t&&(Object.keys(t).forEach(i=>{a[i.toUpperCase()]=t[i]}),a)}},83632:function(t,i,n){"use strict";n.d(i,{ApplyStyle:function(){return a}});var r=n(63687),o=n(77361),s=n(55307);function a(t,i){var n;let{s:a,editor:l}=t;null==(n=l.firstChild)||n.normalize();let u=a.fakes(),c=t.s.wrapInTagGen(u),d=c.next();if(d.done)return;let h={collapsed:a.isCollapsed(),mode:o.INITIAL,element:d.value,next:s.states.START,jodit:t,style:i};for(;d&&!d.done;){let t=new r.FiniteStateMachine(s.states.START,s.transactions);for(h.element=d.value;t.getState()!==s.states.END;)h=t.dispatch("exec",h);d=c.next()}a.restoreFakes(u)}},83671:function(t,i,n){"use strict";var r=n(82758),o=n(22732),s=n(580),a=n(49055),l=n(29960),u=n(76078),c=n(50911),d=n(80870),h=n(21491);n(86012);class p extends c.Plugin{afterInit(){if(this.j.o.showXPathInStatusbar){this.container=this.j.c.div("jodit-xpath"),(0,l.attr)(this.container,"role","list");let t=()=>{this.j.o.showXPathInStatusbar&&this.container&&(this.j.statusbar.append(this.container),this.j.getRealMode()===r.MODE_WYSIWYG?this.calcPath():(this.container&&(this.container.innerHTML=r.INVISIBLE_SPACE),this.appendSelectAll()))};this.j.e.off(".xpath").on("pointerup.xpath change.xpath keydown.xpath changeSelection.xpath",this.calcPath).on("afterSetMode.xpath afterInit.xpath changePlace.xpath",t),t(),this.calcPath()}}beforeDestruct(){this.j&&this.j.events&&this.j.e.off(".xpath"),this.removeSelectAll(),this.menu&&this.menu.destruct(),o.Dom.safeRemove(this.container),delete this.menu,delete this.container}constructor(){super(...arguments),this.onContext=(t,i)=>(this.menu||(this.menu=new d.ContextMenu(this.j)),this.menu.show(i.clientX,i.clientY,[{icon:"bin",title:t===this.j.editor?"Clear":"Remove",exec:()=>{t!==this.j.editor?o.Dom.safeRemove(t):this.j.value="",this.j.synchronizeValues()}},{icon:"select-all",title:"Select",exec:()=>{this.j.s.select(t)}}]),!1),this.onSelectPath=(t,i)=>{this.j.s.focus();let n=(0,l.attr)(i.target,"-path")||"/";if("/"===n)return this.j.execCommand("selectall"),!1;try{let t=this.j.ed.evaluate(n,this.j.editor,null,XPathResult.ANY_TYPE,null).iterateNext();if(t)return this.j.s.select(t),!1}catch(t){}return this.j.s.select(t),!1},this.tpl=(t,i,n,r)=>{let o=this.j.c.fromHTML(`<span class="jodit-xpath__item"><a role="button" data-path="${i}" title="${r}" tabindex="-1"'>${(0,a.trim)(n)}</a></span>`),s=o.firstChild;return this.j.e.on(s,"click",this.onSelectPath.bind(this,t)).on(s,"contextmenu",this.onContext.bind(this,t)),o},this.removeSelectAll=()=>{this.selectAllButton&&(this.selectAllButton.destruct(),delete this.selectAllButton)},this.appendSelectAll=()=>{this.removeSelectAll(),this.selectAllButton=(0,h.makeButton)(this.j,function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}({name:"selectall"},this.j.o.controls.selectall)),this.selectAllButton.state.size="tiny",this.container&&this.container.insertBefore(this.selectAllButton.container,this.container.firstChild)},this.calcPathImd=()=>{if(this.isDestructed)return;let t=this.j.s.current();if(this.container&&(this.container.innerHTML=r.INVISIBLE_SPACE),t){let i,n,r;o.Dom.up(t,t=>{t&&this.j.editor!==t&&!o.Dom.isText(t)&&!o.Dom.isComment(t)&&(i=t.nodeName.toLowerCase(),n=(0,u.getXPathByElement)(t,this.j.editor).replace(/^\//,""),r=this.tpl(t,n,i,this.j.i18n("Select %s",i)),this.container&&this.container.insertBefore(r,this.container.firstChild))},this.j.editor)}this.appendSelectAll()},this.calcPath=this.j.async.debounce(this.calcPathImd,2*this.j.defaultTimeout,!0)}}s.pluginSystem.add("xpath",p)},83709:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1744 1408q33 0 42 18.5t-11 44.5l-126 162q-20 26-49 26t-49-26l-126-162q-20-26-11-44.5t42-18.5h80v-1024h-80q-33 0-42-18.5t11-44.5l126-162q20-26 49-26t49 26l126 162q20 26 11 44.5t-42 18.5h-80v1024h80zm-1663-1279l54 27q12 5 211 5 44 0 132-2t132-2q36 0 107.5.5t107.5.5h293q6 0 21 .5t20.5 0 16-3 17.5-9 15-17.5l42-1q4 0 14 .5t14 .5q2 112 2 336 0 80-5 109-39 14-68 18-25-44-54-128-3-9-11-48t-14.5-73.5-7.5-35.5q-6-8-12-12.5t-15.5-6-13-2.5-18-.5-16.5.5q-17 0-66.5-.5t-74.5-.5-64 2-71 6q-9 81-8 136 0 94 2 388t2 455q0 16-2.5 71.5t0 91.5 12.5 69q40 21 124 42.5t120 37.5q5 40 5 50 0 14-3 29l-34 1q-76 2-218-8t-207-10q-50 0-151 9t-152 9q-3-51-3-52v-9q17-27 61.5-43t98.5-29 78-27q19-42 19-383 0-101-3-303t-3-303v-117q0-2 .5-15.5t.5-25-1-25.5-3-24-5-14q-11-12-162-12-33 0-93 12t-80 26q-19 13-34 72.5t-31.5 111-42.5 53.5q-42-26-56-44v-383z"/> </svg> '},83725:function(t,i,n){"use strict";n.d(i,{Autocomplete:function(){return c}});var r=n(82749),o=n(31635),s=n(31356),a=n(35934),l=n(65478),u=n(62405);class c extends u.UIGroup{className(){return"Autocomplete"}onChangeSelection(){var t,i;this.elements.forEach(t=>t.setMod("active",!1)),null==(t=this.elements[this.currentSelection])||t.setMod("active",!0),null==(i=this.elements[this.currentSelection])||i.container.scrollIntoView(!1)}build(t){var i;let n=null==(i=this.elements[this.currentSelection])?void 0:i.item.value,r=t=>t.value,o=s.ListReconciler.reconcile(this.__previousList,t,{getId:r}),l=new Set;o.toRemove.forEach(t=>{let i=r(t);if(l.has(i))return;l.add(i);let n=this.itemsMap.get(i);n&&(-1!==this.elements.indexOf(n)&&(this.remove(n),n.destruct()),this.itemsMap.delete(t.value))}),o.toCreate.forEach(i=>{let n=r(i);if(l.has(n))return;l.add(n);let o=new a.AutocompleteItem(this.jodit,i,i=>{this.currentSelection=t.findIndex(t=>r(t)===i),this.select()});this.itemsMap.set(n,o);let s=t.indexOf(i);this.append(o,s)}),o.toUpdate.forEach(({newItem:t,index:i})=>{let n=r(t);if(l.has(n))return;l.add(n);let o=this.itemsMap.get(n);o&&(o.item=t,this.elements.indexOf(o)!==i&&i<this.elements.length&&(this.remove(o),this.append(o,i)))});let u=this.currentSelection;this.currentSelection=Math.max(0,t.findIndex(t=>r(t)===n)),u===this.currentSelection&&this.onChangeSelection(),this.__previousList=[...t]}selectNext(){this.currentSelection+1<=this.elements.length-1?this.currentSelection+=1:this.currentSelection=0}selectPrevious(){this.currentSelection-1>=0?this.currentSelection-=1:this.currentSelection=this.elements.length-1}select(){this.j.e.fire("select.autocomplete",this.elements[this.currentSelection].item)}constructor(...t){super(...t),(0,r._)(this,"elements",[]),(0,r._)(this,"currentSelection",-1),(0,r._)(this,"__previousList",[]),(0,r._)(this,"itemsMap",new Map)}}(0,o.__decorate)([(0,l.watch)("currentSelection")],c.prototype,"onChangeSelection",null),c=(0,o.__decorate)([l.component],c)},83967:function(t,i,n){"use strict";var r=n(75689),o=n.n(r),s=n(6441),a=n(53326);s.Config.prototype.controls.pasteCode={icon:o(),tooltip:"Paste code",command:"pasteCode"},s.Config.prototype.pasteCode={globalHighlightLib:!1,canonicalLanguageCode(t){switch(t){case"ts":return"typescript";case"js":return"javascript";case"markup":return"html"}return t},highlightLib:{beforeLibLoad(){window.Prism=window.Prism||{},window.Prism.manual=!0},highlight(t,i){return"u">typeof Prism?Prism.highlight(t,Prism.languages[i]||Prism.languages.plain,i):(0,a.htmlspecialchars)(t)},isLangLoaded(t){return"html"===t||"u">typeof Prism&&!!Prism.languages[t]},js:["https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/prism.min.js","https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/autoloader/prism-autoloader.min.js"],langUrl:t=>`https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-${t}.min.js`,css:["https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism.min.css"]},defaultLanguage:"html",insertTemplate:(t,i,n)=>`<pre class="language-${i}">${(0,a.htmlspecialchars)(n)}</pre>`,languages:[{value:"plaintext",text:"Plain"},{value:"html",text:"HTML/XML"},{value:"bash",text:"Bash"},{value:"php",text:"PHP"},{value:"javascript",text:"JavaScript"},{value:"typescript",text:"TypeScript"},{value:"jsx",text:"JSX"},{value:"java",text:"Java"},{value:"css",text:"CSS"},{value:"php",text:"PHP"},{value:"ruby",text:"Ruby"},{value:"python",text:"Python"},{value:"java",text:"Java"},{value:"c",text:"C"},{value:"csharp",text:"C#"},{value:"cpp",text:"C++"},{value:"sql",text:"SQL"},{value:"docker",text:"Docker"},{value:"http",text:"HTTP"},{value:"ini",text:"INI"},{value:"yaml",text:"YAML"},{value:"json",text:"JSON"},{value:"json5",text:"JSON5"},{value:"makefile",text:"Makefile"},{value:"swift",text:"Swift"}],dialog:{width:700,height:600}}},83987:function(t,i,n){"use strict";n.d(i,{buildData:function(){return o}});var r=n(21537);function o(t,i){if((0,r.isFunction)(t.o.buildData))return t.o.buildData.call(t,i);let n=t.ow.FormData;if(void 0!==n){if(i instanceof n||(0,r.isString)(i))return i;let t=new n;return Object.keys(i).forEach(n=>{t.append(n,i[n])}),t}return i}},84021:function(t,i,n){"use strict";n.d(i,{removeExtraTags:function(){return o}});let r=new Set(["o:p","xml","script","meta","link","v:imagedata","style"]);function o(t){return"none"===t.style.get("display")||0===t.length&&"span"===t.name||r.has(t.name)?(t.remove(),null):t}},84075:function(t,i,n){"use strict";n.d(i,{ViewWithToolbar:function(){return g}});var r=n(78213),o=n(45219),s=n(37133),a=n(2748),l=n(76855),u=n(70799),c=n(76078),d=n(67510),h=n(43649),p=n(35608),f=n(21491),m=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class g extends p.View{get toolbarContainer(){return!this.o.fullsize&&((0,u.isString)(this.o.toolbar)||a.Dom.isHTMLElement(this.o.toolbar))?(0,c.resolveElement)(this.o.toolbar,this.o.shadowRoot||this.od):(this.o.toolbar&&a.Dom.appendChildFirst(this.container,this.__defaultToolbarContainer),this.__defaultToolbarContainer)}setPanel(t){this.o.toolbar=t,this.buildToolbar()}buildToolbar(){var t;if(!this.o.toolbar)return;let i=this.o.buttons?(0,l.splitArray)(this.o.buttons):[];null==(t=this.toolbar)||t.setRemoveButtons(this.o.removeButtons).build(i.concat(this.o.extraButtons||[])).appendTo(this.toolbarContainer)}getRegisteredButtonGroups(){return this.groupToButtons}registerButton(t){var i;this.registeredButtons.add(t);let n=null!=(i=t.group)?i:"other";return this.groupToButtons[n]||(this.groupToButtons[n]=[]),null!=t.position?this.groupToButtons[n][t.position]=t.name:this.groupToButtons[n].push(t.name),this}unregisterButton(t){var i;this.registeredButtons.delete(t);let n=null!=(i=t.group)?i:"other",r=this.groupToButtons[n];if(r){let i=r.indexOf(t.name);-1!==i&&r.splice(i,1),0===r.length&&delete this.groupToButtons[n]}return this}beforeToolbarBuild(t){if(Object.keys(this.groupToButtons).length)return t.map(t=>(0,h.isButtonGroup)(t)&&t.group&&this.groupToButtons[t.group]?{group:t.group,buttons:[...t.buttons,...this.groupToButtons[t.group]]}:t)}destruct(){this.isDestructed||(this.setStatus(r.STATUSES.beforeDestruct),this.e.off("beforeToolbarBuild",this.beforeToolbarBuild),this.__tooltip.destruct(),this.toolbar.destruct(),this.toolbar=void 0,super.destruct())}constructor(t,i=!1){super(t,i),this.toolbar=(0,f.makeCollection)(this),this.__defaultToolbarContainer=this.c.div("jodit-toolbar__box"),this.registeredButtons=new Set,this.groupToButtons={},this.isJodit=!1,this.__tooltip=new d.UITooltip(this),this.isJodit=i,this.e.on("beforeToolbarBuild",this.beforeToolbarBuild)}}m([(0,s.watch)(":rebuildToolbar")],g.prototype,"buildToolbar",null),m([o.autobind],g.prototype,"beforeToolbarBuild",null)},84272:function(t,i,n){"use strict";n.d(i,{isInlineBlock:function(){return a},removeFormatForCollapsedSelection:function(){return s}});var r=n(82758),o=n(2748);function s(t,i){let{s:n}=t,r=i;if(!r){r=t.createInside.fake();let{range:i}=n;o.Dom.safeInsertNode(i,r),i.collapse()}let s=o.Dom.furthest(r,a,t.editor);if(s)if(n.cursorOnTheLeft(s))o.Dom.before(s,r);else if(n.cursorOnTheRight(s))o.Dom.after(s,r);else{let t=n.splitSelection(s);t&&o.Dom.after(t,r)}i||(n.setCursorBefore(r),o.Dom.safeRemove(r))}function a(t){return o.Dom.isInlineBlock(t)&&!o.Dom.isTag(t,r.INSEPARABLE_TAGS)}},84380:function(t,i,n){"use strict";var r=n(82758),o=n(6441),s=n(117);function a(t,i,n,r,o,s,a){try{var l=t[s](a),u=l.value}catch(t){n(t);return}l.done?i(u):Promise.resolve(u).then(r,o)}o.Config.prototype.askBeforePasteHTML=!0,o.Config.prototype.processPasteHTML=!0,o.Config.prototype.scrollToPastedContent=!0,o.Config.prototype.pasteExcludeStripTags=["br","hr"],o.Config.prototype.pasteHTMLActionList=[{value:r.INSERT_AS_HTML,text:"Keep"},{value:r.INSERT_AS_TEXT,text:"Insert as Text"},{value:r.INSERT_ONLY_TEXT,text:"Insert only Text"}],o.Config.prototype.memorizeChoiceWhenPasteFragment=!1,o.Config.prototype.nl2brInPlainText=!0;let l="pasteStorage";o.Config.prototype.controls.paste={tooltip:"Paste from clipboard",exec(t,i,n){var o;return(o=function*(t,i,{control:n}){if(n.name===l)return void t.execCommand("showPasteStorage");t.s.focus();let o="",a=!0;if(navigator.clipboard){try{let t=yield navigator.clipboard.read();if(t&&t.length){let i=yield t[0].getType(r.TEXT_PLAIN);o=yield new Response(i).text()}a=!1}catch(t){r.IS_PROD}if(a)try{o=yield navigator.clipboard.readText(),a=!1}catch(t){r.IS_PROD}}a&&(a=0===(o=t.buffer.get(r.CLIPBOARD_ID)||"").length);let u=t.value;a?(t.ed.execCommand("paste"),(a=u===t.value)||t.e.fire("afterPaste")):o.length?((0,s.pasteInsertHtml)(null,t,o),t.e.fire("afterPaste")):a&&t.alert("Your browser doesn't support direct access to the clipboard.",()=>void t.s.focus())},function(){var t=this,i=arguments;return new Promise(function(n,r){var s=o.apply(t,i);function l(t){a(s,n,r,l,u,"next",t)}function u(t){a(s,n,r,l,u,"throw",t)}l(void 0)})}).apply(this,arguments)},list:{[l]:"Paste Storage"},isChildDisabled(t){return 2>t.e.fire("pasteStorageList")}}},84767:function(t,i,n){"use strict";function r(t){return"number"==typeof t&&!isNaN(t)&&isFinite(t)}n.d(i,{isNumber:function(){return r}})},84858:function(t,i){"use strict";i.default='<svg viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg"> <path d="M5.9814 11.8049C5.59087 11.4144 5.59087 10.7812 5.9814 10.3907L10.224 6.14806C10.6146 5.75754 11.2477 5.75754 11.6383 6.14806C12.0288 6.53859 12.0288 7.17175 11.6383 7.56228L7.39561 11.8049C7.00509 12.1954 6.37192 12.1954 5.9814 11.8049Z"/> <path d="M0.707107 12.0208C0.316582 11.6303 0.316582 10.9971 0.707107 10.6066L10.6066 0.707121C10.9971 0.316597 11.6303 0.316596 12.0208 0.707121C12.4113 1.09764 12.4113 1.73081 12.0208 2.12133L2.12132 12.0208C1.7308 12.4114 1.09763 12.4114 0.707107 12.0208Z"/> </svg> '},85017:function(t,i){"use strict";i.default={"Type something":"Ecrivez ici","About Jodit":"A propos de Jodit","Jodit Editor":"Editeur Jodit","Jodit User's Guide":"Guide de l'utilisateur","contains detailed help for using":"Aide d\xe9taill\xe9e \xe0 l'utilisation","For information about the license, please go to our website:":"Consulter la licence sur notre site web:","Buy full version":"Acheter la version compl\xe8te","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Tous droits r\xe9serv\xe9s.",Anchor:"Ancre","Open in new tab":"Ouvrir dans un nouvel onglet","Open in fullsize":"Ouvrir l'\xe9diteur en pleine page","Clear Formatting":"Supprimer le formattage","Fill color or set the text color":"Modifier la couleur du fond ou du texte",Redo:"Refaire",Undo:"D\xe9faire",Bold:"Gras",Italic:"Italique","Insert Unordered List":"Liste non ordonn\xe9e","Insert Ordered List":"Liste ordonn\xe9e","Align Center":"Centrer","Align Justify":"Justifier","Align Left":"Aligner \xe0 gauche ","Align Right":"Aligner \xe0 droite","Insert Horizontal Line":"Ins\xe9rer une ligne horizontale","Insert Image":"Ins\xe9rer une image","Insert file":"Ins\xe9rer un fichier","Insert youtube/vimeo video":"Ins\xe9rer une vid\xe9o","Insert link":"Ins\xe9rer un lien","Font size":"Taille des caract\xe8res","Font family":"Famille des caract\xe8res","Insert format block":"Bloc formatt\xe9",Normal:"Normal","Heading 1":"Titre 1","Heading 2":"Titre 2","Heading 3":"Titre 3","Heading 4":"Titre 4",Quote:"Citation",Code:"Code",Insert:"Ins\xe9rer","Insert table":"Ins\xe9rer un tableau","Decrease Indent":"Diminuer le retrait","Increase Indent":"Retrait plus","Select Special Character":"S\xe9lectionnez un caract\xe8re sp\xe9cial","Insert Special Character":"Ins\xe9rer un caract\xe8re sp\xe9cial","Paint format":"Cloner le format","Change mode":"Mode wysiwyg <-> code html",Margins:"Marges",top:"haut",right:"droite",bottom:"Bas",left:"gauche",Styles:"Styles",Classes:"Classes",Align:"Alignement",Right:"Droite",Center:"Centre",Left:"Gauche","--Not Set--":"--Non disponible--",Src:"Source",Title:"Titre",Alternative:"Alternative",Filter:"Filtre",Link:"Lien","Open link in new tab":"Ouvrir le lien dans un nouvel onglet",Image:"Image",file:"fichier",Advanced:"Avanc\xe9","Image properties":"Propri\xe9t\xe9s de l'image",Cancel:"Annuler",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Votre texte que vous essayez de coller est similaire au HTML. Collez-le en HTML?","Paste as HTML":"Coller en HTML?",Keep:"Sauvegarder l'original",Clean:"Nettoyer","Insert as Text":"Coller en tant que texte","Word Paste Detected":"C'est peut-\xeatre un fragment de Word ou Excel","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Le contenu que vous ins\xe9rez provient d'un document Microsoft Word / Excel. Voulez-vous enregistrer le format ou l'effacer?","Insert only Text":"Coller le texte seulement","File Browser":"Explorateur de fichiers","Error on load list":"Erreur de liste de chargement","Error on load folders":"Erreur de dossier de chargement","Are you sure?":"Etes-vous s\xfbrs ?","Enter Directory name":"Entrer le nom de dossier","Create directory":"Cr\xe9er un dossier","type name":"type de fichier","Drop image":"Coller une image","Drop file":"D\xe9poser un fichier","or click":"ou cliquer","Alternative text":"Texte de remplacemement",Browse:"Chercher",Upload:"Charger",Background:"Arri\xe8re-plan",Border:"Bordure",Text:"Texte",Top:"Haut",Middle:"Milieu",Bottom:"Bas","Insert column before":"Ins\xe9rer une colonne avant","Insert column after":"Ins\xe9rer une colonne apr\xe8s","Insert row above":"Ins\xe9rer une ligne au dessus","Insert row below":"Ins\xe9rer une ligne en dessous","Delete table":"Supprimer le tableau","Delete row":"Supprimer la ligne","Delete column":"Supprimer la colonne","Empty cell":"Vider la cellule","Chars: %d":"Symboles: %d","Words: %d":"Mots: %d",Split:"Split","Split vertical":"Split vertical","Split horizontal":"Split horizontal","Strike through":"Barrer",Underline:"Souligner",superscript:"exposant",subscript:"indice","Cut selection":"Couper la s\xe9lection","Select all":"Tout s\xe9lectionner",Break:"Pause","Search for":"Rechercher","Replace with":"Remplacer par",Replace:"Remplacer",Paste:"Coller","Choose Content to Paste":"Choisissez le contenu \xe0 coller",source:"la source",bold:"gras",italic:"italique",brush:"pinceau",link:"lien",undo:"annuler",redo:"refaire",table:"tableau",image:"image",eraser:"gomme",paragraph:"clause",fontsize:"taille de police",video:"Video",font:"police",about:"\xe0 propos de l'\xe9diteur",print:"impression",underline:"soulign\xe9",strikethrough:"barr\xe9",indent:"indentation",outdent:"retrait",fullsize:"taille r\xe9elle",shrink:"taille conventionnelle",hr:"la ligne",ul:"Liste",ol:"Liste num\xe9rot\xe9e",cut:"Couper",selectall:"S\xe9lectionner tout","Open link":"Ouvrir le lien","Edit link":"Modifier le lien","No follow":"Attribut Nofollow",Unlink:"Supprimer le lien",Eye:"Voir",pencil:"Pour \xe9diter"," URL":"URL",Reset:"Restaurer",Save:"Sauvegarder","Save as ...":"Enregistrer sous",Resize:"Changer la taille",Crop:"Taille de garniture",Width:"Largeur",Height:"Hauteur","Keep Aspect Ratio":"Garder les proportions",Yes:"Oui",No:"Non",Remove:"Supprimer",Select:"Mettre en \xe9vidence","Select %s":"Mettre en \xe9vidence: %s",Update:"Mettre \xe0 jour","Vertical align":"Alignement vertical",Merge:"aller","Add column":"Ajouter une colonne","Add row":"Ajouter une rang\xe9e",Delete:"Effacer","Horizontal align":"Alignement horizontal","Sort by changed":"Trier par modification","Sort by name":"Trier par nom","Sort by size":"Trier par taille","Add folder":"Cr\xe9er le dossier","You can only edit your own images. Download this image on the host?":"Vous ne pouvez \xe9diter que vos propres images. T\xe9l\xe9chargez cette image sur l'h\xf4te?","The image has been successfully uploaded to the host!":"L'image a \xe9t\xe9 t\xe9l\xe9charg\xe9e avec succ\xe8s sur le serveur!",palette:"Palette","There are no files":"Il n'y a aucun fichier dans ce r\xe9pertoire.",Rename:"renommer","Enter new name":"Entrez un nouveau nom",preview:"Aper\xe7u",download:"T\xe9l\xe9charger","Paste from clipboard":"Coller \xe0 partir du presse-papiers","Your browser doesn't support direct access to the clipboard.":"Votre navigateur ne prend pas en charge l'acc\xe8s direct au presse-papiers.","Copy selection":"Copier la s\xe9lection",copy:"copie","Border radius":"Rayon des bordures","Show all":"Afficher tous",Apply:"Appliquer","Please fill out this field":"Veuillez remplir ce champ","Please enter a web address":"Veuillez entrer une adresse web",Default:"Par d\xe9faut",Circle:"Cercle",Dot:"Point",Quadrate:"Quadratique",Find:"Trouver","Find Previous":"Pr\xe9c\xe9dent","Find Next":"Suivant","Insert className":"Ins\xe9rer un nom de classe","Press Alt for custom resizing":"Appuyez sur Alt pour un redimensionnement personnalis\xe9","Embed code":"Code d'int\xe9gration",Edit:"Modifier",All:"Tout s\xe9lectionner","License: %s":"Licence: %s"}},85120:function(t,i,n){"use strict";n.d(i,{UITextArea:function(){return h}});var r,o,s,a=n(65478),l=n(87325),u=n(80256);function c(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}var d=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let h=s=class t extends u.UIInput{className(){return"UITextArea"}createNativeInput(t){return this.j.create.element("textarea")}onChangeStateSize(){let{size:t,resizable:i}=this.state;this.nativeInput.style.resize=i?"auto":"none",this.nativeInput.rows=null!=t?t:5}constructor(t,i){super(t,i),this.state=c({},s.defaultState),Object.assign(this.state,i),!1===this.state.resizable&&(this.nativeInput.style.resize="none")}};h.defaultState=(r=c({},u.UIInput.defaultState),o=o={size:5,resizable:!0},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):(function(t){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i.push.apply(i,n)}return i})(Object(o)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(o,t))}),r),d([(0,a.watch)(["state.size","state.resizable"])],h.prototype,"onChangeStateSize",null),h=s=d([l.component],h)},85130:function(t,i,n){"use strict";n.d(i,{execute:function(){return s}});var r=n(77688),o=n(6689);function s(t,i,n){return(0,r._)(function*(){let{contextCharsBefore:r,contextCharsAfter:s}=i;if((0,o.throwIfAborted)(n),t.s.restore(),t.s.isCollapsed())return{hasSelection:!1};let a=t.s.html,l=t.s.range,u=l.toString(),c={hasSelection:!0,html:a,text:u,startContainer:l.startContainer.nodeName,endContainer:l.endContainer.nodeName};if(r>0||s>0){let i=t.editor.textContent||"",n=i.substring(0,i.indexOf(u)),o=i.substring(i.indexOf(u)+u.length);r>0&&(c.contextBefore=n.slice(-r)),s>0&&(c.contextAfter=o.slice(0,s))}return c})()}},85174:function(t,i,n){"use strict";var r=n(77688),o=n(82749),s=n(56075),a=n(11886),l=n(31635);n(3536);var u=n(4941),c=n(65478),d=n(49055),h=n(20356),p=n(2692);class f extends h.Plugin{afterInit(t){return(0,r._)(function*(){let i=yield t.o.emoji.data();t.isInDestruct||(this.data=(0,a._)((0,s._)({},i),{emoji:i.emoji.map(u.Emoji.normalizeEmoji)}),t.o.emoji.enableAutoComplete&&t.e.fire("registerAutocompleteSource",this.onAutoComplete),t.async.requestIdleCallback(()=>{t.getInstance(u.Emoji)}))}).call(this)}onAutoComplete(t){return t.length>2&&":"===t[0]&&(t=t.substr(1).toLowerCase(),(0,d.trim)(t).length)?this.data.emoji.filter(i=>{var n;return(null==(n=i.description)?void 0:n.indexOf(t))===0}).sort((i,n)=>i.description.indexOf(t)-n.description.indexOf(t)).map(t=>({title:`${t.emoji} ${t.description}`,value:t.emoji})):[]}beforeDestruct(t){}constructor(...t){super(...t),(0,o._)(this,"hasStyle",!p.JoditPro.fatMode),(0,o._)(this,"buttons",[{name:"emoji",group:"insert"}]),(0,o._)(this,"data",void 0)}}(0,o._)(f,"requires",["autocomplete","license"]),(0,l.__decorate)([c.autobind],f.prototype,"onAutoComplete",null),p.JoditPro.plugins.add("emoji",f)},85407:function(t,i,n){"use strict";var r=n(82758),o=n(2748),s=n(580),a=n(21537),l=n(20356),u=n(10830);class c extends l.Plugin{createDialog(){this.dialog=this.j.dlg();let t=(0,u.Button)(this.j,"paste","Paste","primary");t.onAction(this.paste);let i=(0,u.Button)(this.j,"","Cancel");i.onAction(this.dialog.close),this.container=this.j.c.div(),this.container.classList.add("jodit-paste-storage"),this.listBox=this.j.c.div(),this.previewBox=this.j.c.div(),this.container.appendChild(this.listBox),this.container.appendChild(this.previewBox),this.dialog.setHeader(this.j.i18n("Choose Content to Paste")),this.dialog.setContent(this.container),this.dialog.setFooter([t,i]),this.j.e.on(this.listBox,"click dblclick",t=>{let i=t.target;return o.Dom.isTag(i,"a")&&i.hasAttribute("data-index")&&this.selectIndex(parseInt((0,a.attr)(i,"-index")||"0",10)),"dblclick"===t.type&&this.paste(),!1})}afterInit(){this.j.e.off("afterCopy.paste-storage").on("pasteStorageList.paste-storage",()=>this.list.length).on("afterCopy.paste-storage",t=>{-1!==this.list.indexOf(t)&&this.list.splice(this.list.indexOf(t),1),this.list.unshift(t),this.list.length>5&&(this.list.length=5)}),this.j.registerCommand("showPasteStorage",{exec:this.showDialog,hotkeys:["ctrl+shift+v","cmd+shift+v"]})}beforeDestruct(){this.dialog&&this.dialog.destruct(),this.j.e.off(".paste-storage"),o.Dom.safeRemove(this.previewBox),o.Dom.safeRemove(this.listBox),o.Dom.safeRemove(this.container),this.container=null,this.listBox=null,this.previewBox=null,this.dialog=null,this.list=[]}constructor(){super(...arguments),this.currentIndex=0,this.list=[],this.container=null,this.listBox=null,this.previewBox=null,this.dialog=null,this.paste=()=>{if(this.j.s.focus(),this.j.s.insertHTML(this.list[this.currentIndex]),0!==this.currentIndex){let t=this.list[0];this.list[0]=this.list[this.currentIndex],this.list[this.currentIndex]=t}this.dialog&&this.dialog.close(),this.j.synchronizeValues(),this.j.e.fire("afterPaste")},this.onKeyDown=t=>{let i=this.currentIndex;if(-1!==[r.KEY_UP,r.KEY_DOWN,r.KEY_ENTER].indexOf(t.key)){if(t.key===r.KEY_UP&&(0===i?i=this.list.length-1:i-=1),t.key===r.KEY_DOWN&&(i===this.list.length-1?i=0:i+=1),t.key===r.KEY_ENTER)return void this.paste();i!==this.currentIndex&&this.selectIndex(i),t.stopImmediatePropagation(),t.preventDefault()}},this.selectIndex=t=>{this.listBox&&(0,a.toArray)(this.listBox.childNodes).forEach((i,n)=>{i.classList.remove("jodit_active"),t===n&&this.previewBox&&(i.classList.add("jodit_active"),this.previewBox.innerHTML=this.list[t],i.focus())}),this.currentIndex=t},this.showDialog=()=>{this.list.length<2||(this.dialog||this.createDialog(),this.listBox&&(this.listBox.innerHTML=""),this.previewBox&&(this.previewBox.innerHTML=""),this.list.forEach((t,i)=>{let n=this.j.c.element("a");n.textContent=i+1+". "+t.replace((0,r.SPACE_REG_EXP)(),""),this.j.e.on(n,"keydown",this.onKeyDown),(0,a.attr)(n,"href","#"),(0,a.attr)(n,"data-index",i.toString()),(0,a.attr)(n,"tab-index","-1"),this.listBox&&this.listBox.appendChild(n)}),this.dialog&&this.dialog.open(),this.j.async.setTimeout(()=>{this.selectIndex(0)},100))}}}s.pluginSystem.add("pasteStorage",c)},85567:function(t,i,n){"use strict";n.d(i,{PII:function(){return r},WARN:function(){return o}});let r=440,o=940},85723:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"Hauteur de ligne"}},85745:function(t,i,n){"use strict";n(6441).Config.prototype.imageProcessor={replaceDataURIToBlobIdInView:!0}},86012:function(t,i,n){"use strict";n(6441).Config.prototype.showXPathInStatusbar=!0},86019:function(t,i,n){"use strict";n.d(i,{Jodit:function(){return r.Jodit}});var r=n(2303),o=n(27613),s=n(82758),a=n(65478),l=n(41409),u=n(17555),c=n(26152);n(46448),Object.keys(s).forEach(t=>{r.Jodit[t]=s[t]});let d=t=>"__esModule"!==t;Object.keys(u).filter(d).forEach(t=>{l.Icon.set(t.replace("_","-"),u[t])}),Object.keys(l).filter(d).forEach(t=>{var i;let n=l[t],s=(0,o.isFunction)(null==(i=n.prototype)?void 0:i.className)?n.prototype.className():t;(0,o.isString)(s)&&(r.Jodit.modules[s]=n)}),Object.keys(a).filter(d).forEach(t=>{r.Jodit.decorators[t]=a[t]}),["Confirm","Alert","Prompt"].forEach(t=>{r.Jodit[t]=l[t]}),Object.keys(c.default).filter(d).forEach(t=>{r.Jodit.lang[t]=c.default[t]})},86068:function(t,i,n){"use strict";function r(t){return null==t}n.d(i,{isVoid:function(){return r}})},86273:function(t,i){"use strict";i.default={"Type something":"Escriba algo...",Advanced:"Avanzado","About Jodit":"Acerca de Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Gu\xeda de usuario Jodit","contains detailed help for using":"contiene ayuda detallada para el uso.","For information about the license, please go to our website:":"Para informaci\xf3n sobre la licencia, por favor visite nuestro sitio:","Buy full version":"Compre la versi\xf3n completa","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Todos los derechos reservados.",Anchor:"Anclar","Open in new tab":"Abrir en nueva pesta\xf1a","Open in fullsize":"Abrir editor en pantalla completa","Clear Formatting":"Limpiar formato","Fill color or set the text color":"Color de relleno o de letra",Redo:"Rehacer",Undo:"Deshacer",Bold:"Negrita",Italic:"Cursiva","Insert Unordered List":"Insertar lista no ordenada","Insert Ordered List":"Insertar lista ordenada","Align Center":"Alinear Centrado","Align Justify":"Alinear Justificado","Align Left":"Alinear Izquierda","Align Right":"Alinear Derecha","Insert Horizontal Line":"Insertar l\xednea horizontal","Insert Image":"Insertar imagen","Insert file":"Insertar archivo","Insert youtube/vimeo video":"Insertar video de Youtube/vimeo","Insert link":"Insertar v\xednculo","Font size":"Tama\xf1o de letra","Font family":"Familia de letra","Insert format block":"Insertar bloque",Normal:"Normal","Heading 1":"Encabezado 1","Heading 2":"Encabezado 2","Heading 3":"Encabezado 3","Heading 4":"Encabezado 4",Quote:"Cita",Code:"C\xf3digo",Insert:"Insertar","Insert table":"Insertar tabla","Decrease Indent":"Disminuir sangr\xeda","Increase Indent":"Aumentar sangr\xeda","Select Special Character":"Seleccionar caracter especial","Insert Special Character":"Insertar caracter especial","Paint format":"Copiar formato","Change mode":"Cambiar modo",Margins:"M\xe1rgenes",top:"arriba",right:"derecha",bottom:"abajo",left:"izquierda",Styles:"Estilos CSS",Classes:"Clases CSS",Align:"Alinear",Right:"Derecha",Center:"Centrado",Left:"Izquierda","--Not Set--":"--No Establecido--",Src:"Fuente",Title:"T\xedtulo",Alternative:"Texto Alternativo",Filter:"Filtrar",Link:"V\xednculo","Open link in new tab":"Abrir v\xednculo en nueva pesta\xf1a",Image:"Imagen",file:"Archivo","Image properties":"Propiedades de imagen",Cancel:"Cancelar",Ok:"Aceptar","Your code is similar to HTML. Keep as HTML?":"El c\xf3digo es similar a HTML. \xbfMantener como HTML?","Paste as HTML":"Pegar como HTML?",Keep:"Mantener",Clean:"Limpiar","Insert as Text":"Insertar 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. \xbfDesea mantener el formato o limpiarlo?","Insert only Text":"Insertar solo texto","File Browser":"Buscar archivo","Error on load list":"Error al cargar la lista","Error on load folders":"Error al cargar las carpetas","Are you sure?":"\xbfEst\xe1 seguro?","Enter Directory name":"Entre nombre de carpeta","Create directory":"Crear carpeta","type name":"Entre el nombre","Drop image":"Soltar imagen","Drop file":"Soltar archivo","or click":"o click","Alternative text":"Texto alternativo",Browse:"Buscar",Upload:"Subir",Background:"Fondo",Text:"Texto",Top:"Arriba",Middle:"Centro",Bottom:"Abajo","Insert column before":"Insertar columna antes","Insert column after":"Interar columna despu\xe9s","Insert row above":"Insertar fila arriba","Insert row below":"Insertar fila debajo","Delete table":"Borrar tabla","Delete row":"Borrar fila","Delete column":"Borrar columna","Empty cell":"Vaciar celda",Delete:"Borrar","Strike through":"Tachado",Underline:"Subrayado",Break:"Pausa","Search for":"Buscar","Replace with":"Reemplazar con",Replace:"Reemplazar",Edit:"Editar","Vertical align":"Alineaci\xf3n vertical","Horizontal align":"Alineaci\xf3n horizontal","Sort by changed":"Ordenar por fecha modificaci\xf3n","Sort by name":"Ordenar por nombre","Sort by size":"Ordenar por tama\xf1o","Add folder":"Agregar carpeta",Split:"Dividir","Split vertical":"Dividir vertical","Split horizontal":"Dividir horizontal",Merge:"Mezclar","Add column":"Agregar columna","Add row":"Agregar fila",Border:"Borde","Embed code":"Incluir c\xf3digo",Update:"Actualizar",superscript:"super\xedndice",subscript:"sub\xedndice","Cut selection":"Cortar selecci\xf3n",Paste:"Pegar","Choose Content to Paste":"Seleccionar contenido para pegar","Chars: %d":"Caracteres: %d","Words: %d":"Palabras: %d",All:"Todo","Select %s":"Seleccionar: %s","Select all":"Seleccionar todo",source:"HTML",bold:"negrita",italic:"cursiva",brush:"Brocha",link:"V\xednculo",undo:"deshacer",redo:"rehacer",table:"Tabla",image:"Imagen",eraser:"Borrar",paragraph:"P\xe1rrafo",fontsize:"Tama\xf1o de letra",video:"Video",font:"Letra",about:"Acerca de",print:"Imprimir",underline:"subrayar",strikethrough:"tachar",indent:"sangr\xeda",outdent:"quitar sangr\xeda",fullsize:"Tama\xf1o completo",shrink:"encoger",hr:"l\xednea horizontal",ul:"lista sin ordenar",ol:"lista ordenada",cut:"Cortar",selectall:"Seleccionar todo","Open link":"Abrir v\xednculo","Edit link":"Editar v\xednculo","No follow":"No seguir",Unlink:"Desvincular",Eye:"Ver",pencil:"Para editar"," URL":"URL",Reset:"Resetear",Save:"Guardar","Save as ...":"Guardar como...",Resize:"Redimensionar",Crop:"Recortar",Width:"Ancho",Height:"Alto","Keep Aspect Ratio":"Mantener relaci\xf3n de aspecto",Yes:"Si",No:"No",Remove:"Quitar",Select:"Seleccionar","You can only edit your own images. Download this image on the host?":"Solo puedes editar tus propias im\xe1genes. \xbfDescargar esta imagen en el servidor?","The image has been successfully uploaded to the host!":"\xa1La imagen se ha subido correctamente al servidor!",palette:"paleta","There are no files":"No hay archivos en este directorio.",Rename:"renombrar","Enter new name":"Ingresa un nuevo nombre",preview:"avance",download:"Descargar","Paste from clipboard":"Pegar desde el portapapeles","Your browser doesn't support direct access to the clipboard.":"Su navegador no soporta el acceso directo en el portapapeles.","Copy selection":"Selecci\xf3n de copia",copy:"copia","Border radius":"Radio frontera","Show all":"Mostrar todos los",Apply:"Aplicar","Please fill out this field":"Por favor, rellene este campo","Please enter a web address":"Por favor, introduzca una direcci\xf3n web",Default:"Predeterminado",Circle:"C\xedrculo",Dot:"Punto",Quadrate:"Cuadro","Lower Alpha":"Letra Min\xfascula","Lower Greek":"Griego Min\xfascula","Lower Roman":"Romano Min\xfascula","Upper Alpha":"Letra May\xfascula","Upper Roman":"Romano May\xfascula",Find:"Encontrar","Find Previous":"Buscar Anterior","Find Next":"Buscar Siguiente","Insert className":"Insertar nombre de clase","Press Alt for custom resizing":"Presione Alt para cambiar el tama\xf1o personalizado","License: %s":"Licencia: %s"}},86327:function(t,i,n){"use strict";n.d(i,{UIForm:function(){return c}});var r=n(4012),o=n(87325),s=n(43555),a=n(80256),l=n(12234),u=n(62405);let c=class t extends u.UIGroup{className(){return"UIForm"}submit(){this.j.e.fire(this.container,"submit")}validate(){for(let t of this.allChildren.filter(t=>r.Component.isInstanceOf(t,a.UIInput)))if(!t.validate())return!1;for(let t of this.allChildren.filter(t=>r.Component.isInstanceOf(t,l.UISelect)))if(!t.validate())return!1;return!0}onSubmit(t){return this.j.e.on(this.container,"submit",()=>{let i=this.allChildren.filter(t=>r.Component.isInstanceOf(t,a.UIInput));return!!this.validate()&&(t(i.reduce((t,i)=>(t[i.state.name]=i.value,t),{})),!1)}),this}createContainer(){let t=this.j.c.element("form");return t.classList.add(this.componentName),(0,s.attr)(t,"dir",this.j.o.direction||"auto"),(0,s.attr)(t,"novalidate",""),t}constructor(...t){var i,n;super(...t),(null==(i=this.options)?void 0:i.className)&&this.container.classList.add(null==(n=this.options)?void 0:n.className)}};c=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([o.component],c)},86397:function(t,i,n){"use strict";n.d(i,{ConnectionError:function(){return r}});class r extends Error{constructor(t){super(t),Object.setPrototypeOf(this,r.prototype)}}},86401:function(t){t.exports={"Show Blocks":"Mostrar Blocos"}},86428:function(t){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"> \x3c!-- Background rounded rect --\x3e <rect x="1" y="1" width="22" height="22" rx="3"/> \x3c!-- Letter A - outer shape --\x3e <polygon points="8,5 2,19 5,19 6.5,16 11.5,16 13,19 16,19 10,5" fill="white"/> \x3c!-- Letter A - inner triangle (hole) --\x3e <polygon points="9,9 7.5,13 10.5,13" fill="currentColor"/> \x3c!-- Letter I --\x3e <rect x="17" y="5" width="3" height="14" fill="white"/> </svg>'},86449:function(t,i,n){"use strict";n.d(i,{APIClient:function(){return c}});var r=n(77688),o=n(82749),s=n(56075),a=n(11886),l=n(82758),u=n(21537);class c{sendRequest(t,i,n,o,s){return(0,r._)(function*(){let{apiRequest:r,requestTimeout:a,maxRetries:c}=this.jodit.o.aiAssistantPro;if(!r)throw Error("AI Assistant Pro callback is not configured");let d=new AbortController;this.abortControllers.add(d);try{let h=this.buildRequestContext(t,i,n,o,s),p=null;for(let t=0;c>=t;t++)try{if(d.signal.aborted)throw(0,u.abort)();let t=setTimeout(()=>{d.abort()},a);try{let i=yield r(h,d.signal);return clearTimeout(t),this.validateResponse(i),i}catch(i){throw clearTimeout(t),i}}catch(i){if(p=i,l.IS_PROD,c>t){let i=this.calculateRetryDelay(t);yield this.sleep(i)}else throw i}throw p||Error("API request failed after all retries")}finally{this.abortControllers.delete(d)}}).call(this)}abort(){this.abortControllers.forEach(t=>{t.abort()}),this.abortControllers.clear()}isInProgress(){return this.abortControllers.size>0}buildRequestContext(t,i,n,r,o){let{apiMode:l,instructions:u}=this.jodit.o.aiAssistantPro,c={mode:l,conversationId:t,tools:this.toolRegistry.getAllTools(),selectionContexts:r,conversationOptions:o,instructions:u},d=[];if("full"===l)d=i;else if(n){let t=i.findIndex(t=>t.id===n);d=-1!==t?i.slice(t+1):i,c=(0,a._)((0,s._)({},c),{parentMessageId:n})}else d=i;return(0,a._)((0,s._)({},c),{messages:this.expandToolMessages(d,i.find(t=>t.id===n))})}expandToolMessages(t,i){let n=[];for(let i of t)n.push(i),this.expandToolResultsMessage(i,n);return i&&this.expandToolResultsMessage(i,n),n}expandToolResultsMessage(t,i){if(t.toolCalls&&t.toolCalls.length>0)for(let r of t.toolCalls){var n;let o=null!=(n=r.result)?n:{error:"result not found"};if(i.find(t=>t.id===`${r.id}-result`))continue;let s={id:`${r.id}-result`,role:"tool",content:o.error?`Error: ${o.error}`:JSON.stringify(o.result),timestamp:t.timestamp,toolResults:[{toolCallId:r.id,result:o}]};i.push(s)}}validateResponse(t){if("final"!==t.mode)return;let i=t.response;if(!i)throw Error("API returned empty response");if(!i.responseId)throw Error("API response missing responseId");if(void 0===i.content)throw Error("API response missing content");if(void 0===i.finished)throw Error("API response missing finished flag");if(i.toolCalls){if(!Array.isArray(i.toolCalls))throw Error("API response toolCalls must be an array");i.toolCalls.forEach((t,i)=>{if(!t.id)throw Error(`Tool call at index ${i} is missing id`);if(!t.name)throw Error(`Tool call at index ${i} is missing name`);if(!t.arguments||"object"!=typeof t.arguments)throw Error(`Tool call at index ${i} has invalid arguments`)})}}calculateRetryDelay(t){let{retryDelay:i}=this.jodit.o.aiAssistantPro;return i*Math.pow(2,t)+Math.random()*i}sleep(t){return new Promise(i=>setTimeout(i,t))}destruct(){this.abort()}constructor(t,i){(0,o._)(this,"jodit",void 0),(0,o._)(this,"toolRegistry",void 0),(0,o._)(this,"abortControllers",void 0),this.jodit=t,this.toolRegistry=i,this.abortControllers=new Set}}},86518:function(t,i,n){"use strict";n.d(i,{safeHTML:function(){return s},sanitizeHTMLElement:function(){return a}});var r=n(2748),o=n(43555);function s(t,i){(r.Dom.isElement(t)||r.Dom.isFragment(t))&&(i.removeOnError&&(a(t),(0,o.$$)("[onerror]",t).forEach(t=>a(t,i))),i.safeJavaScriptLink&&(a(t),(0,o.$$)('a[href^="javascript"]',t).forEach(t=>a(t,i))))}function a(t,{safeJavaScriptLink:i,removeOnError:n}={safeJavaScriptLink:!0,removeOnError:!0}){if(!r.Dom.isElement(t))return!1;let s=!1;n&&t.hasAttribute("onerror")&&((0,o.attr)(t,"onerror",null),s=!0);let l=t.getAttribute("href");return i&&l&&0===l.trim().indexOf("javascript")&&((0,o.attr)(t,"href",location.protocol+"//"+l),s=!0),s}},86563:function(t,i,n){"use strict";n.d(i,{UIMessageList:function(){return c}});var r=n(82749),o=n(31635),s=n(51359),a=n(65478),l=n(62405),u=n(31356);class c extends l.UIGroup{className(){return"UIMessageList"}render(){return'<div class="&__scroll-container"></div>'}afterRender(){this.scrollContainer=this.container}onUserScroll(){if(!this.scrollContainer)return;let{scrollTop:t,scrollHeight:i,clientHeight:n}=this.scrollContainer;this.autoScrollEnabled=i-t-n<10}onMessageSent(){this.autoScrollEnabled=!0,this.scrollToBottom()}appendChildToContainer(t){this.scrollContainer&&this.scrollContainer.appendChild(t)}setMessages(t){let i=this.messages.slice();this.messages=t.slice(),this.updateMessageList(i),this.scrollToBottom()}updateMessageList(t){let i=u.ListReconciler.reconcile(t,this.messages,{getId:t=>t.id,isEqual:(t,i)=>t.id===i.id&&t.content===i.content&&t.timestamp===i.timestamp&&JSON.stringify(t.artifacts)===JSON.stringify(i.artifacts)&&JSON.stringify(t.toolCalls)===JSON.stringify(i.toolCalls),preserveOrder:!0});i.toRemove.forEach(t=>{let i=this.messageItems.get(t.id);i&&(-1!==this.elements.indexOf(i)&&(this.remove(i),i.destruct()),this.messageItems.delete(t.id))}),i.toUpdate.forEach(({newItem:t,index:i})=>{let n=this.messageItems.get(t.id);n&&(n.updateMessage(t),this.elements.indexOf(n)!==i&&i<this.elements.length&&(this.remove(n),this.append(n,i)))}),i.toCreate.forEach(t=>{let i=new s.UIMessageListItem(this.j,t,this.params);this.messageItems.set(t.id,i);let n=this.messages.indexOf(t);this.append(i,n)})}scrollToBottom(){!this.j.isDestructed&&this.autoScrollEnabled&&(this.container.scrollTop=this.container.scrollHeight)}destruct(){this.messageItems.clear(),this.messages=[],super.destruct()}constructor(t,i){super(t),(0,r._)(this,"params",void 0),(0,r._)(this,"messages",void 0),(0,r._)(this,"messageItems",void 0),(0,r._)(this,"scrollContainer",void 0),(0,r._)(this,"autoScrollEnabled",void 0),this.params=i,this.messages=[],this.messageItems=new Map,this.autoScrollEnabled=!0}}(0,o.__decorate)([(0,a.hook)("ready")],c.prototype,"afterRender",null),(0,o.__decorate)([(0,a.watch)(["scrollContainer:wheel","scrollContainer:scroll","scrollContainer:touchmove"]),(0,a.throttle)(t=>t.defaultTimeout)],c.prototype,"onUserScroll",null),(0,o.__decorate)([(0,a.watch)(":messageSent.ai-assistant-pro")],c.prototype,"onMessageSent",null),(0,o.__decorate)([a.autobind],c.prototype,"setMessages",null),(0,o.__decorate)([(0,a.throttle)(t=>2*t.defaultTimeout)],c.prototype,"scrollToBottom",null),c=(0,o.__decorate)([a.component],c)},86583:function(t,i,n){"use strict";n.d(i,{dataBind:function(){return s}});var r=n(39955);let o=new WeakMap,s=(t,i,n)=>{let s=o.get(t);if(!s){s={},o.set(t,s);let i=null;(0,r.isViewObject)(t.j)&&(i=t.j.e),(0,r.isViewObject)(t)&&(i=t.e),i&&i.on("beforeDestruct",()=>{o.delete(t)})}return void 0===n?s[i]:(s[i]=n,n)}},86820:function(t){t.exports='<svg viewBox="0 0 88 88" fill="none" xmlns="http://www.w3.org/2000/svg"> <g> <path d="M44 0.513519C27.2931 0.513519 13.75 13.8981 13.75 30.4095C13.75 46.9208 44 87.4835 44 87.4835C44 87.4835 74.25 46.9208 74.25 30.4095C74.25 13.8981 60.7069 0.513519 44 0.513519ZM19.25 30.4095C19.25 16.921 30.3518 5.94914 44 5.94914C57.6482 5.94914 68.75 16.921 68.75 30.4095C68.75 39.8049 54.9945 62.4871 44 78.1329C33.0055 62.4871 19.25 39.8049 19.25 30.4095ZM44 16.8204C36.4052 16.8204 30.25 22.9035 30.25 30.4095C30.25 37.9154 36.4052 43.9985 44 43.9985C51.5948 43.9985 57.75 37.9154 57.75 30.4095C57.75 22.9035 51.5948 16.8204 44 16.8204ZM44 38.5629C39.4508 38.5629 35.75 34.9054 35.75 30.4095C35.75 25.9135 39.4508 22.256 44 22.256C48.5492 22.256 52.25 25.9135 52.25 30.4095C52.25 34.9054 48.5492 38.5629 44 38.5629Z" fill="#404040"/> </g> <defs> <rect width="88" height="86.97" fill="white" transform="translate(0 0.513519)"/> </defs> </svg>'},86835:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M384 544v576q0 13-9.5 22.5t-22.5 9.5q-14 0-23-9l-288-288q-9-9-9-23t9-23l288-288q9-9 23-9 13 0 22.5 9.5t9.5 22.5zm1408 768v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/> </svg> '},87058:function(t,i,n){"use strict";n.d(i,{camelCase:function(){return r}});let r=t=>t.replace(/([-_])(.)/g,(t,i,n)=>n.toUpperCase())},87325:function(t,i,n){"use strict";n.d(i,{component:function(){return a},getComponentClass:function(){return l}});var r=n(82758),o=n(80568);let s=new Map;function a(t){class i extends t{constructor(...t){super(...t),this.constructor===i&&(this instanceof i||Object.setPrototypeOf(this,i.prototype),this.setStatus("ready"))}}let n=(0,o.getClassName)(t.prototype);if(s.has(n)&&!r.IS_PROD)throw Error(`Component with name "${n}" is already registered`);return s.set(n,i),i}function l(t){return s.get(t)}},87394:function(t,i,n){"use strict";var r=n(12153),o=n(6441),s=n(5119);o.Config.prototype.usePopupForSpecialCharacters=!1,o.Config.prototype.specialCharacters=["!","&quot;","#","$","%","&amp;","'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","&lt;","=","&gt;","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","&euro;","&lsquo;","&rsquo;","&ldquo;","&rdquo;","&ndash;","&mdash;","&iexcl;","&cent;","&pound;","&curren;","&yen;","&brvbar;","&sect;","&uml;","&copy;","&ordf;","&laquo;","&raquo;","&not;","&reg;","&macr;","&deg;","&sup2;","&sup3;","&acute;","&micro;","&para;","&middot;","&cedil;","&sup1;","&ordm;","&frac14;","&frac12;","&frac34;","&iquest;","&Agrave;","&Aacute;","&Acirc;","&Atilde;","&Auml;","&Aring;","&AElig;","&Ccedil;","&Egrave;","&Eacute;","&Ecirc;","&Euml;","&Igrave;","&Iacute;","&Icirc;","&Iuml;","&ETH;","&Ntilde;","&Ograve;","&Oacute;","&Ocirc;","&Otilde;","&Ouml;","&times;","&Oslash;","&Ugrave;","&Uacute;","&Ucirc;","&Uuml;","&Yacute;","&THORN;","&szlig;","&agrave;","&aacute;","&acirc;","&atilde;","&auml;","&aring;","&aelig;","&ccedil;","&egrave;","&eacute;","&ecirc;","&euml;","&igrave;","&iacute;","&icirc;","&iuml;","&eth;","&ntilde;","&ograve;","&oacute;","&ocirc;","&otilde;","&ouml;","&divide;","&oslash;","&ugrave;","&uacute;","&ucirc;","&uuml;","&yacute;","&thorn;","&yuml;","&OElig;","&oelig;","&#372;","&#374","&#373","&#375;","&sbquo;","&#8219;","&bdquo;","&hellip;","&trade;","&#9658;","&bull;","&rarr;","&rArr;","&hArr;","&diams;","&asymp;"],r.Icon.set("symbols",s.default),o.Config.prototype.controls.symbols={hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup:(t,i,n)=>{let r=t.e.fire("generateSpecialCharactersTable.symbols");if(r){if(t.o.usePopupForSpecialCharacters){let i=t.c.div();return i.classList.add("jodit-symbols"),i.appendChild(r),t.e.on(r,"close_dialog",n),i}t.alert(r,"Select Special Character",void 0,"jodit-symbols").bindDestruct(t);let i=r.querySelector("a");i&&i.focus()}}}},87536:function(t,i,n){"use strict";n.d(i,{checkRemoveContentNotEditable:function(){return a}});var r=n(22732),o=n(21537),s=n(45124);function a(t,i,n){let a=r.Dom.findSibling(i,n);return!a&&i.parentElement&&i.parentElement!==t.editor&&(a=r.Dom.findSibling(i.parentElement,n)),!(!r.Dom.isElement(a)||r.Dom.isContentEditable(a,t.editor))&&((0,o.call)(n?r.Dom.before:r.Dom.after,a,i),r.Dom.safeRemove(a),(0,s.moveNodeInsideStart)(t,i,n),(0,o.call)(n?t.s.setCursorBefore:t.s.setCursorAfter,i),!0)}},87602:function(t,i,n){"use strict";n.d(i,{applySize:function(){return l}});var r=n(29807),o=n(29960),s=n(41180),a=n(14415);function l(t,i,n,l){if(i!==t.offsetWidth||n!==t.offsetHeight){let u=i?(0,a.normalSizeToString)(i):null,c=n?(0,a.normalSizeToString)(n):null;(0,s.css)(t,{width:u,height:u&&l?null:c}),(0,o.attr)(t,"width",u&&(0,r.isNumeric)(i)&&(0,o.attr)(t,"width")?u:null),(!(0,o.attr)(t,"width")||l)&&(c=null),(0,o.attr)(t,"height",c)}}},87612:function(t,i,n){"use strict";function r(t){return"boolean"==typeof t}n.d(i,{isBoolean:function(){return r}})},88092:function(t,i,n){"use strict";var r=n(67008),o=n.n(r),s=n(6441),a=n(2748),l=n(68345);s.Config.prototype.controls.iframeEditor={icon:o(),tooltip:"Iframe Editor",exec:(t,i)=>{a.Dom.isTag(i,"jodit")&&a.Dom.isTag(i.firstElementChild,"iframe")&&(i=i.firstElementChild),t.e.fire("toggleIframeEditor",a.Dom.isTag(i,"iframe")?i:null)}},(0,l.isArray)(s.Config.prototype.popup.iframe)&&s.Config.prototype.popup.iframe.push("iframeEditor")},88572:function(t,i,n){"use strict";n.d(i,{UIFormButtonGenerator:function(){return c}});var r=n(82749),o=n(2748),s=n(4510),a=n(38837),l=n(67510),u=n(62357);class c extends l.UIElement{className(){return"UIFormButtonGenerator"}update(){this.onUpdates.forEach(t=>t());let t=this.getElm("box-shadow");(0,a.assert)(null!=t,"box-shadow does not exists");let i=this.getElm("text-shadow");(0,a.assert)(null!=i,"text-shadow does not exists"),t.style.display=this.state.boxShadow?"":"none",i.style.display=this.state.textShadow?"":"none"}render(){return`<div>
565
+ </div>`}static extractStyle(t,i){var n,r,a,l;let u=(null==(l=i.ownerDocument.defaultView)?void 0:l.getComputedStyle(i))||{},c=(t,i,n,r)=>{let o=u[n];return!o||["none","inherit","initial","unset"].includes(o)?{[n]:!1}:(o.replace(/,\s/g,",").split(/\s+/).forEach(n=>{if(/[0-9.]+(px|pt|em|%)/.test(n)){let r=t.shift();r&&(i[r]=n)}else"inset"===n?i.boxShadowInset=!0:i[r]=n}),i[n]=!0,i)};Object.assign(t,(0,o._)((0,s._)((0,o._)((0,s._)((0,o._)({text:i.innerText,className:i.className,href:i.getAttribute("href")||""},(()=>{var t,i;let n={solid:!0,bgStart:null!=(t=u.backgroundColor)?t:"#44c767",bgEnd:null!=(i=u.backgroundColor)?i:"#44c767"},r=u.backgroundImage;if(r&&/linear-gradient/.test(r)){let t=/linear-gradient\((.+)\s+[0-9]+%,\s+(.+)\s+[0-9]+%\)/.exec(r);t&&(n.solid=!1,n.bgStart=t[1]||n.bgStart,n.bgEnd=t[2]||"#5cbf2a")}return n})()),{borderColor:null!=(n=null==u?void 0:u.borderColor)?n:"#18ab29",borderRadius:null!=(r=null==u?void 0:u.borderRadius)?r:0,borderSize:null!=(a=null==u?void 0:u.borderWidth)?a:1}),c(["boxShadowOffsetX","boxShadowOffsetY","boxShadowBlurRadius","boxShadowSpreadRadius"],{boxShadowBlurRadius:0,boxShadowColor:"#3dc21b",boxShadowInset:!1,boxShadowOffsetX:0,boxShadowOffsetY:0,boxShadowSpreadRadius:0},"boxShadow","boxShadowColor")),{fontColor:u.color,fontFamily:u.fontFamily,fontSize:u.fontSize,fontWeight:"bold"===u.fontWeight,fontItalic:"italic"===u.fontStyle,paddingX:u.paddingLeft,paddingY:u.paddingTop}),c(["textShadowOffsetX","textShadowOffsetY","textShadowBlurRadius"],{textShadowBlurRadius:0,textShadowColor:"#2f6627",textShadowOffsetX:0,textShadowOffsetY:1},"textShadow","textShadowColor")))}constructor(t,i){super(t),(0,r._)(this,"style",void 0),this.style=i,this.__updateStyles()}}(0,a.__decorate)([(0,l.watch)("style")],p.prototype,"__updateStyles",null),p=(0,a.__decorate)([l.component],p)},82558:function(t,i,n){"use strict";n.d(i,{allowAttributes:function(){return o}});var r=n(2748);function o(t,i,n,o){if(o&&r.Dom.isElement(i)&&!0!==o[i.nodeName]){let t=i.attributes;if(t&&t.length){let r=[];for(let n=0;n<t.length;n+=1){let s=o[i.nodeName][t[n].name];s&&(!0===s||s===t[n].value)||r.push(t[n].name)}r.length&&(n=!0),r.forEach(t=>{i.removeAttribute(t)})}}return n}},82749:function(t,i,n){"use strict";function r(t,i,n){return i in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}n.d(i,{_:function(){return r}})},82758:function(t,i,n){"use strict";n.r(i),n.d(i,{ACCURACY:function(){return V},APP_VERSION:function(){return r},BASE_PATH:function(){return ep},BASE_PATH_IS_MIN:function(){return ef},BR:function(){return $},CLIPBOARD_ID:function(){return eb},COMMAND_KEYS:function(){return W},EMULATE_DBLCLICK_TIMEOUT:function(){return ei},ES:function(){return o},FAT_MODE:function(){return c},HOMEPAGE:function(){return d},INSEPARABLE_TAGS:function(){return D},INSERT_AS_HTML:function(){return en},INSERT_AS_TEXT:function(){return eo},INSERT_CLEAR_HTML:function(){return er},INSERT_ONLY_TEXT:function(){return es},INVISIBLE_SPACE:function(){return f},INVISIBLE_SPACE_REG_EXP:function(){return g},INVISIBLE_SPACE_REG_EXP_END:function(){return b},INVISIBLE_SPACE_REG_EXP_START:function(){return v},IS_BLOCK:function(){return E},IS_ES_MODERN:function(){return s},IS_ES_NEXT:function(){return a},IS_IE:function(){return X},IS_INLINE:function(){return k},IS_MAC:function(){return el},IS_PROD:function(){return l},IS_TEST:function(){return u},KEY_ALIASES:function(){return eu},KEY_ALT:function(){return L},KEY_BACKSPACE:function(){return B},KEY_DELETE:function(){return H},KEY_DOWN:function(){return O},KEY_ENTER:function(){return j},KEY_ESC:function(){return P},KEY_F3:function(){return U},KEY_LEFT:function(){return R},KEY_META:function(){return I},KEY_RIGHT:function(){return z},KEY_SPACE:function(){return N},KEY_TAB:function(){return T},KEY_UP:function(){return M},LIST_TAGS:function(){return S},MARKER_CLASS:function(){return et},MODE_SOURCE:function(){return Y},MODE_SPLIT:function(){return J},MODE_WYSIWYG:function(){return K},NBSP_SPACE:function(){return m},NEARBY:function(){return q},NO_EMPTY_TAGS:function(){return x},PARAGRAPH:function(){return G},PASSIVE_EVENTS:function(){return ey},SAFE_COUNT_CHANGE_CALL:function(){return ea},SET_TEST:function(){return h},SOURCE_CONSUMER:function(){return ev},SPACE_REG_EXP:function(){return y},SPACE_REG_EXP_END:function(){return C},SPACE_REG_EXP_START:function(){return _},TEMP_ATTR:function(){return em},TEXT_HTML:function(){return Q},TEXT_PLAIN:function(){return Z},TEXT_RTF:function(){return ee},TOKENS:function(){return p},globalDocument:function(){return F},globalWindow:function(){return w},lang:function(){return eg}});let r="4.9.33",o="es2015",s=!0,a=!1,l=!0,u=!1,c=!0,d="https://xdsoft.net/jodit/pro/",h=()=>u=!0,p={},f="\uFEFF",m="\xa0",g=()=>/[\uFEFF]/g,b=()=>/[\uFEFF]+$/g,v=()=>/^[\uFEFF]+/g,y=()=>/[\s\n\t\r\uFEFF\u200b]+/g,_=()=>/^[\s\n\t\r\uFEFF\u200b]+/g,C=()=>/[\s\n\t\r\uFEFF\u200b]+$/g,w="u">typeof window?window:void 0,F="u">typeof document?document:void 0,E=/^(ADDRESS|ARTICLE|ASIDE|BLOCKQUOTE|CANVAS|DD|DFN|DIV|DL|DT|FIELDSET|FIGCAPTION|FIGURE|FOOTER|FORM|H[1-6]|HEADER|HGROUP|HR|LI|MAIN|NAV|NOSCRIPT|OUTPUT|P|PRE|RUBY|SCRIPT|STYLE|OBJECT|OL|SECTION|IFRAME|JODIT|JODIT-MEDIA|UL|TR|TD|TH|TBODY|THEAD|TFOOT|TABLE|BODY|HTML|VIDEO)$/i,k=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,S=new Set(["ul","ol"]),A=["img","video","svg","iframe","script","input","textarea","link","jodit","jodit-media"],D=new Set([...A,"br","hr"]),x=new Set(A),I="Meta",B="Backspace",T="Tab",j="Enter",P="Escape",L="Alt",R="ArrowLeft",M="ArrowUp",z="ArrowRight",O="ArrowDown",N="Space",H="Delete",U="F3",q=5,V=10,W=[I,B,H,M,O,z,R,j,P,U,T],$="br",G="p",K=1,Y=2,J=3,X="u">typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),Z=X?"text":"text/plain",Q=X?"html":"text/html",ee=X?"rtf":"text/rtf",et="jodit-selection_marker",ei=300,en="insert_as_html",er="insert_clear_html",eo="insert_as_text",es="insert_only_text",ea=10,el=void 0!==w&&/Mac|iPod|iPhone|iPad/.test(w.navigator.platform),eu={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:el?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:"space",spacebar:"space",up:"arrowup",win:"meta",windows:"meta"},ec=t=>{let i=t.split("/");return/\.js/.test(i[i.length-1])?{basePath:i.slice(0,i.length-1).join("/")+"/",isMin:!0}:{basePath:t,isMin:!0}},{basePath:ed,isMin:eh}=(()=>{if("u"<typeof document)return{basePath:"",isMin:!0};let t=F.currentScript;if(t)return ec(t.src);let i=F.querySelectorAll("script[src]");return i&&i.length?ec(i[i.length-1].src):ec(w.location.href)})(),ep=ed,ef=eh,em="data-jodit-temp",eg={},eb="clipboard",ev="source-consumer",ey=new Set(["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"])},82760:function(t,i,n){"use strict";n.d(i,{connection:function(){return s},error:function(){return o},options:function(){return a}});var r=n(32880);function o(t){return TypeError(t)}function s(t){return new r.ConnectionError(t)}function a(t){return new r.OptionsError(t)}},83039:function(t,i,n){"use strict";n.d(i,{UIMapsPropsForm:function(){return u}});var r=n(82749),o=n(31635),s=n(65478),a=n(76078),l=n(67510);class u extends l.UIForm{className(){return"UIMapsPropsForm"}onChangeSize(){let{width:t,height:i}=(0,a.refs)(this.container);this.state.size=[parseInt(null==t?void 0:t.value,10)||0,parseInt(null==i?void 0:i.value,10)||0]}onExternalChangeSize(){let{width:t,height:i}=(0,a.refs)(this.container),[n,r]=this.state.size;n.toString()!==t.value&&(t.value=n.toString()),r.toString()!==i.value&&(i.value=r.toString())}onChangeCenter(){let{lat:t,lng:i}=(0,a.refs)(this.container);this.state.center=[parseFloat(null==t?void 0:t.value)||0,parseFloat(null==i?void 0:i.value)||0]}onExternalChangeCenter(){let{lat:t,lng:i}=(0,a.refs)(this.container),[n,r]=this.state.center;n.toString()!==t.value&&(t.value=n.toString()),r.toString()!==i.value&&(i.value=r.toString())}onExternalChangeType(){let{mapType:t}=(0,a.refs)(this.container);this.state.type!==t.value&&(t.value=this.state.type)}onExternalChangeLayer(){let{layer:t}=(0,a.refs)(this.container);this.state.layer!==t.value&&(t.value=this.state.layer)}constructor(t,i){var n;super(t),(0,r._)(this,"state",void 0),this.state=i;const[o,s]=i.size,[a,u]=i.center;this.append([new l.UIInput(t,{label:"Width",name:"width",value:o,type:"number",onChange:this.onChangeSize}),new l.UIInput(t,{label:"Height",name:"height",value:s,type:"number",onChange:this.onChangeSize}),new l.UIInput(t,{label:"Latitude",name:"lat",value:a,onChange:this.onChangeCenter}),new l.UIInput(t,{label:"Longitude",name:"lng",value:u,onChange:this.onChangeCenter}),new l.UISelect(t,{label:"Map type",value:i.type,name:"mapType",options:[{value:"hybrid",text:"Hybrid"},{value:"roadmap",text:"Roadmap"},{value:"satellite",text:"Satellite"},{value:"terrain",text:"Terrain"}],onChange:t=>{i.type=t}}),new l.UISelect(t,{label:"Layer",value:null!=(n=i.layer)?n:"default",name:"layer",options:[{value:"default",text:"Default"},{value:"traffic",text:"Traffic"},{value:"transit",text:"Transit"},{value:"bicycling",text:"Bicycling"}],onChange:t=>{i.layer=t}})])}}(0,o.__decorate)([s.autobind],u.prototype,"onChangeSize",null),(0,o.__decorate)([(0,s.watch)("state.size")],u.prototype,"onExternalChangeSize",null),(0,o.__decorate)([s.autobind],u.prototype,"onChangeCenter",null),(0,o.__decorate)([(0,s.watch)(["state.center"])],u.prototype,"onExternalChangeCenter",null),(0,o.__decorate)([(0,s.watch)(["state.type"])],u.prototype,"onExternalChangeType",null),(0,o.__decorate)([(0,s.watch)(["state.layer"])],u.prototype,"onExternalChangeLayer",null),u=(0,o.__decorate)([s.component],u)},83059:function(t,i,n){"use strict";n.r(i),i.default={symbols:"symbol"}},83111:function(t,i,n){"use strict";n.d(i,{ToolbarSelect:function(){return l}});var r=n(65478),o=n(72430),s=n(70799),a=n(78644);let l=class t extends a.ToolbarButton{className(){return"ToolbarSelect"}update(){var t,i,n;super.update(),this.state.icon.name="";let{list:r,data:a}=this.control;if(r){let l=this.state.value||(a&&(0,s.isString)(a.currentValue)?a.currentValue:void 0);l||(l=Object.keys(r)[0]);let u=((0,o.isPlainObject)(r)&&r[l.toString()]||l).toString();this.state.text=null!=(n=null==(i=(t=this.control).textTemplate)?void 0:i.call(t,this.jodit,u))?n:u}}};l=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([r.component],l)},83160:function(t,i){"use strict";i.default={"Type something":"Напишите что-либо","About Jodit":"О Jodit","Jodit Editor":"Редактор Jodit","Jodit User's Guide":"Jodit Руководство пользователя","contains detailed help for using":"содержит детальную информацию по использованию","For information about the license, please go to our website:":"Для получения сведений о лицензии , пожалуйста, перейдите на наш сайт:","Buy full version":"Купить полную версию","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Авторские права \xa9 XDSoft.net - Чупурнов Валерий. Все права защищены.",Anchor:"Анкор","Open in new tab":"Открывать ссылку в новой вкладке","Open in fullsize":"Открыть редактор в полном размере","Clear Formatting":"Очистить форматирование","Fill color or set the text color":"Цвет заливки или цвет текста",Redo:"Повтор",Undo:"Отмена",Bold:"Жирный",Italic:"Наклонный","Insert Unordered List":"Вставка маркированного списка","Insert Ordered List":"Вставить нумерованный список","Align Center":"Выровнять по центру","Align Justify":"Выровнять по ширине","Align Left":"Выровнять по левому краю","Align Right":"Выровнять по правому краю","Insert Horizontal Line":"Вставить горизонтальную линию","Insert Image":"Вставить изображение","Insert file":"Вставить файл","Insert youtube/vimeo video":"Вставьте видео","Insert link":"Вставить ссылку","Font size":"Размер шрифта","Font family":"Шрифт","Insert format block":"Вставить блочный элемент",Normal:"Нормальный текст","Heading 1":"Заголовок 1","Heading 2":"Заголовок 2","Heading 3":"Заголовок 3","Heading 4":"Заголовок 4",Quote:"Цитата",Code:"Код",Insert:"Вставить","Insert table":"Вставить таблицу","Decrease Indent":"Уменьшить отступ","Increase Indent":"Увеличить отступ","Select Special Character":"Выберите специальный символ","Insert Special Character":"Вставить специальный символ","Paint format":"Формат краски","Change mode":"Источник",Margins:"Отступы",top:"сверху",right:"справа",bottom:"снизу",left:"слева",Styles:"Стили",Classes:"Классы",Align:"Выравнивание",Right:"По правому краю",Center:"По центру",Left:"По левому краю","--Not Set--":"--не устанавливать--",Src:"src",Title:"Заголовок",Alternative:"Альтернативный текст (alt)",Link:"Ссылка","Open link in new tab":"Открывать ссылку в новом окне",file:"Файл",Advanced:"Расширенные","Image properties":"Свойства изображения",Cancel:"Отмена",Ok:"Ок","Your code is similar to HTML. Keep as HTML?":"Ваш текст, который вы пытаетесь вставить похож на HTML. Вставить его как HTML?","Paste as HTML":"Вставить как HTML?",Keep:"Сохранить оригинал",Clean:"Почистить","Insert as Text":"Вставить как текст","Insert only Text":"Вставить только текст","Word Paste Detected":"Возможно это фрагмент Word или Excel","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Контент который вы вставляете поступает из документа Microsoft Word / Excel. Вы хотите сохранить формат или очистить его?","File Browser":"Браузер файлов","Error on load list":"Ошибка при загрузке списка изображений","Error on load folders":"Ошибка при загрузке списка директорий","Are you sure?":"Вы уверены?","Enter Directory name":"Введите название директории","Create directory":"Создать директорию","type name":"введите название","Drop image":"Перетащите сюда изображение","Drop file":"Перетащите сюда файл","or click":"или нажмите","Alternative text":"Альтернативный текст",Browse:"Сервер",Upload:"Загрузка",Background:"Фон",Text:"Текст",Top:" К верху",Middle:"По середине",Bottom:"К низу","Insert column before":"Вставить столбец до","Insert column after":"Вставить столбец после","Insert row above":"Вставить ряд выше","Insert row below":"Вставить ряд ниже","Delete table":"Удалить таблицу","Delete row":"Удалять ряд","Delete column":"Удалить столбец","Empty cell":"Очистить ячейку",source:"HTML",bold:"жирный",italic:"курсив",brush:"заливка",link:"ссылка",undo:"отменить",redo:"повторить",table:"таблица",image:"Изображение",eraser:"очистить",paragraph:"параграф",fontsize:"размер шрифта",video:"видео",font:"шрифт",about:"о редакторе",print:"печать",underline:"подчеркнутый",strikethrough:"перечеркнутый",indent:"отступ",outdent:"выступ",fullsize:"во весь экран",shrink:"обычный размер",hr:"линия",ul:"Список",ol:"Нумерованный список",cut:"Вырезать",selectall:"Выделить все","Embed code":"Код","Open link":"Открыть ссылку","Edit link":"Редактировать ссылку","No follow":"Атрибут nofollow",Unlink:"Убрать ссылку",Eye:"Просмотр",pencil:"Редактировать",Update:"Обновить"," URL":"URL",Edit:"Редактировать","Horizontal align":"Горизонтальное выравнивание",Filter:"Фильтр","Sort by changed":"По изменению","Sort by name":"По имени","Sort by size":"По размеру","Add folder":"Добавить папку",Reset:"Восстановить",Save:"Сохранить","Save as ...":"Сохранить как",Resize:"Изменить размер",Crop:"Обрезать размер",Width:"Ширина",Height:"Высота","Keep Aspect Ratio":"Сохранять пропорции",Yes:"Да",No:"Нет",Remove:"Удалить",Select:"Выделить","Chars: %d":"Символов: %d","Words: %d":"Слов: %d",All:"Выделить все","Select %s":"Выделить: %s","Select all":"Выделить все","Vertical align":"Вертикальное выравнивание",Split:"Разделить","Split vertical":"Разделить по вертикали","Split horizontal":"Разделить по горизонтали",Merge:"Объединить в одну","Add column":"Добавить столбец","Add row":"Добавить строку",Delete:"Удалить",Border:"Рамка","License: %s":"Лицензия: %s","Strike through":"Перечеркнуть",Underline:"Подчеркивание",superscript:"верхний индекс",subscript:"индекс","Cut selection":"Вырезать",Break:"Разделитель","Search for":"Найти","Replace with":"Заменить на",Replace:"Заменить",Paste:"Вставить","Choose Content to Paste":"Выбрать контент для вставки","You can only edit your own images. Download this image on the host?":"Вы можете редактировать только свои собственные изображения. Загрузить это изображение на ваш сервер?","The image has been successfully uploaded to the host!":"Изображение успешно загружено на сервер!",palette:"палитра","There are no files":"В данном каталоге нет файлов",Rename:"Переименовать","Enter new name":"Введите новое имя",preview:"Предпросмотр",download:"Скачать","Paste from clipboard":"Вставить из буфера обмена","Your browser doesn't support direct access to the clipboard.":"Ваш браузер не поддерживает прямой доступ к буферу обмена.","Copy selection":"Скопировать выделенное",copy:"копия","Border radius":"Радиус границы","Show all":"Показать все",Apply:"Применить","Please fill out this field":"Пожалуйста, заполните это поле","Please enter a web address":"Пожалуйста, введите веб-адрес",Default:"По умолчанию",Circle:"Круг",Dot:"Точка",Quadrate:"Квадрат",Find:"Найти","Find Previous":"Найти Предыдущие","Find Next":"Найти Далее","Insert className":"Вставить название класса","Press Alt for custom resizing":"Нажмите Alt для изменения пользовательского размера"}},83447:function(t,i,n){"use strict";n.d(i,{getHash:function(){return s}});var r=n(70799),o=n(49055);function s(t){let i=/([^[]*)\[([^\]]+)]/,n=/[\s]*,[\s]*/,s=/^(.*)[\s]*=[\s]*(.*)$/,a={};return(0,r.isString)(t)?(t.split(n).map(t=>{t=(0,o.trim)(t);let r=i.exec(t),l={};if(r){let t=r[2].split(n);r[1]&&(t.forEach(t=>{t=(0,o.trim)(t);let i=s.exec(t);i?l[i[1]]=i[2]:l[t]=!0}),a[r[1].toUpperCase()]=l)}else a[t.toUpperCase()]=!0}),a):!!t&&(Object.keys(t).forEach(i=>{a[i.toUpperCase()]=t[i]}),a)}},83632:function(t,i,n){"use strict";n.d(i,{ApplyStyle:function(){return a}});var r=n(63687),o=n(77361),s=n(55307);function a(t,i){var n;let{s:a,editor:l}=t;null==(n=l.firstChild)||n.normalize();let u=a.fakes(),c=t.s.wrapInTagGen(u),d=c.next();if(d.done)return;let h={collapsed:a.isCollapsed(),mode:o.INITIAL,element:d.value,next:s.states.START,jodit:t,style:i};for(;d&&!d.done;){let t=new r.FiniteStateMachine(s.states.START,s.transactions);for(h.element=d.value;t.getState()!==s.states.END;)h=t.dispatch("exec",h);d=c.next()}a.restoreFakes(u)}},83671:function(t,i,n){"use strict";var r=n(82758),o=n(22732),s=n(580),a=n(49055),l=n(29960),u=n(76078),c=n(50911),d=n(80870),h=n(21491);n(86012);class p extends c.Plugin{afterInit(){if(this.j.o.showXPathInStatusbar){this.container=this.j.c.div("jodit-xpath"),(0,l.attr)(this.container,"role","list");let t=()=>{this.j.o.showXPathInStatusbar&&this.container&&(this.j.statusbar.append(this.container),this.j.getRealMode()===r.MODE_WYSIWYG?this.calcPath():(this.container&&(this.container.innerHTML=r.INVISIBLE_SPACE),this.appendSelectAll()))};this.j.e.off(".xpath").on("pointerup.xpath change.xpath keydown.xpath changeSelection.xpath",this.calcPath).on("afterSetMode.xpath afterInit.xpath changePlace.xpath",t),t(),this.calcPath()}}beforeDestruct(){this.j&&this.j.events&&this.j.e.off(".xpath"),this.removeSelectAll(),this.menu&&this.menu.destruct(),o.Dom.safeRemove(this.container),delete this.menu,delete this.container}constructor(){super(...arguments),this.onContext=(t,i)=>(this.menu||(this.menu=new d.ContextMenu(this.j)),this.menu.show(i.clientX,i.clientY,[{icon:"bin",title:t===this.j.editor?"Clear":"Remove",exec:()=>{t!==this.j.editor?o.Dom.safeRemove(t):this.j.value="",this.j.synchronizeValues()}},{icon:"select-all",title:"Select",exec:()=>{this.j.s.select(t)}}]),!1),this.onSelectPath=(t,i)=>{this.j.s.focus();let n=(0,l.attr)(i.target,"-path")||"/";if("/"===n)return this.j.execCommand("selectall"),!1;try{let t=this.j.ed.evaluate(n,this.j.editor,null,XPathResult.ANY_TYPE,null).iterateNext();if(t)return this.j.s.select(t),!1}catch(t){}return this.j.s.select(t),!1},this.tpl=(t,i,n,r)=>{let o=this.j.c.fromHTML(`<span class="jodit-xpath__item"><a role="button" data-path="${i}" title="${r}" tabindex="-1"'>${(0,a.trim)(n)}</a></span>`),s=o.firstChild;return this.j.e.on(s,"click",this.onSelectPath.bind(this,t)).on(s,"contextmenu",this.onContext.bind(this,t)),o},this.removeSelectAll=()=>{this.selectAllButton&&(this.selectAllButton.destruct(),delete this.selectAllButton)},this.appendSelectAll=()=>{this.removeSelectAll(),this.selectAllButton=(0,h.makeButton)(this.j,function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}({name:"selectall"},this.j.o.controls.selectall)),this.selectAllButton.state.size="tiny",this.container&&this.container.insertBefore(this.selectAllButton.container,this.container.firstChild)},this.calcPathImd=()=>{if(this.isDestructed)return;let t=this.j.s.current();if(this.container&&(this.container.innerHTML=r.INVISIBLE_SPACE),t){let i,n,r;o.Dom.up(t,t=>{t&&this.j.editor!==t&&!o.Dom.isText(t)&&!o.Dom.isComment(t)&&(i=t.nodeName.toLowerCase(),n=(0,u.getXPathByElement)(t,this.j.editor).replace(/^\//,""),r=this.tpl(t,n,i,this.j.i18n("Select %s",i)),this.container&&this.container.insertBefore(r,this.container.firstChild))},this.j.editor)}this.appendSelectAll()},this.calcPath=this.j.async.debounce(this.calcPathImd,2*this.j.defaultTimeout,!0)}}s.pluginSystem.add("xpath",p)},83709:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1744 1408q33 0 42 18.5t-11 44.5l-126 162q-20 26-49 26t-49-26l-126-162q-20-26-11-44.5t42-18.5h80v-1024h-80q-33 0-42-18.5t11-44.5l126-162q20-26 49-26t49 26l126 162q20 26 11 44.5t-42 18.5h-80v1024h80zm-1663-1279l54 27q12 5 211 5 44 0 132-2t132-2q36 0 107.5.5t107.5.5h293q6 0 21 .5t20.5 0 16-3 17.5-9 15-17.5l42-1q4 0 14 .5t14 .5q2 112 2 336 0 80-5 109-39 14-68 18-25-44-54-128-3-9-11-48t-14.5-73.5-7.5-35.5q-6-8-12-12.5t-15.5-6-13-2.5-18-.5-16.5.5q-17 0-66.5-.5t-74.5-.5-64 2-71 6q-9 81-8 136 0 94 2 388t2 455q0 16-2.5 71.5t0 91.5 12.5 69q40 21 124 42.5t120 37.5q5 40 5 50 0 14-3 29l-34 1q-76 2-218-8t-207-10q-50 0-151 9t-152 9q-3-51-3-52v-9q17-27 61.5-43t98.5-29 78-27q19-42 19-383 0-101-3-303t-3-303v-117q0-2 .5-15.5t.5-25-1-25.5-3-24-5-14q-11-12-162-12-33 0-93 12t-80 26q-19 13-34 72.5t-31.5 111-42.5 53.5q-42-26-56-44v-383z"/> </svg> '},83725:function(t,i,n){"use strict";n.d(i,{Autocomplete:function(){return c}});var r=n(82749),o=n(31635),s=n(31356),a=n(35934),l=n(65478),u=n(62405);class c extends u.UIGroup{className(){return"Autocomplete"}onChangeSelection(){var t,i;this.elements.forEach(t=>t.setMod("active",!1)),null==(t=this.elements[this.currentSelection])||t.setMod("active",!0),null==(i=this.elements[this.currentSelection])||i.container.scrollIntoView(!1)}build(t){var i;let n=null==(i=this.elements[this.currentSelection])?void 0:i.item.value,r=t=>t.value,o=s.ListReconciler.reconcile(this.__previousList,t,{getId:r}),l=new Set;o.toRemove.forEach(t=>{let i=r(t);if(l.has(i))return;l.add(i);let n=this.itemsMap.get(i);n&&(-1!==this.elements.indexOf(n)&&(this.remove(n),n.destruct()),this.itemsMap.delete(t.value))}),o.toCreate.forEach(i=>{let n=r(i);if(l.has(n))return;l.add(n);let o=new a.AutocompleteItem(this.jodit,i,i=>{this.currentSelection=t.findIndex(t=>r(t)===i),this.select()});this.itemsMap.set(n,o);let s=t.indexOf(i);this.append(o,s)}),o.toUpdate.forEach(({newItem:t,index:i})=>{let n=r(t);if(l.has(n))return;l.add(n);let o=this.itemsMap.get(n);o&&(o.item=t,this.elements.indexOf(o)!==i&&i<this.elements.length&&(this.remove(o),this.append(o,i)))});let u=this.currentSelection;this.currentSelection=Math.max(0,t.findIndex(t=>r(t)===n)),u===this.currentSelection&&this.onChangeSelection(),this.__previousList=[...t]}selectNext(){this.currentSelection+1<=this.elements.length-1?this.currentSelection+=1:this.currentSelection=0}selectPrevious(){this.currentSelection-1>=0?this.currentSelection-=1:this.currentSelection=this.elements.length-1}select(){this.j.e.fire("select.autocomplete",this.elements[this.currentSelection].item)}constructor(...t){super(...t),(0,r._)(this,"elements",[]),(0,r._)(this,"currentSelection",-1),(0,r._)(this,"__previousList",[]),(0,r._)(this,"itemsMap",new Map)}}(0,o.__decorate)([(0,l.watch)("currentSelection")],c.prototype,"onChangeSelection",null),c=(0,o.__decorate)([l.component],c)},83967:function(t,i,n){"use strict";var r=n(75689),o=n.n(r),s=n(6441),a=n(53326);s.Config.prototype.controls.pasteCode={icon:o(),tooltip:"Paste code",command:"pasteCode"},s.Config.prototype.pasteCode={globalHighlightLib:!1,canonicalLanguageCode(t){switch(t){case"ts":return"typescript";case"js":return"javascript";case"markup":return"html"}return t},highlightLib:{beforeLibLoad(){window.Prism=window.Prism||{},window.Prism.manual=!0},highlight(t,i){return"u">typeof Prism?Prism.highlight(t,Prism.languages[i]||Prism.languages.plain,i):(0,a.htmlspecialchars)(t)},isLangLoaded(t){return"html"===t||"u">typeof Prism&&!!Prism.languages[t]},js:["https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/prism.min.js","https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/autoloader/prism-autoloader.min.js"],langUrl:t=>`https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-${t}.min.js`,css:["https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism.min.css"]},defaultLanguage:"html",insertTemplate:(t,i,n)=>`<pre class="language-${i}">${(0,a.htmlspecialchars)(n)}</pre>`,languages:[{value:"plaintext",text:"Plain"},{value:"html",text:"HTML/XML"},{value:"bash",text:"Bash"},{value:"php",text:"PHP"},{value:"javascript",text:"JavaScript"},{value:"typescript",text:"TypeScript"},{value:"jsx",text:"JSX"},{value:"java",text:"Java"},{value:"css",text:"CSS"},{value:"php",text:"PHP"},{value:"ruby",text:"Ruby"},{value:"python",text:"Python"},{value:"java",text:"Java"},{value:"c",text:"C"},{value:"csharp",text:"C#"},{value:"cpp",text:"C++"},{value:"sql",text:"SQL"},{value:"docker",text:"Docker"},{value:"http",text:"HTTP"},{value:"ini",text:"INI"},{value:"yaml",text:"YAML"},{value:"json",text:"JSON"},{value:"json5",text:"JSON5"},{value:"makefile",text:"Makefile"},{value:"swift",text:"Swift"}],dialog:{width:700,height:600}}},83987:function(t,i,n){"use strict";n.d(i,{buildData:function(){return o}});var r=n(21537);function o(t,i){if((0,r.isFunction)(t.o.buildData))return t.o.buildData.call(t,i);let n=t.ow.FormData;if(void 0!==n){if(i instanceof n||(0,r.isString)(i))return i;let t=new n;return Object.keys(i).forEach(n=>{t.append(n,i[n])}),t}return i}},84021:function(t,i,n){"use strict";n.d(i,{removeExtraTags:function(){return o}});let r=new Set(["o:p","xml","script","meta","link","v:imagedata","style"]);function o(t){return"none"===t.style.get("display")||0===t.length&&"span"===t.name||r.has(t.name)?(t.remove(),null):t}},84075:function(t,i,n){"use strict";n.d(i,{ViewWithToolbar:function(){return g}});var r=n(78213),o=n(45219),s=n(37133),a=n(2748),l=n(76855),u=n(70799),c=n(76078),d=n(67510),h=n(43649),p=n(35608),f=n(21491),m=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class g extends p.View{get toolbarContainer(){return!this.o.fullsize&&((0,u.isString)(this.o.toolbar)||a.Dom.isHTMLElement(this.o.toolbar))?(0,c.resolveElement)(this.o.toolbar,this.o.shadowRoot||this.od):(this.o.toolbar&&a.Dom.appendChildFirst(this.container,this.__defaultToolbarContainer),this.__defaultToolbarContainer)}setPanel(t){this.o.toolbar=t,this.buildToolbar()}buildToolbar(){var t;if(!this.o.toolbar)return;let i=this.o.buttons?(0,l.splitArray)(this.o.buttons):[];null==(t=this.toolbar)||t.setRemoveButtons(this.o.removeButtons).build(i.concat(this.o.extraButtons||[])).appendTo(this.toolbarContainer)}getRegisteredButtonGroups(){return this.groupToButtons}registerButton(t){var i;this.registeredButtons.add(t);let n=null!=(i=t.group)?i:"other";return this.groupToButtons[n]||(this.groupToButtons[n]=[]),null!=t.position?this.groupToButtons[n][t.position]=t.name:this.groupToButtons[n].push(t.name),this}unregisterButton(t){var i;this.registeredButtons.delete(t);let n=null!=(i=t.group)?i:"other",r=this.groupToButtons[n];if(r){let i=r.indexOf(t.name);-1!==i&&r.splice(i,1),0===r.length&&delete this.groupToButtons[n]}return this}beforeToolbarBuild(t){if(Object.keys(this.groupToButtons).length)return t.map(t=>(0,h.isButtonGroup)(t)&&t.group&&this.groupToButtons[t.group]?{group:t.group,buttons:[...t.buttons,...this.groupToButtons[t.group]]}:t)}destruct(){this.isDestructed||(this.setStatus(r.STATUSES.beforeDestruct),this.e.off("beforeToolbarBuild",this.beforeToolbarBuild),this.__tooltip.destruct(),this.toolbar.destruct(),this.toolbar=void 0,super.destruct())}constructor(t,i=!1){super(t,i),this.toolbar=(0,f.makeCollection)(this),this.__defaultToolbarContainer=this.c.div("jodit-toolbar__box"),this.registeredButtons=new Set,this.groupToButtons={},this.isJodit=!1,this.__tooltip=new d.UITooltip(this),this.isJodit=i,this.e.on("beforeToolbarBuild",this.beforeToolbarBuild)}}m([(0,s.watch)(":rebuildToolbar")],g.prototype,"buildToolbar",null),m([o.autobind],g.prototype,"beforeToolbarBuild",null)},84272:function(t,i,n){"use strict";n.d(i,{isInlineBlock:function(){return a},removeFormatForCollapsedSelection:function(){return s}});var r=n(82758),o=n(2748);function s(t,i){let{s:n}=t,r=i;if(!r){r=t.createInside.fake();let{range:i}=n;o.Dom.safeInsertNode(i,r),i.collapse()}let s=o.Dom.furthest(r,a,t.editor);if(s)if(n.cursorOnTheLeft(s))o.Dom.before(s,r);else if(n.cursorOnTheRight(s))o.Dom.after(s,r);else{let t=n.splitSelection(s);t&&o.Dom.after(t,r)}i||(n.setCursorBefore(r),o.Dom.safeRemove(r))}function a(t){return o.Dom.isInlineBlock(t)&&!o.Dom.isTag(t,r.INSEPARABLE_TAGS)}},84380:function(t,i,n){"use strict";var r=n(82758),o=n(6441),s=n(117);function a(t,i,n,r,o,s,a){try{var l=t[s](a),u=l.value}catch(t){n(t);return}l.done?i(u):Promise.resolve(u).then(r,o)}o.Config.prototype.askBeforePasteHTML=!0,o.Config.prototype.processPasteHTML=!0,o.Config.prototype.scrollToPastedContent=!0,o.Config.prototype.pasteExcludeStripTags=["br","hr"],o.Config.prototype.pasteHTMLActionList=[{value:r.INSERT_AS_HTML,text:"Keep"},{value:r.INSERT_AS_TEXT,text:"Insert as Text"},{value:r.INSERT_ONLY_TEXT,text:"Insert only Text"}],o.Config.prototype.memorizeChoiceWhenPasteFragment=!1,o.Config.prototype.nl2brInPlainText=!0;let l="pasteStorage";o.Config.prototype.controls.paste={tooltip:"Paste from clipboard",exec(t,i,n){var o;return(o=function*(t,i,{control:n}){if(n.name===l)return void t.execCommand("showPasteStorage");t.s.focus();let o="",a=!0;if(navigator.clipboard){try{let t=yield navigator.clipboard.read();if(t&&t.length){let i=yield t[0].getType(r.TEXT_PLAIN);o=yield new Response(i).text()}a=!1}catch(t){r.IS_PROD}if(a)try{o=yield navigator.clipboard.readText(),a=!1}catch(t){r.IS_PROD}}a&&(a=0===(o=t.buffer.get(r.CLIPBOARD_ID)||"").length);let u=t.value;a?(t.ed.execCommand("paste"),(a=u===t.value)||t.e.fire("afterPaste")):o.length?((0,s.pasteInsertHtml)(null,t,o),t.e.fire("afterPaste")):a&&t.alert("Your browser doesn't support direct access to the clipboard.",()=>void t.s.focus())},function(){var t=this,i=arguments;return new Promise(function(n,r){var s=o.apply(t,i);function l(t){a(s,n,r,l,u,"next",t)}function u(t){a(s,n,r,l,u,"throw",t)}l(void 0)})}).apply(this,arguments)},list:{[l]:"Paste Storage"},isChildDisabled(t){return 2>t.e.fire("pasteStorageList")}}},84767:function(t,i,n){"use strict";function r(t){return"number"==typeof t&&!isNaN(t)&&isFinite(t)}n.d(i,{isNumber:function(){return r}})},84858:function(t,i){"use strict";i.default='<svg viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg"> <path d="M5.9814 11.8049C5.59087 11.4144 5.59087 10.7812 5.9814 10.3907L10.224 6.14806C10.6146 5.75754 11.2477 5.75754 11.6383 6.14806C12.0288 6.53859 12.0288 7.17175 11.6383 7.56228L7.39561 11.8049C7.00509 12.1954 6.37192 12.1954 5.9814 11.8049Z"/> <path d="M0.707107 12.0208C0.316582 11.6303 0.316582 10.9971 0.707107 10.6066L10.6066 0.707121C10.9971 0.316597 11.6303 0.316596 12.0208 0.707121C12.4113 1.09764 12.4113 1.73081 12.0208 2.12133L2.12132 12.0208C1.7308 12.4114 1.09763 12.4114 0.707107 12.0208Z"/> </svg> '},85017:function(t,i){"use strict";i.default={"Type something":"Ecrivez ici","About Jodit":"A propos de Jodit","Jodit Editor":"Editeur Jodit","Jodit User's Guide":"Guide de l'utilisateur","contains detailed help for using":"Aide d\xe9taill\xe9e \xe0 l'utilisation","For information about the license, please go to our website:":"Consulter la licence sur notre site web:","Buy full version":"Acheter la version compl\xe8te","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Tous droits r\xe9serv\xe9s.",Anchor:"Ancre","Open in new tab":"Ouvrir dans un nouvel onglet","Open in fullsize":"Ouvrir l'\xe9diteur en pleine page","Clear Formatting":"Supprimer le formattage","Fill color or set the text color":"Modifier la couleur du fond ou du texte",Redo:"Refaire",Undo:"D\xe9faire",Bold:"Gras",Italic:"Italique","Insert Unordered List":"Liste non ordonn\xe9e","Insert Ordered List":"Liste ordonn\xe9e","Align Center":"Centrer","Align Justify":"Justifier","Align Left":"Aligner \xe0 gauche ","Align Right":"Aligner \xe0 droite","Insert Horizontal Line":"Ins\xe9rer une ligne horizontale","Insert Image":"Ins\xe9rer une image","Insert file":"Ins\xe9rer un fichier","Insert youtube/vimeo video":"Ins\xe9rer une vid\xe9o","Insert link":"Ins\xe9rer un lien","Font size":"Taille des caract\xe8res","Font family":"Famille des caract\xe8res","Insert format block":"Bloc formatt\xe9",Normal:"Normal","Heading 1":"Titre 1","Heading 2":"Titre 2","Heading 3":"Titre 3","Heading 4":"Titre 4",Quote:"Citation",Code:"Code",Insert:"Ins\xe9rer","Insert table":"Ins\xe9rer un tableau","Decrease Indent":"Diminuer le retrait","Increase Indent":"Retrait plus","Select Special Character":"S\xe9lectionnez un caract\xe8re sp\xe9cial","Insert Special Character":"Ins\xe9rer un caract\xe8re sp\xe9cial","Paint format":"Cloner le format","Change mode":"Mode wysiwyg <-> code html",Margins:"Marges",top:"haut",right:"droite",bottom:"Bas",left:"gauche",Styles:"Styles",Classes:"Classes",Align:"Alignement",Right:"Droite",Center:"Centre",Left:"Gauche","--Not Set--":"--Non disponible--",Src:"Source",Title:"Titre",Alternative:"Alternative",Filter:"Filtre",Link:"Lien","Open link in new tab":"Ouvrir le lien dans un nouvel onglet",Image:"Image",file:"fichier",Advanced:"Avanc\xe9","Image properties":"Propri\xe9t\xe9s de l'image",Cancel:"Annuler",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Votre texte que vous essayez de coller est similaire au HTML. Collez-le en HTML?","Paste as HTML":"Coller en HTML?",Keep:"Sauvegarder l'original",Clean:"Nettoyer","Insert as Text":"Coller en tant que texte","Word Paste Detected":"C'est peut-\xeatre un fragment de Word ou Excel","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Le contenu que vous ins\xe9rez provient d'un document Microsoft Word / Excel. Voulez-vous enregistrer le format ou l'effacer?","Insert only Text":"Coller le texte seulement","File Browser":"Explorateur de fichiers","Error on load list":"Erreur de liste de chargement","Error on load folders":"Erreur de dossier de chargement","Are you sure?":"Etes-vous s\xfbrs ?","Enter Directory name":"Entrer le nom de dossier","Create directory":"Cr\xe9er un dossier","type name":"type de fichier","Drop image":"Coller une image","Drop file":"D\xe9poser un fichier","or click":"ou cliquer","Alternative text":"Texte de remplacemement",Browse:"Chercher",Upload:"Charger",Background:"Arri\xe8re-plan",Border:"Bordure",Text:"Texte",Top:"Haut",Middle:"Milieu",Bottom:"Bas","Insert column before":"Ins\xe9rer une colonne avant","Insert column after":"Ins\xe9rer une colonne apr\xe8s","Insert row above":"Ins\xe9rer une ligne au dessus","Insert row below":"Ins\xe9rer une ligne en dessous","Delete table":"Supprimer le tableau","Delete row":"Supprimer la ligne","Delete column":"Supprimer la colonne","Empty cell":"Vider la cellule","Chars: %d":"Symboles: %d","Words: %d":"Mots: %d",Split:"Split","Split vertical":"Split vertical","Split horizontal":"Split horizontal","Strike through":"Barrer",Underline:"Souligner",superscript:"exposant",subscript:"indice","Cut selection":"Couper la s\xe9lection","Select all":"Tout s\xe9lectionner",Break:"Pause","Search for":"Rechercher","Replace with":"Remplacer par",Replace:"Remplacer",Paste:"Coller","Choose Content to Paste":"Choisissez le contenu \xe0 coller",source:"la source",bold:"gras",italic:"italique",brush:"pinceau",link:"lien",undo:"annuler",redo:"refaire",table:"tableau",image:"image",eraser:"gomme",paragraph:"clause",fontsize:"taille de police",video:"Video",font:"police",about:"\xe0 propos de l'\xe9diteur",print:"impression",underline:"soulign\xe9",strikethrough:"barr\xe9",indent:"indentation",outdent:"retrait",fullsize:"taille r\xe9elle",shrink:"taille conventionnelle",hr:"la ligne",ul:"Liste",ol:"Liste num\xe9rot\xe9e",cut:"Couper",selectall:"S\xe9lectionner tout","Open link":"Ouvrir le lien","Edit link":"Modifier le lien","No follow":"Attribut Nofollow",Unlink:"Supprimer le lien",Eye:"Voir",pencil:"Pour \xe9diter"," URL":"URL",Reset:"Restaurer",Save:"Sauvegarder","Save as ...":"Enregistrer sous",Resize:"Changer la taille",Crop:"Taille de garniture",Width:"Largeur",Height:"Hauteur","Keep Aspect Ratio":"Garder les proportions",Yes:"Oui",No:"Non",Remove:"Supprimer",Select:"Mettre en \xe9vidence","Select %s":"Mettre en \xe9vidence: %s",Update:"Mettre \xe0 jour","Vertical align":"Alignement vertical",Merge:"aller","Add column":"Ajouter une colonne","Add row":"Ajouter une rang\xe9e",Delete:"Effacer","Horizontal align":"Alignement horizontal","Sort by changed":"Trier par modification","Sort by name":"Trier par nom","Sort by size":"Trier par taille","Add folder":"Cr\xe9er le dossier","You can only edit your own images. Download this image on the host?":"Vous ne pouvez \xe9diter que vos propres images. T\xe9l\xe9chargez cette image sur l'h\xf4te?","The image has been successfully uploaded to the host!":"L'image a \xe9t\xe9 t\xe9l\xe9charg\xe9e avec succ\xe8s sur le serveur!",palette:"Palette","There are no files":"Il n'y a aucun fichier dans ce r\xe9pertoire.",Rename:"renommer","Enter new name":"Entrez un nouveau nom",preview:"Aper\xe7u",download:"T\xe9l\xe9charger","Paste from clipboard":"Coller \xe0 partir du presse-papiers","Your browser doesn't support direct access to the clipboard.":"Votre navigateur ne prend pas en charge l'acc\xe8s direct au presse-papiers.","Copy selection":"Copier la s\xe9lection",copy:"copie","Border radius":"Rayon des bordures","Show all":"Afficher tous",Apply:"Appliquer","Please fill out this field":"Veuillez remplir ce champ","Please enter a web address":"Veuillez entrer une adresse web",Default:"Par d\xe9faut",Circle:"Cercle",Dot:"Point",Quadrate:"Quadratique",Find:"Trouver","Find Previous":"Pr\xe9c\xe9dent","Find Next":"Suivant","Insert className":"Ins\xe9rer un nom de classe","Press Alt for custom resizing":"Appuyez sur Alt pour un redimensionnement personnalis\xe9","Embed code":"Code d'int\xe9gration",Edit:"Modifier",All:"Tout s\xe9lectionner","License: %s":"Licence: %s"}},85120:function(t,i,n){"use strict";n.d(i,{UITextArea:function(){return h}});var r,o,s,a=n(65478),l=n(87325),u=n(80256);function c(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}var d=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let h=s=class t extends u.UIInput{className(){return"UITextArea"}createNativeInput(t){return this.j.create.element("textarea")}onChangeStateSize(){let{size:t,resizable:i}=this.state;this.nativeInput.style.resize=i?"auto":"none",this.nativeInput.rows=null!=t?t:5}constructor(t,i){super(t,i),this.state=c({},s.defaultState),Object.assign(this.state,i),!1===this.state.resizable&&(this.nativeInput.style.resize="none")}};h.defaultState=(r=c({},u.UIInput.defaultState),o=o={size:5,resizable:!0},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):(function(t){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i.push.apply(i,n)}return i})(Object(o)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(o,t))}),r),d([(0,a.watch)(["state.size","state.resizable"])],h.prototype,"onChangeStateSize",null),h=s=d([l.component],h)},85130:function(t,i,n){"use strict";n.d(i,{execute:function(){return s}});var r=n(77688),o=n(6689);function s(t,i,n){return(0,r._)(function*(){let{contextCharsBefore:r,contextCharsAfter:s}=i;if((0,o.throwIfAborted)(n),t.s.restore(),t.s.isCollapsed())return{hasSelection:!1};let a=t.s.html,l=t.s.range,u=l.toString(),c={hasSelection:!0,html:a,text:u,startContainer:l.startContainer.nodeName,endContainer:l.endContainer.nodeName};if(r>0||s>0){let i=t.editor.textContent||"",n=i.substring(0,i.indexOf(u)),o=i.substring(i.indexOf(u)+u.length);r>0&&(c.contextBefore=n.slice(-r)),s>0&&(c.contextAfter=o.slice(0,s))}return c})()}},85174:function(t,i,n){"use strict";var r=n(77688),o=n(82749),s=n(56075),a=n(11886),l=n(31635);n(3536);var u=n(4941),c=n(65478),d=n(49055),h=n(20356),p=n(2692);class f extends h.Plugin{afterInit(t){return(0,r._)(function*(){let i=yield t.o.emoji.data();t.isInDestruct||(this.data=(0,a._)((0,s._)({},i),{emoji:i.emoji.map(u.Emoji.normalizeEmoji)}),t.o.emoji.enableAutoComplete&&t.e.fire("registerAutocompleteSource",this.onAutoComplete),t.async.requestIdleCallback(()=>{t.getInstance(u.Emoji)}))}).call(this)}onAutoComplete(t){return t.length>2&&":"===t[0]&&(t=t.substr(1).toLowerCase(),(0,d.trim)(t).length)?this.data.emoji.filter(i=>{var n;return(null==(n=i.description)?void 0:n.indexOf(t))===0}).sort((i,n)=>i.description.indexOf(t)-n.description.indexOf(t)).map(t=>({title:`${t.emoji} ${t.description}`,value:t.emoji})):[]}beforeDestruct(t){}constructor(...t){super(...t),(0,o._)(this,"hasStyle",!p.JoditPro.fatMode),(0,o._)(this,"buttons",[{name:"emoji",group:"insert"}]),(0,o._)(this,"data",void 0)}}(0,o._)(f,"requires",["autocomplete","license"]),(0,l.__decorate)([c.autobind],f.prototype,"onAutoComplete",null),p.JoditPro.plugins.add("emoji",f)},85407:function(t,i,n){"use strict";var r=n(82758),o=n(2748),s=n(580),a=n(21537),l=n(20356),u=n(10830);class c extends l.Plugin{createDialog(){this.dialog=this.j.dlg();let t=(0,u.Button)(this.j,"paste","Paste","primary");t.onAction(this.paste);let i=(0,u.Button)(this.j,"","Cancel");i.onAction(this.dialog.close),this.container=this.j.c.div(),this.container.classList.add("jodit-paste-storage"),this.listBox=this.j.c.div(),this.previewBox=this.j.c.div(),this.container.appendChild(this.listBox),this.container.appendChild(this.previewBox),this.dialog.setHeader(this.j.i18n("Choose Content to Paste")),this.dialog.setContent(this.container),this.dialog.setFooter([t,i]),this.j.e.on(this.listBox,"click dblclick",t=>{let i=t.target;return o.Dom.isTag(i,"a")&&i.hasAttribute("data-index")&&this.selectIndex(parseInt((0,a.attr)(i,"-index")||"0",10)),"dblclick"===t.type&&this.paste(),!1})}afterInit(){this.j.e.off("afterCopy.paste-storage").on("pasteStorageList.paste-storage",()=>this.list.length).on("afterCopy.paste-storage",t=>{-1!==this.list.indexOf(t)&&this.list.splice(this.list.indexOf(t),1),this.list.unshift(t),this.list.length>5&&(this.list.length=5)}),this.j.registerCommand("showPasteStorage",{exec:this.showDialog,hotkeys:["ctrl+shift+v","cmd+shift+v"]})}beforeDestruct(){this.dialog&&this.dialog.destruct(),this.j.e.off(".paste-storage"),o.Dom.safeRemove(this.previewBox),o.Dom.safeRemove(this.listBox),o.Dom.safeRemove(this.container),this.container=null,this.listBox=null,this.previewBox=null,this.dialog=null,this.list=[]}constructor(){super(...arguments),this.currentIndex=0,this.list=[],this.container=null,this.listBox=null,this.previewBox=null,this.dialog=null,this.paste=()=>{if(this.j.s.focus(),this.j.s.insertHTML(this.list[this.currentIndex]),0!==this.currentIndex){let t=this.list[0];this.list[0]=this.list[this.currentIndex],this.list[this.currentIndex]=t}this.dialog&&this.dialog.close(),this.j.synchronizeValues(),this.j.e.fire("afterPaste")},this.onKeyDown=t=>{let i=this.currentIndex;if(-1!==[r.KEY_UP,r.KEY_DOWN,r.KEY_ENTER].indexOf(t.key)){if(t.key===r.KEY_UP&&(0===i?i=this.list.length-1:i-=1),t.key===r.KEY_DOWN&&(i===this.list.length-1?i=0:i+=1),t.key===r.KEY_ENTER)return void this.paste();i!==this.currentIndex&&this.selectIndex(i),t.stopImmediatePropagation(),t.preventDefault()}},this.selectIndex=t=>{this.listBox&&(0,a.toArray)(this.listBox.childNodes).forEach((i,n)=>{i.classList.remove("jodit_active"),t===n&&this.previewBox&&(i.classList.add("jodit_active"),this.previewBox.innerHTML=this.list[t],i.focus())}),this.currentIndex=t},this.showDialog=()=>{this.list.length<2||(this.dialog||this.createDialog(),this.listBox&&(this.listBox.innerHTML=""),this.previewBox&&(this.previewBox.innerHTML=""),this.list.forEach((t,i)=>{let n=this.j.c.element("a");n.textContent=i+1+". "+t.replace((0,r.SPACE_REG_EXP)(),""),this.j.e.on(n,"keydown",this.onKeyDown),(0,a.attr)(n,"href","#"),(0,a.attr)(n,"data-index",i.toString()),(0,a.attr)(n,"tab-index","-1"),this.listBox&&this.listBox.appendChild(n)}),this.dialog&&this.dialog.open(),this.j.async.setTimeout(()=>{this.selectIndex(0)},100))}}}s.pluginSystem.add("pasteStorage",c)},85567:function(t,i,n){"use strict";n.d(i,{PII:function(){return r},WARN:function(){return o}});let r=440,o=940},85723:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"Hauteur de ligne"}},85745:function(t,i,n){"use strict";n(6441).Config.prototype.imageProcessor={replaceDataURIToBlobIdInView:!0}},86012:function(t,i,n){"use strict";n(6441).Config.prototype.showXPathInStatusbar=!0},86019:function(t,i,n){"use strict";n.d(i,{Jodit:function(){return r.Jodit}});var r=n(2303),o=n(27613),s=n(82758),a=n(65478),l=n(41409),u=n(17555),c=n(26152);n(46448),Object.keys(s).forEach(t=>{r.Jodit[t]=s[t]});let d=t=>"__esModule"!==t;Object.keys(u).filter(d).forEach(t=>{l.Icon.set(t.replace("_","-"),u[t])}),Object.keys(l).filter(d).forEach(t=>{var i;let n=l[t],s=(0,o.isFunction)(null==(i=n.prototype)?void 0:i.className)?n.prototype.className():t;(0,o.isString)(s)&&(r.Jodit.modules[s]=n)}),Object.keys(a).filter(d).forEach(t=>{r.Jodit.decorators[t]=a[t]}),["Confirm","Alert","Prompt"].forEach(t=>{r.Jodit[t]=l[t]}),Object.keys(c.default).filter(d).forEach(t=>{r.Jodit.lang[t]=c.default[t]})},86068:function(t,i,n){"use strict";function r(t){return null==t}n.d(i,{isVoid:function(){return r}})},86273:function(t,i){"use strict";i.default={"Type something":"Escriba algo...",Advanced:"Avanzado","About Jodit":"Acerca de Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Gu\xeda de usuario Jodit","contains detailed help for using":"contiene ayuda detallada para el uso.","For information about the license, please go to our website:":"Para informaci\xf3n sobre la licencia, por favor visite nuestro sitio:","Buy full version":"Compre la versi\xf3n completa","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Todos los derechos reservados.",Anchor:"Anclar","Open in new tab":"Abrir en nueva pesta\xf1a","Open in fullsize":"Abrir editor en pantalla completa","Clear Formatting":"Limpiar formato","Fill color or set the text color":"Color de relleno o de letra",Redo:"Rehacer",Undo:"Deshacer",Bold:"Negrita",Italic:"Cursiva","Insert Unordered List":"Insertar lista no ordenada","Insert Ordered List":"Insertar lista ordenada","Align Center":"Alinear Centrado","Align Justify":"Alinear Justificado","Align Left":"Alinear Izquierda","Align Right":"Alinear Derecha","Insert Horizontal Line":"Insertar l\xednea horizontal","Insert Image":"Insertar imagen","Insert file":"Insertar archivo","Insert youtube/vimeo video":"Insertar video de Youtube/vimeo","Insert link":"Insertar v\xednculo","Font size":"Tama\xf1o de letra","Font family":"Familia de letra","Insert format block":"Insertar bloque",Normal:"Normal","Heading 1":"Encabezado 1","Heading 2":"Encabezado 2","Heading 3":"Encabezado 3","Heading 4":"Encabezado 4",Quote:"Cita",Code:"C\xf3digo",Insert:"Insertar","Insert table":"Insertar tabla","Decrease Indent":"Disminuir sangr\xeda","Increase Indent":"Aumentar sangr\xeda","Select Special Character":"Seleccionar caracter especial","Insert Special Character":"Insertar caracter especial","Paint format":"Copiar formato","Change mode":"Cambiar modo",Margins:"M\xe1rgenes",top:"arriba",right:"derecha",bottom:"abajo",left:"izquierda",Styles:"Estilos CSS",Classes:"Clases CSS",Align:"Alinear",Right:"Derecha",Center:"Centrado",Left:"Izquierda","--Not Set--":"--No Establecido--",Src:"Fuente",Title:"T\xedtulo",Alternative:"Texto Alternativo",Filter:"Filtrar",Link:"V\xednculo","Open link in new tab":"Abrir v\xednculo en nueva pesta\xf1a",Image:"Imagen",file:"Archivo","Image properties":"Propiedades de imagen",Cancel:"Cancelar",Ok:"Aceptar","Your code is similar to HTML. Keep as HTML?":"El c\xf3digo es similar a HTML. \xbfMantener como HTML?","Paste as HTML":"Pegar como HTML?",Keep:"Mantener",Clean:"Limpiar","Insert as Text":"Insertar 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. \xbfDesea mantener el formato o limpiarlo?","Insert only Text":"Insertar solo texto","File Browser":"Buscar archivo","Error on load list":"Error al cargar la lista","Error on load folders":"Error al cargar las carpetas","Are you sure?":"\xbfEst\xe1 seguro?","Enter Directory name":"Entre nombre de carpeta","Create directory":"Crear carpeta","type name":"Entre el nombre","Drop image":"Soltar imagen","Drop file":"Soltar archivo","or click":"o click","Alternative text":"Texto alternativo",Browse:"Buscar",Upload:"Subir",Background:"Fondo",Text:"Texto",Top:"Arriba",Middle:"Centro",Bottom:"Abajo","Insert column before":"Insertar columna antes","Insert column after":"Interar columna despu\xe9s","Insert row above":"Insertar fila arriba","Insert row below":"Insertar fila debajo","Delete table":"Borrar tabla","Delete row":"Borrar fila","Delete column":"Borrar columna","Empty cell":"Vaciar celda",Delete:"Borrar","Strike through":"Tachado",Underline:"Subrayado",Break:"Pausa","Search for":"Buscar","Replace with":"Reemplazar con",Replace:"Reemplazar",Edit:"Editar","Vertical align":"Alineaci\xf3n vertical","Horizontal align":"Alineaci\xf3n horizontal","Sort by changed":"Ordenar por fecha modificaci\xf3n","Sort by name":"Ordenar por nombre","Sort by size":"Ordenar por tama\xf1o","Add folder":"Agregar carpeta",Split:"Dividir","Split vertical":"Dividir vertical","Split horizontal":"Dividir horizontal",Merge:"Mezclar","Add column":"Agregar columna","Add row":"Agregar fila",Border:"Borde","Embed code":"Incluir c\xf3digo",Update:"Actualizar",superscript:"super\xedndice",subscript:"sub\xedndice","Cut selection":"Cortar selecci\xf3n",Paste:"Pegar","Choose Content to Paste":"Seleccionar contenido para pegar","Chars: %d":"Caracteres: %d","Words: %d":"Palabras: %d",All:"Todo","Select %s":"Seleccionar: %s","Select all":"Seleccionar todo",source:"HTML",bold:"negrita",italic:"cursiva",brush:"Brocha",link:"V\xednculo",undo:"deshacer",redo:"rehacer",table:"Tabla",image:"Imagen",eraser:"Borrar",paragraph:"P\xe1rrafo",fontsize:"Tama\xf1o de letra",video:"Video",font:"Letra",about:"Acerca de",print:"Imprimir",underline:"subrayar",strikethrough:"tachar",indent:"sangr\xeda",outdent:"quitar sangr\xeda",fullsize:"Tama\xf1o completo",shrink:"encoger",hr:"l\xednea horizontal",ul:"lista sin ordenar",ol:"lista ordenada",cut:"Cortar",selectall:"Seleccionar todo","Open link":"Abrir v\xednculo","Edit link":"Editar v\xednculo","No follow":"No seguir",Unlink:"Desvincular",Eye:"Ver",pencil:"Para editar"," URL":"URL",Reset:"Resetear",Save:"Guardar","Save as ...":"Guardar como...",Resize:"Redimensionar",Crop:"Recortar",Width:"Ancho",Height:"Alto","Keep Aspect Ratio":"Mantener relaci\xf3n de aspecto",Yes:"Si",No:"No",Remove:"Quitar",Select:"Seleccionar","You can only edit your own images. Download this image on the host?":"Solo puedes editar tus propias im\xe1genes. \xbfDescargar esta imagen en el servidor?","The image has been successfully uploaded to the host!":"\xa1La imagen se ha subido correctamente al servidor!",palette:"paleta","There are no files":"No hay archivos en este directorio.",Rename:"renombrar","Enter new name":"Ingresa un nuevo nombre",preview:"avance",download:"Descargar","Paste from clipboard":"Pegar desde el portapapeles","Your browser doesn't support direct access to the clipboard.":"Su navegador no soporta el acceso directo en el portapapeles.","Copy selection":"Selecci\xf3n de copia",copy:"copia","Border radius":"Radio frontera","Show all":"Mostrar todos los",Apply:"Aplicar","Please fill out this field":"Por favor, rellene este campo","Please enter a web address":"Por favor, introduzca una direcci\xf3n web",Default:"Predeterminado",Circle:"C\xedrculo",Dot:"Punto",Quadrate:"Cuadro","Lower Alpha":"Letra Min\xfascula","Lower Greek":"Griego Min\xfascula","Lower Roman":"Romano Min\xfascula","Upper Alpha":"Letra May\xfascula","Upper Roman":"Romano May\xfascula",Find:"Encontrar","Find Previous":"Buscar Anterior","Find Next":"Buscar Siguiente","Insert className":"Insertar nombre de clase","Press Alt for custom resizing":"Presione Alt para cambiar el tama\xf1o personalizado","License: %s":"Licencia: %s"}},86327:function(t,i,n){"use strict";n.d(i,{UIForm:function(){return c}});var r=n(4012),o=n(87325),s=n(43555),a=n(80256),l=n(12234),u=n(62405);let c=class t extends u.UIGroup{className(){return"UIForm"}submit(){this.j.e.fire(this.container,"submit")}validate(){for(let t of this.allChildren.filter(t=>r.Component.isInstanceOf(t,a.UIInput)))if(!t.validate())return!1;for(let t of this.allChildren.filter(t=>r.Component.isInstanceOf(t,l.UISelect)))if(!t.validate())return!1;return!0}onSubmit(t){return this.j.e.on(this.container,"submit",()=>{let i=this.allChildren.filter(t=>r.Component.isInstanceOf(t,a.UIInput));return!!this.validate()&&(t(i.reduce((t,i)=>(t[i.state.name]=i.value,t),{})),!1)}),this}createContainer(){let t=this.j.c.element("form");return t.classList.add(this.componentName),(0,s.attr)(t,"dir",this.j.o.direction||"auto"),(0,s.attr)(t,"novalidate",""),t}constructor(...t){var i,n;super(...t),(null==(i=this.options)?void 0:i.className)&&this.container.classList.add(null==(n=this.options)?void 0:n.className)}};c=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([o.component],c)},86397:function(t,i,n){"use strict";n.d(i,{ConnectionError:function(){return r}});class r extends Error{constructor(t){super(t),Object.setPrototypeOf(this,r.prototype)}}},86401:function(t){t.exports={"Show Blocks":"Mostrar Blocos"}},86428:function(t){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"> \x3c!-- Background rounded rect --\x3e <rect x="1" y="1" width="22" height="22" rx="3"/> \x3c!-- Letter A - outer shape --\x3e <polygon points="8,5 2,19 5,19 6.5,16 11.5,16 13,19 16,19 10,5" fill="white"/> \x3c!-- Letter A - inner triangle (hole) --\x3e <polygon points="9,9 7.5,13 10.5,13" fill="currentColor"/> \x3c!-- Letter I --\x3e <rect x="17" y="5" width="3" height="14" fill="white"/> </svg>'},86449:function(t,i,n){"use strict";n.d(i,{APIClient:function(){return c}});var r=n(77688),o=n(82749),s=n(56075),a=n(11886),l=n(82758),u=n(21537);class c{sendRequest(t,i,n,o,s){return(0,r._)(function*(){let{apiRequest:r,requestTimeout:a,maxRetries:c}=this.jodit.o.aiAssistantPro;if(!r)throw Error("AI Assistant Pro callback is not configured");let d=new AbortController;this.abortControllers.add(d);try{let h=this.buildRequestContext(t,i,n,o,s),p=null;for(let t=0;c>=t;t++)try{if(d.signal.aborted)throw(0,u.abort)();let t=setTimeout(()=>{d.abort()},a);try{let i=yield r(h,d.signal);return clearTimeout(t),this.validateResponse(i),i}catch(i){throw clearTimeout(t),i}}catch(i){if(p=i,l.IS_PROD,c>t){let i=this.calculateRetryDelay(t);yield this.sleep(i)}else throw i}throw p||Error("API request failed after all retries")}finally{this.abortControllers.delete(d)}}).call(this)}abort(){this.abortControllers.forEach(t=>{t.abort()}),this.abortControllers.clear()}isInProgress(){return this.abortControllers.size>0}buildRequestContext(t,i,n,r,o){let{apiMode:l,instructions:u}=this.jodit.o.aiAssistantPro,c={mode:l,conversationId:t,tools:this.toolRegistry.getAllTools(),selectionContexts:r,conversationOptions:o,instructions:u},d=[];if("full"===l)d=i;else if(n){let t=i.findIndex(t=>t.id===n);d=-1!==t?i.slice(t+1):i,c=(0,a._)((0,s._)({},c),{parentMessageId:n})}else d=i;return(0,a._)((0,s._)({},c),{messages:this.expandToolMessages(d,i.find(t=>t.id===n))})}expandToolMessages(t,i){let n=[];for(let i of t)n.push(i),this.expandToolResultsMessage(i,n);return i&&this.expandToolResultsMessage(i,n),n}expandToolResultsMessage(t,i){if(t.toolCalls&&t.toolCalls.length>0)for(let r of t.toolCalls){var n;let o=null!=(n=r.result)?n:{error:"result not found"};if(i.find(t=>t.id===`${r.id}-result`))continue;let s={id:`${r.id}-result`,role:"tool",content:o.error?`Error: ${o.error}`:JSON.stringify(o.result),timestamp:t.timestamp,toolResults:[{toolCallId:r.id,result:o}]};i.push(s)}}validateResponse(t){if("final"!==t.mode)return;let i=t.response;if(!i)throw Error("API returned empty response");if(!i.responseId)throw Error("API response missing responseId");if(void 0===i.content)throw Error("API response missing content");if(void 0===i.finished)throw Error("API response missing finished flag");if(i.toolCalls){if(!Array.isArray(i.toolCalls))throw Error("API response toolCalls must be an array");i.toolCalls.forEach((t,i)=>{if(!t.id)throw Error(`Tool call at index ${i} is missing id`);if(!t.name)throw Error(`Tool call at index ${i} is missing name`);if(!t.arguments||"object"!=typeof t.arguments)throw Error(`Tool call at index ${i} has invalid arguments`)})}}calculateRetryDelay(t){let{retryDelay:i}=this.jodit.o.aiAssistantPro;return i*Math.pow(2,t)+Math.random()*i}sleep(t){return new Promise(i=>setTimeout(i,t))}destruct(){this.abort()}constructor(t,i){(0,o._)(this,"jodit",void 0),(0,o._)(this,"toolRegistry",void 0),(0,o._)(this,"abortControllers",void 0),this.jodit=t,this.toolRegistry=i,this.abortControllers=new Set}}},86518:function(t,i,n){"use strict";n.d(i,{safeHTML:function(){return s},sanitizeHTMLElement:function(){return a}});var r=n(2748),o=n(43555);function s(t,i){(r.Dom.isElement(t)||r.Dom.isFragment(t))&&(i.removeOnError&&(a(t),(0,o.$$)("[onerror]",t).forEach(t=>a(t,i))),i.safeJavaScriptLink&&(a(t),(0,o.$$)('a[href^="javascript"]',t).forEach(t=>a(t,i))))}function a(t,{safeJavaScriptLink:i,removeOnError:n}={safeJavaScriptLink:!0,removeOnError:!0}){if(!r.Dom.isElement(t))return!1;let s=!1;n&&t.hasAttribute("onerror")&&((0,o.attr)(t,"onerror",null),s=!0);let l=t.getAttribute("href");return i&&l&&0===l.trim().indexOf("javascript")&&((0,o.attr)(t,"href",location.protocol+"//"+l),s=!0),s}},86563:function(t,i,n){"use strict";n.d(i,{UIMessageList:function(){return c}});var r=n(82749),o=n(31635),s=n(51359),a=n(65478),l=n(62405),u=n(31356);class c extends l.UIGroup{className(){return"UIMessageList"}render(){return'<div class="&__scroll-container"></div>'}afterRender(){this.scrollContainer=this.container}onUserScroll(){if(!this.scrollContainer)return;let{scrollTop:t,scrollHeight:i,clientHeight:n}=this.scrollContainer;this.autoScrollEnabled=i-t-n<10}onMessageSent(){this.autoScrollEnabled=!0,this.scrollToBottom()}appendChildToContainer(t){this.scrollContainer&&this.scrollContainer.appendChild(t)}setMessages(t){let i=this.messages.slice();this.messages=t.slice(),this.updateMessageList(i),this.scrollToBottom()}updateMessageList(t){let i=u.ListReconciler.reconcile(t,this.messages,{getId:t=>t.id,isEqual:(t,i)=>t.id===i.id&&t.content===i.content&&t.timestamp===i.timestamp&&JSON.stringify(t.artifacts)===JSON.stringify(i.artifacts)&&JSON.stringify(t.toolCalls)===JSON.stringify(i.toolCalls),preserveOrder:!0});i.toRemove.forEach(t=>{let i=this.messageItems.get(t.id);i&&(-1!==this.elements.indexOf(i)&&(this.remove(i),i.destruct()),this.messageItems.delete(t.id))}),i.toUpdate.forEach(({newItem:t,index:i})=>{let n=this.messageItems.get(t.id);n&&(n.updateMessage(t),this.elements.indexOf(n)!==i&&i<this.elements.length&&(this.remove(n),this.append(n,i)))}),i.toCreate.forEach(t=>{let i=new s.UIMessageListItem(this.j,t,this.params);this.messageItems.set(t.id,i);let n=this.messages.indexOf(t);this.append(i,n)})}scrollToBottom(){!this.j.isDestructed&&this.autoScrollEnabled&&(this.container.scrollTop=this.container.scrollHeight)}destruct(){this.messageItems.clear(),this.messages=[],super.destruct()}constructor(t,i){super(t),(0,r._)(this,"params",void 0),(0,r._)(this,"messages",void 0),(0,r._)(this,"messageItems",void 0),(0,r._)(this,"scrollContainer",void 0),(0,r._)(this,"autoScrollEnabled",void 0),this.params=i,this.messages=[],this.messageItems=new Map,this.autoScrollEnabled=!0}}(0,o.__decorate)([(0,a.hook)("ready")],c.prototype,"afterRender",null),(0,o.__decorate)([(0,a.watch)(["scrollContainer:wheel","scrollContainer:scroll","scrollContainer:touchmove"]),(0,a.throttle)(t=>t.defaultTimeout)],c.prototype,"onUserScroll",null),(0,o.__decorate)([(0,a.watch)(":messageSent.ai-assistant-pro")],c.prototype,"onMessageSent",null),(0,o.__decorate)([a.autobind],c.prototype,"setMessages",null),(0,o.__decorate)([(0,a.throttle)(t=>2*t.defaultTimeout)],c.prototype,"scrollToBottom",null),c=(0,o.__decorate)([a.component],c)},86583:function(t,i,n){"use strict";n.d(i,{dataBind:function(){return s}});var r=n(39955);let o=new WeakMap,s=(t,i,n)=>{let s=o.get(t);if(!s){s={},o.set(t,s);let i=null;(0,r.isViewObject)(t.j)&&(i=t.j.e),(0,r.isViewObject)(t)&&(i=t.e),i&&i.on("beforeDestruct",()=>{o.delete(t)})}return void 0===n?s[i]:(s[i]=n,n)}},86820:function(t){t.exports='<svg viewBox="0 0 88 88" fill="none" xmlns="http://www.w3.org/2000/svg"> <g> <path d="M44 0.513519C27.2931 0.513519 13.75 13.8981 13.75 30.4095C13.75 46.9208 44 87.4835 44 87.4835C44 87.4835 74.25 46.9208 74.25 30.4095C74.25 13.8981 60.7069 0.513519 44 0.513519ZM19.25 30.4095C19.25 16.921 30.3518 5.94914 44 5.94914C57.6482 5.94914 68.75 16.921 68.75 30.4095C68.75 39.8049 54.9945 62.4871 44 78.1329C33.0055 62.4871 19.25 39.8049 19.25 30.4095ZM44 16.8204C36.4052 16.8204 30.25 22.9035 30.25 30.4095C30.25 37.9154 36.4052 43.9985 44 43.9985C51.5948 43.9985 57.75 37.9154 57.75 30.4095C57.75 22.9035 51.5948 16.8204 44 16.8204ZM44 38.5629C39.4508 38.5629 35.75 34.9054 35.75 30.4095C35.75 25.9135 39.4508 22.256 44 22.256C48.5492 22.256 52.25 25.9135 52.25 30.4095C52.25 34.9054 48.5492 38.5629 44 38.5629Z" fill="#404040"/> </g> <defs> <rect width="88" height="86.97" fill="white" transform="translate(0 0.513519)"/> </defs> </svg>'},86835:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M384 544v576q0 13-9.5 22.5t-22.5 9.5q-14 0-23-9l-288-288q-9-9-9-23t9-23l288-288q9-9 23-9 13 0 22.5 9.5t9.5 22.5zm1408 768v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/> </svg> '},87058:function(t,i,n){"use strict";n.d(i,{camelCase:function(){return r}});let r=t=>t.replace(/([-_])(.)/g,(t,i,n)=>n.toUpperCase())},87325:function(t,i,n){"use strict";n.d(i,{component:function(){return a},getComponentClass:function(){return l}});var r=n(82758),o=n(80568);let s=new Map;function a(t){class i extends t{constructor(...t){super(...t),this.constructor===i&&(this instanceof i||Object.setPrototypeOf(this,i.prototype),this.setStatus("ready"))}}let n=(0,o.getClassName)(t.prototype);if(s.has(n)&&!r.IS_PROD)throw Error(`Component with name "${n}" is already registered`);return s.set(n,i),i}function l(t){return s.get(t)}},87394:function(t,i,n){"use strict";var r=n(12153),o=n(6441),s=n(5119);o.Config.prototype.usePopupForSpecialCharacters=!1,o.Config.prototype.specialCharacters=["!","&quot;","#","$","%","&amp;","'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","&lt;","=","&gt;","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","&euro;","&lsquo;","&rsquo;","&ldquo;","&rdquo;","&ndash;","&mdash;","&iexcl;","&cent;","&pound;","&curren;","&yen;","&brvbar;","&sect;","&uml;","&copy;","&ordf;","&laquo;","&raquo;","&not;","&reg;","&macr;","&deg;","&sup2;","&sup3;","&acute;","&micro;","&para;","&middot;","&cedil;","&sup1;","&ordm;","&frac14;","&frac12;","&frac34;","&iquest;","&Agrave;","&Aacute;","&Acirc;","&Atilde;","&Auml;","&Aring;","&AElig;","&Ccedil;","&Egrave;","&Eacute;","&Ecirc;","&Euml;","&Igrave;","&Iacute;","&Icirc;","&Iuml;","&ETH;","&Ntilde;","&Ograve;","&Oacute;","&Ocirc;","&Otilde;","&Ouml;","&times;","&Oslash;","&Ugrave;","&Uacute;","&Ucirc;","&Uuml;","&Yacute;","&THORN;","&szlig;","&agrave;","&aacute;","&acirc;","&atilde;","&auml;","&aring;","&aelig;","&ccedil;","&egrave;","&eacute;","&ecirc;","&euml;","&igrave;","&iacute;","&icirc;","&iuml;","&eth;","&ntilde;","&ograve;","&oacute;","&ocirc;","&otilde;","&ouml;","&divide;","&oslash;","&ugrave;","&uacute;","&ucirc;","&uuml;","&yacute;","&thorn;","&yuml;","&OElig;","&oelig;","&#372;","&#374","&#373","&#375;","&sbquo;","&#8219;","&bdquo;","&hellip;","&trade;","&#9658;","&bull;","&rarr;","&rArr;","&hArr;","&diams;","&asymp;"],r.Icon.set("symbols",s.default),o.Config.prototype.controls.symbols={hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup:(t,i,n)=>{let r=t.e.fire("generateSpecialCharactersTable.symbols");if(r){if(t.o.usePopupForSpecialCharacters){let i=t.c.div();return i.classList.add("jodit-symbols"),i.appendChild(r),t.e.on(r,"close_dialog",n),i}t.alert(r,"Select Special Character",void 0,"jodit-symbols").bindDestruct(t);let i=r.querySelector("a");i&&i.focus()}}}},87536:function(t,i,n){"use strict";n.d(i,{checkRemoveContentNotEditable:function(){return a}});var r=n(22732),o=n(21537),s=n(45124);function a(t,i,n){let a=r.Dom.findSibling(i,n);return!a&&i.parentElement&&i.parentElement!==t.editor&&(a=r.Dom.findSibling(i.parentElement,n)),!(!r.Dom.isElement(a)||r.Dom.isContentEditable(a,t.editor))&&((0,o.call)(n?r.Dom.before:r.Dom.after,a,i),r.Dom.safeRemove(a),(0,s.moveNodeInsideStart)(t,i,n),(0,o.call)(n?t.s.setCursorBefore:t.s.setCursorAfter,i),!0)}},87602:function(t,i,n){"use strict";n.d(i,{applySize:function(){return l}});var r=n(29807),o=n(29960),s=n(41180),a=n(14415);function l(t,i,n,l){if(i!==t.offsetWidth||n!==t.offsetHeight){let u=i?(0,a.normalSizeToString)(i):null,c=n?(0,a.normalSizeToString)(n):null;(0,s.css)(t,{width:u,height:u&&l?null:c}),(0,o.attr)(t,"width",u&&(0,r.isNumeric)(i)&&(0,o.attr)(t,"width")?u:null),(!(0,o.attr)(t,"width")||l)&&(c=null),(0,o.attr)(t,"height",c)}}},87612:function(t,i,n){"use strict";function r(t){return"boolean"==typeof t}n.d(i,{isBoolean:function(){return r}})},88092:function(t,i,n){"use strict";var r=n(67008),o=n.n(r),s=n(6441),a=n(2748),l=n(68345);s.Config.prototype.controls.iframeEditor={icon:o(),tooltip:"Iframe Editor",exec:(t,i)=>{a.Dom.isTag(i,"jodit")&&a.Dom.isTag(i.firstElementChild,"iframe")&&(i=i.firstElementChild),t.e.fire("toggleIframeEditor",a.Dom.isTag(i,"iframe")?i:null)}},(0,l.isArray)(s.Config.prototype.popup.iframe)&&s.Config.prototype.popup.iframe.push("iframeEditor")},88572:function(t,i,n){"use strict";n.d(i,{UIFormButtonGenerator:function(){return c}});var r=n(82749),o=n(2748),s=n(4510),a=n(38837),l=n(67510),u=n(62357);class c extends l.UIElement{className(){return"UIFormButtonGenerator"}update(){this.onUpdates.forEach(t=>t());let t=this.getElm("box-shadow");(0,a.assert)(null!=t,"box-shadow does not exists");let i=this.getElm("text-shadow");(0,a.assert)(null!=i,"text-shadow does not exists"),t.style.display=this.state.boxShadow?"":"none",i.style.display=this.state.textShadow?"":"none"}render(){return`<div>
566
566
  <div class='&__group &__text'>
567
567
  <div class='&__title'>Text</div>
568
568
  <div class='&__row'>
@@ -658,7 +658,7 @@ Please report this to https://github.com/markedjs/marked.`,t){let t="<p>An error
658
658
  <button data-ref="replace-btn" tabindex="0" type="button" class="jodit-ui-button">~Replace~</button>
659
659
  </div>
660
660
  </div>
661
- </div>`}get currentIndex(){return this._currentIndex}set currentIndex(t){this._currentIndex=t,this.currentBox.innerText=t.toString()}set count(t){this.countBox.innerText=t.toString()}get query(){return this.queryInput.value}get replace(){return this.replaceInput.value}onEditorKeyDown(t){if(!this.isOpened)return;let{j:i}=this;if(i.getRealMode()===r.MODE_WYSIWYG)switch(t.key){case r.KEY_ESC:this.close();break;case r.KEY_F3:this.queryInput.value&&(i.e.fire(t.shiftKey?"searchPrevious":"searchNext"),t.preventDefault())}}open(t,i,n=!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",n);let r=null!=t?t:(this.j.s.sel||"").toString();r&&(this.queryInput.value=r),i&&(this.replaceInput.value=i),this.setMod("empty-query",!r.length),this.j.e.fire(this,"needUpdateCounters"),r?this.queryInput.select():this.queryInput.focus()}close(){this.isOpened&&(this.j.s.restore(),s.Dom.safeRemove(this.container),this.isOpened=!1,this.j.e.fire(this,"afterClose"))}calcSticky(t){if(this.isOpened)if(this.setMod("sticky",t),t){let t=(0,a.position)(this.j.toolbarContainer);(0,a.css)(this.container,{top:t.top+t.height,left:t.left+t.width})}else(0,a.css)(this.container,{top:null,left:null})}constructor(t){var i;super(t),i=this,this.selInfo=null,this._currentIndex=0,this.isOpened=!1;const{query:n,replace:o,cancel:s,next:l,prev:c,replaceBtn:d,current:h,count:p}=(0,a.refs)(this.container);this.queryInput=n,this.replaceInput=o,this.closeButton=s,this.replaceButton=d,this.currentBox=h,this.countBox=p,t.e.on(this.closeButton,"pointerdown",()=>(this.close(),!1)).on(this.queryInput,"input",()=>{this.currentIndex=0}).on(this.queryInput,"pointerdown",()=>{t.s.isFocused()&&(t.s.removeMarkers(),this.selInfo=t.s.save())}).on(this.replaceButton,"pointerdown",()=>(t.e.fire(this,"pressReplaceButton"),!1)).on(l,"pointerdown",()=>(t.e.fire("searchNext"),!1)).on(c,"pointerdown",()=>(t.e.fire("searchPrevious"),!1)).on(this.queryInput,"input",()=>{this.setMod("empty-query",!(0,a.trim)(this.queryInput.value).length)}).on(this.queryInput,"keydown",this.j.async.debounce(n=>{var o;return(o=function*(){n.key===r.KEY_ENTER?(n.preventDefault(),n.stopImmediatePropagation(),(yield t.e.fire("searchNext"))&&i.close()):t.e.fire(i,"needUpdateCounters")},function(){var t=this,i=arguments;return new Promise(function(n,r){var s=o.apply(t,i);function a(t){u(s,n,r,a,l,"next",t)}function l(t){u(s,n,r,a,l,"throw",t)}a(void 0)})})()},this.j.defaultTimeout))}};c([(0,o.watch)([":keydown","queryInput:keydown"])],d.prototype,"onEditorKeyDown",null),c([o.autobind],d.prototype,"open",null),c([o.autobind],d.prototype,"close",null),c([(0,o.watch)(":toggleSticky")],d.prototype,"calcSticky",null),d=c([o.component],d)},92643:function(t,i,n){"use strict";n.d(i,{Command:function(){return r}});class r{undo(){this.history.snapshot.restore(this.oldValue)}redo(){this.history.snapshot.restore(this.newValue)}constructor(t,i,n,r){this.oldValue=t,this.newValue=i,this.history=n,this.tick=r}}},92648:function(t,i){"use strict";i.default={"Type something":"Ketik sesuatu","About Jodit":"Tentang Jodit","Jodit Editor":"Editor Jodit","Free Non-commercial Version":"Versi Bebas Non-komersil","Jodit User's Guide":"Panduan Pengguna Jodit","contains detailed help for using":"mencakup detail bantuan penggunaan","For information about the license, please go to our website:":"Untuk informasi tentang lisensi, silakan kunjungi website:","Buy full version":"Beli versi lengkap","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Hak Cipta \xa9 XDSoft.net - Chupurnov Valeriy. Hak cipta dilindungi undang-undang.",Anchor:"Tautan","Open in new tab":"Buka di tab baru","Open in fullsize":"Buka editor dalam ukuran penuh","Clear Formatting":"Hapus Pemformatan","Fill color or set the text color":"Isi warna atau atur warna teks",Redo:"Ulangi",Undo:"Batalkan",Bold:"Tebal",Italic:"Miring","Insert Unordered List":"Sisipkan Daftar Tidak Berurut","Insert Ordered List":"Sisipkan Daftar Berurut","Align Center":"Tengah","Align Justify":"Penuh","Align Left":"Kiri","Align Right":"Kanan","Insert Horizontal Line":"Sisipkan Garis Horizontal","Insert Image":"Sisipkan Gambar","Insert file":"Sisipkan Berkas","Insert youtube/vimeo video":"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:function(t,i){"use strict";i.default='<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:function(t,i,n){"use strict";n.d(i,{ColorPickerWidget:function(){return r.ColorPickerWidget},FileSelectorWidget:function(){return o.FileSelectorWidget},TabsWidget:function(){return s.TabsWidget}});var r=n(22859),o=n(34793),s=n(38927)},92931:function(t,i,n){"use strict";n.d(i,{staticUrl:function(){return o}});var r=n(60811);function o(t){let{state:i}=t;return`https://maps.googleapis.com/maps/api/staticmap?center=${i.center.join(",")}&zoom=${i.zoom}&size=${i.size.join("x")}&maptype=${i.type}&key=${t.options.googleMaps.API_KEY}`+(0,r.generateStaticElements)(t)}},93079:function(t,i,n){"use strict";var r=n(580),o=n(21537);n(21988),r.pluginSystem.add("color",function(t){t.registerButton({name:"brush",group:"color"});let i=(i,n,r)=>{let s=(0,o.normalizeColor)(r);switch(i){case"background":t.s.commitStyle({attributes:{style:{backgroundColor:s||""}}});break;case"forecolor":t.s.commitStyle({attributes:{style:{color:s||""}}})}return t.synchronizeValues(),!1};t.registerCommand("forecolor",i).registerCommand("background",i)})},93119:function(t,i,n){"use strict";n.d(i,{SentenceFinder:function(){return o}});var r=n(67477);class o{add(t){var i;let n=(null!=(i=t.nodeValue)?i:"").toLowerCase();if(!n.length)return;let r=this.value.length;this.queue.push({startIndex:r,endIndex:r+n.length,node:t}),this.value+=n}ranges(t,i=0){let n=[],r=i,o=0,s=0;do if([r,o]=this.searchIndex(t,this.value,r),-1!==r){let t,i=0,a,l=0;for(let n=s;n<this.queue.length;n+=1)if(!t&&this.queue[n].endIndex>r&&(t=this.queue[n].node,i=r-this.queue[n].startIndex),t&&this.queue[n].endIndex>=r+o){a=this.queue[n].node,l=r+o-this.queue[n].startIndex,s=n;break}t&&a&&n.push({startContainer:t,startOffset:i,endContainer:a,endOffset:l}),r+=o}while(-1!==r);return 0===n.length?null:n}constructor(t=r.fuzzySearchIndex){this.searchIndex=t,this.queue=[],this.value=""}}},93183:function(t,i,n){"use strict";var r=n(82758),o=n(22732),s=n(580),a=n(23282),l=n(50911),u=n(45124);n(32496);var c=n(11338),d=n(14630);class h extends l.Plugin{afterInit(t){t.registerCommand("deleteButton",{exec:()=>this.onDelete(!1),hotkeys:t.o.delete.hotkeys.delete},{stopPropagation:!1}).registerCommand("backspaceButton",{exec:()=>this.onDelete(!0),hotkeys:t.o.delete.hotkeys.backspace},{stopPropagation:!1}).registerCommand("deleteWordButton",{exec:()=>this.onDelete(!1,"word"),hotkeys:t.o.delete.hotkeys.deleteWord}).registerCommand("backspaceWordButton",{exec:()=>this.onDelete(!0,"word"),hotkeys:t.o.delete.hotkeys.backspaceWord}).registerCommand("deleteSentenceButton",{exec:()=>this.onDelete(!1,"sentence"),hotkeys:t.o.delete.hotkeys.deleteSentence}).registerCommand("backspaceSentenceButton",{exec:()=>this.onDelete(!0,"sentence"),hotkeys:t.o.delete.hotkeys.backspaceSentence})}beforeDestruct(t){t.e.off("afterCommand.delete")}onDelete(t,i="char"){let n=this.j,s=n.selection;if(s.isFocused()||s.focus(),(0,c.checkNotCollapsed)(n))return!1;let l=s.range,h=n.createInside.text(r.INVISIBLE_SPACE);try{if(o.Dom.safeInsertNode(l,h),!o.Dom.isOrContains(n.editor,h))return;if(n.e.fire("backSpaceBeforeCases",t,h)||((0,u.moveNodeInsideStart)(n,h,t),d.cases.some(o=>{if((0,a.isFunction)(o)&&o(n,h,t,i))return r.IS_PROD,!0})))return!1}catch(t){throw r.IS_PROD,t}finally{n.e.fire("backSpaceAfterDelete",t,h),this.safeRemoveEmptyNode(h)}return!1}safeRemoveEmptyNode(t){var i,n;let{range:r}=this.j.s;r.startContainer===t&&(t.previousSibling?o.Dom.isText(t.previousSibling)?r.setStart(t.previousSibling,null!=(n=null==(i=t.previousSibling.nodeValue)?void 0:i.length)?n:0):r.setStartAfter(t.previousSibling):t.nextSibling&&(o.Dom.isText(t.nextSibling)?r.setStart(t.nextSibling,0):r.setStartBefore(t.nextSibling)),r.collapse(!0),this.j.s.selectRange(r)),o.Dom.safeRemove(t)}}h.requires=["hotkeys"],s.pluginSystem.add("backspace",h)},93401:function(t,i,n){"use strict";var r=n(65478),o=n(22732),s=n(580),a=n(21537),l=n(50911),u=n(67510),c=n(61259),d=n(21491);n(24526);var h=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class p extends l.Plugin{get popup(){return new c.Popup(this.jodit,!1)}get toolbar(){return(0,d.makeCollection)(this.jodit,this.popup)}onClick(t){let i=this.elmsList,n=o.Dom.isTag(t,"img")?t:o.Dom.closest(t,i,this.j.editor);if(n&&this.canShowPopupForType(n.nodeName.toLowerCase()))return this.showPopup(()=>(0,a.position)(n,this.j),n.nodeName.toLowerCase(),n),!1}showPopup(t,i,n){if(i=i.toLowerCase(),!this.canShowPopupForType(i))return!1;if(this.type!==i||n!==this.previousTarget){let t;this.previousTarget=n;let r=this.j.o.popup[i];t=(0,a.isFunction)(r)?r(this.j,n,this.popup.close):r,(0,a.isArray)(t)&&(this.toolbar.build(t,n),this.toolbar.buttonSize=this.j.o.toolbarButtonSize,t=this.toolbar.container),this.popup.setContent(t),this.type=i}return this.popup.open(t),!0}hidePopup(t){this.popup.isOpened&&(!(0,a.isString)(t)||t===this.type)&&this.popup.close()}onOutsideClick(){this.popup.close()}canShowPopupForType(t){let i=this.j.o.popup[t.toLowerCase()];return!this.j.o.readonly&&!!this.j.o.toolbarInline&&!!i&&!this.isExcludedTarget(t)}isExcludedTarget(t){return(0,a.splitArray)(this.j.o.toolbarInlineDisableFor).map(t=>t.toLowerCase()).includes(t.toLowerCase())}afterInit(t){this.j.e.on("getDiffButtons.mobile",i=>{if(this.toolbar===i){let i=this.toolbar.getButtonsNames();return(0,a.toArray)(t.registeredButtons).filter(t=>!this.j.o.toolbarInlineDisabledButtons.includes(t.name)).filter(t=>{let n=(0,a.isString)(t)?t:t.name;return n&&"|"!==n&&"\n"!==n&&!i.includes(n)})}}).on("hidePopup",this.hidePopup).on("showInlineToolbar",this.showInlineToolbar).on("showPopup",(t,i,n)=>{this.showPopup(i,n||((0,a.isString)(t)?t:t.nodeName),(0,a.isString)(t)?void 0:t)}).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(t){if(t&&t.target&&u.UIElement.closestElement(t.target,c.Popup))return;let{snapRange:i}=this,{range:n}=this.j.s;(!i||n.collapsed||n.startContainer!==i.startContainer||n.startOffset!==i.startOffset||n.endContainer!==i.endContainer||n.endOffset!==i.endOffset)&&this.onSelectionChange()}onSelectionChange(){if(!this.j.o.toolbarInlineForSelection)return;let t="selection",i=this.j.s.sel,n=this.j.s.range;if((null==i?void 0:i.isCollapsed)||this.isSelectedTarget(n)){this.type===t&&this.popup.isOpened&&this.hidePopup();return}this.j.s.current()&&this.showPopup(()=>n.getBoundingClientRect(),t)}isSelectedTarget(t){let i=t.startContainer;return o.Dom.isElement(i)&&i===t.endContainer&&o.Dom.isTag(i.childNodes[t.startOffset],new Set((0,a.keys)(this.j.o.popup,!1)))&&t.startOffset===t.endOffset-1}beforeDestruct(t){t.e.off("showPopup").off([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.removeListenersForElements()}_eventsList(){let t=this.elmsList;return t.map(t=>(0,a.camelCase)(`click_${t}`)).concat(t.map(t=>(0,a.camelCase)(`touchstart_${t}`))).join(" ")}addListenersForElements(){this.j.e.on(this._eventsList(),this.onClick)}removeListenersForElements(){this.j.e.off(this._eventsList(),this.onClick)}showInlineToolbar(t){this.showPopup(()=>{if(t)return t;let{range:i}=this.j.s;return i.getBoundingClientRect()},"toolbar")}constructor(){super(...arguments),this.type=null,this.snapRange=null,this.elmsList=(0,a.keys)(this.j.o.popup,!1).filter(t=>!this.isExcludedTarget(t))}}p.requires=["select"],h([r.cache],p.prototype,"popup",null),h([r.cache],p.prototype,"toolbar",null),h([r.autobind],p.prototype,"onClick",null),h([(0,r.wait)(t=>!t.j.isLocked)],p.prototype,"showPopup",null),h([(0,r.watch)([":clickEditor",":beforeCommandDelete",":backSpaceAfterDelete"]),r.autobind],p.prototype,"hidePopup",null),h([(0,r.watch)(":outsideClick")],p.prototype,"onOutsideClick",null),h([r.autobind],p.prototype,"onSelectionStart",null),h([r.autobind],p.prototype,"onSelectionEnd",null),h([(0,r.debounce)(t=>t.defaultTimeout)],p.prototype,"onSelectionChange",null),h([r.autobind],p.prototype,"showInlineToolbar",null),s.pluginSystem.add("inlinePopup",p)},93602:function(t,i,n){"use strict";n.d(i,{RecognizeManager:function(){return u}});var r=n(65478),o=n(72757),s=n(37643),a=n(85567),l=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class u extends o.Eventify{set lang(t){this._lang=t,this._api.lang=t}get lang(){return this._lang}set continuous(t){this._continuous=t,this._api.continuous=t}get continuous(){return this._continuous}set interimResults(t){this._interimResults=t,this._api.interimResults=t}get interimResults(){return this._interimResults}destruct(){this.stop(),u._instances.delete(this),super.destruct()}get isEnabled(){return this._isEnabled}start(){if(!this._isEnabled){this._isEnabled=!0,u._instances.forEach(t=>{t!==this&&t.stop()});try{this._api.start()}catch(t){this._onError(t),this.stop();return}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(t,i){return this._api.addEventListener(t,i),this}__off(t,i){return this._api.removeEventListener(t,i),this}_onResults(t){this.emit("pulse",!1),this.emit("result",this.__interimResults),this.__interimResults="",this._makeSound(a.PII),this.restart()}_onProgress(t){if(this._isEnabled&&(this.__interimResults="",t.results)){for(let i=0;i<t.results.length;i++){let n=t.results.item(i);if(n.length){let{transcript:t}=n.item(0);this.__interimResults+=t}}this.__interimResults&&this.emit("progress",this.__interimResults)}}_onError(t){"voice-unavailable"===t.error&&this.emit("error","Voice unavailable"),"not-allowed"===t.error&&this.emit("error","Not allowed"),("language-unavailable"===t.error||"language-not-supported"===t.error)&&this.emit("error","Language unavailable"),this._makeSound(a.WARN),this.emit("pulse",!1),this.stop()}_makeSound(t){this.sound&&(0,s.sound)({frequency:t})}constructor(t,i){super(),this.async=t,this._continuous=!1,this._interimResults=!1,this.sound=!0,this._isEnabled=!1,this._restartTimeout=0,this._onSpeechStart=t=>{this._isEnabled&&(this.async.clearTimeout(this._restartTimeout),this._restartTimeout=this.async.setTimeout(()=>{this.restart(),this.emit("pulse",!1),this._makeSound(a.WARN)},5e3),this.emit("pulse",!0))},this.__interimResults="",this._api=i,u._instances.add(this)}}u._instances=new Set,l([r.autobind],u.prototype,"_onResults",null),l([r.autobind],u.prototype,"_onProgress",null),l([r.autobind],u.prototype,"_onError",null)},93620:function(t,i,n){"use strict";n.r(i),i.default={newline:"yeni satır",delete:"silmek",space:"uzay","Speech Recognize":"Konuşma Tanıma",Sound:"Ses","Interim Results":"Ara Sonu\xe7lar"}},93661:function(t,i,n){"use strict";function r(t="Aborted"){return new DOMException(t,"AbortError")}n.d(i,{abort:function(){return r}})},93677:function(t,i,n){"use strict";n.d(i,{UIPermissionRequest:function(){return c}});var r=n(82749),o=n(31635),s=n(65478),a=n(67510),l=n(62843),u=n(12234);class c extends a.UIElement{className(){return"UIPermissionRequest"}setToolCall(t){this.toolCall=t,this.updateContent()}setParentView(t){var i,n,r;return null==(i=this.scopeSelect)||i.setParentView(t),null==(n=this.approveButton)||n.setParentView(t),null==(r=this.denyButton)||r.setParentView(t),super.setParentView(t)}render(){return`<div class="&__container">
661
+ </div>`}get currentIndex(){return this._currentIndex}set currentIndex(t){this._currentIndex=t,this.currentBox.innerText=t.toString()}set count(t){this.countBox.innerText=t.toString()}get query(){return this.queryInput.value}get replace(){return this.replaceInput.value}onEditorKeyDown(t){if(!this.isOpened)return;let{j:i}=this;if(i.getRealMode()===r.MODE_WYSIWYG)switch(t.key){case r.KEY_ESC:this.close();break;case r.KEY_F3:this.queryInput.value&&(i.e.fire(t.shiftKey?"searchPrevious":"searchNext"),t.preventDefault())}}open(t,i,n=!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",n);let r=null!=t?t:(this.j.s.sel||"").toString();r&&(this.queryInput.value=r),i&&(this.replaceInput.value=i),this.setMod("empty-query",!r.length),this.j.e.fire(this,"needUpdateCounters"),r?this.queryInput.select():this.queryInput.focus()}close(){this.isOpened&&(this.j.s.restore(),s.Dom.safeRemove(this.container),this.isOpened=!1,this.j.e.fire(this,"afterClose"))}calcSticky(t){if(this.isOpened)if(this.setMod("sticky",t),t){let t=(0,a.position)(this.j.toolbarContainer);(0,a.css)(this.container,{top:t.top+t.height,left:t.left+t.width})}else(0,a.css)(this.container,{top:null,left:null})}constructor(t){var i;super(t),i=this,this.selInfo=null,this._currentIndex=0,this.isOpened=!1;const{query:n,replace:o,cancel:s,next:l,prev:c,replaceBtn:d,current:h,count:p}=(0,a.refs)(this.container);this.queryInput=n,this.replaceInput=o,this.closeButton=s,this.replaceButton=d,this.currentBox=h,this.countBox=p,t.e.on(this.closeButton,"pointerdown",()=>(this.close(),!1)).on(this.queryInput,"input",()=>{this.currentIndex=0}).on(this.queryInput,"pointerdown",()=>{t.s.isFocused()&&(t.s.removeMarkers(),this.selInfo=t.s.save())}).on(this.replaceButton,"pointerdown",()=>(t.e.fire(this,"pressReplaceButton"),!1)).on(l,"pointerdown",()=>(t.e.fire("searchNext"),!1)).on(c,"pointerdown",()=>(t.e.fire("searchPrevious"),!1)).on(this.queryInput,"input",()=>{this.setMod("empty-query",!(0,a.trim)(this.queryInput.value).length)}).on(this.queryInput,"keydown",this.j.async.debounce(n=>{var o;return(o=function*(){n.key===r.KEY_ENTER?(n.preventDefault(),n.stopImmediatePropagation(),(yield t.e.fire("searchNext"))&&i.close()):t.e.fire(i,"needUpdateCounters")},function(){var t=this,i=arguments;return new Promise(function(n,r){var s=o.apply(t,i);function a(t){u(s,n,r,a,l,"next",t)}function l(t){u(s,n,r,a,l,"throw",t)}a(void 0)})})()},this.j.defaultTimeout))}};c([(0,o.watch)([":keydown","queryInput:keydown"])],d.prototype,"onEditorKeyDown",null),c([o.autobind],d.prototype,"open",null),c([o.autobind],d.prototype,"close",null),c([(0,o.watch)(":toggleSticky")],d.prototype,"calcSticky",null),d=c([o.component],d)},92643:function(t,i,n){"use strict";n.d(i,{Command:function(){return r}});class r{undo(){this.history.snapshot.restore(this.oldValue)}redo(){this.history.snapshot.restore(this.newValue)}constructor(t,i,n,r){this.oldValue=t,this.newValue=i,this.history=n,this.tick=r}}},92648:function(t,i){"use strict";i.default={"Type something":"Ketik sesuatu","About Jodit":"Tentang Jodit","Jodit Editor":"Editor Jodit","Free Non-commercial Version":"Versi Bebas Non-komersil","Jodit User's Guide":"Panduan Pengguna Jodit","contains detailed help for using":"mencakup detail bantuan penggunaan","For information about the license, please go to our website:":"Untuk informasi tentang lisensi, silakan kunjungi website:","Buy full version":"Beli versi lengkap","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Hak Cipta \xa9 XDSoft.net - Chupurnov Valeriy. Hak cipta dilindungi undang-undang.",Anchor:"Tautan","Open in new tab":"Buka di tab baru","Open in fullsize":"Buka editor dalam ukuran penuh","Clear Formatting":"Hapus Pemformatan","Fill color or set the text color":"Isi warna atau atur warna teks",Redo:"Ulangi",Undo:"Batalkan",Bold:"Tebal",Italic:"Miring","Insert Unordered List":"Sisipkan Daftar Tidak Berurut","Insert Ordered List":"Sisipkan Daftar Berurut","Align Center":"Tengah","Align Justify":"Penuh","Align Left":"Kiri","Align Right":"Kanan","Insert Horizontal Line":"Sisipkan Garis Horizontal","Insert Image":"Sisipkan Gambar","Insert file":"Sisipkan Berkas","Insert youtube/vimeo video":"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:function(t,i){"use strict";i.default='<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:function(t,i,n){"use strict";n.d(i,{ColorPickerWidget:function(){return r.ColorPickerWidget},FileSelectorWidget:function(){return o.FileSelectorWidget},TabsWidget:function(){return s.TabsWidget}});var r=n(22859),o=n(34793),s=n(38927)},92931:function(t,i,n){"use strict";n.d(i,{staticUrl:function(){return o}});var r=n(60811);function o(t){let{state:i}=t;return`https://maps.googleapis.com/maps/api/staticmap?center=${i.center.join(",")}&zoom=${i.zoom}&size=${i.size.join("x")}&maptype=${i.type}&key=${t.options.googleMaps.API_KEY}`+(0,r.generateStaticElements)(t)}},93079:function(t,i,n){"use strict";var r=n(580),o=n(21537);n(21988),r.pluginSystem.add("color",function(t){t.registerButton({name:"brush",group:"color"});let i=(i,n,r)=>{let s=(0,o.normalizeColor)(r);switch(i){case"background":t.s.commitStyle({attributes:{style:{backgroundColor:s||""}}});break;case"forecolor":t.s.commitStyle({attributes:{style:{color:s||""}}})}return t.synchronizeValues(),!1};t.registerCommand("forecolor",i).registerCommand("background",i)})},93119:function(t,i,n){"use strict";n.d(i,{SentenceFinder:function(){return o}});var r=n(67477);class o{add(t){var i;let n=(null!=(i=t.nodeValue)?i:"").toLowerCase();if(!n.length)return;let r=this.value.length;this.queue.push({startIndex:r,endIndex:r+n.length,node:t}),this.value+=n}ranges(t,i=0){let n=[],r=i,o=0,s=0;do if([r,o]=this.searchIndex(t,this.value,r),-1!==r){let t,i=0,a,l=0;for(let n=s;n<this.queue.length;n+=1)if(!t&&this.queue[n].endIndex>r&&(t=this.queue[n].node,i=r-this.queue[n].startIndex),t&&this.queue[n].endIndex>=r+o){a=this.queue[n].node,l=r+o-this.queue[n].startIndex,s=n;break}t&&a&&n.push({startContainer:t,startOffset:i,endContainer:a,endOffset:l}),r+=o}while(-1!==r);return 0===n.length?null:n}constructor(t=r.fuzzySearchIndex){this.searchIndex=t,this.queue=[],this.value=""}}},93183:function(t,i,n){"use strict";var r=n(82758),o=n(22732),s=n(580),a=n(23282),l=n(50911),u=n(45124);n(32496);var c=n(11338),d=n(14630);class h extends l.Plugin{afterInit(t){t.registerCommand("deleteButton",{exec:()=>this.onDelete(!1),hotkeys:t.o.delete.hotkeys.delete},{stopPropagation:!1}).registerCommand("backspaceButton",{exec:()=>this.onDelete(!0),hotkeys:t.o.delete.hotkeys.backspace},{stopPropagation:!1}).registerCommand("deleteWordButton",{exec:()=>this.onDelete(!1,"word"),hotkeys:t.o.delete.hotkeys.deleteWord}).registerCommand("backspaceWordButton",{exec:()=>this.onDelete(!0,"word"),hotkeys:t.o.delete.hotkeys.backspaceWord}).registerCommand("deleteSentenceButton",{exec:()=>this.onDelete(!1,"sentence"),hotkeys:t.o.delete.hotkeys.deleteSentence}).registerCommand("backspaceSentenceButton",{exec:()=>this.onDelete(!0,"sentence"),hotkeys:t.o.delete.hotkeys.backspaceSentence})}beforeDestruct(t){t.e.off("afterCommand.delete")}onDelete(t,i="char"){let n=this.j,s=n.selection;if(s.isFocused()||s.focus(),(0,c.checkNotCollapsed)(n))return!1;let l=s.range,h=n.createInside.text(r.INVISIBLE_SPACE);try{if(o.Dom.safeInsertNode(l,h),!o.Dom.isOrContains(n.editor,h))return;if(n.e.fire("backSpaceBeforeCases",t,h)||((0,u.moveNodeInsideStart)(n,h,t),d.cases.some(o=>{if((0,a.isFunction)(o)&&o(n,h,t,i))return r.IS_PROD,!0})))return!1}catch(t){throw r.IS_PROD,t}finally{n.e.fire("backSpaceAfterDelete",t,h),this.safeRemoveEmptyNode(h)}return!1}safeRemoveEmptyNode(t){var i,n;let{range:r}=this.j.s;r.startContainer===t&&(t.previousSibling?o.Dom.isText(t.previousSibling)?r.setStart(t.previousSibling,null!=(n=null==(i=t.previousSibling.nodeValue)?void 0:i.length)?n:0):r.setStartAfter(t.previousSibling):t.nextSibling&&(o.Dom.isText(t.nextSibling)?r.setStart(t.nextSibling,0):r.setStartBefore(t.nextSibling)),r.collapse(!0),this.j.s.selectRange(r)),o.Dom.safeRemove(t)}}h.requires=["hotkeys"],s.pluginSystem.add("backspace",h)},93401:function(t,i,n){"use strict";var r=n(65478),o=n(22732),s=n(580),a=n(21537),l=n(50911),u=n(67510),c=n(61259),d=n(21491);n(24526);var h=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class p extends l.Plugin{get popup(){return new c.Popup(this.jodit,!1)}get toolbar(){return(0,d.makeCollection)(this.jodit,this.popup)}onClick(t){let i=this.elmsList,n=o.Dom.isTag(t,"img")?t:o.Dom.closest(t,i,this.j.editor);if(n&&this.canShowPopupForType(n.nodeName.toLowerCase()))return this.showPopup(()=>(0,a.position)(n,this.j),n.nodeName.toLowerCase(),n),!1}showPopup(t,i,n){if(i=i.toLowerCase(),!this.canShowPopupForType(i))return!1;if(this.type!==i||n!==this.previousTarget){let t;this.previousTarget=n;let r=this.j.o.popup[i];if(t=(0,a.isFunction)(r)?r(this.j,n,this.popup.close):r,(0,a.isArray)(t)){let i=this.j.o.toolbarInlineDisabledButtons;this.toolbar.build(i.length?t.filter(t=>{let n=(0,a.isString)(t)?t:t.name;return!i.includes(null!=n?n:"")}):t,n),this.toolbar.buttonSize=this.j.o.toolbarButtonSize,t=this.toolbar.container}this.popup.setContent(t),this.type=i}return this.popup.open(t),!0}hidePopup(t){this.popup.isOpened&&(!(0,a.isString)(t)||t===this.type)&&this.popup.close()}onOutsideClick(){this.popup.close()}canShowPopupForType(t){let i=this.j.o.popup[t.toLowerCase()];return!this.j.o.readonly&&!!this.j.o.toolbarInline&&!!i&&!this.isExcludedTarget(t)}isExcludedTarget(t){return(0,a.splitArray)(this.j.o.toolbarInlineDisableFor).map(t=>t.toLowerCase()).includes(t.toLowerCase())}afterInit(t){this.j.e.on("getDiffButtons.mobile",i=>{if(this.toolbar===i){let i=this.toolbar.getButtonsNames();return(0,a.toArray)(t.registeredButtons).filter(t=>!this.j.o.toolbarInlineDisabledButtons.includes(t.name)).filter(t=>{let n=(0,a.isString)(t)?t:t.name;return n&&"|"!==n&&"\n"!==n&&!i.includes(n)})}}).on("hidePopup",this.hidePopup).on("showInlineToolbar",this.showInlineToolbar).on("showPopup",(t,i,n)=>{this.showPopup(i,n||((0,a.isString)(t)?t:t.nodeName),(0,a.isString)(t)?void 0:t)}).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(t){if(t&&t.target&&u.UIElement.closestElement(t.target,c.Popup))return;let{snapRange:i}=this,{range:n}=this.j.s;(!i||n.collapsed||n.startContainer!==i.startContainer||n.startOffset!==i.startOffset||n.endContainer!==i.endContainer||n.endOffset!==i.endOffset)&&this.onSelectionChange()}onSelectionChange(){if(!this.j.o.toolbarInlineForSelection)return;let t="selection",i=this.j.s.sel,n=this.j.s.range;if((null==i?void 0:i.isCollapsed)||this.isSelectedTarget(n)){this.type===t&&this.popup.isOpened&&this.hidePopup();return}this.j.s.current()&&this.showPopup(()=>n.getBoundingClientRect(),t)}isSelectedTarget(t){let i=t.startContainer;return o.Dom.isElement(i)&&i===t.endContainer&&o.Dom.isTag(i.childNodes[t.startOffset],new Set((0,a.keys)(this.j.o.popup,!1)))&&t.startOffset===t.endOffset-1}beforeDestruct(t){t.e.off("showPopup").off([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.removeListenersForElements()}_eventsList(){let t=this.elmsList;return t.map(t=>(0,a.camelCase)(`click_${t}`)).concat(t.map(t=>(0,a.camelCase)(`touchstart_${t}`))).join(" ")}addListenersForElements(){this.j.e.on(this._eventsList(),this.onClick)}removeListenersForElements(){this.j.e.off(this._eventsList(),this.onClick)}showInlineToolbar(t){this.showPopup(()=>{if(t)return t;let{range:i}=this.j.s;return i.getBoundingClientRect()},"toolbar")}constructor(){super(...arguments),this.type=null,this.snapRange=null,this.elmsList=(0,a.keys)(this.j.o.popup,!1).filter(t=>!this.isExcludedTarget(t))}}p.requires=["select"],h([r.cache],p.prototype,"popup",null),h([r.cache],p.prototype,"toolbar",null),h([r.autobind],p.prototype,"onClick",null),h([(0,r.wait)(t=>!t.j.isLocked)],p.prototype,"showPopup",null),h([(0,r.watch)([":clickEditor",":beforeCommandDelete",":backSpaceAfterDelete"]),r.autobind],p.prototype,"hidePopup",null),h([(0,r.watch)(":outsideClick")],p.prototype,"onOutsideClick",null),h([r.autobind],p.prototype,"onSelectionStart",null),h([r.autobind],p.prototype,"onSelectionEnd",null),h([(0,r.debounce)(t=>t.defaultTimeout)],p.prototype,"onSelectionChange",null),h([r.autobind],p.prototype,"showInlineToolbar",null),s.pluginSystem.add("inlinePopup",p)},93602:function(t,i,n){"use strict";n.d(i,{RecognizeManager:function(){return u}});var r=n(65478),o=n(72757),s=n(37643),a=n(85567),l=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class u extends o.Eventify{set lang(t){this._lang=t,this._api.lang=t}get lang(){return this._lang}set continuous(t){this._continuous=t,this._api.continuous=t}get continuous(){return this._continuous}set interimResults(t){this._interimResults=t,this._api.interimResults=t}get interimResults(){return this._interimResults}destruct(){this.stop(),u._instances.delete(this),super.destruct()}get isEnabled(){return this._isEnabled}start(){if(!this._isEnabled){this._isEnabled=!0,u._instances.forEach(t=>{t!==this&&t.stop()});try{this._api.start()}catch(t){this._onError(t),this.stop();return}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(t,i){return this._api.addEventListener(t,i),this}__off(t,i){return this._api.removeEventListener(t,i),this}_onResults(t){this.emit("pulse",!1),this.emit("result",this.__interimResults),this.__interimResults="",this._makeSound(a.PII),this.restart()}_onProgress(t){if(this._isEnabled&&(this.__interimResults="",t.results)){for(let i=0;i<t.results.length;i++){let n=t.results.item(i);if(n.length){let{transcript:t}=n.item(0);this.__interimResults+=t}}this.__interimResults&&this.emit("progress",this.__interimResults)}}_onError(t){"voice-unavailable"===t.error&&this.emit("error","Voice unavailable"),"not-allowed"===t.error&&this.emit("error","Not allowed"),("language-unavailable"===t.error||"language-not-supported"===t.error)&&this.emit("error","Language unavailable"),this._makeSound(a.WARN),this.emit("pulse",!1),this.stop()}_makeSound(t){this.sound&&(0,s.sound)({frequency:t})}constructor(t,i){super(),this.async=t,this._continuous=!1,this._interimResults=!1,this.sound=!0,this._isEnabled=!1,this._restartTimeout=0,this._onSpeechStart=t=>{this._isEnabled&&(this.async.clearTimeout(this._restartTimeout),this._restartTimeout=this.async.setTimeout(()=>{this.restart(),this.emit("pulse",!1),this._makeSound(a.WARN)},5e3),this.emit("pulse",!0))},this.__interimResults="",this._api=i,u._instances.add(this)}}u._instances=new Set,l([r.autobind],u.prototype,"_onResults",null),l([r.autobind],u.prototype,"_onProgress",null),l([r.autobind],u.prototype,"_onError",null)},93620:function(t,i,n){"use strict";n.r(i),i.default={newline:"yeni satır",delete:"silmek",space:"uzay","Speech Recognize":"Konuşma Tanıma",Sound:"Ses","Interim Results":"Ara Sonu\xe7lar"}},93661:function(t,i,n){"use strict";function r(t="Aborted"){return new DOMException(t,"AbortError")}n.d(i,{abort:function(){return r}})},93677:function(t,i,n){"use strict";n.d(i,{UIPermissionRequest:function(){return c}});var r=n(82749),o=n(31635),s=n(65478),a=n(67510),l=n(62843),u=n(12234);class c extends a.UIElement{className(){return"UIPermissionRequest"}setToolCall(t){this.toolCall=t,this.updateContent()}setParentView(t){var i,n,r;return null==(i=this.scopeSelect)||i.setParentView(t),null==(n=this.approveButton)||n.setParentView(t),null==(r=this.denyButton)||r.setParentView(t),super.setParentView(t)}render(){return`<div class="&__container">
662
662
  <div class="&__header">
663
663
  <div class="&__icon"></div>
664
664
  <div class="&__title">~Permission Required~</div>