@ckeditor/ckeditor5-track-changes 42.0.0-alpha.0 → 42.0.0-alpha.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 _0x30bfc1=_0x53f4;(function(_0x3efb05,_0x54ca4a){const _0x1f7a88=_0x53f4,_0x4b75d5=_0x3efb05();while(!![]){try{const _0x55e3c3=parseInt(_0x1f7a88(0x1f7))/0x1+parseInt(_0x1f7a88(0x259))/0x2+-parseInt(_0x1f7a88(0x240))/0x3+-parseInt(_0x1f7a88(0x21c))/0x4*(-parseInt(_0x1f7a88(0x24b))/0x5)+-parseInt(_0x1f7a88(0x1da))/0x6*(parseInt(_0x1f7a88(0x20f))/0x7)+-parseInt(_0x1f7a88(0x234))/0x8*(-parseInt(_0x1f7a88(0x1f3))/0x9)+-parseInt(_0x1f7a88(0x262))/0xa;if(_0x55e3c3===_0x54ca4a)break;else _0x4b75d5['push'](_0x4b75d5['shift']());}catch(_0x3af974){_0x4b75d5['push'](_0x4b75d5['shift']());}}}(_0x3b0d,0x248f0));import{Plugin as _0x3c53e8}from'ckeditor5/src/core.js';function _0x53f4(_0x49ed2c,_0x18fbce){const _0x3b0d85=_0x3b0d();return _0x53f4=function(_0x53f415,_0x5bb3e5){_0x53f415=_0x53f415-0x1d4;let _0x3cb9d8=_0x3b0d85[_0x53f415];return _0x3cb9d8;},_0x53f4(_0x49ed2c,_0x18fbce);}import{Collection as _0x4a673d}from'ckeditor5/src/utils.js';function _0x3b0d(){const _0x379810=['registerAnnotation','buttonView','comments.maxCommentsWhenCollapsed','getRanges','comments.maxCommentCharsWhenCollapsed','157546WTxAWU','menuBar:trackChanges','discardAllSuggestions','comments','push','descriptionFactory','refreshSelectedViews','hasSuggestion','CommentsUI','794580RuAjEu','Accept\x20all\x20selected\x20suggestions','children','_createToolbarButton','_disableComments','discardButton','EditorAnnotations','_viewToController','comments.maxThreadTotalWeight','2814GQDOyJ','menuitem','_updateController','pluginName','delegate','Discard\x20all\x20selected\x20suggestions','init','set','descriptionParts','stopListening','_handleControllerBuffer','getAllAdjacentSuggestions','define','suggestion-','items','CommentsRepository','acceptAllSuggestions','addComment','_destroyController','plugins','execute','activeAnnotations','get','isDirty','panelView','9eOXORI','length','change:previous','getSuggestion','11839FkiEiN','commentThread','getDescriptions','isMultiRange','componentFactory','previous','_refreshActiveMarkers','getMarkers','_suggestionToController','_addUIComponentsToFactory','toMany','acceptSelectedSuggestions','_initializeController','getMarkerNames','clear','actionView','discardSelectedSuggestions','separator','isInContent','CommentView','menu','add','comments.editorConfig','reduce','742tKbxVU','mainView','Discard\x20all\x20suggestions','_createMenuBarMenu','delete','has','_bindAnnotationToEditors','some','editing','trackChanges.SuggestionThreadView','trackChanges.disableComments','menuitemcheckbox','getFirstRange','4UPOnqP','TrackChangesEditing','commandName','Accept\x20all\x20suggestions','values','Annotations','value','filter','destroy','createCommentThreadController','_handleSuggestionControllerDelayed','bind','createAnnotation','listenTo','remove','keys','lowest','unbind','isOn','commands','activeMarkers','trackChanges','suggestionLoaded','_unbindEditors','138272ThbzBH','Track\x20changes','type','config','addSourceCollector','isEnabled','editor','_annotationViews','TrackChangesUI','from','source','arrowView','326736qNXtwO','button','getJoined','suggestionUnloaded','change:activeAnnotations','size','switchbutton','requires','locale','model','head','1399660ZoaZrO','createAnnotationView','SuggestionThreadView','focus','view','suggestionChanged','innerView','getByInnerView','acceptButton'];_0x3b0d=function(){return _0x379810;};return _0x3b0d();}import{addListToDropdown as _0x28606d,createDropdown as _0x469012,ListSeparatorView as _0x8c6748,MenuBarMenuView as _0x582f57,MenuBarMenuListView as _0x5b873a,MenuBarMenuListItemView as _0x52c4d8,MenuBarMenuListItemButtonView as _0x44fa4a,SplitButtonView as _0x4eba56,ViewModel as _0x2a9606}from'ckeditor5/src/ui.js';import{Users as _0x546811,getDateTimeFormatter as _0x24113b,getAllMarkersDomElementsSorted as _0x5cf175}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x440793 from'./trackchangesediting.js';import _0x816d0e from'./ui/suggestioncontroller.js';import _0x578df7 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x4af58c}from'./utils/common-translations.js';import _0x4b94e5 from'../theme/icons/track-changes.svg';export default class d extends _0x3c53e8{static get[_0x30bfc1(0x247)](){const _0x530c16=_0x30bfc1;return[_0x440793,_0x546811,_0x530c16(0x1e9),_0x530c16(0x221),_0x530c16(0x1d7)];}static get[_0x30bfc1(0x1dd)](){const _0x3f358d=_0x30bfc1;return _0x3f358d(0x23c);}constructor(_0x452204){const _0x330696=_0x30bfc1;super(_0x452204),this[_0x330696(0x1ff)]=new Map(),this[_0x330696(0x1d8)]=new Map(),this[_0x330696(0x23b)]=new Map(),this[_0x330696(0x1e4)]=new Map();const _0x9b3847=this[_0x330696(0x23a)][_0x330696(0x237)];_0x9b3847[_0x330696(0x1e6)](_0x330696(0x218),_0x578df7),_0x9b3847[_0x330696(0x1e6)](_0x330696(0x219),!0x1),this[_0x330696(0x1d5)]=_0x9b3847[_0x330696(0x1f0)](_0x330696(0x219));}[_0x30bfc1(0x226)](_0x5b46b0,_0x2d72a6){const _0x52200c=_0x30bfc1;0x0===this[_0x52200c(0x1e4)][_0x52200c(0x245)]&&setTimeout(()=>{const _0x318536=_0x52200c;for(const [_0x552cf5,_0x5985e3]of this[_0x318536(0x1e4)]){const _0x34c7a5=this[_0x318536(0x1ff)][_0x318536(0x214)](_0x552cf5);_0x34c7a5||_0x5985e3?_0x34c7a5&&_0x5985e3&&this[_0x318536(0x1ec)](_0x552cf5):this[_0x318536(0x203)](_0x552cf5);}this[_0x318536(0x1e4)][_0x318536(0x205)](),this[_0x318536(0x23a)][_0x318536(0x1ed)][_0x318536(0x1f0)](_0x318536(0x1d7))[_0x318536(0x25f)](),this[_0x318536(0x1fd)]();},0xa),this[_0x52200c(0x1e4)][_0x52200c(0x1e1)](_0x5b46b0,_0x2d72a6);}[_0x30bfc1(0x1e0)](){const _0x290a30=_0x30bfc1,_0x297f5a=this[_0x290a30(0x23a)],_0x50aa07=_0x297f5a[_0x290a30(0x1ed)][_0x290a30(0x1f0)](_0x290a30(0x21d)),_0x39f548=_0x297f5a[_0x290a30(0x1ed)][_0x290a30(0x1f0)](_0x290a30(0x221)),_0x2c0673=_0x297f5a[_0x290a30(0x1ed)][_0x290a30(0x1f0)](_0x290a30(0x1d7)),_0x301d9b=_0x297f5a[_0x290a30(0x1ed)][_0x290a30(0x1f0)](_0x290a30(0x1e9));this[_0x290a30(0x200)](),_0x2c0673[_0x290a30(0x238)](()=>{const _0x440527=_0x290a30,_0x208dde=[];for(const [_0x27db1f,_0x9725dd]of Array[_0x440527(0x23d)](this[_0x440527(0x1ff)])){const _0x527630=_0x27db1f[_0x440527(0x1e5)](),_0x82ed9b=[];for(const _0x11f023 of _0x527630){if(!_0x11f023[_0x440527(0x209)])continue;if(_0x11f023[_0x440527(0x1fa)]){_0x82ed9b[_0x440527(0x25d)](..._0x11f023[_0x440527(0x257)]());continue;}const _0x36b036=_0x11f023[_0x440527(0x21b)]();if(_0x82ed9b[_0x440527(0x1f4)]>0x0){const _0x36801e=_0x82ed9b[0x0][_0x440527(0x242)](_0x36b036);if(_0x36801e){_0x82ed9b[0x0]=_0x36801e;continue;}}_0x82ed9b[_0x440527(0x25d)](_0x36b036);}_0x208dde[_0x440527(0x25d)]([_0x9725dd[_0x440527(0x24f)],_0x82ed9b]);}return _0x208dde;}),this[_0x290a30(0x229)](_0x50aa07,_0x290a30(0x232),(_0x14c786,_0x251033)=>{const _0x12111e=_0x290a30;this[_0x12111e(0x229)](_0x251033,_0x12111e(0x1f5),(_0x4f29a9,_0xb6f5f6,_0x73bae3,_0x1ae09f)=>{const _0x1ccaf0=_0x12111e;_0x251033[_0x1ccaf0(0x209)]&&(null==_0x73bae3?(this[_0x1ccaf0(0x1dc)](_0x1ae09f[_0x1ccaf0(0x24a)]),this[_0x1ccaf0(0x226)](_0x251033,!0x1)):(this[_0x1ccaf0(0x1dc)](_0x73bae3[_0x1ccaf0(0x24a)]),null==_0x1ae09f&&this[_0x1ccaf0(0x226)](_0x251033,!0x0)));}),null!==_0x251033[_0x12111e(0x1fc)]?this[_0x12111e(0x1dc)](_0x251033[_0x12111e(0x24a)]):this[_0x12111e(0x226)](_0x251033,!0x1);}),this[_0x290a30(0x229)](_0x50aa07,_0x290a30(0x243),(_0x1dd65c,_0x22a1c3,_0x5c1e4c)=>{const _0x3aac07=_0x290a30;this[_0x3aac07(0x1e3)](_0x22a1c3,_0x3aac07(0x1f5)),this[_0x3aac07(0x1e4)][_0x3aac07(0x213)](_0x22a1c3),this[_0x3aac07(0x1ff)][_0x3aac07(0x214)](_0x22a1c3)&&this[_0x3aac07(0x1ec)](_0x22a1c3),_0x5c1e4c&&this[_0x3aac07(0x1dc)](_0x5c1e4c[_0x3aac07(0x24a)]);}),this[_0x290a30(0x229)](_0x50aa07,_0x290a30(0x250),(_0x388a96,_0x2a254d)=>{const _0x3f9a8b=_0x290a30;this[_0x3f9a8b(0x1dc)](_0x2a254d);}),this[_0x290a30(0x229)](_0x39f548,_0x290a30(0x244),()=>{const _0x1b5f31=_0x290a30;this[_0x1b5f31(0x1fd)]();}),this[_0x290a30(0x229)](_0x301d9b,_0x290a30(0x1eb),(_0x22290a,{threadId:_0x14ae44,isFromAdapter:_0x3588de})=>{const _0x4830cd=_0x290a30;if(_0x3588de||!_0x50aa07[_0x4830cd(0x260)](_0x14ae44))return;const _0x5c7bd9=_0x50aa07[_0x4830cd(0x1f6)](_0x14ae44);this[_0x4830cd(0x1ff)][_0x4830cd(0x1f0)](_0x5c7bd9)[_0x4830cd(0x24f)][_0x4830cd(0x24e)]();},{'priority':_0x290a30(0x22c)});}[_0x30bfc1(0x1fd)](){const _0x2e99dd=_0x30bfc1,_0x4f0873=this[_0x2e99dd(0x23a)][_0x2e99dd(0x1ed)][_0x2e99dd(0x1f0)](_0x2e99dd(0x221)),_0x114cab=this[_0x2e99dd(0x23a)][_0x2e99dd(0x1ed)][_0x2e99dd(0x1f0)](_0x2e99dd(0x21d)),_0x15b799=Array[_0x2e99dd(0x23d)](_0x4f0873[_0x2e99dd(0x1ef)],_0x5819d7=>_0x5819d7[_0x2e99dd(0x251)])[_0x2e99dd(0x223)](_0x495c08=>this[_0x2e99dd(0x1d8)][_0x2e99dd(0x214)](_0x495c08)),_0x13927f=[];for(const _0x3edafe of _0x15b799){const _0x1aa27e=this[_0x2e99dd(0x1d8)][_0x2e99dd(0x1f0)](_0x3edafe)[_0x2e99dd(0x249)][_0x2e99dd(0x1e5)]();_0x13927f[_0x2e99dd(0x25d)](..._0x1aa27e[_0x2e99dd(0x20e)]((_0x4fd291,_0xdcb78)=>[..._0x4fd291,..._0xdcb78[_0x2e99dd(0x204)]()],[]));}_0x114cab[_0x2e99dd(0x230)]=_0x13927f;}[_0x30bfc1(0x200)](){const _0x50930a=_0x30bfc1,_0x415c16=this[_0x50930a(0x23a)],_0x5b9d74=_0x415c16[_0x50930a(0x248)],_0x3490ab=_0x4af58c(_0x5b9d74,_0x50930a(0x235)),_0x599e3b=new _0x4a673d([{'type':_0x50930a(0x246),'model':new _0x2a9606({'withText':!0x0,'label':_0x3490ab,'commandName':_0x50930a(0x231),'role':_0x50930a(0x21a)})},{'type':_0x50930a(0x208)},{'type':_0x50930a(0x241),'model':new _0x2a9606({'withText':!0x0,'label':_0x4af58c(_0x5b9d74,_0x50930a(0x21f)),'commandName':_0x50930a(0x1ea),'role':_0x50930a(0x1db)})},{'type':_0x50930a(0x241),'model':new _0x2a9606({'withText':!0x0,'label':_0x4af58c(_0x5b9d74,_0x50930a(0x263)),'commandName':_0x50930a(0x202),'role':_0x50930a(0x1db)})},{'type':_0x50930a(0x241),'model':new _0x2a9606({'withText':!0x0,'label':_0x4af58c(_0x5b9d74,_0x50930a(0x211)),'commandName':_0x50930a(0x25b),'role':_0x50930a(0x1db)})},{'type':_0x50930a(0x241),'model':new _0x2a9606({'withText':!0x0,'label':_0x4af58c(_0x5b9d74,_0x50930a(0x1df)),'commandName':_0x50930a(0x207),'role':_0x50930a(0x1db)})}]);for(const _0x22c3ac of _0x599e3b)if(ae(_0x22c3ac)){const _0x2d3377=_0x415c16[_0x50930a(0x22f)][_0x50930a(0x1f0)](_0x22c3ac[_0x50930a(0x249)][_0x50930a(0x21e)]);_0x22c3ac[_0x50930a(0x249)][_0x50930a(0x227)](_0x50930a(0x22e),_0x50930a(0x239))['to'](_0x2d3377,_0x50930a(0x222),_0x50930a(0x239));}_0x415c16['ui'][_0x50930a(0x1fb)][_0x50930a(0x20c)](_0x50930a(0x231),_0x39e931=>this[_0x50930a(0x1d4)](_0x39e931,_0x599e3b,_0x3490ab)),_0x415c16['ui'][_0x50930a(0x1fb)][_0x50930a(0x20c)](_0x50930a(0x25a),_0xaf6bff=>this[_0x50930a(0x212)](_0xaf6bff,_0x599e3b,_0x3490ab));}[_0x30bfc1(0x1d4)](_0x314060,_0x12fe51,_0x1f5707){const _0x3e6b36=_0x30bfc1,_0x166612=_0x469012(_0x314060,_0x4eba56),_0x47a490=this[_0x3e6b36(0x23a)][_0x3e6b36(0x22f)][_0x3e6b36(0x1f0)](_0x3e6b36(0x231));_0x166612[_0x3e6b36(0x255)][_0x3e6b36(0x1e1)]({'tooltip':_0x1f5707,'label':_0x1f5707,'icon':_0x4b94e5}),_0x166612[_0x3e6b36(0x255)][_0x3e6b36(0x227)](_0x3e6b36(0x22e))['to'](_0x47a490,_0x3e6b36(0x222)),_0x166612[_0x3e6b36(0x255)]['on'](_0x3e6b36(0x1ee),()=>{const _0x58e3b7=_0x3e6b36;_0x47a490[_0x58e3b7(0x1ee)](),this[_0x58e3b7(0x23a)][_0x58e3b7(0x217)][_0x58e3b7(0x24f)][_0x58e3b7(0x24e)]();}),_0x28606d(_0x166612,_0x12fe51,{'role':_0x3e6b36(0x20b)});const _0x20a75d=[];for(const _0x65e64e of _0x12fe51)ae(_0x65e64e)&&_0x20a75d[_0x3e6b36(0x25d)](this[_0x3e6b36(0x23a)][_0x3e6b36(0x22f)][_0x3e6b36(0x1f0)](_0x65e64e[_0x3e6b36(0x249)][_0x3e6b36(0x21e)]));const _0x2ac906=_0x166612[_0x3e6b36(0x255)];return _0x2ac906[_0x3e6b36(0x206)][_0x3e6b36(0x22d)](_0x3e6b36(0x239)),_0x2ac906[_0x3e6b36(0x23f)][_0x3e6b36(0x22d)](_0x3e6b36(0x239)),_0x2ac906[_0x3e6b36(0x206)][_0x3e6b36(0x227)](_0x3e6b36(0x239))['to'](_0x47a490,_0x3e6b36(0x239)),_0x2ac906[_0x3e6b36(0x23f)][_0x3e6b36(0x227)](_0x3e6b36(0x239))[_0x3e6b36(0x201)](_0x20a75d,_0x3e6b36(0x239),(..._0x5b0c13)=>_0x5b0c13[_0x3e6b36(0x216)](_0x2bb233=>_0x2bb233)),_0x166612['on'](_0x3e6b36(0x1ee),_0x26c05d=>{const _0x391750=_0x3e6b36;this[_0x391750(0x23a)][_0x391750(0x1ee)](_0x26c05d[_0x391750(0x23e)][_0x391750(0x21e)]),this[_0x391750(0x23a)][_0x391750(0x217)][_0x391750(0x24f)][_0x391750(0x24e)]();}),_0x166612;}[_0x30bfc1(0x212)](_0x54c603,_0x223d2c,_0x2e263d){const _0x301861=_0x30bfc1,_0x432202=new _0x582f57(_0x54c603),_0x298f4d=this[_0x301861(0x23a)][_0x301861(0x22f)][_0x301861(0x1f0)](_0x301861(0x231));_0x432202[_0x301861(0x255)][_0x301861(0x1e1)]({'label':_0x2e263d,'icon':_0x4b94e5});const _0x130177=new _0x5b873a(_0x54c603);for(const _0x5fb6a7 of _0x223d2c){if(_0x301861(0x208)==_0x5fb6a7[_0x301861(0x236)]){_0x130177[_0x301861(0x1e8)][_0x301861(0x20c)](new _0x8c6748(_0x54c603));continue;}const _0x279696=new _0x52c4d8(_0x54c603,_0x432202),_0x427cd8=new _0x44fa4a(_0x54c603),_0x3ebd0d=_0x5fb6a7[_0x301861(0x249)];_0x427cd8[_0x301861(0x227)](...Object[_0x301861(0x22b)](_0x3ebd0d))['to'](_0x3ebd0d),_0x427cd8[_0x301861(0x1de)](_0x301861(0x1ee))['to'](_0x432202),_0x427cd8['on'](_0x301861(0x1ee),()=>{const _0x554e04=_0x301861;this[_0x554e04(0x23a)][_0x554e04(0x1ee)](_0x3ebd0d[_0x554e04(0x21e)]),this[_0x554e04(0x23a)][_0x554e04(0x217)][_0x554e04(0x24f)][_0x554e04(0x24e)]();}),_0x279696[_0x301861(0x264)][_0x301861(0x20c)](_0x427cd8),_0x130177[_0x301861(0x1e8)][_0x301861(0x20c)](_0x279696);}return _0x432202[_0x301861(0x227)](_0x301861(0x239))['to'](_0x298f4d,_0x301861(0x239)),_0x432202[_0x301861(0x1f2)][_0x301861(0x264)][_0x301861(0x20c)](_0x130177),_0x432202;}[_0x30bfc1(0x203)](_0x2d671f){const _0x1700d2=_0x30bfc1,_0x10daf7=this[_0x1700d2(0x23a)],_0x4d478e=_0x10daf7[_0x1700d2(0x237)],_0x106d42=_0x10daf7[_0x1700d2(0x1ed)][_0x1700d2(0x1f0)](_0x1700d2(0x221)),_0x522831=_0x10daf7[_0x1700d2(0x1ed)][_0x1700d2(0x1f0)](_0x1700d2(0x1e9)),_0x87173e=_0x10daf7[_0x1700d2(0x1ed)][_0x1700d2(0x1f0)](_0x1700d2(0x1d7)),_0x5a8d69=_0x10daf7[_0x1700d2(0x1ed)][_0x1700d2(0x1f0)](_0x546811)['me'],_0x4409bc=_0x4d478e[_0x1700d2(0x1f0)](_0x1700d2(0x231))[_0x1700d2(0x24d)],{CommentsListView:_0x5e6e6b,CommentThreadInputView:_0x4e18ae}=_0x10daf7[_0x1700d2(0x1ed)][_0x1700d2(0x1f0)](_0x1700d2(0x261));let _0x1fd626,_0x2b8654;this[_0x1700d2(0x23b)][_0x1700d2(0x214)](_0x2d671f['id'])?(_0x2b8654=this[_0x1700d2(0x23b)][_0x1700d2(0x1f0)](_0x2d671f['id']),_0x1fd626=_0x2b8654[_0x1700d2(0x210)]):(_0x1fd626=new _0x4409bc(_0x10daf7[_0x1700d2(0x248)],_0x2d671f,_0x5a8d69,{'disableComments':this[_0x1700d2(0x1d5)],'editorConfig':_0x4d478e[_0x1700d2(0x1f0)](_0x1700d2(0x20d)),'maxCommentsWhenCollapsed':_0x4d478e[_0x1700d2(0x1f0)](_0x1700d2(0x256)),'maxThreadTotalWeight':_0x4d478e[_0x1700d2(0x1f0)](_0x1700d2(0x1d9)),'maxCommentCharsWhenCollapsed':_0x4d478e[_0x1700d2(0x1f0)](_0x1700d2(0x258)),'formatDateTime':_0x24113b(_0x4d478e[_0x1700d2(0x1f0)](_0x1700d2(0x248))),'CommentView':_0x4d478e[_0x1700d2(0x1f0)](_0x1700d2(0x25c))[_0x1700d2(0x20a)],'CommentsListView':_0x5e6e6b,'CommentThreadInputView':_0x4e18ae}),_0x1fd626[_0x1700d2(0x253)]['on'](_0x1700d2(0x1ee),()=>{const _0x26a45a=_0x1700d2;_0x10daf7[_0x26a45a(0x217)][_0x26a45a(0x24f)][_0x26a45a(0x24e)]();}),_0x1fd626[_0x1700d2(0x1d6)]['on'](_0x1700d2(0x1ee),()=>{const _0x5a34fa=_0x1700d2;_0x10daf7[_0x5a34fa(0x217)][_0x5a34fa(0x24f)][_0x5a34fa(0x24e)]();}),_0x2b8654=_0x106d42[_0x1700d2(0x24c)](this[_0x1700d2(0x23a)][_0x1700d2(0x248)],_0x1fd626),_0x2b8654[_0x1700d2(0x227)](_0x1700d2(0x1f1))['to'](_0x1fd626,_0x1700d2(0x1f1)),_0x2b8654[_0x1700d2(0x227)](_0x1700d2(0x1f4))['to'](_0x1fd626),_0x2b8654[_0x1700d2(0x227)](_0x1700d2(0x236))['to'](_0x1fd626,_0x1700d2(0x236),_0x5ea797=>_0x1700d2(0x1e7)+_0x5ea797),this[_0x1700d2(0x23b)][_0x1700d2(0x1e1)](_0x2d671f['id'],_0x2b8654));const _0xf89350=_0x522831[_0x1700d2(0x225)](_0x2d671f[_0x1700d2(0x1f8)],_0x1fd626),_0x3f18c1=new _0x816d0e(_0x10daf7,_0x2d671f,_0x1fd626,_0xf89350),_0x132d12=_0x2d671f[_0x1700d2(0x1e5)]()[_0x1700d2(0x223)](_0xdaffa4=>_0xdaffa4[_0x1700d2(0x209)]);_0x1fd626[_0x1700d2(0x1e2)]=_0x10daf7[_0x1700d2(0x1ed)][_0x1700d2(0x1f0)](_0x1700d2(0x21d))[_0x1700d2(0x25e)][_0x1700d2(0x1f9)](_0x132d12),this[_0x1700d2(0x1ff)][_0x1700d2(0x1e1)](_0x2d671f,_0x3f18c1),this[_0x1700d2(0x1d8)][_0x1700d2(0x1e1)](_0x1fd626,_0x3f18c1);const _0x3806af=_0x106d42[_0x1700d2(0x228)]({'view':_0x2b8654,'target':()=>{const _0x46704a=_0x1700d2,_0x33b47f=[],_0x2a67d5=_0x2d671f[_0x46704a(0x1e5)]()[_0x46704a(0x223)](_0x393dcd=>_0x393dcd[_0x46704a(0x209)]);for(const _0x563189 of _0x2a67d5)_0x33b47f[_0x46704a(0x25d)](..._0x563189[_0x46704a(0x1fe)]());return _0x5cf175(_0x10daf7[_0x46704a(0x217)],_0x33b47f);},'type':()=>_0x1700d2(0x1e7)+_0x3f18c1[_0x1700d2(0x24f)][_0x1700d2(0x236)]});_0x522831[_0x1700d2(0x215)](_0x1fd626,_0x3806af),_0x106d42[_0x1700d2(0x20c)](_0x3806af),_0x87173e[_0x1700d2(0x254)](_0x3806af);}[_0x30bfc1(0x1ec)](_0x425895){const _0x5e4c0c=_0x30bfc1,_0x52ba19=this[_0x5e4c0c(0x23a)][_0x5e4c0c(0x1ed)][_0x5e4c0c(0x1f0)](_0x5e4c0c(0x1e9)),_0x341808=this[_0x5e4c0c(0x23a)][_0x5e4c0c(0x1ed)][_0x5e4c0c(0x1f0)](_0x5e4c0c(0x221)),_0x22f5df=this[_0x5e4c0c(0x1ff)][_0x5e4c0c(0x1f0)](_0x425895),_0x2081b4=_0x22f5df[_0x5e4c0c(0x24f)],_0x263bd3=_0x341808[_0x5e4c0c(0x252)](_0x2081b4);_0x52ba19[_0x5e4c0c(0x233)](_0x2081b4),_0x263bd3&&_0x341808[_0x5e4c0c(0x22a)](_0x263bd3),this[_0x5e4c0c(0x1ff)][_0x5e4c0c(0x213)](_0x425895),this[_0x5e4c0c(0x1d8)][_0x5e4c0c(0x213)](_0x2081b4),_0x22f5df[_0x5e4c0c(0x224)]();}[_0x30bfc1(0x1dc)](_0x463171){const _0x430466=_0x30bfc1;if(!_0x463171[_0x430466(0x209)]||!this[_0x430466(0x1ff)][_0x430466(0x214)](_0x463171))return;const _0x490706=this[_0x430466(0x23a)][_0x430466(0x1ed)][_0x430466(0x1f0)](_0x430466(0x21d)),_0x2aabd0=this[_0x430466(0x1ff)][_0x430466(0x1f0)](_0x463171),_0x5edc40=_0x463171[_0x430466(0x1e5)]();_0x2aabd0[_0x430466(0x24f)][_0x430466(0x1e2)]=_0x490706[_0x430466(0x25e)][_0x430466(0x1f9)](_0x5edc40);}[_0x30bfc1(0x224)](){const _0x364669=_0x30bfc1;for(const _0x1a51c5 of this[_0x364669(0x1ff)][_0x364669(0x22b)]())this[_0x364669(0x1ec)](_0x1a51c5);for(const _0x5942ab of this[_0x364669(0x23b)][_0x364669(0x220)]())_0x5942ab[_0x364669(0x210)][_0x364669(0x224)]();super[_0x364669(0x224)]();}}function ae(_0x2581bd){const _0x2b7e7c=_0x30bfc1;return _0x2b7e7c(0x249)in _0x2581bd;}
|
|
23
|
+
const _0x3b4bc0=_0x3d95;(function(_0x3165ed,_0x581b21){const _0x144d44=_0x3d95,_0x46c8c3=_0x3165ed();while(!![]){try{const _0x37810c=-parseInt(_0x144d44(0x137))/0x1*(-parseInt(_0x144d44(0x14e))/0x2)+-parseInt(_0x144d44(0x152))/0x3*(-parseInt(_0x144d44(0xd7))/0x4)+parseInt(_0x144d44(0x139))/0x5+parseInt(_0x144d44(0xcf))/0x6+-parseInt(_0x144d44(0x148))/0x7+parseInt(_0x144d44(0x106))/0x8*(parseInt(_0x144d44(0x10c))/0x9)+-parseInt(_0x144d44(0x12b))/0xa*(parseInt(_0x144d44(0xd8))/0xb);if(_0x37810c===_0x581b21)break;else _0x46c8c3['push'](_0x46c8c3['shift']());}catch(_0x15f88b){_0x46c8c3['push'](_0x46c8c3['shift']());}}}(_0x3e05,0x74f6e));import{Plugin as _0x30dbb5}from'ckeditor5/src/core.js';import{Collection as _0x5cd267}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x25e7bd,createDropdown as _0x255ef5,ListSeparatorView as _0x1e9c88,MenuBarMenuView as _0x525813,MenuBarMenuListView as _0x1e383e,MenuBarMenuListItemView as _0x473664,MenuBarMenuListItemButtonView as _0x223086,SplitButtonView as _0x5b4bb7,ViewModel as _0x51082e}from'ckeditor5/src/ui.js';function _0x3e05(){const _0x1f6d5f=['isMultiRange','_refreshActiveMarkers','comments.maxCommentsWhenCollapsed','unbind','getDescriptions','items','getMarkerNames','isInContent','mainView','init','type','menuBar:trackChanges','10qNtRHB','comments','_createMenuBarMenu','innerView','_disableComments','locale','_handleControllerBuffer','acceptAllSuggestions','hasSuggestion','reduce','isDirty','Discard\x20all\x20suggestions','1217RPdPgl','switchbutton','4352305IVgZRH','destroy','some','createCommentThreadController','editing','_suggestionToController','change:previous','getMarkers','panelView','menuitemcheckbox','length','menu','_initializeController','isOn','_viewToController','3302824ouJqIt','CommentsRepository','getFirstRange','EditorAnnotations','Discard\x20all\x20selected\x20suggestions','getJoined','726YcGPJX','commandName','CommentView','discardButton','57PHzgJR','comments.editorConfig','activeAnnotations','addComment','_addUIComponentsToFactory','separator','Accept\x20all\x20selected\x20suggestions','define','comments.maxCommentCharsWhenCollapsed','execute','previous','keys','_destroyController','Annotations','values','4865652TZsMLn','editor','SuggestionThreadView','CommentsUI','TrackChangesUI','button','suggestion-','listenTo','4808qjYYEX','17453106rYtvrl','model','activeMarkers','getByInnerView','getRanges','suggestionLoaded','focus','Track\x20changes','source','plugins','createAnnotationView','suggestionUnloaded','stopListening','trackChanges.disableComments','refreshSelectedViews','arrowView','set','remove','_bindAnnotationToEditors','value','lowest','descriptionParts','delete','get','size','addSourceCollector','view','descriptionFactory','toMany','head','_handleSuggestionControllerDelayed','getSuggestion','commands','trackChanges','discardAllSuggestions','children','trackChanges.SuggestionThreadView','isEnabled','_updateController','acceptButton','clear','requires','menuitem','pluginName','createAnnotation','filter','1566208NcxFnb','from','buttonView','registerAnnotation','config','acceptSelectedSuggestions','18sYnvGC','change:activeAnnotations','componentFactory','_createToolbarButton','_unbindEditors','_annotationViews','has','bind','Accept\x20all\x20suggestions','delegate','push','getAllAdjacentSuggestions','comments.maxThreadTotalWeight','discardSelectedSuggestions','add','actionView','suggestionChanged','TrackChangesEditing','commentThread'];_0x3e05=function(){return _0x1f6d5f;};return _0x3e05();}import{Users as _0x5ad010,getDateTimeFormatter as _0x1e489f,getAllMarkersDomElementsSorted as _0x275aae}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1da71e from'./trackchangesediting.js';import _0x4533df from'./ui/suggestioncontroller.js';import _0x492460 from'./ui/view/suggestionthreadview.js';function _0x3d95(_0x373f48,_0x542d14){const _0x3e05b=_0x3e05();return _0x3d95=function(_0x3d956b,_0x21b684){_0x3d956b=_0x3d956b-0xc1;let _0x3fbcf5=_0x3e05b[_0x3d956b];return _0x3fbcf5;},_0x3d95(_0x373f48,_0x542d14);}import{getTranslation as _0x178837}from'./utils/common-translations.js';import _0x59e161 from'../theme/icons/track-changes.svg';export default class d extends _0x30dbb5{static get[_0x3b4bc0(0x101)](){const _0x46470b=_0x3b4bc0;return[_0x1da71e,_0x5ad010,_0x46470b(0x149),_0x46470b(0xcd),_0x46470b(0x14b)];}static get[_0x3b4bc0(0x103)](){const _0x30d636=_0x3b4bc0;return _0x30d636(0xd3);}constructor(_0x1e561e){const _0x5870d6=_0x3b4bc0;super(_0x1e561e),this[_0x5870d6(0x13e)]=new Map(),this[_0x5870d6(0x147)]=new Map(),this[_0x5870d6(0x111)]=new Map(),this[_0x5870d6(0x131)]=new Map();const _0x45c027=this[_0x5870d6(0xd0)][_0x5870d6(0x10a)];_0x45c027[_0x5870d6(0xc7)](_0x5870d6(0xfc),_0x492460),_0x45c027[_0x5870d6(0xc7)](_0x5870d6(0xe5),!0x1),this[_0x5870d6(0x12f)]=_0x45c027[_0x5870d6(0xef)](_0x5870d6(0xe5));}[_0x3b4bc0(0xf6)](_0x2de2bd,_0x46eaca){const _0x396c6c=_0x3b4bc0;0x0===this[_0x396c6c(0x131)][_0x396c6c(0xf0)]&&setTimeout(()=>{const _0x43fecc=_0x396c6c;for(const [_0x34efe2,_0x479899]of this[_0x43fecc(0x131)]){const _0x6dfaeb=this[_0x43fecc(0x13e)][_0x43fecc(0x112)](_0x34efe2);_0x6dfaeb||_0x479899?_0x6dfaeb&&_0x479899&&this[_0x43fecc(0xcc)](_0x34efe2):this[_0x43fecc(0x145)](_0x34efe2);}this[_0x43fecc(0x131)][_0x43fecc(0x100)](),this[_0x43fecc(0xd0)][_0x43fecc(0xe1)][_0x43fecc(0xef)](_0x43fecc(0x14b))[_0x43fecc(0xe6)](),this[_0x43fecc(0x120)]();},0xa),this[_0x396c6c(0x131)][_0x396c6c(0xe8)](_0x2de2bd,_0x46eaca);}[_0x3b4bc0(0x128)](){const _0x18e134=_0x3b4bc0,_0x27ac25=this[_0x18e134(0xd0)],_0xec5f1c=_0x27ac25[_0x18e134(0xe1)][_0x18e134(0xef)](_0x18e134(0x11d)),_0x4eefb9=_0x27ac25[_0x18e134(0xe1)][_0x18e134(0xef)](_0x18e134(0xcd)),_0x5158d0=_0x27ac25[_0x18e134(0xe1)][_0x18e134(0xef)](_0x18e134(0x14b)),_0x548e5f=_0x27ac25[_0x18e134(0xe1)][_0x18e134(0xef)](_0x18e134(0x149));this[_0x18e134(0xc4)](),_0x5158d0[_0x18e134(0xf1)](()=>{const _0x5c8b79=_0x18e134,_0xfde1c0=[];for(const [_0x5918d5,_0x34eb3c]of Array[_0x5c8b79(0x107)](this[_0x5c8b79(0x13e)])){const _0x4d8a1e=_0x5918d5[_0x5c8b79(0x117)](),_0x5c26ae=[];for(const _0x2b797f of _0x4d8a1e){if(!_0x2b797f[_0x5c8b79(0x126)])continue;if(_0x2b797f[_0x5c8b79(0x11f)]){_0x5c26ae[_0x5c8b79(0x116)](..._0x2b797f[_0x5c8b79(0xdc)]());continue;}const _0x3e00d9=_0x2b797f[_0x5c8b79(0x14a)]();if(_0x5c26ae[_0x5c8b79(0x143)]>0x0){const _0x16cd39=_0x5c26ae[0x0][_0x5c8b79(0x14d)](_0x3e00d9);if(_0x16cd39){_0x5c26ae[0x0]=_0x16cd39;continue;}}_0x5c26ae[_0x5c8b79(0x116)](_0x3e00d9);}_0xfde1c0[_0x5c8b79(0x116)]([_0x34eb3c[_0x5c8b79(0xf2)],_0x5c26ae]);}return _0xfde1c0;}),this[_0x18e134(0xd6)](_0xec5f1c,_0x18e134(0xdd),(_0x29e836,_0x9ad97)=>{const _0x24f29f=_0x18e134;this[_0x24f29f(0xd6)](_0x9ad97,_0x24f29f(0x13f),(_0xb1a29d,_0x207146,_0x523907,_0x3bf736)=>{const _0x4a15be=_0x24f29f;_0x9ad97[_0x4a15be(0x126)]&&(null==_0x523907?(this[_0x4a15be(0xfe)](_0x3bf736[_0x4a15be(0xf5)]),this[_0x4a15be(0xf6)](_0x9ad97,!0x1)):(this[_0x4a15be(0xfe)](_0x523907[_0x4a15be(0xf5)]),null==_0x3bf736&&this[_0x4a15be(0xf6)](_0x9ad97,!0x0)));}),null!==_0x9ad97[_0x24f29f(0xca)]?this[_0x24f29f(0xfe)](_0x9ad97[_0x24f29f(0xf5)]):this[_0x24f29f(0xf6)](_0x9ad97,!0x1);}),this[_0x18e134(0xd6)](_0xec5f1c,_0x18e134(0xe3),(_0x179064,_0x199754,_0x161912)=>{const _0x28b657=_0x18e134;this[_0x28b657(0xe4)](_0x199754,_0x28b657(0x13f)),this[_0x28b657(0x131)][_0x28b657(0xee)](_0x199754),this[_0x28b657(0x13e)][_0x28b657(0x112)](_0x199754)&&this[_0x28b657(0xcc)](_0x199754),_0x161912&&this[_0x28b657(0xfe)](_0x161912[_0x28b657(0xf5)]);}),this[_0x18e134(0xd6)](_0xec5f1c,_0x18e134(0x11c),(_0x314010,_0x2fe60c)=>{const _0x59f1f2=_0x18e134;this[_0x59f1f2(0xfe)](_0x2fe60c);}),this[_0x18e134(0xd6)](_0x4eefb9,_0x18e134(0x10d),()=>{const _0x4a4f38=_0x18e134;this[_0x4a4f38(0x120)]();}),this[_0x18e134(0xd6)](_0x548e5f,_0x18e134(0xc3),(_0x78323,{threadId:_0x1c0f15,isFromAdapter:_0x40853d})=>{const _0x47ffb5=_0x18e134;if(_0x40853d||!_0xec5f1c[_0x47ffb5(0x133)](_0x1c0f15))return;const _0x5dc041=_0xec5f1c[_0x47ffb5(0xf7)](_0x1c0f15);this[_0x47ffb5(0x13e)][_0x47ffb5(0xef)](_0x5dc041)[_0x47ffb5(0xf2)][_0x47ffb5(0xde)]();},{'priority':_0x18e134(0xec)});}[_0x3b4bc0(0x120)](){const _0x4043a7=_0x3b4bc0,_0x1d10da=this[_0x4043a7(0xd0)][_0x4043a7(0xe1)][_0x4043a7(0xef)](_0x4043a7(0xcd)),_0x50026f=this[_0x4043a7(0xd0)][_0x4043a7(0xe1)][_0x4043a7(0xef)](_0x4043a7(0x11d)),_0x324bd6=Array[_0x4043a7(0x107)](_0x1d10da[_0x4043a7(0xc2)],_0x391eb9=>_0x391eb9[_0x4043a7(0x12e)])[_0x4043a7(0x105)](_0x4a4ec9=>this[_0x4043a7(0x147)][_0x4043a7(0x112)](_0x4a4ec9)),_0x395631=[];for(const _0x10a398 of _0x324bd6){const _0xb91224=this[_0x4043a7(0x147)][_0x4043a7(0xef)](_0x10a398)[_0x4043a7(0xd9)][_0x4043a7(0x117)]();_0x395631[_0x4043a7(0x116)](..._0xb91224[_0x4043a7(0x134)]((_0x553801,_0x175d58)=>[..._0x553801,..._0x175d58[_0x4043a7(0x125)]()],[]));}_0x50026f[_0x4043a7(0xda)]=_0x395631;}[_0x3b4bc0(0xc4)](){const _0x2d435d=_0x3b4bc0,_0x334a1e=this[_0x2d435d(0xd0)],_0x468f2e=_0x334a1e[_0x2d435d(0x130)],_0x557791=_0x178837(_0x468f2e,_0x2d435d(0xdf)),_0x9244ab=new _0x5cd267([{'type':_0x2d435d(0x138),'model':new _0x51082e({'withText':!0x0,'label':_0x557791,'commandName':_0x2d435d(0xf9),'role':_0x2d435d(0x142)})},{'type':_0x2d435d(0xc5)},{'type':_0x2d435d(0xd4),'model':new _0x51082e({'withText':!0x0,'label':_0x178837(_0x468f2e,_0x2d435d(0x114)),'commandName':_0x2d435d(0x132),'role':_0x2d435d(0x102)})},{'type':_0x2d435d(0xd4),'model':new _0x51082e({'withText':!0x0,'label':_0x178837(_0x468f2e,_0x2d435d(0xc6)),'commandName':_0x2d435d(0x10b),'role':_0x2d435d(0x102)})},{'type':_0x2d435d(0xd4),'model':new _0x51082e({'withText':!0x0,'label':_0x178837(_0x468f2e,_0x2d435d(0x136)),'commandName':_0x2d435d(0xfa),'role':_0x2d435d(0x102)})},{'type':_0x2d435d(0xd4),'model':new _0x51082e({'withText':!0x0,'label':_0x178837(_0x468f2e,_0x2d435d(0x14c)),'commandName':_0x2d435d(0x119),'role':_0x2d435d(0x102)})}]);for(const _0x4e744f of _0x9244ab)if(ae(_0x4e744f)){const _0x27eb8e=_0x334a1e[_0x2d435d(0xf8)][_0x2d435d(0xef)](_0x4e744f[_0x2d435d(0xd9)][_0x2d435d(0x14f)]);_0x4e744f[_0x2d435d(0xd9)][_0x2d435d(0x113)](_0x2d435d(0x146),_0x2d435d(0xfd))['to'](_0x27eb8e,_0x2d435d(0xeb),_0x2d435d(0xfd));}_0x334a1e['ui'][_0x2d435d(0x10e)][_0x2d435d(0x11a)](_0x2d435d(0xf9),_0x4fb7d1=>this[_0x2d435d(0x10f)](_0x4fb7d1,_0x9244ab,_0x557791)),_0x334a1e['ui'][_0x2d435d(0x10e)][_0x2d435d(0x11a)](_0x2d435d(0x12a),_0x43f0dd=>this[_0x2d435d(0x12d)](_0x43f0dd,_0x9244ab,_0x557791));}[_0x3b4bc0(0x10f)](_0x96c650,_0x1af4d5,_0x407045){const _0x3f3f4c=_0x3b4bc0,_0xaa1a2f=_0x255ef5(_0x96c650,_0x5b4bb7),_0x3a22b9=this[_0x3f3f4c(0xd0)][_0x3f3f4c(0xf8)][_0x3f3f4c(0xef)](_0x3f3f4c(0xf9));_0xaa1a2f[_0x3f3f4c(0x108)][_0x3f3f4c(0xe8)]({'tooltip':_0x407045,'label':_0x407045,'icon':_0x59e161}),_0xaa1a2f[_0x3f3f4c(0x108)][_0x3f3f4c(0x113)](_0x3f3f4c(0x146))['to'](_0x3a22b9,_0x3f3f4c(0xeb)),_0xaa1a2f[_0x3f3f4c(0x108)]['on'](_0x3f3f4c(0xc9),()=>{const _0x2ba7fb=_0x3f3f4c;_0x3a22b9[_0x2ba7fb(0xc9)](),this[_0x2ba7fb(0xd0)][_0x2ba7fb(0x13d)][_0x2ba7fb(0xf2)][_0x2ba7fb(0xde)]();}),_0x25e7bd(_0xaa1a2f,_0x1af4d5,{'role':_0x3f3f4c(0x144)});const _0x4ca226=[];for(const _0x2f767e of _0x1af4d5)ae(_0x2f767e)&&_0x4ca226[_0x3f3f4c(0x116)](this[_0x3f3f4c(0xd0)][_0x3f3f4c(0xf8)][_0x3f3f4c(0xef)](_0x2f767e[_0x3f3f4c(0xd9)][_0x3f3f4c(0x14f)]));const _0x12c4f5=_0xaa1a2f[_0x3f3f4c(0x108)];return _0x12c4f5[_0x3f3f4c(0x11b)][_0x3f3f4c(0x122)](_0x3f3f4c(0xfd)),_0x12c4f5[_0x3f3f4c(0xe7)][_0x3f3f4c(0x122)](_0x3f3f4c(0xfd)),_0x12c4f5[_0x3f3f4c(0x11b)][_0x3f3f4c(0x113)](_0x3f3f4c(0xfd))['to'](_0x3a22b9,_0x3f3f4c(0xfd)),_0x12c4f5[_0x3f3f4c(0xe7)][_0x3f3f4c(0x113)](_0x3f3f4c(0xfd))[_0x3f3f4c(0xf4)](_0x4ca226,_0x3f3f4c(0xfd),(..._0x289a5f)=>_0x289a5f[_0x3f3f4c(0x13b)](_0x2a3edc=>_0x2a3edc)),_0xaa1a2f['on'](_0x3f3f4c(0xc9),_0x527052=>{const _0x553446=_0x3f3f4c;this[_0x553446(0xd0)][_0x553446(0xc9)](_0x527052[_0x553446(0xe0)][_0x553446(0x14f)]),this[_0x553446(0xd0)][_0x553446(0x13d)][_0x553446(0xf2)][_0x553446(0xde)]();}),_0xaa1a2f;}[_0x3b4bc0(0x12d)](_0x3f9700,_0x2a0faa,_0x1e5ac1){const _0x4b3bc7=_0x3b4bc0,_0x4226a6=new _0x525813(_0x3f9700),_0x2d8166=this[_0x4b3bc7(0xd0)][_0x4b3bc7(0xf8)][_0x4b3bc7(0xef)](_0x4b3bc7(0xf9));_0x4226a6[_0x4b3bc7(0x108)][_0x4b3bc7(0xe8)]({'label':_0x1e5ac1,'icon':_0x59e161});const _0x1c46c6=new _0x1e383e(_0x3f9700);for(const _0x36a17f of _0x2a0faa){if(_0x4b3bc7(0xc5)==_0x36a17f[_0x4b3bc7(0x129)]){_0x1c46c6[_0x4b3bc7(0x124)][_0x4b3bc7(0x11a)](new _0x1e9c88(_0x3f9700));continue;}const _0x4daa32=new _0x473664(_0x3f9700,_0x4226a6),_0x1e9fe1=new _0x223086(_0x3f9700),_0x1cd90c=_0x36a17f[_0x4b3bc7(0xd9)];_0x1e9fe1[_0x4b3bc7(0x113)](...Object[_0x4b3bc7(0xcb)](_0x1cd90c))['to'](_0x1cd90c),_0x1e9fe1[_0x4b3bc7(0x115)](_0x4b3bc7(0xc9))['to'](_0x4226a6),_0x1e9fe1['on'](_0x4b3bc7(0xc9),()=>{const _0x47259c=_0x4b3bc7;this[_0x47259c(0xd0)][_0x47259c(0xc9)](_0x1cd90c[_0x47259c(0x14f)]),this[_0x47259c(0xd0)][_0x47259c(0x13d)][_0x47259c(0xf2)][_0x47259c(0xde)]();}),_0x4daa32[_0x4b3bc7(0xfb)][_0x4b3bc7(0x11a)](_0x1e9fe1),_0x1c46c6[_0x4b3bc7(0x124)][_0x4b3bc7(0x11a)](_0x4daa32);}return _0x4226a6[_0x4b3bc7(0x113)](_0x4b3bc7(0xfd))['to'](_0x2d8166,_0x4b3bc7(0xfd)),_0x4226a6[_0x4b3bc7(0x141)][_0x4b3bc7(0xfb)][_0x4b3bc7(0x11a)](_0x1c46c6),_0x4226a6;}[_0x3b4bc0(0x145)](_0x42d9a4){const _0x372b22=_0x3b4bc0,_0x49e77e=this[_0x372b22(0xd0)],_0x28d727=_0x49e77e[_0x372b22(0x10a)],_0x595266=_0x49e77e[_0x372b22(0xe1)][_0x372b22(0xef)](_0x372b22(0xcd)),_0x41571a=_0x49e77e[_0x372b22(0xe1)][_0x372b22(0xef)](_0x372b22(0x149)),_0x436ef3=_0x49e77e[_0x372b22(0xe1)][_0x372b22(0xef)](_0x372b22(0x14b)),_0x5c12ed=_0x49e77e[_0x372b22(0xe1)][_0x372b22(0xef)](_0x5ad010)['me'],_0xb63128=_0x28d727[_0x372b22(0xef)](_0x372b22(0xf9))[_0x372b22(0xd1)],{CommentsListView:_0x33ea18,CommentThreadInputView:_0x4b36de}=_0x49e77e[_0x372b22(0xe1)][_0x372b22(0xef)](_0x372b22(0xd2));let _0x543ec9,_0x3a317a;this[_0x372b22(0x111)][_0x372b22(0x112)](_0x42d9a4['id'])?(_0x3a317a=this[_0x372b22(0x111)][_0x372b22(0xef)](_0x42d9a4['id']),_0x543ec9=_0x3a317a[_0x372b22(0x127)]):(_0x543ec9=new _0xb63128(_0x49e77e[_0x372b22(0x130)],_0x42d9a4,_0x5c12ed,{'disableComments':this[_0x372b22(0x12f)],'editorConfig':_0x28d727[_0x372b22(0xef)](_0x372b22(0xc1)),'maxCommentsWhenCollapsed':_0x28d727[_0x372b22(0xef)](_0x372b22(0x121)),'maxThreadTotalWeight':_0x28d727[_0x372b22(0xef)](_0x372b22(0x118)),'maxCommentCharsWhenCollapsed':_0x28d727[_0x372b22(0xef)](_0x372b22(0xc8)),'formatDateTime':_0x1e489f(_0x28d727[_0x372b22(0xef)](_0x372b22(0x130))),'CommentView':_0x28d727[_0x372b22(0xef)](_0x372b22(0x12c))[_0x372b22(0x150)],'CommentsListView':_0x33ea18,'CommentThreadInputView':_0x4b36de}),_0x543ec9[_0x372b22(0xff)]['on'](_0x372b22(0xc9),()=>{const _0x24a27c=_0x372b22;_0x49e77e[_0x24a27c(0x13d)][_0x24a27c(0xf2)][_0x24a27c(0xde)]();}),_0x543ec9[_0x372b22(0x151)]['on'](_0x372b22(0xc9),()=>{const _0x4c71dc=_0x372b22;_0x49e77e[_0x4c71dc(0x13d)][_0x4c71dc(0xf2)][_0x4c71dc(0xde)]();}),_0x3a317a=_0x595266[_0x372b22(0xe2)](this[_0x372b22(0xd0)][_0x372b22(0x130)],_0x543ec9),_0x3a317a[_0x372b22(0x113)](_0x372b22(0x135))['to'](_0x543ec9,_0x372b22(0x135)),_0x3a317a[_0x372b22(0x113)](_0x372b22(0x143))['to'](_0x543ec9),_0x3a317a[_0x372b22(0x113)](_0x372b22(0x129))['to'](_0x543ec9,_0x372b22(0x129),_0x58b645=>_0x372b22(0xd5)+_0x58b645),this[_0x372b22(0x111)][_0x372b22(0xe8)](_0x42d9a4['id'],_0x3a317a));const _0x4611e4=_0x41571a[_0x372b22(0x13c)](_0x42d9a4[_0x372b22(0x11e)],_0x543ec9),_0x412b52=new _0x4533df(_0x49e77e,_0x42d9a4,_0x543ec9,_0x4611e4),_0xc89b7c=_0x42d9a4[_0x372b22(0x117)]()[_0x372b22(0x105)](_0x2d3419=>_0x2d3419[_0x372b22(0x126)]);_0x543ec9[_0x372b22(0xed)]=_0x49e77e[_0x372b22(0xe1)][_0x372b22(0xef)](_0x372b22(0x11d))[_0x372b22(0xf3)][_0x372b22(0x123)](_0xc89b7c),this[_0x372b22(0x13e)][_0x372b22(0xe8)](_0x42d9a4,_0x412b52),this[_0x372b22(0x147)][_0x372b22(0xe8)](_0x543ec9,_0x412b52);const _0x1eec7b=_0x595266[_0x372b22(0x104)]({'view':_0x3a317a,'target':()=>{const _0x1a65a1=_0x372b22,_0x45cca8=[],_0x6c2a2f=_0x42d9a4[_0x1a65a1(0x117)]()[_0x1a65a1(0x105)](_0x5d95d8=>_0x5d95d8[_0x1a65a1(0x126)]);for(const _0x138e3e of _0x6c2a2f)_0x45cca8[_0x1a65a1(0x116)](..._0x138e3e[_0x1a65a1(0x140)]());return _0x275aae(_0x49e77e[_0x1a65a1(0x13d)],_0x45cca8);},'type':()=>_0x372b22(0xd5)+_0x412b52[_0x372b22(0xf2)][_0x372b22(0x129)]});_0x41571a[_0x372b22(0xea)](_0x543ec9,_0x1eec7b),_0x595266[_0x372b22(0x11a)](_0x1eec7b),_0x436ef3[_0x372b22(0x109)](_0x1eec7b);}[_0x3b4bc0(0xcc)](_0x37e75f){const _0x3df4f2=_0x3b4bc0,_0x20ab6c=this[_0x3df4f2(0xd0)][_0x3df4f2(0xe1)][_0x3df4f2(0xef)](_0x3df4f2(0x149)),_0x2f8ef6=this[_0x3df4f2(0xd0)][_0x3df4f2(0xe1)][_0x3df4f2(0xef)](_0x3df4f2(0xcd)),_0x1ce734=this[_0x3df4f2(0x13e)][_0x3df4f2(0xef)](_0x37e75f),_0x3727c2=_0x1ce734[_0x3df4f2(0xf2)],_0x401fde=_0x2f8ef6[_0x3df4f2(0xdb)](_0x3727c2);_0x20ab6c[_0x3df4f2(0x110)](_0x3727c2),_0x401fde&&_0x2f8ef6[_0x3df4f2(0xe9)](_0x401fde),this[_0x3df4f2(0x13e)][_0x3df4f2(0xee)](_0x37e75f),this[_0x3df4f2(0x147)][_0x3df4f2(0xee)](_0x3727c2),_0x1ce734[_0x3df4f2(0x13a)]();}[_0x3b4bc0(0xfe)](_0x3f4638){const _0x3611ae=_0x3b4bc0;if(!_0x3f4638[_0x3611ae(0x126)]||!this[_0x3611ae(0x13e)][_0x3611ae(0x112)](_0x3f4638))return;const _0x2184ba=this[_0x3611ae(0xd0)][_0x3611ae(0xe1)][_0x3611ae(0xef)](_0x3611ae(0x11d)),_0x2aeb07=this[_0x3611ae(0x13e)][_0x3611ae(0xef)](_0x3f4638),_0x15af50=_0x3f4638[_0x3611ae(0x117)]();_0x2aeb07[_0x3611ae(0xf2)][_0x3611ae(0xed)]=_0x2184ba[_0x3611ae(0xf3)][_0x3611ae(0x123)](_0x15af50);}[_0x3b4bc0(0x13a)](){const _0x1d543d=_0x3b4bc0;for(const _0xd75e95 of this[_0x1d543d(0x13e)][_0x1d543d(0xcb)]())this[_0x1d543d(0xcc)](_0xd75e95);for(const _0x33c907 of this[_0x1d543d(0x111)][_0x1d543d(0xce)]())_0x33c907[_0x1d543d(0x127)][_0x1d543d(0x13a)]();super[_0x1d543d(0x13a)]();}}function ae(_0x3c36c0){const _0x225026=_0x3b4bc0;return _0x225026(0xd9)in _0x3c36c0;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x3372(){const _0x1b41b6=['stopListening','getRanges','_discardCommand','bind','model','_removePendingAction','canAccept','PENDING_ACTION_SUGGESTION','1379cUyOeG','discardSuggestion','commands','3569193RLBjAq','isEnabled','_editor','listenTo','15dLAnun','change:isDirty','2533614kuBzvh','_acceptCommand','1685248fUuhDN','acceptSuggestion','execute','view','_setPendingAction','canDiscard','get','commentThreadController','locale','28859110vIdSeU','add','_pendingAction','108fAqwaZ','unbind','1074339ApPaqk','PendingActions','canEditAt','destroy','57128gusioO','plugins','remove','isDirty','10221ZBtKRt'];_0x3372=function(){return _0x1b41b6;};return _0x3372();}const _0x1bf048=_0x2f81;(function(_0x1c135b,_0x51d5ce){const _0x2e52f9=_0x2f81,_0x43df07=_0x1c135b();while(!![]){try{const _0x251a2a=parseInt(_0x2e52f9(0x18d))/0x1*(parseInt(_0x2e52f9(0x183))/0x2)+-parseInt(_0x2e52f9(0x185))/0x3+parseInt(_0x2e52f9(0x177))/0x4+-parseInt(_0x2e52f9(0x173))/0x5*(-parseInt(_0x2e52f9(0x175))/0x6)+parseInt(_0x2e52f9(0x16c))/0x7*(parseInt(_0x2e52f9(0x189))/0x8)+parseInt(_0x2e52f9(0x16f))/0x9+-parseInt(_0x2e52f9(0x180))/0xa;if(_0x251a2a===_0x51d5ce)break;else _0x43df07['push'](_0x43df07['shift']());}catch(_0x5cdf7e){_0x43df07['push'](_0x43df07['shift']());}}}(_0x3372,0xc3297));import{ObservableMixin as _0x264a0f}from'ckeditor5/src/utils.js';import{getTranslation as _0x481898}from'../utils/common-translations.js';function _0x2f81(_0x34620c,_0x44d23e){const _0x337276=_0x3372();return _0x2f81=function(_0x2f81cd,_0x5d8aca){_0x2f81cd=_0x2f81cd-0x167;let _0xd737ba=_0x337276[_0x2f81cd];return _0xd737ba;},_0x2f81(_0x34620c,_0x44d23e);}export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x264a0f(){constructor(_0x14bb5f,_0x56e004,_0x2f3b47,_0x6b0355){const _0x1ec61e=_0x2f81;super(),this[_0x1ec61e(0x168)]=_0x56e004,this[_0x1ec61e(0x17a)]=_0x2f3b47,this[_0x1ec61e(0x17e)]=_0x6b0355,this[_0x1ec61e(0x171)]=_0x14bb5f,this[_0x1ec61e(0x176)]=_0x14bb5f[_0x1ec61e(0x16e)][_0x1ec61e(0x17d)](_0x1ec61e(0x178)),this[_0x1ec61e(0x190)]=_0x14bb5f[_0x1ec61e(0x16e)][_0x1ec61e(0x17d)](_0x1ec61e(0x16d)),this[_0x1ec61e(0x17a)][_0x1ec61e(0x167)](_0x1ec61e(0x170))['to'](this[_0x1ec61e(0x176)],this[_0x1ec61e(0x190)],(_0x124403,_0x11389b)=>_0x124403||_0x11389b),this[_0x1ec61e(0x17a)][_0x1ec61e(0x167)](_0x1ec61e(0x16a))['to'](this[_0x1ec61e(0x176)],_0x1ec61e(0x170),_0x25a9db=>_0x25a9db&&this[_0x1ec61e(0x171)][_0x1ec61e(0x168)][_0x1ec61e(0x187)](_0x56e004[_0x1ec61e(0x18f)]())),this[_0x1ec61e(0x17a)][_0x1ec61e(0x167)](_0x1ec61e(0x17c))['to'](this[_0x1ec61e(0x190)],_0x1ec61e(0x170),_0x1a4909=>_0x1a4909&&this[_0x1ec61e(0x171)][_0x1ec61e(0x168)][_0x1ec61e(0x187)](_0x56e004[_0x1ec61e(0x18f)]())),this[_0x1ec61e(0x182)]=null,_0x2f3b47[_0x1ec61e(0x18c)]&&this[_0x1ec61e(0x17b)](),this[_0x1ec61e(0x172)](_0x2f3b47,_0x1ec61e(0x178),()=>this[_0x1ec61e(0x178)]()),this[_0x1ec61e(0x172)](_0x2f3b47,_0x1ec61e(0x16d),()=>this[_0x1ec61e(0x16d)]()),this[_0x1ec61e(0x172)](_0x2f3b47,_0x1ec61e(0x174),()=>{const _0x51d6ba=_0x1ec61e;_0x2f3b47[_0x51d6ba(0x18c)]?this[_0x51d6ba(0x17b)]():this[_0x51d6ba(0x169)]();});}[_0x1bf048(0x178)](){const _0x3048c4=_0x1bf048;this[_0x3048c4(0x176)][_0x3048c4(0x179)](this[_0x3048c4(0x168)]['id']);}[_0x1bf048(0x16d)](){const _0x32d723=_0x1bf048;this[_0x32d723(0x190)][_0x32d723(0x179)](this[_0x32d723(0x168)]['id']);}[_0x1bf048(0x188)](){const _0x26eb8a=_0x1bf048;this[_0x26eb8a(0x17a)][_0x26eb8a(0x184)](_0x26eb8a(0x170)),this[_0x26eb8a(0x17a)][_0x26eb8a(0x184)](_0x26eb8a(0x16a)),this[_0x26eb8a(0x17a)][_0x26eb8a(0x184)](_0x26eb8a(0x17c)),this[_0x26eb8a(0x18e)](),this[_0x26eb8a(0x17e)][_0x26eb8a(0x188)](),this[_0x26eb8a(0x182)]&&this[_0x26eb8a(0x169)]();}[_0x1bf048(0x17b)](){const _0x45ae92=_0x1bf048,_0x17b505=_0x481898(this[_0x45ae92(0x171)][_0x45ae92(0x17f)],_0x45ae92(0x16b));this[_0x45ae92(0x182)]=this[_0x45ae92(0x171)][_0x45ae92(0x18a)][_0x45ae92(0x17d)](_0x45ae92(0x186))[_0x45ae92(0x181)](_0x17b505);}[_0x1bf048(0x169)](){const _0x4d9bc6=_0x1bf048;null!==this[_0x4d9bc6(0x182)]&&this[_0x4d9bc6(0x171)][_0x4d9bc6(0x18a)][_0x4d9bc6(0x17d)](_0x4d9bc6(0x186))[_0x4d9bc6(0x18b)](this[_0x4d9bc6(0x182)]),this[_0x4d9bc6(0x182)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x17eb(_0x330850,_0x45ef29){const _0x30bac8=_0x30ba();return _0x17eb=function(_0x17eb2b,_0x151713){_0x17eb2b=_0x17eb2b-0x194;let _0x503251=_0x30bac8[_0x17eb2b];return _0x503251;},_0x17eb(_0x330850,_0x45ef29);}const _0x18e5f8=_0x17eb;function _0x30ba(){const _0x1acc8d=['52oDKseT','setData','5185980KNWhOS','disabledSubmit','editor','commentsListView','hasDirtyComment','2588121lqJPBf','_localUser','updateComment','1613579pFJYYH','_createCommentViews','_createCommentThreadInputView','110648hPxiUe','showInput','20IJmCgw','1191464VgoFkn','commentInputView','editorConfig','removeComment','authoredAt','commentThreadInputView','addComment','destroy','7iDRCLi','length','locale','value','36zPcWvf','isEnabled','commentThread','descriptionParts','386345fmpYBh','focus','submit','6179htPlzX','bind','fire','disableComments','delegate','cancel','canAccept','isActive','_config','element','isReadOnly','39HiyXqC','isDirty','set','_model','assign','CommentView','canDiscard'];_0x30ba=function(){return _0x1acc8d;};return _0x30ba();}(function(_0x3c43c1,_0x2877e7){const _0x3bb24c=_0x17eb,_0x54b541=_0x3c43c1();while(!![]){try{const _0xfd45d8=-parseInt(_0x3bb24c(0x198))/0x1*(-parseInt(_0x3bb24c(0x1aa))/0x2)+parseInt(_0x3bb24c(0x1a3))/0x3*(parseInt(_0x3bb24c(0x1b7))/0x4)+-parseInt(_0x3bb24c(0x195))/0x5+parseInt(_0x3bb24c(0x1ac))/0x6+parseInt(_0x3bb24c(0x1c2))/0x7*(parseInt(_0x3bb24c(0x1ba))/0x8)+parseInt(_0x3bb24c(0x1b1))/0x9*(-parseInt(_0x3bb24c(0x1b9))/0xa)+parseInt(_0x3bb24c(0x1b4))/0xb*(-parseInt(_0x3bb24c(0x1c6))/0xc);if(_0xfd45d8===_0x2877e7)break;else _0x54b541['push'](_0x54b541['shift']());}catch(_0x5a17c6){_0x54b541['push'](_0x54b541['shift']());}}}(_0x30ba,0x6bad9));import{View as _0x2d8b50}from'ckeditor5/src/ui.js';export default class es extends _0x2d8b50{constructor(_0x192b96,_0x4d2073,_0x1bd8da,_0x411954){const _0x7f74e1=_0x17eb;super(_0x192b96),this[_0x7f74e1(0x1af)]=null,this[_0x7f74e1(0x1bf)]=null,this[_0x7f74e1(0x1a5)](_0x7f74e1(0x19f),!0x1),this[_0x7f74e1(0x1a5)](_0x7f74e1(0x1be),_0x4d2073[_0x7f74e1(0x1be)]),this[_0x7f74e1(0x199)](_0x7f74e1(0x1be))['to'](_0x4d2073),this[_0x7f74e1(0x1a5)](_0x7f74e1(0x194),[]),this[_0x7f74e1(0x1a5)](_0x7f74e1(0x1a4),!0x1),this[_0x7f74e1(0x1a5)](_0x7f74e1(0x1c7),!0x1),this[_0x7f74e1(0x1a5)](_0x7f74e1(0x19e),!0x1),this[_0x7f74e1(0x1a5)](_0x7f74e1(0x1a9),!0x1),this[_0x7f74e1(0x1a6)]=_0x4d2073,this[_0x7f74e1(0x1b2)]=_0x1bd8da,this[_0x7f74e1(0x1a0)]=_0x411954,_0x411954[_0x7f74e1(0x19b)]?this[_0x7f74e1(0x1a5)](_0x7f74e1(0x1c3),0x1):this[_0x7f74e1(0x1b5)]();}[_0x18e5f8(0x196)](){const _0x1c809b=_0x18e5f8;this[_0x1c809b(0x1a1)][_0x1c809b(0x196)]();}[_0x18e5f8(0x1c1)](){const _0x5d5ddd=_0x18e5f8;this[_0x5d5ddd(0x1af)]&&this[_0x5d5ddd(0x1af)][_0x5d5ddd(0x1c1)](),this[_0x5d5ddd(0x1bf)]&&this[_0x5d5ddd(0x1bf)][_0x5d5ddd(0x1c1)](),super[_0x5d5ddd(0x1c1)]();}[_0x18e5f8(0x1b5)](){const _0x26ef77=_0x18e5f8,{CommentsListView:_0x142ad4}=this[_0x26ef77(0x1a0)];this[_0x26ef77(0x1af)]=new _0x142ad4(this[_0x26ef77(0x1c4)],this[_0x26ef77(0x1a6)][_0x26ef77(0x1c8)],Object[_0x26ef77(0x1a7)]({'CommentView':this[_0x26ef77(0x1a0)][_0x26ef77(0x1a8)]},this[_0x26ef77(0x1a0)])),this[_0x26ef77(0x1af)][_0x26ef77(0x19c)](_0x26ef77(0x1bd))['to'](this),this[_0x26ef77(0x1af)][_0x26ef77(0x19c)](_0x26ef77(0x1b3))['to'](this),this[_0x26ef77(0x1af)][_0x26ef77(0x199)](_0x26ef77(0x19f))['to'](this),this[_0x26ef77(0x1a5)](_0x26ef77(0x1c3),this[_0x26ef77(0x1af)][_0x26ef77(0x1c3)]+0x1),this[_0x26ef77(0x199)](_0x26ef77(0x1c3))['to'](this[_0x26ef77(0x1af)],_0x26ef77(0x1c3),_0x1e03c6=>_0x1e03c6+0x1),this[_0x26ef77(0x1bf)]=this[_0x26ef77(0x1b6)](),this['on'](_0x26ef77(0x1bd),()=>this[_0x26ef77(0x196)]()),this[_0x26ef77(0x199)](_0x26ef77(0x1a4))['to'](this[_0x26ef77(0x1af)],_0x26ef77(0x1b0),this[_0x26ef77(0x1bf)][_0x26ef77(0x1bb)],_0x26ef77(0x1c5),(_0x54282b,_0x5db441)=>_0x54282b||!!_0x5db441);}[_0x18e5f8(0x1b6)](){const _0x313c37=_0x18e5f8,{CommentThreadInputView:_0x26fafe}=this[_0x313c37(0x1a0)],_0x5b1e13=new _0x26fafe(this[_0x313c37(0x1c4)],this[_0x313c37(0x1b2)],this[_0x313c37(0x1a0)][_0x313c37(0x1bc)]),_0x3a94e7=_0x5b1e13[_0x313c37(0x1bb)];return _0x5b1e13[_0x313c37(0x199)](_0x313c37(0x1b8))['to'](this,_0x313c37(0x19f),this[_0x313c37(0x1a6)][_0x313c37(0x1c8)],_0x313c37(0x1a2),_0x3a94e7,_0x313c37(0x1c5),(_0x5bcbf1,_0x414fa5,_0x4d16a1)=>!!_0x4d16a1||_0x5bcbf1&&!_0x414fa5),_0x3a94e7['on'](_0x313c37(0x197),(_0x4c10f6,_0x542550)=>{const _0x4be840=_0x313c37;this[_0x4be840(0x19a)](_0x4be840(0x1c0),_0x542550),_0x3a94e7[_0x4be840(0x1ae)][_0x4be840(0x1ab)]('');}),_0x3a94e7['on'](_0x313c37(0x19d),()=>this[_0x313c37(0x196)]()),_0x3a94e7[_0x313c37(0x199)](_0x313c37(0x1ad))['to'](this[_0x313c37(0x1a6)][_0x313c37(0x1c8)],_0x313c37(0x1a2)),_0x5b1e13;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ff4bf=_0x223e;(function(_0x10d813,_0x43dca5){const _0x43a7b9=_0x223e,_0x4537b0=_0x10d813();while(!![]){try{const _0x109561=parseInt(_0x43a7b9(0x189))/0x1*(parseInt(_0x43a7b9(0x1af))/0x2)+parseInt(_0x43a7b9(0x19b))/0x3*(parseInt(_0x43a7b9(0x158))/0x4)+-parseInt(_0x43a7b9(0x1ba))/0x5+-parseInt(_0x43a7b9(0x1a3))/0x6*(parseInt(_0x43a7b9(0x1bd))/0x7)+parseInt(_0x43a7b9(0x184))/0x8*(parseInt(_0x43a7b9(0x18c))/0x9)+parseInt(_0x43a7b9(0x1a9))/0xa+-parseInt(_0x43a7b9(0x165))/0xb*(parseInt(_0x43a7b9(0x16a))/0xc);if(_0x109561===_0x43dca5)break;else _0x4537b0['push'](_0x4537b0['shift']());}catch(_0x2ab465){_0x4537b0['push'](_0x4537b0['shift']());}}}(_0x2762,0xea1e9));import{getTranslation as _0x564b5e}from'../../utils/common-translations.js';import{default as _0xd90f2c}from'./basesuggestionthreadview.js';function _0x223e(_0x3fe1c3,_0x329fb8){const _0x276229=_0x2762();return _0x223e=function(_0x223e61,_0xa39285){_0x223e61=_0x223e61-0x14f;let _0x184f5f=_0x276229[_0x223e61];return _0x184f5f;},_0x223e(_0x3fe1c3,_0x329fb8);}import{ButtonView as _0x107e99}from'ckeditor5/src/ui.js';import{icons as _0x198985}from'ckeditor5/src/core.js';function _0x2762(){const _0x1e3601=['EXTERNAL_AVATAR','getTemplate','Accept\x20suggestion','description','map','color','canDiscard','isActive','ck-suggestion__info','render','ck-annotation__user','ck-comment__info-time','36XypmUR','ck-suggestion--disabled-comments','importWord','setTemplate','acceptSuggestion','_descriptionElement','ck-suggestion--accept','ck-annotation__content-wrapper','650388aXOYEm','ck-suggestion-','<span\x20class=\x22ck-suggestion-type\x22>','</span>','extendTemplate','execute','3112460efcptA','descriptionParts','\x22></span>','_config','_createButton','attributes','1292hnowqr','creator','ck-suggestion','ck-annotation__info','bindTemplate','</p>','div','ck-annotation__main','delegate','ck-annotation','canAccept','3945640VXpkUx','commentThread','acceptButton','28GHrJMo','discardSuggestion','EXTERNAL_SUGGESTION','ck-suggestion-wrapper','@external','commentThreadInputView','disableComments','<p>','span','type','userView','commentsListView','476972LTxPNt','fire','querySelector','push','ck-suggestion--discard','ck-suggestion__user','join','authoredAt','EXTERNAL_IMPORT_WORD_SUGGESTION','author','check','source','cancel','203192mHQaBW','children','locale','_model','ck-suggestion__info-name','1464ayKxXZ','title','ck-suggestion-wrapper--active','ck-suggestion__main','content','createElement','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','discardButton','formatDateTime','getUserViewNotificationText','EXTERNAL_IMPORT_WORD_AVATAR','isEnabled','isExternal','time','set','.ck-annotation__content-wrapper','ck-annotation__actions','editorDestroyed','ck-annotation__info-name','change:description','getExternalSuggestionNote','element','innerHTML','name','ck-annotation__info-time','ck-comment__external','1421848buAsIK','ck-suggestion__actions','split','innerText','Discard\x20suggestion','2243yljgZi','editorReady','value','63QBGxIt','\x22\x20title=\x22','bind'];_0x2762=function(){return _0x1e3601;};return _0x2762();}import{trimHtml as _0x278355,UserView as _0x17fb13}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0xd90f2c{constructor(_0x4f138b,_0x2500cc,_0x4ef6ee,_0x2b4ed6){const _0x552b47=_0x223e;super(_0x4f138b,_0x2500cc,_0x4ef6ee,_0x2b4ed6),this[_0x552b47(0x178)](_0x552b47(0x155),''),this[_0x552b47(0x18e)](_0x552b47(0x155))['to'](this,_0x552b47(0x1aa),_0x153100=>_0x153100&&_0x153100[0x0]?_0x153100[0x0][_0x552b47(0x155)]:''),this[_0x552b47(0x18e)](_0x552b47(0x192))['to'](this,_0x552b47(0x1aa),this,_0x552b47(0x196),(_0x42be89,_0x4a1f15)=>{const _0x4a1b99=_0x552b47;let _0x4ff514='';for(const _0x1d3ff0 of _0x42be89)_0x4ff514+=_0x4a1b99(0x153)+ds(_0x1d3ff0[_0x4a1b99(0x16e)],_0x1d3ff0[_0x4a1b99(0x194)])+_0x4a1b99(0x1b4);return _0x4a1f15?_0x4ff514:_0x278355(_0x4ff514,{'limit':0x8c});}),this[_0x552b47(0x1a0)]=null,this[_0x552b47(0x1bc)]=this[_0x552b47(0x1ad)](_0x564b5e(_0x4f138b,_0x552b47(0x191)),_0x198985[_0x552b47(0x162)],_0x552b47(0x1a1),_0x552b47(0x19f),'sw'),this[_0x552b47(0x1bc)][_0x552b47(0x18e)](_0x552b47(0x175))['to'](this,_0x552b47(0x1b9)),this[_0x552b47(0x171)]=this[_0x552b47(0x1ad)](_0x564b5e(_0x4f138b,_0x552b47(0x188)),_0x198985[_0x552b47(0x164)],_0x552b47(0x15c),_0x552b47(0x1be),'sw'),this[_0x552b47(0x171)][_0x552b47(0x18e)](_0x552b47(0x175))['to'](this,_0x552b47(0x195)),this[_0x552b47(0x156)]=new _0x17fb13(_0x4f138b,this[_0x552b47(0x168)][_0x552b47(0x161)],this[_0x552b47(0x173)]()),this[_0x552b47(0x156)][_0x552b47(0x1a7)]({'attributes':{'class':[_0x552b47(0x15d),_0x552b47(0x199)]}}),this[_0x552b47(0x19e)](this[_0x552b47(0x190)]());}[_0x3ff4bf(0x190)](){const _0x4f810f=_0x3ff4bf,_0x176933=this[_0x4f810f(0x1b3)],_0x2fc277=[{'tag':_0x4f810f(0x1b5),'attributes':{'class':[_0x4f810f(0x197),_0x4f810f(0x1b2)]},'children':[{'tag':_0x4f810f(0x154),'children':[{'text':this[_0x4f810f(0x156)][_0x4f810f(0x181)]}],'attributes':{'class':[_0x4f810f(0x169),_0x4f810f(0x17c)]}},{'tag':_0x4f810f(0x177),'attributes':{'datetime':_0x176933['to'](_0x4f810f(0x15f)),'class':[_0x4f810f(0x19a),_0x4f810f(0x182)]},'children':[{'text':_0x176933['to'](_0x4f810f(0x15f),_0x1cb9cc=>this[_0x4f810f(0x1ac)][_0x4f810f(0x172)](_0x1cb9cc))}]}]},{'tag':_0x4f810f(0x1b5),'attributes':{'class':[_0x4f810f(0x185),_0x4f810f(0x17a)]},'children':[this[_0x4f810f(0x1bc)],this[_0x4f810f(0x171)]]},{'tag':_0x4f810f(0x1b5),'attributes':{'class':[_0x4f810f(0x1a2)]}}];this[_0x4f810f(0x168)][_0x4f810f(0x176)]&&_0x2fc277[_0x4f810f(0x15b)]({'tag':_0x4f810f(0x1b5),'attributes':{'class':[_0x4f810f(0x183)]},'children':[{'text':this[_0x4f810f(0x17e)]()}]});const _0x2d44f8={'tag':_0x4f810f(0x1b5),'attributes':{'class':[_0x4f810f(0x14f),_0x176933['if'](_0x4f810f(0x196),_0x4f810f(0x16c)),_0x176933['to'](_0x4f810f(0x155),_0x2aec58=>_0x4f810f(0x1a4)+_0x2aec58),this[_0x4f810f(0x1ac)][_0x4f810f(0x152)]&&_0x4f810f(0x19c)],'data-suggestion-id':this[_0x4f810f(0x168)]['id'],'data-thread-id':this[_0x4f810f(0x168)][_0x4f810f(0x1bb)]['id'],'data-author-id':this[_0x4f810f(0x168)][_0x4f810f(0x161)]['id'],'tabindex':-0x1},'children':[{'tag':_0x4f810f(0x1b5),'attributes':{'class':[_0x4f810f(0x1b1),_0x4f810f(0x1b8)]},'children':[this[_0x4f810f(0x156)],{'tag':_0x4f810f(0x1b5),'attributes':{'class':[_0x4f810f(0x16d),_0x4f810f(0x1b6)]},'children':_0x2fc277}]}]};return this[_0x4f810f(0x157)]&&this[_0x4f810f(0x151)]&&(_0x2d44f8[_0x4f810f(0x166)][_0x4f810f(0x15b)](this[_0x4f810f(0x157)],this[_0x4f810f(0x151)]),this[_0x4f810f(0x157)][_0x4f810f(0x1b7)](_0x4f810f(0x18a))['to'](this),this[_0x4f810f(0x157)][_0x4f810f(0x1b7)](_0x4f810f(0x17b))['to'](this),this[_0x4f810f(0x151)][_0x4f810f(0x1b7)](_0x4f810f(0x18a))['to'](this),this[_0x4f810f(0x151)][_0x4f810f(0x1b7)](_0x4f810f(0x17b))['to'](this)),_0x2d44f8;}[_0x3ff4bf(0x198)](){const _0xa59f3e=_0x3ff4bf;super[_0xa59f3e(0x198)](),this[_0xa59f3e(0x1a0)]=this[_0xa59f3e(0x17f)][_0xa59f3e(0x15a)](_0xa59f3e(0x179)),this[_0xa59f3e(0x1a0)][_0xa59f3e(0x180)]=this[_0xa59f3e(0x192)],this['on'](_0xa59f3e(0x17d),(_0x233363,_0xef07bf,_0x4ee68a)=>{const _0x5c81c7=_0xa59f3e;this[_0x5c81c7(0x1a0)][_0x5c81c7(0x180)]=_0x4ee68a;});}[_0x3ff4bf(0x1ad)](_0x489e29,_0x267011,_0x10f8bf,_0x261dd5,_0x595eef){const _0x4b45ec=_0x3ff4bf,_0x5e2b5c=new _0x107e99(this[_0x4b45ec(0x167)]);return _0x5e2b5c[_0x4b45ec(0x178)]({'label':_0x489e29,'icon':_0x267011,'tooltip':!0x0,'tooltipPosition':_0x595eef}),_0x5e2b5c[_0x4b45ec(0x1a7)]({'attributes':{'class':_0x10f8bf}}),_0x5e2b5c['on'](_0x4b45ec(0x1a8),()=>{const _0x4c8613=_0x4b45ec;this[_0x4c8613(0x159)](_0x261dd5,this[_0x4c8613(0x168)]['id']);}),_0x5e2b5c;}[_0x3ff4bf(0x17e)](){const _0x1c41cd=_0x3ff4bf;return _0x1c41cd(0x19d)===this[_0x1c41cd(0x168)][_0x1c41cd(0x1ae)][_0x1c41cd(0x150)][_0x1c41cd(0x163)]?_0x564b5e(this[_0x1c41cd(0x167)],_0x1c41cd(0x160)):_0x564b5e(this[_0x1c41cd(0x167)],_0x1c41cd(0x1bf));}[_0x3ff4bf(0x173)](){const _0x1d7807=_0x3ff4bf;return this[_0x1d7807(0x168)][_0x1d7807(0x176)]?_0x1d7807(0x19d)===this[_0x1d7807(0x168)][_0x1d7807(0x1ae)][_0x1d7807(0x150)][_0x1d7807(0x163)]?_0x564b5e(this[_0x1d7807(0x167)],_0x1d7807(0x174),this[_0x1d7807(0x168)][_0x1d7807(0x1b0)][_0x1d7807(0x181)]):_0x564b5e(this[_0x1d7807(0x167)],_0x1d7807(0x18f),this[_0x1d7807(0x168)][_0x1d7807(0x1b0)][_0x1d7807(0x181)]):null;}}function ds(_0xe93b3b,_0x217ae6){const _0x47ac3e=_0x3ff4bf;let _0x4146a9='';return _0x4146a9+=_0xe93b3b[_0x47ac3e(0x186)]('*')[_0x47ac3e(0x193)]((_0x11ab14,_0x1e573b)=>_0x1e573b%0x2!=0x0?_0x47ac3e(0x1a5)+us(_0x11ab14)+_0x47ac3e(0x1a6):us(_0x11ab14))[_0x47ac3e(0x15e)](''),_0x217ae6&&(_0x4146a9+=_0x47ac3e(0x170)+_0x217ae6[_0x47ac3e(0x18b)]+_0x47ac3e(0x18d)+_0x217ae6[_0x47ac3e(0x16b)]+_0x47ac3e(0x1ab)),_0x4146a9;}function us(_0x361452){const _0x229bea=_0x3ff4bf,_0x91b9a=document[_0x229bea(0x16f)](_0x229bea(0x154));return _0x91b9a[_0x229bea(0x187)]=_0x361452,_0x91b9a[_0x229bea(0x180)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x2990a0,_0x82afd,_0x1f6547){const t=_0x2990a0['t'];switch(_0x82afd){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',_0x1f6547);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1f6547);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1f6547);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1f6547);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1f6547);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',_0x1f6547);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1f6547);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',_0x1f6547);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1f6547);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1f6547);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1f6547);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1f6547);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1f6547);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1f6547);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1f6547);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1f6547);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1f6547);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1f6547);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1f6547);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1f6547);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1f6547);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1f6547);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1f6547);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'},_0x1f6547);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1f6547);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1f6547);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1f6547);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1f6547);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1f6547);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'},_0x1f6547);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1f6547);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1f6547);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1f6547);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1f6547);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'},_0x1f6547);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1f6547);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'},_0x1f6547);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'},_0x1f6547);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1f6547);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'},_0x1f6547);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1f6547);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'},_0x1f6547);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1f6547);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1f6547);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'},_0x1f6547);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'},_0x1f6547);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 _0x82afd;}}
|
|
23
|
+
export function getTranslation(_0x1c135d,_0x14fa2d,_0x5afbe1){const t=_0x1c135d['t'];switch(_0x14fa2d){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',_0x5afbe1);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5afbe1);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5afbe1);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5afbe1);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5afbe1);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',_0x5afbe1);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x5afbe1);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',_0x5afbe1);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5afbe1);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5afbe1);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5afbe1);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5afbe1);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5afbe1);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5afbe1);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5afbe1);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x5afbe1);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5afbe1);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5afbe1);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x5afbe1);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5afbe1);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5afbe1);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5afbe1);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5afbe1);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'},_0x5afbe1);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5afbe1);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5afbe1);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5afbe1);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5afbe1);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5afbe1);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'},_0x5afbe1);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5afbe1);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5afbe1);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5afbe1);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5afbe1);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'},_0x5afbe1);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5afbe1);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'},_0x5afbe1);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'},_0x5afbe1);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5afbe1);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'},_0x5afbe1);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5afbe1);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'},_0x5afbe1);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x5afbe1);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5afbe1);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'},_0x5afbe1);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'},_0x5afbe1);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 _0x14fa2d;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5996(_0x211519,_0xe3b56b){const _0x555f49=_0x555f();return _0x5996=function(_0x59966c,_0x1be6be){_0x59966c=_0x59966c-0x132;let _0x6dd0f9=_0x555f49[_0x59966c];return _0x6dd0f9;},_0x5996(_0x211519,_0xe3b56b);}(function(_0x4120b3,_0x1850e5){const _0x51215d=_0x5996,_0x3dd878=_0x4120b3();while(!![]){try{const _0xc434d1=parseInt(_0x51215d(0x13d))/0x1+parseInt(_0x51215d(0x15a))/0x2+-parseInt(_0x51215d(0x14d))/0x3*(-parseInt(_0x51215d(0x143))/0x4)+-parseInt(_0x51215d(0x157))/0x5+-parseInt(_0x51215d(0x147))/0x6+parseInt(_0x51215d(0x144))/0x7+-parseInt(_0x51215d(0x137))/0x8;if(_0xc434d1===_0x1850e5)break;else _0x3dd878['push'](_0x3dd878['shift']());}catch(_0x5ef5e8){_0x3dd878['push'](_0x3dd878['shift']());}}}(_0x555f,0xe1361));export function normalizeDescription(_0x346f98){const _0x313ae6=_0x5996;return Array[_0x313ae6(0x138)](_0x346f98)||(_0x346f98=[_0x346f98]),_0x346f98[_0x313ae6(0x13e)](_0x59c15f=>{const _0x6219df=_0x313ae6,_0x38a824=_0x59c15f[_0x6219df(0x152)][_0x6219df(0x14c)](/\*/g,''),_0x274014=_0x59c15f[_0x6219df(0x150)]?_0x6219df(0x135)+_0x59c15f[_0x6219df(0x150)][_0x6219df(0x14e)]+']':'';return'['+_0x59c15f[_0x6219df(0x136)]+']\x20'+_0x38a824+_0x274014;})[_0x313ae6(0x148)](';\x20');}export function sortSuggestions(_0x33883a){const _0x19bbed=_0x5996;return _0x33883a[_0x19bbed(0x153)]((_0x4536dd,_0x2a095f)=>_0x19bbed(0x13f)==_0x4536dd[_0x19bbed(0x136)]&&_0x19bbed(0x13f)!=_0x2a095f[_0x19bbed(0x136)]?-0x1:_0x19bbed(0x13f)!=_0x4536dd[_0x19bbed(0x136)]&&_0x19bbed(0x13f)==_0x2a095f[_0x19bbed(0x136)]?0x1:0x0);}export function getSelectedSuggestions(_0x21f504,_0x3902b1){const _0x20cb10=_0x5996,_0x664203=Array[_0x20cb10(0x149)](_0x21f504[_0x20cb10(0x13c)]()),_0x4b6e5c=new Set();for(const _0x1ce08f of _0x3902b1)if(_0x1ce08f[_0x20cb10(0x146)]){for(const _0x1e7ca2 of _0x664203)for(const _0x49adf5 of _0x1ce08f[_0x20cb10(0x13c)]())(_0x1e7ca2[_0x20cb10(0x145)](_0x49adf5)||_0x21f504[_0x20cb10(0x141)]&&!_0x1ce08f[_0x20cb10(0x151)]&&_0x1ce08f[_0x20cb10(0x140)]&&_0x49adf5[_0x20cb10(0x142)][_0x20cb10(0x13b)](_0x1e7ca2[_0x20cb10(0x132)]))&&_0x4b6e5c[_0x20cb10(0x14b)](_0x1ce08f);}return _0x4b6e5c;}export function getRangesOfBlockGroups(_0x159982,_0x42b2cb){const _0xaa9e27=_0x5996;let _0x4f0d86,_0x945cd2=0x0;const _0x2dde2f=[],_0x2a7111=_0x42b2cb[_0xaa9e27(0x133)];for(;_0x945cd2<_0x159982[_0xaa9e27(0x158)];){const _0x53d4a6=_0x159982[_0x945cd2],_0x4fbd1c=_0x159982[_0x945cd2+0x1];_0x4f0d86||(_0x4f0d86=_0x42b2cb[_0xaa9e27(0x159)](_0x53d4a6)),co(_0x42b2cb,_0x53d4a6,_0x4fbd1c)||(_0x2dde2f[_0xaa9e27(0x155)](_0x42b2cb[_0xaa9e27(0x134)](_0x4f0d86,_0x2a7111[_0xaa9e27(0x14a)](_0x53d4a6)?_0x42b2cb[_0xaa9e27(0x13a)](_0x53d4a6):_0x42b2cb[_0xaa9e27(0x156)](_0x53d4a6,_0xaa9e27(0x142)))),_0x4f0d86=null),_0x945cd2++;}return _0x2dde2f;}function co(_0x2be99e,_0x1e2ea6,_0x517fbb){const _0x56dde9=_0x5996;if(!_0x517fbb)return!0x1;const _0x486ce3=_0x2be99e[_0x56dde9(0x13a)](_0x1e2ea6),_0x397822=_0x2be99e[_0x56dde9(0x159)](_0x517fbb);return _0x486ce3[_0x56dde9(0x13b)](_0x397822);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x555f(){const _0x5d4229=['createPositionAt','5131415eQomhm','length','createPositionBefore','1632422GnkyqL','start','schema','createRange','\x20[color\x20','type','15192448lRtmLF','isArray','execute','createPositionAfter','isTouching','getRanges','932171FGIyLQ','map','deletion','next','isCollapsed','end','68YjTSrc','6827891gQVUbd','isIntersecting','isInContent','559452WvgLlU','join','from','isObject','add','replace','214809YyiSma','value','splice','color','isMultiRange','content','sort','change','push'];_0x555f=function(){return _0x5d4229;};return _0x555f();}export function executeCommandForSuggestions(_0x2e6832,_0x26d4ab,_0x5a38aa){const _0x1a00e6=_0x5996;for(;_0x5a38aa[_0x1a00e6(0x158)];){const _0x2e59da=_0x5a38aa[_0x1a00e6(0x14f)](0x0,0x64);_0x2e6832[_0x1a00e6(0x154)](()=>{const _0x12df77=_0x1a00e6;for(const _0x1a2c9b of _0x2e59da)_0x1a2c9b[_0x12df77(0x146)]&&_0x26d4ab[_0x12df77(0x139)](_0x1a2c9b['id']);});}}
|