@ckeditor/ckeditor5-export-word 43.0.0-alpha.1 → 43.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/export-word.js +1 -1
- package/build/translations/gl.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.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/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.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.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/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/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/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/ko.js +1 -1
- package/dist/translations/ko.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/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/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/sk.js +1 -1
- package/dist/translations/sk.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/tr.js +1 -1
- package/dist/translations/tr.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/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/lang/translations/gl.po +5 -5
- package/package.json +5 -5
- package/src/exportword.js +1 -1
- package/src/exportwordcommand.js +1 -1
- package/src/exportwordui.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x485d58=>{const {vi:{dictionary:_0x3c4818,getPluralForm:_0x4abc7c}}={'vi':{'dictionary':{'Export\x20to\x20Word':'Xuất\x20ra\x20định\x20dạng\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'Đã\x20xảy\x20ra\x20lỗi\x20khi\x20tạo\x20tệp\x20Word.','Word\x20document\x20export\x20started':'Đã\x20bắt\x20đầu\x20xuất\x20tài\x20liệu\x20Word','Word\x20document\x20export\x20failed':'Không\x20xuất\x20được\x20tài\x20liệu\x20Word','Word\x20document\x20export\x20successful':'Đã\x20xuất\x20tài\x20liệu\x20Word\x20thành\x20công','Exporting\x20Word\x20document':'Đang\x20xuất\x20tài\x20liệu\x20Word'},'getPluralForm':_0x289c9f=>0x0}};_0x485d58['vi']||={'dictionary':{},'getPluralForm':null},_0x485d58['vi']['dictionary']=Object['assign'](_0x485d58['vi']['dictionary'],_0x3c4818),_0x485d58['vi']['getPluralForm']=_0x4abc7c;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'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':
|
|
23
|
+
export default{'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':_0x2c2b6b=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x357f45=>{const {'zh-cn':{dictionary:_0x247e5e,getPluralForm:_0x5c9e3f}}={'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':_0x5f7ba=>0x0}};_0x357f45['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x357f45['zh-cn']['dictionary']=Object['assign'](_0x357f45['zh-cn']['dictionary'],_0x247e5e),_0x357f45['zh-cn']['getPluralForm']=_0x5c9e3f;})(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':_0x7dd20e=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4f3f68=>{const {zh:{dictionary:_0x1ecd33,getPluralForm:_0x34d962}}={'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':_0x2f9d8f=>0x0}};_0x4f3f68['zh']||={'dictionary':{},'getPluralForm':null},_0x4f3f68['zh']['dictionary']=Object['assign'](_0x4f3f68['zh']['dictionary'],_0x1ecd33),_0x4f3f68['zh']['getPluralForm']=_0x34d962;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/lang/translations/gl.po
CHANGED
|
@@ -23,20 +23,20 @@ msgstr "Exportar a Word"
|
|
|
23
23
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred during the generation of the Word file."
|
|
25
25
|
msgid "An error occurred while generating the Word file."
|
|
26
|
-
msgstr "Produciuse un erro ao xerar o ficheiro Word."
|
|
26
|
+
msgstr "Produciuse un erro ao xerar o ficheiro de Word."
|
|
27
27
|
|
|
28
28
|
msgctxt "Aria status message indicating start of word document export. Example: 'Word document export started'."
|
|
29
29
|
msgid "Word document export started"
|
|
30
|
-
msgstr ""
|
|
30
|
+
msgstr "Comezou a exportación do documento de Word"
|
|
31
31
|
|
|
32
32
|
msgctxt "Aria status message indicating failed Word document export. Example: 'Word document export failed'."
|
|
33
33
|
msgid "Word document export failed"
|
|
34
|
-
msgstr ""
|
|
34
|
+
msgstr "Produciuse un fallo ao exportar un documento de Word"
|
|
35
35
|
|
|
36
36
|
msgctxt "Aria status message indicating successful Word document export. Example: 'Word document export successful'."
|
|
37
37
|
msgid "Word document export successful"
|
|
38
|
-
msgstr ""
|
|
38
|
+
msgstr "A exportación do documento de Word foi satisfactoria"
|
|
39
39
|
|
|
40
40
|
msgctxt "Aria label set on Export to Word button while exporting the Word file."
|
|
41
41
|
msgid "Exporting Word document"
|
|
42
|
-
msgstr ""
|
|
42
|
+
msgstr "Exportando un documento de Word"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-export-word",
|
|
3
|
-
"version": "43.0.0-alpha.
|
|
3
|
+
"version": "43.0.0-alpha.3",
|
|
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": "43.0.0-alpha.
|
|
34
|
-
"@ckeditor/ckeditor5-utils": "43.0.0-alpha.
|
|
35
|
-
"@ckeditor/ckeditor5-ui": "43.0.0-alpha.
|
|
36
|
-
"ckeditor5": "43.0.0-alpha.
|
|
33
|
+
"@ckeditor/ckeditor5-core": "43.0.0-alpha.3",
|
|
34
|
+
"@ckeditor/ckeditor5-utils": "43.0.0-alpha.3",
|
|
35
|
+
"@ckeditor/ckeditor5-ui": "43.0.0-alpha.3",
|
|
36
|
+
"ckeditor5": "43.0.0-alpha.3"
|
|
37
37
|
},
|
|
38
38
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
39
39
|
"author": "CKSource (https://cksource.com/)",
|
package/src/exportword.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x43ea1a=_0x397b;function _0x397b(_0xce4c19,_0x554ae3){const _0x3ca033=_0x3ca0();return _0x397b=function(_0x397bd8,_0x142f13){_0x397bd8=_0x397bd8-0x1d0;let _0x54f428=_0x3ca033[_0x397bd8];return _0x54f428;},_0x397b(_0xce4c19,_0x554ae3);}(function(_0x486885,_0xe11ffa){const _0x7e8913=_0x397b,_0x1f5101=_0x486885();while(!![]){try{const _0x4988b2=-parseInt(_0x7e8913(0x1d2))/0x1*(parseInt(_0x7e8913(0x1d1))/0x2)+-parseInt(_0x7e8913(0x1e8))/0x3+parseInt(_0x7e8913(0x1de))/0x4+-parseInt(_0x7e8913(0x1dc))/0x5*(parseInt(_0x7e8913(0x1e5))/0x6)+parseInt(_0x7e8913(0x1e0))/0x7*(parseInt(_0x7e8913(0x1df))/0x8)+parseInt(_0x7e8913(0x1d9))/0x9+parseInt(_0x7e8913(0x1da))/0xa;if(_0x4988b2===_0xe11ffa)break;else _0x1f5101['push'](_0x1f5101['shift']());}catch(_0x13bf38){_0x1f5101['push'](_0x1f5101['shift']());}}}(_0x3ca0,0xe35ee));import{Plugin as _0x3d33bf}from'ckeditor5/src/core.js';import{Notification as _0x423b89}from'ckeditor5/src/ui.js';import _0x290dee from'./exportwordcommand.js';import _0x2a7d42 from'./exportwordui.js';export default class s extends _0x3d33bf{static get[_0x43ea1a(0x1e2)](){const _0x427b1e=_0x43ea1a;return _0x427b1e(0x1ea);}static get[_0x43ea1a(0x1e1)](){const _0x6c6236=_0x43ea1a;return[_0x6c6236(0x1e6),_0x423b89,_0x2a7d42];}[_0x43ea1a(0x1e7)](){const _0x4b0d70=_0x43ea1a,_0x33d4bb=this[_0x4b0d70(0x1d0)],_0x46225b=_0x33d4bb[_0x4b0d70(0x1dd)][_0x4b0d70(0x1d5)](_0x4b0d70(0x1d4))||{};_0x33d4bb[_0x4b0d70(0x1e3)][_0x4b0d70(0x1db)](_0x4b0d70(0x1d4),new _0x290dee(_0x33d4bb));const _0x250417=_0x33d4bb[_0x4b0d70(0x1e4)][_0x4b0d70(0x1d5)](_0x4b0d70(0x1e6));!0x1===_0x46225b[_0x4b0d70(0x1e9)]?this[_0x4b0d70(0x1d7)]=null:_0x46225b[_0x4b0d70(0x1e9)]?_0x250417[_0x4b0d70(0x1d8)](_0x46225b[_0x4b0d70(0x1e9)])[_0x4b0d70(0x1d3)](_0x3c8a4b=>{const _0x17a792=_0x4b0d70;this[_0x17a792(0x1d7)]=_0x3c8a4b;}):this[_0x4b0d70(0x1d7)]=_0x250417[_0x4b0d70(0x1d6)];}}function _0x3ca0(){const _0xbb1b44=['init','2699481lSvDTV','tokenUrl','ExportWord','editor','442022DutHfJ','5aKtjlS','then','exportWord','get','token','_token','registerTokenUrl','9377154cXJUPk','26814290lIvExw','add','6099605kHtGWw','config','432732nfxNDB','40hPYvUv','454433SSnVkG','requires','pluginName','commands','plugins','6umMACI','CloudServices'];_0x3ca0=function(){return _0xbb1b44;};return _0x3ca0();}
|
package/src/exportwordcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x58bfc3=_0x53e9;(function(_0x388c98,_0x479b97){const _0x2382e4=_0x53e9,_0x47a3c8=_0x388c98();while(!![]){try{const _0x50c27f=-parseInt(_0x2382e4(0x213))/0x1*(parseInt(_0x2382e4(0x21a))/0x2)+-parseInt(_0x2382e4(0x1f6))/0x3+-parseInt(_0x2382e4(0x22f))/0x4+parseInt(_0x2382e4(0x21f))/0x5*(-parseInt(_0x2382e4(0x21e))/0x6)+parseInt(_0x2382e4(0x221))/0x7+parseInt(_0x2382e4(0x20a))/0x8*(-parseInt(_0x2382e4(0x209))/0x9)+parseInt(_0x2382e4(0x1ef))/0xa;if(_0x50c27f===_0x479b97)break;else _0x47a3c8['push'](_0x47a3c8['shift']());}catch(_0x35b769){_0x47a3c8['push'](_0x47a3c8['shift']());}}}(_0x779c,0xd4c8a));import{Command as _0x3526e1}from'ckeditor5/src/core.js';import{logWarning as _0xc32f89}from'ckeditor5/src/utils.js';import{getStyles as _0x4dd00c,getConverterOptions as _0x526aaf,getConverterOptionsV2 as _0x25e660}from'./utils.js';import{getTranslation as _0x3d2b55}from'./utils/common-translations.js';function _0x779c(){const _0x34beb5=['converterUrl','</div>','click','execute','footer','fileName','options','94789tUERaw','locale','_downloadFile','set','application/docx','ExportWord','suggestions','12iWXpGJ','format','download','version','1266294DeRGrw','15mheOeh','fetch','11660831vduZpK','<div\x20class=\x22ck-content\x22\x20dir=\x22','Word\x20document\x20export\x20successful','document.docx','Word\x20document\x20export\x20started','stylesheets','margin_right','href','createElement','https://docx-converter.cke-cs.com/v2/convert/html-docx','orientation','converterOptions','margin_top','EDITOR_STYLES','695104LjmgPz','ariaLiveAnnouncer','POST','https://docx-converter.cke-cs.com/v1/convert','isEnabled','assertive','isBusy','Notification','remove','status','data','stringify','plugins','blob','contentLanguageDirection','value','catch','10085280FntdHX','auto_pagination','finally','URL','export-word-v1-api-is-deprecated','dataCallback','showWarning','706380wpRHjw','margin_left','Word\x20document\x20export\x20failed','createObjectURL','application/json','config','then','margin_bottom','pending','affectsData','refresh','editor','function','_token','token','header','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','get','comments','575046ZrPYHh','24rulpTS','announce'];_0x779c=function(){return _0x34beb5;};return _0x779c();}const h=[_0x58bfc3(0x22b),_0x58bfc3(0x22d),_0x58bfc3(0x227),_0x58bfc3(0x1fd),_0x58bfc3(0x1f7),_0x58bfc3(0x21b),_0x58bfc3(0x205),_0x58bfc3(0x210),_0x58bfc3(0x208),_0x58bfc3(0x219)];function _0x53e9(_0x47cdcf,_0x358abb){const _0x779c94=_0x779c();return _0x53e9=function(_0x53e96c,_0x31e501){_0x53e96c=_0x53e96c-0x1ee;let _0x331b96=_0x779c94[_0x53e96c];return _0x331b96;},_0x53e9(_0x47cdcf,_0x358abb);}export default class e extends _0x3526e1{constructor(_0x567e66){const _0x16f076=_0x58bfc3;super(_0x567e66),this[_0x16f076(0x216)](_0x16f076(0x235),!0x1),this[_0x16f076(0x1ff)]=!0x1;}[_0x58bfc3(0x200)](){const _0x2fbb51=_0x58bfc3;this[_0x2fbb51(0x233)]=!this[_0x2fbb51(0x235)],this[_0x2fbb51(0x23e)]=this[_0x2fbb51(0x235)]?_0x2fbb51(0x1fe):void 0x0;}[_0x58bfc3(0x20f)](_0x49432e={}){const _0x1bbd79=_0x58bfc3,_0x2816dc=this[_0x1bbd79(0x201)],_0x6764ce=_0x49432e[_0x1bbd79(0x21d)]||0x2,_0x2662d1=0x1===_0x6764ce,_0x2929a4=_0x49432e[_0x1bbd79(0x20c)]||(_0x2662d1?_0x1bbd79(0x232):_0x1bbd79(0x22a)),_0x2d6cb0=_0x49432e[_0x1bbd79(0x22c)]||{},_0x44428b=_0x2816dc[_0x1bbd79(0x23b)][_0x1bbd79(0x207)](_0x1bbd79(0x218)),_0x2f3869=_0x49432e[_0x1bbd79(0x204)]||_0x44428b[_0x1bbd79(0x203)],_0x1fc81b=!0x0===_0x2d6cb0[_0x1bbd79(0x1f0)],_0x23e187=_0x49432e[_0x1bbd79(0x1f4)]||(_0x4d4807=>_0x4d4807[_0x1bbd79(0x239)][_0x1bbd79(0x207)]({'pagination':_0x1fc81b}));return 0x2===_0x6764ce&&function(_0x39ba16){for(const _0x3b2ed8 of h)if(void 0x0!==_0x39ba16[_0x3b2ed8])return!0x0;return!0x1;}(_0x2d6cb0)&&_0xc32f89(_0x1bbd79(0x1f3)),this[_0x1bbd79(0x235)]=!0x0,this[_0x1bbd79(0x200)](),_0x4dd00c(_0x49432e[_0x1bbd79(0x226)]||[_0x1bbd79(0x22e)])[_0x1bbd79(0x1fc)](async _0x5992c9=>{const _0x57d83c=_0x1bbd79;_0x2816dc['ui'][_0x57d83c(0x230)][_0x57d83c(0x20b)](_0x3d2b55(_0x2816dc[_0x57d83c(0x214)],_0x57d83c(0x225)));const _0x49aa2b=await _0x23e187(_0x2816dc),_0x23f3c6={'html':_0x57d83c(0x222)+_0x2816dc[_0x57d83c(0x214)][_0x57d83c(0x23d)]+'\x22>'+_0x49aa2b+_0x57d83c(0x20d),'css':_0x5992c9,[_0x2662d1?_0x57d83c(0x212):_0x57d83c(0x1fb)]:{..._0x2d6cb0,..._0x2662d1?_0x526aaf(_0x2816dc,_0x2d6cb0):_0x25e660(_0x2816dc,_0x2d6cb0)}},_0x51a4ed={'method':_0x57d83c(0x231),'headers':{'Content-Type':_0x57d83c(0x1fa),'Accept':_0x57d83c(0x217),..._0x2f3869?{'Authorization':_0x2f3869[_0x57d83c(0x23e)]}:null},'body':JSON[_0x57d83c(0x23a)](_0x23f3c6)};return window[_0x57d83c(0x220)](_0x2929a4,_0x51a4ed)[_0x57d83c(0x1fc)](_0x1e1dcd=>{const _0xc599c=_0x57d83c;if(0xc8!==_0x1e1dcd[_0xc599c(0x238)])throw _0x1e1dcd;return _0x1e1dcd[_0xc599c(0x23c)]();})[_0x57d83c(0x1fc)](_0x2b2316=>{const _0xc741b4=_0x57d83c;_0x2816dc['ui'][_0xc741b4(0x230)][_0xc741b4(0x20b)](_0x3d2b55(_0x2816dc[_0xc741b4(0x214)],_0xc741b4(0x223)));const _0x4754e4=_0xc741b4(0x202)==typeof _0x49432e[_0xc741b4(0x211)]?_0x49432e[_0xc741b4(0x211)]():_0x49432e[_0xc741b4(0x211)];this[_0xc741b4(0x215)](_0x2b2316,_0x4754e4||_0xc741b4(0x224));});})[_0x1bbd79(0x1ee)](_0x3be39e=>{const _0xf2a05e=_0x1bbd79,_0x41cdfc=_0x2816dc[_0xf2a05e(0x23b)][_0xf2a05e(0x207)](_0xf2a05e(0x236));throw _0x2816dc['ui'][_0xf2a05e(0x230)][_0xf2a05e(0x20b)](_0x3d2b55(_0x2816dc[_0xf2a05e(0x214)],_0xf2a05e(0x1f8)),{'politeness':_0xf2a05e(0x234)}),_0x41cdfc[_0xf2a05e(0x1f5)](_0x3d2b55(_0x2816dc[_0xf2a05e(0x214)],_0xf2a05e(0x206))),_0x3be39e;})[_0x1bbd79(0x1f1)](()=>{const _0x31f076=_0x1bbd79;this[_0x31f076(0x235)]=!0x1,this[_0x31f076(0x200)]();});}[_0x58bfc3(0x215)](_0x2d05f2,_0x266ed7){const _0x270249=_0x58bfc3,_0x98b2eb=document[_0x270249(0x229)]('a');_0x98b2eb[_0x270249(0x228)]=window[_0x270249(0x1f2)][_0x270249(0x1f9)](_0x2d05f2),_0x98b2eb[_0x270249(0x21c)]=_0x266ed7,_0x98b2eb[_0x270249(0x20e)](),_0x98b2eb[_0x270249(0x237)]();}}
|
package/src/exportwordui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2712a4=_0x50ba;(function(_0x49f171,_0x2ede46){const _0x35ab54=_0x50ba,_0x51c17e=_0x49f171();while(!![]){try{const _0x25fc9c=-parseInt(_0x35ab54(0x1ba))/0x1+parseInt(_0x35ab54(0x1ab))/0x2*(-parseInt(_0x35ab54(0x1bb))/0x3)+-parseInt(_0x35ab54(0x1a3))/0x4*(-parseInt(_0x35ab54(0x19f))/0x5)+-parseInt(_0x35ab54(0x1b6))/0x6*(-parseInt(_0x35ab54(0x1bc))/0x7)+-parseInt(_0x35ab54(0x1ad))/0x8*(parseInt(_0x35ab54(0x1b3))/0x9)+parseInt(_0x35ab54(0x19a))/0xa+parseInt(_0x35ab54(0x19c))/0xb;if(_0x25fc9c===_0x2ede46)break;else _0x51c17e['push'](_0x51c17e['shift']());}catch(_0x1aa380){_0x51c17e['push'](_0x51c17e['shift']());}}}(_0x1414,0x4c08c));function _0x50ba(_0x470a1c,_0x2f99ec){const _0x1414a5=_0x1414();return _0x50ba=function(_0x50ba50,_0x20e50c){_0x50ba50=_0x50ba50-0x19a;let _0x203670=_0x1414a5[_0x50ba50];return _0x203670;},_0x50ba(_0x470a1c,_0x2f99ec);}import{Plugin as _0x58689d}from'ckeditor5/src/core.js';import{ButtonView as _0x554e62,MenuBarMenuListItemButtonView as _0x36e80c,SpinnerView as _0x6d3b0e}from'ckeditor5/src/ui.js';import _0x19f075 from'../theme/icons/exportword.svg';import{getTranslation as _0x19fbc4}from'./utils/common-translations.js';export default class i extends _0x58689d{static get[_0x2712a4(0x1a7)](){const _0x35e055=_0x2712a4;return _0x35e055(0x1a6);}[_0x2712a4(0x1b1)](){const _0x59f796=_0x2712a4,_0x2de60c=this[_0x59f796(0x1a2)];_0x2de60c['ui'][_0x59f796(0x1c0)][_0x59f796(0x1ae)](_0x59f796(0x1b2),()=>{const _0x2558e0=_0x59f796,_0x44b1be=_0x2de60c[_0x2558e0(0x19e)][_0x2558e0(0x1a0)](_0x2558e0(0x1b2)),_0x312235=this[_0x2558e0(0x1b4)](_0x554e62);return _0x312235[_0x2558e0(0x19b)]({'tooltip':!0x0}),_0x312235[_0x2558e0(0x1ac)](_0x2558e0(0x1c1))['to'](_0x44b1be,_0x2558e0(0x1a4)),_0x312235;}),_0x2de60c['ui'][_0x59f796(0x1c0)][_0x59f796(0x1ae)](_0x59f796(0x1a1),()=>this[_0x59f796(0x1b4)](_0x36e80c));}[_0x2712a4(0x1b4)](_0x5211ec){const _0x4a9eba=_0x2712a4,_0x1a6171=this[_0x4a9eba(0x1a2)],_0x43f3ae=_0x1a6171[_0x4a9eba(0x1a8)][_0x4a9eba(0x1a0)](_0x4a9eba(0x1b2))||{},_0x1361cb=_0x1a6171[_0x4a9eba(0x19e)][_0x4a9eba(0x1a0)](_0x4a9eba(0x1b2)),_0x1c9e4=new _0x5211ec(_0x1a6171[_0x4a9eba(0x1b8)]),_0x93f65b=new _0x6d3b0e();return _0x1c9e4[_0x4a9eba(0x1b5)][_0x4a9eba(0x1ae)](_0x93f65b),_0x93f65b[_0x4a9eba(0x1ac)](_0x4a9eba(0x1be))['to'](_0x1361cb,_0x4a9eba(0x1a4)),_0x1c9e4[_0x4a9eba(0x1bd)][_0x4a9eba(0x1ac)](_0x4a9eba(0x1be))['to'](_0x1361cb,_0x4a9eba(0x1a4),_0x2a54f7=>!_0x2a54f7),_0x1c9e4[_0x4a9eba(0x19b)]({'icon':_0x19f075}),_0x1c9e4[_0x4a9eba(0x1ac)](_0x4a9eba(0x1a9))['to'](_0x1361cb,_0x4a9eba(0x1a9)),_0x1c9e4[_0x4a9eba(0x1ac)](_0x4a9eba(0x1b9))['to'](_0x1361cb,_0x4a9eba(0x1a4),_0x3b3064=>_0x19fbc4(_0x1a6171[_0x4a9eba(0x1b8)],_0x3b3064?_0x4a9eba(0x1af):_0x4a9eba(0x1a5))),this[_0x4a9eba(0x19d)](_0x1c9e4,_0x4a9eba(0x1aa),()=>{const _0xb5baea=_0x4a9eba;_0x1a6171[_0xb5baea(0x1aa)](_0xb5baea(0x1b2),_0x43f3ae),_0x1a6171[_0xb5baea(0x1b7)][_0xb5baea(0x1b0)][_0xb5baea(0x1bf)]();}),_0x1c9e4;}}function _0x1414(){const _0x307a38=['ExportWordUI','pluginName','config','isEnabled','execute','8aKAbQI','bind','3472104sMwVbf','add','Exporting\x20Word\x20document','view','init','exportWord','9whDkwx','_createButton','children','8922iLuMbk','editing','locale','label','192800ChzFLe','54666zVPOMl','1043liSFNr','iconView','isVisible','focus','componentFactory','isOn','3579330TGhGtm','set','3921654ZWwchf','listenTo','commands','65uvrZke','get','menuBar:exportWord','editor','23116nbrktb','isBusy','Export\x20to\x20Word'];_0x1414=function(){return _0x307a38;};return _0x1414();}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3324(_0x4e7100,_0x5cff85){var _0xa061bf=_0xa061();return _0x3324=function(_0x3324b0,_0x2038d9){_0x3324b0=_0x3324b0-0x10f;var _0x1bc06a=_0xa061bf[_0x3324b0];return _0x1bc06a;},_0x3324(_0x4e7100,_0x5cff85);}(function(_0xfc77a3,_0x26634f){var _0x5278eb=_0x3324,_0x40529c=_0xfc77a3();while(!![]){try{var _0x1f2868=-parseInt(_0x5278eb(0x112))/0x1+parseInt(_0x5278eb(0x113))/0x2+-parseInt(_0x5278eb(0x111))/0x3+parseInt(_0x5278eb(0x114))/0x4+-parseInt(_0x5278eb(0x116))/0x5*(-parseInt(_0x5278eb(0x117))/0x6)+-parseInt(_0x5278eb(0x115))/0x7+parseInt(_0x5278eb(0x10f))/0x8*(parseInt(_0x5278eb(0x110))/0x9);if(_0x1f2868===_0x26634f)break;else _0x40529c['push'](_0x40529c['shift']());}catch(_0x5f0e5f){_0x40529c['push'](_0x40529c['shift']());}}}(_0xa061,0xbbd93));function _0xa061(){var _0x2a5845=['340911eixsXX','3914472mIEdgi','581773Crvoks','904116koOZqV','5304900MyhNuD','3534104cdatqj','95QNTITc','245226UMlZeR','128yUiVLE'];_0xa061=function(){return _0x2a5845;};return _0xa061();}export{default as ExportWord}from'./exportword.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x44a24f,_0x30b101){const t=_0x44a24f['t'];switch(_0x30b101){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 _0x30b101;}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0xc10a3a,_0x406b00){const _0x2f66c5=_0x3efb,_0x44c997=_0xc10a3a();while(!![]){try{const _0x8b1dd0=-parseInt(_0x2f66c5(0x1cc))/0x1*(parseInt(_0x2f66c5(0x1fb))/0x2)+-parseInt(_0x2f66c5(0x1f1))/0x3*(parseInt(_0x2f66c5(0x1c3))/0x4)+-parseInt(_0x2f66c5(0x1e8))/0x5*(parseInt(_0x2f66c5(0x1d7))/0x6)+parseInt(_0x2f66c5(0x1f5))/0x7*(parseInt(_0x2f66c5(0x1da))/0x8)+parseInt(_0x2f66c5(0x1be))/0x9+-parseInt(_0x2f66c5(0x1fa))/0xa*(parseInt(_0x2f66c5(0x1eb))/0xb)+-parseInt(_0x2f66c5(0x1f9))/0xc*(-parseInt(_0x2f66c5(0x1ee))/0xd);if(_0x8b1dd0===_0x406b00)break;else _0x44c997['push'](_0x44c997['shift']());}catch(_0x16375d){_0x44c997['push'](_0x44c997['shift']());}}}(_0x31ec,0xcb2c4));export function getStyles(_0xbdc71f){const _0x20ce68=_0x3efb;if(!_0xbdc71f)return new Promise(_0x1725bc=>_0x1725bc(''));const _0x320c62=[];for(const _0x422c00 of _0xbdc71f)_0x20ce68(0x1e0)!==_0x422c00?_0x320c62[_0x20ce68(0x1ea)](window[_0x20ce68(0x1b9)](_0x422c00)[_0x20ce68(0x1d3)](_0x2e6f12=>_0x2e6f12[_0x20ce68(0x1b6)]())):_0x320c62[_0x20ce68(0x1ea)](f());return Promise[_0x20ce68(0x1bb)](_0x320c62)[_0x20ce68(0x1d3)](_0x520ac0=>_0x520ac0[_0x20ce68(0x1cb)]('\x20')[_0x20ce68(0x1e3)]());}function _0x31ec(){const _0x10a58a=['80OjVEyI','mergeFields','$defaultValues','timeZone','cssText','getSuggestions','EDITOR_STYLES','name','comments','trim','config','users','suggestions','TrackChanges','8309580VXQCDQ','styleSheets','push','3113HTKaKe','getDefaultValues','getDataSetValues','13OzHASp','resolvedOptions','comment_threads','421143TTWqjX','Users','data','warn','478751OoAoSh','CommentsRepository','document','get','41160876HeKLyd','39290IJhTLQ','5268nTuYyh','timezone','ownerNode','getLabel','cssRules','DateTimeFormat','previewMode','map','text',':root','data-cke','fetch','collaboration_features','all','isResolved','merge_fields','7027389pLSHJz','MergeFieldsEditing','authorName','@external','author','4KhMUlq','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.','from','keys','content','plugins','has','locale','join','436nDwKtd','language','hasAttribute','length','indexOf','getCommentThreads','contentLanguage','then','.ck-content','createdAt','$labels','6MJDLCC','MergeFields','entries'];_0x31ec=function(){return _0x10a58a;};return _0x31ec();}function f(){const _0x205350=_0x3efb,_0x15f7af=[],_0xb81196=[];for(const _0x1a92e3 of Array[_0x205350(0x1c5)](document[_0x205350(0x1e9)])){if(_0x1a92e3[_0x205350(0x1fd)][_0x205350(0x1ce)](_0x205350(0x1b8))){for(const _0x45d408 of Array[_0x205350(0x1c5)](_0x1a92e3[_0x205350(0x1ff)]))-0x1!==_0x45d408[_0x205350(0x1de)][_0x205350(0x1d0)](_0x205350(0x1d4))?_0x15f7af[_0x205350(0x1ea)](_0x45d408[_0x205350(0x1de)]):-0x1!==_0x45d408[_0x205350(0x1de)][_0x205350(0x1d0)](_0x205350(0x1b7))&&_0xb81196[_0x205350(0x1ea)](_0x45d408[_0x205350(0x1de)]);}}return _0x15f7af[_0x205350(0x1cf)]||console[_0x205350(0x1f4)](_0x205350(0x1c4)),[..._0xb81196,..._0x15f7af][_0x205350(0x1cb)]('\x20')[_0x205350(0x1e3)]();}export function getConverterOptions(_0x3ec4e1,_0x5a661b={}){const _0x10e954=_0x3efb,_0x43947f=_0x3ec4e1[_0x10e954(0x1c8)][_0x10e954(0x1c9)](_0x10e954(0x1f2)),_0x50c085=_0x3ec4e1[_0x10e954(0x1c8)][_0x10e954(0x1c9)](_0x10e954(0x1f6)),_0xfcff2a=_0x3ec4e1[_0x10e954(0x1c8)][_0x10e954(0x1c9)](_0x10e954(0x1e7)),_0x56c96b=_0x5a661b;if(_0x43947f&&_0x50c085){const _0x15d611=getComments(_0x3ec4e1[_0x10e954(0x1c8)][_0x10e954(0x1f8)](_0x10e954(0x1f6))[_0x10e954(0x1d1)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x10e954(0x1c6)](_0x15d611)[_0x10e954(0x1cf)]&&(_0x56c96b[_0x10e954(0x1e2)]=_0x15d611);}if(_0x43947f&&_0xfcff2a){const _0x2b575c=_0x3ec4e1[_0x10e954(0x1c8)][_0x10e954(0x1f8)](_0x10e954(0x1e7)),_0x4ada92=_0x3ec4e1[_0x10e954(0x1c8)][_0x10e954(0x1f8)](_0x10e954(0x1f2)),_0x1cec2b=getSuggestions(_0x2b575c[_0x10e954(0x1df)]({'toJSON':!0x0}),_0x4ada92[_0x10e954(0x1e5)]);Object[_0x10e954(0x1c6)](_0x1cec2b)[_0x10e954(0x1cf)]&&(_0x56c96b[_0x10e954(0x1e6)]=_0x1cec2b);}return(_0x56c96b[_0x10e954(0x1e6)]||_0x56c96b[_0x10e954(0x1e2)])&&(_0x56c96b[_0x10e954(0x1fc)]=new Intl[(_0x10e954(0x200))]()[_0x10e954(0x1ef)]()[_0x10e954(0x1dd)]),_0x56c96b;}function _0x3efb(_0x138c20,_0x5a7632){const _0x31ecae=_0x31ec();return _0x3efb=function(_0x3efbe9,_0x4f8d9a){_0x3efbe9=_0x3efbe9-0x1b6;let _0x1a6b71=_0x31ecae[_0x3efbe9];return _0x1a6b71;},_0x3efb(_0x138c20,_0x5a7632);}export function getComments(_0xdde3f0){const _0x89eff2=_0x3efb,_0x168f0d={};if(!_0xdde3f0[_0x89eff2(0x1cf)])return _0x168f0d;for(const _0x4f9a96 of _0xdde3f0)_0x4f9a96[_0x89eff2(0x1e2)][_0x89eff2(0x202)](_0x4623bf=>{const _0x3cfae3=_0x89eff2;void 0x0===_0x168f0d[_0x4f9a96['id']]&&(_0x168f0d[_0x4f9a96['id']]=[]),_0x168f0d[_0x4f9a96['id']][_0x3cfae3(0x1ea)]({'author':_0x4623bf[_0x3cfae3(0x1c2)][_0x3cfae3(0x1e1)],'content':_0x4623bf[_0x3cfae3(0x1c7)],'created':_0x4623bf[_0x3cfae3(0x1d5)],'is_resolved':_0x4f9a96[_0x3cfae3(0x1bc)]});});return _0x168f0d;}export function getSuggestions(_0x1a2ae6,_0x36ddbd){const _0x4810e3=_0x3efb,_0x1d2e30={};if(!_0x1a2ae6[_0x4810e3(0x1cf)]||!_0x36ddbd[_0x4810e3(0x1cf)])return _0x1d2e30;for(const {id:_0x51b0b6,createdAt:_0x4ba5cb,authorId:_0xbb83e2,attributes:_0x5bcefc}of _0x1a2ae6){const _0x1ac952=_0x5bcefc&&_0x5bcefc[_0x4810e3(0x1c1)],_0x498ec3=_0x1ac952?_0x1ac952[_0x4810e3(0x1c0)]:_0x36ddbd[_0x4810e3(0x1f8)](_0xbb83e2)[_0x4810e3(0x1e1)];_0x1d2e30[_0x51b0b6]={'author':_0x498ec3,'created':_0x4ba5cb};}return _0x1d2e30;}export function getConverterOptionsV2(_0x3bc7a7,_0x515021={}){const _0x3a14e2=_0x3efb,_0x36b25b=_0x3bc7a7[_0x3a14e2(0x1c8)][_0x3a14e2(0x1c9)](_0x3a14e2(0x1f2)),_0x55ba26=_0x3bc7a7[_0x3a14e2(0x1c8)][_0x3a14e2(0x1c9)](_0x3a14e2(0x1f6)),_0x15e295=_0x3bc7a7[_0x3a14e2(0x1c8)][_0x3a14e2(0x1c9)](_0x3a14e2(0x1e7)),_0x3d0838=_0x3bc7a7[_0x3a14e2(0x1c8)][_0x3a14e2(0x1c9)](_0x3a14e2(0x1d8)),_0x106c01=_0x3bc7a7[_0x3a14e2(0x1ca)][_0x3a14e2(0x1d2)],_0x1b7d4a=_0x515021,_0x1917a9={};if(_0x1b7d4a[_0x3a14e2(0x1f7)]=_0x1b7d4a[_0x3a14e2(0x1f7)]||{},_0x1b7d4a[_0x3a14e2(0x1f7)][_0x3a14e2(0x1cd)]=_0x1b7d4a[_0x3a14e2(0x1f7)][_0x3a14e2(0x1cd)]||_0x106c01,_0x36b25b&&_0x55ba26){const _0x47c302=getCommentsV2(_0x3bc7a7[_0x3a14e2(0x1c8)][_0x3a14e2(0x1f8)](_0x3a14e2(0x1f6))[_0x3a14e2(0x1d1)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x47c302[_0x3a14e2(0x1cf)]&&(_0x1917a9[_0x3a14e2(0x1f0)]=_0x47c302);}if(_0x36b25b&&_0x15e295){const _0x5231f1=_0x3bc7a7[_0x3a14e2(0x1c8)][_0x3a14e2(0x1f8)](_0x3a14e2(0x1e7)),_0x3bc11e=_0x3bc7a7[_0x3a14e2(0x1c8)][_0x3a14e2(0x1f8)](_0x3a14e2(0x1f2)),_0x4a8595=getSuggestionsV2(_0x5231f1[_0x3a14e2(0x1df)]({'toJSON':!0x0}),_0x3bc11e[_0x3a14e2(0x1e5)]);_0x4a8595[_0x3a14e2(0x1cf)]&&(_0x1917a9[_0x3a14e2(0x1e6)]=_0x4a8595);}if(_0x3d0838){const _0x7f9b37=_0x3bc7a7[_0x3a14e2(0x1c8)][_0x3a14e2(0x1f8)](_0x3a14e2(0x1bf)),_0xd9d6f6=_0x7f9b37[_0x3a14e2(0x201)],{prefix:_0x127471,suffix:_0x4df400}=_0x3bc7a7[_0x3a14e2(0x1e4)][_0x3a14e2(0x1f8)](_0x3a14e2(0x1db));if(_0x1b7d4a[_0x3a14e2(0x1bd)]={'prefix':_0x127471,'suffix':_0x4df400},_0x3a14e2(0x1d6)!==_0xd9d6f6){_0x1b7d4a[_0x3a14e2(0x1bd)][_0x3a14e2(0x1f3)]={};const _0x21ae78=_0x3a14e2(0x1dc)===_0xd9d6f6?_0x7f9b37[_0x3a14e2(0x1ec)]():_0x7f9b37[_0x3a14e2(0x1ed)](_0xd9d6f6,!0x0);for(const _0x5dba9e of Object[_0x3a14e2(0x1d9)](_0x21ae78)){const [_0x43e0a1,_0x50bd87]=_0x5dba9e;_0x1b7d4a[_0x3a14e2(0x1bd)][_0x3a14e2(0x1f3)][_0x43e0a1]=null!==_0x50bd87?_0x50bd87:_0x7f9b37[_0x3a14e2(0x1fe)](_0x43e0a1);}}}return(_0x1917a9[_0x3a14e2(0x1f0)]||_0x1917a9[_0x3a14e2(0x1e6)])&&(_0x1b7d4a[_0x3a14e2(0x1fc)]=new Intl[(_0x3a14e2(0x200))]()[_0x3a14e2(0x1ef)]()[_0x3a14e2(0x1dd)],_0x1b7d4a[_0x3a14e2(0x1ba)]=_0x1917a9),_0x1b7d4a;}export function getCommentsV2(_0x59f0ca){const _0x308fd3=_0x3efb,_0x2fb0de=[];if(!_0x59f0ca[_0x308fd3(0x1cf)])return _0x2fb0de;for(const _0x1a953d of _0x59f0ca){const _0x1da2a7=_0x1a953d[_0x308fd3(0x1e2)][_0x308fd3(0x202)](_0x58d175=>({'author':_0x58d175[_0x308fd3(0x1c2)][_0x308fd3(0x1e1)],'content':_0x58d175[_0x308fd3(0x1c7)],'created_at':_0x58d175[_0x308fd3(0x1d5)]}));_0x2fb0de[_0x308fd3(0x1ea)]({'thread_id':_0x1a953d['id'],'is_resolved':_0x1a953d[_0x308fd3(0x1bc)],'comments':_0x1da2a7});}return _0x2fb0de;}export function getSuggestionsV2(_0x2f2b39,_0x5e1da5){const _0x316c4d=_0x3efb;return _0x2f2b39[_0x316c4d(0x1cf)]&&_0x5e1da5[_0x316c4d(0x1cf)]?_0x2f2b39[_0x316c4d(0x202)](({id:_0x8e68d1,createdAt:_0x39042a,authorId:_0x4ef219,attributes:_0x3f6570})=>{const _0x534ff7=_0x316c4d,_0x32d7af=_0x3f6570&&_0x3f6570[_0x534ff7(0x1c1)];return{'id':_0x8e68d1,'author':_0x32d7af?_0x32d7af[_0x534ff7(0x1c0)]:_0x5e1da5[_0x534ff7(0x1f8)](_0x4ef219)[_0x534ff7(0x1e1)],'created_at':_0x39042a};}):[];}
|