@ckeditor/ckeditor5-export-word 46.0.1-alpha.9 → 46.0.1

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.1-alpha.9",
3
+ "version": "46.0.1",
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.1-alpha.9",
34
- "@ckeditor/ckeditor5-collaboration-core": "46.0.1-alpha.9",
35
- "@ckeditor/ckeditor5-comments": "46.0.1-alpha.9",
36
- "@ckeditor/ckeditor5-core": "46.0.1-alpha.9",
37
- "@ckeditor/ckeditor5-icons": "46.0.1-alpha.9",
38
- "@ckeditor/ckeditor5-merge-fields": "46.0.1-alpha.9",
39
- "@ckeditor/ckeditor5-track-changes": "46.0.1-alpha.9",
40
- "@ckeditor/ckeditor5-utils": "46.0.1-alpha.9",
41
- "@ckeditor/ckeditor5-ui": "46.0.1-alpha.9",
42
- "ckeditor5": "46.0.1-alpha.9"
33
+ "@ckeditor/ckeditor5-cloud-services": "46.0.1",
34
+ "@ckeditor/ckeditor5-collaboration-core": "46.0.1",
35
+ "@ckeditor/ckeditor5-comments": "46.0.1",
36
+ "@ckeditor/ckeditor5-core": "46.0.1",
37
+ "@ckeditor/ckeditor5-icons": "46.0.1",
38
+ "@ckeditor/ckeditor5-merge-fields": "46.0.1",
39
+ "@ckeditor/ckeditor5-track-changes": "46.0.1",
40
+ "@ckeditor/ckeditor5-utils": "46.0.1",
41
+ "@ckeditor/ckeditor5-ui": "46.0.1",
42
+ "ckeditor5": "46.0.1"
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 _0x254bac=_0x59e8;(function(_0x272c69,_0x3db1a3){const _0x1b3660=_0x59e8,_0x4394e3=_0x272c69();while(!![]){try{const _0x5edbcf=parseInt(_0x1b3660(0x201))/0x1+-parseInt(_0x1b3660(0x1f2))/0x2+parseInt(_0x1b3660(0x205))/0x3*(parseInt(_0x1b3660(0x1fb))/0x4)+parseInt(_0x1b3660(0x1fc))/0x5+parseInt(_0x1b3660(0x1f4))/0x6+parseInt(_0x1b3660(0x1f5))/0x7*(parseInt(_0x1b3660(0x1f6))/0x8)+-parseInt(_0x1b3660(0x1f9))/0x9;if(_0x5edbcf===_0x3db1a3)break;else _0x4394e3['push'](_0x4394e3['shift']());}catch(_0x53c315){_0x4394e3['push'](_0x4394e3['shift']());}}}(_0x3970,0x36049));import{Plugin as _0x53827e}from'ckeditor5/src/core.js';import{Notification as _0x214dd3}from'ckeditor5/src/ui.js';function _0x59e8(_0xb3da3f,_0x30df0c){const _0x397065=_0x3970();return _0x59e8=function(_0x59e847,_0x350f85){_0x59e847=_0x59e847-0x1ef;let _0x39ecc8=_0x397065[_0x59e847];return _0x39ecc8;},_0x59e8(_0xb3da3f,_0x30df0c);}import{ExportWordCommand as _0x2a29a6}from'./exportwordcommand.js';import{ExportWordUI as _0x3d80d8}from'./exportwordui.js';function _0x3970(){const _0x2fdebe=['_token','get','ExportWord','433987mtbNom','add','then','isPremiumPlugin','33006WBcRAn','config','editor','isOfficialPlugin','exportWord','init','requires','pluginName','token','628282PXHhkC','plugins','909210isvNmD','56qxsjMV','438128BDUZYH','registerTokenUrl','tokenUrl','8910198eVTVLB','CloudServices','156ivwZVG','363460FSskjp','commands'];_0x3970=function(){return _0x2fdebe;};return _0x3970();}export class ExportWord extends _0x53827e{[_0x254bac(0x1fe)];static get[_0x254bac(0x1f0)](){const _0x19e6eb=_0x254bac;return _0x19e6eb(0x200);}static get[_0x254bac(0x208)](){return!0x0;}static get[_0x254bac(0x204)](){return!0x0;}static get[_0x254bac(0x1ef)](){const _0x55d28a=_0x254bac;return[_0x55d28a(0x1fa),_0x214dd3,_0x3d80d8];}[_0x254bac(0x20a)](){const _0x1e17f2=_0x254bac,_0x275ad0=this[_0x1e17f2(0x207)],_0x381fcf=_0x275ad0[_0x1e17f2(0x206)][_0x1e17f2(0x1ff)](_0x1e17f2(0x209))||{};_0x275ad0[_0x1e17f2(0x1fd)][_0x1e17f2(0x202)](_0x1e17f2(0x209),new _0x2a29a6(_0x275ad0));const _0x152a90=_0x275ad0[_0x1e17f2(0x1f3)][_0x1e17f2(0x1ff)](_0x1e17f2(0x1fa));!0x1===_0x381fcf[_0x1e17f2(0x1f8)]?this[_0x1e17f2(0x1fe)]=null:_0x381fcf[_0x1e17f2(0x1f8)]?_0x152a90[_0x1e17f2(0x1f7)](_0x381fcf[_0x1e17f2(0x1f8)])[_0x1e17f2(0x203)](_0x2b11dd=>{const _0x2451c6=_0x1e17f2;this[_0x2451c6(0x1fe)]=_0x2b11dd;}):this[_0x1e17f2(0x1fe)]=_0x152a90[_0x1e17f2(0x1f1)];}}
23
+ const _0x1a0ce2=_0x46b4;(function(_0x1cb045,_0x1ebc33){const _0x36bc22=_0x46b4,_0x599b96=_0x1cb045();while(!![]){try{const _0x30c7e4=parseInt(_0x36bc22(0x180))/0x1+parseInt(_0x36bc22(0x178))/0x2*(-parseInt(_0x36bc22(0x176))/0x3)+parseInt(_0x36bc22(0x187))/0x4*(-parseInt(_0x36bc22(0x17c))/0x5)+-parseInt(_0x36bc22(0x186))/0x6+parseInt(_0x36bc22(0x183))/0x7+-parseInt(_0x36bc22(0x179))/0x8+parseInt(_0x36bc22(0x17e))/0x9;if(_0x30c7e4===_0x1ebc33)break;else _0x599b96['push'](_0x599b96['shift']());}catch(_0x5e4610){_0x599b96['push'](_0x599b96['shift']());}}}(_0x9d55,0x8268b));import{Plugin as _0x2fe4f1}from'ckeditor5/src/core.js';function _0x46b4(_0x13eb4a,_0x18f1b1){const _0x9d55c8=_0x9d55();return _0x46b4=function(_0x46b46a,_0x2b6841){_0x46b46a=_0x46b46a-0x171;let _0x2eeef1=_0x9d55c8[_0x46b46a];return _0x2eeef1;},_0x46b4(_0x13eb4a,_0x18f1b1);}import{Notification as _0x46adcc}from'ckeditor5/src/ui.js';function _0x9d55(){const _0x5996dd=['editor','plugins','CloudServices','isPremiumPlugin','registerTokenUrl','1368732LKokAu','add','4mARLRc','1514280GgJLcB','init','ExportWord','5REXLnr','then','17304084lFLDJM','commands','813616iXSNIb','tokenUrl','pluginName','266567CafTqE','requires','isOfficialPlugin','4773726GBbfDO','1371296KoOIer','config','exportWord','token','_token','get'];_0x9d55=function(){return _0x5996dd;};return _0x9d55();}import{ExportWordCommand as _0x2584d7}from'./exportwordcommand.js';import{ExportWordUI as _0x721996}from'./exportwordui.js';export class ExportWord extends _0x2fe4f1{[_0x1a0ce2(0x18b)];static get[_0x1a0ce2(0x182)](){const _0x428914=_0x1a0ce2;return _0x428914(0x17b);}static get[_0x1a0ce2(0x185)](){return!0x0;}static get[_0x1a0ce2(0x174)](){return!0x0;}static get[_0x1a0ce2(0x184)](){const _0x42a1c2=_0x1a0ce2;return[_0x42a1c2(0x173),_0x46adcc,_0x721996];}[_0x1a0ce2(0x17a)](){const _0x2cf05f=_0x1a0ce2,_0x3fd59=this[_0x2cf05f(0x171)],_0x348fed=_0x3fd59[_0x2cf05f(0x188)][_0x2cf05f(0x18c)](_0x2cf05f(0x189))||{};_0x3fd59[_0x2cf05f(0x17f)][_0x2cf05f(0x177)](_0x2cf05f(0x189),new _0x2584d7(_0x3fd59));const _0x54272b=_0x3fd59[_0x2cf05f(0x172)][_0x2cf05f(0x18c)](_0x2cf05f(0x173));!0x1===_0x348fed[_0x2cf05f(0x181)]?this[_0x2cf05f(0x18b)]=null:_0x348fed[_0x2cf05f(0x181)]?_0x54272b[_0x2cf05f(0x175)](_0x348fed[_0x2cf05f(0x181)])[_0x2cf05f(0x17d)](_0x45d1ad=>{const _0x1b6802=_0x2cf05f;this[_0x1b6802(0x18b)]=_0x45d1ad;}):this[_0x2cf05f(0x18b)]=_0x54272b[_0x2cf05f(0x18a)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56154e=_0x3a98;(function(_0xb6dc06,_0x2c52d9){const _0x47664b=_0x3a98,_0x5d8ef4=_0xb6dc06();while(!![]){try{const _0x2e078e=parseInt(_0x47664b(0x154))/0x1+parseInt(_0x47664b(0x18c))/0x2*(-parseInt(_0x47664b(0x164))/0x3)+parseInt(_0x47664b(0x16b))/0x4*(parseInt(_0x47664b(0x18a))/0x5)+parseInt(_0x47664b(0x14c))/0x6+parseInt(_0x47664b(0x159))/0x7+-parseInt(_0x47664b(0x14e))/0x8*(parseInt(_0x47664b(0x14a))/0x9)+-parseInt(_0x47664b(0x160))/0xa;if(_0x2e078e===_0x2c52d9)break;else _0x5d8ef4['push'](_0x5d8ef4['shift']());}catch(_0x5c2fd3){_0x5d8ef4['push'](_0x5d8ef4['shift']());}}}(_0x1aa8,0x3bd07));import{Command as _0x20eeca}from'ckeditor5/src/core.js';function _0x1aa8(){const _0x284278=['EDITOR_STYLES','value','7825340LbQKTB','<div\x20class=\x22ck-content\x22\x20dir=\x22','execute','catch','32118EyMKGd','header','https://docx-converter.cke-cs.com/v2/convert/html-docx','then','Word\x20document\x20export\x20successful','remove','https://docx-converter.cke-cs.com/v1/convert','60JpVPQu','assertive','href','application/json','URL','set','isBusy','status','config','POST','</div>','function','pending','export-word-v1-api-is-deprecated','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','margin_left','announce','options','suggestions','createElement','fetch','margin_right','margin_bottom','finally','application/docx','contentLanguageDirection','plugins','dataCallback','stringify','Notification','refresh','101415WVBIvj','orientation','4FMZFww','get','isEnabled','download','margin_top','_token','fileName','createObjectURL','converterUrl','converterOptions','auto_pagination','stylesheets','editor','footer','data','36oOwFyH','showWarning','2929572qbQTRh','blob','349688VKvsMo','affectsData','format','ExportWord','Word\x20document\x20export\x20started','version','258270nOvSHu','_downloadFile','document.docx','comments','ariaLiveAnnouncer','1211084UfnRVX','Word\x20document\x20export\x20failed','token','locale','click'];_0x1aa8=function(){return _0x284278;};return _0x1aa8();}import{logWarning as _0x471671,collectStylesheets as _0x3114bc}from'ckeditor5/src/utils.js';import{getConverterOptions as _0x1459b2,getConverterOptionsV2 as _0x56a86c}from'./utils.js';import{getTranslation as _0x5b7058}from'./utils/common-translations.js';function _0x3a98(_0x16a58a,_0x53ad44){const _0x1aa8cc=_0x1aa8();return _0x3a98=function(_0x3a981d,_0xf892e0){_0x3a981d=_0x3a981d-0x145;let _0x2cd4a0=_0x1aa8cc[_0x3a981d];return _0x2cd4a0;},_0x3a98(_0x16a58a,_0x53ad44);}const p=[_0x56154e(0x18b),_0x56154e(0x190),_0x56154e(0x180),_0x56154e(0x181),_0x56154e(0x17a),_0x56154e(0x150),_0x56154e(0x165),_0x56154e(0x148),_0x56154e(0x157),_0x56154e(0x17d)];export class ExportWordCommand extends _0x20eeca{constructor(_0x37203f){const _0x557ac9=_0x56154e;super(_0x37203f),this[_0x557ac9(0x170)](_0x557ac9(0x171),!0x1),this[_0x557ac9(0x14f)]=!0x1;}[_0x56154e(0x189)](){const _0x3a7305=_0x56154e;this[_0x3a7305(0x18e)]=!this[_0x3a7305(0x171)],this[_0x3a7305(0x15f)]=this[_0x3a7305(0x171)]?_0x3a7305(0x177):void 0x0;}[_0x56154e(0x162)](_0x30b589={}){const _0x2acfdb=_0x56154e,_0x33eecf=this[_0x2acfdb(0x147)],_0x56c9c2=_0x30b589[_0x2acfdb(0x153)]||0x2,_0x26ff7e=0x1===_0x56c9c2,_0x3f25fd=_0x30b589[_0x2acfdb(0x194)]||(_0x26ff7e?_0x2acfdb(0x16a):_0x2acfdb(0x166)),_0x4f4272=_0x30b589[_0x2acfdb(0x195)]||{},_0x21d204=_0x33eecf[_0x2acfdb(0x185)][_0x2acfdb(0x18d)](_0x2acfdb(0x151)),_0x17d7ff=_0x30b589[_0x2acfdb(0x15b)]||_0x21d204[_0x2acfdb(0x191)],_0x585f20=!0x0===_0x4f4272[_0x2acfdb(0x145)],_0x37dcb2=_0x30b589[_0x2acfdb(0x186)]||(_0x2bc7a7=>_0x2bc7a7[_0x2acfdb(0x149)][_0x2acfdb(0x18d)]({'pagination':_0x585f20}));return 0x2===_0x56c9c2&&function(_0xb5d3e5){for(const _0xcda17 of p)if(void 0x0!==_0xb5d3e5[_0xcda17])return!0x0;return!0x1;}(_0x4f4272)&&_0x471671(_0x2acfdb(0x178)),this[_0x2acfdb(0x171)]=!0x0,this[_0x2acfdb(0x189)](),_0x3114bc(_0x30b589[_0x2acfdb(0x146)]||[_0x2acfdb(0x15e)])[_0x2acfdb(0x167)](async _0x247c1c=>{const _0x1a4fb3=_0x2acfdb;_0x33eecf['ui'][_0x1a4fb3(0x158)][_0x1a4fb3(0x17b)](_0x5b7058(_0x33eecf[_0x1a4fb3(0x15c)],_0x1a4fb3(0x152)));const _0x137f07=await _0x37dcb2(_0x33eecf),_0x33af43={'html':_0x1a4fb3(0x161)+_0x33eecf[_0x1a4fb3(0x15c)][_0x1a4fb3(0x184)]+'\x22>'+_0x137f07+_0x1a4fb3(0x175),'css':_0x247c1c,[_0x26ff7e?_0x1a4fb3(0x17c):_0x1a4fb3(0x173)]:{..._0x4f4272,..._0x26ff7e?_0x1459b2(_0x33eecf,_0x4f4272):_0x56a86c(_0x33eecf,_0x4f4272)}},_0x2c0a23={'method':_0x1a4fb3(0x174),'headers':{'Content-Type':_0x1a4fb3(0x16e),'Accept':_0x1a4fb3(0x183),..._0x17d7ff?{'Authorization':_0x17d7ff[_0x1a4fb3(0x15f)]}:null},'body':JSON[_0x1a4fb3(0x187)](_0x33af43)};return window[_0x1a4fb3(0x17f)](_0x3f25fd,_0x2c0a23)[_0x1a4fb3(0x167)](_0x2a099a=>{const _0x49d308=_0x1a4fb3;if(0xc8!==_0x2a099a[_0x49d308(0x172)])throw _0x2a099a;return _0x2a099a[_0x49d308(0x14d)]();})[_0x1a4fb3(0x167)](_0x51d35d=>{const _0x58279e=_0x1a4fb3;_0x33eecf['ui'][_0x58279e(0x158)][_0x58279e(0x17b)](_0x5b7058(_0x33eecf[_0x58279e(0x15c)],_0x58279e(0x168)));const _0x5c4b81=_0x58279e(0x176)==typeof _0x30b589[_0x58279e(0x192)]?_0x30b589[_0x58279e(0x192)]():_0x30b589[_0x58279e(0x192)];this[_0x58279e(0x155)](_0x51d35d,_0x5c4b81||_0x58279e(0x156));});})[_0x2acfdb(0x163)](_0x410514=>{const _0x5c44a9=_0x2acfdb,_0x2506f9=_0x33eecf[_0x5c44a9(0x185)][_0x5c44a9(0x18d)](_0x5c44a9(0x188));throw _0x33eecf['ui'][_0x5c44a9(0x158)][_0x5c44a9(0x17b)](_0x5b7058(_0x33eecf[_0x5c44a9(0x15c)],_0x5c44a9(0x15a)),{'politeness':_0x5c44a9(0x16c)}),_0x2506f9[_0x5c44a9(0x14b)](_0x5b7058(_0x33eecf[_0x5c44a9(0x15c)],_0x5c44a9(0x179))),_0x410514;})[_0x2acfdb(0x182)](()=>{const _0x21dfbc=_0x2acfdb;this[_0x21dfbc(0x171)]=!0x1,this[_0x21dfbc(0x189)]();});}[_0x56154e(0x155)](_0x218752,_0x4b5294){const _0xbf5bce=_0x56154e,_0x3e65bd=document[_0xbf5bce(0x17e)]('a');_0x3e65bd[_0xbf5bce(0x16d)]=window[_0xbf5bce(0x16f)][_0xbf5bce(0x193)](_0x218752),_0x3e65bd[_0xbf5bce(0x18f)]=_0x4b5294,_0x3e65bd[_0xbf5bce(0x15d)](),_0x3e65bd[_0xbf5bce(0x169)]();}}
23
+ function _0x5d47(_0x8d50fe,_0x5862a2){const _0x40e9ec=_0x40e9();return _0x5d47=function(_0x5d4798,_0x3068b8){_0x5d4798=_0x5d4798-0xd5;let _0x2ae40d=_0x40e9ec[_0x5d4798];return _0x2ae40d;},_0x5d47(_0x8d50fe,_0x5862a2);}const _0x57c86b=_0x5d47;(function(_0x2f3739,_0x44fbb8){const _0x217a55=_0x5d47,_0x3e11ff=_0x2f3739();while(!![]){try{const _0x400201=parseInt(_0x217a55(0x116))/0x1*(parseInt(_0x217a55(0x108))/0x2)+parseInt(_0x217a55(0x117))/0x3*(parseInt(_0x217a55(0x111))/0x4)+parseInt(_0x217a55(0x104))/0x5+-parseInt(_0x217a55(0x123))/0x6+-parseInt(_0x217a55(0xe2))/0x7*(-parseInt(_0x217a55(0xec))/0x8)+parseInt(_0x217a55(0xe7))/0x9+-parseInt(_0x217a55(0xf2))/0xa;if(_0x400201===_0x44fbb8)break;else _0x3e11ff['push'](_0x3e11ff['shift']());}catch(_0x4307bf){_0x3e11ff['push'](_0x3e11ff['shift']());}}}(_0x40e9,0x19306));import{Command as _0x413aa4}from'ckeditor5/src/core.js';function _0x40e9(){const _0x32f7e1=['comments','header','options','8sHeqZS','then','announce','set','affectsData','5QCjXkD','188133xZIHWh','config','application/docx','margin_right','catch','download','</div>','Word\x20document\x20export\x20failed','refresh','margin_bottom','document.docx','POST','376830QgCDLN','URL','https://docx-converter.cke-cs.com/v1/convert','Notification','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','get','status','blob','data','orientation','showWarning','execute','https://docx-converter.cke-cs.com/v2/convert/html-docx','suggestions','assertive','<div\x20class=\x22ck-content\x22\x20dir=\x22','14cTzRfJ','locale','isEnabled','fetch','_downloadFile','405036JikYEY','token','fileName','contentLanguageDirection','dataCallback','81080rgwciL','Word\x20document\x20export\x20successful','value','EDITOR_STYLES','application/json','click','667650TJjVYY','createObjectURL','margin_left','createElement','format','isBusy','ariaLiveAnnouncer','stringify','function','pending','Word\x20document\x20export\x20started','stylesheets','margin_top','converterOptions','_token','editor','footer','remove','42965pntvmS','plugins','export-word-v1-api-is-deprecated','ExportWord','13382abaUnn','finally','href','version','auto_pagination','converterUrl'];_0x40e9=function(){return _0x32f7e1;};return _0x40e9();}import{logWarning as _0x16e000,collectStylesheets as _0x39d241}from'ckeditor5/src/utils.js';import{getConverterOptions as _0x5a7d69,getConverterOptionsV2 as _0x16f20b}from'./utils.js';import{getTranslation as _0x2123a8}from'./utils/common-translations.js';const p=[_0x57c86b(0xdb),_0x57c86b(0xfe),_0x57c86b(0x11a),_0x57c86b(0x120),_0x57c86b(0xf4),_0x57c86b(0xf6),_0x57c86b(0x10f),_0x57c86b(0x102),_0x57c86b(0x10e),_0x57c86b(0xdf)];export class ExportWordCommand extends _0x413aa4{constructor(_0x169e08){const _0xc2d42=_0x57c86b;super(_0x169e08),this[_0xc2d42(0x114)](_0xc2d42(0xf7),!0x1),this[_0xc2d42(0x115)]=!0x1;}[_0x57c86b(0x11f)](){const _0x347e59=_0x57c86b;this[_0x347e59(0xe4)]=!this[_0x347e59(0xf7)],this[_0x347e59(0xee)]=this[_0x347e59(0xf7)]?_0x347e59(0xfb):void 0x0;}[_0x57c86b(0xdd)](_0x1704a9={}){const _0x47e59b=_0x57c86b,_0x35d460=this[_0x47e59b(0x101)],_0x5cf208=_0x1704a9[_0x47e59b(0x10b)]||0x2,_0x349237=0x1===_0x5cf208,_0x112d9d=_0x1704a9[_0x47e59b(0x10d)]||(_0x349237?_0x47e59b(0x125):_0x47e59b(0xde)),_0x1673d1=_0x1704a9[_0x47e59b(0xff)]||{},_0x5b3fb7=_0x35d460[_0x47e59b(0x105)][_0x47e59b(0xd7)](_0x47e59b(0x107)),_0x14af14=_0x1704a9[_0x47e59b(0xe8)]||_0x5b3fb7[_0x47e59b(0x100)],_0x3b0754=!0x0===_0x1673d1[_0x47e59b(0x10c)],_0x4dd52e=_0x1704a9[_0x47e59b(0xeb)]||(_0x2c228b=>_0x2c228b[_0x47e59b(0xda)][_0x47e59b(0xd7)]({'pagination':_0x3b0754}));return 0x2===_0x5cf208&&function(_0xc555d8){for(const _0x19f22 of p)if(void 0x0!==_0xc555d8[_0x19f22])return!0x0;return!0x1;}(_0x1673d1)&&_0x16e000(_0x47e59b(0x106)),this[_0x47e59b(0xf7)]=!0x0,this[_0x47e59b(0x11f)](),_0x39d241(_0x1704a9[_0x47e59b(0xfd)]||[_0x47e59b(0xef)])[_0x47e59b(0x112)](async _0x5e65ae=>{const _0x1a07f1=_0x47e59b;_0x35d460['ui'][_0x1a07f1(0xf8)][_0x1a07f1(0x113)](_0x2123a8(_0x35d460[_0x1a07f1(0xe3)],_0x1a07f1(0xfc)));const _0x4dfd29=await _0x4dd52e(_0x35d460),_0x17243f={'html':_0x1a07f1(0xe1)+_0x35d460[_0x1a07f1(0xe3)][_0x1a07f1(0xea)]+'\x22>'+_0x4dfd29+_0x1a07f1(0x11d),'css':_0x5e65ae,[_0x349237?_0x1a07f1(0x110):_0x1a07f1(0x118)]:{..._0x1673d1,..._0x349237?_0x5a7d69(_0x35d460,_0x1673d1):_0x16f20b(_0x35d460,_0x1673d1)}},_0x3f7ae1={'method':_0x1a07f1(0x122),'headers':{'Content-Type':_0x1a07f1(0xf0),'Accept':_0x1a07f1(0x119),..._0x14af14?{'Authorization':_0x14af14[_0x1a07f1(0xee)]}:null},'body':JSON[_0x1a07f1(0xf9)](_0x17243f)};return window[_0x1a07f1(0xe5)](_0x112d9d,_0x3f7ae1)[_0x1a07f1(0x112)](_0x3fe8ef=>{const _0x451b1a=_0x1a07f1;if(0xc8!==_0x3fe8ef[_0x451b1a(0xd8)])throw _0x3fe8ef;return _0x3fe8ef[_0x451b1a(0xd9)]();})[_0x1a07f1(0x112)](_0x273395=>{const _0x465910=_0x1a07f1;_0x35d460['ui'][_0x465910(0xf8)][_0x465910(0x113)](_0x2123a8(_0x35d460[_0x465910(0xe3)],_0x465910(0xed)));const _0x44bf3c=_0x465910(0xfa)==typeof _0x1704a9[_0x465910(0xe9)]?_0x1704a9[_0x465910(0xe9)]():_0x1704a9[_0x465910(0xe9)];this[_0x465910(0xe6)](_0x273395,_0x44bf3c||_0x465910(0x121));});})[_0x47e59b(0x11b)](_0x227eab=>{const _0x13432d=_0x47e59b,_0x842eb4=_0x35d460[_0x13432d(0x105)][_0x13432d(0xd7)](_0x13432d(0xd5));throw _0x35d460['ui'][_0x13432d(0xf8)][_0x13432d(0x113)](_0x2123a8(_0x35d460[_0x13432d(0xe3)],_0x13432d(0x11e)),{'politeness':_0x13432d(0xe0)}),_0x842eb4[_0x13432d(0xdc)](_0x2123a8(_0x35d460[_0x13432d(0xe3)],_0x13432d(0xd6))),_0x227eab;})[_0x47e59b(0x109)](()=>{const _0x598e4a=_0x47e59b;this[_0x598e4a(0xf7)]=!0x1,this[_0x598e4a(0x11f)]();});}[_0x57c86b(0xe6)](_0x5c7c9c,_0x37d1f2){const _0x27d6ee=_0x57c86b,_0x55dec3=document[_0x27d6ee(0xf5)]('a');_0x55dec3[_0x27d6ee(0x10a)]=window[_0x27d6ee(0x124)][_0x27d6ee(0xf3)](_0x5c7c9c),_0x55dec3[_0x27d6ee(0x11c)]=_0x37d1f2,_0x55dec3[_0x27d6ee(0xf1)](),_0x55dec3[_0x27d6ee(0x103)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x360a2c=_0x48ec;function _0x1694(){const _0x2a4e74=['21eOqcvu','Export\x20to\x20Word','66rRTepV','isOn','add','isPremiumPlugin','locale','listenTo','config','children','label','303234wZvPcz','pluginName','isEnabled','set','isOfficialPlugin','121466iUghnp','commands','1017rIjjwz','2708284sJVsGJ','iconView','1102569gOoYCz','6DuoEij','init','ExportWordUI','execute','Exporting\x20Word\x20document','focus','exportWord','_createButton','editing','editor','1205730whrkWM','menuBar:exportWord','19568vlnzxU','componentFactory','3085195aUCfBZ','get','bind','view','isVisible','isBusy'];_0x1694=function(){return _0x2a4e74;};return _0x1694();}(function(_0x2b69b5,_0x5b6b6a){const _0x5352f4=_0x48ec,_0x5d83af=_0x2b69b5();while(!![]){try{const _0x564304=-parseInt(_0x5352f4(0x88))/0x1*(-parseInt(_0x5352f4(0x82))/0x2)+parseInt(_0x5352f4(0x87))/0x3+-parseInt(_0x5352f4(0x85))/0x4+parseInt(_0x5352f4(0x6c))/0x5+parseInt(_0x5352f4(0x7d))/0x6*(parseInt(_0x5352f4(0x72))/0x7)+-parseInt(_0x5352f4(0x94))/0x8*(-parseInt(_0x5352f4(0x84))/0x9)+-parseInt(_0x5352f4(0x92))/0xa*(parseInt(_0x5352f4(0x74))/0xb);if(_0x564304===_0x5b6b6a)break;else _0x5d83af['push'](_0x5d83af['shift']());}catch(_0x4690de){_0x5d83af['push'](_0x5d83af['shift']());}}}(_0x1694,0x5be92));function _0x48ec(_0x4f1da6,_0x8943b9){const _0x169432=_0x1694();return _0x48ec=function(_0x48ec38,_0x4d8af3){_0x48ec38=_0x48ec38-0x6b;let _0x38514e=_0x169432[_0x48ec38];return _0x38514e;},_0x48ec(_0x4f1da6,_0x8943b9);}import{Plugin as _0x8a5ef9}from'ckeditor5/src/core.js';import{IconExportWord as _0xa8df00}from'ckeditor5/src/icons.js';import{ButtonView as _0x28bf7d,MenuBarMenuListItemButtonView as _0x4849a5,SpinnerView as _0x4790e8}from'ckeditor5/src/ui.js';import{getTranslation as _0x3cc961}from'./utils/common-translations.js';export class ExportWordUI extends _0x8a5ef9{static get[_0x360a2c(0x7e)](){const _0x49342f=_0x360a2c;return _0x49342f(0x8a);}static get[_0x360a2c(0x81)](){return!0x0;}static get[_0x360a2c(0x77)](){return!0x0;}[_0x360a2c(0x89)](){const _0x2920f8=_0x360a2c,_0x209ac4=this[_0x2920f8(0x91)];_0x209ac4['ui'][_0x2920f8(0x6b)][_0x2920f8(0x76)](_0x2920f8(0x8e),()=>{const _0x296379=_0x2920f8,_0x727e4=_0x209ac4[_0x296379(0x83)][_0x296379(0x6d)](_0x296379(0x8e)),_0x2acf1=this[_0x296379(0x8f)](_0x28bf7d);return _0x2acf1[_0x296379(0x80)]({'tooltip':!0x0}),_0x2acf1[_0x296379(0x6e)](_0x296379(0x75))['to'](_0x727e4,_0x296379(0x71)),_0x2acf1;}),_0x209ac4['ui'][_0x2920f8(0x6b)][_0x2920f8(0x76)](_0x2920f8(0x93),()=>this[_0x2920f8(0x8f)](_0x4849a5));}[_0x360a2c(0x8f)](_0x591c5d){const _0x1e7417=_0x360a2c,_0x1c5f72=this[_0x1e7417(0x91)],_0x23ff8f=_0x1c5f72[_0x1e7417(0x7a)][_0x1e7417(0x6d)](_0x1e7417(0x8e))||{},_0x321f27=_0x1c5f72[_0x1e7417(0x83)][_0x1e7417(0x6d)](_0x1e7417(0x8e)),_0x204094=new _0x591c5d(_0x1c5f72[_0x1e7417(0x78)]),_0x291a0d=new _0x4790e8();return _0x204094[_0x1e7417(0x7b)][_0x1e7417(0x76)](_0x291a0d),_0x291a0d[_0x1e7417(0x6e)](_0x1e7417(0x70))['to'](_0x321f27,_0x1e7417(0x71)),_0x204094[_0x1e7417(0x86)][_0x1e7417(0x6e)](_0x1e7417(0x70))['to'](_0x321f27,_0x1e7417(0x71),_0x160055=>!_0x160055),_0x204094[_0x1e7417(0x80)]({'icon':_0xa8df00}),_0x204094[_0x1e7417(0x6e)](_0x1e7417(0x7f))['to'](_0x321f27,_0x1e7417(0x7f)),_0x204094[_0x1e7417(0x6e)](_0x1e7417(0x7c))['to'](_0x321f27,_0x1e7417(0x71),_0xcaffbe=>_0x3cc961(_0x1c5f72[_0x1e7417(0x78)],_0xcaffbe?_0x1e7417(0x8c):_0x1e7417(0x73))),this[_0x1e7417(0x79)](_0x204094,_0x1e7417(0x8b),()=>{const _0x3d8e6f=_0x1e7417;_0x1c5f72[_0x3d8e6f(0x8b)](_0x3d8e6f(0x8e),_0x23ff8f),_0x1c5f72[_0x3d8e6f(0x90)][_0x3d8e6f(0x6f)][_0x3d8e6f(0x8d)]();}),_0x204094;}}
23
+ function _0x1b7f(_0x450b42,_0x2ed9c2){const _0x3f1847=_0x3f18();return _0x1b7f=function(_0x1b7f7f,_0xe4e7aa){_0x1b7f7f=_0x1b7f7f-0x128;let _0x107021=_0x3f1847[_0x1b7f7f];return _0x107021;},_0x1b7f(_0x450b42,_0x2ed9c2);}const _0x4ba760=_0x1b7f;(function(_0x2a5d02,_0x1a45c5){const _0x1ecab9=_0x1b7f,_0x468e41=_0x2a5d02();while(!![]){try{const _0xd69b5=-parseInt(_0x1ecab9(0x13c))/0x1*(parseInt(_0x1ecab9(0x146))/0x2)+-parseInt(_0x1ecab9(0x12f))/0x3+parseInt(_0x1ecab9(0x14a))/0x4*(parseInt(_0x1ecab9(0x12d))/0x5)+-parseInt(_0x1ecab9(0x14b))/0x6*(-parseInt(_0x1ecab9(0x13d))/0x7)+-parseInt(_0x1ecab9(0x143))/0x8*(parseInt(_0x1ecab9(0x138))/0x9)+parseInt(_0x1ecab9(0x136))/0xa*(-parseInt(_0x1ecab9(0x13e))/0xb)+parseInt(_0x1ecab9(0x148))/0xc;if(_0xd69b5===_0x1a45c5)break;else _0x468e41['push'](_0x468e41['shift']());}catch(_0x14fe35){_0x468e41['push'](_0x468e41['shift']());}}}(_0x3f18,0x2e9ba));function _0x3f18(){const _0x1c495b=['isOfficialPlugin','view','12752fwBnzN','focus','isBusy','1804DtVVge','set','11934276zUdkxT','Exporting\x20Word\x20document','4PTvnoc','6942plyhNd','editor','iconView','menuBar:exportWord','isPremiumPlugin','execute','pluginName','isOn','isVisible','ExportWordUI','get','isEnabled','init','68980Msyozq','exportWord','81492zMKsad','_createButton','add','commands','locale','label','Export\x20to\x20Word','3761970VdXVfu','editing','1062plgyHa','bind','componentFactory','children','407kZwYwQ','854gxXyXb','11XMDRZq','config','listenTo'];_0x3f18=function(){return _0x1c495b;};return _0x3f18();}import{Plugin as _0x98bf86}from'ckeditor5/src/core.js';import{IconExportWord as _0x57eb8f}from'ckeditor5/src/icons.js';import{ButtonView as _0x57e27a,MenuBarMenuListItemButtonView as _0x2a1030,SpinnerView as _0x592ecc}from'ckeditor5/src/ui.js';import{getTranslation as _0x4febcf}from'./utils/common-translations.js';export class ExportWordUI extends _0x98bf86{static get[_0x4ba760(0x151)](){const _0x2f86de=_0x4ba760;return _0x2f86de(0x129);}static get[_0x4ba760(0x141)](){return!0x0;}static get[_0x4ba760(0x14f)](){return!0x0;}[_0x4ba760(0x12c)](){const _0x6c684=_0x4ba760,_0xf0ad75=this[_0x6c684(0x14c)];_0xf0ad75['ui'][_0x6c684(0x13a)][_0x6c684(0x131)](_0x6c684(0x12e),()=>{const _0x20cd9a=_0x6c684,_0x1f960b=_0xf0ad75[_0x20cd9a(0x132)][_0x20cd9a(0x12a)](_0x20cd9a(0x12e)),_0x963da0=this[_0x20cd9a(0x130)](_0x57e27a);return _0x963da0[_0x20cd9a(0x147)]({'tooltip':!0x0}),_0x963da0[_0x20cd9a(0x139)](_0x20cd9a(0x152))['to'](_0x1f960b,_0x20cd9a(0x145)),_0x963da0;}),_0xf0ad75['ui'][_0x6c684(0x13a)][_0x6c684(0x131)](_0x6c684(0x14e),()=>this[_0x6c684(0x130)](_0x2a1030));}[_0x4ba760(0x130)](_0x3c48b6){const _0x5f272c=_0x4ba760,_0x2de0bf=this[_0x5f272c(0x14c)],_0x5e8446=_0x2de0bf[_0x5f272c(0x13f)][_0x5f272c(0x12a)](_0x5f272c(0x12e))||{},_0x3451eb=_0x2de0bf[_0x5f272c(0x132)][_0x5f272c(0x12a)](_0x5f272c(0x12e)),_0x335884=new _0x3c48b6(_0x2de0bf[_0x5f272c(0x133)]),_0x47afad=new _0x592ecc();return _0x335884[_0x5f272c(0x13b)][_0x5f272c(0x131)](_0x47afad),_0x47afad[_0x5f272c(0x139)](_0x5f272c(0x128))['to'](_0x3451eb,_0x5f272c(0x145)),_0x335884[_0x5f272c(0x14d)][_0x5f272c(0x139)](_0x5f272c(0x128))['to'](_0x3451eb,_0x5f272c(0x145),_0x52f349=>!_0x52f349),_0x335884[_0x5f272c(0x147)]({'icon':_0x57eb8f}),_0x335884[_0x5f272c(0x139)](_0x5f272c(0x12b))['to'](_0x3451eb,_0x5f272c(0x12b)),_0x335884[_0x5f272c(0x139)](_0x5f272c(0x134))['to'](_0x3451eb,_0x5f272c(0x145),_0x3ae664=>_0x4febcf(_0x2de0bf[_0x5f272c(0x133)],_0x3ae664?_0x5f272c(0x149):_0x5f272c(0x135))),this[_0x5f272c(0x140)](_0x335884,_0x5f272c(0x150),()=>{const _0x13d29f=_0x5f272c;_0x2de0bf[_0x13d29f(0x150)](_0x13d29f(0x12e),_0x5e8446),_0x2de0bf[_0x13d29f(0x137)][_0x13d29f(0x142)][_0x13d29f(0x144)]();}),_0x335884;}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x57d00e,_0xbb193b){var _0x368da0=_0x57fe,_0x122b84=_0x57d00e();while(!![]){try{var _0x3c4529=-parseInt(_0x368da0(0x155))/0x1*(-parseInt(_0x368da0(0x159))/0x2)+parseInt(_0x368da0(0x158))/0x3+-parseInt(_0x368da0(0x15b))/0x4+-parseInt(_0x368da0(0x15a))/0x5*(-parseInt(_0x368da0(0x15e))/0x6)+-parseInt(_0x368da0(0x156))/0x7+parseInt(_0x368da0(0x15c))/0x8+-parseInt(_0x368da0(0x157))/0x9*(parseInt(_0x368da0(0x15d))/0xa);if(_0x3c4529===_0xbb193b)break;else _0x122b84['push'](_0x122b84['shift']());}catch(_0x4b3aee){_0x122b84['push'](_0x122b84['shift']());}}}(_0x490d,0x94cc6));function _0x57fe(_0x53c508,_0x5c537d){var _0x490d77=_0x490d();return _0x57fe=function(_0x57fe10,_0x8bf40d){_0x57fe10=_0x57fe10-0x155;var _0x5bc335=_0x490d77[_0x57fe10];return _0x5bc335;},_0x57fe(_0x53c508,_0x5c537d);}export{ExportWord}from'./exportword.js';export{ExportWordCommand}from'./exportwordcommand.js';import'./augmentation.js';function _0x490d(){var _0x1e5b39=['2865247WORiHj','9plQdUk','3523842FrrKKi','18zcYmZB','151215aEYYhF','1693272fjzUPe','8349640wifFwC','15586170rqGEIo','36mthQJD','66773rQaBMN'];_0x490d=function(){return _0x1e5b39;};return _0x490d();}
23
+ (function(_0x44daef,_0x46e30e){var _0x340788=_0x4ca9,_0x9932ce=_0x44daef();while(!![]){try{var _0x36f290=parseInt(_0x340788(0xfc))/0x1*(-parseInt(_0x340788(0xfa))/0x2)+parseInt(_0x340788(0xf5))/0x3*(-parseInt(_0x340788(0xf4))/0x4)+parseInt(_0x340788(0xf6))/0x5*(-parseInt(_0x340788(0xf9))/0x6)+-parseInt(_0x340788(0xf1))/0x7+parseInt(_0x340788(0xf3))/0x8+-parseInt(_0x340788(0xf8))/0x9*(parseInt(_0x340788(0xfb))/0xa)+-parseInt(_0x340788(0xf2))/0xb*(-parseInt(_0x340788(0xf7))/0xc);if(_0x36f290===_0x46e30e)break;else _0x9932ce['push'](_0x9932ce['shift']());}catch(_0x12b75d){_0x9932ce['push'](_0x9932ce['shift']());}}}(_0x4d9f,0xd92f4));function _0x4d9f(){var _0x19fef1=['236904TStSwe','6496272pECUyT','94722wRNNlQ','1622342CeCoNc','10xXEjIy','2iUDINu','11727065YczRPd','2673RNrMzM','13457928TjszTJ','12HukBBl','260193JJsDCm','415muqXTa'];_0x4d9f=function(){return _0x19fef1;};return _0x4d9f();}function _0x4ca9(_0x1c5219,_0x859d9f){var _0x4d9fe1=_0x4d9f();return _0x4ca9=function(_0x4ca9a3,_0x4f6c47){_0x4ca9a3=_0x4ca9a3-0xf1;var _0x1763a4=_0x4d9fe1[_0x4ca9a3];return _0x1763a4;},_0x4ca9(_0x1c5219,_0x859d9f);}export{ExportWord}from'./exportword.js';export{ExportWordCommand}from'./exportwordcommand.js';import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x593210,_0x4d54f6){const t=_0x593210['t'];switch(_0x4d54f6){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 _0x4d54f6;}}
23
+ export function getTranslation(_0x54ef30,_0x197dbc){const t=_0x54ef30['t'];switch(_0x197dbc){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 _0x197dbc;}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x59510b,_0x27646b){const _0x45bab6=_0x146b,_0x70d8da=_0x59510b();while(!![]){try{const _0xdaa2fa=parseInt(_0x45bab6(0x19a))/0x1+parseInt(_0x45bab6(0x1b1))/0x2*(parseInt(_0x45bab6(0x1bd))/0x3)+-parseInt(_0x45bab6(0x1c5))/0x4*(parseInt(_0x45bab6(0x196))/0x5)+parseInt(_0x45bab6(0x1bf))/0x6+parseInt(_0x45bab6(0x1a3))/0x7+parseInt(_0x45bab6(0x1b0))/0x8+-parseInt(_0x45bab6(0x1c3))/0x9*(parseInt(_0x45bab6(0x19e))/0xa);if(_0xdaa2fa===_0x27646b)break;else _0x70d8da['push'](_0x70d8da['shift']());}catch(_0x2a582e){_0x70d8da['push'](_0x70d8da['shift']());}}}(_0xb671,0xc7939));export function getConverterOptions(_0x4e872b,_0x3f68e5={}){const _0x53c844=_0x146b,_0x4a6393=_0x4e872b[_0x53c844(0x194)][_0x53c844(0x1b9)](_0x53c844(0x1b2)),_0x35298b=_0x4e872b[_0x53c844(0x194)][_0x53c844(0x1b9)](_0x53c844(0x1a0)),_0x485059=_0x4e872b[_0x53c844(0x194)][_0x53c844(0x1b9)](_0x53c844(0x1c7)),_0x220e23=_0x3f68e5;if(_0x4a6393&&_0x35298b){const _0x32e851=getComments(_0x4e872b[_0x53c844(0x194)][_0x53c844(0x1a7)](_0x53c844(0x1a0))[_0x53c844(0x1b8)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x53c844(0x1ab)](_0x32e851)[_0x53c844(0x193)]&&(_0x220e23[_0x53c844(0x1be)]=_0x32e851);}if(_0x4a6393&&_0x485059){const _0x5a4b14=_0x4e872b[_0x53c844(0x194)][_0x53c844(0x1a7)](_0x53c844(0x1c7)),_0x4fe2e4=_0x4e872b[_0x53c844(0x194)][_0x53c844(0x1a7)](_0x53c844(0x1b2)),_0xafe066=getSuggestions(_0x5a4b14[_0x53c844(0x1bb)]({'toJSON':!0x0}),_0x4fe2e4[_0x53c844(0x1bc)]);Object[_0x53c844(0x1ab)](_0xafe066)[_0x53c844(0x193)]&&(_0x220e23[_0x53c844(0x1b3)]=_0xafe066);}return(_0x220e23[_0x53c844(0x1b3)]||_0x220e23[_0x53c844(0x1be)])&&(_0x220e23[_0x53c844(0x19c)]=new Intl[(_0x53c844(0x1ac))]()[_0x53c844(0x198)]()[_0x53c844(0x19b)]),_0x220e23;}export function getComments(_0xbf4dfc){const _0x3735cd=_0x146b,_0x12f330={};if(!_0xbf4dfc[_0x3735cd(0x193)])return _0x12f330;for(const _0x3a07f7 of _0xbf4dfc)_0x3a07f7[_0x3735cd(0x1be)][_0x3735cd(0x1c9)](_0x395603=>{const _0x1f10b0=_0x3735cd;void 0x0===_0x12f330[_0x3a07f7['id']]&&(_0x12f330[_0x3a07f7['id']]=[]),_0x12f330[_0x3a07f7['id']][_0x1f10b0(0x191)]({'author':_0x395603[_0x1f10b0(0x1ae)][_0x1f10b0(0x1b6)],'content':_0x395603[_0x1f10b0(0x1a9)],'created':_0x395603[_0x1f10b0(0x1ba)],'is_resolved':_0x3a07f7[_0x1f10b0(0x1a4)]});});return _0x12f330;}function _0x146b(_0x2b8ac5,_0x3c22e2){const _0xb67193=_0xb671();return _0x146b=function(_0x146b93,_0x37d06b){_0x146b93=_0x146b93-0x190;let _0xba8466=_0xb67193[_0x146b93];return _0xba8466;},_0x146b(_0x2b8ac5,_0x3c22e2);}function _0xb671(){const _0x310dbe=['comment_threads','12694720uopnZy','636WPqlAu','Users','suggestions','contentLanguage','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','name','getDefaultValues','getCommentThreads','has','createdAt','getSuggestions','users','7032rsghSb','comments','9178584CmNwHc','previewMode','data','getMergeFieldType','342cFzxIk','mergeFields','1132kNwXaS','@external','TrackChanges','entries','map','$labels','push','authorName','length','plugins','locale','25910vpeyBr','config','resolvedOptions','language','366018JGZQoW','timeZone','timezone','merge_fields','836810PUIJxc','document','CommentsRepository','MergeFieldsEditing','getDataSetValues','8650845lPcfBL','isResolved','image','collaboration_features','get','$defaultValues','content','getLabel','keys','DateTimeFormat','MergeFields','author'];_0xb671=function(){return _0x310dbe;};return _0xb671();}export function getSuggestions(_0x2c1434,_0x4bb71c){const _0x172b10=_0x146b,_0x22f584={};if(!_0x2c1434[_0x172b10(0x193)]||!_0x4bb71c[_0x172b10(0x193)])return _0x22f584;for(const {id:_0x2603c9,createdAt:_0x4231ff,authorId:_0x3c4efb,attributes:_0x14fba0}of _0x2c1434){const _0x206ab9=_0x14fba0&&_0x14fba0[_0x172b10(0x1c6)],_0x12cea6=_0x206ab9?_0x206ab9[_0x172b10(0x192)]:_0x4bb71c[_0x172b10(0x1a7)](_0x3c4efb)[_0x172b10(0x1b6)];_0x22f584[_0x2603c9]={'author':_0x12cea6,'created':_0x4231ff};}return _0x22f584;}export function getConverterOptionsV2(_0x1e8e99,_0x1d51b2={}){const _0x4795bd=_0x146b,_0x35320c=_0x1e8e99[_0x4795bd(0x194)][_0x4795bd(0x1b9)](_0x4795bd(0x1b2)),_0x1faf79=_0x1e8e99[_0x4795bd(0x194)][_0x4795bd(0x1b9)](_0x4795bd(0x1a0)),_0x3ca294=_0x1e8e99[_0x4795bd(0x194)][_0x4795bd(0x1b9)](_0x4795bd(0x1c7)),_0x122c0b=_0x1e8e99[_0x4795bd(0x194)][_0x4795bd(0x1b9)](_0x4795bd(0x1ad)),_0x42b26e=_0x1e8e99[_0x4795bd(0x195)][_0x4795bd(0x1b4)],_0x60079c=_0x1d51b2,_0x4c6bee={};if(_0x60079c[_0x4795bd(0x19f)]=_0x60079c[_0x4795bd(0x19f)]||{},_0x60079c[_0x4795bd(0x19f)][_0x4795bd(0x199)]=_0x60079c[_0x4795bd(0x19f)][_0x4795bd(0x199)]||_0x42b26e,_0x35320c&&_0x1faf79){const _0x1151b8=getCommentsV2(_0x1e8e99[_0x4795bd(0x194)][_0x4795bd(0x1a7)](_0x4795bd(0x1a0))[_0x4795bd(0x1b8)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x1151b8[_0x4795bd(0x193)]&&(_0x4c6bee[_0x4795bd(0x1af)]=_0x1151b8);}if(_0x35320c&&_0x3ca294){const _0x137218=_0x1e8e99[_0x4795bd(0x194)][_0x4795bd(0x1a7)](_0x4795bd(0x1c7)),_0x422110=_0x1e8e99[_0x4795bd(0x194)][_0x4795bd(0x1a7)](_0x4795bd(0x1b2)),_0x5c8663=getSuggestionsV2(_0x137218[_0x4795bd(0x1bb)]({'toJSON':!0x0}),_0x422110[_0x4795bd(0x1bc)]);_0x5c8663[_0x4795bd(0x193)]&&(_0x4c6bee[_0x4795bd(0x1b3)]=_0x5c8663);}if(_0x122c0b){const _0x39cb96=_0x1e8e99[_0x4795bd(0x194)][_0x4795bd(0x1a7)](_0x4795bd(0x1a1)),_0x2a4c7c=_0x39cb96[_0x4795bd(0x1c0)],{prefix:_0x92f4bc,suffix:_0xca0904}=_0x1e8e99[_0x4795bd(0x197)][_0x4795bd(0x1a7)](_0x4795bd(0x1c4));if(_0x60079c[_0x4795bd(0x19d)]={'prefix':_0x92f4bc,'suffix':_0xca0904},_0x4795bd(0x190)!==_0x2a4c7c){_0x60079c[_0x4795bd(0x19d)][_0x4795bd(0x1c1)]={};const _0x33f877=_0x4795bd(0x1b5),_0x9f1442=_0x4795bd(0x1a8)===_0x2a4c7c?_0x39cb96[_0x4795bd(0x1b7)]():_0x39cb96[_0x4795bd(0x1a2)](_0x2a4c7c,!0x0);for(const _0xe55ca7 of Object[_0x4795bd(0x1c8)](_0x9f1442)){const [_0x3027b2,_0x439a6]=_0xe55ca7;_0x4795bd(0x1a5)===_0x39cb96[_0x4795bd(0x1c2)](_0x3027b2)?_0x60079c[_0x4795bd(0x19d)][_0x4795bd(0x1c1)][_0x3027b2]=null!==_0x439a6?_0x439a6:_0x33f877:_0x60079c[_0x4795bd(0x19d)][_0x4795bd(0x1c1)][_0x3027b2]=null!==_0x439a6?_0x439a6:_0x39cb96[_0x4795bd(0x1aa)](_0x3027b2)||_0x3027b2;}}}return(_0x4c6bee[_0x4795bd(0x1af)]||_0x4c6bee[_0x4795bd(0x1b3)])&&(_0x60079c[_0x4795bd(0x19c)]=new Intl[(_0x4795bd(0x1ac))]()[_0x4795bd(0x198)]()[_0x4795bd(0x19b)],_0x60079c[_0x4795bd(0x1a6)]=_0x4c6bee),_0x60079c;}export function getCommentsV2(_0x31c258){const _0x3f95a7=_0x146b,_0x4a0b0b=[];if(!_0x31c258[_0x3f95a7(0x193)])return _0x4a0b0b;for(const _0x3e0a1f of _0x31c258){const _0x1d6392=_0x3e0a1f[_0x3f95a7(0x1be)][_0x3f95a7(0x1c9)](_0x37288b=>({'author':_0x37288b[_0x3f95a7(0x1ae)][_0x3f95a7(0x1b6)],'content':_0x37288b[_0x3f95a7(0x1a9)],'created_at':_0x37288b[_0x3f95a7(0x1ba)]}));_0x4a0b0b[_0x3f95a7(0x191)]({'thread_id':_0x3e0a1f['id'],'is_resolved':_0x3e0a1f[_0x3f95a7(0x1a4)],'comments':_0x1d6392});}return _0x4a0b0b;}export function getSuggestionsV2(_0x58ce58,_0x1f9dfc){const _0x5a7ffa=_0x146b;return _0x58ce58[_0x5a7ffa(0x193)]&&_0x1f9dfc[_0x5a7ffa(0x193)]?_0x58ce58[_0x5a7ffa(0x1c9)](({id:_0xaaa717,createdAt:_0x4947db,authorId:_0x5c3985,attributes:_0x56324a})=>{const _0x526fe3=_0x5a7ffa,_0x185c03=_0x56324a&&_0x56324a[_0x526fe3(0x1c6)];return{'id':_0xaaa717,'author':_0x185c03?_0x185c03[_0x526fe3(0x192)]:_0x1f9dfc[_0x526fe3(0x1a7)](_0x5c3985)[_0x526fe3(0x1b6)],'created_at':_0x4947db};}):[];}
23
+ (function(_0x2f50fb,_0x254a0b){const _0x4a2a2d=_0x2228,_0x43b827=_0x2f50fb();while(!![]){try{const _0xd0a14f=-parseInt(_0x4a2a2d(0xab))/0x1*(parseInt(_0x4a2a2d(0xb7))/0x2)+-parseInt(_0x4a2a2d(0xc7))/0x3*(parseInt(_0x4a2a2d(0xa2))/0x4)+parseInt(_0x4a2a2d(0x92))/0x5+-parseInt(_0x4a2a2d(0xb4))/0x6+parseInt(_0x4a2a2d(0xc1))/0x7+-parseInt(_0x4a2a2d(0xa4))/0x8+-parseInt(_0x4a2a2d(0xa0))/0x9*(-parseInt(_0x4a2a2d(0xb0))/0xa);if(_0xd0a14f===_0x254a0b)break;else _0x43b827['push'](_0x43b827['shift']());}catch(_0x28cc42){_0x43b827['push'](_0x43b827['shift']());}}}(_0x4f9f,0xef232));export function getConverterOptions(_0x4c40f7,_0x294548={}){const _0x53eb6e=_0x2228,_0x571186=_0x4c40f7[_0x53eb6e(0x90)][_0x53eb6e(0x9c)](_0x53eb6e(0xb6)),_0x3358f6=_0x4c40f7[_0x53eb6e(0x90)][_0x53eb6e(0x9c)](_0x53eb6e(0x96)),_0x53f8ff=_0x4c40f7[_0x53eb6e(0x90)][_0x53eb6e(0x9c)](_0x53eb6e(0x9f)),_0x1f5e80=_0x294548;if(_0x571186&&_0x3358f6){const _0x57e74f=getComments(_0x4c40f7[_0x53eb6e(0x90)][_0x53eb6e(0xc8)](_0x53eb6e(0x96))[_0x53eb6e(0x93)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x53eb6e(0xb5)](_0x57e74f)[_0x53eb6e(0xc5)]&&(_0x1f5e80[_0x53eb6e(0xbd)]=_0x57e74f);}if(_0x571186&&_0x53f8ff){const _0xea6ed8=_0x4c40f7[_0x53eb6e(0x90)][_0x53eb6e(0xc8)](_0x53eb6e(0x9f)),_0x9721db=_0x4c40f7[_0x53eb6e(0x90)][_0x53eb6e(0xc8)](_0x53eb6e(0xb6)),_0x5a8513=getSuggestions(_0xea6ed8[_0x53eb6e(0x91)]({'toJSON':!0x0}),_0x9721db[_0x53eb6e(0x97)]);Object[_0x53eb6e(0xb5)](_0x5a8513)[_0x53eb6e(0xc5)]&&(_0x1f5e80[_0x53eb6e(0xb2)]=_0x5a8513);}return(_0x1f5e80[_0x53eb6e(0xb2)]||_0x1f5e80[_0x53eb6e(0xbd)])&&(_0x1f5e80[_0x53eb6e(0xbb)]=new Intl[(_0x53eb6e(0x9e))]()[_0x53eb6e(0xc0)]()[_0x53eb6e(0xb8)]),_0x1f5e80;}export function getComments(_0x15e8f3){const _0x423814=_0x2228,_0x271645={};if(!_0x15e8f3[_0x423814(0xc5)])return _0x271645;for(const _0x17e697 of _0x15e8f3)_0x17e697[_0x423814(0xbd)][_0x423814(0xc4)](_0x308565=>{const _0x2f0a11=_0x423814;void 0x0===_0x271645[_0x17e697['id']]&&(_0x271645[_0x17e697['id']]=[]),_0x271645[_0x17e697['id']][_0x2f0a11(0xa5)]({'author':_0x308565[_0x2f0a11(0x98)][_0x2f0a11(0xc6)],'content':_0x308565[_0x2f0a11(0x94)],'created':_0x308565[_0x2f0a11(0xb3)],'is_resolved':_0x17e697[_0x2f0a11(0x9d)]});});return _0x271645;}export function getSuggestions(_0x11dc48,_0x16fe0b){const _0xad0b3f=_0x2228,_0x4eaac5={};if(!_0x11dc48[_0xad0b3f(0xc5)]||!_0x16fe0b[_0xad0b3f(0xc5)])return _0x4eaac5;for(const {id:_0x452b48,createdAt:_0x17c2de,authorId:_0x1dfdc6,attributes:_0x319aed}of _0x11dc48){const _0x214e11=_0x319aed&&_0x319aed[_0xad0b3f(0xaf)],_0x488a44=_0x214e11?_0x214e11[_0xad0b3f(0x95)]:_0x16fe0b[_0xad0b3f(0xc8)](_0x1dfdc6)[_0xad0b3f(0xc6)];_0x4eaac5[_0x452b48]={'author':_0x488a44,'created':_0x17c2de};}return _0x4eaac5;}function _0x2228(_0x156d2f,_0x2f33fb){const _0x4f9fc5=_0x4f9f();return _0x2228=function(_0x22287f,_0x578ab4){_0x22287f=_0x22287f-0x90;let _0x5375e8=_0x4f9fc5[_0x22287f];return _0x5375e8;},_0x2228(_0x156d2f,_0x2f33fb);}function _0x4f9f(){const _0x2d2884=['getSuggestions','8804675ukJgfR','getCommentThreads','content','authorName','CommentsRepository','users','author','mergeFields','getMergeFieldType','previewMode','has','isResolved','DateTimeFormat','TrackChanges','1440891rpxVrk','language','1102392nakGGg','MergeFields','8418960pPYKAw','push','contentLanguage','locale','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','$defaultValues','merge_fields','599769IzBdOh','config','entries','getLabel','@external','230vVSSDW','document','suggestions','createdAt','10997730atAcpL','keys','Users','6kSLaxm','timeZone','getDataSetValues','collaboration_features','timezone','data','comments','image','comment_threads','resolvedOptions','13121598sWieqe','getDefaultValues','$labels','map','length','name','18xekkYv','get','MergeFieldsEditing','plugins'];_0x4f9f=function(){return _0x2d2884;};return _0x4f9f();}export function getConverterOptionsV2(_0x4dabed,_0x5ef302={}){const _0x14fa45=_0x2228,_0xaefd76=_0x4dabed[_0x14fa45(0x90)][_0x14fa45(0x9c)](_0x14fa45(0xb6)),_0x13457c=_0x4dabed[_0x14fa45(0x90)][_0x14fa45(0x9c)](_0x14fa45(0x96)),_0x3422d5=_0x4dabed[_0x14fa45(0x90)][_0x14fa45(0x9c)](_0x14fa45(0x9f)),_0x148222=_0x4dabed[_0x14fa45(0x90)][_0x14fa45(0x9c)](_0x14fa45(0xa3)),_0x5c98bd=_0x4dabed[_0x14fa45(0xa7)][_0x14fa45(0xa6)],_0x35dbfa=_0x5ef302,_0x304317={};if(_0x35dbfa[_0x14fa45(0xb1)]=_0x35dbfa[_0x14fa45(0xb1)]||{},_0x35dbfa[_0x14fa45(0xb1)][_0x14fa45(0xa1)]=_0x35dbfa[_0x14fa45(0xb1)][_0x14fa45(0xa1)]||_0x5c98bd,_0xaefd76&&_0x13457c){const _0x5300ce=getCommentsV2(_0x4dabed[_0x14fa45(0x90)][_0x14fa45(0xc8)](_0x14fa45(0x96))[_0x14fa45(0x93)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x5300ce[_0x14fa45(0xc5)]&&(_0x304317[_0x14fa45(0xbf)]=_0x5300ce);}if(_0xaefd76&&_0x3422d5){const _0x31e5fb=_0x4dabed[_0x14fa45(0x90)][_0x14fa45(0xc8)](_0x14fa45(0x9f)),_0x236b37=_0x4dabed[_0x14fa45(0x90)][_0x14fa45(0xc8)](_0x14fa45(0xb6)),_0x18058d=getSuggestionsV2(_0x31e5fb[_0x14fa45(0x91)]({'toJSON':!0x0}),_0x236b37[_0x14fa45(0x97)]);_0x18058d[_0x14fa45(0xc5)]&&(_0x304317[_0x14fa45(0xb2)]=_0x18058d);}if(_0x148222){const _0x454967=_0x4dabed[_0x14fa45(0x90)][_0x14fa45(0xc8)](_0x14fa45(0xc9)),_0x3a0601=_0x454967[_0x14fa45(0x9b)],{prefix:_0x24d18d,suffix:_0x504423}=_0x4dabed[_0x14fa45(0xac)][_0x14fa45(0xc8)](_0x14fa45(0x99));if(_0x35dbfa[_0x14fa45(0xaa)]={'prefix':_0x24d18d,'suffix':_0x504423},_0x14fa45(0xc3)!==_0x3a0601){_0x35dbfa[_0x14fa45(0xaa)][_0x14fa45(0xbc)]={};const _0x4c3bdd=_0x14fa45(0xa8),_0x158e76=_0x14fa45(0xa9)===_0x3a0601?_0x454967[_0x14fa45(0xc2)]():_0x454967[_0x14fa45(0xb9)](_0x3a0601,!0x0);for(const _0x1658ce of Object[_0x14fa45(0xad)](_0x158e76)){const [_0x52ae38,_0x25edb1]=_0x1658ce;_0x14fa45(0xbe)===_0x454967[_0x14fa45(0x9a)](_0x52ae38)?_0x35dbfa[_0x14fa45(0xaa)][_0x14fa45(0xbc)][_0x52ae38]=null!==_0x25edb1?_0x25edb1:_0x4c3bdd:_0x35dbfa[_0x14fa45(0xaa)][_0x14fa45(0xbc)][_0x52ae38]=null!==_0x25edb1?_0x25edb1:_0x454967[_0x14fa45(0xae)](_0x52ae38)||_0x52ae38;}}}return(_0x304317[_0x14fa45(0xbf)]||_0x304317[_0x14fa45(0xb2)])&&(_0x35dbfa[_0x14fa45(0xbb)]=new Intl[(_0x14fa45(0x9e))]()[_0x14fa45(0xc0)]()[_0x14fa45(0xb8)],_0x35dbfa[_0x14fa45(0xba)]=_0x304317),_0x35dbfa;}export function getCommentsV2(_0x2e6b7d){const _0x2f1333=_0x2228,_0x1d7ac0=[];if(!_0x2e6b7d[_0x2f1333(0xc5)])return _0x1d7ac0;for(const _0x46f84c of _0x2e6b7d){const _0x4c27f8=_0x46f84c[_0x2f1333(0xbd)][_0x2f1333(0xc4)](_0x232416=>({'author':_0x232416[_0x2f1333(0x98)][_0x2f1333(0xc6)],'content':_0x232416[_0x2f1333(0x94)],'created_at':_0x232416[_0x2f1333(0xb3)]}));_0x1d7ac0[_0x2f1333(0xa5)]({'thread_id':_0x46f84c['id'],'is_resolved':_0x46f84c[_0x2f1333(0x9d)],'comments':_0x4c27f8});}return _0x1d7ac0;}export function getSuggestionsV2(_0x480794,_0x12a791){const _0x3857d4=_0x2228;return _0x480794[_0x3857d4(0xc5)]&&_0x12a791[_0x3857d4(0xc5)]?_0x480794[_0x3857d4(0xc4)](({id:_0x2413bb,createdAt:_0x3b53dc,authorId:_0x1b7451,attributes:_0x266695})=>{const _0x4389ef=_0x3857d4,_0x372a63=_0x266695&&_0x266695[_0x4389ef(0xaf)];return{'id':_0x2413bb,'author':_0x372a63?_0x372a63[_0x4389ef(0x95)]:_0x12a791[_0x4389ef(0xc8)](_0x1b7451)[_0x4389ef(0xc6)],'created_at':_0x3b53dc};}):[];}