@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240416.0 → 0.0.0-nightly-20240417.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 _0x27c6(){const _0x735fa5=['listenTo','get','source','activeAnnotations','items','Annotations','_annotationViews','stopListening','destroy','_createMenuBarMenu','comments','define','set','editing','getAllAdjacentSuggestions','focus','reduce','previous','CommentView','innerView','204826iPrqro','getFirstRange','has','_addUIComponentsToFactory','SuggestionThreadView','isDirty','trackChanges','suggestionLoaded','menuBar:trackChanges','87345rbeEQe','length','editor','_unbindEditors','createAnnotation','comments.maxCommentCharsWhenCollapsed','getJoined','acceptAllSuggestions','Discard\x20all\x20selected\x20suggestions','unbind','_updateController','comments.maxCommentsWhenCollapsed','suggestionUnloaded','335553HnlepE','descriptionParts','bind','1017128FwJgTF','getDescriptions','values','delete','init','_handleControllerBuffer','locale','_destroyController','_disableComments','push','getByInnerView','TrackChangesUI','type','isOn','discardAllSuggestions','discardSelectedSuggestions','isEnabled','from','head','createAnnotationView','commands','_refreshActiveMarkers','config','comments.editorConfig','suggestionChanged','_bindAnnotationToEditors','separator','filter','value','change:previous','children','acceptButton','_initializeController','execute','_createToolbarButton','requires','isInContent','getMarkers','EditorAnnotations','Accept\x20all\x20selected\x20suggestions','Track\x20changes','TrackChangesEditing','isMultiRange','delegate','view','addComment','addSourceCollector','refreshSelectedViews','trackChanges.disableComments','Accept\x20all\x20suggestions','buttonView','_suggestionToController','add','CommentsRepository','1140512pOEBLv','commentThread','plugins','lowest','trackChanges.SuggestionThreadView','mainView','remove','suggestion-','toMany','model','activeMarkers','button','getMarkerNames','24byDBTC','panelView','getRanges','keys','createCommentThreadController','_descriptionFactory','644868iRZNwo','hasSuggestion','size','pluginName','_handleSuggestionControllerDelayed','comments.maxThreadTotalWeight','switchbutton','CommentsUI','change:activeAnnotations','componentFactory','getSuggestion','discardButton','actionView','registerAnnotation','clear','some','Discard\x20all\x20suggestions','acceptSelectedSuggestions','arrowView','27689UgSsFV','commandName','_viewToController'];_0x27c6=function(){return _0x735fa5;};return _0x27c6();}const _0x413823=_0x4393;(function(_0x1d4f18,_0xa6dbce){const _0x24cfe4=_0x4393,_0x45749b=_0x1d4f18();while(!![]){try{const _0x3538f4=-parseInt(_0x24cfe4(0x109))/0x1+parseInt(_0x24cfe4(0x120))/0x2+parseInt(_0x24cfe4(0x136))/0x3+parseInt(_0x24cfe4(0xf0))/0x4*(parseInt(_0x24cfe4(0x129))/0x5)+parseInt(_0x24cfe4(0xf6))/0x6+-parseInt(_0x24cfe4(0x139))/0x7+-parseInt(_0x24cfe4(0xe3))/0x8;if(_0x3538f4===_0xa6dbce)break;else _0x45749b['push'](_0x45749b['shift']());}catch(_0x288ca9){_0x45749b['push'](_0x45749b['shift']());}}}(_0x27c6,0x1b197));import{Plugin as _0x4c53a2}from'ckeditor5/src/core.js';import{Collection as _0x4000c8}from'ckeditor5/src/utils.js';function _0x4393(_0x1b60b9,_0x25c42a){const _0x27c68c=_0x27c6();return _0x4393=function(_0x439374,_0x18fcb6){_0x439374=_0x439374-0xae;let _0x586e58=_0x27c68c[_0x439374];return _0x586e58;},_0x4393(_0x1b60b9,_0x25c42a);}import{addListToDropdown as _0x38c76d,createDropdown as _0x53293c,ListSeparatorView as _0x493333,MenuBarMenuView as _0xa1179d,MenuBarMenuListView as _0x32fbb8,MenuBarMenuListItemView as _0x589a78,MenuBarMenuListItemButtonView as _0x5c1647,SplitButtonView as _0x1dfc53,ViewModel as _0x5c22ae}from'ckeditor5/src/ui.js';import{Users as _0x5bdb0b,getDateTimeFormatter as _0x19a19f,getAllMarkersDomElementsSorted as _0x4be9f7}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5f0800 from'./trackchangesediting.js';import _0x3d0b71 from'./ui/suggestioncontroller.js';import _0x3ad2d6 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x3b7ea9}from'./utils/common-translations.js';import _0x25efa4 from'../theme/icons/track-changes.svg';export default class d extends _0x4c53a2{static get[_0x413823(0xd0)](){const _0x3ac743=_0x413823;return[_0x5f0800,_0x5bdb0b,_0x3ac743(0xe2),_0x3ac743(0x111),_0x3ac743(0xd3)];}static get[_0x413823(0xf9)](){const _0x166088=_0x413823;return _0x166088(0xb8);}constructor(_0x101bce){const _0x4e933d=_0x413823;super(_0x101bce),this[_0x4e933d(0xe0)]=new Map(),this[_0x4e933d(0x10b)]=new Map(),this[_0x4e933d(0x112)]=new Map(),this[_0x4e933d(0xb2)]=new Map();const _0xde3e38=this[_0x4e933d(0x12b)][_0x4e933d(0xc3)];_0xde3e38[_0x4e933d(0x117)](_0x4e933d(0xe7),_0x3ad2d6),_0xde3e38[_0x4e933d(0x117)](_0x4e933d(0xdd),!0x1),this[_0x4e933d(0xb5)]=_0xde3e38[_0x4e933d(0x10d)](_0x4e933d(0xdd));}[_0x413823(0xfa)](_0x1ebd95,_0x3ac579){const _0x53589c=_0x413823;0x0===this[_0x53589c(0xb2)][_0x53589c(0xf8)]&&setTimeout(()=>{const _0x4283ae=_0x53589c;for(const [_0x300c9c,_0x4acb43]of this[_0x4283ae(0xb2)]){const _0x1bdfe0=this[_0x4283ae(0xe0)][_0x4283ae(0x122)](_0x300c9c);_0x1bdfe0||_0x4acb43?_0x1bdfe0&&_0x4acb43&&this[_0x4283ae(0xb4)](_0x300c9c):this[_0x4283ae(0xcd)](_0x300c9c);}this[_0x4283ae(0xb2)][_0x4283ae(0x104)](),this[_0x4283ae(0x12b)][_0x4283ae(0xe5)][_0x4283ae(0x10d)](_0x4283ae(0xd3))[_0x4283ae(0xdc)](),this[_0x4283ae(0xc2)]();},0xa),this[_0x53589c(0xb2)][_0x53589c(0x118)](_0x1ebd95,_0x3ac579);}[_0x413823(0xb1)](){const _0x1333ae=_0x413823,_0x3df2c9=this[_0x1333ae(0x12b)],_0x31277f=_0x3df2c9[_0x1333ae(0xe5)][_0x1333ae(0x10d)](_0x1333ae(0xd6)),_0x4145ce=_0x3df2c9[_0x1333ae(0xe5)][_0x1333ae(0x10d)](_0x1333ae(0x111)),_0x469066=_0x3df2c9[_0x1333ae(0xe5)][_0x1333ae(0x10d)](_0x1333ae(0xd3)),_0x5be6f6=_0x3df2c9[_0x1333ae(0xe5)][_0x1333ae(0x10d)](_0x1333ae(0xe2));this[_0x1333ae(0x123)](),_0x469066[_0x1333ae(0xdb)](()=>{const _0x3c6205=_0x1333ae,_0x283b7d=[];for(const [_0x53ff7e,_0x2ac28a]of Array[_0x3c6205(0xbe)](this[_0x3c6205(0xe0)])){const _0x5313c7=_0x53ff7e[_0x3c6205(0x11a)](),_0x5cbe72=[];for(const _0x385534 of _0x5313c7){if(!_0x385534[_0x3c6205(0xd1)])continue;if(_0x385534[_0x3c6205(0xd7)]){_0x5cbe72[_0x3c6205(0xb6)](..._0x385534[_0x3c6205(0xf2)]());continue;}const _0x225fbf=_0x385534[_0x3c6205(0x121)]();if(_0x5cbe72[_0x3c6205(0x12a)]>0x0){const _0x16fc49=_0x5cbe72[0x0][_0x3c6205(0x12f)](_0x225fbf);if(_0x16fc49){_0x5cbe72[0x0]=_0x16fc49;continue;}}_0x5cbe72[_0x3c6205(0xb6)](_0x225fbf);}_0x283b7d[_0x3c6205(0xb6)]([_0x2ac28a[_0x3c6205(0xd9)],_0x5cbe72]);}return _0x283b7d;}),this[_0x1333ae(0x10c)](_0x31277f,_0x1333ae(0x127),(_0x2ed442,_0x338291)=>{const _0x48406c=_0x1333ae;this[_0x48406c(0x10c)](_0x338291,_0x48406c(0xca),(_0x30af32,_0x3be6e0,_0x5802b1,_0x22dccf)=>{const _0x661c5d=_0x48406c;_0x338291[_0x661c5d(0xd1)]&&(null==_0x5802b1?(this[_0x661c5d(0x133)](_0x22dccf[_0x661c5d(0xbf)]),this[_0x661c5d(0xfa)](_0x338291,!0x1)):(this[_0x661c5d(0x133)](_0x5802b1[_0x661c5d(0xbf)]),null==_0x22dccf&&this[_0x661c5d(0xfa)](_0x338291,!0x0)));}),null!==_0x338291[_0x48406c(0x11d)]?this[_0x48406c(0x133)](_0x338291[_0x48406c(0xbf)]):this[_0x48406c(0xfa)](_0x338291,!0x1);}),this[_0x1333ae(0x10c)](_0x31277f,_0x1333ae(0x135),(_0x230e8a,_0x49e20f,_0x1a6f2e)=>{const _0x4597e7=_0x1333ae;this[_0x4597e7(0x113)](_0x49e20f,_0x4597e7(0xca)),this[_0x4597e7(0xb2)][_0x4597e7(0xb0)](_0x49e20f),this[_0x4597e7(0xe0)][_0x4597e7(0x122)](_0x49e20f)&&this[_0x4597e7(0xb4)](_0x49e20f),_0x1a6f2e&&this[_0x4597e7(0x133)](_0x1a6f2e[_0x4597e7(0xbf)]);}),this[_0x1333ae(0x10c)](_0x31277f,_0x1333ae(0xc5),(_0x4f41af,_0x45486c)=>{const _0x43d5f5=_0x1333ae;this[_0x43d5f5(0x133)](_0x45486c);}),this[_0x1333ae(0x10c)](_0x4145ce,_0x1333ae(0xfe),()=>{const _0x4b6f6f=_0x1333ae;this[_0x4b6f6f(0xc2)]();}),this[_0x1333ae(0x10c)](_0x5be6f6,_0x1333ae(0xda),(_0x3ea523,{threadId:_0x407ea3,isFromAdapter:_0x1da3ed})=>{const _0x5dced4=_0x1333ae;if(_0x1da3ed||!_0x31277f[_0x5dced4(0xf7)](_0x407ea3))return;const _0xd8a2ab=_0x31277f[_0x5dced4(0x100)](_0x407ea3);this[_0x5dced4(0xe0)][_0x5dced4(0x10d)](_0xd8a2ab)[_0x5dced4(0xd9)][_0x5dced4(0x11b)]();},{'priority':_0x1333ae(0xe6)});}[_0x413823(0xc2)](){const _0x27d958=_0x413823,_0x44c1a1=this[_0x27d958(0x12b)][_0x27d958(0xe5)][_0x27d958(0x10d)](_0x27d958(0x111)),_0x56e86f=this[_0x27d958(0x12b)][_0x27d958(0xe5)][_0x27d958(0x10d)](_0x27d958(0xd6)),_0x5c9c73=Array[_0x27d958(0xbe)](_0x44c1a1[_0x27d958(0x10f)],_0x50a053=>_0x50a053[_0x27d958(0x11f)])[_0x27d958(0xc8)](_0xf34570=>this[_0x27d958(0x10b)][_0x27d958(0x122)](_0xf34570)),_0x3823db=[];for(const _0x1f6735 of _0x5c9c73){const _0x4c746a=this[_0x27d958(0x10b)][_0x27d958(0x10d)](_0x1f6735)[_0x27d958(0xec)][_0x27d958(0x11a)]();_0x3823db[_0x27d958(0xb6)](..._0x4c746a[_0x27d958(0x11c)]((_0x36b85b,_0x2835b0)=>[..._0x36b85b,..._0x2835b0[_0x27d958(0xef)]()],[]));}_0x56e86f[_0x27d958(0xed)]=_0x3823db;}[_0x413823(0x123)](){const _0x2e260f=_0x413823,_0x5833fd=this[_0x2e260f(0x12b)],_0x25404c=_0x5833fd[_0x2e260f(0xb3)],_0xeb175b=_0x3b7ea9(_0x25404c,_0x2e260f(0xd5)),_0x383d43=new _0x4000c8([{'type':_0x2e260f(0xfc),'model':new _0x5c22ae({'withText':!0x0,'label':_0xeb175b,'commandName':_0x2e260f(0x126)})},{'type':_0x2e260f(0xc7)},{'type':_0x2e260f(0xee),'model':new _0x5c22ae({'withText':!0x0,'label':_0x3b7ea9(_0x25404c,_0x2e260f(0xde)),'commandName':_0x2e260f(0x130)})},{'type':_0x2e260f(0xee),'model':new _0x5c22ae({'withText':!0x0,'label':_0x3b7ea9(_0x25404c,_0x2e260f(0xd4)),'commandName':_0x2e260f(0x107)})},{'type':_0x2e260f(0xee),'model':new _0x5c22ae({'withText':!0x0,'label':_0x3b7ea9(_0x25404c,_0x2e260f(0x106)),'commandName':_0x2e260f(0xbb)})},{'type':_0x2e260f(0xee),'model':new _0x5c22ae({'withText':!0x0,'label':_0x3b7ea9(_0x25404c,_0x2e260f(0x131)),'commandName':_0x2e260f(0xbc)})}]);for(const _0x168153 of _0x383d43)if(ae(_0x168153)){const _0x2db97f=_0x5833fd[_0x2e260f(0xc1)][_0x2e260f(0x10d)](_0x168153[_0x2e260f(0xec)][_0x2e260f(0x10a)]);_0x168153[_0x2e260f(0xec)][_0x2e260f(0x138)](_0x2e260f(0xba),_0x2e260f(0xbd))['to'](_0x2db97f,_0x2e260f(0xc9),_0x2e260f(0xbd));}_0x5833fd['ui'][_0x2e260f(0xff)][_0x2e260f(0xe1)](_0x2e260f(0x126),_0x4bb163=>this[_0x2e260f(0xcf)](_0x4bb163,_0x383d43,_0xeb175b)),_0x5833fd['ui'][_0x2e260f(0xff)][_0x2e260f(0xe1)](_0x2e260f(0x128),_0x381156=>this[_0x2e260f(0x115)](_0x381156,_0x383d43,_0xeb175b));}[_0x413823(0xcf)](_0x54dcc5,_0x1a6b16,_0x25fa19){const _0x1352ab=_0x413823,_0x3e3044=_0x53293c(_0x54dcc5,_0x1dfc53),_0x19f8d3=this[_0x1352ab(0x12b)][_0x1352ab(0xc1)][_0x1352ab(0x10d)](_0x1352ab(0x126));_0x3e3044[_0x1352ab(0xdf)][_0x1352ab(0x118)]({'tooltip':_0x25fa19,'label':_0x25fa19,'icon':_0x25efa4}),_0x3e3044[_0x1352ab(0xdf)][_0x1352ab(0x138)](_0x1352ab(0xba))['to'](_0x19f8d3,_0x1352ab(0xc9)),_0x3e3044[_0x1352ab(0xdf)]['on'](_0x1352ab(0xce),()=>{const _0x3dfbf5=_0x1352ab;_0x19f8d3[_0x3dfbf5(0xce)](),this[_0x3dfbf5(0x12b)][_0x3dfbf5(0x119)][_0x3dfbf5(0xd9)][_0x3dfbf5(0x11b)]();}),_0x38c76d(_0x3e3044,_0x1a6b16);const _0x51ac41=[];for(const _0x4e9898 of _0x1a6b16)ae(_0x4e9898)&&_0x51ac41[_0x1352ab(0xb6)](this[_0x1352ab(0x12b)][_0x1352ab(0xc1)][_0x1352ab(0x10d)](_0x4e9898[_0x1352ab(0xec)][_0x1352ab(0x10a)]));const _0x1bfdf5=_0x3e3044[_0x1352ab(0xdf)];return _0x1bfdf5[_0x1352ab(0x102)][_0x1352ab(0x132)](_0x1352ab(0xbd)),_0x1bfdf5[_0x1352ab(0x108)][_0x1352ab(0x132)](_0x1352ab(0xbd)),_0x1bfdf5[_0x1352ab(0x102)][_0x1352ab(0x138)](_0x1352ab(0xbd))['to'](_0x19f8d3,_0x1352ab(0xbd)),_0x1bfdf5[_0x1352ab(0x108)][_0x1352ab(0x138)](_0x1352ab(0xbd))[_0x1352ab(0xeb)](_0x51ac41,_0x1352ab(0xbd),(..._0x2176d8)=>_0x2176d8[_0x1352ab(0x105)](_0x2a0f2a=>_0x2a0f2a)),_0x3e3044['on'](_0x1352ab(0xce),_0x250a83=>{const _0x4a3905=_0x1352ab;this[_0x4a3905(0x12b)][_0x4a3905(0xce)](_0x250a83[_0x4a3905(0x10e)][_0x4a3905(0x10a)]),this[_0x4a3905(0x12b)][_0x4a3905(0x119)][_0x4a3905(0xd9)][_0x4a3905(0x11b)]();}),_0x3e3044;}[_0x413823(0x115)](_0x3a2965,_0x26c91d,_0x1766ab){const _0x31c23e=_0x413823,_0x5697dc=new _0xa1179d(_0x3a2965),_0x10b159=this[_0x31c23e(0x12b)][_0x31c23e(0xc1)][_0x31c23e(0x10d)](_0x31c23e(0x126));_0x5697dc[_0x31c23e(0xdf)][_0x31c23e(0x118)]({'label':_0x1766ab,'icon':_0x25efa4});const _0x4fb1b9=new _0x32fbb8(_0x3a2965);for(const _0xa058ab of _0x26c91d){if(_0x31c23e(0xc7)==_0xa058ab[_0x31c23e(0xb9)]){_0x4fb1b9[_0x31c23e(0x110)][_0x31c23e(0xe1)](new _0x493333(_0x3a2965));continue;}const _0x33564a=new _0x589a78(_0x3a2965,_0x5697dc),_0x1183d2=new _0x5c1647(_0x3a2965),_0x1c2ecc=_0xa058ab[_0x31c23e(0xec)];_0x1183d2[_0x31c23e(0x138)](...Object[_0x31c23e(0xf3)](_0x1c2ecc))['to'](_0x1c2ecc),_0x1183d2[_0x31c23e(0xd8)](_0x31c23e(0xce))['to'](_0x5697dc),_0x1183d2['on'](_0x31c23e(0xce),()=>{const _0x46a1be=_0x31c23e;this[_0x46a1be(0x12b)][_0x46a1be(0xce)](_0x1c2ecc[_0x46a1be(0x10a)]),this[_0x46a1be(0x12b)][_0x46a1be(0x119)][_0x46a1be(0xd9)][_0x46a1be(0x11b)]();}),_0x33564a[_0x31c23e(0xcb)][_0x31c23e(0xe1)](_0x1183d2),_0x4fb1b9[_0x31c23e(0x110)][_0x31c23e(0xe1)](_0x33564a);}return _0x5697dc[_0x31c23e(0x138)](_0x31c23e(0xbd))['to'](_0x10b159,_0x31c23e(0xbd)),_0x5697dc[_0x31c23e(0xf1)][_0x31c23e(0xcb)][_0x31c23e(0xe1)](_0x4fb1b9),_0x5697dc;}[_0x413823(0xcd)](_0x2107b6){const _0x108715=_0x413823,_0x2c23ba=this[_0x108715(0x12b)],_0xbde2b0=_0x2c23ba[_0x108715(0xc3)],_0x58a81f=_0x2c23ba[_0x108715(0xe5)][_0x108715(0x10d)](_0x108715(0x111)),_0x452fea=_0x2c23ba[_0x108715(0xe5)][_0x108715(0x10d)](_0x108715(0xe2)),_0x377b55=_0x2c23ba[_0x108715(0xe5)][_0x108715(0x10d)](_0x108715(0xd3)),_0x388dfa=_0x2c23ba[_0x108715(0xe5)][_0x108715(0x10d)](_0x5bdb0b)['me'],_0x2f15e5=_0xbde2b0[_0x108715(0x10d)](_0x108715(0x126))[_0x108715(0x124)],{CommentsListView:_0x12eae3,CommentThreadInputView:_0x5b22e5}=_0x2c23ba[_0x108715(0xe5)][_0x108715(0x10d)](_0x108715(0xfd));let _0x4b1ce0,_0x29e826;this[_0x108715(0x112)][_0x108715(0x122)](_0x2107b6['id'])?(_0x29e826=this[_0x108715(0x112)][_0x108715(0x10d)](_0x2107b6['id']),_0x4b1ce0=_0x29e826[_0x108715(0xe8)]):(_0x4b1ce0=new _0x2f15e5(_0x2c23ba[_0x108715(0xb3)],_0x2107b6,_0x388dfa,{'disableComments':this[_0x108715(0xb5)],'editorConfig':_0xbde2b0[_0x108715(0x10d)](_0x108715(0xc4)),'maxCommentsWhenCollapsed':_0xbde2b0[_0x108715(0x10d)](_0x108715(0x134)),'maxThreadTotalWeight':_0xbde2b0[_0x108715(0x10d)](_0x108715(0xfb)),'maxCommentCharsWhenCollapsed':_0xbde2b0[_0x108715(0x10d)](_0x108715(0x12e)),'formatDateTime':_0x19a19f(_0xbde2b0[_0x108715(0x10d)](_0x108715(0xb3))),'CommentView':_0xbde2b0[_0x108715(0x10d)](_0x108715(0x116))[_0x108715(0x11e)],'CommentsListView':_0x12eae3,'CommentThreadInputView':_0x5b22e5}),_0x4b1ce0[_0x108715(0xcc)]['on'](_0x108715(0xce),()=>{const _0x3f887a=_0x108715;_0x2c23ba[_0x3f887a(0x119)][_0x3f887a(0xd9)][_0x3f887a(0x11b)]();}),_0x4b1ce0[_0x108715(0x101)]['on'](_0x108715(0xce),()=>{const _0x5285fe=_0x108715;_0x2c23ba[_0x5285fe(0x119)][_0x5285fe(0xd9)][_0x5285fe(0x11b)]();}),_0x29e826=_0x58a81f[_0x108715(0xc0)](this[_0x108715(0x12b)][_0x108715(0xb3)],_0x4b1ce0),_0x29e826[_0x108715(0x138)](_0x108715(0x125))['to'](_0x4b1ce0,_0x108715(0x125)),_0x29e826[_0x108715(0x138)](_0x108715(0x12a))['to'](_0x4b1ce0),_0x29e826[_0x108715(0x138)](_0x108715(0xb9))['to'](_0x4b1ce0,_0x108715(0xb9),_0x415cda=>_0x108715(0xea)+_0x415cda),this[_0x108715(0x112)][_0x108715(0x118)](_0x2107b6['id'],_0x29e826));const _0x440f52=_0x452fea[_0x108715(0xf4)](_0x2107b6[_0x108715(0xe4)],_0x4b1ce0),_0x176609=new _0x3d0b71(_0x2c23ba,_0x2107b6,_0x4b1ce0,_0x440f52),_0x1ea705=_0x2107b6[_0x108715(0x11a)]()[_0x108715(0xc8)](_0x389d8c=>_0x389d8c[_0x108715(0xd1)]);_0x4b1ce0[_0x108715(0x137)]=_0x2c23ba[_0x108715(0xe5)][_0x108715(0x10d)](_0x108715(0xd6))[_0x108715(0xf5)][_0x108715(0xae)](_0x1ea705),this[_0x108715(0xe0)][_0x108715(0x118)](_0x2107b6,_0x176609),this[_0x108715(0x10b)][_0x108715(0x118)](_0x4b1ce0,_0x176609);const _0x4cf52e=_0x58a81f[_0x108715(0x12d)]({'view':_0x29e826,'target':()=>{const _0x45d367=_0x108715,_0x310282=[],_0x1d7d1d=_0x2107b6[_0x45d367(0x11a)]()[_0x45d367(0xc8)](_0x4689f7=>_0x4689f7[_0x45d367(0xd1)]);for(const _0x4c6971 of _0x1d7d1d)_0x310282[_0x45d367(0xb6)](..._0x4c6971[_0x45d367(0xd2)]());return _0x4be9f7(_0x2c23ba[_0x45d367(0x119)],_0x310282);},'type':()=>_0x108715(0xea)+_0x176609[_0x108715(0xd9)][_0x108715(0xb9)]});_0x452fea[_0x108715(0xc6)](_0x4b1ce0,_0x4cf52e),_0x58a81f[_0x108715(0xe1)](_0x4cf52e),_0x377b55[_0x108715(0x103)](_0x4cf52e);}[_0x413823(0xb4)](_0x483955){const _0x29a02e=_0x413823,_0x47a6f3=this[_0x29a02e(0x12b)][_0x29a02e(0xe5)][_0x29a02e(0x10d)](_0x29a02e(0xe2)),_0x1d8a7a=this[_0x29a02e(0x12b)][_0x29a02e(0xe5)][_0x29a02e(0x10d)](_0x29a02e(0x111)),_0xed0242=this[_0x29a02e(0xe0)][_0x29a02e(0x10d)](_0x483955),_0x305961=_0xed0242[_0x29a02e(0xd9)],_0x31a7f6=_0x1d8a7a[_0x29a02e(0xb7)](_0x305961);_0x47a6f3[_0x29a02e(0x12c)](_0x305961),_0x31a7f6&&_0x1d8a7a[_0x29a02e(0xe9)](_0x31a7f6),this[_0x29a02e(0xe0)][_0x29a02e(0xb0)](_0x483955),this[_0x29a02e(0x10b)][_0x29a02e(0xb0)](_0x305961),_0xed0242[_0x29a02e(0x114)]();}[_0x413823(0x133)](_0x1276f1){const _0x4c79a1=_0x413823;if(!_0x1276f1[_0x4c79a1(0xd1)]||!this[_0x4c79a1(0xe0)][_0x4c79a1(0x122)](_0x1276f1))return;const _0x48e0b6=this[_0x4c79a1(0x12b)][_0x4c79a1(0xe5)][_0x4c79a1(0x10d)](_0x4c79a1(0xd6)),_0x59586a=this[_0x4c79a1(0xe0)][_0x4c79a1(0x10d)](_0x1276f1),_0x536c99=_0x1276f1[_0x4c79a1(0x11a)]();_0x59586a[_0x4c79a1(0xd9)][_0x4c79a1(0x137)]=_0x48e0b6[_0x4c79a1(0xf5)][_0x4c79a1(0xae)](_0x536c99);}[_0x413823(0x114)](){const _0x392049=_0x413823;for(const _0x1cc3fe of this[_0x392049(0xe0)][_0x392049(0xf3)]())this[_0x392049(0xb4)](_0x1cc3fe);for(const _0x214eae of this[_0x392049(0x112)][_0x392049(0xaf)]())_0x214eae[_0x392049(0xe8)][_0x392049(0x114)]();super[_0x392049(0x114)]();}}function ae(_0x2c7ff5){const _0x34a5ed=_0x413823;return _0x34a5ed(0xec)in _0x2c7ff5;}
|
|
23
|
+
const _0x45410d=_0x72c9;(function(_0x77acde,_0x500895){const _0x4a2bc0=_0x72c9,_0x1f70ea=_0x77acde();while(!![]){try{const _0x2fd3f0=-parseInt(_0x4a2bc0(0x12c))/0x1*(-parseInt(_0x4a2bc0(0xf7))/0x2)+parseInt(_0x4a2bc0(0xf8))/0x3*(parseInt(_0x4a2bc0(0xc5))/0x4)+parseInt(_0x4a2bc0(0x128))/0x5*(parseInt(_0x4a2bc0(0x130))/0x6)+parseInt(_0x4a2bc0(0xe7))/0x7+parseInt(_0x4a2bc0(0xfc))/0x8+-parseInt(_0x4a2bc0(0x10b))/0x9*(parseInt(_0x4a2bc0(0xe8))/0xa)+-parseInt(_0x4a2bc0(0xe6))/0xb;if(_0x2fd3f0===_0x500895)break;else _0x1f70ea['push'](_0x1f70ea['shift']());}catch(_0x4c8f02){_0x1f70ea['push'](_0x1f70ea['shift']());}}}(_0x2a31,0xbc5b0));import{Plugin as _0x1aeace}from'ckeditor5/src/core.js';function _0x72c9(_0x42aeee,_0x26fb58){const _0x2a31a3=_0x2a31();return _0x72c9=function(_0x72c90,_0x3962e9){_0x72c90=_0x72c90-0xae;let _0x59cf5b=_0x2a31a3[_0x72c90];return _0x59cf5b;},_0x72c9(_0x42aeee,_0x26fb58);}import{Collection as _0x368fb2}from'ckeditor5/src/utils.js';function _0x2a31(){const _0x5ba49a=['delegate','delete','trackChanges','add','discardAllSuggestions','suggestion-','some','value','destroy','actionView','12npHHYp','isInContent','bind','mainView','change:activeAnnotations','filter','set','clear','head','_refreshActiveMarkers','TrackChangesUI','hasSuggestion','isOn','from','_createToolbarButton','commandName','values','addComment','model','toMany','comments.maxCommentsWhenCollapsed','isMultiRange','registerAnnotation','panelView','define','descriptionParts','TrackChangesEditing','_descriptionFactory','view','button','stopListening','menuBar:trackChanges','getSuggestion','15084146AnbHch','3213889JnBTEc','10ThnECf','locale','lowest','config','getJoined','editor','execute','comments.maxThreadTotalWeight','trackChanges.SuggestionThreadView','init','acceptAllSuggestions','suggestionChanged','Track\x20changes','acceptButton','Annotations','4954ZLAJrD','172359VEMXFP','size','keys','isEnabled','9242216NfvizV','Accept\x20all\x20suggestions','children','refreshSelectedViews','requires','previous','acceptSelectedSuggestions','_suggestionToController','commands','SuggestionThreadView','has','Discard\x20all\x20selected\x20suggestions','comments.maxCommentCharsWhenCollapsed','items','isDirty','5117571YNbRxQ','getRanges','pluginName','commentThread','suggestionLoaded','activeMarkers','comments.editorConfig','createAnnotation','componentFactory','comments','activeAnnotations','type','push','editing','getFirstRange','_handleSuggestionControllerDelayed','getMarkers','switchbutton','CommentsUI','suggestionUnloaded','addSourceCollector','discardSelectedSuggestions','trackChanges.disableComments','remove','_viewToController','arrowView','createCommentThreadController','unbind','_addUIComponentsToFactory','32775vboXjO','length','Discard\x20all\x20suggestions','CommentView','368peOqVo','getMarkerNames','buttonView','_updateController','12LWMBEK','separator','_disableComments','CommentsRepository','_handleControllerBuffer','_initializeController','_bindAnnotationToEditors','EditorAnnotations','_unbindEditors','get','reduce','createAnnotationView','getDescriptions','source','_destroyController','change:previous','Accept\x20all\x20selected\x20suggestions','discardButton','_annotationViews','focus','getAllAdjacentSuggestions','getByInnerView','plugins','_createMenuBarMenu','listenTo','innerView'];_0x2a31=function(){return _0x5ba49a;};return _0x2a31();}import{addListToDropdown as _0xd58ee5,createDropdown as _0x381f8b,ListSeparatorView as _0xb88ee5,MenuBarMenuView as _0x3d5eb7,MenuBarMenuListView as _0x4bb289,MenuBarMenuListItemView as _0x11b74a,MenuBarMenuListItemButtonView as _0x22df03,SplitButtonView as _0x7cd823,ViewModel as _0x43e0b3}from'ckeditor5/src/ui.js';import{Users as _0x418f58,getDateTimeFormatter as _0x1f93e9,getAllMarkersDomElementsSorted as _0x1e09b6}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x14d33d from'./trackchangesediting.js';import _0x1a90e3 from'./ui/suggestioncontroller.js';import _0x51ab10 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x48ecb9}from'./utils/common-translations.js';import _0x461dd0 from'../theme/icons/track-changes.svg';export default class d extends _0x1aeace{static get[_0x45410d(0x100)](){const _0x312dae=_0x45410d;return[_0x14d33d,_0x418f58,_0x312dae(0x133),_0x312dae(0xf6),_0x312dae(0x137)];}static get[_0x45410d(0x10d)](){const _0x53ecc4=_0x45410d;return _0x53ecc4(0xcf);}constructor(_0x59b286){const _0x3b57b9=_0x45410d;super(_0x59b286),this[_0x3b57b9(0x103)]=new Map(),this[_0x3b57b9(0x123)]=new Map(),this[_0x3b57b9(0xb3)]=new Map(),this[_0x3b57b9(0x134)]=new Map();const _0x55e43c=this[_0x3b57b9(0xed)][_0x3b57b9(0xeb)];_0x55e43c[_0x3b57b9(0xdd)](_0x3b57b9(0xf0),_0x51ab10),_0x55e43c[_0x3b57b9(0xdd)](_0x3b57b9(0x121),!0x1),this[_0x3b57b9(0x132)]=_0x55e43c[_0x3b57b9(0x139)](_0x3b57b9(0x121));}[_0x45410d(0x11a)](_0x4aae08,_0x1e819c){const _0x12b811=_0x45410d;0x0===this[_0x12b811(0x134)][_0x12b811(0xf9)]&&setTimeout(()=>{const _0x209aad=_0x12b811;for(const [_0xe69b2a,_0x3134f5]of this[_0x209aad(0x134)]){const _0x477cbb=this[_0x209aad(0x103)][_0x209aad(0x106)](_0xe69b2a);_0x477cbb||_0x3134f5?_0x477cbb&&_0x3134f5&&this[_0x209aad(0xaf)](_0xe69b2a):this[_0x209aad(0x135)](_0xe69b2a);}this[_0x209aad(0x134)][_0x209aad(0xcc)](),this[_0x209aad(0xed)][_0x209aad(0xb7)][_0x209aad(0x139)](_0x209aad(0x137))[_0x209aad(0xff)](),this[_0x209aad(0xce)]();},0xa),this[_0x12b811(0x134)][_0x12b811(0xcb)](_0x4aae08,_0x1e819c);}[_0x45410d(0xf1)](){const _0x262bf3=_0x45410d,_0x2f03c5=this[_0x262bf3(0xed)],_0x3ca539=_0x2f03c5[_0x262bf3(0xb7)][_0x262bf3(0x139)](_0x262bf3(0xdf)),_0xa64fd0=_0x2f03c5[_0x262bf3(0xb7)][_0x262bf3(0x139)](_0x262bf3(0xf6)),_0x1fa22=_0x2f03c5[_0x262bf3(0xb7)][_0x262bf3(0x139)](_0x262bf3(0x137)),_0x3a39f2=_0x2f03c5[_0x262bf3(0xb7)][_0x262bf3(0x139)](_0x262bf3(0x133));this[_0x262bf3(0x127)](),_0x1fa22[_0x262bf3(0x11f)](()=>{const _0x1ee453=_0x262bf3,_0x57b3de=[];for(const [_0x274c1b,_0x289954]of Array[_0x1ee453(0xd2)](this[_0x1ee453(0x103)])){const _0x9739d0=_0x274c1b[_0x1ee453(0xb5)](),_0xa2c744=[];for(const _0x46248c of _0x9739d0){if(!_0x46248c[_0x1ee453(0xc6)])continue;if(_0x46248c[_0x1ee453(0xda)]){_0xa2c744[_0x1ee453(0x117)](..._0x46248c[_0x1ee453(0x10c)]());continue;}const _0x2f31da=_0x46248c[_0x1ee453(0x119)]();if(_0xa2c744[_0x1ee453(0x129)]>0x0){const _0x444562=_0xa2c744[0x0][_0x1ee453(0xec)](_0x2f31da);if(_0x444562){_0xa2c744[0x0]=_0x444562;continue;}}_0xa2c744[_0x1ee453(0x117)](_0x2f31da);}_0x57b3de[_0x1ee453(0x117)]([_0x289954[_0x1ee453(0xe1)],_0xa2c744]);}return _0x57b3de;}),this[_0x262bf3(0xb9)](_0x3ca539,_0x262bf3(0x10f),(_0x476fe7,_0x2c31ae)=>{const _0x17f776=_0x262bf3;this[_0x17f776(0xb9)](_0x2c31ae,_0x17f776(0xb0),(_0x54c21a,_0x4353e6,_0xc4d7ab,_0xd5dceb)=>{const _0x4ebb0b=_0x17f776;_0x2c31ae[_0x4ebb0b(0xc6)]&&(null==_0xc4d7ab?(this[_0x4ebb0b(0x12f)](_0xd5dceb[_0x4ebb0b(0xcd)]),this[_0x4ebb0b(0x11a)](_0x2c31ae,!0x1)):(this[_0x4ebb0b(0x12f)](_0xc4d7ab[_0x4ebb0b(0xcd)]),null==_0xd5dceb&&this[_0x4ebb0b(0x11a)](_0x2c31ae,!0x0)));}),null!==_0x2c31ae[_0x17f776(0x101)]?this[_0x17f776(0x12f)](_0x2c31ae[_0x17f776(0xcd)]):this[_0x17f776(0x11a)](_0x2c31ae,!0x1);}),this[_0x262bf3(0xb9)](_0x3ca539,_0x262bf3(0x11e),(_0x5bf4fd,_0x5e94b4,_0x1af424)=>{const _0x75a0d8=_0x262bf3;this[_0x75a0d8(0xe3)](_0x5e94b4,_0x75a0d8(0xb0)),this[_0x75a0d8(0x134)][_0x75a0d8(0xbc)](_0x5e94b4),this[_0x75a0d8(0x103)][_0x75a0d8(0x106)](_0x5e94b4)&&this[_0x75a0d8(0xaf)](_0x5e94b4),_0x1af424&&this[_0x75a0d8(0x12f)](_0x1af424[_0x75a0d8(0xcd)]);}),this[_0x262bf3(0xb9)](_0x3ca539,_0x262bf3(0xf3),(_0x178bdf,_0x5c33c6)=>{const _0x3c1277=_0x262bf3;this[_0x3c1277(0x12f)](_0x5c33c6);}),this[_0x262bf3(0xb9)](_0xa64fd0,_0x262bf3(0xc9),()=>{const _0x5123ef=_0x262bf3;this[_0x5123ef(0xce)]();}),this[_0x262bf3(0xb9)](_0x3a39f2,_0x262bf3(0xd6),(_0x3e5b73,{threadId:_0x260b49,isFromAdapter:_0x4d9bff})=>{const _0x242383=_0x262bf3;if(_0x4d9bff||!_0x3ca539[_0x242383(0xd0)](_0x260b49))return;const _0x524242=_0x3ca539[_0x242383(0xe5)](_0x260b49);this[_0x242383(0x103)][_0x242383(0x139)](_0x524242)[_0x242383(0xe1)][_0x242383(0xb4)]();},{'priority':_0x262bf3(0xea)});}[_0x45410d(0xce)](){const _0x5588f6=_0x45410d,_0x366c53=this[_0x5588f6(0xed)][_0x5588f6(0xb7)][_0x5588f6(0x139)](_0x5588f6(0xf6)),_0x2739cf=this[_0x5588f6(0xed)][_0x5588f6(0xb7)][_0x5588f6(0x139)](_0x5588f6(0xdf)),_0xf0eb0e=Array[_0x5588f6(0xd2)](_0x366c53[_0x5588f6(0x115)],_0x5cf483=>_0x5cf483[_0x5588f6(0xba)])[_0x5588f6(0xca)](_0x3bf7e7=>this[_0x5588f6(0x123)][_0x5588f6(0x106)](_0x3bf7e7)),_0x5bb473=[];for(const _0x117893 of _0xf0eb0e){const _0x23900a=this[_0x5588f6(0x123)][_0x5588f6(0x139)](_0x117893)[_0x5588f6(0xd7)][_0x5588f6(0xb5)]();_0x5bb473[_0x5588f6(0x117)](..._0x23900a[_0x5588f6(0x13a)]((_0x5d32e0,_0x1f6559)=>[..._0x5d32e0,..._0x1f6559[_0x5588f6(0x12d)]()],[]));}_0x2739cf[_0x5588f6(0x110)]=_0x5bb473;}[_0x45410d(0x127)](){const _0x2c1b09=_0x45410d,_0x2b56d0=this[_0x2c1b09(0xed)],_0x49fcb8=_0x2b56d0[_0x2c1b09(0xe9)],_0x198dd0=_0x48ecb9(_0x49fcb8,_0x2c1b09(0xf4)),_0x55650a=new _0x368fb2([{'type':_0x2c1b09(0x11c),'model':new _0x43e0b3({'withText':!0x0,'label':_0x198dd0,'commandName':_0x2c1b09(0xbd)})},{'type':_0x2c1b09(0x131)},{'type':_0x2c1b09(0xe2),'model':new _0x43e0b3({'withText':!0x0,'label':_0x48ecb9(_0x49fcb8,_0x2c1b09(0xfd)),'commandName':_0x2c1b09(0xf2)})},{'type':_0x2c1b09(0xe2),'model':new _0x43e0b3({'withText':!0x0,'label':_0x48ecb9(_0x49fcb8,_0x2c1b09(0xb1)),'commandName':_0x2c1b09(0x102)})},{'type':_0x2c1b09(0xe2),'model':new _0x43e0b3({'withText':!0x0,'label':_0x48ecb9(_0x49fcb8,_0x2c1b09(0x12a)),'commandName':_0x2c1b09(0xbf)})},{'type':_0x2c1b09(0xe2),'model':new _0x43e0b3({'withText':!0x0,'label':_0x48ecb9(_0x49fcb8,_0x2c1b09(0x107)),'commandName':_0x2c1b09(0x120)})}]);for(const _0x1a9204 of _0x55650a)if(ae(_0x1a9204)){const _0x5a9eaa=_0x2b56d0[_0x2c1b09(0x104)][_0x2c1b09(0x139)](_0x1a9204[_0x2c1b09(0xd7)][_0x2c1b09(0xd4)]);_0x1a9204[_0x2c1b09(0xd7)][_0x2c1b09(0xc7)](_0x2c1b09(0xd1),_0x2c1b09(0xfb))['to'](_0x5a9eaa,_0x2c1b09(0xc2),_0x2c1b09(0xfb));}_0x2b56d0['ui'][_0x2c1b09(0x113)][_0x2c1b09(0xbe)](_0x2c1b09(0xbd),_0x35999f=>this[_0x2c1b09(0xd3)](_0x35999f,_0x55650a,_0x198dd0)),_0x2b56d0['ui'][_0x2c1b09(0x113)][_0x2c1b09(0xbe)](_0x2c1b09(0xe4),_0x2ea8be=>this[_0x2c1b09(0xb8)](_0x2ea8be,_0x55650a,_0x198dd0));}[_0x45410d(0xd3)](_0x287850,_0x304465,_0x1a497c){const _0x2cc142=_0x45410d,_0x1dd708=_0x381f8b(_0x287850,_0x7cd823),_0x57edaa=this[_0x2cc142(0xed)][_0x2cc142(0x104)][_0x2cc142(0x139)](_0x2cc142(0xbd));_0x1dd708[_0x2cc142(0x12e)][_0x2cc142(0xcb)]({'tooltip':_0x1a497c,'label':_0x1a497c,'icon':_0x461dd0}),_0x1dd708[_0x2cc142(0x12e)][_0x2cc142(0xc7)](_0x2cc142(0xd1))['to'](_0x57edaa,_0x2cc142(0xc2)),_0x1dd708[_0x2cc142(0x12e)]['on'](_0x2cc142(0xee),()=>{const _0x4b953d=_0x2cc142;_0x57edaa[_0x4b953d(0xee)](),this[_0x4b953d(0xed)][_0x4b953d(0x118)][_0x4b953d(0xe1)][_0x4b953d(0xb4)]();}),_0xd58ee5(_0x1dd708,_0x304465);const _0x1027ca=[];for(const _0x26c095 of _0x304465)ae(_0x26c095)&&_0x1027ca[_0x2cc142(0x117)](this[_0x2cc142(0xed)][_0x2cc142(0x104)][_0x2cc142(0x139)](_0x26c095[_0x2cc142(0xd7)][_0x2cc142(0xd4)]));const _0x4f5d36=_0x1dd708[_0x2cc142(0x12e)];return _0x4f5d36[_0x2cc142(0xc4)][_0x2cc142(0x126)](_0x2cc142(0xfb)),_0x4f5d36[_0x2cc142(0x124)][_0x2cc142(0x126)](_0x2cc142(0xfb)),_0x4f5d36[_0x2cc142(0xc4)][_0x2cc142(0xc7)](_0x2cc142(0xfb))['to'](_0x57edaa,_0x2cc142(0xfb)),_0x4f5d36[_0x2cc142(0x124)][_0x2cc142(0xc7)](_0x2cc142(0xfb))[_0x2cc142(0xd8)](_0x1027ca,_0x2cc142(0xfb),(..._0x2faba1)=>_0x2faba1[_0x2cc142(0xc1)](_0x289179=>_0x289179)),_0x1dd708['on'](_0x2cc142(0xee),_0x3bf0d7=>{const _0x29af2d=_0x2cc142;this[_0x29af2d(0xed)][_0x29af2d(0xee)](_0x3bf0d7[_0x29af2d(0xae)][_0x29af2d(0xd4)]),this[_0x29af2d(0xed)][_0x29af2d(0x118)][_0x29af2d(0xe1)][_0x29af2d(0xb4)]();}),_0x1dd708;}[_0x45410d(0xb8)](_0x404769,_0x206794,_0x19b060){const _0x1dca7c=_0x45410d,_0x4363c6=new _0x3d5eb7(_0x404769),_0x1deeaa=this[_0x1dca7c(0xed)][_0x1dca7c(0x104)][_0x1dca7c(0x139)](_0x1dca7c(0xbd));_0x4363c6[_0x1dca7c(0x12e)][_0x1dca7c(0xcb)]({'label':_0x19b060,'icon':_0x461dd0});const _0x378a77=new _0x4bb289(_0x404769);for(const _0x55e916 of _0x206794){if(_0x1dca7c(0x131)==_0x55e916[_0x1dca7c(0x116)]){_0x378a77[_0x1dca7c(0x109)][_0x1dca7c(0xbe)](new _0xb88ee5(_0x404769));continue;}const _0x39f20a=new _0x11b74a(_0x404769,_0x4363c6),_0x532fac=new _0x22df03(_0x404769),_0x56a01a=_0x55e916[_0x1dca7c(0xd7)];_0x532fac[_0x1dca7c(0xc7)](...Object[_0x1dca7c(0xfa)](_0x56a01a))['to'](_0x56a01a),_0x532fac[_0x1dca7c(0xbb)](_0x1dca7c(0xee))['to'](_0x4363c6),_0x532fac['on'](_0x1dca7c(0xee),()=>{const _0x562a59=_0x1dca7c;this[_0x562a59(0xed)][_0x562a59(0xee)](_0x56a01a[_0x562a59(0xd4)]),this[_0x562a59(0xed)][_0x562a59(0x118)][_0x562a59(0xe1)][_0x562a59(0xb4)]();}),_0x39f20a[_0x1dca7c(0xfe)][_0x1dca7c(0xbe)](_0x532fac),_0x378a77[_0x1dca7c(0x109)][_0x1dca7c(0xbe)](_0x39f20a);}return _0x4363c6[_0x1dca7c(0xc7)](_0x1dca7c(0xfb))['to'](_0x1deeaa,_0x1dca7c(0xfb)),_0x4363c6[_0x1dca7c(0xdc)][_0x1dca7c(0xfe)][_0x1dca7c(0xbe)](_0x378a77),_0x4363c6;}[_0x45410d(0x135)](_0x5b003e){const _0x1e31e3=_0x45410d,_0x2fbff2=this[_0x1e31e3(0xed)],_0x106a52=_0x2fbff2[_0x1e31e3(0xeb)],_0x418cb6=_0x2fbff2[_0x1e31e3(0xb7)][_0x1e31e3(0x139)](_0x1e31e3(0xf6)),_0x436899=_0x2fbff2[_0x1e31e3(0xb7)][_0x1e31e3(0x139)](_0x1e31e3(0x133)),_0x33b406=_0x2fbff2[_0x1e31e3(0xb7)][_0x1e31e3(0x139)](_0x1e31e3(0x137)),_0x33c931=_0x2fbff2[_0x1e31e3(0xb7)][_0x1e31e3(0x139)](_0x418f58)['me'],_0x16374f=_0x106a52[_0x1e31e3(0x139)](_0x1e31e3(0xbd))[_0x1e31e3(0x105)],{CommentsListView:_0x23e6ff,CommentThreadInputView:_0x50d1b2}=_0x2fbff2[_0x1e31e3(0xb7)][_0x1e31e3(0x139)](_0x1e31e3(0x11d));let _0x1fb0f7,_0x5a4524;this[_0x1e31e3(0xb3)][_0x1e31e3(0x106)](_0x5b003e['id'])?(_0x5a4524=this[_0x1e31e3(0xb3)][_0x1e31e3(0x139)](_0x5b003e['id']),_0x1fb0f7=_0x5a4524[_0x1e31e3(0xc8)]):(_0x1fb0f7=new _0x16374f(_0x2fbff2[_0x1e31e3(0xe9)],_0x5b003e,_0x33c931,{'disableComments':this[_0x1e31e3(0x132)],'editorConfig':_0x106a52[_0x1e31e3(0x139)](_0x1e31e3(0x111)),'maxCommentsWhenCollapsed':_0x106a52[_0x1e31e3(0x139)](_0x1e31e3(0xd9)),'maxThreadTotalWeight':_0x106a52[_0x1e31e3(0x139)](_0x1e31e3(0xef)),'maxCommentCharsWhenCollapsed':_0x106a52[_0x1e31e3(0x139)](_0x1e31e3(0x108)),'formatDateTime':_0x1f93e9(_0x106a52[_0x1e31e3(0x139)](_0x1e31e3(0xe9))),'CommentView':_0x106a52[_0x1e31e3(0x139)](_0x1e31e3(0x114))[_0x1e31e3(0x12b)],'CommentsListView':_0x23e6ff,'CommentThreadInputView':_0x50d1b2}),_0x1fb0f7[_0x1e31e3(0xf5)]['on'](_0x1e31e3(0xee),()=>{const _0x286a53=_0x1e31e3;_0x2fbff2[_0x286a53(0x118)][_0x286a53(0xe1)][_0x286a53(0xb4)]();}),_0x1fb0f7[_0x1e31e3(0xb2)]['on'](_0x1e31e3(0xee),()=>{const _0x4fdebd=_0x1e31e3;_0x2fbff2[_0x4fdebd(0x118)][_0x4fdebd(0xe1)][_0x4fdebd(0xb4)]();}),_0x5a4524=_0x418cb6[_0x1e31e3(0x13b)](this[_0x1e31e3(0xed)][_0x1e31e3(0xe9)],_0x1fb0f7),_0x5a4524[_0x1e31e3(0xc7)](_0x1e31e3(0x10a))['to'](_0x1fb0f7,_0x1e31e3(0x10a)),_0x5a4524[_0x1e31e3(0xc7)](_0x1e31e3(0x129))['to'](_0x1fb0f7),_0x5a4524[_0x1e31e3(0xc7)](_0x1e31e3(0x116))['to'](_0x1fb0f7,_0x1e31e3(0x116),_0x571a8d=>_0x1e31e3(0xc0)+_0x571a8d),this[_0x1e31e3(0xb3)][_0x1e31e3(0xcb)](_0x5b003e['id'],_0x5a4524));const _0x220700=_0x436899[_0x1e31e3(0x125)](_0x5b003e[_0x1e31e3(0x10e)],_0x1fb0f7),_0xca2d2=new _0x1a90e3(_0x2fbff2,_0x5b003e,_0x1fb0f7,_0x220700),_0x2bc206=_0x5b003e[_0x1e31e3(0xb5)]()[_0x1e31e3(0xca)](_0x3a1441=>_0x3a1441[_0x1e31e3(0xc6)]);_0x1fb0f7[_0x1e31e3(0xde)]=_0x2fbff2[_0x1e31e3(0xb7)][_0x1e31e3(0x139)](_0x1e31e3(0xdf))[_0x1e31e3(0xe0)][_0x1e31e3(0x13c)](_0x2bc206),this[_0x1e31e3(0x103)][_0x1e31e3(0xcb)](_0x5b003e,_0xca2d2),this[_0x1e31e3(0x123)][_0x1e31e3(0xcb)](_0x1fb0f7,_0xca2d2);const _0x43522f=_0x418cb6[_0x1e31e3(0x112)]({'view':_0x5a4524,'target':()=>{const _0x50ec4d=_0x1e31e3,_0xd85a0d=[],_0x10277a=_0x5b003e[_0x50ec4d(0xb5)]()[_0x50ec4d(0xca)](_0x226ece=>_0x226ece[_0x50ec4d(0xc6)]);for(const _0x16c9e8 of _0x10277a)_0xd85a0d[_0x50ec4d(0x117)](..._0x16c9e8[_0x50ec4d(0x11b)]());return _0x1e09b6(_0x2fbff2[_0x50ec4d(0x118)],_0xd85a0d);},'type':()=>_0x1e31e3(0xc0)+_0xca2d2[_0x1e31e3(0xe1)][_0x1e31e3(0x116)]});_0x436899[_0x1e31e3(0x136)](_0x1fb0f7,_0x43522f),_0x418cb6[_0x1e31e3(0xbe)](_0x43522f),_0x33b406[_0x1e31e3(0xdb)](_0x43522f);}[_0x45410d(0xaf)](_0x2da77a){const _0x79f802=_0x45410d,_0x5601d8=this[_0x79f802(0xed)][_0x79f802(0xb7)][_0x79f802(0x139)](_0x79f802(0x133)),_0x34853a=this[_0x79f802(0xed)][_0x79f802(0xb7)][_0x79f802(0x139)](_0x79f802(0xf6)),_0x58a170=this[_0x79f802(0x103)][_0x79f802(0x139)](_0x2da77a),_0x455986=_0x58a170[_0x79f802(0xe1)],_0x5d65cc=_0x34853a[_0x79f802(0xb6)](_0x455986);_0x5601d8[_0x79f802(0x138)](_0x455986),_0x5d65cc&&_0x34853a[_0x79f802(0x122)](_0x5d65cc),this[_0x79f802(0x103)][_0x79f802(0xbc)](_0x2da77a),this[_0x79f802(0x123)][_0x79f802(0xbc)](_0x455986),_0x58a170[_0x79f802(0xc3)]();}[_0x45410d(0x12f)](_0x27abbd){const _0x316615=_0x45410d;if(!_0x27abbd[_0x316615(0xc6)]||!this[_0x316615(0x103)][_0x316615(0x106)](_0x27abbd))return;const _0x413a63=this[_0x316615(0xed)][_0x316615(0xb7)][_0x316615(0x139)](_0x316615(0xdf)),_0x3269c7=this[_0x316615(0x103)][_0x316615(0x139)](_0x27abbd),_0xd4a3ea=_0x27abbd[_0x316615(0xb5)]();_0x3269c7[_0x316615(0xe1)][_0x316615(0xde)]=_0x413a63[_0x316615(0xe0)][_0x316615(0x13c)](_0xd4a3ea);}[_0x45410d(0xc3)](){const _0x2ee489=_0x45410d;for(const _0x22b988 of this[_0x2ee489(0x103)][_0x2ee489(0xfa)]())this[_0x2ee489(0xaf)](_0x22b988);for(const _0x38cdd1 of this[_0x2ee489(0xb3)][_0x2ee489(0xd5)]())_0x38cdd1[_0x2ee489(0xc8)][_0x2ee489(0xc3)]();super[_0x2ee489(0xc3)]();}}function ae(_0x3c7a11){const _0x472773=_0x45410d;return _0x472773(0xd7)in _0x3c7a11;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a9e83=_0x4afc;(function(_0x30dded,_0x731817){const _0x28d7f0=_0x4afc,_0x53430a=_0x30dded();while(!![]){try{const _0x46cd06=-parseInt(_0x28d7f0(0x1ba))/0x1*(-parseInt(_0x28d7f0(0x1b0))/0x2)+-parseInt(_0x28d7f0(0x1be))/0x3+parseInt(_0x28d7f0(0x1b6))/0x4*(-parseInt(_0x28d7f0(0x1a7))/0x5)+parseInt(_0x28d7f0(0x1c2))/0x6*(parseInt(_0x28d7f0(0x1bb))/0x7)+parseInt(_0x28d7f0(0x1ab))/0x8+parseInt(_0x28d7f0(0x1b3))/0x9*(parseInt(_0x28d7f0(0x19f))/0xa)+-parseInt(_0x28d7f0(0x1bc))/0xb*(parseInt(_0x28d7f0(0x1b5))/0xc);if(_0x46cd06===_0x731817)break;else _0x53430a['push'](_0x53430a['shift']());}catch(_0xff417f){_0x53430a['push'](_0x53430a['shift']());}}}(_0x3b73,0x7d17a));import{ObservableMixin as _0xec1ca7}from'ckeditor5/src/utils.js';function _0x3b73(){const _0x5d0fc=['_acceptCommand','_editor','canDiscard','plugins','_discardCommand','5nsMTMA','locale','canEditAt','change:isDirty','5799504hKYvZM','get','_removePendingAction','stopListening','isDirty','948UjcHom','canAccept','discardSuggestion','1389924lCChoz','PENDING_ACTION_SUGGESTION','36LKMXsd','118468kvSoBP','commentThreadController','PendingActions','isEnabled','1957lRxZXY','1804663Hsimpn','2016883rknvRN','remove','2918241PFvzbP','view','model','listenTo','6kPFihU','_pendingAction','execute','getRanges','acceptSuggestion','destroy','_setPendingAction','bind','add','10rJyzXI','commands','unbind'];_0x3b73=function(){return _0x5d0fc;};return _0x3b73();}import{getTranslation as _0x509fdc}from'../utils/common-translations.js';function _0x4afc(_0x9457ab,_0x325768){const _0x3b7399=_0x3b73();return _0x4afc=function(_0x4afc74,_0x192617){_0x4afc74=_0x4afc74-0x199;let _0x10fa9f=_0x3b7399[_0x4afc74];return _0x10fa9f;},_0x4afc(_0x9457ab,_0x325768);}export default class oe extends _0xec1ca7(){constructor(_0x29e266,_0x453107,_0x30a437,_0x3acd83){const _0x48d10e=_0x4afc;super(),this[_0x48d10e(0x1c0)]=_0x453107,this[_0x48d10e(0x1bf)]=_0x30a437,this[_0x48d10e(0x1b7)]=_0x3acd83,this[_0x48d10e(0x1a3)]=_0x29e266,this[_0x48d10e(0x1a2)]=_0x29e266[_0x48d10e(0x1a0)][_0x48d10e(0x1ac)](_0x48d10e(0x19a)),this[_0x48d10e(0x1a6)]=_0x29e266[_0x48d10e(0x1a0)][_0x48d10e(0x1ac)](_0x48d10e(0x1b2)),this[_0x48d10e(0x1bf)][_0x48d10e(0x19d)](_0x48d10e(0x1b9))['to'](this[_0x48d10e(0x1a2)],this[_0x48d10e(0x1a6)],(_0x440cf9,_0x4df150)=>_0x440cf9||_0x4df150),this[_0x48d10e(0x1bf)][_0x48d10e(0x19d)](_0x48d10e(0x1b1))['to'](this[_0x48d10e(0x1a2)],_0x48d10e(0x1b9),_0x353e3a=>_0x353e3a&&this[_0x48d10e(0x1a3)][_0x48d10e(0x1c0)][_0x48d10e(0x1a9)](_0x453107[_0x48d10e(0x199)]())),this[_0x48d10e(0x1bf)][_0x48d10e(0x19d)](_0x48d10e(0x1a4))['to'](this[_0x48d10e(0x1a6)],_0x48d10e(0x1b9),_0x15e563=>_0x15e563&&this[_0x48d10e(0x1a3)][_0x48d10e(0x1c0)][_0x48d10e(0x1a9)](_0x453107[_0x48d10e(0x199)]())),this[_0x48d10e(0x1c3)]=null,_0x30a437[_0x48d10e(0x1af)]&&this[_0x48d10e(0x19c)](),this[_0x48d10e(0x1c1)](_0x30a437,_0x48d10e(0x19a),()=>this[_0x48d10e(0x19a)]()),this[_0x48d10e(0x1c1)](_0x30a437,_0x48d10e(0x1b2),()=>this[_0x48d10e(0x1b2)]()),this[_0x48d10e(0x1c1)](_0x30a437,_0x48d10e(0x1aa),()=>{const _0x3c039c=_0x48d10e;_0x30a437[_0x3c039c(0x1af)]?this[_0x3c039c(0x19c)]():this[_0x3c039c(0x1ad)]();});}[_0x3a9e83(0x19a)](){const _0x5cef69=_0x3a9e83;this[_0x5cef69(0x1a2)][_0x5cef69(0x1c4)](this[_0x5cef69(0x1c0)]['id']);}[_0x3a9e83(0x1b2)](){const _0x537500=_0x3a9e83;this[_0x537500(0x1a6)][_0x537500(0x1c4)](this[_0x537500(0x1c0)]['id']);}[_0x3a9e83(0x19b)](){const _0x1fede3=_0x3a9e83;this[_0x1fede3(0x1bf)][_0x1fede3(0x1a1)](_0x1fede3(0x1b9)),this[_0x1fede3(0x1bf)][_0x1fede3(0x1a1)](_0x1fede3(0x1b1)),this[_0x1fede3(0x1bf)][_0x1fede3(0x1a1)](_0x1fede3(0x1a4)),this[_0x1fede3(0x1ae)](),this[_0x1fede3(0x1b7)][_0x1fede3(0x19b)](),this[_0x1fede3(0x1c3)]&&this[_0x1fede3(0x1ad)]();}[_0x3a9e83(0x19c)](){const _0xcc8af4=_0x3a9e83,_0x296fe1=_0x509fdc(this[_0xcc8af4(0x1a3)][_0xcc8af4(0x1a8)],_0xcc8af4(0x1b4));this[_0xcc8af4(0x1c3)]=this[_0xcc8af4(0x1a3)][_0xcc8af4(0x1a5)][_0xcc8af4(0x1ac)](_0xcc8af4(0x1b8))[_0xcc8af4(0x19e)](_0x296fe1);}[_0x3a9e83(0x1ad)](){const _0xcdd57=_0x3a9e83;null!==this[_0xcdd57(0x1c3)]&&this[_0xcdd57(0x1a3)][_0xcdd57(0x1a5)][_0xcdd57(0x1ac)](_0xcdd57(0x1b8))[_0xcdd57(0x1bd)](this[_0xcdd57(0x1c3)]),this[_0xcdd57(0x1c3)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1834e8=_0x3ee5;(function(_0x246a1b,_0x7da5ce){const _0x613867=_0x3ee5,_0x25086b=_0x246a1b();while(!![]){try{const _0xe987e4=-parseInt(_0x613867(0x1af))/0x1+parseInt(_0x613867(0x1a6))/0x2+-parseInt(_0x613867(0x19e))/0x3*(-parseInt(_0x613867(0x194))/0x4)+-parseInt(_0x613867(0x184))/0x5+parseInt(_0x613867(0x19a))/0x6*(parseInt(_0x613867(0x19d))/0x7)+-parseInt(_0x613867(0x1ac))/0x8+parseInt(_0x613867(0x1ab))/0x9*(parseInt(_0x613867(0x1b1))/0xa);if(_0xe987e4===_0x7da5ce)break;else _0x25086b['push'](_0x25086b['shift']());}catch(_0x3935a0){_0x25086b['push'](_0x25086b['shift']());}}}(_0x17e0,0xc4705));import{View as _0x6166ed}from'ckeditor5/src/ui.js';function _0x3ee5(_0xb5700d,_0x32c7a6){const _0x17e00b=_0x17e0();return _0x3ee5=function(_0x3ee5b0,_0xcefec9){_0x3ee5b0=_0x3ee5b0-0x184;let _0x473ac1=_0x17e00b[_0x3ee5b0];return _0x473ac1;},_0x3ee5(_0xb5700d,_0x32c7a6);}export default class es extends _0x6166ed{constructor(_0x5ec3f1,_0x111fc7,_0x4d9647,_0x5838ad){const _0x424fb2=_0x3ee5;super(_0x5ec3f1),this[_0x424fb2(0x1b6)]=null,this[_0x424fb2(0x197)]=null,this[_0x424fb2(0x196)](_0x424fb2(0x19c),!0x1),this[_0x424fb2(0x196)](_0x424fb2(0x18a),_0x111fc7[_0x424fb2(0x18a)]),this[_0x424fb2(0x18d)](_0x424fb2(0x18a))['to'](_0x111fc7),this[_0x424fb2(0x196)](_0x424fb2(0x1a4),[]),this[_0x424fb2(0x196)](_0x424fb2(0x1b3),!0x1),this[_0x424fb2(0x196)](_0x424fb2(0x1a9),!0x1),this[_0x424fb2(0x196)](_0x424fb2(0x1a0),!0x1),this[_0x424fb2(0x196)](_0x424fb2(0x188),!0x1),this[_0x424fb2(0x185)]=_0x111fc7,this[_0x424fb2(0x1b4)]=_0x4d9647,this[_0x424fb2(0x1b5)]=_0x5838ad,_0x5838ad[_0x424fb2(0x1a1)]?this[_0x424fb2(0x196)](_0x424fb2(0x19b),0x1):this[_0x424fb2(0x198)]();}[_0x1834e8(0x18b)](){const _0x545153=_0x1834e8;this[_0x545153(0x1aa)][_0x545153(0x18b)]();}[_0x1834e8(0x1a8)](){const _0x2313fe=_0x1834e8;this[_0x2313fe(0x1b6)]&&this[_0x2313fe(0x1b6)][_0x2313fe(0x1a8)](),this[_0x2313fe(0x197)]&&this[_0x2313fe(0x197)][_0x2313fe(0x1a8)](),super[_0x2313fe(0x1a8)]();}[_0x1834e8(0x198)](){const _0x294404=_0x1834e8,{CommentsListView:_0x3cf573}=this[_0x294404(0x1b5)];this[_0x294404(0x1b6)]=new _0x3cf573(this[_0x294404(0x199)],this[_0x294404(0x185)][_0x294404(0x1b2)],Object[_0x294404(0x189)]({'CommentView':this[_0x294404(0x1b5)][_0x294404(0x191)]},this[_0x294404(0x1b5)])),this[_0x294404(0x1b6)][_0x294404(0x190)](_0x294404(0x1a5))['to'](this),this[_0x294404(0x1b6)][_0x294404(0x190)](_0x294404(0x1b0))['to'](this),this[_0x294404(0x1b6)][_0x294404(0x18d)](_0x294404(0x19c))['to'](this),this[_0x294404(0x196)](_0x294404(0x19b),this[_0x294404(0x1b6)][_0x294404(0x19b)]+0x1),this[_0x294404(0x18d)](_0x294404(0x19b))['to'](this[_0x294404(0x1b6)],_0x294404(0x19b),_0x34ce49=>_0x34ce49+0x1),this[_0x294404(0x197)]=this[_0x294404(0x1ae)](),this['on'](_0x294404(0x1a5),()=>this[_0x294404(0x18b)]()),this[_0x294404(0x18d)](_0x294404(0x1b3))['to'](this[_0x294404(0x1b6)],_0x294404(0x193),this[_0x294404(0x197)][_0x294404(0x18e)],_0x294404(0x18c),(_0x10a975,_0xde7515)=>_0x10a975||!!_0xde7515);}[_0x1834e8(0x1ae)](){const _0x1053d3=_0x1834e8,{CommentThreadInputView:_0x195c96}=this[_0x1053d3(0x1b5)],_0x357937=new _0x195c96(this[_0x1053d3(0x199)],this[_0x1053d3(0x1b4)],this[_0x1053d3(0x1b5)][_0x1053d3(0x195)]),_0x5d9f7d=_0x357937[_0x1053d3(0x18e)];return _0x357937[_0x1053d3(0x18d)](_0x1053d3(0x187))['to'](this,_0x1053d3(0x19c),this[_0x1053d3(0x185)][_0x1053d3(0x1b2)],_0x1053d3(0x1a7),_0x5d9f7d,_0x1053d3(0x18c),(_0x259c0e,_0x10ad3a,_0x16d350)=>!!_0x16d350||_0x259c0e&&!_0x10ad3a),_0x5d9f7d['on'](_0x1053d3(0x1a2),(_0x2d36cf,_0x4551f8)=>{const _0x5313e8=_0x1053d3;this[_0x5313e8(0x1ad)](_0x5313e8(0x1a3),_0x4551f8),_0x5d9f7d[_0x5313e8(0x18f)][_0x5313e8(0x186)]('');}),_0x5d9f7d['on'](_0x1053d3(0x192),()=>this[_0x1053d3(0x18b)]()),_0x5d9f7d[_0x1053d3(0x18d)](_0x1053d3(0x19f))['to'](this[_0x1053d3(0x185)][_0x1053d3(0x1b2)],_0x1053d3(0x1a7)),_0x357937;}}function _0x17e0(){const _0x558a5d=['fire','_createCommentThreadInputView','681333YXrdEX','updateComment','21447130TFdYoH','commentThread','isDirty','_localUser','_config','commentsListView','2715670PchUux','_model','setData','showInput','canDiscard','assign','authoredAt','focus','value','bind','commentInputView','editor','delegate','CommentView','cancel','hasDirtyComment','54508Pcsuto','editorConfig','set','commentThreadInputView','_createCommentViews','locale','366fuJeWT','length','isActive','52066VmpzGJ','39xUXcCW','disabledSubmit','canAccept','disableComments','submit','addComment','descriptionParts','removeComment','899260UrgWKy','isReadOnly','destroy','isEnabled','element','9IlYYHK','9569056aLSQBQ'];_0x17e0=function(){return _0x558a5d;};return _0x17e0();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x14ed77=_0x40aa;function _0x13c8(){const _0x580671=['discardButton','ck-suggestion--accept','render','EXTERNAL_SUGGESTION','innerHTML','@external','ck-suggestion__info','648654WJcAXg','description','value','createElement','1562478qCBoGm','element','isExternal','5dLLliB','execute','ck-annotation__info-time','<p>','EXTERNAL_AVATAR','ck-annotation__info-name','fire','importWord','discardSuggestion','ck-suggestion','commentsListView','delegate','div','ck-comment__info-time','ck-suggestion__user','\x22\x20title=\x22','.ck-annotation__content-wrapper','495578djEmYl','3443980jGXOsN','ck-annotation__info','getUserViewNotificationText','7aFIwDu','Discard\x20suggestion','name','8288qSQYNS','children','title','507004byvUNT','ck-annotation__actions','ck-annotation','ck-comment__external','ck-suggestion__actions','descriptionParts','userView','authoredAt','join','2764305dVnWeX','creator','author','map','ck-suggestion-','ck-annotation__content-wrapper','commentThread','source','_createButton','bindTemplate','color','split','commentThreadInputView','ck-suggestion__main','getTemplate','ck-annotation__main','setTemplate','EXTERNAL_IMPORT_WORD_SUGGESTION','span','querySelector','<span\x20class=\x22ck-suggestion-type\x22>','1647psXAVz','set','type','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','content','extendTemplate','editorReady','push','EXTERNAL_IMPORT_WORD_AVATAR','canAccept','cancel','disableComments','ck-suggestion-wrapper--active','Accept\x20suggestion','locale','innerText','acceptButton','attributes','formatDateTime','ck-annotation__user','_model','_config','acceptSuggestion','</span>','getExternalSuggestionNote','canDiscard','bind','</p>','\x22></span>','ck-suggestion--disabled-comments','isEnabled','_descriptionElement','ck-suggestion--discard','check','isActive','ck-suggestion-wrapper','time','ck-suggestion__info-name','change:description','editorDestroyed'];_0x13c8=function(){return _0x580671;};return _0x13c8();}(function(_0x407187,_0x19d20f){const _0x5c8362=_0x40aa,_0x217698=_0x407187();while(!![]){try{const _0x59e49a=-parseInt(_0x5c8362(0x15e))/0x1+parseInt(_0x5c8362(0x107))/0x2+parseInt(_0x5c8362(0x11a))/0x3+-parseInt(_0x5c8362(0x111))/0x4*(parseInt(_0x5c8362(0xf6))/0x5)+-parseInt(_0x5c8362(0x162))/0x6*(-parseInt(_0x5c8362(0x10b))/0x7)+parseInt(_0x5c8362(0x10e))/0x8*(parseInt(_0x5c8362(0x12f))/0x9)+-parseInt(_0x5c8362(0x108))/0xa;if(_0x59e49a===_0x19d20f)break;else _0x217698['push'](_0x217698['shift']());}catch(_0x242be8){_0x217698['push'](_0x217698['shift']());}}}(_0x13c8,0x79ede));function _0x40aa(_0x4df710,_0x13c534){const _0x13c815=_0x13c8();return _0x40aa=function(_0x40aa17,_0x459f74){_0x40aa17=_0x40aa17-0xf4;let _0x3bec99=_0x13c815[_0x40aa17];return _0x3bec99;},_0x40aa(_0x4df710,_0x13c534);}import{getTranslation as _0x35a332}from'../../utils/common-translations.js';import{default as _0x3096c2}from'./basesuggestionthreadview.js';import{ButtonView as _0x1dc4a3}from'ckeditor5/src/ui.js';import{icons as _0x1693b7}from'ckeditor5/src/core.js';import{trimHtml as _0x2dd4be,UserView as _0x439623}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x3096c2{constructor(_0x5893e4,_0x3a435d,_0x81ae13,_0x52966d){const _0x3bb013=_0x40aa;super(_0x5893e4,_0x3a435d,_0x81ae13,_0x52966d),this[_0x3bb013(0x130)](_0x3bb013(0x131),''),this[_0x3bb013(0x149)](_0x3bb013(0x131))['to'](this,_0x3bb013(0x116),_0x2263c2=>_0x2263c2&&_0x2263c2[0x0]?_0x2263c2[0x0][_0x3bb013(0x131)]:''),this[_0x3bb013(0x149)](_0x3bb013(0x15f))['to'](this,_0x3bb013(0x116),this,_0x3bb013(0x151),(_0xe12334,_0x146f87)=>{const _0x3041bf=_0x3bb013;let _0x98f214='';for(const _0x5eaa44 of _0xe12334)_0x98f214+=_0x3041bf(0xf9)+ds(_0x5eaa44[_0x3041bf(0x133)],_0x5eaa44[_0x3041bf(0x124)])+_0x3041bf(0x14a);return _0x146f87?_0x98f214:_0x2dd4be(_0x98f214,{'limit':0x8c});}),this[_0x3bb013(0x14e)]=null,this[_0x3bb013(0x13f)]=this[_0x3bb013(0x122)](_0x35a332(_0x5893e4,_0x3bb013(0x13c)),_0x1693b7[_0x3bb013(0x150)],_0x3bb013(0x158),_0x3bb013(0x145),'sw'),this[_0x3bb013(0x13f)][_0x3bb013(0x149)](_0x3bb013(0x14d))['to'](this,_0x3bb013(0x138)),this[_0x3bb013(0x157)]=this[_0x3bb013(0x122)](_0x35a332(_0x5893e4,_0x3bb013(0x10c)),_0x1693b7[_0x3bb013(0x139)],_0x3bb013(0x14f),_0x3bb013(0xfe),'sw'),this[_0x3bb013(0x157)][_0x3bb013(0x149)](_0x3bb013(0x14d))['to'](this,_0x3bb013(0x148)),this[_0x3bb013(0x117)]=new _0x439623(_0x5893e4,this[_0x3bb013(0x143)][_0x3bb013(0x11c)],this[_0x3bb013(0x10a)]()),this[_0x3bb013(0x117)][_0x3bb013(0x134)]({'attributes':{'class':[_0x3bb013(0x104),_0x3bb013(0x142)]}}),this[_0x3bb013(0x12a)](this[_0x3bb013(0x128)]());}[_0x14ed77(0x128)](){const _0x886c4a=_0x14ed77,_0x43077b=this[_0x886c4a(0x123)],_0x506bac=[{'tag':_0x886c4a(0x102),'attributes':{'class':[_0x886c4a(0x15d),_0x886c4a(0x109)]},'children':[{'tag':_0x886c4a(0x12c),'children':[{'text':this[_0x886c4a(0x117)][_0x886c4a(0x10d)]}],'attributes':{'class':[_0x886c4a(0x154),_0x886c4a(0xfb)]}},{'tag':_0x886c4a(0x153),'attributes':{'datetime':_0x43077b['to'](_0x886c4a(0x118)),'class':[_0x886c4a(0x103),_0x886c4a(0xf8)]},'children':[{'text':_0x43077b['to'](_0x886c4a(0x118),_0x5bedd1=>this[_0x886c4a(0x144)][_0x886c4a(0x141)](_0x5bedd1))}]}]},{'tag':_0x886c4a(0x102),'attributes':{'class':[_0x886c4a(0x115),_0x886c4a(0x112)]},'children':[this[_0x886c4a(0x13f)],this[_0x886c4a(0x157)]]},{'tag':_0x886c4a(0x102),'attributes':{'class':[_0x886c4a(0x11f)]}}];this[_0x886c4a(0x143)][_0x886c4a(0xf5)]&&_0x506bac[_0x886c4a(0x136)]({'tag':_0x886c4a(0x102),'attributes':{'class':[_0x886c4a(0x114)]},'children':[{'text':this[_0x886c4a(0x147)]()}]});const _0x3d1fbb={'tag':_0x886c4a(0x102),'attributes':{'class':[_0x886c4a(0x152),_0x43077b['if'](_0x886c4a(0x151),_0x886c4a(0x13b)),_0x43077b['to'](_0x886c4a(0x131),_0x2a7e9c=>_0x886c4a(0x11e)+_0x2a7e9c),this[_0x886c4a(0x144)][_0x886c4a(0x13a)]&&_0x886c4a(0x14c)],'data-suggestion-id':this[_0x886c4a(0x143)]['id'],'data-thread-id':this[_0x886c4a(0x143)][_0x886c4a(0x120)]['id'],'data-author-id':this[_0x886c4a(0x143)][_0x886c4a(0x11c)]['id'],'tabindex':-0x1},'children':[{'tag':_0x886c4a(0x102),'attributes':{'class':[_0x886c4a(0xff),_0x886c4a(0x113)]},'children':[this[_0x886c4a(0x117)],{'tag':_0x886c4a(0x102),'attributes':{'class':[_0x886c4a(0x127),_0x886c4a(0x129)]},'children':_0x506bac}]}]};return this[_0x886c4a(0x100)]&&this[_0x886c4a(0x126)]&&(_0x3d1fbb[_0x886c4a(0x10f)][_0x886c4a(0x136)](this[_0x886c4a(0x100)],this[_0x886c4a(0x126)]),this[_0x886c4a(0x100)][_0x886c4a(0x101)](_0x886c4a(0x135))['to'](this),this[_0x886c4a(0x100)][_0x886c4a(0x101)](_0x886c4a(0x156))['to'](this),this[_0x886c4a(0x126)][_0x886c4a(0x101)](_0x886c4a(0x135))['to'](this),this[_0x886c4a(0x126)][_0x886c4a(0x101)](_0x886c4a(0x156))['to'](this)),_0x3d1fbb;}[_0x14ed77(0x159)](){const _0x2e7fce=_0x14ed77;super[_0x2e7fce(0x159)](),this[_0x2e7fce(0x14e)]=this[_0x2e7fce(0xf4)][_0x2e7fce(0x12d)](_0x2e7fce(0x106)),this[_0x2e7fce(0x14e)][_0x2e7fce(0x15b)]=this[_0x2e7fce(0x15f)],this['on'](_0x2e7fce(0x155),(_0x15eaac,_0x3a08ea,_0x54d275)=>{const _0x4fced8=_0x2e7fce;this[_0x4fced8(0x14e)][_0x4fced8(0x15b)]=_0x54d275;});}[_0x14ed77(0x122)](_0xd10a27,_0x5cc726,_0x585f39,_0x4f3a03,_0x5c4bc0){const _0x48c8ba=_0x14ed77,_0x385c1a=new _0x1dc4a3(this[_0x48c8ba(0x13d)]);return _0x385c1a[_0x48c8ba(0x130)]({'label':_0xd10a27,'icon':_0x5cc726,'tooltip':!0x0,'tooltipPosition':_0x5c4bc0}),_0x385c1a[_0x48c8ba(0x134)]({'attributes':{'class':_0x585f39}}),_0x385c1a['on'](_0x48c8ba(0xf7),()=>{const _0x348a8d=_0x48c8ba;this[_0x348a8d(0xfc)](_0x4f3a03,this[_0x348a8d(0x143)]['id']);}),_0x385c1a;}[_0x14ed77(0x147)](){const _0x2b7f06=_0x14ed77;return _0x2b7f06(0xfd)===this[_0x2b7f06(0x143)][_0x2b7f06(0x140)][_0x2b7f06(0x15c)][_0x2b7f06(0x121)]?_0x35a332(this[_0x2b7f06(0x13d)],_0x2b7f06(0x12b)):_0x35a332(this[_0x2b7f06(0x13d)],_0x2b7f06(0x15a));}[_0x14ed77(0x10a)](){const _0x22bfcf=_0x14ed77;return this[_0x22bfcf(0x143)][_0x22bfcf(0xf5)]?_0x22bfcf(0xfd)===this[_0x22bfcf(0x143)][_0x22bfcf(0x140)][_0x22bfcf(0x15c)][_0x22bfcf(0x121)]?_0x35a332(this[_0x22bfcf(0x13d)],_0x22bfcf(0x137),this[_0x22bfcf(0x143)][_0x22bfcf(0x11b)][_0x22bfcf(0x10d)]):_0x35a332(this[_0x22bfcf(0x13d)],_0x22bfcf(0xfa),this[_0x22bfcf(0x143)][_0x22bfcf(0x11b)][_0x22bfcf(0x10d)]):null;}}function ds(_0x36deb4,_0x160e3a){const _0x734f6=_0x14ed77;let _0x1e368d='';return _0x1e368d+=_0x36deb4[_0x734f6(0x125)]('*')[_0x734f6(0x11d)]((_0x113c06,_0x528870)=>_0x528870%0x2!=0x0?_0x734f6(0x12e)+us(_0x113c06)+_0x734f6(0x146):us(_0x113c06))[_0x734f6(0x119)](''),_0x160e3a&&(_0x1e368d+=_0x734f6(0x132)+_0x160e3a[_0x734f6(0x160)]+_0x734f6(0x105)+_0x160e3a[_0x734f6(0x110)]+_0x734f6(0x14b)),_0x1e368d;}function us(_0x21ffca){const _0x313a72=_0x14ed77,_0x59210d=document[_0x313a72(0x161)](_0x313a72(0x12c));return _0x59210d[_0x313a72(0x13e)]=_0x21ffca,_0x59210d[_0x313a72(0x15b)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x209e2d,_0x4a3902,_0x118d13){const t=_0x209e2d['t'];switch(_0x4a3902){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',_0x118d13);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x118d13);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x118d13);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x118d13);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x118d13);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',_0x118d13);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x118d13);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',_0x118d13);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x118d13);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x118d13);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x118d13);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x118d13);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x118d13);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x118d13);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x118d13);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x118d13);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x118d13);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x118d13);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x118d13);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x118d13);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x118d13);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x118d13);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x118d13);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'},_0x118d13);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x118d13);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x118d13);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x118d13);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x118d13);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x118d13);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'},_0x118d13);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x118d13);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x118d13);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x118d13);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x118d13);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'},_0x118d13);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x118d13);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'},_0x118d13);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'},_0x118d13);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x118d13);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'},_0x118d13);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x118d13);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'},_0x118d13);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x118d13);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x118d13);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'},_0x118d13);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'},_0x118d13);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 _0x4a3902;}}
|
|
23
|
+
export function getTranslation(_0x11adb8,_0x2afeae,_0x1714b4){const t=_0x11adb8['t'];switch(_0x2afeae){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',_0x1714b4);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1714b4);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1714b4);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1714b4);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1714b4);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',_0x1714b4);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1714b4);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',_0x1714b4);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1714b4);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1714b4);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1714b4);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1714b4);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1714b4);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1714b4);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1714b4);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1714b4);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1714b4);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1714b4);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1714b4);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1714b4);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1714b4);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1714b4);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1714b4);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'},_0x1714b4);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1714b4);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1714b4);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1714b4);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1714b4);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1714b4);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'},_0x1714b4);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1714b4);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1714b4);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1714b4);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1714b4);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'},_0x1714b4);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1714b4);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'},_0x1714b4);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'},_0x1714b4);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1714b4);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'},_0x1714b4);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1714b4);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'},_0x1714b4);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1714b4);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1714b4);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'},_0x1714b4);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'},_0x1714b4);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 _0x2afeae;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3d8fce,_0x4eb963){const _0x43e663=_0x1eab,_0x2e2ff3=_0x3d8fce();while(!![]){try{const _0x5b7440=-parseInt(_0x43e663(0x110))/0x1*(parseInt(_0x43e663(0x123))/0x2)+parseInt(_0x43e663(0x10e))/0x3+-parseInt(_0x43e663(0x11d))/0x4*(parseInt(_0x43e663(0x11c))/0x5)+-parseInt(_0x43e663(0xfe))/0x6*(parseInt(_0x43e663(0x10f))/0x7)+-parseInt(_0x43e663(0x101))/0x8+parseInt(_0x43e663(0x102))/0x9+parseInt(_0x43e663(0x10a))/0xa;if(_0x5b7440===_0x4eb963)break;else _0x2e2ff3['push'](_0x2e2ff3['shift']());}catch(_0xe21b93){_0x2e2ff3['push'](_0x2e2ff3['shift']());}}}(_0x4ad0,0x1e6ed));export function normalizeDescription(_0x73597c){const _0x1ec57a=_0x1eab;return Array[_0x1ec57a(0x10c)](_0x73597c)||(_0x73597c=[_0x73597c]),_0x73597c[_0x1ec57a(0x113)](_0x1e16f0=>{const _0x12aacf=_0x1ec57a,_0x4301ec=_0x1e16f0[_0x12aacf(0x118)][_0x12aacf(0x117)](/\*/g,''),_0x1d7b2d=_0x1e16f0[_0x12aacf(0x11f)]?_0x12aacf(0x115)+_0x1e16f0[_0x12aacf(0x11f)][_0x12aacf(0xfa)]+']':'';return'['+_0x1e16f0[_0x12aacf(0x116)]+']\x20'+_0x4301ec+_0x1d7b2d;})[_0x1ec57a(0x112)](';\x20');}function _0x1eab(_0x412d88,_0x55e809){const _0x4ad0db=_0x4ad0();return _0x1eab=function(_0x1eab1b,_0x5c0439){_0x1eab1b=_0x1eab1b-0xf9;let _0x55e842=_0x4ad0db[_0x1eab1b];return _0x55e842;},_0x1eab(_0x412d88,_0x55e809);}export function sortSuggestions(_0x19768c){const _0x285a0a=_0x1eab;return _0x19768c[_0x285a0a(0x107)]((_0x4ec136,_0x58f402)=>_0x285a0a(0x103)==_0x4ec136[_0x285a0a(0x116)]&&_0x285a0a(0x103)!=_0x58f402[_0x285a0a(0x116)]?-0x1:_0x285a0a(0x103)!=_0x4ec136[_0x285a0a(0x116)]&&_0x285a0a(0x103)==_0x58f402[_0x285a0a(0x116)]?0x1:0x0);}export function getSelectedSuggestions(_0x289933,_0x25c9c3){const _0x5b758b=_0x1eab,_0x904f70=Array[_0x5b758b(0x108)](_0x289933[_0x5b758b(0x104)]()),_0x45b81d=new Set();for(const _0x492d0a of _0x25c9c3)if(_0x492d0a[_0x5b758b(0x10b)]){for(const _0x57f4ec of _0x904f70)for(const _0x418bed of _0x492d0a[_0x5b758b(0x104)]())(_0x57f4ec[_0x5b758b(0x11a)](_0x418bed)||_0x289933[_0x5b758b(0x11b)]&&!_0x492d0a[_0x5b758b(0x114)]&&_0x492d0a[_0x5b758b(0x122)]&&_0x418bed[_0x5b758b(0x11e)][_0x5b758b(0x109)](_0x57f4ec[_0x5b758b(0x106)]))&&_0x45b81d[_0x5b758b(0x10d)](_0x492d0a);}return _0x45b81d;}export function getRangesOfBlockGroups(_0x4a8877,_0x3c2e8a){const _0x26be4b=_0x1eab;let _0x253731,_0x3545cc=0x0;const _0x2a78aa=[],_0x5d7c42=_0x3c2e8a[_0x26be4b(0x100)];for(;_0x3545cc<_0x4a8877[_0x26be4b(0xf9)];){const _0x2aaa15=_0x4a8877[_0x3545cc],_0x58e0f7=_0x4a8877[_0x3545cc+0x1];_0x253731||(_0x253731=_0x3c2e8a[_0x26be4b(0xfb)](_0x2aaa15)),co(_0x3c2e8a,_0x2aaa15,_0x58e0f7)||(_0x2a78aa[_0x26be4b(0xff)](_0x3c2e8a[_0x26be4b(0xfd)](_0x253731,_0x5d7c42[_0x26be4b(0x120)](_0x2aaa15)?_0x3c2e8a[_0x26be4b(0xfc)](_0x2aaa15):_0x3c2e8a[_0x26be4b(0x121)](_0x2aaa15,_0x26be4b(0x11e)))),_0x253731=null),_0x3545cc++;}return _0x2a78aa;}function co(_0x59fda9,_0x4ac9f2,_0x1f4c1b){const _0x4ff812=_0x1eab;if(!_0x1f4c1b)return!0x1;const _0x387be6=_0x59fda9[_0x4ff812(0xfc)](_0x4ac9f2),_0x47a946=_0x59fda9[_0x4ff812(0xfb)](_0x1f4c1b);return _0x387be6[_0x4ff812(0x109)](_0x47a946);}function _0x4ad0(){const _0x2d9875=['2153mLRsNw','execute','join','map','isMultiRange','\x20[color\x20','type','replace','content','change','isIntersecting','isCollapsed','5vKocDg','942824cUOimb','end','color','isObject','createPositionAt','next','178lZvLjT','length','value','createPositionBefore','createPositionAfter','createRange','695406JVzHhq','push','schema','1088232gHEtBx','1123326FlneDX','deletion','getRanges','splice','start','sort','from','isTouching','6725420agTrRs','isInContent','isArray','add','19650huhvFY','7EEIkkK'];_0x4ad0=function(){return _0x2d9875;};return _0x4ad0();}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x3b9a63,_0x16d129,_0x227f1f){const _0x5aabb5=_0x1eab;for(;_0x227f1f[_0x5aabb5(0xf9)];){const _0x58ff17=_0x227f1f[_0x5aabb5(0x105)](0x0,0x64);_0x3b9a63[_0x5aabb5(0x119)](()=>{const _0x2c8fb7=_0x5aabb5;for(const _0x7aa596 of _0x58ff17)_0x7aa596[_0x2c8fb7(0x10b)]&&_0x16d129[_0x2c8fb7(0x111)](_0x7aa596['id']);});}}
|