@ckeditor/ckeditor5-export-word 44.0.0-alpha.9 → 44.1.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.
- package/build/export-word.js +1 -1
- package/dist/augmentation.d.ts +1 -1
- package/dist/exportword.d.ts +1 -1
- package/dist/exportwordcommand.d.ts +1 -1
- package/dist/exportwordui.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/utils/common-translations.d.ts +1 -1
- package/dist/utils.d.ts +1 -1
- package/package.json +5 -5
- package/src/augmentation.d.ts +1 -1
- package/src/exportword.d.ts +1 -1
- package/src/exportword.js +1 -1
- package/src/exportwordcommand.d.ts +1 -1
- package/src/exportwordcommand.js +1 -1
- package/src/exportwordui.d.ts +1 -1
- package/src/exportwordui.js +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.d.ts +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils.d.ts +1 -1
- package/src/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x535281=>{const {'zh-cn':{dictionary:_0x5c2bb1,getPluralForm:_0x460de0}}={'zh-cn':{'dictionary':{'Export\x20to\x20Word':'导出Word文档','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'生成Word文档时发生了异常。','Word\x20document\x20export\x20started':'Word\x20文档导出开始','Word\x20document\x20export\x20failed':'Word\x20文档导出失败','Word\x20document\x20export\x20successful':'Word\x20文档导出成功','Exporting\x20Word\x20document':'正在导出\x20Word\x20文档'},'getPluralForm':_0x3d7b4a=>0x0}};_0x535281['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x535281['zh-cn']['dictionary']=Object['assign'](_0x535281['zh-cn']['dictionary'],_0x5c2bb1),_0x535281['zh-cn']['getPluralForm']=_0x460de0;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/zh.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh':{'dictionary':{'Export\x20to\x20Word':'匯出到\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'產生\x20Word\x20檔案時出錯。','Word\x20document\x20export\x20started':'Word\x20文件匯出開始','Word\x20document\x20export\x20failed':'Word\x20文件匯出失敗','Word\x20document\x20export\x20successful':'Word\x20文件匯出成功','Exporting\x20Word\x20document':'正在匯出\x20Word\x20文件'},'getPluralForm':
|
|
23
|
+
export default{'zh':{'dictionary':{'Export\x20to\x20Word':'匯出到\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'產生\x20Word\x20檔案時出錯。','Word\x20document\x20export\x20started':'Word\x20文件匯出開始','Word\x20document\x20export\x20failed':'Word\x20文件匯出失敗','Word\x20document\x20export\x20successful':'Word\x20文件匯出成功','Exporting\x20Word\x20document':'正在匯出\x20Word\x20文件'},'getPluralForm':_0xc4b8b0=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x44c85b=>{const {zh:{dictionary:_0x2687cd,getPluralForm:_0x1febb9}}={'zh':{'dictionary':{'Export\x20to\x20Word':'匯出到\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'產生\x20Word\x20檔案時出錯。','Word\x20document\x20export\x20started':'Word\x20文件匯出開始','Word\x20document\x20export\x20failed':'Word\x20文件匯出失敗','Word\x20document\x20export\x20successful':'Word\x20文件匯出成功','Exporting\x20Word\x20document':'正在匯出\x20Word\x20文件'},'getPluralForm':_0x56a260=>0x0}};_0x44c85b['zh']||={'dictionary':{},'getPluralForm':null},_0x44c85b['zh']['dictionary']=Object['assign'](_0x44c85b['zh']['dictionary'],_0x2687cd),_0x44c85b['zh']['getPluralForm']=_0x1febb9;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
/**
|
|
10
10
|
* @module export-word/utils/common-translations
|
package/dist/utils.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
import type { Editor } from 'ckeditor5/src/core.js';
|
|
10
10
|
import type { Collection } from 'ckeditor5/src/utils.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-export-word",
|
|
3
|
-
"version": "44.
|
|
3
|
+
"version": "44.1.0-alpha.0",
|
|
4
4
|
"description": "Export to Word feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"type": "module",
|
|
31
31
|
"main": "src/index.js",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@ckeditor/ckeditor5-core": "44.
|
|
34
|
-
"@ckeditor/ckeditor5-utils": "44.
|
|
35
|
-
"@ckeditor/ckeditor5-ui": "44.
|
|
36
|
-
"ckeditor5": "44.
|
|
33
|
+
"@ckeditor/ckeditor5-core": "44.1.0-alpha.0",
|
|
34
|
+
"@ckeditor/ckeditor5-utils": "44.1.0-alpha.0",
|
|
35
|
+
"@ckeditor/ckeditor5-ui": "44.1.0-alpha.0",
|
|
36
|
+
"ckeditor5": "44.1.0-alpha.0"
|
|
37
37
|
},
|
|
38
38
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
39
39
|
"author": "CKSource (https://cksource.com/)",
|
package/src/augmentation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import type { ExportWordConfig, ExportWord, ExportWordCommand } from './index.js';
|
|
6
6
|
declare module '@ckeditor/ckeditor5-core' {
|
package/src/exportword.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module export-word/exportword
|
package/src/exportword.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3290(){const _0x4a3f1c=['commands','then','requires','5266960KFsbMH','token','120pvaWfu','init','1990095uUYpDK','12mEhzTv','config','isOfficialPlugin','416430npdjXV','426108KpfRty','366640WhambN','plugins','add','exportWord','1329262RhgFZy','pluginName','isPremiumPlugin','ExportWord','4606176yAODvE','tokenUrl','get','18kGXmZM','registerTokenUrl','CloudServices','editor','_token'];_0x3290=function(){return _0x4a3f1c;};return _0x3290();}const _0x4d07dd=_0x5682;(function(_0x6e0b3d,_0x4dbf69){const _0x3547e0=_0x5682,_0x916e4f=_0x6e0b3d();while(!![]){try{const _0x48c091=-parseInt(_0x3547e0(0xda))/0x1+-parseInt(_0x3547e0(0xde))/0x2+-parseInt(_0x3547e0(0xd9))/0x3+parseInt(_0x3547e0(0xe2))/0x4+-parseInt(_0x3547e0(0xf1))/0x5*(-parseInt(_0x3547e0(0xf2))/0x6)+-parseInt(_0x3547e0(0xd8))/0x7*(-parseInt(_0x3547e0(0xef))/0x8)+-parseInt(_0x3547e0(0xe5))/0x9*(parseInt(_0x3547e0(0xed))/0xa);if(_0x48c091===_0x4dbf69)break;else _0x916e4f['push'](_0x916e4f['shift']());}catch(_0x47b7f7){_0x916e4f['push'](_0x916e4f['shift']());}}}(_0x3290,0x95b71));import{Plugin as _0x761795}from'ckeditor5/src/core.js';import{Notification as _0x28d5fa}from'ckeditor5/src/ui.js';function _0x5682(_0x32960b,_0x1277e2){const _0x329059=_0x3290();return _0x5682=function(_0x568288,_0x45254b){_0x568288=_0x568288-0xd7;let _0x2b8dc6=_0x329059[_0x568288];return _0x2b8dc6;},_0x5682(_0x32960b,_0x1277e2);}import _0x2b01c3 from'./exportwordcommand.js';import _0x3feeb8 from'./exportwordui.js';export default class s extends _0x761795{static get[_0x4d07dd(0xdf)](){const _0x4ff98f=_0x4d07dd;return _0x4ff98f(0xe1);}static get[_0x4d07dd(0xd7)](){return!0x0;}static get[_0x4d07dd(0xe0)](){return!0x0;}static get[_0x4d07dd(0xec)](){const _0x5368bd=_0x4d07dd;return[_0x5368bd(0xe7),_0x28d5fa,_0x3feeb8];}[_0x4d07dd(0xf0)](){const _0x48df90=_0x4d07dd,_0x351f68=this[_0x48df90(0xe8)],_0x239fe5=_0x351f68[_0x48df90(0xf3)][_0x48df90(0xe4)](_0x48df90(0xdd))||{};_0x351f68[_0x48df90(0xea)][_0x48df90(0xdc)](_0x48df90(0xdd),new _0x2b01c3(_0x351f68));const _0x2316fe=_0x351f68[_0x48df90(0xdb)][_0x48df90(0xe4)](_0x48df90(0xe7));!0x1===_0x239fe5[_0x48df90(0xe3)]?this[_0x48df90(0xe9)]=null:_0x239fe5[_0x48df90(0xe3)]?_0x2316fe[_0x48df90(0xe6)](_0x239fe5[_0x48df90(0xe3)])[_0x48df90(0xeb)](_0x458bf2=>{const _0x104540=_0x48df90;this[_0x104540(0xe9)]=_0x458bf2;}):this[_0x48df90(0xe9)]=_0x2316fe[_0x48df90(0xee)];}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module export-word/exportwordcommand
|
package/src/exportwordcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1326(_0x4ead64,_0x91a99c){const _0x493afc=_0x493a();return _0x1326=function(_0x13265f,_0x4dc572){_0x13265f=_0x13265f-0x1f4;let _0x16fe85=_0x493afc[_0x13265f];return _0x16fe85;},_0x1326(_0x4ead64,_0x91a99c);}const _0xd7ccb2=_0x1326;(function(_0x20199b,_0x512da9){const _0x6c2366=_0x1326,_0x502e49=_0x20199b();while(!![]){try{const _0x4ade32=parseInt(_0x6c2366(0x22d))/0x1+-parseInt(_0x6c2366(0x23f))/0x2+parseInt(_0x6c2366(0x207))/0x3+parseInt(_0x6c2366(0x211))/0x4*(-parseInt(_0x6c2366(0x236))/0x5)+parseInt(_0x6c2366(0x22c))/0x6*(-parseInt(_0x6c2366(0x1f9))/0x7)+-parseInt(_0x6c2366(0x23c))/0x8+parseInt(_0x6c2366(0x214))/0x9;if(_0x4ade32===_0x512da9)break;else _0x502e49['push'](_0x502e49['shift']());}catch(_0x47e712){_0x502e49['push'](_0x502e49['shift']());}}}(_0x493a,0xa6527));import{Command as _0x3af7a1}from'ckeditor5/src/core.js';import{logWarning as _0x2b2003}from'ckeditor5/src/utils.js';import{getStyles as _0x296915,getConverterOptions as _0x20312f,getConverterOptionsV2 as _0x2e8626}from'./utils.js';import{getTranslation as _0x51ad22}from'./utils/common-translations.js';const h=[_0xd7ccb2(0x22f),_0xd7ccb2(0x241),_0xd7ccb2(0x200),_0xd7ccb2(0x20b),_0xd7ccb2(0x1fc),_0xd7ccb2(0x1fd),_0xd7ccb2(0x20a),_0xd7ccb2(0x1fb),_0xd7ccb2(0x229),_0xd7ccb2(0x232)];function _0x493a(){const _0x2e9582=['_downloadFile','assertive','document.docx','_token','comments','isBusy','application/docx','26940FcANEM','688035SesbBa','locale','orientation','application/json','plugins','suggestions','Word\x20document\x20export\x20failed','ariaLiveAnnouncer','<div\x20class=\x22ck-content\x22\x20dir=\x22','5XSgIJJ','URL','export-word-v1-api-is-deprecated','stringify','options','isEnabled','8415912Ahupim','fetch','remove','1069610lZMhNi','value','margin_top','</div>','editor','get','Word\x20document\x20export\x20started','https://docx-converter.cke-cs.com/v1/convert','href','dataCallback','63CJGeQn','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','footer','margin_left','format','converterOptions','data','margin_right','pending','status','catch','affectsData','auto_pagination','converterUrl','2619138hcBKKY','EDITOR_STYLES','function','header','margin_bottom','contentLanguageDirection','fileName','set','createElement','execute','1182028fBSHDy','stylesheets','announce','9385965NdueLJ','Notification','ExportWord','finally','POST','blob','click','config','refresh','showWarning','version','createObjectURL','token','Word\x20document\x20export\x20successful','https://docx-converter.cke-cs.com/v2/convert/html-docx','then','download'];_0x493a=function(){return _0x2e9582;};return _0x493a();}export default class e extends _0x3af7a1{constructor(_0x5ec675){const _0x2d8216=_0xd7ccb2;super(_0x5ec675),this[_0x2d8216(0x20e)](_0x2d8216(0x22a),!0x1),this[_0x2d8216(0x204)]=!0x1;}[_0xd7ccb2(0x21c)](){const _0x59a0f2=_0xd7ccb2;this[_0x59a0f2(0x23b)]=!this[_0x59a0f2(0x22a)],this[_0x59a0f2(0x240)]=this[_0x59a0f2(0x22a)]?_0x59a0f2(0x201):void 0x0;}[_0xd7ccb2(0x210)](_0x6c1eec={}){const _0x56731f=_0xd7ccb2,_0x2bff69=this[_0x56731f(0x243)],_0x184262=_0x6c1eec[_0x56731f(0x21e)]||0x2,_0x1d749f=0x1===_0x184262,_0x7ad3f2=_0x6c1eec[_0x56731f(0x206)]||(_0x1d749f?_0x56731f(0x1f6):_0x56731f(0x222)),_0x50dba6=_0x6c1eec[_0x56731f(0x1fe)]||{},_0x45a617=_0x2bff69[_0x56731f(0x231)][_0x56731f(0x1f4)](_0x56731f(0x216)),_0x384dd8=_0x6c1eec[_0x56731f(0x220)]||_0x45a617[_0x56731f(0x228)],_0x4ce7c2=!0x0===_0x50dba6[_0x56731f(0x205)],_0x28395c=_0x6c1eec[_0x56731f(0x1f8)]||(_0x5f3e17=>_0x5f3e17[_0x56731f(0x1ff)][_0x56731f(0x1f4)]({'pagination':_0x4ce7c2}));return 0x2===_0x184262&&function(_0x462c62){for(const _0x432fc0 of h)if(void 0x0!==_0x462c62[_0x432fc0])return!0x0;return!0x1;}(_0x50dba6)&&_0x2b2003(_0x56731f(0x238)),this[_0x56731f(0x22a)]=!0x0,this[_0x56731f(0x21c)](),_0x296915(_0x6c1eec[_0x56731f(0x212)]||[_0x56731f(0x208)])[_0x56731f(0x223)](async _0x33807f=>{const _0x4afa55=_0x56731f;_0x2bff69['ui'][_0x4afa55(0x234)][_0x4afa55(0x213)](_0x51ad22(_0x2bff69[_0x4afa55(0x22e)],_0x4afa55(0x1f5)));const _0xe4a8b6=await _0x28395c(_0x2bff69),_0x44c094={'html':_0x4afa55(0x235)+_0x2bff69[_0x4afa55(0x22e)][_0x4afa55(0x20c)]+'\x22>'+_0xe4a8b6+_0x4afa55(0x242),'css':_0x33807f,[_0x1d749f?_0x4afa55(0x23a):_0x4afa55(0x21b)]:{..._0x50dba6,..._0x1d749f?_0x20312f(_0x2bff69,_0x50dba6):_0x2e8626(_0x2bff69,_0x50dba6)}},_0x592409={'method':_0x4afa55(0x218),'headers':{'Content-Type':_0x4afa55(0x230),'Accept':_0x4afa55(0x22b),..._0x384dd8?{'Authorization':_0x384dd8[_0x4afa55(0x240)]}:null},'body':JSON[_0x4afa55(0x239)](_0x44c094)};return window[_0x4afa55(0x23d)](_0x7ad3f2,_0x592409)[_0x4afa55(0x223)](_0x32c3db=>{const _0x2ac1fb=_0x4afa55;if(0xc8!==_0x32c3db[_0x2ac1fb(0x202)])throw _0x32c3db;return _0x32c3db[_0x2ac1fb(0x219)]();})[_0x4afa55(0x223)](_0x4373e7=>{const _0x46a27e=_0x4afa55;_0x2bff69['ui'][_0x46a27e(0x234)][_0x46a27e(0x213)](_0x51ad22(_0x2bff69[_0x46a27e(0x22e)],_0x46a27e(0x221)));const _0x48ca21=_0x46a27e(0x209)==typeof _0x6c1eec[_0x46a27e(0x20d)]?_0x6c1eec[_0x46a27e(0x20d)]():_0x6c1eec[_0x46a27e(0x20d)];this[_0x46a27e(0x225)](_0x4373e7,_0x48ca21||_0x46a27e(0x227));});})[_0x56731f(0x203)](_0x462a9a=>{const _0x3f3f3c=_0x56731f,_0x2d0202=_0x2bff69[_0x3f3f3c(0x231)][_0x3f3f3c(0x1f4)](_0x3f3f3c(0x215));throw _0x2bff69['ui'][_0x3f3f3c(0x234)][_0x3f3f3c(0x213)](_0x51ad22(_0x2bff69[_0x3f3f3c(0x22e)],_0x3f3f3c(0x233)),{'politeness':_0x3f3f3c(0x226)}),_0x2d0202[_0x3f3f3c(0x21d)](_0x51ad22(_0x2bff69[_0x3f3f3c(0x22e)],_0x3f3f3c(0x1fa))),_0x462a9a;})[_0x56731f(0x217)](()=>{const _0x5509f3=_0x56731f;this[_0x5509f3(0x22a)]=!0x1,this[_0x5509f3(0x21c)]();});}[_0xd7ccb2(0x225)](_0x31f02e,_0x3c50a1){const _0x333b52=_0xd7ccb2,_0x3c2e67=document[_0x333b52(0x20f)]('a');_0x3c2e67[_0x333b52(0x1f7)]=window[_0x333b52(0x237)][_0x333b52(0x21f)](_0x31f02e),_0x3c2e67[_0x333b52(0x224)]=_0x3c50a1,_0x3c2e67[_0x333b52(0x21a)](),_0x3c2e67[_0x333b52(0x23e)]();}}
|
package/src/exportwordui.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module export-word/exportwordui
|
package/src/exportwordui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c82be=_0x52cc;(function(_0x9be0a9,_0x35d192){const _0x5e2b3f=_0x52cc,_0x4ef77c=_0x9be0a9();while(!![]){try{const _0x4fbf6f=parseInt(_0x5e2b3f(0xdf))/0x1*(-parseInt(_0x5e2b3f(0xde))/0x2)+parseInt(_0x5e2b3f(0xf4))/0x3*(-parseInt(_0x5e2b3f(0xee))/0x4)+-parseInt(_0x5e2b3f(0xf5))/0x5+-parseInt(_0x5e2b3f(0xcf))/0x6+-parseInt(_0x5e2b3f(0xea))/0x7+parseInt(_0x5e2b3f(0xd8))/0x8*(parseInt(_0x5e2b3f(0xf6))/0x9)+-parseInt(_0x5e2b3f(0xf8))/0xa*(-parseInt(_0x5e2b3f(0xe4))/0xb);if(_0x4fbf6f===_0x35d192)break;else _0x4ef77c['push'](_0x4ef77c['shift']());}catch(_0x457dab){_0x4ef77c['push'](_0x4ef77c['shift']());}}}(_0x2a2a,0x2061b));import{Plugin as _0x587df5}from'ckeditor5/src/core.js';function _0x52cc(_0x245a16,_0x4a6364){const _0x2a2ab4=_0x2a2a();return _0x52cc=function(_0x52ccc9,_0x1cd103){_0x52ccc9=_0x52ccc9-0xcf;let _0x22540d=_0x2a2ab4[_0x52ccc9];return _0x22540d;},_0x52cc(_0x245a16,_0x4a6364);}import{ButtonView as _0x18ac21,MenuBarMenuListItemButtonView as _0x433edc,SpinnerView as _0x14bfab}from'ckeditor5/src/ui.js';function _0x2a2a(){const _0x148e3b=['children','listenTo','16TdKdPM','isVisible','editing','commands','config','add','198IQmfYM','317qZBvzi','set','locale','iconView','label','6006957IvdtpD','menuBar:exportWord','exportWord','bind','isEnabled','isPremiumPlugin','1650957ryfGXy','focus','view','isOn','212dZJJmz','Exporting\x20Word\x20document','ExportWordUI','isOfficialPlugin','isBusy','get','897YUqvuN','1217920CTrYNp','949086aWhLub','componentFactory','10XJPfbD','586170OqlIRb','_createButton','execute','Export\x20to\x20Word','init','editor','pluginName'];_0x2a2a=function(){return _0x148e3b;};return _0x2a2a();}import _0x2a178c from'../theme/icons/exportword.svg';import{getTranslation as _0x48dea9}from'./utils/common-translations.js';export default class o extends _0x587df5{static get[_0x1c82be(0xd5)](){const _0x97c796=_0x1c82be;return _0x97c796(0xf0);}static get[_0x1c82be(0xf1)](){return!0x0;}static get[_0x1c82be(0xe9)](){return!0x0;}[_0x1c82be(0xd3)](){const _0x1b083f=_0x1c82be,_0x4525cc=this[_0x1b083f(0xd4)];_0x4525cc['ui'][_0x1b083f(0xf7)][_0x1b083f(0xdd)](_0x1b083f(0xe6),()=>{const _0x400099=_0x1b083f,_0x4f273b=_0x4525cc[_0x400099(0xdb)][_0x400099(0xf3)](_0x400099(0xe6)),_0x25a821=this[_0x400099(0xd0)](_0x18ac21);return _0x25a821[_0x400099(0xe0)]({'tooltip':!0x0}),_0x25a821[_0x400099(0xe7)](_0x400099(0xed))['to'](_0x4f273b,_0x400099(0xf2)),_0x25a821;}),_0x4525cc['ui'][_0x1b083f(0xf7)][_0x1b083f(0xdd)](_0x1b083f(0xe5),()=>this[_0x1b083f(0xd0)](_0x433edc));}[_0x1c82be(0xd0)](_0x5e67cb){const _0x3a6934=_0x1c82be,_0x40ae11=this[_0x3a6934(0xd4)],_0x2bf2ae=_0x40ae11[_0x3a6934(0xdc)][_0x3a6934(0xf3)](_0x3a6934(0xe6))||{},_0x5bef06=_0x40ae11[_0x3a6934(0xdb)][_0x3a6934(0xf3)](_0x3a6934(0xe6)),_0x10851c=new _0x5e67cb(_0x40ae11[_0x3a6934(0xe1)]),_0x535957=new _0x14bfab();return _0x10851c[_0x3a6934(0xd6)][_0x3a6934(0xdd)](_0x535957),_0x535957[_0x3a6934(0xe7)](_0x3a6934(0xd9))['to'](_0x5bef06,_0x3a6934(0xf2)),_0x10851c[_0x3a6934(0xe2)][_0x3a6934(0xe7)](_0x3a6934(0xd9))['to'](_0x5bef06,_0x3a6934(0xf2),_0x1e8780=>!_0x1e8780),_0x10851c[_0x3a6934(0xe0)]({'icon':_0x2a178c}),_0x10851c[_0x3a6934(0xe7)](_0x3a6934(0xe8))['to'](_0x5bef06,_0x3a6934(0xe8)),_0x10851c[_0x3a6934(0xe7)](_0x3a6934(0xe3))['to'](_0x5bef06,_0x3a6934(0xf2),_0x1fd0fa=>_0x48dea9(_0x40ae11[_0x3a6934(0xe1)],_0x1fd0fa?_0x3a6934(0xef):_0x3a6934(0xd2))),this[_0x3a6934(0xd7)](_0x10851c,_0x3a6934(0xd1),()=>{const _0x13ae53=_0x3a6934;_0x40ae11[_0x13ae53(0xd1)](_0x13ae53(0xe6),_0x2bf2ae),_0x40ae11[_0x13ae53(0xda)][_0x13ae53(0xec)][_0x13ae53(0xeb)]();}),_0x10851c;}}
|
package/src/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module export-word
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x48633c,_0x352cdd){var _0x8836fb=_0x5c5a,_0x13f940=_0x48633c();while(!![]){try{var _0x1e2074=parseInt(_0x8836fb(0x119))/0x1+-parseInt(_0x8836fb(0x118))/0x2*(-parseInt(_0x8836fb(0x112))/0x3)+parseInt(_0x8836fb(0x114))/0x4+parseInt(_0x8836fb(0x117))/0x5+-parseInt(_0x8836fb(0x113))/0x6+parseInt(_0x8836fb(0x116))/0x7*(-parseInt(_0x8836fb(0x115))/0x8)+parseInt(_0x8836fb(0x11a))/0x9;if(_0x1e2074===_0x352cdd)break;else _0x13f940['push'](_0x13f940['shift']());}catch(_0x2bd53f){_0x13f940['push'](_0x13f940['shift']());}}}(_0x96f0,0x6d2fc));export{default as ExportWord}from'./exportword.js';function _0x5c5a(_0x880bbd,_0x48dba5){var _0x96f04d=_0x96f0();return _0x5c5a=function(_0x5c5a14,_0x2088ef){_0x5c5a14=_0x5c5a14-0x112;var _0x33154f=_0x96f04d[_0x5c5a14];return _0x33154f;},_0x5c5a(_0x880bbd,_0x48dba5);}function _0x96f0(){var _0x3524f2=['2qBorxA','15082ByCiFu','1094004ksSmzF','141348ntVwaQ','1806690TaPJtS','27196UHaDAN','1784wRBfFy','7637teGUGf','4005415kCepqr'];_0x96f0=function(){return _0x3524f2;};return _0x96f0();}import'./augmentation.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module export-word/utils/common-translations
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x1e9b2d,_0x23ca5c){const t=_0x1e9b2d['t'];switch(_0x23ca5c){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 _0x23ca5c;}}
|
package/src/utils.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import type { Editor } from 'ckeditor5/src/core.js';
|
|
6
6
|
import type { Collection } from 'ckeditor5/src/utils.js';
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x8b5456,_0x3d0977){const _0x5d90b9=_0x3397,_0x4528f1=_0x8b5456();while(!![]){try{const _0x31c553=parseInt(_0x5d90b9(0x1de))/0x1+-parseInt(_0x5d90b9(0x1d9))/0x2*(-parseInt(_0x5d90b9(0x1d6))/0x3)+parseInt(_0x5d90b9(0x1c2))/0x4+parseInt(_0x5d90b9(0x1ed))/0x5+-parseInt(_0x5d90b9(0x205))/0x6*(parseInt(_0x5d90b9(0x1c4))/0x7)+-parseInt(_0x5d90b9(0x1dd))/0x8*(parseInt(_0x5d90b9(0x1ff))/0x9)+parseInt(_0x5d90b9(0x1cb))/0xa;if(_0x31c553===_0x3d0977)break;else _0x4528f1['push'](_0x4528f1['shift']());}catch(_0x5bdef3){_0x4528f1['push'](_0x4528f1['shift']());}}}(_0x1e88,0x74b17));export function getStyles(_0x38fa1e){const _0x53fb69=_0x3397;if(!_0x38fa1e)return new Promise(_0x4ff7c1=>_0x4ff7c1(''));const _0x4f2e2b=[];for(const _0x501039 of _0x38fa1e)_0x53fb69(0x1f5)!==_0x501039?_0x4f2e2b[_0x53fb69(0x1fd)](window[_0x53fb69(0x1db)](_0x501039)[_0x53fb69(0x1ee)](_0x4ec8e4=>_0x4ec8e4[_0x53fb69(0x1e8)]())):_0x4f2e2b[_0x53fb69(0x1fd)](f());return Promise[_0x53fb69(0x1e3)](_0x4f2e2b)[_0x53fb69(0x1ee)](_0x329022=>_0x329022[_0x53fb69(0x1bf)]('\x20')[_0x53fb69(0x1fe)]());}function f(){const _0x5d93de=_0x3397,_0x19220=[],_0xfe888=[];for(const _0x1cf5fa of Array[_0x5d93de(0x1f3)](document[_0x5d93de(0x1fb)])){if(_0x1cf5fa[_0x5d93de(0x1d7)][_0x5d93de(0x1e0)](_0x5d93de(0x1bd))){for(const _0x28da15 of Array[_0x5d93de(0x1f3)](_0x1cf5fa[_0x5d93de(0x1f9)]))-0x1!==_0x28da15[_0x5d93de(0x200)][_0x5d93de(0x1fc)](_0x5d93de(0x204))?_0x19220[_0x5d93de(0x1fd)](_0x28da15[_0x5d93de(0x200)]):-0x1!==_0x28da15[_0x5d93de(0x200)][_0x5d93de(0x1fc)](_0x5d93de(0x1e6))&&_0xfe888[_0x5d93de(0x1fd)](_0x28da15[_0x5d93de(0x200)]);}}return _0x19220[_0x5d93de(0x1cf)]||console[_0x5d93de(0x1ca)](_0x5d93de(0x1f4)),[..._0xfe888,..._0x19220][_0x5d93de(0x1bf)]('\x20')[_0x5d93de(0x1fe)]();}function _0x1e88(){const _0x18527b=['warn','5680730zIKhoK','getSuggestions','resolvedOptions','MergeFieldsEditing','length','keys','map','TrackChanges','contentLanguage','merge_fields','createdAt','39upuwrs','ownerNode','plugins','6182NnXgPV','users','fetch','has','64832XsRdSC','426968hZBywc','getDefaultValues','hasAttribute','suggestions','language','all','get','mergeFields',':root','data','text','Users','MergeFields','getLabel','name','1831720SIHsLJ','then','DateTimeFormat','comments','$labels','CommentsRepository','from','The\x20editor\x20stylesheet\x20could\x20not\x20be\x20found\x20in\x20the\x20document.\x20Check\x20your\x20webpack\x20config\x20–\x20style-loader\x20should\x20use\x20data-cke=true\x20attribute\x20for\x20the\x20editor\x20stylesheet.','EDITOR_STYLES','getDataSetValues','entries','timezone','cssRules','previewMode','styleSheets','indexOf','push','trim','531eoooPW','cssText','config','authorName','@external','.ck-content','5249742TqpcXM','collaboration_features','data-cke','comment_threads','join','isResolved','timeZone','1718000cXKiIo','author','7uAEKYh','content','document','$defaultValues','getCommentThreads','locale'];_0x1e88=function(){return _0x18527b;};return _0x1e88();}export function getConverterOptions(_0x356725,_0x53efa0={}){const _0x1c0259=_0x3397,_0x4409a8=_0x356725[_0x1c0259(0x1d8)][_0x1c0259(0x1dc)](_0x1c0259(0x1e9)),_0x16bc9f=_0x356725[_0x1c0259(0x1d8)][_0x1c0259(0x1dc)](_0x1c0259(0x1f2)),_0x25859f=_0x356725[_0x1c0259(0x1d8)][_0x1c0259(0x1dc)](_0x1c0259(0x1d2)),_0x2bdf10=_0x53efa0;if(_0x4409a8&&_0x16bc9f){const _0x3795ef=getComments(_0x356725[_0x1c0259(0x1d8)][_0x1c0259(0x1e4)](_0x1c0259(0x1f2))[_0x1c0259(0x1c8)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x1c0259(0x1d0)](_0x3795ef)[_0x1c0259(0x1cf)]&&(_0x2bdf10[_0x1c0259(0x1f0)]=_0x3795ef);}if(_0x4409a8&&_0x25859f){const _0x5c356a=_0x356725[_0x1c0259(0x1d8)][_0x1c0259(0x1e4)](_0x1c0259(0x1d2)),_0x2b6eb8=_0x356725[_0x1c0259(0x1d8)][_0x1c0259(0x1e4)](_0x1c0259(0x1e9)),_0x41251a=getSuggestions(_0x5c356a[_0x1c0259(0x1cc)]({'toJSON':!0x0}),_0x2b6eb8[_0x1c0259(0x1da)]);Object[_0x1c0259(0x1d0)](_0x41251a)[_0x1c0259(0x1cf)]&&(_0x2bdf10[_0x1c0259(0x1e1)]=_0x41251a);}return(_0x2bdf10[_0x1c0259(0x1e1)]||_0x2bdf10[_0x1c0259(0x1f0)])&&(_0x2bdf10[_0x1c0259(0x1f8)]=new Intl[(_0x1c0259(0x1ef))]()[_0x1c0259(0x1cd)]()[_0x1c0259(0x1c1)]),_0x2bdf10;}export function getComments(_0x4b38d8){const _0x26feb0=_0x3397,_0x4c3332={};if(!_0x4b38d8[_0x26feb0(0x1cf)])return _0x4c3332;for(const _0x179a02 of _0x4b38d8)_0x179a02[_0x26feb0(0x1f0)][_0x26feb0(0x1d1)](_0x4549c5=>{const _0x500db0=_0x26feb0;void 0x0===_0x4c3332[_0x179a02['id']]&&(_0x4c3332[_0x179a02['id']]=[]),_0x4c3332[_0x179a02['id']][_0x500db0(0x1fd)]({'author':_0x4549c5[_0x500db0(0x1c3)][_0x500db0(0x1ec)],'content':_0x4549c5[_0x500db0(0x1c5)],'created':_0x4549c5[_0x500db0(0x1d5)],'is_resolved':_0x179a02[_0x500db0(0x1c0)]});});return _0x4c3332;}export function getSuggestions(_0x455160,_0x125666){const _0x1f75f0=_0x3397,_0x5ee613={};if(!_0x455160[_0x1f75f0(0x1cf)]||!_0x125666[_0x1f75f0(0x1cf)])return _0x5ee613;for(const {id:_0x2984f4,createdAt:_0x5352fd,authorId:_0x5211af,attributes:_0x2da7aa}of _0x455160){const _0x30e513=_0x2da7aa&&_0x2da7aa[_0x1f75f0(0x203)],_0x105a29=_0x30e513?_0x30e513[_0x1f75f0(0x202)]:_0x125666[_0x1f75f0(0x1e4)](_0x5211af)[_0x1f75f0(0x1ec)];_0x5ee613[_0x2984f4]={'author':_0x105a29,'created':_0x5352fd};}return _0x5ee613;}export function getConverterOptionsV2(_0x465f05,_0x482d3c={}){const _0x21fcec=_0x3397,_0x251f5d=_0x465f05[_0x21fcec(0x1d8)][_0x21fcec(0x1dc)](_0x21fcec(0x1e9)),_0x3bc55d=_0x465f05[_0x21fcec(0x1d8)][_0x21fcec(0x1dc)](_0x21fcec(0x1f2)),_0x1fe986=_0x465f05[_0x21fcec(0x1d8)][_0x21fcec(0x1dc)](_0x21fcec(0x1d2)),_0x1b9005=_0x465f05[_0x21fcec(0x1d8)][_0x21fcec(0x1dc)](_0x21fcec(0x1ea)),_0x738ebb=_0x465f05[_0x21fcec(0x1c9)][_0x21fcec(0x1d3)],_0x34b000=_0x482d3c,_0x22cd38={};if(_0x34b000[_0x21fcec(0x1c6)]=_0x34b000[_0x21fcec(0x1c6)]||{},_0x34b000[_0x21fcec(0x1c6)][_0x21fcec(0x1e2)]=_0x34b000[_0x21fcec(0x1c6)][_0x21fcec(0x1e2)]||_0x738ebb,_0x251f5d&&_0x3bc55d){const _0x5a8429=getCommentsV2(_0x465f05[_0x21fcec(0x1d8)][_0x21fcec(0x1e4)](_0x21fcec(0x1f2))[_0x21fcec(0x1c8)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x5a8429[_0x21fcec(0x1cf)]&&(_0x22cd38[_0x21fcec(0x1be)]=_0x5a8429);}if(_0x251f5d&&_0x1fe986){const _0x8372dc=_0x465f05[_0x21fcec(0x1d8)][_0x21fcec(0x1e4)](_0x21fcec(0x1d2)),_0xc4f1cf=_0x465f05[_0x21fcec(0x1d8)][_0x21fcec(0x1e4)](_0x21fcec(0x1e9)),_0x5b1055=getSuggestionsV2(_0x8372dc[_0x21fcec(0x1cc)]({'toJSON':!0x0}),_0xc4f1cf[_0x21fcec(0x1da)]);_0x5b1055[_0x21fcec(0x1cf)]&&(_0x22cd38[_0x21fcec(0x1e1)]=_0x5b1055);}if(_0x1b9005){const _0x8c7933=_0x465f05[_0x21fcec(0x1d8)][_0x21fcec(0x1e4)](_0x21fcec(0x1ce)),_0x32af00=_0x8c7933[_0x21fcec(0x1fa)],{prefix:_0x1cdb12,suffix:_0x34c14b}=_0x465f05[_0x21fcec(0x201)][_0x21fcec(0x1e4)](_0x21fcec(0x1e5));if(_0x34b000[_0x21fcec(0x1d4)]={'prefix':_0x1cdb12,'suffix':_0x34c14b},_0x21fcec(0x1f1)!==_0x32af00){_0x34b000[_0x21fcec(0x1d4)][_0x21fcec(0x1e7)]={};const _0x4ae741=_0x21fcec(0x1c7)===_0x32af00?_0x8c7933[_0x21fcec(0x1df)]():_0x8c7933[_0x21fcec(0x1f6)](_0x32af00,!0x0);for(const _0xbb12df of Object[_0x21fcec(0x1f7)](_0x4ae741)){const [_0x5d9405,_0x47c85d]=_0xbb12df;_0x34b000[_0x21fcec(0x1d4)][_0x21fcec(0x1e7)][_0x5d9405]=null!==_0x47c85d?_0x47c85d:_0x8c7933[_0x21fcec(0x1eb)](_0x5d9405);}}}return(_0x22cd38[_0x21fcec(0x1be)]||_0x22cd38[_0x21fcec(0x1e1)])&&(_0x34b000[_0x21fcec(0x1f8)]=new Intl[(_0x21fcec(0x1ef))]()[_0x21fcec(0x1cd)]()[_0x21fcec(0x1c1)],_0x34b000[_0x21fcec(0x206)]=_0x22cd38),_0x34b000;}export function getCommentsV2(_0x59cbe7){const _0x25d4ef=_0x3397,_0x143b30=[];if(!_0x59cbe7[_0x25d4ef(0x1cf)])return _0x143b30;for(const _0x25b977 of _0x59cbe7){const _0x38185b=_0x25b977[_0x25d4ef(0x1f0)][_0x25d4ef(0x1d1)](_0x5e0421=>({'author':_0x5e0421[_0x25d4ef(0x1c3)][_0x25d4ef(0x1ec)],'content':_0x5e0421[_0x25d4ef(0x1c5)],'created_at':_0x5e0421[_0x25d4ef(0x1d5)]}));_0x143b30[_0x25d4ef(0x1fd)]({'thread_id':_0x25b977['id'],'is_resolved':_0x25b977[_0x25d4ef(0x1c0)],'comments':_0x38185b});}return _0x143b30;}function _0x3397(_0x4ae5dd,_0x206793){const _0x1e88b0=_0x1e88();return _0x3397=function(_0x33979c,_0xd93a30){_0x33979c=_0x33979c-0x1bd;let _0x33285e=_0x1e88b0[_0x33979c];return _0x33285e;},_0x3397(_0x4ae5dd,_0x206793);}export function getSuggestionsV2(_0x2c3dbc,_0x43df3b){const _0x49fa65=_0x3397;return _0x2c3dbc[_0x49fa65(0x1cf)]&&_0x43df3b[_0x49fa65(0x1cf)]?_0x2c3dbc[_0x49fa65(0x1d1)](({id:_0x2ca273,createdAt:_0x162813,authorId:_0x47e329,attributes:_0x401359})=>{const _0x599097=_0x49fa65,_0x583292=_0x401359&&_0x401359[_0x599097(0x203)];return{'id':_0x2ca273,'author':_0x583292?_0x583292[_0x599097(0x202)]:_0x43df3b[_0x599097(0x1e4)](_0x47e329)[_0x599097(0x1ec)],'created_at':_0x162813};}):[];}
|