@ckeditor/ckeditor5-export-word 43.0.0-alpha.4 → 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
- (_0x14b067=>{const {uk:{dictionary:_0x25e9d6,getPluralForm:_0x1cf3d7}}={'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':_0x2b1df3=>_0x2b1df3%0x1==0x0&&_0x2b1df3%0xa==0x1&&_0x2b1df3%0x64!=0xb?0x0:_0x2b1df3%0x1==0x0&&_0x2b1df3%0xa>=0x2&&_0x2b1df3%0xa<=0x4&&(_0x2b1df3%0x64<0xc||_0x2b1df3%0x64>0xe)?0x1:_0x2b1df3%0x1==0x0&&(_0x2b1df3%0xa==0x0||_0x2b1df3%0xa>=0x5&&_0x2b1df3%0xa<=0x9||_0x2b1df3%0x64>=0xb&&_0x2b1df3%0x64<=0xe)?0x2:0x3}};_0x14b067['uk']||={'dictionary':{},'getPluralForm':null},_0x14b067['uk']['dictionary']=Object['assign'](_0x14b067['uk']['dictionary'],_0x25e9d6),_0x14b067['uk']['getPluralForm']=_0x1cf3d7;})(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':_0xc31c3b=>0x1!=_0xc31c3b}};
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
- (_0xb8d597=>{const {ur:{dictionary:_0x5d4b39,getPluralForm:_0x34d7eb}}={'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':_0x4b5a8a=>0x1!=_0x4b5a8a}};_0xb8d597['ur']||={'dictionary':{},'getPluralForm':null},_0xb8d597['ur']['dictionary']=Object['assign'](_0xb8d597['ur']['dictionary'],_0x5d4b39),_0xb8d597['ur']['getPluralForm']=_0x34d7eb;})(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':_0x3fb736=>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
- (_0x485d58=>{const {vi:{dictionary:_0x3c4818,getPluralForm:_0x4abc7c}}={'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':_0x289c9f=>0x0}};_0x485d58['vi']||={'dictionary':{},'getPluralForm':null},_0x485d58['vi']['dictionary']=Object['assign'](_0x485d58['vi']['dictionary'],_0x3c4818),_0x485d58['vi']['getPluralForm']=_0x4abc7c;})(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':_0x2c2b6b=>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
- (_0x357f45=>{const {'zh-cn':{dictionary:_0x247e5e,getPluralForm:_0x5c9e3f}}={'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':_0x5f7ba=>0x0}};_0x357f45['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x357f45['zh-cn']['dictionary']=Object['assign'](_0x357f45['zh-cn']['dictionary'],_0x247e5e),_0x357f45['zh-cn']['getPluralForm']=_0x5c9e3f;})(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':_0x7dd20e=>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
- (_0x4f3f68=>{const {zh:{dictionary:_0x1ecd33,getPluralForm:_0x34d962}}={'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':_0x2f9d8f=>0x0}};_0x4f3f68['zh']||={'dictionary':{},'getPluralForm':null},_0x4f3f68['zh']['dictionary']=Object['assign'](_0x4f3f68['zh']['dictionary'],_0x1ecd33),_0x4f3f68['zh']['getPluralForm']=_0x34d962;})(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.4",
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.4",
34
- "@ckeditor/ckeditor5-utils": "43.0.0-alpha.4",
35
- "@ckeditor/ckeditor5-ui": "43.0.0-alpha.4",
36
- "ckeditor5": "43.0.0-alpha.4"
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 _0x43ea1a=_0x397b;function _0x397b(_0xce4c19,_0x554ae3){const _0x3ca033=_0x3ca0();return _0x397b=function(_0x397bd8,_0x142f13){_0x397bd8=_0x397bd8-0x1d0;let _0x54f428=_0x3ca033[_0x397bd8];return _0x54f428;},_0x397b(_0xce4c19,_0x554ae3);}(function(_0x486885,_0xe11ffa){const _0x7e8913=_0x397b,_0x1f5101=_0x486885();while(!![]){try{const _0x4988b2=-parseInt(_0x7e8913(0x1d2))/0x1*(parseInt(_0x7e8913(0x1d1))/0x2)+-parseInt(_0x7e8913(0x1e8))/0x3+parseInt(_0x7e8913(0x1de))/0x4+-parseInt(_0x7e8913(0x1dc))/0x5*(parseInt(_0x7e8913(0x1e5))/0x6)+parseInt(_0x7e8913(0x1e0))/0x7*(parseInt(_0x7e8913(0x1df))/0x8)+parseInt(_0x7e8913(0x1d9))/0x9+parseInt(_0x7e8913(0x1da))/0xa;if(_0x4988b2===_0xe11ffa)break;else _0x1f5101['push'](_0x1f5101['shift']());}catch(_0x13bf38){_0x1f5101['push'](_0x1f5101['shift']());}}}(_0x3ca0,0xe35ee));import{Plugin as _0x3d33bf}from'ckeditor5/src/core.js';import{Notification as _0x423b89}from'ckeditor5/src/ui.js';import _0x290dee from'./exportwordcommand.js';import _0x2a7d42 from'./exportwordui.js';export default class s extends _0x3d33bf{static get[_0x43ea1a(0x1e2)](){const _0x427b1e=_0x43ea1a;return _0x427b1e(0x1ea);}static get[_0x43ea1a(0x1e1)](){const _0x6c6236=_0x43ea1a;return[_0x6c6236(0x1e6),_0x423b89,_0x2a7d42];}[_0x43ea1a(0x1e7)](){const _0x4b0d70=_0x43ea1a,_0x33d4bb=this[_0x4b0d70(0x1d0)],_0x46225b=_0x33d4bb[_0x4b0d70(0x1dd)][_0x4b0d70(0x1d5)](_0x4b0d70(0x1d4))||{};_0x33d4bb[_0x4b0d70(0x1e3)][_0x4b0d70(0x1db)](_0x4b0d70(0x1d4),new _0x290dee(_0x33d4bb));const _0x250417=_0x33d4bb[_0x4b0d70(0x1e4)][_0x4b0d70(0x1d5)](_0x4b0d70(0x1e6));!0x1===_0x46225b[_0x4b0d70(0x1e9)]?this[_0x4b0d70(0x1d7)]=null:_0x46225b[_0x4b0d70(0x1e9)]?_0x250417[_0x4b0d70(0x1d8)](_0x46225b[_0x4b0d70(0x1e9)])[_0x4b0d70(0x1d3)](_0x3c8a4b=>{const _0x17a792=_0x4b0d70;this[_0x17a792(0x1d7)]=_0x3c8a4b;}):this[_0x4b0d70(0x1d7)]=_0x250417[_0x4b0d70(0x1d6)];}}function _0x3ca0(){const _0xbb1b44=['init','2699481lSvDTV','tokenUrl','ExportWord','editor','442022DutHfJ','5aKtjlS','then','exportWord','get','token','_token','registerTokenUrl','9377154cXJUPk','26814290lIvExw','add','6099605kHtGWw','config','432732nfxNDB','40hPYvUv','454433SSnVkG','requires','pluginName','commands','plugins','6umMACI','CloudServices'];_0x3ca0=function(){return _0xbb1b44;};return _0x3ca0();}
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 _0x58bfc3=_0x53e9;(function(_0x388c98,_0x479b97){const _0x2382e4=_0x53e9,_0x47a3c8=_0x388c98();while(!![]){try{const _0x50c27f=-parseInt(_0x2382e4(0x213))/0x1*(parseInt(_0x2382e4(0x21a))/0x2)+-parseInt(_0x2382e4(0x1f6))/0x3+-parseInt(_0x2382e4(0x22f))/0x4+parseInt(_0x2382e4(0x21f))/0x5*(-parseInt(_0x2382e4(0x21e))/0x6)+parseInt(_0x2382e4(0x221))/0x7+parseInt(_0x2382e4(0x20a))/0x8*(-parseInt(_0x2382e4(0x209))/0x9)+parseInt(_0x2382e4(0x1ef))/0xa;if(_0x50c27f===_0x479b97)break;else _0x47a3c8['push'](_0x47a3c8['shift']());}catch(_0x35b769){_0x47a3c8['push'](_0x47a3c8['shift']());}}}(_0x779c,0xd4c8a));import{Command as _0x3526e1}from'ckeditor5/src/core.js';import{logWarning as _0xc32f89}from'ckeditor5/src/utils.js';import{getStyles as _0x4dd00c,getConverterOptions as _0x526aaf,getConverterOptionsV2 as _0x25e660}from'./utils.js';import{getTranslation as _0x3d2b55}from'./utils/common-translations.js';function _0x779c(){const _0x34beb5=['converterUrl','</div>','click','execute','footer','fileName','options','94789tUERaw','locale','_downloadFile','set','application/docx','ExportWord','suggestions','12iWXpGJ','format','download','version','1266294DeRGrw','15mheOeh','fetch','11660831vduZpK','<div\x20class=\x22ck-content\x22\x20dir=\x22','Word\x20document\x20export\x20successful','document.docx','Word\x20document\x20export\x20started','stylesheets','margin_right','href','createElement','https://docx-converter.cke-cs.com/v2/convert/html-docx','orientation','converterOptions','margin_top','EDITOR_STYLES','695104LjmgPz','ariaLiveAnnouncer','POST','https://docx-converter.cke-cs.com/v1/convert','isEnabled','assertive','isBusy','Notification','remove','status','data','stringify','plugins','blob','contentLanguageDirection','value','catch','10085280FntdHX','auto_pagination','finally','URL','export-word-v1-api-is-deprecated','dataCallback','showWarning','706380wpRHjw','margin_left','Word\x20document\x20export\x20failed','createObjectURL','application/json','config','then','margin_bottom','pending','affectsData','refresh','editor','function','_token','token','header','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','get','comments','575046ZrPYHh','24rulpTS','announce'];_0x779c=function(){return _0x34beb5;};return _0x779c();}const h=[_0x58bfc3(0x22b),_0x58bfc3(0x22d),_0x58bfc3(0x227),_0x58bfc3(0x1fd),_0x58bfc3(0x1f7),_0x58bfc3(0x21b),_0x58bfc3(0x205),_0x58bfc3(0x210),_0x58bfc3(0x208),_0x58bfc3(0x219)];function _0x53e9(_0x47cdcf,_0x358abb){const _0x779c94=_0x779c();return _0x53e9=function(_0x53e96c,_0x31e501){_0x53e96c=_0x53e96c-0x1ee;let _0x331b96=_0x779c94[_0x53e96c];return _0x331b96;},_0x53e9(_0x47cdcf,_0x358abb);}export default class e extends _0x3526e1{constructor(_0x567e66){const _0x16f076=_0x58bfc3;super(_0x567e66),this[_0x16f076(0x216)](_0x16f076(0x235),!0x1),this[_0x16f076(0x1ff)]=!0x1;}[_0x58bfc3(0x200)](){const _0x2fbb51=_0x58bfc3;this[_0x2fbb51(0x233)]=!this[_0x2fbb51(0x235)],this[_0x2fbb51(0x23e)]=this[_0x2fbb51(0x235)]?_0x2fbb51(0x1fe):void 0x0;}[_0x58bfc3(0x20f)](_0x49432e={}){const _0x1bbd79=_0x58bfc3,_0x2816dc=this[_0x1bbd79(0x201)],_0x6764ce=_0x49432e[_0x1bbd79(0x21d)]||0x2,_0x2662d1=0x1===_0x6764ce,_0x2929a4=_0x49432e[_0x1bbd79(0x20c)]||(_0x2662d1?_0x1bbd79(0x232):_0x1bbd79(0x22a)),_0x2d6cb0=_0x49432e[_0x1bbd79(0x22c)]||{},_0x44428b=_0x2816dc[_0x1bbd79(0x23b)][_0x1bbd79(0x207)](_0x1bbd79(0x218)),_0x2f3869=_0x49432e[_0x1bbd79(0x204)]||_0x44428b[_0x1bbd79(0x203)],_0x1fc81b=!0x0===_0x2d6cb0[_0x1bbd79(0x1f0)],_0x23e187=_0x49432e[_0x1bbd79(0x1f4)]||(_0x4d4807=>_0x4d4807[_0x1bbd79(0x239)][_0x1bbd79(0x207)]({'pagination':_0x1fc81b}));return 0x2===_0x6764ce&&function(_0x39ba16){for(const _0x3b2ed8 of h)if(void 0x0!==_0x39ba16[_0x3b2ed8])return!0x0;return!0x1;}(_0x2d6cb0)&&_0xc32f89(_0x1bbd79(0x1f3)),this[_0x1bbd79(0x235)]=!0x0,this[_0x1bbd79(0x200)](),_0x4dd00c(_0x49432e[_0x1bbd79(0x226)]||[_0x1bbd79(0x22e)])[_0x1bbd79(0x1fc)](async _0x5992c9=>{const _0x57d83c=_0x1bbd79;_0x2816dc['ui'][_0x57d83c(0x230)][_0x57d83c(0x20b)](_0x3d2b55(_0x2816dc[_0x57d83c(0x214)],_0x57d83c(0x225)));const _0x49aa2b=await _0x23e187(_0x2816dc),_0x23f3c6={'html':_0x57d83c(0x222)+_0x2816dc[_0x57d83c(0x214)][_0x57d83c(0x23d)]+'\x22>'+_0x49aa2b+_0x57d83c(0x20d),'css':_0x5992c9,[_0x2662d1?_0x57d83c(0x212):_0x57d83c(0x1fb)]:{..._0x2d6cb0,..._0x2662d1?_0x526aaf(_0x2816dc,_0x2d6cb0):_0x25e660(_0x2816dc,_0x2d6cb0)}},_0x51a4ed={'method':_0x57d83c(0x231),'headers':{'Content-Type':_0x57d83c(0x1fa),'Accept':_0x57d83c(0x217),..._0x2f3869?{'Authorization':_0x2f3869[_0x57d83c(0x23e)]}:null},'body':JSON[_0x57d83c(0x23a)](_0x23f3c6)};return window[_0x57d83c(0x220)](_0x2929a4,_0x51a4ed)[_0x57d83c(0x1fc)](_0x1e1dcd=>{const _0xc599c=_0x57d83c;if(0xc8!==_0x1e1dcd[_0xc599c(0x238)])throw _0x1e1dcd;return _0x1e1dcd[_0xc599c(0x23c)]();})[_0x57d83c(0x1fc)](_0x2b2316=>{const _0xc741b4=_0x57d83c;_0x2816dc['ui'][_0xc741b4(0x230)][_0xc741b4(0x20b)](_0x3d2b55(_0x2816dc[_0xc741b4(0x214)],_0xc741b4(0x223)));const _0x4754e4=_0xc741b4(0x202)==typeof _0x49432e[_0xc741b4(0x211)]?_0x49432e[_0xc741b4(0x211)]():_0x49432e[_0xc741b4(0x211)];this[_0xc741b4(0x215)](_0x2b2316,_0x4754e4||_0xc741b4(0x224));});})[_0x1bbd79(0x1ee)](_0x3be39e=>{const _0xf2a05e=_0x1bbd79,_0x41cdfc=_0x2816dc[_0xf2a05e(0x23b)][_0xf2a05e(0x207)](_0xf2a05e(0x236));throw _0x2816dc['ui'][_0xf2a05e(0x230)][_0xf2a05e(0x20b)](_0x3d2b55(_0x2816dc[_0xf2a05e(0x214)],_0xf2a05e(0x1f8)),{'politeness':_0xf2a05e(0x234)}),_0x41cdfc[_0xf2a05e(0x1f5)](_0x3d2b55(_0x2816dc[_0xf2a05e(0x214)],_0xf2a05e(0x206))),_0x3be39e;})[_0x1bbd79(0x1f1)](()=>{const _0x31f076=_0x1bbd79;this[_0x31f076(0x235)]=!0x1,this[_0x31f076(0x200)]();});}[_0x58bfc3(0x215)](_0x2d05f2,_0x266ed7){const _0x270249=_0x58bfc3,_0x98b2eb=document[_0x270249(0x229)]('a');_0x98b2eb[_0x270249(0x228)]=window[_0x270249(0x1f2)][_0x270249(0x1f9)](_0x2d05f2),_0x98b2eb[_0x270249(0x21c)]=_0x266ed7,_0x98b2eb[_0x270249(0x20e)](),_0x98b2eb[_0x270249(0x237)]();}}
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 _0x2712a4=_0x50ba;(function(_0x49f171,_0x2ede46){const _0x35ab54=_0x50ba,_0x51c17e=_0x49f171();while(!![]){try{const _0x25fc9c=-parseInt(_0x35ab54(0x1ba))/0x1+parseInt(_0x35ab54(0x1ab))/0x2*(-parseInt(_0x35ab54(0x1bb))/0x3)+-parseInt(_0x35ab54(0x1a3))/0x4*(-parseInt(_0x35ab54(0x19f))/0x5)+-parseInt(_0x35ab54(0x1b6))/0x6*(-parseInt(_0x35ab54(0x1bc))/0x7)+-parseInt(_0x35ab54(0x1ad))/0x8*(parseInt(_0x35ab54(0x1b3))/0x9)+parseInt(_0x35ab54(0x19a))/0xa+parseInt(_0x35ab54(0x19c))/0xb;if(_0x25fc9c===_0x2ede46)break;else _0x51c17e['push'](_0x51c17e['shift']());}catch(_0x1aa380){_0x51c17e['push'](_0x51c17e['shift']());}}}(_0x1414,0x4c08c));function _0x50ba(_0x470a1c,_0x2f99ec){const _0x1414a5=_0x1414();return _0x50ba=function(_0x50ba50,_0x20e50c){_0x50ba50=_0x50ba50-0x19a;let _0x203670=_0x1414a5[_0x50ba50];return _0x203670;},_0x50ba(_0x470a1c,_0x2f99ec);}import{Plugin as _0x58689d}from'ckeditor5/src/core.js';import{ButtonView as _0x554e62,MenuBarMenuListItemButtonView as _0x36e80c,SpinnerView as _0x6d3b0e}from'ckeditor5/src/ui.js';import _0x19f075 from'../theme/icons/exportword.svg';import{getTranslation as _0x19fbc4}from'./utils/common-translations.js';export default class i extends _0x58689d{static get[_0x2712a4(0x1a7)](){const _0x35e055=_0x2712a4;return _0x35e055(0x1a6);}[_0x2712a4(0x1b1)](){const _0x59f796=_0x2712a4,_0x2de60c=this[_0x59f796(0x1a2)];_0x2de60c['ui'][_0x59f796(0x1c0)][_0x59f796(0x1ae)](_0x59f796(0x1b2),()=>{const _0x2558e0=_0x59f796,_0x44b1be=_0x2de60c[_0x2558e0(0x19e)][_0x2558e0(0x1a0)](_0x2558e0(0x1b2)),_0x312235=this[_0x2558e0(0x1b4)](_0x554e62);return _0x312235[_0x2558e0(0x19b)]({'tooltip':!0x0}),_0x312235[_0x2558e0(0x1ac)](_0x2558e0(0x1c1))['to'](_0x44b1be,_0x2558e0(0x1a4)),_0x312235;}),_0x2de60c['ui'][_0x59f796(0x1c0)][_0x59f796(0x1ae)](_0x59f796(0x1a1),()=>this[_0x59f796(0x1b4)](_0x36e80c));}[_0x2712a4(0x1b4)](_0x5211ec){const _0x4a9eba=_0x2712a4,_0x1a6171=this[_0x4a9eba(0x1a2)],_0x43f3ae=_0x1a6171[_0x4a9eba(0x1a8)][_0x4a9eba(0x1a0)](_0x4a9eba(0x1b2))||{},_0x1361cb=_0x1a6171[_0x4a9eba(0x19e)][_0x4a9eba(0x1a0)](_0x4a9eba(0x1b2)),_0x1c9e4=new _0x5211ec(_0x1a6171[_0x4a9eba(0x1b8)]),_0x93f65b=new _0x6d3b0e();return _0x1c9e4[_0x4a9eba(0x1b5)][_0x4a9eba(0x1ae)](_0x93f65b),_0x93f65b[_0x4a9eba(0x1ac)](_0x4a9eba(0x1be))['to'](_0x1361cb,_0x4a9eba(0x1a4)),_0x1c9e4[_0x4a9eba(0x1bd)][_0x4a9eba(0x1ac)](_0x4a9eba(0x1be))['to'](_0x1361cb,_0x4a9eba(0x1a4),_0x2a54f7=>!_0x2a54f7),_0x1c9e4[_0x4a9eba(0x19b)]({'icon':_0x19f075}),_0x1c9e4[_0x4a9eba(0x1ac)](_0x4a9eba(0x1a9))['to'](_0x1361cb,_0x4a9eba(0x1a9)),_0x1c9e4[_0x4a9eba(0x1ac)](_0x4a9eba(0x1b9))['to'](_0x1361cb,_0x4a9eba(0x1a4),_0x3b3064=>_0x19fbc4(_0x1a6171[_0x4a9eba(0x1b8)],_0x3b3064?_0x4a9eba(0x1af):_0x4a9eba(0x1a5))),this[_0x4a9eba(0x19d)](_0x1c9e4,_0x4a9eba(0x1aa),()=>{const _0xb5baea=_0x4a9eba;_0x1a6171[_0xb5baea(0x1aa)](_0xb5baea(0x1b2),_0x43f3ae),_0x1a6171[_0xb5baea(0x1b7)][_0xb5baea(0x1b0)][_0xb5baea(0x1bf)]();}),_0x1c9e4;}}function _0x1414(){const _0x307a38=['ExportWordUI','pluginName','config','isEnabled','execute','8aKAbQI','bind','3472104sMwVbf','add','Exporting\x20Word\x20document','view','init','exportWord','9whDkwx','_createButton','children','8922iLuMbk','editing','locale','label','192800ChzFLe','54666zVPOMl','1043liSFNr','iconView','isVisible','focus','componentFactory','isOn','3579330TGhGtm','set','3921654ZWwchf','listenTo','commands','65uvrZke','get','menuBar:exportWord','editor','23116nbrktb','isBusy','Export\x20to\x20Word'];_0x1414=function(){return _0x307a38;};return _0x1414();}
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 _0x3324(_0x4e7100,_0x5cff85){var _0xa061bf=_0xa061();return _0x3324=function(_0x3324b0,_0x2038d9){_0x3324b0=_0x3324b0-0x10f;var _0x1bc06a=_0xa061bf[_0x3324b0];return _0x1bc06a;},_0x3324(_0x4e7100,_0x5cff85);}(function(_0xfc77a3,_0x26634f){var _0x5278eb=_0x3324,_0x40529c=_0xfc77a3();while(!![]){try{var _0x1f2868=-parseInt(_0x5278eb(0x112))/0x1+parseInt(_0x5278eb(0x113))/0x2+-parseInt(_0x5278eb(0x111))/0x3+parseInt(_0x5278eb(0x114))/0x4+-parseInt(_0x5278eb(0x116))/0x5*(-parseInt(_0x5278eb(0x117))/0x6)+-parseInt(_0x5278eb(0x115))/0x7+parseInt(_0x5278eb(0x10f))/0x8*(parseInt(_0x5278eb(0x110))/0x9);if(_0x1f2868===_0x26634f)break;else _0x40529c['push'](_0x40529c['shift']());}catch(_0x5f0e5f){_0x40529c['push'](_0x40529c['shift']());}}}(_0xa061,0xbbd93));function _0xa061(){var _0x2a5845=['340911eixsXX','3914472mIEdgi','581773Crvoks','904116koOZqV','5304900MyhNuD','3534104cdatqj','95QNTITc','245226UMlZeR','128yUiVLE'];_0xa061=function(){return _0x2a5845;};return _0xa061();}export{default as ExportWord}from'./exportword.js';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(_0x44a24f,_0x30b101){const t=_0x44a24f['t'];switch(_0x30b101){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 _0x30b101;}}
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(_0xc10a3a,_0x406b00){const _0x2f66c5=_0x3efb,_0x44c997=_0xc10a3a();while(!![]){try{const _0x8b1dd0=-parseInt(_0x2f66c5(0x1cc))/0x1*(parseInt(_0x2f66c5(0x1fb))/0x2)+-parseInt(_0x2f66c5(0x1f1))/0x3*(parseInt(_0x2f66c5(0x1c3))/0x4)+-parseInt(_0x2f66c5(0x1e8))/0x5*(parseInt(_0x2f66c5(0x1d7))/0x6)+parseInt(_0x2f66c5(0x1f5))/0x7*(parseInt(_0x2f66c5(0x1da))/0x8)+parseInt(_0x2f66c5(0x1be))/0x9+-parseInt(_0x2f66c5(0x1fa))/0xa*(parseInt(_0x2f66c5(0x1eb))/0xb)+-parseInt(_0x2f66c5(0x1f9))/0xc*(-parseInt(_0x2f66c5(0x1ee))/0xd);if(_0x8b1dd0===_0x406b00)break;else _0x44c997['push'](_0x44c997['shift']());}catch(_0x16375d){_0x44c997['push'](_0x44c997['shift']());}}}(_0x31ec,0xcb2c4));export function getStyles(_0xbdc71f){const _0x20ce68=_0x3efb;if(!_0xbdc71f)return new Promise(_0x1725bc=>_0x1725bc(''));const _0x320c62=[];for(const _0x422c00 of _0xbdc71f)_0x20ce68(0x1e0)!==_0x422c00?_0x320c62[_0x20ce68(0x1ea)](window[_0x20ce68(0x1b9)](_0x422c00)[_0x20ce68(0x1d3)](_0x2e6f12=>_0x2e6f12[_0x20ce68(0x1b6)]())):_0x320c62[_0x20ce68(0x1ea)](f());return Promise[_0x20ce68(0x1bb)](_0x320c62)[_0x20ce68(0x1d3)](_0x520ac0=>_0x520ac0[_0x20ce68(0x1cb)]('\x20')[_0x20ce68(0x1e3)]());}function _0x31ec(){const _0x10a58a=['80OjVEyI','mergeFields','$defaultValues','timeZone','cssText','getSuggestions','EDITOR_STYLES','name','comments','trim','config','users','suggestions','TrackChanges','8309580VXQCDQ','styleSheets','push','3113HTKaKe','getDefaultValues','getDataSetValues','13OzHASp','resolvedOptions','comment_threads','421143TTWqjX','Users','data','warn','478751OoAoSh','CommentsRepository','document','get','41160876HeKLyd','39290IJhTLQ','5268nTuYyh','timezone','ownerNode','getLabel','cssRules','DateTimeFormat','previewMode','map','text',':root','data-cke','fetch','collaboration_features','all','isResolved','merge_fields','7027389pLSHJz','MergeFieldsEditing','authorName','@external','author','4KhMUlq','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.','from','keys','content','plugins','has','locale','join','436nDwKtd','language','hasAttribute','length','indexOf','getCommentThreads','contentLanguage','then','.ck-content','createdAt','$labels','6MJDLCC','MergeFields','entries'];_0x31ec=function(){return _0x10a58a;};return _0x31ec();}function f(){const _0x205350=_0x3efb,_0x15f7af=[],_0xb81196=[];for(const _0x1a92e3 of Array[_0x205350(0x1c5)](document[_0x205350(0x1e9)])){if(_0x1a92e3[_0x205350(0x1fd)][_0x205350(0x1ce)](_0x205350(0x1b8))){for(const _0x45d408 of Array[_0x205350(0x1c5)](_0x1a92e3[_0x205350(0x1ff)]))-0x1!==_0x45d408[_0x205350(0x1de)][_0x205350(0x1d0)](_0x205350(0x1d4))?_0x15f7af[_0x205350(0x1ea)](_0x45d408[_0x205350(0x1de)]):-0x1!==_0x45d408[_0x205350(0x1de)][_0x205350(0x1d0)](_0x205350(0x1b7))&&_0xb81196[_0x205350(0x1ea)](_0x45d408[_0x205350(0x1de)]);}}return _0x15f7af[_0x205350(0x1cf)]||console[_0x205350(0x1f4)](_0x205350(0x1c4)),[..._0xb81196,..._0x15f7af][_0x205350(0x1cb)]('\x20')[_0x205350(0x1e3)]();}export function getConverterOptions(_0x3ec4e1,_0x5a661b={}){const _0x10e954=_0x3efb,_0x43947f=_0x3ec4e1[_0x10e954(0x1c8)][_0x10e954(0x1c9)](_0x10e954(0x1f2)),_0x50c085=_0x3ec4e1[_0x10e954(0x1c8)][_0x10e954(0x1c9)](_0x10e954(0x1f6)),_0xfcff2a=_0x3ec4e1[_0x10e954(0x1c8)][_0x10e954(0x1c9)](_0x10e954(0x1e7)),_0x56c96b=_0x5a661b;if(_0x43947f&&_0x50c085){const _0x15d611=getComments(_0x3ec4e1[_0x10e954(0x1c8)][_0x10e954(0x1f8)](_0x10e954(0x1f6))[_0x10e954(0x1d1)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x10e954(0x1c6)](_0x15d611)[_0x10e954(0x1cf)]&&(_0x56c96b[_0x10e954(0x1e2)]=_0x15d611);}if(_0x43947f&&_0xfcff2a){const _0x2b575c=_0x3ec4e1[_0x10e954(0x1c8)][_0x10e954(0x1f8)](_0x10e954(0x1e7)),_0x4ada92=_0x3ec4e1[_0x10e954(0x1c8)][_0x10e954(0x1f8)](_0x10e954(0x1f2)),_0x1cec2b=getSuggestions(_0x2b575c[_0x10e954(0x1df)]({'toJSON':!0x0}),_0x4ada92[_0x10e954(0x1e5)]);Object[_0x10e954(0x1c6)](_0x1cec2b)[_0x10e954(0x1cf)]&&(_0x56c96b[_0x10e954(0x1e6)]=_0x1cec2b);}return(_0x56c96b[_0x10e954(0x1e6)]||_0x56c96b[_0x10e954(0x1e2)])&&(_0x56c96b[_0x10e954(0x1fc)]=new Intl[(_0x10e954(0x200))]()[_0x10e954(0x1ef)]()[_0x10e954(0x1dd)]),_0x56c96b;}function _0x3efb(_0x138c20,_0x5a7632){const _0x31ecae=_0x31ec();return _0x3efb=function(_0x3efbe9,_0x4f8d9a){_0x3efbe9=_0x3efbe9-0x1b6;let _0x1a6b71=_0x31ecae[_0x3efbe9];return _0x1a6b71;},_0x3efb(_0x138c20,_0x5a7632);}export function getComments(_0xdde3f0){const _0x89eff2=_0x3efb,_0x168f0d={};if(!_0xdde3f0[_0x89eff2(0x1cf)])return _0x168f0d;for(const _0x4f9a96 of _0xdde3f0)_0x4f9a96[_0x89eff2(0x1e2)][_0x89eff2(0x202)](_0x4623bf=>{const _0x3cfae3=_0x89eff2;void 0x0===_0x168f0d[_0x4f9a96['id']]&&(_0x168f0d[_0x4f9a96['id']]=[]),_0x168f0d[_0x4f9a96['id']][_0x3cfae3(0x1ea)]({'author':_0x4623bf[_0x3cfae3(0x1c2)][_0x3cfae3(0x1e1)],'content':_0x4623bf[_0x3cfae3(0x1c7)],'created':_0x4623bf[_0x3cfae3(0x1d5)],'is_resolved':_0x4f9a96[_0x3cfae3(0x1bc)]});});return _0x168f0d;}export function getSuggestions(_0x1a2ae6,_0x36ddbd){const _0x4810e3=_0x3efb,_0x1d2e30={};if(!_0x1a2ae6[_0x4810e3(0x1cf)]||!_0x36ddbd[_0x4810e3(0x1cf)])return _0x1d2e30;for(const {id:_0x51b0b6,createdAt:_0x4ba5cb,authorId:_0xbb83e2,attributes:_0x5bcefc}of _0x1a2ae6){const _0x1ac952=_0x5bcefc&&_0x5bcefc[_0x4810e3(0x1c1)],_0x498ec3=_0x1ac952?_0x1ac952[_0x4810e3(0x1c0)]:_0x36ddbd[_0x4810e3(0x1f8)](_0xbb83e2)[_0x4810e3(0x1e1)];_0x1d2e30[_0x51b0b6]={'author':_0x498ec3,'created':_0x4ba5cb};}return _0x1d2e30;}export function getConverterOptionsV2(_0x3bc7a7,_0x515021={}){const _0x3a14e2=_0x3efb,_0x36b25b=_0x3bc7a7[_0x3a14e2(0x1c8)][_0x3a14e2(0x1c9)](_0x3a14e2(0x1f2)),_0x55ba26=_0x3bc7a7[_0x3a14e2(0x1c8)][_0x3a14e2(0x1c9)](_0x3a14e2(0x1f6)),_0x15e295=_0x3bc7a7[_0x3a14e2(0x1c8)][_0x3a14e2(0x1c9)](_0x3a14e2(0x1e7)),_0x3d0838=_0x3bc7a7[_0x3a14e2(0x1c8)][_0x3a14e2(0x1c9)](_0x3a14e2(0x1d8)),_0x106c01=_0x3bc7a7[_0x3a14e2(0x1ca)][_0x3a14e2(0x1d2)],_0x1b7d4a=_0x515021,_0x1917a9={};if(_0x1b7d4a[_0x3a14e2(0x1f7)]=_0x1b7d4a[_0x3a14e2(0x1f7)]||{},_0x1b7d4a[_0x3a14e2(0x1f7)][_0x3a14e2(0x1cd)]=_0x1b7d4a[_0x3a14e2(0x1f7)][_0x3a14e2(0x1cd)]||_0x106c01,_0x36b25b&&_0x55ba26){const _0x47c302=getCommentsV2(_0x3bc7a7[_0x3a14e2(0x1c8)][_0x3a14e2(0x1f8)](_0x3a14e2(0x1f6))[_0x3a14e2(0x1d1)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x47c302[_0x3a14e2(0x1cf)]&&(_0x1917a9[_0x3a14e2(0x1f0)]=_0x47c302);}if(_0x36b25b&&_0x15e295){const _0x5231f1=_0x3bc7a7[_0x3a14e2(0x1c8)][_0x3a14e2(0x1f8)](_0x3a14e2(0x1e7)),_0x3bc11e=_0x3bc7a7[_0x3a14e2(0x1c8)][_0x3a14e2(0x1f8)](_0x3a14e2(0x1f2)),_0x4a8595=getSuggestionsV2(_0x5231f1[_0x3a14e2(0x1df)]({'toJSON':!0x0}),_0x3bc11e[_0x3a14e2(0x1e5)]);_0x4a8595[_0x3a14e2(0x1cf)]&&(_0x1917a9[_0x3a14e2(0x1e6)]=_0x4a8595);}if(_0x3d0838){const _0x7f9b37=_0x3bc7a7[_0x3a14e2(0x1c8)][_0x3a14e2(0x1f8)](_0x3a14e2(0x1bf)),_0xd9d6f6=_0x7f9b37[_0x3a14e2(0x201)],{prefix:_0x127471,suffix:_0x4df400}=_0x3bc7a7[_0x3a14e2(0x1e4)][_0x3a14e2(0x1f8)](_0x3a14e2(0x1db));if(_0x1b7d4a[_0x3a14e2(0x1bd)]={'prefix':_0x127471,'suffix':_0x4df400},_0x3a14e2(0x1d6)!==_0xd9d6f6){_0x1b7d4a[_0x3a14e2(0x1bd)][_0x3a14e2(0x1f3)]={};const _0x21ae78=_0x3a14e2(0x1dc)===_0xd9d6f6?_0x7f9b37[_0x3a14e2(0x1ec)]():_0x7f9b37[_0x3a14e2(0x1ed)](_0xd9d6f6,!0x0);for(const _0x5dba9e of Object[_0x3a14e2(0x1d9)](_0x21ae78)){const [_0x43e0a1,_0x50bd87]=_0x5dba9e;_0x1b7d4a[_0x3a14e2(0x1bd)][_0x3a14e2(0x1f3)][_0x43e0a1]=null!==_0x50bd87?_0x50bd87:_0x7f9b37[_0x3a14e2(0x1fe)](_0x43e0a1);}}}return(_0x1917a9[_0x3a14e2(0x1f0)]||_0x1917a9[_0x3a14e2(0x1e6)])&&(_0x1b7d4a[_0x3a14e2(0x1fc)]=new Intl[(_0x3a14e2(0x200))]()[_0x3a14e2(0x1ef)]()[_0x3a14e2(0x1dd)],_0x1b7d4a[_0x3a14e2(0x1ba)]=_0x1917a9),_0x1b7d4a;}export function getCommentsV2(_0x59f0ca){const _0x308fd3=_0x3efb,_0x2fb0de=[];if(!_0x59f0ca[_0x308fd3(0x1cf)])return _0x2fb0de;for(const _0x1a953d of _0x59f0ca){const _0x1da2a7=_0x1a953d[_0x308fd3(0x1e2)][_0x308fd3(0x202)](_0x58d175=>({'author':_0x58d175[_0x308fd3(0x1c2)][_0x308fd3(0x1e1)],'content':_0x58d175[_0x308fd3(0x1c7)],'created_at':_0x58d175[_0x308fd3(0x1d5)]}));_0x2fb0de[_0x308fd3(0x1ea)]({'thread_id':_0x1a953d['id'],'is_resolved':_0x1a953d[_0x308fd3(0x1bc)],'comments':_0x1da2a7});}return _0x2fb0de;}export function getSuggestionsV2(_0x2f2b39,_0x5e1da5){const _0x316c4d=_0x3efb;return _0x2f2b39[_0x316c4d(0x1cf)]&&_0x5e1da5[_0x316c4d(0x1cf)]?_0x2f2b39[_0x316c4d(0x202)](({id:_0x8e68d1,createdAt:_0x39042a,authorId:_0x4ef219,attributes:_0x3f6570})=>{const _0x534ff7=_0x316c4d,_0x32d7af=_0x3f6570&&_0x3f6570[_0x534ff7(0x1c1)];return{'id':_0x8e68d1,'author':_0x32d7af?_0x32d7af[_0x534ff7(0x1c0)]:_0x5e1da5[_0x534ff7(0x1f8)](_0x4ef219)[_0x534ff7(0x1e1)],'created_at':_0x39042a};}):[];}
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};}):[];}