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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/build/export-word.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +11 -11
  150. package/src/exportword.js +1 -1
  151. package/src/exportwordcommand.js +1 -1
  152. package/src/exportwordui.js +1 -1
  153. package/src/index.js +1 -1
  154. package/src/utils/common-translations.js +1 -1
  155. package/src/utils.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-export-word",
3
- "version": "47.0.0-alpha.2",
3
+ "version": "47.0.0-alpha.3",
4
4
  "description": "Export to Word feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -30,16 +30,16 @@
30
30
  "type": "module",
31
31
  "main": "src/index.js",
32
32
  "dependencies": {
33
- "@ckeditor/ckeditor5-cloud-services": "47.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"
33
+ "@ckeditor/ckeditor5-cloud-services": "47.0.0-alpha.3",
34
+ "@ckeditor/ckeditor5-collaboration-core": "47.0.0-alpha.3",
35
+ "@ckeditor/ckeditor5-comments": "47.0.0-alpha.3",
36
+ "@ckeditor/ckeditor5-core": "47.0.0-alpha.3",
37
+ "@ckeditor/ckeditor5-icons": "47.0.0-alpha.3",
38
+ "@ckeditor/ckeditor5-merge-fields": "47.0.0-alpha.3",
39
+ "@ckeditor/ckeditor5-track-changes": "47.0.0-alpha.3",
40
+ "@ckeditor/ckeditor5-utils": "47.0.0-alpha.3",
41
+ "@ckeditor/ckeditor5-ui": "47.0.0-alpha.3",
42
+ "ckeditor5": "47.0.0-alpha.3"
43
43
  },
44
44
  "license": "SEE LICENSE IN LICENSE.md",
45
45
  "author": "CKSource (https://cksource.com/)",
package/src/exportword.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _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)];}}
23
+ function _0x5257(_0x233a51,_0x13d52e){const _0xfe9ea0=_0xfe9e();return _0x5257=function(_0x5257d3,_0x3cbc43){_0x5257d3=_0x5257d3-0xe4;let _0x13e1f5=_0xfe9ea0[_0x5257d3];return _0x13e1f5;},_0x5257(_0x233a51,_0x13d52e);}const _0x19d43a=_0x5257;(function(_0x1235af,_0x277672){const _0x3005f6=_0x5257,_0x44494b=_0x1235af();while(!![]){try{const _0x49a770=-parseInt(_0x3005f6(0xe6))/0x1+parseInt(_0x3005f6(0xfb))/0x2+parseInt(_0x3005f6(0xef))/0x3+-parseInt(_0x3005f6(0xf4))/0x4*(-parseInt(_0x3005f6(0xf0))/0x5)+parseInt(_0x3005f6(0xe5))/0x6+parseInt(_0x3005f6(0xf6))/0x7+-parseInt(_0x3005f6(0xf7))/0x8;if(_0x49a770===_0x277672)break;else _0x44494b['push'](_0x44494b['shift']());}catch(_0x13c51e){_0x44494b['push'](_0x44494b['shift']());}}}(_0xfe9e,0x50dd5));import{Plugin as _0x5cd2a1}from'ckeditor5/src/core.js';import{Notification as _0x5456fd}from'ckeditor5/src/ui.js';import{ExportWordCommand as _0x24ec1f}from'./exportwordcommand.js';import{ExportWordUI as _0x397e20}from'./exportwordui.js';export class ExportWord extends _0x5cd2a1{[_0x19d43a(0xe9)];static get[_0x19d43a(0xf1)](){const _0x1da3cf=_0x19d43a;return _0x1da3cf(0xed);}static get[_0x19d43a(0xf8)](){return!0x0;}static get[_0x19d43a(0xee)](){return!0x0;}static get[_0x19d43a(0xf5)](){const _0x13ef46=_0x19d43a;return[_0x13ef46(0xeb),_0x5456fd,_0x397e20];}[_0x19d43a(0xf2)](){const _0x4ef5a2=_0x19d43a,_0x39f585=this[_0x4ef5a2(0xe7)],_0x47c932=_0x39f585[_0x4ef5a2(0xfa)][_0x4ef5a2(0xec)](_0x4ef5a2(0xf3))||{};_0x39f585[_0x4ef5a2(0xea)][_0x4ef5a2(0xfe)](_0x4ef5a2(0xf3),new _0x24ec1f(_0x39f585));const _0x2ba29a=_0x39f585[_0x4ef5a2(0xf9)][_0x4ef5a2(0xec)](_0x4ef5a2(0xeb));!0x1===_0x47c932[_0x4ef5a2(0xfd)]?this[_0x4ef5a2(0xe9)]=null:_0x47c932[_0x4ef5a2(0xfd)]?_0x2ba29a[_0x4ef5a2(0xe4)](_0x47c932[_0x4ef5a2(0xfd)])[_0x4ef5a2(0xe8)](_0x4497ac=>{const _0x58be1c=_0x4ef5a2;this[_0x58be1c(0xe9)]=_0x4497ac;}):this[_0x4ef5a2(0xe9)]=_0x2ba29a[_0x4ef5a2(0xfc)];}}function _0xfe9e(){const _0x3896e3=['then','_token','commands','CloudServices','get','ExportWord','isPremiumPlugin','1275105WLnINF','95cWVrmh','pluginName','init','exportWord','61948hBWPMi','requires','2743615JrOnJJ','12057776BbSubG','isOfficialPlugin','plugins','config','1141698UuQtjE','token','tokenUrl','add','registerTokenUrl','2020572jczCUF','180401bnemvu','editor'];_0xfe9e=function(){return _0x3896e3;};return _0xfe9e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)]();}}
23
+ const _0x2d9c6=_0x1dc0;function _0x1dc0(_0x4f21a7,_0x98e55e){const _0x35d044=_0x35d0();return _0x1dc0=function(_0x1dc0d5,_0x11f64f){_0x1dc0d5=_0x1dc0d5-0x69;let _0xe661e2=_0x35d044[_0x1dc0d5];return _0xe661e2;},_0x1dc0(_0x4f21a7,_0x98e55e);}(function(_0x2516ce,_0x1078d7){const _0x399a34=_0x1dc0,_0xb9a3d8=_0x2516ce();while(!![]){try{const _0x3719fe=parseInt(_0x399a34(0x6e))/0x1*(parseInt(_0x399a34(0x9b))/0x2)+-parseInt(_0x399a34(0x6c))/0x3+parseInt(_0x399a34(0xb6))/0x4*(-parseInt(_0x399a34(0x6a))/0x5)+parseInt(_0x399a34(0x9f))/0x6+parseInt(_0x399a34(0x89))/0x7+parseInt(_0x399a34(0x90))/0x8*(parseInt(_0x399a34(0x6d))/0x9)+-parseInt(_0x399a34(0xa7))/0xa;if(_0x3719fe===_0x1078d7)break;else _0xb9a3d8['push'](_0xb9a3d8['shift']());}catch(_0x3126cb){_0xb9a3d8['push'](_0xb9a3d8['shift']());}}}(_0x35d0,0xe7e31));import{Command as _0xff7bc8}from'ckeditor5/src/core.js';import{logWarning as _0x535ad3,collectStylesheets as _0x53c5f1}from'ckeditor5/src/utils.js';import{getConverterOptions as _0x559554,getConverterOptionsV2 as _0x37ec4b}from'./utils.js';function _0x35d0(){const _0x28c478=['format','10538178tJFgki','POST','https://docx-converter.cke-cs.com/v1/convert','value','blob','version','_downloadFile','13172872jGkXnl','margin_top','margin_right','stringify','fileName','get','announce','margin_left','status','EDITOR_STYLES','ariaLiveAnnouncer','216IxJFXb','auto_pagination','locale','application/docx','7899342FzgyeC','finally','ExportWord','remove','URL','isBusy','converterOptions','contentLanguageDirection','25780260strAwK','download','Word\x20document\x20export\x20started','pending','dataCallback','function','config','execute','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','Word\x20document\x20export\x20failed','fetch','catch','stylesheets','editor','suggestions','187924XffRnH','converterUrl','_token','isEnabled','data','125jCDtZl','margin_bottom','4932816yadhxP','9JzThYq','17389nXcKqa','https://docx-converter.cke-cs.com/v2/convert/html-docx','options','Notification','set','footer','showWarning','plugins','then','header','assertive','export-word-v1-api-is-deprecated','click','createObjectURL','affectsData','refresh','token','comments','href','<div\x20class=\x22ck-content\x22\x20dir=\x22','createElement','orientation','application/json','document.docx','</div>','Word\x20document\x20export\x20successful'];_0x35d0=function(){return _0x28c478;};return _0x35d0();}import{getTranslation as _0x188f95}from'./utils/common-translations.js';const p=[_0x2d9c6(0x83),_0x2d9c6(0x91),_0x2d9c6(0x92),_0x2d9c6(0x6b),_0x2d9c6(0x97),_0x2d9c6(0x88),_0x2d9c6(0x77),_0x2d9c6(0x73),_0x2d9c6(0x7f),_0x2d9c6(0xb5)];export class ExportWordCommand extends _0xff7bc8{constructor(_0x5688b7){const _0x519827=_0x2d9c6;super(_0x5688b7),this[_0x519827(0x72)](_0x519827(0xa4),!0x1),this[_0x519827(0x7c)]=!0x1;}[_0x2d9c6(0x7d)](){const _0x50ab81=_0x2d9c6;this[_0x50ab81(0xb9)]=!this[_0x50ab81(0xa4)],this[_0x50ab81(0x8c)]=this[_0x50ab81(0xa4)]?_0x50ab81(0xaa):void 0x0;}[_0x2d9c6(0xae)](_0x3bc5df={}){const _0xb5482e=_0x2d9c6,_0x48d790=this[_0xb5482e(0xb4)],_0x1deda8=_0x3bc5df[_0xb5482e(0x8e)]||0x2,_0x2bd949=0x1===_0x1deda8,_0x4b32ee=_0x3bc5df[_0xb5482e(0xb7)]||(_0x2bd949?_0xb5482e(0x8b):_0xb5482e(0x6f)),_0x15def=_0x3bc5df[_0xb5482e(0xa5)]||{},_0x273fa7=_0x48d790[_0xb5482e(0x75)][_0xb5482e(0x95)](_0xb5482e(0xa1)),_0x333fbd=_0x3bc5df[_0xb5482e(0x7e)]||_0x273fa7[_0xb5482e(0xb8)],_0x46df98=!0x0===_0x15def[_0xb5482e(0x9c)],_0x37832c=_0x3bc5df[_0xb5482e(0xab)]||(_0x561020=>_0x561020[_0xb5482e(0x69)][_0xb5482e(0x95)]({'pagination':_0x46df98}));return 0x2===_0x1deda8&&function(_0x26cb7e){for(const _0x3eb3de of p)if(void 0x0!==_0x26cb7e[_0x3eb3de])return!0x0;return!0x1;}(_0x15def)&&_0x535ad3(_0xb5482e(0x79)),this[_0xb5482e(0xa4)]=!0x0,this[_0xb5482e(0x7d)](),_0x53c5f1(_0x3bc5df[_0xb5482e(0xb3)]||[_0xb5482e(0x99)])[_0xb5482e(0x76)](async _0x4e1246=>{const _0x377c=_0xb5482e;_0x48d790['ui'][_0x377c(0x9a)][_0x377c(0x96)](_0x188f95(_0x48d790[_0x377c(0x9d)],_0x377c(0xa9)));const _0x432024=await _0x37832c(_0x48d790),_0x44b4cb={'html':_0x377c(0x81)+_0x48d790[_0x377c(0x9d)][_0x377c(0xa6)]+'\x22>'+_0x432024+_0x377c(0x86),'css':_0x4e1246,[_0x2bd949?_0x377c(0x70):_0x377c(0xad)]:{..._0x15def,..._0x2bd949?_0x559554(_0x48d790,_0x15def):_0x37ec4b(_0x48d790,_0x15def)}},_0x478d0d={'method':_0x377c(0x8a),'headers':{'Content-Type':_0x377c(0x84),'Accept':_0x377c(0x9e),..._0x333fbd?{'Authorization':_0x333fbd[_0x377c(0x8c)]}:null},'body':JSON[_0x377c(0x93)](_0x44b4cb)};return window[_0x377c(0xb1)](_0x4b32ee,_0x478d0d)[_0x377c(0x76)](_0x1b6664=>{const _0x18a6a9=_0x377c;if(0xc8!==_0x1b6664[_0x18a6a9(0x98)])throw _0x1b6664;return _0x1b6664[_0x18a6a9(0x8d)]();})[_0x377c(0x76)](_0x1a55fd=>{const _0x38e463=_0x377c;_0x48d790['ui'][_0x38e463(0x9a)][_0x38e463(0x96)](_0x188f95(_0x48d790[_0x38e463(0x9d)],_0x38e463(0x87)));const _0x3c9587=_0x38e463(0xac)==typeof _0x3bc5df[_0x38e463(0x94)]?_0x3bc5df[_0x38e463(0x94)]():_0x3bc5df[_0x38e463(0x94)];this[_0x38e463(0x8f)](_0x1a55fd,_0x3c9587||_0x38e463(0x85));});})[_0xb5482e(0xb2)](_0x4b8ac4=>{const _0x491a94=_0xb5482e,_0x423109=_0x48d790[_0x491a94(0x75)][_0x491a94(0x95)](_0x491a94(0x71));throw _0x48d790['ui'][_0x491a94(0x9a)][_0x491a94(0x96)](_0x188f95(_0x48d790[_0x491a94(0x9d)],_0x491a94(0xb0)),{'politeness':_0x491a94(0x78)}),_0x423109[_0x491a94(0x74)](_0x188f95(_0x48d790[_0x491a94(0x9d)],_0x491a94(0xaf))),_0x4b8ac4;})[_0xb5482e(0xa0)](()=>{const _0x2e5e9a=_0xb5482e;this[_0x2e5e9a(0xa4)]=!0x1,this[_0x2e5e9a(0x7d)]();});}[_0x2d9c6(0x8f)](_0x1b15ea,_0x20b847){const _0x2d5dae=_0x2d9c6,_0x3fc817=document[_0x2d5dae(0x82)]('a');_0x3fc817[_0x2d5dae(0x80)]=window[_0x2d5dae(0xa3)][_0x2d5dae(0x7b)](_0x1b15ea),_0x3fc817[_0x2d5dae(0xa8)]=_0x20b847,_0x3fc817[_0x2d5dae(0x7a)](),_0x3fc817[_0x2d5dae(0xa2)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ function _0x376c(){const _0x13ea3d=['label','focus','_createButton','916eeRCnU','2410248InjMAt','919080ljgfFG','config','isBusy','229yWXGYO','isEnabled','282XopbGp','isVisible','view','exportWord','iconView','editor','componentFactory','init','children','11816MNqCRQ','execute','2135154OKWzve','ExportWordUI','add','Export\x20to\x20Word','Exporting\x20Word\x20document','isOn','commands','listenTo','menuBar:exportWord','bind','61980ixErCJ','set','pluginName','2423600pWWXmv','editing','locale','get','279VkGTJz','isOfficialPlugin','isPremiumPlugin'];_0x376c=function(){return _0x13ea3d;};return _0x376c();}const _0x21c5a6=_0x391b;function _0x391b(_0xbcb937,_0x599d2a){const _0x376c14=_0x376c();return _0x391b=function(_0x391b2d,_0x12c7a4){_0x391b2d=_0x391b2d-0xac;let _0x4f8e58=_0x376c14[_0x391b2d];return _0x4f8e58;},_0x391b(_0xbcb937,_0x599d2a);}(function(_0x51b75d,_0x3f307c){const _0x174416=_0x391b,_0x4b3ffd=_0x51b75d();while(!![]){try{const _0x244a37=parseInt(_0x174416(0xcf))/0x1*(-parseInt(_0x174416(0xca))/0x2)+-parseInt(_0x174416(0xd1))/0x3*(-parseInt(_0x174416(0xb1))/0x4)+parseInt(_0x174416(0xc0))/0x5+-parseInt(_0x174416(0xcb))/0x6+-parseInt(_0x174416(0xb3))/0x7+parseInt(_0x174416(0xcc))/0x8+parseInt(_0x174416(0xc4))/0x9*(parseInt(_0x174416(0xbd))/0xa);if(_0x244a37===_0x3f307c)break;else _0x4b3ffd['push'](_0x4b3ffd['shift']());}catch(_0x5c8817){_0x4b3ffd['push'](_0x4b3ffd['shift']());}}}(_0x376c,0x3ef0f));import{Plugin as _0x277681}from'ckeditor5/src/core.js';import{IconExportWord as _0x519114}from'ckeditor5/src/icons.js';import{ButtonView as _0x3956e0,MenuBarMenuListItemButtonView as _0x4c60f6,SpinnerView as _0xc90ac7}from'ckeditor5/src/ui.js';import{getTranslation as _0x4b190c}from'./utils/common-translations.js';export class ExportWordUI extends _0x277681{static get[_0x21c5a6(0xbf)](){const _0x1fbc0e=_0x21c5a6;return _0x1fbc0e(0xb4);}static get[_0x21c5a6(0xc5)](){return!0x0;}static get[_0x21c5a6(0xc6)](){return!0x0;}[_0x21c5a6(0xaf)](){const _0x22f686=_0x21c5a6,_0x57167a=this[_0x22f686(0xad)];_0x57167a['ui'][_0x22f686(0xae)][_0x22f686(0xb5)](_0x22f686(0xd4),()=>{const _0x4f54a0=_0x22f686,_0x227e32=_0x57167a[_0x4f54a0(0xb9)][_0x4f54a0(0xc3)](_0x4f54a0(0xd4)),_0x4146fd=this[_0x4f54a0(0xc9)](_0x3956e0);return _0x4146fd[_0x4f54a0(0xbe)]({'tooltip':!0x0}),_0x4146fd[_0x4f54a0(0xbc)](_0x4f54a0(0xb8))['to'](_0x227e32,_0x4f54a0(0xce)),_0x4146fd;}),_0x57167a['ui'][_0x22f686(0xae)][_0x22f686(0xb5)](_0x22f686(0xbb),()=>this[_0x22f686(0xc9)](_0x4c60f6));}[_0x21c5a6(0xc9)](_0xcdd564){const _0x3cb744=_0x21c5a6,_0x15a8b8=this[_0x3cb744(0xad)],_0xa4f84a=_0x15a8b8[_0x3cb744(0xcd)][_0x3cb744(0xc3)](_0x3cb744(0xd4))||{},_0x4408af=_0x15a8b8[_0x3cb744(0xb9)][_0x3cb744(0xc3)](_0x3cb744(0xd4)),_0x373ca6=new _0xcdd564(_0x15a8b8[_0x3cb744(0xc2)]),_0x526245=new _0xc90ac7();return _0x373ca6[_0x3cb744(0xb0)][_0x3cb744(0xb5)](_0x526245),_0x526245[_0x3cb744(0xbc)](_0x3cb744(0xd2))['to'](_0x4408af,_0x3cb744(0xce)),_0x373ca6[_0x3cb744(0xac)][_0x3cb744(0xbc)](_0x3cb744(0xd2))['to'](_0x4408af,_0x3cb744(0xce),_0x5aa0f6=>!_0x5aa0f6),_0x373ca6[_0x3cb744(0xbe)]({'icon':_0x519114}),_0x373ca6[_0x3cb744(0xbc)](_0x3cb744(0xd0))['to'](_0x4408af,_0x3cb744(0xd0)),_0x373ca6[_0x3cb744(0xbc)](_0x3cb744(0xc7))['to'](_0x4408af,_0x3cb744(0xce),_0x436e6b=>_0x4b190c(_0x15a8b8[_0x3cb744(0xc2)],_0x436e6b?_0x3cb744(0xb7):_0x3cb744(0xb6))),this[_0x3cb744(0xba)](_0x373ca6,_0x3cb744(0xb2),()=>{const _0x5959c4=_0x3cb744;_0x15a8b8[_0x5959c4(0xb2)](_0x5959c4(0xd4),_0xa4f84a),_0x15a8b8[_0x5959c4(0xc1)][_0x5959c4(0xd3)][_0x5959c4(0xc8)]();}),_0x373ca6;}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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';
23
+ (function(_0x1c71e0,_0x1ea84a){var _0x4410c5=_0xc926,_0x3c23fc=_0x1c71e0();while(!![]){try{var _0x4fbecf=parseInt(_0x4410c5(0x1d1))/0x1+parseInt(_0x4410c5(0x1cd))/0x2+-parseInt(_0x4410c5(0x1d5))/0x3*(parseInt(_0x4410c5(0x1cf))/0x4)+-parseInt(_0x4410c5(0x1d0))/0x5*(-parseInt(_0x4410c5(0x1d4))/0x6)+-parseInt(_0x4410c5(0x1d2))/0x7+-parseInt(_0x4410c5(0x1cc))/0x8*(-parseInt(_0x4410c5(0x1cb))/0x9)+parseInt(_0x4410c5(0x1d3))/0xa*(-parseInt(_0x4410c5(0x1ce))/0xb);if(_0x4fbecf===_0x1ea84a)break;else _0x3c23fc['push'](_0x3c23fc['shift']());}catch(_0x38d18d){_0x3c23fc['push'](_0x3c23fc['shift']());}}}(_0x4e7e,0x643b5));export{ExportWord}from'./exportword.js';export{ExportWordCommand}from'./exportwordcommand.js';function _0x4e7e(){var _0x3f4366=['31380Orzzqk','12iuKZTf','3972mioQio','1392372kkBVdu','24YAevlk','1572614QCIKcv','3509boYypR','2000WbLBlE','1848665bHgCBU','355204sHEaUP','1900710vjnMbI'];_0x4e7e=function(){return _0x3f4366;};return _0x4e7e();}function _0xc926(_0x243364,_0x121d98){var _0x4e7e12=_0x4e7e();return _0xc926=function(_0xc9268e,_0x7fad96){_0xc9268e=_0xc9268e-0x1cb;var _0x32d49e=_0x4e7e12[_0xc9268e];return _0x32d49e;},_0xc926(_0x243364,_0x121d98);}import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ export function getTranslation(_0x9bdf2a,_0x1acb56){const t=_0x9bdf2a['t'];switch(_0x1acb56){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 _0x1acb56;}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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};}):[];}
23
+ (function(_0x325d8c,_0x4507ca){const _0x2605fb=_0x31d3,_0x15f3b7=_0x325d8c();while(!![]){try{const _0x550cab=parseInt(_0x2605fb(0x1f1))/0x1+-parseInt(_0x2605fb(0x1f3))/0x2*(parseInt(_0x2605fb(0x205))/0x3)+parseInt(_0x2605fb(0x1ee))/0x4+-parseInt(_0x2605fb(0x206))/0x5*(parseInt(_0x2605fb(0x1fe))/0x6)+-parseInt(_0x2605fb(0x21a))/0x7+parseInt(_0x2605fb(0x203))/0x8*(-parseInt(_0x2605fb(0x20e))/0x9)+parseInt(_0x2605fb(0x208))/0xa;if(_0x550cab===_0x4507ca)break;else _0x15f3b7['push'](_0x15f3b7['shift']());}catch(_0x5496c6){_0x15f3b7['push'](_0x15f3b7['shift']());}}}(_0x59ff,0x692bd));export function getConverterOptions(_0x27d181,_0x585134={}){const _0x1d32c8=_0x31d3,_0x25a3f0=_0x27d181[_0x1d32c8(0x20f)][_0x1d32c8(0x1f7)](_0x1d32c8(0x1fa)),_0x59bbd9=_0x27d181[_0x1d32c8(0x20f)][_0x1d32c8(0x1f7)](_0x1d32c8(0x1fc)),_0x3cc6da=_0x27d181[_0x1d32c8(0x20f)][_0x1d32c8(0x1f7)](_0x1d32c8(0x213)),_0x51a02c=_0x585134;if(_0x25a3f0&&_0x59bbd9){const _0x61f5a7=getComments(_0x27d181[_0x1d32c8(0x20f)][_0x1d32c8(0x21f)](_0x1d32c8(0x1fc))[_0x1d32c8(0x221)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x1d32c8(0x1f4)](_0x61f5a7)[_0x1d32c8(0x21d)]&&(_0x51a02c[_0x1d32c8(0x204)]=_0x61f5a7);}if(_0x25a3f0&&_0x3cc6da){const _0x887e87=_0x27d181[_0x1d32c8(0x20f)][_0x1d32c8(0x21f)](_0x1d32c8(0x213)),_0x58eea1=_0x27d181[_0x1d32c8(0x20f)][_0x1d32c8(0x21f)](_0x1d32c8(0x1fa)),_0x3ced23=getSuggestions(_0x887e87[_0x1d32c8(0x212)]({'toJSON':!0x0}),_0x58eea1[_0x1d32c8(0x1f2)]);Object[_0x1d32c8(0x1f4)](_0x3ced23)[_0x1d32c8(0x21d)]&&(_0x51a02c[_0x1d32c8(0x20d)]=_0x3ced23);}return(_0x51a02c[_0x1d32c8(0x20d)]||_0x51a02c[_0x1d32c8(0x204)])&&(_0x51a02c[_0x1d32c8(0x222)]=new Intl[(_0x1d32c8(0x1f5))]()[_0x1d32c8(0x21c)]()[_0x1d32c8(0x201)]),_0x51a02c;}export function getComments(_0x37e9e4){const _0x2d8350=_0x31d3,_0x41d97a={};if(!_0x37e9e4[_0x2d8350(0x21d)])return _0x41d97a;for(const _0x502ace of _0x37e9e4)_0x502ace[_0x2d8350(0x204)][_0x2d8350(0x218)](_0x4ca34d=>{const _0x1493ae=_0x2d8350;void 0x0===_0x41d97a[_0x502ace['id']]&&(_0x41d97a[_0x502ace['id']]=[]),_0x41d97a[_0x502ace['id']][_0x1493ae(0x214)]({'author':_0x4ca34d[_0x1493ae(0x20a)][_0x1493ae(0x20b)],'content':_0x4ca34d[_0x1493ae(0x217)],'created':_0x4ca34d[_0x1493ae(0x211)],'is_resolved':_0x502ace[_0x1493ae(0x1f6)]});});return _0x41d97a;}export function getSuggestions(_0x7cc506,_0x54c0a2){const _0x13d337=_0x31d3,_0x3aa805={};if(!_0x7cc506[_0x13d337(0x21d)]||!_0x54c0a2[_0x13d337(0x21d)])return _0x3aa805;for(const {id:_0x3f34e5,createdAt:_0x196cd,authorId:_0x8e5e8b,attributes:_0x42c626}of _0x7cc506){const _0x191e2c=_0x42c626&&_0x42c626[_0x13d337(0x1ec)],_0x277c79=_0x191e2c?_0x191e2c[_0x13d337(0x20c)]:_0x54c0a2[_0x13d337(0x21f)](_0x8e5e8b)[_0x13d337(0x20b)];_0x3aa805[_0x3f34e5]={'author':_0x277c79,'created':_0x196cd};}return _0x3aa805;}export function getConverterOptionsV2(_0x47cbe0,_0x47c57d={}){const _0x5667eb=_0x31d3,_0xf256c3=_0x47cbe0[_0x5667eb(0x20f)][_0x5667eb(0x1f7)](_0x5667eb(0x1fa)),_0x262f0f=_0x47cbe0[_0x5667eb(0x20f)][_0x5667eb(0x1f7)](_0x5667eb(0x1fc)),_0x4ec765=_0x47cbe0[_0x5667eb(0x20f)][_0x5667eb(0x1f7)](_0x5667eb(0x213)),_0x10c35f=_0x47cbe0[_0x5667eb(0x20f)][_0x5667eb(0x1f7)](_0x5667eb(0x210)),_0x38745c=_0x47cbe0[_0x5667eb(0x1ed)][_0x5667eb(0x220)],_0x3a3c8c=_0x47c57d,_0x3977b2={};if(_0x3a3c8c[_0x5667eb(0x219)]=_0x3a3c8c[_0x5667eb(0x219)]||{},_0x3a3c8c[_0x5667eb(0x219)][_0x5667eb(0x224)]=_0x3a3c8c[_0x5667eb(0x219)][_0x5667eb(0x224)]||_0x38745c,_0xf256c3&&_0x262f0f){const _0x3aac75=getCommentsV2(_0x47cbe0[_0x5667eb(0x20f)][_0x5667eb(0x21f)](_0x5667eb(0x1fc))[_0x5667eb(0x221)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x3aac75[_0x5667eb(0x21d)]&&(_0x3977b2[_0x5667eb(0x200)]=_0x3aac75);}if(_0xf256c3&&_0x4ec765){const _0x265a8a=_0x47cbe0[_0x5667eb(0x20f)][_0x5667eb(0x21f)](_0x5667eb(0x213)),_0x2572d2=_0x47cbe0[_0x5667eb(0x20f)][_0x5667eb(0x21f)](_0x5667eb(0x1fa)),_0x21f6d8=getSuggestionsV2(_0x265a8a[_0x5667eb(0x212)]({'toJSON':!0x0}),_0x2572d2[_0x5667eb(0x1f2)]);_0x21f6d8[_0x5667eb(0x21d)]&&(_0x3977b2[_0x5667eb(0x20d)]=_0x21f6d8);}if(_0x10c35f){const _0x20871b=_0x47cbe0[_0x5667eb(0x20f)][_0x5667eb(0x21f)](_0x5667eb(0x225)),_0x47f0d6=_0x20871b[_0x5667eb(0x21e)],{prefix:_0x5e029e,suffix:_0xc6df92}=_0x47cbe0[_0x5667eb(0x215)][_0x5667eb(0x21f)](_0x5667eb(0x216));if(_0x3a3c8c[_0x5667eb(0x1fd)]={'prefix':_0x5e029e,'suffix':_0xc6df92},_0x5667eb(0x1fb)!==_0x47f0d6){_0x3a3c8c[_0x5667eb(0x1fd)][_0x5667eb(0x202)]={};const _0x22997d=_0x5667eb(0x1f8),_0x3d8c73=_0x5667eb(0x207)===_0x47f0d6?_0x20871b[_0x5667eb(0x1f0)]():_0x20871b[_0x5667eb(0x1f9)](_0x47f0d6,!0x0);for(const _0x514a36 of Object[_0x5667eb(0x21b)](_0x3d8c73)){const [_0x1201e9,_0x358f28]=_0x514a36;_0x5667eb(0x1ff)===_0x20871b[_0x5667eb(0x1ef)](_0x1201e9)?_0x3a3c8c[_0x5667eb(0x1fd)][_0x5667eb(0x202)][_0x1201e9]=null!==_0x358f28?_0x358f28:_0x22997d:_0x3a3c8c[_0x5667eb(0x1fd)][_0x5667eb(0x202)][_0x1201e9]=null!==_0x358f28?_0x358f28:_0x20871b[_0x5667eb(0x223)](_0x1201e9)||_0x1201e9;}}}return(_0x3977b2[_0x5667eb(0x200)]||_0x3977b2[_0x5667eb(0x20d)])&&(_0x3a3c8c[_0x5667eb(0x222)]=new Intl[(_0x5667eb(0x1f5))]()[_0x5667eb(0x21c)]()[_0x5667eb(0x201)],_0x3a3c8c[_0x5667eb(0x209)]=_0x3977b2),_0x3a3c8c;}function _0x31d3(_0x5e6176,_0x497ed0){const _0x59ff46=_0x59ff();return _0x31d3=function(_0x31d3af,_0x58bfb7){_0x31d3af=_0x31d3af-0x1ec;let _0x55f23a=_0x59ff46[_0x31d3af];return _0x55f23a;},_0x31d3(_0x5e6176,_0x497ed0);}export function getCommentsV2(_0x38b332){const _0x3b236f=_0x31d3,_0x21d882=[];if(!_0x38b332[_0x3b236f(0x21d)])return _0x21d882;for(const _0x4ab45a of _0x38b332){const _0x3108a4=_0x4ab45a[_0x3b236f(0x204)][_0x3b236f(0x218)](_0x3a2d81=>({'author':_0x3a2d81[_0x3b236f(0x20a)][_0x3b236f(0x20b)],'content':_0x3a2d81[_0x3b236f(0x217)],'created_at':_0x3a2d81[_0x3b236f(0x211)]}));_0x21d882[_0x3b236f(0x214)]({'thread_id':_0x4ab45a['id'],'is_resolved':_0x4ab45a[_0x3b236f(0x1f6)],'comments':_0x3108a4});}return _0x21d882;}export function getSuggestionsV2(_0x160fdd,_0x19171a){const _0x1554ad=_0x31d3;return _0x160fdd[_0x1554ad(0x21d)]&&_0x19171a[_0x1554ad(0x21d)]?_0x160fdd[_0x1554ad(0x218)](({id:_0x4fcdc3,createdAt:_0x4d0a99,authorId:_0x22c3cd,attributes:_0x2c52ef})=>{const _0x17ba07=_0x1554ad,_0xb99c99=_0x2c52ef&&_0x2c52ef[_0x17ba07(0x1ec)];return{'id':_0x4fcdc3,'author':_0xb99c99?_0xb99c99[_0x17ba07(0x20c)]:_0x19171a[_0x17ba07(0x21f)](_0x22c3cd)[_0x17ba07(0x20b)],'created_at':_0x4d0a99};}):[];}function _0x59ff(){const _0x566570=['getMergeFieldType','getDefaultValues','843567LAubIw','users','2Uwemvn','keys','DateTimeFormat','isResolved','has','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','getDataSetValues','Users','$labels','CommentsRepository','merge_fields','30WrcgMw','image','comment_threads','timeZone','data','10376ZaSJAh','comments','406176YMmMed','513655TikHyT','$defaultValues','1602860fOnjez','collaboration_features','author','name','authorName','suggestions','423MLIWZt','plugins','MergeFields','createdAt','getSuggestions','TrackChanges','push','config','mergeFields','content','map','document','1716365TIrkup','entries','resolvedOptions','length','previewMode','get','contentLanguage','getCommentThreads','timezone','getLabel','language','MergeFieldsEditing','@external','locale','1528516qaLwdN'];_0x59ff=function(){return _0x566570;};return _0x59ff();}