jodit 4.6.19 → 4.7.3

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 (77) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/es2015/jodit.css +1 -1
  3. package/es2015/jodit.fat.min.js +248 -4
  4. package/es2015/jodit.js +35172 -37099
  5. package/es2015/jodit.min.js +248 -4
  6. package/es2015/plugins/debug/debug.css +1 -1
  7. package/es2015/plugins/debug/debug.js +44 -74
  8. package/es2015/plugins/debug/debug.min.js +5 -4
  9. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  10. package/es2015/plugins/speech-recognize/speech-recognize.js +616 -714
  11. package/es2015/plugins/speech-recognize/speech-recognize.min.js +2 -4
  12. package/es2018/jodit.fat.min.js +248 -4
  13. package/es2018/jodit.min.js +248 -4
  14. package/es2018/plugins/debug/debug.min.js +5 -4
  15. package/es2018/plugins/speech-recognize/speech-recognize.min.js +2 -4
  16. package/es2021/jodit.css +1 -1
  17. package/es2021/jodit.fat.min.js +262 -4
  18. package/es2021/jodit.js +34762 -36981
  19. package/es2021/jodit.min.js +262 -4
  20. package/es2021/plugins/debug/debug.css +1 -1
  21. package/es2021/plugins/debug/debug.js +42 -72
  22. package/es2021/plugins/debug/debug.min.js +5 -4
  23. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  24. package/es2021/plugins/speech-recognize/speech-recognize.js +614 -712
  25. package/es2021/plugins/speech-recognize/speech-recognize.min.js +2 -4
  26. package/es2021.en/jodit.css +1 -1
  27. package/es2021.en/jodit.fat.min.js +262 -4
  28. package/es2021.en/jodit.js +33513 -35465
  29. package/es2021.en/jodit.min.js +262 -4
  30. package/es2021.en/plugins/debug/debug.css +1 -1
  31. package/es2021.en/plugins/debug/debug.js +42 -72
  32. package/es2021.en/plugins/debug/debug.min.js +5 -4
  33. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  34. package/es2021.en/plugins/speech-recognize/speech-recognize.js +318 -347
  35. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +2 -4
  36. package/es5/jodit.css +2 -2
  37. package/es5/jodit.fat.min.js +2 -4
  38. package/es5/jodit.js +42977 -39182
  39. package/es5/jodit.min.css +2 -2
  40. package/es5/jodit.min.js +2 -4
  41. package/es5/plugins/debug/debug.css +1 -1
  42. package/es5/plugins/debug/debug.js +152 -163
  43. package/es5/plugins/debug/debug.min.js +2 -4
  44. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  45. package/es5/plugins/speech-recognize/speech-recognize.js +755 -777
  46. package/es5/plugins/speech-recognize/speech-recognize.min.js +2 -4
  47. package/es5/polyfills.fat.min.js +8 -0
  48. package/es5/{415.js → polyfills.js} +177 -5
  49. package/es5/polyfills.min.js +8 -0
  50. package/esm/config.js +3 -0
  51. package/esm/core/constants.js +1 -1
  52. package/esm/core/helpers/utils/assert.js +4 -0
  53. package/esm/core/ui/form/inputs/input/input.d.ts +1 -0
  54. package/esm/core/view/view.d.ts +1 -1
  55. package/esm/core/view/view.js +1 -1
  56. package/esm/jodit.js +6 -1
  57. package/esm/modules/dialog/dialog.js +5 -5
  58. package/esm/modules/status-bar/status-bar.d.ts +1 -1
  59. package/esm/plugins/tab/cases/on-tab-inside-li.js +1 -1
  60. package/esm/tsconfig.json +1 -1
  61. package/package.json +3 -5
  62. package/types/core/ui/form/inputs/input/input.d.ts +1 -0
  63. package/types/core/view/view.d.ts +1 -1
  64. package/types/modules/status-bar/status-bar.d.ts +1 -1
  65. package/types/tsconfig.json +1 -1
  66. package/es2018/jodit.css +0 -5386
  67. package/es2018/jodit.js +0 -45274
  68. package/es2018/plugins/debug/debug.css +0 -53
  69. package/es2018/plugins/debug/debug.js +0 -236
  70. package/es2018/plugins/speech-recognize/speech-recognize.css +0 -43
  71. package/es2018/plugins/speech-recognize/speech-recognize.js +0 -1199
  72. package/es5/415.fat.min.js +0 -10
  73. package/es5/415.min.js +0 -10
  74. package/es5/5.fat.min.js +0 -10
  75. package/es5/5.js +0 -76
  76. package/es5/5.min.js +0 -10
  77. package/esm/polyfills.js +0 -54
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.6.19
4
+ * Version: v4.7.3
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -18,278 +18,187 @@
18
18
  })(self, function() {
19
19
  return (self["webpackChunkjodit"] = self["webpackChunkjodit"] || []).push([[882],{
20
20
 
21
- /***/ 3424:
21
+ /***/ 8858:
22
22
  /***/ (function(module) {
23
23
 
24
- "use strict";
25
-
26
24
  /*!
27
25
  * Jodit Editor (https://xdsoft.net/jodit/)
28
26
  * Released under MIT see LICENSE.txt in the project root for license information.
29
27
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
30
- */
31
- module.exports = {
32
- newline: 'regel',
33
- delete: 'verwijderen',
34
- space: 'ruimte',
35
- 'Speech Recognize': 'Spraak Herkennen',
36
- Sound: 'Geluid',
37
- 'Interim Results': 'Tussentijdse Resultaten'
28
+ */ module.exports = {
29
+ newline: 'חדשות',
30
+ delete: 'מחק',
31
+ space: 'שטח',
32
+ 'Speech Recognize': 'דיבור מזהה',
33
+ Sound: 'קול',
34
+ 'Interim Results': 'תוצאות ביניים'
38
35
  };
39
36
 
40
37
 
41
38
  /***/ }),
42
39
 
43
- /***/ 13958:
44
- /***/ (function(module) {
40
+ /***/ 8962:
41
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
45
42
 
46
43
  "use strict";
47
-
44
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
45
+ /* harmony export */ execSpellCommand: function() { return /* binding */ execSpellCommand; }
46
+ /* harmony export */ });
48
47
  /*!
49
48
  * Jodit Editor (https://xdsoft.net/jodit/)
50
49
  * Released under MIT see LICENSE.txt in the project root for license information.
51
50
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
52
- */
53
- module.exports = {
54
- newline: 'nouvelle ligne',
55
- delete: 'supprimer',
56
- space: 'espace',
57
- 'Speech Recognize': 'Reconnaissance Vocale',
58
- Sound: 'Son',
59
- 'Interim Results': 'Résultats Intermédiaires'
60
- };
51
+ */ /**
52
+ * @module plugins/speech-recognize
53
+ */ function execSpellCommand(jodit, commandSentence) {
54
+ const [command, value] = commandSentence.split('::');
55
+ jodit.execCommand(command, null, value);
56
+ }
61
57
 
62
58
 
63
59
  /***/ }),
64
60
 
65
- /***/ 14765:
61
+ /***/ 10179:
66
62
  /***/ (function(module) {
67
63
 
68
- "use strict";
69
-
70
64
  /*!
71
65
  * Jodit Editor (https://xdsoft.net/jodit/)
72
66
  * Released under MIT see LICENSE.txt in the project root for license information.
73
67
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
74
- */
75
- module.exports = {
76
- newline: 'újsor',
77
- delete: 'törlés',
78
- space: 'tér',
79
- 'Speech Recognize': 'A Beszéd Felismeri',
80
- Sound: 'Hang',
81
- 'Interim Results': 'Időközi Eredmények'
68
+ */ module.exports = {
69
+ newline: 'новая строка|перенос|ентер',
70
+ delete: 'видалити',
71
+ space: 'пробел',
72
+ 'Speech Recognize': 'Распознавание речи',
73
+ Sound: 'Звук',
74
+ 'Interim Results': 'Проміжні результати'
82
75
  };
83
76
 
84
77
 
85
78
  /***/ }),
86
79
 
87
- /***/ 15603:
80
+ /***/ 18712:
88
81
  /***/ (function(module) {
89
82
 
90
- "use strict";
91
-
92
83
  /*!
93
84
  * Jodit Editor (https://xdsoft.net/jodit/)
94
85
  * Released under MIT see LICENSE.txt in the project root for license information.
95
86
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
96
- */
97
- module.exports = {
98
- newline: 'خط جدید',
99
- delete: 'حذف',
100
- space: 'فضا',
101
- 'Speech Recognize': 'گفتار را تشخیص دهید',
102
- Sound: 'صدا',
103
- 'Interim Results': 'نتایج موقت'
87
+ */ module.exports = {
88
+ newline: '改行',
89
+ delete: '削除',
90
+ space: 'スペース',
91
+ 'Speech Recognize': '音声認識',
92
+ Sound: '',
93
+ 'Interim Results': '中間結果'
104
94
  };
105
95
 
106
96
 
107
97
  /***/ }),
108
98
 
109
- /***/ 16491:
99
+ /***/ 19922:
110
100
  /***/ (function(module) {
111
101
 
112
- "use strict";
113
-
114
102
  /*!
115
103
  * Jodit Editor (https://xdsoft.net/jodit/)
116
104
  * Released under MIT see LICENSE.txt in the project root for license information.
117
105
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
118
- */
119
- module.exports = {
120
- newline: 'новая строка|перенос|энтер',
121
- delete: 'удалить',
122
- space: 'пробел',
123
- 'Speech Recognize': 'Распознавание речи',
124
- Sound: 'Звук',
125
- 'Interim Results': 'Промежуточные результаты'
106
+ */ module.exports = {
107
+ newline: 'الخط الجديد',
108
+ delete: 'حذف',
109
+ space: 'الفضاء',
110
+ 'Speech Recognize': 'التعرف على الكلام',
111
+ Sound: 'الصوت',
112
+ 'Interim Results': 'النتائج المؤقتة'
126
113
  };
127
114
 
128
115
 
129
116
  /***/ }),
130
117
 
131
- /***/ 18717:
118
+ /***/ 20759:
132
119
  /***/ (function(module) {
133
120
 
134
- "use strict";
135
-
136
121
  /*!
137
122
  * Jodit Editor (https://xdsoft.net/jodit/)
138
123
  * Released under MIT see LICENSE.txt in the project root for license information.
139
124
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
140
- */
141
- module.exports = {
142
- newline: 'חדשות',
143
- delete: 'מחק',
144
- space: 'שטח',
145
- 'Speech Recognize': 'דיבור מזהה',
146
- Sound: 'קול',
147
- 'Interim Results': 'תוצאות ביניים'
125
+ */ module.exports = {
126
+ newline: 'řádek',
127
+ delete: 'odstranit',
128
+ space: 'prostora',
129
+ 'Speech Recognize': 'Rozpoznání Řeči',
130
+ Sound: 'Zvuk',
131
+ 'Interim Results': 'Průběžné Výsledky'
148
132
  };
149
133
 
150
134
 
151
135
  /***/ }),
152
136
 
153
- /***/ 20825:
137
+ /***/ 22227:
154
138
  /***/ (function(module) {
155
139
 
156
- "use strict";
140
+ module.exports = "<svg viewBox=\"0 0 16 16\" xml:space=\"preserve\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M8,11c1.657,0,3-1.343,3-3V3c0-1.657-1.343-3-3-3S5,1.343,5,3v5C5,9.657,6.343,11,8,11z\"/> <path d=\"M13,8V6h-1l0,1.844c0,1.92-1.282,3.688-3.164,4.071C6.266,12.438,4,10.479,4,8V6H3v2c0,2.414,1.721,4.434,4,4.899V15H5v1h6 v-1H9v-2.101C11.279,12.434,13,10.414,13,8z\"/> </svg>"
141
+
142
+ /***/ }),
143
+
144
+ /***/ 22350:
145
+ /***/ (function(module) {
157
146
 
158
147
  /*!
159
148
  * Jodit Editor (https://xdsoft.net/jodit/)
160
149
  * Released under MIT see LICENSE.txt in the project root for license information.
161
150
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
162
- */
163
- module.exports = {
164
- newline: 'nylinje',
165
- delete: 'slette',
166
- space: 'rom',
167
- 'Speech Recognize': 'Talegjenkjenning',
168
- Sound: 'Lyd',
169
- 'Interim Results': 'Midlertidige resultater'
151
+ */ module.exports = {
152
+ newline: 'Zeilenumbruch',
153
+ delete: 'löschen',
154
+ space: 'Raum',
155
+ 'Speech Recognize': 'Sprache Erkennen',
156
+ Sound: 'Sound',
157
+ 'Interim Results': 'Zwischenergebnis'
170
158
  };
171
159
 
172
160
 
173
161
  /***/ }),
174
162
 
175
- /***/ 22227:
163
+ /***/ 22922:
176
164
  /***/ (function(module) {
177
165
 
178
- module.exports = "<svg viewBox=\"0 0 16 16\" xml:space=\"preserve\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M8,11c1.657,0,3-1.343,3-3V3c0-1.657-1.343-3-3-3S5,1.343,5,3v5C5,9.657,6.343,11,8,11z\"/> <path d=\"M13,8V6h-1l0,1.844c0,1.92-1.282,3.688-3.164,4.071C6.266,12.438,4,10.479,4,8V6H3v2c0,2.414,1.721,4.434,4,4.899V15H5v1h6 v-1H9v-2.101C11.279,12.434,13,10.414,13,8z\"/> </svg>"
179
-
180
- /***/ }),
181
-
182
- /***/ 25202:
183
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
184
-
185
- "use strict";
186
- __webpack_require__.r(__webpack_exports__);
187
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
188
- /* harmony export */ ar: function() { return /* reexport module object */ _ar_js__WEBPACK_IMPORTED_MODULE_0__; },
189
- /* harmony export */ cs_cz: function() { return /* reexport module object */ _cs_cz_js__WEBPACK_IMPORTED_MODULE_1__; },
190
- /* harmony export */ de: function() { return /* reexport module object */ _de_js__WEBPACK_IMPORTED_MODULE_2__; },
191
- /* harmony export */ es: function() { return /* reexport module object */ _es_js__WEBPACK_IMPORTED_MODULE_3__; },
192
- /* harmony export */ fa: function() { return /* reexport module object */ _fa_js__WEBPACK_IMPORTED_MODULE_4__; },
193
- /* harmony export */ fi: function() { return /* reexport module object */ _fi_js__WEBPACK_IMPORTED_MODULE_5__; },
194
- /* harmony export */ fr: function() { return /* reexport module object */ _fr_js__WEBPACK_IMPORTED_MODULE_6__; },
195
- /* harmony export */ he: function() { return /* reexport module object */ _he_js__WEBPACK_IMPORTED_MODULE_7__; },
196
- /* harmony export */ hu: function() { return /* reexport module object */ _hu_js__WEBPACK_IMPORTED_MODULE_8__; },
197
- /* harmony export */ id: function() { return /* reexport module object */ _id_js__WEBPACK_IMPORTED_MODULE_9__; },
198
- /* harmony export */ it: function() { return /* reexport module object */ _it_js__WEBPACK_IMPORTED_MODULE_10__; },
199
- /* harmony export */ ja: function() { return /* reexport module object */ _ja_js__WEBPACK_IMPORTED_MODULE_11__; },
200
- /* harmony export */ ko: function() { return /* reexport module object */ _ko_js__WEBPACK_IMPORTED_MODULE_12__; },
201
- /* harmony export */ mn: function() { return /* reexport module object */ _mn_js__WEBPACK_IMPORTED_MODULE_13__; },
202
- /* harmony export */ nl: function() { return /* reexport module object */ _nl_js__WEBPACK_IMPORTED_MODULE_14__; },
203
- /* harmony export */ no: function() { return /* reexport module object */ _no_js__WEBPACK_IMPORTED_MODULE_15__; },
204
- /* harmony export */ pl: function() { return /* reexport module object */ _pl_js__WEBPACK_IMPORTED_MODULE_16__; },
205
- /* harmony export */ pt_br: function() { return /* reexport module object */ _pt_br_js__WEBPACK_IMPORTED_MODULE_17__; },
206
- /* harmony export */ ru: function() { return /* reexport module object */ _ru_js__WEBPACK_IMPORTED_MODULE_18__; },
207
- /* harmony export */ tr: function() { return /* reexport module object */ _tr_js__WEBPACK_IMPORTED_MODULE_19__; },
208
- /* harmony export */ ua: function() { return /* reexport module object */ _ua_js__WEBPACK_IMPORTED_MODULE_20__; },
209
- /* harmony export */ zh_cn: function() { return /* reexport module object */ _zh_cn_js__WEBPACK_IMPORTED_MODULE_21__; },
210
- /* harmony export */ zh_tw: function() { return /* reexport module object */ _zh_tw_js__WEBPACK_IMPORTED_MODULE_22__; }
211
- /* harmony export */ });
212
- /* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(61593);
213
- /* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_ar_js__WEBPACK_IMPORTED_MODULE_0__);
214
- /* harmony import */ var _cs_cz_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(64458);
215
- /* harmony import */ var _cs_cz_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_cs_cz_js__WEBPACK_IMPORTED_MODULE_1__);
216
- /* harmony import */ var _de_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(89601);
217
- /* harmony import */ var _de_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_de_js__WEBPACK_IMPORTED_MODULE_2__);
218
- /* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(87710);
219
- /* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_es_js__WEBPACK_IMPORTED_MODULE_3__);
220
- /* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(15603);
221
- /* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_fa_js__WEBPACK_IMPORTED_MODULE_4__);
222
- /* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(84059);
223
- /* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_fi_js__WEBPACK_IMPORTED_MODULE_5__);
224
- /* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(13958);
225
- /* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_fr_js__WEBPACK_IMPORTED_MODULE_6__);
226
- /* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(18717);
227
- /* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_he_js__WEBPACK_IMPORTED_MODULE_7__);
228
- /* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(14765);
229
- /* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_hu_js__WEBPACK_IMPORTED_MODULE_8__);
230
- /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(77995);
231
- /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_id_js__WEBPACK_IMPORTED_MODULE_9__);
232
- /* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(92315);
233
- /* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_it_js__WEBPACK_IMPORTED_MODULE_10__);
234
- /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(54711);
235
- /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_ja_js__WEBPACK_IMPORTED_MODULE_11__);
236
- /* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(68632);
237
- /* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_ko_js__WEBPACK_IMPORTED_MODULE_12__);
238
- /* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(76769);
239
- /* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_mn_js__WEBPACK_IMPORTED_MODULE_13__);
240
- /* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(3424);
241
- /* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_nl_js__WEBPACK_IMPORTED_MODULE_14__);
242
- /* harmony import */ var _no_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(20825);
243
- /* harmony import */ var _no_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_no_js__WEBPACK_IMPORTED_MODULE_15__);
244
- /* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(85454);
245
- /* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_pl_js__WEBPACK_IMPORTED_MODULE_16__);
246
- /* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(64149);
247
- /* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_pt_br_js__WEBPACK_IMPORTED_MODULE_17__);
248
- /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(16491);
249
- /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_ru_js__WEBPACK_IMPORTED_MODULE_18__);
250
- /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(48948);
251
- /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_tr_js__WEBPACK_IMPORTED_MODULE_19__);
252
- /* harmony import */ var _ua_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(95700);
253
- /* harmony import */ var _ua_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_ua_js__WEBPACK_IMPORTED_MODULE_20__);
254
- /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(84370);
255
- /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(_zh_cn_js__WEBPACK_IMPORTED_MODULE_21__);
256
- /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(56646);
257
- /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(_zh_tw_js__WEBPACK_IMPORTED_MODULE_22__);
258
166
  /*!
259
167
  * Jodit Editor (https://xdsoft.net/jodit/)
260
168
  * Released under MIT see LICENSE.txt in the project root for license information.
261
169
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
262
- */
263
- // @ts-nocheck
264
-
265
-
266
-
267
-
268
-
269
-
270
-
271
-
272
-
273
-
274
-
275
-
276
-
277
-
278
-
279
-
280
-
281
-
282
-
283
-
170
+ */ module.exports = {
171
+ newline: 'újsor',
172
+ delete: 'törlés',
173
+ space: 'tér',
174
+ 'Speech Recognize': 'A Beszéd Felismeri',
175
+ Sound: 'Hang',
176
+ 'Interim Results': 'Időközi Eredmények'
177
+ };
284
178
 
285
179
 
180
+ /***/ }),
286
181
 
182
+ /***/ 29475:
183
+ /***/ (function(module) {
287
184
 
185
+ /*!
186
+ * Jodit Editor (https://xdsoft.net/jodit/)
187
+ * Released under MIT see LICENSE.txt in the project root for license information.
188
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
189
+ */ module.exports = {
190
+ newline: '換行',
191
+ delete: '刪除',
192
+ space: '空白',
193
+ 'Speech Recognize': '語音辨識',
194
+ Sound: '聲音',
195
+ 'Interim Results': '階段性辨識結果'
196
+ };
288
197
 
289
198
 
290
199
  /***/ }),
291
200
 
292
- /***/ 37873:
201
+ /***/ 31262:
293
202
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
294
203
 
295
204
  "use strict";
@@ -297,21 +206,26 @@ __webpack_require__.r(__webpack_exports__);
297
206
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
298
207
  /* harmony export */ SpeechRecognizeNative: function() { return /* binding */ SpeechRecognizeNative; }
299
208
  /* harmony export */ });
300
- /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
301
- /* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(66927);
302
- /* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(55186);
303
- /* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(56298);
304
- /* harmony import */ var jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(84976);
305
- /* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(71005);
306
- /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(71096);
307
- /* harmony import */ var _jodit__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(46173);
308
- /* harmony import */ var _helpers_exec_spell_command__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(50834);
309
- /* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(25202);
209
+ /* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25045);
210
+ /* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(31635);
211
+ /* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(68616);
212
+ /* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23211);
213
+ /* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(28077);
214
+ /* harmony import */ var jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(71125);
215
+ /* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(91206);
216
+ /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(75143);
217
+ /* harmony import */ var _jodit__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(73302);
218
+ /* harmony import */ var _helpers_exec_spell_command__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(8962);
219
+ /* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(43219);
310
220
  /*!
311
221
  * Jodit Editor (https://xdsoft.net/jodit/)
312
222
  * Released under MIT see LICENSE.txt in the project root for license information.
313
223
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
314
- */
224
+ */ /**
225
+ * [[include:plugins/speech-recognize/README.md]]
226
+ * @packageDocumentation
227
+ * @module plugins/speech-recognize
228
+ */
315
229
 
316
230
 
317
231
 
@@ -323,29 +237,19 @@ __webpack_require__.r(__webpack_exports__);
323
237
 
324
238
 
325
239
 
326
- class SpeechRecognizeNative extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_5__/* .Plugin */ .k {
327
- constructor() {
328
- super(...arguments);
329
- this.buttons = [
330
- {
331
- group: 'state',
332
- name: 'speechRecognize'
333
- }
334
- ];
335
- this._commandToWord = {};
336
- }
240
+ class SpeechRecognizeNative extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_6__.Plugin {
337
241
  afterInit(jodit) {
338
242
  const { commands } = jodit.o.speechRecognize;
339
243
  if (commands) {
340
- (0,jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_9__);
341
- (0,jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_4__/* .keys */ .HP)(commands, false).forEach(words => {
244
+ (0,jodit_core_global__WEBPACK_IMPORTED_MODULE_4__.extendLang)(_langs__WEBPACK_IMPORTED_MODULE_10__);
245
+ (0,jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_5__.keys)(commands, false).forEach((words)=>{
342
246
  const keys = words.split('|');
343
- keys.forEach(key => {
247
+ keys.forEach((key)=>{
344
248
  key = key.trim().toLowerCase();
345
249
  this._commandToWord[key] = commands[words];
346
250
  const translatedKeys = jodit.i18n(key);
347
251
  if (translatedKeys !== key) {
348
- translatedKeys.split('|').forEach(translatedKey => {
252
+ translatedKeys.split('|').forEach((translatedKey)=>{
349
253
  this._commandToWord[translatedKey.trim().toLowerCase()] = commands[words].trim();
350
254
  });
351
255
  }
@@ -354,7 +258,7 @@ class SpeechRecognizeNative extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_5
354
258
  }
355
259
  }
356
260
  beforeDestruct(jodit) {
357
- jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.safeRemove(this.messagePopup);
261
+ jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__.Dom.safeRemove(this.messagePopup);
358
262
  }
359
263
  onSpeechRecognizeProgressResult(text) {
360
264
  if (!this.messagePopup) {
@@ -362,32 +266,25 @@ class SpeechRecognizeNative extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_5
362
266
  }
363
267
  this.j.workplace.appendChild(this.messagePopup);
364
268
  this.j.async.clearTimeout(this.__hidePopupTimeout);
365
- this.__hidePopupTimeout = this.j.async.setTimeout(() => {
366
- jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.safeRemove(this.messagePopup);
269
+ this.__hidePopupTimeout = this.j.async.setTimeout(()=>{
270
+ jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__.Dom.safeRemove(this.messagePopup);
367
271
  }, 1000);
368
272
  this.messagePopup.innerText = text + '|';
369
273
  }
370
274
  onSpeechRecognizeResult(text) {
371
275
  this.j.async.clearTimeout(this.__hidePopupTimeout);
372
- jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.safeRemove(this.messagePopup);
276
+ jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__.Dom.safeRemove(this.messagePopup);
373
277
  const { j } = this;
374
278
  const { s } = j;
375
279
  if (!this._checkCommand(text)) {
376
280
  const { range } = s, node = s.current();
377
- if (s.isCollapsed() &&
378
- jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.isText(node) &&
379
- jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.isOrContains(j.editor, node) &&
380
- node.nodeValue) {
281
+ if (s.isCollapsed() && jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__.Dom.isText(node) && jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__.Dom.isOrContains(j.editor, node) && node.nodeValue) {
381
282
  const sentence = node.nodeValue;
382
- node.nodeValue =
383
- sentence +
384
- (/[\u00A0 ]\uFEFF*$/.test(sentence) ? '' : ' ') +
385
- text;
283
+ node.nodeValue = sentence + (/[\u00A0 ]\uFEFF*$/.test(sentence) ? '' : ' ') + text;
386
284
  range.setStartAfter(node);
387
285
  s.selectRange(range);
388
286
  j.synchronizeValues();
389
- }
390
- else {
287
+ } else {
391
288
  s.insertHTML(text);
392
289
  }
393
290
  }
@@ -395,216 +292,236 @@ class SpeechRecognizeNative extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_5
395
292
  _checkCommand(command) {
396
293
  command = command.toLowerCase().replace(/\./g, '');
397
294
  if (this._commandToWord[command]) {
398
- (0,_helpers_exec_spell_command__WEBPACK_IMPORTED_MODULE_8__/* .execSpellCommand */ .F)(this.j, this._commandToWord[command]);
295
+ (0,_helpers_exec_spell_command__WEBPACK_IMPORTED_MODULE_9__.execSpellCommand)(this.j, this._commandToWord[command]);
399
296
  return true;
400
297
  }
401
298
  return false;
402
299
  }
300
+ constructor(...args){
301
+ super(...args), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "buttons", [
302
+ {
303
+ group: 'state',
304
+ name: 'speechRecognize'
305
+ }
306
+ ]), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "messagePopup", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__hidePopupTimeout", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "_commandToWord", {});
307
+ }
403
308
  }
404
- (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
405
- (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__/* .watch */ .w)(':speechRecognizeProgressResult')
309
+ (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
310
+ (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_2__.watch)(':speechRecognizeProgressResult')
406
311
  ], SpeechRecognizeNative.prototype, "onSpeechRecognizeProgressResult", null);
407
- (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
408
- (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__/* .watch */ .w)(':speechRecognizeResult')
312
+ (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
313
+ (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_2__.watch)(':speechRecognizeResult')
409
314
  ], SpeechRecognizeNative.prototype, "onSpeechRecognizeResult", null);
410
- _jodit__WEBPACK_IMPORTED_MODULE_7__/* .Jodit */ .x.plugins.add('speech-recognize', SpeechRecognizeNative);
315
+ _jodit__WEBPACK_IMPORTED_MODULE_8__.Jodit.plugins.add('speech-recognize', SpeechRecognizeNative);
411
316
 
412
317
 
413
318
  /***/ }),
414
319
 
415
- /***/ 48948:
416
- /***/ (function(module) {
320
+ /***/ 32560:
321
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
417
322
 
418
323
  "use strict";
419
-
324
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
325
+ /* harmony export */ sound: function() { return /* binding */ sound; }
326
+ /* harmony export */ });
327
+ /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81937);
328
+ /* harmony import */ var jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(94092);
420
329
  /*!
421
330
  * Jodit Editor (https://xdsoft.net/jodit/)
422
331
  * Released under MIT see LICENSE.txt in the project root for license information.
423
332
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
424
- */
425
- module.exports = {
426
- newline: 'yeni satır',
427
- delete: 'silmek',
428
- space: 'uzay',
429
- 'Speech Recognize': 'Konuşma Tanıma',
430
- Sound: 'Ses',
431
- 'Interim Results': 'Ara Sonuçlar'
432
- };
333
+ */ /**
334
+ * @module plugins/speech-recognize
335
+ */
336
+
337
+ /**
338
+ * @internal
339
+ */ function sound({ sec = 0.1, frequency = jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_1__.PII, gain = 0.1, type = 'sine' } = {}) {
340
+ if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow || typeof jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.AudioContext === 'undefined' && typeof jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.webkitAudioContext === 'undefined') {
341
+ return;
342
+ }
343
+ // one context per document
344
+ const context = new (jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.AudioContext || jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.webkitAudioContext)();
345
+ const vol = context.createGain();
346
+ const osc = context.createOscillator();
347
+ osc.type = type;
348
+ osc.frequency.value = frequency; // Hz
349
+ osc.connect(vol);
350
+ vol.connect(context.destination);
351
+ osc.start(); // start the oscillator
352
+ osc.stop(context.currentTime + sec);
353
+ vol.gain.value = gain;
354
+ }
433
355
 
434
356
 
435
357
  /***/ }),
436
358
 
437
- /***/ 50834:
438
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
439
-
440
- "use strict";
441
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
442
- /* harmony export */ F: function() { return /* binding */ execSpellCommand; }
443
- /* harmony export */ });
444
- /*!
445
- * Jodit Editor (https://xdsoft.net/jodit/)
446
- * Released under MIT see LICENSE.txt in the project root for license information.
447
- * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
448
- */
449
- function execSpellCommand(jodit, commandSentence) {
450
- const [command, value] = commandSentence.split('::');
451
- jodit.execCommand(command, null, value);
452
- }
453
-
454
-
455
- /***/ }),
456
-
457
- /***/ 54711:
458
- /***/ (function(module) {
459
-
460
- "use strict";
359
+ /***/ 33276:
360
+ /***/ (function(module) {
461
361
 
462
362
  /*!
463
363
  * Jodit Editor (https://xdsoft.net/jodit/)
464
364
  * Released under MIT see LICENSE.txt in the project root for license information.
465
365
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
466
- */
467
- module.exports = {
468
- newline: '改行',
469
- delete: '削除',
470
- space: 'スペース',
471
- 'Speech Recognize': '音声認識',
472
- Sound: '',
473
- 'Interim Results': '中間結果'
366
+ */ module.exports = {
367
+ 'Speech Recognize': 'Puheentunnistus',
368
+ newline: 'uusi rivi',
369
+ delete: 'poistaa',
370
+ space: 'tilaa',
371
+ Sound: 'Ääni',
372
+ 'Interim Results': 'Välitulokset'
474
373
  };
475
374
 
476
375
 
477
376
  /***/ }),
478
377
 
479
- /***/ 56646:
378
+ /***/ 35420:
480
379
  /***/ (function(module) {
481
380
 
482
- "use strict";
483
-
484
381
  /*!
485
382
  * Jodit Editor (https://xdsoft.net/jodit/)
486
383
  * Released under MIT see LICENSE.txt in the project root for license information.
487
384
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
488
- */
489
- module.exports = {
490
- newline: '換行',
491
- delete: '刪除',
492
- space: '空白',
493
- 'Speech Recognize': '語音辨識',
494
- Sound: '聲音',
495
- 'Interim Results': '階段性辨識結果'
385
+ */ module.exports = {
386
+ newline: 'nuova riga',
387
+ delete: 'eliminare',
388
+ space: 'spazio',
389
+ 'Speech Recognize': 'Discorso Riconoscere',
390
+ Sound: 'Suono',
391
+ 'Interim Results': 'Risultati intermedi'
496
392
  };
497
393
 
498
394
 
499
395
  /***/ }),
500
396
 
501
- /***/ 61593:
397
+ /***/ 37161:
502
398
  /***/ (function(module) {
503
399
 
504
- "use strict";
505
-
506
400
  /*!
507
401
  * Jodit Editor (https://xdsoft.net/jodit/)
508
402
  * Released under MIT see LICENSE.txt in the project root for license information.
509
403
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
510
- */
511
- module.exports = {
512
- newline: 'الخط الجديد',
513
- delete: 'حذف',
514
- space: 'الفضاء',
515
- 'Speech Recognize': 'التعرف على الكلام',
516
- Sound: 'الصوت',
517
- 'Interim Results': 'النتائج المؤقتة'
404
+ */ module.exports = {
405
+ newline: 'newline',
406
+ delete: 'usunąć',
407
+ space: 'przestrzeń',
408
+ 'Speech Recognize': 'Rozpoznawanie Mowy',
409
+ Sound: 'Dźwięk',
410
+ 'Interim Results': 'Wyniki Okresowe'
518
411
  };
519
412
 
520
413
 
521
414
  /***/ }),
522
415
 
523
- /***/ 64149:
416
+ /***/ 39996:
524
417
  /***/ (function(module) {
525
418
 
526
- "use strict";
527
-
528
419
  /*!
529
420
  * Jodit Editor (https://xdsoft.net/jodit/)
530
421
  * Released under MIT see LICENSE.txt in the project root for license information.
531
422
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
532
- */
533
- module.exports = {
534
- newline: 'linha',
535
- delete: 'excluir',
536
- space: 'espaco',
537
- 'Speech Recognize': 'Discurso Reconhecer',
538
- Sound: 'Som',
539
- 'Interim Results': 'Resultados Provisórios'
423
+ */ module.exports = {
424
+ newline: 'новая строка|перенос|энтер',
425
+ delete: 'удалить',
426
+ space: 'пробел',
427
+ 'Speech Recognize': 'Распознавание речи',
428
+ Sound: 'Звук',
429
+ 'Interim Results': 'Промежуточные результаты'
540
430
  };
541
431
 
542
432
 
543
433
  /***/ }),
544
434
 
545
- /***/ 64458:
546
- /***/ (function(module) {
435
+ /***/ 43219:
436
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
547
437
 
548
438
  "use strict";
549
-
439
+ __webpack_require__.r(__webpack_exports__);
440
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
441
+ /* harmony export */ ar: function() { return /* reexport module object */ _ar_js__WEBPACK_IMPORTED_MODULE_0__; },
442
+ /* harmony export */ cs_cz: function() { return /* reexport module object */ _cs_cz_js__WEBPACK_IMPORTED_MODULE_1__; },
443
+ /* harmony export */ de: function() { return /* reexport module object */ _de_js__WEBPACK_IMPORTED_MODULE_2__; },
444
+ /* harmony export */ es: function() { return /* reexport module object */ _es_js__WEBPACK_IMPORTED_MODULE_3__; },
445
+ /* harmony export */ fa: function() { return /* reexport module object */ _fa_js__WEBPACK_IMPORTED_MODULE_4__; },
446
+ /* harmony export */ fi: function() { return /* reexport module object */ _fi_js__WEBPACK_IMPORTED_MODULE_5__; },
447
+ /* harmony export */ fr: function() { return /* reexport module object */ _fr_js__WEBPACK_IMPORTED_MODULE_6__; },
448
+ /* harmony export */ he: function() { return /* reexport module object */ _he_js__WEBPACK_IMPORTED_MODULE_7__; },
449
+ /* harmony export */ hu: function() { return /* reexport module object */ _hu_js__WEBPACK_IMPORTED_MODULE_8__; },
450
+ /* harmony export */ id: function() { return /* reexport module object */ _id_js__WEBPACK_IMPORTED_MODULE_9__; },
451
+ /* harmony export */ it: function() { return /* reexport module object */ _it_js__WEBPACK_IMPORTED_MODULE_10__; },
452
+ /* harmony export */ ja: function() { return /* reexport module object */ _ja_js__WEBPACK_IMPORTED_MODULE_11__; },
453
+ /* harmony export */ ko: function() { return /* reexport module object */ _ko_js__WEBPACK_IMPORTED_MODULE_12__; },
454
+ /* harmony export */ mn: function() { return /* reexport module object */ _mn_js__WEBPACK_IMPORTED_MODULE_13__; },
455
+ /* harmony export */ nl: function() { return /* reexport module object */ _nl_js__WEBPACK_IMPORTED_MODULE_14__; },
456
+ /* harmony export */ no: function() { return /* reexport module object */ _no_js__WEBPACK_IMPORTED_MODULE_15__; },
457
+ /* harmony export */ pl: function() { return /* reexport module object */ _pl_js__WEBPACK_IMPORTED_MODULE_16__; },
458
+ /* harmony export */ pt_br: function() { return /* reexport module object */ _pt_br_js__WEBPACK_IMPORTED_MODULE_17__; },
459
+ /* harmony export */ ru: function() { return /* reexport module object */ _ru_js__WEBPACK_IMPORTED_MODULE_18__; },
460
+ /* harmony export */ tr: function() { return /* reexport module object */ _tr_js__WEBPACK_IMPORTED_MODULE_19__; },
461
+ /* harmony export */ ua: function() { return /* reexport module object */ _ua_js__WEBPACK_IMPORTED_MODULE_20__; },
462
+ /* harmony export */ zh_cn: function() { return /* reexport module object */ _zh_cn_js__WEBPACK_IMPORTED_MODULE_21__; },
463
+ /* harmony export */ zh_tw: function() { return /* reexport module object */ _zh_tw_js__WEBPACK_IMPORTED_MODULE_22__; }
464
+ /* harmony export */ });
465
+ /* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(19922);
466
+ /* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_ar_js__WEBPACK_IMPORTED_MODULE_0__);
467
+ /* harmony import */ var _cs_cz_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(20759);
468
+ /* harmony import */ var _cs_cz_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_cs_cz_js__WEBPACK_IMPORTED_MODULE_1__);
469
+ /* harmony import */ var _de_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(22350);
470
+ /* harmony import */ var _de_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_de_js__WEBPACK_IMPORTED_MODULE_2__);
471
+ /* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97509);
472
+ /* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_es_js__WEBPACK_IMPORTED_MODULE_3__);
473
+ /* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(49668);
474
+ /* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_fa_js__WEBPACK_IMPORTED_MODULE_4__);
475
+ /* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(33276);
476
+ /* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_fi_js__WEBPACK_IMPORTED_MODULE_5__);
477
+ /* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(43517);
478
+ /* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_fr_js__WEBPACK_IMPORTED_MODULE_6__);
479
+ /* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(8858);
480
+ /* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_he_js__WEBPACK_IMPORTED_MODULE_7__);
481
+ /* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(22922);
482
+ /* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_hu_js__WEBPACK_IMPORTED_MODULE_8__);
483
+ /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(81900);
484
+ /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_id_js__WEBPACK_IMPORTED_MODULE_9__);
485
+ /* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(35420);
486
+ /* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_it_js__WEBPACK_IMPORTED_MODULE_10__);
487
+ /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(18712);
488
+ /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_ja_js__WEBPACK_IMPORTED_MODULE_11__);
489
+ /* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(73363);
490
+ /* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_ko_js__WEBPACK_IMPORTED_MODULE_12__);
491
+ /* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(74762);
492
+ /* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_mn_js__WEBPACK_IMPORTED_MODULE_13__);
493
+ /* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(73759);
494
+ /* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_nl_js__WEBPACK_IMPORTED_MODULE_14__);
495
+ /* harmony import */ var _no_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(72850);
496
+ /* harmony import */ var _no_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_no_js__WEBPACK_IMPORTED_MODULE_15__);
497
+ /* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(37161);
498
+ /* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_pl_js__WEBPACK_IMPORTED_MODULE_16__);
499
+ /* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(62896);
500
+ /* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_pt_br_js__WEBPACK_IMPORTED_MODULE_17__);
501
+ /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(39996);
502
+ /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_ru_js__WEBPACK_IMPORTED_MODULE_18__);
503
+ /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(93423);
504
+ /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_tr_js__WEBPACK_IMPORTED_MODULE_19__);
505
+ /* harmony import */ var _ua_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(10179);
506
+ /* harmony import */ var _ua_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_ua_js__WEBPACK_IMPORTED_MODULE_20__);
507
+ /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(62547);
508
+ /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(_zh_cn_js__WEBPACK_IMPORTED_MODULE_21__);
509
+ /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(29475);
510
+ /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(_zh_tw_js__WEBPACK_IMPORTED_MODULE_22__);
550
511
  /*!
551
512
  * Jodit Editor (https://xdsoft.net/jodit/)
552
513
  * Released under MIT see LICENSE.txt in the project root for license information.
553
514
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
554
- */
555
- module.exports = {
556
- newline: 'řádek',
557
- delete: 'odstranit',
558
- space: 'prostora',
559
- 'Speech Recognize': 'Rozpoznání Řeči',
560
- Sound: 'Zvuk',
561
- 'Interim Results': 'Průběžné Výsledky'
562
- };
515
+ */ // @ts-nocheck
563
516
 
564
517
 
565
- /***/ }),
566
518
 
567
- /***/ 68632:
568
- /***/ (function(module) {
569
519
 
570
- "use strict";
571
520
 
572
- /*!
573
- * Jodit Editor (https://xdsoft.net/jodit/)
574
- * Released under MIT see LICENSE.txt in the project root for license information.
575
- * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
576
- */
577
- module.exports = {
578
- newline: '줄 바꿈',
579
- delete: '삭제',
580
- space: '공간',
581
- 'Speech Recognize': '음성 인식',
582
- Sound: '소리',
583
- 'Interim Results': '중간 결과'
584
- };
585
521
 
586
522
 
587
- /***/ }),
588
523
 
589
- /***/ 71096:
590
- /***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
591
524
 
592
- "use strict";
593
- /* harmony import */ var jodit_core_helpers_checker_is_boolean__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9810);
594
- /* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(98253);
595
- /* harmony import */ var jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(26150);
596
- /* harmony import */ var jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(72197);
597
- /* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(931);
598
- /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
599
- /* harmony import */ var _helpers_api__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(71722);
600
- /* harmony import */ var _helpers_recognize_manager__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(93676);
601
- /* harmony import */ var _speech_recognize_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(22227);
602
- /* harmony import */ var _speech_recognize_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_speech_recognize_svg__WEBPACK_IMPORTED_MODULE_8__);
603
- /*!
604
- * Jodit Editor (https://xdsoft.net/jodit/)
605
- * Released under MIT see LICENSE.txt in the project root for license information.
606
- * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
607
- */
608
525
 
609
526
 
610
527
 
@@ -614,224 +531,62 @@ module.exports = {
614
531
 
615
532
 
616
533
 
617
- jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.speechRecognize = {
618
- api: typeof _helpers_api__WEBPACK_IMPORTED_MODULE_6__/* .SpeechRecognition */ .o !== 'undefined' ? _helpers_api__WEBPACK_IMPORTED_MODULE_6__/* .SpeechRecognition */ .o : null,
619
- sound: true,
620
- continuous: false,
621
- interimResults: true,
622
- commands: {
623
- 'newline|enter': 'enter',
624
- 'delete|remove word|delete word': 'backspaceWordButton',
625
- comma: 'inserthtml::,',
626
- underline: 'inserthtml::_',
627
- hyphen: 'inserthtml::-',
628
- space: 'inserthtml:: ',
629
- question: 'inserthtml::?',
630
- dot: 'inserthtml::.',
631
- 'quote|quotes|open quote': "inserthtml::'",
632
- 'header|header h1': 'formatblock::h1',
633
- 'select all': 'selectall'
634
- }
635
- };
636
- jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('speech-recognize', (_speech_recognize_svg__WEBPACK_IMPORTED_MODULE_8___default()));
637
- jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.speechRecognize = {
638
- isVisible(j) {
639
- return Boolean(j.o.speechRecognize.api);
640
- },
641
- isActive(jodit, _) {
642
- const api = (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__/* .dataBind */ .m)(jodit, 'speech');
643
- return Boolean(api === null || api === void 0 ? void 0 : api.isEnabled);
644
- },
645
- isDisabled(jodit) {
646
- return !jodit.o.speechRecognize.api;
647
- },
648
- exec(jodit, current, { button, control }) {
649
- var _a;
650
- const { api: ApiConstructor, lang, continuous, interimResults, sound } = jodit.o.speechRecognize;
651
- if (!ApiConstructor) {
652
- jodit.alert('Speech recognize API unsupported in your browser');
653
- return;
654
- }
655
- let api = (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__/* .dataBind */ .m)(jodit, 'speech');
656
- if (!api) {
657
- const nativeApi = new ApiConstructor();
658
- api = new _helpers_recognize_manager__WEBPACK_IMPORTED_MODULE_7__/* .RecognizeManager */ .g(jodit.async, nativeApi);
659
- api.lang = (0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .K)(lang)
660
- ? lang
661
- : ((_a = (0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__/* .attr */ .C)(jodit.od.documentElement, 'lang')) !== null && _a !== void 0 ? _a : undefined);
662
- api.continuous = continuous;
663
- api.interimResults = interimResults;
664
- api.sound = sound;
665
- (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__/* .dataBind */ .m)(jodit, 'speech', api);
666
- api.on('pulse', (enable) => {
667
- button.setMod('pulse', enable);
668
- });
669
- api.on('result', (text) => jodit.e.fire('speechRecognizeResult', text));
670
- api.on('progress', (text) => jodit.e.fire('speechRecognizeProgressResult', text));
671
- api.on('error', (text) => jodit.message.error(text));
672
- button.hookStatus('beforeDestruct', () => {
673
- (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__/* .dataBind */ .m)(jodit, 'speech', null);
674
- api.destruct();
675
- });
676
- }
677
- if (control.args) {
678
- const key = control.args[0];
679
- if ((0,jodit_core_helpers_checker_is_boolean__WEBPACK_IMPORTED_MODULE_0__/* .isBoolean */ .L)(api[key])) {
680
- api[key] = !api[key];
681
- if (api.isEnabled) {
682
- api.restart();
683
- }
684
- return;
685
- }
686
- }
687
- api.toggle();
688
- if (api.isEnabled) {
689
- button.setMod('pulse', true);
690
- }
691
- button.state.activated = api.isEnabled;
692
- },
693
- name: 'speechRecognize',
694
- command: 'toggleSpeechRecognize',
695
- tooltip: 'Speech Recognize',
696
- list: {
697
- sound: 'Sound',
698
- interimResults: 'Interim Results'
699
- },
700
- childTemplate(jodit, key, value) {
701
- var _a;
702
- const api = (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__/* .dataBind */ .m)(jodit, 'speech'), checked = (_a = api === null || api === void 0 ? void 0 : api[key]) !== null && _a !== void 0 ? _a : jodit.o.speechRecognize[key];
703
- return `<span class='jodit-speech-recognize__list-item'><input ${checked ? 'checked' : ''} class='jodit-checkbox' type='checkbox'>&nbsp;${value}</span>`;
704
- },
705
- mods: {
706
- stroke: false
707
- }
708
- };
709
534
 
710
535
 
711
- /***/ }),
712
536
 
713
- /***/ 71722:
714
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
715
537
 
716
- "use strict";
717
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
718
- /* harmony export */ o: function() { return /* binding */ SpeechRecognition; }
719
- /* harmony export */ });
720
- /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
721
- /*!
722
- * Jodit Editor (https://xdsoft.net/jodit/)
723
- * Released under MIT see LICENSE.txt in the project root for license information.
724
- * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
725
- */
726
-
727
- const SpeechRecognition = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow
728
- ? jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.SpeechRecognition ||
729
- jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.webkitSpeechRecognition
730
- : undefined;
731
538
 
732
539
 
733
- /***/ }),
734
-
735
- /***/ 76769:
736
- /***/ (function(module) {
737
-
738
- "use strict";
739
-
740
- /*!
741
- * Jodit Editor (https://xdsoft.net/jodit/)
742
- * Released under MIT see LICENSE.txt in the project root for license information.
743
- * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
744
- */
745
- module.exports = {
746
- newline: 'Шинэ мөр',
747
- delete: 'Устгах',
748
- space: 'Зай',
749
- 'Speech Recognize': 'Дуу хоолой таних',
750
- Sound: 'Дуу',
751
- 'Interim Results': 'Түр зуурын үр дүн'
752
- };
753
540
 
754
541
 
755
542
  /***/ }),
756
543
 
757
- /***/ 77995:
544
+ /***/ 43517:
758
545
  /***/ (function(module) {
759
546
 
760
- "use strict";
761
-
762
547
  /*!
763
548
  * Jodit Editor (https://xdsoft.net/jodit/)
764
549
  * Released under MIT see LICENSE.txt in the project root for license information.
765
550
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
766
- */
767
- module.exports = {
768
- newline: 'newline',
769
- delete: 'Hapus',
770
- space: 'ruang',
771
- 'Speech Recognize': 'Pidato Mengenali',
772
- Sound: 'Suara',
773
- 'Interim Results': 'Hasil Sementara'
551
+ */ module.exports = {
552
+ newline: 'nouvelle ligne',
553
+ delete: 'supprimer',
554
+ space: 'espace',
555
+ 'Speech Recognize': 'Reconnaissance Vocale',
556
+ Sound: 'Son',
557
+ 'Interim Results': 'Résultats Intermédiaires'
774
558
  };
775
559
 
776
560
 
777
561
  /***/ }),
778
562
 
779
- /***/ 81629:
780
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
781
-
782
- "use strict";
783
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
784
- /* harmony export */ N: function() { return /* binding */ PII; },
785
- /* harmony export */ Z: function() { return /* binding */ WARN; }
786
- /* harmony export */ });
787
- /*!
788
- * Jodit Editor (https://xdsoft.net/jodit/)
789
- * Released under MIT see LICENSE.txt in the project root for license information.
790
- * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
791
- */
792
- /**
793
- * @module plugins/speech-recognize
794
- * @internal
795
- */
796
- const PII = 440;
797
- const WARN = 940;
798
-
799
-
800
- /***/ }),
801
-
802
- /***/ 84059:
563
+ /***/ 49668:
803
564
  /***/ (function(module) {
804
565
 
805
- "use strict";
806
-
807
566
  /*!
808
567
  * Jodit Editor (https://xdsoft.net/jodit/)
809
568
  * Released under MIT see LICENSE.txt in the project root for license information.
810
569
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
811
- */
812
- module.exports = {
813
- 'Speech Recognize': 'Puheentunnistus',
814
- newline: 'uusi rivi',
815
- delete: 'poistaa',
816
- space: 'tilaa',
817
- Sound: 'Ääni',
818
- 'Interim Results': 'Välitulokset'
570
+ */ module.exports = {
571
+ newline: 'خط جدید',
572
+ delete: 'حذف',
573
+ space: 'فضا',
574
+ 'Speech Recognize': 'گفتار را تشخیص دهید',
575
+ Sound: 'صدا',
576
+ 'Interim Results': 'نتایج موقت'
819
577
  };
820
578
 
821
579
 
822
580
  /***/ }),
823
581
 
824
- /***/ 84370:
582
+ /***/ 62547:
825
583
  /***/ (function(module) {
826
584
 
827
- "use strict";
828
-
829
585
  /*!
830
586
  * Jodit Editor (https://xdsoft.net/jodit/)
831
587
  * Released under MIT see LICENSE.txt in the project root for license information.
832
588
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
833
- */
834
- module.exports = {
589
+ */ module.exports = {
835
590
  newline: '新行',
836
591
  delete: '删除',
837
592
  space: '空间',
@@ -843,118 +598,51 @@ module.exports = {
843
598
 
844
599
  /***/ }),
845
600
 
846
- /***/ 85454:
847
- /***/ (function(module) {
848
-
849
- "use strict";
850
-
851
- /*!
852
- * Jodit Editor (https://xdsoft.net/jodit/)
853
- * Released under MIT see LICENSE.txt in the project root for license information.
854
- * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
855
- */
856
- module.exports = {
857
- newline: 'newline',
858
- delete: 'usunąć',
859
- space: 'przestrzeń',
860
- 'Speech Recognize': 'Rozpoznawanie Mowy',
861
- Sound: 'Dźwięk',
862
- 'Interim Results': 'Wyniki Okresowe'
863
- };
864
-
865
-
866
- /***/ }),
867
-
868
- /***/ 87710:
869
- /***/ (function(module) {
870
-
871
- "use strict";
872
-
873
- /*!
874
- * Jodit Editor (https://xdsoft.net/jodit/)
875
- * Released under MIT see LICENSE.txt in the project root for license information.
876
- * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
877
- */
878
- module.exports = {
879
- newline: 'nueva línea',
880
- delete: 'eliminar',
881
- space: 'espacio',
882
- 'Speech Recognize': 'Reconocimiento de Voz',
883
- Sound: 'Sonido',
884
- 'Interim Results': 'Resultados Provisionales'
885
- };
886
-
887
-
888
- /***/ }),
889
-
890
- /***/ 89601:
891
- /***/ (function(module) {
892
-
893
- "use strict";
894
-
895
- /*!
896
- * Jodit Editor (https://xdsoft.net/jodit/)
897
- * Released under MIT see LICENSE.txt in the project root for license information.
898
- * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
899
- */
900
- module.exports = {
901
- newline: 'Zeilenumbruch',
902
- delete: 'löschen',
903
- space: 'Raum',
904
- 'Speech Recognize': 'Sprache Erkennen',
905
- Sound: 'Sound',
906
- 'Interim Results': 'Zwischenergebnis'
907
- };
908
-
909
-
910
- /***/ }),
911
-
912
- /***/ 92315:
601
+ /***/ 62896:
913
602
  /***/ (function(module) {
914
603
 
915
- "use strict";
916
-
917
604
  /*!
918
605
  * Jodit Editor (https://xdsoft.net/jodit/)
919
606
  * Released under MIT see LICENSE.txt in the project root for license information.
920
607
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
921
- */
922
- module.exports = {
923
- newline: 'nuova riga',
924
- delete: 'eliminare',
925
- space: 'spazio',
926
- 'Speech Recognize': 'Discorso Riconoscere',
927
- Sound: 'Suono',
928
- 'Interim Results': 'Risultati intermedi'
608
+ */ module.exports = {
609
+ newline: 'linha',
610
+ delete: 'excluir',
611
+ space: 'espaco',
612
+ 'Speech Recognize': 'Discurso Reconhecer',
613
+ Sound: 'Som',
614
+ 'Interim Results': 'Resultados Provisórios'
929
615
  };
930
616
 
931
617
 
932
618
  /***/ }),
933
619
 
934
- /***/ 93676:
620
+ /***/ 68097:
935
621
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
936
622
 
937
623
  "use strict";
938
624
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
939
- /* harmony export */ g: function() { return /* binding */ RecognizeManager; }
625
+ /* harmony export */ RecognizeManager: function() { return /* binding */ RecognizeManager; }
940
626
  /* harmony export */ });
941
- /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
942
- /* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22664);
943
- /* harmony import */ var jodit_core_event_emitter_eventify__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(43431);
944
- /* harmony import */ var _sound__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(95473);
945
- /* harmony import */ var jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(81629);
627
+ /* harmony import */ var _swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25045);
628
+ /* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(31635);
629
+ /* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(84839);
630
+ /* harmony import */ var jodit_core_event_emitter_eventify__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(60216);
631
+ /* harmony import */ var _sound__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(32560);
632
+ /* harmony import */ var jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(94092);
946
633
  /*!
947
634
  * Jodit Editor (https://xdsoft.net/jodit/)
948
635
  * Released under MIT see LICENSE.txt in the project root for license information.
949
636
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
950
- */
951
- var RecognizeManager_1;
637
+ */ /**
638
+ * @module plugins/speech-recognize
639
+ */
952
640
 
953
641
 
954
642
 
955
643
 
956
644
 
957
- let RecognizeManager = RecognizeManager_1 = class RecognizeManager extends jodit_core_event_emitter_eventify__WEBPACK_IMPORTED_MODULE_2__/* .Eventify */ .h {
645
+ class RecognizeManager extends jodit_core_event_emitter_eventify__WEBPACK_IMPORTED_MODULE_3__.Eventify {
958
646
  set lang(v) {
959
647
  this._lang = v;
960
648
  this._api.lang = v;
@@ -971,38 +659,14 @@ let RecognizeManager = RecognizeManager_1 = class RecognizeManager extends jodit
971
659
  }
972
660
  set interimResults(v) {
973
661
  this._interimResults = v;
974
- this._api.interimResults = v;
975
- }
976
- get interimResults() {
977
- return this._interimResults;
978
- }
979
- constructor(async, api) {
980
- super();
981
- this.async = async;
982
- this._continuous = false;
983
- this._interimResults = false;
984
- this.sound = true;
985
- this._isEnabled = false;
986
- this._restartTimeout = 0;
987
- this._onSpeechStart = (e) => {
988
- if (!this._isEnabled) {
989
- return;
990
- }
991
- this.async.clearTimeout(this._restartTimeout);
992
- this._restartTimeout = this.async.setTimeout(() => {
993
- this.restart();
994
- this.emit('pulse', false);
995
- this._makeSound(jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_4__/* .WARN */ .Z);
996
- }, 5000);
997
- this.emit('pulse', true);
998
- };
999
- this.__interimResults = '';
1000
- this._api = api;
1001
- RecognizeManager_1._instances.add(this);
662
+ this._api.interimResults = v;
663
+ }
664
+ get interimResults() {
665
+ return this._interimResults;
1002
666
  }
1003
667
  destruct() {
1004
668
  this.stop();
1005
- RecognizeManager_1._instances.delete(this);
669
+ RecognizeManager._instances.delete(this);
1006
670
  super.destruct();
1007
671
  }
1008
672
  get isEnabled() {
@@ -1013,23 +677,19 @@ let RecognizeManager = RecognizeManager_1 = class RecognizeManager extends jodit
1013
677
  return;
1014
678
  }
1015
679
  this._isEnabled = true;
1016
- RecognizeManager_1._instances.forEach(instance => {
680
+ RecognizeManager._instances.forEach((instance)=>{
1017
681
  if (instance !== this) {
1018
682
  instance.stop();
1019
683
  }
1020
684
  });
1021
685
  try {
1022
686
  this._api.start();
1023
- }
1024
- catch (e) {
687
+ } catch (e) {
1025
688
  this._onError(e);
1026
689
  this.stop();
1027
690
  return;
1028
691
  }
1029
- this.__on('speechstart', this._onSpeechStart)
1030
- .__on('error', this._onError)
1031
- .__on('result', this._onProgress)
1032
- .__on('end', this._onResults);
692
+ this.__on('speechstart', this._onSpeechStart).__on('error', this._onError).__on('result', this._onProgress).__on('end', this._onResults);
1033
693
  }
1034
694
  stop() {
1035
695
  if (!this._isEnabled) {
@@ -1037,10 +697,7 @@ let RecognizeManager = RecognizeManager_1 = class RecognizeManager extends jodit
1037
697
  }
1038
698
  this._api.abort();
1039
699
  this._api.stop();
1040
- this.__off('speechstart', this._onSpeechStart)
1041
- .__off('error', this._onError)
1042
- .__off('result', this._onProgress)
1043
- .__off('end', this._onResults);
700
+ this.__off('speechstart', this._onSpeechStart).__off('error', this._onError).__off('result', this._onProgress).__off('end', this._onResults);
1044
701
  this.async.clearTimeout(this._restartTimeout);
1045
702
  this._isEnabled = false;
1046
703
  this.emit('pulse', false);
@@ -1048,8 +705,7 @@ let RecognizeManager = RecognizeManager_1 = class RecognizeManager extends jodit
1048
705
  toggle() {
1049
706
  if (!this._isEnabled) {
1050
707
  this.start();
1051
- }
1052
- else {
708
+ } else {
1053
709
  this.stop();
1054
710
  }
1055
711
  }
@@ -1069,7 +725,7 @@ let RecognizeManager = RecognizeManager_1 = class RecognizeManager extends jodit
1069
725
  this.emit('pulse', false);
1070
726
  this.emit('result', this.__interimResults);
1071
727
  this.__interimResults = '';
1072
- this._makeSound(jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_4__/* .PII */ .N);
728
+ this._makeSound(jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_5__.PII);
1073
729
  this.restart();
1074
730
  }
1075
731
  _onProgress(e) {
@@ -1080,7 +736,7 @@ let RecognizeManager = RecognizeManager_1 = class RecognizeManager extends jodit
1080
736
  if (!e.results) {
1081
737
  return;
1082
738
  }
1083
- for (let i = 0; i < e.results.length; i++) {
739
+ for(let i = 0; i < e.results.length; i++){
1084
740
  const resultItem = e.results.item(i);
1085
741
  if (resultItem.length) {
1086
742
  const { transcript } = resultItem.item(0);
@@ -1098,101 +754,347 @@ let RecognizeManager = RecognizeManager_1 = class RecognizeManager extends jodit
1098
754
  if (e.error === 'not-allowed') {
1099
755
  this.emit('error', 'Not allowed');
1100
756
  }
1101
- if (e.error === 'language-unavailable' ||
1102
- // @ts-ignore
1103
- e.error === 'language-not-supported') {
757
+ if (e.error === 'language-unavailable' || // @ts-ignore
758
+ e.error === 'language-not-supported') {
1104
759
  this.emit('error', 'Language unavailable');
1105
760
  }
1106
- this._makeSound(jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_4__/* .WARN */ .Z);
761
+ this._makeSound(jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_5__.WARN);
1107
762
  this.emit('pulse', false);
1108
763
  this.stop();
1109
764
  }
1110
765
  _makeSound(frequency) {
1111
766
  if (this.sound) {
1112
- (0,_sound__WEBPACK_IMPORTED_MODULE_3__/* .sound */ .s)({ frequency });
767
+ (0,_sound__WEBPACK_IMPORTED_MODULE_4__.sound)({
768
+ frequency
769
+ });
1113
770
  }
1114
771
  }
1115
- };
1116
- RecognizeManager._instances = new Set();
1117
- RecognizeManager = RecognizeManager_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
1118
- jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.autobind
772
+ constructor(async, api){
773
+ super(), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "async", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "_lang", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "_continuous", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "_interimResults", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "sound", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "_isEnabled", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "_restartTimeout", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "_onSpeechStart", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "_api", void 0), (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(this, "__interimResults", void 0), this.async = async, this._continuous = false, this._interimResults = false, this.sound = true, this._isEnabled = false, this._restartTimeout = 0, this._onSpeechStart = (e)=>{
774
+ if (!this._isEnabled) {
775
+ return;
776
+ }
777
+ this.async.clearTimeout(this._restartTimeout);
778
+ this._restartTimeout = this.async.setTimeout(()=>{
779
+ this.restart();
780
+ this.emit('pulse', false);
781
+ this._makeSound(jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_5__.WARN);
782
+ }, 5000);
783
+ this.emit('pulse', true);
784
+ }, this.__interimResults = '';
785
+ this._api = api;
786
+ RecognizeManager._instances.add(this);
787
+ }
788
+ }
789
+ (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(RecognizeManager, "_instances", new Set());
790
+ RecognizeManager = (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_1__.__decorate)([
791
+ jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
1119
792
  ], RecognizeManager);
1120
793
 
1121
794
 
795
+ /***/ }),
796
+
797
+ /***/ 72850:
798
+ /***/ (function(module) {
799
+
800
+ /*!
801
+ * Jodit Editor (https://xdsoft.net/jodit/)
802
+ * Released under MIT see LICENSE.txt in the project root for license information.
803
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
804
+ */ module.exports = {
805
+ newline: 'nylinje',
806
+ delete: 'slette',
807
+ space: 'rom',
808
+ 'Speech Recognize': 'Talegjenkjenning',
809
+ Sound: 'Lyd',
810
+ 'Interim Results': 'Midlertidige resultater'
811
+ };
812
+
813
+
814
+ /***/ }),
815
+
816
+ /***/ 73363:
817
+ /***/ (function(module) {
818
+
819
+ /*!
820
+ * Jodit Editor (https://xdsoft.net/jodit/)
821
+ * Released under MIT see LICENSE.txt in the project root for license information.
822
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
823
+ */ module.exports = {
824
+ newline: '줄 바꿈',
825
+ delete: '삭제',
826
+ space: '공간',
827
+ 'Speech Recognize': '음성 인식',
828
+ Sound: '소리',
829
+ 'Interim Results': '중간 결과'
830
+ };
831
+
1122
832
 
1123
833
  /***/ }),
1124
834
 
1125
- /***/ 95473:
1126
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
835
+ /***/ 73759:
836
+ /***/ (function(module) {
837
+
838
+ /*!
839
+ * Jodit Editor (https://xdsoft.net/jodit/)
840
+ * Released under MIT see LICENSE.txt in the project root for license information.
841
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
842
+ */ module.exports = {
843
+ newline: 'regel',
844
+ delete: 'verwijderen',
845
+ space: 'ruimte',
846
+ 'Speech Recognize': 'Spraak Herkennen',
847
+ Sound: 'Geluid',
848
+ 'Interim Results': 'Tussentijdse Resultaten'
849
+ };
850
+
851
+
852
+ /***/ }),
853
+
854
+ /***/ 74762:
855
+ /***/ (function(module) {
856
+
857
+ /*!
858
+ * Jodit Editor (https://xdsoft.net/jodit/)
859
+ * Released under MIT see LICENSE.txt in the project root for license information.
860
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
861
+ */ module.exports = {
862
+ newline: 'Шинэ мөр',
863
+ delete: 'Устгах',
864
+ space: 'Зай',
865
+ 'Speech Recognize': 'Дуу хоолой таних',
866
+ Sound: 'Дуу',
867
+ 'Interim Results': 'Түр зуурын үр дүн'
868
+ };
869
+
870
+
871
+ /***/ }),
872
+
873
+ /***/ 75143:
874
+ /***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
1127
875
 
1128
876
  "use strict";
1129
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1130
- /* harmony export */ s: function() { return /* binding */ sound; }
1131
- /* harmony export */ });
1132
- /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
1133
- /* harmony import */ var jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(81629);
877
+ /* harmony import */ var jodit_core_helpers_checker_is_boolean__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22289);
878
+ /* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(85932);
879
+ /* harmony import */ var jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7909);
880
+ /* harmony import */ var jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36400);
881
+ /* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(29434);
882
+ /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5266);
883
+ /* harmony import */ var _helpers_api__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(97743);
884
+ /* harmony import */ var _helpers_recognize_manager__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(68097);
885
+ /* harmony import */ var _speech_recognize_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(22227);
886
+ /* harmony import */ var _speech_recognize_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_speech_recognize_svg__WEBPACK_IMPORTED_MODULE_8__);
1134
887
  /*!
1135
888
  * Jodit Editor (https://xdsoft.net/jodit/)
1136
889
  * Released under MIT see LICENSE.txt in the project root for license information.
1137
890
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
1138
- */
1139
- /**
891
+ */ /**
1140
892
  * @module plugins/speech-recognize
1141
- */
893
+ */
1142
894
 
1143
895
 
1144
- /**
1145
- * @internal
1146
- */
1147
- function sound({ sec = 0.1, frequency = jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_1__/* .PII */ .N, gain = 0.1, type = 'sine' } = {}) {
1148
- if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow ||
1149
- (typeof jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.AudioContext === 'undefined' &&
1150
- typeof jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.webkitAudioContext === 'undefined')) {
1151
- return;
896
+
897
+
898
+
899
+
900
+
901
+
902
+ jodit_config__WEBPACK_IMPORTED_MODULE_5__.Config.prototype.speechRecognize = {
903
+ api: typeof _helpers_api__WEBPACK_IMPORTED_MODULE_6__.SpeechRecognition !== 'undefined' ? _helpers_api__WEBPACK_IMPORTED_MODULE_6__.SpeechRecognition : null,
904
+ sound: true,
905
+ continuous: false,
906
+ interimResults: true,
907
+ commands: {
908
+ 'newline|enter': 'enter',
909
+ 'delete|remove word|delete word': 'backspaceWordButton',
910
+ comma: 'inserthtml::,',
911
+ underline: 'inserthtml::_',
912
+ hyphen: 'inserthtml::-',
913
+ space: 'inserthtml:: ',
914
+ question: 'inserthtml::?',
915
+ dot: 'inserthtml::.',
916
+ 'quote|quotes|open quote': "inserthtml::'",
917
+ 'header|header h1': 'formatblock::h1',
918
+ 'select all': 'selectall'
1152
919
  }
1153
- // one context per document
1154
- const context = new (jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.AudioContext ||
1155
- jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.webkitAudioContext)();
1156
- const vol = context.createGain();
1157
- const osc = context.createOscillator();
1158
- osc.type = type;
1159
- osc.frequency.value = frequency; // Hz
1160
- osc.connect(vol);
1161
- vol.connect(context.destination);
1162
- osc.start(); // start the oscillator
1163
- osc.stop(context.currentTime + sec);
1164
- vol.gain.value = gain;
1165
- }
920
+ };
921
+ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__.Icon.set('speech-recognize', (_speech_recognize_svg__WEBPACK_IMPORTED_MODULE_8___default()));
922
+ jodit_config__WEBPACK_IMPORTED_MODULE_5__.Config.prototype.controls.speechRecognize = {
923
+ isVisible (j) {
924
+ return Boolean(j.o.speechRecognize.api);
925
+ },
926
+ isActive (jodit, _) {
927
+ const api = (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__.dataBind)(jodit, 'speech');
928
+ return Boolean(api === null || api === void 0 ? void 0 : api.isEnabled);
929
+ },
930
+ isDisabled (jodit) {
931
+ return !jodit.o.speechRecognize.api;
932
+ },
933
+ exec (jodit, current, { button, control }) {
934
+ const { api: ApiConstructor, lang, continuous, interimResults, sound } = jodit.o.speechRecognize;
935
+ if (!ApiConstructor) {
936
+ jodit.alert('Speech recognize API unsupported in your browser');
937
+ return;
938
+ }
939
+ let api = (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__.dataBind)(jodit, 'speech');
940
+ if (!api) {
941
+ const nativeApi = new ApiConstructor();
942
+ api = new _helpers_recognize_manager__WEBPACK_IMPORTED_MODULE_7__.RecognizeManager(jodit.async, nativeApi);
943
+ var _attr;
944
+ api.lang = (0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_1__.isString)(lang) ? lang : (_attr = (0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__.attr)(jodit.od.documentElement, 'lang')) !== null && _attr !== void 0 ? _attr : undefined;
945
+ api.continuous = continuous;
946
+ api.interimResults = interimResults;
947
+ api.sound = sound;
948
+ (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__.dataBind)(jodit, 'speech', api);
949
+ api.on('pulse', (enable)=>{
950
+ button.setMod('pulse', enable);
951
+ });
952
+ api.on('result', (text)=>jodit.e.fire('speechRecognizeResult', text));
953
+ api.on('progress', (text)=>jodit.e.fire('speechRecognizeProgressResult', text));
954
+ api.on('error', (text)=>jodit.message.error(text));
955
+ button.hookStatus('beforeDestruct', ()=>{
956
+ (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__.dataBind)(jodit, 'speech', null);
957
+ api.destruct();
958
+ });
959
+ }
960
+ if (control.args) {
961
+ const key = control.args[0];
962
+ if ((0,jodit_core_helpers_checker_is_boolean__WEBPACK_IMPORTED_MODULE_0__.isBoolean)(api[key])) {
963
+ api[key] = !api[key];
964
+ if (api.isEnabled) {
965
+ api.restart();
966
+ }
967
+ return;
968
+ }
969
+ }
970
+ api.toggle();
971
+ if (api.isEnabled) {
972
+ button.setMod('pulse', true);
973
+ }
974
+ button.state.activated = api.isEnabled;
975
+ },
976
+ name: 'speechRecognize',
977
+ command: 'toggleSpeechRecognize',
978
+ tooltip: 'Speech Recognize',
979
+ list: {
980
+ sound: 'Sound',
981
+ interimResults: 'Interim Results'
982
+ },
983
+ childTemplate (jodit, key, value) {
984
+ var _api_key;
985
+ const api = (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__.dataBind)(jodit, 'speech'), checked = (_api_key = api === null || api === void 0 ? void 0 : api[key]) !== null && _api_key !== void 0 ? _api_key : jodit.o.speechRecognize[key];
986
+ return `<span class='jodit-speech-recognize__list-item'><input ${checked ? 'checked' : ''} class='jodit-checkbox' type='checkbox'>&nbsp;${value}</span>`;
987
+ },
988
+ mods: {
989
+ stroke: false
990
+ }
991
+ };
992
+
993
+
994
+ /***/ }),
995
+
996
+ /***/ 81900:
997
+ /***/ (function(module) {
998
+
999
+ /*!
1000
+ * Jodit Editor (https://xdsoft.net/jodit/)
1001
+ * Released under MIT see LICENSE.txt in the project root for license information.
1002
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
1003
+ */ module.exports = {
1004
+ newline: 'newline',
1005
+ delete: 'Hapus',
1006
+ space: 'ruang',
1007
+ 'Speech Recognize': 'Pidato Mengenali',
1008
+ Sound: 'Suara',
1009
+ 'Interim Results': 'Hasil Sementara'
1010
+ };
1166
1011
 
1167
1012
 
1168
1013
  /***/ }),
1169
1014
 
1170
- /***/ 95700:
1015
+ /***/ 93423:
1171
1016
  /***/ (function(module) {
1172
1017
 
1018
+ /*!
1019
+ * Jodit Editor (https://xdsoft.net/jodit/)
1020
+ * Released under MIT see LICENSE.txt in the project root for license information.
1021
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
1022
+ */ module.exports = {
1023
+ newline: 'yeni satır',
1024
+ delete: 'silmek',
1025
+ space: 'uzay',
1026
+ 'Speech Recognize': 'Konuşma Tanıma',
1027
+ Sound: 'Ses',
1028
+ 'Interim Results': 'Ara Sonuçlar'
1029
+ };
1030
+
1031
+
1032
+ /***/ }),
1033
+
1034
+ /***/ 94092:
1035
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1036
+
1173
1037
  "use strict";
1038
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1039
+ /* harmony export */ PII: function() { return /* binding */ PII; },
1040
+ /* harmony export */ WARN: function() { return /* binding */ WARN; }
1041
+ /* harmony export */ });
1042
+ /*!
1043
+ * Jodit Editor (https://xdsoft.net/jodit/)
1044
+ * Released under MIT see LICENSE.txt in the project root for license information.
1045
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
1046
+ */ /**
1047
+ * @module plugins/speech-recognize
1048
+ * @internal
1049
+ */ const PII = 440;
1050
+ const WARN = 940;
1051
+
1052
+
1053
+ /***/ }),
1054
+
1055
+ /***/ 97509:
1056
+ /***/ (function(module) {
1174
1057
 
1175
1058
  /*!
1176
1059
  * Jodit Editor (https://xdsoft.net/jodit/)
1177
1060
  * Released under MIT see LICENSE.txt in the project root for license information.
1178
1061
  * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
1179
- */
1180
- module.exports = {
1181
- newline: 'новая строка|перенос|ентер',
1182
- delete: 'видалити',
1183
- space: 'пробел',
1184
- 'Speech Recognize': 'Распознавание речи',
1185
- Sound: 'Звук',
1186
- 'Interim Results': 'Проміжні результати'
1062
+ */ module.exports = {
1063
+ newline: 'nueva línea',
1064
+ delete: 'eliminar',
1065
+ space: 'espacio',
1066
+ 'Speech Recognize': 'Reconocimiento de Voz',
1067
+ Sound: 'Sonido',
1068
+ 'Interim Results': 'Resultados Provisionales'
1187
1069
  };
1188
1070
 
1189
1071
 
1072
+ /***/ }),
1073
+
1074
+ /***/ 97743:
1075
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1076
+
1077
+ "use strict";
1078
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1079
+ /* harmony export */ SpeechRecognition: function() { return /* binding */ SpeechRecognition; }
1080
+ /* harmony export */ });
1081
+ /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81937);
1082
+ /*!
1083
+ * Jodit Editor (https://xdsoft.net/jodit/)
1084
+ * Released under MIT see LICENSE.txt in the project root for license information.
1085
+ * Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
1086
+ */ /**
1087
+ * @module plugins/speech-recognize
1088
+ */
1089
+ const SpeechRecognition = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow ? jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.SpeechRecognition || jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.webkitSpeechRecognition : undefined;
1090
+
1091
+
1190
1092
  /***/ })
1191
1093
 
1192
1094
  },
1193
1095
  /******/ function(__webpack_require__) { // webpackRuntimeModules
1194
1096
  /******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
1195
- /******/ var __webpack_exports__ = (__webpack_exec__(37873));
1097
+ /******/ var __webpack_exports__ = (__webpack_exec__(31262));
1196
1098
  /******/ return __webpack_exports__;
1197
1099
  /******/ }
1198
1100
  ]);