@ckeditor/ckeditor5-export-word 47.0.0-alpha.1 → 47.0.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/build/export-word.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +11 -11
  150. package/src/exportword.js +1 -1
  151. package/src/exportwordcommand.js +1 -1
  152. package/src/exportwordui.js +1 -1
  153. package/src/index.js +1 -1
  154. package/src/utils/common-translations.js +1 -1
  155. package/src/utils.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-export-word",
3
- "version": "47.0.0-alpha.1",
3
+ "version": "47.0.0-alpha.2",
4
4
  "description": "Export to Word feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -30,16 +30,16 @@
30
30
  "type": "module",
31
31
  "main": "src/index.js",
32
32
  "dependencies": {
33
- "@ckeditor/ckeditor5-cloud-services": "47.0.0-alpha.1",
34
- "@ckeditor/ckeditor5-collaboration-core": "47.0.0-alpha.1",
35
- "@ckeditor/ckeditor5-comments": "47.0.0-alpha.1",
36
- "@ckeditor/ckeditor5-core": "47.0.0-alpha.1",
37
- "@ckeditor/ckeditor5-icons": "47.0.0-alpha.1",
38
- "@ckeditor/ckeditor5-merge-fields": "47.0.0-alpha.1",
39
- "@ckeditor/ckeditor5-track-changes": "47.0.0-alpha.1",
40
- "@ckeditor/ckeditor5-utils": "47.0.0-alpha.1",
41
- "@ckeditor/ckeditor5-ui": "47.0.0-alpha.1",
42
- "ckeditor5": "47.0.0-alpha.1"
33
+ "@ckeditor/ckeditor5-cloud-services": "47.0.0-alpha.2",
34
+ "@ckeditor/ckeditor5-collaboration-core": "47.0.0-alpha.2",
35
+ "@ckeditor/ckeditor5-comments": "47.0.0-alpha.2",
36
+ "@ckeditor/ckeditor5-core": "47.0.0-alpha.2",
37
+ "@ckeditor/ckeditor5-icons": "47.0.0-alpha.2",
38
+ "@ckeditor/ckeditor5-merge-fields": "47.0.0-alpha.2",
39
+ "@ckeditor/ckeditor5-track-changes": "47.0.0-alpha.2",
40
+ "@ckeditor/ckeditor5-utils": "47.0.0-alpha.2",
41
+ "@ckeditor/ckeditor5-ui": "47.0.0-alpha.2",
42
+ "ckeditor5": "47.0.0-alpha.2"
43
43
  },
44
44
  "license": "SEE LICENSE IN LICENSE.md",
45
45
  "author": "CKSource (https://cksource.com/)",
package/src/exportword.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e070d=_0x2e4c;(function(_0x51ee61,_0x21db83){const _0x31392b=_0x2e4c,_0x45af4a=_0x51ee61();while(!![]){try{const _0x1d360b=-parseInt(_0x31392b(0x9d))/0x1+-parseInt(_0x31392b(0xab))/0x2+parseInt(_0x31392b(0x9e))/0x3+-parseInt(_0x31392b(0xb6))/0x4+parseInt(_0x31392b(0xa5))/0x5*(-parseInt(_0x31392b(0xb7))/0x6)+parseInt(_0x31392b(0xa2))/0x7*(parseInt(_0x31392b(0xa0))/0x8)+-parseInt(_0x31392b(0xac))/0x9*(parseInt(_0x31392b(0xae))/0xa);if(_0x1d360b===_0x21db83)break;else _0x45af4a['push'](_0x45af4a['shift']());}catch(_0x5bca02){_0x45af4a['push'](_0x45af4a['shift']());}}}(_0x29ea,0x9f22b));import{Plugin as _0x2946ef}from'ckeditor5/src/core.js';import{Notification as _0x71e4c4}from'ckeditor5/src/ui.js';function _0x29ea(){const _0x5923d8=['672990WfqUBJ','tokenUrl','editor','commands','CloudServices','requires','exportWord','config','778948RCsjEa','738FqhAwq','then','isPremiumPlugin','670171yQFmBe','3734376ENXRda','isOfficialPlugin','8TVrDLZ','add','6596555jwhECB','registerTokenUrl','init','265eNUDMI','plugins','ExportWord','get','_token','pluginName','1193224eLhsjl','9JizJoH','token'];_0x29ea=function(){return _0x5923d8;};return _0x29ea();}function _0x2e4c(_0xa55350,_0x4ba949){const _0x29ea90=_0x29ea();return _0x2e4c=function(_0x2e4c04,_0x152015){_0x2e4c04=_0x2e4c04-0x9b;let _0x54764e=_0x29ea90[_0x2e4c04];return _0x54764e;},_0x2e4c(_0xa55350,_0x4ba949);}import{ExportWordCommand as _0x523f1a}from'./exportwordcommand.js';import{ExportWordUI as _0x3bade0}from'./exportwordui.js';export class ExportWord extends _0x2946ef{[_0x4e070d(0xa9)];static get[_0x4e070d(0xaa)](){const _0x543489=_0x4e070d;return _0x543489(0xa7);}static get[_0x4e070d(0x9f)](){return!0x0;}static get[_0x4e070d(0x9c)](){return!0x0;}static get[_0x4e070d(0xb3)](){const _0x11c6e2=_0x4e070d;return[_0x11c6e2(0xb2),_0x71e4c4,_0x3bade0];}[_0x4e070d(0xa4)](){const _0x4eb353=_0x4e070d,_0x24f00b=this[_0x4eb353(0xb0)],_0x9fef91=_0x24f00b[_0x4eb353(0xb5)][_0x4eb353(0xa8)](_0x4eb353(0xb4))||{};_0x24f00b[_0x4eb353(0xb1)][_0x4eb353(0xa1)](_0x4eb353(0xb4),new _0x523f1a(_0x24f00b));const _0xcb107=_0x24f00b[_0x4eb353(0xa6)][_0x4eb353(0xa8)](_0x4eb353(0xb2));!0x1===_0x9fef91[_0x4eb353(0xaf)]?this[_0x4eb353(0xa9)]=null:_0x9fef91[_0x4eb353(0xaf)]?_0xcb107[_0x4eb353(0xa3)](_0x9fef91[_0x4eb353(0xaf)])[_0x4eb353(0x9b)](_0x1e6e30=>{const _0x3e98a5=_0x4eb353;this[_0x3e98a5(0xa9)]=_0x1e6e30;}):this[_0x4eb353(0xa9)]=_0xcb107[_0x4eb353(0xad)];}}
23
+ const _0x4e7693=_0x2f4e;(function(_0x4cf739,_0x40941a){const _0x32f355=_0x2f4e,_0x34189d=_0x4cf739();while(!![]){try{const _0xd76f61=parseInt(_0x32f355(0x15f))/0x1*(-parseInt(_0x32f355(0x173))/0x2)+parseInt(_0x32f355(0x169))/0x3*(parseInt(_0x32f355(0x16f))/0x4)+parseInt(_0x32f355(0x162))/0x5*(-parseInt(_0x32f355(0x165))/0x6)+parseInt(_0x32f355(0x163))/0x7*(-parseInt(_0x32f355(0x16c))/0x8)+parseInt(_0x32f355(0x174))/0x9+-parseInt(_0x32f355(0x161))/0xa*(-parseInt(_0x32f355(0x167))/0xb)+parseInt(_0x32f355(0x17a))/0xc*(parseInt(_0x32f355(0x176))/0xd);if(_0xd76f61===_0x40941a)break;else _0x34189d['push'](_0x34189d['shift']());}catch(_0x287fd5){_0x34189d['push'](_0x34189d['shift']());}}}(_0x55ae,0x29f9b));import{Plugin as _0x43854f}from'ckeditor5/src/core.js';import{Notification as _0x51c96c}from'ckeditor5/src/ui.js';import{ExportWordCommand as _0x7ce2f8}from'./exportwordcommand.js';import{ExportWordUI as _0x782b1c}from'./exportwordui.js';function _0x2f4e(_0x1c18a4,_0x29ee9b){const _0x55aefe=_0x55ae();return _0x2f4e=function(_0x2f4e26,_0x337f1b){_0x2f4e26=_0x2f4e26-0x15b;let _0x48c098=_0x55aefe[_0x2f4e26];return _0x48c098;},_0x2f4e(_0x1c18a4,_0x29ee9b);}function _0x55ae(){const _0x373150=['11PcJfyq','requires','1611cnXtpT','isOfficialPlugin','then','2577816UDTZwE','init','pluginName','2152Jpkdrk','CloudServices','isPremiumPlugin','add','246HVuEZY','2680677KIPRcK','plugins','90038IGAodo','editor','config','exportWord','168hsvDMX','tokenUrl','_token','get','commands','496iuMKFc','ExportWord','244910OfbsHB','191310eEPAZO','7desFLY','token','24EZqGyC','registerTokenUrl'];_0x55ae=function(){return _0x373150;};return _0x55ae();}export class ExportWord extends _0x43854f{[_0x4e7693(0x15c)];static get[_0x4e7693(0x16e)](){const _0x2fd615=_0x4e7693;return _0x2fd615(0x160);}static get[_0x4e7693(0x16a)](){return!0x0;}static get[_0x4e7693(0x171)](){return!0x0;}static get[_0x4e7693(0x168)](){const _0x6033a6=_0x4e7693;return[_0x6033a6(0x170),_0x51c96c,_0x782b1c];}[_0x4e7693(0x16d)](){const _0x210348=_0x4e7693,_0x3cd53f=this[_0x210348(0x177)],_0x1cf73a=_0x3cd53f[_0x210348(0x178)][_0x210348(0x15d)](_0x210348(0x179))||{};_0x3cd53f[_0x210348(0x15e)][_0x210348(0x172)](_0x210348(0x179),new _0x7ce2f8(_0x3cd53f));const _0x450390=_0x3cd53f[_0x210348(0x175)][_0x210348(0x15d)](_0x210348(0x170));!0x1===_0x1cf73a[_0x210348(0x15b)]?this[_0x210348(0x15c)]=null:_0x1cf73a[_0x210348(0x15b)]?_0x450390[_0x210348(0x166)](_0x1cf73a[_0x210348(0x15b)])[_0x210348(0x16b)](_0xc54a76=>{const _0x40b08d=_0x210348;this[_0x40b08d(0x15c)]=_0xc54a76;}):this[_0x210348(0x15c)]=_0x450390[_0x210348(0x164)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1431(_0x49b20a,_0x3337c9){const _0x583031=_0x5830();return _0x1431=function(_0x143103,_0xcdb102){_0x143103=_0x143103-0x1db;let _0x146f7c=_0x583031[_0x143103];return _0x146f7c;},_0x1431(_0x49b20a,_0x3337c9);}const _0x106f48=_0x1431;function _0x5830(){const _0x280f5e=['https://docx-converter.cke-cs.com/v1/convert','</div>','suggestions','href','POST','fetch','87kGdWIQ','margin_left','52889628wajKKk','status','<div\x20class=\x22ck-content\x22\x20dir=\x22','contentLanguageDirection','then','finally','remove','createObjectURL','footer','693869zAULHi','set','ariaLiveAnnouncer','refresh','editor','7830666FsSnXn','version','value','_token','showWarning','Notification','token','affectsData','2668BEMhtn','application/json','100LRXmWr','header','orientation','URL','Word\x20document\x20export\x20successful','18OfcYto','isEnabled','margin_bottom','https://docx-converter.cke-cs.com/v2/convert/html-docx','locale','data','dataCallback','assertive','stringify','EDITOR_STYLES','blob','ExportWord','Word\x20document\x20export\x20failed','converterOptions','execute','config','get','plugins','auto_pagination','stylesheets','isBusy','comments','converterUrl','createElement','17408601gdTKmw','options','pending','format','64tsYraI','document.docx','1084321mDTuAX','margin_right','download','export-word-v1-api-is-deprecated','announce','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','_downloadFile','function','click','5TreoEi','1204408MhkglG','fileName','Word\x20document\x20export\x20started','application/docx','catch','margin_top'];_0x5830=function(){return _0x280f5e;};return _0x5830();}(function(_0x4c0bba,_0x4f80fb){const _0x493013=_0x1431,_0xcd31b5=_0x4c0bba();while(!![]){try{const _0x5529f0=parseInt(_0x493013(0x1fa))/0x1*(-parseInt(_0x493013(0x212))/0x2)+parseInt(_0x493013(0x219))/0x3*(parseInt(_0x493013(0x1ee))/0x4)+parseInt(_0x493013(0x1ed))/0x5*(-parseInt(_0x493013(0x20a))/0x6)+parseInt(_0x493013(0x1e4))/0x7*(-parseInt(_0x493013(0x1e2))/0x8)+-parseInt(_0x493013(0x1de))/0x9+-parseInt(_0x493013(0x214))/0xa*(parseInt(_0x493013(0x205))/0xb)+parseInt(_0x493013(0x1fc))/0xc;if(_0x5529f0===_0x4f80fb)break;else _0xcd31b5['push'](_0xcd31b5['shift']());}catch(_0x3f61bb){_0xcd31b5['push'](_0xcd31b5['shift']());}}}(_0x5830,0xf15c1));import{Command as _0x355197}from'ckeditor5/src/core.js';import{logWarning as _0x346526,collectStylesheets as _0x34667a}from'ckeditor5/src/utils.js';import{getConverterOptions as _0x1b21b1,getConverterOptionsV2 as _0xb5a9bb}from'./utils.js';import{getTranslation as _0x48010d}from'./utils/common-translations.js';const p=[_0x106f48(0x216),_0x106f48(0x1f3),_0x106f48(0x1e5),_0x106f48(0x21b),_0x106f48(0x1fb),_0x106f48(0x1e1),_0x106f48(0x215),_0x106f48(0x204),_0x106f48(0x1db),_0x106f48(0x1f6)];export class ExportWordCommand extends _0x355197{constructor(_0x38ed05){const _0x3d8559=_0x106f48;super(_0x38ed05),this[_0x3d8559(0x206)](_0x3d8559(0x22d),!0x1),this[_0x3d8559(0x211)]=!0x1;}[_0x106f48(0x208)](){const _0x5e13c2=_0x106f48;this[_0x5e13c2(0x21a)]=!this[_0x5e13c2(0x22d)],this[_0x5e13c2(0x20c)]=this[_0x5e13c2(0x22d)]?_0x5e13c2(0x1e0):void 0x0;}[_0x106f48(0x227)](_0x458514={}){const _0x35cae8=_0x106f48,_0x346f29=this[_0x35cae8(0x209)],_0x5456e2=_0x458514[_0x35cae8(0x20b)]||0x2,_0x3db6a8=0x1===_0x5456e2,_0xba248b=_0x458514[_0x35cae8(0x1dc)]||(_0x3db6a8?_0x35cae8(0x1f4):_0x35cae8(0x21c)),_0x4bbb2f=_0x458514[_0x35cae8(0x226)]||{},_0x2e0cdb=_0x346f29[_0x35cae8(0x22a)][_0x35cae8(0x229)](_0x35cae8(0x224)),_0x3d4023=_0x458514[_0x35cae8(0x210)]||_0x2e0cdb[_0x35cae8(0x20d)],_0x47935e=!0x0===_0x4bbb2f[_0x35cae8(0x22b)],_0x4b052c=_0x458514[_0x35cae8(0x21f)]||(_0x218699=>_0x218699[_0x35cae8(0x21e)][_0x35cae8(0x229)]({'pagination':_0x47935e}));return 0x2===_0x5456e2&&function(_0x1e83b8){for(const _0x202dae of p)if(void 0x0!==_0x1e83b8[_0x202dae])return!0x0;return!0x1;}(_0x4bbb2f)&&_0x346526(_0x35cae8(0x1e7)),this[_0x35cae8(0x22d)]=!0x0,this[_0x35cae8(0x208)](),_0x34667a(_0x458514[_0x35cae8(0x22c)]||[_0x35cae8(0x222)])[_0x35cae8(0x200)](async _0x3c88f0=>{const _0x11f1b0=_0x35cae8;_0x346f29['ui'][_0x11f1b0(0x207)][_0x11f1b0(0x1e8)](_0x48010d(_0x346f29[_0x11f1b0(0x21d)],_0x11f1b0(0x1f0)));const _0x2b6ab7=await _0x4b052c(_0x346f29),_0x32f353={'html':_0x11f1b0(0x1fe)+_0x346f29[_0x11f1b0(0x21d)][_0x11f1b0(0x1ff)]+'\x22>'+_0x2b6ab7+_0x11f1b0(0x1f5),'css':_0x3c88f0,[_0x3db6a8?_0x11f1b0(0x1df):_0x11f1b0(0x228)]:{..._0x4bbb2f,..._0x3db6a8?_0x1b21b1(_0x346f29,_0x4bbb2f):_0xb5a9bb(_0x346f29,_0x4bbb2f)}},_0x1f1ac5={'method':_0x11f1b0(0x1f8),'headers':{'Content-Type':_0x11f1b0(0x213),'Accept':_0x11f1b0(0x1f1),..._0x3d4023?{'Authorization':_0x3d4023[_0x11f1b0(0x20c)]}:null},'body':JSON[_0x11f1b0(0x221)](_0x32f353)};return window[_0x11f1b0(0x1f9)](_0xba248b,_0x1f1ac5)[_0x11f1b0(0x200)](_0x124538=>{const _0x421f38=_0x11f1b0;if(0xc8!==_0x124538[_0x421f38(0x1fd)])throw _0x124538;return _0x124538[_0x421f38(0x223)]();})[_0x11f1b0(0x200)](_0x2c688a=>{const _0x3e28bf=_0x11f1b0;_0x346f29['ui'][_0x3e28bf(0x207)][_0x3e28bf(0x1e8)](_0x48010d(_0x346f29[_0x3e28bf(0x21d)],_0x3e28bf(0x218)));const _0x174977=_0x3e28bf(0x1eb)==typeof _0x458514[_0x3e28bf(0x1ef)]?_0x458514[_0x3e28bf(0x1ef)]():_0x458514[_0x3e28bf(0x1ef)];this[_0x3e28bf(0x1ea)](_0x2c688a,_0x174977||_0x3e28bf(0x1e3));});})[_0x35cae8(0x1f2)](_0x1ac6ea=>{const _0x50ef57=_0x35cae8,_0x4236c3=_0x346f29[_0x50ef57(0x22a)][_0x50ef57(0x229)](_0x50ef57(0x20f));throw _0x346f29['ui'][_0x50ef57(0x207)][_0x50ef57(0x1e8)](_0x48010d(_0x346f29[_0x50ef57(0x21d)],_0x50ef57(0x225)),{'politeness':_0x50ef57(0x220)}),_0x4236c3[_0x50ef57(0x20e)](_0x48010d(_0x346f29[_0x50ef57(0x21d)],_0x50ef57(0x1e9))),_0x1ac6ea;})[_0x35cae8(0x201)](()=>{const _0x5affa8=_0x35cae8;this[_0x5affa8(0x22d)]=!0x1,this[_0x5affa8(0x208)]();});}[_0x106f48(0x1ea)](_0x1753cf,_0x589bb1){const _0x3f8a52=_0x106f48,_0x2c2823=document[_0x3f8a52(0x1dd)]('a');_0x2c2823[_0x3f8a52(0x1f7)]=window[_0x3f8a52(0x217)][_0x3f8a52(0x203)](_0x1753cf),_0x2c2823[_0x3f8a52(0x1e6)]=_0x589bb1,_0x2c2823[_0x3f8a52(0x1ec)](),_0x2c2823[_0x3f8a52(0x202)]();}}
23
+ const _0x162079=_0x4f3b;function _0x4f3b(_0x778c56,_0x352233){const _0x3d7563=_0x3d75();return _0x4f3b=function(_0x4f3b51,_0x518e80){_0x4f3b51=_0x4f3b51-0x116;let _0x44c1e8=_0x3d7563[_0x4f3b51];return _0x44c1e8;},_0x4f3b(_0x778c56,_0x352233);}(function(_0x2ca9ef,_0x33bc43){const _0x14f239=_0x4f3b,_0x23420f=_0x2ca9ef();while(!![]){try{const _0x182b12=parseInt(_0x14f239(0x14d))/0x1+-parseInt(_0x14f239(0x132))/0x2+-parseInt(_0x14f239(0x14a))/0x3*(parseInt(_0x14f239(0x159))/0x4)+parseInt(_0x14f239(0x11c))/0x5+-parseInt(_0x14f239(0x160))/0x6*(parseInt(_0x14f239(0x157))/0x7)+parseInt(_0x14f239(0x149))/0x8+parseInt(_0x14f239(0x13e))/0x9;if(_0x182b12===_0x33bc43)break;else _0x23420f['push'](_0x23420f['shift']());}catch(_0x1894ba){_0x23420f['push'](_0x23420f['shift']());}}}(_0x3d75,0x753af));import{Command as _0x56320c}from'ckeditor5/src/core.js';function _0x3d75(){const _0x5f0753=['auto_pagination','Word\x20document\x20export\x20successful','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','status','function','plugins','href','isBusy','createObjectURL','1471512ZhpCaO','contentLanguageDirection','download','assertive','Word\x20document\x20export\x20started','refresh','isEnabled','value','margin_bottom','dataCallback','converterUrl','<div\x20class=\x22ck-content\x22\x20dir=\x22','6835887PhJfjI','affectsData','finally','config','data','orientation','format','Word\x20document\x20export\x20failed','margin_left','https://docx-converter.cke-cs.com/v1/convert','footer','2063040sdRCmj','234SXVhpO','converterOptions','header','445475UgGmSv','suggestions','POST','application/json','editor','</div>','_downloadFile','catch','options','createElement','9079asGGrP','Notification','17624FyMxnh','get','announce','EDITOR_STYLES','margin_right','ariaLiveAnnouncer','document.docx','2532neAEGG','click','token','URL','application/docx','locale','remove','margin_top','stylesheets','_token','execute','export-word-v1-api-is-deprecated','3220175YexQoR','fileName','then','blob','https://docx-converter.cke-cs.com/v2/convert/html-docx','showWarning','ExportWord','pending','set','version','fetch','stringify','comments'];_0x3d75=function(){return _0x5f0753;};return _0x3d75();}import{logWarning as _0x23d5fa,collectStylesheets as _0x1e5149}from'ckeditor5/src/utils.js';import{getConverterOptions as _0x42ef60,getConverterOptionsV2 as _0x3538bb}from'./utils.js';import{getTranslation as _0x2d36a5}from'./utils/common-translations.js';const p=[_0x162079(0x143),_0x162079(0x117),_0x162079(0x15d),_0x162079(0x13a),_0x162079(0x146),_0x162079(0x144),_0x162079(0x14c),_0x162079(0x148),_0x162079(0x128),_0x162079(0x14e)];export class ExportWordCommand extends _0x56320c{constructor(_0x180cb3){const _0x4cd839=_0x162079;super(_0x180cb3),this[_0x4cd839(0x124)](_0x4cd839(0x130),!0x1),this[_0x4cd839(0x13f)]=!0x1;}[_0x162079(0x137)](){const _0x33c597=_0x162079;this[_0x33c597(0x138)]=!this[_0x33c597(0x130)],this[_0x33c597(0x139)]=this[_0x33c597(0x130)]?_0x33c597(0x123):void 0x0;}[_0x162079(0x11a)](_0x91fee5={}){const _0x3a83c0=_0x162079,_0x506256=this[_0x3a83c0(0x151)],_0x3ad318=_0x91fee5[_0x3a83c0(0x125)]||0x2,_0xab7a2d=0x1===_0x3ad318,_0x55aec9=_0x91fee5[_0x3a83c0(0x13c)]||(_0xab7a2d?_0x3a83c0(0x147):_0x3a83c0(0x120)),_0x15e25d=_0x91fee5[_0x3a83c0(0x14b)]||{},_0x117839=_0x506256[_0x3a83c0(0x12e)][_0x3a83c0(0x15a)](_0x3a83c0(0x122)),_0x13378e=_0x91fee5[_0x3a83c0(0x162)]||_0x117839[_0x3a83c0(0x119)],_0x1c542f=!0x0===_0x15e25d[_0x3a83c0(0x129)],_0xc9e77d=_0x91fee5[_0x3a83c0(0x13b)]||(_0x29b366=>_0x29b366[_0x3a83c0(0x142)][_0x3a83c0(0x15a)]({'pagination':_0x1c542f}));return 0x2===_0x3ad318&&function(_0x5c8aea){for(const _0x445c25 of p)if(void 0x0!==_0x5c8aea[_0x445c25])return!0x0;return!0x1;}(_0x15e25d)&&_0x23d5fa(_0x3a83c0(0x11b)),this[_0x3a83c0(0x130)]=!0x0,this[_0x3a83c0(0x137)](),_0x1e5149(_0x91fee5[_0x3a83c0(0x118)]||[_0x3a83c0(0x15c)])[_0x3a83c0(0x11e)](async _0x3a7720=>{const _0x4644c6=_0x3a83c0;_0x506256['ui'][_0x4644c6(0x15e)][_0x4644c6(0x15b)](_0x2d36a5(_0x506256[_0x4644c6(0x165)],_0x4644c6(0x136)));const _0x282138=await _0xc9e77d(_0x506256),_0x4d87a0={'html':_0x4644c6(0x13d)+_0x506256[_0x4644c6(0x165)][_0x4644c6(0x133)]+'\x22>'+_0x282138+_0x4644c6(0x152),'css':_0x3a7720,[_0xab7a2d?_0x4644c6(0x155):_0x4644c6(0x141)]:{..._0x15e25d,..._0xab7a2d?_0x42ef60(_0x506256,_0x15e25d):_0x3538bb(_0x506256,_0x15e25d)}},_0x2a9327={'method':_0x4644c6(0x14f),'headers':{'Content-Type':_0x4644c6(0x150),'Accept':_0x4644c6(0x164),..._0x13378e?{'Authorization':_0x13378e[_0x4644c6(0x139)]}:null},'body':JSON[_0x4644c6(0x127)](_0x4d87a0)};return window[_0x4644c6(0x126)](_0x55aec9,_0x2a9327)[_0x4644c6(0x11e)](_0x31cb05=>{const _0x2f16ec=_0x4644c6;if(0xc8!==_0x31cb05[_0x2f16ec(0x12c)])throw _0x31cb05;return _0x31cb05[_0x2f16ec(0x11f)]();})[_0x4644c6(0x11e)](_0xb5bd5a=>{const _0x4a4354=_0x4644c6;_0x506256['ui'][_0x4a4354(0x15e)][_0x4a4354(0x15b)](_0x2d36a5(_0x506256[_0x4a4354(0x165)],_0x4a4354(0x12a)));const _0x3b175e=_0x4a4354(0x12d)==typeof _0x91fee5[_0x4a4354(0x11d)]?_0x91fee5[_0x4a4354(0x11d)]():_0x91fee5[_0x4a4354(0x11d)];this[_0x4a4354(0x153)](_0xb5bd5a,_0x3b175e||_0x4a4354(0x15f));});})[_0x3a83c0(0x154)](_0x197b46=>{const _0xd61f6d=_0x3a83c0,_0x1c21a8=_0x506256[_0xd61f6d(0x12e)][_0xd61f6d(0x15a)](_0xd61f6d(0x158));throw _0x506256['ui'][_0xd61f6d(0x15e)][_0xd61f6d(0x15b)](_0x2d36a5(_0x506256[_0xd61f6d(0x165)],_0xd61f6d(0x145)),{'politeness':_0xd61f6d(0x135)}),_0x1c21a8[_0xd61f6d(0x121)](_0x2d36a5(_0x506256[_0xd61f6d(0x165)],_0xd61f6d(0x12b))),_0x197b46;})[_0x3a83c0(0x140)](()=>{const _0x2aff88=_0x3a83c0;this[_0x2aff88(0x130)]=!0x1,this[_0x2aff88(0x137)]();});}[_0x162079(0x153)](_0x1b2705,_0xa26944){const _0x5c5a3a=_0x162079,_0x52e7d6=document[_0x5c5a3a(0x156)]('a');_0x52e7d6[_0x5c5a3a(0x12f)]=window[_0x5c5a3a(0x163)][_0x5c5a3a(0x131)](_0x1b2705),_0x52e7d6[_0x5c5a3a(0x134)]=_0xa26944,_0x52e7d6[_0x5c5a3a(0x161)](),_0x52e7d6[_0x5c5a3a(0x116)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3bf858=_0x45fc;(function(_0x13d898,_0x89dfa1){const _0x1db1b7=_0x45fc,_0x50eb41=_0x13d898();while(!![]){try{const _0x36c1bf=parseInt(_0x1db1b7(0x1eb))/0x1*(-parseInt(_0x1db1b7(0x1f0))/0x2)+parseInt(_0x1db1b7(0x1ec))/0x3+parseInt(_0x1db1b7(0x20e))/0x4+parseInt(_0x1db1b7(0x1fe))/0x5+parseInt(_0x1db1b7(0x1f3))/0x6+parseInt(_0x1db1b7(0x1f6))/0x7*(parseInt(_0x1db1b7(0x209))/0x8)+-parseInt(_0x1db1b7(0x1f7))/0x9*(parseInt(_0x1db1b7(0x1ee))/0xa);if(_0x36c1bf===_0x89dfa1)break;else _0x50eb41['push'](_0x50eb41['shift']());}catch(_0x394630){_0x50eb41['push'](_0x50eb41['shift']());}}}(_0x538c,0xa1b20));import{Plugin as _0x1bf2e8}from'ckeditor5/src/core.js';import{IconExportWord as _0xf222a2}from'ckeditor5/src/icons.js';import{ButtonView as _0x16e3df,MenuBarMenuListItemButtonView as _0x218c18,SpinnerView as _0x21177a}from'ckeditor5/src/ui.js';import{getTranslation as _0x51016f}from'./utils/common-translations.js';export class ExportWordUI extends _0x1bf2e8{static get[_0x3bf858(0x204)](){const _0x3dca96=_0x3bf858;return _0x3dca96(0x1f9);}static get[_0x3bf858(0x20b)](){return!0x0;}static get[_0x3bf858(0x1fd)](){return!0x0;}[_0x3bf858(0x1f5)](){const _0x360973=_0x3bf858,_0x104eb8=this[_0x360973(0x211)];_0x104eb8['ui'][_0x360973(0x20f)][_0x360973(0x202)](_0x360973(0x1f8),()=>{const _0x23a872=_0x360973,_0x418a43=_0x104eb8[_0x23a872(0x1ef)][_0x23a872(0x206)](_0x23a872(0x1f8)),_0x52c417=this[_0x23a872(0x20d)](_0x16e3df);return _0x52c417[_0x23a872(0x1f4)]({'tooltip':!0x0}),_0x52c417[_0x23a872(0x1e9)](_0x23a872(0x210))['to'](_0x418a43,_0x23a872(0x201)),_0x52c417;}),_0x104eb8['ui'][_0x360973(0x20f)][_0x360973(0x202)](_0x360973(0x1f2),()=>this[_0x360973(0x20d)](_0x218c18));}[_0x3bf858(0x20d)](_0x1b1d38){const _0x517502=_0x3bf858,_0x250b98=this[_0x517502(0x211)],_0xd60264=_0x250b98[_0x517502(0x1fc)][_0x517502(0x206)](_0x517502(0x1f8))||{},_0x531e24=_0x250b98[_0x517502(0x1ef)][_0x517502(0x206)](_0x517502(0x1f8)),_0x4438d3=new _0x1b1d38(_0x250b98[_0x517502(0x207)]),_0x4a150d=new _0x21177a();return _0x4438d3[_0x517502(0x1fb)][_0x517502(0x202)](_0x4a150d),_0x4a150d[_0x517502(0x1e9)](_0x517502(0x1f1))['to'](_0x531e24,_0x517502(0x201)),_0x4438d3[_0x517502(0x1ea)][_0x517502(0x1e9)](_0x517502(0x1f1))['to'](_0x531e24,_0x517502(0x201),_0x3ee9b3=>!_0x3ee9b3),_0x4438d3[_0x517502(0x1f4)]({'icon':_0xf222a2}),_0x4438d3[_0x517502(0x1e9)](_0x517502(0x1ff))['to'](_0x531e24,_0x517502(0x1ff)),_0x4438d3[_0x517502(0x1e9)](_0x517502(0x200))['to'](_0x531e24,_0x517502(0x201),_0x4c2270=>_0x51016f(_0x250b98[_0x517502(0x207)],_0x4c2270?_0x517502(0x20a):_0x517502(0x208))),this[_0x517502(0x1ed)](_0x4438d3,_0x517502(0x20c),()=>{const _0x5c68db=_0x517502;_0x250b98[_0x5c68db(0x20c)](_0x5c68db(0x1f8),_0xd60264),_0x250b98[_0x5c68db(0x203)][_0x5c68db(0x205)][_0x5c68db(0x1fa)]();}),_0x4438d3;}}function _0x45fc(_0x1bc3c8,_0x477a01){const _0x538cb2=_0x538c();return _0x45fc=function(_0x45fc9d,_0x4bcf27){_0x45fc9d=_0x45fc9d-0x1e9;let _0x4604fc=_0x538cb2[_0x45fc9d];return _0x4604fc;},_0x45fc(_0x1bc3c8,_0x477a01);}function _0x538c(){const _0x1c0580=['2898356oJOlVK','componentFactory','isOn','editor','bind','iconView','309IrgCXn','3035904VsyBzh','listenTo','5899650MXrddk','commands','3554kxOpKu','isVisible','menuBar:exportWord','2741868OWCMUf','set','init','21QfmPJz','27LxMBJA','exportWord','ExportWordUI','focus','children','config','isPremiumPlugin','2674855ksMxLZ','isEnabled','label','isBusy','add','editing','pluginName','view','get','locale','Export\x20to\x20Word','674096ziFMCY','Exporting\x20Word\x20document','isOfficialPlugin','execute','_createButton'];_0x538c=function(){return _0x1c0580;};return _0x538c();}
23
+ const _0x3b93af=_0x52c1;function _0x1c7c(){const _0x26ed1c=['345328ZShSvt','isPremiumPlugin','locale','execute','79382pHWWLe','commands','view','416505QcUxEq','focus','exportWord','isOn','Exporting\x20Word\x20document','isVisible','243vCTQrw','iconView','add','ExportWordUI','isBusy','28DDDvwk','children','editor','pluginName','get','bind','menuBar:exportWord','listenTo','Export\x20to\x20Word','init','2tqYmiY','423970fXPWGc','_createButton','set','1089051upJzaR','isOfficialPlugin','2667300ZLyftG','36669435uPkUVq','config','label','isEnabled','componentFactory','editing','18HwNwzl'];_0x1c7c=function(){return _0x26ed1c;};return _0x1c7c();}(function(_0x464f1a,_0x385547){const _0x887c37=_0x52c1,_0x273cdb=_0x464f1a();while(!![]){try{const _0x554eeb=-parseInt(_0x887c37(0xf1))/0x1+parseInt(_0x887c37(0xdf))/0x2*(-parseInt(_0x887c37(0xe3))/0x3)+-parseInt(_0x887c37(0xe5))/0x4+parseInt(_0x887c37(0xf4))/0x5*(-parseInt(_0x887c37(0xec))/0x6)+parseInt(_0x887c37(0xff))/0x7*(-parseInt(_0x887c37(0xed))/0x8)+parseInt(_0x887c37(0xfa))/0x9*(-parseInt(_0x887c37(0xe0))/0xa)+parseInt(_0x887c37(0xe6))/0xb;if(_0x554eeb===_0x385547)break;else _0x273cdb['push'](_0x273cdb['shift']());}catch(_0xe896dd){_0x273cdb['push'](_0x273cdb['shift']());}}}(_0x1c7c,0xa06b3));import{Plugin as _0x4cc6ca}from'ckeditor5/src/core.js';function _0x52c1(_0x4f4646,_0x189935){const _0x1c7cfd=_0x1c7c();return _0x52c1=function(_0x52c165,_0x5389ec){_0x52c165=_0x52c165-0xde;let _0x516ef8=_0x1c7cfd[_0x52c165];return _0x516ef8;},_0x52c1(_0x4f4646,_0x189935);}import{IconExportWord as _0x4934d4}from'ckeditor5/src/icons.js';import{ButtonView as _0x1630ae,MenuBarMenuListItemButtonView as _0x12d6bb,SpinnerView as _0xb13f2e}from'ckeditor5/src/ui.js';import{getTranslation as _0x4dc9d9}from'./utils/common-translations.js';export class ExportWordUI extends _0x4cc6ca{static get[_0x3b93af(0x102)](){const _0x5e8144=_0x3b93af;return _0x5e8144(0xfd);}static get[_0x3b93af(0xe4)](){return!0x0;}static get[_0x3b93af(0xee)](){return!0x0;}[_0x3b93af(0xde)](){const _0x4e5a53=_0x3b93af,_0x13990d=this[_0x4e5a53(0x101)];_0x13990d['ui'][_0x4e5a53(0xea)][_0x4e5a53(0xfc)](_0x4e5a53(0xf6),()=>{const _0x2f5282=_0x4e5a53,_0x5a6732=_0x13990d[_0x2f5282(0xf2)][_0x2f5282(0x103)](_0x2f5282(0xf6)),_0xf3e60=this[_0x2f5282(0xe1)](_0x1630ae);return _0xf3e60[_0x2f5282(0xe2)]({'tooltip':!0x0}),_0xf3e60[_0x2f5282(0x104)](_0x2f5282(0xf7))['to'](_0x5a6732,_0x2f5282(0xfe)),_0xf3e60;}),_0x13990d['ui'][_0x4e5a53(0xea)][_0x4e5a53(0xfc)](_0x4e5a53(0x105),()=>this[_0x4e5a53(0xe1)](_0x12d6bb));}[_0x3b93af(0xe1)](_0x1f201e){const _0x19eb9a=_0x3b93af,_0x3fcfcb=this[_0x19eb9a(0x101)],_0x26b658=_0x3fcfcb[_0x19eb9a(0xe7)][_0x19eb9a(0x103)](_0x19eb9a(0xf6))||{},_0x1cdf0e=_0x3fcfcb[_0x19eb9a(0xf2)][_0x19eb9a(0x103)](_0x19eb9a(0xf6)),_0x47b858=new _0x1f201e(_0x3fcfcb[_0x19eb9a(0xef)]),_0x1f7a8f=new _0xb13f2e();return _0x47b858[_0x19eb9a(0x100)][_0x19eb9a(0xfc)](_0x1f7a8f),_0x1f7a8f[_0x19eb9a(0x104)](_0x19eb9a(0xf9))['to'](_0x1cdf0e,_0x19eb9a(0xfe)),_0x47b858[_0x19eb9a(0xfb)][_0x19eb9a(0x104)](_0x19eb9a(0xf9))['to'](_0x1cdf0e,_0x19eb9a(0xfe),_0x1c82f2=>!_0x1c82f2),_0x47b858[_0x19eb9a(0xe2)]({'icon':_0x4934d4}),_0x47b858[_0x19eb9a(0x104)](_0x19eb9a(0xe9))['to'](_0x1cdf0e,_0x19eb9a(0xe9)),_0x47b858[_0x19eb9a(0x104)](_0x19eb9a(0xe8))['to'](_0x1cdf0e,_0x19eb9a(0xfe),_0x26f420=>_0x4dc9d9(_0x3fcfcb[_0x19eb9a(0xef)],_0x26f420?_0x19eb9a(0xf8):_0x19eb9a(0x107))),this[_0x19eb9a(0x106)](_0x47b858,_0x19eb9a(0xf0),()=>{const _0x1f34f1=_0x19eb9a;_0x3fcfcb[_0x1f34f1(0xf0)](_0x1f34f1(0xf6),_0x26b658),_0x3fcfcb[_0x1f34f1(0xeb)][_0x1f34f1(0xf3)][_0x1f34f1(0xf5)]();}),_0x47b858;}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xa5d86,_0x172c00){var _0x2e7752=_0x592d,_0x478e26=_0xa5d86();while(!![]){try{var _0x10bb44=-parseInt(_0x2e7752(0x17b))/0x1+-parseInt(_0x2e7752(0x179))/0x2*(-parseInt(_0x2e7752(0x176))/0x3)+-parseInt(_0x2e7752(0x17c))/0x4+-parseInt(_0x2e7752(0x178))/0x5+-parseInt(_0x2e7752(0x175))/0x6*(parseInt(_0x2e7752(0x17a))/0x7)+-parseInt(_0x2e7752(0x17d))/0x8+parseInt(_0x2e7752(0x177))/0x9;if(_0x10bb44===_0x172c00)break;else _0x478e26['push'](_0x478e26['shift']());}catch(_0x3a058e){_0x478e26['push'](_0x478e26['shift']());}}}(_0x4d71,0x62ecc));function _0x592d(_0x1b6e39,_0x54ef06){var _0x4d714a=_0x4d71();return _0x592d=function(_0x592d48,_0x5a431a){_0x592d48=_0x592d48-0x175;var _0x36f4ab=_0x4d714a[_0x592d48];return _0x36f4ab;},_0x592d(_0x1b6e39,_0x54ef06);}function _0x4d71(){var _0x4b3a23=['77480OtoMqI','2vDoMVm','6944axbttP','729074XAmaQv','2182404DtBprj','4949672nNpZwI','420LGLbvb','538572lKcjNT','19835928iVEuPx'];_0x4d71=function(){return _0x4b3a23;};return _0x4d71();}export{ExportWord}from'./exportword.js';export{ExportWordCommand}from'./exportwordcommand.js';import'./augmentation.js';
23
+ (function(_0x2d6744,_0x351fb8){var _0x495190=_0x2dce,_0x15e786=_0x2d6744();while(!![]){try{var _0x42ad2d=-parseInt(_0x495190(0xed))/0x1+-parseInt(_0x495190(0xe7))/0x2+parseInt(_0x495190(0xe6))/0x3+-parseInt(_0x495190(0xeb))/0x4*(-parseInt(_0x495190(0xe4))/0x5)+parseInt(_0x495190(0xe8))/0x6*(-parseInt(_0x495190(0xe9))/0x7)+-parseInt(_0x495190(0xec))/0x8+-parseInt(_0x495190(0xe5))/0x9*(-parseInt(_0x495190(0xea))/0xa);if(_0x42ad2d===_0x351fb8)break;else _0x15e786['push'](_0x15e786['shift']());}catch(_0x161217){_0x15e786['push'](_0x15e786['shift']());}}}(_0x5f1c,0xd621c));function _0x2dce(_0x476935,_0x4b55be){var _0x5f1c13=_0x5f1c();return _0x2dce=function(_0x2dce23,_0x425d5e){_0x2dce23=_0x2dce23-0xe4;var _0xb8efab=_0x5f1c13[_0x2dce23];return _0xb8efab;},_0x2dce(_0x476935,_0x4b55be);}export{ExportWord}from'./exportword.js';function _0x5f1c(){var _0x4fb0de=['54LmHjjh','1891479tbxXZZ','3431648dmRymr','49230RPxnMw','70IaZnLZ','5322170MoBDfc','36WzKKJC','8651816bSRtMr','583249vFPRjw','286605AjtFks'];_0x5f1c=function(){return _0x4fb0de;};return _0x5f1c();}export{ExportWordCommand}from'./exportwordcommand.js';import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x28e299,_0x32ff21){const t=_0x28e299['t'];switch(_0x32ff21){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 _0x32ff21;}}
23
+ export function getTranslation(_0x2dad8c,_0x41ff5d){const t=_0x2dad8c['t'];switch(_0x41ff5d){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 _0x41ff5d;}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2ddb(_0xe3a6bf,_0xffada0){const _0x4d0681=_0x4d06();return _0x2ddb=function(_0x2ddbc3,_0x340d74){_0x2ddbc3=_0x2ddbc3-0x16b;let _0x559fbb=_0x4d0681[_0x2ddbc3];return _0x559fbb;},_0x2ddb(_0xe3a6bf,_0xffada0);}(function(_0x2089a4,_0x11eb96){const _0x39b5e1=_0x2ddb,_0x594a5a=_0x2089a4();while(!![]){try{const _0x424edf=parseInt(_0x39b5e1(0x17e))/0x1+-parseInt(_0x39b5e1(0x195))/0x2*(-parseInt(_0x39b5e1(0x16f))/0x3)+parseInt(_0x39b5e1(0x182))/0x4*(-parseInt(_0x39b5e1(0x1a2))/0x5)+-parseInt(_0x39b5e1(0x196))/0x6*(-parseInt(_0x39b5e1(0x1a6))/0x7)+parseInt(_0x39b5e1(0x191))/0x8*(-parseInt(_0x39b5e1(0x185))/0x9)+parseInt(_0x39b5e1(0x184))/0xa+parseInt(_0x39b5e1(0x171))/0xb*(-parseInt(_0x39b5e1(0x1a3))/0xc);if(_0x424edf===_0x11eb96)break;else _0x594a5a['push'](_0x594a5a['shift']());}catch(_0x61b19c){_0x594a5a['push'](_0x594a5a['shift']());}}}(_0x4d06,0x8b152));function _0x4d06(){const _0x36f232=['$defaultValues','content','data','language','length','10sKrhxH','10302444KqTBPN','entries','getMergeFieldType','5975494gGkpfb','config','has','CommentsRepository','get','3tMIanC','locale','11mQxiHJ','keys','comments','timeZone','map','MergeFields','authorName','getDefaultValues','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','name','resolvedOptions','isResolved','DateTimeFormat','910968inUYWn','document','image','suggestions','449208KWjfaW','comment_threads','1329260CNCjOp','1314IsKAQr','timezone','createdAt','getSuggestions','getDataSetValues','@external','mergeFields','plugins','merge_fields','TrackChanges','push','Users','43496akMBIA','author','getLabel','collaboration_features','1098178mzZaib','6oGvRJG','$labels','getCommentThreads','MergeFieldsEditing','users','contentLanguage','previewMode'];_0x4d06=function(){return _0x36f232;};return _0x4d06();}export function getConverterOptions(_0x3d920b,_0x500ac7={}){const _0x44a7d4=_0x2ddb,_0x24a427=_0x3d920b[_0x44a7d4(0x18c)][_0x44a7d4(0x16c)](_0x44a7d4(0x190)),_0x1192d1=_0x3d920b[_0x44a7d4(0x18c)][_0x44a7d4(0x16c)](_0x44a7d4(0x16d)),_0x121985=_0x3d920b[_0x44a7d4(0x18c)][_0x44a7d4(0x16c)](_0x44a7d4(0x18e)),_0x6df214=_0x500ac7;if(_0x24a427&&_0x1192d1){const _0x34d618=getComments(_0x3d920b[_0x44a7d4(0x18c)][_0x44a7d4(0x16e)](_0x44a7d4(0x16d))[_0x44a7d4(0x198)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x44a7d4(0x172)](_0x34d618)[_0x44a7d4(0x1a1)]&&(_0x6df214[_0x44a7d4(0x173)]=_0x34d618);}if(_0x24a427&&_0x121985){const _0x5fc4ff=_0x3d920b[_0x44a7d4(0x18c)][_0x44a7d4(0x16e)](_0x44a7d4(0x18e)),_0x46eb99=_0x3d920b[_0x44a7d4(0x18c)][_0x44a7d4(0x16e)](_0x44a7d4(0x190)),_0x4a4d87=getSuggestions(_0x5fc4ff[_0x44a7d4(0x188)]({'toJSON':!0x0}),_0x46eb99[_0x44a7d4(0x19a)]);Object[_0x44a7d4(0x172)](_0x4a4d87)[_0x44a7d4(0x1a1)]&&(_0x6df214[_0x44a7d4(0x181)]=_0x4a4d87);}return(_0x6df214[_0x44a7d4(0x181)]||_0x6df214[_0x44a7d4(0x173)])&&(_0x6df214[_0x44a7d4(0x186)]=new Intl[(_0x44a7d4(0x17d))]()[_0x44a7d4(0x17b)]()[_0x44a7d4(0x174)]),_0x6df214;}export function getComments(_0xe80e74){const _0x36b2de=_0x2ddb,_0x1672c8={};if(!_0xe80e74[_0x36b2de(0x1a1)])return _0x1672c8;for(const _0xad2993 of _0xe80e74)_0xad2993[_0x36b2de(0x173)][_0x36b2de(0x175)](_0x51b43b=>{const _0x39f991=_0x36b2de;void 0x0===_0x1672c8[_0xad2993['id']]&&(_0x1672c8[_0xad2993['id']]=[]),_0x1672c8[_0xad2993['id']][_0x39f991(0x18f)]({'author':_0x51b43b[_0x39f991(0x192)][_0x39f991(0x17a)],'content':_0x51b43b[_0x39f991(0x19e)],'created':_0x51b43b[_0x39f991(0x187)],'is_resolved':_0xad2993[_0x39f991(0x17c)]});});return _0x1672c8;}export function getSuggestions(_0x545e70,_0x179ca7){const _0x4dff78=_0x2ddb,_0x54d912={};if(!_0x545e70[_0x4dff78(0x1a1)]||!_0x179ca7[_0x4dff78(0x1a1)])return _0x54d912;for(const {id:_0xe46e40,createdAt:_0x40b082,authorId:_0x5a3bcc,attributes:_0x461ba8}of _0x545e70){const _0x294014=_0x461ba8&&_0x461ba8[_0x4dff78(0x18a)],_0x5f213c=_0x294014?_0x294014[_0x4dff78(0x177)]:_0x179ca7[_0x4dff78(0x16e)](_0x5a3bcc)[_0x4dff78(0x17a)];_0x54d912[_0xe46e40]={'author':_0x5f213c,'created':_0x40b082};}return _0x54d912;}export function getConverterOptionsV2(_0x26958e,_0x3cd93d={}){const _0x3db372=_0x2ddb,_0x560f75=_0x26958e[_0x3db372(0x18c)][_0x3db372(0x16c)](_0x3db372(0x190)),_0x280f24=_0x26958e[_0x3db372(0x18c)][_0x3db372(0x16c)](_0x3db372(0x16d)),_0x49df50=_0x26958e[_0x3db372(0x18c)][_0x3db372(0x16c)](_0x3db372(0x18e)),_0x111e8f=_0x26958e[_0x3db372(0x18c)][_0x3db372(0x16c)](_0x3db372(0x176)),_0x569add=_0x26958e[_0x3db372(0x170)][_0x3db372(0x19b)],_0xfc043a=_0x3cd93d,_0x2ad08e={};if(_0xfc043a[_0x3db372(0x17f)]=_0xfc043a[_0x3db372(0x17f)]||{},_0xfc043a[_0x3db372(0x17f)][_0x3db372(0x1a0)]=_0xfc043a[_0x3db372(0x17f)][_0x3db372(0x1a0)]||_0x569add,_0x560f75&&_0x280f24){const _0x50887c=getCommentsV2(_0x26958e[_0x3db372(0x18c)][_0x3db372(0x16e)](_0x3db372(0x16d))[_0x3db372(0x198)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x50887c[_0x3db372(0x1a1)]&&(_0x2ad08e[_0x3db372(0x183)]=_0x50887c);}if(_0x560f75&&_0x49df50){const _0x48ba86=_0x26958e[_0x3db372(0x18c)][_0x3db372(0x16e)](_0x3db372(0x18e)),_0x43b97e=_0x26958e[_0x3db372(0x18c)][_0x3db372(0x16e)](_0x3db372(0x190)),_0x31351f=getSuggestionsV2(_0x48ba86[_0x3db372(0x188)]({'toJSON':!0x0}),_0x43b97e[_0x3db372(0x19a)]);_0x31351f[_0x3db372(0x1a1)]&&(_0x2ad08e[_0x3db372(0x181)]=_0x31351f);}if(_0x111e8f){const _0x5bdcd2=_0x26958e[_0x3db372(0x18c)][_0x3db372(0x16e)](_0x3db372(0x199)),_0x4020c4=_0x5bdcd2[_0x3db372(0x19c)],{prefix:_0x50b83a,suffix:_0x44e9b0}=_0x26958e[_0x3db372(0x16b)][_0x3db372(0x16e)](_0x3db372(0x18b));if(_0xfc043a[_0x3db372(0x18d)]={'prefix':_0x50b83a,'suffix':_0x44e9b0},_0x3db372(0x197)!==_0x4020c4){_0xfc043a[_0x3db372(0x18d)][_0x3db372(0x19f)]={};const _0x518c61=_0x3db372(0x179),_0x1ad8d3=_0x3db372(0x19d)===_0x4020c4?_0x5bdcd2[_0x3db372(0x178)]():_0x5bdcd2[_0x3db372(0x189)](_0x4020c4,!0x0);for(const _0x3cb132 of Object[_0x3db372(0x1a4)](_0x1ad8d3)){const [_0x1beadc,_0x2b5a43]=_0x3cb132;_0x3db372(0x180)===_0x5bdcd2[_0x3db372(0x1a5)](_0x1beadc)?_0xfc043a[_0x3db372(0x18d)][_0x3db372(0x19f)][_0x1beadc]=null!==_0x2b5a43?_0x2b5a43:_0x518c61:_0xfc043a[_0x3db372(0x18d)][_0x3db372(0x19f)][_0x1beadc]=null!==_0x2b5a43?_0x2b5a43:_0x5bdcd2[_0x3db372(0x193)](_0x1beadc)||_0x1beadc;}}}return(_0x2ad08e[_0x3db372(0x183)]||_0x2ad08e[_0x3db372(0x181)])&&(_0xfc043a[_0x3db372(0x186)]=new Intl[(_0x3db372(0x17d))]()[_0x3db372(0x17b)]()[_0x3db372(0x174)],_0xfc043a[_0x3db372(0x194)]=_0x2ad08e),_0xfc043a;}export function getCommentsV2(_0x6a5ebe){const _0x7c2697=_0x2ddb,_0xf8ce66=[];if(!_0x6a5ebe[_0x7c2697(0x1a1)])return _0xf8ce66;for(const _0xb6be8e of _0x6a5ebe){const _0x59b9e1=_0xb6be8e[_0x7c2697(0x173)][_0x7c2697(0x175)](_0xb96605=>({'author':_0xb96605[_0x7c2697(0x192)][_0x7c2697(0x17a)],'content':_0xb96605[_0x7c2697(0x19e)],'created_at':_0xb96605[_0x7c2697(0x187)]}));_0xf8ce66[_0x7c2697(0x18f)]({'thread_id':_0xb6be8e['id'],'is_resolved':_0xb6be8e[_0x7c2697(0x17c)],'comments':_0x59b9e1});}return _0xf8ce66;}export function getSuggestionsV2(_0x4cf624,_0x200a45){const _0x55c8b3=_0x2ddb;return _0x4cf624[_0x55c8b3(0x1a1)]&&_0x200a45[_0x55c8b3(0x1a1)]?_0x4cf624[_0x55c8b3(0x175)](({id:_0x1741f4,createdAt:_0x16b817,authorId:_0x3b2b69,attributes:_0x32cf77})=>{const _0x2c955d=_0x55c8b3,_0x3a6158=_0x32cf77&&_0x32cf77[_0x2c955d(0x18a)];return{'id':_0x1741f4,'author':_0x3a6158?_0x3a6158[_0x2c955d(0x177)]:_0x200a45[_0x2c955d(0x16e)](_0x3b2b69)[_0x2c955d(0x17a)],'created_at':_0x16b817};}):[];}
23
+ function _0x1950(){const _0x150b5e=['comments','255ZBczOt','length','32380LpDoCY','mergeFields','5747001txZwEX','previewMode','getSuggestions','keys','push','2083126fWHCWT','282YAhoFN','16eRkSdo','$defaultValues','getLabel','authorName','contentLanguage','timeZone','suggestions','CommentsRepository','getMergeFieldType','MergeFields','resolvedOptions','plugins','users','MergeFieldsEditing','getDataSetValues','getCommentThreads','merge_fields','TrackChanges','content','entries','isResolved','collaboration_features','timezone','has','locale','10uuSADl','language','name','81445cFGWZn','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','4277686cDHqMv','comment_threads','map','image','DateTimeFormat','getDefaultValues','data','document','9996690ePuQXR','createdAt','author','$labels','1ofvBfe','10584072sixHRE','@external','12QEmQnp','get','config','Users'];_0x1950=function(){return _0x150b5e;};return _0x1950();}function _0x1956(_0x3548af,_0x3ea273){const _0x19504a=_0x1950();return _0x1956=function(_0x195673,_0x3cc2cc){_0x195673=_0x195673-0xce;let _0x17593b=_0x19504a[_0x195673];return _0x17593b;},_0x1956(_0x3548af,_0x3ea273);}(function(_0x159b7a,_0x309c3b){const _0x23afeb=_0x1956,_0x2748a5=_0x159b7a();while(!![]){try{const _0x3e8160=parseInt(_0x23afeb(0x100))/0x1*(parseInt(_0x23afeb(0xd4))/0x2)+-parseInt(_0x23afeb(0x108))/0x3*(parseInt(_0x23afeb(0x10a))/0x4)+parseInt(_0x23afeb(0xf2))/0x5*(-parseInt(_0x23afeb(0xd5))/0x6)+parseInt(_0x23afeb(0xf4))/0x7*(parseInt(_0x23afeb(0xd6))/0x8)+-parseInt(_0x23afeb(0x101))/0x9+-parseInt(_0x23afeb(0xef))/0xa*(-parseInt(_0x23afeb(0xfc))/0xb)+-parseInt(_0x23afeb(0x103))/0xc*(-parseInt(_0x23afeb(0xcf))/0xd);if(_0x3e8160===_0x309c3b)break;else _0x2748a5['push'](_0x2748a5['shift']());}catch(_0x3bc4c5){_0x2748a5['push'](_0x2748a5['shift']());}}}(_0x1950,0xf0780));export function getConverterOptions(_0x4b8258,_0x5c8b48={}){const _0x4d5ec5=_0x1956,_0x3dfde9=_0x4b8258[_0x4d5ec5(0xe1)][_0x4d5ec5(0xed)](_0x4d5ec5(0x106)),_0x280079=_0x4b8258[_0x4d5ec5(0xe1)][_0x4d5ec5(0xed)](_0x4d5ec5(0xdd)),_0x2edf71=_0x4b8258[_0x4d5ec5(0xe1)][_0x4d5ec5(0xed)](_0x4d5ec5(0xe7)),_0xb98770=_0x5c8b48;if(_0x3dfde9&&_0x280079){const _0x4d511c=getComments(_0x4b8258[_0x4d5ec5(0xe1)][_0x4d5ec5(0x104)](_0x4d5ec5(0xdd))[_0x4d5ec5(0xe5)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x4d5ec5(0xd2)](_0x4d511c)[_0x4d5ec5(0x109)]&&(_0xb98770[_0x4d5ec5(0x107)]=_0x4d511c);}if(_0x3dfde9&&_0x2edf71){const _0x1fcb35=_0x4b8258[_0x4d5ec5(0xe1)][_0x4d5ec5(0x104)](_0x4d5ec5(0xe7)),_0xf5085b=_0x4b8258[_0x4d5ec5(0xe1)][_0x4d5ec5(0x104)](_0x4d5ec5(0x106)),_0x2905e9=getSuggestions(_0x1fcb35[_0x4d5ec5(0xd1)]({'toJSON':!0x0}),_0xf5085b[_0x4d5ec5(0xe2)]);Object[_0x4d5ec5(0xd2)](_0x2905e9)[_0x4d5ec5(0x109)]&&(_0xb98770[_0x4d5ec5(0xdc)]=_0x2905e9);}return(_0xb98770[_0x4d5ec5(0xdc)]||_0xb98770[_0x4d5ec5(0x107)])&&(_0xb98770[_0x4d5ec5(0xec)]=new Intl[(_0x4d5ec5(0xf8))]()[_0x4d5ec5(0xe0)]()[_0x4d5ec5(0xdb)]),_0xb98770;}export function getComments(_0x5c5a8a){const _0x590c83=_0x1956,_0x366738={};if(!_0x5c5a8a[_0x590c83(0x109)])return _0x366738;for(const _0x250f3e of _0x5c5a8a)_0x250f3e[_0x590c83(0x107)][_0x590c83(0xf6)](_0x161b31=>{const _0x3dd790=_0x590c83;void 0x0===_0x366738[_0x250f3e['id']]&&(_0x366738[_0x250f3e['id']]=[]),_0x366738[_0x250f3e['id']][_0x3dd790(0xd3)]({'author':_0x161b31[_0x3dd790(0xfe)][_0x3dd790(0xf1)],'content':_0x161b31[_0x3dd790(0xe8)],'created':_0x161b31[_0x3dd790(0xfd)],'is_resolved':_0x250f3e[_0x3dd790(0xea)]});});return _0x366738;}export function getSuggestions(_0x3e381e,_0x583c1f){const _0x2690f1=_0x1956,_0x4b2aeb={};if(!_0x3e381e[_0x2690f1(0x109)]||!_0x583c1f[_0x2690f1(0x109)])return _0x4b2aeb;for(const {id:_0x190933,createdAt:_0x1546c9,authorId:_0x3974fc,attributes:_0x448490}of _0x3e381e){const _0x8c3abc=_0x448490&&_0x448490[_0x2690f1(0x102)],_0x3667a0=_0x8c3abc?_0x8c3abc[_0x2690f1(0xd9)]:_0x583c1f[_0x2690f1(0x104)](_0x3974fc)[_0x2690f1(0xf1)];_0x4b2aeb[_0x190933]={'author':_0x3667a0,'created':_0x1546c9};}return _0x4b2aeb;}export function getConverterOptionsV2(_0x1dbb3e,_0x2e5601={}){const _0x224605=_0x1956,_0x4ec5ce=_0x1dbb3e[_0x224605(0xe1)][_0x224605(0xed)](_0x224605(0x106)),_0x228c03=_0x1dbb3e[_0x224605(0xe1)][_0x224605(0xed)](_0x224605(0xdd)),_0x669ebb=_0x1dbb3e[_0x224605(0xe1)][_0x224605(0xed)](_0x224605(0xe7)),_0xddd2d8=_0x1dbb3e[_0x224605(0xe1)][_0x224605(0xed)](_0x224605(0xdf)),_0x2138c4=_0x1dbb3e[_0x224605(0xee)][_0x224605(0xda)],_0x562d9d=_0x2e5601,_0xecac76={};if(_0x562d9d[_0x224605(0xfb)]=_0x562d9d[_0x224605(0xfb)]||{},_0x562d9d[_0x224605(0xfb)][_0x224605(0xf0)]=_0x562d9d[_0x224605(0xfb)][_0x224605(0xf0)]||_0x2138c4,_0x4ec5ce&&_0x228c03){const _0x468eb9=getCommentsV2(_0x1dbb3e[_0x224605(0xe1)][_0x224605(0x104)](_0x224605(0xdd))[_0x224605(0xe5)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x468eb9[_0x224605(0x109)]&&(_0xecac76[_0x224605(0xf5)]=_0x468eb9);}if(_0x4ec5ce&&_0x669ebb){const _0x141e7e=_0x1dbb3e[_0x224605(0xe1)][_0x224605(0x104)](_0x224605(0xe7)),_0xcf47d5=_0x1dbb3e[_0x224605(0xe1)][_0x224605(0x104)](_0x224605(0x106)),_0x2bff16=getSuggestionsV2(_0x141e7e[_0x224605(0xd1)]({'toJSON':!0x0}),_0xcf47d5[_0x224605(0xe2)]);_0x2bff16[_0x224605(0x109)]&&(_0xecac76[_0x224605(0xdc)]=_0x2bff16);}if(_0xddd2d8){const _0x45fceb=_0x1dbb3e[_0x224605(0xe1)][_0x224605(0x104)](_0x224605(0xe3)),_0x5e5590=_0x45fceb[_0x224605(0xd0)],{prefix:_0xfa9f04,suffix:_0x138035}=_0x1dbb3e[_0x224605(0x105)][_0x224605(0x104)](_0x224605(0xce));if(_0x562d9d[_0x224605(0xe6)]={'prefix':_0xfa9f04,'suffix':_0x138035},_0x224605(0xff)!==_0x5e5590){_0x562d9d[_0x224605(0xe6)][_0x224605(0xfa)]={};const _0x8c3ff2=_0x224605(0xf3),_0x3104bd=_0x224605(0xd7)===_0x5e5590?_0x45fceb[_0x224605(0xf9)]():_0x45fceb[_0x224605(0xe4)](_0x5e5590,!0x0);for(const _0x115e66 of Object[_0x224605(0xe9)](_0x3104bd)){const [_0x467737,_0x4fb3ba]=_0x115e66;_0x224605(0xf7)===_0x45fceb[_0x224605(0xde)](_0x467737)?_0x562d9d[_0x224605(0xe6)][_0x224605(0xfa)][_0x467737]=null!==_0x4fb3ba?_0x4fb3ba:_0x8c3ff2:_0x562d9d[_0x224605(0xe6)][_0x224605(0xfa)][_0x467737]=null!==_0x4fb3ba?_0x4fb3ba:_0x45fceb[_0x224605(0xd8)](_0x467737)||_0x467737;}}}return(_0xecac76[_0x224605(0xf5)]||_0xecac76[_0x224605(0xdc)])&&(_0x562d9d[_0x224605(0xec)]=new Intl[(_0x224605(0xf8))]()[_0x224605(0xe0)]()[_0x224605(0xdb)],_0x562d9d[_0x224605(0xeb)]=_0xecac76),_0x562d9d;}export function getCommentsV2(_0x552a4e){const _0x59b3e9=_0x1956,_0x29528d=[];if(!_0x552a4e[_0x59b3e9(0x109)])return _0x29528d;for(const _0x5699a4 of _0x552a4e){const _0x22eb81=_0x5699a4[_0x59b3e9(0x107)][_0x59b3e9(0xf6)](_0x5b7edb=>({'author':_0x5b7edb[_0x59b3e9(0xfe)][_0x59b3e9(0xf1)],'content':_0x5b7edb[_0x59b3e9(0xe8)],'created_at':_0x5b7edb[_0x59b3e9(0xfd)]}));_0x29528d[_0x59b3e9(0xd3)]({'thread_id':_0x5699a4['id'],'is_resolved':_0x5699a4[_0x59b3e9(0xea)],'comments':_0x22eb81});}return _0x29528d;}export function getSuggestionsV2(_0x14c61e,_0x486573){const _0x15b4c5=_0x1956;return _0x14c61e[_0x15b4c5(0x109)]&&_0x486573[_0x15b4c5(0x109)]?_0x14c61e[_0x15b4c5(0xf6)](({id:_0x48ab17,createdAt:_0x15d173,authorId:_0x3a0f8a,attributes:_0x503e9a})=>{const _0x303eef=_0x15b4c5,_0x507385=_0x503e9a&&_0x503e9a[_0x303eef(0x102)];return{'id':_0x48ab17,'author':_0x507385?_0x507385[_0x303eef(0xd9)]:_0x486573[_0x303eef(0x104)](_0x3a0f8a)[_0x303eef(0xf1)],'created_at':_0x15d173};}):[];}