@ckeditor/ckeditor5-track-changes 43.3.0 → 43.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +10 -10
- 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/mergefields.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 +2 -2
- 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 +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.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 _0x5a1390=_0x3ff6;function _0x3ff6(_0x399509,_0x4532cd){const _0x59e778=_0x59e7();return _0x3ff6=function(_0x3ff66d,_0x5cceb4){_0x3ff66d=_0x3ff66d-0xd4;let _0x55ee5b=_0x59e778[_0x3ff66d];return _0x55ee5b;},_0x3ff6(_0x399509,_0x4532cd);}(function(_0xb4e39,_0x2553f0){const _0x3183ec=_0x3ff6,_0x289aff=_0xb4e39();while(!![]){try{const _0x5ddaa9=-parseInt(_0x3183ec(0x11e))/0x1+-parseInt(_0x3183ec(0x148))/0x2+parseInt(_0x3183ec(0x13b))/0x3+-parseInt(_0x3183ec(0x116))/0x4+-parseInt(_0x3183ec(0xd8))/0x5+parseInt(_0x3183ec(0x115))/0x6*(parseInt(_0x3183ec(0xdd))/0x7)+parseInt(_0x3183ec(0x125))/0x8;if(_0x5ddaa9===_0x2553f0)break;else _0x289aff['push'](_0x289aff['shift']());}catch(_0x5ab127){_0x289aff['push'](_0x289aff['shift']());}}}(_0x59e7,0x2ac4e));import{Plugin as _0x3870cd}from'ckeditor5/src/core.js';import{Collection as _0x4768c9}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x7b9a4b,createDropdown as _0x7d701d,ListSeparatorView as _0x3fc58a,MenuBarMenuView as _0x3702ef,MenuBarMenuListView as _0x44e347,MenuBarMenuListItemView as _0x5e686a,MenuBarMenuListItemButtonView as _0x3768aa,SplitButtonView as _0x21aeaa,ViewModel as _0x5f5d35}from'ckeditor5/src/ui.js';import{Users as _0x5d6a39,getDateTimeFormatter as _0x53c253,getAllMarkersDomElementsSorted as _0x3f213c}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x281759 from'./trackchangesediting.js';import _0x71e9fb from'./ui/suggestioncontroller.js';import _0x232dd2 from'./ui/view/suggestionthreadview.js';import _0x5dcc78 from'./ui/view/suggestionview.js';import{getTranslation as _0x3ffb83}from'./utils/common-translations.js';import _0x1fc271 from'../theme/icons/track-changes.svg';export default class d extends _0x3870cd{static get[_0x5a1390(0x169)](){const _0x7e1143=_0x5a1390;return[_0x281759,_0x5d6a39,_0x7e1143(0x12f),_0x7e1143(0x166),_0x7e1143(0x11f)];}static get[_0x5a1390(0x13d)](){const _0x3aeac7=_0x5a1390;return _0x3aeac7(0x168);}static get[_0x5a1390(0xe0)](){return!0x0;}static get[_0x5a1390(0x130)](){return!0x0;}constructor(_0x1c807b){const _0x317ed0=_0x5a1390;super(_0x1c807b),this[_0x317ed0(0xed)]=new Map(),this[_0x317ed0(0x105)]=new Map(),this[_0x317ed0(0x12e)]=new Map(),this[_0x317ed0(0x113)]=new Map();const _0x3678a4=this[_0x317ed0(0x10e)][_0x317ed0(0xf0)];_0x3678a4[_0x317ed0(0xef)](_0x317ed0(0x10b),_0x232dd2),_0x3678a4[_0x317ed0(0xef)](_0x317ed0(0x153),_0x5dcc78),_0x3678a4[_0x317ed0(0xef)](_0x317ed0(0xdf),!0x1),this[_0x317ed0(0x132)]=_0x3678a4[_0x317ed0(0xea)](_0x317ed0(0xdf));}[_0x5a1390(0x152)](_0x3f0c6d,_0x3bebf4){const _0x30028c=_0x5a1390;0x0===this[_0x30028c(0x113)][_0x30028c(0xf9)]&&setTimeout(()=>{const _0x1e267a=_0x30028c;for(const [_0xe72c8,_0x214dad]of this[_0x1e267a(0x113)]){const _0x3e2b6a=this[_0x1e267a(0xed)][_0x1e267a(0x111)](_0xe72c8);_0x3e2b6a||_0x214dad?_0x3e2b6a&&_0x214dad&&this[_0x1e267a(0xd6)](_0xe72c8):this[_0x1e267a(0x13f)](_0xe72c8);}this[_0x1e267a(0x113)][_0x1e267a(0x119)](),this[_0x1e267a(0x10e)][_0x1e267a(0xf6)][_0x1e267a(0xea)](_0x1e267a(0x11f))[_0x1e267a(0xe1)](),this[_0x1e267a(0x13e)]();},0xa),this[_0x30028c(0x113)][_0x30028c(0x160)](_0x3f0c6d,_0x3bebf4);}[_0x5a1390(0x10a)](){const _0x1fc30a=_0x5a1390,_0x14ef6c=this[_0x1fc30a(0x10e)],_0x194611=_0x14ef6c[_0x1fc30a(0xf6)][_0x1fc30a(0xea)](_0x1fc30a(0xde)),_0x4dac16=_0x14ef6c[_0x1fc30a(0xf6)][_0x1fc30a(0xea)](_0x1fc30a(0x166)),_0x14d2b4=_0x14ef6c[_0x1fc30a(0xf6)][_0x1fc30a(0xea)](_0x1fc30a(0x11f)),_0x520748=_0x14ef6c[_0x1fc30a(0xf6)][_0x1fc30a(0xea)](_0x1fc30a(0x12f));this[_0x1fc30a(0x13a)](),_0x14d2b4[_0x1fc30a(0xf2)](()=>{const _0x25242b=_0x1fc30a,_0x3d7172=[];for(const [_0x50289c,_0x2ed21c]of Array[_0x25242b(0x155)](this[_0x25242b(0xed)])){const _0x26937a=_0x50289c[_0x25242b(0x124)](),_0x474680=[];for(const _0x247038 of _0x26937a){if(!_0x247038[_0x25242b(0x128)])continue;if(_0x247038[_0x25242b(0x146)]){_0x474680[_0x25242b(0xee)](..._0x247038[_0x25242b(0xe5)]());continue;}const _0x3c22f4=_0x247038[_0x25242b(0xd4)]();if(_0x474680[_0x25242b(0x157)]>0x0){const _0x41011d=_0x474680[0x0][_0x25242b(0x127)](_0x3c22f4);if(_0x41011d){_0x474680[0x0]=_0x41011d;continue;}}_0x474680[_0x25242b(0xee)](_0x3c22f4);}_0x3d7172[_0x25242b(0xee)]([_0x2ed21c[_0x25242b(0x11d)],_0x474680]);}return _0x3d7172;}),this[_0x1fc30a(0x15e)](_0x194611,_0x1fc30a(0x144),(_0x83a06a,_0x31ee29)=>{const _0x4f8bb1=_0x1fc30a;this[_0x4f8bb1(0x15e)](_0x31ee29,_0x4f8bb1(0x13c),(_0x1264cb,_0x4ee1f,_0x1ce49d,_0x25dc06)=>{const _0x406c75=_0x4f8bb1;_0x31ee29[_0x406c75(0x128)]&&(null==_0x1ce49d?(this[_0x406c75(0x100)](_0x25dc06[_0x406c75(0x138)]),this[_0x406c75(0x152)](_0x31ee29,!0x1)):(this[_0x406c75(0x100)](_0x1ce49d[_0x406c75(0x138)]),null==_0x25dc06&&this[_0x406c75(0x152)](_0x31ee29,!0x0)));}),null!==_0x31ee29[_0x4f8bb1(0xf3)]?this[_0x4f8bb1(0x100)](_0x31ee29[_0x4f8bb1(0x138)]):this[_0x4f8bb1(0x152)](_0x31ee29,!0x1);}),this[_0x1fc30a(0x15e)](_0x194611,_0x1fc30a(0xdc),(_0x1de660,_0x3c5853,_0x406355)=>{const _0x3ad839=_0x1fc30a;this[_0x3ad839(0x156)](_0x3c5853,_0x3ad839(0x13c)),this[_0x3ad839(0x113)][_0x3ad839(0xfa)](_0x3c5853),this[_0x3ad839(0xed)][_0x3ad839(0x111)](_0x3c5853)&&this[_0x3ad839(0xd6)](_0x3c5853),_0x406355&&this[_0x3ad839(0x100)](_0x406355[_0x3ad839(0x138)]);}),this[_0x1fc30a(0x15e)](_0x194611,_0x1fc30a(0x161),(_0x5243cc,_0x24e16b)=>{const _0x13e577=_0x1fc30a;this[_0x13e577(0x100)](_0x24e16b);}),this[_0x1fc30a(0x15e)](_0x4dac16,_0x1fc30a(0x114),()=>{const _0x4a4b31=_0x1fc30a;this[_0x4a4b31(0x13e)]();}),this[_0x1fc30a(0x15e)](_0x520748,_0x1fc30a(0x108),(_0x11c125,{threadId:_0x5dc37b,isFromAdapter:_0x531a0f})=>{const _0x457a97=_0x1fc30a;if(_0x531a0f||!_0x194611[_0x457a97(0x123)](_0x5dc37b))return;const _0x6c7614=_0x194611[_0x457a97(0x151)](_0x5dc37b);this[_0x457a97(0xed)][_0x457a97(0xea)](_0x6c7614)[_0x457a97(0x11d)][_0x457a97(0x140)][_0x457a97(0x109)](-0x1);},{'priority':_0x1fc30a(0xe2)});}[_0x5a1390(0x13e)](){const _0xda043d=_0x5a1390,_0x3368d8=this[_0xda043d(0x10e)][_0xda043d(0xf6)][_0xda043d(0xea)](_0xda043d(0x166)),_0x2395b2=this[_0xda043d(0x10e)][_0xda043d(0xf6)][_0xda043d(0xea)](_0xda043d(0xde)),_0x2a333a=Array[_0xda043d(0x155)](_0x3368d8[_0xda043d(0xeb)],_0x5db71f=>_0x5db71f[_0xda043d(0x118)])[_0xda043d(0x110)](_0x34a53a=>this[_0xda043d(0x105)][_0xda043d(0x111)](_0x34a53a)),_0x1b6866=[];for(const _0x4d11fd of _0x2a333a){const _0x2db843=this[_0xda043d(0x105)][_0xda043d(0xea)](_0x4d11fd)[_0xda043d(0x133)][_0xda043d(0x124)]();_0x1b6866[_0xda043d(0xee)](..._0x2db843[_0xda043d(0x136)]((_0x540955,_0x7f2509)=>[..._0x540955,..._0x7f2509[_0xda043d(0x139)]()],[]));}_0x2395b2[_0xda043d(0x107)]=_0x1b6866;}[_0x5a1390(0x13a)](){const _0x37feff=_0x5a1390,_0x56cc9f=this[_0x37feff(0x10e)],_0x19eafb=_0x56cc9f[_0x37feff(0x15b)],_0x34ccfa=_0x3ffb83(_0x19eafb,_0x37feff(0x143)),_0x360810=new _0x4768c9([{'type':_0x37feff(0x10d),'model':new _0x5f5d35({'withText':!0x0,'isToggleable':!0x0,'label':_0x34ccfa,'commandName':_0x37feff(0xf4),'role':_0x37feff(0x15d)})},{'type':_0x37feff(0x11c)},{'type':_0x37feff(0x150),'model':new _0x5f5d35({'withText':!0x0,'label':_0x3ffb83(_0x19eafb,_0x37feff(0x14f)),'commandName':_0x37feff(0x137),'role':_0x37feff(0x112)})},{'type':_0x37feff(0x150),'model':new _0x5f5d35({'withText':!0x0,'label':_0x3ffb83(_0x19eafb,_0x37feff(0x102)),'commandName':_0x37feff(0xfb),'role':_0x37feff(0x112)})},{'type':_0x37feff(0x150),'model':new _0x5f5d35({'withText':!0x0,'label':_0x3ffb83(_0x19eafb,_0x37feff(0x164)),'commandName':_0x37feff(0xe8),'role':_0x37feff(0x112)})},{'type':_0x37feff(0x150),'model':new _0x5f5d35({'withText':!0x0,'label':_0x3ffb83(_0x19eafb,_0x37feff(0x121)),'commandName':_0x37feff(0xf1),'role':_0x37feff(0x112)})}]);for(const _0x5ac068 of _0x360810)if(me(_0x5ac068)){const _0x1844e4=_0x56cc9f[_0x37feff(0x10f)][_0x37feff(0xea)](_0x5ac068[_0x37feff(0x133)][_0x37feff(0x120)]);_0x5ac068[_0x37feff(0x133)][_0x37feff(0xf8)](_0x37feff(0x162),_0x37feff(0x117))['to'](_0x1844e4,_0x37feff(0x101),_0x37feff(0x117));}_0x56cc9f['ui'][_0x37feff(0x141)][_0x37feff(0xf7)](_0x37feff(0xf4),_0x524b6a=>this[_0x37feff(0xe3)](_0x524b6a,_0x360810,_0x34ccfa)),_0x56cc9f['ui'][_0x37feff(0x141)][_0x37feff(0xf7)](_0x37feff(0x15c),_0xd99051=>this[_0x37feff(0x10c)](_0xd99051,_0x360810,_0x34ccfa));}[_0x5a1390(0xe3)](_0x43449b,_0x41ac71,_0x4eb448){const _0x342ddc=_0x5a1390,_0x5bb593=_0x7d701d(_0x43449b,_0x21aeaa),_0x3e1c5f=this[_0x342ddc(0x10e)][_0x342ddc(0x10f)][_0x342ddc(0xea)](_0x342ddc(0xf4));_0x5bb593[_0x342ddc(0xdb)][_0x342ddc(0x160)]({'tooltip':_0x4eb448,'label':_0x4eb448,'icon':_0x1fc271}),_0x5bb593[_0x342ddc(0xdb)][_0x342ddc(0xf8)](_0x342ddc(0x162))['to'](_0x3e1c5f,_0x342ddc(0x101)),_0x5bb593[_0x342ddc(0xdb)]['on'](_0x342ddc(0x142),()=>{const _0x5b8125=_0x342ddc;_0x3e1c5f[_0x5b8125(0x142)](),this[_0x5b8125(0x10e)][_0x5b8125(0x135)][_0x5b8125(0x11d)][_0x5b8125(0x109)]();}),_0x7b9a4b(_0x5bb593,_0x41ac71,{'role':_0x342ddc(0x129)});const _0x5c4a80=[];for(const _0x4d226a of _0x41ac71)me(_0x4d226a)&&_0x5c4a80[_0x342ddc(0xee)](this[_0x342ddc(0x10e)][_0x342ddc(0x10f)][_0x342ddc(0xea)](_0x4d226a[_0x342ddc(0x133)][_0x342ddc(0x120)]));const _0x2dc5ae=_0x5bb593[_0x342ddc(0xdb)];return _0x2dc5ae[_0x342ddc(0xe4)][_0x342ddc(0x145)](_0x342ddc(0x117)),_0x2dc5ae[_0x342ddc(0x12d)][_0x342ddc(0x145)](_0x342ddc(0x117)),_0x2dc5ae[_0x342ddc(0xe4)][_0x342ddc(0xf8)](_0x342ddc(0x117))['to'](_0x3e1c5f,_0x342ddc(0x117)),_0x2dc5ae[_0x342ddc(0x12d)][_0x342ddc(0xf8)](_0x342ddc(0x117))[_0x342ddc(0x11a)](_0x5c4a80,_0x342ddc(0x117),(..._0x17c951)=>_0x17c951[_0x342ddc(0x147)](_0x344490=>_0x344490)),_0x5bb593['on'](_0x342ddc(0x142),_0x322b63=>{const _0x1b1ae2=_0x342ddc;this[_0x1b1ae2(0x10e)][_0x1b1ae2(0x142)](_0x322b63[_0x1b1ae2(0xda)][_0x1b1ae2(0x120)]),this[_0x1b1ae2(0x10e)][_0x1b1ae2(0x135)][_0x1b1ae2(0x11d)][_0x1b1ae2(0x109)]();}),_0x5bb593;}[_0x5a1390(0x10c)](_0x5de146,_0xaaa2ab,_0x18e546){const _0x319145=_0x5a1390,_0x234b21=new _0x3702ef(_0x5de146),_0x3e5aeb=this[_0x319145(0x10e)][_0x319145(0x10f)][_0x319145(0xea)](_0x319145(0xf4));_0x234b21[_0x319145(0xdb)][_0x319145(0x160)]({'label':_0x18e546,'icon':_0x1fc271});const _0x5456d0=new _0x44e347(_0x5de146);for(const _0xb496b6 of _0xaaa2ab){if(_0x319145(0x11c)==_0xb496b6[_0x319145(0xe9)]){_0x5456d0[_0x319145(0x167)][_0x319145(0xf7)](new _0x3fc58a(_0x5de146));continue;}const _0xd45c36=new _0x5e686a(_0x5de146,_0x234b21),_0x5a3516=new _0x3768aa(_0x5de146),_0x269061=_0xb496b6[_0x319145(0x133)];_0x5a3516[_0x319145(0xf8)](...Object[_0x319145(0x15a)](_0x269061))['to'](_0x269061),_0x5a3516[_0x319145(0x14a)](_0x319145(0x142))['to'](_0x234b21),_0x5a3516['on'](_0x319145(0x142),()=>{const _0x576a1f=_0x319145;this[_0x576a1f(0x10e)][_0x576a1f(0x142)](_0x269061[_0x576a1f(0x120)]),this[_0x576a1f(0x10e)][_0x576a1f(0x135)][_0x576a1f(0x11d)][_0x576a1f(0x109)]();}),_0xd45c36[_0x319145(0x103)][_0x319145(0xf7)](_0x5a3516),_0x5456d0[_0x319145(0x167)][_0x319145(0xf7)](_0xd45c36);}return _0x234b21[_0x319145(0xf8)](_0x319145(0x117))['to'](_0x3e5aeb,_0x319145(0x117)),_0x234b21[_0x319145(0x16a)][_0x319145(0x103)][_0x319145(0xf7)](_0x5456d0),_0x234b21;}[_0x5a1390(0x13f)](_0x48d884){const _0x38d3e4=_0x5a1390,_0xb4cd=this[_0x38d3e4(0x10e)],_0x19f171=_0xb4cd[_0x38d3e4(0xf0)],_0x2d44a2=_0xb4cd[_0x38d3e4(0xf6)][_0x38d3e4(0xea)](_0x38d3e4(0x166)),_0x4db4a9=_0xb4cd[_0x38d3e4(0xf6)][_0x38d3e4(0xea)](_0x38d3e4(0x12f)),_0x2a7830=_0xb4cd[_0x38d3e4(0xf6)][_0x38d3e4(0xea)](_0x38d3e4(0x11f)),_0x35c89e=_0xb4cd[_0x38d3e4(0xf6)][_0x38d3e4(0xea)](_0x5d6a39)['me'],_0x27d8be=_0x19f171[_0x38d3e4(0xea)](_0x38d3e4(0xf4))[_0x38d3e4(0xd9)],_0x44d1b2=_0x19f171[_0x38d3e4(0xea)](_0x38d3e4(0xf4))[_0x38d3e4(0x15f)],{CommentsListView:_0x3f0b94,CommentThreadInputView:_0x3f3c63}=_0xb4cd[_0x38d3e4(0xf6)][_0x38d3e4(0xea)](_0x38d3e4(0xfe));let _0x1c537d,_0x2a1717,_0x140e85;this[_0x38d3e4(0x12e)][_0x38d3e4(0x111)](_0x48d884['id'])?(_0x2a1717=this[_0x38d3e4(0x12e)][_0x38d3e4(0xea)](_0x48d884['id']),_0x1c537d=_0x2a1717[_0x38d3e4(0x14d)]):(_0x1c537d=new _0x27d8be(_0xb4cd[_0x38d3e4(0x15b)],_0x48d884,_0x35c89e,{'disableComments':this[_0x38d3e4(0x132)],'editorConfig':_0x19f171[_0x38d3e4(0xea)](_0x38d3e4(0xd5)),'maxCommentsWhenCollapsed':_0x19f171[_0x38d3e4(0xea)](_0x38d3e4(0xe6)),'maxThreadTotalWeight':_0x19f171[_0x38d3e4(0xea)](_0x38d3e4(0x149)),'maxCommentCharsWhenCollapsed':_0x19f171[_0x38d3e4(0xea)](_0x38d3e4(0xf5)),'formatDateTime':_0x53c253(_0x19f171[_0x38d3e4(0xea)](_0x38d3e4(0x15b))),'CommentView':_0x19f171[_0x38d3e4(0xea)](_0x38d3e4(0x106))[_0x38d3e4(0x131)],'CommentsListView':_0x3f0b94,'CommentThreadInputView':_0x3f3c63,'SuggestionView':_0x44d1b2}),_0x1c537d[_0x38d3e4(0x122)][_0x38d3e4(0x154)]['on'](_0x38d3e4(0x142),()=>{const _0x9b7e8e=_0x38d3e4;_0xb4cd[_0x9b7e8e(0x135)][_0x9b7e8e(0x11d)][_0x9b7e8e(0x109)]();}),_0x1c537d[_0x38d3e4(0x122)][_0x38d3e4(0xfc)]['on'](_0x38d3e4(0x142),()=>{const _0x131c4e=_0x38d3e4;_0xb4cd[_0x131c4e(0x135)][_0x131c4e(0x11d)][_0x131c4e(0x109)]();}),_0x2a1717=_0x2d44a2[_0x38d3e4(0x158)](this[_0x38d3e4(0x10e)][_0x38d3e4(0x15b)],_0x1c537d),_0x2a1717[_0x38d3e4(0xf8)](_0x38d3e4(0x14e))['to'](_0x1c537d,_0x38d3e4(0x14e)),_0x2a1717[_0x38d3e4(0xf8)](_0x38d3e4(0x157))['to'](_0x1c537d),_0x2a1717[_0x38d3e4(0xf8)](_0x38d3e4(0xe9))['to'](_0x1c537d,_0x38d3e4(0xe9),_0x279a66=>_0x38d3e4(0x12a)+_0x279a66),_0x1c537d['on'](_0x38d3e4(0x159),()=>{const _0x280340=_0x38d3e4;_0x140e85[_0x280340(0x165)](_0x280340(0x159));}),this[_0x38d3e4(0x12e)][_0x38d3e4(0x160)](_0x48d884['id'],_0x2a1717));const _0xc554ee=_0x4db4a9[_0x38d3e4(0x11b)](_0x48d884[_0x38d3e4(0x12b)],_0x1c537d),_0x14f961=new _0x71e9fb(_0xb4cd,_0x48d884,_0x1c537d,_0xc554ee),_0x1141f8=_0x48d884[_0x38d3e4(0x124)]()[_0x38d3e4(0x110)](_0x33cfeb=>_0x33cfeb[_0x38d3e4(0x128)]);_0x1c537d[_0x38d3e4(0x126)]=_0xb4cd[_0x38d3e4(0xf6)][_0x38d3e4(0xea)](_0x38d3e4(0xde))[_0x38d3e4(0xe7)][_0x38d3e4(0x134)](_0x1141f8),this[_0x38d3e4(0xed)][_0x38d3e4(0x160)](_0x48d884,_0x14f961),this[_0x38d3e4(0x105)][_0x38d3e4(0x160)](_0x1c537d,_0x14f961),_0x140e85=_0x2d44a2[_0x38d3e4(0x12c)]({'view':_0x2a1717,'target':()=>{const _0x50cd97=_0x38d3e4,_0x26aa84=[],_0x171160=_0x48d884[_0x50cd97(0x124)]()[_0x50cd97(0x110)](_0x1f9759=>_0x1f9759[_0x50cd97(0x128)]);for(const _0x231b3b of _0x171160)_0x26aa84[_0x50cd97(0xee)](..._0x231b3b[_0x50cd97(0xfd)]());return _0x3f213c(_0xb4cd[_0x50cd97(0x135)],_0x26aa84);},'type':()=>_0x38d3e4(0x12a)+_0x14f961[_0x38d3e4(0x11d)][_0x38d3e4(0xe9)]}),_0x4db4a9[_0x38d3e4(0xff)](_0x1c537d,_0x140e85),_0x2d44a2[_0x38d3e4(0xf7)](_0x140e85),_0x2a7830[_0x38d3e4(0xec)](_0x140e85);}[_0x5a1390(0xd6)](_0x44b299){const _0x565be1=_0x5a1390,_0x117070=this[_0x565be1(0x10e)][_0x565be1(0xf6)][_0x565be1(0xea)](_0x565be1(0x12f)),_0x165c89=this[_0x565be1(0x10e)][_0x565be1(0xf6)][_0x565be1(0xea)](_0x565be1(0x166)),_0x5042fe=this[_0x565be1(0xed)][_0x565be1(0xea)](_0x44b299),_0x1ca761=_0x5042fe[_0x565be1(0x11d)],_0x2f6725=_0x165c89[_0x565be1(0xd7)](_0x1ca761);_0x117070[_0x565be1(0x104)](_0x1ca761),_0x2f6725&&_0x165c89[_0x565be1(0x14b)](_0x2f6725),this[_0x565be1(0xed)][_0x565be1(0xfa)](_0x44b299),this[_0x565be1(0x105)][_0x565be1(0xfa)](_0x1ca761),_0x5042fe[_0x565be1(0x14c)]();}[_0x5a1390(0x100)](_0x243a60){const _0x2dccef=_0x5a1390;if(!_0x243a60[_0x2dccef(0x128)]||!this[_0x2dccef(0xed)][_0x2dccef(0x111)](_0x243a60))return;const _0x188d11=this[_0x2dccef(0x10e)][_0x2dccef(0xf6)][_0x2dccef(0xea)](_0x2dccef(0xde)),_0x55b752=this[_0x2dccef(0xed)][_0x2dccef(0xea)](_0x243a60),_0x5d2f5a=_0x243a60[_0x2dccef(0x124)]();_0x55b752[_0x2dccef(0x11d)][_0x2dccef(0x126)]=_0x188d11[_0x2dccef(0xe7)][_0x2dccef(0x134)](_0x5d2f5a);}[_0x5a1390(0x14c)](){const _0x14e85f=_0x5a1390;for(const _0x34c842 of this[_0x14e85f(0xed)][_0x14e85f(0x15a)]())this[_0x14e85f(0xd6)](_0x34c842);for(const _0x1f3bb6 of this[_0x14e85f(0x12e)][_0x14e85f(0x163)]())_0x1f3bb6[_0x14e85f(0x14d)][_0x14e85f(0x14c)]();super[_0x14e85f(0x14c)]();}}function _0x59e7(){const _0x4c985f=['focus','init','trackChanges.SuggestionThreadView','_createMenuBarMenu','switchbutton','editor','commands','filter','has','menuitem','_handleControllerBuffer','change:activeAnnotations','30aAnfbm','28500ytQowW','isEnabled','innerView','clear','toMany','createCommentThreadController','separator','view','334743MNqHAe','EditorAnnotations','commandName','Discard\x20all\x20selected\x20suggestions','suggestionView','hasSuggestion','getAllAdjacentSuggestions','2555064DKvPZx','descriptionParts','getJoined','isInContent','menu','suggestion-','commentThread','createAnnotation','arrowView','_annotationViews','CommentsRepository','isPremiumPlugin','CommentView','_disableComments','model','getDescriptions','editing','reduce','acceptAllSuggestions','head','getMarkerNames','_addUIComponentsToFactory','712413NLrHma','change:previous','pluginName','_refreshActiveMarkers','_initializeController','commentsListView','componentFactory','execute','Track\x20changes','suggestionLoaded','unbind','isMultiRange','some','576024sDEUbT','comments.maxThreadTotalWeight','delegate','remove','destroy','mainView','isDirty','Accept\x20all\x20suggestions','button','getSuggestion','_handleSuggestionControllerDelayed','trackChanges.SuggestionView','acceptButton','from','stopListening','length','createAnnotationView','escape','keys','locale','menuBar:trackChanges','menuitemcheckbox','listenTo','SuggestionView','set','suggestionChanged','isOn','values','Discard\x20all\x20suggestions','fire','Annotations','items','TrackChangesUI','requires','panelView','getFirstRange','comments.editorConfig','_destroyController','getByInnerView','368310EAPKuN','SuggestionThreadView','source','buttonView','suggestionUnloaded','450618woEkCV','TrackChangesEditing','trackChanges.disableComments','isOfficialPlugin','refreshSelectedViews','lowest','_createToolbarButton','actionView','getRanges','comments.maxCommentsWhenCollapsed','descriptionFactory','discardAllSuggestions','type','get','activeAnnotations','registerAnnotation','_suggestionToController','push','define','config','discardSelectedSuggestions','addSourceCollector','previous','trackChanges','comments.maxCommentCharsWhenCollapsed','plugins','add','bind','size','delete','acceptSelectedSuggestions','discardButton','getMarkers','CommentsUI','_bindAnnotationToEditors','_updateController','value','Accept\x20all\x20selected\x20suggestions','children','_unbindEditors','_viewToController','comments','activeMarkers','addComment'];_0x59e7=function(){return _0x4c985f;};return _0x59e7();}function me(_0x4cfde8){const _0x22ff57=_0x5a1390;return _0x22ff57(0x133)in _0x4cfde8;}
|
|
23
|
+
const _0x394bf3=_0x2900;(function(_0x33760f,_0x5f540e){const _0x4f8fc2=_0x2900,_0x41a92d=_0x33760f();while(!![]){try{const _0x3936dd=-parseInt(_0x4f8fc2(0x16c))/0x1*(parseInt(_0x4f8fc2(0x157))/0x2)+-parseInt(_0x4f8fc2(0x1cc))/0x3+-parseInt(_0x4f8fc2(0x1d1))/0x4+parseInt(_0x4f8fc2(0x17a))/0x5*(-parseInt(_0x4f8fc2(0x1b7))/0x6)+parseInt(_0x4f8fc2(0x18d))/0x7+-parseInt(_0x4f8fc2(0x194))/0x8*(parseInt(_0x4f8fc2(0x1d3))/0x9)+parseInt(_0x4f8fc2(0x1c9))/0xa*(parseInt(_0x4f8fc2(0x1ad))/0xb);if(_0x3936dd===_0x5f540e)break;else _0x41a92d['push'](_0x41a92d['shift']());}catch(_0x26d616){_0x41a92d['push'](_0x41a92d['shift']());}}}(_0x2b0b,0x5dcd5));function _0x2900(_0x31c913,_0x506efd){const _0x2b0be8=_0x2b0b();return _0x2900=function(_0x29009e,_0x1e1356){_0x29009e=_0x29009e-0x14d;let _0x1ecbc7=_0x2b0be8[_0x29009e];return _0x1ecbc7;},_0x2900(_0x31c913,_0x506efd);}import{Plugin as _0x36bfd0}from'ckeditor5/src/core.js';import{Collection as _0x473b52}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x3abda0,createDropdown as _0x53b22b,ListSeparatorView as _0x1ae262,MenuBarMenuView as _0x3361fd,MenuBarMenuListView as _0x262f62,MenuBarMenuListItemView as _0x5a6f2c,MenuBarMenuListItemButtonView as _0x523737,SplitButtonView as _0x54ffc0,ViewModel as _0x3c3455}from'ckeditor5/src/ui.js';import{Users as _0x5dd9c5,getDateTimeFormatter as _0x15bc8d,getAllMarkersDomElementsSorted as _0x4ca2bd}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5f05b1 from'./trackchangesediting.js';import _0x32bda2 from'./ui/suggestioncontroller.js';import _0x21d631 from'./ui/view/suggestionthreadview.js';import _0x5e1b7f from'./ui/view/suggestionview.js';import{getTranslation as _0x11585b}from'./utils/common-translations.js';import _0x3793b7 from'../theme/icons/track-changes.svg';function _0x2b0b(){const _0x16dd2b=['filter','menuitem','commands','reduce','getAllAdjacentSuggestions','isOfficialPlugin','getSuggestion','3377615RlzuSG','panelView','buttonView','menu','model','commandName','escape','lowest','trackChanges','_addUIComponentsToFactory','_viewToController','change:activeAnnotations','isInContent','SuggestionThreadView','addSourceCollector','SuggestionView','toMany','Discard\x20all\x20selected\x20suggestions','EditorAnnotations','4054666VfRnRf','_refreshActiveMarkers','suggestionChanged','CommentsRepository','Track\x20changes','arrowView','trackChanges.SuggestionThreadView','8zDDcuK','pluginName','children','size','trackChanges.disableComments','bind','getMarkers','descriptionParts','activeAnnotations','_updateController','activeMarkers','commentThread','suggestionView','acceptButton','getRanges','isMultiRange','stopListening','comments.editorConfig','createAnnotationView','comments.maxThreadTotalWeight','source','suggestion-','editing','clear','change:previous','154IwmRzl','unbind','keys','isPremiumPlugin','registerAnnotation','_handleControllerBuffer','previous','delegate','requires','Accept\x20all\x20selected\x20suggestions','6UBEFpm','getDescriptions','Annotations','editor','discardButton','_initializeController','TrackChangesEditing','Accept\x20all\x20suggestions','TrackChangesUI','hasSuggestion','_bindAnnotationToEditors','listenTo','_handleSuggestionControllerDelayed','isDirty','getByInnerView','add','switchbutton','discardAllSuggestions','1737630bfjurH','CommentsUI','acceptAllSuggestions','1873272WzpzWo','menuitemcheckbox','getMarkerNames','mainView','commentsListView','972468fIEVWN','acceptSelectedSuggestions','4404807vtxkci','_disableComments','init','execute','_unbindEditors','length','trackChanges.SuggestionView','innerView','comments.maxCommentCharsWhenCollapsed','some','head','items','_createToolbarButton','actionView','componentFactory','CommentView','button','set','discardSelectedSuggestions','has','separator','createAnnotation','view','define','Discard\x20all\x20suggestions','plugins','isEnabled','remove','getJoined','_annotationViews','238088uwaEoP','getFirstRange','type','delete','push','createCommentThreadController','fire','addComment','get','menuBar:trackChanges','refreshSelectedViews','from','_createMenuBarMenu','destroy','values','locale','descriptionFactory','_destroyController','suggestionLoaded','focus','isOn','5ZxznMX','suggestionUnloaded','value','comments.maxCommentsWhenCollapsed','comments','config','_suggestionToController'];_0x2b0b=function(){return _0x16dd2b;};return _0x2b0b();}export default class d extends _0x36bfd0{static get[_0x394bf3(0x1b5)](){const _0x21dd89=_0x394bf3;return[_0x5f05b1,_0x5dd9c5,_0x21dd89(0x190),_0x21dd89(0x1b9),_0x21dd89(0x18c)];}static get[_0x394bf3(0x195)](){const _0x55f428=_0x394bf3;return _0x55f428(0x1bf);}static get[_0x394bf3(0x178)](){return!0x0;}static get[_0x394bf3(0x1b0)](){return!0x0;}constructor(_0x486325){const _0x18d007=_0x394bf3;super(_0x486325),this[_0x18d007(0x172)]=new Map(),this[_0x18d007(0x184)]=new Map(),this[_0x18d007(0x156)]=new Map(),this[_0x18d007(0x1b2)]=new Map();const _0x2b0847=this[_0x18d007(0x1ba)][_0x18d007(0x171)];_0x2b0847[_0x18d007(0x150)](_0x18d007(0x193),_0x21d631),_0x2b0847[_0x18d007(0x150)](_0x18d007(0x1d9),_0x5e1b7f),_0x2b0847[_0x18d007(0x150)](_0x18d007(0x198),!0x1),this[_0x18d007(0x1d4)]=_0x2b0847[_0x18d007(0x15f)](_0x18d007(0x198));}[_0x394bf3(0x1c3)](_0xfeb79e,_0x10f1cb){const _0x13b038=_0x394bf3;0x0===this[_0x13b038(0x1b2)][_0x13b038(0x197)]&&setTimeout(()=>{const _0x3edafe=_0x13b038;for(const [_0x154ba5,_0x2890bc]of this[_0x3edafe(0x1b2)]){const _0x4df929=this[_0x3edafe(0x172)][_0x3edafe(0x1e6)](_0x154ba5);_0x4df929||_0x2890bc?_0x4df929&&_0x2890bc&&this[_0x3edafe(0x168)](_0x154ba5):this[_0x3edafe(0x1bc)](_0x154ba5);}this[_0x3edafe(0x1b2)][_0x3edafe(0x1ab)](),this[_0x3edafe(0x1ba)][_0x3edafe(0x152)][_0x3edafe(0x15f)](_0x3edafe(0x18c))[_0x3edafe(0x161)](),this[_0x3edafe(0x18e)]();},0xa),this[_0x13b038(0x1b2)][_0x13b038(0x1e4)](_0xfeb79e,_0x10f1cb);}[_0x394bf3(0x1d5)](){const _0x4a92ef=_0x394bf3,_0x593ac1=this[_0x4a92ef(0x1ba)],_0x5b7903=_0x593ac1[_0x4a92ef(0x152)][_0x4a92ef(0x15f)](_0x4a92ef(0x1bd)),_0x59902d=_0x593ac1[_0x4a92ef(0x152)][_0x4a92ef(0x15f)](_0x4a92ef(0x1b9)),_0x13d9de=_0x593ac1[_0x4a92ef(0x152)][_0x4a92ef(0x15f)](_0x4a92ef(0x18c)),_0x4d5c31=_0x593ac1[_0x4a92ef(0x152)][_0x4a92ef(0x15f)](_0x4a92ef(0x190));this[_0x4a92ef(0x183)](),_0x13d9de[_0x4a92ef(0x188)](()=>{const _0x40bbdf=_0x4a92ef,_0xc04efc=[];for(const [_0x23d587,_0x199f1f]of Array[_0x40bbdf(0x162)](this[_0x40bbdf(0x172)])){const _0x3786bb=_0x23d587[_0x40bbdf(0x177)](),_0x176278=[];for(const _0x491b1c of _0x3786bb){if(!_0x491b1c[_0x40bbdf(0x186)])continue;if(_0x491b1c[_0x40bbdf(0x1a3)]){_0x176278[_0x40bbdf(0x15b)](..._0x491b1c[_0x40bbdf(0x1a2)]());continue;}const _0x26323f=_0x491b1c[_0x40bbdf(0x158)]();if(_0x176278[_0x40bbdf(0x1d8)]>0x0){const _0x5c2cfa=_0x176278[0x0][_0x40bbdf(0x155)](_0x26323f);if(_0x5c2cfa){_0x176278[0x0]=_0x5c2cfa;continue;}}_0x176278[_0x40bbdf(0x15b)](_0x26323f);}_0xc04efc[_0x40bbdf(0x15b)]([_0x199f1f[_0x40bbdf(0x14f)],_0x176278]);}return _0xc04efc;}),this[_0x4a92ef(0x1c2)](_0x5b7903,_0x4a92ef(0x169),(_0x131084,_0x35b050)=>{const _0x4fff8e=_0x4a92ef;this[_0x4fff8e(0x1c2)](_0x35b050,_0x4fff8e(0x1ac),(_0x4ea42a,_0x43c687,_0x32c5ea,_0xd1704e)=>{const _0x24f907=_0x4fff8e;_0x35b050[_0x24f907(0x186)]&&(null==_0x32c5ea?(this[_0x24f907(0x19d)](_0xd1704e[_0x24f907(0x1dd)]),this[_0x24f907(0x1c3)](_0x35b050,!0x1)):(this[_0x24f907(0x19d)](_0x32c5ea[_0x24f907(0x1dd)]),null==_0xd1704e&&this[_0x24f907(0x1c3)](_0x35b050,!0x0)));}),null!==_0x35b050[_0x4fff8e(0x1b3)]?this[_0x4fff8e(0x19d)](_0x35b050[_0x4fff8e(0x1dd)]):this[_0x4fff8e(0x1c3)](_0x35b050,!0x1);}),this[_0x4a92ef(0x1c2)](_0x5b7903,_0x4a92ef(0x16d),(_0xde6150,_0x53060f,_0x566ffa)=>{const _0x2ca28f=_0x4a92ef;this[_0x2ca28f(0x1a4)](_0x53060f,_0x2ca28f(0x1ac)),this[_0x2ca28f(0x1b2)][_0x2ca28f(0x15a)](_0x53060f),this[_0x2ca28f(0x172)][_0x2ca28f(0x1e6)](_0x53060f)&&this[_0x2ca28f(0x168)](_0x53060f),_0x566ffa&&this[_0x2ca28f(0x19d)](_0x566ffa[_0x2ca28f(0x1dd)]);}),this[_0x4a92ef(0x1c2)](_0x5b7903,_0x4a92ef(0x18f),(_0x1bd54f,_0x1d9df7)=>{const _0xd80e46=_0x4a92ef;this[_0xd80e46(0x19d)](_0x1d9df7);}),this[_0x4a92ef(0x1c2)](_0x59902d,_0x4a92ef(0x185),()=>{const _0x42b90c=_0x4a92ef;this[_0x42b90c(0x18e)]();}),this[_0x4a92ef(0x1c2)](_0x4d5c31,_0x4a92ef(0x15e),(_0x86cad1,{threadId:_0x233653,isFromAdapter:_0x205231})=>{const _0x3a3302=_0x4a92ef;if(_0x205231||!_0x5b7903[_0x3a3302(0x1c0)](_0x233653))return;const _0x265cc1=_0x5b7903[_0x3a3302(0x179)](_0x233653);this[_0x3a3302(0x172)][_0x3a3302(0x15f)](_0x265cc1)[_0x3a3302(0x14f)][_0x3a3302(0x1d0)][_0x3a3302(0x16a)](-0x1);},{'priority':_0x4a92ef(0x181)});}[_0x394bf3(0x18e)](){const _0x58ea91=_0x394bf3,_0x18d123=this[_0x58ea91(0x1ba)][_0x58ea91(0x152)][_0x58ea91(0x15f)](_0x58ea91(0x1b9)),_0x291b38=this[_0x58ea91(0x1ba)][_0x58ea91(0x152)][_0x58ea91(0x15f)](_0x58ea91(0x1bd)),_0x335d24=Array[_0x58ea91(0x162)](_0x18d123[_0x58ea91(0x19c)],_0x2f5170=>_0x2f5170[_0x58ea91(0x1da)])[_0x58ea91(0x173)](_0x24d94a=>this[_0x58ea91(0x184)][_0x58ea91(0x1e6)](_0x24d94a)),_0x4e845f=[];for(const _0x58fe0c of _0x335d24){const _0x289af5=this[_0x58ea91(0x184)][_0x58ea91(0x15f)](_0x58fe0c)[_0x58ea91(0x17e)][_0x58ea91(0x177)]();_0x4e845f[_0x58ea91(0x15b)](..._0x289af5[_0x58ea91(0x176)]((_0xe008c8,_0x2c99d1)=>[..._0xe008c8,..._0x2c99d1[_0x58ea91(0x1ce)]()],[]));}_0x291b38[_0x58ea91(0x19e)]=_0x4e845f;}[_0x394bf3(0x183)](){const _0x1300fd=_0x394bf3,_0x50e039=this[_0x1300fd(0x1ba)],_0x4807ce=_0x50e039[_0x1300fd(0x166)],_0x8c802=_0x11585b(_0x4807ce,_0x1300fd(0x191)),_0x3ef698=new _0x473b52([{'type':_0x1300fd(0x1c7),'model':new _0x3c3455({'withText':!0x0,'isToggleable':!0x0,'label':_0x8c802,'commandName':_0x1300fd(0x182),'role':_0x1300fd(0x1cd)})},{'type':_0x1300fd(0x14d)},{'type':_0x1300fd(0x1e3),'model':new _0x3c3455({'withText':!0x0,'label':_0x11585b(_0x4807ce,_0x1300fd(0x1be)),'commandName':_0x1300fd(0x1cb),'role':_0x1300fd(0x174)})},{'type':_0x1300fd(0x1e3),'model':new _0x3c3455({'withText':!0x0,'label':_0x11585b(_0x4807ce,_0x1300fd(0x1b6)),'commandName':_0x1300fd(0x1d2),'role':_0x1300fd(0x174)})},{'type':_0x1300fd(0x1e3),'model':new _0x3c3455({'withText':!0x0,'label':_0x11585b(_0x4807ce,_0x1300fd(0x151)),'commandName':_0x1300fd(0x1c8),'role':_0x1300fd(0x174)})},{'type':_0x1300fd(0x1e3),'model':new _0x3c3455({'withText':!0x0,'label':_0x11585b(_0x4807ce,_0x1300fd(0x18b)),'commandName':_0x1300fd(0x1e5),'role':_0x1300fd(0x174)})}]);for(const _0x942b90 of _0x3ef698)if(me(_0x942b90)){const _0x4abda8=_0x50e039[_0x1300fd(0x175)][_0x1300fd(0x15f)](_0x942b90[_0x1300fd(0x17e)][_0x1300fd(0x17f)]);_0x942b90[_0x1300fd(0x17e)][_0x1300fd(0x199)](_0x1300fd(0x16b),_0x1300fd(0x153))['to'](_0x4abda8,_0x1300fd(0x16e),_0x1300fd(0x153));}_0x50e039['ui'][_0x1300fd(0x1e1)][_0x1300fd(0x1c6)](_0x1300fd(0x182),_0x1177f5=>this[_0x1300fd(0x1df)](_0x1177f5,_0x3ef698,_0x8c802)),_0x50e039['ui'][_0x1300fd(0x1e1)][_0x1300fd(0x1c6)](_0x1300fd(0x160),_0x4ad9f5=>this[_0x1300fd(0x163)](_0x4ad9f5,_0x3ef698,_0x8c802));}[_0x394bf3(0x1df)](_0x5ae813,_0x1a9e12,_0x4e1bd0){const _0x55878a=_0x394bf3,_0x58b4bb=_0x53b22b(_0x5ae813,_0x54ffc0),_0x59fab2=this[_0x55878a(0x1ba)][_0x55878a(0x175)][_0x55878a(0x15f)](_0x55878a(0x182));_0x58b4bb[_0x55878a(0x17c)][_0x55878a(0x1e4)]({'tooltip':_0x4e1bd0,'label':_0x4e1bd0,'icon':_0x3793b7}),_0x58b4bb[_0x55878a(0x17c)][_0x55878a(0x199)](_0x55878a(0x16b))['to'](_0x59fab2,_0x55878a(0x16e)),_0x58b4bb[_0x55878a(0x17c)]['on'](_0x55878a(0x1d6),()=>{const _0x592b4e=_0x55878a;_0x59fab2[_0x592b4e(0x1d6)](),this[_0x592b4e(0x1ba)][_0x592b4e(0x1aa)][_0x592b4e(0x14f)][_0x592b4e(0x16a)]();}),_0x3abda0(_0x58b4bb,_0x1a9e12,{'role':_0x55878a(0x17d)});const _0x5857d8=[];for(const _0x21bd04 of _0x1a9e12)me(_0x21bd04)&&_0x5857d8[_0x55878a(0x15b)](this[_0x55878a(0x1ba)][_0x55878a(0x175)][_0x55878a(0x15f)](_0x21bd04[_0x55878a(0x17e)][_0x55878a(0x17f)]));const _0x490997=_0x58b4bb[_0x55878a(0x17c)];return _0x490997[_0x55878a(0x1e0)][_0x55878a(0x1ae)](_0x55878a(0x153)),_0x490997[_0x55878a(0x192)][_0x55878a(0x1ae)](_0x55878a(0x153)),_0x490997[_0x55878a(0x1e0)][_0x55878a(0x199)](_0x55878a(0x153))['to'](_0x59fab2,_0x55878a(0x153)),_0x490997[_0x55878a(0x192)][_0x55878a(0x199)](_0x55878a(0x153))[_0x55878a(0x18a)](_0x5857d8,_0x55878a(0x153),(..._0x375921)=>_0x375921[_0x55878a(0x1dc)](_0x1826c5=>_0x1826c5)),_0x58b4bb['on'](_0x55878a(0x1d6),_0x53317f=>{const _0xfa00c4=_0x55878a;this[_0xfa00c4(0x1ba)][_0xfa00c4(0x1d6)](_0x53317f[_0xfa00c4(0x1a8)][_0xfa00c4(0x17f)]),this[_0xfa00c4(0x1ba)][_0xfa00c4(0x1aa)][_0xfa00c4(0x14f)][_0xfa00c4(0x16a)]();}),_0x58b4bb;}[_0x394bf3(0x163)](_0x2b9f40,_0x22d336,_0x253e61){const _0x19611a=_0x394bf3,_0x3110ef=new _0x3361fd(_0x2b9f40),_0x1ffc8c=this[_0x19611a(0x1ba)][_0x19611a(0x175)][_0x19611a(0x15f)](_0x19611a(0x182));_0x3110ef[_0x19611a(0x17c)][_0x19611a(0x1e4)]({'label':_0x253e61,'icon':_0x3793b7});const _0x4745d0=new _0x262f62(_0x2b9f40);for(const _0x256c97 of _0x22d336){if(_0x19611a(0x14d)==_0x256c97[_0x19611a(0x159)]){_0x4745d0[_0x19611a(0x1de)][_0x19611a(0x1c6)](new _0x1ae262(_0x2b9f40));continue;}const _0x622654=new _0x5a6f2c(_0x2b9f40,_0x3110ef),_0x3ee59d=new _0x523737(_0x2b9f40),_0x2c45e8=_0x256c97[_0x19611a(0x17e)];_0x3ee59d[_0x19611a(0x199)](...Object[_0x19611a(0x1af)](_0x2c45e8))['to'](_0x2c45e8),_0x3ee59d[_0x19611a(0x1b4)](_0x19611a(0x1d6))['to'](_0x3110ef),_0x3ee59d['on'](_0x19611a(0x1d6),()=>{const _0x19bc6a=_0x19611a;this[_0x19bc6a(0x1ba)][_0x19bc6a(0x1d6)](_0x2c45e8[_0x19bc6a(0x17f)]),this[_0x19bc6a(0x1ba)][_0x19bc6a(0x1aa)][_0x19bc6a(0x14f)][_0x19bc6a(0x16a)]();}),_0x622654[_0x19611a(0x196)][_0x19611a(0x1c6)](_0x3ee59d),_0x4745d0[_0x19611a(0x1de)][_0x19611a(0x1c6)](_0x622654);}return _0x3110ef[_0x19611a(0x199)](_0x19611a(0x153))['to'](_0x1ffc8c,_0x19611a(0x153)),_0x3110ef[_0x19611a(0x17b)][_0x19611a(0x196)][_0x19611a(0x1c6)](_0x4745d0),_0x3110ef;}[_0x394bf3(0x1bc)](_0x3537ad){const _0x290a74=_0x394bf3,_0x1cd782=this[_0x290a74(0x1ba)],_0x231b9d=_0x1cd782[_0x290a74(0x171)],_0x4d70e2=_0x1cd782[_0x290a74(0x152)][_0x290a74(0x15f)](_0x290a74(0x1b9)),_0x3f5581=_0x1cd782[_0x290a74(0x152)][_0x290a74(0x15f)](_0x290a74(0x190)),_0x1ef935=_0x1cd782[_0x290a74(0x152)][_0x290a74(0x15f)](_0x290a74(0x18c)),_0x32eb90=_0x1cd782[_0x290a74(0x152)][_0x290a74(0x15f)](_0x5dd9c5)['me'],_0x40d553=_0x231b9d[_0x290a74(0x15f)](_0x290a74(0x182))[_0x290a74(0x187)],_0x1f12fa=_0x231b9d[_0x290a74(0x15f)](_0x290a74(0x182))[_0x290a74(0x189)],{CommentsListView:_0x32d63a,CommentThreadInputView:_0x429bf8}=_0x1cd782[_0x290a74(0x152)][_0x290a74(0x15f)](_0x290a74(0x1ca));let _0x5a3485,_0x167cbe,_0x20bcfc;this[_0x290a74(0x156)][_0x290a74(0x1e6)](_0x3537ad['id'])?(_0x167cbe=this[_0x290a74(0x156)][_0x290a74(0x15f)](_0x3537ad['id']),_0x5a3485=_0x167cbe[_0x290a74(0x1cf)]):(_0x5a3485=new _0x40d553(_0x1cd782[_0x290a74(0x166)],_0x3537ad,_0x32eb90,{'disableComments':this[_0x290a74(0x1d4)],'editorConfig':_0x231b9d[_0x290a74(0x15f)](_0x290a74(0x1a5)),'maxCommentsWhenCollapsed':_0x231b9d[_0x290a74(0x15f)](_0x290a74(0x16f)),'maxThreadTotalWeight':_0x231b9d[_0x290a74(0x15f)](_0x290a74(0x1a7)),'maxCommentCharsWhenCollapsed':_0x231b9d[_0x290a74(0x15f)](_0x290a74(0x1db)),'formatDateTime':_0x15bc8d(_0x231b9d[_0x290a74(0x15f)](_0x290a74(0x166))),'CommentView':_0x231b9d[_0x290a74(0x15f)](_0x290a74(0x170))[_0x290a74(0x1e2)],'CommentsListView':_0x32d63a,'CommentThreadInputView':_0x429bf8,'SuggestionView':_0x1f12fa}),_0x5a3485[_0x290a74(0x1a0)][_0x290a74(0x1a1)]['on'](_0x290a74(0x1d6),()=>{const _0x102786=_0x290a74;_0x1cd782[_0x102786(0x1aa)][_0x102786(0x14f)][_0x102786(0x16a)]();}),_0x5a3485[_0x290a74(0x1a0)][_0x290a74(0x1bb)]['on'](_0x290a74(0x1d6),()=>{const _0x4e53ff=_0x290a74;_0x1cd782[_0x4e53ff(0x1aa)][_0x4e53ff(0x14f)][_0x4e53ff(0x16a)]();}),_0x167cbe=_0x4d70e2[_0x290a74(0x1a6)](this[_0x290a74(0x1ba)][_0x290a74(0x166)],_0x5a3485),_0x167cbe[_0x290a74(0x199)](_0x290a74(0x1c4))['to'](_0x5a3485,_0x290a74(0x1c4)),_0x167cbe[_0x290a74(0x199)](_0x290a74(0x1d8))['to'](_0x5a3485),_0x167cbe[_0x290a74(0x199)](_0x290a74(0x159))['to'](_0x5a3485,_0x290a74(0x159),_0x3440c8=>_0x290a74(0x1a9)+_0x3440c8),_0x5a3485['on'](_0x290a74(0x180),()=>{const _0x16ede4=_0x290a74;_0x20bcfc[_0x16ede4(0x15d)](_0x16ede4(0x180));}),this[_0x290a74(0x156)][_0x290a74(0x1e4)](_0x3537ad['id'],_0x167cbe));const _0x3252f5=_0x3f5581[_0x290a74(0x15c)](_0x3537ad[_0x290a74(0x19f)],_0x5a3485),_0x1bdea4=new _0x32bda2(_0x1cd782,_0x3537ad,_0x5a3485,_0x3252f5),_0x4b0d77=_0x3537ad[_0x290a74(0x177)]()[_0x290a74(0x173)](_0x1f8d12=>_0x1f8d12[_0x290a74(0x186)]);_0x5a3485[_0x290a74(0x19b)]=_0x1cd782[_0x290a74(0x152)][_0x290a74(0x15f)](_0x290a74(0x1bd))[_0x290a74(0x167)][_0x290a74(0x1b8)](_0x4b0d77),this[_0x290a74(0x172)][_0x290a74(0x1e4)](_0x3537ad,_0x1bdea4),this[_0x290a74(0x184)][_0x290a74(0x1e4)](_0x5a3485,_0x1bdea4),_0x20bcfc=_0x4d70e2[_0x290a74(0x14e)]({'view':_0x167cbe,'target':()=>{const _0x90e676=_0x290a74,_0x539f3b=[],_0x51b556=_0x3537ad[_0x90e676(0x177)]()[_0x90e676(0x173)](_0x1ff178=>_0x1ff178[_0x90e676(0x186)]);for(const _0x158cea of _0x51b556)_0x539f3b[_0x90e676(0x15b)](..._0x158cea[_0x90e676(0x19a)]());return _0x4ca2bd(_0x1cd782[_0x90e676(0x1aa)],_0x539f3b);},'type':()=>_0x290a74(0x1a9)+_0x1bdea4[_0x290a74(0x14f)][_0x290a74(0x159)]}),_0x3f5581[_0x290a74(0x1c1)](_0x5a3485,_0x20bcfc),_0x4d70e2[_0x290a74(0x1c6)](_0x20bcfc),_0x1ef935[_0x290a74(0x1b1)](_0x20bcfc);}[_0x394bf3(0x168)](_0x2177de){const _0x3b55a7=_0x394bf3,_0x2ce610=this[_0x3b55a7(0x1ba)][_0x3b55a7(0x152)][_0x3b55a7(0x15f)](_0x3b55a7(0x190)),_0x931c48=this[_0x3b55a7(0x1ba)][_0x3b55a7(0x152)][_0x3b55a7(0x15f)](_0x3b55a7(0x1b9)),_0x59fd53=this[_0x3b55a7(0x172)][_0x3b55a7(0x15f)](_0x2177de),_0x3c696a=_0x59fd53[_0x3b55a7(0x14f)],_0x6fc937=_0x931c48[_0x3b55a7(0x1c5)](_0x3c696a);_0x2ce610[_0x3b55a7(0x1d7)](_0x3c696a),_0x6fc937&&_0x931c48[_0x3b55a7(0x154)](_0x6fc937),this[_0x3b55a7(0x172)][_0x3b55a7(0x15a)](_0x2177de),this[_0x3b55a7(0x184)][_0x3b55a7(0x15a)](_0x3c696a),_0x59fd53[_0x3b55a7(0x164)]();}[_0x394bf3(0x19d)](_0xc5dc16){const _0x17b5e9=_0x394bf3;if(!_0xc5dc16[_0x17b5e9(0x186)]||!this[_0x17b5e9(0x172)][_0x17b5e9(0x1e6)](_0xc5dc16))return;const _0x47a380=this[_0x17b5e9(0x1ba)][_0x17b5e9(0x152)][_0x17b5e9(0x15f)](_0x17b5e9(0x1bd)),_0x5d9b5b=this[_0x17b5e9(0x172)][_0x17b5e9(0x15f)](_0xc5dc16),_0x12f298=_0xc5dc16[_0x17b5e9(0x177)]();_0x5d9b5b[_0x17b5e9(0x14f)][_0x17b5e9(0x19b)]=_0x47a380[_0x17b5e9(0x167)][_0x17b5e9(0x1b8)](_0x12f298);}[_0x394bf3(0x164)](){const _0x53d6b6=_0x394bf3;for(const _0x15ff86 of this[_0x53d6b6(0x172)][_0x53d6b6(0x1af)]())this[_0x53d6b6(0x168)](_0x15ff86);for(const _0x43424e of this[_0x53d6b6(0x156)][_0x53d6b6(0x165)]())_0x43424e[_0x53d6b6(0x1cf)][_0x53d6b6(0x164)]();super[_0x53d6b6(0x164)]();}}function me(_0x1da844){const _0xeb0f12=_0x394bf3;return _0xeb0f12(0x17e)in _0x1da844;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1b968e=_0x1268;(function(_0x4f3811,_0xdb5889){const _0x21179b=_0x1268,_0x275f15=_0x4f3811();while(!![]){try{const _0x22b649=-parseInt(_0x21179b(0x178))/0x1*(-parseInt(_0x21179b(0x17c))/0x2)+-parseInt(_0x21179b(0x16e))/0x3*(parseInt(_0x21179b(0x177))/0x4)+-parseInt(_0x21179b(0x155))/0x5+parseInt(_0x21179b(0x167))/0x6+parseInt(_0x21179b(0x170))/0x7+-parseInt(_0x21179b(0x176))/0x8*(parseInt(_0x21179b(0x16b))/0x9)+parseInt(_0x21179b(0x179))/0xa*(parseInt(_0x21179b(0x156))/0xb);if(_0x22b649===_0xdb5889)break;else _0x275f15['push'](_0x275f15['shift']());}catch(_0x372225){_0x275f15['push'](_0x275f15['shift']());}}}(_0xb3c3,0x8a06a));import{ObservableMixin as _0x35df97}from'ckeditor5/src/utils.js';import{getTranslation as _0x5dcb7f}from'../utils/common-translations.js';function _0x1268(_0x5c1e67,_0xa6ed94){const _0xb3c390=_0xb3c3();return _0x1268=function(_0x126809,_0x2719eb){_0x126809=_0x126809-0x155;let _0xd1703e=_0xb3c390[_0x126809];return _0xd1703e;},_0x1268(_0x5c1e67,_0xa6ed94);}function _0xb3c3(){const _0x4e8257=['execute','acceptSuggestion','2874279mOZKfO','change:isDirty','7033194VIrtDm','destroy','getRanges','_pendingAction','plugins','canAccept','40eWKpqx','4cBrNqJ','373209sznbsK','5240150xTTkkg','bind','PendingActions','2miQKjx','isDirty','add','_setPendingAction','2684000QXyeaF','11xGYOPJ','discardSuggestion','_removePendingAction','unbind','PENDING_ACTION_SUGGESTION','canEditAt','remove','commentThreadController','model','commands','canDiscard','_discardCommand','listenTo','view','_editor','stopListening','isEnabled','977916HuGecE','get','locale','_acceptCommand','8469PeklpI'];_0xb3c3=function(){return _0x4e8257;};return _0xb3c3();}export default class ae extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x35df97(){constructor(_0x3fb900,_0x2e08ee,_0x5a76d8,_0x5d0596){const _0x21716b=_0x1268;super(),this[_0x21716b(0x15e)]=_0x2e08ee,this[_0x21716b(0x163)]=_0x5a76d8,this[_0x21716b(0x15d)]=_0x5d0596,this[_0x21716b(0x164)]=_0x3fb900,this[_0x21716b(0x16a)]=_0x3fb900[_0x21716b(0x15f)][_0x21716b(0x168)](_0x21716b(0x16d)),this[_0x21716b(0x161)]=_0x3fb900[_0x21716b(0x15f)][_0x21716b(0x168)](_0x21716b(0x157)),this[_0x21716b(0x163)][_0x21716b(0x17a)](_0x21716b(0x166))['to'](this[_0x21716b(0x16a)],this[_0x21716b(0x161)],(_0x35e622,_0x22d37f)=>_0x35e622||_0x22d37f),this[_0x21716b(0x163)][_0x21716b(0x17a)](_0x21716b(0x175))['to'](this[_0x21716b(0x16a)],_0x21716b(0x166),_0x230b14=>_0x230b14&&this[_0x21716b(0x164)][_0x21716b(0x15e)][_0x21716b(0x15b)](_0x2e08ee[_0x21716b(0x172)]())),this[_0x21716b(0x163)][_0x21716b(0x17a)](_0x21716b(0x160))['to'](this[_0x21716b(0x161)],_0x21716b(0x166),_0x47515b=>_0x47515b&&this[_0x21716b(0x164)][_0x21716b(0x15e)][_0x21716b(0x15b)](_0x2e08ee[_0x21716b(0x172)]())),this[_0x21716b(0x173)]=null,_0x5a76d8[_0x21716b(0x17d)]&&this[_0x21716b(0x17f)](),this[_0x21716b(0x162)](_0x5a76d8,_0x21716b(0x16d),()=>this[_0x21716b(0x16d)]()),this[_0x21716b(0x162)](_0x5a76d8,_0x21716b(0x157),()=>this[_0x21716b(0x157)]()),this[_0x21716b(0x162)](_0x5a76d8,_0x21716b(0x16f),()=>{const _0x5b5ec=_0x21716b;_0x5a76d8[_0x5b5ec(0x17d)]?this[_0x5b5ec(0x17f)]():this[_0x5b5ec(0x158)]();});}[_0x1b968e(0x16d)](){const _0x26dfaf=_0x1b968e;this[_0x26dfaf(0x16a)][_0x26dfaf(0x16c)](this[_0x26dfaf(0x15e)]['id']);}[_0x1b968e(0x157)](){const _0x161d95=_0x1b968e;this[_0x161d95(0x161)][_0x161d95(0x16c)](this[_0x161d95(0x15e)]['id']);}[_0x1b968e(0x171)](){const _0x1bd99d=_0x1b968e;this[_0x1bd99d(0x163)][_0x1bd99d(0x159)](_0x1bd99d(0x166)),this[_0x1bd99d(0x163)][_0x1bd99d(0x159)](_0x1bd99d(0x175)),this[_0x1bd99d(0x163)][_0x1bd99d(0x159)](_0x1bd99d(0x160)),this[_0x1bd99d(0x165)](),this[_0x1bd99d(0x15d)][_0x1bd99d(0x171)](),this[_0x1bd99d(0x173)]&&this[_0x1bd99d(0x158)]();}[_0x1b968e(0x17f)](){const _0x188c28=_0x1b968e,_0x2f62f3=_0x5dcb7f(this[_0x188c28(0x164)][_0x188c28(0x169)],_0x188c28(0x15a));this[_0x188c28(0x173)]=this[_0x188c28(0x164)][_0x188c28(0x174)][_0x188c28(0x168)](_0x188c28(0x17b))[_0x188c28(0x17e)](_0x2f62f3);}[_0x1b968e(0x158)](){const _0x3070c5=_0x1b968e;null!==this[_0x3070c5(0x173)]&&this[_0x3070c5(0x164)][_0x3070c5(0x174)][_0x3070c5(0x168)](_0x3070c5(0x17b))[_0x3070c5(0x15c)](this[_0x3070c5(0x173)]),this[_0x3070c5(0x173)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x24ce86=_0x1456;function _0xf1ee(){const _0x3d14b5=['descriptionParts','canAccept','6991908HaDVkB','textContent','delegate','content','27zbJAEC','formatDateTime','join','commentInputView','set','removeComment','addComment','focusables','target','CommentView','element','body','canDiscard','_createCommentViews','setData','271716NoVKHE','_createCommentThreadInputView','_config','destroy','fire','commentThreadInputView','SUGGESTION_THREAD_DESCRIPTION','isReadOnly','_model','locale','editor','isDirty','commentThread','shift+tab','name','2423712rpJsfV','length','text/html','editorConfig','updateComment','1461GSRcXy','submit','focusCycler','3967210IUoAod','1125756Azrqni','focusTracker','_localUser','cancel','commentsListView','authoredAt','SUGGESTION_THREAD_ARIA_LABEL','disableComments','tab','assign','value','disabledSubmit','ariaLabel','showInput','render','parseFromString','author','isEnabled','hasDirtyComment','map','345416NUpwfJ','keystrokes','isActive','bind','ariaDescriptionView','focus','8468wyNkIj'];_0xf1ee=function(){return _0x3d14b5;};return _0xf1ee();}(function(_0x149251,_0x46e4ef){const _0xfdf547=_0x1456,_0x264ad2=_0x149251();while(!![]){try{const _0x4fd214=parseInt(_0xfdf547(0xef))/0x1+-parseInt(_0xfdf547(0xb6))/0x2+-parseInt(_0xfdf547(0xbb))/0x3*(-parseInt(_0xfdf547(0xd9))/0x4)+-parseInt(_0xfdf547(0xbe))/0x5+parseInt(_0xfdf547(0xbf))/0x6+parseInt(_0xfdf547(0xdc))/0x7+parseInt(_0xfdf547(0xd3))/0x8*(parseInt(_0xfdf547(0xe0))/0x9);if(_0x4fd214===_0x46e4ef)break;else _0x264ad2['push'](_0x264ad2['shift']());}catch(_0x227590){_0x264ad2['push'](_0x264ad2['shift']());}}}(_0xf1ee,0x95c16));import{FocusCycler as _0x497aaa,View as _0x1ae118,ViewCollection as _0x147d1b}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3bc6ad,KeystrokeHandler as _0x49c758}from'ckeditor5/src/utils.js';function _0x1456(_0x2750ef,_0x1f2d05){const _0xf1ee8e=_0xf1ee();return _0x1456=function(_0x145605,_0x5d867c){_0x145605=_0x145605-0xb3;let _0x239ce6=_0xf1ee8e[_0x145605];return _0x239ce6;},_0x1456(_0x2750ef,_0x1f2d05);}import{AriaDescriptionView as _0x2d5fd6,setupThreadKeyboardNavigation as _0x37b8fe}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x246fb6}from'../../utils/common-translations.js';import{renderDescription as _0x4d4af7}from'../../utils/utils.js';export default class us extends _0x1ae118{constructor(_0x302a72,_0x887812,_0x358183,_0xd2da9c){const _0x550bfc=_0x1456;super(_0x302a72),this[_0x550bfc(0xc3)]=null,this[_0x550bfc(0xf4)]=null,this[_0x550bfc(0xd7)]=new _0x2d5fd6(_0x302a72,_0x246fb6(_0x302a72,_0x550bfc(0xf5))),this[_0x550bfc(0xe4)](_0x550bfc(0xd5),!0x1),this[_0x550bfc(0xe4)](_0x550bfc(0xc4),_0x887812[_0x550bfc(0xc4)]),this[_0x550bfc(0xd6)](_0x550bfc(0xc4))['to'](_0x887812),this[_0x550bfc(0xe4)](_0x550bfc(0xda),[]),this[_0x550bfc(0xe4)](_0x550bfc(0xfa),!0x1),this[_0x550bfc(0xe4)](_0x550bfc(0xd0),!0x1),this[_0x550bfc(0xe4)](_0x550bfc(0xdb),!0x1),this[_0x550bfc(0xe4)](_0x550bfc(0xec),!0x1),this[_0x550bfc(0xd6)](_0x550bfc(0xcb))['to'](this,_0x550bfc(0xb7),_0x887812,_0x550bfc(0xc4),this,_0x550bfc(0xda),(_0x44dc1c,_0x474aa1,_0x1a4bc4)=>{const _0x2a45c2=_0x550bfc,_0x1eda38=_0x1a4bc4[_0x2a45c2(0xd2)](_0x3771ca=>_0x4d4af7(_0x3771ca[_0x2a45c2(0xdf)]))[_0x2a45c2(0xe2)]('.\x20')+'.';return _0x246fb6(this[_0x2a45c2(0xf8)],_0x2a45c2(0xc5),[_0x44dc1c-0x1,_0x887812[_0x2a45c2(0xcf)][_0x2a45c2(0xb5)],_0x474aa1?_0xd2da9c[_0x2a45c2(0xe1)](_0x474aa1):'',new DOMParser()[_0x2a45c2(0xce)](_0x1eda38,_0x2a45c2(0xb8))[_0x2a45c2(0xeb)][_0x2a45c2(0xdd)]]);}),this[_0x550bfc(0xe7)]=new _0x147d1b(),this[_0x550bfc(0xc0)]=new _0x3bc6ad(),this[_0x550bfc(0xd4)]=new _0x49c758(),this[_0x550bfc(0xbd)]=new _0x497aaa({'focusables':this[_0x550bfc(0xe7)],'focusTracker':this[_0x550bfc(0xc0)],'keystrokeHandler':this[_0x550bfc(0xd4)],'keystrokeHandlerOptions':{'filter':_0x34f987=>_0x34f987[_0x550bfc(0xe8)]!==this[_0x550bfc(0xea)]},'actions':{'focusPrevious':_0x550bfc(0xb4),'focusNext':_0x550bfc(0xc7)}}),this[_0x550bfc(0xf7)]=_0x887812,this[_0x550bfc(0xc1)]=_0x358183,this[_0x550bfc(0xf1)]=_0xd2da9c,_0xd2da9c[_0x550bfc(0xc6)]?this[_0x550bfc(0xe4)](_0x550bfc(0xb7),0x1):this[_0x550bfc(0xed)]();}[_0x24ce86(0xcd)](){const _0x30d412=_0x24ce86;super[_0x30d412(0xcd)](),_0x37b8fe(this,this[_0x30d412(0xe7)]);}[_0x24ce86(0xd8)](){const _0x3f4570=_0x24ce86;this[_0x3f4570(0xea)][_0x3f4570(0xd8)]();}[_0x24ce86(0xf2)](){const _0x547139=_0x24ce86;this[_0x547139(0xc3)]&&this[_0x547139(0xc3)][_0x547139(0xf2)](),this[_0x547139(0xf4)]&&this[_0x547139(0xf4)][_0x547139(0xf2)](),super[_0x547139(0xf2)]();}[_0x24ce86(0xed)](){const _0x54e53b=_0x24ce86,{CommentsListView:_0x8b4f94}=this[_0x54e53b(0xf1)];this[_0x54e53b(0xc3)]=new _0x8b4f94(this[_0x54e53b(0xf8)],this[_0x54e53b(0xf7)][_0x54e53b(0xb3)],Object[_0x54e53b(0xc8)]({'CommentView':this[_0x54e53b(0xf1)][_0x54e53b(0xe9)]},this[_0x54e53b(0xf1)])),this[_0x54e53b(0xc3)][_0x54e53b(0xde)](_0x54e53b(0xe5))['to'](this),this[_0x54e53b(0xc3)][_0x54e53b(0xde)](_0x54e53b(0xba))['to'](this),this[_0x54e53b(0xc3)][_0x54e53b(0xd6)](_0x54e53b(0xd5))['to'](this),this[_0x54e53b(0xe4)](_0x54e53b(0xb7),this[_0x54e53b(0xc3)][_0x54e53b(0xb7)]+0x1),this[_0x54e53b(0xd6)](_0x54e53b(0xb7))['to'](this[_0x54e53b(0xc3)],_0x54e53b(0xb7),_0x51aa2a=>_0x51aa2a+0x1),this[_0x54e53b(0xf4)]=this[_0x54e53b(0xf0)](),this['on'](_0x54e53b(0xe5),()=>this[_0x54e53b(0xd8)]()),this[_0x54e53b(0xd6)](_0x54e53b(0xfa))['to'](this[_0x54e53b(0xc3)],_0x54e53b(0xd1),this[_0x54e53b(0xf4)][_0x54e53b(0xe3)],_0x54e53b(0xc9),(_0x1b0f2d,_0x168b69)=>_0x1b0f2d||!!_0x168b69);}[_0x24ce86(0xf0)](){const _0x16315f=_0x24ce86,{CommentThreadInputView:_0x4b415e}=this[_0x16315f(0xf1)],_0x486ed1=new _0x4b415e(this[_0x16315f(0xf8)],this[_0x16315f(0xc1)],this[_0x16315f(0xf1)][_0x16315f(0xb9)]),_0x5ee240=_0x486ed1[_0x16315f(0xe3)];return _0x486ed1[_0x16315f(0xd6)](_0x16315f(0xcc))['to'](this,_0x16315f(0xd5),this[_0x16315f(0xf7)][_0x16315f(0xb3)],_0x16315f(0xf6),_0x5ee240,_0x16315f(0xc9),(_0x467c4e,_0x15afb0,_0x8e791f)=>!!_0x8e791f||_0x467c4e&&!_0x15afb0),_0x5ee240['on'](_0x16315f(0xbc),(_0x36334a,_0x474bb1)=>{const _0x5364e7=_0x16315f;this[_0x5364e7(0xf3)](_0x5364e7(0xe6),_0x474bb1),_0x5ee240[_0x5364e7(0xf9)][_0x5364e7(0xee)]('');}),_0x5ee240['on'](_0x16315f(0xc2),()=>this[_0x16315f(0xd8)]()),_0x5ee240[_0x16315f(0xd6)](_0x16315f(0xca))['to'](this[_0x16315f(0xf7)][_0x16315f(0xb3)],_0x16315f(0xf6)),_0x486ed1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5390f0=_0x47b1;(function(_0x20c47a,_0x2ccae0){const _0x1eff6f=_0x47b1,_0x423a6b=_0x20c47a();while(!![]){try{const _0x19fa3b=-parseInt(_0x1eff6f(0xb4))/0x1+parseInt(_0x1eff6f(0xd4))/0x2*(-parseInt(_0x1eff6f(0xc8))/0x3)+parseInt(_0x1eff6f(0xaf))/0x4*(-parseInt(_0x1eff6f(0xdc))/0x5)+-parseInt(_0x1eff6f(0xcd))/0x6*(parseInt(_0x1eff6f(0xa9))/0x7)+-parseInt(_0x1eff6f(0xb8))/0x8+-parseInt(_0x1eff6f(0xb0))/0x9+parseInt(_0x1eff6f(0xb2))/0xa*(parseInt(_0x1eff6f(0xd5))/0xb);if(_0x19fa3b===_0x2ccae0)break;else _0x423a6b['push'](_0x423a6b['shift']());}catch(_0x47f72b){_0x423a6b['push'](_0x423a6b['shift']());}}}(_0x2c54,0xc7ab5));import{default as _0xdcabe6}from'./basesuggestionthreadview.js';function _0x47b1(_0x445603,_0x26d3a0){const _0x2c5481=_0x2c54();return _0x47b1=function(_0x47b176,_0x3b3d84){_0x47b176=_0x47b176-0xa3;let _0x2a57a3=_0x2c5481[_0x47b176];return _0x2a57a3;},_0x47b1(_0x445603,_0x26d3a0);}import{trimHtml as _0x198a3d}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2c54(){const _0x26e766=['editorReady','ck-suggestion-wrapper','26688cdpasJ','33vyWcku','<p>','ariaDescriptionView','type','isActive','isEnabled','canDiscard','6819055fmMKCO','SuggestionView','getTemplate','descriptionParts','focusables','acceptSuggestion','_config','123347kzcbpA','acceptButton','add','commentsListView','render','author','4NZtJCy','7969347IOhRJB','_model','17625070NzqxQi','editorDestroyed','795020vjEzXD','ck-suggestion-','disableComments','ck-suggestion--disabled-comments','7845864Qbghxs','</p>','div','discardButton','listitem','ariaLabel','bindTemplate','canAccept','content','push','ck-rounded-corners','setTemplate','formatDateTime','delegate','discardSuggestion','suggestionView','96BFKcVw','color','description','commentThread','ck-suggestion-wrapper--active','6kaWAGx','_descriptionElement','bind','commentThreadInputView','set'];_0x2c54=function(){return _0x26e766;};return _0x2c54();}import{renderDescription as _0xdb8316}from'../../utils/utils.js';export default class re extends _0xdcabe6{constructor(_0x3f813c,_0x156fa6,_0x5addbf,_0x44f186){const _0x3aa12c=_0x47b1;super(_0x3f813c,_0x156fa6,_0x5addbf,_0x44f186),this[_0x3aa12c(0xd1)](_0x3aa12c(0xd8),''),this[_0x3aa12c(0xcf)](_0x3aa12c(0xd8))['to'](this,_0x3aa12c(0xa5),_0x5b5ac2=>_0x5b5ac2&&_0x5b5ac2[0x0]?_0x5b5ac2[0x0][_0x3aa12c(0xd8)]:''),this[_0x3aa12c(0xcf)](_0x3aa12c(0xca))['to'](this,_0x3aa12c(0xa5),this,_0x3aa12c(0xd9),(_0x25e43c,_0x1d2af8)=>{const _0x58aa66=_0x3aa12c;let _0x528147='';for(const _0x5746b9 of _0x25e43c)_0x528147+=_0x58aa66(0xd6)+_0xdb8316(_0x5746b9[_0x58aa66(0xc0)],_0x5746b9[_0x58aa66(0xc9)])+_0x58aa66(0xb9);return _0x1d2af8?_0x528147:_0x198a3d(_0x528147,{'limit':0x8c});}),this[_0x3aa12c(0xce)]=null,this[_0x3aa12c(0xc7)]=new _0x44f186[(_0x3aa12c(0xa3))](_0x3f813c,_0x156fa6,{'formatDateTime':_0x44f186[_0x3aa12c(0xc4)]}),this[_0x3aa12c(0xc7)][_0x3aa12c(0xcf)](_0x3aa12c(0xca))['to'](this),this[_0x3aa12c(0xc7)][_0x3aa12c(0xc5)](_0x3aa12c(0xa7),_0x3aa12c(0xc6))['to'](this),this[_0x3aa12c(0xc7)][_0x3aa12c(0xaa)][_0x3aa12c(0xcf)](_0x3aa12c(0xda))['to'](this,_0x3aa12c(0xbf)),this[_0x3aa12c(0xc7)][_0x3aa12c(0xbb)][_0x3aa12c(0xcf)](_0x3aa12c(0xda))['to'](this,_0x3aa12c(0xdb)),this[_0x3aa12c(0xa6)][_0x3aa12c(0xab)](this[_0x3aa12c(0xc7)]),this[_0x3aa12c(0xac)]&&this[_0x3aa12c(0xa6)][_0x3aa12c(0xab)](this[_0x3aa12c(0xac)]),this[_0x3aa12c(0xd0)]&&this[_0x3aa12c(0xa6)][_0x3aa12c(0xab)](this[_0x3aa12c(0xd0)]),this[_0x3aa12c(0xc3)](this[_0x3aa12c(0xa4)]());}[_0x5390f0(0xa4)](){const _0x19b416=_0x5390f0,_0x385628=this[_0x19b416(0xbe)],_0x4c60b9=[this[_0x19b416(0xc7)]];return this[_0x19b416(0xac)]&&_0x4c60b9[_0x19b416(0xc1)](this[_0x19b416(0xac)]),this[_0x19b416(0xd0)]&&_0x4c60b9[_0x19b416(0xc1)](this[_0x19b416(0xd0)]),_0x4c60b9[_0x19b416(0xc1)](this[_0x19b416(0xd7)]),{'tag':_0x19b416(0xba),'attributes':{'class':['ck',_0x19b416(0xc2),_0x19b416(0xd3),_0x385628['if'](_0x19b416(0xd9),_0x19b416(0xcc)),_0x385628['to'](_0x19b416(0xd8),_0x292b3b=>_0x19b416(0xb5)+_0x292b3b),this[_0x19b416(0xa8)][_0x19b416(0xb6)]&&_0x19b416(0xb7)],'data-suggestion-id':this[_0x19b416(0xb1)]['id'],'data-thread-id':this[_0x19b416(0xb1)][_0x19b416(0xcb)]['id'],'data-author-id':this[_0x19b416(0xb1)][_0x19b416(0xae)]['id'],'tabindex':0x0,'role':_0x19b416(0xbc),'aria-label':_0x385628['to'](_0x19b416(0xbd)),'aria-describedby':this[_0x19b416(0xd7)]['id']},'children':_0x4c60b9};}[_0x5390f0(0xad)](){const _0x1a78e3=_0x5390f0;super[_0x1a78e3(0xad)](),this[_0x1a78e3(0xac)]&&(this[_0x1a78e3(0xac)][_0x1a78e3(0xc5)](_0x1a78e3(0xd2))['to'](this),this[_0x1a78e3(0xac)][_0x1a78e3(0xc5)](_0x1a78e3(0xb3))['to'](this)),this[_0x1a78e3(0xd0)]&&(this[_0x1a78e3(0xd0)][_0x1a78e3(0xc5)](_0x1a78e3(0xd2))['to'](this),this[_0x1a78e3(0xd0)][_0x1a78e3(0xc5)](_0x1a78e3(0xb3))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4dd5(_0x60aed4,_0x119f7c){const _0x4c6947=_0x4c69();return _0x4dd5=function(_0x4dd5d0,_0x220422){_0x4dd5d0=_0x4dd5d0-0xc7;let _0x2ecbba=_0x4c6947[_0x4dd5d0];return _0x2ecbba;},_0x4dd5(_0x60aed4,_0x119f7c);}function _0x4c69(){const _0x578eb7=['discardButton','userView','9710770jNXSYz','source','locale','listenTo','424XoYyBd','Accept\x20suggestion','@external','186925rWfByE','element','discardSuggestion','keystrokes','ck-comment__external','render','name','EXTERNAL_SUGGESTION','ck-annotation__content-wrapper','124qyYVEL','esc','span','ck-annotation__info-time','formatDateTime','ck-suggestion--discard','22780395aJkdDm','acceptButton','getExternalSuggestionNote','acceptSuggestion','24286SlQaEA','ck-suggestion__main','_setupKeyboardNavigation','focusables','EXTERNAL_IMPORT_WORD_AVATAR','div','creator','focus','getTemplate','ck-suggestion--accept','425841vyboQH','ck-annotation__actions','authoredAt','change:description','shift+tab','EXTERNAL_AVATAR','_config','getUserViewNotificationText','tab','importWord','attributes','_createButton','Discard\x20suggestion','check','ck-annotation__info','setTemplate','focusTracker','extendTemplate','innerHTML','ck-annotation__main','_model','bindTemplate','focusCycler','bind','author','ck-annotation','7823280AlJAqM','9IdbFdo','ck-annotation__user','138pXnWvo','.ck-annotation__content-wrapper','execute','isExternal','cancel','159747ZjTEsL','push','enter','fire','ck-suggestion__user','target','querySelector','set','ck-suggestion__actions','ck-suggestion__info-name','ck-comment__info-time','focusFirst','ck-suggestion__info','ck-annotation__info-name','presentation','description','EXTERNAL_IMPORT_WORD_SUGGESTION','add','time','ck-suggestion'];_0x4c69=function(){return _0x578eb7;};return _0x4c69();}const _0x4a06da=_0x4dd5;(function(_0x5d688d,_0x497a14){const _0x16abcc=_0x4dd5,_0x32bbde=_0x5d688d();while(!![]){try{const _0x46ece0=-parseInt(_0x16abcc(0x11d))/0x1+parseInt(_0x16abcc(0x113))/0x2*(-parseInt(_0x16abcc(0xde))/0x3)+parseInt(_0x16abcc(0x109))/0x4*(parseInt(_0x16abcc(0x100))/0x5)+-parseInt(_0x16abcc(0xdb))/0x6+parseInt(_0x16abcc(0xe3))/0x7*(-parseInt(_0x16abcc(0xfd))/0x8)+parseInt(_0x16abcc(0xdc))/0x9*(parseInt(_0x16abcc(0xf9))/0xa)+parseInt(_0x16abcc(0x10f))/0xb;if(_0x46ece0===_0x497a14)break;else _0x32bbde['push'](_0x32bbde['shift']());}catch(_0x1f27a5){_0x32bbde['push'](_0x32bbde['shift']());}}}(_0x4c69,0xabaa9));import{FocusTracker as _0x3f8713,KeystrokeHandler as _0x356a17}from'ckeditor5/src/utils.js';import{View as _0x121379,ViewCollection as _0x30bb44,FocusCycler as _0x3ec16e}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x57b161,UserView as _0x5b2c96}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0xb6ef16}from'ckeditor5/src/core.js';import{getTranslation as _0x5233f1}from'../../utils/common-translations.js';export default class ce extends _0x121379{constructor(_0x19594b,_0x345478,_0x3be89e){const _0x4e7bc8=_0x4dd5;super(_0x19594b),this[_0x4e7bc8(0xd5)]=_0x345478,this[_0x4e7bc8(0xc7)]=_0x3be89e,this[_0x4e7bc8(0xea)](_0x4e7bc8(0xf2),''),this[_0x4e7bc8(0xd8)](_0x4e7bc8(0x11f))['to'](_0x345478),this[_0x4e7bc8(0x110)]=this[_0x4e7bc8(0xcc)](_0x5233f1(_0x19594b,_0x4e7bc8(0xfe)),_0xb6ef16[_0x4e7bc8(0xce)],_0x4e7bc8(0x11c),_0x4e7bc8(0x112),'sw'),this[_0x4e7bc8(0xf7)]=this[_0x4e7bc8(0xcc)](_0x5233f1(_0x19594b,_0x4e7bc8(0xcd)),_0xb6ef16[_0x4e7bc8(0xe2)],_0x4e7bc8(0x10e),_0x4e7bc8(0x102),'sw'),this[_0x4e7bc8(0xf8)]=new _0x5b2c96(_0x19594b,_0x345478[_0x4e7bc8(0xd9)],this[_0x4e7bc8(0xc8)]()),this[_0x4e7bc8(0xf8)][_0x4e7bc8(0xd2)]({'attributes':{'class':[_0x4e7bc8(0xe7),_0x4e7bc8(0xdd)],'aria-hidden':!0x0}}),this[_0x4e7bc8(0x116)]=new _0x30bb44([this[_0x4e7bc8(0x110)],this[_0x4e7bc8(0xf7)]]),this[_0x4e7bc8(0xd1)]=new _0x3f8713(),this[_0x4e7bc8(0x103)]=new _0x356a17(),this[_0x4e7bc8(0xd7)]=new _0x3ec16e({'focusables':this[_0x4e7bc8(0x116)],'focusTracker':this[_0x4e7bc8(0xd1)],'keystrokeHandler':this[_0x4e7bc8(0x103)],'actions':{'focusPrevious':_0x4e7bc8(0x121),'focusNext':_0x4e7bc8(0xc9)},'keystrokeHandlerOptions':{'filter':_0x36c7a0=>_0x36c7a0[_0x4e7bc8(0xe8)]!==this[_0x4e7bc8(0x101)]}}),this[_0x4e7bc8(0xd0)](this[_0x4e7bc8(0x11b)]());}[_0x4a06da(0x105)](){const _0x3b48d7=_0x4a06da;super[_0x3b48d7(0x105)]();const _0x5c1533=this[_0x3b48d7(0x101)][_0x3b48d7(0xe9)](_0x3b48d7(0xdf));_0x5c1533[_0x3b48d7(0xd3)]=this[_0x3b48d7(0xf2)],this['on'](_0x3b48d7(0x120),(_0x566f8d,_0x796f7f,_0x535e4e)=>{const _0x223c11=_0x3b48d7;_0x5c1533[_0x223c11(0xd3)]=_0x535e4e;}),this[_0x3b48d7(0x115)]();}[_0x4a06da(0x11b)](){const _0x5f46db=_0x4a06da,_0x55b818=this[_0x5f46db(0xd6)],_0x16f266=[{'tag':_0x5f46db(0x118),'attributes':{'class':[_0x5f46db(0xef),_0x5f46db(0xcf)]},'children':[{'tag':_0x5f46db(0x10b),'children':[{'text':this[_0x5f46db(0xf8)][_0x5f46db(0x106)]}],'attributes':{'class':[_0x5f46db(0xec),_0x5f46db(0xf0)]}},{'tag':_0x5f46db(0xf5),'attributes':{'datetime':_0x55b818['to'](_0x5f46db(0x11f)),'class':[_0x5f46db(0xed),_0x5f46db(0x10c)]},'children':[{'text':_0x55b818['to'](_0x5f46db(0x11f),_0x316e92=>this[_0x5f46db(0xc7)][_0x5f46db(0x10d)](_0x316e92))}]}]},{'tag':_0x5f46db(0x118),'attributes':{'class':[_0x5f46db(0xeb),_0x5f46db(0x11e)]},'children':[this[_0x5f46db(0x110)],this[_0x5f46db(0xf7)]]},{'tag':_0x5f46db(0x118),'attributes':{'class':[_0x5f46db(0x108)]}}];return this[_0x5f46db(0xd5)][_0x5f46db(0xe1)]&&_0x16f266[_0x5f46db(0xe4)]({'tag':_0x5f46db(0x118),'attributes':{'class':[_0x5f46db(0x104)]},'children':[{'text':this[_0x5f46db(0x111)]()}]}),{'tag':_0x5f46db(0x118),'attributes':{'class':[_0x5f46db(0xf6),_0x5f46db(0xda)],'tabindex':-0x1},'children':[this[_0x5f46db(0xf8)],{'tag':_0x5f46db(0x118),'attributes':{'class':[_0x5f46db(0x114),_0x5f46db(0xd4)],'role':_0x5f46db(0xf1)},'children':_0x16f266}]};}[_0x4a06da(0x11a)](){const _0x387e45=_0x4a06da;this[_0x387e45(0x101)][_0x387e45(0x11a)]();}[_0x4a06da(0xc8)](){const _0xff1a74=_0x4a06da;return this[_0xff1a74(0xd5)][_0xff1a74(0xe1)]?_0xff1a74(0xca)===this[_0xff1a74(0xd5)][_0xff1a74(0xcb)][_0xff1a74(0xff)][_0xff1a74(0xfa)]?_0x5233f1(this[_0xff1a74(0xfb)],_0xff1a74(0x117),this[_0xff1a74(0xd5)][_0xff1a74(0x119)][_0xff1a74(0x106)]):_0x5233f1(this[_0xff1a74(0xfb)],_0xff1a74(0x122),this[_0xff1a74(0xd5)][_0xff1a74(0x119)][_0xff1a74(0x106)]):null;}[_0x4a06da(0x111)](){const _0x2f4e88=_0x4a06da;return _0x2f4e88(0xca)===this[_0x2f4e88(0xd5)][_0x2f4e88(0xcb)][_0x2f4e88(0xff)][_0x2f4e88(0xfa)]?_0x5233f1(this[_0x2f4e88(0xfb)],_0x2f4e88(0xf3)):_0x5233f1(this[_0x2f4e88(0xfb)],_0x2f4e88(0x107));}[_0x4a06da(0xcc)](_0x2e9c8b,_0x2712da,_0x443abd,_0x478f14,_0x250f52){const _0x5d92c7=_0x4a06da,_0x5217ec=new _0x57b161(this[_0x5d92c7(0xfb)]);return _0x5217ec[_0x5d92c7(0xea)]({'label':_0x2e9c8b,'icon':_0x2712da,'tooltip':!0x0,'tooltipPosition':_0x250f52}),_0x5217ec[_0x5d92c7(0xd2)]({'attributes':{'class':_0x443abd}}),_0x5217ec['on'](_0x5d92c7(0xe0),()=>{const _0x3304c1=_0x5d92c7;this[_0x3304c1(0xe6)](_0x478f14,this[_0x3304c1(0xd5)]['id']);}),_0x5217ec;}[_0x4a06da(0x115)](){const _0x1f1d7c=_0x4a06da,_0x221f94=this[_0x1f1d7c(0x101)];this[_0x1f1d7c(0x103)][_0x1f1d7c(0xfc)](_0x221f94);for(const _0x25a9cb of this[_0x1f1d7c(0x116)])this[_0x1f1d7c(0xd1)][_0x1f1d7c(0xf4)](_0x25a9cb[_0x1f1d7c(0x101)]),this[_0x1f1d7c(0x103)][_0x1f1d7c(0xfc)](_0x25a9cb[_0x1f1d7c(0x101)]);this[_0x1f1d7c(0x103)][_0x1f1d7c(0xea)](_0x1f1d7c(0xe5),(_0xbab754,_0x4d611a)=>{const _0x5400e9=_0x1f1d7c;_0x221f94===_0xbab754[_0x5400e9(0xe8)]&&(this[_0x5400e9(0xd7)][_0x5400e9(0xee)](),_0x4d611a());}),this[_0x1f1d7c(0x103)][_0x1f1d7c(0xea)](_0x1f1d7c(0x10a),(_0x56ab47,_0x2065d3)=>{const _0x5acd6b=_0x1f1d7c;_0x221f94!==_0x56ab47[_0x5acd6b(0xe8)]&&(this[_0x5acd6b(0x11a)](),_0x2065d3());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0xc9c6f,_0x42289f,_0x283840){const _0x28684d=_0xc9c6f['t'],t=_0xc9c6f['t'];switch(_0x42289f){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',_0x283840);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x283840);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x283840);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x283840);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x283840);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',_0x283840);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x283840);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',_0x283840);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x283840);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x283840);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x283840);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x283840);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x283840);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x283840);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x283840);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x283840);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x283840);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x283840);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x283840);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x283840);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x283840);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x283840);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x283840);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'},_0x283840);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x283840);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x283840);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x283840);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x283840);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x283840);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'},_0x283840);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x283840);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x283840);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x283840);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x283840);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});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'},_0x283840);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x283840);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'},_0x283840);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'},_0x283840);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x283840);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'},_0x283840);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x283840);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'},_0x283840);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x283840);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x283840);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x283840);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 _0x28684d({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x283840);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x28684d({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x283840);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x283840);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x283840);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x283840);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x283840);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x42289f;}}
|
|
23
|
+
export function getTranslation(_0x412dc1,_0x56016b,_0x18220f){const _0x39f2e6=_0x412dc1['t'],t=_0x412dc1['t'];switch(_0x56016b){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',_0x18220f);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x18220f);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x18220f);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x18220f);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x18220f);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',_0x18220f);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x18220f);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',_0x18220f);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x18220f);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x18220f);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x18220f);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x18220f);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x18220f);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x18220f);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x18220f);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x18220f);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x18220f);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x18220f);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x18220f);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x18220f);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x18220f);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x18220f);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x18220f);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'},_0x18220f);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x18220f);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x18220f);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x18220f);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x18220f);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x18220f);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'},_0x18220f);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x18220f);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x18220f);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x18220f);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x18220f);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});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'},_0x18220f);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x18220f);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'},_0x18220f);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'},_0x18220f);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x18220f);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'},_0x18220f);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x18220f);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'},_0x18220f);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x18220f);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x18220f);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x18220f);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 _0x39f2e6({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x18220f);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x39f2e6({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x18220f);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x18220f);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x18220f);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x18220f);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x18220f);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x56016b;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x39ed02,_0x4c119e){const _0x5bde46=_0x6496,_0x272db6=_0x39ed02();while(!![]){try{const _0x4b0799=-parseInt(_0x5bde46(0xf2))/0x1+parseInt(_0x5bde46(0xff))/0x2+-parseInt(_0x5bde46(0x122))/0x3*(-parseInt(_0x5bde46(0x128))/0x4)+parseInt(_0x5bde46(0x126))/0x5*(-parseInt(_0x5bde46(0xf4))/0x6)+-parseInt(_0x5bde46(0x100))/0x7*(-parseInt(_0x5bde46(0x118))/0x8)+parseInt(_0x5bde46(0x116))/0x9*(parseInt(_0x5bde46(0x107))/0xa)+parseInt(_0x5bde46(0x102))/0xb*(-parseInt(_0x5bde46(0xf8))/0xc);if(_0x4b0799===_0x4c119e)break;else _0x272db6['push'](_0x272db6['shift']());}catch(_0x4ebb5d){_0x272db6['push'](_0x272db6['shift']());}}}(_0xb5b3,0x59c0f));function _0x6496(_0x5a2e6c,_0x1c84a6){const _0xb5b348=_0xb5b3();return _0x6496=function(_0x649608,_0x5b23b5){_0x649608=_0x649608-0xf1;let _0x13c808=_0xb5b348[_0x649608];return _0x13c808;},_0x6496(_0x5a2e6c,_0x1c84a6);}export function normalizeDescription(_0x112368){const _0x2a704e=_0x6496;return Array[_0x2a704e(0xf7)](_0x112368)||(_0x112368=[_0x112368]),_0x112368[_0x2a704e(0x121)](_0x52c614=>{const _0x40b07c=_0x2a704e,_0x5c24c0=_0x52c614[_0x40b07c(0x110)][_0x40b07c(0x108)](/\*/g,''),_0x3f81df=_0x52c614[_0x40b07c(0xfc)]?_0x40b07c(0x105)+_0x52c614[_0x40b07c(0xfc)][_0x40b07c(0x10c)]+']':'';return'['+_0x52c614[_0x40b07c(0x101)]+']\x20'+_0x5c24c0+_0x3f81df;})[_0x2a704e(0x10a)](';\x20');}export function renderDescription(_0x2391b3,_0x1365f6){const _0x776b43=_0x6496;let _0x3c965d='';return _0x3c965d+=_0x2391b3[_0x776b43(0x127)]('*')[_0x776b43(0x121)]((_0x31c5ed,_0x350221)=>_0x350221%0x2!=0x0?_0x776b43(0x10b)+nn(_0x31c5ed)+_0x776b43(0x10f):nn(_0x31c5ed))[_0x776b43(0x10a)](''),_0x1365f6&&(_0x3c965d+=_0x776b43(0x112)+_0x1365f6[_0x776b43(0x10c)]+_0x776b43(0x124)+_0x1365f6[_0x776b43(0xf5)]+_0x776b43(0x11a)),_0x3c965d;}function nn(_0x34800a){const _0x54d502=_0x6496,_0x2fff1b=document[_0x54d502(0x125)](_0x54d502(0xfd));return _0x2fff1b[_0x54d502(0x119)]=_0x34800a,_0x2fff1b[_0x54d502(0xf9)];}export function sortSuggestions(_0xc188cd){const _0x23440c=_0x6496;return _0xc188cd[_0x23440c(0x104)]((_0x31eb07,_0x47d0e2)=>_0x23440c(0xf1)==_0x31eb07[_0x23440c(0x101)]&&_0x23440c(0xf1)!=_0x47d0e2[_0x23440c(0x101)]?-0x1:_0x23440c(0xf1)!=_0x31eb07[_0x23440c(0x101)]&&_0x23440c(0xf1)==_0x47d0e2[_0x23440c(0x101)]?0x1:0x0);}export function getSelectedSuggestions(_0xc8f0e7,_0x45fa91){const _0x337b75=_0x6496,_0x236ec9=Array[_0x337b75(0xfe)](_0xc8f0e7[_0x337b75(0x123)]()),_0x25d557=new Set();for(const _0x41ba84 of _0x45fa91)if(_0x41ba84[_0x337b75(0x10d)]){for(const _0x2df143 of _0x236ec9)for(const _0x543a06 of _0x41ba84[_0x337b75(0x123)]())(_0x2df143[_0x337b75(0x10e)](_0x543a06)||_0xc8f0e7[_0x337b75(0x11f)]&&!_0x41ba84[_0x337b75(0x115)]&&_0x41ba84[_0x337b75(0x11b)]&&_0x543a06[_0x337b75(0x106)][_0x337b75(0x117)](_0x2df143[_0x337b75(0xfa)]))&&_0x25d557[_0x337b75(0x113)](_0x41ba84);}return _0x25d557;}export function getRangesOfBlockGroups(_0x195e4a,_0x1b0b98){const _0x27067d=_0x6496;let _0x3e8b78,_0x255eb9=0x0;const _0x260344=[],_0x1c93f2=_0x1b0b98[_0x27067d(0x120)];for(;_0x255eb9<_0x195e4a[_0x27067d(0x11c)];){const _0x3fa536=_0x195e4a[_0x255eb9],_0xbbc290=_0x195e4a[_0x255eb9+0x1];_0x3e8b78||(_0x3e8b78=_0x1b0b98[_0x27067d(0x109)](_0x3fa536)),on(_0x1b0b98,_0x3fa536,_0xbbc290)||(_0x260344[_0x27067d(0x103)](_0x1b0b98[_0x27067d(0xf6)](_0x3e8b78,_0x1c93f2[_0x27067d(0x114)](_0x3fa536)?_0x1b0b98[_0x27067d(0x11d)](_0x3fa536):_0x1b0b98[_0x27067d(0x11e)](_0x3fa536,_0x27067d(0x106)))),_0x3e8b78=null),_0x255eb9++;}return _0x260344;}function on(_0x14b345,_0x4a2d16,_0x1a2f4d){const _0x464fcf=_0x6496;if(!_0x1a2f4d)return!0x1;const _0x33c847=_0x14b345[_0x464fcf(0x11d)](_0x4a2d16),_0x3bb487=_0x14b345[_0x464fcf(0x109)](_0x1a2f4d);return _0x33c847[_0x464fcf(0x117)](_0x3bb487);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0xb5b3(){const _0x4b902f=['isArray','312tiiSWN','innerHTML','start','splice','color','span','from','1016114xPmUSI','7YsZTVP','type','21461RNcFIZ','push','sort','\x20[color\x20','end','10nabozj','replace','createPositionBefore','join','<span\x20class=\x22ck-suggestion-type\x22>','value','isInContent','isIntersecting','</span>','content','change','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','add','isObject','isMultiRange','2129031vXHGNG','isTouching','1900000dKgNRp','innerText','\x22></span>','next','length','createPositionAfter','createPositionAt','isCollapsed','schema','map','3UNGaMN','getRanges','\x22\x20title=\x22','createElement','30gfRZPQ','split','755764AHqTGu','deletion','67458NehlxK','execute','685242rbmNJL','title','createRange'];_0xb5b3=function(){return _0x4b902f;};return _0xb5b3();}export function executeCommandForSuggestions(_0x2e0424,_0x2cbdc5,_0x4cacf2){const _0x392fe1=_0x6496;for(;_0x4cacf2[_0x392fe1(0x11c)];){const _0x34a223=_0x4cacf2[_0x392fe1(0xfb)](0x0,0x64);_0x2e0424[_0x392fe1(0x111)](()=>{const _0x4211ab=_0x392fe1;for(const _0x50b231 of _0x34a223)_0x50b231[_0x4211ab(0x10d)]&&_0x2cbdc5[_0x4211ab(0xf3)](_0x50b231['id']);});}}
|