jodit-pro 4.9.21 → 4.9.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (299) hide show
  1. package/CHANGELOG.md +63 -1
  2. package/es2015/jodit.css +1 -1
  3. package/es2015/jodit.fat.min.js +43 -43
  4. package/es2015/jodit.js +238 -87
  5. package/es2015/jodit.min.js +6 -6
  6. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
  7. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.js +193 -161
  8. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.min.js +30 -30
  9. package/es2015/plugins/autocomplete/autocomplete.js +1 -1
  10. package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
  11. package/es2015/plugins/backup/backup.css +1 -1
  12. package/es2015/plugins/backup/backup.js +1 -1
  13. package/es2015/plugins/backup/backup.min.js +1 -1
  14. package/es2015/plugins/button-generator/button-generator.css +1 -1
  15. package/es2015/plugins/button-generator/button-generator.js +1 -1
  16. package/es2015/plugins/button-generator/button-generator.min.js +1 -1
  17. package/es2015/plugins/change-case/change-case.js +1 -1
  18. package/es2015/plugins/change-case/change-case.min.js +1 -1
  19. package/es2015/plugins/color-picker/color-picker.css +1 -1
  20. package/es2015/plugins/color-picker/color-picker.js +1 -1
  21. package/es2015/plugins/color-picker/color-picker.min.js +1 -1
  22. package/es2015/plugins/emoji/emoji.css +1 -1
  23. package/es2015/plugins/emoji/emoji.js +1 -1
  24. package/es2015/plugins/emoji/emoji.min.js +1 -1
  25. package/es2015/plugins/export-docs/export-docs.js +1 -1
  26. package/es2015/plugins/export-docs/export-docs.min.js +1 -1
  27. package/es2015/plugins/finder/finder.css +1 -1
  28. package/es2015/plugins/finder/finder.js +1 -1
  29. package/es2015/plugins/finder/finder.min.js +1 -1
  30. package/es2015/plugins/google-maps/google-maps.css +1 -1
  31. package/es2015/plugins/google-maps/google-maps.js +1 -1
  32. package/es2015/plugins/google-maps/google-maps.min.js +1 -1
  33. package/es2015/plugins/google-search/google-search.js +1 -1
  34. package/es2015/plugins/google-search/google-search.min.js +1 -1
  35. package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
  36. package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
  37. package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
  38. package/es2015/plugins/iframe-editor/iframe-editor.js +1 -1
  39. package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
  40. package/es2015/plugins/keyboard/keyboard.css +1 -1
  41. package/es2015/plugins/keyboard/keyboard.js +1 -1
  42. package/es2015/plugins/keyboard/keyboard.min.js +1 -1
  43. package/es2015/plugins/mobile-view/mobile-view.js +1 -1
  44. package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
  45. package/es2015/plugins/page-break/page-break.js +1 -1
  46. package/es2015/plugins/page-break/page-break.min.js +1 -1
  47. package/es2015/plugins/paste-code/paste-code.css +1 -1
  48. package/es2015/plugins/paste-code/paste-code.js +1 -1
  49. package/es2015/plugins/paste-code/paste-code.min.js +1 -1
  50. package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
  51. package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
  52. package/es2015/plugins/show-blocks/show-blocks.js +1 -1
  53. package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
  54. package/es2015/plugins/style/style.css +1 -1
  55. package/es2015/plugins/style/style.js +1 -1
  56. package/es2015/plugins/style/style.min.js +1 -1
  57. package/es2015/plugins/todo-list/todo-list.css +1 -1
  58. package/es2015/plugins/todo-list/todo-list.js +1 -1
  59. package/es2015/plugins/todo-list/todo-list.min.js +1 -1
  60. package/es2015/plugins/translate/translate.css +1 -1
  61. package/es2015/plugins/translate/translate.js +1 -1
  62. package/es2015/plugins/translate/translate.min.js +1 -1
  63. package/es2015/plugins/tune-block/tune-block.css +1 -1
  64. package/es2015/plugins/tune-block/tune-block.js +1 -1
  65. package/es2015/plugins/tune-block/tune-block.min.js +1 -1
  66. package/es2018/jodit.fat.min.js +28 -28
  67. package/es2018/jodit.min.js +6 -6
  68. package/es2018/plugins/ai-assistant-pro/ai-assistant-pro.min.js +20 -20
  69. package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
  70. package/es2018/plugins/backup/backup.min.js +1 -1
  71. package/es2018/plugins/button-generator/button-generator.min.js +1 -1
  72. package/es2018/plugins/change-case/change-case.min.js +1 -1
  73. package/es2018/plugins/color-picker/color-picker.min.js +1 -1
  74. package/es2018/plugins/emoji/emoji.min.js +1 -1
  75. package/es2018/plugins/export-docs/export-docs.min.js +1 -1
  76. package/es2018/plugins/finder/finder.min.js +1 -1
  77. package/es2018/plugins/google-maps/google-maps.min.js +1 -1
  78. package/es2018/plugins/google-search/google-search.min.js +1 -1
  79. package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
  80. package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
  81. package/es2018/plugins/keyboard/keyboard.min.js +1 -1
  82. package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
  83. package/es2018/plugins/page-break/page-break.min.js +1 -1
  84. package/es2018/plugins/paste-code/paste-code.min.js +1 -1
  85. package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
  86. package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
  87. package/es2018/plugins/style/style.min.js +1 -1
  88. package/es2018/plugins/todo-list/todo-list.min.js +1 -1
  89. package/es2018/plugins/translate/translate.min.js +1 -1
  90. package/es2018/plugins/tune-block/tune-block.min.js +1 -1
  91. package/es2021/jodit.css +1 -1
  92. package/es2021/jodit.fat.min.js +29 -29
  93. package/es2021/jodit.js +238 -87
  94. package/es2021/jodit.min.js +8 -8
  95. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
  96. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.js +194 -162
  97. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.min.js +20 -20
  98. package/es2021/plugins/autocomplete/autocomplete.js +1 -1
  99. package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
  100. package/es2021/plugins/backup/backup.css +1 -1
  101. package/es2021/plugins/backup/backup.js +1 -1
  102. package/es2021/plugins/backup/backup.min.js +1 -1
  103. package/es2021/plugins/button-generator/button-generator.css +1 -1
  104. package/es2021/plugins/button-generator/button-generator.js +1 -1
  105. package/es2021/plugins/button-generator/button-generator.min.js +1 -1
  106. package/es2021/plugins/change-case/change-case.js +1 -1
  107. package/es2021/plugins/change-case/change-case.min.js +1 -1
  108. package/es2021/plugins/color-picker/color-picker.css +1 -1
  109. package/es2021/plugins/color-picker/color-picker.js +1 -1
  110. package/es2021/plugins/color-picker/color-picker.min.js +1 -1
  111. package/es2021/plugins/emoji/emoji.css +1 -1
  112. package/es2021/plugins/emoji/emoji.js +1 -1
  113. package/es2021/plugins/emoji/emoji.min.js +1 -1
  114. package/es2021/plugins/export-docs/export-docs.js +1 -1
  115. package/es2021/plugins/export-docs/export-docs.min.js +1 -1
  116. package/es2021/plugins/finder/finder.css +1 -1
  117. package/es2021/plugins/finder/finder.js +1 -1
  118. package/es2021/plugins/finder/finder.min.js +1 -1
  119. package/es2021/plugins/google-maps/google-maps.css +1 -1
  120. package/es2021/plugins/google-maps/google-maps.js +1 -1
  121. package/es2021/plugins/google-maps/google-maps.min.js +1 -1
  122. package/es2021/plugins/google-search/google-search.js +1 -1
  123. package/es2021/plugins/google-search/google-search.min.js +1 -1
  124. package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
  125. package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
  126. package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
  127. package/es2021/plugins/iframe-editor/iframe-editor.js +1 -1
  128. package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
  129. package/es2021/plugins/keyboard/keyboard.css +1 -1
  130. package/es2021/plugins/keyboard/keyboard.js +1 -1
  131. package/es2021/plugins/keyboard/keyboard.min.js +1 -1
  132. package/es2021/plugins/mobile-view/mobile-view.js +1 -1
  133. package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
  134. package/es2021/plugins/page-break/page-break.js +1 -1
  135. package/es2021/plugins/page-break/page-break.min.js +1 -1
  136. package/es2021/plugins/paste-code/paste-code.css +1 -1
  137. package/es2021/plugins/paste-code/paste-code.js +1 -1
  138. package/es2021/plugins/paste-code/paste-code.min.js +1 -1
  139. package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
  140. package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
  141. package/es2021/plugins/show-blocks/show-blocks.js +1 -1
  142. package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
  143. package/es2021/plugins/style/style.css +1 -1
  144. package/es2021/plugins/style/style.js +1 -1
  145. package/es2021/plugins/style/style.min.js +1 -1
  146. package/es2021/plugins/todo-list/todo-list.css +1 -1
  147. package/es2021/plugins/todo-list/todo-list.js +1 -1
  148. package/es2021/plugins/todo-list/todo-list.min.js +1 -1
  149. package/es2021/plugins/translate/translate.css +1 -1
  150. package/es2021/plugins/translate/translate.js +1 -1
  151. package/es2021/plugins/translate/translate.min.js +1 -1
  152. package/es2021/plugins/tune-block/tune-block.css +1 -1
  153. package/es2021/plugins/tune-block/tune-block.js +1 -1
  154. package/es2021/plugins/tune-block/tune-block.min.js +1 -1
  155. package/es2021.en/jodit.css +1 -1
  156. package/es2021.en/jodit.fat.min.js +83 -83
  157. package/es2021.en/jodit.js +238 -87
  158. package/es2021.en/jodit.min.js +8 -8
  159. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
  160. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.js +194 -162
  161. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.min.js +20 -20
  162. package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
  163. package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
  164. package/es2021.en/plugins/backup/backup.css +1 -1
  165. package/es2021.en/plugins/backup/backup.js +1 -1
  166. package/es2021.en/plugins/backup/backup.min.js +1 -1
  167. package/es2021.en/plugins/button-generator/button-generator.css +1 -1
  168. package/es2021.en/plugins/button-generator/button-generator.js +1 -1
  169. package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
  170. package/es2021.en/plugins/change-case/change-case.js +1 -1
  171. package/es2021.en/plugins/change-case/change-case.min.js +1 -1
  172. package/es2021.en/plugins/color-picker/color-picker.css +1 -1
  173. package/es2021.en/plugins/color-picker/color-picker.js +1 -1
  174. package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
  175. package/es2021.en/plugins/emoji/emoji.css +1 -1
  176. package/es2021.en/plugins/emoji/emoji.js +1 -1
  177. package/es2021.en/plugins/emoji/emoji.min.js +1 -1
  178. package/es2021.en/plugins/export-docs/export-docs.js +1 -1
  179. package/es2021.en/plugins/export-docs/export-docs.min.js +1 -1
  180. package/es2021.en/plugins/finder/finder.css +1 -1
  181. package/es2021.en/plugins/finder/finder.js +1 -1
  182. package/es2021.en/plugins/finder/finder.min.js +1 -1
  183. package/es2021.en/plugins/google-maps/google-maps.css +1 -1
  184. package/es2021.en/plugins/google-maps/google-maps.js +1 -1
  185. package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
  186. package/es2021.en/plugins/google-search/google-search.js +1 -1
  187. package/es2021.en/plugins/google-search/google-search.min.js +1 -1
  188. package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
  189. package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
  190. package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
  191. package/es2021.en/plugins/iframe-editor/iframe-editor.js +1 -1
  192. package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
  193. package/es2021.en/plugins/keyboard/keyboard.css +1 -1
  194. package/es2021.en/plugins/keyboard/keyboard.js +1 -1
  195. package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
  196. package/es2021.en/plugins/mobile-view/mobile-view.js +1 -1
  197. package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
  198. package/es2021.en/plugins/page-break/page-break.js +1 -1
  199. package/es2021.en/plugins/page-break/page-break.min.js +1 -1
  200. package/es2021.en/plugins/paste-code/paste-code.css +1 -1
  201. package/es2021.en/plugins/paste-code/paste-code.js +1 -1
  202. package/es2021.en/plugins/paste-code/paste-code.min.js +1 -1
  203. package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
  204. package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
  205. package/es2021.en/plugins/show-blocks/show-blocks.js +1 -1
  206. package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
  207. package/es2021.en/plugins/style/style.css +1 -1
  208. package/es2021.en/plugins/style/style.js +1 -1
  209. package/es2021.en/plugins/style/style.min.js +1 -1
  210. package/es2021.en/plugins/todo-list/todo-list.css +1 -1
  211. package/es2021.en/plugins/todo-list/todo-list.js +1 -1
  212. package/es2021.en/plugins/todo-list/todo-list.min.js +1 -1
  213. package/es2021.en/plugins/translate/translate.css +1 -1
  214. package/es2021.en/plugins/translate/translate.js +1 -1
  215. package/es2021.en/plugins/translate/translate.min.js +1 -1
  216. package/es2021.en/plugins/tune-block/tune-block.css +1 -1
  217. package/es2021.en/plugins/tune-block/tune-block.js +1 -1
  218. package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
  219. package/es5/jodit.css +2 -2
  220. package/es5/jodit.fat.min.js +2 -2
  221. package/es5/jodit.js +256 -87
  222. package/es5/jodit.min.css +2 -2
  223. package/es5/jodit.min.js +2 -2
  224. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
  225. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.js +221 -174
  226. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.min.js +2 -2
  227. package/es5/plugins/autocomplete/autocomplete.js +1 -1
  228. package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
  229. package/es5/plugins/backup/backup.css +1 -1
  230. package/es5/plugins/backup/backup.js +1 -1
  231. package/es5/plugins/backup/backup.min.js +1 -1
  232. package/es5/plugins/button-generator/button-generator.css +1 -1
  233. package/es5/plugins/button-generator/button-generator.js +1 -1
  234. package/es5/plugins/button-generator/button-generator.min.js +1 -1
  235. package/es5/plugins/change-case/change-case.js +1 -1
  236. package/es5/plugins/change-case/change-case.min.js +1 -1
  237. package/es5/plugins/color-picker/color-picker.css +1 -1
  238. package/es5/plugins/color-picker/color-picker.js +1 -1
  239. package/es5/plugins/color-picker/color-picker.min.js +1 -1
  240. package/es5/plugins/emoji/emoji.css +1 -1
  241. package/es5/plugins/emoji/emoji.js +1 -1
  242. package/es5/plugins/emoji/emoji.min.js +1 -1
  243. package/es5/plugins/export-docs/export-docs.js +1 -1
  244. package/es5/plugins/export-docs/export-docs.min.js +1 -1
  245. package/es5/plugins/finder/finder.css +1 -1
  246. package/es5/plugins/finder/finder.js +1 -1
  247. package/es5/plugins/finder/finder.min.js +1 -1
  248. package/es5/plugins/google-maps/google-maps.css +1 -1
  249. package/es5/plugins/google-maps/google-maps.js +1 -1
  250. package/es5/plugins/google-maps/google-maps.min.js +1 -1
  251. package/es5/plugins/google-search/google-search.js +1 -1
  252. package/es5/plugins/google-search/google-search.min.js +1 -1
  253. package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
  254. package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
  255. package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
  256. package/es5/plugins/iframe-editor/iframe-editor.js +1 -1
  257. package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
  258. package/es5/plugins/keyboard/keyboard.css +1 -1
  259. package/es5/plugins/keyboard/keyboard.js +1 -1
  260. package/es5/plugins/keyboard/keyboard.min.js +1 -1
  261. package/es5/plugins/mobile-view/mobile-view.js +1 -1
  262. package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
  263. package/es5/plugins/page-break/page-break.js +1 -1
  264. package/es5/plugins/page-break/page-break.min.js +1 -1
  265. package/es5/plugins/paste-code/paste-code.css +1 -1
  266. package/es5/plugins/paste-code/paste-code.js +1 -1
  267. package/es5/plugins/paste-code/paste-code.min.js +1 -1
  268. package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
  269. package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
  270. package/es5/plugins/show-blocks/show-blocks.js +1 -1
  271. package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
  272. package/es5/plugins/style/style.css +1 -1
  273. package/es5/plugins/style/style.js +1 -1
  274. package/es5/plugins/style/style.min.js +1 -1
  275. package/es5/plugins/todo-list/todo-list.css +1 -1
  276. package/es5/plugins/todo-list/todo-list.js +1 -1
  277. package/es5/plugins/todo-list/todo-list.min.js +1 -1
  278. package/es5/plugins/translate/translate.css +1 -1
  279. package/es5/plugins/translate/translate.js +1 -1
  280. package/es5/plugins/translate/translate.min.js +1 -1
  281. package/es5/plugins/tune-block/tune-block.css +1 -1
  282. package/es5/plugins/tune-block/tune-block.js +1 -1
  283. package/es5/plugins/tune-block/tune-block.min.js +1 -1
  284. package/es5/polyfills.fat.min.js +1 -1
  285. package/es5/polyfills.js +1 -1
  286. package/es5/polyfills.min.js +1 -1
  287. package/esm/plugins/ai-assistant-pro/ui/input-area/input-area.d.ts +5 -1
  288. package/esm/plugins/ai-assistant-pro/ui/main-panel/main-panel.d.ts +1 -1
  289. package/esm/plugins/ai-assistant-pro/ui/settings-button/settings-button.d.ts +7 -1
  290. package/esm/plugins/ai-assistant-pro/ui/settings-popup/dialog-settings.d.ts +3 -1
  291. package/esm/plugins/ai-assistant-pro/ui/settings-popup/global-settings.d.ts +5 -1
  292. package/esm/plugins/ai-assistant-pro/ui/settings-popup/settings-popup.d.ts +7 -1
  293. package/package.json +1 -1
  294. package/types/plugins/ai-assistant-pro/ui/input-area/input-area.d.ts +5 -1
  295. package/types/plugins/ai-assistant-pro/ui/main-panel/main-panel.d.ts +1 -1
  296. package/types/plugins/ai-assistant-pro/ui/settings-button/settings-button.d.ts +7 -1
  297. package/types/plugins/ai-assistant-pro/ui/settings-popup/dialog-settings.d.ts +3 -1
  298. package/types/plugins/ai-assistant-pro/ui/settings-popup/global-settings.d.ts +5 -1
  299. package/types/plugins/ai-assistant-pro/ui/settings-popup/settings-popup.d.ts +7 -1
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.9.21
4
+ * Version: v4.9.25
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -26,10 +26,10 @@
26
26
  <div class="&__info"></div>
27
27
  <div class="&__loader"></div>
28
28
  <div class="&__empty-message">~Select image~</div>
29
- </div>`}afterSetMod(t,i){"hidden"===t&&!1===i&&this.onChangeMetaInfo(),super.afterSetMod(t,i)}onChangeMetaInfo(){if(this.getMod("hidden"))return;let{metaInfo:t}=this.state;this.setMod("empty",!t);let i=this.getElm("info");(0,c.assert)(null!=i,"info element does not exists"),a.Dom.detach(i);let n=this.getElm("image");(0,c.assert)(null!=n,"image element does not exists"),(0,l.css)(n,{backgroundImage:null}),t&&(this.setMod("is-file",!1===t.isImage).setMod("type",t.type??"file"),d.UIBrowserItem.prototype.setElementValue.call(this,"name",t.file),d.UIBrowserItem.prototype.setElementValue.call(this,"time",t.time),d.UIBrowserItem.prototype.setElementValue.call(this,"filesize",t.size),this.setMod("loading",!0),this.lastLoadPromise?.rejectCallback(),this.lastLoadPromise=(0,l.loadImage)(t.isImage?t.fileURL:t.imageURL,this.j),this.lastLoadPromise.then(t=>{let i=this.getElm("image");(0,c.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,o._)(this,"state",void 0),(0,o._)(this,"lastLoadPromise",void 0),this.state=i,this.lastLoadPromise=null,this.onChangeMetaInfo()}}(0,r.__decorate)([(0,s.hook)("ready"),(0,s.watch)(":resize",{context:window}),(0,s.debounce)()],p.prototype,"addResize",null),(0,r.__decorate)([(0,s.watch)("state.metaInfo")],p.prototype,"onChangeMetaInfo",null),p=(0,r.__decorate)([s.component],p)},8390:function(t,i,n){"use strict";var o=n(82749);n(89683);var r=n(2748),s=n(36409),a=n(50911),l=n(2692);class c extends a.Plugin{afterInit(t){t.registerCommand("changeCase",{exec:(i,n,o)=>{o=o.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(o,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),r.Dom.between(a,l,t=>{this.applyCase(o,t)}),s.setStartAfter(a),s.setEndBefore(l),t.s.selectRange(s),r.Dom.safeRemove(a),r.Dom.safeRemove(l)}}})}applyCase(t,i){if(r.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 r.Dom.each(i,i=>{this.applyCase(t,i)})}beforeDestruct(t){}constructor(...t){super(...t),(0,o._)(this,"buttons",[{name:"changeCase",group:"font-style"}])}}(0,o._)(c,"requires",["license"]),l.JoditPro.plugins.add("change-case",c)},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órios"}},8884:function(t,i,n){"use strict";n.d(i,{Async:function(){return o.Async}});var o=n(26992)},8959:function(t,i,n){"use strict";n.d(i,{UICheckbox:function(){return r.UICheckbox},UIFileInput:function(){return s.UIFileInput},UIInput:function(){return a.UIInput},UISelect:function(){return l.UISelect},UITextArea:function(){return o.UITextArea}});var o=n(85120),r=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 o=n(65478),r=n(22732),s=n(580),a=n(50911),l=n(67510);n(68252);var c=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class u extends a.Plugin{afterInit(t){let{height:i,width:n,allowResizeX:o}=t.o,{allowResizeY:r}=t.o;"auto"===i&&"auto"!==n&&(r=!1),("auto"!==i||"auto"!==n)&&(o||r)&&(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(){r.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"))}}u.requires=["size"],c([o.autobind],u.prototype,"onHandleResizeStart",null),c([o.autobind],u.prototype,"onHandleResize",null),c([o.autobind],u.prototype,"onHandleResizeEnd",null),s.pluginSystem.add("resizeHandler",u)},9881:function(t,i,n){"use strict";var o=n(65478),r=n(2748),s=n(580),a=n(87058),l=n(50911),c=n(67510);n(67215);var u=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(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,o=t.target;for(;void 0===n&&o&&o!==i.editor;)n=i.e.fire((0,a.camelCase)(t.type+"_"+o.nodeName.toLowerCase()),o,t),o=o.parentElement;"click"===t.type&&void 0===n&&o===i.editor&&i.e.fire(t.type+"Editor",o,t)}onOutsideClick(t){let i=t.target;r.Dom.up(i,t=>t===this.j.editor)||c.UIElement.closestElement(i,c.Popup)||this.j.e.fire("outsideClick",t)}beforeCommandCut(){let{s:t}=this.j;if(!t.isCollapsed()){let i=t.current();i&&r.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:o}=i.range;0===o&&r.Dom.isText(n)&&i.select(r.Dom.closest(n,r.Dom.isBlock,this.j.editor)||n,!0)}onCopyNormalizeSelectionBound(t){let{s:i,editor:n,o}=this.j;!o.select.normalizeSelectionBeforeCutAndCopy||i.isCollapsed()||(!t||t.isTrusted&&r.Dom.isNode(t.target)&&r.Dom.isOrContains(n,t.target))&&this.jodit.s.expandSelection()}constructor(){super(...arguments),this.proxyEventsList=["click","mousedown","touchstart","mouseup","touchend"]}}u([o.autobind],d.prototype,"onStartSelection",null),u([(0,o.watch)("ow:click")],d.prototype,"onOutsideClick",null),u([(0,o.watch)([":beforeCommandCut"])],d.prototype,"beforeCommandCut",null),u([(0,o.watch)([":beforeCommandSelectall"])],d.prototype,"beforeCommandSelectAll",null),u([(0,o.watch)([":click"])],d.prototype,"onTripleClickNormalizeSelection",null),u([(0,o.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 r}});var o=n(49055);let r=(...t)=>t.filter(t=>(0,o.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 o},STYLE_CSS_KEY:function(){return l},STYLE_KEY:function(){return s},STYLE_VALID_KEY:function(){return a},TYPE_KEY:function(){return r},listStyleMap:function(){return c}});let o="jd-list-level",r="jd-list-type",s="jd-list-style-type",a="data-list-style-type",l="list-style-type",c={"·":"disc",o:"circle","§":"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 l}});var o=n(68345),r=n(5700),s=n(56917),a=n(34793);function l(t,i,n,l){let c=new s.Popup(i),u=()=>{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]),u()},async filebrowser(t){t&&(0,o.isArray)(t.files)&&t.files.length&&(n.values.imageSrc=t.files[0],u())}},n.image,u)).open(()=>(0,r.position)(l))}},10411:function(t,i,n){"use strict";n.d(i,{formTemplate:function(){return s}});var o=n(62843),r=n(2525);let s=t=>{let{openInNewTabCheckbox:i,noFollowCheckbox:n,modeClassName:s,selectSizeClassName:a,selectMultipleClassName:l,selectOptionsClassName:c}=t.o.link;return new r.UIForm(t,[new r.UIBlock(t,[new r.UIInput(t,{name:"url",type:"text",ref:"url_input",label:"URL",placeholder:"http://",required:!0})]),new r.UIBlock(t,[new r.UIInput(t,{name:"content",ref:"content_input",label:"Text"})],{ref:"content_input_box"}),s?new r.UIBlock(t,["input"===s?new r.UIInput(t,{name:"className",ref:"className_input",label:"Class name"}):"select"===s?new r.UISelect(t,{name:"className",ref:"className_select",label:"Class name",size:a,multiple:l,options:c}):null]):null,i?new r.UICheckbox(t,{name:"target",ref:"target_checkbox",label:"Open in new tab"}):null,n?new r.UICheckbox(t,{name:"nofollow",ref:"nofollow_checkbox",label:"No follow"}):null,new r.UIBlock(t,[new o.UIButton(t,{name:"unlink",variant:"default",text:"Unlink"}),new o.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 o=n(78213),r=n(33433),s=n(87325),a=n(37133),l=n(2748),c=n(23282),u=n(70799),d=n(38837),h=n(29960),p=n(48538),f=n(12153),m=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(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,c.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"),o=this.j.c.span(t+"__text");return i.appendChild(n),i.appendChild(o),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(o.STATUSES.ready,()=>{this.setState(i)})}};function v(t,i,n,o){let r=new b(t);return r.state.tabIndex=t.o.allowTabNavigation?0:-1,(0,u.isString)(i)?(r.state.icon.name=i,r.state.name=i,o&&(r.state.variant=o),n&&(r.state.text=n)):r.setState(i),r}m([r.cache],b.prototype,"text",null),m([r.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([r.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 l}});var o=n(47660),r=n(72690),s=n(90835);function a(){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 l(t,i){let n;switch(this.state.mode="hand",t.type){case"polyline":n=new s.UIPolylineEditor(this.jodit,t.state,this.options);break;case"marker":n=new s.UIMarkerEditor(this.jodit,t.state,this.options);break;case"circle":case"polygon":n=new s.UIPolygonEditor(this.jodit,t.state,this.options)}if(!n)return;this.append(n),this.j.e.on(n,"bin",()=>{o.removeElement.call(this,t)}).on(n,"change",(n,o)=>{r.updateStateAndGme.call(this,{...t.state,[n]:o},i)});let l=a.call(this);if("polygon"===t.type||"polyline"===t.type){let i=t.gme.getPath().getAt(0);l.setPosition(i)}"circle"===t.type&&l.setPosition(t.gme.getCenter()),l.setContent(n.container),l.open(this.map,t.gme),l.addListener("closeclick",()=>{n&&(this.remove(n),n.destruct())})}},11093:function(t,i,n){"use strict";n.d(i,{UIWysiwyg:function(){return c}});var o=n(31635),r=n(87325),s=n(38837),a=n(48538),l=n(2692);class c extends a.UIElement{className(){return"UIWysiwyg"}render(){return`<div>
29
+ </div>`}afterSetMod(t,i){"hidden"===t&&!1===i&&this.onChangeMetaInfo(),super.afterSetMod(t,i)}onChangeMetaInfo(){if(this.getMod("hidden"))return;let{metaInfo:t}=this.state;this.setMod("empty",!t);let i=this.getElm("info");(0,c.assert)(null!=i,"info element does not exists"),a.Dom.detach(i);let n=this.getElm("image");(0,c.assert)(null!=n,"image element does not exists"),(0,l.css)(n,{backgroundImage:null}),t&&(this.setMod("is-file",!1===t.isImage).setMod("type",t.type??"file"),d.UIBrowserItem.prototype.setElementValue.call(this,"name",t.file),d.UIBrowserItem.prototype.setElementValue.call(this,"time",t.time),d.UIBrowserItem.prototype.setElementValue.call(this,"filesize",t.size),this.setMod("loading",!0),this.lastLoadPromise?.rejectCallback(),this.lastLoadPromise=(0,l.loadImage)(t.isImage?t.fileURL:t.imageURL,this.j),this.lastLoadPromise.then(t=>{let i=this.getElm("image");(0,c.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,o._)(this,"state",void 0),(0,o._)(this,"lastLoadPromise",void 0),this.state=i,this.lastLoadPromise=null,this.onChangeMetaInfo()}}(0,r.__decorate)([(0,s.hook)("ready"),(0,s.watch)(":resize",{context:window}),(0,s.debounce)()],p.prototype,"addResize",null),(0,r.__decorate)([(0,s.watch)("state.metaInfo")],p.prototype,"onChangeMetaInfo",null),p=(0,r.__decorate)([s.component],p)},8390:function(t,i,n){"use strict";var o=n(82749);n(89683);var r=n(2748),s=n(36409),a=n(50911),l=n(2692);class c extends a.Plugin{afterInit(t){t.registerCommand("changeCase",{exec:(i,n,o)=>{o=o.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(o,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),r.Dom.between(a,l,t=>{this.applyCase(o,t)}),s.setStartAfter(a),s.setEndBefore(l),t.s.selectRange(s),r.Dom.safeRemove(a),r.Dom.safeRemove(l)}}})}applyCase(t,i){if(r.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 r.Dom.each(i,i=>{this.applyCase(t,i)})}beforeDestruct(t){}constructor(...t){super(...t),(0,o._)(this,"buttons",[{name:"changeCase",group:"font-style"}])}}(0,o._)(c,"requires",["license"]),l.JoditPro.plugins.add("change-case",c)},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órios"}},8884:function(t,i,n){"use strict";n.d(i,{Async:function(){return o.Async}});var o=n(26992)},8959:function(t,i,n){"use strict";n.d(i,{UICheckbox:function(){return r.UICheckbox},UIFileInput:function(){return s.UIFileInput},UIInput:function(){return a.UIInput},UISelect:function(){return l.UISelect},UITextArea:function(){return o.UITextArea}});var o=n(85120),r=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 o=n(65478),r=n(22732),s=n(580),a=n(50911),l=n(67510);n(68252);var c=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class u extends a.Plugin{afterInit(t){let{height:i,width:n,allowResizeX:o}=t.o,{allowResizeY:r}=t.o;"auto"===i&&"auto"!==n&&(r=!1),("auto"!==i||"auto"!==n)&&(o||r)&&(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(){r.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"))}}u.requires=["size"],c([o.autobind],u.prototype,"onHandleResizeStart",null),c([o.autobind],u.prototype,"onHandleResize",null),c([o.autobind],u.prototype,"onHandleResizeEnd",null),s.pluginSystem.add("resizeHandler",u)},9881:function(t,i,n){"use strict";var o=n(65478),r=n(2748),s=n(580),a=n(87058),l=n(50911),c=n(67510);n(67215);var u=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(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,o=t.target;for(;void 0===n&&o&&o!==i.editor;)n=i.e.fire((0,a.camelCase)(t.type+"_"+o.nodeName.toLowerCase()),o,t),o=o.parentElement;"click"===t.type&&void 0===n&&o===i.editor&&i.e.fire(t.type+"Editor",o,t)}onOutsideClick(t){let i=t.target;r.Dom.up(i,t=>t===this.j.editor)||c.UIElement.closestElement(i,c.Popup)||this.j.e.fire("outsideClick",t)}beforeCommandCut(){let{s:t}=this.j;if(!t.isCollapsed()){let i=t.current();i&&r.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:o}=i.range;0===o&&r.Dom.isText(n)&&i.select(r.Dom.closest(n,r.Dom.isBlock,this.j.editor)||n,!0)}onCopyNormalizeSelectionBound(t){let{s:i,editor:n,o}=this.j;!o.select.normalizeSelectionBeforeCutAndCopy||i.isCollapsed()||(!t||t.isTrusted&&r.Dom.isNode(t.target)&&r.Dom.isOrContains(n,t.target))&&this.jodit.s.expandSelection()}constructor(){super(...arguments),this.proxyEventsList=["click","mousedown","touchstart","mouseup","touchend"]}}u([o.autobind],d.prototype,"onStartSelection",null),u([(0,o.watch)("ow:click")],d.prototype,"onOutsideClick",null),u([(0,o.watch)([":beforeCommandCut"])],d.prototype,"beforeCommandCut",null),u([(0,o.watch)([":beforeCommandSelectall"])],d.prototype,"beforeCommandSelectAll",null),u([(0,o.watch)([":click"])],d.prototype,"onTripleClickNormalizeSelection",null),u([(0,o.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 r}});var o=n(49055);let r=(...t)=>t.filter(t=>(0,o.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 o},STYLE_CSS_KEY:function(){return l},STYLE_KEY:function(){return s},STYLE_VALID_KEY:function(){return a},TYPE_KEY:function(){return r},listStyleMap:function(){return c}});let o="jd-list-level",r="jd-list-type",s="jd-list-style-type",a="data-list-style-type",l="list-style-type",c={"·":"disc",o:"circle","§":"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 l}});var o=n(68345),r=n(5700),s=n(56917),a=n(34793);function l(t,i,n,l){let c=new s.Popup(i),u=()=>{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]),u()},async filebrowser(t){t&&(0,o.isArray)(t.files)&&t.files.length&&(n.values.imageSrc=t.files[0],u())}},n.image,u)).open(()=>(0,r.position)(l))}},10411:function(t,i,n){"use strict";n.d(i,{formTemplate:function(){return s}});var o=n(62843),r=n(2525);let s=t=>{let{openInNewTabCheckbox:i,noFollowCheckbox:n,modeClassName:s,selectSizeClassName:a,selectMultipleClassName:l,selectOptionsClassName:c}=t.o.link;return new r.UIForm(t,[new r.UIBlock(t,[new r.UIInput(t,{name:"url",type:"text",ref:"url_input",label:"URL",placeholder:"http://",required:!0})]),new r.UIBlock(t,[new r.UIInput(t,{name:"content",ref:"content_input",label:"Text"})],{ref:"content_input_box"}),s?new r.UIBlock(t,["input"===s?new r.UIInput(t,{name:"className",ref:"className_input",label:"Class name"}):"select"===s?new r.UISelect(t,{name:"className",ref:"className_select",label:"Class name",size:a,multiple:l,options:c}):null]):null,i?new r.UICheckbox(t,{name:"target",ref:"target_checkbox",label:"Open in new tab"}):null,n?new r.UICheckbox(t,{name:"nofollow",ref:"nofollow_checkbox",label:"No follow"}):null,new r.UIBlock(t,[new o.UIButton(t,{name:"unlink",variant:"default",text:"Unlink"}),new o.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 o=n(78213),r=n(33433),s=n(87325),a=n(37133),l=n(2748),c=n(23282),u=n(70799),d=n(38837),h=n(29960),p=n(48538),f=n(12153),m=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(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,c.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"),o=this.j.c.span(t+"__text");return i.appendChild(n),i.appendChild(o),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(o.STATUSES.ready,()=>{this.setState(i)})}};function v(t,i,n,o){let r=new b(t);return r.state.tabIndex=t.o.allowTabNavigation?0:-1,(0,u.isString)(i)?(r.state.icon.name=i,r.state.name=i,o&&(r.state.variant=o),n&&(r.state.text=n)):r.setState(i),r}m([r.cache],b.prototype,"text",null),m([r.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([r.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 l}});var o=n(47660),r=n(72690),s=n(90835);function a(){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 l(t,i){let n;switch(this.state.mode="hand",t.type){case"polyline":n=new s.UIPolylineEditor(this.jodit,t.state,this.options);break;case"marker":n=new s.UIMarkerEditor(this.jodit,t.state,this.options);break;case"circle":case"polygon":n=new s.UIPolygonEditor(this.jodit,t.state,this.options)}if(!n)return;this.append(n),this.j.e.on(n,"bin",()=>{o.removeElement.call(this,t)}).on(n,"change",(n,o)=>{r.updateStateAndGme.call(this,{...t.state,[n]:o},i)});let l=a.call(this);if("polygon"===t.type||"polyline"===t.type){let i=t.gme.getPath().getAt(0);l.setPosition(i)}"circle"===t.type&&l.setPosition(t.gme.getCenter()),l.setContent(n.container),l.open(this.map,t.gme),l.addListener("closeclick",()=>{n&&(this.remove(n),n.destruct())})}},11093:function(t,i,n){"use strict";n.d(i,{UIWysiwyg:function(){return c}});var o=n(31635),r=n(87325),s=n(38837),a=n(48538),l=n(2692);class c extends a.UIElement{className(){return"UIWysiwyg"}render(){return`<div>
30
30
  <div class='&__label'>~Info~</div>
31
31
  <div class='&__editor'></div>
32
- </div>`}constructor(t,i,n,o){super(t);const r=this.getElm("editor");(0,s.assert)(null!=r,"editor element does not exist");const a=l.JoditPro.make(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});a.value=n,a.e.on("change",()=>o(a.value))}}c=(0,o.__decorate)([r.component],c)},11317:function(t,i,n){"use strict";var o=n(2748),r=n(580),s=n(6441),a=n(92762);s.Config.prototype.controls.file={popup(t,i,n){let r=(i,n="")=>{t.s.insertNode(t.createInside.fromHTML(`<a href="${i}" title="${n}">${n||i}</a>`))},s=null;return i&&(o.Dom.isTag(i,"a")||o.Dom.closest(i,"a",t.editor))&&(s=o.Dom.isTag(i,"a")?i:o.Dom.closest(i,"a",t.editor)),(0,a.FileSelectorWidget)(t,{filebrowser(t){t.files&&t.files.forEach(i=>r(t.baseurl+i)),n()},upload:!0,url(t,i){s?(s.setAttribute("href",t),s.setAttribute("title",i)):r(t,i),n()}},s,n,!1)},tags:["a"],tooltip:"Insert file"},r.pluginSystem.add("file",function(t){t.registerButton({name:"file",group:"media"})})},11338:function(t,i,n){"use strict";function o(t){return!t.s.isCollapsed()&&(t.execCommand("Delete"),!0)}n.d(i,{checkNotCollapsed:function(){return o}})},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 c}});var o=n(2748),r=n(70799),s=n(29960),a=n(41180),l=n(76078);function c(t,i,n="px",u=null){let d=[],h=function(t,i){let n=[];try{(0,l.$$)("img",t.editor).forEach(r=>{let a=[(0,s.attr)(r,"width"),(0,s.attr)(r,"height"),r.src];(0,s.attr)(r,{width:r.offsetWidth+i,height:r.offsetHeight+i});let l=t.createInside.a();t.ed.body.appendChild(l),l.href=r.src,r.src=l.href,o.Dom.safeRemove(l),n.push(()=>{var t;r.src=null!=(t=a[2])?t:"",(0,s.attr)(r,{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 c=t.c.div("jodit__preview-box jodit-context");u&&u.appendChild(c),(0,a.css)(c,{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}),c.appendChild(i);let n=i.contentWindow;if(n&&(t.e.fire("generateDocumentStructure.iframe",n.document,t),c=n.document.body,"function"==typeof ResizeObserver)){let o=!1,r=n.document.body,s=new ResizeObserver(t.async.debounce(()=>{s.unobserve(r),i.style.height=`${r.offsetHeight+20}px`,t.async.requestAnimationFrame(()=>{o||s.observe(r)})},100)),a=()=>{o=!0,s.unobserve(r),s.disconnect(),t.e.off("beforeDestruct",a)};d.push(a),t.e.on("beforeDestruct",a)}}else(0,a.css)(c,{minWidth:1024,minHeight:600,border:0});let p=(i,n)=>{let a=(0,r.isString)(n)?t.c.div():n;(0,r.isString)(n)&&(a.innerHTML=n);for(let t=0;t<a.childNodes.length;t+=1){let n=a.childNodes[t];if(o.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||o.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(c,h),t.e.fire("afterPreviewBox",c),[c,()=>{d.forEach(t=>t())}]}finally{h.forEach(t=>t())}}},11676:function(t,i,n){"use strict";n.d(i,{ToolbarCollection:function(){return p}});var o=n(65478),r=n(45219),s=n(87325),a=n(97357),l=n(37133),c=n(82760),u=n(24536),d=n(21491),h=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let p=class t extends u.UIList{className(){return"ToolbarCollection"}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,c.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"),r.autobind],p.prototype,"__immediateUpdate",null),h([(0,o.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 c}});var o=n(31635),r=n(65478),s=n(62357),a=n(45128),l=n(69398);class c extends l.UIPolylineEditor{className(){return"UIPolygonEditor"}onReady(){this.append([new a.ColorInput(this.j,{label:"Fill color",value:this.state.fillColor??"#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:this.state.fillOpacity??1,onChange:t=>{this.j.e.fire(this,"change","fillOpacity",parseFloat(t)||0)}}).setMod("log",!1)],"form")}}(0,o.__decorate)([(0,r.hook)("ready")],c.prototype,"onReady",null),c=(0,o.__decorate)([r.component],c)},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 l},default:function(){return u}});var o=n(82758),r=n(21537),s=n(41601),a=n(159);let l="default",c=new Set(["allowFiles","allowFileMove","allowFileUpload","allowFileUploadRemote","allowFileRemove","allowFileRename","allowFolders","allowFolderMove","allowFolderCreate","allowFolderRemove","allowFolderRename","allowImageResize","allowImageCrop"]);class u{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,r.ConfigProto)(void 0!==this.options[t]?this.options[t]:{},(0,r.ConfigProto)({onProgress:this.progressHandler},this.o.ajax));n.prepareData&&(n.data=n.prepareData.call(this,n.data));let o=new s.Ajax(n);i.set(t,o);let a=o.send();return a.finally(()=>{o.destruct(),i.delete(t),this.progressHandler(100)}).catch(()=>null),a.then(t=>t.json()).then(t=>{if(t&&!this.isSuccess(t))throw Error(this.getMessage(t));return t})}onProgress(t){this.progressHandler=t}async permissions(t,i){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,r.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}canI(t){let i="allow"+t;if(!o.IS_PROD&&!c.has(i))throw(0,r.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,o){let r=this.options;return r.items?(r.items.data.path=t,r.items.data.source=i,r.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)),o(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=[],o=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:s}=this.o;(0,r.isFunction)(s)&&i.sortBy&&t.files.sort((t,n)=>s(t,n,i.sortBy)),t.files.forEach(r=>{o(r)&&("folder"===r.type||!i.onlyImages||void 0===r.isImage||r.isImage)&&n.push(a.FileBrowserItem.create({...r,sourceName:t.name,source:t}))})}}),n}async tree(t,i){return(t=(0,r.normalizeRelativePath)(t),this.o.folder)?(await 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"))}getPathByUrl(t){return(0,r.set)("options.getLocalFileByUrl.data.url",t,this),this.get("getLocalFileByUrl").then(t=>{if(this.isSuccess(t))return t.data;throw(0,r.error)(this.getMessage(t))})}createFolder(t,i,n){let{create:o}=this.o;if(!o)throw(0,r.error)("Set Create api options");return o.data.source=n,o.data.path=i,o.data.name=t,this.get("create").then(t=>{if(this.isSuccess(t))return!0;throw(0,r.error)(this.getMessage(t))})}move(t,i,n,o){let s=o?"fileMove":"folderMove",a=this.options[s];if(!a)throw(0,r.error)("Set Move api options");return a.data.from=t,a.data.path=i,a.data.source=n,this.get(s).then(t=>{if(this.isSuccess(t))return!0;throw(0,r.error)(this.getMessage(t))})}remove(t,i,n,o){let s=this.o[t];if(!s)throw(0,r.error)(`Set "${t}" api options`);return s.data.path=i,s.data.name=n,s.data.source=o,this.get(t).then(t=>(s.process&&(t=s.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,o,s){let a=this.o[t];if(!a)throw(0,r.error)(`Set "${t}" api options`);return a.data.path=i,a.data.name=n,a.data.newname=o,a.data.source=s,this.get(t).then(t=>(a.process&&(t=a.process.call(self,t)),this.getMessage(t)))}folderRename(t,i,n,o){return this.rename("folderRename",t,i,n,o)}fileRename(t,i,n,o){return this.rename("fileRename",t,i,n,o)}changeImage(t,i,n,o,r,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=r||o,s&&(a.data.box=s),a.data.path=i,a.data.name=o,a.data.source=n,this.get(t).then(()=>!0)}crop(t,i,n,o,r){return this.changeImage("crop",t,i,n,o,r)}resize(t,i,n,o,r){return this.changeImage("resize",t,i,n,o,r)}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=>{}}}},12019:function(t,i,n){"use strict";var o=n(82758),r=n(65478),s=n(2748),a=n(580),l=n(21537),c=n(20356);n(71675);var u=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let d="__jodit-resizer_binded";class h extends c.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:o}}=this.j;for(;i&&i!==n;){if(s.Dom.isTag(i,o)){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===o.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 o=this.getWorkplacePosition();i=t.clientX+o.left-this.startX,n=t.clientY+o.top-this.startY}else i=this.pointerX-this.startX,n=this.pointerY-this.startY;let o=this.handle.className,r=0,a=0,c=this.j.o.resizer.useAspectRatio;!this.isAltMode&&(!0===c||c&&s.Dom.isTag(this.element,c))?(i?a=Math.round((r=this.width+(o.match(/left/)?-1:1)*i)/this.ratio):r=Math.round((a=this.height+(o.match(/top/)?-1:1)*n)*this.ratio),r>(0,l.innerWidth)(this.j.editor,this.j.ow)&&(a=Math.round((r=(0,l.innerWidth)(this.j.editor,this.j.ow))/this.ratio))):(r=this.width+(o.match(/left/)?-1:1)*i,a=this.height+(o.match(/top/)?-1:1)*n),r>this.j.o.resizer.min_width&&(r<this.rect.parentNode.offsetWidth?this.applySize(this.element,"width",r):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===o.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 o=s.Dom.isImage(t)&&this.j.o.resizer.forImageChangeAttributes;o&&(0,l.attr)(t,i,n),(!o||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),!o.IS_ES_NEXT&&o.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">
32
+ </div>`}constructor(t,i,n,o){super(t);const r=this.getElm("editor");(0,s.assert)(null!=r,"editor element does not exist");const a=l.JoditPro.make(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});a.value=n,a.e.on("change",()=>o(a.value))}}c=(0,o.__decorate)([r.component],c)},11317:function(t,i,n){"use strict";var o=n(2748),r=n(580),s=n(6441),a=n(92762);s.Config.prototype.controls.file={popup(t,i,n){let r=(i,n="")=>{t.s.insertNode(t.createInside.fromHTML(`<a href="${i}" title="${n}">${n||i}</a>`))},s=null;return i&&(o.Dom.isTag(i,"a")||o.Dom.closest(i,"a",t.editor))&&(s=o.Dom.isTag(i,"a")?i:o.Dom.closest(i,"a",t.editor)),(0,a.FileSelectorWidget)(t,{filebrowser(t){t.files&&t.files.forEach(i=>r(t.baseurl+i)),n()},upload:!0,url(t,i){s?(s.setAttribute("href",t),s.setAttribute("title",i)):r(t,i),n()}},s,n,!1)},tags:["a"],tooltip:"Insert file"},r.pluginSystem.add("file",function(t){t.registerButton({name:"file",group:"media"})})},11338:function(t,i,n){"use strict";function o(t){return!t.s.isCollapsed()&&(t.execCommand("Delete"),!0)}n.d(i,{checkNotCollapsed:function(){return o}})},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 c}});var o=n(2748),r=n(70799),s=n(29960),a=n(41180),l=n(76078);function c(t,i,n="px",u=null){let d=[],h=function(t,i){let n=[];try{(0,l.$$)("img",t.editor).forEach(r=>{let a=[(0,s.attr)(r,"width"),(0,s.attr)(r,"height"),r.src];(0,s.attr)(r,{width:r.offsetWidth+i,height:r.offsetHeight+i});let l=t.createInside.a();t.ed.body.appendChild(l),l.href=r.src,r.src=l.href,o.Dom.safeRemove(l),n.push(()=>{var t;r.src=null!=(t=a[2])?t:"",(0,s.attr)(r,{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 c=t.c.div("jodit__preview-box jodit-context");u&&u.appendChild(c),(0,a.css)(c,{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}),c.appendChild(i);let n=i.contentWindow;if(n&&(t.e.fire("generateDocumentStructure.iframe",n.document,t),c=n.document.body,"function"==typeof ResizeObserver)){let o=!1,r=n.document.body,s=new ResizeObserver(t.async.debounce(()=>{s.unobserve(r),i.style.height=`${r.offsetHeight+20}px`,t.async.requestAnimationFrame(()=>{o||s.observe(r)})},100)),a=()=>{o=!0,s.unobserve(r),s.disconnect(),t.e.off("beforeDestruct",a)};d.push(a),t.e.on("beforeDestruct",a)}}else(0,a.css)(c,{minWidth:1024,minHeight:600,border:0});let p=(i,n)=>{let a=(0,r.isString)(n)?t.c.div():n;(0,r.isString)(n)&&(a.innerHTML=n);for(let t=0;t<a.childNodes.length;t+=1){let n=a.childNodes[t];if(o.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||o.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(c,h),t.e.fire("afterPreviewBox",c),[c,()=>{d.forEach(t=>t())}]}finally{h.forEach(t=>t())}}},11676:function(t,i,n){"use strict";n.d(i,{ToolbarCollection:function(){return p}});var o=n(65478),r=n(45219),s=n(87325),a=n(97357),l=n(37133),c=n(82760),u=n(24536),d=n(21491),h=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let p=class t extends u.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,c.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"),r.autobind],p.prototype,"__immediateUpdate",null),h([(0,o.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 c}});var o=n(31635),r=n(65478),s=n(62357),a=n(45128),l=n(69398);class c extends l.UIPolylineEditor{className(){return"UIPolygonEditor"}onReady(){this.append([new a.ColorInput(this.j,{label:"Fill color",value:this.state.fillColor??"#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:this.state.fillOpacity??1,onChange:t=>{this.j.e.fire(this,"change","fillOpacity",parseFloat(t)||0)}}).setMod("log",!1)],"form")}}(0,o.__decorate)([(0,r.hook)("ready")],c.prototype,"onReady",null),c=(0,o.__decorate)([r.component],c)},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 l},default:function(){return u}});var o=n(82758),r=n(21537),s=n(41601),a=n(159);let l="default",c=new Set(["allowFiles","allowFileMove","allowFileUpload","allowFileUploadRemote","allowFileRemove","allowFileRename","allowFolders","allowFolderMove","allowFolderCreate","allowFolderRemove","allowFolderRename","allowImageResize","allowImageCrop"]);class u{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,r.ConfigProto)(void 0!==this.options[t]?this.options[t]:{},(0,r.ConfigProto)({onProgress:this.progressHandler},this.o.ajax));n.prepareData&&(n.data=n.prepareData.call(this,n.data));let o=new s.Ajax(n);i.set(t,o);let a=o.send();return a.finally(()=>{o.destruct(),i.delete(t),this.progressHandler(100)}).catch(()=>null),a.then(t=>t.json()).then(t=>{if(t&&!this.isSuccess(t))throw Error(this.getMessage(t));return t})}onProgress(t){this.progressHandler=t}async permissions(t,i){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,r.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}canI(t){let i="allow"+t;if(!o.IS_PROD&&!c.has(i))throw(0,r.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,o){let r=this.options;return r.items?(r.items.data.path=t,r.items.data.source=i,r.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)),o(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=[],o=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:s}=this.o;(0,r.isFunction)(s)&&i.sortBy&&t.files.sort((t,n)=>s(t,n,i.sortBy)),t.files.forEach(r=>{o(r)&&("folder"===r.type||!i.onlyImages||void 0===r.isImage||r.isImage)&&n.push(a.FileBrowserItem.create({...r,sourceName:t.name,source:t}))})}}),n}async tree(t,i){return(t=(0,r.normalizeRelativePath)(t),this.o.folder)?(await 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"))}getPathByUrl(t){return(0,r.set)("options.getLocalFileByUrl.data.url",t,this),this.get("getLocalFileByUrl").then(t=>{if(this.isSuccess(t))return t.data;throw(0,r.error)(this.getMessage(t))})}createFolder(t,i,n){let{create:o}=this.o;if(!o)throw(0,r.error)("Set Create api options");return o.data.source=n,o.data.path=i,o.data.name=t,this.get("create").then(t=>{if(this.isSuccess(t))return!0;throw(0,r.error)(this.getMessage(t))})}move(t,i,n,o){let s=o?"fileMove":"folderMove",a=this.options[s];if(!a)throw(0,r.error)("Set Move api options");return a.data.from=t,a.data.path=i,a.data.source=n,this.get(s).then(t=>{if(this.isSuccess(t))return!0;throw(0,r.error)(this.getMessage(t))})}remove(t,i,n,o){let s=this.o[t];if(!s)throw(0,r.error)(`Set "${t}" api options`);return s.data.path=i,s.data.name=n,s.data.source=o,this.get(t).then(t=>(s.process&&(t=s.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,o,s){let a=this.o[t];if(!a)throw(0,r.error)(`Set "${t}" api options`);return a.data.path=i,a.data.name=n,a.data.newname=o,a.data.source=s,this.get(t).then(t=>(a.process&&(t=a.process.call(self,t)),this.getMessage(t)))}folderRename(t,i,n,o){return this.rename("folderRename",t,i,n,o)}fileRename(t,i,n,o){return this.rename("fileRename",t,i,n,o)}changeImage(t,i,n,o,r,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=r||o,s&&(a.data.box=s),a.data.path=i,a.data.name=o,a.data.source=n,this.get(t).then(()=>!0)}crop(t,i,n,o,r){return this.changeImage("crop",t,i,n,o,r)}resize(t,i,n,o,r){return this.changeImage("resize",t,i,n,o,r)}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=>{}}}},12019:function(t,i,n){"use strict";var o=n(82758),r=n(65478),s=n(2748),a=n(580),l=n(21537),c=n(20356);n(71675);var u=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let d="__jodit-resizer_binded";class h extends c.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:o}}=this.j;for(;i&&i!==n;){if(s.Dom.isTag(i,o)){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===o.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 o=this.getWorkplacePosition();i=t.clientX+o.left-this.startX,n=t.clientY+o.top-this.startY}else i=this.pointerX-this.startX,n=this.pointerY-this.startY;let o=this.handle.className,r=0,a=0,c=this.j.o.resizer.useAspectRatio;!this.isAltMode&&(!0===c||c&&s.Dom.isTag(this.element,c))?(i?a=Math.round((r=this.width+(o.match(/left/)?-1:1)*i)/this.ratio):r=Math.round((a=this.height+(o.match(/top/)?-1:1)*n)*this.ratio),r>(0,l.innerWidth)(this.j.editor,this.j.ow)&&(a=Math.round((r=(0,l.innerWidth)(this.j.editor,this.j.ow))/this.ratio))):(r=this.width+(o.match(/left/)?-1:1)*i,a=this.height+(o.match(/top/)?-1:1)*n),r>this.j.o.resizer.min_width&&(r<this.rect.parentNode.offsetWidth?this.applySize(this.element,"width",r):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===o.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 o=s.Dom.isImage(t)&&this.j.o.resizer.forImageChangeAttributes;o&&(0,l.attr)(t,i,n),(!o||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),!o.IS_ES_NEXT&&o.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">
33
33
  <div class="jodit-resizer__top-left"></div>
34
34
  <div class="jodit-resizer__top-right"></div>
35
35
  <div class="jodit-resizer__bottom-right"></div>
@@ -117,8 +117,8 @@
117
117
  </div>
118
118
  </form>`)}},22732:function(t,i,n){"use strict";n.d(i,{Dom:function(){return o.Dom},LazyWalker:function(){return r.LazyWalker}});var o=n(2748),r=n(70071)},22859:function(t,i,n){"use strict";n.d(i,{ColorPickerWidget:function(){return l}});var o=n(22732),r=n(21537),s=n(67510),a=n(37068);s.Icon.set("palette",a.default);let l=(t,i,n)=>{let a="jodit-color-picker",l=(0,r.normalizeColor)(n),c=t.c.div(a),u=t.o.textIcons?`<span>${t.i18n("palette")}</span>`:s.Icon.get("palette"),d=t=>{let i=[];return(0,r.isPlainObject)(t)?Object.keys(t).forEach(n=>{i.push(`<div class="${a}__group ${a}__group-${n}">`),i.push(d(t[n])),i.push("</div>")}):(0,r.isArray)(t)&&t.forEach(t=>{i.push(`<span class='${a}__color-item ${l===t?a+"__color-item_active_true":""}' title="${t}" style="background-color:${t}" data-color="${t}"></span>`)}),i.join("")};c.appendChild(t.c.fromHTML(`<div class="${a}__groups">${d(t.o.colors)}</div>`)),c.appendChild(t.c.fromHTML(`<div data-ref="extra" class="${a}__extra"></div>`));let{extra:h}=(0,r.refs)(c);return t.o.showBrowserColorPicker&&(0,r.hasBrowserColorPicker)()&&(h.appendChild(t.c.fromHTML(`<div class="${a}__native">${u}<input type="color" value="#ffffff"/></div>`)),t.e.on(c,"change",t=>{t.stopPropagation();let n=t.target;if(!n||!n.tagName||!o.Dom.isTag(n,"input"))return;let s=n.value||"";(0,r.isFunction)(i)&&i(s),t.preventDefault()})),t.e.on(c,"mousedown touchend",n=>{n.stopPropagation(),n.preventDefault();let s=n.target;if((!s||!s.tagName||o.Dom.isTag(s,"svg")||o.Dom.isTag(s,"path"))&&s.parentNode&&(s=o.Dom.closest(s.parentNode,"span",t.editor)),!o.Dom.isTag(s,"span")||!s.classList.contains(a+"__color-item"))return;let l=(0,r.attr)(s,"-color")||"";i&&(0,r.isFunction)(i)&&i(l)}),t.e.fire("afterGenerateColorPicker",c,h,i,l),c}},23140:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M960 896q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm300 64l507 398q28 20 25 56-5 35-35 51l-128 64q-13 7-29 7-17 0-31-8l-690-387-110 66q-8 4-12 5 14 49 10 97-7 77-56 147.5t-132 123.5q-132 84-277 84-136 0-222-78-90-84-79-207 7-76 56-147t131-124q132-84 278-84 83 0 151 31 9-13 22-22l122-73-122-73q-13-9-22-22-68 31-151 31-146 0-278-84-82-53-131-124t-56-147q-5-59 15.5-113t63.5-93q85-79 222-79 145 0 277 84 83 52 132 123t56 148q4 48-10 97 4 1 12 5l110 66 690-387q14-8 31-8 16 0 29 7l128 64q30 16 35 51 3 36-25 56zm-681-260q46-42 21-108t-106-117q-92-59-192-59-74 0-113 36-46 42-21 108t106 117q92 59 192 59 74 0 113-36zm-85 745q81-51 106-117t-21-108q-39-36-113-36-100 0-192 59-81 51-106 117t21 108q39 36 113 36 100 0 192-59zm178-613l96 58v-11q0-36 33-56l14-8-79-47-26 26q-3 3-10 11t-12 12q-2 2-4 3.5t-3 2.5zm224 224l96 32 736-576-128-64-768 431v113l-160 96 9 8q2 2 7 6 4 4 11 12t11 12l26 26zm704 416l128-64-520-408-177 138q-2 3-13 7z"/> </svg> '},23282:function(t,i,n){"use strict";function o(t){return"function"==typeof t}n.d(i,{isFunction:function(){return o}})},23287:function(t){t.exports={"Show Blocks":"Visualizza Blocchi"}},23370:function(t,i,n){"use strict";n.d(i,{SourceEditor:function(){return o}});class o{get j(){return this.jodit}onReady(){this.replaceUndoManager(),this.isReady=!0,this.j.e.fire(this,"ready")}onReadyAlways(t){var i;this.isReady?t():null==(i=this.j.events)||i.on(this,"ready",t)}constructor(t,i,n,o){this.jodit=t,this.container=i,this.toWYSIWYG=n,this.fromWYSIWYG=o,this.className="",this.isReady=!1}}},23399:function(t,i,n){"use strict";var o=n(580),r=n(21537);n(28252),o.pluginSystem.add("font",function(t){t.registerButton({name:"font",group:"font"}).registerButton({name:"fontsize",group:"font"});let i=(i,n,o)=>{switch(i){case"fontsize":t.s.commitStyle({attributes:{style:{fontSize:(0,r.normalizeSize)(o,t.o.defaultFontSizePoints)}}});break;case"fontname":t.s.commitStyle({attributes:{style:{fontFamily:o}}})}return t.synchronizeValues(),!1};t.registerCommand("fontsize",i).registerCommand("fontname",i)})},23512:function(t,i,n){"use strict";n.d(i,{StatusBar:function(){return c}});var o=n(91907),r=n(65478),s=n(2748),a=n(14316),l=n(34176);let c=class t extends o.ViewComponent{className(){return"StatusBar"}hide(){this.container.classList.add("jodit_hidden")}show(){this.container.classList.remove("jodit_hidden")}get isShown(){return!this.container.classList.contains("jodit_hidden")}getHeight(){var t,i;return null!=(i=null==(t=this.container)?void 0:t.offsetHeight)?i:0}findEmpty(t=!1){let i=this.getElms(t?"item-right":"item");for(let t=0;t<i.length;t+=1)if(!i[t].innerHTML.trim().length)return i[t]}append(t,i=!1){var n;let o=this.findEmpty(i)||this.j.c.div(this.getFullElName("item"));i&&o.classList.add(this.getFullElName("item-right")),o.appendChild(t),null==(n=this.container)||n.appendChild(o),this.j.o.statusbar&&this.show(),this.j.e.fire("resize")}destruct(){this.isInDestruct||(this.setStatus(o.STATUSES.beforeDestruct),s.Dom.safeRemove(this.container),super.destruct())}constructor(t,i){super(t),this.target=i,this.mods={},this.container=t.c.div("jodit-status-bar"),i.appendChild(this.container),this.hide()}};c=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([r.component,(0,r.derive)(l.Mods,a.Elms)],c)},23531:function(t,i,n){"use strict";var o=n(22732),r=n(580),s=n(21537),a=n(12153),l=n(6441),c=n(92762),u=n(25179);a.Icon.set("image",u.default),l.Config.prototype.controls.image={popup(t,i,n){let r=null;return i&&!o.Dom.isText(i)&&o.Dom.isHTMLElement(i)&&(o.Dom.isTag(i,"img")||(0,s.$$)("img",i).length)&&(r=o.Dom.isTag(i,"img")?i:(0,s.$$)("img",i)[0]),t.s.save(),(0,c.FileSelectorWidget)(t,{filebrowser(i){t.s.restore(),i.files&&i.files.forEach(n=>t.s.insertImage(i.baseurl+n,null,t.o.imageDefaultWidth)),n()},upload:!0,async url(i,o){t.s.restore(),/^[a-z\d_-]+(\.[a-z\d_-]+)+/i.test(i)&&(i="//"+i);let s=r||t.createInside.element("img");s.setAttribute("src",i),s.setAttribute("alt",o),r||await t.s.insertImage(s,null,t.o.imageDefaultWidth),n()}},r,n)},tags:["img"],tooltip:"Insert Image"},r.pluginSystem.add("image",function(t){t.registerButton({name:"image",group:"media"})})},23658:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <g transform="scale(1.2 1.2) translate(-2 -0.5)"> <path d="M 22,12.5 A 1.49995,1.49995 0 0 0 20.50006,11 H 20 V 10 A 3,3 0 0 0 17,7 H 13 V 5.7226 a 2,2 0 1 0 -2,0 V 7 H 7 a 3,3 0 0 0 -3,3 v 1 H 3.49994 a 1.5,1.5 0 0 0 0,3 H 4 v 1 A 3.00128,3.00128 0 0 0 6.20251,17.89282 1.03113,1.03113 0 0 1 7,18.86975 v 0.716 a 0.99928,0.99928 0 0 0 1.00726,1.002 0.9792,0.9792 0 0 0 0.69983,-0.29486 l 2,-2 A 1,1 0 0 1 11.41425,18 H 17 a 3,3 0 0 0 3,-3 v -1 h 0.50006 A 1.49995,1.49995 0 0 0 22,12.5 Z M 19,15 a 2.00226,2.00226 0 0 1 -2,2 H 11.41425 A 1.987,1.987 0 0 0 10,17.58575 l -2,2 v -0.716 A 2.02082,2.02082 0 0 0 6.46771,16.92865 2.00439,2.00439 0 0 1 5,15 V 10 A 2.00226,2.00226 0 0 1 7,8 h 10 a 2.00222,2.00222 0 0 1 2,2 z M 10,12.5 A 1.5,1.5 0 1 1 8.5,11 1.5,1.5 0 0 1 10,12.5 Z m 7,0 A 1.5,1.5 0 1 1 15.5,11 1.5,1.5 0 0 1 17,12.5 Z"/> </g> </svg> '},23738:function(t,i,n){"use strict";n.d(i,{getSuitChild:function(){return a}});var o=n(2748),r=n(29136),s=n(97380);function a(t,i){let{firstChild:n}=i;for(;n&&!(0,r.isNormalNode)(n);)if(!(n=n.nextSibling))return null;return n&&!o.Dom.next(n,r.isNormalNode,i)&&(0,s.isSuitElement)(t,n,!1)?n:null}},23769:function(t,i,n){"use strict";n.d(i,{ProgressBar:function(){return s}});var o=n(2748),r=n(48538);class s extends r.UIElement{className(){return"ProgressBar"}render(){return"<div><div></div></div>"}show(){return(this.j.workplace||this.j.container).appendChild(this.container),this}hide(){return o.Dom.safeRemove(this.container),this}progress(t){return this.container.style.width=t.toFixed(2)+"%",this}destruct(){return this.hide(),super.destruct()}}},23914:function(t,i,n){"use strict";n.r(i),n.d(i,{ar:function(){return o.default},cs_cz:function(){return r.default},de:function(){return s.default},es:function(){return a.default},fa:function(){return l.default},fi:function(){return c.default},fr:function(){return u.default},he:function(){return d.default},hu:function(){return h.default},id:function(){return p.default},it:function(){return f.default},ja:function(){return m.default},ko:function(){return g.default},mn:function(){return b.default},nl:function(){return v.default},pl:function(){return y.default},pt_br:function(){return w.default},ru:function(){return _.default},tr:function(){return C.default},zh_cn:function(){return k.default},zh_tw:function(){return S.default}});var o=n(63819),r=n(72392),s=n(74551),a=n(2536),l=n(52285),c=n(12117),u=n(35140),d=n(28435),h=n(98019),p=n(96457),f=n(33561),m=n(96545),g=n(52230),b=n(33307),v=n(71042),y=n(32172),w=n(39179),_=n(60629),C=n(68278),k=n(1172),S=n(4164)},24231:function(t,i){"use strict";i.default='<svg viewBox="0 0 18.151 18.151" xmlns="http://www.w3.org/2000/svg"> <g> <path stroke-width="0" d="M6.237,16.546H3.649V1.604h5.916v5.728c0.474-0.122,0.968-0.194,1.479-0.194 c0.042,0,0.083,0.006,0.125,0.006V0H2.044v18.15h5.934C7.295,17.736,6.704,17.19,6.237,16.546z"/> <path stroke-width="0" d="M11.169,8.275c-2.723,0-4.938,2.215-4.938,4.938s2.215,4.938,4.938,4.938s4.938-2.215,4.938-4.938 S13.892,8.275,11.169,8.275z M11.169,16.81c-1.983,0-3.598-1.612-3.598-3.598c0-1.983,1.614-3.597,3.598-3.597 s3.597,1.613,3.597,3.597C14.766,15.198,13.153,16.81,11.169,16.81z"/> <polygon stroke-width="0" points="11.792,11.073 10.502,11.073 10.502,12.578 9.03,12.578 9.03,13.868 10.502,13.868 10.502,15.352 11.792,15.352 11.792,13.868 13.309,13.868 13.309,12.578 11.792,12.578 "/> </g> </svg> '},24351:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"Kontrola pravopisu"}},24526:function(t,i,n){"use strict";var o=n(12153),r=n(6441),s=n(61122),a=n(62e3),l=n(66789),c=n(20882),u=n(14306),d=n(24231),h=n(75393),p=n(14862),f=n(96257),m=n(9914),g=n(53696),b=n(33489);r.Config.prototype.toolbarInline=!0,r.Config.prototype.toolbarInlineForSelection=!1,r.Config.prototype.toolbarInlineDisableFor=[],r.Config.prototype.toolbarInlineDisabledButtons=["source"],o.Icon.set("addcolumn",d.default).set("addrow",h.default).set("merge",p.default).set("th",g.default).set("splitg",f.default).set("splitv",m.default).set("th-list",b.default),r.Config.prototype.popup={a:s.default,img:c.default,cells:a.default,toolbar:u.default,jodit:l.default,iframe:l.default,"jodit-media":l.default,selection:["bold","underline","italic","ul","ol",`
119
119
  `,"outdent","indent","fontsize","brush","cut",`
120
- `,"paragraph","link","align","dots"]}},24536:function(t,i,n){"use strict";n.d(i,{UIList:function(){return b}});var o=n(4012),r=n(87325),s=n(97357),a=n(37133),l=n(46559),c=n(10830),u=n(62405),d=n(92113),h=n(34244),p=n(43649),f=n(72157),m=n(71262),g=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let b=class t extends u.UIGroup{className(){return"UIList"}__onChangeMode(){this.setMod("mode",this.mode)}makeGroup(){return new u.UIGroup(this.jodit)}get buttons(){return this.allChildren.filter(t=>o.Component.isInstanceOf(t,c.UIButton))}getButtonsNames(){return this.buttons.map(t=>t instanceof c.UIButton&&t.state.name||"").filter(t=>""!==t)}setRemoveButtons(t){return this.removeButtons=t||[],this}build(t,i=null){let n;t=(0,l.splitArray)(t),this.clear();let o=!1,r=this.makeGroup();this.append(r),r.setMod("line",!0);let s=t=>{let s=null;switch(t.name){case`
121
- `:(r=this.makeGroup()).setMod("line",!0),n=this.makeGroup(),r.append(n),this.append(r);break;case"|":o||(o=!0,s=new d.UISeparator(this.j));break;case"---":{n.setMod("before-spacer",!0);let t=new h.UISpacer(this.j);r.append(t),n=this.makeGroup(),r.append(n),o=!1;break}default:o=!1,s="select"===t.component?this.makeSelect(t,i):this.makeButton(t,i)}s&&(n||(n=this.makeGroup(),r.append(n)),n.append(s))},a=t=>{var i;return!this.removeButtons.includes(t.name)&&(!t.isVisible||(null==(i=t.isVisible)?void 0:i.call(t,this.j,t)))};return t.forEach(t=>{if((0,p.isButtonGroup)(t)){let i=t.buttons.filter(t=>t);i.length&&((n=this.makeGroup()).setMod("separated",!0).setMod("group",t.group),r.append(n),(0,m.getStrongControlTypes)(i,this.j.o.controls).filter(a).forEach(s))}else{n||(n=this.makeGroup(),r.append(n));let i=(0,f.getControlType)(t,this.j.o.controls);a(i)&&s(i)}}),this.update(),this}makeSelect(t,i){throw Error("Not implemented behaviour")}makeButton(t,i){return new c.UIButton(this.j,{name:t.name})}constructor(){super(...arguments),this.mode="horizontal",this.removeButtons=[]}};g([(0,a.watch)("mode"),(0,s.hook)("ready")],b.prototype,"__onChangeMode",null),b=g([r.component],b)},24630:function(t,i,n){"use strict";var o=n(2748),r=n(72430),s=n(12153),a=n(6441),l=n(89816);s.Icon.set("paragraph",l.default),a.Config.prototype.controls.paragraph={command:"formatBlock",value(t,i){var n,r;let s=i.control,a=t.s.current(),l=o.Dom.closest(a,o.Dom.isBlock,t.editor);return null!=(n=null==l?void 0:l.nodeName.toLowerCase())?n:null==(r=s.data)?void 0:r.currentValue},update(t,i){let n=i.control;if(!t.s.current())return!1;let o=i.state.value,s=n.list;return(0,r.isPlainObject)(s)&&s[o.toString()]&&t.o.textIcons&&(i.state.text=s[o.toString()].toString()),!1},data:{currentValue:"p"},list:{p:"Paragraph",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",blockquote:"Quote",pre:"Code"},isChildActive(t,i){var n,o;return i.state.value===(null==(o=null==(n=i.control)?void 0:n.args)?void 0:o[0])},isActive:(t,i)=>i.state.value!==t.o.enter&&(0,r.isPlainObject)(i.control.list)&&!!i.control.list[i.state.value],childTemplate:(t,i,n)=>`<${i} style="margin:0;padding:0"><span>${t.i18n(n)}</span></${i}>`,tooltip:"Insert format block"}},24829:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 32 32"> <path d="M27 4l-15 15-7-7-5 5 12 12 20-20z"/> </svg> '},24877:function(t,i,n){"use strict";n.r(i),i.default={newline:"újsor",delete:"törlés",space:"tér","Speech Recognize":"A Beszéd Felismeri",Sound:"Hang","Interim Results":"Időközi Eredmények"}},24928:function(t){t.exports='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"> <path d="M28.7,16.3l-12-13c-0.4-0.4-1.1-0.4-1.5,0l-12,13C3,16.6,2.9,17,3.1,17.4C3.2,17.8,3.6,18,4,18h3v10c0,0.6,0.4,1,1,1h16 c0.6,0,1-0.4,1-1V18h3c0.4,0,0.8-0.2,0.9-0.6C29.1,17,29,16.6,28.7,16.3z"/> </svg>'},25088:function(t){t.exports='<svg width="11" height="15" viewBox="0 0 11 15" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M10.925 7.122V14H9.747L9.462 13.164C9.044 13.4933 8.55 13.7467 7.98 13.924C7.42267 14.1013 6.82733 14.19 6.194 14.19C5.054 14.19 4.066 13.9177 3.23 13.373C2.394 12.8157 1.75433 12.024 1.311 10.998C0.867667 9.972 0.646 8.756 0.646 7.35C0.646 5.96933 0.880333 4.766 1.349 3.74C1.83033 2.714 2.50167 1.92233 3.363 1.365C4.237 0.794999 5.25667 0.509999 6.422 0.509999C7.41 0.509999 8.284 0.693666 9.044 1.061C9.804 1.42833 10.3613 1.935 10.716 2.581L9.747 3.55C9.41767 3.03067 8.968 2.638 8.398 2.372C7.84067 2.09333 7.18833 1.954 6.441 1.954C5.17433 1.954 4.18633 2.429 3.477 3.379C2.76767 4.329 2.413 5.65267 2.413 7.35C2.413 9.07267 2.755 10.4153 3.439 11.378C4.13567 12.3407 5.10467 12.822 6.346 12.822C6.92867 12.822 7.46067 12.7397 7.942 12.575C8.436 12.4103 8.854 12.1697 9.196 11.853V8.414H6.023V7.122H10.925Z" fill="black"/> </svg>'},25179:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M576 576q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1024 384v448h-1408v-192l320-320 160 160 512-512zm96-704h-1600q-13 0-22.5 9.5t-9.5 22.5v1216q0 13 9.5 22.5t22.5 9.5h1600q13 0 22.5-9.5t9.5-22.5v-1216q0-13-9.5-22.5t-22.5-9.5zm160 32v1216q0 66-47 113t-113 47h-1600q-66 0-113-47t-47-113v-1216q0-66 47-113t113-47h1600q66 0 113 47t47 113z"/> </svg> '},25187:function(t,i,n){"use strict";n(73391),n(12391),n(93183),n(66707),n(41107),n(71255),n(82439),n(61323),n(93079),n(19063),n(19271),n(1255),n(575),n(11317),n(36243),n(23399),n(96111),n(2169),n(42263),n(16233),n(77469),n(23531),n(80763),n(3215),n(70045),n(93401),n(76295),n(59483),n(91071),n(61019),n(65517),n(20071),n(32309),n(64837),n(79799),n(31571),n(85407),n(59451),n(18363),n(8355),n(58519),n(6687),n(56113),n(9159),n(12019),n(36125),n(9881),n(28545),n(45927),n(52951),n(43809),n(7309),n(68687),n(59495),n(39627),n(767),n(43003),n(72439),n(26551),n(72253),n(65735),n(83671),n(3115)},25241:function(t,i,n){"use strict";n.d(i,{UIKeyboard:function(){return w}});var o=n(82749),r=n(31635),s=n(82758),a=n(65478),l=n(43555),c=n(67510),u=n(27926),d=n.n(u),h=n(10690),p=n.n(h),f=n(91997),m=n.n(f),g=n(11699),b=n.n(g),v=n(98126),y=n.n(v);class w extends c.UIElement{className(){return"UIKeyboard"}render(){let{layout:t,keySize:i}=this.j.options.keyboard,n=t.length;return`<div>${(()=>{let o=[];for(let r=0;n>r;r+=1){let n=[];for(let o=0;o<t[r].length;o+=1)n.push(`<div style="width:${i*t[r][o]}px;height:${i}px;" class="&__key"></div>`);o.push(`<div class='&__row'>${n.join(`
120
+ `,"paragraph","link","align","dots"]}},24536:function(t,i,n){"use strict";n.d(i,{UIList:function(){return b}});var o=n(4012),r=n(87325),s=n(97357),a=n(37133),l=n(46559),c=n(10830),u=n(62405),d=n(92113),h=n(34244),p=n(43649),f=n(72157),m=n(71262),g=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let b=class t extends u.UIGroup{className(){return"UIList"}getRole(){return"list"}__onChangeMode(){this.setMod("mode",this.mode)}makeGroup(t){return new u.UIGroup(this.jodit,[],t?{role:t}:void 0)}get buttons(){return this.allChildren.filter(t=>o.Component.isInstanceOf(t,c.UIButton))}getButtonsNames(){return this.buttons.map(t=>t instanceof c.UIButton&&t.state.name||"").filter(t=>""!==t)}setRemoveButtons(t){return this.removeButtons=t||[],this}build(t,i=null){let n;t=(0,l.splitArray)(t),this.clear();let o=!1,r=this.makeGroup("group");this.append(r),r.setMod("line",!0);let s=t=>{let s=null;switch(t.name){case`
121
+ `:(r=this.makeGroup("group")).setMod("line",!0),n=this.makeGroup(),r.append(n),this.append(r);break;case"|":o||(o=!0,s=new d.UISeparator(this.j));break;case"---":{n.setMod("before-spacer",!0);let t=new h.UISpacer(this.j);r.append(t),n=this.makeGroup(),r.append(n),o=!1;break}default:o=!1,s="select"===t.component?this.makeSelect(t,i):this.makeButton(t,i)}s&&(n||(n=this.makeGroup(),r.append(n)),n.append(s))},a=t=>{var i;return!this.removeButtons.includes(t.name)&&(!t.isVisible||(null==(i=t.isVisible)?void 0:i.call(t,this.j,t)))};return t.forEach(t=>{if((0,p.isButtonGroup)(t)){let i=t.buttons.filter(t=>t);i.length&&((n=this.makeGroup()).setMod("separated",!0).setMod("group",t.group),r.append(n),(0,m.getStrongControlTypes)(i,this.j.o.controls).filter(a).forEach(s))}else{n||(n=this.makeGroup(),r.append(n));let i=(0,f.getControlType)(t,this.j.o.controls);a(i)&&s(i)}}),this.update(),this}makeSelect(t,i){throw Error("Not implemented behaviour")}makeButton(t,i){return new c.UIButton(this.j,{name:t.name})}constructor(){super(...arguments),this.mode="horizontal",this.removeButtons=[]}};g([(0,a.watch)("mode"),(0,s.hook)("ready")],b.prototype,"__onChangeMode",null),b=g([r.component],b)},24630:function(t,i,n){"use strict";var o=n(2748),r=n(72430),s=n(12153),a=n(6441),l=n(89816);s.Icon.set("paragraph",l.default),a.Config.prototype.controls.paragraph={command:"formatBlock",value(t,i){var n,r;let s=i.control,a=t.s.current(),l=o.Dom.closest(a,o.Dom.isBlock,t.editor);return null!=(n=null==l?void 0:l.nodeName.toLowerCase())?n:null==(r=s.data)?void 0:r.currentValue},update(t,i){let n=i.control;if(!t.s.current())return!1;let o=i.state.value,s=n.list;return(0,r.isPlainObject)(s)&&s[o.toString()]&&t.o.textIcons&&(i.state.text=s[o.toString()].toString()),!1},data:{currentValue:"p"},list:{p:"Paragraph",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",blockquote:"Quote",pre:"Code"},isChildActive(t,i){var n,o;return i.state.value===(null==(o=null==(n=i.control)?void 0:n.args)?void 0:o[0])},isActive:(t,i)=>i.state.value!==t.o.enter&&(0,r.isPlainObject)(i.control.list)&&!!i.control.list[i.state.value],childTemplate:(t,i,n)=>`<${i} style="margin:0;padding:0"><span>${t.i18n(n)}</span></${i}>`,tooltip:"Insert format block"}},24829:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 32 32"> <path d="M27 4l-15 15-7-7-5 5 12 12 20-20z"/> </svg> '},24877:function(t,i,n){"use strict";n.r(i),i.default={newline:"újsor",delete:"törlés",space:"tér","Speech Recognize":"A Beszéd Felismeri",Sound:"Hang","Interim Results":"Időközi Eredmények"}},24928:function(t){t.exports='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"> <path d="M28.7,16.3l-12-13c-0.4-0.4-1.1-0.4-1.5,0l-12,13C3,16.6,2.9,17,3.1,17.4C3.2,17.8,3.6,18,4,18h3v10c0,0.6,0.4,1,1,1h16 c0.6,0,1-0.4,1-1V18h3c0.4,0,0.8-0.2,0.9-0.6C29.1,17,29,16.6,28.7,16.3z"/> </svg>'},25088:function(t){t.exports='<svg width="11" height="15" viewBox="0 0 11 15" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M10.925 7.122V14H9.747L9.462 13.164C9.044 13.4933 8.55 13.7467 7.98 13.924C7.42267 14.1013 6.82733 14.19 6.194 14.19C5.054 14.19 4.066 13.9177 3.23 13.373C2.394 12.8157 1.75433 12.024 1.311 10.998C0.867667 9.972 0.646 8.756 0.646 7.35C0.646 5.96933 0.880333 4.766 1.349 3.74C1.83033 2.714 2.50167 1.92233 3.363 1.365C4.237 0.794999 5.25667 0.509999 6.422 0.509999C7.41 0.509999 8.284 0.693666 9.044 1.061C9.804 1.42833 10.3613 1.935 10.716 2.581L9.747 3.55C9.41767 3.03067 8.968 2.638 8.398 2.372C7.84067 2.09333 7.18833 1.954 6.441 1.954C5.17433 1.954 4.18633 2.429 3.477 3.379C2.76767 4.329 2.413 5.65267 2.413 7.35C2.413 9.07267 2.755 10.4153 3.439 11.378C4.13567 12.3407 5.10467 12.822 6.346 12.822C6.92867 12.822 7.46067 12.7397 7.942 12.575C8.436 12.4103 8.854 12.1697 9.196 11.853V8.414H6.023V7.122H10.925Z" fill="black"/> </svg>'},25179:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M576 576q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1024 384v448h-1408v-192l320-320 160 160 512-512zm96-704h-1600q-13 0-22.5 9.5t-9.5 22.5v1216q0 13 9.5 22.5t22.5 9.5h1600q13 0 22.5-9.5t9.5-22.5v-1216q0-13-9.5-22.5t-22.5-9.5zm160 32v1216q0 66-47 113t-113 47h-1600q-66 0-113-47t-47-113v-1216q0-66 47-113t113-47h1600q66 0 113 47t47 113z"/> </svg> '},25187:function(t,i,n){"use strict";n(73391),n(12391),n(93183),n(66707),n(41107),n(71255),n(82439),n(61323),n(93079),n(19063),n(19271),n(1255),n(575),n(11317),n(36243),n(23399),n(96111),n(2169),n(42263),n(16233),n(77469),n(23531),n(80763),n(3215),n(70045),n(93401),n(76295),n(59483),n(91071),n(61019),n(65517),n(20071),n(32309),n(64837),n(79799),n(31571),n(85407),n(59451),n(18363),n(8355),n(58519),n(6687),n(56113),n(9159),n(12019),n(36125),n(9881),n(28545),n(45927),n(52951),n(43809),n(7309),n(68687),n(59495),n(39627),n(767),n(43003),n(72439),n(26551),n(72253),n(65735),n(83671),n(3115)},25241:function(t,i,n){"use strict";n.d(i,{UIKeyboard:function(){return w}});var o=n(82749),r=n(31635),s=n(82758),a=n(65478),l=n(43555),c=n(67510),u=n(27926),d=n.n(u),h=n(10690),p=n.n(h),f=n(91997),m=n.n(f),g=n(11699),b=n.n(g),v=n(98126),y=n.n(v);class w extends c.UIElement{className(){return"UIKeyboard"}render(){let{layout:t,keySize:i}=this.j.options.keyboard,n=t.length;return`<div>${(()=>{let o=[];for(let r=0;n>r;r+=1){let n=[];for(let o=0;o<t[r].length;o+=1)n.push(`<div style="width:${i*t[r][o]}px;height:${i}px;" class="&__key"></div>`);o.push(`<div class='&__row'>${n.join(`
122
122
  `)}</div>`)}return o.join(`
123
123
  `)})()}</div>`}onStateChange(){let{currentLayout:t,options:i,shift:n,caps:o}=this.state,{keys:r}=this.j.o.keyboard.layoutList[t],s=0;for(let t=0;t<r.length;t+=1)for(let a=0;a<r[t].length;a+=1){let l=r[t][a].split(" "),c=l[0];n&&(c=l[1]),!n&&o&&l[1]&&w.isLetter(l[0])&&(c=l[1]),i&&(c=l[2]),this.setKeyValue(s,c??l[0]),s+=1}}static isLetter(t){return t.toLowerCase()!==t.toUpperCase()}setKeyValue(t,i){let n=this._keys[t];if(!n)return;let o=!1,{options:r,shift:s,caps:a}=this.state;switch(i){case"Caps":o=a;break;case"Options":o=r;break;case"Shift":o=s}n.innerHTML=w.decorate(i),n.classList.toggle(this.getFullElName("key","active",!0),o),(0,l.attr)(n,"-key",i)}onKeyUp(){this.pressed&&this.stopPress()}onReady(){this.j.e.on(this.getElms("key"),"mouseenter",this.stopPress)}stopPress(){this.pressed&&(this.pressed=!1,this.j.async.clearTimeout(this.reKeyDownTimeout),this._keys.forEach(t=>{t.classList.remove(this.getFullElName("key","pressed",!0))}))}onKeyDown(t,i=0){let n=t.target;if(!n||!n.classList.contains(this.getFullElName("key")))return!1;this.pressed=!0,n.classList.add(this.getFullElName("key","pressed",!0));let o=(0,l.attr)(n,"-key");switch(o){case"Caps":this.state.caps=!this.state.caps;break;case"Shift":this.state.shift=!this.state.shift;break;case"Options":this.state.options=!this.state.options;break;case"Enter":case"Backspace":this.j.e.fire("keydown",{key:o,preventDefault(){}});break;case"Space":case"Tab":this.j.s.insertNode(this.j.createInside.text(s.NBSP_SPACE));break;default:this.state.shift&&(this.state.shift=!1),o&&this.j.s.insertNode(this.j.createInside.text(o))}let{periodKeyRepeat:r,delayKeyRepeat:a}=this.j.o.keyboard;return this.reKeyDownTimeout=this.j.async.setTimeout(()=>this.onKeyDown(t,r),i||a),!1}static decorate(t){switch(t){case"Space":return"";case"Enter":return c.Icon.get("enter");case"Backspace":return d();case"Shift":return b();case"Caps":return p();case"Options":return m();case"Tab":return y();default:return t}}constructor(t){super(t),(0,o._)(this,"state",{caps:!1,shift:!1,options:!1,currentLayout:this.j.o.keyboard.defaultLayoutSet}),(0,o._)(this,"_keys",this.getElms("key")),(0,o._)(this,"pressed",!1),(0,o._)(this,"reKeyDownTimeout",0),this.onStateChange()}}(0,r.__decorate)([(0,a.watch)(["state.currentLayout","state.options","state.shift","state.caps"])],w.prototype,"onStateChange",null),(0,r.__decorate)([(0,a.watch)(["ow:mouseup"])],w.prototype,"onKeyUp",null),(0,r.__decorate)([(0,a.hook)("ready")],w.prototype,"onReady",null),(0,r.__decorate)([a.autobind],w.prototype,"stopPress",null),(0,r.__decorate)([(0,a.watch)(["container:mousedown","container:touchstart"])],w.prototype,"onKeyDown",null),w=(0,r.__decorate)([a.component],w)},25321:function(t){t.exports={"Show Blocks":"Mutasd Meg Blokkok"}},25639:function(t,i,n){"use strict";n.d(i,{CommitStyle:function(){return l}});var o=n(82758),r=n(87058),s=n(77361),a=n(83632);class l{isApplied(t,i){let n=this.__applyMap.get(t);return!!n&&n[i]}setApplied(t,i){var n;let o=null!=(n=this.__applyMap.get(t))?n:{};o[i]=!0,this.__applyMap.set(t,o)}get elementIsList(){return!!(this.options.element&&o.LIST_TAGS.has(this.options.element))}get element(){return this.options.element||this.defaultTag}get elementIsBlock(){return!!(this.options.element&&o.IS_BLOCK.test(this.options.element))}get isElementCommit(){return!!(this.options.element&&this.options.element!==this.options.defaultTag)}get defaultTag(){return this.options.defaultTag?this.options.defaultTag:this.elementIsBlock?"p":"span"}get elementIsDefault(){return this.element===this.defaultTag}apply(t){let{hooks:i}=this.options,n=i?Object.keys(i):[];try{n.forEach(n=>{t.e.on((0,r.camelCase)(s._PREFIX+"_"+n),i[n])}),(0,a.ApplyStyle)(t,this)}finally{n.forEach(n=>{t.e.off((0,r.camelCase)(s._PREFIX+"_"+n),i[n])}),this.__applyMap=new WeakMap}t.synchronizeValues(),t.e.fire("afterCommitStyle",this)}constructor(t){this.options=t,this.__applyMap=new WeakMap}}},25685:function(t,i,n){"use strict";n.r(i),n.d(i,{required:function(){return s},url:function(){return a}});var o=n(26049),r=n(49055);let s=function(t){return!!(0,r.trim)(t.value).length||(t.error="Please fill out this field",!1)},a=function(t){return!!(0,o.isURL)((0,r.trim)(t.value))||(t.error="Please enter a web address",!1)}},25726:function(t,i,n){"use strict";n.d(i,{alignElement:function(){return l},clearAlign:function(){return a},hAlignElement:function(){return s}});var o=n(22732),r=n(41180);function s(t,i){i&&"normal"!==i?"center"!==i?((0,r.css)(t,"float",i),(0,r.clearCenterAlign)(t)):(0,r.css)(t,{float:"",display:"block",marginLeft:"auto",marginRight:"auto"}):((0,r.css)(t,"float")&&-1!==["right","left"].indexOf((0,r.css)(t,"float").toString().toLowerCase())&&(0,r.css)(t,"float",""),(0,r.clearCenterAlign)(t))}function a(t){o.Dom.each(t,t=>{o.Dom.isHTMLElement(t)&&t.style.textAlign&&(t.style.textAlign="",t.style.cssText.trim().length||t.removeAttribute("style"))})}function l(t,i){if(o.Dom.isNode(i)&&o.Dom.isElement(i))switch(a(i),t.toLowerCase()){case"justifyfull":i.style.textAlign="justify";break;case"justifyright":i.style.textAlign="right";break;case"justifyleft":i.style.textAlign="left";break;case"justifycenter":i.style.textAlign="center"}}},25813:function(t,i,n){"use strict";n.d(i,{removeInvTextNodes:function(){return s}});var o=n(82758),r=n(2748);function s(t,i,n,s,a,l){if(l===i||!r.Dom.isText(i)||null==i.nodeValue||!(0,o.INVISIBLE_SPACE_REG_EXP)().test(i.nodeValue))return n;let c=r.Dom.furthest(l,r.Dom.isBlock,t.editor);return!c||r.Dom.isOrContains(c,i)?n:(i.nodeValue=i.nodeValue.replace((0,o.INVISIBLE_SPACE_REG_EXP)(),""),i===l&&t.s.isCollapsed()&&t.s.setCursorAfter(i),i.nodeValue||r.Dom.safeRemove(i),!0)}},26049:function(t,i,n){"use strict";n.d(i,{isURL:function(){return r}});var o=n(82758);function r(t){if(t.includes(" "))return!1;if("u">typeof URL)try{let i=new URL(t);return["https:","http:","ftp:","file:","rtmp:"].includes(i.protocol)}catch(t){return!1}let i=o.globalDocument.createElement("a");return i.href=t,!!i.hostname}},26152:function(t,i,n){"use strict";var o=n(68345),r=n(79910),s=n(4795),a=n(62770),l=n(1830),c=n(86273),u=n(82168),d=n(85017),h=n(32726),p=n(67078),f=n(92648),m=n(62232),g=n(62700),b=n(75445),v=n(97519),y=n(80926),w=n(52995),_=n(59526),C=n(40565),k=n(19292),S=n(83160),x=n(28923),I=n(19007),E=n(60175),T=n(69159);let A={};A={ar:r.default,cs_cz:s.default,de:a.default,en:l.default,es:c.default,fi:u.default,fr:d.default,he:h.default,hu:p.default,id:f.default,it:m.default,ja:g.default,ko:v.default,mn:y.default,nl:w.default,no:_.default,pl:C.default,pt_br:k.default,ru:S.default,tr:x.default,ua:I.default,zh_cn:E.default,zh_tw:T.default};let j=t=>t?t.default||t:{},L={};(0,o.isArray)(j(b.default))&&j(b.default).forEach((t,i)=>{L[i]=t}),Object.keys(A).forEach(t=>{let i=j(A[t]);(0,o.isArray)(i)?(A[t]={},i.forEach((i,n)=>{A[t][L[n]]=i})):A[t]=i}),i.default=A},26295:function(t,i,n){"use strict";var o=n(21537),r=n(12153),s=n(6441),a=n(53259);s.Config.prototype.defaultLineHeight=null,r.Icon.set("line-height",a.default),s.Config.prototype.controls.lineHeight={command:"applyLineHeight",tags:["ol"],tooltip:"Line height",list:[1,1.1,1.2,1.3,1.4,1.5,2],exec:(t,i,{control:n})=>(0,o.memorizeExec)(t,i,{control:n},t=>t)}},26395:function(t,i,n){"use strict";n.d(i,{inView:function(){return r},scrollIntoViewIfNeeded:function(){return s}});var o=n(2748);function r(t,i,n){let o=t.getBoundingClientRect(),r=t,s=o.top,a=o.height;for(;r&&r!==i&&r.parentNode;)if(!(s<=(o=(r=r.parentNode).getBoundingClientRect()).bottom)||s+a<=o.top)return!1;return s<=(n.documentElement&&n.documentElement.clientHeight||0)}function s(t,i,n){o.Dom.isHTMLElement(t)&&!r(t,i,n)&&(i.clientHeight!==i.scrollHeight&&(i.scrollTop=t.offsetTop),r(t,i,n)||t.scrollIntoView())}},26428:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"غلطیابی املایی"}},26436:function(t){t.exports={"Show Blocks":"Toon Blokken"}},26529:function(t,i,n){"use strict";n.r(i),n.d(i,{ar:function(){return o},cs_cz:function(){return r},de:function(){return s},es:function(){return a},fa:function(){return l},fi:function(){return c},fr:function(){return u},he:function(){return d},hu:function(){return h},id:function(){return p},it:function(){return f},ja:function(){return m},ko:function(){return g},mn:function(){return b},nl:function(){return v},no:function(){return y},pl:function(){return w},pt_br:function(){return _},ru:function(){return C},tr:function(){return k},ua:function(){return S},zh_cn:function(){return x},zh_tw:function(){return I}});var o=n(28906),r=n(24351),s=n(32806),a=n(77725),l=n(26428),c=n(42820),u=n(60373),d=n(98370),h=n(44850),p=n(3636),f=n(73220),m=n(55776),g=n(13995),b=n(6402),v=n(1879),y=n(1322),w=n(53361),_=n(70824),C=n(65140),k=n(42247),S=n(68891),x=n(63195),I=n(42107)},26532:function(t,i,n){"use strict";n.d(i,{SpeechRecognition:function(){return r}});var o=n(82758);let r=o.globalWindow?o.globalWindow.SpeechRecognition||o.globalWindow.webkitSpeechRecognition:void 0},26551:function(t,i,n){"use strict";var o=n(580);n(14984),o.pluginSystem.add("video",function(t){t.registerButton({name:"video",group:"media"})})},26556:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"Зураасны өндөр"}},26612:function(t){t.exports={"AI Assistant":"AI Assistant","AI Assistant Pro":"AI Assistant Pro","Welcome to AI Assistant":"Welcome to AI Assistant","Start your first conversation":"Start your first conversation","Tip: Select text in editor to add context":"Tip: Select text in editor to add context","New Chat":"New Chat","Search conversations...":"Search conversations...","No conversations yet":"No conversations yet","Ask me anything...":"Ask me anything...","Ask a follow-up...":"Ask a follow-up...","Reply...":"Reply...","Type your message...":"Type your message...",Send:"Send",Cancel:"Cancel",Retry:"Retry",Insert:"Insert",Copy:"Copy",Edit:"Edit",Delete:"Delete",New:"New",Back:"Back","Permission Required":"Permission Required",Approve:"Approve",Deny:"Deny",Once:"Once","This conversation":"This conversation",Always:"Always","The AI wants to execute:":"The AI wants to execute:","This will modify your document content.":"This will modify your document content.","Executing...":"Executing...","Completed successfully":"Completed successfully",Failed:"Failed","Pending approval":"Pending approval","Denied by user":"Denied by user","Tool Result":"Tool Result","Tool Execution Error":"Tool Execution Error",Context:"Context",Contexts:"Contexts","Add to AI Context":"Add to AI Context",Remove:"Remove","Clear all":"Clear all","An error occurred":"An error occurred","Request failed":"Request failed","Connection error":"Connection error","AI Assistant is not configured":"AI Assistant is not configured","Thinking...":"Thinking...","Generating response...":"Generating response...",insertHTML:"Insert HTML",readDocument:"Read Document",readBlock:"Read Block",replaceInDocument:"Replace in Document",replaceInBlock:"Replace in Block",getSelection:"Get Selection","Just now":"Just now",Conversation:"Conversation","New Conversation":"New Conversation",Yesterday:"Yesterday","Delete conversation":"Delete conversation","Are you sure you want to delete this conversation?":"Are you sure you want to delete this conversation?","Failed to delete conversation":"Failed to delete conversation"}},26638:function(t,i,n){"use strict";n.d(i,{UIPreviewButtonGenerator:function(){return d}});var o=n(82749),r=n(31635),s=n(65478),a=n(38837),l=n(67510),c=n(82520),u=n(45128);class d extends l.UIElement{className(){return"UIPreviewButtonGenerator"}render(){return`<div>
124
124
  <div class='&__button'></div>
@@ -207,7 +207,7 @@
207
207
  <div class='&__form'></div>
208
208
  </div>
209
209
  <div class='&__library'></div>
210
- </div>`}generateLibrary(){let t=new l.UIGroup(this.j);c.map(p.mapKey).forEach(i=>{let n=new u.UIGButton(this.j,i);n.setMod("mode","library"),t.append(n),this.j.e.on(n.container,"click",()=>{let{text:t}=this.state;Object.assign(this.state,i),Object.assign(this.state,{className:"",text:t}),this.update()})});let i=this.getElm("library");(0,a.assert)(null!=i,"library element does not exists"),i.appendChild(t.container)}static mapKey(t){return{bgEnd:t.be,bgStart:t.bs,borderColor:t.bc,borderRadius:t.br,borderSize:t.bse,boxShadow:t.bsh,boxShadowBlurRadius:t.bsbr,boxShadowColor:t.bsc,boxShadowInset:t.bsi,boxShadowOffsetX:t.bsox,boxShadowOffsetY:t.bsoy,boxShadowSpreadRadius:t.bssr,fontColor:t.fc,fontFamily:t.ff,fontSize:t.fs,fontStyle:t.fse,fontWeight:t.fw,paddingX:t.px,paddingY:t.py,previewBgColor:t.pbc,solid:t.s,text:t.t,textShadow:t.ts,textShadowBlurRadius:t.tsbr,textShadowColor:t.tsc,textShadowOffsetX:t.tsox,textShadowOffsetY:t.tsoy}}updateState(t,i){this.state[t]=i,this.update()}update(){this.isReady&&(this.form.update(),this.preview.update())}constructor(t){super(t),(0,o._)(this,"state",{text:"",className:"",href:"",bgEnd:"#5cbf2a",bgStart:"#44c767",borderColor:"#18ab29",borderRadius:28,borderSize:1,boxShadow:!1,boxShadowBlurRadius:0,boxShadowColor:"#3dc21b",boxShadowInset:!1,boxShadowOffsetX:0,boxShadowOffsetY:0,boxShadowSpreadRadius:0,fontColor:"#fff",fontFamily:"Arial",fontSize:17,fontStyle:!1,fontWeight:!1,fontItalic:!1,paddingX:31,paddingY:16,previewBgColor:"#f5f5f5",solid:!0,textShadow:!0,textShadowBlurRadius:0,textShadowColor:"#2f6627",textShadowOffsetX:0,textShadowOffsetY:1}),(0,o._)(this,"preview",new h.UIPreviewButtonGenerator(this.j,this.state,this.updateState)),(0,o._)(this,"form",new d.UIFormButtonGenerator(this.j,this.state,this.updateState)),(0,o._)(this,"target",void 0),this.generateLibrary();const i=this.getElm("preview");(0,a.assert)(null!=i,"preview element does not exists"),i.appendChild(this.preview.container);const n=this.getElm("form");(0,a.assert)(null!=n,"form element does not exists"),n.appendChild(this.form.container)}}(0,r.__decorate)([s.autobind],p.prototype,"updateState",null),p=(0,r.__decorate)([s.component],p)},36125:function(t,i,n){"use strict";var o=n(82758),r=n(65478),s=n(22732),a=n(580),l=n(21537),c=n(50911);n(55099);var u=n(55611),d=n(92278),h=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class p extends c.Plugin{get ui(){return new d.UISearch(this.j)}async updateCounters(){this.ui.isOpened&&(this.ui.count=await this.calcCounts(this.ui.query))}onPressReplaceButton(){this.findAndReplace(this.ui.query),this.updateCounters()}tryScrollToElement(t){let i=s.Dom.closest(t,s.Dom.isElement,this.j.editor);i||(i=s.Dom.prev(t,s.Dom.isElement,this.j.editor)),i&&i!==this.j.editor&&(0,l.scrollIntoViewIfNeeded)(i,this.j.editor,this.j.ed)}async calcCounts(t){return(await this.findQueryBounds(t,"walkerCount")).length}async findQueryBounds(t,i){let n=this[i];return n&&n.break(),n=new s.LazyWalker(this.j.async,{timeout:this.j.o.search.lazyIdleTimeout}),this[i]=n,this.find(n,t).catch(t=>(o.IS_PROD,[]))}async findAndReplace(t){let i=await this.findQueryBounds(t,"walker");if(!i.length)return!1;let n=this.findCurrentIndexInRanges(i,this.j.s.range);-1===n&&(n=0);let r=i[n];if(r){try{let i=this.j.ed.createRange();i.setStart(r.startContainer,r.startOffset),i.setEnd(r.endContainer,r.endOffset),i.deleteContents();let a=this.j.createInside.text(this.ui.replace);s.Dom.safeInsertNode(i,a),(0,u.clearSelectionWrappers)(this.j),this.j.s.setCursorAfter(a),this.tryScrollToElement(a),this.cache={},this.ui.currentIndex=n,await this.findAndSelect(t,!0).catch(t=>(o.IS_PROD,null))}finally{this.j.synchronizeValues()}return this.j.e.fire("afterFindAndReplace"),!0}return!1}async findAndSelect(t,i){var n;let r=await this.findQueryBounds(t,"walker");if(!r.length)return!1;this.previousQuery===t&&(0,u.getSelectionWrappers)(this.j.editor).length||(null==(n=this.drawPromise)||n.rejectCallback(),this.j.async.cancelAnimationFrame(this.wrapFrameRequest),(0,u.clearSelectionWrappers)(this.j),this.drawPromise=this.__drawSelectionRanges(r)),this.previousQuery=t;let s=this.ui.currentIndex-1;s=-1===s?0:i?s===r.length-1?0:s+1:0===s?r.length-1:s-1,this.ui.currentIndex=s+1;let a=r[s];if(a){let t=this.j.ed.createRange();try{t.setStart(a.startContainer,a.startOffset),t.setEnd(a.endContainer,a.endOffset),this.j.s.selectRange(t)}catch(t){o.IS_PROD}return this.tryScrollToElement(a.startContainer),await this.updateCounters(),await this.drawPromise,this.j.e.fire("afterFindAndSelect"),!0}return!1}findCurrentIndexInRanges(t,i){return t.findIndex(t=>t.startContainer===i.startContainer&&t.startOffset===i.startOffset&&t.endContainer===i.startContainer&&t.endOffset===i.endOffset)}async isValidCache(t){return(await t).every(t=>{var i,n,o,r;return t.startContainer.isConnected&&t.startOffset<=(null!=(n=null==(i=t.startContainer.nodeValue)?void 0:i.length)?n:0)&&t.endContainer.isConnected&&t.endOffset<=(null!=(r=null==(o=t.endContainer.nodeValue)?void 0:o.length)?r:0)})}async find(t,i){if(!i.length)return[];let n=this.cache[i];return n&&await this.isValidCache(n)?n:(this.cache[i]=this.j.async.promise(n=>{let o=new u.SentenceFinder(this.j.o.search.fuzzySearch);t.on("break",()=>{n([])}).on("visit",t=>(s.Dom.isText(t)&&o.add(t),!1)).on("end",()=>{var t;n(null!=(t=o.ranges(i))?t:[])}).setWork(this.j.editor)}),this.cache[i])}__drawSelectionRanges(t){let{async:i,createInside:n,editor:o}=this.j;i.cancelAnimationFrame(this.wrapFrameRequest);let r=[...t],s,a=0;return i.promise(t=>{let l=()=>{do(s=r.shift())&&(0,u.highlightTextRanges)(this.j,s,r,n,o),a+=1;while(s&&a<=5)r.length?this.wrapFrameRequest=i.requestAnimationFrame(l):t()};l()})}onAfterGetValueFromEditor(t){t.value=(0,u.clearSelectionWrappersFromHTML)(t.value)}afterInit(t){if(t.o.useSearch){let i=this;t.e.on("beforeSetMode.search",()=>{this.ui.close()}).on(this.ui,"afterClose",()=>{(0,u.clearSelectionWrappers)(t),this.ui.currentIndex=0,this.ui.count=0,this.cache={},t.focus()}).on("click",()=>{this.ui.currentIndex=0,(0,u.clearSelectionWrappers)(t)}).on("change.search",()=>{this.cache={}}).on("keydown.search mousedown.search",t.async.debounce(()=>{this.ui.selInfo&&(t.s.removeMarkers(),this.ui.selInfo=null),this.ui.isOpened&&this.updateCounters()},t.defaultTimeout)).on("searchNext.search searchPrevious.search",()=>(this.ui.isOpened||this.ui.open(),i.findAndSelect(i.ui.query,"searchNext"===t.e.current).catch(t=>{o.IS_PROD}))).on("search.search",(t,n=!0)=>(this.ui.currentIndex=0,i.findAndSelect(t||"",n).catch(t=>{o.IS_PROD}))),t.registerCommand("search",{exec:(t,n,r=!0)=>(n&&i.findAndSelect(n,r).catch(t=>{o.IS_PROD}),!1)}).registerCommand("openSearchDialog",{exec:(t,n)=>(i.ui.open(n),!1),hotkeys:["ctrl+f","cmd+f"]}).registerCommand("openReplaceDialog",{exec:(n,o,r)=>(t.o.readonly||i.ui.open(o,r,!0),!1),hotkeys:["ctrl+h","cmd+h"]})}}beforeDestruct(t){var i;null==(i=(0,r.cached)(this,"ui"))||i.destruct(),t.e.off(".search")}constructor(){super(...arguments),this.buttons=[{name:"find",group:"search"}],this.previousQuery="",this.drawPromise=null,this.walker=null,this.walkerCount=null,this.cache={},this.wrapFrameRequest=0}}h([r.cache],p.prototype,"ui",null),h([(0,r.watch)("ui:needUpdateCounters")],p.prototype,"updateCounters",null),h([(0,r.watch)("ui:pressReplaceButton")],p.prototype,"onPressReplaceButton",null),h([r.autobind],p.prototype,"findQueryBounds",null),h([r.autobind],p.prototype,"findAndReplace",null),h([r.autobind],p.prototype,"findAndSelect",null),h([r.autobind],p.prototype,"find",null),h([(0,r.watch)(":afterGetValueFromEditor")],p.prototype,"onAfterGetValueFromEditor",null),a.pluginSystem.add("search",p)},36142:function(t,i,n){"use strict";n.d(i,{execute:function(){return s}});var o=n(6689),r=n(49459);async function s(t,i,n){let s=(0,r.requireString)(i,"html"),{collapseToEnd:a}=i;(0,o.throwIfAborted)(n);try{if(t.s.restore(),t.s.insertHTML(s),a){let i=t.s.range;i.collapse(!1),t.s.selectRange(i)}return t.e.fire("change"),{success:!0,message:"Selection replaced successfully"}}catch(t){throw Error("Failed to replace selection: "+t.message)}}},36204:function(t,i,n){"use strict";var o=n(82758),r=n(12153),s=n(6441),a=n(35599);s.Config.prototype.beautifyHTML=!o.IS_IE,s.Config.prototype.sourceEditor="ace",s.Config.prototype.sourceEditorNativeOptions={showGutter:!0,theme:"ace/theme/idle_fingers",mode:"ace/mode/html",wrap:!0,highlightActiveLine:!0},s.Config.prototype.sourceEditorCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js"],s.Config.prototype.beautifyHTMLCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js","https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js"],r.Icon.set("source",a.default),s.Config.prototype.controls.source={mode:o.MODE_SPLIT,exec(t){t.toggleMode()},isActive:t=>t.getRealMode()===o.MODE_SOURCE,tooltip:"Change mode"}},36243:function(t,i,n){"use strict";var o=n(22732),r=n(580),s=n(6441);s.Config.prototype.autofocus=!1,s.Config.prototype.cursorAfterAutofocus="end",s.Config.prototype.saveSelectionOnBlur=!0,r.pluginSystem.add("focus",function(t){t.o.saveSelectionOnBlur&&t.e.on("blur",()=>{t.isEditorMode()&&t.s.save(!0)}).on("focus",()=>{t.s.restore()});let i=()=>{if(t.s.focus(),"end"===t.o.cursorAfterAutofocus){let i=o.Dom.last(t.editor,t=>o.Dom.isText(t));i&&t.s.setCursorIn(i,!1)}};t.e.on("afterInit",()=>{t.o.autofocus&&(t.defaultTimeout?t.async.setTimeout(i,300):i())}),t.e.on("afterInit afterAddPlace",()=>{t.e.off(t.editor,"mousedown.autofocus").on(t.editor,"mousedown.autofocus",i=>{t.isEditorMode()&&i.target&&o.Dom.isBlock(i.target)&&!i.target.childNodes.length&&(t.editor===i.target?t.s.focus():t.s.setCursorIn(i.target))})})})},36347:function(t,i,n){"use strict";n(6441).Config.prototype.highlightSignature={processDelay:0,processInChunkCount:300,schema:{},excludeTags:["pre"]}},36409:function(t,i,n){"use strict";function o(t){return t.length?t[0].toUpperCase()+t.substring(1):""}n.d(i,{ucfirst:function(){return o}})},36469:function(t,i,n){"use strict";n.d(i,{UISelectItems:function(){return s}});var o=n(2748),r=n(41180);class s{static remove(t){o.Dom.safeRemove(t.container.querySelector(".jodit-ui-select-items")),t.j.e.off(t.container,"mousedown.uiselectitems touchstart.uiselectitems")}static install(t){let i=t.j.c.div("jodit-ui-select-items");t.j.e.on(t.container,"mousedown.uiselectitems touchstart.uiselectitems",this.onStartSelect.bind(this,t,i))}static onStartSelect(t,i,n){if(n.target!==t.container)return;(0,r.css)(i,{width:0,height:0}),t.container.appendChild(i);let o={x:n.clientX,y:n.clientY,w:t.container.offsetWidth,h:t.container.offsetHeight},s=t.j.async.throttle(this.onSelect.bind(this,t,i,o),t.j.defaultTimeout/10);t.j.lock(),t.j.e.on(t.j.ow,"mousemove touchmove",s).one(t.j.ow,"mouseup touchend",this.onEndSelect.bind(this,t,i,s)),t.onSelectItems({left:o.x,top:o.y,width:0,height:0})}static onSelect(t,i,n,o){let s={left:n.x>o.clientX?o.clientX:n.x,top:n.y>o.clientY?o.clientY:n.y,width:Math.abs(n.x-o.clientX),height:Math.abs(n.y-o.clientY)};(0,r.css)(i,s),t.onSelectItems(s)}static onEndSelect(t,i,n,r){o.Dom.safeRemove(i),t.j.e.off(t.j.ow,"mousemove touchmove",n),t.j.unlock()}}},36576:function(t){t.exports='<svg viewBox="0 0 77 86" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M7 38.6056L33.1367 7.96263L69.5477 45.7058L36.2444 72.166L7 76.9673V38.6056Z" stroke="black" stroke-width="6"/> <circle cx="71" cy="45" r="6" fill="#C8C8C8"/> <circle cx="35" cy="73" r="6" fill="#C8C8C8"/> <circle cx="6" cy="79" r="6" fill="#C8C8C8"/> <circle cx="6" cy="39" r="6" fill="#C8C8C8"/> <circle cx="33" cy="6" r="6" fill="#C8C8C8"/> </svg>'},36646:function(t,i,n){"use strict";n.d(i,{ToolbarButton:function(){return o.ToolbarButton},ToolbarContent:function(){return r.ToolbarContent},ToolbarSelect:function(){return s.ToolbarSelect}});var o=n(78644),r=n(80319),s=n(83111)},36704:function(t,i,n){"use strict";n.d(i,{UITree:function(){return c}});var o=n(82749),r=n(31635),s=n(87325),a=n(62405),l=n(43692);class c extends a.UIGroup{className(){return"UITree"}build(t){this.clear(),t.forEach(t=>{let i=new l.UIBrowserFolder(this.jodit,t);this.append(i),t.isActive&&i.setMod("active",!0),t.children.length&&this.append(new c(this.jodit,t.children))})}constructor(t,i){super(t),(0,o._)(this,"syncMod",!0),this.build(i)}}c=(0,r.__decorate)([s.component],c)},36806:function(t,i,n){"use strict";n.d(i,{Prompt:function(){return l}});var o=n(23282),r=n(29960),s=n(10830),a=n(78584);function l(t,i,n,l,c){let u=this instanceof a.Dialog?this:new a.Dialog({closeOnClickOverlay:!0}),d=(0,s.Button)(u,"cancel","Cancel"),h=(0,s.Button)(u,"ok","Ok"),p=u.c.element("form",{class:"jodit-dialog_prompt"}),f=u.c.element("input",{autofocus:!0,class:"jodit-input"}),m=u.c.element("label");(0,o.isFunction)(i)&&(n=i,i=void 0),l&&(0,r.attr)(f,"placeholder",l),m.appendChild(u.c.text(t)),p.appendChild(m),p.appendChild(f),d.onAction(u.close);let g=()=>{n&&(0,o.isFunction)(n)&&!1===n(f.value)||u.close()};return h.onAction(g),u.e.on(p,"submit",()=>(g(),!1)),u.setFooter([h,d]),u.open(p,i||"&nbsp;",!0,!0),f.focus(),void 0!==c&&c.length&&(f.value=c,f.select()),u}},36886:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1536h768v-384h-768v384zm896 0h128v-896q0-14-10-38.5t-20-34.5l-281-281q-10-10-34-20t-39-10v416q0 40-28 68t-68 28h-576q-40 0-68-28t-28-68v-416h-128v1280h128v-416q0-40 28-68t68-28h832q40 0 68 28t28 68v416zm-384-928v-320q0-13-9.5-22.5t-22.5-9.5h-192q-13 0-22.5 9.5t-9.5 22.5v320q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5-9.5t9.5-22.5zm640 32v928q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1344q0-40 28-68t68-28h928q40 0 88 20t76 48l280 280q28 28 48 76t20 88z"/> </svg> '},37068:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' x="0px" y="0px" viewBox="0 0 459 459"> <g> <path d="M229.5,0C102,0,0,102,0,229.5S102,459,229.5,459c20.4,0,38.25-17.85,38.25-38.25c0-10.2-2.55-17.85-10.2-25.5 c-5.1-7.65-10.2-15.3-10.2-25.5c0-20.4,17.851-38.25,38.25-38.25h45.9c71.4,0,127.5-56.1,127.5-127.5C459,91.8,357,0,229.5,0z M89.25,229.5c-20.4,0-38.25-17.85-38.25-38.25S68.85,153,89.25,153s38.25,17.85,38.25,38.25S109.65,229.5,89.25,229.5z M165.75,127.5c-20.4,0-38.25-17.85-38.25-38.25S145.35,51,165.75,51S204,68.85,204,89.25S186.15,127.5,165.75,127.5z M293.25,127.5c-20.4,0-38.25-17.85-38.25-38.25S272.85,51,293.25,51s38.25,17.85,38.25,38.25S313.65,127.5,293.25,127.5z M369.75,229.5c-20.4,0-38.25-17.85-38.25-38.25S349.35,153,369.75,153S408,170.85,408,191.25S390.15,229.5,369.75,229.5z" /> </g> </svg> '},37133:function(t,i,n){"use strict";n.d(i,{watch:function(){return h}});var o=n(78213),r=n(73026),s=n(46559),a=n(23282),l=n(72430),c=n(39955),u=n(89890),d=n(37790);function h(t,i){return(n,h)=>{var p;if(!(0,a.isFunction)(n[h]))throw(0,u.error)("Handler must be a Function");let f=null==(p=null==i?void 0:i.immediately)||p,m=null==i?void 0:i.context,g=i=>{let o=(0,c.isViewObject)(i)?i:i.jodit,u=(t,...n)=>{if(!i.isInDestruct)return i[h](t,...n)};f||(u=i.async.microDebounce(u,!0)),(0,s.splitArray)(t).forEach(t=>{if(/:/.test(t)){let[n,r]=t.split(":"),s=m;n.length&&(s=i.get(n)),(0,a.isFunction)(s)&&(s=s(i)),o.events.on(s||i,r,u),s||o.events.on(r,u),i.hookStatus("beforeDestruct",()=>{o.events.off(s||i,r,u).off(r,u)});return}let s=t.split("."),[c]=s,h=s.slice(1),p=i[c];(0,l.isPlainObject)(p)&&(0,r.observable)(p).on("change."+h.join("."),u);let f=(0,d.getPropertyDescriptor)(n,c);Object.defineProperty(i,c,{configurable:!0,set(t){let n=p;n!==t&&(p=t,f&&f.set&&f.set.call(i,t),(0,l.isPlainObject)(p)&&(p=(0,r.observable)(p)).on("change."+h.join("."),u),u(c,n,p))},get:()=>f&&f.get?f.get.call(i):p})})};(0,a.isFunction)(n.hookStatus)?n.hookStatus(o.STATUSES.ready,g):g(n)}}},37272:function(t,i,n){"use strict";n.r(i),i.default={newline:"줄 바꿈",delete:"삭제",space:"공간","Speech Recognize":"음성 인식",Sound:"소리","Interim Results":"중간 결과"}},37406:function(t,i,n){"use strict";n.d(i,{normalizeUrl:function(){return o}});let o=(...t)=>t.filter(t=>t.length).map(t=>t.replace(/\/$/,"")).join("/").replace(/([^:])[\\/]+/g,"$1/")},37426:function(t,i,n){"use strict";n.d(i,{ToolbarEditorCollection:function(){return c}});var o=n(82758),r=n(65478),s=n(22732),a=n(21537),l=n(11676);let c=class t extends l.ToolbarCollection{className(){return"ToolbarEditorCollection"}shouldBeDisabled(t){let i=super.shouldBeDisabled(t);if(void 0!==i)return i;let n=void 0===t.control.mode?o.MODE_WYSIWYG:t.control.mode;return n!==o.MODE_SPLIT&&n!==this.j.getRealMode()}shouldBeActive(t){let i,n=super.shouldBeActive(t);if(void 0!==n)return n;let o=this.j.selection?this.j.s.current():null;if(!o)return!1;if(t.control.tags){let n=t.control.tags;if(i=o,s.Dom.up(i,t=>{if(t&&-1!==n.indexOf(t.nodeName.toLowerCase()))return!0},this.j.editor))return!0}if(t.control.css){let n=t.control.css;if(i=o,s.Dom.up(i,t=>{if(t&&!s.Dom.isText(t)&&!s.Dom.isComment(t))return this.checkActiveStatus(n,t)},this.j.editor))return!0}return!1}getTarget(t){return t.target||this.j.s.current()||null}prependInvisibleInput(t){let i=this.j.create.element("input",{tabIndex:-1,disabled:!0,style:"width: 0; height:0; position: absolute; visibility: hidden;"});s.Dom.appendChildFirst(t,i)}showInline(t){this.jodit.e.fire("showInlineToolbar",t)}hide(){this.jodit.e.fire("hidePopup"),super.hide(),this.jodit.e.fire("toggleToolbar")}show(){super.show(),this.jodit.e.fire("toggleToolbar")}constructor(t){super(t),this.checkActiveStatus=(t,i)=>{let n=0,o=0;return Object.keys(t).forEach(r=>{let s=t[r];(0,a.isFunction)(s)?s(this.j,(0,a.css)(i,r).toString())&&(n+=1):-1!==s.indexOf((0,a.css)(i,r).toString())&&(n+=1),o+=1}),o===n},this.prependInvisibleInput(this.container)}};c=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([r.component],c)},37467:function(t,i,n){"use strict";n(6441).Config.prototype.tableAllowCellResize=!0},37508:function(t,i,n){"use strict";function o(t){return!!t.length&&!/[^0-9A-Za-zа-яА-ЯЁё\w\-_. ]/.test(t)&&t.trim().length>0}n.d(i,{isValidName:function(){return o}})},37585:function(t,i,n){"use strict";var o=n(82758),r=n(21537),s=n(6441),a=n(11676),l=n(21491);s.Config.prototype.mobileTapTimeout=300,s.Config.prototype.toolbarAdaptive=!0,s.Config.prototype.buttonsMD=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},{group:"font",buttons:[]},"---",{group:"media",buttons:[]},`
210
+ </div>`}generateLibrary(){let t=new l.UIGroup(this.j);c.map(p.mapKey).forEach(i=>{let n=new u.UIGButton(this.j,i);n.setMod("mode","library"),t.append(n),this.j.e.on(n.container,"click",()=>{let{text:t}=this.state;Object.assign(this.state,i),Object.assign(this.state,{className:"",text:t}),this.update()})});let i=this.getElm("library");(0,a.assert)(null!=i,"library element does not exists"),i.appendChild(t.container)}static mapKey(t){return{bgEnd:t.be,bgStart:t.bs,borderColor:t.bc,borderRadius:t.br,borderSize:t.bse,boxShadow:t.bsh,boxShadowBlurRadius:t.bsbr,boxShadowColor:t.bsc,boxShadowInset:t.bsi,boxShadowOffsetX:t.bsox,boxShadowOffsetY:t.bsoy,boxShadowSpreadRadius:t.bssr,fontColor:t.fc,fontFamily:t.ff,fontSize:t.fs,fontStyle:t.fse,fontWeight:t.fw,paddingX:t.px,paddingY:t.py,previewBgColor:t.pbc,solid:t.s,text:t.t,textShadow:t.ts,textShadowBlurRadius:t.tsbr,textShadowColor:t.tsc,textShadowOffsetX:t.tsox,textShadowOffsetY:t.tsoy}}updateState(t,i){this.state[t]=i,this.update()}update(){this.isReady&&(this.form.update(),this.preview.update())}constructor(t){super(t),(0,o._)(this,"state",{text:"",className:"",href:"",bgEnd:"#5cbf2a",bgStart:"#44c767",borderColor:"#18ab29",borderRadius:28,borderSize:1,boxShadow:!1,boxShadowBlurRadius:0,boxShadowColor:"#3dc21b",boxShadowInset:!1,boxShadowOffsetX:0,boxShadowOffsetY:0,boxShadowSpreadRadius:0,fontColor:"#fff",fontFamily:"Arial",fontSize:17,fontStyle:!1,fontWeight:!1,fontItalic:!1,paddingX:31,paddingY:16,previewBgColor:"#f5f5f5",solid:!0,textShadow:!0,textShadowBlurRadius:0,textShadowColor:"#2f6627",textShadowOffsetX:0,textShadowOffsetY:1}),(0,o._)(this,"preview",new h.UIPreviewButtonGenerator(this.j,this.state,this.updateState)),(0,o._)(this,"form",new d.UIFormButtonGenerator(this.j,this.state,this.updateState)),(0,o._)(this,"target",void 0),this.generateLibrary();const i=this.getElm("preview");(0,a.assert)(null!=i,"preview element does not exists"),i.appendChild(this.preview.container);const n=this.getElm("form");(0,a.assert)(null!=n,"form element does not exists"),n.appendChild(this.form.container)}}(0,r.__decorate)([s.autobind],p.prototype,"updateState",null),p=(0,r.__decorate)([s.component],p)},36125:function(t,i,n){"use strict";var o=n(82758),r=n(65478),s=n(22732),a=n(580),l=n(21537),c=n(50911);n(55099);var u=n(55611),d=n(92278),h=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class p extends c.Plugin{get ui(){return new d.UISearch(this.j)}async updateCounters(){this.ui.isOpened&&(this.ui.count=await this.calcCounts(this.ui.query))}onPressReplaceButton(){this.findAndReplace(this.ui.query),this.updateCounters()}tryScrollToElement(t){let i=s.Dom.closest(t,s.Dom.isElement,this.j.editor);i||(i=s.Dom.prev(t,s.Dom.isElement,this.j.editor)),i&&i!==this.j.editor&&(0,l.scrollIntoViewIfNeeded)(i,this.j.editor,this.j.ed)}async calcCounts(t){return(await this.findQueryBounds(t,"walkerCount")).length}async findQueryBounds(t,i){let n=this[i];return n&&n.break(),n=new s.LazyWalker(this.j.async,{timeout:this.j.o.search.lazyIdleTimeout}),this[i]=n,this.find(n,t).catch(t=>(o.IS_PROD,[]))}async findAndReplace(t){let i=await this.findQueryBounds(t,"walker");if(!i.length)return!1;let n=this.findCurrentIndexInRanges(i,this.j.s.range);-1===n&&(n=0);let r=i[n];if(r){try{let i=this.j.ed.createRange();i.setStart(r.startContainer,r.startOffset),i.setEnd(r.endContainer,r.endOffset),i.deleteContents();let a=this.j.createInside.text(this.ui.replace);s.Dom.safeInsertNode(i,a),(0,u.clearSelectionWrappers)(this.j),this.j.s.setCursorAfter(a),this.tryScrollToElement(a),this.cache={},this.ui.currentIndex=n,await this.findAndSelect(t,!0).catch(t=>(o.IS_PROD,null))}finally{this.j.synchronizeValues()}return this.j.e.fire("afterFindAndReplace"),!0}return!1}async findAndSelect(t,i){var n;let r=await this.findQueryBounds(t,"walker");if(!r.length)return!1;this.previousQuery===t&&(0,u.getSelectionWrappers)(this.j.editor).length||(null==(n=this.drawPromise)||n.rejectCallback(),this.j.async.cancelAnimationFrame(this.wrapFrameRequest),(0,u.clearSelectionWrappers)(this.j),this.drawPromise=this.__drawSelectionRanges(r)),this.previousQuery=t;let s=this.ui.currentIndex-1;s=-1===s?0:i?s===r.length-1?0:s+1:0===s?r.length-1:s-1,this.ui.currentIndex=s+1;let a=r[s];if(a){let t=this.j.ed.createRange();try{t.setStart(a.startContainer,a.startOffset),t.setEnd(a.endContainer,a.endOffset),this.j.s.selectRange(t)}catch(t){o.IS_PROD}return this.tryScrollToElement(a.startContainer),await this.updateCounters(),await this.drawPromise,this.j.e.fire("afterFindAndSelect"),!0}return!1}findCurrentIndexInRanges(t,i){return t.findIndex(t=>t.startContainer===i.startContainer&&t.startOffset===i.startOffset&&t.endContainer===i.startContainer&&t.endOffset===i.endOffset)}async isValidCache(t){return(await t).every(t=>{var i,n,o,r;return t.startContainer.isConnected&&t.startOffset<=(null!=(n=null==(i=t.startContainer.nodeValue)?void 0:i.length)?n:0)&&t.endContainer.isConnected&&t.endOffset<=(null!=(r=null==(o=t.endContainer.nodeValue)?void 0:o.length)?r:0)})}async find(t,i){if(!i.length)return[];let n=this.cache[i];return n&&await this.isValidCache(n)?n:(this.cache[i]=this.j.async.promise(n=>{let o=new u.SentenceFinder(this.j.o.search.fuzzySearch);t.on("break",()=>{n([])}).on("visit",t=>(s.Dom.isText(t)&&o.add(t),!1)).on("end",()=>{var t;n(null!=(t=o.ranges(i))?t:[])}).setWork(this.j.editor)}),this.cache[i])}__drawSelectionRanges(t){let{async:i,createInside:n,editor:o}=this.j;i.cancelAnimationFrame(this.wrapFrameRequest);let r=[...t],s,a=0;return i.promise(t=>{let l=()=>{do(s=r.shift())&&(0,u.highlightTextRanges)(this.j,s,r,n,o),a+=1;while(s&&a<=5)r.length?this.wrapFrameRequest=i.requestAnimationFrame(l):t()};l()})}onAfterGetValueFromEditor(t){t.value=(0,u.clearSelectionWrappersFromHTML)(t.value)}afterInit(t){if(t.o.useSearch){let i=this;t.e.on("beforeSetMode.search",()=>{this.ui.close()}).on(this.ui,"afterClose",()=>{(0,u.clearSelectionWrappers)(t),this.ui.currentIndex=0,this.ui.count=0,this.cache={},t.focus()}).on("click",()=>{this.ui.currentIndex=0,(0,u.clearSelectionWrappers)(t)}).on("change.search",()=>{this.cache={}}).on("keydown.search mousedown.search",t.async.debounce(()=>{this.ui.selInfo&&(t.s.removeMarkers(),this.ui.selInfo=null),this.ui.isOpened&&this.updateCounters()},t.defaultTimeout)).on("searchNext.search searchPrevious.search",()=>(this.ui.isOpened||this.ui.open(),i.findAndSelect(i.ui.query,"searchNext"===t.e.current).catch(t=>{o.IS_PROD}))).on("search.search",(t,n=!0)=>(this.ui.currentIndex=0,i.findAndSelect(t||"",n).catch(t=>{o.IS_PROD}))),t.registerCommand("search",{exec:(t,n,r=!0)=>(n&&i.findAndSelect(n,r).catch(t=>{o.IS_PROD}),!1)}).registerCommand("openSearchDialog",{exec:(t,n)=>(i.ui.open(n),!1),hotkeys:["ctrl+f","cmd+f"]}).registerCommand("openReplaceDialog",{exec:(n,o,r)=>(t.o.readonly||i.ui.open(o,r,!0),!1),hotkeys:["ctrl+h","cmd+h"]})}}beforeDestruct(t){var i;null==(i=(0,r.cached)(this,"ui"))||i.destruct(),t.e.off(".search")}constructor(){super(...arguments),this.buttons=[{name:"find",group:"search"}],this.previousQuery="",this.drawPromise=null,this.walker=null,this.walkerCount=null,this.cache={},this.wrapFrameRequest=0}}h([r.cache],p.prototype,"ui",null),h([(0,r.watch)("ui:needUpdateCounters")],p.prototype,"updateCounters",null),h([(0,r.watch)("ui:pressReplaceButton")],p.prototype,"onPressReplaceButton",null),h([r.autobind],p.prototype,"findQueryBounds",null),h([r.autobind],p.prototype,"findAndReplace",null),h([r.autobind],p.prototype,"findAndSelect",null),h([r.autobind],p.prototype,"find",null),h([(0,r.watch)(":afterGetValueFromEditor")],p.prototype,"onAfterGetValueFromEditor",null),a.pluginSystem.add("search",p)},36142:function(t,i,n){"use strict";n.d(i,{execute:function(){return s}});var o=n(6689),r=n(49459);async function s(t,i,n){let s=(0,r.requireString)(i,"html"),{collapseToEnd:a}=i;(0,o.throwIfAborted)(n);try{if(t.s.restore(),t.s.insertHTML(s),a){let i=t.s.range;i.collapse(!1),t.s.selectRange(i)}return t.e.fire("change"),{success:!0,message:"Selection replaced successfully"}}catch(t){throw Error("Failed to replace selection: "+t.message)}}},36204:function(t,i,n){"use strict";var o=n(82758),r=n(12153),s=n(6441),a=n(35599);s.Config.prototype.beautifyHTML=!o.IS_IE,s.Config.prototype.sourceEditor="ace",s.Config.prototype.sourceEditorNativeOptions={showGutter:!0,theme:"ace/theme/idle_fingers",mode:"ace/mode/html",wrap:!0,highlightActiveLine:!0},s.Config.prototype.sourceEditorCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js"],s.Config.prototype.beautifyHTMLCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js","https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js"],r.Icon.set("source",a.default),s.Config.prototype.controls.source={mode:o.MODE_SPLIT,exec(t){t.toggleMode()},isActive:t=>t.getRealMode()===o.MODE_SOURCE,tooltip:"Change mode"}},36243:function(t,i,n){"use strict";var o=n(22732),r=n(580),s=n(6441);s.Config.prototype.autofocus=!1,s.Config.prototype.cursorAfterAutofocus="end",s.Config.prototype.saveSelectionOnBlur=!0,r.pluginSystem.add("focus",function(t){t.o.saveSelectionOnBlur&&t.e.on("blur",()=>{t.isEditorMode()&&t.s.save(!0)}).on("focus",()=>{t.s.restore()});let i=()=>{if(t.s.focus(),"end"===t.o.cursorAfterAutofocus){let i=o.Dom.last(t.editor,t=>o.Dom.isText(t));i&&t.s.setCursorIn(i,!1)}};t.e.on("afterInit",()=>{t.o.autofocus&&(t.defaultTimeout?t.async.setTimeout(i,300):i())}),t.e.on("afterInit afterAddPlace",()=>{t.e.off(t.editor,"mousedown.autofocus").on(t.editor,"mousedown.autofocus",i=>{t.isEditorMode()&&i.target&&o.Dom.isBlock(i.target)&&!i.target.childNodes.length&&(t.editor===i.target?t.s.focus():t.s.setCursorIn(i.target))})})})},36347:function(t,i,n){"use strict";n(6441).Config.prototype.highlightSignature={processDelay:0,processInChunkCount:300,schema:{},excludeTags:["pre"]}},36409:function(t,i,n){"use strict";function o(t){return t.length?t[0].toUpperCase()+t.substring(1):""}n.d(i,{ucfirst:function(){return o}})},36469:function(t,i,n){"use strict";n.d(i,{UISelectItems:function(){return s}});var o=n(2748),r=n(41180);class s{static remove(t){o.Dom.safeRemove(t.container.querySelector(".jodit-ui-select-items")),t.j.e.off(t.container,"mousedown.uiselectitems touchstart.uiselectitems")}static install(t){let i=t.j.c.div("jodit-ui-select-items");t.j.e.on(t.container,"mousedown.uiselectitems touchstart.uiselectitems",this.onStartSelect.bind(this,t,i))}static onStartSelect(t,i,n){if(n.target!==t.container)return;(0,r.css)(i,{width:0,height:0}),t.container.appendChild(i);let o={x:n.clientX,y:n.clientY,w:t.container.offsetWidth,h:t.container.offsetHeight},s=t.j.async.throttle(this.onSelect.bind(this,t,i,o),t.j.defaultTimeout/10);t.j.lock(),t.j.e.on(t.j.ow,"mousemove touchmove",s).one(t.j.ow,"mouseup touchend",this.onEndSelect.bind(this,t,i,s)),t.onSelectItems({left:o.x,top:o.y,width:0,height:0})}static onSelect(t,i,n,o){let s={left:n.x>o.clientX?o.clientX:n.x,top:n.y>o.clientY?o.clientY:n.y,width:Math.abs(n.x-o.clientX),height:Math.abs(n.y-o.clientY)};(0,r.css)(i,s),t.onSelectItems(s)}static onEndSelect(t,i,n,r){o.Dom.safeRemove(i),t.j.e.off(t.j.ow,"mousemove touchmove",n),t.j.unlock()}}},36576:function(t){t.exports='<svg viewBox="0 0 77 86" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M7 38.6056L33.1367 7.96263L69.5477 45.7058L36.2444 72.166L7 76.9673V38.6056Z" stroke="black" stroke-width="6"/> <circle cx="71" cy="45" r="6" fill="#C8C8C8"/> <circle cx="35" cy="73" r="6" fill="#C8C8C8"/> <circle cx="6" cy="79" r="6" fill="#C8C8C8"/> <circle cx="6" cy="39" r="6" fill="#C8C8C8"/> <circle cx="33" cy="6" r="6" fill="#C8C8C8"/> </svg>'},36646:function(t,i,n){"use strict";n.d(i,{ToolbarButton:function(){return o.ToolbarButton},ToolbarContent:function(){return r.ToolbarContent},ToolbarSelect:function(){return s.ToolbarSelect}});var o=n(78644),r=n(80319),s=n(83111)},36704:function(t,i,n){"use strict";n.d(i,{UITree:function(){return c}});var o=n(82749),r=n(31635),s=n(87325),a=n(62405),l=n(43692);class c extends a.UIGroup{className(){return"UITree"}build(t){this.clear(),t.forEach(t=>{let i=new l.UIBrowserFolder(this.jodit,t);this.append(i),t.isActive&&i.setMod("active",!0),t.children.length&&this.append(new c(this.jodit,t.children))})}constructor(t,i){super(t),(0,o._)(this,"syncMod",!0),this.build(i)}}c=(0,r.__decorate)([s.component],c)},36806:function(t,i,n){"use strict";n.d(i,{Prompt:function(){return l}});var o=n(23282),r=n(29960),s=n(10830),a=n(78584);function l(t,i,n,l,c){let u=this instanceof a.Dialog?this:new a.Dialog({closeOnClickOverlay:!0}),d=(0,s.Button)(u,"cancel","Cancel"),h=(0,s.Button)(u,"ok","Ok"),p=u.c.element("form",{class:"jodit-dialog_prompt"}),f=u.c.element("input",{autofocus:!0,class:"jodit-input"}),m=u.c.element("label");(0,o.isFunction)(i)&&(n=i,i=void 0),l&&(0,r.attr)(f,"placeholder",l),m.appendChild(u.c.text(t)),p.appendChild(m),p.appendChild(f),d.onAction(u.close);let g=()=>{n&&(0,o.isFunction)(n)&&!1===n(f.value)||u.close()};return h.onAction(g),u.e.on(p,"submit",()=>(g(),!1)),u.setFooter([h,d]),u.open(p,i||"&nbsp;",!0,!0),f.focus(),void 0!==c&&c.length&&(f.value=c,f.select()),u}},36886:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1536h768v-384h-768v384zm896 0h128v-896q0-14-10-38.5t-20-34.5l-281-281q-10-10-34-20t-39-10v416q0 40-28 68t-68 28h-576q-40 0-68-28t-28-68v-416h-128v1280h128v-416q0-40 28-68t68-28h832q40 0 68 28t28 68v416zm-384-928v-320q0-13-9.5-22.5t-22.5-9.5h-192q-13 0-22.5 9.5t-9.5 22.5v320q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5-9.5t9.5-22.5zm640 32v928q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1344q0-40 28-68t68-28h928q40 0 88 20t76 48l280 280q28 28 48 76t20 88z"/> </svg> '},37068:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' x="0px" y="0px" viewBox="0 0 459 459"> <g> <path d="M229.5,0C102,0,0,102,0,229.5S102,459,229.5,459c20.4,0,38.25-17.85,38.25-38.25c0-10.2-2.55-17.85-10.2-25.5 c-5.1-7.65-10.2-15.3-10.2-25.5c0-20.4,17.851-38.25,38.25-38.25h45.9c71.4,0,127.5-56.1,127.5-127.5C459,91.8,357,0,229.5,0z M89.25,229.5c-20.4,0-38.25-17.85-38.25-38.25S68.85,153,89.25,153s38.25,17.85,38.25,38.25S109.65,229.5,89.25,229.5z M165.75,127.5c-20.4,0-38.25-17.85-38.25-38.25S145.35,51,165.75,51S204,68.85,204,89.25S186.15,127.5,165.75,127.5z M293.25,127.5c-20.4,0-38.25-17.85-38.25-38.25S272.85,51,293.25,51s38.25,17.85,38.25,38.25S313.65,127.5,293.25,127.5z M369.75,229.5c-20.4,0-38.25-17.85-38.25-38.25S349.35,153,369.75,153S408,170.85,408,191.25S390.15,229.5,369.75,229.5z" /> </g> </svg> '},37133:function(t,i,n){"use strict";n.d(i,{watch:function(){return h}});var o=n(78213),r=n(73026),s=n(46559),a=n(23282),l=n(72430),c=n(39955),u=n(89890),d=n(37790);function h(t,i){return(n,h)=>{var p;if(!(0,a.isFunction)(n[h]))throw(0,u.error)("Handler must be a Function");let f=null==(p=null==i?void 0:i.immediately)||p,m=null==i?void 0:i.context,g=i=>{let o=(0,c.isViewObject)(i)?i:i.jodit,u=(t,...n)=>{if(!i.isInDestruct)return i[h](t,...n)};f||(u=i.async.microDebounce(u,!0)),(0,s.splitArray)(t).forEach(t=>{if(/:/.test(t)){let[n,r]=t.split(":"),s=m;n.length&&(s=i.get(n)),(0,a.isFunction)(s)&&(s=s(i)),o.events.on(s||i,r,u),s||o.events.on(r,u),i.hookStatus("beforeDestruct",()=>{o.events.off(s||i,r,u).off(r,u)});return}let s=t.split("."),[c]=s,h=s.slice(1),p=i[c];(0,l.isPlainObject)(p)&&(0,r.observable)(p).on("change."+h.join("."),u);let f=(0,d.getPropertyDescriptor)(n,c);Object.defineProperty(i,c,{configurable:!0,set(t){let n=p;n!==t&&(p=t,f&&f.set&&f.set.call(i,t),(0,l.isPlainObject)(p)&&(p=(0,r.observable)(p)).on("change."+h.join("."),u),u(c,n,p))},get:()=>f&&f.get?f.get.call(i):p})})};(0,a.isFunction)(n.hookStatus)?n.hookStatus(o.STATUSES.ready,g):g(n)}}},37272:function(t,i,n){"use strict";n.r(i),i.default={newline:"줄 바꿈",delete:"삭제",space:"공간","Speech Recognize":"음성 인식",Sound:"소리","Interim Results":"중간 결과"}},37406:function(t,i,n){"use strict";n.d(i,{normalizeUrl:function(){return o}});let o=(...t)=>t.filter(t=>t.length).map(t=>t.replace(/\/$/,"")).join("/").replace(/([^:])[\\/]+/g,"$1/")},37426:function(t,i,n){"use strict";n.d(i,{ToolbarEditorCollection:function(){return c}});var o=n(82758),r=n(65478),s=n(22732),a=n(21537),l=n(11676);let c=class t extends l.ToolbarCollection{className(){return"ToolbarEditorCollection"}shouldBeDisabled(t){let i=super.shouldBeDisabled(t);if(void 0!==i)return i;let n=void 0===t.control.mode?o.MODE_WYSIWYG:t.control.mode;return n!==o.MODE_SPLIT&&n!==this.j.getRealMode()}shouldBeActive(t){let i,n=super.shouldBeActive(t);if(void 0!==n)return n;let o=this.j.selection?this.j.s.current():null;if(!o)return!1;if(t.control.tags){let n=t.control.tags;if(i=o,s.Dom.up(i,t=>{if(t&&-1!==n.indexOf(t.nodeName.toLowerCase()))return!0},this.j.editor))return!0}if(t.control.css){let n=t.control.css;if(i=o,s.Dom.up(i,t=>{if(t&&!s.Dom.isText(t)&&!s.Dom.isComment(t))return this.checkActiveStatus(n,t)},this.j.editor))return!0}return!1}getTarget(t){return t.target||this.j.s.current()||null}prependInvisibleInput(t){let i=this.j.create.element("input",{name:"jodit-toolbar-focus-helper_"+this.j.id,tabIndex:-1,disabled:!0,style:"width: 0; height:0; position: absolute; visibility: hidden;"});s.Dom.appendChildFirst(t,i)}showInline(t){this.jodit.e.fire("showInlineToolbar",t)}hide(){this.jodit.e.fire("hidePopup"),super.hide(),this.jodit.e.fire("toggleToolbar")}show(){super.show(),this.jodit.e.fire("toggleToolbar")}constructor(t){super(t),this.checkActiveStatus=(t,i)=>{let n=0,o=0;return Object.keys(t).forEach(r=>{let s=t[r];(0,a.isFunction)(s)?s(this.j,(0,a.css)(i,r).toString())&&(n+=1):-1!==s.indexOf((0,a.css)(i,r).toString())&&(n+=1),o+=1}),o===n},this.prependInvisibleInput(this.container)}};c=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([r.component],c)},37467:function(t,i,n){"use strict";n(6441).Config.prototype.tableAllowCellResize=!0},37508:function(t,i,n){"use strict";function o(t){return!!t.length&&!/[^0-9A-Za-zа-яА-ЯЁё\w\-_. ]/.test(t)&&t.trim().length>0}n.d(i,{isValidName:function(){return o}})},37585:function(t,i,n){"use strict";var o=n(82758),r=n(21537),s=n(6441),a=n(11676),l=n(21491);s.Config.prototype.mobileTapTimeout=300,s.Config.prototype.toolbarAdaptive=!0,s.Config.prototype.buttonsMD=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},{group:"font",buttons:[]},"---",{group:"media",buttons:[]},`
211
211
  `,{group:"state",buttons:[]},{group:"insert",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},"---",{group:"history",buttons:[]},{group:"other",buttons:[]},"|","dots"],s.Config.prototype.buttonsSM=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},"---",{group:"font",buttons:[]},`
212
212
  `,{group:"state",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},"---",{group:"history",buttons:[]},"|","dots"],s.Config.prototype.buttonsXS=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},"---",{group:"font",buttons:[]},{group:"color",buttons:[]},"---","dots"],s.Config.prototype.controls.dots={mode:o.MODE_SOURCE+o.MODE_WYSIWYG,popup(t,i,n,o){let s=o.control.data;return void 0===s&&(s={toolbar:(0,l.makeCollection)(t),rebuild(){var i,n;if(o){let l=t.e.fire("getDiffButtons.mobile",o.closest(a.ToolbarCollection));if(l&&s){s.toolbar.build((0,r.splitArray)(l));let o=(null==(n=null==(i=t.toolbar)?void 0:i.firstButton)?void 0:n.container.offsetWidth)||36;s.toolbar.container.style.width=(o+4)*3+"px"}}}},o.control.data=s),s.rebuild(),s.toolbar},tooltip:"Show all"}},37643:function(t,i,n){"use strict";n.d(i,{sound:function(){return s}});var o=n(82758),r=n(85567);function s({sec:t=.1,frequency:i=r.PII,gain:n=.1,type:a="sine"}={}){if(!o.globalWindow||void 0===o.globalWindow.AudioContext&&void 0===o.globalWindow.webkitAudioContext)return;let l=new(o.globalWindow.AudioContext||o.globalWindow.webkitAudioContext),c=l.createGain(),u=l.createOscillator();u.type=a,u.frequency.value=i,u.connect(c),c.connect(l.destination),u.start(),u.stop(l.currentTime+t),c.gain.value=n}},37663:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1171 960q0 13-10 23l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23z"/> </svg> '},37775:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 352v1088q0 42-39 59-13 5-25 5-27 0-45-19l-403-403v166q0 119-84.5 203.5t-203.5 84.5h-704q-119 0-203.5-84.5t-84.5-203.5v-704q0-119 84.5-203.5t203.5-84.5h704q119 0 203.5 84.5t84.5 203.5v165l403-402q18-19 45-19 12 0 25 5 39 17 39 59z"/> </svg> '},37790:function(t,i,n){"use strict";n.d(i,{call:function(){return l},callPromise:function(){return u},getDataTransfer:function(){return f},getPropertyDescriptor:function(){return m},keys:function(){return h},loadImage:function(){return d},markOwner:function(){return c},memorizeExec:function(){return p}});var o=n(14773),r=n(86068),s=n(29960),a=n(86583);function l(t,...i){return t(...i)}function c(t,i){(0,s.attr)(i,"data-editor_id",t.id),i.component||Object.defineProperty(i,"jodit",{value:t})}function u(t,i){return(0,o.isPromise)(t)?t.then(t=>t,()=>null).finally(i):null==i?void 0:i()}let d=(t,i)=>i.async.promise((n,o)=>{let r=new Image,s=()=>{i.e.off(r),null==o||o()},a=()=>{i.e.off(r),n(r)};i.e.one(r,"load",a).one(r,"error",s).one(r,"abort",s),r.src=t,r.complete&&a()}),h=(t,i=!0)=>{if(i)return Object.keys(t);let n=[];for(let i in t)n.push(i);return n},p=(t,i,{control:n},o)=>{var s;let l="button"+n.command,c=null!=(s=n.args&&n.args[0])?s:(0,a.dataBind)(t,l);if((0,r.isVoid)(c))return!1;(0,a.dataBind)(t,l,c),o&&(c=o(c)),t.execCommand(n.command,!1,null!=c?c:void 0)},f=t=>{if(t.clipboardData)return t.clipboardData;try{return t.dataTransfer||new DataTransfer}catch(t){return null}};function m(t,i){let n;do n=Object.getOwnPropertyDescriptor(t,i),t=Object.getPrototypeOf(t);while(!n&&t)return n}},38420:function(t,i,n){"use strict";n.d(i,{humanSizeToBytes:function(){return o}});let o=t=>{if(/^[0-9.]+$/.test(t.toString()))return parseFloat(t);let i=t.substr(-2,2).toUpperCase(),n=["KB","MB","GB","TB"],o=parseFloat(t.substr(0,t.length-2));return -1!==n.indexOf(i)?o*Math.pow(1024,n.indexOf(i)+1):parseInt(t,10)}},38512:function(t,i,n){"use strict";n.d(i,{UIBackupItem:function(){return a}});var o=n(82749),r=n(21537),s=n(67510);class a extends s.UIElement{className(){return"UIBackupItem"}formatDate(t){let i=new Date,n=(0,r.isString)(t)?new Date(t):t,o=(i.getTime()-n.getTime())/1e3;return(0,r.isFunction)(this.j.o.backup.formatDate)?this.j.o.backup.formatDate(n):o<.2?this.j.i18n("Current"):o<60?this.j.i18n("Less minute"):o<=3600?this.j.i18n("%s minutes ago",Math.floor(o/60)):o<=86400?this.j.i18n("%s hours ago",Math.floor(o/3600)):`${n.toDateString()} ${n.toLocaleTimeString()}`}focus(){this.container.focus()}constructor(t,i){super(t),(0,o._)(this,"data",void 0),this.data=i,this.container.innerHTML=this.formatDate(i.created),(0,r.attr)(this.container,"tabIndex",0)}}},38837:function(t,i,n){"use strict";n.d(i,{assert:function(){return r}});class o extends Error{constructor(t){super(t),this.name="AssertionError"}}function r(t,i){if(!t)throw new o("Assertion failed: "+i)}},38882:function(t,i,n){"use strict";n.d(i,{isAllowedSubdomain:function(){return r},validateLicense:function(){return function t(i,n){var o;let s;if(o=i=i.replace(/[^A-Z0-9-]/g,"R"),/[A-Z0-9][013456][A-P0-9]{2}[ABC]-([0-3])[ELPDF][E-L4-8]{2}\1-[A-D][R0][J-P5-6]{3}-[DPGHYE][GFPOD]{3}[A-SX-Z]/.test(o)||r(n))return!0;let a=(s=n.split(".")).map(t=>{let i=t[0];return"string"==typeof i&&i.charCodeAt(0)?String.fromCharCode(i.charCodeAt(0)+1):i}).concat(s.map(t=>{let i=t[t.length-1];return"string"==typeof i&&i.charCodeAt(0)?String.fromCharCode(i.charCodeAt(0)-1):i})).map(t=>null!=t&&/\w/.test(t)?t:"r"),l=["[A-F013456][A-F0-9]{3}{part}","([0-3]){part}[E-L4-8]{2}\\1","[A-D]{part}[J-P5-6]{3}","{part}[A-R0-9]{3}[X-Z]"].map((t,i)=>t.replace("{part}",a[i]||"[R-T]")),c=RegExp(`^${l.join("-")}$`,"i"),u=i.substring(12,13),d=c.test(i);if(!d&&u===(typeof!n).toUpperCase()[5]){let o=n.split(".");return o.shift(),!!o.length&&t(i,o.join("."))}return d}}});let o=["*localhost*","staging.","*.dev.","*.test.","*.stg.","stg.*","test.*","beta.*","*demo.*","*test.*","acceptatie.*"];function r(t){return o.some(i=>new RegExp(i.replace(/\*/g,"%ANY%").replace(/[/\-\\^$*+?.()|[\]{}]/g,"\\$&").replace(/%ANY%/g,".*")).test(t))}},38927:function(t,i,n){"use strict";n.d(i,{TabsWidget:function(){return c}});var o=n(91907),r=n(2748),s=n(23282),a=n(29960),l=n(67510);let c=(t,i,n)=>{let c=t.c.div("jodit-tabs"),u=t.c.div("jodit-tabs__wrapper"),d=t.c.div("jodit-tabs__buttons");(0,a.attr)(d,{role:"tablist","aria-orientation":"horizontal"});let h={},p=[],f="";c.appendChild(d),c.appendChild(u);let m=t=>{h[t]&&(p.forEach(t=>{t.state.activated=!1}),Object.values(h).forEach(({tab:t})=>t.classList.remove("jodit-tab_active")),h[t].button.state.activated=!0,h[t].tab.classList.add("jodit-tab_active"))};if(i.forEach(({icon:c,name:g,content:b})=>{let v=t.c.div("jodit-tab");(0,a.attr)(v,{role:"tabpanel"});let y=(0,l.Button)(t,c||g,g);y.state.role="tab",t.e.on(y.container,"pointerdown",t=>t.preventDefault()),f||(f=g),d.appendChild(y.container),p.push(y),y.container.classList.add("jodit-tabs__button","jodit-tabs__button_columns_"+i.length),(0,s.isFunction)(b)?v.appendChild(t.c.div("jodit-tab_empty")):v.appendChild(o.Component.isInstanceOf(b,l.UIElement)?b.container:b),u.appendChild(v),y.onAction(()=>(m(g),(0,s.isFunction)(b)&&!r.Dom.isElement(b)&&b.call(t),n&&(n.activeTab=g),!1)),h[g]={button:y,tab:v}}),Object.values(h).forEach(({button:t})=>{t.container.style.width=(100/i.length).toFixed(10)+"%"}),m(n&&n.activeTab&&h[n.activeTab]?n.activeTab:f),n){let t=n.activeTab;Object.defineProperty(n,"activeTab",{configurable:!0,enumerable:!1,get:()=>t,set(i){t=i,m(i)}})}return c}},39179:function(t,i){"use strict";i.default={"copy-format":"Copiar formato"}},39296:function(t,i,n){"use strict";var o=n(73943),r=n(19127);i.default={...o,execute:r.execute}},39433:function(t,i,n){"use strict";n.d(i,{fillEmptyParagraph:function(){return a}});var o=n(82758),r=n(2748);let s=new Set(["table","tbody","thead","tfoot","tr"]);function a(t,i,n){if(t.o.cleanHTML.fillEmptyParagraph&&r.Dom.isBlock(i)&&r.Dom.isEmpty(i,o.INSEPARABLE_TAGS)&&!r.Dom.isTag(i,s)){let n=t.createInside.element("br");return i.appendChild(n),!0}return n}},39516:function(t,i,n){"use strict";n.d(i,{visitNodeWalker:function(){return a}});var o=n(82758),r=n(45235);let s=Object.keys(r);function a(t,i,n,a,l){let c=!1,u=t.o.cleanHTML.disableCleanFilter;for(let d of s)if(!(u&&u.has(d))&&(c=(0,r[d])(t,i,c,n,a,l),o.IS_PROD,!i.isConnected))return!0;return c}},39592:function(t,i,n){"use strict";n.d(i,{execute:function(){return s}});var o=n(6689),r=n(49459);async function s(t,i,n){let s=(0,r.requireString)(i,"html",{allowEmpty:!0}),{replace:a}=i;if(!s.trim())return{success:!0,message:"Nothing to insert: HTML is empty"};(0,o.throwIfAborted)(n);try{return t.s.focus(),a&&!t.s.isCollapsed()&&t.s.remove(),t.s.insertHTML(s),t.synchronizeValues(),{success:!0,message:`Inserted ${s.length} characters of HTML`}}catch(t){throw Error("Failed to insert HTML: "+(t?.message||"Unknown error"))}}},39627:function(t,i,n){"use strict";var o=n(33433),r=n(37133),s=n(580),a=n(12045),l=n(20356);n(31974);var c=n(32523),u=n(19308),d=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class h extends l.Plugin{get __dialog(){return this.jodit.dlg({buttons:["fullsize","dialog.close"],closeOnClickOverlay:!0,closeOnEsc:!0,resizable:!1,draggable:!0,minHeight:160})}get __container(){let{jodit:t,__dialog:i}=this;return new c.UiAiAssistant(t,{onInsertAfter(n){t.s.focus(),t.s.setCursorAfter(t.s.current()),t.s.insertHTML(n),i.close()},onInsert(n){t.s.focus(),t.s.insertHTML(n),i.close()}})}afterInit(){}onGenerateAiAssistantForm(t){this.__dialog.open(this.__container,"AI Assistant"),this.__container.setPrompt(t)}onInvokeAiAssistant(t){let{jodit:i}=this;i.s.focus();let n=i.s.html;i.async.promise(async(o,r)=>{try{let r=await i.o.aiAssistant.aiAssistantCallback(t,n);o(r)}catch(t){r(t)}}).then(t=>{i.e.fire("ai-assistant-response",t)}).catch(t=>{(0,a.isAbortError)(t)||(i.message.error(t.message),i.e.fire("ai-assistant-error",t.message))})}beforeDestruct(t){var i,n;null==(i=(0,o.cached)(this,"__container"))||i.destruct(),null==(n=(0,o.cached)(this,"__dialog"))||n.destruct()}constructor(t){super(t),this.buttons=[{name:"ai-commands",group:"insert"},{name:"ai-assistant",group:"insert"}],(0,s.extendLang)(u)}}d([o.cache],h.prototype,"__dialog",null),d([o.cache],h.prototype,"__container",null),d([(0,r.watch)(":generateAiAssistantForm.ai-assistant")],h.prototype,"onGenerateAiAssistantForm",null),d([(0,r.watch)(":invokeAiAssistant")],h.prototype,"onInvokeAiAssistant",null),s.pluginSystem.add("ai-assistant",h)},39955:function(t,i,n){"use strict";n.d(i,{isViewObject:function(){return r}});var o=n(23282);function r(t){return!!(t&&t instanceof Object&&(0,o.isFunction)(t.constructor)&&t.isView)}},40104:function(t,i,n){"use strict";n.d(i,{UITuner:function(){return d}});var o=n(82749),r=n(31635),s=n(65478),a=n(22732),l=n(21537),c=n(67510),u=n(21491);class d extends c.UIElement{className(){return"UITuner"}render(){return`<div>
213
213
  <div class='&__handle' title='~Click to tune~'/>
@@ -246,7 +246,7 @@ ${s}`.trim();n?await this.__executeQuickCommandSilent(c,s):await this.__executeQ
246
246
  background-position: top 2px ${"rtl"===this.j.o.direction?"left":"right"} 4px;
247
247
  background-repeat: no-repeat;
248
248
  position: relative;
249
- }`).join("")}disable(){this.isEnabled=!1;let t=(0,c.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(),u.Dom.safeRemove((0,c.cached)(this,"style"))}constructor(t){super(t),(0,o._)(this,"buttons",[{name:"showBlocks",group:"state"}]),(0,o._)(this,"isEnabled",!1),(0,d.extendLang)(s),p.Icon.set("showBlocks",l())}}(0,o._)(m,"requires",["license"]),(0,r.__decorate)([c.cache],m.prototype,"style",null),(0,r.__decorate)([c.autobind],m.prototype,"enable",null),(0,r.__decorate)([c.autobind],m.prototype,"disable",null),(0,r.__decorate)([c.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 o.onTabInsideLi}});var o=n(26658)},47749:function(t,i,n){"use strict";n.d(i,{readMargins:function(){return r}});var o=n(12475);function r(t,i,n){let r=!0,s=!1;["marginTop","marginRight","marginBottom","marginLeft"].forEach(n=>{let a=t.style.getPropertyValue((0,o.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]||r&&"marginTop"!==n&&i[n]!==i.marginTop)&&(r=!1)}),n.marginIsLocked=r}},48038:function(t,i,n){"use strict";var o=n(6441);o.Config.prototype.toolbarSticky=!0,o.Config.prototype.toolbarDisableStickyForMobile=!0,o.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 h}});var o,r=n(91907),s=n(55153),a=n(2748),l=n(70799),c=n(14316),u=n(34176),d=n(12153);let h=o=class t extends r.ViewComponent{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=>r.Component.isInstanceOf(i,t),n=this.__parentElement;for(;n;){if(i(n))return n;n=!n.parentElement&&n.container.parentElement?o.closestElement(n.container.parentElement,o):n.parentElement}return null}static closestElement(t,i){let n=a.Dom.up(t,t=>{if(t){let{component:n}=t;return n&&r.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)=>d.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.container=this.createContainer(i),Object.defineProperty(this.container,"component",{value:this,configurable:!0})}};h=o=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([(0,s.derive)(u.Mods,c.Elms)],h)},48591:function(t,i,n){"use strict";n.d(i,{makeInstance:function(){return s}});var o=n(82758),r=n(23282);function s(t,i){try{try{return(0,r.isFunction)(i)?new i(t):i}catch(n){if((0,r.isFunction)(i)&&!i.prototype)return i(t)}}catch(t){if(!o.IS_PROD)throw t}return null}},48705:function(t,i,n){"use strict";n.d(i,{UISettingsButton:function(){return o.UISettingsButton}});var o=n(76697)},49033:function(t,i,n){"use strict";n.d(i,{normalizeKeyAliases:function(){return s}});var o=n(82758),r=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,r.trim)(t.toLowerCase())).map(t=>o.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 r},trimChars:function(){return s},trimInv:function(){return a}});var o=n(82758);function r(t){return t.replace((0,o.SPACE_REG_EXP_END)(),"").replace((0,o.SPACE_REG_EXP_START)(),"")}function s(t,i){return t.replace(RegExp(`[${i}]+$`),"").replace(RegExp(`^[${i}]+`),"")}function a(t){return t.replace((0,o.INVISIBLE_SPACE_REG_EXP_END)(),"").replace((0,o.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 o(t,i,n={}){let r=t[i];if("string"!=typeof r||!n.allowEmpty&&""===r)throw Error(`Parameter "${i}" is required and must be a${n.allowEmpty?"":" non-empty"} string`);return r}n.d(i,{requireString:function(){return o}})},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ólum"}},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 o=n(82758),r=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,r.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),o.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 g},openImageEditor:function(){return b}});var o,r=n(91907),s=n(65478),a=n(22732),l=n(21537),c=n(62843),u=n(6441);n(62489);var d=n(22461),h=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let p="jodit-image-editor",f="resize",m="crop",g=o=class t extends r.ViewComponent{className(){return"ImageEditor"}get o(){return this.options}hide(){this._dialog.close()}open(t,i){return this.j.async.promise(n=>{let o=new Date().getTime();this.image=this.j.c.element("img"),(0,l.$$)("img,.jodit-icon_loader",this.resize_box).forEach(a.Dom.safeRemove),(0,l.$$)("img,.jodit-icon_loader",this.crop_box).forEach(a.Dom.safeRemove),(0,l.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="+o:t+="?_tst="+o,this.image.setAttribute("src",t),this._dialog.open();let{widthInput:r,heightInput:s}=(0,l.refs)(this.editor),c=()=>{this.isDestructed||(this.image.removeEventListener("load",c),this.naturalWidth=this.image.naturalWidth,this.naturalHeight=this.image.naturalHeight,r.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,l.$$)(".jodit-icon_loader",this.editor)),this.activeTab===m&&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",c),this.image.complete&&c()})}onTitleModeClick(t){let i=t.target,n=null==i?void 0:i.parentElement;if(!n)return;(0,l.$$)(`.${p}__slider,.${p}__area`,this.editor).forEach(t=>t.classList.remove(`${p}_active`)),n.classList.add(`${p}_active`),this.activeTab=(0,l.attr)(n,"-area")||f;let o=this.editor.querySelector(`.${p}__area.${p}__area_`+this.activeTab);o&&o.classList.add(`${p}_active`),this.activeTab===m&&this.showCrop()}onChangeSizeInput(t){let i,n=t.target,{widthInput:o,heightInput:r}=(0,l.refs)(this.editor),s="widthInput"===(0,l.attr)(n,"data-ref"),a=parseInt(n.value,10),c=s?this.o.min_width:this.o.min_height,u=s?this.o.min_height:this.o.min_width;a>c&&((0,l.css)(this.image,s?"width":"height",a),this.resizeUseRatio&&(i=s?Math.round(a/this.ratio):Math.round(a*this.ratio))>u&&((0,l.css)(this.image,s?"height":"width",i),s?r.value=i.toString():o.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===m?(this.top_x=(0,l.css)(this.cropHandler,"left"),this.top_y=(0,l.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,l.refs)(this.editor);this.diff_x=t.clientX-this.start_x,this.diff_y=t.clientY-this.start_y,this.activeTab===f&&this.resizeUseRatio||this.activeTab===m&&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===f?(this.new_w>this.o.resizeMinWidth&&((0,l.css)(this.image,"width",this.new_w+"px"),i.value=this.new_w.toString()),this.new_h>this.o.resizeMinHeight&&((0,l.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,l.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,l.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,l.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,"."+p).off("."+p),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=f,this.naturalWidth=0,this.naturalHeight=0,this.ratio=0,this.new_h=0,this.new_w=0,this.diff_x=0,this.diff_y=0,this.cropBox={x:0,y:0,w:0,h:0},this.resizeBox={w:0,h:0},this.calcCropBox=()=>{let t=this.crop_box.parentNode,i=.8*t.offsetWidth,n=.8*t.offsetHeight,o=i,r=n,{naturalWidth:s,naturalHeight:a}=this;i>s&&n>a?(o=s,r=a):this.ratio>i/n?(o=i,r=i/s*a):(o=n/a*s,r=n),(0,l.css)(this.crop_box,{width:o,height:r})},this.showCrop=()=>{if(!this.cropImage)return;this.calcCropBox();let t=this.cropImage.offsetWidth||this.image.offsetWidth||this.image.naturalWidth;this.new_w=o.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=o.calcValueByPercent(i,this.o.cropDefaultHeight),(0,l.css)(this.cropHandler,{backgroundImage:"url("+(0,l.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,l.css)(this.cropHandler,"left")/t,this.cropBox.y=(0,l.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,l.refs)(this.editor);t.j.e.on([t.editor.querySelector(".jodit_bottomright"),t.cropHandler],"mousedown."+p,this.onResizeHandleMouseDown).on(this.j.ow,"resize."+p,()=>{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(`.${p}__slider-title`)),"click",this.onTitleModeClick).on([i,n],"input",this.onChangeSizeInput);let{keepAspectRatioResize:o,keepAspectRatioCrop:r}=(0,l.refs)(this.editor);o&&o.addEventListener("change",()=>{this.resizeUseRatio=o.checked}),r&&r.addEventListener("change",()=>{this.cropUseRatio=r.checked}),t.j.e.on(t.resizeHandler,"updatesize",()=>{(0,l.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,l.css)(t.cropHandler,"left"),n=(0,l.css)(t.cropHandler,"top"),o=t.cropHandler.offsetWidth,r=t.cropHandler.offsetHeight;i<0&&(i=0),n<0&&(n=0),i+o>t.cropImage.offsetWidth&&(o=t.cropImage.offsetWidth-i,t.cropUseRatio&&(r=o/t.ratio)),n+r>t.cropImage.offsetHeight&&(r=t.cropImage.offsetHeight-n,t.cropUseRatio&&(o=r*t.ratio)),(0,l.css)(t.cropHandler,{width:o,height:r,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(o=>{o.onAction(()=>{let r={action:t.activeTab,box:t.activeTab===f?t.resizeBox:t.cropBox};switch(o){case t.buttons.saveas:t.j.prompt("Enter new name","Save in new file",i=>{if(!(0,l.trim)(i))return t.j.alert("The name should not be empty"),!1;t.onSave(i,r,t.hide,i=>{t.j.alert(i.message)})});break;case t.buttons.save:t.onSave(void 0,r,t.hide,i=>{t.j.alert(i.message)});break;case t.buttons.reset:t.activeTab===f?((0,l.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:u.Config.defaultOptions.imageeditor;const i=this.options;this.resizeUseRatio=i.resizeUseRatio,this.cropUseRatio=i.cropUseRatio,this.buttons={reset:(0,c.Button)(this.j,"update","Reset"),save:(0,c.Button)(this.j,"save","Save"),saveas:(0,c.Button)(this.j,"save","Save as ...")},this.activeTab=i.resize?f:m,this.editor=(0,d.form)(this.j,this.options);const{resizeBox:n,cropBox:r}=(0,l.refs)(this.editor);this.resize_box=n,this.crop_box=r,this.sizes=this.editor.querySelector(`.${p}__area.${p}__area_crop .jodit-image-editor__sizes`),this.resizeHandler=this.editor.querySelector(`.${p}__resizer`),this.cropHandler=this.editor.querySelector(`.${p}__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 b(t,i,n,o,r,s){return this.getInstance("ImageEditor",this.o).open(t,(t,a,c,u)=>(0,l.call)("resize"===a.action?this.dataProvider.resize:this.dataProvider.crop,n,o,i,t,a.box).then(t=>{t&&(c(),r&&r())}).catch(t=>{u(t),s&&s(t)}))}g.calcValueByPercent=(t,i)=>{let n,o=i.toString(),r=parseFloat(t.toString());return(n=/^[-+]?[0-9]+(px)?$/.exec(o))?parseInt(o,10):(n=/^([-+]?[0-9.]+)%$/.exec(o))?Math.round(r*(parseFloat(n[1])/100)):r||0},h([s.autobind],g.prototype,"hide",null),h([s.autobind],g.prototype,"open",null),h([s.autobind],g.prototype,"onTitleModeClick",null),h([(0,s.debounce)(),s.autobind],g.prototype,"onChangeSizeInput",null),h([s.autobind],g.prototype,"onResizeHandleMouseDown",null),h([s.autobind],g.prototype,"onGlobalMouseUp",null),h([(0,s.throttle)(10)],g.prototype,"onGlobalMouseMove",null),g=o=h([s.component],g)},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 u}});var o=n(82758),r=n(22732),s=n(580),a=n(21537),l=n(74569),c=n(80020);function u(t,i,n,u,d){if(i&&(!i.types.length||i.types[0]!==o.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 o=(0,a.isJoditObject)(t.j)?t.j.s.save():null;i.focus(),t.j.async.setTimeout(()=>{let s=i.firstChild;if(r.Dom.safeRemove(i),s&&s.hasAttribute("src")){let i=(0,a.attr)(s,"src")||"";o&&(0,a.isJoditObject)(t.j)&&t.j.s.restore(),(0,c.sendFiles)(t,[(0,l.dataURItoBlob)(i)],n,u).finally(d)}},t.j.defaultTimeout)}}},50535:function(t,i,n){"use strict";n.d(i,{LimitedStack:function(){return o}});class o{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 o.Plugin}});var o=n(20356);n(41876)},50963:function(t,i,n){"use strict";var o=n(6441);o.Config.prototype.iframeBaseUrl="",o.Config.prototype.iframeTitle="Jodit Editor",o.Config.prototype.iframeDoctype="<!DOCTYPE html>",o.Config.prototype.iframeDefaultSrc="about:blank",o.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}',o.Config.prototype.iframeCSSLinks=[],o.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 g}});var o=n(82749),r=n(31635),s=n(68365),a=n(63227),l=n(86563),c=n(93677),u=n(48705),d=n(55885),h=n(65478),p=n(2748),f=n(67510),m=n(62843);class g extends f.UIElement{className(){return"UIMainPanel"}setParentView(t){return this.welcomeScreen?.setParentView(t),this.conversationList?.setParentView(t),this.messageList?.setParentView(t),this.inputArea?.setParentView(t),this.permissionRequest?.setParentView(t),this.settingsButton?.setParentView(t),super.setParentView(t)}render(){return`<div class="&__container">
249
+ }`).join("")}disable(){this.isEnabled=!1;let t=(0,c.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(),u.Dom.safeRemove((0,c.cached)(this,"style"))}constructor(t){super(t),(0,o._)(this,"buttons",[{name:"showBlocks",group:"state"}]),(0,o._)(this,"isEnabled",!1),(0,d.extendLang)(s),p.Icon.set("showBlocks",l())}}(0,o._)(m,"requires",["license"]),(0,r.__decorate)([c.cache],m.prototype,"style",null),(0,r.__decorate)([c.autobind],m.prototype,"enable",null),(0,r.__decorate)([c.autobind],m.prototype,"disable",null),(0,r.__decorate)([c.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 o.onTabInsideLi}});var o=n(26658)},47749:function(t,i,n){"use strict";n.d(i,{readMargins:function(){return r}});var o=n(12475);function r(t,i,n){let r=!0,s=!1;["marginTop","marginRight","marginBottom","marginLeft"].forEach(n=>{let a=t.style.getPropertyValue((0,o.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]||r&&"marginTop"!==n&&i[n]!==i.marginTop)&&(r=!1)}),n.marginIsLocked=r}},48038:function(t,i,n){"use strict";var o=n(6441);o.Config.prototype.toolbarSticky=!0,o.Config.prototype.toolbarDisableStickyForMobile=!0,o.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 o,r=n(91907),s=n(55153),a=n(2748),l=n(70799),c=n(29960),u=n(14316),d=n(34176),h=n(12153);let p=o=class t extends r.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=>r.Component.isInstanceOf(i,t),n=this.__parentElement;for(;n;){if(i(n))return n;n=!n.parentElement&&n.container.parentElement?o.closestElement(n.container.parentElement,o):n.parentElement}return null}static closestElement(t,i){let n=a.Dom.up(t,t=>{if(t){let{component:n}=t;return n&&r.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,c.attr)(this.container,"role",n),Object.defineProperty(this.container,"component",{value:this,configurable:!0})}};p=o=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([(0,s.derive)(d.Mods,u.Elms)],p)},48591:function(t,i,n){"use strict";n.d(i,{makeInstance:function(){return s}});var o=n(82758),r=n(23282);function s(t,i){try{try{return(0,r.isFunction)(i)?new i(t):i}catch(n){if((0,r.isFunction)(i)&&!i.prototype)return i(t)}}catch(t){if(!o.IS_PROD)throw t}return null}},48705:function(t,i,n){"use strict";n.d(i,{UISettingsButton:function(){return o.UISettingsButton}});var o=n(76697)},49033:function(t,i,n){"use strict";n.d(i,{normalizeKeyAliases:function(){return s}});var o=n(82758),r=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,r.trim)(t.toLowerCase())).map(t=>o.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 r},trimChars:function(){return s},trimInv:function(){return a}});var o=n(82758);function r(t){return t.replace((0,o.SPACE_REG_EXP_END)(),"").replace((0,o.SPACE_REG_EXP_START)(),"")}function s(t,i){return t.replace(RegExp(`[${i}]+$`),"").replace(RegExp(`^[${i}]+`),"")}function a(t){return t.replace((0,o.INVISIBLE_SPACE_REG_EXP_END)(),"").replace((0,o.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 o(t,i,n={}){let r=t[i];if("string"!=typeof r||!n.allowEmpty&&""===r)throw Error(`Parameter "${i}" is required and must be a${n.allowEmpty?"":" non-empty"} string`);return r}n.d(i,{requireString:function(){return o}})},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ólum"}},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 o=n(82758),r=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,r.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),o.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 g},openImageEditor:function(){return b}});var o,r=n(91907),s=n(65478),a=n(22732),l=n(21537),c=n(62843),u=n(6441);n(62489);var d=n(22461),h=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let p="jodit-image-editor",f="resize",m="crop",g=o=class t extends r.ViewComponent{className(){return"ImageEditor"}get o(){return this.options}hide(){this._dialog.close()}open(t,i){return this.j.async.promise(n=>{let o=new Date().getTime();this.image=this.j.c.element("img"),(0,l.$$)("img,.jodit-icon_loader",this.resize_box).forEach(a.Dom.safeRemove),(0,l.$$)("img,.jodit-icon_loader",this.crop_box).forEach(a.Dom.safeRemove),(0,l.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="+o:t+="?_tst="+o,this.image.setAttribute("src",t),this._dialog.open();let{widthInput:r,heightInput:s}=(0,l.refs)(this.editor),c=()=>{this.isDestructed||(this.image.removeEventListener("load",c),this.naturalWidth=this.image.naturalWidth,this.naturalHeight=this.image.naturalHeight,r.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,l.$$)(".jodit-icon_loader",this.editor)),this.activeTab===m&&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",c),this.image.complete&&c()})}onTitleModeClick(t){let i=t.target,n=null==i?void 0:i.parentElement;if(!n)return;(0,l.$$)(`.${p}__slider,.${p}__area`,this.editor).forEach(t=>t.classList.remove(`${p}_active`)),n.classList.add(`${p}_active`),this.activeTab=(0,l.attr)(n,"-area")||f;let o=this.editor.querySelector(`.${p}__area.${p}__area_`+this.activeTab);o&&o.classList.add(`${p}_active`),this.activeTab===m&&this.showCrop()}onChangeSizeInput(t){let i,n=t.target,{widthInput:o,heightInput:r}=(0,l.refs)(this.editor),s="widthInput"===(0,l.attr)(n,"data-ref"),a=parseInt(n.value,10),c=s?this.o.min_width:this.o.min_height,u=s?this.o.min_height:this.o.min_width;a>c&&((0,l.css)(this.image,s?"width":"height",a),this.resizeUseRatio&&(i=s?Math.round(a/this.ratio):Math.round(a*this.ratio))>u&&((0,l.css)(this.image,s?"height":"width",i),s?r.value=i.toString():o.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===m?(this.top_x=(0,l.css)(this.cropHandler,"left"),this.top_y=(0,l.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,l.refs)(this.editor);this.diff_x=t.clientX-this.start_x,this.diff_y=t.clientY-this.start_y,this.activeTab===f&&this.resizeUseRatio||this.activeTab===m&&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===f?(this.new_w>this.o.resizeMinWidth&&((0,l.css)(this.image,"width",this.new_w+"px"),i.value=this.new_w.toString()),this.new_h>this.o.resizeMinHeight&&((0,l.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,l.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,l.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,l.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,"."+p).off("."+p),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=f,this.naturalWidth=0,this.naturalHeight=0,this.ratio=0,this.new_h=0,this.new_w=0,this.diff_x=0,this.diff_y=0,this.cropBox={x:0,y:0,w:0,h:0},this.resizeBox={w:0,h:0},this.calcCropBox=()=>{let t=this.crop_box.parentNode,i=.8*t.offsetWidth,n=.8*t.offsetHeight,o=i,r=n,{naturalWidth:s,naturalHeight:a}=this;i>s&&n>a?(o=s,r=a):this.ratio>i/n?(o=i,r=i/s*a):(o=n/a*s,r=n),(0,l.css)(this.crop_box,{width:o,height:r})},this.showCrop=()=>{if(!this.cropImage)return;this.calcCropBox();let t=this.cropImage.offsetWidth||this.image.offsetWidth||this.image.naturalWidth;this.new_w=o.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=o.calcValueByPercent(i,this.o.cropDefaultHeight),(0,l.css)(this.cropHandler,{backgroundImage:"url("+(0,l.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,l.css)(this.cropHandler,"left")/t,this.cropBox.y=(0,l.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,l.refs)(this.editor);t.j.e.on([t.editor.querySelector(".jodit_bottomright"),t.cropHandler],"mousedown."+p,this.onResizeHandleMouseDown).on(this.j.ow,"resize."+p,()=>{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(`.${p}__slider-title`)),"click",this.onTitleModeClick).on([i,n],"input",this.onChangeSizeInput);let{keepAspectRatioResize:o,keepAspectRatioCrop:r}=(0,l.refs)(this.editor);o&&o.addEventListener("change",()=>{this.resizeUseRatio=o.checked}),r&&r.addEventListener("change",()=>{this.cropUseRatio=r.checked}),t.j.e.on(t.resizeHandler,"updatesize",()=>{(0,l.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,l.css)(t.cropHandler,"left"),n=(0,l.css)(t.cropHandler,"top"),o=t.cropHandler.offsetWidth,r=t.cropHandler.offsetHeight;i<0&&(i=0),n<0&&(n=0),i+o>t.cropImage.offsetWidth&&(o=t.cropImage.offsetWidth-i,t.cropUseRatio&&(r=o/t.ratio)),n+r>t.cropImage.offsetHeight&&(r=t.cropImage.offsetHeight-n,t.cropUseRatio&&(o=r*t.ratio)),(0,l.css)(t.cropHandler,{width:o,height:r,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(o=>{o.onAction(()=>{let r={action:t.activeTab,box:t.activeTab===f?t.resizeBox:t.cropBox};switch(o){case t.buttons.saveas:t.j.prompt("Enter new name","Save in new file",i=>{if(!(0,l.trim)(i))return t.j.alert("The name should not be empty"),!1;t.onSave(i,r,t.hide,i=>{t.j.alert(i.message)})});break;case t.buttons.save:t.onSave(void 0,r,t.hide,i=>{t.j.alert(i.message)});break;case t.buttons.reset:t.activeTab===f?((0,l.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:u.Config.defaultOptions.imageeditor;const i=this.options;this.resizeUseRatio=i.resizeUseRatio,this.cropUseRatio=i.cropUseRatio,this.buttons={reset:(0,c.Button)(this.j,"update","Reset"),save:(0,c.Button)(this.j,"save","Save"),saveas:(0,c.Button)(this.j,"save","Save as ...")},this.activeTab=i.resize?f:m,this.editor=(0,d.form)(this.j,this.options);const{resizeBox:n,cropBox:r}=(0,l.refs)(this.editor);this.resize_box=n,this.crop_box=r,this.sizes=this.editor.querySelector(`.${p}__area.${p}__area_crop .jodit-image-editor__sizes`),this.resizeHandler=this.editor.querySelector(`.${p}__resizer`),this.cropHandler=this.editor.querySelector(`.${p}__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 b(t,i,n,o,r,s){return this.getInstance("ImageEditor",this.o).open(t,(t,a,c,u)=>(0,l.call)("resize"===a.action?this.dataProvider.resize:this.dataProvider.crop,n,o,i,t,a.box).then(t=>{t&&(c(),r&&r())}).catch(t=>{u(t),s&&s(t)}))}g.calcValueByPercent=(t,i)=>{let n,o=i.toString(),r=parseFloat(t.toString());return(n=/^[-+]?[0-9]+(px)?$/.exec(o))?parseInt(o,10):(n=/^([-+]?[0-9.]+)%$/.exec(o))?Math.round(r*(parseFloat(n[1])/100)):r||0},h([s.autobind],g.prototype,"hide",null),h([s.autobind],g.prototype,"open",null),h([s.autobind],g.prototype,"onTitleModeClick",null),h([(0,s.debounce)(),s.autobind],g.prototype,"onChangeSizeInput",null),h([s.autobind],g.prototype,"onResizeHandleMouseDown",null),h([s.autobind],g.prototype,"onGlobalMouseUp",null),h([(0,s.throttle)(10)],g.prototype,"onGlobalMouseMove",null),g=o=h([s.component],g)},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 u}});var o=n(82758),r=n(22732),s=n(580),a=n(21537),l=n(74569),c=n(80020);function u(t,i,n,u,d){if(i&&(!i.types.length||i.types[0]!==o.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 o=(0,a.isJoditObject)(t.j)?t.j.s.save():null;i.focus(),t.j.async.setTimeout(()=>{let s=i.firstChild;if(r.Dom.safeRemove(i),s&&s.hasAttribute("src")){let i=(0,a.attr)(s,"src")||"";o&&(0,a.isJoditObject)(t.j)&&t.j.s.restore(),(0,c.sendFiles)(t,[(0,l.dataURItoBlob)(i)],n,u).finally(d)}},t.j.defaultTimeout)}}},50535:function(t,i,n){"use strict";n.d(i,{LimitedStack:function(){return o}});class o{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 o.Plugin}});var o=n(20356);n(41876)},50963:function(t,i,n){"use strict";var o=n(6441);o.Config.prototype.iframeBaseUrl="",o.Config.prototype.iframeTitle="Jodit Editor",o.Config.prototype.iframeDoctype="<!DOCTYPE html>",o.Config.prototype.iframeDefaultSrc="about:blank",o.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}',o.Config.prototype.iframeCSSLinks=[],o.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 g}});var o=n(82749),r=n(31635),s=n(68365),a=n(63227),l=n(86563),c=n(93677),u=n(48705),d=n(55885),h=n(65478),p=n(2748),f=n(67510),m=n(62843);class g extends f.UIElement{className(){return"UIMainPanel"}setParentView(t){return this.welcomeScreen?.setParentView(t),this.conversationList?.setParentView(t),this.messageList?.setParentView(t),this.inputArea?.setParentView(t),this.permissionRequest?.setParentView(t),this.settingsButton?.setParentView(t),super.setParentView(t)}render(){return`<div class="&__container">
250
250
  <div class="&__header">
251
251
  <div class="&__header-left"></div>
252
252
  <div class="&__header-title"></div>
@@ -446,7 +446,7 @@ ${s}`.trim();n?await this.__executeQuickCommandSilent(c,s):await this.__executeQ
446
446
  document.appendChild(scr);
447
447
  }
448
448
  /*]]>*/</script>`.replace(/[\n\t]+/g,"")}},61872:function(t,i,n){"use strict";n.d(i,{processArtifacts:function(){return a},processFinalResponse:function(){return s},processStreamingResponse:function(){return r}});var o=n(61558);async function r(t,i,n){let r=(0,o.createAIMessage)(),s=-1;for await(let a of i.stream){switch(a.type){case"created":r={...r,id:a.response.responseId,content:""},s=n.messages.length;break;case"text-delta":r={...r,content:r.content+a.delta};break;case"completed":r={...r,id:a.response.responseId,toolCalls:a.response.toolCalls||[],artifacts:a.response.artifacts||[]};break;case"error":{let t=(0,o.createErrorMessage)(a.error);r={...r,id:t.id,content:t.content}}}if(r.id){let i=n.messages.slice();i[s>=0?s:n.messages.length]=r,n={...n,messages:i,updated:Date.now()},t.setCurrentConversation(n)}}return{aiMessage:r,index:s,conversation:n}}function s(t,i){let n={...(0,o.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={...i,messages:r,updated:Date.now()}).messages.length-1,conversation:i}}async function a(t,i,n,r){if(i.artifacts&&i.artifacts.length>0){let s=n.messages.slice();return s[r]={...s[r],artifacts:await (0,o.uploadArtifacts)(t,i.artifacts)},{...n,messages:s,updated:Date.now()}}return n}},61926:function(t,i,n){"use strict";var o=n(6441);o.Config.prototype.showPlaceholder=!0,o.Config.prototype.placeholder="Type something",o.Config.prototype.useInputsPlaceholder=!0},61991:function(t,i,n){"use strict";n.d(i,{checkUnsplittableBox:function(){return r}});var o=n(2748);function r(t,i,n){return!!o.Dom.canSplitBlock(n)||(o.Dom.before(t,i.createInside.element("br")),!1)}},62e3:function(t,i,n){"use strict";var o=n(27613),r=n(41180);let s=t=>t.args&&(0,o.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 o=s(n);t.getInstance("Table",t.o).getAllSelectedCells().forEach(t=>{(0,r.css)(t,"vertical-align","normal"===o?"":o)})},tooltip:"Vertical align"},{name:"splitv",list:{tablesplitv:"Split vertical",tablesplitg:"Split horizontal"},tooltip:"Split"},{name:"align",icon:"left"},`
449
- `,{name:"merge",command:"tablemerge",tooltip:"Merge"},{name:"addcolumn",list:{tableaddcolumnbefore:"Insert column before",tableaddcolumnafter:"Insert column after"},exec(t,i,{control:n}){if(!(0,o.isJoditObject)(t))return;if(!n.args)return!1;let r=s(n);t.execCommand(r,!1,i)},tooltip:"Add column"},{name:"addrow",list:{tableaddrowbefore:"Insert row above",tableaddrowafter:"Insert row below"},exec(t,i,{control:n}){if(!(0,o.isJoditObject)(t))return;if(!n.args)return!1;let r=s(n);t.execCommand(r,!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,o.isJoditObject)(t))return;if(!n.args)return!1;let r=s(n);t.execCommand(r,!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 © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Tutti i diritti riservati.",Anchor:"Link","Open in new tab":"Apri in una nuova scheda","Open in fullsize":"Apri l'editor a schermo intero","Clear Formatting":"Pulisci Formattazione","Fill color or set the text color":"Colore di sfondo o del testo",Redo:"Ripristina",Undo:"Annulla",Bold:"Grassetto",Italic:"Corsivo","Insert Unordered List":"Inserisci lista non ordinata","Insert Ordered List":"Inserisci lista ordinata","Align Center":"Allinea al centro","Align Justify":"Allineamento Giustificato","Align Left":"Allinea a Sinistra","Align Right":"Allinea a Destra","Insert Horizontal Line":"Inserisci una linea orizzontale","Insert Image":"Inserisci immagine","Insert file":"Inserisci un file","Insert youtube/vimeo video":"Inserisci video Youtube/Vimeo","Insert link":"Inserisci link","Font size":"Dimensione carattere","Font family":"Tipo di font","Insert format block":"Inserisci blocco",Normal:"Normale","Heading 1":"Intestazione 1","Heading 2":"Intestazione 2","Heading 3":"Intestazione 3","Heading 4":"Intestazione 4",Quote:"Citazione",Code:"Codice",Insert:"Inserisci","Insert table":"Inserisci tabella","Decrease Indent":"Riduci il rientro","Increase Indent":"Aumenta il rientro","Select Special Character":"Seleziona un carattere speciale","Insert Special Character":"Inserisci un carattere speciale","Paint format":"Copia formato","Change mode":"Cambia modalita'",Margins:"Margini",top:"su",right:"destra",bottom:"giù",left:"sinistra",Styles:"Stili CSS",Classes:"Classi CSS",Align:"Allinea",Right:"Destra",Center:"Centro",Left:"Sinistra","--Not Set--":"--Non Impostato--",Src:"Fonte",Title:"Titolo",Alternative:"Testo Alternativo",Link:"Link","Open link in new tab":"Apri il link in una nuova scheda",Image:"Immagine",file:"Archivio","Image properties":"Proprietà dell'immagine",Cancel:"Annulla",Ok:"Accetta","Your code is similar to HTML. Keep as HTML?":"Il codice è simile all'HTML. Mantieni come HTML?","Paste as HTML":"Incolla come HTML",Keep:"Mantieni",Clean:"Pulisci","Insert as Text":"Inserisci come testo","Word Paste Detected":"Incolla testo da Word rilevato","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Il contenuto incollato proviene da un documento Microsoft Word / Excel. Vuoi mantenere il formato o pulirlo?","Insert only Text":"Inserisci solo il testo","File Browser":"Cerca file","Error on load list":"Errore durante il caricamento dell'elenco","Error on load folders":"Errore durante il caricamento delle cartelle","Are you sure?":"Sei sicuro?","Enter Directory name":"Inserisci il nome della cartella","Create directory":"Crea cartella","type name":"Digita il nome","Drop image":"Cancella immagine","Drop file":"Cancella file","or click":"o clicca","Alternative text":"Testo alternativo",Browse:"Sfoglia",Upload:"Carica",Background:"Sfondo",Text:"Testo",Top:"Su",Middle:"Centro",Bottom:"Sotto","Insert column before":"Inserisci la colonna prima","Insert column after":"Inserisci la colonna dopo","Insert row above":"Inserisci la riga sopra","Insert row below":"Inserisci la riga sotto","Delete table":"Elimina tabella","Delete row":"Elimina riga","Delete column":"Elimina colonna","Empty cell":"Cella vuota",Delete:"Cancella","Strike through":"Barrato",Underline:"Sottolineato",Break:"Pausa","Search for":"Cerca per","Replace with":"Sostituisci con",Replace:"Sostituisci",Edit:"Modifica","Vertical align":"Allineamento verticala","Horizontal align":"Allineamento orizzontale",Filter:"Filtro","Sort by changed":"Ordina per data di modifica","Sort by name":"Ordina per nome","Sort by size":"Ordina per dimensione","Add folder":"Aggiungi cartella",Split:"Dividi","Split vertical":"Dividi verticalmente","Split horizontal":"Dividi orizzontale",Merge:"Fondi","Add column":"Aggiungi colonna","Add row":"Aggiungi riga",Border:"Bordo","Embed code":"Includi codice",Update:"Aggiorna",superscript:"indice",subscript:"pedice","Cut selection":"Taglia selezione",Paste:"Incolla","Choose Content to Paste":"Seleziona il contenuto da incollare","Chars: %d":"Caratteri: %d","Words: %d":"Parole: %d",All:"Tutto","Select %s":"Seleziona: %s","Select all":"Seleziona tutto",source:"risorsa",bold:"Grassetto",italic:"Corsivo",brush:"Pennello",link:"Link",undo:"Annulla",redo:"Ripristina",table:"Tabella",image:"Immagine",eraser:"Gomma",paragraph:"Paragrafo",fontsize:"Dimensione del carattere",video:"Video",font:"Font",about:"Approposito di",print:"Stampa",underline:"Sottolineato",strikethrough:"Barrato",indent:"aumenta rientro",outdent:"riduci rientro",fullsize:"espandi",shrink:"comprimi",hr:"linea orizzontale",ul:"lista non ordinata",ol:"lista ordinata",cut:"Taglia",selectall:"Seleziona tutto","Open link":"Apri link","Edit link":"Modifica link","No follow":"Non seguire",Unlink:"Rimuovi link",Eye:"Recensione",pencil:"Per modificare"," URL":" URL",Reset:"Reset",Save:"Salva","Save as ...":"Salva con nome...",Resize:"Ridimensiona",Crop:"Ritaglia",Width:"Larghezza",Height:"Altezza","Keep Aspect Ratio":"Mantieni le proporzioni",Yes:"Si",No:"No",Remove:"Rimuovi",Select:"Seleziona","You can only edit your own images. Download this image on the host?":"Puoi modificare solo le tue immagini. Vuoi scaricare questa immagine dal server?","The image has been successfully uploaded to the host!":"L'immagine è stata caricata correttamente sul server!",palette:"tavolozza","There are no files":"Non ci sono file in questa directory.",Rename:"Rinomina","Enter new name":"Inserisci un nuovo nome",preview:"anteprima",download:"Scarica","Paste from clipboard":"Incolla dagli appunti","Your browser doesn't support direct access to the clipboard.":"Il tuo browser non supporta l'accesso diretto agli appunti.","Copy selection":"Copia selezione",copy:"copia","Border radius":"Border radius","Show all":"Mostra tutti",Apply:"Applica","Please fill out this field":"Si prega di compilare questo campo","Please enter a web address":"Si prega di inserire un indirizzo web",Default:"Default",Circle:"Cerchio",Dot:"Punto",Quadrate:"Quadrato","Lower Alpha":"Lettera Minuscola","Lower Greek":"Lettera Greca Minuscola","Lower Roman":"Numero Romano Minuscolo","Upper Alpha":"Lettera Maiuscola","Upper Roman":"Numero Romano Maiuscolo",Find:"Trova","Find Previous":"Trova Precedente","Find Next":"Trova Successivo","Insert className":"Inserisci il nome della classe","Press Alt for custom resizing":"Premere Alt per il ridimensionamento personalizzato","License: %s":"Licenza: %s"}},62357:function(t,i,n){"use strict";n.d(i,{UIRange:function(){return c}});var o=n(82749),r=n(31635),s=n(65478),a=n(21537),l=n(67510);class c extends l.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")),o=this.getElm("label");o&&o.appendChild(n)}onDragStart(t){this.startValue=parseFloat(this.value)||0,this.startX=t.clientX;let i=this.getElm("slider");(0,a.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:o=1}=this.state,r=(t.clientX-this.startX)/this.width*(this.state.max-this.state.min),s=this.startValue+r;s<i&&(s=i),s>n&&(s=n),s=Math.round(s/o)*o,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,a.assert)(null!=t,"Handle element does not exist"),(0,a.css)(t,{left:(i-this.state.min)/(this.state.max-this.state.min)*100+"%"});let n=this.getElm("log");(0,a.assert)(null!=n,"log element does not exist"),n.innerText=i.toString()}destruct(){return this.onDragEnd(),super.destruct()}constructor(t,i){super(t,{...i,type:"hidden"}),(0,o._)(this,"state",{...l.UIInput.defaultState,min:0,max:100,step:1}),(0,o._)(this,"startValue",0),(0,o._)(this,"startX",0),(0,o._)(this,"width",100),Object.assign(this.state,i),this.appendUIRange(),this.onChangeSelfValue()}}(0,r.__decorate)([(0,s.watch)(["handle:mousedown","handle:touchstart"])],c.prototype,"onDragStart",null),(0,r.__decorate)([s.autobind],c.prototype,"onDrag",null),(0,r.__decorate)([(0,s.watch)(["j.ow:mouseup","j.ow:touchend"])],c.prototype,"onDragEnd",null),(0,r.__decorate)([(0,s.watch)(":change")],c.prototype,"onChangeSelfValue",null),c=(0,r.__decorate)([s.component],c)},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 o,r=n(4012),s=n(65478),a=n(2748),l=n(21537),c=n(48538),u=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let d=o=class t extends c.UIElement{className(){return"UIGroup"}get allChildren(){let t=[],i=[...this.elements];for(;i.length;){let n=i.shift();(0,l.isArray)(n)?i.push(...n):r.Component.isInstanceOf(n,o)?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)}};u([(0,s.watch)("buttonSize")],d.prototype,"update",null),d=o=u([s.component],d)},62489:function(t,i,n){"use strict";var o=n(12153),r=n(6441),s=n(49922),a=n(72144);r.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%"},o.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 r},name:function(){return o},parameters:function(){return s},requiresPermission:function(){return a}});let o="replaceInDocument",r="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 © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.",Anchor:"Anchor","Open in new tab":"新しいタブで開く","Open in fullsize":"エディターのサイズ(フル/ノーマル)","Clear Formatting":"書式をクリア","Fill color or set the text color":"テキストの色",Redo:"やり直し",Undo:"元に戻す",Bold:"太字",Italic:"斜体","Insert Unordered List":"箇条書き","Insert Ordered List":"番号付きリスト","Align Center":"中央揃え","Align Justify":"両端揃え","Align Left":"左揃え","Align Right":"右揃え","Insert Horizontal Line":"区切り線を挿入","Insert Image":"画像を挿入","Insert file":"ファイルを挿入","Insert youtube/vimeo video":"Youtube/Vimeo 動画","Insert link":"リンクを挿入","Font size":"フォントサイズ","Font family":"フォント","Insert format block":"テキストのスタイル",Normal:"指定なし","Heading 1":"タイトル1","Heading 2":"タイトル2","Heading 3":"タイトル3","Heading 4":"タイトル4",Quote:"引用",Code:"コード",Insert:"挿入","Insert table":"表を挿入","Decrease Indent":"インデント減","Increase Indent":"インデント増","Select Special Character":"特殊文字を選択","Insert Special Character":"特殊文字を挿入","Paint format":"書式を貼付け","Change mode":"編集モード切替え",Margins:"マージン",top:"上",right:"右",bottom:"下",left:"左",Styles:"スタイル",Classes:"クラス",Align:"配置",Right:"右寄せ",Center:"中央寄せ",Left:"左寄せ","--Not Set--":"指定なし",Src:"ソース",Title:"タイトル",Alternative:"代替テキスト",Link:"リンク","Open link in new tab":"新しいタブで開く",Image:"画像",file:"ファイル","Image properties":"画像のプロパティー",Cancel:"キャンセル",Ok:"確定","Your code is similar to HTML. Keep as HTML?":"HTMLコードを保持しますか?","Paste as HTML":"HTMLで貼付け",Keep:"HTMLを保持",Clean:"Clean","Insert as Text":"HTMLをテキストにする","Word Paste Detected":"Word Paste Detected","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Insert only Text":"テキストだけ","File Browser":"File Browser","Error on load list":"Error on load list","Error on load folders":"Error on load folders","Are you sure?":"Are you sure?","Enter Directory name":"Enter Directory name","Create directory":"Create directory","type name":"type name","Drop image":"ここに画像をドロップ","Drop file":"ここにファイルをドロップ","or click":"or クリック","Alternative text":"代替テキスト",Browse:"ブラウズ",Upload:"アップロード",Background:"背景",Text:"文字",Top:"上",Middle:"中央",Bottom:"下","Insert column before":"左に列を挿入","Insert column after":"右に列を挿入","Insert row above":"上に行を挿入","Insert row below":"下に行を挿入","Delete table":"表を削除","Delete row":"行を削除","Delete column":"列を削除","Empty cell":"セルを空にする","Chars: %d":"文字数: %d","Words: %d":"単語数: %d","Strike through":"取り消し線",Underline:"下線",superscript:"上付き文字",subscript:"下付き文字","Cut selection":"切り取り","Select all":"すべて選択",Break:"Pause","Search for":"検索","Replace with":"置換",Replace:"交換",Paste:"貼付け","Choose Content to Paste":"選択した内容を貼付け",All:"全部",source:"source",bold:"bold",italic:"italic",brush:"brush",link:"link",undo:"undo",redo:"redo",table:"table",image:"image",eraser:"eraser",paragraph:"paragraph",fontsize:"fontsize",video:"video",font:"font",about:"about",print:"print",underline:"underline",strikethrough:"strikethrough",indent:"indent",outdent:"outdent",fullsize:"fullsize",shrink:"shrink",hr:"分割線",ul:"箇条書き",ol:"番号付きリスト",cut:"切り取り",selectall:"すべて選択","Open link":"リンクを開く","Edit link":"リンクを編集","No follow":"No follow",Unlink:"リンク解除",Eye:"サイトを確認"," URL":"URL",Reset:"リセット",Save:"保存","Save as ...":"Save as ...",Resize:"リサイズ",Crop:"Crop",Width:"幅",Height:"高さ","Keep Aspect Ratio":"縦横比を保持",Yes:"はい",No:"いいえ",Remove:"移除",Select:"選択","Select %s":"選択: %s",Update:"更新","Vertical align":"垂直方向の配置",Merge:"セルの結合","Add column":"列を追加","Add row":"行を追加",Border:"境界線","Embed code":"埋め込みコード",Delete:"削除",Edit:"編集","Horizontal align":"水平方向の配置",Filter:"Filter","Sort by changed":"Sort by changed","Sort by name":"Sort by name","Sort by size":"Sort by size","Add folder":"Add folder",Split:"分割","Split vertical":"セルの分割(垂直方向)","Split horizontal":"セルの分割(水平方向)","You can only edit your own images. Download this image on the host?":"You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!":"The image has been successfully uploaded to the host!",palette:"パレット",pencil:"鉛筆","There are no files":"There are no files",Rename:"Rename","Enter new name":"Enter new name",preview:"プレビュー",download:"ダウンロード","Paste from clipboard":"貼り付け","Your browser doesn't support direct access to the clipboard.":"お使いのブラウザはクリップボードを使用できません","Copy selection":"コピー",copy:"copy","Border radius":"角の丸み","Show all":"全て表示",Apply:"適用","Please fill out this field":"まだこの分野","Please enter a web address":"を入力してくださいウェブアドレス",Default:"デフォルト",Circle:"白丸",Dot:"黒丸",Quadrate:"四角",Find:"見","Find Previous":"探前","Find Next":"由来","Lower Alpha":"英小文字","Lower Greek":"ギリシャ文字","Lower Roman":"ローマ数字小文字","Upper Alpha":"英大文字","Upper Roman":"ローマ数字大文字","Insert className":"クラス名を挿入","Press Alt for custom resizing":"カスタムサイズ変更のためのAltキーを押します","License: %s":"ライセンス: %s"}},62770:function(t,i){"use strict";i.default={"Type something":"Bitte geben Sie einen Text ein",Advanced:"Fortgeschritten","About Jodit":"Über Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Das Jodit Benutzerhandbuch","contains detailed help for using":"beinhaltet ausführliche Informationen wie Sie den Editor verwenden können.","For information about the license, please go to our website:":"Für Informationen zur Lizenz, besuchen Sie bitte unsere Web-Präsenz:","Buy full version":"Vollversion kaufen","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.",Anchor:"Anker","Open in new tab":"In neuer Registerkarte öffnen","Open in fullsize":"Editor in voller Größe öffnen","Clear Formatting":"Formatierung löschen","Fill color or set the text color":"Füllfarbe oder Textfarbe ändern",Redo:"Wiederholen",Undo:"Rückgängig machen",Bold:"Fett",Italic:"Kursiv","Insert Unordered List":"Unsortierte Liste einfügen","Insert Ordered List":"Nummerierte Liste einfügen","Align Center":"Mittig ausrichten","Align Justify":"Blocksatz","Align Left":"Links ausrichten","Align Right":"Rechts ausrichten","Insert Horizontal Line":"Horizontale Linie einfügen","Insert Image":"Bild einfügen","Insert file":"Datei einfügen","Insert youtube/vimeo video":"Youtube/vimeo Video einfügen","Insert link":"Link einfügen","Font size":"Schriftgröße","Font family":"Schriftfamilie","Insert format block":"Formatblock einfügen",Normal:"Normal","Heading 1":"Überschrift 1","Heading 2":"Überschrift 2","Heading 3":"Überschrift 3","Heading 4":"Überschrift 4",Quote:"Zitat",Code:"Code",Insert:"Einfügen","Insert table":"Tabelle einfügen","Decrease Indent":"Einzug verkleinern","Increase Indent":"Einzug vergrößern","Select Special Character":"Sonderzeichen auswählen","Insert Special Character":"Sonderzeichen einfügen","Paint format":"Format kopieren","Change mode":"Änderungsmodus",Margins:"Ränder",top:"Oben",right:"Rechts",bottom:"Unten",left:"Links",Styles:"CSS Stil",Classes:"CSS Klassen",Align:"Ausrichtung",Right:"Rechts",Center:"Zentriert",Left:"Links","--Not Set--":"Keine",Src:"Pfad",Title:"Titel",Alternative:"Alternativer Text",Link:"Link","Open link in new tab":"Link in neuem Tab öffnen",Image:"Bild",file:"Datei","Image properties":"Bildeigenschaften",Cancel:"Abbrechen",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Ihr Text ähnelt HTML-Code. Als HTML beibehalten?","Paste as HTML":"Als HTML einfügen?",Keep:"Original speichern",Clean:"Säubern","Insert as Text":"Als Text einfügen","Word Paste Detected":"In Word formatierter Text erkannt","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Der Inhalt, den Sie einfügen, stammt aus einem Microsoft Word / Excel-Dokument. Möchten Sie das Format erhalten oder bereinigen?","Insert only Text":"Nur Text einfügen","File Browser":"Dateibrowser","Error on load list":"Fehler beim Laden der Liste","Error on load folders":"Fehler beim Laden der Ordner","Are you sure?":"Sind Sie sicher?","Enter Directory name":"Geben Sie den Verzeichnisnamen ein","Create directory":"Verzeichnis erstellen","type name":"Typname","Drop image":"Bild hier hinziehen","Drop file":"Datei löschen","or click":"oder hier klicken","Alternative text":"Alternativtext",Browse:"Auswählen",Upload:"Hochladen",Background:"Hintergrund",Text:"Text",Top:"Oben",Middle:"Mittig",Bottom:"Unten","Insert column before":"Spalte davor einfügen","Insert column after":"Spalte danach einfügen","Insert row above":"Zeile oberhalb einfügen","Insert row below":"Zeile unterhalb einfügen","Delete table":"Tabelle löschen","Delete row":"Zeile löschen","Delete column":"Spalte löschen","Empty cell":"Zelle leeren",Delete:"Löschen","Strike through":"Durchstreichen",Underline:"Unterstreichen",Break:"Pause","Search for":"Suche nach","Replace with":"Ersetzen durch",Replace:"Ersetzen",Edit:"Bearbeiten","Vertical align":"Vertikale Ausrichtung","Horizontal align":"Horizontale Ausrichtung",Filter:"Filter","Sort by changed":"Sortieren nach geändert","Sort by name":"Nach Name sortieren","Sort by size":"Nach Größe sortiert","Add folder":"Ordner hinzufügen","Split vertical":"Vertikal unterteilen","Split horizontal":"Horizontal unterteilen",Split:"Unterteilen",Merge:"Vereinen","Add column":"Spalte hinzufügen","Add row":"Zeile hinzufügen",Border:"Rand","Embed code":"Code einbetten",Update:"Aktualisieren",superscript:"Hochstellen",subscript:"Tiefstellen","Cut selection":"Auswahl ausschneiden",Paste:"Einfügen","Choose Content to Paste":"Wählen Sie den Inhalt zum Einfügen aus","Chars: %d":"Zeichen: %d","Words: %d":"Wörter: %d",All:"Alles markieren","Select %s":"Markieren: %s","Select all":"Alles markieren",source:"HTML",bold:"Fett gedruckt",italic:"Kursiv",brush:"Bürste",link:"Verknüpfung",undo:"Rückgängig machen",redo:"Wiederholen",table:"Tabelle",image:"Bild",eraser:"Radiergummi",paragraph:"Absatz",fontsize:"Schriftgröße",video:"Video",font:"Schriftart",about:"Über",print:"Drucken",underline:"Unterstreichen",strikethrough:"Durchstreichen",indent:"Einzug",outdent:"Herausstellen",fullsize:"Vollgröße",shrink:"Schrumpfen",hr:"die Linie",ul:"Liste von",ol:"Nummerierte Liste","Lower Alpha":"Standard, Alphabet (klein)","Upper Alpha":"Standard, Alphabet (gross)","Lower Roman":"Römisch (klein)","Upper Roman":"Römisch (gross)","Lower Greek":"Griechisch",cut:"Schneiden",selectall:"Wählen Sie Alle aus","Open link":"Link öffnen","Edit link":"Link bearbeiten","No follow":"Nofollow-Attribut",Unlink:"Link entfernen",Eye:"Ansehen",pencil:"Bearbeiten"," URL":"URL",Reset:"Wiederherstellen",Save:"Speichern","Save as ...":"Speichern als",Resize:"Größe ändern",Crop:"Größe anpassen",Width:"Breite",Height:"Höhe","Keep Aspect Ratio":"Seitenverhältnis beibehalten",Yes:"Ja",No:"Nein",Remove:"Entfernen",Select:"Markieren","You can only edit your own images. Download this image on the host?":"Sie können nur Ihre eigenen Bilder bearbeiten. Dieses Bild auf den Host herunterladen?","The image has been successfully uploaded to the host!":"Das Bild wurde erfolgreich auf den Server hochgeladen!",palette:"Palette","There are no files":"In diesem Verzeichnis befinden sich keine Dateien.",Rename:"Umbenennen","Enter new name":"Geben Sie einen neuen Namen ein",preview:"Vorschau",download:"Herunterladen","Paste from clipboard":"Aus Zwischenablage einfügen","Your browser doesn't support direct access to the clipboard.":"Ihr Browser unterstützt keinen direkten Zugriff auf die Zwischenablage.","Copy selection":"Auswahl kopieren",copy:"Kopieren","Border radius":"Radius für abgerundete Ecken","Show all":"Alle anzeigen",Apply:"Anwenden","Please fill out this field":"Bitte füllen Sie dieses Feld aus","Please enter a web address":"Bitte geben Sie eine Web-Adresse ein",Default:"Standard",Circle:"Kreis",Dot:"Punkte",Quadrate:"Quadrate",Find:"Suchen","Find Previous":"Suche vorherige","Find Next":"Weitersuchen","Insert className":"className (CSS) einfügen","Press Alt for custom resizing":"Drücken Sie Alt für benutzerdefinierte Größenanpassung","License: %s":"Lizenz: %s"}},62843:function(t,i,n){"use strict";n.d(i,{Button:function(){return o.Button},UIButton:function(){return o.UIButton},UIButtonGroup:function(){return r.UIButtonGroup},UIButtonState:function(){return o.UIButtonState},UITooltip:function(){return s.UITooltip}});var o=n(10830),r=n(71916),s=n(57340)},62845:function(t,i,n){"use strict";n.d(i,{checkJoinNeighbors:function(){return a}});var o=n(82758),r=n(2748),s=n(63785);function a(t,i,n){let s=i,a=s;for(;s&&!r.Dom.findNotEmptySibling(s,n)&&s.parentElement!==t.editor;)a=s=s.parentElement;if(r.Dom.isElement(a)&&r.Dom.isContentEditable(a,t.editor)){var c,u;let s,d,h,p=r.Dom.findNotEmptySibling(a,n);if(p&&(c=a,u=p,s=r.Dom.isTag(u,o.LIST_TAGS),d=r.Dom.isTag(c,o.LIST_TAGS),h=(t,i)=>i?t.firstElementChild:t.lastElementChild,(d?(u=t.createInside.element(t.o.enterBlock),r.Dom.before(c,u),l(t,h(c,n),u,n)):!!u&&!!s&&!d&&l(t,c,h(u,!n),n))||l(t,a,p,n)))return t.s.setCursorBefore(i),!0}return!1}function l(t,i,n,o){if(i&&r.Dom.isElement(n)){r.Dom.moveContent(i,n,!o,(0,s.getMoveFilter)(t));let a=i;for(;a&&a!==t.editor&&r.Dom.isEmpty(a);){let t=a.parentElement;r.Dom.safeRemove(a),a=t}return!0}return!1}},62895:function(t,i,n){"use strict";n.d(i,{WebStorageConversationStorage:function(){return o.WebStorageConversationStorage},createStorageProvider:function(){return o.createStorageProvider}});var o=n(21064)},63134:function(t,i,n){"use strict";n.r(i),i.default={newline:"nueva línea",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 o=n(82749),r=n(31635),s=n(65478),a=n(38837),l=n(67510),c=n(62843),u=n(85120);class d extends l.UIElement{className(){return"UIInputArea"}setParentView(t){return this.textarea?.setParentView(t),this.sendButton?.setParentView(t),this.stopButton?.setParentView(t),super.setParentView(t)}render(){return`<div class="&__container">
449
+ `,{name:"merge",command:"tablemerge",tooltip:"Merge"},{name:"addcolumn",list:{tableaddcolumnbefore:"Insert column before",tableaddcolumnafter:"Insert column after"},exec(t,i,{control:n}){if(!(0,o.isJoditObject)(t))return;if(!n.args)return!1;let r=s(n);t.execCommand(r,!1,i)},tooltip:"Add column"},{name:"addrow",list:{tableaddrowbefore:"Insert row above",tableaddrowafter:"Insert row below"},exec(t,i,{control:n}){if(!(0,o.isJoditObject)(t))return;if(!n.args)return!1;let r=s(n);t.execCommand(r,!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,o.isJoditObject)(t))return;if(!n.args)return!1;let r=s(n);t.execCommand(r,!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 © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Tutti i diritti riservati.",Anchor:"Link","Open in new tab":"Apri in una nuova scheda","Open in fullsize":"Apri l'editor a schermo intero","Clear Formatting":"Pulisci Formattazione","Fill color or set the text color":"Colore di sfondo o del testo",Redo:"Ripristina",Undo:"Annulla",Bold:"Grassetto",Italic:"Corsivo","Insert Unordered List":"Inserisci lista non ordinata","Insert Ordered List":"Inserisci lista ordinata","Align Center":"Allinea al centro","Align Justify":"Allineamento Giustificato","Align Left":"Allinea a Sinistra","Align Right":"Allinea a Destra","Insert Horizontal Line":"Inserisci una linea orizzontale","Insert Image":"Inserisci immagine","Insert file":"Inserisci un file","Insert youtube/vimeo video":"Inserisci video Youtube/Vimeo","Insert link":"Inserisci link","Font size":"Dimensione carattere","Font family":"Tipo di font","Insert format block":"Inserisci blocco",Normal:"Normale","Heading 1":"Intestazione 1","Heading 2":"Intestazione 2","Heading 3":"Intestazione 3","Heading 4":"Intestazione 4",Quote:"Citazione",Code:"Codice",Insert:"Inserisci","Insert table":"Inserisci tabella","Decrease Indent":"Riduci il rientro","Increase Indent":"Aumenta il rientro","Select Special Character":"Seleziona un carattere speciale","Insert Special Character":"Inserisci un carattere speciale","Paint format":"Copia formato","Change mode":"Cambia modalita'",Margins:"Margini",top:"su",right:"destra",bottom:"giù",left:"sinistra",Styles:"Stili CSS",Classes:"Classi CSS",Align:"Allinea",Right:"Destra",Center:"Centro",Left:"Sinistra","--Not Set--":"--Non Impostato--",Src:"Fonte",Title:"Titolo",Alternative:"Testo Alternativo",Link:"Link","Open link in new tab":"Apri il link in una nuova scheda",Image:"Immagine",file:"Archivio","Image properties":"Proprietà dell'immagine",Cancel:"Annulla",Ok:"Accetta","Your code is similar to HTML. Keep as HTML?":"Il codice è simile all'HTML. Mantieni come HTML?","Paste as HTML":"Incolla come HTML",Keep:"Mantieni",Clean:"Pulisci","Insert as Text":"Inserisci come testo","Word Paste Detected":"Incolla testo da Word rilevato","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Il contenuto incollato proviene da un documento Microsoft Word / Excel. Vuoi mantenere il formato o pulirlo?","Insert only Text":"Inserisci solo il testo","File Browser":"Cerca file","Error on load list":"Errore durante il caricamento dell'elenco","Error on load folders":"Errore durante il caricamento delle cartelle","Are you sure?":"Sei sicuro?","Enter Directory name":"Inserisci il nome della cartella","Create directory":"Crea cartella","type name":"Digita il nome","Drop image":"Cancella immagine","Drop file":"Cancella file","or click":"o clicca","Alternative text":"Testo alternativo",Browse:"Sfoglia",Upload:"Carica",Background:"Sfondo",Text:"Testo",Top:"Su",Middle:"Centro",Bottom:"Sotto","Insert column before":"Inserisci la colonna prima","Insert column after":"Inserisci la colonna dopo","Insert row above":"Inserisci la riga sopra","Insert row below":"Inserisci la riga sotto","Delete table":"Elimina tabella","Delete row":"Elimina riga","Delete column":"Elimina colonna","Empty cell":"Cella vuota",Delete:"Cancella","Strike through":"Barrato",Underline:"Sottolineato",Break:"Pausa","Search for":"Cerca per","Replace with":"Sostituisci con",Replace:"Sostituisci",Edit:"Modifica","Vertical align":"Allineamento verticala","Horizontal align":"Allineamento orizzontale",Filter:"Filtro","Sort by changed":"Ordina per data di modifica","Sort by name":"Ordina per nome","Sort by size":"Ordina per dimensione","Add folder":"Aggiungi cartella",Split:"Dividi","Split vertical":"Dividi verticalmente","Split horizontal":"Dividi orizzontale",Merge:"Fondi","Add column":"Aggiungi colonna","Add row":"Aggiungi riga",Border:"Bordo","Embed code":"Includi codice",Update:"Aggiorna",superscript:"indice",subscript:"pedice","Cut selection":"Taglia selezione",Paste:"Incolla","Choose Content to Paste":"Seleziona il contenuto da incollare","Chars: %d":"Caratteri: %d","Words: %d":"Parole: %d",All:"Tutto","Select %s":"Seleziona: %s","Select all":"Seleziona tutto",source:"risorsa",bold:"Grassetto",italic:"Corsivo",brush:"Pennello",link:"Link",undo:"Annulla",redo:"Ripristina",table:"Tabella",image:"Immagine",eraser:"Gomma",paragraph:"Paragrafo",fontsize:"Dimensione del carattere",video:"Video",font:"Font",about:"Approposito di",print:"Stampa",underline:"Sottolineato",strikethrough:"Barrato",indent:"aumenta rientro",outdent:"riduci rientro",fullsize:"espandi",shrink:"comprimi",hr:"linea orizzontale",ul:"lista non ordinata",ol:"lista ordinata",cut:"Taglia",selectall:"Seleziona tutto","Open link":"Apri link","Edit link":"Modifica link","No follow":"Non seguire",Unlink:"Rimuovi link",Eye:"Recensione",pencil:"Per modificare"," URL":" URL",Reset:"Reset",Save:"Salva","Save as ...":"Salva con nome...",Resize:"Ridimensiona",Crop:"Ritaglia",Width:"Larghezza",Height:"Altezza","Keep Aspect Ratio":"Mantieni le proporzioni",Yes:"Si",No:"No",Remove:"Rimuovi",Select:"Seleziona","You can only edit your own images. Download this image on the host?":"Puoi modificare solo le tue immagini. Vuoi scaricare questa immagine dal server?","The image has been successfully uploaded to the host!":"L'immagine è stata caricata correttamente sul server!",palette:"tavolozza","There are no files":"Non ci sono file in questa directory.",Rename:"Rinomina","Enter new name":"Inserisci un nuovo nome",preview:"anteprima",download:"Scarica","Paste from clipboard":"Incolla dagli appunti","Your browser doesn't support direct access to the clipboard.":"Il tuo browser non supporta l'accesso diretto agli appunti.","Copy selection":"Copia selezione",copy:"copia","Border radius":"Border radius","Show all":"Mostra tutti",Apply:"Applica","Please fill out this field":"Si prega di compilare questo campo","Please enter a web address":"Si prega di inserire un indirizzo web",Default:"Default",Circle:"Cerchio",Dot:"Punto",Quadrate:"Quadrato","Lower Alpha":"Lettera Minuscola","Lower Greek":"Lettera Greca Minuscola","Lower Roman":"Numero Romano Minuscolo","Upper Alpha":"Lettera Maiuscola","Upper Roman":"Numero Romano Maiuscolo",Find:"Trova","Find Previous":"Trova Precedente","Find Next":"Trova Successivo","Insert className":"Inserisci il nome della classe","Press Alt for custom resizing":"Premere Alt per il ridimensionamento personalizzato","License: %s":"Licenza: %s"}},62357:function(t,i,n){"use strict";n.d(i,{UIRange:function(){return c}});var o=n(82749),r=n(31635),s=n(65478),a=n(21537),l=n(67510);class c extends l.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")),o=this.getElm("label");o&&o.appendChild(n)}onDragStart(t){this.startValue=parseFloat(this.value)||0,this.startX=t.clientX;let i=this.getElm("slider");(0,a.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:o=1}=this.state,r=(t.clientX-this.startX)/this.width*(this.state.max-this.state.min),s=this.startValue+r;s<i&&(s=i),s>n&&(s=n),s=Math.round(s/o)*o,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,a.assert)(null!=t,"Handle element does not exist"),(0,a.css)(t,{left:(i-this.state.min)/(this.state.max-this.state.min)*100+"%"});let n=this.getElm("log");(0,a.assert)(null!=n,"log element does not exist"),n.innerText=i.toString()}destruct(){return this.onDragEnd(),super.destruct()}constructor(t,i){super(t,{...i,type:"hidden"}),(0,o._)(this,"state",{...l.UIInput.defaultState,min:0,max:100,step:1}),(0,o._)(this,"startValue",0),(0,o._)(this,"startX",0),(0,o._)(this,"width",100),Object.assign(this.state,i),this.appendUIRange(),this.onChangeSelfValue()}}(0,r.__decorate)([(0,s.watch)(["handle:mousedown","handle:touchstart"])],c.prototype,"onDragStart",null),(0,r.__decorate)([s.autobind],c.prototype,"onDrag",null),(0,r.__decorate)([(0,s.watch)(["j.ow:mouseup","j.ow:touchend"])],c.prototype,"onDragEnd",null),(0,r.__decorate)([(0,s.watch)(":change")],c.prototype,"onChangeSelfValue",null),c=(0,r.__decorate)([s.component],c)},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 o,r=n(4012),s=n(65478),a=n(2748),l=n(21537),c=n(48538),u=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let d=o=class t extends c.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):r.Component.isInstanceOf(n,o)?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)}};u([(0,s.watch)("buttonSize")],d.prototype,"update",null),d=o=u([s.component],d)},62489:function(t,i,n){"use strict";var o=n(12153),r=n(6441),s=n(49922),a=n(72144);r.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%"},o.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 r},name:function(){return o},parameters:function(){return s},requiresPermission:function(){return a}});let o="replaceInDocument",r="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 © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.",Anchor:"Anchor","Open in new tab":"新しいタブで開く","Open in fullsize":"エディターのサイズ(フル/ノーマル)","Clear Formatting":"書式をクリア","Fill color or set the text color":"テキストの色",Redo:"やり直し",Undo:"元に戻す",Bold:"太字",Italic:"斜体","Insert Unordered List":"箇条書き","Insert Ordered List":"番号付きリスト","Align Center":"中央揃え","Align Justify":"両端揃え","Align Left":"左揃え","Align Right":"右揃え","Insert Horizontal Line":"区切り線を挿入","Insert Image":"画像を挿入","Insert file":"ファイルを挿入","Insert youtube/vimeo video":"Youtube/Vimeo 動画","Insert link":"リンクを挿入","Font size":"フォントサイズ","Font family":"フォント","Insert format block":"テキストのスタイル",Normal:"指定なし","Heading 1":"タイトル1","Heading 2":"タイトル2","Heading 3":"タイトル3","Heading 4":"タイトル4",Quote:"引用",Code:"コード",Insert:"挿入","Insert table":"表を挿入","Decrease Indent":"インデント減","Increase Indent":"インデント増","Select Special Character":"特殊文字を選択","Insert Special Character":"特殊文字を挿入","Paint format":"書式を貼付け","Change mode":"編集モード切替え",Margins:"マージン",top:"上",right:"右",bottom:"下",left:"左",Styles:"スタイル",Classes:"クラス",Align:"配置",Right:"右寄せ",Center:"中央寄せ",Left:"左寄せ","--Not Set--":"指定なし",Src:"ソース",Title:"タイトル",Alternative:"代替テキスト",Link:"リンク","Open link in new tab":"新しいタブで開く",Image:"画像",file:"ファイル","Image properties":"画像のプロパティー",Cancel:"キャンセル",Ok:"確定","Your code is similar to HTML. Keep as HTML?":"HTMLコードを保持しますか?","Paste as HTML":"HTMLで貼付け",Keep:"HTMLを保持",Clean:"Clean","Insert as Text":"HTMLをテキストにする","Word Paste Detected":"Word Paste Detected","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Insert only Text":"テキストだけ","File Browser":"File Browser","Error on load list":"Error on load list","Error on load folders":"Error on load folders","Are you sure?":"Are you sure?","Enter Directory name":"Enter Directory name","Create directory":"Create directory","type name":"type name","Drop image":"ここに画像をドロップ","Drop file":"ここにファイルをドロップ","or click":"or クリック","Alternative text":"代替テキスト",Browse:"ブラウズ",Upload:"アップロード",Background:"背景",Text:"文字",Top:"上",Middle:"中央",Bottom:"下","Insert column before":"左に列を挿入","Insert column after":"右に列を挿入","Insert row above":"上に行を挿入","Insert row below":"下に行を挿入","Delete table":"表を削除","Delete row":"行を削除","Delete column":"列を削除","Empty cell":"セルを空にする","Chars: %d":"文字数: %d","Words: %d":"単語数: %d","Strike through":"取り消し線",Underline:"下線",superscript:"上付き文字",subscript:"下付き文字","Cut selection":"切り取り","Select all":"すべて選択",Break:"Pause","Search for":"検索","Replace with":"置換",Replace:"交換",Paste:"貼付け","Choose Content to Paste":"選択した内容を貼付け",All:"全部",source:"source",bold:"bold",italic:"italic",brush:"brush",link:"link",undo:"undo",redo:"redo",table:"table",image:"image",eraser:"eraser",paragraph:"paragraph",fontsize:"fontsize",video:"video",font:"font",about:"about",print:"print",underline:"underline",strikethrough:"strikethrough",indent:"indent",outdent:"outdent",fullsize:"fullsize",shrink:"shrink",hr:"分割線",ul:"箇条書き",ol:"番号付きリスト",cut:"切り取り",selectall:"すべて選択","Open link":"リンクを開く","Edit link":"リンクを編集","No follow":"No follow",Unlink:"リンク解除",Eye:"サイトを確認"," URL":"URL",Reset:"リセット",Save:"保存","Save as ...":"Save as ...",Resize:"リサイズ",Crop:"Crop",Width:"幅",Height:"高さ","Keep Aspect Ratio":"縦横比を保持",Yes:"はい",No:"いいえ",Remove:"移除",Select:"選択","Select %s":"選択: %s",Update:"更新","Vertical align":"垂直方向の配置",Merge:"セルの結合","Add column":"列を追加","Add row":"行を追加",Border:"境界線","Embed code":"埋め込みコード",Delete:"削除",Edit:"編集","Horizontal align":"水平方向の配置",Filter:"Filter","Sort by changed":"Sort by changed","Sort by name":"Sort by name","Sort by size":"Sort by size","Add folder":"Add folder",Split:"分割","Split vertical":"セルの分割(垂直方向)","Split horizontal":"セルの分割(水平方向)","You can only edit your own images. Download this image on the host?":"You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!":"The image has been successfully uploaded to the host!",palette:"パレット",pencil:"鉛筆","There are no files":"There are no files",Rename:"Rename","Enter new name":"Enter new name",preview:"プレビュー",download:"ダウンロード","Paste from clipboard":"貼り付け","Your browser doesn't support direct access to the clipboard.":"お使いのブラウザはクリップボードを使用できません","Copy selection":"コピー",copy:"copy","Border radius":"角の丸み","Show all":"全て表示",Apply:"適用","Please fill out this field":"まだこの分野","Please enter a web address":"を入力してくださいウェブアドレス",Default:"デフォルト",Circle:"白丸",Dot:"黒丸",Quadrate:"四角",Find:"見","Find Previous":"探前","Find Next":"由来","Lower Alpha":"英小文字","Lower Greek":"ギリシャ文字","Lower Roman":"ローマ数字小文字","Upper Alpha":"英大文字","Upper Roman":"ローマ数字大文字","Insert className":"クラス名を挿入","Press Alt for custom resizing":"カスタムサイズ変更のためのAltキーを押します","License: %s":"ライセンス: %s"}},62770:function(t,i){"use strict";i.default={"Type something":"Bitte geben Sie einen Text ein",Advanced:"Fortgeschritten","About Jodit":"Über Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Das Jodit Benutzerhandbuch","contains detailed help for using":"beinhaltet ausführliche Informationen wie Sie den Editor verwenden können.","For information about the license, please go to our website:":"Für Informationen zur Lizenz, besuchen Sie bitte unsere Web-Präsenz:","Buy full version":"Vollversion kaufen","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.",Anchor:"Anker","Open in new tab":"In neuer Registerkarte öffnen","Open in fullsize":"Editor in voller Größe öffnen","Clear Formatting":"Formatierung löschen","Fill color or set the text color":"Füllfarbe oder Textfarbe ändern",Redo:"Wiederholen",Undo:"Rückgängig machen",Bold:"Fett",Italic:"Kursiv","Insert Unordered List":"Unsortierte Liste einfügen","Insert Ordered List":"Nummerierte Liste einfügen","Align Center":"Mittig ausrichten","Align Justify":"Blocksatz","Align Left":"Links ausrichten","Align Right":"Rechts ausrichten","Insert Horizontal Line":"Horizontale Linie einfügen","Insert Image":"Bild einfügen","Insert file":"Datei einfügen","Insert youtube/vimeo video":"Youtube/vimeo Video einfügen","Insert link":"Link einfügen","Font size":"Schriftgröße","Font family":"Schriftfamilie","Insert format block":"Formatblock einfügen",Normal:"Normal","Heading 1":"Überschrift 1","Heading 2":"Überschrift 2","Heading 3":"Überschrift 3","Heading 4":"Überschrift 4",Quote:"Zitat",Code:"Code",Insert:"Einfügen","Insert table":"Tabelle einfügen","Decrease Indent":"Einzug verkleinern","Increase Indent":"Einzug vergrößern","Select Special Character":"Sonderzeichen auswählen","Insert Special Character":"Sonderzeichen einfügen","Paint format":"Format kopieren","Change mode":"Änderungsmodus",Margins:"Ränder",top:"Oben",right:"Rechts",bottom:"Unten",left:"Links",Styles:"CSS Stil",Classes:"CSS Klassen",Align:"Ausrichtung",Right:"Rechts",Center:"Zentriert",Left:"Links","--Not Set--":"Keine",Src:"Pfad",Title:"Titel",Alternative:"Alternativer Text",Link:"Link","Open link in new tab":"Link in neuem Tab öffnen",Image:"Bild",file:"Datei","Image properties":"Bildeigenschaften",Cancel:"Abbrechen",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Ihr Text ähnelt HTML-Code. Als HTML beibehalten?","Paste as HTML":"Als HTML einfügen?",Keep:"Original speichern",Clean:"Säubern","Insert as Text":"Als Text einfügen","Word Paste Detected":"In Word formatierter Text erkannt","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Der Inhalt, den Sie einfügen, stammt aus einem Microsoft Word / Excel-Dokument. Möchten Sie das Format erhalten oder bereinigen?","Insert only Text":"Nur Text einfügen","File Browser":"Dateibrowser","Error on load list":"Fehler beim Laden der Liste","Error on load folders":"Fehler beim Laden der Ordner","Are you sure?":"Sind Sie sicher?","Enter Directory name":"Geben Sie den Verzeichnisnamen ein","Create directory":"Verzeichnis erstellen","type name":"Typname","Drop image":"Bild hier hinziehen","Drop file":"Datei löschen","or click":"oder hier klicken","Alternative text":"Alternativtext",Browse:"Auswählen",Upload:"Hochladen",Background:"Hintergrund",Text:"Text",Top:"Oben",Middle:"Mittig",Bottom:"Unten","Insert column before":"Spalte davor einfügen","Insert column after":"Spalte danach einfügen","Insert row above":"Zeile oberhalb einfügen","Insert row below":"Zeile unterhalb einfügen","Delete table":"Tabelle löschen","Delete row":"Zeile löschen","Delete column":"Spalte löschen","Empty cell":"Zelle leeren",Delete:"Löschen","Strike through":"Durchstreichen",Underline:"Unterstreichen",Break:"Pause","Search for":"Suche nach","Replace with":"Ersetzen durch",Replace:"Ersetzen",Edit:"Bearbeiten","Vertical align":"Vertikale Ausrichtung","Horizontal align":"Horizontale Ausrichtung",Filter:"Filter","Sort by changed":"Sortieren nach geändert","Sort by name":"Nach Name sortieren","Sort by size":"Nach Größe sortiert","Add folder":"Ordner hinzufügen","Split vertical":"Vertikal unterteilen","Split horizontal":"Horizontal unterteilen",Split:"Unterteilen",Merge:"Vereinen","Add column":"Spalte hinzufügen","Add row":"Zeile hinzufügen",Border:"Rand","Embed code":"Code einbetten",Update:"Aktualisieren",superscript:"Hochstellen",subscript:"Tiefstellen","Cut selection":"Auswahl ausschneiden",Paste:"Einfügen","Choose Content to Paste":"Wählen Sie den Inhalt zum Einfügen aus","Chars: %d":"Zeichen: %d","Words: %d":"Wörter: %d",All:"Alles markieren","Select %s":"Markieren: %s","Select all":"Alles markieren",source:"HTML",bold:"Fett gedruckt",italic:"Kursiv",brush:"Bürste",link:"Verknüpfung",undo:"Rückgängig machen",redo:"Wiederholen",table:"Tabelle",image:"Bild",eraser:"Radiergummi",paragraph:"Absatz",fontsize:"Schriftgröße",video:"Video",font:"Schriftart",about:"Über",print:"Drucken",underline:"Unterstreichen",strikethrough:"Durchstreichen",indent:"Einzug",outdent:"Herausstellen",fullsize:"Vollgröße",shrink:"Schrumpfen",hr:"die Linie",ul:"Liste von",ol:"Nummerierte Liste","Lower Alpha":"Standard, Alphabet (klein)","Upper Alpha":"Standard, Alphabet (gross)","Lower Roman":"Römisch (klein)","Upper Roman":"Römisch (gross)","Lower Greek":"Griechisch",cut:"Schneiden",selectall:"Wählen Sie Alle aus","Open link":"Link öffnen","Edit link":"Link bearbeiten","No follow":"Nofollow-Attribut",Unlink:"Link entfernen",Eye:"Ansehen",pencil:"Bearbeiten"," URL":"URL",Reset:"Wiederherstellen",Save:"Speichern","Save as ...":"Speichern als",Resize:"Größe ändern",Crop:"Größe anpassen",Width:"Breite",Height:"Höhe","Keep Aspect Ratio":"Seitenverhältnis beibehalten",Yes:"Ja",No:"Nein",Remove:"Entfernen",Select:"Markieren","You can only edit your own images. Download this image on the host?":"Sie können nur Ihre eigenen Bilder bearbeiten. Dieses Bild auf den Host herunterladen?","The image has been successfully uploaded to the host!":"Das Bild wurde erfolgreich auf den Server hochgeladen!",palette:"Palette","There are no files":"In diesem Verzeichnis befinden sich keine Dateien.",Rename:"Umbenennen","Enter new name":"Geben Sie einen neuen Namen ein",preview:"Vorschau",download:"Herunterladen","Paste from clipboard":"Aus Zwischenablage einfügen","Your browser doesn't support direct access to the clipboard.":"Ihr Browser unterstützt keinen direkten Zugriff auf die Zwischenablage.","Copy selection":"Auswahl kopieren",copy:"Kopieren","Border radius":"Radius für abgerundete Ecken","Show all":"Alle anzeigen",Apply:"Anwenden","Please fill out this field":"Bitte füllen Sie dieses Feld aus","Please enter a web address":"Bitte geben Sie eine Web-Adresse ein",Default:"Standard",Circle:"Kreis",Dot:"Punkte",Quadrate:"Quadrate",Find:"Suchen","Find Previous":"Suche vorherige","Find Next":"Weitersuchen","Insert className":"className (CSS) einfügen","Press Alt for custom resizing":"Drücken Sie Alt für benutzerdefinierte Größenanpassung","License: %s":"Lizenz: %s"}},62843:function(t,i,n){"use strict";n.d(i,{Button:function(){return o.Button},UIButton:function(){return o.UIButton},UIButtonGroup:function(){return r.UIButtonGroup},UIButtonState:function(){return o.UIButtonState},UITooltip:function(){return s.UITooltip}});var o=n(10830),r=n(71916),s=n(57340)},62845:function(t,i,n){"use strict";n.d(i,{checkJoinNeighbors:function(){return a}});var o=n(82758),r=n(2748),s=n(63785);function a(t,i,n){let s=i,a=s;for(;s&&!r.Dom.findNotEmptySibling(s,n)&&s.parentElement!==t.editor;)a=s=s.parentElement;if(r.Dom.isElement(a)&&r.Dom.isContentEditable(a,t.editor)){var c,u;let s,d,h,p=r.Dom.findNotEmptySibling(a,n);if(p&&(c=a,u=p,s=r.Dom.isTag(u,o.LIST_TAGS),d=r.Dom.isTag(c,o.LIST_TAGS),h=(t,i)=>i?t.firstElementChild:t.lastElementChild,(d?(u=t.createInside.element(t.o.enterBlock),r.Dom.before(c,u),l(t,h(c,n),u,n)):!!u&&!!s&&!d&&l(t,c,h(u,!n),n))||l(t,a,p,n)))return t.s.setCursorBefore(i),!0}return!1}function l(t,i,n,o){if(i&&r.Dom.isElement(n)){r.Dom.moveContent(i,n,!o,(0,s.getMoveFilter)(t));let a=i;for(;a&&a!==t.editor&&r.Dom.isEmpty(a);){let t=a.parentElement;r.Dom.safeRemove(a),a=t}return!0}return!1}},62895:function(t,i,n){"use strict";n.d(i,{WebStorageConversationStorage:function(){return o.WebStorageConversationStorage},createStorageProvider:function(){return o.createStorageProvider}});var o=n(21064)},63134:function(t,i,n){"use strict";n.r(i),i.default={newline:"nueva línea",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 o=n(82749),r=n(31635),s=n(65478),a=n(38837),l=n(67510),c=n(62843),u=n(85120);class d extends l.UIElement{className(){return"UIInputArea"}setParentView(t){return this.textarea?.setParentView(t),this.sendButton?.setParentView(t),this.stopButton?.setParentView(t),super.setParentView(t)}render(){return`<div class="&__container">
450
450
  <div class="&__context-badges"></div>
451
451
  <div class="&__loading-indicator">
452
452
  <span class="&__loading-dot"></span>
@@ -498,12 +498,12 @@ ${s}`.trim();n?await this.__executeQuickCommandSilent(c,s):await this.__executeQ
498
498
  </div>`}appendChildToContainer(t){let i=this.getElm("box");(0,a.assert)(null!=i,"box element does not exists"),i.appendChild(t)}addResize(){(0,l.css)(this.container,{width:null,height:null}),u.UIResize.remove(this),u.UIResize.install(this,screen.width>450?"right":"bottom")}onChangeFavorites(){this.setMod("has-favorites",!!this.state.favorites.length)}onClickHideButton(){return this.state.showSideBar=!this.state.showSideBar,!1}onClickFavorites(){return this.state.elements=this.state.favorites,!1}constructor(t,i,n){super(t,i),(0,o._)(this,"state",void 0),this.state=n,this.onChangeFavorites()}}(0,r.__decorate)([(0,s.hook)("ready"),(0,s.watch)(":resize",{context:window}),(0,s.debounce)()],d.prototype,"addResize",null),(0,r.__decorate)([(0,s.watch)("state.favorites")],d.prototype,"onChangeFavorites",null),(0,r.__decorate)([(0,s.watch)("hide-btn:click")],d.prototype,"onClickHideButton",null),(0,r.__decorate)([(0,s.watch)("favorites:click")],d.prototype,"onClickFavorites",null),d=(0,r.__decorate)([s.component],d)},71042:function(t,i){"use strict";i.default={"copy-format":"opmaak kopiëren"}},71050:function(t,i,n){"use strict";n.d(i,{invertMode:function(){return r},resizeInPanelView:function(){return s}});var o=n(41180);function r(t){switch(t){case"left":return"right";case"right":return"left";case"top":return"bottom";case"bottom":return"top"}}function s(t,i,n,s){if("dialog"===i||"flight"===i)return;("left"===i||"right"===i)&&(t.currentPlace.slots[r(i)]?.style.setProperty(`--jd-slot-${r(i)}-width`,"auto"),t.currentPlace.slots[i]?.style.setProperty(`--jd-slot-${i}-width`,`${n}px`));let a=(0,o.css)(t.currentPlace.workplace,"height")??0;t.currentPlace.slots[i]?.style.setProperty("min-height",`${Math.min(a,s)}px`)}},71102:function(t,i,n){"use strict";n.d(i,{UIGlobalSettings:function(){return u}});var o=n(82749),r=n(31635),s=n(65478),a=n(67510),l=n(80256),c=n(12234);class u extends a.UIElement{className(){return"UIGlobalSettings"}setParentView(t){return this.displayModeSelect?.setParentView(t),this.panelWidthInput?.setParentView(t),this.themeSelect?.setParentView(t),super.setParentView(t)}async build(){let t=this.container;this.options.allowEditDisplayMode&&(this.displayModeSelect=new c.UISelect(this.j,{label:"Display Mode",name:"displayMode",value:this.state?.displayMode??"right",options:[{text:"Dialog",value:"dialog"},{text:"Flight",value:"flight"},{text:"Left",value:"left"},{text:"Right",value:"right"},{text:"Top",value:"top"},{text:"Bottom",value:"bottom"}],onChange:()=>{this.onDisplayModeChange()}}),t.appendChild(this.displayModeSelect.container)),this.options.allowEditPanelWidth&&(this.panelWidthInput=new l.UIInput(this.j,{label:"Panel Width",name:"panelWidth",type:"number",value:(this.state?.panelWidth??400)+"",onChange:()=>{this.onPanelWidthChange()}}),this.panelWidthInput.nativeInput.setAttribute("min","200"),this.panelWidthInput.nativeInput.setAttribute("max","800"),this.panelWidthInput.nativeInput.setAttribute("step","10"),t.appendChild(this.panelWidthInput.container)),this.options.allowEditTheme&&(this.themeSelect=new c.UISelect(this.j,{label:"Theme",name:"theme",value:this.state?.theme??"parent",options:[{text:"Inherit",value:"parent"},{text:"Light",value:"light"},{text:"Dark",value:"dark"}],onChange:()=>{this.onThemeChange()}}),t.appendChild(this.themeSelect.container))}async onDisplayModeChange(){this.displayModeSelect&&(this.state.displayMode=this.displayModeSelect.value,this.j.async.setTimeout(async()=>{this.j.e.fire("closeAIAssistantPro.ai-assistant-pro"),await this.j.async.requestIdlePromise(),this.j.e.fire("openAIAssistantPro.ai-assistant-pro")},100))}async onPanelWidthChange(){if(!this.panelWidthInput)return;let t=parseInt(this.panelWidthInput.value,10);isNaN(t)||t<200||t>800||(this.state.panelWidth=t)}async onThemeChange(){this.themeSelect&&(this.state.theme=this.themeSelect.value)}destruct(){this.displayModeSelect?.destruct(),this.panelWidthInput?.destruct(),this.themeSelect?.destruct(),super.destruct()}onStateDisplayModeChange(){this.displayModeSelect&&(this.displayModeSelect.value=this.state.displayMode)}onStatePanelWidthChange(){this.panelWidthInput&&this.panelWidthInput.value!==this.state.panelWidth+""&&(this.panelWidthInput.value=this.state.panelWidth+"")}onStateThemeChange(){this.themeSelect&&(this.themeSelect.value=this.state.theme)}constructor(t,i,n){super(t),(0,o._)(this,"state",void 0),(0,o._)(this,"options",void 0),(0,o._)(this,"displayModeSelect",void 0),(0,o._)(this,"panelWidthInput",void 0),(0,o._)(this,"themeSelect",void 0),this.state=i,this.options=n,this.displayModeSelect=null,this.panelWidthInput=null,this.themeSelect=null,this.build()}}(0,r.__decorate)([(0,s.watch)("state.displayMode")],u.prototype,"onStateDisplayModeChange",null),(0,r.__decorate)([(0,s.watch)("state.panelWidth")],u.prototype,"onStatePanelWidthChange",null),(0,r.__decorate)([(0,s.watch)("state.theme")],u.prototype,"onStateThemeChange",null),u=(0,r.__decorate)([s.component],u)},71255:function(t,i,n){"use strict";var o=n(2748),r=n(580),s=n(37790),a=n(50911),l=n(12153),c=n(6441),u=n(31151);c.Config.prototype.controls.classSpan={command:"applyClassName",exec:s.memorizeExec,list:["enabled","disabled","activated","text-left","text-center","text-right","warning","error"],isChildActive(t,i){let n=t.s.current();if(n){let r=o.Dom.closest(n,o.Dom.isElement,t.editor)||t.editor;return!!(i.control.args&&r.classList.contains(i.control.args[0].toString()))}return!1},isActive(t,i){let n=t.s.current();if(n){let r=o.Dom.closest(n,o.Dom.isElement,t.editor)||t.editor,s=!1;return i.control.list&&Object.keys(i.control.list).forEach(t=>{r.classList.contains(t)&&(s=!0)}),!!(r&&r!==t.editor&&void 0!==i.control.list&&s)}return!1},childTemplate:(t,i,n)=>`<span class="${i}">${t.i18n(n)}</span>`,tooltip:"Insert className"};class d extends a.Plugin{afterInit(t){t.registerCommand("applyClassName",(i,n,o)=>(t.s.commitStyle({attributes:{class:o}}),!1))}beforeDestruct(){}constructor(){super(...arguments),this.buttons=[{name:"classSpan",group:"script"}]}}r.pluginSystem.add("classSpan",d),l.Icon.set("class-span",u.default)},71262:function(t,i,n){"use strict";n.d(i,{getStrongControlTypes:function(){return l}});var o=n(68345),r=n(43555),s=n(6441),a=n(72157);function l(t,i){return((0,o.isArray)(t)?t:(0,r.keys)(t,!1).map(i=>{let n=t[i]||{};return(0,r.ConfigProto)({name:i},n)})).map(t=>(0,a.getControlType)(t,i||s.Config.defaultOptions.controls))}},71521:function(t,i,n){"use strict";n.d(i,{NUMBER_FIELDS_REG:function(){return r.NUMBER_FIELDS_REG},normalizeColor:function(){return o.normalizeColor},normalizeCssNumericValue:function(){return r.normalizeCssNumericValue},normalizeCssValue:function(){return r.normalizeCssValue},normalizeKeyAliases:function(){return s.normalizeKeyAliases},normalizeLicense:function(){return a.normalizeLicense},normalizePath:function(){return l.normalizePath},normalizeRelativePath:function(){return c.normalizeRelativePath},normalizeSize:function(){return u.normalizeSize},normalizeUrl:function(){return d.normalizeUrl}});var o=n(21224),r=n(3760),s=n(49033),a=n(12972),l=n(9992),c=n(70091),u=n(46334),d=n(37406)},71568:function(t,i,n){"use strict";n.d(i,{Alert:function(){return c}});var o=n(2748),r=n(29999),s=n(23282),a=n(10830),l=n(78584);function c(t,i,n,u="jodit-dialog_alert"){(0,s.isFunction)(i)&&(n=i,i=void 0);let d=this instanceof l.Dialog?this:new l.Dialog({closeOnClickOverlay:!0}),h=d.c.div(u),p=(0,a.Button)(d,"ok","Ok");return(0,r.asArray)(t).forEach(t=>{h.appendChild(o.Dom.isNode(t)?t:d.c.fromHTML(t))}),p.onAction(()=>{n&&(0,s.isFunction)(n)&&!1===n(d)||d.close()}),d.setFooter([p]),d.open(h,i||"&nbsp;",!0,!0),p.focus(),d}},71675:function(t,i,n){"use strict";var o=n(6441);o.Config.prototype.allowResizeTags=new Set(["img","iframe","table","jodit"]),o.Config.prototype.resizer={showSize:!0,hideSizeTimeout:1e3,forImageChangeAttributes:!0,min_width:10,min_height:10,useAspectRatio:new Set(["img"])}},71686:function(t,i,n){"use strict";n.d(i,{ajaxInstances:function(){return a},send:function(){return l}});var o=n(21537),r=n(41601),s=n(83987);let a=new WeakMap;function l(t,i){let n=(0,s.buildData)(t,i),l=i=>{t.j.progressbar.show().progress(i),i>=100&&t.j.progressbar.hide()},c=(i,n)=>{let s=new r.Ajax({xhr(){let i=new XMLHttpRequest;return void 0!==t.j.ow.FormData&&i.upload?(n(10),i.upload.addEventListener("progress",t=>{if(t.lengthComputable){let i=t.loaded/t.total;n(i*=100)}},!1)):n(100),i},method:t.o.method||"POST",data:i,url:(0,o.isFunction)(t.o.url)?t.o.url(i):t.o.url,headers:t.o.headers,queryBuild:t.o.queryBuild,contentType:t.o.contentType.call(t,i),withCredentials:t.o.withCredentials||!1}),l=a.get(t);return l||(l=new Set,a.set(t,l)),l.add(s),t.j.e.one("beforeDestruct",s.destruct),s.send().then(t=>t.json()).catch(t=>({success:!1,data:{messages:[t]}})).finally(()=>{s.destruct(),null==l||l.delete(s)})};return((0,o.isFunction)(t.o.customUploadFunction)&&(c=t.o.customUploadFunction),(0,o.isPromise)(n))?n.then(t=>c(t,l)).catch(i=>{t.o.error.call(t,i)}):c(n,l)}},71705:function(t,i,n){"use strict";n.r(i),i.default={newline:"الخط الجديد",delete:"حذف",space:"الفضاء","Speech Recognize":"التعرف على الكلام",Sound:"الصوت","Interim Results":"النتائج المؤقتة"}},71724:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"Zeilenhöhe"}},71842:function(t,i,n){"use strict";var o=n(82758),r=n(6441);r.Config.prototype.askBeforePasteFromWord=!0,r.Config.prototype.processPasteFromWord=!0,r.Config.prototype.defaultActionOnPasteFromWord=null,r.Config.prototype.pasteFromWordActionList=[{value:o.INSERT_AS_HTML,text:"Keep"},{value:o.INSERT_AS_TEXT,text:"Clean"},{value:o.INSERT_ONLY_TEXT,text:"Insert only Text"}]},71916:function(t,i,n){"use strict";n.d(i,{UIButtonGroup:function(){return l}});var o=n(87325),r=n(38837),s=n(10830),a=n(62405);let l=class t extends a.UIGroup{className(){return"UIButtonGroup"}render(t){return`<div>
499
499
  <div class="&__label">~${t.label}~</div>
500
500
  <div class="&__options"></div>
501
- </div>`}appendChildToContainer(t){let i=this.getElm("options");(0,r.assert)(null!=i,"Options does not exist"),i.appendChild(t)}select(t){var i,n;this.elements.forEach((i,n)=>{n===t||i.state.value===t?i.state.activated=!0:this.options.radio&&(i.state.activated=!1)});let o=this.elements.filter(t=>t.state.activated).map(t=>({text:t.state.text,value:t.state.value}));this.jodit.e.fire(this,"select",o),null==(n=(i=this.options).onChange)||n.call(i,o)}constructor(t,i={radio:!0}){var n,o;super(t,null==(n=i.options)?void 0:n.map(i=>{let n=new s.UIButton(t,{text:i.text,value:i.value,variant:"primary"});return n.onAction(()=>{this.select(i.value)}),n}),i),this.options=i,this.select(null!=(o=i.value)?o:0)}};l=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([o.component],l)},72144:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <g transform="translate(-251.000000, -443.000000)"> <g transform="translate(215.000000, 119.000000)"/> <path d="M252,448 L256,448 L256,444 L252,444 L252,448 Z M257,448 L269,448 L269,446 L257,446 L257,448 Z M257,464 L269,464 L269,462 L257,462 L257,464 Z M270,444 L270,448 L274,448 L274,444 L270,444 Z M252,462 L252,466 L256,466 L256,462 L252,462 Z M270,462 L270,466 L274,466 L274,462 L270,462 Z M254,461 L256,461 L256,449 L254,449 L254,461 Z M270,461 L272,461 L272,449 L270,449 L270,461 Z"/> </g> </svg> '},72157:function(t,i,n){"use strict";n.d(i,{findControlType:function(){return a},getControlType:function(){return s}});var o=n(21537),r=n(6441);function s(t,i){let n;return i||(i=r.Config.defaultOptions.controls),(0,o.isString)(t)?n=a(t,i)||{name:t,command:t,tooltip:t}:void 0!==i[(n={name:"empty",...(0,o.ConfigFlatten)(t)}).name]&&(n={...(0,o.ConfigFlatten)(i[n.name]),...(0,o.ConfigFlatten)(n)}),n}function a(t,i){let[n,r]=t.split(/\./),s=i;return null!=r?void 0!==i[n]&&(s=i[n]):r=n,s[r]?{name:r,...(0,o.ConfigFlatten)(s[r])}:void 0}},72253:function(t,i,n){"use strict";var o=n(65478),r=n(22732),s=n(580),a=n(70799),l=n(50911);n(96967);var c=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class u extends l.Plugin{afterInit(t){"br"!==t.o.enter.toLowerCase()&&t.e.on("drop.wtn focus.wtn keydown.wtn mousedown.wtn afterInit.wtn backSpaceAfterDelete.wtn",this.preprocessInput,{top:!0}).on("afterInit.wtn postProcessSetEditorValue.wtn afterCommitStyle.wtn backSpaceAfterDelete.wtn",this.postProcessSetEditorValue)}beforeDestruct(t){t.e.off(".wtn")}postProcessSetEditorValue(){let{jodit:t}=this;if(!t.isEditorMode())return;let i=t.editor.firstChild,n=!1;for(;i;){if(i=function(t,i){let n=t,o=t;do if(r.Dom.isElement(o)&&r.Dom.isLeaf(o)&&!r.Dom.isList(o.parentElement)){let t=r.Dom.findNotEmptySibling(o,!1);r.Dom.isTag(n,"ul")?n.appendChild(o):n=r.Dom.wrap(o,"ul",i.createInside),o=t}else break;while(o)return n}(i,t),this.isSuitableStart(i)){n||t.s.save(),n=!0;let o=t.createInside.element(t.o.enter);for(r.Dom.before(i,o);i&&this.isSuitable(i);){let t=i.nextSibling;o.appendChild(i),i=t}o.normalize(),i=o}i=i&&i.nextSibling}n&&(t.s.restore(),"afterInit"===t.e.current&&t.e.fire("internalChange"))}preprocessInput(){let{jodit:t}=this,i="afterInit"===t.e.current;if(!t.isEditorMode()||t.editor.firstChild||!t.o.wrapNodes.emptyBlockAfterInit&&i)return;let n=t.createInside.element(t.o.enter),o=t.createInside.element("br");r.Dom.append(n,o),r.Dom.append(t.editor,n),t.s.isFocused()&&t.s.setCursorBefore(o),t.e.fire("internalChange")}constructor(){super(...arguments),this.isSuitableStart=t=>{var i;return r.Dom.isText(t)&&(0,a.isString)(t.nodeValue)&&(/[^\s]/.test(t.nodeValue)||(null==(i=t.parentNode)?void 0:i.firstChild)===t&&this.isSuitable(t.nextSibling))||this.isNotWrapped(t)&&!r.Dom.isTemporary(t)},this.isSuitable=t=>r.Dom.isText(t)||this.isNotWrapped(t),this.isNotWrapped=t=>r.Dom.isElement(t)&&!(r.Dom.isBlock(t)||r.Dom.isTag(t,this.j.o.wrapNodes.exclude))}}c([o.autobind],u.prototype,"postProcessSetEditorValue",null),c([o.autobind],u.prototype,"preprocessInput",null),s.pluginSystem.add("wrapNodes",u)},72337: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-1216q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h1216q40 0 68 28t28 68z"/> </svg> '},72392:function(t,i){"use strict";i.default={"copy-format":"Kopírovat formát"}},72430:function(t,i,n){"use strict";n.d(i,{isPlainObject:function(){return r}});var o=n(52742);function r(t){return!(!t||"object"!=typeof t||t.nodeType||(0,o.isWindow)(t))&&!(t.constructor&&!({}).hasOwnProperty.call(t.constructor.prototype,"isPrototypeOf"))}},72439:function(t,i,n){"use strict";var o=n(82758),r=n(2748),s=n(580),a=n(21537),l=n(76014);let c=new Set([o.KEY_TAB,o.KEY_LEFT,o.KEY_RIGHT,o.KEY_UP,o.KEY_DOWN]);s.pluginSystem.add("tableKeyboardNavigation",function(t){t.e.off(".tableKeyboardNavigation").on("keydown.tableKeyboardNavigation",i=>{let{key:n}=i,s=function(t,i){if(!c.has(i))return;let n=t.s.current();if(!n)return;let s=r.Dom.up(n,r.Dom.isCell,t.editor);if(!s)return;let{range:l}=t.s;if(i!==o.KEY_TAB&&n!==s){let t=i===o.KEY_RIGHT||i===o.KEY_DOWN,c=(0,a.call)(t?r.Dom.next:r.Dom.prev,n,t=>i===o.KEY_UP||i===o.KEY_DOWN?r.Dom.isTag(t,"br"):!!t,s);if(!t&&(c||i!==o.KEY_UP&&r.Dom.isText(n)&&0!==l.startOffset)||t&&(c||i!==o.KEY_DOWN&&r.Dom.isText(n)&&n.nodeValue&&l.startOffset!==n.nodeValue.length))return}return s}(t,n);if(!s)return;let u=t.getInstance(l.Table,t.o),d=r.Dom.closest(s,"table",t.editor),h=null,p=n===o.KEY_LEFT||i.shiftKey,f=()=>(0,a.call)(p?r.Dom.prev:r.Dom.next,s,r.Dom.isCell,d);switch(n){case o.KEY_TAB:case o.KEY_LEFT:(h=f())||(u.appendRow(d,!!p&&d.querySelector("tr"),!p),h=f());break;case o.KEY_UP:case o.KEY_DOWN:{let t=u.formalMatrix(d),[i,r]=u.formalCoordinate(d,s);n===o.KEY_UP?void 0!==t[i-1]&&(h=t[i-1][r]):void 0!==t[i+1]&&(h=t[i+1][r])}}if(h){if(t.e.fire("hidePopup hideResizer"),h.firstChild)n===o.KEY_TAB?t.s.select(h,!0):t.s.setCursorIn(h,n===o.KEY_RIGHT||n===o.KEY_DOWN);else{let i=t.createInside.element("br");h.appendChild(i),t.s.setCursorBefore(i)}return t.synchronizeValues(),!1}})})},72573:function(t,i,n){"use strict";function o(t,i,n){return i in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}function r(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}n.d(i,{marked:function(){return ey}});var s,a=r(),l={exec:()=>null};function c(t,i=""){let n="string"==typeof t?t:t.source,o={replace(t,i){let r="string"==typeof i?i:i.source;return r=r.replace(d.caret,"$1"),n=n.replace(t,r),o},getRegex:()=>new RegExp(n,i)};return o}var u=(()=>{try{return!!RegExp("(?<=1)(?<!1)")}catch{return!1}})(),d={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i")},h=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,p=/(?:[*+-]|\d{1,9}[.)])/,f=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,m=c(f).replace(/bull/g,p).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),g=c(f).replace(/bull/g,p).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),b=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,v=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,y=c(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",v).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),w=c(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,p).getRegex(),_="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",C=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,k=c("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",C).replace("tag",_).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),S=c(b).replace("hr",h).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_).getRegex(),x={blockquote:c(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",S).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:y,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:h,html:k,lheading:m,list:w,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:S,table:l,text:/^[^\n]+/},I=c("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",h).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_).getRegex(),E={...x,lheading:g,table:I,paragraph:c(b).replace("hr",h).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",I).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_).getRegex()},T={...x,html:c("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",C).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:l,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:c(b).replace("hr",h).replace("heading",` *#{1,6} *[^
502
- ]`).replace("lheading",m).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},A=/^( {2,}|\\)\n(?!\s*$)/,j=/[\p{P}\p{S}]/u,L=/[\s\p{P}\p{S}]/u,D=/[^\s\p{P}\p{S}]/u,P=c(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,L).getRegex(),R=/(?!~)[\p{P}\p{S}]/u,M=c(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",u?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),z=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,B=c(z,"u").replace(/punct/g,j).getRegex(),N=c(z,"u").replace(/punct/g,R).getRegex(),O="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",F=c(O,"gu").replace(/notPunctSpace/g,D).replace(/punctSpace/g,L).replace(/punct/g,j).getRegex(),H=c(O,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,R).getRegex(),U=c("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,D).replace(/punctSpace/g,L).replace(/punct/g,j).getRegex(),q=c(/\\(punct)/,"gu").replace(/punct/g,j).getRegex(),V=c(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),W=c(C).replace("(?:--\x3e|$)","--\x3e").getRegex(),$=c("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",W).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),G=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,K=c(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",G).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Y=c(/^!?\[(label)\]\[(ref)\]/).replace("label",G).replace("ref",v).getRegex(),J=c(/^!?\[(ref)\](?:\[\])?/).replace("ref",v).getRegex(),X=c("reflink|nolink(?!\\()","g").replace("reflink",Y).replace("nolink",J).getRegex(),Z=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,Q={_backpedal:l,anyPunctuation:q,autolink:V,blockSkip:M,br:A,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:l,emStrongLDelim:B,emStrongRDelimAst:F,emStrongRDelimUnd:U,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:K,nolink:J,punctuation:P,reflink:Y,reflinkSearch:X,tag:$,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:l},ee={...Q,link:c(/^!?\[(label)\]\((.*?)\)/).replace("label",G).getRegex(),reflink:c(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",G).getRegex()},et={...Q,emStrongRDelimAst:H,emStrongLDelim:N,url:c(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",Z).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:c(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",Z).getRegex()},ei={...et,br:c(A).replace("{2,}","*").getRegex(),text:c(et.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},en={normal:x,gfm:E,pedantic:T},eo={normal:Q,gfm:et,breaks:ei,pedantic:ee},er={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},es=t=>er[t];function ea(t,i){if(i){if(d.escapeTest.test(t))return t.replace(d.escapeReplace,es)}else if(d.escapeTestNoEncode.test(t))return t.replace(d.escapeReplaceNoEncode,es);return t}function el(t){try{t=encodeURI(t).replace(d.percentDecode,"%")}catch{return null}return t}function ec(t,i){let n=t.replace(d.findPipe,(t,i,n)=>{let o=!1,r=i;for(;--r>=0&&"\\"===n[r];)o=!o;return o?"|":" |"}).split(d.splitPipe),o=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),i)if(n.length>i)n.splice(i);else for(;n.length<i;)n.push("");for(;o<n.length;o++)n[o]=n[o].trim().replace(d.slashPipe,"|");return n}function eu(t,i,n){let o=t.length;if(0===o)return"";let r=0;for(;r<o;){let s=t.charAt(o-r-1);if(s!==i||n)if(s!==i&&n)r++;else break;else r++}return t.slice(0,o-r)}function ed(t,i,n,o,r){let s=i.href,a=i.title||null,l=t[1].replace(r.other.outputLinkReplace,"$1");o.state.inLink=!0;let c={type:"!"===t[0].charAt(0)?"image":"link",raw:n,href:s,title:a,text:l,tokens:o.inlineTokens(l)};return o.state.inLink=!1,c}var eh=class{space(t){let i=this.rules.block.newline.exec(t);if(i&&i[0].length>0)return{type:"space",raw:i[0]}}code(t){let i=this.rules.block.code.exec(t);if(i){let t=i[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:i[0],codeBlockStyle:"indented",text:this.options.pedantic?t:eu(t,`
501
+ </div>`}appendChildToContainer(t){let i=this.getElm("options");(0,r.assert)(null!=i,"Options does not exist"),i.appendChild(t)}select(t){var i,n;this.elements.forEach((i,n)=>{n===t||i.state.value===t?i.state.activated=!0:this.options.radio&&(i.state.activated=!1)});let o=this.elements.filter(t=>t.state.activated).map(t=>({text:t.state.text,value:t.state.value}));this.jodit.e.fire(this,"select",o),null==(n=(i=this.options).onChange)||n.call(i,o)}constructor(t,i={radio:!0}){var n,o;super(t,null==(n=i.options)?void 0:n.map(i=>{let n=new s.UIButton(t,{text:i.text,value:i.value,variant:"primary"});return n.onAction(()=>{this.select(i.value)}),n}),i),this.options=i,this.select(null!=(o=i.value)?o:0)}};l=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([o.component],l)},72144:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <g transform="translate(-251.000000, -443.000000)"> <g transform="translate(215.000000, 119.000000)"/> <path d="M252,448 L256,448 L256,444 L252,444 L252,448 Z M257,448 L269,448 L269,446 L257,446 L257,448 Z M257,464 L269,464 L269,462 L257,462 L257,464 Z M270,444 L270,448 L274,448 L274,444 L270,444 Z M252,462 L252,466 L256,466 L256,462 L252,462 Z M270,462 L270,466 L274,466 L274,462 L270,462 Z M254,461 L256,461 L256,449 L254,449 L254,461 Z M270,461 L272,461 L272,449 L270,449 L270,461 Z"/> </g> </svg> '},72157:function(t,i,n){"use strict";n.d(i,{findControlType:function(){return a},getControlType:function(){return s}});var o=n(21537),r=n(6441);function s(t,i){let n;return i||(i=r.Config.defaultOptions.controls),(0,o.isString)(t)?n=a(t,i)||{name:t,command:t,tooltip:t}:void 0!==i[(n={name:"empty",...(0,o.ConfigFlatten)(t)}).name]&&(n={...(0,o.ConfigFlatten)(i[n.name]),...(0,o.ConfigFlatten)(n)}),n}function a(t,i){let[n,r]=t.split(/\./),s=i;return null!=r?void 0!==i[n]&&(s=i[n]):r=n,s[r]?{name:r,...(0,o.ConfigFlatten)(s[r])}:void 0}},72253:function(t,i,n){"use strict";var o=n(65478),r=n(22732),s=n(580),a=n(70799),l=n(50911);n(96967);var c=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class u extends l.Plugin{afterInit(t){"br"!==t.o.enter.toLowerCase()&&t.e.on("drop.wtn focus.wtn keydown.wtn mousedown.wtn afterInit.wtn backSpaceAfterDelete.wtn",this.preprocessInput,{top:!0}).on("afterInit.wtn postProcessSetEditorValue.wtn afterCommitStyle.wtn backSpaceAfterDelete.wtn",this.postProcessSetEditorValue)}beforeDestruct(t){t.e.off(".wtn")}postProcessSetEditorValue(){let{jodit:t}=this;if(!t.isEditorMode())return;let i=t.editor.firstChild,n=!1;for(;i;){if(i=function(t,i){let n=t,o=t;do if(r.Dom.isElement(o)&&r.Dom.isLeaf(o)&&!r.Dom.isList(o.parentElement)){let t=r.Dom.findNotEmptySibling(o,!1);r.Dom.isTag(n,"ul")?n.appendChild(o):n=r.Dom.wrap(o,"ul",i.createInside),o=t}else break;while(o)return n}(i,t),this.isSuitableStart(i)){n||t.s.save(),n=!0;let o=t.createInside.element(t.o.enter);for(r.Dom.before(i,o);i&&this.isSuitable(i);){let t=i.nextSibling;o.appendChild(i),i=t}o.normalize(),i=o}i=i&&i.nextSibling}n&&(t.s.restore(),"afterInit"===t.e.current&&t.e.fire("internalChange"))}preprocessInput(){let{jodit:t}=this,i="afterInit"===t.e.current;if(!t.isEditorMode()||t.editor.firstChild||!t.o.wrapNodes.emptyBlockAfterInit&&i)return;let n=t.createInside.element(t.o.enter),o=t.createInside.element("br");r.Dom.append(n,o),r.Dom.append(t.editor,n),t.s.isFocused()&&t.s.setCursorBefore(o),t.e.fire("internalChange")}constructor(){super(...arguments),this.isSuitableStart=t=>{var i;return r.Dom.isText(t)&&(0,a.isString)(t.nodeValue)&&(/[^\s]/.test(t.nodeValue)||(null==(i=t.parentNode)?void 0:i.firstChild)===t&&this.isSuitable(t.nextSibling))||this.isNotWrapped(t)&&!r.Dom.isTemporary(t)},this.isSuitable=t=>r.Dom.isText(t)||this.isNotWrapped(t),this.isNotWrapped=t=>r.Dom.isElement(t)&&!(r.Dom.isBlock(t)||r.Dom.isTag(t,this.j.o.wrapNodes.exclude))}}c([o.autobind],u.prototype,"postProcessSetEditorValue",null),c([o.autobind],u.prototype,"preprocessInput",null),s.pluginSystem.add("wrapNodes",u)},72337: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-1216q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h1216q40 0 68 28t28 68z"/> </svg> '},72392:function(t,i){"use strict";i.default={"copy-format":"Kopírovat formát"}},72430:function(t,i,n){"use strict";n.d(i,{isPlainObject:function(){return r}});var o=n(52742);function r(t){return!(!t||"object"!=typeof t||t.nodeType||(0,o.isWindow)(t))&&!(t.constructor&&!({}).hasOwnProperty.call(t.constructor.prototype,"isPrototypeOf"))}},72439:function(t,i,n){"use strict";var o=n(82758),r=n(2748),s=n(580),a=n(21537),l=n(76014);let c=new Set([o.KEY_TAB,o.KEY_LEFT,o.KEY_RIGHT,o.KEY_UP,o.KEY_DOWN]);s.pluginSystem.add("tableKeyboardNavigation",function(t){t.e.off(".tableKeyboardNavigation").on("keydown.tableKeyboardNavigation",i=>{let{key:n}=i,s=function(t,i){if(!c.has(i))return;let n=t.s.current();if(!n)return;let s=r.Dom.up(n,r.Dom.isCell,t.editor);if(!s)return;let{range:l}=t.s;if(i!==o.KEY_TAB&&n!==s){let t=i===o.KEY_RIGHT||i===o.KEY_DOWN,c=(0,a.call)(t?r.Dom.next:r.Dom.prev,n,t=>i===o.KEY_UP||i===o.KEY_DOWN?r.Dom.isTag(t,"br"):!!t,s);if(!t&&(c||i!==o.KEY_UP&&r.Dom.isText(n)&&0!==l.startOffset)||t&&(c||i!==o.KEY_DOWN&&r.Dom.isText(n)&&n.nodeValue&&l.startOffset!==n.nodeValue.length))return}return s}(t,n);if(!s)return;let u=t.getInstance(l.Table,t.o),d=r.Dom.closest(s,"table",t.editor),h=null,p=n===o.KEY_LEFT||i.shiftKey,f=()=>(0,a.call)(p?r.Dom.prev:r.Dom.next,s,r.Dom.isCell,d);switch(n){case o.KEY_TAB:case o.KEY_LEFT:(h=f())||(u.appendRow(d,!!p&&d.querySelector("tr"),!p),h=f());break;case o.KEY_UP:case o.KEY_DOWN:{let t=u.formalMatrix(d),[i,r]=u.formalCoordinate(d,s);n===o.KEY_UP?void 0!==t[i-1]&&(h=t[i-1][r]):void 0!==t[i+1]&&(h=t[i+1][r])}}if(h){if(t.e.fire("hidePopup hideResizer"),h.firstChild)n===o.KEY_TAB?t.s.select(h,!0):t.s.setCursorIn(h,n===o.KEY_RIGHT||n===o.KEY_DOWN);else{let i=t.createInside.element("br");h.appendChild(i),t.s.setCursorBefore(i)}return t.synchronizeValues(),!1}})})},72573:function(t,i,n){"use strict";function o(t,i,n){return i in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}function r(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}n.d(i,{marked:function(){return eC}});var s,a=r(),l={exec:()=>null};function c(t,i=""){let n="string"==typeof t?t:t.source,o={replace(t,i){let r="string"==typeof i?i:i.source;return r=r.replace(d.caret,"$1"),n=n.replace(t,r),o},getRegex:()=>new RegExp(n,i)};return o}var u=(()=>{try{return!!RegExp("(?<=1)(?<!1)")}catch{return!1}})(),d={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i"),blockquoteBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}>`)},h=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,p=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,f=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,m=c(f).replace(/bull/g,p).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),g=c(f).replace(/bull/g,p).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),b=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,v=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,y=c(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",v).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),w=c(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,p).getRegex(),_="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",C=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,k=c("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",C).replace("tag",_).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),S=c(b).replace("hr",h).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_).getRegex(),x={blockquote:c(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",S).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:y,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:h,html:k,lheading:m,list:w,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:S,table:l,text:/^[^\n]+/},I=c("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",h).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_).getRegex(),E={...x,lheading:g,table:I,paragraph:c(b).replace("hr",h).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",I).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_).getRegex()},T={...x,html:c("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",C).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:l,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:c(b).replace("hr",h).replace("heading",` *#{1,6} *[^
502
+ ]`).replace("lheading",m).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},A=/^( {2,}|\\)\n(?!\s*$)/,j=/[\p{P}\p{S}]/u,L=/[\s\p{P}\p{S}]/u,D=/[^\s\p{P}\p{S}]/u,P=c(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,L).getRegex(),R=/(?!~)[\p{P}\p{S}]/u,M=/(?![*_])[\p{P}\p{S}]/u,z=c(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",u?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),B=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,N=c(B,"u").replace(/punct/g,j).getRegex(),O=c(B,"u").replace(/punct/g,R).getRegex(),F="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",H=c(F,"gu").replace(/notPunctSpace/g,D).replace(/punctSpace/g,L).replace(/punct/g,j).getRegex(),U=c(F,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,R).getRegex(),q=c("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,D).replace(/punctSpace/g,L).replace(/punct/g,j).getRegex(),V=c(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,M).getRegex(),W=c("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|[*_])/u).replace(/punctSpace/g,/(?![*_])[\s\p{P}\p{S}]/u).replace(/punct/g,M).getRegex(),$=c(/\\(punct)/,"gu").replace(/punct/g,j).getRegex(),G=c(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),K=c(C).replace("(?:--\x3e|$)","--\x3e").getRegex(),Y=c("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",K).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),J=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,X=c(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",J).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Z=c(/^!?\[(label)\]\[(ref)\]/).replace("label",J).replace("ref",v).getRegex(),Q=c(/^!?\[(ref)\](?:\[\])?/).replace("ref",v).getRegex(),ee=c("reflink|nolink(?!\\()","g").replace("reflink",Z).replace("nolink",Q).getRegex(),et=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,ei={_backpedal:l,anyPunctuation:$,autolink:G,blockSkip:z,br:A,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:l,delLDelim:l,delRDelim:l,emStrongLDelim:N,emStrongRDelimAst:H,emStrongRDelimUnd:q,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:X,nolink:Q,punctuation:P,reflink:Z,reflinkSearch:ee,tag:Y,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:l},en={...ei,link:c(/^!?\[(label)\]\((.*?)\)/).replace("label",J).getRegex(),reflink:c(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",J).getRegex()},eo={...ei,emStrongRDelimAst:U,emStrongLDelim:O,delLDelim:V,delRDelim:W,url:c(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",et).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:c(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",et).getRegex()},er={...eo,br:c(A).replace("{2,}","*").getRegex(),text:c(eo.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},es={normal:x,gfm:E,pedantic:T},ea={normal:ei,gfm:eo,breaks:er,pedantic:en},el={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},ec=t=>el[t];function eu(t,i){if(i){if(d.escapeTest.test(t))return t.replace(d.escapeReplace,ec)}else if(d.escapeTestNoEncode.test(t))return t.replace(d.escapeReplaceNoEncode,ec);return t}function ed(t){try{t=encodeURI(t).replace(d.percentDecode,"%")}catch{return null}return t}function eh(t,i){let n=t.replace(d.findPipe,(t,i,n)=>{let o=!1,r=i;for(;--r>=0&&"\\"===n[r];)o=!o;return o?"|":" |"}).split(d.splitPipe),o=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),i)if(n.length>i)n.splice(i);else for(;n.length<i;)n.push("");for(;o<n.length;o++)n[o]=n[o].trim().replace(d.slashPipe,"|");return n}function ep(t,i,n){let o=t.length;if(0===o)return"";let r=0;for(;r<o;){let s=t.charAt(o-r-1);if(s!==i||n)if(s!==i&&n)r++;else break;else r++}return t.slice(0,o-r)}function ef(t,i,n,o,r){let s=i.href,a=i.title||null,l=t[1].replace(r.other.outputLinkReplace,"$1");o.state.inLink=!0;let c={type:"!"===t[0].charAt(0)?"image":"link",raw:n,href:s,title:a,text:l,tokens:o.inlineTokens(l)};return o.state.inLink=!1,c}var em=class{space(t){let i=this.rules.block.newline.exec(t);if(i&&i[0].length>0)return{type:"space",raw:i[0]}}code(t){let i=this.rules.block.code.exec(t);if(i){let t=i[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:i[0],codeBlockStyle:"indented",text:this.options.pedantic?t:ep(t,`
503
503
  `)}}}fences(t){let i=this.rules.block.fences.exec(t);if(i){let t=i[0],n=function(t,i,n){let o=t.match(n.other.indentCodeCompensation);if(null===o)return i;let r=o[1];return i.split(`
504
504
  `).map(t=>{let i=t.match(n.other.beginningSpace);if(null===i)return t;let[o]=i;return o.length>=r.length?t.slice(r.length):t}).join(`
505
- `)}(t,i[3]||"",this.rules);return{type:"code",raw:t,lang:i[2]?i[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):i[2],text:n}}}heading(t){let i=this.rules.block.heading.exec(t);if(i){let t=i[2].trim();if(this.rules.other.endingHash.test(t)){let i=eu(t,"#");(this.options.pedantic||!i||this.rules.other.endingSpaceChar.test(i))&&(t=i.trim())}return{type:"heading",raw:i[0],depth:i[1].length,text:t,tokens:this.lexer.inline(t)}}}hr(t){let i=this.rules.block.hr.exec(t);if(i)return{type:"hr",raw:eu(i[0],`
506
- `)}}blockquote(t){let i=this.rules.block.blockquote.exec(t);if(i){let t=eu(i[0],`
505
+ `)}(t,i[3]||"",this.rules);return{type:"code",raw:t,lang:i[2]?i[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):i[2],text:n}}}heading(t){let i=this.rules.block.heading.exec(t);if(i){let t=i[2].trim();if(this.rules.other.endingHash.test(t)){let i=ep(t,"#");(this.options.pedantic||!i||this.rules.other.endingSpaceChar.test(i))&&(t=i.trim())}return{type:"heading",raw:i[0],depth:i[1].length,text:t,tokens:this.lexer.inline(t)}}}hr(t){let i=this.rules.block.hr.exec(t);if(i)return{type:"hr",raw:ep(i[0],`
506
+ `)}}blockquote(t){let i=this.rules.block.blockquote.exec(t);if(i){let t=ep(i[0],`
507
507
  `).split(`
508
508
  `),n="",o="",r=[];for(;t.length>0;){let i=!1,s=[],a;for(a=0;a<t.length;a++)if(this.rules.other.blockquoteStart.test(t[a]))s.push(t[a]),i=!0;else if(i)break;else s.push(t[a]);t=t.slice(a);let l=s.join(`
509
509
  `),c=l.replace(this.rules.other.blockquoteSetextReplace,`
@@ -514,16 +514,16 @@ ${c}`:c;let u=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTo
514
514
  `),s=this.blockquote(i);r[r.length-1]=s,n=n.substring(0,n.length-d.raw.length)+s.raw,o=o.substring(0,o.length-d.text.length)+s.text;break}if(d?.type==="list"){let i=d.raw+`
515
515
  `+t.join(`
516
516
  `),s=this.list(i);r[r.length-1]=s,n=n.substring(0,n.length-d.raw.length)+s.raw,o=o.substring(0,o.length-d.raw.length)+s.raw,t=i.substring(r.at(-1).raw.length).split(`
517
- `);continue}}return{type:"blockquote",raw:n,tokens:r,text:o}}}list(t){let i=this.rules.block.list.exec(t);if(i){let n=i[1].trim(),o=n.length>1,r={type:"list",raw:"",ordered:o,start:o?+n.slice(0,-1):"",loose:!1,items:[]};n=o?"\\d{1,9}\\"+n.slice(-1):"\\"+n,this.options.pedantic&&(n=o?n:"[*+-]");let s=this.rules.other.listItemRegex(n),a=!1;for(;t;){let n=!1,o="",l="";if(!(i=s.exec(t))||this.rules.block.hr.test(t))break;o=i[0],t=t.substring(o.length);let c=i[2].split(`
518
- `,1)[0].replace(this.rules.other.listReplaceTabs,t=>" ".repeat(3*t.length)),u=t.split(`
519
- `,1)[0],d=!c.trim(),h=0;if(this.options.pedantic?(h=2,l=c.trimStart()):d?h=i[1].length+1:(h=(h=i[2].search(this.rules.other.nonSpaceChar))>4?1:h,l=c.slice(h),h+=i[1].length),d&&this.rules.other.blankLine.test(u)&&(o+=u+`
520
- `,t=t.substring(u.length+1),n=!0),!n){let i=this.rules.other.nextBulletRegex(h),n=this.rules.other.hrRegex(h),r=this.rules.other.fencesBeginRegex(h),s=this.rules.other.headingBeginRegex(h),a=this.rules.other.htmlBeginRegex(h);for(;t;){let p=t.split(`
521
- `,1)[0],f;if(u=p,f=this.options.pedantic?u=u.replace(this.rules.other.listReplaceNesting," "):u.replace(this.rules.other.tabCharGlobal," "),r.test(u)||s.test(u)||a.test(u)||i.test(u)||n.test(u))break;if(f.search(this.rules.other.nonSpaceChar)>=h||!u.trim())l+=`
522
- `+f.slice(h);else{if(d||c.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||r.test(c)||s.test(c)||n.test(c))break;l+=`
523
- `+u}d||u.trim()||(d=!0),o+=p+`
524
- `,t=t.substring(p.length+1),c=f.slice(h)}}r.loose||(a?r.loose=!0:this.rules.other.doubleBlankLine.test(o)&&(a=!0)),r.items.push({type:"list_item",raw:o,task:!!this.options.gfm&&this.rules.other.listIsTask.test(l),loose:!1,text:l,tokens:[]}),r.raw+=o}let l=r.items.at(-1);if(!l)return;for(let t of(l.raw=l.raw.trimEnd(),l.text=l.text.trimEnd(),r.raw=r.raw.trimEnd(),r.items)){if(this.lexer.state.top=!1,t.tokens=this.lexer.blockTokens(t.text,[]),t.task){if(t.text=t.text.replace(this.rules.other.listReplaceTask,""),t.tokens[0]?.type==="text"||t.tokens[0]?.type==="paragraph"){t.tokens[0].raw=t.tokens[0].raw.replace(this.rules.other.listReplaceTask,""),t.tokens[0].text=t.tokens[0].text.replace(this.rules.other.listReplaceTask,"");for(let t=this.lexer.inlineQueue.length-1;t>=0;t--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[t].src)){this.lexer.inlineQueue[t].src=this.lexer.inlineQueue[t].src.replace(this.rules.other.listReplaceTask,"");break}}let i=this.rules.other.listTaskCheckbox.exec(t.raw);if(i){let n={type:"checkbox",raw:i[0]+" ",checked:"[ ]"!==i[0]};t.checked=n.checked,r.loose?t.tokens[0]&&["paragraph","text"].includes(t.tokens[0].type)&&"tokens"in t.tokens[0]&&t.tokens[0].tokens?(t.tokens[0].raw=n.raw+t.tokens[0].raw,t.tokens[0].text=n.raw+t.tokens[0].text,t.tokens[0].tokens.unshift(n)):t.tokens.unshift({type:"paragraph",raw:n.raw,text:n.raw,tokens:[n]}):t.tokens.unshift(n)}}if(!r.loose){let i=t.tokens.filter(t=>"space"===t.type);r.loose=i.length>0&&i.some(t=>this.rules.other.anyLine.test(t.raw))}}if(r.loose)for(let t of r.items)for(let i of(t.loose=!0,t.tokens))"text"===i.type&&(i.type="paragraph");return r}}html(t){let i=this.rules.block.html.exec(t);if(i)return{type:"html",block:!0,raw:i[0],pre:"pre"===i[1]||"script"===i[1]||"style"===i[1],text:i[0]}}def(t){let i=this.rules.block.def.exec(t);if(i){let t=i[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),n=i[2]?i[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",o=i[3]?i[3].substring(1,i[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):i[3];return{type:"def",tag:t,raw:i[0],href:n,title:o}}}table(t){let i=this.rules.block.table.exec(t);if(!i||!this.rules.other.tableDelimiter.test(i[2]))return;let n=ec(i[1]),o=i[2].replace(this.rules.other.tableAlignChars,"").split("|"),r=i[3]?.trim()?i[3].replace(this.rules.other.tableRowBlankLine,"").split(`
525
- `):[],s={type:"table",raw:i[0],header:[],align:[],rows:[]};if(n.length===o.length){for(let t of o)this.rules.other.tableAlignRight.test(t)?s.align.push("right"):this.rules.other.tableAlignCenter.test(t)?s.align.push("center"):this.rules.other.tableAlignLeft.test(t)?s.align.push("left"):s.align.push(null);for(let t=0;t<n.length;t++)s.header.push({text:n[t],tokens:this.lexer.inline(n[t]),header:!0,align:s.align[t]});for(let t of r)s.rows.push(ec(t,s.header.length).map((t,i)=>({text:t,tokens:this.lexer.inline(t),header:!1,align:s.align[i]})));return s}}lheading(t){let i=this.rules.block.lheading.exec(t);if(i)return{type:"heading",raw:i[0],depth:"="===i[2].charAt(0)?1:2,text:i[1],tokens:this.lexer.inline(i[1])}}paragraph(t){let i=this.rules.block.paragraph.exec(t);if(i){let t=i[1].charAt(i[1].length-1)===`
526
- `?i[1].slice(0,-1):i[1];return{type:"paragraph",raw:i[0],text:t,tokens:this.lexer.inline(t)}}}text(t){let i=this.rules.block.text.exec(t);if(i)return{type:"text",raw:i[0],text:i[0],tokens:this.lexer.inline(i[0])}}escape(t){let i=this.rules.inline.escape.exec(t);if(i)return{type:"escape",raw:i[0],text:i[1]}}tag(t){let i=this.rules.inline.tag.exec(t);if(i)return!this.lexer.state.inLink&&this.rules.other.startATag.test(i[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(i[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(i[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(i[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:i[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:i[0]}}link(t){let i=this.rules.inline.link.exec(t);if(i){let t=i[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(t)){if(!this.rules.other.endAngleBracket.test(t))return;let i=eu(t.slice(0,-1),"\\");if((t.length-i.length)%2==0)return}else{let t=function(t){if(-1===t.indexOf(")"))return -1;let i=0;for(let n=0;n<t.length;n++)if("\\"===t[n])n++;else if("("===t[n])i++;else if(")"===t[n]&&--i<0)return n;return i>0?-2:-1}(i[2]);if(-2===t)return;if(t>-1){let n=(0===i[0].indexOf("!")?5:4)+i[1].length+t;i[2]=i[2].substring(0,t),i[0]=i[0].substring(0,n).trim(),i[3]=""}}let n=i[2],o="";if(this.options.pedantic){let t=this.rules.other.pedanticHrefTitle.exec(n);t&&(n=t[1],o=t[3])}else o=i[3]?i[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(n=this.options.pedantic&&!this.rules.other.endAngleBracket.test(t)?n.slice(1):n.slice(1,-1)),ed(i,{href:n&&n.replace(this.rules.inline.anyPunctuation,"$1"),title:o&&o.replace(this.rules.inline.anyPunctuation,"$1")},i[0],this.lexer,this.rules)}}reflink(t,i){let n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){let t=i[(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!t){let t=n[0].charAt(0);return{type:"text",raw:t,text:t}}return ed(n,t,n[0],this.lexer,this.rules)}}emStrong(t,i,n=""){let o=this.rules.inline.emStrongLDelim.exec(t);if(!(!o||o[3]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(o[1]||o[2])||!n||this.rules.inline.punctuation.exec(n))){let n=[...o[0]].length-1,r,s,a=n,l=0,c="*"===o[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(c.lastIndex=0,i=i.slice(-1*t.length+n);null!=(o=c.exec(i));){if(!(r=o[1]||o[2]||o[3]||o[4]||o[5]||o[6]))continue;if(s=[...r].length,o[3]||o[4]){a+=s;continue}if((o[5]||o[6])&&n%3&&!((n+s)%3)){l+=s;continue}if((a-=s)>0)continue;s=Math.min(s,s+a+l);let i=[...o[0]][0].length,c=t.slice(0,n+o.index+i+s);if(Math.min(n,s)%2){let t=c.slice(1,-1);return{type:"em",raw:c,text:t,tokens:this.lexer.inlineTokens(t)}}let u=c.slice(2,-2);return{type:"strong",raw:c,text:u,tokens:this.lexer.inlineTokens(u)}}}}codespan(t){let i=this.rules.inline.code.exec(t);if(i){let t=i[2].replace(this.rules.other.newLineCharGlobal," "),n=this.rules.other.nonSpaceChar.test(t),o=this.rules.other.startingSpaceChar.test(t)&&this.rules.other.endingSpaceChar.test(t);return n&&o&&(t=t.substring(1,t.length-1)),{type:"codespan",raw:i[0],text:t}}}br(t){let i=this.rules.inline.br.exec(t);if(i)return{type:"br",raw:i[0]}}del(t){let i=this.rules.inline.del.exec(t);if(i)return{type:"del",raw:i[0],text:i[2],tokens:this.lexer.inlineTokens(i[2])}}autolink(t){let i=this.rules.inline.autolink.exec(t);if(i){let t,n;return n="@"===i[2]?"mailto:"+(t=i[1]):t=i[1],{type:"link",raw:i[0],text:t,href:n,tokens:[{type:"text",raw:t,text:t}]}}}url(t){let i;if(i=this.rules.inline.url.exec(t)){let t,n;if("@"===i[2])n="mailto:"+(t=i[0]);else{let o;do o=i[0],i[0]=this.rules.inline._backpedal.exec(i[0])?.[0]??"";while(o!==i[0])t=i[0],n="www."===i[1]?"http://"+i[0]:i[0]}return{type:"link",raw:i[0],text:t,href:n,tokens:[{type:"text",raw:t,text:t}]}}}inlineText(t){let i=this.rules.inline.text.exec(t);if(i){let t=this.lexer.state.inRawBlock;return{type:"text",raw:i[0],text:i[0],escaped:t}}}constructor(t){o(this,"options",void 0),o(this,"rules",void 0),o(this,"lexer",void 0),this.options=t||a}},ep=class t{static get rules(){return{block:en,inline:eo}}static lex(i,n){return new t(n).lex(i)}static lexInline(i,n){return new t(n).inlineTokens(i)}lex(t){t=t.replace(d.carriageReturn,`
517
+ `);continue}}return{type:"blockquote",raw:n,tokens:r,text:o}}}list(t){let i=this.rules.block.list.exec(t);if(i){let n=i[1].trim(),o=n.length>1,r={type:"list",raw:"",ordered:o,start:o?+n.slice(0,-1):"",loose:!1,items:[]};n=o?"\\d{1,9}\\"+n.slice(-1):"\\"+n,this.options.pedantic&&(n=o?n:"[*+-]");let s=this.rules.other.listItemRegex(n),a=!1;for(;t;){let n=!1,o="",l="";if(!(i=s.exec(t))||this.rules.block.hr.test(t))break;o=i[0],t=t.substring(o.length);let c=function(t,i=0){let n=i,o="";for(let i of t)if(" "===i){let t=4-n%4;o+=" ".repeat(t),n+=t}else o+=i,n++;return o}(i[2].split(`
518
+ `,1)[0],i[1].length),u=t.split(`
519
+ `,1)[0],d=!c.trim(),h=0;if(this.options.pedantic?(h=2,l=c.trimStart()):d?h=i[1].length+1:(h=(h=c.search(this.rules.other.nonSpaceChar))>4?1:h,l=c.slice(h),h+=i[1].length),d&&this.rules.other.blankLine.test(u)&&(o+=u+`
520
+ `,t=t.substring(u.length+1),n=!0),!n){let i=this.rules.other.nextBulletRegex(h),n=this.rules.other.hrRegex(h),r=this.rules.other.fencesBeginRegex(h),s=this.rules.other.headingBeginRegex(h),a=this.rules.other.htmlBeginRegex(h),p=this.rules.other.blockquoteBeginRegex(h);for(;t;){let f=t.split(`
521
+ `,1)[0],m;if(u=f,m=this.options.pedantic?u=u.replace(this.rules.other.listReplaceNesting," "):u.replace(this.rules.other.tabCharGlobal," "),r.test(u)||s.test(u)||a.test(u)||p.test(u)||i.test(u)||n.test(u))break;if(m.search(this.rules.other.nonSpaceChar)>=h||!u.trim())l+=`
522
+ `+m.slice(h);else{if(d||c.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||r.test(c)||s.test(c)||n.test(c))break;l+=`
523
+ `+u}d=!u.trim(),o+=f+`
524
+ `,t=t.substring(f.length+1),c=m.slice(h)}}r.loose||(a?r.loose=!0:this.rules.other.doubleBlankLine.test(o)&&(a=!0)),r.items.push({type:"list_item",raw:o,task:!!this.options.gfm&&this.rules.other.listIsTask.test(l),loose:!1,text:l,tokens:[]}),r.raw+=o}let l=r.items.at(-1);if(!l)return;for(let t of(l.raw=l.raw.trimEnd(),l.text=l.text.trimEnd(),r.raw=r.raw.trimEnd(),r.items)){if(this.lexer.state.top=!1,t.tokens=this.lexer.blockTokens(t.text,[]),t.task){if(t.text=t.text.replace(this.rules.other.listReplaceTask,""),t.tokens[0]?.type==="text"||t.tokens[0]?.type==="paragraph"){t.tokens[0].raw=t.tokens[0].raw.replace(this.rules.other.listReplaceTask,""),t.tokens[0].text=t.tokens[0].text.replace(this.rules.other.listReplaceTask,"");for(let t=this.lexer.inlineQueue.length-1;t>=0;t--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[t].src)){this.lexer.inlineQueue[t].src=this.lexer.inlineQueue[t].src.replace(this.rules.other.listReplaceTask,"");break}}let i=this.rules.other.listTaskCheckbox.exec(t.raw);if(i){let n={type:"checkbox",raw:i[0]+" ",checked:"[ ]"!==i[0]};t.checked=n.checked,r.loose?t.tokens[0]&&["paragraph","text"].includes(t.tokens[0].type)&&"tokens"in t.tokens[0]&&t.tokens[0].tokens?(t.tokens[0].raw=n.raw+t.tokens[0].raw,t.tokens[0].text=n.raw+t.tokens[0].text,t.tokens[0].tokens.unshift(n)):t.tokens.unshift({type:"paragraph",raw:n.raw,text:n.raw,tokens:[n]}):t.tokens.unshift(n)}}if(!r.loose){let i=t.tokens.filter(t=>"space"===t.type);r.loose=i.length>0&&i.some(t=>this.rules.other.anyLine.test(t.raw))}}if(r.loose)for(let t of r.items)for(let i of(t.loose=!0,t.tokens))"text"===i.type&&(i.type="paragraph");return r}}html(t){let i=this.rules.block.html.exec(t);if(i)return{type:"html",block:!0,raw:i[0],pre:"pre"===i[1]||"script"===i[1]||"style"===i[1],text:i[0]}}def(t){let i=this.rules.block.def.exec(t);if(i){let t=i[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),n=i[2]?i[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",o=i[3]?i[3].substring(1,i[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):i[3];return{type:"def",tag:t,raw:i[0],href:n,title:o}}}table(t){let i=this.rules.block.table.exec(t);if(!i||!this.rules.other.tableDelimiter.test(i[2]))return;let n=eh(i[1]),o=i[2].replace(this.rules.other.tableAlignChars,"").split("|"),r=i[3]?.trim()?i[3].replace(this.rules.other.tableRowBlankLine,"").split(`
525
+ `):[],s={type:"table",raw:i[0],header:[],align:[],rows:[]};if(n.length===o.length){for(let t of o)this.rules.other.tableAlignRight.test(t)?s.align.push("right"):this.rules.other.tableAlignCenter.test(t)?s.align.push("center"):this.rules.other.tableAlignLeft.test(t)?s.align.push("left"):s.align.push(null);for(let t=0;t<n.length;t++)s.header.push({text:n[t],tokens:this.lexer.inline(n[t]),header:!0,align:s.align[t]});for(let t of r)s.rows.push(eh(t,s.header.length).map((t,i)=>({text:t,tokens:this.lexer.inline(t),header:!1,align:s.align[i]})));return s}}lheading(t){let i=this.rules.block.lheading.exec(t);if(i)return{type:"heading",raw:i[0],depth:"="===i[2].charAt(0)?1:2,text:i[1],tokens:this.lexer.inline(i[1])}}paragraph(t){let i=this.rules.block.paragraph.exec(t);if(i){let t=i[1].charAt(i[1].length-1)===`
526
+ `?i[1].slice(0,-1):i[1];return{type:"paragraph",raw:i[0],text:t,tokens:this.lexer.inline(t)}}}text(t){let i=this.rules.block.text.exec(t);if(i)return{type:"text",raw:i[0],text:i[0],tokens:this.lexer.inline(i[0])}}escape(t){let i=this.rules.inline.escape.exec(t);if(i)return{type:"escape",raw:i[0],text:i[1]}}tag(t){let i=this.rules.inline.tag.exec(t);if(i)return!this.lexer.state.inLink&&this.rules.other.startATag.test(i[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(i[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(i[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(i[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:i[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:i[0]}}link(t){let i=this.rules.inline.link.exec(t);if(i){let t=i[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(t)){if(!this.rules.other.endAngleBracket.test(t))return;let i=ep(t.slice(0,-1),"\\");if((t.length-i.length)%2==0)return}else{let t=function(t){if(-1===t.indexOf(")"))return -1;let i=0;for(let n=0;n<t.length;n++)if("\\"===t[n])n++;else if("("===t[n])i++;else if(")"===t[n]&&--i<0)return n;return i>0?-2:-1}(i[2]);if(-2===t)return;if(t>-1){let n=(0===i[0].indexOf("!")?5:4)+i[1].length+t;i[2]=i[2].substring(0,t),i[0]=i[0].substring(0,n).trim(),i[3]=""}}let n=i[2],o="";if(this.options.pedantic){let t=this.rules.other.pedanticHrefTitle.exec(n);t&&(n=t[1],o=t[3])}else o=i[3]?i[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(n=this.options.pedantic&&!this.rules.other.endAngleBracket.test(t)?n.slice(1):n.slice(1,-1)),ef(i,{href:n&&n.replace(this.rules.inline.anyPunctuation,"$1"),title:o&&o.replace(this.rules.inline.anyPunctuation,"$1")},i[0],this.lexer,this.rules)}}reflink(t,i){let n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){let t=i[(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!t){let t=n[0].charAt(0);return{type:"text",raw:t,text:t}}return ef(n,t,n[0],this.lexer,this.rules)}}emStrong(t,i,n=""){let o=this.rules.inline.emStrongLDelim.exec(t);if(!(!o||o[3]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(o[1]||o[2])||!n||this.rules.inline.punctuation.exec(n))){let n=[...o[0]].length-1,r,s,a=n,l=0,c="*"===o[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(c.lastIndex=0,i=i.slice(-1*t.length+n);null!=(o=c.exec(i));){if(!(r=o[1]||o[2]||o[3]||o[4]||o[5]||o[6]))continue;if(s=[...r].length,o[3]||o[4]){a+=s;continue}if((o[5]||o[6])&&n%3&&!((n+s)%3)){l+=s;continue}if((a-=s)>0)continue;s=Math.min(s,s+a+l);let i=[...o[0]][0].length,c=t.slice(0,n+o.index+i+s);if(Math.min(n,s)%2){let t=c.slice(1,-1);return{type:"em",raw:c,text:t,tokens:this.lexer.inlineTokens(t)}}let u=c.slice(2,-2);return{type:"strong",raw:c,text:u,tokens:this.lexer.inlineTokens(u)}}}}codespan(t){let i=this.rules.inline.code.exec(t);if(i){let t=i[2].replace(this.rules.other.newLineCharGlobal," "),n=this.rules.other.nonSpaceChar.test(t),o=this.rules.other.startingSpaceChar.test(t)&&this.rules.other.endingSpaceChar.test(t);return n&&o&&(t=t.substring(1,t.length-1)),{type:"codespan",raw:i[0],text:t}}}br(t){let i=this.rules.inline.br.exec(t);if(i)return{type:"br",raw:i[0]}}del(t,i,n=""){let o=this.rules.inline.delLDelim.exec(t);if(o&&(!o[1]||!n||this.rules.inline.punctuation.exec(n))){let n=[...o[0]].length-1,r,s,a=n,l=this.rules.inline.delRDelim;for(l.lastIndex=0,i=i.slice(-1*t.length+n);null!=(o=l.exec(i));){if(!(r=o[1]||o[2]||o[3]||o[4]||o[5]||o[6])||(s=[...r].length)!==n)continue;if(o[3]||o[4]){a+=s;continue}if((a-=s)>0)continue;s=Math.min(s,s+a);let i=[...o[0]][0].length,l=t.slice(0,n+o.index+i+s),c=l.slice(n,-n);return{type:"del",raw:l,text:c,tokens:this.lexer.inlineTokens(c)}}}}autolink(t){let i=this.rules.inline.autolink.exec(t);if(i){let t,n;return n="@"===i[2]?"mailto:"+(t=i[1]):t=i[1],{type:"link",raw:i[0],text:t,href:n,tokens:[{type:"text",raw:t,text:t}]}}}url(t){let i;if(i=this.rules.inline.url.exec(t)){let t,n;if("@"===i[2])n="mailto:"+(t=i[0]);else{let o;do o=i[0],i[0]=this.rules.inline._backpedal.exec(i[0])?.[0]??"";while(o!==i[0])t=i[0],n="www."===i[1]?"http://"+i[0]:i[0]}return{type:"link",raw:i[0],text:t,href:n,tokens:[{type:"text",raw:t,text:t}]}}}inlineText(t){let i=this.rules.inline.text.exec(t);if(i){let t=this.lexer.state.inRawBlock;return{type:"text",raw:i[0],text:i[0],escaped:t}}}constructor(t){o(this,"options",void 0),o(this,"rules",void 0),o(this,"lexer",void 0),this.options=t||a}},eg=class t{static get rules(){return{block:es,inline:ea}}static lex(i,n){return new t(n).lex(i)}static lexInline(i,n){return new t(n).inlineTokens(i)}lex(t){t=t.replace(d.carriageReturn,`
527
527
  `),this.blockTokens(t,this.tokens);for(let t=0;t<this.inlineQueue.length;t++){let i=this.inlineQueue[t];this.inlineTokens(i.src,i.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,i=[],n=!1){for(this.options.pedantic&&(t=t.replace(d.tabCharGlobal," ").replace(d.spaceLine,""));t;){let o;if(this.options.extensions?.block?.some(n=>!!(o=n.call({lexer:this},t,i))&&(t=t.substring(o.raw.length),i.push(o),!0)))continue;if(o=this.tokenizer.space(t)){t=t.substring(o.raw.length);let n=i.at(-1);1===o.raw.length&&void 0!==n?n.raw+=`
528
528
  `:i.push(o);continue}if(o=this.tokenizer.code(t)){t=t.substring(o.raw.length);let n=i.at(-1);n?.type==="paragraph"||n?.type==="text"?(n.raw+=(n.raw.endsWith(`
529
529
  `)?"":`
@@ -537,9 +537,9 @@ ${c}`:c;let u=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTo
537
537
  `+o.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):i.push(o),n=r.length!==t.length,t=t.substring(o.raw.length);continue}if(o=this.tokenizer.text(t)){t=t.substring(o.raw.length);let n=i.at(-1);n?.type==="text"?(n.raw+=(n.raw.endsWith(`
538
538
  `)?"":`
539
539
  `)+o.raw,n.text+=`
540
- `+o.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):i.push(o);continue}if(t){let i="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent)break;throw Error(i)}}return this.state.top=!0,i}inline(t,i=[]){return this.inlineQueue.push({src:t,tokens:i}),i}inlineTokens(t,i=[]){let n,o=t,r=null;if(this.tokens.links){let t=Object.keys(this.tokens.links);if(t.length>0)for(;null!=(r=this.tokenizer.rules.inline.reflinkSearch.exec(o));)t.includes(r[0].slice(r[0].lastIndexOf("[")+1,-1))&&(o=o.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(r=this.tokenizer.rules.inline.anyPunctuation.exec(o));)o=o.slice(0,r.index)+"++"+o.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!=(r=this.tokenizer.rules.inline.blockSkip.exec(o));)n=r[2]?r[2].length:0,o=o.slice(0,r.index+n)+"["+"a".repeat(r[0].length-n-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);o=this.options.hooks?.emStrongMask?.call({lexer:this},o)??o;let s=!1,a="";for(;t;){let n;if(s||(a=""),s=!1,this.options.extensions?.inline?.some(o=>!!(n=o.call({lexer:this},t,i))&&(t=t.substring(n.raw.length),i.push(n),!0)))continue;if((n=this.tokenizer.escape(t))||(n=this.tokenizer.tag(t))||(n=this.tokenizer.link(t))){t=t.substring(n.raw.length),i.push(n);continue}if(n=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(n.raw.length);let o=i.at(-1);"text"===n.type&&o?.type==="text"?(o.raw+=n.raw,o.text+=n.text):i.push(n);continue}if((n=this.tokenizer.emStrong(t,o,a))||(n=this.tokenizer.codespan(t))||(n=this.tokenizer.br(t))||(n=this.tokenizer.del(t))||(n=this.tokenizer.autolink(t))||!this.state.inLink&&(n=this.tokenizer.url(t))){t=t.substring(n.raw.length),i.push(n);continue}let r=t;if(this.options.extensions?.startInline){let i=1/0,n=t.slice(1),o;this.options.extensions.startInline.forEach(t=>{"number"==typeof(o=t.call({lexer:this},n))&&o>=0&&(i=Math.min(i,o))}),i<1/0&&i>=0&&(r=t.substring(0,i+1))}if(n=this.tokenizer.inlineText(r)){t=t.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(a=n.raw.slice(-1)),s=!0;let o=i.at(-1);o?.type==="text"?(o.raw+=n.raw,o.text+=n.text):i.push(n);continue}if(t){let i="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent)break;throw Error(i)}}return i}constructor(t){o(this,"tokens",void 0),o(this,"options",void 0),o(this,"state",void 0),o(this,"inlineQueue",void 0),o(this,"tokenizer",void 0),this.tokens=[],this.tokens.links=Object.create(null),this.options=t||a,this.options.tokenizer=this.options.tokenizer||new eh,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let i={other:d,block:en.normal,inline:eo.normal};this.options.pedantic?(i.block=en.pedantic,i.inline=eo.pedantic):this.options.gfm&&(i.block=en.gfm,this.options.breaks?i.inline=eo.breaks:i.inline=eo.gfm),this.tokenizer.rules=i}},ef=class{space(t){return""}code({text:t,lang:i,escaped:n}){let o=(i||"").match(d.notSpaceStart)?.[0],r=t.replace(d.endingNewline,"")+`
541
- `;return o?'<pre><code class="language-'+ea(o)+'">'+(n?r:ea(r,!0))+`</code></pre>
542
- `:"<pre><code>"+(n?r:ea(r,!0))+`</code></pre>
540
+ `+o.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):i.push(o);continue}if(t){let i="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent)break;throw Error(i)}}return this.state.top=!0,i}inline(t,i=[]){return this.inlineQueue.push({src:t,tokens:i}),i}inlineTokens(t,i=[]){let n,o=t,r=null;if(this.tokens.links){let t=Object.keys(this.tokens.links);if(t.length>0)for(;null!=(r=this.tokenizer.rules.inline.reflinkSearch.exec(o));)t.includes(r[0].slice(r[0].lastIndexOf("[")+1,-1))&&(o=o.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(r=this.tokenizer.rules.inline.anyPunctuation.exec(o));)o=o.slice(0,r.index)+"++"+o.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!=(r=this.tokenizer.rules.inline.blockSkip.exec(o));)n=r[2]?r[2].length:0,o=o.slice(0,r.index+n)+"["+"a".repeat(r[0].length-n-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);o=this.options.hooks?.emStrongMask?.call({lexer:this},o)??o;let s=!1,a="";for(;t;){let n;if(s||(a=""),s=!1,this.options.extensions?.inline?.some(o=>!!(n=o.call({lexer:this},t,i))&&(t=t.substring(n.raw.length),i.push(n),!0)))continue;if((n=this.tokenizer.escape(t))||(n=this.tokenizer.tag(t))||(n=this.tokenizer.link(t))){t=t.substring(n.raw.length),i.push(n);continue}if(n=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(n.raw.length);let o=i.at(-1);"text"===n.type&&o?.type==="text"?(o.raw+=n.raw,o.text+=n.text):i.push(n);continue}if((n=this.tokenizer.emStrong(t,o,a))||(n=this.tokenizer.codespan(t))||(n=this.tokenizer.br(t))||(n=this.tokenizer.del(t,o,a))||(n=this.tokenizer.autolink(t))||!this.state.inLink&&(n=this.tokenizer.url(t))){t=t.substring(n.raw.length),i.push(n);continue}let r=t;if(this.options.extensions?.startInline){let i=1/0,n=t.slice(1),o;this.options.extensions.startInline.forEach(t=>{"number"==typeof(o=t.call({lexer:this},n))&&o>=0&&(i=Math.min(i,o))}),i<1/0&&i>=0&&(r=t.substring(0,i+1))}if(n=this.tokenizer.inlineText(r)){t=t.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(a=n.raw.slice(-1)),s=!0;let o=i.at(-1);o?.type==="text"?(o.raw+=n.raw,o.text+=n.text):i.push(n);continue}if(t){let i="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent)break;throw Error(i)}}return i}constructor(t){o(this,"tokens",void 0),o(this,"options",void 0),o(this,"state",void 0),o(this,"inlineQueue",void 0),o(this,"tokenizer",void 0),this.tokens=[],this.tokens.links=Object.create(null),this.options=t||a,this.options.tokenizer=this.options.tokenizer||new em,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let i={other:d,block:es.normal,inline:ea.normal};this.options.pedantic?(i.block=es.pedantic,i.inline=ea.pedantic):this.options.gfm&&(i.block=es.gfm,this.options.breaks?i.inline=ea.breaks:i.inline=ea.gfm),this.tokenizer.rules=i}},eb=class{space(t){return""}code({text:t,lang:i,escaped:n}){let o=(i||"").match(d.notSpaceStart)?.[0],r=t.replace(d.endingNewline,"")+`
541
+ `;return o?'<pre><code class="language-'+eu(o)+'">'+(n?r:eu(r,!0))+`</code></pre>
542
+ `:"<pre><code>"+(n?r:eu(r,!0))+`</code></pre>
543
543
  `}blockquote({tokens:t}){return`<blockquote>
544
544
  ${this.parser.parse(t)}</blockquote>
545
545
  `}html({text:t}){return t}def(t){return""}heading({tokens:t,depth:i}){return`<h${i}>${this.parser.parseInline(t)}</h${i}>
@@ -555,8 +555,8 @@ ${this.parser.parse(t)}</blockquote>
555
555
  `}tablerow({text:t}){return`<tr>
556
556
  ${t}</tr>
557
557
  `}tablecell(t){let i=this.parser.parseInline(t.tokens),n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+i+`</${n}>
558
- `}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${ea(t,!0)}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:i,tokens:n}){let o=this.parser.parseInline(n),r=el(t);if(null===r)return o;let s='<a href="'+(t=r)+'"';return i&&(s+=' title="'+ea(i)+'"'),s+=">"+o+"</a>"}image({href:t,title:i,text:n,tokens:o}){o&&(n=this.parser.parseInline(o,this.parser.textRenderer));let r=el(t);if(null===r)return ea(n);t=r;let s=`<img src="${t}" alt="${n}"`;return i&&(s+=` title="${ea(i)}"`),s+=">"}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:ea(t.text)}constructor(t){o(this,"options",void 0),o(this,"parser",void 0),this.options=t||a}},em=class{strong({text:t}){return t}em({text:t}){return t}codespan({text:t}){return t}del({text:t}){return t}html({text:t}){return t}text({text:t}){return t}link({text:t}){return""+t}image({text:t}){return""+t}br(){return""}checkbox({raw:t}){return t}},eg=class t{static parse(i,n){return new t(n).parse(i)}static parseInline(i,n){return new t(n).parseInline(i)}parse(t){let i="";for(let n=0;n<t.length;n++){let o=t[n];if(this.options.extensions?.renderers?.[o.type]){let t=this.options.extensions.renderers[o.type].call({parser:this},o);if(!1!==t||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(o.type)){i+=t||"";continue}}switch(o.type){case"space":i+=this.renderer.space(o);break;case"hr":i+=this.renderer.hr(o);break;case"heading":i+=this.renderer.heading(o);break;case"code":i+=this.renderer.code(o);break;case"table":i+=this.renderer.table(o);break;case"blockquote":i+=this.renderer.blockquote(o);break;case"list":i+=this.renderer.list(o);break;case"checkbox":i+=this.renderer.checkbox(o);break;case"html":i+=this.renderer.html(o);break;case"def":i+=this.renderer.def(o);break;case"paragraph":i+=this.renderer.paragraph(o);break;case"text":i+=this.renderer.text(o);break;default:{let t='Token with "'+o.type+'" type was not found.';if(this.options.silent)return"";throw Error(t)}}}return i}parseInline(t,i=this.renderer){let n="";for(let o=0;o<t.length;o++){let r=t[o];if(this.options.extensions?.renderers?.[r.type]){let t=this.options.extensions.renderers[r.type].call({parser:this},r);if(!1!==t||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(r.type)){n+=t||"";continue}}switch(r.type){case"escape":case"text":n+=i.text(r);break;case"html":n+=i.html(r);break;case"link":n+=i.link(r);break;case"image":n+=i.image(r);break;case"checkbox":n+=i.checkbox(r);break;case"strong":n+=i.strong(r);break;case"em":n+=i.em(r);break;case"codespan":n+=i.codespan(r);break;case"br":n+=i.br(r);break;case"del":n+=i.del(r);break;default:{let t='Token with "'+r.type+'" type was not found.';if(this.options.silent)return"";throw Error(t)}}}return n}constructor(t){o(this,"options",void 0),o(this,"renderer",void 0),o(this,"textRenderer",void 0),this.options=t||a,this.options.renderer=this.options.renderer||new ef,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new em}},eb=(s=class{preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}emStrongMask(t){return t}provideLexer(){return this.block?ep.lex:ep.lexInline}provideParser(){return this.block?eg.parse:eg.parseInline}constructor(t){o(this,"options",void 0),o(this,"block",void 0),this.options=t||a}},o(s,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens","emStrongMask"])),o(s,"passThroughHooksRespectAsync",new Set(["preprocess","postprocess","processAllTokens"])),s),ev=new class{walkTokens(t,i){let n=[];for(let o of t)switch(n=n.concat(i.call(this,o)),o.type){case"table":for(let t of o.header)n=n.concat(this.walkTokens(t.tokens,i));for(let t of o.rows)for(let o of t)n=n.concat(this.walkTokens(o.tokens,i));break;case"list":n=n.concat(this.walkTokens(o.items,i));break;default:{let t=o;this.defaults.extensions?.childTokens?.[t.type]?this.defaults.extensions.childTokens[t.type].forEach(o=>{let r=t[o].flat(1/0);n=n.concat(this.walkTokens(r,i))}):t.tokens&&(n=n.concat(this.walkTokens(t.tokens,i)))}}return n}use(...t){let i=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(t=>{let n={...t};if(n.async=this.defaults.async||n.async||!1,t.extensions&&(t.extensions.forEach(t=>{if(!t.name)throw Error("extension name required");if("renderer"in t){let n=i.renderers[t.name];n?i.renderers[t.name]=function(...i){let o=t.renderer.apply(this,i);return!1===o&&(o=n.apply(this,i)),o}:i.renderers[t.name]=t.renderer}if("tokenizer"in t){if(!t.level||"block"!==t.level&&"inline"!==t.level)throw Error("extension level must be 'block' or 'inline'");let n=i[t.level];n?n.unshift(t.tokenizer):i[t.level]=[t.tokenizer],t.start&&("block"===t.level?i.startBlock?i.startBlock.push(t.start):i.startBlock=[t.start]:"inline"===t.level&&(i.startInline?i.startInline.push(t.start):i.startInline=[t.start]))}"childTokens"in t&&t.childTokens&&(i.childTokens[t.name]=t.childTokens)}),n.extensions=i),t.renderer){let i=this.defaults.renderer||new ef(this.defaults);for(let n in t.renderer){if(!(n in i))throw Error(`renderer '${n}' does not exist`);if(["options","parser"].includes(n))continue;let o=t.renderer[n],r=i[n];i[n]=(...t)=>{let n=o.apply(i,t);return!1===n&&(n=r.apply(i,t)),n||""}}n.renderer=i}if(t.tokenizer){let i=this.defaults.tokenizer||new eh(this.defaults);for(let n in t.tokenizer){if(!(n in i))throw Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;let o=t.tokenizer[n],r=i[n];i[n]=(...t)=>{let n=o.apply(i,t);return!1===n&&(n=r.apply(i,t)),n}}n.tokenizer=i}if(t.hooks){let i=this.defaults.hooks||new eb;for(let n in t.hooks){if(!(n in i))throw Error(`hook '${n}' does not exist`);if(["options","block"].includes(n))continue;let o=t.hooks[n],r=i[n];eb.passThroughHooks.has(n)?i[n]=t=>{if(this.defaults.async&&eb.passThroughHooksRespectAsync.has(n))return(async()=>{let n=await o.call(i,t);return r.call(i,n)})();let s=o.call(i,t);return r.call(i,s)}:i[n]=(...t)=>{if(this.defaults.async)return(async()=>{let n=await o.apply(i,t);return!1===n&&(n=await r.apply(i,t)),n})();let n=o.apply(i,t);return!1===n&&(n=r.apply(i,t)),n}}n.hooks=i}if(t.walkTokens){let i=this.defaults.walkTokens,o=t.walkTokens;n.walkTokens=function(t){let n=[];return n.push(o.call(this,t)),i&&(n=n.concat(i.call(this,t))),n}}this.defaults={...this.defaults,...n}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,i){return ep.lex(t,i??this.defaults)}parser(t,i){return eg.parse(t,i??this.defaults)}parseMarkdown(t){return(i,n)=>{let o={...n},r={...this.defaults,...o},s=this.onError(!!r.silent,!!r.async);if(!0===this.defaults.async&&!1===o.async)return s(Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof i>"u"||null===i)return s(Error("marked(): input parameter is undefined or null"));if("string"!=typeof i)return s(Error("marked(): input parameter is of type "+Object.prototype.toString.call(i)+", string expected"));if(r.hooks&&(r.hooks.options=r,r.hooks.block=t),r.async)return(async()=>{let n=r.hooks?await r.hooks.preprocess(i):i,o=await (r.hooks?await r.hooks.provideLexer():t?ep.lex:ep.lexInline)(n,r),s=r.hooks?await r.hooks.processAllTokens(o):o;r.walkTokens&&await Promise.all(this.walkTokens(s,r.walkTokens));let a=await (r.hooks?await r.hooks.provideParser():t?eg.parse:eg.parseInline)(s,r);return r.hooks?await r.hooks.postprocess(a):a})().catch(s);try{r.hooks&&(i=r.hooks.preprocess(i));let n=(r.hooks?r.hooks.provideLexer():t?ep.lex:ep.lexInline)(i,r);r.hooks&&(n=r.hooks.processAllTokens(n)),r.walkTokens&&this.walkTokens(n,r.walkTokens);let o=(r.hooks?r.hooks.provideParser():t?eg.parse:eg.parseInline)(n,r);return r.hooks&&(o=r.hooks.postprocess(o)),o}catch(t){return s(t)}}}onError(t,i){return n=>{if(n.message+=`
559
- Please report this to https://github.com/markedjs/marked.`,t){let t="<p>An error occurred:</p><pre>"+ea(n.message+"",!0)+"</pre>";return i?Promise.resolve(t):t}if(i)return Promise.reject(n);throw n}}constructor(...t){o(this,"defaults",r()),o(this,"options",this.setOptions),o(this,"parse",this.parseMarkdown(!0)),o(this,"parseInline",this.parseMarkdown(!1)),o(this,"Parser",eg),o(this,"Renderer",ef),o(this,"TextRenderer",em),o(this,"Lexer",ep),o(this,"Tokenizer",eh),o(this,"Hooks",eb),this.use(...t)}};function ey(t,i){return ev.parse(t,i)}ey.options=ey.setOptions=function(t){return ev.setOptions(t),ey.defaults=ev.defaults,a=ey.defaults,ey},ey.getDefaults=r,ey.defaults=a,ey.use=function(...t){return ev.use(...t),ey.defaults=ev.defaults,a=ey.defaults,ey},ey.walkTokens=function(t,i){return ev.walkTokens(t,i)},ey.parseInline=ev.parseInline,ey.Parser=eg,ey.parser=eg.parse,ey.Renderer=ef,ey.TextRenderer=em,ey.Lexer=ep,ey.lexer=ep.lex,ey.Tokenizer=eh,ey.Hooks=eb,ey.parse=ey,ey.options,ey.setOptions,ey.use,ey.walkTokens,ey.parseInline,eg.parse,ep.lex},72621:function(t,i,n){"use strict";n.d(i,{normalizeImageProps:function(){return o}});let o=t=>(t.isElement&&"img"===t.name&&(t.attributes.align&&(t.style.add("float",t.attributes.align),t.attributes.align=null),t.attributes.hspace&&(t.style.add("marginLeft",t.attributes.hspace+"px"),t.style.add("marginRight",t.attributes.hspace+"px"),t.attributes.hspace=null)),t)},72690:function(t,i,n){"use strict";n.d(i,{updateStateAndGme:function(){return r}});var o=n(67912);function r(t,i,n=!1){let s=this.mapElements[i];if(s.state===t||s.state.type!==t.type)return;let a=s.state;if(!n){let i;for(i in t){let n=t[i],r=a[i];if(null!=n&&(null==r||n.toString()!==r.toString()))switch(i){case"strokeWeight":case"strokeColor":case"fillColor":case"fillOpacity":switch(s.type){case"polyline":case"circle":case"polygon":s.gme.setOptions({[i]:n})}break;case"coordinates":switch(s.type){case"polygon":case"polyline":s.gme.setPath((0,o.arrayToPath)(n))}}}}s.state=t,this.state.elements[i]=t}},72757:function(t,i,n){"use strict";n.d(i,{Eventify:function(){return o}});class o{on(t,i){var n;return this.__map.has(t)||this.__map.set(t,new Set),null==(n=this.__map.get(t))||n.add(i),this}off(t,i){var n;return this.__map.has(t)&&(null==(n=this.__map.get(t))||n.delete(i)),this}destruct(){this.__map.clear()}emit(t,...i){var n;let o;return this.__map.has(t)&&(null==(n=this.__map.get(t))||n.forEach(t=>{o=t(...i)})),o}constructor(){this.__map=new Map}}},72913:function(t,i,n){"use strict";n.d(i,{isInt:function(){return s}});var o=n(29807),r=n(70799);function s(t){return(0,r.isString)(t)&&(0,o.isNumeric)(t)&&(t=parseFloat(t)),"number"==typeof t&&Number.isFinite(t)&&!(t%1)}},73026:function(t,i,n){"use strict";n.d(i,{observable:function(){return u}});var o=n(68345),r=n(59292),s=n(72430),a=n(37790);let l=Symbol("observable-object");function c(t){return void 0!==t[l]}function u(t){if(c(t))return t;let i={},n={},u=(i,r)=>((0,o.isArray)(i)?i.map(t=>u(t,r)):(n[i]||(n[i]=[]),n[i].push(r)),t),d=(r,...s)=>{if((0,o.isArray)(r))return void r.map(t=>d(t,...s));try{!i[r]&&n[r]&&(i[r]=!0,n[r].forEach(i=>i.call(t,...s)))}finally{i[r]=!1}},h=(i,n=[])=>{let o={};c(i)||(Object.defineProperty(i,l,{enumerable:!1,value:!0}),Object.keys(i).forEach(l=>{let c=n.concat(l).filter(t=>t.length);o[l]=i[l];let u=(0,a.getPropertyDescriptor)(i,l);Object.defineProperty(i,l,{set(i){let n=o[l];if(!(0,r.isFastEqual)(o[l],i)){d(["beforeChange","beforeChange."+c.join(".")],l,i),(0,s.isPlainObject)(i)&&h(i,c),u&&u.set?u.set.call(t,i):o[l]=i;let r=[];d(["change",...c.reduce((t,i)=>(r.push(i),t.push("change."+r.join(".")),t),[])],c.join("."),n,(null==i?void 0:i.valueOf)?i.valueOf():i)}},get:()=>u&&u.get?u.get.call(t):o[l],enumerable:!0,configurable:!0}),(0,s.isPlainObject)(o[l])&&h(o[l],c)}),Object.defineProperty(t,"on",{value:u}))};return h(t),t}},73035:function(t){t.exports={"Show Blocks":"ショーのブロック"}},73098:function(t,i,n){"use strict";var o=n(82749),r=n(31635);n(20104);var s=n(27834),a=n(33124),l=n(73534),c=n(65478),u=n(23282),d=n(70799),h=n(38837),p=n(96325),f=n(50911),m=n(10830),g=n(2692);class b extends f.Plugin{__getProvider(){let{provider:t}=this.jodit.options.translate;if((0,d.isString)(t))if("google"===t)return new s.GoogleTranslateProvider(this.j);else throw Error("Unknown provider");return(0,h.assert)((0,u.isFunction)(t),"Provider must be a function"),t(this.jodit)}afterInit(t){let i=(0,p.defaultLanguage)(t.o.language,g.JoditPro.defaultOptions.language),n=(0,p.defaultLanguage)(t.o.language,i),o=this.__getProvider();t.registerCommand("translateOptions",{exec:async()=>{let i=this.state,n=t.dlg();n.setHeader("Translate options");let r=await o.supportedLanguages(),s=new a.UITranslateSettings(n,this.state,{sourceList:r.langs,targetList:r.langs,onChange(t){i=t}});n.setContent(s),n.setFooter([(0,m.Button)(t,"cancel","Cancel").onAction(()=>n.close()),(0,m.Button)(t,"ok","Save","primary").onAction(()=>{this.state=i,n.close()})]),s.bindDestruct(n),n.setSize(500,400).open(!0)},hotkeys:t.o.translate.hotkeys.translateOptions}).registerCommand("translate",{exec:()=>{let i=(0,l.getSelectionFragments)(t).filter(t=>t.text.trim().length>0);if(!i.length)return void t.message.error("Select text for translate");let r=this.state.sourceLang&&"auto"!==this.state.sourceLang?this.state.sourceLang:n,s=this.state.targetLang;return Promise.all(i.map(i=>{o.translate(i.text,r,s).then(t=>{i.replace(t.text)}).catch(i=>{t.message.error((0,d.isString)(i)?i:i.message)})})).then(()=>{t.synchronizeValues()})},hotkeys:t.o.translate.hotkeys.translateSelection})}beforeDestruct(t){}constructor(...t){super(...t),(0,o._)(this,"buttons",[{name:"translate.translate",group:"insert"}]),(0,o._)(this,"state",{sourceLang:this.jodit.o.translate.defaultSourceLang||"en",targetLang:this.jodit.o.translate.defaultTargetLang})}}(0,o._)(b,"requires",["license"]),(0,r.__decorate)([c.persistent],b.prototype,"state",void 0),g.JoditPro.plugins.add("translate",b)},73220:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"Controllo ortografico"}},73391:function(t,i,n){"use strict";var o=n(82758),r=n(580),s=n(21537),a=n(12153),l=n(6441),c=n(49399);l.Config.prototype.controls.about={exec(t){let i=t.dlg({closeOnClickOverlay:!0}),n=t.i18n.bind(t);i.setMod("theme",t.o.theme).setHeader(n("About Jodit")).setContent(`<div class="jodit-about">
558
+ `}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${eu(t,!0)}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:i,tokens:n}){let o=this.parser.parseInline(n),r=ed(t);if(null===r)return o;let s='<a href="'+(t=r)+'"';return i&&(s+=' title="'+eu(i)+'"'),s+=">"+o+"</a>"}image({href:t,title:i,text:n,tokens:o}){o&&(n=this.parser.parseInline(o,this.parser.textRenderer));let r=ed(t);if(null===r)return eu(n);t=r;let s=`<img src="${t}" alt="${eu(n)}"`;return i&&(s+=` title="${eu(i)}"`),s+=">"}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:eu(t.text)}constructor(t){o(this,"options",void 0),o(this,"parser",void 0),this.options=t||a}},ev=class{strong({text:t}){return t}em({text:t}){return t}codespan({text:t}){return t}del({text:t}){return t}html({text:t}){return t}text({text:t}){return t}link({text:t}){return""+t}image({text:t}){return""+t}br(){return""}checkbox({raw:t}){return t}},ey=class t{static parse(i,n){return new t(n).parse(i)}static parseInline(i,n){return new t(n).parseInline(i)}parse(t){let i="";for(let n=0;n<t.length;n++){let o=t[n];if(this.options.extensions?.renderers?.[o.type]){let t=this.options.extensions.renderers[o.type].call({parser:this},o);if(!1!==t||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(o.type)){i+=t||"";continue}}switch(o.type){case"space":i+=this.renderer.space(o);break;case"hr":i+=this.renderer.hr(o);break;case"heading":i+=this.renderer.heading(o);break;case"code":i+=this.renderer.code(o);break;case"table":i+=this.renderer.table(o);break;case"blockquote":i+=this.renderer.blockquote(o);break;case"list":i+=this.renderer.list(o);break;case"checkbox":i+=this.renderer.checkbox(o);break;case"html":i+=this.renderer.html(o);break;case"def":i+=this.renderer.def(o);break;case"paragraph":i+=this.renderer.paragraph(o);break;case"text":i+=this.renderer.text(o);break;default:{let t='Token with "'+o.type+'" type was not found.';if(this.options.silent)return"";throw Error(t)}}}return i}parseInline(t,i=this.renderer){let n="";for(let o=0;o<t.length;o++){let r=t[o];if(this.options.extensions?.renderers?.[r.type]){let t=this.options.extensions.renderers[r.type].call({parser:this},r);if(!1!==t||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(r.type)){n+=t||"";continue}}switch(r.type){case"escape":case"text":n+=i.text(r);break;case"html":n+=i.html(r);break;case"link":n+=i.link(r);break;case"image":n+=i.image(r);break;case"checkbox":n+=i.checkbox(r);break;case"strong":n+=i.strong(r);break;case"em":n+=i.em(r);break;case"codespan":n+=i.codespan(r);break;case"br":n+=i.br(r);break;case"del":n+=i.del(r);break;default:{let t='Token with "'+r.type+'" type was not found.';if(this.options.silent)return"";throw Error(t)}}}return n}constructor(t){o(this,"options",void 0),o(this,"renderer",void 0),o(this,"textRenderer",void 0),this.options=t||a,this.options.renderer=this.options.renderer||new eb,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new ev}},ew=(s=class{preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}emStrongMask(t){return t}provideLexer(){return this.block?eg.lex:eg.lexInline}provideParser(){return this.block?ey.parse:ey.parseInline}constructor(t){o(this,"options",void 0),o(this,"block",void 0),this.options=t||a}},o(s,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens","emStrongMask"])),o(s,"passThroughHooksRespectAsync",new Set(["preprocess","postprocess","processAllTokens"])),s),e_=new class{walkTokens(t,i){let n=[];for(let o of t)switch(n=n.concat(i.call(this,o)),o.type){case"table":for(let t of o.header)n=n.concat(this.walkTokens(t.tokens,i));for(let t of o.rows)for(let o of t)n=n.concat(this.walkTokens(o.tokens,i));break;case"list":n=n.concat(this.walkTokens(o.items,i));break;default:{let t=o;this.defaults.extensions?.childTokens?.[t.type]?this.defaults.extensions.childTokens[t.type].forEach(o=>{let r=t[o].flat(1/0);n=n.concat(this.walkTokens(r,i))}):t.tokens&&(n=n.concat(this.walkTokens(t.tokens,i)))}}return n}use(...t){let i=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(t=>{let n={...t};if(n.async=this.defaults.async||n.async||!1,t.extensions&&(t.extensions.forEach(t=>{if(!t.name)throw Error("extension name required");if("renderer"in t){let n=i.renderers[t.name];n?i.renderers[t.name]=function(...i){let o=t.renderer.apply(this,i);return!1===o&&(o=n.apply(this,i)),o}:i.renderers[t.name]=t.renderer}if("tokenizer"in t){if(!t.level||"block"!==t.level&&"inline"!==t.level)throw Error("extension level must be 'block' or 'inline'");let n=i[t.level];n?n.unshift(t.tokenizer):i[t.level]=[t.tokenizer],t.start&&("block"===t.level?i.startBlock?i.startBlock.push(t.start):i.startBlock=[t.start]:"inline"===t.level&&(i.startInline?i.startInline.push(t.start):i.startInline=[t.start]))}"childTokens"in t&&t.childTokens&&(i.childTokens[t.name]=t.childTokens)}),n.extensions=i),t.renderer){let i=this.defaults.renderer||new eb(this.defaults);for(let n in t.renderer){if(!(n in i))throw Error(`renderer '${n}' does not exist`);if(["options","parser"].includes(n))continue;let o=t.renderer[n],r=i[n];i[n]=(...t)=>{let n=o.apply(i,t);return!1===n&&(n=r.apply(i,t)),n||""}}n.renderer=i}if(t.tokenizer){let i=this.defaults.tokenizer||new em(this.defaults);for(let n in t.tokenizer){if(!(n in i))throw Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;let o=t.tokenizer[n],r=i[n];i[n]=(...t)=>{let n=o.apply(i,t);return!1===n&&(n=r.apply(i,t)),n}}n.tokenizer=i}if(t.hooks){let i=this.defaults.hooks||new ew;for(let n in t.hooks){if(!(n in i))throw Error(`hook '${n}' does not exist`);if(["options","block"].includes(n))continue;let o=t.hooks[n],r=i[n];ew.passThroughHooks.has(n)?i[n]=t=>{if(this.defaults.async&&ew.passThroughHooksRespectAsync.has(n))return(async()=>{let n=await o.call(i,t);return r.call(i,n)})();let s=o.call(i,t);return r.call(i,s)}:i[n]=(...t)=>{if(this.defaults.async)return(async()=>{let n=await o.apply(i,t);return!1===n&&(n=await r.apply(i,t)),n})();let n=o.apply(i,t);return!1===n&&(n=r.apply(i,t)),n}}n.hooks=i}if(t.walkTokens){let i=this.defaults.walkTokens,o=t.walkTokens;n.walkTokens=function(t){let n=[];return n.push(o.call(this,t)),i&&(n=n.concat(i.call(this,t))),n}}this.defaults={...this.defaults,...n}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,i){return eg.lex(t,i??this.defaults)}parser(t,i){return ey.parse(t,i??this.defaults)}parseMarkdown(t){return(i,n)=>{let o={...n},r={...this.defaults,...o},s=this.onError(!!r.silent,!!r.async);if(!0===this.defaults.async&&!1===o.async)return s(Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof i>"u"||null===i)return s(Error("marked(): input parameter is undefined or null"));if("string"!=typeof i)return s(Error("marked(): input parameter is of type "+Object.prototype.toString.call(i)+", string expected"));if(r.hooks&&(r.hooks.options=r,r.hooks.block=t),r.async)return(async()=>{let n=r.hooks?await r.hooks.preprocess(i):i,o=await (r.hooks?await r.hooks.provideLexer():t?eg.lex:eg.lexInline)(n,r),s=r.hooks?await r.hooks.processAllTokens(o):o;r.walkTokens&&await Promise.all(this.walkTokens(s,r.walkTokens));let a=await (r.hooks?await r.hooks.provideParser():t?ey.parse:ey.parseInline)(s,r);return r.hooks?await r.hooks.postprocess(a):a})().catch(s);try{r.hooks&&(i=r.hooks.preprocess(i));let n=(r.hooks?r.hooks.provideLexer():t?eg.lex:eg.lexInline)(i,r);r.hooks&&(n=r.hooks.processAllTokens(n)),r.walkTokens&&this.walkTokens(n,r.walkTokens);let o=(r.hooks?r.hooks.provideParser():t?ey.parse:ey.parseInline)(n,r);return r.hooks&&(o=r.hooks.postprocess(o)),o}catch(t){return s(t)}}}onError(t,i){return n=>{if(n.message+=`
559
+ Please report this to https://github.com/markedjs/marked.`,t){let t="<p>An error occurred:</p><pre>"+eu(n.message+"",!0)+"</pre>";return i?Promise.resolve(t):t}if(i)return Promise.reject(n);throw n}}constructor(...t){o(this,"defaults",r()),o(this,"options",this.setOptions),o(this,"parse",this.parseMarkdown(!0)),o(this,"parseInline",this.parseMarkdown(!1)),o(this,"Parser",ey),o(this,"Renderer",eb),o(this,"TextRenderer",ev),o(this,"Lexer",eg),o(this,"Tokenizer",em),o(this,"Hooks",ew),this.use(...t)}};function eC(t,i){return e_.parse(t,i)}eC.options=eC.setOptions=function(t){return e_.setOptions(t),eC.defaults=e_.defaults,a=eC.defaults,eC},eC.getDefaults=r,eC.defaults=a,eC.use=function(...t){return e_.use(...t),eC.defaults=e_.defaults,a=eC.defaults,eC},eC.walkTokens=function(t,i){return e_.walkTokens(t,i)},eC.parseInline=e_.parseInline,eC.Parser=ey,eC.parser=ey.parse,eC.Renderer=eb,eC.TextRenderer=ev,eC.Lexer=eg,eC.lexer=eg.lex,eC.Tokenizer=em,eC.Hooks=ew,eC.parse=eC,eC.options,eC.setOptions,eC.use,eC.walkTokens,eC.parseInline,ey.parse,eg.lex},72621:function(t,i,n){"use strict";n.d(i,{normalizeImageProps:function(){return o}});let o=t=>(t.isElement&&"img"===t.name&&(t.attributes.align&&(t.style.add("float",t.attributes.align),t.attributes.align=null),t.attributes.hspace&&(t.style.add("marginLeft",t.attributes.hspace+"px"),t.style.add("marginRight",t.attributes.hspace+"px"),t.attributes.hspace=null)),t)},72690:function(t,i,n){"use strict";n.d(i,{updateStateAndGme:function(){return r}});var o=n(67912);function r(t,i,n=!1){let s=this.mapElements[i];if(s.state===t||s.state.type!==t.type)return;let a=s.state;if(!n){let i;for(i in t){let n=t[i],r=a[i];if(null!=n&&(null==r||n.toString()!==r.toString()))switch(i){case"strokeWeight":case"strokeColor":case"fillColor":case"fillOpacity":switch(s.type){case"polyline":case"circle":case"polygon":s.gme.setOptions({[i]:n})}break;case"coordinates":switch(s.type){case"polygon":case"polyline":s.gme.setPath((0,o.arrayToPath)(n))}}}}s.state=t,this.state.elements[i]=t}},72757:function(t,i,n){"use strict";n.d(i,{Eventify:function(){return o}});class o{on(t,i){var n;return this.__map.has(t)||this.__map.set(t,new Set),null==(n=this.__map.get(t))||n.add(i),this}off(t,i){var n;return this.__map.has(t)&&(null==(n=this.__map.get(t))||n.delete(i)),this}destruct(){this.__map.clear()}emit(t,...i){var n;let o;return this.__map.has(t)&&(null==(n=this.__map.get(t))||n.forEach(t=>{o=t(...i)})),o}constructor(){this.__map=new Map}}},72913:function(t,i,n){"use strict";n.d(i,{isInt:function(){return s}});var o=n(29807),r=n(70799);function s(t){return(0,r.isString)(t)&&(0,o.isNumeric)(t)&&(t=parseFloat(t)),"number"==typeof t&&Number.isFinite(t)&&!(t%1)}},73026:function(t,i,n){"use strict";n.d(i,{observable:function(){return u}});var o=n(68345),r=n(59292),s=n(72430),a=n(37790);let l=Symbol("observable-object");function c(t){return void 0!==t[l]}function u(t){if(c(t))return t;let i={},n={},u=(i,r)=>((0,o.isArray)(i)?i.map(t=>u(t,r)):(n[i]||(n[i]=[]),n[i].push(r)),t),d=(r,...s)=>{if((0,o.isArray)(r))return void r.map(t=>d(t,...s));try{!i[r]&&n[r]&&(i[r]=!0,n[r].forEach(i=>i.call(t,...s)))}finally{i[r]=!1}},h=(i,n=[])=>{let o={};c(i)||(Object.defineProperty(i,l,{enumerable:!1,value:!0}),Object.keys(i).forEach(l=>{let c=n.concat(l).filter(t=>t.length);o[l]=i[l];let u=(0,a.getPropertyDescriptor)(i,l);Object.defineProperty(i,l,{set(i){let n=o[l];if(!(0,r.isFastEqual)(o[l],i)){d(["beforeChange","beforeChange."+c.join(".")],l,i),(0,s.isPlainObject)(i)&&h(i,c),u&&u.set?u.set.call(t,i):o[l]=i;let r=[];d(["change",...c.reduce((t,i)=>(r.push(i),t.push("change."+r.join(".")),t),[])],c.join("."),n,(null==i?void 0:i.valueOf)?i.valueOf():i)}},get:()=>u&&u.get?u.get.call(t):o[l],enumerable:!0,configurable:!0}),(0,s.isPlainObject)(o[l])&&h(o[l],c)}),Object.defineProperty(t,"on",{value:u}))};return h(t),t}},73035:function(t){t.exports={"Show Blocks":"ショーのブロック"}},73098:function(t,i,n){"use strict";var o=n(82749),r=n(31635);n(20104);var s=n(27834),a=n(33124),l=n(73534),c=n(65478),u=n(23282),d=n(70799),h=n(38837),p=n(96325),f=n(50911),m=n(10830),g=n(2692);class b extends f.Plugin{__getProvider(){let{provider:t}=this.jodit.options.translate;if((0,d.isString)(t))if("google"===t)return new s.GoogleTranslateProvider(this.j);else throw Error("Unknown provider");return(0,h.assert)((0,u.isFunction)(t),"Provider must be a function"),t(this.jodit)}afterInit(t){let i=(0,p.defaultLanguage)(t.o.language,g.JoditPro.defaultOptions.language),n=(0,p.defaultLanguage)(t.o.language,i),o=this.__getProvider();t.registerCommand("translateOptions",{exec:async()=>{let i=this.state,n=t.dlg();n.setHeader("Translate options");let r=await o.supportedLanguages(),s=new a.UITranslateSettings(n,this.state,{sourceList:r.langs,targetList:r.langs,onChange(t){i=t}});n.setContent(s),n.setFooter([(0,m.Button)(t,"cancel","Cancel").onAction(()=>n.close()),(0,m.Button)(t,"ok","Save","primary").onAction(()=>{this.state=i,n.close()})]),s.bindDestruct(n),n.setSize(500,400).open(!0)},hotkeys:t.o.translate.hotkeys.translateOptions}).registerCommand("translate",{exec:()=>{let i=(0,l.getSelectionFragments)(t).filter(t=>t.text.trim().length>0);if(!i.length)return void t.message.error("Select text for translate");let r=this.state.sourceLang&&"auto"!==this.state.sourceLang?this.state.sourceLang:n,s=this.state.targetLang;return Promise.all(i.map(i=>{o.translate(i.text,r,s).then(t=>{i.replace(t.text)}).catch(i=>{t.message.error((0,d.isString)(i)?i:i.message)})})).then(()=>{t.synchronizeValues()})},hotkeys:t.o.translate.hotkeys.translateSelection})}beforeDestruct(t){}constructor(...t){super(...t),(0,o._)(this,"buttons",[{name:"translate.translate",group:"insert"}]),(0,o._)(this,"state",{sourceLang:this.jodit.o.translate.defaultSourceLang||"en",targetLang:this.jodit.o.translate.defaultTargetLang})}}(0,o._)(b,"requires",["license"]),(0,r.__decorate)([c.persistent],b.prototype,"state",void 0),g.JoditPro.plugins.add("translate",b)},73220:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"Controllo ortografico"}},73391:function(t,i,n){"use strict";var o=n(82758),r=n(580),s=n(21537),a=n(12153),l=n(6441),c=n(49399);l.Config.prototype.controls.about={exec(t){let i=t.dlg({closeOnClickOverlay:!0}),n=t.i18n.bind(t);i.setMod("theme",t.o.theme).setHeader(n("About Jodit")).setContent(`<div class="jodit-about">
560
560
  <div>${n("Jodit Editor")} v.${t.getVersion()}</div>
561
561
  <div>${n("License: %s",!(0,s.isLicense)(t.o.license)?t.o.license||"MIT":(0,s.normalizeLicense)(t.o.license))}</div>
562
562
  <div>
@@ -578,7 +578,7 @@ Please report this to https://github.com/markedjs/marked.`,t){let t="<p>An error
578
578
  <div class="${i("footer")}"></div>
579
579
  <div class="${i("resizer")}">${f.Icon.get("resize_handler")}</div>
580
580
  </div>
581
- </div>`),"rtl"===this.options.direction&&(this.container.style.direction="rtl",this.container.setAttribute("dir","rtl")),this.o.zIndex&&(this.container.style.zIndex=this.o.zIndex.toString()),(0,h.attr)(this.container,"role","dialog"),Object.defineProperty(this.container,"component",{value:this}),this.setMod("theme",this.o.theme||"default").setMod("resizable",!!this.o.resizable);const n=this.getElm("panel");(0,p.assert)(null!=n,"Panel element does not exist");const r=this.getElm("resizer");(0,p.assert)(null!=r,"Resizer element does not exist");const s=this.getElm("header-title");(0,p.assert)(null!=s,"header-title element does not exist");const a=this.getElm("content");(0,p.assert)(null!=a,"Content element does not exist");const u=this.getElm("footer");(0,p.assert)(null!=u,"Footer element does not exist");const m=this.getElm("header-toolbar");(0,p.assert)(null!=m,"header-toolbar element does not exist"),this.dialog=n,this.resizer=r,this.dialogbox_header=s,this.dialogbox_content=a,this.dialogbox_footer=u,this.dialogbox_toolbar=m,(0,h.css)(this.dialog,{maxWidth:this.options.maxWidth,minHeight:this.options.minHeight,minWidth:this.options.minWidth});const g=this.getElm("header");g&&this.e.on(g,"pointerdown touchstart",this.__onHeaderMouseDown),this.e.on(this.resizer,"mousedown touchstart",this.__onResizerMouseDown);const v=c.pluginSystem.get("fullsize");if((0,d.isFunction)(v)&&v(this),this.e.on(this.container,"close_dialog",this.close).on(this.ow,"keydown",this.__onEsc).on(this.ow,"resize",this.__onResize),this.o.closeOnClickOverlay){const t=this.getElm("overlay");(0,p.assert)(null!=t,"Overlay element does not exist"),this.e.on(t,"click",this.close)}}};y.defaultOptions={...m.View.defaultOptions,closeOnClickOverlay:!1,closeOnEsc:!0},v([a.autobind],y.prototype,"__onMouseUp",null),v([a.autobind],y.prototype,"__onHeaderMouseDown",null),v([a.autobind],y.prototype,"__onMouseMove",null),v([a.autobind],y.prototype,"__onEsc",null),v([a.autobind],y.prototype,"__onResizerMouseDown",null),v([a.autobind],y.prototype,"close",null),v([(0,a.hook)("ready")],y.prototype,"buildToolbar",null),y=o=v([a.component],y)},78614:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M352 832q0 14-9 23l-288 288q-9 9-23 9-13 0-22.5-9.5t-9.5-22.5v-576q0-13 9.5-22.5t22.5-9.5q14 0 23 9l288 288q9 9 9 23zm1440 480v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/> </svg> '},78644:function(t,i,n){"use strict";n.d(i,{ToolbarButton:function(){return I}});var o=n(78213),r=n(45219),s=n(33433),a=n(87325),l=n(37133),c=n(2748),u=n(68345),d=n(23282),h=n(19306),p=n(72430),f=n(70799),m=n(56175),g=n(87058),b=n(38837),v=n(29960),y=n(37790),w=n(62843),_=n(72157),C=n(12153),k=n(56917),S=n(21491),x=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let I=class t extends w.UIButton{className(){return"ToolbarButton"}get toolbar(){let t=(0,a.getComponentClass)("ToolbarCollection");return this.closest(t)}update(){var t,i;let{control:n,state:o}=this,r=this.toolbar;if(!r)return;let s=null==(t=n.value)?void 0:t.call(n,r.jodit,this);void 0!==s&&(o.value=s),o.disabled=this.__calculateDisabledStatus(r),o.activated=this.__calculateActivatedStatus(r),null==(i=n.update)||i.call(n,r.jodit,this)}__calculateActivatedStatus(t){var i,n;return(!(0,h.isJoditObject)(this.j)||!!this.j.editorIsActive)&&(null!=(n=(i=this.control).isActive)&&!!n.call(i,this.j,this)||!!(t&&t.shouldBeActive(this)))}__calculateDisabledStatus(t){var i,n;return!!(this.j.o.disabled||this.j.o.readonly&&(!this.j.o.activeButtonsInReadOnly||!this.j.o.activeButtonsInReadOnly.includes(this.control.name))||(null==(n=(i=this.control).isDisabled)?void 0:n.call(i,this.j,this)))||!!(t&&t.shouldBeDisabled(this))}onChangeActivated(){(0,v.attr)(this.button,"aria-pressed",this.state.activated),super.onChangeActivated()}onChangeText(){(0,d.isFunction)(this.control.template)?this.text.innerHTML=this.control.template(this.j,this.control.name,this.j.i18n(this.state.text)):super.onChangeText(),this.setMod("text-icons",!!this.text.innerText.trim().length)}onChangeTabIndex(){(0,v.attr)(this.button,"tabindex",this.state.tabIndex)}createContainer(){let t=this.componentName,i=this.j.c.span(t),n=super.createContainer();(0,v.attr)(i,"role","listitem"),n.classList.remove(t),n.classList.add(t+"__button"),Object.defineProperty(n,"component",{value:this}),i.appendChild(n);let o=this.j.c.fromHTML(`<span role="trigger" class="${t}__trigger">${C.Icon.get("chevron")}</span>`);return n.appendChild(o),i}focus(){var t;null==(t=this.container.querySelector("button"))||t.focus()}onChangeHasTrigger(){this.state.hasTrigger?this.container.appendChild(this.trigger):c.Dom.safeRemove(this.trigger),this.setMod("with-trigger",this.state.hasTrigger||null)}onChangeDisabled(){let t=this.state.disabled?"disabled":null;(0,v.attr)(this.trigger,"disabled",t),(0,v.attr)(this.button,"disabled",t),(0,v.attr)(this.container,"disabled",t)}__initFromControl(){var t;let{control:i,state:n}=this;this.updateSize(),n.name=i.name;let{textIcons:o}=this.j.o;if(!0===o||(0,d.isFunction)(o)&&o(i.name)||i.template)n.icon=(0,w.UIButtonState)().icon,n.text=i.text||i.name;else{if(i.iconURL)n.icon.iconURL=i.iconURL;else{let o=i.icon||i.name;n.icon.name=C.Icon.exists(o)||(null==(t=this.j.o.extraIcons)?void 0:t[o])?o:""}i.iconURL||n.icon.name||(n.text=i.text||i.name)}i.tooltip&&(n.tooltip=(0,d.isFunction)(i.tooltip)?i.tooltip(this.j,i,this):i.tooltip),n.hasTrigger=!!(i.list||i.popup&&i.exec)}onTriggerClick(t){var i,n,o;if(this.openedPopup)return void this.__closePopup();let{control:r}=this;if(t.buffer={actionTrigger:this},r.list)return this.__openControlList(r);if((0,d.isFunction)(r.popup)){let t=this.openPopup();t.parentElement=this;try{if(!1!==this.j.e.fire((0,g.camelCase)(`before-${r.name}-open-popup`),this.target,r,t)){let s=null!=(o=null!=(n=null==(i=this.toolbar)?void 0:i.getTarget(this))?n:this.target)?o:null,a=r.popup(this.j,s,this.__closePopup,this);a?t.setContent((0,f.isString)(a)?this.j.c.fromHTML(a):a).open(()=>(0,m.position)(this.container),!1,this.j.o.allowTabNavigation?this.container:void 0):this.__closePopup()}}catch(t){throw this.__closePopup(),t}this.j.e.fire((0,g.camelCase)(`after-${r.name}-open-popup`),t.container)}}__openControlList(t){var i;let n=null!=(i=this.jodit.options.controls)?i:{},o=t=>(0,_.findControlType)(t,n),r=t.list,s=this.openPopup(),a=(0,S.makeCollection)(this.j);s.parentElement=this,a.parentElement=s,a.mode="vertical";let l=(i,n)=>{let r;if((0,f.isString)(n)&&o(n))return{name:n.toString(),...o(n)};if((0,f.isString)(i)&&o(i))return{name:i.toString(),...o(i),..."object"==typeof n?n:{}};r=i,(0,p.isPlainObject)(r)&&"title"in r&&"value"in r&&(n=i.value,i=i.title);let{childTemplate:s}=t,a={name:i.toString(),template:s&&((t,i,n)=>s(t,i,n,this)),exec:t.childExec?(i,n,o)=>{var r;return null==(r=t.childExec)?void 0:r.call(t,i,n,{...o,parentControl:t})}:t.exec,data:t.data,command:t.command,isActive:t.isChildActive,value:t.value,isDisabled:t.isChildDisabled,mode:t.mode,args:[...t.args?t.args:[],i,n]};return(0,f.isString)(n)&&(a.text=n),a};a.build((0,u.isArray)(r)?r.map(l):(0,y.keys)(r,!1).map(t=>l(t,r[t])),this.target),s.setContent(a).open(()=>(0,m.position)(this.container),!1,this.j.o.allowTabNavigation?this.container:void 0),this.state.activated=!0}onOutsideClick(t){this.openedPopup&&(t&&c.Dom.isNode(t.target)&&(c.Dom.isOrContains(this.container,t.target)||this.openedPopup.isOwnClick(t))||this.__closePopup())}openPopup(){return this.__closePopup(),this.openedPopup=new k.Popup(this.j,!1),this.j.e.on(this.ow,"mousedown touchstart",this.onOutsideClick).on("escape closeAllPopups",this.onOutsideClick),this.openedPopup}__closePopup(){this.openedPopup&&(this.j.e.off(this.ow,"mousedown touchstart",this.onOutsideClick).off("escape closeAllPopups",this.onOutsideClick),this.state.activated=!1,this.openedPopup.close(),this.openedPopup.destruct(),this.openedPopup=null)}onClick(t){var i,n,o,r,s,a,l;let{control:c}=this;if((0,d.isFunction)(c.exec)){let u=null!=(o=null!=(n=null==(i=this.toolbar)?void 0:i.getTarget(this))?n:this.target)?o:null,d=c.exec(this.j,u,{control:c,originalEvent:t,button:this});if(!1!==d&&!0!==d&&(null==(s=null==(r=this.j)?void 0:r.e)||s.fire("synchro"),this.parentElement&&this.parentElement.update(),null==(l=null==(a=this.j)?void 0:a.e)||l.fire("closeAllPopups afterExec")),!1!==d)return}return c.list?this.__openControlList(c):(0,d.isFunction)(c.popup)?this.onTriggerClick(t):void((c.command||c.name)&&((0,y.call)((0,h.isJoditObject)(this.j)?this.j.execCommand.bind(this.j):this.j.od.execCommand.bind(this.j.od),c.command||c.name,!1,c.args&&c.args[0]),this.j.e.fire("closeAllPopups")))}destruct(){return this.__closePopup(),super.destruct()}constructor(t,i,n=null){super(t),this.control=i,this.target=n,this.state={...(0,w.UIButtonState)(),theme:"toolbar",currentValue:"",hasTrigger:!1},this.openedPopup=null;const r=this.getElm("button");(0,b.assert)(r,"Element button should exists"),this.button=r,Object.defineProperty(r,"component",{value:this,configurable:!0});const s=this.getElm("trigger");(0,b.assert)(s,"Element trigger should exists"),this.trigger=s,s.remove(),t.e.on([this.button,this.trigger],"mousedown",t=>t.preventDefault()),this.onAction(this.onClick),this.hookStatus(o.STATUSES.ready,()=>{this.__initFromControl(),this.update()}),i.mods&&Object.keys(i.mods).forEach(t=>{i.mods&&this.setMod(t,i.mods[t])})}};x([s.cacheHTML],I.prototype,"createContainer",null),x([(0,l.watch)("state.hasTrigger",{immediately:!1})],I.prototype,"onChangeHasTrigger",null),x([(0,l.watch)("trigger:click")],I.prototype,"onTriggerClick",null),x([r.autobind],I.prototype,"onOutsideClick",null),x([r.autobind],I.prototype,"__closePopup",null),I=x([a.component],I)},78717:function(t,i,n){"use strict";var o=n(75352),r=n(91140);i.default={...o,execute:r.execute}},78720:function(t,i,n){"use strict";n.d(i,{checkBlockNesting:function(){return r}});var o=n(2748);function r(t,i){if(o.Dom.isFragment(i)&&(i=i.firstChild),t.o.dtd.checkBlockNesting&&o.Dom.isBlock(i)){let i=o.Dom.furthest(t.s.current(),o.Dom.isBlock,t.editor);i&&!t.o.dtd.blockLimits[i.tagName.toLowerCase()]&&(t.s.setCursorAfter(i),o.Dom.isEmpty(i)&&o.Dom.safeRemove(i))}}},78777:function(t){t.exports={"Show Blocks":"תראה רחובות"}},78818:function(t,i,n){"use strict";n.d(i,{History:function(){return u}});var o=n(80480),r=n(81577),s=n(6441),a=n(92643),l=n(52604),c=n(57034);s.Config.prototype.history={enable:!0,maxHistoryLength:1/0,timeout:1e3};class u extends o.ViewComponent{className(){return"History"}redo(){this.__stack.redo()&&(this.startValue=this.snapshot.make(),this.fireChangeStack())}canRedo(){return this.__stack.canRedo()}undo(){this.__stack.undo()&&(this.startValue=this.snapshot.make(),this.fireChangeStack())}canUndo(){return this.__stack.canUndo()}clear(){this.startValue=this.snapshot.make(),this.__stack.clear(),this.fireChangeStack()}get length(){return this.__stack.length}get startValue(){return this.__startValue}set startValue(t){this.__startValue=t}__upTick(){this.updateTick+=1}onChange(){this.__processChanges()}__processChanges(){!this.snapshot.isBlocked&&this.j.o.history.enable&&this.updateStack()}updateStack(t=!1){let i=this.snapshot.make();if(!l.Snapshot.equal(i,this.startValue)){let n=new a.Command(this.startValue,i,this,this.updateTick);if(t){let t=this.__stack.current();t&&this.updateTick===t.tick&&this.__stack.replace(n)}else this.__stack.push(n);this.startValue=i,this.fireChangeStack()}}fireChangeStack(){var t;this.j&&!this.j.isInDestruct&&(null==(t=this.j.events)||t.fire("changeStack"))}destruct(){this.isInDestruct||(this.j.events&&this.j.e.off(".history"),this.snapshot.destruct(),super.destruct())}constructor(t,i=new c.Stack(t.o.history.maxHistoryLength),n=new l.Snapshot(t)){super(t),this.updateTick=0,this.__stack=i,this.snapshot=n,t.o.history.enable&&t.e.on("afterAddPlace.history",()=>{this.isInDestruct||(this.startValue=this.snapshot.make(),t.events.on("internalChange internalUpdate",()=>{this.startValue=this.snapshot.make()}).on(t.editor,["changeSelection","selectionstart","selectionchange","mousedown","mouseup","keydown","keyup"].map(t=>t+".history").join(" "),()=>{this.startValue.html===this.j.getNativeEditorValue()&&(this.startValue=this.snapshot.make())}).on(this,"change.history",this.onChange))})}}!function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);s>3&&a&&Object.defineProperty(i,n,a)}([(0,r.debounce)()],u.prototype,"onChange",null)},78879:function(t){t.exports='<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <g> <rect rx="10" height="1620" width="1620" y="79.646973" x="80" stroke-width="100" stroke-dasharray="8% 10%" fill="none"/> <path d="m1333.992706,381.692384l0,52.982419q0,21.04781 -12.98052,44.272981t-29.820114,23.22517q-35.082487,0 -37.889085,0.725787q-18.242893,4.354719 -22.452791,22.499384q-2.104949,7.983652 -2.104949,46.45034l0,836.106125q0,18.144664 -12.629695,31.208822t-30.170938,13.064158l-75.778171,0q-17.541243,0 -30.170938,-13.064158t-12.629695,-31.208822l0,-884.008038l-100.335911,0l0,884.008038q0,18.144664 -12.27887,31.208822t-30.521763,13.064158l-75.778171,0q-18.242893,0 -30.521763,-13.064158t-12.27887,-31.208822l0,-359.990137q-103.14251,-8.709439 -171.904184,-42.821407q-88.407866,-42.095621 -134.716748,-129.915795q-44.905583,-84.917028 -44.905583,-187.978721q0,-120.48057 61.745176,-207.574958q61.745176,-85.642815 146.644794,-115.400064q77.88312,-26.854103 292.587937,-26.854103l336.090221,0q17.541243,0 30.170938,13.064158t12.629695,31.208822z"/> </g> </svg>'},78927:function(t,i,n){"use strict";n.d(i,{idle:function(){return a}});var o=n(91907),r=n(23282),s=n(89890);function a(){return(t,i)=>{if(!(0,r.isFunction)(t[i]))throw(0,s.error)("Handler must be a Function");t.hookStatus(o.STATUSES.ready,t=>{let{async:n}=t,o=t[i];t[i]=(...i)=>n.requestIdleCallback(o.bind(t,...i))})}}},78955: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="3.5" width="9" height="9" rx="1.5" fill="none"/> <rect x="2" y="14.5" width="9" height="9" rx="1.5" fill="none"/> <rect x="13" y="14.5" width="9" height="9" rx="1.5" fill="none"/> <rect x="13" y="3.5" width="9" height="9" rx="1.5" fill="currentColor" transform="rotate(45 17.5 8)"/> </svg>'},79078:function(t,i,n){"use strict";async function o(t,i,n){let o={...i};try{let t=new AbortController().signal,r=await n.executeTool(i.name,i.arguments,t);o={...i,result:{result:r},status:"executed"}}catch(n){o={...i,result:{error:n instanceof Error?n.message:n+""},status:"error"},t.e.fire("toolCallFailed.ai-assistant-pro",o)}return t.e.fire("toolCallExecuted.ai-assistant-pro",o,{toolCallId:o.id,result:o.result}),o}function r(t,i){let n=t.toolCalls?.findIndex(t=>t.id===i.id);if(null==n||-1===n)return t;let o=[...t?.toolCalls??[]];return o[n]=i,{...t,toolCalls:o}}n.d(i,{executeToolCall:function(){return o},updateToolCallInMessage:function(){return r}})},79348:function(t,i,n){"use strict";n.d(i,{Selection:function(){return f}});var o=n(82758),r=n(65478),s=n(2748),a=n(21537),l=n(27613),c=n(38837),u=n(43463),d=n(25639),h=n(45124),p=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class f{get j(){return this.jodit}errorNode(t){if(!s.Dom.isNode(t))throw(0,a.error)("Parameter node must be instance of Node")}get area(){return this.j.editor}get win(){return this.j.ew}get doc(){return this.j.ed}get sel(){return this.j.o.shadowRoot&&(0,l.isFunction)(this.j.o.shadowRoot.getSelection)?this.j.o.shadowRoot.getSelection():this.win.getSelection()}get range(){let t=this.sel;return t&&t.rangeCount?t.getRangeAt(0):this.createRange()}get isInsideArea(){let{sel:t}=this,i=(null==t?void 0:t.rangeCount)?t.getRangeAt(0):null;return!(!i||!s.Dom.isOrContains(this.area,i.startContainer))}createRange(t=!1){let i=this.doc.createRange();return t&&this.selectRange(i),i}remove(){let t=this.sel,i=this.current();if(t&&i)for(let i=0;i<t.rangeCount;i+=1)t.getRangeAt(i).deleteContents(),t.getRangeAt(i).collapse(!0)}clear(){var t,i;(null==(t=this.sel)?void 0:t.rangeCount)&&(null==(i=this.sel)||i.removeAllRanges())}removeNode(t){if(!s.Dom.isOrContains(this.j.editor,t,!0))throw(0,a.error)("Selection.removeNode can remove only editor's children");s.Dom.safeRemove(t),this.j.e.fire("afterRemoveNode",t)}insertCursorAtPoint(t,i){this.removeMarkers();try{let n=this.createRange();return(()=>{if(this.doc.caretPositionFromPoint){let o=this.doc.caretPositionFromPoint(t,i);if(o)return n.setStart(o.offsetNode,o.offset)}if(this.doc.caretRangeFromPoint){let o=this.doc.caretRangeFromPoint(t,i);(0,c.assert)(o,"Incorrect caretRangeFromPoint behaviour"),n.setStart(o.startContainer,o.startOffset)}})(),n.collapse(!0),this.selectRange(n),!0}catch(t){}return!1}get hasMarkers(){return!!this.markers.length}get markers(){return(0,a.$$)("span[data-"+o.MARKER_CLASS+"]",this.area)}removeMarkers(){s.Dom.safeRemove.apply(null,this.markers)}marker(t=!1,i){let n=null;i&&(n=i.cloneRange()).collapse(t);let r=this.j.createInside.span();return r.id=o.MARKER_CLASS+"_"+Number(new Date)+"_"+(Math.random()+"").slice(2),r.style.lineHeight="0",r.style.display="none",s.Dom.markTemporary(r),(0,a.attr)(r,"data-"+o.MARKER_CLASS,t?"start":"end"),r.appendChild(this.j.createInside.text(o.INVISIBLE_SPACE)),n&&s.Dom.isOrContains(this.area,t?n.startContainer:n.endContainer)&&n.insertNode(r),r}restore(){let t=!1,i=t=>`span[data-${o.MARKER_CLASS}=${t?"start":"end"}]`,n=this.area.querySelector(i(!0)),r=this.area.querySelector(i(!1));if(n){if(t=this.createRange(),r)t.setStartAfter(n),s.Dom.safeRemove(n),t.setEndBefore(r),s.Dom.safeRemove(r);else{let i=n.previousSibling;s.Dom.isText(i)?t.setStart(i,i.nodeValue?i.nodeValue.length:0):t.setStartBefore(n),s.Dom.safeRemove(n),t.collapse(!0)}t&&this.selectRange(t)}}fakes(){let t=this.sel;if(!t||!t.rangeCount)return[];let i=t.getRangeAt(0);(0,c.assert)(i,"Range is null");let n=i.cloneRange();n.collapse(!0);let o=this.j.createInside.fake();s.Dom.safeInsertNode(n,o),i.setStartBefore(o);let r=[o];if(!i.collapsed){let t=i.cloneRange();t.collapse(!1);let n=this.j.createInside.fake();s.Dom.safeInsertNode(t,n),i.setEndAfter(n),r.push(n)}return this.selectRange(i),r}restoreFakes(t){var i,n,o,r;let a=t.filter(t=>t.isConnected);if(!a.length)return;let[l,c]=a,u=this.createRange();u.setStartAfter(l),c&&u.setEndBefore(c),this.selectRange(u),(null==(i=l.parentNode)?void 0:i.firstChild)!==(null==(n=l.parentNode)?void 0:n.lastChild)&&s.Dom.safeRemove(l),(null==(o=null==c?void 0:c.parentNode)?void 0:o.firstChild)!==(null==(r=null==c?void 0:c.parentNode)?void 0:r.lastChild)&&s.Dom.safeRemove(c)}save(t=!1){if(this.hasMarkers)return[];let i=this.sel;if(!i||!i.rangeCount)return[];let n=[],o=i.rangeCount,r=[];for(let t=0;o>t;t+=1)if(r[t]=i.getRangeAt(t),r[t].collapsed){let i=this.marker(!0,r[t]);n[t]={startId:i.id,collapsed:!0,startMarker:i.outerHTML}}else{let i=this.marker(!0,r[t]),o=this.marker(!1,r[t]);n[t]={startId:i.id,endId:o.id,collapsed:!1,startMarker:i.outerHTML,endMarker:o.outerHTML}}if(!t){i.removeAllRanges();for(let t=o-1;t>=0;--t){let o=this.doc.getElementById(n[t].startId);if(o){if(n[t].collapsed)r[t].setStartAfter(o),r[t].collapse(!0);else if(r[t].setStartBefore(o),n[t].endId){let i=this.doc.getElementById(n[t].endId);i&&r[t].setEndAfter(i)}try{i.addRange(r[t].cloneRange())}catch(t){}}}}return n}focus(t={preventScroll:!0}){var i,n;if(!this.isFocused()){let o=(0,a.getScrollParent)(this.j.container),r=null==o?void 0:o.scrollTop;this.j.iframe&&"complete"===this.doc.readyState&&this.j.iframe.focus(t),this.win.focus(),this.area.focus(t),r&&(null==o?void 0:o.scrollTo)&&o.scrollTo(0,r);let l=this.sel,c=(null==l?void 0:l.rangeCount)?null==l?void 0:l.getRangeAt(0):null;if(!c||!s.Dom.isOrContains(this.area,c.startContainer)){let t=this.createRange();t.setStart(this.area,0),t.collapse(!0),this.selectRange(t,!1)}return this.j.editorIsActive||null==(n=null==(i=this.j)?void 0:i.events)||n.fire("focus"),!0}return!1}isCollapsed(){let t=this.sel;for(let i=0;t&&i<t.rangeCount;i+=1)if(!t.getRangeAt(i).collapsed)return!1;return!0}isFocused(){return this.doc.hasFocus&&this.doc.hasFocus()&&this.area===this.doc.activeElement}current(t=!0){if(this.j.getRealMode()!==o.MODE_WYSIWYG)return null;let i=this.sel;if(!i||0===i.rangeCount)return null;let n=i.getRangeAt(0),r=n.startContainer,a=!1;if(s.Dom.isTag(r,"br")&&i.isCollapsed)return r;if(!s.Dom.isText(r)){let o=(0,h.findCorrectCurrentNode)(r,n,a,i.isCollapsed,t,t=>a?t.lastChild:t.firstChild);r=o.node,a=o.rightMode}return r&&s.Dom.isOrContains(this.area,r)?r:null}insertNode(t,i=!0,n=!0){this.errorNode(t);let o=s.Dom.isFragment(t)?t.lastChild:t;this.j.e.fire("safeHTML",t),!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore());let r=this.sel;this.j.history.snapshot.transaction(()=>{if(this.isCollapsed()||this.j.execCommand("Delete"),this.j.e.fire("beforeInsertNode",t),r&&r.rangeCount){let i=r.getRangeAt(0),{firstChild:n}=t;s.Dom.isOrContains(this.area,i.commonAncestorContainer)?s.Dom.safeInsertNode(i,t):this.area.appendChild(t),[()=>null==n?void 0:n.previousSibling,()=>null==n?void 0:n.previousSibling,()=>{var t;return null==(t=null==n?void 0:n.previousSibling)?void 0:t.lastChild}].forEach(t=>{let i=t();i&&s.Dom.isEmptyTextNode(i)&&s.Dom.safeRemove(i)})}else this.area.appendChild(t);let n=t=>{if(s.Dom.isBlock(t)){let i=t.lastChild;if(i)return n(i)}this.setCursorAfter(t)};i&&(s.Dom.isFragment(t)?o&&n(o):n(t)),this.j.o.scrollToPastedContent&&(0,a.scrollIntoViewIfNeeded)(null!=o?o:t,this.j.editor,this.doc)}),n&&this.j.events&&this.j.__imdSynchronizeValues(),this.j.events&&this.j.e.fire("afterInsertNode",s.Dom.isFragment(t)?o:t)}insertHTML(t,i=!0){if(""===t)return;let n=this.j.createInside.div(),o=this.j.createInside.fragment();if(!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore()),s.Dom.isNode(t)?n.appendChild(t):n.innerHTML=t.toString(),(this.j.isEditorMode()||!1!==this.j.e.fire("insertHTML",n.innerHTML))&&n.lastChild){for(;n.firstChild;)n.firstChild,o.appendChild(n.firstChild);this.insertNode(o,i,!1),this.j.__imdSynchronizeValues()}}insertImage(t,i=null,n=null){let o=(0,l.isString)(t)?this.j.createInside.element("img"):t;if((0,l.isString)(t)&&o.setAttribute("src",t),null!=n){let t=n.toString();t&&"auto"!==t&&0>(t+"").indexOf("px")&&0>(t+"").indexOf("%")&&(t+="px"),(0,a.attr)(o,"width",t)}i&&"object"==typeof i&&(0,a.css)(o,i);let r=()=>{(o.naturalHeight<o.offsetHeight||o.naturalWidth<o.offsetWidth)&&(o.style.width="",o.style.height=""),o.removeEventListener("load",r)};this.j.e.on(o,"load",r),o.complete&&r(),this.insertNode(o),this.j.e.fire("afterInsertImage",o)}eachSelection(t){var i;let n=this.sel;if(!n||!n.rangeCount)return;let r=n.getRangeAt(0),c=r.commonAncestorContainer;s.Dom.isHTMLElement(c)||(c=c.parentElement);let u=[],d=r.startOffset,h=c.childNodes.length,p=r.startContainer===this.area?c.childNodes[d<h?d:h-1]:r.startContainer,f=r.endContainer===this.area?c.childNodes[r.endOffset-1]:r.endContainer;s.Dom.isText(p)&&p===r.startContainer&&r.startOffset===(null==(i=p.nodeValue)?void 0:i.length)&&p.nextSibling&&(p=p.nextSibling),s.Dom.isText(f)&&f===r.endContainer&&0===r.endOffset&&f.previousSibling&&(f=f.previousSibling);let m=t=>{!t||t===c||s.Dom.isEmptyTextNode(t)||(0,l.isMarker)(t)||u.push(t)};m(p),p!==f&&s.Dom.isOrContains(c,p,!0)&&s.Dom.find(p,t=>(m(t),t===f||t&&t.contains&&t.contains(f)),c,!0,!1);let g=i=>{if(s.Dom.isOrContains(this.j.editor,i,!0)){if(i.nodeName.match(/^(UL|OL)$/))return(0,a.toArray)(i.childNodes).forEach(g);if(s.Dom.isTag(i,"li"))if(i.firstChild)i=i.firstChild;else{let t=this.j.createInside.text(o.INVISIBLE_SPACE);i.appendChild(t),i=t}t(i)}};0===u.length&&(s.Dom.isEmptyTextNode(p)&&u.push(p),p.firstChild&&u.push(p.firstChild)),u.forEach(g)}cursorInTheEdge(t,i,n=null){var o;let r=!t,l=null==(o=this.sel)?void 0:o.getRangeAt(0);if(null!=n||(n=this.current(!1)),!l||!n||!s.Dom.isOrContains(i,n,!0))return null;let c=t?l.startContainer:l.endContainer,u=t?l.startOffset:l.endOffset,d=t=>!!(t&&!s.Dom.isTag(t,"br")&&!s.Dom.isEmptyTextNode(t)&&!s.Dom.isTemporary(t)&&!(s.Dom.isElement(t)&&!0===this.j.e.fire("isInvisibleForCursor",t)));if(s.Dom.isText(c)){if((0,h.cursorInTheEdgeOfString)(c,u,t,r))return!1}else{let t=(0,a.toArray)(c.childNodes);if(r){if(t.slice(u).some(d))return!1}else if(t.slice(0,u).some(d))return!1}let p=n;for(;p&&p!==i;){let i=s.Dom.sibling(p,t);if(!i){p=p.parentNode;continue}if((p=i)&&d(p))return!1}return!0}cursorOnTheLeft(t,i){return this.cursorInTheEdge(!0,t,i)}cursorOnTheRight(t,i){return this.cursorInTheEdge(!1,t,i)}setCursorAfter(t){return this.setCursorNearWith(t,!1)}setCursorBefore(t){return this.setCursorNearWith(t,!0)}setCursorNearWith(t,i){var n,o;if(this.errorNode(t),!s.Dom.up(t,t=>t===this.area||t&&t.parentNode===this.area,this.area))throw(0,a.error)("Node element must be in editor");let r=this.createRange(),l=null;return s.Dom.isText(t)?i?r.setStart(t,0):r.setEnd(t,null!=(o=null==(n=t.nodeValue)?void 0:n.length)?o:0):(l=this.j.createInside.fake(),i?r.setStartBefore(t):r.setEndAfter(t),r.collapse(i),s.Dom.safeInsertNode(r,l),r.selectNode(l)),r.collapse(i),this.selectRange(r),l}setCursorIn(t,i=!1){if(this.errorNode(t),!s.Dom.up(t,t=>t===this.area||t&&t.parentNode===this.area,this.area))throw(0,a.error)("Node element must be in editor");let n=this.createRange(),r=t,l=t;do{if(s.Dom.isText(r)||s.Dom.isTag(r,o.INSEPARABLE_TAGS))break;l=r,r=i?r.firstChild:r.lastChild}while(r)if(!r){let t=this.j.createInside.text(o.INVISIBLE_SPACE);s.Dom.isTag(l,o.INSEPARABLE_TAGS)?r=l:(l.appendChild(t),l=t)}let c=r||l;return s.Dom.isTag(c,o.INSEPARABLE_TAGS)?i||s.Dom.isTag(c,"br")?n.setStartBefore(c):n.setEndAfter(c):n.selectNodeContents(c),n.collapse(i),this.selectRange(n),l}selectRange(t,i=!0){let n=this.sel;return i&&!this.isFocused()&&this.focus(),n&&(n.removeAllRanges(),n.addRange(t)),this.j.e.fire("changeSelection"),this}select(t,i=!1){if(this.errorNode(t),!s.Dom.up(t,t=>t===this.area||t&&t.parentNode===this.area,this.area))throw(0,a.error)("Node element must be in editor");let n=this.createRange();return n[i?"selectNodeContents":"selectNode"](t),this.selectRange(n)}get html(){let t=this.sel;if(t&&t.rangeCount>0){let i=t.getRangeAt(0).cloneContents(),n=this.j.createInside.div();return n.appendChild(i),n.innerHTML}return""}*wrapInTagGen(t){if(this.isCollapsed()){let i=this.jodit.createInside.element("font",o.INVISIBLE_SPACE);this.insertNode(i,!1,!1),t&&t[0]&&i.appendChild(t[0]),yield i,s.Dom.unwrap(i);return}for(let t of((0,a.$$)("*[style*=font-size]",this.area).forEach(t=>{(0,a.attr)(t,"data-font-size",t.style.fontSize.toString()),t.style.removeProperty("font-size")}),this.j.nativeExecCommand("fontsize",!1,"7"),(0,a.$$)("*[data-font-size]",this.area).forEach(t=>{let i=(0,a.attr)(t,"data-font-size");i&&(t.style.fontSize=i,(0,a.attr)(t,"data-font-size",null))}),(0,a.$$)('font[size="7"]',this.area))){let{firstChild:i,lastChild:n}=t;if(i&&i===n&&(0,l.isMarker)(i)){s.Dom.unwrap(t);continue}i&&(0,l.isMarker)(i)&&s.Dom.before(t,i),n&&(0,l.isMarker)(n)&&s.Dom.after(t,n),yield t,s.Dom.unwrap(t)}}wrapInTag(t){let i=[];for(let n of this.wrapInTagGen())try{if(n.firstChild&&n.firstChild===n.lastChild&&(0,l.isMarker)(n.firstChild))continue;(0,l.isFunction)(t)?t(n):i.push(s.Dom.replace(n,t,this.j.createInside))}finally{let t=n.parentNode;t&&(s.Dom.unwrap(n),s.Dom.isEmpty(t)&&s.Dom.unwrap(t))}return i}commitStyle(t){(0,c.assert)((0,a.size)(t)>0,"Need to pass at least one option"),new d.CommitStyle(t).apply(this.j)}splitSelection(t,i){if(!this.isCollapsed())return null;let n=this.createRange(),r=this.range;n.setStartBefore(t);let a=this.cursorOnTheRight(t,i),l=this.cursorOnTheLeft(t,i),u=this.j.createInside.element("br"),d=this.j.createInside.fake(),h=d.cloneNode();try{if(a||l){i?s.Dom.before(i,u):s.Dom.safeInsertNode(r,u);let t=(t,i)=>{let n=i(t);for(;n;){let t=i(n);if(n&&(s.Dom.isTag(n,"br")||s.Dom.isEmptyTextNode(n)))s.Dom.safeRemove(n);else break;n=t}};t(u,t=>t.nextSibling),t(u,t=>t.previousSibling),s.Dom.after(u,h),s.Dom.before(u,d),a?(n.setEndBefore(u),r.setEndBefore(u)):(n.setEndAfter(u),r.setEndAfter(u))}else n.setEnd(r.startContainer,r.startOffset);let p=n.extractContents(),f=t=>s.Dom.each(t,t=>s.Dom.isEmptyTextNode(t)&&s.Dom.safeRemove(t));(0,c.assert)(t.parentNode,"Splitting fails");try{if(f(p),f(t),t.parentNode.insertBefore(p,t),!i&&a&&(null==u?void 0:u.parentNode)){let t=this.createRange();t.setStartBefore(u),this.selectRange(t)}}catch(t){if(!o.IS_PROD)throw t}let m=t=>{var i,n,o;(null==(i=null==t?void 0:t.parentNode)?void 0:i.firstChild)===(null==(n=null==t?void 0:t.parentNode)?void 0:n.lastChild)&&(null==(o=null==t?void 0:t.parentNode)||o.appendChild(u.cloneNode()))};m(d),m(h)}finally{s.Dom.safeRemove(d),s.Dom.safeRemove(h)}return t.previousElementSibling}expandSelection(){if(this.isCollapsed())return this;let{range:t}=this,i=t.cloneRange();if(!s.Dom.isOrContains(this.j.editor,t.commonAncestorContainer,!0))return this;let n=i=>{let n=this.j.createInside.fake(),o=t.cloneRange();return o.collapse(i),s.Dom.safeInsertNode(o,n),(0,u.moveTheNodeAlongTheEdgeOutward)(n,i,this.j.editor),n},o=n(!0),r=n(!1);i.setStartAfter(o),i.setEndBefore(r);let l=s.Dom.findSibling(o,!1),c=s.Dom.findSibling(r,!0);if(l!==c){let t=s.Dom.isElement(l)&&s.Dom.isOrContains(l,r),n=!t&&s.Dom.isElement(c)&&s.Dom.isOrContains(c,o);if(t||n){let n=t?l:c,a=n;for(;s.Dom.isElement(n);)(n=t?n.firstElementChild:n.lastElementChild)&&(t?s.Dom.isOrContains(n,r):s.Dom.isOrContains(n,o))&&(a=n);t?i.setStart(a,0):i.setEnd(a,a.childNodes.length)}}if(this.selectRange(i),s.Dom.safeRemove(o,r),this.isCollapsed())throw(0,a.error)("Selection is collapsed");return this}constructor(t){this.jodit=t,t.e.on("removeMarkers",()=>{this.removeMarkers()})}}p([r.autobind],f.prototype,"createRange",null),p([r.autobind],f.prototype,"focus",null),p([r.autobind],f.prototype,"setCursorAfter",null),p([r.autobind],f.prototype,"setCursorBefore",null),p([r.autobind],f.prototype,"setCursorIn",null)},79419:function(t,i,n){"use strict";var o=n(12153),r=n(6441),s=n(94775),a=n(23140),l=n(92699),c=n(10052);r.Config.prototype.controls.cut={command:"cut",isDisabled:t=>t.s.isCollapsed(),tooltip:"Cut selection"},r.Config.prototype.controls.copy={command:"copy",isDisabled:t=>t.s.isCollapsed(),tooltip:"Copy selection"},r.Config.prototype.controls.selectall={icon:"select-all",command:"selectall",tooltip:"Select all"},o.Icon.set("copy",s.default).set("cut",a.default).set("paste",l.default).set("select-all",c.default)},79455:function(t,i,n){"use strict";n.d(i,{UISettingsPopup:function(){return u}});var o=n(82749),r=n(31635),s=n(16015),a=n(71102),l=n(65478),c=n(67510);class u extends c.UIElement{className(){return"UISettingsPopup"}async onChangeTheme(){let t=this.state?.theme&&this.state?.theme!=="parent"?this.state?.theme:this.j.o.theme;this.container.classList.remove("jodit_theme_dark","jodit_theme_light"),this.container.classList.add("jodit_theme_"+t)}update(){return this.dialogSettings?.update(),this.globalSettings?.update(),this.updateContent(),super.update()}setParentView(t){return this.globalSettings?.setParentView(t),this.dialogSettings?.setParentView(t),super.setParentView(t)}render(){return`<div class="&__container">
581
+ </div>`),"rtl"===this.options.direction&&(this.container.style.direction="rtl",this.container.setAttribute("dir","rtl")),this.o.zIndex&&(this.container.style.zIndex=this.o.zIndex.toString()),(0,h.attr)(this.container,"role","dialog"),Object.defineProperty(this.container,"component",{value:this}),this.setMod("theme",this.o.theme||"default").setMod("resizable",!!this.o.resizable);const n=this.getElm("panel");(0,p.assert)(null!=n,"Panel element does not exist");const r=this.getElm("resizer");(0,p.assert)(null!=r,"Resizer element does not exist");const s=this.getElm("header-title");(0,p.assert)(null!=s,"header-title element does not exist");const a=this.getElm("content");(0,p.assert)(null!=a,"Content element does not exist");const u=this.getElm("footer");(0,p.assert)(null!=u,"Footer element does not exist");const m=this.getElm("header-toolbar");(0,p.assert)(null!=m,"header-toolbar element does not exist"),this.dialog=n,this.resizer=r,this.dialogbox_header=s,this.dialogbox_content=a,this.dialogbox_footer=u,this.dialogbox_toolbar=m,(0,h.css)(this.dialog,{maxWidth:this.options.maxWidth,minHeight:this.options.minHeight,minWidth:this.options.minWidth});const g=this.getElm("header");g&&this.e.on(g,"pointerdown touchstart",this.__onHeaderMouseDown),this.e.on(this.resizer,"mousedown touchstart",this.__onResizerMouseDown);const v=c.pluginSystem.get("fullsize");if((0,d.isFunction)(v)&&v(this),this.e.on(this.container,"close_dialog",this.close).on(this.ow,"keydown",this.__onEsc).on(this.ow,"resize",this.__onResize),this.o.closeOnClickOverlay){const t=this.getElm("overlay");(0,p.assert)(null!=t,"Overlay element does not exist"),this.e.on(t,"click",this.close)}}};y.defaultOptions={...m.View.defaultOptions,closeOnClickOverlay:!1,closeOnEsc:!0},v([a.autobind],y.prototype,"__onMouseUp",null),v([a.autobind],y.prototype,"__onHeaderMouseDown",null),v([a.autobind],y.prototype,"__onMouseMove",null),v([a.autobind],y.prototype,"__onEsc",null),v([a.autobind],y.prototype,"__onResizerMouseDown",null),v([a.autobind],y.prototype,"close",null),v([(0,a.hook)("ready")],y.prototype,"buildToolbar",null),y=o=v([a.component],y)},78614:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M352 832q0 14-9 23l-288 288q-9 9-23 9-13 0-22.5-9.5t-9.5-22.5v-576q0-13 9.5-22.5t22.5-9.5q14 0 23 9l288 288q9 9 9 23zm1440 480v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/> </svg> '},78644:function(t,i,n){"use strict";n.d(i,{ToolbarButton:function(){return I}});var o=n(78213),r=n(45219),s=n(33433),a=n(87325),l=n(37133),c=n(2748),u=n(68345),d=n(23282),h=n(19306),p=n(72430),f=n(70799),m=n(56175),g=n(87058),b=n(38837),v=n(29960),y=n(37790),w=n(62843),_=n(72157),C=n(12153),k=n(56917),S=n(21491),x=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let I=class t extends w.UIButton{className(){return"ToolbarButton"}getRole(){return"listitem"}updateAriaLabel(){if(super.updateAriaLabel(),this.trigger){let t=this.state.tooltip?this.jodit.i18n(this.state.tooltip):null;(0,v.attr)(this.trigger,"aria-label",t)}}get toolbar(){let t=(0,a.getComponentClass)("ToolbarCollection");return this.closest(t)}update(){var t,i;let{control:n,state:o}=this,r=this.toolbar;if(!r)return;let s=null==(t=n.value)?void 0:t.call(n,r.jodit,this);void 0!==s&&(o.value=s),o.disabled=this.__calculateDisabledStatus(r),o.activated=this.__calculateActivatedStatus(r),null==(i=n.update)||i.call(n,r.jodit,this)}__calculateActivatedStatus(t){var i,n;return(!(0,h.isJoditObject)(this.j)||!!this.j.editorIsActive)&&(null!=(n=(i=this.control).isActive)&&!!n.call(i,this.j,this)||!!(t&&t.shouldBeActive(this)))}__calculateDisabledStatus(t){var i,n;return!!(this.j.o.disabled||this.j.o.readonly&&(!this.j.o.activeButtonsInReadOnly||!this.j.o.activeButtonsInReadOnly.includes(this.control.name))||(null==(n=(i=this.control).isDisabled)?void 0:n.call(i,this.j,this)))||!!(t&&t.shouldBeDisabled(this))}onChangeActivated(){(0,v.attr)(this.button,"aria-pressed",this.state.activated),super.onChangeActivated()}onChangeText(){(0,d.isFunction)(this.control.template)?this.text.innerHTML=this.control.template(this.j,this.control.name,this.j.i18n(this.state.text)):super.onChangeText(),this.setMod("text-icons",!!this.text.innerText.trim().length)}onChangeTabIndex(){(0,v.attr)(this.button,"tabindex",this.state.tabIndex)}createContainer(){let t=this.componentName,i=this.j.c.span(t),n=super.createContainer();n.classList.remove(t),n.classList.add(t+"__button"),Object.defineProperty(n,"component",{value:this}),i.appendChild(n);let o=this.j.c.fromHTML(`<span role="button" aria-haspopup="true" aria-expanded="false" class="${t}__trigger">${C.Icon.get("chevron")}</span>`);return n.appendChild(o),i}focus(){var t;null==(t=this.container.querySelector("button"))||t.focus()}onChangeHasTrigger(){this.state.hasTrigger?this.container.appendChild(this.trigger):c.Dom.safeRemove(this.trigger),this.setMod("with-trigger",this.state.hasTrigger||null)}onChangeDisabled(){let t=this.state.disabled?"disabled":null;(0,v.attr)(this.trigger,"disabled",t),(0,v.attr)(this.button,"disabled",t),(0,v.attr)(this.container,"disabled",t)}__initFromControl(){var t;let{control:i,state:n}=this;this.updateSize(),n.name=i.name;let{textIcons:o}=this.j.o;if(!0===o||(0,d.isFunction)(o)&&o(i.name)||i.template)n.icon=(0,w.UIButtonState)().icon,n.text=i.text||i.name;else{if(i.iconURL)n.icon.iconURL=i.iconURL;else{let o=i.icon||i.name;n.icon.name=C.Icon.exists(o)||(null==(t=this.j.o.extraIcons)?void 0:t[o])?o:""}i.iconURL||n.icon.name||(n.text=i.text||i.name)}i.tooltip&&(n.tooltip=(0,d.isFunction)(i.tooltip)?i.tooltip(this.j,i,this):i.tooltip),n.hasTrigger=!!(i.list||i.popup&&i.exec)}onTriggerClick(t){var i,n,o;if(this.openedPopup)return void this.__closePopup();let{control:r}=this;if((0,v.attr)(this.trigger,"aria-expanded",!0),t.buffer={actionTrigger:this},r.list)return this.__openControlList(r);if((0,d.isFunction)(r.popup)){let t=this.openPopup();t.parentElement=this;try{if(!1!==this.j.e.fire((0,g.camelCase)(`before-${r.name}-open-popup`),this.target,r,t)){let s=null!=(o=null!=(n=null==(i=this.toolbar)?void 0:i.getTarget(this))?n:this.target)?o:null,a=r.popup(this.j,s,this.__closePopup,this);a?t.setContent((0,f.isString)(a)?this.j.c.fromHTML(a):a).open(()=>(0,m.position)(this.container),!1,this.j.o.allowTabNavigation?this.container:void 0):this.__closePopup()}}catch(t){throw this.__closePopup(),t}this.j.e.fire((0,g.camelCase)(`after-${r.name}-open-popup`),t.container)}}__openControlList(t){var i;let n=null!=(i=this.jodit.options.controls)?i:{},o=t=>(0,_.findControlType)(t,n),r=t.list,s=this.openPopup(),a=(0,S.makeCollection)(this.j);s.parentElement=this,a.parentElement=s,a.mode="vertical";let l=(i,n)=>{let r;if((0,f.isString)(n)&&o(n))return{name:n.toString(),...o(n)};if((0,f.isString)(i)&&o(i))return{name:i.toString(),...o(i),..."object"==typeof n?n:{}};r=i,(0,p.isPlainObject)(r)&&"title"in r&&"value"in r&&(n=i.value,i=i.title);let{childTemplate:s}=t,a={name:i.toString(),template:s&&((t,i,n)=>s(t,i,n,this)),exec:t.childExec?(i,n,o)=>{var r;return null==(r=t.childExec)?void 0:r.call(t,i,n,{...o,parentControl:t})}:t.exec,data:t.data,command:t.command,isActive:t.isChildActive,value:t.value,isDisabled:t.isChildDisabled,mode:t.mode,args:[...t.args?t.args:[],i,n]};return(0,f.isString)(n)&&(a.text=n),a};a.build((0,u.isArray)(r)?r.map(l):(0,y.keys)(r,!1).map(t=>l(t,r[t])),this.target),s.setContent(a).open(()=>(0,m.position)(this.container),!1,this.j.o.allowTabNavigation?this.container:void 0),this.state.activated=!0}onOutsideClick(t){this.openedPopup&&(t&&c.Dom.isNode(t.target)&&(c.Dom.isOrContains(this.container,t.target)||this.openedPopup.isOwnClick(t))||this.__closePopup())}openPopup(){return this.__closePopup(),this.openedPopup=new k.Popup(this.j,!1),this.j.e.on(this.ow,"mousedown touchstart",this.onOutsideClick).on("escape closeAllPopups",this.onOutsideClick),this.openedPopup}__closePopup(){this.openedPopup&&(this.j.e.off(this.ow,"mousedown touchstart",this.onOutsideClick).off("escape closeAllPopups",this.onOutsideClick),this.state.activated=!1,this.openedPopup.close(),this.openedPopup.destruct(),this.openedPopup=null,this.trigger&&(0,v.attr)(this.trigger,"aria-expanded",!1))}onClick(t){var i,n,o,r,s,a,l;let{control:c}=this;if((0,d.isFunction)(c.exec)){let u=null!=(o=null!=(n=null==(i=this.toolbar)?void 0:i.getTarget(this))?n:this.target)?o:null,d=c.exec(this.j,u,{control:c,originalEvent:t,button:this});if(!1!==d&&!0!==d&&(null==(s=null==(r=this.j)?void 0:r.e)||s.fire("synchro"),this.parentElement&&this.parentElement.update(),null==(l=null==(a=this.j)?void 0:a.e)||l.fire("closeAllPopups afterExec")),!1!==d)return}return c.list?this.__openControlList(c):(0,d.isFunction)(c.popup)?this.onTriggerClick(t):void((c.command||c.name)&&((0,y.call)((0,h.isJoditObject)(this.j)?this.j.execCommand.bind(this.j):this.j.od.execCommand.bind(this.j.od),c.command||c.name,!1,c.args&&c.args[0]),this.j.e.fire("closeAllPopups")))}destruct(){return this.__closePopup(),super.destruct()}constructor(t,i,n=null){super(t),this.control=i,this.target=n,this.state={...(0,w.UIButtonState)(),theme:"toolbar",currentValue:"",hasTrigger:!1},this.openedPopup=null;const r=this.getElm("button");(0,b.assert)(r,"Element button should exists"),this.button=r,Object.defineProperty(r,"component",{value:this,configurable:!0});const s=this.getElm("trigger");(0,b.assert)(s,"Element trigger should exists"),this.trigger=s,s.remove(),t.e.on([this.button,this.trigger],"mousedown",t=>t.preventDefault()),this.onAction(this.onClick),this.hookStatus(o.STATUSES.ready,()=>{this.__initFromControl(),this.update()}),i.mods&&Object.keys(i.mods).forEach(t=>{i.mods&&this.setMod(t,i.mods[t])})}};x([s.cacheHTML],I.prototype,"createContainer",null),x([(0,l.watch)("state.hasTrigger",{immediately:!1})],I.prototype,"onChangeHasTrigger",null),x([(0,l.watch)("trigger:click")],I.prototype,"onTriggerClick",null),x([r.autobind],I.prototype,"onOutsideClick",null),x([r.autobind],I.prototype,"__closePopup",null),I=x([a.component],I)},78717:function(t,i,n){"use strict";var o=n(75352),r=n(91140);i.default={...o,execute:r.execute}},78720:function(t,i,n){"use strict";n.d(i,{checkBlockNesting:function(){return r}});var o=n(2748);function r(t,i){if(o.Dom.isFragment(i)&&(i=i.firstChild),t.o.dtd.checkBlockNesting&&o.Dom.isBlock(i)){let i=o.Dom.furthest(t.s.current(),o.Dom.isBlock,t.editor);i&&!t.o.dtd.blockLimits[i.tagName.toLowerCase()]&&(t.s.setCursorAfter(i),o.Dom.isEmpty(i)&&o.Dom.safeRemove(i))}}},78777:function(t){t.exports={"Show Blocks":"תראה רחובות"}},78818:function(t,i,n){"use strict";n.d(i,{History:function(){return u}});var o=n(80480),r=n(81577),s=n(6441),a=n(92643),l=n(52604),c=n(57034);s.Config.prototype.history={enable:!0,maxHistoryLength:1/0,timeout:1e3};class u extends o.ViewComponent{className(){return"History"}redo(){this.__stack.redo()&&(this.startValue=this.snapshot.make(),this.fireChangeStack())}canRedo(){return this.__stack.canRedo()}undo(){this.__stack.undo()&&(this.startValue=this.snapshot.make(),this.fireChangeStack())}canUndo(){return this.__stack.canUndo()}clear(){this.startValue=this.snapshot.make(),this.__stack.clear(),this.fireChangeStack()}get length(){return this.__stack.length}get startValue(){return this.__startValue}set startValue(t){this.__startValue=t}__upTick(){this.updateTick+=1}onChange(){this.__processChanges()}__processChanges(){!this.snapshot.isBlocked&&this.j.o.history.enable&&this.updateStack()}updateStack(t=!1){let i=this.snapshot.make();if(!l.Snapshot.equal(i,this.startValue)){let n=new a.Command(this.startValue,i,this,this.updateTick);if(t){let t=this.__stack.current();t&&this.updateTick===t.tick&&this.__stack.replace(n)}else this.__stack.push(n);this.startValue=i,this.fireChangeStack()}}fireChangeStack(){var t;this.j&&!this.j.isInDestruct&&(null==(t=this.j.events)||t.fire("changeStack"))}destruct(){this.isInDestruct||(this.j.events&&this.j.e.off(".history"),this.snapshot.destruct(),super.destruct())}constructor(t,i=new c.Stack(t.o.history.maxHistoryLength),n=new l.Snapshot(t)){super(t),this.updateTick=0,this.__stack=i,this.snapshot=n,t.o.history.enable&&t.e.on("afterAddPlace.history",()=>{this.isInDestruct||(this.startValue=this.snapshot.make(),t.events.on("internalChange internalUpdate",()=>{this.startValue=this.snapshot.make()}).on(t.editor,["changeSelection","selectionstart","selectionchange","mousedown","mouseup","keydown","keyup"].map(t=>t+".history").join(" "),()=>{this.startValue.html===this.j.getNativeEditorValue()&&(this.startValue=this.snapshot.make())}).on(this,"change.history",this.onChange))})}}!function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);s>3&&a&&Object.defineProperty(i,n,a)}([(0,r.debounce)()],u.prototype,"onChange",null)},78879:function(t){t.exports='<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <g> <rect rx="10" height="1620" width="1620" y="79.646973" x="80" stroke-width="100" stroke-dasharray="8% 10%" fill="none"/> <path d="m1333.992706,381.692384l0,52.982419q0,21.04781 -12.98052,44.272981t-29.820114,23.22517q-35.082487,0 -37.889085,0.725787q-18.242893,4.354719 -22.452791,22.499384q-2.104949,7.983652 -2.104949,46.45034l0,836.106125q0,18.144664 -12.629695,31.208822t-30.170938,13.064158l-75.778171,0q-17.541243,0 -30.170938,-13.064158t-12.629695,-31.208822l0,-884.008038l-100.335911,0l0,884.008038q0,18.144664 -12.27887,31.208822t-30.521763,13.064158l-75.778171,0q-18.242893,0 -30.521763,-13.064158t-12.27887,-31.208822l0,-359.990137q-103.14251,-8.709439 -171.904184,-42.821407q-88.407866,-42.095621 -134.716748,-129.915795q-44.905583,-84.917028 -44.905583,-187.978721q0,-120.48057 61.745176,-207.574958q61.745176,-85.642815 146.644794,-115.400064q77.88312,-26.854103 292.587937,-26.854103l336.090221,0q17.541243,0 30.170938,13.064158t12.629695,31.208822z"/> </g> </svg>'},78927:function(t,i,n){"use strict";n.d(i,{idle:function(){return a}});var o=n(91907),r=n(23282),s=n(89890);function a(){return(t,i)=>{if(!(0,r.isFunction)(t[i]))throw(0,s.error)("Handler must be a Function");t.hookStatus(o.STATUSES.ready,t=>{let{async:n}=t,o=t[i];t[i]=(...i)=>n.requestIdleCallback(o.bind(t,...i))})}}},78955: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="3.5" width="9" height="9" rx="1.5" fill="none"/> <rect x="2" y="14.5" width="9" height="9" rx="1.5" fill="none"/> <rect x="13" y="14.5" width="9" height="9" rx="1.5" fill="none"/> <rect x="13" y="3.5" width="9" height="9" rx="1.5" fill="currentColor" transform="rotate(45 17.5 8)"/> </svg>'},79078:function(t,i,n){"use strict";async function o(t,i,n){let o={...i};try{let t=new AbortController().signal,r=await n.executeTool(i.name,i.arguments,t);o={...i,result:{result:r},status:"executed"}}catch(n){o={...i,result:{error:n instanceof Error?n.message:n+""},status:"error"},t.e.fire("toolCallFailed.ai-assistant-pro",o)}return t.e.fire("toolCallExecuted.ai-assistant-pro",o,{toolCallId:o.id,result:o.result}),o}function r(t,i){let n=t.toolCalls?.findIndex(t=>t.id===i.id);if(null==n||-1===n)return t;let o=[...t?.toolCalls??[]];return o[n]=i,{...t,toolCalls:o}}n.d(i,{executeToolCall:function(){return o},updateToolCallInMessage:function(){return r}})},79348:function(t,i,n){"use strict";n.d(i,{Selection:function(){return f}});var o=n(82758),r=n(65478),s=n(2748),a=n(21537),l=n(27613),c=n(38837),u=n(43463),d=n(25639),h=n(45124),p=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class f{get j(){return this.jodit}errorNode(t){if(!s.Dom.isNode(t))throw(0,a.error)("Parameter node must be instance of Node")}get area(){return this.j.editor}get win(){return this.j.ew}get doc(){return this.j.ed}get sel(){return this.j.o.shadowRoot&&(0,l.isFunction)(this.j.o.shadowRoot.getSelection)?this.j.o.shadowRoot.getSelection():this.win.getSelection()}get range(){let t=this.sel;return t&&t.rangeCount?t.getRangeAt(0):this.createRange()}get isInsideArea(){let{sel:t}=this,i=(null==t?void 0:t.rangeCount)?t.getRangeAt(0):null;return!(!i||!s.Dom.isOrContains(this.area,i.startContainer))}createRange(t=!1){let i=this.doc.createRange();return t&&this.selectRange(i),i}remove(){let t=this.sel,i=this.current();if(t&&i)for(let i=0;i<t.rangeCount;i+=1)t.getRangeAt(i).deleteContents(),t.getRangeAt(i).collapse(!0)}clear(){var t,i;(null==(t=this.sel)?void 0:t.rangeCount)&&(null==(i=this.sel)||i.removeAllRanges())}removeNode(t){if(!s.Dom.isOrContains(this.j.editor,t,!0))throw(0,a.error)("Selection.removeNode can remove only editor's children");s.Dom.safeRemove(t),this.j.e.fire("afterRemoveNode",t)}insertCursorAtPoint(t,i){this.removeMarkers();try{let n=this.createRange();return(()=>{if(this.doc.caretPositionFromPoint){let o=this.doc.caretPositionFromPoint(t,i);if(o)return n.setStart(o.offsetNode,o.offset)}if(this.doc.caretRangeFromPoint){let o=this.doc.caretRangeFromPoint(t,i);(0,c.assert)(o,"Incorrect caretRangeFromPoint behaviour"),n.setStart(o.startContainer,o.startOffset)}})(),n.collapse(!0),this.selectRange(n),!0}catch(t){}return!1}get hasMarkers(){return!!this.markers.length}get markers(){return(0,a.$$)("span[data-"+o.MARKER_CLASS+"]",this.area)}removeMarkers(){s.Dom.safeRemove.apply(null,this.markers)}marker(t=!1,i){let n=null;i&&(n=i.cloneRange()).collapse(t);let r=this.j.createInside.span();return r.id=o.MARKER_CLASS+"_"+Number(new Date)+"_"+(Math.random()+"").slice(2),r.style.lineHeight="0",r.style.display="none",s.Dom.markTemporary(r),(0,a.attr)(r,"data-"+o.MARKER_CLASS,t?"start":"end"),r.appendChild(this.j.createInside.text(o.INVISIBLE_SPACE)),n&&s.Dom.isOrContains(this.area,t?n.startContainer:n.endContainer)&&n.insertNode(r),r}restore(){let t=!1,i=t=>`span[data-${o.MARKER_CLASS}=${t?"start":"end"}]`,n=this.area.querySelector(i(!0)),r=this.area.querySelector(i(!1));if(n){if(t=this.createRange(),r)t.setStartAfter(n),s.Dom.safeRemove(n),t.setEndBefore(r),s.Dom.safeRemove(r);else{let i=n.previousSibling;s.Dom.isText(i)?t.setStart(i,i.nodeValue?i.nodeValue.length:0):t.setStartBefore(n),s.Dom.safeRemove(n),t.collapse(!0)}t&&this.selectRange(t)}}fakes(){let t=this.sel;if(!t||!t.rangeCount)return[];let i=t.getRangeAt(0);(0,c.assert)(i,"Range is null");let n=i.cloneRange();n.collapse(!0);let o=this.j.createInside.fake();s.Dom.safeInsertNode(n,o),i.setStartBefore(o);let r=[o];if(!i.collapsed){let t=i.cloneRange();t.collapse(!1);let n=this.j.createInside.fake();s.Dom.safeInsertNode(t,n),i.setEndAfter(n),r.push(n)}return this.selectRange(i),r}restoreFakes(t){var i,n,o,r;let a=t.filter(t=>t.isConnected);if(!a.length)return;let[l,c]=a,u=this.createRange();u.setStartAfter(l),c&&u.setEndBefore(c),this.selectRange(u),(null==(i=l.parentNode)?void 0:i.firstChild)!==(null==(n=l.parentNode)?void 0:n.lastChild)&&s.Dom.safeRemove(l),(null==(o=null==c?void 0:c.parentNode)?void 0:o.firstChild)!==(null==(r=null==c?void 0:c.parentNode)?void 0:r.lastChild)&&s.Dom.safeRemove(c)}save(t=!1){if(this.hasMarkers)return[];let i=this.sel;if(!i||!i.rangeCount)return[];let n=[],o=i.rangeCount,r=[];for(let t=0;o>t;t+=1)if(r[t]=i.getRangeAt(t),r[t].collapsed){let i=this.marker(!0,r[t]);n[t]={startId:i.id,collapsed:!0,startMarker:i.outerHTML}}else{let i=this.marker(!0,r[t]),o=this.marker(!1,r[t]);n[t]={startId:i.id,endId:o.id,collapsed:!1,startMarker:i.outerHTML,endMarker:o.outerHTML}}if(!t){i.removeAllRanges();for(let t=o-1;t>=0;--t){let o=this.doc.getElementById(n[t].startId);if(o){if(n[t].collapsed)r[t].setStartAfter(o),r[t].collapse(!0);else if(r[t].setStartBefore(o),n[t].endId){let i=this.doc.getElementById(n[t].endId);i&&r[t].setEndAfter(i)}try{i.addRange(r[t].cloneRange())}catch(t){}}}}return n}focus(t={preventScroll:!0}){var i,n;if(!this.isFocused()){let o=(0,a.getScrollParent)(this.j.container),r=null==o?void 0:o.scrollTop;this.j.iframe&&"complete"===this.doc.readyState&&this.j.iframe.focus(t),this.win.focus(),this.area.focus(t),r&&(null==o?void 0:o.scrollTo)&&o.scrollTo(0,r);let l=this.sel,c=(null==l?void 0:l.rangeCount)?null==l?void 0:l.getRangeAt(0):null;if(!c||!s.Dom.isOrContains(this.area,c.startContainer)){let t=this.createRange();t.setStart(this.area,0),t.collapse(!0),this.selectRange(t,!1)}return this.j.editorIsActive||null==(n=null==(i=this.j)?void 0:i.events)||n.fire("focus"),!0}return!1}isCollapsed(){let t=this.sel;for(let i=0;t&&i<t.rangeCount;i+=1)if(!t.getRangeAt(i).collapsed)return!1;return!0}isFocused(){return this.doc.hasFocus&&this.doc.hasFocus()&&this.area===this.doc.activeElement}current(t=!0){if(this.j.getRealMode()!==o.MODE_WYSIWYG)return null;let i=this.sel;if(!i||0===i.rangeCount)return null;let n=i.getRangeAt(0),r=n.startContainer,a=!1;if(s.Dom.isTag(r,"br")&&i.isCollapsed)return r;if(!s.Dom.isText(r)){let o=(0,h.findCorrectCurrentNode)(r,n,a,i.isCollapsed,t,t=>a?t.lastChild:t.firstChild);r=o.node,a=o.rightMode}return r&&s.Dom.isOrContains(this.area,r)?r:null}insertNode(t,i=!0,n=!0){this.errorNode(t);let o=s.Dom.isFragment(t)?t.lastChild:t;this.j.e.fire("safeHTML",t),!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore());let r=this.sel;this.j.history.snapshot.transaction(()=>{if(this.isCollapsed()||this.j.execCommand("Delete"),this.j.e.fire("beforeInsertNode",t),r&&r.rangeCount){let i=r.getRangeAt(0),{firstChild:n}=t;s.Dom.isOrContains(this.area,i.commonAncestorContainer)?s.Dom.safeInsertNode(i,t):this.area.appendChild(t),[()=>null==n?void 0:n.previousSibling,()=>null==n?void 0:n.previousSibling,()=>{var t;return null==(t=null==n?void 0:n.previousSibling)?void 0:t.lastChild}].forEach(t=>{let i=t();i&&s.Dom.isEmptyTextNode(i)&&s.Dom.safeRemove(i)})}else this.area.appendChild(t);let n=t=>{if(s.Dom.isBlock(t)){let i=t.lastChild;if(i)return n(i)}this.setCursorAfter(t)};i&&(s.Dom.isFragment(t)?o&&n(o):n(t)),this.j.o.scrollToPastedContent&&(0,a.scrollIntoViewIfNeeded)(null!=o?o:t,this.j.editor,this.doc)}),n&&this.j.events&&this.j.__imdSynchronizeValues(),this.j.events&&this.j.e.fire("afterInsertNode",s.Dom.isFragment(t)?o:t)}insertHTML(t,i=!0){if(""===t)return;let n=this.j.createInside.div(),o=this.j.createInside.fragment();if(!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore()),s.Dom.isNode(t)?n.appendChild(t):n.innerHTML=t.toString(),(this.j.isEditorMode()||!1!==this.j.e.fire("insertHTML",n.innerHTML))&&n.lastChild){for(;n.firstChild;)n.firstChild,o.appendChild(n.firstChild);this.insertNode(o,i,!1),this.j.__imdSynchronizeValues()}}insertImage(t,i=null,n=null){let o=(0,l.isString)(t)?this.j.createInside.element("img"):t;if((0,l.isString)(t)&&o.setAttribute("src",t),null!=n){let t=n.toString();t&&"auto"!==t&&0>(t+"").indexOf("px")&&0>(t+"").indexOf("%")&&(t+="px"),(0,a.attr)(o,"width",t)}i&&"object"==typeof i&&(0,a.css)(o,i);let r=()=>{(o.naturalHeight<o.offsetHeight||o.naturalWidth<o.offsetWidth)&&(o.style.width="",o.style.height=""),o.removeEventListener("load",r)};this.j.e.on(o,"load",r),o.complete&&r(),this.insertNode(o),this.j.e.fire("afterInsertImage",o)}eachSelection(t){var i;let n=this.sel;if(!n||!n.rangeCount)return;let r=n.getRangeAt(0),c=r.commonAncestorContainer;s.Dom.isHTMLElement(c)||(c=c.parentElement);let u=[],d=r.startOffset,h=c.childNodes.length,p=r.startContainer===this.area?c.childNodes[d<h?d:h-1]:r.startContainer,f=r.endContainer===this.area?c.childNodes[r.endOffset-1]:r.endContainer;s.Dom.isText(p)&&p===r.startContainer&&r.startOffset===(null==(i=p.nodeValue)?void 0:i.length)&&p.nextSibling&&(p=p.nextSibling),s.Dom.isText(f)&&f===r.endContainer&&0===r.endOffset&&f.previousSibling&&(f=f.previousSibling);let m=t=>{!t||t===c||s.Dom.isEmptyTextNode(t)||(0,l.isMarker)(t)||u.push(t)};m(p),p!==f&&s.Dom.isOrContains(c,p,!0)&&s.Dom.find(p,t=>(m(t),t===f||t&&t.contains&&t.contains(f)),c,!0,!1);let g=i=>{if(s.Dom.isOrContains(this.j.editor,i,!0)){if(i.nodeName.match(/^(UL|OL)$/))return(0,a.toArray)(i.childNodes).forEach(g);if(s.Dom.isTag(i,"li"))if(i.firstChild)i=i.firstChild;else{let t=this.j.createInside.text(o.INVISIBLE_SPACE);i.appendChild(t),i=t}t(i)}};0===u.length&&(s.Dom.isEmptyTextNode(p)&&u.push(p),p.firstChild&&u.push(p.firstChild)),u.forEach(g)}cursorInTheEdge(t,i,n=null){var o;let r=!t,l=null==(o=this.sel)?void 0:o.getRangeAt(0);if(null!=n||(n=this.current(!1)),!l||!n||!s.Dom.isOrContains(i,n,!0))return null;let c=t?l.startContainer:l.endContainer,u=t?l.startOffset:l.endOffset,d=t=>!!(t&&!s.Dom.isTag(t,"br")&&!s.Dom.isEmptyTextNode(t)&&!s.Dom.isTemporary(t)&&!(s.Dom.isElement(t)&&!0===this.j.e.fire("isInvisibleForCursor",t)));if(s.Dom.isText(c)){if((0,h.cursorInTheEdgeOfString)(c,u,t,r))return!1}else{let t=(0,a.toArray)(c.childNodes);if(r){if(t.slice(u).some(d))return!1}else if(t.slice(0,u).some(d))return!1}let p=n;for(;p&&p!==i;){let i=s.Dom.sibling(p,t);if(!i){p=p.parentNode;continue}if((p=i)&&d(p))return!1}return!0}cursorOnTheLeft(t,i){return this.cursorInTheEdge(!0,t,i)}cursorOnTheRight(t,i){return this.cursorInTheEdge(!1,t,i)}setCursorAfter(t){return this.setCursorNearWith(t,!1)}setCursorBefore(t){return this.setCursorNearWith(t,!0)}setCursorNearWith(t,i){var n,o;if(this.errorNode(t),!s.Dom.up(t,t=>t===this.area||t&&t.parentNode===this.area,this.area))throw(0,a.error)("Node element must be in editor");let r=this.createRange(),l=null;return s.Dom.isText(t)?i?r.setStart(t,0):r.setEnd(t,null!=(o=null==(n=t.nodeValue)?void 0:n.length)?o:0):(l=this.j.createInside.fake(),i?r.setStartBefore(t):r.setEndAfter(t),r.collapse(i),s.Dom.safeInsertNode(r,l),r.selectNode(l)),r.collapse(i),this.selectRange(r),l}setCursorIn(t,i=!1){if(this.errorNode(t),!s.Dom.up(t,t=>t===this.area||t&&t.parentNode===this.area,this.area))throw(0,a.error)("Node element must be in editor");let n=this.createRange(),r=t,l=t;do{if(s.Dom.isText(r)||s.Dom.isTag(r,o.INSEPARABLE_TAGS))break;l=r,r=i?r.firstChild:r.lastChild}while(r)if(!r){let t=this.j.createInside.text(o.INVISIBLE_SPACE);s.Dom.isTag(l,o.INSEPARABLE_TAGS)?r=l:(l.appendChild(t),l=t)}let c=r||l;return s.Dom.isTag(c,o.INSEPARABLE_TAGS)?i||s.Dom.isTag(c,"br")?n.setStartBefore(c):n.setEndAfter(c):n.selectNodeContents(c),n.collapse(i),this.selectRange(n),l}selectRange(t,i=!0){let n=this.sel;return i&&!this.isFocused()&&this.focus(),n&&(n.removeAllRanges(),n.addRange(t)),this.j.e.fire("changeSelection"),this}select(t,i=!1){if(this.errorNode(t),!s.Dom.up(t,t=>t===this.area||t&&t.parentNode===this.area,this.area))throw(0,a.error)("Node element must be in editor");let n=this.createRange();return n[i?"selectNodeContents":"selectNode"](t),this.selectRange(n)}get html(){let t=this.sel;if(t&&t.rangeCount>0){let i=t.getRangeAt(0).cloneContents(),n=this.j.createInside.div();return n.appendChild(i),n.innerHTML}return""}*wrapInTagGen(t){if(this.isCollapsed()){let i=this.jodit.createInside.element("font",o.INVISIBLE_SPACE);this.insertNode(i,!1,!1),t&&t[0]&&i.appendChild(t[0]),yield i,s.Dom.unwrap(i);return}for(let t of((0,a.$$)("*[style*=font-size]",this.area).forEach(t=>{(0,a.attr)(t,"data-font-size",t.style.fontSize.toString()),t.style.removeProperty("font-size")}),this.j.nativeExecCommand("fontsize",!1,"7"),(0,a.$$)("*[data-font-size]",this.area).forEach(t=>{let i=(0,a.attr)(t,"data-font-size");i&&(t.style.fontSize=i,(0,a.attr)(t,"data-font-size",null))}),(0,a.$$)('font[size="7"]',this.area))){let{firstChild:i,lastChild:n}=t;if(i&&i===n&&(0,l.isMarker)(i)){s.Dom.unwrap(t);continue}i&&(0,l.isMarker)(i)&&s.Dom.before(t,i),n&&(0,l.isMarker)(n)&&s.Dom.after(t,n),yield t,s.Dom.unwrap(t)}}wrapInTag(t){let i=[];for(let n of this.wrapInTagGen())try{if(n.firstChild&&n.firstChild===n.lastChild&&(0,l.isMarker)(n.firstChild))continue;(0,l.isFunction)(t)?t(n):i.push(s.Dom.replace(n,t,this.j.createInside))}finally{let t=n.parentNode;t&&(s.Dom.unwrap(n),s.Dom.isEmpty(t)&&s.Dom.unwrap(t))}return i}commitStyle(t){(0,c.assert)((0,a.size)(t)>0,"Need to pass at least one option"),new d.CommitStyle(t).apply(this.j)}splitSelection(t,i){if(!this.isCollapsed())return null;let n=this.createRange(),r=this.range;n.setStartBefore(t);let a=this.cursorOnTheRight(t,i),l=this.cursorOnTheLeft(t,i),u=this.j.createInside.element("br"),d=this.j.createInside.fake(),h=d.cloneNode();try{if(a||l){i?s.Dom.before(i,u):s.Dom.safeInsertNode(r,u);let t=(t,i)=>{let n=i(t);for(;n;){let t=i(n);if(n&&(s.Dom.isTag(n,"br")||s.Dom.isEmptyTextNode(n)))s.Dom.safeRemove(n);else break;n=t}};t(u,t=>t.nextSibling),t(u,t=>t.previousSibling),s.Dom.after(u,h),s.Dom.before(u,d),a?(n.setEndBefore(u),r.setEndBefore(u)):(n.setEndAfter(u),r.setEndAfter(u))}else n.setEnd(r.startContainer,r.startOffset);let p=n.extractContents(),f=t=>s.Dom.each(t,t=>s.Dom.isEmptyTextNode(t)&&s.Dom.safeRemove(t));(0,c.assert)(t.parentNode,"Splitting fails");try{if(f(p),f(t),t.parentNode.insertBefore(p,t),!i&&a&&(null==u?void 0:u.parentNode)){let t=this.createRange();t.setStartBefore(u),this.selectRange(t)}}catch(t){if(!o.IS_PROD)throw t}let m=t=>{var i,n,o;(null==(i=null==t?void 0:t.parentNode)?void 0:i.firstChild)===(null==(n=null==t?void 0:t.parentNode)?void 0:n.lastChild)&&(null==(o=null==t?void 0:t.parentNode)||o.appendChild(u.cloneNode()))};m(d),m(h)}finally{s.Dom.safeRemove(d),s.Dom.safeRemove(h)}return t.previousElementSibling}expandSelection(){if(this.isCollapsed())return this;let{range:t}=this,i=t.cloneRange();if(!s.Dom.isOrContains(this.j.editor,t.commonAncestorContainer,!0))return this;let n=i=>{let n=this.j.createInside.fake(),o=t.cloneRange();return o.collapse(i),s.Dom.safeInsertNode(o,n),(0,u.moveTheNodeAlongTheEdgeOutward)(n,i,this.j.editor),n},o=n(!0),r=n(!1);i.setStartAfter(o),i.setEndBefore(r);let l=s.Dom.findSibling(o,!1),c=s.Dom.findSibling(r,!0);if(l!==c){let t=s.Dom.isElement(l)&&s.Dom.isOrContains(l,r),n=!t&&s.Dom.isElement(c)&&s.Dom.isOrContains(c,o);if(t||n){let n=t?l:c,a=n;for(;s.Dom.isElement(n);)(n=t?n.firstElementChild:n.lastElementChild)&&(t?s.Dom.isOrContains(n,r):s.Dom.isOrContains(n,o))&&(a=n);t?i.setStart(a,0):i.setEnd(a,a.childNodes.length)}}if(this.selectRange(i),s.Dom.safeRemove(o,r),this.isCollapsed())throw(0,a.error)("Selection is collapsed");return this}constructor(t){this.jodit=t,t.e.on("removeMarkers",()=>{this.removeMarkers()})}}p([r.autobind],f.prototype,"createRange",null),p([r.autobind],f.prototype,"focus",null),p([r.autobind],f.prototype,"setCursorAfter",null),p([r.autobind],f.prototype,"setCursorBefore",null),p([r.autobind],f.prototype,"setCursorIn",null)},79419:function(t,i,n){"use strict";var o=n(12153),r=n(6441),s=n(94775),a=n(23140),l=n(92699),c=n(10052);r.Config.prototype.controls.cut={command:"cut",isDisabled:t=>t.s.isCollapsed(),tooltip:"Cut selection"},r.Config.prototype.controls.copy={command:"copy",isDisabled:t=>t.s.isCollapsed(),tooltip:"Copy selection"},r.Config.prototype.controls.selectall={icon:"select-all",command:"selectall",tooltip:"Select all"},o.Icon.set("copy",s.default).set("cut",a.default).set("paste",l.default).set("select-all",c.default)},79455:function(t,i,n){"use strict";n.d(i,{UISettingsPopup:function(){return u}});var o=n(82749),r=n(31635),s=n(16015),a=n(71102),l=n(65478),c=n(67510);class u extends c.UIElement{className(){return"UISettingsPopup"}async onChangeTheme(){let t=this.state?.theme&&this.state?.theme!=="parent"?this.state?.theme:this.j.o.theme;this.container.classList.remove("jodit_theme_dark","jodit_theme_light"),this.container.classList.add("jodit_theme_"+t)}update(){return this.dialogSettings?.update(),this.globalSettings?.update(),this.updateContent(),super.update()}setParentView(t){return this.globalSettings?.setParentView(t),this.dialogSettings?.setParentView(t),super.setParentView(t)}render(){return`<div class="&__container">
582
582
  <div class="&__header">
583
583
  <h3 class="&__title">~Settings~</h3>
584
584
  </div>
@@ -587,7 +587,7 @@ Please report this to https://github.com/markedjs/marked.`,t){let t="<p>An error
587
587
  <div class='&__wrapper'>
588
588
  <button class='&__button'>css</button>
589
589
  </div>
590
- </div>`}static extractStyle(t,i){let n=i.ownerDocument.defaultView?.getComputedStyle(i)||{},o=(t,i,o,r)=>{let s=n[o];return!s||["none","inherit","initial","unset"].includes(s)?{[o]:!1}:(s.replace(/,\s/g,",").split(/\s+/).forEach(n=>{if(/[0-9.]+(px|pt|em|%)/.test(n)){let o=t.shift();o&&(i[o]=n)}else"inset"===n?i.boxShadowInset=!0:i[r]=n}),i[o]=!0,i)};Object.assign(t,{text:i.innerText,className:i.className,href:i.getAttribute("href")||"",...(()=>{let t={solid:!0,bgStart:n.backgroundColor??"#44c767",bgEnd:n.backgroundColor??"#44c767"},i=n.backgroundImage;if(i&&/linear-gradient/.test(i)){let n=/linear-gradient\((.+)\s+[0-9]+%,\s+(.+)\s+[0-9]+%\)/.exec(i);n&&(t.solid=!1,t.bgStart=n[1]||t.bgStart,t.bgEnd=n[2]||"#5cbf2a")}return t})(),borderColor:n?.borderColor??"#18ab29",borderRadius:n?.borderRadius??0,borderSize:n?.borderWidth??1,...o(["boxShadowOffsetX","boxShadowOffsetY","boxShadowBlurRadius","boxShadowSpreadRadius"],{boxShadowBlurRadius:0,boxShadowColor:"#3dc21b",boxShadowInset:!1,boxShadowOffsetX:0,boxShadowOffsetY:0,boxShadowSpreadRadius:0},"boxShadow","boxShadowColor"),fontColor:n.color,fontFamily:n.fontFamily,fontSize:n.fontSize,fontWeight:"bold"===n.fontWeight,fontItalic:"italic"===n.fontStyle,paddingX:n.paddingLeft,paddingY:n.paddingTop,...o(["textShadowOffsetX","textShadowOffsetY","textShadowBlurRadius"],{textShadowBlurRadius:0,textShadowColor:"#2f6627",textShadowOffsetX:0,textShadowOffsetY:1},"textShadow","textShadowColor")})}constructor(t,i){super(t),(0,o._)(this,"style",void 0),this.style=i,this.__updateStyles()}}(0,r.__decorate)([(0,s.watch)("style")],d.prototype,"__updateStyles",null),d=(0,r.__decorate)([s.component],d)},82558:function(t,i,n){"use strict";n.d(i,{allowAttributes:function(){return r}});var o=n(2748);function r(t,i,n,r){if(r&&o.Dom.isElement(i)&&!0!==r[i.nodeName]){let t=i.attributes;if(t&&t.length){let o=[];for(let n=0;n<t.length;n+=1){let s=r[i.nodeName][t[n].name];s&&(!0===s||s===t[n].value)||o.push(t[n].name)}o.length&&(n=!0),o.forEach(t=>{i.removeAttribute(t)})}}return n}},82749:function(t,i,n){"use strict";function o(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 o}})},82758:function(t,i,n){"use strict";n.r(i),n.d(i,{ACCURACY:function(){return V},APP_VERSION:function(){return o},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 r},FAT_MODE:function(){return u},HOMEPAGE:function(){return d},INSEPARABLE_TAGS:function(){return T},INSERT_AS_HTML:function(){return en},INSERT_AS_TEXT:function(){return er},INSERT_CLEAR_HTML:function(){return eo},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 S},IS_ES_MODERN:function(){return s},IS_ES_NEXT:function(){return a},IS_IE:function(){return X},IS_INLINE:function(){return x},IS_MAC:function(){return el},IS_PROD:function(){return l},IS_TEST:function(){return c},KEY_ALIASES:function(){return ec},KEY_ALT:function(){return M},KEY_BACKSPACE:function(){return L},KEY_DELETE:function(){return H},KEY_DOWN:function(){return O},KEY_ENTER:function(){return P},KEY_ESC:function(){return R},KEY_F3:function(){return U},KEY_LEFT:function(){return z},KEY_META:function(){return j},KEY_RIGHT:function(){return N},KEY_SPACE:function(){return F},KEY_TAB:function(){return D},KEY_UP:function(){return B},LIST_TAGS:function(){return I},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 A},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 _},SPACE_REG_EXP_START:function(){return w},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 k},globalWindow:function(){return C},lang:function(){return eg}});let o="4.9.21",r="es2021",s=!0,a=!0,l=!0,c=!1,u=!0,d="https://xdsoft.net/jodit/pro/",h=()=>c=!0,p={},f="\uFEFF",m=" ",g=()=>/[\uFEFF]/g,b=()=>/[\uFEFF]+$/g,v=()=>/^[\uFEFF]+/g,y=()=>/[\s\n\t\r\uFEFF\u200b]+/g,w=()=>/^[\s\n\t\r\uFEFF\u200b]+/g,_=()=>/[\s\n\t\r\uFEFF\u200b]+$/g,C="u">typeof window?window:void 0,k="u">typeof document?document:void 0,S=/^(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,x=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,I=new Set(["ul","ol"]),E=["img","video","svg","iframe","script","input","textarea","link","jodit","jodit-media"],T=new Set([...E,"br","hr"]),A=new Set(E),j="Meta",L="Backspace",D="Tab",P="Enter",R="Escape",M="Alt",z="ArrowLeft",B="ArrowUp",N="ArrowRight",O="ArrowDown",F="Space",H="Delete",U="F3",q=5,V=10,W=[j,L,H,B,O,N,z,P,R,U,D],$="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",eo="insert_clear_html",er="insert_as_text",es="insert_only_text",ea=10,el=void 0!==C&&/Mac|iPod|iPhone|iPad/.test(C.navigator.platform),ec={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"},eu=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=k.currentScript;if(t)return eu(t.src);let i=k.querySelectorAll("script[src]");return i&&i.length?eu(i[i.length-1].src):eu(C.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 r},options:function(){return a}});var o=n(32880);function r(t){return TypeError(t)}function s(t){return new o.ConnectionError(t)}function a(t){return new o.OptionsError(t)}},83039:function(t,i,n){"use strict";n.d(i,{UIMapsPropsForm:function(){return c}});var o=n(82749),r=n(31635),s=n(65478),a=n(76078),l=n(67510);class c extends l.UIForm{className(){return"UIMapsPropsForm"}onChangeSize(){let{width:t,height:i}=(0,a.refs)(this.container);this.state.size=[parseInt(t?.value,10)||0,parseInt(i?.value,10)||0]}onExternalChangeSize(){let{width:t,height:i}=(0,a.refs)(this.container),[n,o]=this.state.size;n.toString()!==t.value&&(t.value=n.toString()),o.toString()!==i.value&&(i.value=o.toString())}onChangeCenter(){let{lat:t,lng:i}=(0,a.refs)(this.container);this.state.center=[parseFloat(t?.value)||0,parseFloat(i?.value)||0]}onExternalChangeCenter(){let{lat:t,lng:i}=(0,a.refs)(this.container),[n,o]=this.state.center;n.toString()!==t.value&&(t.value=n.toString()),o.toString()!==i.value&&(i.value=o.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){super(t),(0,o._)(this,"state",void 0),this.state=i;const[n,r]=i.size,[s,a]=i.center;this.append([new l.UIInput(t,{label:"Width",name:"width",value:n,type:"number",onChange:this.onChangeSize}),new l.UIInput(t,{label:"Height",name:"height",value:r,type:"number",onChange:this.onChangeSize}),new l.UIInput(t,{label:"Latitude",name:"lat",value:s,onChange:this.onChangeCenter}),new l.UIInput(t,{label:"Longitude",name:"lng",value:a,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:i.layer??"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,r.__decorate)([s.autobind],c.prototype,"onChangeSize",null),(0,r.__decorate)([(0,s.watch)("state.size")],c.prototype,"onExternalChangeSize",null),(0,r.__decorate)([s.autobind],c.prototype,"onChangeCenter",null),(0,r.__decorate)([(0,s.watch)(["state.center"])],c.prototype,"onExternalChangeCenter",null),(0,r.__decorate)([(0,s.watch)(["state.type"])],c.prototype,"onExternalChangeType",null),(0,r.__decorate)([(0,s.watch)(["state.layer"])],c.prototype,"onExternalChangeLayer",null),c=(0,r.__decorate)([s.component],c)},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 o=n(65478),r=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:o,data:a}=this.control;if(o){let l=this.state.value||(a&&(0,s.isString)(a.currentValue)?a.currentValue:void 0);l||(l=Object.keys(o)[0]);let c=((0,r.isPlainObject)(o)&&o[l.toString()]||l).toString();this.state.text=null!=(n=null==(i=(t=this.control).textTemplate)?void 0:i.call(t,this.jodit,c))?n:c}}};l=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([o.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 © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Авторские права © XDSoft.net - Чупурнов Валерий. Все права защищены.",Anchor:"Анкор","Open in new tab":"Открывать ссылку в новой вкладке","Open in fullsize":"Открыть редактор в полном размере","Clear Formatting":"Очистить форматирование","Fill color or set the text color":"Цвет заливки или цвет текста",Redo:"Повтор",Undo:"Отмена",Bold:"Жирный",Italic:"Наклонный","Insert Unordered List":"Вставка маркированного списка","Insert Ordered List":"Вставить нумерованный список","Align Center":"Выровнять по центру","Align Justify":"Выровнять по ширине","Align Left":"Выровнять по левому краю","Align Right":"Выровнять по правому краю","Insert Horizontal Line":"Вставить горизонтальную линию","Insert Image":"Вставить изображение","Insert file":"Вставить файл","Insert youtube/vimeo video":"Вставьте видео","Insert link":"Вставить ссылку","Font size":"Размер шрифта","Font family":"Шрифт","Insert format block":"Вставить блочный элемент",Normal:"Нормальный текст","Heading 1":"Заголовок 1","Heading 2":"Заголовок 2","Heading 3":"Заголовок 3","Heading 4":"Заголовок 4",Quote:"Цитата",Code:"Код",Insert:"Вставить","Insert table":"Вставить таблицу","Decrease Indent":"Уменьшить отступ","Increase Indent":"Увеличить отступ","Select Special Character":"Выберите специальный символ","Insert Special Character":"Вставить специальный символ","Paint format":"Формат краски","Change mode":"Источник",Margins:"Отступы",top:"сверху",right:"справа",bottom:"снизу",left:"слева",Styles:"Стили",Classes:"Классы",Align:"Выравнивание",Right:"По правому краю",Center:"По центру",Left:"По левому краю","--Not Set--":"--не устанавливать--",Src:"src",Title:"Заголовок",Alternative:"Альтернативный текст (alt)",Link:"Ссылка","Open link in new tab":"Открывать ссылку в новом окне",file:"Файл",Advanced:"Расширенные","Image properties":"Свойства изображения",Cancel:"Отмена",Ok:"Ок","Your code is similar to HTML. Keep as HTML?":"Ваш текст, который вы пытаетесь вставить похож на HTML. Вставить его как HTML?","Paste as HTML":"Вставить как HTML?",Keep:"Сохранить оригинал",Clean:"Почистить","Insert as Text":"Вставить как текст","Insert only Text":"Вставить только текст","Word Paste Detected":"Возможно это фрагмент Word или Excel","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Контент который вы вставляете поступает из документа Microsoft Word / Excel. Вы хотите сохранить формат или очистить его?","File Browser":"Браузер файлов","Error on load list":"Ошибка при загрузке списка изображений","Error on load folders":"Ошибка при загрузке списка директорий","Are you sure?":"Вы уверены?","Enter Directory name":"Введите название директории","Create directory":"Создать директорию","type name":"введите название","Drop image":"Перетащите сюда изображение","Drop file":"Перетащите сюда файл","or click":"или нажмите","Alternative text":"Альтернативный текст",Browse:"Сервер",Upload:"Загрузка",Background:"Фон",Text:"Текст",Top:" К верху",Middle:"По середине",Bottom:"К низу","Insert column before":"Вставить столбец до","Insert column after":"Вставить столбец после","Insert row above":"Вставить ряд выше","Insert row below":"Вставить ряд ниже","Delete table":"Удалить таблицу","Delete row":"Удалять ряд","Delete column":"Удалить столбец","Empty cell":"Очистить ячейку",source:"HTML",bold:"жирный",italic:"курсив",brush:"заливка",link:"ссылка",undo:"отменить",redo:"повторить",table:"таблица",image:"Изображение",eraser:"очистить",paragraph:"параграф",fontsize:"размер шрифта",video:"видео",font:"шрифт",about:"о редакторе",print:"печать",underline:"подчеркнутый",strikethrough:"перечеркнутый",indent:"отступ",outdent:"выступ",fullsize:"во весь экран",shrink:"обычный размер",hr:"линия",ul:"Список",ol:"Нумерованный список",cut:"Вырезать",selectall:"Выделить все","Embed code":"Код","Open link":"Открыть ссылку","Edit link":"Редактировать ссылку","No follow":"Атрибут nofollow",Unlink:"Убрать ссылку",Eye:"Просмотр",pencil:"Редактировать",Update:"Обновить"," URL":"URL",Edit:"Редактировать","Horizontal align":"Горизонтальное выравнивание",Filter:"Фильтр","Sort by changed":"По изменению","Sort by name":"По имени","Sort by size":"По размеру","Add folder":"Добавить папку",Reset:"Восстановить",Save:"Сохранить","Save as ...":"Сохранить как",Resize:"Изменить размер",Crop:"Обрезать размер",Width:"Ширина",Height:"Высота","Keep Aspect Ratio":"Сохранять пропорции",Yes:"Да",No:"Нет",Remove:"Удалить",Select:"Выделить","Chars: %d":"Символов: %d","Words: %d":"Слов: %d",All:"Выделить все","Select %s":"Выделить: %s","Select all":"Выделить все","Vertical align":"Вертикальное выравнивание",Split:"Разделить","Split vertical":"Разделить по вертикали","Split horizontal":"Разделить по горизонтали",Merge:"Объединить в одну","Add column":"Добавить столбец","Add row":"Добавить строку",Delete:"Удалить",Border:"Рамка","License: %s":"Лицензия: %s","Strike through":"Перечеркнуть",Underline:"Подчеркивание",superscript:"верхний индекс",subscript:"индекс","Cut selection":"Вырезать",Break:"Разделитель","Search for":"Найти","Replace with":"Заменить на",Replace:"Заменить",Paste:"Вставить","Choose Content to Paste":"Выбрать контент для вставки","You can only edit your own images. Download this image on the host?":"Вы можете редактировать только свои собственные изображения. Загрузить это изображение на ваш сервер?","The image has been successfully uploaded to the host!":"Изображение успешно загружено на сервер!",palette:"палитра","There are no files":"В данном каталоге нет файлов",Rename:"Переименовать","Enter new name":"Введите новое имя",preview:"Предпросмотр",download:"Скачать","Paste from clipboard":"Вставить из буфера обмена","Your browser doesn't support direct access to the clipboard.":"Ваш браузер не поддерживает прямой доступ к буферу обмена.","Copy selection":"Скопировать выделенное",copy:"копия","Border radius":"Радиус границы","Show all":"Показать все",Apply:"Применить","Please fill out this field":"Пожалуйста, заполните это поле","Please enter a web address":"Пожалуйста, введите веб-адрес",Default:"По умолчанию",Circle:"Круг",Dot:"Точка",Quadrate:"Квадрат",Find:"Найти","Find Previous":"Найти Предыдущие","Find Next":"Найти Далее","Insert className":"Вставить название класса","Press Alt for custom resizing":"Нажмите Alt для изменения пользовательского размера"}},83447:function(t,i,n){"use strict";n.d(i,{getHash:function(){return s}});var o=n(70799),r=n(49055);function s(t){let i=/([^[]*)\[([^\]]+)]/,n=/[\s]*,[\s]*/,s=/^(.*)[\s]*=[\s]*(.*)$/,a={};return(0,o.isString)(t)?(t.split(n).map(t=>{t=(0,r.trim)(t);let o=i.exec(t),l={};if(o){let t=o[2].split(n);o[1]&&(t.forEach(t=>{t=(0,r.trim)(t);let i=s.exec(t);i?l[i[1]]=i[2]:l[t]=!0}),a[o[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 o=n(63687),r=n(77361),s=n(55307);function a(t,i){var n;let{s:a,editor:l}=t;null==(n=l.firstChild)||n.normalize();let c=a.fakes(),u=t.s.wrapInTagGen(c),d=u.next();if(d.done)return;let h={collapsed:a.isCollapsed(),mode:r.INITIAL,element:d.value,next:s.states.START,jodit:t,style:i};for(;d&&!d.done;){let t=new o.FiniteStateMachine(s.states.START,s.transactions);for(h.element=d.value;t.getState()!==s.states.END;)h=t.dispatch("exec",h);d=u.next()}a.restoreFakes(c)}},83671:function(t,i,n){"use strict";var o=n(82758),r=n(22732),s=n(580),a=n(21537),l=n(50911),c=n(80870),u=n(21491);n(86012);class d extends l.Plugin{afterInit(){if(this.j.o.showXPathInStatusbar){this.container=this.j.c.div("jodit-xpath");let t=()=>{this.j.o.showXPathInStatusbar&&this.container&&(this.j.statusbar.append(this.container),this.j.getRealMode()===o.MODE_WYSIWYG?this.calcPath():(this.container&&(this.container.innerHTML=o.INVISIBLE_SPACE),this.appendSelectAll()))};this.j.e.off(".xpath").on("mouseup.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(),r.Dom.safeRemove(this.container),delete this.menu,delete this.container}constructor(){super(...arguments),this.onContext=(t,i)=>(this.menu||(this.menu=new c.ContextMenu(this.j)),this.menu.show(i.clientX,i.clientY,[{icon:"bin",title:t===this.j.editor?"Clear":"Remove",exec:()=>{t!==this.j.editor?r.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,a.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,o)=>{let r=this.j.c.fromHTML(`<span class="jodit-xpath__item"><a role="button" data-path="${i}" title="${o}" tabindex="-1"'>${(0,a.trim)(n)}</a></span>`),s=r.firstChild;return this.j.e.on(s,"click",this.onSelectPath.bind(this,t)).on(s,"contextmenu",this.onContext.bind(this,t)),r},this.removeSelectAll=()=>{this.selectAllButton&&(this.selectAllButton.destruct(),delete this.selectAllButton)},this.appendSelectAll=()=>{this.removeSelectAll(),this.selectAllButton=(0,u.makeButton)(this.j,{name:"selectall",...this.j.o.controls.selectall}),this.selectAllButton.state.size="tiny",this.container&&this.container.insertBefore(this.selectAllButton.container,this.container.firstChild)},this.calcPathImd=()=>{if(this.isDestructed)return;let t=this.j.s.current();if(this.container&&(this.container.innerHTML=o.INVISIBLE_SPACE),t){let i,n,o;r.Dom.up(t,t=>{t&&this.j.editor!==t&&!r.Dom.isText(t)&&!r.Dom.isComment(t)&&(i=t.nodeName.toLowerCase(),n=(0,a.getXPathByElement)(t,this.j.editor).replace(/^\//,""),o=this.tpl(t,n,i,this.j.i18n("Select %s",i)),this.container&&this.container.insertBefore(o,this.container.firstChild))},this.j.editor)}this.appendSelectAll()},this.calcPath=this.j.async.debounce(this.calcPathImd,2*this.j.defaultTimeout,!0)}}s.pluginSystem.add("xpath",d)},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 u}});var o=n(82749),r=n(31635),s=n(31356),a=n(35934),l=n(65478),c=n(62405);class u extends c.UIGroup{className(){return"Autocomplete"}onChangeSelection(){this.elements.forEach(t=>t.setMod("active",!1)),this.elements[this.currentSelection]?.setMod("active",!0),this.elements[this.currentSelection]?.container.scrollIntoView(!1)}build(t){let i=this.elements[this.currentSelection]?.item.value,n=t=>t.value,o=s.ListReconciler.reconcile(this.__previousList,t,{getId:n}),r=new Set;o.toRemove.forEach(t=>{let i=n(t);if(r.has(i))return;r.add(i);let o=this.itemsMap.get(i);o&&(-1!==this.elements.indexOf(o)&&(this.remove(o),o.destruct()),this.itemsMap.delete(t.value))}),o.toCreate.forEach(i=>{let o=n(i);if(r.has(o))return;r.add(o);let s=new a.AutocompleteItem(this.jodit,i,i=>{this.currentSelection=t.findIndex(t=>n(t)===i),this.select()});this.itemsMap.set(o,s);let l=t.indexOf(i);this.append(s,l)}),o.toUpdate.forEach(({newItem:t,index:i})=>{let o=n(t);if(r.has(o))return;r.add(o);let s=this.itemsMap.get(o);s&&(s.item=t,this.elements.indexOf(s)!==i&&i<this.elements.length&&(this.remove(s),this.append(s,i)))});let l=this.currentSelection;this.currentSelection=Math.max(0,t.findIndex(t=>n(t)===i)),l===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,o._)(this,"elements",[]),(0,o._)(this,"currentSelection",-1),(0,o._)(this,"__previousList",[]),(0,o._)(this,"itemsMap",new Map)}}(0,r.__decorate)([(0,l.watch)("currentSelection")],u.prototype,"onChangeSelection",null),u=(0,r.__decorate)([l.component],u)},83967:function(t,i,n){"use strict";var o=n(75689),r=n.n(o),s=n(6441),a=n(53326);s.Config.prototype.controls.pasteCode={icon:r(),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)=>"u">typeof Prism?Prism.highlight(t,Prism.languages[i]||Prism.languages.plain,i):(0,a.htmlspecialchars)(t),isLangLoaded:t=>"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 r}});var o=n(21537);function r(t,i){if((0,o.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,o.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 r}});let o=new Set(["o:p","xml","script","meta","link","v:imagedata","style"]);function r(t){return"none"===t.style.get("display")||0===t.length&&"span"===t.name||o.has(t.name)?(t.remove(),null):t}},84075:function(t,i,n){"use strict";n.d(i,{ViewWithToolbar:function(){return g}});var o=n(78213),r=n(45219),s=n(37133),a=n(2748),l=n(76855),c=n(70799),u=n(76078),d=n(67510),h=n(43649),p=n(35608),f=n(21491),m=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(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,c.isString)(this.o.toolbar)||a.Dom.isHTMLElement(this.o.toolbar))?(0,u.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",o=this.groupToButtons[n];if(o){let i=o.indexOf(t.name);-1!==i&&o.splice(i,1),0===o.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(o.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([r.autobind],g.prototype,"beforeToolbarBuild",null)},84272:function(t,i,n){"use strict";n.d(i,{isInlineBlock:function(){return a},removeFormatForCollapsedSelection:function(){return s}});var o=n(82758),r=n(2748);function s(t,i){let{s:n}=t,o=i;if(!o){o=t.createInside.fake();let{range:i}=n;r.Dom.safeInsertNode(i,o),i.collapse()}let s=r.Dom.furthest(o,a,t.editor);if(s)if(n.cursorOnTheLeft(s))r.Dom.before(s,o);else if(n.cursorOnTheRight(s))r.Dom.after(s,o);else{let t=n.splitSelection(s);t&&r.Dom.after(t,o)}i||(n.setCursorBefore(o),r.Dom.safeRemove(o))}function a(t){return r.Dom.isInlineBlock(t)&&!r.Dom.isTag(t,o.INSEPARABLE_TAGS)}},84380:function(t,i,n){"use strict";var o=n(82758),r=n(6441),s=n(117);r.Config.prototype.askBeforePasteHTML=!0,r.Config.prototype.processPasteHTML=!0,r.Config.prototype.scrollToPastedContent=!0,r.Config.prototype.pasteExcludeStripTags=["br","hr"],r.Config.prototype.pasteHTMLActionList=[{value:o.INSERT_AS_HTML,text:"Keep"},{value:o.INSERT_AS_TEXT,text:"Insert as Text"},{value:o.INSERT_ONLY_TEXT,text:"Insert only Text"}],r.Config.prototype.memorizeChoiceWhenPasteFragment=!1,r.Config.prototype.nl2brInPlainText=!0;let a="pasteStorage";r.Config.prototype.controls.paste={tooltip:"Paste from clipboard",async exec(t,i,{control:n}){if(n.name===a)return void t.execCommand("showPasteStorage");t.s.focus();let r="",l=!0;if(navigator.clipboard){try{let t=await navigator.clipboard.read();if(t&&t.length){let i=await t[0].getType(o.TEXT_PLAIN);r=await new Response(i).text()}l=!1}catch(t){o.IS_PROD}if(l)try{r=await navigator.clipboard.readText(),l=!1}catch(t){o.IS_PROD}}l&&(l=0===(r=t.buffer.get(o.CLIPBOARD_ID)||"").length);let c=t.value;l?(t.ed.execCommand("paste"),(l=c===t.value)||t.e.fire("afterPaste")):r.length?((0,s.pasteInsertHtml)(null,t,r),t.e.fire("afterPaste")):l&&t.alert("Your browser doesn't support direct access to the clipboard.",()=>void t.s.focus())},list:{[a]:"Paste Storage"},isChildDisabled:t=>2>t.e.fire("pasteStorageList")}},84767:function(t,i,n){"use strict";function o(t){return"number"==typeof t&&!isNaN(t)&&isFinite(t)}n.d(i,{isNumber:function(){return o}})},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étaillée à l'utilisation","For information about the license, please go to our website:":"Consulter la licence sur notre site web:","Buy full version":"Acheter la version complète","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Tous droits réservés.",Anchor:"Ancre","Open in new tab":"Ouvrir dans un nouvel onglet","Open in fullsize":"Ouvrir l'éditeur en pleine page","Clear Formatting":"Supprimer le formattage","Fill color or set the text color":"Modifier la couleur du fond ou du texte",Redo:"Refaire",Undo:"Défaire",Bold:"Gras",Italic:"Italique","Insert Unordered List":"Liste non ordonnée","Insert Ordered List":"Liste ordonnée","Align Center":"Centrer","Align Justify":"Justifier","Align Left":"Aligner à gauche ","Align Right":"Aligner à droite","Insert Horizontal Line":"Insérer une ligne horizontale","Insert Image":"Insérer une image","Insert file":"Insérer un fichier","Insert youtube/vimeo video":"Insérer une vidéo","Insert link":"Insérer un lien","Font size":"Taille des caractères","Font family":"Famille des caractères","Insert format block":"Bloc formatté",Normal:"Normal","Heading 1":"Titre 1","Heading 2":"Titre 2","Heading 3":"Titre 3","Heading 4":"Titre 4",Quote:"Citation",Code:"Code",Insert:"Insérer","Insert table":"Insérer un tableau","Decrease Indent":"Diminuer le retrait","Increase Indent":"Retrait plus","Select Special Character":"Sélectionnez un caractère spécial","Insert Special Character":"Insérer un caractère spécial","Paint format":"Cloner le format","Change mode":"Mode wysiwyg <-> code html",Margins:"Marges",top:"haut",right:"droite",bottom:"Bas",left:"gauche",Styles:"Styles",Classes:"Classes",Align:"Alignement",Right:"Droite",Center:"Centre",Left:"Gauche","--Not Set--":"--Non disponible--",Src:"Source",Title:"Titre",Alternative:"Alternative",Filter:"Filtre",Link:"Lien","Open link in new tab":"Ouvrir le lien dans un nouvel onglet",Image:"Image",file:"fichier",Advanced:"Avancé","Image properties":"Propriétés de l'image",Cancel:"Annuler",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Votre texte que vous essayez de coller est similaire au HTML. Collez-le en HTML?","Paste as HTML":"Coller en HTML?",Keep:"Sauvegarder l'original",Clean:"Nettoyer","Insert as Text":"Coller en tant que texte","Word Paste Detected":"C'est peut-être un fragment de Word ou Excel","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Le contenu que vous insérez provient d'un document Microsoft Word / Excel. Voulez-vous enregistrer le format ou l'effacer?","Insert only Text":"Coller le texte seulement","File Browser":"Explorateur de fichiers","Error on load list":"Erreur de liste de chargement","Error on load folders":"Erreur de dossier de chargement","Are you sure?":"Etes-vous sûrs ?","Enter Directory name":"Entrer le nom de dossier","Create directory":"Créer un dossier","type name":"type de fichier","Drop image":"Coller une image","Drop file":"Déposer un fichier","or click":"ou cliquer","Alternative text":"Texte de remplacemement",Browse:"Chercher",Upload:"Charger",Background:"Arrière-plan",Border:"Bordure",Text:"Texte",Top:"Haut",Middle:"Milieu",Bottom:"Bas","Insert column before":"Insérer une colonne avant","Insert column after":"Insérer une colonne après","Insert row above":"Insérer une ligne au dessus","Insert row below":"Insérer une ligne en dessous","Delete table":"Supprimer le tableau","Delete row":"Supprimer la ligne","Delete column":"Supprimer la colonne","Empty cell":"Vider la cellule","Chars: %d":"Symboles: %d","Words: %d":"Mots: %d",Split:"Split","Split vertical":"Split vertical","Split horizontal":"Split horizontal","Strike through":"Barrer",Underline:"Souligner",superscript:"exposant",subscript:"indice","Cut selection":"Couper la sélection","Select all":"Tout sélectionner",Break:"Pause","Search for":"Rechercher","Replace with":"Remplacer par",Replace:"Remplacer",Paste:"Coller","Choose Content to Paste":"Choisissez le contenu à coller",source:"la source",bold:"gras",italic:"italique",brush:"pinceau",link:"lien",undo:"annuler",redo:"refaire",table:"tableau",image:"image",eraser:"gomme",paragraph:"clause",fontsize:"taille de police",video:"Video",font:"police",about:"à propos de l'éditeur",print:"impression",underline:"souligné",strikethrough:"barré",indent:"indentation",outdent:"retrait",fullsize:"taille réelle",shrink:"taille conventionnelle",hr:"la ligne",ul:"Liste",ol:"Liste numérotée",cut:"Couper",selectall:"Sélectionner tout","Open link":"Ouvrir le lien","Edit link":"Modifier le lien","No follow":"Attribut Nofollow",Unlink:"Supprimer le lien",Eye:"Voir",pencil:"Pour éditer"," URL":"URL",Reset:"Restaurer",Save:"Sauvegarder","Save as ...":"Enregistrer sous",Resize:"Changer la taille",Crop:"Taille de garniture",Width:"Largeur",Height:"Hauteur","Keep Aspect Ratio":"Garder les proportions",Yes:"Oui",No:"Non",Remove:"Supprimer",Select:"Mettre en évidence","Select %s":"Mettre en évidence: %s",Update:"Mettre à jour","Vertical align":"Alignement vertical",Merge:"aller","Add column":"Ajouter une colonne","Add row":"Ajouter une rangée",Delete:"Effacer","Horizontal align":"Alignement horizontal","Sort by changed":"Trier par modification","Sort by name":"Trier par nom","Sort by size":"Trier par taille","Add folder":"Créer le dossier","You can only edit your own images. Download this image on the host?":"Vous ne pouvez éditer que vos propres images. Téléchargez cette image sur l'hôte?","The image has been successfully uploaded to the host!":"L'image a été téléchargée avec succès sur le serveur!",palette:"Palette","There are no files":"Il n'y a aucun fichier dans ce répertoire.",Rename:"renommer","Enter new name":"Entrez un nouveau nom",preview:"Aperçu",download:"Télécharger","Paste from clipboard":"Coller à partir du presse-papiers","Your browser doesn't support direct access to the clipboard.":"Votre navigateur ne prend pas en charge l'accès direct au presse-papiers.","Copy selection":"Copier la sélection",copy:"copie","Border radius":"Rayon des bordures","Show all":"Afficher tous",Apply:"Appliquer","Please fill out this field":"Veuillez remplir ce champ","Please enter a web address":"Veuillez entrer une adresse web",Default:"Par défaut",Circle:"Cercle",Dot:"Point",Quadrate:"Quadratique",Find:"Trouver","Find Previous":"Précédent","Find Next":"Suivant","Insert className":"Insérer un nom de classe","Press Alt for custom resizing":"Appuyez sur Alt pour un redimensionnement personnalisé","Embed code":"Code d'intégration",Edit:"Modifier",All:"Tout sélectionner","License: %s":"Licence: %s"}},85120:function(t,i,n){"use strict";n.d(i,{UITextArea:function(){return c}});var o,r=n(65478),s=n(87325),a=n(80256),l=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let c=o=class t extends a.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={...o.defaultState},Object.assign(this.state,i),!1===this.state.resizable&&(this.nativeInput.style.resize="none")}};c.defaultState={...a.UIInput.defaultState,size:5,resizable:!0},l([(0,r.watch)(["state.size","state.resizable"])],c.prototype,"onChangeStateSize",null),c=o=l([s.component],c)},85130:function(t,i,n){"use strict";n.d(i,{execute:function(){return r}});var o=n(6689);async function r(t,i,n){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,c=l.toString(),u={hasSelection:!0,html:a,text:c,startContainer:l.startContainer.nodeName,endContainer:l.endContainer.nodeName};if(r>0||s>0){let i=t.editor.textContent||"",n=i.substring(0,i.indexOf(c)),o=i.substring(i.indexOf(c)+c.length);r>0&&(u.contextBefore=n.slice(-r)),s>0&&(u.contextAfter=o.slice(0,s))}return u}},85174:function(t,i,n){"use strict";var o=n(82749),r=n(31635);n(3536);var s=n(4941),a=n(65478),l=n(49055),c=n(20356),u=n(2692);class d extends c.Plugin{async afterInit(t){let i=await t.o.emoji.data();t.isInDestruct||(this.data={...i,emoji:i.emoji.map(s.Emoji.normalizeEmoji)},t.o.emoji.enableAutoComplete&&t.e.fire("registerAutocompleteSource",this.onAutoComplete),t.async.requestIdleCallback(()=>{t.getInstance(s.Emoji)}))}onAutoComplete(t){return t.length>2&&":"===t[0]&&(t=t.substr(1).toLowerCase(),(0,l.trim)(t).length)?this.data.emoji.filter(i=>i.description?.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",!u.JoditPro.fatMode),(0,o._)(this,"buttons",[{name:"emoji",group:"insert"}]),(0,o._)(this,"data",void 0)}}(0,o._)(d,"requires",["autocomplete","license"]),(0,r.__decorate)([a.autobind],d.prototype,"onAutoComplete",null),u.JoditPro.plugins.add("emoji",d)},85407:function(t,i,n){"use strict";var o=n(82758),r=n(2748),s=n(580),a=n(21537),l=n(20356),c=n(10830);class u extends l.Plugin{createDialog(){this.dialog=this.j.dlg();let t=(0,c.Button)(this.j,"paste","Paste","primary");t.onAction(this.paste);let i=(0,c.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 r.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"),r.Dom.safeRemove(this.previewBox),r.Dom.safeRemove(this.listBox),r.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!==[o.KEY_UP,o.KEY_DOWN,o.KEY_ENTER].indexOf(t.key)){if(t.key===o.KEY_UP&&(0===i?i=this.list.length-1:i-=1),t.key===o.KEY_DOWN&&(i===this.list.length-1?i=0:i+=1),t.key===o.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,o.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",u)},85567:function(t,i,n){"use strict";n.d(i,{PII:function(){return o},WARN:function(){return r}});let o=440,r=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 o.Jodit}});var o=n(2303),r=n(27613),s=n(82758),a=n(65478),l=n(41409),c=n(17555),u=n(26152);n(46448),Object.keys(s).forEach(t=>{o.Jodit[t]=s[t]});let d=t=>"__esModule"!==t;Object.keys(c).filter(d).forEach(t=>{l.Icon.set(t.replace("_","-"),c[t])}),Object.keys(l).filter(d).forEach(t=>{var i;let n=l[t],s=(0,r.isFunction)(null==(i=n.prototype)?void 0:i.className)?n.prototype.className():t;(0,r.isString)(s)&&(o.Jodit.modules[s]=n)}),Object.keys(a).filter(d).forEach(t=>{o.Jodit.decorators[t]=a[t]}),["Confirm","Alert","Prompt"].forEach(t=>{o.Jodit[t]=l[t]}),Object.keys(u.default).filter(d).forEach(t=>{o.Jodit.lang[t]=u.default[t]})},86068:function(t,i,n){"use strict";function o(t){return null==t}n.d(i,{isVoid:function(){return o}})},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ía de usuario Jodit","contains detailed help for using":"contiene ayuda detallada para el uso.","For information about the license, please go to our website:":"Para información sobre la licencia, por favor visite nuestro sitio:","Buy full version":"Compre la versión completa","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Todos los derechos reservados.",Anchor:"Anclar","Open in new tab":"Abrir en nueva pestaña","Open in fullsize":"Abrir editor en pantalla completa","Clear Formatting":"Limpiar formato","Fill color or set the text color":"Color de relleno o de letra",Redo:"Rehacer",Undo:"Deshacer",Bold:"Negrita",Italic:"Cursiva","Insert Unordered List":"Insertar lista no ordenada","Insert Ordered List":"Insertar lista ordenada","Align Center":"Alinear Centrado","Align Justify":"Alinear Justificado","Align Left":"Alinear Izquierda","Align Right":"Alinear Derecha","Insert Horizontal Line":"Insertar línea horizontal","Insert Image":"Insertar imagen","Insert file":"Insertar archivo","Insert youtube/vimeo video":"Insertar video de Youtube/vimeo","Insert link":"Insertar vínculo","Font size":"Tamaño de letra","Font family":"Familia de letra","Insert format block":"Insertar bloque",Normal:"Normal","Heading 1":"Encabezado 1","Heading 2":"Encabezado 2","Heading 3":"Encabezado 3","Heading 4":"Encabezado 4",Quote:"Cita",Code:"Código",Insert:"Insertar","Insert table":"Insertar tabla","Decrease Indent":"Disminuir sangría","Increase Indent":"Aumentar sangría","Select Special Character":"Seleccionar caracter especial","Insert Special Character":"Insertar caracter especial","Paint format":"Copiar formato","Change mode":"Cambiar modo",Margins:"Márgenes",top:"arriba",right:"derecha",bottom:"abajo",left:"izquierda",Styles:"Estilos CSS",Classes:"Clases CSS",Align:"Alinear",Right:"Derecha",Center:"Centrado",Left:"Izquierda","--Not Set--":"--No Establecido--",Src:"Fuente",Title:"Título",Alternative:"Texto Alternativo",Filter:"Filtrar",Link:"Vínculo","Open link in new tab":"Abrir vínculo en nueva pestaña",Image:"Imagen",file:"Archivo","Image properties":"Propiedades de imagen",Cancel:"Cancelar",Ok:"Aceptar","Your code is similar to HTML. Keep as HTML?":"El código es similar a HTML. ¿Mantener como HTML?","Paste as HTML":"Pegar como HTML?",Keep:"Mantener",Clean:"Limpiar","Insert as Text":"Insertar como texto","Word Paste Detected":"Pegado desde Word detectado","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"El contenido pegado proviene de un documento de Microsoft Word/Excel. ¿Desea mantener el formato o limpiarlo?","Insert only Text":"Insertar solo texto","File Browser":"Buscar archivo","Error on load list":"Error al cargar la lista","Error on load folders":"Error al cargar las carpetas","Are you sure?":"¿Está seguro?","Enter Directory name":"Entre nombre de carpeta","Create directory":"Crear carpeta","type name":"Entre el nombre","Drop image":"Soltar imagen","Drop file":"Soltar archivo","or click":"o click","Alternative text":"Texto alternativo",Browse:"Buscar",Upload:"Subir",Background:"Fondo",Text:"Texto",Top:"Arriba",Middle:"Centro",Bottom:"Abajo","Insert column before":"Insertar columna antes","Insert column after":"Interar columna después","Insert row above":"Insertar fila arriba","Insert row below":"Insertar fila debajo","Delete table":"Borrar tabla","Delete row":"Borrar fila","Delete column":"Borrar columna","Empty cell":"Vaciar celda",Delete:"Borrar","Strike through":"Tachado",Underline:"Subrayado",Break:"Pausa","Search for":"Buscar","Replace with":"Reemplazar con",Replace:"Reemplazar",Edit:"Editar","Vertical align":"Alineación vertical","Horizontal align":"Alineación horizontal","Sort by changed":"Ordenar por fecha modificación","Sort by name":"Ordenar por nombre","Sort by size":"Ordenar por tamaño","Add folder":"Agregar carpeta",Split:"Dividir","Split vertical":"Dividir vertical","Split horizontal":"Dividir horizontal",Merge:"Mezclar","Add column":"Agregar columna","Add row":"Agregar fila",Border:"Borde","Embed code":"Incluir código",Update:"Actualizar",superscript:"superíndice",subscript:"subíndice","Cut selection":"Cortar selección",Paste:"Pegar","Choose Content to Paste":"Seleccionar contenido para pegar","Chars: %d":"Caracteres: %d","Words: %d":"Palabras: %d",All:"Todo","Select %s":"Seleccionar: %s","Select all":"Seleccionar todo",source:"HTML",bold:"negrita",italic:"cursiva",brush:"Brocha",link:"Vínculo",undo:"deshacer",redo:"rehacer",table:"Tabla",image:"Imagen",eraser:"Borrar",paragraph:"Párrafo",fontsize:"Tamaño de letra",video:"Video",font:"Letra",about:"Acerca de",print:"Imprimir",underline:"subrayar",strikethrough:"tachar",indent:"sangría",outdent:"quitar sangría",fullsize:"Tamaño completo",shrink:"encoger",hr:"línea horizontal",ul:"lista sin ordenar",ol:"lista ordenada",cut:"Cortar",selectall:"Seleccionar todo","Open link":"Abrir vínculo","Edit link":"Editar vínculo","No follow":"No seguir",Unlink:"Desvincular",Eye:"Ver",pencil:"Para editar"," URL":"URL",Reset:"Resetear",Save:"Guardar","Save as ...":"Guardar como...",Resize:"Redimensionar",Crop:"Recortar",Width:"Ancho",Height:"Alto","Keep Aspect Ratio":"Mantener relación de aspecto",Yes:"Si",No:"No",Remove:"Quitar",Select:"Seleccionar","You can only edit your own images. Download this image on the host?":"Solo puedes editar tus propias imágenes. ¿Descargar esta imagen en el servidor?","The image has been successfully uploaded to the host!":"¡La imagen se ha subido correctamente al servidor!",palette:"paleta","There are no files":"No hay archivos en este directorio.",Rename:"renombrar","Enter new name":"Ingresa un nuevo nombre",preview:"avance",download:"Descargar","Paste from clipboard":"Pegar desde el portapapeles","Your browser doesn't support direct access to the clipboard.":"Su navegador no soporta el acceso directo en el portapapeles.","Copy selection":"Selección de copia",copy:"copia","Border radius":"Radio frontera","Show all":"Mostrar todos los",Apply:"Aplicar","Please fill out this field":"Por favor, rellene este campo","Please enter a web address":"Por favor, introduzca una dirección web",Default:"Predeterminado",Circle:"Círculo",Dot:"Punto",Quadrate:"Cuadro","Lower Alpha":"Letra Minúscula","Lower Greek":"Griego Minúscula","Lower Roman":"Romano Minúscula","Upper Alpha":"Letra Mayúscula","Upper Roman":"Romano Mayúscula",Find:"Encontrar","Find Previous":"Buscar Anterior","Find Next":"Buscar Siguiente","Insert className":"Insertar nombre de clase","Press Alt for custom resizing":"Presione Alt para cambiar el tamaño personalizado","License: %s":"Licencia: %s"}},86327:function(t,i,n){"use strict";n.d(i,{UIForm:function(){return u}});var o=n(4012),r=n(87325),s=n(43555),a=n(80256),l=n(12234),c=n(62405);let u=class t extends c.UIGroup{className(){return"UIForm"}submit(){this.j.e.fire(this.container,"submit")}validate(){for(let t of this.allChildren.filter(t=>o.Component.isInstanceOf(t,a.UIInput)))if(!t.validate())return!1;for(let t of this.allChildren.filter(t=>o.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=>o.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)}};u=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([r.component],u)},86397:function(t,i,n){"use strict";n.d(i,{ConnectionError:function(){return o}});class o extends Error{constructor(t){super(t),Object.setPrototypeOf(this,o.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 a}});var o=n(82749),r=n(82758),s=n(21537);class a{async sendRequest(t,i,n,o,a){let{apiRequest:l,requestTimeout:c,maxRetries:u}=this.jodit.o.aiAssistantPro;if(!l)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,a),p=null;for(let t=0;u>=t;t++)try{if(d.signal.aborted)throw(0,s.abort)();let t=setTimeout(()=>{d.abort()},c);try{let i=await l(h,d.signal);return clearTimeout(t),this.validateResponse(i),i}catch(i){throw clearTimeout(t),i}}catch(i){if(p=i,r.IS_PROD,u>t){let i=this.calculateRetryDelay(t);await this.sleep(i)}else throw i}throw p||Error("API request failed after all retries")}finally{this.abortControllers.delete(d)}}abort(){this.abortControllers.forEach(t=>{t.abort()}),this.abortControllers.clear()}isInProgress(){return this.abortControllers.size>0}buildRequestContext(t,i,n,o,r){let{apiMode:s,instructions:a}=this.jodit.o.aiAssistantPro,l={mode:s,conversationId:t,tools:this.toolRegistry.getAllTools(),selectionContexts:o,conversationOptions:r,instructions:a},c=[];if("full"===s)c=i;else if(n){let t=i.findIndex(t=>t.id===n);c=-1!==t?i.slice(t+1):i,l={...l,parentMessageId:n}}else c=i;return{...l,messages:this.expandToolMessages(c,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 n of t.toolCalls){let o=n.result??{error:"result not found"};if(i.find(t=>t.id===`${n.id}-result`))continue;let r={id:`${n.id}-result`,role:"tool",content:o.error?"Error: "+o.error:JSON.stringify(o.result),timestamp:t.timestamp,toolResults:[{toolCallId:n.id,result:o}]};i.push(r)}}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 o=n(2748),r=n(43555);function s(t,i){(o.Dom.isElement(t)||o.Dom.isFragment(t))&&(i.removeOnError&&(a(t),(0,r.$$)("[onerror]",t).forEach(t=>a(t,i))),i.safeJavaScriptLink&&(a(t),(0,r.$$)('a[href^="javascript"]',t).forEach(t=>a(t,i))))}function a(t,{safeJavaScriptLink:i,removeOnError:n}={safeJavaScriptLink:!0,removeOnError:!0}){if(!o.Dom.isElement(t))return!1;let s=!1;n&&t.hasAttribute("onerror")&&((0,r.attr)(t,"onerror",null),s=!0);let l=t.getAttribute("href");return i&&l&&0===l.trim().indexOf("javascript")&&((0,r.attr)(t,"href",location.protocol+"//"+l),s=!0),s}},86563:function(t,i,n){"use strict";n.d(i,{UIMessageList:function(){return u}});var o=n(82749),r=n(31635),s=n(51359),a=n(65478),l=n(62405),c=n(31356);class u 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=c.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,o._)(this,"params",void 0),(0,o._)(this,"messages",void 0),(0,o._)(this,"messageItems",void 0),(0,o._)(this,"scrollContainer",void 0),(0,o._)(this,"autoScrollEnabled",void 0),this.params=i,this.messages=[],this.messageItems=new Map,this.autoScrollEnabled=!0}}(0,r.__decorate)([(0,a.hook)("ready")],u.prototype,"afterRender",null),(0,r.__decorate)([(0,a.watch)(["scrollContainer:wheel","scrollContainer:scroll","scrollContainer:touchmove"]),(0,a.throttle)(t=>t.defaultTimeout)],u.prototype,"onUserScroll",null),(0,r.__decorate)([(0,a.watch)(":messageSent.ai-assistant-pro")],u.prototype,"onMessageSent",null),(0,r.__decorate)([a.autobind],u.prototype,"setMessages",null),(0,r.__decorate)([(0,a.throttle)(t=>2*t.defaultTimeout)],u.prototype,"scrollToBottom",null),u=(0,r.__decorate)([a.component],u)},86583:function(t,i,n){"use strict";n.d(i,{dataBind:function(){return s}});var o=n(39955);let r=new WeakMap,s=(t,i,n)=>{let s=r.get(t);if(!s){s={},r.set(t,s);let i=null;(0,o.isViewObject)(t.j)&&(i=t.j.e),(0,o.isViewObject)(t)&&(i=t.e),i&&i.on("beforeDestruct",()=>{r.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 o}});let o=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 o=n(82758),r=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,r.getClassName)(t.prototype);if(s.has(n)&&!o.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 o=n(12153),r=n(6441),s=n(5119);r.Config.prototype.usePopupForSpecialCharacters=!1,r.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;"],o.Icon.set("symbols",s.default),r.Config.prototype.controls.symbols={hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup(t,i,n){let o=t.e.fire("generateSpecialCharactersTable.symbols");if(o){if(t.o.usePopupForSpecialCharacters){let i=t.c.div();return i.classList.add("jodit-symbols"),i.appendChild(o),t.e.on(o,"close_dialog",n),i}t.alert(o,"Select Special Character",void 0,"jodit-symbols").bindDestruct(t);let i=o.querySelector("a");i&&i.focus()}}}},87536:function(t,i,n){"use strict";n.d(i,{checkRemoveContentNotEditable:function(){return a}});var o=n(22732),r=n(21537),s=n(45124);function a(t,i,n){let a=o.Dom.findSibling(i,n);return!a&&i.parentElement&&i.parentElement!==t.editor&&(a=o.Dom.findSibling(i.parentElement,n)),!(!o.Dom.isElement(a)||o.Dom.isContentEditable(a,t.editor))&&((0,r.call)(n?o.Dom.before:o.Dom.after,a,i),o.Dom.safeRemove(a),(0,s.moveNodeInsideStart)(t,i,n),(0,r.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 o=n(29807),r=n(29960),s=n(41180),a=n(14415);function l(t,i,n,l){if(i!==t.offsetWidth||n!==t.offsetHeight){let c=i?(0,a.normalSizeToString)(i):null,u=n?(0,a.normalSizeToString)(n):null;(0,s.css)(t,{width:c,height:c&&l?null:u}),(0,r.attr)(t,"width",c&&(0,o.isNumeric)(i)&&(0,r.attr)(t,"width")?c:null),(!(0,r.attr)(t,"width")||l)&&(u=null),(0,r.attr)(t,"height",u)}}},87612:function(t,i,n){"use strict";function o(t){return"boolean"==typeof t}n.d(i,{isBoolean:function(){return o}})},88092:function(t,i,n){"use strict";var o=n(67008),r=n.n(o),s=n(6441),a=n(2748),l=n(68345);s.Config.prototype.controls.iframeEditor={icon:r(),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 u}});var o=n(82749),r=n(2748),s=n(4510),a=n(38837),l=n(67510),c=n(62357);class u 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>
590
+ </div>`}static extractStyle(t,i){let n=i.ownerDocument.defaultView?.getComputedStyle(i)||{},o=(t,i,o,r)=>{let s=n[o];return!s||["none","inherit","initial","unset"].includes(s)?{[o]:!1}:(s.replace(/,\s/g,",").split(/\s+/).forEach(n=>{if(/[0-9.]+(px|pt|em|%)/.test(n)){let o=t.shift();o&&(i[o]=n)}else"inset"===n?i.boxShadowInset=!0:i[r]=n}),i[o]=!0,i)};Object.assign(t,{text:i.innerText,className:i.className,href:i.getAttribute("href")||"",...(()=>{let t={solid:!0,bgStart:n.backgroundColor??"#44c767",bgEnd:n.backgroundColor??"#44c767"},i=n.backgroundImage;if(i&&/linear-gradient/.test(i)){let n=/linear-gradient\((.+)\s+[0-9]+%,\s+(.+)\s+[0-9]+%\)/.exec(i);n&&(t.solid=!1,t.bgStart=n[1]||t.bgStart,t.bgEnd=n[2]||"#5cbf2a")}return t})(),borderColor:n?.borderColor??"#18ab29",borderRadius:n?.borderRadius??0,borderSize:n?.borderWidth??1,...o(["boxShadowOffsetX","boxShadowOffsetY","boxShadowBlurRadius","boxShadowSpreadRadius"],{boxShadowBlurRadius:0,boxShadowColor:"#3dc21b",boxShadowInset:!1,boxShadowOffsetX:0,boxShadowOffsetY:0,boxShadowSpreadRadius:0},"boxShadow","boxShadowColor"),fontColor:n.color,fontFamily:n.fontFamily,fontSize:n.fontSize,fontWeight:"bold"===n.fontWeight,fontItalic:"italic"===n.fontStyle,paddingX:n.paddingLeft,paddingY:n.paddingTop,...o(["textShadowOffsetX","textShadowOffsetY","textShadowBlurRadius"],{textShadowBlurRadius:0,textShadowColor:"#2f6627",textShadowOffsetX:0,textShadowOffsetY:1},"textShadow","textShadowColor")})}constructor(t,i){super(t),(0,o._)(this,"style",void 0),this.style=i,this.__updateStyles()}}(0,r.__decorate)([(0,s.watch)("style")],d.prototype,"__updateStyles",null),d=(0,r.__decorate)([s.component],d)},82558:function(t,i,n){"use strict";n.d(i,{allowAttributes:function(){return r}});var o=n(2748);function r(t,i,n,r){if(r&&o.Dom.isElement(i)&&!0!==r[i.nodeName]){let t=i.attributes;if(t&&t.length){let o=[];for(let n=0;n<t.length;n+=1){let s=r[i.nodeName][t[n].name];s&&(!0===s||s===t[n].value)||o.push(t[n].name)}o.length&&(n=!0),o.forEach(t=>{i.removeAttribute(t)})}}return n}},82749:function(t,i,n){"use strict";function o(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 o}})},82758:function(t,i,n){"use strict";n.r(i),n.d(i,{ACCURACY:function(){return V},APP_VERSION:function(){return o},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 r},FAT_MODE:function(){return u},HOMEPAGE:function(){return d},INSEPARABLE_TAGS:function(){return T},INSERT_AS_HTML:function(){return en},INSERT_AS_TEXT:function(){return er},INSERT_CLEAR_HTML:function(){return eo},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 S},IS_ES_MODERN:function(){return s},IS_ES_NEXT:function(){return a},IS_IE:function(){return X},IS_INLINE:function(){return x},IS_MAC:function(){return el},IS_PROD:function(){return l},IS_TEST:function(){return c},KEY_ALIASES:function(){return ec},KEY_ALT:function(){return M},KEY_BACKSPACE:function(){return L},KEY_DELETE:function(){return H},KEY_DOWN:function(){return O},KEY_ENTER:function(){return P},KEY_ESC:function(){return R},KEY_F3:function(){return U},KEY_LEFT:function(){return z},KEY_META:function(){return j},KEY_RIGHT:function(){return N},KEY_SPACE:function(){return F},KEY_TAB:function(){return D},KEY_UP:function(){return B},LIST_TAGS:function(){return I},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 A},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 _},SPACE_REG_EXP_START:function(){return w},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 k},globalWindow:function(){return C},lang:function(){return eg}});let o="4.9.25",r="es2021",s=!0,a=!0,l=!0,c=!1,u=!0,d="https://xdsoft.net/jodit/pro/",h=()=>c=!0,p={},f="\uFEFF",m=" ",g=()=>/[\uFEFF]/g,b=()=>/[\uFEFF]+$/g,v=()=>/^[\uFEFF]+/g,y=()=>/[\s\n\t\r\uFEFF\u200b]+/g,w=()=>/^[\s\n\t\r\uFEFF\u200b]+/g,_=()=>/[\s\n\t\r\uFEFF\u200b]+$/g,C="u">typeof window?window:void 0,k="u">typeof document?document:void 0,S=/^(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,x=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,I=new Set(["ul","ol"]),E=["img","video","svg","iframe","script","input","textarea","link","jodit","jodit-media"],T=new Set([...E,"br","hr"]),A=new Set(E),j="Meta",L="Backspace",D="Tab",P="Enter",R="Escape",M="Alt",z="ArrowLeft",B="ArrowUp",N="ArrowRight",O="ArrowDown",F="Space",H="Delete",U="F3",q=5,V=10,W=[j,L,H,B,O,N,z,P,R,U,D],$="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",eo="insert_clear_html",er="insert_as_text",es="insert_only_text",ea=10,el=void 0!==C&&/Mac|iPod|iPhone|iPad/.test(C.navigator.platform),ec={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"},eu=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=k.currentScript;if(t)return eu(t.src);let i=k.querySelectorAll("script[src]");return i&&i.length?eu(i[i.length-1].src):eu(C.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 r},options:function(){return a}});var o=n(32880);function r(t){return TypeError(t)}function s(t){return new o.ConnectionError(t)}function a(t){return new o.OptionsError(t)}},83039:function(t,i,n){"use strict";n.d(i,{UIMapsPropsForm:function(){return c}});var o=n(82749),r=n(31635),s=n(65478),a=n(76078),l=n(67510);class c extends l.UIForm{className(){return"UIMapsPropsForm"}onChangeSize(){let{width:t,height:i}=(0,a.refs)(this.container);this.state.size=[parseInt(t?.value,10)||0,parseInt(i?.value,10)||0]}onExternalChangeSize(){let{width:t,height:i}=(0,a.refs)(this.container),[n,o]=this.state.size;n.toString()!==t.value&&(t.value=n.toString()),o.toString()!==i.value&&(i.value=o.toString())}onChangeCenter(){let{lat:t,lng:i}=(0,a.refs)(this.container);this.state.center=[parseFloat(t?.value)||0,parseFloat(i?.value)||0]}onExternalChangeCenter(){let{lat:t,lng:i}=(0,a.refs)(this.container),[n,o]=this.state.center;n.toString()!==t.value&&(t.value=n.toString()),o.toString()!==i.value&&(i.value=o.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){super(t),(0,o._)(this,"state",void 0),this.state=i;const[n,r]=i.size,[s,a]=i.center;this.append([new l.UIInput(t,{label:"Width",name:"width",value:n,type:"number",onChange:this.onChangeSize}),new l.UIInput(t,{label:"Height",name:"height",value:r,type:"number",onChange:this.onChangeSize}),new l.UIInput(t,{label:"Latitude",name:"lat",value:s,onChange:this.onChangeCenter}),new l.UIInput(t,{label:"Longitude",name:"lng",value:a,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:i.layer??"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,r.__decorate)([s.autobind],c.prototype,"onChangeSize",null),(0,r.__decorate)([(0,s.watch)("state.size")],c.prototype,"onExternalChangeSize",null),(0,r.__decorate)([s.autobind],c.prototype,"onChangeCenter",null),(0,r.__decorate)([(0,s.watch)(["state.center"])],c.prototype,"onExternalChangeCenter",null),(0,r.__decorate)([(0,s.watch)(["state.type"])],c.prototype,"onExternalChangeType",null),(0,r.__decorate)([(0,s.watch)(["state.layer"])],c.prototype,"onExternalChangeLayer",null),c=(0,r.__decorate)([s.component],c)},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 o=n(65478),r=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:o,data:a}=this.control;if(o){let l=this.state.value||(a&&(0,s.isString)(a.currentValue)?a.currentValue:void 0);l||(l=Object.keys(o)[0]);let c=((0,r.isPlainObject)(o)&&o[l.toString()]||l).toString();this.state.text=null!=(n=null==(i=(t=this.control).textTemplate)?void 0:i.call(t,this.jodit,c))?n:c}}};l=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([o.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 © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Авторские права © XDSoft.net - Чупурнов Валерий. Все права защищены.",Anchor:"Анкор","Open in new tab":"Открывать ссылку в новой вкладке","Open in fullsize":"Открыть редактор в полном размере","Clear Formatting":"Очистить форматирование","Fill color or set the text color":"Цвет заливки или цвет текста",Redo:"Повтор",Undo:"Отмена",Bold:"Жирный",Italic:"Наклонный","Insert Unordered List":"Вставка маркированного списка","Insert Ordered List":"Вставить нумерованный список","Align Center":"Выровнять по центру","Align Justify":"Выровнять по ширине","Align Left":"Выровнять по левому краю","Align Right":"Выровнять по правому краю","Insert Horizontal Line":"Вставить горизонтальную линию","Insert Image":"Вставить изображение","Insert file":"Вставить файл","Insert youtube/vimeo video":"Вставьте видео","Insert link":"Вставить ссылку","Font size":"Размер шрифта","Font family":"Шрифт","Insert format block":"Вставить блочный элемент",Normal:"Нормальный текст","Heading 1":"Заголовок 1","Heading 2":"Заголовок 2","Heading 3":"Заголовок 3","Heading 4":"Заголовок 4",Quote:"Цитата",Code:"Код",Insert:"Вставить","Insert table":"Вставить таблицу","Decrease Indent":"Уменьшить отступ","Increase Indent":"Увеличить отступ","Select Special Character":"Выберите специальный символ","Insert Special Character":"Вставить специальный символ","Paint format":"Формат краски","Change mode":"Источник",Margins:"Отступы",top:"сверху",right:"справа",bottom:"снизу",left:"слева",Styles:"Стили",Classes:"Классы",Align:"Выравнивание",Right:"По правому краю",Center:"По центру",Left:"По левому краю","--Not Set--":"--не устанавливать--",Src:"src",Title:"Заголовок",Alternative:"Альтернативный текст (alt)",Link:"Ссылка","Open link in new tab":"Открывать ссылку в новом окне",file:"Файл",Advanced:"Расширенные","Image properties":"Свойства изображения",Cancel:"Отмена",Ok:"Ок","Your code is similar to HTML. Keep as HTML?":"Ваш текст, который вы пытаетесь вставить похож на HTML. Вставить его как HTML?","Paste as HTML":"Вставить как HTML?",Keep:"Сохранить оригинал",Clean:"Почистить","Insert as Text":"Вставить как текст","Insert only Text":"Вставить только текст","Word Paste Detected":"Возможно это фрагмент Word или Excel","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Контент который вы вставляете поступает из документа Microsoft Word / Excel. Вы хотите сохранить формат или очистить его?","File Browser":"Браузер файлов","Error on load list":"Ошибка при загрузке списка изображений","Error on load folders":"Ошибка при загрузке списка директорий","Are you sure?":"Вы уверены?","Enter Directory name":"Введите название директории","Create directory":"Создать директорию","type name":"введите название","Drop image":"Перетащите сюда изображение","Drop file":"Перетащите сюда файл","or click":"или нажмите","Alternative text":"Альтернативный текст",Browse:"Сервер",Upload:"Загрузка",Background:"Фон",Text:"Текст",Top:" К верху",Middle:"По середине",Bottom:"К низу","Insert column before":"Вставить столбец до","Insert column after":"Вставить столбец после","Insert row above":"Вставить ряд выше","Insert row below":"Вставить ряд ниже","Delete table":"Удалить таблицу","Delete row":"Удалять ряд","Delete column":"Удалить столбец","Empty cell":"Очистить ячейку",source:"HTML",bold:"жирный",italic:"курсив",brush:"заливка",link:"ссылка",undo:"отменить",redo:"повторить",table:"таблица",image:"Изображение",eraser:"очистить",paragraph:"параграф",fontsize:"размер шрифта",video:"видео",font:"шрифт",about:"о редакторе",print:"печать",underline:"подчеркнутый",strikethrough:"перечеркнутый",indent:"отступ",outdent:"выступ",fullsize:"во весь экран",shrink:"обычный размер",hr:"линия",ul:"Список",ol:"Нумерованный список",cut:"Вырезать",selectall:"Выделить все","Embed code":"Код","Open link":"Открыть ссылку","Edit link":"Редактировать ссылку","No follow":"Атрибут nofollow",Unlink:"Убрать ссылку",Eye:"Просмотр",pencil:"Редактировать",Update:"Обновить"," URL":"URL",Edit:"Редактировать","Horizontal align":"Горизонтальное выравнивание",Filter:"Фильтр","Sort by changed":"По изменению","Sort by name":"По имени","Sort by size":"По размеру","Add folder":"Добавить папку",Reset:"Восстановить",Save:"Сохранить","Save as ...":"Сохранить как",Resize:"Изменить размер",Crop:"Обрезать размер",Width:"Ширина",Height:"Высота","Keep Aspect Ratio":"Сохранять пропорции",Yes:"Да",No:"Нет",Remove:"Удалить",Select:"Выделить","Chars: %d":"Символов: %d","Words: %d":"Слов: %d",All:"Выделить все","Select %s":"Выделить: %s","Select all":"Выделить все","Vertical align":"Вертикальное выравнивание",Split:"Разделить","Split vertical":"Разделить по вертикали","Split horizontal":"Разделить по горизонтали",Merge:"Объединить в одну","Add column":"Добавить столбец","Add row":"Добавить строку",Delete:"Удалить",Border:"Рамка","License: %s":"Лицензия: %s","Strike through":"Перечеркнуть",Underline:"Подчеркивание",superscript:"верхний индекс",subscript:"индекс","Cut selection":"Вырезать",Break:"Разделитель","Search for":"Найти","Replace with":"Заменить на",Replace:"Заменить",Paste:"Вставить","Choose Content to Paste":"Выбрать контент для вставки","You can only edit your own images. Download this image on the host?":"Вы можете редактировать только свои собственные изображения. Загрузить это изображение на ваш сервер?","The image has been successfully uploaded to the host!":"Изображение успешно загружено на сервер!",palette:"палитра","There are no files":"В данном каталоге нет файлов",Rename:"Переименовать","Enter new name":"Введите новое имя",preview:"Предпросмотр",download:"Скачать","Paste from clipboard":"Вставить из буфера обмена","Your browser doesn't support direct access to the clipboard.":"Ваш браузер не поддерживает прямой доступ к буферу обмена.","Copy selection":"Скопировать выделенное",copy:"копия","Border radius":"Радиус границы","Show all":"Показать все",Apply:"Применить","Please fill out this field":"Пожалуйста, заполните это поле","Please enter a web address":"Пожалуйста, введите веб-адрес",Default:"По умолчанию",Circle:"Круг",Dot:"Точка",Quadrate:"Квадрат",Find:"Найти","Find Previous":"Найти Предыдущие","Find Next":"Найти Далее","Insert className":"Вставить название класса","Press Alt for custom resizing":"Нажмите Alt для изменения пользовательского размера"}},83447:function(t,i,n){"use strict";n.d(i,{getHash:function(){return s}});var o=n(70799),r=n(49055);function s(t){let i=/([^[]*)\[([^\]]+)]/,n=/[\s]*,[\s]*/,s=/^(.*)[\s]*=[\s]*(.*)$/,a={};return(0,o.isString)(t)?(t.split(n).map(t=>{t=(0,r.trim)(t);let o=i.exec(t),l={};if(o){let t=o[2].split(n);o[1]&&(t.forEach(t=>{t=(0,r.trim)(t);let i=s.exec(t);i?l[i[1]]=i[2]:l[t]=!0}),a[o[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 o=n(63687),r=n(77361),s=n(55307);function a(t,i){var n;let{s:a,editor:l}=t;null==(n=l.firstChild)||n.normalize();let c=a.fakes(),u=t.s.wrapInTagGen(c),d=u.next();if(d.done)return;let h={collapsed:a.isCollapsed(),mode:r.INITIAL,element:d.value,next:s.states.START,jodit:t,style:i};for(;d&&!d.done;){let t=new o.FiniteStateMachine(s.states.START,s.transactions);for(h.element=d.value;t.getState()!==s.states.END;)h=t.dispatch("exec",h);d=u.next()}a.restoreFakes(c)}},83671:function(t,i,n){"use strict";var o=n(82758),r=n(22732),s=n(580),a=n(49055),l=n(29960),c=n(76078),u=n(50911),d=n(80870),h=n(21491);n(86012);class p extends u.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()===o.MODE_WYSIWYG?this.calcPath():(this.container&&(this.container.innerHTML=o.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(),r.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?r.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,o)=>{let r=this.j.c.fromHTML(`<span class="jodit-xpath__item"><a role="button" data-path="${i}" title="${o}" tabindex="-1"'>${(0,a.trim)(n)}</a></span>`),s=r.firstChild;return this.j.e.on(s,"click",this.onSelectPath.bind(this,t)).on(s,"contextmenu",this.onContext.bind(this,t)),r},this.removeSelectAll=()=>{this.selectAllButton&&(this.selectAllButton.destruct(),delete this.selectAllButton)},this.appendSelectAll=()=>{this.removeSelectAll(),this.selectAllButton=(0,h.makeButton)(this.j,{name:"selectall",...this.j.o.controls.selectall}),this.selectAllButton.state.size="tiny",this.container&&this.container.insertBefore(this.selectAllButton.container,this.container.firstChild)},this.calcPathImd=()=>{if(this.isDestructed)return;let t=this.j.s.current();if(this.container&&(this.container.innerHTML=o.INVISIBLE_SPACE),t){let i,n,o;r.Dom.up(t,t=>{t&&this.j.editor!==t&&!r.Dom.isText(t)&&!r.Dom.isComment(t)&&(i=t.nodeName.toLowerCase(),n=(0,c.getXPathByElement)(t,this.j.editor).replace(/^\//,""),o=this.tpl(t,n,i,this.j.i18n("Select %s",i)),this.container&&this.container.insertBefore(o,this.container.firstChild))},this.j.editor)}this.appendSelectAll()},this.calcPath=this.j.async.debounce(this.calcPathImd,2*this.j.defaultTimeout,!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 u}});var o=n(82749),r=n(31635),s=n(31356),a=n(35934),l=n(65478),c=n(62405);class u extends c.UIGroup{className(){return"Autocomplete"}onChangeSelection(){this.elements.forEach(t=>t.setMod("active",!1)),this.elements[this.currentSelection]?.setMod("active",!0),this.elements[this.currentSelection]?.container.scrollIntoView(!1)}build(t){let i=this.elements[this.currentSelection]?.item.value,n=t=>t.value,o=s.ListReconciler.reconcile(this.__previousList,t,{getId:n}),r=new Set;o.toRemove.forEach(t=>{let i=n(t);if(r.has(i))return;r.add(i);let o=this.itemsMap.get(i);o&&(-1!==this.elements.indexOf(o)&&(this.remove(o),o.destruct()),this.itemsMap.delete(t.value))}),o.toCreate.forEach(i=>{let o=n(i);if(r.has(o))return;r.add(o);let s=new a.AutocompleteItem(this.jodit,i,i=>{this.currentSelection=t.findIndex(t=>n(t)===i),this.select()});this.itemsMap.set(o,s);let l=t.indexOf(i);this.append(s,l)}),o.toUpdate.forEach(({newItem:t,index:i})=>{let o=n(t);if(r.has(o))return;r.add(o);let s=this.itemsMap.get(o);s&&(s.item=t,this.elements.indexOf(s)!==i&&i<this.elements.length&&(this.remove(s),this.append(s,i)))});let l=this.currentSelection;this.currentSelection=Math.max(0,t.findIndex(t=>n(t)===i)),l===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,o._)(this,"elements",[]),(0,o._)(this,"currentSelection",-1),(0,o._)(this,"__previousList",[]),(0,o._)(this,"itemsMap",new Map)}}(0,r.__decorate)([(0,l.watch)("currentSelection")],u.prototype,"onChangeSelection",null),u=(0,r.__decorate)([l.component],u)},83967:function(t,i,n){"use strict";var o=n(75689),r=n.n(o),s=n(6441),a=n(53326);s.Config.prototype.controls.pasteCode={icon:r(),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)=>"u">typeof Prism?Prism.highlight(t,Prism.languages[i]||Prism.languages.plain,i):(0,a.htmlspecialchars)(t),isLangLoaded:t=>"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 r}});var o=n(21537);function r(t,i){if((0,o.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,o.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 r}});let o=new Set(["o:p","xml","script","meta","link","v:imagedata","style"]);function r(t){return"none"===t.style.get("display")||0===t.length&&"span"===t.name||o.has(t.name)?(t.remove(),null):t}},84075:function(t,i,n){"use strict";n.d(i,{ViewWithToolbar:function(){return g}});var o=n(78213),r=n(45219),s=n(37133),a=n(2748),l=n(76855),c=n(70799),u=n(76078),d=n(67510),h=n(43649),p=n(35608),f=n(21491),m=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(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,c.isString)(this.o.toolbar)||a.Dom.isHTMLElement(this.o.toolbar))?(0,u.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",o=this.groupToButtons[n];if(o){let i=o.indexOf(t.name);-1!==i&&o.splice(i,1),0===o.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(o.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([r.autobind],g.prototype,"beforeToolbarBuild",null)},84272:function(t,i,n){"use strict";n.d(i,{isInlineBlock:function(){return a},removeFormatForCollapsedSelection:function(){return s}});var o=n(82758),r=n(2748);function s(t,i){let{s:n}=t,o=i;if(!o){o=t.createInside.fake();let{range:i}=n;r.Dom.safeInsertNode(i,o),i.collapse()}let s=r.Dom.furthest(o,a,t.editor);if(s)if(n.cursorOnTheLeft(s))r.Dom.before(s,o);else if(n.cursorOnTheRight(s))r.Dom.after(s,o);else{let t=n.splitSelection(s);t&&r.Dom.after(t,o)}i||(n.setCursorBefore(o),r.Dom.safeRemove(o))}function a(t){return r.Dom.isInlineBlock(t)&&!r.Dom.isTag(t,o.INSEPARABLE_TAGS)}},84380:function(t,i,n){"use strict";var o=n(82758),r=n(6441),s=n(117);r.Config.prototype.askBeforePasteHTML=!0,r.Config.prototype.processPasteHTML=!0,r.Config.prototype.scrollToPastedContent=!0,r.Config.prototype.pasteExcludeStripTags=["br","hr"],r.Config.prototype.pasteHTMLActionList=[{value:o.INSERT_AS_HTML,text:"Keep"},{value:o.INSERT_AS_TEXT,text:"Insert as Text"},{value:o.INSERT_ONLY_TEXT,text:"Insert only Text"}],r.Config.prototype.memorizeChoiceWhenPasteFragment=!1,r.Config.prototype.nl2brInPlainText=!0;let a="pasteStorage";r.Config.prototype.controls.paste={tooltip:"Paste from clipboard",async exec(t,i,{control:n}){if(n.name===a)return void t.execCommand("showPasteStorage");t.s.focus();let r="",l=!0;if(navigator.clipboard){try{let t=await navigator.clipboard.read();if(t&&t.length){let i=await t[0].getType(o.TEXT_PLAIN);r=await new Response(i).text()}l=!1}catch(t){o.IS_PROD}if(l)try{r=await navigator.clipboard.readText(),l=!1}catch(t){o.IS_PROD}}l&&(l=0===(r=t.buffer.get(o.CLIPBOARD_ID)||"").length);let c=t.value;l?(t.ed.execCommand("paste"),(l=c===t.value)||t.e.fire("afterPaste")):r.length?((0,s.pasteInsertHtml)(null,t,r),t.e.fire("afterPaste")):l&&t.alert("Your browser doesn't support direct access to the clipboard.",()=>void t.s.focus())},list:{[a]:"Paste Storage"},isChildDisabled:t=>2>t.e.fire("pasteStorageList")}},84767:function(t,i,n){"use strict";function o(t){return"number"==typeof t&&!isNaN(t)&&isFinite(t)}n.d(i,{isNumber:function(){return o}})},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étaillée à l'utilisation","For information about the license, please go to our website:":"Consulter la licence sur notre site web:","Buy full version":"Acheter la version complète","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Tous droits réservés.",Anchor:"Ancre","Open in new tab":"Ouvrir dans un nouvel onglet","Open in fullsize":"Ouvrir l'éditeur en pleine page","Clear Formatting":"Supprimer le formattage","Fill color or set the text color":"Modifier la couleur du fond ou du texte",Redo:"Refaire",Undo:"Défaire",Bold:"Gras",Italic:"Italique","Insert Unordered List":"Liste non ordonnée","Insert Ordered List":"Liste ordonnée","Align Center":"Centrer","Align Justify":"Justifier","Align Left":"Aligner à gauche ","Align Right":"Aligner à droite","Insert Horizontal Line":"Insérer une ligne horizontale","Insert Image":"Insérer une image","Insert file":"Insérer un fichier","Insert youtube/vimeo video":"Insérer une vidéo","Insert link":"Insérer un lien","Font size":"Taille des caractères","Font family":"Famille des caractères","Insert format block":"Bloc formatté",Normal:"Normal","Heading 1":"Titre 1","Heading 2":"Titre 2","Heading 3":"Titre 3","Heading 4":"Titre 4",Quote:"Citation",Code:"Code",Insert:"Insérer","Insert table":"Insérer un tableau","Decrease Indent":"Diminuer le retrait","Increase Indent":"Retrait plus","Select Special Character":"Sélectionnez un caractère spécial","Insert Special Character":"Insérer un caractère spécial","Paint format":"Cloner le format","Change mode":"Mode wysiwyg <-> code html",Margins:"Marges",top:"haut",right:"droite",bottom:"Bas",left:"gauche",Styles:"Styles",Classes:"Classes",Align:"Alignement",Right:"Droite",Center:"Centre",Left:"Gauche","--Not Set--":"--Non disponible--",Src:"Source",Title:"Titre",Alternative:"Alternative",Filter:"Filtre",Link:"Lien","Open link in new tab":"Ouvrir le lien dans un nouvel onglet",Image:"Image",file:"fichier",Advanced:"Avancé","Image properties":"Propriétés de l'image",Cancel:"Annuler",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Votre texte que vous essayez de coller est similaire au HTML. Collez-le en HTML?","Paste as HTML":"Coller en HTML?",Keep:"Sauvegarder l'original",Clean:"Nettoyer","Insert as Text":"Coller en tant que texte","Word Paste Detected":"C'est peut-être un fragment de Word ou Excel","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Le contenu que vous insérez provient d'un document Microsoft Word / Excel. Voulez-vous enregistrer le format ou l'effacer?","Insert only Text":"Coller le texte seulement","File Browser":"Explorateur de fichiers","Error on load list":"Erreur de liste de chargement","Error on load folders":"Erreur de dossier de chargement","Are you sure?":"Etes-vous sûrs ?","Enter Directory name":"Entrer le nom de dossier","Create directory":"Créer un dossier","type name":"type de fichier","Drop image":"Coller une image","Drop file":"Déposer un fichier","or click":"ou cliquer","Alternative text":"Texte de remplacemement",Browse:"Chercher",Upload:"Charger",Background:"Arrière-plan",Border:"Bordure",Text:"Texte",Top:"Haut",Middle:"Milieu",Bottom:"Bas","Insert column before":"Insérer une colonne avant","Insert column after":"Insérer une colonne après","Insert row above":"Insérer une ligne au dessus","Insert row below":"Insérer une ligne en dessous","Delete table":"Supprimer le tableau","Delete row":"Supprimer la ligne","Delete column":"Supprimer la colonne","Empty cell":"Vider la cellule","Chars: %d":"Symboles: %d","Words: %d":"Mots: %d",Split:"Split","Split vertical":"Split vertical","Split horizontal":"Split horizontal","Strike through":"Barrer",Underline:"Souligner",superscript:"exposant",subscript:"indice","Cut selection":"Couper la sélection","Select all":"Tout sélectionner",Break:"Pause","Search for":"Rechercher","Replace with":"Remplacer par",Replace:"Remplacer",Paste:"Coller","Choose Content to Paste":"Choisissez le contenu à coller",source:"la source",bold:"gras",italic:"italique",brush:"pinceau",link:"lien",undo:"annuler",redo:"refaire",table:"tableau",image:"image",eraser:"gomme",paragraph:"clause",fontsize:"taille de police",video:"Video",font:"police",about:"à propos de l'éditeur",print:"impression",underline:"souligné",strikethrough:"barré",indent:"indentation",outdent:"retrait",fullsize:"taille réelle",shrink:"taille conventionnelle",hr:"la ligne",ul:"Liste",ol:"Liste numérotée",cut:"Couper",selectall:"Sélectionner tout","Open link":"Ouvrir le lien","Edit link":"Modifier le lien","No follow":"Attribut Nofollow",Unlink:"Supprimer le lien",Eye:"Voir",pencil:"Pour éditer"," URL":"URL",Reset:"Restaurer",Save:"Sauvegarder","Save as ...":"Enregistrer sous",Resize:"Changer la taille",Crop:"Taille de garniture",Width:"Largeur",Height:"Hauteur","Keep Aspect Ratio":"Garder les proportions",Yes:"Oui",No:"Non",Remove:"Supprimer",Select:"Mettre en évidence","Select %s":"Mettre en évidence: %s",Update:"Mettre à jour","Vertical align":"Alignement vertical",Merge:"aller","Add column":"Ajouter une colonne","Add row":"Ajouter une rangée",Delete:"Effacer","Horizontal align":"Alignement horizontal","Sort by changed":"Trier par modification","Sort by name":"Trier par nom","Sort by size":"Trier par taille","Add folder":"Créer le dossier","You can only edit your own images. Download this image on the host?":"Vous ne pouvez éditer que vos propres images. Téléchargez cette image sur l'hôte?","The image has been successfully uploaded to the host!":"L'image a été téléchargée avec succès sur le serveur!",palette:"Palette","There are no files":"Il n'y a aucun fichier dans ce répertoire.",Rename:"renommer","Enter new name":"Entrez un nouveau nom",preview:"Aperçu",download:"Télécharger","Paste from clipboard":"Coller à partir du presse-papiers","Your browser doesn't support direct access to the clipboard.":"Votre navigateur ne prend pas en charge l'accès direct au presse-papiers.","Copy selection":"Copier la sélection",copy:"copie","Border radius":"Rayon des bordures","Show all":"Afficher tous",Apply:"Appliquer","Please fill out this field":"Veuillez remplir ce champ","Please enter a web address":"Veuillez entrer une adresse web",Default:"Par défaut",Circle:"Cercle",Dot:"Point",Quadrate:"Quadratique",Find:"Trouver","Find Previous":"Précédent","Find Next":"Suivant","Insert className":"Insérer un nom de classe","Press Alt for custom resizing":"Appuyez sur Alt pour un redimensionnement personnalisé","Embed code":"Code d'intégration",Edit:"Modifier",All:"Tout sélectionner","License: %s":"Licence: %s"}},85120:function(t,i,n){"use strict";n.d(i,{UITextArea:function(){return c}});var o,r=n(65478),s=n(87325),a=n(80256),l=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let c=o=class t extends a.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={...o.defaultState},Object.assign(this.state,i),!1===this.state.resizable&&(this.nativeInput.style.resize="none")}};c.defaultState={...a.UIInput.defaultState,size:5,resizable:!0},l([(0,r.watch)(["state.size","state.resizable"])],c.prototype,"onChangeStateSize",null),c=o=l([s.component],c)},85130:function(t,i,n){"use strict";n.d(i,{execute:function(){return r}});var o=n(6689);async function r(t,i,n){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,c=l.toString(),u={hasSelection:!0,html:a,text:c,startContainer:l.startContainer.nodeName,endContainer:l.endContainer.nodeName};if(r>0||s>0){let i=t.editor.textContent||"",n=i.substring(0,i.indexOf(c)),o=i.substring(i.indexOf(c)+c.length);r>0&&(u.contextBefore=n.slice(-r)),s>0&&(u.contextAfter=o.slice(0,s))}return u}},85174:function(t,i,n){"use strict";var o=n(82749),r=n(31635);n(3536);var s=n(4941),a=n(65478),l=n(49055),c=n(20356),u=n(2692);class d extends c.Plugin{async afterInit(t){let i=await t.o.emoji.data();t.isInDestruct||(this.data={...i,emoji:i.emoji.map(s.Emoji.normalizeEmoji)},t.o.emoji.enableAutoComplete&&t.e.fire("registerAutocompleteSource",this.onAutoComplete),t.async.requestIdleCallback(()=>{t.getInstance(s.Emoji)}))}onAutoComplete(t){return t.length>2&&":"===t[0]&&(t=t.substr(1).toLowerCase(),(0,l.trim)(t).length)?this.data.emoji.filter(i=>i.description?.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",!u.JoditPro.fatMode),(0,o._)(this,"buttons",[{name:"emoji",group:"insert"}]),(0,o._)(this,"data",void 0)}}(0,o._)(d,"requires",["autocomplete","license"]),(0,r.__decorate)([a.autobind],d.prototype,"onAutoComplete",null),u.JoditPro.plugins.add("emoji",d)},85407:function(t,i,n){"use strict";var o=n(82758),r=n(2748),s=n(580),a=n(21537),l=n(20356),c=n(10830);class u extends l.Plugin{createDialog(){this.dialog=this.j.dlg();let t=(0,c.Button)(this.j,"paste","Paste","primary");t.onAction(this.paste);let i=(0,c.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 r.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"),r.Dom.safeRemove(this.previewBox),r.Dom.safeRemove(this.listBox),r.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!==[o.KEY_UP,o.KEY_DOWN,o.KEY_ENTER].indexOf(t.key)){if(t.key===o.KEY_UP&&(0===i?i=this.list.length-1:i-=1),t.key===o.KEY_DOWN&&(i===this.list.length-1?i=0:i+=1),t.key===o.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,o.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",u)},85567:function(t,i,n){"use strict";n.d(i,{PII:function(){return o},WARN:function(){return r}});let o=440,r=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 o.Jodit}});var o=n(2303),r=n(27613),s=n(82758),a=n(65478),l=n(41409),c=n(17555),u=n(26152);n(46448),Object.keys(s).forEach(t=>{o.Jodit[t]=s[t]});let d=t=>"__esModule"!==t;Object.keys(c).filter(d).forEach(t=>{l.Icon.set(t.replace("_","-"),c[t])}),Object.keys(l).filter(d).forEach(t=>{var i;let n=l[t],s=(0,r.isFunction)(null==(i=n.prototype)?void 0:i.className)?n.prototype.className():t;(0,r.isString)(s)&&(o.Jodit.modules[s]=n)}),Object.keys(a).filter(d).forEach(t=>{o.Jodit.decorators[t]=a[t]}),["Confirm","Alert","Prompt"].forEach(t=>{o.Jodit[t]=l[t]}),Object.keys(u.default).filter(d).forEach(t=>{o.Jodit.lang[t]=u.default[t]})},86068:function(t,i,n){"use strict";function o(t){return null==t}n.d(i,{isVoid:function(){return o}})},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ía de usuario Jodit","contains detailed help for using":"contiene ayuda detallada para el uso.","For information about the license, please go to our website:":"Para información sobre la licencia, por favor visite nuestro sitio:","Buy full version":"Compre la versión completa","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Todos los derechos reservados.",Anchor:"Anclar","Open in new tab":"Abrir en nueva pestaña","Open in fullsize":"Abrir editor en pantalla completa","Clear Formatting":"Limpiar formato","Fill color or set the text color":"Color de relleno o de letra",Redo:"Rehacer",Undo:"Deshacer",Bold:"Negrita",Italic:"Cursiva","Insert Unordered List":"Insertar lista no ordenada","Insert Ordered List":"Insertar lista ordenada","Align Center":"Alinear Centrado","Align Justify":"Alinear Justificado","Align Left":"Alinear Izquierda","Align Right":"Alinear Derecha","Insert Horizontal Line":"Insertar línea horizontal","Insert Image":"Insertar imagen","Insert file":"Insertar archivo","Insert youtube/vimeo video":"Insertar video de Youtube/vimeo","Insert link":"Insertar vínculo","Font size":"Tamaño de letra","Font family":"Familia de letra","Insert format block":"Insertar bloque",Normal:"Normal","Heading 1":"Encabezado 1","Heading 2":"Encabezado 2","Heading 3":"Encabezado 3","Heading 4":"Encabezado 4",Quote:"Cita",Code:"Código",Insert:"Insertar","Insert table":"Insertar tabla","Decrease Indent":"Disminuir sangría","Increase Indent":"Aumentar sangría","Select Special Character":"Seleccionar caracter especial","Insert Special Character":"Insertar caracter especial","Paint format":"Copiar formato","Change mode":"Cambiar modo",Margins:"Márgenes",top:"arriba",right:"derecha",bottom:"abajo",left:"izquierda",Styles:"Estilos CSS",Classes:"Clases CSS",Align:"Alinear",Right:"Derecha",Center:"Centrado",Left:"Izquierda","--Not Set--":"--No Establecido--",Src:"Fuente",Title:"Título",Alternative:"Texto Alternativo",Filter:"Filtrar",Link:"Vínculo","Open link in new tab":"Abrir vínculo en nueva pestaña",Image:"Imagen",file:"Archivo","Image properties":"Propiedades de imagen",Cancel:"Cancelar",Ok:"Aceptar","Your code is similar to HTML. Keep as HTML?":"El código es similar a HTML. ¿Mantener como HTML?","Paste as HTML":"Pegar como HTML?",Keep:"Mantener",Clean:"Limpiar","Insert as Text":"Insertar como texto","Word Paste Detected":"Pegado desde Word detectado","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"El contenido pegado proviene de un documento de Microsoft Word/Excel. ¿Desea mantener el formato o limpiarlo?","Insert only Text":"Insertar solo texto","File Browser":"Buscar archivo","Error on load list":"Error al cargar la lista","Error on load folders":"Error al cargar las carpetas","Are you sure?":"¿Está seguro?","Enter Directory name":"Entre nombre de carpeta","Create directory":"Crear carpeta","type name":"Entre el nombre","Drop image":"Soltar imagen","Drop file":"Soltar archivo","or click":"o click","Alternative text":"Texto alternativo",Browse:"Buscar",Upload:"Subir",Background:"Fondo",Text:"Texto",Top:"Arriba",Middle:"Centro",Bottom:"Abajo","Insert column before":"Insertar columna antes","Insert column after":"Interar columna después","Insert row above":"Insertar fila arriba","Insert row below":"Insertar fila debajo","Delete table":"Borrar tabla","Delete row":"Borrar fila","Delete column":"Borrar columna","Empty cell":"Vaciar celda",Delete:"Borrar","Strike through":"Tachado",Underline:"Subrayado",Break:"Pausa","Search for":"Buscar","Replace with":"Reemplazar con",Replace:"Reemplazar",Edit:"Editar","Vertical align":"Alineación vertical","Horizontal align":"Alineación horizontal","Sort by changed":"Ordenar por fecha modificación","Sort by name":"Ordenar por nombre","Sort by size":"Ordenar por tamaño","Add folder":"Agregar carpeta",Split:"Dividir","Split vertical":"Dividir vertical","Split horizontal":"Dividir horizontal",Merge:"Mezclar","Add column":"Agregar columna","Add row":"Agregar fila",Border:"Borde","Embed code":"Incluir código",Update:"Actualizar",superscript:"superíndice",subscript:"subíndice","Cut selection":"Cortar selección",Paste:"Pegar","Choose Content to Paste":"Seleccionar contenido para pegar","Chars: %d":"Caracteres: %d","Words: %d":"Palabras: %d",All:"Todo","Select %s":"Seleccionar: %s","Select all":"Seleccionar todo",source:"HTML",bold:"negrita",italic:"cursiva",brush:"Brocha",link:"Vínculo",undo:"deshacer",redo:"rehacer",table:"Tabla",image:"Imagen",eraser:"Borrar",paragraph:"Párrafo",fontsize:"Tamaño de letra",video:"Video",font:"Letra",about:"Acerca de",print:"Imprimir",underline:"subrayar",strikethrough:"tachar",indent:"sangría",outdent:"quitar sangría",fullsize:"Tamaño completo",shrink:"encoger",hr:"línea horizontal",ul:"lista sin ordenar",ol:"lista ordenada",cut:"Cortar",selectall:"Seleccionar todo","Open link":"Abrir vínculo","Edit link":"Editar vínculo","No follow":"No seguir",Unlink:"Desvincular",Eye:"Ver",pencil:"Para editar"," URL":"URL",Reset:"Resetear",Save:"Guardar","Save as ...":"Guardar como...",Resize:"Redimensionar",Crop:"Recortar",Width:"Ancho",Height:"Alto","Keep Aspect Ratio":"Mantener relación de aspecto",Yes:"Si",No:"No",Remove:"Quitar",Select:"Seleccionar","You can only edit your own images. Download this image on the host?":"Solo puedes editar tus propias imágenes. ¿Descargar esta imagen en el servidor?","The image has been successfully uploaded to the host!":"¡La imagen se ha subido correctamente al servidor!",palette:"paleta","There are no files":"No hay archivos en este directorio.",Rename:"renombrar","Enter new name":"Ingresa un nuevo nombre",preview:"avance",download:"Descargar","Paste from clipboard":"Pegar desde el portapapeles","Your browser doesn't support direct access to the clipboard.":"Su navegador no soporta el acceso directo en el portapapeles.","Copy selection":"Selección de copia",copy:"copia","Border radius":"Radio frontera","Show all":"Mostrar todos los",Apply:"Aplicar","Please fill out this field":"Por favor, rellene este campo","Please enter a web address":"Por favor, introduzca una dirección web",Default:"Predeterminado",Circle:"Círculo",Dot:"Punto",Quadrate:"Cuadro","Lower Alpha":"Letra Minúscula","Lower Greek":"Griego Minúscula","Lower Roman":"Romano Minúscula","Upper Alpha":"Letra Mayúscula","Upper Roman":"Romano Mayúscula",Find:"Encontrar","Find Previous":"Buscar Anterior","Find Next":"Buscar Siguiente","Insert className":"Insertar nombre de clase","Press Alt for custom resizing":"Presione Alt para cambiar el tamaño personalizado","License: %s":"Licencia: %s"}},86327:function(t,i,n){"use strict";n.d(i,{UIForm:function(){return u}});var o=n(4012),r=n(87325),s=n(43555),a=n(80256),l=n(12234),c=n(62405);let u=class t extends c.UIGroup{className(){return"UIForm"}submit(){this.j.e.fire(this.container,"submit")}validate(){for(let t of this.allChildren.filter(t=>o.Component.isInstanceOf(t,a.UIInput)))if(!t.validate())return!1;for(let t of this.allChildren.filter(t=>o.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=>o.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)}};u=function(t,i,n,o){var r,s=arguments.length,a=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(s<3?r(a):s>3?r(i,n,a):r(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([r.component],u)},86397:function(t,i,n){"use strict";n.d(i,{ConnectionError:function(){return o}});class o extends Error{constructor(t){super(t),Object.setPrototypeOf(this,o.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 a}});var o=n(82749),r=n(82758),s=n(21537);class a{async sendRequest(t,i,n,o,a){let{apiRequest:l,requestTimeout:c,maxRetries:u}=this.jodit.o.aiAssistantPro;if(!l)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,a),p=null;for(let t=0;u>=t;t++)try{if(d.signal.aborted)throw(0,s.abort)();let t=setTimeout(()=>{d.abort()},c);try{let i=await l(h,d.signal);return clearTimeout(t),this.validateResponse(i),i}catch(i){throw clearTimeout(t),i}}catch(i){if(p=i,r.IS_PROD,u>t){let i=this.calculateRetryDelay(t);await this.sleep(i)}else throw i}throw p||Error("API request failed after all retries")}finally{this.abortControllers.delete(d)}}abort(){this.abortControllers.forEach(t=>{t.abort()}),this.abortControllers.clear()}isInProgress(){return this.abortControllers.size>0}buildRequestContext(t,i,n,o,r){let{apiMode:s,instructions:a}=this.jodit.o.aiAssistantPro,l={mode:s,conversationId:t,tools:this.toolRegistry.getAllTools(),selectionContexts:o,conversationOptions:r,instructions:a},c=[];if("full"===s)c=i;else if(n){let t=i.findIndex(t=>t.id===n);c=-1!==t?i.slice(t+1):i,l={...l,parentMessageId:n}}else c=i;return{...l,messages:this.expandToolMessages(c,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 n of t.toolCalls){let o=n.result??{error:"result not found"};if(i.find(t=>t.id===`${n.id}-result`))continue;let r={id:`${n.id}-result`,role:"tool",content:o.error?"Error: "+o.error:JSON.stringify(o.result),timestamp:t.timestamp,toolResults:[{toolCallId:n.id,result:o}]};i.push(r)}}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 o=n(2748),r=n(43555);function s(t,i){(o.Dom.isElement(t)||o.Dom.isFragment(t))&&(i.removeOnError&&(a(t),(0,r.$$)("[onerror]",t).forEach(t=>a(t,i))),i.safeJavaScriptLink&&(a(t),(0,r.$$)('a[href^="javascript"]',t).forEach(t=>a(t,i))))}function a(t,{safeJavaScriptLink:i,removeOnError:n}={safeJavaScriptLink:!0,removeOnError:!0}){if(!o.Dom.isElement(t))return!1;let s=!1;n&&t.hasAttribute("onerror")&&((0,r.attr)(t,"onerror",null),s=!0);let l=t.getAttribute("href");return i&&l&&0===l.trim().indexOf("javascript")&&((0,r.attr)(t,"href",location.protocol+"//"+l),s=!0),s}},86563:function(t,i,n){"use strict";n.d(i,{UIMessageList:function(){return u}});var o=n(82749),r=n(31635),s=n(51359),a=n(65478),l=n(62405),c=n(31356);class u 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=c.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,o._)(this,"params",void 0),(0,o._)(this,"messages",void 0),(0,o._)(this,"messageItems",void 0),(0,o._)(this,"scrollContainer",void 0),(0,o._)(this,"autoScrollEnabled",void 0),this.params=i,this.messages=[],this.messageItems=new Map,this.autoScrollEnabled=!0}}(0,r.__decorate)([(0,a.hook)("ready")],u.prototype,"afterRender",null),(0,r.__decorate)([(0,a.watch)(["scrollContainer:wheel","scrollContainer:scroll","scrollContainer:touchmove"]),(0,a.throttle)(t=>t.defaultTimeout)],u.prototype,"onUserScroll",null),(0,r.__decorate)([(0,a.watch)(":messageSent.ai-assistant-pro")],u.prototype,"onMessageSent",null),(0,r.__decorate)([a.autobind],u.prototype,"setMessages",null),(0,r.__decorate)([(0,a.throttle)(t=>2*t.defaultTimeout)],u.prototype,"scrollToBottom",null),u=(0,r.__decorate)([a.component],u)},86583:function(t,i,n){"use strict";n.d(i,{dataBind:function(){return s}});var o=n(39955);let r=new WeakMap,s=(t,i,n)=>{let s=r.get(t);if(!s){s={},r.set(t,s);let i=null;(0,o.isViewObject)(t.j)&&(i=t.j.e),(0,o.isViewObject)(t)&&(i=t.e),i&&i.on("beforeDestruct",()=>{r.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 o}});let o=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 o=n(82758),r=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,r.getClassName)(t.prototype);if(s.has(n)&&!o.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 o=n(12153),r=n(6441),s=n(5119);r.Config.prototype.usePopupForSpecialCharacters=!1,r.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;"],o.Icon.set("symbols",s.default),r.Config.prototype.controls.symbols={hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup(t,i,n){let o=t.e.fire("generateSpecialCharactersTable.symbols");if(o){if(t.o.usePopupForSpecialCharacters){let i=t.c.div();return i.classList.add("jodit-symbols"),i.appendChild(o),t.e.on(o,"close_dialog",n),i}t.alert(o,"Select Special Character",void 0,"jodit-symbols").bindDestruct(t);let i=o.querySelector("a");i&&i.focus()}}}},87536:function(t,i,n){"use strict";n.d(i,{checkRemoveContentNotEditable:function(){return a}});var o=n(22732),r=n(21537),s=n(45124);function a(t,i,n){let a=o.Dom.findSibling(i,n);return!a&&i.parentElement&&i.parentElement!==t.editor&&(a=o.Dom.findSibling(i.parentElement,n)),!(!o.Dom.isElement(a)||o.Dom.isContentEditable(a,t.editor))&&((0,r.call)(n?o.Dom.before:o.Dom.after,a,i),o.Dom.safeRemove(a),(0,s.moveNodeInsideStart)(t,i,n),(0,r.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 o=n(29807),r=n(29960),s=n(41180),a=n(14415);function l(t,i,n,l){if(i!==t.offsetWidth||n!==t.offsetHeight){let c=i?(0,a.normalSizeToString)(i):null,u=n?(0,a.normalSizeToString)(n):null;(0,s.css)(t,{width:c,height:c&&l?null:u}),(0,r.attr)(t,"width",c&&(0,o.isNumeric)(i)&&(0,r.attr)(t,"width")?c:null),(!(0,r.attr)(t,"width")||l)&&(u=null),(0,r.attr)(t,"height",u)}}},87612:function(t,i,n){"use strict";function o(t){return"boolean"==typeof t}n.d(i,{isBoolean:function(){return o}})},88092:function(t,i,n){"use strict";var o=n(67008),r=n.n(o),s=n(6441),a=n(2748),l=n(68345);s.Config.prototype.controls.iframeEditor={icon:r(),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 u}});var o=n(82749),r=n(2748),s=n(4510),a=n(38837),l=n(67510),c=n(62357);class u 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>
591
591
  <div class='&__group &__text'>
592
592
  <div class='&__title'>Text</div>
593
593
  <div class='&__row'>