jodit-pro 4.2.13 → 4.2.18

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 (313) hide show
  1. package/es2015/jodit.css +1 -1
  2. package/es2015/jodit.fat.min.js +2 -2
  3. package/es2015/jodit.js +416 -403
  4. package/es2015/jodit.min.js +2 -2
  5. package/es2015/plugins/autocomplete/autocomplete.js +1 -1
  6. package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
  7. package/es2015/plugins/backup/backup.css +1 -1
  8. package/es2015/plugins/backup/backup.js +7 -7
  9. package/es2015/plugins/backup/backup.min.js +2 -2
  10. package/es2015/plugins/button-generator/button-generator.css +1 -1
  11. package/es2015/plugins/button-generator/button-generator.js +9 -9
  12. package/es2015/plugins/button-generator/button-generator.min.js +2 -2
  13. package/es2015/plugins/change-case/change-case.js +6 -6
  14. package/es2015/plugins/change-case/change-case.min.js +2 -2
  15. package/es2015/plugins/color-picker/color-picker.css +1 -1
  16. package/es2015/plugins/color-picker/color-picker.js +1 -1
  17. package/es2015/plugins/color-picker/color-picker.min.js +1 -1
  18. package/es2015/plugins/emoji/emoji.css +1 -1
  19. package/es2015/plugins/emoji/emoji.js +11 -11
  20. package/es2015/plugins/emoji/emoji.min.js +2 -2
  21. package/es2015/plugins/export-docs/export-docs.js +7 -7
  22. package/es2015/plugins/export-docs/export-docs.min.js +2 -2
  23. package/es2015/plugins/finder/finder.css +1 -1
  24. package/es2015/plugins/finder/finder.js +33 -33
  25. package/es2015/plugins/finder/finder.min.js +2 -2
  26. package/es2015/plugins/google-maps/google-maps.css +1 -1
  27. package/es2015/plugins/google-maps/google-maps.js +2 -2
  28. package/es2015/plugins/google-maps/google-maps.min.js +2 -2
  29. package/es2015/plugins/google-search/google-search.js +6 -6
  30. package/es2015/plugins/google-search/google-search.min.js +2 -2
  31. package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
  32. package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
  33. package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
  34. package/es2015/plugins/iframe-editor/iframe-editor.js +8 -8
  35. package/es2015/plugins/iframe-editor/iframe-editor.min.js +2 -2
  36. package/es2015/plugins/keyboard/keyboard.css +1 -1
  37. package/es2015/plugins/keyboard/keyboard.js +15 -15
  38. package/es2015/plugins/keyboard/keyboard.min.js +2 -2
  39. package/es2015/plugins/mobile-view/mobile-view.js +20 -9
  40. package/es2015/plugins/mobile-view/mobile-view.min.js +2 -2
  41. package/es2015/plugins/page-break/page-break.js +8 -8
  42. package/es2015/plugins/page-break/page-break.min.js +2 -2
  43. package/es2015/plugins/paste-code/paste-code.css +1 -1
  44. package/es2015/plugins/paste-code/paste-code.js +7 -7
  45. package/es2015/plugins/paste-code/paste-code.min.js +2 -2
  46. package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
  47. package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
  48. package/es2015/plugins/show-blocks/show-blocks.js +1 -1
  49. package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
  50. package/es2015/plugins/todo-list/todo-list.css +1 -1
  51. package/es2015/plugins/todo-list/todo-list.js +7 -7
  52. package/es2015/plugins/todo-list/todo-list.min.js +2 -2
  53. package/es2015/plugins/translate/translate.css +1 -1
  54. package/es2015/plugins/translate/translate.js +9 -9
  55. package/es2015/plugins/translate/translate.min.js +2 -2
  56. package/es2015/plugins/tune-block/tune-block.css +1 -1
  57. package/es2015/plugins/tune-block/tune-block.js +1 -1
  58. package/es2015/plugins/tune-block/tune-block.min.js +1 -1
  59. package/es2018/jodit.css +1 -1
  60. package/es2018/jodit.fat.min.js +2 -2
  61. package/es2018/jodit.js +416 -405
  62. package/es2018/jodit.min.js +2 -2
  63. package/es2018/plugins/autocomplete/autocomplete.js +1 -1
  64. package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
  65. package/es2018/plugins/backup/backup.css +1 -1
  66. package/es2018/plugins/backup/backup.js +7 -7
  67. package/es2018/plugins/backup/backup.min.js +2 -2
  68. package/es2018/plugins/button-generator/button-generator.css +1 -1
  69. package/es2018/plugins/button-generator/button-generator.js +9 -9
  70. package/es2018/plugins/button-generator/button-generator.min.js +2 -2
  71. package/es2018/plugins/change-case/change-case.js +6 -6
  72. package/es2018/plugins/change-case/change-case.min.js +2 -2
  73. package/es2018/plugins/color-picker/color-picker.css +1 -1
  74. package/es2018/plugins/color-picker/color-picker.js +1 -1
  75. package/es2018/plugins/color-picker/color-picker.min.js +1 -1
  76. package/es2018/plugins/emoji/emoji.css +1 -1
  77. package/es2018/plugins/emoji/emoji.js +11 -11
  78. package/es2018/plugins/emoji/emoji.min.js +2 -2
  79. package/es2018/plugins/export-docs/export-docs.js +7 -7
  80. package/es2018/plugins/export-docs/export-docs.min.js +2 -2
  81. package/es2018/plugins/finder/finder.css +1 -1
  82. package/es2018/plugins/finder/finder.js +33 -33
  83. package/es2018/plugins/finder/finder.min.js +2 -2
  84. package/es2018/plugins/google-maps/google-maps.css +1 -1
  85. package/es2018/plugins/google-maps/google-maps.js +2 -2
  86. package/es2018/plugins/google-maps/google-maps.min.js +2 -2
  87. package/es2018/plugins/google-search/google-search.js +6 -6
  88. package/es2018/plugins/google-search/google-search.min.js +2 -2
  89. package/es2018/plugins/highlight-signature/highlight-signature.js +1 -1
  90. package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
  91. package/es2018/plugins/iframe-editor/iframe-editor.css +1 -1
  92. package/es2018/plugins/iframe-editor/iframe-editor.js +8 -8
  93. package/es2018/plugins/iframe-editor/iframe-editor.min.js +2 -2
  94. package/es2018/plugins/keyboard/keyboard.css +1 -1
  95. package/es2018/plugins/keyboard/keyboard.js +15 -15
  96. package/es2018/plugins/keyboard/keyboard.min.js +2 -2
  97. package/es2018/plugins/mobile-view/mobile-view.js +20 -9
  98. package/es2018/plugins/mobile-view/mobile-view.min.js +2 -2
  99. package/es2018/plugins/page-break/page-break.js +8 -8
  100. package/es2018/plugins/page-break/page-break.min.js +2 -2
  101. package/es2018/plugins/paste-code/paste-code.css +1 -1
  102. package/es2018/plugins/paste-code/paste-code.js +7 -7
  103. package/es2018/plugins/paste-code/paste-code.min.js +2 -2
  104. package/es2018/plugins/paste-from-word/paste-from-word.js +1 -1
  105. package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
  106. package/es2018/plugins/show-blocks/show-blocks.js +1 -1
  107. package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
  108. package/es2018/plugins/todo-list/todo-list.css +1 -1
  109. package/es2018/plugins/todo-list/todo-list.js +7 -7
  110. package/es2018/plugins/todo-list/todo-list.min.js +2 -2
  111. package/es2018/plugins/translate/translate.css +1 -1
  112. package/es2018/plugins/translate/translate.js +9 -9
  113. package/es2018/plugins/translate/translate.min.js +2 -2
  114. package/es2018/plugins/tune-block/tune-block.css +1 -1
  115. package/es2018/plugins/tune-block/tune-block.js +1 -1
  116. package/es2018/plugins/tune-block/tune-block.min.js +1 -1
  117. package/es2021/jodit.css +1 -1
  118. package/es2021/jodit.fat.min.js +2 -2
  119. package/es2021/jodit.js +416 -403
  120. package/es2021/jodit.min.js +2 -2
  121. package/es2021/plugins/autocomplete/autocomplete.js +1 -1
  122. package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
  123. package/es2021/plugins/backup/backup.css +1 -1
  124. package/es2021/plugins/backup/backup.js +7 -7
  125. package/es2021/plugins/backup/backup.min.js +2 -2
  126. package/es2021/plugins/button-generator/button-generator.css +1 -1
  127. package/es2021/plugins/button-generator/button-generator.js +9 -9
  128. package/es2021/plugins/button-generator/button-generator.min.js +2 -2
  129. package/es2021/plugins/change-case/change-case.js +6 -6
  130. package/es2021/plugins/change-case/change-case.min.js +2 -2
  131. package/es2021/plugins/color-picker/color-picker.css +1 -1
  132. package/es2021/plugins/color-picker/color-picker.js +1 -1
  133. package/es2021/plugins/color-picker/color-picker.min.js +1 -1
  134. package/es2021/plugins/emoji/emoji.css +1 -1
  135. package/es2021/plugins/emoji/emoji.js +11 -11
  136. package/es2021/plugins/emoji/emoji.min.js +2 -2
  137. package/es2021/plugins/export-docs/export-docs.js +7 -7
  138. package/es2021/plugins/export-docs/export-docs.min.js +2 -2
  139. package/es2021/plugins/finder/finder.css +1 -1
  140. package/es2021/plugins/finder/finder.js +33 -33
  141. package/es2021/plugins/finder/finder.min.js +2 -2
  142. package/es2021/plugins/google-maps/google-maps.css +1 -1
  143. package/es2021/plugins/google-maps/google-maps.js +2 -2
  144. package/es2021/plugins/google-maps/google-maps.min.js +2 -2
  145. package/es2021/plugins/google-search/google-search.js +6 -6
  146. package/es2021/plugins/google-search/google-search.min.js +2 -2
  147. package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
  148. package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
  149. package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
  150. package/es2021/plugins/iframe-editor/iframe-editor.js +8 -8
  151. package/es2021/plugins/iframe-editor/iframe-editor.min.js +2 -2
  152. package/es2021/plugins/keyboard/keyboard.css +1 -1
  153. package/es2021/plugins/keyboard/keyboard.js +15 -15
  154. package/es2021/plugins/keyboard/keyboard.min.js +2 -2
  155. package/es2021/plugins/mobile-view/mobile-view.js +19 -9
  156. package/es2021/plugins/mobile-view/mobile-view.min.js +2 -2
  157. package/es2021/plugins/page-break/page-break.js +8 -8
  158. package/es2021/plugins/page-break/page-break.min.js +2 -2
  159. package/es2021/plugins/paste-code/paste-code.css +1 -1
  160. package/es2021/plugins/paste-code/paste-code.js +7 -7
  161. package/es2021/plugins/paste-code/paste-code.min.js +2 -2
  162. package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
  163. package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
  164. package/es2021/plugins/show-blocks/show-blocks.js +1 -1
  165. package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
  166. package/es2021/plugins/todo-list/todo-list.css +1 -1
  167. package/es2021/plugins/todo-list/todo-list.js +7 -7
  168. package/es2021/plugins/todo-list/todo-list.min.js +2 -2
  169. package/es2021/plugins/translate/translate.css +1 -1
  170. package/es2021/plugins/translate/translate.js +9 -9
  171. package/es2021/plugins/translate/translate.min.js +2 -2
  172. package/es2021/plugins/tune-block/tune-block.css +1 -1
  173. package/es2021/plugins/tune-block/tune-block.js +1 -1
  174. package/es2021/plugins/tune-block/tune-block.min.js +1 -1
  175. package/es2021.en/jodit.css +1 -1
  176. package/es2021.en/jodit.fat.min.js +2 -2
  177. package/es2021.en/jodit.js +416 -403
  178. package/es2021.en/jodit.min.js +2 -2
  179. package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
  180. package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
  181. package/es2021.en/plugins/backup/backup.css +1 -1
  182. package/es2021.en/plugins/backup/backup.js +7 -7
  183. package/es2021.en/plugins/backup/backup.min.js +2 -2
  184. package/es2021.en/plugins/button-generator/button-generator.css +1 -1
  185. package/es2021.en/plugins/button-generator/button-generator.js +9 -9
  186. package/es2021.en/plugins/button-generator/button-generator.min.js +2 -2
  187. package/es2021.en/plugins/change-case/change-case.js +6 -6
  188. package/es2021.en/plugins/change-case/change-case.min.js +2 -2
  189. package/es2021.en/plugins/color-picker/color-picker.css +1 -1
  190. package/es2021.en/plugins/color-picker/color-picker.js +1 -1
  191. package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
  192. package/es2021.en/plugins/emoji/emoji.css +1 -1
  193. package/es2021.en/plugins/emoji/emoji.js +11 -11
  194. package/es2021.en/plugins/emoji/emoji.min.js +2 -2
  195. package/es2021.en/plugins/export-docs/export-docs.js +7 -7
  196. package/es2021.en/plugins/export-docs/export-docs.min.js +2 -2
  197. package/es2021.en/plugins/finder/finder.css +1 -1
  198. package/es2021.en/plugins/finder/finder.js +33 -33
  199. package/es2021.en/plugins/finder/finder.min.js +2 -2
  200. package/es2021.en/plugins/google-maps/google-maps.css +1 -1
  201. package/es2021.en/plugins/google-maps/google-maps.js +2 -2
  202. package/es2021.en/plugins/google-maps/google-maps.min.js +2 -2
  203. package/es2021.en/plugins/google-search/google-search.js +6 -6
  204. package/es2021.en/plugins/google-search/google-search.min.js +2 -2
  205. package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
  206. package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
  207. package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
  208. package/es2021.en/plugins/iframe-editor/iframe-editor.js +8 -8
  209. package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +2 -2
  210. package/es2021.en/plugins/keyboard/keyboard.css +1 -1
  211. package/es2021.en/plugins/keyboard/keyboard.js +15 -15
  212. package/es2021.en/plugins/keyboard/keyboard.min.js +2 -2
  213. package/es2021.en/plugins/mobile-view/mobile-view.js +19 -9
  214. package/es2021.en/plugins/mobile-view/mobile-view.min.js +2 -2
  215. package/es2021.en/plugins/page-break/page-break.js +8 -8
  216. package/es2021.en/plugins/page-break/page-break.min.js +2 -2
  217. package/es2021.en/plugins/paste-code/paste-code.css +1 -1
  218. package/es2021.en/plugins/paste-code/paste-code.js +7 -7
  219. package/es2021.en/plugins/paste-code/paste-code.min.js +2 -2
  220. package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
  221. package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
  222. package/es2021.en/plugins/show-blocks/show-blocks.js +1 -1
  223. package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
  224. package/es2021.en/plugins/todo-list/todo-list.css +1 -1
  225. package/es2021.en/plugins/todo-list/todo-list.js +7 -7
  226. package/es2021.en/plugins/todo-list/todo-list.min.js +2 -2
  227. package/es2021.en/plugins/translate/translate.css +1 -1
  228. package/es2021.en/plugins/translate/translate.js +9 -9
  229. package/es2021.en/plugins/translate/translate.min.js +2 -2
  230. package/es2021.en/plugins/tune-block/tune-block.css +1 -1
  231. package/es2021.en/plugins/tune-block/tune-block.js +1 -1
  232. package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
  233. package/es5/jodit.css +2 -2
  234. package/es5/jodit.fat.min.js +2 -2
  235. package/es5/jodit.js +421 -408
  236. package/es5/jodit.min.css +2 -2
  237. package/es5/jodit.min.js +2 -2
  238. package/es5/plugins/autocomplete/autocomplete.js +1 -1
  239. package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
  240. package/es5/plugins/backup/backup.css +1 -1
  241. package/es5/plugins/backup/backup.js +7 -7
  242. package/es5/plugins/backup/backup.min.js +2 -2
  243. package/es5/plugins/button-generator/button-generator.css +1 -1
  244. package/es5/plugins/button-generator/button-generator.js +9 -9
  245. package/es5/plugins/button-generator/button-generator.min.js +2 -2
  246. package/es5/plugins/change-case/change-case.js +6 -6
  247. package/es5/plugins/change-case/change-case.min.js +2 -2
  248. package/es5/plugins/color-picker/color-picker.css +1 -1
  249. package/es5/plugins/color-picker/color-picker.js +1 -1
  250. package/es5/plugins/color-picker/color-picker.min.js +1 -1
  251. package/es5/plugins/emoji/emoji.css +1 -1
  252. package/es5/plugins/emoji/emoji.js +11 -11
  253. package/es5/plugins/emoji/emoji.min.js +2 -2
  254. package/es5/plugins/export-docs/export-docs.js +7 -7
  255. package/es5/plugins/export-docs/export-docs.min.js +2 -2
  256. package/es5/plugins/finder/finder.css +1 -1
  257. package/es5/plugins/finder/finder.js +33 -33
  258. package/es5/plugins/finder/finder.min.js +2 -2
  259. package/es5/plugins/google-maps/google-maps.css +1 -1
  260. package/es5/plugins/google-maps/google-maps.js +2 -2
  261. package/es5/plugins/google-maps/google-maps.min.js +2 -2
  262. package/es5/plugins/google-search/google-search.js +6 -6
  263. package/es5/plugins/google-search/google-search.min.js +2 -2
  264. package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
  265. package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
  266. package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
  267. package/es5/plugins/iframe-editor/iframe-editor.js +8 -8
  268. package/es5/plugins/iframe-editor/iframe-editor.min.js +2 -2
  269. package/es5/plugins/keyboard/keyboard.css +1 -1
  270. package/es5/plugins/keyboard/keyboard.js +15 -15
  271. package/es5/plugins/keyboard/keyboard.min.js +2 -2
  272. package/es5/plugins/mobile-view/mobile-view.js +20 -9
  273. package/es5/plugins/mobile-view/mobile-view.min.js +2 -2
  274. package/es5/plugins/page-break/page-break.js +8 -8
  275. package/es5/plugins/page-break/page-break.min.js +2 -2
  276. package/es5/plugins/paste-code/paste-code.css +1 -1
  277. package/es5/plugins/paste-code/paste-code.js +7 -7
  278. package/es5/plugins/paste-code/paste-code.min.js +2 -2
  279. package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
  280. package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
  281. package/es5/plugins/show-blocks/show-blocks.js +1 -1
  282. package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
  283. package/es5/plugins/todo-list/todo-list.css +1 -1
  284. package/es5/plugins/todo-list/todo-list.js +7 -7
  285. package/es5/plugins/todo-list/todo-list.min.js +2 -2
  286. package/es5/plugins/translate/translate.css +1 -1
  287. package/es5/plugins/translate/translate.js +9 -9
  288. package/es5/plugins/translate/translate.min.js +2 -2
  289. package/es5/plugins/tune-block/tune-block.css +1 -1
  290. package/es5/plugins/tune-block/tune-block.js +1 -1
  291. package/es5/plugins/tune-block/tune-block.min.js +1 -1
  292. package/esm/plugins/autocomplete/autocomplete.js +1 -1
  293. package/esm/plugins/backup/config.js +1 -1
  294. package/esm/plugins/button-generator/config.js +1 -1
  295. package/esm/plugins/change-case/config.js +1 -1
  296. package/esm/plugins/emoji/config.js +1 -1
  297. package/esm/plugins/export-docs/config.js +1 -1
  298. package/esm/plugins/finder/browser.js +1 -1
  299. package/esm/plugins/finder/interface.d.ts +69 -0
  300. package/esm/plugins/google-maps/config.js +1 -1
  301. package/esm/plugins/google-maps/interface.d.ts +109 -0
  302. package/esm/plugins/google-search/google-search.js +1 -1
  303. package/esm/plugins/iframe-editor/config.js +1 -1
  304. package/esm/plugins/keyboard/config.js +1 -1
  305. package/esm/plugins/keyboard/keyboard.js +1 -1
  306. package/esm/plugins/mobile-view/config.js +1 -1
  307. package/esm/plugins/page-break/config.js +1 -1
  308. package/esm/plugins/paste-code/config.js +1 -1
  309. package/esm/plugins/todo-list/config.js +1 -1
  310. package/esm/plugins/translate/config.js +1 -1
  311. package/package.json +1 -1
  312. package/types/plugins/finder/interface.d.ts +69 -0
  313. package/types/plugins/google-maps/interface.d.ts +109 -0
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v4.2.13
4
+ * Version: v4.2.18
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
8
8
 
9
9
 
10
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var i=t();for(var o in i)("object"==typeof exports?exports:e)[o]=i[o]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[122],{60574:function(e){e.exports='<svg viewBox="0 0 32 32" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <rect fill="none" height="32" width="32"/> <path d="M28,14H18v2h10V14z M28,18H18v2h10V18z M24,22h-6v2h6V22z M14,14H4v10h10V14z M0,6v26h32V6H0z M30,30H2l0.08-20H30V30z"/> </svg>'},84713:function(e,t,i){"use strict";var o=i(23545),n=i(55010),r=i(60574),a=i.n(r),l=i(91288);l.T.prototype.controls.iframeEditor={icon:a(),tooltip:"Iframe Editor",exec:function(e,t){o.J.isTag(t,"jodit")&&o.J.isTag(t.firstElementChild,"iframe")&&(t=t.firstElementChild),e.e.fire("toggleIframeEditor",o.J.isTag(t,"iframe")?t:null)}},(0,n.c)(l.T.prototype.popup.iframe)&&l.T.prototype.popup.iframe.push("iframeEditor")},99205:function(e,t,i){"use strict";i.r(t),i.d(t,{IframeEditor:function(){return f}});var o=i(31635),n=i(53557),r=i(33465),a=i(9596),l=i(65564),s=i(64962),c=i(35102),d=(i(84713),i(48909)),u=i(25511),f=function(e){function t(){var t=e.apply(this,(0,o.fX)([],(0,o.zs)(arguments),!1))||this;return t.buttons=[{group:"form",name:"iframeEditor"}],t}return(0,o.C6)(t,e),t.prototype.afterInit=function(e){e.e.on("toggleIframeEditor",this.toggleEditor)},t.prototype.toggleEditor=function(e){var t,i,o,n,l,u=this;this.__dialog||(this.__dialog=new c.Dialog({language:this.j.o.language,theme:this.j.o.theme}),this.__dialog.setHeader("Iframe Properties").setSize(470,400)),e&&!r.J.isTag(e,"iframe")&&(e=void 0);var f=new d.K(this.__dialog,{src:null!==(t=null==e?void 0:e.src)&&void 0!==t?t:"",name:null!==(i=null==e?void 0:e.name)&&void 0!==i?i:"",title:null!==(o=null==e?void 0:e.title)&&void 0!==o?o:"",frameBorder:"1"===(null==e?void 0:e.frameBorder)||"yes"===(null==e?void 0:e.frameBorder),width:null!==(n=null==e?void 0:e.offsetWidth)&&void 0!==n?n:700,height:null!==(l=null==e?void 0:e.offsetHeight)&&void 0!==l?l:400});this.__dialog.setContent(f);var h=this.__dialog;h.isOpened?h.close():(h.setFooter([(0,s.$n)(h,"cancel","Cancel","default").onAction((function(){return h.close()})),(0,s.$n)(h,"ok",e?"Update":"Insert","primary").onAction((function(){if(!f.srcField.value)return f.srcField.validate(),void f.srcField.focus();e||(e=u.j.createInside.element("iframe"),u.j.s.insertNode(e,!0,!1)),e.className=f.state.className||"",(0,a.attr)(e,{src:f.state.src,title:f.state.title,name:f.state.name,frameborder:f.state.frameBorder?"1":"0",width:f.state.width,height:f.state.height}),r.J.isTag(e.parentElement,"jodit")&&(0,a.css)(e.parentElement,{width:f.state.width,height:f.state.height}),u.jodit.e.fire("synchro"),h.close()}))]).open(),this.jodit.async.requestIdleCallback((function(){f.srcField.focus()})))},t.prototype.onDblClick=function(e){r.J.isTag(e.target,"iframe")&&this.toggleEditor(e.target)},t.prototype.beforeDestruct=function(e){var t;null===(t=this.__dialog)||void 0===t||t.destruct()},t.requires=["license","color-picker"],(0,o.Cg)([n.autobind],t.prototype,"toggleEditor",null),(0,o.Cg)([(0,n.watch)(":dblclick")],t.prototype,"onDblClick",null),t}(l.k);u.A.plugins.add("iframe-editor",f)},48909:function(e,t,i){"use strict";i.d(t,{K:function(){return a}});var o=i(31635),n=i(12222),r=i(76185),a=function(e){function t(t,i){var o=e.call(this,t)||this;return o.state={src:"",className:"",width:400,height:200,frameBorder:!1,enableScrollbars:!1,name:"",title:""},Object.assign(o.state,i),o.srcField=new r.tS(t,{label:"URL",type:"url",required:!0,value:o.state.src,onChange:function(e){o.state.src=e}}),o.append([o.srcField,new r.Yh(t,[new r.tS(t,{label:"Width",type:"number",value:o.state.width,onChange:function(e){o.state.width=parseInt(e,10)||0}}),new r.tS(t,{label:"Height",type:"number",value:o.state.height,onChange:function(e){o.state.height=parseInt(e,10)||0}})],{className:o.getFullElName("block"),align:"center"}),new r.Yh(t,[new r.cY(t,{label:"Show frame border",checked:Boolean(i.frameBorder),onChange:function(e){o.state.frameBorder="true"===e}})]),new r.tS(t,{label:"Name",value:o.state.name,type:"text",onChange:function(e){o.state.name=e}}),new r.tS(t,{label:"Title",value:o.state.title,type:"text",onChange:function(e){o.state.title=e}})]),o}return(0,o.C6)(t,e),t.prototype.className=function(){return"UIIframeEditor"},(0,o.Cg)([n.s],t)}(r.Ue)}},function(e){return e(e.s=99205)}])}));
10
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var i=t();for(var o in i)("object"==typeof exports?exports:e)[o]=i[o]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[122],{60574:function(e){e.exports='<svg viewBox="0 0 32 32" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <rect fill="none" height="32" width="32"/> <path d="M28,14H18v2h10V14z M28,18H18v2h10V18z M24,22h-6v2h6V22z M14,14H4v10h10V14z M0,6v26h32V6H0z M30,30H2l0.08-20H30V30z"/> </svg>'},84713:function(e,t,i){"use strict";var o=i(23545),n=i(55010),r=i(91288),a=i(60574);r.T.prototype.controls.iframeEditor={icon:i.n(a)(),tooltip:"Iframe Editor",exec:function(e,t){o.J.isTag(t,"jodit")&&o.J.isTag(t.firstElementChild,"iframe")&&(t=t.firstElementChild),e.e.fire("toggleIframeEditor",o.J.isTag(t,"iframe")?t:null)}},(0,n.c)(r.T.prototype.popup.iframe)&&r.T.prototype.popup.iframe.push("iframeEditor")},99205:function(e,t,i){"use strict";i.r(t),i.d(t,{IframeEditor:function(){return f}});var o=i(31635),n=i(53557),r=i(33465),a=i(9596),l=i(65564),s=i(64962),c=i(35102),d=(i(84713),i(48909)),u=i(25511),f=function(e){function t(){var t=e.apply(this,(0,o.fX)([],(0,o.zs)(arguments),!1))||this;return t.buttons=[{group:"form",name:"iframeEditor"}],t}return(0,o.C6)(t,e),t.prototype.afterInit=function(e){e.e.on("toggleIframeEditor",this.toggleEditor)},t.prototype.toggleEditor=function(e){var t,i,o,n,l,u=this;this.__dialog||(this.__dialog=new c.Dialog({language:this.j.o.language,theme:this.j.o.theme}),this.__dialog.setHeader("Iframe Properties").setSize(470,400)),e&&!r.J.isTag(e,"iframe")&&(e=void 0);var f=new d.K(this.__dialog,{src:null!==(t=null==e?void 0:e.src)&&void 0!==t?t:"",name:null!==(i=null==e?void 0:e.name)&&void 0!==i?i:"",title:null!==(o=null==e?void 0:e.title)&&void 0!==o?o:"",frameBorder:"1"===(null==e?void 0:e.frameBorder)||"yes"===(null==e?void 0:e.frameBorder),width:null!==(n=null==e?void 0:e.offsetWidth)&&void 0!==n?n:700,height:null!==(l=null==e?void 0:e.offsetHeight)&&void 0!==l?l:400});this.__dialog.setContent(f);var h=this.__dialog;h.isOpened?h.close():(h.setFooter([(0,s.$n)(h,"cancel","Cancel","default").onAction((function(){return h.close()})),(0,s.$n)(h,"ok",e?"Update":"Insert","primary").onAction((function(){if(!f.srcField.value)return f.srcField.validate(),void f.srcField.focus();e||(e=u.j.createInside.element("iframe"),u.j.s.insertNode(e,!0,!1)),e.className=f.state.className||"",(0,a.attr)(e,{src:f.state.src,title:f.state.title,name:f.state.name,frameborder:f.state.frameBorder?"1":"0",width:f.state.width,height:f.state.height}),r.J.isTag(e.parentElement,"jodit")&&(0,a.css)(e.parentElement,{width:f.state.width,height:f.state.height}),u.jodit.e.fire("synchro"),h.close()}))]).open(),this.jodit.async.requestIdleCallback((function(){f.srcField.focus()})))},t.prototype.onDblClick=function(e){r.J.isTag(e.target,"iframe")&&this.toggleEditor(e.target)},t.prototype.beforeDestruct=function(e){var t;null===(t=this.__dialog)||void 0===t||t.destruct()},t.requires=["license","color-picker"],(0,o.Cg)([n.autobind],t.prototype,"toggleEditor",null),(0,o.Cg)([(0,n.watch)(":dblclick")],t.prototype,"onDblClick",null),t}(l.k);u.A.plugins.add("iframe-editor",f)},48909:function(e,t,i){"use strict";i.d(t,{K:function(){return a}});var o=i(31635),n=i(12222),r=i(76185),a=function(e){function t(t,i){var o=e.call(this,t)||this;return o.state={src:"",className:"",width:400,height:200,frameBorder:!1,enableScrollbars:!1,name:"",title:""},Object.assign(o.state,i),o.srcField=new r.tS(t,{label:"URL",type:"url",required:!0,value:o.state.src,onChange:function(e){o.state.src=e}}),o.append([o.srcField,new r.Yh(t,[new r.tS(t,{label:"Width",type:"number",value:o.state.width,onChange:function(e){o.state.width=parseInt(e,10)||0}}),new r.tS(t,{label:"Height",type:"number",value:o.state.height,onChange:function(e){o.state.height=parseInt(e,10)||0}})],{className:o.getFullElName("block"),align:"center"}),new r.Yh(t,[new r.cY(t,{label:"Show frame border",checked:Boolean(i.frameBorder),onChange:function(e){o.state.frameBorder="true"===e}})]),new r.tS(t,{label:"Name",value:o.state.name,type:"text",onChange:function(e){o.state.name=e}}),new r.tS(t,{label:"Title",value:o.state.title,type:"text",onChange:function(e){o.state.title=e}})]),o}return(0,o.C6)(t,e),t.prototype.className=function(){return"UIIframeEditor"},(0,o.Cg)([n.s],t)}(r.Ue)}},function(e){return e(e.s=99205)}])}));
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v4.2.13
4
+ * Version: v4.2.18
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v4.2.13
4
+ * Version: v4.2.18
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -64,12 +64,12 @@ module.exports = "<svg viewBox=\"0 0 48 48\" xmlns=\"http://www.w3.org/2000/svg\
64
64
  /***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
65
65
 
66
66
  "use strict";
67
- /* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(75541);
68
- /* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_icon_svg__WEBPACK_IMPORTED_MODULE_0__);
69
- /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
67
+ /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91288);
68
+ /* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(75541);
69
+ /* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_icon_svg__WEBPACK_IMPORTED_MODULE_1__);
70
70
 
71
71
 
72
- jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.keyboard = {
72
+ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.keyboard = {
73
73
  defaultLayoutSet: 'en',
74
74
  showLayoutSwitcher: true,
75
75
  extraKeyGroup: 'other',
@@ -174,15 +174,15 @@ jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.keyboard = {
174
174
  ]
175
175
  // prettier-ignore-end
176
176
  };
177
- jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.keyboard = {
177
+ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.keyboard = {
178
178
  tooltip: 'Keyboard',
179
- icon: (_icon_svg__WEBPACK_IMPORTED_MODULE_0___default()),
179
+ icon: (_icon_svg__WEBPACK_IMPORTED_MODULE_1___default()),
180
180
  isActive: function (editor) {
181
181
  return Boolean(editor.e.fire('isKeyboardOpened'));
182
182
  },
183
183
  command: 'toggleKeyboard'
184
184
  };
185
- jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.extraKeyboardButtons = {};
185
+ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.extraKeyboardButtons = {};
186
186
 
187
187
 
188
188
  /***/ }),
@@ -200,10 +200,10 @@ __webpack_require__.r(__webpack_exports__);
200
200
  /* harmony import */ var jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(58588);
201
201
  /* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65564);
202
202
  /* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(76185);
203
- /* harmony import */ var jodit_modules__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(35102);
204
- /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(32338);
205
- /* harmony import */ var _ui_keyboard_keyboard__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(78498);
206
- /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(91288);
203
+ /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
204
+ /* harmony import */ var jodit_modules__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(35102);
205
+ /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(32338);
206
+ /* harmony import */ var _ui_keyboard_keyboard__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(78498);
207
207
  /* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(25511);
208
208
 
209
209
 
@@ -238,7 +238,7 @@ var keyboard = /** @class */ (function (_super) {
238
238
  name: "extraKeyboardButtons.".concat(id),
239
239
  group: extraKeyGroup
240
240
  });
241
- var extraKeyboardButtons = jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.defaultOptions
241
+ var extraKeyboardButtons = jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.defaultOptions
242
242
  .controls.extraKeyboardButtons;
243
243
  extraKeyboardButtons[id] = {
244
244
  name: id,
@@ -267,10 +267,10 @@ var keyboard = /** @class */ (function (_super) {
267
267
  */
268
268
  keyboard.prototype.toggleKeyboard = function () {
269
269
  if (!this.__keyboard) {
270
- this.__keyboard = new jodit_modules__WEBPACK_IMPORTED_MODULE_4__.Dialog({
270
+ this.__keyboard = new jodit_modules__WEBPACK_IMPORTED_MODULE_5__.Dialog({
271
271
  toolbarButtonSize: 'tiny'
272
272
  });
273
- var ui_1 = new _ui_keyboard_keyboard__WEBPACK_IMPORTED_MODULE_6__/* .UIKeyboard */ .u(this.j);
273
+ var ui_1 = new _ui_keyboard_keyboard__WEBPACK_IMPORTED_MODULE_7__/* .UIKeyboard */ .u(this.j);
274
274
  this.__keyboard
275
275
  .setMod('slim', true)
276
276
  .setMod('adaptive', false)
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v4.2.13
4
+ * Version: v4.2.18
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
8
8
 
9
9
 
10
- !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var o=e();for(var s in o)("object"==typeof exports?exports:t)[s]=o[s]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[702],{75541:function(t){t.exports='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path d="M0 6c0-1.1.9-2 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6zm2 0v2h2V6H2zm1 3v2h2V9H3zm-1 3v2h2v-2H2zm3 0v2h10v-2H5zm11 0v2h2v-2h-2zM6 9v2h2V9H6zm3 0v2h2V9H9zm3 0v2h2V9h-2zm3 0v2h2V9h-2zM5 6v2h2V6H5zm3 0v2h2V6H8zm3 0v2h2V6h-2zm3 0v2h4V6h-4z"/> </svg>'},1523:function(t){t.exports='<?xml version="1.0" ?><svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 10l7-7h13v14H7l-7-7zm14.41 0l2.13-2.12-1.42-1.42L13 8.6l-2.12-2.13-1.42 1.42L11.6 10l-2.13 2.12 1.42 1.42L13 11.4l2.12 2.13 1.42-1.42L14.4 10z"/></svg>'},19836: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>'},66431:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24" > <circle cy="12" cx="12" r="2.2"/> <circle cy="12" cx="5" r="2.2"/> <circle cy="12" cx="19" r="2.2"/> </svg>'},2721: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>'},9456:function(t){t.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M23.17 14.83l7.17 7.17h-28.34v4h28.34l-7.17 7.17 2.83 2.83 12-12-12-12-2.83 2.83zm16.83-2.83v24h4v-24h-4z"/> </svg>'},32338:function(t,e,o){"use strict";var s=o(75541),a=o.n(s),r=o(91288);r.T.prototype.keyboard={defaultLayoutSet:"en",showLayoutSwitcher:!0,extraKeyGroup:"other",extraKeyButtons:[],delayKeyRepeat:350,periodKeyRepeat:100,layoutList:{en:{title:"English",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},es:{title:"Español",keys:[["º ` ~","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _ |","¡ = +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","ç Ç \\"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ñ Ñ ; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},de:{title:"Deutsch",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 * :","9 ( {","0 ) }","- _","= +","Backspace"],["Tab","q Q","w W","e E","r R","t T","z Z","u U","i I","o O","p P","ü Ü [","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ö Ö ;","ä Ä ' \"","Enter"],["Shift","y Y","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},ru:{title:"Русский",keys:[["` ~ ±","1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","й Й","ц Ц","у У","к К","е Е","н Н","г Г","ш Ш","щ Щ","з З","х Х [","ъ ] {","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ж Ж ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","ь Ь","б Б ,","ю Ю .","/ ?","Shift"],["Options","Space","Options"]]},tr:{title:"Türkçe",keys:[['" é` ~',"1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ ±","7 &","8 *","9 ( {","0 ) }","- _ [","= + ]","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","ı I","o O","p P","ğ Ğ","ü Ü",", \\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ş Ş","i̇ İ","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M","ö Ö <","ç Ç >",". / ?","Shift"],["Options","Space","Options"]]},iw:{title:"Hebrew",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","/ q Q","' w W","ק e E","ר r R","א t T","ט y Y","ו u U","ן i I","ם o O","פ p P","[ {","] }","\\ |"],["Caps","ש a A","ד s S","ג d D","כ f F","ע g G","י h H","ח j J","ל k K","ך l L","ף ; :","' \"","Enter"],["Shift","ז z Z","ס x X","ב c C","ה v V","נ b B","מ n N","צ m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},tata:{title:"Tata",keys:[["һ Һ` ~","1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ ±","7 &","8 *","9 ( {","0 )","- _","= +","Backspace"],["Tab","й Й","ө Ө","у У","к К","е Е","н Н","г Г","ш Ш","ә Ә","з З","х Х [","ү Ү ]","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ң Ң ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","җ Җ","б Б ,","ю Ю .","ґ Ґ /","Shift"],["Options","Space","Options"]]}},layoutSwitchList:["en","es","de","ru","tr","iw","tata"],keySize:32,layout:[[1,1,1,1,1,1,1,1,1,1,1,1,1,2],[1.5,1,1,1,1,1,1,1,1,1,1,1,1,1.5],[1.8,1,1,1,1,1,1,1,1,1,1,1,2.2],[2.5,1,1,1,1,1,1,1,1,1,1,2.5],[3.5,9,3.5]]},r.T.prototype.controls.keyboard={tooltip:"Keyboard",icon:a(),isActive:function(t){return Boolean(t.e.fire("isKeyboardOpened"))},command:"toggleKeyboard"},r.T.prototype.controls.extraKeyboardButtons={}},7713:function(t,e,o){"use strict";o.r(e),o.d(e,{keyboard:function(){return y}});var s=o(31635),a=o(53557),r=o(58588),n=o(65564),i=o(76185),c=o(35102),p=(o(32338),o(78498)),h=o(91288),u=o(25511),y=function(t){function e(e){var o=t.call(this,e)||this;o.hasStyle=!u.A.fatMode,o.buttons=[{group:"insert",name:"keyboard"}];var s=e.o.keyboard,a=s.extraKeyButtons,n=s.extraKeyGroup;return a.length&&a.forEach((function(t,o){var s=(0,r.Kg)(t)?t:t.key,a=(0,r.Kg)(t)||!t.hotkeys?["ctrl+".concat(o+1)]:t.hotkeys;e.registerButton({name:"extraKeyboardButtons.".concat(s),group:n}),h.T.defaultOptions.controls.extraKeyboardButtons[s]={name:s,tooltip:s,args:[s],hotkeys:a,command:"insertChar"}})),o}return(0,s.C6)(e,t),e.prototype.afterInit=function(t){var e=this;t.registerCommand("toggleKeyboard",this.toggleKeyboard).registerCommand("insertChar",this.insertChar),t.e.on("isKeyboardOpened",(function(){var t;return null===(t=e.__keyboard)||void 0===t?void 0:t.isOpened}))},e.prototype.insertChar=function(t,e,o){this.j.s.insertNode(this.j.createInside.text(o))},e.prototype.toggleKeyboard=function(){if(!this.__keyboard){this.__keyboard=new c.Dialog({toolbarButtonSize:"tiny"});var t=new p.u(this.j);this.__keyboard.setMod("slim",!0).setMod("adaptive",!1).setContent(t);var e=this.j.o.keyboard,o=e.layoutList;if(e.showLayoutSwitcher){var s=new i.$6(this.__keyboard,{value:t.state.currentLayout,options:e.layoutSwitchList.map((function(t){var e,s;return{text:null!==(s=null===(e=o[t])||void 0===e?void 0:e.title)&&void 0!==s?s:t,value:t}})),onChange:function(e){t.state.currentLayout=e}});s.setMod("size","tiny").setMod("width","auto").setMod("variant","outline"),this.__keyboard.setHeader(s)}}this.__keyboard.isOpened?this.__keyboard.close():this.__keyboard.open()},e.prototype.beforeDestruct=function(t){var e;null===(e=this.__keyboard)||void 0===e||e.destruct()},e.requires=["license"],(0,s.Cg)([a.autobind],e.prototype,"insertChar",null),(0,s.Cg)([a.autobind],e.prototype,"toggleKeyboard",null),e}(n.k);u.A.plugins.add("keyboard",y)},78498:function(t,e,o){"use strict";o.d(e,{u:function(){return k}});var s=o(31635),a=o(67259),r=o(53557),n=o(71122),i=o(76185),c=o(1523),p=o.n(c),h=o(19836),u=o.n(h),y=o(66431),l=o.n(y),d=o(2721),f=o.n(d),v=o(9456),g=o.n(v),k=function(t){function e(e){var o=t.call(this,e)||this;return o.state={caps:!1,shift:!1,options:!1,currentLayout:o.j.o.keyboard.defaultLayoutSet},o._keys=o.getElms("key"),o.pressed=!1,o.reKeyDownTimeout=0,o.onStateChange(),o}var o;return(0,s.C6)(e,t),o=e,e.prototype.className=function(){return"UIKeyboard"},e.prototype.render=function(){var t=this.j.options.keyboard,e=t.layout,o=t.keySize,s=e.length;return"<div>".concat(function(){for(var t=[],a=0;s>a;a+=1){for(var r=[],n=0;e[a].length>n;n+=1)r.push('<div style="width:'.concat(o*e[a][n],"px;height:").concat(o,'px;" class="&__key"></div>'));t.push("<div class='&__row'>".concat(r.join("\n"),"</div>"))}return t.join("\n")}(),"</div>")},e.prototype.onStateChange=function(){for(var t=this.state,e=t.options,s=t.shift,a=t.caps,r=this.j.o.keyboard.layoutList[t.currentLayout].keys,n=0,i=0;r.length>i;i+=1)for(var c=0;r[i].length>c;c+=1){var p=r[i][c].split(" "),h=p[0];s&&(h=p[1]),!s&&a&&p[1]&&o.isLetter(p[0])&&(h=p[1]),e&&(h=p[2]),this.setKeyValue(n,null!=h?h:p[0]),n+=1}},e.isLetter=function(t){return t.toLowerCase()!==t.toUpperCase()},e.prototype.setKeyValue=function(t,e){var s=this._keys[t];if(s){var a=!1,r=this.state,i=r.options,c=r.shift,p=r.caps;switch(e){case"Caps":a=p;break;case"Options":a=i;break;case"Shift":a=c}s.innerHTML=o.decorate(e),s.classList.toggle(this.getFullElName("key","active",!0),a),(0,n.attr)(s,"-key",e)}},e.prototype.onKeyUp=function(){this.pressed&&this.stopPress()},e.prototype.onReady=function(){this.j.e.on(this.getElms("key"),"mouseenter",this.stopPress)},e.prototype.stopPress=function(){var t=this;this.pressed&&(this.pressed=!1,this.j.async.clearTimeout(this.reKeyDownTimeout),this._keys.forEach((function(e){e.classList.remove(t.getFullElName("key","pressed",!0))})))},e.prototype.onKeyDown=function(t,e){var o=this;void 0===e&&(e=0);var s=t.target;if(!s||!s.classList.contains(this.getFullElName("key")))return!1;this.pressed=!0,s.classList.add(this.getFullElName("key","pressed",!0));var r=(0,n.attr)(s,"-key");switch(r){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:r,preventDefault:function(){}});break;case"Space":case"Tab":this.j.s.insertNode(this.j.createInside.text(a.NBSP_SPACE));break;default:this.state.shift&&(this.state.shift=!1),r&&this.j.s.insertNode(this.j.createInside.text(r))}var i=this.j.o.keyboard,c=i.periodKeyRepeat;return this.reKeyDownTimeout=this.j.async.setTimeout((function(){return o.onKeyDown(t,c)}),e||i.delayKeyRepeat),!1},e.decorate=function(t){switch(t){case"Space":return"";case"Enter":return i.In.get("enter");case"Backspace":return p();case"Shift":return f();case"Caps":return u();case"Options":return l();case"Tab":return g();default:return t}},(0,s.Cg)([(0,r.watch)(["state.currentLayout","state.options","state.shift","state.caps"])],e.prototype,"onStateChange",null),(0,s.Cg)([(0,r.watch)(["ow:mouseup"])],e.prototype,"onKeyUp",null),(0,s.Cg)([(0,r.hook)("ready")],e.prototype,"onReady",null),(0,s.Cg)([r.autobind],e.prototype,"stopPress",null),(0,s.Cg)([(0,r.watch)(["container:mousedown","container:touchstart"])],e.prototype,"onKeyDown",null),o=(0,s.Cg)([r.component],e)}(i.D$)}},function(t){return t(t.s=7713)}])}));
10
+ !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var o=e();for(var s in o)("object"==typeof exports?exports:t)[s]=o[s]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[702],{75541:function(t){t.exports='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path d="M0 6c0-1.1.9-2 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6zm2 0v2h2V6H2zm1 3v2h2V9H3zm-1 3v2h2v-2H2zm3 0v2h10v-2H5zm11 0v2h2v-2h-2zM6 9v2h2V9H6zm3 0v2h2V9H9zm3 0v2h2V9h-2zm3 0v2h2V9h-2zM5 6v2h2V6H5zm3 0v2h2V6H8zm3 0v2h2V6h-2zm3 0v2h4V6h-4z"/> </svg>'},1523:function(t){t.exports='<?xml version="1.0" ?><svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 10l7-7h13v14H7l-7-7zm14.41 0l2.13-2.12-1.42-1.42L13 8.6l-2.12-2.13-1.42 1.42L11.6 10l-2.13 2.12 1.42 1.42L13 11.4l2.12 2.13 1.42-1.42L14.4 10z"/></svg>'},19836: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>'},66431:function(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24" > <circle cy="12" cx="12" r="2.2"/> <circle cy="12" cx="5" r="2.2"/> <circle cy="12" cx="19" r="2.2"/> </svg>'},2721: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>'},9456:function(t){t.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M23.17 14.83l7.17 7.17h-28.34v4h28.34l-7.17 7.17 2.83 2.83 12-12-12-12-2.83 2.83zm16.83-2.83v24h4v-24h-4z"/> </svg>'},32338:function(t,e,o){"use strict";var s=o(91288),a=o(75541),r=o.n(a);s.T.prototype.keyboard={defaultLayoutSet:"en",showLayoutSwitcher:!0,extraKeyGroup:"other",extraKeyButtons:[],delayKeyRepeat:350,periodKeyRepeat:100,layoutList:{en:{title:"English",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},es:{title:"Español",keys:[["º ` ~","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _ |","¡ = +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","ç Ç \\"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ñ Ñ ; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},de:{title:"Deutsch",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 * :","9 ( {","0 ) }","- _","= +","Backspace"],["Tab","q Q","w W","e E","r R","t T","z Z","u U","i I","o O","p P","ü Ü [","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ö Ö ;","ä Ä ' \"","Enter"],["Shift","y Y","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},ru:{title:"Русский",keys:[["` ~ ±","1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","й Й","ц Ц","у У","к К","е Е","н Н","г Г","ш Ш","щ Щ","з З","х Х [","ъ ] {","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ж Ж ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","ь Ь","б Б ,","ю Ю .","/ ?","Shift"],["Options","Space","Options"]]},tr:{title:"Türkçe",keys:[['" é` ~',"1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ ±","7 &","8 *","9 ( {","0 ) }","- _ [","= + ]","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","ı I","o O","p P","ğ Ğ","ü Ü",", \\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ş Ş","i̇ İ","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M","ö Ö <","ç Ç >",". / ?","Shift"],["Options","Space","Options"]]},iw:{title:"Hebrew",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","/ q Q","' w W","ק e E","ר r R","א t T","ט y Y","ו u U","ן i I","ם o O","פ p P","[ {","] }","\\ |"],["Caps","ש a A","ד s S","ג d D","כ f F","ע g G","י h H","ח j J","ל k K","ך l L","ף ; :","' \"","Enter"],["Shift","ז z Z","ס x X","ב c C","ה v V","נ b B","מ n N","צ m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},tata:{title:"Tata",keys:[["һ Һ` ~","1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ ±","7 &","8 *","9 ( {","0 )","- _","= +","Backspace"],["Tab","й Й","ө Ө","у У","к К","е Е","н Н","г Г","ш Ш","ә Ә","з З","х Х [","ү Ү ]","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ң Ң ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","җ Җ","б Б ,","ю Ю .","ґ Ґ /","Shift"],["Options","Space","Options"]]}},layoutSwitchList:["en","es","de","ru","tr","iw","tata"],keySize:32,layout:[[1,1,1,1,1,1,1,1,1,1,1,1,1,2],[1.5,1,1,1,1,1,1,1,1,1,1,1,1,1.5],[1.8,1,1,1,1,1,1,1,1,1,1,1,2.2],[2.5,1,1,1,1,1,1,1,1,1,1,2.5],[3.5,9,3.5]]},s.T.prototype.controls.keyboard={tooltip:"Keyboard",icon:r(),isActive:function(t){return Boolean(t.e.fire("isKeyboardOpened"))},command:"toggleKeyboard"},s.T.prototype.controls.extraKeyboardButtons={}},7713:function(t,e,o){"use strict";o.r(e),o.d(e,{keyboard:function(){return y}});var s=o(31635),a=o(53557),r=o(58588),n=o(65564),i=o(76185),c=o(91288),p=o(35102),h=(o(32338),o(78498)),u=o(25511),y=function(t){function e(e){var o=t.call(this,e)||this;o.hasStyle=!u.A.fatMode,o.buttons=[{group:"insert",name:"keyboard"}];var s=e.o.keyboard,a=s.extraKeyButtons,n=s.extraKeyGroup;return a.length&&a.forEach((function(t,o){var s=(0,r.Kg)(t)?t:t.key,a=(0,r.Kg)(t)||!t.hotkeys?["ctrl+".concat(o+1)]:t.hotkeys;e.registerButton({name:"extraKeyboardButtons.".concat(s),group:n}),c.T.defaultOptions.controls.extraKeyboardButtons[s]={name:s,tooltip:s,args:[s],hotkeys:a,command:"insertChar"}})),o}return(0,s.C6)(e,t),e.prototype.afterInit=function(t){var e=this;t.registerCommand("toggleKeyboard",this.toggleKeyboard).registerCommand("insertChar",this.insertChar),t.e.on("isKeyboardOpened",(function(){var t;return null===(t=e.__keyboard)||void 0===t?void 0:t.isOpened}))},e.prototype.insertChar=function(t,e,o){this.j.s.insertNode(this.j.createInside.text(o))},e.prototype.toggleKeyboard=function(){if(!this.__keyboard){this.__keyboard=new p.Dialog({toolbarButtonSize:"tiny"});var t=new h.u(this.j);this.__keyboard.setMod("slim",!0).setMod("adaptive",!1).setContent(t);var e=this.j.o.keyboard,o=e.layoutList;if(e.showLayoutSwitcher){var s=new i.$6(this.__keyboard,{value:t.state.currentLayout,options:e.layoutSwitchList.map((function(t){var e,s;return{text:null!==(s=null===(e=o[t])||void 0===e?void 0:e.title)&&void 0!==s?s:t,value:t}})),onChange:function(e){t.state.currentLayout=e}});s.setMod("size","tiny").setMod("width","auto").setMod("variant","outline"),this.__keyboard.setHeader(s)}}this.__keyboard.isOpened?this.__keyboard.close():this.__keyboard.open()},e.prototype.beforeDestruct=function(t){var e;null===(e=this.__keyboard)||void 0===e||e.destruct()},e.requires=["license"],(0,s.Cg)([a.autobind],e.prototype,"insertChar",null),(0,s.Cg)([a.autobind],e.prototype,"toggleKeyboard",null),e}(n.k);u.A.plugins.add("keyboard",y)},78498:function(t,e,o){"use strict";o.d(e,{u:function(){return k}});var s=o(31635),a=o(67259),r=o(53557),n=o(71122),i=o(76185),c=o(1523),p=o.n(c),h=o(19836),u=o.n(h),y=o(66431),l=o.n(y),d=o(2721),f=o.n(d),v=o(9456),g=o.n(v),k=function(t){function e(e){var o=t.call(this,e)||this;return o.state={caps:!1,shift:!1,options:!1,currentLayout:o.j.o.keyboard.defaultLayoutSet},o._keys=o.getElms("key"),o.pressed=!1,o.reKeyDownTimeout=0,o.onStateChange(),o}var o;return(0,s.C6)(e,t),o=e,e.prototype.className=function(){return"UIKeyboard"},e.prototype.render=function(){var t=this.j.options.keyboard,e=t.layout,o=t.keySize,s=e.length;return"<div>".concat(function(){for(var t=[],a=0;s>a;a+=1){for(var r=[],n=0;e[a].length>n;n+=1)r.push('<div style="width:'.concat(o*e[a][n],"px;height:").concat(o,'px;" class="&__key"></div>'));t.push("<div class='&__row'>".concat(r.join("\n"),"</div>"))}return t.join("\n")}(),"</div>")},e.prototype.onStateChange=function(){for(var t=this.state,e=t.options,s=t.shift,a=t.caps,r=this.j.o.keyboard.layoutList[t.currentLayout].keys,n=0,i=0;r.length>i;i+=1)for(var c=0;r[i].length>c;c+=1){var p=r[i][c].split(" "),h=p[0];s&&(h=p[1]),!s&&a&&p[1]&&o.isLetter(p[0])&&(h=p[1]),e&&(h=p[2]),this.setKeyValue(n,null!=h?h:p[0]),n+=1}},e.isLetter=function(t){return t.toLowerCase()!==t.toUpperCase()},e.prototype.setKeyValue=function(t,e){var s=this._keys[t];if(s){var a=!1,r=this.state,i=r.options,c=r.shift,p=r.caps;switch(e){case"Caps":a=p;break;case"Options":a=i;break;case"Shift":a=c}s.innerHTML=o.decorate(e),s.classList.toggle(this.getFullElName("key","active",!0),a),(0,n.attr)(s,"-key",e)}},e.prototype.onKeyUp=function(){this.pressed&&this.stopPress()},e.prototype.onReady=function(){this.j.e.on(this.getElms("key"),"mouseenter",this.stopPress)},e.prototype.stopPress=function(){var t=this;this.pressed&&(this.pressed=!1,this.j.async.clearTimeout(this.reKeyDownTimeout),this._keys.forEach((function(e){e.classList.remove(t.getFullElName("key","pressed",!0))})))},e.prototype.onKeyDown=function(t,e){var o=this;void 0===e&&(e=0);var s=t.target;if(!s||!s.classList.contains(this.getFullElName("key")))return!1;this.pressed=!0,s.classList.add(this.getFullElName("key","pressed",!0));var r=(0,n.attr)(s,"-key");switch(r){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:r,preventDefault:function(){}});break;case"Space":case"Tab":this.j.s.insertNode(this.j.createInside.text(a.NBSP_SPACE));break;default:this.state.shift&&(this.state.shift=!1),r&&this.j.s.insertNode(this.j.createInside.text(r))}var i=this.j.o.keyboard,c=i.periodKeyRepeat;return this.reKeyDownTimeout=this.j.async.setTimeout((function(){return o.onKeyDown(t,c)}),e||i.delayKeyRepeat),!1},e.decorate=function(t){switch(t){case"Space":return"";case"Enter":return i.In.get("enter");case"Backspace":return p();case"Shift":return f();case"Caps":return u();case"Options":return l();case"Tab":return g();default:return t}},(0,s.Cg)([(0,r.watch)(["state.currentLayout","state.options","state.shift","state.caps"])],e.prototype,"onStateChange",null),(0,s.Cg)([(0,r.watch)(["ow:mouseup"])],e.prototype,"onKeyUp",null),(0,s.Cg)([(0,r.hook)("ready")],e.prototype,"onReady",null),(0,s.Cg)([r.autobind],e.prototype,"stopPress",null),(0,s.Cg)([(0,r.watch)(["container:mousedown","container:touchstart"])],e.prototype,"onKeyDown",null),o=(0,s.Cg)([r.component],e)}(i.D$)}},function(t){return t(t.s=7713)}])}));
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v4.2.13
4
+ * Version: v4.2.18
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -33,10 +33,11 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
33
33
  /* harmony export */ G: function() { return /* binding */ dataBindStoredKey; },
34
34
  /* harmony export */ m: function() { return /* binding */ dataBindCurrentKey; }
35
35
  /* harmony export */ });
36
+ /* harmony import */ var jodit_core_helpers_checker_is_numeric__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(59372);
36
37
  /* harmony import */ var jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(49382);
37
- /* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8132);
38
- /* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_icon_svg__WEBPACK_IMPORTED_MODULE_1__);
39
- /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
38
+ /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
39
+ /* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8132);
40
+ /* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icon_svg__WEBPACK_IMPORTED_MODULE_2__);
40
41
  /*!
41
42
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
42
43
  * See LICENSE.md in the project root for license information.
@@ -45,20 +46,29 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
45
46
 
46
47
 
47
48
 
48
- jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.mobileView = {
49
+
50
+ jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.mobileView = {
49
51
  mode: 'default'
50
52
  };
51
53
  var dataBindStoredKey = 'buttonmobileSView';
52
54
  var dataBindCurrentKey = 'buttonmobileCView';
53
- jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.mobileView = {
55
+ jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.mobileView = {
54
56
  tooltip: 'Mobile View',
55
- icon: (_icon_svg__WEBPACK_IMPORTED_MODULE_1___default()),
57
+ icon: (_icon_svg__WEBPACK_IMPORTED_MODULE_2___default()),
56
58
  command: 'mobileView',
57
59
  isActive: function (editor) {
58
60
  return (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(editor, dataBindCurrentKey) &&
59
61
  (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(editor, dataBindCurrentKey) !== 'default';
60
62
  },
61
- isChildActive: function (editor, btn) { var _a; return (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(editor, dataBindCurrentKey) === ((_a = btn.control.args) === null || _a === void 0 ? void 0 : _a[1]); },
63
+ isChildActive: function (editor, button) {
64
+ var _a, _b;
65
+ var value = (_b = (_a = button.control) === null || _a === void 0 ? void 0 : _a.args) === null || _b === void 0 ? void 0 : _b[0];
66
+ if ((0,jodit_core_helpers_checker_is_numeric__WEBPACK_IMPORTED_MODULE_3__/* .isNumeric */ .k)(value)) {
67
+ value = Number(value);
68
+ }
69
+ var currentValue = (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(editor, dataBindCurrentKey) || 'default';
70
+ return currentValue === value;
71
+ },
62
72
  exec: function (editor) {
63
73
  if ((0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(editor, dataBindStoredKey)) {
64
74
  editor.execCommand('mobileView', false, (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(editor, dataBindStoredKey));
@@ -69,7 +79,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.mob
69
79
  childExec: function (editor, node, _a) {
70
80
  var _b, _c;
71
81
  var button = _a.button;
72
- editor.execCommand('mobileView', false, Number((_c = (_b = button.control) === null || _b === void 0 ? void 0 : _b.args) === null || _c === void 0 ? void 0 : _c[0]));
82
+ var value = (_c = (_b = button.control) === null || _b === void 0 ? void 0 : _b.args) === null || _c === void 0 ? void 0 : _c[0];
83
+ editor.execCommand('mobileView', false, (0,jodit_core_helpers_checker_is_numeric__WEBPACK_IMPORTED_MODULE_3__/* .isNumeric */ .k)(value) ? Number(value) : value);
73
84
  },
74
85
  list: {
75
86
  default: 'Default',
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v4.2.13
4
+ * Version: v4.2.18
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
8
8
 
9
9
 
10
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[782],{8132:function(e){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M17,24a4,4,0,0,0,4-4V4a4,4,0,0,0-4-4H7A4,4,0,0,0,3,4V20a4,4,0,0,0,4,4ZM5,20V4A2,2,0,0,1,7,2H17a2,2,0,0,1,2,2V20a2,2,0,0,1-2,2H7A2,2,0,0,1,5,20Z"/> <path d="M8,19h8a1,1,0,0,0,0-2H8a1,1,0,0,0,0,2Z"/> <path d="M11,5h2a1,1,0,0,0,0-2H11a1,1,0,0,0,0,2Z"/> </svg>'},63807:function(e,t,o){"use strict";o.d(t,{G:function(){return a},m:function(){return l}});var i=o(49382),n=o(8132),r=o.n(n),u=o(91288);u.T.prototype.mobileView={mode:"default"};var a="buttonmobileSView",l="buttonmobileCView";u.T.prototype.controls.mobileView={tooltip:"Mobile View",icon:r(),command:"mobileView",isActive:function(e){return(0,i.m)(e,l)&&"default"!==(0,i.m)(e,l)},isChildActive:function(e,t){var o;return(0,i.m)(e,l)===(null===(o=t.control.args)||void 0===o?void 0:o[1])},exec:function(e){if(!(0,i.m)(e,a))return!1;e.execCommand("mobileView",!1,(0,i.m)(e,a))},childExec:function(e,t,o){var i,n;e.execCommand("mobileView",!1,Number(null===(n=null===(i=o.button.control)||void 0===i?void 0:i.args)||void 0===n?void 0:n[0]))},list:{default:"Default",375:"iPhone SE",414:"iPhone XR",390:"iPhone 12 Pro",393:"Pixel 5",820:"iPad Air"}}},11713:function(e,t,o){"use strict";o.r(t);var i=o(31635),n=o(53557),r=o(71122),u=o(65564),a=o(63807),l=o(25511),c=function(e){function t(){var t=e.apply(this,(0,i.fX)([],(0,i.zs)(arguments),!1))||this;return t.buttons=[{name:"mobileView",group:"state"}],t.__currentMode="default",t}return(0,i.C6)(t,e),t.prototype.afterInit=function(e){var t=this;e.registerCommand("mobileView",{exec:function(o,i,n){t.__currentMode===n&&(n="default"),t.__currentMode=n,(0,r.dataBind)(e,a.m,n),"default"!==t.__currentMode&&(0,r.dataBind)(e,a.G,n),"default"===n?(0,r.css)(t.jodit.workplace,{width:null,margin:null}):(0,r.css)(t.j.workplace,{width:n,margin:"0 auto"})}}),e.events.on("beforeSetMode",(function(){}))},t.prototype.__beforeSetMode=function(){"default"!==this.__currentMode&&this.j.execCommand("mobileView",!1,"default")},t.prototype.beforeDestruct=function(e){},t.requires=["license"],(0,i.Cg)([(0,n.watch)(":beforeSetMode.mobileView")],t.prototype,"__beforeSetMode",null),(0,i.Cg)([n.component],t)}(u.k);l.A.plugins.add("mobileView",c)}},function(e){return e(e.s=11713)}])}));
10
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[782],{8132:function(e){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M17,24a4,4,0,0,0,4-4V4a4,4,0,0,0-4-4H7A4,4,0,0,0,3,4V20a4,4,0,0,0,4,4ZM5,20V4A2,2,0,0,1,7,2H17a2,2,0,0,1,2,2V20a2,2,0,0,1-2,2H7A2,2,0,0,1,5,20Z"/> <path d="M8,19h8a1,1,0,0,0,0-2H8a1,1,0,0,0,0,2Z"/> <path d="M11,5h2a1,1,0,0,0,0-2H11a1,1,0,0,0,0,2Z"/> </svg>'},63807:function(e,t,o){"use strict";o.d(t,{G:function(){return a},m:function(){return d}});var i=o(59372),n=o(49382),r=o(91288),u=o(8132),l=o.n(u);r.T.prototype.mobileView={mode:"default"};var a="buttonmobileSView",d="buttonmobileCView";r.T.prototype.controls.mobileView={tooltip:"Mobile View",icon:l(),command:"mobileView",isActive:function(e){return(0,n.m)(e,d)&&"default"!==(0,n.m)(e,d)},isChildActive:function(e,t){var o,r,u=null===(r=null===(o=t.control)||void 0===o?void 0:o.args)||void 0===r?void 0:r[0];return(0,i.k)(u)&&(u=Number(u)),((0,n.m)(e,d)||"default")===u},exec:function(e){if(!(0,n.m)(e,a))return!1;e.execCommand("mobileView",!1,(0,n.m)(e,a))},childExec:function(e,t,o){var n,r,u=null===(r=null===(n=o.button.control)||void 0===n?void 0:n.args)||void 0===r?void 0:r[0];e.execCommand("mobileView",!1,(0,i.k)(u)?Number(u):u)},list:{default:"Default",375:"iPhone SE",414:"iPhone XR",390:"iPhone 12 Pro",393:"Pixel 5",820:"iPad Air"}}},11713:function(e,t,o){"use strict";o.r(t);var i=o(31635),n=o(53557),r=o(71122),u=o(65564),l=o(63807),a=o(25511),d=function(e){function t(){var t=e.apply(this,(0,i.fX)([],(0,i.zs)(arguments),!1))||this;return t.buttons=[{name:"mobileView",group:"state"}],t.__currentMode="default",t}return(0,i.C6)(t,e),t.prototype.afterInit=function(e){var t=this;e.registerCommand("mobileView",{exec:function(o,i,n){t.__currentMode===n&&(n="default"),t.__currentMode=n,(0,r.dataBind)(e,l.m,n),"default"!==t.__currentMode&&(0,r.dataBind)(e,l.G,n),"default"===n?(0,r.css)(t.jodit.workplace,{width:null,margin:null}):(0,r.css)(t.j.workplace,{width:n,margin:"0 auto"})}}),e.events.on("beforeSetMode",(function(){}))},t.prototype.__beforeSetMode=function(){"default"!==this.__currentMode&&this.j.execCommand("mobileView",!1,"default")},t.prototype.beforeDestruct=function(e){},t.requires=["license"],(0,i.Cg)([(0,n.watch)(":beforeSetMode.mobileView")],t.prototype,"__beforeSetMode",null),(0,i.Cg)([n.component],t)}(u.k);a.A.plugins.add("mobileView",d)}},function(e){return e(e.s=11713)}])}));
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v4.2.13
4
+ * Version: v4.2.18
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -29,10 +29,10 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
29
29
  /***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
30
30
 
31
31
  "use strict";
32
- /* harmony import */ var _assets_page_break_svg__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(92271);
33
- /* harmony import */ var _assets_page_break_svg__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_assets_page_break_svg__WEBPACK_IMPORTED_MODULE_0__);
32
+ /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91288);
33
+ /* harmony import */ var _assets_page_break_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(92271);
34
+ /* harmony import */ var _assets_page_break_svg__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_assets_page_break_svg__WEBPACK_IMPORTED_MODULE_1__);
34
35
  /* harmony import */ var _page_break_css_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(48526);
35
- /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
36
36
  /*!
37
37
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
38
38
  * See LICENSE.md in the project root for license information.
@@ -41,15 +41,15 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
41
41
 
42
42
 
43
43
 
44
- jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pageBreak = {
44
+ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.pageBreak = {
45
45
  separator: '<div style="page-break-before: always"></div>'
46
46
  };
47
- jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.pageBreak = {
47
+ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.pageBreak = {
48
48
  tooltip: 'Insert page break',
49
- icon: (_assets_page_break_svg__WEBPACK_IMPORTED_MODULE_0___default()),
49
+ icon: (_assets_page_break_svg__WEBPACK_IMPORTED_MODULE_1___default()),
50
50
  command: 'insertPageBreak'
51
51
  };
52
- jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.iframeStyle = "".concat(jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.iframeStyle, ";").concat(_page_break_css_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A.replace(/[\n\t]/g, ''));
52
+ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.iframeStyle = "".concat(jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.iframeStyle, ";").concat(_page_break_css_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A.replace(/[\n\t]/g, ''));
53
53
 
54
54
 
55
55
  /***/ }),
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v4.2.13
4
+ * Version: v4.2.18
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
8
8
 
9
9
 
10
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var a in r)("object"==typeof exports?exports:e)[a]=r[a]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[398],{92271:function(e){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M2.5 12C2.5 11.5858 2.83579 11.25 3.25 11.25H4.75C5.16421 11.25 5.5 11.5858 5.5 12C5.5 12.4142 5.16421 12.75 4.75 12.75H3.25C2.83579 12.75 2.5 12.4142 2.5 12Z"/> <path d="M6.5 12C6.5 11.5858 6.83579 11.25 7.25 11.25H8.75C9.16421 11.25 9.5 11.5858 9.5 12C9.5 12.4142 9.16421 12.75 8.75 12.75H7.25C6.83579 12.75 6.5 12.4142 6.5 12Z" /> <path d="M10.5 12C10.5 11.5858 10.8358 11.25 11.25 11.25H12.75C13.1642 11.25 13.5 11.5858 13.5 12C13.5 12.4142 13.1642 12.75 12.75 12.75H11.25C10.8358 12.75 10.5 12.4142 10.5 12Z" /> <path d="M14.5 12C14.5 11.5858 14.8358 11.25 15.25 11.25H16.75C17.1642 11.25 17.5 11.5858 17.5 12C17.5 12.4142 17.1642 12.75 16.75 12.75H15.25C14.8358 12.75 14.5 12.4142 14.5 12Z" /> <path d="M18.5 12C18.5 11.5858 18.8358 11.25 19.25 11.25H20.75C21.1642 11.25 21.5 11.5858 21.5 12C21.5 12.4142 21.1642 12.75 20.75 12.75H19.25C18.8358 12.75 18.5 12.4142 18.5 12Z" /> <path d="M4.75 2C4.33579 2 4 2.33579 4 2.75V7C4 8.104 4.896 9 6 9H18C19.104 9 20 8.104 20 7V2.75C20 2.33579 19.6642 2 19.25 2C18.8358 2 18.5 2.33579 18.5 2.75V7C18.5 7.275 18.276 7.5 18 7.5H6C5.724 7.5 5.5 7.275 5.5 7V2.75C5.5 2.33579 5.16421 2 4.75 2Z" /> <path d="M19.25 22C19.6642 22 20 21.6642 20 21.25V17C20 15.896 19.104 15 18 15L6 15C4.896 15 4 15.896 4 17L4 21.25C4 21.6642 4.33579 22 4.75 22C5.16421 22 5.5 21.6642 5.5 21.25L5.5 17C5.5 16.725 5.724 16.5 6 16.5L18 16.5C18.276 16.5 18.5 16.725 18.5 17V21.25C18.5 21.6642 18.8358 22 19.25 22Z" /> </svg>'},71378:function(e,t,r){"use strict";var a=r(92271),o=r.n(a),n=r(48526),i=r(91288);i.T.prototype.pageBreak={separator:'<div style="page-break-before: always"></div>'},i.T.prototype.controls.pageBreak={tooltip:"Insert page break",icon:o(),command:"insertPageBreak"},i.T.prototype.iframeStyle="".concat(i.T.prototype.iframeStyle,";").concat(n.A.replace(/[\n\t]/g,""))},48526:function(e,t){"use strict";t.A="[data-jodit-page-break] {\n\tdisplay: flex;\n\theight: 24px;\n\tbox-sizing: border-box;\n\n\talign-items: center;\n\tjustify-content: center;\n\n\tborder: 1px dashed #ccc;\n\n\tfont-size: 12px;\n\tpage-break-before: always;\n\ttext-transform: uppercase;\n}\n\n[data-jodit-page-break]:active {\n\tborder-color: #818181;\n}"},15753:function(e,t,r){"use strict";r.r(t),r.d(t,{PageBreak:function(){return d}});var a=r(31635),o=r(53557),n=r(33465),i=r(9596),p=r(65564),s=(r(71378),r(48526)),c=r(25511),d=function(e){function t(){var t=e.apply(this,(0,a.fX)([],(0,a.zs)(arguments),!1))||this;return t.styles=s.A,t.buttons=[{name:"pageBreak",group:"insert"}],t}return(0,a.C6)(t,e),t.prototype.afterInit=function(e){var t=this;e.registerCommand("insertPageBreak",(function(){var r=e.createInside.div("",{});t.decoratePageBreak(r),e.s.insertNode(r,!1,!1);for(var a=r.parentNode;a&&a!==e.editor&&(n.J.after(a,r),!n.J.isBlock(a));)a=r.parentNode;e.s.setCursorAfter(r),e.setEditorValue()}))},t.prototype.decoratePageBreak=function(e){(0,i.attr)(e,{"data-jodit-page-break":!0,contenteditable:!1}),e.innerText=this.j.i18n("Page break")},t.prototype.beforeDestruct=function(){},t.prototype.onChange=function(){var e=this;(0,i.$$)('[style*="page-break-after"],[style*="page-break-before"]',this.j.editor).forEach((function(t){n.J.isEmpty(t)&&!(0,i.attr)(t,"data-jodit-page-break")&&e.decoratePageBreak(t)}))},t.prototype.onAfterGetValueFromEditor=function(e){e.value=e.value.replace(/<div[^>]+data-jodit-page-break[^>]+>[^]*?<\/div>/gi,this.j.o.pageBreak.separator)},t.requires=["license"],(0,a.Cg)([(0,o.watch)([":change",":afterSetMode"]),(0,o.debounce)()],t.prototype,"onChange",null),(0,a.Cg)([(0,o.watch)(":afterGetValueFromEditor")],t.prototype,"onAfterGetValueFromEditor",null),t}(p.k);c.A.plugins.add("pageBreak",d)}},function(e){return e(e.s=15753)}])}));
10
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var a in r)("object"==typeof exports?exports:e)[a]=r[a]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[398],{92271:function(e){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M2.5 12C2.5 11.5858 2.83579 11.25 3.25 11.25H4.75C5.16421 11.25 5.5 11.5858 5.5 12C5.5 12.4142 5.16421 12.75 4.75 12.75H3.25C2.83579 12.75 2.5 12.4142 2.5 12Z"/> <path d="M6.5 12C6.5 11.5858 6.83579 11.25 7.25 11.25H8.75C9.16421 11.25 9.5 11.5858 9.5 12C9.5 12.4142 9.16421 12.75 8.75 12.75H7.25C6.83579 12.75 6.5 12.4142 6.5 12Z" /> <path d="M10.5 12C10.5 11.5858 10.8358 11.25 11.25 11.25H12.75C13.1642 11.25 13.5 11.5858 13.5 12C13.5 12.4142 13.1642 12.75 12.75 12.75H11.25C10.8358 12.75 10.5 12.4142 10.5 12Z" /> <path d="M14.5 12C14.5 11.5858 14.8358 11.25 15.25 11.25H16.75C17.1642 11.25 17.5 11.5858 17.5 12C17.5 12.4142 17.1642 12.75 16.75 12.75H15.25C14.8358 12.75 14.5 12.4142 14.5 12Z" /> <path d="M18.5 12C18.5 11.5858 18.8358 11.25 19.25 11.25H20.75C21.1642 11.25 21.5 11.5858 21.5 12C21.5 12.4142 21.1642 12.75 20.75 12.75H19.25C18.8358 12.75 18.5 12.4142 18.5 12Z" /> <path d="M4.75 2C4.33579 2 4 2.33579 4 2.75V7C4 8.104 4.896 9 6 9H18C19.104 9 20 8.104 20 7V2.75C20 2.33579 19.6642 2 19.25 2C18.8358 2 18.5 2.33579 18.5 2.75V7C18.5 7.275 18.276 7.5 18 7.5H6C5.724 7.5 5.5 7.275 5.5 7V2.75C5.5 2.33579 5.16421 2 4.75 2Z" /> <path d="M19.25 22C19.6642 22 20 21.6642 20 21.25V17C20 15.896 19.104 15 18 15L6 15C4.896 15 4 15.896 4 17L4 21.25C4 21.6642 4.33579 22 4.75 22C5.16421 22 5.5 21.6642 5.5 21.25L5.5 17C5.5 16.725 5.724 16.5 6 16.5L18 16.5C18.276 16.5 18.5 16.725 18.5 17V21.25C18.5 21.6642 18.8358 22 19.25 22Z" /> </svg>'},71378:function(e,t,r){"use strict";var a=r(91288),o=r(92271),n=r.n(o),i=r(48526);a.T.prototype.pageBreak={separator:'<div style="page-break-before: always"></div>'},a.T.prototype.controls.pageBreak={tooltip:"Insert page break",icon:n(),command:"insertPageBreak"},a.T.prototype.iframeStyle="".concat(a.T.prototype.iframeStyle,";").concat(i.A.replace(/[\n\t]/g,""))},48526:function(e,t){"use strict";t.A="[data-jodit-page-break] {\n\tdisplay: flex;\n\theight: 24px;\n\tbox-sizing: border-box;\n\n\talign-items: center;\n\tjustify-content: center;\n\n\tborder: 1px dashed #ccc;\n\n\tfont-size: 12px;\n\tpage-break-before: always;\n\ttext-transform: uppercase;\n}\n\n[data-jodit-page-break]:active {\n\tborder-color: #818181;\n}"},15753:function(e,t,r){"use strict";r.r(t),r.d(t,{PageBreak:function(){return d}});var a=r(31635),o=r(53557),n=r(33465),i=r(9596),p=r(65564),s=(r(71378),r(48526)),c=r(25511),d=function(e){function t(){var t=e.apply(this,(0,a.fX)([],(0,a.zs)(arguments),!1))||this;return t.styles=s.A,t.buttons=[{name:"pageBreak",group:"insert"}],t}return(0,a.C6)(t,e),t.prototype.afterInit=function(e){var t=this;e.registerCommand("insertPageBreak",(function(){var r=e.createInside.div("",{});t.decoratePageBreak(r),e.s.insertNode(r,!1,!1);for(var a=r.parentNode;a&&a!==e.editor&&(n.J.after(a,r),!n.J.isBlock(a));)a=r.parentNode;e.s.setCursorAfter(r),e.setEditorValue()}))},t.prototype.decoratePageBreak=function(e){(0,i.attr)(e,{"data-jodit-page-break":!0,contenteditable:!1}),e.innerText=this.j.i18n("Page break")},t.prototype.beforeDestruct=function(){},t.prototype.onChange=function(){var e=this;(0,i.$$)('[style*="page-break-after"],[style*="page-break-before"]',this.j.editor).forEach((function(t){n.J.isEmpty(t)&&!(0,i.attr)(t,"data-jodit-page-break")&&e.decoratePageBreak(t)}))},t.prototype.onAfterGetValueFromEditor=function(e){e.value=e.value.replace(/<div[^>]+data-jodit-page-break[^>]+>[^]*?<\/div>/gi,this.j.o.pageBreak.separator)},t.requires=["license"],(0,a.Cg)([(0,o.watch)([":change",":afterSetMode"]),(0,o.debounce)()],t.prototype,"onChange",null),(0,a.Cg)([(0,o.watch)(":afterGetValueFromEditor")],t.prototype,"onAfterGetValueFromEditor",null),t}(p.k);c.A.plugins.add("pageBreak",d)}},function(e){return e(e.s=15753)}])}));
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v4.2.13
4
+ * Version: v4.2.18
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v4.2.13
4
+ * Version: v4.2.18
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -30,9 +30,9 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xml:space=\"preserve\" xmlns=\"http
30
30
 
31
31
  "use strict";
32
32
  /* harmony import */ var jodit_core_helpers_html_htmlspecialchars__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(56935);
33
- /* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80999);
34
- /* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_icon_svg__WEBPACK_IMPORTED_MODULE_0__);
35
- /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
33
+ /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91288);
34
+ /* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80999);
35
+ /* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_icon_svg__WEBPACK_IMPORTED_MODULE_1__);
36
36
  /*!
37
37
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
38
38
  * See LICENSE.md in the project root for license information.
@@ -41,12 +41,12 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xml:space=\"preserve\" xmlns=\"http
41
41
 
42
42
 
43
43
 
44
- jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.pasteCode = {
45
- icon: (_icon_svg__WEBPACK_IMPORTED_MODULE_0___default()),
44
+ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.pasteCode = {
45
+ icon: (_icon_svg__WEBPACK_IMPORTED_MODULE_1___default()),
46
46
  tooltip: 'Paste code',
47
47
  command: 'pasteCode'
48
48
  };
49
- jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteCode = {
49
+ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.pasteCode = {
50
50
  globalHighlightLib: false,
51
51
  canonicalLanguageCode: function (lang) {
52
52
  switch (lang) {
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v4.2.13
4
+ * Version: v4.2.18
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
8
8
 
9
9
 
10
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var a in n)("object"==typeof exports?exports:e)[a]=n[a]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[150],{80999:function(e){e.exports='<svg viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <path d="M2.5244141,23.5h18.9511719c0.4140625,0,0.75-0.3359375,0.75-0.75V4.9208984 c0-0.1992188-0.0795898-0.390625-0.2207031-0.53125L18.3198242,0.71875C18.1791992,0.5786133,17.9887695,0.5,17.7905273,0.5 H2.5244141c-0.4140625,0-0.75,0.3359375-0.75,0.75v21.5C1.7744141,23.1640625,2.1103516,23.5,2.5244141,23.5z M20.7128296,5.2197266 h-2.6986694V2.531189L20.7128296,5.2197266z M3.2744141,2h13.2397461v3.9697266c0,0.4140625,0.3359375,0.75,0.75,0.75h3.4614258V22 H3.2744141V2z" fill="#1D1D1D"/> <path d="M8.75,10.25h1.75c0.4140625,0,0.75-0.3359375,0.75-0.75s-0.3359375-0.75-0.75-0.75H8 c-0.4140625,0-0.75,0.3359375-0.75,0.75v2.75H6c-0.4140625,0-0.75,0.3359375-0.75,0.75S5.5859375,13.75,6,13.75h1.25v2.75 c0,0.4140625,0.3359375,0.75,0.75,0.75h2.5c0.4140625,0,0.75-0.3359375,0.75-0.75s-0.3359375-0.75-0.75-0.75H8.75V10.25z" fill="#1D1D1D"/> <path d="M18.5,12.25h-1.25V9.5c0-0.4140625-0.3359375-0.75-0.75-0.75H14c-0.4140625,0-0.75,0.3359375-0.75,0.75 s0.3359375,0.75,0.75,0.75h1.75v5.5H14c-0.4140625,0-0.75,0.3359375-0.75,0.75s0.3359375,0.75,0.75,0.75h2.5 c0.4140625,0,0.75-0.3359375,0.75-0.75v-2.75h1.25c0.4140625,0,0.75-0.3359375,0.75-0.75S18.9140625,12.25,18.5,12.25z" fill="#1D1D1D"/></svg>'},98544:function(e,t,n){"use strict";var a=n(56935),o=n(80999),i=n.n(o),s=n(91288);s.T.prototype.controls.pasteCode={icon:i(),tooltip:"Paste code",command:"pasteCode"},s.T.prototype.pasteCode={globalHighlightLib:!1,canonicalLanguageCode:function(e){switch(e){case"ts":return"typescript";case"js":return"javascript";case"markup":return"html"}return e},highlightLib:{highlight:function(e,t){return"undefined"!=typeof Prism?Prism.highlight(e,Prism.languages[t]||Prism.languages.plain,t):e},isLangLoaded:function(e){return"undefined"!=typeof Prism&&Boolean(Prism.languages[e])},js:["https://cdnjs.cloudflare.com/ajax/libs/prism/1.25.0/prism.min.js"],langUrl:function(e){return"https://cdnjs.cloudflare.com/ajax/libs/prism/1.25.0/components/prism-".concat(e,".min.js")},css:["https://cdnjs.cloudflare.com/ajax/libs/prism/1.25.0/themes/prism.min.css"]},defaultLanguage:"html",insertTemplate:function(e,t,n){return'<pre class="language-'.concat(t,'">').concat((0,a.G)(n),"</pre>")},languages:[{value:"html",text:"HTML/XML"},{value:"plaintext",text:"Plain"},{value:"bash",text:"Bash"},{value:"javascript",text:"JavaScript"},{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++"}],dialog:{width:700,height:600}}},17865:function(e,t,n){"use strict";n.r(t),n.d(t,{pasteCode:function(){return h}});var a=n(31635),o=(n(67259),n(53557)),i=n(9596),s=n(17083),r=n(56935),l=n(65564),c=n(76185),u=n(35102),d=(n(98544),n(25511)),h=function(e){function t(){var t=e.apply(this,(0,a.fX)([],(0,a.zs)(arguments),!1))||this;return t.buttons=[{name:"pasteCode",group:"clipboard"}],t.__highlightLibJSIsLoaded=!1,t.__loadLanguage=new Map,t}return(0,a.C6)(t,e),t.prototype.afterInit=function(e){var t=this;e.registerCommand("pasteCode",(function(){return t.__openCodeEditDialog()}))},t.prototype.__openCodeEditDialog=function(e,t,n){var a=this,o=this.j,s=this.__createForm(),r=(0,i.refs)(s.container),l=r.code,c=r.language;e&&(c.value=e),t&&(l.value=t),o.async.requestIdleCallback((function(){l.focus()})),o.s.save(),this.__createDialog((function(){if(!s.validate())return!1;o.s.restore();var e=o.createInside.fromHTML(o.o.pasteCode.insertTemplate(o,c.value,l.value));if(n)u.Dom.replace(n,e,o.createInside,!1,!0);else{var t=o.s.current(),i=u.Dom.up(t,u.Dom.isBlock,o.editor);i&&!u.Dom.isCell(i)?u.Dom.after(i,e):o.s.insertNode(e)}a.__imdOnChange()}),(function(){o.s.restore()})).setContent(s.container).open(!0)},t.prototype.beforeDestruct=function(e){},t.prototype.__createForm=function(){var e=this.jodit;return new c.XV(e,[new c.$6(e,{name:"language",label:"Language",value:e.o.pasteCode.defaultLanguage,options:e.o.pasteCode.languages,required:!0}),new c.F0(e,{label:"Code view",resizable:!1,name:"code",required:!0,className:"jodit-paste-code__textarea"})],{className:"jodit-paste-code"})},t.prototype.__createDialog=function(e,t){var n=new u.Dialog({language:this.j.o.language});return n.setHeader("Insert/Edit Code Sample").setSize(this.j.o.pasteCode.dialog.width,this.j.o.pasteCode.dialog.height).setFooter([(0,c.$n)(n,"","Cancel","default").onAction((function(){n.close(),t()})),(0,c.$n)(n,"save","Save","primary").onAction((function(){n.close(),e()}))]),n},t.prototype.__onChange=function(){this.__imdOnChange()},t.prototype.__imdOnChange=function(){var e=this;(0,i.$$)("pre",this.j.editor).forEach((function(t){(0,i.attr)(t,"contenteditable")||((0,i.attr)(t,"contenteditable",!1),e.__highlightCode(t))}))},t.prototype.__highlightCode=function(e){return(0,a.sH)(this,void 0,Promise,(function(){var t,n,o,r,l,c,d,h,g,f;return(0,a.YH)(this,(function(a){switch(a.label){case 0:return n=(t=this.j.o.pasteCode).globalHighlightLib,r=(o=t.highlightLib).css,l=o.js,c=o.langUrl,d=o.highlight,h=o.isLangLoaded,this.__highlightLibJSIsLoaded||n||(this.__highlightLibJSIsLoaded=p(this.async,Promise.all([(0,i.loadNextStyle)(this.jodit,r).catch((function(){return null})),(0,i.loadNext)(this.jodit,l).catch((function(){return null}))]))),(0,s.L)(this.__highlightLibJSIsLoaded)?[3,2]:[4,this.__highlightLibJSIsLoaded];case 1:a.sent(),a.label=2;case 2:return g=this.__parseLanguage(e),h(g)||n?[3,4]:(this.__loadLanguage.has(g)||this.__loadLanguage.set(g,p(this.async,(0,i.appendScriptAsync)(this.jodit,c(g)).catch((function(){return null})))),[4,this.__loadLanguage.get(g)]);case 3:a.sent(),a.label=4;case 4:return f=e,e.firstElementChild===e.lastElementChild&&u.Dom.isTag(e.firstElementChild,"code")&&(f=e.firstElementChild),f.innerHTML=d(f.innerText,g),[2]}}))}))},t.prototype.onPreEdit=function(e){var t=u.Dom.isNode(e)&&u.Dom.isTag(e,"pre")?e:u.Dom.closest(e.target,"pre",this.j.editor);if(t){var n=this.__parseLanguage(t);this.__openCodeEditDialog(n,t.innerText,t)}},t.prototype.__parseLanguage=function(e){var t=null,n=function(e){return e.classList.forEach((function(e){if(/language-/.test(e)){var n=/language-(.*)/.exec(e);n&&n[1]&&(t=n[1])}}))};return n(e),null==t&&e.firstElementChild===e.lastElementChild&&u.Dom.isTag(e.firstElementChild,"code")&&n(e.firstElementChild),this.jodit.o.pasteCode.canonicalLanguageCode(t||"html")},t.prototype.onAfterGetValueFromEditor=function(e){var t=this,n=function(e,n,a,o,s,l){return"".concat(n.trim()).concat(o).concat((0,r.G)((0,i.stripTags)(s,t.j.ed,new Set(["br"])))).concat(l)};e.value=e.value.replace(/(<pre[^>]*)contenteditable\s*=\s*(['"]?)false\2([^>]*>\s*<code[^>]*>)(.*?)(<\/code>\s*<\/pre>)/gis,n).replace(/(<pre[^>]*)contenteditable\s*=\s*(['"]?)false\2([^>]*>)(.*?)(<\/pre>)/gis,n)},t.requires=["license"],(0,a.Cg)([o.autobind],t.prototype,"__openCodeEditDialog",null),(0,a.Cg)([(0,o.watch)("?:change"),(0,o.debounce)()],t.prototype,"__onChange",null),(0,a.Cg)([(0,o.watch)(["?:dblclick","?:editPreInPasteCode"])],t.prototype,"onPreEdit",null),(0,a.Cg)([(0,o.watch)("?:afterGetValueFromEditor")],t.prototype,"onAfterGetValueFromEditor",null),(0,a.Cg)([o.component],t)}(l.k);function p(e,t){return e.promise((function(e,n){t.then(e).catch(n)}))}d.A.plugins.add("paste-code",h)}},function(e){return e(e.s=17865)}])}));
10
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var a in n)("object"==typeof exports?exports:e)[a]=n[a]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[150],{80999:function(e){e.exports='<svg viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <path d="M2.5244141,23.5h18.9511719c0.4140625,0,0.75-0.3359375,0.75-0.75V4.9208984 c0-0.1992188-0.0795898-0.390625-0.2207031-0.53125L18.3198242,0.71875C18.1791992,0.5786133,17.9887695,0.5,17.7905273,0.5 H2.5244141c-0.4140625,0-0.75,0.3359375-0.75,0.75v21.5C1.7744141,23.1640625,2.1103516,23.5,2.5244141,23.5z M20.7128296,5.2197266 h-2.6986694V2.531189L20.7128296,5.2197266z M3.2744141,2h13.2397461v3.9697266c0,0.4140625,0.3359375,0.75,0.75,0.75h3.4614258V22 H3.2744141V2z" fill="#1D1D1D"/> <path d="M8.75,10.25h1.75c0.4140625,0,0.75-0.3359375,0.75-0.75s-0.3359375-0.75-0.75-0.75H8 c-0.4140625,0-0.75,0.3359375-0.75,0.75v2.75H6c-0.4140625,0-0.75,0.3359375-0.75,0.75S5.5859375,13.75,6,13.75h1.25v2.75 c0,0.4140625,0.3359375,0.75,0.75,0.75h2.5c0.4140625,0,0.75-0.3359375,0.75-0.75s-0.3359375-0.75-0.75-0.75H8.75V10.25z" fill="#1D1D1D"/> <path d="M18.5,12.25h-1.25V9.5c0-0.4140625-0.3359375-0.75-0.75-0.75H14c-0.4140625,0-0.75,0.3359375-0.75,0.75 s0.3359375,0.75,0.75,0.75h1.75v5.5H14c-0.4140625,0-0.75,0.3359375-0.75,0.75s0.3359375,0.75,0.75,0.75h2.5 c0.4140625,0,0.75-0.3359375,0.75-0.75v-2.75h1.25c0.4140625,0,0.75-0.3359375,0.75-0.75S18.9140625,12.25,18.5,12.25z" fill="#1D1D1D"/></svg>'},98544:function(e,t,n){"use strict";var a=n(56935),o=n(91288),i=n(80999);o.T.prototype.controls.pasteCode={icon:n.n(i)(),tooltip:"Paste code",command:"pasteCode"},o.T.prototype.pasteCode={globalHighlightLib:!1,canonicalLanguageCode:function(e){switch(e){case"ts":return"typescript";case"js":return"javascript";case"markup":return"html"}return e},highlightLib:{highlight:function(e,t){return"undefined"!=typeof Prism?Prism.highlight(e,Prism.languages[t]||Prism.languages.plain,t):e},isLangLoaded:function(e){return"undefined"!=typeof Prism&&Boolean(Prism.languages[e])},js:["https://cdnjs.cloudflare.com/ajax/libs/prism/1.25.0/prism.min.js"],langUrl:function(e){return"https://cdnjs.cloudflare.com/ajax/libs/prism/1.25.0/components/prism-".concat(e,".min.js")},css:["https://cdnjs.cloudflare.com/ajax/libs/prism/1.25.0/themes/prism.min.css"]},defaultLanguage:"html",insertTemplate:function(e,t,n){return'<pre class="language-'.concat(t,'">').concat((0,a.G)(n),"</pre>")},languages:[{value:"html",text:"HTML/XML"},{value:"plaintext",text:"Plain"},{value:"bash",text:"Bash"},{value:"javascript",text:"JavaScript"},{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++"}],dialog:{width:700,height:600}}},17865:function(e,t,n){"use strict";n.r(t),n.d(t,{pasteCode:function(){return h}});var a=n(31635),o=(n(67259),n(53557)),i=n(9596),s=n(17083),r=n(56935),l=n(65564),c=n(76185),u=n(35102),d=(n(98544),n(25511)),h=function(e){function t(){var t=e.apply(this,(0,a.fX)([],(0,a.zs)(arguments),!1))||this;return t.buttons=[{name:"pasteCode",group:"clipboard"}],t.__highlightLibJSIsLoaded=!1,t.__loadLanguage=new Map,t}return(0,a.C6)(t,e),t.prototype.afterInit=function(e){var t=this;e.registerCommand("pasteCode",(function(){return t.__openCodeEditDialog()}))},t.prototype.__openCodeEditDialog=function(e,t,n){var a=this,o=this.j,s=this.__createForm(),r=(0,i.refs)(s.container),l=r.code,c=r.language;e&&(c.value=e),t&&(l.value=t),o.async.requestIdleCallback((function(){l.focus()})),o.s.save(),this.__createDialog((function(){if(!s.validate())return!1;o.s.restore();var e=o.createInside.fromHTML(o.o.pasteCode.insertTemplate(o,c.value,l.value));if(n)u.Dom.replace(n,e,o.createInside,!1,!0);else{var t=o.s.current(),i=u.Dom.up(t,u.Dom.isBlock,o.editor);i&&!u.Dom.isCell(i)?u.Dom.after(i,e):o.s.insertNode(e)}a.__imdOnChange()}),(function(){o.s.restore()})).setContent(s.container).open(!0)},t.prototype.beforeDestruct=function(e){},t.prototype.__createForm=function(){var e=this.jodit;return new c.XV(e,[new c.$6(e,{name:"language",label:"Language",value:e.o.pasteCode.defaultLanguage,options:e.o.pasteCode.languages,required:!0}),new c.F0(e,{label:"Code view",resizable:!1,name:"code",required:!0,className:"jodit-paste-code__textarea"})],{className:"jodit-paste-code"})},t.prototype.__createDialog=function(e,t){var n=new u.Dialog({language:this.j.o.language});return n.setHeader("Insert/Edit Code Sample").setSize(this.j.o.pasteCode.dialog.width,this.j.o.pasteCode.dialog.height).setFooter([(0,c.$n)(n,"","Cancel","default").onAction((function(){n.close(),t()})),(0,c.$n)(n,"save","Save","primary").onAction((function(){n.close(),e()}))]),n},t.prototype.__onChange=function(){this.__imdOnChange()},t.prototype.__imdOnChange=function(){var e=this;(0,i.$$)("pre",this.j.editor).forEach((function(t){(0,i.attr)(t,"contenteditable")||((0,i.attr)(t,"contenteditable",!1),e.__highlightCode(t))}))},t.prototype.__highlightCode=function(e){return(0,a.sH)(this,void 0,Promise,(function(){var t,n,o,r,l,c,d,h,g,f;return(0,a.YH)(this,(function(a){switch(a.label){case 0:return n=(t=this.j.o.pasteCode).globalHighlightLib,r=(o=t.highlightLib).css,l=o.js,c=o.langUrl,d=o.highlight,h=o.isLangLoaded,this.__highlightLibJSIsLoaded||n||(this.__highlightLibJSIsLoaded=p(this.async,Promise.all([(0,i.loadNextStyle)(this.jodit,r).catch((function(){return null})),(0,i.loadNext)(this.jodit,l).catch((function(){return null}))]))),(0,s.L)(this.__highlightLibJSIsLoaded)?[3,2]:[4,this.__highlightLibJSIsLoaded];case 1:a.sent(),a.label=2;case 2:return g=this.__parseLanguage(e),h(g)||n?[3,4]:(this.__loadLanguage.has(g)||this.__loadLanguage.set(g,p(this.async,(0,i.appendScriptAsync)(this.jodit,c(g)).catch((function(){return null})))),[4,this.__loadLanguage.get(g)]);case 3:a.sent(),a.label=4;case 4:return f=e,e.firstElementChild===e.lastElementChild&&u.Dom.isTag(e.firstElementChild,"code")&&(f=e.firstElementChild),f.innerHTML=d(f.innerText,g),[2]}}))}))},t.prototype.onPreEdit=function(e){var t=u.Dom.isNode(e)&&u.Dom.isTag(e,"pre")?e:u.Dom.closest(e.target,"pre",this.j.editor);if(t){var n=this.__parseLanguage(t);this.__openCodeEditDialog(n,t.innerText,t)}},t.prototype.__parseLanguage=function(e){var t=null,n=function(e){return e.classList.forEach((function(e){if(/language-/.test(e)){var n=/language-(.*)/.exec(e);n&&n[1]&&(t=n[1])}}))};return n(e),null==t&&e.firstElementChild===e.lastElementChild&&u.Dom.isTag(e.firstElementChild,"code")&&n(e.firstElementChild),this.jodit.o.pasteCode.canonicalLanguageCode(t||"html")},t.prototype.onAfterGetValueFromEditor=function(e){var t=this,n=function(e,n,a,o,s,l){return"".concat(n.trim()).concat(o).concat((0,r.G)((0,i.stripTags)(s,t.j.ed,new Set(["br"])))).concat(l)};e.value=e.value.replace(/(<pre[^>]*)contenteditable\s*=\s*(['"]?)false\2([^>]*>\s*<code[^>]*>)(.*?)(<\/code>\s*<\/pre>)/gis,n).replace(/(<pre[^>]*)contenteditable\s*=\s*(['"]?)false\2([^>]*>)(.*?)(<\/pre>)/gis,n)},t.requires=["license"],(0,a.Cg)([o.autobind],t.prototype,"__openCodeEditDialog",null),(0,a.Cg)([(0,o.watch)("?:change"),(0,o.debounce)()],t.prototype,"__onChange",null),(0,a.Cg)([(0,o.watch)(["?:dblclick","?:editPreInPasteCode"])],t.prototype,"onPreEdit",null),(0,a.Cg)([(0,o.watch)("?:afterGetValueFromEditor")],t.prototype,"onAfterGetValueFromEditor",null),(0,a.Cg)([o.component],t)}(l.k);function p(e,t){return e.promise((function(e,n){t.then(e).catch(n)}))}d.A.plugins.add("paste-code",h)}},function(e){return e(e.s=17865)}])}));
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v4.2.13
4
+ * Version: v4.2.18
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v4.2.13
4
+ * Version: v4.2.18
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v4.2.13
4
+ * Version: v4.2.18
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v4.2.13
4
+ * Version: v4.2.18
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v4.2.13
4
+ * Version: v4.2.18
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v4.2.13
4
+ * Version: v4.2.18
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -31,9 +31,9 @@ module.exports = "<svg stroke=\"black\" stroke-linejoin=\"round\" stroke-linecap
31
31
  "use strict";
32
32
  /* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
33
33
  /* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
34
- /* harmony import */ var _assets_todo_list_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(68903);
35
- /* harmony import */ var _assets_todo_list_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_assets_todo_list_svg__WEBPACK_IMPORTED_MODULE_2__);
36
- /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
34
+ /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
35
+ /* harmony import */ var _assets_todo_list_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(68903);
36
+ /* harmony import */ var _assets_todo_list_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_assets_todo_list_svg__WEBPACK_IMPORTED_MODULE_3__);
37
37
  /*!
38
38
  * Jodit Editor PRO (https://xdsoft.net/jodit/)
39
39
  * See LICENSE.md in the project root for license information.
@@ -43,7 +43,7 @@ module.exports = "<svg stroke=\"black\" stroke-linejoin=\"round\" stroke-linecap
43
43
 
44
44
 
45
45
 
46
- jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.todoList = {
46
+ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.todoList = {
47
47
  className: 'todo-list',
48
48
  labelClassName: 'todo-list__label',
49
49
  inputFactory: function (jodit) {
@@ -53,7 +53,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.todoList = {
53
53
  });
54
54
  }
55
55
  };
56
- jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.todoList = {
56
+ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.todoList = {
57
57
  tooltip: 'To-do List',
58
58
  icon: 'todo-list',
59
59
  command: 'todolist',
@@ -67,7 +67,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.tod
67
67
  }, e.editor));
68
68
  }
69
69
  };
70
- jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('todo-list', (_assets_todo_list_svg__WEBPACK_IMPORTED_MODULE_2___default()));
70
+ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('todo-list', (_assets_todo_list_svg__WEBPACK_IMPORTED_MODULE_3___default()));
71
71
 
72
72
 
73
73
  /***/ }),