jodit-pro 4.2.24 → 4.2.30

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 (353) hide show
  1. package/.nvmrc +1 -1
  2. package/es2015/889.fat.min.js +10 -0
  3. package/es2015/889.js +58 -0
  4. package/es2015/889.min.js +10 -0
  5. package/es2015/jodit.css +11 -1
  6. package/es2015/jodit.fat.min.css +1 -1
  7. package/es2015/jodit.fat.min.js +2 -2
  8. package/es2015/jodit.js +450 -233
  9. package/es2015/jodit.min.css +1 -1
  10. package/es2015/jodit.min.js +2 -2
  11. package/es2015/plugins/autocomplete/autocomplete.js +1 -1
  12. package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
  13. package/es2015/plugins/backup/backup.css +1 -1
  14. package/es2015/plugins/backup/backup.js +1 -1
  15. package/es2015/plugins/backup/backup.min.js +1 -1
  16. package/es2015/plugins/button-generator/button-generator.css +1 -1
  17. package/es2015/plugins/button-generator/button-generator.js +1 -1
  18. package/es2015/plugins/button-generator/button-generator.min.js +1 -1
  19. package/es2015/plugins/change-case/change-case.js +1 -1
  20. package/es2015/plugins/change-case/change-case.min.js +1 -1
  21. package/es2015/plugins/color-picker/color-picker.css +1 -1
  22. package/es2015/plugins/color-picker/color-picker.js +1 -1
  23. package/es2015/plugins/color-picker/color-picker.min.js +1 -1
  24. package/es2015/plugins/emoji/emoji.css +1 -1
  25. package/es2015/plugins/emoji/emoji.js +1 -1
  26. package/es2015/plugins/emoji/emoji.min.js +1 -1
  27. package/es2015/plugins/export-docs/export-docs.js +1 -1
  28. package/es2015/plugins/export-docs/export-docs.min.js +1 -1
  29. package/es2015/plugins/finder/finder.css +1 -1
  30. package/es2015/plugins/finder/finder.js +2 -56
  31. package/es2015/plugins/finder/finder.min.js +2 -2
  32. package/es2015/plugins/google-maps/google-maps.css +1 -1
  33. package/es2015/plugins/google-maps/google-maps.js +7 -3
  34. package/es2015/plugins/google-maps/google-maps.min.js +1 -1
  35. package/es2015/plugins/google-search/google-search.js +1 -1
  36. package/es2015/plugins/google-search/google-search.min.js +1 -1
  37. package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
  38. package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
  39. package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
  40. package/es2015/plugins/iframe-editor/iframe-editor.js +1 -1
  41. package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
  42. package/es2015/plugins/keyboard/keyboard.css +1 -1
  43. package/es2015/plugins/keyboard/keyboard.js +1 -1
  44. package/es2015/plugins/keyboard/keyboard.min.js +1 -1
  45. package/es2015/plugins/mobile-view/mobile-view.js +1 -1
  46. package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
  47. package/es2015/plugins/page-break/page-break.js +1 -1
  48. package/es2015/plugins/page-break/page-break.min.js +1 -1
  49. package/es2015/plugins/paste-code/paste-code.css +1 -1
  50. package/es2015/plugins/paste-code/paste-code.js +47 -43
  51. package/es2015/plugins/paste-code/paste-code.min.js +1 -1
  52. package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
  53. package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
  54. package/es2015/plugins/show-blocks/show-blocks.js +77 -39
  55. package/es2015/plugins/show-blocks/show-blocks.min.js +2 -2
  56. package/es2015/plugins/todo-list/todo-list.css +1 -1
  57. package/es2015/plugins/todo-list/todo-list.js +1 -1
  58. package/es2015/plugins/todo-list/todo-list.min.js +1 -1
  59. package/es2015/plugins/translate/translate.css +1 -1
  60. package/es2015/plugins/translate/translate.js +18 -18
  61. package/es2015/plugins/translate/translate.min.js +1 -1
  62. package/es2015/plugins/tune-block/tune-block.css +1 -1
  63. package/es2015/plugins/tune-block/tune-block.js +1 -1
  64. package/es2015/plugins/tune-block/tune-block.min.js +1 -1
  65. package/es2018/889.fat.min.js +10 -0
  66. package/es2018/889.js +58 -0
  67. package/es2018/889.min.js +10 -0
  68. package/es2018/jodit.css +11 -1
  69. package/es2018/jodit.fat.min.css +1 -1
  70. package/es2018/jodit.fat.min.js +2 -2
  71. package/es2018/jodit.js +444 -227
  72. package/es2018/jodit.min.css +1 -1
  73. package/es2018/jodit.min.js +2 -2
  74. package/es2018/plugins/autocomplete/autocomplete.js +1 -1
  75. package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
  76. package/es2018/plugins/backup/backup.css +1 -1
  77. package/es2018/plugins/backup/backup.js +1 -1
  78. package/es2018/plugins/backup/backup.min.js +1 -1
  79. package/es2018/plugins/button-generator/button-generator.css +1 -1
  80. package/es2018/plugins/button-generator/button-generator.js +1 -1
  81. package/es2018/plugins/button-generator/button-generator.min.js +1 -1
  82. package/es2018/plugins/change-case/change-case.js +1 -1
  83. package/es2018/plugins/change-case/change-case.min.js +1 -1
  84. package/es2018/plugins/color-picker/color-picker.css +1 -1
  85. package/es2018/plugins/color-picker/color-picker.js +1 -1
  86. package/es2018/plugins/color-picker/color-picker.min.js +1 -1
  87. package/es2018/plugins/emoji/emoji.css +1 -1
  88. package/es2018/plugins/emoji/emoji.js +1 -1
  89. package/es2018/plugins/emoji/emoji.min.js +1 -1
  90. package/es2018/plugins/export-docs/export-docs.js +1 -1
  91. package/es2018/plugins/export-docs/export-docs.min.js +1 -1
  92. package/es2018/plugins/finder/finder.css +1 -1
  93. package/es2018/plugins/finder/finder.js +2 -56
  94. package/es2018/plugins/finder/finder.min.js +2 -2
  95. package/es2018/plugins/google-maps/google-maps.css +1 -1
  96. package/es2018/plugins/google-maps/google-maps.js +7 -3
  97. package/es2018/plugins/google-maps/google-maps.min.js +1 -1
  98. package/es2018/plugins/google-search/google-search.js +1 -1
  99. package/es2018/plugins/google-search/google-search.min.js +1 -1
  100. package/es2018/plugins/highlight-signature/highlight-signature.js +1 -1
  101. package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
  102. package/es2018/plugins/iframe-editor/iframe-editor.css +1 -1
  103. package/es2018/plugins/iframe-editor/iframe-editor.js +1 -1
  104. package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
  105. package/es2018/plugins/keyboard/keyboard.css +1 -1
  106. package/es2018/plugins/keyboard/keyboard.js +1 -1
  107. package/es2018/plugins/keyboard/keyboard.min.js +1 -1
  108. package/es2018/plugins/mobile-view/mobile-view.js +1 -1
  109. package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
  110. package/es2018/plugins/page-break/page-break.js +1 -1
  111. package/es2018/plugins/page-break/page-break.min.js +1 -1
  112. package/es2018/plugins/paste-code/paste-code.css +1 -1
  113. package/es2018/plugins/paste-code/paste-code.js +40 -36
  114. package/es2018/plugins/paste-code/paste-code.min.js +1 -1
  115. package/es2018/plugins/paste-from-word/paste-from-word.js +1 -1
  116. package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
  117. package/es2018/plugins/show-blocks/show-blocks.js +77 -39
  118. package/es2018/plugins/show-blocks/show-blocks.min.js +2 -2
  119. package/es2018/plugins/todo-list/todo-list.css +1 -1
  120. package/es2018/plugins/todo-list/todo-list.js +1 -1
  121. package/es2018/plugins/todo-list/todo-list.min.js +1 -1
  122. package/es2018/plugins/translate/translate.css +1 -1
  123. package/es2018/plugins/translate/translate.js +18 -18
  124. package/es2018/plugins/translate/translate.min.js +1 -1
  125. package/es2018/plugins/tune-block/tune-block.css +1 -1
  126. package/es2018/plugins/tune-block/tune-block.js +1 -1
  127. package/es2018/plugins/tune-block/tune-block.min.js +1 -1
  128. package/es2021/889.fat.min.js +10 -0
  129. package/es2021/889.js +58 -0
  130. package/es2021/889.min.js +10 -0
  131. package/es2021/jodit.css +11 -1
  132. package/es2021/jodit.fat.min.css +1 -1
  133. package/es2021/jodit.fat.min.js +2 -2
  134. package/es2021/jodit.js +444 -227
  135. package/es2021/jodit.min.css +1 -1
  136. package/es2021/jodit.min.js +2 -2
  137. package/es2021/plugins/autocomplete/autocomplete.js +1 -1
  138. package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
  139. package/es2021/plugins/backup/backup.css +1 -1
  140. package/es2021/plugins/backup/backup.js +1 -1
  141. package/es2021/plugins/backup/backup.min.js +1 -1
  142. package/es2021/plugins/button-generator/button-generator.css +1 -1
  143. package/es2021/plugins/button-generator/button-generator.js +1 -1
  144. package/es2021/plugins/button-generator/button-generator.min.js +1 -1
  145. package/es2021/plugins/change-case/change-case.js +1 -1
  146. package/es2021/plugins/change-case/change-case.min.js +1 -1
  147. package/es2021/plugins/color-picker/color-picker.css +1 -1
  148. package/es2021/plugins/color-picker/color-picker.js +1 -1
  149. package/es2021/plugins/color-picker/color-picker.min.js +1 -1
  150. package/es2021/plugins/emoji/emoji.css +1 -1
  151. package/es2021/plugins/emoji/emoji.js +1 -1
  152. package/es2021/plugins/emoji/emoji.min.js +1 -1
  153. package/es2021/plugins/export-docs/export-docs.js +1 -1
  154. package/es2021/plugins/export-docs/export-docs.min.js +1 -1
  155. package/es2021/plugins/finder/finder.css +1 -1
  156. package/es2021/plugins/finder/finder.js +2 -56
  157. package/es2021/plugins/finder/finder.min.js +2 -2
  158. package/es2021/plugins/google-maps/google-maps.css +1 -1
  159. package/es2021/plugins/google-maps/google-maps.js +7 -3
  160. package/es2021/plugins/google-maps/google-maps.min.js +1 -1
  161. package/es2021/plugins/google-search/google-search.js +1 -1
  162. package/es2021/plugins/google-search/google-search.min.js +1 -1
  163. package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
  164. package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
  165. package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
  166. package/es2021/plugins/iframe-editor/iframe-editor.js +1 -1
  167. package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
  168. package/es2021/plugins/keyboard/keyboard.css +1 -1
  169. package/es2021/plugins/keyboard/keyboard.js +1 -1
  170. package/es2021/plugins/keyboard/keyboard.min.js +1 -1
  171. package/es2021/plugins/mobile-view/mobile-view.js +1 -1
  172. package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
  173. package/es2021/plugins/page-break/page-break.js +1 -1
  174. package/es2021/plugins/page-break/page-break.min.js +1 -1
  175. package/es2021/plugins/paste-code/paste-code.css +1 -1
  176. package/es2021/plugins/paste-code/paste-code.js +40 -36
  177. package/es2021/plugins/paste-code/paste-code.min.js +1 -1
  178. package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
  179. package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
  180. package/es2021/plugins/show-blocks/show-blocks.js +77 -39
  181. package/es2021/plugins/show-blocks/show-blocks.min.js +2 -2
  182. package/es2021/plugins/todo-list/todo-list.css +1 -1
  183. package/es2021/plugins/todo-list/todo-list.js +1 -1
  184. package/es2021/plugins/todo-list/todo-list.min.js +1 -1
  185. package/es2021/plugins/translate/translate.css +1 -1
  186. package/es2021/plugins/translate/translate.js +18 -18
  187. package/es2021/plugins/translate/translate.min.js +1 -1
  188. package/es2021/plugins/tune-block/tune-block.css +1 -1
  189. package/es2021/plugins/tune-block/tune-block.js +1 -1
  190. package/es2021/plugins/tune-block/tune-block.min.js +1 -1
  191. package/es2021.en/889.fat.min.js +10 -0
  192. package/es2021.en/889.js +24 -0
  193. package/es2021.en/889.min.js +10 -0
  194. package/es2021.en/jodit.css +11 -1
  195. package/es2021.en/jodit.fat.min.css +1 -1
  196. package/es2021.en/jodit.fat.min.js +2 -2
  197. package/es2021.en/jodit.js +419 -221
  198. package/es2021.en/jodit.min.css +1 -1
  199. package/es2021.en/jodit.min.js +2 -2
  200. package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
  201. package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
  202. package/es2021.en/plugins/backup/backup.css +1 -1
  203. package/es2021.en/plugins/backup/backup.js +1 -1
  204. package/es2021.en/plugins/backup/backup.min.js +1 -1
  205. package/es2021.en/plugins/button-generator/button-generator.css +1 -1
  206. package/es2021.en/plugins/button-generator/button-generator.js +1 -1
  207. package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
  208. package/es2021.en/plugins/change-case/change-case.js +1 -1
  209. package/es2021.en/plugins/change-case/change-case.min.js +1 -1
  210. package/es2021.en/plugins/color-picker/color-picker.css +1 -1
  211. package/es2021.en/plugins/color-picker/color-picker.js +1 -1
  212. package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
  213. package/es2021.en/plugins/emoji/emoji.css +1 -1
  214. package/es2021.en/plugins/emoji/emoji.js +1 -1
  215. package/es2021.en/plugins/emoji/emoji.min.js +1 -1
  216. package/es2021.en/plugins/export-docs/export-docs.js +1 -1
  217. package/es2021.en/plugins/export-docs/export-docs.min.js +1 -1
  218. package/es2021.en/plugins/finder/finder.css +1 -1
  219. package/es2021.en/plugins/finder/finder.js +2 -21
  220. package/es2021.en/plugins/finder/finder.min.js +2 -2
  221. package/es2021.en/plugins/google-maps/google-maps.css +1 -1
  222. package/es2021.en/plugins/google-maps/google-maps.js +7 -3
  223. package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
  224. package/es2021.en/plugins/google-search/google-search.js +1 -1
  225. package/es2021.en/plugins/google-search/google-search.min.js +1 -1
  226. package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
  227. package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
  228. package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
  229. package/es2021.en/plugins/iframe-editor/iframe-editor.js +1 -1
  230. package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
  231. package/es2021.en/plugins/keyboard/keyboard.css +1 -1
  232. package/es2021.en/plugins/keyboard/keyboard.js +1 -1
  233. package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
  234. package/es2021.en/plugins/mobile-view/mobile-view.js +1 -1
  235. package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
  236. package/es2021.en/plugins/page-break/page-break.js +1 -1
  237. package/es2021.en/plugins/page-break/page-break.min.js +1 -1
  238. package/es2021.en/plugins/paste-code/paste-code.css +1 -1
  239. package/es2021.en/plugins/paste-code/paste-code.js +40 -36
  240. package/es2021.en/plugins/paste-code/paste-code.min.js +1 -1
  241. package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
  242. package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
  243. package/es2021.en/plugins/show-blocks/show-blocks.js +41 -39
  244. package/es2021.en/plugins/show-blocks/show-blocks.min.js +2 -2
  245. package/es2021.en/plugins/todo-list/todo-list.css +1 -1
  246. package/es2021.en/plugins/todo-list/todo-list.js +1 -1
  247. package/es2021.en/plugins/todo-list/todo-list.min.js +1 -1
  248. package/es2021.en/plugins/translate/translate.css +1 -1
  249. package/es2021.en/plugins/translate/translate.js +18 -18
  250. package/es2021.en/plugins/translate/translate.min.js +1 -1
  251. package/es2021.en/plugins/tune-block/tune-block.css +1 -1
  252. package/es2021.en/plugins/tune-block/tune-block.js +1 -1
  253. package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
  254. package/es5/292.fat.min.js +10 -0
  255. package/es5/292.js +5011 -0
  256. package/es5/292.min.js +10 -0
  257. package/es5/889.fat.min.js +10 -0
  258. package/es5/889.js +58 -0
  259. package/es5/889.min.js +10 -0
  260. package/es5/jodit.css +12 -2
  261. package/es5/jodit.fat.min.css +1 -1
  262. package/es5/jodit.fat.min.js +2 -2
  263. package/es5/jodit.js +741 -5676
  264. package/es5/jodit.min.css +3 -3
  265. package/es5/jodit.min.js +2 -2
  266. package/es5/plugins/autocomplete/autocomplete.js +1 -1
  267. package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
  268. package/es5/plugins/backup/backup.css +1 -1
  269. package/es5/plugins/backup/backup.js +1 -1
  270. package/es5/plugins/backup/backup.min.js +1 -1
  271. package/es5/plugins/button-generator/button-generator.css +1 -1
  272. package/es5/plugins/button-generator/button-generator.js +1 -1
  273. package/es5/plugins/button-generator/button-generator.min.js +1 -1
  274. package/es5/plugins/change-case/change-case.js +1 -1
  275. package/es5/plugins/change-case/change-case.min.js +1 -1
  276. package/es5/plugins/color-picker/color-picker.css +1 -1
  277. package/es5/plugins/color-picker/color-picker.js +1 -1
  278. package/es5/plugins/color-picker/color-picker.min.js +1 -1
  279. package/es5/plugins/emoji/emoji.css +1 -1
  280. package/es5/plugins/emoji/emoji.js +1 -1
  281. package/es5/plugins/emoji/emoji.min.js +1 -1
  282. package/es5/plugins/export-docs/export-docs.js +1 -1
  283. package/es5/plugins/export-docs/export-docs.min.js +1 -1
  284. package/es5/plugins/finder/finder.css +1 -1
  285. package/es5/plugins/finder/finder.js +2 -56
  286. package/es5/plugins/finder/finder.min.js +2 -2
  287. package/es5/plugins/google-maps/google-maps.css +1 -1
  288. package/es5/plugins/google-maps/google-maps.js +7 -3
  289. package/es5/plugins/google-maps/google-maps.min.js +1 -1
  290. package/es5/plugins/google-search/google-search.js +1 -1
  291. package/es5/plugins/google-search/google-search.min.js +1 -1
  292. package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
  293. package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
  294. package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
  295. package/es5/plugins/iframe-editor/iframe-editor.js +1 -1
  296. package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
  297. package/es5/plugins/keyboard/keyboard.css +1 -1
  298. package/es5/plugins/keyboard/keyboard.js +1 -1
  299. package/es5/plugins/keyboard/keyboard.min.js +1 -1
  300. package/es5/plugins/mobile-view/mobile-view.js +1 -1
  301. package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
  302. package/es5/plugins/page-break/page-break.js +1 -1
  303. package/es5/plugins/page-break/page-break.min.js +1 -1
  304. package/es5/plugins/paste-code/paste-code.css +1 -1
  305. package/es5/plugins/paste-code/paste-code.js +50 -46
  306. package/es5/plugins/paste-code/paste-code.min.js +1 -1
  307. package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
  308. package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
  309. package/es5/plugins/show-blocks/show-blocks.js +77 -39
  310. package/es5/plugins/show-blocks/show-blocks.min.js +2 -2
  311. package/es5/plugins/todo-list/todo-list.css +1 -1
  312. package/es5/plugins/todo-list/todo-list.js +1 -1
  313. package/es5/plugins/todo-list/todo-list.min.js +1 -1
  314. package/es5/plugins/translate/translate.css +1 -1
  315. package/es5/plugins/translate/translate.js +24 -24
  316. package/es5/plugins/translate/translate.min.js +1 -1
  317. package/es5/plugins/tune-block/tune-block.css +1 -1
  318. package/es5/plugins/tune-block/tune-block.js +1 -1
  319. package/es5/plugins/tune-block/tune-block.min.js +1 -1
  320. package/esm/plugins/finder/config.js +1 -1
  321. package/esm/plugins/finder/langs/index.d.ts +1 -1
  322. package/esm/plugins/finder/langs/index.js +6 -0
  323. package/esm/plugins/finder/langs/ru.js +6 -0
  324. package/esm/plugins/google-maps/helpers/helpers.d.ts +0 -1
  325. package/esm/plugins/google-maps/ui/map/map.d.ts +0 -1
  326. package/esm/plugins/paste-from-word/element/render.js +1 -1
  327. package/esm/plugins/paste-from-word/element/style.js +1 -1
  328. package/esm/plugins/show-blocks/langs/ar.js +6 -0
  329. package/esm/plugins/show-blocks/langs/cs_cz.js +6 -0
  330. package/esm/plugins/show-blocks/langs/de.js +6 -0
  331. package/esm/plugins/show-blocks/langs/es.js +6 -0
  332. package/esm/plugins/show-blocks/langs/fa.js +6 -0
  333. package/esm/plugins/show-blocks/langs/fr.js +6 -0
  334. package/esm/plugins/show-blocks/langs/he.js +6 -0
  335. package/esm/plugins/show-blocks/langs/hu.js +6 -0
  336. package/esm/plugins/show-blocks/langs/id.js +6 -0
  337. package/esm/plugins/show-blocks/langs/index.d.ts +19 -19
  338. package/esm/plugins/show-blocks/langs/index.js +1 -1
  339. package/esm/plugins/show-blocks/langs/it.js +6 -0
  340. package/esm/plugins/show-blocks/langs/ja.js +6 -0
  341. package/esm/plugins/show-blocks/langs/ko.js +6 -0
  342. package/esm/plugins/show-blocks/langs/nl.js +6 -0
  343. package/esm/plugins/show-blocks/langs/pl.js +6 -0
  344. package/esm/plugins/show-blocks/langs/pt_br.js +6 -0
  345. package/esm/plugins/show-blocks/langs/ru.js +6 -0
  346. package/esm/plugins/show-blocks/langs/tr.js +6 -0
  347. package/esm/plugins/show-blocks/langs/zh_cn.js +6 -0
  348. package/esm/plugins/show-blocks/langs/zh_tw.js +6 -0
  349. package/package.json +1 -1
  350. package/types/plugins/finder/langs/index.d.ts +1 -1
  351. package/types/plugins/google-maps/helpers/helpers.d.ts +0 -1
  352. package/types/plugins/google-maps/ui/map/map.d.ts +0 -1
  353. package/types/plugins/show-blocks/langs/index.d.ts +19 -19
package/es2021/jodit.js CHANGED
@@ -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.24
4
+ * Version: v4.2.30
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -961,16 +961,12 @@ class Config {
961
961
  showPlaceholder: false
962
962
  }
963
963
  };
964
- this.ownerDocument = (typeof document !== 'undefined'
965
- ? document
966
- : null);
964
+ this.ownerDocument = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument;
967
965
  /**
968
966
  * Allows you to specify the window in which the editor will be created. Default - window
969
967
  * This is necessary if you are creating the editor inside an iframe but the code is running in the parent window
970
968
  */
971
- this.ownerWindow = (typeof window !== 'undefined'
972
- ? window
973
- : null);
969
+ this.ownerWindow = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow;
974
970
  /**
975
971
  * Shadow root if Jodit was created in it
976
972
  *
@@ -1744,16 +1740,16 @@ Config.prototype.controls = {};
1744
1740
  /* harmony export */ j: function() { return /* binding */ Async; }
1745
1741
  /* harmony export */ });
1746
1742
  /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
1747
- /* harmony import */ var jodit_core_helpers_async__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(98761);
1743
+ /* harmony import */ var jodit_core_helpers_async__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(61239);
1748
1744
  /* harmony import */ var jodit_core_helpers_checker_is_abort_error__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(54306);
1749
1745
  /* harmony import */ var jodit_core_helpers_checker_is_function__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(41959);
1750
- /* harmony import */ var jodit_core_helpers_checker_is_number__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(72558);
1746
+ /* harmony import */ var jodit_core_helpers_checker_is_number__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(72558);
1751
1747
  /* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(47903);
1752
1748
  /* harmony import */ var jodit_core_helpers_checker_is_promise__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(75138);
1753
1749
  /* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(26986);
1754
- /* harmony import */ var jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(74197);
1755
- /* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(28712);
1756
- /* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_1__);
1750
+ /* harmony import */ var jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(74197);
1751
+ /* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(28712);
1752
+ /* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__);
1757
1753
  /* harmony import */ var jodit_core_helpers_utils_error_errors_abort_error__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(30126);
1758
1754
  /*!
1759
1755
  * Jodit Editor (https://xdsoft.net/jodit/)
@@ -1804,17 +1800,18 @@ class Async {
1804
1800
  return 0;
1805
1801
  }
1806
1802
  let options = {};
1807
- if ((0,jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_2__/* .isVoid */ .R)(timeout)) {
1803
+ if ((0,jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_3__/* .isVoid */ .R)(timeout)) {
1808
1804
  timeout = 0;
1809
1805
  }
1810
- if (!(0,jodit_core_helpers_checker_is_number__WEBPACK_IMPORTED_MODULE_3__/* .isNumber */ .E)(timeout)) {
1806
+ if (!(0,jodit_core_helpers_checker_is_number__WEBPACK_IMPORTED_MODULE_4__/* .isNumber */ .E)(timeout)) {
1811
1807
  options = timeout;
1812
1808
  timeout = options.timeout || 0;
1813
1809
  }
1814
1810
  if (options.label) {
1815
1811
  this.clearLabel(options.label);
1816
1812
  }
1817
- const timer = (0,jodit_core_helpers_async__WEBPACK_IMPORTED_MODULE_4__/* .setTimeout */ .w)(callback, timeout, ...args), key = options.label || timer;
1813
+ const timer = (0,jodit_core_helpers_async__WEBPACK_IMPORTED_MODULE_1__/* .setTimeout */ .w)(callback, timeout, ...args);
1814
+ const key = options.label || timer;
1818
1815
  this.timers.set(key, timer);
1819
1816
  this.__callbacks.set(key, callback);
1820
1817
  return timer;
@@ -1830,7 +1827,7 @@ class Async {
1830
1827
  }
1831
1828
  clearLabel(label) {
1832
1829
  if (label && this.timers.has(label)) {
1833
- (0,jodit_core_helpers_async__WEBPACK_IMPORTED_MODULE_4__/* .clearTimeout */ .D)(this.timers.get(label));
1830
+ (0,jodit_core_helpers_async__WEBPACK_IMPORTED_MODULE_1__/* .clearTimeout */ .D)(this.timers.get(label));
1834
1831
  this.timers.delete(label);
1835
1832
  this.__callbacks.delete(label);
1836
1833
  }
@@ -1839,7 +1836,7 @@ class Async {
1839
1836
  if ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_5__/* .isString */ .K)(timerOrLabel)) {
1840
1837
  return this.clearLabel(timerOrLabel);
1841
1838
  }
1842
- (0,jodit_core_helpers_async__WEBPACK_IMPORTED_MODULE_4__/* .clearTimeout */ .D)(timerOrLabel);
1839
+ (0,jodit_core_helpers_async__WEBPACK_IMPORTED_MODULE_1__/* .clearTimeout */ .D)(timerOrLabel);
1843
1840
  this.timers.delete(timerOrLabel);
1844
1841
  this.__callbacks.delete(timerOrLabel);
1845
1842
  }
@@ -1881,7 +1878,7 @@ class Async {
1881
1878
  if (!timer && firstCallImmediately) {
1882
1879
  callFn(...args);
1883
1880
  }
1884
- (0,jodit_core_helpers_async__WEBPACK_IMPORTED_MODULE_4__/* .clearTimeout */ .D)(timer);
1881
+ (0,jodit_core_helpers_async__WEBPACK_IMPORTED_MODULE_1__/* .clearTimeout */ .D)(timer);
1885
1882
  timer = this.setTimeout(() => callFn(...args), (0,jodit_core_helpers_checker_is_function__WEBPACK_IMPORTED_MODULE_7__/* .isFunction */ .T)(timeout) ? timeout() : timeout);
1886
1883
  this.timers.set(fn, timer);
1887
1884
  }
@@ -2035,7 +2032,7 @@ class Async {
2035
2032
  clear() {
2036
2033
  this.requestsIdle.forEach(key => this.cancelIdleCallback(key));
2037
2034
  this.requestsRaf.forEach(key => this.cancelAnimationFrame(key));
2038
- this.timers.forEach(key => (0,jodit_core_helpers_async__WEBPACK_IMPORTED_MODULE_4__/* .clearTimeout */ .D)(this.timers.get(key)));
2035
+ this.timers.forEach(key => (0,jodit_core_helpers_async__WEBPACK_IMPORTED_MODULE_1__/* .clearTimeout */ .D)(this.timers.get(key)));
2039
2036
  this.timers.clear();
2040
2037
  this.promisesRejections.forEach(reject => reject());
2041
2038
  this.promisesRejections.clear();
@@ -2444,6 +2441,8 @@ __webpack_require__.r(__webpack_exports__);
2444
2441
  /* harmony export */ TEXT_PLAIN: function() { return /* binding */ TEXT_PLAIN; },
2445
2442
  /* harmony export */ TEXT_RTF: function() { return /* binding */ TEXT_RTF; },
2446
2443
  /* harmony export */ TOKENS: function() { return /* binding */ TOKENS; },
2444
+ /* harmony export */ globalDocument: function() { return /* binding */ globalDocument; },
2445
+ /* harmony export */ globalWindow: function() { return /* binding */ globalWindow; },
2447
2446
  /* harmony export */ lang: function() { return /* binding */ lang; }
2448
2447
  /* harmony export */ });
2449
2448
  /*!
@@ -2451,7 +2450,7 @@ __webpack_require__.r(__webpack_exports__);
2451
2450
  * Released under MIT see LICENSE.txt in the project root for license information.
2452
2451
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
2453
2452
  */
2454
- const APP_VERSION = "4.2.24";
2453
+ const APP_VERSION = "4.2.30";
2455
2454
  // prettier-ignore
2456
2455
  const ES = "es2021";
2457
2456
  const IS_ES_MODERN = true;
@@ -2470,6 +2469,10 @@ const INVISIBLE_SPACE_REG_EXP_START = () => /^[\uFEFF]+/g;
2470
2469
  const SPACE_REG_EXP = () => /[\s\n\t\r\uFEFF\u200b]+/g;
2471
2470
  const SPACE_REG_EXP_START = () => /^[\s\n\t\r\uFEFF\u200b]+/g;
2472
2471
  const SPACE_REG_EXP_END = () => /[\s\n\t\r\uFEFF\u200b]+$/g;
2472
+ const globalWindow = typeof window !== 'undefined' ? window : undefined;
2473
+ const globalDocument = typeof document !== 'undefined'
2474
+ ? document
2475
+ : undefined;
2473
2476
  const IS_BLOCK = /^(ADDRESS|ARTICLE|ASIDE|BLOCKQUOTE|CANVAS|DD|DFN|DIV|DL|DT|FIELDSET|FIGCAPTION|FIGURE|FOOTER|FORM|H[1-6]|HEADER|HGROUP|HR|LI|MAIN|NAV|NOSCRIPT|OUTPUT|P|PRE|RUBY|SCRIPT|STYLE|OBJECT|OL|SECTION|IFRAME|JODIT|JODIT-MEDIA|UL|TR|TD|TH|TBODY|THEAD|TFOOT|TABLE|BODY|HTML|VIDEO)$/i;
2474
2477
  const IS_INLINE = /^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i;
2475
2478
  const LIST_TAGS = new Set(['ul', 'ol']);
@@ -2594,8 +2597,8 @@ const INSERT_AS_TEXT = 'insert_as_text';
2594
2597
  */
2595
2598
  const INSERT_ONLY_TEXT = 'insert_only_text';
2596
2599
  const SAFE_COUNT_CHANGE_CALL = 10;
2597
- const IS_MAC = typeof window !== 'undefined' &&
2598
- /Mac|iPod|iPhone|iPad/.test(window.navigator.platform);
2600
+ const IS_MAC = typeof globalWindow !== 'undefined' &&
2601
+ /Mac|iPod|iPhone|iPad/.test(globalWindow.navigator.platform);
2599
2602
  const KEY_ALIASES = {
2600
2603
  add: '+',
2601
2604
  break: 'pause',
@@ -2623,7 +2626,7 @@ const BASE_PATH = (() => {
2623
2626
  if (typeof document === 'undefined') {
2624
2627
  return '';
2625
2628
  }
2626
- const script = document.currentScript, removeScriptName = (s) => {
2629
+ const script = globalDocument.currentScript, removeScriptName = (s) => {
2627
2630
  const parts = s.split('/');
2628
2631
  if (/\.js/.test(parts[parts.length - 1])) {
2629
2632
  return parts.slice(0, parts.length - 1).join('/') + '/';
@@ -2633,11 +2636,11 @@ const BASE_PATH = (() => {
2633
2636
  if (script) {
2634
2637
  return removeScriptName(script.src);
2635
2638
  }
2636
- const scripts = document.querySelectorAll('script[src]');
2639
+ const scripts = globalDocument.querySelectorAll('script[src]');
2637
2640
  if (scripts && scripts.length) {
2638
2641
  return removeScriptName(scripts[scripts.length - 1].src);
2639
2642
  }
2640
- return window.location.href;
2643
+ return globalWindow.location.href;
2641
2644
  })();
2642
2645
  const TEMP_ATTR = 'data-jodit-temp';
2643
2646
  const lang = {};
@@ -3381,7 +3384,6 @@ function watch(observeFields, opts) {
3381
3384
  const [objectPath, eventName] = field.split(':');
3382
3385
  let ctx = context;
3383
3386
  if (objectPath.length) {
3384
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3385
3387
  ctx = component.get(objectPath);
3386
3388
  }
3387
3389
  if ((0,jodit_core_helpers_checker_is_function__WEBPACK_IMPORTED_MODULE_3__/* .isFunction */ .T)(ctx)) {
@@ -4042,7 +4044,7 @@ class Dom {
4042
4044
  * Move all content to another element
4043
4045
  */
4044
4046
  static moveContent(from, to, inStart = false, filter = () => true) {
4045
- const fragment = (from.ownerDocument || document).createDocumentFragment();
4047
+ const fragment = (from.ownerDocument || jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument).createDocumentFragment();
4046
4048
  (0,jodit_core_helpers_array_to_array__WEBPACK_IMPORTED_MODULE_1__/* .toArray */ .$)(from.childNodes)
4047
4049
  .filter(elm => {
4048
4050
  if (filter(elm)) {
@@ -4499,7 +4501,7 @@ class EventEmitter {
4499
4501
  passive: true,
4500
4502
  capture: options?.capture ?? false
4501
4503
  }
4502
- : options?.capture ?? false;
4504
+ : (options?.capture ?? false);
4503
4505
  syntheticCallback.options = eOpts;
4504
4506
  subject.addEventListener(event, syntheticCallback, eOpts);
4505
4507
  this.__memoryDOMSubjectToHandler(subject, syntheticCallback);
@@ -4730,7 +4732,7 @@ class EventEmitter {
4730
4732
  this.__domEventsMap = new Map();
4731
4733
  this.__mutedEvents = new Set();
4732
4734
  this.__key = '__JoditEventEmitterNamespaces';
4733
- this.__doc = document;
4735
+ this.__doc = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument;
4734
4736
  this.__prepareEvent = (e) => {
4735
4737
  if (e.cancelBubble) {
4736
4738
  return;
@@ -5224,9 +5226,19 @@ function getContainer(jodit, classFunc, tag = 'div', createInsideEditor = false)
5224
5226
  const view = (0,jodit_core_helpers_checker_is_view_object__WEBPACK_IMPORTED_MODULE_6__/* .isViewObject */ .h)(jodit) ? jodit : jodit.j;
5225
5227
  if (!data[key]) {
5226
5228
  let c = view.c;
5227
- let body = (0,jodit_core_helpers_checker_is_jodit_object__WEBPACK_IMPORTED_MODULE_7__/* .isJoditObject */ .y)(jodit) && jodit.o.shadowRoot
5228
- ? jodit.o.shadowRoot
5229
- : jodit.od.body;
5229
+ let body;
5230
+ if ((0,jodit_core_helpers_checker_is_jodit_object__WEBPACK_IMPORTED_MODULE_7__/* .isJoditObject */ .y)(jodit) && jodit.o.shadowRoot) {
5231
+ body = jodit.o.shadowRoot;
5232
+ }
5233
+ else {
5234
+ body = jodit.od.body;
5235
+ if ((0,jodit_core_helpers_checker_is_jodit_object__WEBPACK_IMPORTED_MODULE_7__/* .isJoditObject */ .y)(jodit)) {
5236
+ const dialog = _dom__WEBPACK_IMPORTED_MODULE_3__/* .Dom */ .J.closest(jodit.container, 'dialog', jodit.od.body);
5237
+ if (dialog) {
5238
+ body = dialog;
5239
+ }
5240
+ }
5241
+ }
5230
5242
  if (createInsideEditor &&
5231
5243
  (0,jodit_core_helpers_checker_is_jodit_object__WEBPACK_IMPORTED_MODULE_7__/* .isJoditObject */ .y)(jodit) &&
5232
5244
  jodit.od !== jodit.ed) {
@@ -5380,7 +5392,7 @@ function splitArray(a) {
5380
5392
  const toArray = function toArray(...args) {
5381
5393
  const func = (0,jodit_core_helpers_checker_is_native_function__WEBPACK_IMPORTED_MODULE_1__/* .isNativeFunction */ .a)(Array.from)
5382
5394
  ? Array.from
5383
- : (0,jodit_core_helpers_utils_reset__WEBPACK_IMPORTED_MODULE_0__/* .reset */ .c)('Array.from') ?? Array.from;
5395
+ : ((0,jodit_core_helpers_utils_reset__WEBPACK_IMPORTED_MODULE_0__/* .reset */ .c)('Array.from') ?? Array.from);
5384
5396
  return func.apply(Array, args);
5385
5397
  };
5386
5398
 
@@ -5417,6 +5429,7 @@ const toArray = function toArray(...args) {
5417
5429
  /* harmony export */ D: function() { return /* binding */ clearTimeout; },
5418
5430
  /* harmony export */ w: function() { return /* binding */ setTimeout; }
5419
5431
  /* harmony export */ });
5432
+ /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
5420
5433
  /*!
5421
5434
  * Jodit Editor (https://xdsoft.net/jodit/)
5422
5435
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -5425,6 +5438,7 @@ const toArray = function toArray(...args) {
5425
5438
  /**
5426
5439
  * @module helpers/async
5427
5440
  */
5441
+
5428
5442
  /**
5429
5443
  * Create async callback if set timeout value - else call function immediately
5430
5444
  */
@@ -5433,7 +5447,7 @@ function setTimeout(callback, timeout, ...args) {
5433
5447
  callback.call(null, ...args);
5434
5448
  }
5435
5449
  else {
5436
- return window.setTimeout(callback, timeout, ...args);
5450
+ return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.setTimeout(callback, timeout, ...args);
5437
5451
  }
5438
5452
  return 0;
5439
5453
  }
@@ -5441,7 +5455,7 @@ function setTimeout(callback, timeout, ...args) {
5441
5455
  * Clear timeout
5442
5456
  */
5443
5457
  function clearTimeout(timer) {
5444
- window.clearTimeout(timer);
5458
+ jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.clearTimeout(timer);
5445
5459
  }
5446
5460
 
5447
5461
 
@@ -5454,6 +5468,7 @@ function clearTimeout(timer) {
5454
5468
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5455
5469
  /* harmony export */ k: function() { return /* binding */ hasBrowserColorPicker; }
5456
5470
  /* harmony export */ });
5471
+ /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
5457
5472
  /*!
5458
5473
  * Jodit Editor (https://xdsoft.net/jodit/)
5459
5474
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -5462,13 +5477,14 @@ function clearTimeout(timer) {
5462
5477
  /**
5463
5478
  * @module helpers/checker
5464
5479
  */
5480
+
5465
5481
  /**
5466
5482
  * Check if browser has a color picker (a new HTML5 attribute for input tag)
5467
5483
  */
5468
5484
  function hasBrowserColorPicker() {
5469
5485
  let supportsColor = true;
5470
5486
  try {
5471
- const a = document.createElement('input');
5487
+ const a = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument.createElement('input');
5472
5488
  a.type = 'color';
5473
5489
  a.value = '!';
5474
5490
  supportsColor = a.type === 'color' && a.value !== '!';
@@ -6118,6 +6134,7 @@ function isStringArray(value) {
6118
6134
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
6119
6135
  /* harmony export */ m: function() { return /* binding */ isURL; }
6120
6136
  /* harmony export */ });
6137
+ /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
6121
6138
  /*!
6122
6139
  * Jodit Editor (https://xdsoft.net/jodit/)
6123
6140
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -6126,6 +6143,7 @@ function isStringArray(value) {
6126
6143
  /**
6127
6144
  * @module helpers/checker
6128
6145
  */
6146
+
6129
6147
  /**
6130
6148
  * Check if a string is an url
6131
6149
  */
@@ -6142,7 +6160,7 @@ function isURL(str) {
6142
6160
  return false;
6143
6161
  }
6144
6162
  }
6145
- const a = document.createElement('a');
6163
+ const a = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument.createElement('a');
6146
6164
  a.href = str;
6147
6165
  return Boolean(a.hostname);
6148
6166
  }
@@ -6377,9 +6395,9 @@ function applyStyles(html) {
6377
6395
  }
6378
6396
  html = html.substring(html.indexOf('<html '), html.length);
6379
6397
  html = html.substring(0, html.lastIndexOf('</html>') + '</html>'.length);
6380
- const iframe = document.createElement('iframe');
6398
+ const iframe = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument.createElement('iframe');
6381
6399
  iframe.style.display = 'none';
6382
- document.body.appendChild(iframe);
6400
+ jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument.body.appendChild(iframe);
6383
6401
  let convertedString = '', collection = [];
6384
6402
  try {
6385
6403
  const iframeDoc = iframe.contentDocument ||
@@ -6450,9 +6468,10 @@ function applyStyles(html) {
6450
6468
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
6451
6469
  /* harmony export */ w: function() { return /* binding */ cleanFromWord; }
6452
6470
  /* harmony export */ });
6453
- /* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
6454
- /* harmony import */ var jodit_core_helpers_array_to_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7773);
6455
- /* harmony import */ var jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(22718);
6471
+ /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
6472
+ /* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23545);
6473
+ /* harmony import */ var jodit_core_helpers_array_to_array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7773);
6474
+ /* harmony import */ var jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(22718);
6456
6475
  /*!
6457
6476
  * Jodit Editor (https://xdsoft.net/jodit/)
6458
6477
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -6464,6 +6483,7 @@ function applyStyles(html) {
6464
6483
 
6465
6484
 
6466
6485
 
6486
+
6467
6487
  /**
6468
6488
  * The method automatically cleans up content from Microsoft Word and other HTML sources to ensure clean, compliant
6469
6489
  * content that matches the look and feel of the site.
@@ -6475,11 +6495,11 @@ function cleanFromWord(html) {
6475
6495
  }
6476
6496
  let convertedString = '';
6477
6497
  try {
6478
- const div = document.createElement('div');
6498
+ const div = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument.createElement('div');
6479
6499
  div.innerHTML = html;
6480
6500
  const marks = [];
6481
6501
  if (div.firstChild) {
6482
- jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.each(div, node => {
6502
+ jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.each(div, node => {
6483
6503
  if (!node) {
6484
6504
  return;
6485
6505
  }
@@ -6494,10 +6514,10 @@ function cleanFromWord(html) {
6494
6514
  case 'W:SDT':
6495
6515
  case 'W:SDTPR':
6496
6516
  case 'FONT':
6497
- jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.unwrap(node);
6517
+ jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.unwrap(node);
6498
6518
  break;
6499
6519
  default:
6500
- (0,jodit_core_helpers_array_to_array__WEBPACK_IMPORTED_MODULE_1__/* .toArray */ .$)(node.attributes).forEach((attr) => {
6520
+ (0,jodit_core_helpers_array_to_array__WEBPACK_IMPORTED_MODULE_2__/* .toArray */ .$)(node.attributes).forEach((attr) => {
6501
6521
  if ([
6502
6522
  'src',
6503
6523
  'href',
@@ -6516,14 +6536,14 @@ function cleanFromWord(html) {
6516
6536
  }
6517
6537
  });
6518
6538
  }
6519
- jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.safeRemove.apply(null, marks);
6539
+ jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.safeRemove.apply(null, marks);
6520
6540
  convertedString = div.innerHTML;
6521
6541
  }
6522
6542
  catch (e) { }
6523
6543
  if (convertedString) {
6524
6544
  html = convertedString;
6525
6545
  }
6526
- html = html.split(/(\n)/).filter(jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_2__/* .trim */ .Bq).join('\n');
6546
+ html = html.split(/(\n)/).filter(jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_3__/* .trim */ .Bq).join('\n');
6527
6547
  return html
6528
6548
  .replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g, '')
6529
6549
  .replace(/<!--[^>]*>/g, '');
@@ -6539,6 +6559,7 @@ function cleanFromWord(html) {
6539
6559
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
6540
6560
  /* harmony export */ G: function() { return /* binding */ htmlspecialchars; }
6541
6561
  /* harmony export */ });
6562
+ /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
6542
6563
  /*!
6543
6564
  * Jodit Editor (https://xdsoft.net/jodit/)
6544
6565
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -6547,11 +6568,12 @@ function cleanFromWord(html) {
6547
6568
  /**
6548
6569
  * @module helpers/html
6549
6570
  */
6571
+
6550
6572
  /**
6551
6573
  * Convert special characters to HTML entities
6552
6574
  */
6553
6575
  function htmlspecialchars(html) {
6554
- const tmp = document.createElement('div');
6576
+ const tmp = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument.createElement('div');
6555
6577
  tmp.textContent = html;
6556
6578
  return tmp.innerHTML;
6557
6579
  }
@@ -7272,8 +7294,9 @@ const getContentWidth = (element, win) => {
7272
7294
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7273
7295
  /* harmony export */ m: function() { return /* binding */ getScrollParent; }
7274
7296
  /* harmony export */ });
7275
- /* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
7276
- /* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(71122);
7297
+ /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
7298
+ /* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23545);
7299
+ /* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71122);
7277
7300
  /*!
7278
7301
  * Jodit Editor (https://xdsoft.net/jodit/)
7279
7302
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -7281,19 +7304,20 @@ const getContentWidth = (element, win) => {
7281
7304
  */
7282
7305
 
7283
7306
 
7307
+
7284
7308
  function getScrollParent(node) {
7285
7309
  if (!node) {
7286
7310
  return null;
7287
7311
  }
7288
- const isElement = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isHTMLElement(node);
7289
- const overflowY = isElement && (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_1__.css)(node, 'overflowY');
7312
+ const isElement = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isHTMLElement(node);
7313
+ const overflowY = isElement && (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__.css)(node, 'overflowY');
7290
7314
  const isScrollable = isElement && overflowY !== 'visible' && overflowY !== 'hidden';
7291
7315
  if (isScrollable && node.scrollHeight >= node.clientHeight) {
7292
7316
  return node;
7293
7317
  }
7294
7318
  return (getScrollParent(node.parentNode) ||
7295
- document.scrollingElement ||
7296
- document.body);
7319
+ jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument.scrollingElement ||
7320
+ jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument.body);
7297
7321
  }
7298
7322
 
7299
7323
 
@@ -8217,16 +8241,18 @@ const buildQuery = (data, prefix) => {
8217
8241
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8218
8242
  /* harmony export */ X: function() { return /* binding */ completeUrl; }
8219
8243
  /* harmony export */ });
8244
+ /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
8220
8245
  /*!
8221
8246
  * Jodit Editor (https://xdsoft.net/jodit/)
8222
8247
  * Released under MIT see LICENSE.txt in the project root for license information.
8223
8248
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
8224
8249
  */
8250
+
8225
8251
  /**
8226
8252
  * @module helpers/utils
8227
8253
  */
8228
8254
  const completeUrl = (url) => {
8229
- if (window.location.protocol === 'file:' && /^\/\//.test(url)) {
8255
+ if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.location.protocol === 'file:' && /^\/\//.test(url)) {
8230
8256
  url = 'https:' + url;
8231
8257
  }
8232
8258
  return url;
@@ -8343,8 +8369,9 @@ function ConfigFlatten(obj) {
8343
8369
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8344
8370
  /* harmony export */ m: function() { return /* binding */ convertMediaUrlToVideoEmbed; }
8345
8371
  /* harmony export */ });
8346
- /* harmony import */ var jodit_core_helpers_checker_is_url__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(20858);
8347
- /* harmony import */ var _parse_query__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(15896);
8372
+ /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
8373
+ /* harmony import */ var jodit_core_helpers_checker_is_url__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(20858);
8374
+ /* harmony import */ var _parse_query__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(15896);
8348
8375
  /*!
8349
8376
  * Jodit Editor (https://xdsoft.net/jodit/)
8350
8377
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -8355,14 +8382,15 @@ function ConfigFlatten(obj) {
8355
8382
  */
8356
8383
 
8357
8384
 
8385
+
8358
8386
  /**
8359
8387
  * Javascript url pattern converter replace youtube/vimeo url in embed code.
8360
8388
  */
8361
8389
  const convertMediaUrlToVideoEmbed = (url, width = 400, height = 345) => {
8362
- if (!(0,jodit_core_helpers_checker_is_url__WEBPACK_IMPORTED_MODULE_0__/* .isURL */ .m)(url)) {
8390
+ if (!(0,jodit_core_helpers_checker_is_url__WEBPACK_IMPORTED_MODULE_1__/* .isURL */ .m)(url)) {
8363
8391
  return url;
8364
8392
  }
8365
- const parser = document.createElement('a'), pattern1 = /(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(.+)/g;
8393
+ const parser = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument.createElement('a'), pattern1 = /(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(.+)/g;
8366
8394
  parser.href = url;
8367
8395
  if (!width) {
8368
8396
  width = 400;
@@ -8388,7 +8416,7 @@ const convertMediaUrlToVideoEmbed = (url, width = 400, height = 345) => {
8388
8416
  case 'youtu.be':
8389
8417
  case 'www.youtu.be': {
8390
8418
  const query = parser.search
8391
- ? (0,_parse_query__WEBPACK_IMPORTED_MODULE_1__/* .parseQuery */ .m)(parser.search)
8419
+ ? (0,_parse_query__WEBPACK_IMPORTED_MODULE_2__/* .parseQuery */ .m)(parser.search)
8392
8420
  : { v: parser.pathname.substr(1) };
8393
8421
  return query.v
8394
8422
  ? '<iframe width="' +
@@ -8582,7 +8610,8 @@ const dataBind = (elm, key, value) => {
8582
8610
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8583
8611
  /* harmony export */ e: function() { return /* binding */ defaultLanguage; }
8584
8612
  /* harmony export */ });
8585
- /* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(26986);
8613
+ /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
8614
+ /* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(26986);
8586
8615
  /*!
8587
8616
  * Jodit Editor (https://xdsoft.net/jodit/)
8588
8617
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -8592,15 +8621,16 @@ const dataBind = (elm, key, value) => {
8592
8621
  * @module helpers/utils
8593
8622
  */
8594
8623
 
8624
+
8595
8625
  /**
8596
8626
  * Try define user language
8597
8627
  */
8598
8628
  const defaultLanguage = (language, defaultLanguage = 'en') => {
8599
- if (language !== 'auto' && (0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_0__/* .isString */ .K)(language)) {
8629
+ if (language !== 'auto' && (0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .K)(language)) {
8600
8630
  return language;
8601
8631
  }
8602
- if (document.documentElement && document.documentElement.lang) {
8603
- return document.documentElement.lang;
8632
+ if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument.documentElement && jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument.documentElement.lang) {
8633
+ return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument.documentElement.lang;
8604
8634
  }
8605
8635
  if (navigator.language) {
8606
8636
  return navigator.language.substring(0, 2);
@@ -9351,10 +9381,10 @@ const map = {};
9351
9381
  */
9352
9382
  function reset(key) {
9353
9383
  if (!(key in map)) {
9354
- const iframe = document.createElement('iframe');
9384
+ const iframe = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument.createElement('iframe');
9355
9385
  try {
9356
9386
  iframe.src = 'about:blank';
9357
- document.body.appendChild(iframe);
9387
+ jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument.body.appendChild(iframe);
9358
9388
  if (!iframe.contentWindow) {
9359
9389
  return null;
9360
9390
  }
@@ -10281,14 +10311,15 @@ Plugin.requires = [];
10281
10311
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10282
10312
  /* harmony export */ d: function() { return /* binding */ Ajax; }
10283
10313
  /* harmony export */ });
10284
- /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
10314
+ /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(31635);
10285
10315
  /* harmony import */ var jodit_core_async__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(61341);
10286
- /* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(33442);
10287
- /* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
10288
- /* harmony import */ var jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(24839);
10289
- /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
10290
- /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91596);
10291
- /* harmony import */ var _response__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(85349);
10316
+ /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(67259);
10317
+ /* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(33442);
10318
+ /* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
10319
+ /* harmony import */ var jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(24839);
10320
+ /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
10321
+ /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91596);
10322
+ /* harmony import */ var _response__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(85349);
10292
10323
  /*!
10293
10324
  * Jodit Editor (https://xdsoft.net/jodit/)
10294
10325
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -10302,33 +10333,34 @@ Plugin.requires = [];
10302
10333
 
10303
10334
 
10304
10335
 
10336
+
10305
10337
  class Ajax {
10306
10338
  className() {
10307
10339
  return 'Ajax';
10308
10340
  }
10309
- constructor(options, defaultAjaxOptions = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultAjaxOptions) {
10341
+ constructor(options, defaultAjaxOptions = jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.defaultAjaxOptions) {
10310
10342
  this.__async = new jodit_core_async__WEBPACK_IMPORTED_MODULE_0__/* .Async */ .j();
10311
10343
  this.__isFulfilled = false;
10312
10344
  this.__activated = false;
10313
10345
  this.__isDestructed = false;
10314
- this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.ConfigProto)(options || {}, defaultAjaxOptions);
10346
+ this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(options || {}, defaultAjaxOptions);
10315
10347
  this.xhr = this.o.xhr ? this.o.xhr() : new XMLHttpRequest();
10316
10348
  }
10317
10349
  __buildParams(obj, prefix) {
10318
- if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.isPlainObject)(obj) &&
10350
+ if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(obj) &&
10319
10351
  this.options.contentType &&
10320
10352
  this.options.contentType.includes('application/json')) {
10321
10353
  return JSON.stringify(obj);
10322
10354
  }
10323
- if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.isFunction)(this.o.queryBuild)) {
10355
+ if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isFunction)(this.o.queryBuild)) {
10324
10356
  return this.o.queryBuild.call(this, obj, prefix);
10325
10357
  }
10326
- if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.isString)(obj) ||
10327
- obj instanceof window.FormData ||
10328
- (typeof obj === 'object' && obj != null && (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.isFunction)(obj.append))) {
10358
+ if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isString)(obj) ||
10359
+ obj instanceof jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.globalWindow.FormData ||
10360
+ (typeof obj === 'object' && obj != null && (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isFunction)(obj.append))) {
10329
10361
  return obj;
10330
10362
  }
10331
- return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.buildQuery)(obj);
10363
+ return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.buildQuery)(obj);
10332
10364
  }
10333
10365
  get o() {
10334
10366
  return this.options;
@@ -10351,16 +10383,16 @@ class Ajax {
10351
10383
  return this.__async.promise(async (resolve, reject) => {
10352
10384
  const onReject = () => {
10353
10385
  this.__isFulfilled = true;
10354
- reject(jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_2__/* .connection */ .FI('Connection error'));
10386
+ reject(jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_3__/* .connection */ .FI('Connection error'));
10355
10387
  };
10356
10388
  const onResolve = () => {
10357
10389
  this.__isFulfilled = true;
10358
- resolve(new _response__WEBPACK_IMPORTED_MODULE_5__/* .Response */ .Y(request, xhr.status, xhr.statusText, !xhr.responseType ? xhr.responseText : xhr.response));
10390
+ resolve(new _response__WEBPACK_IMPORTED_MODULE_6__/* .Response */ .Y(request, xhr.status, xhr.statusText, !xhr.responseType ? xhr.responseText : xhr.response));
10359
10391
  };
10360
10392
  xhr.onload = onResolve;
10361
10393
  xhr.onabort = () => {
10362
10394
  this.__isFulfilled = true;
10363
- reject(jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_2__/* .abort */ .h2('Abort connection'));
10395
+ reject(jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_3__/* .abort */ .h2('Abort connection'));
10364
10396
  };
10365
10397
  xhr.onerror = onReject;
10366
10398
  xhr.ontimeout = onReject;
@@ -10382,7 +10414,7 @@ class Ajax {
10382
10414
  }
10383
10415
  else if (xhr.statusText) {
10384
10416
  this.__isFulfilled = true;
10385
- reject(jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_2__/* .connection */ .FI(xhr.statusText));
10417
+ reject(jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_3__/* .connection */ .FI(xhr.statusText));
10386
10418
  }
10387
10419
  }
10388
10420
  };
@@ -10393,7 +10425,7 @@ class Ajax {
10393
10425
  xhr.setRequestHeader('Content-type', o.contentType);
10394
10426
  }
10395
10427
  let { headers } = o;
10396
- if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.isFunction)(headers)) {
10428
+ if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isFunction)(headers)) {
10397
10429
  headers = await headers.call(this);
10398
10430
  }
10399
10431
  if (headers && xhr.setRequestHeader) {
@@ -10409,22 +10441,22 @@ class Ajax {
10409
10441
  }
10410
10442
  prepareRequest() {
10411
10443
  if (!this.o.url) {
10412
- throw jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_2__/* .error */ .z3('Need URL for AJAX request');
10444
+ throw jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_3__/* .error */ .z3('Need URL for AJAX request');
10413
10445
  }
10414
10446
  let url = this.o.url;
10415
10447
  const data = this.o.data;
10416
10448
  const method = (this.o.method || 'get').toLowerCase();
10417
- if (method === 'get' && data && (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.isPlainObject)(data)) {
10449
+ if (method === 'get' && data && (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(data)) {
10418
10450
  const qIndex = url.indexOf('?');
10419
10451
  if (qIndex !== -1) {
10420
- const urlData = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.parseQuery)(url);
10452
+ const urlData = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.parseQuery)(url);
10421
10453
  url =
10422
10454
  url.substring(0, qIndex) +
10423
10455
  '?' +
10424
- (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.buildQuery)({ ...urlData, ...data });
10456
+ (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.buildQuery)({ ...urlData, ...data });
10425
10457
  }
10426
10458
  else {
10427
- url += '?' + (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.buildQuery)(this.o.data);
10459
+ url += '?' + (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.buildQuery)(this.o.data);
10428
10460
  }
10429
10461
  }
10430
10462
  const request = {
@@ -10448,8 +10480,8 @@ class Ajax {
10448
10480
  }
10449
10481
  }
10450
10482
  Ajax.log = [];
10451
- (0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
10452
- jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Ay
10483
+ (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .Cg)([
10484
+ jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Ay
10453
10485
  ], Ajax.prototype, "destruct", null);
10454
10486
 
10455
10487
 
@@ -11335,6 +11367,7 @@ class Selection {
11335
11367
  /**
11336
11368
  * Call callback for all selection node
11337
11369
  */
11370
+ // eslint-disable-next-line complexity
11338
11371
  eachSelection(callback) {
11339
11372
  const sel = this.sel;
11340
11373
  if (!sel || !sel.rangeCount) {
@@ -12115,12 +12148,13 @@ function getSuitParent(style, node, root) {
12115
12148
  /* harmony export */ Y: function() { return /* binding */ hasSameStyleKeys; },
12116
12149
  /* harmony export */ g: function() { return /* binding */ hasSameStyle; }
12117
12150
  /* harmony export */ });
12118
- /* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
12119
- /* harmony import */ var jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(74197);
12120
- /* harmony import */ var jodit_core_helpers_normalize_normalize_css_value__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(43581);
12121
- /* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(28712);
12122
- /* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_1__);
12123
- /* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4401);
12151
+ /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
12152
+ /* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23545);
12153
+ /* harmony import */ var jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(74197);
12154
+ /* harmony import */ var jodit_core_helpers_normalize_normalize_css_value__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(43581);
12155
+ /* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(28712);
12156
+ /* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_2__);
12157
+ /* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4401);
12124
12158
  /*!
12125
12159
  * Jodit Editor (https://xdsoft.net/jodit/)
12126
12160
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -12131,48 +12165,53 @@ function getSuitParent(style, node, root) {
12131
12165
 
12132
12166
 
12133
12167
 
12168
+
12134
12169
  /**
12135
12170
  * Element has the same styles as in the commit
12136
12171
  * @private
12137
12172
  */
12138
12173
  function hasSameStyle(elm, rules) {
12139
- return Boolean(!jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isTag(elm, 'font') &&
12140
- jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isHTMLElement(elm) &&
12174
+ return Boolean(!jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isTag(elm, 'font') &&
12175
+ jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isHTMLElement(elm) &&
12141
12176
  Object.keys(rules).every(property => {
12142
- const value = (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_2__/* .css */ .A)(elm, property, true);
12177
+ const value = (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_3__/* .css */ .A)(elm, property, true);
12143
12178
  if (value === '' &&
12144
12179
  (rules[property] === '' || rules[property] == null)) {
12145
12180
  return true;
12146
12181
  }
12147
- return (!(0,jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_3__/* .isVoid */ .R)(value) &&
12182
+ return (!(0,jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_4__/* .isVoid */ .R)(value) &&
12148
12183
  value !== '' &&
12149
- !(0,jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_3__/* .isVoid */ .R)(rules[property]) &&
12150
- (0,jodit_core_helpers_normalize_normalize_css_value__WEBPACK_IMPORTED_MODULE_4__/* .normalizeCssValue */ .iy)(property, rules[property])
12184
+ !(0,jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_4__/* .isVoid */ .R)(rules[property]) &&
12185
+ (0,jodit_core_helpers_normalize_normalize_css_value__WEBPACK_IMPORTED_MODULE_5__/* .normalizeCssValue */ .iy)(property, rules[property])
12151
12186
  .toString()
12152
12187
  .toLowerCase() === value.toString().toLowerCase());
12153
12188
  }));
12154
12189
  }
12155
- const elm = document.createElement('div');
12156
- elm.style.color = 'red';
12157
- void 0;
12158
- void 0;
12159
- void 0;
12190
+ if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument) {
12191
+ const elm = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument.createElement('div');
12192
+ elm.style.color = 'red';
12193
+ void 0;
12194
+ void 0;
12195
+ void 0;
12196
+ }
12160
12197
  /**
12161
12198
  * Element has the similar styles keys
12162
12199
  */
12163
12200
  function hasSameStyleKeys(elm, rules) {
12164
- return Boolean(!jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isTag(elm, 'font') &&
12165
- jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isHTMLElement(elm) &&
12201
+ return Boolean(!jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isTag(elm, 'font') &&
12202
+ jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isHTMLElement(elm) &&
12166
12203
  Object.keys(rules).every(property => {
12167
- const value = (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_2__/* .css */ .A)(elm, property, true);
12204
+ const value = (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_3__/* .css */ .A)(elm, property, true);
12168
12205
  return value !== '';
12169
12206
  }));
12170
12207
  }
12171
- const elm2 = document.createElement('div');
12172
- elm2.style.color = 'red';
12173
- void 0;
12174
- void 0;
12175
- void 0;
12208
+ if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument) {
12209
+ const elm2 = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument.createElement('div');
12210
+ elm2.style.color = 'red';
12211
+ void 0;
12212
+ void 0;
12213
+ void 0;
12214
+ }
12176
12215
 
12177
12216
 
12178
12217
  /***/ }),
@@ -12553,16 +12592,17 @@ function wrapList(commitStyle, wrapper, jodit) {
12553
12592
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
12554
12593
  /* harmony export */ Y: function() { return /* binding */ toggleAttributes; }
12555
12594
  /* harmony export */ });
12556
- /* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
12557
- /* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
12558
- /* harmony import */ var jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(58588);
12559
- /* harmony import */ var jodit_core_helpers_normalize_normalize_css_value__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(43581);
12560
- /* harmony import */ var jodit_core_helpers_size_object_size__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(88455);
12561
- /* harmony import */ var jodit_core_helpers_string_kebab_case__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(18014);
12562
- /* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(71122);
12563
- /* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(4401);
12564
- /* harmony import */ var jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(49382);
12565
- /* harmony import */ var jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(43072);
12595
+ /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
12596
+ /* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23545);
12597
+ /* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(51431);
12598
+ /* harmony import */ var jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(58588);
12599
+ /* harmony import */ var jodit_core_helpers_normalize_normalize_css_value__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(43581);
12600
+ /* harmony import */ var jodit_core_helpers_size_object_size__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(88455);
12601
+ /* harmony import */ var jodit_core_helpers_string_kebab_case__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(18014);
12602
+ /* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(71122);
12603
+ /* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(4401);
12604
+ /* harmony import */ var jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(49382);
12605
+ /* harmony import */ var jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(43072);
12566
12606
  /*!
12567
12607
  * Jodit Editor (https://xdsoft.net/jodit/)
12568
12608
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -12578,6 +12618,7 @@ function wrapList(commitStyle, wrapper, jodit) {
12578
12618
 
12579
12619
 
12580
12620
 
12621
+
12581
12622
  const tak = 'toggleAttributes';
12582
12623
  /**
12583
12624
  * Toggles attributes
@@ -12589,7 +12630,7 @@ function toggleAttributes(commitStyle, elm, jodit, mode, dry = false) {
12589
12630
  }
12590
12631
  !dry && commitStyle.setApplied(elm, tak);
12591
12632
  const { attributes } = commitStyle.options;
12592
- if (attributes && (0,jodit_core_helpers_size_object_size__WEBPACK_IMPORTED_MODULE_3__/* .size */ .E)(attributes) > 0) {
12633
+ if (attributes && (0,jodit_core_helpers_size_object_size__WEBPACK_IMPORTED_MODULE_4__/* .size */ .E)(attributes) > 0) {
12593
12634
  Object.keys(attributes).forEach((key) => {
12594
12635
  const value = attributes[key];
12595
12636
  switch (key) {
@@ -12611,24 +12652,24 @@ function toggleAttributes(commitStyle, elm, jodit, mode, dry = false) {
12611
12652
  function toggleStyle(commitStyle, jodit, style, elm, dry, mode) {
12612
12653
  void 0;
12613
12654
  Object.keys(style).forEach((rule) => {
12614
- const inlineValue = elm.style.getPropertyValue((0,jodit_core_helpers_string_kebab_case__WEBPACK_IMPORTED_MODULE_6__/* .kebabCase */ .k)(rule));
12655
+ const inlineValue = elm.style.getPropertyValue((0,jodit_core_helpers_string_kebab_case__WEBPACK_IMPORTED_MODULE_7__/* .kebabCase */ .k)(rule));
12615
12656
  const newValue = style[rule];
12616
12657
  if (inlineValue === '' && newValue == null) {
12617
12658
  return;
12618
12659
  }
12619
12660
  if (getNativeCSSValue(jodit, elm, rule) ===
12620
- (0,jodit_core_helpers_normalize_normalize_css_value__WEBPACK_IMPORTED_MODULE_7__/* .normalizeCssValue */ .iy)(rule, newValue)) {
12661
+ (0,jodit_core_helpers_normalize_normalize_css_value__WEBPACK_IMPORTED_MODULE_8__/* .normalizeCssValue */ .iy)(rule, newValue)) {
12621
12662
  if (!inlineValue) {
12622
12663
  return;
12623
12664
  }
12624
- !dry && (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_8__/* .css */ .A)(elm, rule, null);
12625
- mode = jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_9__/* .UNSET */ .Ag;
12665
+ !dry && (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_9__/* .css */ .A)(elm, rule, null);
12666
+ mode = jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_10__/* .UNSET */ .Ag;
12626
12667
  mode = removeExtraStyleAttribute(commitStyle, elm, mode);
12627
12668
  return;
12628
12669
  }
12629
- mode = jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_9__/* .CHANGE */ .PL;
12670
+ mode = jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_10__/* .CHANGE */ .PL;
12630
12671
  if (!dry) {
12631
- (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_8__/* .css */ .A)(elm, rule, newValue);
12672
+ (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_9__/* .css */ .A)(elm, rule, newValue);
12632
12673
  mode = removeExtraStyleAttribute(commitStyle, elm, mode);
12633
12674
  }
12634
12675
  });
@@ -12636,19 +12677,19 @@ function toggleStyle(commitStyle, jodit, style, elm, dry, mode) {
12636
12677
  }
12637
12678
  function toggleClass(jodit, value, elm, mode, dry) {
12638
12679
  void 0;
12639
- const hook = jodit.e.fire.bind(jodit.e, `${jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_9__/* ._PREFIX */ .ar}AfterToggleAttribute`);
12680
+ const hook = jodit.e.fire.bind(jodit.e, `${jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_10__/* ._PREFIX */ .ar}AfterToggleAttribute`);
12640
12681
  if (elm.classList.contains(value.toString())) {
12641
- mode = jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_9__/* .UNSET */ .Ag;
12682
+ mode = jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_10__/* .UNSET */ .Ag;
12642
12683
  if (!dry) {
12643
12684
  elm.classList.remove(value);
12644
12685
  if (elm.classList.length === 0) {
12645
- (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_4__.attr)(elm, 'class', null);
12686
+ (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_5__.attr)(elm, 'class', null);
12646
12687
  hook(mode, elm, 'class', null);
12647
12688
  }
12648
12689
  }
12649
12690
  }
12650
12691
  else {
12651
- mode = jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_9__/* .CHANGE */ .PL;
12692
+ mode = jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_10__/* .CHANGE */ .PL;
12652
12693
  if (!dry) {
12653
12694
  elm.classList.add(value);
12654
12695
  hook(mode, elm, 'class', value);
@@ -12658,16 +12699,16 @@ function toggleClass(jodit, value, elm, mode, dry) {
12658
12699
  }
12659
12700
  function toggleAttribute(jodit, value, elm, key, dry, mode) {
12660
12701
  void 0;
12661
- const hook = jodit.e.fire.bind(jodit.e, `${jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_9__/* ._PREFIX */ .ar}AfterToggleAttribute`);
12662
- if ((0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_4__.attr)(elm, key) === value) {
12663
- !dry && (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_4__.attr)(elm, key, null);
12664
- mode = jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_9__/* .UNSET */ .Ag;
12702
+ const hook = jodit.e.fire.bind(jodit.e, `${jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_10__/* ._PREFIX */ .ar}AfterToggleAttribute`);
12703
+ if ((0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_5__.attr)(elm, key) === value) {
12704
+ !dry && (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_5__.attr)(elm, key, null);
12705
+ mode = jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_10__/* .UNSET */ .Ag;
12665
12706
  !dry && hook(mode, elm, key, value);
12666
12707
  return mode;
12667
12708
  }
12668
- mode = jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_9__/* .CHANGE */ .PL;
12709
+ mode = jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_10__/* .CHANGE */ .PL;
12669
12710
  if (!dry) {
12670
- (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_4__.attr)(elm, key, value);
12711
+ (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_5__.attr)(elm, key, value);
12671
12712
  hook(mode, elm, key, value);
12672
12713
  }
12673
12714
  return mode;
@@ -12677,11 +12718,11 @@ function toggleAttribute(jodit, value, elm, key, dry, mode) {
12677
12718
  * and if it is default, it removes the element itself
12678
12719
  */
12679
12720
  function removeExtraStyleAttribute(commitStyle, elm, mode) {
12680
- if (!(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_4__.attr)(elm, 'style')) {
12681
- (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_4__.attr)(elm, 'style', null);
12721
+ if (!(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_5__.attr)(elm, 'style')) {
12722
+ (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_5__.attr)(elm, 'style', null);
12682
12723
  if (elm.tagName.toLowerCase() === commitStyle.defaultTag) {
12683
- jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.unwrap(elm);
12684
- mode = jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_9__/* .UNWRAP */ .OJ;
12724
+ jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.unwrap(elm);
12725
+ mode = jodit_core_selection_style_constants__WEBPACK_IMPORTED_MODULE_10__/* .UNWRAP */ .OJ;
12685
12726
  }
12686
12727
  }
12687
12728
  return mode;
@@ -12690,12 +12731,12 @@ function removeExtraStyleAttribute(commitStyle, elm, mode) {
12690
12731
  * Creates an iframe into which elements will be inserted to test their default styles in the browser
12691
12732
  */
12692
12733
  function getShadowRoot(jodit) {
12693
- if ((0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_5__/* .dataBind */ .m)(jodit, 'shadowRoot') !== undefined) {
12694
- return (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_5__/* .dataBind */ .m)(jodit, 'shadowRoot');
12734
+ if ((0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_6__/* .dataBind */ .m)(jodit, 'shadowRoot') !== undefined) {
12735
+ return (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_6__/* .dataBind */ .m)(jodit, 'shadowRoot');
12695
12736
  }
12696
- const container = (0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .getContainer */ .My)(jodit);
12697
- const iframe = document.createElement('iframe');
12698
- (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_8__/* .css */ .A)(iframe, {
12737
+ const container = (0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(jodit);
12738
+ const iframe = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument.createElement('iframe');
12739
+ (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_9__/* .css */ .A)(iframe, {
12699
12740
  width: 0,
12700
12741
  height: 0,
12701
12742
  position: 'absolute',
@@ -12705,7 +12746,7 @@ function getShadowRoot(jodit) {
12705
12746
  container.appendChild(iframe);
12706
12747
  const doc = iframe.contentWindow?.document;
12707
12748
  const shadowRoot = !doc ? jodit.od.body : doc.body;
12708
- (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_5__/* .dataBind */ .m)(jodit, 'shadowRoot', shadowRoot);
12749
+ (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_6__/* .dataBind */ .m)(jodit, 'shadowRoot', shadowRoot);
12709
12750
  return shadowRoot;
12710
12751
  }
12711
12752
  /**
@@ -12716,8 +12757,8 @@ function getNativeCSSValue(jodit, elm, key) {
12716
12757
  newElm.style.cssText = elm.style.cssText;
12717
12758
  const root = getShadowRoot(jodit);
12718
12759
  root.appendChild(newElm);
12719
- const result = (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_8__/* .css */ .A)(newElm, key);
12720
- jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.safeRemove(newElm);
12760
+ const result = (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_9__/* .css */ .A)(newElm, key);
12761
+ jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.safeRemove(newElm);
12721
12762
  return result;
12722
12763
  }
12723
12764
 
@@ -14745,6 +14786,7 @@ let UIFileInput = class UIFileInput extends jodit_core_ui_form_inputs_input_inpu
14745
14786
  }
14746
14787
  createContainer(options) {
14747
14788
  this.button = new jodit_core_ui_button_button_button__WEBPACK_IMPORTED_MODULE_0__/* .UIButton */ .lD(this.j, {
14789
+ tooltip: options.tooltip,
14748
14790
  icon: {
14749
14791
  name: 'plus'
14750
14792
  }
@@ -15181,8 +15223,8 @@ __webpack_require__.r(__webpack_exports__);
15181
15223
  /* harmony export */ required: function() { return /* binding */ required; },
15182
15224
  /* harmony export */ url: function() { return /* binding */ url; }
15183
15225
  /* harmony export */ });
15184
- /* harmony import */ var jodit_core_helpers_checker_is_url__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(20858);
15185
- /* harmony import */ var jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22718);
15226
+ /* harmony import */ var jodit_core_helpers_checker_is_url__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(20858);
15227
+ /* harmony import */ var jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22718);
15186
15228
  /*!
15187
15229
  * Jodit Editor (https://xdsoft.net/jodit/)
15188
15230
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -15194,7 +15236,7 @@ __webpack_require__.r(__webpack_exports__);
15194
15236
  * Input is required
15195
15237
  */
15196
15238
  const required = function (input) {
15197
- if (!(0,jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_0__/* .trim */ .Bq)(input.value).length) {
15239
+ if (!(0,jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__/* .trim */ .Bq)(input.value).length) {
15198
15240
  input.error = 'Please fill out this field';
15199
15241
  return false;
15200
15242
  }
@@ -15204,7 +15246,7 @@ const required = function (input) {
15204
15246
  * Input value should be valid URL
15205
15247
  */
15206
15248
  const url = function (input) {
15207
- if (!(0,jodit_core_helpers_checker_is_url__WEBPACK_IMPORTED_MODULE_1__/* .isURL */ .m)((0,jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_0__/* .trim */ .Bq)(input.value))) {
15249
+ if (!(0,jodit_core_helpers_checker_is_url__WEBPACK_IMPORTED_MODULE_0__/* .isURL */ .m)((0,jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__/* .trim */ .Bq)(input.value))) {
15208
15250
  input.error = 'Please enter a web address';
15209
15251
  return false;
15210
15252
  }
@@ -17846,6 +17888,9 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
17846
17888
  }
17847
17889
  }
17848
17890
  catch (e) {
17891
+ if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.IS_PROD) {
17892
+ throw e;
17893
+ }
17849
17894
  this.destruct();
17850
17895
  throw e;
17851
17896
  }
@@ -19836,10 +19881,12 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.filebrowser
19836
19881
  jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.filebrowser = {
19837
19882
  upload: {
19838
19883
  icon: 'plus',
19884
+ tooltip: 'Upload file',
19839
19885
  isInput: true,
19840
19886
  isDisabled: (browser) => !browser.dataProvider.canI('FileUpload'),
19841
- getContent: (filebrowser) => {
19887
+ getContent: (filebrowser, btnInt) => {
19842
19888
  const btn = new jodit_core_ui_form_inputs_file_file__WEBPACK_IMPORTED_MODULE_2__/* .UIFileInput */ .n(filebrowser, {
19889
+ tooltip: btnInt.control.tooltip,
19843
19890
  onlyImages: filebrowser.state.onlyImages
19844
19891
  });
19845
19892
  filebrowser.e.fire('bindUploader.filebrowser', btn.container);
@@ -19848,6 +19895,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fil
19848
19895
  },
19849
19896
  remove: {
19850
19897
  icon: 'bin',
19898
+ tooltip: 'Remove file',
19851
19899
  isDisabled: (browser) => {
19852
19900
  return (!browser.state.activeElements.length ||
19853
19901
  !browser.dataProvider.canI('FileRemove'));
@@ -19857,11 +19905,13 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fil
19857
19905
  }
19858
19906
  },
19859
19907
  update: {
19908
+ tooltip: 'Update file list',
19860
19909
  exec: (editor) => {
19861
19910
  editor.e.fire('update.filebrowser');
19862
19911
  }
19863
19912
  },
19864
19913
  select: {
19914
+ tooltip: 'Select file',
19865
19915
  icon: 'check',
19866
19916
  isDisabled: (browser) => !browser.state.activeElements.length,
19867
19917
  exec: (editor) => {
@@ -19869,6 +19919,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fil
19869
19919
  }
19870
19920
  },
19871
19921
  edit: {
19922
+ tooltip: 'Edit image',
19872
19923
  icon: 'pencil',
19873
19924
  isDisabled: (browser) => {
19874
19925
  const selected = browser.state.activeElements;
@@ -19882,6 +19933,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fil
19882
19933
  }
19883
19934
  },
19884
19935
  tiles: {
19936
+ tooltip: 'Tiles view',
19885
19937
  icon: 'th',
19886
19938
  isActive: (filebrowser) => filebrowser.state.view === 'tiles',
19887
19939
  exec: (filebrowser) => {
@@ -19889,6 +19941,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fil
19889
19941
  }
19890
19942
  },
19891
19943
  list: {
19944
+ tooltip: 'List view',
19892
19945
  icon: 'th-list',
19893
19946
  isActive: (filebrowser) => filebrowser.state.view === 'list',
19894
19947
  exec: (filebrowser) => {
@@ -20302,7 +20355,6 @@ let DataProvider = class DataProvider {
20302
20355
  data: {}
20303
20356
  };
20304
20357
  }
20305
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
20306
20358
  const query = this.o[type];
20307
20359
  if (query.data === undefined) {
20308
20360
  query.data = {
@@ -20548,7 +20600,6 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
20548
20600
  get dataProvider() {
20549
20601
  return (0,_factories__WEBPACK_IMPORTED_MODULE_16__/* .makeDataProvider */ .S)(this, this.options);
20550
20602
  }
20551
- // eslint-disable-next-line no-unused-vars
20552
20603
  onSelect(callback) {
20553
20604
  return () => {
20554
20605
  if (this.state.activeElements.length) {
@@ -23061,7 +23112,6 @@ class Table extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewCom
23061
23112
  const selector = (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_5__.cssPath)(td);
23062
23113
  selector && selectors.push(selector);
23063
23114
  });
23064
- // eslint-disable-next-line no-prototype-builtins
23065
23115
  style.innerHTML = selectors.length
23066
23116
  ? selectors.join(',') +
23067
23117
  `{${this.jodit.options.table.selectionCellStyle}}`
@@ -26860,6 +26910,7 @@ function checkNotCollapsed(jodit) {
26860
26910
  * ```
26861
26911
  * @private
26862
26912
  */
26913
+ // eslint-disable-next-line complexity
26863
26914
  function checkRemoveChar(jodit, fakeNode, backspace, mode) {
26864
26915
  const step = backspace ? -1 : 1;
26865
26916
  const anotherSibling = jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.sibling(fakeNode, !backspace);
@@ -31656,6 +31707,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.iframeStyle
31656
31707
  '-ms-user-select: none' +
31657
31708
  '}';
31658
31709
  jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.iframeCSSLinks = [];
31710
+ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.iframeSandbox = null;
31659
31711
 
31660
31712
 
31661
31713
  /***/ }),
@@ -31732,6 +31784,9 @@ function iframe(editor) {
31732
31784
  iframe.setAttribute('allowtransparency', 'true');
31733
31785
  iframe.setAttribute('tabindex', opt.tabIndex.toString());
31734
31786
  iframe.setAttribute('frameborder', '0');
31787
+ if (opt.iframeSandbox != null) {
31788
+ iframe.setAttribute('sandbox', opt.iframeSandbox);
31789
+ }
31735
31790
  editor.workplace.appendChild(iframe);
31736
31791
  editor.iframe = iframe;
31737
31792
  const result = editor.e.fire('generateDocumentStructure.iframe', null, editor);
@@ -37508,13 +37563,13 @@ function generateCriticalCSS(jodit) {
37508
37563
  /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
37509
37564
  /* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(33465);
37510
37565
  /* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(51431);
37511
- /* harmony import */ var jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(54614);
37512
- /* harmony import */ var jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(85769);
37513
- /* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80004);
37514
- /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
37515
- /* harmony import */ var _lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(86134);
37516
- /* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(26899);
37517
- /* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_print_svg__WEBPACK_IMPORTED_MODULE_7__);
37566
+ /* harmony import */ var jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(54614);
37567
+ /* harmony import */ var jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(85769);
37568
+ /* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(80004);
37569
+ /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(91288);
37570
+ /* harmony import */ var _lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(86134);
37571
+ /* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(26899);
37572
+ /* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_print_svg__WEBPACK_IMPORTED_MODULE_8__);
37518
37573
  /*!
37519
37574
  * Jodit Editor (https://xdsoft.net/jodit/)
37520
37575
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -37529,8 +37584,8 @@ function generateCriticalCSS(jodit) {
37529
37584
 
37530
37585
 
37531
37586
 
37532
- jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (_print_svg__WEBPACK_IMPORTED_MODULE_7___default()));
37533
- jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.print = {
37587
+ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_5__/* .Icon */ .I.set('print', (_print_svg__WEBPACK_IMPORTED_MODULE_8___default()));
37588
+ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.print = {
37534
37589
  exec: (editor) => {
37535
37590
  const iframe = editor.create.element('iframe');
37536
37591
  Object.assign(iframe.style, {
@@ -37541,7 +37596,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.pri
37541
37596
  height: 0,
37542
37597
  border: 0
37543
37598
  });
37544
- (0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor, jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T).appendChild(iframe);
37599
+ (0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T).appendChild(iframe);
37545
37600
  const afterFinishPrint = () => {
37546
37601
  editor.e.off(editor.ow, 'mousemove', afterFinishPrint);
37547
37602
  jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.safeRemove(iframe);
@@ -37557,12 +37612,12 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.pri
37557
37612
  }
37558
37613
  else {
37559
37614
  myWindow.document.write('<!doctype html><html lang="' +
37560
- (0,jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__/* .defaultLanguage */ .e)(editor.o.language) +
37615
+ (0,jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_3__/* .defaultLanguage */ .e)(editor.o.language) +
37561
37616
  '"><head><title></title></head><style>' +
37562
- (0,_lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__/* .generateCriticalCSS */ .Y)(editor) +
37617
+ (0,_lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_7__/* .generateCriticalCSS */ .Y)(editor) +
37563
37618
  '</style><body></body></html>');
37564
37619
  myWindow.document.close();
37565
- (0,jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__/* .previewBox */ .u)(editor, undefined, 'px', myWindow.document.body);
37620
+ (0,jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_4__/* .previewBox */ .u)(editor, undefined, 'px', myWindow.document.body);
37566
37621
  }
37567
37622
  const style = myWindow.document.createElement('style');
37568
37623
  style.innerHTML = `@media print {
@@ -38638,10 +38693,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
38638
38693
  /***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
38639
38694
 
38640
38695
  "use strict";
38641
- /* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
38642
- /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
38643
- /* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98973);
38644
- /* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_search_svg__WEBPACK_IMPORTED_MODULE_2__);
38696
+ /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
38697
+ /* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
38698
+ /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
38699
+ /* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(98973);
38700
+ /* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_search_svg__WEBPACK_IMPORTED_MODULE_3__);
38645
38701
  /*!
38646
38702
  * Jodit Editor (https://xdsoft.net/jodit/)
38647
38703
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -38651,14 +38707,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
38651
38707
 
38652
38708
 
38653
38709
 
38654
- jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.useSearch = true;
38655
- jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.search = {
38710
+
38711
+ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.useSearch = true;
38712
+ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.search = {
38656
38713
  lazyIdleTimeout: 0,
38657
- // @ts-ignore Because Highlight is not defined in the types TS 5.3.3
38658
- useCustomHighlightAPI: typeof window.Highlight !== 'undefined'
38714
+ useCustomHighlightAPI: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow && typeof jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.Highlight !== 'undefined'
38659
38715
  };
38660
- jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (_search_svg__WEBPACK_IMPORTED_MODULE_2___default()));
38661
- jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.find = {
38716
+ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('search', (_search_svg__WEBPACK_IMPORTED_MODULE_3___default()));
38717
+ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.find = {
38662
38718
  tooltip: 'Find',
38663
38719
  icon: 'search',
38664
38720
  exec(jodit, _, { control }) {
@@ -38699,8 +38755,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.fin
38699
38755
  /* harmony export */ _B: function() { return /* binding */ highlightTextRanges; },
38700
38756
  /* harmony export */ zy: function() { return /* binding */ getSelectionWrappers; }
38701
38757
  /* harmony export */ });
38702
- /* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
38703
- /* harmony import */ var jodit_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(52989);
38758
+ /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
38759
+ /* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23545);
38760
+ /* harmony import */ var jodit_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(52989);
38704
38761
  /*!
38705
38762
  * Jodit Editor (https://xdsoft.net/jodit/)
38706
38763
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -38708,6 +38765,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.fin
38708
38765
  */
38709
38766
 
38710
38767
 
38768
+
38711
38769
  /**
38712
38770
  * @private
38713
38771
  */
@@ -38726,15 +38784,15 @@ function highlightTextRanges(jodit, rng, restRanges, ci, root) {
38726
38784
  const span = ci.element('span', {
38727
38785
  [TMP_ATTR]: true
38728
38786
  });
38729
- jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.markTemporary(span);
38787
+ jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.markTemporary(span);
38730
38788
  normalizeRanges(rng, restRanges, ci);
38731
38789
  let next = rng.startContainer;
38732
38790
  do {
38733
38791
  if (!next) {
38734
38792
  break;
38735
38793
  }
38736
- if (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isText(next) && !isSelectionWrapper(next.parentNode)) {
38737
- jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.wrap(next, span.cloneNode(), ci);
38794
+ if (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isText(next) && !isSelectionWrapper(next.parentNode)) {
38795
+ jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.wrap(next, span.cloneNode(), ci);
38738
38796
  }
38739
38797
  if (next === rng.endContainer) {
38740
38798
  break;
@@ -38753,13 +38811,13 @@ function highlightTextRanges(jodit, rng, restRanges, ci, root) {
38753
38811
  * @private
38754
38812
  */
38755
38813
  function getSelectionWrappers(root) {
38756
- return (0,jodit_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_1__.$$)(`[${TMP_ATTR}]`, root);
38814
+ return (0,jodit_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_2__.$$)(`[${TMP_ATTR}]`, root);
38757
38815
  }
38758
38816
  /**
38759
38817
  * @private
38760
38818
  */
38761
38819
  function clearSelectionWrappers(root) {
38762
- getSelectionWrappers(root).forEach(span => jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.unwrap(span));
38820
+ getSelectionWrappers(root).forEach(span => jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.unwrap(span));
38763
38821
  }
38764
38822
  /**
38765
38823
  * @private
@@ -38771,12 +38829,13 @@ function clearSelectionWrappersFromHTML(root) {
38771
38829
  * @private
38772
38830
  */
38773
38831
  function isSelectionWrapper(node) {
38774
- return jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isElement(node) && node.hasAttribute(TMP_ATTR);
38832
+ return jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isElement(node) && node.hasAttribute(TMP_ATTR);
38775
38833
  }
38776
38834
  function checkNativeSelectionMethod(jodit, rng, restRanges) {
38777
38835
  if (jodit.o.search.useCustomHighlightAPI &&
38778
38836
  // @ts-ignore Because Highlight is not defined in the types TS 5.3.3
38779
- typeof window.Highlight !== 'undefined') {
38837
+ jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow &&
38838
+ typeof jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.Highlight !== 'undefined') {
38780
38839
  const ranges = [rng, ...restRanges].map(rng => {
38781
38840
  const range = jodit.selection.createRange();
38782
38841
  range.setStart(rng.startContainer, rng.startOffset);
@@ -38800,7 +38859,7 @@ function normalizeRanges(rng, restRanges, ci) {
38800
38859
  if (rng.startOffset !== 0) {
38801
38860
  const text = ci.text(startText.substring(0, rng.startOffset));
38802
38861
  rng.startContainer.nodeValue = startText.substring(rng.startOffset);
38803
- jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.before(rng.startContainer, text);
38862
+ jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.before(rng.startContainer, text);
38804
38863
  if (rng.startContainer === rng.endContainer) {
38805
38864
  diff = rng.startOffset;
38806
38865
  rng.endOffset -= diff;
@@ -38811,7 +38870,7 @@ function normalizeRanges(rng, restRanges, ci) {
38811
38870
  if (rng.endOffset !== endText.length) {
38812
38871
  const text = ci.text(endText.substring(rng.endOffset));
38813
38872
  rng.endContainer.nodeValue = endText.substring(0, rng.endOffset);
38814
- jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.after(rng.endContainer, text);
38873
+ jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.after(rng.endContainer, text);
38815
38874
  for (const range of restRanges) {
38816
38875
  if (range.startContainer === rng.endContainer) {
38817
38876
  range.startContainer = text;
@@ -41682,6 +41741,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('spell
41682
41741
 
41683
41742
  jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.showCharsCounter = true;
41684
41743
  jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.countHTMLChars = false;
41744
+ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.countTextSpaces = false;
41685
41745
  jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.showWordsCounter = true;
41686
41746
 
41687
41747
 
@@ -41728,9 +41788,20 @@ class stat extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_3__/* .Plug
41728
41788
  this.calc = this.j.async.throttle(() => {
41729
41789
  const text = this.j.text;
41730
41790
  if (this.j.o.showCharsCounter && this.charCounter) {
41731
- const chars = this.j.o.countHTMLChars
41732
- ? this.j.value
41733
- : text.replace((0,jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.SPACE_REG_EXP)(), '');
41791
+ let chars;
41792
+ if (this.j.o.countHTMLChars) {
41793
+ chars = this.j.value;
41794
+ }
41795
+ else {
41796
+ if (this.j.o.countTextSpaces) {
41797
+ chars = text
41798
+ .replace((0,jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INVISIBLE_SPACE_REG_EXP)(), '')
41799
+ .replace(/[\r\n]/g, '');
41800
+ }
41801
+ else {
41802
+ chars = text.replace((0,jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.SPACE_REG_EXP)(), '');
41803
+ }
41804
+ }
41734
41805
  this.charCounter.textContent = this.j.i18n('Chars: %d', chars.length);
41735
41806
  }
41736
41807
  if (this.j.o.showWordsCounter && this.wordCounter) {
@@ -42364,8 +42435,9 @@ __webpack_require__.r(__webpack_exports__);
42364
42435
  /* harmony export */ pt_br: function() { return /* reexport module object */ _pt_br_js__WEBPACK_IMPORTED_MODULE_16__; },
42365
42436
  /* harmony export */ ru: function() { return /* reexport module object */ _ru_js__WEBPACK_IMPORTED_MODULE_17__; },
42366
42437
  /* harmony export */ tr: function() { return /* reexport module object */ _tr_js__WEBPACK_IMPORTED_MODULE_18__; },
42367
- /* harmony export */ zh_cn: function() { return /* reexport module object */ _zh_cn_js__WEBPACK_IMPORTED_MODULE_19__; },
42368
- /* harmony export */ zh_tw: function() { return /* reexport module object */ _zh_tw_js__WEBPACK_IMPORTED_MODULE_20__; }
42438
+ /* harmony export */ ua: function() { return /* reexport module object */ _ua_js__WEBPACK_IMPORTED_MODULE_19__; },
42439
+ /* harmony export */ zh_cn: function() { return /* reexport module object */ _zh_cn_js__WEBPACK_IMPORTED_MODULE_20__; },
42440
+ /* harmony export */ zh_tw: function() { return /* reexport module object */ _zh_tw_js__WEBPACK_IMPORTED_MODULE_21__; }
42369
42441
  /* harmony export */ });
42370
42442
  /* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(52438);
42371
42443
  /* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_ar_js__WEBPACK_IMPORTED_MODULE_0__);
@@ -42405,10 +42477,12 @@ __webpack_require__.r(__webpack_exports__);
42405
42477
  /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_ru_js__WEBPACK_IMPORTED_MODULE_17__);
42406
42478
  /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(64331);
42407
42479
  /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_tr_js__WEBPACK_IMPORTED_MODULE_18__);
42408
- /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(13599);
42409
- /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_zh_cn_js__WEBPACK_IMPORTED_MODULE_19__);
42410
- /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(70871);
42411
- /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_zh_tw_js__WEBPACK_IMPORTED_MODULE_20__);
42480
+ /* harmony import */ var _ua_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(87983);
42481
+ /* harmony import */ var _ua_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_ua_js__WEBPACK_IMPORTED_MODULE_19__);
42482
+ /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(13599);
42483
+ /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_zh_cn_js__WEBPACK_IMPORTED_MODULE_20__);
42484
+ /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(70871);
42485
+ /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(_zh_tw_js__WEBPACK_IMPORTED_MODULE_21__);
42412
42486
  /*!
42413
42487
  * Jodit Editor (https://xdsoft.net/jodit/)
42414
42488
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -42436,6 +42510,7 @@ __webpack_require__.r(__webpack_exports__);
42436
42510
 
42437
42511
 
42438
42512
 
42513
+
42439
42514
 
42440
42515
 
42441
42516
  /***/ }),
@@ -42591,6 +42666,23 @@ module.exports = {
42591
42666
  };
42592
42667
 
42593
42668
 
42669
+ /***/ }),
42670
+
42671
+ /***/ 87983:
42672
+ /***/ (function(module) {
42673
+
42674
+ "use strict";
42675
+
42676
+ /*!
42677
+ * Jodit Editor (https://xdsoft.net/jodit/)
42678
+ * Released under MIT see LICENSE.txt in the project root for license information.
42679
+ * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
42680
+ */
42681
+ module.exports = {
42682
+ symbols: 'символ'
42683
+ };
42684
+
42685
+
42594
42686
  /***/ }),
42595
42687
 
42596
42688
  /***/ 13599:
@@ -44306,7 +44398,6 @@ function getTextLeftOfCursor(range) {
44306
44398
  * ```
44307
44399
  */
44308
44400
  function replaceTextLeftOfCursorAfterSpace(range, elm) {
44309
- // eslint-disable-next-line prefer-const
44310
44401
  let { startContainer, startOffset } = range;
44311
44402
  if (!jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isText(startContainer)) {
44312
44403
  startContainer = startContainer.childNodes[startOffset - 1];
@@ -44811,7 +44902,6 @@ function convertToList(elm) {
44811
44902
  return elm;
44812
44903
  }
44813
44904
  function moveUp(leaf) {
44814
- // eslint-disable-next-line no-constant-condition
44815
44905
  while (leaf) {
44816
44906
  const prev = leaf.previousElement;
44817
44907
  // Leaf after P
@@ -46189,7 +46279,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
46189
46279
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
46190
46280
  PERFORMANCE OF THIS SOFTWARE.
46191
46281
  ***************************************************************************** */
46192
- /* global Reflect, Promise, SuppressedError, Symbol */
46282
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
46193
46283
 
46194
46284
  var extendStatics = function(d, b) {
46195
46285
  extendStatics = Object.setPrototypeOf ||
@@ -46300,8 +46390,8 @@ function __awaiter(thisArg, _arguments, P, generator) {
46300
46390
  }
46301
46391
 
46302
46392
  function __generator(thisArg, body) {
46303
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
46304
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
46393
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
46394
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
46305
46395
  function verb(n) { return function (v) { return step([n, v]); }; }
46306
46396
  function step(op) {
46307
46397
  if (f) throw new TypeError("Generator is already executing.");
@@ -46405,8 +46495,9 @@ function __await(v) {
46405
46495
  function __asyncGenerator(thisArg, _arguments, generator) {
46406
46496
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
46407
46497
  var g = generator.apply(thisArg, _arguments || []), i, q = [];
46408
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
46409
- function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
46498
+ return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
46499
+ function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }
46500
+ function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }
46410
46501
  function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
46411
46502
  function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
46412
46503
  function fulfill(value) { resume("next", value); }
@@ -46472,16 +46563,18 @@ function __classPrivateFieldIn(state, receiver) {
46472
46563
  function __addDisposableResource(env, value, async) {
46473
46564
  if (value !== null && value !== void 0) {
46474
46565
  if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
46475
- var dispose;
46566
+ var dispose, inner;
46476
46567
  if (async) {
46477
- if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
46478
- dispose = value[Symbol.asyncDispose];
46568
+ if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
46569
+ dispose = value[Symbol.asyncDispose];
46479
46570
  }
46480
46571
  if (dispose === void 0) {
46481
- if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
46482
- dispose = value[Symbol.dispose];
46572
+ if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
46573
+ dispose = value[Symbol.dispose];
46574
+ if (async) inner = dispose;
46483
46575
  }
46484
46576
  if (typeof dispose !== "function") throw new TypeError("Object not disposable.");
46577
+ if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };
46485
46578
  env.stack.push({ value: value, dispose: dispose, async: async });
46486
46579
  }
46487
46580
  else if (async) {
@@ -46500,17 +46593,22 @@ function __disposeResources(env) {
46500
46593
  env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
46501
46594
  env.hasError = true;
46502
46595
  }
46596
+ var r, s = 0;
46503
46597
  function next() {
46504
- while (env.stack.length) {
46505
- var rec = env.stack.pop();
46598
+ while (r = env.stack.pop()) {
46506
46599
  try {
46507
- var result = rec.dispose && rec.dispose.call(rec.value);
46508
- if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
46600
+ if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);
46601
+ if (r.dispose) {
46602
+ var result = r.dispose.call(r.value);
46603
+ if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
46604
+ }
46605
+ else s |= 1;
46509
46606
  }
46510
46607
  catch (e) {
46511
- fail(e);
46608
+ fail(e);
46512
46609
  }
46513
46610
  }
46611
+ if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();
46514
46612
  if (env.hasError) throw env.error;
46515
46613
  }
46516
46614
  return next();
@@ -46637,11 +46735,88 @@ function __disposeResources(env) {
46637
46735
  /******/ };
46638
46736
  /******/ }();
46639
46737
  /******/
46738
+ /******/ /* webpack/runtime/ensure chunk */
46739
+ /******/ !function() {
46740
+ /******/ __webpack_require__.f = {};
46741
+ /******/ // This file contains only the entry chunk.
46742
+ /******/ // The chunk loading function for additional chunks
46743
+ /******/ __webpack_require__.e = function(chunkId) {
46744
+ /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {
46745
+ /******/ __webpack_require__.f[key](chunkId, promises);
46746
+ /******/ return promises;
46747
+ /******/ }, []));
46748
+ /******/ };
46749
+ /******/ }();
46750
+ /******/
46751
+ /******/ /* webpack/runtime/get javascript chunk filename */
46752
+ /******/ !function() {
46753
+ /******/ // This function allow to reference async chunks
46754
+ /******/ __webpack_require__.u = function(chunkId) {
46755
+ /******/ // return url for filenames based on template
46756
+ /******/ return "" + chunkId + ".js";
46757
+ /******/ };
46758
+ /******/ }();
46759
+ /******/
46760
+ /******/ /* webpack/runtime/get mini-css chunk filename */
46761
+ /******/ !function() {
46762
+ /******/ // This function allow to reference async chunks
46763
+ /******/ __webpack_require__.miniCssF = function(chunkId) {
46764
+ /******/ // return url for filenames based on template
46765
+ /******/ return undefined;
46766
+ /******/ };
46767
+ /******/ }();
46768
+ /******/
46640
46769
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
46641
46770
  /******/ !function() {
46642
46771
  /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
46643
46772
  /******/ }();
46644
46773
  /******/
46774
+ /******/ /* webpack/runtime/load script */
46775
+ /******/ !function() {
46776
+ /******/ var inProgress = {};
46777
+ /******/ var dataWebpackPrefix = "jodit-pro:";
46778
+ /******/ // loadScript function to load a script via script tag
46779
+ /******/ __webpack_require__.l = function(url, done, key, chunkId) {
46780
+ /******/ if(inProgress[url]) { inProgress[url].push(done); return; }
46781
+ /******/ var script, needAttach;
46782
+ /******/ if(key !== undefined) {
46783
+ /******/ var scripts = document.getElementsByTagName("script");
46784
+ /******/ for(var i = 0; i < scripts.length; i++) {
46785
+ /******/ var s = scripts[i];
46786
+ /******/ if(s.getAttribute("src") == url || s.getAttribute("data-webpack") == dataWebpackPrefix + key) { script = s; break; }
46787
+ /******/ }
46788
+ /******/ }
46789
+ /******/ if(!script) {
46790
+ /******/ needAttach = true;
46791
+ /******/ script = document.createElement('script');
46792
+ /******/
46793
+ /******/ script.charset = 'utf-8';
46794
+ /******/ script.timeout = 120;
46795
+ /******/ if (__webpack_require__.nc) {
46796
+ /******/ script.setAttribute("nonce", __webpack_require__.nc);
46797
+ /******/ }
46798
+ /******/ script.setAttribute("data-webpack", dataWebpackPrefix + key);
46799
+ /******/
46800
+ /******/ script.src = url;
46801
+ /******/ }
46802
+ /******/ inProgress[url] = [done];
46803
+ /******/ var onScriptComplete = function(prev, event) {
46804
+ /******/ // avoid mem leaks in IE.
46805
+ /******/ script.onerror = script.onload = null;
46806
+ /******/ clearTimeout(timeout);
46807
+ /******/ var doneFns = inProgress[url];
46808
+ /******/ delete inProgress[url];
46809
+ /******/ script.parentNode && script.parentNode.removeChild(script);
46810
+ /******/ doneFns && doneFns.forEach(function(fn) { return fn(event); });
46811
+ /******/ if(prev) return prev(event);
46812
+ /******/ }
46813
+ /******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
46814
+ /******/ script.onerror = onScriptComplete.bind(null, script.onerror);
46815
+ /******/ script.onload = onScriptComplete.bind(null, script.onload);
46816
+ /******/ needAttach && document.head.appendChild(script);
46817
+ /******/ };
46818
+ /******/ }();
46819
+ /******/
46645
46820
  /******/ /* webpack/runtime/make namespace object */
46646
46821
  /******/ !function() {
46647
46822
  /******/ // define __esModule on exports
@@ -46653,6 +46828,11 @@ function __disposeResources(env) {
46653
46828
  /******/ };
46654
46829
  /******/ }();
46655
46830
  /******/
46831
+ /******/ /* webpack/runtime/publicPath */
46832
+ /******/ !function() {
46833
+ /******/ __webpack_require__.p = "/build/";
46834
+ /******/ }();
46835
+ /******/
46656
46836
  /******/ /* webpack/runtime/jsonp chunk loading */
46657
46837
  /******/ !function() {
46658
46838
  /******/ // no baseURI
@@ -46664,7 +46844,44 @@ function __disposeResources(env) {
46664
46844
  /******/ 521: 0
46665
46845
  /******/ };
46666
46846
  /******/
46667
- /******/ // no chunk on demand loading
46847
+ /******/ __webpack_require__.f.j = function(chunkId, promises) {
46848
+ /******/ // JSONP chunk loading for javascript
46849
+ /******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
46850
+ /******/ if(installedChunkData !== 0) { // 0 means "already installed".
46851
+ /******/
46852
+ /******/ // a Promise means "currently loading".
46853
+ /******/ if(installedChunkData) {
46854
+ /******/ promises.push(installedChunkData[2]);
46855
+ /******/ } else {
46856
+ /******/ if(true) { // all chunks have JS
46857
+ /******/ // setup Promise in chunk cache
46858
+ /******/ var promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });
46859
+ /******/ promises.push(installedChunkData[2] = promise);
46860
+ /******/
46861
+ /******/ // start chunk loading
46862
+ /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
46863
+ /******/ // create error before stack unwound to get useful stacktrace later
46864
+ /******/ var error = new Error();
46865
+ /******/ var loadingEnded = function(event) {
46866
+ /******/ if(__webpack_require__.o(installedChunks, chunkId)) {
46867
+ /******/ installedChunkData = installedChunks[chunkId];
46868
+ /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined;
46869
+ /******/ if(installedChunkData) {
46870
+ /******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
46871
+ /******/ var realSrc = event && event.target && event.target.src;
46872
+ /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
46873
+ /******/ error.name = 'ChunkLoadError';
46874
+ /******/ error.type = errorType;
46875
+ /******/ error.request = realSrc;
46876
+ /******/ installedChunkData[1](error);
46877
+ /******/ }
46878
+ /******/ }
46879
+ /******/ };
46880
+ /******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
46881
+ /******/ }
46882
+ /******/ }
46883
+ /******/ }
46884
+ /******/ };
46668
46885
  /******/
46669
46886
  /******/ // no prefetching
46670
46887
  /******/