@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240415.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
|
-
const _0x4d9881=_0x524e;(function(_0x2419a3,_0x2c8558){const _0x10d63f=_0x524e,_0x46e9e9=_0x2419a3();while(!![]){try{const _0x34dff0=-parseInt(_0x10d63f(0x1e5))/0x1+parseInt(_0x10d63f(0x1e1))/0x2*(-parseInt(_0x10d63f(0x1f4))/0x3)+parseInt(_0x10d63f(0x1d3))/0x4*(parseInt(_0x10d63f(0x22f))/0x5)+parseInt(_0x10d63f(0x23c))/0x6*(-parseInt(_0x10d63f(0x1c6))/0x7)+-parseInt(_0x10d63f(0x222))/0x8*(-parseInt(_0x10d63f(0x1cc))/0x9)+parseInt(_0x10d63f(0x1d8))/0xa+parseInt(_0x10d63f(0x1d7))/0xb*(parseInt(_0x10d63f(0x201))/0xc);if(_0x34dff0===_0x2c8558)break;else _0x46e9e9['push'](_0x46e9e9['shift']());}catch(_0x4a52a1){_0x46e9e9['push'](_0x46e9e9['shift']());}}}(_0x1f77,0x69773));import{Plugin as _0x1d918d}from'ckeditor5/src/core.js';import{Collection as _0x23a11e}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x258b23,createDropdown as _0x590ce0,ListSeparatorView as _0x35a246,MenuBarMenuView as _0x4c90d9,MenuBarMenuListView as _0x2c8dae,MenuBarMenuListItemView as _0x50254a,MenuBarMenuListItemButtonView as _0x50de46,SplitButtonView as _0x286416,ViewModel as _0xd97348}from'ckeditor5/src/ui.js';import{Users as _0x3d3c2c,getDateTimeFormatter as _0x140426,getAllMarkersDomElementsSorted as _0x385d41}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x14dd71 from'./trackchangesediting.js';import _0x1aed12 from'./ui/suggestioncontroller.js';function _0x524e(_0x395cc4,_0x4e29e7){const _0x1f77fd=_0x1f77();return _0x524e=function(_0x524e23,_0x274049){_0x524e23=_0x524e23-0x1ae;let _0x432528=_0x1f77fd[_0x524e23];return _0x432528;},_0x524e(_0x395cc4,_0x4e29e7);}import _0x5a4500 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x30a0ef}from'./utils/common-translations.js';import _0x502ce5 from'../theme/icons/track-changes.svg';function _0x1f77(){const _0x56e610=['suggestion-','_viewToController','get','_addUIComponentsToFactory','_destroyController','discardButton','acceptAllSuggestions','descriptionParts','acceptButton','isOn','previous','5087436IkEaXx','_suggestionToController','getRanges','_createMenuBarMenu','isEnabled','comments.maxThreadTotalWeight','_descriptionFactory','Accept\x20all\x20selected\x20suggestions','comments.editorConfig','editor','keys','CommentsUI','head','hasSuggestion','TrackChangesEditing','suggestionUnloaded','commands','commandName','length','_updateController','discardAllSuggestions','view','createAnnotationView','bind','_createToolbarButton','editing','delete','commentThread','switchbutton','componentFactory','config','_handleSuggestionControllerDelayed','TrackChangesUI','11216LDDcBb','_refreshActiveMarkers','getSuggestion','arrowView','source','getJoined','model','mainView','EditorAnnotations','trackChanges','registerAnnotation','change:previous','values','3588930BRZkii','init','activeAnnotations','delegate','innerView','trackChanges.SuggestionThreadView','children','_disableComments','focus','isDirty','panelView','unbind','comments.maxCommentsWhenCollapsed','492GfXYMg','pluginName','menuBar:trackChanges','SuggestionThreadView','isInContent','execute','actionView','createAnnotation','trackChanges.disableComments','remove','value','suggestionChanged','Annotations','CommentView','filter','getAllAdjacentSuggestions','_bindAnnotationToEditors','Accept\x20all\x20suggestions','define','Discard\x20all\x20selected\x20suggestions','getByInnerView','lowest','buttonView','button','addSourceCollector','has','1106cLYfOs','activeMarkers','requires','_unbindEditors','from','Discard\x20all\x20suggestions','2268qVvsCv','getFirstRange','_initializeController','plugins','separator','discardSelectedSuggestions','listenTo','4fHNxmP','change:activeAnnotations','comments','Track\x20changes','11IAXvgM','3676820jQrlCt','locale','type','destroy','reduce','toMany','set','some','addComment','9602BHvhlz','size','clear','_handleControllerBuffer','760045tXtBEu','acceptSelectedSuggestions','add','push','createCommentThreadController','CommentsRepository','isMultiRange','getMarkerNames','refreshSelectedViews','getMarkers','comments.maxCommentCharsWhenCollapsed','items','_annotationViews','getDescriptions','suggestionLoaded','411viabUg','stopListening'];_0x1f77=function(){return _0x56e610;};return _0x1f77();}export default class d extends _0x1d918d{static get[_0x4d9881(0x1c8)](){const _0x20fae2=_0x4d9881;return[_0x14dd71,_0x3d3c2c,_0x20fae2(0x1ea),_0x20fae2(0x1b8),_0x20fae2(0x22a)];}static get[_0x4d9881(0x23d)](){const _0x5a3ada=_0x4d9881;return _0x5a3ada(0x221);}constructor(_0x5e0016){const _0x3d4b8f=_0x4d9881;super(_0x5e0016),this[_0x3d4b8f(0x202)]=new Map(),this[_0x3d4b8f(0x1f7)]=new Map(),this[_0x3d4b8f(0x1f1)]=new Map(),this[_0x3d4b8f(0x1e4)]=new Map();const _0xded441=this[_0x3d4b8f(0x20a)][_0x3d4b8f(0x21f)];_0xded441[_0x3d4b8f(0x1be)](_0x3d4b8f(0x234),_0x5a4500),_0xded441[_0x3d4b8f(0x1be)](_0x3d4b8f(0x1b4),!0x1),this[_0x3d4b8f(0x236)]=_0xded441[_0x3d4b8f(0x1f8)](_0x3d4b8f(0x1b4));}[_0x4d9881(0x220)](_0xcdead5,_0x30f4f3){const _0x3d3ca7=_0x4d9881;0x0===this[_0x3d3ca7(0x1e4)][_0x3d3ca7(0x1e2)]&&setTimeout(()=>{const _0xc3fab3=_0x3d3ca7;for(const [_0x1ef931,_0x2856d0]of this[_0xc3fab3(0x1e4)]){const _0x6f11fd=this[_0xc3fab3(0x202)][_0xc3fab3(0x1c5)](_0x1ef931);_0x6f11fd||_0x2856d0?_0x6f11fd&&_0x2856d0&&this[_0xc3fab3(0x1fa)](_0x1ef931):this[_0xc3fab3(0x1ce)](_0x1ef931);}this[_0xc3fab3(0x1e4)][_0xc3fab3(0x1e3)](),this[_0xc3fab3(0x20a)][_0xc3fab3(0x1cf)][_0xc3fab3(0x1f8)](_0xc3fab3(0x22a))[_0xc3fab3(0x1ed)](),this[_0xc3fab3(0x223)]();},0xa),this[_0x3d3ca7(0x1e4)][_0x3d3ca7(0x1de)](_0xcdead5,_0x30f4f3);}[_0x4d9881(0x230)](){const _0x493425=_0x4d9881,_0x280711=this[_0x493425(0x20a)],_0x1f76f4=_0x280711[_0x493425(0x1cf)][_0x493425(0x1f8)](_0x493425(0x20f)),_0x5a72ed=_0x280711[_0x493425(0x1cf)][_0x493425(0x1f8)](_0x493425(0x1b8)),_0x209206=_0x280711[_0x493425(0x1cf)][_0x493425(0x1f8)](_0x493425(0x22a)),_0x5b15e7=_0x280711[_0x493425(0x1cf)][_0x493425(0x1f8)](_0x493425(0x1ea));this[_0x493425(0x1f9)](),_0x209206[_0x493425(0x1c4)](()=>{const _0x3a9d46=_0x493425,_0x838e0c=[];for(const [_0x55ce37,_0x54a8f6]of Array[_0x3a9d46(0x1ca)](this[_0x3a9d46(0x202)])){const _0x33a543=_0x55ce37[_0x3a9d46(0x1bb)](),_0x338be3=[];for(const _0x174d80 of _0x33a543){if(!_0x174d80[_0x3a9d46(0x1b0)])continue;if(_0x174d80[_0x3a9d46(0x1eb)]){_0x338be3[_0x3a9d46(0x1e8)](..._0x174d80[_0x3a9d46(0x203)]());continue;}const _0x2dd4d4=_0x174d80[_0x3a9d46(0x1cd)]();if(_0x338be3[_0x3a9d46(0x213)]>0x0){const _0x138faf=_0x338be3[0x0][_0x3a9d46(0x227)](_0x2dd4d4);if(_0x138faf){_0x338be3[0x0]=_0x138faf;continue;}}_0x338be3[_0x3a9d46(0x1e8)](_0x2dd4d4);}_0x838e0c[_0x3a9d46(0x1e8)]([_0x54a8f6[_0x3a9d46(0x216)],_0x338be3]);}return _0x838e0c;}),this[_0x493425(0x1d2)](_0x1f76f4,_0x493425(0x1f3),(_0x326024,_0x52a838)=>{const _0x5d3af4=_0x493425;this[_0x5d3af4(0x1d2)](_0x52a838,_0x5d3af4(0x22d),(_0x39d4d6,_0x33d3b3,_0x3d295e,_0x3c610d)=>{const _0x133188=_0x5d3af4;_0x52a838[_0x133188(0x1b0)]&&(null==_0x3d295e?(this[_0x133188(0x214)](_0x3c610d[_0x133188(0x20d)]),this[_0x133188(0x220)](_0x52a838,!0x1)):(this[_0x133188(0x214)](_0x3d295e[_0x133188(0x20d)]),null==_0x3c610d&&this[_0x133188(0x220)](_0x52a838,!0x0)));}),null!==_0x52a838[_0x5d3af4(0x200)]?this[_0x5d3af4(0x214)](_0x52a838[_0x5d3af4(0x20d)]):this[_0x5d3af4(0x220)](_0x52a838,!0x1);}),this[_0x493425(0x1d2)](_0x1f76f4,_0x493425(0x210),(_0x1aea6f,_0xaa0a87,_0x199498)=>{const _0x384251=_0x493425;this[_0x384251(0x1f5)](_0xaa0a87,_0x384251(0x22d)),this[_0x384251(0x1e4)][_0x384251(0x21b)](_0xaa0a87),this[_0x384251(0x202)][_0x384251(0x1c5)](_0xaa0a87)&&this[_0x384251(0x1fa)](_0xaa0a87),_0x199498&&this[_0x384251(0x214)](_0x199498[_0x384251(0x20d)]);}),this[_0x493425(0x1d2)](_0x1f76f4,_0x493425(0x1b7),(_0x17e25d,_0x52ec47)=>{const _0x368c94=_0x493425;this[_0x368c94(0x214)](_0x52ec47);}),this[_0x493425(0x1d2)](_0x5a72ed,_0x493425(0x1d4),()=>{const _0x52a510=_0x493425;this[_0x52a510(0x223)]();}),this[_0x493425(0x1d2)](_0x5b15e7,_0x493425(0x1e0),(_0x2ed5d4,{threadId:_0x3d2543,isFromAdapter:_0xd0d8ca})=>{const _0x5844e5=_0x493425;if(_0xd0d8ca||!_0x1f76f4[_0x5844e5(0x20e)](_0x3d2543))return;const _0x596a33=_0x1f76f4[_0x5844e5(0x224)](_0x3d2543);this[_0x5844e5(0x202)][_0x5844e5(0x1f8)](_0x596a33)[_0x5844e5(0x216)][_0x5844e5(0x237)]();},{'priority':_0x493425(0x1c1)});}[_0x4d9881(0x223)](){const _0x5d086a=_0x4d9881,_0x5af245=this[_0x5d086a(0x20a)][_0x5d086a(0x1cf)][_0x5d086a(0x1f8)](_0x5d086a(0x1b8)),_0x48de5a=this[_0x5d086a(0x20a)][_0x5d086a(0x1cf)][_0x5d086a(0x1f8)](_0x5d086a(0x20f)),_0x182dfa=Array[_0x5d086a(0x1ca)](_0x5af245[_0x5d086a(0x231)],_0x389cb4=>_0x389cb4[_0x5d086a(0x233)])[_0x5d086a(0x1ba)](_0x2d0ea6=>this[_0x5d086a(0x1f7)][_0x5d086a(0x1c5)](_0x2d0ea6)),_0xae2580=[];for(const _0x29f52b of _0x182dfa){const _0x23ea15=this[_0x5d086a(0x1f7)][_0x5d086a(0x1f8)](_0x29f52b)[_0x5d086a(0x228)][_0x5d086a(0x1bb)]();_0xae2580[_0x5d086a(0x1e8)](..._0x23ea15[_0x5d086a(0x1dc)]((_0x453e62,_0x22bfd6)=>[..._0x453e62,..._0x22bfd6[_0x5d086a(0x1ec)]()],[]));}_0x48de5a[_0x5d086a(0x1c7)]=_0xae2580;}[_0x4d9881(0x1f9)](){const _0x2f6bc0=_0x4d9881,_0x3131ad=this[_0x2f6bc0(0x20a)],_0x3b0084=_0x3131ad[_0x2f6bc0(0x1d9)],_0x194e7e=_0x30a0ef(_0x3b0084,_0x2f6bc0(0x1d6)),_0x3b6b37=new _0x23a11e([{'type':_0x2f6bc0(0x21d),'model':new _0xd97348({'withText':!0x0,'label':_0x194e7e,'commandName':_0x2f6bc0(0x22b)})},{'type':_0x2f6bc0(0x1d0)},{'type':_0x2f6bc0(0x1c3),'model':new _0xd97348({'withText':!0x0,'label':_0x30a0ef(_0x3b0084,_0x2f6bc0(0x1bd)),'commandName':_0x2f6bc0(0x1fc)})},{'type':_0x2f6bc0(0x1c3),'model':new _0xd97348({'withText':!0x0,'label':_0x30a0ef(_0x3b0084,_0x2f6bc0(0x208)),'commandName':_0x2f6bc0(0x1e6)})},{'type':_0x2f6bc0(0x1c3),'model':new _0xd97348({'withText':!0x0,'label':_0x30a0ef(_0x3b0084,_0x2f6bc0(0x1cb)),'commandName':_0x2f6bc0(0x215)})},{'type':_0x2f6bc0(0x1c3),'model':new _0xd97348({'withText':!0x0,'label':_0x30a0ef(_0x3b0084,_0x2f6bc0(0x1bf)),'commandName':_0x2f6bc0(0x1d1)})}]);for(const _0x406bef of _0x3b6b37)if(ae(_0x406bef)){const _0x45beb0=_0x3131ad[_0x2f6bc0(0x211)][_0x2f6bc0(0x1f8)](_0x406bef[_0x2f6bc0(0x228)][_0x2f6bc0(0x212)]);_0x406bef[_0x2f6bc0(0x228)][_0x2f6bc0(0x218)](_0x2f6bc0(0x1ff),_0x2f6bc0(0x205))['to'](_0x45beb0,_0x2f6bc0(0x1b6),_0x2f6bc0(0x205));}_0x3131ad['ui'][_0x2f6bc0(0x21e)][_0x2f6bc0(0x1e7)](_0x2f6bc0(0x22b),_0x112664=>this[_0x2f6bc0(0x219)](_0x112664,_0x3b6b37,_0x194e7e)),_0x3131ad['ui'][_0x2f6bc0(0x21e)][_0x2f6bc0(0x1e7)](_0x2f6bc0(0x1ae),_0x11db78=>this[_0x2f6bc0(0x204)](_0x11db78,_0x3b6b37,_0x194e7e));}[_0x4d9881(0x219)](_0x16ff6b,_0x1a9dd1,_0x3fa071){const _0x216e9e=_0x4d9881,_0x3bfe6=_0x590ce0(_0x16ff6b,_0x286416),_0x589b41=this[_0x216e9e(0x20a)][_0x216e9e(0x211)][_0x216e9e(0x1f8)](_0x216e9e(0x22b));_0x3bfe6[_0x216e9e(0x1c2)][_0x216e9e(0x1de)]({'tooltip':_0x3fa071,'label':_0x3fa071,'icon':_0x502ce5}),_0x3bfe6[_0x216e9e(0x1c2)][_0x216e9e(0x218)](_0x216e9e(0x1ff))['to'](_0x589b41,_0x216e9e(0x1b6)),_0x3bfe6[_0x216e9e(0x1c2)]['on'](_0x216e9e(0x1b1),()=>{const _0x536012=_0x216e9e;_0x589b41[_0x536012(0x1b1)](),this[_0x536012(0x20a)][_0x536012(0x21a)][_0x536012(0x216)][_0x536012(0x237)]();}),_0x258b23(_0x3bfe6,_0x1a9dd1);const _0x5bd15b=[];for(const _0x2fe238 of _0x1a9dd1)ae(_0x2fe238)&&_0x5bd15b[_0x216e9e(0x1e8)](this[_0x216e9e(0x20a)][_0x216e9e(0x211)][_0x216e9e(0x1f8)](_0x2fe238[_0x216e9e(0x228)][_0x216e9e(0x212)]));const _0x34e716=_0x3bfe6[_0x216e9e(0x1c2)];return _0x34e716[_0x216e9e(0x1b2)][_0x216e9e(0x23a)](_0x216e9e(0x205)),_0x34e716[_0x216e9e(0x225)][_0x216e9e(0x23a)](_0x216e9e(0x205)),_0x34e716[_0x216e9e(0x1b2)][_0x216e9e(0x218)](_0x216e9e(0x205))['to'](_0x589b41,_0x216e9e(0x205)),_0x34e716[_0x216e9e(0x225)][_0x216e9e(0x218)](_0x216e9e(0x205))[_0x216e9e(0x1dd)](_0x5bd15b,_0x216e9e(0x205),(..._0xf9d13f)=>_0xf9d13f[_0x216e9e(0x1df)](_0x532b4d=>_0x532b4d)),_0x3bfe6['on'](_0x216e9e(0x1b1),_0x435af6=>{const _0x5aa340=_0x216e9e;this[_0x5aa340(0x20a)][_0x5aa340(0x1b1)](_0x435af6[_0x5aa340(0x226)][_0x5aa340(0x212)]),this[_0x5aa340(0x20a)][_0x5aa340(0x21a)][_0x5aa340(0x216)][_0x5aa340(0x237)]();}),_0x3bfe6;}[_0x4d9881(0x204)](_0x5ee2b9,_0x5bfac8,_0x2911f9){const _0x5d3168=_0x4d9881,_0x2d49f2=new _0x4c90d9(_0x5ee2b9),_0x747f7a=this[_0x5d3168(0x20a)][_0x5d3168(0x211)][_0x5d3168(0x1f8)](_0x5d3168(0x22b));_0x2d49f2[_0x5d3168(0x1c2)][_0x5d3168(0x1de)]({'label':_0x2911f9,'icon':_0x502ce5});const _0x728e72=new _0x2c8dae(_0x5ee2b9);for(const _0x301cfa of _0x5bfac8){if(_0x5d3168(0x1d0)==_0x301cfa[_0x5d3168(0x1da)]){_0x728e72[_0x5d3168(0x1f0)][_0x5d3168(0x1e7)](new _0x35a246(_0x5ee2b9));continue;}const _0xc397f6=new _0x50254a(_0x5ee2b9,_0x2d49f2),_0x1c13b6=new _0x50de46(_0x5ee2b9),_0x1ed88d=_0x301cfa[_0x5d3168(0x228)];_0x1c13b6[_0x5d3168(0x218)](...Object[_0x5d3168(0x20b)](_0x1ed88d))['to'](_0x1ed88d),_0x1c13b6[_0x5d3168(0x232)](_0x5d3168(0x1b1))['to'](_0x2d49f2),_0x1c13b6['on'](_0x5d3168(0x1b1),()=>{const _0x2322e2=_0x5d3168;this[_0x2322e2(0x20a)][_0x2322e2(0x1b1)](_0x1ed88d[_0x2322e2(0x212)]),this[_0x2322e2(0x20a)][_0x2322e2(0x21a)][_0x2322e2(0x216)][_0x2322e2(0x237)]();}),_0xc397f6[_0x5d3168(0x235)][_0x5d3168(0x1e7)](_0x1c13b6),_0x728e72[_0x5d3168(0x1f0)][_0x5d3168(0x1e7)](_0xc397f6);}return _0x2d49f2[_0x5d3168(0x218)](_0x5d3168(0x205))['to'](_0x747f7a,_0x5d3168(0x205)),_0x2d49f2[_0x5d3168(0x239)][_0x5d3168(0x235)][_0x5d3168(0x1e7)](_0x728e72),_0x2d49f2;}[_0x4d9881(0x1ce)](_0x59ff15){const _0x4cf8e3=_0x4d9881,_0xde1d5=this[_0x4cf8e3(0x20a)],_0x28922c=_0xde1d5[_0x4cf8e3(0x21f)],_0x5a0996=_0xde1d5[_0x4cf8e3(0x1cf)][_0x4cf8e3(0x1f8)](_0x4cf8e3(0x1b8)),_0x1eb051=_0xde1d5[_0x4cf8e3(0x1cf)][_0x4cf8e3(0x1f8)](_0x4cf8e3(0x1ea)),_0x42794d=_0xde1d5[_0x4cf8e3(0x1cf)][_0x4cf8e3(0x1f8)](_0x4cf8e3(0x22a)),_0x24e3f7=_0xde1d5[_0x4cf8e3(0x1cf)][_0x4cf8e3(0x1f8)](_0x3d3c2c)['me'],_0x5bb362=_0x28922c[_0x4cf8e3(0x1f8)](_0x4cf8e3(0x22b))[_0x4cf8e3(0x1af)],{CommentsListView:_0x4e0af0,CommentThreadInputView:_0x18a42c}=_0xde1d5[_0x4cf8e3(0x1cf)][_0x4cf8e3(0x1f8)](_0x4cf8e3(0x20c));let _0xe0db0a,_0x46629b;this[_0x4cf8e3(0x1f1)][_0x4cf8e3(0x1c5)](_0x59ff15['id'])?(_0x46629b=this[_0x4cf8e3(0x1f1)][_0x4cf8e3(0x1f8)](_0x59ff15['id']),_0xe0db0a=_0x46629b[_0x4cf8e3(0x229)]):(_0xe0db0a=new _0x5bb362(_0xde1d5[_0x4cf8e3(0x1d9)],_0x59ff15,_0x24e3f7,{'disableComments':this[_0x4cf8e3(0x236)],'editorConfig':_0x28922c[_0x4cf8e3(0x1f8)](_0x4cf8e3(0x209)),'maxCommentsWhenCollapsed':_0x28922c[_0x4cf8e3(0x1f8)](_0x4cf8e3(0x23b)),'maxThreadTotalWeight':_0x28922c[_0x4cf8e3(0x1f8)](_0x4cf8e3(0x206)),'maxCommentCharsWhenCollapsed':_0x28922c[_0x4cf8e3(0x1f8)](_0x4cf8e3(0x1ef)),'formatDateTime':_0x140426(_0x28922c[_0x4cf8e3(0x1f8)](_0x4cf8e3(0x1d9))),'CommentView':_0x28922c[_0x4cf8e3(0x1f8)](_0x4cf8e3(0x1d5))[_0x4cf8e3(0x1b9)],'CommentsListView':_0x4e0af0,'CommentThreadInputView':_0x18a42c}),_0xe0db0a[_0x4cf8e3(0x1fe)]['on'](_0x4cf8e3(0x1b1),()=>{const _0x1058c3=_0x4cf8e3;_0xde1d5[_0x1058c3(0x21a)][_0x1058c3(0x216)][_0x1058c3(0x237)]();}),_0xe0db0a[_0x4cf8e3(0x1fb)]['on'](_0x4cf8e3(0x1b1),()=>{const _0x1426d8=_0x4cf8e3;_0xde1d5[_0x1426d8(0x21a)][_0x1426d8(0x216)][_0x1426d8(0x237)]();}),_0x46629b=_0x5a0996[_0x4cf8e3(0x217)](this[_0x4cf8e3(0x20a)][_0x4cf8e3(0x1d9)],_0xe0db0a),_0x46629b[_0x4cf8e3(0x218)](_0x4cf8e3(0x238))['to'](_0xe0db0a,_0x4cf8e3(0x238)),_0x46629b[_0x4cf8e3(0x218)](_0x4cf8e3(0x213))['to'](_0xe0db0a),_0x46629b[_0x4cf8e3(0x218)](_0x4cf8e3(0x1da))['to'](_0xe0db0a,_0x4cf8e3(0x1da),_0xa693a0=>_0x4cf8e3(0x1f6)+_0xa693a0),this[_0x4cf8e3(0x1f1)][_0x4cf8e3(0x1de)](_0x59ff15['id'],_0x46629b));const _0x3d728d=_0x1eb051[_0x4cf8e3(0x1e9)](_0x59ff15[_0x4cf8e3(0x21c)],_0xe0db0a),_0x59e2b4=new _0x1aed12(_0xde1d5,_0x59ff15,_0xe0db0a,_0x3d728d),_0xa93536=_0x59ff15[_0x4cf8e3(0x1bb)]()[_0x4cf8e3(0x1ba)](_0x1a3f5f=>_0x1a3f5f[_0x4cf8e3(0x1b0)]);_0xe0db0a[_0x4cf8e3(0x1fd)]=_0xde1d5[_0x4cf8e3(0x1cf)][_0x4cf8e3(0x1f8)](_0x4cf8e3(0x20f))[_0x4cf8e3(0x207)][_0x4cf8e3(0x1f2)](_0xa93536),this[_0x4cf8e3(0x202)][_0x4cf8e3(0x1de)](_0x59ff15,_0x59e2b4),this[_0x4cf8e3(0x1f7)][_0x4cf8e3(0x1de)](_0xe0db0a,_0x59e2b4);const _0x194247=_0x5a0996[_0x4cf8e3(0x1b3)]({'view':_0x46629b,'target':()=>{const _0x398723=_0x4cf8e3,_0x54dcfb=[],_0x5e4073=_0x59ff15[_0x398723(0x1bb)]()[_0x398723(0x1ba)](_0x8396ba=>_0x8396ba[_0x398723(0x1b0)]);for(const _0x4e39d9 of _0x5e4073)_0x54dcfb[_0x398723(0x1e8)](..._0x4e39d9[_0x398723(0x1ee)]());return _0x385d41(_0xde1d5[_0x398723(0x21a)],_0x54dcfb);},'type':()=>_0x4cf8e3(0x1f6)+_0x59e2b4[_0x4cf8e3(0x216)][_0x4cf8e3(0x1da)]});_0x1eb051[_0x4cf8e3(0x1bc)](_0xe0db0a,_0x194247),_0x5a0996[_0x4cf8e3(0x1e7)](_0x194247),_0x42794d[_0x4cf8e3(0x22c)](_0x194247);}[_0x4d9881(0x1fa)](_0x569709){const _0x1869aa=_0x4d9881,_0x3e0b8c=this[_0x1869aa(0x20a)][_0x1869aa(0x1cf)][_0x1869aa(0x1f8)](_0x1869aa(0x1ea)),_0x50d029=this[_0x1869aa(0x20a)][_0x1869aa(0x1cf)][_0x1869aa(0x1f8)](_0x1869aa(0x1b8)),_0x2a76ed=this[_0x1869aa(0x202)][_0x1869aa(0x1f8)](_0x569709),_0x2ac23b=_0x2a76ed[_0x1869aa(0x216)],_0x5e5b0d=_0x50d029[_0x1869aa(0x1c0)](_0x2ac23b);_0x3e0b8c[_0x1869aa(0x1c9)](_0x2ac23b),_0x5e5b0d&&_0x50d029[_0x1869aa(0x1b5)](_0x5e5b0d),this[_0x1869aa(0x202)][_0x1869aa(0x21b)](_0x569709),this[_0x1869aa(0x1f7)][_0x1869aa(0x21b)](_0x2ac23b),_0x2a76ed[_0x1869aa(0x1db)]();}[_0x4d9881(0x214)](_0x22748b){const _0x16f487=_0x4d9881;if(!_0x22748b[_0x16f487(0x1b0)]||!this[_0x16f487(0x202)][_0x16f487(0x1c5)](_0x22748b))return;const _0x25192f=this[_0x16f487(0x20a)][_0x16f487(0x1cf)][_0x16f487(0x1f8)](_0x16f487(0x20f)),_0x476ab2=this[_0x16f487(0x202)][_0x16f487(0x1f8)](_0x22748b),_0x44494f=_0x22748b[_0x16f487(0x1bb)]();_0x476ab2[_0x16f487(0x216)][_0x16f487(0x1fd)]=_0x25192f[_0x16f487(0x207)][_0x16f487(0x1f2)](_0x44494f);}[_0x4d9881(0x1db)](){const _0x12f21b=_0x4d9881;for(const _0x51b80f of this[_0x12f21b(0x202)][_0x12f21b(0x20b)]())this[_0x12f21b(0x1fa)](_0x51b80f);for(const _0x300bbc of this[_0x12f21b(0x1f1)][_0x12f21b(0x22e)]())_0x300bbc[_0x12f21b(0x229)][_0x12f21b(0x1db)]();super[_0x12f21b(0x1db)]();}}function ae(_0x36796a){const _0x110995=_0x4d9881;return _0x110995(0x228)in _0x36796a;}
|
|
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
|
-
const
|
|
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(_0x43998f,_0xc96120,_0x3ff1cb){const t=_0x43998f['t'];switch(_0xc96120){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x3ff1cb);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3ff1cb);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3ff1cb);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3ff1cb);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3ff1cb);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x3ff1cb);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3ff1cb);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x3ff1cb);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3ff1cb);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3ff1cb);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3ff1cb);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3ff1cb);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3ff1cb);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3ff1cb);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3ff1cb);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3ff1cb);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3ff1cb);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3ff1cb);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3ff1cb);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3ff1cb);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3ff1cb);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3ff1cb);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3ff1cb);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x3ff1cb);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3ff1cb);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3ff1cb);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3ff1cb);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3ff1cb);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3ff1cb);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x3ff1cb);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3ff1cb);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3ff1cb);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3ff1cb);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3ff1cb);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x3ff1cb);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3ff1cb);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x3ff1cb);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x3ff1cb);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3ff1cb);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x3ff1cb);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3ff1cb);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x3ff1cb);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3ff1cb);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3ff1cb);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x3ff1cb);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x3ff1cb);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0xc96120;}}
|
|
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']);});}}
|