@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240715.0 → 0.0.0-nightly-20240717.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/CHANGELOG.md +1 -203
- 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/dist/types/integrations/mergefields.d.ts +21 -0
- package/dist/types/trackchangesediting.d.ts +2 -1
- package/lang/contexts.json +1 -0
- 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/mergefields.d.ts +17 -0
- package/src/integrations/mergefields.js +23 -0
- 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.d.ts +2 -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 _0x3a72fd=_0xcf89;function _0x34c1(){const _0x42c1d5=['comments.editorConfig','define','actionView','registerAnnotation','componentFactory','_suggestionToController','head','6602995qksTEH','descriptionParts','menuBar:trackChanges','isDirty','value','menu','acceptButton','unbind','addSourceCollector','276AfvFcI','trackChanges','source','activeMarkers','27Wyxloy','mainView','get','suggestionChanged','switchbutton','isMultiRange','editor','createAnnotation','commandName','children','innerView','_disableComments','TrackChangesEditing','pluginName','getDescriptions','destroy','137627JootJR','Accept\x20all\x20selected\x20suggestions','type','from','getByInnerView','isInContent','1814661nWcnbH','3016040avrqhr','set','commentThread','toMany','getAllAdjacentSuggestions','focus','acceptAllSuggestions','_refreshActiveMarkers','separator','has','editing','CommentView','add','_initializeController','acceptSelectedSuggestions','remove','Discard\x20all\x20suggestions','commands','EditorAnnotations','_destroyController','lowest','init','_createToolbarButton','_handleControllerBuffer','stopListening','size','_handleSuggestionControllerDelayed','10981610oWfiuy','listenTo','discardButton','Discard\x20all\x20selected\x20suggestions','items','view','_createMenuBarMenu','locale','comments','createAnnotationView','Track\x20changes','length','refreshSelectedViews','_updateController','values','hasSuggestion','getSuggestion','arrowView','delete','_bindAnnotationToEditors','getRanges','getFirstRange','8nQEQpr','model','config','panelView','CommentsUI','createCommentThreadController','addComment','bind','menuitem','descriptionFactory','comments.maxCommentCharsWhenCollapsed','execute','menuitemcheckbox','suggestionUnloaded','plugins','change:activeAnnotations','getJoined','12764856nrSzIx','_viewToController','discardAllSuggestions','comments.maxThreadTotalWeight','button','11cGhBJl','delegate','keys','Annotations','_annotationViews','_unbindEditors','reduce','SuggestionThreadView','requires','comments.maxCommentsWhenCollapsed','buttonView','trackChanges.SuggestionThreadView','trackChanges.disableComments','discardSelectedSuggestions','CommentsRepository','activeAnnotations','isOn','clear','_addUIComponentsToFactory','filter','some','getMarkers','push','previous','suggestion-','TrackChangesUI','Accept\x20all\x20suggestions','16BIJlaq','suggestionLoaded','getMarkerNames','change:previous','isEnabled','47123vFESTw'];_0x34c1=function(){return _0x42c1d5;};return _0x34c1();}(function(_0x565d79,_0x2242b8){const _0x578a4b=_0xcf89,_0x255954=_0x565d79();while(!![]){try{const _0x136147=-parseInt(_0x578a4b(0xf5))/0x1*(-parseInt(_0x578a4b(0xf0))/0x2)+-parseInt(_0x578a4b(0x8d))/0x3*(-parseInt(_0x578a4b(0xbf))/0x4)+parseInt(_0x578a4b(0xfd))/0x5+parseInt(_0x578a4b(0x106))/0x6*(-parseInt(_0x578a4b(0x11a))/0x7)+parseInt(_0x578a4b(0x8e))/0x8*(-parseInt(_0x578a4b(0x10a))/0x9)+-parseInt(_0x578a4b(0xa9))/0xa*(-parseInt(_0x578a4b(0xd5))/0xb)+-parseInt(_0x578a4b(0xd0))/0xc;if(_0x136147===_0x2242b8)break;else _0x255954['push'](_0x255954['shift']());}catch(_0x5f4878){_0x255954['push'](_0x255954['shift']());}}}(_0x34c1,0xdd477));import{Plugin as _0x1cdbc4}from'ckeditor5/src/core.js';import{Collection as _0x27625e}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x28c371,createDropdown as _0x221d45,ListSeparatorView as _0x46a27d,MenuBarMenuView as _0x5aac88,MenuBarMenuListView as _0x332f69,MenuBarMenuListItemView as _0x447ed4,MenuBarMenuListItemButtonView as _0x327976,SplitButtonView as _0x303f6b,ViewModel as _0xd200b6}from'ckeditor5/src/ui.js';import{Users as _0x168b20,getDateTimeFormatter as _0x49e7ba,getAllMarkersDomElementsSorted as _0x6006d4}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x161f12 from'./trackchangesediting.js';import _0x416039 from'./ui/suggestioncontroller.js';function _0xcf89(_0x1d4d78,_0x43329e){const _0x34c1dc=_0x34c1();return _0xcf89=function(_0xcf896,_0x4b4a4b){_0xcf896=_0xcf896-0x8c;let _0x19782d=_0x34c1dc[_0xcf896];return _0x19782d;},_0xcf89(_0x1d4d78,_0x43329e);}import _0x1e51e6 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x298eaa}from'./utils/common-translations.js';import _0x544bf6 from'../theme/icons/track-changes.svg';export default class d extends _0x1cdbc4{static get[_0x3a72fd(0xdd)](){const _0x964dc0=_0x3a72fd;return[_0x161f12,_0x168b20,_0x964dc0(0xe3),_0x964dc0(0xd8),_0x964dc0(0xa0)];}static get[_0x3a72fd(0x117)](){const _0x5a1964=_0x3a72fd;return _0x5a1964(0xee);}constructor(_0x4e0e85){const _0x486d6a=_0x3a72fd;super(_0x4e0e85),this[_0x486d6a(0xfb)]=new Map(),this[_0x486d6a(0xd1)]=new Map(),this[_0x486d6a(0xd9)]=new Map(),this[_0x486d6a(0xa5)]=new Map();const _0x3345fc=this[_0x486d6a(0x110)][_0x486d6a(0xc1)];_0x3345fc[_0x486d6a(0xf7)](_0x486d6a(0xe0),_0x1e51e6),_0x3345fc[_0x486d6a(0xf7)](_0x486d6a(0xe1),!0x1),this[_0x486d6a(0x115)]=_0x3345fc[_0x486d6a(0x10c)](_0x486d6a(0xe1));}[_0x3a72fd(0xa8)](_0x1a150c,_0x47c13c){const _0x528bb9=_0x3a72fd;0x0===this[_0x528bb9(0xa5)][_0x528bb9(0xa7)]&&setTimeout(()=>{const _0x46b53e=_0x528bb9;for(const [_0x4f9159,_0x31b882]of this[_0x46b53e(0xa5)]){const _0xcbe7a5=this[_0x46b53e(0xfb)][_0x46b53e(0x97)](_0x4f9159);_0xcbe7a5||_0x31b882?_0xcbe7a5&&_0x31b882&&this[_0x46b53e(0xa1)](_0x4f9159):this[_0x46b53e(0x9b)](_0x4f9159);}this[_0x46b53e(0xa5)][_0x46b53e(0xe6)](),this[_0x46b53e(0x110)][_0x46b53e(0xcd)][_0x46b53e(0x10c)](_0x46b53e(0xa0))[_0x46b53e(0xb5)](),this[_0x46b53e(0x95)]();},0xa),this[_0x528bb9(0xa5)][_0x528bb9(0x8f)](_0x1a150c,_0x47c13c);}[_0x3a72fd(0xa3)](){const _0x5da4ce=_0x3a72fd,_0x5a25d5=this[_0x5da4ce(0x110)],_0x4c3751=_0x5a25d5[_0x5da4ce(0xcd)][_0x5da4ce(0x10c)](_0x5da4ce(0x116)),_0x4f96b2=_0x5a25d5[_0x5da4ce(0xcd)][_0x5da4ce(0x10c)](_0x5da4ce(0xd8)),_0x18ceb3=_0x5a25d5[_0x5da4ce(0xcd)][_0x5da4ce(0x10c)](_0x5da4ce(0xa0)),_0x5d0733=_0x5a25d5[_0x5da4ce(0xcd)][_0x5da4ce(0x10c)](_0x5da4ce(0xe3));this[_0x5da4ce(0xe7)](),_0x18ceb3[_0x5da4ce(0x105)](()=>{const _0x589534=_0x5da4ce,_0x374a4b=[];for(const [_0x1ba6a9,_0x311732]of Array[_0x589534(0x11d)](this[_0x589534(0xfb)])){const _0xe12d37=_0x1ba6a9[_0x589534(0x92)](),_0x5d19fc=[];for(const _0x7678a of _0xe12d37){if(!_0x7678a[_0x589534(0x8c)])continue;if(_0x7678a[_0x589534(0x10f)]){_0x5d19fc[_0x589534(0xeb)](..._0x7678a[_0x589534(0xbd)]());continue;}const _0x13d1f7=_0x7678a[_0x589534(0xbe)]();if(_0x5d19fc[_0x589534(0xb4)]>0x0){const _0x4dba58=_0x5d19fc[0x0][_0x589534(0xcf)](_0x13d1f7);if(_0x4dba58){_0x5d19fc[0x0]=_0x4dba58;continue;}}_0x5d19fc[_0x589534(0xeb)](_0x13d1f7);}_0x374a4b[_0x589534(0xeb)]([_0x311732[_0x589534(0xae)],_0x5d19fc]);}return _0x374a4b;}),this[_0x5da4ce(0xaa)](_0x4c3751,_0x5da4ce(0xf1),(_0x4d12b5,_0x250f6e)=>{const _0x149f42=_0x5da4ce;this[_0x149f42(0xaa)](_0x250f6e,_0x149f42(0xf3),(_0x91d31a,_0x3b7760,_0x106151,_0x1566c9)=>{const _0x2173c9=_0x149f42;_0x250f6e[_0x2173c9(0x8c)]&&(null==_0x106151?(this[_0x2173c9(0xb6)](_0x1566c9[_0x2173c9(0xfc)]),this[_0x2173c9(0xa8)](_0x250f6e,!0x1)):(this[_0x2173c9(0xb6)](_0x106151[_0x2173c9(0xfc)]),null==_0x1566c9&&this[_0x2173c9(0xa8)](_0x250f6e,!0x0)));}),null!==_0x250f6e[_0x149f42(0xec)]?this[_0x149f42(0xb6)](_0x250f6e[_0x149f42(0xfc)]):this[_0x149f42(0xa8)](_0x250f6e,!0x1);}),this[_0x5da4ce(0xaa)](_0x4c3751,_0x5da4ce(0xcc),(_0x181215,_0x567cf7,_0x16d681)=>{const _0x59ae3d=_0x5da4ce;this[_0x59ae3d(0xa6)](_0x567cf7,_0x59ae3d(0xf3)),this[_0x59ae3d(0xa5)][_0x59ae3d(0xbb)](_0x567cf7),this[_0x59ae3d(0xfb)][_0x59ae3d(0x97)](_0x567cf7)&&this[_0x59ae3d(0xa1)](_0x567cf7),_0x16d681&&this[_0x59ae3d(0xb6)](_0x16d681[_0x59ae3d(0xfc)]);}),this[_0x5da4ce(0xaa)](_0x4c3751,_0x5da4ce(0x10d),(_0x341bdc,_0x58b9f0)=>{const _0x192151=_0x5da4ce;this[_0x192151(0xb6)](_0x58b9f0);}),this[_0x5da4ce(0xaa)](_0x4f96b2,_0x5da4ce(0xce),()=>{const _0x4d5bc7=_0x5da4ce;this[_0x4d5bc7(0x95)]();}),this[_0x5da4ce(0xaa)](_0x5d0733,_0x5da4ce(0xc5),(_0xdf3606,{threadId:_0x5374e3,isFromAdapter:_0x22be2c})=>{const _0x2782ae=_0x5da4ce;if(_0x22be2c||!_0x4c3751[_0x2782ae(0xb8)](_0x5374e3))return;const _0x117ada=_0x4c3751[_0x2782ae(0xb9)](_0x5374e3);this[_0x2782ae(0xfb)][_0x2782ae(0x10c)](_0x117ada)[_0x2782ae(0xae)][_0x2782ae(0x93)]();},{'priority':_0x5da4ce(0xa2)});}[_0x3a72fd(0x95)](){const _0x361763=_0x3a72fd,_0x77d996=this[_0x361763(0x110)][_0x361763(0xcd)][_0x361763(0x10c)](_0x361763(0xd8)),_0x32e216=this[_0x361763(0x110)][_0x361763(0xcd)][_0x361763(0x10c)](_0x361763(0x116)),_0x28d238=Array[_0x361763(0x11d)](_0x77d996[_0x361763(0xe4)],_0x3806f1=>_0x3806f1[_0x361763(0x114)])[_0x361763(0xe8)](_0x2d682e=>this[_0x361763(0xd1)][_0x361763(0x97)](_0x2d682e)),_0x3faf4a=[];for(const _0x36b983 of _0x28d238){const _0x2abab3=this[_0x361763(0xd1)][_0x361763(0x10c)](_0x36b983)[_0x361763(0xc0)][_0x361763(0x92)]();_0x3faf4a[_0x361763(0xeb)](..._0x2abab3[_0x361763(0xdb)]((_0x47f82a,_0x1cb1bc)=>[..._0x47f82a,..._0x1cb1bc[_0x361763(0xf2)]()],[]));}_0x32e216[_0x361763(0x109)]=_0x3faf4a;}[_0x3a72fd(0xe7)](){const _0x2ea85d=_0x3a72fd,_0x362f0b=this[_0x2ea85d(0x110)],_0x5b1f5d=_0x362f0b[_0x2ea85d(0xb0)],_0x456e82=_0x298eaa(_0x5b1f5d,_0x2ea85d(0xb3)),_0x4a31ef=new _0x27625e([{'type':_0x2ea85d(0x10e),'model':new _0xd200b6({'withText':!0x0,'isToggleable':!0x0,'label':_0x456e82,'commandName':_0x2ea85d(0x107),'role':_0x2ea85d(0xcb)})},{'type':_0x2ea85d(0x96)},{'type':_0x2ea85d(0xd4),'model':new _0xd200b6({'withText':!0x0,'label':_0x298eaa(_0x5b1f5d,_0x2ea85d(0xef)),'commandName':_0x2ea85d(0x94),'role':_0x2ea85d(0xc7)})},{'type':_0x2ea85d(0xd4),'model':new _0xd200b6({'withText':!0x0,'label':_0x298eaa(_0x5b1f5d,_0x2ea85d(0x11b)),'commandName':_0x2ea85d(0x9c),'role':_0x2ea85d(0xc7)})},{'type':_0x2ea85d(0xd4),'model':new _0xd200b6({'withText':!0x0,'label':_0x298eaa(_0x5b1f5d,_0x2ea85d(0x9e)),'commandName':_0x2ea85d(0xd2),'role':_0x2ea85d(0xc7)})},{'type':_0x2ea85d(0xd4),'model':new _0xd200b6({'withText':!0x0,'label':_0x298eaa(_0x5b1f5d,_0x2ea85d(0xac)),'commandName':_0x2ea85d(0xe2),'role':_0x2ea85d(0xc7)})}]);for(const _0x56d476 of _0x4a31ef)if(ae(_0x56d476)){const _0x123102=_0x362f0b[_0x2ea85d(0x9f)][_0x2ea85d(0x10c)](_0x56d476[_0x2ea85d(0xc0)][_0x2ea85d(0x112)]);_0x56d476[_0x2ea85d(0xc0)][_0x2ea85d(0xc6)](_0x2ea85d(0xe5),_0x2ea85d(0xf4))['to'](_0x123102,_0x2ea85d(0x101),_0x2ea85d(0xf4));}_0x362f0b['ui'][_0x2ea85d(0xfa)][_0x2ea85d(0x9a)](_0x2ea85d(0x107),_0x5c3a36=>this[_0x2ea85d(0xa4)](_0x5c3a36,_0x4a31ef,_0x456e82)),_0x362f0b['ui'][_0x2ea85d(0xfa)][_0x2ea85d(0x9a)](_0x2ea85d(0xff),_0x4ba50f=>this[_0x2ea85d(0xaf)](_0x4ba50f,_0x4a31ef,_0x456e82));}[_0x3a72fd(0xa4)](_0x488312,_0x17a838,_0x5af873){const _0x4f3093=_0x3a72fd,_0x217bb7=_0x221d45(_0x488312,_0x303f6b),_0x474dea=this[_0x4f3093(0x110)][_0x4f3093(0x9f)][_0x4f3093(0x10c)](_0x4f3093(0x107));_0x217bb7[_0x4f3093(0xdf)][_0x4f3093(0x8f)]({'tooltip':_0x5af873,'label':_0x5af873,'icon':_0x544bf6}),_0x217bb7[_0x4f3093(0xdf)][_0x4f3093(0xc6)](_0x4f3093(0xe5))['to'](_0x474dea,_0x4f3093(0x101)),_0x217bb7[_0x4f3093(0xdf)]['on'](_0x4f3093(0xca),()=>{const _0x123023=_0x4f3093;_0x474dea[_0x123023(0xca)](),this[_0x123023(0x110)][_0x123023(0x98)][_0x123023(0xae)][_0x123023(0x93)]();}),_0x28c371(_0x217bb7,_0x17a838,{'role':_0x4f3093(0x102)});const _0x2fc080=[];for(const _0x4716a2 of _0x17a838)ae(_0x4716a2)&&_0x2fc080[_0x4f3093(0xeb)](this[_0x4f3093(0x110)][_0x4f3093(0x9f)][_0x4f3093(0x10c)](_0x4716a2[_0x4f3093(0xc0)][_0x4f3093(0x112)]));const _0x579a43=_0x217bb7[_0x4f3093(0xdf)];return _0x579a43[_0x4f3093(0xf8)][_0x4f3093(0x104)](_0x4f3093(0xf4)),_0x579a43[_0x4f3093(0xba)][_0x4f3093(0x104)](_0x4f3093(0xf4)),_0x579a43[_0x4f3093(0xf8)][_0x4f3093(0xc6)](_0x4f3093(0xf4))['to'](_0x474dea,_0x4f3093(0xf4)),_0x579a43[_0x4f3093(0xba)][_0x4f3093(0xc6)](_0x4f3093(0xf4))[_0x4f3093(0x91)](_0x2fc080,_0x4f3093(0xf4),(..._0x310f52)=>_0x310f52[_0x4f3093(0xe9)](_0x18eb17=>_0x18eb17)),_0x217bb7['on'](_0x4f3093(0xca),_0x2067a3=>{const _0x4b3c49=_0x4f3093;this[_0x4b3c49(0x110)][_0x4b3c49(0xca)](_0x2067a3[_0x4b3c49(0x108)][_0x4b3c49(0x112)]),this[_0x4b3c49(0x110)][_0x4b3c49(0x98)][_0x4b3c49(0xae)][_0x4b3c49(0x93)]();}),_0x217bb7;}[_0x3a72fd(0xaf)](_0x38ad64,_0x2bb271,_0x151072){const _0xa1bbc9=_0x3a72fd,_0x19dda3=new _0x5aac88(_0x38ad64),_0x678f8c=this[_0xa1bbc9(0x110)][_0xa1bbc9(0x9f)][_0xa1bbc9(0x10c)](_0xa1bbc9(0x107));_0x19dda3[_0xa1bbc9(0xdf)][_0xa1bbc9(0x8f)]({'label':_0x151072,'icon':_0x544bf6});const _0x35379a=new _0x332f69(_0x38ad64);for(const _0x41cdb7 of _0x2bb271){if(_0xa1bbc9(0x96)==_0x41cdb7[_0xa1bbc9(0x11c)]){_0x35379a[_0xa1bbc9(0xad)][_0xa1bbc9(0x9a)](new _0x46a27d(_0x38ad64));continue;}const _0x295582=new _0x447ed4(_0x38ad64,_0x19dda3),_0x581352=new _0x327976(_0x38ad64),_0xd7518c=_0x41cdb7[_0xa1bbc9(0xc0)];_0x581352[_0xa1bbc9(0xc6)](...Object[_0xa1bbc9(0xd7)](_0xd7518c))['to'](_0xd7518c),_0x581352[_0xa1bbc9(0xd6)](_0xa1bbc9(0xca))['to'](_0x19dda3),_0x581352['on'](_0xa1bbc9(0xca),()=>{const _0x112e19=_0xa1bbc9;this[_0x112e19(0x110)][_0x112e19(0xca)](_0xd7518c[_0x112e19(0x112)]),this[_0x112e19(0x110)][_0x112e19(0x98)][_0x112e19(0xae)][_0x112e19(0x93)]();}),_0x295582[_0xa1bbc9(0x113)][_0xa1bbc9(0x9a)](_0x581352),_0x35379a[_0xa1bbc9(0xad)][_0xa1bbc9(0x9a)](_0x295582);}return _0x19dda3[_0xa1bbc9(0xc6)](_0xa1bbc9(0xf4))['to'](_0x678f8c,_0xa1bbc9(0xf4)),_0x19dda3[_0xa1bbc9(0xc2)][_0xa1bbc9(0x113)][_0xa1bbc9(0x9a)](_0x35379a),_0x19dda3;}[_0x3a72fd(0x9b)](_0xb518f7){const _0xa910ad=_0x3a72fd,_0x4d215d=this[_0xa910ad(0x110)],_0x48e233=_0x4d215d[_0xa910ad(0xc1)],_0x3d57c3=_0x4d215d[_0xa910ad(0xcd)][_0xa910ad(0x10c)](_0xa910ad(0xd8)),_0x59948b=_0x4d215d[_0xa910ad(0xcd)][_0xa910ad(0x10c)](_0xa910ad(0xe3)),_0x1b3a35=_0x4d215d[_0xa910ad(0xcd)][_0xa910ad(0x10c)](_0xa910ad(0xa0)),_0x58b5c3=_0x4d215d[_0xa910ad(0xcd)][_0xa910ad(0x10c)](_0x168b20)['me'],_0x1a5cec=_0x48e233[_0xa910ad(0x10c)](_0xa910ad(0x107))[_0xa910ad(0xdc)],{CommentsListView:_0x1f1f99,CommentThreadInputView:_0x2d9762}=_0x4d215d[_0xa910ad(0xcd)][_0xa910ad(0x10c)](_0xa910ad(0xc3));let _0x2bef89,_0x91eb68;this[_0xa910ad(0xd9)][_0xa910ad(0x97)](_0xb518f7['id'])?(_0x91eb68=this[_0xa910ad(0xd9)][_0xa910ad(0x10c)](_0xb518f7['id']),_0x2bef89=_0x91eb68[_0xa910ad(0x10b)]):(_0x2bef89=new _0x1a5cec(_0x4d215d[_0xa910ad(0xb0)],_0xb518f7,_0x58b5c3,{'disableComments':this[_0xa910ad(0x115)],'editorConfig':_0x48e233[_0xa910ad(0x10c)](_0xa910ad(0xf6)),'maxCommentsWhenCollapsed':_0x48e233[_0xa910ad(0x10c)](_0xa910ad(0xde)),'maxThreadTotalWeight':_0x48e233[_0xa910ad(0x10c)](_0xa910ad(0xd3)),'maxCommentCharsWhenCollapsed':_0x48e233[_0xa910ad(0x10c)](_0xa910ad(0xc9)),'formatDateTime':_0x49e7ba(_0x48e233[_0xa910ad(0x10c)](_0xa910ad(0xb0))),'CommentView':_0x48e233[_0xa910ad(0x10c)](_0xa910ad(0xb1))[_0xa910ad(0x99)],'CommentsListView':_0x1f1f99,'CommentThreadInputView':_0x2d9762}),_0x2bef89[_0xa910ad(0x103)]['on'](_0xa910ad(0xca),()=>{const _0x6f4c3c=_0xa910ad;_0x4d215d[_0x6f4c3c(0x98)][_0x6f4c3c(0xae)][_0x6f4c3c(0x93)]();}),_0x2bef89[_0xa910ad(0xab)]['on'](_0xa910ad(0xca),()=>{const _0x4c5553=_0xa910ad;_0x4d215d[_0x4c5553(0x98)][_0x4c5553(0xae)][_0x4c5553(0x93)]();}),_0x91eb68=_0x3d57c3[_0xa910ad(0xb2)](this[_0xa910ad(0x110)][_0xa910ad(0xb0)],_0x2bef89),_0x91eb68[_0xa910ad(0xc6)](_0xa910ad(0x100))['to'](_0x2bef89,_0xa910ad(0x100)),_0x91eb68[_0xa910ad(0xc6)](_0xa910ad(0xb4))['to'](_0x2bef89),_0x91eb68[_0xa910ad(0xc6)](_0xa910ad(0x11c))['to'](_0x2bef89,_0xa910ad(0x11c),_0x5096df=>_0xa910ad(0xed)+_0x5096df),this[_0xa910ad(0xd9)][_0xa910ad(0x8f)](_0xb518f7['id'],_0x91eb68));const _0x290cd2=_0x59948b[_0xa910ad(0xc4)](_0xb518f7[_0xa910ad(0x90)],_0x2bef89),_0x170ba9=new _0x416039(_0x4d215d,_0xb518f7,_0x2bef89,_0x290cd2),_0x4476d5=_0xb518f7[_0xa910ad(0x92)]()[_0xa910ad(0xe8)](_0x1e76f8=>_0x1e76f8[_0xa910ad(0x8c)]);_0x2bef89[_0xa910ad(0xfe)]=_0x4d215d[_0xa910ad(0xcd)][_0xa910ad(0x10c)](_0xa910ad(0x116))[_0xa910ad(0xc8)][_0xa910ad(0x118)](_0x4476d5),this[_0xa910ad(0xfb)][_0xa910ad(0x8f)](_0xb518f7,_0x170ba9),this[_0xa910ad(0xd1)][_0xa910ad(0x8f)](_0x2bef89,_0x170ba9);const _0x248b08=_0x3d57c3[_0xa910ad(0x111)]({'view':_0x91eb68,'target':()=>{const _0x2bc38e=_0xa910ad,_0x5c5c66=[],_0x5f3457=_0xb518f7[_0x2bc38e(0x92)]()[_0x2bc38e(0xe8)](_0x188f13=>_0x188f13[_0x2bc38e(0x8c)]);for(const _0x379a64 of _0x5f3457)_0x5c5c66[_0x2bc38e(0xeb)](..._0x379a64[_0x2bc38e(0xea)]());return _0x6006d4(_0x4d215d[_0x2bc38e(0x98)],_0x5c5c66);},'type':()=>_0xa910ad(0xed)+_0x170ba9[_0xa910ad(0xae)][_0xa910ad(0x11c)]});_0x59948b[_0xa910ad(0xbc)](_0x2bef89,_0x248b08),_0x3d57c3[_0xa910ad(0x9a)](_0x248b08),_0x1b3a35[_0xa910ad(0xf9)](_0x248b08);}[_0x3a72fd(0xa1)](_0x30958d){const _0x22642b=_0x3a72fd,_0x17760b=this[_0x22642b(0x110)][_0x22642b(0xcd)][_0x22642b(0x10c)](_0x22642b(0xe3)),_0x473501=this[_0x22642b(0x110)][_0x22642b(0xcd)][_0x22642b(0x10c)](_0x22642b(0xd8)),_0x4f5a0b=this[_0x22642b(0xfb)][_0x22642b(0x10c)](_0x30958d),_0x43ba4b=_0x4f5a0b[_0x22642b(0xae)],_0x2d81ee=_0x473501[_0x22642b(0x11e)](_0x43ba4b);_0x17760b[_0x22642b(0xda)](_0x43ba4b),_0x2d81ee&&_0x473501[_0x22642b(0x9d)](_0x2d81ee),this[_0x22642b(0xfb)][_0x22642b(0xbb)](_0x30958d),this[_0x22642b(0xd1)][_0x22642b(0xbb)](_0x43ba4b),_0x4f5a0b[_0x22642b(0x119)]();}[_0x3a72fd(0xb6)](_0x2c2ac8){const _0x7191f4=_0x3a72fd;if(!_0x2c2ac8[_0x7191f4(0x8c)]||!this[_0x7191f4(0xfb)][_0x7191f4(0x97)](_0x2c2ac8))return;const _0x3a25b9=this[_0x7191f4(0x110)][_0x7191f4(0xcd)][_0x7191f4(0x10c)](_0x7191f4(0x116)),_0x589905=this[_0x7191f4(0xfb)][_0x7191f4(0x10c)](_0x2c2ac8),_0x215a85=_0x2c2ac8[_0x7191f4(0x92)]();_0x589905[_0x7191f4(0xae)][_0x7191f4(0xfe)]=_0x3a25b9[_0x7191f4(0xc8)][_0x7191f4(0x118)](_0x215a85);}[_0x3a72fd(0x119)](){const _0x2a4ac5=_0x3a72fd;for(const _0x1976e9 of this[_0x2a4ac5(0xfb)][_0x2a4ac5(0xd7)]())this[_0x2a4ac5(0xa1)](_0x1976e9);for(const _0x54877a of this[_0x2a4ac5(0xd9)][_0x2a4ac5(0xb7)]())_0x54877a[_0x2a4ac5(0x10b)][_0x2a4ac5(0x119)]();super[_0x2a4ac5(0x119)]();}}function ae(_0x1cf64f){const _0x445e85=_0x3a72fd;return _0x445e85(0xc0)in _0x1cf64f;}
|
|
23
|
+
const _0x116f7b=_0x2719;(function(_0x434b74,_0x2bce63){const _0x37fd53=_0x2719,_0x285983=_0x434b74();while(!![]){try{const _0x23404e=-parseInt(_0x37fd53(0x16d))/0x1*(parseInt(_0x37fd53(0x1cb))/0x2)+-parseInt(_0x37fd53(0x1d6))/0x3+-parseInt(_0x37fd53(0x185))/0x4+parseInt(_0x37fd53(0x1ab))/0x5+-parseInt(_0x37fd53(0x1e2))/0x6+-parseInt(_0x37fd53(0x1a6))/0x7*(-parseInt(_0x37fd53(0x19a))/0x8)+parseInt(_0x37fd53(0x163))/0x9;if(_0x23404e===_0x2bce63)break;else _0x285983['push'](_0x285983['shift']());}catch(_0x404e1c){_0x285983['push'](_0x285983['shift']());}}}(_0x90c0,0x3b6ac));import{Plugin as _0x2e309d}from'ckeditor5/src/core.js';function _0x90c0(){const _0x38e85e=['change:previous','head','editor','actionView','commands','_viewToController','change:activeAnnotations','plugins','_handleSuggestionControllerDelayed','button','requires','refreshSelectedViews','commandName','8621289JTbNJg','menuitemcheckbox','acceptButton','focus','stopListening','remove','type','items','comments.maxCommentCharsWhenCollapsed','bind','1eYHwvl','_destroyController','createAnnotation','Accept\x20all\x20suggestions','getRanges','_suggestionToController','keys','TrackChangesUI','trackChanges.SuggestionThreadView','toMany','buttonView','suggestionChanged','isEnabled','comments.editorConfig','_updateController','discardAllSuggestions','menuBar:trackChanges','previous','getSuggestion','isMultiRange','CommentsUI','trackChanges','addComment','SuggestionThreadView','1076276rLRLCt','panelView','_handleControllerBuffer','lowest','trackChanges.disableComments','view','editing','_annotationViews','acceptAllSuggestions','_createToolbarButton','getAllAdjacentSuggestions','isDirty','getDescriptions','_bindAnnotationToEditors','_refreshActiveMarkers','descriptionFactory','arrowView','source','has','clear','createAnnotationView','584GPcJSM','comments','isOn','getMarkerNames','getByInnerView','CommentsRepository','length','Accept\x20all\x20selected\x20suggestions','mainView','some','switchbutton','destroy','29974grOQsl','size','set','descriptionParts','listenTo','123270BrwJyI','Discard\x20all\x20selected\x20suggestions','children','discardButton','addSourceCollector','unbind','reduce','_disableComments','delete','_unbindEditors','CommentView','filter','value','TrackChangesEditing','getMarkers','discardSelectedSuggestions','componentFactory','hasSuggestion','delegate','comments.maxThreadTotalWeight','init','_addUIComponentsToFactory','pluginName','config','menu','comments.maxCommentsWhenCollapsed','suggestionLoaded','registerAnnotation','isInContent','innerView','locale','execute','388210nioRhZ','get','Track\x20changes','_createMenuBarMenu','suggestion-','from','getFirstRange','menuitem','push','createCommentThreadController','Annotations','1350936xUmPIM','EditorAnnotations','add','model','acceptSelectedSuggestions','Discard\x20all\x20suggestions','suggestionUnloaded','_initializeController','commentThread','getJoined','activeMarkers','values','829818cBVmnI','define','activeAnnotations','separator'];_0x90c0=function(){return _0x38e85e;};return _0x90c0();}import{Collection as _0x4958bf}from'ckeditor5/src/utils.js';function _0x2719(_0x41eae3,_0x2353aa){const _0x90c05a=_0x90c0();return _0x2719=function(_0x2719cc,_0x353f85){_0x2719cc=_0x2719cc-0x15d;let _0x567fb5=_0x90c05a[_0x2719cc];return _0x567fb5;},_0x2719(_0x41eae3,_0x2353aa);}import{addListToDropdown as _0x234b59,createDropdown as _0x490f57,ListSeparatorView as _0x3cf276,MenuBarMenuView as _0x5c4fcd,MenuBarMenuListView as _0x11cb26,MenuBarMenuListItemView as _0xc11169,MenuBarMenuListItemButtonView as _0x24f8d4,SplitButtonView as _0xdc56f0,ViewModel as _0x15b623}from'ckeditor5/src/ui.js';import{Users as _0x3564f4,getDateTimeFormatter as _0x5205e2,getAllMarkersDomElementsSorted as _0x236c86}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x46cbe from'./trackchangesediting.js';import _0x482ce9 from'./ui/suggestioncontroller.js';import _0x14efa9 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0xe423f6}from'./utils/common-translations.js';import _0x3d8244 from'../theme/icons/track-changes.svg';export default class d extends _0x2e309d{static get[_0x116f7b(0x160)](){const _0x815604=_0x116f7b;return[_0x46cbe,_0x3564f4,_0x815604(0x19f),_0x815604(0x1d5),_0x815604(0x1d7)];}static get[_0x116f7b(0x1c1)](){const _0x2e75ff=_0x116f7b;return _0x2e75ff(0x174);}constructor(_0x36e033){const _0x3ad046=_0x116f7b;super(_0x36e033),this[_0x3ad046(0x172)]=new Map(),this[_0x3ad046(0x1eb)]=new Map(),this[_0x3ad046(0x18c)]=new Map(),this[_0x3ad046(0x187)]=new Map();const _0x134888=this[_0x3ad046(0x1e8)][_0x3ad046(0x1c2)];_0x134888[_0x3ad046(0x1e3)](_0x3ad046(0x175),_0x14efa9),_0x134888[_0x3ad046(0x1e3)](_0x3ad046(0x189),!0x1),this[_0x3ad046(0x1b2)]=_0x134888[_0x3ad046(0x1cc)](_0x3ad046(0x189));}[_0x116f7b(0x15e)](_0x366b0a,_0x17d27a){const _0x5b02ba=_0x116f7b;0x0===this[_0x5b02ba(0x187)][_0x5b02ba(0x1a7)]&&setTimeout(()=>{const _0x85611a=_0x5b02ba;for(const [_0x321369,_0x20bcd5]of this[_0x85611a(0x187)]){const _0x4c4cc5=this[_0x85611a(0x172)][_0x85611a(0x197)](_0x321369);_0x4c4cc5||_0x20bcd5?_0x4c4cc5&&_0x20bcd5&&this[_0x85611a(0x16e)](_0x321369):this[_0x85611a(0x1dd)](_0x321369);}this[_0x85611a(0x187)][_0x85611a(0x198)](),this[_0x85611a(0x1e8)][_0x85611a(0x15d)][_0x85611a(0x1cc)](_0x85611a(0x1d7))[_0x85611a(0x161)](),this[_0x85611a(0x193)]();},0xa),this[_0x5b02ba(0x187)][_0x5b02ba(0x1a8)](_0x366b0a,_0x17d27a);}[_0x116f7b(0x1bf)](){const _0x4215de=_0x116f7b,_0x438f1d=this[_0x4215de(0x1e8)],_0x3ad84a=_0x438f1d[_0x4215de(0x15d)][_0x4215de(0x1cc)](_0x4215de(0x1b8)),_0x1ec795=_0x438f1d[_0x4215de(0x15d)][_0x4215de(0x1cc)](_0x4215de(0x1d5)),_0x47d208=_0x438f1d[_0x4215de(0x15d)][_0x4215de(0x1cc)](_0x4215de(0x1d7)),_0x477154=_0x438f1d[_0x4215de(0x15d)][_0x4215de(0x1cc)](_0x4215de(0x19f));this[_0x4215de(0x1c0)](),_0x47d208[_0x4215de(0x1af)](()=>{const _0x19ff29=_0x4215de,_0x1c965f=[];for(const [_0x20c404,_0xe9fd18]of Array[_0x19ff29(0x1d0)](this[_0x19ff29(0x172)])){const _0x2b2ad8=_0x20c404[_0x19ff29(0x18f)](),_0x350ae7=[];for(const _0x2ca653 of _0x2b2ad8){if(!_0x2ca653[_0x19ff29(0x1c7)])continue;if(_0x2ca653[_0x19ff29(0x180)]){_0x350ae7[_0x19ff29(0x1d3)](..._0x2ca653[_0x19ff29(0x171)]());continue;}const _0x59bbc7=_0x2ca653[_0x19ff29(0x1d1)]();if(_0x350ae7[_0x19ff29(0x1a0)]>0x0){const _0x587570=_0x350ae7[0x0][_0x19ff29(0x1df)](_0x59bbc7);if(_0x587570){_0x350ae7[0x0]=_0x587570;continue;}}_0x350ae7[_0x19ff29(0x1d3)](_0x59bbc7);}_0x1c965f[_0x19ff29(0x1d3)]([_0xe9fd18[_0x19ff29(0x18a)],_0x350ae7]);}return _0x1c965f;}),this[_0x4215de(0x1aa)](_0x3ad84a,_0x4215de(0x1c5),(_0x197902,_0x4d88b2)=>{const _0x4909ed=_0x4215de;this[_0x4909ed(0x1aa)](_0x4d88b2,_0x4909ed(0x1e6),(_0x319fb9,_0x46169f,_0x5111aa,_0x55cc52)=>{const _0x40efa5=_0x4909ed;_0x4d88b2[_0x40efa5(0x1c7)]&&(null==_0x5111aa?(this[_0x40efa5(0x17b)](_0x55cc52[_0x40efa5(0x1e7)]),this[_0x40efa5(0x15e)](_0x4d88b2,!0x1)):(this[_0x40efa5(0x17b)](_0x5111aa[_0x40efa5(0x1e7)]),null==_0x55cc52&&this[_0x40efa5(0x15e)](_0x4d88b2,!0x0)));}),null!==_0x4d88b2[_0x4909ed(0x17e)]?this[_0x4909ed(0x17b)](_0x4d88b2[_0x4909ed(0x1e7)]):this[_0x4909ed(0x15e)](_0x4d88b2,!0x1);}),this[_0x4215de(0x1aa)](_0x3ad84a,_0x4215de(0x1dc),(_0x24f752,_0x98704f,_0x1db5e7)=>{const _0xce88d=_0x4215de;this[_0xce88d(0x167)](_0x98704f,_0xce88d(0x1e6)),this[_0xce88d(0x187)][_0xce88d(0x1b3)](_0x98704f),this[_0xce88d(0x172)][_0xce88d(0x197)](_0x98704f)&&this[_0xce88d(0x16e)](_0x98704f),_0x1db5e7&&this[_0xce88d(0x17b)](_0x1db5e7[_0xce88d(0x1e7)]);}),this[_0x4215de(0x1aa)](_0x3ad84a,_0x4215de(0x178),(_0x5163fe,_0x38b352)=>{const _0x1f3e4d=_0x4215de;this[_0x1f3e4d(0x17b)](_0x38b352);}),this[_0x4215de(0x1aa)](_0x1ec795,_0x4215de(0x1ec),()=>{const _0x3ad8bc=_0x4215de;this[_0x3ad8bc(0x193)]();}),this[_0x4215de(0x1aa)](_0x477154,_0x4215de(0x183),(_0x475955,{threadId:_0x4d5e1c,isFromAdapter:_0x378fe0})=>{const _0x512fae=_0x4215de;if(_0x378fe0||!_0x3ad84a[_0x512fae(0x1bc)](_0x4d5e1c))return;const _0x18ccb2=_0x3ad84a[_0x512fae(0x17f)](_0x4d5e1c);this[_0x512fae(0x172)][_0x512fae(0x1cc)](_0x18ccb2)[_0x512fae(0x18a)][_0x512fae(0x166)]();},{'priority':_0x4215de(0x188)});}[_0x116f7b(0x193)](){const _0x40f03f=_0x116f7b,_0x2f5db1=this[_0x40f03f(0x1e8)][_0x40f03f(0x15d)][_0x40f03f(0x1cc)](_0x40f03f(0x1d5)),_0x5132d5=this[_0x40f03f(0x1e8)][_0x40f03f(0x15d)][_0x40f03f(0x1cc)](_0x40f03f(0x1b8)),_0xb60448=Array[_0x40f03f(0x1d0)](_0x2f5db1[_0x40f03f(0x1e4)],_0x424271=>_0x424271[_0x40f03f(0x1c8)])[_0x40f03f(0x1b6)](_0x978b9f=>this[_0x40f03f(0x1eb)][_0x40f03f(0x197)](_0x978b9f)),_0x617d48=[];for(const _0x923c47 of _0xb60448){const _0x1e3220=this[_0x40f03f(0x1eb)][_0x40f03f(0x1cc)](_0x923c47)[_0x40f03f(0x1d9)][_0x40f03f(0x18f)]();_0x617d48[_0x40f03f(0x1d3)](..._0x1e3220[_0x40f03f(0x1b1)]((_0x54e345,_0x3b5951)=>[..._0x54e345,..._0x3b5951[_0x40f03f(0x19d)]()],[]));}_0x5132d5[_0x40f03f(0x1e0)]=_0x617d48;}[_0x116f7b(0x1c0)](){const _0x22e809=_0x116f7b,_0x2157b1=this[_0x22e809(0x1e8)],_0x4261d2=_0x2157b1[_0x22e809(0x1c9)],_0x89a143=_0xe423f6(_0x4261d2,_0x22e809(0x1cd)),_0x262b4d=new _0x4958bf([{'type':_0x22e809(0x1a4),'model':new _0x15b623({'withText':!0x0,'isToggleable':!0x0,'label':_0x89a143,'commandName':_0x22e809(0x182),'role':_0x22e809(0x164)})},{'type':_0x22e809(0x1e5)},{'type':_0x22e809(0x15f),'model':new _0x15b623({'withText':!0x0,'label':_0xe423f6(_0x4261d2,_0x22e809(0x170)),'commandName':_0x22e809(0x18d),'role':_0x22e809(0x1d2)})},{'type':_0x22e809(0x15f),'model':new _0x15b623({'withText':!0x0,'label':_0xe423f6(_0x4261d2,_0x22e809(0x1a1)),'commandName':_0x22e809(0x1da),'role':_0x22e809(0x1d2)})},{'type':_0x22e809(0x15f),'model':new _0x15b623({'withText':!0x0,'label':_0xe423f6(_0x4261d2,_0x22e809(0x1db)),'commandName':_0x22e809(0x17c),'role':_0x22e809(0x1d2)})},{'type':_0x22e809(0x15f),'model':new _0x15b623({'withText':!0x0,'label':_0xe423f6(_0x4261d2,_0x22e809(0x1ac)),'commandName':_0x22e809(0x1ba),'role':_0x22e809(0x1d2)})}]);for(const _0x4b39b2 of _0x262b4d)if(re(_0x4b39b2)){const _0xf02712=_0x2157b1[_0x22e809(0x1ea)][_0x22e809(0x1cc)](_0x4b39b2[_0x22e809(0x1d9)][_0x22e809(0x162)]);_0x4b39b2[_0x22e809(0x1d9)][_0x22e809(0x16c)](_0x22e809(0x19c),_0x22e809(0x179))['to'](_0xf02712,_0x22e809(0x1b7),_0x22e809(0x179));}_0x2157b1['ui'][_0x22e809(0x1bb)][_0x22e809(0x1d8)](_0x22e809(0x182),_0x402d3c=>this[_0x22e809(0x18e)](_0x402d3c,_0x262b4d,_0x89a143)),_0x2157b1['ui'][_0x22e809(0x1bb)][_0x22e809(0x1d8)](_0x22e809(0x17d),_0x1643e3=>this[_0x22e809(0x1ce)](_0x1643e3,_0x262b4d,_0x89a143));}[_0x116f7b(0x18e)](_0x6d07d1,_0x1850ca,_0xd1aa6){const _0x26dbb2=_0x116f7b,_0x51cb7e=_0x490f57(_0x6d07d1,_0xdc56f0),_0x26f0a7=this[_0x26dbb2(0x1e8)][_0x26dbb2(0x1ea)][_0x26dbb2(0x1cc)](_0x26dbb2(0x182));_0x51cb7e[_0x26dbb2(0x177)][_0x26dbb2(0x1a8)]({'tooltip':_0xd1aa6,'label':_0xd1aa6,'icon':_0x3d8244}),_0x51cb7e[_0x26dbb2(0x177)][_0x26dbb2(0x16c)](_0x26dbb2(0x19c))['to'](_0x26f0a7,_0x26dbb2(0x1b7)),_0x51cb7e[_0x26dbb2(0x177)]['on'](_0x26dbb2(0x1ca),()=>{const _0x2cbc1a=_0x26dbb2;_0x26f0a7[_0x2cbc1a(0x1ca)](),this[_0x2cbc1a(0x1e8)][_0x2cbc1a(0x18b)][_0x2cbc1a(0x18a)][_0x2cbc1a(0x166)]();}),_0x234b59(_0x51cb7e,_0x1850ca,{'role':_0x26dbb2(0x1c3)});const _0x13bbdc=[];for(const _0x3a2fc5 of _0x1850ca)re(_0x3a2fc5)&&_0x13bbdc[_0x26dbb2(0x1d3)](this[_0x26dbb2(0x1e8)][_0x26dbb2(0x1ea)][_0x26dbb2(0x1cc)](_0x3a2fc5[_0x26dbb2(0x1d9)][_0x26dbb2(0x162)]));const _0x325bd8=_0x51cb7e[_0x26dbb2(0x177)];return _0x325bd8[_0x26dbb2(0x1e9)][_0x26dbb2(0x1b0)](_0x26dbb2(0x179)),_0x325bd8[_0x26dbb2(0x195)][_0x26dbb2(0x1b0)](_0x26dbb2(0x179)),_0x325bd8[_0x26dbb2(0x1e9)][_0x26dbb2(0x16c)](_0x26dbb2(0x179))['to'](_0x26f0a7,_0x26dbb2(0x179)),_0x325bd8[_0x26dbb2(0x195)][_0x26dbb2(0x16c)](_0x26dbb2(0x179))[_0x26dbb2(0x176)](_0x13bbdc,_0x26dbb2(0x179),(..._0x52681d)=>_0x52681d[_0x26dbb2(0x1a3)](_0x109abe=>_0x109abe)),_0x51cb7e['on'](_0x26dbb2(0x1ca),_0x4743fd=>{const _0x5dcefa=_0x26dbb2;this[_0x5dcefa(0x1e8)][_0x5dcefa(0x1ca)](_0x4743fd[_0x5dcefa(0x196)][_0x5dcefa(0x162)]),this[_0x5dcefa(0x1e8)][_0x5dcefa(0x18b)][_0x5dcefa(0x18a)][_0x5dcefa(0x166)]();}),_0x51cb7e;}[_0x116f7b(0x1ce)](_0xb732bf,_0x47443f,_0x1da890){const _0x55a544=_0x116f7b,_0x6a2394=new _0x5c4fcd(_0xb732bf),_0x472595=this[_0x55a544(0x1e8)][_0x55a544(0x1ea)][_0x55a544(0x1cc)](_0x55a544(0x182));_0x6a2394[_0x55a544(0x177)][_0x55a544(0x1a8)]({'label':_0x1da890,'icon':_0x3d8244});const _0x53777e=new _0x11cb26(_0xb732bf);for(const _0x7aa341 of _0x47443f){if(_0x55a544(0x1e5)==_0x7aa341[_0x55a544(0x169)]){_0x53777e[_0x55a544(0x16a)][_0x55a544(0x1d8)](new _0x3cf276(_0xb732bf));continue;}const _0x5d262e=new _0xc11169(_0xb732bf,_0x6a2394),_0x17cf84=new _0x24f8d4(_0xb732bf),_0x59ee06=_0x7aa341[_0x55a544(0x1d9)];_0x17cf84[_0x55a544(0x16c)](...Object[_0x55a544(0x173)](_0x59ee06))['to'](_0x59ee06),_0x17cf84[_0x55a544(0x1bd)](_0x55a544(0x1ca))['to'](_0x6a2394),_0x17cf84['on'](_0x55a544(0x1ca),()=>{const _0x1fd83=_0x55a544;this[_0x1fd83(0x1e8)][_0x1fd83(0x1ca)](_0x59ee06[_0x1fd83(0x162)]),this[_0x1fd83(0x1e8)][_0x1fd83(0x18b)][_0x1fd83(0x18a)][_0x1fd83(0x166)]();}),_0x5d262e[_0x55a544(0x1ad)][_0x55a544(0x1d8)](_0x17cf84),_0x53777e[_0x55a544(0x16a)][_0x55a544(0x1d8)](_0x5d262e);}return _0x6a2394[_0x55a544(0x16c)](_0x55a544(0x179))['to'](_0x472595,_0x55a544(0x179)),_0x6a2394[_0x55a544(0x186)][_0x55a544(0x1ad)][_0x55a544(0x1d8)](_0x53777e),_0x6a2394;}[_0x116f7b(0x1dd)](_0x53e93b){const _0x39a91f=_0x116f7b,_0x1bf4d5=this[_0x39a91f(0x1e8)],_0x1597c9=_0x1bf4d5[_0x39a91f(0x1c2)],_0x5bb08b=_0x1bf4d5[_0x39a91f(0x15d)][_0x39a91f(0x1cc)](_0x39a91f(0x1d5)),_0x34edc4=_0x1bf4d5[_0x39a91f(0x15d)][_0x39a91f(0x1cc)](_0x39a91f(0x19f)),_0x31a7c3=_0x1bf4d5[_0x39a91f(0x15d)][_0x39a91f(0x1cc)](_0x39a91f(0x1d7)),_0x4331a2=_0x1bf4d5[_0x39a91f(0x15d)][_0x39a91f(0x1cc)](_0x3564f4)['me'],_0x4951fb=_0x1597c9[_0x39a91f(0x1cc)](_0x39a91f(0x182))[_0x39a91f(0x184)],{CommentsListView:_0x1f0822,CommentThreadInputView:_0x1f762b}=_0x1bf4d5[_0x39a91f(0x15d)][_0x39a91f(0x1cc)](_0x39a91f(0x181));let _0x55074d,_0x4e3eb6;this[_0x39a91f(0x18c)][_0x39a91f(0x197)](_0x53e93b['id'])?(_0x4e3eb6=this[_0x39a91f(0x18c)][_0x39a91f(0x1cc)](_0x53e93b['id']),_0x55074d=_0x4e3eb6[_0x39a91f(0x1a2)]):(_0x55074d=new _0x4951fb(_0x1bf4d5[_0x39a91f(0x1c9)],_0x53e93b,_0x4331a2,{'disableComments':this[_0x39a91f(0x1b2)],'editorConfig':_0x1597c9[_0x39a91f(0x1cc)](_0x39a91f(0x17a)),'maxCommentsWhenCollapsed':_0x1597c9[_0x39a91f(0x1cc)](_0x39a91f(0x1c4)),'maxThreadTotalWeight':_0x1597c9[_0x39a91f(0x1cc)](_0x39a91f(0x1be)),'maxCommentCharsWhenCollapsed':_0x1597c9[_0x39a91f(0x1cc)](_0x39a91f(0x16b)),'formatDateTime':_0x5205e2(_0x1597c9[_0x39a91f(0x1cc)](_0x39a91f(0x1c9))),'CommentView':_0x1597c9[_0x39a91f(0x1cc)](_0x39a91f(0x19b))[_0x39a91f(0x1b5)],'CommentsListView':_0x1f0822,'CommentThreadInputView':_0x1f762b}),_0x55074d[_0x39a91f(0x165)]['on'](_0x39a91f(0x1ca),()=>{const _0x5654c0=_0x39a91f;_0x1bf4d5[_0x5654c0(0x18b)][_0x5654c0(0x18a)][_0x5654c0(0x166)]();}),_0x55074d[_0x39a91f(0x1ae)]['on'](_0x39a91f(0x1ca),()=>{const _0x12c27b=_0x39a91f;_0x1bf4d5[_0x12c27b(0x18b)][_0x12c27b(0x18a)][_0x12c27b(0x166)]();}),_0x4e3eb6=_0x5bb08b[_0x39a91f(0x199)](this[_0x39a91f(0x1e8)][_0x39a91f(0x1c9)],_0x55074d),_0x4e3eb6[_0x39a91f(0x16c)](_0x39a91f(0x190))['to'](_0x55074d,_0x39a91f(0x190)),_0x4e3eb6[_0x39a91f(0x16c)](_0x39a91f(0x1a0))['to'](_0x55074d),_0x4e3eb6[_0x39a91f(0x16c)](_0x39a91f(0x169))['to'](_0x55074d,_0x39a91f(0x169),_0x4a765b=>_0x39a91f(0x1cf)+_0x4a765b),this[_0x39a91f(0x18c)][_0x39a91f(0x1a8)](_0x53e93b['id'],_0x4e3eb6));const _0x4eaadd=_0x34edc4[_0x39a91f(0x1d4)](_0x53e93b[_0x39a91f(0x1de)],_0x55074d),_0x2196c4=new _0x482ce9(_0x1bf4d5,_0x53e93b,_0x55074d,_0x4eaadd),_0x420f84=_0x53e93b[_0x39a91f(0x18f)]()[_0x39a91f(0x1b6)](_0x13aa66=>_0x13aa66[_0x39a91f(0x1c7)]);_0x55074d[_0x39a91f(0x1a9)]=_0x1bf4d5[_0x39a91f(0x15d)][_0x39a91f(0x1cc)](_0x39a91f(0x1b8))[_0x39a91f(0x194)][_0x39a91f(0x191)](_0x420f84),this[_0x39a91f(0x172)][_0x39a91f(0x1a8)](_0x53e93b,_0x2196c4),this[_0x39a91f(0x1eb)][_0x39a91f(0x1a8)](_0x55074d,_0x2196c4);const _0x298661=_0x5bb08b[_0x39a91f(0x16f)]({'view':_0x4e3eb6,'target':()=>{const _0x21e444=_0x39a91f,_0x2c4d4f=[],_0x5226fd=_0x53e93b[_0x21e444(0x18f)]()[_0x21e444(0x1b6)](_0x3b3376=>_0x3b3376[_0x21e444(0x1c7)]);for(const _0x1c7086 of _0x5226fd)_0x2c4d4f[_0x21e444(0x1d3)](..._0x1c7086[_0x21e444(0x1b9)]());return _0x236c86(_0x1bf4d5[_0x21e444(0x18b)],_0x2c4d4f);},'type':()=>_0x39a91f(0x1cf)+_0x2196c4[_0x39a91f(0x18a)][_0x39a91f(0x169)]});_0x34edc4[_0x39a91f(0x192)](_0x55074d,_0x298661),_0x5bb08b[_0x39a91f(0x1d8)](_0x298661),_0x31a7c3[_0x39a91f(0x1c6)](_0x298661);}[_0x116f7b(0x16e)](_0x38d796){const _0x25ced2=_0x116f7b,_0x5a514b=this[_0x25ced2(0x1e8)][_0x25ced2(0x15d)][_0x25ced2(0x1cc)](_0x25ced2(0x19f)),_0x2b84ce=this[_0x25ced2(0x1e8)][_0x25ced2(0x15d)][_0x25ced2(0x1cc)](_0x25ced2(0x1d5)),_0x3aae43=this[_0x25ced2(0x172)][_0x25ced2(0x1cc)](_0x38d796),_0xe6b747=_0x3aae43[_0x25ced2(0x18a)],_0x31128c=_0x2b84ce[_0x25ced2(0x19e)](_0xe6b747);_0x5a514b[_0x25ced2(0x1b4)](_0xe6b747),_0x31128c&&_0x2b84ce[_0x25ced2(0x168)](_0x31128c),this[_0x25ced2(0x172)][_0x25ced2(0x1b3)](_0x38d796),this[_0x25ced2(0x1eb)][_0x25ced2(0x1b3)](_0xe6b747),_0x3aae43[_0x25ced2(0x1a5)]();}[_0x116f7b(0x17b)](_0x2c24b7){const _0x3b6e51=_0x116f7b;if(!_0x2c24b7[_0x3b6e51(0x1c7)]||!this[_0x3b6e51(0x172)][_0x3b6e51(0x197)](_0x2c24b7))return;const _0x1be6f1=this[_0x3b6e51(0x1e8)][_0x3b6e51(0x15d)][_0x3b6e51(0x1cc)](_0x3b6e51(0x1b8)),_0x364bb3=this[_0x3b6e51(0x172)][_0x3b6e51(0x1cc)](_0x2c24b7),_0x3222d3=_0x2c24b7[_0x3b6e51(0x18f)]();_0x364bb3[_0x3b6e51(0x18a)][_0x3b6e51(0x1a9)]=_0x1be6f1[_0x3b6e51(0x194)][_0x3b6e51(0x191)](_0x3222d3);}[_0x116f7b(0x1a5)](){const _0xe96a18=_0x116f7b;for(const _0x36dbfb of this[_0xe96a18(0x172)][_0xe96a18(0x173)]())this[_0xe96a18(0x16e)](_0x36dbfb);for(const _0x270851 of this[_0xe96a18(0x18c)][_0xe96a18(0x1e1)]())_0x270851[_0xe96a18(0x1a2)][_0xe96a18(0x1a5)]();super[_0xe96a18(0x1a5)]();}}function re(_0x4f92a5){const _0x295715=_0x116f7b;return _0x295715(0x1d9)in _0x4f92a5;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x56cc(){const _0x1736f7=['isEnabled','add','plugins','canAccept','listenTo','acceptSuggestion','isDirty','PendingActions','_editor','destroy','view','_removePendingAction','bind','canEditAt','203288EDGPAs','1070104emMEvi','getRanges','execute','locale','_discardCommand','PENDING_ACTION_SUGGESTION','commands','get','model','90GjjMdQ','remove','1724961tHZWaE','canDiscard','_acceptCommand','commentThreadController','stopListening','22594520NUdvTs','626970WZPBUx','1NIWIhE','change:isDirty','_pendingAction','12pSjFll','unbind','_setPendingAction','discardSuggestion','1810240Dxglif','497695welvXn'];_0x56cc=function(){return _0x1736f7;};return _0x56cc();}const _0x17263d=_0x558d;(function(_0x5df0c5,_0x6fada9){const _0x369e97=_0x558d,_0x518b02=_0x5df0c5();while(!![]){try{const _0x536902=parseInt(_0x369e97(0xf9))/0x1*(-parseInt(_0x369e97(0xf8))/0x2)+-parseInt(_0x369e97(0xf2))/0x3+-parseInt(_0x369e97(0xd6))/0x4+-parseInt(_0x369e97(0xd7))/0x5*(parseInt(_0x369e97(0xd2))/0x6)+-parseInt(_0x369e97(0xe7))/0x7+-parseInt(_0x369e97(0xe6))/0x8*(parseInt(_0x369e97(0xf0))/0x9)+parseInt(_0x369e97(0xf7))/0xa;if(_0x536902===_0x6fada9)break;else _0x518b02['push'](_0x518b02['shift']());}catch(_0x33409e){_0x518b02['push'](_0x518b02['shift']());}}}(_0x56cc,0x4c428));function _0x558d(_0x5df220,_0x5b87c6){const _0x56cc32=_0x56cc();return _0x558d=function(_0x558d2d,_0x10471c){_0x558d2d=_0x558d2d-0xd2;let _0x18b91c=_0x56cc32[_0x558d2d];return _0x18b91c;},_0x558d(_0x5df220,_0x5b87c6);}import{ObservableMixin as _0x901f0}from'ckeditor5/src/utils.js';import{getTranslation as _0x2b9f05}from'../utils/common-translations.js';export default class ne extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x901f0(){constructor(_0x28db12,_0x55a501,_0x4198af,_0x20f118){const _0x5ecb80=_0x558d;super(),this[_0x5ecb80(0xef)]=_0x55a501,this[_0x5ecb80(0xe2)]=_0x4198af,this[_0x5ecb80(0xf5)]=_0x20f118,this[_0x5ecb80(0xe0)]=_0x28db12,this[_0x5ecb80(0xf4)]=_0x28db12[_0x5ecb80(0xed)][_0x5ecb80(0xee)](_0x5ecb80(0xdd)),this[_0x5ecb80(0xeb)]=_0x28db12[_0x5ecb80(0xed)][_0x5ecb80(0xee)](_0x5ecb80(0xd5)),this[_0x5ecb80(0xe2)][_0x5ecb80(0xe4)](_0x5ecb80(0xd8))['to'](this[_0x5ecb80(0xf4)],this[_0x5ecb80(0xeb)],(_0x596d02,_0x49b75c)=>_0x596d02||_0x49b75c),this[_0x5ecb80(0xe2)][_0x5ecb80(0xe4)](_0x5ecb80(0xdb))['to'](this[_0x5ecb80(0xf4)],_0x5ecb80(0xd8),_0x1c21e3=>_0x1c21e3&&this[_0x5ecb80(0xe0)][_0x5ecb80(0xef)][_0x5ecb80(0xe5)](_0x55a501[_0x5ecb80(0xe8)]())),this[_0x5ecb80(0xe2)][_0x5ecb80(0xe4)](_0x5ecb80(0xf3))['to'](this[_0x5ecb80(0xeb)],_0x5ecb80(0xd8),_0x2d9e31=>_0x2d9e31&&this[_0x5ecb80(0xe0)][_0x5ecb80(0xef)][_0x5ecb80(0xe5)](_0x55a501[_0x5ecb80(0xe8)]())),this[_0x5ecb80(0xfb)]=null,_0x4198af[_0x5ecb80(0xde)]&&this[_0x5ecb80(0xd4)](),this[_0x5ecb80(0xdc)](_0x4198af,_0x5ecb80(0xdd),()=>this[_0x5ecb80(0xdd)]()),this[_0x5ecb80(0xdc)](_0x4198af,_0x5ecb80(0xd5),()=>this[_0x5ecb80(0xd5)]()),this[_0x5ecb80(0xdc)](_0x4198af,_0x5ecb80(0xfa),()=>{const _0x1a04c8=_0x5ecb80;_0x4198af[_0x1a04c8(0xde)]?this[_0x1a04c8(0xd4)]():this[_0x1a04c8(0xe3)]();});}[_0x17263d(0xdd)](){const _0x4c8b58=_0x17263d;this[_0x4c8b58(0xf4)][_0x4c8b58(0xe9)](this[_0x4c8b58(0xef)]['id']);}[_0x17263d(0xd5)](){const _0x8c4234=_0x17263d;this[_0x8c4234(0xeb)][_0x8c4234(0xe9)](this[_0x8c4234(0xef)]['id']);}[_0x17263d(0xe1)](){const _0x2c8066=_0x17263d;this[_0x2c8066(0xe2)][_0x2c8066(0xd3)](_0x2c8066(0xd8)),this[_0x2c8066(0xe2)][_0x2c8066(0xd3)](_0x2c8066(0xdb)),this[_0x2c8066(0xe2)][_0x2c8066(0xd3)](_0x2c8066(0xf3)),this[_0x2c8066(0xf6)](),this[_0x2c8066(0xf5)][_0x2c8066(0xe1)](),this[_0x2c8066(0xfb)]&&this[_0x2c8066(0xe3)]();}[_0x17263d(0xd4)](){const _0x5ea1a5=_0x17263d,_0xc11976=_0x2b9f05(this[_0x5ea1a5(0xe0)][_0x5ea1a5(0xea)],_0x5ea1a5(0xec));this[_0x5ea1a5(0xfb)]=this[_0x5ea1a5(0xe0)][_0x5ea1a5(0xda)][_0x5ea1a5(0xee)](_0x5ea1a5(0xdf))[_0x5ea1a5(0xd9)](_0xc11976);}[_0x17263d(0xe3)](){const _0x59812b=_0x17263d;null!==this[_0x59812b(0xfb)]&&this[_0x59812b(0xe0)][_0x59812b(0xda)][_0x59812b(0xee)](_0x59812b(0xdf))[_0x59812b(0xf1)](this[_0x59812b(0xfb)]),this[_0x59812b(0xfb)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x35dc91=_0x52ae;function _0x52ae(_0x23c75a,_0x1085a6){const _0x4bc1ab=_0x4bc1();return _0x52ae=function(_0x52aeed,_0x247270){_0x52aeed=_0x52aeed-0x18a;let _0x368493=_0x4bc1ab[_0x52aeed];return _0x368493;},_0x52ae(_0x23c75a,_0x1085a6);}(function(_0x238734,_0x10e95f){const _0x4b2d7d=_0x52ae,_0x56dbba=_0x238734();while(!![]){try{const _0x30488b=-parseInt(_0x4b2d7d(0x190))/0x1*(-parseInt(_0x4b2d7d(0x18d))/0x2)+-parseInt(_0x4b2d7d(0x1b4))/0x3*(parseInt(_0x4b2d7d(0x192))/0x4)+parseInt(_0x4b2d7d(0x191))/0x5+parseInt(_0x4b2d7d(0x18b))/0x6+-parseInt(_0x4b2d7d(0x19f))/0x7*(parseInt(_0x4b2d7d(0x1af))/0x8)+-parseInt(_0x4b2d7d(0x1ae))/0x9*(-parseInt(_0x4b2d7d(0x19a))/0xa)+parseInt(_0x4b2d7d(0x1a5))/0xb;if(_0x30488b===_0x10e95f)break;else _0x56dbba['push'](_0x56dbba['shift']());}catch(_0x5dba4a){_0x56dbba['push'](_0x56dbba['shift']());}}}(_0x4bc1,0x5ab15));import{View as _0x4f73b9}from'ckeditor5/src/ui.js';export default class es extends _0x4f73b9{constructor(_0x588bc0,_0x2bda4e,_0x26c59c,_0x2e9e35){const _0x57261f=_0x52ae;super(_0x588bc0),this[_0x57261f(0x1a4)]=null,this[_0x57261f(0x1a9)]=null,this[_0x57261f(0x193)](_0x57261f(0x1b9),!0x1),this[_0x57261f(0x193)](_0x57261f(0x199),_0x2bda4e[_0x57261f(0x199)]),this[_0x57261f(0x19d)](_0x57261f(0x199))['to'](_0x2bda4e),this[_0x57261f(0x193)](_0x57261f(0x18c),[]),this[_0x57261f(0x193)](_0x57261f(0x1b8),!0x1),this[_0x57261f(0x193)](_0x57261f(0x18e),!0x1),this[_0x57261f(0x193)](_0x57261f(0x1bb),!0x1),this[_0x57261f(0x193)](_0x57261f(0x1b6),!0x1),this[_0x57261f(0x1ad)]=_0x2bda4e,this[_0x57261f(0x18a)]=_0x26c59c,this[_0x57261f(0x19e)]=_0x2e9e35,_0x2e9e35[_0x57261f(0x18f)]?this[_0x57261f(0x193)](_0x57261f(0x1bd),0x1):this[_0x57261f(0x1a2)]();}[_0x35dc91(0x1b0)](){const _0x4b689a=_0x35dc91;this[_0x4b689a(0x19b)][_0x4b689a(0x1b0)]();}[_0x35dc91(0x1a3)](){const _0x34e2d9=_0x35dc91;this[_0x34e2d9(0x1a4)]&&this[_0x34e2d9(0x1a4)][_0x34e2d9(0x1a3)](),this[_0x34e2d9(0x1a9)]&&this[_0x34e2d9(0x1a9)][_0x34e2d9(0x1a3)](),super[_0x34e2d9(0x1a3)]();}[_0x35dc91(0x1a2)](){const _0x3e942f=_0x35dc91,{CommentsListView:_0x415ed7}=this[_0x3e942f(0x19e)];this[_0x3e942f(0x1a4)]=new _0x415ed7(this[_0x3e942f(0x1b3)],this[_0x3e942f(0x1ad)][_0x3e942f(0x1b5)],Object[_0x3e942f(0x1a0)]({'CommentView':this[_0x3e942f(0x19e)][_0x3e942f(0x1ac)]},this[_0x3e942f(0x19e)])),this[_0x3e942f(0x1a4)][_0x3e942f(0x1b1)](_0x3e942f(0x1aa))['to'](this),this[_0x3e942f(0x1a4)][_0x3e942f(0x1b1)](_0x3e942f(0x1b7))['to'](this),this[_0x3e942f(0x1a4)][_0x3e942f(0x19d)](_0x3e942f(0x1b9))['to'](this),this[_0x3e942f(0x193)](_0x3e942f(0x1bd),this[_0x3e942f(0x1a4)][_0x3e942f(0x1bd)]+0x1),this[_0x3e942f(0x19d)](_0x3e942f(0x1bd))['to'](this[_0x3e942f(0x1a4)],_0x3e942f(0x1bd),_0x25d8cd=>_0x25d8cd+0x1),this[_0x3e942f(0x1a9)]=this[_0x3e942f(0x198)](),this['on'](_0x3e942f(0x1aa),()=>this[_0x3e942f(0x1b0)]()),this[_0x3e942f(0x19d)](_0x3e942f(0x1b8))['to'](this[_0x3e942f(0x1a4)],_0x3e942f(0x195),this[_0x3e942f(0x1a9)][_0x3e942f(0x197)],_0x3e942f(0x19c),(_0x508984,_0x5df205)=>_0x508984||!!_0x5df205);}[_0x35dc91(0x198)](){const _0x49433f=_0x35dc91,{CommentThreadInputView:_0x4c99d8}=this[_0x49433f(0x19e)],_0x5e0540=new _0x4c99d8(this[_0x49433f(0x1b3)],this[_0x49433f(0x18a)],this[_0x49433f(0x19e)][_0x49433f(0x196)]),_0x5b6600=_0x5e0540[_0x49433f(0x197)];return _0x5e0540[_0x49433f(0x19d)](_0x49433f(0x1a8))['to'](this,_0x49433f(0x1b9),this[_0x49433f(0x1ad)][_0x49433f(0x1b5)],_0x49433f(0x1a6),_0x5b6600,_0x49433f(0x19c),(_0x259602,_0x4d88ff,_0x17083b)=>!!_0x17083b||_0x259602&&!_0x4d88ff),_0x5b6600['on'](_0x49433f(0x1a1),(_0x3f49ad,_0x448d95)=>{const _0x10859f=_0x49433f;this[_0x10859f(0x194)](_0x10859f(0x1ba),_0x448d95),_0x5b6600[_0x10859f(0x1b2)][_0x10859f(0x1ab)]('');}),_0x5b6600['on'](_0x49433f(0x1a7),()=>this[_0x49433f(0x1b0)]()),_0x5b6600[_0x49433f(0x19d)](_0x49433f(0x1bc))['to'](this[_0x49433f(0x1ad)][_0x49433f(0x1b5)],_0x49433f(0x1a6)),_0x5e0540;}}function _0x4bc1(){const _0x32d17f=['commentThread','canDiscard','updateComment','isDirty','isActive','addComment','canAccept','disabledSubmit','length','_localUser','3876702apFuul','descriptionParts','18362lJbUCO','isEnabled','disableComments','13DkYXQS','1488020fXqRSL','2232MvGXUv','set','fire','hasDirtyComment','editorConfig','commentInputView','_createCommentThreadInputView','authoredAt','10zDyyWd','element','value','bind','_config','1302IVpbMK','assign','submit','_createCommentViews','destroy','commentsListView','1941962YBSYnL','isReadOnly','cancel','showInput','commentThreadInputView','removeComment','setData','CommentView','_model','3916467ozWiyS','26464jMLxap','focus','delegate','editor','locale','3699NRkvov'];_0x4bc1=function(){return _0x32d17f;};return _0x4bc1();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x486e5e=_0x38a2;(function(_0x5dd88f,_0x240c69){const _0x28ee35=_0x38a2,_0x3a96ea=_0x5dd88f();while(!![]){try{const _0x3f4792=parseInt(_0x28ee35(0x12c))/0x1+parseInt(_0x28ee35(0x14d))/0x2+-parseInt(_0x28ee35(0x139))/0x3+parseInt(_0x28ee35(0x12f))/0x4+parseInt(_0x28ee35(0x126))/0x5*(parseInt(_0x28ee35(0x143))/0x6)+-parseInt(_0x28ee35(0x12e))/0x7*(-parseInt(_0x28ee35(0x11d))/0x8)+parseInt(_0x28ee35(0x14a))/0x9*(-parseInt(_0x28ee35(0x10f))/0xa);if(_0x3f4792===_0x240c69)break;else _0x3a96ea['push'](_0x3a96ea['shift']());}catch(_0x352649){_0x3a96ea['push'](_0x3a96ea['shift']());}}}(_0x2c6b,0x1f69b));import{getTranslation as _0x5d1a43}from'../../utils/common-translations.js';import{default as _0xe37fa0}from'./basesuggestionthreadview.js';import{ButtonView as _0x2dbce6}from'ckeditor5/src/ui.js';function _0x2c6b(){const _0x4ab32f=['source','ck-annotation__user','acceptSuggestion','canAccept','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','acceptButton','getExternalSuggestionNote','<span\x20class=\x22ck-suggestion-type\x22>','EXTERNAL_AVATAR','setTemplate','commentThread','ck-annotation__info-name','render','createElement','\x22></span>','ck-suggestion-wrapper','editorDestroyed','type','push','ck-annotation','commentsListView','userView','ck-suggestion__main','innerHTML','content','ck-suggestion--disabled-comments','descriptionParts','<p>','execute','bind','ck-annotation__info','ck-annotation__content-wrapper','ck-suggestion__info','cancel','ck-suggestion__user','children','EXTERNAL_IMPORT_WORD_SUGGESTION','canDiscard','EXTERNAL_SUGGESTION','creator','check','ck-suggestion-','30GGStTw','bindTemplate','</p>','.ck-annotation__content-wrapper','attributes','getUserViewNotificationText','disableComments','_createButton','ck-comment__info-time','span','_config','description','authoredAt','Accept\x20suggestion','1555208SSDQRz','isEnabled','formatDateTime','discardSuggestion','value','ck-suggestion-wrapper--active','split','importWord','join','60CsMsAy','\x22\x20title=\x22','extendTemplate','change:description','set','discardButton','135485xoiLhN','fire','7QcqbgC','1019500lYVSuy','ck-suggestion','ck-suggestion__actions','getTemplate','color','name','innerText','locale','editorReady','_descriptionElement','19722zUhRcG','author','ck-suggestion--discard','div','element','EXTERNAL_IMPORT_WORD_AVATAR','_model','delegate','map','</span>','35298WENwTJ','Discard\x20suggestion','ck-annotation__info-time','ck-annotation__main','ck-suggestion--accept','ck-suggestion__info-name','@external','1614807qBRoog','ck-comment__external','title','36306fadBdd','commentThreadInputView','time','isExternal','querySelector','ck-annotation__actions','isActive'];_0x2c6b=function(){return _0x4ab32f;};return _0x2c6b();}import{icons as _0x36de21}from'ckeditor5/src/core.js';import{trimHtml as _0x4fd396,UserView as _0x4e99dd}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x38a2(_0x9ca55e,_0x2090b2){const _0x2c6be1=_0x2c6b();return _0x38a2=function(_0x38a2a7,_0x1e5cf0){_0x38a2a7=_0x38a2a7-0x108;let _0x1d6134=_0x2c6be1[_0x38a2a7];return _0x1d6134;},_0x38a2(_0x9ca55e,_0x2090b2);}export default class ie extends _0xe37fa0{constructor(_0x57c188,_0x58622c,_0x45611f,_0x326e62){const _0x5ae451=_0x38a2;super(_0x57c188,_0x58622c,_0x45611f,_0x326e62),this[_0x5ae451(0x12a)](_0x5ae451(0x165),''),this[_0x5ae451(0x171)](_0x5ae451(0x165))['to'](this,_0x5ae451(0x16e),_0x28ce34=>_0x28ce34&&_0x28ce34[0x0]?_0x28ce34[0x0][_0x5ae451(0x165)]:''),this[_0x5ae451(0x171)](_0x5ae451(0x11a))['to'](this,_0x5ae451(0x16e),this,_0x5ae451(0x153),(_0x5d6168,_0x2c9923)=>{const _0x3a532b=_0x5ae451;let _0x2604cd='';for(const _0x21ff88 of _0x5d6168)_0x2604cd+=_0x3a532b(0x16f)+ds(_0x21ff88[_0x3a532b(0x16c)],_0x21ff88[_0x3a532b(0x133)])+_0x3a532b(0x111);return _0x2c9923?_0x2604cd:_0x4fd396(_0x2604cd,{'limit':0x8c});}),this[_0x5ae451(0x138)]=null,this[_0x5ae451(0x159)]=this[_0x5ae451(0x116)](_0x5d1a43(_0x57c188,_0x5ae451(0x11c)),_0x36de21[_0x5ae451(0x10d)],_0x5ae451(0x147),_0x5ae451(0x156),'sw'),this[_0x5ae451(0x159)][_0x5ae451(0x171)](_0x5ae451(0x11e))['to'](this,_0x5ae451(0x157)),this[_0x5ae451(0x12b)]=this[_0x5ae451(0x116)](_0x5d1a43(_0x57c188,_0x5ae451(0x144)),_0x36de21[_0x5ae451(0x175)],_0x5ae451(0x13b),_0x5ae451(0x120),'sw'),this[_0x5ae451(0x12b)][_0x5ae451(0x171)](_0x5ae451(0x11e))['to'](this,_0x5ae451(0x10a)),this[_0x5ae451(0x169)]=new _0x4e99dd(_0x57c188,this[_0x5ae451(0x13f)][_0x5ae451(0x13a)],this[_0x5ae451(0x114)]()),this[_0x5ae451(0x169)][_0x5ae451(0x128)]({'attributes':{'class':[_0x5ae451(0x176),_0x5ae451(0x155)]}}),this[_0x5ae451(0x15d)](this[_0x5ae451(0x132)]());}[_0x486e5e(0x132)](){const _0x33a5f4=_0x486e5e,_0x2cf8cb=this[_0x33a5f4(0x110)],_0x57a6e3=[{'tag':_0x33a5f4(0x13c),'attributes':{'class':[_0x33a5f4(0x174),_0x33a5f4(0x172)]},'children':[{'tag':_0x33a5f4(0x118),'children':[{'text':this[_0x33a5f4(0x169)][_0x33a5f4(0x134)]}],'attributes':{'class':[_0x33a5f4(0x148),_0x33a5f4(0x15f)]}},{'tag':_0x33a5f4(0x14f),'attributes':{'datetime':_0x2cf8cb['to'](_0x33a5f4(0x11b)),'class':[_0x33a5f4(0x117),_0x33a5f4(0x145)]},'children':[{'text':_0x2cf8cb['to'](_0x33a5f4(0x11b),_0x1b7fdf=>this[_0x33a5f4(0x119)][_0x33a5f4(0x11f)](_0x1b7fdf))}]}]},{'tag':_0x33a5f4(0x13c),'attributes':{'class':[_0x33a5f4(0x131),_0x33a5f4(0x152)]},'children':[this[_0x33a5f4(0x159)],this[_0x33a5f4(0x12b)]]},{'tag':_0x33a5f4(0x13c),'attributes':{'class':[_0x33a5f4(0x173)]}}];this[_0x33a5f4(0x13f)][_0x33a5f4(0x150)]&&_0x57a6e3[_0x33a5f4(0x166)]({'tag':_0x33a5f4(0x13c),'attributes':{'class':[_0x33a5f4(0x14b)]},'children':[{'text':this[_0x33a5f4(0x15a)]()}]});const _0x107ba8={'tag':_0x33a5f4(0x13c),'attributes':{'class':[_0x33a5f4(0x163),_0x2cf8cb['if'](_0x33a5f4(0x153),_0x33a5f4(0x122)),_0x2cf8cb['to'](_0x33a5f4(0x165),_0x4f3520=>_0x33a5f4(0x10e)+_0x4f3520),this[_0x33a5f4(0x119)][_0x33a5f4(0x115)]&&_0x33a5f4(0x16d)],'data-suggestion-id':this[_0x33a5f4(0x13f)]['id'],'data-thread-id':this[_0x33a5f4(0x13f)][_0x33a5f4(0x15e)]['id'],'data-author-id':this[_0x33a5f4(0x13f)][_0x33a5f4(0x13a)]['id'],'tabindex':-0x1},'children':[{'tag':_0x33a5f4(0x13c),'attributes':{'class':[_0x33a5f4(0x130),_0x33a5f4(0x167)]},'children':[this[_0x33a5f4(0x169)],{'tag':_0x33a5f4(0x13c),'attributes':{'class':[_0x33a5f4(0x16a),_0x33a5f4(0x146)]},'children':_0x57a6e3}]}]};return this[_0x33a5f4(0x168)]&&this[_0x33a5f4(0x14e)]&&(_0x107ba8[_0x33a5f4(0x108)][_0x33a5f4(0x166)](this[_0x33a5f4(0x168)],this[_0x33a5f4(0x14e)]),this[_0x33a5f4(0x168)][_0x33a5f4(0x140)](_0x33a5f4(0x137))['to'](this),this[_0x33a5f4(0x168)][_0x33a5f4(0x140)](_0x33a5f4(0x164))['to'](this),this[_0x33a5f4(0x14e)][_0x33a5f4(0x140)](_0x33a5f4(0x137))['to'](this),this[_0x33a5f4(0x14e)][_0x33a5f4(0x140)](_0x33a5f4(0x164))['to'](this)),_0x107ba8;}[_0x486e5e(0x160)](){const _0x206e62=_0x486e5e;super[_0x206e62(0x160)](),this[_0x206e62(0x138)]=this[_0x206e62(0x13d)][_0x206e62(0x151)](_0x206e62(0x112)),this[_0x206e62(0x138)][_0x206e62(0x16b)]=this[_0x206e62(0x11a)],this['on'](_0x206e62(0x129),(_0x1593a8,_0x4562e8,_0x4e5f80)=>{const _0x24661b=_0x206e62;this[_0x24661b(0x138)][_0x24661b(0x16b)]=_0x4e5f80;});}[_0x486e5e(0x116)](_0x3821ad,_0x4e77a9,_0x51673e,_0x28f2da,_0x19b818){const _0x36fbdb=_0x486e5e,_0x32b5cc=new _0x2dbce6(this[_0x36fbdb(0x136)]);return _0x32b5cc[_0x36fbdb(0x12a)]({'label':_0x3821ad,'icon':_0x4e77a9,'tooltip':!0x0,'tooltipPosition':_0x19b818}),_0x32b5cc[_0x36fbdb(0x128)]({'attributes':{'class':_0x51673e}}),_0x32b5cc['on'](_0x36fbdb(0x170),()=>{const _0x492e51=_0x36fbdb;this[_0x492e51(0x12d)](_0x28f2da,this[_0x492e51(0x13f)]['id']);}),_0x32b5cc;}[_0x486e5e(0x15a)](){const _0x2efac5=_0x486e5e;return _0x2efac5(0x124)===this[_0x2efac5(0x13f)][_0x2efac5(0x113)][_0x2efac5(0x149)][_0x2efac5(0x154)]?_0x5d1a43(this[_0x2efac5(0x136)],_0x2efac5(0x109)):_0x5d1a43(this[_0x2efac5(0x136)],_0x2efac5(0x10b));}[_0x486e5e(0x114)](){const _0x4d441=_0x486e5e;return this[_0x4d441(0x13f)][_0x4d441(0x150)]?_0x4d441(0x124)===this[_0x4d441(0x13f)][_0x4d441(0x113)][_0x4d441(0x149)][_0x4d441(0x154)]?_0x5d1a43(this[_0x4d441(0x136)],_0x4d441(0x13e),this[_0x4d441(0x13f)][_0x4d441(0x10c)][_0x4d441(0x134)]):_0x5d1a43(this[_0x4d441(0x136)],_0x4d441(0x15c),this[_0x4d441(0x13f)][_0x4d441(0x10c)][_0x4d441(0x134)]):null;}}function ds(_0x19b40f,_0x158f0c){const _0x207c08=_0x486e5e;let _0x19c3ba='';return _0x19c3ba+=_0x19b40f[_0x207c08(0x123)]('*')[_0x207c08(0x141)]((_0x38120e,_0x4e19b5)=>_0x4e19b5%0x2!=0x0?_0x207c08(0x15b)+us(_0x38120e)+_0x207c08(0x142):us(_0x38120e))[_0x207c08(0x125)](''),_0x158f0c&&(_0x19c3ba+=_0x207c08(0x158)+_0x158f0c[_0x207c08(0x121)]+_0x207c08(0x127)+_0x158f0c[_0x207c08(0x14c)]+_0x207c08(0x162)),_0x19c3ba;}function us(_0x566250){const _0x4d837d=_0x486e5e,_0x2f4723=document[_0x4d837d(0x161)](_0x4d837d(0x118));return _0x2f4723[_0x4d837d(0x135)]=_0x566250,_0x2f4723[_0x4d837d(0x16b)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x47dac8,_0x50ce5a,_0x3af98f){const t=_0x47dac8['t'];switch(_0x50ce5a){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',_0x3af98f);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3af98f);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3af98f);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3af98f);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3af98f);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',_0x3af98f);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3af98f);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',_0x3af98f);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3af98f);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3af98f);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3af98f);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3af98f);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3af98f);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3af98f);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3af98f);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3af98f);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3af98f);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3af98f);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3af98f);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3af98f);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3af98f);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3af98f);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3af98f);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'},_0x3af98f);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3af98f);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3af98f);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3af98f);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3af98f);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3af98f);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'},_0x3af98f);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3af98f);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3af98f);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3af98f);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3af98f);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'},_0x3af98f);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3af98f);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'},_0x3af98f);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'},_0x3af98f);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3af98f);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'},_0x3af98f);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3af98f);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'},_0x3af98f);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3af98f);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3af98f);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'},_0x3af98f);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'},_0x3af98f);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 _0x50ce5a;}}
|
|
23
|
+
export function getTranslation(_0x458435,_0x4f1978,_0x509568){const t=_0x458435['t'];switch(_0x4f1978){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',_0x509568);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x509568);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x509568);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x509568);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x509568);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',_0x509568);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x509568);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',_0x509568);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x509568);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x509568);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x509568);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x509568);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x509568);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x509568);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x509568);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x509568);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x509568);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x509568);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x509568);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x509568);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x509568);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x509568);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x509568);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'},_0x509568);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x509568);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x509568);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x509568);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x509568);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x509568);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'},_0x509568);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x509568);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x509568);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x509568);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x509568);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'},_0x509568);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x509568);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'},_0x509568);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'},_0x509568);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x509568);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'},_0x509568);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x509568);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'},_0x509568);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x509568);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x509568);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x509568);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'},_0x509568);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'},_0x509568);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 _0x4f1978;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x17be(){const _0x53e85e=['273eRlPHI','isObject','length','isArray','execute','sort','content','29480MwGVCu','schema','start','value','isTouching','1YKnDPb','4179UmKnYD','isInContent','isMultiRange','createRange','color','isIntersecting','type','next','change','end','createPositionAt','createPositionBefore','1193260MdKNGf','join','430596Tmpuli','63814RHLugv','from','splice','push','getRanges','\x20[color\x20','replace','isCollapsed','871434nMTcSo','717970dyMebY','add','deletion','createPositionAfter','588jOsMtR','map'];_0x17be=function(){return _0x53e85e;};return _0x17be();}(function(_0xc4c72c,_0x2751d1){const _0x2dc2fe=_0x4311,_0x312cac=_0xc4c72c();while(!![]){try{const _0x40208b=parseInt(_0x2dc2fe(0x1ca))/0x1*(-parseInt(_0x2dc2fe(0x1da))/0x2)+parseInt(_0x2dc2fe(0x1cb))/0x3*(parseInt(_0x2dc2fe(0x1bc))/0x4)+-parseInt(_0x2dc2fe(0x1b8))/0x5+-parseInt(_0x2dc2fe(0x1d9))/0x6+parseInt(_0x2dc2fe(0x1be))/0x7*(parseInt(_0x2dc2fe(0x1c5))/0x8)+-parseInt(_0x2dc2fe(0x1b7))/0x9+parseInt(_0x2dc2fe(0x1d7))/0xa;if(_0x40208b===_0x2751d1)break;else _0x312cac['push'](_0x312cac['shift']());}catch(_0x572eb2){_0x312cac['push'](_0x312cac['shift']());}}}(_0x17be,0x1e347));export function normalizeDescription(_0x17b8a1){const _0x23a67e=_0x4311;return Array[_0x23a67e(0x1c1)](_0x17b8a1)||(_0x17b8a1=[_0x17b8a1]),_0x17b8a1[_0x23a67e(0x1bd)](_0x5cb71a=>{const _0x4987c0=_0x23a67e,_0x1a2806=_0x5cb71a[_0x4987c0(0x1c4)][_0x4987c0(0x1b5)](/\*/g,''),_0x1224ba=_0x5cb71a[_0x4987c0(0x1cf)]?_0x4987c0(0x1df)+_0x5cb71a[_0x4987c0(0x1cf)][_0x4987c0(0x1c8)]+']':'';return'['+_0x5cb71a[_0x4987c0(0x1d1)]+']\x20'+_0x1a2806+_0x1224ba;})[_0x23a67e(0x1d8)](';\x20');}export function sortSuggestions(_0x3899dd){const _0x15dd17=_0x4311;return _0x3899dd[_0x15dd17(0x1c3)]((_0x3b27f5,_0x231b0c)=>_0x15dd17(0x1ba)==_0x3b27f5[_0x15dd17(0x1d1)]&&_0x15dd17(0x1ba)!=_0x231b0c[_0x15dd17(0x1d1)]?-0x1:_0x15dd17(0x1ba)!=_0x3b27f5[_0x15dd17(0x1d1)]&&_0x15dd17(0x1ba)==_0x231b0c[_0x15dd17(0x1d1)]?0x1:0x0);}export function getSelectedSuggestions(_0x2837d7,_0x20d96d){const _0x16d8ea=_0x4311,_0x519694=Array[_0x16d8ea(0x1db)](_0x2837d7[_0x16d8ea(0x1de)]()),_0x128e0a=new Set();for(const _0x527371 of _0x20d96d)if(_0x527371[_0x16d8ea(0x1cc)]){for(const _0xa72de8 of _0x519694)for(const _0x96acd5 of _0x527371[_0x16d8ea(0x1de)]())(_0xa72de8[_0x16d8ea(0x1d0)](_0x96acd5)||_0x2837d7[_0x16d8ea(0x1b6)]&&!_0x527371[_0x16d8ea(0x1cd)]&&_0x527371[_0x16d8ea(0x1d2)]&&_0x96acd5[_0x16d8ea(0x1d4)][_0x16d8ea(0x1c9)](_0xa72de8[_0x16d8ea(0x1c7)]))&&_0x128e0a[_0x16d8ea(0x1b9)](_0x527371);}return _0x128e0a;}export function getRangesOfBlockGroups(_0x4ec7a8,_0x3ac519){const _0x58d072=_0x4311;let _0x36a685,_0x29db9c=0x0;const _0x302444=[],_0x29896d=_0x3ac519[_0x58d072(0x1c6)];for(;_0x29db9c<_0x4ec7a8[_0x58d072(0x1c0)];){const _0x581159=_0x4ec7a8[_0x29db9c],_0x3a99a6=_0x4ec7a8[_0x29db9c+0x1];_0x36a685||(_0x36a685=_0x3ac519[_0x58d072(0x1d6)](_0x581159)),co(_0x3ac519,_0x581159,_0x3a99a6)||(_0x302444[_0x58d072(0x1dd)](_0x3ac519[_0x58d072(0x1ce)](_0x36a685,_0x29896d[_0x58d072(0x1bf)](_0x581159)?_0x3ac519[_0x58d072(0x1bb)](_0x581159):_0x3ac519[_0x58d072(0x1d5)](_0x581159,_0x58d072(0x1d4)))),_0x36a685=null),_0x29db9c++;}return _0x302444;}function co(_0x31a49c,_0x40abe6,_0x516f67){const _0x1b758e=_0x4311;if(!_0x516f67)return!0x1;const _0x3f32d8=_0x31a49c[_0x1b758e(0x1bb)](_0x40abe6),_0x51d356=_0x31a49c[_0x1b758e(0x1d6)](_0x516f67);return _0x3f32d8[_0x1b758e(0x1c9)](_0x51d356);}function _0x4311(_0x224ad6,_0x3dcd07){const _0x17bebb=_0x17be();return _0x4311=function(_0x4311cf,_0x470ac7){_0x4311cf=_0x4311cf-0x1b5;let _0x50c022=_0x17bebb[_0x4311cf];return _0x50c022;},_0x4311(_0x224ad6,_0x3dcd07);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x3b1ed2,_0x3530ba,_0x52472e){const _0x8b0442=_0x4311;for(;_0x52472e[_0x8b0442(0x1c0)];){const _0x2bd86e=_0x52472e[_0x8b0442(0x1dc)](0x0,0x64);_0x3b1ed2[_0x8b0442(0x1d3)](()=>{const _0x441698=_0x8b0442;for(const _0x44fdf2 of _0x2bd86e)_0x44fdf2[_0x441698(0x1cc)]&&_0x3530ba[_0x441698(0x1c2)](_0x44fdf2['id']);});}}
|