@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240523.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/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 _0x29dc6e=_0x18f3;(function(_0xe57d58,_0x33e3a7){const _0x44810b=_0x18f3,_0x37baf6=_0xe57d58();while(!![]){try{const _0x11d71c=parseInt(_0x44810b(0x1c4))/0x1+-parseInt(_0x44810b(0x1e8))/0x2+-parseInt(_0x44810b(0x1ad))/0x3+-parseInt(_0x44810b(0x221))/0x4*(-parseInt(_0x44810b(0x1b7))/0x5)+-parseInt(_0x44810b(0x1a4))/0x6*(-parseInt(_0x44810b(0x22c))/0x7)+-parseInt(_0x44810b(0x22a))/0x8*(-parseInt(_0x44810b(0x207))/0x9)+-parseInt(_0x44810b(0x227))/0xa*(parseInt(_0x44810b(0x1e9))/0xb);if(_0x11d71c===_0x33e3a7)break;else _0x37baf6['push'](_0x37baf6['shift']());}catch(_0x2b94c0){_0x37baf6['push'](_0x37baf6['shift']());}}}(_0x80de,0xdfd3c));import{Plugin as _0x2d7bf0}from'ckeditor5/src/core.js';import{Collection as _0x56be7e}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x352481,createDropdown as _0x377c95,ListSeparatorView as _0xc8fdd,MenuBarMenuView as _0x5a1623,MenuBarMenuListView as _0xced2db,MenuBarMenuListItemView as _0x17c206,MenuBarMenuListItemButtonView as _0x94bc32,SplitButtonView as _0x252bb1,ViewModel as _0x166e44}from'ckeditor5/src/ui.js';import{Users as _0x5b12cb,getDateTimeFormatter as _0x523ce2,getAllMarkersDomElementsSorted as _0x5764cc}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5ee9f0 from'./trackchangesediting.js';import _0x6e17db from'./ui/suggestioncontroller.js';import _0x481513 from'./ui/view/suggestionthreadview.js';function _0x18f3(_0x5759f3,_0x556218){const _0x80de6c=_0x80de();return _0x18f3=function(_0x18f33d,_0x186f19){_0x18f33d=_0x18f33d-0x1a2;let _0x2df696=_0x80de6c[_0x18f33d];return _0x2df696;},_0x18f3(_0x5759f3,_0x556218);}function _0x80de(){const _0x245d5a=['isMultiRange','has','comments.editorConfig','menuitemcheckbox','_createToolbarButton','push','29196qhqQkP','listenTo','clear','descriptionFactory','discardSelectedSuggestions','previous','innerView','_viewToController','arrowView','5077584uoDuqR','_createMenuBarMenu','menu','buttonView','acceptAllSuggestions','_handleControllerBuffer','length','switchbutton','actionView','plugins','2715fxtNFB','locale','values','suggestionChanged','_bindAnnotationToEditors','TrackChangesEditing','TrackChangesUI','commandName','trackChanges.disableComments','suggestion-','_destroyController','_initializeController','_unbindEditors','383927YVbmWY','registerAnnotation','createAnnotationView','value','_suggestionToController','comments.maxCommentsWhenCollapsed','_handleSuggestionControllerDelayed','_updateController','getSuggestion','getAllAdjacentSuggestions','size','_refreshActiveMarkers','getByInnerView','activeMarkers','trackChanges','getRanges','comments.maxCommentCharsWhenCollapsed','_annotationViews','getJoined','addSourceCollector','componentFactory','hasSuggestion','destroy','Accept\x20all\x20suggestions','view','panelView','isDirty','editing','comments','config','getFirstRange','editor','CommentView','Discard\x20all\x20selected\x20suggestions','delegate','mainView','2317328ZHmUwq','4367cgArKx','discardAllSuggestions','change:activeAnnotations','refreshSelectedViews','trackChanges.SuggestionThreadView','unbind','_addUIComponentsToFactory','execute','type','isOn','discardButton','from','CommentsRepository','getMarkerNames','change:previous','source','activeAnnotations','suggestionUnloaded','descriptionParts','toMany','commands','Accept\x20all\x20selected\x20suggestions','button','filter','pluginName','items','isEnabled','Track\x20changes','Discard\x20all\x20suggestions','define','650691YHhEbb','init','reduce','acceptSelectedSuggestions','children','lowest','commentThread','add','Annotations','separator','suggestionLoaded','set','createAnnotation','SuggestionThreadView','delete','get','getDescriptions','menuBar:trackChanges','remove','CommentsUI','isInContent','focus','stopListening','menuitem','bind','getMarkers','11576BbQArR','some','EditorAnnotations','createCommentThreadController','addComment','keys','39110aYDOay','model','acceptButton','192utXmai','comments.maxThreadTotalWeight','2345nBfBlU','requires','head','_disableComments'];_0x80de=function(){return _0x245d5a;};return _0x80de();}import{getTranslation as _0x82b176}from'./utils/common-translations.js';import _0xfa1c8d from'../theme/icons/track-changes.svg';export default class d extends _0x2d7bf0{static get[_0x29dc6e(0x22d)](){const _0x593bb8=_0x29dc6e;return[_0x5ee9f0,_0x5b12cb,_0x593bb8(0x1f5),_0x593bb8(0x20f),_0x593bb8(0x223)];}static get[_0x29dc6e(0x201)](){const _0x14a2e5=_0x29dc6e;return _0x14a2e5(0x1bd);}constructor(_0x298a30){const _0x2c33b4=_0x29dc6e;super(_0x298a30),this[_0x2c33b4(0x1c8)]=new Map(),this[_0x2c33b4(0x1ab)]=new Map(),this[_0x2c33b4(0x1d5)]=new Map(),this[_0x2c33b4(0x1b2)]=new Map();const _0x5de28d=this[_0x2c33b4(0x1e3)][_0x2c33b4(0x1e1)];_0x5de28d[_0x2c33b4(0x206)](_0x2c33b4(0x1ed),_0x481513),_0x5de28d[_0x2c33b4(0x206)](_0x2c33b4(0x1bf),!0x1),this[_0x2c33b4(0x22f)]=_0x5de28d[_0x2c33b4(0x216)](_0x2c33b4(0x1bf));}[_0x29dc6e(0x1ca)](_0x1af468,_0x50e7fe){const _0x26c486=_0x29dc6e;0x0===this[_0x26c486(0x1b2)][_0x26c486(0x1ce)]&&setTimeout(()=>{const _0x25cc3a=_0x26c486;for(const [_0x1e81c1,_0x1a1afe]of this[_0x25cc3a(0x1b2)]){const _0x54b227=this[_0x25cc3a(0x1c8)][_0x25cc3a(0x231)](_0x1e81c1);_0x54b227||_0x1a1afe?_0x54b227&&_0x1a1afe&&this[_0x25cc3a(0x1c1)](_0x1e81c1):this[_0x25cc3a(0x1c2)](_0x1e81c1);}this[_0x25cc3a(0x1b2)][_0x25cc3a(0x1a6)](),this[_0x25cc3a(0x1e3)][_0x25cc3a(0x1b6)][_0x25cc3a(0x216)](_0x25cc3a(0x223))[_0x25cc3a(0x1ec)](),this[_0x25cc3a(0x1cf)]();},0xa),this[_0x26c486(0x1b2)][_0x26c486(0x212)](_0x1af468,_0x50e7fe);}[_0x29dc6e(0x208)](){const _0x47d497=_0x29dc6e,_0x68bfc6=this[_0x47d497(0x1e3)],_0x1d41fb=_0x68bfc6[_0x47d497(0x1b6)][_0x47d497(0x216)](_0x47d497(0x1bc)),_0x3c3e2e=_0x68bfc6[_0x47d497(0x1b6)][_0x47d497(0x216)](_0x47d497(0x20f)),_0x199cbd=_0x68bfc6[_0x47d497(0x1b6)][_0x47d497(0x216)](_0x47d497(0x223)),_0x52510d=_0x68bfc6[_0x47d497(0x1b6)][_0x47d497(0x216)](_0x47d497(0x1f5));this[_0x47d497(0x1ef)](),_0x199cbd[_0x47d497(0x1d7)](()=>{const _0xe86ab8=_0x47d497,_0x405042=[];for(const [_0x565d6c,_0x31d1a7]of Array[_0xe86ab8(0x1f4)](this[_0xe86ab8(0x1c8)])){const _0x41a584=_0x565d6c[_0xe86ab8(0x1cd)](),_0x5bf0af=[];for(const _0x47dc39 of _0x41a584){if(!_0x47dc39[_0xe86ab8(0x21b)])continue;if(_0x47dc39[_0xe86ab8(0x230)]){_0x5bf0af[_0xe86ab8(0x1a3)](..._0x47dc39[_0xe86ab8(0x1d3)]());continue;}const _0x2ab205=_0x47dc39[_0xe86ab8(0x1e2)]();if(_0x5bf0af[_0xe86ab8(0x1b3)]>0x0){const _0x43b754=_0x5bf0af[0x0][_0xe86ab8(0x1d6)](_0x2ab205);if(_0x43b754){_0x5bf0af[0x0]=_0x43b754;continue;}}_0x5bf0af[_0xe86ab8(0x1a3)](_0x2ab205);}_0x405042[_0xe86ab8(0x1a3)]([_0x31d1a7[_0xe86ab8(0x1dc)],_0x5bf0af]);}return _0x405042;}),this[_0x47d497(0x1a5)](_0x1d41fb,_0x47d497(0x211),(_0x3eea7d,_0x140e41)=>{const _0x563197=_0x47d497;this[_0x563197(0x1a5)](_0x140e41,_0x563197(0x1f7),(_0x278c2f,_0x24a916,_0x3e5b31,_0x202a2b)=>{const _0x37d71d=_0x563197;_0x140e41[_0x37d71d(0x21b)]&&(null==_0x3e5b31?(this[_0x37d71d(0x1cb)](_0x202a2b[_0x37d71d(0x22e)]),this[_0x37d71d(0x1ca)](_0x140e41,!0x1)):(this[_0x37d71d(0x1cb)](_0x3e5b31[_0x37d71d(0x22e)]),null==_0x202a2b&&this[_0x37d71d(0x1ca)](_0x140e41,!0x0)));}),null!==_0x140e41[_0x563197(0x1a9)]?this[_0x563197(0x1cb)](_0x140e41[_0x563197(0x22e)]):this[_0x563197(0x1ca)](_0x140e41,!0x1);}),this[_0x47d497(0x1a5)](_0x1d41fb,_0x47d497(0x1fa),(_0x1bfeb3,_0x2b988a,_0xd6206b)=>{const _0x166709=_0x47d497;this[_0x166709(0x21d)](_0x2b988a,_0x166709(0x1f7)),this[_0x166709(0x1b2)][_0x166709(0x215)](_0x2b988a),this[_0x166709(0x1c8)][_0x166709(0x231)](_0x2b988a)&&this[_0x166709(0x1c1)](_0x2b988a),_0xd6206b&&this[_0x166709(0x1cb)](_0xd6206b[_0x166709(0x22e)]);}),this[_0x47d497(0x1a5)](_0x1d41fb,_0x47d497(0x1ba),(_0x2cd109,_0x5427c2)=>{const _0x197f1c=_0x47d497;this[_0x197f1c(0x1cb)](_0x5427c2);}),this[_0x47d497(0x1a5)](_0x3c3e2e,_0x47d497(0x1eb),()=>{const _0x1f4ddf=_0x47d497;this[_0x1f4ddf(0x1cf)]();}),this[_0x47d497(0x1a5)](_0x52510d,_0x47d497(0x225),(_0x247f27,{threadId:_0x151c76,isFromAdapter:_0x3af3dd})=>{const _0x4311fd=_0x47d497;if(_0x3af3dd||!_0x1d41fb[_0x4311fd(0x1d9)](_0x151c76))return;const _0x87d9d9=_0x1d41fb[_0x4311fd(0x1cc)](_0x151c76);this[_0x4311fd(0x1c8)][_0x4311fd(0x216)](_0x87d9d9)[_0x4311fd(0x1dc)][_0x4311fd(0x21c)]();},{'priority':_0x47d497(0x20c)});}[_0x29dc6e(0x1cf)](){const _0x2b19de=_0x29dc6e,_0x1e7326=this[_0x2b19de(0x1e3)][_0x2b19de(0x1b6)][_0x2b19de(0x216)](_0x2b19de(0x20f)),_0x4f4d5b=this[_0x2b19de(0x1e3)][_0x2b19de(0x1b6)][_0x2b19de(0x216)](_0x2b19de(0x1bc)),_0x396df5=Array[_0x2b19de(0x1f4)](_0x1e7326[_0x2b19de(0x1f9)],_0x120497=>_0x120497[_0x2b19de(0x1aa)])[_0x2b19de(0x200)](_0x592ae5=>this[_0x2b19de(0x1ab)][_0x2b19de(0x231)](_0x592ae5)),_0x7fe40a=[];for(const _0x148ddd of _0x396df5){const _0x478793=this[_0x2b19de(0x1ab)][_0x2b19de(0x216)](_0x148ddd)[_0x2b19de(0x228)][_0x2b19de(0x1cd)]();_0x7fe40a[_0x2b19de(0x1a3)](..._0x478793[_0x2b19de(0x209)]((_0x527446,_0x58e222)=>[..._0x527446,..._0x58e222[_0x2b19de(0x1f6)]()],[]));}_0x4f4d5b[_0x2b19de(0x1d1)]=_0x7fe40a;}[_0x29dc6e(0x1ef)](){const _0x100d37=_0x29dc6e,_0x144bcd=this[_0x100d37(0x1e3)],_0x2f9a9c=_0x144bcd[_0x100d37(0x1b8)],_0x1f4c20=_0x82b176(_0x2f9a9c,_0x100d37(0x204)),_0x52584d=new _0x56be7e([{'type':_0x100d37(0x1b4),'model':new _0x166e44({'withText':!0x0,'label':_0x1f4c20,'commandName':_0x100d37(0x1d2),'role':_0x100d37(0x233)})},{'type':_0x100d37(0x210)},{'type':_0x100d37(0x1ff),'model':new _0x166e44({'withText':!0x0,'label':_0x82b176(_0x2f9a9c,_0x100d37(0x1db)),'commandName':_0x100d37(0x1b1),'role':_0x100d37(0x21e)})},{'type':_0x100d37(0x1ff),'model':new _0x166e44({'withText':!0x0,'label':_0x82b176(_0x2f9a9c,_0x100d37(0x1fe)),'commandName':_0x100d37(0x20a),'role':_0x100d37(0x21e)})},{'type':_0x100d37(0x1ff),'model':new _0x166e44({'withText':!0x0,'label':_0x82b176(_0x2f9a9c,_0x100d37(0x205)),'commandName':_0x100d37(0x1ea),'role':_0x100d37(0x21e)})},{'type':_0x100d37(0x1ff),'model':new _0x166e44({'withText':!0x0,'label':_0x82b176(_0x2f9a9c,_0x100d37(0x1e5)),'commandName':_0x100d37(0x1a8),'role':_0x100d37(0x21e)})}]);for(const _0x1789e9 of _0x52584d)if(ae(_0x1789e9)){const _0x1e3307=_0x144bcd[_0x100d37(0x1fd)][_0x100d37(0x216)](_0x1789e9[_0x100d37(0x228)][_0x100d37(0x1be)]);_0x1789e9[_0x100d37(0x228)][_0x100d37(0x21f)](_0x100d37(0x1f2),_0x100d37(0x203))['to'](_0x1e3307,_0x100d37(0x1c7),_0x100d37(0x203));}_0x144bcd['ui'][_0x100d37(0x1d8)][_0x100d37(0x20e)](_0x100d37(0x1d2),_0x507449=>this[_0x100d37(0x1a2)](_0x507449,_0x52584d,_0x1f4c20)),_0x144bcd['ui'][_0x100d37(0x1d8)][_0x100d37(0x20e)](_0x100d37(0x218),_0x3f0d26=>this[_0x100d37(0x1ae)](_0x3f0d26,_0x52584d,_0x1f4c20));}[_0x29dc6e(0x1a2)](_0xcb8b00,_0x2a9a06,_0x30eb4a){const _0x467ee6=_0x29dc6e,_0x51d5c7=_0x377c95(_0xcb8b00,_0x252bb1),_0x80168a=this[_0x467ee6(0x1e3)][_0x467ee6(0x1fd)][_0x467ee6(0x216)](_0x467ee6(0x1d2));_0x51d5c7[_0x467ee6(0x1b0)][_0x467ee6(0x212)]({'tooltip':_0x30eb4a,'label':_0x30eb4a,'icon':_0xfa1c8d}),_0x51d5c7[_0x467ee6(0x1b0)][_0x467ee6(0x21f)](_0x467ee6(0x1f2))['to'](_0x80168a,_0x467ee6(0x1c7)),_0x51d5c7[_0x467ee6(0x1b0)]['on'](_0x467ee6(0x1f0),()=>{const _0x209176=_0x467ee6;_0x80168a[_0x209176(0x1f0)](),this[_0x209176(0x1e3)][_0x209176(0x1df)][_0x209176(0x1dc)][_0x209176(0x21c)]();}),_0x352481(_0x51d5c7,_0x2a9a06,{'role':_0x467ee6(0x1af)});const _0x238378=[];for(const _0x5318dd of _0x2a9a06)ae(_0x5318dd)&&_0x238378[_0x467ee6(0x1a3)](this[_0x467ee6(0x1e3)][_0x467ee6(0x1fd)][_0x467ee6(0x216)](_0x5318dd[_0x467ee6(0x228)][_0x467ee6(0x1be)]));const _0x753d80=_0x51d5c7[_0x467ee6(0x1b0)];return _0x753d80[_0x467ee6(0x1b5)][_0x467ee6(0x1ee)](_0x467ee6(0x203)),_0x753d80[_0x467ee6(0x1ac)][_0x467ee6(0x1ee)](_0x467ee6(0x203)),_0x753d80[_0x467ee6(0x1b5)][_0x467ee6(0x21f)](_0x467ee6(0x203))['to'](_0x80168a,_0x467ee6(0x203)),_0x753d80[_0x467ee6(0x1ac)][_0x467ee6(0x21f)](_0x467ee6(0x203))[_0x467ee6(0x1fc)](_0x238378,_0x467ee6(0x203),(..._0x55b420)=>_0x55b420[_0x467ee6(0x222)](_0x15393a=>_0x15393a)),_0x51d5c7['on'](_0x467ee6(0x1f0),_0x184144=>{const _0x135723=_0x467ee6;this[_0x135723(0x1e3)][_0x135723(0x1f0)](_0x184144[_0x135723(0x1f8)][_0x135723(0x1be)]),this[_0x135723(0x1e3)][_0x135723(0x1df)][_0x135723(0x1dc)][_0x135723(0x21c)]();}),_0x51d5c7;}[_0x29dc6e(0x1ae)](_0x5d3702,_0x3e313b,_0x39c67d){const _0x40deed=_0x29dc6e,_0x5599a6=new _0x5a1623(_0x5d3702),_0x5f1280=this[_0x40deed(0x1e3)][_0x40deed(0x1fd)][_0x40deed(0x216)](_0x40deed(0x1d2));_0x5599a6[_0x40deed(0x1b0)][_0x40deed(0x212)]({'label':_0x39c67d,'icon':_0xfa1c8d});const _0x51bea1=new _0xced2db(_0x5d3702);for(const _0x1d938d of _0x3e313b){if(_0x40deed(0x210)==_0x1d938d[_0x40deed(0x1f1)]){_0x51bea1[_0x40deed(0x202)][_0x40deed(0x20e)](new _0xc8fdd(_0x5d3702));continue;}const _0x3dcffa=new _0x17c206(_0x5d3702,_0x5599a6),_0x3f3584=new _0x94bc32(_0x5d3702),_0x5cb55d=_0x1d938d[_0x40deed(0x228)];_0x3f3584[_0x40deed(0x21f)](...Object[_0x40deed(0x226)](_0x5cb55d))['to'](_0x5cb55d),_0x3f3584[_0x40deed(0x1e6)](_0x40deed(0x1f0))['to'](_0x5599a6),_0x3f3584['on'](_0x40deed(0x1f0),()=>{const _0x1e984f=_0x40deed;this[_0x1e984f(0x1e3)][_0x1e984f(0x1f0)](_0x5cb55d[_0x1e984f(0x1be)]),this[_0x1e984f(0x1e3)][_0x1e984f(0x1df)][_0x1e984f(0x1dc)][_0x1e984f(0x21c)]();}),_0x3dcffa[_0x40deed(0x20b)][_0x40deed(0x20e)](_0x3f3584),_0x51bea1[_0x40deed(0x202)][_0x40deed(0x20e)](_0x3dcffa);}return _0x5599a6[_0x40deed(0x21f)](_0x40deed(0x203))['to'](_0x5f1280,_0x40deed(0x203)),_0x5599a6[_0x40deed(0x1dd)][_0x40deed(0x20b)][_0x40deed(0x20e)](_0x51bea1),_0x5599a6;}[_0x29dc6e(0x1c2)](_0x6be6cc){const _0x118b74=_0x29dc6e,_0xe98bc9=this[_0x118b74(0x1e3)],_0x294915=_0xe98bc9[_0x118b74(0x1e1)],_0x49d3ce=_0xe98bc9[_0x118b74(0x1b6)][_0x118b74(0x216)](_0x118b74(0x20f)),_0x574c74=_0xe98bc9[_0x118b74(0x1b6)][_0x118b74(0x216)](_0x118b74(0x1f5)),_0x52c122=_0xe98bc9[_0x118b74(0x1b6)][_0x118b74(0x216)](_0x118b74(0x223)),_0x1119c0=_0xe98bc9[_0x118b74(0x1b6)][_0x118b74(0x216)](_0x5b12cb)['me'],_0xbfae3=_0x294915[_0x118b74(0x216)](_0x118b74(0x1d2))[_0x118b74(0x214)],{CommentsListView:_0x207570,CommentThreadInputView:_0x27eef1}=_0xe98bc9[_0x118b74(0x1b6)][_0x118b74(0x216)](_0x118b74(0x21a));let _0x291cf5,_0x1d22c1;this[_0x118b74(0x1d5)][_0x118b74(0x231)](_0x6be6cc['id'])?(_0x1d22c1=this[_0x118b74(0x1d5)][_0x118b74(0x216)](_0x6be6cc['id']),_0x291cf5=_0x1d22c1[_0x118b74(0x1e7)]):(_0x291cf5=new _0xbfae3(_0xe98bc9[_0x118b74(0x1b8)],_0x6be6cc,_0x1119c0,{'disableComments':this[_0x118b74(0x22f)],'editorConfig':_0x294915[_0x118b74(0x216)](_0x118b74(0x232)),'maxCommentsWhenCollapsed':_0x294915[_0x118b74(0x216)](_0x118b74(0x1c9)),'maxThreadTotalWeight':_0x294915[_0x118b74(0x216)](_0x118b74(0x22b)),'maxCommentCharsWhenCollapsed':_0x294915[_0x118b74(0x216)](_0x118b74(0x1d4)),'formatDateTime':_0x523ce2(_0x294915[_0x118b74(0x216)](_0x118b74(0x1b8))),'CommentView':_0x294915[_0x118b74(0x216)](_0x118b74(0x1e0))[_0x118b74(0x1e4)],'CommentsListView':_0x207570,'CommentThreadInputView':_0x27eef1}),_0x291cf5[_0x118b74(0x229)]['on'](_0x118b74(0x1f0),()=>{const _0x405260=_0x118b74;_0xe98bc9[_0x405260(0x1df)][_0x405260(0x1dc)][_0x405260(0x21c)]();}),_0x291cf5[_0x118b74(0x1f3)]['on'](_0x118b74(0x1f0),()=>{const _0x3c1b24=_0x118b74;_0xe98bc9[_0x3c1b24(0x1df)][_0x3c1b24(0x1dc)][_0x3c1b24(0x21c)]();}),_0x1d22c1=_0x49d3ce[_0x118b74(0x1c6)](this[_0x118b74(0x1e3)][_0x118b74(0x1b8)],_0x291cf5),_0x1d22c1[_0x118b74(0x21f)](_0x118b74(0x1de))['to'](_0x291cf5,_0x118b74(0x1de)),_0x1d22c1[_0x118b74(0x21f)](_0x118b74(0x1b3))['to'](_0x291cf5),_0x1d22c1[_0x118b74(0x21f)](_0x118b74(0x1f1))['to'](_0x291cf5,_0x118b74(0x1f1),_0x32d30d=>_0x118b74(0x1c0)+_0x32d30d),this[_0x118b74(0x1d5)][_0x118b74(0x212)](_0x6be6cc['id'],_0x1d22c1));const _0x2afc58=_0x574c74[_0x118b74(0x224)](_0x6be6cc[_0x118b74(0x20d)],_0x291cf5),_0x12a84e=new _0x6e17db(_0xe98bc9,_0x6be6cc,_0x291cf5,_0x2afc58),_0x2c0b18=_0x6be6cc[_0x118b74(0x1cd)]()[_0x118b74(0x200)](_0x3373ce=>_0x3373ce[_0x118b74(0x21b)]);_0x291cf5[_0x118b74(0x1fb)]=_0xe98bc9[_0x118b74(0x1b6)][_0x118b74(0x216)](_0x118b74(0x1bc))[_0x118b74(0x1a7)][_0x118b74(0x217)](_0x2c0b18),this[_0x118b74(0x1c8)][_0x118b74(0x212)](_0x6be6cc,_0x12a84e),this[_0x118b74(0x1ab)][_0x118b74(0x212)](_0x291cf5,_0x12a84e);const _0x3f8757=_0x49d3ce[_0x118b74(0x213)]({'view':_0x1d22c1,'target':()=>{const _0x458ae6=_0x118b74,_0x579457=[],_0x21ea81=_0x6be6cc[_0x458ae6(0x1cd)]()[_0x458ae6(0x200)](_0x56543f=>_0x56543f[_0x458ae6(0x21b)]);for(const _0x3b482e of _0x21ea81)_0x579457[_0x458ae6(0x1a3)](..._0x3b482e[_0x458ae6(0x220)]());return _0x5764cc(_0xe98bc9[_0x458ae6(0x1df)],_0x579457);},'type':()=>_0x118b74(0x1c0)+_0x12a84e[_0x118b74(0x1dc)][_0x118b74(0x1f1)]});_0x574c74[_0x118b74(0x1bb)](_0x291cf5,_0x3f8757),_0x49d3ce[_0x118b74(0x20e)](_0x3f8757),_0x52c122[_0x118b74(0x1c5)](_0x3f8757);}[_0x29dc6e(0x1c1)](_0x509c65){const _0x1283ef=_0x29dc6e,_0x5017ee=this[_0x1283ef(0x1e3)][_0x1283ef(0x1b6)][_0x1283ef(0x216)](_0x1283ef(0x1f5)),_0xa425ad=this[_0x1283ef(0x1e3)][_0x1283ef(0x1b6)][_0x1283ef(0x216)](_0x1283ef(0x20f)),_0x3e3529=this[_0x1283ef(0x1c8)][_0x1283ef(0x216)](_0x509c65),_0x21aed8=_0x3e3529[_0x1283ef(0x1dc)],_0x29cda7=_0xa425ad[_0x1283ef(0x1d0)](_0x21aed8);_0x5017ee[_0x1283ef(0x1c3)](_0x21aed8),_0x29cda7&&_0xa425ad[_0x1283ef(0x219)](_0x29cda7),this[_0x1283ef(0x1c8)][_0x1283ef(0x215)](_0x509c65),this[_0x1283ef(0x1ab)][_0x1283ef(0x215)](_0x21aed8),_0x3e3529[_0x1283ef(0x1da)]();}[_0x29dc6e(0x1cb)](_0x57c081){const _0x11de38=_0x29dc6e;if(!_0x57c081[_0x11de38(0x21b)]||!this[_0x11de38(0x1c8)][_0x11de38(0x231)](_0x57c081))return;const _0x5646d7=this[_0x11de38(0x1e3)][_0x11de38(0x1b6)][_0x11de38(0x216)](_0x11de38(0x1bc)),_0x5d4a0b=this[_0x11de38(0x1c8)][_0x11de38(0x216)](_0x57c081),_0x1d9d6d=_0x57c081[_0x11de38(0x1cd)]();_0x5d4a0b[_0x11de38(0x1dc)][_0x11de38(0x1fb)]=_0x5646d7[_0x11de38(0x1a7)][_0x11de38(0x217)](_0x1d9d6d);}[_0x29dc6e(0x1da)](){const _0x6cece4=_0x29dc6e;for(const _0x9bba18 of this[_0x6cece4(0x1c8)][_0x6cece4(0x226)]())this[_0x6cece4(0x1c1)](_0x9bba18);for(const _0x49fc68 of this[_0x6cece4(0x1d5)][_0x6cece4(0x1b9)]())_0x49fc68[_0x6cece4(0x1e7)][_0x6cece4(0x1da)]();super[_0x6cece4(0x1da)]();}}function ae(_0xb672fa){const _0x48d481=_0x29dc6e;return _0x48d481(0x228)in _0xb672fa;}
|
|
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
|
-
const
|
|
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(_0x34bd88,_0x5b8a7a,_0x23063c){const t=_0x34bd88['t'];switch(_0x5b8a7a){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',_0x23063c);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x23063c);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x23063c);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x23063c);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x23063c);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',_0x23063c);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x23063c);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',_0x23063c);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x23063c);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x23063c);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x23063c);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x23063c);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x23063c);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x23063c);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x23063c);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x23063c);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x23063c);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x23063c);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x23063c);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x23063c);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x23063c);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x23063c);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x23063c);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'},_0x23063c);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x23063c);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x23063c);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x23063c);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x23063c);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x23063c);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'},_0x23063c);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x23063c);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x23063c);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x23063c);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x23063c);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'},_0x23063c);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x23063c);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'},_0x23063c);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'},_0x23063c);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x23063c);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'},_0x23063c);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x23063c);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'},_0x23063c);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x23063c);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x23063c);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'},_0x23063c);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'},_0x23063c);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 _0x5b8a7a;}}
|
|
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']);});}}
|