@ckeditor/ckeditor5-export-word 45.2.1-alpha.9 → 46.0.0-alpha.0

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 (160) 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.d.ts +2 -2
  151. package/src/exportword.js +1 -1
  152. package/src/exportwordcommand.d.ts +1 -1
  153. package/src/exportwordcommand.js +1 -1
  154. package/src/exportwordui.d.ts +1 -1
  155. package/src/exportwordui.js +1 -1
  156. package/src/index.d.ts +4 -2
  157. package/src/index.js +1 -1
  158. package/src/utils/common-translations.js +1 -1
  159. package/src/utils.d.ts +1 -48
  160. 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": "45.2.1-alpha.9",
3
+ "version": "46.0.0-alpha.0",
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": "45.2.1-alpha.9",
34
- "@ckeditor/ckeditor5-collaboration-core": "45.2.1-alpha.9",
35
- "@ckeditor/ckeditor5-comments": "45.2.1-alpha.9",
36
- "@ckeditor/ckeditor5-core": "45.2.1-alpha.9",
37
- "@ckeditor/ckeditor5-icons": "45.2.1-alpha.9",
38
- "@ckeditor/ckeditor5-merge-fields": "45.2.1-alpha.9",
39
- "@ckeditor/ckeditor5-track-changes": "45.2.1-alpha.9",
40
- "@ckeditor/ckeditor5-utils": "45.2.1-alpha.9",
41
- "@ckeditor/ckeditor5-ui": "45.2.1-alpha.9",
42
- "ckeditor5": "45.2.1-alpha.9"
33
+ "@ckeditor/ckeditor5-cloud-services": "46.0.0-alpha.0",
34
+ "@ckeditor/ckeditor5-collaboration-core": "46.0.0-alpha.0",
35
+ "@ckeditor/ckeditor5-comments": "46.0.0-alpha.0",
36
+ "@ckeditor/ckeditor5-core": "46.0.0-alpha.0",
37
+ "@ckeditor/ckeditor5-icons": "46.0.0-alpha.0",
38
+ "@ckeditor/ckeditor5-merge-fields": "46.0.0-alpha.0",
39
+ "@ckeditor/ckeditor5-track-changes": "46.0.0-alpha.0",
40
+ "@ckeditor/ckeditor5-utils": "46.0.0-alpha.0",
41
+ "@ckeditor/ckeditor5-ui": "46.0.0-alpha.0",
42
+ "ckeditor5": "46.0.0-alpha.0"
43
43
  },
44
44
  "license": "SEE LICENSE IN LICENSE.md",
45
45
  "author": "CKSource (https://cksource.com/)",
@@ -9,7 +9,7 @@
9
9
  import { Plugin, type Editor } from 'ckeditor5/src/core.js';
10
10
  import { Notification } from 'ckeditor5/src/ui.js';
11
11
  import type { InitializedToken, TokenUrl } from '@ckeditor/ckeditor5-cloud-services';
12
- import ExportWordUI from './exportwordui.js';
12
+ import { ExportWordUI } from './exportwordui.js';
13
13
  /**
14
14
  * The export to Word feature.
15
15
  *
@@ -17,7 +17,7 @@ import ExportWordUI from './exportwordui.js';
17
17
  *
18
18
  * For a detailed overview, check the {@glink features/converters/export-word export to Word} feature documentation.
19
19
  */
20
- export default class ExportWord extends Plugin {
20
+ export declare class ExportWord extends Plugin {
21
21
  /**
22
22
  * @inheritDoc
23
23
  */
package/src/exportword.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc7306b=_0x41a0;function _0x883d(){const _0x2b77c8=['pluginName','295YCRqdD','tokenUrl','plugins','833975HJOnLW','token','exportWord','121154erwQzo','4436604eOmqTp','_token','622280uAjzTz','3914877zxkTEN','ExportWord','editor','get','init','316XPmLRs','config','isPremiumPlugin','add','registerTokenUrl','6lJTtrh','isOfficialPlugin','then','requires','CloudServices','2228198oGXbPi','commands'];_0x883d=function(){return _0x2b77c8;};return _0x883d();}(function(_0x3da890,_0xdc65ab){const _0x16aadd=_0x41a0,_0x256539=_0x3da890();while(!![]){try{const _0x23be34=-parseInt(_0x16aadd(0xa4))/0x1+-parseInt(_0x16aadd(0x8b))/0x2+parseInt(_0x16aadd(0x8f))/0x3+-parseInt(_0x16aadd(0x94))/0x4*(-parseInt(_0x16aadd(0xa1))/0x5)+-parseInt(_0x16aadd(0x99))/0x6*(parseInt(_0x16aadd(0x9e))/0x7)+parseInt(_0x16aadd(0x8e))/0x8+parseInt(_0x16aadd(0x8c))/0x9;if(_0x23be34===_0xdc65ab)break;else _0x256539['push'](_0x256539['shift']());}catch(_0x101f36){_0x256539['push'](_0x256539['shift']());}}}(_0x883d,0xa2f67));import{Plugin as _0x2d12ba}from'ckeditor5/src/core.js';import{Notification as _0x5032e3}from'ckeditor5/src/ui.js';function _0x41a0(_0x515561,_0x72fae5){const _0x883d2a=_0x883d();return _0x41a0=function(_0x41a0e9,_0x261b46){_0x41a0e9=_0x41a0e9-0x89;let _0x375f52=_0x883d2a[_0x41a0e9];return _0x375f52;},_0x41a0(_0x515561,_0x72fae5);}import _0x17ecaa from'./exportwordcommand.js';import _0x5da3dc from'./exportwordui.js';export default class s extends _0x2d12ba{[_0xc7306b(0x8d)];static get[_0xc7306b(0xa0)](){const _0x583597=_0xc7306b;return _0x583597(0x90);}static get[_0xc7306b(0x9a)](){return!0x0;}static get[_0xc7306b(0x96)](){return!0x0;}static get[_0xc7306b(0x9c)](){const _0x248161=_0xc7306b;return[_0x248161(0x9d),_0x5032e3,_0x5da3dc];}[_0xc7306b(0x93)](){const _0x3d1bd1=_0xc7306b,_0x2d7b85=this[_0x3d1bd1(0x91)],_0x2457e8=_0x2d7b85[_0x3d1bd1(0x95)][_0x3d1bd1(0x92)](_0x3d1bd1(0x8a))||{};_0x2d7b85[_0x3d1bd1(0x9f)][_0x3d1bd1(0x97)](_0x3d1bd1(0x8a),new _0x17ecaa(_0x2d7b85));const _0x4e43c8=_0x2d7b85[_0x3d1bd1(0xa3)][_0x3d1bd1(0x92)](_0x3d1bd1(0x9d));!0x1===_0x2457e8[_0x3d1bd1(0xa2)]?this[_0x3d1bd1(0x8d)]=null:_0x2457e8[_0x3d1bd1(0xa2)]?_0x4e43c8[_0x3d1bd1(0x98)](_0x2457e8[_0x3d1bd1(0xa2)])[_0x3d1bd1(0x9b)](_0x40a412=>{const _0x38f1bc=_0x3d1bd1;this[_0x38f1bc(0x8d)]=_0x40a412;}):this[_0x3d1bd1(0x8d)]=_0x4e43c8[_0x3d1bd1(0x89)];}}
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)];}}
@@ -14,7 +14,7 @@ import type { ExportWordConfig } from './exportword.js';
14
14
  * It takes the editor's HTML and CSS rules from the document and sends them to the HTML to Word converter.
15
15
  * After processing, the converter will send back a Word file for download.
16
16
  */
17
- export default class ExportWordCommand extends Command {
17
+ export declare class ExportWordCommand extends Command {
18
18
  /**
19
19
  * A command state that indicates if the command is currently executing.
20
20
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xb5e9(_0x4c9896,_0x252fed){const _0x5f2bf9=_0x5f2b();return _0xb5e9=function(_0xb5e986,_0x30af5d){_0xb5e986=_0xb5e986-0x142;let _0x48641c=_0x5f2bf9[_0xb5e986];return _0x48641c;},_0xb5e9(_0x4c9896,_0x252fed);}const _0x3fe059=_0xb5e9;(function(_0x33f6fa,_0x4df2c2){const _0x148783=_0xb5e9,_0x4d7ce3=_0x33f6fa();while(!![]){try{const _0x5883d7=parseInt(_0x148783(0x15c))/0x1+parseInt(_0x148783(0x17e))/0x2*(parseInt(_0x148783(0x157))/0x3)+-parseInt(_0x148783(0x193))/0x4*(-parseInt(_0x148783(0x169))/0x5)+-parseInt(_0x148783(0x188))/0x6*(-parseInt(_0x148783(0x164))/0x7)+-parseInt(_0x148783(0x14d))/0x8+-parseInt(_0x148783(0x160))/0x9*(parseInt(_0x148783(0x16a))/0xa)+parseInt(_0x148783(0x171))/0xb*(-parseInt(_0x148783(0x165))/0xc);if(_0x5883d7===_0x4df2c2)break;else _0x4d7ce3['push'](_0x4d7ce3['shift']());}catch(_0x1cb18c){_0x4d7ce3['push'](_0x4d7ce3['shift']());}}}(_0x5f2b,0x2c3c7));function _0x5f2b(){const _0x5ae6ed=['createObjectURL','refresh','format','locale','1022056hROfzh','blob','execute','announce','https://docx-converter.cke-cs.com/v1/convert','version','affectsData','converterOptions','remove','</div>','9KopQdW','_token','POST','orientation','function','287341FxFckQ','plugins','margin_bottom','status','9CouIxb','dataCallback','https://docx-converter.cke-cs.com/v2/convert/html-docx','then','77917yqWfqF','8283684kmKUDM','footer','fileName','assertive','53135UxGguI','157630KlkMRC','editor','suggestions','converterUrl','get','margin_top','download','11WrlTrS','stringify','margin_left','pending','data','URL','ExportWord','<div\x20class=\x22ck-content\x22\x20dir=\x22','href','margin_right','Word\x20document\x20export\x20successful','isEnabled','isBusy','177146nkhdhk','auto_pagination','fetch','createElement','_downloadFile','ariaLiveAnnouncer','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','application/json','document.docx','click','186hOeUkx','set','application/docx','comments','catch','stylesheets','export-word-v1-api-is-deprecated','finally','options','header','showWarning','44YCNXtl','Notification','EDITOR_STYLES','contentLanguageDirection','config','Word\x20document\x20export\x20started','Word\x20document\x20export\x20failed','value','token'];_0x5f2b=function(){return _0x5ae6ed;};return _0x5f2b();}import{Command as _0x19afc5}from'ckeditor5/src/core.js';import{logWarning as _0x297aaf,collectStylesheets as _0x183d33}from'ckeditor5/src/utils.js';import{getConverterOptions as _0x4a7452,getConverterOptionsV2 as _0x4bbb6c}from'./utils.js';import{getTranslation as _0x1775db}from'./utils/common-translations.js';const h=[_0x3fe059(0x15a),_0x3fe059(0x16f),_0x3fe059(0x17a),_0x3fe059(0x15e),_0x3fe059(0x173),_0x3fe059(0x14b),_0x3fe059(0x191),_0x3fe059(0x166),_0x3fe059(0x18b),_0x3fe059(0x16c)];export default class i extends _0x19afc5{constructor(_0x5ef906){const _0x616426=_0x3fe059;super(_0x5ef906),this[_0x616426(0x189)](_0x616426(0x17d),!0x1),this[_0x616426(0x153)]=!0x1;}[_0x3fe059(0x14a)](){const _0x50f4a8=_0x3fe059;this[_0x50f4a8(0x17c)]=!this[_0x50f4a8(0x17d)],this[_0x50f4a8(0x147)]=this[_0x50f4a8(0x17d)]?_0x50f4a8(0x174):void 0x0;}[_0x3fe059(0x14f)](_0x404b36={}){const _0x1ae8aa=_0x3fe059,_0x498890=this[_0x1ae8aa(0x16b)],_0x44be31=_0x404b36[_0x1ae8aa(0x152)]||0x2,_0x338095=0x1===_0x44be31,_0x4f74ca=_0x404b36[_0x1ae8aa(0x16d)]||(_0x338095?_0x1ae8aa(0x151):_0x1ae8aa(0x162)),_0x324ddf=_0x404b36[_0x1ae8aa(0x154)]||{},_0x367484=_0x498890[_0x1ae8aa(0x15d)][_0x1ae8aa(0x16e)](_0x1ae8aa(0x177)),_0x555642=_0x404b36[_0x1ae8aa(0x148)]||_0x367484[_0x1ae8aa(0x158)],_0x28f4aa=!0x0===_0x324ddf[_0x1ae8aa(0x17f)],_0xd57104=_0x404b36[_0x1ae8aa(0x161)]||(_0x26800c=>_0x26800c[_0x1ae8aa(0x175)][_0x1ae8aa(0x16e)]({'pagination':_0x28f4aa}));return 0x2===_0x44be31&&function(_0x8be187){for(const _0x4ad654 of h)if(void 0x0!==_0x8be187[_0x4ad654])return!0x0;return!0x1;}(_0x324ddf)&&_0x297aaf(_0x1ae8aa(0x18e)),this[_0x1ae8aa(0x17d)]=!0x0,this[_0x1ae8aa(0x14a)](),_0x183d33(_0x404b36[_0x1ae8aa(0x18d)]||[_0x1ae8aa(0x142)])[_0x1ae8aa(0x163)](async _0x105494=>{const _0x18d4e9=_0x1ae8aa;_0x498890['ui'][_0x18d4e9(0x183)][_0x18d4e9(0x150)](_0x1775db(_0x498890[_0x18d4e9(0x14c)],_0x18d4e9(0x145)));const _0xd98f03=await _0xd57104(_0x498890),_0x4f25e6={'html':_0x18d4e9(0x178)+_0x498890[_0x18d4e9(0x14c)][_0x18d4e9(0x143)]+'\x22>'+_0xd98f03+_0x18d4e9(0x156),'css':_0x105494,[_0x338095?_0x18d4e9(0x190):_0x18d4e9(0x144)]:{..._0x324ddf,..._0x338095?_0x4a7452(_0x498890,_0x324ddf):_0x4bbb6c(_0x498890,_0x324ddf)}},_0x26f5c8={'method':_0x18d4e9(0x159),'headers':{'Content-Type':_0x18d4e9(0x185),'Accept':_0x18d4e9(0x18a),..._0x555642?{'Authorization':_0x555642[_0x18d4e9(0x147)]}:null},'body':JSON[_0x18d4e9(0x172)](_0x4f25e6)};return window[_0x18d4e9(0x180)](_0x4f74ca,_0x26f5c8)[_0x18d4e9(0x163)](_0x4e2fa4=>{const _0x5ed519=_0x18d4e9;if(0xc8!==_0x4e2fa4[_0x5ed519(0x15f)])throw _0x4e2fa4;return _0x4e2fa4[_0x5ed519(0x14e)]();})[_0x18d4e9(0x163)](_0x2baef8=>{const _0x2ae5a8=_0x18d4e9;_0x498890['ui'][_0x2ae5a8(0x183)][_0x2ae5a8(0x150)](_0x1775db(_0x498890[_0x2ae5a8(0x14c)],_0x2ae5a8(0x17b)));const _0x15baac=_0x2ae5a8(0x15b)==typeof _0x404b36[_0x2ae5a8(0x167)]?_0x404b36[_0x2ae5a8(0x167)]():_0x404b36[_0x2ae5a8(0x167)];this[_0x2ae5a8(0x182)](_0x2baef8,_0x15baac||_0x2ae5a8(0x186));});})[_0x1ae8aa(0x18c)](_0x19ad02=>{const _0x99a61c=_0x1ae8aa,_0x4421ef=_0x498890[_0x99a61c(0x15d)][_0x99a61c(0x16e)](_0x99a61c(0x194));throw _0x498890['ui'][_0x99a61c(0x183)][_0x99a61c(0x150)](_0x1775db(_0x498890[_0x99a61c(0x14c)],_0x99a61c(0x146)),{'politeness':_0x99a61c(0x168)}),_0x4421ef[_0x99a61c(0x192)](_0x1775db(_0x498890[_0x99a61c(0x14c)],_0x99a61c(0x184))),_0x19ad02;})[_0x1ae8aa(0x18f)](()=>{const _0x4835c2=_0x1ae8aa;this[_0x4835c2(0x17d)]=!0x1,this[_0x4835c2(0x14a)]();});}[_0x3fe059(0x182)](_0x21674e,_0x5caf3e){const _0x433694=_0x3fe059,_0x424900=document[_0x433694(0x181)]('a');_0x424900[_0x433694(0x179)]=window[_0x433694(0x176)][_0x433694(0x149)](_0x21674e),_0x424900[_0x433694(0x170)]=_0x5caf3e,_0x424900[_0x433694(0x187)](),_0x424900[_0x433694(0x155)]();}}
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)]();}}
@@ -11,7 +11,7 @@ import { Plugin } from 'ckeditor5/src/core.js';
11
11
  *
12
12
  * It introduces 'Export to Word' button in toolbar and menu bar.
13
13
  */
14
- export default class ExportWordUI extends Plugin {
14
+ export declare class ExportWordUI extends Plugin {
15
15
  /**
16
16
  * @inheritDoc
17
17
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3dfa97=_0x14a2;(function(_0x214748,_0x55a301){const _0x3db837=_0x14a2,_0x3d3d2e=_0x214748();while(!![]){try{const _0x117778=parseInt(_0x3db837(0x10d))/0x1*(-parseInt(_0x3db837(0x109))/0x2)+-parseInt(_0x3db837(0x112))/0x3+-parseInt(_0x3db837(0x10a))/0x4*(parseInt(_0x3db837(0x120))/0x5)+parseInt(_0x3db837(0x12b))/0x6+-parseInt(_0x3db837(0x119))/0x7+-parseInt(_0x3db837(0x10b))/0x8*(parseInt(_0x3db837(0x123))/0x9)+-parseInt(_0x3db837(0x131))/0xa*(-parseInt(_0x3db837(0x114))/0xb);if(_0x117778===_0x55a301)break;else _0x3d3d2e['push'](_0x3d3d2e['shift']());}catch(_0x115678){_0x3d3d2e['push'](_0x3d3d2e['shift']());}}}(_0x570e,0x2482d));import{Plugin as _0x24a352}from'ckeditor5/src/core.js';function _0x14a2(_0xfc3182,_0x1ad4d9){const _0x570e44=_0x570e();return _0x14a2=function(_0x14a24f,_0x294a2c){_0x14a24f=_0x14a24f-0x108;let _0xd3e1b4=_0x570e44[_0x14a24f];return _0xd3e1b4;},_0x14a2(_0xfc3182,_0x1ad4d9);}import{IconExportWord as _0x1628e5}from'ckeditor5/src/icons.js';import{ButtonView as _0x178389,MenuBarMenuListItemButtonView as _0x161480,SpinnerView as _0x2d2819}from'ckeditor5/src/ui.js';function _0x570e(){const _0x47e970=['view','_createButton','9724060aHYwWc','bind','20aGQSed','8HEqKro','84808nMSEqX','editing','15605LKNedi','isVisible','iconView','Export\x20to\x20Word','commands','147969ItVFmU','isBusy','11IZwQxb','add','editor','focus','listenTo','1881460zvttFJ','pluginName','Exporting\x20Word\x20document','exportWord','config','execute','children','737245GaAmwX','locale','label','207agiEwg','menuBar:exportWord','set','isOn','init','ExportWordUI','isOfficialPlugin','isPremiumPlugin','1140102HGWTgV','get','componentFactory','isEnabled'];_0x570e=function(){return _0x47e970;};return _0x570e();}import{getTranslation as _0x4b5f39}from'./utils/common-translations.js';export default class o extends _0x24a352{static get[_0x3dfa97(0x11a)](){const _0x2ceb46=_0x3dfa97;return _0x2ceb46(0x128);}static get[_0x3dfa97(0x129)](){return!0x0;}static get[_0x3dfa97(0x12a)](){return!0x0;}[_0x3dfa97(0x127)](){const _0x2fda51=_0x3dfa97,_0x5b7d61=this[_0x2fda51(0x116)];_0x5b7d61['ui'][_0x2fda51(0x12d)][_0x2fda51(0x115)](_0x2fda51(0x11c),()=>{const _0x4f57cd=_0x2fda51,_0x33dd94=_0x5b7d61[_0x4f57cd(0x111)][_0x4f57cd(0x12c)](_0x4f57cd(0x11c)),_0x3cd046=this[_0x4f57cd(0x130)](_0x178389);return _0x3cd046[_0x4f57cd(0x125)]({'tooltip':!0x0}),_0x3cd046[_0x4f57cd(0x108)](_0x4f57cd(0x126))['to'](_0x33dd94,_0x4f57cd(0x113)),_0x3cd046;}),_0x5b7d61['ui'][_0x2fda51(0x12d)][_0x2fda51(0x115)](_0x2fda51(0x124),()=>this[_0x2fda51(0x130)](_0x161480));}[_0x3dfa97(0x130)](_0x535d0b){const _0x3103c8=_0x3dfa97,_0x3b4c05=this[_0x3103c8(0x116)],_0xbe703b=_0x3b4c05[_0x3103c8(0x11d)][_0x3103c8(0x12c)](_0x3103c8(0x11c))||{},_0x4dd362=_0x3b4c05[_0x3103c8(0x111)][_0x3103c8(0x12c)](_0x3103c8(0x11c)),_0x2ad785=new _0x535d0b(_0x3b4c05[_0x3103c8(0x121)]),_0x572c7a=new _0x2d2819();return _0x2ad785[_0x3103c8(0x11f)][_0x3103c8(0x115)](_0x572c7a),_0x572c7a[_0x3103c8(0x108)](_0x3103c8(0x10e))['to'](_0x4dd362,_0x3103c8(0x113)),_0x2ad785[_0x3103c8(0x10f)][_0x3103c8(0x108)](_0x3103c8(0x10e))['to'](_0x4dd362,_0x3103c8(0x113),_0x20a524=>!_0x20a524),_0x2ad785[_0x3103c8(0x125)]({'icon':_0x1628e5}),_0x2ad785[_0x3103c8(0x108)](_0x3103c8(0x12e))['to'](_0x4dd362,_0x3103c8(0x12e)),_0x2ad785[_0x3103c8(0x108)](_0x3103c8(0x122))['to'](_0x4dd362,_0x3103c8(0x113),_0x4630e4=>_0x4b5f39(_0x3b4c05[_0x3103c8(0x121)],_0x4630e4?_0x3103c8(0x11b):_0x3103c8(0x110))),this[_0x3103c8(0x118)](_0x2ad785,_0x3103c8(0x11e),()=>{const _0x5328da=_0x3103c8;_0x3b4c05[_0x5328da(0x11e)](_0x5328da(0x11c),_0xbe703b),_0x3b4c05[_0x5328da(0x10c)][_0x5328da(0x12f)][_0x5328da(0x117)]();}),_0x2ad785;}}
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;}}
package/src/index.d.ts CHANGED
@@ -5,6 +5,8 @@
5
5
  /**
6
6
  * @module export-word
7
7
  */
8
- export { default as ExportWord, type ExportWordConfig } from './exportword.js';
9
- export type { default as ExportWordCommand } from './exportwordcommand.js';
8
+ export { ExportWord, type ExportWordConfig, type ExportWordConverterOptions, type ExportWordConverterFormatOption, type ExportWordConverterOrientationOption, type ExportWordConverterHeaderFooterOption, type ExportWordConverterCommentsOption, type ExportWordConverterSuggestionsOption, type ExportWordConverterOptionsV2, type ExportWordConverterDocumentOptionsV2, type ExportWordConverterMarginsOptionsV2, type ExportWordConverterHeaderFooterOptionsV2, type ExportWordConverterWatermarkV2, type ExportWordConverterExtraHttpHeaders, type ExportWordConverterExtraHttpHeadersHeader, type ExportWordConverterHeaderFooterItemOptionsV2, type ExportWordConverterOrientationOptionsV2, type ExportWordConverterFormatOptionsV2, type ExportWordConverterPredifinedFormatOptionsV2, type ExportWordConverterCustomFormatOptionsV2 } from './exportword.js';
9
+ export { ExportWordCommand } from './exportwordcommand.js';
10
+ export type { ExportWordConverterInternalOptions as _ExportWordConverterInternalOptions, ExportWordConverterInternalOptionsV2 as _ExportWordConverterInternalOptionsV2, ExportWordConverterCollaborationFeaturesOptionsV2 as _ExportWordConverterCollaborationFeaturesOptionsV2, ExportWordConverterCommentsThreadOptionsV2 as _ExportWordConverterCommentsThreadOptionsV2, ExportWordConverterCommentsV2 as _ExportWordConverterCommentsV2, ExportWordConverterSuggestionsOptionsV2 as _ExportWordConverterSuggestionsOptionsV2, ExportWordConverterMergeFieldsOptionsV2 as _ExportWordConverterMergeFieldsOptionsV2 } from './exportword.js';
11
+ export { getConverterOptions as _getExportWordConverterOptionsV1, getConverterOptionsV2 as _getExportWordConverterOptionsV2, getComments as _getExportWordComments, getCommentsV2 as _getExportWordCommentsV2, getSuggestions as _getExportWordSuggestions, getSuggestionsV2 as _getExportWordSuggestionsV2 } from './utils.js';
10
12
  import './augmentation.js';
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4515d6,_0xba3268){var _0x645d3a=_0x2b69,_0x485f10=_0x4515d6();while(!![]){try{var _0x22c676=parseInt(_0x645d3a(0x1fc))/0x1+parseInt(_0x645d3a(0x1fd))/0x2*(parseInt(_0x645d3a(0x1f8))/0x3)+parseInt(_0x645d3a(0x1fa))/0x4*(parseInt(_0x645d3a(0x1fe))/0x5)+parseInt(_0x645d3a(0x1fb))/0x6*(parseInt(_0x645d3a(0x1f6))/0x7)+parseInt(_0x645d3a(0x1f5))/0x8+parseInt(_0x645d3a(0x1f4))/0x9*(parseInt(_0x645d3a(0x1f9))/0xa)+-parseInt(_0x645d3a(0x1f7))/0xb;if(_0x22c676===_0xba3268)break;else _0x485f10['push'](_0x485f10['shift']());}catch(_0x22b227){_0x485f10['push'](_0x485f10['shift']());}}}(_0x280a,0xcef2e));export{default as ExportWord}from'./exportword.js';import'./augmentation.js';function _0x2b69(_0x213e18,_0xffbdac){var _0x280aa4=_0x280a();return _0x2b69=function(_0x2b695d,_0x1a824d){_0x2b695d=_0x2b695d-0x1f4;var _0x10f2f9=_0x280aa4[_0x2b695d];return _0x10f2f9;},_0x2b69(_0x213e18,_0xffbdac);}function _0x280a(){var _0x3aaa7e=['4418948whgIDs','9606078bvwMxw','988549ANZPXe','274YZKMzW','5HCdOeW','2562534ueqjVn','7227728VADCZB','7NIctCH','51799506aLVfqw','8529IFLuak','20ZxXjPk'];_0x280a=function(){return _0x3aaa7e;};return _0x280a();}
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';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x11b2d3,_0x21055c){const t=_0x11b2d3['t'];switch(_0x21055c){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 _0x21055c;}}
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;}}
package/src/utils.d.ts CHANGED
@@ -2,51 +2,4 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- import type { Editor } from 'ckeditor5/src/core.js';
6
- import type { Collection } from 'ckeditor5/src/utils.js';
7
- import type { ExportWordConverterOptions, ExportWordConverterInternalOptions, ExportWordConverterCommentsOption, ExportWordConverterSuggestionsOption, ExportWordConverterCommentsThreadOptionsV2, ExportWordConverterOptionsV2, ExportWordConverterInternalOptionsV2, ExportWordConverterSuggestionsOptionsV2 } from './exportword.js';
8
- import type { CommentThread } from '@ckeditor/ckeditor5-comments';
9
- import type { SuggestionJSON } from '@ckeditor/ckeditor5-track-changes';
10
- import type { User } from '@ckeditor/ckeditor5-collaboration-core';
11
- /**
12
- * A helper function for getting a proper options object containing
13
- * comments, suggestions and the browser's timezone for the "Export to Word" converter.
14
- *
15
- * @param editor An editor instance.
16
- * @param converterOptionsFromConfig Converter options passed through `editor.config.exportWord.converterOptions`.
17
- */
18
- export declare function getConverterOptions(editor: Editor, converterOptionsFromConfig?: ExportWordConverterOptions): ExportWordConverterInternalOptions;
19
- /**
20
- * A helper function for getting a comments object for the converter options.
21
- *
22
- * @param threads The comment threads array.
23
- */
24
- export declare function getComments(threads: Array<CommentThread>): ExportWordConverterCommentsOption;
25
- /**
26
- * A helper function for getting a suggestions object for the converter options.
27
- *
28
- * @param suggestions The suggestions array.
29
- * @param users A list of all users in the editor.
30
- */
31
- export declare function getSuggestions(suggestions: Array<SuggestionJSON>, users: Collection<User>): ExportWordConverterSuggestionsOption;
32
- /**
33
- * A helper function for getting a proper options object containing
34
- * comments, suggestions and the browser's timezone for the "Export to Word" converter for V2 API.
35
- *
36
- * @param editor An editor instance.
37
- * @param converterOptionsFromConfig Converter options passed through `editor.config.exportWord.converterOptions`.
38
- */
39
- export declare function getConverterOptionsV2(editor: Editor, converterOptionsFromConfig?: ExportWordConverterOptionsV2): ExportWordConverterInternalOptionsV2;
40
- /**
41
- * A helper function for getting a comments object for the converter options in V2 API.
42
- *
43
- * @param threads The comment threads array.
44
- */
45
- export declare function getCommentsV2(threads: Array<CommentThread>): ExportWordConverterCommentsThreadOptionsV2;
46
- /**
47
- * A helper function for getting a suggestions object for the converter options in V2 API.
48
- *
49
- * @param suggestions The suggestions array.
50
- * @param users A list of all users in the editor.
51
- */
52
- export declare function getSuggestionsV2(suggestions: Array<SuggestionJSON>, users: Collection<User>): ExportWordConverterSuggestionsOptionsV2;
5
+ export {};
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x590805,_0x5deba7){const _0x5283ef=_0x4e28,_0x34a118=_0x590805();while(!![]){try{const _0x36b4cf=parseInt(_0x5283ef(0x13c))/0x1+parseInt(_0x5283ef(0x127))/0x2+parseInt(_0x5283ef(0x13f))/0x3+parseInt(_0x5283ef(0x11f))/0x4+parseInt(_0x5283ef(0x123))/0x5+-parseInt(_0x5283ef(0x134))/0x6*(-parseInt(_0x5283ef(0x149))/0x7)+-parseInt(_0x5283ef(0x13a))/0x8*(parseInt(_0x5283ef(0x122))/0x9);if(_0x36b4cf===_0x5deba7)break;else _0x34a118['push'](_0x34a118['shift']());}catch(_0x46823e){_0x34a118['push'](_0x34a118['shift']());}}}(_0x14c8,0xc6584));export function getConverterOptions(_0x3d5d5b,_0x5dca6e={}){const _0x398a33=_0x4e28,_0x199e82=_0x3d5d5b[_0x398a33(0x136)][_0x398a33(0x13e)](_0x398a33(0x135)),_0x2dba28=_0x3d5d5b[_0x398a33(0x136)][_0x398a33(0x13e)](_0x398a33(0x133)),_0x5c50a6=_0x3d5d5b[_0x398a33(0x136)][_0x398a33(0x13e)](_0x398a33(0x139)),_0x387d7b=_0x5dca6e;if(_0x199e82&&_0x2dba28){const _0x2a9821=getComments(_0x3d5d5b[_0x398a33(0x136)][_0x398a33(0x132)](_0x398a33(0x133))[_0x398a33(0x141)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x398a33(0x147)](_0x2a9821)[_0x398a33(0x126)]&&(_0x387d7b[_0x398a33(0x12b)]=_0x2a9821);}if(_0x199e82&&_0x5c50a6){const _0x44e34c=_0x3d5d5b[_0x398a33(0x136)][_0x398a33(0x132)](_0x398a33(0x139)),_0x445d7f=_0x3d5d5b[_0x398a33(0x136)][_0x398a33(0x132)](_0x398a33(0x135)),_0x2eb089=getSuggestions(_0x44e34c[_0x398a33(0x142)]({'toJSON':!0x0}),_0x445d7f[_0x398a33(0x131)]);Object[_0x398a33(0x147)](_0x2eb089)[_0x398a33(0x126)]&&(_0x387d7b[_0x398a33(0x148)]=_0x2eb089);}return(_0x387d7b[_0x398a33(0x148)]||_0x387d7b[_0x398a33(0x12b)])&&(_0x387d7b[_0x398a33(0x14e)]=new Intl[(_0x398a33(0x121))]()[_0x398a33(0x119)]()[_0x398a33(0x11d)]),_0x387d7b;}function _0x4e28(_0x25c329,_0x2ee552){const _0x14c83b=_0x14c8();return _0x4e28=function(_0x4e2806,_0x3cce07){_0x4e2806=_0x4e2806-0x119;let _0x3a1eb7=_0x14c83b[_0x4e2806];return _0x3a1eb7;},_0x4e28(_0x25c329,_0x2ee552);}function _0x14c8(){const _0x3b27ad=['getSuggestions','push','merge_fields','name','config','keys','suggestions','1661611mYLLaL','MergeFieldsEditing','author','locale','data','timezone','getMergeFieldType','comment_threads','image','resolvedOptions','isResolved','collaboration_features','document','timeZone','getLabel','5325072ohAsXD','entries','DateTimeFormat','16714377DsPwgz','2807035DqzfQS','createdAt','$defaultValues','length','2394254UtIdlj','authorName','contentLanguage','language','comments','mergeFields','getDefaultValues','@external','$labels','getDataSetValues','users','get','CommentsRepository','12aScdvR','Users','plugins','content','MergeFields','TrackChanges','16sxBUGW','previewMode','219593oGnnqC','map','has','2227755RCHOdg','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','getCommentThreads'];_0x14c8=function(){return _0x3b27ad;};return _0x14c8();}export function getComments(_0xacfe54){const _0x22d91d=_0x4e28,_0x4d479a={};if(!_0xacfe54[_0x22d91d(0x126)])return _0x4d479a;for(const _0x13bf80 of _0xacfe54)_0x13bf80[_0x22d91d(0x12b)][_0x22d91d(0x13d)](_0xa1a25f=>{const _0x1310e6=_0x22d91d;void 0x0===_0x4d479a[_0x13bf80['id']]&&(_0x4d479a[_0x13bf80['id']]=[]),_0x4d479a[_0x13bf80['id']][_0x1310e6(0x143)]({'author':_0xa1a25f[_0x1310e6(0x14b)][_0x1310e6(0x145)],'content':_0xa1a25f[_0x1310e6(0x137)],'created':_0xa1a25f[_0x1310e6(0x124)],'is_resolved':_0x13bf80[_0x1310e6(0x11a)]});});return _0x4d479a;}export function getSuggestions(_0x52a68e,_0x32da48){const _0x5ca418=_0x4e28,_0x34d132={};if(!_0x52a68e[_0x5ca418(0x126)]||!_0x32da48[_0x5ca418(0x126)])return _0x34d132;for(const {id:_0x139665,createdAt:_0x5144cc,authorId:_0x137147,attributes:_0x187ce3}of _0x52a68e){const _0x3bc4af=_0x187ce3&&_0x187ce3[_0x5ca418(0x12e)],_0x9c3702=_0x3bc4af?_0x3bc4af[_0x5ca418(0x128)]:_0x32da48[_0x5ca418(0x132)](_0x137147)[_0x5ca418(0x145)];_0x34d132[_0x139665]={'author':_0x9c3702,'created':_0x5144cc};}return _0x34d132;}export function getConverterOptionsV2(_0x4c7f8b,_0x28e5c0={}){const _0x55d7ad=_0x4e28,_0x24a4e4=_0x4c7f8b[_0x55d7ad(0x136)][_0x55d7ad(0x13e)](_0x55d7ad(0x135)),_0x1c2172=_0x4c7f8b[_0x55d7ad(0x136)][_0x55d7ad(0x13e)](_0x55d7ad(0x133)),_0x161642=_0x4c7f8b[_0x55d7ad(0x136)][_0x55d7ad(0x13e)](_0x55d7ad(0x139)),_0x4f5408=_0x4c7f8b[_0x55d7ad(0x136)][_0x55d7ad(0x13e)](_0x55d7ad(0x138)),_0x3023a8=_0x4c7f8b[_0x55d7ad(0x14c)][_0x55d7ad(0x129)],_0xfcbe7d=_0x28e5c0,_0x286731={};if(_0xfcbe7d[_0x55d7ad(0x11c)]=_0xfcbe7d[_0x55d7ad(0x11c)]||{},_0xfcbe7d[_0x55d7ad(0x11c)][_0x55d7ad(0x12a)]=_0xfcbe7d[_0x55d7ad(0x11c)][_0x55d7ad(0x12a)]||_0x3023a8,_0x24a4e4&&_0x1c2172){const _0x69c771=getCommentsV2(_0x4c7f8b[_0x55d7ad(0x136)][_0x55d7ad(0x132)](_0x55d7ad(0x133))[_0x55d7ad(0x141)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x69c771[_0x55d7ad(0x126)]&&(_0x286731[_0x55d7ad(0x150)]=_0x69c771);}if(_0x24a4e4&&_0x161642){const _0x5d61e1=_0x4c7f8b[_0x55d7ad(0x136)][_0x55d7ad(0x132)](_0x55d7ad(0x139)),_0x3c417a=_0x4c7f8b[_0x55d7ad(0x136)][_0x55d7ad(0x132)](_0x55d7ad(0x135)),_0x4c24bd=getSuggestionsV2(_0x5d61e1[_0x55d7ad(0x142)]({'toJSON':!0x0}),_0x3c417a[_0x55d7ad(0x131)]);_0x4c24bd[_0x55d7ad(0x126)]&&(_0x286731[_0x55d7ad(0x148)]=_0x4c24bd);}if(_0x4f5408){const _0x4952bb=_0x4c7f8b[_0x55d7ad(0x136)][_0x55d7ad(0x132)](_0x55d7ad(0x14a)),_0x542600=_0x4952bb[_0x55d7ad(0x13b)],{prefix:_0x17862,suffix:_0x2dd1c3}=_0x4c7f8b[_0x55d7ad(0x146)][_0x55d7ad(0x132)](_0x55d7ad(0x12c));if(_0xfcbe7d[_0x55d7ad(0x144)]={'prefix':_0x17862,'suffix':_0x2dd1c3},_0x55d7ad(0x12f)!==_0x542600){_0xfcbe7d[_0x55d7ad(0x144)][_0x55d7ad(0x14d)]={};const _0x46247e=_0x55d7ad(0x140),_0x366a4e=_0x55d7ad(0x125)===_0x542600?_0x4952bb[_0x55d7ad(0x12d)]():_0x4952bb[_0x55d7ad(0x130)](_0x542600,!0x0);for(const _0x350ccc of Object[_0x55d7ad(0x120)](_0x366a4e)){const [_0x122f55,_0x4cbecb]=_0x350ccc;_0x55d7ad(0x151)===_0x4952bb[_0x55d7ad(0x14f)](_0x122f55)?_0xfcbe7d[_0x55d7ad(0x144)][_0x55d7ad(0x14d)][_0x122f55]=null!==_0x4cbecb?_0x4cbecb:_0x46247e:_0xfcbe7d[_0x55d7ad(0x144)][_0x55d7ad(0x14d)][_0x122f55]=null!==_0x4cbecb?_0x4cbecb:_0x4952bb[_0x55d7ad(0x11e)](_0x122f55)||_0x122f55;}}}return(_0x286731[_0x55d7ad(0x150)]||_0x286731[_0x55d7ad(0x148)])&&(_0xfcbe7d[_0x55d7ad(0x14e)]=new Intl[(_0x55d7ad(0x121))]()[_0x55d7ad(0x119)]()[_0x55d7ad(0x11d)],_0xfcbe7d[_0x55d7ad(0x11b)]=_0x286731),_0xfcbe7d;}export function getCommentsV2(_0x425741){const _0x235e2d=_0x4e28,_0x2aea25=[];if(!_0x425741[_0x235e2d(0x126)])return _0x2aea25;for(const _0x4ddaa9 of _0x425741){const _0x4591c6=_0x4ddaa9[_0x235e2d(0x12b)][_0x235e2d(0x13d)](_0x34cad9=>({'author':_0x34cad9[_0x235e2d(0x14b)][_0x235e2d(0x145)],'content':_0x34cad9[_0x235e2d(0x137)],'created_at':_0x34cad9[_0x235e2d(0x124)]}));_0x2aea25[_0x235e2d(0x143)]({'thread_id':_0x4ddaa9['id'],'is_resolved':_0x4ddaa9[_0x235e2d(0x11a)],'comments':_0x4591c6});}return _0x2aea25;}export function getSuggestionsV2(_0x244aa1,_0x25aa05){const _0x33ae39=_0x4e28;return _0x244aa1[_0x33ae39(0x126)]&&_0x25aa05[_0x33ae39(0x126)]?_0x244aa1[_0x33ae39(0x13d)](({id:_0x367642,createdAt:_0x5a2900,authorId:_0x305f10,attributes:_0x3deff8})=>{const _0x4e6bf2=_0x33ae39,_0x354860=_0x3deff8&&_0x3deff8[_0x4e6bf2(0x12e)];return{'id':_0x367642,'author':_0x354860?_0x354860[_0x4e6bf2(0x128)]:_0x25aa05[_0x4e6bf2(0x132)](_0x305f10)[_0x4e6bf2(0x145)],'created_at':_0x5a2900};}):[];}
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};}):[];}