@ckeditor/ckeditor5-export-word 42.0.0-alpha.20 → 42.0.0-alpha.22

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 (99) hide show
  1. package/build/export-word.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/ar.js +1 -1
  4. package/dist/translations/ar.umd.js +1 -1
  5. package/dist/translations/bg.js +1 -1
  6. package/dist/translations/bg.umd.js +1 -1
  7. package/dist/translations/bn.js +1 -1
  8. package/dist/translations/bn.umd.js +1 -1
  9. package/dist/translations/ca.js +1 -1
  10. package/dist/translations/ca.umd.js +1 -1
  11. package/dist/translations/cs.js +1 -1
  12. package/dist/translations/cs.umd.js +1 -1
  13. package/dist/translations/da.js +1 -1
  14. package/dist/translations/da.umd.js +1 -1
  15. package/dist/translations/de.js +1 -1
  16. package/dist/translations/de.umd.js +1 -1
  17. package/dist/translations/el.js +1 -1
  18. package/dist/translations/el.umd.js +1 -1
  19. package/dist/translations/en-au.js +1 -1
  20. package/dist/translations/en-au.umd.js +1 -1
  21. package/dist/translations/en.umd.js +1 -1
  22. package/dist/translations/es.js +1 -1
  23. package/dist/translations/es.umd.js +1 -1
  24. package/dist/translations/et.js +1 -1
  25. package/dist/translations/et.umd.js +1 -1
  26. package/dist/translations/fi.js +1 -1
  27. package/dist/translations/fi.umd.js +1 -1
  28. package/dist/translations/fr.js +1 -1
  29. package/dist/translations/fr.umd.js +1 -1
  30. package/dist/translations/gl.js +1 -1
  31. package/dist/translations/gl.umd.js +1 -1
  32. package/dist/translations/he.js +1 -1
  33. package/dist/translations/he.umd.js +1 -1
  34. package/dist/translations/hi.js +1 -1
  35. package/dist/translations/hi.umd.js +1 -1
  36. package/dist/translations/hr.js +1 -1
  37. package/dist/translations/hr.umd.js +1 -1
  38. package/dist/translations/hu.js +1 -1
  39. package/dist/translations/hu.umd.js +1 -1
  40. package/dist/translations/id.js +1 -1
  41. package/dist/translations/id.umd.js +1 -1
  42. package/dist/translations/it.js +1 -1
  43. package/dist/translations/it.umd.js +1 -1
  44. package/dist/translations/ja.js +1 -1
  45. package/dist/translations/ja.umd.js +1 -1
  46. package/dist/translations/jv.js +1 -1
  47. package/dist/translations/jv.umd.js +1 -1
  48. package/dist/translations/ko.js +1 -1
  49. package/dist/translations/ko.umd.js +1 -1
  50. package/dist/translations/lt.js +1 -1
  51. package/dist/translations/lt.umd.js +1 -1
  52. package/dist/translations/lv.js +1 -1
  53. package/dist/translations/lv.umd.js +1 -1
  54. package/dist/translations/ms.js +1 -1
  55. package/dist/translations/ms.umd.js +1 -1
  56. package/dist/translations/nl.js +1 -1
  57. package/dist/translations/nl.umd.js +1 -1
  58. package/dist/translations/no.js +1 -1
  59. package/dist/translations/no.umd.js +1 -1
  60. package/dist/translations/pl.js +1 -1
  61. package/dist/translations/pl.umd.js +1 -1
  62. package/dist/translations/pt-br.js +1 -1
  63. package/dist/translations/pt-br.umd.js +1 -1
  64. package/dist/translations/pt.js +1 -1
  65. package/dist/translations/pt.umd.js +1 -1
  66. package/dist/translations/ro.js +1 -1
  67. package/dist/translations/ro.umd.js +1 -1
  68. package/dist/translations/ru.js +1 -1
  69. package/dist/translations/ru.umd.js +1 -1
  70. package/dist/translations/sk.js +1 -1
  71. package/dist/translations/sk.umd.js +1 -1
  72. package/dist/translations/sr-latn.js +1 -1
  73. package/dist/translations/sr-latn.umd.js +1 -1
  74. package/dist/translations/sr.js +1 -1
  75. package/dist/translations/sr.umd.js +1 -1
  76. package/dist/translations/sv.js +1 -1
  77. package/dist/translations/sv.umd.js +1 -1
  78. package/dist/translations/th.js +1 -1
  79. package/dist/translations/th.umd.js +1 -1
  80. package/dist/translations/tr.js +1 -1
  81. package/dist/translations/tr.umd.js +1 -1
  82. package/dist/translations/ug.js +1 -1
  83. package/dist/translations/ug.umd.js +1 -1
  84. package/dist/translations/uk.js +1 -1
  85. package/dist/translations/uk.umd.js +1 -1
  86. package/dist/translations/ur.js +1 -1
  87. package/dist/translations/ur.umd.js +1 -1
  88. package/dist/translations/vi.js +1 -1
  89. package/dist/translations/vi.umd.js +1 -1
  90. package/dist/translations/zh-cn.js +1 -1
  91. package/dist/translations/zh-cn.umd.js +1 -1
  92. package/dist/translations/zh.js +1 -1
  93. package/dist/translations/zh.umd.js +1 -1
  94. package/package.json +2 -2
  95. package/src/exportword.js +1 -1
  96. package/src/exportwordcommand.js +1 -1
  97. package/src/exportwordui.js +1 -1
  98. package/src/index.js +1 -1
  99. package/src/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5c9ec6=>{const {'zh-cn':{dictionary:_0x352490,getPluralForm:_0x559c41}}={'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':_0x1bdb82=>0x0}};_0x5c9ec6['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x5c9ec6['zh-cn']['dictionary']=Object['assign'](_0x5c9ec6['zh-cn']['dictionary'],_0x352490),_0x5c9ec6['zh-cn']['getPluralForm']=_0x559c41;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x47a0c1=>{const {'zh-cn':{dictionary:_0x46aaad,getPluralForm:_0x28c69d}}={'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':_0x20594c=>0x0}};_0x47a0c1['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x47a0c1['zh-cn']['dictionary']=Object['assign'](_0x47a0c1['zh-cn']['dictionary'],_0x46aaad),_0x47a0c1['zh-cn']['getPluralForm']=_0x28c69d;})(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':_0x147b65=>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':_0x555e49=>0x0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3d906d=>{const {zh:{dictionary:_0x1525c0,getPluralForm:_0x590751}}={'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':_0x33976d=>0x0}};_0x3d906d['zh']||={'dictionary':{},'getPluralForm':null},_0x3d906d['zh']['dictionary']=Object['assign'](_0x3d906d['zh']['dictionary'],_0x1525c0),_0x3d906d['zh']['getPluralForm']=_0x590751;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4c792b=>{const {zh:{dictionary:_0x56de4b,getPluralForm:_0x4b0b92}}={'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':_0x21e04f=>0x0}};_0x4c792b['zh']||={'dictionary':{},'getPluralForm':null},_0x4c792b['zh']['dictionary']=Object['assign'](_0x4c792b['zh']['dictionary'],_0x56de4b),_0x4c792b['zh']['getPluralForm']=_0x4b0b92;})(window['CKEDITOR_TRANSLATIONS']||={});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-export-word",
3
- "version": "42.0.0-alpha.20",
3
+ "version": "42.0.0-alpha.22",
4
4
  "description": "Export to Word feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -30,7 +30,7 @@
30
30
  "type": "module",
31
31
  "main": "src/index.js",
32
32
  "dependencies": {
33
- "ckeditor5": "42.0.0-alpha.20"
33
+ "ckeditor5": "42.0.0-alpha.22"
34
34
  },
35
35
  "license": "SEE LICENSE IN LICENSE.md",
36
36
  "author": "CKSource (https://cksource.com/)",
package/src/exportword.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x562137=_0x25ac;(function(_0x228fc4,_0x3f2637){const _0x2bea82=_0x25ac,_0x469531=_0x228fc4();while(!![]){try{const _0xfc1295=-parseInt(_0x2bea82(0x67))/0x1*(-parseInt(_0x2bea82(0x71))/0x2)+parseInt(_0x2bea82(0x78))/0x3*(parseInt(_0x2bea82(0x7c))/0x4)+parseInt(_0x2bea82(0x70))/0x5*(parseInt(_0x2bea82(0x6d))/0x6)+parseInt(_0x2bea82(0x76))/0x7+parseInt(_0x2bea82(0x69))/0x8*(parseInt(_0x2bea82(0x74))/0x9)+-parseInt(_0x2bea82(0x73))/0xa*(-parseInt(_0x2bea82(0x6b))/0xb)+-parseInt(_0x2bea82(0x7a))/0xc;if(_0xfc1295===_0x3f2637)break;else _0x469531['push'](_0x469531['shift']());}catch(_0x4f1702){_0x469531['push'](_0x469531['shift']());}}}(_0x77a8,0xb053b));function _0x77a8(){const _0x9cc500=['468GvJllf','get','8701798XEftJX','init','1371BjGycY','config','49444980CqIpfp','CloudServices','512OSCLSP','ExportWord','exportWord','then','registerTokenUrl','editor','token','plugins','1DiGSDG','requires','1216YWFDji','add','11AMTtOL','_token','24006SajEFa','commands','pluginName','1470uojoWa','2615962YvZIYt','tokenUrl','10488610DTeNGF'];_0x77a8=function(){return _0x9cc500;};return _0x77a8();}import{Plugin as _0x3a05a7}from'ckeditor5/src/core.js';import{Notification as _0x2cd097}from'ckeditor5/src/ui.js';function _0x25ac(_0x26ee89,_0x3cb27d){const _0x77a816=_0x77a8();return _0x25ac=function(_0x25ac3e,_0xa5a3bc){_0x25ac3e=_0x25ac3e-0x67;let _0x25dfe2=_0x77a816[_0x25ac3e];return _0x25dfe2;},_0x25ac(_0x26ee89,_0x3cb27d);}import _0x342353 from'./exportwordcommand.js';import _0x469c3f from'./exportwordui.js';export default class s extends _0x3a05a7{static get[_0x562137(0x6f)](){const _0x175c45=_0x562137;return _0x175c45(0x7d);}static get[_0x562137(0x68)](){const _0x36b70b=_0x562137;return[_0x36b70b(0x7b),_0x2cd097,_0x469c3f];}[_0x562137(0x77)](){const _0x437b9e=_0x562137,_0x51413f=this[_0x437b9e(0x81)],_0xb137cd=_0x51413f[_0x437b9e(0x79)][_0x437b9e(0x75)](_0x437b9e(0x7e))||{};_0x51413f[_0x437b9e(0x6e)][_0x437b9e(0x6a)](_0x437b9e(0x7e),new _0x342353(_0x51413f));const _0x4afa81=_0x51413f[_0x437b9e(0x83)][_0x437b9e(0x75)](_0x437b9e(0x7b));!0x1===_0xb137cd[_0x437b9e(0x72)]?this[_0x437b9e(0x6c)]=null:_0xb137cd[_0x437b9e(0x72)]?_0x4afa81[_0x437b9e(0x80)](_0xb137cd[_0x437b9e(0x72)])[_0x437b9e(0x7f)](_0x19b8d1=>{const _0x59bd6e=_0x437b9e;this[_0x59bd6e(0x6c)]=_0x19b8d1;}):this[_0x437b9e(0x6c)]=_0x4afa81[_0x437b9e(0x82)];}}
23
+ const _0x4c337d=_0x2ad4;(function(_0x55334d,_0x4add96){const _0x29881c=_0x2ad4,_0x203684=_0x55334d();while(!![]){try{const _0x4184d4=-parseInt(_0x29881c(0xfd))/0x1+-parseInt(_0x29881c(0xff))/0x2*(parseInt(_0x29881c(0xf4))/0x3)+-parseInt(_0x29881c(0xf6))/0x4*(parseInt(_0x29881c(0xf7))/0x5)+parseInt(_0x29881c(0x102))/0x6*(-parseInt(_0x29881c(0x104))/0x7)+parseInt(_0x29881c(0x109))/0x8*(-parseInt(_0x29881c(0xfc))/0x9)+parseInt(_0x29881c(0xfe))/0xa+parseInt(_0x29881c(0x105))/0xb*(parseInt(_0x29881c(0xf3))/0xc);if(_0x4184d4===_0x4add96)break;else _0x203684['push'](_0x203684['shift']());}catch(_0x444b59){_0x203684['push'](_0x203684['shift']());}}}(_0x2f2a,0xed402));import{Plugin as _0x4673a8}from'ckeditor5/src/core.js';function _0x2f2a(){const _0x1ff8c6=['10802kpFLBO','add','tokenUrl','CloudServices','187384FvQKbO','registerTokenUrl','config','plugins','ExportWord','exportWord','editor','31524VVEwqV','6294NAPezg','get','4fSlYhT','205630pRzraO','init','pluginName','then','_token','297dRVytS','1231594IkARah','14928010KvUvVG','596rUsmYr','token','requires','1289562OZGvTo','commands','14QrXQFJ'];_0x2f2a=function(){return _0x1ff8c6;};return _0x2f2a();}function _0x2ad4(_0x50776c,_0x52d344){const _0x2f2ae7=_0x2f2a();return _0x2ad4=function(_0x2ad4c7,_0x13c488){_0x2ad4c7=_0x2ad4c7-0xf3;let _0x4c7563=_0x2f2ae7[_0x2ad4c7];return _0x4c7563;},_0x2ad4(_0x50776c,_0x52d344);}import{Notification as _0x1eb5ee}from'ckeditor5/src/ui.js';import _0x418f83 from'./exportwordcommand.js';import _0x5e66ca from'./exportwordui.js';export default class s extends _0x4673a8{static get[_0x4c337d(0xf9)](){const _0x448449=_0x4c337d;return _0x448449(0x10d);}static get[_0x4c337d(0x101)](){const _0xd8c392=_0x4c337d;return[_0xd8c392(0x108),_0x1eb5ee,_0x5e66ca];}[_0x4c337d(0xf8)](){const _0x242fc9=_0x4c337d,_0x2bfca0=this[_0x242fc9(0x10f)],_0x228c9c=_0x2bfca0[_0x242fc9(0x10b)][_0x242fc9(0xf5)](_0x242fc9(0x10e))||{};_0x2bfca0[_0x242fc9(0x103)][_0x242fc9(0x106)](_0x242fc9(0x10e),new _0x418f83(_0x2bfca0));const _0xfbde0f=_0x2bfca0[_0x242fc9(0x10c)][_0x242fc9(0xf5)](_0x242fc9(0x108));!0x1===_0x228c9c[_0x242fc9(0x107)]?this[_0x242fc9(0xfb)]=null:_0x228c9c[_0x242fc9(0x107)]?_0xfbde0f[_0x242fc9(0x10a)](_0x228c9c[_0x242fc9(0x107)])[_0x242fc9(0xfa)](_0x168606=>{const _0x5914c1=_0x242fc9;this[_0x5914c1(0xfb)]=_0x168606;}):this[_0x242fc9(0xfb)]=_0xfbde0f[_0x242fc9(0x100)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0xb6aec2}from'ckeditor5/src/core.js';import{getStyles as _0x12b5fc,getConverterOptions as _0x56fdf4,getConverterOptionsV2 as _0x3aaa4a}from'./utils.js';export default class e extends _0xb6aec2{constructor(_0x1ab32a){super(_0x1ab32a),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x5dfd16={}){const _0x438fe0=this['editor'],t=_0x438fe0['t'],_0x1ee26e=0x2===(_0x5dfd16['version']||0x1),_0x3f061f=_0x5dfd16['converterUrl']||(_0x1ee26e?'https://docx-converter.cke-cs.com/v2/convert/html-docx':'https://docx-converter.cke-cs.com/v1/convert'),_0x211e57=_0x5dfd16['converterOptions']||{},_0x274999=_0x438fe0['plugins']['get']('ExportWord'),_0x5c28dc=_0x5dfd16['token']||_0x274999['_token'],_0x2d16b=!0x1!==_0x211e57['auto_pagination'],_0x385ed0=_0x5dfd16['dataCallback']||(_0x1d4bae=>_0x1d4bae['data']['get']({'pagination':_0x2d16b}));return this['isBusy']=!0x0,this['refresh'](),_0x12b5fc(_0x5dfd16['stylesheets']||['EDITOR_STYLES'])['then'](async _0x39f915=>{_0x438fe0['ui']['ariaLiveAnnouncer']['announce'](t('Word\x20document\x20export\x20started'));const _0x5d28ea=await _0x385ed0(_0x438fe0),_0x4e3199={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x438fe0['locale']['contentLanguageDirection']+'\x22>'+_0x5d28ea+'</div>','css':_0x39f915,[_0x1ee26e?'config':'options']:{..._0x211e57,..._0x1ee26e?_0x3aaa4a(_0x438fe0):_0x56fdf4(_0x438fe0)}},_0x2a40be={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x5c28dc?{'Authorization':_0x5c28dc['value']}:null},'body':JSON['stringify'](_0x4e3199)};return window['fetch'](_0x3f061f,_0x2a40be)['then'](_0x446372=>{if(0xc8!==_0x446372['status'])throw _0x446372;return _0x446372['blob']();})['then'](_0x5d71bd=>{_0x438fe0['ui']['ariaLiveAnnouncer']['announce'](t('Word\x20document\x20export\x20successful'));const _0x313a66='function'==typeof _0x5dfd16['fileName']?_0x5dfd16['fileName']():_0x5dfd16['fileName'];this['_downloadFile'](_0x5d71bd,_0x313a66||'document.docx');});})['catch'](_0x5b2062=>{const _0x2b97b2=_0x438fe0['plugins']['get']('Notification');throw _0x438fe0['ui']['ariaLiveAnnouncer']['announce'](t('Word\x20document\x20export\x20failed'),{'politeness':'assertive'}),_0x2b97b2['showWarning'](t('An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0x5b2062;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x489121,_0x34cdda){const _0x3a5267=document['createElement']('a');_0x3a5267['href']=window['URL']['createObjectURL'](_0x489121),_0x3a5267['download']=_0x34cdda,_0x3a5267['click'](),_0x3a5267['remove']();}}
23
+ import{Command as _0x4789eb}from'ckeditor5/src/core.js';import{getStyles as _0x39e8c0,getConverterOptions as _0x4084a3,getConverterOptionsV2 as _0x8514cd}from'./utils.js';export default class e extends _0x4789eb{constructor(_0x3b65fe){super(_0x3b65fe),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x3c8aab={}){const _0x393913=this['editor'],t=_0x393913['t'],_0x3ae218=0x2===(_0x3c8aab['version']||0x1),_0x4242d3=_0x3c8aab['converterUrl']||(_0x3ae218?'https://docx-converter.cke-cs.com/v2/convert/html-docx':'https://docx-converter.cke-cs.com/v1/convert'),_0x1a12c9=_0x3c8aab['converterOptions']||{},_0xcabeac=_0x393913['plugins']['get']('ExportWord'),_0x3f8f8d=_0x3c8aab['token']||_0xcabeac['_token'],_0x2856a2=!0x1!==_0x1a12c9['auto_pagination'],_0x3adb53=_0x3c8aab['dataCallback']||(_0x54b8c9=>_0x54b8c9['data']['get']({'pagination':_0x2856a2}));return this['isBusy']=!0x0,this['refresh'](),_0x39e8c0(_0x3c8aab['stylesheets']||['EDITOR_STYLES'])['then'](async _0x2d4d3d=>{_0x393913['ui']['ariaLiveAnnouncer']['announce'](t('Word\x20document\x20export\x20started'));const _0x4f4c1a=await _0x3adb53(_0x393913),_0x21d685={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x393913['locale']['contentLanguageDirection']+'\x22>'+_0x4f4c1a+'</div>','css':_0x2d4d3d,[_0x3ae218?'config':'options']:{..._0x1a12c9,..._0x3ae218?_0x8514cd(_0x393913):_0x4084a3(_0x393913)}},_0x9353e4={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x3f8f8d?{'Authorization':_0x3f8f8d['value']}:null},'body':JSON['stringify'](_0x21d685)};return window['fetch'](_0x4242d3,_0x9353e4)['then'](_0x135f24=>{if(0xc8!==_0x135f24['status'])throw _0x135f24;return _0x135f24['blob']();})['then'](_0x584a41=>{_0x393913['ui']['ariaLiveAnnouncer']['announce'](t('Word\x20document\x20export\x20successful'));const _0x2ff557='function'==typeof _0x3c8aab['fileName']?_0x3c8aab['fileName']():_0x3c8aab['fileName'];this['_downloadFile'](_0x584a41,_0x2ff557||'document.docx');});})['catch'](_0x5337ee=>{const _0x5a9b93=_0x393913['plugins']['get']('Notification');throw _0x393913['ui']['ariaLiveAnnouncer']['announce'](t('Word\x20document\x20export\x20failed'),{'politeness':'assertive'}),_0x5a9b93['showWarning'](t('An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0x5337ee;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0xe08042,_0x45f220){const _0x2e277d=document['createElement']('a');_0x2e277d['href']=window['URL']['createObjectURL'](_0xe08042),_0x2e277d['download']=_0x45f220,_0x2e277d['click'](),_0x2e277d['remove']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4f8757}from'ckeditor5/src/core.js';import{ButtonView as _0x4429d1,MenuBarMenuListItemButtonView as _0x3fda2e,SpinnerView as _0x545991}from'ckeditor5/src/ui.js';import _0x3b97ab from'../theme/icons/exportword.svg';export default class i extends _0x4f8757{static get['pluginName'](){return'ExportWordUI';}['init'](){const _0x7704ab=this['editor'];_0x7704ab['ui']['componentFactory']['add']('exportWord',()=>{const _0x38d579=_0x7704ab['commands']['get']('exportWord'),_0x212b3c=this['_createButton'](_0x4429d1);return _0x212b3c['set']({'tooltip':!0x0}),_0x212b3c['bind']('isOn')['to'](_0x38d579,'isBusy'),_0x212b3c;}),_0x7704ab['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](_0x3fda2e));}['_createButton'](_0x343380){const _0x2b8674=this['editor'],_0xda11b3=_0x2b8674['config']['get']('exportWord')||{},t=_0x2b8674['locale']['t'],_0x3352d3=_0x2b8674['commands']['get']('exportWord'),_0x50561d=new _0x343380(_0x2b8674['locale']),_0x3f93e4=new _0x545991();return _0x50561d['children']['add'](_0x3f93e4),_0x3f93e4['bind']('isVisible')['to'](_0x3352d3,'isBusy'),_0x50561d['iconView']['bind']('isVisible')['to'](_0x3352d3,'isBusy',_0x578dee=>!_0x578dee),_0x50561d['set']({'icon':_0x3b97ab}),_0x50561d['bind']('isEnabled')['to'](_0x3352d3,'isEnabled'),_0x50561d['bind']('label')['to'](_0x3352d3,'isBusy',_0x43e94c=>t(_0x43e94c?'Exporting\x20Word\x20document':'Export\x20to\x20Word')),this['listenTo'](_0x50561d,'execute',()=>{_0x2b8674['execute']('exportWord',_0xda11b3),_0x2b8674['editing']['view']['focus']();}),_0x50561d;}}
23
+ import{Plugin as _0x594ca1}from'ckeditor5/src/core.js';import{ButtonView as _0x53d227,MenuBarMenuListItemButtonView as _0x2e160b,SpinnerView as _0x2c365e}from'ckeditor5/src/ui.js';import _0x2a65d9 from'../theme/icons/exportword.svg';export default class i extends _0x594ca1{static get['pluginName'](){return'ExportWordUI';}['init'](){const _0x4b43e5=this['editor'];_0x4b43e5['ui']['componentFactory']['add']('exportWord',()=>{const _0x59ce1b=_0x4b43e5['commands']['get']('exportWord'),_0x12231d=this['_createButton'](_0x53d227);return _0x12231d['set']({'tooltip':!0x0}),_0x12231d['bind']('isOn')['to'](_0x59ce1b,'isBusy'),_0x12231d;}),_0x4b43e5['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](_0x2e160b));}['_createButton'](_0x502bc7){const _0x4800ba=this['editor'],_0x2692da=_0x4800ba['config']['get']('exportWord')||{},t=_0x4800ba['locale']['t'],_0x32330e=_0x4800ba['commands']['get']('exportWord'),_0x580c5c=new _0x502bc7(_0x4800ba['locale']),_0x10c64f=new _0x2c365e();return _0x580c5c['children']['add'](_0x10c64f),_0x10c64f['bind']('isVisible')['to'](_0x32330e,'isBusy'),_0x580c5c['iconView']['bind']('isVisible')['to'](_0x32330e,'isBusy',_0x1cc56f=>!_0x1cc56f),_0x580c5c['set']({'icon':_0x2a65d9}),_0x580c5c['bind']('isEnabled')['to'](_0x32330e,'isEnabled'),_0x580c5c['bind']('label')['to'](_0x32330e,'isBusy',_0x1a0086=>t(_0x1a0086?'Exporting\x20Word\x20document':'Export\x20to\x20Word')),this['listenTo'](_0x580c5c,'execute',()=>{_0x4800ba['execute']('exportWord',_0x2692da),_0x4800ba['editing']['view']['focus']();}),_0x580c5c;}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x684d5c,_0x39ca2c){var _0x36a332=_0x2aa9,_0x2c990b=_0x684d5c();while(!![]){try{var _0x119061=parseInt(_0x36a332(0x1a3))/0x1*(-parseInt(_0x36a332(0x19f))/0x2)+-parseInt(_0x36a332(0x1a7))/0x3+parseInt(_0x36a332(0x1a1))/0x4+-parseInt(_0x36a332(0x1a4))/0x5*(-parseInt(_0x36a332(0x1a8))/0x6)+parseInt(_0x36a332(0x1a2))/0x7*(-parseInt(_0x36a332(0x1a5))/0x8)+parseInt(_0x36a332(0x1a6))/0x9+parseInt(_0x36a332(0x1a0))/0xa;if(_0x119061===_0x39ca2c)break;else _0x2c990b['push'](_0x2c990b['shift']());}catch(_0x47b621){_0x2c990b['push'](_0x2c990b['shift']());}}}(_0x465d,0xf1a13));function _0x2aa9(_0x31989b,_0xda12b5){var _0x465daf=_0x465d();return _0x2aa9=function(_0x2aa925,_0x213a52){_0x2aa925=_0x2aa925-0x19f;var _0x5daf28=_0x465daf[_0x2aa925];return _0x5daf28;},_0x2aa9(_0x31989b,_0xda12b5);}export{default as ExportWord}from'./exportword.js';function _0x465d(){var _0x307a43=['15746368duhdVo','824994zwYjQG','1704141rUqmsT','2618430GDyHFm','127202aUQBCW','6472630VcCiyr','6166060QDghkG','7mtlWmz','1IOuaRw','15RuhPos'];_0x465d=function(){return _0x307a43;};return _0x465d();}import'./augmentation.js';
23
+ (function(_0x1456c4,_0x22fa7b){var _0x1ea117=_0x2a9d,_0x585d08=_0x1456c4();while(!![]){try{var _0xda1a08=-parseInt(_0x1ea117(0x1af))/0x1+-parseInt(_0x1ea117(0x1b6))/0x2*(parseInt(_0x1ea117(0x1b3))/0x3)+-parseInt(_0x1ea117(0x1b2))/0x4*(-parseInt(_0x1ea117(0x1b8))/0x5)+parseInt(_0x1ea117(0x1b7))/0x6*(-parseInt(_0x1ea117(0x1b4))/0x7)+parseInt(_0x1ea117(0x1b0))/0x8*(parseInt(_0x1ea117(0x1ad))/0x9)+parseInt(_0x1ea117(0x1ae))/0xa+parseInt(_0x1ea117(0x1b1))/0xb*(parseInt(_0x1ea117(0x1b5))/0xc);if(_0xda1a08===_0x22fa7b)break;else _0x585d08['push'](_0x585d08['shift']());}catch(_0x56a9ff){_0x585d08['push'](_0x585d08['shift']());}}}(_0x1739,0xeb255));function _0x1739(){var _0x1b5819=['7rlDHFs','588LYQGMS','18knDAGh','3131166kTwcru','620OVyRcq','434907VploUG','336750bVFxBM','689372vACAiP','32BqNdde','503866EKcYBX','14128tWShBd','245013elimtP'];_0x1739=function(){return _0x1b5819;};return _0x1739();}export{default as ExportWord}from'./exportword.js';function _0x2a9d(_0x19ab97,_0x59fb70){var _0x173998=_0x1739();return _0x2a9d=function(_0x2a9d19,_0x3eff8d){_0x2a9d19=_0x2a9d19-0x1ad;var _0x12673d=_0x173998[_0x2a9d19];return _0x12673d;},_0x2a9d(_0x19ab97,_0x59fb70);}import'./augmentation.js';
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xfd89f8,_0x8a9571){const _0x333fb5=_0x2515,_0x4d7d84=_0xfd89f8();while(!![]){try{const _0x122152=parseInt(_0x333fb5(0x1e3))/0x1*(parseInt(_0x333fb5(0x1eb))/0x2)+parseInt(_0x333fb5(0x1da))/0x3*(-parseInt(_0x333fb5(0x1fb))/0x4)+-parseInt(_0x333fb5(0x1e1))/0x5+parseInt(_0x333fb5(0x1fa))/0x6+-parseInt(_0x333fb5(0x1f9))/0x7*(-parseInt(_0x333fb5(0x1ca))/0x8)+parseInt(_0x333fb5(0x1f4))/0x9*(-parseInt(_0x333fb5(0x1c4))/0xa)+-parseInt(_0x333fb5(0x1f2))/0xb*(-parseInt(_0x333fb5(0x1d9))/0xc);if(_0x122152===_0x8a9571)break;else _0x4d7d84['push'](_0x4d7d84['shift']());}catch(_0x245538){_0x4d7d84['push'](_0x4d7d84['shift']());}}}(_0x253d,0xecf39));export function getStyles(_0x3bed26){const _0x5cbb9c=_0x2515;if(!_0x3bed26)return new Promise(_0x12d7ba=>_0x12d7ba(''));const _0x2be10e=[];for(const _0x5c5dce of _0x3bed26)_0x5cbb9c(0x1c6)!==_0x5c5dce?_0x2be10e[_0x5cbb9c(0x1dc)](window[_0x5cbb9c(0x1e6)](_0x5c5dce)[_0x5cbb9c(0x1d8)](_0x2b6726=>_0x2b6726[_0x5cbb9c(0x1d2)]())):_0x2be10e[_0x5cbb9c(0x1dc)](f());return Promise[_0x5cbb9c(0x1db)](_0x2be10e)[_0x5cbb9c(0x1d8)](_0x29ac17=>_0x29ac17[_0x5cbb9c(0x1f7)]('\x20')[_0x5cbb9c(0x1fd)]());}function f(){const _0x501559=_0x2515,_0x5c9a3f=[],_0x3d42ab=[];for(const _0xb4e67a of Array[_0x501559(0x1cb)](document[_0x501559(0x1e0)])){if(_0xb4e67a[_0x501559(0x1e9)][_0x501559(0x1c7)](_0x501559(0x1fc))){for(const _0x3e4a12 of Array[_0x501559(0x1cb)](_0xb4e67a[_0x501559(0x1d0)]))-0x1!==_0x3e4a12[_0x501559(0x1ea)][_0x501559(0x1e8)](_0x501559(0x1e7))?_0x5c9a3f[_0x501559(0x1dc)](_0x3e4a12[_0x501559(0x1ea)]):-0x1!==_0x3e4a12[_0x501559(0x1ea)][_0x501559(0x1e8)](_0x501559(0x1f6))&&_0x3d42ab[_0x501559(0x1dc)](_0x3e4a12[_0x501559(0x1ea)]);}}return _0x5c9a3f[_0x501559(0x1f8)]||console[_0x501559(0x1cf)](_0x501559(0x1cc)),[..._0x3d42ab,..._0x5c9a3f][_0x501559(0x1f7)]('\x20')[_0x501559(0x1fd)]();}export function getConverterOptions(_0x193f94){const _0x3e98ad=_0x2515,_0x57c281=_0x193f94[_0x3e98ad(0x1ed)][_0x3e98ad(0x1dd)](_0x3e98ad(0x1f0)),_0x210a77=_0x193f94[_0x3e98ad(0x1ed)][_0x3e98ad(0x1dd)](_0x3e98ad(0x1d1)),_0x21a21f=_0x193f94[_0x3e98ad(0x1ed)][_0x3e98ad(0x1dd)](_0x3e98ad(0x1d6)),_0x17533b={};if(_0x57c281&&_0x210a77){const _0xb5da0c=getComments(_0x193f94[_0x3e98ad(0x1ed)][_0x3e98ad(0x1d5)](_0x3e98ad(0x1d1))[_0x3e98ad(0x1e2)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x3e98ad(0x1c5)](_0xb5da0c)[_0x3e98ad(0x1f8)]&&(_0x17533b[_0x3e98ad(0x1cd)]=_0xb5da0c);}if(_0x57c281&&_0x21a21f){const _0x3ef8c6=_0x193f94[_0x3e98ad(0x1ed)][_0x3e98ad(0x1d5)](_0x3e98ad(0x1d6)),_0xfc3ab8=_0x193f94[_0x3e98ad(0x1ed)][_0x3e98ad(0x1d5)](_0x3e98ad(0x1f0)),_0x629c08=getSuggestions(_0x3ef8c6[_0x3e98ad(0x1c9)]({'toJSON':!0x0}),_0xfc3ab8[_0x3e98ad(0x1ef)]);Object[_0x3e98ad(0x1c5)](_0x629c08)[_0x3e98ad(0x1f8)]&&(_0x17533b[_0x3e98ad(0x1e4)]=_0x629c08);}return(_0x17533b[_0x3e98ad(0x1e4)]||_0x17533b[_0x3e98ad(0x1cd)])&&(_0x17533b[_0x3e98ad(0x1f1)]=new Intl[(_0x3e98ad(0x1d4))]()[_0x3e98ad(0x1ee)]()[_0x3e98ad(0x1d3)]),_0x17533b;}export function getComments(_0x330729){const _0x16b30f=_0x2515,_0x416fe5={};if(!_0x330729[_0x16b30f(0x1f8)])return _0x416fe5;for(const _0x3d5ef8 of _0x330729)_0x3d5ef8[_0x16b30f(0x1cd)][_0x16b30f(0x1de)](_0x162757=>{const _0x28447b=_0x16b30f;void 0x0===_0x416fe5[_0x3d5ef8['id']]&&(_0x416fe5[_0x3d5ef8['id']]=[]),_0x416fe5[_0x3d5ef8['id']][_0x28447b(0x1dc)]({'author':_0x162757[_0x28447b(0x1f3)][_0x28447b(0x1df)],'content':_0x162757[_0x28447b(0x1c8)],'created':_0x162757[_0x28447b(0x1ec)],'is_resolved':_0x3d5ef8[_0x28447b(0x1f5)]});});return _0x416fe5;}export function getSuggestions(_0x4c46a3,_0x5c120e){const _0x3e4df6=_0x2515,_0x497cf8={};if(!_0x4c46a3[_0x3e4df6(0x1f8)]||!_0x5c120e[_0x3e4df6(0x1f8)])return _0x497cf8;for(const _0x1ff900 of _0x4c46a3)_0x497cf8[_0x1ff900['id']]={'author':_0x5c120e[_0x3e4df6(0x1d5)](_0x1ff900[_0x3e4df6(0x1e5)])[_0x3e4df6(0x1df)],'created':_0x1ff900[_0x3e4df6(0x1ec)]};return _0x497cf8;}export function getConverterOptionsV2(_0x596ad7){const _0x2ee3cc=_0x2515,_0x479158=_0x596ad7[_0x2ee3cc(0x1ed)][_0x2ee3cc(0x1dd)](_0x2ee3cc(0x1f0)),_0x9df155=_0x596ad7[_0x2ee3cc(0x1ed)][_0x2ee3cc(0x1dd)](_0x2ee3cc(0x1d1)),_0x44badc=_0x596ad7[_0x2ee3cc(0x1ed)][_0x2ee3cc(0x1dd)](_0x2ee3cc(0x1d6)),_0x4cf359={},_0x4f23f2={};if(_0x479158&&_0x9df155){const _0xd48846=getCommentsV2(_0x596ad7[_0x2ee3cc(0x1ed)][_0x2ee3cc(0x1d5)](_0x2ee3cc(0x1d1))[_0x2ee3cc(0x1e2)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0xd48846[_0x2ee3cc(0x1f8)]&&(_0x4f23f2[_0x2ee3cc(0x1d7)]=_0xd48846);}if(_0x479158&&_0x44badc){const _0x338671=_0x596ad7[_0x2ee3cc(0x1ed)][_0x2ee3cc(0x1d5)](_0x2ee3cc(0x1d6)),_0x54e0ed=_0x596ad7[_0x2ee3cc(0x1ed)][_0x2ee3cc(0x1d5)](_0x2ee3cc(0x1f0)),_0x453479=getSuggestionsV2(_0x338671[_0x2ee3cc(0x1c9)]({'toJSON':!0x0}),_0x54e0ed[_0x2ee3cc(0x1ef)]);_0x453479[_0x2ee3cc(0x1f8)]&&(_0x4f23f2[_0x2ee3cc(0x1e4)]=_0x453479);}return(_0x4f23f2[_0x2ee3cc(0x1d7)]||_0x4f23f2[_0x2ee3cc(0x1e4)])&&(_0x4cf359[_0x2ee3cc(0x1f1)]=new Intl[(_0x2ee3cc(0x1d4))]()[_0x2ee3cc(0x1ee)]()[_0x2ee3cc(0x1d3)],_0x4cf359[_0x2ee3cc(0x1ce)]=_0x4f23f2),_0x4cf359;}function _0x2515(_0x491281,_0x5d90b2){const _0x253d3d=_0x253d();return _0x2515=function(_0x251570,_0x46c3bd){_0x251570=_0x251570-0x1c4;let _0x5d283c=_0x253d3d[_0x251570];return _0x5d283c;},_0x2515(_0x491281,_0x5d90b2);}function _0x253d(){const _0x4d8af6=['content','getSuggestions','1504dWpvYc','from','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','collaboration_features','warn','cssRules','CommentsRepository','text','timeZone','DateTimeFormat','get','TrackChanges','comment_threads','then','16633836GBUujy','8289pTdSVV','all','push','has','map','name','styleSheets','7339580auzpuH','getCommentThreads','855031PgbpfV','suggestions','authorId','fetch','.ck-content','indexOf','ownerNode','cssText','4ChdDym','createdAt','plugins','resolvedOptions','users','Users','timezone','11icnwmy','author','3129426umXUdp','isResolved',':root','join','length','71533CWdasN','3760830aZlzSx','2124izkHcZ','data-cke','trim','50uxuAfE','keys','EDITOR_STYLES','hasAttribute'];_0x253d=function(){return _0x4d8af6;};return _0x253d();}export function getCommentsV2(_0x17eff2){const _0x46dccc=_0x2515,_0x32e2b8=[];if(!_0x17eff2[_0x46dccc(0x1f8)])return _0x32e2b8;for(const _0x344d0b of _0x17eff2){const _0x3bcd38=_0x344d0b[_0x46dccc(0x1cd)][_0x46dccc(0x1de)](_0x4f5364=>({'author':_0x4f5364[_0x46dccc(0x1f3)][_0x46dccc(0x1df)],'content':_0x4f5364[_0x46dccc(0x1c8)],'created_at':_0x4f5364[_0x46dccc(0x1ec)]}));_0x32e2b8[_0x46dccc(0x1dc)]({'thread_id':_0x344d0b['id'],'is_resolved':_0x344d0b[_0x46dccc(0x1f5)],'comments':_0x3bcd38});}return _0x32e2b8;}export function getSuggestionsV2(_0x53f00b,_0x455363){const _0x1399f5=_0x2515;return _0x53f00b[_0x1399f5(0x1f8)]&&_0x455363[_0x1399f5(0x1f8)]?_0x53f00b[_0x1399f5(0x1de)](_0x123a68=>({'id':_0x123a68['id'],'author':_0x455363[_0x1399f5(0x1d5)](_0x123a68[_0x1399f5(0x1e5)])[_0x1399f5(0x1df)],'created_at':_0x123a68[_0x1399f5(0x1ec)]})):[];}
23
+ function _0x1fb4(_0xe34122,_0x4f6375){const _0x887c69=_0x887c();return _0x1fb4=function(_0x1fb49f,_0x56c1c5){_0x1fb49f=_0x1fb49f-0x85;let _0x23ec12=_0x887c69[_0x1fb49f];return _0x23ec12;},_0x1fb4(_0xe34122,_0x4f6375);}(function(_0x2d78ce,_0x2af13b){const _0x158528=_0x1fb4,_0x39832d=_0x2d78ce();while(!![]){try{const _0xbee262=parseInt(_0x158528(0xb6))/0x1+parseInt(_0x158528(0x8a))/0x2+-parseInt(_0x158528(0x9d))/0x3*(parseInt(_0x158528(0xb0))/0x4)+-parseInt(_0x158528(0x86))/0x5+-parseInt(_0x158528(0xa8))/0x6+parseInt(_0x158528(0xba))/0x7*(parseInt(_0x158528(0x92))/0x8)+parseInt(_0x158528(0xb7))/0x9;if(_0xbee262===_0x2af13b)break;else _0x39832d['push'](_0x39832d['shift']());}catch(_0x17ae88){_0x39832d['push'](_0x39832d['shift']());}}}(_0x887c,0x82fbd));export function getStyles(_0x5d7269){const _0x373ae4=_0x1fb4;if(!_0x5d7269)return new Promise(_0x19b57b=>_0x19b57b(''));const _0x240595=[];for(const _0x44d7b9 of _0x5d7269)_0x373ae4(0x85)!==_0x44d7b9?_0x240595[_0x373ae4(0xab)](window[_0x373ae4(0xa7)](_0x44d7b9)[_0x373ae4(0xae)](_0x3fc298=>_0x3fc298[_0x373ae4(0x89)]())):_0x240595[_0x373ae4(0xab)](f());return Promise[_0x373ae4(0xa1)](_0x240595)[_0x373ae4(0xae)](_0x34b105=>_0x34b105[_0x373ae4(0x9f)]('\x20')[_0x373ae4(0xb3)]());}function f(){const _0x510448=_0x1fb4,_0x23a64d=[],_0x594007=[];for(const _0x109fe8 of Array[_0x510448(0xb5)](document[_0x510448(0x87)])){if(_0x109fe8[_0x510448(0x98)][_0x510448(0x97)](_0x510448(0x9c))){for(const _0x373d6a of Array[_0x510448(0xb5)](_0x109fe8[_0x510448(0x90)]))-0x1!==_0x373d6a[_0x510448(0x8c)][_0x510448(0x9a)](_0x510448(0xa4))?_0x23a64d[_0x510448(0xab)](_0x373d6a[_0x510448(0x8c)]):-0x1!==_0x373d6a[_0x510448(0x8c)][_0x510448(0x9a)](_0x510448(0x8f))&&_0x594007[_0x510448(0xab)](_0x373d6a[_0x510448(0x8c)]);}}return _0x23a64d[_0x510448(0x8e)]||console[_0x510448(0x99)](_0x510448(0xb9)),[..._0x594007,..._0x23a64d][_0x510448(0x9f)]('\x20')[_0x510448(0xb3)]();}export function getConverterOptions(_0x18f955){const _0x2727c5=_0x1fb4,_0x1404a7=_0x18f955[_0x2727c5(0x94)][_0x2727c5(0xad)](_0x2727c5(0xa0)),_0x1a686c=_0x18f955[_0x2727c5(0x94)][_0x2727c5(0xad)](_0x2727c5(0x9e)),_0x167081=_0x18f955[_0x2727c5(0x94)][_0x2727c5(0xad)](_0x2727c5(0xaf)),_0x15d922={};if(_0x1404a7&&_0x1a686c){const _0x563618=getComments(_0x18f955[_0x2727c5(0x94)][_0x2727c5(0xa6)](_0x2727c5(0x9e))[_0x2727c5(0x8b)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x2727c5(0x9b)](_0x563618)[_0x2727c5(0x8e)]&&(_0x15d922[_0x2727c5(0xbb)]=_0x563618);}if(_0x1404a7&&_0x167081){const _0x5ef030=_0x18f955[_0x2727c5(0x94)][_0x2727c5(0xa6)](_0x2727c5(0xaf)),_0x3233f0=_0x18f955[_0x2727c5(0x94)][_0x2727c5(0xa6)](_0x2727c5(0xa0)),_0x23abd9=getSuggestions(_0x5ef030[_0x2727c5(0xb1)]({'toJSON':!0x0}),_0x3233f0[_0x2727c5(0xaa)]);Object[_0x2727c5(0x9b)](_0x23abd9)[_0x2727c5(0x8e)]&&(_0x15d922[_0x2727c5(0xa3)]=_0x23abd9);}return(_0x15d922[_0x2727c5(0xa3)]||_0x15d922[_0x2727c5(0xbb)])&&(_0x15d922[_0x2727c5(0xa5)]=new Intl[(_0x2727c5(0x88))]()[_0x2727c5(0xb8)]()[_0x2727c5(0xb2)]),_0x15d922;}export function getComments(_0x1c1188){const _0x3f5a1d=_0x1fb4,_0x3f1338={};if(!_0x1c1188[_0x3f5a1d(0x8e)])return _0x3f1338;for(const _0x19bb92 of _0x1c1188)_0x19bb92[_0x3f5a1d(0xbb)][_0x3f5a1d(0x8d)](_0x5a92bd=>{const _0x2e16ea=_0x3f5a1d;void 0x0===_0x3f1338[_0x19bb92['id']]&&(_0x3f1338[_0x19bb92['id']]=[]),_0x3f1338[_0x19bb92['id']][_0x2e16ea(0xab)]({'author':_0x5a92bd[_0x2e16ea(0x93)][_0x2e16ea(0x95)],'content':_0x5a92bd[_0x2e16ea(0x91)],'created':_0x5a92bd[_0x2e16ea(0xb4)],'is_resolved':_0x19bb92[_0x2e16ea(0xa2)]});});return _0x3f1338;}export function getSuggestions(_0x6d0773,_0x5cb800){const _0x2de4e9=_0x1fb4,_0x96dbcd={};if(!_0x6d0773[_0x2de4e9(0x8e)]||!_0x5cb800[_0x2de4e9(0x8e)])return _0x96dbcd;for(const _0x50e45c of _0x6d0773)_0x96dbcd[_0x50e45c['id']]={'author':_0x5cb800[_0x2de4e9(0xa6)](_0x50e45c[_0x2de4e9(0x96)])[_0x2de4e9(0x95)],'created':_0x50e45c[_0x2de4e9(0xb4)]};return _0x96dbcd;}export function getConverterOptionsV2(_0x3dc281){const _0x25f79d=_0x1fb4,_0x3f1c04=_0x3dc281[_0x25f79d(0x94)][_0x25f79d(0xad)](_0x25f79d(0xa0)),_0x62444b=_0x3dc281[_0x25f79d(0x94)][_0x25f79d(0xad)](_0x25f79d(0x9e)),_0x47bd87=_0x3dc281[_0x25f79d(0x94)][_0x25f79d(0xad)](_0x25f79d(0xaf)),_0x19ff3e={},_0x25e6e2={};if(_0x3f1c04&&_0x62444b){const _0x49191b=getCommentsV2(_0x3dc281[_0x25f79d(0x94)][_0x25f79d(0xa6)](_0x25f79d(0x9e))[_0x25f79d(0x8b)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x49191b[_0x25f79d(0x8e)]&&(_0x25e6e2[_0x25f79d(0xa9)]=_0x49191b);}if(_0x3f1c04&&_0x47bd87){const _0x77f536=_0x3dc281[_0x25f79d(0x94)][_0x25f79d(0xa6)](_0x25f79d(0xaf)),_0x2c56eb=_0x3dc281[_0x25f79d(0x94)][_0x25f79d(0xa6)](_0x25f79d(0xa0)),_0x1808c4=getSuggestionsV2(_0x77f536[_0x25f79d(0xb1)]({'toJSON':!0x0}),_0x2c56eb[_0x25f79d(0xaa)]);_0x1808c4[_0x25f79d(0x8e)]&&(_0x25e6e2[_0x25f79d(0xa3)]=_0x1808c4);}return(_0x25e6e2[_0x25f79d(0xa9)]||_0x25e6e2[_0x25f79d(0xa3)])&&(_0x19ff3e[_0x25f79d(0xa5)]=new Intl[(_0x25f79d(0x88))]()[_0x25f79d(0xb8)]()[_0x25f79d(0xb2)],_0x19ff3e[_0x25f79d(0xac)]=_0x25e6e2),_0x19ff3e;}export function getCommentsV2(_0x4f283d){const _0xc99b6d=_0x1fb4,_0x4a1048=[];if(!_0x4f283d[_0xc99b6d(0x8e)])return _0x4a1048;for(const _0x18e7c2 of _0x4f283d){const _0x105e39=_0x18e7c2[_0xc99b6d(0xbb)][_0xc99b6d(0x8d)](_0x527f49=>({'author':_0x527f49[_0xc99b6d(0x93)][_0xc99b6d(0x95)],'content':_0x527f49[_0xc99b6d(0x91)],'created_at':_0x527f49[_0xc99b6d(0xb4)]}));_0x4a1048[_0xc99b6d(0xab)]({'thread_id':_0x18e7c2['id'],'is_resolved':_0x18e7c2[_0xc99b6d(0xa2)],'comments':_0x105e39});}return _0x4a1048;}function _0x887c(){const _0x5dc64f=['users','push','collaboration_features','has','then','TrackChanges','532564KYEhOl','getSuggestions','timeZone','trim','createdAt','from','299584areFiR','8636157KFgmPL','resolvedOptions','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.','971817vKajvZ','comments','EDITOR_STYLES','3694225ugHgKY','styleSheets','DateTimeFormat','text','1881636VYvzDE','getCommentThreads','cssText','map','length',':root','cssRules','content','8Nxvumw','author','plugins','name','authorId','hasAttribute','ownerNode','warn','indexOf','keys','data-cke','3sSgItk','CommentsRepository','join','Users','all','isResolved','suggestions','.ck-content','timezone','get','fetch','5581866EEpBne','comment_threads'];_0x887c=function(){return _0x5dc64f;};return _0x887c();}export function getSuggestionsV2(_0x5ba6fd,_0xdf6281){const _0x50b88a=_0x1fb4;return _0x5ba6fd[_0x50b88a(0x8e)]&&_0xdf6281[_0x50b88a(0x8e)]?_0x5ba6fd[_0x50b88a(0x8d)](_0x290191=>({'id':_0x290191['id'],'author':_0xdf6281[_0x50b88a(0xa6)](_0x290191[_0x50b88a(0x96)])[_0x50b88a(0x95)],'created_at':_0x290191[_0x50b88a(0xb4)]})):[];}