@ckeditor/ckeditor5-track-changes 43.1.0-alpha.1 → 43.1.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +10 -10
- 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.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.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 _0x19890f=_0x53f4;(function(_0xcc7003,_0x5b28a3){const _0x2de642=_0x53f4,_0x238d3c=_0xcc7003();while(!![]){try{const _0x24a687=parseInt(_0x2de642(0x110))/0x1*(-parseInt(_0x2de642(0xde))/0x2)+-parseInt(_0x2de642(0xbf))/0x3*(-parseInt(_0x2de642(0x101))/0x4)+parseInt(_0x2de642(0xaa))/0x5+-parseInt(_0x2de642(0xc3))/0x6+-parseInt(_0x2de642(0x10c))/0x7+-parseInt(_0x2de642(0x117))/0x8+-parseInt(_0x2de642(0x111))/0x9*(-parseInt(_0x2de642(0x10b))/0xa);if(_0x24a687===_0x5b28a3)break;else _0x238d3c['push'](_0x238d3c['shift']());}catch(_0x1cbff6){_0x238d3c['push'](_0x238d3c['shift']());}}}(_0x4fb7,0x53b75));import{Plugin as _0x4683c8}from'ckeditor5/src/core.js';import{Collection as _0x5a0d5c}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x1f2bc9,createDropdown as _0x34d185,ListSeparatorView as _0x30aaab,MenuBarMenuView as _0x1cde52,MenuBarMenuListView as _0x1a866c,MenuBarMenuListItemView as _0x39d015,MenuBarMenuListItemButtonView as _0x11690e,SplitButtonView as _0x5e71ca,ViewModel as _0x3ccb15}from'ckeditor5/src/ui.js';import{Users as _0x56980e,getDateTimeFormatter as _0x1330d3,getAllMarkersDomElementsSorted as _0x4ef3ec}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x253311 from'./trackchangesediting.js';import _0x211873 from'./ui/suggestioncontroller.js';import _0x292c05 from'./ui/view/suggestionthreadview.js';import _0x391c88 from'./ui/view/suggestionview.js';function _0x4fb7(){const _0x207a78=['actionView','comments.maxThreadTotalWeight','_suggestionToController','items','listenTo','componentFactory','fire','mainView','3NKdriv','comments','get','TrackChangesEditing','1388580tydWmT','commandName','locale','getMarkers','suggestionUnloaded','config','createAnnotation','init','comments.maxCommentsWhenCollapsed','source','keys','TrackChangesUI','trackChanges.disableComments','_destroyController','stopListening','delete','reduce','define','set','suggestion-','getByInnerView','createAnnotationView','_viewToController','editor','createCommentThreadController','from','push','2qWTXdh','children','some','CommentsUI','separator','bind','toMany','has','discardButton','change:previous','_bindAnnotationToEditors','focus','getFirstRange','destroy','previous','filter','addComment','editing','Annotations','suggestionView','delegate','hasSuggestion','commentThread','_createMenuBarMenu','_createToolbarButton','_unbindEditors','_annotationViews','plugins','activeAnnotations','_addUIComponentsToFactory','comments.maxCommentCharsWhenCollapsed','isDirty','lowest','execute','getMarkerNames','1757380Gbuqgl','Discard\x20all\x20suggestions','head','suggestionLoaded','buttonView','CommentsRepository','addSourceCollector','activeMarkers','menuitemcheckbox','change:activeAnnotations','2234080hOUVeL','1030722WQZWrQ','innerView','menuBar:trackChanges','isEnabled','26839uuqMDW','36bFaOhC','pluginName','acceptSelectedSuggestions','refreshSelectedViews','_updateController','add','5040264NyNatu','comments.editorConfig','EditorAnnotations','menuitem','SuggestionView','_refreshActiveMarkers','discardAllSuggestions','length','escape','isMultiRange','arrowView','getJoined','acceptAllSuggestions','panelView','getAllAdjacentSuggestions','values','descriptionParts','value','SuggestionThreadView','button','getSuggestion','Accept\x20all\x20selected\x20suggestions','unbind','_initializeController','type','isOn','CommentView','registerAnnotation','commentsListView','discardSelectedSuggestions','menu','trackChanges.SuggestionThreadView','commands','_handleSuggestionControllerDelayed','Track\x20changes','Accept\x20all\x20suggestions','suggestionChanged','switchbutton','_handleControllerBuffer','size','descriptionFactory','view','227360TwinIA','Discard\x20all\x20selected\x20suggestions','requires','_disableComments','remove','getRanges','model','clear','isInContent','acceptButton','trackChanges.SuggestionView','getDescriptions','trackChanges'];_0x4fb7=function(){return _0x207a78;};return _0x4fb7();}import{getTranslation as _0x5e93b5}from'./utils/common-translations.js';import _0x9bade2 from'../theme/icons/track-changes.svg';export default class d extends _0x4683c8{static get[_0x19890f(0xac)](){const _0x4c686d=_0x19890f;return[_0x253311,_0x56980e,_0x4c686d(0x106),_0x4c686d(0xf0),_0x4c686d(0x119)];}static get[_0x19890f(0x112)](){const _0x4ed9d7=_0x19890f;return _0x4ed9d7(0xce);}constructor(_0x4b88f9){const _0x41a6c8=_0x19890f;super(_0x4b88f9),this[_0x41a6c8(0xb9)]=new Map(),this[_0x41a6c8(0xd9)]=new Map(),this[_0x41a6c8(0xf8)]=new Map(),this[_0x41a6c8(0xa6)]=new Map();const _0x250564=this[_0x41a6c8(0xda)][_0x41a6c8(0xc8)];_0x250564[_0x41a6c8(0xd4)](_0x41a6c8(0x9f),_0x292c05),_0x250564[_0x41a6c8(0xd4)](_0x41a6c8(0xb4),_0x391c88),_0x250564[_0x41a6c8(0xd4)](_0x41a6c8(0xcf),!0x1),this[_0x41a6c8(0xad)]=_0x250564[_0x41a6c8(0xc1)](_0x41a6c8(0xcf));}[_0x19890f(0xa1)](_0x3031a1,_0x499268){const _0x44b5c9=_0x19890f;0x0===this[_0x44b5c9(0xa6)][_0x44b5c9(0xa7)]&&setTimeout(()=>{const _0x20461e=_0x44b5c9;for(const [_0x43d081,_0x1ef369]of this[_0x20461e(0xa6)]){const _0x2e7262=this[_0x20461e(0xb9)][_0x20461e(0xe5)](_0x43d081);_0x2e7262||_0x1ef369?_0x2e7262&&_0x1ef369&&this[_0x20461e(0xd0)](_0x43d081):this[_0x20461e(0x12e)](_0x43d081);}this[_0x20461e(0xa6)][_0x20461e(0xb1)](),this[_0x20461e(0xda)][_0x20461e(0xf9)][_0x20461e(0xc1)](_0x20461e(0x119))[_0x20461e(0x114)](),this[_0x20461e(0x11c)]();},0xa),this[_0x44b5c9(0xa6)][_0x44b5c9(0xd5)](_0x3031a1,_0x499268);}[_0x19890f(0xca)](){const _0x9dcfd7=_0x19890f,_0x2a3b39=this[_0x9dcfd7(0xda)],_0x3b7b1e=_0x2a3b39[_0x9dcfd7(0xf9)][_0x9dcfd7(0xc1)](_0x9dcfd7(0xc2)),_0x3bd509=_0x2a3b39[_0x9dcfd7(0xf9)][_0x9dcfd7(0xc1)](_0x9dcfd7(0xf0)),_0x82cf97=_0x2a3b39[_0x9dcfd7(0xf9)][_0x9dcfd7(0xc1)](_0x9dcfd7(0x119)),_0x5a4e9a=_0x2a3b39[_0x9dcfd7(0xf9)][_0x9dcfd7(0xc1)](_0x9dcfd7(0x106));this[_0x9dcfd7(0xfb)](),_0x82cf97[_0x9dcfd7(0x107)](()=>{const _0x37e0d5=_0x9dcfd7,_0x1a1fc5=[];for(const [_0x17b78a,_0x667198]of Array[_0x37e0d5(0xdc)](this[_0x37e0d5(0xb9)])){const _0x167c4e=_0x17b78a[_0x37e0d5(0x125)](),_0x558646=[];for(const _0x3a189d of _0x167c4e){if(!_0x3a189d[_0x37e0d5(0xb2)])continue;if(_0x3a189d[_0x37e0d5(0x120)]){_0x558646[_0x37e0d5(0xdd)](..._0x3a189d[_0x37e0d5(0xaf)]());continue;}const _0x2b0dc5=_0x3a189d[_0x37e0d5(0xea)]();if(_0x558646[_0x37e0d5(0x11e)]>0x0){const _0x5d582b=_0x558646[0x0][_0x37e0d5(0x122)](_0x2b0dc5);if(_0x5d582b){_0x558646[0x0]=_0x5d582b;continue;}}_0x558646[_0x37e0d5(0xdd)](_0x2b0dc5);}_0x1a1fc5[_0x37e0d5(0xdd)]([_0x667198[_0x37e0d5(0xa9)],_0x558646]);}return _0x1a1fc5;}),this[_0x9dcfd7(0xbb)](_0x3b7b1e,_0x9dcfd7(0x104),(_0x301d44,_0xdc151a)=>{const _0x4cc359=_0x9dcfd7;this[_0x4cc359(0xbb)](_0xdc151a,_0x4cc359(0xe7),(_0x352015,_0x595b01,_0x655f20,_0xd61906)=>{const _0x393be9=_0x4cc359;_0xdc151a[_0x393be9(0xb2)]&&(null==_0x655f20?(this[_0x393be9(0x115)](_0xd61906[_0x393be9(0x103)]),this[_0x393be9(0xa1)](_0xdc151a,!0x1)):(this[_0x393be9(0x115)](_0x655f20[_0x393be9(0x103)]),null==_0xd61906&&this[_0x393be9(0xa1)](_0xdc151a,!0x0)));}),null!==_0xdc151a[_0x4cc359(0xec)]?this[_0x4cc359(0x115)](_0xdc151a[_0x4cc359(0x103)]):this[_0x4cc359(0xa1)](_0xdc151a,!0x1);}),this[_0x9dcfd7(0xbb)](_0x3b7b1e,_0x9dcfd7(0xc7),(_0x4eb68b,_0x3c1629,_0x5fae82)=>{const _0x4da065=_0x9dcfd7;this[_0x4da065(0xd1)](_0x3c1629,_0x4da065(0xe7)),this[_0x4da065(0xa6)][_0x4da065(0xd2)](_0x3c1629),this[_0x4da065(0xb9)][_0x4da065(0xe5)](_0x3c1629)&&this[_0x4da065(0xd0)](_0x3c1629),_0x5fae82&&this[_0x4da065(0x115)](_0x5fae82[_0x4da065(0x103)]);}),this[_0x9dcfd7(0xbb)](_0x3b7b1e,_0x9dcfd7(0xa4),(_0xe5b75f,_0x51b33d)=>{const _0x34bc77=_0x9dcfd7;this[_0x34bc77(0x115)](_0x51b33d);}),this[_0x9dcfd7(0xbb)](_0x3bd509,_0x9dcfd7(0x10a),()=>{const _0x539046=_0x9dcfd7;this[_0x539046(0x11c)]();}),this[_0x9dcfd7(0xbb)](_0x5a4e9a,_0x9dcfd7(0xee),(_0x187b8b,{threadId:_0x19ec0d,isFromAdapter:_0x3a6a1f})=>{const _0x197a94=_0x9dcfd7;if(_0x3a6a1f||!_0x3b7b1e[_0x197a94(0xf3)](_0x19ec0d))return;const _0x4bd946=_0x3b7b1e[_0x197a94(0x12b)](_0x19ec0d);this[_0x197a94(0xb9)][_0x197a94(0xc1)](_0x4bd946)[_0x197a94(0xa9)][_0x197a94(0x9c)][_0x197a94(0xe9)](-0x1);},{'priority':_0x9dcfd7(0xfe)});}[_0x19890f(0x11c)](){const _0x3e937f=_0x19890f,_0x3c1fa9=this[_0x3e937f(0xda)][_0x3e937f(0xf9)][_0x3e937f(0xc1)](_0x3e937f(0xf0)),_0x20cdd9=this[_0x3e937f(0xda)][_0x3e937f(0xf9)][_0x3e937f(0xc1)](_0x3e937f(0xc2)),_0x1227a4=Array[_0x3e937f(0xdc)](_0x3c1fa9[_0x3e937f(0xfa)],_0x58d15e=>_0x58d15e[_0x3e937f(0x10d)])[_0x3e937f(0xed)](_0x21352b=>this[_0x3e937f(0xd9)][_0x3e937f(0xe5)](_0x21352b)),_0x144e09=[];for(const _0x342fe6 of _0x1227a4){const _0x123380=this[_0x3e937f(0xd9)][_0x3e937f(0xc1)](_0x342fe6)[_0x3e937f(0xb0)][_0x3e937f(0x125)]();_0x144e09[_0x3e937f(0xdd)](..._0x123380[_0x3e937f(0xd3)]((_0x13807e,_0x5034d2)=>[..._0x13807e,..._0x5034d2[_0x3e937f(0x100)]()],[]));}_0x20cdd9[_0x3e937f(0x108)]=_0x144e09;}[_0x19890f(0xfb)](){const _0x5dbc35=_0x19890f,_0x14b133=this[_0x5dbc35(0xda)],_0x4da30b=_0x14b133[_0x5dbc35(0xc5)],_0x18686a=_0x5e93b5(_0x4da30b,_0x5dbc35(0xa2)),_0x1cf0fa=new _0x5a0d5c([{'type':_0x5dbc35(0xa5),'model':new _0x3ccb15({'withText':!0x0,'isToggleable':!0x0,'label':_0x18686a,'commandName':_0x5dbc35(0xb6),'role':_0x5dbc35(0x109)})},{'type':_0x5dbc35(0xe2)},{'type':_0x5dbc35(0x12a),'model':new _0x3ccb15({'withText':!0x0,'label':_0x5e93b5(_0x4da30b,_0x5dbc35(0xa3)),'commandName':_0x5dbc35(0x123),'role':_0x5dbc35(0x11a)})},{'type':_0x5dbc35(0x12a),'model':new _0x3ccb15({'withText':!0x0,'label':_0x5e93b5(_0x4da30b,_0x5dbc35(0x12c)),'commandName':_0x5dbc35(0x113),'role':_0x5dbc35(0x11a)})},{'type':_0x5dbc35(0x12a),'model':new _0x3ccb15({'withText':!0x0,'label':_0x5e93b5(_0x4da30b,_0x5dbc35(0x102)),'commandName':_0x5dbc35(0x11d),'role':_0x5dbc35(0x11a)})},{'type':_0x5dbc35(0x12a),'model':new _0x3ccb15({'withText':!0x0,'label':_0x5e93b5(_0x4da30b,_0x5dbc35(0xab)),'commandName':_0x5dbc35(0x9d),'role':_0x5dbc35(0x11a)})}]);for(const _0x322cfc of _0x1cf0fa)if(me(_0x322cfc)){const _0xc2e5ea=_0x14b133[_0x5dbc35(0xa0)][_0x5dbc35(0xc1)](_0x322cfc[_0x5dbc35(0xb0)][_0x5dbc35(0xc4)]);_0x322cfc[_0x5dbc35(0xb0)][_0x5dbc35(0xe3)](_0x5dbc35(0x130),_0x5dbc35(0x10f))['to'](_0xc2e5ea,_0x5dbc35(0x128),_0x5dbc35(0x10f));}_0x14b133['ui'][_0x5dbc35(0xbc)][_0x5dbc35(0x116)](_0x5dbc35(0xb6),_0xfde43b=>this[_0x5dbc35(0xf6)](_0xfde43b,_0x1cf0fa,_0x18686a)),_0x14b133['ui'][_0x5dbc35(0xbc)][_0x5dbc35(0x116)](_0x5dbc35(0x10e),_0x359c6f=>this[_0x5dbc35(0xf5)](_0x359c6f,_0x1cf0fa,_0x18686a));}[_0x19890f(0xf6)](_0x1f4953,_0x1de260,_0x396e59){const _0xa7d9fa=_0x19890f,_0x527d70=_0x34d185(_0x1f4953,_0x5e71ca),_0x93163=this[_0xa7d9fa(0xda)][_0xa7d9fa(0xa0)][_0xa7d9fa(0xc1)](_0xa7d9fa(0xb6));_0x527d70[_0xa7d9fa(0x105)][_0xa7d9fa(0xd5)]({'tooltip':_0x396e59,'label':_0x396e59,'icon':_0x9bade2}),_0x527d70[_0xa7d9fa(0x105)][_0xa7d9fa(0xe3)](_0xa7d9fa(0x130))['to'](_0x93163,_0xa7d9fa(0x128)),_0x527d70[_0xa7d9fa(0x105)]['on'](_0xa7d9fa(0xff),()=>{const _0x57164c=_0xa7d9fa;_0x93163[_0x57164c(0xff)](),this[_0x57164c(0xda)][_0x57164c(0xef)][_0x57164c(0xa9)][_0x57164c(0xe9)]();}),_0x1f2bc9(_0x527d70,_0x1de260,{'role':_0xa7d9fa(0x9e)});const _0x312737=[];for(const _0x433fde of _0x1de260)me(_0x433fde)&&_0x312737[_0xa7d9fa(0xdd)](this[_0xa7d9fa(0xda)][_0xa7d9fa(0xa0)][_0xa7d9fa(0xc1)](_0x433fde[_0xa7d9fa(0xb0)][_0xa7d9fa(0xc4)]));const _0x427e9d=_0x527d70[_0xa7d9fa(0x105)];return _0x427e9d[_0xa7d9fa(0xb7)][_0xa7d9fa(0x12d)](_0xa7d9fa(0x10f)),_0x427e9d[_0xa7d9fa(0x121)][_0xa7d9fa(0x12d)](_0xa7d9fa(0x10f)),_0x427e9d[_0xa7d9fa(0xb7)][_0xa7d9fa(0xe3)](_0xa7d9fa(0x10f))['to'](_0x93163,_0xa7d9fa(0x10f)),_0x427e9d[_0xa7d9fa(0x121)][_0xa7d9fa(0xe3)](_0xa7d9fa(0x10f))[_0xa7d9fa(0xe4)](_0x312737,_0xa7d9fa(0x10f),(..._0x21a602)=>_0x21a602[_0xa7d9fa(0xe0)](_0x5285b7=>_0x5285b7)),_0x527d70['on'](_0xa7d9fa(0xff),_0x1a34a2=>{const _0x2a2f6b=_0xa7d9fa;this[_0x2a2f6b(0xda)][_0x2a2f6b(0xff)](_0x1a34a2[_0x2a2f6b(0xcc)][_0x2a2f6b(0xc4)]),this[_0x2a2f6b(0xda)][_0x2a2f6b(0xef)][_0x2a2f6b(0xa9)][_0x2a2f6b(0xe9)]();}),_0x527d70;}[_0x19890f(0xf5)](_0x119e5e,_0x2acee6,_0x202501){const _0x1090d2=_0x19890f,_0x1efc52=new _0x1cde52(_0x119e5e),_0x5ed3d7=this[_0x1090d2(0xda)][_0x1090d2(0xa0)][_0x1090d2(0xc1)](_0x1090d2(0xb6));_0x1efc52[_0x1090d2(0x105)][_0x1090d2(0xd5)]({'label':_0x202501,'icon':_0x9bade2});const _0x46a100=new _0x1a866c(_0x119e5e);for(const _0x5142ca of _0x2acee6){if(_0x1090d2(0xe2)==_0x5142ca[_0x1090d2(0x12f)]){_0x46a100[_0x1090d2(0xba)][_0x1090d2(0x116)](new _0x30aaab(_0x119e5e));continue;}const _0x5e212d=new _0x39d015(_0x119e5e,_0x1efc52),_0x320102=new _0x11690e(_0x119e5e),_0x5ee812=_0x5142ca[_0x1090d2(0xb0)];_0x320102[_0x1090d2(0xe3)](...Object[_0x1090d2(0xcd)](_0x5ee812))['to'](_0x5ee812),_0x320102[_0x1090d2(0xf2)](_0x1090d2(0xff))['to'](_0x1efc52),_0x320102['on'](_0x1090d2(0xff),()=>{const _0x14a8af=_0x1090d2;this[_0x14a8af(0xda)][_0x14a8af(0xff)](_0x5ee812[_0x14a8af(0xc4)]),this[_0x14a8af(0xda)][_0x14a8af(0xef)][_0x14a8af(0xa9)][_0x14a8af(0xe9)]();}),_0x5e212d[_0x1090d2(0xdf)][_0x1090d2(0x116)](_0x320102),_0x46a100[_0x1090d2(0xba)][_0x1090d2(0x116)](_0x5e212d);}return _0x1efc52[_0x1090d2(0xe3)](_0x1090d2(0x10f))['to'](_0x5ed3d7,_0x1090d2(0x10f)),_0x1efc52[_0x1090d2(0x124)][_0x1090d2(0xdf)][_0x1090d2(0x116)](_0x46a100),_0x1efc52;}[_0x19890f(0x12e)](_0x47b7e9){const _0x3f54eb=_0x19890f,_0x7e2218=this[_0x3f54eb(0xda)],_0x225814=_0x7e2218[_0x3f54eb(0xc8)],_0x2ded5d=_0x7e2218[_0x3f54eb(0xf9)][_0x3f54eb(0xc1)](_0x3f54eb(0xf0)),_0x551b5c=_0x7e2218[_0x3f54eb(0xf9)][_0x3f54eb(0xc1)](_0x3f54eb(0x106)),_0xb2f396=_0x7e2218[_0x3f54eb(0xf9)][_0x3f54eb(0xc1)](_0x3f54eb(0x119)),_0x2bb7cb=_0x7e2218[_0x3f54eb(0xf9)][_0x3f54eb(0xc1)](_0x56980e)['me'],_0x16f16b=_0x225814[_0x3f54eb(0xc1)](_0x3f54eb(0xb6))[_0x3f54eb(0x129)],_0x5bfb46=_0x225814[_0x3f54eb(0xc1)](_0x3f54eb(0xb6))[_0x3f54eb(0x11b)],{CommentsListView:_0x5340aa,CommentThreadInputView:_0x3118c7}=_0x7e2218[_0x3f54eb(0xf9)][_0x3f54eb(0xc1)](_0x3f54eb(0xe1));let _0x599fab,_0x5bc7ba,_0x35d187;this[_0x3f54eb(0xf8)][_0x3f54eb(0xe5)](_0x47b7e9['id'])?(_0x5bc7ba=this[_0x3f54eb(0xf8)][_0x3f54eb(0xc1)](_0x47b7e9['id']),_0x599fab=_0x5bc7ba[_0x3f54eb(0xbe)]):(_0x599fab=new _0x16f16b(_0x7e2218[_0x3f54eb(0xc5)],_0x47b7e9,_0x2bb7cb,{'disableComments':this[_0x3f54eb(0xad)],'editorConfig':_0x225814[_0x3f54eb(0xc1)](_0x3f54eb(0x118)),'maxCommentsWhenCollapsed':_0x225814[_0x3f54eb(0xc1)](_0x3f54eb(0xcb)),'maxThreadTotalWeight':_0x225814[_0x3f54eb(0xc1)](_0x3f54eb(0xb8)),'maxCommentCharsWhenCollapsed':_0x225814[_0x3f54eb(0xc1)](_0x3f54eb(0xfc)),'formatDateTime':_0x1330d3(_0x225814[_0x3f54eb(0xc1)](_0x3f54eb(0xc5))),'CommentView':_0x225814[_0x3f54eb(0xc1)](_0x3f54eb(0xc0))[_0x3f54eb(0x131)],'CommentsListView':_0x5340aa,'CommentThreadInputView':_0x3118c7,'SuggestionView':_0x5bfb46}),_0x599fab[_0x3f54eb(0xf1)][_0x3f54eb(0xb3)]['on'](_0x3f54eb(0xff),()=>{const _0x5a5686=_0x3f54eb;_0x7e2218[_0x5a5686(0xef)][_0x5a5686(0xa9)][_0x5a5686(0xe9)]();}),_0x599fab[_0x3f54eb(0xf1)][_0x3f54eb(0xe6)]['on'](_0x3f54eb(0xff),()=>{const _0x230ee7=_0x3f54eb;_0x7e2218[_0x230ee7(0xef)][_0x230ee7(0xa9)][_0x230ee7(0xe9)]();}),_0x5bc7ba=_0x2ded5d[_0x3f54eb(0xd8)](this[_0x3f54eb(0xda)][_0x3f54eb(0xc5)],_0x599fab),_0x5bc7ba[_0x3f54eb(0xe3)](_0x3f54eb(0xfd))['to'](_0x599fab,_0x3f54eb(0xfd)),_0x5bc7ba[_0x3f54eb(0xe3)](_0x3f54eb(0x11e))['to'](_0x599fab),_0x5bc7ba[_0x3f54eb(0xe3)](_0x3f54eb(0x12f))['to'](_0x599fab,_0x3f54eb(0x12f),_0x59ea7e=>_0x3f54eb(0xd6)+_0x59ea7e),_0x599fab['on'](_0x3f54eb(0x11f),()=>{const _0x119501=_0x3f54eb;_0x35d187[_0x119501(0xbd)](_0x119501(0x11f));}),this[_0x3f54eb(0xf8)][_0x3f54eb(0xd5)](_0x47b7e9['id'],_0x5bc7ba));const _0x5ceda9=_0x551b5c[_0x3f54eb(0xdb)](_0x47b7e9[_0x3f54eb(0xf4)],_0x599fab),_0x393219=new _0x211873(_0x7e2218,_0x47b7e9,_0x599fab,_0x5ceda9),_0x199d89=_0x47b7e9[_0x3f54eb(0x125)]()[_0x3f54eb(0xed)](_0x40e24a=>_0x40e24a[_0x3f54eb(0xb2)]);_0x599fab[_0x3f54eb(0x127)]=_0x7e2218[_0x3f54eb(0xf9)][_0x3f54eb(0xc1)](_0x3f54eb(0xc2))[_0x3f54eb(0xa8)][_0x3f54eb(0xb5)](_0x199d89),this[_0x3f54eb(0xb9)][_0x3f54eb(0xd5)](_0x47b7e9,_0x393219),this[_0x3f54eb(0xd9)][_0x3f54eb(0xd5)](_0x599fab,_0x393219),_0x35d187=_0x2ded5d[_0x3f54eb(0xc9)]({'view':_0x5bc7ba,'target':()=>{const _0x8a2236=_0x3f54eb,_0x26f2a1=[],_0x52f3d7=_0x47b7e9[_0x8a2236(0x125)]()[_0x8a2236(0xed)](_0x4f4a22=>_0x4f4a22[_0x8a2236(0xb2)]);for(const _0x55c254 of _0x52f3d7)_0x26f2a1[_0x8a2236(0xdd)](..._0x55c254[_0x8a2236(0xc6)]());return _0x4ef3ec(_0x7e2218[_0x8a2236(0xef)],_0x26f2a1);},'type':()=>_0x3f54eb(0xd6)+_0x393219[_0x3f54eb(0xa9)][_0x3f54eb(0x12f)]}),_0x551b5c[_0x3f54eb(0xe8)](_0x599fab,_0x35d187),_0x2ded5d[_0x3f54eb(0x116)](_0x35d187),_0xb2f396[_0x3f54eb(0x132)](_0x35d187);}[_0x19890f(0xd0)](_0x275af2){const _0xdbf9f3=_0x19890f,_0x336c2a=this[_0xdbf9f3(0xda)][_0xdbf9f3(0xf9)][_0xdbf9f3(0xc1)](_0xdbf9f3(0x106)),_0x2c577c=this[_0xdbf9f3(0xda)][_0xdbf9f3(0xf9)][_0xdbf9f3(0xc1)](_0xdbf9f3(0xf0)),_0x38c0ae=this[_0xdbf9f3(0xb9)][_0xdbf9f3(0xc1)](_0x275af2),_0x31c8f5=_0x38c0ae[_0xdbf9f3(0xa9)],_0x5dbe23=_0x2c577c[_0xdbf9f3(0xd7)](_0x31c8f5);_0x336c2a[_0xdbf9f3(0xf7)](_0x31c8f5),_0x5dbe23&&_0x2c577c[_0xdbf9f3(0xae)](_0x5dbe23),this[_0xdbf9f3(0xb9)][_0xdbf9f3(0xd2)](_0x275af2),this[_0xdbf9f3(0xd9)][_0xdbf9f3(0xd2)](_0x31c8f5),_0x38c0ae[_0xdbf9f3(0xeb)]();}[_0x19890f(0x115)](_0x268ec0){const _0x127747=_0x19890f;if(!_0x268ec0[_0x127747(0xb2)]||!this[_0x127747(0xb9)][_0x127747(0xe5)](_0x268ec0))return;const _0x2b6fa5=this[_0x127747(0xda)][_0x127747(0xf9)][_0x127747(0xc1)](_0x127747(0xc2)),_0x50c11b=this[_0x127747(0xb9)][_0x127747(0xc1)](_0x268ec0),_0x46a9ff=_0x268ec0[_0x127747(0x125)]();_0x50c11b[_0x127747(0xa9)][_0x127747(0x127)]=_0x2b6fa5[_0x127747(0xa8)][_0x127747(0xb5)](_0x46a9ff);}[_0x19890f(0xeb)](){const _0x52524e=_0x19890f;for(const _0x3bef02 of this[_0x52524e(0xb9)][_0x52524e(0xcd)]())this[_0x52524e(0xd0)](_0x3bef02);for(const _0x3f0277 of this[_0x52524e(0xf8)][_0x52524e(0x126)]())_0x3f0277[_0x52524e(0xbe)][_0x52524e(0xeb)]();super[_0x52524e(0xeb)]();}}function _0x53f4(_0x283179,_0x3aeb71){const _0x4fb7c0=_0x4fb7();return _0x53f4=function(_0x53f45a,_0x133582){_0x53f45a=_0x53f45a-0x9c;let _0x4b80fe=_0x4fb7c0[_0x53f45a];return _0x4b80fe;},_0x53f4(_0x283179,_0x3aeb71);}function me(_0x44bb87){const _0x5bfc54=_0x19890f;return _0x5bfc54(0xb0)in _0x44bb87;}
|
|
23
|
+
const _0x345319=_0x3bac;(function(_0x153024,_0x36e296){const _0x9eb8cf=_0x3bac,_0x3b07f9=_0x153024();while(!![]){try{const _0x522310=parseInt(_0x9eb8cf(0xaf))/0x1*(parseInt(_0x9eb8cf(0xae))/0x2)+parseInt(_0x9eb8cf(0x7e))/0x3*(parseInt(_0x9eb8cf(0xf4))/0x4)+-parseInt(_0x9eb8cf(0x8f))/0x5*(parseInt(_0x9eb8cf(0xc5))/0x6)+-parseInt(_0x9eb8cf(0xf9))/0x7+-parseInt(_0x9eb8cf(0xe1))/0x8*(parseInt(_0x9eb8cf(0xb6))/0x9)+parseInt(_0x9eb8cf(0x109))/0xa*(parseInt(_0x9eb8cf(0xa8))/0xb)+parseInt(_0x9eb8cf(0x9b))/0xc*(parseInt(_0x9eb8cf(0x88))/0xd);if(_0x522310===_0x36e296)break;else _0x3b07f9['push'](_0x3b07f9['shift']());}catch(_0x84d76d){_0x3b07f9['push'](_0x3b07f9['shift']());}}}(_0x4bbd,0x58034));function _0x3bac(_0x408bae,_0x2c7b30){const _0x4bbdd2=_0x4bbd();return _0x3bac=function(_0x3bac66,_0x259dd7){_0x3bac66=_0x3bac66-0x72;let _0x17a66c=_0x4bbdd2[_0x3bac66];return _0x17a66c;},_0x3bac(_0x408bae,_0x2c7b30);}import{Plugin as _0x4cb86d}from'ckeditor5/src/core.js';import{Collection as _0x22ec2b}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x4df694,createDropdown as _0x4c1a44,ListSeparatorView as _0x3951ee,MenuBarMenuView as _0x4bbbd9,MenuBarMenuListView as _0x2ba006,MenuBarMenuListItemView as _0x1de283,MenuBarMenuListItemButtonView as _0x566fec,SplitButtonView as _0x5f428d,ViewModel as _0x550040}from'ckeditor5/src/ui.js';import{Users as _0x4039c8,getDateTimeFormatter as _0x53fdb8,getAllMarkersDomElementsSorted as _0x586213}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1fe097 from'./trackchangesediting.js';import _0x210ddb from'./ui/suggestioncontroller.js';import _0x5cd8e7 from'./ui/view/suggestionthreadview.js';import _0x349cd2 from'./ui/view/suggestionview.js';import{getTranslation as _0x32b293}from'./utils/common-translations.js';import _0x557538 from'../theme/icons/track-changes.svg';export default class d extends _0x4cb86d{static get[_0x345319(0xf0)](){const _0x777604=_0x345319;return[_0x1fe097,_0x4039c8,_0x777604(0x73),_0x777604(0x101),_0x777604(0xb9)];}static get[_0x345319(0x100)](){const _0x5e9f71=_0x345319;return _0x5e9f71(0x87);}constructor(_0x35b8c3){const _0x570b74=_0x345319;super(_0x35b8c3),this[_0x570b74(0x98)]=new Map(),this[_0x570b74(0xe0)]=new Map(),this[_0x570b74(0x99)]=new Map(),this[_0x570b74(0x108)]=new Map();const _0x4e01e=this[_0x570b74(0xb7)][_0x570b74(0xc6)];_0x4e01e[_0x570b74(0xb2)](_0x570b74(0xde),_0x5cd8e7),_0x4e01e[_0x570b74(0xb2)](_0x570b74(0xb0),_0x349cd2),_0x4e01e[_0x570b74(0xb2)](_0x570b74(0xba),!0x1),this[_0x570b74(0x105)]=_0x4e01e[_0x570b74(0xce)](_0x570b74(0xba));}[_0x345319(0xef)](_0x2aabe0,_0x558785){const _0x192d44=_0x345319;0x0===this[_0x192d44(0x108)][_0x192d44(0xe3)]&&setTimeout(()=>{const _0x302eac=_0x192d44;for(const [_0x2be84c,_0x6dd3d4]of this[_0x302eac(0x108)]){const _0x3e3af6=this[_0x302eac(0x98)][_0x302eac(0x8c)](_0x2be84c);_0x3e3af6||_0x6dd3d4?_0x3e3af6&&_0x6dd3d4&&this[_0x302eac(0x7c)](_0x2be84c):this[_0x302eac(0x72)](_0x2be84c);}this[_0x302eac(0x108)][_0x302eac(0x97)](),this[_0x302eac(0xb7)][_0x302eac(0x9f)][_0x302eac(0xce)](_0x302eac(0xb9))[_0x302eac(0xc2)](),this[_0x302eac(0xa0)]();},0xa),this[_0x192d44(0x108)][_0x192d44(0xbb)](_0x2aabe0,_0x558785);}[_0x345319(0xa4)](){const _0x15f66b=_0x345319,_0x533cef=this[_0x15f66b(0xb7)],_0x34dba0=_0x533cef[_0x15f66b(0x9f)][_0x15f66b(0xce)](_0x15f66b(0xf5)),_0x47437d=_0x533cef[_0x15f66b(0x9f)][_0x15f66b(0xce)](_0x15f66b(0x101)),_0x3c9665=_0x533cef[_0x15f66b(0x9f)][_0x15f66b(0xce)](_0x15f66b(0xb9)),_0xffcfe0=_0x533cef[_0x15f66b(0x9f)][_0x15f66b(0xce)](_0x15f66b(0x73));this[_0x15f66b(0x81)](),_0x3c9665[_0x15f66b(0xcd)](()=>{const _0x42810f=_0x15f66b,_0x329443=[];for(const [_0x1a6277,_0x6f0545]of Array[_0x42810f(0xaa)](this[_0x42810f(0x98)])){const _0x38c5f7=_0x1a6277[_0x42810f(0x90)](),_0x14913d=[];for(const _0x3477c0 of _0x38c5f7){if(!_0x3477c0[_0x42810f(0xa3)])continue;if(_0x3477c0[_0x42810f(0xe5)]){_0x14913d[_0x42810f(0xe9)](..._0x3477c0[_0x42810f(0xbc)]());continue;}const _0x2b53e8=_0x3477c0[_0x42810f(0x86)]();if(_0x14913d[_0x42810f(0x84)]>0x0){const _0x2c166a=_0x14913d[0x0][_0x42810f(0x92)](_0x2b53e8);if(_0x2c166a){_0x14913d[0x0]=_0x2c166a;continue;}}_0x14913d[_0x42810f(0xe9)](_0x2b53e8);}_0x329443[_0x42810f(0xe9)]([_0x6f0545[_0x42810f(0xa7)],_0x14913d]);}return _0x329443;}),this[_0x15f66b(0xb1)](_0x34dba0,_0x15f66b(0xfe),(_0x3767d1,_0x3863e0)=>{const _0x1af199=_0x15f66b;this[_0x1af199(0xb1)](_0x3863e0,_0x1af199(0xf8),(_0x10792f,_0x571189,_0x58abc1,_0x38730d)=>{const _0x4aa96b=_0x1af199;_0x3863e0[_0x4aa96b(0xa3)]&&(null==_0x58abc1?(this[_0x4aa96b(0xee)](_0x38730d[_0x4aa96b(0xc0)]),this[_0x4aa96b(0xef)](_0x3863e0,!0x1)):(this[_0x4aa96b(0xee)](_0x58abc1[_0x4aa96b(0xc0)]),null==_0x38730d&&this[_0x4aa96b(0xef)](_0x3863e0,!0x0)));}),null!==_0x3863e0[_0x1af199(0xb5)]?this[_0x1af199(0xee)](_0x3863e0[_0x1af199(0xc0)]):this[_0x1af199(0xef)](_0x3863e0,!0x1);}),this[_0x15f66b(0xb1)](_0x34dba0,_0x15f66b(0xda),(_0x2e6692,_0x15a43d,_0x285dd3)=>{const _0x586084=_0x15f66b;this[_0x586084(0xc7)](_0x15a43d,_0x586084(0xf8)),this[_0x586084(0x108)][_0x586084(0xdb)](_0x15a43d),this[_0x586084(0x98)][_0x586084(0x8c)](_0x15a43d)&&this[_0x586084(0x7c)](_0x15a43d),_0x285dd3&&this[_0x586084(0xee)](_0x285dd3[_0x586084(0xc0)]);}),this[_0x15f66b(0xb1)](_0x34dba0,_0x15f66b(0xfc),(_0x4b5497,_0x9742b2)=>{const _0xa47c9a=_0x15f66b;this[_0xa47c9a(0xee)](_0x9742b2);}),this[_0x15f66b(0xb1)](_0x47437d,_0x15f66b(0xca),()=>{const _0x5d398a=_0x15f66b;this[_0x5d398a(0xa0)]();}),this[_0x15f66b(0xb1)](_0xffcfe0,_0x15f66b(0xbd),(_0x29ed44,{threadId:_0x487d0c,isFromAdapter:_0xd07e8b})=>{const _0x21feef=_0x15f66b;if(_0xd07e8b||!_0x34dba0[_0x21feef(0xcb)](_0x487d0c))return;const _0x4c1724=_0x34dba0[_0x21feef(0xbe)](_0x487d0c);this[_0x21feef(0x98)][_0x21feef(0xce)](_0x4c1724)[_0x21feef(0xa7)][_0x21feef(0x77)][_0x21feef(0x74)](-0x1);},{'priority':_0x15f66b(0xdd)});}[_0x345319(0xa0)](){const _0x4bdafa=_0x345319,_0x4f22d7=this[_0x4bdafa(0xb7)][_0x4bdafa(0x9f)][_0x4bdafa(0xce)](_0x4bdafa(0x101)),_0x510215=this[_0x4bdafa(0xb7)][_0x4bdafa(0x9f)][_0x4bdafa(0xce)](_0x4bdafa(0xf5)),_0xd490b1=Array[_0x4bdafa(0xaa)](_0x4f22d7[_0x4bdafa(0xd2)],_0x3662fe=>_0x3662fe[_0x4bdafa(0xa6)])[_0x4bdafa(0x8e)](_0x2eea55=>this[_0x4bdafa(0xe0)][_0x4bdafa(0x8c)](_0x2eea55)),_0x1eb0f2=[];for(const _0x460a38 of _0xd490b1){const _0x2e83bc=this[_0x4bdafa(0xe0)][_0x4bdafa(0xce)](_0x460a38)[_0x4bdafa(0xd9)][_0x4bdafa(0x90)]();_0x1eb0f2[_0x4bdafa(0xe9)](..._0x2e83bc[_0x4bdafa(0x9c)]((_0x53a294,_0x524244)=>[..._0x53a294,..._0x524244[_0x4bdafa(0xdf)]()],[]));}_0x510215[_0x4bdafa(0x7a)]=_0x1eb0f2;}[_0x345319(0x81)](){const _0x6fa078=_0x345319,_0x5d0e11=this[_0x6fa078(0xb7)],_0x47e2be=_0x5d0e11[_0x6fa078(0x76)],_0x18c0e0=_0x32b293(_0x47e2be,_0x6fa078(0x93)),_0x534b65=new _0x22ec2b([{'type':_0x6fa078(0xa2),'model':new _0x550040({'withText':!0x0,'isToggleable':!0x0,'label':_0x18c0e0,'commandName':_0x6fa078(0xe2),'role':_0x6fa078(0x78)})},{'type':_0x6fa078(0x9d)},{'type':_0x6fa078(0x103),'model':new _0x550040({'withText':!0x0,'label':_0x32b293(_0x47e2be,_0x6fa078(0xfd)),'commandName':_0x6fa078(0xd3),'role':_0x6fa078(0xb8)})},{'type':_0x6fa078(0x103),'model':new _0x550040({'withText':!0x0,'label':_0x32b293(_0x47e2be,_0x6fa078(0x106)),'commandName':_0x6fa078(0xf1),'role':_0x6fa078(0xb8)})},{'type':_0x6fa078(0x103),'model':new _0x550040({'withText':!0x0,'label':_0x32b293(_0x47e2be,_0x6fa078(0xcf)),'commandName':_0x6fa078(0xc3),'role':_0x6fa078(0xb8)})},{'type':_0x6fa078(0x103),'model':new _0x550040({'withText':!0x0,'label':_0x32b293(_0x47e2be,_0x6fa078(0xe6)),'commandName':_0x6fa078(0xf7),'role':_0x6fa078(0xb8)})}]);for(const _0x17a23e of _0x534b65)if(me(_0x17a23e)){const _0x516960=_0x5d0e11[_0x6fa078(0x104)][_0x6fa078(0xce)](_0x17a23e[_0x6fa078(0xd9)][_0x6fa078(0xb4)]);_0x17a23e[_0x6fa078(0xd9)][_0x6fa078(0xd5)](_0x6fa078(0x7b),_0x6fa078(0xad))['to'](_0x516960,_0x6fa078(0xff),_0x6fa078(0xad));}_0x5d0e11['ui'][_0x6fa078(0x8b)][_0x6fa078(0x8d)](_0x6fa078(0xe2),_0x58cd82=>this[_0x6fa078(0x9a)](_0x58cd82,_0x534b65,_0x18c0e0)),_0x5d0e11['ui'][_0x6fa078(0x8b)][_0x6fa078(0x8d)](_0x6fa078(0x94),_0xa0541e=>this[_0x6fa078(0xf2)](_0xa0541e,_0x534b65,_0x18c0e0));}[_0x345319(0x9a)](_0x1a0782,_0x2fccf5,_0x49af4f){const _0x57a6b6=_0x345319,_0x37aa87=_0x4c1a44(_0x1a0782,_0x5f428d),_0x2605eb=this[_0x57a6b6(0xb7)][_0x57a6b6(0x104)][_0x57a6b6(0xce)](_0x57a6b6(0xe2));_0x37aa87[_0x57a6b6(0xed)][_0x57a6b6(0xbb)]({'tooltip':_0x49af4f,'label':_0x49af4f,'icon':_0x557538}),_0x37aa87[_0x57a6b6(0xed)][_0x57a6b6(0xd5)](_0x57a6b6(0x7b))['to'](_0x2605eb,_0x57a6b6(0xff)),_0x37aa87[_0x57a6b6(0xed)]['on'](_0x57a6b6(0x85),()=>{const _0x399b54=_0x57a6b6;_0x2605eb[_0x399b54(0x85)](),this[_0x399b54(0xb7)][_0x399b54(0xa1)][_0x399b54(0xa7)][_0x399b54(0x74)]();}),_0x4df694(_0x37aa87,_0x2fccf5,{'role':_0x57a6b6(0x107)});const _0x4839b8=[];for(const _0x1a7647 of _0x2fccf5)me(_0x1a7647)&&_0x4839b8[_0x57a6b6(0xe9)](this[_0x57a6b6(0xb7)][_0x57a6b6(0x104)][_0x57a6b6(0xce)](_0x1a7647[_0x57a6b6(0xd9)][_0x57a6b6(0xb4)]));const _0x361f87=_0x37aa87[_0x57a6b6(0xed)];return _0x361f87[_0x57a6b6(0xc1)][_0x57a6b6(0x82)](_0x57a6b6(0xad)),_0x361f87[_0x57a6b6(0xcc)][_0x57a6b6(0x82)](_0x57a6b6(0xad)),_0x361f87[_0x57a6b6(0xc1)][_0x57a6b6(0xd5)](_0x57a6b6(0xad))['to'](_0x2605eb,_0x57a6b6(0xad)),_0x361f87[_0x57a6b6(0xcc)][_0x57a6b6(0xd5)](_0x57a6b6(0xad))[_0x57a6b6(0x96)](_0x4839b8,_0x57a6b6(0xad),(..._0x5a68de)=>_0x5a68de[_0x57a6b6(0xc9)](_0x58abab=>_0x58abab)),_0x37aa87['on'](_0x57a6b6(0x85),_0x555383=>{const _0x45df38=_0x57a6b6;this[_0x45df38(0xb7)][_0x45df38(0x85)](_0x555383[_0x45df38(0x9e)][_0x45df38(0xb4)]),this[_0x45df38(0xb7)][_0x45df38(0xa1)][_0x45df38(0xa7)][_0x45df38(0x74)]();}),_0x37aa87;}[_0x345319(0xf2)](_0x3103bf,_0x4642fd,_0xe979be){const _0x376dcd=_0x345319,_0x22b8fb=new _0x4bbbd9(_0x3103bf),_0x37951a=this[_0x376dcd(0xb7)][_0x376dcd(0x104)][_0x376dcd(0xce)](_0x376dcd(0xe2));_0x22b8fb[_0x376dcd(0xed)][_0x376dcd(0xbb)]({'label':_0xe979be,'icon':_0x557538});const _0x2af376=new _0x2ba006(_0x3103bf);for(const _0x28b8a2 of _0x4642fd){if(_0x376dcd(0x9d)==_0x28b8a2[_0x376dcd(0xa9)]){_0x2af376[_0x376dcd(0x8a)][_0x376dcd(0x8d)](new _0x3951ee(_0x3103bf));continue;}const _0x3c2324=new _0x1de283(_0x3103bf,_0x22b8fb),_0x1ffeb8=new _0x566fec(_0x3103bf),_0x31770a=_0x28b8a2[_0x376dcd(0xd9)];_0x1ffeb8[_0x376dcd(0xd5)](...Object[_0x376dcd(0xc4)](_0x31770a))['to'](_0x31770a),_0x1ffeb8[_0x376dcd(0xe4)](_0x376dcd(0x85))['to'](_0x22b8fb),_0x1ffeb8['on'](_0x376dcd(0x85),()=>{const _0x2b8dfd=_0x376dcd;this[_0x2b8dfd(0xb7)][_0x2b8dfd(0x85)](_0x31770a[_0x2b8dfd(0xb4)]),this[_0x2b8dfd(0xb7)][_0x2b8dfd(0xa1)][_0x2b8dfd(0xa7)][_0x2b8dfd(0x74)]();}),_0x3c2324[_0x376dcd(0xa5)][_0x376dcd(0x8d)](_0x1ffeb8),_0x2af376[_0x376dcd(0x8a)][_0x376dcd(0x8d)](_0x3c2324);}return _0x22b8fb[_0x376dcd(0xd5)](_0x376dcd(0xad))['to'](_0x37951a,_0x376dcd(0xad)),_0x22b8fb[_0x376dcd(0xd0)][_0x376dcd(0xa5)][_0x376dcd(0x8d)](_0x2af376),_0x22b8fb;}[_0x345319(0x72)](_0x37569){const _0x4f978d=_0x345319,_0x4877c2=this[_0x4f978d(0xb7)],_0x39275a=_0x4877c2[_0x4f978d(0xc6)],_0x47b091=_0x4877c2[_0x4f978d(0x9f)][_0x4f978d(0xce)](_0x4f978d(0x101)),_0x343cef=_0x4877c2[_0x4f978d(0x9f)][_0x4f978d(0xce)](_0x4f978d(0x73)),_0x4f80be=_0x4877c2[_0x4f978d(0x9f)][_0x4f978d(0xce)](_0x4f978d(0xb9)),_0x341675=_0x4877c2[_0x4f978d(0x9f)][_0x4f978d(0xce)](_0x4039c8)['me'],_0x163dfd=_0x39275a[_0x4f978d(0xce)](_0x4f978d(0xe2))[_0x4f978d(0xf6)],_0x4f8c46=_0x39275a[_0x4f978d(0xce)](_0x4f978d(0xe2))[_0x4f978d(0xea)],{CommentsListView:_0x645494,CommentThreadInputView:_0x49179c}=_0x4877c2[_0x4f978d(0x9f)][_0x4f978d(0xce)](_0x4f978d(0x75));let _0x22a1e2,_0x154cd7,_0x15c283;this[_0x4f978d(0x99)][_0x4f978d(0x8c)](_0x37569['id'])?(_0x154cd7=this[_0x4f978d(0x99)][_0x4f978d(0xce)](_0x37569['id']),_0x22a1e2=_0x154cd7[_0x4f978d(0x79)]):(_0x22a1e2=new _0x163dfd(_0x4877c2[_0x4f978d(0x76)],_0x37569,_0x341675,{'disableComments':this[_0x4f978d(0x105)],'editorConfig':_0x39275a[_0x4f978d(0xce)](_0x4f978d(0xe8)),'maxCommentsWhenCollapsed':_0x39275a[_0x4f978d(0xce)](_0x4f978d(0x7d)),'maxThreadTotalWeight':_0x39275a[_0x4f978d(0xce)](_0x4f978d(0xb3)),'maxCommentCharsWhenCollapsed':_0x39275a[_0x4f978d(0xce)](_0x4f978d(0xd6)),'formatDateTime':_0x53fdb8(_0x39275a[_0x4f978d(0xce)](_0x4f978d(0x76))),'CommentView':_0x39275a[_0x4f978d(0xce)](_0x4f978d(0xeb))[_0x4f978d(0x80)],'CommentsListView':_0x645494,'CommentThreadInputView':_0x49179c,'SuggestionView':_0x4f8c46}),_0x22a1e2[_0x4f978d(0xab)][_0x4f978d(0xec)]['on'](_0x4f978d(0x85),()=>{const _0x373b3f=_0x4f978d;_0x4877c2[_0x373b3f(0xa1)][_0x373b3f(0xa7)][_0x373b3f(0x74)]();}),_0x22a1e2[_0x4f978d(0xab)][_0x4f978d(0x102)]['on'](_0x4f978d(0x85),()=>{const _0x277a6d=_0x4f978d;_0x4877c2[_0x277a6d(0xa1)][_0x277a6d(0xa7)][_0x277a6d(0x74)]();}),_0x154cd7=_0x47b091[_0x4f978d(0x7f)](this[_0x4f978d(0xb7)][_0x4f978d(0x76)],_0x22a1e2),_0x154cd7[_0x4f978d(0xd5)](_0x4f978d(0xe7))['to'](_0x22a1e2,_0x4f978d(0xe7)),_0x154cd7[_0x4f978d(0xd5)](_0x4f978d(0x84))['to'](_0x22a1e2),_0x154cd7[_0x4f978d(0xd5)](_0x4f978d(0xa9))['to'](_0x22a1e2,_0x4f978d(0xa9),_0xa3d79a=>_0x4f978d(0xfb)+_0xa3d79a),_0x22a1e2['on'](_0x4f978d(0xdc),()=>{const _0x52a9fb=_0x4f978d;_0x15c283[_0x52a9fb(0xd8)](_0x52a9fb(0xdc));}),this[_0x4f978d(0x99)][_0x4f978d(0xbb)](_0x37569['id'],_0x154cd7));const _0x3b6b1e=_0x343cef[_0x4f978d(0xd4)](_0x37569[_0x4f978d(0xbf)],_0x22a1e2),_0x1be811=new _0x210ddb(_0x4877c2,_0x37569,_0x22a1e2,_0x3b6b1e),_0x1a6503=_0x37569[_0x4f978d(0x90)]()[_0x4f978d(0x8e)](_0x1d092e=>_0x1d092e[_0x4f978d(0xa3)]);_0x22a1e2[_0x4f978d(0xc8)]=_0x4877c2[_0x4f978d(0x9f)][_0x4f978d(0xce)](_0x4f978d(0xf5))[_0x4f978d(0xf3)][_0x4f978d(0x95)](_0x1a6503),this[_0x4f978d(0x98)][_0x4f978d(0xbb)](_0x37569,_0x1be811),this[_0x4f978d(0xe0)][_0x4f978d(0xbb)](_0x22a1e2,_0x1be811),_0x15c283=_0x47b091[_0x4f978d(0x91)]({'view':_0x154cd7,'target':()=>{const _0x2f3210=_0x4f978d,_0x58ad94=[],_0x1bf674=_0x37569[_0x2f3210(0x90)]()[_0x2f3210(0x8e)](_0x263be1=>_0x263be1[_0x2f3210(0xa3)]);for(const _0x439f6b of _0x1bf674)_0x58ad94[_0x2f3210(0xe9)](..._0x439f6b[_0x2f3210(0xd7)]());return _0x586213(_0x4877c2[_0x2f3210(0xa1)],_0x58ad94);},'type':()=>_0x4f978d(0xfb)+_0x1be811[_0x4f978d(0xa7)][_0x4f978d(0xa9)]}),_0x343cef[_0x4f978d(0x10a)](_0x22a1e2,_0x15c283),_0x47b091[_0x4f978d(0x8d)](_0x15c283),_0x4f80be[_0x4f978d(0x83)](_0x15c283);}[_0x345319(0x7c)](_0x52e385){const _0x38bf76=_0x345319,_0x6580d0=this[_0x38bf76(0xb7)][_0x38bf76(0x9f)][_0x38bf76(0xce)](_0x38bf76(0x73)),_0x3b77d3=this[_0x38bf76(0xb7)][_0x38bf76(0x9f)][_0x38bf76(0xce)](_0x38bf76(0x101)),_0x345f83=this[_0x38bf76(0x98)][_0x38bf76(0xce)](_0x52e385),_0x4a5c34=_0x345f83[_0x38bf76(0xa7)],_0x480a84=_0x3b77d3[_0x38bf76(0xfa)](_0x4a5c34);_0x6580d0[_0x38bf76(0x10b)](_0x4a5c34),_0x480a84&&_0x3b77d3[_0x38bf76(0xd1)](_0x480a84),this[_0x38bf76(0x98)][_0x38bf76(0xdb)](_0x52e385),this[_0x38bf76(0xe0)][_0x38bf76(0xdb)](_0x4a5c34),_0x345f83[_0x38bf76(0x89)]();}[_0x345319(0xee)](_0x5eb77b){const _0x28f6fb=_0x345319;if(!_0x5eb77b[_0x28f6fb(0xa3)]||!this[_0x28f6fb(0x98)][_0x28f6fb(0x8c)](_0x5eb77b))return;const _0x4147fb=this[_0x28f6fb(0xb7)][_0x28f6fb(0x9f)][_0x28f6fb(0xce)](_0x28f6fb(0xf5)),_0x13d155=this[_0x28f6fb(0x98)][_0x28f6fb(0xce)](_0x5eb77b),_0x2cc015=_0x5eb77b[_0x28f6fb(0x90)]();_0x13d155[_0x28f6fb(0xa7)][_0x28f6fb(0xc8)]=_0x4147fb[_0x28f6fb(0xf3)][_0x28f6fb(0x95)](_0x2cc015);}[_0x345319(0x89)](){const _0x45e00f=_0x345319;for(const _0xf9587a of this[_0x45e00f(0x98)][_0x45e00f(0xc4)]())this[_0x45e00f(0x7c)](_0xf9587a);for(const _0x3c84b1 of this[_0x45e00f(0x99)][_0x45e00f(0xac)]())_0x3c84b1[_0x45e00f(0x79)][_0x45e00f(0x89)]();super[_0x45e00f(0x89)]();}}function _0x4bbd(){const _0x23c97f=['_addUIComponentsToFactory','unbind','registerAnnotation','length','execute','getFirstRange','TrackChangesUI','453037RoMpTx','destroy','items','componentFactory','has','add','filter','15VHXYvA','getAllAdjacentSuggestions','createAnnotation','getJoined','Track\x20changes','menuBar:trackChanges','getDescriptions','toMany','clear','_suggestionToController','_annotationViews','_createToolbarButton','36VZdupJ','reduce','separator','source','plugins','_refreshActiveMarkers','editing','switchbutton','isInContent','init','children','innerView','view','952919cOfhkC','type','from','suggestionView','values','isEnabled','106RqDIGM','12853CQmBTD','trackChanges.SuggestionView','listenTo','define','comments.maxThreadTotalWeight','commandName','previous','2282769XKTWuO','editor','menuitem','EditorAnnotations','trackChanges.disableComments','set','getRanges','addComment','getSuggestion','commentThread','head','actionView','refreshSelectedViews','discardAllSuggestions','keys','369876IhIPVb','config','stopListening','descriptionParts','some','change:activeAnnotations','hasSuggestion','arrowView','addSourceCollector','get','Discard\x20all\x20suggestions','panelView','remove','activeAnnotations','acceptAllSuggestions','createCommentThreadController','bind','comments.maxCommentCharsWhenCollapsed','getMarkers','fire','model','suggestionUnloaded','delete','escape','lowest','trackChanges.SuggestionThreadView','getMarkerNames','_viewToController','8NDbLRS','trackChanges','size','delegate','isMultiRange','Discard\x20all\x20selected\x20suggestions','isDirty','comments.editorConfig','push','SuggestionView','comments','acceptButton','buttonView','_updateController','_handleSuggestionControllerDelayed','requires','acceptSelectedSuggestions','_createMenuBarMenu','descriptionFactory','1019036IWBjbd','TrackChangesEditing','SuggestionThreadView','discardSelectedSuggestions','change:previous','4115664NrIhwu','getByInnerView','suggestion-','suggestionChanged','Accept\x20all\x20suggestions','suggestionLoaded','value','pluginName','Annotations','discardButton','button','commands','_disableComments','Accept\x20all\x20selected\x20suggestions','menu','_handleControllerBuffer','40FCsJmo','_bindAnnotationToEditors','_unbindEditors','_initializeController','CommentsRepository','focus','CommentsUI','locale','commentsListView','menuitemcheckbox','mainView','activeMarkers','isOn','_destroyController','comments.maxCommentsWhenCollapsed','3sCzkLa','createAnnotationView','CommentView'];_0x4bbd=function(){return _0x23c97f;};return _0x4bbd();}function me(_0x619649){const _0x5acbed=_0x345319;return _0x5acbed(0xd9)in _0x619649;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x552a79=_0x475f;(function(_0x499648,_0x9a113){const _0x1d7364=_0x475f,_0x3db011=_0x499648();while(!![]){try{const _0x43333f=parseInt(_0x1d7364(0x112))/0x1+-parseInt(_0x1d7364(0x130))/0x2*(-parseInt(_0x1d7364(0x12c))/0x3)+parseInt(_0x1d7364(0x11a))/0x4+parseInt(_0x1d7364(0x118))/0x5+parseInt(_0x1d7364(0x11d))/0x6*(-parseInt(_0x1d7364(0x12d))/0x7)+parseInt(_0x1d7364(0x12f))/0x8+parseInt(_0x1d7364(0x136))/0x9*(-parseInt(_0x1d7364(0x11f))/0xa);if(_0x43333f===_0x9a113)break;else _0x3db011['push'](_0x3db011['shift']());}catch(_0x4db253){_0x3db011['push'](_0x3db011['shift']());}}}(_0x2d67,0x88ae9));function _0x2d67(){const _0x27fd61=['destroy','20VOVvue','get','listenTo','_pendingAction','add','canEditAt','view','isDirty','change:isDirty','_acceptCommand','locale','_editor','_removePendingAction','31644mWuWdJ','7BltZxP','_setPendingAction','421256eOUlZk','116ofNDCg','stopListening','acceptSuggestion','bind','model','getRanges','6119739EeNPIz','execute','commentThreadController','canAccept','isEnabled','_discardCommand','355433ytdpxE','unbind','discardSuggestion','canDiscard','plugins','commands','3803575yPoQAu','remove','3413712HxRAmN','PENDING_ACTION_SUGGESTION','PendingActions','4285356MwhKtz'];_0x2d67=function(){return _0x27fd61;};return _0x2d67();}import{ObservableMixin as _0x1b7520}from'ckeditor5/src/utils.js';import{getTranslation as _0x4c644d}from'../utils/common-translations.js';function _0x475f(_0x38aa8c,_0x335e39){const _0x2d6792=_0x2d67();return _0x475f=function(_0x475f69,_0x6c50cf){_0x475f69=_0x475f69-0x10d;let _0x31c5c8=_0x2d6792[_0x475f69];return _0x31c5c8;},_0x475f(_0x38aa8c,_0x335e39);}export default class ae extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1b7520(){constructor(_0x3a31c6,_0x3c9cac,_0x33e1ce,_0x1e18c7){const _0xcfda2=_0x475f;super(),this[_0xcfda2(0x134)]=_0x3c9cac,this[_0xcfda2(0x125)]=_0x33e1ce,this[_0xcfda2(0x10e)]=_0x1e18c7,this[_0xcfda2(0x12a)]=_0x3a31c6,this[_0xcfda2(0x128)]=_0x3a31c6[_0xcfda2(0x117)][_0xcfda2(0x120)](_0xcfda2(0x132)),this[_0xcfda2(0x111)]=_0x3a31c6[_0xcfda2(0x117)][_0xcfda2(0x120)](_0xcfda2(0x114)),this[_0xcfda2(0x125)][_0xcfda2(0x133)](_0xcfda2(0x110))['to'](this[_0xcfda2(0x128)],this[_0xcfda2(0x111)],(_0x10dd6d,_0x129d35)=>_0x10dd6d||_0x129d35),this[_0xcfda2(0x125)][_0xcfda2(0x133)](_0xcfda2(0x10f))['to'](this[_0xcfda2(0x128)],_0xcfda2(0x110),_0x20b240=>_0x20b240&&this[_0xcfda2(0x12a)][_0xcfda2(0x134)][_0xcfda2(0x124)](_0x3c9cac[_0xcfda2(0x135)]())),this[_0xcfda2(0x125)][_0xcfda2(0x133)](_0xcfda2(0x115))['to'](this[_0xcfda2(0x111)],_0xcfda2(0x110),_0x43c6d6=>_0x43c6d6&&this[_0xcfda2(0x12a)][_0xcfda2(0x134)][_0xcfda2(0x124)](_0x3c9cac[_0xcfda2(0x135)]())),this[_0xcfda2(0x122)]=null,_0x33e1ce[_0xcfda2(0x126)]&&this[_0xcfda2(0x12e)](),this[_0xcfda2(0x121)](_0x33e1ce,_0xcfda2(0x132),()=>this[_0xcfda2(0x132)]()),this[_0xcfda2(0x121)](_0x33e1ce,_0xcfda2(0x114),()=>this[_0xcfda2(0x114)]()),this[_0xcfda2(0x121)](_0x33e1ce,_0xcfda2(0x127),()=>{const _0x51e82e=_0xcfda2;_0x33e1ce[_0x51e82e(0x126)]?this[_0x51e82e(0x12e)]():this[_0x51e82e(0x12b)]();});}[_0x552a79(0x132)](){const _0x361ac3=_0x552a79;this[_0x361ac3(0x128)][_0x361ac3(0x10d)](this[_0x361ac3(0x134)]['id']);}[_0x552a79(0x114)](){const _0x42d69f=_0x552a79;this[_0x42d69f(0x111)][_0x42d69f(0x10d)](this[_0x42d69f(0x134)]['id']);}[_0x552a79(0x11e)](){const _0x173b6c=_0x552a79;this[_0x173b6c(0x125)][_0x173b6c(0x113)](_0x173b6c(0x110)),this[_0x173b6c(0x125)][_0x173b6c(0x113)](_0x173b6c(0x10f)),this[_0x173b6c(0x125)][_0x173b6c(0x113)](_0x173b6c(0x115)),this[_0x173b6c(0x131)](),this[_0x173b6c(0x10e)][_0x173b6c(0x11e)](),this[_0x173b6c(0x122)]&&this[_0x173b6c(0x12b)]();}[_0x552a79(0x12e)](){const _0x53271f=_0x552a79,_0x4b7a49=_0x4c644d(this[_0x53271f(0x12a)][_0x53271f(0x129)],_0x53271f(0x11b));this[_0x53271f(0x122)]=this[_0x53271f(0x12a)][_0x53271f(0x116)][_0x53271f(0x120)](_0x53271f(0x11c))[_0x53271f(0x123)](_0x4b7a49);}[_0x552a79(0x12b)](){const _0x3e7dd4=_0x552a79;null!==this[_0x3e7dd4(0x122)]&&this[_0x3e7dd4(0x12a)][_0x3e7dd4(0x116)][_0x3e7dd4(0x120)](_0x3e7dd4(0x11c))[_0x3e7dd4(0x119)](this[_0x3e7dd4(0x122)]),this[_0x3e7dd4(0x122)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5190(){const _0x4ac940=['editor','join','name','focusables','isReadOnly','4NByzLK','set','text/html','_createCommentThreadInputView','_config','render','target','editorConfig','value','removeComment','commentThreadInputView','4IybniQ','length','bind','focus','keystrokes','commentInputView','formatDateTime','delegate','disableComments','_createCommentViews','isEnabled','focusCycler','13174929BVJUvC','isActive','destroy','textContent','focusTracker','commentThread','commentsListView','213709spoZMv','cancel','canAccept','authoredAt','parseFromString','SUGGESTION_THREAD_ARIA_LABEL','updateComment','author','map','ariaDescriptionView','4610025OVLJTE','2366970aHOnUE','2622900aaxPgA','hasDirtyComment','ariaLabel','12889272geOlAK','showInput','descriptionParts','submit','shift+tab','setData','body','disabledSubmit','6511040XvXZEf','tab','_model','addComment','content','SUGGESTION_THREAD_DESCRIPTION','fire','_localUser','CommentView','isDirty','assign','locale','canDiscard','element'];_0x5190=function(){return _0x4ac940;};return _0x5190();}const _0x409153=_0x68f3;(function(_0x3d9abd,_0x24fe27){const _0x1a340f=_0x68f3,_0x5846f2=_0x3d9abd();while(!![]){try{const _0x1906c9=-parseInt(_0x1a340f(0x1be))/0x1*(parseInt(_0x1a340f(0x1a0))/0x2)+parseInt(_0x1a340f(0x1ca))/0x3*(parseInt(_0x1a340f(0x1ab))/0x4)+parseInt(_0x1a340f(0x18d))/0x5+-parseInt(_0x1a340f(0x1c9))/0x6+-parseInt(_0x1a340f(0x1c8))/0x7+parseInt(_0x1a340f(0x185))/0x8+-parseInt(_0x1a340f(0x1b7))/0x9;if(_0x1906c9===_0x24fe27)break;else _0x5846f2['push'](_0x5846f2['shift']());}catch(_0x2fbb40){_0x5846f2['push'](_0x5846f2['shift']());}}}(_0x5190,0xcde22));function _0x68f3(_0x3fc4e1,_0x261ddd){const _0x519081=_0x5190();return _0x68f3=function(_0x68f3b3,_0x1f4e01){_0x68f3b3=_0x68f3b3-0x183;let _0x5c6541=_0x519081[_0x68f3b3];return _0x5c6541;},_0x68f3(_0x3fc4e1,_0x261ddd);}import{FocusCycler as _0x1b4d0b,View as _0x8f227a,ViewCollection as _0x293499}from'ckeditor5/src/ui.js';import{FocusTracker as _0x344dbc,KeystrokeHandler as _0x31c3fa}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x13435f,setupThreadKeyboardNavigation as _0x211688}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x3851bb}from'../../utils/common-translations.js';import{renderDescription as _0x1eed97}from'../../utils/utils.js';export default class us extends _0x8f227a{constructor(_0xbcff2d,_0x26ef80,_0x2d90aa,_0x4c30ce){const _0x314667=_0x68f3;super(_0xbcff2d),this[_0x314667(0x1bd)]=null,this[_0x314667(0x1aa)]=null,this[_0x314667(0x1c7)]=new _0x13435f(_0xbcff2d,_0x3851bb(_0xbcff2d,_0x314667(0x192))),this[_0x314667(0x1a1)](_0x314667(0x1b8),!0x1),this[_0x314667(0x1a1)](_0x314667(0x1c1),_0x26ef80[_0x314667(0x1c1)]),this[_0x314667(0x1ad)](_0x314667(0x1c1))['to'](_0x26ef80),this[_0x314667(0x1a1)](_0x314667(0x187),[]),this[_0x314667(0x1a1)](_0x314667(0x196),!0x1),this[_0x314667(0x1a1)](_0x314667(0x1b5),!0x1),this[_0x314667(0x1a1)](_0x314667(0x1c0),!0x1),this[_0x314667(0x1a1)](_0x314667(0x199),!0x1),this[_0x314667(0x1ad)](_0x314667(0x184))['to'](this,_0x314667(0x1ac),_0x26ef80,_0x314667(0x1c1),this,_0x314667(0x187),(_0x1351e0,_0x504154,_0x4e73bc)=>{const _0x129465=_0x314667,_0x41472a=_0x4e73bc[_0x129465(0x1c6)](_0x20f3e5=>_0x1eed97(_0x20f3e5[_0x129465(0x191)]))[_0x129465(0x19c)]('.\x20')+'.';return _0x3851bb(this[_0x129465(0x198)],_0x129465(0x1c3),[_0x1351e0-0x1,_0x26ef80[_0x129465(0x1c5)][_0x129465(0x19d)],_0x504154?_0x4c30ce[_0x129465(0x1b1)](_0x504154):'',new DOMParser()[_0x129465(0x1c2)](_0x41472a,_0x129465(0x1a2))[_0x129465(0x18b)][_0x129465(0x1ba)]]);}),this[_0x314667(0x19e)]=new _0x293499(),this[_0x314667(0x1bb)]=new _0x344dbc(),this[_0x314667(0x1af)]=new _0x31c3fa(),this[_0x314667(0x1b6)]=new _0x1b4d0b({'focusables':this[_0x314667(0x19e)],'focusTracker':this[_0x314667(0x1bb)],'keystrokeHandler':this[_0x314667(0x1af)],'keystrokeHandlerOptions':{'filter':_0x4fdc33=>_0x4fdc33[_0x314667(0x1a6)]!==this[_0x314667(0x19a)]},'actions':{'focusPrevious':_0x314667(0x189),'focusNext':_0x314667(0x18e)}}),this[_0x314667(0x18f)]=_0x26ef80,this[_0x314667(0x194)]=_0x2d90aa,this[_0x314667(0x1a4)]=_0x4c30ce,_0x4c30ce[_0x314667(0x1b3)]?this[_0x314667(0x1a1)](_0x314667(0x1ac),0x1):this[_0x314667(0x1b4)]();}[_0x409153(0x1a5)](){const _0x31d5fb=_0x409153;super[_0x31d5fb(0x1a5)](),_0x211688(this,this[_0x31d5fb(0x19e)]);}[_0x409153(0x1ae)](){const _0x58c393=_0x409153;this[_0x58c393(0x19a)][_0x58c393(0x1ae)]();}[_0x409153(0x1b9)](){const _0x19ee64=_0x409153;this[_0x19ee64(0x1bd)]&&this[_0x19ee64(0x1bd)][_0x19ee64(0x1b9)](),this[_0x19ee64(0x1aa)]&&this[_0x19ee64(0x1aa)][_0x19ee64(0x1b9)](),super[_0x19ee64(0x1b9)]();}[_0x409153(0x1b4)](){const _0x463dc7=_0x409153,{CommentsListView:_0x5e6d7d}=this[_0x463dc7(0x1a4)];this[_0x463dc7(0x1bd)]=new _0x5e6d7d(this[_0x463dc7(0x198)],this[_0x463dc7(0x18f)][_0x463dc7(0x1bc)],Object[_0x463dc7(0x197)]({'CommentView':this[_0x463dc7(0x1a4)][_0x463dc7(0x195)]},this[_0x463dc7(0x1a4)])),this[_0x463dc7(0x1bd)][_0x463dc7(0x1b2)](_0x463dc7(0x1a9))['to'](this),this[_0x463dc7(0x1bd)][_0x463dc7(0x1b2)](_0x463dc7(0x1c4))['to'](this),this[_0x463dc7(0x1bd)][_0x463dc7(0x1ad)](_0x463dc7(0x1b8))['to'](this),this[_0x463dc7(0x1a1)](_0x463dc7(0x1ac),this[_0x463dc7(0x1bd)][_0x463dc7(0x1ac)]+0x1),this[_0x463dc7(0x1ad)](_0x463dc7(0x1ac))['to'](this[_0x463dc7(0x1bd)],_0x463dc7(0x1ac),_0x1ed4a6=>_0x1ed4a6+0x1),this[_0x463dc7(0x1aa)]=this[_0x463dc7(0x1a3)](),this['on'](_0x463dc7(0x1a9),()=>this[_0x463dc7(0x1ae)]()),this[_0x463dc7(0x1ad)](_0x463dc7(0x196))['to'](this[_0x463dc7(0x1bd)],_0x463dc7(0x183),this[_0x463dc7(0x1aa)][_0x463dc7(0x1b0)],_0x463dc7(0x1a8),(_0x7c026b,_0x3ac245)=>_0x7c026b||!!_0x3ac245);}[_0x409153(0x1a3)](){const _0x515127=_0x409153,{CommentThreadInputView:_0x45af18}=this[_0x515127(0x1a4)],_0x3c84d6=new _0x45af18(this[_0x515127(0x198)],this[_0x515127(0x194)],this[_0x515127(0x1a4)][_0x515127(0x1a7)]),_0x5a9558=_0x3c84d6[_0x515127(0x1b0)];return _0x3c84d6[_0x515127(0x1ad)](_0x515127(0x186))['to'](this,_0x515127(0x1b8),this[_0x515127(0x18f)][_0x515127(0x1bc)],_0x515127(0x19f),_0x5a9558,_0x515127(0x1a8),(_0x3ee135,_0x1d5687,_0x132c13)=>!!_0x132c13||_0x3ee135&&!_0x1d5687),_0x5a9558['on'](_0x515127(0x188),(_0x217a82,_0x1d0e90)=>{const _0x250c68=_0x515127;this[_0x250c68(0x193)](_0x250c68(0x190),_0x1d0e90),_0x5a9558[_0x250c68(0x19b)][_0x250c68(0x18a)]('');}),_0x5a9558['on'](_0x515127(0x1bf),()=>this[_0x515127(0x1ae)]()),_0x5a9558[_0x515127(0x1ad)](_0x515127(0x18c))['to'](this[_0x515127(0x18f)][_0x515127(0x1bc)],_0x515127(0x19f)),_0x3c84d6;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x578de9=_0x57e4;(function(_0x3e5d78,_0x38a30b){const _0x90b4f5=_0x57e4,_0x908c1b=_0x3e5d78();while(!![]){try{const _0x4a3f53=-parseInt(_0x90b4f5(0x16c))/0x1+parseInt(_0x90b4f5(0x15a))/0x2*(-parseInt(_0x90b4f5(0x16a))/0x3)+-parseInt(_0x90b4f5(0x172))/0x4+-parseInt(_0x90b4f5(0x167))/0x5+parseInt(_0x90b4f5(0x160))/0x6*(parseInt(_0x90b4f5(0x14a))/0x7)+parseInt(_0x90b4f5(0x14f))/0x8+-parseInt(_0x90b4f5(0x178))/0x9*(-parseInt(_0x90b4f5(0x15b))/0xa);if(_0x4a3f53===_0x38a30b)break;else _0x908c1b['push'](_0x908c1b['shift']());}catch(_0x31deba){_0x908c1b['push'](_0x908c1b['shift']());}}}(_0x4116,0xb7731));function _0x4116(){const _0x4c0ecf=['ck-suggestion-wrapper--active','setTemplate','ck-rounded-corners','editorDestroyed','discardButton','_descriptionElement','ck-suggestion-wrapper','bind','discardSuggestion','259WESvgq','canAccept','<p>','isActive','push','8808392raqYcb','acceptButton','disableComments','ariaLabel','</p>','descriptionParts','div','type','set','isEnabled','acceptSuggestion','541444YVixuY','179030TioKvB','commentThread','SuggestionView','listitem','ariaDescriptionView','98754iiOizV','author','canDiscard','color','focusables','_config','description','2827550RJuBtD','ck-suggestion-','render','3yjuhjI','bindTemplate','743505ctifbI','getTemplate','ck-suggestion--disabled-comments','delegate','suggestionView','add','4891580XXVsER','commentsListView','content','editorReady','formatDateTime','commentThreadInputView','927WrDeCi','_model'];_0x4116=function(){return _0x4c0ecf;};return _0x4116();}import{default as _0x548594}from'./basesuggestionthreadview.js';function _0x57e4(_0x5f0a05,_0x5aff50){const _0x411646=_0x4116();return _0x57e4=function(_0x57e4ff,_0x19ed68){_0x57e4ff=_0x57e4ff-0x146;let _0x32ac53=_0x411646[_0x57e4ff];return _0x32ac53;},_0x57e4(_0x5f0a05,_0x5aff50);}import{trimHtml as _0x31ea44}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x5d6b4d}from'../../utils/utils.js';export default class re extends _0x548594{constructor(_0x1a7121,_0x19e632,_0x2c51dd,_0x462d0f){const _0x36e98e=_0x57e4;super(_0x1a7121,_0x19e632,_0x2c51dd,_0x462d0f),this[_0x36e98e(0x157)](_0x36e98e(0x156),''),this[_0x36e98e(0x148)](_0x36e98e(0x156))['to'](this,_0x36e98e(0x154),_0x59ff5f=>_0x59ff5f&&_0x59ff5f[0x0]?_0x59ff5f[0x0][_0x36e98e(0x156)]:''),this[_0x36e98e(0x148)](_0x36e98e(0x166))['to'](this,_0x36e98e(0x154),this,_0x36e98e(0x14d),(_0x2cef7e,_0x43a3a9)=>{const _0x1d0db3=_0x36e98e;let _0x2ee3d3='';for(const _0x1c57e1 of _0x2cef7e)_0x2ee3d3+=_0x1d0db3(0x14c)+_0x5d6b4d(_0x1c57e1[_0x1d0db3(0x174)],_0x1c57e1[_0x1d0db3(0x163)])+_0x1d0db3(0x153);return _0x43a3a9?_0x2ee3d3:_0x31ea44(_0x2ee3d3,{'limit':0x8c});}),this[_0x36e98e(0x146)]=null,this[_0x36e98e(0x170)]=new _0x462d0f[(_0x36e98e(0x15d))](_0x1a7121,_0x19e632,{'formatDateTime':_0x462d0f[_0x36e98e(0x176)]}),this[_0x36e98e(0x170)][_0x36e98e(0x148)](_0x36e98e(0x166))['to'](this),this[_0x36e98e(0x170)][_0x36e98e(0x16f)](_0x36e98e(0x159),_0x36e98e(0x149))['to'](this),this[_0x36e98e(0x170)][_0x36e98e(0x150)][_0x36e98e(0x148)](_0x36e98e(0x158))['to'](this,_0x36e98e(0x14b)),this[_0x36e98e(0x170)][_0x36e98e(0x17e)][_0x36e98e(0x148)](_0x36e98e(0x158))['to'](this,_0x36e98e(0x162)),this[_0x36e98e(0x164)][_0x36e98e(0x171)](this[_0x36e98e(0x170)]),this[_0x36e98e(0x173)]&&this[_0x36e98e(0x164)][_0x36e98e(0x171)](this[_0x36e98e(0x173)]),this[_0x36e98e(0x177)]&&this[_0x36e98e(0x164)][_0x36e98e(0x171)](this[_0x36e98e(0x177)]),this[_0x36e98e(0x17b)](this[_0x36e98e(0x16d)]());}[_0x578de9(0x16d)](){const _0x39066a=_0x578de9,_0x5100c6=this[_0x39066a(0x16b)],_0x247d8d=[this[_0x39066a(0x170)]];return this[_0x39066a(0x173)]&&_0x247d8d[_0x39066a(0x14e)](this[_0x39066a(0x173)]),this[_0x39066a(0x177)]&&_0x247d8d[_0x39066a(0x14e)](this[_0x39066a(0x177)]),_0x247d8d[_0x39066a(0x14e)](this[_0x39066a(0x15f)]),{'tag':_0x39066a(0x155),'attributes':{'class':['ck',_0x39066a(0x17c),_0x39066a(0x147),_0x5100c6['if'](_0x39066a(0x14d),_0x39066a(0x17a)),_0x5100c6['to'](_0x39066a(0x156),_0x221da8=>_0x39066a(0x168)+_0x221da8),this[_0x39066a(0x165)][_0x39066a(0x151)]&&_0x39066a(0x16e)],'data-suggestion-id':this[_0x39066a(0x179)]['id'],'data-thread-id':this[_0x39066a(0x179)][_0x39066a(0x15c)]['id'],'data-author-id':this[_0x39066a(0x179)][_0x39066a(0x161)]['id'],'tabindex':0x0,'role':_0x39066a(0x15e),'aria-label':_0x5100c6['to'](_0x39066a(0x152)),'aria-describedby':this[_0x39066a(0x15f)]['id']},'children':_0x247d8d};}[_0x578de9(0x169)](){const _0x12b293=_0x578de9;super[_0x12b293(0x169)](),this[_0x12b293(0x173)]&&(this[_0x12b293(0x173)][_0x12b293(0x16f)](_0x12b293(0x175))['to'](this),this[_0x12b293(0x173)][_0x12b293(0x16f)](_0x12b293(0x17d))['to'](this)),this[_0x12b293(0x177)]&&(this[_0x12b293(0x177)][_0x12b293(0x16f)](_0x12b293(0x175))['to'](this),this[_0x12b293(0x177)][_0x12b293(0x16f)](_0x12b293(0x17d))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3eac99=_0x1c23;function _0x39bc(){const _0xed5cd9=['549282ZQeBAc','cancel','ck-annotation__content-wrapper','ck-comment__info-time','element','ck-suggestion__actions','tab','time','ck-annotation__main','3357396OnHCOi','ck-suggestion__main','author','description','esc','acceptSuggestion','ck-annotation','render','ck-annotation__info','2776016ZLhfSR','focusFirst','keystrokes','ck-suggestion--accept','locale','ck-annotation__user','authoredAt','add','ck-suggestion--discard','7561547GhDqiW','EXTERNAL_IMPORT_WORD_SUGGESTION','importWord','_model','bind','set','2444644uQSeeu','EXTERNAL_IMPORT_WORD_AVATAR','_setupKeyboardNavigation','ck-suggestion__info','bindTemplate','execute','_createButton','ck-annotation__actions','EXTERNAL_SUGGESTION','@external','check','fire','isExternal','ck-annotation__info-time','focusCycler','push','getExternalSuggestionNote','EXTERNAL_AVATAR','ck-suggestion__info-name','creator','span','_config','extendTemplate','Discard\x20suggestion','source','name','div','getTemplate','target','.ck-annotation__content-wrapper','presentation','2WmFjrN','ck-comment__external','Accept\x20suggestion','listenTo','ck-annotation__info-name','innerHTML','ck-suggestion__user','acceptButton','focus','discardSuggestion','382850sEpOzK','1308238Vnhpnj','focusables','userView','focusTracker','shift+tab','setTemplate','attributes','formatDateTime','querySelector','getUserViewNotificationText','discardButton','enter','ck-suggestion','change:description'];_0x39bc=function(){return _0xed5cd9;};return _0x39bc();}(function(_0x23f3db,_0x1e8aaa){const _0x52bddb=_0x1c23,_0x4892ce=_0x23f3db();while(!![]){try{const _0x3c1db0=parseInt(_0x52bddb(0x190))/0x1*(-parseInt(_0x52bddb(0x185))/0x2)+parseInt(_0x52bddb(0x145))/0x3+parseInt(_0x52bddb(0x166))/0x4+-parseInt(_0x52bddb(0x18f))/0x5+parseInt(_0x52bddb(0x14e))/0x6+parseInt(_0x52bddb(0x160))/0x7+-parseInt(_0x52bddb(0x157))/0x8;if(_0x3c1db0===_0x1e8aaa)break;else _0x4892ce['push'](_0x4892ce['shift']());}catch(_0x3e7aea){_0x4892ce['push'](_0x4892ce['shift']());}}}(_0x39bc,0xab718));import{FocusTracker as _0x45c31d,KeystrokeHandler as _0x14a64a}from'ckeditor5/src/utils.js';import{View as _0x3eef87,ViewCollection as _0x37df15,FocusCycler as _0x30b653}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x1b82dc,UserView as _0xfe57d7}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x14dcbd}from'ckeditor5/src/core.js';import{getTranslation as _0xe3c079}from'../../utils/common-translations.js';function _0x1c23(_0x111d61,_0x16096f){const _0x39bc21=_0x39bc();return _0x1c23=function(_0x1c2348,_0x7f2dbb){_0x1c2348=_0x1c2348-0x145;let _0x3a803d=_0x39bc21[_0x1c2348];return _0x3a803d;},_0x1c23(_0x111d61,_0x16096f);}export default class ce extends _0x3eef87{constructor(_0x21bd50,_0x3c702d,_0xd9e6ac){const _0x41e2be=_0x1c23;super(_0x21bd50),this[_0x41e2be(0x163)]=_0x3c702d,this[_0x41e2be(0x17b)]=_0xd9e6ac,this[_0x41e2be(0x165)](_0x41e2be(0x151),''),this[_0x41e2be(0x164)](_0x41e2be(0x15d))['to'](_0x3c702d),this[_0x41e2be(0x18c)]=this[_0x41e2be(0x16c)](_0xe3c079(_0x21bd50,_0x41e2be(0x187)),_0x14dcbd[_0x41e2be(0x170)],_0x41e2be(0x15a),_0x41e2be(0x153),'sw'),this[_0x41e2be(0x19a)]=this[_0x41e2be(0x16c)](_0xe3c079(_0x21bd50,_0x41e2be(0x17d)),_0x14dcbd[_0x41e2be(0x146)],_0x41e2be(0x15f),_0x41e2be(0x18e),'sw'),this[_0x41e2be(0x192)]=new _0xfe57d7(_0x21bd50,_0x3c702d[_0x41e2be(0x150)],this[_0x41e2be(0x199)]()),this[_0x41e2be(0x192)][_0x41e2be(0x17c)]({'attributes':{'class':[_0x41e2be(0x18b),_0x41e2be(0x15c)],'aria-hidden':!0x0}}),this[_0x41e2be(0x191)]=new _0x37df15([this[_0x41e2be(0x18c)],this[_0x41e2be(0x19a)]]),this[_0x41e2be(0x193)]=new _0x45c31d(),this[_0x41e2be(0x159)]=new _0x14a64a(),this[_0x41e2be(0x174)]=new _0x30b653({'focusables':this[_0x41e2be(0x191)],'focusTracker':this[_0x41e2be(0x193)],'keystrokeHandler':this[_0x41e2be(0x159)],'actions':{'focusPrevious':_0x41e2be(0x194),'focusNext':_0x41e2be(0x14b)},'keystrokeHandlerOptions':{'filter':_0x2a2e4f=>_0x2a2e4f[_0x41e2be(0x182)]!==this[_0x41e2be(0x149)]}}),this[_0x41e2be(0x195)](this[_0x41e2be(0x181)]());}[_0x3eac99(0x155)](){const _0x17641c=_0x3eac99;super[_0x17641c(0x155)]();const _0x357f42=this[_0x17641c(0x149)][_0x17641c(0x198)](_0x17641c(0x183));_0x357f42[_0x17641c(0x18a)]=this[_0x17641c(0x151)],this['on'](_0x17641c(0x19d),(_0x568e22,_0x570222,_0x5834b)=>{const _0x1362e0=_0x17641c;_0x357f42[_0x1362e0(0x18a)]=_0x5834b;}),this[_0x17641c(0x168)]();}[_0x3eac99(0x181)](){const _0x3a8b70=_0x3eac99,_0xa0e360=this[_0x3a8b70(0x16a)],_0xe00029=[{'tag':_0x3a8b70(0x180),'attributes':{'class':[_0x3a8b70(0x169),_0x3a8b70(0x156)]},'children':[{'tag':_0x3a8b70(0x17a),'children':[{'text':this[_0x3a8b70(0x192)][_0x3a8b70(0x17f)]}],'attributes':{'class':[_0x3a8b70(0x178),_0x3a8b70(0x189)]}},{'tag':_0x3a8b70(0x14c),'attributes':{'datetime':_0xa0e360['to'](_0x3a8b70(0x15d)),'class':[_0x3a8b70(0x148),_0x3a8b70(0x173)]},'children':[{'text':_0xa0e360['to'](_0x3a8b70(0x15d),_0x5616f2=>this[_0x3a8b70(0x17b)][_0x3a8b70(0x197)](_0x5616f2))}]}]},{'tag':_0x3a8b70(0x180),'attributes':{'class':[_0x3a8b70(0x14a),_0x3a8b70(0x16d)]},'children':[this[_0x3a8b70(0x18c)],this[_0x3a8b70(0x19a)]]},{'tag':_0x3a8b70(0x180),'attributes':{'class':[_0x3a8b70(0x147)]}}];return this[_0x3a8b70(0x163)][_0x3a8b70(0x172)]&&_0xe00029[_0x3a8b70(0x175)]({'tag':_0x3a8b70(0x180),'attributes':{'class':[_0x3a8b70(0x186)]},'children':[{'text':this[_0x3a8b70(0x176)]()}]}),{'tag':_0x3a8b70(0x180),'attributes':{'class':[_0x3a8b70(0x19c),_0x3a8b70(0x154)],'tabindex':-0x1},'children':[this[_0x3a8b70(0x192)],{'tag':_0x3a8b70(0x180),'attributes':{'class':[_0x3a8b70(0x14f),_0x3a8b70(0x14d)],'role':_0x3a8b70(0x184)},'children':_0xe00029}]};}[_0x3eac99(0x18d)](){const _0x1a2598=_0x3eac99;this[_0x1a2598(0x149)][_0x1a2598(0x18d)]();}[_0x3eac99(0x199)](){const _0x335218=_0x3eac99;return this[_0x335218(0x163)][_0x335218(0x172)]?_0x335218(0x162)===this[_0x335218(0x163)][_0x335218(0x196)][_0x335218(0x16f)][_0x335218(0x17e)]?_0xe3c079(this[_0x335218(0x15b)],_0x335218(0x167),this[_0x335218(0x163)][_0x335218(0x179)][_0x335218(0x17f)]):_0xe3c079(this[_0x335218(0x15b)],_0x335218(0x177),this[_0x335218(0x163)][_0x335218(0x179)][_0x335218(0x17f)]):null;}[_0x3eac99(0x176)](){const _0x4d0f47=_0x3eac99;return _0x4d0f47(0x162)===this[_0x4d0f47(0x163)][_0x4d0f47(0x196)][_0x4d0f47(0x16f)][_0x4d0f47(0x17e)]?_0xe3c079(this[_0x4d0f47(0x15b)],_0x4d0f47(0x161)):_0xe3c079(this[_0x4d0f47(0x15b)],_0x4d0f47(0x16e));}[_0x3eac99(0x16c)](_0xc21093,_0x442b48,_0x2169ad,_0x5122f1,_0x3034d2){const _0x2b2dbe=_0x3eac99,_0x2d1d3c=new _0x1b82dc(this[_0x2b2dbe(0x15b)]);return _0x2d1d3c[_0x2b2dbe(0x165)]({'label':_0xc21093,'icon':_0x442b48,'tooltip':!0x0,'tooltipPosition':_0x3034d2}),_0x2d1d3c[_0x2b2dbe(0x17c)]({'attributes':{'class':_0x2169ad}}),_0x2d1d3c['on'](_0x2b2dbe(0x16b),()=>{const _0xcc0618=_0x2b2dbe;this[_0xcc0618(0x171)](_0x5122f1,this[_0xcc0618(0x163)]['id']);}),_0x2d1d3c;}[_0x3eac99(0x168)](){const _0x50d26e=_0x3eac99,_0x4d4f77=this[_0x50d26e(0x149)];this[_0x50d26e(0x159)][_0x50d26e(0x188)](_0x4d4f77);for(const _0x2ab2c1 of this[_0x50d26e(0x191)])this[_0x50d26e(0x193)][_0x50d26e(0x15e)](_0x2ab2c1[_0x50d26e(0x149)]),this[_0x50d26e(0x159)][_0x50d26e(0x188)](_0x2ab2c1[_0x50d26e(0x149)]);this[_0x50d26e(0x159)][_0x50d26e(0x165)](_0x50d26e(0x19b),(_0x360919,_0x526e83)=>{const _0x5b8b96=_0x50d26e;_0x4d4f77===_0x360919[_0x5b8b96(0x182)]&&(this[_0x5b8b96(0x174)][_0x5b8b96(0x158)](),_0x526e83());}),this[_0x50d26e(0x159)][_0x50d26e(0x165)](_0x50d26e(0x152),(_0x3bb62d,_0x13aac3)=>{const _0x14d0d0=_0x50d26e;_0x4d4f77!==_0x3bb62d[_0x14d0d0(0x182)]&&(this[_0x14d0d0(0x18d)](),_0x13aac3());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x116d3e,_0x585dd3,_0x261a09){const t=_0x116d3e['t'];switch(_0x585dd3){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',_0x261a09);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x261a09);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x261a09);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x261a09);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x261a09);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',_0x261a09);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x261a09);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',_0x261a09);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x261a09);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x261a09);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x261a09);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x261a09);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x261a09);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x261a09);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x261a09);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x261a09);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x261a09);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x261a09);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x261a09);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x261a09);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x261a09);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x261a09);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x261a09);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'},_0x261a09);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x261a09);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x261a09);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x261a09);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x261a09);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x261a09);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'},_0x261a09);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x261a09);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x261a09);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x261a09);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x261a09);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'},_0x261a09);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x261a09);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'},_0x261a09);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'},_0x261a09);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x261a09);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'},_0x261a09);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x261a09);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'},_0x261a09);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x261a09);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x261a09);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'},_0x261a09);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'},_0x261a09);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'},_0x261a09);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x261a09);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x261a09);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x261a09);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x261a09);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x585dd3;}}
|
|
23
|
+
export function getTranslation(_0x1b1806,_0x41e146,_0x31e637){const t=_0x1b1806['t'];switch(_0x41e146){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',_0x31e637);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x31e637);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x31e637);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x31e637);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x31e637);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',_0x31e637);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x31e637);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',_0x31e637);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x31e637);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x31e637);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x31e637);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x31e637);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x31e637);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x31e637);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x31e637);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x31e637);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x31e637);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x31e637);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x31e637);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x31e637);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x31e637);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x31e637);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x31e637);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'},_0x31e637);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x31e637);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x31e637);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x31e637);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x31e637);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x31e637);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'},_0x31e637);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x31e637);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x31e637);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x31e637);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x31e637);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'},_0x31e637);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x31e637);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'},_0x31e637);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'},_0x31e637);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x31e637);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'},_0x31e637);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x31e637);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'},_0x31e637);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x31e637);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x31e637);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'},_0x31e637);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'},_0x31e637);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'},_0x31e637);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x31e637);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x31e637);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x31e637);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x31e637);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x41e146;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3485ff,_0x4346bc){const _0x203f62=_0x56b8,_0x4143c5=_0x3485ff();while(!![]){try{const _0x28d34f=parseInt(_0x203f62(0x17d))/0x1*(parseInt(_0x203f62(0x172))/0x2)+parseInt(_0x203f62(0x173))/0x3*(parseInt(_0x203f62(0x171))/0x4)+parseInt(_0x203f62(0x17b))/0x5*(parseInt(_0x203f62(0x189))/0x6)+parseInt(_0x203f62(0x162))/0x7*(-parseInt(_0x203f62(0x196))/0x8)+-parseInt(_0x203f62(0x18d))/0x9+-parseInt(_0x203f62(0x161))/0xa+parseInt(_0x203f62(0x16d))/0xb*(-parseInt(_0x203f62(0x17c))/0xc);if(_0x28d34f===_0x4346bc)break;else _0x4143c5['push'](_0x4143c5['shift']());}catch(_0x579215){_0x4143c5['push'](_0x4143c5['shift']());}}}(_0x3042,0xc49b8));export function normalizeDescription(_0x2170a0){const _0x2a880c=_0x56b8;return Array[_0x2a880c(0x164)](_0x2170a0)||(_0x2170a0=[_0x2170a0]),_0x2170a0[_0x2a880c(0x192)](_0x2159b4=>{const _0x1bc870=_0x2a880c,_0x1f93ce=_0x2159b4[_0x1bc870(0x185)][_0x1bc870(0x195)](/\*/g,''),_0x5c6a30=_0x2159b4[_0x1bc870(0x16e)]?_0x1bc870(0x16a)+_0x2159b4[_0x1bc870(0x16e)][_0x1bc870(0x17e)]+']':'';return'['+_0x2159b4[_0x1bc870(0x198)]+']\x20'+_0x1f93ce+_0x5c6a30;})[_0x2a880c(0x174)](';\x20');}function _0x3042(){const _0x31559d=['isInContent','execute','1732445LuUtPA','12puErgy','43wpsZzj','value','</span>','split','sort','createPositionAfter','innerText','next','content','<span\x20class=\x22ck-suggestion-type\x22>','\x22></span>','createElement','18JMSGPQ','isObject','getRanges','createPositionBefore','1752480cNZnah','push','isMultiRange','schema','createPositionAt','map','isIntersecting','deletion','replace','8PAaeZd','isTouching','type','11017430iaqBby','8415827FxuRbl','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','isArray','isCollapsed','change','start','title','splice','\x20[color\x20','from','createRange','5721507MssnxH','color','\x22\x20title=\x22','end','8wjlniq','73160nPxlnK','1817637zmJqJf','join','length','innerHTML','add','span'];_0x3042=function(){return _0x31559d;};return _0x3042();}function _0x56b8(_0x4154b9,_0x957ccf){const _0x304283=_0x3042();return _0x56b8=function(_0x56b866,_0x458314){_0x56b866=_0x56b866-0x161;let _0xa45af7=_0x304283[_0x56b866];return _0xa45af7;},_0x56b8(_0x4154b9,_0x957ccf);}export function renderDescription(_0xd15f57,_0x31a295){const _0x2a1dbb=_0x56b8;let _0xa470cf='';return _0xa470cf+=_0xd15f57[_0x2a1dbb(0x180)]('*')[_0x2a1dbb(0x192)]((_0x4388e6,_0x4afc6b)=>_0x4afc6b%0x2!=0x0?_0x2a1dbb(0x186)+nn(_0x4388e6)+_0x2a1dbb(0x17f):nn(_0x4388e6))[_0x2a1dbb(0x174)](''),_0x31a295&&(_0xa470cf+=_0x2a1dbb(0x163)+_0x31a295[_0x2a1dbb(0x17e)]+_0x2a1dbb(0x16f)+_0x31a295[_0x2a1dbb(0x168)]+_0x2a1dbb(0x187)),_0xa470cf;}function nn(_0x1fb6d1){const _0x55cfb0=_0x56b8,_0x96453c=document[_0x55cfb0(0x188)](_0x55cfb0(0x178));return _0x96453c[_0x55cfb0(0x183)]=_0x1fb6d1,_0x96453c[_0x55cfb0(0x176)];}export function sortSuggestions(_0x34b897){const _0x934199=_0x56b8;return _0x34b897[_0x934199(0x181)]((_0x299fbe,_0x20e624)=>_0x934199(0x194)==_0x299fbe[_0x934199(0x198)]&&_0x934199(0x194)!=_0x20e624[_0x934199(0x198)]?-0x1:_0x934199(0x194)!=_0x299fbe[_0x934199(0x198)]&&_0x934199(0x194)==_0x20e624[_0x934199(0x198)]?0x1:0x0);}export function getSelectedSuggestions(_0x2ac83d,_0xbdfac5){const _0x5831f5=_0x56b8,_0x3401e8=Array[_0x5831f5(0x16b)](_0x2ac83d[_0x5831f5(0x18b)]()),_0x461160=new Set();for(const _0x3bf6c6 of _0xbdfac5)if(_0x3bf6c6[_0x5831f5(0x179)]){for(const _0x4b242b of _0x3401e8)for(const _0x41edc0 of _0x3bf6c6[_0x5831f5(0x18b)]())(_0x4b242b[_0x5831f5(0x193)](_0x41edc0)||_0x2ac83d[_0x5831f5(0x165)]&&!_0x3bf6c6[_0x5831f5(0x18f)]&&_0x3bf6c6[_0x5831f5(0x184)]&&_0x41edc0[_0x5831f5(0x170)][_0x5831f5(0x197)](_0x4b242b[_0x5831f5(0x167)]))&&_0x461160[_0x5831f5(0x177)](_0x3bf6c6);}return _0x461160;}export function getRangesOfBlockGroups(_0x40bbdd,_0x3216d3){const _0x8fd9cd=_0x56b8;let _0x49d0b7,_0x1ac259=0x0;const _0x124993=[],_0x1c7d56=_0x3216d3[_0x8fd9cd(0x190)];for(;_0x1ac259<_0x40bbdd[_0x8fd9cd(0x175)];){const _0x22b1fc=_0x40bbdd[_0x1ac259],_0x418dd7=_0x40bbdd[_0x1ac259+0x1];_0x49d0b7||(_0x49d0b7=_0x3216d3[_0x8fd9cd(0x18c)](_0x22b1fc)),on(_0x3216d3,_0x22b1fc,_0x418dd7)||(_0x124993[_0x8fd9cd(0x18e)](_0x3216d3[_0x8fd9cd(0x16c)](_0x49d0b7,_0x1c7d56[_0x8fd9cd(0x18a)](_0x22b1fc)?_0x3216d3[_0x8fd9cd(0x182)](_0x22b1fc):_0x3216d3[_0x8fd9cd(0x191)](_0x22b1fc,_0x8fd9cd(0x170)))),_0x49d0b7=null),_0x1ac259++;}return _0x124993;}function on(_0x451a9f,_0x1253c0,_0x54b185){const _0x906a4a=_0x56b8;if(!_0x54b185)return!0x1;const _0x24b43f=_0x451a9f[_0x906a4a(0x182)](_0x1253c0),_0x58ee3b=_0x451a9f[_0x906a4a(0x18c)](_0x54b185);return _0x24b43f[_0x906a4a(0x197)](_0x58ee3b);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x13deb2,_0x56ab01,_0x44e301){const _0x5c9d66=_0x56b8;for(;_0x44e301[_0x5c9d66(0x175)];){const _0x4345f2=_0x44e301[_0x5c9d66(0x169)](0x0,0x64);_0x13deb2[_0x5c9d66(0x166)](()=>{const _0x463a46=_0x5c9d66;for(const _0x2e333f of _0x4345f2)_0x2e333f[_0x463a46(0x179)]&&_0x56ab01[_0x463a46(0x17a)](_0x2e333f['id']);});}}
|