@ckeditor/ckeditor5-export-word 46.0.0-alpha.1 → 46.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": "46.0.0-alpha.1",
3
+ "version": "46.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": "46.0.0-alpha.1",
34
- "@ckeditor/ckeditor5-collaboration-core": "46.0.0-alpha.1",
35
- "@ckeditor/ckeditor5-comments": "46.0.0-alpha.1",
36
- "@ckeditor/ckeditor5-core": "46.0.0-alpha.1",
37
- "@ckeditor/ckeditor5-icons": "46.0.0-alpha.1",
38
- "@ckeditor/ckeditor5-merge-fields": "46.0.0-alpha.1",
39
- "@ckeditor/ckeditor5-track-changes": "46.0.0-alpha.1",
40
- "@ckeditor/ckeditor5-utils": "46.0.0-alpha.1",
41
- "@ckeditor/ckeditor5-ui": "46.0.0-alpha.1",
42
- "ckeditor5": "46.0.0-alpha.1"
33
+ "@ckeditor/ckeditor5-cloud-services": "46.0.0-alpha.2",
34
+ "@ckeditor/ckeditor5-collaboration-core": "46.0.0-alpha.2",
35
+ "@ckeditor/ckeditor5-comments": "46.0.0-alpha.2",
36
+ "@ckeditor/ckeditor5-core": "46.0.0-alpha.2",
37
+ "@ckeditor/ckeditor5-icons": "46.0.0-alpha.2",
38
+ "@ckeditor/ckeditor5-merge-fields": "46.0.0-alpha.2",
39
+ "@ckeditor/ckeditor5-track-changes": "46.0.0-alpha.2",
40
+ "@ckeditor/ckeditor5-utils": "46.0.0-alpha.2",
41
+ "@ckeditor/ckeditor5-ui": "46.0.0-alpha.2",
42
+ "ckeditor5": "46.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 _0xc2c69b=_0x1cbc;(function(_0x322762,_0x11764e){const _0x6f8b4c=_0x1cbc,_0x3ec6c8=_0x322762();while(!![]){try{const _0x37e809=parseInt(_0x6f8b4c(0xd0))/0x1+-parseInt(_0x6f8b4c(0xcf))/0x2*(-parseInt(_0x6f8b4c(0xe8))/0x3)+-parseInt(_0x6f8b4c(0xd1))/0x4*(-parseInt(_0x6f8b4c(0xce))/0x5)+-parseInt(_0x6f8b4c(0xe7))/0x6*(parseInt(_0x6f8b4c(0xe0))/0x7)+-parseInt(_0x6f8b4c(0xe5))/0x8*(-parseInt(_0x6f8b4c(0xe1))/0x9)+parseInt(_0x6f8b4c(0xd5))/0xa*(-parseInt(_0x6f8b4c(0xe9))/0xb)+-parseInt(_0x6f8b4c(0xd7))/0xc;if(_0x37e809===_0x11764e)break;else _0x3ec6c8['push'](_0x3ec6c8['shift']());}catch(_0x456a5e){_0x3ec6c8['push'](_0x3ec6c8['shift']());}}}(_0x3b21,0x5bbdd));import{Plugin as _0x985aa7}from'ckeditor5/src/core.js';import{Notification as _0x3a6afa}from'ckeditor5/src/ui.js';import{ExportWordCommand as _0x2bd895}from'./exportwordcommand.js';import{ExportWordUI as _0x304ce1}from'./exportwordui.js';function _0x1cbc(_0x162b2f,_0x364f2d){const _0x3b21ff=_0x3b21();return _0x1cbc=function(_0x1cbcd5,_0x338d7e){_0x1cbcd5=_0x1cbcd5-0xcb;let _0x5076fe=_0x3b21ff[_0x1cbcd5];return _0x5076fe;},_0x1cbc(_0x162b2f,_0x364f2d);}function _0x3b21(){const _0x5e0e3f=['isOfficialPlugin','ExportWord','tokenUrl','add','then','get','7iCoTCF','63moIJRu','_token','editor','config','158360NXYaLi','pluginName','473694xIYbNk','128049lrcMFw','18601tFppcp','init','CloudServices','requires','107420jnnTNs','6WfITra','610045pkcvCf','4GLTZHJ','token','isPremiumPlugin','plugins','1810douoZJ','exportWord','1648200vuosKy','registerTokenUrl','commands'];_0x3b21=function(){return _0x5e0e3f;};return _0x3b21();}export class ExportWord extends _0x985aa7{[_0xc2c69b(0xe2)];static get[_0xc2c69b(0xe6)](){const _0x648ee6=_0xc2c69b;return _0x648ee6(0xdb);}static get[_0xc2c69b(0xda)](){return!0x0;}static get[_0xc2c69b(0xd3)](){return!0x0;}static get[_0xc2c69b(0xcd)](){const _0x1a071e=_0xc2c69b;return[_0x1a071e(0xcc),_0x3a6afa,_0x304ce1];}[_0xc2c69b(0xcb)](){const _0x261132=_0xc2c69b,_0x2bfd1a=this[_0x261132(0xe3)],_0x3b465c=_0x2bfd1a[_0x261132(0xe4)][_0x261132(0xdf)](_0x261132(0xd6))||{};_0x2bfd1a[_0x261132(0xd9)][_0x261132(0xdd)](_0x261132(0xd6),new _0x2bd895(_0x2bfd1a));const _0x588365=_0x2bfd1a[_0x261132(0xd4)][_0x261132(0xdf)](_0x261132(0xcc));!0x1===_0x3b465c[_0x261132(0xdc)]?this[_0x261132(0xe2)]=null:_0x3b465c[_0x261132(0xdc)]?_0x588365[_0x261132(0xd8)](_0x3b465c[_0x261132(0xdc)])[_0x261132(0xde)](_0x2803fd=>{const _0x3d05de=_0x261132;this[_0x3d05de(0xe2)]=_0x2803fd;}):this[_0x261132(0xe2)]=_0x588365[_0x261132(0xd2)];}}
23
+ const _0x2fc0e6=_0x5d72;(function(_0x252600,_0x4a38aa){const _0x59304c=_0x5d72,_0x2004a0=_0x252600();while(!![]){try{const _0x314c1a=-parseInt(_0x59304c(0x181))/0x1*(-parseInt(_0x59304c(0x17f))/0x2)+-parseInt(_0x59304c(0x194))/0x3*(-parseInt(_0x59304c(0x193))/0x4)+-parseInt(_0x59304c(0x186))/0x5+parseInt(_0x59304c(0x189))/0x6+-parseInt(_0x59304c(0x195))/0x7+-parseInt(_0x59304c(0x17e))/0x8*(parseInt(_0x59304c(0x197))/0x9)+parseInt(_0x59304c(0x187))/0xa;if(_0x314c1a===_0x4a38aa)break;else _0x2004a0['push'](_0x2004a0['shift']());}catch(_0x535220){_0x2004a0['push'](_0x2004a0['shift']());}}}(_0x3641,0x6eaaf));import{Plugin as _0x418e12}from'ckeditor5/src/core.js';import{Notification as _0x3a1d87}from'ckeditor5/src/ui.js';import{ExportWordCommand as _0x4feb7d}from'./exportwordcommand.js';import{ExportWordUI as _0x545d0f}from'./exportwordui.js';export class ExportWord extends _0x418e12{[_0x2fc0e6(0x180)];static get[_0x2fc0e6(0x18e)](){const _0x58ce9a=_0x2fc0e6;return _0x58ce9a(0x17b);}static get[_0x2fc0e6(0x192)](){return!0x0;}static get[_0x2fc0e6(0x18b)](){return!0x0;}static get[_0x2fc0e6(0x191)](){const _0x22e9dd=_0x2fc0e6;return[_0x22e9dd(0x18a),_0x3a1d87,_0x545d0f];}[_0x2fc0e6(0x196)](){const _0x3a06e2=_0x2fc0e6,_0x299819=this[_0x3a06e2(0x17d)],_0x4c3572=_0x299819[_0x3a06e2(0x18f)][_0x3a06e2(0x183)](_0x3a06e2(0x18c))||{};_0x299819[_0x3a06e2(0x190)][_0x3a06e2(0x18d)](_0x3a06e2(0x18c),new _0x4feb7d(_0x299819));const _0x3f5d71=_0x299819[_0x3a06e2(0x182)][_0x3a06e2(0x183)](_0x3a06e2(0x18a));!0x1===_0x4c3572[_0x3a06e2(0x188)]?this[_0x3a06e2(0x180)]=null:_0x4c3572[_0x3a06e2(0x188)]?_0x3f5d71[_0x3a06e2(0x185)](_0x4c3572[_0x3a06e2(0x188)])[_0x3a06e2(0x184)](_0x3a7610=>{const _0x3c3c13=_0x3a06e2;this[_0x3c3c13(0x180)]=_0x3a7610;}):this[_0x3a06e2(0x180)]=_0x3f5d71[_0x3a06e2(0x17c)];}}function _0x5d72(_0x1824b3,_0xb0a191){const _0x364176=_0x3641();return _0x5d72=function(_0x5d72a8,_0x21a8c9){_0x5d72a8=_0x5d72a8-0x17b;let _0x2edf5d=_0x364176[_0x5d72a8];return _0x2edf5d;},_0x5d72(_0x1824b3,_0xb0a191);}function _0x3641(){const _0x594b68=['4OGfgkw','450948YoNSPo','5417055TMzfMP','init','6705eUqrpl','ExportWord','token','editor','6328iXkFJc','8NVZLhu','_token','119513EMEFYA','plugins','get','then','registerTokenUrl','1159150pSbWHZ','9491030XCaDpw','tokenUrl','2824884JvJwiT','CloudServices','isPremiumPlugin','exportWord','add','pluginName','config','commands','requires','isOfficialPlugin'];_0x3641=function(){return _0x594b68;};return _0x3641();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x127a3d=_0x4ae1;function _0x4ae1(_0x5a2ecb,_0x2adeff){const _0x69a920=_0x69a9();return _0x4ae1=function(_0x4ae1df,_0x1f1652){_0x4ae1df=_0x4ae1df-0x158;let _0x4a2118=_0x69a920[_0x4ae1df];return _0x4a2118;},_0x4ae1(_0x5a2ecb,_0x2adeff);}(function(_0x262d16,_0x175cd7){const _0x2dd5c9=_0x4ae1,_0x22d96e=_0x262d16();while(!![]){try{const _0x38ed51=-parseInt(_0x2dd5c9(0x17f))/0x1+-parseInt(_0x2dd5c9(0x166))/0x2+-parseInt(_0x2dd5c9(0x183))/0x3+-parseInt(_0x2dd5c9(0x189))/0x4*(-parseInt(_0x2dd5c9(0x177))/0x5)+-parseInt(_0x2dd5c9(0x15a))/0x6+parseInt(_0x2dd5c9(0x18c))/0x7*(-parseInt(_0x2dd5c9(0x172))/0x8)+parseInt(_0x2dd5c9(0x19c))/0x9;if(_0x38ed51===_0x175cd7)break;else _0x22d96e['push'](_0x22d96e['shift']());}catch(_0x2f371f){_0x22d96e['push'](_0x22d96e['shift']());}}}(_0x69a9,0x93380));import{Command as _0x3c7e95}from'ckeditor5/src/core.js';function _0x69a9(){const _0x4b0f12=['download','export-word-v1-api-is-deprecated','Word\x20document\x20export\x20successful','URL','options','blob','15217884HOmbNU','status','stylesheets','isBusy','margin_right','Notification','remove','https://docx-converter.cke-cs.com/v2/convert/html-docx','Word\x20document\x20export\x20started','document.docx','orientation','locale','fileName','set','5654466NWPVvh','createElement','suggestions','assertive','converterOptions','refresh','then','fetch','auto_pagination','data','announce','pending','132394lsoTvo','execute','<div\x20class=\x22ck-content\x22\x20dir=\x22','Word\x20document\x20export\x20failed','format','POST','function','finally','click','EDITOR_STYLES','createObjectURL','href','12128QfFZyo','showWarning','editor','converterUrl','affectsData','19035iOvPhk','application/json','margin_left','footer','plugins','get','version','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','208107umWkms','isEnabled','comments','value','2092428gAPZvT','ariaLiveAnnouncer','catch','_downloadFile','stringify','margin_bottom','916CabeQt','ExportWord','config','210NJMqnU','header','application/docx','margin_top','token','https://docx-converter.cke-cs.com/v1/convert','contentLanguageDirection','dataCallback','</div>','_token'];_0x69a9=function(){return _0x4b0f12;};return _0x69a9();}import{logWarning as _0x474094,collectStylesheets as _0xf00692}from'ckeditor5/src/utils.js';import{getConverterOptions as _0x3d9db5,getConverterOptionsV2 as _0x2eb0af}from'./utils.js';import{getTranslation as _0x391f0c}from'./utils/common-translations.js';const p=[_0x127a3d(0x1a6),_0x127a3d(0x18f),_0x127a3d(0x1a0),_0x127a3d(0x188),_0x127a3d(0x179),_0x127a3d(0x16a),_0x127a3d(0x18d),_0x127a3d(0x17a),_0x127a3d(0x181),_0x127a3d(0x15c)];export class ExportWordCommand extends _0x3c7e95{constructor(_0x4496e7){const _0x5a3abf=_0x127a3d;super(_0x4496e7),this[_0x5a3abf(0x159)](_0x5a3abf(0x19f),!0x1),this[_0x5a3abf(0x176)]=!0x1;}[_0x127a3d(0x15f)](){const _0x33fe51=_0x127a3d;this[_0x33fe51(0x180)]=!this[_0x33fe51(0x19f)],this[_0x33fe51(0x182)]=this[_0x33fe51(0x19f)]?_0x33fe51(0x165):void 0x0;}[_0x127a3d(0x167)](_0x393f51={}){const _0x4ab0a4=_0x127a3d,_0x2948cf=this[_0x4ab0a4(0x174)],_0x11aab0=_0x393f51[_0x4ab0a4(0x17d)]||0x2,_0x323a82=0x1===_0x11aab0,_0x4ccc83=_0x393f51[_0x4ab0a4(0x175)]||(_0x323a82?_0x4ab0a4(0x191):_0x4ab0a4(0x1a3)),_0x2f357f=_0x393f51[_0x4ab0a4(0x15e)]||{},_0x218a5d=_0x2948cf[_0x4ab0a4(0x17b)][_0x4ab0a4(0x17c)](_0x4ab0a4(0x18a)),_0x56df85=_0x393f51[_0x4ab0a4(0x190)]||_0x218a5d[_0x4ab0a4(0x195)],_0x158e16=!0x0===_0x2f357f[_0x4ab0a4(0x162)],_0x52249b=_0x393f51[_0x4ab0a4(0x193)]||(_0x33a88b=>_0x33a88b[_0x4ab0a4(0x163)][_0x4ab0a4(0x17c)]({'pagination':_0x158e16}));return 0x2===_0x11aab0&&function(_0x57787a){for(const _0x5eca07 of p)if(void 0x0!==_0x57787a[_0x5eca07])return!0x0;return!0x1;}(_0x2f357f)&&_0x474094(_0x4ab0a4(0x197)),this[_0x4ab0a4(0x19f)]=!0x0,this[_0x4ab0a4(0x15f)](),_0xf00692(_0x393f51[_0x4ab0a4(0x19e)]||[_0x4ab0a4(0x16f)])[_0x4ab0a4(0x160)](async _0x3fec4a=>{const _0x151128=_0x4ab0a4;_0x2948cf['ui'][_0x151128(0x184)][_0x151128(0x164)](_0x391f0c(_0x2948cf[_0x151128(0x1a7)],_0x151128(0x1a4)));const _0x329915=await _0x52249b(_0x2948cf),_0x282036={'html':_0x151128(0x168)+_0x2948cf[_0x151128(0x1a7)][_0x151128(0x192)]+'\x22>'+_0x329915+_0x151128(0x194),'css':_0x3fec4a,[_0x323a82?_0x151128(0x19a):_0x151128(0x18b)]:{..._0x2f357f,..._0x323a82?_0x3d9db5(_0x2948cf,_0x2f357f):_0x2eb0af(_0x2948cf,_0x2f357f)}},_0x5c182f={'method':_0x151128(0x16b),'headers':{'Content-Type':_0x151128(0x178),'Accept':_0x151128(0x18e),..._0x56df85?{'Authorization':_0x56df85[_0x151128(0x182)]}:null},'body':JSON[_0x151128(0x187)](_0x282036)};return window[_0x151128(0x161)](_0x4ccc83,_0x5c182f)[_0x151128(0x160)](_0x1c76f3=>{const _0x3eea2d=_0x151128;if(0xc8!==_0x1c76f3[_0x3eea2d(0x19d)])throw _0x1c76f3;return _0x1c76f3[_0x3eea2d(0x19b)]();})[_0x151128(0x160)](_0x588b1b=>{const _0x302736=_0x151128;_0x2948cf['ui'][_0x302736(0x184)][_0x302736(0x164)](_0x391f0c(_0x2948cf[_0x302736(0x1a7)],_0x302736(0x198)));const _0x4e18fa=_0x302736(0x16c)==typeof _0x393f51[_0x302736(0x158)]?_0x393f51[_0x302736(0x158)]():_0x393f51[_0x302736(0x158)];this[_0x302736(0x186)](_0x588b1b,_0x4e18fa||_0x302736(0x1a5));});})[_0x4ab0a4(0x185)](_0xd954c5=>{const _0x5d4cb2=_0x4ab0a4,_0x5dbecb=_0x2948cf[_0x5d4cb2(0x17b)][_0x5d4cb2(0x17c)](_0x5d4cb2(0x1a1));throw _0x2948cf['ui'][_0x5d4cb2(0x184)][_0x5d4cb2(0x164)](_0x391f0c(_0x2948cf[_0x5d4cb2(0x1a7)],_0x5d4cb2(0x169)),{'politeness':_0x5d4cb2(0x15d)}),_0x5dbecb[_0x5d4cb2(0x173)](_0x391f0c(_0x2948cf[_0x5d4cb2(0x1a7)],_0x5d4cb2(0x17e))),_0xd954c5;})[_0x4ab0a4(0x16d)](()=>{const _0x54702b=_0x4ab0a4;this[_0x54702b(0x19f)]=!0x1,this[_0x54702b(0x15f)]();});}[_0x127a3d(0x186)](_0x45e0e5,_0x3b0f51){const _0x3f208b=_0x127a3d,_0x5297e1=document[_0x3f208b(0x15b)]('a');_0x5297e1[_0x3f208b(0x171)]=window[_0x3f208b(0x199)][_0x3f208b(0x170)](_0x45e0e5),_0x5297e1[_0x3f208b(0x196)]=_0x3b0f51,_0x5297e1[_0x3f208b(0x16e)](),_0x5297e1[_0x3f208b(0x1a2)]();}}
23
+ const _0x3aedec=_0x5442;(function(_0x324fa0,_0x49587f){const _0x1e9704=_0x5442,_0x3f7064=_0x324fa0();while(!![]){try{const _0x55f336=-parseInt(_0x1e9704(0x1b1))/0x1*(parseInt(_0x1e9704(0x1c8))/0x2)+parseInt(_0x1e9704(0x17f))/0x3*(-parseInt(_0x1e9704(0x1b4))/0x4)+parseInt(_0x1e9704(0x1cf))/0x5+parseInt(_0x1e9704(0x1c3))/0x6*(parseInt(_0x1e9704(0x1a6))/0x7)+-parseInt(_0x1e9704(0x1c5))/0x8+parseInt(_0x1e9704(0x1a7))/0x9+parseInt(_0x1e9704(0x19a))/0xa*(parseInt(_0x1e9704(0x1a2))/0xb);if(_0x55f336===_0x49587f)break;else _0x3f7064['push'](_0x3f7064['shift']());}catch(_0x4bf9d9){_0x3f7064['push'](_0x3f7064['shift']());}}}(_0x1967,0x9ce23));import{Command as _0x4954d1}from'ckeditor5/src/core.js';import{logWarning as _0x512171,collectStylesheets as _0x84aad}from'ckeditor5/src/utils.js';import{getConverterOptions as _0x1e7a19,getConverterOptionsV2 as _0x2b23f4}from'./utils.js';import{getTranslation as _0x359e6b}from'./utils/common-translations.js';function _0x5442(_0x345569,_0x302865){const _0x196754=_0x1967();return _0x5442=function(_0x544292,_0x28378c){_0x544292=_0x544292-0x17f;let _0x14ee83=_0x196754[_0x544292];return _0x14ee83;},_0x5442(_0x345569,_0x302865);}const p=[_0x3aedec(0x186),_0x3aedec(0x1b8),_0x3aedec(0x18e),_0x3aedec(0x1a5),_0x3aedec(0x1c2),_0x3aedec(0x197),_0x3aedec(0x1be),_0x3aedec(0x1cd),_0x3aedec(0x1b2),_0x3aedec(0x198)];function _0x1967(){const _0x3e6852=['set','value','function','footer','token','1354165KbrYwU','showWarning','12GSXWDS','contentLanguageDirection','pending','plugins','Word\x20document\x20export\x20started','Word\x20document\x20export\x20failed','isBusy','orientation','announce','</div>','stringify','isEnabled','data','fetch','then','margin_right','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','affectsData','https://docx-converter.cke-cs.com/v2/convert/html-docx','locale','remove','options','editor','href','format','suggestions','EDITOR_STYLES','3605920hFQNCP','createObjectURL','_token','application/json','ariaLiveAnnouncer','get','dataCallback','execute','11AdDmrm','version','blob','margin_bottom','770QoFCjV','10240461bTLpKE','https://docx-converter.cke-cs.com/v1/convert','<div\x20class=\x22ck-content\x22\x20dir=\x22','converterUrl','POST','refresh','assertive','fileName','click','download','1GKWvvB','comments','Word\x20document\x20export\x20successful','71636HQlQPZ','converterOptions','status','document.docx','margin_top','auto_pagination','catch','stylesheets','_downloadFile','createElement','header','Notification','finally','config','margin_left','28686RStVfQ','export-word-v1-api-is-deprecated','3049616mVsnWB','application/docx','URL','2399462BNTFRR','ExportWord'];_0x1967=function(){return _0x3e6852;};return _0x1967();}export class ExportWordCommand extends _0x4954d1{constructor(_0x26b962){const _0x59438c=_0x3aedec;super(_0x26b962),this[_0x59438c(0x1ca)](_0x59438c(0x185),!0x1),this[_0x59438c(0x190)]=!0x1;}[_0x3aedec(0x1ac)](){const _0x19de12=_0x3aedec;this[_0x19de12(0x18a)]=!this[_0x19de12(0x185)],this[_0x19de12(0x1cb)]=this[_0x19de12(0x185)]?_0x19de12(0x181):void 0x0;}[_0x3aedec(0x1a1)](_0x543128={}){const _0x1e7e56=_0x3aedec,_0x4dfb=this[_0x1e7e56(0x195)],_0x1a4bef=_0x543128[_0x1e7e56(0x1a3)]||0x2,_0x1867b6=0x1===_0x1a4bef,_0x50cd96=_0x543128[_0x1e7e56(0x1aa)]||(_0x1867b6?_0x1e7e56(0x1a8):_0x1e7e56(0x191)),_0x3d1711=_0x543128[_0x1e7e56(0x1b5)]||{},_0x4de6ef=_0x4dfb[_0x1e7e56(0x182)][_0x1e7e56(0x19f)](_0x1e7e56(0x1c9)),_0x209c0b=_0x543128[_0x1e7e56(0x1ce)]||_0x4de6ef[_0x1e7e56(0x19c)],_0x5a74e3=!0x0===_0x3d1711[_0x1e7e56(0x1b9)],_0x2fb9ed=_0x543128[_0x1e7e56(0x1a0)]||(_0x42abc8=>_0x42abc8[_0x1e7e56(0x18b)][_0x1e7e56(0x19f)]({'pagination':_0x5a74e3}));return 0x2===_0x1a4bef&&function(_0x4610b0){for(const _0x5325cb of p)if(void 0x0!==_0x4610b0[_0x5325cb])return!0x0;return!0x1;}(_0x3d1711)&&_0x512171(_0x1e7e56(0x1c4)),this[_0x1e7e56(0x185)]=!0x0,this[_0x1e7e56(0x1ac)](),_0x84aad(_0x543128[_0x1e7e56(0x1bb)]||[_0x1e7e56(0x199)])[_0x1e7e56(0x18d)](async _0x1f4518=>{const _0x5d3d90=_0x1e7e56;_0x4dfb['ui'][_0x5d3d90(0x19e)][_0x5d3d90(0x187)](_0x359e6b(_0x4dfb[_0x5d3d90(0x192)],_0x5d3d90(0x183)));const _0x635488=await _0x2fb9ed(_0x4dfb),_0xe0853a={'html':_0x5d3d90(0x1a9)+_0x4dfb[_0x5d3d90(0x192)][_0x5d3d90(0x180)]+'\x22>'+_0x635488+_0x5d3d90(0x188),'css':_0x1f4518,[_0x1867b6?_0x5d3d90(0x194):_0x5d3d90(0x1c1)]:{..._0x3d1711,..._0x1867b6?_0x1e7a19(_0x4dfb,_0x3d1711):_0x2b23f4(_0x4dfb,_0x3d1711)}},_0x4e34c4={'method':_0x5d3d90(0x1ab),'headers':{'Content-Type':_0x5d3d90(0x19d),'Accept':_0x5d3d90(0x1c6),..._0x209c0b?{'Authorization':_0x209c0b[_0x5d3d90(0x1cb)]}:null},'body':JSON[_0x5d3d90(0x189)](_0xe0853a)};return window[_0x5d3d90(0x18c)](_0x50cd96,_0x4e34c4)[_0x5d3d90(0x18d)](_0x5a0d38=>{const _0x2f4356=_0x5d3d90;if(0xc8!==_0x5a0d38[_0x2f4356(0x1b6)])throw _0x5a0d38;return _0x5a0d38[_0x2f4356(0x1a4)]();})[_0x5d3d90(0x18d)](_0x4b4c9a=>{const _0x385727=_0x5d3d90;_0x4dfb['ui'][_0x385727(0x19e)][_0x385727(0x187)](_0x359e6b(_0x4dfb[_0x385727(0x192)],_0x385727(0x1b3)));const _0x18a2b6=_0x385727(0x1cc)==typeof _0x543128[_0x385727(0x1ae)]?_0x543128[_0x385727(0x1ae)]():_0x543128[_0x385727(0x1ae)];this[_0x385727(0x1bc)](_0x4b4c9a,_0x18a2b6||_0x385727(0x1b7));});})[_0x1e7e56(0x1ba)](_0x37050c=>{const _0x55cd7a=_0x1e7e56,_0x4b5c74=_0x4dfb[_0x55cd7a(0x182)][_0x55cd7a(0x19f)](_0x55cd7a(0x1bf));throw _0x4dfb['ui'][_0x55cd7a(0x19e)][_0x55cd7a(0x187)](_0x359e6b(_0x4dfb[_0x55cd7a(0x192)],_0x55cd7a(0x184)),{'politeness':_0x55cd7a(0x1ad)}),_0x4b5c74[_0x55cd7a(0x1d0)](_0x359e6b(_0x4dfb[_0x55cd7a(0x192)],_0x55cd7a(0x18f))),_0x37050c;})[_0x1e7e56(0x1c0)](()=>{const _0x2b3bf3=_0x1e7e56;this[_0x2b3bf3(0x185)]=!0x1,this[_0x2b3bf3(0x1ac)]();});}[_0x3aedec(0x1bc)](_0x5ee62b,_0x5b5037){const _0x4f347e=_0x3aedec,_0x404dda=document[_0x4f347e(0x1bd)]('a');_0x404dda[_0x4f347e(0x196)]=window[_0x4f347e(0x1c7)][_0x4f347e(0x19b)](_0x5ee62b),_0x404dda[_0x4f347e(0x1b0)]=_0x5b5037,_0x404dda[_0x4f347e(0x1af)](),_0x404dda[_0x4f347e(0x193)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f609e=_0x13a8;(function(_0x257baf,_0x40f40c){const _0x56f5c4=_0x13a8,_0x3b20f9=_0x257baf();while(!![]){try{const _0x13efa3=-parseInt(_0x56f5c4(0x118))/0x1+-parseInt(_0x56f5c4(0x11c))/0x2*(parseInt(_0x56f5c4(0x12f))/0x3)+parseInt(_0x56f5c4(0x13a))/0x4*(-parseInt(_0x56f5c4(0x140))/0x5)+parseInt(_0x56f5c4(0x135))/0x6*(parseInt(_0x56f5c4(0x139))/0x7)+-parseInt(_0x56f5c4(0x13f))/0x8*(-parseInt(_0x56f5c4(0x11a))/0x9)+-parseInt(_0x56f5c4(0x136))/0xa*(parseInt(_0x56f5c4(0x128))/0xb)+parseInt(_0x56f5c4(0x141))/0xc;if(_0x13efa3===_0x40f40c)break;else _0x3b20f9['push'](_0x3b20f9['shift']());}catch(_0x903a67){_0x3b20f9['push'](_0x3b20f9['shift']());}}}(_0x16ea,0xe0b4b));function _0x16ea(){const _0x1c992c=['985326pENcyj','view','135FlxqrS','isVisible','860SjflBP','isBusy','componentFactory','label','exportWord','isEnabled','config','isOfficialPlugin','focus','init','Exporting\x20Word\x20document','bind','102223TeUOjK','children','execute','get','menuBar:exportWord','commands','iconView','12123sZFVzy','set','pluginName','listenTo','_createButton','Export\x20to\x20Word','408666OVDoyI','1510civMJr','ExportWordUI','add','126QvDSTj','4moTLYz','editor','locale','editing','isOn','152120PcmdYE','2409795PhHJpg','48207960SUkDGW','isPremiumPlugin'];_0x16ea=function(){return _0x1c992c;};return _0x16ea();}import{Plugin as _0x5938aa}from'ckeditor5/src/core.js';import{IconExportWord as _0x56bf79}from'ckeditor5/src/icons.js';function _0x13a8(_0x462462,_0x1e3a36){const _0x16eaef=_0x16ea();return _0x13a8=function(_0x13a8cf,_0x27fa24){_0x13a8cf=_0x13a8cf-0x118;let _0x207074=_0x16eaef[_0x13a8cf];return _0x207074;},_0x13a8(_0x462462,_0x1e3a36);}import{ButtonView as _0x3cd493,MenuBarMenuListItemButtonView as _0x49de64,SpinnerView as _0x35fb2b}from'ckeditor5/src/ui.js';import{getTranslation as _0x450bbd}from'./utils/common-translations.js';export class ExportWordUI extends _0x5938aa{static get[_0x3f609e(0x131)](){const _0x38dc1a=_0x3f609e;return _0x38dc1a(0x137);}static get[_0x3f609e(0x123)](){return!0x0;}static get[_0x3f609e(0x142)](){return!0x0;}[_0x3f609e(0x125)](){const _0x1670e5=_0x3f609e,_0x13b8bb=this[_0x1670e5(0x13b)];_0x13b8bb['ui'][_0x1670e5(0x11e)][_0x1670e5(0x138)](_0x1670e5(0x120),()=>{const _0x134e54=_0x1670e5,_0x500a5f=_0x13b8bb[_0x134e54(0x12d)][_0x134e54(0x12b)](_0x134e54(0x120)),_0x23ed59=this[_0x134e54(0x133)](_0x3cd493);return _0x23ed59[_0x134e54(0x130)]({'tooltip':!0x0}),_0x23ed59[_0x134e54(0x127)](_0x134e54(0x13e))['to'](_0x500a5f,_0x134e54(0x11d)),_0x23ed59;}),_0x13b8bb['ui'][_0x1670e5(0x11e)][_0x1670e5(0x138)](_0x1670e5(0x12c),()=>this[_0x1670e5(0x133)](_0x49de64));}[_0x3f609e(0x133)](_0x597111){const _0x3ea4d1=_0x3f609e,_0x770415=this[_0x3ea4d1(0x13b)],_0x5a216b=_0x770415[_0x3ea4d1(0x122)][_0x3ea4d1(0x12b)](_0x3ea4d1(0x120))||{},_0x54ca4e=_0x770415[_0x3ea4d1(0x12d)][_0x3ea4d1(0x12b)](_0x3ea4d1(0x120)),_0x2b0f49=new _0x597111(_0x770415[_0x3ea4d1(0x13c)]),_0x38b56c=new _0x35fb2b();return _0x2b0f49[_0x3ea4d1(0x129)][_0x3ea4d1(0x138)](_0x38b56c),_0x38b56c[_0x3ea4d1(0x127)](_0x3ea4d1(0x11b))['to'](_0x54ca4e,_0x3ea4d1(0x11d)),_0x2b0f49[_0x3ea4d1(0x12e)][_0x3ea4d1(0x127)](_0x3ea4d1(0x11b))['to'](_0x54ca4e,_0x3ea4d1(0x11d),_0x2abf15=>!_0x2abf15),_0x2b0f49[_0x3ea4d1(0x130)]({'icon':_0x56bf79}),_0x2b0f49[_0x3ea4d1(0x127)](_0x3ea4d1(0x121))['to'](_0x54ca4e,_0x3ea4d1(0x121)),_0x2b0f49[_0x3ea4d1(0x127)](_0x3ea4d1(0x11f))['to'](_0x54ca4e,_0x3ea4d1(0x11d),_0x485011=>_0x450bbd(_0x770415[_0x3ea4d1(0x13c)],_0x485011?_0x3ea4d1(0x126):_0x3ea4d1(0x134))),this[_0x3ea4d1(0x132)](_0x2b0f49,_0x3ea4d1(0x12a),()=>{const _0x159b51=_0x3ea4d1;_0x770415[_0x159b51(0x12a)](_0x159b51(0x120),_0x5a216b),_0x770415[_0x159b51(0x13d)][_0x159b51(0x119)][_0x159b51(0x124)]();}),_0x2b0f49;}}
23
+ const _0x157bf4=_0x3a0e;(function(_0x2752e2,_0x791542){const _0x4249b2=_0x3a0e,_0x41b983=_0x2752e2();while(!![]){try{const _0x427294=parseInt(_0x4249b2(0x8e))/0x1*(-parseInt(_0x4249b2(0x79))/0x2)+-parseInt(_0x4249b2(0x74))/0x3+-parseInt(_0x4249b2(0x8d))/0x4*(parseInt(_0x4249b2(0x83))/0x5)+parseInt(_0x4249b2(0x77))/0x6+-parseInt(_0x4249b2(0x85))/0x7+-parseInt(_0x4249b2(0x88))/0x8*(-parseInt(_0x4249b2(0x7c))/0x9)+parseInt(_0x4249b2(0x7a))/0xa;if(_0x427294===_0x791542)break;else _0x41b983['push'](_0x41b983['shift']());}catch(_0x11cd01){_0x41b983['push'](_0x41b983['shift']());}}}(_0x440f,0x86239));import{Plugin as _0x3e291f}from'ckeditor5/src/core.js';function _0x3a0e(_0x24c9ec,_0x977f00){const _0x440f45=_0x440f();return _0x3a0e=function(_0x3a0e13,_0x2d9854){_0x3a0e13=_0x3a0e13-0x66;let _0x19fa59=_0x440f45[_0x3a0e13];return _0x19fa59;},_0x3a0e(_0x24c9ec,_0x977f00);}function _0x440f(){const _0x4cf0dc=['1135854KQfqaa','bind','ExportWordUI','focus','listenTo','exportWord','label','30KdeaaU','componentFactory','5897549Hbybiv','editing','iconView','64tMyIXR','set','_createButton','Exporting\x20Word\x20document','view','40852pZtCmj','57116imKQWp','isOfficialPlugin','commands','Export\x20to\x20Word','children','isBusy','menuBar:exportWord','editor','isPremiumPlugin','execute','locale','get','isVisible','add','config','2072541zFVBgI','isOn','pluginName','1311792yzzapl','init','38AoyLUT','20009890rXHLak','isEnabled'];_0x440f=function(){return _0x4cf0dc;};return _0x440f();}import{IconExportWord as _0x9d09dd}from'ckeditor5/src/icons.js';import{ButtonView as _0x3b1710,MenuBarMenuListItemButtonView as _0x4c8d5b,SpinnerView as _0x3cbd07}from'ckeditor5/src/ui.js';import{getTranslation as _0x5e6b8a}from'./utils/common-translations.js';export class ExportWordUI extends _0x3e291f{static get[_0x157bf4(0x76)](){const _0x3174b4=_0x157bf4;return _0x3174b4(0x7e);}static get[_0x157bf4(0x66)](){return!0x0;}static get[_0x157bf4(0x6d)](){return!0x0;}[_0x157bf4(0x78)](){const _0x287014=_0x157bf4,_0xa5531a=this[_0x287014(0x6c)];_0xa5531a['ui'][_0x287014(0x84)][_0x287014(0x72)](_0x287014(0x81),()=>{const _0x3e668d=_0x287014,_0x1ca302=_0xa5531a[_0x3e668d(0x67)][_0x3e668d(0x70)](_0x3e668d(0x81)),_0x4a96eb=this[_0x3e668d(0x8a)](_0x3b1710);return _0x4a96eb[_0x3e668d(0x89)]({'tooltip':!0x0}),_0x4a96eb[_0x3e668d(0x7d)](_0x3e668d(0x75))['to'](_0x1ca302,_0x3e668d(0x6a)),_0x4a96eb;}),_0xa5531a['ui'][_0x287014(0x84)][_0x287014(0x72)](_0x287014(0x6b),()=>this[_0x287014(0x8a)](_0x4c8d5b));}[_0x157bf4(0x8a)](_0x33628e){const _0x54630b=_0x157bf4,_0x4fb8b1=this[_0x54630b(0x6c)],_0x45230b=_0x4fb8b1[_0x54630b(0x73)][_0x54630b(0x70)](_0x54630b(0x81))||{},_0x261f77=_0x4fb8b1[_0x54630b(0x67)][_0x54630b(0x70)](_0x54630b(0x81)),_0x4c3346=new _0x33628e(_0x4fb8b1[_0x54630b(0x6f)]),_0x1306e9=new _0x3cbd07();return _0x4c3346[_0x54630b(0x69)][_0x54630b(0x72)](_0x1306e9),_0x1306e9[_0x54630b(0x7d)](_0x54630b(0x71))['to'](_0x261f77,_0x54630b(0x6a)),_0x4c3346[_0x54630b(0x87)][_0x54630b(0x7d)](_0x54630b(0x71))['to'](_0x261f77,_0x54630b(0x6a),_0x507231=>!_0x507231),_0x4c3346[_0x54630b(0x89)]({'icon':_0x9d09dd}),_0x4c3346[_0x54630b(0x7d)](_0x54630b(0x7b))['to'](_0x261f77,_0x54630b(0x7b)),_0x4c3346[_0x54630b(0x7d)](_0x54630b(0x82))['to'](_0x261f77,_0x54630b(0x6a),_0x3f8b40=>_0x5e6b8a(_0x4fb8b1[_0x54630b(0x6f)],_0x3f8b40?_0x54630b(0x8b):_0x54630b(0x68))),this[_0x54630b(0x80)](_0x4c3346,_0x54630b(0x6e),()=>{const _0x1b9215=_0x54630b;_0x4fb8b1[_0x1b9215(0x6e)](_0x1b9215(0x81),_0x45230b),_0x4fb8b1[_0x1b9215(0x86)][_0x1b9215(0x8c)][_0x1b9215(0x7f)]();}),_0x4c3346;}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2160(_0x42ef3a,_0x32554b){var _0x1b7970=_0x1b79();return _0x2160=function(_0x21607f,_0x167d71){_0x21607f=_0x21607f-0x131;var _0x3cb499=_0x1b7970[_0x21607f];return _0x3cb499;},_0x2160(_0x42ef3a,_0x32554b);}(function(_0xc21b97,_0x4d0b80){var _0x16be91=_0x2160,_0x3351d0=_0xc21b97();while(!![]){try{var _0x5e01f6=-parseInt(_0x16be91(0x135))/0x1+parseInt(_0x16be91(0x138))/0x2*(-parseInt(_0x16be91(0x131))/0x3)+-parseInt(_0x16be91(0x133))/0x4*(-parseInt(_0x16be91(0x136))/0x5)+-parseInt(_0x16be91(0x137))/0x6*(parseInt(_0x16be91(0x13b))/0x7)+-parseInt(_0x16be91(0x13a))/0x8*(-parseInt(_0x16be91(0x132))/0x9)+-parseInt(_0x16be91(0x134))/0xa+parseInt(_0x16be91(0x139))/0xb*(parseInt(_0x16be91(0x13c))/0xc);if(_0x5e01f6===_0x4d0b80)break;else _0x3351d0['push'](_0x3351d0['shift']());}catch(_0x2a45b8){_0x3351d0['push'](_0x3351d0['shift']());}}}(_0x1b79,0x1d7f1));function _0x1b79(){var _0x49b3fe=['21625GDCWuE','366sRdKwv','11192aHBwMk','11bQqsnt','1686584FoMuvi','23653DYBUhS','4876116LgJvyM','18JaIqKA','9eyuKTN','96jkUfLD','2367040mwQJQN','123750yJCTkJ'];_0x1b79=function(){return _0x49b3fe;};return _0x1b79();}export{ExportWord}from'./exportword.js';export{ExportWordCommand}from'./exportwordcommand.js';export{getConverterOptions as _getExportWordConverterOptionsV1,getConverterOptionsV2 as _getExportWordConverterOptionsV2,getComments as _getExportWordComments,getCommentsV2 as _getExportWordCommentsV2,getSuggestions as _getExportWordSuggestions,getSuggestionsV2 as _getExportWordSuggestionsV2}from'./utils.js';import'./augmentation.js';
23
+ function _0x5c0f(){var _0x57a13e=['12zcKSYb','5087484XcAfkT','656885IJNNjV','6McLrvd','672580vYCgoP','896344ZDcDEA','29802620RZGcrc','56LhZoUW','12752181PVPIYI','1408504XjQIbD'];_0x5c0f=function(){return _0x57a13e;};return _0x5c0f();}function _0x20ae(_0x161fb1,_0x121add){var _0x5c0f9a=_0x5c0f();return _0x20ae=function(_0x20ae47,_0x296f3d){_0x20ae47=_0x20ae47-0x117;var _0x11c785=_0x5c0f9a[_0x20ae47];return _0x11c785;},_0x20ae(_0x161fb1,_0x121add);}(function(_0x3a87e3,_0x1e5c02){var _0x50e404=_0x20ae,_0xcc7ca4=_0x3a87e3();while(!![]){try{var _0x2ac861=parseInt(_0x50e404(0x11e))/0x1+parseInt(_0x50e404(0x11f))/0x2*(parseInt(_0x50e404(0x11d))/0x3)+-parseInt(_0x50e404(0x11b))/0x4+-parseInt(_0x50e404(0x11c))/0x5*(-parseInt(_0x50e404(0x11a))/0x6)+parseInt(_0x50e404(0x117))/0x7*(-parseInt(_0x50e404(0x119))/0x8)+-parseInt(_0x50e404(0x118))/0x9+parseInt(_0x50e404(0x120))/0xa;if(_0x2ac861===_0x1e5c02)break;else _0xcc7ca4['push'](_0xcc7ca4['shift']());}catch(_0x3e0480){_0xcc7ca4['push'](_0xcc7ca4['shift']());}}}(_0x5c0f,0xae7a0));export{ExportWord}from'./exportword.js';export{ExportWordCommand}from'./exportwordcommand.js';export{getConverterOptions as _getExportWordConverterOptionsV1,getConverterOptionsV2 as _getExportWordConverterOptionsV2,getComments as _getExportWordComments,getCommentsV2 as _getExportWordCommentsV2,getSuggestions as _getExportWordSuggestions,getSuggestionsV2 as _getExportWordSuggestionsV2}from'./utils.js';import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x15c468,_0xdf0799){const t=_0x15c468['t'];switch(_0xdf0799){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 _0xdf0799;}}
23
+ export function getTranslation(_0x51bf1f,_0x253e86){const t=_0x51bf1f['t'];switch(_0x253e86){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 _0x253e86;}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x176f88,_0x1a266a){const _0x1ea693=_0x227b,_0x2daa6f=_0x176f88();while(!![]){try{const _0x343c7a=-parseInt(_0x1ea693(0x1ad))/0x1*(parseInt(_0x1ea693(0x1b5))/0x2)+-parseInt(_0x1ea693(0x1a0))/0x3+-parseInt(_0x1ea693(0x1a6))/0x4*(-parseInt(_0x1ea693(0x1b6))/0x5)+parseInt(_0x1ea693(0x18f))/0x6*(parseInt(_0x1ea693(0x1bf))/0x7)+parseInt(_0x1ea693(0x1af))/0x8+parseInt(_0x1ea693(0x1bc))/0x9*(-parseInt(_0x1ea693(0x18a))/0xa)+parseInt(_0x1ea693(0x18b))/0xb;if(_0x343c7a===_0x1a266a)break;else _0x2daa6f['push'](_0x2daa6f['shift']());}catch(_0x31a3a0){_0x2daa6f['push'](_0x2daa6f['shift']());}}}(_0x47f1,0xa7ac4));export function getConverterOptions(_0x3d2066,_0x4ae812={}){const _0x8912bc=_0x227b,_0x50bd31=_0x3d2066[_0x8912bc(0x1a8)][_0x8912bc(0x1ac)](_0x8912bc(0x18d)),_0x246b5b=_0x3d2066[_0x8912bc(0x1a8)][_0x8912bc(0x1ac)](_0x8912bc(0x1ba)),_0x4d5c5b=_0x3d2066[_0x8912bc(0x1a8)][_0x8912bc(0x1ac)](_0x8912bc(0x18e)),_0x128912=_0x4ae812;if(_0x50bd31&&_0x246b5b){const _0x1cac58=getComments(_0x3d2066[_0x8912bc(0x1a8)][_0x8912bc(0x1bb)](_0x8912bc(0x1ba))[_0x8912bc(0x197)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x8912bc(0x19f)](_0x1cac58)[_0x8912bc(0x194)]&&(_0x128912[_0x8912bc(0x190)]=_0x1cac58);}if(_0x50bd31&&_0x4d5c5b){const _0xe463ab=_0x3d2066[_0x8912bc(0x1a8)][_0x8912bc(0x1bb)](_0x8912bc(0x18e)),_0x325a11=_0x3d2066[_0x8912bc(0x1a8)][_0x8912bc(0x1bb)](_0x8912bc(0x18d)),_0xe042ec=getSuggestions(_0xe463ab[_0x8912bc(0x189)]({'toJSON':!0x0}),_0x325a11[_0x8912bc(0x1b2)]);Object[_0x8912bc(0x19f)](_0xe042ec)[_0x8912bc(0x194)]&&(_0x128912[_0x8912bc(0x185)]=_0xe042ec);}return(_0x128912[_0x8912bc(0x185)]||_0x128912[_0x8912bc(0x190)])&&(_0x128912[_0x8912bc(0x19a)]=new Intl[(_0x8912bc(0x1bd))]()[_0x8912bc(0x192)]()[_0x8912bc(0x1a5)]),_0x128912;}export function getComments(_0x1142c8){const _0x3e5510=_0x227b,_0x3a056f={};if(!_0x1142c8[_0x3e5510(0x194)])return _0x3a056f;for(const _0x434ad0 of _0x1142c8)_0x434ad0[_0x3e5510(0x190)][_0x3e5510(0x19c)](_0x14eb91=>{const _0x49eacd=_0x3e5510;void 0x0===_0x3a056f[_0x434ad0['id']]&&(_0x3a056f[_0x434ad0['id']]=[]),_0x3a056f[_0x434ad0['id']][_0x49eacd(0x188)]({'author':_0x14eb91[_0x49eacd(0x198)][_0x49eacd(0x1a2)],'content':_0x14eb91[_0x49eacd(0x191)],'created':_0x14eb91[_0x49eacd(0x1a7)],'is_resolved':_0x434ad0[_0x49eacd(0x193)]});});return _0x3a056f;}export function getSuggestions(_0x55a193,_0x6a01fc){const _0x2112b8=_0x227b,_0x2ba60d={};if(!_0x55a193[_0x2112b8(0x194)]||!_0x6a01fc[_0x2112b8(0x194)])return _0x2ba60d;for(const {id:_0x4acc20,createdAt:_0xcf37f3,authorId:_0x20bf31,attributes:_0x36685b}of _0x55a193){const _0x4f6b05=_0x36685b&&_0x36685b[_0x2112b8(0x195)],_0x5dce9d=_0x4f6b05?_0x4f6b05[_0x2112b8(0x1a9)]:_0x6a01fc[_0x2112b8(0x1bb)](_0x20bf31)[_0x2112b8(0x1a2)];_0x2ba60d[_0x4acc20]={'author':_0x5dce9d,'created':_0xcf37f3};}return _0x2ba60d;}export function getConverterOptionsV2(_0x5e9505,_0xa19ebf={}){const _0x52b4d6=_0x227b,_0x25aede=_0x5e9505[_0x52b4d6(0x1a8)][_0x52b4d6(0x1ac)](_0x52b4d6(0x18d)),_0x4127a7=_0x5e9505[_0x52b4d6(0x1a8)][_0x52b4d6(0x1ac)](_0x52b4d6(0x1ba)),_0x1041c8=_0x5e9505[_0x52b4d6(0x1a8)][_0x52b4d6(0x1ac)](_0x52b4d6(0x18e)),_0x58eb9b=_0x5e9505[_0x52b4d6(0x1a8)][_0x52b4d6(0x1ac)](_0x52b4d6(0x19d)),_0x35f95a=_0x5e9505[_0x52b4d6(0x187)][_0x52b4d6(0x1b9)],_0x301e98=_0xa19ebf,_0x40b056={};if(_0x301e98[_0x52b4d6(0x18c)]=_0x301e98[_0x52b4d6(0x18c)]||{},_0x301e98[_0x52b4d6(0x18c)][_0x52b4d6(0x1a4)]=_0x301e98[_0x52b4d6(0x18c)][_0x52b4d6(0x1a4)]||_0x35f95a,_0x25aede&&_0x4127a7){const _0x4d5347=getCommentsV2(_0x5e9505[_0x52b4d6(0x1a8)][_0x52b4d6(0x1bb)](_0x52b4d6(0x1ba))[_0x52b4d6(0x197)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x4d5347[_0x52b4d6(0x194)]&&(_0x40b056[_0x52b4d6(0x1b8)]=_0x4d5347);}if(_0x25aede&&_0x1041c8){const _0x4ecbd5=_0x5e9505[_0x52b4d6(0x1a8)][_0x52b4d6(0x1bb)](_0x52b4d6(0x18e)),_0x5b4d41=_0x5e9505[_0x52b4d6(0x1a8)][_0x52b4d6(0x1bb)](_0x52b4d6(0x18d)),_0x2167a3=getSuggestionsV2(_0x4ecbd5[_0x52b4d6(0x189)]({'toJSON':!0x0}),_0x5b4d41[_0x52b4d6(0x1b2)]);_0x2167a3[_0x52b4d6(0x194)]&&(_0x40b056[_0x52b4d6(0x185)]=_0x2167a3);}if(_0x58eb9b){const _0x26b205=_0x5e9505[_0x52b4d6(0x1a8)][_0x52b4d6(0x1bb)](_0x52b4d6(0x19b)),_0x55d7b3=_0x26b205[_0x52b4d6(0x199)],{prefix:_0x7194cc,suffix:_0x349b59}=_0x5e9505[_0x52b4d6(0x1a3)][_0x52b4d6(0x1bb)](_0x52b4d6(0x1b0));if(_0x301e98[_0x52b4d6(0x186)]={'prefix':_0x7194cc,'suffix':_0x349b59},_0x52b4d6(0x1ae)!==_0x55d7b3){_0x301e98[_0x52b4d6(0x186)][_0x52b4d6(0x1be)]={};const _0x419685=_0x52b4d6(0x1a1),_0x5d5288=_0x52b4d6(0x1b7)===_0x55d7b3?_0x26b205[_0x52b4d6(0x1aa)]():_0x26b205[_0x52b4d6(0x19e)](_0x55d7b3,!0x0);for(const _0x10c0a9 of Object[_0x52b4d6(0x1b3)](_0x5d5288)){const [_0x195ba7,_0x140e3c]=_0x10c0a9;_0x52b4d6(0x196)===_0x26b205[_0x52b4d6(0x1ab)](_0x195ba7)?_0x301e98[_0x52b4d6(0x186)][_0x52b4d6(0x1be)][_0x195ba7]=null!==_0x140e3c?_0x140e3c:_0x419685:_0x301e98[_0x52b4d6(0x186)][_0x52b4d6(0x1be)][_0x195ba7]=null!==_0x140e3c?_0x140e3c:_0x26b205[_0x52b4d6(0x1b4)](_0x195ba7)||_0x195ba7;}}}return(_0x40b056[_0x52b4d6(0x1b8)]||_0x40b056[_0x52b4d6(0x185)])&&(_0x301e98[_0x52b4d6(0x19a)]=new Intl[(_0x52b4d6(0x1bd))]()[_0x52b4d6(0x192)]()[_0x52b4d6(0x1a5)],_0x301e98[_0x52b4d6(0x1b1)]=_0x40b056),_0x301e98;}export function getCommentsV2(_0x4a4871){const _0x54397b=_0x227b,_0x363c0f=[];if(!_0x4a4871[_0x54397b(0x194)])return _0x363c0f;for(const _0x36f51e of _0x4a4871){const _0xc7910b=_0x36f51e[_0x54397b(0x190)][_0x54397b(0x19c)](_0x219615=>({'author':_0x219615[_0x54397b(0x198)][_0x54397b(0x1a2)],'content':_0x219615[_0x54397b(0x191)],'created_at':_0x219615[_0x54397b(0x1a7)]}));_0x363c0f[_0x54397b(0x188)]({'thread_id':_0x36f51e['id'],'is_resolved':_0x36f51e[_0x54397b(0x193)],'comments':_0xc7910b});}return _0x363c0f;}function _0x47f1(){const _0x3320b1=['keys','3489126JEYdUS','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','name','config','language','timeZone','4016SxIsqd','createdAt','plugins','authorName','getDefaultValues','getMergeFieldType','has','229gYnCmX','$labels','6337200OIQCnP','mergeFields','collaboration_features','users','entries','getLabel','1574yjqzwd','1480qpYGXu','$defaultValues','comment_threads','contentLanguage','CommentsRepository','get','196281zpLMXr','DateTimeFormat','data','14RxqnPy','suggestions','merge_fields','locale','push','getSuggestions','290UxDAWs','16942266toOflp','document','Users','TrackChanges','98922HXtWLW','comments','content','resolvedOptions','isResolved','length','@external','image','getCommentThreads','author','previewMode','timezone','MergeFieldsEditing','map','MergeFields','getDataSetValues'];_0x47f1=function(){return _0x3320b1;};return _0x47f1();}function _0x227b(_0x84d354,_0x143d3d){const _0x47f16d=_0x47f1();return _0x227b=function(_0x227b90,_0x380846){_0x227b90=_0x227b90-0x185;let _0x361d43=_0x47f16d[_0x227b90];return _0x361d43;},_0x227b(_0x84d354,_0x143d3d);}export function getSuggestionsV2(_0x4a6e2e,_0x48c8be){const _0x4b53f1=_0x227b;return _0x4a6e2e[_0x4b53f1(0x194)]&&_0x48c8be[_0x4b53f1(0x194)]?_0x4a6e2e[_0x4b53f1(0x19c)](({id:_0x10fe49,createdAt:_0x69ef33,authorId:_0x410ad6,attributes:_0x17aac2})=>{const _0x1b3ea0=_0x4b53f1,_0x1a8ab9=_0x17aac2&&_0x17aac2[_0x1b3ea0(0x195)];return{'id':_0x10fe49,'author':_0x1a8ab9?_0x1a8ab9[_0x1b3ea0(0x1a9)]:_0x48c8be[_0x1b3ea0(0x1bb)](_0x410ad6)[_0x1b3ea0(0x1a2)],'created_at':_0x69ef33};}):[];}
23
+ (function(_0x24a2b5,_0x2a304a){const _0x25766c=_0x55ad,_0x2ec021=_0x24a2b5();while(!![]){try{const _0x29f93c=-parseInt(_0x25766c(0x1ef))/0x1+-parseInt(_0x25766c(0x1f3))/0x2*(parseInt(_0x25766c(0x1e9))/0x3)+parseInt(_0x25766c(0x1f7))/0x4*(-parseInt(_0x25766c(0x1d5))/0x5)+parseInt(_0x25766c(0x1e0))/0x6+parseInt(_0x25766c(0x20a))/0x7+parseInt(_0x25766c(0x1dd))/0x8+parseInt(_0x25766c(0x1fe))/0x9*(parseInt(_0x25766c(0x1f9))/0xa);if(_0x29f93c===_0x2a304a)break;else _0x2ec021['push'](_0x2ec021['shift']());}catch(_0x7dae7c){_0x2ec021['push'](_0x2ec021['shift']());}}}(_0x24f9,0x6e6eb));export function getConverterOptions(_0x216e0f,_0x1805ef={}){const _0x5e0e1b=_0x55ad,_0x41282c=_0x216e0f[_0x5e0e1b(0x207)][_0x5e0e1b(0x1dc)](_0x5e0e1b(0x1e5)),_0x53f2eb=_0x216e0f[_0x5e0e1b(0x207)][_0x5e0e1b(0x1dc)](_0x5e0e1b(0x1da)),_0x346b14=_0x216e0f[_0x5e0e1b(0x207)][_0x5e0e1b(0x1dc)](_0x5e0e1b(0x1fa)),_0x586c84=_0x1805ef;if(_0x41282c&&_0x53f2eb){const _0x5f52d2=getComments(_0x216e0f[_0x5e0e1b(0x207)][_0x5e0e1b(0x1f5)](_0x5e0e1b(0x1da))[_0x5e0e1b(0x1e6)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x5e0e1b(0x1fb)](_0x5f52d2)[_0x5e0e1b(0x1d8)]&&(_0x586c84[_0x5e0e1b(0x1fd)]=_0x5f52d2);}if(_0x41282c&&_0x346b14){const _0x439281=_0x216e0f[_0x5e0e1b(0x207)][_0x5e0e1b(0x1f5)](_0x5e0e1b(0x1fa)),_0xbd2aa5=_0x216e0f[_0x5e0e1b(0x207)][_0x5e0e1b(0x1f5)](_0x5e0e1b(0x1e5)),_0x3b0140=getSuggestions(_0x439281[_0x5e0e1b(0x1f0)]({'toJSON':!0x0}),_0xbd2aa5[_0x5e0e1b(0x1f1)]);Object[_0x5e0e1b(0x1fb)](_0x3b0140)[_0x5e0e1b(0x1d8)]&&(_0x586c84[_0x5e0e1b(0x20d)]=_0x3b0140);}return(_0x586c84[_0x5e0e1b(0x20d)]||_0x586c84[_0x5e0e1b(0x1fd)])&&(_0x586c84[_0x5e0e1b(0x200)]=new Intl[(_0x5e0e1b(0x1ea))]()[_0x5e0e1b(0x1e8)]()[_0x5e0e1b(0x20c)]),_0x586c84;}export function getComments(_0x35d0db){const _0x3be255=_0x55ad,_0x276a2={};if(!_0x35d0db[_0x3be255(0x1d8)])return _0x276a2;for(const _0x6aae39 of _0x35d0db)_0x6aae39[_0x3be255(0x1fd)][_0x3be255(0x1f4)](_0x486cb6=>{const _0x17544d=_0x3be255;void 0x0===_0x276a2[_0x6aae39['id']]&&(_0x276a2[_0x6aae39['id']]=[]),_0x276a2[_0x6aae39['id']][_0x17544d(0x1d7)]({'author':_0x486cb6[_0x17544d(0x1ee)][_0x17544d(0x1ed)],'content':_0x486cb6[_0x17544d(0x20b)],'created':_0x486cb6[_0x17544d(0x1f2)],'is_resolved':_0x6aae39[_0x17544d(0x202)]});});return _0x276a2;}export function getSuggestions(_0x41dedf,_0x46d4ff){const _0x35a9bc=_0x55ad,_0x6e63f9={};if(!_0x41dedf[_0x35a9bc(0x1d8)]||!_0x46d4ff[_0x35a9bc(0x1d8)])return _0x6e63f9;for(const {id:_0x5801d6,createdAt:_0x542fea,authorId:_0xd0ad3c,attributes:_0x487063}of _0x41dedf){const _0x5cf288=_0x487063&&_0x487063[_0x35a9bc(0x1e1)],_0x1be89b=_0x5cf288?_0x5cf288[_0x35a9bc(0x1e2)]:_0x46d4ff[_0x35a9bc(0x1f5)](_0xd0ad3c)[_0x35a9bc(0x1ed)];_0x6e63f9[_0x5801d6]={'author':_0x1be89b,'created':_0x542fea};}return _0x6e63f9;}export function getConverterOptionsV2(_0x43ae20,_0x40f586={}){const _0x4856d5=_0x55ad,_0x2197f9=_0x43ae20[_0x4856d5(0x207)][_0x4856d5(0x1dc)](_0x4856d5(0x1e5)),_0xc6be0a=_0x43ae20[_0x4856d5(0x207)][_0x4856d5(0x1dc)](_0x4856d5(0x1da)),_0x33eddc=_0x43ae20[_0x4856d5(0x207)][_0x4856d5(0x1dc)](_0x4856d5(0x1fa)),_0xe18af6=_0x43ae20[_0x4856d5(0x207)][_0x4856d5(0x1dc)](_0x4856d5(0x20e)),_0x2fab35=_0x43ae20[_0x4856d5(0x1d6)][_0x4856d5(0x1db)],_0x1d2c4b=_0x40f586,_0x317d7d={};if(_0x1d2c4b[_0x4856d5(0x206)]=_0x1d2c4b[_0x4856d5(0x206)]||{},_0x1d2c4b[_0x4856d5(0x206)][_0x4856d5(0x1d9)]=_0x1d2c4b[_0x4856d5(0x206)][_0x4856d5(0x1d9)]||_0x2fab35,_0x2197f9&&_0xc6be0a){const _0x43925e=getCommentsV2(_0x43ae20[_0x4856d5(0x207)][_0x4856d5(0x1f5)](_0x4856d5(0x1da))[_0x4856d5(0x1e6)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x43925e[_0x4856d5(0x1d8)]&&(_0x317d7d[_0x4856d5(0x1fc)]=_0x43925e);}if(_0x2197f9&&_0x33eddc){const _0x2ae789=_0x43ae20[_0x4856d5(0x207)][_0x4856d5(0x1f5)](_0x4856d5(0x1fa)),_0x5e650a=_0x43ae20[_0x4856d5(0x207)][_0x4856d5(0x1f5)](_0x4856d5(0x1e5)),_0x29f223=getSuggestionsV2(_0x2ae789[_0x4856d5(0x1f0)]({'toJSON':!0x0}),_0x5e650a[_0x4856d5(0x1f1)]);_0x29f223[_0x4856d5(0x1d8)]&&(_0x317d7d[_0x4856d5(0x20d)]=_0x29f223);}if(_0xe18af6){const _0x25bb97=_0x43ae20[_0x4856d5(0x207)][_0x4856d5(0x1f5)](_0x4856d5(0x1e4)),_0x387ea2=_0x25bb97[_0x4856d5(0x201)],{prefix:_0x48f850,suffix:_0x528da3}=_0x43ae20[_0x4856d5(0x1e3)][_0x4856d5(0x1f5)](_0x4856d5(0x1ec));if(_0x1d2c4b[_0x4856d5(0x1f8)]={'prefix':_0x48f850,'suffix':_0x528da3},_0x4856d5(0x1f6)!==_0x387ea2){_0x1d2c4b[_0x4856d5(0x1f8)][_0x4856d5(0x1eb)]={};const _0x4e93d1=_0x4856d5(0x1de),_0x38bd43=_0x4856d5(0x208)===_0x387ea2?_0x25bb97[_0x4856d5(0x209)]():_0x25bb97[_0x4856d5(0x203)](_0x387ea2,!0x0);for(const _0x1315da of Object[_0x4856d5(0x1ff)](_0x38bd43)){const [_0x5bc43a,_0x191ff7]=_0x1315da;_0x4856d5(0x205)===_0x25bb97[_0x4856d5(0x204)](_0x5bc43a)?_0x1d2c4b[_0x4856d5(0x1f8)][_0x4856d5(0x1eb)][_0x5bc43a]=null!==_0x191ff7?_0x191ff7:_0x4e93d1:_0x1d2c4b[_0x4856d5(0x1f8)][_0x4856d5(0x1eb)][_0x5bc43a]=null!==_0x191ff7?_0x191ff7:_0x25bb97[_0x4856d5(0x1e7)](_0x5bc43a)||_0x5bc43a;}}}return(_0x317d7d[_0x4856d5(0x1fc)]||_0x317d7d[_0x4856d5(0x20d)])&&(_0x1d2c4b[_0x4856d5(0x200)]=new Intl[(_0x4856d5(0x1ea))]()[_0x4856d5(0x1e8)]()[_0x4856d5(0x20c)],_0x1d2c4b[_0x4856d5(0x1df)]=_0x317d7d),_0x1d2c4b;}export function getCommentsV2(_0x531d14){const _0x389182=_0x55ad,_0x35afb2=[];if(!_0x531d14[_0x389182(0x1d8)])return _0x35afb2;for(const _0x1ae3ab of _0x531d14){const _0x33ef56=_0x1ae3ab[_0x389182(0x1fd)][_0x389182(0x1f4)](_0x33f9c4=>({'author':_0x33f9c4[_0x389182(0x1ee)][_0x389182(0x1ed)],'content':_0x33f9c4[_0x389182(0x20b)],'created_at':_0x33f9c4[_0x389182(0x1f2)]}));_0x35afb2[_0x389182(0x1d7)]({'thread_id':_0x1ae3ab['id'],'is_resolved':_0x1ae3ab[_0x389182(0x202)],'comments':_0x33ef56});}return _0x35afb2;}export function getSuggestionsV2(_0x5e6897,_0x65c3de){const _0x37e266=_0x55ad;return _0x5e6897[_0x37e266(0x1d8)]&&_0x65c3de[_0x37e266(0x1d8)]?_0x5e6897[_0x37e266(0x1f4)](({id:_0x31406f,createdAt:_0x116972,authorId:_0x2c0938,attributes:_0x10e231})=>{const _0x6ad5c9=_0x37e266,_0x13aefd=_0x10e231&&_0x10e231[_0x6ad5c9(0x1e1)];return{'id':_0x31406f,'author':_0x13aefd?_0x13aefd[_0x6ad5c9(0x1e2)]:_0x65c3de[_0x6ad5c9(0x1f5)](_0x2c0938)[_0x6ad5c9(0x1ed)],'created_at':_0x116972};}):[];}function _0x55ad(_0x3c34c3,_0xacdd66){const _0x24f931=_0x24f9();return _0x55ad=function(_0x55ade7,_0x37f617){_0x55ade7=_0x55ade7-0x1d5;let _0x10338a=_0x24f931[_0x55ade7];return _0x10338a;},_0x55ad(_0x3c34c3,_0xacdd66);}function _0x24f9(){const _0x3ec5de=['MergeFieldsEditing','Users','getCommentThreads','getLabel','resolvedOptions','6LmPXPZ','DateTimeFormat','data','mergeFields','name','author','377060SITAfO','getSuggestions','users','createdAt','848938EkpPmd','map','get','$labels','677156BcyrJZ','merge_fields','8050hZqRXv','TrackChanges','keys','comment_threads','comments','7794rUsYpt','entries','timezone','previewMode','isResolved','getDataSetValues','getMergeFieldType','image','document','plugins','$defaultValues','getDefaultValues','3810674oKKAqg','content','timeZone','suggestions','MergeFields','5ORVvnh','locale','push','length','language','CommentsRepository','contentLanguage','has','2257784SfpiXP','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','collaboration_features','1943298qblJbi','@external','authorName','config'];_0x24f9=function(){return _0x3ec5de;};return _0x24f9();}