jodit 4.0.5 → 4.0.13

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 (133) hide show
  1. package/CHANGELOG.md +15 -5
  2. package/es2015/jodit.css +19 -19
  3. package/es2015/jodit.fat.min.css +1 -1
  4. package/es2015/jodit.fat.min.js +2 -2
  5. package/es2015/jodit.js +633 -529
  6. package/es2015/jodit.min.css +1 -1
  7. package/es2015/jodit.min.js +2 -2
  8. package/es2015/plugins/debug/debug.js +1 -1
  9. package/es2015/plugins/debug/debug.min.js +1 -1
  10. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  11. package/es2015/plugins/speech-recognize/speech-recognize.js +72 -46
  12. package/es2015/plugins/speech-recognize/speech-recognize.min.js +2 -2
  13. package/es2018/jodit.css +19 -19
  14. package/es2018/jodit.fat.min.css +1 -1
  15. package/es2018/jodit.fat.min.js +2 -2
  16. package/es2018/jodit.js +633 -529
  17. package/es2018/jodit.min.css +1 -1
  18. package/es2018/jodit.min.js +2 -2
  19. package/es2018/plugins/debug/debug.js +1 -1
  20. package/es2018/plugins/debug/debug.min.js +1 -1
  21. package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
  22. package/es2018/plugins/speech-recognize/speech-recognize.js +72 -46
  23. package/es2018/plugins/speech-recognize/speech-recognize.min.js +2 -2
  24. package/es2021/jodit.css +19 -19
  25. package/es2021/jodit.fat.min.css +1 -1
  26. package/es2021/jodit.fat.min.js +2 -2
  27. package/es2021/jodit.js +632 -528
  28. package/es2021/jodit.min.css +1 -1
  29. package/es2021/jodit.min.js +2 -2
  30. package/es2021/plugins/debug/debug.js +1 -1
  31. package/es2021/plugins/debug/debug.min.js +1 -1
  32. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  33. package/es2021/plugins/speech-recognize/speech-recognize.js +72 -46
  34. package/es2021/plugins/speech-recognize/speech-recognize.min.js +2 -2
  35. package/es2021.en/jodit.css +19 -19
  36. package/es2021.en/jodit.fat.min.css +1 -1
  37. package/es2021.en/jodit.fat.min.js +2 -2
  38. package/es2021.en/jodit.js +333 -313
  39. package/es2021.en/jodit.min.css +1 -1
  40. package/es2021.en/jodit.min.js +2 -2
  41. package/es2021.en/plugins/debug/debug.js +1 -1
  42. package/es2021.en/plugins/debug/debug.min.js +1 -1
  43. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  44. package/es2021.en/plugins/speech-recognize/speech-recognize.js +3 -1
  45. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +2 -2
  46. package/es5/jodit.css +25 -19
  47. package/es5/jodit.fat.min.css +1 -1
  48. package/es5/jodit.fat.min.js +2 -2
  49. package/es5/jodit.js +646 -542
  50. package/es5/jodit.min.css +3 -3
  51. package/es5/jodit.min.js +2 -2
  52. package/es5/plugins/debug/debug.js +1 -1
  53. package/es5/plugins/debug/debug.min.js +1 -1
  54. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  55. package/es5/plugins/speech-recognize/speech-recognize.js +72 -46
  56. package/es5/plugins/speech-recognize/speech-recognize.min.js +2 -2
  57. package/esm/core/async/async.d.ts +1 -1
  58. package/esm/core/async/async.js +2 -2
  59. package/esm/core/constants.js +1 -1
  60. package/esm/core/create/create.d.ts +1 -1
  61. package/esm/core/helpers/utils/append-script.d.ts +1 -5
  62. package/esm/core/helpers/utils/append-script.js +13 -28
  63. package/esm/core/plugin/helpers/load.d.ts +1 -1
  64. package/esm/core/plugin/helpers/load.js +2 -2
  65. package/esm/core/plugin/plugin-system.js +5 -5
  66. package/esm/core/plugin/plugin.js +5 -1
  67. package/esm/core/ui/popup/popup.js +1 -0
  68. package/esm/core/view/view-with-toolbar.js +4 -1
  69. package/esm/langs/fi.d.ts +218 -0
  70. package/esm/langs/fi.js +231 -0
  71. package/esm/languages.js +2 -0
  72. package/esm/plugins/add-new-line/add-new-line.d.ts +14 -14
  73. package/esm/plugins/add-new-line/add-new-line.js +76 -73
  74. package/esm/plugins/copy-format/langs/fi.d.ts +4 -0
  75. package/esm/plugins/copy-format/langs/fi.js +9 -0
  76. package/esm/plugins/copy-format/langs/index.d.ts +2 -1
  77. package/esm/plugins/copy-format/langs/index.js +2 -1
  78. package/esm/plugins/line-height/langs/fi.d.ts +4 -0
  79. package/esm/plugins/line-height/langs/fi.js +9 -0
  80. package/esm/plugins/line-height/langs/index.d.ts +2 -1
  81. package/esm/plugins/line-height/langs/index.js +2 -1
  82. package/esm/plugins/resizer/resizer.d.ts +2 -2
  83. package/esm/plugins/resizer/resizer.js +12 -13
  84. package/esm/plugins/search/config.d.ts +5 -0
  85. package/esm/plugins/search/config.js +3 -1
  86. package/esm/plugins/search/helpers/{wrap-ranges-texts-in-tmp-span.d.ts → highlight-text-ranges.d.ts} +2 -2
  87. package/esm/plugins/search/helpers/{wrap-ranges-texts-in-tmp-span.js → highlight-text-ranges.js} +19 -1
  88. package/esm/plugins/search/helpers/index.d.ts +1 -1
  89. package/esm/plugins/search/helpers/index.js +1 -1
  90. package/esm/plugins/search/search.d.ts +1 -1
  91. package/esm/plugins/search/search.js +4 -4
  92. package/esm/plugins/source/source.js +1 -1
  93. package/esm/plugins/speech-recognize/langs/fi.d.ts +9 -0
  94. package/esm/plugins/speech-recognize/langs/fi.js +14 -0
  95. package/esm/plugins/speech-recognize/langs/index.d.ts +2 -1
  96. package/esm/plugins/speech-recognize/langs/index.js +2 -1
  97. package/esm/plugins/spellcheck/langs/fi.d.ts +1 -0
  98. package/esm/plugins/spellcheck/langs/fi.js +9 -0
  99. package/esm/plugins/spellcheck/langs/index.d.ts +2 -1
  100. package/esm/plugins/spellcheck/langs/index.js +2 -1
  101. package/esm/plugins/symbols/langs/fi.d.ts +1 -0
  102. package/esm/plugins/symbols/langs/fi.js +9 -0
  103. package/esm/plugins/symbols/langs/index.d.ts +2 -1
  104. package/esm/plugins/symbols/langs/index.js +2 -1
  105. package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.d.ts +1 -1
  106. package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.js +70 -73
  107. package/esm/tsconfig.json +1 -1
  108. package/esm/types/create.d.ts +1 -1
  109. package/package.json +1 -1
  110. package/types/core/async/async.d.ts +1 -1
  111. package/types/core/create/create.d.ts +1 -1
  112. package/types/core/helpers/utils/append-script.d.ts +1 -5
  113. package/types/core/plugin/helpers/load.d.ts +1 -1
  114. package/types/langs/fi.d.ts +218 -0
  115. package/types/plugins/add-new-line/add-new-line.d.ts +14 -14
  116. package/types/plugins/copy-format/langs/fi.d.ts +4 -0
  117. package/types/plugins/copy-format/langs/index.d.ts +2 -1
  118. package/types/plugins/line-height/langs/fi.d.ts +4 -0
  119. package/types/plugins/line-height/langs/index.d.ts +2 -1
  120. package/types/plugins/resizer/resizer.d.ts +2 -2
  121. package/types/plugins/search/config.d.ts +5 -0
  122. package/types/plugins/search/helpers/{wrap-ranges-texts-in-tmp-span.d.ts → highlight-text-ranges.d.ts} +2 -2
  123. package/types/plugins/search/helpers/index.d.ts +1 -1
  124. package/types/plugins/search/search.d.ts +1 -1
  125. package/types/plugins/speech-recognize/langs/fi.d.ts +9 -0
  126. package/types/plugins/speech-recognize/langs/index.d.ts +2 -1
  127. package/types/plugins/spellcheck/langs/fi.d.ts +1 -0
  128. package/types/plugins/spellcheck/langs/index.d.ts +2 -1
  129. package/types/plugins/symbols/langs/fi.d.ts +1 -0
  130. package/types/plugins/symbols/langs/index.d.ts +2 -1
  131. package/types/plugins/table-keyboard-navigation/table-keyboard-navigation.d.ts +1 -1
  132. package/types/tsconfig.json +1 -1
  133. package/types/types/create.d.ts +1 -1
package/es2015/jodit.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.0.5
4
+ * Version: v4.0.13
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1037,7 +1037,7 @@ class Async {
1037
1037
  });
1038
1038
  }, (_a = options === null || options === void 0 ? void 0 : options.timeout) !== null && _a !== void 0 ? _a : 1);
1039
1039
  });
1040
- this.cancelIdleCallbackNative = (_e = (_d = window['cancelIdleCallback']) === null || _d === void 0 ? void 0 : _d.bind(window)) !== null && _e !== void 0 ? _e : ((request) => {
1040
+ this.__cancelIdleCallbackNative = (_e = (_d = window['cancelIdleCallback']) === null || _d === void 0 ? void 0 : _d.bind(window)) !== null && _e !== void 0 ? _e : ((request) => {
1041
1041
  this.clearTimeout(request);
1042
1042
  });
1043
1043
  this.isDestructed = false;
@@ -1262,7 +1262,7 @@ class Async {
1262
1262
  }
1263
1263
  cancelIdleCallback(request) {
1264
1264
  this.requestsIdle.delete(request);
1265
- return this.cancelIdleCallbackNative(request);
1265
+ return this.__cancelIdleCallbackNative(request);
1266
1266
  }
1267
1267
  requestAnimationFrame(callback) {
1268
1268
  const request = requestAnimationFrame(callback);
@@ -1691,7 +1691,7 @@ __webpack_require__.r(__webpack_exports__);
1691
1691
  * Released under MIT see LICENSE.txt in the project root for license information.
1692
1692
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
1693
1693
  */
1694
- const APP_VERSION = "4.0.5";
1694
+ const APP_VERSION = "4.0.13";
1695
1695
  // prettier-ignore
1696
1696
  const ES = "es2015";
1697
1697
  const IS_ES_MODERN = true;
@@ -7162,13 +7162,11 @@ function alignElement(command, box) {
7162
7162
  /* harmony export */ GX: function() { return /* binding */ loadNextStyle; },
7163
7163
  /* harmony export */ JL: function() { return /* binding */ appendScriptAsync; },
7164
7164
  /* harmony export */ Nf: function() { return /* binding */ appendStyleAsync; },
7165
- /* harmony export */ uR: function() { return /* binding */ appendScript; },
7166
7165
  /* harmony export */ wY: function() { return /* binding */ loadNext; }
7167
7166
  /* harmony export */ });
7168
7167
  /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(97582);
7169
- /* harmony import */ var _complete_url__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(55313);
7170
- /* harmony import */ var jodit_core_helpers_checker_is_function__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(69099);
7171
- /* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2926);
7168
+ /* harmony import */ var _complete_url__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(55313);
7169
+ /* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2926);
7172
7170
  /*!
7173
7171
  * Jodit Editor (https://xdsoft.net/jodit/)
7174
7172
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -7177,7 +7175,6 @@ function alignElement(command, box) {
7177
7175
 
7178
7176
 
7179
7177
 
7180
-
7181
7178
  const alreadyLoadedList = new Map();
7182
7179
  const cacheLoaders = (loader) => {
7183
7180
  return (jodit, url) => (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__awaiter */ .mG)(void 0, void 0, void 0, function* () {
@@ -7189,44 +7186,30 @@ const cacheLoaders = (loader) => {
7189
7186
  return promise;
7190
7187
  });
7191
7188
  };
7192
- /**
7193
- * Append script in document and call callback function after download
7194
- */
7195
- const appendScript = (jodit, url, callback) => {
7196
- const script = jodit.c.element('script');
7197
- script.type = 'text/javascript';
7198
- script.async = true;
7199
- if ((0,jodit_core_helpers_checker_is_function__WEBPACK_IMPORTED_MODULE_1__/* .isFunction */ .m)(callback) && !jodit.isInDestruct) {
7200
- jodit.e.on(script, 'load', callback);
7201
- }
7202
- if (!script.src) {
7203
- script.src = (0,_complete_url__WEBPACK_IMPORTED_MODULE_2__/* .completeUrl */ .W)(url);
7204
- }
7205
- jodit.od.body.appendChild(script);
7206
- return {
7207
- callback,
7208
- element: script
7209
- };
7210
- };
7211
7189
  /**
7212
7190
  * Load script and return promise
7213
7191
  */
7214
7192
  const appendScriptAsync = cacheLoaders((jodit, url) => {
7215
- return new Promise((resolve, reject) => {
7193
+ return jodit.async.promise((resolve, reject) => {
7216
7194
  if (jodit.isInDestruct) {
7217
- return;
7195
+ return reject();
7218
7196
  }
7219
- const { element } = appendScript(jodit, url, resolve);
7220
- !jodit.isInDestruct && jodit.e.on(element, 'error', reject);
7197
+ const script = jodit.c.element('script', {
7198
+ type: 'text/javascript',
7199
+ async: true,
7200
+ src: (0,_complete_url__WEBPACK_IMPORTED_MODULE_1__/* .completeUrl */ .W)(url)
7201
+ });
7202
+ jodit.od.body.appendChild(script);
7203
+ jodit.e.on(script, 'error', reject).on(script, 'load', resolve);
7221
7204
  });
7222
7205
  });
7223
7206
  /**
7224
7207
  * Download CSS style script
7225
7208
  */
7226
7209
  const appendStyleAsync = cacheLoaders((jodit, url) => {
7227
- return new Promise((resolve, reject) => {
7210
+ return jodit.async.promise((resolve, reject) => {
7228
7211
  if (jodit.isInDestruct) {
7229
- return;
7212
+ return reject();
7230
7213
  }
7231
7214
  const link = jodit.c.element('link');
7232
7215
  link.rel = 'stylesheet';
@@ -7235,7 +7218,7 @@ const appendStyleAsync = cacheLoaders((jodit, url) => {
7235
7218
  const callback = () => resolve(link);
7236
7219
  !jodit.isInDestruct &&
7237
7220
  jodit.e.on(link, 'load', callback).on(link, 'error', reject);
7238
- link.href = (0,_complete_url__WEBPACK_IMPORTED_MODULE_2__/* .completeUrl */ .W)(url);
7221
+ link.href = (0,_complete_url__WEBPACK_IMPORTED_MODULE_1__/* .completeUrl */ .W)(url);
7239
7222
  if (jodit.o.shadowRoot) {
7240
7223
  jodit.o.shadowRoot.appendChild(link);
7241
7224
  }
@@ -7244,14 +7227,14 @@ const appendStyleAsync = cacheLoaders((jodit, url) => {
7244
7227
  }
7245
7228
  });
7246
7229
  });
7247
- const loadNext = (jodit, urls, i = 0) => {
7248
- if (!(0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_3__/* .isString */ .H)(urls[i])) {
7230
+ function loadNext(jodit, urls, i = 0) {
7231
+ if (!(0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__/* .isString */ .H)(urls[i])) {
7249
7232
  return Promise.resolve();
7250
7233
  }
7251
7234
  return appendScriptAsync(jodit, urls[i]).then(() => loadNext(jodit, urls, i + 1));
7252
- };
7235
+ }
7253
7236
  function loadNextStyle(jodit, urls, i = 0) {
7254
- if (!(0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_3__/* .isString */ .H)(urls[i])) {
7237
+ if (!(0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__/* .isString */ .H)(urls[i])) {
7255
7238
  return Promise.resolve();
7256
7239
  }
7257
7240
  return appendStyleAsync(jodit, urls[i]).then(() => loadNextStyle(jodit, urls, i + 1));
@@ -8175,7 +8158,6 @@ __webpack_require__.r(__webpack_exports__);
8175
8158
  /* harmony export */ OptionsError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.tW; },
8176
8159
  /* harmony export */ abort: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.JG; },
8177
8160
  /* harmony export */ alignElement: function() { return /* reexport safe */ _align__WEBPACK_IMPORTED_MODULE_0__.E3; },
8178
- /* harmony export */ appendScript: function() { return /* reexport safe */ _append_script__WEBPACK_IMPORTED_MODULE_2__.uR; },
8179
8161
  /* harmony export */ appendScriptAsync: function() { return /* reexport safe */ _append_script__WEBPACK_IMPORTED_MODULE_2__.JL; },
8180
8162
  /* harmony export */ appendStyleAsync: function() { return /* reexport safe */ _append_script__WEBPACK_IMPORTED_MODULE_2__.Nf; },
8181
8163
  /* harmony export */ attr: function() { return /* reexport safe */ _attr__WEBPACK_IMPORTED_MODULE_1__.L; },
@@ -8229,7 +8211,7 @@ __webpack_require__.r(__webpack_exports__);
8229
8211
  /* harmony import */ var _assert__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(52378);
8230
8212
  /* harmony import */ var _assert__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_assert__WEBPACK_IMPORTED_MODULE_3__);
8231
8213
  /* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
8232
- /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _assert__WEBPACK_IMPORTED_MODULE_3__) if(["default","alignElement","clearAlign","hAlignElement","attr","appendScript","appendScriptAsync","appendStyleAsync","loadNext","loadNextStyle"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = function(key) { return _assert__WEBPACK_IMPORTED_MODULE_3__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
8214
+ /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _assert__WEBPACK_IMPORTED_MODULE_3__) if(["default","alignElement","clearAlign","hAlignElement","attr","appendScriptAsync","appendStyleAsync","loadNext","loadNextStyle"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = function(key) { return _assert__WEBPACK_IMPORTED_MODULE_3__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
8233
8215
  /* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
8234
8216
  /* harmony import */ var _browser__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(67600);
8235
8217
  /* harmony import */ var _build_query__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36990);
@@ -9114,9 +9096,9 @@ function getFullUrl(jodit, name, js) {
9114
9096
  /**
9115
9097
  * @private
9116
9098
  */
9117
- function loadExtras(items, jodit, extrasList, callback) {
9099
+ function loadExtras(items, jodit, extraList, callback) {
9118
9100
  try {
9119
- const needLoadExtras = extrasList.filter(extra => !items.has((0,jodit_core_plugin_helpers_utils__WEBPACK_IMPORTED_MODULE_4__/* .normalizeName */ .B)(extra.name)));
9101
+ const needLoadExtras = extraList.filter(extra => !items.has((0,jodit_core_plugin_helpers_utils__WEBPACK_IMPORTED_MODULE_4__/* .normalizeName */ .B)(extra.name)));
9120
9102
  if (needLoadExtras.length) {
9121
9103
  load(jodit, needLoadExtras, callback);
9122
9104
  }
@@ -9314,7 +9296,7 @@ class PluginSystem {
9314
9296
  * Public method for async init all plugins
9315
9297
  */
9316
9298
  __init(jodit) {
9317
- const { extrasList, disableList, filter } = getSpecialLists(jodit);
9299
+ const { extraList, disableList, filter } = getSpecialLists(jodit);
9318
9300
  const doneList = new Map();
9319
9301
  const pluginsMap = {};
9320
9302
  const waitingList = new Set();
@@ -9353,8 +9335,8 @@ class PluginSystem {
9353
9335
  initPlugins();
9354
9336
  }
9355
9337
  };
9356
- if (!extrasList || !extrasList.length) {
9357
- (0,jodit_core_plugin_helpers_load__WEBPACK_IMPORTED_MODULE_3__/* .loadExtras */ .z)(this.__items, jodit, extrasList, initPlugins);
9338
+ if (extraList && extraList.length) {
9339
+ (0,jodit_core_plugin_helpers_load__WEBPACK_IMPORTED_MODULE_3__/* .loadExtras */ .z)(this.__items, jodit, extraList, initPlugins);
9358
9340
  }
9359
9341
  initPlugins();
9360
9342
  bindOnBeforeDestruct(jodit, pluginsMap);
@@ -9394,10 +9376,10 @@ function bindOnBeforeDestruct(jodit, plugins) {
9394
9376
  });
9395
9377
  }
9396
9378
  function getSpecialLists(jodit) {
9397
- const extrasList = jodit.o.extraPlugins.map(s => (0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_0__/* .isString */ .HD)(s) ? { name: s } : s);
9379
+ const extraList = jodit.o.extraPlugins.map(s => (0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_0__/* .isString */ .HD)(s) ? { name: s } : s);
9398
9380
  const disableList = new Set((0,jodit_core_helpers_array__WEBPACK_IMPORTED_MODULE_1__/* .splitArray */ .C1)(jodit.o.disablePlugins).map(jodit_core_plugin_helpers_utils__WEBPACK_IMPORTED_MODULE_7__/* .normalizeName */ .B));
9399
9381
  const filter = jodit.o.safeMode ? new Set(jodit.o.safePluginsList) : null;
9400
- return { extrasList, disableList, filter };
9382
+ return { extraList, disableList, filter };
9401
9383
  }
9402
9384
 
9403
9385
 
@@ -9456,7 +9438,11 @@ class Plugin extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewCo
9456
9438
  this.afterInit(this.jodit);
9457
9439
  }
9458
9440
  init(jodit) {
9459
- // empty
9441
+ if (this.jodit.isReady) {
9442
+ this.afterInit(this.jodit);
9443
+ this.__afterPluginSystemInit();
9444
+ this.jodit.e.fire('rebuildToolbar');
9445
+ }
9460
9446
  }
9461
9447
  __beforeDestruct() {
9462
9448
  var _a;
@@ -15253,6 +15239,7 @@ class Popup extends jodit_core_ui_group_group__WEBPACK_IMPORTED_MODULE_3__/* .UI
15253
15239
  */
15254
15240
  open(getBound, keepPosition = false, parentContainer) {
15255
15241
  (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.markOwner)(this.jodit, this.container);
15242
+ this.container.classList.add(`jodit_theme_${this.jodit.o.theme}`);
15256
15243
  this.__calculateZIndex();
15257
15244
  this.isOpened = true;
15258
15245
  this.__addGlobalListeners();
@@ -15729,6 +15716,9 @@ class ViewWithToolbar extends jodit_core_view_view__WEBPACK_IMPORTED_MODULE_0__/
15729
15716
  super.destruct();
15730
15717
  }
15731
15718
  }
15719
+ (0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
15720
+ (0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.watch)(':rebuildToolbar')
15721
+ ], ViewWithToolbar.prototype, "buildToolbar", null);
15732
15722
  (0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
15733
15723
  jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
15734
15724
  ], ViewWithToolbar.prototype, "beforeToolbarBuild", null);
@@ -17318,28 +17308,29 @@ function addClassNames(className, elm) {
17318
17308
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
17319
17309
 
17320
17310
  "use strict";
17321
- /* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(63738);
17311
+ /* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(63738);
17322
17312
  /* harmony import */ var jodit_langs_en__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(90544);
17323
17313
  /* harmony import */ var jodit_langs_ar__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91928);
17324
17314
  /* harmony import */ var jodit_langs_cs_cz__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(81958);
17325
17315
  /* harmony import */ var jodit_langs_de__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(77143);
17326
17316
  /* harmony import */ var jodit_langs_es__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(88347);
17327
- /* harmony import */ var jodit_langs_fr__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(12414);
17328
- /* harmony import */ var jodit_langs_he__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(65681);
17329
- /* harmony import */ var jodit_langs_hu__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(23664);
17330
- /* harmony import */ var jodit_langs_id__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(80009);
17331
- /* harmony import */ var jodit_langs_it__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(94174);
17332
- /* harmony import */ var jodit_langs_ja__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(39356);
17333
- /* harmony import */ var jodit_langs_ko__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(52347);
17334
- /* harmony import */ var jodit_langs_mn__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(8172);
17335
- /* harmony import */ var jodit_langs_nl__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(66604);
17336
- /* harmony import */ var jodit_langs_pl__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(79940);
17337
- /* harmony import */ var jodit_langs_pt_br__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(6412);
17338
- /* harmony import */ var jodit_langs_ru__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(54439);
17339
- /* harmony import */ var jodit_langs_tr__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(51344);
17340
- /* harmony import */ var jodit_langs_zh_cn__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(2308);
17341
- /* harmony import */ var jodit_langs_zh_tw__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(51597);
17342
- /* harmony import */ var jodit_langs_keys__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(75125);
17317
+ /* harmony import */ var jodit_langs_fi__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(13148);
17318
+ /* harmony import */ var jodit_langs_fr__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(12414);
17319
+ /* harmony import */ var jodit_langs_he__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(65681);
17320
+ /* harmony import */ var jodit_langs_hu__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(23664);
17321
+ /* harmony import */ var jodit_langs_id__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(80009);
17322
+ /* harmony import */ var jodit_langs_it__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(94174);
17323
+ /* harmony import */ var jodit_langs_ja__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(39356);
17324
+ /* harmony import */ var jodit_langs_ko__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(52347);
17325
+ /* harmony import */ var jodit_langs_mn__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(8172);
17326
+ /* harmony import */ var jodit_langs_nl__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(66604);
17327
+ /* harmony import */ var jodit_langs_pl__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(79940);
17328
+ /* harmony import */ var jodit_langs_pt_br__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(6412);
17329
+ /* harmony import */ var jodit_langs_ru__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(54439);
17330
+ /* harmony import */ var jodit_langs_tr__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(51344);
17331
+ /* harmony import */ var jodit_langs_zh_cn__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(2308);
17332
+ /* harmony import */ var jodit_langs_zh_tw__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(51597);
17333
+ /* harmony import */ var jodit_langs_keys__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(75125);
17343
17334
  /*!
17344
17335
  * Jodit Editor (https://xdsoft.net/jodit/)
17345
17336
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -17365,6 +17356,7 @@ function addClassNames(className, elm) {
17365
17356
 
17366
17357
 
17367
17358
 
17359
+
17368
17360
 
17369
17361
 
17370
17362
  let exp = {};
@@ -17374,32 +17366,33 @@ exp = {
17374
17366
  de: jodit_langs_de__WEBPACK_IMPORTED_MODULE_3__,
17375
17367
  en: jodit_langs_en__WEBPACK_IMPORTED_MODULE_0__,
17376
17368
  es: jodit_langs_es__WEBPACK_IMPORTED_MODULE_4__,
17377
- fr: jodit_langs_fr__WEBPACK_IMPORTED_MODULE_5__,
17378
- he: jodit_langs_he__WEBPACK_IMPORTED_MODULE_6__,
17379
- hu: jodit_langs_hu__WEBPACK_IMPORTED_MODULE_7__,
17380
- id: jodit_langs_id__WEBPACK_IMPORTED_MODULE_8__,
17381
- it: jodit_langs_it__WEBPACK_IMPORTED_MODULE_9__,
17382
- ja: jodit_langs_ja__WEBPACK_IMPORTED_MODULE_10__,
17383
- ko: jodit_langs_ko__WEBPACK_IMPORTED_MODULE_11__,
17384
- mn: jodit_langs_mn__WEBPACK_IMPORTED_MODULE_12__,
17385
- nl: jodit_langs_nl__WEBPACK_IMPORTED_MODULE_13__,
17386
- pl: jodit_langs_pl__WEBPACK_IMPORTED_MODULE_14__,
17387
- pt_br: jodit_langs_pt_br__WEBPACK_IMPORTED_MODULE_15__,
17388
- ru: jodit_langs_ru__WEBPACK_IMPORTED_MODULE_16__,
17389
- tr: jodit_langs_tr__WEBPACK_IMPORTED_MODULE_17__,
17390
- zh_cn: jodit_langs_zh_cn__WEBPACK_IMPORTED_MODULE_18__,
17391
- zh_tw: jodit_langs_zh_tw__WEBPACK_IMPORTED_MODULE_19__
17369
+ fi: jodit_langs_fi__WEBPACK_IMPORTED_MODULE_5__,
17370
+ fr: jodit_langs_fr__WEBPACK_IMPORTED_MODULE_6__,
17371
+ he: jodit_langs_he__WEBPACK_IMPORTED_MODULE_7__,
17372
+ hu: jodit_langs_hu__WEBPACK_IMPORTED_MODULE_8__,
17373
+ id: jodit_langs_id__WEBPACK_IMPORTED_MODULE_9__,
17374
+ it: jodit_langs_it__WEBPACK_IMPORTED_MODULE_10__,
17375
+ ja: jodit_langs_ja__WEBPACK_IMPORTED_MODULE_11__,
17376
+ ko: jodit_langs_ko__WEBPACK_IMPORTED_MODULE_12__,
17377
+ mn: jodit_langs_mn__WEBPACK_IMPORTED_MODULE_13__,
17378
+ nl: jodit_langs_nl__WEBPACK_IMPORTED_MODULE_14__,
17379
+ pl: jodit_langs_pl__WEBPACK_IMPORTED_MODULE_15__,
17380
+ pt_br: jodit_langs_pt_br__WEBPACK_IMPORTED_MODULE_16__,
17381
+ ru: jodit_langs_ru__WEBPACK_IMPORTED_MODULE_17__,
17382
+ tr: jodit_langs_tr__WEBPACK_IMPORTED_MODULE_18__,
17383
+ zh_cn: jodit_langs_zh_cn__WEBPACK_IMPORTED_MODULE_19__,
17384
+ zh_tw: jodit_langs_zh_tw__WEBPACK_IMPORTED_MODULE_20__
17392
17385
  };
17393
17386
  /* Unpack array to hash */
17394
17387
  const get = (value) => value ? value.default || value : {}, hashLang = {};
17395
- if ((0,jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_21__/* .isArray */ .k)(get(jodit_langs_keys__WEBPACK_IMPORTED_MODULE_20__))) {
17396
- get(jodit_langs_keys__WEBPACK_IMPORTED_MODULE_20__).forEach((key, index) => {
17388
+ if ((0,jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_22__/* .isArray */ .k)(get(jodit_langs_keys__WEBPACK_IMPORTED_MODULE_21__))) {
17389
+ get(jodit_langs_keys__WEBPACK_IMPORTED_MODULE_21__).forEach((key, index) => {
17397
17390
  hashLang[index] = key;
17398
17391
  });
17399
17392
  }
17400
17393
  Object.keys(exp).forEach((lang) => {
17401
17394
  const list = get(exp[lang]);
17402
- if ((0,jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_21__/* .isArray */ .k)(list)) {
17395
+ if ((0,jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_22__/* .isArray */ .k)(list)) {
17403
17396
  exp[lang] = {};
17404
17397
  list.forEach((value, index) => {
17405
17398
  exp[lang][hashLang[index]] = value;
@@ -24848,36 +24841,38 @@ const ns = 'addnewline';
24848
24841
  class addNewLine extends jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Plugin {
24849
24842
  constructor() {
24850
24843
  super(...arguments);
24851
- this.line = this.j.c.fromHTML(`<div role="button" tabindex="-1" title="${this.j.i18n('Break')}" class="jodit-add-new-line"><span>${jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Icon.get('enter')}</span></div>`);
24852
- this.isMatchedTag = (node) => Boolean(node &&
24844
+ this.__line = this.j.c.fromHTML(`<div role="button" tabindex="-1" title="${this.j.i18n('Break')}" class="jodit-add-new-line"><span>${jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Icon.get('enter')}</span></div>`);
24845
+ this.__isMatchedTag = (node) => Boolean(node &&
24853
24846
  this.j.o.addNewLineTagsTriggers.includes(node.nodeName.toLowerCase()));
24854
- this.preview = false;
24855
- this.lineInFocus = false;
24856
- this.isShown = false;
24857
- this.hideForce = () => {
24858
- if (!this.isShown) {
24847
+ this.__isBeforeContent = false;
24848
+ this.__lineInFocus = false;
24849
+ this.__isShown = false;
24850
+ this.__hideForce = () => {
24851
+ if (!this.__isShown) {
24859
24852
  return;
24860
24853
  }
24861
- this.isShown = false;
24862
- this.j.async.clearTimeout(this.timeout);
24863
- this.lineInFocus = false;
24864
- jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.safeRemove(this.line);
24865
- this.line.style.setProperty('--jd-offset-handle', '0');
24854
+ this.__isShown = false;
24855
+ this.j.async.clearTimeout(this.__timeout);
24856
+ this.__lineInFocus = false;
24857
+ jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.safeRemove(this.__line);
24858
+ this.__line.style.setProperty('--jd-anl-handle-offset', '0');
24866
24859
  };
24867
- this.canGetFocus = (elm) => {
24860
+ this.__canGetFocus = (elm) => {
24868
24861
  return (elm != null &&
24869
24862
  jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.isBlock(elm) &&
24870
24863
  !/^(img|table|iframe|hr)$/i.test(elm.nodeName));
24871
24864
  };
24872
- this.onClickLine = (e) => {
24865
+ this.__onClickLine = (e) => {
24873
24866
  const editor = this.j;
24874
24867
  const p = editor.createInside.element(editor.o.enter);
24875
- if (this.preview && this.current && this.current.parentNode) {
24876
- if (this.current === editor.editor) {
24868
+ if (this.__isBeforeContent &&
24869
+ this.__current &&
24870
+ this.__current.parentNode) {
24871
+ if (this.__current === editor.editor) {
24877
24872
  jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.prepend(editor.editor, p);
24878
24873
  }
24879
24874
  else {
24880
- this.current.parentNode.insertBefore(p, this.current);
24875
+ this.__current.parentNode.insertBefore(p, this.__current);
24881
24876
  }
24882
24877
  }
24883
24878
  else {
@@ -24886,30 +24881,32 @@ class addNewLine extends jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Plugin {
24886
24881
  editor.s.setCursorIn(p);
24887
24882
  (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.scrollIntoViewIfNeeded)(p, editor.editor, editor.ed);
24888
24883
  editor.synchronizeValues();
24889
- this.hideForce();
24884
+ this.__hideForce();
24890
24885
  e.preventDefault();
24891
24886
  };
24892
24887
  }
24893
- show() {
24894
- if (this.isShown || this.j.o.readonly || this.j.isLocked) {
24888
+ __show() {
24889
+ if (this.j.o.readonly || this.j.isLocked) {
24895
24890
  return;
24896
24891
  }
24897
- this.isShown = true;
24898
- this.j.async.clearTimeout(this.timeout);
24899
- this.line.classList.toggle('jodit-add-new-line_after', !this.preview);
24900
- this.j.container.appendChild(this.line);
24901
- this.line.style.width = this.j.container.clientWidth + 'px';
24892
+ this.j.async.clearTimeout(this.__timeout);
24893
+ if (this.__isShown) {
24894
+ return;
24895
+ }
24896
+ this.__isShown = true;
24897
+ this.j.container.appendChild(this.__line);
24898
+ this.__line.style.width = this.j.container.clientWidth + 'px';
24902
24899
  }
24903
24900
  onLock(isLocked) {
24904
- if (isLocked && this.isShown) {
24905
- this.hideForce();
24901
+ if (isLocked && this.__isShown) {
24902
+ this.__hideForce();
24906
24903
  }
24907
24904
  }
24908
- hide() {
24909
- if (!this.isShown || this.lineInFocus) {
24905
+ __hide() {
24906
+ if (!this.__isShown || this.__lineInFocus) {
24910
24907
  return;
24911
24908
  }
24912
- this.timeout = this.j.async.setTimeout(this.hideForce, {
24909
+ this.__timeout = this.j.async.setTimeout(this.__hideForce, {
24913
24910
  timeout: 500,
24914
24911
  label: 'add-new-line-hide'
24915
24912
  });
@@ -24919,30 +24916,30 @@ class addNewLine extends jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Plugin {
24919
24916
  return;
24920
24917
  }
24921
24918
  editor.e
24922
- .on(this.line, 'mousemove', (e) => {
24919
+ .on(this.__line, 'mousemove', (e) => {
24923
24920
  e.stopPropagation();
24924
24921
  })
24925
- .on(this.line, 'mousedown touchstart', this.onClickLine)
24926
- .on('change', this.hideForce)
24927
- .on(this.line, 'mouseenter', () => {
24928
- this.j.async.clearTimeout(this.timeout);
24929
- this.lineInFocus = true;
24922
+ .on(this.__line, 'mousedown touchstart', this.__onClickLine)
24923
+ .on('change', this.__hideForce)
24924
+ .on(this.__line, 'mouseenter', () => {
24925
+ this.j.async.clearTimeout(this.__timeout);
24926
+ this.__lineInFocus = true;
24930
24927
  })
24931
- .on(this.line, 'mouseleave', () => {
24932
- this.lineInFocus = false;
24928
+ .on(this.__line, 'mouseleave', () => {
24929
+ this.__lineInFocus = false;
24933
24930
  })
24934
- .on('changePlace', this.addEventListeners.bind(this));
24935
- this.addEventListeners();
24931
+ .on('changePlace', this.__addEventListeners.bind(this));
24932
+ this.__addEventListeners();
24936
24933
  }
24937
- addEventListeners() {
24934
+ __addEventListeners() {
24938
24935
  const editor = this.j;
24939
24936
  editor.e
24940
24937
  .off(editor.editor, '.' + ns)
24941
24938
  .off(editor.container, '.' + ns)
24942
- .on([editor.ow, editor.ew, editor.editor], 'scroll' + '.' + ns, this.hideForce)
24943
- .on(editor.editor, 'click' + '.' + ns, this.hide)
24944
- .on(editor.container, 'mouseleave' + '.' + ns, this.hide)
24945
- .on(editor.editor, 'mousemove' + '.' + ns, this.onMouseMove);
24939
+ .on([editor.ow, editor.ew, editor.editor], 'scroll' + '.' + ns, this.__hideForce)
24940
+ .on(editor.editor, 'click' + '.' + ns, this.__hide)
24941
+ .on(editor.container, 'mouseleave' + '.' + ns, this.__hide)
24942
+ .on(editor.editor, 'mousemove' + '.' + ns, this.__onMouseMove);
24946
24943
  }
24947
24944
  onDblClickEditor(e) {
24948
24945
  const editor = this.j;
@@ -24963,29 +24960,26 @@ class addNewLine extends jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Plugin {
24963
24960
  }
24964
24961
  editor.s.setCursorIn(p);
24965
24962
  editor.synchronizeValues();
24966
- this.hideForce();
24963
+ this.__hideForce();
24967
24964
  e.preventDefault();
24968
24965
  }
24969
24966
  }
24970
- onMouseMove(e) {
24967
+ __onMouseMove(e) {
24971
24968
  const editor = this.j;
24972
24969
  let currentElement = editor.ed.elementFromPoint(e.clientX, e.clientY);
24973
24970
  if (!jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.isHTMLElement(currentElement) ||
24974
- jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.isOrContains(this.line, currentElement)) {
24975
- return;
24976
- }
24977
- if (!jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.isOrContains(editor.editor, currentElement)) {
24971
+ !jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.isOrContains(editor.editor, currentElement)) {
24978
24972
  return;
24979
24973
  }
24980
24974
  if (editor.editor !== currentElement &&
24981
- !this.isMatchedTag(currentElement)) {
24982
- currentElement = jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.closest(currentElement, this.isMatchedTag, editor.editor);
24975
+ !this.__isMatchedTag(currentElement)) {
24976
+ currentElement = jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.closest(currentElement, this.__isMatchedTag, editor.editor);
24983
24977
  }
24984
24978
  if (!currentElement) {
24985
- this.hide();
24979
+ this.__hide();
24986
24980
  return;
24987
24981
  }
24988
- if (this.isMatchedTag(currentElement)) {
24982
+ if (this.__isMatchedTag(currentElement)) {
24989
24983
  const parentBox = jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.up(currentElement, jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.isBlock, editor.editor);
24990
24984
  if (parentBox && parentBox !== editor.editor) {
24991
24985
  currentElement = parentBox;
@@ -25002,30 +24996,32 @@ class addNewLine extends jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Plugin {
25002
24996
  const delta = this.j.o.addNewLineDeltaShow;
25003
24997
  if (Math.abs(clientY - pos.top) <= delta) {
25004
24998
  top = pos.top;
25005
- this.preview = true;
24999
+ this.__isBeforeContent = true;
25006
25000
  }
25007
- if (Math.abs(clientY - (pos.top + pos.height)) <= delta) {
25001
+ else if (Math.abs(clientY - (pos.top + pos.height)) <= delta) {
25008
25002
  top = pos.top + pos.height;
25009
- this.preview = false;
25003
+ this.__isBeforeContent = false;
25010
25004
  }
25005
+ const isEditor = editor.editor === currentElement;
25011
25006
  if (top !== false &&
25012
- ((editor.editor === currentElement && !this.preview) ||
25013
- !(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.call)(this.preview ? jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.prev : jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.next, currentElement, this.canGetFocus, editor.editor))) {
25014
- this.line.style.top = top + 'px';
25015
- this.current = currentElement;
25016
- this.show();
25017
- this.line.style.setProperty('--jd-offset-handle', clientX - pos.left - 10 + 'px');
25007
+ ((isEditor && !this.__isBeforeContent) ||
25008
+ (!isEditor &&
25009
+ !(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.call)(this.__isBeforeContent ? jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.prev : jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.next, currentElement, this.__canGetFocus, editor.editor)))) {
25010
+ this.__line.style.top = top + 'px';
25011
+ this.__current = currentElement;
25012
+ this.__show();
25013
+ this.__line.style.setProperty('--jd-anl-handle-offset', clientX - pos.left - 10 + 'px');
25018
25014
  }
25019
25015
  else {
25020
- this.current = false;
25021
- this.hide();
25016
+ this.__current = false;
25017
+ this.__hide();
25022
25018
  }
25023
25019
  }
25024
25020
  /** @override */
25025
25021
  beforeDestruct() {
25026
- this.j.async.clearTimeout(this.timeout);
25027
- this.j.e.off(this.line).off('changePlace', this.addEventListeners);
25028
- jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.safeRemove(this.line);
25022
+ this.j.async.clearTimeout(this.__timeout);
25023
+ this.j.e.off(this.__line).off('changePlace', this.__addEventListeners);
25024
+ jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.safeRemove(this.__line);
25029
25025
  this.j.e
25030
25026
  .off([this.j.ow, this.j.ew, this.j.editor], '.' + ns)
25031
25027
  .off(this.j.container, '.' + ns);
@@ -25036,13 +25032,13 @@ class addNewLine extends jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Plugin {
25036
25032
  ], addNewLine.prototype, "onLock", null);
25037
25033
  (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .gn)([
25038
25034
  jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
25039
- ], addNewLine.prototype, "hide", null);
25035
+ ], addNewLine.prototype, "__hide", null);
25040
25036
  (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .gn)([
25041
25037
  (0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)(':dblclick')
25042
25038
  ], addNewLine.prototype, "onDblClickEditor", null);
25043
25039
  (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .gn)([
25044
- (0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.debounce)(ctx => ctx.defaultTimeout * 5)
25045
- ], addNewLine.prototype, "onMouseMove", null);
25040
+ (0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.throttle)(ctx => ctx.defaultTimeout)
25041
+ ], addNewLine.prototype, "__onMouseMove", null);
25046
25042
  jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .pw.add('addNewLine', addNewLine);
25047
25043
 
25048
25044
 
@@ -27538,6 +27534,23 @@ module.exports = {
27538
27534
  };
27539
27535
 
27540
27536
 
27537
+ /***/ }),
27538
+
27539
+ /***/ 29709:
27540
+ /***/ (function(module) {
27541
+
27542
+ "use strict";
27543
+
27544
+ /*!
27545
+ * Jodit Editor (https://xdsoft.net/jodit/)
27546
+ * Released under MIT see LICENSE.txt in the project root for license information.
27547
+ * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
27548
+ */
27549
+ module.exports = {
27550
+ 'copy-format': 'Kopioi muotoilu'
27551
+ };
27552
+
27553
+
27541
27554
  /***/ }),
27542
27555
 
27543
27556
  /***/ 67888:
@@ -27619,21 +27632,22 @@ __webpack_require__.r(__webpack_exports__);
27619
27632
  /* harmony export */ de: function() { return /* reexport default from dynamic */ _de_js__WEBPACK_IMPORTED_MODULE_2___default.a; },
27620
27633
  /* harmony export */ es: function() { return /* reexport default from dynamic */ _es_js__WEBPACK_IMPORTED_MODULE_3___default.a; },
27621
27634
  /* harmony export */ fa: function() { return /* reexport default from dynamic */ _fa_js__WEBPACK_IMPORTED_MODULE_4___default.a; },
27622
- /* harmony export */ fr: function() { return /* reexport default from dynamic */ _fr_js__WEBPACK_IMPORTED_MODULE_5___default.a; },
27623
- /* harmony export */ he: function() { return /* reexport default from dynamic */ _he_js__WEBPACK_IMPORTED_MODULE_6___default.a; },
27624
- /* harmony export */ hu: function() { return /* reexport default from dynamic */ _hu_js__WEBPACK_IMPORTED_MODULE_7___default.a; },
27625
- /* harmony export */ id: function() { return /* reexport default from dynamic */ _id_js__WEBPACK_IMPORTED_MODULE_8___default.a; },
27626
- /* harmony export */ it: function() { return /* reexport default from dynamic */ _it_js__WEBPACK_IMPORTED_MODULE_9___default.a; },
27627
- /* harmony export */ ja: function() { return /* reexport default from dynamic */ _ja_js__WEBPACK_IMPORTED_MODULE_10___default.a; },
27628
- /* harmony export */ ko: function() { return /* reexport default from dynamic */ _ko_js__WEBPACK_IMPORTED_MODULE_11___default.a; },
27629
- /* harmony export */ mn: function() { return /* reexport default from dynamic */ _mn_js__WEBPACK_IMPORTED_MODULE_12___default.a; },
27630
- /* harmony export */ nl: function() { return /* reexport default from dynamic */ _nl_js__WEBPACK_IMPORTED_MODULE_13___default.a; },
27631
- /* harmony export */ pl: function() { return /* reexport default from dynamic */ _pl_js__WEBPACK_IMPORTED_MODULE_14___default.a; },
27632
- /* harmony export */ pt_br: function() { return /* reexport default from dynamic */ _pt_br_js__WEBPACK_IMPORTED_MODULE_15___default.a; },
27633
- /* harmony export */ ru: function() { return /* reexport default from dynamic */ _ru_js__WEBPACK_IMPORTED_MODULE_16___default.a; },
27634
- /* harmony export */ tr: function() { return /* reexport default from dynamic */ _tr_js__WEBPACK_IMPORTED_MODULE_17___default.a; },
27635
- /* harmony export */ zh_cn: function() { return /* reexport default from dynamic */ _zh_cn_js__WEBPACK_IMPORTED_MODULE_18___default.a; },
27636
- /* harmony export */ zh_tw: function() { return /* reexport default from dynamic */ _zh_tw_js__WEBPACK_IMPORTED_MODULE_19___default.a; }
27635
+ /* harmony export */ fi: function() { return /* reexport default from dynamic */ _fi_js__WEBPACK_IMPORTED_MODULE_5___default.a; },
27636
+ /* harmony export */ fr: function() { return /* reexport default from dynamic */ _fr_js__WEBPACK_IMPORTED_MODULE_6___default.a; },
27637
+ /* harmony export */ he: function() { return /* reexport default from dynamic */ _he_js__WEBPACK_IMPORTED_MODULE_7___default.a; },
27638
+ /* harmony export */ hu: function() { return /* reexport default from dynamic */ _hu_js__WEBPACK_IMPORTED_MODULE_8___default.a; },
27639
+ /* harmony export */ id: function() { return /* reexport default from dynamic */ _id_js__WEBPACK_IMPORTED_MODULE_9___default.a; },
27640
+ /* harmony export */ it: function() { return /* reexport default from dynamic */ _it_js__WEBPACK_IMPORTED_MODULE_10___default.a; },
27641
+ /* harmony export */ ja: function() { return /* reexport default from dynamic */ _ja_js__WEBPACK_IMPORTED_MODULE_11___default.a; },
27642
+ /* harmony export */ ko: function() { return /* reexport default from dynamic */ _ko_js__WEBPACK_IMPORTED_MODULE_12___default.a; },
27643
+ /* harmony export */ mn: function() { return /* reexport default from dynamic */ _mn_js__WEBPACK_IMPORTED_MODULE_13___default.a; },
27644
+ /* harmony export */ nl: function() { return /* reexport default from dynamic */ _nl_js__WEBPACK_IMPORTED_MODULE_14___default.a; },
27645
+ /* harmony export */ pl: function() { return /* reexport default from dynamic */ _pl_js__WEBPACK_IMPORTED_MODULE_15___default.a; },
27646
+ /* harmony export */ pt_br: function() { return /* reexport default from dynamic */ _pt_br_js__WEBPACK_IMPORTED_MODULE_16___default.a; },
27647
+ /* harmony export */ ru: function() { return /* reexport default from dynamic */ _ru_js__WEBPACK_IMPORTED_MODULE_17___default.a; },
27648
+ /* harmony export */ tr: function() { return /* reexport default from dynamic */ _tr_js__WEBPACK_IMPORTED_MODULE_18___default.a; },
27649
+ /* harmony export */ zh_cn: function() { return /* reexport default from dynamic */ _zh_cn_js__WEBPACK_IMPORTED_MODULE_19___default.a; },
27650
+ /* harmony export */ zh_tw: function() { return /* reexport default from dynamic */ _zh_tw_js__WEBPACK_IMPORTED_MODULE_20___default.a; }
27637
27651
  /* harmony export */ });
27638
27652
  /* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(35395);
27639
27653
  /* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_ar_js__WEBPACK_IMPORTED_MODULE_0__);
@@ -27645,36 +27659,38 @@ __webpack_require__.r(__webpack_exports__);
27645
27659
  /* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_es_js__WEBPACK_IMPORTED_MODULE_3__);
27646
27660
  /* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(26160);
27647
27661
  /* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_fa_js__WEBPACK_IMPORTED_MODULE_4__);
27648
- /* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(67888);
27649
- /* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_fr_js__WEBPACK_IMPORTED_MODULE_5__);
27650
- /* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(15437);
27651
- /* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_he_js__WEBPACK_IMPORTED_MODULE_6__);
27652
- /* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(71316);
27653
- /* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_hu_js__WEBPACK_IMPORTED_MODULE_7__);
27654
- /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(49137);
27655
- /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_id_js__WEBPACK_IMPORTED_MODULE_8__);
27656
- /* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(87229);
27657
- /* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_it_js__WEBPACK_IMPORTED_MODULE_9__);
27658
- /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(74235);
27659
- /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_ja_js__WEBPACK_IMPORTED_MODULE_10__);
27660
- /* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(98440);
27661
- /* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_ko_js__WEBPACK_IMPORTED_MODULE_11__);
27662
- /* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(5468);
27663
- /* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_mn_js__WEBPACK_IMPORTED_MODULE_12__);
27664
- /* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(21276);
27665
- /* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_nl_js__WEBPACK_IMPORTED_MODULE_13__);
27666
- /* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(76216);
27667
- /* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_pl_js__WEBPACK_IMPORTED_MODULE_14__);
27668
- /* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(30088);
27669
- /* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_pt_br_js__WEBPACK_IMPORTED_MODULE_15__);
27670
- /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(66950);
27671
- /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_ru_js__WEBPACK_IMPORTED_MODULE_16__);
27672
- /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(21263);
27673
- /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_tr_js__WEBPACK_IMPORTED_MODULE_17__);
27674
- /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(79511);
27675
- /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_zh_cn_js__WEBPACK_IMPORTED_MODULE_18__);
27676
- /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(12027);
27677
- /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_zh_tw_js__WEBPACK_IMPORTED_MODULE_19__);
27662
+ /* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(29709);
27663
+ /* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_fi_js__WEBPACK_IMPORTED_MODULE_5__);
27664
+ /* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(67888);
27665
+ /* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_fr_js__WEBPACK_IMPORTED_MODULE_6__);
27666
+ /* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(15437);
27667
+ /* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_he_js__WEBPACK_IMPORTED_MODULE_7__);
27668
+ /* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(71316);
27669
+ /* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_hu_js__WEBPACK_IMPORTED_MODULE_8__);
27670
+ /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(49137);
27671
+ /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_id_js__WEBPACK_IMPORTED_MODULE_9__);
27672
+ /* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(87229);
27673
+ /* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_it_js__WEBPACK_IMPORTED_MODULE_10__);
27674
+ /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(74235);
27675
+ /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_ja_js__WEBPACK_IMPORTED_MODULE_11__);
27676
+ /* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(98440);
27677
+ /* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_ko_js__WEBPACK_IMPORTED_MODULE_12__);
27678
+ /* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(5468);
27679
+ /* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_mn_js__WEBPACK_IMPORTED_MODULE_13__);
27680
+ /* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(21276);
27681
+ /* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_nl_js__WEBPACK_IMPORTED_MODULE_14__);
27682
+ /* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(76216);
27683
+ /* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_pl_js__WEBPACK_IMPORTED_MODULE_15__);
27684
+ /* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(30088);
27685
+ /* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_pt_br_js__WEBPACK_IMPORTED_MODULE_16__);
27686
+ /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(66950);
27687
+ /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_ru_js__WEBPACK_IMPORTED_MODULE_17__);
27688
+ /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(21263);
27689
+ /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_tr_js__WEBPACK_IMPORTED_MODULE_18__);
27690
+ /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(79511);
27691
+ /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_zh_cn_js__WEBPACK_IMPORTED_MODULE_19__);
27692
+ /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(12027);
27693
+ /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_zh_tw_js__WEBPACK_IMPORTED_MODULE_20__);
27678
27694
  /*!
27679
27695
  * Jodit Editor (https://xdsoft.net/jodit/)
27680
27696
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -27701,6 +27717,7 @@ __webpack_require__.r(__webpack_exports__);
27701
27717
 
27702
27718
 
27703
27719
 
27720
+
27704
27721
 
27705
27722
 
27706
27723
  /***/ }),
@@ -32755,6 +32772,23 @@ module.exports = {
32755
32772
  };
32756
32773
 
32757
32774
 
32775
+ /***/ }),
32776
+
32777
+ /***/ 6833:
32778
+ /***/ (function(module) {
32779
+
32780
+ "use strict";
32781
+
32782
+ /*!
32783
+ * Jodit Editor (https://xdsoft.net/jodit/)
32784
+ * Released under MIT see LICENSE.txt in the project root for license information.
32785
+ * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
32786
+ */
32787
+ module.exports = {
32788
+ 'Line height': 'Rivin korkeus'
32789
+ };
32790
+
32791
+
32758
32792
  /***/ }),
32759
32793
 
32760
32794
  /***/ 75916:
@@ -32836,21 +32870,22 @@ __webpack_require__.r(__webpack_exports__);
32836
32870
  /* harmony export */ de: function() { return /* reexport module object */ _de_js__WEBPACK_IMPORTED_MODULE_2__; },
32837
32871
  /* harmony export */ es: function() { return /* reexport module object */ _es_js__WEBPACK_IMPORTED_MODULE_3__; },
32838
32872
  /* harmony export */ fa: function() { return /* reexport module object */ _fa_js__WEBPACK_IMPORTED_MODULE_4__; },
32839
- /* harmony export */ fr: function() { return /* reexport module object */ _fr_js__WEBPACK_IMPORTED_MODULE_5__; },
32840
- /* harmony export */ he: function() { return /* reexport module object */ _he_js__WEBPACK_IMPORTED_MODULE_6__; },
32841
- /* harmony export */ hu: function() { return /* reexport module object */ _hu_js__WEBPACK_IMPORTED_MODULE_7__; },
32842
- /* harmony export */ id: function() { return /* reexport module object */ _id_js__WEBPACK_IMPORTED_MODULE_8__; },
32843
- /* harmony export */ it: function() { return /* reexport module object */ _it_js__WEBPACK_IMPORTED_MODULE_9__; },
32844
- /* harmony export */ ja: function() { return /* reexport module object */ _ja_js__WEBPACK_IMPORTED_MODULE_10__; },
32845
- /* harmony export */ ko: function() { return /* reexport module object */ _ko_js__WEBPACK_IMPORTED_MODULE_11__; },
32846
- /* harmony export */ mn: function() { return /* reexport module object */ _mn_js__WEBPACK_IMPORTED_MODULE_12__; },
32847
- /* harmony export */ nl: function() { return /* reexport module object */ _nl_js__WEBPACK_IMPORTED_MODULE_13__; },
32848
- /* harmony export */ pl: function() { return /* reexport module object */ _pl_js__WEBPACK_IMPORTED_MODULE_14__; },
32849
- /* harmony export */ pt_br: function() { return /* reexport module object */ _pt_br_js__WEBPACK_IMPORTED_MODULE_15__; },
32850
- /* harmony export */ ru: function() { return /* reexport module object */ _ru_js__WEBPACK_IMPORTED_MODULE_16__; },
32851
- /* harmony export */ tr: function() { return /* reexport module object */ _tr_js__WEBPACK_IMPORTED_MODULE_17__; },
32852
- /* harmony export */ zh_cn: function() { return /* reexport module object */ _zh_cn_js__WEBPACK_IMPORTED_MODULE_18__; },
32853
- /* harmony export */ zh_tw: function() { return /* reexport module object */ _zh_tw_js__WEBPACK_IMPORTED_MODULE_19__; }
32873
+ /* harmony export */ fi: function() { return /* reexport module object */ _fi_js__WEBPACK_IMPORTED_MODULE_5__; },
32874
+ /* harmony export */ fr: function() { return /* reexport module object */ _fr_js__WEBPACK_IMPORTED_MODULE_6__; },
32875
+ /* harmony export */ he: function() { return /* reexport module object */ _he_js__WEBPACK_IMPORTED_MODULE_7__; },
32876
+ /* harmony export */ hu: function() { return /* reexport module object */ _hu_js__WEBPACK_IMPORTED_MODULE_8__; },
32877
+ /* harmony export */ id: function() { return /* reexport module object */ _id_js__WEBPACK_IMPORTED_MODULE_9__; },
32878
+ /* harmony export */ it: function() { return /* reexport module object */ _it_js__WEBPACK_IMPORTED_MODULE_10__; },
32879
+ /* harmony export */ ja: function() { return /* reexport module object */ _ja_js__WEBPACK_IMPORTED_MODULE_11__; },
32880
+ /* harmony export */ ko: function() { return /* reexport module object */ _ko_js__WEBPACK_IMPORTED_MODULE_12__; },
32881
+ /* harmony export */ mn: function() { return /* reexport module object */ _mn_js__WEBPACK_IMPORTED_MODULE_13__; },
32882
+ /* harmony export */ nl: function() { return /* reexport module object */ _nl_js__WEBPACK_IMPORTED_MODULE_14__; },
32883
+ /* harmony export */ pl: function() { return /* reexport module object */ _pl_js__WEBPACK_IMPORTED_MODULE_15__; },
32884
+ /* harmony export */ pt_br: function() { return /* reexport module object */ _pt_br_js__WEBPACK_IMPORTED_MODULE_16__; },
32885
+ /* harmony export */ ru: function() { return /* reexport module object */ _ru_js__WEBPACK_IMPORTED_MODULE_17__; },
32886
+ /* harmony export */ tr: function() { return /* reexport module object */ _tr_js__WEBPACK_IMPORTED_MODULE_18__; },
32887
+ /* harmony export */ zh_cn: function() { return /* reexport module object */ _zh_cn_js__WEBPACK_IMPORTED_MODULE_19__; },
32888
+ /* harmony export */ zh_tw: function() { return /* reexport module object */ _zh_tw_js__WEBPACK_IMPORTED_MODULE_20__; }
32854
32889
  /* harmony export */ });
32855
32890
  /* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24511);
32856
32891
  /* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_ar_js__WEBPACK_IMPORTED_MODULE_0__);
@@ -32862,36 +32897,38 @@ __webpack_require__.r(__webpack_exports__);
32862
32897
  /* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_es_js__WEBPACK_IMPORTED_MODULE_3__);
32863
32898
  /* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(44170);
32864
32899
  /* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_fa_js__WEBPACK_IMPORTED_MODULE_4__);
32865
- /* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(75916);
32866
- /* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_fr_js__WEBPACK_IMPORTED_MODULE_5__);
32867
- /* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(43353);
32868
- /* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_he_js__WEBPACK_IMPORTED_MODULE_6__);
32869
- /* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(36668);
32870
- /* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_hu_js__WEBPACK_IMPORTED_MODULE_7__);
32871
- /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(74881);
32872
- /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_id_js__WEBPACK_IMPORTED_MODULE_8__);
32873
- /* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(62585);
32874
- /* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_it_js__WEBPACK_IMPORTED_MODULE_9__);
32875
- /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(42150);
32876
- /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_ja_js__WEBPACK_IMPORTED_MODULE_10__);
32877
- /* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(15449);
32878
- /* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_ko_js__WEBPACK_IMPORTED_MODULE_11__);
32879
- /* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(16717);
32880
- /* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_mn_js__WEBPACK_IMPORTED_MODULE_12__);
32881
- /* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(45424);
32882
- /* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_nl_js__WEBPACK_IMPORTED_MODULE_13__);
32883
- /* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(11146);
32884
- /* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_pl_js__WEBPACK_IMPORTED_MODULE_14__);
32885
- /* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(36477);
32886
- /* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_pt_br_js__WEBPACK_IMPORTED_MODULE_15__);
32887
- /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(94675);
32888
- /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_ru_js__WEBPACK_IMPORTED_MODULE_16__);
32889
- /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(26129);
32890
- /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_tr_js__WEBPACK_IMPORTED_MODULE_17__);
32891
- /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(1692);
32892
- /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_zh_cn_js__WEBPACK_IMPORTED_MODULE_18__);
32893
- /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(1566);
32894
- /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_zh_tw_js__WEBPACK_IMPORTED_MODULE_19__);
32900
+ /* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(6833);
32901
+ /* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_fi_js__WEBPACK_IMPORTED_MODULE_5__);
32902
+ /* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(75916);
32903
+ /* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_fr_js__WEBPACK_IMPORTED_MODULE_6__);
32904
+ /* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(43353);
32905
+ /* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_he_js__WEBPACK_IMPORTED_MODULE_7__);
32906
+ /* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(36668);
32907
+ /* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_hu_js__WEBPACK_IMPORTED_MODULE_8__);
32908
+ /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(74881);
32909
+ /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_id_js__WEBPACK_IMPORTED_MODULE_9__);
32910
+ /* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(62585);
32911
+ /* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_it_js__WEBPACK_IMPORTED_MODULE_10__);
32912
+ /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(42150);
32913
+ /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_ja_js__WEBPACK_IMPORTED_MODULE_11__);
32914
+ /* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(15449);
32915
+ /* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_ko_js__WEBPACK_IMPORTED_MODULE_12__);
32916
+ /* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(16717);
32917
+ /* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_mn_js__WEBPACK_IMPORTED_MODULE_13__);
32918
+ /* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(45424);
32919
+ /* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_nl_js__WEBPACK_IMPORTED_MODULE_14__);
32920
+ /* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(11146);
32921
+ /* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_pl_js__WEBPACK_IMPORTED_MODULE_15__);
32922
+ /* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(36477);
32923
+ /* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_pt_br_js__WEBPACK_IMPORTED_MODULE_16__);
32924
+ /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(94675);
32925
+ /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_ru_js__WEBPACK_IMPORTED_MODULE_17__);
32926
+ /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(26129);
32927
+ /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_tr_js__WEBPACK_IMPORTED_MODULE_18__);
32928
+ /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(1692);
32929
+ /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_zh_cn_js__WEBPACK_IMPORTED_MODULE_19__);
32930
+ /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(1566);
32931
+ /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_zh_tw_js__WEBPACK_IMPORTED_MODULE_20__);
32895
32932
  /*!
32896
32933
  * Jodit Editor (https://xdsoft.net/jodit/)
32897
32934
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -32918,6 +32955,7 @@ __webpack_require__.r(__webpack_exports__);
32918
32955
 
32919
32956
 
32920
32957
 
32958
+
32921
32959
 
32922
32960
 
32923
32961
  /***/ }),
@@ -36035,11 +36073,9 @@ class resizer extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_3__/* .P
36035
36073
  if (rgx.test(data.value)) {
36036
36074
  data.value = data.value.replace(rgx, '$1');
36037
36075
  }
36038
- })
36039
- .on('hideResizer', this.hide)
36040
- .on('change afterInit afterSetMode', this.onChangeEditor);
36076
+ });
36041
36077
  this.addEventListeners();
36042
- this.onChangeEditor();
36078
+ this.__onChangeEditor();
36043
36079
  }
36044
36080
  /**
36045
36081
  * Click in the editor area
@@ -36049,7 +36085,7 @@ class resizer extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_3__/* .P
36049
36085
  const { editor, options: { allowResizeTags } } = this.j;
36050
36086
  while (node && node !== editor) {
36051
36087
  if (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isTag(node, allowResizeTags)) {
36052
- this.bind(node);
36088
+ this.__bind(node);
36053
36089
  this.onClickElement(node);
36054
36090
  return;
36055
36091
  }
@@ -36223,7 +36259,7 @@ class resizer extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_3__/* .P
36223
36259
  e.preventDefault();
36224
36260
  }
36225
36261
  }
36226
- onChangeEditor() {
36262
+ __onChangeEditor() {
36227
36263
  if (this.isShown) {
36228
36264
  if (!this.element || !this.element.parentNode) {
36229
36265
  this.hide();
@@ -36232,13 +36268,13 @@ class resizer extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_3__/* .P
36232
36268
  this.updateSize();
36233
36269
  }
36234
36270
  }
36235
- (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('iframe', this.j.editor).forEach(this.bind);
36271
+ (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('iframe', this.j.editor).forEach(this.__bind);
36236
36272
  }
36237
36273
  /**
36238
36274
  * Bind an edit element to element
36239
36275
  * @param element - The element that you want to add a function to resize
36240
36276
  */
36241
- bind(element) {
36277
+ __bind(element) {
36242
36278
  if (!jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isHTMLElement(element) ||
36243
36279
  !this.j.o.allowResizeTags.has(element.tagName.toLowerCase()) ||
36244
36280
  (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.dataBind)(element, keyBInd)) {
@@ -36370,13 +36406,14 @@ class resizer extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_3__/* .P
36370
36406
  jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.autobind
36371
36407
  ], resizer.prototype, "onClickOutside", null);
36372
36408
  (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
36373
- (0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.debounce)()
36374
- ], resizer.prototype, "onChangeEditor", null);
36409
+ (0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.watch)(':change')
36410
+ ], resizer.prototype, "__onChangeEditor", null);
36375
36411
  (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
36376
36412
  jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.autobind
36377
- ], resizer.prototype, "bind", null);
36413
+ ], resizer.prototype, "__bind", null);
36378
36414
  (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
36379
- jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.autobind
36415
+ jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.autobind,
36416
+ (0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.watch)(':hideResizer')
36380
36417
  ], resizer.prototype, "hide", null);
36381
36418
  jodit_core_global__WEBPACK_IMPORTED_MODULE_4__/* .pluginSystem */ .pw.add('resizer', resizer);
36382
36419
 
@@ -36402,7 +36439,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_4__/* .pluginSystem */ .pw.add('resiz
36402
36439
 
36403
36440
  jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .D.prototype.useSearch = true;
36404
36441
  jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .D.prototype.search = {
36405
- lazyIdleTimeout: 0
36442
+ lazyIdleTimeout: 0,
36443
+ // @ts-ignore Because Highlight is not defined in the types TS 5.3.3
36444
+ useCustomHighlightAPI: typeof window.Highlight !== 'undefined'
36406
36445
  };
36407
36446
  jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .J.set('search', (_search_svg__WEBPACK_IMPORTED_MODULE_2___default()));
36408
36447
  jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .D.prototype.controls.find = {
@@ -36436,114 +36475,14 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .D.prototype.controls.fin
36436
36475
 
36437
36476
  /***/ }),
36438
36477
 
36439
- /***/ 8521:
36440
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
36441
-
36442
- "use strict";
36443
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
36444
- /* harmony export */ Al: function() { return /* reexport safe */ _sentence_finder__WEBPACK_IMPORTED_MODULE_0__.A; },
36445
- /* harmony export */ Fb: function() { return /* reexport safe */ _wrap_ranges_texts_in_tmp_span__WEBPACK_IMPORTED_MODULE_1__.Fb; },
36446
- /* harmony export */ TW: function() { return /* reexport safe */ _wrap_ranges_texts_in_tmp_span__WEBPACK_IMPORTED_MODULE_1__.TW; },
36447
- /* harmony export */ e: function() { return /* reexport safe */ _wrap_ranges_texts_in_tmp_span__WEBPACK_IMPORTED_MODULE_1__.e; },
36448
- /* harmony export */ sG: function() { return /* reexport safe */ _wrap_ranges_texts_in_tmp_span__WEBPACK_IMPORTED_MODULE_1__.sG; }
36449
- /* harmony export */ });
36450
- /* harmony import */ var _sentence_finder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(135);
36451
- /* harmony import */ var _wrap_ranges_texts_in_tmp_span__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(89883);
36452
- /*!
36453
- * Jodit Editor (https://xdsoft.net/jodit/)
36454
- * Released under MIT see LICENSE.txt in the project root for license information.
36455
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
36456
- */
36457
- /**
36458
- * @module plugins/search
36459
- */
36460
-
36461
-
36462
-
36463
-
36464
- /***/ }),
36465
-
36466
- /***/ 135:
36467
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
36468
-
36469
- "use strict";
36470
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
36471
- /* harmony export */ A: function() { return /* binding */ SentenceFinder; }
36472
- /* harmony export */ });
36473
- /* harmony import */ var jodit_core_helpers_string_fuzzy_search_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29133);
36474
- /*!
36475
- * Jodit Editor (https://xdsoft.net/jodit/)
36476
- * Released under MIT see LICENSE.txt in the project root for license information.
36477
- * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
36478
- */
36479
-
36480
- class SentenceFinder {
36481
- constructor(searchIndex = jodit_core_helpers_string_fuzzy_search_index__WEBPACK_IMPORTED_MODULE_0__/* .fuzzySearchIndex */ .Q) {
36482
- this.searchIndex = searchIndex;
36483
- this.queue = [];
36484
- this.value = '';
36485
- }
36486
- add(node) {
36487
- var _a;
36488
- const value = ((_a = node.nodeValue) !== null && _a !== void 0 ? _a : '').toLowerCase();
36489
- if (!value.length) {
36490
- return;
36491
- }
36492
- const index = this.value.length;
36493
- this.queue.push({
36494
- startIndex: index,
36495
- endIndex: index + value.length,
36496
- node
36497
- });
36498
- this.value += value;
36499
- }
36500
- ranges(needle, position = 0) {
36501
- const results = [];
36502
- let index = position, len = 0, startQueueIndex = 0;
36503
- // Find all ranges in substring
36504
- do {
36505
- [index, len] = this.searchIndex(needle, this.value, index);
36506
- if (index !== -1) {
36507
- let startContainer, startOffset = 0, endContainer, endOffset = 0;
36508
- for (let i = startQueueIndex; i < this.queue.length; i += 1) {
36509
- if (!startContainer && this.queue[i].endIndex > index) {
36510
- startContainer = this.queue[i].node;
36511
- startOffset = index - this.queue[i].startIndex;
36512
- }
36513
- if (startContainer &&
36514
- this.queue[i].endIndex >= index + len) {
36515
- endContainer = this.queue[i].node;
36516
- endOffset = index + len - this.queue[i].startIndex;
36517
- startQueueIndex = i;
36518
- break;
36519
- }
36520
- }
36521
- if (startContainer && endContainer) {
36522
- results.push({
36523
- startContainer,
36524
- startOffset,
36525
- endContainer,
36526
- endOffset
36527
- });
36528
- }
36529
- index += len;
36530
- }
36531
- } while (index !== -1);
36532
- return results.length === 0 ? null : results;
36533
- }
36534
- }
36535
-
36536
-
36537
- /***/ }),
36538
-
36539
- /***/ 89883:
36478
+ /***/ 73893:
36540
36479
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
36541
36480
 
36542
36481
  "use strict";
36543
36482
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
36483
+ /* harmony export */ AG: function() { return /* binding */ highlightTextRanges; },
36544
36484
  /* harmony export */ Fb: function() { return /* binding */ clearSelectionWrappersFromHTML; },
36545
36485
  /* harmony export */ TW: function() { return /* binding */ getSelectionWrappers; },
36546
- /* harmony export */ e: function() { return /* binding */ wrapRangesTextsInTmpSpan; },
36547
36486
  /* harmony export */ sG: function() { return /* binding */ clearSelectionWrappers; }
36548
36487
  /* harmony export */ });
36549
36488
  /* unused harmony export isSelectionWrapper */
@@ -36563,11 +36502,29 @@ const TMP_ATTR = 'jd-tmp-selection';
36563
36502
  /**
36564
36503
  * @private
36565
36504
  */
36566
- function wrapRangesTextsInTmpSpan(rng, restRanges, ci, root) {
36505
+ function highlightTextRanges(jodit, rng, restRanges, ci, root) {
36567
36506
  if (rng.startContainer.nodeValue == null ||
36568
36507
  rng.endContainer.nodeValue == null) {
36569
36508
  return;
36570
36509
  }
36510
+ if (jodit.o.search.useCustomHighlightAPI &&
36511
+ // @ts-ignore Because Highlight is not defined in the types TS 5.3.3
36512
+ typeof window.Highlight !== 'undefined') {
36513
+ const ranges = [rng, ...restRanges].map(rng => {
36514
+ const range = jodit.selection.createRange();
36515
+ range.setStart(rng.startContainer, rng.startOffset);
36516
+ range.setEnd(rng.endContainer, rng.endOffset);
36517
+ return range;
36518
+ });
36519
+ // @ts-ignore Because Highlight is not defined in the types TS 5.3.3
36520
+ const searchHighlight = new Highlight(...ranges);
36521
+ // @ts-ignore
36522
+ CSS.highlights.clear();
36523
+ // @ts-ignore
36524
+ CSS.highlights.set('jodit-search-result', searchHighlight);
36525
+ restRanges.length = 0;
36526
+ return;
36527
+ }
36571
36528
  const span = ci.element('span', {
36572
36529
  [TMP_ATTR]: true
36573
36530
  });
@@ -36651,6 +36608,106 @@ function isSelectionWrapper(node) {
36651
36608
  }
36652
36609
 
36653
36610
 
36611
+ /***/ }),
36612
+
36613
+ /***/ 8521:
36614
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
36615
+
36616
+ "use strict";
36617
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
36618
+ /* harmony export */ AG: function() { return /* reexport safe */ _highlight_text_ranges__WEBPACK_IMPORTED_MODULE_1__.AG; },
36619
+ /* harmony export */ Al: function() { return /* reexport safe */ _sentence_finder__WEBPACK_IMPORTED_MODULE_0__.A; },
36620
+ /* harmony export */ Fb: function() { return /* reexport safe */ _highlight_text_ranges__WEBPACK_IMPORTED_MODULE_1__.Fb; },
36621
+ /* harmony export */ TW: function() { return /* reexport safe */ _highlight_text_ranges__WEBPACK_IMPORTED_MODULE_1__.TW; },
36622
+ /* harmony export */ sG: function() { return /* reexport safe */ _highlight_text_ranges__WEBPACK_IMPORTED_MODULE_1__.sG; }
36623
+ /* harmony export */ });
36624
+ /* harmony import */ var _sentence_finder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(135);
36625
+ /* harmony import */ var _highlight_text_ranges__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(73893);
36626
+ /*!
36627
+ * Jodit Editor (https://xdsoft.net/jodit/)
36628
+ * Released under MIT see LICENSE.txt in the project root for license information.
36629
+ * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
36630
+ */
36631
+ /**
36632
+ * @module plugins/search
36633
+ */
36634
+
36635
+
36636
+
36637
+
36638
+ /***/ }),
36639
+
36640
+ /***/ 135:
36641
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
36642
+
36643
+ "use strict";
36644
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
36645
+ /* harmony export */ A: function() { return /* binding */ SentenceFinder; }
36646
+ /* harmony export */ });
36647
+ /* harmony import */ var jodit_core_helpers_string_fuzzy_search_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29133);
36648
+ /*!
36649
+ * Jodit Editor (https://xdsoft.net/jodit/)
36650
+ * Released under MIT see LICENSE.txt in the project root for license information.
36651
+ * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
36652
+ */
36653
+
36654
+ class SentenceFinder {
36655
+ constructor(searchIndex = jodit_core_helpers_string_fuzzy_search_index__WEBPACK_IMPORTED_MODULE_0__/* .fuzzySearchIndex */ .Q) {
36656
+ this.searchIndex = searchIndex;
36657
+ this.queue = [];
36658
+ this.value = '';
36659
+ }
36660
+ add(node) {
36661
+ var _a;
36662
+ const value = ((_a = node.nodeValue) !== null && _a !== void 0 ? _a : '').toLowerCase();
36663
+ if (!value.length) {
36664
+ return;
36665
+ }
36666
+ const index = this.value.length;
36667
+ this.queue.push({
36668
+ startIndex: index,
36669
+ endIndex: index + value.length,
36670
+ node
36671
+ });
36672
+ this.value += value;
36673
+ }
36674
+ ranges(needle, position = 0) {
36675
+ const results = [];
36676
+ let index = position, len = 0, startQueueIndex = 0;
36677
+ // Find all ranges in substring
36678
+ do {
36679
+ [index, len] = this.searchIndex(needle, this.value, index);
36680
+ if (index !== -1) {
36681
+ let startContainer, startOffset = 0, endContainer, endOffset = 0;
36682
+ for (let i = startQueueIndex; i < this.queue.length; i += 1) {
36683
+ if (!startContainer && this.queue[i].endIndex > index) {
36684
+ startContainer = this.queue[i].node;
36685
+ startOffset = index - this.queue[i].startIndex;
36686
+ }
36687
+ if (startContainer &&
36688
+ this.queue[i].endIndex >= index + len) {
36689
+ endContainer = this.queue[i].node;
36690
+ endOffset = index + len - this.queue[i].startIndex;
36691
+ startQueueIndex = i;
36692
+ break;
36693
+ }
36694
+ }
36695
+ if (startContainer && endContainer) {
36696
+ results.push({
36697
+ startContainer,
36698
+ startOffset,
36699
+ endContainer,
36700
+ endOffset
36701
+ });
36702
+ }
36703
+ index += len;
36704
+ }
36705
+ } while (index !== -1);
36706
+ return results.length === 0 ? null : results;
36707
+ }
36708
+ }
36709
+
36710
+
36654
36711
  /***/ }),
36655
36712
 
36656
36713
  /***/ 78014:
@@ -36810,7 +36867,7 @@ class search extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_1__/* .Plugin */
36810
36867
  (_a = this.drawPromise) === null || _a === void 0 ? void 0 : _a.rejectCallback();
36811
36868
  this.j.async.cancelAnimationFrame(this.wrapFrameRequest);
36812
36869
  (0,_helpers__WEBPACK_IMPORTED_MODULE_6__/* .clearSelectionWrappers */ .sG)(this.j.editor);
36813
- this.drawPromise = this.drawSelectionRanges(bounds);
36870
+ this.drawPromise = this.__drawSelectionRanges(bounds);
36814
36871
  }
36815
36872
  this.previousQuery = query;
36816
36873
  let currentIndex = this.ui.currentIndex - 1;
@@ -36894,7 +36951,7 @@ class search extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_1__/* .Plugin */
36894
36951
  return this.cache[query];
36895
36952
  });
36896
36953
  }
36897
- drawSelectionRanges(ranges) {
36954
+ __drawSelectionRanges(ranges) {
36898
36955
  const { async, createInside: ci, editor } = this.j;
36899
36956
  async.cancelAnimationFrame(this.wrapFrameRequest);
36900
36957
  const parts = [...ranges];
@@ -36904,7 +36961,7 @@ class search extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_1__/* .Plugin */
36904
36961
  do {
36905
36962
  sRange = parts.shift();
36906
36963
  if (sRange) {
36907
- (0,_helpers__WEBPACK_IMPORTED_MODULE_6__/* .wrapRangesTextsInTmpSpan */ .e)(sRange, parts, ci, editor);
36964
+ (0,_helpers__WEBPACK_IMPORTED_MODULE_6__/* .highlightTextRanges */ .AG)(this.j, sRange, parts, ci, editor);
36908
36965
  }
36909
36966
  total += 1;
36910
36967
  } while (sRange && total <= 5);
@@ -38778,7 +38835,7 @@ class source extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_1__/* .Plugin */
38778
38835
  return false;
38779
38836
  };
38780
38837
  if (!addEventListener()) {
38781
- (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.loadNext)(editor, editor.o.beautifyHTMLCDNUrlsJS).then(addEventListener);
38838
+ (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.loadNext)(editor, editor.o.beautifyHTMLCDNUrlsJS).then(addEventListener, () => null);
38782
38839
  }
38783
38840
  }
38784
38841
  this.syncValueFromWYSIWYG(true);
@@ -38969,6 +39026,23 @@ module.exports = {
38969
39026
  };
38970
39027
 
38971
39028
 
39029
+ /***/ }),
39030
+
39031
+ /***/ 42096:
39032
+ /***/ (function(module) {
39033
+
39034
+ "use strict";
39035
+
39036
+ /*!
39037
+ * Jodit Editor (https://xdsoft.net/jodit/)
39038
+ * Released under MIT see LICENSE.txt in the project root for license information.
39039
+ * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
39040
+ */
39041
+ module.exports = {
39042
+ Spellcheck: 'Oikeinkirjoituksen tarkistus'
39043
+ };
39044
+
39045
+
38972
39046
  /***/ }),
38973
39047
 
38974
39048
  /***/ 53866:
@@ -39050,21 +39124,22 @@ __webpack_require__.r(__webpack_exports__);
39050
39124
  /* harmony export */ de: function() { return /* reexport module object */ _de_js__WEBPACK_IMPORTED_MODULE_2__; },
39051
39125
  /* harmony export */ es: function() { return /* reexport module object */ _es_js__WEBPACK_IMPORTED_MODULE_3__; },
39052
39126
  /* harmony export */ fa: function() { return /* reexport module object */ _fa_js__WEBPACK_IMPORTED_MODULE_4__; },
39053
- /* harmony export */ fr: function() { return /* reexport module object */ _fr_js__WEBPACK_IMPORTED_MODULE_5__; },
39054
- /* harmony export */ he: function() { return /* reexport module object */ _he_js__WEBPACK_IMPORTED_MODULE_6__; },
39055
- /* harmony export */ hu: function() { return /* reexport module object */ _hu_js__WEBPACK_IMPORTED_MODULE_7__; },
39056
- /* harmony export */ id: function() { return /* reexport module object */ _id_js__WEBPACK_IMPORTED_MODULE_8__; },
39057
- /* harmony export */ it: function() { return /* reexport module object */ _it_js__WEBPACK_IMPORTED_MODULE_9__; },
39058
- /* harmony export */ ja: function() { return /* reexport module object */ _ja_js__WEBPACK_IMPORTED_MODULE_10__; },
39059
- /* harmony export */ ko: function() { return /* reexport module object */ _ko_js__WEBPACK_IMPORTED_MODULE_11__; },
39060
- /* harmony export */ mn: function() { return /* reexport module object */ _mn_js__WEBPACK_IMPORTED_MODULE_12__; },
39061
- /* harmony export */ nl: function() { return /* reexport module object */ _nl_js__WEBPACK_IMPORTED_MODULE_13__; },
39062
- /* harmony export */ pl: function() { return /* reexport module object */ _pl_js__WEBPACK_IMPORTED_MODULE_14__; },
39063
- /* harmony export */ pt_br: function() { return /* reexport module object */ _pt_br_js__WEBPACK_IMPORTED_MODULE_15__; },
39064
- /* harmony export */ ru: function() { return /* reexport module object */ _ru_js__WEBPACK_IMPORTED_MODULE_16__; },
39065
- /* harmony export */ tr: function() { return /* reexport module object */ _tr_js__WEBPACK_IMPORTED_MODULE_17__; },
39066
- /* harmony export */ zh_cn: function() { return /* reexport module object */ _zh_cn_js__WEBPACK_IMPORTED_MODULE_18__; },
39067
- /* harmony export */ zh_tw: function() { return /* reexport module object */ _zh_tw_js__WEBPACK_IMPORTED_MODULE_19__; }
39127
+ /* harmony export */ fi: function() { return /* reexport module object */ _fi_js__WEBPACK_IMPORTED_MODULE_5__; },
39128
+ /* harmony export */ fr: function() { return /* reexport module object */ _fr_js__WEBPACK_IMPORTED_MODULE_6__; },
39129
+ /* harmony export */ he: function() { return /* reexport module object */ _he_js__WEBPACK_IMPORTED_MODULE_7__; },
39130
+ /* harmony export */ hu: function() { return /* reexport module object */ _hu_js__WEBPACK_IMPORTED_MODULE_8__; },
39131
+ /* harmony export */ id: function() { return /* reexport module object */ _id_js__WEBPACK_IMPORTED_MODULE_9__; },
39132
+ /* harmony export */ it: function() { return /* reexport module object */ _it_js__WEBPACK_IMPORTED_MODULE_10__; },
39133
+ /* harmony export */ ja: function() { return /* reexport module object */ _ja_js__WEBPACK_IMPORTED_MODULE_11__; },
39134
+ /* harmony export */ ko: function() { return /* reexport module object */ _ko_js__WEBPACK_IMPORTED_MODULE_12__; },
39135
+ /* harmony export */ mn: function() { return /* reexport module object */ _mn_js__WEBPACK_IMPORTED_MODULE_13__; },
39136
+ /* harmony export */ nl: function() { return /* reexport module object */ _nl_js__WEBPACK_IMPORTED_MODULE_14__; },
39137
+ /* harmony export */ pl: function() { return /* reexport module object */ _pl_js__WEBPACK_IMPORTED_MODULE_15__; },
39138
+ /* harmony export */ pt_br: function() { return /* reexport module object */ _pt_br_js__WEBPACK_IMPORTED_MODULE_16__; },
39139
+ /* harmony export */ ru: function() { return /* reexport module object */ _ru_js__WEBPACK_IMPORTED_MODULE_17__; },
39140
+ /* harmony export */ tr: function() { return /* reexport module object */ _tr_js__WEBPACK_IMPORTED_MODULE_18__; },
39141
+ /* harmony export */ zh_cn: function() { return /* reexport module object */ _zh_cn_js__WEBPACK_IMPORTED_MODULE_19__; },
39142
+ /* harmony export */ zh_tw: function() { return /* reexport module object */ _zh_tw_js__WEBPACK_IMPORTED_MODULE_20__; }
39068
39143
  /* harmony export */ });
39069
39144
  /* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25394);
39070
39145
  /* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_ar_js__WEBPACK_IMPORTED_MODULE_0__);
@@ -39076,36 +39151,38 @@ __webpack_require__.r(__webpack_exports__);
39076
39151
  /* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_es_js__WEBPACK_IMPORTED_MODULE_3__);
39077
39152
  /* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(39850);
39078
39153
  /* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_fa_js__WEBPACK_IMPORTED_MODULE_4__);
39079
- /* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(53866);
39080
- /* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_fr_js__WEBPACK_IMPORTED_MODULE_5__);
39081
- /* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(68103);
39082
- /* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_he_js__WEBPACK_IMPORTED_MODULE_6__);
39083
- /* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(59717);
39084
- /* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_hu_js__WEBPACK_IMPORTED_MODULE_7__);
39085
- /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(43703);
39086
- /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_id_js__WEBPACK_IMPORTED_MODULE_8__);
39087
- /* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(15825);
39088
- /* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_it_js__WEBPACK_IMPORTED_MODULE_9__);
39089
- /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(693);
39090
- /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_ja_js__WEBPACK_IMPORTED_MODULE_10__);
39091
- /* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(66389);
39092
- /* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_ko_js__WEBPACK_IMPORTED_MODULE_11__);
39093
- /* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(90239);
39094
- /* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_mn_js__WEBPACK_IMPORTED_MODULE_12__);
39095
- /* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(64914);
39096
- /* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_nl_js__WEBPACK_IMPORTED_MODULE_13__);
39097
- /* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(95177);
39098
- /* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_pl_js__WEBPACK_IMPORTED_MODULE_14__);
39099
- /* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(66174);
39100
- /* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_pt_br_js__WEBPACK_IMPORTED_MODULE_15__);
39101
- /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(14004);
39102
- /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_ru_js__WEBPACK_IMPORTED_MODULE_16__);
39103
- /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(54002);
39104
- /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_tr_js__WEBPACK_IMPORTED_MODULE_17__);
39105
- /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(61338);
39106
- /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_zh_cn_js__WEBPACK_IMPORTED_MODULE_18__);
39107
- /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(58013);
39108
- /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_zh_tw_js__WEBPACK_IMPORTED_MODULE_19__);
39154
+ /* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(42096);
39155
+ /* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_fi_js__WEBPACK_IMPORTED_MODULE_5__);
39156
+ /* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(53866);
39157
+ /* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_fr_js__WEBPACK_IMPORTED_MODULE_6__);
39158
+ /* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(68103);
39159
+ /* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_he_js__WEBPACK_IMPORTED_MODULE_7__);
39160
+ /* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(59717);
39161
+ /* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_hu_js__WEBPACK_IMPORTED_MODULE_8__);
39162
+ /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(43703);
39163
+ /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_id_js__WEBPACK_IMPORTED_MODULE_9__);
39164
+ /* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(15825);
39165
+ /* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_it_js__WEBPACK_IMPORTED_MODULE_10__);
39166
+ /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(693);
39167
+ /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_ja_js__WEBPACK_IMPORTED_MODULE_11__);
39168
+ /* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(66389);
39169
+ /* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_ko_js__WEBPACK_IMPORTED_MODULE_12__);
39170
+ /* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(90239);
39171
+ /* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_mn_js__WEBPACK_IMPORTED_MODULE_13__);
39172
+ /* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(64914);
39173
+ /* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_nl_js__WEBPACK_IMPORTED_MODULE_14__);
39174
+ /* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(95177);
39175
+ /* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_pl_js__WEBPACK_IMPORTED_MODULE_15__);
39176
+ /* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(66174);
39177
+ /* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_pt_br_js__WEBPACK_IMPORTED_MODULE_16__);
39178
+ /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(14004);
39179
+ /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_ru_js__WEBPACK_IMPORTED_MODULE_17__);
39180
+ /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(54002);
39181
+ /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_tr_js__WEBPACK_IMPORTED_MODULE_18__);
39182
+ /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(61338);
39183
+ /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_zh_cn_js__WEBPACK_IMPORTED_MODULE_19__);
39184
+ /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(58013);
39185
+ /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_zh_tw_js__WEBPACK_IMPORTED_MODULE_20__);
39109
39186
  /*!
39110
39187
  * Jodit Editor (https://xdsoft.net/jodit/)
39111
39188
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -39132,6 +39209,7 @@ __webpack_require__.r(__webpack_exports__);
39132
39209
 
39133
39210
 
39134
39211
 
39212
+
39135
39213
 
39136
39214
 
39137
39215
  /***/ }),
@@ -39971,6 +40049,23 @@ module.exports = {
39971
40049
  };
39972
40050
 
39973
40051
 
40052
+ /***/ }),
40053
+
40054
+ /***/ 67385:
40055
+ /***/ (function(module) {
40056
+
40057
+ "use strict";
40058
+
40059
+ /*!
40060
+ * Jodit Editor (https://xdsoft.net/jodit/)
40061
+ * Released under MIT see LICENSE.txt in the project root for license information.
40062
+ * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
40063
+ */
40064
+ module.exports = {
40065
+ symbols: 'Symbolit'
40066
+ };
40067
+
40068
+
39974
40069
  /***/ }),
39975
40070
 
39976
40071
  /***/ 27021:
@@ -40052,21 +40147,22 @@ __webpack_require__.r(__webpack_exports__);
40052
40147
  /* harmony export */ de: function() { return /* reexport module object */ _de_js__WEBPACK_IMPORTED_MODULE_2__; },
40053
40148
  /* harmony export */ es: function() { return /* reexport module object */ _es_js__WEBPACK_IMPORTED_MODULE_3__; },
40054
40149
  /* harmony export */ fa: function() { return /* reexport module object */ _fa_js__WEBPACK_IMPORTED_MODULE_4__; },
40055
- /* harmony export */ fr: function() { return /* reexport module object */ _fr_js__WEBPACK_IMPORTED_MODULE_5__; },
40056
- /* harmony export */ he: function() { return /* reexport module object */ _he_js__WEBPACK_IMPORTED_MODULE_6__; },
40057
- /* harmony export */ hu: function() { return /* reexport module object */ _hu_js__WEBPACK_IMPORTED_MODULE_7__; },
40058
- /* harmony export */ id: function() { return /* reexport module object */ _id_js__WEBPACK_IMPORTED_MODULE_8__; },
40059
- /* harmony export */ it: function() { return /* reexport module object */ _it_js__WEBPACK_IMPORTED_MODULE_9__; },
40060
- /* harmony export */ ja: function() { return /* reexport module object */ _ja_js__WEBPACK_IMPORTED_MODULE_10__; },
40061
- /* harmony export */ ko: function() { return /* reexport module object */ _ko_js__WEBPACK_IMPORTED_MODULE_11__; },
40062
- /* harmony export */ mn: function() { return /* reexport module object */ _mn_js__WEBPACK_IMPORTED_MODULE_12__; },
40063
- /* harmony export */ nl: function() { return /* reexport module object */ _nl_js__WEBPACK_IMPORTED_MODULE_13__; },
40064
- /* harmony export */ pl: function() { return /* reexport module object */ _pl_js__WEBPACK_IMPORTED_MODULE_14__; },
40065
- /* harmony export */ pt_br: function() { return /* reexport module object */ _pt_br_js__WEBPACK_IMPORTED_MODULE_15__; },
40066
- /* harmony export */ ru: function() { return /* reexport module object */ _ru_js__WEBPACK_IMPORTED_MODULE_16__; },
40067
- /* harmony export */ tr: function() { return /* reexport module object */ _tr_js__WEBPACK_IMPORTED_MODULE_17__; },
40068
- /* harmony export */ zh_cn: function() { return /* reexport module object */ _zh_cn_js__WEBPACK_IMPORTED_MODULE_18__; },
40069
- /* harmony export */ zh_tw: function() { return /* reexport module object */ _zh_tw_js__WEBPACK_IMPORTED_MODULE_19__; }
40150
+ /* harmony export */ fi: function() { return /* reexport module object */ _fi_js__WEBPACK_IMPORTED_MODULE_5__; },
40151
+ /* harmony export */ fr: function() { return /* reexport module object */ _fr_js__WEBPACK_IMPORTED_MODULE_6__; },
40152
+ /* harmony export */ he: function() { return /* reexport module object */ _he_js__WEBPACK_IMPORTED_MODULE_7__; },
40153
+ /* harmony export */ hu: function() { return /* reexport module object */ _hu_js__WEBPACK_IMPORTED_MODULE_8__; },
40154
+ /* harmony export */ id: function() { return /* reexport module object */ _id_js__WEBPACK_IMPORTED_MODULE_9__; },
40155
+ /* harmony export */ it: function() { return /* reexport module object */ _it_js__WEBPACK_IMPORTED_MODULE_10__; },
40156
+ /* harmony export */ ja: function() { return /* reexport module object */ _ja_js__WEBPACK_IMPORTED_MODULE_11__; },
40157
+ /* harmony export */ ko: function() { return /* reexport module object */ _ko_js__WEBPACK_IMPORTED_MODULE_12__; },
40158
+ /* harmony export */ mn: function() { return /* reexport module object */ _mn_js__WEBPACK_IMPORTED_MODULE_13__; },
40159
+ /* harmony export */ nl: function() { return /* reexport module object */ _nl_js__WEBPACK_IMPORTED_MODULE_14__; },
40160
+ /* harmony export */ pl: function() { return /* reexport module object */ _pl_js__WEBPACK_IMPORTED_MODULE_15__; },
40161
+ /* harmony export */ pt_br: function() { return /* reexport module object */ _pt_br_js__WEBPACK_IMPORTED_MODULE_16__; },
40162
+ /* harmony export */ ru: function() { return /* reexport module object */ _ru_js__WEBPACK_IMPORTED_MODULE_17__; },
40163
+ /* harmony export */ tr: function() { return /* reexport module object */ _tr_js__WEBPACK_IMPORTED_MODULE_18__; },
40164
+ /* harmony export */ zh_cn: function() { return /* reexport module object */ _zh_cn_js__WEBPACK_IMPORTED_MODULE_19__; },
40165
+ /* harmony export */ zh_tw: function() { return /* reexport module object */ _zh_tw_js__WEBPACK_IMPORTED_MODULE_20__; }
40070
40166
  /* harmony export */ });
40071
40167
  /* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(59891);
40072
40168
  /* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_ar_js__WEBPACK_IMPORTED_MODULE_0__);
@@ -40078,36 +40174,38 @@ __webpack_require__.r(__webpack_exports__);
40078
40174
  /* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_es_js__WEBPACK_IMPORTED_MODULE_3__);
40079
40175
  /* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(38927);
40080
40176
  /* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_fa_js__WEBPACK_IMPORTED_MODULE_4__);
40081
- /* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(27021);
40082
- /* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_fr_js__WEBPACK_IMPORTED_MODULE_5__);
40083
- /* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(25112);
40084
- /* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_he_js__WEBPACK_IMPORTED_MODULE_6__);
40085
- /* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(49274);
40086
- /* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_hu_js__WEBPACK_IMPORTED_MODULE_7__);
40087
- /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(23442);
40088
- /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_id_js__WEBPACK_IMPORTED_MODULE_8__);
40089
- /* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(13603);
40090
- /* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_it_js__WEBPACK_IMPORTED_MODULE_9__);
40091
- /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(33209);
40092
- /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_ja_js__WEBPACK_IMPORTED_MODULE_10__);
40093
- /* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(19509);
40094
- /* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_ko_js__WEBPACK_IMPORTED_MODULE_11__);
40095
- /* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(35992);
40096
- /* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_mn_js__WEBPACK_IMPORTED_MODULE_12__);
40097
- /* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(74290);
40098
- /* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_nl_js__WEBPACK_IMPORTED_MODULE_13__);
40099
- /* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(33197);
40100
- /* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_pl_js__WEBPACK_IMPORTED_MODULE_14__);
40101
- /* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(52583);
40102
- /* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_pt_br_js__WEBPACK_IMPORTED_MODULE_15__);
40103
- /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(28290);
40104
- /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_ru_js__WEBPACK_IMPORTED_MODULE_16__);
40105
- /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(49629);
40106
- /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_tr_js__WEBPACK_IMPORTED_MODULE_17__);
40107
- /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(59693);
40108
- /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_zh_cn_js__WEBPACK_IMPORTED_MODULE_18__);
40109
- /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(92086);
40110
- /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_zh_tw_js__WEBPACK_IMPORTED_MODULE_19__);
40177
+ /* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(67385);
40178
+ /* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_fi_js__WEBPACK_IMPORTED_MODULE_5__);
40179
+ /* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(27021);
40180
+ /* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_fr_js__WEBPACK_IMPORTED_MODULE_6__);
40181
+ /* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(25112);
40182
+ /* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_he_js__WEBPACK_IMPORTED_MODULE_7__);
40183
+ /* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(49274);
40184
+ /* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_hu_js__WEBPACK_IMPORTED_MODULE_8__);
40185
+ /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23442);
40186
+ /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_id_js__WEBPACK_IMPORTED_MODULE_9__);
40187
+ /* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(13603);
40188
+ /* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_it_js__WEBPACK_IMPORTED_MODULE_10__);
40189
+ /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(33209);
40190
+ /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_ja_js__WEBPACK_IMPORTED_MODULE_11__);
40191
+ /* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(19509);
40192
+ /* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_ko_js__WEBPACK_IMPORTED_MODULE_12__);
40193
+ /* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(35992);
40194
+ /* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_mn_js__WEBPACK_IMPORTED_MODULE_13__);
40195
+ /* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(74290);
40196
+ /* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_nl_js__WEBPACK_IMPORTED_MODULE_14__);
40197
+ /* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(33197);
40198
+ /* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_pl_js__WEBPACK_IMPORTED_MODULE_15__);
40199
+ /* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(52583);
40200
+ /* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_pt_br_js__WEBPACK_IMPORTED_MODULE_16__);
40201
+ /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(28290);
40202
+ /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_ru_js__WEBPACK_IMPORTED_MODULE_17__);
40203
+ /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(49629);
40204
+ /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_tr_js__WEBPACK_IMPORTED_MODULE_18__);
40205
+ /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(59693);
40206
+ /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_zh_cn_js__WEBPACK_IMPORTED_MODULE_19__);
40207
+ /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(92086);
40208
+ /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_zh_tw_js__WEBPACK_IMPORTED_MODULE_20__);
40111
40209
  /*!
40112
40210
  * Jodit Editor (https://xdsoft.net/jodit/)
40113
40211
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -40134,6 +40232,7 @@ __webpack_require__.r(__webpack_exports__);
40134
40232
 
40135
40233
 
40136
40234
 
40235
+
40137
40236
 
40138
40237
 
40139
40238
  /***/ }),
@@ -40701,6 +40800,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .pw.add('tab',
40701
40800
  /* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9162);
40702
40801
  /* harmony import */ var jodit_modules_table_table__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(45979);
40703
40802
  /* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(79102);
40803
+ /* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(76974);
40704
40804
  /*!
40705
40805
  * Jodit Editor (https://xdsoft.net/jodit/)
40706
40806
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -40710,111 +40810,108 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .pw.add('tab',
40710
40810
 
40711
40811
 
40712
40812
 
40813
+
40814
+ const WORK_KEYS = new Set([
40815
+ jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_TAB,
40816
+ jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_LEFT,
40817
+ jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_RIGHT,
40818
+ jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP,
40819
+ jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN
40820
+ ]);
40713
40821
  /**
40714
- * Process navigate keypressing in table cell
40822
+ * Process navigates key pressing in table cell
40715
40823
  */
40716
40824
  function tableKeyboardNavigation(editor) {
40717
40825
  editor.e
40718
40826
  .off('.tableKeyboardNavigation')
40719
40827
  .on('keydown.tableKeyboardNavigation', (event) => {
40720
- let current, block;
40721
- if (event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_TAB ||
40722
- event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_LEFT ||
40723
- event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_RIGHT ||
40724
- event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP ||
40725
- event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN) {
40726
- current = editor.s.current();
40727
- block = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.up(current, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isCell, editor.editor);
40728
- if (!block) {
40729
- return;
40730
- }
40731
- const range = editor.s.range;
40732
- if (event.key !== jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_TAB && current !== block) {
40733
- if (((event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_LEFT ||
40734
- event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP) &&
40735
- (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.prev(current, (elm) => event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP
40736
- ? jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isTag(elm, 'br')
40737
- : Boolean(elm), block) ||
40738
- (event.key !== jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP &&
40739
- jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isText(current) &&
40740
- range.startOffset !== 0))) ||
40741
- ((event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_RIGHT ||
40742
- event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN) &&
40743
- (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.next(current, (elm) => event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN
40744
- ? jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isTag(elm, 'br')
40745
- : Boolean(elm), block) ||
40746
- (event.key !== jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN &&
40747
- jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isText(current) &&
40748
- current.nodeValue &&
40749
- range.startOffset !==
40750
- current.nodeValue.length)))) {
40751
- return;
40752
- }
40753
- }
40828
+ const { key } = event;
40829
+ if (!WORK_KEYS.has(key)) {
40830
+ return;
40754
40831
  }
40755
- else {
40832
+ const current = editor.s.current();
40833
+ if (!current) {
40756
40834
  return;
40757
40835
  }
40758
- const tableModule = editor.getInstance('Table', editor.o);
40759
- const table = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.up(block, (elm) => elm && /^table$/i.test(elm.nodeName), editor.editor);
40836
+ const cell = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.up(current, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isCell, editor.editor);
40837
+ if (!cell) {
40838
+ return;
40839
+ }
40840
+ const { range } = editor.s;
40841
+ if (key !== jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_TAB && current !== cell) {
40842
+ const isNextDirection = key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_RIGHT || key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN;
40843
+ const hasNext = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.call)(!isNextDirection ? jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.prev : jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.next, current, elm => key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP || key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN
40844
+ ? jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isTag(elm, 'br')
40845
+ : Boolean(elm), cell);
40846
+ if ((!isNextDirection &&
40847
+ (hasNext ||
40848
+ (key !== jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP &&
40849
+ jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isText(current) &&
40850
+ range.startOffset !== 0))) ||
40851
+ (isNextDirection &&
40852
+ (hasNext ||
40853
+ (key !== jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN &&
40854
+ jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isText(current) &&
40855
+ current.nodeValue &&
40856
+ range.startOffset !==
40857
+ current.nodeValue.length)))) {
40858
+ return;
40859
+ }
40860
+ }
40861
+ const tableModule = editor.getInstance(jodit_modules_table_table__WEBPACK_IMPORTED_MODULE_2__/* .Table */ .i, editor.o);
40862
+ const table = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.closest(cell, 'table', editor.editor);
40760
40863
  let next = null;
40761
- switch (event.key) {
40864
+ const isPrev = key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_LEFT || event.shiftKey;
40865
+ const getNextCell = () => (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.call)(isPrev ? jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.prev : jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.next, cell, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isCell, table);
40866
+ switch (key) {
40762
40867
  case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_TAB:
40763
- // case consts.KEY_RIGHT:
40764
40868
  case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_LEFT: {
40765
- const sibling = event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_LEFT || event.shiftKey
40766
- ? 'prev'
40767
- : 'next';
40768
- next = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i[sibling](block, (elm) => elm &&
40769
- /^td|th$/i.test(elm.tagName), table);
40869
+ next = getNextCell();
40770
40870
  if (!next) {
40771
- tableModule.appendRow(table, sibling === 'next'
40871
+ tableModule.appendRow(table, !isPrev
40772
40872
  ? false
40773
- : table.querySelector('tr'), sibling === 'next');
40774
- next = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i[sibling](block, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isCell, table);
40873
+ : table.querySelector('tr'), !isPrev);
40874
+ next = getNextCell();
40775
40875
  }
40776
40876
  break;
40777
40877
  }
40778
40878
  case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP:
40779
40879
  case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN:
40780
40880
  {
40781
- let i = 0, j = 0;
40782
- const matrix = tableModule.formalMatrix(table, (elm, _i, _j) => {
40783
- if (elm === block) {
40784
- i = _i;
40785
- j = _j;
40786
- }
40787
- });
40788
- if (event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP) {
40789
- if (matrix[i - 1] !== undefined) {
40790
- next = matrix[i - 1][j];
40881
+ const matrix = tableModule.formalMatrix(table);
40882
+ const [row, column] = tableModule.formalCoordinate(table, cell);
40883
+ if (key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP) {
40884
+ if (matrix[row - 1] !== undefined) {
40885
+ next = matrix[row - 1][column];
40791
40886
  }
40792
40887
  }
40793
40888
  else {
40794
- if (matrix[i + 1] !== undefined) {
40795
- next = matrix[i + 1][j];
40889
+ if (matrix[row + 1] !== undefined) {
40890
+ next = matrix[row + 1][column];
40796
40891
  }
40797
40892
  }
40798
40893
  }
40799
40894
  break;
40800
40895
  }
40801
- if (next) {
40802
- if (!next.firstChild) {
40803
- const first = editor.createInside.element('br');
40804
- next.appendChild(first);
40805
- editor.s.setCursorBefore(first);
40896
+ if (!next) {
40897
+ return;
40898
+ }
40899
+ editor.e.fire('hidePopup hideResizer');
40900
+ if (!next.firstChild) {
40901
+ const first = editor.createInside.element('br');
40902
+ next.appendChild(first);
40903
+ editor.s.setCursorBefore(first);
40904
+ }
40905
+ else {
40906
+ if (key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_TAB) {
40907
+ editor.s.select(next, true);
40806
40908
  }
40807
40909
  else {
40808
- if (event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_TAB) {
40809
- editor.s.select(next, true);
40810
- }
40811
- else {
40812
- editor.s.setCursorIn(next, event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_RIGHT ||
40813
- event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN);
40814
- }
40910
+ editor.s.setCursorIn(next, key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_RIGHT || key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN);
40815
40911
  }
40816
- return false;
40817
40912
  }
40913
+ editor.synchronizeValues();
40914
+ return false;
40818
40915
  });
40819
40916
  }
40820
40917
  jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .pw.add('tableKeyboardNavigation', tableKeyboardNavigation);
@@ -41646,6 +41743,13 @@ module.exports["default"] = ["Escriba algo...","Acerca de Jodit","Jodit Editor",
41646
41743
 
41647
41744
  /***/ }),
41648
41745
 
41746
+ /***/ 13148:
41747
+ /***/ (function(module) {
41748
+
41749
+ module.exports["default"] = ["Kirjoita jotain...","Tietoja Jodit:ista","Jodit Editor","Jodit käyttäjän ohje","sisältää tarkempaa tietoa käyttämiseen","Tietoa lisensoinnista, vieraile verkkosivuillamme:","Osta täysi versio","Copyright © XDSoft.net - Chupurnov Valeriy. Kaikki oikeudet pidätetään.","Ankkuri","Avaa uudessa välilehdessä","Avaa täysikokoisena","Poista muotoilu","Täytä värillä tai aseta tekstin väri","Tee uudelleen","Peruuta","Lihavoitu","Kursiivi","Lisää järjestämätön lista","Lisää järjestetty lista","Asemoi keskelle","Asemoi tasavälein","Asemoi vasemmalle","Asemoi oikealle","Lisää vaakasuuntainen viiva","Lisää kuva","Lisää tiedosto","Lisää Youtube-/vimeo- video","Lisää linkki","Kirjasimen koko","Kirjasimen nimi","Lisää muotoilualue","Normaali","Otsikko 1","Otsikko 2","Otsikko 3","Otsikko 4","Lainaus","Koodi","Lisää","Lisää taulukko","Pienennä sisennystä","Lisää sisennystä","Valitse erikoismerkki","Lisää erikoismerkki","Maalaa muotoilu","Vaihda tilaa","Marginaalit","ylös","oikealle","alas","vasemmalle","CSS-tyylit","CSS-luokat","Asemointi","Oikea","Keskellä","Vasen","--Ei asetettu--","Fuente","Otsikko","Vaihtoehtoinen teksti","Linkki","Avaa uudessa välilehdessä","Kuva","Tiedosto","Avanzado","Kuvan ominaisuudet","Peruuta","Ok","Tiedostoselain","Virhe listan latauksessa","Virhe kansioiden latauksessa","Oletko varma?","Syötä hakemiston nimi","Luo hakemisto","Syötä nimi","Pudota kuva","Pudota tiedosto","tai klikkaa","Vaihtoehtoinen teksti","Lataa","Selaa","Tausta","Teksti","Ylös","Keskelle","Alas","Lisää sarake ennen","Lisää sarake jälkeen","Lisää rivi ylös","Lisää rivi alle","Poista taulukko","Poista rivi","Poista sarake","Tyhjennä solu","Merkit: %d","Sanat: %d","Yliviivaus","Alleviivaus","yläviite","alaviite","Leikkaa valinta","Valitse kaikki","Vaihto","Etsi arvoa","Korvaa arvolla","Korvaa","Liitä","Valitse liitettävä sisältö","HTML","lihavoitu","kursiivi","sivellin","linkki","peruuta","tee uudelleen","taulukko","kuva","pyyhekumi","kappale","tekstin koko","video","kirjasin","tietoja","tulosta","alleviivaa","yliviivaa","sisennä","pienennä sisennystä","täysikokoinen","pienennä","vaakaviiva","järjestetty lista","järjestämätön lista","leikkaa","valitse kaikki","Sisällytä koodi","Avaa linkki","Muokkaa linkkiä","Älä seuraa","Pura linkki","Päivitä","Muokkaa","Ver","URL","Muokkaa","Vaaka-asemointi","Suodatin","Järjestä muuttuneilla","Järjestä nimellä","Järjestä koolla","Lisää kansio","Nollaa","Tallenna","Tallenna nimellä ...","Muuta kokoa","Rajaa","Leveys","Korkeus","Säilytä kuvasuhde","Kyllä","Ei","Poista","Valitse","Valitse: %s","Pystyasemointi","Jaa","Yhdistä","Lisää sarake","Lisää rivi",null,"Poista","Jaa pystysuuntaisesti","Jaa vaakasuuntaisesti","Reuna","Koodi on HTML:n tapaista. Säilytetäänkö HTML?","Liitä HTML:nä?","Säilytä","Lisää tekstinä","Lisää vain teksti","Voit muokata vain omia kuvia. Lataa tämä kuva palvelimelle?","Kuva on onnistuneesti ladattu palvelimelle!","paletti","Tiedostoja ei ole","Nimeä uudelleen","Syötä uusi nimi","esikatselu","Lataa","Liitä leikepöydältä","Selaimesi ei tue suoraa pääsyä leikepöydälle.","Kopioi valinta","kopioi","Reunan pyöristys","Näytä kaikki","Käytä","Täytä tämä kenttä","Annan web-osoite","Oletus","Ympyrä","Piste","Neliö","Hae","Hae edellinen","Hae seuraava","Liitetty sisältö tulee Microsoft Word-/Excel- tiedostosta. Haluatko säilyttää muotoilun vai poistaa sen?","Word liittäminen havaittu","Tyhjennä","Lisää luokkanimi","Paina Alt muokattuun koon muuttamiseen"]
41750
+
41751
+ /***/ }),
41752
+
41649
41753
  /***/ 12414:
41650
41754
  /***/ (function(module) {
41651
41755