@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240619.1 → 0.0.0-nightly-20240619.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +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 +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/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 _0x38f284=_0x112b;(function(_0x3e3e67,_0x5ec8a7){const _0x584e27=_0x112b,_0x2176ff=_0x3e3e67();while(!![]){try{const _0x580b28=parseInt(_0x584e27(0xe8))/0x1+-parseInt(_0x584e27(0x152))/0x2*(parseInt(_0x584e27(0xdb))/0x3)+parseInt(_0x584e27(0xe4))/0x4*(parseInt(_0x584e27(0xd7))/0x5)+parseInt(_0x584e27(0x121))/0x6+parseInt(_0x584e27(0x12b))/0x7*(-parseInt(_0x584e27(0x12f))/0x8)+-parseInt(_0x584e27(0x120))/0x9+parseInt(_0x584e27(0xfa))/0xa*(parseInt(_0x584e27(0xce))/0xb);if(_0x580b28===_0x5ec8a7)break;else _0x2176ff['push'](_0x2176ff['shift']());}catch(_0x1fa8f4){_0x2176ff['push'](_0x2176ff['shift']());}}}(_0x5b88,0xaadd1));import{Plugin as _0x4749c3}from'ckeditor5/src/core.js';function _0x5b88(){const _0x557d98=['arrowView','484uBYEEH','trackChanges.SuggestionThreadView','delete','getJoined','582948eRghxg','CommentsUI','from','addComment','get','refreshSelectedViews','panelView','Annotations','source','locale','model','has','commands','config','descriptionParts','acceptSelectedSuggestions','type','_updateController','8863370kJYBFI','_createToolbarButton','_createMenuBarMenu','getMarkers','getDescriptions','isOn','_annotationViews','EditorAnnotations','previous','destroy','_unbindEditors','SuggestionThreadView','CommentView','actionView','comments.maxThreadTotalWeight','acceptButton','change:activeAnnotations','Discard\x20all\x20suggestions','_destroyController','registerAnnotation','plugins','view','pluginName','init','isMultiRange','getSuggestion','menuitem','_disableComments','head','remove','separator','suggestionChanged','isEnabled','button','requires','editing','TrackChangesUI','createAnnotationView','12177603twJccz','3459324oMpHCb','commandName','length','addSourceCollector','suggestion-','menuBar:trackChanges','filter','push','discardAllSuggestions','_initializeController','558803ScKoBu','keys','isInContent','acceptAllSuggestions','8YOMATU','commentThread','menu','_addUIComponentsToFactory','suggestionLoaded','define','bind','CommentsRepository','getFirstRange','trackChanges.disableComments','TrackChangesEditing','discardSelectedSuggestions','Track\x20changes','_suggestionToController','discardButton','Accept\x20all\x20suggestions','buttonView','hasSuggestion','items','switchbutton','unbind','some','isDirty','getByInnerView','execute','menuitemcheckbox','comments.maxCommentCharsWhenCollapsed','delegate','lowest','editor','toMany','getRanges','innerView','focus','Discard\x20all\x20selected\x20suggestions','72vHYRwm','value','createAnnotation','getAllAdjacentSuggestions','comments','reduce','_handleControllerBuffer','listenTo','suggestionUnloaded','_refreshActiveMarkers','activeMarkers','comments.editorConfig','stopListening','_bindAnnotationToEditors','22ymbZcE','descriptionFactory','clear','children','change:previous','set','add','comments.maxCommentsWhenCollapsed','size','6865NtAGaO','trackChanges','componentFactory','mainView','80463lHnEjH','getMarkerNames','Accept\x20all\x20selected\x20suggestions','activeAnnotations','_viewToController','values','createCommentThreadController','_handleSuggestionControllerDelayed'];_0x5b88=function(){return _0x557d98;};return _0x5b88();}import{Collection as _0x47f352}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x1d27fe,createDropdown as _0x480539,ListSeparatorView as _0x17a0b9,MenuBarMenuView as _0x172d7a,MenuBarMenuListView as _0x2a07ff,MenuBarMenuListItemView as _0x300731,MenuBarMenuListItemButtonView as _0x3ed035,SplitButtonView as _0x538af4,ViewModel as _0x398fe4}from'ckeditor5/src/ui.js';import{Users as _0x41e64a,getDateTimeFormatter as _0x564efa,getAllMarkersDomElementsSorted as _0xa2dbb2}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x25663c from'./trackchangesediting.js';import _0x3f7bde from'./ui/suggestioncontroller.js';import _0x4aa468 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0xac62ba}from'./utils/common-translations.js';import _0xfcb53b from'../theme/icons/track-changes.svg';function _0x112b(_0x4ae657,_0x1907c5){const _0x5b882b=_0x5b88();return _0x112b=function(_0x112ba7,_0xab264e){_0x112ba7=_0x112ba7-0xcc;let _0x52d074=_0x5b882b[_0x112ba7];return _0x52d074;},_0x112b(_0x4ae657,_0x1907c5);}export default class d extends _0x4749c3{static get[_0x38f284(0x11c)](){const _0x15d5c3=_0x38f284;return[_0x25663c,_0x41e64a,_0x15d5c3(0x136),_0x15d5c3(0xef),_0x15d5c3(0x101)];}static get[_0x38f284(0x110)](){const _0x52381c=_0x38f284;return _0x52381c(0x11e);}constructor(_0xd2f5b0){const _0x2793b6=_0x38f284;super(_0xd2f5b0),this[_0x2793b6(0x13c)]=new Map(),this[_0x2793b6(0xdf)]=new Map(),this[_0x2793b6(0x100)]=new Map(),this[_0x2793b6(0x158)]=new Map();const _0x117794=this[_0x2793b6(0x14c)][_0x2793b6(0xf5)];_0x117794[_0x2793b6(0x134)](_0x2793b6(0xe5),_0x4aa468),_0x117794[_0x2793b6(0x134)](_0x2793b6(0x138),!0x1),this[_0x2793b6(0x115)]=_0x117794[_0x2793b6(0xec)](_0x2793b6(0x138));}[_0x38f284(0xe2)](_0x2538e7,_0x5e7f6d){const _0x511eb6=_0x38f284;0x0===this[_0x511eb6(0x158)][_0x511eb6(0xd6)]&&setTimeout(()=>{const _0x3714a8=_0x511eb6;for(const [_0x34bed4,_0x40dea5]of this[_0x3714a8(0x158)]){const _0x5dfb2f=this[_0x3714a8(0x13c)][_0x3714a8(0xf3)](_0x34bed4);_0x5dfb2f||_0x40dea5?_0x5dfb2f&&_0x40dea5&&this[_0x3714a8(0x10c)](_0x34bed4):this[_0x3714a8(0x12a)](_0x34bed4);}this[_0x3714a8(0x158)][_0x3714a8(0xd0)](),this[_0x3714a8(0x14c)][_0x3714a8(0x10e)][_0x3714a8(0xec)](_0x3714a8(0x101))[_0x3714a8(0xed)](),this[_0x3714a8(0x15b)]();},0xa),this[_0x511eb6(0x158)][_0x511eb6(0xd3)](_0x2538e7,_0x5e7f6d);}[_0x38f284(0x111)](){const _0x357146=_0x38f284,_0x2b7f21=this[_0x357146(0x14c)],_0x30c6d0=_0x2b7f21[_0x357146(0x10e)][_0x357146(0xec)](_0x357146(0x139)),_0x3be9e6=_0x2b7f21[_0x357146(0x10e)][_0x357146(0xec)](_0x357146(0xef)),_0x4bba5a=_0x2b7f21[_0x357146(0x10e)][_0x357146(0xec)](_0x357146(0x101)),_0x5d07ae=_0x2b7f21[_0x357146(0x10e)][_0x357146(0xec)](_0x357146(0x136));this[_0x357146(0x132)](),_0x4bba5a[_0x357146(0x124)](()=>{const _0x5376a2=_0x357146,_0x2c1108=[];for(const [_0x3f134b,_0x48721e]of Array[_0x5376a2(0xea)](this[_0x5376a2(0x13c)])){const _0x42ca8d=_0x3f134b[_0x5376a2(0x155)](),_0x3c4ec0=[];for(const _0xc71e54 of _0x42ca8d){if(!_0xc71e54[_0x5376a2(0x12d)])continue;if(_0xc71e54[_0x5376a2(0x112)]){_0x3c4ec0[_0x5376a2(0x128)](..._0xc71e54[_0x5376a2(0x14e)]());continue;}const _0x13193f=_0xc71e54[_0x5376a2(0x137)]();if(_0x3c4ec0[_0x5376a2(0x123)]>0x0){const _0x2eb8a7=_0x3c4ec0[0x0][_0x5376a2(0xe7)](_0x13193f);if(_0x2eb8a7){_0x3c4ec0[0x0]=_0x2eb8a7;continue;}}_0x3c4ec0[_0x5376a2(0x128)](_0x13193f);}_0x2c1108[_0x5376a2(0x128)]([_0x48721e[_0x5376a2(0x10f)],_0x3c4ec0]);}return _0x2c1108;}),this[_0x357146(0x159)](_0x30c6d0,_0x357146(0x133),(_0x10b8b2,_0x5ac1c5)=>{const _0x1f3ae9=_0x357146;this[_0x1f3ae9(0x159)](_0x5ac1c5,_0x1f3ae9(0xd2),(_0x5d0a6e,_0x2b0e6e,_0x303b54,_0x5600d5)=>{const _0xae4f2f=_0x1f3ae9;_0x5ac1c5[_0xae4f2f(0x12d)]&&(null==_0x303b54?(this[_0xae4f2f(0xf9)](_0x5600d5[_0xae4f2f(0x116)]),this[_0xae4f2f(0xe2)](_0x5ac1c5,!0x1)):(this[_0xae4f2f(0xf9)](_0x303b54[_0xae4f2f(0x116)]),null==_0x5600d5&&this[_0xae4f2f(0xe2)](_0x5ac1c5,!0x0)));}),null!==_0x5ac1c5[_0x1f3ae9(0x102)]?this[_0x1f3ae9(0xf9)](_0x5ac1c5[_0x1f3ae9(0x116)]):this[_0x1f3ae9(0xe2)](_0x5ac1c5,!0x1);}),this[_0x357146(0x159)](_0x30c6d0,_0x357146(0x15a),(_0x4ae4b0,_0x3b47c9,_0x205360)=>{const _0x3ae6c3=_0x357146;this[_0x3ae6c3(0xcc)](_0x3b47c9,_0x3ae6c3(0xd2)),this[_0x3ae6c3(0x158)][_0x3ae6c3(0xe6)](_0x3b47c9),this[_0x3ae6c3(0x13c)][_0x3ae6c3(0xf3)](_0x3b47c9)&&this[_0x3ae6c3(0x10c)](_0x3b47c9),_0x205360&&this[_0x3ae6c3(0xf9)](_0x205360[_0x3ae6c3(0x116)]);}),this[_0x357146(0x159)](_0x30c6d0,_0x357146(0x119),(_0x1accf0,_0x27c8ee)=>{const _0x3643c2=_0x357146;this[_0x3643c2(0xf9)](_0x27c8ee);}),this[_0x357146(0x159)](_0x3be9e6,_0x357146(0x10a),()=>{const _0x2c0dda=_0x357146;this[_0x2c0dda(0x15b)]();}),this[_0x357146(0x159)](_0x5d07ae,_0x357146(0xeb),(_0x594056,{threadId:_0x40486e,isFromAdapter:_0x431b5d})=>{const _0x114780=_0x357146;if(_0x431b5d||!_0x30c6d0[_0x114780(0x140)](_0x40486e))return;const _0x8331c7=_0x30c6d0[_0x114780(0x113)](_0x40486e);this[_0x114780(0x13c)][_0x114780(0xec)](_0x8331c7)[_0x114780(0x10f)][_0x114780(0x150)]();},{'priority':_0x357146(0x14b)});}[_0x38f284(0x15b)](){const _0x49129e=_0x38f284,_0xe09c21=this[_0x49129e(0x14c)][_0x49129e(0x10e)][_0x49129e(0xec)](_0x49129e(0xef)),_0x3b6fe4=this[_0x49129e(0x14c)][_0x49129e(0x10e)][_0x49129e(0xec)](_0x49129e(0x139)),_0x5513bf=Array[_0x49129e(0xea)](_0xe09c21[_0x49129e(0xde)],_0x542ab5=>_0x542ab5[_0x49129e(0x14f)])[_0x49129e(0x127)](_0x5b4984=>this[_0x49129e(0xdf)][_0x49129e(0xf3)](_0x5b4984)),_0x332d8a=[];for(const _0x1c7dc4 of _0x5513bf){const _0x26b565=this[_0x49129e(0xdf)][_0x49129e(0xec)](_0x1c7dc4)[_0x49129e(0xf2)][_0x49129e(0x155)]();_0x332d8a[_0x49129e(0x128)](..._0x26b565[_0x49129e(0x157)]((_0x441bb7,_0x4000de)=>[..._0x441bb7,..._0x4000de[_0x49129e(0xdc)]()],[]));}_0x3b6fe4[_0x49129e(0x15c)]=_0x332d8a;}[_0x38f284(0x132)](){const _0x6e99d8=_0x38f284,_0x3b9317=this[_0x6e99d8(0x14c)],_0x284d7a=_0x3b9317[_0x6e99d8(0xf1)],_0x471388=_0xac62ba(_0x284d7a,_0x6e99d8(0x13b)),_0x163f7a=new _0x47f352([{'type':_0x6e99d8(0x142),'model':new _0x398fe4({'withText':!0x0,'label':_0x471388,'commandName':_0x6e99d8(0xd8),'role':_0x6e99d8(0x148)})},{'type':_0x6e99d8(0x118)},{'type':_0x6e99d8(0x11b),'model':new _0x398fe4({'withText':!0x0,'label':_0xac62ba(_0x284d7a,_0x6e99d8(0x13e)),'commandName':_0x6e99d8(0x12e),'role':_0x6e99d8(0x114)})},{'type':_0x6e99d8(0x11b),'model':new _0x398fe4({'withText':!0x0,'label':_0xac62ba(_0x284d7a,_0x6e99d8(0xdd)),'commandName':_0x6e99d8(0xf7),'role':_0x6e99d8(0x114)})},{'type':_0x6e99d8(0x11b),'model':new _0x398fe4({'withText':!0x0,'label':_0xac62ba(_0x284d7a,_0x6e99d8(0x10b)),'commandName':_0x6e99d8(0x129),'role':_0x6e99d8(0x114)})},{'type':_0x6e99d8(0x11b),'model':new _0x398fe4({'withText':!0x0,'label':_0xac62ba(_0x284d7a,_0x6e99d8(0x151)),'commandName':_0x6e99d8(0x13a),'role':_0x6e99d8(0x114)})}]);for(const _0x27a125 of _0x163f7a)if(ae(_0x27a125)){const _0x18b787=_0x3b9317[_0x6e99d8(0xf4)][_0x6e99d8(0xec)](_0x27a125[_0x6e99d8(0xf2)][_0x6e99d8(0x122)]);_0x27a125[_0x6e99d8(0xf2)][_0x6e99d8(0x135)](_0x6e99d8(0xff),_0x6e99d8(0x11a))['to'](_0x18b787,_0x6e99d8(0x153),_0x6e99d8(0x11a));}_0x3b9317['ui'][_0x6e99d8(0xd9)][_0x6e99d8(0xd4)](_0x6e99d8(0xd8),_0x16347f=>this[_0x6e99d8(0xfb)](_0x16347f,_0x163f7a,_0x471388)),_0x3b9317['ui'][_0x6e99d8(0xd9)][_0x6e99d8(0xd4)](_0x6e99d8(0x126),_0x1bbf9d=>this[_0x6e99d8(0xfc)](_0x1bbf9d,_0x163f7a,_0x471388));}[_0x38f284(0xfb)](_0x3cb37e,_0x5236a4,_0x1b580b){const _0x53d1b9=_0x38f284,_0x121a4d=_0x480539(_0x3cb37e,_0x538af4),_0x292108=this[_0x53d1b9(0x14c)][_0x53d1b9(0xf4)][_0x53d1b9(0xec)](_0x53d1b9(0xd8));_0x121a4d[_0x53d1b9(0x13f)][_0x53d1b9(0xd3)]({'tooltip':_0x1b580b,'label':_0x1b580b,'icon':_0xfcb53b}),_0x121a4d[_0x53d1b9(0x13f)][_0x53d1b9(0x135)](_0x53d1b9(0xff))['to'](_0x292108,_0x53d1b9(0x153)),_0x121a4d[_0x53d1b9(0x13f)]['on'](_0x53d1b9(0x147),()=>{const _0x1d04fe=_0x53d1b9;_0x292108[_0x1d04fe(0x147)](),this[_0x1d04fe(0x14c)][_0x1d04fe(0x11d)][_0x1d04fe(0x10f)][_0x1d04fe(0x150)]();}),_0x1d27fe(_0x121a4d,_0x5236a4,{'role':_0x53d1b9(0x131)});const _0x19d60f=[];for(const _0x2ee122 of _0x5236a4)ae(_0x2ee122)&&_0x19d60f[_0x53d1b9(0x128)](this[_0x53d1b9(0x14c)][_0x53d1b9(0xf4)][_0x53d1b9(0xec)](_0x2ee122[_0x53d1b9(0xf2)][_0x53d1b9(0x122)]));const _0x255823=_0x121a4d[_0x53d1b9(0x13f)];return _0x255823[_0x53d1b9(0x107)][_0x53d1b9(0x143)](_0x53d1b9(0x11a)),_0x255823[_0x53d1b9(0xe3)][_0x53d1b9(0x143)](_0x53d1b9(0x11a)),_0x255823[_0x53d1b9(0x107)][_0x53d1b9(0x135)](_0x53d1b9(0x11a))['to'](_0x292108,_0x53d1b9(0x11a)),_0x255823[_0x53d1b9(0xe3)][_0x53d1b9(0x135)](_0x53d1b9(0x11a))[_0x53d1b9(0x14d)](_0x19d60f,_0x53d1b9(0x11a),(..._0x254b58)=>_0x254b58[_0x53d1b9(0x144)](_0x3ea503=>_0x3ea503)),_0x121a4d['on'](_0x53d1b9(0x147),_0x393959=>{const _0x4b0f8d=_0x53d1b9;this[_0x4b0f8d(0x14c)][_0x4b0f8d(0x147)](_0x393959[_0x4b0f8d(0xf0)][_0x4b0f8d(0x122)]),this[_0x4b0f8d(0x14c)][_0x4b0f8d(0x11d)][_0x4b0f8d(0x10f)][_0x4b0f8d(0x150)]();}),_0x121a4d;}[_0x38f284(0xfc)](_0x5dc053,_0x55a0eb,_0x36d9c9){const _0x553748=_0x38f284,_0x2f5162=new _0x172d7a(_0x5dc053),_0x4771ae=this[_0x553748(0x14c)][_0x553748(0xf4)][_0x553748(0xec)](_0x553748(0xd8));_0x2f5162[_0x553748(0x13f)][_0x553748(0xd3)]({'label':_0x36d9c9,'icon':_0xfcb53b});const _0x1c000c=new _0x2a07ff(_0x5dc053);for(const _0x13682a of _0x55a0eb){if(_0x553748(0x118)==_0x13682a[_0x553748(0xf8)]){_0x1c000c[_0x553748(0x141)][_0x553748(0xd4)](new _0x17a0b9(_0x5dc053));continue;}const _0x542958=new _0x300731(_0x5dc053,_0x2f5162),_0x33b9f6=new _0x3ed035(_0x5dc053),_0x57c84f=_0x13682a[_0x553748(0xf2)];_0x33b9f6[_0x553748(0x135)](...Object[_0x553748(0x12c)](_0x57c84f))['to'](_0x57c84f),_0x33b9f6[_0x553748(0x14a)](_0x553748(0x147))['to'](_0x2f5162),_0x33b9f6['on'](_0x553748(0x147),()=>{const _0x157a9d=_0x553748;this[_0x157a9d(0x14c)][_0x157a9d(0x147)](_0x57c84f[_0x157a9d(0x122)]),this[_0x157a9d(0x14c)][_0x157a9d(0x11d)][_0x157a9d(0x10f)][_0x157a9d(0x150)]();}),_0x542958[_0x553748(0xd1)][_0x553748(0xd4)](_0x33b9f6),_0x1c000c[_0x553748(0x141)][_0x553748(0xd4)](_0x542958);}return _0x2f5162[_0x553748(0x135)](_0x553748(0x11a))['to'](_0x4771ae,_0x553748(0x11a)),_0x2f5162[_0x553748(0xee)][_0x553748(0xd1)][_0x553748(0xd4)](_0x1c000c),_0x2f5162;}[_0x38f284(0x12a)](_0x4a6de0){const _0x29c9b7=_0x38f284,_0x449936=this[_0x29c9b7(0x14c)],_0x1d1536=_0x449936[_0x29c9b7(0xf5)],_0x597a51=_0x449936[_0x29c9b7(0x10e)][_0x29c9b7(0xec)](_0x29c9b7(0xef)),_0x5a1dd3=_0x449936[_0x29c9b7(0x10e)][_0x29c9b7(0xec)](_0x29c9b7(0x136)),_0x399f34=_0x449936[_0x29c9b7(0x10e)][_0x29c9b7(0xec)](_0x29c9b7(0x101)),_0x325da8=_0x449936[_0x29c9b7(0x10e)][_0x29c9b7(0xec)](_0x41e64a)['me'],_0x4f6e3=_0x1d1536[_0x29c9b7(0xec)](_0x29c9b7(0xd8))[_0x29c9b7(0x105)],{CommentsListView:_0x454d81,CommentThreadInputView:_0x54cba1}=_0x449936[_0x29c9b7(0x10e)][_0x29c9b7(0xec)](_0x29c9b7(0xe9));let _0xbd47e2,_0x4a8a77;this[_0x29c9b7(0x100)][_0x29c9b7(0xf3)](_0x4a6de0['id'])?(_0x4a8a77=this[_0x29c9b7(0x100)][_0x29c9b7(0xec)](_0x4a6de0['id']),_0xbd47e2=_0x4a8a77[_0x29c9b7(0xda)]):(_0xbd47e2=new _0x4f6e3(_0x449936[_0x29c9b7(0xf1)],_0x4a6de0,_0x325da8,{'disableComments':this[_0x29c9b7(0x115)],'editorConfig':_0x1d1536[_0x29c9b7(0xec)](_0x29c9b7(0x15d)),'maxCommentsWhenCollapsed':_0x1d1536[_0x29c9b7(0xec)](_0x29c9b7(0xd5)),'maxThreadTotalWeight':_0x1d1536[_0x29c9b7(0xec)](_0x29c9b7(0x108)),'maxCommentCharsWhenCollapsed':_0x1d1536[_0x29c9b7(0xec)](_0x29c9b7(0x149)),'formatDateTime':_0x564efa(_0x1d1536[_0x29c9b7(0xec)](_0x29c9b7(0xf1))),'CommentView':_0x1d1536[_0x29c9b7(0xec)](_0x29c9b7(0x156))[_0x29c9b7(0x106)],'CommentsListView':_0x454d81,'CommentThreadInputView':_0x54cba1}),_0xbd47e2[_0x29c9b7(0x109)]['on'](_0x29c9b7(0x147),()=>{const _0x7f0e44=_0x29c9b7;_0x449936[_0x7f0e44(0x11d)][_0x7f0e44(0x10f)][_0x7f0e44(0x150)]();}),_0xbd47e2[_0x29c9b7(0x13d)]['on'](_0x29c9b7(0x147),()=>{const _0x5e413d=_0x29c9b7;_0x449936[_0x5e413d(0x11d)][_0x5e413d(0x10f)][_0x5e413d(0x150)]();}),_0x4a8a77=_0x597a51[_0x29c9b7(0x11f)](this[_0x29c9b7(0x14c)][_0x29c9b7(0xf1)],_0xbd47e2),_0x4a8a77[_0x29c9b7(0x135)](_0x29c9b7(0x145))['to'](_0xbd47e2,_0x29c9b7(0x145)),_0x4a8a77[_0x29c9b7(0x135)](_0x29c9b7(0x123))['to'](_0xbd47e2),_0x4a8a77[_0x29c9b7(0x135)](_0x29c9b7(0xf8))['to'](_0xbd47e2,_0x29c9b7(0xf8),_0x36b042=>_0x29c9b7(0x125)+_0x36b042),this[_0x29c9b7(0x100)][_0x29c9b7(0xd3)](_0x4a6de0['id'],_0x4a8a77));const _0x3475f1=_0x5a1dd3[_0x29c9b7(0xe1)](_0x4a6de0[_0x29c9b7(0x130)],_0xbd47e2),_0x42de2e=new _0x3f7bde(_0x449936,_0x4a6de0,_0xbd47e2,_0x3475f1),_0x4e1ee4=_0x4a6de0[_0x29c9b7(0x155)]()[_0x29c9b7(0x127)](_0x1cba44=>_0x1cba44[_0x29c9b7(0x12d)]);_0xbd47e2[_0x29c9b7(0xf6)]=_0x449936[_0x29c9b7(0x10e)][_0x29c9b7(0xec)](_0x29c9b7(0x139))[_0x29c9b7(0xcf)][_0x29c9b7(0xfe)](_0x4e1ee4),this[_0x29c9b7(0x13c)][_0x29c9b7(0xd3)](_0x4a6de0,_0x42de2e),this[_0x29c9b7(0xdf)][_0x29c9b7(0xd3)](_0xbd47e2,_0x42de2e);const _0xccc8c7=_0x597a51[_0x29c9b7(0x154)]({'view':_0x4a8a77,'target':()=>{const _0x2b9c67=_0x29c9b7,_0x489f44=[],_0x4971a8=_0x4a6de0[_0x2b9c67(0x155)]()[_0x2b9c67(0x127)](_0x1558af=>_0x1558af[_0x2b9c67(0x12d)]);for(const _0x449cb5 of _0x4971a8)_0x489f44[_0x2b9c67(0x128)](..._0x449cb5[_0x2b9c67(0xfd)]());return _0xa2dbb2(_0x449936[_0x2b9c67(0x11d)],_0x489f44);},'type':()=>_0x29c9b7(0x125)+_0x42de2e[_0x29c9b7(0x10f)][_0x29c9b7(0xf8)]});_0x5a1dd3[_0x29c9b7(0xcd)](_0xbd47e2,_0xccc8c7),_0x597a51[_0x29c9b7(0xd4)](_0xccc8c7),_0x399f34[_0x29c9b7(0x10d)](_0xccc8c7);}[_0x38f284(0x10c)](_0x1f6a5c){const _0x4e558b=_0x38f284,_0x15c65f=this[_0x4e558b(0x14c)][_0x4e558b(0x10e)][_0x4e558b(0xec)](_0x4e558b(0x136)),_0x4eba6e=this[_0x4e558b(0x14c)][_0x4e558b(0x10e)][_0x4e558b(0xec)](_0x4e558b(0xef)),_0x1b4553=this[_0x4e558b(0x13c)][_0x4e558b(0xec)](_0x1f6a5c),_0x192ddd=_0x1b4553[_0x4e558b(0x10f)],_0x26954e=_0x4eba6e[_0x4e558b(0x146)](_0x192ddd);_0x15c65f[_0x4e558b(0x104)](_0x192ddd),_0x26954e&&_0x4eba6e[_0x4e558b(0x117)](_0x26954e),this[_0x4e558b(0x13c)][_0x4e558b(0xe6)](_0x1f6a5c),this[_0x4e558b(0xdf)][_0x4e558b(0xe6)](_0x192ddd),_0x1b4553[_0x4e558b(0x103)]();}[_0x38f284(0xf9)](_0x4cf557){const _0x563be2=_0x38f284;if(!_0x4cf557[_0x563be2(0x12d)]||!this[_0x563be2(0x13c)][_0x563be2(0xf3)](_0x4cf557))return;const _0x3f4ed9=this[_0x563be2(0x14c)][_0x563be2(0x10e)][_0x563be2(0xec)](_0x563be2(0x139)),_0x1a1e2a=this[_0x563be2(0x13c)][_0x563be2(0xec)](_0x4cf557),_0xb6bbed=_0x4cf557[_0x563be2(0x155)]();_0x1a1e2a[_0x563be2(0x10f)][_0x563be2(0xf6)]=_0x3f4ed9[_0x563be2(0xcf)][_0x563be2(0xfe)](_0xb6bbed);}[_0x38f284(0x103)](){const _0x3bad1e=_0x38f284;for(const _0x3b0b1d of this[_0x3bad1e(0x13c)][_0x3bad1e(0x12c)]())this[_0x3bad1e(0x10c)](_0x3b0b1d);for(const _0x1b5878 of this[_0x3bad1e(0x100)][_0x3bad1e(0xe0)]())_0x1b5878[_0x3bad1e(0xda)][_0x3bad1e(0x103)]();super[_0x3bad1e(0x103)]();}}function ae(_0x51711c){const _0x3aa473=_0x38f284;return _0x3aa473(0xf2)in _0x51711c;}
|
|
23
|
+
const _0x411c5b=_0x1315;function _0x434f(){const _0x51a245=['40444ntDCfE','suggestion-','17844oWccum','activeMarkers','_unbindEditors','acceptButton','_destroyController','274908xdbBTX','_disableComments','model','menuitemcheckbox','type','14ZcKfKC','_addUIComponentsToFactory','menuitem','CommentsRepository','424200oVWnTg','values','TrackChangesEditing','execute','_refreshActiveMarkers','menuBar:trackChanges','comments','button','reduce','commandName','componentFactory','suggestionLoaded','hasSuggestion','Accept\x20all\x20suggestions','destroy','Discard\x20all\x20suggestions','descriptionParts','_bindAnnotationToEditors','getSuggestion','comments.maxCommentsWhenCollapsed','children','config','suggestionUnloaded','editing','Track\x20changes','createAnnotation','discardAllSuggestions','comments.editorConfig','EditorAnnotations','init','define','discardButton','_suggestionToController','getJoined','delegate','_handleSuggestionControllerDelayed','activeAnnotations','innerView','pluginName','commands','trackChanges','listenTo','isMultiRange','refreshSelectedViews','153tIMRWm','length','createAnnotationView','lowest','trackChanges.disableComments','get','discardSelectedSuggestions','change:previous','has','some','_createToolbarButton','Annotations','menu','buttonView','set','add','_annotationViews','Accept\x20all\x20selected\x20suggestions','getMarkerNames','requires','isDirty','keys','isInContent','acceptSelectedSuggestions','items','filter','commentThread','addComment','getFirstRange','trackChanges.SuggestionThreadView','arrowView','getByInnerView','from','getRanges','Discard\x20all\x20selected\x20suggestions','plugins','116720ndtZRd','focus','registerAnnotation','_initializeController','value','_createMenuBarMenu','comments.maxThreadTotalWeight','actionView','size','descriptionFactory','getMarkers','187cTvHSa','CommentView','18HlyAUf','createCommentThreadController','switchbutton','_updateController','source','previous','change:activeAnnotations','200220BYMIbr','panelView','CommentsUI','stopListening','remove','delete','8JfRLEj','getDescriptions','push','bind','_handleControllerBuffer','head','mainView','addSourceCollector','_viewToController','getAllAdjacentSuggestions','locale','acceptAllSuggestions','suggestionChanged','isOn','SuggestionThreadView','clear','comments.maxCommentCharsWhenCollapsed','editor','isEnabled','unbind','view','32466TBwJXk','separator','toMany','TrackChangesUI'];_0x434f=function(){return _0x51a245;};return _0x434f();}(function(_0x340b7a,_0x463aac){const _0x5dbdc4=_0x1315,_0x1f0cd8=_0x340b7a();while(!![]){try{const _0x197c88=parseInt(_0x5dbdc4(0xc6))/0x1*(-parseInt(_0x5dbdc4(0x140))/0x2)+-parseInt(_0x5dbdc4(0x102))/0x3*(parseInt(_0x5dbdc4(0xc8))/0x4)+parseInt(_0x5dbdc4(0x13a))/0x5+parseInt(_0x5dbdc4(0xc2))/0x6*(parseInt(_0x5dbdc4(0xd2))/0x7)+-parseInt(_0x5dbdc4(0x126))/0x8*(-parseInt(_0x5dbdc4(0x133))/0x9)+parseInt(_0x5dbdc4(0xd6))/0xa+-parseInt(_0x5dbdc4(0x131))/0xb*(-parseInt(_0x5dbdc4(0xcd))/0xc);if(_0x197c88===_0x463aac)break;else _0x1f0cd8['push'](_0x1f0cd8['shift']());}catch(_0x10d92c){_0x1f0cd8['push'](_0x1f0cd8['shift']());}}}(_0x434f,0x1df08));function _0x1315(_0x3ad227,_0x4256d2){const _0x434fa2=_0x434f();return _0x1315=function(_0x1315bf,_0x423ce6){_0x1315bf=_0x1315bf-0xb6;let _0x2e3d61=_0x434fa2[_0x1315bf];return _0x2e3d61;},_0x1315(_0x3ad227,_0x4256d2);}import{Plugin as _0xc04e4a}from'ckeditor5/src/core.js';import{Collection as _0x39ecb0}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x594489,createDropdown as _0x29a5b1,ListSeparatorView as _0x5c2b06,MenuBarMenuView as _0x475280,MenuBarMenuListView as _0x292c3e,MenuBarMenuListItemView as _0x97c357,MenuBarMenuListItemButtonView as _0x3351a4,SplitButtonView as _0x2462bb,ViewModel as _0xd73614}from'ckeditor5/src/ui.js';import{Users as _0x15a5b6,getDateTimeFormatter as _0x4c14fb,getAllMarkersDomElementsSorted as _0x309784}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2f232b from'./trackchangesediting.js';import _0x1763f1 from'./ui/suggestioncontroller.js';import _0x47a112 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x2f6dcd}from'./utils/common-translations.js';import _0x56813f from'../theme/icons/track-changes.svg';export default class d extends _0xc04e4a{static get[_0x411c5b(0x115)](){const _0x268684=_0x411c5b;return[_0x2f232b,_0x15a5b6,_0x268684(0xd5),_0x268684(0x10d),_0x268684(0xf2)];}static get[_0x411c5b(0xfc)](){const _0x755051=_0x411c5b;return _0x755051(0xc5);}constructor(_0x5129f6){const _0x4244ad=_0x411c5b;super(_0x5129f6),this[_0x4244ad(0xf6)]=new Map(),this[_0x4244ad(0x148)]=new Map(),this[_0x4244ad(0x112)]=new Map(),this[_0x4244ad(0x144)]=new Map();const _0x2036b5=this[_0x4244ad(0xbe)][_0x4244ad(0xeb)];_0x2036b5[_0x4244ad(0xf4)](_0x4244ad(0x11f),_0x47a112),_0x2036b5[_0x4244ad(0xf4)](_0x4244ad(0x106),!0x1),this[_0x4244ad(0xce)]=_0x2036b5[_0x4244ad(0x107)](_0x4244ad(0x106));}[_0x411c5b(0xf9)](_0x3a6134,_0x3be0f4){const _0x2b8504=_0x411c5b;0x0===this[_0x2b8504(0x144)][_0x2b8504(0x12e)]&&setTimeout(()=>{const _0x3d9c6c=_0x2b8504;for(const [_0x451e00,_0x56bcd2]of this[_0x3d9c6c(0x144)]){const _0x598e16=this[_0x3d9c6c(0xf6)][_0x3d9c6c(0x10a)](_0x451e00);_0x598e16||_0x56bcd2?_0x598e16&&_0x56bcd2&&this[_0x3d9c6c(0xcc)](_0x451e00):this[_0x3d9c6c(0x129)](_0x451e00);}this[_0x3d9c6c(0x144)][_0x3d9c6c(0xbc)](),this[_0x3d9c6c(0xbe)][_0x3d9c6c(0x125)][_0x3d9c6c(0x107)](_0x3d9c6c(0xf2))[_0x3d9c6c(0x101)](),this[_0x3d9c6c(0xda)]();},0xa),this[_0x2b8504(0x144)][_0x2b8504(0x110)](_0x3a6134,_0x3be0f4);}[_0x411c5b(0xf3)](){const _0xdb2b36=_0x411c5b,_0x31d1bf=this[_0xdb2b36(0xbe)],_0x40c807=_0x31d1bf[_0xdb2b36(0x125)][_0xdb2b36(0x107)](_0xdb2b36(0xd8)),_0x2fbb4f=_0x31d1bf[_0xdb2b36(0x125)][_0xdb2b36(0x107)](_0xdb2b36(0x10d)),_0x43d284=_0x31d1bf[_0xdb2b36(0x125)][_0xdb2b36(0x107)](_0xdb2b36(0xf2)),_0x4c3e7d=_0x31d1bf[_0xdb2b36(0x125)][_0xdb2b36(0x107)](_0xdb2b36(0xd5));this[_0xdb2b36(0xd3)](),_0x43d284[_0xdb2b36(0x147)](()=>{const _0x1f722a=_0xdb2b36,_0x11d972=[];for(const [_0x4d5ce6,_0xe50ec5]of Array[_0x1f722a(0x122)](this[_0x1f722a(0xf6)])){const _0x12d2a8=_0x4d5ce6[_0x1f722a(0xb6)](),_0x51ed58=[];for(const _0x4bcba2 of _0x12d2a8){if(!_0x4bcba2[_0x1f722a(0x118)])continue;if(_0x4bcba2[_0x1f722a(0x100)]){_0x51ed58[_0x1f722a(0x142)](..._0x4bcba2[_0x1f722a(0x123)]());continue;}const _0x4c96c1=_0x4bcba2[_0x1f722a(0x11e)]();if(_0x51ed58[_0x1f722a(0x103)]>0x0){const _0x292e68=_0x51ed58[0x0][_0x1f722a(0xf7)](_0x4c96c1);if(_0x292e68){_0x51ed58[0x0]=_0x292e68;continue;}}_0x51ed58[_0x1f722a(0x142)](_0x4c96c1);}_0x11d972[_0x1f722a(0x142)]([_0xe50ec5[_0x1f722a(0xc1)],_0x51ed58]);}return _0x11d972;}),this[_0xdb2b36(0xff)](_0x40c807,_0xdb2b36(0xe1),(_0x2003da,_0x479582)=>{const _0x57a039=_0xdb2b36;this[_0x57a039(0xff)](_0x479582,_0x57a039(0x109),(_0x54d4f4,_0x491065,_0xa6389,_0x513734)=>{const _0x3548ba=_0x57a039;_0x479582[_0x3548ba(0x118)]&&(null==_0xa6389?(this[_0x3548ba(0x136)](_0x513734[_0x3548ba(0x145)]),this[_0x3548ba(0xf9)](_0x479582,!0x1)):(this[_0x3548ba(0x136)](_0xa6389[_0x3548ba(0x145)]),null==_0x513734&&this[_0x3548ba(0xf9)](_0x479582,!0x0)));}),null!==_0x479582[_0x57a039(0x138)]?this[_0x57a039(0x136)](_0x479582[_0x57a039(0x145)]):this[_0x57a039(0xf9)](_0x479582,!0x1);}),this[_0xdb2b36(0xff)](_0x40c807,_0xdb2b36(0xec),(_0x505edc,_0x2b4db3,_0x265891)=>{const _0x4b2345=_0xdb2b36;this[_0x4b2345(0x13d)](_0x2b4db3,_0x4b2345(0x109)),this[_0x4b2345(0x144)][_0x4b2345(0x13f)](_0x2b4db3),this[_0x4b2345(0xf6)][_0x4b2345(0x10a)](_0x2b4db3)&&this[_0x4b2345(0xcc)](_0x2b4db3),_0x265891&&this[_0x4b2345(0x136)](_0x265891[_0x4b2345(0x145)]);}),this[_0xdb2b36(0xff)](_0x40c807,_0xdb2b36(0xb9),(_0x2d242a,_0x116797)=>{const _0x2357ca=_0xdb2b36;this[_0x2357ca(0x136)](_0x116797);}),this[_0xdb2b36(0xff)](_0x2fbb4f,_0xdb2b36(0x139),()=>{const _0x238937=_0xdb2b36;this[_0x238937(0xda)]();}),this[_0xdb2b36(0xff)](_0x4c3e7d,_0xdb2b36(0x11d),(_0x29e654,{threadId:_0x3f9214,isFromAdapter:_0x1f7e2c})=>{const _0x52c5ec=_0xdb2b36;if(_0x1f7e2c||!_0x40c807[_0x52c5ec(0xe2)](_0x3f9214))return;const _0x10eb07=_0x40c807[_0x52c5ec(0xe8)](_0x3f9214);this[_0x52c5ec(0xf6)][_0x52c5ec(0x107)](_0x10eb07)[_0x52c5ec(0xc1)][_0x52c5ec(0x127)]();},{'priority':_0xdb2b36(0x105)});}[_0x411c5b(0xda)](){const _0x5f4a3f=_0x411c5b,_0x3dbf4b=this[_0x5f4a3f(0xbe)][_0x5f4a3f(0x125)][_0x5f4a3f(0x107)](_0x5f4a3f(0x10d)),_0x53ffdb=this[_0x5f4a3f(0xbe)][_0x5f4a3f(0x125)][_0x5f4a3f(0x107)](_0x5f4a3f(0xd8)),_0x37e7a5=Array[_0x5f4a3f(0x122)](_0x3dbf4b[_0x5f4a3f(0xfa)],_0x5c9b16=>_0x5c9b16[_0x5f4a3f(0xfb)])[_0x5f4a3f(0x11b)](_0x10ac57=>this[_0x5f4a3f(0x148)][_0x5f4a3f(0x10a)](_0x10ac57)),_0x2ea440=[];for(const _0x1b1f68 of _0x37e7a5){const _0x1ee50d=this[_0x5f4a3f(0x148)][_0x5f4a3f(0x107)](_0x1b1f68)[_0x5f4a3f(0xcf)][_0x5f4a3f(0xb6)]();_0x2ea440[_0x5f4a3f(0x142)](..._0x1ee50d[_0x5f4a3f(0xde)]((_0x4b6080,_0x8d1d83)=>[..._0x4b6080,..._0x8d1d83[_0x5f4a3f(0x114)]()],[]));}_0x53ffdb[_0x5f4a3f(0xc9)]=_0x2ea440;}[_0x411c5b(0xd3)](){const _0x30ba95=_0x411c5b,_0x3cd5b3=this[_0x30ba95(0xbe)],_0x53b7a8=_0x3cd5b3[_0x30ba95(0xb7)],_0x3165a3=_0x2f6dcd(_0x53b7a8,_0x30ba95(0xee)),_0x357e49=new _0x39ecb0([{'type':_0x30ba95(0x135),'model':new _0xd73614({'withText':!0x0,'label':_0x3165a3,'commandName':_0x30ba95(0xfe),'role':_0x30ba95(0xd0)})},{'type':_0x30ba95(0xc3)},{'type':_0x30ba95(0xdd),'model':new _0xd73614({'withText':!0x0,'label':_0x2f6dcd(_0x53b7a8,_0x30ba95(0xe3)),'commandName':_0x30ba95(0xb8),'role':_0x30ba95(0xd4)})},{'type':_0x30ba95(0xdd),'model':new _0xd73614({'withText':!0x0,'label':_0x2f6dcd(_0x53b7a8,_0x30ba95(0x113)),'commandName':_0x30ba95(0x119),'role':_0x30ba95(0xd4)})},{'type':_0x30ba95(0xdd),'model':new _0xd73614({'withText':!0x0,'label':_0x2f6dcd(_0x53b7a8,_0x30ba95(0xe5)),'commandName':_0x30ba95(0xf0),'role':_0x30ba95(0xd4)})},{'type':_0x30ba95(0xdd),'model':new _0xd73614({'withText':!0x0,'label':_0x2f6dcd(_0x53b7a8,_0x30ba95(0x124)),'commandName':_0x30ba95(0x108),'role':_0x30ba95(0xd4)})}]);for(const _0x500bc8 of _0x357e49)if(ae(_0x500bc8)){const _0x3455f3=_0x3cd5b3[_0x30ba95(0xfd)][_0x30ba95(0x107)](_0x500bc8[_0x30ba95(0xcf)][_0x30ba95(0xdf)]);_0x500bc8[_0x30ba95(0xcf)][_0x30ba95(0x143)](_0x30ba95(0xba),_0x30ba95(0xbf))['to'](_0x3455f3,_0x30ba95(0x12a),_0x30ba95(0xbf));}_0x3cd5b3['ui'][_0x30ba95(0xe0)][_0x30ba95(0x111)](_0x30ba95(0xfe),_0x45efd9=>this[_0x30ba95(0x10c)](_0x45efd9,_0x357e49,_0x3165a3)),_0x3cd5b3['ui'][_0x30ba95(0xe0)][_0x30ba95(0x111)](_0x30ba95(0xdb),_0x20216e=>this[_0x30ba95(0x12b)](_0x20216e,_0x357e49,_0x3165a3));}[_0x411c5b(0x10c)](_0x27daf2,_0x240258,_0x7b238e){const _0x3965ed=_0x411c5b,_0x58ff5d=_0x29a5b1(_0x27daf2,_0x2462bb),_0x3604b5=this[_0x3965ed(0xbe)][_0x3965ed(0xfd)][_0x3965ed(0x107)](_0x3965ed(0xfe));_0x58ff5d[_0x3965ed(0x10f)][_0x3965ed(0x110)]({'tooltip':_0x7b238e,'label':_0x7b238e,'icon':_0x56813f}),_0x58ff5d[_0x3965ed(0x10f)][_0x3965ed(0x143)](_0x3965ed(0xba))['to'](_0x3604b5,_0x3965ed(0x12a)),_0x58ff5d[_0x3965ed(0x10f)]['on'](_0x3965ed(0xd9),()=>{const _0x27e614=_0x3965ed;_0x3604b5[_0x27e614(0xd9)](),this[_0x27e614(0xbe)][_0x27e614(0xed)][_0x27e614(0xc1)][_0x27e614(0x127)]();}),_0x594489(_0x58ff5d,_0x240258,{'role':_0x3965ed(0x10e)});const _0x2dec04=[];for(const _0x5d2a76 of _0x240258)ae(_0x5d2a76)&&_0x2dec04[_0x3965ed(0x142)](this[_0x3965ed(0xbe)][_0x3965ed(0xfd)][_0x3965ed(0x107)](_0x5d2a76[_0x3965ed(0xcf)][_0x3965ed(0xdf)]));const _0x3719e0=_0x58ff5d[_0x3965ed(0x10f)];return _0x3719e0[_0x3965ed(0x12d)][_0x3965ed(0xc0)](_0x3965ed(0xbf)),_0x3719e0[_0x3965ed(0x120)][_0x3965ed(0xc0)](_0x3965ed(0xbf)),_0x3719e0[_0x3965ed(0x12d)][_0x3965ed(0x143)](_0x3965ed(0xbf))['to'](_0x3604b5,_0x3965ed(0xbf)),_0x3719e0[_0x3965ed(0x120)][_0x3965ed(0x143)](_0x3965ed(0xbf))[_0x3965ed(0xc4)](_0x2dec04,_0x3965ed(0xbf),(..._0x3aa304)=>_0x3aa304[_0x3965ed(0x10b)](_0x1538a1=>_0x1538a1)),_0x58ff5d['on'](_0x3965ed(0xd9),_0x3c735b=>{const _0x23b47e=_0x3965ed;this[_0x23b47e(0xbe)][_0x23b47e(0xd9)](_0x3c735b[_0x23b47e(0x137)][_0x23b47e(0xdf)]),this[_0x23b47e(0xbe)][_0x23b47e(0xed)][_0x23b47e(0xc1)][_0x23b47e(0x127)]();}),_0x58ff5d;}[_0x411c5b(0x12b)](_0x49d0c6,_0xc078cf,_0x3b740c){const _0x23177b=_0x411c5b,_0x2ec009=new _0x475280(_0x49d0c6),_0x5727f1=this[_0x23177b(0xbe)][_0x23177b(0xfd)][_0x23177b(0x107)](_0x23177b(0xfe));_0x2ec009[_0x23177b(0x10f)][_0x23177b(0x110)]({'label':_0x3b740c,'icon':_0x56813f});const _0x2c04df=new _0x292c3e(_0x49d0c6);for(const _0x2374ba of _0xc078cf){if(_0x23177b(0xc3)==_0x2374ba[_0x23177b(0xd1)]){_0x2c04df[_0x23177b(0x11a)][_0x23177b(0x111)](new _0x5c2b06(_0x49d0c6));continue;}const _0x11f055=new _0x97c357(_0x49d0c6,_0x2ec009),_0x4fa829=new _0x3351a4(_0x49d0c6),_0x557f99=_0x2374ba[_0x23177b(0xcf)];_0x4fa829[_0x23177b(0x143)](...Object[_0x23177b(0x117)](_0x557f99))['to'](_0x557f99),_0x4fa829[_0x23177b(0xf8)](_0x23177b(0xd9))['to'](_0x2ec009),_0x4fa829['on'](_0x23177b(0xd9),()=>{const _0x4bd5ce=_0x23177b;this[_0x4bd5ce(0xbe)][_0x4bd5ce(0xd9)](_0x557f99[_0x4bd5ce(0xdf)]),this[_0x4bd5ce(0xbe)][_0x4bd5ce(0xed)][_0x4bd5ce(0xc1)][_0x4bd5ce(0x127)]();}),_0x11f055[_0x23177b(0xea)][_0x23177b(0x111)](_0x4fa829),_0x2c04df[_0x23177b(0x11a)][_0x23177b(0x111)](_0x11f055);}return _0x2ec009[_0x23177b(0x143)](_0x23177b(0xbf))['to'](_0x5727f1,_0x23177b(0xbf)),_0x2ec009[_0x23177b(0x13b)][_0x23177b(0xea)][_0x23177b(0x111)](_0x2c04df),_0x2ec009;}[_0x411c5b(0x129)](_0x34dcfd){const _0x26eb8c=_0x411c5b,_0x2e9890=this[_0x26eb8c(0xbe)],_0x5a71d3=_0x2e9890[_0x26eb8c(0xeb)],_0x1d9f78=_0x2e9890[_0x26eb8c(0x125)][_0x26eb8c(0x107)](_0x26eb8c(0x10d)),_0x28789e=_0x2e9890[_0x26eb8c(0x125)][_0x26eb8c(0x107)](_0x26eb8c(0xd5)),_0x4c33df=_0x2e9890[_0x26eb8c(0x125)][_0x26eb8c(0x107)](_0x26eb8c(0xf2)),_0x157da1=_0x2e9890[_0x26eb8c(0x125)][_0x26eb8c(0x107)](_0x15a5b6)['me'],_0x67f321=_0x5a71d3[_0x26eb8c(0x107)](_0x26eb8c(0xfe))[_0x26eb8c(0xbb)],{CommentsListView:_0x1da565,CommentThreadInputView:_0x319fba}=_0x2e9890[_0x26eb8c(0x125)][_0x26eb8c(0x107)](_0x26eb8c(0x13c));let _0x215158,_0x5e8af8;this[_0x26eb8c(0x112)][_0x26eb8c(0x10a)](_0x34dcfd['id'])?(_0x5e8af8=this[_0x26eb8c(0x112)][_0x26eb8c(0x107)](_0x34dcfd['id']),_0x215158=_0x5e8af8[_0x26eb8c(0x146)]):(_0x215158=new _0x67f321(_0x2e9890[_0x26eb8c(0xb7)],_0x34dcfd,_0x157da1,{'disableComments':this[_0x26eb8c(0xce)],'editorConfig':_0x5a71d3[_0x26eb8c(0x107)](_0x26eb8c(0xf1)),'maxCommentsWhenCollapsed':_0x5a71d3[_0x26eb8c(0x107)](_0x26eb8c(0xe9)),'maxThreadTotalWeight':_0x5a71d3[_0x26eb8c(0x107)](_0x26eb8c(0x12c)),'maxCommentCharsWhenCollapsed':_0x5a71d3[_0x26eb8c(0x107)](_0x26eb8c(0xbd)),'formatDateTime':_0x4c14fb(_0x5a71d3[_0x26eb8c(0x107)](_0x26eb8c(0xb7))),'CommentView':_0x5a71d3[_0x26eb8c(0x107)](_0x26eb8c(0xdc))[_0x26eb8c(0x132)],'CommentsListView':_0x1da565,'CommentThreadInputView':_0x319fba}),_0x215158[_0x26eb8c(0xcb)]['on'](_0x26eb8c(0xd9),()=>{const _0x6d6003=_0x26eb8c;_0x2e9890[_0x6d6003(0xed)][_0x6d6003(0xc1)][_0x6d6003(0x127)]();}),_0x215158[_0x26eb8c(0xf5)]['on'](_0x26eb8c(0xd9),()=>{const _0x1fc32c=_0x26eb8c;_0x2e9890[_0x1fc32c(0xed)][_0x1fc32c(0xc1)][_0x1fc32c(0x127)]();}),_0x5e8af8=_0x1d9f78[_0x26eb8c(0x104)](this[_0x26eb8c(0xbe)][_0x26eb8c(0xb7)],_0x215158),_0x5e8af8[_0x26eb8c(0x143)](_0x26eb8c(0x116))['to'](_0x215158,_0x26eb8c(0x116)),_0x5e8af8[_0x26eb8c(0x143)](_0x26eb8c(0x103))['to'](_0x215158),_0x5e8af8[_0x26eb8c(0x143)](_0x26eb8c(0xd1))['to'](_0x215158,_0x26eb8c(0xd1),_0x539e1d=>_0x26eb8c(0xc7)+_0x539e1d),this[_0x26eb8c(0x112)][_0x26eb8c(0x110)](_0x34dcfd['id'],_0x5e8af8));const _0x50f22f=_0x28789e[_0x26eb8c(0x134)](_0x34dcfd[_0x26eb8c(0x11c)],_0x215158),_0x1d333d=new _0x1763f1(_0x2e9890,_0x34dcfd,_0x215158,_0x50f22f),_0x325a92=_0x34dcfd[_0x26eb8c(0xb6)]()[_0x26eb8c(0x11b)](_0x1ef5f6=>_0x1ef5f6[_0x26eb8c(0x118)]);_0x215158[_0x26eb8c(0xe6)]=_0x2e9890[_0x26eb8c(0x125)][_0x26eb8c(0x107)](_0x26eb8c(0xd8))[_0x26eb8c(0x12f)][_0x26eb8c(0x141)](_0x325a92),this[_0x26eb8c(0xf6)][_0x26eb8c(0x110)](_0x34dcfd,_0x1d333d),this[_0x26eb8c(0x148)][_0x26eb8c(0x110)](_0x215158,_0x1d333d);const _0x2a2cf1=_0x1d9f78[_0x26eb8c(0xef)]({'view':_0x5e8af8,'target':()=>{const _0x58c6a8=_0x26eb8c,_0x53d0d8=[],_0x3e869a=_0x34dcfd[_0x58c6a8(0xb6)]()[_0x58c6a8(0x11b)](_0x660e5e=>_0x660e5e[_0x58c6a8(0x118)]);for(const _0xaccf0b of _0x3e869a)_0x53d0d8[_0x58c6a8(0x142)](..._0xaccf0b[_0x58c6a8(0x130)]());return _0x309784(_0x2e9890[_0x58c6a8(0xed)],_0x53d0d8);},'type':()=>_0x26eb8c(0xc7)+_0x1d333d[_0x26eb8c(0xc1)][_0x26eb8c(0xd1)]});_0x28789e[_0x26eb8c(0xe7)](_0x215158,_0x2a2cf1),_0x1d9f78[_0x26eb8c(0x111)](_0x2a2cf1),_0x4c33df[_0x26eb8c(0x128)](_0x2a2cf1);}[_0x411c5b(0xcc)](_0x1d372a){const _0x451338=_0x411c5b,_0x432075=this[_0x451338(0xbe)][_0x451338(0x125)][_0x451338(0x107)](_0x451338(0xd5)),_0x456ff0=this[_0x451338(0xbe)][_0x451338(0x125)][_0x451338(0x107)](_0x451338(0x10d)),_0x5659c0=this[_0x451338(0xf6)][_0x451338(0x107)](_0x1d372a),_0x5ea6df=_0x5659c0[_0x451338(0xc1)],_0x349823=_0x456ff0[_0x451338(0x121)](_0x5ea6df);_0x432075[_0x451338(0xca)](_0x5ea6df),_0x349823&&_0x456ff0[_0x451338(0x13e)](_0x349823),this[_0x451338(0xf6)][_0x451338(0x13f)](_0x1d372a),this[_0x451338(0x148)][_0x451338(0x13f)](_0x5ea6df),_0x5659c0[_0x451338(0xe4)]();}[_0x411c5b(0x136)](_0x2136a6){const _0x272e7e=_0x411c5b;if(!_0x2136a6[_0x272e7e(0x118)]||!this[_0x272e7e(0xf6)][_0x272e7e(0x10a)](_0x2136a6))return;const _0x504d1e=this[_0x272e7e(0xbe)][_0x272e7e(0x125)][_0x272e7e(0x107)](_0x272e7e(0xd8)),_0x4b54e7=this[_0x272e7e(0xf6)][_0x272e7e(0x107)](_0x2136a6),_0x393760=_0x2136a6[_0x272e7e(0xb6)]();_0x4b54e7[_0x272e7e(0xc1)][_0x272e7e(0xe6)]=_0x504d1e[_0x272e7e(0x12f)][_0x272e7e(0x141)](_0x393760);}[_0x411c5b(0xe4)](){const _0x126028=_0x411c5b;for(const _0x471a89 of this[_0x126028(0xf6)][_0x126028(0x117)]())this[_0x126028(0xcc)](_0x471a89);for(const _0x580a48 of this[_0x126028(0x112)][_0x126028(0xd7)]())_0x580a48[_0x126028(0x146)][_0x126028(0xe4)]();super[_0x126028(0xe4)]();}}function ae(_0x45ead0){const _0x128a18=_0x411c5b;return _0x128a18(0xcf)in _0x45ead0;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x496d3e=_0x5cf1;(function(_0x38aa39,_0x16bce4){const _0x29f4f9=_0x5cf1,_0x4ea5f4=_0x38aa39();while(!![]){try{const _0x2d866c=parseInt(_0x29f4f9(0x1ba))/0x1+parseInt(_0x29f4f9(0x1ae))/0x2*(parseInt(_0x29f4f9(0x1b1))/0x3)+parseInt(_0x29f4f9(0x1be))/0x4*(-parseInt(_0x29f4f9(0x1ad))/0x5)+parseInt(_0x29f4f9(0x1a5))/0x6*(parseInt(_0x29f4f9(0x1b4))/0x7)+-parseInt(_0x29f4f9(0x196))/0x8+parseInt(_0x29f4f9(0x193))/0x9*(parseInt(_0x29f4f9(0x194))/0xa)+-parseInt(_0x29f4f9(0x195))/0xb*(parseInt(_0x29f4f9(0x19a))/0xc);if(_0x2d866c===_0x16bce4)break;else _0x4ea5f4['push'](_0x4ea5f4['shift']());}catch(_0x3d8d63){_0x4ea5f4['push'](_0x4ea5f4['shift']());}}}(_0x9b51,0xaddca));import{ObservableMixin as _0x33a567}from'ckeditor5/src/utils.js';function _0x5cf1(_0x149885,_0x4e8887){const _0x9b51e5=_0x9b51();return _0x5cf1=function(_0x5cf13c,_0x5ef97b){_0x5cf13c=_0x5cf13c-0x193;let _0x16a66e=_0x9b51e5[_0x5cf13c];return _0x16a66e;},_0x5cf1(_0x149885,_0x4e8887);}import{getTranslation as _0x80ce61}from'../utils/common-translations.js';export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x33a567(){constructor(_0x17017f,_0x3964da,_0x462bd0,_0x4059f7){const _0x44964b=_0x5cf1;super(),this[_0x44964b(0x1af)]=_0x3964da,this[_0x44964b(0x1a3)]=_0x462bd0,this[_0x44964b(0x199)]=_0x4059f7,this[_0x44964b(0x1ac)]=_0x17017f,this[_0x44964b(0x1a4)]=_0x17017f[_0x44964b(0x1a6)][_0x44964b(0x1a2)](_0x44964b(0x1bd)),this[_0x44964b(0x1bb)]=_0x17017f[_0x44964b(0x1a6)][_0x44964b(0x1a2)](_0x44964b(0x19b)),this[_0x44964b(0x1a3)][_0x44964b(0x1a9)](_0x44964b(0x1b9))['to'](this[_0x44964b(0x1a4)],this[_0x44964b(0x1bb)],(_0xe02536,_0x1303a9)=>_0xe02536||_0x1303a9),this[_0x44964b(0x1a3)][_0x44964b(0x1a9)](_0x44964b(0x1bc))['to'](this[_0x44964b(0x1a4)],_0x44964b(0x1b9),_0x137ce2=>_0x137ce2&&this[_0x44964b(0x1ac)][_0x44964b(0x1af)][_0x44964b(0x1b8)](_0x3964da[_0x44964b(0x198)]())),this[_0x44964b(0x1a3)][_0x44964b(0x1a9)](_0x44964b(0x19d))['to'](this[_0x44964b(0x1bb)],_0x44964b(0x1b9),_0x392979=>_0x392979&&this[_0x44964b(0x1ac)][_0x44964b(0x1af)][_0x44964b(0x1b8)](_0x3964da[_0x44964b(0x198)]())),this[_0x44964b(0x1b3)]=null,_0x462bd0[_0x44964b(0x1b0)]&&this[_0x44964b(0x19f)](),this[_0x44964b(0x1b7)](_0x462bd0,_0x44964b(0x1bd),()=>this[_0x44964b(0x1bd)]()),this[_0x44964b(0x1b7)](_0x462bd0,_0x44964b(0x19b),()=>this[_0x44964b(0x19b)]()),this[_0x44964b(0x1b7)](_0x462bd0,_0x44964b(0x1a0),()=>{const _0x36c779=_0x44964b;_0x462bd0[_0x36c779(0x1b0)]?this[_0x36c779(0x19f)]():this[_0x36c779(0x1b2)]();});}[_0x496d3e(0x1bd)](){const _0x5d204f=_0x496d3e;this[_0x5d204f(0x1a4)][_0x5d204f(0x1a8)](this[_0x5d204f(0x1af)]['id']);}[_0x496d3e(0x19b)](){const _0xebd79a=_0x496d3e;this[_0xebd79a(0x1bb)][_0xebd79a(0x1a8)](this[_0xebd79a(0x1af)]['id']);}[_0x496d3e(0x1ab)](){const _0x2d21e0=_0x496d3e;this[_0x2d21e0(0x1a3)][_0x2d21e0(0x1aa)](_0x2d21e0(0x1b9)),this[_0x2d21e0(0x1a3)][_0x2d21e0(0x1aa)](_0x2d21e0(0x1bc)),this[_0x2d21e0(0x1a3)][_0x2d21e0(0x1aa)](_0x2d21e0(0x19d)),this[_0x2d21e0(0x19c)](),this[_0x2d21e0(0x199)][_0x2d21e0(0x1ab)](),this[_0x2d21e0(0x1b3)]&&this[_0x2d21e0(0x1b2)]();}[_0x496d3e(0x19f)](){const _0x57f54c=_0x496d3e,_0x2cb2c4=_0x80ce61(this[_0x57f54c(0x1ac)][_0x57f54c(0x197)],_0x57f54c(0x1b6));this[_0x57f54c(0x1b3)]=this[_0x57f54c(0x1ac)][_0x57f54c(0x1b5)][_0x57f54c(0x1a2)](_0x57f54c(0x19e))[_0x57f54c(0x1a1)](_0x2cb2c4);}[_0x496d3e(0x1b2)](){const _0x432970=_0x496d3e;null!==this[_0x432970(0x1b3)]&&this[_0x432970(0x1ac)][_0x432970(0x1b5)][_0x432970(0x1a2)](_0x432970(0x19e))[_0x432970(0x1a7)](this[_0x432970(0x1b3)]),this[_0x432970(0x1b3)]=null;}}function _0x9b51(){const _0x3458c8=['stopListening','canDiscard','PendingActions','_setPendingAction','change:isDirty','add','get','view','_acceptCommand','8481336eGaNKH','commands','remove','execute','bind','unbind','destroy','_editor','620fycDhE','14MHDJsi','model','isDirty','365532XywViq','_removePendingAction','_pendingAction','7QoKPYU','plugins','PENDING_ACTION_SUGGESTION','listenTo','canEditAt','isEnabled','816867eDSRAg','_discardCommand','canAccept','acceptSuggestion','11420WCWQEg','261yNbgjv','256430WCGQCE','1430539mRrBKO','2319112wwClKD','locale','getRanges','commentThreadController','228sWkiJo','discardSuggestion'];_0x9b51=function(){return _0x3458c8;};return _0x9b51();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2111(){const _0x3105dc=['submit','7552963aQuQFl','addComment','4RJCvjA','editorConfig','commentInputView','value','fire','4006782TflwnI','_createCommentViews','disabledSubmit','72YFhrUk','isDirty','locale','isEnabled','isReadOnly','showInput','_config','canDiscard','focus','length','321335zsqqpn','set','canAccept','setData','654fwZxCV','bind','3001260IxGUDW','element','descriptionParts','commentThread','_localUser','commentThreadInputView','assign','cancel','disableComments','commentsListView','CommentView','_model','delegate','destroy','171878PGNxIN','10xVSzLB','hasDirtyComment','authoredAt','editor','removeComment','2922dkyokW','_createCommentThreadInputView','695865aeWjiF','isActive','updateComment'];_0x2111=function(){return _0x3105dc;};return _0x2111();}const _0x354d4a=_0x419e;(function(_0x440122,_0x3b4af0){const _0xd0ab8f=_0x419e,_0x422c13=_0x440122();while(!![]){try{const _0x3232b6=parseInt(_0xd0ab8f(0x14a))/0x1+parseInt(_0xd0ab8f(0x14e))/0x2*(-parseInt(_0xd0ab8f(0x164))/0x3)+parseInt(_0xd0ab8f(0x138))/0x4*(-parseInt(_0xd0ab8f(0x166))/0x5)+-parseInt(_0xd0ab8f(0x150))/0x6+-parseInt(_0xd0ab8f(0x15e))/0x7*(parseInt(_0xd0ab8f(0x140))/0x8)+parseInt(_0xd0ab8f(0x13d))/0x9+-parseInt(_0xd0ab8f(0x15f))/0xa*(-parseInt(_0xd0ab8f(0x136))/0xb);if(_0x3232b6===_0x3b4af0)break;else _0x422c13['push'](_0x422c13['shift']());}catch(_0x34ece1){_0x422c13['push'](_0x422c13['shift']());}}}(_0x2111,0x42f7b));function _0x419e(_0x42bbc3,_0x41d771){const _0x21117d=_0x2111();return _0x419e=function(_0x419e9c,_0x22f425){_0x419e9c=_0x419e9c-0x135;let _0x30b527=_0x21117d[_0x419e9c];return _0x30b527;},_0x419e(_0x42bbc3,_0x41d771);}import{View as _0x3ed2a9}from'ckeditor5/src/ui.js';export default class es extends _0x3ed2a9{constructor(_0x221d8b,_0x2a8c72,_0x828076,_0x32270e){const _0xbe75c8=_0x419e;super(_0x221d8b),this[_0xbe75c8(0x159)]=null,this[_0xbe75c8(0x155)]=null,this[_0xbe75c8(0x14b)](_0xbe75c8(0x167),!0x1),this[_0xbe75c8(0x14b)](_0xbe75c8(0x161),_0x2a8c72[_0xbe75c8(0x161)]),this[_0xbe75c8(0x14f)](_0xbe75c8(0x161))['to'](_0x2a8c72),this[_0xbe75c8(0x14b)](_0xbe75c8(0x152),[]),this[_0xbe75c8(0x14b)](_0xbe75c8(0x141),!0x1),this[_0xbe75c8(0x14b)](_0xbe75c8(0x143),!0x1),this[_0xbe75c8(0x14b)](_0xbe75c8(0x14c),!0x1),this[_0xbe75c8(0x14b)](_0xbe75c8(0x147),!0x1),this[_0xbe75c8(0x15b)]=_0x2a8c72,this[_0xbe75c8(0x154)]=_0x828076,this[_0xbe75c8(0x146)]=_0x32270e,_0x32270e[_0xbe75c8(0x158)]?this[_0xbe75c8(0x14b)](_0xbe75c8(0x149),0x1):this[_0xbe75c8(0x13e)]();}[_0x354d4a(0x148)](){const _0x55a006=_0x354d4a;this[_0x55a006(0x151)][_0x55a006(0x148)]();}[_0x354d4a(0x15d)](){const _0x1eb9eb=_0x354d4a;this[_0x1eb9eb(0x159)]&&this[_0x1eb9eb(0x159)][_0x1eb9eb(0x15d)](),this[_0x1eb9eb(0x155)]&&this[_0x1eb9eb(0x155)][_0x1eb9eb(0x15d)](),super[_0x1eb9eb(0x15d)]();}[_0x354d4a(0x13e)](){const _0x33f075=_0x354d4a,{CommentsListView:_0x1518c2}=this[_0x33f075(0x146)];this[_0x33f075(0x159)]=new _0x1518c2(this[_0x33f075(0x142)],this[_0x33f075(0x15b)][_0x33f075(0x153)],Object[_0x33f075(0x156)]({'CommentView':this[_0x33f075(0x146)][_0x33f075(0x15a)]},this[_0x33f075(0x146)])),this[_0x33f075(0x159)][_0x33f075(0x15c)](_0x33f075(0x163))['to'](this),this[_0x33f075(0x159)][_0x33f075(0x15c)](_0x33f075(0x168))['to'](this),this[_0x33f075(0x159)][_0x33f075(0x14f)](_0x33f075(0x167))['to'](this),this[_0x33f075(0x14b)](_0x33f075(0x149),this[_0x33f075(0x159)][_0x33f075(0x149)]+0x1),this[_0x33f075(0x14f)](_0x33f075(0x149))['to'](this[_0x33f075(0x159)],_0x33f075(0x149),_0x7f8fc8=>_0x7f8fc8+0x1),this[_0x33f075(0x155)]=this[_0x33f075(0x165)](),this['on'](_0x33f075(0x163),()=>this[_0x33f075(0x148)]()),this[_0x33f075(0x14f)](_0x33f075(0x141))['to'](this[_0x33f075(0x159)],_0x33f075(0x160),this[_0x33f075(0x155)][_0x33f075(0x13a)],_0x33f075(0x13b),(_0xf2cbdd,_0x1e7bd8)=>_0xf2cbdd||!!_0x1e7bd8);}[_0x354d4a(0x165)](){const _0x43a68c=_0x354d4a,{CommentThreadInputView:_0x2fd0c2}=this[_0x43a68c(0x146)],_0x298013=new _0x2fd0c2(this[_0x43a68c(0x142)],this[_0x43a68c(0x154)],this[_0x43a68c(0x146)][_0x43a68c(0x139)]),_0x17dfe4=_0x298013[_0x43a68c(0x13a)];return _0x298013[_0x43a68c(0x14f)](_0x43a68c(0x145))['to'](this,_0x43a68c(0x167),this[_0x43a68c(0x15b)][_0x43a68c(0x153)],_0x43a68c(0x144),_0x17dfe4,_0x43a68c(0x13b),(_0x5b1b48,_0x4951e3,_0x4b2099)=>!!_0x4b2099||_0x5b1b48&&!_0x4951e3),_0x17dfe4['on'](_0x43a68c(0x135),(_0x45b902,_0x18d49f)=>{const _0x117501=_0x43a68c;this[_0x117501(0x13c)](_0x117501(0x137),_0x18d49f),_0x17dfe4[_0x117501(0x162)][_0x117501(0x14d)]('');}),_0x17dfe4['on'](_0x43a68c(0x157),()=>this[_0x43a68c(0x148)]()),_0x17dfe4[_0x43a68c(0x14f)](_0x43a68c(0x13f))['to'](this[_0x43a68c(0x15b)][_0x43a68c(0x153)],_0x43a68c(0x144)),_0x298013;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x55b385=_0x4e27;(function(_0x446525,_0x405b10){const _0x508054=_0x4e27,_0x3e298a=_0x446525();while(!![]){try{const _0x1d42ed=-parseInt(_0x508054(0x1ac))/0x1+-parseInt(_0x508054(0x172))/0x2+parseInt(_0x508054(0x1bc))/0x3*(-parseInt(_0x508054(0x1b7))/0x4)+parseInt(_0x508054(0x1d5))/0x5+parseInt(_0x508054(0x175))/0x6+parseInt(_0x508054(0x1b5))/0x7*(-parseInt(_0x508054(0x1c1))/0x8)+parseInt(_0x508054(0x1d0))/0x9;if(_0x1d42ed===_0x405b10)break;else _0x3e298a['push'](_0x3e298a['shift']());}catch(_0x361be4){_0x3e298a['push'](_0x3e298a['shift']());}}}(_0x3b06,0xcd9f6));import{getTranslation as _0xcc6862}from'../../utils/common-translations.js';import{default as _0x3eb45f}from'./basesuggestionthreadview.js';import{ButtonView as _0x5c9195}from'ckeditor5/src/ui.js';import{icons as _0x13e7b5}from'ckeditor5/src/core.js';function _0x3b06(){const _0x25810e=['name','commentThreadInputView','querySelector','descriptionParts','ck-suggestion-','span','discardSuggestion','locale','innerHTML','@external','render','value','fire','split','ck-suggestion--accept','ck-annotation__content-wrapper','bindTemplate','commentsListView','ck-annotation','846309kytzIq','EXTERNAL_IMPORT_WORD_AVATAR','_descriptionElement','editorDestroyed','getTemplate','editorReady','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','<span\x20class=\x22ck-suggestion-type\x22>','delegate','86744CPnzFF','canAccept','553156eniuWe','</span>','Accept\x20suggestion','execute','ck-suggestion__info','6fVGsuH','type','time','content','EXTERNAL_AVATAR','56aCslaU','ck-suggestion--discard','_config','ck-suggestion','ck-annotation__info-name','join','\x22\x20title=\x22','_model','_createButton','map','ck-annotation__user','ck-suggestion__main','ck-annotation__actions','isActive','color','29873970pAGBce','title','ck-suggestion__actions','formatDateTime','bind','1016885fxwvox','</p>','innerText','isEnabled','ck-annotation__info','importWord','ck-comment__info-time','discardButton','acceptSuggestion','check','cancel','3345912ZzpCnL','ck-comment__external','ck-annotation__info-time','1212660HXkBEV','extendTemplate','authoredAt','source','author','Discard\x20suggestion','change:description','userView','canDiscard','ck-suggestion__user','isExternal','getUserViewNotificationText','children','commentThread','push','creator','createElement','ck-suggestion--disabled-comments','div','ck-annotation__main','set','ck-suggestion-wrapper--active','element','ck-suggestion-wrapper','\x22></span>','acceptButton','disableComments','getExternalSuggestionNote','attributes','EXTERNAL_IMPORT_WORD_SUGGESTION','<p>','.ck-annotation__content-wrapper','ck-suggestion__info-name','EXTERNAL_SUGGESTION','description','setTemplate'];_0x3b06=function(){return _0x25810e;};return _0x3b06();}import{trimHtml as _0x1f44a0,UserView as _0x31f9f5}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x3eb45f{constructor(_0x14de67,_0x4efa38,_0x2fd62c,_0x10cf40){const _0x474b4a=_0x4e27;super(_0x14de67,_0x4efa38,_0x2fd62c,_0x10cf40),this[_0x474b4a(0x189)](_0x474b4a(0x1bd),''),this[_0x474b4a(0x1d4)](_0x474b4a(0x1bd))['to'](this,_0x474b4a(0x19c),_0x30f81d=>_0x30f81d&&_0x30f81d[0x0]?_0x30f81d[0x0][_0x474b4a(0x1bd)]:''),this[_0x474b4a(0x1d4)](_0x474b4a(0x197))['to'](this,_0x474b4a(0x19c),this,_0x474b4a(0x1ce),(_0x4ea81f,_0x753ab7)=>{const _0x2412bc=_0x474b4a;let _0x4ebc06='';for(const _0x3111c2 of _0x4ea81f)_0x4ebc06+=_0x2412bc(0x193)+ds(_0x3111c2[_0x2412bc(0x1bf)],_0x3111c2[_0x2412bc(0x1cf)])+_0x2412bc(0x1d6);return _0x753ab7?_0x4ebc06:_0x1f44a0(_0x4ebc06,{'limit':0x8c});}),this[_0x474b4a(0x1ae)]=null,this[_0x474b4a(0x18e)]=this[_0x474b4a(0x1c9)](_0xcc6862(_0x14de67,_0x474b4a(0x1b9)),_0x13e7b5[_0x474b4a(0x1de)],_0x474b4a(0x1a7),_0x474b4a(0x1dd),'sw'),this[_0x474b4a(0x18e)][_0x474b4a(0x1d4)](_0x474b4a(0x1d8))['to'](this,_0x474b4a(0x1b6)),this[_0x474b4a(0x1dc)]=this[_0x474b4a(0x1c9)](_0xcc6862(_0x14de67,_0x474b4a(0x17a)),_0x13e7b5[_0x474b4a(0x1df)],_0x474b4a(0x1c2),_0x474b4a(0x19f),'sw'),this[_0x474b4a(0x1dc)][_0x474b4a(0x1d4)](_0x474b4a(0x1d8))['to'](this,_0x474b4a(0x17d)),this[_0x474b4a(0x17c)]=new _0x31f9f5(_0x14de67,this[_0x474b4a(0x1c8)][_0x474b4a(0x179)],this[_0x474b4a(0x180)]()),this[_0x474b4a(0x17c)][_0x474b4a(0x176)]({'attributes':{'class':[_0x474b4a(0x17e),_0x474b4a(0x1cb)]}}),this[_0x474b4a(0x198)](this[_0x474b4a(0x1b0)]());}[_0x55b385(0x1b0)](){const _0xc5b346=_0x55b385,_0x4760f6=this[_0xc5b346(0x1a9)],_0x4d54f9=[{'tag':_0xc5b346(0x187),'attributes':{'class':[_0xc5b346(0x1bb),_0xc5b346(0x1d9)]},'children':[{'tag':_0xc5b346(0x19e),'children':[{'text':this[_0xc5b346(0x17c)][_0xc5b346(0x199)]}],'attributes':{'class':[_0xc5b346(0x195),_0xc5b346(0x1c5)]}},{'tag':_0xc5b346(0x1be),'attributes':{'datetime':_0x4760f6['to'](_0xc5b346(0x177)),'class':[_0xc5b346(0x1db),_0xc5b346(0x174)]},'children':[{'text':_0x4760f6['to'](_0xc5b346(0x177),_0x56689c=>this[_0xc5b346(0x1c3)][_0xc5b346(0x1d3)](_0x56689c))}]}]},{'tag':_0xc5b346(0x187),'attributes':{'class':[_0xc5b346(0x1d2),_0xc5b346(0x1cd)]},'children':[this[_0xc5b346(0x18e)],this[_0xc5b346(0x1dc)]]},{'tag':_0xc5b346(0x187),'attributes':{'class':[_0xc5b346(0x1a8)]}}];this[_0xc5b346(0x1c8)][_0xc5b346(0x17f)]&&_0x4d54f9[_0xc5b346(0x183)]({'tag':_0xc5b346(0x187),'attributes':{'class':[_0xc5b346(0x173)]},'children':[{'text':this[_0xc5b346(0x190)]()}]});const _0x10b758={'tag':_0xc5b346(0x187),'attributes':{'class':[_0xc5b346(0x18c),_0x4760f6['if'](_0xc5b346(0x1ce),_0xc5b346(0x18a)),_0x4760f6['to'](_0xc5b346(0x1bd),_0x2f0085=>_0xc5b346(0x19d)+_0x2f0085),this[_0xc5b346(0x1c3)][_0xc5b346(0x18f)]&&_0xc5b346(0x186)],'data-suggestion-id':this[_0xc5b346(0x1c8)]['id'],'data-thread-id':this[_0xc5b346(0x1c8)][_0xc5b346(0x182)]['id'],'data-author-id':this[_0xc5b346(0x1c8)][_0xc5b346(0x179)]['id'],'tabindex':-0x1},'children':[{'tag':_0xc5b346(0x187),'attributes':{'class':[_0xc5b346(0x1c4),_0xc5b346(0x1ab)]},'children':[this[_0xc5b346(0x17c)],{'tag':_0xc5b346(0x187),'attributes':{'class':[_0xc5b346(0x1cc),_0xc5b346(0x188)]},'children':_0x4d54f9}]}]};return this[_0xc5b346(0x1aa)]&&this[_0xc5b346(0x19a)]&&(_0x10b758[_0xc5b346(0x181)][_0xc5b346(0x183)](this[_0xc5b346(0x1aa)],this[_0xc5b346(0x19a)]),this[_0xc5b346(0x1aa)][_0xc5b346(0x1b4)](_0xc5b346(0x1b1))['to'](this),this[_0xc5b346(0x1aa)][_0xc5b346(0x1b4)](_0xc5b346(0x1af))['to'](this),this[_0xc5b346(0x19a)][_0xc5b346(0x1b4)](_0xc5b346(0x1b1))['to'](this),this[_0xc5b346(0x19a)][_0xc5b346(0x1b4)](_0xc5b346(0x1af))['to'](this)),_0x10b758;}[_0x55b385(0x1a3)](){const _0x1fc370=_0x55b385;super[_0x1fc370(0x1a3)](),this[_0x1fc370(0x1ae)]=this[_0x1fc370(0x18b)][_0x1fc370(0x19b)](_0x1fc370(0x194)),this[_0x1fc370(0x1ae)][_0x1fc370(0x1a1)]=this[_0x1fc370(0x197)],this['on'](_0x1fc370(0x17b),(_0x25c971,_0x396879,_0x2f5227)=>{const _0xdd7843=_0x1fc370;this[_0xdd7843(0x1ae)][_0xdd7843(0x1a1)]=_0x2f5227;});}[_0x55b385(0x1c9)](_0x1c9157,_0x1bbc69,_0x202db9,_0x36de63,_0x30d52f){const _0x4b83ce=_0x55b385,_0x3e33df=new _0x5c9195(this[_0x4b83ce(0x1a0)]);return _0x3e33df[_0x4b83ce(0x189)]({'label':_0x1c9157,'icon':_0x1bbc69,'tooltip':!0x0,'tooltipPosition':_0x30d52f}),_0x3e33df[_0x4b83ce(0x176)]({'attributes':{'class':_0x202db9}}),_0x3e33df['on'](_0x4b83ce(0x1ba),()=>{const _0x3b0fbc=_0x4b83ce;this[_0x3b0fbc(0x1a5)](_0x36de63,this[_0x3b0fbc(0x1c8)]['id']);}),_0x3e33df;}[_0x55b385(0x190)](){const _0x33b86b=_0x55b385;return _0x33b86b(0x1da)===this[_0x33b86b(0x1c8)][_0x33b86b(0x191)][_0x33b86b(0x1a2)][_0x33b86b(0x178)]?_0xcc6862(this[_0x33b86b(0x1a0)],_0x33b86b(0x192)):_0xcc6862(this[_0x33b86b(0x1a0)],_0x33b86b(0x196));}[_0x55b385(0x180)](){const _0x151cad=_0x55b385;return this[_0x151cad(0x1c8)][_0x151cad(0x17f)]?_0x151cad(0x1da)===this[_0x151cad(0x1c8)][_0x151cad(0x191)][_0x151cad(0x1a2)][_0x151cad(0x178)]?_0xcc6862(this[_0x151cad(0x1a0)],_0x151cad(0x1ad),this[_0x151cad(0x1c8)][_0x151cad(0x184)][_0x151cad(0x199)]):_0xcc6862(this[_0x151cad(0x1a0)],_0x151cad(0x1c0),this[_0x151cad(0x1c8)][_0x151cad(0x184)][_0x151cad(0x199)]):null;}}function ds(_0x3398e7,_0x5c81de){const _0x37146b=_0x55b385;let _0xfe7a47='';return _0xfe7a47+=_0x3398e7[_0x37146b(0x1a6)]('*')[_0x37146b(0x1ca)]((_0x152c3d,_0x56364b)=>_0x56364b%0x2!=0x0?_0x37146b(0x1b3)+us(_0x152c3d)+_0x37146b(0x1b8):us(_0x152c3d))[_0x37146b(0x1c6)](''),_0x5c81de&&(_0xfe7a47+=_0x37146b(0x1b2)+_0x5c81de[_0x37146b(0x1a4)]+_0x37146b(0x1c7)+_0x5c81de[_0x37146b(0x1d1)]+_0x37146b(0x18d)),_0xfe7a47;}function _0x4e27(_0x8edc4f,_0x191923){const _0x3b06e4=_0x3b06();return _0x4e27=function(_0x4e2743,_0x2ba881){_0x4e2743=_0x4e2743-0x172;let _0x182ace=_0x3b06e4[_0x4e2743];return _0x182ace;},_0x4e27(_0x8edc4f,_0x191923);}function us(_0x23dd98){const _0x58cfd6=_0x55b385,_0x5eb85b=document[_0x58cfd6(0x185)](_0x58cfd6(0x19e));return _0x5eb85b[_0x58cfd6(0x1d7)]=_0x23dd98,_0x5eb85b[_0x58cfd6(0x1a1)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0xcba89f,_0x57f7b2,_0x507bf8){const t=_0xcba89f['t'];switch(_0x57f7b2){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',_0x507bf8);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x507bf8);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x507bf8);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x507bf8);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x507bf8);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',_0x507bf8);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x507bf8);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',_0x507bf8);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x507bf8);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x507bf8);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x507bf8);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x507bf8);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x507bf8);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x507bf8);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x507bf8);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x507bf8);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x507bf8);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x507bf8);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x507bf8);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x507bf8);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x507bf8);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x507bf8);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x507bf8);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'},_0x507bf8);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x507bf8);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x507bf8);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x507bf8);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x507bf8);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x507bf8);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'},_0x507bf8);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x507bf8);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x507bf8);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x507bf8);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x507bf8);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x507bf8);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x507bf8);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'},_0x507bf8);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'},_0x507bf8);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x507bf8);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'},_0x507bf8);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x507bf8);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'},_0x507bf8);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x507bf8);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x507bf8);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'},_0x507bf8);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'},_0x507bf8);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 _0x57f7b2;}}
|
|
23
|
+
export function getTranslation(_0x4e6e6a,_0xaef17,_0x40b6a2){const t=_0x4e6e6a['t'];switch(_0xaef17){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',_0x40b6a2);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x40b6a2);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x40b6a2);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x40b6a2);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x40b6a2);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',_0x40b6a2);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x40b6a2);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',_0x40b6a2);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x40b6a2);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x40b6a2);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x40b6a2);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x40b6a2);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x40b6a2);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x40b6a2);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x40b6a2);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x40b6a2);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x40b6a2);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x40b6a2);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x40b6a2);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x40b6a2);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x40b6a2);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x40b6a2);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x40b6a2);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'},_0x40b6a2);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x40b6a2);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x40b6a2);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x40b6a2);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x40b6a2);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x40b6a2);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'},_0x40b6a2);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x40b6a2);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x40b6a2);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x40b6a2);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x40b6a2);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x40b6a2);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x40b6a2);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'},_0x40b6a2);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'},_0x40b6a2);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x40b6a2);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'},_0x40b6a2);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x40b6a2);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'},_0x40b6a2);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x40b6a2);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x40b6a2);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'},_0x40b6a2);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'},_0x40b6a2);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 _0xaef17;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5ce3fb,_0x4372e1){const _0x4c7ff4=_0x1cd5,_0x3350cb=_0x5ce3fb();while(!![]){try{const _0x5ad43e=-parseInt(_0x4c7ff4(0xd8))/0x1+-parseInt(_0x4c7ff4(0xe0))/0x2*(-parseInt(_0x4c7ff4(0xc6))/0x3)+parseInt(_0x4c7ff4(0xe6))/0x4*(-parseInt(_0x4c7ff4(0xea))/0x5)+parseInt(_0x4c7ff4(0xdb))/0x6+parseInt(_0x4c7ff4(0xe5))/0x7+parseInt(_0x4c7ff4(0xce))/0x8*(parseInt(_0x4c7ff4(0xe8))/0x9)+-parseInt(_0x4c7ff4(0xe3))/0xa;if(_0x5ad43e===_0x4372e1)break;else _0x3350cb['push'](_0x3350cb['shift']());}catch(_0x153d6f){_0x3350cb['push'](_0x3350cb['shift']());}}}(_0x4ced,0x767bc));export function normalizeDescription(_0x2be943){const _0xf245e1=_0x1cd5;return Array[_0xf245e1(0xd9)](_0x2be943)||(_0x2be943=[_0x2be943]),_0x2be943[_0xf245e1(0xdc)](_0x8f0efa=>{const _0x34899b=_0xf245e1,_0x2a7719=_0x8f0efa[_0x34899b(0xc5)][_0x34899b(0xcc)](/\*/g,''),_0x50cfdf=_0x8f0efa[_0x34899b(0xc9)]?_0x34899b(0xc3)+_0x8f0efa[_0x34899b(0xc9)][_0x34899b(0xc7)]+']':'';return'['+_0x8f0efa[_0x34899b(0xc8)]+']\x20'+_0x2a7719+_0x50cfdf;})[_0xf245e1(0xe7)](';\x20');}export function sortSuggestions(_0x37911f){const _0x2127b7=_0x1cd5;return _0x37911f[_0x2127b7(0xe4)]((_0x3ef2c5,_0x202f18)=>_0x2127b7(0xd2)==_0x3ef2c5[_0x2127b7(0xc8)]&&_0x2127b7(0xd2)!=_0x202f18[_0x2127b7(0xc8)]?-0x1:_0x2127b7(0xd2)!=_0x3ef2c5[_0x2127b7(0xc8)]&&_0x2127b7(0xd2)==_0x202f18[_0x2127b7(0xc8)]?0x1:0x0);}export function getSelectedSuggestions(_0x3074bc,_0x51fffd){const _0x11b1f0=_0x1cd5,_0x34f213=Array[_0x11b1f0(0xc4)](_0x3074bc[_0x11b1f0(0xca)]()),_0x20b4e8=new Set();for(const _0x17ce04 of _0x51fffd)if(_0x17ce04[_0x11b1f0(0xd6)]){for(const _0x57714a of _0x34f213)for(const _0x3de23b of _0x17ce04[_0x11b1f0(0xca)]())(_0x57714a[_0x11b1f0(0xd5)](_0x3de23b)||_0x3074bc[_0x11b1f0(0xd4)]&&!_0x17ce04[_0x11b1f0(0xe1)]&&_0x17ce04[_0x11b1f0(0xec)]&&_0x3de23b[_0x11b1f0(0xd0)][_0x11b1f0(0xe2)](_0x57714a[_0x11b1f0(0xda)]))&&_0x20b4e8[_0x11b1f0(0xd3)](_0x17ce04);}return _0x20b4e8;}function _0x1cd5(_0x5e9d79,_0x443b64){const _0x4ced8f=_0x4ced();return _0x1cd5=function(_0x1cd5e9,_0x308307){_0x1cd5e9=_0x1cd5e9-0xc2;let _0x550dfa=_0x4ced8f[_0x1cd5e9];return _0x550dfa;},_0x1cd5(_0x5e9d79,_0x443b64);}export function getRangesOfBlockGroups(_0x5dfb58,_0x252eb6){const _0x16fc16=_0x1cd5;let _0x633b0a,_0x25cc9f=0x0;const _0x48cc60=[],_0x43e6a6=_0x252eb6[_0x16fc16(0xcb)];for(;_0x25cc9f<_0x5dfb58[_0x16fc16(0xcf)];){const _0x46dc6c=_0x5dfb58[_0x25cc9f],_0x35c7f0=_0x5dfb58[_0x25cc9f+0x1];_0x633b0a||(_0x633b0a=_0x252eb6[_0x16fc16(0xdd)](_0x46dc6c)),co(_0x252eb6,_0x46dc6c,_0x35c7f0)||(_0x48cc60[_0x16fc16(0xde)](_0x252eb6[_0x16fc16(0xcd)](_0x633b0a,_0x43e6a6[_0x16fc16(0xe9)](_0x46dc6c)?_0x252eb6[_0x16fc16(0xd7)](_0x46dc6c):_0x252eb6[_0x16fc16(0xc2)](_0x46dc6c,_0x16fc16(0xd0)))),_0x633b0a=null),_0x25cc9f++;}return _0x48cc60;}function co(_0x307f83,_0x3c0395,_0x3eb1fe){const _0x5761f2=_0x1cd5;if(!_0x3eb1fe)return!0x1;const _0x4ae52f=_0x307f83[_0x5761f2(0xd7)](_0x3c0395),_0x5d17ce=_0x307f83[_0x5761f2(0xdd)](_0x3eb1fe);return _0x4ae52f[_0x5761f2(0xe2)](_0x5d17ce);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x45e048,_0x3b7385,_0x21a932){const _0x5c37c9=_0x1cd5;for(;_0x21a932[_0x5c37c9(0xcf)];){const _0x46337f=_0x21a932[_0x5c37c9(0xd1)](0x0,0x64);_0x45e048[_0x5c37c9(0xdf)](()=>{const _0x3676f9=_0x5c37c9;for(const _0x4dbcf5 of _0x46337f)_0x4dbcf5[_0x3676f9(0xd6)]&&_0x3b7385[_0x3676f9(0xeb)](_0x4dbcf5['id']);});}}function _0x4ced(){const _0x436546=['createPositionAfter','755582gIjtNg','isArray','start','5212734OfVaaa','map','createPositionBefore','push','change','106378gPrpZK','isMultiRange','isTouching','3255750rQtQIg','sort','4755492XuIfpj','15864npIVWT','join','4437HhORVg','isObject','1090oLLwJv','execute','next','createPositionAt','\x20[color\x20','from','content','3myanrw','value','type','color','getRanges','schema','replace','createRange','13464ZJYyGs','length','end','splice','deletion','add','isCollapsed','isIntersecting','isInContent'];_0x4ced=function(){return _0x436546;};return _0x4ced();}
|