@ckeditor/ckeditor5-export-word 44.2.0-alpha.0 → 44.2.0-alpha.10

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.2.0-alpha.0",
3
+ "version": "44.2.0-alpha.10",
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.2.0-alpha.0",
34
- "@ckeditor/ckeditor5-collaboration-core": "44.2.0-alpha.0",
35
- "@ckeditor/ckeditor5-comments": "44.2.0-alpha.0",
36
- "@ckeditor/ckeditor5-core": "44.2.0-alpha.0",
37
- "@ckeditor/ckeditor5-merge-fields": "44.2.0-alpha.0",
38
- "@ckeditor/ckeditor5-track-changes": "44.2.0-alpha.0",
39
- "@ckeditor/ckeditor5-utils": "44.2.0-alpha.0",
40
- "@ckeditor/ckeditor5-ui": "44.2.0-alpha.0",
41
- "ckeditor5": "44.2.0-alpha.0"
33
+ "@ckeditor/ckeditor5-cloud-services": "44.2.0-alpha.10",
34
+ "@ckeditor/ckeditor5-collaboration-core": "44.2.0-alpha.10",
35
+ "@ckeditor/ckeditor5-comments": "44.2.0-alpha.10",
36
+ "@ckeditor/ckeditor5-core": "44.2.0-alpha.10",
37
+ "@ckeditor/ckeditor5-merge-fields": "44.2.0-alpha.10",
38
+ "@ckeditor/ckeditor5-track-changes": "44.2.0-alpha.10",
39
+ "@ckeditor/ckeditor5-utils": "44.2.0-alpha.10",
40
+ "@ckeditor/ckeditor5-ui": "44.2.0-alpha.10",
41
+ "ckeditor5": "44.2.0-alpha.10"
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 _0x16db(_0x123c27,_0x1d3bbe){const _0xfc88b2=_0xfc88();return _0x16db=function(_0x16db2d,_0x4211cd){_0x16db2d=_0x16db2d-0xd1;let _0x1e6d20=_0xfc88b2[_0x16db2d];return _0x1e6d20;},_0x16db(_0x123c27,_0x1d3bbe);}const _0x25fa76=_0x16db;(function(_0x109b9f,_0x4388b6){const _0x2b20cc=_0x16db,_0xc0324a=_0x109b9f();while(!![]){try{const _0x2d34ba=-parseInt(_0x2b20cc(0xed))/0x1*(parseInt(_0x2b20cc(0xeb))/0x2)+parseInt(_0x2b20cc(0xdf))/0x3+parseInt(_0x2b20cc(0xd9))/0x4*(parseInt(_0x2b20cc(0xdc))/0x5)+parseInt(_0x2b20cc(0xda))/0x6+-parseInt(_0x2b20cc(0xd1))/0x7*(-parseInt(_0x2b20cc(0xe5))/0x8)+parseInt(_0x2b20cc(0xec))/0x9+-parseInt(_0x2b20cc(0xe7))/0xa;if(_0x2d34ba===_0x4388b6)break;else _0xc0324a['push'](_0xc0324a['shift']());}catch(_0x3b3692){_0xc0324a['push'](_0xc0324a['shift']());}}}(_0xfc88,0xb3943));import{Plugin as _0x131af8}from'ckeditor5/src/core.js';import{Notification as _0x4d3ffd}from'ckeditor5/src/ui.js';import _0xf78727 from'./exportwordcommand.js';import _0x2accb5 from'./exportwordui.js';function _0xfc88(){const _0x19f77b=['2430738fJLnwb','13XbQSwD','5586jAZsUh','commands','requires','CloudServices','init','plugins','exportWord','editor','20RGbhvd','8651448aNsdSD','tokenUrl','1325755OqvylQ','isOfficialPlugin','isPremiumPlugin','3533106iCkjif','get','_token','pluginName','add','token','14184HhyRgS','registerTokenUrl','36826390QQTbFb','ExportWord','then','config','186478iNXfBk'];_0xfc88=function(){return _0x19f77b;};return _0xfc88();}export default class s extends _0x131af8{static get[_0x25fa76(0xe2)](){const _0x1a1e52=_0x25fa76;return _0x1a1e52(0xe8);}static get[_0x25fa76(0xdd)](){return!0x0;}static get[_0x25fa76(0xde)](){return!0x0;}static get[_0x25fa76(0xd3)](){const _0x212a9b=_0x25fa76;return[_0x212a9b(0xd4),_0x4d3ffd,_0x2accb5];}[_0x25fa76(0xd5)](){const _0x5adf67=_0x25fa76,_0x1b66d3=this[_0x5adf67(0xd8)],_0x339846=_0x1b66d3[_0x5adf67(0xea)][_0x5adf67(0xe0)](_0x5adf67(0xd7))||{};_0x1b66d3[_0x5adf67(0xd2)][_0x5adf67(0xe3)](_0x5adf67(0xd7),new _0xf78727(_0x1b66d3));const _0x578597=_0x1b66d3[_0x5adf67(0xd6)][_0x5adf67(0xe0)](_0x5adf67(0xd4));!0x1===_0x339846[_0x5adf67(0xdb)]?this[_0x5adf67(0xe1)]=null:_0x339846[_0x5adf67(0xdb)]?_0x578597[_0x5adf67(0xe6)](_0x339846[_0x5adf67(0xdb)])[_0x5adf67(0xe9)](_0x13310a=>{const _0x2f3553=_0x5adf67;this[_0x2f3553(0xe1)]=_0x13310a;}):this[_0x5adf67(0xe1)]=_0x578597[_0x5adf67(0xe4)];}}
23
+ const _0x35d328=_0x4fe3;function _0x3573(){const _0x3d2ad3=['2505759xzxtOx','4SYFxKO','tokenUrl','editor','isOfficialPlugin','3603984Motbad','commands','_token','ExportWord','650845bCMLHX','get','requires','registerTokenUrl','47375210HOjsby','89640VDWACC','855ubWUSo','plugins','5940627moHIeZ','isPremiumPlugin','config','add','422581tnlBZJ','pluginName','token','init','then','exportWord','CloudServices','48RcYunq'];_0x3573=function(){return _0x3d2ad3;};return _0x3573();}function _0x4fe3(_0x9de8df,_0x5560fc){const _0x3573d9=_0x3573();return _0x4fe3=function(_0x4fe39e,_0x5e44b2){_0x4fe39e=_0x4fe39e-0xa0;let _0x5d3ec8=_0x3573d9[_0x4fe39e];return _0x5d3ec8;},_0x4fe3(_0x9de8df,_0x5560fc);}(function(_0x318752,_0x3a3bd9){const _0xbe31f6=_0x4fe3,_0x131326=_0x318752();while(!![]){try{const _0x24cff3=parseInt(_0xbe31f6(0xa0))/0x1*(-parseInt(_0xbe31f6(0xa9))/0x2)+parseInt(_0xbe31f6(0xa8))/0x3+-parseInt(_0xbe31f6(0xad))/0x4+-parseInt(_0xbe31f6(0xb1))/0x5*(parseInt(_0xbe31f6(0xa7))/0x6)+-parseInt(_0xbe31f6(0xb9))/0x7+parseInt(_0xbe31f6(0xb6))/0x8*(-parseInt(_0xbe31f6(0xb7))/0x9)+parseInt(_0xbe31f6(0xb5))/0xa;if(_0x24cff3===_0x3a3bd9)break;else _0x131326['push'](_0x131326['shift']());}catch(_0x18f636){_0x131326['push'](_0x131326['shift']());}}}(_0x3573,0xd4ec0));import{Plugin as _0x30d469}from'ckeditor5/src/core.js';import{Notification as _0x5cc6c3}from'ckeditor5/src/ui.js';import _0x2e6513 from'./exportwordcommand.js';import _0x3d43ea from'./exportwordui.js';export default class s extends _0x30d469{static get[_0x35d328(0xa1)](){const _0x15c228=_0x35d328;return _0x15c228(0xb0);}static get[_0x35d328(0xac)](){return!0x0;}static get[_0x35d328(0xba)](){return!0x0;}static get[_0x35d328(0xb3)](){const _0x4ce33=_0x35d328;return[_0x4ce33(0xa6),_0x5cc6c3,_0x3d43ea];}[_0x35d328(0xa3)](){const _0x593e60=_0x35d328,_0x1b275c=this[_0x593e60(0xab)],_0x374448=_0x1b275c[_0x593e60(0xbb)][_0x593e60(0xb2)](_0x593e60(0xa5))||{};_0x1b275c[_0x593e60(0xae)][_0x593e60(0xbc)](_0x593e60(0xa5),new _0x2e6513(_0x1b275c));const _0x999214=_0x1b275c[_0x593e60(0xb8)][_0x593e60(0xb2)](_0x593e60(0xa6));!0x1===_0x374448[_0x593e60(0xaa)]?this[_0x593e60(0xaf)]=null:_0x374448[_0x593e60(0xaa)]?_0x999214[_0x593e60(0xb4)](_0x374448[_0x593e60(0xaa)])[_0x593e60(0xa4)](_0x2816fc=>{const _0x28a203=_0x593e60;this[_0x28a203(0xaf)]=_0x2816fc;}):this[_0x593e60(0xaf)]=_0x999214[_0x593e60(0xa2)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d9744=_0x1585;(function(_0x4ded8e,_0x5cfff0){const _0x153e7a=_0x1585,_0x393c35=_0x4ded8e();while(!![]){try{const _0x168791=-parseInt(_0x153e7a(0x13c))/0x1*(-parseInt(_0x153e7a(0x13d))/0x2)+-parseInt(_0x153e7a(0x140))/0x3+parseInt(_0x153e7a(0x11c))/0x4*(-parseInt(_0x153e7a(0x15e))/0x5)+-parseInt(_0x153e7a(0x13f))/0x6+-parseInt(_0x153e7a(0x12b))/0x7*(parseInt(_0x153e7a(0x163))/0x8)+-parseInt(_0x153e7a(0x13e))/0x9+parseInt(_0x153e7a(0x131))/0xa;if(_0x168791===_0x5cfff0)break;else _0x393c35['push'](_0x393c35['shift']());}catch(_0x2bbd81){_0x393c35['push'](_0x393c35['shift']());}}}(_0x2d79,0x84c63));import{Command as _0x5b2671}from'ckeditor5/src/core.js';import{logWarning as _0x13cb44,collectStylesheets as _0x1bb556}from'ckeditor5/src/utils.js';import{getConverterOptions as _0x5c5bb5,getConverterOptionsV2 as _0x5dd85c}from'./utils.js';import{getTranslation as _0x4f396b}from'./utils/common-translations.js';function _0x1585(_0x7d100d,_0x448c5d){const _0x2d79b0=_0x2d79();return _0x1585=function(_0x1585cf,_0x415d3a){_0x1585cf=_0x1585cf-0x113;let _0x19eb91=_0x2d79b0[_0x1585cf];return _0x19eb91;},_0x1585(_0x7d100d,_0x448c5d);}const h=[_0x4d9744(0x157),_0x4d9744(0x119),_0x4d9744(0x14a),_0x4d9744(0x160),_0x4d9744(0x137),_0x4d9744(0x155),_0x4d9744(0x138),_0x4d9744(0x133),_0x4d9744(0x11e),_0x4d9744(0x134)];function _0x2d79(){const _0x5cf13e=['isBusy','fileName','createElement','Word\x20document\x20export\x20successful','auto_pagination','</div>','EDITOR_STYLES','download','1603qWXOeI','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','function','_downloadFile','get','catch','7844000PBfLFe','fetch','footer','suggestions','click','finally','margin_left','header','refresh','pending','createObjectURL','1rfbyZB','1366510CYiGhq','423279RoCmyP','1202496QDNaie','716448jEBTZb','application/docx','https://docx-converter.cke-cs.com/v1/convert','value','href','data','status','version','application/json','then','margin_right','set','announce','POST','ExportWord','dataCallback','affectsData','editor','export-word-v1-api-is-deprecated','stylesheets','Word\x20document\x20export\x20started','format','converterOptions','orientation','execute','locale','ariaLiveAnnouncer','converterUrl','blob','isEnabled','7985oHinYp','URL','margin_bottom','assertive','document.docx','10376olvJOj','contentLanguageDirection','config','https://docx-converter.cke-cs.com/v2/convert/html-docx','token','options','plugins','margin_top','showWarning','_token','352FftvlH','Notification','comments','Word\x20document\x20export\x20failed','<div\x20class=\x22ck-content\x22\x20dir=\x22','remove','stringify'];_0x2d79=function(){return _0x5cf13e;};return _0x2d79();}export default class e extends _0x5b2671{constructor(_0x58a49b){const _0x570295=_0x4d9744;super(_0x58a49b),this[_0x570295(0x14b)](_0x570295(0x123),!0x1),this[_0x570295(0x150)]=!0x1;}[_0x4d9744(0x139)](){const _0x212a0b=_0x4d9744;this[_0x212a0b(0x15d)]=!this[_0x212a0b(0x123)],this[_0x212a0b(0x143)]=this[_0x212a0b(0x123)]?_0x212a0b(0x13a):void 0x0;}[_0x4d9744(0x158)](_0x587346={}){const _0x370d92=_0x4d9744,_0x2f50bf=this[_0x370d92(0x151)],_0x1c3578=_0x587346[_0x370d92(0x147)]||0x2,_0x3a8ac4=0x1===_0x1c3578,_0x24b5a9=_0x587346[_0x370d92(0x15b)]||(_0x3a8ac4?_0x370d92(0x142):_0x370d92(0x115)),_0xb87bee=_0x587346[_0x370d92(0x156)]||{},_0x16facd=_0x2f50bf[_0x370d92(0x118)][_0x370d92(0x12f)](_0x370d92(0x14e)),_0x4a1d55=_0x587346[_0x370d92(0x116)]||_0x16facd[_0x370d92(0x11b)],_0x4d1ec6=!0x0===_0xb87bee[_0x370d92(0x127)],_0x330930=_0x587346[_0x370d92(0x14f)]||(_0x49b761=>_0x49b761[_0x370d92(0x145)][_0x370d92(0x12f)]({'pagination':_0x4d1ec6}));return 0x2===_0x1c3578&&function(_0x4d3ca7){for(const _0x3b466c of h)if(void 0x0!==_0x4d3ca7[_0x3b466c])return!0x0;return!0x1;}(_0xb87bee)&&_0x13cb44(_0x370d92(0x152)),this[_0x370d92(0x123)]=!0x0,this[_0x370d92(0x139)](),_0x1bb556(_0x587346[_0x370d92(0x153)]||[_0x370d92(0x129)])[_0x370d92(0x149)](async _0x561c3a=>{const _0x2d3a49=_0x370d92;_0x2f50bf['ui'][_0x2d3a49(0x15a)][_0x2d3a49(0x14c)](_0x4f396b(_0x2f50bf[_0x2d3a49(0x159)],_0x2d3a49(0x154)));const _0x4f17cb=await _0x330930(_0x2f50bf),_0x5a4e67={'html':_0x2d3a49(0x120)+_0x2f50bf[_0x2d3a49(0x159)][_0x2d3a49(0x113)]+'\x22>'+_0x4f17cb+_0x2d3a49(0x128),'css':_0x561c3a,[_0x3a8ac4?_0x2d3a49(0x117):_0x2d3a49(0x114)]:{..._0xb87bee,..._0x3a8ac4?_0x5c5bb5(_0x2f50bf,_0xb87bee):_0x5dd85c(_0x2f50bf,_0xb87bee)}},_0x56234e={'method':_0x2d3a49(0x14d),'headers':{'Content-Type':_0x2d3a49(0x148),'Accept':_0x2d3a49(0x141),..._0x4a1d55?{'Authorization':_0x4a1d55[_0x2d3a49(0x143)]}:null},'body':JSON[_0x2d3a49(0x122)](_0x5a4e67)};return window[_0x2d3a49(0x132)](_0x24b5a9,_0x56234e)[_0x2d3a49(0x149)](_0x2930a6=>{const _0x4e6591=_0x2d3a49;if(0xc8!==_0x2930a6[_0x4e6591(0x146)])throw _0x2930a6;return _0x2930a6[_0x4e6591(0x15c)]();})[_0x2d3a49(0x149)](_0x1d1afb=>{const _0x341f52=_0x2d3a49;_0x2f50bf['ui'][_0x341f52(0x15a)][_0x341f52(0x14c)](_0x4f396b(_0x2f50bf[_0x341f52(0x159)],_0x341f52(0x126)));const _0x5b1da0=_0x341f52(0x12d)==typeof _0x587346[_0x341f52(0x124)]?_0x587346[_0x341f52(0x124)]():_0x587346[_0x341f52(0x124)];this[_0x341f52(0x12e)](_0x1d1afb,_0x5b1da0||_0x341f52(0x162));});})[_0x370d92(0x130)](_0x1ebd7f=>{const _0x1e05f2=_0x370d92,_0x10beba=_0x2f50bf[_0x1e05f2(0x118)][_0x1e05f2(0x12f)](_0x1e05f2(0x11d));throw _0x2f50bf['ui'][_0x1e05f2(0x15a)][_0x1e05f2(0x14c)](_0x4f396b(_0x2f50bf[_0x1e05f2(0x159)],_0x1e05f2(0x11f)),{'politeness':_0x1e05f2(0x161)}),_0x10beba[_0x1e05f2(0x11a)](_0x4f396b(_0x2f50bf[_0x1e05f2(0x159)],_0x1e05f2(0x12c))),_0x1ebd7f;})[_0x370d92(0x136)](()=>{const _0x3b0d7d=_0x370d92;this[_0x3b0d7d(0x123)]=!0x1,this[_0x3b0d7d(0x139)]();});}[_0x4d9744(0x12e)](_0x59b467,_0xf7481d){const _0x4d2a70=_0x4d9744,_0x4cb08b=document[_0x4d2a70(0x125)]('a');_0x4cb08b[_0x4d2a70(0x144)]=window[_0x4d2a70(0x15f)][_0x4d2a70(0x13b)](_0x59b467),_0x4cb08b[_0x4d2a70(0x12a)]=_0xf7481d,_0x4cb08b[_0x4d2a70(0x135)](),_0x4cb08b[_0x4d2a70(0x121)]();}}
23
+ const _0x8c09de=_0x2cef;(function(_0x5d7f58,_0x479693){const _0x54dfe9=_0x2cef,_0x123047=_0x5d7f58();while(!![]){try{const _0x506a02=parseInt(_0x54dfe9(0xeb))/0x1*(-parseInt(_0x54dfe9(0xb6))/0x2)+-parseInt(_0x54dfe9(0xc9))/0x3+-parseInt(_0x54dfe9(0x103))/0x4*(-parseInt(_0x54dfe9(0xb9))/0x5)+parseInt(_0x54dfe9(0xb3))/0x6*(parseInt(_0x54dfe9(0xcd))/0x7)+-parseInt(_0x54dfe9(0xed))/0x8+-parseInt(_0x54dfe9(0xd6))/0x9*(-parseInt(_0x54dfe9(0xfa))/0xa)+parseInt(_0x54dfe9(0x104))/0xb*(parseInt(_0x54dfe9(0xe5))/0xc);if(_0x506a02===_0x479693)break;else _0x123047['push'](_0x123047['shift']());}catch(_0x1b36c2){_0x123047['push'](_0x123047['shift']());}}}(_0x2829,0x778cb));import{Command as _0x5257da}from'ckeditor5/src/core.js';import{logWarning as _0xaddb51,collectStylesheets as _0x5e8238}from'ckeditor5/src/utils.js';function _0x2cef(_0x20954b,_0x38a924){const _0x2829cd=_0x2829();return _0x2cef=function(_0x2cef57,_0x40853a){_0x2cef57=_0x2cef57-0xb2;let _0x565bc6=_0x2829cd[_0x2cef57];return _0x565bc6;},_0x2cef(_0x20954b,_0x38a924);}import{getConverterOptions as _0x5483f9,getConverterOptionsV2 as _0x250a01}from'./utils.js';function _0x2829(){const _0x572bc2=['suggestions','set','2770GxfxmW','stringify','POST','_downloadFile','click','remove','finally','locale','margin_right','920cOMYin','99NbIsCG','application/docx','2358mnCTou','format','announce','29734VZiloO','document.docx','<div\x20class=\x22ck-content\x22\x20dir=\x22','11855TjqxTv','isEnabled','https://docx-converter.cke-cs.com/v1/convert','ExportWord','auto_pagination','refresh','get','Word\x20document\x20export\x20successful','download','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','catch','Word\x20document\x20export\x20started','fileName','margin_top','fetch','affectsData','1205136SGOtNB','version','converterUrl','EDITOR_STYLES','707SvASMp','ariaLiveAnnouncer','function','pending','margin_bottom','stylesheets','execute','value','createObjectURL','15363GsQSDB','footer','blob','href','editor','then','header','status','export-word-v1-api-is-deprecated','orientation','token','comments','dataCallback','converterOptions','contentLanguageDirection','451836lsMIFQ','options','margin_left','assertive','config','data','31wMMlgH','Notification','355800DhxIiC','https://docx-converter.cke-cs.com/v2/convert/html-docx','_token','showWarning','URL','createElement','</div>','isBusy','Word\x20document\x20export\x20failed','application/json','plugins'];_0x2829=function(){return _0x572bc2;};return _0x2829();}import{getTranslation as _0x1b1b7d}from'./utils/common-translations.js';const h=[_0x8c09de(0xdf),_0x8c09de(0xc6),_0x8c09de(0x102),_0x8c09de(0xd1),_0x8c09de(0xe7),_0x8c09de(0xb4),_0x8c09de(0xdc),_0x8c09de(0xd7),_0x8c09de(0xe1),_0x8c09de(0xf8)];export default class e extends _0x5257da{constructor(_0x2aaa2c){const _0x329191=_0x8c09de;super(_0x2aaa2c),this[_0x329191(0xf9)](_0x329191(0xf4),!0x1),this[_0x329191(0xc8)]=!0x1;}[_0x8c09de(0xbe)](){const _0x5791e1=_0x8c09de;this[_0x5791e1(0xba)]=!this[_0x5791e1(0xf4)],this[_0x5791e1(0xd4)]=this[_0x5791e1(0xf4)]?_0x5791e1(0xd0):void 0x0;}[_0x8c09de(0xd3)](_0x49d291={}){const _0x4df348=_0x8c09de,_0x4ad79e=this[_0x4df348(0xda)],_0x4e152f=_0x49d291[_0x4df348(0xca)]||0x2,_0x137ddb=0x1===_0x4e152f,_0x31ca79=_0x49d291[_0x4df348(0xcb)]||(_0x137ddb?_0x4df348(0xbb):_0x4df348(0xee)),_0x56e257=_0x49d291[_0x4df348(0xe3)]||{},_0x5d065c=_0x4ad79e[_0x4df348(0xf7)][_0x4df348(0xbf)](_0x4df348(0xbc)),_0x5dc76f=_0x49d291[_0x4df348(0xe0)]||_0x5d065c[_0x4df348(0xef)],_0x3233e4=!0x0===_0x56e257[_0x4df348(0xbd)],_0x42c656=_0x49d291[_0x4df348(0xe2)]||(_0x1f2ace=>_0x1f2ace[_0x4df348(0xea)][_0x4df348(0xbf)]({'pagination':_0x3233e4}));return 0x2===_0x4e152f&&function(_0x2640ca){for(const _0x31acf6 of h)if(void 0x0!==_0x2640ca[_0x31acf6])return!0x0;return!0x1;}(_0x56e257)&&_0xaddb51(_0x4df348(0xde)),this[_0x4df348(0xf4)]=!0x0,this[_0x4df348(0xbe)](),_0x5e8238(_0x49d291[_0x4df348(0xd2)]||[_0x4df348(0xcc)])[_0x4df348(0xdb)](async _0x27d016=>{const _0x74bade=_0x4df348;_0x4ad79e['ui'][_0x74bade(0xce)][_0x74bade(0xb5)](_0x1b1b7d(_0x4ad79e[_0x74bade(0x101)],_0x74bade(0xc4)));const _0x265dbe=await _0x42c656(_0x4ad79e),_0x741a56={'html':_0x74bade(0xb8)+_0x4ad79e[_0x74bade(0x101)][_0x74bade(0xe4)]+'\x22>'+_0x265dbe+_0x74bade(0xf3),'css':_0x27d016,[_0x137ddb?_0x74bade(0xe6):_0x74bade(0xe9)]:{..._0x56e257,..._0x137ddb?_0x5483f9(_0x4ad79e,_0x56e257):_0x250a01(_0x4ad79e,_0x56e257)}},_0x151d1e={'method':_0x74bade(0xfc),'headers':{'Content-Type':_0x74bade(0xf6),'Accept':_0x74bade(0xb2),..._0x5dc76f?{'Authorization':_0x5dc76f[_0x74bade(0xd4)]}:null},'body':JSON[_0x74bade(0xfb)](_0x741a56)};return window[_0x74bade(0xc7)](_0x31ca79,_0x151d1e)[_0x74bade(0xdb)](_0x597432=>{const _0x5e305e=_0x74bade;if(0xc8!==_0x597432[_0x5e305e(0xdd)])throw _0x597432;return _0x597432[_0x5e305e(0xd8)]();})[_0x74bade(0xdb)](_0x214971=>{const _0x14c884=_0x74bade;_0x4ad79e['ui'][_0x14c884(0xce)][_0x14c884(0xb5)](_0x1b1b7d(_0x4ad79e[_0x14c884(0x101)],_0x14c884(0xc0)));const _0x180eb2=_0x14c884(0xcf)==typeof _0x49d291[_0x14c884(0xc5)]?_0x49d291[_0x14c884(0xc5)]():_0x49d291[_0x14c884(0xc5)];this[_0x14c884(0xfd)](_0x214971,_0x180eb2||_0x14c884(0xb7));});})[_0x4df348(0xc3)](_0x4129ee=>{const _0x25e1f6=_0x4df348,_0x1850a3=_0x4ad79e[_0x25e1f6(0xf7)][_0x25e1f6(0xbf)](_0x25e1f6(0xec));throw _0x4ad79e['ui'][_0x25e1f6(0xce)][_0x25e1f6(0xb5)](_0x1b1b7d(_0x4ad79e[_0x25e1f6(0x101)],_0x25e1f6(0xf5)),{'politeness':_0x25e1f6(0xe8)}),_0x1850a3[_0x25e1f6(0xf0)](_0x1b1b7d(_0x4ad79e[_0x25e1f6(0x101)],_0x25e1f6(0xc2))),_0x4129ee;})[_0x4df348(0x100)](()=>{const _0x40f971=_0x4df348;this[_0x40f971(0xf4)]=!0x1,this[_0x40f971(0xbe)]();});}[_0x8c09de(0xfd)](_0x5b4fd3,_0x34684f){const _0x37c343=_0x8c09de,_0x207724=document[_0x37c343(0xf2)]('a');_0x207724[_0x37c343(0xd9)]=window[_0x37c343(0xf1)][_0x37c343(0xd5)](_0x5b4fd3),_0x207724[_0x37c343(0xc1)]=_0x34684f,_0x207724[_0x37c343(0xfe)](),_0x207724[_0x37c343(0xff)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1fde(){const _0x187184=['_createButton','4780188YGBxqa','1464yJYrfP','init','280UfBFhI','isVisible','label','exportWord','ExportWordUI','set','235016kxWYZY','componentFactory','isBusy','view','243446gToXZX','isPremiumPlugin','get','add','commands','13004685FBeoFq','isEnabled','editor','execute','pluginName','18777066zBwZBK','1182tGtypY','bind','focus','Export\x20to\x20Word','1000068AmEYwE','Exporting\x20Word\x20document','65sRZCAW','isOn','menuBar:exportWord','10AdjtCQ','listenTo','editing','config','isOfficialPlugin','children','locale','iconView'];_0x1fde=function(){return _0x187184;};return _0x1fde();}const _0x660096=_0x3a65;(function(_0x1585d7,_0x25c076){const _0x50f8b3=_0x3a65,_0x3c4cf2=_0x1585d7();while(!![]){try{const _0x150764=-parseInt(_0x50f8b3(0x1b8))/0x1+-parseInt(_0x50f8b3(0x1b4))/0x2*(-parseInt(_0x50f8b3(0x1c7))/0x3)+parseInt(_0x50f8b3(0x1cf))/0x4*(parseInt(_0x50f8b3(0x1ba))/0x5)+-parseInt(_0x50f8b3(0x1c6))/0x6+parseInt(_0x50f8b3(0x1d3))/0x7*(parseInt(_0x50f8b3(0x1c9))/0x8)+parseInt(_0x50f8b3(0x1d8))/0x9*(-parseInt(_0x50f8b3(0x1bd))/0xa)+parseInt(_0x50f8b3(0x1b3))/0xb;if(_0x150764===_0x25c076)break;else _0x3c4cf2['push'](_0x3c4cf2['shift']());}catch(_0x21c3ad){_0x3c4cf2['push'](_0x3c4cf2['shift']());}}}(_0x1fde,0xb35fb));import{Plugin as _0x331309}from'ckeditor5/src/core.js';function _0x3a65(_0x558cbd,_0x8ff4ba){const _0x1fde5c=_0x1fde();return _0x3a65=function(_0x3a651e,_0x233477){_0x3a651e=_0x3a651e-0x1b2;let _0xe1785c=_0x1fde5c[_0x3a651e];return _0xe1785c;},_0x3a65(_0x558cbd,_0x8ff4ba);}import{ButtonView as _0x49b261,MenuBarMenuListItemButtonView as _0x330674,SpinnerView as _0x1032bd}from'ckeditor5/src/ui.js';import _0x282eda from'../theme/icons/exportword.svg';import{getTranslation as _0x1852a7}from'./utils/common-translations.js';export default class o extends _0x331309{static get[_0x660096(0x1b2)](){const _0x1a8815=_0x660096;return _0x1a8815(0x1cd);}static get[_0x660096(0x1c1)](){return!0x0;}static get[_0x660096(0x1d4)](){return!0x0;}[_0x660096(0x1c8)](){const _0x2d4c8f=_0x660096,_0x312fa8=this[_0x2d4c8f(0x1da)];_0x312fa8['ui'][_0x2d4c8f(0x1d0)][_0x2d4c8f(0x1d6)](_0x2d4c8f(0x1cc),()=>{const _0xbdded1=_0x2d4c8f,_0x5d0a1e=_0x312fa8[_0xbdded1(0x1d7)][_0xbdded1(0x1d5)](_0xbdded1(0x1cc)),_0x330b96=this[_0xbdded1(0x1c5)](_0x49b261);return _0x330b96[_0xbdded1(0x1ce)]({'tooltip':!0x0}),_0x330b96[_0xbdded1(0x1b5)](_0xbdded1(0x1bb))['to'](_0x5d0a1e,_0xbdded1(0x1d1)),_0x330b96;}),_0x312fa8['ui'][_0x2d4c8f(0x1d0)][_0x2d4c8f(0x1d6)](_0x2d4c8f(0x1bc),()=>this[_0x2d4c8f(0x1c5)](_0x330674));}[_0x660096(0x1c5)](_0x572faf){const _0x32ce35=_0x660096,_0x2fa4d2=this[_0x32ce35(0x1da)],_0x4f8120=_0x2fa4d2[_0x32ce35(0x1c0)][_0x32ce35(0x1d5)](_0x32ce35(0x1cc))||{},_0x4d7253=_0x2fa4d2[_0x32ce35(0x1d7)][_0x32ce35(0x1d5)](_0x32ce35(0x1cc)),_0x39efc6=new _0x572faf(_0x2fa4d2[_0x32ce35(0x1c3)]),_0x295734=new _0x1032bd();return _0x39efc6[_0x32ce35(0x1c2)][_0x32ce35(0x1d6)](_0x295734),_0x295734[_0x32ce35(0x1b5)](_0x32ce35(0x1ca))['to'](_0x4d7253,_0x32ce35(0x1d1)),_0x39efc6[_0x32ce35(0x1c4)][_0x32ce35(0x1b5)](_0x32ce35(0x1ca))['to'](_0x4d7253,_0x32ce35(0x1d1),_0x212838=>!_0x212838),_0x39efc6[_0x32ce35(0x1ce)]({'icon':_0x282eda}),_0x39efc6[_0x32ce35(0x1b5)](_0x32ce35(0x1d9))['to'](_0x4d7253,_0x32ce35(0x1d9)),_0x39efc6[_0x32ce35(0x1b5)](_0x32ce35(0x1cb))['to'](_0x4d7253,_0x32ce35(0x1d1),_0x365e9a=>_0x1852a7(_0x2fa4d2[_0x32ce35(0x1c3)],_0x365e9a?_0x32ce35(0x1b9):_0x32ce35(0x1b7))),this[_0x32ce35(0x1be)](_0x39efc6,_0x32ce35(0x1db),()=>{const _0x3dbb5b=_0x32ce35;_0x2fa4d2[_0x3dbb5b(0x1db)](_0x3dbb5b(0x1cc),_0x4f8120),_0x2fa4d2[_0x3dbb5b(0x1bf)][_0x3dbb5b(0x1d2)][_0x3dbb5b(0x1b6)]();}),_0x39efc6;}}
23
+ function _0x1651(){const _0x2f5b4b=['children','1207164veMcOj','pluginName','execute','810477ezMzDM','exportWord','iconView','editing','isOn','bind','Export\x20to\x20Word','menuBar:exportWord','_createButton','init','get','isEnabled','set','view','focus','843612YtzxrX','commands','locale','ExportWordUI','editor','1023171UKMMme','label','571824GGJuSa','Exporting\x20Word\x20document','isVisible','77888vMWVUf','isOfficialPlugin','add','49228ZxRmSj','2tTpVey','componentFactory','55gjxURj','isBusy','listenTo','config','isPremiumPlugin'];_0x1651=function(){return _0x2f5b4b;};return _0x1651();}function _0x4fab(_0x5e29d8,_0x1fa700){const _0x1651c1=_0x1651();return _0x4fab=function(_0x4fabb6,_0x460174){_0x4fabb6=_0x4fabb6-0x111;let _0x9ffef6=_0x1651c1[_0x4fabb6];return _0x9ffef6;},_0x4fab(_0x5e29d8,_0x1fa700);}const _0x3a1a4d=_0x4fab;(function(_0x163671,_0xaf53c6){const _0x2f419f=_0x4fab,_0x2b5696=_0x163671();while(!![]){try{const _0x168f21=parseInt(_0x2f419f(0x11a))/0x1+-parseInt(_0x2f419f(0x11e))/0x2*(-parseInt(_0x2f419f(0x115))/0x3)+-parseInt(_0x2f419f(0x11d))/0x4*(parseInt(_0x2f419f(0x120))/0x5)+-parseInt(_0x2f419f(0x126))/0x6+parseInt(_0x2f419f(0x138))/0x7+parseInt(_0x2f419f(0x117))/0x8+-parseInt(_0x2f419f(0x129))/0x9;if(_0x168f21===_0xaf53c6)break;else _0x2b5696['push'](_0x2b5696['shift']());}catch(_0x373312){_0x2b5696['push'](_0x2b5696['shift']());}}}(_0x1651,0x2cffb));import{Plugin as _0x3388c3}from'ckeditor5/src/core.js';import{ButtonView as _0x342891,MenuBarMenuListItemButtonView as _0x41f234,SpinnerView as _0x5e47cc}from'ckeditor5/src/ui.js';import _0x29bf31 from'../theme/icons/exportword.svg';import{getTranslation as _0x405643}from'./utils/common-translations.js';export default class o extends _0x3388c3{static get[_0x3a1a4d(0x127)](){const _0x52554d=_0x3a1a4d;return _0x52554d(0x113);}static get[_0x3a1a4d(0x11b)](){return!0x0;}static get[_0x3a1a4d(0x124)](){return!0x0;}[_0x3a1a4d(0x132)](){const _0x3581f8=_0x3a1a4d,_0x56ad7f=this[_0x3581f8(0x114)];_0x56ad7f['ui'][_0x3581f8(0x11f)][_0x3581f8(0x11c)](_0x3581f8(0x12a),()=>{const _0x45cfe2=_0x3581f8,_0x425298=_0x56ad7f[_0x45cfe2(0x111)][_0x45cfe2(0x133)](_0x45cfe2(0x12a)),_0x4425cf=this[_0x45cfe2(0x131)](_0x342891);return _0x4425cf[_0x45cfe2(0x135)]({'tooltip':!0x0}),_0x4425cf[_0x45cfe2(0x12e)](_0x45cfe2(0x12d))['to'](_0x425298,_0x45cfe2(0x121)),_0x4425cf;}),_0x56ad7f['ui'][_0x3581f8(0x11f)][_0x3581f8(0x11c)](_0x3581f8(0x130),()=>this[_0x3581f8(0x131)](_0x41f234));}[_0x3a1a4d(0x131)](_0x33db2c){const _0x5e08cc=_0x3a1a4d,_0x231717=this[_0x5e08cc(0x114)],_0x3af7dd=_0x231717[_0x5e08cc(0x123)][_0x5e08cc(0x133)](_0x5e08cc(0x12a))||{},_0x33e95a=_0x231717[_0x5e08cc(0x111)][_0x5e08cc(0x133)](_0x5e08cc(0x12a)),_0x471f25=new _0x33db2c(_0x231717[_0x5e08cc(0x112)]),_0x1943ae=new _0x5e47cc();return _0x471f25[_0x5e08cc(0x125)][_0x5e08cc(0x11c)](_0x1943ae),_0x1943ae[_0x5e08cc(0x12e)](_0x5e08cc(0x119))['to'](_0x33e95a,_0x5e08cc(0x121)),_0x471f25[_0x5e08cc(0x12b)][_0x5e08cc(0x12e)](_0x5e08cc(0x119))['to'](_0x33e95a,_0x5e08cc(0x121),_0x567172=>!_0x567172),_0x471f25[_0x5e08cc(0x135)]({'icon':_0x29bf31}),_0x471f25[_0x5e08cc(0x12e)](_0x5e08cc(0x134))['to'](_0x33e95a,_0x5e08cc(0x134)),_0x471f25[_0x5e08cc(0x12e)](_0x5e08cc(0x116))['to'](_0x33e95a,_0x5e08cc(0x121),_0x1e6939=>_0x405643(_0x231717[_0x5e08cc(0x112)],_0x1e6939?_0x5e08cc(0x118):_0x5e08cc(0x12f))),this[_0x5e08cc(0x122)](_0x471f25,_0x5e08cc(0x128),()=>{const _0x2d8d16=_0x5e08cc;_0x231717[_0x2d8d16(0x128)](_0x2d8d16(0x12a),_0x3af7dd),_0x231717[_0x2d8d16(0x12c)][_0x2d8d16(0x136)][_0x2d8d16(0x137)]();}),_0x471f25;}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x20eb(){var _0x257bdf=['3945498uATwfb','3869488cpGJJT','602572VXIlDx','5WtEeYS','134750BbwDSQ','1411442tTjyMn','10008922IOEwig','2325501xfiUmF'];_0x20eb=function(){return _0x257bdf;};return _0x20eb();}(function(_0x56eaa3,_0x5a0e3b){var _0x26c8ba=_0x40c3,_0x23c827=_0x56eaa3();while(!![]){try{var _0x39ba19=-parseInt(_0x26c8ba(0x17b))/0x1+-parseInt(_0x26c8ba(0x17c))/0x2+-parseInt(_0x26c8ba(0x17e))/0x3+-parseInt(_0x26c8ba(0x181))/0x4+parseInt(_0x26c8ba(0x17a))/0x5*(parseInt(_0x26c8ba(0x17f))/0x6)+parseInt(_0x26c8ba(0x17d))/0x7+parseInt(_0x26c8ba(0x180))/0x8;if(_0x39ba19===_0x5a0e3b)break;else _0x23c827['push'](_0x23c827['shift']());}catch(_0x45dcd8){_0x23c827['push'](_0x23c827['shift']());}}}(_0x20eb,0xc47e2));export{default as ExportWord}from'./exportword.js';function _0x40c3(_0x50a11a,_0x3a5783){var _0x20eb65=_0x20eb();return _0x40c3=function(_0x40c3de,_0x3390ad){_0x40c3de=_0x40c3de-0x17a;var _0x45aeab=_0x20eb65[_0x40c3de];return _0x45aeab;},_0x40c3(_0x50a11a,_0x3a5783);}import'./augmentation.js';
23
+ (function(_0x238dd1,_0x892dc3){var _0x4def16=_0x17a8,_0x4969e9=_0x238dd1();while(!![]){try{var _0x253930=-parseInt(_0x4def16(0xb2))/0x1+-parseInt(_0x4def16(0xb4))/0x2*(parseInt(_0x4def16(0xad))/0x3)+-parseInt(_0x4def16(0xb5))/0x4*(parseInt(_0x4def16(0xaf))/0x5)+-parseInt(_0x4def16(0xab))/0x6+parseInt(_0x4def16(0xb0))/0x7*(parseInt(_0x4def16(0xae))/0x8)+parseInt(_0x4def16(0xac))/0x9*(-parseInt(_0x4def16(0xb3))/0xa)+parseInt(_0x4def16(0xb1))/0xb;if(_0x253930===_0x892dc3)break;else _0x4969e9['push'](_0x4969e9['shift']());}catch(_0x42ada8){_0x4969e9['push'](_0x4969e9['shift']());}}}(_0x2876,0x9cc52));function _0x17a8(_0x13d409,_0x31ecf6){var _0x287680=_0x2876();return _0x17a8=function(_0x17a884,_0x2e778e){_0x17a884=_0x17a884-0xab;var _0x5325e4=_0x287680[_0x17a884];return _0x5325e4;},_0x17a8(_0x13d409,_0x31ecf6);}function _0x2876(){var _0x2af35c=['82370QYEryV','5918450AofTbi','2mPSSOh','27940SdDhOY','3898506ICgypL','9fBlzKv','1083549snfuZO','440eYMQrm','670bpAwwb','5705zljoZs','35402884zHQvtd'];_0x2876=function(){return _0x2af35c;};return _0x2876();}export{default as ExportWord}from'./exportword.js';import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x2ed9dd,_0x1669ef){const t=_0x2ed9dd['t'];switch(_0x1669ef){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 _0x1669ef;}}
23
+ export function getTranslation(_0x358c94,_0x29d973){const t=_0x358c94['t'];switch(_0x29d973){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 _0x29d973;}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x733c14,_0x422c9c){const _0x22e931=_0x2dae,_0x41fbd1=_0x733c14();while(!![]){try{const _0x25e0b8=-parseInt(_0x22e931(0x163))/0x1+parseInt(_0x22e931(0x193))/0x2*(parseInt(_0x22e931(0x15b))/0x3)+-parseInt(_0x22e931(0x180))/0x4*(-parseInt(_0x22e931(0x185))/0x5)+-parseInt(_0x22e931(0x18b))/0x6*(parseInt(_0x22e931(0x188))/0x7)+-parseInt(_0x22e931(0x186))/0x8*(-parseInt(_0x22e931(0x15d))/0x9)+parseInt(_0x22e931(0x176))/0xa+parseInt(_0x22e931(0x167))/0xb*(-parseInt(_0x22e931(0x179))/0xc);if(_0x25e0b8===_0x422c9c)break;else _0x41fbd1['push'](_0x41fbd1['shift']());}catch(_0x3ba320){_0x41fbd1['push'](_0x41fbd1['shift']());}}}(_0x4685,0xb11c6));function _0x4685(){const _0x5ec09b=['isResolved','@external','get','keys','plugins','push','getCommentThreads','1240418LpoBtl','config','map','CommentsRepository','3aUWcBD','$defaultValues','510687LUCEvP','has','data','image','$labels','TrackChanges','569712PchjOq','timezone','Users','getLabel','14928276NXTVYw','resolvedOptions','users','previewMode','contentLanguage','MergeFields','merge_fields','getDataSetValues','comments','document','authorName','mergeFields','language','getSuggestions','DateTimeFormat','10613840jdNFNK','createdAt','getDefaultValues','12ZHTSSY','entries','locale','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','content','author','MergeFieldsEditing','4146580VLgSNQ','length','collaboration_features','getMergeFieldType','suggestions','5BeNHFD','152hDdeTE','name','7duGFZJ','comment_threads','timeZone','6864486YFPAhW'];_0x4685=function(){return _0x5ec09b;};return _0x4685();}export function getConverterOptions(_0x303826,_0x57bf67={}){const _0x295495=_0x2dae,_0x5479bc=_0x303826[_0x295495(0x190)][_0x295495(0x15e)](_0x295495(0x165)),_0x57ccad=_0x303826[_0x295495(0x190)][_0x295495(0x15e)](_0x295495(0x15a)),_0x3980e5=_0x303826[_0x295495(0x190)][_0x295495(0x15e)](_0x295495(0x162)),_0x78dea0=_0x57bf67;if(_0x5479bc&&_0x57ccad){const _0x5ad7a1=getComments(_0x303826[_0x295495(0x190)][_0x295495(0x18e)](_0x295495(0x15a))[_0x295495(0x192)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x295495(0x18f)](_0x5ad7a1)[_0x295495(0x181)]&&(_0x78dea0[_0x295495(0x16f)]=_0x5ad7a1);}if(_0x5479bc&&_0x3980e5){const _0x58dad3=_0x303826[_0x295495(0x190)][_0x295495(0x18e)](_0x295495(0x162)),_0x43a1c5=_0x303826[_0x295495(0x190)][_0x295495(0x18e)](_0x295495(0x165)),_0x9d14dd=getSuggestions(_0x58dad3[_0x295495(0x174)]({'toJSON':!0x0}),_0x43a1c5[_0x295495(0x169)]);Object[_0x295495(0x18f)](_0x9d14dd)[_0x295495(0x181)]&&(_0x78dea0[_0x295495(0x184)]=_0x9d14dd);}return(_0x78dea0[_0x295495(0x184)]||_0x78dea0[_0x295495(0x16f)])&&(_0x78dea0[_0x295495(0x164)]=new Intl[(_0x295495(0x175))]()[_0x295495(0x168)]()[_0x295495(0x18a)]),_0x78dea0;}function _0x2dae(_0x2aa9df,_0x2a1a0f){const _0x46852a=_0x4685();return _0x2dae=function(_0x2daeb1,_0x517c59){_0x2daeb1=_0x2daeb1-0x159;let _0x2e51d1=_0x46852a[_0x2daeb1];return _0x2e51d1;},_0x2dae(_0x2aa9df,_0x2a1a0f);}export function getComments(_0x22e2e2){const _0x35ecce=_0x2dae,_0x3e9c49={};if(!_0x22e2e2[_0x35ecce(0x181)])return _0x3e9c49;for(const _0x30cfed of _0x22e2e2)_0x30cfed[_0x35ecce(0x16f)][_0x35ecce(0x159)](_0x31c6b3=>{const _0x52fc5a=_0x35ecce;void 0x0===_0x3e9c49[_0x30cfed['id']]&&(_0x3e9c49[_0x30cfed['id']]=[]),_0x3e9c49[_0x30cfed['id']][_0x52fc5a(0x191)]({'author':_0x31c6b3[_0x52fc5a(0x17e)][_0x52fc5a(0x187)],'content':_0x31c6b3[_0x52fc5a(0x17d)],'created':_0x31c6b3[_0x52fc5a(0x177)],'is_resolved':_0x30cfed[_0x52fc5a(0x18c)]});});return _0x3e9c49;}export function getSuggestions(_0x3bc195,_0x52b2d3){const _0x5d1cd3=_0x2dae,_0x52498a={};if(!_0x3bc195[_0x5d1cd3(0x181)]||!_0x52b2d3[_0x5d1cd3(0x181)])return _0x52498a;for(const {id:_0x3fa74c,createdAt:_0x197013,authorId:_0x4b6cf9,attributes:_0x5a99aa}of _0x3bc195){const _0x2a2926=_0x5a99aa&&_0x5a99aa[_0x5d1cd3(0x18d)],_0xa40865=_0x2a2926?_0x2a2926[_0x5d1cd3(0x171)]:_0x52b2d3[_0x5d1cd3(0x18e)](_0x4b6cf9)[_0x5d1cd3(0x187)];_0x52498a[_0x3fa74c]={'author':_0xa40865,'created':_0x197013};}return _0x52498a;}export function getConverterOptionsV2(_0x327752,_0x4447c9={}){const _0x4ccb48=_0x2dae,_0x631f3d=_0x327752[_0x4ccb48(0x190)][_0x4ccb48(0x15e)](_0x4ccb48(0x165)),_0x20509f=_0x327752[_0x4ccb48(0x190)][_0x4ccb48(0x15e)](_0x4ccb48(0x15a)),_0x1ea55d=_0x327752[_0x4ccb48(0x190)][_0x4ccb48(0x15e)](_0x4ccb48(0x162)),_0x59ad7f=_0x327752[_0x4ccb48(0x190)][_0x4ccb48(0x15e)](_0x4ccb48(0x16c)),_0x354dd9=_0x327752[_0x4ccb48(0x17b)][_0x4ccb48(0x16b)],_0x2f56e7=_0x4447c9,_0x26539a={};if(_0x2f56e7[_0x4ccb48(0x170)]=_0x2f56e7[_0x4ccb48(0x170)]||{},_0x2f56e7[_0x4ccb48(0x170)][_0x4ccb48(0x173)]=_0x2f56e7[_0x4ccb48(0x170)][_0x4ccb48(0x173)]||_0x354dd9,_0x631f3d&&_0x20509f){const _0x1a5a4f=getCommentsV2(_0x327752[_0x4ccb48(0x190)][_0x4ccb48(0x18e)](_0x4ccb48(0x15a))[_0x4ccb48(0x192)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x1a5a4f[_0x4ccb48(0x181)]&&(_0x26539a[_0x4ccb48(0x189)]=_0x1a5a4f);}if(_0x631f3d&&_0x1ea55d){const _0xd18fcf=_0x327752[_0x4ccb48(0x190)][_0x4ccb48(0x18e)](_0x4ccb48(0x162)),_0x462a47=_0x327752[_0x4ccb48(0x190)][_0x4ccb48(0x18e)](_0x4ccb48(0x165)),_0xc75253=getSuggestionsV2(_0xd18fcf[_0x4ccb48(0x174)]({'toJSON':!0x0}),_0x462a47[_0x4ccb48(0x169)]);_0xc75253[_0x4ccb48(0x181)]&&(_0x26539a[_0x4ccb48(0x184)]=_0xc75253);}if(_0x59ad7f){const _0x3dbc33=_0x327752[_0x4ccb48(0x190)][_0x4ccb48(0x18e)](_0x4ccb48(0x17f)),_0x565fd4=_0x3dbc33[_0x4ccb48(0x16a)],{prefix:_0x4bf774,suffix:_0x1a89a2}=_0x327752[_0x4ccb48(0x194)][_0x4ccb48(0x18e)](_0x4ccb48(0x172));if(_0x2f56e7[_0x4ccb48(0x16d)]={'prefix':_0x4bf774,'suffix':_0x1a89a2},_0x4ccb48(0x161)!==_0x565fd4){_0x2f56e7[_0x4ccb48(0x16d)][_0x4ccb48(0x15f)]={};const _0x3a03b8=_0x4ccb48(0x17c),_0x5c55fb=_0x4ccb48(0x15c)===_0x565fd4?_0x3dbc33[_0x4ccb48(0x178)]():_0x3dbc33[_0x4ccb48(0x16e)](_0x565fd4,!0x0);for(const _0x57dea5 of Object[_0x4ccb48(0x17a)](_0x5c55fb)){const [_0x4ae0e0,_0x20c0e1]=_0x57dea5;_0x4ccb48(0x160)===_0x3dbc33[_0x4ccb48(0x183)](_0x4ae0e0)?_0x2f56e7[_0x4ccb48(0x16d)][_0x4ccb48(0x15f)][_0x4ae0e0]=null!==_0x20c0e1?_0x20c0e1:_0x3a03b8:_0x2f56e7[_0x4ccb48(0x16d)][_0x4ccb48(0x15f)][_0x4ae0e0]=null!==_0x20c0e1?_0x20c0e1:_0x3dbc33[_0x4ccb48(0x166)](_0x4ae0e0)||_0x4ae0e0;}}}return(_0x26539a[_0x4ccb48(0x189)]||_0x26539a[_0x4ccb48(0x184)])&&(_0x2f56e7[_0x4ccb48(0x164)]=new Intl[(_0x4ccb48(0x175))]()[_0x4ccb48(0x168)]()[_0x4ccb48(0x18a)],_0x2f56e7[_0x4ccb48(0x182)]=_0x26539a),_0x2f56e7;}export function getCommentsV2(_0x126fa6){const _0x45dcd8=_0x2dae,_0x3ad1d2=[];if(!_0x126fa6[_0x45dcd8(0x181)])return _0x3ad1d2;for(const _0x4e579f of _0x126fa6){const _0x2afb05=_0x4e579f[_0x45dcd8(0x16f)][_0x45dcd8(0x159)](_0x2d1df6=>({'author':_0x2d1df6[_0x45dcd8(0x17e)][_0x45dcd8(0x187)],'content':_0x2d1df6[_0x45dcd8(0x17d)],'created_at':_0x2d1df6[_0x45dcd8(0x177)]}));_0x3ad1d2[_0x45dcd8(0x191)]({'thread_id':_0x4e579f['id'],'is_resolved':_0x4e579f[_0x45dcd8(0x18c)],'comments':_0x2afb05});}return _0x3ad1d2;}export function getSuggestionsV2(_0x204f4d,_0x128f9b){const _0x7f0574=_0x2dae;return _0x204f4d[_0x7f0574(0x181)]&&_0x128f9b[_0x7f0574(0x181)]?_0x204f4d[_0x7f0574(0x159)](({id:_0x5c6886,createdAt:_0x4c0adb,authorId:_0x5a8c50,attributes:_0x34b797})=>{const _0x2c1630=_0x7f0574,_0x2d9974=_0x34b797&&_0x34b797[_0x2c1630(0x18d)];return{'id':_0x5c6886,'author':_0x2d9974?_0x2d9974[_0x2c1630(0x171)]:_0x128f9b[_0x2c1630(0x18e)](_0x5a8c50)[_0x2c1630(0x187)],'created_at':_0x4c0adb};}):[];}
23
+ (function(_0x47a37c,_0x32415a){const _0x420cb5=_0x5901,_0x3dca33=_0x47a37c();while(!![]){try{const _0x4a9ca0=parseInt(_0x420cb5(0x204))/0x1+parseInt(_0x420cb5(0x208))/0x2*(parseInt(_0x420cb5(0x1f9))/0x3)+parseInt(_0x420cb5(0x1e7))/0x4*(-parseInt(_0x420cb5(0x1e9))/0x5)+-parseInt(_0x420cb5(0x1ed))/0x6*(parseInt(_0x420cb5(0x1fe))/0x7)+-parseInt(_0x420cb5(0x202))/0x8*(parseInt(_0x420cb5(0x20e))/0x9)+parseInt(_0x420cb5(0x20c))/0xa+-parseInt(_0x420cb5(0x21a))/0xb;if(_0x4a9ca0===_0x32415a)break;else _0x3dca33['push'](_0x3dca33['shift']());}catch(_0x3ee3e1){_0x3dca33['push'](_0x3dca33['shift']());}}}(_0x59ca,0x991e7));function _0x59ca(){const _0x2cfd23=['previewMode','keys','DateTimeFormat','get','image','comment_threads','9wCAYLG','Users','resolvedOptions','getSuggestions','getDataSetValues','162183bcmpbN','contentLanguage','map','language','128kjdasA','name','1002561EHzHuB','document','locale','collaboration_features','368206ievmau','$labels','getCommentThreads','users','12213040ZGMmcx','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','555642RrnNek','getMergeFieldType','entries','author','push','merge_fields','mergeFields','comments','MergeFields','has','data','createdAt','3042831UsdEty','length','content','MergeFieldsEditing','suggestions','CommentsRepository','timezone','getDefaultValues','4HduAfY','getLabel','2453485YwXmUi','TrackChanges','isResolved','$defaultValues','102OxoejC','timeZone','authorName','config','@external','plugins'];_0x59ca=function(){return _0x2cfd23;};return _0x59ca();}export function getConverterOptions(_0x1f50e3,_0x50115a={}){const _0x31275e=_0x5901,_0x288266=_0x1f50e3[_0x31275e(0x1f2)][_0x31275e(0x217)](_0x31275e(0x1fa)),_0x59cd2f=_0x1f50e3[_0x31275e(0x1f2)][_0x31275e(0x217)](_0x31275e(0x1e4)),_0x42d7c5=_0x1f50e3[_0x31275e(0x1f2)][_0x31275e(0x217)](_0x31275e(0x1ea)),_0x53575f=_0x50115a;if(_0x288266&&_0x59cd2f){const _0x56916c=getComments(_0x1f50e3[_0x31275e(0x1f2)][_0x31275e(0x1f6)](_0x31275e(0x1e4))[_0x31275e(0x20a)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x31275e(0x1f4)](_0x56916c)[_0x31275e(0x21b)]&&(_0x53575f[_0x31275e(0x215)]=_0x56916c);}if(_0x288266&&_0x42d7c5){const _0x242460=_0x1f50e3[_0x31275e(0x1f2)][_0x31275e(0x1f6)](_0x31275e(0x1ea)),_0x27ce86=_0x1f50e3[_0x31275e(0x1f2)][_0x31275e(0x1f6)](_0x31275e(0x1fa)),_0x4bea14=getSuggestions(_0x242460[_0x31275e(0x1fc)]({'toJSON':!0x0}),_0x27ce86[_0x31275e(0x20b)]);Object[_0x31275e(0x1f4)](_0x4bea14)[_0x31275e(0x21b)]&&(_0x53575f[_0x31275e(0x21e)]=_0x4bea14);}return(_0x53575f[_0x31275e(0x21e)]||_0x53575f[_0x31275e(0x215)])&&(_0x53575f[_0x31275e(0x1e5)]=new Intl[(_0x31275e(0x1f5))]()[_0x31275e(0x1fb)]()[_0x31275e(0x1ee)]),_0x53575f;}export function getComments(_0x10152b){const _0x1a9d66=_0x5901,_0x492c23={};if(!_0x10152b[_0x1a9d66(0x21b)])return _0x492c23;for(const _0x458fa9 of _0x10152b)_0x458fa9[_0x1a9d66(0x215)][_0x1a9d66(0x200)](_0x5495c0=>{const _0x23d7d2=_0x1a9d66;void 0x0===_0x492c23[_0x458fa9['id']]&&(_0x492c23[_0x458fa9['id']]=[]),_0x492c23[_0x458fa9['id']][_0x23d7d2(0x212)]({'author':_0x5495c0[_0x23d7d2(0x211)][_0x23d7d2(0x203)],'content':_0x5495c0[_0x23d7d2(0x21c)],'created':_0x5495c0[_0x23d7d2(0x219)],'is_resolved':_0x458fa9[_0x23d7d2(0x1eb)]});});return _0x492c23;}function _0x5901(_0x3112cc,_0x4c7bc9){const _0x59ca40=_0x59ca();return _0x5901=function(_0x59017a,_0x5d20a4){_0x59017a=_0x59017a-0x1e4;let _0xfb0634=_0x59ca40[_0x59017a];return _0xfb0634;},_0x5901(_0x3112cc,_0x4c7bc9);}export function getSuggestions(_0x29383c,_0x813f00){const _0x3a3f08=_0x5901,_0x84a440={};if(!_0x29383c[_0x3a3f08(0x21b)]||!_0x813f00[_0x3a3f08(0x21b)])return _0x84a440;for(const {id:_0x112310,createdAt:_0x30eba1,authorId:_0x167c4c,attributes:_0x363a2d}of _0x29383c){const _0x38cb68=_0x363a2d&&_0x363a2d[_0x3a3f08(0x1f1)],_0x2e5eda=_0x38cb68?_0x38cb68[_0x3a3f08(0x1ef)]:_0x813f00[_0x3a3f08(0x1f6)](_0x167c4c)[_0x3a3f08(0x203)];_0x84a440[_0x112310]={'author':_0x2e5eda,'created':_0x30eba1};}return _0x84a440;}export function getConverterOptionsV2(_0x6f767a,_0x816796={}){const _0xf177d4=_0x5901,_0x15680e=_0x6f767a[_0xf177d4(0x1f2)][_0xf177d4(0x217)](_0xf177d4(0x1fa)),_0x4fe917=_0x6f767a[_0xf177d4(0x1f2)][_0xf177d4(0x217)](_0xf177d4(0x1e4)),_0x12c9af=_0x6f767a[_0xf177d4(0x1f2)][_0xf177d4(0x217)](_0xf177d4(0x1ea)),_0x37af76=_0x6f767a[_0xf177d4(0x1f2)][_0xf177d4(0x217)](_0xf177d4(0x216)),_0x34b8f0=_0x6f767a[_0xf177d4(0x206)][_0xf177d4(0x1ff)],_0xe89132=_0x816796,_0x5d7c83={};if(_0xe89132[_0xf177d4(0x205)]=_0xe89132[_0xf177d4(0x205)]||{},_0xe89132[_0xf177d4(0x205)][_0xf177d4(0x201)]=_0xe89132[_0xf177d4(0x205)][_0xf177d4(0x201)]||_0x34b8f0,_0x15680e&&_0x4fe917){const _0x5245b8=getCommentsV2(_0x6f767a[_0xf177d4(0x1f2)][_0xf177d4(0x1f6)](_0xf177d4(0x1e4))[_0xf177d4(0x20a)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x5245b8[_0xf177d4(0x21b)]&&(_0x5d7c83[_0xf177d4(0x1f8)]=_0x5245b8);}if(_0x15680e&&_0x12c9af){const _0x553f2b=_0x6f767a[_0xf177d4(0x1f2)][_0xf177d4(0x1f6)](_0xf177d4(0x1ea)),_0x24625f=_0x6f767a[_0xf177d4(0x1f2)][_0xf177d4(0x1f6)](_0xf177d4(0x1fa)),_0x4fdb68=getSuggestionsV2(_0x553f2b[_0xf177d4(0x1fc)]({'toJSON':!0x0}),_0x24625f[_0xf177d4(0x20b)]);_0x4fdb68[_0xf177d4(0x21b)]&&(_0x5d7c83[_0xf177d4(0x21e)]=_0x4fdb68);}if(_0x37af76){const _0x5ef995=_0x6f767a[_0xf177d4(0x1f2)][_0xf177d4(0x1f6)](_0xf177d4(0x21d)),_0x573226=_0x5ef995[_0xf177d4(0x1f3)],{prefix:_0x27d825,suffix:_0x1d69b3}=_0x6f767a[_0xf177d4(0x1f0)][_0xf177d4(0x1f6)](_0xf177d4(0x214));if(_0xe89132[_0xf177d4(0x213)]={'prefix':_0x27d825,'suffix':_0x1d69b3},_0xf177d4(0x209)!==_0x573226){_0xe89132[_0xf177d4(0x213)][_0xf177d4(0x218)]={};const _0x1e2aa6=_0xf177d4(0x20d),_0x3918ce=_0xf177d4(0x1ec)===_0x573226?_0x5ef995[_0xf177d4(0x1e6)]():_0x5ef995[_0xf177d4(0x1fd)](_0x573226,!0x0);for(const _0x1c67a1 of Object[_0xf177d4(0x210)](_0x3918ce)){const [_0x347062,_0x17ee65]=_0x1c67a1;_0xf177d4(0x1f7)===_0x5ef995[_0xf177d4(0x20f)](_0x347062)?_0xe89132[_0xf177d4(0x213)][_0xf177d4(0x218)][_0x347062]=null!==_0x17ee65?_0x17ee65:_0x1e2aa6:_0xe89132[_0xf177d4(0x213)][_0xf177d4(0x218)][_0x347062]=null!==_0x17ee65?_0x17ee65:_0x5ef995[_0xf177d4(0x1e8)](_0x347062)||_0x347062;}}}return(_0x5d7c83[_0xf177d4(0x1f8)]||_0x5d7c83[_0xf177d4(0x21e)])&&(_0xe89132[_0xf177d4(0x1e5)]=new Intl[(_0xf177d4(0x1f5))]()[_0xf177d4(0x1fb)]()[_0xf177d4(0x1ee)],_0xe89132[_0xf177d4(0x207)]=_0x5d7c83),_0xe89132;}export function getCommentsV2(_0x5ce34c){const _0x47a089=_0x5901,_0x94c27=[];if(!_0x5ce34c[_0x47a089(0x21b)])return _0x94c27;for(const _0x27b6a7 of _0x5ce34c){const _0x197ce3=_0x27b6a7[_0x47a089(0x215)][_0x47a089(0x200)](_0xf530df=>({'author':_0xf530df[_0x47a089(0x211)][_0x47a089(0x203)],'content':_0xf530df[_0x47a089(0x21c)],'created_at':_0xf530df[_0x47a089(0x219)]}));_0x94c27[_0x47a089(0x212)]({'thread_id':_0x27b6a7['id'],'is_resolved':_0x27b6a7[_0x47a089(0x1eb)],'comments':_0x197ce3});}return _0x94c27;}export function getSuggestionsV2(_0x4ec8f2,_0x1c6982){const _0x29bee9=_0x5901;return _0x4ec8f2[_0x29bee9(0x21b)]&&_0x1c6982[_0x29bee9(0x21b)]?_0x4ec8f2[_0x29bee9(0x200)](({id:_0x17fb36,createdAt:_0x16548c,authorId:_0x522fe7,attributes:_0x14ac37})=>{const _0x58e305=_0x29bee9,_0x4e6130=_0x14ac37&&_0x14ac37[_0x58e305(0x1f1)];return{'id':_0x17fb36,'author':_0x4e6130?_0x4e6130[_0x58e305(0x1ef)]:_0x1c6982[_0x58e305(0x1f6)](_0x522fe7)[_0x58e305(0x203)],'created_at':_0x16548c};}):[];}