@ckeditor/ckeditor5-export-word 47.2.0-alpha.1 → 47.2.0-alpha.3

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 (155) hide show
  1. package/build/export-word.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +11 -11
  150. package/src/exportword.js +1 -1
  151. package/src/exportwordcommand.js +1 -1
  152. package/src/exportwordui.js +1 -1
  153. package/src/index.js +1 -1
  154. package/src/utils/common-translations.js +1 -1
  155. package/src/utils.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-export-word",
3
- "version": "47.2.0-alpha.1",
3
+ "version": "47.2.0-alpha.3",
4
4
  "description": "Export to Word feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -30,16 +30,16 @@
30
30
  "type": "module",
31
31
  "main": "src/index.js",
32
32
  "dependencies": {
33
- "@ckeditor/ckeditor5-cloud-services": "47.2.0-alpha.1",
34
- "@ckeditor/ckeditor5-collaboration-core": "47.2.0-alpha.1",
35
- "@ckeditor/ckeditor5-comments": "47.2.0-alpha.1",
36
- "@ckeditor/ckeditor5-core": "47.2.0-alpha.1",
37
- "@ckeditor/ckeditor5-icons": "47.2.0-alpha.1",
38
- "@ckeditor/ckeditor5-merge-fields": "47.2.0-alpha.1",
39
- "@ckeditor/ckeditor5-track-changes": "47.2.0-alpha.1",
40
- "@ckeditor/ckeditor5-utils": "47.2.0-alpha.1",
41
- "@ckeditor/ckeditor5-ui": "47.2.0-alpha.1",
42
- "ckeditor5": "47.2.0-alpha.1"
33
+ "@ckeditor/ckeditor5-cloud-services": "47.2.0-alpha.3",
34
+ "@ckeditor/ckeditor5-collaboration-core": "47.2.0-alpha.3",
35
+ "@ckeditor/ckeditor5-comments": "47.2.0-alpha.3",
36
+ "@ckeditor/ckeditor5-core": "47.2.0-alpha.3",
37
+ "@ckeditor/ckeditor5-icons": "47.2.0-alpha.3",
38
+ "@ckeditor/ckeditor5-merge-fields": "47.2.0-alpha.3",
39
+ "@ckeditor/ckeditor5-track-changes": "47.2.0-alpha.3",
40
+ "@ckeditor/ckeditor5-utils": "47.2.0-alpha.3",
41
+ "@ckeditor/ckeditor5-ui": "47.2.0-alpha.3",
42
+ "ckeditor5": "47.2.0-alpha.3"
43
43
  },
44
44
  "license": "SEE LICENSE IN LICENSE.md",
45
45
  "author": "CKSource (https://cksource.com/)",
package/src/exportword.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14e0d2=_0x485f;(function(_0xf006ae,_0x440357){const _0x3e3ce2=_0x485f,_0x5864d8=_0xf006ae();while(!![]){try{const _0x50547c=-parseInt(_0x3e3ce2(0x1f5))/0x1*(-parseInt(_0x3e3ce2(0x1ef))/0x2)+parseInt(_0x3e3ce2(0x1e7))/0x3+parseInt(_0x3e3ce2(0x1f2))/0x4+-parseInt(_0x3e3ce2(0x1e2))/0x5*(-parseInt(_0x3e3ce2(0x1f8))/0x6)+parseInt(_0x3e3ce2(0x1dd))/0x7*(-parseInt(_0x3e3ce2(0x1e6))/0x8)+parseInt(_0x3e3ce2(0x1de))/0x9*(-parseInt(_0x3e3ce2(0x1ec))/0xa)+-parseInt(_0x3e3ce2(0x1f1))/0xb;if(_0x50547c===_0x440357)break;else _0x5864d8['push'](_0x5864d8['shift']());}catch(_0x54f50d){_0x5864d8['push'](_0x5864d8['shift']());}}}(_0x1c92,0xde031));import{Plugin as _0x4e9652}from'ckeditor5/src/core.js';import{Notification as _0x334916}from'ckeditor5/src/ui.js';import{ExportWordCommand as _0x4c6a85}from'./exportwordcommand.js';function _0x485f(_0x23d2dc,_0x54e9f8){const _0x1c9296=_0x1c92();return _0x485f=function(_0x485f0b,_0x3f4d40){_0x485f0b=_0x485f0b-0x1dc;let _0x391bd9=_0x1c9296[_0x485f0b];return _0x391bd9;},_0x485f(_0x23d2dc,_0x54e9f8);}import{ExportWordUI as _0x5d5fdc}from'./exportwordui.js';export class ExportWord extends _0x4e9652{[_0x14e0d2(0x1dc)];static get[_0x14e0d2(0x1f9)](){const _0x290934=_0x14e0d2;return _0x290934(0x1e1);}static get[_0x14e0d2(0x1e5)](){return!0x0;}static get[_0x14e0d2(0x1f4)](){return!0x0;}static get[_0x14e0d2(0x1e4)](){const _0x4641f2=_0x14e0d2;return[_0x4641f2(0x1eb),_0x334916,_0x5d5fdc];}[_0x14e0d2(0x1df)](){const _0x490a42=_0x14e0d2,_0x165fab=this[_0x490a42(0x1f7)],_0x53c547=_0x165fab[_0x490a42(0x1ed)][_0x490a42(0x1e8)](_0x490a42(0x1e0))||{};_0x165fab[_0x490a42(0x1f3)][_0x490a42(0x1f6)](_0x490a42(0x1e0),new _0x4c6a85(_0x165fab));const _0x1bfe8d=_0x165fab[_0x490a42(0x1e3)][_0x490a42(0x1e8)](_0x490a42(0x1eb));!0x1===_0x53c547[_0x490a42(0x1ea)]?this[_0x490a42(0x1dc)]=null:_0x53c547[_0x490a42(0x1ea)]?_0x1bfe8d[_0x490a42(0x1ee)](_0x53c547[_0x490a42(0x1ea)])[_0x490a42(0x1f0)](_0x764076=>{const _0x2af22c=_0x490a42;this[_0x2af22c(0x1dc)]=_0x764076;}):this[_0x490a42(0x1dc)]=_0x1bfe8d[_0x490a42(0x1e9)];}}function _0x1c92(){const _0x14f4f3=['add','editor','9967194ljdrpl','pluginName','_token','4677316OHwoBQ','9CPDxaE','init','exportWord','ExportWord','5DQFzOp','plugins','requires','isOfficialPlugin','16wVaZtg','1859067ArLAbh','get','token','tokenUrl','CloudServices','7507810UiOOSB','config','registerTokenUrl','306wxFXGh','then','13630441UISfEN','6910836PmDSJo','commands','isPremiumPlugin','1484LiNYnS'];_0x1c92=function(){return _0x14f4f3;};return _0x1c92();}
23
+ const _0x16fbd6=_0x52fb;function _0x313d(){const _0x147719=['124918rXMDKO','add','plugins','editor','185ZqDBPM','get','exportWord','2033505bEtMGp','11991301RNzHmd','config','isPremiumPlugin','2IMDwDv','10067280TVPnVY','CloudServices','registerTokenUrl','init','_token','ExportWord','then','tokenUrl','11985460QqHvWO','token','8111673FbmlDB','143972qaFBts','commands','requires','pluginName','isOfficialPlugin','8yGCZLQ'];_0x313d=function(){return _0x147719;};return _0x313d();}(function(_0x1fd5ac,_0xee995b){const _0x545f6e=_0x52fb,_0x214d10=_0x1fd5ac();while(!![]){try{const _0x4a62ca=parseInt(_0x545f6e(0x180))/0x1*(-parseInt(_0x545f6e(0x16e))/0x2)+-parseInt(_0x545f6e(0x16a))/0x3+parseInt(_0x545f6e(0x17a))/0x4*(-parseInt(_0x545f6e(0x184))/0x5)+parseInt(_0x545f6e(0x16f))/0x6+-parseInt(_0x545f6e(0x16b))/0x7*(-parseInt(_0x545f6e(0x17f))/0x8)+parseInt(_0x545f6e(0x179))/0x9+-parseInt(_0x545f6e(0x177))/0xa;if(_0x4a62ca===_0xee995b)break;else _0x214d10['push'](_0x214d10['shift']());}catch(_0x469505){_0x214d10['push'](_0x214d10['shift']());}}}(_0x313d,0xea2cc));import{Plugin as _0x3f11af}from'ckeditor5/src/core.js';import{Notification as _0x1733b4}from'ckeditor5/src/ui.js';import{ExportWordCommand as _0x12e8f9}from'./exportwordcommand.js';function _0x52fb(_0x9fd441,_0x559c6b){const _0x313d19=_0x313d();return _0x52fb=function(_0x52fbcf,_0xdbed1a){_0x52fbcf=_0x52fbcf-0x16a;let _0x234e38=_0x313d19[_0x52fbcf];return _0x234e38;},_0x52fb(_0x9fd441,_0x559c6b);}import{ExportWordUI as _0x42becb}from'./exportwordui.js';export class ExportWord extends _0x3f11af{[_0x16fbd6(0x173)];static get[_0x16fbd6(0x17d)](){const _0x573b84=_0x16fbd6;return _0x573b84(0x174);}static get[_0x16fbd6(0x17e)](){return!0x0;}static get[_0x16fbd6(0x16d)](){return!0x0;}static get[_0x16fbd6(0x17c)](){const _0x10f565=_0x16fbd6;return[_0x10f565(0x170),_0x1733b4,_0x42becb];}[_0x16fbd6(0x172)](){const _0xffbe40=_0x16fbd6,_0x5b8063=this[_0xffbe40(0x183)],_0x572e81=_0x5b8063[_0xffbe40(0x16c)][_0xffbe40(0x185)](_0xffbe40(0x186))||{};_0x5b8063[_0xffbe40(0x17b)][_0xffbe40(0x181)](_0xffbe40(0x186),new _0x12e8f9(_0x5b8063));const _0x2d98d1=_0x5b8063[_0xffbe40(0x182)][_0xffbe40(0x185)](_0xffbe40(0x170));!0x1===_0x572e81[_0xffbe40(0x176)]?this[_0xffbe40(0x173)]=null:_0x572e81[_0xffbe40(0x176)]?_0x2d98d1[_0xffbe40(0x171)](_0x572e81[_0xffbe40(0x176)])[_0xffbe40(0x175)](_0x27bf21=>{const _0x5b7eca=_0xffbe40;this[_0x5b7eca(0x173)]=_0x27bf21;}):this[_0xffbe40(0x173)]=_0x2d98d1[_0xffbe40(0x178)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x340b(){const _0x3e7d09=['pending','execute','margin_bottom','header','https://docx-converter.cke-cs.com/v2/convert/html-docx','auto_pagination','POST','dataCallback','plugins','28PAjaLP','showWarning','URL','57112qklDZG','then','announce','status','href','ExportWord','EDITOR_STYLES','refresh','data','token','version','Word\x20document\x20export\x20started','application/json','contentLanguageDirection','options','350sVErAI','set','88966fnDwor','locale','isBusy','isEnabled','1046934hisZRN','suggestions','affectsData','footer','403128wcWPzx','<div\x20class=\x22ck-content\x22\x20dir=\x22','https://docx-converter.cke-cs.com/v1/convert','converterOptions','document.docx','createObjectURL','application/docx','margin_left','get','ariaLiveAnnouncer','blob','config','click','value','assertive','editor','fileName','export-word-v1-api-is-deprecated','margin_top','remove','finally','1424709UDXiRl','Word\x20document\x20export\x20failed','orientation','_downloadFile','Word\x20document\x20export\x20successful','margin_right','converterUrl','Notification','stringify','createElement','</div>','6737892hLUQnq','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','format','function','comments','stylesheets','fetch','18fTcdvD','download','4608320JujVkG','_token','catch'];_0x340b=function(){return _0x3e7d09;};return _0x340b();}const _0x451082=_0x55c7;(function(_0x57b98f,_0x4a0487){const _0x546211=_0x55c7,_0x59e630=_0x57b98f();while(!![]){try{const _0x441b4f=parseInt(_0x546211(0x205))/0x1*(-parseInt(_0x546211(0x1f1))/0x2)+-parseInt(_0x546211(0x222))/0x3+-parseInt(_0x546211(0x1f4))/0x4*(-parseInt(_0x546211(0x203))/0x5)+parseInt(_0x546211(0x1dc))/0x6+parseInt(_0x546211(0x209))/0x7+parseInt(_0x546211(0x20d))/0x8*(-parseInt(_0x546211(0x1e3))/0x9)+parseInt(_0x546211(0x1e5))/0xa;if(_0x441b4f===_0x4a0487)break;else _0x59e630['push'](_0x59e630['shift']());}catch(_0x4f4370){_0x59e630['push'](_0x59e630['shift']());}}}(_0x340b,0xde90b));import{Command as _0x46f5b7}from'ckeditor5/src/core.js';import{logWarning as _0x2aec8d,collectStylesheets as _0x1e5557}from'ckeditor5/src/utils.js';import{getConverterOptions as _0x43852a,getConverterOptionsV2 as _0x2f8890}from'./utils.js';import{getTranslation as _0x1fd588}from'./utils/common-translations.js';const p=[_0x451082(0x224),_0x451082(0x21f),_0x451082(0x227),_0x451082(0x1ea),_0x451082(0x214),_0x451082(0x1de),_0x451082(0x1eb),_0x451082(0x20c),_0x451082(0x1e0),_0x451082(0x20a)];function _0x55c7(_0x313b4c,_0x370cd2){const _0x340bf9=_0x340b();return _0x55c7=function(_0x55c7c2,_0x25d889){_0x55c7c2=_0x55c7c2-0x1d9;let _0x43e72e=_0x340bf9[_0x55c7c2];return _0x43e72e;},_0x55c7(_0x313b4c,_0x370cd2);}export class ExportWordCommand extends _0x46f5b7{constructor(_0x2689f1){const _0x3ae6ff=_0x451082;super(_0x2689f1),this[_0x3ae6ff(0x204)](_0x3ae6ff(0x207),!0x1),this[_0x3ae6ff(0x20b)]=!0x1;}[_0x451082(0x1fb)](){const _0x593450=_0x451082;this[_0x593450(0x208)]=!this[_0x593450(0x207)],this[_0x593450(0x21a)]=this[_0x593450(0x207)]?_0x593450(0x1e8):void 0x0;}[_0x451082(0x1e9)](_0x42a347={}){const _0x103f3b=_0x451082,_0x2a6c5e=this[_0x103f3b(0x21c)],_0x1aded3=_0x42a347[_0x103f3b(0x1fe)]||0x2,_0xcf8a0b=0x1===_0x1aded3,_0x26faba=_0x42a347[_0x103f3b(0x228)]||(_0xcf8a0b?_0x103f3b(0x20f):_0x103f3b(0x1ec)),_0x2d4600=_0x42a347[_0x103f3b(0x210)]||{},_0x37bea0=_0x2a6c5e[_0x103f3b(0x1f0)][_0x103f3b(0x215)](_0x103f3b(0x1f9)),_0x1b50a0=_0x42a347[_0x103f3b(0x1fd)]||_0x37bea0[_0x103f3b(0x1e6)],_0x154bc1=!0x0===_0x2d4600[_0x103f3b(0x1ed)],_0x195b10=_0x42a347[_0x103f3b(0x1ef)]||(_0x174c66=>_0x174c66[_0x103f3b(0x1fc)][_0x103f3b(0x215)]({'pagination':_0x154bc1}));return 0x2===_0x1aded3&&function(_0x4ea73b){for(const _0x7f3dfa of p)if(void 0x0!==_0x4ea73b[_0x7f3dfa])return!0x0;return!0x1;}(_0x2d4600)&&_0x2aec8d(_0x103f3b(0x21e)),this[_0x103f3b(0x207)]=!0x0,this[_0x103f3b(0x1fb)](),_0x1e5557(_0x42a347[_0x103f3b(0x1e1)]||[_0x103f3b(0x1fa)])[_0x103f3b(0x1f5)](async _0x11efa4=>{const _0x41b368=_0x103f3b;_0x2a6c5e['ui'][_0x41b368(0x216)][_0x41b368(0x1f6)](_0x1fd588(_0x2a6c5e[_0x41b368(0x206)],_0x41b368(0x1ff)));const _0x111135=await _0x195b10(_0x2a6c5e),_0x201610={'html':_0x41b368(0x20e)+_0x2a6c5e[_0x41b368(0x206)][_0x41b368(0x201)]+'\x22>'+_0x111135+_0x41b368(0x1db),'css':_0x11efa4,[_0xcf8a0b?_0x41b368(0x202):_0x41b368(0x218)]:{..._0x2d4600,..._0xcf8a0b?_0x43852a(_0x2a6c5e,_0x2d4600):_0x2f8890(_0x2a6c5e,_0x2d4600)}},_0x2a080e={'method':_0x41b368(0x1ee),'headers':{'Content-Type':_0x41b368(0x200),'Accept':_0x41b368(0x213),..._0x1b50a0?{'Authorization':_0x1b50a0[_0x41b368(0x21a)]}:null},'body':JSON[_0x41b368(0x1d9)](_0x201610)};return window[_0x41b368(0x1e2)](_0x26faba,_0x2a080e)[_0x41b368(0x1f5)](_0x548218=>{const _0x535623=_0x41b368;if(0xc8!==_0x548218[_0x535623(0x1f7)])throw _0x548218;return _0x548218[_0x535623(0x217)]();})[_0x41b368(0x1f5)](_0x30f79d=>{const _0x548b19=_0x41b368;_0x2a6c5e['ui'][_0x548b19(0x216)][_0x548b19(0x1f6)](_0x1fd588(_0x2a6c5e[_0x548b19(0x206)],_0x548b19(0x226)));const _0x8a6731=_0x548b19(0x1df)==typeof _0x42a347[_0x548b19(0x21d)]?_0x42a347[_0x548b19(0x21d)]():_0x42a347[_0x548b19(0x21d)];this[_0x548b19(0x225)](_0x30f79d,_0x8a6731||_0x548b19(0x211));});})[_0x103f3b(0x1e7)](_0x1f8f62=>{const _0x129afc=_0x103f3b,_0x34454a=_0x2a6c5e[_0x129afc(0x1f0)][_0x129afc(0x215)](_0x129afc(0x229));throw _0x2a6c5e['ui'][_0x129afc(0x216)][_0x129afc(0x1f6)](_0x1fd588(_0x2a6c5e[_0x129afc(0x206)],_0x129afc(0x223)),{'politeness':_0x129afc(0x21b)}),_0x34454a[_0x129afc(0x1f2)](_0x1fd588(_0x2a6c5e[_0x129afc(0x206)],_0x129afc(0x1dd))),_0x1f8f62;})[_0x103f3b(0x221)](()=>{const _0x1bc07a=_0x103f3b;this[_0x1bc07a(0x207)]=!0x1,this[_0x1bc07a(0x1fb)]();});}[_0x451082(0x225)](_0x2960b2,_0xb90745){const _0x1a1bec=_0x451082,_0x34a439=document[_0x1a1bec(0x1da)]('a');_0x34a439[_0x1a1bec(0x1f8)]=window[_0x1a1bec(0x1f3)][_0x1a1bec(0x212)](_0x2960b2),_0x34a439[_0x1a1bec(0x1e4)]=_0xb90745,_0x34a439[_0x1a1bec(0x219)](),_0x34a439[_0x1a1bec(0x220)]();}}
23
+ function _0x1579(_0x4fed31,_0x4f1c4f){const _0x131beb=_0x131b();return _0x1579=function(_0x157995,_0x5a3339){_0x157995=_0x157995-0x183;let _0x4c0e98=_0x131beb[_0x157995];return _0x4c0e98;},_0x1579(_0x4fed31,_0x4f1c4f);}const _0x50a81d=_0x1579;(function(_0x4d6b6e,_0x4c2afe){const _0x26f4b0=_0x1579,_0x4af50a=_0x4d6b6e();while(!![]){try{const _0x4b0b09=-parseInt(_0x26f4b0(0x18b))/0x1+-parseInt(_0x26f4b0(0x1ca))/0x2+parseInt(_0x26f4b0(0x19c))/0x3+-parseInt(_0x26f4b0(0x1c0))/0x4*(parseInt(_0x26f4b0(0x1c1))/0x5)+-parseInt(_0x26f4b0(0x1ab))/0x6+parseInt(_0x26f4b0(0x1c3))/0x7+parseInt(_0x26f4b0(0x1a2))/0x8;if(_0x4b0b09===_0x4c2afe)break;else _0x4af50a['push'](_0x4af50a['shift']());}catch(_0x513b0e){_0x4af50a['push'](_0x4af50a['shift']());}}}(_0x131b,0x5ffca));import{Command as _0x2333dc}from'ckeditor5/src/core.js';import{logWarning as _0x507863,collectStylesheets as _0x18640c}from'ckeditor5/src/utils.js';import{getConverterOptions as _0x18e8c8,getConverterOptionsV2 as _0x7386eb}from'./utils.js';import{getTranslation as _0x21a988}from'./utils/common-translations.js';const p=[_0x50a81d(0x1bc),_0x50a81d(0x197),_0x50a81d(0x1cc),_0x50a81d(0x1b6),_0x50a81d(0x19d),_0x50a81d(0x18a),_0x50a81d(0x1a7),_0x50a81d(0x1a1),_0x50a81d(0x1be),_0x50a81d(0x1a8)];export class ExportWordCommand extends _0x2333dc{constructor(_0x2bfeae){const _0x33bbd6=_0x50a81d;super(_0x2bfeae),this[_0x33bbd6(0x183)](_0x33bbd6(0x1cf),!0x1),this[_0x33bbd6(0x1bb)]=!0x1;}[_0x50a81d(0x193)](){const _0x55e3cb=_0x50a81d;this[_0x55e3cb(0x1c2)]=!this[_0x55e3cb(0x1cf)],this[_0x55e3cb(0x188)]=this[_0x55e3cb(0x1cf)]?_0x55e3cb(0x187):void 0x0;}[_0x50a81d(0x194)](_0x427ebc={}){const _0x289049=_0x50a81d,_0x504584=this[_0x289049(0x1c4)],_0x91e526=_0x427ebc[_0x289049(0x1af)]||0x2,_0x14a754=0x1===_0x91e526,_0xce1f21=_0x427ebc[_0x289049(0x198)]||(_0x14a754?_0x289049(0x195):_0x289049(0x1a3)),_0x592a6f=_0x427ebc[_0x289049(0x1a9)]||{},_0x436317=_0x504584[_0x289049(0x19f)][_0x289049(0x1c6)](_0x289049(0x1c5)),_0x163f8f=_0x427ebc[_0x289049(0x199)]||_0x436317[_0x289049(0x196)],_0x15adfe=!0x0===_0x592a6f[_0x289049(0x191)],_0x59fa2e=_0x427ebc[_0x289049(0x18f)]||(_0x212782=>_0x212782[_0x289049(0x1b2)][_0x289049(0x1c6)]({'pagination':_0x15adfe}));return 0x2===_0x91e526&&function(_0x161e42){for(const _0xe594b3 of p)if(void 0x0!==_0x161e42[_0xe594b3])return!0x0;return!0x1;}(_0x592a6f)&&_0x507863(_0x289049(0x1ba)),this[_0x289049(0x1cf)]=!0x0,this[_0x289049(0x193)](),_0x18640c(_0x427ebc[_0x289049(0x1b4)]||[_0x289049(0x1aa)])[_0x289049(0x1c8)](async _0x2177ad=>{const _0x122af9=_0x289049;_0x504584['ui'][_0x122af9(0x1ae)][_0x122af9(0x1c9)](_0x21a988(_0x504584[_0x122af9(0x1cd)],_0x122af9(0x1ad)));const _0x4f1b56=await _0x59fa2e(_0x504584),_0xa6026f={'html':_0x122af9(0x189)+_0x504584[_0x122af9(0x1cd)][_0x122af9(0x19b)]+'\x22>'+_0x4f1b56+_0x122af9(0x1cb),'css':_0x2177ad,[_0x14a754?_0x122af9(0x1ac):_0x122af9(0x186)]:{..._0x592a6f,..._0x14a754?_0x18e8c8(_0x504584,_0x592a6f):_0x7386eb(_0x504584,_0x592a6f)}},_0x23ade4={'method':_0x122af9(0x1bd),'headers':{'Content-Type':_0x122af9(0x1b8),'Accept':_0x122af9(0x1b1),..._0x163f8f?{'Authorization':_0x163f8f[_0x122af9(0x188)]}:null},'body':JSON[_0x122af9(0x18d)](_0xa6026f)};return window[_0x122af9(0x1ce)](_0xce1f21,_0x23ade4)[_0x122af9(0x1c8)](_0x40d967=>{const _0x5fefd9=_0x122af9;if(0xc8!==_0x40d967[_0x5fefd9(0x1a0)])throw _0x40d967;return _0x40d967[_0x5fefd9(0x18e)]();})[_0x122af9(0x1c8)](_0x42053b=>{const _0x341e91=_0x122af9;_0x504584['ui'][_0x341e91(0x1ae)][_0x341e91(0x1c9)](_0x21a988(_0x504584[_0x341e91(0x1cd)],_0x341e91(0x190)));const _0x50da99=_0x341e91(0x1d0)==typeof _0x427ebc[_0x341e91(0x185)]?_0x427ebc[_0x341e91(0x185)]():_0x427ebc[_0x341e91(0x185)];this[_0x341e91(0x192)](_0x42053b,_0x50da99||_0x341e91(0x19e));});})[_0x289049(0x1a4)](_0x406d7d=>{const _0x2bbac0=_0x289049,_0x3c467e=_0x504584[_0x2bbac0(0x19f)][_0x2bbac0(0x1c6)](_0x2bbac0(0x1b5));throw _0x504584['ui'][_0x2bbac0(0x1ae)][_0x2bbac0(0x1c9)](_0x21a988(_0x504584[_0x2bbac0(0x1cd)],_0x2bbac0(0x1d1)),{'politeness':_0x2bbac0(0x18c)}),_0x3c467e[_0x2bbac0(0x1c7)](_0x21a988(_0x504584[_0x2bbac0(0x1cd)],_0x2bbac0(0x1a6))),_0x406d7d;})[_0x289049(0x1b9)](()=>{const _0x5041d5=_0x289049;this[_0x5041d5(0x1cf)]=!0x1,this[_0x5041d5(0x193)]();});}[_0x50a81d(0x192)](_0x5455ec,_0x5c5f2b){const _0x5d5431=_0x50a81d,_0x1967f5=document[_0x5d5431(0x184)]('a');_0x1967f5[_0x5d5431(0x1b3)]=window[_0x5d5431(0x19a)][_0x5d5431(0x1b7)](_0x5455ec),_0x1967f5[_0x5d5431(0x1a5)]=_0x5c5f2b,_0x1967f5[_0x5d5431(0x1b0)](),_0x1967f5[_0x5d5431(0x1bf)]();}}function _0x131b(){const _0x50f2ee=['href','stylesheets','Notification','margin_bottom','createObjectURL','application/json','finally','export-word-v1-api-is-deprecated','affectsData','orientation','POST','comments','remove','12eeHeua','739335LtLMpg','isEnabled','1998241bAuFeM','editor','ExportWord','get','showWarning','then','announce','239684kUcwus','</div>','margin_right','locale','fetch','isBusy','function','Word\x20document\x20export\x20failed','set','createElement','fileName','config','pending','value','<div\x20class=\x22ck-content\x22\x20dir=\x22','format','539610WAGfFO','assertive','stringify','blob','dataCallback','Word\x20document\x20export\x20successful','auto_pagination','_downloadFile','refresh','execute','https://docx-converter.cke-cs.com/v1/convert','_token','margin_top','converterUrl','token','URL','contentLanguageDirection','1566783GCaCIq','margin_left','document.docx','plugins','status','footer','7458800DIgClq','https://docx-converter.cke-cs.com/v2/convert/html-docx','catch','download','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','header','suggestions','converterOptions','EDITOR_STYLES','1463154GcBAFG','options','Word\x20document\x20export\x20started','ariaLiveAnnouncer','version','click','application/docx','data'];_0x131b=function(){return _0x50f2ee;};return _0x131b();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x396610=_0x42b1;(function(_0x5667c3,_0x90e5d1){const _0x2efc5f=_0x42b1,_0x584266=_0x5667c3();while(!![]){try{const _0x458b5f=-parseInt(_0x2efc5f(0x95))/0x1+-parseInt(_0x2efc5f(0xb2))/0x2*(parseInt(_0x2efc5f(0xa8))/0x3)+parseInt(_0x2efc5f(0x9a))/0x4*(-parseInt(_0x2efc5f(0xae))/0x5)+-parseInt(_0x2efc5f(0xa9))/0x6+parseInt(_0x2efc5f(0x9e))/0x7+-parseInt(_0x2efc5f(0xb8))/0x8*(-parseInt(_0x2efc5f(0xa2))/0x9)+-parseInt(_0x2efc5f(0xb0))/0xa*(-parseInt(_0x2efc5f(0x9c))/0xb);if(_0x458b5f===_0x90e5d1)break;else _0x584266['push'](_0x584266['shift']());}catch(_0x29f853){_0x584266['push'](_0x584266['shift']());}}}(_0x295f,0x3a0bd));import{Plugin as _0x3e3e41}from'ckeditor5/src/core.js';import{IconExportWord as _0x31ee17}from'ckeditor5/src/icons.js';function _0x295f(){const _0x2d7aa3=['componentFactory','children','ExportWordUI','set','23428cEcEyP','Exporting\x20Word\x20document','88zwzPco','label','3304707YOboJN','add','isOn','view','4923zGTdlr','pluginName','Export\x20to\x20Word','iconView','_createButton','get','15GPOnTb','1935858TQbJzz','execute','isVisible','isOfficialPlugin','commands','65iZPXYl','bind','552410aRhdLx','locale','60626gWDzlh','menuBar:exportWord','isPremiumPlugin','config','listenTo','editing','440SbBmQk','init','isBusy','focus','isEnabled','editor','exportWord','156008XYZqhH'];_0x295f=function(){return _0x2d7aa3;};return _0x295f();}import{ButtonView as _0x4c7dc4,MenuBarMenuListItemButtonView as _0x12bdfc,SpinnerView as _0x5a4f08}from'ckeditor5/src/ui.js';import{getTranslation as _0x1f8246}from'./utils/common-translations.js';function _0x42b1(_0x248e4d,_0x3b820b){const _0x295f1a=_0x295f();return _0x42b1=function(_0x42b18a,_0x4d9645){_0x42b18a=_0x42b18a-0x95;let _0x1847f3=_0x295f1a[_0x42b18a];return _0x1847f3;},_0x42b1(_0x248e4d,_0x3b820b);}export class ExportWordUI extends _0x3e3e41{static get[_0x396610(0xa3)](){const _0x57d1e2=_0x396610;return _0x57d1e2(0x98);}static get[_0x396610(0xac)](){return!0x0;}static get[_0x396610(0xb4)](){return!0x0;}[_0x396610(0xb9)](){const _0x40768d=_0x396610,_0xd855c1=this[_0x40768d(0xbd)];_0xd855c1['ui'][_0x40768d(0x96)][_0x40768d(0x9f)](_0x40768d(0xbe),()=>{const _0x1e1fba=_0x40768d,_0x4b2419=_0xd855c1[_0x1e1fba(0xad)][_0x1e1fba(0xa7)](_0x1e1fba(0xbe)),_0x33b5bf=this[_0x1e1fba(0xa6)](_0x4c7dc4);return _0x33b5bf[_0x1e1fba(0x99)]({'tooltip':!0x0}),_0x33b5bf[_0x1e1fba(0xaf)](_0x1e1fba(0xa0))['to'](_0x4b2419,_0x1e1fba(0xba)),_0x33b5bf;}),_0xd855c1['ui'][_0x40768d(0x96)][_0x40768d(0x9f)](_0x40768d(0xb3),()=>this[_0x40768d(0xa6)](_0x12bdfc));}[_0x396610(0xa6)](_0x49a29c){const _0x2970ed=_0x396610,_0x1ffaa4=this[_0x2970ed(0xbd)],_0x5cdac0=_0x1ffaa4[_0x2970ed(0xb5)][_0x2970ed(0xa7)](_0x2970ed(0xbe))||{},_0x46828a=_0x1ffaa4[_0x2970ed(0xad)][_0x2970ed(0xa7)](_0x2970ed(0xbe)),_0x24b5c5=new _0x49a29c(_0x1ffaa4[_0x2970ed(0xb1)]),_0x4ee96f=new _0x5a4f08();return _0x24b5c5[_0x2970ed(0x97)][_0x2970ed(0x9f)](_0x4ee96f),_0x4ee96f[_0x2970ed(0xaf)](_0x2970ed(0xab))['to'](_0x46828a,_0x2970ed(0xba)),_0x24b5c5[_0x2970ed(0xa5)][_0x2970ed(0xaf)](_0x2970ed(0xab))['to'](_0x46828a,_0x2970ed(0xba),_0x4f2521=>!_0x4f2521),_0x24b5c5[_0x2970ed(0x99)]({'icon':_0x31ee17}),_0x24b5c5[_0x2970ed(0xaf)](_0x2970ed(0xbc))['to'](_0x46828a,_0x2970ed(0xbc)),_0x24b5c5[_0x2970ed(0xaf)](_0x2970ed(0x9d))['to'](_0x46828a,_0x2970ed(0xba),_0x383efc=>_0x1f8246(_0x1ffaa4[_0x2970ed(0xb1)],_0x383efc?_0x2970ed(0x9b):_0x2970ed(0xa4))),this[_0x2970ed(0xb6)](_0x24b5c5,_0x2970ed(0xaa),()=>{const _0xb9818=_0x2970ed;_0x1ffaa4[_0xb9818(0xaa)](_0xb9818(0xbe),_0x5cdac0),_0x1ffaa4[_0xb9818(0xb7)][_0xb9818(0xa1)][_0xb9818(0xbb)]();}),_0x24b5c5;}}
23
+ const _0x43cf84=_0x473b;(function(_0x4de7d0,_0x1cb347){const _0x5a6e8a=_0x473b,_0x26c202=_0x4de7d0();while(!![]){try{const _0x5a76da=-parseInt(_0x5a6e8a(0x112))/0x1*(-parseInt(_0x5a6e8a(0xef))/0x2)+-parseInt(_0x5a6e8a(0x100))/0x3+-parseInt(_0x5a6e8a(0x107))/0x4+-parseInt(_0x5a6e8a(0x10f))/0x5+-parseInt(_0x5a6e8a(0xfe))/0x6*(parseInt(_0x5a6e8a(0x117))/0x7)+parseInt(_0x5a6e8a(0x10e))/0x8*(-parseInt(_0x5a6e8a(0x10c))/0x9)+-parseInt(_0x5a6e8a(0x115))/0xa*(-parseInt(_0x5a6e8a(0xfc))/0xb);if(_0x5a76da===_0x1cb347)break;else _0x26c202['push'](_0x26c202['shift']());}catch(_0x1f4f69){_0x26c202['push'](_0x26c202['shift']());}}}(_0x2d40,0xc9613));function _0x473b(_0x4c8949,_0xfac66e){const _0x2d400b=_0x2d40();return _0x473b=function(_0x473bab,_0x4e7076){_0x473bab=_0x473bab-0xee;let _0x4f6099=_0x2d400b[_0x473bab];return _0x4f6099;},_0x473b(_0x4c8949,_0xfac66e);}import{Plugin as _0x2512cd}from'ckeditor5/src/core.js';function _0x2d40(){const _0x2a7ffc=['_createButton','editor','110MLiQHh','view','2028SlrVZI','Export\x20to\x20Word','2981247CAERZm','bind','isOfficialPlugin','pluginName','Exporting\x20Word\x20document','init','label','852824ukPsOk','isEnabled','ExportWordUI','commands','add','126coNrXj','isBusy','301264QFBAUu','5361360QIGuUY','isVisible','componentFactory','43958DtrJWQ','exportWord','config','4033650qJsbgY','set','18347YtnOzE','isOn','22SYPWLz','focus','get','locale','children','menuBar:exportWord','execute','isPremiumPlugin','listenTo','iconView','editing'];_0x2d40=function(){return _0x2a7ffc;};return _0x2d40();}import{IconExportWord as _0x2e40a2}from'ckeditor5/src/icons.js';import{ButtonView as _0x52caad,MenuBarMenuListItemButtonView as _0x138771,SpinnerView as _0x5e0558}from'ckeditor5/src/ui.js';import{getTranslation as _0x534c5b}from'./utils/common-translations.js';export class ExportWordUI extends _0x2512cd{static get[_0x43cf84(0x103)](){const _0x4dd87f=_0x43cf84;return _0x4dd87f(0x109);}static get[_0x43cf84(0x102)](){return!0x0;}static get[_0x43cf84(0xf6)](){return!0x0;}[_0x43cf84(0x105)](){const _0x296fac=_0x43cf84,_0x5c90c6=this[_0x296fac(0xfb)];_0x5c90c6['ui'][_0x296fac(0x111)][_0x296fac(0x10b)](_0x296fac(0x113),()=>{const _0x4ea997=_0x296fac,_0x49d307=_0x5c90c6[_0x4ea997(0x10a)][_0x4ea997(0xf1)](_0x4ea997(0x113)),_0x46ba5c=this[_0x4ea997(0xfa)](_0x52caad);return _0x46ba5c[_0x4ea997(0x116)]({'tooltip':!0x0}),_0x46ba5c[_0x4ea997(0x101)](_0x4ea997(0xee))['to'](_0x49d307,_0x4ea997(0x10d)),_0x46ba5c;}),_0x5c90c6['ui'][_0x296fac(0x111)][_0x296fac(0x10b)](_0x296fac(0xf4),()=>this[_0x296fac(0xfa)](_0x138771));}[_0x43cf84(0xfa)](_0x43e756){const _0x317762=_0x43cf84,_0xe10777=this[_0x317762(0xfb)],_0x20cc08=_0xe10777[_0x317762(0x114)][_0x317762(0xf1)](_0x317762(0x113))||{},_0x1e80dd=_0xe10777[_0x317762(0x10a)][_0x317762(0xf1)](_0x317762(0x113)),_0x4ae4aa=new _0x43e756(_0xe10777[_0x317762(0xf2)]),_0x478278=new _0x5e0558();return _0x4ae4aa[_0x317762(0xf3)][_0x317762(0x10b)](_0x478278),_0x478278[_0x317762(0x101)](_0x317762(0x110))['to'](_0x1e80dd,_0x317762(0x10d)),_0x4ae4aa[_0x317762(0xf8)][_0x317762(0x101)](_0x317762(0x110))['to'](_0x1e80dd,_0x317762(0x10d),_0x1df35b=>!_0x1df35b),_0x4ae4aa[_0x317762(0x116)]({'icon':_0x2e40a2}),_0x4ae4aa[_0x317762(0x101)](_0x317762(0x108))['to'](_0x1e80dd,_0x317762(0x108)),_0x4ae4aa[_0x317762(0x101)](_0x317762(0x106))['to'](_0x1e80dd,_0x317762(0x10d),_0x553b0a=>_0x534c5b(_0xe10777[_0x317762(0xf2)],_0x553b0a?_0x317762(0x104):_0x317762(0xff))),this[_0x317762(0xf7)](_0x4ae4aa,_0x317762(0xf5),()=>{const _0x2c6cd6=_0x317762;_0xe10777[_0x2c6cd6(0xf5)](_0x2c6cd6(0x113),_0x20cc08),_0xe10777[_0x2c6cd6(0xf9)][_0x2c6cd6(0xfd)][_0x2c6cd6(0xf0)]();}),_0x4ae4aa;}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4ff7(_0x1630ed,_0x39d480){var _0xb06231=_0xb062();return _0x4ff7=function(_0x4ff74d,_0x2ed48d){_0x4ff74d=_0x4ff74d-0xdf;var _0xf9009f=_0xb06231[_0x4ff74d];return _0xf9009f;},_0x4ff7(_0x1630ed,_0x39d480);}(function(_0x1d6c41,_0x87e320){var _0x3494b1=_0x4ff7,_0x5320cf=_0x1d6c41();while(!![]){try{var _0xa4caad=-parseInt(_0x3494b1(0xe1))/0x1+parseInt(_0x3494b1(0xe5))/0x2+-parseInt(_0x3494b1(0xdf))/0x3*(-parseInt(_0x3494b1(0xe3))/0x4)+-parseInt(_0x3494b1(0xe4))/0x5*(-parseInt(_0x3494b1(0xe2))/0x6)+parseInt(_0x3494b1(0xe8))/0x7+-parseInt(_0x3494b1(0xe7))/0x8+parseInt(_0x3494b1(0xe0))/0x9*(-parseInt(_0x3494b1(0xe6))/0xa);if(_0xa4caad===_0x87e320)break;else _0x5320cf['push'](_0x5320cf['shift']());}catch(_0x538874){_0x5320cf['push'](_0x5320cf['shift']());}}}(_0xb062,0x6b75e));export{ExportWord}from'./exportword.js';function _0xb062(){var _0x3c07b6=['3247712mVenwr','2395057sQZFpb','136551rcNqCC','8777682LuJnfe','683863wWqcGc','153246VXtYlR','52aJVNNb','155QCNukO','1559280yDfYGE','10rtvlGU'];_0xb062=function(){return _0x3c07b6;};return _0xb062();}export{ExportWordCommand}from'./exportwordcommand.js';import'./augmentation.js';
23
+ function _0x47ad(_0x5dc6fc,_0x2c09cf){var _0x18dd33=_0x18dd();return _0x47ad=function(_0x47add6,_0x5183ac){_0x47add6=_0x47add6-0x1b2;var _0x5db281=_0x18dd33[_0x47add6];return _0x5db281;},_0x47ad(_0x5dc6fc,_0x2c09cf);}(function(_0x141774,_0x2dadf6){var _0x2b0668=_0x47ad,_0x15e495=_0x141774();while(!![]){try{var _0x30b356=parseInt(_0x2b0668(0x1b5))/0x1*(-parseInt(_0x2b0668(0x1b3))/0x2)+parseInt(_0x2b0668(0x1b7))/0x3*(-parseInt(_0x2b0668(0x1b6))/0x4)+-parseInt(_0x2b0668(0x1ba))/0x5+parseInt(_0x2b0668(0x1b2))/0x6+parseInt(_0x2b0668(0x1b4))/0x7+-parseInt(_0x2b0668(0x1b8))/0x8+parseInt(_0x2b0668(0x1b9))/0x9;if(_0x30b356===_0x2dadf6)break;else _0x15e495['push'](_0x15e495['shift']());}catch(_0x2fa397){_0x15e495['push'](_0x15e495['shift']());}}}(_0x18dd,0xeb952));export{ExportWord}from'./exportword.js';function _0x18dd(){var _0x48896a=['11075912NQWVuJ','46292310AeLRkd','8186240qemvAj','1348278cPXGQU','2764384KaLgQB','12076022uQgDwI','1mNEfEO','2299432EbRLFx','9TcPAbK'];_0x18dd=function(){return _0x48896a;};return _0x18dd();}export{ExportWordCommand}from'./exportwordcommand.js';import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x20e993,_0x4707fc){const t=_0x20e993['t'];switch(_0x4707fc){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 _0x4707fc;}}
23
+ export function getTranslation(_0x15ec71,_0x2068a1){const t=_0x15ec71['t'];switch(_0x2068a1){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 _0x2068a1;}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4063f8,_0x34e94d){const _0x451c87=_0x5e33,_0x49bcff=_0x4063f8();while(!![]){try{const _0x3ab539=parseInt(_0x451c87(0x13c))/0x1*(parseInt(_0x451c87(0x134))/0x2)+parseInt(_0x451c87(0x112))/0x3*(parseInt(_0x451c87(0x10e))/0x4)+parseInt(_0x451c87(0x10b))/0x5+parseInt(_0x451c87(0x121))/0x6*(parseInt(_0x451c87(0x108))/0x7)+parseInt(_0x451c87(0x12c))/0x8+parseInt(_0x451c87(0x10d))/0x9+-parseInt(_0x451c87(0x12e))/0xa;if(_0x3ab539===_0x34e94d)break;else _0x49bcff['push'](_0x49bcff['shift']());}catch(_0x33878f){_0x49bcff['push'](_0x49bcff['shift']());}}}(_0x5df2,0x74e83));function _0x5df2(){const _0x382d16=['comments','authorName','getCommentThreads','@external','users','TrackChanges','document','author','MergeFields','collaboration_features','plugins','934338BHjwmb','MergeFieldsEditing','language','contentLanguage','timeZone','push','DateTimeFormat','timezone','suggestions','length','$defaultValues','5502232DOTSAi','$labels','31061440iaSnbr','resolvedOptions','image','getMergeFieldType','getLabel','data','469004yuPfMk','createdAt','Users','getDefaultValues','isResolved','previewMode','CommentsRepository','keys','1gRszxl','getDataSetValues','merge_fields','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','comment_threads','get','42ZdYOAA','config','map','1784295KTQZGS','getSuggestions','7689834uysvew','2068364bHCIWX','name','mergeFields','entries','3bHPkqg','has','content','locale'];_0x5df2=function(){return _0x382d16;};return _0x5df2();}export function getConverterOptions(_0x1bf04c,_0xb4565a={}){const _0x1f47d5=_0x5e33,_0x4f2f49=_0x1bf04c[_0x1f47d5(0x120)][_0x1f47d5(0x113)](_0x1f47d5(0x136)),_0x593c83=_0x1bf04c[_0x1f47d5(0x120)][_0x1f47d5(0x113)](_0x1f47d5(0x13a)),_0x5e4d32=_0x1bf04c[_0x1f47d5(0x120)][_0x1f47d5(0x113)](_0x1f47d5(0x11b)),_0x1e027a=_0xb4565a;if(_0x4f2f49&&_0x593c83){const _0x5cfd3a=getComments(_0x1bf04c[_0x1f47d5(0x120)][_0x1f47d5(0x107)](_0x1f47d5(0x13a))[_0x1f47d5(0x118)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x1f47d5(0x13b)](_0x5cfd3a)[_0x1f47d5(0x12a)]&&(_0x1e027a[_0x1f47d5(0x116)]=_0x5cfd3a);}if(_0x4f2f49&&_0x5e4d32){const _0x42e8c1=_0x1bf04c[_0x1f47d5(0x120)][_0x1f47d5(0x107)](_0x1f47d5(0x11b)),_0x5ea9ed=_0x1bf04c[_0x1f47d5(0x120)][_0x1f47d5(0x107)](_0x1f47d5(0x136)),_0x2ade3f=getSuggestions(_0x42e8c1[_0x1f47d5(0x10c)]({'toJSON':!0x0}),_0x5ea9ed[_0x1f47d5(0x11a)]);Object[_0x1f47d5(0x13b)](_0x2ade3f)[_0x1f47d5(0x12a)]&&(_0x1e027a[_0x1f47d5(0x129)]=_0x2ade3f);}return(_0x1e027a[_0x1f47d5(0x129)]||_0x1e027a[_0x1f47d5(0x116)])&&(_0x1e027a[_0x1f47d5(0x128)]=new Intl[(_0x1f47d5(0x127))]()[_0x1f47d5(0x12f)]()[_0x1f47d5(0x125)]),_0x1e027a;}export function getComments(_0x4e314f){const _0x3c9f3e=_0x5e33,_0x517a34={};if(!_0x4e314f[_0x3c9f3e(0x12a)])return _0x517a34;for(const _0x3d9a0a of _0x4e314f)_0x3d9a0a[_0x3c9f3e(0x116)][_0x3c9f3e(0x10a)](_0x23bf86=>{const _0x30d80d=_0x3c9f3e;void 0x0===_0x517a34[_0x3d9a0a['id']]&&(_0x517a34[_0x3d9a0a['id']]=[]),_0x517a34[_0x3d9a0a['id']][_0x30d80d(0x126)]({'author':_0x23bf86[_0x30d80d(0x11d)][_0x30d80d(0x10f)],'content':_0x23bf86[_0x30d80d(0x114)],'created':_0x23bf86[_0x30d80d(0x135)],'is_resolved':_0x3d9a0a[_0x30d80d(0x138)]});});return _0x517a34;}export function getSuggestions(_0xb7b1d3,_0x576cca){const _0x15cfea=_0x5e33,_0x3bf1ae={};if(!_0xb7b1d3[_0x15cfea(0x12a)]||!_0x576cca[_0x15cfea(0x12a)])return _0x3bf1ae;for(const {id:_0x40ec59,createdAt:_0x45b753,authorId:_0x4a4915,attributes:_0xb05600}of _0xb7b1d3){const _0xa0032a=_0xb05600&&_0xb05600[_0x15cfea(0x119)],_0x384a82=_0xa0032a?_0xa0032a[_0x15cfea(0x117)]:_0x576cca[_0x15cfea(0x107)](_0x4a4915)[_0x15cfea(0x10f)];_0x3bf1ae[_0x40ec59]={'author':_0x384a82,'created':_0x45b753};}return _0x3bf1ae;}export function getConverterOptionsV2(_0x55ec0a,_0x2da1ba={}){const _0x2b7b4b=_0x5e33,_0x32e24f=_0x55ec0a[_0x2b7b4b(0x120)][_0x2b7b4b(0x113)](_0x2b7b4b(0x136)),_0x4dc01b=_0x55ec0a[_0x2b7b4b(0x120)][_0x2b7b4b(0x113)](_0x2b7b4b(0x13a)),_0x4e84d9=_0x55ec0a[_0x2b7b4b(0x120)][_0x2b7b4b(0x113)](_0x2b7b4b(0x11b)),_0x15497b=_0x55ec0a[_0x2b7b4b(0x120)][_0x2b7b4b(0x113)](_0x2b7b4b(0x11e)),_0x152963=_0x55ec0a[_0x2b7b4b(0x115)][_0x2b7b4b(0x124)],_0x3bbb6a=_0x2da1ba,_0x3269b4={};if(_0x3bbb6a[_0x2b7b4b(0x11c)]=_0x3bbb6a[_0x2b7b4b(0x11c)]||{},_0x3bbb6a[_0x2b7b4b(0x11c)][_0x2b7b4b(0x123)]=_0x3bbb6a[_0x2b7b4b(0x11c)][_0x2b7b4b(0x123)]||_0x152963,_0x32e24f&&_0x4dc01b){const _0x4f70f8=getCommentsV2(_0x55ec0a[_0x2b7b4b(0x120)][_0x2b7b4b(0x107)](_0x2b7b4b(0x13a))[_0x2b7b4b(0x118)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x4f70f8[_0x2b7b4b(0x12a)]&&(_0x3269b4[_0x2b7b4b(0x106)]=_0x4f70f8);}if(_0x32e24f&&_0x4e84d9){const _0x752b45=_0x55ec0a[_0x2b7b4b(0x120)][_0x2b7b4b(0x107)](_0x2b7b4b(0x11b)),_0x3f73ea=_0x55ec0a[_0x2b7b4b(0x120)][_0x2b7b4b(0x107)](_0x2b7b4b(0x136)),_0xe831ac=getSuggestionsV2(_0x752b45[_0x2b7b4b(0x10c)]({'toJSON':!0x0}),_0x3f73ea[_0x2b7b4b(0x11a)]);_0xe831ac[_0x2b7b4b(0x12a)]&&(_0x3269b4[_0x2b7b4b(0x129)]=_0xe831ac);}if(_0x15497b){const _0x18c3a7=_0x55ec0a[_0x2b7b4b(0x120)][_0x2b7b4b(0x107)](_0x2b7b4b(0x122)),_0x397884=_0x18c3a7[_0x2b7b4b(0x139)],{prefix:_0x6b88cb,suffix:_0x2f2768}=_0x55ec0a[_0x2b7b4b(0x109)][_0x2b7b4b(0x107)](_0x2b7b4b(0x110));if(_0x3bbb6a[_0x2b7b4b(0x13e)]={'prefix':_0x6b88cb,'suffix':_0x2f2768},_0x2b7b4b(0x12d)!==_0x397884){_0x3bbb6a[_0x2b7b4b(0x13e)][_0x2b7b4b(0x133)]={};const _0x4cb4fa=_0x2b7b4b(0x105),_0x458a92=_0x2b7b4b(0x12b)===_0x397884?_0x18c3a7[_0x2b7b4b(0x137)]():_0x18c3a7[_0x2b7b4b(0x13d)](_0x397884,!0x0);for(const _0x316706 of Object[_0x2b7b4b(0x111)](_0x458a92)){const [_0x2c1ba6,_0x276c91]=_0x316706;_0x2b7b4b(0x130)===_0x18c3a7[_0x2b7b4b(0x131)](_0x2c1ba6)?_0x3bbb6a[_0x2b7b4b(0x13e)][_0x2b7b4b(0x133)][_0x2c1ba6]=null!==_0x276c91?_0x276c91:_0x4cb4fa:_0x3bbb6a[_0x2b7b4b(0x13e)][_0x2b7b4b(0x133)][_0x2c1ba6]=null!==_0x276c91?_0x276c91:_0x18c3a7[_0x2b7b4b(0x132)](_0x2c1ba6)||_0x2c1ba6;}}}return(_0x3269b4[_0x2b7b4b(0x106)]||_0x3269b4[_0x2b7b4b(0x129)])&&(_0x3bbb6a[_0x2b7b4b(0x128)]=new Intl[(_0x2b7b4b(0x127))]()[_0x2b7b4b(0x12f)]()[_0x2b7b4b(0x125)],_0x3bbb6a[_0x2b7b4b(0x11f)]=_0x3269b4),_0x3bbb6a;}export function getCommentsV2(_0x54ccf0){const _0x451d25=_0x5e33,_0x36d530=[];if(!_0x54ccf0[_0x451d25(0x12a)])return _0x36d530;for(const _0x309ad9 of _0x54ccf0){const _0x2aec4c=_0x309ad9[_0x451d25(0x116)][_0x451d25(0x10a)](_0x545953=>({'author':_0x545953[_0x451d25(0x11d)][_0x451d25(0x10f)],'content':_0x545953[_0x451d25(0x114)],'created_at':_0x545953[_0x451d25(0x135)]}));_0x36d530[_0x451d25(0x126)]({'thread_id':_0x309ad9['id'],'is_resolved':_0x309ad9[_0x451d25(0x138)],'comments':_0x2aec4c});}return _0x36d530;}function _0x5e33(_0x5a0a3a,_0x10aab3){const _0x5df269=_0x5df2();return _0x5e33=function(_0x5e3370,_0x50dfd3){_0x5e3370=_0x5e3370-0x105;let _0x422e3d=_0x5df269[_0x5e3370];return _0x422e3d;},_0x5e33(_0x5a0a3a,_0x10aab3);}export function getSuggestionsV2(_0x2fd6a4,_0x3b078a){const _0x28e8b0=_0x5e33;return _0x2fd6a4[_0x28e8b0(0x12a)]&&_0x3b078a[_0x28e8b0(0x12a)]?_0x2fd6a4[_0x28e8b0(0x10a)](({id:_0xda592a,createdAt:_0x1fc925,authorId:_0x234450,attributes:_0x4214d5})=>{const _0x2232b8=_0x28e8b0,_0x7fc37=_0x4214d5&&_0x4214d5[_0x2232b8(0x119)];return{'id':_0xda592a,'author':_0x7fc37?_0x7fc37[_0x2232b8(0x117)]:_0x3b078a[_0x2232b8(0x107)](_0x234450)[_0x2232b8(0x10f)],'created_at':_0x1fc925};}):[];}
23
+ (function(_0x4a87b4,_0x51daa1){const _0xa4ce25=_0x3697,_0xe0ef95=_0x4a87b4();while(!![]){try{const _0x31f27e=parseInt(_0xa4ce25(0x20b))/0x1+-parseInt(_0xa4ce25(0x201))/0x2*(-parseInt(_0xa4ce25(0x207))/0x3)+parseInt(_0xa4ce25(0x210))/0x4+-parseInt(_0xa4ce25(0x1f1))/0x5*(parseInt(_0xa4ce25(0x1fd))/0x6)+-parseInt(_0xa4ce25(0x1ea))/0x7+-parseInt(_0xa4ce25(0x204))/0x8*(parseInt(_0xa4ce25(0x1e7))/0x9)+parseInt(_0xa4ce25(0x1fc))/0xa;if(_0x31f27e===_0x51daa1)break;else _0xe0ef95['push'](_0xe0ef95['shift']());}catch(_0x3c6e66){_0xe0ef95['push'](_0xe0ef95['shift']());}}}(_0x2561,0x7f878));export function getConverterOptions(_0x584a1c,_0x12c97d={}){const _0x47311a=_0x3697,_0x259e73=_0x584a1c[_0x47311a(0x21a)][_0x47311a(0x208)](_0x47311a(0x1f6)),_0x306415=_0x584a1c[_0x47311a(0x21a)][_0x47311a(0x208)](_0x47311a(0x216)),_0x2ed97e=_0x584a1c[_0x47311a(0x21a)][_0x47311a(0x208)](_0x47311a(0x1fa)),_0x4388ca=_0x12c97d;if(_0x259e73&&_0x306415){const _0x3b95c8=getComments(_0x584a1c[_0x47311a(0x21a)][_0x47311a(0x1ed)](_0x47311a(0x216))[_0x47311a(0x203)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x47311a(0x217)](_0x3b95c8)[_0x47311a(0x200)]&&(_0x4388ca[_0x47311a(0x20a)]=_0x3b95c8);}if(_0x259e73&&_0x2ed97e){const _0x3303bb=_0x584a1c[_0x47311a(0x21a)][_0x47311a(0x1ed)](_0x47311a(0x1fa)),_0x5db5be=_0x584a1c[_0x47311a(0x21a)][_0x47311a(0x1ed)](_0x47311a(0x1f6)),_0x4b019e=getSuggestions(_0x3303bb[_0x47311a(0x219)]({'toJSON':!0x0}),_0x5db5be[_0x47311a(0x1f2)]);Object[_0x47311a(0x217)](_0x4b019e)[_0x47311a(0x200)]&&(_0x4388ca[_0x47311a(0x1f7)]=_0x4b019e);}return(_0x4388ca[_0x47311a(0x1f7)]||_0x4388ca[_0x47311a(0x20a)])&&(_0x4388ca[_0x47311a(0x1fe)]=new Intl[(_0x47311a(0x1f9))]()[_0x47311a(0x21e)]()[_0x47311a(0x1eb)]),_0x4388ca;}function _0x2561(){const _0x505c73=['createdAt','collaboration_features','content','$labels','@external','CommentsRepository','keys','isResolved','getSuggestions','plugins','merge_fields','getDefaultValues','MergeFields','resolvedOptions','name','language','72vwASWW','image','document','4859281WpjDpw','timeZone','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','get','getMergeFieldType','entries','authorName','170XGZHWM','users','mergeFields','getDataSetValues','data','Users','suggestions','previewMode','DateTimeFormat','TrackChanges','getLabel','12433930EcyyGs','122190UvPxwC','timezone','config','length','40qqkwMp','contentLanguage','getCommentThreads','941000OTIGIJ','map','author','57561DsCgFD','has','comment_threads','comments','341098oWlPbK','push','$defaultValues','locale','MergeFieldsEditing','3526888jFYSbr'];_0x2561=function(){return _0x505c73;};return _0x2561();}export function getComments(_0x285297){const _0x2218f8=_0x3697,_0x142804={};if(!_0x285297[_0x2218f8(0x200)])return _0x142804;for(const _0x2ef6af of _0x285297)_0x2ef6af[_0x2218f8(0x20a)][_0x2218f8(0x205)](_0x33d5f7=>{const _0xec706f=_0x2218f8;void 0x0===_0x142804[_0x2ef6af['id']]&&(_0x142804[_0x2ef6af['id']]=[]),_0x142804[_0x2ef6af['id']][_0xec706f(0x20c)]({'author':_0x33d5f7[_0xec706f(0x206)][_0xec706f(0x21f)],'content':_0x33d5f7[_0xec706f(0x213)],'created':_0x33d5f7[_0xec706f(0x211)],'is_resolved':_0x2ef6af[_0xec706f(0x218)]});});return _0x142804;}export function getSuggestions(_0x3608ec,_0x4c06cd){const _0xe87d90=_0x3697,_0x425cb7={};if(!_0x3608ec[_0xe87d90(0x200)]||!_0x4c06cd[_0xe87d90(0x200)])return _0x425cb7;for(const {id:_0x1d20a1,createdAt:_0x15f2d2,authorId:_0x42521a,attributes:_0x53e286}of _0x3608ec){const _0xff2987=_0x53e286&&_0x53e286[_0xe87d90(0x215)],_0x34e9a8=_0xff2987?_0xff2987[_0xe87d90(0x1f0)]:_0x4c06cd[_0xe87d90(0x1ed)](_0x42521a)[_0xe87d90(0x21f)];_0x425cb7[_0x1d20a1]={'author':_0x34e9a8,'created':_0x15f2d2};}return _0x425cb7;}function _0x3697(_0x2d48de,_0xe6cbf7){const _0x256132=_0x2561();return _0x3697=function(_0x36974f,_0x5c41da){_0x36974f=_0x36974f-0x1e6;let _0x99c0b=_0x256132[_0x36974f];return _0x99c0b;},_0x3697(_0x2d48de,_0xe6cbf7);}export function getConverterOptionsV2(_0x27845a,_0x1b86ab={}){const _0x5e92f6=_0x3697,_0x52f702=_0x27845a[_0x5e92f6(0x21a)][_0x5e92f6(0x208)](_0x5e92f6(0x1f6)),_0x461bfe=_0x27845a[_0x5e92f6(0x21a)][_0x5e92f6(0x208)](_0x5e92f6(0x216)),_0x13aac0=_0x27845a[_0x5e92f6(0x21a)][_0x5e92f6(0x208)](_0x5e92f6(0x1fa)),_0x190306=_0x27845a[_0x5e92f6(0x21a)][_0x5e92f6(0x208)](_0x5e92f6(0x21d)),_0x1cb236=_0x27845a[_0x5e92f6(0x20e)][_0x5e92f6(0x202)],_0x29be04=_0x1b86ab,_0xa3ce43={};if(_0x29be04[_0x5e92f6(0x1e9)]=_0x29be04[_0x5e92f6(0x1e9)]||{},_0x29be04[_0x5e92f6(0x1e9)][_0x5e92f6(0x1e6)]=_0x29be04[_0x5e92f6(0x1e9)][_0x5e92f6(0x1e6)]||_0x1cb236,_0x52f702&&_0x461bfe){const _0x4867c9=getCommentsV2(_0x27845a[_0x5e92f6(0x21a)][_0x5e92f6(0x1ed)](_0x5e92f6(0x216))[_0x5e92f6(0x203)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x4867c9[_0x5e92f6(0x200)]&&(_0xa3ce43[_0x5e92f6(0x209)]=_0x4867c9);}if(_0x52f702&&_0x13aac0){const _0x3df0b9=_0x27845a[_0x5e92f6(0x21a)][_0x5e92f6(0x1ed)](_0x5e92f6(0x1fa)),_0x39db97=_0x27845a[_0x5e92f6(0x21a)][_0x5e92f6(0x1ed)](_0x5e92f6(0x1f6)),_0x4e4fb1=getSuggestionsV2(_0x3df0b9[_0x5e92f6(0x219)]({'toJSON':!0x0}),_0x39db97[_0x5e92f6(0x1f2)]);_0x4e4fb1[_0x5e92f6(0x200)]&&(_0xa3ce43[_0x5e92f6(0x1f7)]=_0x4e4fb1);}if(_0x190306){const _0x2d9bf4=_0x27845a[_0x5e92f6(0x21a)][_0x5e92f6(0x1ed)](_0x5e92f6(0x20f)),_0x12fd14=_0x2d9bf4[_0x5e92f6(0x1f8)],{prefix:_0x2728ce,suffix:_0x49124b}=_0x27845a[_0x5e92f6(0x1ff)][_0x5e92f6(0x1ed)](_0x5e92f6(0x1f3));if(_0x29be04[_0x5e92f6(0x21b)]={'prefix':_0x2728ce,'suffix':_0x49124b},_0x5e92f6(0x214)!==_0x12fd14){_0x29be04[_0x5e92f6(0x21b)][_0x5e92f6(0x1f5)]={};const _0x34d19c=_0x5e92f6(0x1ec),_0x1a3621=_0x5e92f6(0x20d)===_0x12fd14?_0x2d9bf4[_0x5e92f6(0x21c)]():_0x2d9bf4[_0x5e92f6(0x1f4)](_0x12fd14,!0x0);for(const _0x2a94e9 of Object[_0x5e92f6(0x1ef)](_0x1a3621)){const [_0x42f2db,_0x44a452]=_0x2a94e9;_0x5e92f6(0x1e8)===_0x2d9bf4[_0x5e92f6(0x1ee)](_0x42f2db)?_0x29be04[_0x5e92f6(0x21b)][_0x5e92f6(0x1f5)][_0x42f2db]=null!==_0x44a452?_0x44a452:_0x34d19c:_0x29be04[_0x5e92f6(0x21b)][_0x5e92f6(0x1f5)][_0x42f2db]=null!==_0x44a452?_0x44a452:_0x2d9bf4[_0x5e92f6(0x1fb)](_0x42f2db)||_0x42f2db;}}}return(_0xa3ce43[_0x5e92f6(0x209)]||_0xa3ce43[_0x5e92f6(0x1f7)])&&(_0x29be04[_0x5e92f6(0x1fe)]=new Intl[(_0x5e92f6(0x1f9))]()[_0x5e92f6(0x21e)]()[_0x5e92f6(0x1eb)],_0x29be04[_0x5e92f6(0x212)]=_0xa3ce43),_0x29be04;}export function getCommentsV2(_0x2543f0){const _0x380ec1=_0x3697,_0x4f5e32=[];if(!_0x2543f0[_0x380ec1(0x200)])return _0x4f5e32;for(const _0x197db0 of _0x2543f0){const _0xe09f16=_0x197db0[_0x380ec1(0x20a)][_0x380ec1(0x205)](_0x433f96=>({'author':_0x433f96[_0x380ec1(0x206)][_0x380ec1(0x21f)],'content':_0x433f96[_0x380ec1(0x213)],'created_at':_0x433f96[_0x380ec1(0x211)]}));_0x4f5e32[_0x380ec1(0x20c)]({'thread_id':_0x197db0['id'],'is_resolved':_0x197db0[_0x380ec1(0x218)],'comments':_0xe09f16});}return _0x4f5e32;}export function getSuggestionsV2(_0x50ba84,_0x4dbb0f){const _0x347034=_0x3697;return _0x50ba84[_0x347034(0x200)]&&_0x4dbb0f[_0x347034(0x200)]?_0x50ba84[_0x347034(0x205)](({id:_0x420a78,createdAt:_0x3db0bd,authorId:_0x10d55e,attributes:_0x8af932})=>{const _0x198e9d=_0x347034,_0x1c335c=_0x8af932&&_0x8af932[_0x198e9d(0x215)];return{'id':_0x420a78,'author':_0x1c335c?_0x1c335c[_0x198e9d(0x1f0)]:_0x4dbb0f[_0x198e9d(0x1ed)](_0x10d55e)[_0x198e9d(0x21f)],'created_at':_0x3db0bd};}):[];}