@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240421.0 → 0.0.0-nightly-20240423.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/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x13f2(_0x2aa811,_0x992467){const _0x75852c=_0x7585();return _0x13f2=function(_0x13f23e,_0xe9373){_0x13f23e=_0x13f23e-0xd6;let _0x2436b7=_0x75852c[_0x13f23e];return _0x2436b7;},_0x13f2(_0x2aa811,_0x992467);}const _0x34be5a=_0x13f2;(function(_0x89fbe,_0x7c3983){const _0x4f803b=_0x13f2,_0x1153f5=_0x89fbe();while(!![]){try{const _0x125729=-parseInt(_0x4f803b(0xd6))/0x1*(parseInt(_0x4f803b(0x101))/0x2)+-parseInt(_0x4f803b(0x110))/0x3+parseInt(_0x4f803b(0x125))/0x4+parseInt(_0x4f803b(0x119))/0x5+-parseInt(_0x4f803b(0x11f))/0x6*(-parseInt(_0x4f803b(0x162))/0x7)+-parseInt(_0x4f803b(0x150))/0x8+-parseInt(_0x4f803b(0x146))/0x9;if(_0x125729===_0x7c3983)break;else _0x1153f5['push'](_0x1153f5['shift']());}catch(_0x37e025){_0x1153f5['push'](_0x1153f5['shift']());}}}(_0x7585,0xaf264));function _0x7585(){const _0x5ae528=['Annotations','values','isOn','source','suggestion-','discardSelectedSuggestions','descriptionParts','comments','discardAllSuggestions','children','_destroyController','_annotationViews','Track\x20changes','type','from','EditorAnnotations','buttonView','focus','get','locale','activeAnnotations','_updateController','getJoined','refreshSelectedViews','some','reduce','bind','delegate','menuBar:trackChanges','innerView','getFirstRange','arrowView','_addUIComponentsToFactory','_unbindEditors','items','pluginName','change:previous','_initializeController','actionView','SuggestionThreadView','2RvfxRQ','plugins','_suggestionToController','getSuggestion','length','componentFactory','getDescriptions','_viewToController','button','suggestionChanged','define','registerAnnotation','comments.maxCommentCharsWhenCollapsed','commands','head','518067WHjsFw','unbind','previous','lowest','comments.maxCommentsWhenCollapsed','editing','separator','isDirty','_handleControllerBuffer','6164405RrbFlk','panelView','has','value','_descriptionFactory','TrackChangesEditing','24RgJICw','model','trackChanges.SuggestionThreadView','delete','isMultiRange','Discard\x20all\x20selected\x20suggestions','4083532KIksPa','trackChanges','switchbutton','acceptButton','isEnabled','comments.editorConfig','TrackChangesUI','view','set','hasSuggestion','CommentView','size','listenTo','suggestionUnloaded','requires','commandName','_createToolbarButton','_disableComments','change:activeAnnotations','trackChanges.disableComments','Discard\x20all\x20suggestions','editor','suggestionLoaded','isInContent','mainView','add','keys','push','config','execute','_createMenuBarMenu','addSourceCollector','acceptAllSuggestions','13077963nLvfUD','getRanges','getMarkerNames','CommentsRepository','createAnnotation','stopListening','init','createCommentThreadController','clear','getAllAdjacentSuggestions','7415720FFHAtU','addComment','comments.maxThreadTotalWeight','remove','getMarkers','discardButton','CommentsUI','filter','_refreshActiveMarkers','Accept\x20all\x20selected\x20suggestions','_bindAnnotationToEditors','createAnnotationView','_handleSuggestionControllerDelayed','getByInnerView','acceptSelectedSuggestions','Accept\x20all\x20suggestions','toMany','commentThread','2405137tDrEKu','357955rUDOHm','destroy','activeMarkers'];_0x7585=function(){return _0x5ae528;};return _0x7585();}import{Plugin as _0x1249db}from'ckeditor5/src/core.js';import{Collection as _0x1a4d6d}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x4d3b22,createDropdown as _0xeee186,ListSeparatorView as _0x15c5a9,MenuBarMenuView as _0x201b0f,MenuBarMenuListView as _0x59db34,MenuBarMenuListItemView as _0x1285d4,MenuBarMenuListItemButtonView as _0x547560,SplitButtonView as _0x2e0ad2,ViewModel as _0x4234a2}from'ckeditor5/src/ui.js';import{Users as _0x1db7a4,getDateTimeFormatter as _0x37d28c,getAllMarkersDomElementsSorted as _0x18db7a}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x4d6ff0 from'./trackchangesediting.js';import _0x5e1b1f from'./ui/suggestioncontroller.js';import _0x15f4c2 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x35edfc}from'./utils/common-translations.js';import _0x2be130 from'../theme/icons/track-changes.svg';export default class d extends _0x1249db{static get[_0x34be5a(0x133)](){const _0x5a3d69=_0x34be5a;return[_0x4d6ff0,_0x1db7a4,_0x5a3d69(0x149),_0x5a3d69(0xd9),_0x5a3d69(0xe8)];}static get[_0x34be5a(0xfc)](){const _0x433991=_0x34be5a;return _0x433991(0x12b);}constructor(_0x4dba22){const _0x14cdc4=_0x34be5a;super(_0x4dba22),this[_0x14cdc4(0x103)]=new Map(),this[_0x14cdc4(0x108)]=new Map(),this[_0x14cdc4(0xe4)]=new Map(),this[_0x14cdc4(0x118)]=new Map();const _0x5b6063=this[_0x14cdc4(0x13a)][_0x14cdc4(0x141)];_0x5b6063[_0x14cdc4(0x10b)](_0x14cdc4(0x121),_0x15f4c2),_0x5b6063[_0x14cdc4(0x10b)](_0x14cdc4(0x138),!0x1),this[_0x14cdc4(0x136)]=_0x5b6063[_0x14cdc4(0xeb)](_0x14cdc4(0x138));}[_0x34be5a(0x15c)](_0x5bdc37,_0x5ebf6f){const _0x4f5f4e=_0x34be5a;0x0===this[_0x4f5f4e(0x118)][_0x4f5f4e(0x130)]&&setTimeout(()=>{const _0x164b4a=_0x4f5f4e;for(const [_0xea1972,_0x4ae950]of this[_0x164b4a(0x118)]){const _0x3d73d7=this[_0x164b4a(0x103)][_0x164b4a(0x11b)](_0xea1972);_0x3d73d7||_0x4ae950?_0x3d73d7&&_0x4ae950&&this[_0x164b4a(0xe3)](_0xea1972):this[_0x164b4a(0xfe)](_0xea1972);}this[_0x164b4a(0x118)][_0x164b4a(0x14e)](),this[_0x164b4a(0x13a)][_0x164b4a(0x102)][_0x164b4a(0xeb)](_0x164b4a(0xe8))[_0x164b4a(0xf0)](),this[_0x164b4a(0x158)]();},0xa),this[_0x4f5f4e(0x118)][_0x4f5f4e(0x12d)](_0x5bdc37,_0x5ebf6f);}[_0x34be5a(0x14c)](){const _0x56df63=_0x34be5a,_0x36936c=this[_0x56df63(0x13a)],_0x8ec247=_0x36936c[_0x56df63(0x102)][_0x56df63(0xeb)](_0x56df63(0x11e)),_0x386049=_0x36936c[_0x56df63(0x102)][_0x56df63(0xeb)](_0x56df63(0xd9)),_0x5a3e43=_0x36936c[_0x56df63(0x102)][_0x56df63(0xeb)](_0x56df63(0xe8)),_0x58bc82=_0x36936c[_0x56df63(0x102)][_0x56df63(0xeb)](_0x56df63(0x149));this[_0x56df63(0xf9)](),_0x5a3e43[_0x56df63(0x144)](()=>{const _0x49d696=_0x56df63,_0x14a5a3=[];for(const [_0x592167,_0x3b5805]of Array[_0x49d696(0xe7)](this[_0x49d696(0x103)])){const _0x2fa570=_0x592167[_0x49d696(0x14f)](),_0x2fce4f=[];for(const _0x5283df of _0x2fa570){if(!_0x5283df[_0x49d696(0x13c)])continue;if(_0x5283df[_0x49d696(0x123)]){_0x2fce4f[_0x49d696(0x140)](..._0x5283df[_0x49d696(0x147)]());continue;}const _0x41a422=_0x5283df[_0x49d696(0xf7)]();if(_0x2fce4f[_0x49d696(0x105)]>0x0){const _0x2d17ab=_0x2fce4f[0x0][_0x49d696(0xef)](_0x41a422);if(_0x2d17ab){_0x2fce4f[0x0]=_0x2d17ab;continue;}}_0x2fce4f[_0x49d696(0x140)](_0x41a422);}_0x14a5a3[_0x49d696(0x140)]([_0x3b5805[_0x49d696(0x12c)],_0x2fce4f]);}return _0x14a5a3;}),this[_0x56df63(0x131)](_0x8ec247,_0x56df63(0x13b),(_0x1c21e1,_0x1cc0e1)=>{const _0x38d8b8=_0x56df63;this[_0x38d8b8(0x131)](_0x1cc0e1,_0x38d8b8(0xfd),(_0x98d39e,_0x47cba0,_0x2b888c,_0x23318e)=>{const _0x4b67ba=_0x38d8b8;_0x1cc0e1[_0x4b67ba(0x13c)]&&(null==_0x2b888c?(this[_0x4b67ba(0xee)](_0x23318e[_0x4b67ba(0x10f)]),this[_0x4b67ba(0x15c)](_0x1cc0e1,!0x1)):(this[_0x4b67ba(0xee)](_0x2b888c[_0x4b67ba(0x10f)]),null==_0x23318e&&this[_0x4b67ba(0x15c)](_0x1cc0e1,!0x0)));}),null!==_0x1cc0e1[_0x38d8b8(0x112)]?this[_0x38d8b8(0xee)](_0x1cc0e1[_0x38d8b8(0x10f)]):this[_0x38d8b8(0x15c)](_0x1cc0e1,!0x1);}),this[_0x56df63(0x131)](_0x8ec247,_0x56df63(0x132),(_0x2c2f11,_0x439321,_0x2e1af0)=>{const _0x3de72f=_0x56df63;this[_0x3de72f(0x14b)](_0x439321,_0x3de72f(0xfd)),this[_0x3de72f(0x118)][_0x3de72f(0x122)](_0x439321),this[_0x3de72f(0x103)][_0x3de72f(0x11b)](_0x439321)&&this[_0x3de72f(0xe3)](_0x439321),_0x2e1af0&&this[_0x3de72f(0xee)](_0x2e1af0[_0x3de72f(0x10f)]);}),this[_0x56df63(0x131)](_0x8ec247,_0x56df63(0x10a),(_0x1506cc,_0x433b17)=>{const _0x22d4ed=_0x56df63;this[_0x22d4ed(0xee)](_0x433b17);}),this[_0x56df63(0x131)](_0x386049,_0x56df63(0x137),()=>{const _0x5dc53d=_0x56df63;this[_0x5dc53d(0x158)]();}),this[_0x56df63(0x131)](_0x58bc82,_0x56df63(0x151),(_0x5753da,{threadId:_0x5f178b,isFromAdapter:_0x5ab636})=>{const _0x1dbb65=_0x56df63;if(_0x5ab636||!_0x8ec247[_0x1dbb65(0x12e)](_0x5f178b))return;const _0xb59f13=_0x8ec247[_0x1dbb65(0x104)](_0x5f178b);this[_0x1dbb65(0x103)][_0x1dbb65(0xeb)](_0xb59f13)[_0x1dbb65(0x12c)][_0x1dbb65(0xea)]();},{'priority':_0x56df63(0x113)});}[_0x34be5a(0x158)](){const _0x226b21=_0x34be5a,_0x2a9d87=this[_0x226b21(0x13a)][_0x226b21(0x102)][_0x226b21(0xeb)](_0x226b21(0xd9)),_0x44e7f0=this[_0x226b21(0x13a)][_0x226b21(0x102)][_0x226b21(0xeb)](_0x226b21(0x11e)),_0xc568b5=Array[_0x226b21(0xe7)](_0x2a9d87[_0x226b21(0xed)],_0x2ecdfe=>_0x2ecdfe[_0x226b21(0xf6)])[_0x226b21(0x157)](_0x520c2d=>this[_0x226b21(0x108)][_0x226b21(0x11b)](_0x520c2d)),_0x9485cf=[];for(const _0x257a07 of _0xc568b5){const _0x39770a=this[_0x226b21(0x108)][_0x226b21(0xeb)](_0x257a07)[_0x226b21(0x120)][_0x226b21(0x14f)]();_0x9485cf[_0x226b21(0x140)](..._0x39770a[_0x226b21(0xf2)]((_0x202672,_0x1e1300)=>[..._0x202672,..._0x1e1300[_0x226b21(0x148)]()],[]));}_0x44e7f0[_0x226b21(0xd8)]=_0x9485cf;}[_0x34be5a(0xf9)](){const _0xca8c9c=_0x34be5a,_0x46e8a6=this[_0xca8c9c(0x13a)],_0x4a12f6=_0x46e8a6[_0xca8c9c(0xec)],_0x404114=_0x35edfc(_0x4a12f6,_0xca8c9c(0xe5)),_0x219819=new _0x1a4d6d([{'type':_0xca8c9c(0x127),'model':new _0x4234a2({'withText':!0x0,'label':_0x404114,'commandName':_0xca8c9c(0x126)})},{'type':_0xca8c9c(0x116)},{'type':_0xca8c9c(0x109),'model':new _0x4234a2({'withText':!0x0,'label':_0x35edfc(_0x4a12f6,_0xca8c9c(0x15f)),'commandName':_0xca8c9c(0x145)})},{'type':_0xca8c9c(0x109),'model':new _0x4234a2({'withText':!0x0,'label':_0x35edfc(_0x4a12f6,_0xca8c9c(0x159)),'commandName':_0xca8c9c(0x15e)})},{'type':_0xca8c9c(0x109),'model':new _0x4234a2({'withText':!0x0,'label':_0x35edfc(_0x4a12f6,_0xca8c9c(0x139)),'commandName':_0xca8c9c(0xe1)})},{'type':_0xca8c9c(0x109),'model':new _0x4234a2({'withText':!0x0,'label':_0x35edfc(_0x4a12f6,_0xca8c9c(0x124)),'commandName':_0xca8c9c(0xde)})}]);for(const _0x378ef8 of _0x219819)if(ae(_0x378ef8)){const _0x5c5d0f=_0x46e8a6[_0xca8c9c(0x10e)][_0xca8c9c(0xeb)](_0x378ef8[_0xca8c9c(0x120)][_0xca8c9c(0x134)]);_0x378ef8[_0xca8c9c(0x120)][_0xca8c9c(0xf3)](_0xca8c9c(0xdb),_0xca8c9c(0x129))['to'](_0x5c5d0f,_0xca8c9c(0x11c),_0xca8c9c(0x129));}_0x46e8a6['ui'][_0xca8c9c(0x106)][_0xca8c9c(0x13e)](_0xca8c9c(0x126),_0x4bdb08=>this[_0xca8c9c(0x135)](_0x4bdb08,_0x219819,_0x404114)),_0x46e8a6['ui'][_0xca8c9c(0x106)][_0xca8c9c(0x13e)](_0xca8c9c(0xf5),_0x1951aa=>this[_0xca8c9c(0x143)](_0x1951aa,_0x219819,_0x404114));}[_0x34be5a(0x135)](_0x45a4ac,_0x43e2b4,_0x399705){const _0x1f51c7=_0x34be5a,_0x56faa7=_0xeee186(_0x45a4ac,_0x2e0ad2),_0x50eb96=this[_0x1f51c7(0x13a)][_0x1f51c7(0x10e)][_0x1f51c7(0xeb)](_0x1f51c7(0x126));_0x56faa7[_0x1f51c7(0xe9)][_0x1f51c7(0x12d)]({'tooltip':_0x399705,'label':_0x399705,'icon':_0x2be130}),_0x56faa7[_0x1f51c7(0xe9)][_0x1f51c7(0xf3)](_0x1f51c7(0xdb))['to'](_0x50eb96,_0x1f51c7(0x11c)),_0x56faa7[_0x1f51c7(0xe9)]['on'](_0x1f51c7(0x142),()=>{const _0x23710a=_0x1f51c7;_0x50eb96[_0x23710a(0x142)](),this[_0x23710a(0x13a)][_0x23710a(0x115)][_0x23710a(0x12c)][_0x23710a(0xea)]();}),_0x4d3b22(_0x56faa7,_0x43e2b4);const _0x1479bf=[];for(const _0x21b735 of _0x43e2b4)ae(_0x21b735)&&_0x1479bf[_0x1f51c7(0x140)](this[_0x1f51c7(0x13a)][_0x1f51c7(0x10e)][_0x1f51c7(0xeb)](_0x21b735[_0x1f51c7(0x120)][_0x1f51c7(0x134)]));const _0x8a119=_0x56faa7[_0x1f51c7(0xe9)];return _0x8a119[_0x1f51c7(0xff)][_0x1f51c7(0x111)](_0x1f51c7(0x129)),_0x8a119[_0x1f51c7(0xf8)][_0x1f51c7(0x111)](_0x1f51c7(0x129)),_0x8a119[_0x1f51c7(0xff)][_0x1f51c7(0xf3)](_0x1f51c7(0x129))['to'](_0x50eb96,_0x1f51c7(0x129)),_0x8a119[_0x1f51c7(0xf8)][_0x1f51c7(0xf3)](_0x1f51c7(0x129))[_0x1f51c7(0x160)](_0x1479bf,_0x1f51c7(0x129),(..._0x19ae2b)=>_0x19ae2b[_0x1f51c7(0xf1)](_0x4707a5=>_0x4707a5)),_0x56faa7['on'](_0x1f51c7(0x142),_0x1a2fbe=>{const _0x4f3b1b=_0x1f51c7;this[_0x4f3b1b(0x13a)][_0x4f3b1b(0x142)](_0x1a2fbe[_0x4f3b1b(0xdc)][_0x4f3b1b(0x134)]),this[_0x4f3b1b(0x13a)][_0x4f3b1b(0x115)][_0x4f3b1b(0x12c)][_0x4f3b1b(0xea)]();}),_0x56faa7;}[_0x34be5a(0x143)](_0x65161f,_0x2567da,_0x56f93b){const _0x171197=_0x34be5a,_0x43aff9=new _0x201b0f(_0x65161f),_0x2b922a=this[_0x171197(0x13a)][_0x171197(0x10e)][_0x171197(0xeb)](_0x171197(0x126));_0x43aff9[_0x171197(0xe9)][_0x171197(0x12d)]({'label':_0x56f93b,'icon':_0x2be130});const _0x275c05=new _0x59db34(_0x65161f);for(const _0x454825 of _0x2567da){if(_0x171197(0x116)==_0x454825[_0x171197(0xe6)]){_0x275c05[_0x171197(0xfb)][_0x171197(0x13e)](new _0x15c5a9(_0x65161f));continue;}const _0x58b722=new _0x1285d4(_0x65161f,_0x43aff9),_0x54bf36=new _0x547560(_0x65161f),_0x52a25d=_0x454825[_0x171197(0x120)];_0x54bf36[_0x171197(0xf3)](...Object[_0x171197(0x13f)](_0x52a25d))['to'](_0x52a25d),_0x54bf36[_0x171197(0xf4)](_0x171197(0x142))['to'](_0x43aff9),_0x54bf36['on'](_0x171197(0x142),()=>{const _0x4e8d7d=_0x171197;this[_0x4e8d7d(0x13a)][_0x4e8d7d(0x142)](_0x52a25d[_0x4e8d7d(0x134)]),this[_0x4e8d7d(0x13a)][_0x4e8d7d(0x115)][_0x4e8d7d(0x12c)][_0x4e8d7d(0xea)]();}),_0x58b722[_0x171197(0xe2)][_0x171197(0x13e)](_0x54bf36),_0x275c05[_0x171197(0xfb)][_0x171197(0x13e)](_0x58b722);}return _0x43aff9[_0x171197(0xf3)](_0x171197(0x129))['to'](_0x2b922a,_0x171197(0x129)),_0x43aff9[_0x171197(0x11a)][_0x171197(0xe2)][_0x171197(0x13e)](_0x275c05),_0x43aff9;}[_0x34be5a(0xfe)](_0x5cd1ac){const _0x26ea71=_0x34be5a,_0x21757f=this[_0x26ea71(0x13a)],_0x31029d=_0x21757f[_0x26ea71(0x141)],_0x302f12=_0x21757f[_0x26ea71(0x102)][_0x26ea71(0xeb)](_0x26ea71(0xd9)),_0x27dd57=_0x21757f[_0x26ea71(0x102)][_0x26ea71(0xeb)](_0x26ea71(0x149)),_0x163379=_0x21757f[_0x26ea71(0x102)][_0x26ea71(0xeb)](_0x26ea71(0xe8)),_0x29a290=_0x21757f[_0x26ea71(0x102)][_0x26ea71(0xeb)](_0x1db7a4)['me'],_0x4e65fc=_0x31029d[_0x26ea71(0xeb)](_0x26ea71(0x126))[_0x26ea71(0x100)],{CommentsListView:_0x55f94b,CommentThreadInputView:_0x214ee4}=_0x21757f[_0x26ea71(0x102)][_0x26ea71(0xeb)](_0x26ea71(0x156));let _0x587010,_0x257aed;this[_0x26ea71(0xe4)][_0x26ea71(0x11b)](_0x5cd1ac['id'])?(_0x257aed=this[_0x26ea71(0xe4)][_0x26ea71(0xeb)](_0x5cd1ac['id']),_0x587010=_0x257aed[_0x26ea71(0x13d)]):(_0x587010=new _0x4e65fc(_0x21757f[_0x26ea71(0xec)],_0x5cd1ac,_0x29a290,{'disableComments':this[_0x26ea71(0x136)],'editorConfig':_0x31029d[_0x26ea71(0xeb)](_0x26ea71(0x12a)),'maxCommentsWhenCollapsed':_0x31029d[_0x26ea71(0xeb)](_0x26ea71(0x114)),'maxThreadTotalWeight':_0x31029d[_0x26ea71(0xeb)](_0x26ea71(0x152)),'maxCommentCharsWhenCollapsed':_0x31029d[_0x26ea71(0xeb)](_0x26ea71(0x10d)),'formatDateTime':_0x37d28c(_0x31029d[_0x26ea71(0xeb)](_0x26ea71(0xec))),'CommentView':_0x31029d[_0x26ea71(0xeb)](_0x26ea71(0xe0))[_0x26ea71(0x12f)],'CommentsListView':_0x55f94b,'CommentThreadInputView':_0x214ee4}),_0x587010[_0x26ea71(0x128)]['on'](_0x26ea71(0x142),()=>{const _0x3ef82f=_0x26ea71;_0x21757f[_0x3ef82f(0x115)][_0x3ef82f(0x12c)][_0x3ef82f(0xea)]();}),_0x587010[_0x26ea71(0x155)]['on'](_0x26ea71(0x142),()=>{const _0x29558b=_0x26ea71;_0x21757f[_0x29558b(0x115)][_0x29558b(0x12c)][_0x29558b(0xea)]();}),_0x257aed=_0x302f12[_0x26ea71(0x15b)](this[_0x26ea71(0x13a)][_0x26ea71(0xec)],_0x587010),_0x257aed[_0x26ea71(0xf3)](_0x26ea71(0x117))['to'](_0x587010,_0x26ea71(0x117)),_0x257aed[_0x26ea71(0xf3)](_0x26ea71(0x105))['to'](_0x587010),_0x257aed[_0x26ea71(0xf3)](_0x26ea71(0xe6))['to'](_0x587010,_0x26ea71(0xe6),_0x356185=>_0x26ea71(0xdd)+_0x356185),this[_0x26ea71(0xe4)][_0x26ea71(0x12d)](_0x5cd1ac['id'],_0x257aed));const _0x169006=_0x27dd57[_0x26ea71(0x14d)](_0x5cd1ac[_0x26ea71(0x161)],_0x587010),_0x34d20d=new _0x5e1b1f(_0x21757f,_0x5cd1ac,_0x587010,_0x169006),_0xfcdd5f=_0x5cd1ac[_0x26ea71(0x14f)]()[_0x26ea71(0x157)](_0x1a70a2=>_0x1a70a2[_0x26ea71(0x13c)]);_0x587010[_0x26ea71(0xdf)]=_0x21757f[_0x26ea71(0x102)][_0x26ea71(0xeb)](_0x26ea71(0x11e))[_0x26ea71(0x11d)][_0x26ea71(0x107)](_0xfcdd5f),this[_0x26ea71(0x103)][_0x26ea71(0x12d)](_0x5cd1ac,_0x34d20d),this[_0x26ea71(0x108)][_0x26ea71(0x12d)](_0x587010,_0x34d20d);const _0x40b4ac=_0x302f12[_0x26ea71(0x14a)]({'view':_0x257aed,'target':()=>{const _0x18a790=_0x26ea71,_0x2a66c4=[],_0x5f0725=_0x5cd1ac[_0x18a790(0x14f)]()[_0x18a790(0x157)](_0x1f7ae0=>_0x1f7ae0[_0x18a790(0x13c)]);for(const _0x18b365 of _0x5f0725)_0x2a66c4[_0x18a790(0x140)](..._0x18b365[_0x18a790(0x154)]());return _0x18db7a(_0x21757f[_0x18a790(0x115)],_0x2a66c4);},'type':()=>_0x26ea71(0xdd)+_0x34d20d[_0x26ea71(0x12c)][_0x26ea71(0xe6)]});_0x27dd57[_0x26ea71(0x15a)](_0x587010,_0x40b4ac),_0x302f12[_0x26ea71(0x13e)](_0x40b4ac),_0x163379[_0x26ea71(0x10c)](_0x40b4ac);}[_0x34be5a(0xe3)](_0x1bb6bc){const _0x144dc5=_0x34be5a,_0x14c454=this[_0x144dc5(0x13a)][_0x144dc5(0x102)][_0x144dc5(0xeb)](_0x144dc5(0x149)),_0x53eeaa=this[_0x144dc5(0x13a)][_0x144dc5(0x102)][_0x144dc5(0xeb)](_0x144dc5(0xd9)),_0x579b1a=this[_0x144dc5(0x103)][_0x144dc5(0xeb)](_0x1bb6bc),_0x3e32c2=_0x579b1a[_0x144dc5(0x12c)],_0x49b5b6=_0x53eeaa[_0x144dc5(0x15d)](_0x3e32c2);_0x14c454[_0x144dc5(0xfa)](_0x3e32c2),_0x49b5b6&&_0x53eeaa[_0x144dc5(0x153)](_0x49b5b6),this[_0x144dc5(0x103)][_0x144dc5(0x122)](_0x1bb6bc),this[_0x144dc5(0x108)][_0x144dc5(0x122)](_0x3e32c2),_0x579b1a[_0x144dc5(0xd7)]();}[_0x34be5a(0xee)](_0x42435c){const _0x3e134e=_0x34be5a;if(!_0x42435c[_0x3e134e(0x13c)]||!this[_0x3e134e(0x103)][_0x3e134e(0x11b)](_0x42435c))return;const _0x1bdf00=this[_0x3e134e(0x13a)][_0x3e134e(0x102)][_0x3e134e(0xeb)](_0x3e134e(0x11e)),_0x346266=this[_0x3e134e(0x103)][_0x3e134e(0xeb)](_0x42435c),_0x3d836a=_0x42435c[_0x3e134e(0x14f)]();_0x346266[_0x3e134e(0x12c)][_0x3e134e(0xdf)]=_0x1bdf00[_0x3e134e(0x11d)][_0x3e134e(0x107)](_0x3d836a);}[_0x34be5a(0xd7)](){const _0x20d203=_0x34be5a;for(const _0x56d39e of this[_0x20d203(0x103)][_0x20d203(0x13f)]())this[_0x20d203(0xe3)](_0x56d39e);for(const _0x183e81 of this[_0x20d203(0xe4)][_0x20d203(0xda)]())_0x183e81[_0x20d203(0x13d)][_0x20d203(0xd7)]();super[_0x20d203(0xd7)]();}}function ae(_0xbdf2ae){const _0x20d2e9=_0x34be5a;return _0x20d2e9(0x120)in _0xbdf2ae;}
|
|
23
|
+
const _0x26daca=_0x9a34;(function(_0x4e3a11,_0x270fe4){const _0x40a978=_0x9a34,_0x3109c4=_0x4e3a11();while(!![]){try{const _0x137b06=parseInt(_0x40a978(0x13e))/0x1+-parseInt(_0x40a978(0x13d))/0x2*(-parseInt(_0x40a978(0x12b))/0x3)+-parseInt(_0x40a978(0xde))/0x4+-parseInt(_0x40a978(0x14b))/0x5+-parseInt(_0x40a978(0x103))/0x6*(parseInt(_0x40a978(0x119))/0x7)+parseInt(_0x40a978(0x111))/0x8+parseInt(_0x40a978(0x101))/0x9;if(_0x137b06===_0x270fe4)break;else _0x3109c4['push'](_0x3109c4['shift']());}catch(_0x27b16b){_0x3109c4['push'](_0x3109c4['shift']());}}}(_0x399b,0xa8bc2));import{Plugin as _0x5666ea}from'ckeditor5/src/core.js';import{Collection as _0x52ac27}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x41937c,createDropdown as _0x4c088e,ListSeparatorView as _0x405aee,MenuBarMenuView as _0x19dd19,MenuBarMenuListView as _0x7e3037,MenuBarMenuListItemView as _0x8af527,MenuBarMenuListItemButtonView as _0x599332,SplitButtonView as _0x19a178,ViewModel as _0x59a42a}from'ckeditor5/src/ui.js';import{Users as _0x44218a,getDateTimeFormatter as _0x52e453,getAllMarkersDomElementsSorted as _0x30f315}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x490395 from'./trackchangesediting.js';function _0x399b(){const _0x47ae4e=['trackChanges','addComment','comments.editorConfig','plugins','getAllAdjacentSuggestions','discardAllSuggestions','suggestionChanged','8026164wZGsVQ','locale','240qXWURv','set','getRanges','switchbutton','_disableComments','define','menuBar:trackChanges','comments.maxCommentCharsWhenCollapsed','activeMarkers','comments.maxCommentsWhenCollapsed','focus','requires','TrackChangesUI','clear','10759752hznSvA','Accept\x20all\x20suggestions','componentFactory','Accept\x20all\x20selected\x20suggestions','_annotationViews','button','editing','from','164843pTbFim','registerAnnotation','reduce','buttonView','CommentsUI','has','isInContent','unbind','items','getByInnerView','init','previous','change:activeAnnotations','TrackChangesEditing','discardSelectedSuggestions','filter','actionView','change:previous','1053rhYqRT','_viewToController','commands','createCommentThreadController','panelView','separator','commentThread','descriptionParts','push','head','getFirstRange','get','acceptSelectedSuggestions','suggestionLoaded','children','acceptAllSuggestions','refreshSelectedViews','createAnnotationView','4718RvzTGs','364484mlofCD','Track\x20changes','Discard\x20all\x20suggestions','hasSuggestion','addSourceCollector','_bindAnnotationToEditors','_initializeController','isDirty','_handleControllerBuffer','_createMenuBarMenu','execute','getMarkerNames','_descriptionFactory','3907830nlhcQU','source','createAnnotation','isEnabled','value','lowest','comments','innerView','SuggestionThreadView','type','arrowView','CommentsRepository','Annotations','listenTo','comments.maxThreadTotalWeight','isMultiRange','some','trackChanges.disableComments','commandName','_handleSuggestionControllerDelayed','isOn','delegate','model','toMany','_suggestionToController','suggestion-','_addUIComponentsToFactory','_refreshActiveMarkers','view','keys','suggestionUnloaded','_destroyController','4058376yzYKXz','discardButton','delete','acceptButton','Discard\x20all\x20selected\x20suggestions','mainView','config','size','bind','editor','stopListening','trackChanges.SuggestionThreadView','_createToolbarButton','EditorAnnotations','getMarkers','values','_unbindEditors','length','destroy','getDescriptions','_updateController','getSuggestion','remove','activeAnnotations','getJoined','add','pluginName','CommentView'];_0x399b=function(){return _0x47ae4e;};return _0x399b();}import _0x2a8152 from'./ui/suggestioncontroller.js';function _0x9a34(_0xcb800a,_0x424ef3){const _0x399b7d=_0x399b();return _0x9a34=function(_0x9a3400,_0x87fcea){_0x9a3400=_0x9a3400-0xcf;let _0x257b55=_0x399b7d[_0x9a3400];return _0x257b55;},_0x9a34(_0xcb800a,_0x424ef3);}import _0x2f23df from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x5f354b}from'./utils/common-translations.js';import _0x77c003 from'../theme/icons/track-changes.svg';export default class d extends _0x5666ea{static get[_0x26daca(0x10e)](){const _0x1b1efc=_0x26daca;return[_0x490395,_0x44218a,_0x1b1efc(0x156),_0x1b1efc(0x157),_0x1b1efc(0xeb)];}static get[_0x26daca(0xf8)](){const _0x56a6e7=_0x26daca;return _0x56a6e7(0x10f);}constructor(_0x1e611e){const _0x3d0c93=_0x26daca;super(_0x1e611e),this[_0x3d0c93(0xd6)]=new Map(),this[_0x3d0c93(0x12c)]=new Map(),this[_0x3d0c93(0x115)]=new Map(),this[_0x3d0c93(0x146)]=new Map();const _0xe353f=this[_0x3d0c93(0xe7)][_0x3d0c93(0xe4)];_0xe353f[_0x3d0c93(0x108)](_0x3d0c93(0xe9),_0x2f23df),_0xe353f[_0x3d0c93(0x108)](_0x3d0c93(0xcf),!0x1),this[_0x3d0c93(0x107)]=_0xe353f[_0x3d0c93(0x136)](_0x3d0c93(0xcf));}[_0x26daca(0xd1)](_0x4d6538,_0x39c3e5){const _0x45834b=_0x26daca;0x0===this[_0x45834b(0x146)][_0x45834b(0xe5)]&&setTimeout(()=>{const _0x3c2d0e=_0x45834b;for(const [_0x2f5d00,_0x45cef1]of this[_0x3c2d0e(0x146)]){const _0xd687a9=this[_0x3c2d0e(0xd6)][_0x3c2d0e(0x11e)](_0x2f5d00);_0xd687a9||_0x45cef1?_0xd687a9&&_0x45cef1&&this[_0x3c2d0e(0xdd)](_0x2f5d00):this[_0x3c2d0e(0x144)](_0x2f5d00);}this[_0x3c2d0e(0x146)][_0x3c2d0e(0x110)](),this[_0x3c2d0e(0xe7)][_0x3c2d0e(0xfd)][_0x3c2d0e(0x136)](_0x3c2d0e(0xeb))[_0x3c2d0e(0x13b)](),this[_0x3c2d0e(0xd9)]();},0xa),this[_0x45834b(0x146)][_0x45834b(0x104)](_0x4d6538,_0x39c3e5);}[_0x26daca(0x123)](){const _0x2f9791=_0x26daca,_0xd2646f=this[_0x2f9791(0xe7)],_0x478eae=_0xd2646f[_0x2f9791(0xfd)][_0x2f9791(0x136)](_0x2f9791(0x126)),_0x16afc4=_0xd2646f[_0x2f9791(0xfd)][_0x2f9791(0x136)](_0x2f9791(0x157)),_0xa2628e=_0xd2646f[_0x2f9791(0xfd)][_0x2f9791(0x136)](_0x2f9791(0xeb)),_0x5d70c7=_0xd2646f[_0x2f9791(0xfd)][_0x2f9791(0x136)](_0x2f9791(0x156));this[_0x2f9791(0xd8)](),_0xa2628e[_0x2f9791(0x142)](()=>{const _0x1d19d2=_0x2f9791,_0x2c439e=[];for(const [_0x3f4a73,_0x4e8c63]of Array[_0x1d19d2(0x118)](this[_0x1d19d2(0xd6)])){const _0x577096=_0x3f4a73[_0x1d19d2(0xfe)](),_0x3326bf=[];for(const _0x383c21 of _0x577096){if(!_0x383c21[_0x1d19d2(0x11f)])continue;if(_0x383c21[_0x1d19d2(0x15a)]){_0x3326bf[_0x1d19d2(0x133)](..._0x383c21[_0x1d19d2(0x105)]());continue;}const _0x3031a3=_0x383c21[_0x1d19d2(0x135)]();if(_0x3326bf[_0x1d19d2(0xef)]>0x0){const _0x2f852a=_0x3326bf[0x0][_0x1d19d2(0xf6)](_0x3031a3);if(_0x2f852a){_0x3326bf[0x0]=_0x2f852a;continue;}}_0x3326bf[_0x1d19d2(0x133)](_0x3031a3);}_0x2c439e[_0x1d19d2(0x133)]([_0x4e8c63[_0x1d19d2(0xda)],_0x3326bf]);}return _0x2c439e;}),this[_0x2f9791(0x158)](_0x478eae,_0x2f9791(0x138),(_0x234c30,_0x3afd95)=>{const _0x574bf5=_0x2f9791;this[_0x574bf5(0x158)](_0x3afd95,_0x574bf5(0x12a),(_0x3e1253,_0x220c84,_0x757025,_0x42166a)=>{const _0x4f28ea=_0x574bf5;_0x3afd95[_0x4f28ea(0x11f)]&&(null==_0x757025?(this[_0x4f28ea(0xf2)](_0x42166a[_0x4f28ea(0x134)]),this[_0x4f28ea(0xd1)](_0x3afd95,!0x1)):(this[_0x4f28ea(0xf2)](_0x757025[_0x4f28ea(0x134)]),null==_0x42166a&&this[_0x4f28ea(0xd1)](_0x3afd95,!0x0)));}),null!==_0x3afd95[_0x574bf5(0x124)]?this[_0x574bf5(0xf2)](_0x3afd95[_0x574bf5(0x134)]):this[_0x574bf5(0xd1)](_0x3afd95,!0x1);}),this[_0x2f9791(0x158)](_0x478eae,_0x2f9791(0xdc),(_0x18c2be,_0x344866,_0x197510)=>{const _0x24d6bf=_0x2f9791;this[_0x24d6bf(0xe8)](_0x344866,_0x24d6bf(0x12a)),this[_0x24d6bf(0x146)][_0x24d6bf(0xe0)](_0x344866),this[_0x24d6bf(0xd6)][_0x24d6bf(0x11e)](_0x344866)&&this[_0x24d6bf(0xdd)](_0x344866),_0x197510&&this[_0x24d6bf(0xf2)](_0x197510[_0x24d6bf(0x134)]);}),this[_0x2f9791(0x158)](_0x478eae,_0x2f9791(0x100),(_0x31d4fa,_0x165917)=>{const _0x4779e9=_0x2f9791;this[_0x4779e9(0xf2)](_0x165917);}),this[_0x2f9791(0x158)](_0x16afc4,_0x2f9791(0x125),()=>{const _0x4d3b65=_0x2f9791;this[_0x4d3b65(0xd9)]();}),this[_0x2f9791(0x158)](_0x5d70c7,_0x2f9791(0xfb),(_0x1ee5a9,{threadId:_0x2f7760,isFromAdapter:_0x985e4e})=>{const _0x1c2e5d=_0x2f9791;if(_0x985e4e||!_0x478eae[_0x1c2e5d(0x141)](_0x2f7760))return;const _0x17603c=_0x478eae[_0x1c2e5d(0xf3)](_0x2f7760);this[_0x1c2e5d(0xd6)][_0x1c2e5d(0x136)](_0x17603c)[_0x1c2e5d(0xda)][_0x1c2e5d(0x10d)]();},{'priority':_0x2f9791(0x150)});}[_0x26daca(0xd9)](){const _0x275426=_0x26daca,_0x850030=this[_0x275426(0xe7)][_0x275426(0xfd)][_0x275426(0x136)](_0x275426(0x157)),_0x258161=this[_0x275426(0xe7)][_0x275426(0xfd)][_0x275426(0x136)](_0x275426(0x126)),_0x31c3f8=Array[_0x275426(0x118)](_0x850030[_0x275426(0xf5)],_0xd3b394=>_0xd3b394[_0x275426(0x152)])[_0x275426(0x128)](_0x261ca9=>this[_0x275426(0x12c)][_0x275426(0x11e)](_0x261ca9)),_0x350343=[];for(const _0x331e97 of _0x31c3f8){const _0x1e76cd=this[_0x275426(0x12c)][_0x275426(0x136)](_0x331e97)[_0x275426(0xd4)][_0x275426(0xfe)]();_0x350343[_0x275426(0x133)](..._0x1e76cd[_0x275426(0x11b)]((_0x1e9292,_0x1c7f49)=>[..._0x1e9292,..._0x1c7f49[_0x275426(0x149)]()],[]));}_0x258161[_0x275426(0x10b)]=_0x350343;}[_0x26daca(0xd8)](){const _0x3c8559=_0x26daca,_0x111274=this[_0x3c8559(0xe7)],_0x224cc5=_0x111274[_0x3c8559(0x102)],_0x5c253e=_0x5f354b(_0x224cc5,_0x3c8559(0x13f)),_0xc96410=new _0x52ac27([{'type':_0x3c8559(0x106),'model':new _0x59a42a({'withText':!0x0,'label':_0x5c253e,'commandName':_0x3c8559(0xfa)})},{'type':_0x3c8559(0x130)},{'type':_0x3c8559(0x116),'model':new _0x59a42a({'withText':!0x0,'label':_0x5f354b(_0x224cc5,_0x3c8559(0x112)),'commandName':_0x3c8559(0x13a)})},{'type':_0x3c8559(0x116),'model':new _0x59a42a({'withText':!0x0,'label':_0x5f354b(_0x224cc5,_0x3c8559(0x114)),'commandName':_0x3c8559(0x137)})},{'type':_0x3c8559(0x116),'model':new _0x59a42a({'withText':!0x0,'label':_0x5f354b(_0x224cc5,_0x3c8559(0x140)),'commandName':_0x3c8559(0xff)})},{'type':_0x3c8559(0x116),'model':new _0x59a42a({'withText':!0x0,'label':_0x5f354b(_0x224cc5,_0x3c8559(0xe2)),'commandName':_0x3c8559(0x127)})}]);for(const _0xb1c552 of _0xc96410)if(ae(_0xb1c552)){const _0x7cc579=_0x111274[_0x3c8559(0x12d)][_0x3c8559(0x136)](_0xb1c552[_0x3c8559(0xd4)][_0x3c8559(0xd0)]);_0xb1c552[_0x3c8559(0xd4)][_0x3c8559(0xe6)](_0x3c8559(0xd2),_0x3c8559(0x14e))['to'](_0x7cc579,_0x3c8559(0x14f),_0x3c8559(0x14e));}_0x111274['ui'][_0x3c8559(0x113)][_0x3c8559(0xf7)](_0x3c8559(0xfa),_0x449978=>this[_0x3c8559(0xea)](_0x449978,_0xc96410,_0x5c253e)),_0x111274['ui'][_0x3c8559(0x113)][_0x3c8559(0xf7)](_0x3c8559(0x109),_0x33a5be=>this[_0x3c8559(0x147)](_0x33a5be,_0xc96410,_0x5c253e));}[_0x26daca(0xea)](_0x126da8,_0x337d29,_0x8f7b65){const _0x852a59=_0x26daca,_0x5e15a2=_0x4c088e(_0x126da8,_0x19a178),_0x481ff0=this[_0x852a59(0xe7)][_0x852a59(0x12d)][_0x852a59(0x136)](_0x852a59(0xfa));_0x5e15a2[_0x852a59(0x11c)][_0x852a59(0x104)]({'tooltip':_0x8f7b65,'label':_0x8f7b65,'icon':_0x77c003}),_0x5e15a2[_0x852a59(0x11c)][_0x852a59(0xe6)](_0x852a59(0xd2))['to'](_0x481ff0,_0x852a59(0x14f)),_0x5e15a2[_0x852a59(0x11c)]['on'](_0x852a59(0x148),()=>{const _0x5f27cd=_0x852a59;_0x481ff0[_0x5f27cd(0x148)](),this[_0x5f27cd(0xe7)][_0x5f27cd(0x117)][_0x5f27cd(0xda)][_0x5f27cd(0x10d)]();}),_0x41937c(_0x5e15a2,_0x337d29);const _0x4671ea=[];for(const _0x14f41e of _0x337d29)ae(_0x14f41e)&&_0x4671ea[_0x852a59(0x133)](this[_0x852a59(0xe7)][_0x852a59(0x12d)][_0x852a59(0x136)](_0x14f41e[_0x852a59(0xd4)][_0x852a59(0xd0)]));const _0x1d47fd=_0x5e15a2[_0x852a59(0x11c)];return _0x1d47fd[_0x852a59(0x129)][_0x852a59(0x120)](_0x852a59(0x14e)),_0x1d47fd[_0x852a59(0x155)][_0x852a59(0x120)](_0x852a59(0x14e)),_0x1d47fd[_0x852a59(0x129)][_0x852a59(0xe6)](_0x852a59(0x14e))['to'](_0x481ff0,_0x852a59(0x14e)),_0x1d47fd[_0x852a59(0x155)][_0x852a59(0xe6)](_0x852a59(0x14e))[_0x852a59(0xd5)](_0x4671ea,_0x852a59(0x14e),(..._0x42ab06)=>_0x42ab06[_0x852a59(0x15b)](_0x42e3b7=>_0x42e3b7)),_0x5e15a2['on'](_0x852a59(0x148),_0x1f7ffa=>{const _0x5c743d=_0x852a59;this[_0x5c743d(0xe7)][_0x5c743d(0x148)](_0x1f7ffa[_0x5c743d(0x14c)][_0x5c743d(0xd0)]),this[_0x5c743d(0xe7)][_0x5c743d(0x117)][_0x5c743d(0xda)][_0x5c743d(0x10d)]();}),_0x5e15a2;}[_0x26daca(0x147)](_0x4ef105,_0xf75f63,_0x54151b){const _0x597fa8=_0x26daca,_0x310b9e=new _0x19dd19(_0x4ef105),_0x7a0d4a=this[_0x597fa8(0xe7)][_0x597fa8(0x12d)][_0x597fa8(0x136)](_0x597fa8(0xfa));_0x310b9e[_0x597fa8(0x11c)][_0x597fa8(0x104)]({'label':_0x54151b,'icon':_0x77c003});const _0x4c7aa4=new _0x7e3037(_0x4ef105);for(const _0x2c3b9d of _0xf75f63){if(_0x597fa8(0x130)==_0x2c3b9d[_0x597fa8(0x154)]){_0x4c7aa4[_0x597fa8(0x121)][_0x597fa8(0xf7)](new _0x405aee(_0x4ef105));continue;}const _0x3655a5=new _0x8af527(_0x4ef105,_0x310b9e),_0x3ce670=new _0x599332(_0x4ef105),_0x23f997=_0x2c3b9d[_0x597fa8(0xd4)];_0x3ce670[_0x597fa8(0xe6)](...Object[_0x597fa8(0xdb)](_0x23f997))['to'](_0x23f997),_0x3ce670[_0x597fa8(0xd3)](_0x597fa8(0x148))['to'](_0x310b9e),_0x3ce670['on'](_0x597fa8(0x148),()=>{const _0x3f35e8=_0x597fa8;this[_0x3f35e8(0xe7)][_0x3f35e8(0x148)](_0x23f997[_0x3f35e8(0xd0)]),this[_0x3f35e8(0xe7)][_0x3f35e8(0x117)][_0x3f35e8(0xda)][_0x3f35e8(0x10d)]();}),_0x3655a5[_0x597fa8(0x139)][_0x597fa8(0xf7)](_0x3ce670),_0x4c7aa4[_0x597fa8(0x121)][_0x597fa8(0xf7)](_0x3655a5);}return _0x310b9e[_0x597fa8(0xe6)](_0x597fa8(0x14e))['to'](_0x7a0d4a,_0x597fa8(0x14e)),_0x310b9e[_0x597fa8(0x12f)][_0x597fa8(0x139)][_0x597fa8(0xf7)](_0x4c7aa4),_0x310b9e;}[_0x26daca(0x144)](_0x136e8d){const _0x105f94=_0x26daca,_0x138ce8=this[_0x105f94(0xe7)],_0x1f256c=_0x138ce8[_0x105f94(0xe4)],_0xd490f2=_0x138ce8[_0x105f94(0xfd)][_0x105f94(0x136)](_0x105f94(0x157)),_0xd6ad21=_0x138ce8[_0x105f94(0xfd)][_0x105f94(0x136)](_0x105f94(0x156)),_0x3695f6=_0x138ce8[_0x105f94(0xfd)][_0x105f94(0x136)](_0x105f94(0xeb)),_0x5e61d9=_0x138ce8[_0x105f94(0xfd)][_0x105f94(0x136)](_0x44218a)['me'],_0x12fc81=_0x1f256c[_0x105f94(0x136)](_0x105f94(0xfa))[_0x105f94(0x153)],{CommentsListView:_0x3fee76,CommentThreadInputView:_0x58d32d}=_0x138ce8[_0x105f94(0xfd)][_0x105f94(0x136)](_0x105f94(0x11d));let _0x4dfcbc,_0x397faa;this[_0x105f94(0x115)][_0x105f94(0x11e)](_0x136e8d['id'])?(_0x397faa=this[_0x105f94(0x115)][_0x105f94(0x136)](_0x136e8d['id']),_0x4dfcbc=_0x397faa[_0x105f94(0xe3)]):(_0x4dfcbc=new _0x12fc81(_0x138ce8[_0x105f94(0x102)],_0x136e8d,_0x5e61d9,{'disableComments':this[_0x105f94(0x107)],'editorConfig':_0x1f256c[_0x105f94(0x136)](_0x105f94(0xfc)),'maxCommentsWhenCollapsed':_0x1f256c[_0x105f94(0x136)](_0x105f94(0x10c)),'maxThreadTotalWeight':_0x1f256c[_0x105f94(0x136)](_0x105f94(0x159)),'maxCommentCharsWhenCollapsed':_0x1f256c[_0x105f94(0x136)](_0x105f94(0x10a)),'formatDateTime':_0x52e453(_0x1f256c[_0x105f94(0x136)](_0x105f94(0x102))),'CommentView':_0x1f256c[_0x105f94(0x136)](_0x105f94(0x151))[_0x105f94(0xf9)],'CommentsListView':_0x3fee76,'CommentThreadInputView':_0x58d32d}),_0x4dfcbc[_0x105f94(0xe1)]['on'](_0x105f94(0x148),()=>{const _0x28a413=_0x105f94;_0x138ce8[_0x28a413(0x117)][_0x28a413(0xda)][_0x28a413(0x10d)]();}),_0x4dfcbc[_0x105f94(0xdf)]['on'](_0x105f94(0x148),()=>{const _0x9ef39=_0x105f94;_0x138ce8[_0x9ef39(0x117)][_0x9ef39(0xda)][_0x9ef39(0x10d)]();}),_0x397faa=_0xd490f2[_0x105f94(0x13c)](this[_0x105f94(0xe7)][_0x105f94(0x102)],_0x4dfcbc),_0x397faa[_0x105f94(0xe6)](_0x105f94(0x145))['to'](_0x4dfcbc,_0x105f94(0x145)),_0x397faa[_0x105f94(0xe6)](_0x105f94(0xef))['to'](_0x4dfcbc),_0x397faa[_0x105f94(0xe6)](_0x105f94(0x154))['to'](_0x4dfcbc,_0x105f94(0x154),_0x2b6596=>_0x105f94(0xd7)+_0x2b6596),this[_0x105f94(0x115)][_0x105f94(0x104)](_0x136e8d['id'],_0x397faa));const _0x119e65=_0xd6ad21[_0x105f94(0x12e)](_0x136e8d[_0x105f94(0x131)],_0x4dfcbc),_0x44ba7e=new _0x2a8152(_0x138ce8,_0x136e8d,_0x4dfcbc,_0x119e65),_0x2ac446=_0x136e8d[_0x105f94(0xfe)]()[_0x105f94(0x128)](_0x533bc9=>_0x533bc9[_0x105f94(0x11f)]);_0x4dfcbc[_0x105f94(0x132)]=_0x138ce8[_0x105f94(0xfd)][_0x105f94(0x136)](_0x105f94(0x126))[_0x105f94(0x14a)][_0x105f94(0xf1)](_0x2ac446),this[_0x105f94(0xd6)][_0x105f94(0x104)](_0x136e8d,_0x44ba7e),this[_0x105f94(0x12c)][_0x105f94(0x104)](_0x4dfcbc,_0x44ba7e);const _0x57fb0b=_0xd490f2[_0x105f94(0x14d)]({'view':_0x397faa,'target':()=>{const _0x5e486c=_0x105f94,_0x163f1d=[],_0x383004=_0x136e8d[_0x5e486c(0xfe)]()[_0x5e486c(0x128)](_0x148679=>_0x148679[_0x5e486c(0x11f)]);for(const _0x5a9618 of _0x383004)_0x163f1d[_0x5e486c(0x133)](..._0x5a9618[_0x5e486c(0xec)]());return _0x30f315(_0x138ce8[_0x5e486c(0x117)],_0x163f1d);},'type':()=>_0x105f94(0xd7)+_0x44ba7e[_0x105f94(0xda)][_0x105f94(0x154)]});_0xd6ad21[_0x105f94(0x143)](_0x4dfcbc,_0x57fb0b),_0xd490f2[_0x105f94(0xf7)](_0x57fb0b),_0x3695f6[_0x105f94(0x11a)](_0x57fb0b);}[_0x26daca(0xdd)](_0x428508){const _0x43d350=_0x26daca,_0x153cd5=this[_0x43d350(0xe7)][_0x43d350(0xfd)][_0x43d350(0x136)](_0x43d350(0x156)),_0x34e2a0=this[_0x43d350(0xe7)][_0x43d350(0xfd)][_0x43d350(0x136)](_0x43d350(0x157)),_0x52db6b=this[_0x43d350(0xd6)][_0x43d350(0x136)](_0x428508),_0x193c11=_0x52db6b[_0x43d350(0xda)],_0x581ba2=_0x34e2a0[_0x43d350(0x122)](_0x193c11);_0x153cd5[_0x43d350(0xee)](_0x193c11),_0x581ba2&&_0x34e2a0[_0x43d350(0xf4)](_0x581ba2),this[_0x43d350(0xd6)][_0x43d350(0xe0)](_0x428508),this[_0x43d350(0x12c)][_0x43d350(0xe0)](_0x193c11),_0x52db6b[_0x43d350(0xf0)]();}[_0x26daca(0xf2)](_0x416bf9){const _0x3d9ff2=_0x26daca;if(!_0x416bf9[_0x3d9ff2(0x11f)]||!this[_0x3d9ff2(0xd6)][_0x3d9ff2(0x11e)](_0x416bf9))return;const _0x3a5b75=this[_0x3d9ff2(0xe7)][_0x3d9ff2(0xfd)][_0x3d9ff2(0x136)](_0x3d9ff2(0x126)),_0x3a7e5b=this[_0x3d9ff2(0xd6)][_0x3d9ff2(0x136)](_0x416bf9),_0x41512e=_0x416bf9[_0x3d9ff2(0xfe)]();_0x3a7e5b[_0x3d9ff2(0xda)][_0x3d9ff2(0x132)]=_0x3a5b75[_0x3d9ff2(0x14a)][_0x3d9ff2(0xf1)](_0x41512e);}[_0x26daca(0xf0)](){const _0x1c698f=_0x26daca;for(const _0x50e212 of this[_0x1c698f(0xd6)][_0x1c698f(0xdb)]())this[_0x1c698f(0xdd)](_0x50e212);for(const _0x5e2418 of this[_0x1c698f(0x115)][_0x1c698f(0xed)]())_0x5e2418[_0x1c698f(0xe3)][_0x1c698f(0xf0)]();super[_0x1c698f(0xf0)]();}}function ae(_0x22e079){const _0x40e5e0=_0x26daca;return _0x40e5e0(0xd4)in _0x22e079;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x21db(){const _0x3e9d44=['35155jofhbd','remove','_pendingAction','canEditAt','stopListening','2960628eyfYUT','execute','getRanges','2203724yhFadL','plugins','986577Sxhwje','1339184HctZzj','1417969OmkxJW','36PMIeNR','isDirty','model','canAccept','acceptSuggestion','locale','8eBzMRV','4058710luhezU','bind','canDiscard','destroy','PendingActions','view','isEnabled','listenTo','_discardCommand','discardSuggestion','_removePendingAction','PENDING_ACTION_SUGGESTION','commands','get','add','change:isDirty','_acceptCommand','_editor','114evhWwo','commentThreadController','unbind','_setPendingAction'];_0x21db=function(){return _0x3e9d44;};return _0x21db();}const _0x29bbc0=_0x3782;(function(_0x3099c5,_0x118c0a){const _0x5815ad=_0x3782,_0x2579ee=_0x3099c5();while(!![]){try{const _0x4bd8c5=parseInt(_0x5815ad(0x129))/0x1+-parseInt(_0x5815ad(0x12a))/0x2+-parseInt(_0x5815ad(0x124))/0x3+-parseInt(_0x5815ad(0x127))/0x4+parseInt(_0x5815ad(0x11f))/0x5*(parseInt(_0x5815ad(0x145))/0x6)+-parseInt(_0x5815ad(0x12b))/0x7*(-parseInt(_0x5815ad(0x132))/0x8)+-parseInt(_0x5815ad(0x12c))/0x9*(-parseInt(_0x5815ad(0x133))/0xa);if(_0x4bd8c5===_0x118c0a)break;else _0x2579ee['push'](_0x2579ee['shift']());}catch(_0x2ddc1b){_0x2579ee['push'](_0x2579ee['shift']());}}}(_0x21db,0xb4602));import{ObservableMixin as _0xf24617}from'ckeditor5/src/utils.js';function _0x3782(_0x28ec2f,_0x1a6a6b){const _0x21dbe5=_0x21db();return _0x3782=function(_0x378271,_0x270f24){_0x378271=_0x378271-0x11e;let _0x19b9c3=_0x21dbe5[_0x378271];return _0x19b9c3;},_0x3782(_0x28ec2f,_0x1a6a6b);}import{getTranslation as _0x2f26a8}from'../utils/common-translations.js';export default class oe extends _0xf24617(){constructor(_0x29744f,_0x441363,_0x17646b,_0x15bda8){const _0x25e0ef=_0x3782;super(),this[_0x25e0ef(0x12e)]=_0x441363,this[_0x25e0ef(0x138)]=_0x17646b,this[_0x25e0ef(0x146)]=_0x15bda8,this[_0x25e0ef(0x144)]=_0x29744f,this[_0x25e0ef(0x143)]=_0x29744f[_0x25e0ef(0x13f)][_0x25e0ef(0x140)](_0x25e0ef(0x130)),this[_0x25e0ef(0x13b)]=_0x29744f[_0x25e0ef(0x13f)][_0x25e0ef(0x140)](_0x25e0ef(0x13c)),this[_0x25e0ef(0x138)][_0x25e0ef(0x134)](_0x25e0ef(0x139))['to'](this[_0x25e0ef(0x143)],this[_0x25e0ef(0x13b)],(_0x56ac0e,_0x35d79e)=>_0x56ac0e||_0x35d79e),this[_0x25e0ef(0x138)][_0x25e0ef(0x134)](_0x25e0ef(0x12f))['to'](this[_0x25e0ef(0x143)],_0x25e0ef(0x139),_0x1d97b9=>_0x1d97b9&&this[_0x25e0ef(0x144)][_0x25e0ef(0x12e)][_0x25e0ef(0x122)](_0x441363[_0x25e0ef(0x126)]())),this[_0x25e0ef(0x138)][_0x25e0ef(0x134)](_0x25e0ef(0x135))['to'](this[_0x25e0ef(0x13b)],_0x25e0ef(0x139),_0x42c54b=>_0x42c54b&&this[_0x25e0ef(0x144)][_0x25e0ef(0x12e)][_0x25e0ef(0x122)](_0x441363[_0x25e0ef(0x126)]())),this[_0x25e0ef(0x121)]=null,_0x17646b[_0x25e0ef(0x12d)]&&this[_0x25e0ef(0x11e)](),this[_0x25e0ef(0x13a)](_0x17646b,_0x25e0ef(0x130),()=>this[_0x25e0ef(0x130)]()),this[_0x25e0ef(0x13a)](_0x17646b,_0x25e0ef(0x13c),()=>this[_0x25e0ef(0x13c)]()),this[_0x25e0ef(0x13a)](_0x17646b,_0x25e0ef(0x142),()=>{const _0x16b1f1=_0x25e0ef;_0x17646b[_0x16b1f1(0x12d)]?this[_0x16b1f1(0x11e)]():this[_0x16b1f1(0x13d)]();});}[_0x29bbc0(0x130)](){const _0x1cf42c=_0x29bbc0;this[_0x1cf42c(0x143)][_0x1cf42c(0x125)](this[_0x1cf42c(0x12e)]['id']);}[_0x29bbc0(0x13c)](){const _0xdaa866=_0x29bbc0;this[_0xdaa866(0x13b)][_0xdaa866(0x125)](this[_0xdaa866(0x12e)]['id']);}[_0x29bbc0(0x136)](){const _0x169630=_0x29bbc0;this[_0x169630(0x138)][_0x169630(0x147)](_0x169630(0x139)),this[_0x169630(0x138)][_0x169630(0x147)](_0x169630(0x12f)),this[_0x169630(0x138)][_0x169630(0x147)](_0x169630(0x135)),this[_0x169630(0x123)](),this[_0x169630(0x146)][_0x169630(0x136)](),this[_0x169630(0x121)]&&this[_0x169630(0x13d)]();}[_0x29bbc0(0x11e)](){const _0xe0978d=_0x29bbc0,_0xfd8e27=_0x2f26a8(this[_0xe0978d(0x144)][_0xe0978d(0x131)],_0xe0978d(0x13e));this[_0xe0978d(0x121)]=this[_0xe0978d(0x144)][_0xe0978d(0x128)][_0xe0978d(0x140)](_0xe0978d(0x137))[_0xe0978d(0x141)](_0xfd8e27);}[_0x29bbc0(0x13d)](){const _0x3ee443=_0x29bbc0;null!==this[_0x3ee443(0x121)]&&this[_0x3ee443(0x144)][_0x3ee443(0x128)][_0x3ee443(0x140)](_0x3ee443(0x137))[_0x3ee443(0x120)](this[_0x3ee443(0x121)]),this[_0x3ee443(0x121)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x447e(_0x445735,_0x4fc191){const _0x5b9fcc=_0x5b9f();return _0x447e=function(_0x447eb3,_0x182040){_0x447eb3=_0x447eb3-0x9f;let _0x39b325=_0x5b9fcc[_0x447eb3];return _0x39b325;},_0x447e(_0x445735,_0x4fc191);}const _0x461932=_0x447e;function _0x5b9f(){const _0x41a23d=['addComment','editorConfig','delegate','commentThread','isEnabled','commentThreadInputView','descriptionParts','3792166IFUzxn','135xBMxDK','authoredAt','2166000raeEUy','64216BMxeQv','disableComments','_createCommentThreadInputView','locale','showInput','_model','commentsListView','focus','cancel','submit','canAccept','isActive','removeComment','2843511lUXOkF','1344392rcBkJD','_localUser','_createCommentViews','isReadOnly','editor','bind','value','assign','fire','_config','set','length','165948MtXZUE','4385640adMGyv','element','commentInputView','setData','disabledSubmit','destroy','18HfWjES','updateComment','canDiscard','hasDirtyComment','CommentView','1KRpNpO','isDirty'];_0x5b9f=function(){return _0x41a23d;};return _0x5b9f();}(function(_0x11e259,_0x23f6fd){const _0x982c15=_0x447e,_0x1ee35f=_0x11e259();while(!![]){try{const _0x2c71a5=-parseInt(_0x982c15(0xc5))/0x1*(parseInt(_0x982c15(0xad))/0x2)+parseInt(_0x982c15(0xac))/0x3+-parseInt(_0x982c15(0xb9))/0x4*(-parseInt(_0x982c15(0xcf))/0x5)+-parseInt(_0x982c15(0xd1))/0x6+-parseInt(_0x982c15(0xce))/0x7+parseInt(_0x982c15(0x9f))/0x8*(parseInt(_0x982c15(0xc0))/0x9)+parseInt(_0x982c15(0xba))/0xa;if(_0x2c71a5===_0x23f6fd)break;else _0x1ee35f['push'](_0x1ee35f['shift']());}catch(_0x1827ad){_0x1ee35f['push'](_0x1ee35f['shift']());}}}(_0x5b9f,0xe75d6));import{View as _0x39ded5}from'ckeditor5/src/ui.js';export default class es extends _0x39ded5{constructor(_0x5b2b18,_0x112d42,_0x4a546b,_0x56ab1c){const _0x40a260=_0x447e;super(_0x5b2b18),this[_0x40a260(0xa5)]=null,this[_0x40a260(0xcc)]=null,this[_0x40a260(0xb7)](_0x40a260(0xaa),!0x1),this[_0x40a260(0xb7)](_0x40a260(0xd0),_0x112d42[_0x40a260(0xd0)]),this[_0x40a260(0xb2)](_0x40a260(0xd0))['to'](_0x112d42),this[_0x40a260(0xb7)](_0x40a260(0xcd),[]),this[_0x40a260(0xb7)](_0x40a260(0xc6),!0x1),this[_0x40a260(0xb7)](_0x40a260(0xcb),!0x1),this[_0x40a260(0xb7)](_0x40a260(0xa9),!0x1),this[_0x40a260(0xb7)](_0x40a260(0xc2),!0x1),this[_0x40a260(0xa4)]=_0x112d42,this[_0x40a260(0xae)]=_0x4a546b,this[_0x40a260(0xb6)]=_0x56ab1c,_0x56ab1c[_0x40a260(0xa0)]?this[_0x40a260(0xb7)](_0x40a260(0xb8),0x1):this[_0x40a260(0xaf)]();}[_0x461932(0xa6)](){const _0x50796d=_0x461932;this[_0x50796d(0xbb)][_0x50796d(0xa6)]();}[_0x461932(0xbf)](){const _0x466cdc=_0x461932;this[_0x466cdc(0xa5)]&&this[_0x466cdc(0xa5)][_0x466cdc(0xbf)](),this[_0x466cdc(0xcc)]&&this[_0x466cdc(0xcc)][_0x466cdc(0xbf)](),super[_0x466cdc(0xbf)]();}[_0x461932(0xaf)](){const _0x5a377b=_0x461932,{CommentsListView:_0x23c281}=this[_0x5a377b(0xb6)];this[_0x5a377b(0xa5)]=new _0x23c281(this[_0x5a377b(0xa2)],this[_0x5a377b(0xa4)][_0x5a377b(0xca)],Object[_0x5a377b(0xb4)]({'CommentView':this[_0x5a377b(0xb6)][_0x5a377b(0xc4)]},this[_0x5a377b(0xb6)])),this[_0x5a377b(0xa5)][_0x5a377b(0xc9)](_0x5a377b(0xab))['to'](this),this[_0x5a377b(0xa5)][_0x5a377b(0xc9)](_0x5a377b(0xc1))['to'](this),this[_0x5a377b(0xa5)][_0x5a377b(0xb2)](_0x5a377b(0xaa))['to'](this),this[_0x5a377b(0xb7)](_0x5a377b(0xb8),this[_0x5a377b(0xa5)][_0x5a377b(0xb8)]+0x1),this[_0x5a377b(0xb2)](_0x5a377b(0xb8))['to'](this[_0x5a377b(0xa5)],_0x5a377b(0xb8),_0x9a1f5e=>_0x9a1f5e+0x1),this[_0x5a377b(0xcc)]=this[_0x5a377b(0xa1)](),this['on'](_0x5a377b(0xab),()=>this[_0x5a377b(0xa6)]()),this[_0x5a377b(0xb2)](_0x5a377b(0xc6))['to'](this[_0x5a377b(0xa5)],_0x5a377b(0xc3),this[_0x5a377b(0xcc)][_0x5a377b(0xbc)],_0x5a377b(0xb3),(_0x14c728,_0x324d79)=>_0x14c728||!!_0x324d79);}[_0x461932(0xa1)](){const _0x215b74=_0x461932,{CommentThreadInputView:_0x16b7ef}=this[_0x215b74(0xb6)],_0x554ffd=new _0x16b7ef(this[_0x215b74(0xa2)],this[_0x215b74(0xae)],this[_0x215b74(0xb6)][_0x215b74(0xc8)]),_0x2d4218=_0x554ffd[_0x215b74(0xbc)];return _0x554ffd[_0x215b74(0xb2)](_0x215b74(0xa3))['to'](this,_0x215b74(0xaa),this[_0x215b74(0xa4)][_0x215b74(0xca)],_0x215b74(0xb0),_0x2d4218,_0x215b74(0xb3),(_0x3f6223,_0x245b85,_0x2bfb2d)=>!!_0x2bfb2d||_0x3f6223&&!_0x245b85),_0x2d4218['on'](_0x215b74(0xa8),(_0x253d9a,_0x29b557)=>{const _0x3faf11=_0x215b74;this[_0x3faf11(0xb5)](_0x3faf11(0xc7),_0x29b557),_0x2d4218[_0x3faf11(0xb1)][_0x3faf11(0xbd)]('');}),_0x2d4218['on'](_0x215b74(0xa7),()=>this[_0x215b74(0xa6)]()),_0x2d4218[_0x215b74(0xb2)](_0x215b74(0xbe))['to'](this[_0x215b74(0xa4)][_0x215b74(0xca)],_0x215b74(0xb0)),_0x554ffd;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4fa267=_0x4632;(function(_0x537fba,_0x4161f8){const _0x4e9bbc=_0x4632,_0x49db54=_0x537fba();while(!![]){try{const _0x53d5fd=parseInt(_0x4e9bbc(0x11b))/0x1+-parseInt(_0x4e9bbc(0x154))/0x2*(-parseInt(_0x4e9bbc(0x164))/0x3)+-parseInt(_0x4e9bbc(0x133))/0x4+parseInt(_0x4e9bbc(0x11a))/0x5+parseInt(_0x4e9bbc(0x14f))/0x6+parseInt(_0x4e9bbc(0x167))/0x7*(-parseInt(_0x4e9bbc(0x15e))/0x8)+-parseInt(_0x4e9bbc(0x149))/0x9*(parseInt(_0x4e9bbc(0x105))/0xa);if(_0x53d5fd===_0x4161f8)break;else _0x49db54['push'](_0x49db54['shift']());}catch(_0x251e56){_0x49db54['push'](_0x49db54['shift']());}}}(_0x5ee4,0x90c1f));import{getTranslation as _0x337352}from'../../utils/common-translations.js';import{default as _0x38a8eb}from'./basesuggestionthreadview.js';import{ButtonView as _0x4e6bf8}from'ckeditor5/src/ui.js';import{icons as _0x46fb8c}from'ckeditor5/src/core.js';import{trimHtml as _0x21fbc4,UserView as _0x4a5b7d}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5ee4(){const _0x1fb8f2=['ck-annotation__user','description','isExternal','EXTERNAL_IMPORT_WORD_AVATAR','canDiscard','ck-suggestion','userView','_createButton','ck-annotation','Accept\x20suggestion','isActive','cancel','getUserViewNotificationText','getExternalSuggestionNote','createElement','attributes','1523160CXNJbQ','extendTemplate','discardButton','ck-annotation__actions','editorDestroyed','</span>','_descriptionElement','delegate','discardSuggestion','color','.ck-annotation__content-wrapper','authoredAt','ck-suggestion--accept','<p>','querySelector','disableComments','ck-annotation__info-time','ck-suggestion-wrapper','execute','ck-comment__external','commentThreadInputView','editorReady','9EhpPlD','span','ck-annotation__info','</p>','ck-suggestion__user','split','6080118UGqKVo','ck-suggestion__info-name','setTemplate','_model','EXTERNAL_SUGGESTION','2mLebjH','@external','importWord','time','locale','title','ck-annotation__content-wrapper','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','ck-suggestion-','join','17288DlbpYr','fire','ck-comment__info-time','map','isEnabled','content','2364738YmoWLl','type','set','2989ciYcDZ','formatDateTime','author','ck-suggestion__info','innerText','ck-suggestion--discard','div','\x22></span>','bindTemplate','ck-suggestion__main','getTemplate','commentThread','render','18027060ekmYcn','EXTERNAL_IMPORT_WORD_SUGGESTION','push','creator','descriptionParts','element','acceptButton','change:description','ck-annotation__info-name','ck-annotation__main','source','name','canAccept','acceptSuggestion','value','commentsListView','check','ck-suggestion-wrapper--active','bind','<span\x20class=\x22ck-suggestion-type\x22>','innerHTML','4873700hvNVaQ','922831tUKMqN','children','ck-suggestion__actions','_config','ck-suggestion--disabled-comments','Discard\x20suggestion','\x22\x20title=\x22','EXTERNAL_AVATAR'];_0x5ee4=function(){return _0x1fb8f2;};return _0x5ee4();}export default class ne extends _0x38a8eb{constructor(_0x32a5bf,_0x1c0362,_0x45441a,_0x26f585){const _0x5d04bd=_0x4632;super(_0x32a5bf,_0x1c0362,_0x45441a,_0x26f585),this[_0x5d04bd(0x166)](_0x5d04bd(0x165),''),this[_0x5d04bd(0x117)](_0x5d04bd(0x165))['to'](this,_0x5d04bd(0x109),_0xfd804d=>_0xfd804d&&_0xfd804d[0x0]?_0xfd804d[0x0][_0x5d04bd(0x165)]:''),this[_0x5d04bd(0x117)](_0x5d04bd(0x124))['to'](this,_0x5d04bd(0x109),this,_0x5d04bd(0x12d),(_0x432716,_0x35435e)=>{const _0x1a116d=_0x5d04bd;let _0x4e011b='';for(const _0x2aea4f of _0x432716)_0x4e011b+=_0x1a116d(0x140)+ds(_0x2aea4f[_0x1a116d(0x163)],_0x2aea4f[_0x1a116d(0x13c)])+_0x1a116d(0x14c);return _0x35435e?_0x4e011b:_0x21fbc4(_0x4e011b,{'limit':0x8c});}),this[_0x5d04bd(0x139)]=null,this[_0x5d04bd(0x10b)]=this[_0x5d04bd(0x12a)](_0x337352(_0x32a5bf,_0x5d04bd(0x12c)),_0x46fb8c[_0x5d04bd(0x115)],_0x5d04bd(0x13f),_0x5d04bd(0x112),'sw'),this[_0x5d04bd(0x10b)][_0x5d04bd(0x117)](_0x5d04bd(0x162))['to'](this,_0x5d04bd(0x111)),this[_0x5d04bd(0x135)]=this[_0x5d04bd(0x12a)](_0x337352(_0x32a5bf,_0x5d04bd(0x120)),_0x46fb8c[_0x5d04bd(0x12e)],_0x5d04bd(0xfd),_0x5d04bd(0x13b),'sw'),this[_0x5d04bd(0x135)][_0x5d04bd(0x117)](_0x5d04bd(0x162))['to'](this,_0x5d04bd(0x127)),this[_0x5d04bd(0x129)]=new _0x4a5b7d(_0x32a5bf,this[_0x5d04bd(0x152)][_0x5d04bd(0x169)],this[_0x5d04bd(0x12f)]()),this[_0x5d04bd(0x129)][_0x5d04bd(0x134)]({'attributes':{'class':[_0x5d04bd(0x14d),_0x5d04bd(0x123)]}}),this[_0x5d04bd(0x151)](this[_0x5d04bd(0x102)]());}[_0x4fa267(0x102)](){const _0x1c6634=_0x4fa267,_0x268335=this[_0x1c6634(0x100)],_0x42c9ae=[{'tag':_0x1c6634(0xfe),'attributes':{'class':[_0x1c6634(0xfb),_0x1c6634(0x14b)]},'children':[{'tag':_0x1c6634(0x14a),'children':[{'text':this[_0x1c6634(0x129)][_0x1c6634(0x110)]}],'attributes':{'class':[_0x1c6634(0x150),_0x1c6634(0x10d)]}},{'tag':_0x1c6634(0x157),'attributes':{'datetime':_0x268335['to'](_0x1c6634(0x13e)),'class':[_0x1c6634(0x160),_0x1c6634(0x143)]},'children':[{'text':_0x268335['to'](_0x1c6634(0x13e),_0x9ac832=>this[_0x1c6634(0x11e)][_0x1c6634(0x168)](_0x9ac832))}]}]},{'tag':_0x1c6634(0xfe),'attributes':{'class':[_0x1c6634(0x11d),_0x1c6634(0x136)]},'children':[this[_0x1c6634(0x10b)],this[_0x1c6634(0x135)]]},{'tag':_0x1c6634(0xfe),'attributes':{'class':[_0x1c6634(0x15a)]}}];this[_0x1c6634(0x152)][_0x1c6634(0x125)]&&_0x42c9ae[_0x1c6634(0x107)]({'tag':_0x1c6634(0xfe),'attributes':{'class':[_0x1c6634(0x146)]},'children':[{'text':this[_0x1c6634(0x130)]()}]});const _0x5e5562={'tag':_0x1c6634(0xfe),'attributes':{'class':[_0x1c6634(0x144),_0x268335['if'](_0x1c6634(0x12d),_0x1c6634(0x116)),_0x268335['to'](_0x1c6634(0x165),_0x170518=>_0x1c6634(0x15c)+_0x170518),this[_0x1c6634(0x11e)][_0x1c6634(0x142)]&&_0x1c6634(0x11f)],'data-suggestion-id':this[_0x1c6634(0x152)]['id'],'data-thread-id':this[_0x1c6634(0x152)][_0x1c6634(0x103)]['id'],'data-author-id':this[_0x1c6634(0x152)][_0x1c6634(0x169)]['id'],'tabindex':-0x1},'children':[{'tag':_0x1c6634(0xfe),'attributes':{'class':[_0x1c6634(0x128),_0x1c6634(0x12b)]},'children':[this[_0x1c6634(0x129)],{'tag':_0x1c6634(0xfe),'attributes':{'class':[_0x1c6634(0x101),_0x1c6634(0x10e)]},'children':_0x42c9ae}]}]};return this[_0x1c6634(0x114)]&&this[_0x1c6634(0x147)]&&(_0x5e5562[_0x1c6634(0x11c)][_0x1c6634(0x107)](this[_0x1c6634(0x114)],this[_0x1c6634(0x147)]),this[_0x1c6634(0x114)][_0x1c6634(0x13a)](_0x1c6634(0x148))['to'](this),this[_0x1c6634(0x114)][_0x1c6634(0x13a)](_0x1c6634(0x137))['to'](this),this[_0x1c6634(0x147)][_0x1c6634(0x13a)](_0x1c6634(0x148))['to'](this),this[_0x1c6634(0x147)][_0x1c6634(0x13a)](_0x1c6634(0x137))['to'](this)),_0x5e5562;}[_0x4fa267(0x104)](){const _0xf9393b=_0x4fa267;super[_0xf9393b(0x104)](),this[_0xf9393b(0x139)]=this[_0xf9393b(0x10a)][_0xf9393b(0x141)](_0xf9393b(0x13d)),this[_0xf9393b(0x139)][_0xf9393b(0x119)]=this[_0xf9393b(0x124)],this['on'](_0xf9393b(0x10c),(_0x43140a,_0x5ae914,_0x42075a)=>{const _0x3f9df1=_0xf9393b;this[_0x3f9df1(0x139)][_0x3f9df1(0x119)]=_0x42075a;});}[_0x4fa267(0x12a)](_0x345940,_0x17bfe1,_0x31b6cd,_0x12b8f8,_0x483244){const _0x1823b9=_0x4fa267,_0x2e8f10=new _0x4e6bf8(this[_0x1823b9(0x158)]);return _0x2e8f10[_0x1823b9(0x166)]({'label':_0x345940,'icon':_0x17bfe1,'tooltip':!0x0,'tooltipPosition':_0x483244}),_0x2e8f10[_0x1823b9(0x134)]({'attributes':{'class':_0x31b6cd}}),_0x2e8f10['on'](_0x1823b9(0x145),()=>{const _0x5822f8=_0x1823b9;this[_0x5822f8(0x15f)](_0x12b8f8,this[_0x5822f8(0x152)]['id']);}),_0x2e8f10;}[_0x4fa267(0x130)](){const _0x226cea=_0x4fa267;return _0x226cea(0x156)===this[_0x226cea(0x152)][_0x226cea(0x132)][_0x226cea(0x155)][_0x226cea(0x10f)]?_0x337352(this[_0x226cea(0x158)],_0x226cea(0x106)):_0x337352(this[_0x226cea(0x158)],_0x226cea(0x153));}[_0x4fa267(0x12f)](){const _0x3bfd65=_0x4fa267;return this[_0x3bfd65(0x152)][_0x3bfd65(0x125)]?_0x3bfd65(0x156)===this[_0x3bfd65(0x152)][_0x3bfd65(0x132)][_0x3bfd65(0x155)][_0x3bfd65(0x10f)]?_0x337352(this[_0x3bfd65(0x158)],_0x3bfd65(0x126),this[_0x3bfd65(0x152)][_0x3bfd65(0x108)][_0x3bfd65(0x110)]):_0x337352(this[_0x3bfd65(0x158)],_0x3bfd65(0x122),this[_0x3bfd65(0x152)][_0x3bfd65(0x108)][_0x3bfd65(0x110)]):null;}}function _0x4632(_0x4003a7,_0x50cbc2){const _0x5ee464=_0x5ee4();return _0x4632=function(_0x463206,_0xcfd25b){_0x463206=_0x463206-0xfb;let _0x277d08=_0x5ee464[_0x463206];return _0x277d08;},_0x4632(_0x4003a7,_0x50cbc2);}function ds(_0x4a52da,_0x4d57cb){const _0x556d89=_0x4fa267;let _0x56d5a7='';return _0x56d5a7+=_0x4a52da[_0x556d89(0x14e)]('*')[_0x556d89(0x161)]((_0x2957c1,_0x19fbf5)=>_0x19fbf5%0x2!=0x0?_0x556d89(0x118)+us(_0x2957c1)+_0x556d89(0x138):us(_0x2957c1))[_0x556d89(0x15d)](''),_0x4d57cb&&(_0x56d5a7+=_0x556d89(0x15b)+_0x4d57cb[_0x556d89(0x113)]+_0x556d89(0x121)+_0x4d57cb[_0x556d89(0x159)]+_0x556d89(0xff)),_0x56d5a7;}function us(_0x2b5c14){const _0x6d12cb=_0x4fa267,_0x2b9e4a=document[_0x6d12cb(0x131)](_0x6d12cb(0x14a));return _0x2b9e4a[_0x6d12cb(0xfc)]=_0x2b5c14,_0x2b9e4a[_0x6d12cb(0x119)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x3ba779,_0x21b629,_0xfba663){const t=_0x3ba779['t'];switch(_0x21b629){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',_0xfba663);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0xfba663);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0xfba663);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0xfba663);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0xfba663);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',_0xfba663);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0xfba663);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',_0xfba663);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0xfba663);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0xfba663);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0xfba663);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0xfba663);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0xfba663);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0xfba663);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0xfba663);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0xfba663);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0xfba663);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0xfba663);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0xfba663);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0xfba663);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0xfba663);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0xfba663);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0xfba663);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'},_0xfba663);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0xfba663);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0xfba663);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0xfba663);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0xfba663);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0xfba663);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'},_0xfba663);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0xfba663);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0xfba663);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0xfba663);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xfba663);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'},_0xfba663);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0xfba663);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'},_0xfba663);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'},_0xfba663);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0xfba663);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'},_0xfba663);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0xfba663);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'},_0xfba663);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0xfba663);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0xfba663);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0xfba663);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'},_0xfba663);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x21b629;}}
|
|
23
|
+
export function getTranslation(_0x799fd2,_0x8c4a97,_0x252bef){const t=_0x799fd2['t'];switch(_0x8c4a97){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',_0x252bef);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x252bef);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x252bef);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x252bef);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x252bef);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',_0x252bef);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x252bef);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',_0x252bef);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x252bef);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x252bef);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x252bef);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x252bef);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x252bef);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x252bef);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x252bef);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x252bef);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x252bef);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x252bef);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x252bef);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x252bef);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x252bef);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x252bef);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x252bef);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'},_0x252bef);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x252bef);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x252bef);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x252bef);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x252bef);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x252bef);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'},_0x252bef);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x252bef);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x252bef);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x252bef);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x252bef);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'},_0x252bef);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x252bef);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'},_0x252bef);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'},_0x252bef);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x252bef);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'},_0x252bef);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x252bef);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'},_0x252bef);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x252bef);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x252bef);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x252bef);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'},_0x252bef);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x8c4a97;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x51eceb,_0x58dccf){const _0x21922f=_0x1543,_0x3c7137=_0x51eceb();while(!![]){try{const _0xde3a2e=-parseInt(_0x21922f(0xda))/0x1*(parseInt(_0x21922f(0x101))/0x2)+parseInt(_0x21922f(0xed))/0x3+parseInt(_0x21922f(0xff))/0x4*(-parseInt(_0x21922f(0xeb))/0x5)+parseInt(_0x21922f(0xf3))/0x6+parseInt(_0x21922f(0xe4))/0x7*(-parseInt(_0x21922f(0x105))/0x8)+parseInt(_0x21922f(0x103))/0x9*(parseInt(_0x21922f(0xf8))/0xa)+parseInt(_0x21922f(0xf7))/0xb*(parseInt(_0x21922f(0xdd))/0xc);if(_0xde3a2e===_0x58dccf)break;else _0x3c7137['push'](_0x3c7137['shift']());}catch(_0xa374b){_0x3c7137['push'](_0x3c7137['shift']());}}}(_0xdff8,0x99968));export function normalizeDescription(_0x57452b){const _0x522d53=_0x1543;return Array[_0x522d53(0xe8)](_0x57452b)||(_0x57452b=[_0x57452b]),_0x57452b[_0x522d53(0xe6)](_0x48d361=>{const _0x32d7d1=_0x522d53,_0x1a5bc9=_0x48d361[_0x32d7d1(0xdc)][_0x32d7d1(0x100)](/\*/g,''),_0x2c21cd=_0x48d361[_0x32d7d1(0xf1)]?_0x32d7d1(0xf4)+_0x48d361[_0x32d7d1(0xf1)][_0x32d7d1(0xf9)]+']':'';return'['+_0x48d361[_0x32d7d1(0xde)]+']\x20'+_0x1a5bc9+_0x2c21cd;})[_0x522d53(0xfb)](';\x20');}export function sortSuggestions(_0x193e05){const _0x34f114=_0x1543;return _0x193e05[_0x34f114(0xe1)]((_0x383e6e,_0x12d066)=>_0x34f114(0xf6)==_0x383e6e[_0x34f114(0xde)]&&_0x34f114(0xf6)!=_0x12d066[_0x34f114(0xde)]?-0x1:_0x34f114(0xf6)!=_0x383e6e[_0x34f114(0xde)]&&_0x34f114(0xf6)==_0x12d066[_0x34f114(0xde)]?0x1:0x0);}export function getSelectedSuggestions(_0x150eb3,_0x3f4b29){const _0x598970=_0x1543,_0x4986bf=Array[_0x598970(0xfe)](_0x150eb3[_0x598970(0xe5)]()),_0x720ec1=new Set();for(const _0x25e5f5 of _0x3f4b29)if(_0x25e5f5[_0x598970(0xec)]){for(const _0x21578a of _0x4986bf)for(const _0x13c977 of _0x25e5f5[_0x598970(0xe5)]())(_0x21578a[_0x598970(0xfc)](_0x13c977)||_0x150eb3[_0x598970(0xf2)]&&!_0x25e5f5[_0x598970(0xfa)]&&_0x25e5f5[_0x598970(0x102)]&&_0x13c977[_0x598970(0xe7)][_0x598970(0xe2)](_0x21578a[_0x598970(0xf5)]))&&_0x720ec1[_0x598970(0xfd)](_0x25e5f5);}return _0x720ec1;}export function getRangesOfBlockGroups(_0x2e8df1,_0x512b1e){const _0x4198f9=_0x1543;let _0x4887d2,_0xe7022c=0x0;const _0x2b8a55=[],_0x1d488a=_0x512b1e[_0x4198f9(0xef)];for(;_0xe7022c<_0x2e8df1[_0x4198f9(0xdb)];){const _0x27f865=_0x2e8df1[_0xe7022c],_0x1bb6ff=_0x2e8df1[_0xe7022c+0x1];_0x4887d2||(_0x4887d2=_0x512b1e[_0x4198f9(0xe3)](_0x27f865)),co(_0x512b1e,_0x27f865,_0x1bb6ff)||(_0x2b8a55[_0x4198f9(0xe9)](_0x512b1e[_0x4198f9(0xf0)](_0x4887d2,_0x1d488a[_0x4198f9(0xea)](_0x27f865)?_0x512b1e[_0x4198f9(0xee)](_0x27f865):_0x512b1e[_0x4198f9(0x106)](_0x27f865,_0x4198f9(0xe7)))),_0x4887d2=null),_0xe7022c++;}return _0x2b8a55;}function _0x1543(_0x4b0e39,_0x1c2ef3){const _0xdff8c8=_0xdff8();return _0x1543=function(_0x1543b8,_0x2e4195){_0x1543b8=_0x1543b8-0xda;let _0x319257=_0xdff8c8[_0x1543b8];return _0x319257;},_0x1543(_0x4b0e39,_0x1c2ef3);}function _0xdff8(){const _0x4d8683=['execute','sort','isTouching','createPositionBefore','2513maaWNx','getRanges','map','end','isArray','push','isObject','5yEebUv','isInContent','963315rpfPtt','createPositionAfter','schema','createRange','color','isCollapsed','1011156DTLONv','\x20[color\x20','start','deletion','22UpamdE','4308910WxDiHK','value','isMultiRange','join','isIntersecting','add','from','2815520mPEcaC','replace','180WiULxs','next','18tTbaiu','splice','14024UIXxLk','createPositionAt','2514dUhnbN','length','content','5022900sIPAMr','type','change'];_0xdff8=function(){return _0x4d8683;};return _0xdff8();}function co(_0x28b9ec,_0x51a241,_0x4f81d8){const _0x48f104=_0x1543;if(!_0x4f81d8)return!0x1;const _0x5f51b3=_0x28b9ec[_0x48f104(0xee)](_0x51a241),_0x4872fa=_0x28b9ec[_0x48f104(0xe3)](_0x4f81d8);return _0x5f51b3[_0x48f104(0xe2)](_0x4872fa);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x1a3f4e,_0x538cbb,_0x15eb26){const _0x4b65d6=_0x1543;for(;_0x15eb26[_0x4b65d6(0xdb)];){const _0x4a38c4=_0x15eb26[_0x4b65d6(0x104)](0x0,0x64);_0x1a3f4e[_0x4b65d6(0xdf)](()=>{const _0x26ca1a=_0x4b65d6;for(const _0x2e7b22 of _0x4a38c4)_0x2e7b22[_0x26ca1a(0xec)]&&_0x538cbb[_0x26ca1a(0xe0)](_0x2e7b22['id']);});}}
|