@ckeditor/ckeditor5-import-word 41.4.0-alpha.0 → 41.4.1

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 (184) hide show
  1. package/build/import-word.js +2 -2
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/bg.js +1 -1
  4. package/build/translations/bn.js +1 -1
  5. package/build/translations/ca.js +1 -1
  6. package/build/translations/cs.js +1 -1
  7. package/build/translations/da.js +1 -1
  8. package/build/translations/de.js +1 -1
  9. package/build/translations/el.js +1 -1
  10. package/build/translations/en-au.js +1 -1
  11. package/build/translations/es.js +1 -1
  12. package/build/translations/et.js +1 -1
  13. package/build/translations/fi.js +1 -1
  14. package/build/translations/fr.js +1 -1
  15. package/build/translations/gl.js +1 -1
  16. package/build/translations/he.js +1 -1
  17. package/build/translations/hi.js +1 -1
  18. package/build/translations/hr.js +1 -1
  19. package/build/translations/hu.js +1 -1
  20. package/build/translations/id.js +1 -1
  21. package/build/translations/it.js +1 -1
  22. package/build/translations/ja.js +1 -1
  23. package/build/translations/ko.js +1 -1
  24. package/build/translations/lt.js +1 -1
  25. package/build/translations/lv.js +1 -1
  26. package/build/translations/ms.js +1 -1
  27. package/build/translations/nl.js +1 -1
  28. package/build/translations/no.js +1 -1
  29. package/build/translations/pl.js +1 -1
  30. package/build/translations/pt-br.js +1 -1
  31. package/build/translations/pt.js +1 -1
  32. package/build/translations/ro.js +1 -1
  33. package/build/translations/ru.js +1 -1
  34. package/build/translations/sk.js +1 -1
  35. package/build/translations/sr-latn.js +1 -1
  36. package/build/translations/sr.js +1 -1
  37. package/build/translations/sv.js +1 -1
  38. package/build/translations/th.js +1 -1
  39. package/build/translations/tr.js +1 -1
  40. package/build/translations/ug.js +1 -1
  41. package/build/translations/uk.js +1 -1
  42. package/build/translations/vi.js +1 -1
  43. package/build/translations/zh-cn.js +1 -1
  44. package/build/translations/zh.js +1 -1
  45. package/dist/index.js +1 -1
  46. package/dist/translations/ar.js +1 -1
  47. package/dist/translations/ar.umd.js +23 -0
  48. package/dist/translations/bg.js +1 -1
  49. package/dist/translations/bg.umd.js +23 -0
  50. package/dist/translations/bn.js +1 -1
  51. package/dist/translations/bn.umd.js +23 -0
  52. package/dist/translations/ca.js +1 -1
  53. package/dist/translations/ca.umd.js +23 -0
  54. package/dist/translations/cs.js +1 -1
  55. package/dist/translations/cs.umd.js +23 -0
  56. package/dist/translations/da.js +1 -1
  57. package/dist/translations/da.umd.js +23 -0
  58. package/dist/translations/de.js +1 -1
  59. package/dist/translations/de.umd.js +23 -0
  60. package/dist/translations/el.js +1 -1
  61. package/dist/translations/el.umd.js +23 -0
  62. package/dist/translations/en-au.js +1 -1
  63. package/dist/translations/en-au.umd.js +23 -0
  64. package/dist/translations/en.js +1 -1
  65. package/dist/translations/en.umd.js +23 -0
  66. package/dist/translations/es.js +1 -1
  67. package/dist/translations/es.umd.js +23 -0
  68. package/dist/translations/et.js +1 -1
  69. package/dist/translations/et.umd.js +23 -0
  70. package/dist/translations/fi.js +1 -1
  71. package/dist/translations/fi.umd.js +23 -0
  72. package/dist/translations/fr.js +1 -1
  73. package/dist/translations/fr.umd.js +23 -0
  74. package/dist/translations/gl.js +1 -1
  75. package/dist/translations/gl.umd.js +23 -0
  76. package/dist/translations/he.js +1 -1
  77. package/dist/translations/he.umd.js +23 -0
  78. package/dist/translations/hi.js +1 -1
  79. package/dist/translations/hi.umd.js +23 -0
  80. package/dist/translations/hr.js +1 -1
  81. package/dist/translations/hr.umd.js +23 -0
  82. package/dist/translations/hu.js +1 -1
  83. package/dist/translations/hu.umd.js +23 -0
  84. package/dist/translations/id.js +1 -1
  85. package/dist/translations/id.umd.js +23 -0
  86. package/dist/translations/it.js +1 -1
  87. package/dist/translations/it.umd.js +23 -0
  88. package/dist/translations/ja.js +1 -1
  89. package/dist/translations/ja.umd.js +23 -0
  90. package/dist/translations/ko.js +1 -1
  91. package/dist/translations/ko.umd.js +23 -0
  92. package/dist/translations/lt.js +1 -1
  93. package/dist/translations/lt.umd.js +23 -0
  94. package/dist/translations/lv.js +1 -1
  95. package/dist/translations/lv.umd.js +23 -0
  96. package/dist/translations/ms.js +1 -1
  97. package/dist/translations/ms.umd.js +23 -0
  98. package/dist/translations/nl.js +1 -1
  99. package/dist/translations/nl.umd.js +23 -0
  100. package/dist/translations/no.js +1 -1
  101. package/dist/translations/no.umd.js +23 -0
  102. package/dist/translations/pl.js +1 -1
  103. package/dist/translations/pl.umd.js +23 -0
  104. package/dist/translations/pt-br.js +1 -1
  105. package/dist/translations/pt-br.umd.js +23 -0
  106. package/dist/translations/pt.js +1 -1
  107. package/dist/translations/pt.umd.js +23 -0
  108. package/dist/translations/ro.js +1 -1
  109. package/dist/translations/ro.umd.js +23 -0
  110. package/dist/translations/ru.js +1 -1
  111. package/dist/translations/ru.umd.js +23 -0
  112. package/dist/translations/sk.js +1 -1
  113. package/dist/translations/sk.umd.js +23 -0
  114. package/dist/translations/sr-latn.js +1 -1
  115. package/dist/translations/sr-latn.umd.js +23 -0
  116. package/dist/translations/sr.js +1 -1
  117. package/dist/translations/sr.umd.js +23 -0
  118. package/dist/translations/sv.js +1 -1
  119. package/dist/translations/sv.umd.js +23 -0
  120. package/dist/translations/th.js +1 -1
  121. package/dist/translations/th.umd.js +23 -0
  122. package/dist/translations/tr.js +1 -1
  123. package/dist/translations/tr.umd.js +23 -0
  124. package/dist/translations/ug.js +1 -1
  125. package/dist/translations/ug.umd.js +23 -0
  126. package/dist/translations/uk.js +1 -1
  127. package/dist/translations/uk.umd.js +23 -0
  128. package/dist/translations/vi.js +1 -1
  129. package/dist/translations/vi.umd.js +23 -0
  130. package/dist/translations/zh-cn.js +1 -1
  131. package/dist/translations/zh-cn.umd.js +23 -0
  132. package/dist/translations/zh.js +1 -1
  133. package/dist/translations/zh.umd.js +23 -0
  134. package/lang/contexts.json +2 -1
  135. package/lang/translations/ar.po +4 -0
  136. package/lang/translations/bg.po +4 -0
  137. package/lang/translations/bn.po +4 -0
  138. package/lang/translations/ca.po +4 -0
  139. package/lang/translations/cs.po +4 -0
  140. package/lang/translations/da.po +4 -0
  141. package/lang/translations/de.po +4 -0
  142. package/lang/translations/el.po +4 -0
  143. package/lang/translations/en-au.po +4 -0
  144. package/lang/translations/en.po +4 -0
  145. package/lang/translations/es.po +4 -0
  146. package/lang/translations/et.po +4 -0
  147. package/lang/translations/fi.po +4 -0
  148. package/lang/translations/fr.po +4 -0
  149. package/lang/translations/gl.po +4 -0
  150. package/lang/translations/he.po +4 -0
  151. package/lang/translations/hi.po +4 -0
  152. package/lang/translations/hr.po +4 -0
  153. package/lang/translations/hu.po +4 -0
  154. package/lang/translations/id.po +4 -0
  155. package/lang/translations/it.po +4 -0
  156. package/lang/translations/ja.po +4 -0
  157. package/lang/translations/ko.po +4 -0
  158. package/lang/translations/lt.po +4 -0
  159. package/lang/translations/lv.po +4 -0
  160. package/lang/translations/ms.po +4 -0
  161. package/lang/translations/nl.po +4 -0
  162. package/lang/translations/no.po +4 -0
  163. package/lang/translations/pl.po +4 -0
  164. package/lang/translations/pt-br.po +4 -0
  165. package/lang/translations/pt.po +4 -0
  166. package/lang/translations/ro.po +4 -0
  167. package/lang/translations/ru.po +4 -0
  168. package/lang/translations/sk.po +4 -0
  169. package/lang/translations/sr-latn.po +4 -0
  170. package/lang/translations/sr.po +4 -0
  171. package/lang/translations/sv.po +4 -0
  172. package/lang/translations/th.po +4 -0
  173. package/lang/translations/tr.po +4 -0
  174. package/lang/translations/ug.po +4 -0
  175. package/lang/translations/uk.po +4 -0
  176. package/lang/translations/vi.po +4 -0
  177. package/lang/translations/zh-cn.po +4 -0
  178. package/lang/translations/zh.po +4 -0
  179. package/package.json +2 -2
  180. package/src/importword.js +1 -1
  181. package/src/importwordcommand.js +1 -1
  182. package/src/importwordediting.js +1 -1
  183. package/src/importwordui.js +1 -1
  184. package/src/index.js +1 -1
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (_0x7d0b3c=>{const {vi:{dictionary:_0x419c7e,getPluralForm:_0x5b0ce2}}={'vi':{'dictionary':{'Import\x20from\x20Word':'Nhập\x20từ\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Đã\x20xảy\x20ra\x20lỗi\x20khi\x20nhập\x20tệp\x20Word.','Importing\x20Word\x20document':'Đang\x20nhập\x20tài\x20liệu\x20Word'},'getPluralForm':_0x397e75=>0x0}};_0x7d0b3c['vi']||={'dictionary':{},'getPluralForm':null},_0x7d0b3c['vi']['dictionary']=Object['assign'](_0x7d0b3c['vi']['dictionary'],_0x419c7e),_0x7d0b3c['vi']['getPluralForm']=_0x5b0ce2;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'zh-cn':{'dictionary':{'Import\x20from\x20Word':'从\x20Word\x20导入','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'导入\x20Word\x20文件时出错了。'},'getPluralForm':_0x1d8041=>0x0}};
23
+ export default{'zh-cn':{'dictionary':{'Import\x20from\x20Word':'从\x20Word\x20导入','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'导入\x20Word\x20文件时出错了。','Importing\x20Word\x20document':'正在导入\x20Word\x20文档'},'getPluralForm':_0x21bfae=>0x0}};
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (_0x15c3bb=>{const {'zh-cn':{dictionary:_0x343746,getPluralForm:_0x14b746}}={'zh-cn':{'dictionary':{'Import\x20from\x20Word':'从\x20Word\x20导入','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'导入\x20Word\x20文件时出错了。','Importing\x20Word\x20document':'正在导入\x20Word\x20文档'},'getPluralForm':_0xbbbcab=>0x0}};_0x15c3bb['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x15c3bb['zh-cn']['dictionary']=Object['assign'](_0x15c3bb['zh-cn']['dictionary'],_0x343746),_0x15c3bb['zh-cn']['getPluralForm']=_0x14b746;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'zh':{'dictionary':{'Import\x20from\x20Word':'從\x20Word\x20匯入','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'匯入\x20Word\x20檔時發生錯誤。'},'getPluralForm':_0x417c35=>0x0}};
23
+ export default{'zh':{'dictionary':{'Import\x20from\x20Word':'從\x20Word\x20匯入','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'匯入\x20Word\x20檔時發生錯誤。','Importing\x20Word\x20document':'匯入\x20Word\x20文件'},'getPluralForm':_0x9de4d1=>0x0}};
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (_0x1ba175=>{const {zh:{dictionary:_0x439e88,getPluralForm:_0x2c1587}}={'zh':{'dictionary':{'Import\x20from\x20Word':'從\x20Word\x20匯入','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'匯入\x20Word\x20檔時發生錯誤。','Importing\x20Word\x20document':'匯入\x20Word\x20文件'},'getPluralForm':_0x5e7ef5=>0x0}};_0x1ba175['zh']||={'dictionary':{},'getPluralForm':null},_0x1ba175['zh']['dictionary']=Object['assign'](_0x1ba175['zh']['dictionary'],_0x439e88),_0x1ba175['zh']['getPluralForm']=_0x2c1587;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -1,4 +1,5 @@
1
1
  {
2
2
  "Import from Word": "A toolbar button tooltip for the import from Word feature.",
3
- "An error occurred while importing the Word file.": "An error message shown to the user when an error occurred while importing the Word file."
3
+ "An error occurred while importing the Word file.": "An error message shown to the user when an error occurred while importing the Word file.",
4
+ "Importing Word document": "Aria label set on Import from Word button while importing Word document."
4
5
  }
@@ -24,3 +24,7 @@ msgstr "استيراد من Word"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "حدث خطأ أثناء استيراد ملف Word."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "استيراد مستند Word"
@@ -24,3 +24,7 @@ msgstr "Импортиране от Word"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Възникна грешка при импортирането на Word файла."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Въвеждане на документ в Word"
@@ -24,3 +24,7 @@ msgstr "ওয়ার্ড থেকে ইমপোর্ট করুন"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "ওয়ার্ড ফাইল ইমপোর্ট করার সময় একটি ত্রুটি ঘটেছে।"
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "ওয়ার্ড ডকুমেন্ট ইম্পোর্ট করা হচ্ছে"
@@ -24,3 +24,7 @@ msgstr "Importeu de Word"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Hi ha hagut un error mentre s'importava l'arxiu de Word."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Important document de Word"
@@ -24,3 +24,7 @@ msgstr "Importovat z Wordu"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Při importu souboru aplikace Word došlo k chybě."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Import dokumentu aplikace Word"
@@ -24,3 +24,7 @@ msgstr "Importér fra Word"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Der opstod en fejl unde rimporteringen af Word-filen."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Import af Word-dokument"
@@ -24,3 +24,7 @@ msgstr "Aus Word importieren"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Beim Importieren der Word-Datei ist ein Fehler aufgetreten."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Word-Dokument importieren"
@@ -24,3 +24,7 @@ msgstr "Εισαγωγή από Word"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Παρουσιάστηκε σφάλμα κατά την εισαγωγή του αρχείου Word."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Εισαγωγή εγγράφου Κειμένου"
@@ -24,3 +24,7 @@ msgstr "Import from Word"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "An error occurred while importing the Word file."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr ""
@@ -24,3 +24,7 @@ msgstr "Import from Word"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "An error occurred while importing the Word file."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Importing Word document"
@@ -24,3 +24,7 @@ msgstr "Importar desde Word"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Se ha producido un error al importar el archivo de Word."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Importando documento de Word"
@@ -24,3 +24,7 @@ msgstr "Wordist importimine"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Wordi faili importimisel tekkis viga."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Word dokumendi importimine"
@@ -24,3 +24,7 @@ msgstr "Tuo Wordista"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Word-tiedoston tuomisessa tapahtui virhe."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Tuodaan Word-asiakirja"
@@ -24,3 +24,7 @@ msgstr "Importer depuis Word"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Une erreur s'est produite lors de l'importation du fichier Word."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Importation d'un document Word"
@@ -24,3 +24,7 @@ msgstr "Importar dende Word"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Produciuse un erro ao importar o ficheiro de Word."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr ""
@@ -24,3 +24,7 @@ msgstr "ייבוא מ-Word"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "אירעה שגיאה בעת ייבוא קובץ ה-Word."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "מייבא מסמך וורד"
@@ -24,3 +24,7 @@ msgstr "वर्ड से इंपोर्ट करें"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "वर्ड फाइल इंपोर्ट करते वक्त एरर हो गया"
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Word डॉक्यूमेंट इम्पोर्ट की जा रही है"
@@ -24,3 +24,7 @@ msgstr "Uvoz iz Worda"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Dogodila se greška prilikom uvoza iz Worda"
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr ""
@@ -24,3 +24,7 @@ msgstr "Importálás Word dokumentumból"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Hiba történt a Word fájl importálása közben."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Word dokumentum importálása"
@@ -24,3 +24,7 @@ msgstr "Impor dari Word"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Terjadi kesalahan saat mengimpor file Word."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "mengimpor dokumen Word"
@@ -24,3 +24,7 @@ msgstr "Importa da Word"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Si è verificato un errore durante l'importazione del file Word."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Importa documento Word"
@@ -24,3 +24,7 @@ msgstr "Wordからインポート"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Wordフィアルのインポート中にエラーが発生しました"
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Word文書をインポート中"
@@ -24,3 +24,7 @@ msgstr "Word에서 가져오기"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Word 파일을 가져오는 중 오류가 발생했습니다."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Word 문서 가져오는 중"
@@ -24,3 +24,7 @@ msgstr "Importuoti iš ,,Word''"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Įvyko klaida importuojant ,,Word\" failą."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Įkeliamas „Word“ dokumentas"
@@ -24,3 +24,7 @@ msgstr "Importēt no Word"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Importējot Word failu, radās kļūda"
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Importē \"Word\" dokumentu"
@@ -24,3 +24,7 @@ msgstr "Import daripada Word"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Ralat berlaku semasa mengimport fail Word."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Mengimport dokumen Word"
@@ -24,3 +24,7 @@ msgstr "Importeer vanuit Word"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Er is een fout opgetreden bij het importeren van het Word-bestand."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Word-document importeren"
@@ -24,3 +24,7 @@ msgstr "Importer fra Word"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Det oppstod en feil ved importering av Word-filen."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Importerer Word-dokument"
@@ -24,3 +24,7 @@ msgstr "Importuj z programu Word"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Podczas importowania pliku z programu Word wystąpił błąd."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Importowanie dokumentu Word"
@@ -24,3 +24,7 @@ msgstr "Importar do Word"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Ocorreu um erro ao importar o arquivo do Word."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Importação de documento do Word"
@@ -24,3 +24,7 @@ msgstr "Importar do Word"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Ocorreu um erro ao importar o ficheiro Word."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "A importar documento do Word"
@@ -24,3 +24,7 @@ msgstr "Importați din Word"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "A apărut o eroare în timpul importării fișierului Word."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Importarea unui document Word"
@@ -24,3 +24,7 @@ msgstr "Импорт из Word"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "При импорте файла Word произошла ошибка."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Импорт документа Word"
@@ -24,3 +24,7 @@ msgstr "Importovať z Wordu"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Pri importovaní súboru programu Word sa vyskytla chyba."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Import dokumentu vo formáte Word"
@@ -24,3 +24,7 @@ msgstr "Uvezi iz word-a"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Došlo je do greške pri uvozu Word datoteke."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr ""
@@ -24,3 +24,7 @@ msgstr "Увези из Ворд-а"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Дошло је до грешке при увозу Ворд датотеке"
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Uvoz Word dokumenta"
@@ -24,3 +24,7 @@ msgstr "Importera från Word"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Ett fel inträffade vid import av Word-filen."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Importerar Worddokument"
@@ -24,3 +24,7 @@ msgstr "นำเข้าจาก Word"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "เกิดข้อผิดพลาดขณะนำเข้าไฟล์ Word"
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "กำลังนำเข้าเอกสาร Word"
@@ -24,3 +24,7 @@ msgstr "Word'den içe aktar"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Word dosyası içe aktarılırken bir hata oluştu."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Word belgesi içe aktarılıyor"
@@ -24,3 +24,7 @@ msgstr "Word تىن ئەكىر"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Word ھۆججەتتىن ئەكىرىۋاتقاندا بىر خاتالىق كۆرۈلدى."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr ""
@@ -24,3 +24,7 @@ msgstr "Імпортувати з Word"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Під час імпортування файлу Word сталася помилка."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Імпорт документа Word"
@@ -24,3 +24,7 @@ msgstr "Nhập từ Word"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "Đã xảy ra lỗi khi nhập tệp Word."
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "Đang nhập tài liệu Word"
@@ -24,3 +24,7 @@ msgstr "从 Word 导入"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "导入 Word 文件时出错了。"
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "正在导入 Word 文档"
@@ -24,3 +24,7 @@ msgstr "從 Word 匯入"
24
24
  msgctxt "An error message shown to the user when an error occurred while importing the Word file."
25
25
  msgid "An error occurred while importing the Word file."
26
26
  msgstr "匯入 Word 檔時發生錯誤。"
27
+
28
+ msgctxt "Aria label set on Import from Word button while importing Word document."
29
+ msgid "Importing Word document"
30
+ msgstr "匯入 Word 文件"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-import-word",
3
- "version": "41.4.0-alpha.0",
3
+ "version": "41.4.1",
4
4
  "description": "Import from Word feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -30,7 +30,7 @@
30
30
  "type": "module",
31
31
  "main": "src/index.js",
32
32
  "dependencies": {
33
- "ckeditor5": "41.4.0-alpha.0"
33
+ "ckeditor5": "41.4.1"
34
34
  },
35
35
  "license": "SEE LICENSE IN LICENSE.md",
36
36
  "author": "CKSource (https://cksource.com/)",
package/src/importword.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2e7b(_0x1fe916,_0x17c44f){var _0x310a4f=_0x310a();return _0x2e7b=function(_0x2e7b6c,_0x2dc1){_0x2e7b6c=_0x2e7b6c-0x1c5;var _0x37012e=_0x310a4f[_0x2e7b6c];return _0x37012e;},_0x2e7b(_0x1fe916,_0x17c44f);}var _0x5bba88=_0x2e7b;(function(_0x3e61af,_0x19e414){var _0x1b4476=_0x2e7b,_0x5c9f05=_0x3e61af();while(!![]){try{var _0x2859ab=parseInt(_0x1b4476(0x1cd))/0x1*(-parseInt(_0x1b4476(0x1cb))/0x2)+-parseInt(_0x1b4476(0x1cc))/0x3+-parseInt(_0x1b4476(0x1c5))/0x4+parseInt(_0x1b4476(0x1d0))/0x5*(-parseInt(_0x1b4476(0x1c7))/0x6)+-parseInt(_0x1b4476(0x1d1))/0x7+-parseInt(_0x1b4476(0x1c9))/0x8*(parseInt(_0x1b4476(0x1ce))/0x9)+parseInt(_0x1b4476(0x1ca))/0xa*(parseInt(_0x1b4476(0x1c8))/0xb);if(_0x2859ab===_0x19e414)break;else _0x5c9f05['push'](_0x5c9f05['shift']());}catch(_0x379a12){_0x5c9f05['push'](_0x5c9f05['shift']());}}}(_0x310a,0x8b875));import{Plugin as _0xc72b9}from'ckeditor5/src/core.js';import _0x606033 from'./importwordui.js';function _0x310a(){var _0x27d686=['pluginName','2854164dUKxbq','requires','822dgTLPl','187BEyZmt','200yXhdbb','3331790OscXjO','17932nxzGKJ','1687887kHrjSu','100JYrpqm','365751GaRSQI','ImportWord','32090WIiSKl','7171661uPVZrX'];_0x310a=function(){return _0x27d686;};return _0x310a();}import _0x40b280 from'./importwordediting.js';export default class i extends _0xc72b9{static get[_0x5bba88(0x1d2)](){var _0x2bf72d=_0x5bba88;return _0x2bf72d(0x1cf);}static get[_0x5bba88(0x1c6)](){return[_0x40b280,_0x606033];}}
23
+ var _0x373df9=_0x24d6;(function(_0x2a9724,_0x3a88cb){var _0x187844=_0x24d6,_0x5446b1=_0x2a9724();while(!![]){try{var _0x3b3ce1=parseInt(_0x187844(0xb1))/0x1*(-parseInt(_0x187844(0xaa))/0x2)+-parseInt(_0x187844(0xb0))/0x3*(parseInt(_0x187844(0xad))/0x4)+-parseInt(_0x187844(0xaf))/0x5+parseInt(_0x187844(0xa8))/0x6+parseInt(_0x187844(0xa9))/0x7+-parseInt(_0x187844(0xae))/0x8*(-parseInt(_0x187844(0xac))/0x9)+-parseInt(_0x187844(0xb2))/0xa*(parseInt(_0x187844(0xb3))/0xb);if(_0x3b3ce1===_0x3a88cb)break;else _0x5446b1['push'](_0x5446b1['shift']());}catch(_0xac4a99){_0x5446b1['push'](_0x5446b1['shift']());}}}(_0x551f,0x3de35));import{Plugin as _0x3a1b7b}from'ckeditor5/src/core.js';function _0x24d6(_0x1cf9fa,_0x465f37){var _0x551f3a=_0x551f();return _0x24d6=function(_0x24d655,_0x1502a4){_0x24d655=_0x24d655-0xa7;var _0x178d60=_0x551f3a[_0x24d655];return _0x178d60;},_0x24d6(_0x1cf9fa,_0x465f37);}function _0x551f(){var _0x53bbbd=['75086Pomqum','pluginName','261KDttYp','83128KShPYn','108424YWtGMJ','1708635SjUbXf','3MgXVOr','8awDyvM','888970HazWij','11JTaFmD','ImportWord','requires','2401680ZPLOOy','1483482bqArJZ'];_0x551f=function(){return _0x53bbbd;};return _0x551f();}import _0x1d042f from'./importwordui.js';import _0x54be67 from'./importwordediting.js';export default class i extends _0x3a1b7b{static get[_0x373df9(0xab)](){var _0x54898d=_0x373df9;return _0x54898d(0xb4);}static get[_0x373df9(0xa7)](){return[_0x54be67,_0x1d042f];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x144bfc}from'ckeditor5/src/core.js';import{Range as _0x5f3b1e}from'ckeditor5/src/engine.js';import{logWarning as _0x282183,logError as _0x1377d4,first as _0x5a66fd,uid as _0x2ee82f}from'ckeditor5/src/utils.js';export default class d extends _0x144bfc{constructor(_0x315ac5){super(_0x315ac5),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x44fc0d,_0xb6c98d)=>{const _0x35466f=new DataTransfer();_0x35466f['setData']('text/html',_0xb6c98d['html']);const _0x1b6b1a=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x2443c1=>{this['_importMarker']['stopListening'](),_0x2443c1['setSelection'](_0x1b6b1a),_0x315ac5['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x35466f});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5047a4,_0x3e56c4={}){if(this['isBusy'])return Promise['resolve']();const _0x47aa2b=this['editor']['config']['get']('importWord'),_0x5427d6={'url':_0x47aa2b['converterUrl'],'file':_0x5047a4,'serviceConfig':{..._0x3e56c4,'formatting':_0x47aa2b['formatting']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x5427d6)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x3021bf=this['editor']['model'],_0x27393e=_0x3021bf['schema'],_0xdb5104=_0x3021bf['document']['selection'],_0x55f594=_0x5a66fd(_0xdb5104['getSelectedBlocks']());return!!_0x55f594&&_0x27393e['checkChild'](_0x55f594['parent'],'paragraph');}['_prepareForImport'](){const _0x16f1c6=this['editor'],_0x450cc4=_0x16f1c6['model'],_0x438f9e=_0x450cc4['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x16f1c6['model']['createBatch']({'isUndoable':!0x0}),_0x450cc4['enqueueChange'](this['_undoStepBatch'],_0x9e300d=>{_0x438f9e['isCollapsed']||_0x450cc4['deleteContent'](_0x438f9e,{'leaveUnmerged':!0x0});const _0x27d3ba=_0x438f9e['getFirstPosition'](),_0x141dd6=_0x5a66fd(_0x438f9e['getSelectedBlocks']());let _0x25f8ae;_0x25f8ae=_0x141dd6['is']('element','paragraph')&&_0x141dd6['isEmpty']?_0x27d3ba:_0x27d3ba['isAtStart']?_0x450cc4['createPositionBefore'](_0x141dd6):_0x27d3ba['isAtEnd']?_0x450cc4['createPositionAfter'](_0x141dd6):_0x9e300d['split'](_0x27d3ba)['position'],this['_importMarker']=_0x9e300d['addMarker']('importWord:'+_0x2ee82f(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x5f3b1e(_0x25f8ae)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x52b8fa=this['editor']['model'];_0x52b8fa['markers']['has'](this['_importMarker'])&&_0x52b8fa['enqueueChange'](this['_undoStepBatch'],_0x361fee=>{_0x361fee['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x2d58d3,file:_0x1145fd,serviceConfig:_0x4f092c}){const _0x342935=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x8fdb53=new FormData();_0x8fdb53['set']('config',JSON['stringify'](_0x4f092c)),_0x8fdb53['set']('file',_0x1145fd);const _0x73d044={'method':'POST','headers':{},'body':_0x8fdb53,'signal':this['_abortController']['signal']};return _0x342935&&(_0x73d044['headers']['Authorization']=_0x342935['value']),fetch(_0x2d58d3,_0x73d044);}['_handleImportResponse'](_0x11a381){return _0x11a381['ok']?_0x11a381['json']()['then'](_0x47a3f7=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x47a3f7);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x282183('import-word-plugin-import-cancelled');const _0x59fdd7=this['editor'],_0x155e23=(0x0,_0x59fdd7['t'])('An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x59fdd7['plugins']['get']('Notification')['showWarning'](_0x155e23),_0x1377d4('import-word-plugin-conversion-failed');}}
23
+ import{Command as _0x216050}from'ckeditor5/src/core.js';import{Range as _0x572629}from'ckeditor5/src/engine.js';import{logWarning as _0x284f5b,logError as _0x5756d2,first as _0x2796a3,uid as _0x398025}from'ckeditor5/src/utils.js';export default class d extends _0x216050{constructor(_0x2eb797){super(_0x2eb797),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x344baf,_0x6de059)=>{const _0x1cca19=new DataTransfer();_0x1cca19['setData']('text/html',_0x6de059['html']);const _0x2c2545=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x5cd8c1=>{this['_importMarker']['stopListening'](),_0x5cd8c1['setSelection'](_0x2c2545),_0x2eb797['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x1cca19});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xe0af4f,_0x17b326={}){if(this['isBusy'])return Promise['resolve']();const _0x22fa8d=this['editor']['config']['get']('importWord'),_0x16b708={'url':_0x22fa8d['converterUrl'],'file':_0xe0af4f,'serviceConfig':{..._0x17b326,'formatting':_0x22fa8d['formatting']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x16b708)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x11f371=this['editor']['model'],_0x4de2ed=_0x11f371['schema'],_0x206a2e=_0x11f371['document']['selection'],_0x3abea0=_0x2796a3(_0x206a2e['getSelectedBlocks']());return!!_0x3abea0&&_0x4de2ed['checkChild'](_0x3abea0['parent'],'paragraph');}['_prepareForImport'](){const _0x110242=this['editor'],_0x5360f0=_0x110242['model'],_0x51ff4d=_0x5360f0['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x110242['model']['createBatch']({'isUndoable':!0x0}),_0x5360f0['enqueueChange'](this['_undoStepBatch'],_0x37e621=>{_0x51ff4d['isCollapsed']||_0x5360f0['deleteContent'](_0x51ff4d,{'leaveUnmerged':!0x0});const _0x170ff8=_0x51ff4d['getFirstPosition'](),_0x3593be=_0x2796a3(_0x51ff4d['getSelectedBlocks']());let _0x4f6bc0;_0x4f6bc0=_0x3593be['is']('element','paragraph')&&_0x3593be['isEmpty']?_0x170ff8:_0x170ff8['isAtStart']?_0x5360f0['createPositionBefore'](_0x3593be):_0x170ff8['isAtEnd']?_0x5360f0['createPositionAfter'](_0x3593be):_0x37e621['split'](_0x170ff8)['position'],this['_importMarker']=_0x37e621['addMarker']('importWord:'+_0x398025(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x572629(_0x4f6bc0)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x2022c2=this['editor']['model'];_0x2022c2['markers']['has'](this['_importMarker'])&&_0x2022c2['enqueueChange'](this['_undoStepBatch'],_0x13351f=>{_0x13351f['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x4b79fc,file:_0x8fdde9,serviceConfig:_0x2ff210}){const _0x554f5c=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x10ad3d=new FormData();_0x10ad3d['set']('config',JSON['stringify'](_0x2ff210)),_0x10ad3d['set']('file',_0x8fdde9);const _0x452ff8={'method':'POST','headers':{},'body':_0x10ad3d,'signal':this['_abortController']['signal']};return _0x554f5c&&(_0x452ff8['headers']['Authorization']=_0x554f5c['value']),fetch(_0x4b79fc,_0x452ff8);}['_handleImportResponse'](_0x472dcb){return _0x472dcb['ok']?_0x472dcb['json']()['then'](_0x550bb8=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x550bb8);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x284f5b('import-word-plugin-import-cancelled');const _0x31ab56=this['editor'],_0x47591b=(0x0,_0x31ab56['t'])('An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x31ab56['plugins']['get']('Notification')['showWarning'](_0x47591b),_0x5756d2('import-word-plugin-conversion-failed');}}