@ckeditor/ckeditor5-export-word 44.3.0-alpha.6 → 44.3.0

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 (153) 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/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +10 -10
  148. package/src/exportword.js +1 -1
  149. package/src/exportwordcommand.js +1 -1
  150. package/src/exportwordui.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/utils/common-translations.js +1 -1
  153. 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": "44.3.0-alpha.6",
3
+ "version": "44.3.0",
4
4
  "description": "Export to Word feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -30,15 +30,15 @@
30
30
  "type": "module",
31
31
  "main": "src/index.js",
32
32
  "dependencies": {
33
- "@ckeditor/ckeditor5-cloud-services": "44.3.0-alpha.6",
34
- "@ckeditor/ckeditor5-collaboration-core": "44.3.0-alpha.6",
35
- "@ckeditor/ckeditor5-comments": "44.3.0-alpha.6",
36
- "@ckeditor/ckeditor5-core": "44.3.0-alpha.6",
37
- "@ckeditor/ckeditor5-merge-fields": "44.3.0-alpha.6",
38
- "@ckeditor/ckeditor5-track-changes": "44.3.0-alpha.6",
39
- "@ckeditor/ckeditor5-utils": "44.3.0-alpha.6",
40
- "@ckeditor/ckeditor5-ui": "44.3.0-alpha.6",
41
- "ckeditor5": "44.3.0-alpha.6"
33
+ "@ckeditor/ckeditor5-cloud-services": "44.3.0",
34
+ "@ckeditor/ckeditor5-collaboration-core": "44.3.0",
35
+ "@ckeditor/ckeditor5-comments": "44.3.0",
36
+ "@ckeditor/ckeditor5-core": "44.3.0",
37
+ "@ckeditor/ckeditor5-merge-fields": "44.3.0",
38
+ "@ckeditor/ckeditor5-track-changes": "44.3.0",
39
+ "@ckeditor/ckeditor5-utils": "44.3.0",
40
+ "@ckeditor/ckeditor5-ui": "44.3.0",
41
+ "ckeditor5": "44.3.0"
42
42
  },
43
43
  "license": "SEE LICENSE IN LICENSE.md",
44
44
  "author": "CKSource (https://cksource.com/)",
package/src/exportword.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3664(_0x312ac5,_0x1292a7){const _0x102a93=_0x102a();return _0x3664=function(_0x3664b5,_0x30e61c){_0x3664b5=_0x3664b5-0x197;let _0x331372=_0x102a93[_0x3664b5];return _0x331372;},_0x3664(_0x312ac5,_0x1292a7);}const _0x195d8b=_0x3664;(function(_0x2d9097,_0x4a1796){const _0xbb97e7=_0x3664,_0x11bcbc=_0x2d9097();while(!![]){try{const _0xcc0d86=-parseInt(_0xbb97e7(0x1b1))/0x1+-parseInt(_0xbb97e7(0x1a8))/0x2+parseInt(_0xbb97e7(0x19f))/0x3+parseInt(_0xbb97e7(0x1a3))/0x4*(-parseInt(_0xbb97e7(0x19a))/0x5)+-parseInt(_0xbb97e7(0x1a1))/0x6*(-parseInt(_0xbb97e7(0x1a9))/0x7)+parseInt(_0xbb97e7(0x1ae))/0x8+-parseInt(_0xbb97e7(0x198))/0x9*(-parseInt(_0xbb97e7(0x19b))/0xa);if(_0xcc0d86===_0x4a1796)break;else _0x11bcbc['push'](_0x11bcbc['shift']());}catch(_0x4872fa){_0x11bcbc['push'](_0x11bcbc['shift']());}}}(_0x102a,0x7d560));import{Plugin as _0x25a3f7}from'ckeditor5/src/core.js';import{Notification as _0x3d9028}from'ckeditor5/src/ui.js';import _0x1ccbf8 from'./exportwordcommand.js';import _0x292a57 from'./exportwordui.js';export default class s extends _0x25a3f7{static get[_0x195d8b(0x19e)](){const _0x5f3f29=_0x195d8b;return _0x5f3f29(0x19d);}static get[_0x195d8b(0x1a7)](){return!0x0;}static get[_0x195d8b(0x199)](){return!0x0;}static get[_0x195d8b(0x197)](){const _0x2edf94=_0x195d8b;return[_0x2edf94(0x1a2),_0x3d9028,_0x292a57];}[_0x195d8b(0x1b0)](){const _0x5700b1=_0x195d8b,_0x1c0f37=this[_0x5700b1(0x1ab)],_0x167c50=_0x1c0f37[_0x5700b1(0x1b2)][_0x5700b1(0x1a6)](_0x5700b1(0x1a0))||{};_0x1c0f37[_0x5700b1(0x1aa)][_0x5700b1(0x19c)](_0x5700b1(0x1a0),new _0x1ccbf8(_0x1c0f37));const _0x24dff5=_0x1c0f37[_0x5700b1(0x1a5)][_0x5700b1(0x1a6)](_0x5700b1(0x1a2));!0x1===_0x167c50[_0x5700b1(0x1ac)]?this[_0x5700b1(0x1ad)]=null:_0x167c50[_0x5700b1(0x1ac)]?_0x24dff5[_0x5700b1(0x1a4)](_0x167c50[_0x5700b1(0x1ac)])[_0x5700b1(0x1b3)](_0x307fba=>{const _0x270e14=_0x5700b1;this[_0x270e14(0x1ad)]=_0x307fba;}):this[_0x5700b1(0x1ad)]=_0x24dff5[_0x5700b1(0x1af)];}}function _0x102a(){const _0x26ab22=['registerTokenUrl','plugins','get','isOfficialPlugin','1765606UVuRhO','54761EZYjjP','commands','editor','tokenUrl','_token','2018144NuZDdm','token','init','95588CdSDxv','config','then','requires','9DdjCri','isPremiumPlugin','649460CPwaQw','7763270NzGDFn','add','ExportWord','pluginName','1497564jmnrAb','exportWord','72TYHDtu','CloudServices','4LprmKW'];_0x102a=function(){return _0x26ab22;};return _0x102a();}
23
+ function _0x443c(_0x160f8e,_0x2f0714){const _0x595103=_0x5951();return _0x443c=function(_0x443cd8,_0x230cef){_0x443cd8=_0x443cd8-0x147;let _0x229908=_0x595103[_0x443cd8];return _0x229908;},_0x443c(_0x160f8e,_0x2f0714);}const _0xca4da4=_0x443c;(function(_0x13fc7b,_0x3144b2){const _0x589354=_0x443c,_0x4b8688=_0x13fc7b();while(!![]){try{const _0x1dc0e1=parseInt(_0x589354(0x15f))/0x1*(-parseInt(_0x589354(0x15c))/0x2)+parseInt(_0x589354(0x15e))/0x3*(-parseInt(_0x589354(0x147))/0x4)+-parseInt(_0x589354(0x152))/0x5*(-parseInt(_0x589354(0x157))/0x6)+-parseInt(_0x589354(0x14b))/0x7*(-parseInt(_0x589354(0x150))/0x8)+-parseInt(_0x589354(0x153))/0x9*(-parseInt(_0x589354(0x148))/0xa)+-parseInt(_0x589354(0x149))/0xb*(-parseInt(_0x589354(0x166))/0xc)+parseInt(_0x589354(0x14e))/0xd*(-parseInt(_0x589354(0x159))/0xe);if(_0x1dc0e1===_0x3144b2)break;else _0x4b8688['push'](_0x4b8688['shift']());}catch(_0x73b361){_0x4b8688['push'](_0x4b8688['shift']());}}}(_0x5951,0x8c9e1));import{Plugin as _0x56f65f}from'ckeditor5/src/core.js';import{Notification as _0x152722}from'ckeditor5/src/ui.js';import _0x1c6e36 from'./exportwordcommand.js';function _0x5951(){const _0x1fead0=['_token','config','get','tokenUrl','init','108qjETif','pluginName','184ygYxFu','10973300bSozRH','1161391bBjMny','editor','7PVFRSC','isPremiumPlugin','isOfficialPlugin','173771rfZrcg','plugins','7430216oLjIYS','requires','1079410cnXkCL','9tQulqZ','then','ExportWord','commands','6igqnxX','exportWord','1008jsGmag','CloudServices','token','1420914oQpfFb','add','61524MPebiO','1TUXJHe','registerTokenUrl'];_0x5951=function(){return _0x1fead0;};return _0x5951();}import _0x4c973a from'./exportwordui.js';export default class s extends _0x56f65f{static get[_0xca4da4(0x167)](){const _0x390730=_0xca4da4;return _0x390730(0x155);}static get[_0xca4da4(0x14d)](){return!0x0;}static get[_0xca4da4(0x14c)](){return!0x0;}static get[_0xca4da4(0x151)](){const _0x58fc3c=_0xca4da4;return[_0x58fc3c(0x15a),_0x152722,_0x4c973a];}[_0xca4da4(0x165)](){const _0x3b4cb6=_0xca4da4,_0x1e7f3b=this[_0x3b4cb6(0x14a)],_0x4f1822=_0x1e7f3b[_0x3b4cb6(0x162)][_0x3b4cb6(0x163)](_0x3b4cb6(0x158))||{};_0x1e7f3b[_0x3b4cb6(0x156)][_0x3b4cb6(0x15d)](_0x3b4cb6(0x158),new _0x1c6e36(_0x1e7f3b));const _0x5104d3=_0x1e7f3b[_0x3b4cb6(0x14f)][_0x3b4cb6(0x163)](_0x3b4cb6(0x15a));!0x1===_0x4f1822[_0x3b4cb6(0x164)]?this[_0x3b4cb6(0x161)]=null:_0x4f1822[_0x3b4cb6(0x164)]?_0x5104d3[_0x3b4cb6(0x160)](_0x4f1822[_0x3b4cb6(0x164)])[_0x3b4cb6(0x154)](_0x3bc387=>{const _0x4dbf65=_0x3b4cb6;this[_0x4dbf65(0x161)]=_0x3bc387;}):this[_0x3b4cb6(0x161)]=_0x5104d3[_0x3b4cb6(0x15b)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x201b(){const _0xaf09ca=['1078037muFcvk','21gGyUmt','config','document.docx','status','blob','catch','export-word-v1-api-is-deprecated','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','click','then','2853265MuMEGg','footer','function','download','header','margin_right','_token','set','execute','12FGUxYp','stylesheets','ariaLiveAnnouncer','href','_downloadFile','orientation','options','assertive','2546632CZMBsn','announce','https://docx-converter.cke-cs.com/v2/convert/html-docx','fileName','pending','isBusy','affectsData','refresh','POST','Notification','stringify','auto_pagination','margin_bottom','comments','fetch','showWarning','Word\x20document\x20export\x20started','converterOptions','createObjectURL','ExportWord','https://docx-converter.cke-cs.com/v1/convert','data','EDITOR_STYLES','</div>','45546QgeNEQ','plugins','dataCallback','suggestions','converterUrl','format','45Cdonad','margin_top','margin_left','isEnabled','361752rNxAGk','get','finally','remove','54935200wpxeEW','editor','4770409BYuHKX','version','Word\x20document\x20export\x20successful','locale','URL','value','createElement','application/docx','Word\x20document\x20export\x20failed','token','application/json','contentLanguageDirection','<div\x20class=\x22ck-content\x22\x20dir=\x22'];_0x201b=function(){return _0xaf09ca;};return _0x201b();}const _0x42bcf1=_0x1b04;(function(_0x13d4fb,_0x21df9f){const _0x418b72=_0x1b04,_0x417a21=_0x13d4fb();while(!![]){try{const _0xf8bb2e=-parseInt(_0x418b72(0x120))/0x1+parseInt(_0x418b72(0x103))/0x2*(-parseInt(_0x418b72(0x121))/0x3)+parseInt(_0x418b72(0x10d))/0x4+-parseInt(_0x418b72(0x12b))/0x5+-parseInt(_0x418b72(0xe3))/0x6*(parseInt(_0x418b72(0x113))/0x7)+parseInt(_0x418b72(0xeb))/0x8*(-parseInt(_0x418b72(0x109))/0x9)+parseInt(_0x418b72(0x111))/0xa;if(_0xf8bb2e===_0x21df9f)break;else _0x417a21['push'](_0x417a21['shift']());}catch(_0x5f12cf){_0x417a21['push'](_0x417a21['shift']());}}}(_0x201b,0xc87f6));function _0x1b04(_0x42ed17,_0x766ea9){const _0x201b86=_0x201b();return _0x1b04=function(_0x1b04fb,_0x5ba71f){_0x1b04fb=_0x1b04fb-0xe2;let _0x525ed4=_0x201b86[_0x1b04fb];return _0x525ed4;},_0x1b04(_0x42ed17,_0x766ea9);}import{Command as _0x407d40}from'ckeditor5/src/core.js';import{logWarning as _0x29a812,collectStylesheets as _0xa60c2f}from'ckeditor5/src/utils.js';import{getConverterOptions as _0xc197e4,getConverterOptionsV2 as _0x397c5c}from'./utils.js';import{getTranslation as _0x1e1fd2}from'./utils/common-translations.js';const h=[_0x42bcf1(0xe8),_0x42bcf1(0x10a),_0x42bcf1(0x130),_0x42bcf1(0xf7),_0x42bcf1(0x10b),_0x42bcf1(0x108),_0x42bcf1(0x12f),_0x42bcf1(0x12c),_0x42bcf1(0xf8),_0x42bcf1(0x106)];export default class e extends _0x407d40{constructor(_0x35841e){const _0x26e906=_0x42bcf1;super(_0x35841e),this[_0x26e906(0x132)](_0x26e906(0xf0),!0x1),this[_0x26e906(0xf1)]=!0x1;}[_0x42bcf1(0xf2)](){const _0x201da7=_0x42bcf1;this[_0x201da7(0x10c)]=!this[_0x201da7(0xf0)],this[_0x201da7(0x118)]=this[_0x201da7(0xf0)]?_0x201da7(0xef):void 0x0;}[_0x42bcf1(0xe2)](_0x39e829={}){const _0x3abd07=_0x42bcf1,_0x547f6e=this[_0x3abd07(0x112)],_0x1d5a5e=_0x39e829[_0x3abd07(0x114)]||0x2,_0x2d1608=0x1===_0x1d5a5e,_0x5b97a7=_0x39e829[_0x3abd07(0x107)]||(_0x2d1608?_0x3abd07(0xff):_0x3abd07(0xed)),_0x501d5f=_0x39e829[_0x3abd07(0xfc)]||{},_0x226b44=_0x547f6e[_0x3abd07(0x104)][_0x3abd07(0x10e)](_0x3abd07(0xfe)),_0x3fa73a=_0x39e829[_0x3abd07(0x11c)]||_0x226b44[_0x3abd07(0x131)],_0x509cb2=!0x0===_0x501d5f[_0x3abd07(0xf6)],_0x18286a=_0x39e829[_0x3abd07(0x105)]||(_0x19101c=>_0x19101c[_0x3abd07(0x100)][_0x3abd07(0x10e)]({'pagination':_0x509cb2}));return 0x2===_0x1d5a5e&&function(_0x1cf5fa){for(const _0x924d68 of h)if(void 0x0!==_0x1cf5fa[_0x924d68])return!0x0;return!0x1;}(_0x501d5f)&&_0x29a812(_0x3abd07(0x127)),this[_0x3abd07(0xf0)]=!0x0,this[_0x3abd07(0xf2)](),_0xa60c2f(_0x39e829[_0x3abd07(0xe4)]||[_0x3abd07(0x101)])[_0x3abd07(0x12a)](async _0x532dcc=>{const _0x258922=_0x3abd07;_0x547f6e['ui'][_0x258922(0xe5)][_0x258922(0xec)](_0x1e1fd2(_0x547f6e[_0x258922(0x116)],_0x258922(0xfb)));const _0x2e3d4d=await _0x18286a(_0x547f6e),_0x26d6a6={'html':_0x258922(0x11f)+_0x547f6e[_0x258922(0x116)][_0x258922(0x11e)]+'\x22>'+_0x2e3d4d+_0x258922(0x102),'css':_0x532dcc,[_0x2d1608?_0x258922(0xe9):_0x258922(0x122)]:{..._0x501d5f,..._0x2d1608?_0xc197e4(_0x547f6e,_0x501d5f):_0x397c5c(_0x547f6e,_0x501d5f)}},_0x218b72={'method':_0x258922(0xf3),'headers':{'Content-Type':_0x258922(0x11d),'Accept':_0x258922(0x11a),..._0x3fa73a?{'Authorization':_0x3fa73a[_0x258922(0x118)]}:null},'body':JSON[_0x258922(0xf5)](_0x26d6a6)};return window[_0x258922(0xf9)](_0x5b97a7,_0x218b72)[_0x258922(0x12a)](_0x4fa823=>{const _0x1294b1=_0x258922;if(0xc8!==_0x4fa823[_0x1294b1(0x124)])throw _0x4fa823;return _0x4fa823[_0x1294b1(0x125)]();})[_0x258922(0x12a)](_0x3e5bf5=>{const _0xf68a0f=_0x258922;_0x547f6e['ui'][_0xf68a0f(0xe5)][_0xf68a0f(0xec)](_0x1e1fd2(_0x547f6e[_0xf68a0f(0x116)],_0xf68a0f(0x115)));const _0x378be4=_0xf68a0f(0x12d)==typeof _0x39e829[_0xf68a0f(0xee)]?_0x39e829[_0xf68a0f(0xee)]():_0x39e829[_0xf68a0f(0xee)];this[_0xf68a0f(0xe7)](_0x3e5bf5,_0x378be4||_0xf68a0f(0x123));});})[_0x3abd07(0x126)](_0x314a89=>{const _0x23f2b8=_0x3abd07,_0x362394=_0x547f6e[_0x23f2b8(0x104)][_0x23f2b8(0x10e)](_0x23f2b8(0xf4));throw _0x547f6e['ui'][_0x23f2b8(0xe5)][_0x23f2b8(0xec)](_0x1e1fd2(_0x547f6e[_0x23f2b8(0x116)],_0x23f2b8(0x11b)),{'politeness':_0x23f2b8(0xea)}),_0x362394[_0x23f2b8(0xfa)](_0x1e1fd2(_0x547f6e[_0x23f2b8(0x116)],_0x23f2b8(0x128))),_0x314a89;})[_0x3abd07(0x10f)](()=>{const _0x597eaf=_0x3abd07;this[_0x597eaf(0xf0)]=!0x1,this[_0x597eaf(0xf2)]();});}[_0x42bcf1(0xe7)](_0x2853a3,_0x57c313){const _0x241add=_0x42bcf1,_0x556f11=document[_0x241add(0x119)]('a');_0x556f11[_0x241add(0xe6)]=window[_0x241add(0x117)][_0x241add(0xfd)](_0x2853a3),_0x556f11[_0x241add(0x12e)]=_0x57c313,_0x556f11[_0x241add(0x129)](),_0x556f11[_0x241add(0x110)]();}}
23
+ const _0x1a6933=_0x5592;(function(_0x49b116,_0x53d902){const _0x296c79=_0x5592,_0x138db2=_0x49b116();while(!![]){try{const _0x31eb65=parseInt(_0x296c79(0x18a))/0x1*(-parseInt(_0x296c79(0x168))/0x2)+parseInt(_0x296c79(0x16c))/0x3+parseInt(_0x296c79(0x174))/0x4+-parseInt(_0x296c79(0x16e))/0x5+-parseInt(_0x296c79(0x155))/0x6*(-parseInt(_0x296c79(0x17d))/0x7)+parseInt(_0x296c79(0x16d))/0x8*(parseInt(_0x296c79(0x170))/0x9)+parseInt(_0x296c79(0x177))/0xa*(-parseInt(_0x296c79(0x199))/0xb);if(_0x31eb65===_0x53d902)break;else _0x138db2['push'](_0x138db2['shift']());}catch(_0x33a1ab){_0x138db2['push'](_0x138db2['shift']());}}}(_0x1801,0x8633b));import{Command as _0x2fb67d}from'ckeditor5/src/core.js';function _0x1801(){const _0x5c7f91=['execute','margin_top','document.docx','data','margin_left','711629HhhJjx','get','finally','isBusy','POST','affectsData','plugins','margin_right','href','export-word-v1-api-is-deprecated','ExportWord','</div>','createElement','config','EDITOR_STYLES','319oFUULF','application/docx','footer','auto_pagination','remove','fileName','header','status','value','orientation','<div\x20class=\x22ck-content\x22\x20dir=\x22','suggestions','download','_downloadFile','42FTcUcG','margin_bottom','token','catch','click','application/json','assertive','options','function','version','Word\x20document\x20export\x20successful','comments','https://docx-converter.cke-cs.com/v2/convert/html-docx','Notification','blob','ariaLiveAnnouncer','fetch','Word\x20document\x20export\x20failed','announce','2VjeIxL','https://docx-converter.cke-cs.com/v1/convert','format','refresh','3158883kUdxTU','1227736QfUSpp','2065840JgxlvX','converterOptions','45qssadj','_token','isEnabled','stylesheets','3016180xzmwlF','set','contentLanguageDirection','408550HEwgAi','converterUrl','dataCallback','showWarning','pending','editor','284942yukAJw','URL','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','Word\x20document\x20export\x20started','stringify','then','locale','createObjectURL'];_0x1801=function(){return _0x5c7f91;};return _0x1801();}import{logWarning as _0x18e70a,collectStylesheets as _0x2fcb85}from'ckeditor5/src/utils.js';import{getConverterOptions as _0x1d363d,getConverterOptionsV2 as _0x1d3489}from'./utils.js';import{getTranslation as _0x24c261}from'./utils/common-translations.js';const h=[_0x1a6933(0x150),_0x1a6933(0x186),_0x1a6933(0x191),_0x1a6933(0x156),_0x1a6933(0x189),_0x1a6933(0x16a),_0x1a6933(0x14d),_0x1a6933(0x149),_0x1a6933(0x160),_0x1a6933(0x152)];function _0x5592(_0x48119b,_0x386959){const _0x180100=_0x1801();return _0x5592=function(_0x559292,_0x335664){_0x559292=_0x559292-0x148;let _0x3e248c=_0x180100[_0x559292];return _0x3e248c;},_0x5592(_0x48119b,_0x386959);}export default class e extends _0x2fb67d{constructor(_0x18fe70){const _0x3ec519=_0x1a6933;super(_0x18fe70),this[_0x3ec519(0x175)](_0x3ec519(0x18d),!0x1),this[_0x3ec519(0x18f)]=!0x1;}[_0x1a6933(0x16b)](){const _0x156407=_0x1a6933;this[_0x156407(0x172)]=!this[_0x156407(0x18d)],this[_0x156407(0x14f)]=this[_0x156407(0x18d)]?_0x156407(0x17b):void 0x0;}[_0x1a6933(0x185)](_0x2fc9d2={}){const _0x38b762=_0x1a6933,_0x382449=this[_0x38b762(0x17c)],_0x336374=_0x2fc9d2[_0x38b762(0x15e)]||0x2,_0x2ad05f=0x1===_0x336374,_0x35839d=_0x2fc9d2[_0x38b762(0x178)]||(_0x2ad05f?_0x38b762(0x169):_0x38b762(0x161)),_0x513823=_0x2fc9d2[_0x38b762(0x16f)]||{},_0xfcf80d=_0x382449[_0x38b762(0x190)][_0x38b762(0x18b)](_0x38b762(0x194)),_0x1a324a=_0x2fc9d2[_0x38b762(0x157)]||_0xfcf80d[_0x38b762(0x171)],_0x58e9e6=!0x0===_0x513823[_0x38b762(0x14a)],_0x3e9bed=_0x2fc9d2[_0x38b762(0x179)]||(_0x44b527=>_0x44b527[_0x38b762(0x188)][_0x38b762(0x18b)]({'pagination':_0x58e9e6}));return 0x2===_0x336374&&function(_0x339c39){for(const _0x24c1f9 of h)if(void 0x0!==_0x339c39[_0x24c1f9])return!0x0;return!0x1;}(_0x513823)&&_0x18e70a(_0x38b762(0x193)),this[_0x38b762(0x18d)]=!0x0,this[_0x38b762(0x16b)](),_0x2fcb85(_0x2fc9d2[_0x38b762(0x173)]||[_0x38b762(0x198)])[_0x38b762(0x182)](async _0x4e978c=>{const _0x2dba17=_0x38b762;_0x382449['ui'][_0x2dba17(0x164)][_0x2dba17(0x167)](_0x24c261(_0x382449[_0x2dba17(0x183)],_0x2dba17(0x180)));const _0x3e6de1=await _0x3e9bed(_0x382449),_0x4edc61={'html':_0x2dba17(0x151)+_0x382449[_0x2dba17(0x183)][_0x2dba17(0x176)]+'\x22>'+_0x3e6de1+_0x2dba17(0x195),'css':_0x4e978c,[_0x2ad05f?_0x2dba17(0x15c):_0x2dba17(0x197)]:{..._0x513823,..._0x2ad05f?_0x1d363d(_0x382449,_0x513823):_0x1d3489(_0x382449,_0x513823)}},_0x22dde6={'method':_0x2dba17(0x18e),'headers':{'Content-Type':_0x2dba17(0x15a),'Accept':_0x2dba17(0x148),..._0x1a324a?{'Authorization':_0x1a324a[_0x2dba17(0x14f)]}:null},'body':JSON[_0x2dba17(0x181)](_0x4edc61)};return window[_0x2dba17(0x165)](_0x35839d,_0x22dde6)[_0x2dba17(0x182)](_0x4630a9=>{const _0x1510f3=_0x2dba17;if(0xc8!==_0x4630a9[_0x1510f3(0x14e)])throw _0x4630a9;return _0x4630a9[_0x1510f3(0x163)]();})[_0x2dba17(0x182)](_0x45de50=>{const _0x433f02=_0x2dba17;_0x382449['ui'][_0x433f02(0x164)][_0x433f02(0x167)](_0x24c261(_0x382449[_0x433f02(0x183)],_0x433f02(0x15f)));const _0x5e9c13=_0x433f02(0x15d)==typeof _0x2fc9d2[_0x433f02(0x14c)]?_0x2fc9d2[_0x433f02(0x14c)]():_0x2fc9d2[_0x433f02(0x14c)];this[_0x433f02(0x154)](_0x45de50,_0x5e9c13||_0x433f02(0x187));});})[_0x38b762(0x158)](_0x244a65=>{const _0x595fe4=_0x38b762,_0x2be824=_0x382449[_0x595fe4(0x190)][_0x595fe4(0x18b)](_0x595fe4(0x162));throw _0x382449['ui'][_0x595fe4(0x164)][_0x595fe4(0x167)](_0x24c261(_0x382449[_0x595fe4(0x183)],_0x595fe4(0x166)),{'politeness':_0x595fe4(0x15b)}),_0x2be824[_0x595fe4(0x17a)](_0x24c261(_0x382449[_0x595fe4(0x183)],_0x595fe4(0x17f))),_0x244a65;})[_0x38b762(0x18c)](()=>{const _0xc923bd=_0x38b762;this[_0xc923bd(0x18d)]=!0x1,this[_0xc923bd(0x16b)]();});}[_0x1a6933(0x154)](_0x151de4,_0x55d32b){const _0x4618f2=_0x1a6933,_0x23a8f0=document[_0x4618f2(0x196)]('a');_0x23a8f0[_0x4618f2(0x192)]=window[_0x4618f2(0x17e)][_0x4618f2(0x184)](_0x151de4),_0x23a8f0[_0x4618f2(0x153)]=_0x55d32b,_0x23a8f0[_0x4618f2(0x159)](),_0x23a8f0[_0x4618f2(0x14b)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43a4e0=_0x3a79;(function(_0x45d85a,_0x3441a4){const _0x45011e=_0x3a79,_0x38f6f9=_0x45d85a();while(!![]){try{const _0x5118e5=-parseInt(_0x45011e(0x100))/0x1*(parseInt(_0x45011e(0xfe))/0x2)+-parseInt(_0x45011e(0x115))/0x3+parseInt(_0x45011e(0x105))/0x4*(parseInt(_0x45011e(0xf7))/0x5)+parseInt(_0x45011e(0x11d))/0x6*(-parseInt(_0x45011e(0x10c))/0x7)+parseInt(_0x45011e(0x109))/0x8*(-parseInt(_0x45011e(0x10e))/0x9)+-parseInt(_0x45011e(0x117))/0xa*(parseInt(_0x45011e(0xf9))/0xb)+parseInt(_0x45011e(0x10d))/0xc;if(_0x5118e5===_0x3441a4)break;else _0x38f6f9['push'](_0x38f6f9['shift']());}catch(_0x1f7a5b){_0x38f6f9['push'](_0x38f6f9['shift']());}}}(_0x5b15,0xea878));import{Plugin as _0x32806c}from'ckeditor5/src/core.js';function _0x3a79(_0x3703ee,_0x3c61d5){const _0x5b15f6=_0x5b15();return _0x3a79=function(_0x3a790f,_0x724f3f){_0x3a790f=_0x3a790f-0xf4;let _0x4f05ac=_0x5b15f6[_0x3a790f];return _0x4f05ac;},_0x3a79(_0x3703ee,_0x3c61d5);}function _0x5b15(){const _0x1f13e5=['isBusy','get','638995jHWLFY','44085288bNnPZp','11908701dcUBeF','set','Exporting\x20Word\x20document','listenTo','add','execute','isOfficialPlugin','2241552jwPqjO','pluginName','1952590JgfScJ','isVisible','iconView','children','config','isEnabled','42KaZibp','locale','_createButton','Export\x20to\x20Word','menuBar:exportWord','4541665HrXhuu','commands','11UlApMI','editor','label','ExportWordUI','isOn','16DlclXU','view','89606TXedYw','componentFactory','bind','init','exportWord','4RjiEMq','isPremiumPlugin','editing','focus','8jJIsaC'];_0x5b15=function(){return _0x1f13e5;};return _0x5b15();}import{ButtonView as _0x4e0dfe,MenuBarMenuListItemButtonView as _0x5d5079,SpinnerView as _0x5c89f0}from'ckeditor5/src/ui.js';import _0x11eb64 from'../theme/icons/exportword.svg';import{getTranslation as _0x18c8d4}from'./utils/common-translations.js';export default class o extends _0x32806c{static get[_0x43a4e0(0x116)](){const _0x47676b=_0x43a4e0;return _0x47676b(0xfc);}static get[_0x43a4e0(0x114)](){return!0x0;}static get[_0x43a4e0(0x106)](){return!0x0;}[_0x43a4e0(0x103)](){const _0x5c212d=_0x43a4e0,_0x29ff53=this[_0x5c212d(0xfa)];_0x29ff53['ui'][_0x5c212d(0x101)][_0x5c212d(0x112)](_0x5c212d(0x104),()=>{const _0x5dba60=_0x5c212d,_0x2c44ae=_0x29ff53[_0x5dba60(0xf8)][_0x5dba60(0x10b)](_0x5dba60(0x104)),_0x2e5889=this[_0x5dba60(0xf4)](_0x4e0dfe);return _0x2e5889[_0x5dba60(0x10f)]({'tooltip':!0x0}),_0x2e5889[_0x5dba60(0x102)](_0x5dba60(0xfd))['to'](_0x2c44ae,_0x5dba60(0x10a)),_0x2e5889;}),_0x29ff53['ui'][_0x5c212d(0x101)][_0x5c212d(0x112)](_0x5c212d(0xf6),()=>this[_0x5c212d(0xf4)](_0x5d5079));}[_0x43a4e0(0xf4)](_0x52f2c6){const _0x3671b5=_0x43a4e0,_0x16ef8a=this[_0x3671b5(0xfa)],_0x4f0418=_0x16ef8a[_0x3671b5(0x11b)][_0x3671b5(0x10b)](_0x3671b5(0x104))||{},_0x315996=_0x16ef8a[_0x3671b5(0xf8)][_0x3671b5(0x10b)](_0x3671b5(0x104)),_0xdcfd15=new _0x52f2c6(_0x16ef8a[_0x3671b5(0x11e)]),_0x777c38=new _0x5c89f0();return _0xdcfd15[_0x3671b5(0x11a)][_0x3671b5(0x112)](_0x777c38),_0x777c38[_0x3671b5(0x102)](_0x3671b5(0x118))['to'](_0x315996,_0x3671b5(0x10a)),_0xdcfd15[_0x3671b5(0x119)][_0x3671b5(0x102)](_0x3671b5(0x118))['to'](_0x315996,_0x3671b5(0x10a),_0x458a24=>!_0x458a24),_0xdcfd15[_0x3671b5(0x10f)]({'icon':_0x11eb64}),_0xdcfd15[_0x3671b5(0x102)](_0x3671b5(0x11c))['to'](_0x315996,_0x3671b5(0x11c)),_0xdcfd15[_0x3671b5(0x102)](_0x3671b5(0xfb))['to'](_0x315996,_0x3671b5(0x10a),_0x254d9a=>_0x18c8d4(_0x16ef8a[_0x3671b5(0x11e)],_0x254d9a?_0x3671b5(0x110):_0x3671b5(0xf5))),this[_0x3671b5(0x111)](_0xdcfd15,_0x3671b5(0x113),()=>{const _0x51b74a=_0x3671b5;_0x16ef8a[_0x51b74a(0x113)](_0x51b74a(0x104),_0x4f0418),_0x16ef8a[_0x51b74a(0x107)][_0x51b74a(0xff)][_0x51b74a(0x108)]();}),_0xdcfd15;}}
23
+ function _0x7567(){const _0x3b030e=['Exporting\x20Word\x20document','execute','isPremiumPlugin','commands','editing','175494gdIZYG','bind','isBusy','label','listenTo','7GDOmQg','isOn','componentFactory','275sXmLEV','exportWord','editor','3813608bJdMaa','init','menuBar:exportWord','488280zvGRPa','isOfficialPlugin','isVisible','children','ExportWordUI','10SMkNar','Export\x20to\x20Word','add','pluginName','focus','11010zrrxMk','285873DHgFvr','_createButton','config','view','iconView','get','locale','54174LRHdUp','isEnabled','set','52EmiDeg','2123154vJEElK'];_0x7567=function(){return _0x3b030e;};return _0x7567();}function _0x311d(_0x3feddc,_0x4f04c7){const _0x756794=_0x7567();return _0x311d=function(_0x311d90,_0x5d51a3){_0x311d90=_0x311d90-0x109;let _0x112df7=_0x756794[_0x311d90];return _0x112df7;},_0x311d(_0x3feddc,_0x4f04c7);}const _0x3b930d=_0x311d;(function(_0x11f107,_0x5a48c5){const _0x6333d2=_0x311d,_0x6ed7e2=_0x11f107();while(!![]){try{const _0x2c66e2=parseInt(_0x6333d2(0x10b))/0x1+-parseInt(_0x6333d2(0x115))/0x2*(parseInt(_0x6333d2(0x112))/0x3)+parseInt(_0x6333d2(0x12a))/0x4+-parseInt(_0x6333d2(0x124))/0x5*(-parseInt(_0x6333d2(0x10a))/0x6)+-parseInt(_0x6333d2(0x121))/0x7*(-parseInt(_0x6333d2(0x127))/0x8)+-parseInt(_0x6333d2(0x116))/0x9*(parseInt(_0x6333d2(0x12f))/0xa)+-parseInt(_0x6333d2(0x11c))/0xb;if(_0x2c66e2===_0x5a48c5)break;else _0x6ed7e2['push'](_0x6ed7e2['shift']());}catch(_0x37d624){_0x6ed7e2['push'](_0x6ed7e2['shift']());}}}(_0x7567,0x40809));import{Plugin as _0x34759d}from'ckeditor5/src/core.js';import{ButtonView as _0x5b0a2d,MenuBarMenuListItemButtonView as _0x36ef79,SpinnerView as _0x1dc256}from'ckeditor5/src/ui.js';import _0x15a179 from'../theme/icons/exportword.svg';import{getTranslation as _0x5d9857}from'./utils/common-translations.js';export default class o extends _0x34759d{static get[_0x3b930d(0x132)](){const _0x32fb88=_0x3b930d;return _0x32fb88(0x12e);}static get[_0x3b930d(0x12b)](){return!0x0;}static get[_0x3b930d(0x119)](){return!0x0;}[_0x3b930d(0x128)](){const _0xe38717=_0x3b930d,_0x1101c1=this[_0xe38717(0x126)];_0x1101c1['ui'][_0xe38717(0x123)][_0xe38717(0x131)](_0xe38717(0x125),()=>{const _0x39c213=_0xe38717,_0x1c0c59=_0x1101c1[_0x39c213(0x11a)][_0x39c213(0x110)](_0x39c213(0x125)),_0x16ca6c=this[_0x39c213(0x10c)](_0x5b0a2d);return _0x16ca6c[_0x39c213(0x114)]({'tooltip':!0x0}),_0x16ca6c[_0x39c213(0x11d)](_0x39c213(0x122))['to'](_0x1c0c59,_0x39c213(0x11e)),_0x16ca6c;}),_0x1101c1['ui'][_0xe38717(0x123)][_0xe38717(0x131)](_0xe38717(0x129),()=>this[_0xe38717(0x10c)](_0x36ef79));}[_0x3b930d(0x10c)](_0x46444){const _0x4f51b0=_0x3b930d,_0x535ef6=this[_0x4f51b0(0x126)],_0x11c44b=_0x535ef6[_0x4f51b0(0x10d)][_0x4f51b0(0x110)](_0x4f51b0(0x125))||{},_0x1b0feb=_0x535ef6[_0x4f51b0(0x11a)][_0x4f51b0(0x110)](_0x4f51b0(0x125)),_0x1ed53b=new _0x46444(_0x535ef6[_0x4f51b0(0x111)]),_0x44f26c=new _0x1dc256();return _0x1ed53b[_0x4f51b0(0x12d)][_0x4f51b0(0x131)](_0x44f26c),_0x44f26c[_0x4f51b0(0x11d)](_0x4f51b0(0x12c))['to'](_0x1b0feb,_0x4f51b0(0x11e)),_0x1ed53b[_0x4f51b0(0x10f)][_0x4f51b0(0x11d)](_0x4f51b0(0x12c))['to'](_0x1b0feb,_0x4f51b0(0x11e),_0x57d527=>!_0x57d527),_0x1ed53b[_0x4f51b0(0x114)]({'icon':_0x15a179}),_0x1ed53b[_0x4f51b0(0x11d)](_0x4f51b0(0x113))['to'](_0x1b0feb,_0x4f51b0(0x113)),_0x1ed53b[_0x4f51b0(0x11d)](_0x4f51b0(0x11f))['to'](_0x1b0feb,_0x4f51b0(0x11e),_0x393b6e=>_0x5d9857(_0x535ef6[_0x4f51b0(0x111)],_0x393b6e?_0x4f51b0(0x117):_0x4f51b0(0x130))),this[_0x4f51b0(0x120)](_0x1ed53b,_0x4f51b0(0x118),()=>{const _0x35c2c5=_0x4f51b0;_0x535ef6[_0x35c2c5(0x118)](_0x35c2c5(0x125),_0x11c44b),_0x535ef6[_0x35c2c5(0x11b)][_0x35c2c5(0x10e)][_0x35c2c5(0x109)]();}),_0x1ed53b;}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x197d20,_0x13e859){var _0x4676f0=_0x1fc2,_0x2466c1=_0x197d20();while(!![]){try{var _0x52333e=-parseInt(_0x4676f0(0x18b))/0x1+-parseInt(_0x4676f0(0x18f))/0x2+-parseInt(_0x4676f0(0x18c))/0x3+parseInt(_0x4676f0(0x18d))/0x4*(-parseInt(_0x4676f0(0x18e))/0x5)+-parseInt(_0x4676f0(0x189))/0x6*(parseInt(_0x4676f0(0x190))/0x7)+parseInt(_0x4676f0(0x18a))/0x8+parseInt(_0x4676f0(0x191))/0x9;if(_0x52333e===_0x13e859)break;else _0x2466c1['push'](_0x2466c1['shift']());}catch(_0x3481bc){_0x2466c1['push'](_0x2466c1['shift']());}}}(_0x1f6a,0xe2af1));export{default as ExportWord}from'./exportword.js';function _0x1f6a(){var _0x5a3517=['931Etakrs','60786702GKSmVW','69018TxxKEP','6262120wwnEcg','1078322CMydNa','4758777bFDSsd','116EPNjgU','120795hDePWs','3426510lgMFWE'];_0x1f6a=function(){return _0x5a3517;};return _0x1f6a();}function _0x1fc2(_0x1e2591,_0x4e694e){var _0x1f6af6=_0x1f6a();return _0x1fc2=function(_0x1fc28a,_0x311544){_0x1fc28a=_0x1fc28a-0x189;var _0x26c039=_0x1f6af6[_0x1fc28a];return _0x26c039;},_0x1fc2(_0x1e2591,_0x4e694e);}import'./augmentation.js';
23
+ (function(_0x2f53e9,_0x2ac82d){var _0x53fa0f=_0x32bb,_0x65fbf5=_0x2f53e9();while(!![]){try{var _0x31a109=parseInt(_0x53fa0f(0x83))/0x1*(-parseInt(_0x53fa0f(0x88))/0x2)+parseInt(_0x53fa0f(0x84))/0x3*(-parseInt(_0x53fa0f(0x89))/0x4)+parseInt(_0x53fa0f(0x80))/0x5+-parseInt(_0x53fa0f(0x87))/0x6*(parseInt(_0x53fa0f(0x85))/0x7)+parseInt(_0x53fa0f(0x81))/0x8+parseInt(_0x53fa0f(0x82))/0x9*(parseInt(_0x53fa0f(0x86))/0xa)+parseInt(_0x53fa0f(0x8a))/0xb;if(_0x31a109===_0x2ac82d)break;else _0x65fbf5['push'](_0x65fbf5['shift']());}catch(_0x34798f){_0x65fbf5['push'](_0x65fbf5['shift']());}}}(_0x446e,0x2b0fa));function _0x446e(){var _0x33910a=['25222dOFjox','8rmgYYn','28578wCMLsf','957620Oocvtz','2229168zRVcjY','88227TrHFtb','5PFJmtd','130863ZksSfh','728YvjwjU','10KotNRG','8994PdLgPS'];_0x446e=function(){return _0x33910a;};return _0x446e();}function _0x32bb(_0x4158ac,_0x277d8b){var _0x446e3c=_0x446e();return _0x32bb=function(_0x32bb75,_0x4dd98b){_0x32bb75=_0x32bb75-0x80;var _0x145222=_0x446e3c[_0x32bb75];return _0x145222;},_0x32bb(_0x4158ac,_0x277d8b);}export{default as ExportWord}from'./exportword.js';import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x3e775b,_0x266673){const t=_0x3e775b['t'];switch(_0x266673){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 _0x266673;}}
23
+ export function getTranslation(_0x23eeaa,_0x5f16b4){const t=_0x23eeaa['t'];switch(_0x5f16b4){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 _0x5f16b4;}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3fd5be,_0x4b7504){const _0x350751=_0x1a6d,_0x591422=_0x3fd5be();while(!![]){try{const _0x1965bb=-parseInt(_0x350751(0xf7))/0x1+-parseInt(_0x350751(0xf0))/0x2+-parseInt(_0x350751(0x111))/0x3+-parseInt(_0x350751(0xe2))/0x4+parseInt(_0x350751(0x100))/0x5*(parseInt(_0x350751(0xfb))/0x6)+parseInt(_0x350751(0x10a))/0x7+-parseInt(_0x350751(0x107))/0x8*(-parseInt(_0x350751(0xfe))/0x9);if(_0x1965bb===_0x4b7504)break;else _0x591422['push'](_0x591422['shift']());}catch(_0x2b1f9d){_0x591422['push'](_0x591422['shift']());}}}(_0x2807,0x66746));export function getConverterOptions(_0x703bbf,_0x3d0800={}){const _0x1df8fb=_0x1a6d,_0x476c79=_0x703bbf[_0x1df8fb(0xee)][_0x1df8fb(0x10b)](_0x1df8fb(0xed)),_0xd7261e=_0x703bbf[_0x1df8fb(0xee)][_0x1df8fb(0x10b)](_0x1df8fb(0x103)),_0x3f43ae=_0x703bbf[_0x1df8fb(0xee)][_0x1df8fb(0x10b)](_0x1df8fb(0xe7)),_0x67b02d=_0x3d0800;if(_0x476c79&&_0xd7261e){const _0x2aaec5=getComments(_0x703bbf[_0x1df8fb(0xee)][_0x1df8fb(0xff)](_0x1df8fb(0x103))[_0x1df8fb(0xf9)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x1df8fb(0xf2)](_0x2aaec5)[_0x1df8fb(0x101)]&&(_0x67b02d[_0x1df8fb(0xf4)]=_0x2aaec5);}if(_0x476c79&&_0x3f43ae){const _0x1b9820=_0x703bbf[_0x1df8fb(0xee)][_0x1df8fb(0xff)](_0x1df8fb(0xe7)),_0x1d8136=_0x703bbf[_0x1df8fb(0xee)][_0x1df8fb(0xff)](_0x1df8fb(0xed)),_0x275211=getSuggestions(_0x1b9820[_0x1df8fb(0xea)]({'toJSON':!0x0}),_0x1d8136[_0x1df8fb(0x10c)]);Object[_0x1df8fb(0xf2)](_0x275211)[_0x1df8fb(0x101)]&&(_0x67b02d[_0x1df8fb(0xf1)]=_0x275211);}return(_0x67b02d[_0x1df8fb(0xf1)]||_0x67b02d[_0x1df8fb(0xf4)])&&(_0x67b02d[_0x1df8fb(0xfd)]=new Intl[(_0x1df8fb(0xe6))]()[_0x1df8fb(0x113)]()[_0x1df8fb(0xe5)]),_0x67b02d;}export function getComments(_0x5dc31c){const _0x538671=_0x1a6d,_0x32c749={};if(!_0x5dc31c[_0x538671(0x101)])return _0x32c749;for(const _0x555f40 of _0x5dc31c)_0x555f40[_0x538671(0xf4)][_0x538671(0x106)](_0x508c45=>{const _0x3af27a=_0x538671;void 0x0===_0x32c749[_0x555f40['id']]&&(_0x32c749[_0x555f40['id']]=[]),_0x32c749[_0x555f40['id']][_0x3af27a(0x116)]({'author':_0x508c45[_0x3af27a(0x104)][_0x3af27a(0x118)],'content':_0x508c45[_0x3af27a(0xe4)],'created':_0x508c45[_0x3af27a(0xe9)],'is_resolved':_0x555f40[_0x3af27a(0x109)]});});return _0x32c749;}export function getSuggestions(_0x5809e5,_0x2b8a95){const _0x269000=_0x1a6d,_0x35ee8c={};if(!_0x5809e5[_0x269000(0x101)]||!_0x2b8a95[_0x269000(0x101)])return _0x35ee8c;for(const {id:_0x1302c9,createdAt:_0x40c825,authorId:_0x1c46a7,attributes:_0x3884d7}of _0x5809e5){const _0x1035ce=_0x3884d7&&_0x3884d7[_0x269000(0x115)],_0x111f47=_0x1035ce?_0x1035ce[_0x269000(0xe1)]:_0x2b8a95[_0x269000(0xff)](_0x1c46a7)[_0x269000(0x118)];_0x35ee8c[_0x1302c9]={'author':_0x111f47,'created':_0x40c825};}return _0x35ee8c;}export function getConverterOptionsV2(_0x35f052,_0x1b0dcd={}){const _0x3a2629=_0x1a6d,_0x176542=_0x35f052[_0x3a2629(0xee)][_0x3a2629(0x10b)](_0x3a2629(0xed)),_0x30e3d4=_0x35f052[_0x3a2629(0xee)][_0x3a2629(0x10b)](_0x3a2629(0x103)),_0x3f7e75=_0x35f052[_0x3a2629(0xee)][_0x3a2629(0x10b)](_0x3a2629(0xe7)),_0x4f686d=_0x35f052[_0x3a2629(0xee)][_0x3a2629(0x10b)](_0x3a2629(0x112)),_0x7da485=_0x35f052[_0x3a2629(0xfa)][_0x3a2629(0x110)],_0x317bfa=_0x1b0dcd,_0x1db99b={};if(_0x317bfa[_0x3a2629(0xe8)]=_0x317bfa[_0x3a2629(0xe8)]||{},_0x317bfa[_0x3a2629(0xe8)][_0x3a2629(0x105)]=_0x317bfa[_0x3a2629(0xe8)][_0x3a2629(0x105)]||_0x7da485,_0x176542&&_0x30e3d4){const _0x3dada5=getCommentsV2(_0x35f052[_0x3a2629(0xee)][_0x3a2629(0xff)](_0x3a2629(0x103))[_0x3a2629(0xf9)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x3dada5[_0x3a2629(0x101)]&&(_0x1db99b[_0x3a2629(0x117)]=_0x3dada5);}if(_0x176542&&_0x3f7e75){const _0x2de377=_0x35f052[_0x3a2629(0xee)][_0x3a2629(0xff)](_0x3a2629(0xe7)),_0xaeaf0c=_0x35f052[_0x3a2629(0xee)][_0x3a2629(0xff)](_0x3a2629(0xed)),_0x410c5d=getSuggestionsV2(_0x2de377[_0x3a2629(0xea)]({'toJSON':!0x0}),_0xaeaf0c[_0x3a2629(0x10c)]);_0x410c5d[_0x3a2629(0x101)]&&(_0x1db99b[_0x3a2629(0xf1)]=_0x410c5d);}if(_0x4f686d){const _0x48c589=_0x35f052[_0x3a2629(0xee)][_0x3a2629(0xff)](_0x3a2629(0x10e)),_0x26deb4=_0x48c589[_0x3a2629(0x102)],{prefix:_0x1d12e8,suffix:_0xc8f4fb}=_0x35f052[_0x3a2629(0xf6)][_0x3a2629(0xff)](_0x3a2629(0x10f));if(_0x317bfa[_0x3a2629(0xec)]={'prefix':_0x1d12e8,'suffix':_0xc8f4fb},_0x3a2629(0xf5)!==_0x26deb4){_0x317bfa[_0x3a2629(0xec)][_0x3a2629(0xe3)]={};const _0x28642c=_0x3a2629(0x108),_0x5e6e59=_0x3a2629(0x10d)===_0x26deb4?_0x48c589[_0x3a2629(0xfc)]():_0x48c589[_0x3a2629(0xf8)](_0x26deb4,!0x0);for(const _0x6dd811 of Object[_0x3a2629(0xeb)](_0x5e6e59)){const [_0x5b4f31,_0x2ed2fe]=_0x6dd811;_0x3a2629(0xef)===_0x48c589[_0x3a2629(0xf3)](_0x5b4f31)?_0x317bfa[_0x3a2629(0xec)][_0x3a2629(0xe3)][_0x5b4f31]=null!==_0x2ed2fe?_0x2ed2fe:_0x28642c:_0x317bfa[_0x3a2629(0xec)][_0x3a2629(0xe3)][_0x5b4f31]=null!==_0x2ed2fe?_0x2ed2fe:_0x48c589[_0x3a2629(0xe0)](_0x5b4f31)||_0x5b4f31;}}}return(_0x1db99b[_0x3a2629(0x117)]||_0x1db99b[_0x3a2629(0xf1)])&&(_0x317bfa[_0x3a2629(0xfd)]=new Intl[(_0x3a2629(0xe6))]()[_0x3a2629(0x113)]()[_0x3a2629(0xe5)],_0x317bfa[_0x3a2629(0x114)]=_0x1db99b),_0x317bfa;}function _0x1a6d(_0x216f46,_0x318c8a){const _0x280727=_0x2807();return _0x1a6d=function(_0x1a6d51,_0x4316d0){_0x1a6d51=_0x1a6d51-0xe0;let _0x5268db=_0x280727[_0x1a6d51];return _0x5268db;},_0x1a6d(_0x216f46,_0x318c8a);}export function getCommentsV2(_0x5e4d26){const _0x46f0df=_0x1a6d,_0x2ac563=[];if(!_0x5e4d26[_0x46f0df(0x101)])return _0x2ac563;for(const _0x474239 of _0x5e4d26){const _0x5808c0=_0x474239[_0x46f0df(0xf4)][_0x46f0df(0x106)](_0xe0ba29=>({'author':_0xe0ba29[_0x46f0df(0x104)][_0x46f0df(0x118)],'content':_0xe0ba29[_0x46f0df(0xe4)],'created_at':_0xe0ba29[_0x46f0df(0xe9)]}));_0x2ac563[_0x46f0df(0x116)]({'thread_id':_0x474239['id'],'is_resolved':_0x474239[_0x46f0df(0x109)],'comments':_0x5808c0});}return _0x2ac563;}function _0x2807(){const _0x5c2bf9=['resolvedOptions','collaboration_features','@external','push','comment_threads','name','getLabel','authorName','2880028sYjabS','data','content','timeZone','DateTimeFormat','TrackChanges','document','createdAt','getSuggestions','entries','merge_fields','Users','plugins','image','1634906kQSXXE','suggestions','keys','getMergeFieldType','comments','$labels','config','521659lnEypA','getDataSetValues','getCommentThreads','locale','262986opueUF','getDefaultValues','timezone','767979TfBZBr','get','5NwyWKr','length','previewMode','CommentsRepository','author','language','map','200tTqTpK','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','isResolved','5731509SLFNmi','has','users','$defaultValues','MergeFieldsEditing','mergeFields','contentLanguage','1551360fXyaYF','MergeFields'];_0x2807=function(){return _0x5c2bf9;};return _0x2807();}export function getSuggestionsV2(_0x54223c,_0x54022b){const _0x327364=_0x1a6d;return _0x54223c[_0x327364(0x101)]&&_0x54022b[_0x327364(0x101)]?_0x54223c[_0x327364(0x106)](({id:_0x125d5d,createdAt:_0x13e398,authorId:_0x1f54bb,attributes:_0x18e46e})=>{const _0x362b0b=_0x327364,_0x5715eb=_0x18e46e&&_0x18e46e[_0x362b0b(0x115)];return{'id':_0x125d5d,'author':_0x5715eb?_0x5715eb[_0x362b0b(0xe1)]:_0x54022b[_0x362b0b(0xff)](_0x1f54bb)[_0x362b0b(0x118)],'created_at':_0x13e398};}):[];}
23
+ function _0x13b3(_0x37fd1a,_0x3500df){const _0x25a192=_0x25a1();return _0x13b3=function(_0x13b3a2,_0x653921){_0x13b3a2=_0x13b3a2-0x136;let _0x5f204f=_0x25a192[_0x13b3a2];return _0x5f204f;},_0x13b3(_0x37fd1a,_0x3500df);}function _0x25a1(){const _0x2be1c3=['users','isResolved','Users','resolvedOptions','3517040orhBPb','contentLanguage','config','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','locale','authorName','getLabel','previewMode','image','collaboration_features','data','push','suggestions','14424zMpSVA','get','TrackChanges','mergeFields','5140954dgRxhO','getDefaultValues','has','getSuggestions','comment_threads','content','CommentsRepository','plugins','@external','23167168XmYyCN','document','entries','map','language','getDataSetValues','comments','merge_fields','createdAt','author','$labels','2540xefaGy','MergeFields','2211968wYzIyK','length','getMergeFieldType','keys','timeZone','3174630SQNeeV','name','getCommentThreads','DateTimeFormat','979086NcSEBA','$defaultValues','timezone','MergeFieldsEditing'];_0x25a1=function(){return _0x2be1c3;};return _0x25a1();}(function(_0x425015,_0x405d44){const _0x392503=_0x13b3,_0x1e24e3=_0x425015();while(!![]){try{const _0x511eee=parseInt(_0x392503(0x152))/0x1+parseInt(_0x392503(0x149))/0x2+parseInt(_0x392503(0x14e))/0x3+parseInt(_0x392503(0x15a))/0x4+-parseInt(_0x392503(0x147))/0x5*(parseInt(_0x392503(0x167))/0x6)+parseInt(_0x392503(0x16b))/0x7+-parseInt(_0x392503(0x13c))/0x8;if(_0x511eee===_0x405d44)break;else _0x1e24e3['push'](_0x1e24e3['shift']());}catch(_0x2b5933){_0x1e24e3['push'](_0x1e24e3['shift']());}}}(_0x25a1,0x9c35a));export function getConverterOptions(_0x25a691,_0x42df80={}){const _0xb6f6e9=_0x13b3,_0xf16424=_0x25a691[_0xb6f6e9(0x13a)][_0xb6f6e9(0x16d)](_0xb6f6e9(0x158)),_0x579dd4=_0x25a691[_0xb6f6e9(0x13a)][_0xb6f6e9(0x16d)](_0xb6f6e9(0x139)),_0x4a67d4=_0x25a691[_0xb6f6e9(0x13a)][_0xb6f6e9(0x16d)](_0xb6f6e9(0x169)),_0x1379ea=_0x42df80;if(_0xf16424&&_0x579dd4){const _0x2b2d14=getComments(_0x25a691[_0xb6f6e9(0x13a)][_0xb6f6e9(0x168)](_0xb6f6e9(0x139))[_0xb6f6e9(0x150)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0xb6f6e9(0x14c)](_0x2b2d14)[_0xb6f6e9(0x14a)]&&(_0x1379ea[_0xb6f6e9(0x142)]=_0x2b2d14);}if(_0xf16424&&_0x4a67d4){const _0x4e0c00=_0x25a691[_0xb6f6e9(0x13a)][_0xb6f6e9(0x168)](_0xb6f6e9(0x169)),_0x16d0a2=_0x25a691[_0xb6f6e9(0x13a)][_0xb6f6e9(0x168)](_0xb6f6e9(0x158)),_0x5d1b7f=getSuggestions(_0x4e0c00[_0xb6f6e9(0x136)]({'toJSON':!0x0}),_0x16d0a2[_0xb6f6e9(0x156)]);Object[_0xb6f6e9(0x14c)](_0x5d1b7f)[_0xb6f6e9(0x14a)]&&(_0x1379ea[_0xb6f6e9(0x166)]=_0x5d1b7f);}return(_0x1379ea[_0xb6f6e9(0x166)]||_0x1379ea[_0xb6f6e9(0x142)])&&(_0x1379ea[_0xb6f6e9(0x154)]=new Intl[(_0xb6f6e9(0x151))]()[_0xb6f6e9(0x159)]()[_0xb6f6e9(0x14d)]),_0x1379ea;}export function getComments(_0xcce7b7){const _0xac9138=_0x13b3,_0x2e770d={};if(!_0xcce7b7[_0xac9138(0x14a)])return _0x2e770d;for(const _0x3c8a85 of _0xcce7b7)_0x3c8a85[_0xac9138(0x142)][_0xac9138(0x13f)](_0x108ddd=>{const _0x17000a=_0xac9138;void 0x0===_0x2e770d[_0x3c8a85['id']]&&(_0x2e770d[_0x3c8a85['id']]=[]),_0x2e770d[_0x3c8a85['id']][_0x17000a(0x165)]({'author':_0x108ddd[_0x17000a(0x145)][_0x17000a(0x14f)],'content':_0x108ddd[_0x17000a(0x138)],'created':_0x108ddd[_0x17000a(0x144)],'is_resolved':_0x3c8a85[_0x17000a(0x157)]});});return _0x2e770d;}export function getSuggestions(_0x10a33b,_0x14fa5d){const _0x57f43d=_0x13b3,_0x480d15={};if(!_0x10a33b[_0x57f43d(0x14a)]||!_0x14fa5d[_0x57f43d(0x14a)])return _0x480d15;for(const {id:_0xeec3d0,createdAt:_0x598889,authorId:_0x35bff3,attributes:_0x31f309}of _0x10a33b){const _0x2c4f0e=_0x31f309&&_0x31f309[_0x57f43d(0x13b)],_0x11bacc=_0x2c4f0e?_0x2c4f0e[_0x57f43d(0x15f)]:_0x14fa5d[_0x57f43d(0x168)](_0x35bff3)[_0x57f43d(0x14f)];_0x480d15[_0xeec3d0]={'author':_0x11bacc,'created':_0x598889};}return _0x480d15;}export function getConverterOptionsV2(_0x15cb19,_0x527645={}){const _0x573026=_0x13b3,_0x36c677=_0x15cb19[_0x573026(0x13a)][_0x573026(0x16d)](_0x573026(0x158)),_0x5d34f1=_0x15cb19[_0x573026(0x13a)][_0x573026(0x16d)](_0x573026(0x139)),_0x4bb2a4=_0x15cb19[_0x573026(0x13a)][_0x573026(0x16d)](_0x573026(0x169)),_0x49eace=_0x15cb19[_0x573026(0x13a)][_0x573026(0x16d)](_0x573026(0x148)),_0x204202=_0x15cb19[_0x573026(0x15e)][_0x573026(0x15b)],_0x31b95b=_0x527645,_0x1ee927={};if(_0x31b95b[_0x573026(0x13d)]=_0x31b95b[_0x573026(0x13d)]||{},_0x31b95b[_0x573026(0x13d)][_0x573026(0x140)]=_0x31b95b[_0x573026(0x13d)][_0x573026(0x140)]||_0x204202,_0x36c677&&_0x5d34f1){const _0x3a0981=getCommentsV2(_0x15cb19[_0x573026(0x13a)][_0x573026(0x168)](_0x573026(0x139))[_0x573026(0x150)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x3a0981[_0x573026(0x14a)]&&(_0x1ee927[_0x573026(0x137)]=_0x3a0981);}if(_0x36c677&&_0x4bb2a4){const _0x143e86=_0x15cb19[_0x573026(0x13a)][_0x573026(0x168)](_0x573026(0x169)),_0x194e8e=_0x15cb19[_0x573026(0x13a)][_0x573026(0x168)](_0x573026(0x158)),_0x3879b6=getSuggestionsV2(_0x143e86[_0x573026(0x136)]({'toJSON':!0x0}),_0x194e8e[_0x573026(0x156)]);_0x3879b6[_0x573026(0x14a)]&&(_0x1ee927[_0x573026(0x166)]=_0x3879b6);}if(_0x49eace){const _0x226459=_0x15cb19[_0x573026(0x13a)][_0x573026(0x168)](_0x573026(0x155)),_0x33e6d7=_0x226459[_0x573026(0x161)],{prefix:_0x413b7a,suffix:_0x498048}=_0x15cb19[_0x573026(0x15c)][_0x573026(0x168)](_0x573026(0x16a));if(_0x31b95b[_0x573026(0x143)]={'prefix':_0x413b7a,'suffix':_0x498048},_0x573026(0x146)!==_0x33e6d7){_0x31b95b[_0x573026(0x143)][_0x573026(0x164)]={};const _0x593f46=_0x573026(0x15d),_0x95ada=_0x573026(0x153)===_0x33e6d7?_0x226459[_0x573026(0x16c)]():_0x226459[_0x573026(0x141)](_0x33e6d7,!0x0);for(const _0x329c18 of Object[_0x573026(0x13e)](_0x95ada)){const [_0x295f03,_0x54267a]=_0x329c18;_0x573026(0x162)===_0x226459[_0x573026(0x14b)](_0x295f03)?_0x31b95b[_0x573026(0x143)][_0x573026(0x164)][_0x295f03]=null!==_0x54267a?_0x54267a:_0x593f46:_0x31b95b[_0x573026(0x143)][_0x573026(0x164)][_0x295f03]=null!==_0x54267a?_0x54267a:_0x226459[_0x573026(0x160)](_0x295f03)||_0x295f03;}}}return(_0x1ee927[_0x573026(0x137)]||_0x1ee927[_0x573026(0x166)])&&(_0x31b95b[_0x573026(0x154)]=new Intl[(_0x573026(0x151))]()[_0x573026(0x159)]()[_0x573026(0x14d)],_0x31b95b[_0x573026(0x163)]=_0x1ee927),_0x31b95b;}export function getCommentsV2(_0x1ceda1){const _0x57eb08=_0x13b3,_0x576180=[];if(!_0x1ceda1[_0x57eb08(0x14a)])return _0x576180;for(const _0x1dcfc0 of _0x1ceda1){const _0x485684=_0x1dcfc0[_0x57eb08(0x142)][_0x57eb08(0x13f)](_0x134101=>({'author':_0x134101[_0x57eb08(0x145)][_0x57eb08(0x14f)],'content':_0x134101[_0x57eb08(0x138)],'created_at':_0x134101[_0x57eb08(0x144)]}));_0x576180[_0x57eb08(0x165)]({'thread_id':_0x1dcfc0['id'],'is_resolved':_0x1dcfc0[_0x57eb08(0x157)],'comments':_0x485684});}return _0x576180;}export function getSuggestionsV2(_0x6a05ac,_0x53eb93){const _0x54e0ef=_0x13b3;return _0x6a05ac[_0x54e0ef(0x14a)]&&_0x53eb93[_0x54e0ef(0x14a)]?_0x6a05ac[_0x54e0ef(0x13f)](({id:_0x50fc9b,createdAt:_0x154b87,authorId:_0x56cfc2,attributes:_0x4f6ca0})=>{const _0x1cbeb5=_0x54e0ef,_0x5eb3fe=_0x4f6ca0&&_0x4f6ca0[_0x1cbeb5(0x13b)];return{'id':_0x50fc9b,'author':_0x5eb3fe?_0x5eb3fe[_0x1cbeb5(0x15f)]:_0x53eb93[_0x1cbeb5(0x168)](_0x56cfc2)[_0x1cbeb5(0x14f)],'created_at':_0x154b87};}):[];}