@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20241017.0 → 0.0.0-nightly-20241018.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.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/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/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/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/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/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 _0xea5321=_0x1b17;(function(_0x408e29,_0x480232){const _0x3c0c5e=_0x1b17,_0x45bb09=_0x408e29();while(!![]){try{const _0x21b657=-parseInt(_0x3c0c5e(0x148))/0x1+-parseInt(_0x3c0c5e(0x131))/0x2*(-parseInt(_0x3c0c5e(0x14c))/0x3)+parseInt(_0x3c0c5e(0xf5))/0x4*(-parseInt(_0x3c0c5e(0xc5))/0x5)+-parseInt(_0x3c0c5e(0xda))/0x6*(-parseInt(_0x3c0c5e(0xe5))/0x7)+parseInt(_0x3c0c5e(0x11d))/0x8*(-parseInt(_0x3c0c5e(0xc8))/0x9)+parseInt(_0x3c0c5e(0xfe))/0xa*(parseInt(_0x3c0c5e(0x12f))/0xb)+-parseInt(_0x3c0c5e(0x15a))/0xc;if(_0x21b657===_0x480232)break;else _0x45bb09['push'](_0x45bb09['shift']());}catch(_0x33dadc){_0x45bb09['push'](_0x45bb09['shift']());}}}(_0x2af3,0x8d278));import{Plugin as _0x4e769e}from'ckeditor5/src/core.js';import{Collection as _0x2ede47}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x394730,createDropdown as _0x3df8b3,ListSeparatorView as _0x21c5c6,MenuBarMenuView as _0x1353d0,MenuBarMenuListView as _0x51c082,MenuBarMenuListItemView as _0x588266,MenuBarMenuListItemButtonView as _0x29fb68,SplitButtonView as _0xf7870a,ViewModel as _0x11ed35}from'ckeditor5/src/ui.js';import{Users as _0x14c147,getDateTimeFormatter as _0x503f16,getAllMarkersDomElementsSorted as _0x2d2b0e}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x55656b from'./trackchangesediting.js';import _0x48cd7d from'./ui/suggestioncontroller.js';import _0x23dbb2 from'./ui/view/suggestionthreadview.js';import _0x2c3128 from'./ui/view/suggestionview.js';import{getTranslation as _0x43211f}from'./utils/common-translations.js';import _0x388c73 from'../theme/icons/track-changes.svg';export default class d extends _0x4e769e{static get[_0xea5321(0x106)](){const _0x4ae410=_0xea5321;return[_0x55656b,_0x14c147,_0x4ae410(0x10b),_0x4ae410(0xd3),_0x4ae410(0x151)];}static get[_0xea5321(0x155)](){const _0x214ae6=_0xea5321;return _0x214ae6(0xf9);}static get[_0xea5321(0xf3)](){return!0x0;}static get[_0xea5321(0x12d)](){return!0x0;}constructor(_0x38f4fb){const _0x9a86d5=_0xea5321;super(_0x38f4fb),this[_0x9a86d5(0x120)]=new Map(),this[_0x9a86d5(0x126)]=new Map(),this[_0x9a86d5(0xd2)]=new Map(),this[_0x9a86d5(0xdf)]=new Map();const _0xa3f883=this[_0x9a86d5(0x150)][_0x9a86d5(0x13f)];_0xa3f883[_0x9a86d5(0xf7)](_0x9a86d5(0xcb),_0x23dbb2),_0xa3f883[_0x9a86d5(0xf7)](_0x9a86d5(0x140),_0x2c3128),_0xa3f883[_0x9a86d5(0xf7)](_0x9a86d5(0xf6),!0x1),this[_0x9a86d5(0x144)]=_0xa3f883[_0x9a86d5(0x137)](_0x9a86d5(0xf6));}[_0xea5321(0xfa)](_0x5cb504,_0x23d654){const _0x3d6be2=_0xea5321;0x0===this[_0x3d6be2(0xdf)][_0x3d6be2(0xe7)]&&setTimeout(()=>{const _0x1f23a7=_0x3d6be2;for(const [_0xee0eb0,_0xc210f6]of this[_0x1f23a7(0xdf)]){const _0x1726ba=this[_0x1f23a7(0x120)][_0x1f23a7(0x15e)](_0xee0eb0);_0x1726ba||_0xc210f6?_0x1726ba&&_0xc210f6&&this[_0x1f23a7(0x102)](_0xee0eb0):this[_0x1f23a7(0xf0)](_0xee0eb0);}this[_0x1f23a7(0xdf)][_0x1f23a7(0x119)](),this[_0x1f23a7(0x150)][_0x1f23a7(0x15b)][_0x1f23a7(0x137)](_0x1f23a7(0x151))[_0x1f23a7(0xea)](),this[_0x1f23a7(0xe0)]();},0xa),this[_0x3d6be2(0xdf)][_0x3d6be2(0x117)](_0x5cb504,_0x23d654);}[_0xea5321(0x157)](){const _0x3e5a68=_0xea5321,_0xec6f2d=this[_0x3e5a68(0x150)],_0x4d8461=_0xec6f2d[_0x3e5a68(0x15b)][_0x3e5a68(0x137)](_0x3e5a68(0xe8)),_0x5950ab=_0xec6f2d[_0x3e5a68(0x15b)][_0x3e5a68(0x137)](_0x3e5a68(0xd3)),_0x4a0369=_0xec6f2d[_0x3e5a68(0x15b)][_0x3e5a68(0x137)](_0x3e5a68(0x151)),_0x44364d=_0xec6f2d[_0x3e5a68(0x15b)][_0x3e5a68(0x137)](_0x3e5a68(0x10b));this[_0x3e5a68(0x10a)](),_0x4a0369[_0x3e5a68(0x153)](()=>{const _0x1e374d=_0x3e5a68,_0x455ac5=[];for(const [_0x404a47,_0x4dbe94]of Array[_0x1e374d(0xec)](this[_0x1e374d(0x120)])){const _0x5be67f=_0x404a47[_0x1e374d(0x11e)](),_0x2f248d=[];for(const _0x8eaeb5 of _0x5be67f){if(!_0x8eaeb5[_0x1e374d(0x136)])continue;if(_0x8eaeb5[_0x1e374d(0x14a)]){_0x2f248d[_0x1e374d(0xe1)](..._0x8eaeb5[_0x1e374d(0xe3)]());continue;}const _0x715f6f=_0x8eaeb5[_0x1e374d(0x14e)]();if(_0x2f248d[_0x1e374d(0x133)]>0x0){const _0x30a28f=_0x2f248d[0x0][_0x1e374d(0xd8)](_0x715f6f);if(_0x30a28f){_0x2f248d[0x0]=_0x30a28f;continue;}}_0x2f248d[_0x1e374d(0xe1)](_0x715f6f);}_0x455ac5[_0x1e374d(0xe1)]([_0x4dbe94[_0x1e374d(0xff)],_0x2f248d]);}return _0x455ac5;}),this[_0x3e5a68(0xca)](_0x4d8461,_0x3e5a68(0x10c),(_0x430416,_0xf8661f)=>{const _0x2baa0d=_0x3e5a68;this[_0x2baa0d(0xca)](_0xf8661f,_0x2baa0d(0xc4),(_0x126238,_0x46d316,_0x39dafa,_0x2866a6)=>{const _0x26fcc9=_0x2baa0d;_0xf8661f[_0x26fcc9(0x136)]&&(null==_0x39dafa?(this[_0x26fcc9(0x103)](_0x2866a6[_0x26fcc9(0x11b)]),this[_0x26fcc9(0xfa)](_0xf8661f,!0x1)):(this[_0x26fcc9(0x103)](_0x39dafa[_0x26fcc9(0x11b)]),null==_0x2866a6&&this[_0x26fcc9(0xfa)](_0xf8661f,!0x0)));}),null!==_0xf8661f[_0x2baa0d(0x134)]?this[_0x2baa0d(0x103)](_0xf8661f[_0x2baa0d(0x11b)]):this[_0x2baa0d(0xfa)](_0xf8661f,!0x1);}),this[_0x3e5a68(0xca)](_0x4d8461,_0x3e5a68(0x138),(_0x2f1371,_0x27a619,_0x7e363e)=>{const _0x4cbd2a=_0x3e5a68;this[_0x4cbd2a(0xeb)](_0x27a619,_0x4cbd2a(0xc4)),this[_0x4cbd2a(0xdf)][_0x4cbd2a(0x139)](_0x27a619),this[_0x4cbd2a(0x120)][_0x4cbd2a(0x15e)](_0x27a619)&&this[_0x4cbd2a(0x102)](_0x27a619),_0x7e363e&&this[_0x4cbd2a(0x103)](_0x7e363e[_0x4cbd2a(0x11b)]);}),this[_0x3e5a68(0xca)](_0x4d8461,_0x3e5a68(0x132),(_0x1d0a24,_0x1d8a6a)=>{const _0xc7b652=_0x3e5a68;this[_0xc7b652(0x103)](_0x1d8a6a);}),this[_0x3e5a68(0xca)](_0x5950ab,_0x3e5a68(0x11f),()=>{const _0x32ad76=_0x3e5a68;this[_0x32ad76(0xe0)]();}),this[_0x3e5a68(0xca)](_0x44364d,_0x3e5a68(0xd6),(_0x310621,{threadId:_0x47134a,isFromAdapter:_0x1db779})=>{const _0x3e3fd5=_0x3e5a68;if(_0x1db779||!_0x4d8461[_0x3e3fd5(0x11a)](_0x47134a))return;const _0x2d7558=_0x4d8461[_0x3e3fd5(0x143)](_0x47134a);this[_0x3e3fd5(0x120)][_0x3e3fd5(0x137)](_0x2d7558)[_0x3e3fd5(0xff)][_0x3e3fd5(0x14f)][_0x3e3fd5(0x10e)](-0x1);},{'priority':_0x3e5a68(0x145)});}[_0xea5321(0xe0)](){const _0x10af9c=_0xea5321,_0x45d2e7=this[_0x10af9c(0x150)][_0x10af9c(0x15b)][_0x10af9c(0x137)](_0x10af9c(0xd3)),_0x4cd140=this[_0x10af9c(0x150)][_0x10af9c(0x15b)][_0x10af9c(0x137)](_0x10af9c(0xe8)),_0x2ba91f=Array[_0x10af9c(0xec)](_0x45d2e7[_0x10af9c(0x121)],_0x54f246=>_0x54f246[_0x10af9c(0x12c)])[_0x10af9c(0xe6)](_0x1ff8ae=>this[_0x10af9c(0x126)][_0x10af9c(0x15e)](_0x1ff8ae)),_0x5e8a1a=[];for(const _0xafadfd of _0x2ba91f){const _0x1391e9=this[_0x10af9c(0x126)][_0x10af9c(0x137)](_0xafadfd)[_0x10af9c(0xf2)][_0x10af9c(0x11e)]();_0x5e8a1a[_0x10af9c(0xe1)](..._0x1391e9[_0x10af9c(0xe2)]((_0x46570f,_0x4ca6cb)=>[..._0x46570f,..._0x4ca6cb[_0x10af9c(0x14d)]()],[]));}_0x4cd140[_0x10af9c(0x13e)]=_0x5e8a1a;}[_0xea5321(0x10a)](){const _0x48a292=_0xea5321,_0x4b6685=this[_0x48a292(0x150)],_0xb0cae5=_0x4b6685[_0x48a292(0xcd)],_0x2f26d9=_0x43211f(_0xb0cae5,_0x48a292(0x109)),_0x5588dc=new _0x2ede47([{'type':_0x48a292(0x125),'model':new _0x11ed35({'withText':!0x0,'isToggleable':!0x0,'label':_0x2f26d9,'commandName':_0x48a292(0x152),'role':_0x48a292(0x123)})},{'type':_0x48a292(0xf8)},{'type':_0x48a292(0x116),'model':new _0x11ed35({'withText':!0x0,'label':_0x43211f(_0xb0cae5,_0x48a292(0x12e)),'commandName':_0x48a292(0xd7),'role':_0x48a292(0x10d)})},{'type':_0x48a292(0x116),'model':new _0x11ed35({'withText':!0x0,'label':_0x43211f(_0xb0cae5,_0x48a292(0x12b)),'commandName':_0x48a292(0xef),'role':_0x48a292(0x10d)})},{'type':_0x48a292(0x116),'model':new _0x11ed35({'withText':!0x0,'label':_0x43211f(_0xb0cae5,_0x48a292(0xce)),'commandName':_0x48a292(0xd5),'role':_0x48a292(0x10d)})},{'type':_0x48a292(0x116),'model':new _0x11ed35({'withText':!0x0,'label':_0x43211f(_0xb0cae5,_0x48a292(0x108)),'commandName':_0x48a292(0xdb),'role':_0x48a292(0x10d)})}]);for(const _0x1c95ee of _0x5588dc)if(me(_0x1c95ee)){const _0x4bdd6f=_0x4b6685[_0x48a292(0xfc)][_0x48a292(0x137)](_0x1c95ee[_0x48a292(0xf2)][_0x48a292(0xcc)]);_0x1c95ee[_0x48a292(0xf2)][_0x48a292(0x154)](_0x48a292(0xe4),_0x48a292(0x118))['to'](_0x4bdd6f,_0x48a292(0x13d),_0x48a292(0x118));}_0x4b6685['ui'][_0x48a292(0xc7)][_0x48a292(0xd4)](_0x48a292(0x152),_0xf944c9=>this[_0x48a292(0x13b)](_0xf944c9,_0x5588dc,_0x2f26d9)),_0x4b6685['ui'][_0x48a292(0xc7)][_0x48a292(0xd4)](_0x48a292(0x147),_0xd3546b=>this[_0x48a292(0x122)](_0xd3546b,_0x5588dc,_0x2f26d9));}[_0xea5321(0x13b)](_0x2affeb,_0x2a38b7,_0x91600e){const _0x4a9c17=_0xea5321,_0x5b0f1c=_0x3df8b3(_0x2affeb,_0xf7870a),_0x267eea=this[_0x4a9c17(0x150)][_0x4a9c17(0xfc)][_0x4a9c17(0x137)](_0x4a9c17(0x152));_0x5b0f1c[_0x4a9c17(0xdc)][_0x4a9c17(0x117)]({'tooltip':_0x91600e,'label':_0x91600e,'icon':_0x388c73}),_0x5b0f1c[_0x4a9c17(0xdc)][_0x4a9c17(0x154)](_0x4a9c17(0xe4))['to'](_0x267eea,_0x4a9c17(0x13d)),_0x5b0f1c[_0x4a9c17(0xdc)]['on'](_0x4a9c17(0x113),()=>{const _0x45c2e0=_0x4a9c17;_0x267eea[_0x45c2e0(0x113)](),this[_0x45c2e0(0x150)][_0x45c2e0(0x101)][_0x45c2e0(0xff)][_0x45c2e0(0x10e)]();}),_0x394730(_0x5b0f1c,_0x2a38b7,{'role':_0x4a9c17(0x135)});const _0x38b6d3=[];for(const _0x51161f of _0x2a38b7)me(_0x51161f)&&_0x38b6d3[_0x4a9c17(0xe1)](this[_0x4a9c17(0x150)][_0x4a9c17(0xfc)][_0x4a9c17(0x137)](_0x51161f[_0x4a9c17(0xf2)][_0x4a9c17(0xcc)]));const _0x3a38b9=_0x5b0f1c[_0x4a9c17(0xdc)];return _0x3a38b9[_0x4a9c17(0x100)][_0x4a9c17(0x110)](_0x4a9c17(0x118)),_0x3a38b9[_0x4a9c17(0x114)][_0x4a9c17(0x110)](_0x4a9c17(0x118)),_0x3a38b9[_0x4a9c17(0x100)][_0x4a9c17(0x154)](_0x4a9c17(0x118))['to'](_0x267eea,_0x4a9c17(0x118)),_0x3a38b9[_0x4a9c17(0x114)][_0x4a9c17(0x154)](_0x4a9c17(0x118))[_0x4a9c17(0x129)](_0x38b6d3,_0x4a9c17(0x118),(..._0x1803d7)=>_0x1803d7[_0x4a9c17(0x141)](_0x88283e=>_0x88283e)),_0x5b0f1c['on'](_0x4a9c17(0x113),_0x145aa6=>{const _0x553505=_0x4a9c17;this[_0x553505(0x150)][_0x553505(0x113)](_0x145aa6[_0x553505(0x111)][_0x553505(0xcc)]),this[_0x553505(0x150)][_0x553505(0x101)][_0x553505(0xff)][_0x553505(0x10e)]();}),_0x5b0f1c;}[_0xea5321(0x122)](_0xc53384,_0xa540a9,_0x1361ec){const _0x4f9de5=_0xea5321,_0x21540a=new _0x1353d0(_0xc53384),_0x5cb74a=this[_0x4f9de5(0x150)][_0x4f9de5(0xfc)][_0x4f9de5(0x137)](_0x4f9de5(0x152));_0x21540a[_0x4f9de5(0xdc)][_0x4f9de5(0x117)]({'label':_0x1361ec,'icon':_0x388c73});const _0x1c7e44=new _0x51c082(_0xc53384);for(const _0x3c85c0 of _0xa540a9){if(_0x4f9de5(0xf8)==_0x3c85c0[_0x4f9de5(0x13c)]){_0x1c7e44[_0x4f9de5(0xf4)][_0x4f9de5(0xd4)](new _0x21c5c6(_0xc53384));continue;}const _0x434cac=new _0x588266(_0xc53384,_0x21540a),_0x547f5b=new _0x29fb68(_0xc53384),_0xc36157=_0x3c85c0[_0x4f9de5(0xf2)];_0x547f5b[_0x4f9de5(0x154)](...Object[_0x4f9de5(0x10f)](_0xc36157))['to'](_0xc36157),_0x547f5b[_0x4f9de5(0xd0)](_0x4f9de5(0x113))['to'](_0x21540a),_0x547f5b['on'](_0x4f9de5(0x113),()=>{const _0x3db716=_0x4f9de5;this[_0x3db716(0x150)][_0x3db716(0x113)](_0xc36157[_0x3db716(0xcc)]),this[_0x3db716(0x150)][_0x3db716(0x101)][_0x3db716(0xff)][_0x3db716(0x10e)]();}),_0x434cac[_0x4f9de5(0x158)][_0x4f9de5(0xd4)](_0x547f5b),_0x1c7e44[_0x4f9de5(0xf4)][_0x4f9de5(0xd4)](_0x434cac);}return _0x21540a[_0x4f9de5(0x154)](_0x4f9de5(0x118))['to'](_0x5cb74a,_0x4f9de5(0x118)),_0x21540a[_0x4f9de5(0x124)][_0x4f9de5(0x158)][_0x4f9de5(0xd4)](_0x1c7e44),_0x21540a;}[_0xea5321(0xf0)](_0x5429f4){const _0x32ab26=_0xea5321,_0x13e843=this[_0x32ab26(0x150)],_0x34b549=_0x13e843[_0x32ab26(0x13f)],_0x3b16d7=_0x13e843[_0x32ab26(0x15b)][_0x32ab26(0x137)](_0x32ab26(0xd3)),_0x180576=_0x13e843[_0x32ab26(0x15b)][_0x32ab26(0x137)](_0x32ab26(0x10b)),_0x5c2b1e=_0x13e843[_0x32ab26(0x15b)][_0x32ab26(0x137)](_0x32ab26(0x151)),_0x3608c6=_0x13e843[_0x32ab26(0x15b)][_0x32ab26(0x137)](_0x14c147)['me'],_0x574623=_0x34b549[_0x32ab26(0x137)](_0x32ab26(0x152))[_0x32ab26(0xe9)],_0x415ca2=_0x34b549[_0x32ab26(0x137)](_0x32ab26(0x152))[_0x32ab26(0x13a)],{CommentsListView:_0x4e4ee0,CommentThreadInputView:_0x1612c6}=_0x13e843[_0x32ab26(0x15b)][_0x32ab26(0x137)](_0x32ab26(0x130));let _0x59329c,_0x487c83,_0x2876c7;this[_0x32ab26(0xd2)][_0x32ab26(0x15e)](_0x5429f4['id'])?(_0x487c83=this[_0x32ab26(0xd2)][_0x32ab26(0x137)](_0x5429f4['id']),_0x59329c=_0x487c83[_0x32ab26(0x15d)]):(_0x59329c=new _0x574623(_0x13e843[_0x32ab26(0xcd)],_0x5429f4,_0x3608c6,{'disableComments':this[_0x32ab26(0x144)],'editorConfig':_0x34b549[_0x32ab26(0x137)](_0x32ab26(0x104)),'maxCommentsWhenCollapsed':_0x34b549[_0x32ab26(0x137)](_0x32ab26(0xfd)),'maxThreadTotalWeight':_0x34b549[_0x32ab26(0x137)](_0x32ab26(0xc9)),'maxCommentCharsWhenCollapsed':_0x34b549[_0x32ab26(0x137)](_0x32ab26(0xd1)),'formatDateTime':_0x503f16(_0x34b549[_0x32ab26(0x137)](_0x32ab26(0xcd))),'CommentView':_0x34b549[_0x32ab26(0x137)](_0x32ab26(0x159))[_0x32ab26(0xee)],'CommentsListView':_0x4e4ee0,'CommentThreadInputView':_0x1612c6,'SuggestionView':_0x415ca2}),_0x59329c[_0x32ab26(0x156)][_0x32ab26(0x146)]['on'](_0x32ab26(0x113),()=>{const _0x128d3f=_0x32ab26;_0x13e843[_0x128d3f(0x101)][_0x128d3f(0xff)][_0x128d3f(0x10e)]();}),_0x59329c[_0x32ab26(0x156)][_0x32ab26(0x11c)]['on'](_0x32ab26(0x113),()=>{const _0x4e2d51=_0x32ab26;_0x13e843[_0x4e2d51(0x101)][_0x4e2d51(0xff)][_0x4e2d51(0x10e)]();}),_0x487c83=_0x3b16d7[_0x32ab26(0x142)](this[_0x32ab26(0x150)][_0x32ab26(0xcd)],_0x59329c),_0x487c83[_0x32ab26(0x154)](_0x32ab26(0xd9))['to'](_0x59329c,_0x32ab26(0xd9)),_0x487c83[_0x32ab26(0x154)](_0x32ab26(0x133))['to'](_0x59329c),_0x487c83[_0x32ab26(0x154)](_0x32ab26(0x13c))['to'](_0x59329c,_0x32ab26(0x13c),_0x178086=>_0x32ab26(0xed)+_0x178086),_0x59329c['on'](_0x32ab26(0x112),()=>{const _0xf4316c=_0x32ab26;_0x2876c7[_0xf4316c(0x107)](_0xf4316c(0x112));}),this[_0x32ab26(0xd2)][_0x32ab26(0x117)](_0x5429f4['id'],_0x487c83));const _0x3c7ce0=_0x180576[_0x32ab26(0xfb)](_0x5429f4[_0x32ab26(0x128)],_0x59329c),_0x595cdf=new _0x48cd7d(_0x13e843,_0x5429f4,_0x59329c,_0x3c7ce0),_0x40c7c6=_0x5429f4[_0x32ab26(0x11e)]()[_0x32ab26(0xe6)](_0x29c2c8=>_0x29c2c8[_0x32ab26(0x136)]);_0x59329c[_0x32ab26(0xcf)]=_0x13e843[_0x32ab26(0x15b)][_0x32ab26(0x137)](_0x32ab26(0xe8))[_0x32ab26(0x14b)][_0x32ab26(0x15c)](_0x40c7c6),this[_0x32ab26(0x120)][_0x32ab26(0x117)](_0x5429f4,_0x595cdf),this[_0x32ab26(0x126)][_0x32ab26(0x117)](_0x59329c,_0x595cdf),_0x2876c7=_0x3b16d7[_0x32ab26(0x105)]({'view':_0x487c83,'target':()=>{const _0x5932c2=_0x32ab26,_0x4057fa=[],_0x2fd695=_0x5429f4[_0x5932c2(0x11e)]()[_0x5932c2(0xe6)](_0x24f186=>_0x24f186[_0x5932c2(0x136)]);for(const _0x3fc975 of _0x2fd695)_0x4057fa[_0x5932c2(0xe1)](..._0x3fc975[_0x5932c2(0xde)]());return _0x2d2b0e(_0x13e843[_0x5932c2(0x101)],_0x4057fa);},'type':()=>_0x32ab26(0xed)+_0x595cdf[_0x32ab26(0xff)][_0x32ab26(0x13c)]}),_0x180576[_0x32ab26(0x127)](_0x59329c,_0x2876c7),_0x3b16d7[_0x32ab26(0xd4)](_0x2876c7),_0x5c2b1e[_0x32ab26(0x149)](_0x2876c7);}[_0xea5321(0x102)](_0xd186c){const _0x34fc3a=_0xea5321,_0x2b0777=this[_0x34fc3a(0x150)][_0x34fc3a(0x15b)][_0x34fc3a(0x137)](_0x34fc3a(0x10b)),_0x11d747=this[_0x34fc3a(0x150)][_0x34fc3a(0x15b)][_0x34fc3a(0x137)](_0x34fc3a(0xd3)),_0x1cb1f9=this[_0x34fc3a(0x120)][_0x34fc3a(0x137)](_0xd186c),_0x26dd01=_0x1cb1f9[_0x34fc3a(0xff)],_0x3028ec=_0x11d747[_0x34fc3a(0xf1)](_0x26dd01);_0x2b0777[_0x34fc3a(0x115)](_0x26dd01),_0x3028ec&&_0x11d747[_0x34fc3a(0x12a)](_0x3028ec),this[_0x34fc3a(0x120)][_0x34fc3a(0x139)](_0xd186c),this[_0x34fc3a(0x126)][_0x34fc3a(0x139)](_0x26dd01),_0x1cb1f9[_0x34fc3a(0xc6)]();}[_0xea5321(0x103)](_0x1825ba){const _0x33c2b2=_0xea5321;if(!_0x1825ba[_0x33c2b2(0x136)]||!this[_0x33c2b2(0x120)][_0x33c2b2(0x15e)](_0x1825ba))return;const _0x48e295=this[_0x33c2b2(0x150)][_0x33c2b2(0x15b)][_0x33c2b2(0x137)](_0x33c2b2(0xe8)),_0x1999fb=this[_0x33c2b2(0x120)][_0x33c2b2(0x137)](_0x1825ba),_0x352964=_0x1825ba[_0x33c2b2(0x11e)]();_0x1999fb[_0x33c2b2(0xff)][_0x33c2b2(0xcf)]=_0x48e295[_0x33c2b2(0x14b)][_0x33c2b2(0x15c)](_0x352964);}[_0xea5321(0xc6)](){const _0x2bdb0b=_0xea5321;for(const _0x2b0dbc of this[_0x2bdb0b(0x120)][_0x2bdb0b(0x10f)]())this[_0x2bdb0b(0x102)](_0x2b0dbc);for(const _0x500fef of this[_0x2bdb0b(0xd2)][_0x2bdb0b(0xdd)]())_0x500fef[_0x2bdb0b(0x15d)][_0x2bdb0b(0xc6)]();super[_0x2bdb0b(0xc6)]();}}function _0x1b17(_0x83f61b,_0x3faa4c){const _0x2af370=_0x2af3();return _0x1b17=function(_0x1b175e,_0x386a46){_0x1b175e=_0x1b175e-0xc4;let _0x1c7cac=_0x2af370[_0x1b175e];return _0x1c7cac;},_0x1b17(_0x83f61b,_0x3faa4c);}function _0x2af3(){const _0x534360=['_suggestionToController','activeAnnotations','_createMenuBarMenu','menuitemcheckbox','panelView','switchbutton','_viewToController','_bindAnnotationToEditors','commentThread','toMany','remove','Accept\x20all\x20selected\x20suggestions','innerView','isPremiumPlugin','Accept\x20all\x20suggestions','3291266zqqguD','CommentsUI','74JZiizi','suggestionChanged','length','previous','menu','isInContent','get','suggestionUnloaded','delete','SuggestionView','_createToolbarButton','type','value','activeMarkers','config','trackChanges.SuggestionView','some','createAnnotationView','getSuggestion','_disableComments','lowest','acceptButton','menuBar:trackChanges','308931QBDpJR','registerAnnotation','isMultiRange','descriptionFactory','87753LZORos','getMarkerNames','getFirstRange','commentsListView','editor','EditorAnnotations','trackChanges','addSourceCollector','bind','pluginName','suggestionView','init','children','comments','11408520BCspQj','plugins','getDescriptions','mainView','has','change:previous','12535pFlXNC','destroy','componentFactory','253512KmFHPy','comments.maxThreadTotalWeight','listenTo','trackChanges.SuggestionThreadView','commandName','locale','Discard\x20all\x20suggestions','descriptionParts','delegate','comments.maxCommentCharsWhenCollapsed','_annotationViews','Annotations','add','discardAllSuggestions','addComment','acceptAllSuggestions','getJoined','isDirty','24qVuads','discardSelectedSuggestions','buttonView','values','getMarkers','_handleControllerBuffer','_refreshActiveMarkers','push','reduce','getRanges','isOn','1434454lTFGqx','filter','size','TrackChangesEditing','SuggestionThreadView','refreshSelectedViews','stopListening','from','suggestion-','CommentView','acceptSelectedSuggestions','_initializeController','getByInnerView','model','isOfficialPlugin','items','400Xwyglh','trackChanges.disableComments','define','separator','TrackChangesUI','_handleSuggestionControllerDelayed','createCommentThreadController','commands','comments.maxCommentsWhenCollapsed','10TYIXcY','view','actionView','editing','_destroyController','_updateController','comments.editorConfig','createAnnotation','requires','fire','Discard\x20all\x20selected\x20suggestions','Track\x20changes','_addUIComponentsToFactory','CommentsRepository','suggestionLoaded','menuitem','focus','keys','unbind','source','escape','execute','arrowView','_unbindEditors','button','set','isEnabled','clear','hasSuggestion','head','discardButton','32TpqIZe','getAllAdjacentSuggestions','change:activeAnnotations'];_0x2af3=function(){return _0x534360;};return _0x2af3();}function me(_0x4bfed3){const _0x18c7f4=_0xea5321;return _0x18c7f4(0xf2)in _0x4bfed3;}
|
|
23
|
+
const _0x3dbdce=_0x16b8;(function(_0x43180b,_0x491b4e){const _0x4b1ae9=_0x16b8,_0x406c71=_0x43180b();while(!![]){try{const _0x2733fe=parseInt(_0x4b1ae9(0x207))/0x1+-parseInt(_0x4b1ae9(0x1e7))/0x2*(-parseInt(_0x4b1ae9(0x220))/0x3)+parseInt(_0x4b1ae9(0x233))/0x4+-parseInt(_0x4b1ae9(0x1e4))/0x5+parseInt(_0x4b1ae9(0x20a))/0x6+-parseInt(_0x4b1ae9(0x25e))/0x7+-parseInt(_0x4b1ae9(0x213))/0x8;if(_0x2733fe===_0x491b4e)break;else _0x406c71['push'](_0x406c71['shift']());}catch(_0x18cd57){_0x406c71['push'](_0x406c71['shift']());}}}(_0x2fc8,0x5f360));import{Plugin as _0x2fc985}from'ckeditor5/src/core.js';import{Collection as _0x349798}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x5c467d,createDropdown as _0x1ac3ca,ListSeparatorView as _0x4804d4,MenuBarMenuView as _0x20c518,MenuBarMenuListView as _0x52f3f4,MenuBarMenuListItemView as _0x1d95a4,MenuBarMenuListItemButtonView as _0x27cba1,SplitButtonView as _0x5cf589,ViewModel as _0x39e306}from'ckeditor5/src/ui.js';function _0x2fc8(){const _0x5eacb5=['reduce','_handleSuggestionControllerDelayed','button','items','from','338758qthJIr','_unbindEditors','isMultiRange','view','_suggestionToController','createAnnotation','acceptAllSuggestions','isDirty','activeMarkers','trackChanges.disableComments','clear','acceptButton','suggestionView','length','commands','_destroyController','previous','Discard\x20all\x20suggestions','getJoined','remove','separator','getAllAdjacentSuggestions','lowest','has','model','listenTo','comments.maxThreadTotalWeight','add','actionView','2429515bBXGDt','addComment','children','46kIOytY','discardSelectedSuggestions','locale','_updateController','_refreshActiveMarkers','init','escape','registerAnnotation','comments.editorConfig','trackChanges.SuggestionThreadView','suggestionUnloaded','toMany','descriptionFactory','componentFactory','Track\x20changes','buttonView','commandName','head','delegate','switchbutton','type','_annotationViews','commentsListView','destroy','menuitemcheckbox','source','mainView','activeAnnotations','requires','focus','stopListening','config','730924SaSJmw','isInContent','delete','4312656NAJTnV','getFirstRange','getByInnerView','refreshSelectedViews','_initializeController','CommentsUI','comments.maxCommentCharsWhenCollapsed','discardButton','_createMenuBarMenu','15480200LneCSm','filter','_handleControllerBuffer','change:activeAnnotations','suggestionChanged','comments.maxCommentsWhenCollapsed','fire','Accept\x20all\x20suggestions','Discard\x20all\x20selected\x20suggestions','TrackChangesUI','acceptSelectedSuggestions','get','change:previous','86349TcrGMc','trackChanges.SuggestionView','Annotations','CommentView','values','editing','innerView','_bindAnnotationToEditors','SuggestionView','Accept\x20all\x20selected\x20suggestions','hasSuggestion','size','execute','menuitem','unbind','isPremiumPlugin','getMarkers','keys','_addUIComponentsToFactory','2990388JUSQDs','panelView','value','set','define','editor','discardAllSuggestions','getRanges','CommentsRepository','_createToolbarButton','isOfficialPlugin','EditorAnnotations','suggestion-','plugins','menuBar:trackChanges','some','isEnabled','trackChanges','isOn','getMarkerNames','SuggestionThreadView','_viewToController','bind','comments','menu','createAnnotationView','addSourceCollector','getSuggestion','push','TrackChangesEditing','arrowView','createCommentThreadController','commentThread','pluginName','suggestionLoaded','getDescriptions','descriptionParts','_disableComments'];_0x2fc8=function(){return _0x5eacb5;};return _0x2fc8();}import{Users as _0x62b7b4,getDateTimeFormatter as _0x5e17eb,getAllMarkersDomElementsSorted as _0x51aae4}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x581349 from'./trackchangesediting.js';import _0x344e8d from'./ui/suggestioncontroller.js';function _0x16b8(_0x1a8df9,_0x4edba1){const _0x2fc827=_0x2fc8();return _0x16b8=function(_0x16b8e6,_0x34702c){_0x16b8e6=_0x16b8e6-0x1d7;let _0x45e980=_0x2fc827[_0x16b8e6];return _0x45e980;},_0x16b8(_0x1a8df9,_0x4edba1);}import _0x20b04d from'./ui/view/suggestionthreadview.js';import _0x51006c from'./ui/view/suggestionview.js';import{getTranslation as _0x3f05db}from'./utils/common-translations.js';import _0xabb883 from'../theme/icons/track-changes.svg';export default class d extends _0x2fc985{static get[_0x3dbdce(0x203)](){const _0x241d05=_0x3dbdce;return[_0x581349,_0x62b7b4,_0x241d05(0x23b),_0x241d05(0x222),_0x241d05(0x23e)];}static get[_0x3dbdce(0x254)](){const _0x499790=_0x3dbdce;return _0x499790(0x21c);}static get[_0x3dbdce(0x23d)](){return!0x0;}static get[_0x3dbdce(0x22f)](){return!0x0;}constructor(_0x1e416b){const _0x374441=_0x3dbdce;super(_0x1e416b),this[_0x374441(0x262)]=new Map(),this[_0x374441(0x248)]=new Map(),this[_0x374441(0x1fc)]=new Map(),this[_0x374441(0x215)]=new Map();const _0xf049bb=this[_0x374441(0x238)][_0x374441(0x206)];_0xf049bb[_0x374441(0x237)](_0x374441(0x1f0),_0x20b04d),_0xf049bb[_0x374441(0x237)](_0x374441(0x221),_0x51006c),_0xf049bb[_0x374441(0x237)](_0x374441(0x267),!0x1),this[_0x374441(0x258)]=_0xf049bb[_0x374441(0x21e)](_0x374441(0x267));}[_0x3dbdce(0x25a)](_0x41e1b5,_0x4ed168){const _0x4867a9=_0x3dbdce;0x0===this[_0x4867a9(0x215)][_0x4867a9(0x22b)]&&setTimeout(()=>{const _0x20e8f7=_0x4867a9;for(const [_0x4a8479,_0x30b8e1]of this[_0x20e8f7(0x215)]){const _0xf7f3e7=this[_0x20e8f7(0x262)][_0x20e8f7(0x1de)](_0x4a8479);_0xf7f3e7||_0x30b8e1?_0xf7f3e7&&_0x30b8e1&&this[_0x20e8f7(0x26d)](_0x4a8479):this[_0x20e8f7(0x20e)](_0x4a8479);}this[_0x20e8f7(0x215)][_0x20e8f7(0x268)](),this[_0x20e8f7(0x238)][_0x20e8f7(0x240)][_0x20e8f7(0x21e)](_0x20e8f7(0x23e))[_0x20e8f7(0x20d)](),this[_0x20e8f7(0x1eb)]();},0xa),this[_0x4867a9(0x215)][_0x4867a9(0x236)](_0x41e1b5,_0x4ed168);}[_0x3dbdce(0x1ec)](){const _0xa3b5a7=_0x3dbdce,_0x42e4a4=this[_0xa3b5a7(0x238)],_0x433a32=_0x42e4a4[_0xa3b5a7(0x240)][_0xa3b5a7(0x21e)](_0xa3b5a7(0x250)),_0x199e37=_0x42e4a4[_0xa3b5a7(0x240)][_0xa3b5a7(0x21e)](_0xa3b5a7(0x222)),_0x143f97=_0x42e4a4[_0xa3b5a7(0x240)][_0xa3b5a7(0x21e)](_0xa3b5a7(0x23e)),_0x2dcfc5=_0x42e4a4[_0xa3b5a7(0x240)][_0xa3b5a7(0x21e)](_0xa3b5a7(0x23b));this[_0xa3b5a7(0x232)](),_0x143f97[_0xa3b5a7(0x24d)](()=>{const _0x27c363=_0xa3b5a7,_0x4541f7=[];for(const [_0x43bf69,_0x2923ba]of Array[_0x27c363(0x25d)](this[_0x27c363(0x262)])){const _0x19a871=_0x43bf69[_0x27c363(0x1dc)](),_0xffc7ee=[];for(const _0x36697d of _0x19a871){if(!_0x36697d[_0x27c363(0x208)])continue;if(_0x36697d[_0x27c363(0x260)]){_0xffc7ee[_0x27c363(0x24f)](..._0x36697d[_0x27c363(0x23a)]());continue;}const _0x3c80e3=_0x36697d[_0x27c363(0x20b)]();if(_0xffc7ee[_0x27c363(0x26b)]>0x0){const _0x1f4de5=_0xffc7ee[0x0][_0x27c363(0x1d9)](_0x3c80e3);if(_0x1f4de5){_0xffc7ee[0x0]=_0x1f4de5;continue;}}_0xffc7ee[_0x27c363(0x24f)](_0x3c80e3);}_0x4541f7[_0x27c363(0x24f)]([_0x2923ba[_0x27c363(0x261)],_0xffc7ee]);}return _0x4541f7;}),this[_0xa3b5a7(0x1e0)](_0x433a32,_0xa3b5a7(0x255),(_0x3ecad5,_0x131acd)=>{const _0x151f4e=_0xa3b5a7;this[_0x151f4e(0x1e0)](_0x131acd,_0x151f4e(0x21f),(_0x479b9f,_0x21be19,_0x4fb9dd,_0x536d4f)=>{const _0x40f340=_0x151f4e;_0x131acd[_0x40f340(0x208)]&&(null==_0x4fb9dd?(this[_0x40f340(0x1ea)](_0x536d4f[_0x40f340(0x1f8)]),this[_0x40f340(0x25a)](_0x131acd,!0x1)):(this[_0x40f340(0x1ea)](_0x4fb9dd[_0x40f340(0x1f8)]),null==_0x536d4f&&this[_0x40f340(0x25a)](_0x131acd,!0x0)));}),null!==_0x131acd[_0x151f4e(0x1d7)]?this[_0x151f4e(0x1ea)](_0x131acd[_0x151f4e(0x1f8)]):this[_0x151f4e(0x25a)](_0x131acd,!0x1);}),this[_0xa3b5a7(0x1e0)](_0x433a32,_0xa3b5a7(0x1f1),(_0x44a5c4,_0x236a1c,_0x4b4fe7)=>{const _0x4ae5d1=_0xa3b5a7;this[_0x4ae5d1(0x205)](_0x236a1c,_0x4ae5d1(0x21f)),this[_0x4ae5d1(0x215)][_0x4ae5d1(0x209)](_0x236a1c),this[_0x4ae5d1(0x262)][_0x4ae5d1(0x1de)](_0x236a1c)&&this[_0x4ae5d1(0x26d)](_0x236a1c),_0x4b4fe7&&this[_0x4ae5d1(0x1ea)](_0x4b4fe7[_0x4ae5d1(0x1f8)]);}),this[_0xa3b5a7(0x1e0)](_0x433a32,_0xa3b5a7(0x217),(_0x427a4e,_0x3e5b65)=>{const _0xb37d01=_0xa3b5a7;this[_0xb37d01(0x1ea)](_0x3e5b65);}),this[_0xa3b5a7(0x1e0)](_0x199e37,_0xa3b5a7(0x216),()=>{const _0x4874b6=_0xa3b5a7;this[_0x4874b6(0x1eb)]();}),this[_0xa3b5a7(0x1e0)](_0x2dcfc5,_0xa3b5a7(0x1e5),(_0x30c516,{threadId:_0x3e2efc,isFromAdapter:_0x445ff6})=>{const _0x157f01=_0xa3b5a7;if(_0x445ff6||!_0x433a32[_0x157f01(0x22a)](_0x3e2efc))return;const _0x5c2518=_0x433a32[_0x157f01(0x24e)](_0x3e2efc);this[_0x157f01(0x262)][_0x157f01(0x21e)](_0x5c2518)[_0x157f01(0x261)][_0x157f01(0x1fd)][_0x157f01(0x204)](-0x1);},{'priority':_0xa3b5a7(0x1dd)});}[_0x3dbdce(0x1eb)](){const _0x52fc1b=_0x3dbdce,_0x37418c=this[_0x52fc1b(0x238)][_0x52fc1b(0x240)][_0x52fc1b(0x21e)](_0x52fc1b(0x222)),_0x4ca8bb=this[_0x52fc1b(0x238)][_0x52fc1b(0x240)][_0x52fc1b(0x21e)](_0x52fc1b(0x250)),_0x3cfb26=Array[_0x52fc1b(0x25d)](_0x37418c[_0x52fc1b(0x202)],_0x4ffa01=>_0x4ffa01[_0x52fc1b(0x226)])[_0x52fc1b(0x214)](_0x4df686=>this[_0x52fc1b(0x248)][_0x52fc1b(0x1de)](_0x4df686)),_0x1376fb=[];for(const _0x31f6fe of _0x3cfb26){const _0x4decd1=this[_0x52fc1b(0x248)][_0x52fc1b(0x21e)](_0x31f6fe)[_0x52fc1b(0x1df)][_0x52fc1b(0x1dc)]();_0x1376fb[_0x52fc1b(0x24f)](..._0x4decd1[_0x52fc1b(0x259)]((_0x427d7a,_0x48cfc8)=>[..._0x427d7a,..._0x48cfc8[_0x52fc1b(0x246)]()],[]));}_0x4ca8bb[_0x52fc1b(0x266)]=_0x1376fb;}[_0x3dbdce(0x232)](){const _0x1db7b4=_0x3dbdce,_0xf296fb=this[_0x1db7b4(0x238)],_0x3f7929=_0xf296fb[_0x1db7b4(0x1e9)],_0x145092=_0x3f05db(_0x3f7929,_0x1db7b4(0x1f5)),_0x35e7ab=new _0x349798([{'type':_0x1db7b4(0x1fa),'model':new _0x39e306({'withText':!0x0,'isToggleable':!0x0,'label':_0x145092,'commandName':_0x1db7b4(0x244),'role':_0x1db7b4(0x1ff)})},{'type':_0x1db7b4(0x1db)},{'type':_0x1db7b4(0x25b),'model':new _0x39e306({'withText':!0x0,'label':_0x3f05db(_0x3f7929,_0x1db7b4(0x21a)),'commandName':_0x1db7b4(0x264),'role':_0x1db7b4(0x22d)})},{'type':_0x1db7b4(0x25b),'model':new _0x39e306({'withText':!0x0,'label':_0x3f05db(_0x3f7929,_0x1db7b4(0x229)),'commandName':_0x1db7b4(0x21d),'role':_0x1db7b4(0x22d)})},{'type':_0x1db7b4(0x25b),'model':new _0x39e306({'withText':!0x0,'label':_0x3f05db(_0x3f7929,_0x1db7b4(0x1d8)),'commandName':_0x1db7b4(0x239),'role':_0x1db7b4(0x22d)})},{'type':_0x1db7b4(0x25b),'model':new _0x39e306({'withText':!0x0,'label':_0x3f05db(_0x3f7929,_0x1db7b4(0x21b)),'commandName':_0x1db7b4(0x1e8),'role':_0x1db7b4(0x22d)})}]);for(const _0x3d8d21 of _0x35e7ab)if(me(_0x3d8d21)){const _0x1c2f89=_0xf296fb[_0x1db7b4(0x26c)][_0x1db7b4(0x21e)](_0x3d8d21[_0x1db7b4(0x1df)][_0x1db7b4(0x1f7)]);_0x3d8d21[_0x1db7b4(0x1df)][_0x1db7b4(0x249)](_0x1db7b4(0x245),_0x1db7b4(0x243))['to'](_0x1c2f89,_0x1db7b4(0x235),_0x1db7b4(0x243));}_0xf296fb['ui'][_0x1db7b4(0x1f4)][_0x1db7b4(0x1e2)](_0x1db7b4(0x244),_0x21703a=>this[_0x1db7b4(0x23c)](_0x21703a,_0x35e7ab,_0x145092)),_0xf296fb['ui'][_0x1db7b4(0x1f4)][_0x1db7b4(0x1e2)](_0x1db7b4(0x241),_0x2f4407=>this[_0x1db7b4(0x212)](_0x2f4407,_0x35e7ab,_0x145092));}[_0x3dbdce(0x23c)](_0x240389,_0x43771f,_0x103441){const _0x310361=_0x3dbdce,_0x8bfcf9=_0x1ac3ca(_0x240389,_0x5cf589),_0x474dac=this[_0x310361(0x238)][_0x310361(0x26c)][_0x310361(0x21e)](_0x310361(0x244));_0x8bfcf9[_0x310361(0x1f6)][_0x310361(0x236)]({'tooltip':_0x103441,'label':_0x103441,'icon':_0xabb883}),_0x8bfcf9[_0x310361(0x1f6)][_0x310361(0x249)](_0x310361(0x245))['to'](_0x474dac,_0x310361(0x235)),_0x8bfcf9[_0x310361(0x1f6)]['on'](_0x310361(0x22c),()=>{const _0x12d6ae=_0x310361;_0x474dac[_0x12d6ae(0x22c)](),this[_0x12d6ae(0x238)][_0x12d6ae(0x225)][_0x12d6ae(0x261)][_0x12d6ae(0x204)]();}),_0x5c467d(_0x8bfcf9,_0x43771f,{'role':_0x310361(0x24b)});const _0x504070=[];for(const _0x5528de of _0x43771f)me(_0x5528de)&&_0x504070[_0x310361(0x24f)](this[_0x310361(0x238)][_0x310361(0x26c)][_0x310361(0x21e)](_0x5528de[_0x310361(0x1df)][_0x310361(0x1f7)]));const _0x2fe16f=_0x8bfcf9[_0x310361(0x1f6)];return _0x2fe16f[_0x310361(0x1e3)][_0x310361(0x22e)](_0x310361(0x243)),_0x2fe16f[_0x310361(0x251)][_0x310361(0x22e)](_0x310361(0x243)),_0x2fe16f[_0x310361(0x1e3)][_0x310361(0x249)](_0x310361(0x243))['to'](_0x474dac,_0x310361(0x243)),_0x2fe16f[_0x310361(0x251)][_0x310361(0x249)](_0x310361(0x243))[_0x310361(0x1f2)](_0x504070,_0x310361(0x243),(..._0x132359)=>_0x132359[_0x310361(0x242)](_0x37adfc=>_0x37adfc)),_0x8bfcf9['on'](_0x310361(0x22c),_0x546149=>{const _0x3bf9c8=_0x310361;this[_0x3bf9c8(0x238)][_0x3bf9c8(0x22c)](_0x546149[_0x3bf9c8(0x200)][_0x3bf9c8(0x1f7)]),this[_0x3bf9c8(0x238)][_0x3bf9c8(0x225)][_0x3bf9c8(0x261)][_0x3bf9c8(0x204)]();}),_0x8bfcf9;}[_0x3dbdce(0x212)](_0x286e3f,_0x14ba13,_0x534e4f){const _0x2e9157=_0x3dbdce,_0x4f4690=new _0x20c518(_0x286e3f),_0x36ec03=this[_0x2e9157(0x238)][_0x2e9157(0x26c)][_0x2e9157(0x21e)](_0x2e9157(0x244));_0x4f4690[_0x2e9157(0x1f6)][_0x2e9157(0x236)]({'label':_0x534e4f,'icon':_0xabb883});const _0x5d3adf=new _0x52f3f4(_0x286e3f);for(const _0x2f976 of _0x14ba13){if(_0x2e9157(0x1db)==_0x2f976[_0x2e9157(0x1fb)]){_0x5d3adf[_0x2e9157(0x25c)][_0x2e9157(0x1e2)](new _0x4804d4(_0x286e3f));continue;}const _0x12824f=new _0x1d95a4(_0x286e3f,_0x4f4690),_0x3cd68b=new _0x27cba1(_0x286e3f),_0x7a3556=_0x2f976[_0x2e9157(0x1df)];_0x3cd68b[_0x2e9157(0x249)](...Object[_0x2e9157(0x231)](_0x7a3556))['to'](_0x7a3556),_0x3cd68b[_0x2e9157(0x1f9)](_0x2e9157(0x22c))['to'](_0x4f4690),_0x3cd68b['on'](_0x2e9157(0x22c),()=>{const _0x1de7ff=_0x2e9157;this[_0x1de7ff(0x238)][_0x1de7ff(0x22c)](_0x7a3556[_0x1de7ff(0x1f7)]),this[_0x1de7ff(0x238)][_0x1de7ff(0x225)][_0x1de7ff(0x261)][_0x1de7ff(0x204)]();}),_0x12824f[_0x2e9157(0x1e6)][_0x2e9157(0x1e2)](_0x3cd68b),_0x5d3adf[_0x2e9157(0x25c)][_0x2e9157(0x1e2)](_0x12824f);}return _0x4f4690[_0x2e9157(0x249)](_0x2e9157(0x243))['to'](_0x36ec03,_0x2e9157(0x243)),_0x4f4690[_0x2e9157(0x234)][_0x2e9157(0x1e6)][_0x2e9157(0x1e2)](_0x5d3adf),_0x4f4690;}[_0x3dbdce(0x20e)](_0x58563b){const _0x514f91=_0x3dbdce,_0x5310b0=this[_0x514f91(0x238)],_0x42d322=_0x5310b0[_0x514f91(0x206)],_0x26b1f7=_0x5310b0[_0x514f91(0x240)][_0x514f91(0x21e)](_0x514f91(0x222)),_0x1d21fa=_0x5310b0[_0x514f91(0x240)][_0x514f91(0x21e)](_0x514f91(0x23b)),_0x2de0bb=_0x5310b0[_0x514f91(0x240)][_0x514f91(0x21e)](_0x514f91(0x23e)),_0x1942cc=_0x5310b0[_0x514f91(0x240)][_0x514f91(0x21e)](_0x62b7b4)['me'],_0x316f17=_0x42d322[_0x514f91(0x21e)](_0x514f91(0x244))[_0x514f91(0x247)],_0x5581d5=_0x42d322[_0x514f91(0x21e)](_0x514f91(0x244))[_0x514f91(0x228)],{CommentsListView:_0x146ab6,CommentThreadInputView:_0xa04b7e}=_0x5310b0[_0x514f91(0x240)][_0x514f91(0x21e)](_0x514f91(0x20f));let _0x78d511,_0x3e645c,_0x2cac4c;this[_0x514f91(0x1fc)][_0x514f91(0x1de)](_0x58563b['id'])?(_0x3e645c=this[_0x514f91(0x1fc)][_0x514f91(0x21e)](_0x58563b['id']),_0x78d511=_0x3e645c[_0x514f91(0x201)]):(_0x78d511=new _0x316f17(_0x5310b0[_0x514f91(0x1e9)],_0x58563b,_0x1942cc,{'disableComments':this[_0x514f91(0x258)],'editorConfig':_0x42d322[_0x514f91(0x21e)](_0x514f91(0x1ef)),'maxCommentsWhenCollapsed':_0x42d322[_0x514f91(0x21e)](_0x514f91(0x218)),'maxThreadTotalWeight':_0x42d322[_0x514f91(0x21e)](_0x514f91(0x1e1)),'maxCommentCharsWhenCollapsed':_0x42d322[_0x514f91(0x21e)](_0x514f91(0x210)),'formatDateTime':_0x5e17eb(_0x42d322[_0x514f91(0x21e)](_0x514f91(0x1e9))),'CommentView':_0x42d322[_0x514f91(0x21e)](_0x514f91(0x24a))[_0x514f91(0x223)],'CommentsListView':_0x146ab6,'CommentThreadInputView':_0xa04b7e,'SuggestionView':_0x5581d5}),_0x78d511[_0x514f91(0x26a)][_0x514f91(0x269)]['on'](_0x514f91(0x22c),()=>{const _0x244492=_0x514f91;_0x5310b0[_0x244492(0x225)][_0x244492(0x261)][_0x244492(0x204)]();}),_0x78d511[_0x514f91(0x26a)][_0x514f91(0x211)]['on'](_0x514f91(0x22c),()=>{const _0x4a8b7a=_0x514f91;_0x5310b0[_0x4a8b7a(0x225)][_0x4a8b7a(0x261)][_0x4a8b7a(0x204)]();}),_0x3e645c=_0x26b1f7[_0x514f91(0x24c)](this[_0x514f91(0x238)][_0x514f91(0x1e9)],_0x78d511),_0x3e645c[_0x514f91(0x249)](_0x514f91(0x265))['to'](_0x78d511,_0x514f91(0x265)),_0x3e645c[_0x514f91(0x249)](_0x514f91(0x26b))['to'](_0x78d511),_0x3e645c[_0x514f91(0x249)](_0x514f91(0x1fb))['to'](_0x78d511,_0x514f91(0x1fb),_0x5bd2f3=>_0x514f91(0x23f)+_0x5bd2f3),_0x78d511['on'](_0x514f91(0x1ed),()=>{const _0x45389a=_0x514f91;_0x2cac4c[_0x45389a(0x219)](_0x45389a(0x1ed));}),this[_0x514f91(0x1fc)][_0x514f91(0x236)](_0x58563b['id'],_0x3e645c));const _0x16e55e=_0x1d21fa[_0x514f91(0x252)](_0x58563b[_0x514f91(0x253)],_0x78d511),_0x49f417=new _0x344e8d(_0x5310b0,_0x58563b,_0x78d511,_0x16e55e),_0x44cbd2=_0x58563b[_0x514f91(0x1dc)]()[_0x514f91(0x214)](_0x3d6534=>_0x3d6534[_0x514f91(0x208)]);_0x78d511[_0x514f91(0x257)]=_0x5310b0[_0x514f91(0x240)][_0x514f91(0x21e)](_0x514f91(0x250))[_0x514f91(0x1f3)][_0x514f91(0x256)](_0x44cbd2),this[_0x514f91(0x262)][_0x514f91(0x236)](_0x58563b,_0x49f417),this[_0x514f91(0x248)][_0x514f91(0x236)](_0x78d511,_0x49f417),_0x2cac4c=_0x26b1f7[_0x514f91(0x263)]({'view':_0x3e645c,'target':()=>{const _0x1252a8=_0x514f91,_0x2bfc12=[],_0x35c8c7=_0x58563b[_0x1252a8(0x1dc)]()[_0x1252a8(0x214)](_0x2fe278=>_0x2fe278[_0x1252a8(0x208)]);for(const _0xeb624b of _0x35c8c7)_0x2bfc12[_0x1252a8(0x24f)](..._0xeb624b[_0x1252a8(0x230)]());return _0x51aae4(_0x5310b0[_0x1252a8(0x225)],_0x2bfc12);},'type':()=>_0x514f91(0x23f)+_0x49f417[_0x514f91(0x261)][_0x514f91(0x1fb)]}),_0x1d21fa[_0x514f91(0x227)](_0x78d511,_0x2cac4c),_0x26b1f7[_0x514f91(0x1e2)](_0x2cac4c),_0x2de0bb[_0x514f91(0x1ee)](_0x2cac4c);}[_0x3dbdce(0x26d)](_0x532d70){const _0x41ed05=_0x3dbdce,_0x37c583=this[_0x41ed05(0x238)][_0x41ed05(0x240)][_0x41ed05(0x21e)](_0x41ed05(0x23b)),_0x5c9135=this[_0x41ed05(0x238)][_0x41ed05(0x240)][_0x41ed05(0x21e)](_0x41ed05(0x222)),_0x584185=this[_0x41ed05(0x262)][_0x41ed05(0x21e)](_0x532d70),_0x56175d=_0x584185[_0x41ed05(0x261)],_0x470327=_0x5c9135[_0x41ed05(0x20c)](_0x56175d);_0x37c583[_0x41ed05(0x25f)](_0x56175d),_0x470327&&_0x5c9135[_0x41ed05(0x1da)](_0x470327),this[_0x41ed05(0x262)][_0x41ed05(0x209)](_0x532d70),this[_0x41ed05(0x248)][_0x41ed05(0x209)](_0x56175d),_0x584185[_0x41ed05(0x1fe)]();}[_0x3dbdce(0x1ea)](_0xc686de){const _0x17f2d5=_0x3dbdce;if(!_0xc686de[_0x17f2d5(0x208)]||!this[_0x17f2d5(0x262)][_0x17f2d5(0x1de)](_0xc686de))return;const _0x484b4c=this[_0x17f2d5(0x238)][_0x17f2d5(0x240)][_0x17f2d5(0x21e)](_0x17f2d5(0x250)),_0x3a4faa=this[_0x17f2d5(0x262)][_0x17f2d5(0x21e)](_0xc686de),_0x385b99=_0xc686de[_0x17f2d5(0x1dc)]();_0x3a4faa[_0x17f2d5(0x261)][_0x17f2d5(0x257)]=_0x484b4c[_0x17f2d5(0x1f3)][_0x17f2d5(0x256)](_0x385b99);}[_0x3dbdce(0x1fe)](){const _0x303099=_0x3dbdce;for(const _0x35985b of this[_0x303099(0x262)][_0x303099(0x231)]())this[_0x303099(0x26d)](_0x35985b);for(const _0x382e0e of this[_0x303099(0x1fc)][_0x303099(0x224)]())_0x382e0e[_0x303099(0x201)][_0x303099(0x1fe)]();super[_0x303099(0x1fe)]();}}function me(_0x1a65ee){const _0x4198f9=_0x3dbdce;return _0x4198f9(0x1df)in _0x1a65ee;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x36ec71=_0x14d2;(function(_0x49bbc0,_0x32016d){const _0x5a53ee=_0x14d2,_0xd2d7fe=_0x49bbc0();while(!![]){try{const _0x4ac7cf=parseInt(_0x5a53ee(0x1ec))/0x1+-parseInt(_0x5a53ee(0x1fb))/0x2*(parseInt(_0x5a53ee(0x1db))/0x3)+-parseInt(_0x5a53ee(0x1f1))/0x4+parseInt(_0x5a53ee(0x1d3))/0x5*(parseInt(_0x5a53ee(0x1e0))/0x6)+-parseInt(_0x5a53ee(0x1f5))/0x7+-parseInt(_0x5a53ee(0x1dd))/0x8+-parseInt(_0x5a53ee(0x1d7))/0x9*(-parseInt(_0x5a53ee(0x1ed))/0xa);if(_0x4ac7cf===_0x32016d)break;else _0xd2d7fe['push'](_0xd2d7fe['shift']());}catch(_0x20b062){_0xd2d7fe['push'](_0xd2d7fe['shift']());}}}(_0x54f5,0xb13a4));import{ObservableMixin as _0x4a1ff5}from'ckeditor5/src/utils.js';import{getTranslation as _0x175e6d}from'../utils/common-translations.js';function _0x54f5(){const _0x2560be=['unbind','878408omuqmt','PendingActions','canEditAt','_acceptCommand','8827679uVNocW','view','locale','add','canDiscard','canAccept','12SswGRR','_discardCommand','1483810WfnmIP','plugins','model','execute','26415PEdeZl','_setPendingAction','_editor','bind','460767ukKllI','isDirty','5413984JhgULe','commentThreadController','stopListening','6gCbsoc','change:isDirty','_pendingAction','isEnabled','acceptSuggestion','getRanges','discardSuggestion','_removePendingAction','commands','destroy','get','PENDING_ACTION_SUGGESTION','681738XdJfDD','9630CDEYSm','remove','listenTo'];_0x54f5=function(){return _0x2560be;};return _0x54f5();}function _0x14d2(_0x17358f,_0x588bd7){const _0x54f598=_0x54f5();return _0x14d2=function(_0x14d294,_0x7060d4){_0x14d294=_0x14d294-0x1d3;let _0x34ad10=_0x54f598[_0x14d294];return _0x34ad10;},_0x14d2(_0x17358f,_0x588bd7);}export default class ae extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4a1ff5(){constructor(_0x502776,_0x36419d,_0x255461,_0x231607){const _0x2110c5=_0x14d2;super(),this[_0x2110c5(0x1d5)]=_0x36419d,this[_0x2110c5(0x1f6)]=_0x255461,this[_0x2110c5(0x1de)]=_0x231607,this[_0x2110c5(0x1d9)]=_0x502776,this[_0x2110c5(0x1f4)]=_0x502776[_0x2110c5(0x1e8)][_0x2110c5(0x1ea)](_0x2110c5(0x1e4)),this[_0x2110c5(0x1fc)]=_0x502776[_0x2110c5(0x1e8)][_0x2110c5(0x1ea)](_0x2110c5(0x1e6)),this[_0x2110c5(0x1f6)][_0x2110c5(0x1da)](_0x2110c5(0x1e3))['to'](this[_0x2110c5(0x1f4)],this[_0x2110c5(0x1fc)],(_0x4223c5,_0x4d8369)=>_0x4223c5||_0x4d8369),this[_0x2110c5(0x1f6)][_0x2110c5(0x1da)](_0x2110c5(0x1fa))['to'](this[_0x2110c5(0x1f4)],_0x2110c5(0x1e3),_0x287904=>_0x287904&&this[_0x2110c5(0x1d9)][_0x2110c5(0x1d5)][_0x2110c5(0x1f3)](_0x36419d[_0x2110c5(0x1e5)]())),this[_0x2110c5(0x1f6)][_0x2110c5(0x1da)](_0x2110c5(0x1f9))['to'](this[_0x2110c5(0x1fc)],_0x2110c5(0x1e3),_0x4986a1=>_0x4986a1&&this[_0x2110c5(0x1d9)][_0x2110c5(0x1d5)][_0x2110c5(0x1f3)](_0x36419d[_0x2110c5(0x1e5)]())),this[_0x2110c5(0x1e2)]=null,_0x255461[_0x2110c5(0x1dc)]&&this[_0x2110c5(0x1d8)](),this[_0x2110c5(0x1ef)](_0x255461,_0x2110c5(0x1e4),()=>this[_0x2110c5(0x1e4)]()),this[_0x2110c5(0x1ef)](_0x255461,_0x2110c5(0x1e6),()=>this[_0x2110c5(0x1e6)]()),this[_0x2110c5(0x1ef)](_0x255461,_0x2110c5(0x1e1),()=>{const _0x3c2b1b=_0x2110c5;_0x255461[_0x3c2b1b(0x1dc)]?this[_0x3c2b1b(0x1d8)]():this[_0x3c2b1b(0x1e7)]();});}[_0x36ec71(0x1e4)](){const _0x211806=_0x36ec71;this[_0x211806(0x1f4)][_0x211806(0x1d6)](this[_0x211806(0x1d5)]['id']);}[_0x36ec71(0x1e6)](){const _0x2b8ab4=_0x36ec71;this[_0x2b8ab4(0x1fc)][_0x2b8ab4(0x1d6)](this[_0x2b8ab4(0x1d5)]['id']);}[_0x36ec71(0x1e9)](){const _0xbc667a=_0x36ec71;this[_0xbc667a(0x1f6)][_0xbc667a(0x1f0)](_0xbc667a(0x1e3)),this[_0xbc667a(0x1f6)][_0xbc667a(0x1f0)](_0xbc667a(0x1fa)),this[_0xbc667a(0x1f6)][_0xbc667a(0x1f0)](_0xbc667a(0x1f9)),this[_0xbc667a(0x1df)](),this[_0xbc667a(0x1de)][_0xbc667a(0x1e9)](),this[_0xbc667a(0x1e2)]&&this[_0xbc667a(0x1e7)]();}[_0x36ec71(0x1d8)](){const _0x35d353=_0x36ec71,_0x41a293=_0x175e6d(this[_0x35d353(0x1d9)][_0x35d353(0x1f7)],_0x35d353(0x1eb));this[_0x35d353(0x1e2)]=this[_0x35d353(0x1d9)][_0x35d353(0x1d4)][_0x35d353(0x1ea)](_0x35d353(0x1f2))[_0x35d353(0x1f8)](_0x41a293);}[_0x36ec71(0x1e7)](){const _0x212f93=_0x36ec71;null!==this[_0x212f93(0x1e2)]&&this[_0x212f93(0x1d9)][_0x212f93(0x1d4)][_0x212f93(0x1ea)](_0x212f93(0x1f2))[_0x212f93(0x1ee)](this[_0x212f93(0x1e2)]),this[_0x212f93(0x1e2)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c0463=_0xd762;(function(_0x10c0a4,_0x1d9e07){const _0x2a9b52=_0xd762,_0x1bea9c=_0x10c0a4();while(!![]){try{const _0x257e39=-parseInt(_0x2a9b52(0x165))/0x1+parseInt(_0x2a9b52(0x181))/0x2+-parseInt(_0x2a9b52(0x168))/0x3+parseInt(_0x2a9b52(0x18f))/0x4*(-parseInt(_0x2a9b52(0x18b))/0x5)+parseInt(_0x2a9b52(0x169))/0x6+parseInt(_0x2a9b52(0x177))/0x7+parseInt(_0x2a9b52(0x19a))/0x8;if(_0x257e39===_0x1d9e07)break;else _0x1bea9c['push'](_0x1bea9c['shift']());}catch(_0x2a1d4d){_0x1bea9c['push'](_0x1bea9c['shift']());}}}(_0xae47,0xbb332));import{FocusCycler as _0x5f18f4,View as _0x262bb2,ViewCollection as _0x1fabc4}from'ckeditor5/src/ui.js';function _0xd762(_0x4a9a77,_0x16e7be){const _0xae472a=_0xae47();return _0xd762=function(_0xd7621e,_0x3bd93f){_0xd7621e=_0xd7621e-0x154;let _0xd8cce0=_0xae472a[_0xd7621e];return _0xd8cce0;},_0xd762(_0x4a9a77,_0x16e7be);}import{FocusTracker as _0x17f1e1,KeystrokeHandler as _0x4ec4be}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0xdfcfce,setupThreadKeyboardNavigation as _0x2d7535}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x8261e5}from'../../utils/common-translations.js';import{renderDescription as _0x44f3d2}from'../../utils/utils.js';function _0xae47(){const _0x37ef47=['render','authoredAt','body','focus','isDirty','_config','descriptionParts','701270rBjvPd','showInput','setData','map','16cypVjK','isActive','hasDirtyComment','bind','author','focusTracker','canAccept','target','_createCommentThreadInputView','tab','parseFromString','10479440OOmZUT','disabledSubmit','editor','_localUser','focusables','locale','isEnabled','delegate','fire','shift+tab','editorConfig','ariaDescriptionView','_model','content','focusCycler','commentsListView','name','isReadOnly','618898VMQuaE','length','value','2875086vIBFye','5085768SJBXKU','destroy','commentThreadInputView','element','join','set','canDiscard','SUGGESTION_THREAD_DESCRIPTION','ariaLabel','formatDateTime','submit','disableComments','keystrokes','CommentView','2191126WRPHiV','cancel','SUGGESTION_THREAD_ARIA_LABEL','commentThread','_createCommentViews','updateComment','textContent','removeComment','text/html','addComment','868940tfWOni','assign','commentInputView'];_0xae47=function(){return _0x37ef47;};return _0xae47();}export default class us extends _0x262bb2{constructor(_0x38e5da,_0x167111,_0x93bb39,_0x50eeb2){const _0x302df5=_0xd762;super(_0x38e5da),this[_0x302df5(0x162)]=null,this[_0x302df5(0x16b)]=null,this[_0x302df5(0x15e)]=new _0xdfcfce(_0x38e5da,_0x8261e5(_0x38e5da,_0x302df5(0x170))),this[_0x302df5(0x16e)](_0x302df5(0x190),!0x1),this[_0x302df5(0x16e)](_0x302df5(0x185),_0x167111[_0x302df5(0x185)]),this[_0x302df5(0x192)](_0x302df5(0x185))['to'](_0x167111),this[_0x302df5(0x16e)](_0x302df5(0x18a),[]),this[_0x302df5(0x16e)](_0x302df5(0x188),!0x1),this[_0x302df5(0x16e)](_0x302df5(0x159),!0x1),this[_0x302df5(0x16e)](_0x302df5(0x195),!0x1),this[_0x302df5(0x16e)](_0x302df5(0x16f),!0x1),this[_0x302df5(0x192)](_0x302df5(0x171))['to'](this,_0x302df5(0x166),_0x167111,_0x302df5(0x185),this,_0x302df5(0x18a),(_0x49cc9c,_0x5c1986,_0x2eda6e)=>{const _0x2bfb45=_0x302df5,_0x579472=_0x2eda6e[_0x2bfb45(0x18e)](_0x4d6102=>_0x44f3d2(_0x4d6102[_0x2bfb45(0x160)]))[_0x2bfb45(0x16d)]('.\x20')+'.';return _0x8261e5(this[_0x2bfb45(0x158)],_0x2bfb45(0x179),[_0x49cc9c-0x1,_0x167111[_0x2bfb45(0x193)][_0x2bfb45(0x163)],_0x5c1986?_0x50eeb2[_0x2bfb45(0x172)](_0x5c1986):'',new DOMParser()[_0x2bfb45(0x199)](_0x579472,_0x2bfb45(0x17f))[_0x2bfb45(0x186)][_0x2bfb45(0x17d)]]);}),this[_0x302df5(0x157)]=new _0x1fabc4(),this[_0x302df5(0x194)]=new _0x17f1e1(),this[_0x302df5(0x175)]=new _0x4ec4be(),this[_0x302df5(0x161)]=new _0x5f18f4({'focusables':this[_0x302df5(0x157)],'focusTracker':this[_0x302df5(0x194)],'keystrokeHandler':this[_0x302df5(0x175)],'keystrokeHandlerOptions':{'filter':_0x58a791=>_0x58a791[_0x302df5(0x196)]!==this[_0x302df5(0x16c)]},'actions':{'focusPrevious':_0x302df5(0x15c),'focusNext':_0x302df5(0x198)}}),this[_0x302df5(0x15f)]=_0x167111,this[_0x302df5(0x156)]=_0x93bb39,this[_0x302df5(0x189)]=_0x50eeb2,_0x50eeb2[_0x302df5(0x174)]?this[_0x302df5(0x16e)](_0x302df5(0x166),0x1):this[_0x302df5(0x17b)]();}[_0x5c0463(0x184)](){const _0x5368a1=_0x5c0463;super[_0x5368a1(0x184)](),_0x2d7535(this,this[_0x5368a1(0x157)]);}[_0x5c0463(0x187)](){const _0x21e040=_0x5c0463;this[_0x21e040(0x16c)][_0x21e040(0x187)]();}[_0x5c0463(0x16a)](){const _0x51ead3=_0x5c0463;this[_0x51ead3(0x162)]&&this[_0x51ead3(0x162)][_0x51ead3(0x16a)](),this[_0x51ead3(0x16b)]&&this[_0x51ead3(0x16b)][_0x51ead3(0x16a)](),super[_0x51ead3(0x16a)]();}[_0x5c0463(0x17b)](){const _0x12d448=_0x5c0463,{CommentsListView:_0x149a32}=this[_0x12d448(0x189)];this[_0x12d448(0x162)]=new _0x149a32(this[_0x12d448(0x158)],this[_0x12d448(0x15f)][_0x12d448(0x17a)],Object[_0x12d448(0x182)]({'CommentView':this[_0x12d448(0x189)][_0x12d448(0x176)]},this[_0x12d448(0x189)])),this[_0x12d448(0x162)][_0x12d448(0x15a)](_0x12d448(0x17e))['to'](this),this[_0x12d448(0x162)][_0x12d448(0x15a)](_0x12d448(0x17c))['to'](this),this[_0x12d448(0x162)][_0x12d448(0x192)](_0x12d448(0x190))['to'](this),this[_0x12d448(0x16e)](_0x12d448(0x166),this[_0x12d448(0x162)][_0x12d448(0x166)]+0x1),this[_0x12d448(0x192)](_0x12d448(0x166))['to'](this[_0x12d448(0x162)],_0x12d448(0x166),_0x4bc4ad=>_0x4bc4ad+0x1),this[_0x12d448(0x16b)]=this[_0x12d448(0x197)](),this['on'](_0x12d448(0x17e),()=>this[_0x12d448(0x187)]()),this[_0x12d448(0x192)](_0x12d448(0x188))['to'](this[_0x12d448(0x162)],_0x12d448(0x191),this[_0x12d448(0x16b)][_0x12d448(0x183)],_0x12d448(0x167),(_0x112a63,_0x2ba78d)=>_0x112a63||!!_0x2ba78d);}[_0x5c0463(0x197)](){const _0x18dfa0=_0x5c0463,{CommentThreadInputView:_0x373dc3}=this[_0x18dfa0(0x189)],_0xb11b3d=new _0x373dc3(this[_0x18dfa0(0x158)],this[_0x18dfa0(0x156)],this[_0x18dfa0(0x189)][_0x18dfa0(0x15d)]),_0x1d9b95=_0xb11b3d[_0x18dfa0(0x183)];return _0xb11b3d[_0x18dfa0(0x192)](_0x18dfa0(0x18c))['to'](this,_0x18dfa0(0x190),this[_0x18dfa0(0x15f)][_0x18dfa0(0x17a)],_0x18dfa0(0x164),_0x1d9b95,_0x18dfa0(0x167),(_0x566cdb,_0x259761,_0x5b81be)=>!!_0x5b81be||_0x566cdb&&!_0x259761),_0x1d9b95['on'](_0x18dfa0(0x173),(_0x397e0d,_0x10b9cf)=>{const _0x1224c2=_0x18dfa0;this[_0x1224c2(0x15b)](_0x1224c2(0x180),_0x10b9cf),_0x1d9b95[_0x1224c2(0x155)][_0x1224c2(0x18d)]('');}),_0x1d9b95['on'](_0x18dfa0(0x178),()=>this[_0x18dfa0(0x187)]()),_0x1d9b95[_0x18dfa0(0x192)](_0x18dfa0(0x154))['to'](this[_0x18dfa0(0x15f)][_0x18dfa0(0x17a)],_0x18dfa0(0x164)),_0xb11b3d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4883(_0x4516b3,_0x24c322){const _0x1dd30e=_0x1dd3();return _0x4883=function(_0x488375,_0x471b2a){_0x488375=_0x488375-0x7d;let _0x255c11=_0x1dd30e[_0x488375];return _0x255c11;},_0x4883(_0x4516b3,_0x24c322);}const _0xb07939=_0x4883;(function(_0x2125ce,_0x50966b){const _0x487ad0=_0x4883,_0x1bf24a=_0x2125ce();while(!![]){try{const _0xdec1cd=-parseInt(_0x487ad0(0xa1))/0x1+parseInt(_0x487ad0(0x7d))/0x2+parseInt(_0x487ad0(0xaa))/0x3+parseInt(_0x487ad0(0x7e))/0x4*(parseInt(_0x487ad0(0xb0))/0x5)+parseInt(_0x487ad0(0x9c))/0x6*(-parseInt(_0x487ad0(0x84))/0x7)+parseInt(_0x487ad0(0x9e))/0x8*(parseInt(_0x487ad0(0xb5))/0x9)+-parseInt(_0x487ad0(0xa7))/0xa;if(_0xdec1cd===_0x50966b)break;else _0x1bf24a['push'](_0x1bf24a['shift']());}catch(_0x55f4f8){_0x1bf24a['push'](_0x1bf24a['shift']());}}}(_0x1dd3,0xab8d1));import{default as _0xfaf1be}from'./basesuggestionthreadview.js';import{trimHtml as _0x1abbcc}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x5b9dea}from'../../utils/utils.js';function _0x1dd3(){const _0x2bc86b=['9IAxcMX','1528724EZFpGM','40BatWdV','description','ck-rounded-corners','_descriptionElement','suggestionView','canDiscard','182MCWoJs','isActive','descriptionParts','formatDateTime','add','SuggestionView','set','</p>','setTemplate','_model','content','canAccept','author','div','ck-suggestion--disabled-comments','commentThread','commentThreadInputView','discardButton','bind','render','<p>','editorReady','delegate','_config','300006vdxcEE','ck-suggestion-wrapper','6689608PefRMd','acceptButton','getTemplate','732452FDHnTy','push','acceptSuggestion','listitem','ariaDescriptionView','focusables','11928770CSNcMq','discardSuggestion','ariaLabel','4196055kwZUdF','type','ck-suggestion-wrapper--active','color','bindTemplate','disableComments','464390MmLaMs','editorDestroyed','ck-suggestion-','isEnabled','commentsListView'];_0x1dd3=function(){return _0x2bc86b;};return _0x1dd3();}export default class re extends _0xfaf1be{constructor(_0x1f4dcb,_0x379877,_0x498cd9,_0x74c397){const _0xddb5cb=_0x4883;super(_0x1f4dcb,_0x379877,_0x498cd9,_0x74c397),this[_0xddb5cb(0x8a)](_0xddb5cb(0xab),''),this[_0xddb5cb(0x96)](_0xddb5cb(0xab))['to'](this,_0xddb5cb(0x86),_0x5ccd11=>_0x5ccd11&&_0x5ccd11[0x0]?_0x5ccd11[0x0][_0xddb5cb(0xab)]:''),this[_0xddb5cb(0x96)](_0xddb5cb(0x7f))['to'](this,_0xddb5cb(0x86),this,_0xddb5cb(0x85),(_0x51c00b,_0x4ed45e)=>{const _0xe255d1=_0xddb5cb;let _0x194c56='';for(const _0x3bb4b5 of _0x51c00b)_0x194c56+=_0xe255d1(0x98)+_0x5b9dea(_0x3bb4b5[_0xe255d1(0x8e)],_0x3bb4b5[_0xe255d1(0xad)])+_0xe255d1(0x8b);return _0x4ed45e?_0x194c56:_0x1abbcc(_0x194c56,{'limit':0x8c});}),this[_0xddb5cb(0x81)]=null,this[_0xddb5cb(0x82)]=new _0x74c397[(_0xddb5cb(0x89))](_0x1f4dcb,_0x379877,{'formatDateTime':_0x74c397[_0xddb5cb(0x87)]}),this[_0xddb5cb(0x82)][_0xddb5cb(0x96)](_0xddb5cb(0x7f))['to'](this),this[_0xddb5cb(0x82)][_0xddb5cb(0x9a)](_0xddb5cb(0xa3),_0xddb5cb(0xa8))['to'](this),this[_0xddb5cb(0x82)][_0xddb5cb(0x9f)][_0xddb5cb(0x96)](_0xddb5cb(0xb3))['to'](this,_0xddb5cb(0x8f)),this[_0xddb5cb(0x82)][_0xddb5cb(0x95)][_0xddb5cb(0x96)](_0xddb5cb(0xb3))['to'](this,_0xddb5cb(0x83)),this[_0xddb5cb(0xa6)][_0xddb5cb(0x88)](this[_0xddb5cb(0x82)]),this[_0xddb5cb(0xb4)]&&this[_0xddb5cb(0xa6)][_0xddb5cb(0x88)](this[_0xddb5cb(0xb4)]),this[_0xddb5cb(0x94)]&&this[_0xddb5cb(0xa6)][_0xddb5cb(0x88)](this[_0xddb5cb(0x94)]),this[_0xddb5cb(0x8c)](this[_0xddb5cb(0xa0)]());}[_0xb07939(0xa0)](){const _0x239de4=_0xb07939,_0x13abe1=this[_0x239de4(0xae)],_0xc0772e=[this[_0x239de4(0x82)]];return this[_0x239de4(0xb4)]&&_0xc0772e[_0x239de4(0xa2)](this[_0x239de4(0xb4)]),this[_0x239de4(0x94)]&&_0xc0772e[_0x239de4(0xa2)](this[_0x239de4(0x94)]),_0xc0772e[_0x239de4(0xa2)](this[_0x239de4(0xa5)]),{'tag':_0x239de4(0x91),'attributes':{'class':['ck',_0x239de4(0x80),_0x239de4(0x9d),_0x13abe1['if'](_0x239de4(0x85),_0x239de4(0xac)),_0x13abe1['to'](_0x239de4(0xab),_0x28b9ae=>_0x239de4(0xb2)+_0x28b9ae),this[_0x239de4(0x9b)][_0x239de4(0xaf)]&&_0x239de4(0x92)],'data-suggestion-id':this[_0x239de4(0x8d)]['id'],'data-thread-id':this[_0x239de4(0x8d)][_0x239de4(0x93)]['id'],'data-author-id':this[_0x239de4(0x8d)][_0x239de4(0x90)]['id'],'tabindex':0x0,'role':_0x239de4(0xa4),'aria-label':_0x13abe1['to'](_0x239de4(0xa9)),'aria-describedby':this[_0x239de4(0xa5)]['id']},'children':_0xc0772e};}[_0xb07939(0x97)](){const _0x4fff75=_0xb07939;super[_0x4fff75(0x97)](),this[_0x4fff75(0xb4)]&&(this[_0x4fff75(0xb4)][_0x4fff75(0x9a)](_0x4fff75(0x99))['to'](this),this[_0x4fff75(0xb4)][_0x4fff75(0x9a)](_0x4fff75(0xb1))['to'](this)),this[_0x4fff75(0x94)]&&(this[_0x4fff75(0x94)][_0x4fff75(0x9a)](_0x4fff75(0x99))['to'](this),this[_0x4fff75(0x94)][_0x4fff75(0x9a)](_0x4fff75(0xb1))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2975cf=_0x202c;(function(_0x4d282e,_0x117e02){const _0x5e7153=_0x202c,_0x5f3410=_0x4d282e();while(!![]){try{const _0x1be0cc=parseInt(_0x5e7153(0x199))/0x1*(parseInt(_0x5e7153(0x1be))/0x2)+parseInt(_0x5e7153(0x1c2))/0x3+-parseInt(_0x5e7153(0x1a8))/0x4+-parseInt(_0x5e7153(0x1d1))/0x5+-parseInt(_0x5e7153(0x19f))/0x6+-parseInt(_0x5e7153(0x1bb))/0x7*(parseInt(_0x5e7153(0x1ab))/0x8)+parseInt(_0x5e7153(0x1da))/0x9;if(_0x1be0cc===_0x117e02)break;else _0x5f3410['push'](_0x5f3410['shift']());}catch(_0x3a21b1){_0x5f3410['push'](_0x5f3410['shift']());}}}(_0x344b,0x33bdf));import{FocusTracker as _0x24df35,KeystrokeHandler as _0x52fa87}from'ckeditor5/src/utils.js';import{View as _0x35f650,ViewCollection as _0x47b8e1,FocusCycler as _0x25425f}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x142926,UserView as _0xf5b60}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x202c(_0x2d5a26,_0x45925e){const _0x344bd9=_0x344b();return _0x202c=function(_0x202cac,_0x3721b2){_0x202cac=_0x202cac-0x18b;let _0x3d5568=_0x344bd9[_0x202cac];return _0x3d5568;},_0x202c(_0x2d5a26,_0x45925e);}import{icons as _0x34c4a3}from'ckeditor5/src/core.js';import{getTranslation as _0x16d705}from'../../utils/common-translations.js';function _0x344b(){const _0x574229=['creator','_model','getUserViewNotificationText','ck-annotation__info','acceptSuggestion','presentation','ck-suggestion','focusTracker','ck-annotation__user','.ck-annotation__content-wrapper','render','enter','attributes','span','esc','ck-suggestion__main','formatDateTime','getTemplate','getExternalSuggestionNote','innerHTML','cancel','ck-suggestion__info','focusCycler','ck-suggestion--discard','453bJEUUo','ck-suggestion__info-name','execute','acceptButton','shift+tab','ck-comment__external','1271838BzhjOd','ck-annotation__info-name','set','keystrokes','EXTERNAL_AVATAR','ck-suggestion__actions','_setupKeyboardNavigation','div','authoredAt','1392420lNPYVo','@external','fire','2506072dzRTBU','discardButton','target','discardSuggestion','time','Discard\x20suggestion','push','tab','check','_createButton','ck-suggestion--accept','bindTemplate','isExternal','extendTemplate','author','locale','7WVYPUk','add','ck-suggestion__user','860udKGVP','userView','focusables','ck-annotation__info-time','515580pVMQWo','EXTERNAL_IMPORT_WORD_AVATAR','source','setTemplate','_config','EXTERNAL_SUGGESTION','Accept\x20suggestion','bind','focus','querySelector','listenTo','ck-annotation__content-wrapper','ck-annotation__main','description','ck-comment__info-time','878800pJtBFA','EXTERNAL_IMPORT_WORD_SUGGESTION','change:description','ck-annotation__actions','focusFirst','ck-annotation','name','element','importWord','8049438kCbmFu'];_0x344b=function(){return _0x574229;};return _0x344b();}export default class ce extends _0x35f650{constructor(_0x4969a9,_0x4bbf0f,_0x48251b){const _0x4bbef2=_0x202c;super(_0x4969a9),this[_0x4bbef2(0x1dc)]=_0x4bbf0f,this[_0x4bbef2(0x1c6)]=_0x48251b,this[_0x4bbef2(0x1a1)](_0x4bbef2(0x1cf),''),this[_0x4bbef2(0x1c9)](_0x4bbef2(0x1a7))['to'](_0x4bbf0f),this[_0x4bbef2(0x19c)]=this[_0x4bbef2(0x1b4)](_0x16d705(_0x4969a9,_0x4bbef2(0x1c8)),_0x34c4a3[_0x4bbef2(0x1b3)],_0x4bbef2(0x1b5),_0x4bbef2(0x1df),'sw'),this[_0x4bbef2(0x1ac)]=this[_0x4bbef2(0x1b4)](_0x16d705(_0x4969a9,_0x4bbef2(0x1b0)),_0x34c4a3[_0x4bbef2(0x195)],_0x4bbef2(0x198),_0x4bbef2(0x1ae),'sw'),this[_0x4bbef2(0x1bf)]=new _0xf5b60(_0x4969a9,_0x4bbf0f[_0x4bbef2(0x1b9)],this[_0x4bbef2(0x1dd)]()),this[_0x4bbef2(0x1bf)][_0x4bbef2(0x1b8)]({'attributes':{'class':[_0x4bbef2(0x1bd),_0x4bbef2(0x1e3)],'aria-hidden':!0x0}}),this[_0x4bbef2(0x1c0)]=new _0x47b8e1([this[_0x4bbef2(0x19c)],this[_0x4bbef2(0x1ac)]]),this[_0x4bbef2(0x1e2)]=new _0x24df35(),this[_0x4bbef2(0x1a2)]=new _0x52fa87(),this[_0x4bbef2(0x197)]=new _0x25425f({'focusables':this[_0x4bbef2(0x1c0)],'focusTracker':this[_0x4bbef2(0x1e2)],'keystrokeHandler':this[_0x4bbef2(0x1a2)],'actions':{'focusPrevious':_0x4bbef2(0x19d),'focusNext':_0x4bbef2(0x1b2)},'keystrokeHandlerOptions':{'filter':_0x3f79c9=>_0x3f79c9[_0x4bbef2(0x1ad)]!==this[_0x4bbef2(0x1d8)]}}),this[_0x4bbef2(0x1c5)](this[_0x4bbef2(0x192)]());}[_0x2975cf(0x18b)](){const _0x5b8fd8=_0x2975cf;super[_0x5b8fd8(0x18b)]();const _0x4c63f8=this[_0x5b8fd8(0x1d8)][_0x5b8fd8(0x1cb)](_0x5b8fd8(0x1e4));_0x4c63f8[_0x5b8fd8(0x194)]=this[_0x5b8fd8(0x1cf)],this['on'](_0x5b8fd8(0x1d3),(_0x1de330,_0x5cda56,_0x2e2e92)=>{const _0x4bfd6b=_0x5b8fd8;_0x4c63f8[_0x4bfd6b(0x194)]=_0x2e2e92;}),this[_0x5b8fd8(0x1a5)]();}[_0x2975cf(0x192)](){const _0x354b0e=_0x2975cf,_0x1c0720=this[_0x354b0e(0x1b6)],_0x210aca=[{'tag':_0x354b0e(0x1a6),'attributes':{'class':[_0x354b0e(0x196),_0x354b0e(0x1de)]},'children':[{'tag':_0x354b0e(0x18e),'children':[{'text':this[_0x354b0e(0x1bf)][_0x354b0e(0x1d7)]}],'attributes':{'class':[_0x354b0e(0x19a),_0x354b0e(0x1a0)]}},{'tag':_0x354b0e(0x1af),'attributes':{'datetime':_0x1c0720['to'](_0x354b0e(0x1a7)),'class':[_0x354b0e(0x1d0),_0x354b0e(0x1c1)]},'children':[{'text':_0x1c0720['to'](_0x354b0e(0x1a7),_0x30bf20=>this[_0x354b0e(0x1c6)][_0x354b0e(0x191)](_0x30bf20))}]}]},{'tag':_0x354b0e(0x1a6),'attributes':{'class':[_0x354b0e(0x1a4),_0x354b0e(0x1d4)]},'children':[this[_0x354b0e(0x19c)],this[_0x354b0e(0x1ac)]]},{'tag':_0x354b0e(0x1a6),'attributes':{'class':[_0x354b0e(0x1cd)]}}];return this[_0x354b0e(0x1dc)][_0x354b0e(0x1b7)]&&_0x210aca[_0x354b0e(0x1b1)]({'tag':_0x354b0e(0x1a6),'attributes':{'class':[_0x354b0e(0x19e)]},'children':[{'text':this[_0x354b0e(0x193)]()}]}),{'tag':_0x354b0e(0x1a6),'attributes':{'class':[_0x354b0e(0x1e1),_0x354b0e(0x1d6)],'tabindex':-0x1},'children':[this[_0x354b0e(0x1bf)],{'tag':_0x354b0e(0x1a6),'attributes':{'class':[_0x354b0e(0x190),_0x354b0e(0x1ce)],'role':_0x354b0e(0x1e0)},'children':_0x210aca}]};}[_0x2975cf(0x1ca)](){const _0x3aec4a=_0x2975cf;this[_0x3aec4a(0x1d8)][_0x3aec4a(0x1ca)]();}[_0x2975cf(0x1dd)](){const _0xefe17b=_0x2975cf;return this[_0xefe17b(0x1dc)][_0xefe17b(0x1b7)]?_0xefe17b(0x1d9)===this[_0xefe17b(0x1dc)][_0xefe17b(0x18d)][_0xefe17b(0x1a9)][_0xefe17b(0x1c4)]?_0x16d705(this[_0xefe17b(0x1ba)],_0xefe17b(0x1c3),this[_0xefe17b(0x1dc)][_0xefe17b(0x1db)][_0xefe17b(0x1d7)]):_0x16d705(this[_0xefe17b(0x1ba)],_0xefe17b(0x1a3),this[_0xefe17b(0x1dc)][_0xefe17b(0x1db)][_0xefe17b(0x1d7)]):null;}[_0x2975cf(0x193)](){const _0x53417c=_0x2975cf;return _0x53417c(0x1d9)===this[_0x53417c(0x1dc)][_0x53417c(0x18d)][_0x53417c(0x1a9)][_0x53417c(0x1c4)]?_0x16d705(this[_0x53417c(0x1ba)],_0x53417c(0x1d2)):_0x16d705(this[_0x53417c(0x1ba)],_0x53417c(0x1c7));}[_0x2975cf(0x1b4)](_0x1e9e61,_0x35f0f9,_0x3f18b6,_0x500606,_0xec334c){const _0x19e07c=_0x2975cf,_0x1e5804=new _0x142926(this[_0x19e07c(0x1ba)]);return _0x1e5804[_0x19e07c(0x1a1)]({'label':_0x1e9e61,'icon':_0x35f0f9,'tooltip':!0x0,'tooltipPosition':_0xec334c}),_0x1e5804[_0x19e07c(0x1b8)]({'attributes':{'class':_0x3f18b6}}),_0x1e5804['on'](_0x19e07c(0x19b),()=>{const _0xb9b6=_0x19e07c;this[_0xb9b6(0x1aa)](_0x500606,this[_0xb9b6(0x1dc)]['id']);}),_0x1e5804;}[_0x2975cf(0x1a5)](){const _0xe6060d=_0x2975cf,_0x2978bf=this[_0xe6060d(0x1d8)];this[_0xe6060d(0x1a2)][_0xe6060d(0x1cc)](_0x2978bf);for(const _0x2da01f of this[_0xe6060d(0x1c0)])this[_0xe6060d(0x1e2)][_0xe6060d(0x1bc)](_0x2da01f[_0xe6060d(0x1d8)]),this[_0xe6060d(0x1a2)][_0xe6060d(0x1cc)](_0x2da01f[_0xe6060d(0x1d8)]);this[_0xe6060d(0x1a2)][_0xe6060d(0x1a1)](_0xe6060d(0x18c),(_0x1b82ee,_0x11499e)=>{const _0x6acb90=_0xe6060d;_0x2978bf===_0x1b82ee[_0x6acb90(0x1ad)]&&(this[_0x6acb90(0x197)][_0x6acb90(0x1d5)](),_0x11499e());}),this[_0xe6060d(0x1a2)][_0xe6060d(0x1a1)](_0xe6060d(0x18f),(_0x35fb69,_0x58b3c0)=>{const _0x4507d4=_0xe6060d;_0x2978bf!==_0x35fb69[_0x4507d4(0x1ad)]&&(this[_0x4507d4(0x1ca)](),_0x58b3c0());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x1fe0ea,_0x1447c5,_0x26a9da){const t=_0x1fe0ea['t'];switch(_0x1447c5){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',_0x26a9da);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x26a9da);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x26a9da);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x26a9da);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x26a9da);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',_0x26a9da);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x26a9da);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',_0x26a9da);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x26a9da);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x26a9da);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x26a9da);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x26a9da);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x26a9da);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x26a9da);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x26a9da);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x26a9da);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x26a9da);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x26a9da);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x26a9da);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x26a9da);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x26a9da);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x26a9da);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x26a9da);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'},_0x26a9da);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x26a9da);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x26a9da);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x26a9da);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x26a9da);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x26a9da);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'},_0x26a9da);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x26a9da);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x26a9da);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x26a9da);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x26a9da);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'},_0x26a9da);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x26a9da);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'},_0x26a9da);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'},_0x26a9da);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x26a9da);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'},_0x26a9da);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x26a9da);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'},_0x26a9da);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x26a9da);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x26a9da);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'},_0x26a9da);case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x26a9da);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x26a9da);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x26a9da);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'},_0x26a9da);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'},_0x26a9da);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'},_0x26a9da);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x1447c5;}}
|
|
23
|
+
export function getTranslation(_0x505edd,_0x52290e,_0x929d4a){const t=_0x505edd['t'];switch(_0x52290e){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',_0x929d4a);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x929d4a);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x929d4a);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x929d4a);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x929d4a);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',_0x929d4a);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x929d4a);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',_0x929d4a);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x929d4a);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x929d4a);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x929d4a);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x929d4a);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x929d4a);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x929d4a);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x929d4a);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x929d4a);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x929d4a);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x929d4a);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x929d4a);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x929d4a);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x929d4a);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x929d4a);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x929d4a);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'},_0x929d4a);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x929d4a);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x929d4a);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x929d4a);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x929d4a);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x929d4a);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'},_0x929d4a);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x929d4a);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x929d4a);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x929d4a);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x929d4a);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'},_0x929d4a);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x929d4a);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'},_0x929d4a);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'},_0x929d4a);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x929d4a);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'},_0x929d4a);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x929d4a);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'},_0x929d4a);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x929d4a);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x929d4a);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'},_0x929d4a);case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x929d4a);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x929d4a);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x929d4a);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'},_0x929d4a);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'},_0x929d4a);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'},_0x929d4a);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x52290e;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5550(_0x5593cc,_0x39ff33){const _0x14b7a1=_0x14b7();return _0x5550=function(_0x555077,_0x45322d){_0x555077=_0x555077-0x105;let _0x116471=_0x14b7a1[_0x555077];return _0x116471;},_0x5550(_0x5593cc,_0x39ff33);}(function(_0xb0f990,_0x37e4f6){const _0x2c2362=_0x5550,_0x17251b=_0xb0f990();while(!![]){try{const _0x3273ea=-parseInt(_0x2c2362(0x12b))/0x1*(parseInt(_0x2c2362(0x117))/0x2)+-parseInt(_0x2c2362(0x110))/0x3+-parseInt(_0x2c2362(0x114))/0x4*(-parseInt(_0x2c2362(0x11c))/0x5)+parseInt(_0x2c2362(0x11b))/0x6+-parseInt(_0x2c2362(0x11d))/0x7*(-parseInt(_0x2c2362(0x115))/0x8)+-parseInt(_0x2c2362(0x120))/0x9*(-parseInt(_0x2c2362(0x10b))/0xa)+parseInt(_0x2c2362(0x123))/0xb;if(_0x3273ea===_0x37e4f6)break;else _0x17251b['push'](_0x17251b['shift']());}catch(_0x48f5be){_0x17251b['push'](_0x17251b['shift']());}}}(_0x14b7,0x4fc42));export function normalizeDescription(_0x48fd10){const _0xa39ed6=_0x5550;return Array[_0xa39ed6(0x136)](_0x48fd10)||(_0x48fd10=[_0x48fd10]),_0x48fd10[_0xa39ed6(0x133)](_0x518791=>{const _0x5b57e0=_0xa39ed6,_0x3e1e11=_0x518791[_0x5b57e0(0x132)][_0x5b57e0(0x12d)](/\*/g,''),_0x2ab700=_0x518791[_0x5b57e0(0x12a)]?_0x5b57e0(0x109)+_0x518791[_0x5b57e0(0x12a)][_0x5b57e0(0x131)]+']':'';return'['+_0x518791[_0x5b57e0(0x137)]+']\x20'+_0x3e1e11+_0x2ab700;})[_0xa39ed6(0x10a)](';\x20');}export function renderDescription(_0x94b242,_0x4cc8d7){const _0x2ab313=_0x5550;let _0xd79de9='';return _0xd79de9+=_0x94b242[_0x2ab313(0x13b)]('*')[_0x2ab313(0x133)]((_0x2095a9,_0x3c3b01)=>_0x3c3b01%0x2!=0x0?_0x2ab313(0x119)+nn(_0x2095a9)+_0x2ab313(0x10f):nn(_0x2095a9))[_0x2ab313(0x10a)](''),_0x4cc8d7&&(_0xd79de9+=_0x2ab313(0x116)+_0x4cc8d7[_0x2ab313(0x131)]+_0x2ab313(0x128)+_0x4cc8d7[_0x2ab313(0x134)]+_0x2ab313(0x138)),_0xd79de9;}function nn(_0x1c33fd){const _0x2b6073=_0x5550,_0x39f11d=document[_0x2b6073(0x113)](_0x2b6073(0x12c));return _0x39f11d[_0x2b6073(0x112)]=_0x1c33fd,_0x39f11d[_0x2b6073(0x124)];}export function sortSuggestions(_0x106fe1){const _0xdee69f=_0x5550;return _0x106fe1[_0xdee69f(0x11f)]((_0x523a45,_0x1eb4f4)=>_0xdee69f(0x11a)==_0x523a45[_0xdee69f(0x137)]&&_0xdee69f(0x11a)!=_0x1eb4f4[_0xdee69f(0x137)]?-0x1:_0xdee69f(0x11a)!=_0x523a45[_0xdee69f(0x137)]&&_0xdee69f(0x11a)==_0x1eb4f4[_0xdee69f(0x137)]?0x1:0x0);}function _0x14b7(){const _0xde2d5c=['from','isMultiRange','split','schema','isCollapsed','isIntersecting','add','\x20[color\x20','join','10WiabIt','change','start','getRanges','</span>','350865OwnfgI','next','innerText','createElement','383632RaInWJ','1030664eCQAki','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','43288lwXzap','length','<span\x20class=\x22ck-suggestion-type\x22>','deletion','123486fUrrjy','5rTvpZN','14zMFUkP','createPositionAt','sort','916497uAMBnJ','push','createRange','4168175OBOwQE','innerHTML','splice','end','isInContent','\x22\x20title=\x22','createPositionAfter','color','19JHSflE','span','replace','createPositionBefore','execute','isObject','value','content','map','title','isTouching','isArray','type','\x22></span>'];_0x14b7=function(){return _0xde2d5c;};return _0x14b7();}export function getSelectedSuggestions(_0x58d0b6,_0x3d57b4){const _0x5628f5=_0x5550,_0x568c18=Array[_0x5628f5(0x139)](_0x58d0b6[_0x5628f5(0x10e)]()),_0x8fdd77=new Set();for(const _0x2ef99b of _0x3d57b4)if(_0x2ef99b[_0x5628f5(0x127)]){for(const _0x19599f of _0x568c18)for(const _0x45638d of _0x2ef99b[_0x5628f5(0x10e)]())(_0x19599f[_0x5628f5(0x107)](_0x45638d)||_0x58d0b6[_0x5628f5(0x106)]&&!_0x2ef99b[_0x5628f5(0x13a)]&&_0x2ef99b[_0x5628f5(0x111)]&&_0x45638d[_0x5628f5(0x126)][_0x5628f5(0x135)](_0x19599f[_0x5628f5(0x10d)]))&&_0x8fdd77[_0x5628f5(0x108)](_0x2ef99b);}return _0x8fdd77;}export function getRangesOfBlockGroups(_0x33be9f,_0x555f87){const _0x22191d=_0x5550;let _0x3f7aea,_0x1c27c4=0x0;const _0x362cdd=[],_0x5f1722=_0x555f87[_0x22191d(0x105)];for(;_0x1c27c4<_0x33be9f[_0x22191d(0x118)];){const _0x318cd8=_0x33be9f[_0x1c27c4],_0x1b1aed=_0x33be9f[_0x1c27c4+0x1];_0x3f7aea||(_0x3f7aea=_0x555f87[_0x22191d(0x12e)](_0x318cd8)),on(_0x555f87,_0x318cd8,_0x1b1aed)||(_0x362cdd[_0x22191d(0x121)](_0x555f87[_0x22191d(0x122)](_0x3f7aea,_0x5f1722[_0x22191d(0x130)](_0x318cd8)?_0x555f87[_0x22191d(0x129)](_0x318cd8):_0x555f87[_0x22191d(0x11e)](_0x318cd8,_0x22191d(0x126)))),_0x3f7aea=null),_0x1c27c4++;}return _0x362cdd;}function on(_0x17e7f1,_0x5a6ed4,_0x31dc88){const _0x13c8ef=_0x5550;if(!_0x31dc88)return!0x1;const _0x3b8d9b=_0x17e7f1[_0x13c8ef(0x129)](_0x5a6ed4),_0x272128=_0x17e7f1[_0x13c8ef(0x12e)](_0x31dc88);return _0x3b8d9b[_0x13c8ef(0x135)](_0x272128);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x441b2f,_0x4025a5,_0x5f0f80){const _0x9a7f50=_0x5550;for(;_0x5f0f80[_0x9a7f50(0x118)];){const _0x1d2b6f=_0x5f0f80[_0x9a7f50(0x125)](0x0,0x64);_0x441b2f[_0x9a7f50(0x10c)](()=>{const _0x26a50a=_0x9a7f50;for(const _0x29cff1 of _0x1d2b6f)_0x29cff1[_0x26a50a(0x127)]&&_0x4025a5[_0x26a50a(0x12f)](_0x29cff1['id']);});}}
|