@ckeditor/ckeditor5-export-word 43.0.0-alpha.5 → 43.0.0-alpha.6

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 (102) hide show
  1. package/build/export-word.js +1 -1
  2. package/dist/exportword.d.ts +18 -14
  3. package/dist/index.js +1 -1
  4. package/dist/translations/ar.js +1 -1
  5. package/dist/translations/ar.umd.js +1 -1
  6. package/dist/translations/bg.js +1 -1
  7. package/dist/translations/bg.umd.js +1 -1
  8. package/dist/translations/bn.js +1 -1
  9. package/dist/translations/bn.umd.js +1 -1
  10. package/dist/translations/ca.js +1 -1
  11. package/dist/translations/ca.umd.js +1 -1
  12. package/dist/translations/cs.js +1 -1
  13. package/dist/translations/cs.umd.js +1 -1
  14. package/dist/translations/da.js +1 -1
  15. package/dist/translations/da.umd.js +1 -1
  16. package/dist/translations/de.js +1 -1
  17. package/dist/translations/de.umd.js +1 -1
  18. package/dist/translations/el.js +1 -1
  19. package/dist/translations/el.umd.js +1 -1
  20. package/dist/translations/en-au.js +1 -1
  21. package/dist/translations/en-au.umd.js +1 -1
  22. package/dist/translations/en.umd.js +1 -1
  23. package/dist/translations/es.js +1 -1
  24. package/dist/translations/es.umd.js +1 -1
  25. package/dist/translations/et.js +1 -1
  26. package/dist/translations/et.umd.js +1 -1
  27. package/dist/translations/fi.js +1 -1
  28. package/dist/translations/fi.umd.js +1 -1
  29. package/dist/translations/fr.js +1 -1
  30. package/dist/translations/fr.umd.js +1 -1
  31. package/dist/translations/gl.js +1 -1
  32. package/dist/translations/gl.umd.js +1 -1
  33. package/dist/translations/he.js +1 -1
  34. package/dist/translations/he.umd.js +1 -1
  35. package/dist/translations/hi.js +1 -1
  36. package/dist/translations/hi.umd.js +1 -1
  37. package/dist/translations/hr.js +1 -1
  38. package/dist/translations/hr.umd.js +1 -1
  39. package/dist/translations/hu.js +1 -1
  40. package/dist/translations/hu.umd.js +1 -1
  41. package/dist/translations/id.js +1 -1
  42. package/dist/translations/id.umd.js +1 -1
  43. package/dist/translations/it.js +1 -1
  44. package/dist/translations/it.umd.js +1 -1
  45. package/dist/translations/ja.js +1 -1
  46. package/dist/translations/ja.umd.js +1 -1
  47. package/dist/translations/jv.js +1 -1
  48. package/dist/translations/jv.umd.js +1 -1
  49. package/dist/translations/ko.js +1 -1
  50. package/dist/translations/ko.umd.js +1 -1
  51. package/dist/translations/lt.js +1 -1
  52. package/dist/translations/lt.umd.js +1 -1
  53. package/dist/translations/lv.js +1 -1
  54. package/dist/translations/lv.umd.js +1 -1
  55. package/dist/translations/ms.js +1 -1
  56. package/dist/translations/ms.umd.js +1 -1
  57. package/dist/translations/nl.js +1 -1
  58. package/dist/translations/nl.umd.js +1 -1
  59. package/dist/translations/no.js +1 -1
  60. package/dist/translations/no.umd.js +1 -1
  61. package/dist/translations/pl.js +1 -1
  62. package/dist/translations/pl.umd.js +1 -1
  63. package/dist/translations/pt-br.js +1 -1
  64. package/dist/translations/pt-br.umd.js +1 -1
  65. package/dist/translations/pt.js +1 -1
  66. package/dist/translations/pt.umd.js +1 -1
  67. package/dist/translations/ro.js +1 -1
  68. package/dist/translations/ro.umd.js +1 -1
  69. package/dist/translations/ru.js +1 -1
  70. package/dist/translations/ru.umd.js +1 -1
  71. package/dist/translations/sk.js +1 -1
  72. package/dist/translations/sk.umd.js +1 -1
  73. package/dist/translations/sr-latn.js +1 -1
  74. package/dist/translations/sr-latn.umd.js +1 -1
  75. package/dist/translations/sr.js +1 -1
  76. package/dist/translations/sr.umd.js +1 -1
  77. package/dist/translations/sv.js +1 -1
  78. package/dist/translations/sv.umd.js +1 -1
  79. package/dist/translations/th.js +1 -1
  80. package/dist/translations/th.umd.js +1 -1
  81. package/dist/translations/tr.js +1 -1
  82. package/dist/translations/tr.umd.js +1 -1
  83. package/dist/translations/ug.js +1 -1
  84. package/dist/translations/ug.umd.js +1 -1
  85. package/dist/translations/uk.js +1 -1
  86. package/dist/translations/uk.umd.js +1 -1
  87. package/dist/translations/ur.js +1 -1
  88. package/dist/translations/ur.umd.js +1 -1
  89. package/dist/translations/vi.js +1 -1
  90. package/dist/translations/vi.umd.js +1 -1
  91. package/dist/translations/zh-cn.js +1 -1
  92. package/dist/translations/zh-cn.umd.js +1 -1
  93. package/dist/translations/zh.js +1 -1
  94. package/dist/translations/zh.umd.js +1 -1
  95. package/package.json +5 -5
  96. package/src/exportword.d.ts +18 -14
  97. package/src/exportword.js +1 -1
  98. package/src/exportwordcommand.js +1 -1
  99. package/src/exportwordui.js +1 -1
  100. package/src/index.js +1 -1
  101. package/src/utils/common-translations.js +1 -1
  102. package/src/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3253e4=>{const {uk:{dictionary:_0x2a45c3,getPluralForm:_0x278546}}={'uk':{'dictionary':{'Export\x20to\x20Word':'Експортувати\x20в\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'Під\x20час\x20створення\x20Word\x20файлу\x20сталася\x20помилка.','Word\x20document\x20export\x20started':'Розпочато\x20експорт\x20документа\x20Word','Word\x20document\x20export\x20failed':'Не\x20вдалось\x20експортувати\x20документ\x20Word','Word\x20document\x20export\x20successful':'Документ\x20Word\x20успішно\x20експортовано','Exporting\x20Word\x20document':'Експорт\x20документа\x20Word'},'getPluralForm':_0x35ab75=>_0x35ab75%0x1==0x0&&_0x35ab75%0xa==0x1&&_0x35ab75%0x64!=0xb?0x0:_0x35ab75%0x1==0x0&&_0x35ab75%0xa>=0x2&&_0x35ab75%0xa<=0x4&&(_0x35ab75%0x64<0xc||_0x35ab75%0x64>0xe)?0x1:_0x35ab75%0x1==0x0&&(_0x35ab75%0xa==0x0||_0x35ab75%0xa>=0x5&&_0x35ab75%0xa<=0x9||_0x35ab75%0x64>=0xb&&_0x35ab75%0x64<=0xe)?0x2:0x3}};_0x3253e4['uk']||={'dictionary':{},'getPluralForm':null},_0x3253e4['uk']['dictionary']=Object['assign'](_0x3253e4['uk']['dictionary'],_0x2a45c3),_0x3253e4['uk']['getPluralForm']=_0x278546;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x311bea=>{const {uk:{dictionary:_0x562e7d,getPluralForm:_0x2f21e0}}={'uk':{'dictionary':{'Export\x20to\x20Word':'Експортувати\x20в\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'Під\x20час\x20створення\x20Word\x20файлу\x20сталася\x20помилка.','Word\x20document\x20export\x20started':'Розпочато\x20експорт\x20документа\x20Word','Word\x20document\x20export\x20failed':'Не\x20вдалось\x20експортувати\x20документ\x20Word','Word\x20document\x20export\x20successful':'Документ\x20Word\x20успішно\x20експортовано','Exporting\x20Word\x20document':'Експорт\x20документа\x20Word'},'getPluralForm':_0x3e1040=>_0x3e1040%0x1==0x0&&_0x3e1040%0xa==0x1&&_0x3e1040%0x64!=0xb?0x0:_0x3e1040%0x1==0x0&&_0x3e1040%0xa>=0x2&&_0x3e1040%0xa<=0x4&&(_0x3e1040%0x64<0xc||_0x3e1040%0x64>0xe)?0x1:_0x3e1040%0x1==0x0&&(_0x3e1040%0xa==0x0||_0x3e1040%0xa>=0x5&&_0x3e1040%0xa<=0x9||_0x3e1040%0x64>=0xb&&_0x3e1040%0x64<=0xe)?0x2:0x3}};_0x311bea['uk']||={'dictionary':{},'getPluralForm':null},_0x311bea['uk']['dictionary']=Object['assign'](_0x311bea['uk']['dictionary'],_0x562e7d),_0x311bea['uk']['getPluralForm']=_0x2f21e0;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ur':{'dictionary':{'Export\x20to\x20Word':'ورڈ\x20دستاویز\x20برآمد','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'ورڈ\x20دستاویز\x20بناننے\x20میں\x20نقص\x20واقع\x20ہوا۔','Word\x20document\x20export\x20started':'','Word\x20document\x20export\x20failed':'','Word\x20document\x20export\x20successful':'','Exporting\x20Word\x20document':''},'getPluralForm':_0x4b12ad=>0x1!=_0x4b12ad}};
23
+ export default{'ur':{'dictionary':{'Export\x20to\x20Word':'ورڈ\x20دستاویز\x20برآمد','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'ورڈ\x20دستاویز\x20بناننے\x20میں\x20نقص\x20واقع\x20ہوا۔','Word\x20document\x20export\x20started':'','Word\x20document\x20export\x20failed':'','Word\x20document\x20export\x20successful':'','Exporting\x20Word\x20document':''},'getPluralForm':_0x56daef=>0x1!=_0x56daef}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xbd6682=>{const {ur:{dictionary:_0xb26198,getPluralForm:_0x39fa29}}={'ur':{'dictionary':{'Export\x20to\x20Word':'ورڈ\x20دستاویز\x20برآمد','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'ورڈ\x20دستاویز\x20بناننے\x20میں\x20نقص\x20واقع\x20ہوا۔','Word\x20document\x20export\x20started':'','Word\x20document\x20export\x20failed':'','Word\x20document\x20export\x20successful':'','Exporting\x20Word\x20document':''},'getPluralForm':_0x313fe9=>0x1!=_0x313fe9}};_0xbd6682['ur']||={'dictionary':{},'getPluralForm':null},_0xbd6682['ur']['dictionary']=Object['assign'](_0xbd6682['ur']['dictionary'],_0xb26198),_0xbd6682['ur']['getPluralForm']=_0x39fa29;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x22a5ae=>{const {ur:{dictionary:_0x5d1102,getPluralForm:_0x56ba72}}={'ur':{'dictionary':{'Export\x20to\x20Word':'ورڈ\x20دستاویز\x20برآمد','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'ورڈ\x20دستاویز\x20بناننے\x20میں\x20نقص\x20واقع\x20ہوا۔','Word\x20document\x20export\x20started':'','Word\x20document\x20export\x20failed':'','Word\x20document\x20export\x20successful':'','Exporting\x20Word\x20document':''},'getPluralForm':_0x1ea0a3=>0x1!=_0x1ea0a3}};_0x22a5ae['ur']||={'dictionary':{},'getPluralForm':null},_0x22a5ae['ur']['dictionary']=Object['assign'](_0x22a5ae['ur']['dictionary'],_0x5d1102),_0x22a5ae['ur']['getPluralForm']=_0x56ba72;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'vi':{'dictionary':{'Export\x20to\x20Word':'Xuất\x20ra\x20định\x20dạng\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'Đã\x20xảy\x20ra\x20lỗi\x20khi\x20tạo\x20tệp\x20Word.','Word\x20document\x20export\x20started':'Đã\x20bắt\x20đầu\x20xuất\x20tài\x20liệu\x20Word','Word\x20document\x20export\x20failed':'Không\x20xuất\x20được\x20tài\x20liệu\x20Word','Word\x20document\x20export\x20successful':'Đã\x20xuất\x20tài\x20liệu\x20Word\x20thành\x20công','Exporting\x20Word\x20document':'Đang\x20xuất\x20tài\x20liệu\x20Word'},'getPluralForm':_0x5b497e=>0x0}};
23
+ export default{'vi':{'dictionary':{'Export\x20to\x20Word':'Xuất\x20ra\x20định\x20dạng\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'Đã\x20xảy\x20ra\x20lỗi\x20khi\x20tạo\x20tệp\x20Word.','Word\x20document\x20export\x20started':'Đã\x20bắt\x20đầu\x20xuất\x20tài\x20liệu\x20Word','Word\x20document\x20export\x20failed':'Không\x20xuất\x20được\x20tài\x20liệu\x20Word','Word\x20document\x20export\x20successful':'Đã\x20xuất\x20tài\x20liệu\x20Word\x20thành\x20công','Exporting\x20Word\x20document':'Đang\x20xuất\x20tài\x20liệu\x20Word'},'getPluralForm':_0x1b0e3d=>0x0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4519d0=>{const {vi:{dictionary:_0x3ecac9,getPluralForm:_0x15dc34}}={'vi':{'dictionary':{'Export\x20to\x20Word':'Xuất\x20ra\x20định\x20dạng\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'Đã\x20xảy\x20ra\x20lỗi\x20khi\x20tạo\x20tệp\x20Word.','Word\x20document\x20export\x20started':'Đã\x20bắt\x20đầu\x20xuất\x20tài\x20liệu\x20Word','Word\x20document\x20export\x20failed':'Không\x20xuất\x20được\x20tài\x20liệu\x20Word','Word\x20document\x20export\x20successful':'Đã\x20xuất\x20tài\x20liệu\x20Word\x20thành\x20công','Exporting\x20Word\x20document':'Đang\x20xuất\x20tài\x20liệu\x20Word'},'getPluralForm':_0x5b09a2=>0x0}};_0x4519d0['vi']||={'dictionary':{},'getPluralForm':null},_0x4519d0['vi']['dictionary']=Object['assign'](_0x4519d0['vi']['dictionary'],_0x3ecac9),_0x4519d0['vi']['getPluralForm']=_0x15dc34;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3a3673=>{const {vi:{dictionary:_0x1dada2,getPluralForm:_0x18b4ca}}={'vi':{'dictionary':{'Export\x20to\x20Word':'Xuất\x20ra\x20định\x20dạng\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'Đã\x20xảy\x20ra\x20lỗi\x20khi\x20tạo\x20tệp\x20Word.','Word\x20document\x20export\x20started':'Đã\x20bắt\x20đầu\x20xuất\x20tài\x20liệu\x20Word','Word\x20document\x20export\x20failed':'Không\x20xuất\x20được\x20tài\x20liệu\x20Word','Word\x20document\x20export\x20successful':'Đã\x20xuất\x20tài\x20liệu\x20Word\x20thành\x20công','Exporting\x20Word\x20document':'Đang\x20xuất\x20tài\x20liệu\x20Word'},'getPluralForm':_0xef9417=>0x0}};_0x3a3673['vi']||={'dictionary':{},'getPluralForm':null},_0x3a3673['vi']['dictionary']=Object['assign'](_0x3a3673['vi']['dictionary'],_0x1dada2),_0x3a3673['vi']['getPluralForm']=_0x18b4ca;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'zh-cn':{'dictionary':{'Export\x20to\x20Word':'导出Word文档','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'生成Word文档时发生了异常。','Word\x20document\x20export\x20started':'Word\x20文档导出开始','Word\x20document\x20export\x20failed':'Word\x20文档导出失败','Word\x20document\x20export\x20successful':'Word\x20文档导出成功','Exporting\x20Word\x20document':'正在导出\x20Word\x20文档'},'getPluralForm':_0x22d1f5=>0x0}};
23
+ export default{'zh-cn':{'dictionary':{'Export\x20to\x20Word':'导出Word文档','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'生成Word文档时发生了异常。','Word\x20document\x20export\x20started':'Word\x20文档导出开始','Word\x20document\x20export\x20failed':'Word\x20文档导出失败','Word\x20document\x20export\x20successful':'Word\x20文档导出成功','Exporting\x20Word\x20document':'正在导出\x20Word\x20文档'},'getPluralForm':_0x42e8c9=>0x0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x59792f=>{const {'zh-cn':{dictionary:_0x347c07,getPluralForm:_0xa43677}}={'zh-cn':{'dictionary':{'Export\x20to\x20Word':'导出Word文档','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'生成Word文档时发生了异常。','Word\x20document\x20export\x20started':'Word\x20文档导出开始','Word\x20document\x20export\x20failed':'Word\x20文档导出失败','Word\x20document\x20export\x20successful':'Word\x20文档导出成功','Exporting\x20Word\x20document':'正在导出\x20Word\x20文档'},'getPluralForm':_0x4c413e=>0x0}};_0x59792f['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x59792f['zh-cn']['dictionary']=Object['assign'](_0x59792f['zh-cn']['dictionary'],_0x347c07),_0x59792f['zh-cn']['getPluralForm']=_0xa43677;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3cb921=>{const {'zh-cn':{dictionary:_0x234e07,getPluralForm:_0x36ca3e}}={'zh-cn':{'dictionary':{'Export\x20to\x20Word':'导出Word文档','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'生成Word文档时发生了异常。','Word\x20document\x20export\x20started':'Word\x20文档导出开始','Word\x20document\x20export\x20failed':'Word\x20文档导出失败','Word\x20document\x20export\x20successful':'Word\x20文档导出成功','Exporting\x20Word\x20document':'正在导出\x20Word\x20文档'},'getPluralForm':_0x1292ae=>0x0}};_0x3cb921['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x3cb921['zh-cn']['dictionary']=Object['assign'](_0x3cb921['zh-cn']['dictionary'],_0x234e07),_0x3cb921['zh-cn']['getPluralForm']=_0x36ca3e;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'zh':{'dictionary':{'Export\x20to\x20Word':'匯出到\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'產生\x20Word\x20檔案時出錯。','Word\x20document\x20export\x20started':'Word\x20文件匯出開始','Word\x20document\x20export\x20failed':'Word\x20文件匯出失敗','Word\x20document\x20export\x20successful':'Word\x20文件匯出成功','Exporting\x20Word\x20document':'正在匯出\x20Word\x20文件'},'getPluralForm':_0x116658=>0x0}};
23
+ export default{'zh':{'dictionary':{'Export\x20to\x20Word':'匯出到\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'產生\x20Word\x20檔案時出錯。','Word\x20document\x20export\x20started':'Word\x20文件匯出開始','Word\x20document\x20export\x20failed':'Word\x20文件匯出失敗','Word\x20document\x20export\x20successful':'Word\x20文件匯出成功','Exporting\x20Word\x20document':'正在匯出\x20Word\x20文件'},'getPluralForm':_0x45ebbb=>0x0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x460c6b=>{const {zh:{dictionary:_0x413309,getPluralForm:_0x13f835}}={'zh':{'dictionary':{'Export\x20to\x20Word':'匯出到\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'產生\x20Word\x20檔案時出錯。','Word\x20document\x20export\x20started':'Word\x20文件匯出開始','Word\x20document\x20export\x20failed':'Word\x20文件匯出失敗','Word\x20document\x20export\x20successful':'Word\x20文件匯出成功','Exporting\x20Word\x20document':'正在匯出\x20Word\x20文件'},'getPluralForm':_0x12816a=>0x0}};_0x460c6b['zh']||={'dictionary':{},'getPluralForm':null},_0x460c6b['zh']['dictionary']=Object['assign'](_0x460c6b['zh']['dictionary'],_0x413309),_0x460c6b['zh']['getPluralForm']=_0x13f835;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x22d9f2=>{const {zh:{dictionary:_0x425892,getPluralForm:_0x380558}}={'zh':{'dictionary':{'Export\x20to\x20Word':'匯出到\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'產生\x20Word\x20檔案時出錯。','Word\x20document\x20export\x20started':'Word\x20文件匯出開始','Word\x20document\x20export\x20failed':'Word\x20文件匯出失敗','Word\x20document\x20export\x20successful':'Word\x20文件匯出成功','Exporting\x20Word\x20document':'正在匯出\x20Word\x20文件'},'getPluralForm':_0x1dfafa=>0x0}};_0x22d9f2['zh']||={'dictionary':{},'getPluralForm':null},_0x22d9f2['zh']['dictionary']=Object['assign'](_0x22d9f2['zh']['dictionary'],_0x425892),_0x22d9f2['zh']['getPluralForm']=_0x380558;})(window['CKEDITOR_TRANSLATIONS']||={});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-export-word",
3
- "version": "43.0.0-alpha.5",
3
+ "version": "43.0.0-alpha.6",
4
4
  "description": "Export to Word feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -30,10 +30,10 @@
30
30
  "type": "module",
31
31
  "main": "src/index.js",
32
32
  "dependencies": {
33
- "@ckeditor/ckeditor5-core": "43.0.0-alpha.5",
34
- "@ckeditor/ckeditor5-utils": "43.0.0-alpha.5",
35
- "@ckeditor/ckeditor5-ui": "43.0.0-alpha.5",
36
- "ckeditor5": "43.0.0-alpha.5"
33
+ "@ckeditor/ckeditor5-core": "43.0.0-alpha.6",
34
+ "@ckeditor/ckeditor5-utils": "43.0.0-alpha.6",
35
+ "@ckeditor/ckeditor5-ui": "43.0.0-alpha.6",
36
+ "ckeditor5": "43.0.0-alpha.6"
37
37
  },
38
38
  "license": "SEE LICENSE IN LICENSE.md",
39
39
  "author": "CKSource (https://cksource.com/)",
@@ -115,14 +115,14 @@ export interface ExportWordConfig {
115
115
  *
116
116
  * ```ts
117
117
  * const exportWordConfig = {
118
- * converterUrl: 'https://myconverter.com/v1/'
118
+ * converterUrl: 'https://myconverter.com/v2/'
119
119
  * }
120
120
  * ```
121
121
  *
122
122
  * **NOTE:** The plugin uses the default HTML to Word converter delivered by CKEditor Cloud Services.
123
123
  * You can provide a URL to an on-premises converter instead.
124
124
  *
125
- * @default 'https://docx-converter.cke-cs.com/v1/convert'
125
+ * @default 'https://docx-converter.cke-cs.com/v2/convert/html-docx'
126
126
  */
127
127
  converterUrl?: string;
128
128
  /**
@@ -139,18 +139,22 @@ export interface ExportWordConfig {
139
139
  * ```
140
140
  *
141
141
  * @default `{
142
- * format: 'A4',
143
- * margin_top: '1in',
144
- * margin_bottom: '1in',
145
- * margin_right: '1in',
146
- * margin_left: '1in',
147
- * header: undefined,
148
- * footer: undefined,
149
- * comments: undefined,
150
- * suggestions: undefined,
151
- * orientation: 'portrait',
152
- * auto_pagination: true,
142
+ * document: {
143
+ * size: 'A4',
144
+ * orientation: 'portrait',
145
+ * language: editor.locale.contentLanguage,
146
+ * margin: {
147
+ * top: '1in',
148
+ * bottom: '1in',
149
+ * right: '1in',
150
+ * left: '1in'
151
+ * }
152
+ * }
153
+ * headers: undefined,
154
+ * footers: undefined,
155
+ * auto_pagination: false,
153
156
  * base_url: undefined,
157
+ * extra_http_headers: undefined
154
158
  * }`
155
159
  */
156
160
  converterOptions?: ExportWordConverterOptions | ExportWordConverterOptionsV2;
@@ -195,7 +199,7 @@ export interface ExportWordConfig {
195
199
  /**
196
200
  * The version of `Export to Word` API.
197
201
  *
198
- * @default '1'
202
+ * @default '2'
199
203
  */
200
204
  version?: 1 | 2;
201
205
  }
package/src/exportword.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x343190=_0x10b0;(function(_0x51d982,_0x5659e1){const _0x331bb9=_0x10b0,_0x1a118a=_0x51d982();while(!![]){try{const _0xc0650e=-parseInt(_0x331bb9(0x1a5))/0x1*(parseInt(_0x331bb9(0x18f))/0x2)+parseInt(_0x331bb9(0x1a2))/0x3*(-parseInt(_0x331bb9(0x1a3))/0x4)+parseInt(_0x331bb9(0x19f))/0x5+parseInt(_0x331bb9(0x19c))/0x6*(-parseInt(_0x331bb9(0x190))/0x7)+parseInt(_0x331bb9(0x196))/0x8+parseInt(_0x331bb9(0x197))/0x9+-parseInt(_0x331bb9(0x19e))/0xa;if(_0xc0650e===_0x5659e1)break;else _0x1a118a['push'](_0x1a118a['shift']());}catch(_0x20a96b){_0x1a118a['push'](_0x1a118a['shift']());}}}(_0xaa89,0xda786));import{Plugin as _0x24bd92}from'ckeditor5/src/core.js';function _0xaa89(){const _0x2fe381=['8hxHdee','add','1ItoJCd','pluginName','config','commands','_token','930710SOQQBO','203yrSomF','requires','token','then','tokenUrl','exportWord','9395408HnaFzg','10472751wYLbfN','get','ExportWord','init','registerTokenUrl','82782rTusMr','editor','472100XDoxPU','1936555ICKeea','CloudServices','plugins','1376766JVvOsT'];_0xaa89=function(){return _0x2fe381;};return _0xaa89();}import{Notification as _0x29202d}from'ckeditor5/src/ui.js';import _0x5dbb34 from'./exportwordcommand.js';import _0x2fed41 from'./exportwordui.js';function _0x10b0(_0x17c0ea,_0x1a857c){const _0xaa8949=_0xaa89();return _0x10b0=function(_0x10b077,_0x3cf962){_0x10b077=_0x10b077-0x18c;let _0x4c04a7=_0xaa8949[_0x10b077];return _0x4c04a7;},_0x10b0(_0x17c0ea,_0x1a857c);}export default class s extends _0x24bd92{static get[_0x343190(0x1a6)](){const _0x2720db=_0x343190;return _0x2720db(0x199);}static get[_0x343190(0x191)](){const _0x591667=_0x343190;return[_0x591667(0x1a0),_0x29202d,_0x2fed41];}[_0x343190(0x19a)](){const _0x1e4265=_0x343190,_0x3e7293=this[_0x1e4265(0x19d)],_0x4ab5bd=_0x3e7293[_0x1e4265(0x18c)][_0x1e4265(0x198)](_0x1e4265(0x195))||{};_0x3e7293[_0x1e4265(0x18d)][_0x1e4265(0x1a4)](_0x1e4265(0x195),new _0x5dbb34(_0x3e7293));const _0x156269=_0x3e7293[_0x1e4265(0x1a1)][_0x1e4265(0x198)](_0x1e4265(0x1a0));!0x1===_0x4ab5bd[_0x1e4265(0x194)]?this[_0x1e4265(0x18e)]=null:_0x4ab5bd[_0x1e4265(0x194)]?_0x156269[_0x1e4265(0x19b)](_0x4ab5bd[_0x1e4265(0x194)])[_0x1e4265(0x193)](_0x144aee=>{const _0x3499af=_0x1e4265;this[_0x3499af(0x18e)]=_0x144aee;}):this[_0x1e4265(0x18e)]=_0x156269[_0x1e4265(0x192)];}}
23
+ function _0x1ba4(_0x264e80,_0x1aafbe){const _0xc55120=_0xc551();return _0x1ba4=function(_0x1ba41e,_0x3144ef){_0x1ba41e=_0x1ba41e-0xa5;let _0x8ab62f=_0xc55120[_0x1ba41e];return _0x8ab62f;},_0x1ba4(_0x264e80,_0x1aafbe);}const _0x7fdb3d=_0x1ba4;(function(_0x3211fe,_0x4ef89e){const _0x8884d6=_0x1ba4,_0x2e379d=_0x3211fe();while(!![]){try{const _0x198a2c=parseInt(_0x8884d6(0xb1))/0x1*(parseInt(_0x8884d6(0xb3))/0x2)+parseInt(_0x8884d6(0xc0))/0x3+-parseInt(_0x8884d6(0xbe))/0x4*(parseInt(_0x8884d6(0xa7))/0x5)+-parseInt(_0x8884d6(0xa6))/0x6+parseInt(_0x8884d6(0xac))/0x7*(-parseInt(_0x8884d6(0xae))/0x8)+-parseInt(_0x8884d6(0xb0))/0x9*(-parseInt(_0x8884d6(0xbc))/0xa)+parseInt(_0x8884d6(0xb6))/0xb;if(_0x198a2c===_0x4ef89e)break;else _0x2e379d['push'](_0x2e379d['shift']());}catch(_0x4ee969){_0x2e379d['push'](_0x2e379d['shift']());}}}(_0xc551,0xdc379));function _0xc551(){const _0x478715=['ExportWord','32316fcZvPz','exportWord','538701vjYofk','editor','7049622DLlZFs','40FSxIfs','commands','config','registerTokenUrl','CloudServices','7URcwXv','token','11255848RdqYDO','requires','18FeYnOI','4uzbIjH','pluginName','36466UWgEGa','get','plugins','30963196sAdgji','_token','init','then','add','tokenUrl','2406120EbJbwX'];_0xc551=function(){return _0x478715;};return _0xc551();}import{Plugin as _0x40c530}from'ckeditor5/src/core.js';import{Notification as _0x1c3707}from'ckeditor5/src/ui.js';import _0x55d966 from'./exportwordcommand.js';import _0x35acf1 from'./exportwordui.js';export default class s extends _0x40c530{static get[_0x7fdb3d(0xb2)](){const _0x51884a=_0x7fdb3d;return _0x51884a(0xbd);}static get[_0x7fdb3d(0xaf)](){const _0x25b434=_0x7fdb3d;return[_0x25b434(0xab),_0x1c3707,_0x35acf1];}[_0x7fdb3d(0xb8)](){const _0x595d33=_0x7fdb3d,_0x22083b=this[_0x595d33(0xa5)],_0x219d53=_0x22083b[_0x595d33(0xa9)][_0x595d33(0xb4)](_0x595d33(0xbf))||{};_0x22083b[_0x595d33(0xa8)][_0x595d33(0xba)](_0x595d33(0xbf),new _0x55d966(_0x22083b));const _0x5becc6=_0x22083b[_0x595d33(0xb5)][_0x595d33(0xb4)](_0x595d33(0xab));!0x1===_0x219d53[_0x595d33(0xbb)]?this[_0x595d33(0xb7)]=null:_0x219d53[_0x595d33(0xbb)]?_0x5becc6[_0x595d33(0xaa)](_0x219d53[_0x595d33(0xbb)])[_0x595d33(0xb9)](_0x5bc552=>{const _0x1a3792=_0x595d33;this[_0x1a3792(0xb7)]=_0x5bc552;}):this[_0x595d33(0xb7)]=_0x5becc6[_0x595d33(0xad)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x66929c=_0x33bf;function _0x33bf(_0x32cd39,_0x1f6e31){const _0x1ca2e9=_0x1ca2();return _0x33bf=function(_0x33bf6e,_0xfd0fee){_0x33bf6e=_0x33bf6e-0x1c7;let _0x4d1c42=_0x1ca2e9[_0x33bf6e];return _0x4d1c42;},_0x33bf(_0x32cd39,_0x1f6e31);}(function(_0x56552d,_0x11973b){const _0x1da34a=_0x33bf,_0x3a55bf=_0x56552d();while(!![]){try{const _0x55b88e=parseInt(_0x1da34a(0x1cb))/0x1*(-parseInt(_0x1da34a(0x1cc))/0x2)+parseInt(_0x1da34a(0x1d0))/0x3+parseInt(_0x1da34a(0x1e7))/0x4*(-parseInt(_0x1da34a(0x1e5))/0x5)+-parseInt(_0x1da34a(0x1f4))/0x6+parseInt(_0x1da34a(0x1ee))/0x7*(parseInt(_0x1da34a(0x1d5))/0x8)+parseInt(_0x1da34a(0x1ca))/0x9*(parseInt(_0x1da34a(0x1e8))/0xa)+parseInt(_0x1da34a(0x211))/0xb;if(_0x55b88e===_0x11973b)break;else _0x3a55bf['push'](_0x3a55bf['shift']());}catch(_0x9360ba){_0x3a55bf['push'](_0x3a55bf['shift']());}}}(_0x1ca2,0x2aec7));function _0x1ca2(){const _0xdd83c2=['17073mhLSnq','2283tzLOVD','70MmWqDq','execute','URL','function','387552WXwmmh','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','announce','https://docx-converter.cke-cs.com/v2/convert/html-docx','status','8IMxZfd','version','remove','then','download','application/docx','EDITOR_STYLES','assertive','isBusy','_token','set','margin_left','Word\x20document\x20export\x20successful','catch','POST','fetch','88510MKpgYo','converterOptions','16PxUAsn','610XxfYQI','finally','suggestions','createObjectURL','</div>','value','1123367wAhuIc','converterUrl','editor','contentLanguageDirection','fileName','auto_pagination','763590IxJWnn','data','isEnabled','plugins','blob','margin_right','format','document.docx','createElement','application/json','margin_top','dataCallback','export-word-v1-api-is-deprecated','affectsData','pending','https://docx-converter.cke-cs.com/v1/convert','Word\x20document\x20export\x20started','refresh','ariaLiveAnnouncer','orientation','header','Word\x20document\x20export\x20failed','<div\x20class=\x22ck-content\x22\x20dir=\x22','showWarning','stringify','footer','stylesheets','click','token','532521JGRMnY','comments','options','margin_bottom','get','locale','config','_downloadFile','ExportWord','href','Notification'];_0x1ca2=function(){return _0xdd83c2;};return _0x1ca2();}import{Command as _0x7235ef}from'ckeditor5/src/core.js';import{logWarning as _0x23dd7f}from'ckeditor5/src/utils.js';import{getStyles as _0x30c02d,getConverterOptions as _0x1f129b,getConverterOptionsV2 as _0x1b8e2f}from'./utils.js';import{getTranslation as _0x58a48b}from'./utils/common-translations.js';const h=[_0x66929c(0x207),_0x66929c(0x1fe),_0x66929c(0x1f9),_0x66929c(0x214),_0x66929c(0x1e0),_0x66929c(0x1fa),_0x66929c(0x208),_0x66929c(0x20d),_0x66929c(0x212),_0x66929c(0x1ea)];export default class e extends _0x7235ef{constructor(_0xe7031b){const _0x3f8afd=_0x66929c;super(_0xe7031b),this[_0x3f8afd(0x1df)](_0x3f8afd(0x1dd),!0x1),this[_0x3f8afd(0x201)]=!0x1;}[_0x66929c(0x205)](){const _0x408460=_0x66929c;this[_0x408460(0x1f6)]=!this[_0x408460(0x1dd)],this[_0x408460(0x1ed)]=this[_0x408460(0x1dd)]?_0x408460(0x202):void 0x0;}[_0x66929c(0x1cd)](_0x39d1c4={}){const _0x699e33=_0x66929c,_0x6278b7=this[_0x699e33(0x1f0)],_0x1983b2=_0x39d1c4[_0x699e33(0x1d6)]||0x2,_0x5f20e3=0x1===_0x1983b2,_0x446596=_0x39d1c4[_0x699e33(0x1ef)]||(_0x5f20e3?_0x699e33(0x203):_0x699e33(0x1d3)),_0x5cc49a=_0x39d1c4[_0x699e33(0x1e6)]||{},_0x5d8711=_0x6278b7[_0x699e33(0x1f7)][_0x699e33(0x215)](_0x699e33(0x1c7)),_0x2be6ea=_0x39d1c4[_0x699e33(0x210)]||_0x5d8711[_0x699e33(0x1de)],_0x57463b=!0x0===_0x5cc49a[_0x699e33(0x1f3)],_0x51eafd=_0x39d1c4[_0x699e33(0x1ff)]||(_0x55e541=>_0x55e541[_0x699e33(0x1f5)][_0x699e33(0x215)]({'pagination':_0x57463b}));return 0x2===_0x1983b2&&function(_0x39e848){for(const _0x1b51c4 of h)if(void 0x0!==_0x39e848[_0x1b51c4])return!0x0;return!0x1;}(_0x5cc49a)&&_0x23dd7f(_0x699e33(0x200)),this[_0x699e33(0x1dd)]=!0x0,this[_0x699e33(0x205)](),_0x30c02d(_0x39d1c4[_0x699e33(0x20e)]||[_0x699e33(0x1db)])[_0x699e33(0x1d8)](async _0x36d14a=>{const _0x56f922=_0x699e33;_0x6278b7['ui'][_0x56f922(0x206)][_0x56f922(0x1d2)](_0x58a48b(_0x6278b7[_0x56f922(0x216)],_0x56f922(0x204)));const _0x5390f2=await _0x51eafd(_0x6278b7),_0x5207c4={'html':_0x56f922(0x20a)+_0x6278b7[_0x56f922(0x216)][_0x56f922(0x1f1)]+'\x22>'+_0x5390f2+_0x56f922(0x1ec),'css':_0x36d14a,[_0x5f20e3?_0x56f922(0x213):_0x56f922(0x217)]:{..._0x5cc49a,..._0x5f20e3?_0x1f129b(_0x6278b7,_0x5cc49a):_0x1b8e2f(_0x6278b7,_0x5cc49a)}},_0x3f3060={'method':_0x56f922(0x1e3),'headers':{'Content-Type':_0x56f922(0x1fd),'Accept':_0x56f922(0x1da),..._0x2be6ea?{'Authorization':_0x2be6ea[_0x56f922(0x1ed)]}:null},'body':JSON[_0x56f922(0x20c)](_0x5207c4)};return window[_0x56f922(0x1e4)](_0x446596,_0x3f3060)[_0x56f922(0x1d8)](_0x44995a=>{const _0x3d5727=_0x56f922;if(0xc8!==_0x44995a[_0x3d5727(0x1d4)])throw _0x44995a;return _0x44995a[_0x3d5727(0x1f8)]();})[_0x56f922(0x1d8)](_0x48bd5c=>{const _0xbbd35e=_0x56f922;_0x6278b7['ui'][_0xbbd35e(0x206)][_0xbbd35e(0x1d2)](_0x58a48b(_0x6278b7[_0xbbd35e(0x216)],_0xbbd35e(0x1e1)));const _0x1c3f21=_0xbbd35e(0x1cf)==typeof _0x39d1c4[_0xbbd35e(0x1f2)]?_0x39d1c4[_0xbbd35e(0x1f2)]():_0x39d1c4[_0xbbd35e(0x1f2)];this[_0xbbd35e(0x218)](_0x48bd5c,_0x1c3f21||_0xbbd35e(0x1fb));});})[_0x699e33(0x1e2)](_0x5b7f71=>{const _0x5411f9=_0x699e33,_0x93a351=_0x6278b7[_0x5411f9(0x1f7)][_0x5411f9(0x215)](_0x5411f9(0x1c9));throw _0x6278b7['ui'][_0x5411f9(0x206)][_0x5411f9(0x1d2)](_0x58a48b(_0x6278b7[_0x5411f9(0x216)],_0x5411f9(0x209)),{'politeness':_0x5411f9(0x1dc)}),_0x93a351[_0x5411f9(0x20b)](_0x58a48b(_0x6278b7[_0x5411f9(0x216)],_0x5411f9(0x1d1))),_0x5b7f71;})[_0x699e33(0x1e9)](()=>{const _0x4af9dd=_0x699e33;this[_0x4af9dd(0x1dd)]=!0x1,this[_0x4af9dd(0x205)]();});}[_0x66929c(0x218)](_0x34f0e2,_0x5117cc){const _0x483695=_0x66929c,_0x203285=document[_0x483695(0x1fc)]('a');_0x203285[_0x483695(0x1c8)]=window[_0x483695(0x1ce)][_0x483695(0x1eb)](_0x34f0e2),_0x203285[_0x483695(0x1d9)]=_0x5117cc,_0x203285[_0x483695(0x20f)](),_0x203285[_0x483695(0x1d7)]();}}
23
+ const _0x58e77c=_0x74ab;(function(_0x7e05fc,_0x65e5fa){const _0x26beee=_0x74ab,_0x400164=_0x7e05fc();while(!![]){try{const _0x3154cd=-parseInt(_0x26beee(0x10f))/0x1+-parseInt(_0x26beee(0xdf))/0x2*(-parseInt(_0x26beee(0xe4))/0x3)+parseInt(_0x26beee(0x118))/0x4+parseInt(_0x26beee(0x10a))/0x5*(-parseInt(_0x26beee(0xcc))/0x6)+-parseInt(_0x26beee(0x100))/0x7*(parseInt(_0x26beee(0xf5))/0x8)+parseInt(_0x26beee(0xec))/0x9*(-parseInt(_0x26beee(0x115))/0xa)+parseInt(_0x26beee(0xe0))/0xb;if(_0x3154cd===_0x65e5fa)break;else _0x400164['push'](_0x400164['shift']());}catch(_0xeef536){_0x400164['push'](_0x400164['shift']());}}}(_0x117d,0xbbb64));import{Command as _0x33a7a8}from'ckeditor5/src/core.js';import{logWarning as _0x89ce96}from'ckeditor5/src/utils.js';import{getStyles as _0x5af1bf,getConverterOptions as _0x45c8d0,getConverterOptionsV2 as _0x51b0a2}from'./utils.js';function _0x74ab(_0x36e771,_0xe05682){const _0x117d89=_0x117d();return _0x74ab=function(_0x74ab48,_0x4329ce){_0x74ab48=_0x74ab48-0xc7;let _0x33ed85=_0x117d89[_0x74ab48];return _0x33ed85;},_0x74ab(_0x36e771,_0xe05682);}function _0x117d(){const _0x4af1ad=['margin_top','remove','assertive','URL','plugins','affectsData','createElement','converterUrl','function','dataCallback','7637aGfKVD','isBusy','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','application/json','data','footer','ariaLiveAnnouncer','auto_pagination','https://docx-converter.cke-cs.com/v2/convert/html-docx','export-word-v1-api-is-deprecated','111655aTGJGQ','blob','ExportWord','announce','set','76332qzosQP','download','_token','Word\x20document\x20export\x20successful','execute','pending','20hHcUWF','fileName','options','4720344Ctvgpf','status','suggestions','header','contentLanguageDirection','then','138hSVuoL','_downloadFile','version','catch','locale','EDITOR_STYLES','margin_right','editor','Word\x20document\x20export\x20failed','converterOptions','stringify','https://docx-converter.cke-cs.com/v1/convert','isEnabled','finally','application/docx','Notification','createObjectURL','margin_left','comments','510ddKqJM','23503260fBEmfM','href','stylesheets','<div\x20class=\x22ck-content\x22\x20dir=\x22','8235MOVzAu','value','</div>','orientation','POST','token','document.docx','format','5902263ClCVZI','config','margin_bottom','click','get','fetch','Word\x20document\x20export\x20started','refresh','showWarning','9872fdWJsg'];_0x117d=function(){return _0x4af1ad;};return _0x117d();}import{getTranslation as _0x399bbe}from'./utils/common-translations.js';const h=[_0x58e77c(0xe7),_0x58e77c(0xf6),_0x58e77c(0xd2),_0x58e77c(0xee),_0x58e77c(0xdd),_0x58e77c(0xeb),_0x58e77c(0xc9),_0x58e77c(0x105),_0x58e77c(0xde),_0x58e77c(0xc8)];export default class e extends _0x33a7a8{constructor(_0x3ccc43){const _0x57516f=_0x58e77c;super(_0x3ccc43),this[_0x57516f(0x10e)](_0x57516f(0x101),!0x1),this[_0x57516f(0xfb)]=!0x1;}[_0x58e77c(0xf3)](){const _0x10055e=_0x58e77c;this[_0x10055e(0xd8)]=!this[_0x10055e(0x101)],this[_0x10055e(0xe5)]=this[_0x10055e(0x101)]?_0x10055e(0x114):void 0x0;}[_0x58e77c(0x113)](_0x5a7536={}){const _0x40be1b=_0x58e77c,_0x4198d6=this[_0x40be1b(0xd3)],_0x3d2b9e=_0x5a7536[_0x40be1b(0xce)]||0x2,_0x4f3be3=0x1===_0x3d2b9e,_0xfcc46f=_0x5a7536[_0x40be1b(0xfd)]||(_0x4f3be3?_0x40be1b(0xd7):_0x40be1b(0x108)),_0x1e9284=_0x5a7536[_0x40be1b(0xd5)]||{},_0x3424de=_0x4198d6[_0x40be1b(0xfa)][_0x40be1b(0xf0)](_0x40be1b(0x10c)),_0x2a5d52=_0x5a7536[_0x40be1b(0xe9)]||_0x3424de[_0x40be1b(0x111)],_0x12cfbc=!0x0===_0x1e9284[_0x40be1b(0x107)],_0x1f50a1=_0x5a7536[_0x40be1b(0xff)]||(_0x1140a0=>_0x1140a0[_0x40be1b(0x104)][_0x40be1b(0xf0)]({'pagination':_0x12cfbc}));return 0x2===_0x3d2b9e&&function(_0x22aec0){for(const _0xd28dc7 of h)if(void 0x0!==_0x22aec0[_0xd28dc7])return!0x0;return!0x1;}(_0x1e9284)&&_0x89ce96(_0x40be1b(0x109)),this[_0x40be1b(0x101)]=!0x0,this[_0x40be1b(0xf3)](),_0x5af1bf(_0x5a7536[_0x40be1b(0xe2)]||[_0x40be1b(0xd1)])[_0x40be1b(0xcb)](async _0x4ce5a4=>{const _0x21f43c=_0x40be1b;_0x4198d6['ui'][_0x21f43c(0x106)][_0x21f43c(0x10d)](_0x399bbe(_0x4198d6[_0x21f43c(0xd0)],_0x21f43c(0xf2)));const _0x447712=await _0x1f50a1(_0x4198d6),_0x160296={'html':_0x21f43c(0xe3)+_0x4198d6[_0x21f43c(0xd0)][_0x21f43c(0xca)]+'\x22>'+_0x447712+_0x21f43c(0xe6),'css':_0x4ce5a4,[_0x4f3be3?_0x21f43c(0x117):_0x21f43c(0xed)]:{..._0x1e9284,..._0x4f3be3?_0x45c8d0(_0x4198d6,_0x1e9284):_0x51b0a2(_0x4198d6,_0x1e9284)}},_0x3912e3={'method':_0x21f43c(0xe8),'headers':{'Content-Type':_0x21f43c(0x103),'Accept':_0x21f43c(0xda),..._0x2a5d52?{'Authorization':_0x2a5d52[_0x21f43c(0xe5)]}:null},'body':JSON[_0x21f43c(0xd6)](_0x160296)};return window[_0x21f43c(0xf1)](_0xfcc46f,_0x3912e3)[_0x21f43c(0xcb)](_0x13ca50=>{const _0x47a167=_0x21f43c;if(0xc8!==_0x13ca50[_0x47a167(0xc7)])throw _0x13ca50;return _0x13ca50[_0x47a167(0x10b)]();})[_0x21f43c(0xcb)](_0x2a02b0=>{const _0xafab8f=_0x21f43c;_0x4198d6['ui'][_0xafab8f(0x106)][_0xafab8f(0x10d)](_0x399bbe(_0x4198d6[_0xafab8f(0xd0)],_0xafab8f(0x112)));const _0x38cf1e=_0xafab8f(0xfe)==typeof _0x5a7536[_0xafab8f(0x116)]?_0x5a7536[_0xafab8f(0x116)]():_0x5a7536[_0xafab8f(0x116)];this[_0xafab8f(0xcd)](_0x2a02b0,_0x38cf1e||_0xafab8f(0xea));});})[_0x40be1b(0xcf)](_0x5c94c8=>{const _0x2a79b8=_0x40be1b,_0x227fec=_0x4198d6[_0x2a79b8(0xfa)][_0x2a79b8(0xf0)](_0x2a79b8(0xdb));throw _0x4198d6['ui'][_0x2a79b8(0x106)][_0x2a79b8(0x10d)](_0x399bbe(_0x4198d6[_0x2a79b8(0xd0)],_0x2a79b8(0xd4)),{'politeness':_0x2a79b8(0xf8)}),_0x227fec[_0x2a79b8(0xf4)](_0x399bbe(_0x4198d6[_0x2a79b8(0xd0)],_0x2a79b8(0x102))),_0x5c94c8;})[_0x40be1b(0xd9)](()=>{const _0x53b38a=_0x40be1b;this[_0x53b38a(0x101)]=!0x1,this[_0x53b38a(0xf3)]();});}[_0x58e77c(0xcd)](_0x15faec,_0x22b10f){const _0x5d86fb=_0x58e77c,_0x5ac14e=document[_0x5d86fb(0xfc)]('a');_0x5ac14e[_0x5d86fb(0xe1)]=window[_0x5d86fb(0xf9)][_0x5d86fb(0xdc)](_0x15faec),_0x5ac14e[_0x5d86fb(0x110)]=_0x22b10f,_0x5ac14e[_0x5d86fb(0xef)](),_0x5ac14e[_0x5d86fb(0xf7)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x490f2b=_0x59b7;function _0x1e05(){const _0x524805=['Export\x20to\x20Word','3633665MHkFkm','set','3432810aNPBjF','pluginName','listenTo','exportWord','165636pwDgNt','3666552tycZIF','Exporting\x20Word\x20document','isVisible','focus','iconView','config','menuBar:exportWord','_createButton','1027957sHcMmY','children','label','add','init','isBusy','get','editing','commands','execute','1984SNYylf','bind','ExportWordUI','489988ARbOEx','view','componentFactory','locale','isOn','isEnabled','8590757VneYzE','6mhvXQu','editor'];_0x1e05=function(){return _0x524805;};return _0x1e05();}(function(_0x8f388b,_0x5e6dad){const _0x391e9f=_0x59b7,_0x40cd1c=_0x8f388b();while(!![]){try{const _0x3ad605=parseInt(_0x391e9f(0xaa))/0x1+parseInt(_0x391e9f(0x9d))/0x2+-parseInt(_0x391e9f(0x98))/0x3*(-parseInt(_0x391e9f(0xb7))/0x4)+parseInt(_0x391e9f(0x9b))/0x5+parseInt(_0x391e9f(0xa2))/0x6+parseInt(_0x391e9f(0x97))/0x7+parseInt(_0x391e9f(0xb4))/0x8*(-parseInt(_0x391e9f(0xa1))/0x9);if(_0x3ad605===_0x5e6dad)break;else _0x40cd1c['push'](_0x40cd1c['shift']());}catch(_0x333718){_0x40cd1c['push'](_0x40cd1c['shift']());}}}(_0x1e05,0xf1c20));import{Plugin as _0x3f926e}from'ckeditor5/src/core.js';function _0x59b7(_0x1d0912,_0x2e5053){const _0x1e052e=_0x1e05();return _0x59b7=function(_0x59b780,_0x4a38d6){_0x59b780=_0x59b780-0x96;let _0xa832dc=_0x1e052e[_0x59b780];return _0xa832dc;},_0x59b7(_0x1d0912,_0x2e5053);}import{ButtonView as _0x149880,MenuBarMenuListItemButtonView as _0x5d1a2f,SpinnerView as _0x18ba7c}from'ckeditor5/src/ui.js';import _0x2f4fdd from'../theme/icons/exportword.svg';import{getTranslation as _0x17131f}from'./utils/common-translations.js';export default class i extends _0x3f926e{static get[_0x490f2b(0x9e)](){const _0x36af72=_0x490f2b;return _0x36af72(0xb6);}[_0x490f2b(0xae)](){const _0x207f33=_0x490f2b,_0x5f10e8=this[_0x207f33(0x99)];_0x5f10e8['ui'][_0x207f33(0xb9)][_0x207f33(0xad)](_0x207f33(0xa0),()=>{const _0x72525c=_0x207f33,_0x2cbb7c=_0x5f10e8[_0x72525c(0xb2)][_0x72525c(0xb0)](_0x72525c(0xa0)),_0x4e8568=this[_0x72525c(0xa9)](_0x149880);return _0x4e8568[_0x72525c(0x9c)]({'tooltip':!0x0}),_0x4e8568[_0x72525c(0xb5)](_0x72525c(0xbb))['to'](_0x2cbb7c,_0x72525c(0xaf)),_0x4e8568;}),_0x5f10e8['ui'][_0x207f33(0xb9)][_0x207f33(0xad)](_0x207f33(0xa8),()=>this[_0x207f33(0xa9)](_0x5d1a2f));}[_0x490f2b(0xa9)](_0xf93dad){const _0x57b0a3=_0x490f2b,_0x2d4289=this[_0x57b0a3(0x99)],_0x44488d=_0x2d4289[_0x57b0a3(0xa7)][_0x57b0a3(0xb0)](_0x57b0a3(0xa0))||{},_0x106394=_0x2d4289[_0x57b0a3(0xb2)][_0x57b0a3(0xb0)](_0x57b0a3(0xa0)),_0x57b104=new _0xf93dad(_0x2d4289[_0x57b0a3(0xba)]),_0x4b18de=new _0x18ba7c();return _0x57b104[_0x57b0a3(0xab)][_0x57b0a3(0xad)](_0x4b18de),_0x4b18de[_0x57b0a3(0xb5)](_0x57b0a3(0xa4))['to'](_0x106394,_0x57b0a3(0xaf)),_0x57b104[_0x57b0a3(0xa6)][_0x57b0a3(0xb5)](_0x57b0a3(0xa4))['to'](_0x106394,_0x57b0a3(0xaf),_0x403102=>!_0x403102),_0x57b104[_0x57b0a3(0x9c)]({'icon':_0x2f4fdd}),_0x57b104[_0x57b0a3(0xb5)](_0x57b0a3(0x96))['to'](_0x106394,_0x57b0a3(0x96)),_0x57b104[_0x57b0a3(0xb5)](_0x57b0a3(0xac))['to'](_0x106394,_0x57b0a3(0xaf),_0xa7c34a=>_0x17131f(_0x2d4289[_0x57b0a3(0xba)],_0xa7c34a?_0x57b0a3(0xa3):_0x57b0a3(0x9a))),this[_0x57b0a3(0x9f)](_0x57b104,_0x57b0a3(0xb3),()=>{const _0x4f4893=_0x57b0a3;_0x2d4289[_0x4f4893(0xb3)](_0x4f4893(0xa0),_0x44488d),_0x2d4289[_0x4f4893(0xb1)][_0x4f4893(0xb8)][_0x4f4893(0xa5)]();}),_0x57b104;}}
23
+ const _0x3fe9de=_0x5c48;(function(_0x44f0aa,_0x4aaac0){const _0x3dad84=_0x5c48,_0x5deaf3=_0x44f0aa();while(!![]){try{const _0x5c64b5=parseInt(_0x3dad84(0xc4))/0x1*(-parseInt(_0x3dad84(0xbe))/0x2)+-parseInt(_0x3dad84(0xab))/0x3*(parseInt(_0x3dad84(0xa6))/0x4)+-parseInt(_0x3dad84(0xbf))/0x5+-parseInt(_0x3dad84(0xc0))/0x6*(parseInt(_0x3dad84(0xb1))/0x7)+-parseInt(_0x3dad84(0xaa))/0x8*(parseInt(_0x3dad84(0xc3))/0x9)+-parseInt(_0x3dad84(0x9b))/0xa*(-parseInt(_0x3dad84(0xa0))/0xb)+-parseInt(_0x3dad84(0xa4))/0xc*(-parseInt(_0x3dad84(0xb8))/0xd);if(_0x5c64b5===_0x4aaac0)break;else _0x5deaf3['push'](_0x5deaf3['shift']());}catch(_0x48a7fa){_0x5deaf3['push'](_0x5deaf3['shift']());}}}(_0x14b4,0xb0d44));function _0x14b4(){const _0x42cee3=['2743gLvvPV','set','isEnabled','isOn','menuBar:exportWord','exportWord','1615514hdUcbY','2845665SKjjXt','211524VGQKGU','locale','execute','9XjsPkA','1QPbacV','920oSoehL','editor','ExportWordUI','_createButton','get','26972oglzyy','Export\x20to\x20Word','children','add','272292JRvVUB','iconView','5460isNSrS','isVisible','Exporting\x20Word\x20document','focus','3263352tHLfjR','3102ZoXjjb','pluginName','commands','editing','config','label','217ctZpfN','componentFactory','init','listenTo','isBusy','bind','view'];_0x14b4=function(){return _0x42cee3;};return _0x14b4();}import{Plugin as _0x2ab4ed}from'ckeditor5/src/core.js';import{ButtonView as _0x5c1fac,MenuBarMenuListItemButtonView as _0x1e23a1,SpinnerView as _0x242212}from'ckeditor5/src/ui.js';function _0x5c48(_0x65e4e8,_0x3e8462){const _0x14b4fd=_0x14b4();return _0x5c48=function(_0x5c488e,_0x28e0c6){_0x5c488e=_0x5c488e-0x9b;let _0x4a9ca0=_0x14b4fd[_0x5c488e];return _0x4a9ca0;},_0x5c48(_0x65e4e8,_0x3e8462);}import _0xc9b548 from'../theme/icons/exportword.svg';import{getTranslation as _0xce8026}from'./utils/common-translations.js';export default class i extends _0x2ab4ed{static get[_0x3fe9de(0xac)](){const _0xac66ba=_0x3fe9de;return _0xac66ba(0x9d);}[_0x3fe9de(0xb3)](){const _0xe8f56a=_0x3fe9de,_0x44610e=this[_0xe8f56a(0x9c)];_0x44610e['ui'][_0xe8f56a(0xb2)][_0xe8f56a(0xa3)](_0xe8f56a(0xbd),()=>{const _0x42f309=_0xe8f56a,_0x542610=_0x44610e[_0x42f309(0xad)][_0x42f309(0x9f)](_0x42f309(0xbd)),_0x39e6aa=this[_0x42f309(0x9e)](_0x5c1fac);return _0x39e6aa[_0x42f309(0xb9)]({'tooltip':!0x0}),_0x39e6aa[_0x42f309(0xb6)](_0x42f309(0xbb))['to'](_0x542610,_0x42f309(0xb5)),_0x39e6aa;}),_0x44610e['ui'][_0xe8f56a(0xb2)][_0xe8f56a(0xa3)](_0xe8f56a(0xbc),()=>this[_0xe8f56a(0x9e)](_0x1e23a1));}[_0x3fe9de(0x9e)](_0x5b5a4a){const _0x310c56=_0x3fe9de,_0x2935cd=this[_0x310c56(0x9c)],_0x41baf9=_0x2935cd[_0x310c56(0xaf)][_0x310c56(0x9f)](_0x310c56(0xbd))||{},_0x508d32=_0x2935cd[_0x310c56(0xad)][_0x310c56(0x9f)](_0x310c56(0xbd)),_0x283d8b=new _0x5b5a4a(_0x2935cd[_0x310c56(0xc1)]),_0x3f7cb3=new _0x242212();return _0x283d8b[_0x310c56(0xa2)][_0x310c56(0xa3)](_0x3f7cb3),_0x3f7cb3[_0x310c56(0xb6)](_0x310c56(0xa7))['to'](_0x508d32,_0x310c56(0xb5)),_0x283d8b[_0x310c56(0xa5)][_0x310c56(0xb6)](_0x310c56(0xa7))['to'](_0x508d32,_0x310c56(0xb5),_0x2d2df2=>!_0x2d2df2),_0x283d8b[_0x310c56(0xb9)]({'icon':_0xc9b548}),_0x283d8b[_0x310c56(0xb6)](_0x310c56(0xba))['to'](_0x508d32,_0x310c56(0xba)),_0x283d8b[_0x310c56(0xb6)](_0x310c56(0xb0))['to'](_0x508d32,_0x310c56(0xb5),_0x5950f=>_0xce8026(_0x2935cd[_0x310c56(0xc1)],_0x5950f?_0x310c56(0xa8):_0x310c56(0xa1))),this[_0x310c56(0xb4)](_0x283d8b,_0x310c56(0xc2),()=>{const _0x50d54b=_0x310c56;_0x2935cd[_0x50d54b(0xc2)](_0x50d54b(0xbd),_0x41baf9),_0x2935cd[_0x50d54b(0xae)][_0x50d54b(0xb7)][_0x50d54b(0xa9)]();}),_0x283d8b;}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4e99(){var _0x5c249a=['27252CqrZId','2623936nPvAwE','804OWiFOE','192dZcMeh','46UJOJuI','2248EweAxL','60687OxTJrk','610hqUDsa','25885WnfNav','4468EuAhAn','186dZBJBE','2963196mHbCuO'];_0x4e99=function(){return _0x5c249a;};return _0x4e99();}(function(_0x4ce758,_0x1ff4fc){var _0x43471b=_0x5b09,_0x4026e8=_0x4ce758();while(!![]){try{var _0x2533fa=-parseInt(_0x43471b(0xf9))/0x1*(parseInt(_0x43471b(0xf2))/0x2)+-parseInt(_0x43471b(0xf7))/0x3*(parseInt(_0x43471b(0xee))/0x4)+-parseInt(_0x43471b(0xf1))/0x5*(-parseInt(_0x43471b(0xf3))/0x6)+-parseInt(_0x43471b(0xf6))/0x7+-parseInt(_0x43471b(0xf8))/0x8*(-parseInt(_0x43471b(0xf5))/0x9)+-parseInt(_0x43471b(0xf0))/0xa*(-parseInt(_0x43471b(0xef))/0xb)+parseInt(_0x43471b(0xf4))/0xc;if(_0x2533fa===_0x1ff4fc)break;else _0x4026e8['push'](_0x4026e8['shift']());}catch(_0x4aa4a3){_0x4026e8['push'](_0x4026e8['shift']());}}}(_0x4e99,0x2dff1));export{default as ExportWord}from'./exportword.js';function _0x5b09(_0x48fb62,_0x53ee3a){var _0x4e99de=_0x4e99();return _0x5b09=function(_0x5b0992,_0x51f970){_0x5b0992=_0x5b0992-0xee;var _0x32325f=_0x4e99de[_0x5b0992];return _0x32325f;},_0x5b09(_0x48fb62,_0x53ee3a);}import'./augmentation.js';
23
+ function _0x262e(_0x396607,_0x489317){var _0x555407=_0x5554();return _0x262e=function(_0x262e8a,_0x990faf){_0x262e8a=_0x262e8a-0x1db;var _0x1c3f76=_0x555407[_0x262e8a];return _0x1c3f76;},_0x262e(_0x396607,_0x489317);}(function(_0x1da470,_0x203b4f){var _0x419d53=_0x262e,_0x53d0d2=_0x1da470();while(!![]){try{var _0x55104b=-parseInt(_0x419d53(0x1e1))/0x1+parseInt(_0x419d53(0x1de))/0x2+-parseInt(_0x419d53(0x1db))/0x3+parseInt(_0x419d53(0x1e0))/0x4+-parseInt(_0x419d53(0x1df))/0x5+parseInt(_0x419d53(0x1dd))/0x6+parseInt(_0x419d53(0x1dc))/0x7;if(_0x55104b===_0x203b4f)break;else _0x53d0d2['push'](_0x53d0d2['shift']());}catch(_0x1f7d6f){_0x53d0d2['push'](_0x53d0d2['shift']());}}}(_0x5554,0x527f8));export{default as ExportWord}from'./exportword.js';function _0x5554(){var _0x5a781d=['569692cQNglN','506385VWTGYt','1374285eeMiZi','5405232FsMNQR','1480152xukyAA','448324AIaGKc','415305RlcSYt'];_0x5554=function(){return _0x5a781d;};return _0x5554();}import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x5a7d9f,_0x17f76a){const t=_0x5a7d9f['t'];switch(_0x17f76a){case'Export\x20to\x20Word':return t('Export\x20to\x20Word');case'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':return t('An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.');case'Word\x20document\x20export\x20started':return t('Word\x20document\x20export\x20started');case'Word\x20document\x20export\x20failed':return t('Word\x20document\x20export\x20failed');case'Word\x20document\x20export\x20successful':return t('Word\x20document\x20export\x20successful');case'Exporting\x20Word\x20document':return t('Exporting\x20Word\x20document');default:return _0x17f76a;}}
23
+ export function getTranslation(_0x49132a,_0x85a686){const t=_0x49132a['t'];switch(_0x85a686){case'Export\x20to\x20Word':return t('Export\x20to\x20Word');case'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':return t('An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.');case'Word\x20document\x20export\x20started':return t('Word\x20document\x20export\x20started');case'Word\x20document\x20export\x20failed':return t('Word\x20document\x20export\x20failed');case'Word\x20document\x20export\x20successful':return t('Word\x20document\x20export\x20successful');case'Exporting\x20Word\x20document':return t('Exporting\x20Word\x20document');default:return _0x85a686;}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x32c108,_0x342d55){const _0x5d8684=_0x327b,_0x92f52=_0x32c108();while(!![]){try{const _0x3e6b18=parseInt(_0x5d8684(0x11b))/0x1+-parseInt(_0x5d8684(0x13b))/0x2*(-parseInt(_0x5d8684(0x117))/0x3)+parseInt(_0x5d8684(0x13f))/0x4+parseInt(_0x5d8684(0x147))/0x5+-parseInt(_0x5d8684(0x14d))/0x6*(-parseInt(_0x5d8684(0x129))/0x7)+parseInt(_0x5d8684(0x11d))/0x8*(-parseInt(_0x5d8684(0x15d))/0x9)+-parseInt(_0x5d8684(0x12e))/0xa*(parseInt(_0x5d8684(0x11e))/0xb);if(_0x3e6b18===_0x342d55)break;else _0x92f52['push'](_0x92f52['shift']());}catch(_0x2666cc){_0x92f52['push'](_0x92f52['shift']());}}}(_0x9d7f,0x2e235));export function getStyles(_0x2dec13){const _0x222e14=_0x327b;if(!_0x2dec13)return new Promise(_0x3a0c54=>_0x3a0c54(''));const _0xbd11b7=[];for(const _0x5c1e28 of _0x2dec13)_0x222e14(0x116)!==_0x5c1e28?_0xbd11b7[_0x222e14(0x14a)](window[_0x222e14(0x12a)](_0x5c1e28)[_0x222e14(0x141)](_0x49490d=>_0x49490d[_0x222e14(0x125)]())):_0xbd11b7[_0x222e14(0x14a)](f());return Promise[_0x222e14(0x131)](_0xbd11b7)[_0x222e14(0x141)](_0x4403d7=>_0x4403d7[_0x222e14(0x12d)]('\x20')[_0x222e14(0x15e)]());}function f(){const _0x5edb17=_0x327b,_0x4352ed=[],_0x4dc886=[];for(const _0x1e9330 of Array[_0x5edb17(0x148)](document[_0x5edb17(0x12c)])){if(_0x1e9330[_0x5edb17(0x152)][_0x5edb17(0x120)](_0x5edb17(0x144))){for(const _0x2d7e1e of Array[_0x5edb17(0x148)](_0x1e9330[_0x5edb17(0x140)]))-0x1!==_0x2d7e1e[_0x5edb17(0x122)][_0x5edb17(0x12b)](_0x5edb17(0x14c))?_0x4352ed[_0x5edb17(0x14a)](_0x2d7e1e[_0x5edb17(0x122)]):-0x1!==_0x2d7e1e[_0x5edb17(0x122)][_0x5edb17(0x12b)](_0x5edb17(0x139))&&_0x4dc886[_0x5edb17(0x14a)](_0x2d7e1e[_0x5edb17(0x122)]);}}return _0x4352ed[_0x5edb17(0x14f)]||console[_0x5edb17(0x132)](_0x5edb17(0x118)),[..._0x4dc886,..._0x4352ed][_0x5edb17(0x12d)]('\x20')[_0x5edb17(0x15e)]();}export function getConverterOptions(_0x4e366b,_0x5ecbce={}){const _0x2a0c30=_0x327b,_0x2d54ad=_0x4e366b[_0x2a0c30(0x13a)][_0x2a0c30(0x11a)](_0x2a0c30(0x138)),_0x3478b2=_0x4e366b[_0x2a0c30(0x13a)][_0x2a0c30(0x11a)](_0x2a0c30(0x143)),_0x5b00a6=_0x4e366b[_0x2a0c30(0x13a)][_0x2a0c30(0x11a)](_0x2a0c30(0x149)),_0x2cfb9c=_0x5ecbce;if(_0x2d54ad&&_0x3478b2){const _0xeded72=getComments(_0x4e366b[_0x2a0c30(0x13a)][_0x2a0c30(0x145)](_0x2a0c30(0x143))[_0x2a0c30(0x13d)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x2a0c30(0x15c)](_0xeded72)[_0x2a0c30(0x14f)]&&(_0x2cfb9c[_0x2a0c30(0x119)]=_0xeded72);}if(_0x2d54ad&&_0x5b00a6){const _0x4fc41b=_0x4e366b[_0x2a0c30(0x13a)][_0x2a0c30(0x145)](_0x2a0c30(0x149)),_0x101092=_0x4e366b[_0x2a0c30(0x13a)][_0x2a0c30(0x145)](_0x2a0c30(0x138)),_0x2c6f6b=getSuggestions(_0x4fc41b[_0x2a0c30(0x121)]({'toJSON':!0x0}),_0x101092[_0x2a0c30(0x134)]);Object[_0x2a0c30(0x15c)](_0x2c6f6b)[_0x2a0c30(0x14f)]&&(_0x2cfb9c[_0x2a0c30(0x128)]=_0x2c6f6b);}return(_0x2cfb9c[_0x2a0c30(0x128)]||_0x2cfb9c[_0x2a0c30(0x119)])&&(_0x2cfb9c[_0x2a0c30(0x157)]=new Intl[(_0x2a0c30(0x11c))]()[_0x2a0c30(0x133)]()[_0x2a0c30(0x114)]),_0x2cfb9c;}export function getComments(_0x1de89b){const _0x4596c3=_0x327b,_0x76a84b={};if(!_0x1de89b[_0x4596c3(0x14f)])return _0x76a84b;for(const _0x4811a9 of _0x1de89b)_0x4811a9[_0x4596c3(0x119)][_0x4596c3(0x136)](_0x4216d9=>{const _0x261266=_0x4596c3;void 0x0===_0x76a84b[_0x4811a9['id']]&&(_0x76a84b[_0x4811a9['id']]=[]),_0x76a84b[_0x4811a9['id']][_0x261266(0x14a)]({'author':_0x4216d9[_0x261266(0x124)][_0x261266(0x14e)],'content':_0x4216d9[_0x261266(0x156)],'created':_0x4216d9[_0x261266(0x151)],'is_resolved':_0x4811a9[_0x261266(0x13c)]});});return _0x76a84b;}export function getSuggestions(_0x2c57ac,_0x3ac06a){const _0x5a1bd1=_0x327b,_0x4b2e62={};if(!_0x2c57ac[_0x5a1bd1(0x14f)]||!_0x3ac06a[_0x5a1bd1(0x14f)])return _0x4b2e62;for(const {id:_0xd8cd76,createdAt:_0x463f9d,authorId:_0x5f07e3,attributes:_0xdee2d}of _0x2c57ac){const _0x4463c1=_0xdee2d&&_0xdee2d[_0x5a1bd1(0x115)],_0x26b92e=_0x4463c1?_0x4463c1[_0x5a1bd1(0x12f)]:_0x3ac06a[_0x5a1bd1(0x145)](_0x5f07e3)[_0x5a1bd1(0x14e)];_0x4b2e62[_0xd8cd76]={'author':_0x26b92e,'created':_0x463f9d};}return _0x4b2e62;}export function getConverterOptionsV2(_0x22372a,_0x31d4c1={}){const _0x58e1a3=_0x327b,_0x1559a8=_0x22372a[_0x58e1a3(0x13a)][_0x58e1a3(0x11a)](_0x58e1a3(0x138)),_0x4fbc90=_0x22372a[_0x58e1a3(0x13a)][_0x58e1a3(0x11a)](_0x58e1a3(0x143)),_0x5b93b1=_0x22372a[_0x58e1a3(0x13a)][_0x58e1a3(0x11a)](_0x58e1a3(0x149)),_0x3a906d=_0x22372a[_0x58e1a3(0x13a)][_0x58e1a3(0x11a)](_0x58e1a3(0x14b)),_0x2c9819=_0x22372a[_0x58e1a3(0x11f)][_0x58e1a3(0x154)],_0x36f777=_0x31d4c1,_0x1dc7f3={};if(_0x36f777[_0x58e1a3(0x137)]=_0x36f777[_0x58e1a3(0x137)]||{},_0x36f777[_0x58e1a3(0x137)][_0x58e1a3(0x15a)]=_0x36f777[_0x58e1a3(0x137)][_0x58e1a3(0x15a)]||_0x2c9819,_0x1559a8&&_0x4fbc90){const _0x4038df=getCommentsV2(_0x22372a[_0x58e1a3(0x13a)][_0x58e1a3(0x145)](_0x58e1a3(0x143))[_0x58e1a3(0x13d)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x4038df[_0x58e1a3(0x14f)]&&(_0x1dc7f3[_0x58e1a3(0x158)]=_0x4038df);}if(_0x1559a8&&_0x5b93b1){const _0x99f119=_0x22372a[_0x58e1a3(0x13a)][_0x58e1a3(0x145)](_0x58e1a3(0x149)),_0xdd3378=_0x22372a[_0x58e1a3(0x13a)][_0x58e1a3(0x145)](_0x58e1a3(0x138)),_0x5da9bb=getSuggestionsV2(_0x99f119[_0x58e1a3(0x121)]({'toJSON':!0x0}),_0xdd3378[_0x58e1a3(0x134)]);_0x5da9bb[_0x58e1a3(0x14f)]&&(_0x1dc7f3[_0x58e1a3(0x128)]=_0x5da9bb);}if(_0x3a906d){const _0x2900c3=_0x22372a[_0x58e1a3(0x13a)][_0x58e1a3(0x145)](_0x58e1a3(0x159)),_0x7b1020=_0x2900c3[_0x58e1a3(0x127)],{prefix:_0x53e84e,suffix:_0x125907}=_0x22372a[_0x58e1a3(0x135)][_0x58e1a3(0x145)](_0x58e1a3(0x142));if(_0x36f777[_0x58e1a3(0x153)]={'prefix':_0x53e84e,'suffix':_0x125907},_0x58e1a3(0x15b)!==_0x7b1020){_0x36f777[_0x58e1a3(0x153)][_0x58e1a3(0x13e)]={};const _0x3fca98=_0x58e1a3(0x123)===_0x7b1020?_0x2900c3[_0x58e1a3(0x130)]():_0x2900c3[_0x58e1a3(0x126)](_0x7b1020,!0x0);for(const _0x12c03c of Object[_0x58e1a3(0x146)](_0x3fca98)){const [_0xee6830,_0x392d77]=_0x12c03c;_0x36f777[_0x58e1a3(0x153)][_0x58e1a3(0x13e)][_0xee6830]=null!==_0x392d77?_0x392d77:_0x2900c3[_0x58e1a3(0x155)](_0xee6830);}}}return(_0x1dc7f3[_0x58e1a3(0x158)]||_0x1dc7f3[_0x58e1a3(0x128)])&&(_0x36f777[_0x58e1a3(0x157)]=new Intl[(_0x58e1a3(0x11c))]()[_0x58e1a3(0x133)]()[_0x58e1a3(0x114)],_0x36f777[_0x58e1a3(0x150)]=_0x1dc7f3),_0x36f777;}function _0x327b(_0x7c7b9c,_0x307ba6){const _0x9d7f8c=_0x9d7f();return _0x327b=function(_0x327b91,_0x5c0d96){_0x327b91=_0x327b91-0x114;let _0x232467=_0x9d7f8c[_0x327b91];return _0x232467;},_0x327b(_0x7c7b9c,_0x307ba6);}export function getCommentsV2(_0x546319){const _0x1c9584=_0x327b,_0xdc5714=[];if(!_0x546319[_0x1c9584(0x14f)])return _0xdc5714;for(const _0x28a868 of _0x546319){const _0x428b7d=_0x28a868[_0x1c9584(0x119)][_0x1c9584(0x136)](_0x440ce8=>({'author':_0x440ce8[_0x1c9584(0x124)][_0x1c9584(0x14e)],'content':_0x440ce8[_0x1c9584(0x156)],'created_at':_0x440ce8[_0x1c9584(0x151)]}));_0xdc5714[_0x1c9584(0x14a)]({'thread_id':_0x28a868['id'],'is_resolved':_0x28a868[_0x1c9584(0x13c)],'comments':_0x428b7d});}return _0xdc5714;}export function getSuggestionsV2(_0x2f4f01,_0x2c8965){const _0x5f2efa=_0x327b;return _0x2f4f01[_0x5f2efa(0x14f)]&&_0x2c8965[_0x5f2efa(0x14f)]?_0x2f4f01[_0x5f2efa(0x136)](({id:_0x585d5b,createdAt:_0x161168,authorId:_0x59ee86,attributes:_0x144c54})=>{const _0x507d63=_0x5f2efa,_0x39168b=_0x144c54&&_0x144c54[_0x507d63(0x115)];return{'id':_0x585d5b,'author':_0x39168b?_0x39168b[_0x507d63(0x12f)]:_0x2c8965[_0x507d63(0x145)](_0x59ee86)[_0x507d63(0x14e)],'created_at':_0x161168};}):[];}function _0x9d7f(){const _0x127325=['push','MergeFields','.ck-content','42KMrQZl','name','length','collaboration_features','createdAt','ownerNode','merge_fields','contentLanguage','getLabel','content','timezone','comment_threads','MergeFieldsEditing','language','$labels','keys','9bkCQBI','trim','timeZone','@external','EDITOR_STYLES','335397GgXVxf','The\x20editor\x20stylesheet\x20could\x20not\x20be\x20found\x20in\x20the\x20document.\x20Check\x20your\x20webpack\x20config\x20–\x20style-loader\x20should\x20use\x20data-cke=true\x20attribute\x20for\x20the\x20editor\x20stylesheet.','comments','has','99498tKwOkw','DateTimeFormat','2419432kPsLnX','22wuNavB','locale','hasAttribute','getSuggestions','cssText','$defaultValues','author','text','getDataSetValues','previewMode','suggestions','162211eLwiso','fetch','indexOf','styleSheets','join','1411210yNiveB','authorName','getDefaultValues','all','warn','resolvedOptions','users','config','map','document','Users',':root','plugins','2DwmrTc','isResolved','getCommentThreads','data','228884PwooJV','cssRules','then','mergeFields','CommentsRepository','data-cke','get','entries','1714615WzDgfI','from','TrackChanges'];_0x9d7f=function(){return _0x127325;};return _0x9d7f();}
23
+ (function(_0xf5aa7c,_0x5d42d4){const _0x174ab5=_0xb08b,_0x596c42=_0xf5aa7c();while(!![]){try{const _0x425313=-parseInt(_0x174ab5(0x10a))/0x1*(parseInt(_0x174ab5(0x11b))/0x2)+-parseInt(_0x174ab5(0x115))/0x3*(parseInt(_0x174ab5(0xf8))/0x4)+-parseInt(_0x174ab5(0xf6))/0x5*(-parseInt(_0x174ab5(0x113))/0x6)+-parseInt(_0x174ab5(0xe8))/0x7+parseInt(_0x174ab5(0xf1))/0x8+parseInt(_0x174ab5(0x117))/0x9*(parseInt(_0x174ab5(0x112))/0xa)+parseInt(_0x174ab5(0x129))/0xb*(parseInt(_0x174ab5(0xe2))/0xc);if(_0x425313===_0x5d42d4)break;else _0x596c42['push'](_0x596c42['shift']());}catch(_0x2312a4){_0x596c42['push'](_0x596c42['shift']());}}}(_0x54eb,0x894b4));export function getStyles(_0x579140){const _0x1784f4=_0xb08b;if(!_0x579140)return new Promise(_0x39bd88=>_0x39bd88(''));const _0x262439=[];for(const _0x273291 of _0x579140)_0x1784f4(0xf4)!==_0x273291?_0x262439[_0x1784f4(0x100)](window[_0x1784f4(0x10e)](_0x273291)[_0x1784f4(0xe4)](_0x31de37=>_0x31de37[_0x1784f4(0xef)]())):_0x262439[_0x1784f4(0x100)](f());return Promise[_0x1784f4(0x119)](_0x262439)[_0x1784f4(0xe4)](_0x212daf=>_0x212daf[_0x1784f4(0xf2)]('\x20')[_0x1784f4(0x101)]());}function f(){const _0x448176=_0xb08b,_0x7bbb=[],_0x5655e7=[];for(const _0x10cebb of Array[_0x448176(0x126)](document[_0x448176(0xe3)])){if(_0x10cebb[_0x448176(0xe5)][_0x448176(0x109)](_0x448176(0x120))){for(const _0xe2b87 of Array[_0x448176(0x126)](_0x10cebb[_0x448176(0x128)]))-0x1!==_0xe2b87[_0x448176(0x108)][_0x448176(0x10f)](_0x448176(0x11e))?_0x7bbb[_0x448176(0x100)](_0xe2b87[_0x448176(0x108)]):-0x1!==_0xe2b87[_0x448176(0x108)][_0x448176(0x10f)](_0x448176(0x10b))&&_0x5655e7[_0x448176(0x100)](_0xe2b87[_0x448176(0x108)]);}}return _0x7bbb[_0x448176(0x11d)]||console[_0x448176(0xed)](_0x448176(0x12d)),[..._0x5655e7,..._0x7bbb][_0x448176(0xf2)]('\x20')[_0x448176(0x101)]();}export function getConverterOptions(_0xe2be22,_0x26792a={}){const _0x3ecf01=_0xb08b,_0x4b531d=_0xe2be22[_0x3ecf01(0xee)][_0x3ecf01(0xf7)](_0x3ecf01(0x103)),_0x40751a=_0xe2be22[_0x3ecf01(0xee)][_0x3ecf01(0xf7)](_0x3ecf01(0xe9)),_0x31c472=_0xe2be22[_0x3ecf01(0xee)][_0x3ecf01(0xf7)](_0x3ecf01(0x104)),_0x334db5=_0x26792a;if(_0x4b531d&&_0x40751a){const _0x5c705e=getComments(_0xe2be22[_0x3ecf01(0xee)][_0x3ecf01(0xf9)](_0x3ecf01(0xe9))[_0x3ecf01(0xfc)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x3ecf01(0x11a)](_0x5c705e)[_0x3ecf01(0x11d)]&&(_0x334db5[_0x3ecf01(0x11c)]=_0x5c705e);}if(_0x4b531d&&_0x31c472){const _0x2c53d2=_0xe2be22[_0x3ecf01(0xee)][_0x3ecf01(0xf9)](_0x3ecf01(0x104)),_0x4e7583=_0xe2be22[_0x3ecf01(0xee)][_0x3ecf01(0xf9)](_0x3ecf01(0x103)),_0x341eb7=getSuggestions(_0x2c53d2[_0x3ecf01(0x106)]({'toJSON':!0x0}),_0x4e7583[_0x3ecf01(0xfe)]);Object[_0x3ecf01(0x11a)](_0x341eb7)[_0x3ecf01(0x11d)]&&(_0x334db5[_0x3ecf01(0xea)]=_0x341eb7);}return(_0x334db5[_0x3ecf01(0xea)]||_0x334db5[_0x3ecf01(0x11c)])&&(_0x334db5[_0x3ecf01(0x11f)]=new Intl[(_0x3ecf01(0x116))]()[_0x3ecf01(0x118)]()[_0x3ecf01(0xf3)]),_0x334db5;}function _0x54eb(){const _0x3328ef=['ownerNode','getLabel','previewMode','6135878mvHgDo','CommentsRepository','suggestions','content','author','warn','plugins','text','getDataSetValues','3431704MgzJEn','join','timeZone','EDITOR_STYLES','authorName','766765rAxKIZ','has','351740ZNFuzy','get','mergeFields','locale','getCommentThreads','contentLanguage','users','createdAt','push','trim','data','Users','TrackChanges','getDefaultValues','getSuggestions','document','cssText','hasAttribute','100106dIwHUx',':root','$defaultValues','$labels','fetch','indexOf','language','entries','10UJTbfb','36XPvGLf','collaboration_features','3BKnYhC','DateTimeFormat','1227762SiDywo','resolvedOptions','all','keys','2wJxeDo','comments','length','.ck-content','timezone','data-cke','map','merge_fields','MergeFields','isResolved','config','from','name','cssRules','1555972xLLcgG','MergeFieldsEditing','comment_threads','@external','The\x20editor\x20stylesheet\x20could\x20not\x20be\x20found\x20in\x20the\x20document.\x20Check\x20your\x20webpack\x20config\x20–\x20style-loader\x20should\x20use\x20data-cke=true\x20attribute\x20for\x20the\x20editor\x20stylesheet.','12kAOhWC','styleSheets','then'];_0x54eb=function(){return _0x3328ef;};return _0x54eb();}export function getComments(_0xb9237){const _0xe3523b=_0xb08b,_0x593cf6={};if(!_0xb9237[_0xe3523b(0x11d)])return _0x593cf6;for(const _0x17c9e4 of _0xb9237)_0x17c9e4[_0xe3523b(0x11c)][_0xe3523b(0x121)](_0x2e365a=>{const _0x2a0e0f=_0xe3523b;void 0x0===_0x593cf6[_0x17c9e4['id']]&&(_0x593cf6[_0x17c9e4['id']]=[]),_0x593cf6[_0x17c9e4['id']][_0x2a0e0f(0x100)]({'author':_0x2e365a[_0x2a0e0f(0xec)][_0x2a0e0f(0x127)],'content':_0x2e365a[_0x2a0e0f(0xeb)],'created':_0x2e365a[_0x2a0e0f(0xff)],'is_resolved':_0x17c9e4[_0x2a0e0f(0x124)]});});return _0x593cf6;}export function getSuggestions(_0x24b2de,_0x5273c1){const _0x43bf1c=_0xb08b,_0x1a10d3={};if(!_0x24b2de[_0x43bf1c(0x11d)]||!_0x5273c1[_0x43bf1c(0x11d)])return _0x1a10d3;for(const {id:_0x18ef46,createdAt:_0x19a487,authorId:_0xad3b2d,attributes:_0x5aa37a}of _0x24b2de){const _0x3a0e9d=_0x5aa37a&&_0x5aa37a[_0x43bf1c(0x12c)],_0x37a1d9=_0x3a0e9d?_0x3a0e9d[_0x43bf1c(0xf5)]:_0x5273c1[_0x43bf1c(0xf9)](_0xad3b2d)[_0x43bf1c(0x127)];_0x1a10d3[_0x18ef46]={'author':_0x37a1d9,'created':_0x19a487};}return _0x1a10d3;}function _0xb08b(_0x5c139a,_0x4c3700){const _0x54eb59=_0x54eb();return _0xb08b=function(_0xb08bda,_0x317c98){_0xb08bda=_0xb08bda-0xe2;let _0x355468=_0x54eb59[_0xb08bda];return _0x355468;},_0xb08b(_0x5c139a,_0x4c3700);}export function getConverterOptionsV2(_0xe503d0,_0x5a6ea1={}){const _0x53a880=_0xb08b,_0x2783cb=_0xe503d0[_0x53a880(0xee)][_0x53a880(0xf7)](_0x53a880(0x103)),_0x44bd86=_0xe503d0[_0x53a880(0xee)][_0x53a880(0xf7)](_0x53a880(0xe9)),_0x367672=_0xe503d0[_0x53a880(0xee)][_0x53a880(0xf7)](_0x53a880(0x104)),_0x96a6e4=_0xe503d0[_0x53a880(0xee)][_0x53a880(0xf7)](_0x53a880(0x123)),_0x4b612f=_0xe503d0[_0x53a880(0xfb)][_0x53a880(0xfd)],_0x334a9e=_0x5a6ea1,_0x4dd579={};if(_0x334a9e[_0x53a880(0x107)]=_0x334a9e[_0x53a880(0x107)]||{},_0x334a9e[_0x53a880(0x107)][_0x53a880(0x110)]=_0x334a9e[_0x53a880(0x107)][_0x53a880(0x110)]||_0x4b612f,_0x2783cb&&_0x44bd86){const _0x4d41c6=getCommentsV2(_0xe503d0[_0x53a880(0xee)][_0x53a880(0xf9)](_0x53a880(0xe9))[_0x53a880(0xfc)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x4d41c6[_0x53a880(0x11d)]&&(_0x4dd579[_0x53a880(0x12b)]=_0x4d41c6);}if(_0x2783cb&&_0x367672){const _0x248f47=_0xe503d0[_0x53a880(0xee)][_0x53a880(0xf9)](_0x53a880(0x104)),_0x404535=_0xe503d0[_0x53a880(0xee)][_0x53a880(0xf9)](_0x53a880(0x103)),_0x101884=getSuggestionsV2(_0x248f47[_0x53a880(0x106)]({'toJSON':!0x0}),_0x404535[_0x53a880(0xfe)]);_0x101884[_0x53a880(0x11d)]&&(_0x4dd579[_0x53a880(0xea)]=_0x101884);}if(_0x96a6e4){const _0x57373f=_0xe503d0[_0x53a880(0xee)][_0x53a880(0xf9)](_0x53a880(0x12a)),_0x52bb2=_0x57373f[_0x53a880(0xe7)],{prefix:_0x54e9d9,suffix:_0x435276}=_0xe503d0[_0x53a880(0x125)][_0x53a880(0xf9)](_0x53a880(0xfa));if(_0x334a9e[_0x53a880(0x122)]={'prefix':_0x54e9d9,'suffix':_0x435276},_0x53a880(0x10d)!==_0x52bb2){_0x334a9e[_0x53a880(0x122)][_0x53a880(0x102)]={};const _0x24c8a0=_0x53a880(0x10c)===_0x52bb2?_0x57373f[_0x53a880(0x105)]():_0x57373f[_0x53a880(0xf0)](_0x52bb2,!0x0);for(const _0x380ae3 of Object[_0x53a880(0x111)](_0x24c8a0)){const [_0x1778dc,_0x37e168]=_0x380ae3;_0x334a9e[_0x53a880(0x122)][_0x53a880(0x102)][_0x1778dc]=null!==_0x37e168?_0x37e168:_0x57373f[_0x53a880(0xe6)](_0x1778dc);}}}return(_0x4dd579[_0x53a880(0x12b)]||_0x4dd579[_0x53a880(0xea)])&&(_0x334a9e[_0x53a880(0x11f)]=new Intl[(_0x53a880(0x116))]()[_0x53a880(0x118)]()[_0x53a880(0xf3)],_0x334a9e[_0x53a880(0x114)]=_0x4dd579),_0x334a9e;}export function getCommentsV2(_0x866e91){const _0x111245=_0xb08b,_0xfc6479=[];if(!_0x866e91[_0x111245(0x11d)])return _0xfc6479;for(const _0x5dad08 of _0x866e91){const _0x3ffe54=_0x5dad08[_0x111245(0x11c)][_0x111245(0x121)](_0x1cc856=>({'author':_0x1cc856[_0x111245(0xec)][_0x111245(0x127)],'content':_0x1cc856[_0x111245(0xeb)],'created_at':_0x1cc856[_0x111245(0xff)]}));_0xfc6479[_0x111245(0x100)]({'thread_id':_0x5dad08['id'],'is_resolved':_0x5dad08[_0x111245(0x124)],'comments':_0x3ffe54});}return _0xfc6479;}export function getSuggestionsV2(_0x4ec1fb,_0x23cf06){const _0x4c6ef7=_0xb08b;return _0x4ec1fb[_0x4c6ef7(0x11d)]&&_0x23cf06[_0x4c6ef7(0x11d)]?_0x4ec1fb[_0x4c6ef7(0x121)](({id:_0x18a5bf,createdAt:_0x2466c5,authorId:_0x1e8676,attributes:_0x196eb5})=>{const _0x546e6f=_0x4c6ef7,_0x29f6ed=_0x196eb5&&_0x196eb5[_0x546e6f(0x12c)];return{'id':_0x18a5bf,'author':_0x29f6ed?_0x29f6ed[_0x546e6f(0xf5)]:_0x23cf06[_0x546e6f(0xf9)](_0x1e8676)[_0x546e6f(0x127)],'created_at':_0x2466c5};}):[];}