@ckeditor/ckeditor5-export-word 42.0.2-alpha.2 → 42.0.2

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 +4 -4
  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
- (_0x444290=>{const {'zh-cn':{dictionary:_0x25ab5f,getPluralForm:_0x3d4657}}={'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':_0x5aeb5f=>0x0}};_0x444290['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x444290['zh-cn']['dictionary']=Object['assign'](_0x444290['zh-cn']['dictionary'],_0x25ab5f),_0x444290['zh-cn']['getPluralForm']=_0x3d4657;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x451cbc=>{const {'zh-cn':{dictionary:_0x2daaab,getPluralForm:_0x4e1e77}}={'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':_0x3cdbb5=>0x0}};_0x451cbc['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x451cbc['zh-cn']['dictionary']=Object['assign'](_0x451cbc['zh-cn']['dictionary'],_0x2daaab),_0x451cbc['zh-cn']['getPluralForm']=_0x4e1e77;})(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':_0x4477fb=>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':_0x158669=>0x0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x501866=>{const {zh:{dictionary:_0x163968,getPluralForm:_0x1028d8}}={'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':_0x33dbce=>0x0}};_0x501866['zh']||={'dictionary':{},'getPluralForm':null},_0x501866['zh']['dictionary']=Object['assign'](_0x501866['zh']['dictionary'],_0x163968),_0x501866['zh']['getPluralForm']=_0x1028d8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x8c064c=>{const {zh:{dictionary:_0x1bbb2d,getPluralForm:_0x470dc0}}={'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':_0x41d0b0=>0x0}};_0x8c064c['zh']||={'dictionary':{},'getPluralForm':null},_0x8c064c['zh']['dictionary']=Object['assign'](_0x8c064c['zh']['dictionary'],_0x1bbb2d),_0x8c064c['zh']['getPluralForm']=_0x470dc0;})(window['CKEDITOR_TRANSLATIONS']||={});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-export-word",
3
- "version": "42.0.2-alpha.2",
3
+ "version": "42.0.2",
4
4
  "description": "Export to Word feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -30,9 +30,9 @@
30
30
  "type": "module",
31
31
  "main": "src/index.js",
32
32
  "dependencies": {
33
- "@ckeditor/ckeditor5-core": "42.0.2-alpha.2",
34
- "@ckeditor/ckeditor5-ui": "42.0.2-alpha.2",
35
- "ckeditor5": "42.0.2-alpha.2"
33
+ "@ckeditor/ckeditor5-core": "42.0.2",
34
+ "@ckeditor/ckeditor5-ui": "42.0.2",
35
+ "ckeditor5": "42.0.2"
36
36
  },
37
37
  "license": "SEE LICENSE IN LICENSE.md",
38
38
  "author": "CKSource (https://cksource.com/)",
package/src/exportword.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd0ab72=_0x9269;(function(_0x8dcfe5,_0xeaf79d){const _0x243a3c=_0x9269,_0x569591=_0x8dcfe5();while(!![]){try{const _0x50365c=-parseInt(_0x243a3c(0x155))/0x1+parseInt(_0x243a3c(0x156))/0x2*(parseInt(_0x243a3c(0x142))/0x3)+parseInt(_0x243a3c(0x149))/0x4+parseInt(_0x243a3c(0x159))/0x5*(-parseInt(_0x243a3c(0x14d))/0x6)+parseInt(_0x243a3c(0x150))/0x7*(parseInt(_0x243a3c(0x15a))/0x8)+parseInt(_0x243a3c(0x147))/0x9*(-parseInt(_0x243a3c(0x148))/0xa)+parseInt(_0x243a3c(0x151))/0xb*(parseInt(_0x243a3c(0x15e))/0xc);if(_0x50365c===_0xeaf79d)break;else _0x569591['push'](_0x569591['shift']());}catch(_0xd93c02){_0x569591['push'](_0x569591['shift']());}}}(_0x4317,0xe3c0a));function _0x9269(_0x376215,_0x374bd2){const _0x43176c=_0x4317();return _0x9269=function(_0x926970,_0x65bef5){_0x926970=_0x926970-0x142;let _0x10358c=_0x43176c[_0x926970];return _0x10358c;},_0x9269(_0x376215,_0x374bd2);}import{Plugin as _0x3f3fd9}from'ckeditor5/src/core.js';import{Notification as _0x51f377}from'ckeditor5/src/ui.js';import _0x3072a6 from'./exportwordcommand.js';import _0x4719c9 from'./exportwordui.js';export default class s extends _0x3f3fd9{static get[_0xd0ab72(0x15d)](){const _0x638f64=_0xd0ab72;return _0x638f64(0x144);}static get[_0xd0ab72(0x15b)](){const _0x5c7d16=_0xd0ab72;return[_0x5c7d16(0x153),_0x51f377,_0x4719c9];}[_0xd0ab72(0x14f)](){const _0x46e479=_0xd0ab72,_0x195081=this[_0x46e479(0x146)],_0x5ee605=_0x195081[_0x46e479(0x14c)][_0x46e479(0x154)](_0x46e479(0x15c))||{};_0x195081[_0x46e479(0x157)][_0x46e479(0x145)](_0x46e479(0x15c),new _0x3072a6(_0x195081));const _0x124e02=_0x195081[_0x46e479(0x158)][_0x46e479(0x154)](_0x46e479(0x153));!0x1===_0x5ee605[_0x46e479(0x143)]?this[_0x46e479(0x14e)]=null:_0x5ee605[_0x46e479(0x143)]?_0x124e02[_0x46e479(0x14a)](_0x5ee605[_0x46e479(0x143)])[_0x46e479(0x14b)](_0x1799a7=>{const _0xb6fd51=_0x46e479;this[_0xb6fd51(0x14e)]=_0x1799a7;}):this[_0x46e479(0x14e)]=_0x124e02[_0x46e479(0x152)];}}function _0x4317(){const _0x4e86e4=['5bZpspC','1027496pRQahG','requires','exportWord','pluginName','1728PBnNqD','9981uMOwqP','tokenUrl','ExportWord','add','editor','10145079nfzGhV','10pRIhAo','6201252NiPASN','registerTokenUrl','then','config','9124122xNdGsk','_token','init','14KHoojG','150172TdZQYe','token','CloudServices','get','1612912xqneNb','854RTjfPh','commands','plugins'];_0x4317=function(){return _0x4e86e4;};return _0x4317();}
23
+ const _0x2a26f3=_0x5046;(function(_0x1d04e8,_0x24f7ce){const _0x4cc20f=_0x5046,_0x373724=_0x1d04e8();while(!![]){try{const _0x381452=parseInt(_0x4cc20f(0x1e2))/0x1*(parseInt(_0x4cc20f(0x1ef))/0x2)+-parseInt(_0x4cc20f(0x1e9))/0x3*(-parseInt(_0x4cc20f(0x1f0))/0x4)+parseInt(_0x4cc20f(0x1dc))/0x5+parseInt(_0x4cc20f(0x1e6))/0x6*(parseInt(_0x4cc20f(0x1ee))/0x7)+parseInt(_0x4cc20f(0x1ea))/0x8+-parseInt(_0x4cc20f(0x1eb))/0x9+-parseInt(_0x4cc20f(0x1f6))/0xa;if(_0x381452===_0x24f7ce)break;else _0x373724['push'](_0x373724['shift']());}catch(_0x9b7d13){_0x373724['push'](_0x373724['shift']());}}}(_0x3039,0x7f6ca));import{Plugin as _0x3d6255}from'ckeditor5/src/core.js';import{Notification as _0x4b7bcc}from'ckeditor5/src/ui.js';import _0x14503e from'./exportwordcommand.js';function _0x5046(_0x350910,_0x675bb9){const _0x303926=_0x3039();return _0x5046=function(_0x504696,_0x1a7c49){_0x504696=_0x504696-0x1dc;let _0x2b1f63=_0x303926[_0x504696];return _0x2b1f63;},_0x5046(_0x350910,_0x675bb9);}import _0x2981fa from'./exportwordui.js';export default class s extends _0x3d6255{static get[_0x2a26f3(0x1f1)](){const _0x24f7df=_0x2a26f3;return _0x24f7df(0x1e1);}static get[_0x2a26f3(0x1ed)](){const _0x287785=_0x2a26f3;return[_0x287785(0x1e3),_0x4b7bcc,_0x2981fa];}[_0x2a26f3(0x1f4)](){const _0x42add5=_0x2a26f3,_0x53ec6e=this[_0x42add5(0x1f5)],_0x534e20=_0x53ec6e[_0x42add5(0x1e4)][_0x42add5(0x1de)](_0x42add5(0x1e7))||{};_0x53ec6e[_0x42add5(0x1f3)][_0x42add5(0x1e5)](_0x42add5(0x1e7),new _0x14503e(_0x53ec6e));const _0x33f791=_0x53ec6e[_0x42add5(0x1dd)][_0x42add5(0x1de)](_0x42add5(0x1e3));!0x1===_0x534e20[_0x42add5(0x1f2)]?this[_0x42add5(0x1df)]=null:_0x534e20[_0x42add5(0x1f2)]?_0x33f791[_0x42add5(0x1e8)](_0x534e20[_0x42add5(0x1f2)])[_0x42add5(0x1ec)](_0x2e58fb=>{const _0x333358=_0x42add5;this[_0x333358(0x1df)]=_0x2e58fb;}):this[_0x42add5(0x1df)]=_0x33f791[_0x42add5(0x1e0)];}}function _0x3039(){const _0x35f32a=['84356baAhIh','11964eREfod','pluginName','tokenUrl','commands','init','editor','35323760DzyYXJ','3640960rtQpqd','plugins','get','_token','token','ExportWord','21BVXMKW','CloudServices','config','add','1495818uStGwW','exportWord','registerTokenUrl','801PBjGHE','7274824SmPmZZ','139347EgnuQW','then','requires','21cZAajr'];_0x3039=function(){return _0x35f32a;};return _0x3039();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x4efec4}from'ckeditor5/src/core.js';import{getStyles as _0x5a272e,getConverterOptions as _0xd27396,getConverterOptionsV2 as _0x3a3a85}from'./utils.js';export default class e extends _0x4efec4{constructor(_0x555f1c){super(_0x555f1c),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x116892={}){const _0xa7babf=this['editor'],t=_0xa7babf['t'],_0x123faf=0x2===(_0x116892['version']||0x1),_0x4e4303=_0x116892['converterUrl']||(_0x123faf?'https://docx-converter.cke-cs.com/v2/convert/html-docx':'https://docx-converter.cke-cs.com/v1/convert'),_0x4eb338=_0x116892['converterOptions']||{},_0x192f16=_0xa7babf['plugins']['get']('ExportWord'),_0x4cc4a6=_0x116892['token']||_0x192f16['_token'],_0x1303ae=!0x1!==_0x4eb338['auto_pagination'],_0xfbfdd1=_0x116892['dataCallback']||(_0x2c2c0a=>_0x2c2c0a['data']['get']({'pagination':_0x1303ae}));return this['isBusy']=!0x0,this['refresh'](),_0x5a272e(_0x116892['stylesheets']||['EDITOR_STYLES'])['then'](async _0x545bbf=>{_0xa7babf['ui']['ariaLiveAnnouncer']['announce'](t('Word\x20document\x20export\x20started'));const _0x4f07a0=await _0xfbfdd1(_0xa7babf),_0x1bc57c={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0xa7babf['locale']['contentLanguageDirection']+'\x22>'+_0x4f07a0+'</div>','css':_0x545bbf,[_0x123faf?'config':'options']:{..._0x4eb338,..._0x123faf?_0x3a3a85(_0xa7babf):_0xd27396(_0xa7babf)}},_0x52cc98={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x4cc4a6?{'Authorization':_0x4cc4a6['value']}:null},'body':JSON['stringify'](_0x1bc57c)};return window['fetch'](_0x4e4303,_0x52cc98)['then'](_0x485a28=>{if(0xc8!==_0x485a28['status'])throw _0x485a28;return _0x485a28['blob']();})['then'](_0x2f1467=>{_0xa7babf['ui']['ariaLiveAnnouncer']['announce'](t('Word\x20document\x20export\x20successful'));const _0x5c7055='function'==typeof _0x116892['fileName']?_0x116892['fileName']():_0x116892['fileName'];this['_downloadFile'](_0x2f1467,_0x5c7055||'document.docx');});})['catch'](_0x566525=>{const _0x36740a=_0xa7babf['plugins']['get']('Notification');throw _0xa7babf['ui']['ariaLiveAnnouncer']['announce'](t('Word\x20document\x20export\x20failed'),{'politeness':'assertive'}),_0x36740a['showWarning'](t('An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0x566525;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x5729ec,_0x4102e2){const _0x3b31bd=document['createElement']('a');_0x3b31bd['href']=window['URL']['createObjectURL'](_0x5729ec),_0x3b31bd['download']=_0x4102e2,_0x3b31bd['click'](),_0x3b31bd['remove']();}}
23
+ import{Command as _0x41e973}from'ckeditor5/src/core.js';import{getStyles as _0x5c3da4,getConverterOptions as _0x576102,getConverterOptionsV2 as _0x2a48e4}from'./utils.js';export default class e extends _0x41e973{constructor(_0x50c636){super(_0x50c636),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x206c4e={}){const _0x56928e=this['editor'],t=_0x56928e['t'],_0x539f8d=0x2===(_0x206c4e['version']||0x1),_0x9549e6=_0x206c4e['converterUrl']||(_0x539f8d?'https://docx-converter.cke-cs.com/v2/convert/html-docx':'https://docx-converter.cke-cs.com/v1/convert'),_0x1a8f17=_0x206c4e['converterOptions']||{},_0x8e651d=_0x56928e['plugins']['get']('ExportWord'),_0x369bbd=_0x206c4e['token']||_0x8e651d['_token'],_0x131034=!0x1!==_0x1a8f17['auto_pagination'],_0x4d54fa=_0x206c4e['dataCallback']||(_0x7ca7ed=>_0x7ca7ed['data']['get']({'pagination':_0x131034}));return this['isBusy']=!0x0,this['refresh'](),_0x5c3da4(_0x206c4e['stylesheets']||['EDITOR_STYLES'])['then'](async _0x106ecb=>{_0x56928e['ui']['ariaLiveAnnouncer']['announce'](t('Word\x20document\x20export\x20started'));const _0x3923b6=await _0x4d54fa(_0x56928e),_0x14997b={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x56928e['locale']['contentLanguageDirection']+'\x22>'+_0x3923b6+'</div>','css':_0x106ecb,[_0x539f8d?'config':'options']:{..._0x1a8f17,..._0x539f8d?_0x2a48e4(_0x56928e):_0x576102(_0x56928e)}},_0x2d03bf={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x369bbd?{'Authorization':_0x369bbd['value']}:null},'body':JSON['stringify'](_0x14997b)};return window['fetch'](_0x9549e6,_0x2d03bf)['then'](_0x555542=>{if(0xc8!==_0x555542['status'])throw _0x555542;return _0x555542['blob']();})['then'](_0x49b0d6=>{_0x56928e['ui']['ariaLiveAnnouncer']['announce'](t('Word\x20document\x20export\x20successful'));const _0x426b0a='function'==typeof _0x206c4e['fileName']?_0x206c4e['fileName']():_0x206c4e['fileName'];this['_downloadFile'](_0x49b0d6,_0x426b0a||'document.docx');});})['catch'](_0x522e0a=>{const _0x67d4fb=_0x56928e['plugins']['get']('Notification');throw _0x56928e['ui']['ariaLiveAnnouncer']['announce'](t('Word\x20document\x20export\x20failed'),{'politeness':'assertive'}),_0x67d4fb['showWarning'](t('An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0x522e0a;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x309b6d,_0x1d979c){const _0x2f9168=document['createElement']('a');_0x2f9168['href']=window['URL']['createObjectURL'](_0x309b6d),_0x2f9168['download']=_0x1d979c,_0x2f9168['click'](),_0x2f9168['remove']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x30c3f2}from'ckeditor5/src/core.js';import{ButtonView as _0x590d8b,MenuBarMenuListItemButtonView as _0x5c3f02,SpinnerView as _0x12a7b8}from'ckeditor5/src/ui.js';import _0x3b5377 from'../theme/icons/exportword.svg';export default class i extends _0x30c3f2{static get['pluginName'](){return'ExportWordUI';}['init'](){const _0x1fe04f=this['editor'];_0x1fe04f['ui']['componentFactory']['add']('exportWord',()=>{const _0x5e3c57=_0x1fe04f['commands']['get']('exportWord'),_0x55c128=this['_createButton'](_0x590d8b);return _0x55c128['set']({'tooltip':!0x0}),_0x55c128['bind']('isOn')['to'](_0x5e3c57,'isBusy'),_0x55c128;}),_0x1fe04f['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](_0x5c3f02));}['_createButton'](_0x50d372){const _0x113166=this['editor'],_0x25ec83=_0x113166['config']['get']('exportWord')||{},t=_0x113166['locale']['t'],_0x4c837d=_0x113166['commands']['get']('exportWord'),_0x43aaf0=new _0x50d372(_0x113166['locale']),_0x434fe6=new _0x12a7b8();return _0x43aaf0['children']['add'](_0x434fe6),_0x434fe6['bind']('isVisible')['to'](_0x4c837d,'isBusy'),_0x43aaf0['iconView']['bind']('isVisible')['to'](_0x4c837d,'isBusy',_0x291c88=>!_0x291c88),_0x43aaf0['set']({'icon':_0x3b5377}),_0x43aaf0['bind']('isEnabled')['to'](_0x4c837d,'isEnabled'),_0x43aaf0['bind']('label')['to'](_0x4c837d,'isBusy',_0x51eac8=>t(_0x51eac8?'Exporting\x20Word\x20document':'Export\x20to\x20Word')),this['listenTo'](_0x43aaf0,'execute',()=>{_0x113166['execute']('exportWord',_0x25ec83),_0x113166['editing']['view']['focus']();}),_0x43aaf0;}}
23
+ import{Plugin as _0x2902d3}from'ckeditor5/src/core.js';import{ButtonView as _0x4c0730,MenuBarMenuListItemButtonView as _0x4f6bf9,SpinnerView as _0x35a434}from'ckeditor5/src/ui.js';import _0x1ceaa7 from'../theme/icons/exportword.svg';export default class i extends _0x2902d3{static get['pluginName'](){return'ExportWordUI';}['init'](){const _0x394877=this['editor'];_0x394877['ui']['componentFactory']['add']('exportWord',()=>{const _0x4ac235=_0x394877['commands']['get']('exportWord'),_0x2d20fe=this['_createButton'](_0x4c0730);return _0x2d20fe['set']({'tooltip':!0x0}),_0x2d20fe['bind']('isOn')['to'](_0x4ac235,'isBusy'),_0x2d20fe;}),_0x394877['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](_0x4f6bf9));}['_createButton'](_0x1d5960){const _0x11a5b5=this['editor'],_0x34d1f8=_0x11a5b5['config']['get']('exportWord')||{},t=_0x11a5b5['locale']['t'],_0x460630=_0x11a5b5['commands']['get']('exportWord'),_0x415fe0=new _0x1d5960(_0x11a5b5['locale']),_0x51215b=new _0x35a434();return _0x415fe0['children']['add'](_0x51215b),_0x51215b['bind']('isVisible')['to'](_0x460630,'isBusy'),_0x415fe0['iconView']['bind']('isVisible')['to'](_0x460630,'isBusy',_0x362738=>!_0x362738),_0x415fe0['set']({'icon':_0x1ceaa7}),_0x415fe0['bind']('isEnabled')['to'](_0x460630,'isEnabled'),_0x415fe0['bind']('label')['to'](_0x460630,'isBusy',_0x33fdd8=>t(_0x33fdd8?'Exporting\x20Word\x20document':'Export\x20to\x20Word')),this['listenTo'](_0x415fe0,'execute',()=>{_0x11a5b5['execute']('exportWord',_0x34d1f8),_0x11a5b5['editing']['view']['focus']();}),_0x415fe0;}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x34299e,_0x40a8b3){var _0x171a63=_0x1ce9,_0x6d4512=_0x34299e();while(!![]){try{var _0x5827b3=-parseInt(_0x171a63(0x1dd))/0x1*(parseInt(_0x171a63(0x1d2))/0x2)+-parseInt(_0x171a63(0x1d9))/0x3*(-parseInt(_0x171a63(0x1d4))/0x4)+parseInt(_0x171a63(0x1d1))/0x5*(-parseInt(_0x171a63(0x1d6))/0x6)+parseInt(_0x171a63(0x1d7))/0x7*(-parseInt(_0x171a63(0x1db))/0x8)+parseInt(_0x171a63(0x1da))/0x9*(parseInt(_0x171a63(0x1d3))/0xa)+parseInt(_0x171a63(0x1d8))/0xb+parseInt(_0x171a63(0x1dc))/0xc*(parseInt(_0x171a63(0x1d5))/0xd);if(_0x5827b3===_0x40a8b3)break;else _0x6d4512['push'](_0x6d4512['shift']());}catch(_0x293270){_0x6d4512['push'](_0x6d4512['shift']());}}}(_0x2781,0xaaeb3));export{default as ExportWord}from'./exportword.js';function _0x1ce9(_0x12051b,_0x283b82){var _0x27813e=_0x2781();return _0x1ce9=function(_0x1ce905,_0x39bc94){_0x1ce905=_0x1ce905-0x1d1;var _0x38b1c9=_0x27813e[_0x1ce905];return _0x38b1c9;},_0x1ce9(_0x12051b,_0x283b82);}import'./augmentation.js';function _0x2781(){var _0x384999=['6nMciWm','2331090SVhFEx','100DuFymC','13aDfKxj','6viLieg','116543saMNNV','2434828TJQudX','141054Mqngkk','27uDiMHT','256RXdkJA','6504468wttGBr','202016XsXxxT','3996325bDBmXe'];_0x2781=function(){return _0x384999;};return _0x2781();}
23
+ (function(_0x3485c7,_0x31747c){var _0x12436b=_0x1429,_0x28a710=_0x3485c7();while(!![]){try{var _0x14104a=-parseInt(_0x12436b(0x1d7))/0x1+parseInt(_0x12436b(0x1d6))/0x2*(parseInt(_0x12436b(0x1db))/0x3)+-parseInt(_0x12436b(0x1d4))/0x4*(-parseInt(_0x12436b(0x1da))/0x5)+-parseInt(_0x12436b(0x1d8))/0x6+parseInt(_0x12436b(0x1d9))/0x7+-parseInt(_0x12436b(0x1d3))/0x8+parseInt(_0x12436b(0x1d5))/0x9;if(_0x14104a===_0x31747c)break;else _0x28a710['push'](_0x28a710['shift']());}catch(_0xef9c12){_0x28a710['push'](_0x28a710['shift']());}}}(_0x255f,0xcfb3a));export{default as ExportWord}from'./exportword.js';function _0x1429(_0x2329a5,_0x4840c8){var _0x255f67=_0x255f();return _0x1429=function(_0x1429f3,_0x1c5a59){_0x1429f3=_0x1429f3-0x1d3;var _0x4f2ce7=_0x255f67[_0x1429f3];return _0x4f2ce7;},_0x1429(_0x2329a5,_0x4840c8);}import'./augmentation.js';function _0x255f(){var _0x135143=['1758435AjXtVg','42435ftcemn','57870MJOsin','6536752tVFHEr','704nNCNBL','8229771qfLznD','48BFKCrd','1385322uIDWWC','414804yROVng'];_0x255f=function(){return _0x135143;};return _0x255f();}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x36af9b,_0x187d9b){const _0x3a5526=_0x5a10,_0x21daa7=_0x36af9b();while(!![]){try{const _0x29a405=parseInt(_0x3a5526(0x1e3))/0x1*(-parseInt(_0x3a5526(0x1c1))/0x2)+-parseInt(_0x3a5526(0x1dd))/0x3*(-parseInt(_0x3a5526(0x1e5))/0x4)+-parseInt(_0x3a5526(0x1e1))/0x5*(-parseInt(_0x3a5526(0x1ee))/0x6)+parseInt(_0x3a5526(0x1c2))/0x7*(parseInt(_0x3a5526(0x1d4))/0x8)+-parseInt(_0x3a5526(0x1cc))/0x9+parseInt(_0x3a5526(0x1f8))/0xa*(parseInt(_0x3a5526(0x1e4))/0xb)+-parseInt(_0x3a5526(0x1f0))/0xc;if(_0x29a405===_0x187d9b)break;else _0x21daa7['push'](_0x21daa7['shift']());}catch(_0x4a30fb){_0x21daa7['push'](_0x21daa7['shift']());}}}(_0x44c5,0x45674));export function getStyles(_0x5e4c2f){const _0x18c3dd=_0x5a10;if(!_0x5e4c2f)return new Promise(_0x3395b4=>_0x3395b4(''));const _0x4601ba=[];for(const _0x131701 of _0x5e4c2f)_0x18c3dd(0x1dc)!==_0x131701?_0x4601ba[_0x18c3dd(0x1ec)](window[_0x18c3dd(0x1ce)](_0x131701)[_0x18c3dd(0x1e6)](_0x5489bf=>_0x5489bf[_0x18c3dd(0x1d0)]())):_0x4601ba[_0x18c3dd(0x1ec)](f());return Promise[_0x18c3dd(0x1c7)](_0x4601ba)[_0x18c3dd(0x1e6)](_0x13dba9=>_0x13dba9[_0x18c3dd(0x1e7)]('\x20')[_0x18c3dd(0x1eb)]());}function f(){const _0x239327=_0x5a10,_0x18b935=[],_0x41e15f=[];for(const _0x6a224 of Array[_0x239327(0x1c3)](document[_0x239327(0x1cd)])){if(_0x6a224[_0x239327(0x1d5)][_0x239327(0x1c9)](_0x239327(0x1f1))){for(const _0x5376a8 of Array[_0x239327(0x1c3)](_0x6a224[_0x239327(0x1f3)]))-0x1!==_0x5376a8[_0x239327(0x1c4)][_0x239327(0x1f6)](_0x239327(0x1e9))?_0x18b935[_0x239327(0x1ec)](_0x5376a8[_0x239327(0x1c4)]):-0x1!==_0x5376a8[_0x239327(0x1c4)][_0x239327(0x1f6)](_0x239327(0x1db))&&_0x41e15f[_0x239327(0x1ec)](_0x5376a8[_0x239327(0x1c4)]);}}return _0x18b935[_0x239327(0x1ea)]||console[_0x239327(0x1d3)](_0x239327(0x1d1)),[..._0x41e15f,..._0x18b935][_0x239327(0x1e7)]('\x20')[_0x239327(0x1eb)]();}export function getConverterOptions(_0x105ee3){const _0x195fc3=_0x5a10,_0x36aacf=_0x105ee3[_0x195fc3(0x1c8)][_0x195fc3(0x1e2)](_0x195fc3(0x1f4)),_0x302ee7=_0x105ee3[_0x195fc3(0x1c8)][_0x195fc3(0x1e2)](_0x195fc3(0x1c5)),_0x3f1848=_0x105ee3[_0x195fc3(0x1c8)][_0x195fc3(0x1e2)](_0x195fc3(0x1ca)),_0x57d228={};if(_0x36aacf&&_0x302ee7){const _0x46d437=getComments(_0x105ee3[_0x195fc3(0x1c8)][_0x195fc3(0x1d2)](_0x195fc3(0x1c5))[_0x195fc3(0x1ed)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x195fc3(0x1f2)](_0x46d437)[_0x195fc3(0x1ea)]&&(_0x57d228[_0x195fc3(0x1d7)]=_0x46d437);}if(_0x36aacf&&_0x3f1848){const _0x7edc21=_0x105ee3[_0x195fc3(0x1c8)][_0x195fc3(0x1d2)](_0x195fc3(0x1ca)),_0x29b2e0=_0x105ee3[_0x195fc3(0x1c8)][_0x195fc3(0x1d2)](_0x195fc3(0x1f4)),_0x2b274e=getSuggestions(_0x7edc21[_0x195fc3(0x1da)]({'toJSON':!0x0}),_0x29b2e0[_0x195fc3(0x1d6)]);Object[_0x195fc3(0x1f2)](_0x2b274e)[_0x195fc3(0x1ea)]&&(_0x57d228[_0x195fc3(0x1cb)]=_0x2b274e);}return(_0x57d228[_0x195fc3(0x1cb)]||_0x57d228[_0x195fc3(0x1d7)])&&(_0x57d228[_0x195fc3(0x1c0)]=new Intl[(_0x195fc3(0x1f5))]()[_0x195fc3(0x1f7)]()[_0x195fc3(0x1d9)]),_0x57d228;}function _0x44c5(){const _0x5d14a6=['610skRLxH','isResolved','timezone','229202tPrnCj','475622pHHleb','from','cssText','CommentsRepository','name','all','plugins','hasAttribute','TrackChanges','suggestions','927549mYKYzk','styleSheets','fetch','map','text','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.','get','warn','32ufKGkS','ownerNode','users','comments','createdAt','timeZone','getSuggestions',':root','EDITOR_STYLES','708096oFbMiF','authorId','collaboration_features','content','10DfnWKB','has','4RLTpOA','75779wqBBQd','8ECKgXg','then','join','author','.ck-content','length','trim','push','getCommentThreads','354762tmvdHN','comment_threads','5239080iysspa','data-cke','keys','cssRules','Users','DateTimeFormat','indexOf','resolvedOptions'];_0x44c5=function(){return _0x5d14a6;};return _0x44c5();}export function getComments(_0x1174de){const _0x3c74a0=_0x5a10,_0x1c974d={};if(!_0x1174de[_0x3c74a0(0x1ea)])return _0x1c974d;for(const _0xcc1b2f of _0x1174de)_0xcc1b2f[_0x3c74a0(0x1d7)][_0x3c74a0(0x1cf)](_0x36f42e=>{const _0x36f80f=_0x3c74a0;void 0x0===_0x1c974d[_0xcc1b2f['id']]&&(_0x1c974d[_0xcc1b2f['id']]=[]),_0x1c974d[_0xcc1b2f['id']][_0x36f80f(0x1ec)]({'author':_0x36f42e[_0x36f80f(0x1e8)][_0x36f80f(0x1c6)],'content':_0x36f42e[_0x36f80f(0x1e0)],'created':_0x36f42e[_0x36f80f(0x1d8)],'is_resolved':_0xcc1b2f[_0x36f80f(0x1bf)]});});return _0x1c974d;}function _0x5a10(_0x529a35,_0x2281e9){const _0x44c5cc=_0x44c5();return _0x5a10=function(_0x5a10f9,_0x344dd1){_0x5a10f9=_0x5a10f9-0x1bf;let _0x148ad0=_0x44c5cc[_0x5a10f9];return _0x148ad0;},_0x5a10(_0x529a35,_0x2281e9);}export function getSuggestions(_0xb061b8,_0xec1040){const _0x33a710=_0x5a10,_0x49809f={};if(!_0xb061b8[_0x33a710(0x1ea)]||!_0xec1040[_0x33a710(0x1ea)])return _0x49809f;for(const _0x50396c of _0xb061b8)_0x49809f[_0x50396c['id']]={'author':_0xec1040[_0x33a710(0x1d2)](_0x50396c[_0x33a710(0x1de)])[_0x33a710(0x1c6)],'created':_0x50396c[_0x33a710(0x1d8)]};return _0x49809f;}export function getConverterOptionsV2(_0x3d68e8){const _0x32d47b=_0x5a10,_0x29ef61=_0x3d68e8[_0x32d47b(0x1c8)][_0x32d47b(0x1e2)](_0x32d47b(0x1f4)),_0x53acc1=_0x3d68e8[_0x32d47b(0x1c8)][_0x32d47b(0x1e2)](_0x32d47b(0x1c5)),_0x2c9960=_0x3d68e8[_0x32d47b(0x1c8)][_0x32d47b(0x1e2)](_0x32d47b(0x1ca)),_0x42fc18={},_0x38175d={};if(_0x29ef61&&_0x53acc1){const _0x551c48=getCommentsV2(_0x3d68e8[_0x32d47b(0x1c8)][_0x32d47b(0x1d2)](_0x32d47b(0x1c5))[_0x32d47b(0x1ed)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x551c48[_0x32d47b(0x1ea)]&&(_0x38175d[_0x32d47b(0x1ef)]=_0x551c48);}if(_0x29ef61&&_0x2c9960){const _0x9912b0=_0x3d68e8[_0x32d47b(0x1c8)][_0x32d47b(0x1d2)](_0x32d47b(0x1ca)),_0x23c465=_0x3d68e8[_0x32d47b(0x1c8)][_0x32d47b(0x1d2)](_0x32d47b(0x1f4)),_0x4183b4=getSuggestionsV2(_0x9912b0[_0x32d47b(0x1da)]({'toJSON':!0x0}),_0x23c465[_0x32d47b(0x1d6)]);_0x4183b4[_0x32d47b(0x1ea)]&&(_0x38175d[_0x32d47b(0x1cb)]=_0x4183b4);}return(_0x38175d[_0x32d47b(0x1ef)]||_0x38175d[_0x32d47b(0x1cb)])&&(_0x42fc18[_0x32d47b(0x1c0)]=new Intl[(_0x32d47b(0x1f5))]()[_0x32d47b(0x1f7)]()[_0x32d47b(0x1d9)],_0x42fc18[_0x32d47b(0x1df)]=_0x38175d),_0x42fc18;}export function getCommentsV2(_0x282388){const _0x4e0103=_0x5a10,_0x150873=[];if(!_0x282388[_0x4e0103(0x1ea)])return _0x150873;for(const _0x3c4df7 of _0x282388){const _0xa1ca00=_0x3c4df7[_0x4e0103(0x1d7)][_0x4e0103(0x1cf)](_0x6ec2c7=>({'author':_0x6ec2c7[_0x4e0103(0x1e8)][_0x4e0103(0x1c6)],'content':_0x6ec2c7[_0x4e0103(0x1e0)],'created_at':_0x6ec2c7[_0x4e0103(0x1d8)]}));_0x150873[_0x4e0103(0x1ec)]({'thread_id':_0x3c4df7['id'],'is_resolved':_0x3c4df7[_0x4e0103(0x1bf)],'comments':_0xa1ca00});}return _0x150873;}export function getSuggestionsV2(_0x2ef04b,_0x349f8f){const _0x2ece92=_0x5a10;return _0x2ef04b[_0x2ece92(0x1ea)]&&_0x349f8f[_0x2ece92(0x1ea)]?_0x2ef04b[_0x2ece92(0x1cf)](_0x314a1b=>({'id':_0x314a1b['id'],'author':_0x349f8f[_0x2ece92(0x1d2)](_0x314a1b[_0x2ece92(0x1de)])[_0x2ece92(0x1c6)],'created_at':_0x314a1b[_0x2ece92(0x1d8)]})):[];}
23
+ (function(_0xf38286,_0x579053){const _0x31f4be=_0x32bb,_0x402b84=_0xf38286();while(!![]){try{const _0xbe5a73=-parseInt(_0x31f4be(0x118))/0x1+-parseInt(_0x31f4be(0x106))/0x2+parseInt(_0x31f4be(0xf6))/0x3*(-parseInt(_0x31f4be(0x121))/0x4)+-parseInt(_0x31f4be(0x11a))/0x5*(parseInt(_0x31f4be(0x129))/0x6)+-parseInt(_0x31f4be(0x120))/0x7*(parseInt(_0x31f4be(0x10b))/0x8)+parseInt(_0x31f4be(0x12c))/0x9+-parseInt(_0x31f4be(0x127))/0xa*(-parseInt(_0x31f4be(0x109))/0xb);if(_0xbe5a73===_0x579053)break;else _0x402b84['push'](_0x402b84['shift']());}catch(_0x5e94b5){_0x402b84['push'](_0x402b84['shift']());}}}(_0x47b2,0xd331f));export function getStyles(_0x7c91ba){const _0x38415b=_0x32bb;if(!_0x7c91ba)return new Promise(_0x43aace=>_0x43aace(''));const _0x504374=[];for(const _0x200ca9 of _0x7c91ba)_0x38415b(0x128)!==_0x200ca9?_0x504374[_0x38415b(0x12b)](window[_0x38415b(0x104)](_0x200ca9)[_0x38415b(0x100)](_0x21e723=>_0x21e723[_0x38415b(0xfb)]())):_0x504374[_0x38415b(0x12b)](f());return Promise[_0x38415b(0x11c)](_0x504374)[_0x38415b(0x100)](_0x1b4c84=>_0x1b4c84[_0x38415b(0x11b)]('\x20')[_0x38415b(0x10e)]());}function f(){const _0xf95d99=_0x32bb,_0xf7c985=[],_0x5d1ae9=[];for(const _0x4ad9b9 of Array[_0xf95d99(0x116)](document[_0xf95d99(0x10d)])){if(_0x4ad9b9[_0xf95d99(0x107)][_0xf95d99(0x10c)](_0xf95d99(0xf7))){for(const _0x36fec1 of Array[_0xf95d99(0x116)](_0x4ad9b9[_0xf95d99(0x122)]))-0x1!==_0x36fec1[_0xf95d99(0xfa)][_0xf95d99(0x110)](_0xf95d99(0xfc))?_0xf7c985[_0xf95d99(0x12b)](_0x36fec1[_0xf95d99(0xfa)]):-0x1!==_0x36fec1[_0xf95d99(0xfa)][_0xf95d99(0x110)](_0xf95d99(0xf4))&&_0x5d1ae9[_0xf95d99(0x12b)](_0x36fec1[_0xf95d99(0xfa)]);}}return _0xf7c985[_0xf95d99(0x10a)]||console[_0xf95d99(0x11e)](_0xf95d99(0x10f)),[..._0x5d1ae9,..._0xf7c985][_0xf95d99(0x11b)]('\x20')[_0xf95d99(0x10e)]();}export function getConverterOptions(_0x1e6f60){const _0x2cd927=_0x32bb,_0x5ecb0f=_0x1e6f60[_0x2cd927(0xff)][_0x2cd927(0xfe)](_0x2cd927(0x11d)),_0x52e2c9=_0x1e6f60[_0x2cd927(0xff)][_0x2cd927(0xfe)](_0x2cd927(0xf8)),_0x1d4039=_0x1e6f60[_0x2cd927(0xff)][_0x2cd927(0xfe)](_0x2cd927(0x12a)),_0x56e9c8={};if(_0x5ecb0f&&_0x52e2c9){const _0x18eaa2=getComments(_0x1e6f60[_0x2cd927(0xff)][_0x2cd927(0x124)](_0x2cd927(0xf8))[_0x2cd927(0x101)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x2cd927(0x112)](_0x18eaa2)[_0x2cd927(0x10a)]&&(_0x56e9c8[_0x2cd927(0x114)]=_0x18eaa2);}if(_0x5ecb0f&&_0x1d4039){const _0xfe2105=_0x1e6f60[_0x2cd927(0xff)][_0x2cd927(0x124)](_0x2cd927(0x12a)),_0x56fdf4=_0x1e6f60[_0x2cd927(0xff)][_0x2cd927(0x124)](_0x2cd927(0x11d)),_0x4c5a94=getSuggestions(_0xfe2105[_0x2cd927(0xf9)]({'toJSON':!0x0}),_0x56fdf4[_0x2cd927(0x108)]);Object[_0x2cd927(0x112)](_0x4c5a94)[_0x2cd927(0x10a)]&&(_0x56e9c8[_0x2cd927(0x115)]=_0x4c5a94);}return(_0x56e9c8[_0x2cd927(0x115)]||_0x56e9c8[_0x2cd927(0x114)])&&(_0x56e9c8[_0x2cd927(0x102)]=new Intl[(_0x2cd927(0x119))]()[_0x2cd927(0x123)]()[_0x2cd927(0x103)]),_0x56e9c8;}function _0x47b2(){const _0x2c8790=['15152bJzkEp','ownerNode','users','11mHudeB','length','8MmxidS','hasAttribute','styleSheets','trim','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.','indexOf','authorId','keys','isResolved','comments','suggestions','from','createdAt','31168qZnSzO','DateTimeFormat','618265nUFtvr','join','all','Users','warn','map','1213058qZSGIo','4rKxYJA','cssRules','resolvedOptions','get','comment_threads','collaboration_features','12545430SLQZAe','EDITOR_STYLES','30yzeocL','TrackChanges','push','11560257HNcepS',':root','content','2530974GZLIVx','data-cke','CommentsRepository','getSuggestions','cssText','text','.ck-content','name','has','plugins','then','getCommentThreads','timezone','timeZone','fetch','author'];_0x47b2=function(){return _0x2c8790;};return _0x47b2();}export function getComments(_0x1b94e0){const _0x1ec229=_0x32bb,_0x383388={};if(!_0x1b94e0[_0x1ec229(0x10a)])return _0x383388;for(const _0x1e50e2 of _0x1b94e0)_0x1e50e2[_0x1ec229(0x114)][_0x1ec229(0x11f)](_0xca7d00=>{const _0x4934b1=_0x1ec229;void 0x0===_0x383388[_0x1e50e2['id']]&&(_0x383388[_0x1e50e2['id']]=[]),_0x383388[_0x1e50e2['id']][_0x4934b1(0x12b)]({'author':_0xca7d00[_0x4934b1(0x105)][_0x4934b1(0xfd)],'content':_0xca7d00[_0x4934b1(0xf5)],'created':_0xca7d00[_0x4934b1(0x117)],'is_resolved':_0x1e50e2[_0x4934b1(0x113)]});});return _0x383388;}export function getSuggestions(_0x24fea5,_0x5b2889){const _0x4bdf2d=_0x32bb,_0x14a78={};if(!_0x24fea5[_0x4bdf2d(0x10a)]||!_0x5b2889[_0x4bdf2d(0x10a)])return _0x14a78;for(const _0x2b3f8b of _0x24fea5)_0x14a78[_0x2b3f8b['id']]={'author':_0x5b2889[_0x4bdf2d(0x124)](_0x2b3f8b[_0x4bdf2d(0x111)])[_0x4bdf2d(0xfd)],'created':_0x2b3f8b[_0x4bdf2d(0x117)]};return _0x14a78;}function _0x32bb(_0x3152f6,_0x5eeeba){const _0x47b22a=_0x47b2();return _0x32bb=function(_0x32bbf4,_0x514408){_0x32bbf4=_0x32bbf4-0xf4;let _0x1f21a8=_0x47b22a[_0x32bbf4];return _0x1f21a8;},_0x32bb(_0x3152f6,_0x5eeeba);}export function getConverterOptionsV2(_0x5c42b8){const _0x3db607=_0x32bb,_0x7ffd86=_0x5c42b8[_0x3db607(0xff)][_0x3db607(0xfe)](_0x3db607(0x11d)),_0x4f19e0=_0x5c42b8[_0x3db607(0xff)][_0x3db607(0xfe)](_0x3db607(0xf8)),_0x2adb05=_0x5c42b8[_0x3db607(0xff)][_0x3db607(0xfe)](_0x3db607(0x12a)),_0x1b8ff5={},_0x535083={};if(_0x7ffd86&&_0x4f19e0){const _0x3e742f=getCommentsV2(_0x5c42b8[_0x3db607(0xff)][_0x3db607(0x124)](_0x3db607(0xf8))[_0x3db607(0x101)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x3e742f[_0x3db607(0x10a)]&&(_0x535083[_0x3db607(0x125)]=_0x3e742f);}if(_0x7ffd86&&_0x2adb05){const _0x50e6e4=_0x5c42b8[_0x3db607(0xff)][_0x3db607(0x124)](_0x3db607(0x12a)),_0x10c5bf=_0x5c42b8[_0x3db607(0xff)][_0x3db607(0x124)](_0x3db607(0x11d)),_0x1f7bae=getSuggestionsV2(_0x50e6e4[_0x3db607(0xf9)]({'toJSON':!0x0}),_0x10c5bf[_0x3db607(0x108)]);_0x1f7bae[_0x3db607(0x10a)]&&(_0x535083[_0x3db607(0x115)]=_0x1f7bae);}return(_0x535083[_0x3db607(0x125)]||_0x535083[_0x3db607(0x115)])&&(_0x1b8ff5[_0x3db607(0x102)]=new Intl[(_0x3db607(0x119))]()[_0x3db607(0x123)]()[_0x3db607(0x103)],_0x1b8ff5[_0x3db607(0x126)]=_0x535083),_0x1b8ff5;}export function getCommentsV2(_0x1cbc93){const _0x51fdf9=_0x32bb,_0x135f09=[];if(!_0x1cbc93[_0x51fdf9(0x10a)])return _0x135f09;for(const _0x486455 of _0x1cbc93){const _0xb811f=_0x486455[_0x51fdf9(0x114)][_0x51fdf9(0x11f)](_0x4cb496=>({'author':_0x4cb496[_0x51fdf9(0x105)][_0x51fdf9(0xfd)],'content':_0x4cb496[_0x51fdf9(0xf5)],'created_at':_0x4cb496[_0x51fdf9(0x117)]}));_0x135f09[_0x51fdf9(0x12b)]({'thread_id':_0x486455['id'],'is_resolved':_0x486455[_0x51fdf9(0x113)],'comments':_0xb811f});}return _0x135f09;}export function getSuggestionsV2(_0x57f90,_0x1c6608){const _0x1c1099=_0x32bb;return _0x57f90[_0x1c1099(0x10a)]&&_0x1c6608[_0x1c1099(0x10a)]?_0x57f90[_0x1c1099(0x11f)](_0x395f57=>({'id':_0x395f57['id'],'author':_0x1c6608[_0x1c1099(0x124)](_0x395f57[_0x1c1099(0x111)])[_0x1c1099(0xfd)],'created_at':_0x395f57[_0x1c1099(0x117)]})):[];}