@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240410.0 → 0.0.0-nightly-20240412.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/track-changes.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/translations/ar.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/tr.po +2 -2
- package/lang/translations/uk.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2dd59=_0x1999;(function(_0x30aae9,_0x490f0e){const _0x59f603=_0x1999,_0x3c061a=_0x30aae9();while(!![]){try{const _0x297774=-parseInt(_0x59f603(0xc8))/0x1*(-parseInt(_0x59f603(0x13b))/0x2)+-parseInt(_0x59f603(0xdb))/0x3+-parseInt(_0x59f603(0xb6))/0x4+-parseInt(_0x59f603(0x102))/0x5*(parseInt(_0x59f603(0xc6))/0x6)+parseInt(_0x59f603(0xd8))/0x7*(parseInt(_0x59f603(0x134))/0x8)+-parseInt(_0x59f603(0x12b))/0x9*(parseInt(_0x59f603(0x11f))/0xa)+parseInt(_0x59f603(0x136))/0xb;if(_0x297774===_0x490f0e)break;else _0x3c061a['push'](_0x3c061a['shift']());}catch(_0x4343ce){_0x3c061a['push'](_0x3c061a['shift']());}}}(_0x1404,0xc69ae));import{Plugin as _0x9d2f04}from'ckeditor5/src/core.js';import{Collection as _0x35b9f6}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x23d36e,createDropdown as _0x4c9e9a,ListSeparatorView as _0x16c0c3,MenuBarMenuView as _0x19a7a5,MenuBarMenuListView as _0x1c48cb,MenuBarMenuListItemView as _0x45f16c,MenuBarMenuListItemButtonView as _0x472e32,SplitButtonView as _0x31aaf8,ViewModel as _0x1c3a57}from'ckeditor5/src/ui.js';import{Users as _0x2c769d,getDateTimeFormatter as _0x22902a,getAllMarkersDomElementsSorted as _0x3cac47}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x3181a3 from'./trackchangesediting.js';import _0x28af5d from'./ui/suggestioncontroller.js';import _0x3e009e from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x2c194b}from'./utils/common-translations.js';import _0x505083 from'../theme/icons/track-changes.svg';function _0x1999(_0x416107,_0x2a8157){const _0x140481=_0x1404();return _0x1999=function(_0x19995b,_0x2d0e76){_0x19995b=_0x19995b-0xb0;let _0x40f6aa=_0x140481[_0x19995b];return _0x40f6aa;},_0x1999(_0x416107,_0x2a8157);}export default class d extends _0x9d2f04{static get[_0x2dd59(0x12f)](){const _0x368657=_0x2dd59;return[_0x3181a3,_0x2c769d,_0x368657(0x118),_0x368657(0x130),_0x368657(0xd4)];}static get[_0x2dd59(0xfd)](){const _0x2734c8=_0x2dd59;return _0x2734c8(0xc0);}constructor(_0xdb4eb7){const _0x546675=_0x2dd59;super(_0xdb4eb7),this[_0x546675(0xbd)]=new Map(),this[_0x546675(0x109)]=new Map(),this[_0x546675(0xd5)]=new Map(),this[_0x546675(0x110)]=new Map();const _0xf43533=this[_0x546675(0xe0)][_0x546675(0x107)];_0xf43533[_0x546675(0x11e)](_0x546675(0xd6),_0x3e009e),_0xf43533[_0x546675(0x11e)](_0x546675(0xfe),!0x1),this[_0x546675(0xed)]=_0xf43533[_0x546675(0xbe)](_0x546675(0xfe));}[_0x2dd59(0xce)](_0x33abc7,_0x5cfc45){const _0x38935b=_0x2dd59;0x0===this[_0x38935b(0x110)][_0x38935b(0x12e)]&&setTimeout(()=>{const _0x16ecbf=_0x38935b;for(const [_0x22b455,_0x44d650]of this[_0x16ecbf(0x110)]){const _0x50b5eb=this[_0x16ecbf(0xbd)][_0x16ecbf(0x108)](_0x22b455);_0x50b5eb||_0x44d650?_0x50b5eb&&_0x44d650&&this[_0x16ecbf(0xff)](_0x22b455):this[_0x16ecbf(0xe8)](_0x22b455);}this[_0x16ecbf(0x110)][_0x16ecbf(0xea)](),this[_0x16ecbf(0xe0)][_0x16ecbf(0xca)][_0x16ecbf(0xbe)](_0x16ecbf(0xd4))[_0x16ecbf(0x128)](),this[_0x16ecbf(0xda)]();},0xa),this[_0x38935b(0x110)][_0x38935b(0x12c)](_0x33abc7,_0x5cfc45);}[_0x2dd59(0x132)](){const _0x385692=_0x2dd59,_0x704ae1=this[_0x385692(0xe0)],_0x4a7a0d=_0x704ae1[_0x385692(0xca)][_0x385692(0xbe)](_0x385692(0xe2)),_0x52bbcf=_0x704ae1[_0x385692(0xca)][_0x385692(0xbe)](_0x385692(0x130)),_0x30f822=_0x704ae1[_0x385692(0xca)][_0x385692(0xbe)](_0x385692(0xd4)),_0x355fbf=_0x704ae1[_0x385692(0xca)][_0x385692(0xbe)](_0x385692(0x118));this[_0x385692(0xe3)](),_0x30f822[_0x385692(0xb2)](()=>{const _0x15f249=_0x385692,_0x9f4873=[];for(const [_0xf37d51,_0x16740a]of Array[_0x15f249(0xe1)](this[_0x15f249(0xbd)])){const _0x996701=_0xf37d51[_0x15f249(0xef)](),_0x8d9e3a=[];for(const _0x394345 of _0x996701){if(!_0x394345[_0x15f249(0x131)])continue;if(_0x394345[_0x15f249(0x113)]){_0x8d9e3a[_0x15f249(0x117)](..._0x394345[_0x15f249(0xfb)]());continue;}const _0x3e0160=_0x394345[_0x15f249(0x10f)]();if(_0x8d9e3a[_0x15f249(0xd2)]>0x0){const _0x3b15a8=_0x8d9e3a[0x0][_0x15f249(0xb7)](_0x3e0160);if(_0x3b15a8){_0x8d9e3a[0x0]=_0x3b15a8;continue;}}_0x8d9e3a[_0x15f249(0x117)](_0x3e0160);}_0x9f4873[_0x15f249(0x117)]([_0x16740a[_0x15f249(0x112)],_0x8d9e3a]);}return _0x9f4873;}),this[_0x385692(0x105)](_0x4a7a0d,_0x385692(0xcc),(_0x3a95c7,_0x482360)=>{const _0x299c57=_0x385692;this[_0x299c57(0x105)](_0x482360,_0x299c57(0x115),(_0x29da4a,_0x567690,_0x12f70d,_0x4eb296)=>{const _0xe36083=_0x299c57;_0x482360[_0xe36083(0x131)]&&(null==_0x12f70d?(this[_0xe36083(0xc5)](_0x4eb296[_0xe36083(0xb3)]),this[_0xe36083(0xce)](_0x482360,!0x1)):(this[_0xe36083(0xc5)](_0x12f70d[_0xe36083(0xb3)]),null==_0x4eb296&&this[_0xe36083(0xce)](_0x482360,!0x0)));}),null!==_0x482360[_0x299c57(0xc4)]?this[_0x299c57(0xc5)](_0x482360[_0x299c57(0xb3)]):this[_0x299c57(0xce)](_0x482360,!0x1);}),this[_0x385692(0x105)](_0x4a7a0d,_0x385692(0xf7),(_0x22b03f,_0x396bd6,_0x2fcd88)=>{const _0xbb93a3=_0x385692;this[_0xbb93a3(0x13e)](_0x396bd6,_0xbb93a3(0x115)),this[_0xbb93a3(0x110)][_0xbb93a3(0xfc)](_0x396bd6),this[_0xbb93a3(0xbd)][_0xbb93a3(0x108)](_0x396bd6)&&this[_0xbb93a3(0xff)](_0x396bd6),_0x2fcd88&&this[_0xbb93a3(0xc5)](_0x2fcd88[_0xbb93a3(0xb3)]);}),this[_0x385692(0x105)](_0x4a7a0d,_0x385692(0x11b),(_0x4ab1d6,_0x96c9f2)=>{const _0x3b239c=_0x385692;this[_0x3b239c(0xc5)](_0x96c9f2);}),this[_0x385692(0x105)](_0x52bbcf,_0x385692(0x135),()=>{const _0x425342=_0x385692;this[_0x425342(0xda)]();}),this[_0x385692(0x105)](_0x355fbf,_0x385692(0xf1),(_0x33c9c4,{threadId:_0x402515,isFromAdapter:_0x4b73fc})=>{const _0x3021ec=_0x385692;if(_0x4b73fc||!_0x4a7a0d[_0x3021ec(0xf2)](_0x402515))return;const _0x181228=_0x4a7a0d[_0x3021ec(0x11d)](_0x402515);this[_0x3021ec(0xbd)][_0x3021ec(0xbe)](_0x181228)[_0x3021ec(0x112)][_0x3021ec(0xc2)]();},{'priority':_0x385692(0xdc)});}[_0x2dd59(0xda)](){const _0x1b0138=_0x2dd59,_0x25a7f6=this[_0x1b0138(0xe0)][_0x1b0138(0xca)][_0x1b0138(0xbe)](_0x1b0138(0x130)),_0x12fe0d=this[_0x1b0138(0xe0)][_0x1b0138(0xca)][_0x1b0138(0xbe)](_0x1b0138(0xe2)),_0xc72e59=Array[_0x1b0138(0xe1)](_0x25a7f6[_0x1b0138(0x116)],_0x3019f2=>_0x3019f2[_0x1b0138(0xd9)])[_0x1b0138(0xcd)](_0x3ec68f=>this[_0x1b0138(0x109)][_0x1b0138(0x108)](_0x3ec68f)),_0x891c61=[];for(const _0x147b36 of _0xc72e59){const _0x2b6cfc=this[_0x1b0138(0x109)][_0x1b0138(0xbe)](_0x147b36)[_0x1b0138(0x13c)][_0x1b0138(0xef)]();_0x891c61[_0x1b0138(0x117)](..._0x2b6cfc[_0x1b0138(0xe4)]((_0xe4ccc3,_0x5c571b)=>[..._0xe4ccc3,..._0x5c571b[_0x1b0138(0x13d)]()],[]));}_0x12fe0d[_0x1b0138(0xb0)]=_0x891c61;}[_0x2dd59(0xe3)](){const _0x57195b=_0x2dd59,_0x4d5d33=this[_0x57195b(0xe0)],_0x5529c5=_0x4d5d33[_0x57195b(0xb9)],_0x7f7b22=_0x2c194b(_0x5529c5,_0x57195b(0xf8)),_0x4b4a34=new _0x35b9f6([{'type':_0x57195b(0x125),'model':new _0x1c3a57({'withText':!0x0,'label':_0x7f7b22,'commandName':_0x57195b(0x11c)})},{'type':_0x57195b(0xeb)},{'type':_0x57195b(0xf6),'model':new _0x1c3a57({'withText':!0x0,'label':_0x2c194b(_0x5529c5,_0x57195b(0x123)),'commandName':_0x57195b(0x137)})},{'type':_0x57195b(0xf6),'model':new _0x1c3a57({'withText':!0x0,'label':_0x2c194b(_0x5529c5,_0x57195b(0x10a)),'commandName':_0x57195b(0xd3)})},{'type':_0x57195b(0xf6),'model':new _0x1c3a57({'withText':!0x0,'label':_0x2c194b(_0x5529c5,_0x57195b(0x126)),'commandName':_0x57195b(0x10d)})},{'type':_0x57195b(0xf6),'model':new _0x1c3a57({'withText':!0x0,'label':_0x2c194b(_0x5529c5,_0x57195b(0xe6)),'commandName':_0x57195b(0x12a)})}]);for(const _0x42ef2b of _0x4b4a34)if(ae(_0x42ef2b)){const _0x229742=_0x4d5d33[_0x57195b(0xd7)][_0x57195b(0xbe)](_0x42ef2b[_0x57195b(0x13c)][_0x57195b(0xdd)]);_0x42ef2b[_0x57195b(0x13c)][_0x57195b(0x138)](_0x57195b(0xe5),_0x57195b(0xd0))['to'](_0x229742,_0x57195b(0xbb),_0x57195b(0xd0));}_0x4d5d33['ui'][_0x57195b(0x139)][_0x57195b(0x100)](_0x57195b(0x11c),_0x5544c1=>this[_0x57195b(0xee)](_0x5544c1,_0x4b4a34,_0x7f7b22)),_0x4d5d33['ui'][_0x57195b(0x139)][_0x57195b(0x100)](_0x57195b(0x120),_0x42cfb7=>this[_0x57195b(0xb8)](_0x42cfb7,_0x4b4a34,_0x7f7b22));}[_0x2dd59(0xee)](_0x120ff3,_0xf397cf,_0x252981){const _0x4b7de7=_0x2dd59,_0x133cca=_0x4c9e9a(_0x120ff3,_0x31aaf8),_0x35c47a=this[_0x4b7de7(0xe0)][_0x4b7de7(0xd7)][_0x4b7de7(0xbe)](_0x4b7de7(0x11c));_0x133cca[_0x4b7de7(0x10c)][_0x4b7de7(0x12c)]({'tooltip':_0x252981,'label':_0x252981,'icon':_0x505083}),_0x133cca[_0x4b7de7(0x10c)][_0x4b7de7(0x138)](_0x4b7de7(0xe5))['to'](_0x35c47a,_0x4b7de7(0xbb)),_0x133cca[_0x4b7de7(0x10c)]['on'](_0x4b7de7(0xf9),()=>{const _0x4d8427=_0x4b7de7;_0x35c47a[_0x4d8427(0xf9)](),this[_0x4d8427(0xe0)][_0x4d8427(0x103)][_0x4d8427(0x112)][_0x4d8427(0xc2)]();}),_0x23d36e(_0x133cca,_0xf397cf);const _0x2d59b9=[];for(const _0x2d8cee of _0xf397cf)ae(_0x2d8cee)&&_0x2d59b9[_0x4b7de7(0x117)](this[_0x4b7de7(0xe0)][_0x4b7de7(0xd7)][_0x4b7de7(0xbe)](_0x2d8cee[_0x4b7de7(0x13c)][_0x4b7de7(0xdd)]));const _0x5621f5=_0x133cca[_0x4b7de7(0x10c)];return _0x5621f5[_0x4b7de7(0xe7)][_0x4b7de7(0xcb)](_0x4b7de7(0xd0)),_0x5621f5[_0x4b7de7(0x111)][_0x4b7de7(0xcb)](_0x4b7de7(0xd0)),_0x5621f5[_0x4b7de7(0xe7)][_0x4b7de7(0x138)](_0x4b7de7(0xd0))['to'](_0x35c47a,_0x4b7de7(0xd0)),_0x5621f5[_0x4b7de7(0x111)][_0x4b7de7(0x138)](_0x4b7de7(0xd0))[_0x4b7de7(0x10b)](_0x2d59b9,_0x4b7de7(0xd0),(..._0x5abc89)=>_0x5abc89[_0x4b7de7(0x124)](_0x4f62ce=>_0x4f62ce)),_0x133cca['on'](_0x4b7de7(0xf9),_0xf9df82=>{const _0x3ee9e6=_0x4b7de7;this[_0x3ee9e6(0xe0)][_0x3ee9e6(0xf9)](_0xf9df82[_0x3ee9e6(0xc9)][_0x3ee9e6(0xdd)]),this[_0x3ee9e6(0xe0)][_0x3ee9e6(0x103)][_0x3ee9e6(0x112)][_0x3ee9e6(0xc2)]();}),_0x133cca;}[_0x2dd59(0xb8)](_0xefb344,_0x76260a,_0x10e9ae){const _0x587270=_0x2dd59,_0x3336bb=new _0x19a7a5(_0xefb344),_0x3368aa=this[_0x587270(0xe0)][_0x587270(0xd7)][_0x587270(0xbe)](_0x587270(0x11c));_0x3336bb[_0x587270(0x10c)][_0x587270(0x12c)]({'label':_0x10e9ae,'icon':_0x505083});const _0x298dbd=new _0x1c48cb(_0xefb344);for(const _0x4eaeb2 of _0x76260a){if(_0x587270(0xeb)==_0x4eaeb2[_0x587270(0xc3)]){_0x298dbd[_0x587270(0xfa)][_0x587270(0x100)](new _0x16c0c3(_0xefb344));continue;}const _0x310442=new _0x45f16c(_0xefb344,_0x3336bb),_0x461fc5=new _0x472e32(_0xefb344),_0x538b5c=_0x4eaeb2[_0x587270(0x13c)];_0x461fc5[_0x587270(0x138)](...Object[_0x587270(0xe9)](_0x538b5c))['to'](_0x538b5c),_0x461fc5[_0x587270(0xba)](_0x587270(0xf9))['to'](_0x3336bb),_0x461fc5['on'](_0x587270(0xf9),()=>{const _0xb4ce44=_0x587270;this[_0xb4ce44(0xe0)][_0xb4ce44(0xf9)](_0x538b5c[_0xb4ce44(0xdd)]),this[_0xb4ce44(0xe0)][_0xb4ce44(0x103)][_0xb4ce44(0x112)][_0xb4ce44(0xc2)]();}),_0x310442[_0x587270(0xde)][_0x587270(0x100)](_0x461fc5),_0x298dbd[_0x587270(0xfa)][_0x587270(0x100)](_0x310442);}return _0x3336bb[_0x587270(0x138)](_0x587270(0xd0))['to'](_0x3368aa,_0x587270(0xd0)),_0x3336bb[_0x587270(0x127)][_0x587270(0xde)][_0x587270(0x100)](_0x298dbd),_0x3336bb;}[_0x2dd59(0xe8)](_0x2259a2){const _0x1db11c=_0x2dd59,_0x3938ba=this[_0x1db11c(0xe0)],_0x3a5492=_0x3938ba[_0x1db11c(0x107)],_0x32d202=_0x3938ba[_0x1db11c(0xca)][_0x1db11c(0xbe)](_0x1db11c(0x130)),_0x1b87f=_0x3938ba[_0x1db11c(0xca)][_0x1db11c(0xbe)](_0x1db11c(0x118)),_0x5e992e=_0x3938ba[_0x1db11c(0xca)][_0x1db11c(0xbe)](_0x1db11c(0xd4)),_0x575fa6=_0x3938ba[_0x1db11c(0xca)][_0x1db11c(0xbe)](_0x2c769d)['me'],_0x331e1b=_0x3a5492[_0x1db11c(0xbe)](_0x1db11c(0x11c))[_0x1db11c(0x114)],{CommentsListView:_0x2f3055,CommentThreadInputView:_0x5afc68}=_0x3938ba[_0x1db11c(0xca)][_0x1db11c(0xbe)](_0x1db11c(0xbf));let _0x1397b2,_0x4620f9;this[_0x1db11c(0xd5)][_0x1db11c(0x108)](_0x2259a2['id'])?(_0x4620f9=this[_0x1db11c(0xd5)][_0x1db11c(0xbe)](_0x2259a2['id']),_0x1397b2=_0x4620f9[_0x1db11c(0x133)]):(_0x1397b2=new _0x331e1b(_0x3938ba[_0x1db11c(0xb9)],_0x2259a2,_0x575fa6,{'disableComments':this[_0x1db11c(0xed)],'editorConfig':_0x3a5492[_0x1db11c(0xbe)](_0x1db11c(0xbc)),'maxCommentsWhenCollapsed':_0x3a5492[_0x1db11c(0xbe)](_0x1db11c(0x11a)),'maxThreadTotalWeight':_0x3a5492[_0x1db11c(0xbe)](_0x1db11c(0xf0)),'maxCommentCharsWhenCollapsed':_0x3a5492[_0x1db11c(0xbe)](_0x1db11c(0x104)),'formatDateTime':_0x22902a(_0x3a5492[_0x1db11c(0xbe)](_0x1db11c(0xb9))),'CommentView':_0x3a5492[_0x1db11c(0xbe)](_0x1db11c(0x12d))[_0x1db11c(0xb5)],'CommentsListView':_0x2f3055,'CommentThreadInputView':_0x5afc68}),_0x1397b2[_0x1db11c(0x119)]['on'](_0x1db11c(0xf9),()=>{const _0x186fd5=_0x1db11c;_0x3938ba[_0x186fd5(0x103)][_0x186fd5(0x112)][_0x186fd5(0xc2)]();}),_0x1397b2[_0x1db11c(0xdf)]['on'](_0x1db11c(0xf9),()=>{const _0x3a89be=_0x1db11c;_0x3938ba[_0x3a89be(0x103)][_0x3a89be(0x112)][_0x3a89be(0xc2)]();}),_0x4620f9=_0x32d202[_0x1db11c(0x121)](this[_0x1db11c(0xe0)][_0x1db11c(0xb9)],_0x1397b2),_0x4620f9[_0x1db11c(0x138)](_0x1db11c(0xf5))['to'](_0x1397b2,_0x1db11c(0xf5)),_0x4620f9[_0x1db11c(0x138)](_0x1db11c(0xd2))['to'](_0x1397b2),_0x4620f9[_0x1db11c(0x138)](_0x1db11c(0xc3))['to'](_0x1397b2,_0x1db11c(0xc3),_0x3a0f1f=>_0x1db11c(0xf4)+_0x3a0f1f),this[_0x1db11c(0xd5)][_0x1db11c(0x12c)](_0x2259a2['id'],_0x4620f9));const _0xb49d56=_0x1b87f[_0x1db11c(0x13a)](_0x2259a2[_0x1db11c(0xc7)],_0x1397b2),_0x3e7407=new _0x28af5d(_0x3938ba,_0x2259a2,_0x1397b2,_0xb49d56),_0x1d83fc=_0x2259a2[_0x1db11c(0xef)]()[_0x1db11c(0xcd)](_0x112519=>_0x112519[_0x1db11c(0x131)]);_0x1397b2[_0x1db11c(0x10e)]=_0x3938ba[_0x1db11c(0xca)][_0x1db11c(0xbe)](_0x1db11c(0xe2))[_0x1db11c(0xf3)][_0x1db11c(0x101)](_0x1d83fc),this[_0x1db11c(0xbd)][_0x1db11c(0x12c)](_0x2259a2,_0x3e7407),this[_0x1db11c(0x109)][_0x1db11c(0x12c)](_0x1397b2,_0x3e7407);const _0x4059da=_0x32d202[_0x1db11c(0x129)]({'view':_0x4620f9,'target':()=>{const _0x4c51fc=_0x1db11c,_0x23ae9e=[],_0x55640a=_0x2259a2[_0x4c51fc(0xef)]()[_0x4c51fc(0xcd)](_0x174afe=>_0x174afe[_0x4c51fc(0x131)]);for(const _0x14e720 of _0x55640a)_0x23ae9e[_0x4c51fc(0x117)](..._0x14e720[_0x4c51fc(0xb4)]());return _0x3cac47(_0x3938ba[_0x4c51fc(0x103)],_0x23ae9e);},'type':()=>_0x1db11c(0xf4)+_0x3e7407[_0x1db11c(0x112)][_0x1db11c(0xc3)]});_0x1b87f[_0x1db11c(0xb1)](_0x1397b2,_0x4059da),_0x32d202[_0x1db11c(0x100)](_0x4059da),_0x5e992e[_0x1db11c(0xcf)](_0x4059da);}[_0x2dd59(0xff)](_0x4bfcc6){const _0x5a9bca=_0x2dd59,_0x119f15=this[_0x5a9bca(0xe0)][_0x5a9bca(0xca)][_0x5a9bca(0xbe)](_0x5a9bca(0x118)),_0x1a4658=this[_0x5a9bca(0xe0)][_0x5a9bca(0xca)][_0x5a9bca(0xbe)](_0x5a9bca(0x130)),_0x448595=this[_0x5a9bca(0xbd)][_0x5a9bca(0xbe)](_0x4bfcc6),_0x52462b=_0x448595[_0x5a9bca(0x112)],_0x2374f4=_0x1a4658[_0x5a9bca(0xec)](_0x52462b);_0x119f15[_0x5a9bca(0x106)](_0x52462b),_0x2374f4&&_0x1a4658[_0x5a9bca(0x122)](_0x2374f4),this[_0x5a9bca(0xbd)][_0x5a9bca(0xfc)](_0x4bfcc6),this[_0x5a9bca(0x109)][_0x5a9bca(0xfc)](_0x52462b),_0x448595[_0x5a9bca(0xd1)]();}[_0x2dd59(0xc5)](_0x53d743){const _0x583d20=_0x2dd59;if(!_0x53d743[_0x583d20(0x131)]||!this[_0x583d20(0xbd)][_0x583d20(0x108)](_0x53d743))return;const _0x2d17fb=this[_0x583d20(0xe0)][_0x583d20(0xca)][_0x583d20(0xbe)](_0x583d20(0xe2)),_0x32e9c8=this[_0x583d20(0xbd)][_0x583d20(0xbe)](_0x53d743),_0x4ff2d2=_0x53d743[_0x583d20(0xef)]();_0x32e9c8[_0x583d20(0x112)][_0x583d20(0x10e)]=_0x2d17fb[_0x583d20(0xf3)][_0x583d20(0x101)](_0x4ff2d2);}[_0x2dd59(0xd1)](){const _0x1fdcc9=_0x2dd59;for(const _0x4941f4 of this[_0x1fdcc9(0xbd)][_0x1fdcc9(0xe9)]())this[_0x1fdcc9(0xff)](_0x4941f4);for(const _0x59a313 of this[_0x1fdcc9(0xd5)][_0x1fdcc9(0xc1)]())_0x59a313[_0x1fdcc9(0x133)][_0x1fdcc9(0xd1)]();super[_0x1fdcc9(0xd1)]();}}function _0x1404(){const _0x287c79=['getAllAdjacentSuggestions','comments.maxThreadTotalWeight','addComment','hasSuggestion','_descriptionFactory','suggestion-','isDirty','button','suggestionUnloaded','Track\x20changes','execute','items','getRanges','delete','pluginName','trackChanges.disableComments','_destroyController','add','getDescriptions','5JiuPCX','editing','comments.maxCommentCharsWhenCollapsed','listenTo','_unbindEditors','config','has','_viewToController','Accept\x20all\x20selected\x20suggestions','toMany','buttonView','discardAllSuggestions','descriptionParts','getFirstRange','_handleControllerBuffer','arrowView','view','isMultiRange','SuggestionThreadView','change:previous','activeAnnotations','push','CommentsRepository','acceptButton','comments.maxCommentsWhenCollapsed','suggestionChanged','trackChanges','getSuggestion','define','10otNzkT','menuBar:trackChanges','createAnnotationView','remove','Accept\x20all\x20suggestions','some','switchbutton','Discard\x20all\x20suggestions','panelView','refreshSelectedViews','createAnnotation','discardSelectedSuggestions','11430297LBMeGo','set','comments','size','requires','Annotations','isInContent','init','mainView','8WecGEG','change:activeAnnotations','45401257pnUZJe','acceptAllSuggestions','bind','componentFactory','createCommentThreadController','1238HXJlnS','model','getMarkerNames','stopListening','activeMarkers','_bindAnnotationToEditors','addSourceCollector','head','getMarkers','CommentView','5510728IChfKb','getJoined','_createMenuBarMenu','locale','delegate','value','comments.editorConfig','_suggestionToController','get','CommentsUI','TrackChangesUI','values','focus','type','previous','_updateController','7067208fSwJBn','commentThread','1061mCXtfr','source','plugins','unbind','suggestionLoaded','filter','_handleSuggestionControllerDelayed','registerAnnotation','isEnabled','destroy','length','acceptSelectedSuggestions','EditorAnnotations','_annotationViews','trackChanges.SuggestionThreadView','commands','6718131AKErJp','innerView','_refreshActiveMarkers','3314430TUZpfE','lowest','commandName','children','discardButton','editor','from','TrackChangesEditing','_addUIComponentsToFactory','reduce','isOn','Discard\x20all\x20selected\x20suggestions','actionView','_initializeController','keys','clear','separator','getByInnerView','_disableComments','_createToolbarButton'];_0x1404=function(){return _0x287c79;};return _0x1404();}function ae(_0x294fb2){const _0x3ab6f8=_0x2dd59;return _0x3ab6f8(0x13c)in _0x294fb2;}
|
|
23
|
+
const _0x4d9881=_0x524e;(function(_0x2419a3,_0x2c8558){const _0x10d63f=_0x524e,_0x46e9e9=_0x2419a3();while(!![]){try{const _0x34dff0=-parseInt(_0x10d63f(0x1e5))/0x1+parseInt(_0x10d63f(0x1e1))/0x2*(-parseInt(_0x10d63f(0x1f4))/0x3)+parseInt(_0x10d63f(0x1d3))/0x4*(parseInt(_0x10d63f(0x22f))/0x5)+parseInt(_0x10d63f(0x23c))/0x6*(-parseInt(_0x10d63f(0x1c6))/0x7)+-parseInt(_0x10d63f(0x222))/0x8*(-parseInt(_0x10d63f(0x1cc))/0x9)+parseInt(_0x10d63f(0x1d8))/0xa+parseInt(_0x10d63f(0x1d7))/0xb*(parseInt(_0x10d63f(0x201))/0xc);if(_0x34dff0===_0x2c8558)break;else _0x46e9e9['push'](_0x46e9e9['shift']());}catch(_0x4a52a1){_0x46e9e9['push'](_0x46e9e9['shift']());}}}(_0x1f77,0x69773));import{Plugin as _0x1d918d}from'ckeditor5/src/core.js';import{Collection as _0x23a11e}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x258b23,createDropdown as _0x590ce0,ListSeparatorView as _0x35a246,MenuBarMenuView as _0x4c90d9,MenuBarMenuListView as _0x2c8dae,MenuBarMenuListItemView as _0x50254a,MenuBarMenuListItemButtonView as _0x50de46,SplitButtonView as _0x286416,ViewModel as _0xd97348}from'ckeditor5/src/ui.js';import{Users as _0x3d3c2c,getDateTimeFormatter as _0x140426,getAllMarkersDomElementsSorted as _0x385d41}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x14dd71 from'./trackchangesediting.js';import _0x1aed12 from'./ui/suggestioncontroller.js';function _0x524e(_0x395cc4,_0x4e29e7){const _0x1f77fd=_0x1f77();return _0x524e=function(_0x524e23,_0x274049){_0x524e23=_0x524e23-0x1ae;let _0x432528=_0x1f77fd[_0x524e23];return _0x432528;},_0x524e(_0x395cc4,_0x4e29e7);}import _0x5a4500 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x30a0ef}from'./utils/common-translations.js';import _0x502ce5 from'../theme/icons/track-changes.svg';function _0x1f77(){const _0x56e610=['suggestion-','_viewToController','get','_addUIComponentsToFactory','_destroyController','discardButton','acceptAllSuggestions','descriptionParts','acceptButton','isOn','previous','5087436IkEaXx','_suggestionToController','getRanges','_createMenuBarMenu','isEnabled','comments.maxThreadTotalWeight','_descriptionFactory','Accept\x20all\x20selected\x20suggestions','comments.editorConfig','editor','keys','CommentsUI','head','hasSuggestion','TrackChangesEditing','suggestionUnloaded','commands','commandName','length','_updateController','discardAllSuggestions','view','createAnnotationView','bind','_createToolbarButton','editing','delete','commentThread','switchbutton','componentFactory','config','_handleSuggestionControllerDelayed','TrackChangesUI','11216LDDcBb','_refreshActiveMarkers','getSuggestion','arrowView','source','getJoined','model','mainView','EditorAnnotations','trackChanges','registerAnnotation','change:previous','values','3588930BRZkii','init','activeAnnotations','delegate','innerView','trackChanges.SuggestionThreadView','children','_disableComments','focus','isDirty','panelView','unbind','comments.maxCommentsWhenCollapsed','492GfXYMg','pluginName','menuBar:trackChanges','SuggestionThreadView','isInContent','execute','actionView','createAnnotation','trackChanges.disableComments','remove','value','suggestionChanged','Annotations','CommentView','filter','getAllAdjacentSuggestions','_bindAnnotationToEditors','Accept\x20all\x20suggestions','define','Discard\x20all\x20selected\x20suggestions','getByInnerView','lowest','buttonView','button','addSourceCollector','has','1106cLYfOs','activeMarkers','requires','_unbindEditors','from','Discard\x20all\x20suggestions','2268qVvsCv','getFirstRange','_initializeController','plugins','separator','discardSelectedSuggestions','listenTo','4fHNxmP','change:activeAnnotations','comments','Track\x20changes','11IAXvgM','3676820jQrlCt','locale','type','destroy','reduce','toMany','set','some','addComment','9602BHvhlz','size','clear','_handleControllerBuffer','760045tXtBEu','acceptSelectedSuggestions','add','push','createCommentThreadController','CommentsRepository','isMultiRange','getMarkerNames','refreshSelectedViews','getMarkers','comments.maxCommentCharsWhenCollapsed','items','_annotationViews','getDescriptions','suggestionLoaded','411viabUg','stopListening'];_0x1f77=function(){return _0x56e610;};return _0x1f77();}export default class d extends _0x1d918d{static get[_0x4d9881(0x1c8)](){const _0x20fae2=_0x4d9881;return[_0x14dd71,_0x3d3c2c,_0x20fae2(0x1ea),_0x20fae2(0x1b8),_0x20fae2(0x22a)];}static get[_0x4d9881(0x23d)](){const _0x5a3ada=_0x4d9881;return _0x5a3ada(0x221);}constructor(_0x5e0016){const _0x3d4b8f=_0x4d9881;super(_0x5e0016),this[_0x3d4b8f(0x202)]=new Map(),this[_0x3d4b8f(0x1f7)]=new Map(),this[_0x3d4b8f(0x1f1)]=new Map(),this[_0x3d4b8f(0x1e4)]=new Map();const _0xded441=this[_0x3d4b8f(0x20a)][_0x3d4b8f(0x21f)];_0xded441[_0x3d4b8f(0x1be)](_0x3d4b8f(0x234),_0x5a4500),_0xded441[_0x3d4b8f(0x1be)](_0x3d4b8f(0x1b4),!0x1),this[_0x3d4b8f(0x236)]=_0xded441[_0x3d4b8f(0x1f8)](_0x3d4b8f(0x1b4));}[_0x4d9881(0x220)](_0xcdead5,_0x30f4f3){const _0x3d3ca7=_0x4d9881;0x0===this[_0x3d3ca7(0x1e4)][_0x3d3ca7(0x1e2)]&&setTimeout(()=>{const _0xc3fab3=_0x3d3ca7;for(const [_0x1ef931,_0x2856d0]of this[_0xc3fab3(0x1e4)]){const _0x6f11fd=this[_0xc3fab3(0x202)][_0xc3fab3(0x1c5)](_0x1ef931);_0x6f11fd||_0x2856d0?_0x6f11fd&&_0x2856d0&&this[_0xc3fab3(0x1fa)](_0x1ef931):this[_0xc3fab3(0x1ce)](_0x1ef931);}this[_0xc3fab3(0x1e4)][_0xc3fab3(0x1e3)](),this[_0xc3fab3(0x20a)][_0xc3fab3(0x1cf)][_0xc3fab3(0x1f8)](_0xc3fab3(0x22a))[_0xc3fab3(0x1ed)](),this[_0xc3fab3(0x223)]();},0xa),this[_0x3d3ca7(0x1e4)][_0x3d3ca7(0x1de)](_0xcdead5,_0x30f4f3);}[_0x4d9881(0x230)](){const _0x493425=_0x4d9881,_0x280711=this[_0x493425(0x20a)],_0x1f76f4=_0x280711[_0x493425(0x1cf)][_0x493425(0x1f8)](_0x493425(0x20f)),_0x5a72ed=_0x280711[_0x493425(0x1cf)][_0x493425(0x1f8)](_0x493425(0x1b8)),_0x209206=_0x280711[_0x493425(0x1cf)][_0x493425(0x1f8)](_0x493425(0x22a)),_0x5b15e7=_0x280711[_0x493425(0x1cf)][_0x493425(0x1f8)](_0x493425(0x1ea));this[_0x493425(0x1f9)](),_0x209206[_0x493425(0x1c4)](()=>{const _0x3a9d46=_0x493425,_0x838e0c=[];for(const [_0x55ce37,_0x54a8f6]of Array[_0x3a9d46(0x1ca)](this[_0x3a9d46(0x202)])){const _0x33a543=_0x55ce37[_0x3a9d46(0x1bb)](),_0x338be3=[];for(const _0x174d80 of _0x33a543){if(!_0x174d80[_0x3a9d46(0x1b0)])continue;if(_0x174d80[_0x3a9d46(0x1eb)]){_0x338be3[_0x3a9d46(0x1e8)](..._0x174d80[_0x3a9d46(0x203)]());continue;}const _0x2dd4d4=_0x174d80[_0x3a9d46(0x1cd)]();if(_0x338be3[_0x3a9d46(0x213)]>0x0){const _0x138faf=_0x338be3[0x0][_0x3a9d46(0x227)](_0x2dd4d4);if(_0x138faf){_0x338be3[0x0]=_0x138faf;continue;}}_0x338be3[_0x3a9d46(0x1e8)](_0x2dd4d4);}_0x838e0c[_0x3a9d46(0x1e8)]([_0x54a8f6[_0x3a9d46(0x216)],_0x338be3]);}return _0x838e0c;}),this[_0x493425(0x1d2)](_0x1f76f4,_0x493425(0x1f3),(_0x326024,_0x52a838)=>{const _0x5d3af4=_0x493425;this[_0x5d3af4(0x1d2)](_0x52a838,_0x5d3af4(0x22d),(_0x39d4d6,_0x33d3b3,_0x3d295e,_0x3c610d)=>{const _0x133188=_0x5d3af4;_0x52a838[_0x133188(0x1b0)]&&(null==_0x3d295e?(this[_0x133188(0x214)](_0x3c610d[_0x133188(0x20d)]),this[_0x133188(0x220)](_0x52a838,!0x1)):(this[_0x133188(0x214)](_0x3d295e[_0x133188(0x20d)]),null==_0x3c610d&&this[_0x133188(0x220)](_0x52a838,!0x0)));}),null!==_0x52a838[_0x5d3af4(0x200)]?this[_0x5d3af4(0x214)](_0x52a838[_0x5d3af4(0x20d)]):this[_0x5d3af4(0x220)](_0x52a838,!0x1);}),this[_0x493425(0x1d2)](_0x1f76f4,_0x493425(0x210),(_0x1aea6f,_0xaa0a87,_0x199498)=>{const _0x384251=_0x493425;this[_0x384251(0x1f5)](_0xaa0a87,_0x384251(0x22d)),this[_0x384251(0x1e4)][_0x384251(0x21b)](_0xaa0a87),this[_0x384251(0x202)][_0x384251(0x1c5)](_0xaa0a87)&&this[_0x384251(0x1fa)](_0xaa0a87),_0x199498&&this[_0x384251(0x214)](_0x199498[_0x384251(0x20d)]);}),this[_0x493425(0x1d2)](_0x1f76f4,_0x493425(0x1b7),(_0x17e25d,_0x52ec47)=>{const _0x368c94=_0x493425;this[_0x368c94(0x214)](_0x52ec47);}),this[_0x493425(0x1d2)](_0x5a72ed,_0x493425(0x1d4),()=>{const _0x52a510=_0x493425;this[_0x52a510(0x223)]();}),this[_0x493425(0x1d2)](_0x5b15e7,_0x493425(0x1e0),(_0x2ed5d4,{threadId:_0x3d2543,isFromAdapter:_0xd0d8ca})=>{const _0x5844e5=_0x493425;if(_0xd0d8ca||!_0x1f76f4[_0x5844e5(0x20e)](_0x3d2543))return;const _0x596a33=_0x1f76f4[_0x5844e5(0x224)](_0x3d2543);this[_0x5844e5(0x202)][_0x5844e5(0x1f8)](_0x596a33)[_0x5844e5(0x216)][_0x5844e5(0x237)]();},{'priority':_0x493425(0x1c1)});}[_0x4d9881(0x223)](){const _0x5d086a=_0x4d9881,_0x5af245=this[_0x5d086a(0x20a)][_0x5d086a(0x1cf)][_0x5d086a(0x1f8)](_0x5d086a(0x1b8)),_0x48de5a=this[_0x5d086a(0x20a)][_0x5d086a(0x1cf)][_0x5d086a(0x1f8)](_0x5d086a(0x20f)),_0x182dfa=Array[_0x5d086a(0x1ca)](_0x5af245[_0x5d086a(0x231)],_0x389cb4=>_0x389cb4[_0x5d086a(0x233)])[_0x5d086a(0x1ba)](_0x2d0ea6=>this[_0x5d086a(0x1f7)][_0x5d086a(0x1c5)](_0x2d0ea6)),_0xae2580=[];for(const _0x29f52b of _0x182dfa){const _0x23ea15=this[_0x5d086a(0x1f7)][_0x5d086a(0x1f8)](_0x29f52b)[_0x5d086a(0x228)][_0x5d086a(0x1bb)]();_0xae2580[_0x5d086a(0x1e8)](..._0x23ea15[_0x5d086a(0x1dc)]((_0x453e62,_0x22bfd6)=>[..._0x453e62,..._0x22bfd6[_0x5d086a(0x1ec)]()],[]));}_0x48de5a[_0x5d086a(0x1c7)]=_0xae2580;}[_0x4d9881(0x1f9)](){const _0x2f6bc0=_0x4d9881,_0x3131ad=this[_0x2f6bc0(0x20a)],_0x3b0084=_0x3131ad[_0x2f6bc0(0x1d9)],_0x194e7e=_0x30a0ef(_0x3b0084,_0x2f6bc0(0x1d6)),_0x3b6b37=new _0x23a11e([{'type':_0x2f6bc0(0x21d),'model':new _0xd97348({'withText':!0x0,'label':_0x194e7e,'commandName':_0x2f6bc0(0x22b)})},{'type':_0x2f6bc0(0x1d0)},{'type':_0x2f6bc0(0x1c3),'model':new _0xd97348({'withText':!0x0,'label':_0x30a0ef(_0x3b0084,_0x2f6bc0(0x1bd)),'commandName':_0x2f6bc0(0x1fc)})},{'type':_0x2f6bc0(0x1c3),'model':new _0xd97348({'withText':!0x0,'label':_0x30a0ef(_0x3b0084,_0x2f6bc0(0x208)),'commandName':_0x2f6bc0(0x1e6)})},{'type':_0x2f6bc0(0x1c3),'model':new _0xd97348({'withText':!0x0,'label':_0x30a0ef(_0x3b0084,_0x2f6bc0(0x1cb)),'commandName':_0x2f6bc0(0x215)})},{'type':_0x2f6bc0(0x1c3),'model':new _0xd97348({'withText':!0x0,'label':_0x30a0ef(_0x3b0084,_0x2f6bc0(0x1bf)),'commandName':_0x2f6bc0(0x1d1)})}]);for(const _0x406bef of _0x3b6b37)if(ae(_0x406bef)){const _0x45beb0=_0x3131ad[_0x2f6bc0(0x211)][_0x2f6bc0(0x1f8)](_0x406bef[_0x2f6bc0(0x228)][_0x2f6bc0(0x212)]);_0x406bef[_0x2f6bc0(0x228)][_0x2f6bc0(0x218)](_0x2f6bc0(0x1ff),_0x2f6bc0(0x205))['to'](_0x45beb0,_0x2f6bc0(0x1b6),_0x2f6bc0(0x205));}_0x3131ad['ui'][_0x2f6bc0(0x21e)][_0x2f6bc0(0x1e7)](_0x2f6bc0(0x22b),_0x112664=>this[_0x2f6bc0(0x219)](_0x112664,_0x3b6b37,_0x194e7e)),_0x3131ad['ui'][_0x2f6bc0(0x21e)][_0x2f6bc0(0x1e7)](_0x2f6bc0(0x1ae),_0x11db78=>this[_0x2f6bc0(0x204)](_0x11db78,_0x3b6b37,_0x194e7e));}[_0x4d9881(0x219)](_0x16ff6b,_0x1a9dd1,_0x3fa071){const _0x216e9e=_0x4d9881,_0x3bfe6=_0x590ce0(_0x16ff6b,_0x286416),_0x589b41=this[_0x216e9e(0x20a)][_0x216e9e(0x211)][_0x216e9e(0x1f8)](_0x216e9e(0x22b));_0x3bfe6[_0x216e9e(0x1c2)][_0x216e9e(0x1de)]({'tooltip':_0x3fa071,'label':_0x3fa071,'icon':_0x502ce5}),_0x3bfe6[_0x216e9e(0x1c2)][_0x216e9e(0x218)](_0x216e9e(0x1ff))['to'](_0x589b41,_0x216e9e(0x1b6)),_0x3bfe6[_0x216e9e(0x1c2)]['on'](_0x216e9e(0x1b1),()=>{const _0x536012=_0x216e9e;_0x589b41[_0x536012(0x1b1)](),this[_0x536012(0x20a)][_0x536012(0x21a)][_0x536012(0x216)][_0x536012(0x237)]();}),_0x258b23(_0x3bfe6,_0x1a9dd1);const _0x5bd15b=[];for(const _0x2fe238 of _0x1a9dd1)ae(_0x2fe238)&&_0x5bd15b[_0x216e9e(0x1e8)](this[_0x216e9e(0x20a)][_0x216e9e(0x211)][_0x216e9e(0x1f8)](_0x2fe238[_0x216e9e(0x228)][_0x216e9e(0x212)]));const _0x34e716=_0x3bfe6[_0x216e9e(0x1c2)];return _0x34e716[_0x216e9e(0x1b2)][_0x216e9e(0x23a)](_0x216e9e(0x205)),_0x34e716[_0x216e9e(0x225)][_0x216e9e(0x23a)](_0x216e9e(0x205)),_0x34e716[_0x216e9e(0x1b2)][_0x216e9e(0x218)](_0x216e9e(0x205))['to'](_0x589b41,_0x216e9e(0x205)),_0x34e716[_0x216e9e(0x225)][_0x216e9e(0x218)](_0x216e9e(0x205))[_0x216e9e(0x1dd)](_0x5bd15b,_0x216e9e(0x205),(..._0xf9d13f)=>_0xf9d13f[_0x216e9e(0x1df)](_0x532b4d=>_0x532b4d)),_0x3bfe6['on'](_0x216e9e(0x1b1),_0x435af6=>{const _0x5aa340=_0x216e9e;this[_0x5aa340(0x20a)][_0x5aa340(0x1b1)](_0x435af6[_0x5aa340(0x226)][_0x5aa340(0x212)]),this[_0x5aa340(0x20a)][_0x5aa340(0x21a)][_0x5aa340(0x216)][_0x5aa340(0x237)]();}),_0x3bfe6;}[_0x4d9881(0x204)](_0x5ee2b9,_0x5bfac8,_0x2911f9){const _0x5d3168=_0x4d9881,_0x2d49f2=new _0x4c90d9(_0x5ee2b9),_0x747f7a=this[_0x5d3168(0x20a)][_0x5d3168(0x211)][_0x5d3168(0x1f8)](_0x5d3168(0x22b));_0x2d49f2[_0x5d3168(0x1c2)][_0x5d3168(0x1de)]({'label':_0x2911f9,'icon':_0x502ce5});const _0x728e72=new _0x2c8dae(_0x5ee2b9);for(const _0x301cfa of _0x5bfac8){if(_0x5d3168(0x1d0)==_0x301cfa[_0x5d3168(0x1da)]){_0x728e72[_0x5d3168(0x1f0)][_0x5d3168(0x1e7)](new _0x35a246(_0x5ee2b9));continue;}const _0xc397f6=new _0x50254a(_0x5ee2b9,_0x2d49f2),_0x1c13b6=new _0x50de46(_0x5ee2b9),_0x1ed88d=_0x301cfa[_0x5d3168(0x228)];_0x1c13b6[_0x5d3168(0x218)](...Object[_0x5d3168(0x20b)](_0x1ed88d))['to'](_0x1ed88d),_0x1c13b6[_0x5d3168(0x232)](_0x5d3168(0x1b1))['to'](_0x2d49f2),_0x1c13b6['on'](_0x5d3168(0x1b1),()=>{const _0x2322e2=_0x5d3168;this[_0x2322e2(0x20a)][_0x2322e2(0x1b1)](_0x1ed88d[_0x2322e2(0x212)]),this[_0x2322e2(0x20a)][_0x2322e2(0x21a)][_0x2322e2(0x216)][_0x2322e2(0x237)]();}),_0xc397f6[_0x5d3168(0x235)][_0x5d3168(0x1e7)](_0x1c13b6),_0x728e72[_0x5d3168(0x1f0)][_0x5d3168(0x1e7)](_0xc397f6);}return _0x2d49f2[_0x5d3168(0x218)](_0x5d3168(0x205))['to'](_0x747f7a,_0x5d3168(0x205)),_0x2d49f2[_0x5d3168(0x239)][_0x5d3168(0x235)][_0x5d3168(0x1e7)](_0x728e72),_0x2d49f2;}[_0x4d9881(0x1ce)](_0x59ff15){const _0x4cf8e3=_0x4d9881,_0xde1d5=this[_0x4cf8e3(0x20a)],_0x28922c=_0xde1d5[_0x4cf8e3(0x21f)],_0x5a0996=_0xde1d5[_0x4cf8e3(0x1cf)][_0x4cf8e3(0x1f8)](_0x4cf8e3(0x1b8)),_0x1eb051=_0xde1d5[_0x4cf8e3(0x1cf)][_0x4cf8e3(0x1f8)](_0x4cf8e3(0x1ea)),_0x42794d=_0xde1d5[_0x4cf8e3(0x1cf)][_0x4cf8e3(0x1f8)](_0x4cf8e3(0x22a)),_0x24e3f7=_0xde1d5[_0x4cf8e3(0x1cf)][_0x4cf8e3(0x1f8)](_0x3d3c2c)['me'],_0x5bb362=_0x28922c[_0x4cf8e3(0x1f8)](_0x4cf8e3(0x22b))[_0x4cf8e3(0x1af)],{CommentsListView:_0x4e0af0,CommentThreadInputView:_0x18a42c}=_0xde1d5[_0x4cf8e3(0x1cf)][_0x4cf8e3(0x1f8)](_0x4cf8e3(0x20c));let _0xe0db0a,_0x46629b;this[_0x4cf8e3(0x1f1)][_0x4cf8e3(0x1c5)](_0x59ff15['id'])?(_0x46629b=this[_0x4cf8e3(0x1f1)][_0x4cf8e3(0x1f8)](_0x59ff15['id']),_0xe0db0a=_0x46629b[_0x4cf8e3(0x229)]):(_0xe0db0a=new _0x5bb362(_0xde1d5[_0x4cf8e3(0x1d9)],_0x59ff15,_0x24e3f7,{'disableComments':this[_0x4cf8e3(0x236)],'editorConfig':_0x28922c[_0x4cf8e3(0x1f8)](_0x4cf8e3(0x209)),'maxCommentsWhenCollapsed':_0x28922c[_0x4cf8e3(0x1f8)](_0x4cf8e3(0x23b)),'maxThreadTotalWeight':_0x28922c[_0x4cf8e3(0x1f8)](_0x4cf8e3(0x206)),'maxCommentCharsWhenCollapsed':_0x28922c[_0x4cf8e3(0x1f8)](_0x4cf8e3(0x1ef)),'formatDateTime':_0x140426(_0x28922c[_0x4cf8e3(0x1f8)](_0x4cf8e3(0x1d9))),'CommentView':_0x28922c[_0x4cf8e3(0x1f8)](_0x4cf8e3(0x1d5))[_0x4cf8e3(0x1b9)],'CommentsListView':_0x4e0af0,'CommentThreadInputView':_0x18a42c}),_0xe0db0a[_0x4cf8e3(0x1fe)]['on'](_0x4cf8e3(0x1b1),()=>{const _0x1058c3=_0x4cf8e3;_0xde1d5[_0x1058c3(0x21a)][_0x1058c3(0x216)][_0x1058c3(0x237)]();}),_0xe0db0a[_0x4cf8e3(0x1fb)]['on'](_0x4cf8e3(0x1b1),()=>{const _0x1426d8=_0x4cf8e3;_0xde1d5[_0x1426d8(0x21a)][_0x1426d8(0x216)][_0x1426d8(0x237)]();}),_0x46629b=_0x5a0996[_0x4cf8e3(0x217)](this[_0x4cf8e3(0x20a)][_0x4cf8e3(0x1d9)],_0xe0db0a),_0x46629b[_0x4cf8e3(0x218)](_0x4cf8e3(0x238))['to'](_0xe0db0a,_0x4cf8e3(0x238)),_0x46629b[_0x4cf8e3(0x218)](_0x4cf8e3(0x213))['to'](_0xe0db0a),_0x46629b[_0x4cf8e3(0x218)](_0x4cf8e3(0x1da))['to'](_0xe0db0a,_0x4cf8e3(0x1da),_0xa693a0=>_0x4cf8e3(0x1f6)+_0xa693a0),this[_0x4cf8e3(0x1f1)][_0x4cf8e3(0x1de)](_0x59ff15['id'],_0x46629b));const _0x3d728d=_0x1eb051[_0x4cf8e3(0x1e9)](_0x59ff15[_0x4cf8e3(0x21c)],_0xe0db0a),_0x59e2b4=new _0x1aed12(_0xde1d5,_0x59ff15,_0xe0db0a,_0x3d728d),_0xa93536=_0x59ff15[_0x4cf8e3(0x1bb)]()[_0x4cf8e3(0x1ba)](_0x1a3f5f=>_0x1a3f5f[_0x4cf8e3(0x1b0)]);_0xe0db0a[_0x4cf8e3(0x1fd)]=_0xde1d5[_0x4cf8e3(0x1cf)][_0x4cf8e3(0x1f8)](_0x4cf8e3(0x20f))[_0x4cf8e3(0x207)][_0x4cf8e3(0x1f2)](_0xa93536),this[_0x4cf8e3(0x202)][_0x4cf8e3(0x1de)](_0x59ff15,_0x59e2b4),this[_0x4cf8e3(0x1f7)][_0x4cf8e3(0x1de)](_0xe0db0a,_0x59e2b4);const _0x194247=_0x5a0996[_0x4cf8e3(0x1b3)]({'view':_0x46629b,'target':()=>{const _0x398723=_0x4cf8e3,_0x54dcfb=[],_0x5e4073=_0x59ff15[_0x398723(0x1bb)]()[_0x398723(0x1ba)](_0x8396ba=>_0x8396ba[_0x398723(0x1b0)]);for(const _0x4e39d9 of _0x5e4073)_0x54dcfb[_0x398723(0x1e8)](..._0x4e39d9[_0x398723(0x1ee)]());return _0x385d41(_0xde1d5[_0x398723(0x21a)],_0x54dcfb);},'type':()=>_0x4cf8e3(0x1f6)+_0x59e2b4[_0x4cf8e3(0x216)][_0x4cf8e3(0x1da)]});_0x1eb051[_0x4cf8e3(0x1bc)](_0xe0db0a,_0x194247),_0x5a0996[_0x4cf8e3(0x1e7)](_0x194247),_0x42794d[_0x4cf8e3(0x22c)](_0x194247);}[_0x4d9881(0x1fa)](_0x569709){const _0x1869aa=_0x4d9881,_0x3e0b8c=this[_0x1869aa(0x20a)][_0x1869aa(0x1cf)][_0x1869aa(0x1f8)](_0x1869aa(0x1ea)),_0x50d029=this[_0x1869aa(0x20a)][_0x1869aa(0x1cf)][_0x1869aa(0x1f8)](_0x1869aa(0x1b8)),_0x2a76ed=this[_0x1869aa(0x202)][_0x1869aa(0x1f8)](_0x569709),_0x2ac23b=_0x2a76ed[_0x1869aa(0x216)],_0x5e5b0d=_0x50d029[_0x1869aa(0x1c0)](_0x2ac23b);_0x3e0b8c[_0x1869aa(0x1c9)](_0x2ac23b),_0x5e5b0d&&_0x50d029[_0x1869aa(0x1b5)](_0x5e5b0d),this[_0x1869aa(0x202)][_0x1869aa(0x21b)](_0x569709),this[_0x1869aa(0x1f7)][_0x1869aa(0x21b)](_0x2ac23b),_0x2a76ed[_0x1869aa(0x1db)]();}[_0x4d9881(0x214)](_0x22748b){const _0x16f487=_0x4d9881;if(!_0x22748b[_0x16f487(0x1b0)]||!this[_0x16f487(0x202)][_0x16f487(0x1c5)](_0x22748b))return;const _0x25192f=this[_0x16f487(0x20a)][_0x16f487(0x1cf)][_0x16f487(0x1f8)](_0x16f487(0x20f)),_0x476ab2=this[_0x16f487(0x202)][_0x16f487(0x1f8)](_0x22748b),_0x44494f=_0x22748b[_0x16f487(0x1bb)]();_0x476ab2[_0x16f487(0x216)][_0x16f487(0x1fd)]=_0x25192f[_0x16f487(0x207)][_0x16f487(0x1f2)](_0x44494f);}[_0x4d9881(0x1db)](){const _0x12f21b=_0x4d9881;for(const _0x51b80f of this[_0x12f21b(0x202)][_0x12f21b(0x20b)]())this[_0x12f21b(0x1fa)](_0x51b80f);for(const _0x300bbc of this[_0x12f21b(0x1f1)][_0x12f21b(0x22e)]())_0x300bbc[_0x12f21b(0x229)][_0x12f21b(0x1db)]();super[_0x12f21b(0x1db)]();}}function ae(_0x36796a){const _0x110995=_0x4d9881;return _0x110995(0x228)in _0x36796a;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4f1279=_0x5110;(function(_0x127b5d,_0x26090){const _0x4854f8=_0x5110,_0x146a9b=_0x127b5d();while(!![]){try{const _0x1abd36=-parseInt(_0x4854f8(0x185))/0x1*(parseInt(_0x4854f8(0x17b))/0x2)+-parseInt(_0x4854f8(0x17a))/0x3*(parseInt(_0x4854f8(0x183))/0x4)+parseInt(_0x4854f8(0x18c))/0x5*(parseInt(_0x4854f8(0x16a))/0x6)+parseInt(_0x4854f8(0x180))/0x7+-parseInt(_0x4854f8(0x17c))/0x8+-parseInt(_0x4854f8(0x172))/0x9*(-parseInt(_0x4854f8(0x168))/0xa)+parseInt(_0x4854f8(0x18f))/0xb;if(_0x1abd36===_0x26090)break;else _0x146a9b['push'](_0x146a9b['shift']());}catch(_0x3f10d6){_0x146a9b['push'](_0x146a9b['shift']());}}}(_0x166c,0x4c7f7));function _0x5110(_0x1111d7,_0x16ef63){const _0x166cef=_0x166c();return _0x5110=function(_0x5110c8,_0x3cbb84){_0x5110c8=_0x5110c8-0x166;let _0x137cb7=_0x166cef[_0x5110c8];return _0x137cb7;},_0x5110(_0x1111d7,_0x16ef63);}function _0x166c(){const _0x116970=['PENDING_ACTION_SUGGESTION','33285ItSMhf','604BvWrme','2690192YitfPz','locale','execute','get','554967vrmiky','canAccept','_acceptCommand','52ryKsST','canEditAt','783vFNsAn','_removePendingAction','PendingActions','add','_setPendingAction','unbind','canDiscard','5kdSnBg','commands','listenTo','4596284GdKBAp','destroy','_editor','discardSuggestion','360GmQdyv','isDirty','182454yHmczr','plugins','_discardCommand','acceptSuggestion','change:isDirty','_pendingAction','view','isEnabled','125694cDikMv','getRanges','model','bind','commentThreadController','stopListening','remove'];_0x166c=function(){return _0x116970;};return _0x166c();}import{ObservableMixin as _0x5444b7}from'ckeditor5/src/utils.js';import{getTranslation as _0x3251a1}from'../utils/common-translations.js';export default class oe extends _0x5444b7(){constructor(_0x522cdd,_0x4ba7d4,_0x1dd1cb,_0x47be47){const _0x23c3f7=_0x5110;super(),this[_0x23c3f7(0x174)]=_0x4ba7d4,this[_0x23c3f7(0x170)]=_0x1dd1cb,this[_0x23c3f7(0x176)]=_0x47be47,this[_0x23c3f7(0x166)]=_0x522cdd,this[_0x23c3f7(0x182)]=_0x522cdd[_0x23c3f7(0x18d)][_0x23c3f7(0x17f)](_0x23c3f7(0x16d)),this[_0x23c3f7(0x16c)]=_0x522cdd[_0x23c3f7(0x18d)][_0x23c3f7(0x17f)](_0x23c3f7(0x167)),this[_0x23c3f7(0x170)][_0x23c3f7(0x175)](_0x23c3f7(0x171))['to'](this[_0x23c3f7(0x182)],this[_0x23c3f7(0x16c)],(_0x437861,_0x4321b6)=>_0x437861||_0x4321b6),this[_0x23c3f7(0x170)][_0x23c3f7(0x175)](_0x23c3f7(0x181))['to'](this[_0x23c3f7(0x182)],_0x23c3f7(0x171),_0x52951b=>_0x52951b&&this[_0x23c3f7(0x166)][_0x23c3f7(0x174)][_0x23c3f7(0x184)](_0x4ba7d4[_0x23c3f7(0x173)]())),this[_0x23c3f7(0x170)][_0x23c3f7(0x175)](_0x23c3f7(0x18b))['to'](this[_0x23c3f7(0x16c)],_0x23c3f7(0x171),_0x7eb3e1=>_0x7eb3e1&&this[_0x23c3f7(0x166)][_0x23c3f7(0x174)][_0x23c3f7(0x184)](_0x4ba7d4[_0x23c3f7(0x173)]())),this[_0x23c3f7(0x16f)]=null,_0x1dd1cb[_0x23c3f7(0x169)]&&this[_0x23c3f7(0x189)](),this[_0x23c3f7(0x18e)](_0x1dd1cb,_0x23c3f7(0x16d),()=>this[_0x23c3f7(0x16d)]()),this[_0x23c3f7(0x18e)](_0x1dd1cb,_0x23c3f7(0x167),()=>this[_0x23c3f7(0x167)]()),this[_0x23c3f7(0x18e)](_0x1dd1cb,_0x23c3f7(0x16e),()=>{const _0x530dd2=_0x23c3f7;_0x1dd1cb[_0x530dd2(0x169)]?this[_0x530dd2(0x189)]():this[_0x530dd2(0x186)]();});}[_0x4f1279(0x16d)](){const _0x4c9113=_0x4f1279;this[_0x4c9113(0x182)][_0x4c9113(0x17e)](this[_0x4c9113(0x174)]['id']);}[_0x4f1279(0x167)](){const _0x41fc4a=_0x4f1279;this[_0x41fc4a(0x16c)][_0x41fc4a(0x17e)](this[_0x41fc4a(0x174)]['id']);}[_0x4f1279(0x190)](){const _0x5d1399=_0x4f1279;this[_0x5d1399(0x170)][_0x5d1399(0x18a)](_0x5d1399(0x171)),this[_0x5d1399(0x170)][_0x5d1399(0x18a)](_0x5d1399(0x181)),this[_0x5d1399(0x170)][_0x5d1399(0x18a)](_0x5d1399(0x18b)),this[_0x5d1399(0x177)](),this[_0x5d1399(0x176)][_0x5d1399(0x190)](),this[_0x5d1399(0x16f)]&&this[_0x5d1399(0x186)]();}[_0x4f1279(0x189)](){const _0x44636f=_0x4f1279,_0x2eafc0=_0x3251a1(this[_0x44636f(0x166)][_0x44636f(0x17d)],_0x44636f(0x179));this[_0x44636f(0x16f)]=this[_0x44636f(0x166)][_0x44636f(0x16b)][_0x44636f(0x17f)](_0x44636f(0x187))[_0x44636f(0x188)](_0x2eafc0);}[_0x4f1279(0x186)](){const _0x126225=_0x4f1279;null!==this[_0x126225(0x16f)]&&this[_0x126225(0x166)][_0x126225(0x16b)][_0x126225(0x17f)](_0x126225(0x187))[_0x126225(0x178)](this[_0x126225(0x16f)]),this[_0x126225(0x16f)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x24d88e=_0x5de8;function _0x5de8(_0x5cc3e6,_0x1531ef){const _0x50b76a=_0x50b7();return _0x5de8=function(_0x5de856,_0x211936){_0x5de856=_0x5de856-0x13b;let _0x2ca434=_0x50b76a[_0x5de856];return _0x2ca434;},_0x5de8(_0x5cc3e6,_0x1531ef);}(function(_0x3f2d03,_0x3d0f2a){const _0x5637f6=_0x5de8,_0x539d43=_0x3f2d03();while(!![]){try{const _0x51816c=parseInt(_0x5637f6(0x14d))/0x1*(parseInt(_0x5637f6(0x15b))/0x2)+-parseInt(_0x5637f6(0x160))/0x3*(parseInt(_0x5637f6(0x13b))/0x4)+-parseInt(_0x5637f6(0x15e))/0x5+parseInt(_0x5637f6(0x167))/0x6*(-parseInt(_0x5637f6(0x14b))/0x7)+-parseInt(_0x5637f6(0x14c))/0x8*(parseInt(_0x5637f6(0x168))/0x9)+-parseInt(_0x5637f6(0x14a))/0xa+parseInt(_0x5637f6(0x154))/0xb;if(_0x51816c===_0x3d0f2a)break;else _0x539d43['push'](_0x539d43['shift']());}catch(_0x2bd465){_0x539d43['push'](_0x539d43['shift']());}}}(_0x50b7,0x40997));function _0x50b7(){const _0x3ddbc8=['27629phbtiC','8tpOIEr','4357urFhTv','disabledSubmit','isDirty','submit','fire','commentThreadInputView','addComment','18079622giAdxz','element','cancel','isReadOnly','commentThread','isActive','descriptionParts','38FgmCel','_config','editor','2185610vUQWpL','hasDirtyComment','453hlQmCt','delegate','_localUser','commentsListView','commentInputView','CommentView','showInput','102oNUbGt','4604904wskeZZ','locale','_createCommentThreadInputView','setData','focus','value','assign','7028ZSVagp','authoredAt','destroy','updateComment','canAccept','bind','isEnabled','set','editorConfig','removeComment','_model','disableComments','length','_createCommentViews','canDiscard','1806020zTHRwZ'];_0x50b7=function(){return _0x3ddbc8;};return _0x50b7();}import{View as _0xec5329}from'ckeditor5/src/ui.js';export default class es extends _0xec5329{constructor(_0x5cc740,_0x4cc822,_0x3b1000,_0x523e58){const _0x1036a4=_0x5de8;super(_0x5cc740),this[_0x1036a4(0x163)]=null,this[_0x1036a4(0x152)]=null,this[_0x1036a4(0x142)](_0x1036a4(0x159),!0x1),this[_0x1036a4(0x142)](_0x1036a4(0x13c),_0x4cc822[_0x1036a4(0x13c)]),this[_0x1036a4(0x140)](_0x1036a4(0x13c))['to'](_0x4cc822),this[_0x1036a4(0x142)](_0x1036a4(0x15a),[]),this[_0x1036a4(0x142)](_0x1036a4(0x14f),!0x1),this[_0x1036a4(0x142)](_0x1036a4(0x141),!0x1),this[_0x1036a4(0x142)](_0x1036a4(0x13f),!0x1),this[_0x1036a4(0x142)](_0x1036a4(0x149),!0x1),this[_0x1036a4(0x145)]=_0x4cc822,this[_0x1036a4(0x162)]=_0x3b1000,this[_0x1036a4(0x15c)]=_0x523e58,_0x523e58[_0x1036a4(0x146)]?this[_0x1036a4(0x142)](_0x1036a4(0x147),0x1):this[_0x1036a4(0x148)]();}[_0x24d88e(0x16c)](){const _0x1d9833=_0x24d88e;this[_0x1d9833(0x155)][_0x1d9833(0x16c)]();}[_0x24d88e(0x13d)](){const _0x374baf=_0x24d88e;this[_0x374baf(0x163)]&&this[_0x374baf(0x163)][_0x374baf(0x13d)](),this[_0x374baf(0x152)]&&this[_0x374baf(0x152)][_0x374baf(0x13d)](),super[_0x374baf(0x13d)]();}[_0x24d88e(0x148)](){const _0x3bcb14=_0x24d88e,{CommentsListView:_0x3df565}=this[_0x3bcb14(0x15c)];this[_0x3bcb14(0x163)]=new _0x3df565(this[_0x3bcb14(0x169)],this[_0x3bcb14(0x145)][_0x3bcb14(0x158)],Object[_0x3bcb14(0x16e)]({'CommentView':this[_0x3bcb14(0x15c)][_0x3bcb14(0x165)]},this[_0x3bcb14(0x15c)])),this[_0x3bcb14(0x163)][_0x3bcb14(0x161)](_0x3bcb14(0x144))['to'](this),this[_0x3bcb14(0x163)][_0x3bcb14(0x161)](_0x3bcb14(0x13e))['to'](this),this[_0x3bcb14(0x163)][_0x3bcb14(0x140)](_0x3bcb14(0x159))['to'](this),this[_0x3bcb14(0x142)](_0x3bcb14(0x147),this[_0x3bcb14(0x163)][_0x3bcb14(0x147)]+0x1),this[_0x3bcb14(0x140)](_0x3bcb14(0x147))['to'](this[_0x3bcb14(0x163)],_0x3bcb14(0x147),_0x25d7fb=>_0x25d7fb+0x1),this[_0x3bcb14(0x152)]=this[_0x3bcb14(0x16a)](),this['on'](_0x3bcb14(0x144),()=>this[_0x3bcb14(0x16c)]()),this[_0x3bcb14(0x140)](_0x3bcb14(0x14f))['to'](this[_0x3bcb14(0x163)],_0x3bcb14(0x15f),this[_0x3bcb14(0x152)][_0x3bcb14(0x164)],_0x3bcb14(0x16d),(_0xcdfdc8,_0x514574)=>_0xcdfdc8||!!_0x514574);}[_0x24d88e(0x16a)](){const _0x4e5da4=_0x24d88e,{CommentThreadInputView:_0x2b52cb}=this[_0x4e5da4(0x15c)],_0xce6a41=new _0x2b52cb(this[_0x4e5da4(0x169)],this[_0x4e5da4(0x162)],this[_0x4e5da4(0x15c)][_0x4e5da4(0x143)]),_0x2b273e=_0xce6a41[_0x4e5da4(0x164)];return _0xce6a41[_0x4e5da4(0x140)](_0x4e5da4(0x166))['to'](this,_0x4e5da4(0x159),this[_0x4e5da4(0x145)][_0x4e5da4(0x158)],_0x4e5da4(0x157),_0x2b273e,_0x4e5da4(0x16d),(_0x996187,_0x297eac,_0x14ed04)=>!!_0x14ed04||_0x996187&&!_0x297eac),_0x2b273e['on'](_0x4e5da4(0x150),(_0x21623a,_0x27f740)=>{const _0x771ac5=_0x4e5da4;this[_0x771ac5(0x151)](_0x771ac5(0x153),_0x27f740),_0x2b273e[_0x771ac5(0x15d)][_0x771ac5(0x16b)]('');}),_0x2b273e['on'](_0x4e5da4(0x156),()=>this[_0x4e5da4(0x16c)]()),_0x2b273e[_0x4e5da4(0x140)](_0x4e5da4(0x14e))['to'](this[_0x4e5da4(0x145)][_0x4e5da4(0x158)],_0x4e5da4(0x157)),_0xce6a41;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a4bf5=_0x58f3;function _0x4772(){const _0xa017c5=['author','4485519mfnpzB','EXTERNAL_SUGGESTION','ck-suggestion__info-name','querySelector','innerText','description','.ck-annotation__content-wrapper','_descriptionElement','ck-suggestion--accept','editorReady','19850dmIUGd','2222260gVUrLy','importWord','ck-suggestion__info','ck-annotation__actions','canAccept','content','ck-annotation__info-name','ck-suggestion__actions','ck-annotation__user','1878lzROrc','source','locale','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','createElement','_config','EXTERNAL_AVATAR','ck-suggestion-','_model','ck-annotation__info-time','userView','ck-suggestion-wrapper--active','acceptButton','editorDestroyed','ck-comment__info-time','3888465yyglQr','extendTemplate','discardSuggestion','_createButton','ck-annotation__content-wrapper','change:description','formatDateTime','render','value','push','authoredAt','getUserViewNotificationText','bind','Accept\x20suggestion','getTemplate','ck-suggestion--discard','24FzwTqo','div','setTemplate','check','fire','isExternal','time','commentThread','ck-annotation__info','delegate','EXTERNAL_IMPORT_WORD_SUGGESTION','Discard\x20suggestion','commentThreadInputView','EXTERNAL_IMPORT_WORD_AVATAR','<span\x20class=\x22ck-suggestion-type\x22>','cancel','type','<p>','isEnabled','commentsListView','execute','disableComments','</p>','innerHTML','element','ck-annotation','</span>','split','acceptSuggestion','1760100ozXQDX','map','ck-suggestion--disabled-comments','ck-annotation__main','\x22></span>','getExternalSuggestionNote','\x22\x20title=\x22','1231808baSCjl','descriptionParts','bindTemplate','creator','children','ck-suggestion__main','@external','set','canDiscard','join','ck-comment__external','span','attributes','discardButton','isActive','1031397CClAmp','title','ck-suggestion-wrapper','ck-suggestion__user','color','ck-suggestion','name'];_0x4772=function(){return _0xa017c5;};return _0x4772();}(function(_0x4686b7,_0x3992c2){const _0x443e52=_0x58f3,_0x4b487e=_0x4686b7();while(!![]){try{const _0x5c589e=-parseInt(_0x443e52(0xc6))/0x1+parseInt(_0x443e52(0xd9))/0x2+parseInt(_0x443e52(0xb0))/0x3+parseInt(_0x443e52(0xb7))/0x4+-parseInt(_0x443e52(0xd8))/0x5*(parseInt(_0x443e52(0x74))/0x6)+-parseInt(_0x443e52(0x83))/0x7+parseInt(_0x443e52(0x93))/0x8*(parseInt(_0x443e52(0xce))/0x9);if(_0x5c589e===_0x3992c2)break;else _0x4b487e['push'](_0x4b487e['shift']());}catch(_0x443c64){_0x4b487e['push'](_0x4b487e['shift']());}}}(_0x4772,0xa3edd));import{getTranslation as _0x213883}from'../../utils/common-translations.js';import{default as _0x27b693}from'./basesuggestionthreadview.js';import{ButtonView as _0x9d38cd}from'ckeditor5/src/ui.js';import{icons as _0x570b24}from'ckeditor5/src/core.js';import{trimHtml as _0x30178e,UserView as _0x6d2c4b}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x27b693{constructor(_0x4da8f3,_0x5e3f42,_0x2e8a5f,_0x5bfb13){const _0x25ea20=_0x58f3;super(_0x4da8f3,_0x5e3f42,_0x2e8a5f,_0x5bfb13),this[_0x25ea20(0xbe)](_0x25ea20(0xa3),''),this[_0x25ea20(0x8f)](_0x25ea20(0xa3))['to'](this,_0x25ea20(0xb8),_0x509123=>_0x509123&&_0x509123[0x0]?_0x509123[0x0][_0x25ea20(0xa3)]:''),this[_0x25ea20(0x8f)](_0x25ea20(0xd3))['to'](this,_0x25ea20(0xb8),this,_0x25ea20(0xc5),(_0x4ae887,_0x25f993)=>{const _0x237bc4=_0x25ea20;let _0x407947='';for(const _0xbf5eda of _0x4ae887)_0x407947+=_0x237bc4(0xa4)+ds(_0xbf5eda[_0x237bc4(0x70)],_0xbf5eda[_0x237bc4(0xca)])+_0x237bc4(0xa9);return _0x25f993?_0x407947:_0x30178e(_0x407947,{'limit':0x8c});}),this[_0x25ea20(0xd5)]=null,this[_0x25ea20(0x80)]=this[_0x25ea20(0x86)](_0x213883(_0x4da8f3,_0x25ea20(0x90)),_0x570b24[_0x25ea20(0x96)],_0x25ea20(0xd6),_0x25ea20(0xaf),'sw'),this[_0x25ea20(0x80)][_0x25ea20(0x8f)](_0x25ea20(0xa5))['to'](this,_0x25ea20(0x6f)),this[_0x25ea20(0xc4)]=this[_0x25ea20(0x86)](_0x213883(_0x4da8f3,_0x25ea20(0x9e)),_0x570b24[_0x25ea20(0xa2)],_0x25ea20(0x92),_0x25ea20(0x85),'sw'),this[_0x25ea20(0xc4)][_0x25ea20(0x8f)](_0x25ea20(0xa5))['to'](this,_0x25ea20(0xbf)),this[_0x25ea20(0x7e)]=new _0x6d2c4b(_0x4da8f3,this[_0x25ea20(0x7c)][_0x25ea20(0xcd)],this[_0x25ea20(0x8e)]()),this[_0x25ea20(0x7e)][_0x25ea20(0x84)]({'attributes':{'class':[_0x25ea20(0xc9),_0x25ea20(0x73)]}}),this[_0x25ea20(0x95)](this[_0x25ea20(0x91)]());}[_0x1a4bf5(0x91)](){const _0x28d922=_0x1a4bf5,_0x4d325e=this[_0x28d922(0xb9)],_0x1c3b6c=[{'tag':_0x28d922(0x94),'attributes':{'class':[_0x28d922(0xdb),_0x28d922(0x9b)]},'children':[{'tag':_0x28d922(0xc2),'children':[{'text':this[_0x28d922(0x7e)][_0x28d922(0xcc)]}],'attributes':{'class':[_0x28d922(0xd0),_0x28d922(0x71)]}},{'tag':_0x28d922(0x99),'attributes':{'datetime':_0x4d325e['to'](_0x28d922(0x8d)),'class':[_0x28d922(0x82),_0x28d922(0x7d)]},'children':[{'text':_0x4d325e['to'](_0x28d922(0x8d),_0x201b1c=>this[_0x28d922(0x79)][_0x28d922(0x89)](_0x201b1c))}]}]},{'tag':_0x28d922(0x94),'attributes':{'class':[_0x28d922(0x72),_0x28d922(0xdc)]},'children':[this[_0x28d922(0x80)],this[_0x28d922(0xc4)]]},{'tag':_0x28d922(0x94),'attributes':{'class':[_0x28d922(0x87)]}}];this[_0x28d922(0x7c)][_0x28d922(0x98)]&&_0x1c3b6c[_0x28d922(0x8c)]({'tag':_0x28d922(0x94),'attributes':{'class':[_0x28d922(0xc1)]},'children':[{'text':this[_0x28d922(0xb5)]()}]});const _0x29416e={'tag':_0x28d922(0x94),'attributes':{'class':[_0x28d922(0xc8),_0x4d325e['if'](_0x28d922(0xc5),_0x28d922(0x7f)),_0x4d325e['to'](_0x28d922(0xa3),_0x27efb7=>_0x28d922(0x7b)+_0x27efb7),this[_0x28d922(0x79)][_0x28d922(0xa8)]&&_0x28d922(0xb2)],'data-suggestion-id':this[_0x28d922(0x7c)]['id'],'data-thread-id':this[_0x28d922(0x7c)][_0x28d922(0x9a)]['id'],'data-author-id':this[_0x28d922(0x7c)][_0x28d922(0xcd)]['id'],'tabindex':-0x1},'children':[{'tag':_0x28d922(0x94),'attributes':{'class':[_0x28d922(0xcb),_0x28d922(0xac)]},'children':[this[_0x28d922(0x7e)],{'tag':_0x28d922(0x94),'attributes':{'class':[_0x28d922(0xbc),_0x28d922(0xb3)]},'children':_0x1c3b6c}]}]};return this[_0x28d922(0xa6)]&&this[_0x28d922(0x9f)]&&(_0x29416e[_0x28d922(0xbb)][_0x28d922(0x8c)](this[_0x28d922(0xa6)],this[_0x28d922(0x9f)]),this[_0x28d922(0xa6)][_0x28d922(0x9c)](_0x28d922(0xd7))['to'](this),this[_0x28d922(0xa6)][_0x28d922(0x9c)](_0x28d922(0x81))['to'](this),this[_0x28d922(0x9f)][_0x28d922(0x9c)](_0x28d922(0xd7))['to'](this),this[_0x28d922(0x9f)][_0x28d922(0x9c)](_0x28d922(0x81))['to'](this)),_0x29416e;}[_0x1a4bf5(0x8a)](){const _0x1c8124=_0x1a4bf5;super[_0x1c8124(0x8a)](),this[_0x1c8124(0xd5)]=this[_0x1c8124(0xab)][_0x1c8124(0xd1)](_0x1c8124(0xd4)),this[_0x1c8124(0xd5)][_0x1c8124(0xaa)]=this[_0x1c8124(0xd3)],this['on'](_0x1c8124(0x88),(_0x5e57f2,_0x5c4a38,_0x4fa779)=>{const _0x28f736=_0x1c8124;this[_0x28f736(0xd5)][_0x28f736(0xaa)]=_0x4fa779;});}[_0x1a4bf5(0x86)](_0x4cb741,_0x45eec5,_0x3ae7e3,_0x533477,_0x4ef3fd){const _0x3d3898=_0x1a4bf5,_0x465449=new _0x9d38cd(this[_0x3d3898(0x76)]);return _0x465449[_0x3d3898(0xbe)]({'label':_0x4cb741,'icon':_0x45eec5,'tooltip':!0x0,'tooltipPosition':_0x4ef3fd}),_0x465449[_0x3d3898(0x84)]({'attributes':{'class':_0x3ae7e3}}),_0x465449['on'](_0x3d3898(0xa7),()=>{const _0x502f3e=_0x3d3898;this[_0x502f3e(0x97)](_0x533477,this[_0x502f3e(0x7c)]['id']);}),_0x465449;}[_0x1a4bf5(0xb5)](){const _0xcbf01b=_0x1a4bf5;return _0xcbf01b(0xda)===this[_0xcbf01b(0x7c)][_0xcbf01b(0xc3)][_0xcbf01b(0xbd)][_0xcbf01b(0x75)]?_0x213883(this[_0xcbf01b(0x76)],_0xcbf01b(0x9d)):_0x213883(this[_0xcbf01b(0x76)],_0xcbf01b(0xcf));}[_0x1a4bf5(0x8e)](){const _0x2f2529=_0x1a4bf5;return this[_0x2f2529(0x7c)][_0x2f2529(0x98)]?_0x2f2529(0xda)===this[_0x2f2529(0x7c)][_0x2f2529(0xc3)][_0x2f2529(0xbd)][_0x2f2529(0x75)]?_0x213883(this[_0x2f2529(0x76)],_0x2f2529(0xa0),this[_0x2f2529(0x7c)][_0x2f2529(0xba)][_0x2f2529(0xcc)]):_0x213883(this[_0x2f2529(0x76)],_0x2f2529(0x7a),this[_0x2f2529(0x7c)][_0x2f2529(0xba)][_0x2f2529(0xcc)]):null;}}function _0x58f3(_0x35c92b,_0x590c00){const _0x477230=_0x4772();return _0x58f3=function(_0x58f368,_0x509248){_0x58f368=_0x58f368-0x6f;let _0x26c798=_0x477230[_0x58f368];return _0x26c798;},_0x58f3(_0x35c92b,_0x590c00);}function ds(_0x3382f8,_0x3c483c){const _0x519ee3=_0x1a4bf5;let _0x5e6027='';return _0x5e6027+=_0x3382f8[_0x519ee3(0xae)]('*')[_0x519ee3(0xb1)]((_0x18bfc9,_0x299969)=>_0x299969%0x2!=0x0?_0x519ee3(0xa1)+us(_0x18bfc9)+_0x519ee3(0xad):us(_0x18bfc9))[_0x519ee3(0xc0)](''),_0x3c483c&&(_0x5e6027+=_0x519ee3(0x77)+_0x3c483c[_0x519ee3(0x8b)]+_0x519ee3(0xb6)+_0x3c483c[_0x519ee3(0xc7)]+_0x519ee3(0xb4)),_0x5e6027;}function us(_0x5f0337){const _0x4b9704=_0x1a4bf5,_0x4a0d8a=document[_0x4b9704(0x78)](_0x4b9704(0xc2));return _0x4a0d8a[_0x4b9704(0xd2)]=_0x5f0337,_0x4a0d8a[_0x4b9704(0xaa)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x5f2724,_0x3bc418,_0x543780){const t=_0x5f2724['t'];switch(_0x3bc418){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x543780);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x543780);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x543780);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x543780);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x543780);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x543780);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x543780);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x543780);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x543780);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x543780);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x543780);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x543780);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x543780);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x543780);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x543780);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x543780);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x543780);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x543780);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x543780);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x543780);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x543780);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x543780);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x543780);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x543780);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x543780);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x543780);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x543780);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x543780);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x543780);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x543780);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x543780);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x543780);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x543780);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x543780);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x543780);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x543780);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x543780);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x543780);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x543780);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x543780);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x543780);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x543780);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x543780);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x543780);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x543780);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x543780);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x3bc418;}}
|
|
23
|
+
export function getTranslation(_0x43998f,_0xc96120,_0x3ff1cb){const t=_0x43998f['t'];switch(_0xc96120){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x3ff1cb);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3ff1cb);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3ff1cb);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3ff1cb);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3ff1cb);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x3ff1cb);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3ff1cb);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x3ff1cb);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3ff1cb);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3ff1cb);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3ff1cb);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3ff1cb);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3ff1cb);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3ff1cb);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3ff1cb);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3ff1cb);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3ff1cb);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3ff1cb);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3ff1cb);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3ff1cb);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3ff1cb);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3ff1cb);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3ff1cb);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x3ff1cb);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3ff1cb);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3ff1cb);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3ff1cb);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3ff1cb);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3ff1cb);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x3ff1cb);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3ff1cb);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3ff1cb);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3ff1cb);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3ff1cb);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x3ff1cb);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3ff1cb);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x3ff1cb);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x3ff1cb);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3ff1cb);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x3ff1cb);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3ff1cb);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x3ff1cb);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3ff1cb);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3ff1cb);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x3ff1cb);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x3ff1cb);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0xc96120;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3f6813,_0x21a247){const _0x4b72ea=_0x4f61,_0x19a902=_0x3f6813();while(!![]){try{const _0x4817f0=-parseInt(_0x4b72ea(0x194))/0x1+parseInt(_0x4b72ea(0x193))/0x2*(parseInt(_0x4b72ea(0x18f))/0x3)+-parseInt(_0x4b72ea(0x1a3))/0x4+-parseInt(_0x4b72ea(0x18d))/0x5*(parseInt(_0x4b72ea(0x1b2))/0x6)+-parseInt(_0x4b72ea(0x1ac))/0x7*(-parseInt(_0x4b72ea(0x195))/0x8)+-parseInt(_0x4b72ea(0x19e))/0x9*(parseInt(_0x4b72ea(0x19c))/0xa)+parseInt(_0x4b72ea(0x1b7))/0xb*(parseInt(_0x4b72ea(0x1b5))/0xc);if(_0x4817f0===_0x21a247)break;else _0x19a902['push'](_0x19a902['shift']());}catch(_0x10e086){_0x19a902['push'](_0x19a902['shift']());}}}(_0x5600,0x45d4e));export function normalizeDescription(_0x1febb2){const _0x2d6213=_0x4f61;return Array[_0x2d6213(0x1b6)](_0x1febb2)||(_0x1febb2=[_0x1febb2]),_0x1febb2[_0x2d6213(0x19b)](_0x15e08b=>{const _0x7e49e6=_0x2d6213,_0x90cf4=_0x15e08b[_0x7e49e6(0x18b)][_0x7e49e6(0x196)](/\*/g,''),_0x38572f=_0x15e08b[_0x7e49e6(0x191)]?_0x7e49e6(0x1a9)+_0x15e08b[_0x7e49e6(0x191)][_0x7e49e6(0x197)]+']':'';return'['+_0x15e08b[_0x7e49e6(0x1a8)]+']\x20'+_0x90cf4+_0x38572f;})[_0x2d6213(0x1a0)](';\x20');}export function sortSuggestions(_0x569511){const _0x35de8e=_0x4f61;return _0x569511[_0x35de8e(0x1b1)]((_0x1a6f04,_0x6f46ad)=>_0x35de8e(0x1af)==_0x1a6f04[_0x35de8e(0x1a8)]&&_0x35de8e(0x1af)!=_0x6f46ad[_0x35de8e(0x1a8)]?-0x1:_0x35de8e(0x1af)!=_0x1a6f04[_0x35de8e(0x1a8)]&&_0x35de8e(0x1af)==_0x6f46ad[_0x35de8e(0x1a8)]?0x1:0x0);}function _0x4f61(_0x1dc842,_0x123529){const _0x560050=_0x5600();return _0x4f61=function(_0x4f61f5,_0x2f1687){_0x4f61f5=_0x4f61f5-0x18b;let _0x636969=_0x560050[_0x4f61f5];return _0x636969;},_0x4f61(_0x1dc842,_0x123529);}export function getSelectedSuggestions(_0x3d344d,_0x3d0241){const _0x3d0fe8=_0x4f61,_0xc97f80=Array[_0x3d0fe8(0x1a2)](_0x3d344d[_0x3d0fe8(0x1aa)]()),_0x2de41f=new Set();for(const _0x3826a1 of _0x3d0241)if(_0x3826a1[_0x3d0fe8(0x19f)]){for(const _0x3d46fd of _0xc97f80)for(const _0x511a47 of _0x3826a1[_0x3d0fe8(0x1aa)]())(_0x3d46fd[_0x3d0fe8(0x190)](_0x511a47)||_0x3d344d[_0x3d0fe8(0x1ab)]&&!_0x3826a1[_0x3d0fe8(0x199)]&&_0x3826a1[_0x3d0fe8(0x198)]&&_0x511a47[_0x3d0fe8(0x1a6)][_0x3d0fe8(0x1b0)](_0x3d46fd[_0x3d0fe8(0x1a4)]))&&_0x2de41f[_0x3d0fe8(0x1a7)](_0x3826a1);}return _0x2de41f;}export function getRangesOfBlockGroups(_0x42aee3,_0x48d474){const _0xbb05d7=_0x4f61;let _0x1eefb8,_0x168615=0x0;const _0x3544a3=[],_0x10f577=_0x48d474[_0xbb05d7(0x192)];for(;_0x168615<_0x42aee3[_0xbb05d7(0x18c)];){const _0x570815=_0x42aee3[_0x168615],_0x4f239c=_0x42aee3[_0x168615+0x1];_0x1eefb8||(_0x1eefb8=_0x48d474[_0xbb05d7(0x1a1)](_0x570815)),co(_0x48d474,_0x570815,_0x4f239c)||(_0x3544a3[_0xbb05d7(0x1a5)](_0x48d474[_0xbb05d7(0x19d)](_0x1eefb8,_0x10f577[_0xbb05d7(0x19a)](_0x570815)?_0x48d474[_0xbb05d7(0x18e)](_0x570815):_0x48d474[_0xbb05d7(0x1b3)](_0x570815,_0xbb05d7(0x1a6)))),_0x1eefb8=null),_0x168615++;}return _0x3544a3;}function co(_0xaa7fb1,_0xd76673,_0x2214f8){const _0xff4c3b=_0x4f61;if(!_0x2214f8)return!0x1;const _0x1e24fa=_0xaa7fb1[_0xff4c3b(0x18e)](_0xd76673),_0x279e32=_0xaa7fb1[_0xff4c3b(0x1a1)](_0x2214f8);return _0x1e24fa[_0xff4c3b(0x1b0)](_0x279e32);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x5600(){const _0x2c0ffd=['1220RUYSEu','createRange','7587GdANlp','isInContent','join','createPositionBefore','from','2014812eFvJiu','start','push','end','add','type','\x20[color\x20','getRanges','isCollapsed','78211ZPXzMj','splice','execute','deletion','isTouching','sort','18VzUWbe','createPositionAt','change','2202828YhakDi','isArray','11Gnacui','content','length','55105vijTaC','createPositionAfter','267UyjyXP','isIntersecting','color','schema','8008hrQHOm','83549ezPrje','336SciyEk','replace','value','next','isMultiRange','isObject','map'];_0x5600=function(){return _0x2c0ffd;};return _0x5600();}export function executeCommandForSuggestions(_0x102af6,_0x315d87,_0x462a0c){const _0xd00faf=_0x4f61;for(;_0x462a0c[_0xd00faf(0x18c)];){const _0x431814=_0x462a0c[_0xd00faf(0x1ad)](0x0,0x64);_0x102af6[_0xd00faf(0x1b4)](()=>{const _0x4e6f4f=_0xd00faf;for(const _0x117a80 of _0x431814)_0x117a80[_0x4e6f4f(0x19f)]&&_0x315d87[_0x4e6f4f(0x1ae)](_0x117a80['id']);});}}
|