@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240522.0 → 0.0.0-nightly-20240524.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- 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 _0x47b770=_0x130e;(function(_0x4b87a0,_0x5b8ecc){const _0x2eb126=_0x130e,_0xa8ee53=_0x4b87a0();while(!![]){try{const _0x2dc3b0=-parseInt(_0x2eb126(0x1eb))/0x1*(parseInt(_0x2eb126(0x1df))/0x2)+parseInt(_0x2eb126(0x215))/0x3+parseInt(_0x2eb126(0x1ee))/0x4+parseInt(_0x2eb126(0x22a))/0x5+-parseInt(_0x2eb126(0x1d2))/0x6+parseInt(_0x2eb126(0x21e))/0x7+parseInt(_0x2eb126(0x23d))/0x8*(-parseInt(_0x2eb126(0x24a))/0x9);if(_0x2dc3b0===_0x5b8ecc)break;else _0xa8ee53['push'](_0xa8ee53['shift']());}catch(_0x4fc680){_0xa8ee53['push'](_0xa8ee53['shift']());}}}(_0x30b5,0x188b3));import{Plugin as _0x16065c}from'ckeditor5/src/core.js';import{Collection as _0x253820}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x35fde2,createDropdown as _0x50f787,ListSeparatorView as _0xf6a464,MenuBarMenuView as _0x2ec3c5,MenuBarMenuListView as _0x57d797,MenuBarMenuListItemView as _0x22578f,MenuBarMenuListItemButtonView as _0x20fd43,SplitButtonView as _0x3bed26,ViewModel as _0x5ea708}from'ckeditor5/src/ui.js';function _0x30b5(){const _0xb58107=['add','createAnnotationView','comments.editorConfig','Annotations','addSourceCollector','keys','stopListening','66yKMgOp','CommentsUI','trackChanges.disableComments','acceptSelectedSuggestions','createAnnotation','has','_handleSuggestionControllerDelayed','previous','getDescriptions','acceptAllSuggestions','view','execute','2351jQElEM','isEnabled','TrackChangesUI','731728VNSwdB','values','Discard\x20all\x20suggestions','_disableComments','change:activeAnnotations','type','remove','suggestionUnloaded','trackChanges','_updateController','pluginName','isDirty','createCommentThreadController','componentFactory','_viewToController','init','editing','_addUIComponentsToFactory','_initializeController','delete','discardButton','isMultiRange','trackChanges.SuggestionThreadView','Discard\x20all\x20selected\x20suggestions','arrowView','change:previous','menuitemcheckbox','delegate','comments.maxThreadTotalWeight','comments.maxCommentCharsWhenCollapsed','requires','separator','CommentsRepository','children','comments.maxCommentsWhenCollapsed','some','getRanges','_createMenuBarMenu','focus','439419YhpPnU','source','SuggestionThreadView','actionView','locale','menuitem','discardAllSuggestions','_createToolbarButton','filter','895930fSDKfL','bind','panelView','button','_bindAnnotationToEditors','menuBar:trackChanges','getByInnerView','descriptionParts','activeMarkers','Track\x20changes','suggestionLoaded','EditorAnnotations','248505nRAxCr','suggestion-','_unbindEditors','lowest','unbind','listenTo','getJoined','_destroyController','buttonView','value','Accept\x20all\x20selected\x20suggestions','_suggestionToController','get','commands','from','menu','addComment','set','suggestionChanged','944GtGLgJ','head','_refreshActiveMarkers','_annotationViews','editor','commentThread','comments','descriptionFactory','mainView','config','discardSelectedSuggestions','toMany','model','16533MvSEoC','isOn','acceptButton','items','commandName','push','TrackChangesEditing','destroy','activeAnnotations','registerAnnotation','innerView','getAllAdjacentSuggestions','Accept\x20all\x20suggestions','clear','switchbutton','reduce','size','getMarkers','_handleControllerBuffer','define','length','isInContent','CommentView','getFirstRange','673296PJEasj','refreshSelectedViews','plugins','getMarkerNames','hasSuggestion','getSuggestion'];_0x30b5=function(){return _0xb58107;};return _0x30b5();}import{Users as _0x399b11,getDateTimeFormatter as _0x811602,getAllMarkersDomElementsSorted as _0x4e4e20}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x167d2e from'./trackchangesediting.js';import _0x5ab19f from'./ui/suggestioncontroller.js';import _0x12e40d from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x4b0d43}from'./utils/common-translations.js';import _0x119ea7 from'../theme/icons/track-changes.svg';function _0x130e(_0x103c6c,_0x4c68d2){const _0x30b581=_0x30b5();return _0x130e=function(_0x130eb4,_0x4889d4){_0x130eb4=_0x130eb4-0x1c8;let _0x75758b=_0x30b581[_0x130eb4];return _0x75758b;},_0x130e(_0x103c6c,_0x4c68d2);}export default class d extends _0x16065c{static get[_0x47b770(0x20c)](){const _0xc3b47b=_0x47b770;return[_0x167d2e,_0x399b11,_0xc3b47b(0x20e),_0xc3b47b(0x1db),_0xc3b47b(0x229)];}static get[_0x47b770(0x1f8)](){const _0x2332b7=_0x47b770;return _0x2332b7(0x1ed);}constructor(_0x50e00b){const _0x1e5bfb=_0x47b770;super(_0x50e00b),this[_0x1e5bfb(0x235)]=new Map(),this[_0x1e5bfb(0x1fc)]=new Map(),this[_0x1e5bfb(0x240)]=new Map(),this[_0x1e5bfb(0x1cc)]=new Map();const _0x4b2d83=this[_0x1e5bfb(0x241)][_0x1e5bfb(0x246)];_0x4b2d83[_0x1e5bfb(0x1cd)](_0x1e5bfb(0x204),_0x12e40d),_0x4b2d83[_0x1e5bfb(0x1cd)](_0x1e5bfb(0x1e1),!0x1),this[_0x1e5bfb(0x1f1)]=_0x4b2d83[_0x1e5bfb(0x236)](_0x1e5bfb(0x1e1));}[_0x47b770(0x1e5)](_0x1e9da6,_0x53c3cc){const _0x50f8fc=_0x47b770;0x0===this[_0x50f8fc(0x1cc)][_0x50f8fc(0x1ca)]&&setTimeout(()=>{const _0x4ea0ee=_0x50f8fc;for(const [_0x23cfa6,_0xb1b27b]of this[_0x4ea0ee(0x1cc)]){const _0x5cc56c=this[_0x4ea0ee(0x235)][_0x4ea0ee(0x1e4)](_0x23cfa6);_0x5cc56c||_0xb1b27b?_0x5cc56c&&_0xb1b27b&&this[_0x4ea0ee(0x231)](_0x23cfa6):this[_0x4ea0ee(0x200)](_0x23cfa6);}this[_0x4ea0ee(0x1cc)][_0x4ea0ee(0x257)](),this[_0x4ea0ee(0x241)][_0x4ea0ee(0x1d4)][_0x4ea0ee(0x236)](_0x4ea0ee(0x229))[_0x4ea0ee(0x1d3)](),this[_0x4ea0ee(0x23f)]();},0xa),this[_0x50f8fc(0x1cc)][_0x50f8fc(0x23b)](_0x1e9da6,_0x53c3cc);}[_0x47b770(0x1fd)](){const _0x576730=_0x47b770,_0x4c8788=this[_0x576730(0x241)],_0x5efdcb=_0x4c8788[_0x576730(0x1d4)][_0x576730(0x236)](_0x576730(0x250)),_0x1d7492=_0x4c8788[_0x576730(0x1d4)][_0x576730(0x236)](_0x576730(0x1db)),_0x5d134d=_0x4c8788[_0x576730(0x1d4)][_0x576730(0x236)](_0x576730(0x229)),_0x322a36=_0x4c8788[_0x576730(0x1d4)][_0x576730(0x236)](_0x576730(0x20e));this[_0x576730(0x1ff)](),_0x5d134d[_0x576730(0x1dc)](()=>{const _0x2e74ab=_0x576730,_0x8bdcfb=[];for(const [_0x613f19,_0x38055e]of Array[_0x2e74ab(0x238)](this[_0x2e74ab(0x235)])){const _0xfb4707=_0x613f19[_0x2e74ab(0x255)](),_0x2092ee=[];for(const _0x5a81d9 of _0xfb4707){if(!_0x5a81d9[_0x2e74ab(0x1cf)])continue;if(_0x5a81d9[_0x2e74ab(0x203)]){_0x2092ee[_0x2e74ab(0x24f)](..._0x5a81d9[_0x2e74ab(0x212)]());continue;}const _0x1ad9f9=_0x5a81d9[_0x2e74ab(0x1d1)]();if(_0x2092ee[_0x2e74ab(0x1ce)]>0x0){const _0x4e9c5d=_0x2092ee[0x0][_0x2e74ab(0x230)](_0x1ad9f9);if(_0x4e9c5d){_0x2092ee[0x0]=_0x4e9c5d;continue;}}_0x2092ee[_0x2e74ab(0x24f)](_0x1ad9f9);}_0x8bdcfb[_0x2e74ab(0x24f)]([_0x38055e[_0x2e74ab(0x1e9)],_0x2092ee]);}return _0x8bdcfb;}),this[_0x576730(0x22f)](_0x5efdcb,_0x576730(0x228),(_0x2ff82d,_0x4d9250)=>{const _0x17d239=_0x576730;this[_0x17d239(0x22f)](_0x4d9250,_0x17d239(0x207),(_0x498054,_0x593906,_0x130a3a,_0x5b9e4e)=>{const _0x5aadf1=_0x17d239;_0x4d9250[_0x5aadf1(0x1cf)]&&(null==_0x130a3a?(this[_0x5aadf1(0x1f7)](_0x5b9e4e[_0x5aadf1(0x23e)]),this[_0x5aadf1(0x1e5)](_0x4d9250,!0x1)):(this[_0x5aadf1(0x1f7)](_0x130a3a[_0x5aadf1(0x23e)]),null==_0x5b9e4e&&this[_0x5aadf1(0x1e5)](_0x4d9250,!0x0)));}),null!==_0x4d9250[_0x17d239(0x1e6)]?this[_0x17d239(0x1f7)](_0x4d9250[_0x17d239(0x23e)]):this[_0x17d239(0x1e5)](_0x4d9250,!0x1);}),this[_0x576730(0x22f)](_0x5efdcb,_0x576730(0x1f5),(_0x44efbd,_0x4aabc4,_0x1de4b9)=>{const _0xcca76a=_0x576730;this[_0xcca76a(0x1de)](_0x4aabc4,_0xcca76a(0x207)),this[_0xcca76a(0x1cc)][_0xcca76a(0x201)](_0x4aabc4),this[_0xcca76a(0x235)][_0xcca76a(0x1e4)](_0x4aabc4)&&this[_0xcca76a(0x231)](_0x4aabc4),_0x1de4b9&&this[_0xcca76a(0x1f7)](_0x1de4b9[_0xcca76a(0x23e)]);}),this[_0x576730(0x22f)](_0x5efdcb,_0x576730(0x23c),(_0x244e20,_0x466a07)=>{const _0x198b8c=_0x576730;this[_0x198b8c(0x1f7)](_0x466a07);}),this[_0x576730(0x22f)](_0x1d7492,_0x576730(0x1f2),()=>{const _0x89cebd=_0x576730;this[_0x89cebd(0x23f)]();}),this[_0x576730(0x22f)](_0x322a36,_0x576730(0x23a),(_0x157e2c,{threadId:_0x2ac799,isFromAdapter:_0x477a87})=>{const _0x28ce22=_0x576730;if(_0x477a87||!_0x5efdcb[_0x28ce22(0x1d6)](_0x2ac799))return;const _0x3dfca3=_0x5efdcb[_0x28ce22(0x1d7)](_0x2ac799);this[_0x28ce22(0x235)][_0x28ce22(0x236)](_0x3dfca3)[_0x28ce22(0x1e9)][_0x28ce22(0x214)]();},{'priority':_0x576730(0x22d)});}[_0x47b770(0x23f)](){const _0x2715fc=_0x47b770,_0xee9424=this[_0x2715fc(0x241)][_0x2715fc(0x1d4)][_0x2715fc(0x236)](_0x2715fc(0x1db)),_0x8399e4=this[_0x2715fc(0x241)][_0x2715fc(0x1d4)][_0x2715fc(0x236)](_0x2715fc(0x250)),_0x40de6f=Array[_0x2715fc(0x238)](_0xee9424[_0x2715fc(0x252)],_0x3e3b80=>_0x3e3b80[_0x2715fc(0x254)])[_0x2715fc(0x21d)](_0x4bee2e=>this[_0x2715fc(0x1fc)][_0x2715fc(0x1e4)](_0x4bee2e)),_0x2b8c9d=[];for(const _0x42df4a of _0x40de6f){const _0x4b955e=this[_0x2715fc(0x1fc)][_0x2715fc(0x236)](_0x42df4a)[_0x2715fc(0x249)][_0x2715fc(0x255)]();_0x2b8c9d[_0x2715fc(0x24f)](..._0x4b955e[_0x2715fc(0x1c9)]((_0x44b4c7,_0x1cd5ee)=>[..._0x44b4c7,..._0x1cd5ee[_0x2715fc(0x1d5)]()],[]));}_0x8399e4[_0x2715fc(0x226)]=_0x2b8c9d;}[_0x47b770(0x1ff)](){const _0x33e99=_0x47b770,_0x140fd5=this[_0x33e99(0x241)],_0xfe002e=_0x140fd5[_0x33e99(0x219)],_0x4d7191=_0x4b0d43(_0xfe002e,_0x33e99(0x227)),_0x4f8092=new _0x253820([{'type':_0x33e99(0x1c8),'model':new _0x5ea708({'withText':!0x0,'label':_0x4d7191,'commandName':_0x33e99(0x1f6),'role':_0x33e99(0x208)})},{'type':_0x33e99(0x20d)},{'type':_0x33e99(0x221),'model':new _0x5ea708({'withText':!0x0,'label':_0x4b0d43(_0xfe002e,_0x33e99(0x256)),'commandName':_0x33e99(0x1e8),'role':_0x33e99(0x21a)})},{'type':_0x33e99(0x221),'model':new _0x5ea708({'withText':!0x0,'label':_0x4b0d43(_0xfe002e,_0x33e99(0x234)),'commandName':_0x33e99(0x1e2),'role':_0x33e99(0x21a)})},{'type':_0x33e99(0x221),'model':new _0x5ea708({'withText':!0x0,'label':_0x4b0d43(_0xfe002e,_0x33e99(0x1f0)),'commandName':_0x33e99(0x21b),'role':_0x33e99(0x21a)})},{'type':_0x33e99(0x221),'model':new _0x5ea708({'withText':!0x0,'label':_0x4b0d43(_0xfe002e,_0x33e99(0x205)),'commandName':_0x33e99(0x247),'role':_0x33e99(0x21a)})}]);for(const _0x258a5c of _0x4f8092)if(ae(_0x258a5c)){const _0x3f58c9=_0x140fd5[_0x33e99(0x237)][_0x33e99(0x236)](_0x258a5c[_0x33e99(0x249)][_0x33e99(0x24e)]);_0x258a5c[_0x33e99(0x249)][_0x33e99(0x21f)](_0x33e99(0x24b),_0x33e99(0x1ec))['to'](_0x3f58c9,_0x33e99(0x233),_0x33e99(0x1ec));}_0x140fd5['ui'][_0x33e99(0x1fb)][_0x33e99(0x1d8)](_0x33e99(0x1f6),_0x1b21a2=>this[_0x33e99(0x21c)](_0x1b21a2,_0x4f8092,_0x4d7191)),_0x140fd5['ui'][_0x33e99(0x1fb)][_0x33e99(0x1d8)](_0x33e99(0x223),_0xe62aca=>this[_0x33e99(0x213)](_0xe62aca,_0x4f8092,_0x4d7191));}[_0x47b770(0x21c)](_0x328125,_0x22af1d,_0x487bf3){const _0x330ea6=_0x47b770,_0x508f8d=_0x50f787(_0x328125,_0x3bed26),_0x421792=this[_0x330ea6(0x241)][_0x330ea6(0x237)][_0x330ea6(0x236)](_0x330ea6(0x1f6));_0x508f8d[_0x330ea6(0x232)][_0x330ea6(0x23b)]({'tooltip':_0x487bf3,'label':_0x487bf3,'icon':_0x119ea7}),_0x508f8d[_0x330ea6(0x232)][_0x330ea6(0x21f)](_0x330ea6(0x24b))['to'](_0x421792,_0x330ea6(0x233)),_0x508f8d[_0x330ea6(0x232)]['on'](_0x330ea6(0x1ea),()=>{const _0x2bede5=_0x330ea6;_0x421792[_0x2bede5(0x1ea)](),this[_0x2bede5(0x241)][_0x2bede5(0x1fe)][_0x2bede5(0x1e9)][_0x2bede5(0x214)]();}),_0x35fde2(_0x508f8d,_0x22af1d,{'role':_0x330ea6(0x239)});const _0x41adb6=[];for(const _0x1912ae of _0x22af1d)ae(_0x1912ae)&&_0x41adb6[_0x330ea6(0x24f)](this[_0x330ea6(0x241)][_0x330ea6(0x237)][_0x330ea6(0x236)](_0x1912ae[_0x330ea6(0x249)][_0x330ea6(0x24e)]));const _0x4a191f=_0x508f8d[_0x330ea6(0x232)];return _0x4a191f[_0x330ea6(0x218)][_0x330ea6(0x22e)](_0x330ea6(0x1ec)),_0x4a191f[_0x330ea6(0x206)][_0x330ea6(0x22e)](_0x330ea6(0x1ec)),_0x4a191f[_0x330ea6(0x218)][_0x330ea6(0x21f)](_0x330ea6(0x1ec))['to'](_0x421792,_0x330ea6(0x1ec)),_0x4a191f[_0x330ea6(0x206)][_0x330ea6(0x21f)](_0x330ea6(0x1ec))[_0x330ea6(0x248)](_0x41adb6,_0x330ea6(0x1ec),(..._0x3a0620)=>_0x3a0620[_0x330ea6(0x211)](_0x561c91=>_0x561c91)),_0x508f8d['on'](_0x330ea6(0x1ea),_0x18de48=>{const _0x5a1d17=_0x330ea6;this[_0x5a1d17(0x241)][_0x5a1d17(0x1ea)](_0x18de48[_0x5a1d17(0x216)][_0x5a1d17(0x24e)]),this[_0x5a1d17(0x241)][_0x5a1d17(0x1fe)][_0x5a1d17(0x1e9)][_0x5a1d17(0x214)]();}),_0x508f8d;}[_0x47b770(0x213)](_0x101d01,_0x3b70c5,_0x20dede){const _0x24cdf8=_0x47b770,_0x41a085=new _0x2ec3c5(_0x101d01),_0x51b621=this[_0x24cdf8(0x241)][_0x24cdf8(0x237)][_0x24cdf8(0x236)](_0x24cdf8(0x1f6));_0x41a085[_0x24cdf8(0x232)][_0x24cdf8(0x23b)]({'label':_0x20dede,'icon':_0x119ea7});const _0x168549=new _0x57d797(_0x101d01);for(const _0x1fa186 of _0x3b70c5){if(_0x24cdf8(0x20d)==_0x1fa186[_0x24cdf8(0x1f3)]){_0x168549[_0x24cdf8(0x24d)][_0x24cdf8(0x1d8)](new _0xf6a464(_0x101d01));continue;}const _0xa777ba=new _0x22578f(_0x101d01,_0x41a085),_0x172e4c=new _0x20fd43(_0x101d01),_0x464237=_0x1fa186[_0x24cdf8(0x249)];_0x172e4c[_0x24cdf8(0x21f)](...Object[_0x24cdf8(0x1dd)](_0x464237))['to'](_0x464237),_0x172e4c[_0x24cdf8(0x209)](_0x24cdf8(0x1ea))['to'](_0x41a085),_0x172e4c['on'](_0x24cdf8(0x1ea),()=>{const _0x149006=_0x24cdf8;this[_0x149006(0x241)][_0x149006(0x1ea)](_0x464237[_0x149006(0x24e)]),this[_0x149006(0x241)][_0x149006(0x1fe)][_0x149006(0x1e9)][_0x149006(0x214)]();}),_0xa777ba[_0x24cdf8(0x20f)][_0x24cdf8(0x1d8)](_0x172e4c),_0x168549[_0x24cdf8(0x24d)][_0x24cdf8(0x1d8)](_0xa777ba);}return _0x41a085[_0x24cdf8(0x21f)](_0x24cdf8(0x1ec))['to'](_0x51b621,_0x24cdf8(0x1ec)),_0x41a085[_0x24cdf8(0x220)][_0x24cdf8(0x20f)][_0x24cdf8(0x1d8)](_0x168549),_0x41a085;}[_0x47b770(0x200)](_0x24ddd0){const _0x2cbded=_0x47b770,_0x317954=this[_0x2cbded(0x241)],_0x34e92c=_0x317954[_0x2cbded(0x246)],_0x3708d5=_0x317954[_0x2cbded(0x1d4)][_0x2cbded(0x236)](_0x2cbded(0x1db)),_0x1e6199=_0x317954[_0x2cbded(0x1d4)][_0x2cbded(0x236)](_0x2cbded(0x20e)),_0x2881bf=_0x317954[_0x2cbded(0x1d4)][_0x2cbded(0x236)](_0x2cbded(0x229)),_0xa49124=_0x317954[_0x2cbded(0x1d4)][_0x2cbded(0x236)](_0x399b11)['me'],_0x272f5a=_0x34e92c[_0x2cbded(0x236)](_0x2cbded(0x1f6))[_0x2cbded(0x217)],{CommentsListView:_0x104a09,CommentThreadInputView:_0x3c673f}=_0x317954[_0x2cbded(0x1d4)][_0x2cbded(0x236)](_0x2cbded(0x1e0));let _0x41c6ad,_0x4d44cb;this[_0x2cbded(0x240)][_0x2cbded(0x1e4)](_0x24ddd0['id'])?(_0x4d44cb=this[_0x2cbded(0x240)][_0x2cbded(0x236)](_0x24ddd0['id']),_0x41c6ad=_0x4d44cb[_0x2cbded(0x245)]):(_0x41c6ad=new _0x272f5a(_0x317954[_0x2cbded(0x219)],_0x24ddd0,_0xa49124,{'disableComments':this[_0x2cbded(0x1f1)],'editorConfig':_0x34e92c[_0x2cbded(0x236)](_0x2cbded(0x1da)),'maxCommentsWhenCollapsed':_0x34e92c[_0x2cbded(0x236)](_0x2cbded(0x210)),'maxThreadTotalWeight':_0x34e92c[_0x2cbded(0x236)](_0x2cbded(0x20a)),'maxCommentCharsWhenCollapsed':_0x34e92c[_0x2cbded(0x236)](_0x2cbded(0x20b)),'formatDateTime':_0x811602(_0x34e92c[_0x2cbded(0x236)](_0x2cbded(0x219))),'CommentView':_0x34e92c[_0x2cbded(0x236)](_0x2cbded(0x243))[_0x2cbded(0x1d0)],'CommentsListView':_0x104a09,'CommentThreadInputView':_0x3c673f}),_0x41c6ad[_0x2cbded(0x24c)]['on'](_0x2cbded(0x1ea),()=>{const _0xc52b1c=_0x2cbded;_0x317954[_0xc52b1c(0x1fe)][_0xc52b1c(0x1e9)][_0xc52b1c(0x214)]();}),_0x41c6ad[_0x2cbded(0x202)]['on'](_0x2cbded(0x1ea),()=>{const _0x414910=_0x2cbded;_0x317954[_0x414910(0x1fe)][_0x414910(0x1e9)][_0x414910(0x214)]();}),_0x4d44cb=_0x3708d5[_0x2cbded(0x1d9)](this[_0x2cbded(0x241)][_0x2cbded(0x219)],_0x41c6ad),_0x4d44cb[_0x2cbded(0x21f)](_0x2cbded(0x1f9))['to'](_0x41c6ad,_0x2cbded(0x1f9)),_0x4d44cb[_0x2cbded(0x21f)](_0x2cbded(0x1ce))['to'](_0x41c6ad),_0x4d44cb[_0x2cbded(0x21f)](_0x2cbded(0x1f3))['to'](_0x41c6ad,_0x2cbded(0x1f3),_0x4f1e40=>_0x2cbded(0x22b)+_0x4f1e40),this[_0x2cbded(0x240)][_0x2cbded(0x23b)](_0x24ddd0['id'],_0x4d44cb));const _0x185b68=_0x1e6199[_0x2cbded(0x1fa)](_0x24ddd0[_0x2cbded(0x242)],_0x41c6ad),_0x20870e=new _0x5ab19f(_0x317954,_0x24ddd0,_0x41c6ad,_0x185b68),_0x4cabc9=_0x24ddd0[_0x2cbded(0x255)]()[_0x2cbded(0x21d)](_0x4c1f3b=>_0x4c1f3b[_0x2cbded(0x1cf)]);_0x41c6ad[_0x2cbded(0x225)]=_0x317954[_0x2cbded(0x1d4)][_0x2cbded(0x236)](_0x2cbded(0x250))[_0x2cbded(0x244)][_0x2cbded(0x1e7)](_0x4cabc9),this[_0x2cbded(0x235)][_0x2cbded(0x23b)](_0x24ddd0,_0x20870e),this[_0x2cbded(0x1fc)][_0x2cbded(0x23b)](_0x41c6ad,_0x20870e);const _0x2fc5a3=_0x3708d5[_0x2cbded(0x1e3)]({'view':_0x4d44cb,'target':()=>{const _0x3843f5=_0x2cbded,_0x56b2ec=[],_0x4874b5=_0x24ddd0[_0x3843f5(0x255)]()[_0x3843f5(0x21d)](_0xa296cb=>_0xa296cb[_0x3843f5(0x1cf)]);for(const _0x2ab75b of _0x4874b5)_0x56b2ec[_0x3843f5(0x24f)](..._0x2ab75b[_0x3843f5(0x1cb)]());return _0x4e4e20(_0x317954[_0x3843f5(0x1fe)],_0x56b2ec);},'type':()=>_0x2cbded(0x22b)+_0x20870e[_0x2cbded(0x1e9)][_0x2cbded(0x1f3)]});_0x1e6199[_0x2cbded(0x222)](_0x41c6ad,_0x2fc5a3),_0x3708d5[_0x2cbded(0x1d8)](_0x2fc5a3),_0x2881bf[_0x2cbded(0x253)](_0x2fc5a3);}[_0x47b770(0x231)](_0x5edce0){const _0x3ba627=_0x47b770,_0x12037e=this[_0x3ba627(0x241)][_0x3ba627(0x1d4)][_0x3ba627(0x236)](_0x3ba627(0x20e)),_0x51cdce=this[_0x3ba627(0x241)][_0x3ba627(0x1d4)][_0x3ba627(0x236)](_0x3ba627(0x1db)),_0x29aee1=this[_0x3ba627(0x235)][_0x3ba627(0x236)](_0x5edce0),_0x5a10f0=_0x29aee1[_0x3ba627(0x1e9)],_0x3eebeb=_0x51cdce[_0x3ba627(0x224)](_0x5a10f0);_0x12037e[_0x3ba627(0x22c)](_0x5a10f0),_0x3eebeb&&_0x51cdce[_0x3ba627(0x1f4)](_0x3eebeb),this[_0x3ba627(0x235)][_0x3ba627(0x201)](_0x5edce0),this[_0x3ba627(0x1fc)][_0x3ba627(0x201)](_0x5a10f0),_0x29aee1[_0x3ba627(0x251)]();}[_0x47b770(0x1f7)](_0x52ab9f){const _0x9f7f0=_0x47b770;if(!_0x52ab9f[_0x9f7f0(0x1cf)]||!this[_0x9f7f0(0x235)][_0x9f7f0(0x1e4)](_0x52ab9f))return;const _0x2c7970=this[_0x9f7f0(0x241)][_0x9f7f0(0x1d4)][_0x9f7f0(0x236)](_0x9f7f0(0x250)),_0x469a51=this[_0x9f7f0(0x235)][_0x9f7f0(0x236)](_0x52ab9f),_0x556d8a=_0x52ab9f[_0x9f7f0(0x255)]();_0x469a51[_0x9f7f0(0x1e9)][_0x9f7f0(0x225)]=_0x2c7970[_0x9f7f0(0x244)][_0x9f7f0(0x1e7)](_0x556d8a);}[_0x47b770(0x251)](){const _0x1835b0=_0x47b770;for(const _0x10c009 of this[_0x1835b0(0x235)][_0x1835b0(0x1dd)]())this[_0x1835b0(0x231)](_0x10c009);for(const _0x2b0605 of this[_0x1835b0(0x240)][_0x1835b0(0x1ef)]())_0x2b0605[_0x1835b0(0x245)][_0x1835b0(0x251)]();super[_0x1835b0(0x251)]();}}function ae(_0x48af48){const _0x40cebb=_0x47b770;return _0x40cebb(0x249)in _0x48af48;}
|
|
23
|
+
const _0x5a72af=_0x13f6;(function(_0x160c4a,_0x1e319c){const _0xcdc98e=_0x13f6,_0x31962a=_0x160c4a();while(!![]){try{const _0x31d278=parseInt(_0xcdc98e(0x1bb))/0x1*(-parseInt(_0xcdc98e(0x216))/0x2)+parseInt(_0xcdc98e(0x224))/0x3+-parseInt(_0xcdc98e(0x1e9))/0x4+parseInt(_0xcdc98e(0x1f6))/0x5*(-parseInt(_0xcdc98e(0x217))/0x6)+-parseInt(_0xcdc98e(0x1ae))/0x7*(parseInt(_0xcdc98e(0x1b2))/0x8)+-parseInt(_0xcdc98e(0x234))/0x9+parseInt(_0xcdc98e(0x1ac))/0xa*(parseInt(_0xcdc98e(0x1f3))/0xb);if(_0x31d278===_0x1e319c)break;else _0x31962a['push'](_0x31962a['shift']());}catch(_0x1c0389){_0x31962a['push'](_0x31962a['shift']());}}}(_0x4832,0x97a8e));function _0x13f6(_0x387df7,_0x185c0e){const _0x4832bc=_0x4832();return _0x13f6=function(_0x13f687,_0x100546){_0x13f687=_0x13f687-0x1aa;let _0x18025e=_0x4832bc[_0x13f687];return _0x18025e;},_0x13f6(_0x387df7,_0x185c0e);}import{Plugin as _0x2691e5}from'ckeditor5/src/core.js';import{Collection as _0x33ffa9}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x212975,createDropdown as _0x6db2a3,ListSeparatorView as _0x149eba,MenuBarMenuView as _0x59c65f,MenuBarMenuListView as _0x9cbaea,MenuBarMenuListItemView as _0x1c23ed,MenuBarMenuListItemButtonView as _0x19c809,SplitButtonView as _0x4ebdca,ViewModel as _0x2c4ba1}from'ckeditor5/src/ui.js';import{Users as _0x15d2be,getDateTimeFormatter as _0x39b11d,getAllMarkersDomElementsSorted as _0x2ea151}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x430bff from'./trackchangesediting.js';import _0x2f7f68 from'./ui/suggestioncontroller.js';import _0x3b6efc from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x31881f}from'./utils/common-translations.js';import _0x3912ea from'../theme/icons/track-changes.svg';export default class d extends _0x2691e5{static get[_0x5a72af(0x1be)](){const _0x150446=_0x5a72af;return[_0x430bff,_0x15d2be,_0x150446(0x1fe),_0x150446(0x1d7),_0x150446(0x1ab)];}static get[_0x5a72af(0x1d8)](){const _0x230cad=_0x5a72af;return _0x230cad(0x218);}constructor(_0xfc43f0){const _0x3e9fb3=_0x5a72af;super(_0xfc43f0),this[_0x3e9fb3(0x22c)]=new Map(),this[_0x3e9fb3(0x1e7)]=new Map(),this[_0x3e9fb3(0x1dc)]=new Map(),this[_0x3e9fb3(0x232)]=new Map();const _0x53f580=this[_0x3e9fb3(0x20b)][_0x3e9fb3(0x1eb)];_0x53f580[_0x3e9fb3(0x1d4)](_0x3e9fb3(0x1ca),_0x3b6efc),_0x53f580[_0x3e9fb3(0x1d4)](_0x3e9fb3(0x1f5),!0x1),this[_0x3e9fb3(0x228)]=_0x53f580[_0x3e9fb3(0x1b0)](_0x3e9fb3(0x1f5));}[_0x5a72af(0x1b9)](_0x2c22f6,_0x34ef2e){const _0x4c60ce=_0x5a72af;0x0===this[_0x4c60ce(0x232)][_0x4c60ce(0x202)]&&setTimeout(()=>{const _0x40fc0b=_0x4c60ce;for(const [_0x35aa6a,_0x5a5f3e]of this[_0x40fc0b(0x232)]){const _0x3c8475=this[_0x40fc0b(0x22c)][_0x40fc0b(0x1ef)](_0x35aa6a);_0x3c8475||_0x5a5f3e?_0x3c8475&&_0x5a5f3e&&this[_0x40fc0b(0x22e)](_0x35aa6a):this[_0x40fc0b(0x1e2)](_0x35aa6a);}this[_0x40fc0b(0x232)][_0x40fc0b(0x229)](),this[_0x40fc0b(0x20b)][_0x40fc0b(0x1f0)][_0x40fc0b(0x1b0)](_0x40fc0b(0x1ab))[_0x40fc0b(0x1ee)](),this[_0x40fc0b(0x219)]();},0xa),this[_0x4c60ce(0x232)][_0x4c60ce(0x212)](_0x2c22f6,_0x34ef2e);}[_0x5a72af(0x1b8)](){const _0x16dab6=_0x5a72af,_0x3a9373=this[_0x16dab6(0x20b)],_0x26e648=_0x3a9373[_0x16dab6(0x1f0)][_0x16dab6(0x1b0)](_0x16dab6(0x207)),_0x17d0a0=_0x3a9373[_0x16dab6(0x1f0)][_0x16dab6(0x1b0)](_0x16dab6(0x1d7)),_0x3ff4b9=_0x3a9373[_0x16dab6(0x1f0)][_0x16dab6(0x1b0)](_0x16dab6(0x1ab)),_0x18046d=_0x3a9373[_0x16dab6(0x1f0)][_0x16dab6(0x1b0)](_0x16dab6(0x1fe));this[_0x16dab6(0x1da)](),_0x3ff4b9[_0x16dab6(0x1ba)](()=>{const _0x4b0c09=_0x16dab6,_0x5106f6=[];for(const [_0x3d52e0,_0x707be3]of Array[_0x4b0c09(0x20d)](this[_0x4b0c09(0x22c)])){const _0x451c62=_0x3d52e0[_0x4b0c09(0x1c3)](),_0x5a6951=[];for(const _0x51097f of _0x451c62){if(!_0x51097f[_0x4b0c09(0x1b6)])continue;if(_0x51097f[_0x4b0c09(0x22b)]){_0x5a6951[_0x4b0c09(0x1c4)](..._0x51097f[_0x4b0c09(0x231)]());continue;}const _0x4cf023=_0x51097f[_0x4b0c09(0x1b4)]();if(_0x5a6951[_0x4b0c09(0x1d5)]>0x0){const _0x4d82d5=_0x5a6951[0x0][_0x4b0c09(0x1c6)](_0x4cf023);if(_0x4d82d5){_0x5a6951[0x0]=_0x4d82d5;continue;}}_0x5a6951[_0x4b0c09(0x1c4)](_0x4cf023);}_0x5106f6[_0x4b0c09(0x1c4)]([_0x707be3[_0x4b0c09(0x1f9)],_0x5a6951]);}return _0x5106f6;}),this[_0x16dab6(0x1e3)](_0x26e648,_0x16dab6(0x235),(_0x41918e,_0x222013)=>{const _0x389d20=_0x16dab6;this[_0x389d20(0x1e3)](_0x222013,_0x389d20(0x21b),(_0x4ded7c,_0x10a5ae,_0x2d1665,_0x381697)=>{const _0x51b434=_0x389d20;_0x222013[_0x51b434(0x1b6)]&&(null==_0x2d1665?(this[_0x51b434(0x1ce)](_0x381697[_0x51b434(0x208)]),this[_0x51b434(0x1b9)](_0x222013,!0x1)):(this[_0x51b434(0x1ce)](_0x2d1665[_0x51b434(0x208)]),null==_0x381697&&this[_0x51b434(0x1b9)](_0x222013,!0x0)));}),null!==_0x222013[_0x389d20(0x20f)]?this[_0x389d20(0x1ce)](_0x222013[_0x389d20(0x208)]):this[_0x389d20(0x1b9)](_0x222013,!0x1);}),this[_0x16dab6(0x1e3)](_0x26e648,_0x16dab6(0x203),(_0x137691,_0x2f00ab,_0x451f43)=>{const _0x3aaed2=_0x16dab6;this[_0x3aaed2(0x227)](_0x2f00ab,_0x3aaed2(0x21b)),this[_0x3aaed2(0x232)][_0x3aaed2(0x1bf)](_0x2f00ab),this[_0x3aaed2(0x22c)][_0x3aaed2(0x1ef)](_0x2f00ab)&&this[_0x3aaed2(0x22e)](_0x2f00ab),_0x451f43&&this[_0x3aaed2(0x1ce)](_0x451f43[_0x3aaed2(0x208)]);}),this[_0x16dab6(0x1e3)](_0x26e648,_0x16dab6(0x213),(_0x1dfbe4,_0x30a23b)=>{const _0x55923a=_0x16dab6;this[_0x55923a(0x1ce)](_0x30a23b);}),this[_0x16dab6(0x1e3)](_0x17d0a0,_0x16dab6(0x223),()=>{const _0xbda824=_0x16dab6;this[_0xbda824(0x219)]();}),this[_0x16dab6(0x1e3)](_0x18046d,_0x16dab6(0x1d3),(_0x577d08,{threadId:_0x427b59,isFromAdapter:_0x258e5f})=>{const _0x505ef8=_0x16dab6;if(_0x258e5f||!_0x26e648[_0x505ef8(0x215)](_0x427b59))return;const _0x3872b0=_0x26e648[_0x505ef8(0x233)](_0x427b59);this[_0x505ef8(0x22c)][_0x505ef8(0x1b0)](_0x3872b0)[_0x505ef8(0x1f9)][_0x505ef8(0x1c9)]();},{'priority':_0x16dab6(0x209)});}[_0x5a72af(0x219)](){const _0x34e5a2=_0x5a72af,_0x114b7b=this[_0x34e5a2(0x20b)][_0x34e5a2(0x1f0)][_0x34e5a2(0x1b0)](_0x34e5a2(0x1d7)),_0x2dd703=this[_0x34e5a2(0x20b)][_0x34e5a2(0x1f0)][_0x34e5a2(0x1b0)](_0x34e5a2(0x207)),_0xeaea14=Array[_0x34e5a2(0x20d)](_0x114b7b[_0x34e5a2(0x1b7)],_0x556ed8=>_0x556ed8[_0x34e5a2(0x1cc)])[_0x34e5a2(0x222)](_0x2bc40b=>this[_0x34e5a2(0x1e7)][_0x34e5a2(0x1ef)](_0x2bc40b)),_0x572c09=[];for(const _0x274b6f of _0xeaea14){const _0x296d88=this[_0x34e5a2(0x1e7)][_0x34e5a2(0x1b0)](_0x274b6f)[_0x34e5a2(0x1af)][_0x34e5a2(0x1c3)]();_0x572c09[_0x34e5a2(0x1c4)](..._0x296d88[_0x34e5a2(0x1c5)]((_0x430e5d,_0xb38621)=>[..._0x430e5d,..._0xb38621[_0x34e5a2(0x20a)]()],[]));}_0x2dd703[_0x34e5a2(0x1c8)]=_0x572c09;}[_0x5a72af(0x1da)](){const _0x16da39=_0x5a72af,_0x28fc7a=this[_0x16da39(0x20b)],_0x28812f=_0x28fc7a[_0x16da39(0x1fc)],_0x42dd77=_0x31881f(_0x28812f,_0x16da39(0x1cf)),_0x9eb54e=new _0x33ffa9([{'type':_0x16da39(0x1d0),'model':new _0x2c4ba1({'withText':!0x0,'label':_0x42dd77,'commandName':_0x16da39(0x225),'role':_0x16da39(0x21c)})},{'type':_0x16da39(0x1f8)},{'type':_0x16da39(0x1de),'model':new _0x2c4ba1({'withText':!0x0,'label':_0x31881f(_0x28812f,_0x16da39(0x1c7)),'commandName':_0x16da39(0x221),'role':_0x16da39(0x22a)})},{'type':_0x16da39(0x1de),'model':new _0x2c4ba1({'withText':!0x0,'label':_0x31881f(_0x28812f,_0x16da39(0x1df)),'commandName':_0x16da39(0x23a),'role':_0x16da39(0x22a)})},{'type':_0x16da39(0x1de),'model':new _0x2c4ba1({'withText':!0x0,'label':_0x31881f(_0x28812f,_0x16da39(0x1e8)),'commandName':_0x16da39(0x1d1),'role':_0x16da39(0x22a)})},{'type':_0x16da39(0x1de),'model':new _0x2c4ba1({'withText':!0x0,'label':_0x31881f(_0x28812f,_0x16da39(0x1e0)),'commandName':_0x16da39(0x21f),'role':_0x16da39(0x22a)})}]);for(const _0x553460 of _0x9eb54e)if(ae(_0x553460)){const _0x21744f=_0x28fc7a[_0x16da39(0x1d9)][_0x16da39(0x1b0)](_0x553460[_0x16da39(0x1af)][_0x16da39(0x200)]);_0x553460[_0x16da39(0x1af)][_0x16da39(0x1ed)](_0x16da39(0x1d6),_0x16da39(0x238))['to'](_0x21744f,_0x16da39(0x1ea),_0x16da39(0x238));}_0x28fc7a['ui'][_0x16da39(0x1cd)][_0x16da39(0x1f4)](_0x16da39(0x225),_0x4b0222=>this[_0x16da39(0x239)](_0x4b0222,_0x9eb54e,_0x42dd77)),_0x28fc7a['ui'][_0x16da39(0x1cd)][_0x16da39(0x1f4)](_0x16da39(0x20e),_0x444b8e=>this[_0x16da39(0x214)](_0x444b8e,_0x9eb54e,_0x42dd77));}[_0x5a72af(0x239)](_0xe6705d,_0x40c052,_0x1ae5a8){const _0x1e4d23=_0x5a72af,_0x15f18b=_0x6db2a3(_0xe6705d,_0x4ebdca),_0x1430cd=this[_0x1e4d23(0x20b)][_0x1e4d23(0x1d9)][_0x1e4d23(0x1b0)](_0x1e4d23(0x225));_0x15f18b[_0x1e4d23(0x206)][_0x1e4d23(0x212)]({'tooltip':_0x1ae5a8,'label':_0x1ae5a8,'icon':_0x3912ea}),_0x15f18b[_0x1e4d23(0x206)][_0x1e4d23(0x1ed)](_0x1e4d23(0x1d6))['to'](_0x1430cd,_0x1e4d23(0x1ea)),_0x15f18b[_0x1e4d23(0x206)]['on'](_0x1e4d23(0x1f1),()=>{const _0x1d53c7=_0x1e4d23;_0x1430cd[_0x1d53c7(0x1f1)](),this[_0x1d53c7(0x20b)][_0x1d53c7(0x211)][_0x1d53c7(0x1f9)][_0x1d53c7(0x1c9)]();}),_0x212975(_0x15f18b,_0x40c052,{'role':_0x1e4d23(0x23b)});const _0x585407=[];for(const _0x42838e of _0x40c052)ae(_0x42838e)&&_0x585407[_0x1e4d23(0x1c4)](this[_0x1e4d23(0x20b)][_0x1e4d23(0x1d9)][_0x1e4d23(0x1b0)](_0x42838e[_0x1e4d23(0x1af)][_0x1e4d23(0x200)]));const _0x4dc9b9=_0x15f18b[_0x1e4d23(0x206)];return _0x4dc9b9[_0x1e4d23(0x1fd)][_0x1e4d23(0x1e4)](_0x1e4d23(0x238)),_0x4dc9b9[_0x1e4d23(0x226)][_0x1e4d23(0x1e4)](_0x1e4d23(0x238)),_0x4dc9b9[_0x1e4d23(0x1fd)][_0x1e4d23(0x1ed)](_0x1e4d23(0x238))['to'](_0x1430cd,_0x1e4d23(0x238)),_0x4dc9b9[_0x1e4d23(0x226)][_0x1e4d23(0x1ed)](_0x1e4d23(0x238))[_0x1e4d23(0x1c2)](_0x585407,_0x1e4d23(0x238),(..._0x47def8)=>_0x47def8[_0x1e4d23(0x1e1)](_0x2f64d7=>_0x2f64d7)),_0x15f18b['on'](_0x1e4d23(0x1f1),_0x150a77=>{const _0x55406a=_0x1e4d23;this[_0x55406a(0x20b)][_0x55406a(0x1f1)](_0x150a77[_0x55406a(0x22f)][_0x55406a(0x200)]),this[_0x55406a(0x20b)][_0x55406a(0x211)][_0x55406a(0x1f9)][_0x55406a(0x1c9)]();}),_0x15f18b;}[_0x5a72af(0x214)](_0x155a80,_0x598c22,_0x132c15){const _0x5c43a9=_0x5a72af,_0x55b3fb=new _0x59c65f(_0x155a80),_0x81a1b3=this[_0x5c43a9(0x20b)][_0x5c43a9(0x1d9)][_0x5c43a9(0x1b0)](_0x5c43a9(0x225));_0x55b3fb[_0x5c43a9(0x206)][_0x5c43a9(0x212)]({'label':_0x132c15,'icon':_0x3912ea});const _0x1c43a4=new _0x9cbaea(_0x155a80);for(const _0x358eaf of _0x598c22){if(_0x5c43a9(0x1f8)==_0x358eaf[_0x5c43a9(0x21d)]){_0x1c43a4[_0x5c43a9(0x22d)][_0x5c43a9(0x1f4)](new _0x149eba(_0x155a80));continue;}const _0x2c3c2e=new _0x1c23ed(_0x155a80,_0x55b3fb),_0x3191ee=new _0x19c809(_0x155a80),_0x19d00e=_0x358eaf[_0x5c43a9(0x1af)];_0x3191ee[_0x5c43a9(0x1ed)](...Object[_0x5c43a9(0x1b3)](_0x19d00e))['to'](_0x19d00e),_0x3191ee[_0x5c43a9(0x1b1)](_0x5c43a9(0x1f1))['to'](_0x55b3fb),_0x3191ee['on'](_0x5c43a9(0x1f1),()=>{const _0x7d7461=_0x5c43a9;this[_0x7d7461(0x20b)][_0x7d7461(0x1f1)](_0x19d00e[_0x7d7461(0x200)]),this[_0x7d7461(0x20b)][_0x7d7461(0x211)][_0x7d7461(0x1f9)][_0x7d7461(0x1c9)]();}),_0x2c3c2e[_0x5c43a9(0x1ec)][_0x5c43a9(0x1f4)](_0x3191ee),_0x1c43a4[_0x5c43a9(0x22d)][_0x5c43a9(0x1f4)](_0x2c3c2e);}return _0x55b3fb[_0x5c43a9(0x1ed)](_0x5c43a9(0x238))['to'](_0x81a1b3,_0x5c43a9(0x238)),_0x55b3fb[_0x5c43a9(0x236)][_0x5c43a9(0x1ec)][_0x5c43a9(0x1f4)](_0x1c43a4),_0x55b3fb;}[_0x5a72af(0x1e2)](_0xaea944){const _0x80907=_0x5a72af,_0x57a8e8=this[_0x80907(0x20b)],_0x4ab399=_0x57a8e8[_0x80907(0x1eb)],_0x2724f8=_0x57a8e8[_0x80907(0x1f0)][_0x80907(0x1b0)](_0x80907(0x1d7)),_0x5b83ce=_0x57a8e8[_0x80907(0x1f0)][_0x80907(0x1b0)](_0x80907(0x1fe)),_0x1622c4=_0x57a8e8[_0x80907(0x1f0)][_0x80907(0x1b0)](_0x80907(0x1ab)),_0x2de544=_0x57a8e8[_0x80907(0x1f0)][_0x80907(0x1b0)](_0x15d2be)['me'],_0x41b861=_0x4ab399[_0x80907(0x1b0)](_0x80907(0x225))[_0x80907(0x230)],{CommentsListView:_0x5227e0,CommentThreadInputView:_0x290f2c}=_0x57a8e8[_0x80907(0x1f0)][_0x80907(0x1b0)](_0x80907(0x1f7));let _0x4a6590,_0xf4340c;this[_0x80907(0x1dc)][_0x80907(0x1ef)](_0xaea944['id'])?(_0xf4340c=this[_0x80907(0x1dc)][_0x80907(0x1b0)](_0xaea944['id']),_0x4a6590=_0xf4340c[_0x80907(0x1cb)]):(_0x4a6590=new _0x41b861(_0x57a8e8[_0x80907(0x1fc)],_0xaea944,_0x2de544,{'disableComments':this[_0x80907(0x228)],'editorConfig':_0x4ab399[_0x80907(0x1b0)](_0x80907(0x1b5)),'maxCommentsWhenCollapsed':_0x4ab399[_0x80907(0x1b0)](_0x80907(0x237)),'maxThreadTotalWeight':_0x4ab399[_0x80907(0x1b0)](_0x80907(0x204)),'maxCommentCharsWhenCollapsed':_0x4ab399[_0x80907(0x1b0)](_0x80907(0x1fb)),'formatDateTime':_0x39b11d(_0x4ab399[_0x80907(0x1b0)](_0x80907(0x1fc))),'CommentView':_0x4ab399[_0x80907(0x1b0)](_0x80907(0x1db))[_0x80907(0x1c1)],'CommentsListView':_0x5227e0,'CommentThreadInputView':_0x290f2c}),_0x4a6590[_0x80907(0x220)]['on'](_0x80907(0x1f1),()=>{const _0x283e9c=_0x80907;_0x57a8e8[_0x283e9c(0x211)][_0x283e9c(0x1f9)][_0x283e9c(0x1c9)]();}),_0x4a6590[_0x80907(0x1bd)]['on'](_0x80907(0x1f1),()=>{const _0xad9fd7=_0x80907;_0x57a8e8[_0xad9fd7(0x211)][_0xad9fd7(0x1f9)][_0xad9fd7(0x1c9)]();}),_0xf4340c=_0x2724f8[_0x80907(0x1d2)](this[_0x80907(0x20b)][_0x80907(0x1fc)],_0x4a6590),_0xf4340c[_0x80907(0x1ed)](_0x80907(0x1f2))['to'](_0x4a6590,_0x80907(0x1f2)),_0xf4340c[_0x80907(0x1ed)](_0x80907(0x1d5))['to'](_0x4a6590),_0xf4340c[_0x80907(0x1ed)](_0x80907(0x21d))['to'](_0x4a6590,_0x80907(0x21d),_0x218c2f=>_0x80907(0x1aa)+_0x218c2f),this[_0x80907(0x1dc)][_0x80907(0x212)](_0xaea944['id'],_0xf4340c));const _0x4b1685=_0x5b83ce[_0x80907(0x1e5)](_0xaea944[_0x80907(0x201)],_0x4a6590),_0x666447=new _0x2f7f68(_0x57a8e8,_0xaea944,_0x4a6590,_0x4b1685),_0x3e6f01=_0xaea944[_0x80907(0x1c3)]()[_0x80907(0x222)](_0x27caf0=>_0x27caf0[_0x80907(0x1b6)]);_0x4a6590[_0x80907(0x1c0)]=_0x57a8e8[_0x80907(0x1f0)][_0x80907(0x1b0)](_0x80907(0x207))[_0x80907(0x1bc)][_0x80907(0x1ff)](_0x3e6f01),this[_0x80907(0x22c)][_0x80907(0x212)](_0xaea944,_0x666447),this[_0x80907(0x1e7)][_0x80907(0x212)](_0x4a6590,_0x666447);const _0x402fc1=_0x2724f8[_0x80907(0x21e)]({'view':_0xf4340c,'target':()=>{const _0x2154f3=_0x80907,_0x445dc1=[],_0x5b1de3=_0xaea944[_0x2154f3(0x1c3)]()[_0x2154f3(0x222)](_0x55156b=>_0x55156b[_0x2154f3(0x1b6)]);for(const _0x4c7dc2 of _0x5b1de3)_0x445dc1[_0x2154f3(0x1c4)](..._0x4c7dc2[_0x2154f3(0x1e6)]());return _0x2ea151(_0x57a8e8[_0x2154f3(0x211)],_0x445dc1);},'type':()=>_0x80907(0x1aa)+_0x666447[_0x80907(0x1f9)][_0x80907(0x21d)]});_0x5b83ce[_0x80907(0x205)](_0x4a6590,_0x402fc1),_0x2724f8[_0x80907(0x1f4)](_0x402fc1),_0x1622c4[_0x80907(0x210)](_0x402fc1);}[_0x5a72af(0x22e)](_0x15963b){const _0x2b56da=_0x5a72af,_0x34fb40=this[_0x2b56da(0x20b)][_0x2b56da(0x1f0)][_0x2b56da(0x1b0)](_0x2b56da(0x1fe)),_0x58abd0=this[_0x2b56da(0x20b)][_0x2b56da(0x1f0)][_0x2b56da(0x1b0)](_0x2b56da(0x1d7)),_0x670d15=this[_0x2b56da(0x22c)][_0x2b56da(0x1b0)](_0x15963b),_0x2ec99a=_0x670d15[_0x2b56da(0x1f9)],_0x198fb1=_0x58abd0[_0x2b56da(0x21a)](_0x2ec99a);_0x34fb40[_0x2b56da(0x1dd)](_0x2ec99a),_0x198fb1&&_0x58abd0[_0x2b56da(0x1ad)](_0x198fb1),this[_0x2b56da(0x22c)][_0x2b56da(0x1bf)](_0x15963b),this[_0x2b56da(0x1e7)][_0x2b56da(0x1bf)](_0x2ec99a),_0x670d15[_0x2b56da(0x1fa)]();}[_0x5a72af(0x1ce)](_0x40c8e5){const _0x4c345e=_0x5a72af;if(!_0x40c8e5[_0x4c345e(0x1b6)]||!this[_0x4c345e(0x22c)][_0x4c345e(0x1ef)](_0x40c8e5))return;const _0x5e9e97=this[_0x4c345e(0x20b)][_0x4c345e(0x1f0)][_0x4c345e(0x1b0)](_0x4c345e(0x207)),_0x3ca977=this[_0x4c345e(0x22c)][_0x4c345e(0x1b0)](_0x40c8e5),_0x71c323=_0x40c8e5[_0x4c345e(0x1c3)]();_0x3ca977[_0x4c345e(0x1f9)][_0x4c345e(0x1c0)]=_0x5e9e97[_0x4c345e(0x1bc)][_0x4c345e(0x1ff)](_0x71c323);}[_0x5a72af(0x1fa)](){const _0x5c1b65=_0x5a72af;for(const _0x113f0e of this[_0x5c1b65(0x22c)][_0x5c1b65(0x1b3)]())this[_0x5c1b65(0x22e)](_0x113f0e);for(const _0x5030c8 of this[_0x5c1b65(0x1dc)][_0x5c1b65(0x20c)]())_0x5030c8[_0x5c1b65(0x1cb)][_0x5c1b65(0x1fa)]();super[_0x5c1b65(0x1fa)]();}}function ae(_0x2a70c2){const _0x4de30a=_0x5a72af;return _0x4de30a(0x1af)in _0x2a70c2;}function _0x4832(){const _0x1a0b9f=['isOn','Annotations','pluginName','commands','_addUIComponentsToFactory','comments','_annotationViews','_unbindEditors','button','Accept\x20all\x20selected\x20suggestions','Discard\x20all\x20selected\x20suggestions','some','_initializeController','listenTo','unbind','createCommentThreadController','getMarkers','_viewToController','Discard\x20all\x20suggestions','3091600AHRtKa','value','config','children','bind','refreshSelectedViews','has','plugins','execute','isDirty','7282XdGtYi','add','trackChanges.disableComments','19630VRyNuQ','CommentsUI','separator','view','destroy','comments.maxCommentCharsWhenCollapsed','locale','actionView','CommentsRepository','getDescriptions','commandName','commentThread','size','suggestionUnloaded','comments.maxThreadTotalWeight','_bindAnnotationToEditors','buttonView','TrackChangesEditing','head','lowest','getMarkerNames','editor','values','from','menuBar:trackChanges','previous','registerAnnotation','editing','set','suggestionChanged','_createMenuBarMenu','hasSuggestion','1866DjUYjk','468iyFgBQ','TrackChangesUI','_refreshActiveMarkers','getByInnerView','change:previous','menuitemcheckbox','type','createAnnotation','discardSelectedSuggestions','acceptButton','acceptAllSuggestions','filter','change:activeAnnotations','705312VbWkmK','trackChanges','arrowView','stopListening','_disableComments','clear','menuitem','isMultiRange','_suggestionToController','items','_destroyController','source','SuggestionThreadView','getRanges','_handleControllerBuffer','getSuggestion','11165175PbsPNr','suggestionLoaded','panelView','comments.maxCommentsWhenCollapsed','isEnabled','_createToolbarButton','acceptSelectedSuggestions','menu','suggestion-','EditorAnnotations','52310PvLfOO','remove','1757AGAOtp','model','get','delegate','24072QuRqSy','keys','getFirstRange','comments.editorConfig','isInContent','activeAnnotations','init','_handleSuggestionControllerDelayed','addSourceCollector','2KWumqs','descriptionFactory','discardButton','requires','delete','descriptionParts','CommentView','toMany','getAllAdjacentSuggestions','push','reduce','getJoined','Accept\x20all\x20suggestions','activeMarkers','focus','trackChanges.SuggestionThreadView','mainView','innerView','componentFactory','_updateController','Track\x20changes','switchbutton','discardAllSuggestions','createAnnotationView','addComment','define','length'];_0x4832=function(){return _0x1a0b9f;};return _0x4832();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3d212c=_0x1b86;function _0x1b86(_0x3ad3eb,_0x7ee688){const _0x42e271=_0x42e2();return _0x1b86=function(_0x1b8699,_0x451034){_0x1b8699=_0x1b8699-0x88;let _0x24922b=_0x42e271[_0x1b8699];return _0x24922b;},_0x1b86(_0x3ad3eb,_0x7ee688);}function _0x42e2(){const _0x279a7b=['976320YsDzMH','get','_discardCommand','commands','stopListening','132CeWBVb','locale','model','bind','canDiscard','listenTo','plugins','discardSuggestion','5758396lbJEdY','getRanges','916472WBTxSu','45904wZIDhc','remove','view','unbind','add','_acceptCommand','acceptSuggestion','22150791SDFtCY','isDirty','6354304kEikYu','89290HjYRPe','canAccept','_removePendingAction','execute','canEditAt','change:isDirty','commentThreadController','PENDING_ACTION_SUGGESTION','PendingActions','30DCZnNi','isEnabled','_setPendingAction','_pendingAction','destroy','_editor'];_0x42e2=function(){return _0x279a7b;};return _0x42e2();}(function(_0x1af902,_0x3c10a5){const _0xb7b90a=_0x1b86,_0x2dbed1=_0x1af902();while(!![]){try{const _0x4b8bc6=-parseInt(_0xb7b90a(0xac))/0x1+-parseInt(_0xb7b90a(0x9d))/0x2+-parseInt(_0xb7b90a(0xa2))/0x3*(parseInt(_0xb7b90a(0xad))/0x4)+parseInt(_0xb7b90a(0x8e))/0x5*(-parseInt(_0xb7b90a(0x97))/0x6)+parseInt(_0xb7b90a(0xaa))/0x7+-parseInt(_0xb7b90a(0x8d))/0x8+parseInt(_0xb7b90a(0x8b))/0x9;if(_0x4b8bc6===_0x3c10a5)break;else _0x2dbed1['push'](_0x2dbed1['shift']());}catch(_0x159504){_0x2dbed1['push'](_0x2dbed1['shift']());}}}(_0x42e2,0x77cb1));import{ObservableMixin as _0xf394bf}from'ckeditor5/src/utils.js';import{getTranslation as _0xa90656}from'../utils/common-translations.js';export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xf394bf(){constructor(_0x2bd90f,_0x1bf247,_0x273456,_0x464086){const _0x2d746f=_0x1b86;super(),this[_0x2d746f(0xa4)]=_0x1bf247,this[_0x2d746f(0xaf)]=_0x273456,this[_0x2d746f(0x94)]=_0x464086,this[_0x2d746f(0x9c)]=_0x2bd90f,this[_0x2d746f(0x89)]=_0x2bd90f[_0x2d746f(0xa0)][_0x2d746f(0x9e)](_0x2d746f(0x8a)),this[_0x2d746f(0x9f)]=_0x2bd90f[_0x2d746f(0xa0)][_0x2d746f(0x9e)](_0x2d746f(0xa9)),this[_0x2d746f(0xaf)][_0x2d746f(0xa5)](_0x2d746f(0x98))['to'](this[_0x2d746f(0x89)],this[_0x2d746f(0x9f)],(_0x2b7caa,_0x12bcc1)=>_0x2b7caa||_0x12bcc1),this[_0x2d746f(0xaf)][_0x2d746f(0xa5)](_0x2d746f(0x8f))['to'](this[_0x2d746f(0x89)],_0x2d746f(0x98),_0x6d5dde=>_0x6d5dde&&this[_0x2d746f(0x9c)][_0x2d746f(0xa4)][_0x2d746f(0x92)](_0x1bf247[_0x2d746f(0xab)]())),this[_0x2d746f(0xaf)][_0x2d746f(0xa5)](_0x2d746f(0xa6))['to'](this[_0x2d746f(0x9f)],_0x2d746f(0x98),_0x30a989=>_0x30a989&&this[_0x2d746f(0x9c)][_0x2d746f(0xa4)][_0x2d746f(0x92)](_0x1bf247[_0x2d746f(0xab)]())),this[_0x2d746f(0x9a)]=null,_0x273456[_0x2d746f(0x8c)]&&this[_0x2d746f(0x99)](),this[_0x2d746f(0xa7)](_0x273456,_0x2d746f(0x8a),()=>this[_0x2d746f(0x8a)]()),this[_0x2d746f(0xa7)](_0x273456,_0x2d746f(0xa9),()=>this[_0x2d746f(0xa9)]()),this[_0x2d746f(0xa7)](_0x273456,_0x2d746f(0x93),()=>{const _0x4dda5e=_0x2d746f;_0x273456[_0x4dda5e(0x8c)]?this[_0x4dda5e(0x99)]():this[_0x4dda5e(0x90)]();});}[_0x3d212c(0x8a)](){const _0x5e07cc=_0x3d212c;this[_0x5e07cc(0x89)][_0x5e07cc(0x91)](this[_0x5e07cc(0xa4)]['id']);}[_0x3d212c(0xa9)](){const _0x58e38b=_0x3d212c;this[_0x58e38b(0x9f)][_0x58e38b(0x91)](this[_0x58e38b(0xa4)]['id']);}[_0x3d212c(0x9b)](){const _0x40948f=_0x3d212c;this[_0x40948f(0xaf)][_0x40948f(0xb0)](_0x40948f(0x98)),this[_0x40948f(0xaf)][_0x40948f(0xb0)](_0x40948f(0x8f)),this[_0x40948f(0xaf)][_0x40948f(0xb0)](_0x40948f(0xa6)),this[_0x40948f(0xa1)](),this[_0x40948f(0x94)][_0x40948f(0x9b)](),this[_0x40948f(0x9a)]&&this[_0x40948f(0x90)]();}[_0x3d212c(0x99)](){const _0x55e56c=_0x3d212c,_0x23f23d=_0xa90656(this[_0x55e56c(0x9c)][_0x55e56c(0xa3)],_0x55e56c(0x95));this[_0x55e56c(0x9a)]=this[_0x55e56c(0x9c)][_0x55e56c(0xa8)][_0x55e56c(0x9e)](_0x55e56c(0x96))[_0x55e56c(0x88)](_0x23f23d);}[_0x3d212c(0x90)](){const _0x54c0ce=_0x3d212c;null!==this[_0x54c0ce(0x9a)]&&this[_0x54c0ce(0x9c)][_0x54c0ce(0xa8)][_0x54c0ce(0x9e)](_0x54c0ce(0x96))[_0x54c0ce(0xae)](this[_0x54c0ce(0x9a)]),this[_0x54c0ce(0x9a)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x40d1(_0x92e2a0,_0x4ca9d5){const _0x17f615=_0x17f6();return _0x40d1=function(_0x40d199,_0x2f9e5d){_0x40d199=_0x40d199-0x196;let _0x1af123=_0x17f615[_0x40d199];return _0x1af123;},_0x40d1(_0x92e2a0,_0x4ca9d5);}function _0x17f6(){const _0x28d743=['isActive','isDirty','3201992XfkcgV','commentThreadInputView','canDiscard','commentThread','cancel','destroy','canAccept','_config','focus','disableComments','removeComment','_createCommentViews','962216cscFDF','1448064LGJZvv','bind','submit','399347jdUDxx','showInput','15DVMElA','editorConfig','_model','addComment','CommentView','updateComment','assign','133664snQbHQ','_createCommentThreadInputView','commentInputView','_localUser','1186703awOmBi','disabledSubmit','element','delegate','set','authoredAt','9PLnbMz','locale','556134ALppgE','setData','hasDirtyComment','fire','isEnabled','editor','value','descriptionParts','commentsListView','isReadOnly','length'];_0x17f6=function(){return _0x28d743;};return _0x17f6();}const _0x529942=_0x40d1;(function(_0x28d77f,_0x4692ac){const _0x139e11=_0x40d1,_0xb8c1d2=_0x28d77f();while(!![]){try{const _0x332ac0=-parseInt(_0x139e11(0x1a4))/0x1+parseInt(_0x139e11(0x1ad))/0x2+parseInt(_0x139e11(0x1a1))/0x3+parseInt(_0x139e11(0x1a0))/0x4+-parseInt(_0x139e11(0x1a6))/0x5*(parseInt(_0x139e11(0x1b9))/0x6)+-parseInt(_0x139e11(0x1b1))/0x7+parseInt(_0x139e11(0x1c6))/0x8*(parseInt(_0x139e11(0x1b7))/0x9);if(_0x332ac0===_0x4692ac)break;else _0xb8c1d2['push'](_0xb8c1d2['shift']());}catch(_0x582b45){_0xb8c1d2['push'](_0xb8c1d2['shift']());}}}(_0x17f6,0x53d54));import{View as _0x5f5152}from'ckeditor5/src/ui.js';export default class es extends _0x5f5152{constructor(_0xbf7675,_0x3ab4d9,_0x4e5879,_0x52f651){const _0x17d2c3=_0x40d1;super(_0xbf7675),this[_0x17d2c3(0x1c1)]=null,this[_0x17d2c3(0x1c7)]=null,this[_0x17d2c3(0x1b5)](_0x17d2c3(0x1c4),!0x1),this[_0x17d2c3(0x1b5)](_0x17d2c3(0x1b6),_0x3ab4d9[_0x17d2c3(0x1b6)]),this[_0x17d2c3(0x1a2)](_0x17d2c3(0x1b6))['to'](_0x3ab4d9),this[_0x17d2c3(0x1b5)](_0x17d2c3(0x1c0),[]),this[_0x17d2c3(0x1b5)](_0x17d2c3(0x1c5),!0x1),this[_0x17d2c3(0x1b5)](_0x17d2c3(0x1bd),!0x1),this[_0x17d2c3(0x1b5)](_0x17d2c3(0x19a),!0x1),this[_0x17d2c3(0x1b5)](_0x17d2c3(0x196),!0x1),this[_0x17d2c3(0x1a8)]=_0x3ab4d9,this[_0x17d2c3(0x1b0)]=_0x4e5879,this[_0x17d2c3(0x19b)]=_0x52f651,_0x52f651[_0x17d2c3(0x19d)]?this[_0x17d2c3(0x1b5)](_0x17d2c3(0x1c3),0x1):this[_0x17d2c3(0x19f)]();}[_0x529942(0x19c)](){const _0x4d64ed=_0x529942;this[_0x4d64ed(0x1b3)][_0x4d64ed(0x19c)]();}[_0x529942(0x199)](){const _0x27151a=_0x529942;this[_0x27151a(0x1c1)]&&this[_0x27151a(0x1c1)][_0x27151a(0x199)](),this[_0x27151a(0x1c7)]&&this[_0x27151a(0x1c7)][_0x27151a(0x199)](),super[_0x27151a(0x199)]();}[_0x529942(0x19f)](){const _0x448e7f=_0x529942,{CommentsListView:_0x5c775d}=this[_0x448e7f(0x19b)];this[_0x448e7f(0x1c1)]=new _0x5c775d(this[_0x448e7f(0x1b8)],this[_0x448e7f(0x1a8)][_0x448e7f(0x197)],Object[_0x448e7f(0x1ac)]({'CommentView':this[_0x448e7f(0x19b)][_0x448e7f(0x1aa)]},this[_0x448e7f(0x19b)])),this[_0x448e7f(0x1c1)][_0x448e7f(0x1b4)](_0x448e7f(0x19e))['to'](this),this[_0x448e7f(0x1c1)][_0x448e7f(0x1b4)](_0x448e7f(0x1ab))['to'](this),this[_0x448e7f(0x1c1)][_0x448e7f(0x1a2)](_0x448e7f(0x1c4))['to'](this),this[_0x448e7f(0x1b5)](_0x448e7f(0x1c3),this[_0x448e7f(0x1c1)][_0x448e7f(0x1c3)]+0x1),this[_0x448e7f(0x1a2)](_0x448e7f(0x1c3))['to'](this[_0x448e7f(0x1c1)],_0x448e7f(0x1c3),_0x4ce375=>_0x4ce375+0x1),this[_0x448e7f(0x1c7)]=this[_0x448e7f(0x1ae)](),this['on'](_0x448e7f(0x19e),()=>this[_0x448e7f(0x19c)]()),this[_0x448e7f(0x1a2)](_0x448e7f(0x1c5))['to'](this[_0x448e7f(0x1c1)],_0x448e7f(0x1bb),this[_0x448e7f(0x1c7)][_0x448e7f(0x1af)],_0x448e7f(0x1bf),(_0x3003ae,_0x13d7d6)=>_0x3003ae||!!_0x13d7d6);}[_0x529942(0x1ae)](){const _0x41cdc0=_0x529942,{CommentThreadInputView:_0x301f20}=this[_0x41cdc0(0x19b)],_0xacebcf=new _0x301f20(this[_0x41cdc0(0x1b8)],this[_0x41cdc0(0x1b0)],this[_0x41cdc0(0x19b)][_0x41cdc0(0x1a7)]),_0x1a09e3=_0xacebcf[_0x41cdc0(0x1af)];return _0xacebcf[_0x41cdc0(0x1a2)](_0x41cdc0(0x1a5))['to'](this,_0x41cdc0(0x1c4),this[_0x41cdc0(0x1a8)][_0x41cdc0(0x197)],_0x41cdc0(0x1c2),_0x1a09e3,_0x41cdc0(0x1bf),(_0x98f4b2,_0x314760,_0x1a4069)=>!!_0x1a4069||_0x98f4b2&&!_0x314760),_0x1a09e3['on'](_0x41cdc0(0x1a3),(_0x2381e8,_0x407687)=>{const _0xfab7ce=_0x41cdc0;this[_0xfab7ce(0x1bc)](_0xfab7ce(0x1a9),_0x407687),_0x1a09e3[_0xfab7ce(0x1be)][_0xfab7ce(0x1ba)]('');}),_0x1a09e3['on'](_0x41cdc0(0x198),()=>this[_0x41cdc0(0x19c)]()),_0x1a09e3[_0x41cdc0(0x1a2)](_0x41cdc0(0x1b2))['to'](this[_0x41cdc0(0x1a8)][_0x41cdc0(0x197)],_0x41cdc0(0x1c2)),_0xacebcf;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3076ef=_0x55f9;(function(_0x42edd,_0x2d89fe){const _0x452604=_0x55f9,_0x10e06d=_0x42edd();while(!![]){try{const _0x111e12=-parseInt(_0x452604(0x7e))/0x1+-parseInt(_0x452604(0xdf))/0x2+parseInt(_0x452604(0xc3))/0x3+parseInt(_0x452604(0xd9))/0x4*(-parseInt(_0x452604(0xd0))/0x5)+-parseInt(_0x452604(0xa5))/0x6*(parseInt(_0x452604(0xc9))/0x7)+parseInt(_0x452604(0x8c))/0x8+-parseInt(_0x452604(0xb0))/0x9*(-parseInt(_0x452604(0xc8))/0xa);if(_0x111e12===_0x2d89fe)break;else _0x10e06d['push'](_0x10e06d['shift']());}catch(_0x5b2630){_0x10e06d['push'](_0x10e06d['shift']());}}}(_0x2436,0xbfa04));import{getTranslation as _0x5df022}from'../../utils/common-translations.js';import{default as _0x2b9336}from'./basesuggestionthreadview.js';import{ButtonView as _0x4d6224}from'ckeditor5/src/ui.js';import{icons as _0x327627}from'ckeditor5/src/core.js';import{trimHtml as _0x18b033,UserView as _0x282183}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x2b9336{constructor(_0x2ff385,_0x77d725,_0x1fedb2,_0x4d9174){const _0x126edf=_0x55f9;super(_0x2ff385,_0x77d725,_0x1fedb2,_0x4d9174),this[_0x126edf(0xa3)](_0x126edf(0xce),''),this[_0x126edf(0xa6)](_0x126edf(0xce))['to'](this,_0x126edf(0xe7),_0x4eecb0=>_0x4eecb0&&_0x4eecb0[0x0]?_0x4eecb0[0x0][_0x126edf(0xce)]:''),this[_0x126edf(0xa6)](_0x126edf(0xbd))['to'](this,_0x126edf(0xe7),this,_0x126edf(0x7d),(_0x54aee4,_0x3bc848)=>{const _0x4f10c9=_0x126edf;let _0x4f4d63='';for(const _0xb1c456 of _0x54aee4)_0x4f4d63+=_0x4f10c9(0xe1)+ds(_0xb1c456[_0x4f10c9(0xd3)],_0xb1c456[_0x4f10c9(0xbe)])+_0x4f10c9(0xcb);return _0x3bc848?_0x4f4d63:_0x18b033(_0x4f4d63,{'limit':0x8c});}),this[_0x126edf(0xaf)]=null,this[_0x126edf(0xa9)]=this[_0x126edf(0x94)](_0x5df022(_0x2ff385,_0x126edf(0xb2)),_0x327627[_0x126edf(0x9a)],_0x126edf(0xae),_0x126edf(0xa2),'sw'),this[_0x126edf(0xa9)][_0x126edf(0xa6)](_0x126edf(0xc1))['to'](this,_0x126edf(0xc7)),this[_0x126edf(0xaa)]=this[_0x126edf(0x94)](_0x5df022(_0x2ff385,_0x126edf(0xb8)),_0x327627[_0x126edf(0xe2)],_0x126edf(0x99),_0x126edf(0x82),'sw'),this[_0x126edf(0xaa)][_0x126edf(0xa6)](_0x126edf(0xc1))['to'](this,_0x126edf(0xa1)),this[_0x126edf(0x9f)]=new _0x282183(_0x2ff385,this[_0x126edf(0x92)][_0x126edf(0xd6)],this[_0x126edf(0xc2)]()),this[_0x126edf(0x9f)][_0x126edf(0xdb)]({'attributes':{'class':[_0x126edf(0x9e),_0x126edf(0xb6)]}}),this[_0x126edf(0xb3)](this[_0x126edf(0x8e)]());}[_0x3076ef(0x8e)](){const _0x5783f3=_0x3076ef,_0x5a5c8b=this[_0x5783f3(0xbc)],_0x329f68=[{'tag':_0x5783f3(0x87),'attributes':{'class':[_0x5783f3(0x9c),_0x5783f3(0xcd)]},'children':[{'tag':_0x5783f3(0x86),'children':[{'text':this[_0x5783f3(0x9f)][_0x5783f3(0xad)]}],'attributes':{'class':[_0x5783f3(0xd7),_0x5783f3(0x7b)]}},{'tag':_0x5783f3(0xd2),'attributes':{'datetime':_0x5a5c8b['to'](_0x5783f3(0xd5)),'class':[_0x5783f3(0xe8),_0x5783f3(0xbb)]},'children':[{'text':_0x5a5c8b['to'](_0x5783f3(0xd5),_0x1b4773=>this[_0x5783f3(0xe5)][_0x5783f3(0x9b)](_0x1b4773))}]}]},{'tag':_0x5783f3(0x87),'attributes':{'class':[_0x5783f3(0xe3),_0x5783f3(0xc4)]},'children':[this[_0x5783f3(0xa9)],this[_0x5783f3(0xaa)]]},{'tag':_0x5783f3(0x87),'attributes':{'class':[_0x5783f3(0xac)]}}];this[_0x5783f3(0x92)][_0x5783f3(0xa4)]&&_0x329f68[_0x5783f3(0xc6)]({'tag':_0x5783f3(0x87),'attributes':{'class':[_0x5783f3(0xde)]},'children':[{'text':this[_0x5783f3(0xa8)]()}]});const _0x4e288b={'tag':_0x5783f3(0x87),'attributes':{'class':[_0x5783f3(0xb7),_0x5a5c8b['if'](_0x5783f3(0x7d),_0x5783f3(0x85)),_0x5a5c8b['to'](_0x5783f3(0xce),_0x2babe2=>_0x5783f3(0x83)+_0x2babe2),this[_0x5783f3(0xe5)][_0x5783f3(0x96)]&&_0x5783f3(0xcf)],'data-suggestion-id':this[_0x5783f3(0x92)]['id'],'data-thread-id':this[_0x5783f3(0x92)][_0x5783f3(0xca)]['id'],'data-author-id':this[_0x5783f3(0x92)][_0x5783f3(0xd6)]['id'],'tabindex':-0x1},'children':[{'tag':_0x5783f3(0x87),'attributes':{'class':[_0x5783f3(0x93),_0x5783f3(0xc5)]},'children':[this[_0x5783f3(0x9f)],{'tag':_0x5783f3(0x87),'attributes':{'class':[_0x5783f3(0xd4),_0x5783f3(0x7c)]},'children':_0x329f68}]}]};return this[_0x5783f3(0x80)]&&this[_0x5783f3(0xdc)]&&(_0x4e288b[_0x5783f3(0xd8)][_0x5783f3(0xc6)](this[_0x5783f3(0x80)],this[_0x5783f3(0xdc)]),this[_0x5783f3(0x80)][_0x5783f3(0xe0)](_0x5783f3(0xd1))['to'](this),this[_0x5783f3(0x80)][_0x5783f3(0xe0)](_0x5783f3(0x91))['to'](this),this[_0x5783f3(0xdc)][_0x5783f3(0xe0)](_0x5783f3(0xd1))['to'](this),this[_0x5783f3(0xdc)][_0x5783f3(0xe0)](_0x5783f3(0x91))['to'](this)),_0x4e288b;}[_0x3076ef(0xe4)](){const _0x29d25e=_0x3076ef;super[_0x29d25e(0xe4)](),this[_0x29d25e(0xaf)]=this[_0x29d25e(0xbf)][_0x29d25e(0x95)](_0x29d25e(0x9d)),this[_0x29d25e(0xaf)][_0x29d25e(0xda)]=this[_0x29d25e(0xbd)],this['on'](_0x29d25e(0x8b),(_0x3a667b,_0xb02b77,_0x439db1)=>{const _0x3c170e=_0x29d25e;this[_0x3c170e(0xaf)][_0x3c170e(0xda)]=_0x439db1;});}[_0x3076ef(0x94)](_0x315028,_0x27e193,_0x557939,_0x16c908,_0xf2a59){const _0x2db4e1=_0x3076ef,_0x3f7062=new _0x4d6224(this[_0x2db4e1(0xb1)]);return _0x3f7062[_0x2db4e1(0xa3)]({'label':_0x315028,'icon':_0x27e193,'tooltip':!0x0,'tooltipPosition':_0xf2a59}),_0x3f7062[_0x2db4e1(0xdb)]({'attributes':{'class':_0x557939}}),_0x3f7062['on'](_0x2db4e1(0x8d),()=>{const _0xc096e8=_0x2db4e1;this[_0xc096e8(0x89)](_0x16c908,this[_0xc096e8(0x92)]['id']);}),_0x3f7062;}[_0x3076ef(0xa8)](){const _0x34fd84=_0x3076ef;return _0x34fd84(0xab)===this[_0x34fd84(0x92)][_0x34fd84(0x84)][_0x34fd84(0xba)][_0x34fd84(0xb4)]?_0x5df022(this[_0x34fd84(0xb1)],_0x34fd84(0xe6)):_0x5df022(this[_0x34fd84(0xb1)],_0x34fd84(0x81));}[_0x3076ef(0xc2)](){const _0x1a7631=_0x3076ef;return this[_0x1a7631(0x92)][_0x1a7631(0xa4)]?_0x1a7631(0xab)===this[_0x1a7631(0x92)][_0x1a7631(0x84)][_0x1a7631(0xba)][_0x1a7631(0xb4)]?_0x5df022(this[_0x1a7631(0xb1)],_0x1a7631(0x8a),this[_0x1a7631(0x92)][_0x1a7631(0xb5)][_0x1a7631(0xad)]):_0x5df022(this[_0x1a7631(0xb1)],_0x1a7631(0x90),this[_0x1a7631(0x92)][_0x1a7631(0xb5)][_0x1a7631(0xad)]):null;}}function _0x55f9(_0x1ab188,_0x2dbb83){const _0x243663=_0x2436();return _0x55f9=function(_0x55f984,_0x1394c2){_0x55f984=_0x55f984-0x7b;let _0x102188=_0x243663[_0x55f984];return _0x102188;},_0x55f9(_0x1ab188,_0x2dbb83);}function ds(_0x5715d3,_0x19f48b){const _0x273bc5=_0x3076ef;let _0x4f183e='';return _0x4f183e+=_0x5715d3[_0x273bc5(0x97)]('*')[_0x273bc5(0xc0)]((_0x256762,_0x18b0c5)=>_0x18b0c5%0x2!=0x0?_0x273bc5(0xe9)+us(_0x256762)+_0x273bc5(0xcc):us(_0x256762))[_0x273bc5(0xa0)](''),_0x19f48b&&(_0x4f183e+=_0x273bc5(0xdd)+_0x19f48b[_0x273bc5(0xa7)]+_0x273bc5(0x98)+_0x19f48b[_0x273bc5(0x7f)]+_0x273bc5(0xb9)),_0x4f183e;}function _0x2436(){const _0x52e402=['descriptionParts','ck-comment__info-time','<span\x20class=\x22ck-suggestion-type\x22>','ck-annotation__info-name','ck-annotation__main','isActive','616269KebHjg','title','commentsListView','EXTERNAL_SUGGESTION','discardSuggestion','ck-suggestion-','attributes','ck-suggestion-wrapper--active','span','div','createElement','fire','EXTERNAL_IMPORT_WORD_AVATAR','change:description','9749800oNEaRf','execute','getTemplate','innerText','EXTERNAL_AVATAR','editorDestroyed','_model','ck-suggestion','_createButton','querySelector','disableComments','split','\x22\x20title=\x22','ck-suggestion--discard','check','formatDateTime','ck-suggestion__info','.ck-annotation__content-wrapper','ck-suggestion__user','userView','join','canDiscard','acceptSuggestion','set','isExternal','4638RbbJur','bind','value','getExternalSuggestionNote','acceptButton','discardButton','importWord','ck-annotation__content-wrapper','name','ck-suggestion--accept','_descriptionElement','621459NfmnNG','locale','Accept\x20suggestion','setTemplate','source','creator','ck-annotation__user','ck-suggestion-wrapper','Discard\x20suggestion','\x22></span>','@external','ck-annotation__info-time','bindTemplate','description','color','element','map','isEnabled','getUserViewNotificationText','3127977rmxRpn','ck-annotation__actions','ck-annotation','push','canAccept','130MKygQW','735VvqSuW','commentThread','</p>','</span>','ck-annotation__info','type','ck-suggestion--disabled-comments','3955VElwyT','editorReady','time','content','ck-suggestion__main','authoredAt','author','ck-suggestion__info-name','children','1324wsolSa','innerHTML','extendTemplate','commentThreadInputView','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','ck-comment__external','2829784yWGOAg','delegate','<p>','cancel','ck-suggestion__actions','render','_config','EXTERNAL_IMPORT_WORD_SUGGESTION'];_0x2436=function(){return _0x52e402;};return _0x2436();}function us(_0x3614b9){const _0x496c60=_0x3076ef,_0x577bda=document[_0x496c60(0x88)](_0x496c60(0x86));return _0x577bda[_0x496c60(0x8f)]=_0x3614b9,_0x577bda[_0x496c60(0xda)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x4d98db,_0x27dffd,_0x329135){const t=_0x4d98db['t'];switch(_0x27dffd){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',_0x329135);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x329135);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x329135);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x329135);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x329135);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',_0x329135);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x329135);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',_0x329135);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x329135);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x329135);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x329135);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x329135);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x329135);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x329135);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x329135);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x329135);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x329135);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x329135);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x329135);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x329135);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x329135);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x329135);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x329135);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'},_0x329135);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x329135);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x329135);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x329135);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x329135);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x329135);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'},_0x329135);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x329135);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x329135);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x329135);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x329135);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'},_0x329135);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x329135);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'},_0x329135);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'},_0x329135);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x329135);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'},_0x329135);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x329135);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'},_0x329135);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x329135);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x329135);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'},_0x329135);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'},_0x329135);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 _0x27dffd;}}
|
|
23
|
+
export function getTranslation(_0x5681fe,_0x31c83e,_0x1014b5){const t=_0x5681fe['t'];switch(_0x31c83e){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',_0x1014b5);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1014b5);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1014b5);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1014b5);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1014b5);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',_0x1014b5);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1014b5);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',_0x1014b5);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1014b5);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1014b5);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1014b5);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1014b5);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1014b5);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1014b5);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1014b5);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1014b5);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1014b5);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1014b5);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1014b5);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1014b5);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1014b5);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1014b5);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1014b5);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'},_0x1014b5);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1014b5);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1014b5);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1014b5);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1014b5);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1014b5);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'},_0x1014b5);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1014b5);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1014b5);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1014b5);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1014b5);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'},_0x1014b5);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1014b5);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'},_0x1014b5);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'},_0x1014b5);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1014b5);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'},_0x1014b5);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1014b5);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'},_0x1014b5);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1014b5);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1014b5);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'},_0x1014b5);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'},_0x1014b5);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 _0x31c83e;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1f6dad,_0x35480e){const _0xf54de6=_0x326a,_0x530d83=_0x1f6dad();while(!![]){try{const _0x3e1cdc=-parseInt(_0xf54de6(0x1b5))/0x1*(-parseInt(_0xf54de6(0x1bd))/0x2)+-parseInt(_0xf54de6(0x1ce))/0x3*(-parseInt(_0xf54de6(0x1ca))/0x4)+parseInt(_0xf54de6(0x1b7))/0x5*(-parseInt(_0xf54de6(0x1d5))/0x6)+-parseInt(_0xf54de6(0x1d3))/0x7+-parseInt(_0xf54de6(0x1c5))/0x8+-parseInt(_0xf54de6(0x1d4))/0x9*(-parseInt(_0xf54de6(0x1b3))/0xa)+-parseInt(_0xf54de6(0x1af))/0xb*(-parseInt(_0xf54de6(0x1ac))/0xc);if(_0x3e1cdc===_0x35480e)break;else _0x530d83['push'](_0x530d83['shift']());}catch(_0x3c0249){_0x530d83['push'](_0x530d83['shift']());}}}(_0x3d8b,0x240f3));export function normalizeDescription(_0x10d59b){const _0x548b52=_0x326a;return Array[_0x548b52(0x1bb)](_0x10d59b)||(_0x10d59b=[_0x10d59b]),_0x10d59b[_0x548b52(0x1b4)](_0x12d128=>{const _0x44d617=_0x548b52,_0x1bbca4=_0x12d128[_0x44d617(0x1d1)][_0x44d617(0x1cf)](/\*/g,''),_0x35fe70=_0x12d128[_0x44d617(0x1cd)]?_0x44d617(0x1c9)+_0x12d128[_0x44d617(0x1cd)][_0x44d617(0x1c1)]+']':'';return'['+_0x12d128[_0x44d617(0x1c4)]+']\x20'+_0x1bbca4+_0x35fe70;})[_0x548b52(0x1c0)](';\x20');}export function sortSuggestions(_0x59a16d){const _0x1a5de7=_0x326a;return _0x59a16d[_0x1a5de7(0x1d2)]((_0xbca1c1,_0x365169)=>_0x1a5de7(0x1c7)==_0xbca1c1[_0x1a5de7(0x1c4)]&&_0x1a5de7(0x1c7)!=_0x365169[_0x1a5de7(0x1c4)]?-0x1:_0x1a5de7(0x1c7)!=_0xbca1c1[_0x1a5de7(0x1c4)]&&_0x1a5de7(0x1c7)==_0x365169[_0x1a5de7(0x1c4)]?0x1:0x0);}function _0x326a(_0x446773,_0x92ec27){const _0x3d8bfe=_0x3d8b();return _0x326a=function(_0x326a3f,_0xd51de4){_0x326a3f=_0x326a3f-0x1a9;let _0x53af4f=_0x3d8bfe[_0x326a3f];return _0x53af4f;},_0x326a(_0x446773,_0x92ec27);}export function getSelectedSuggestions(_0x1fd4f1,_0x1d3f08){const _0x599da5=_0x326a,_0x1b342a=Array[_0x599da5(0x1a9)](_0x1fd4f1[_0x599da5(0x1ab)]()),_0x1fca9e=new Set();for(const _0x53e3c3 of _0x1d3f08)if(_0x53e3c3[_0x599da5(0x1b1)]){for(const _0x56f4e6 of _0x1b342a)for(const _0x3620eb of _0x53e3c3[_0x599da5(0x1ab)]())(_0x56f4e6[_0x599da5(0x1b0)](_0x3620eb)||_0x1fd4f1[_0x599da5(0x1be)]&&!_0x53e3c3[_0x599da5(0x1c8)]&&_0x53e3c3[_0x599da5(0x1c3)]&&_0x3620eb[_0x599da5(0x1b2)][_0x599da5(0x1cb)](_0x56f4e6[_0x599da5(0x1b8)]))&&_0x1fca9e[_0x599da5(0x1ae)](_0x53e3c3);}return _0x1fca9e;}export function getRangesOfBlockGroups(_0x2b95f5,_0x3defe8){const _0x527aa6=_0x326a;let _0x5d7dde,_0x169580=0x0;const _0x30052b=[],_0x1bf015=_0x3defe8[_0x527aa6(0x1aa)];for(;_0x169580<_0x2b95f5[_0x527aa6(0x1b9)];){const _0x127aad=_0x2b95f5[_0x169580],_0x3a9bd5=_0x2b95f5[_0x169580+0x1];_0x5d7dde||(_0x5d7dde=_0x3defe8[_0x527aa6(0x1ad)](_0x127aad)),co(_0x3defe8,_0x127aad,_0x3a9bd5)||(_0x30052b[_0x527aa6(0x1c2)](_0x3defe8[_0x527aa6(0x1bf)](_0x5d7dde,_0x1bf015[_0x527aa6(0x1ba)](_0x127aad)?_0x3defe8[_0x527aa6(0x1b6)](_0x127aad):_0x3defe8[_0x527aa6(0x1cc)](_0x127aad,_0x527aa6(0x1b2)))),_0x5d7dde=null),_0x169580++;}return _0x30052b;}function _0x3d8b(){const _0x3256e9=['getRanges','10284GHCTte','createPositionBefore','add','5005xzChLM','isIntersecting','isInContent','end','40XuNEky','map','77WuhfGH','createPositionAfter','26195ilEdON','start','length','isObject','isArray','splice','2798EdTkOa','isCollapsed','createRange','join','value','push','next','type','1596368ARxpxe','change','deletion','isMultiRange','\x20[color\x20','10852ILpCuJ','isTouching','createPositionAt','color','18YqMTtU','replace','execute','content','sort','679000EclgkH','326493qBsrLg','246dOORzQ','from','schema'];_0x3d8b=function(){return _0x3256e9;};return _0x3d8b();}function co(_0x40581a,_0x2a2b3e,_0x5ded55){const _0x47406d=_0x326a;if(!_0x5ded55)return!0x1;const _0x1cd6e9=_0x40581a[_0x47406d(0x1b6)](_0x2a2b3e),_0x4e2afc=_0x40581a[_0x47406d(0x1ad)](_0x5ded55);return _0x1cd6e9[_0x47406d(0x1cb)](_0x4e2afc);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x3b5acd,_0x298133,_0x5eae1f){const _0x391869=_0x326a;for(;_0x5eae1f[_0x391869(0x1b9)];){const _0x287286=_0x5eae1f[_0x391869(0x1bc)](0x0,0x64);_0x3b5acd[_0x391869(0x1c6)](()=>{const _0x30033a=_0x391869;for(const _0x532045 of _0x287286)_0x532045[_0x30033a(0x1b1)]&&_0x298133[_0x30033a(0x1d0)](_0x532045['id']);});}}
|