@ckeditor/ckeditor5-track-changes 42.0.0 → 42.0.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x4be5(_0x3cc934,_0x3a90cc){const _0x2005a4=_0x2005();return _0x4be5=function(_0x4be5b3,_0x28e84b){_0x4be5b3=_0x4be5b3-0x105;let _0x45b235=_0x2005a4[_0x4be5b3];return _0x45b235;},_0x4be5(_0x3cc934,_0x3a90cc);}const _0x5645ba=_0x4be5;(function(_0x3635cc,_0x124ccb){const _0x2dbadf=_0x4be5,_0x5e4817=_0x3635cc();while(!![]){try{const _0x5e8b21=-parseInt(_0x2dbadf(0x164))/0x1*(parseInt(_0x2dbadf(0x161))/0x2)+-parseInt(_0x2dbadf(0x149))/0x3+-parseInt(_0x2dbadf(0x16c))/0x4+parseInt(_0x2dbadf(0x16a))/0x5*(-parseInt(_0x2dbadf(0x11d))/0x6)+parseInt(_0x2dbadf(0x191))/0x7*(parseInt(_0x2dbadf(0x12a))/0x8)+parseInt(_0x2dbadf(0x187))/0x9*(-parseInt(_0x2dbadf(0x128))/0xa)+parseInt(_0x2dbadf(0x134))/0xb*(parseInt(_0x2dbadf(0x14f))/0xc);if(_0x5e8b21===_0x124ccb)break;else _0x5e4817['push'](_0x5e4817['shift']());}catch(_0x5f6892){_0x5e4817['push'](_0x5e4817['shift']());}}}(_0x2005,0x20c85));import{Plugin as _0x332813}from'ckeditor5/src/core.js';import{Collection as _0x3aec05}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x4d632a,createDropdown as _0x1100c9,ListSeparatorView as _0x3f1a4e,MenuBarMenuView as _0x5a79f1,MenuBarMenuListView as _0xde1993,MenuBarMenuListItemView as _0x53af90,MenuBarMenuListItemButtonView as _0x70ba0e,SplitButtonView as _0x340a6c,ViewModel as _0x44f5b4}from'ckeditor5/src/ui.js';function _0x2005(){const _0x137a40=['from','items','keys','commandName','8xDgBLx','_refreshActiveMarkers','activeMarkers','2423JaNzmq','listenTo','innerView','init','activeAnnotations','_createMenuBarMenu','44235wiWvmQ','commentThread','886524GqFFOv','type','unbind','commands','Discard\x20all\x20suggestions','TrackChangesEditing','bind','actionView','buttonView','has','refreshSelectedViews','_annotationViews','Discard\x20all\x20selected\x20suggestions','button','trackChanges.SuggestionThreadView','acceptAllSuggestions','_unbindEditors','suggestion-','discardAllSuggestions','menuitemcheckbox','editing','acceptButton','define','push','_viewToController','CommentsRepository','_addUIComponentsToFactory','162pqQQuS','suggestionChanged','getMarkerNames','delegate','arrowView','CommentsUI','isDirty','mainView','menu','hasSuggestion','57358baaanw','Annotations','getByInnerView','Track\x20changes','change:previous','_destroyController','menuBar:trackChanges','SuggestionThreadView','trackChanges.disableComments','Accept\x20all\x20selected\x20suggestions','createCommentThreadController','focus','getJoined','source','addSourceCollector','toMany','set','length','panelView','addComment','stopListening','isOn','destroy','model','descriptionFactory','remove','trackChanges','getRanges','comments.maxCommentsWhenCollapsed','componentFactory','getFirstRange','156ZMBYCl','Accept\x20all\x20suggestions','_suggestionToController','pluginName','execute','comments.maxThreadTotalWeight','_handleControllerBuffer','children','delete','get','getDescriptions','76100aFNLxM','switchbutton','216ZRPNsK','reduce','getMarkers','_disableComments','suggestionUnloaded','config','comments','isMultiRange','requires','suggestionLoaded','330VcTOzu','TrackChangesUI','clear','acceptSelectedSuggestions','size','some','values','registerAnnotation','_bindAnnotationToEditors','getSuggestion','previous','locale','CommentView','separator','discardButton','comments.editorConfig','plugins','menuitem','filter','lowest','_updateController','431868cHUejG','discardSelectedSuggestions','getAllAdjacentSuggestions','_initializeController','head','isInContent','262128PmISpH','descriptionParts','_handleSuggestionControllerDelayed','_createToolbarButton','isEnabled','editor','createAnnotationView','change:activeAnnotations','value','EditorAnnotations','createAnnotation','view','add','comments.maxCommentCharsWhenCollapsed'];_0x2005=function(){return _0x137a40;};return _0x2005();}import{Users as _0x448271,getDateTimeFormatter as _0x3fa774,getAllMarkersDomElementsSorted as _0x579185}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5292d6 from'./trackchangesediting.js';import _0x1cff84 from'./ui/suggestioncontroller.js';import _0x57ed1b from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x2baa0b}from'./utils/common-translations.js';import _0x52bd79 from'../theme/icons/track-changes.svg';export default class d extends _0x332813{static get[_0x5645ba(0x132)](){const _0x5be3b5=_0x5645ba;return[_0x5292d6,_0x448271,_0x5be3b5(0x185),_0x5be3b5(0x192),_0x5be3b5(0x158)];}static get[_0x5645ba(0x120)](){const _0x153e4a=_0x5645ba;return _0x153e4a(0x135);}constructor(_0x2b73bc){const _0x72b072=_0x5645ba;super(_0x2b73bc),this[_0x72b072(0x11f)]=new Map(),this[_0x72b072(0x184)]=new Map(),this[_0x72b072(0x177)]=new Map(),this[_0x72b072(0x123)]=new Map();const _0x372bf6=this[_0x72b072(0x154)][_0x72b072(0x12f)];_0x372bf6[_0x72b072(0x182)](_0x72b072(0x17a),_0x57ed1b),_0x372bf6[_0x72b072(0x182)](_0x72b072(0x106),!0x1),this[_0x72b072(0x12d)]=_0x372bf6[_0x72b072(0x126)](_0x72b072(0x106));}[_0x5645ba(0x151)](_0x3e748c,_0x2fe16e){const _0x201f42=_0x5645ba;0x0===this[_0x201f42(0x123)][_0x201f42(0x138)]&&setTimeout(()=>{const _0x5b2203=_0x201f42;for(const [_0x546290,_0xd0176b]of this[_0x5b2203(0x123)]){const _0x2420e1=this[_0x5b2203(0x11f)][_0x5b2203(0x175)](_0x546290);_0x2420e1||_0xd0176b?_0x2420e1&&_0xd0176b&&this[_0x5b2203(0x196)](_0x546290):this[_0x5b2203(0x14c)](_0x546290);}this[_0x5b2203(0x123)][_0x5b2203(0x136)](),this[_0x5b2203(0x154)][_0x5b2203(0x144)][_0x5b2203(0x126)](_0x5b2203(0x158))[_0x5b2203(0x176)](),this[_0x5b2203(0x162)]();},0xa),this[_0x201f42(0x123)][_0x201f42(0x10e)](_0x3e748c,_0x2fe16e);}[_0x5645ba(0x167)](){const _0x94c9d3=_0x5645ba,_0x1b9473=this[_0x94c9d3(0x154)],_0x431826=_0x1b9473[_0x94c9d3(0x144)][_0x94c9d3(0x126)](_0x94c9d3(0x171)),_0x242bd0=_0x1b9473[_0x94c9d3(0x144)][_0x94c9d3(0x126)](_0x94c9d3(0x192)),_0x2a9dc1=_0x1b9473[_0x94c9d3(0x144)][_0x94c9d3(0x126)](_0x94c9d3(0x158)),_0x32a647=_0x1b9473[_0x94c9d3(0x144)][_0x94c9d3(0x126)](_0x94c9d3(0x185));this[_0x94c9d3(0x186)](),_0x2a9dc1[_0x94c9d3(0x10c)](()=>{const _0x41df80=_0x94c9d3,_0x5b126e=[];for(const [_0x6450b8,_0x42afba]of Array[_0x41df80(0x15d)](this[_0x41df80(0x11f)])){const _0x3c5608=_0x6450b8[_0x41df80(0x14b)](),_0x5e9420=[];for(const _0x4643c2 of _0x3c5608){if(!_0x4643c2[_0x41df80(0x14e)])continue;if(_0x4643c2[_0x41df80(0x131)]){_0x5e9420[_0x41df80(0x183)](..._0x4643c2[_0x41df80(0x119)]());continue;}const _0x5550ef=_0x4643c2[_0x41df80(0x11c)]();if(_0x5e9420[_0x41df80(0x10f)]>0x0){const _0x50bd38=_0x5e9420[0x0][_0x41df80(0x10a)](_0x5550ef);if(_0x50bd38){_0x5e9420[0x0]=_0x50bd38;continue;}}_0x5e9420[_0x41df80(0x183)](_0x5550ef);}_0x5b126e[_0x41df80(0x183)]([_0x42afba[_0x41df80(0x15a)],_0x5e9420]);}return _0x5b126e;}),this[_0x94c9d3(0x165)](_0x431826,_0x94c9d3(0x133),(_0x1cfe93,_0x14ce65)=>{const _0x1d9a4a=_0x94c9d3;this[_0x1d9a4a(0x165)](_0x14ce65,_0x1d9a4a(0x195),(_0x4d32c9,_0x2a2b75,_0x58b42b,_0x5668b8)=>{const _0x2fc415=_0x1d9a4a;_0x14ce65[_0x2fc415(0x14e)]&&(null==_0x58b42b?(this[_0x2fc415(0x148)](_0x5668b8[_0x2fc415(0x14d)]),this[_0x2fc415(0x151)](_0x14ce65,!0x1)):(this[_0x2fc415(0x148)](_0x58b42b[_0x2fc415(0x14d)]),null==_0x5668b8&&this[_0x2fc415(0x151)](_0x14ce65,!0x0)));}),null!==_0x14ce65[_0x1d9a4a(0x13e)]?this[_0x1d9a4a(0x148)](_0x14ce65[_0x1d9a4a(0x14d)]):this[_0x1d9a4a(0x151)](_0x14ce65,!0x1);}),this[_0x94c9d3(0x165)](_0x431826,_0x94c9d3(0x12e),(_0x5221cd,_0x4cca43,_0x52818f)=>{const _0x10d88f=_0x94c9d3;this[_0x10d88f(0x112)](_0x4cca43,_0x10d88f(0x195)),this[_0x10d88f(0x123)][_0x10d88f(0x125)](_0x4cca43),this[_0x10d88f(0x11f)][_0x10d88f(0x175)](_0x4cca43)&&this[_0x10d88f(0x196)](_0x4cca43),_0x52818f&&this[_0x10d88f(0x148)](_0x52818f[_0x10d88f(0x14d)]);}),this[_0x94c9d3(0x165)](_0x431826,_0x94c9d3(0x188),(_0x4270bc,_0x299431)=>{const _0x546c79=_0x94c9d3;this[_0x546c79(0x148)](_0x299431);}),this[_0x94c9d3(0x165)](_0x242bd0,_0x94c9d3(0x156),()=>{const _0x2ebae1=_0x94c9d3;this[_0x2ebae1(0x162)]();}),this[_0x94c9d3(0x165)](_0x32a647,_0x94c9d3(0x111),(_0x2b7ed8,{threadId:_0x4b8898,isFromAdapter:_0x2171d6})=>{const _0x5dcc6a=_0x94c9d3;if(_0x2171d6||!_0x431826[_0x5dcc6a(0x190)](_0x4b8898))return;const _0x45de26=_0x431826[_0x5dcc6a(0x13d)](_0x4b8898);this[_0x5dcc6a(0x11f)][_0x5dcc6a(0x126)](_0x45de26)[_0x5dcc6a(0x15a)][_0x5dcc6a(0x109)]();},{'priority':_0x94c9d3(0x147)});}[_0x5645ba(0x162)](){const _0x44034e=_0x5645ba,_0x24c1e1=this[_0x44034e(0x154)][_0x44034e(0x144)][_0x44034e(0x126)](_0x44034e(0x192)),_0x3381f1=this[_0x44034e(0x154)][_0x44034e(0x144)][_0x44034e(0x126)](_0x44034e(0x171)),_0x5b6422=Array[_0x44034e(0x15d)](_0x24c1e1[_0x44034e(0x168)],_0xa8ec9d=>_0xa8ec9d[_0x44034e(0x166)])[_0x44034e(0x146)](_0x296c2b=>this[_0x44034e(0x184)][_0x44034e(0x175)](_0x296c2b)),_0xc678da=[];for(const _0x21ec19 of _0x5b6422){const _0x53cf38=this[_0x44034e(0x184)][_0x44034e(0x126)](_0x21ec19)[_0x44034e(0x115)][_0x44034e(0x14b)]();_0xc678da[_0x44034e(0x183)](..._0x53cf38[_0x44034e(0x12b)]((_0x3965da,_0x1c9fba)=>[..._0x3965da,..._0x1c9fba[_0x44034e(0x189)]()],[]));}_0x3381f1[_0x44034e(0x163)]=_0xc678da;}[_0x5645ba(0x186)](){const _0x384319=_0x5645ba,_0x5350c9=this[_0x384319(0x154)],_0x5cbc55=_0x5350c9[_0x384319(0x13f)],_0x41ef45=_0x2baa0b(_0x5cbc55,_0x384319(0x194)),_0x48ceb3=new _0x3aec05([{'type':_0x384319(0x129),'model':new _0x44f5b4({'withText':!0x0,'label':_0x41ef45,'commandName':_0x384319(0x118),'role':_0x384319(0x17f)})},{'type':_0x384319(0x141)},{'type':_0x384319(0x179),'model':new _0x44f5b4({'withText':!0x0,'label':_0x2baa0b(_0x5cbc55,_0x384319(0x11e)),'commandName':_0x384319(0x17b),'role':_0x384319(0x145)})},{'type':_0x384319(0x179),'model':new _0x44f5b4({'withText':!0x0,'label':_0x2baa0b(_0x5cbc55,_0x384319(0x107)),'commandName':_0x384319(0x137),'role':_0x384319(0x145)})},{'type':_0x384319(0x179),'model':new _0x44f5b4({'withText':!0x0,'label':_0x2baa0b(_0x5cbc55,_0x384319(0x170)),'commandName':_0x384319(0x17e),'role':_0x384319(0x145)})},{'type':_0x384319(0x179),'model':new _0x44f5b4({'withText':!0x0,'label':_0x2baa0b(_0x5cbc55,_0x384319(0x178)),'commandName':_0x384319(0x14a),'role':_0x384319(0x145)})}]);for(const _0x4f4ea9 of _0x48ceb3)if(ae(_0x4f4ea9)){const _0x1ce5e7=_0x5350c9[_0x384319(0x16f)][_0x384319(0x126)](_0x4f4ea9[_0x384319(0x115)][_0x384319(0x160)]);_0x4f4ea9[_0x384319(0x115)][_0x384319(0x172)](_0x384319(0x113),_0x384319(0x153))['to'](_0x1ce5e7,_0x384319(0x157),_0x384319(0x153));}_0x5350c9['ui'][_0x384319(0x11b)][_0x384319(0x15b)](_0x384319(0x118),_0x485500=>this[_0x384319(0x152)](_0x485500,_0x48ceb3,_0x41ef45)),_0x5350c9['ui'][_0x384319(0x11b)][_0x384319(0x15b)](_0x384319(0x197),_0x50c116=>this[_0x384319(0x169)](_0x50c116,_0x48ceb3,_0x41ef45));}[_0x5645ba(0x152)](_0x233fc5,_0x2ee0fe,_0x19c125){const _0x269e6b=_0x5645ba,_0x372199=_0x1100c9(_0x233fc5,_0x340a6c),_0x3d9702=this[_0x269e6b(0x154)][_0x269e6b(0x16f)][_0x269e6b(0x126)](_0x269e6b(0x118));_0x372199[_0x269e6b(0x174)][_0x269e6b(0x10e)]({'tooltip':_0x19c125,'label':_0x19c125,'icon':_0x52bd79}),_0x372199[_0x269e6b(0x174)][_0x269e6b(0x172)](_0x269e6b(0x113))['to'](_0x3d9702,_0x269e6b(0x157)),_0x372199[_0x269e6b(0x174)]['on'](_0x269e6b(0x121),()=>{const _0x1def46=_0x269e6b;_0x3d9702[_0x1def46(0x121)](),this[_0x1def46(0x154)][_0x1def46(0x180)][_0x1def46(0x15a)][_0x1def46(0x109)]();}),_0x4d632a(_0x372199,_0x2ee0fe,{'role':_0x269e6b(0x18f)});const _0x49cd34=[];for(const _0x1f6b41 of _0x2ee0fe)ae(_0x1f6b41)&&_0x49cd34[_0x269e6b(0x183)](this[_0x269e6b(0x154)][_0x269e6b(0x16f)][_0x269e6b(0x126)](_0x1f6b41[_0x269e6b(0x115)][_0x269e6b(0x160)]));const _0x175ba4=_0x372199[_0x269e6b(0x174)];return _0x175ba4[_0x269e6b(0x173)][_0x269e6b(0x16e)](_0x269e6b(0x153)),_0x175ba4[_0x269e6b(0x18b)][_0x269e6b(0x16e)](_0x269e6b(0x153)),_0x175ba4[_0x269e6b(0x173)][_0x269e6b(0x172)](_0x269e6b(0x153))['to'](_0x3d9702,_0x269e6b(0x153)),_0x175ba4[_0x269e6b(0x18b)][_0x269e6b(0x172)](_0x269e6b(0x153))[_0x269e6b(0x10d)](_0x49cd34,_0x269e6b(0x153),(..._0x4e8b71)=>_0x4e8b71[_0x269e6b(0x139)](_0x6ceac3=>_0x6ceac3)),_0x372199['on'](_0x269e6b(0x121),_0x2d54e7=>{const _0x4032a3=_0x269e6b;this[_0x4032a3(0x154)][_0x4032a3(0x121)](_0x2d54e7[_0x4032a3(0x10b)][_0x4032a3(0x160)]),this[_0x4032a3(0x154)][_0x4032a3(0x180)][_0x4032a3(0x15a)][_0x4032a3(0x109)]();}),_0x372199;}[_0x5645ba(0x169)](_0x32d7e5,_0x11ce37,_0x39a3ef){const _0x346b56=_0x5645ba,_0x1bac54=new _0x5a79f1(_0x32d7e5),_0x3ab7e0=this[_0x346b56(0x154)][_0x346b56(0x16f)][_0x346b56(0x126)](_0x346b56(0x118));_0x1bac54[_0x346b56(0x174)][_0x346b56(0x10e)]({'label':_0x39a3ef,'icon':_0x52bd79});const _0x72a419=new _0xde1993(_0x32d7e5);for(const _0x3e7c62 of _0x11ce37){if(_0x346b56(0x141)==_0x3e7c62[_0x346b56(0x16d)]){_0x72a419[_0x346b56(0x15e)][_0x346b56(0x15b)](new _0x3f1a4e(_0x32d7e5));continue;}const _0x1541f9=new _0x53af90(_0x32d7e5,_0x1bac54),_0x4aa802=new _0x70ba0e(_0x32d7e5),_0x41e81e=_0x3e7c62[_0x346b56(0x115)];_0x4aa802[_0x346b56(0x172)](...Object[_0x346b56(0x15f)](_0x41e81e))['to'](_0x41e81e),_0x4aa802[_0x346b56(0x18a)](_0x346b56(0x121))['to'](_0x1bac54),_0x4aa802['on'](_0x346b56(0x121),()=>{const _0x492f9a=_0x346b56;this[_0x492f9a(0x154)][_0x492f9a(0x121)](_0x41e81e[_0x492f9a(0x160)]),this[_0x492f9a(0x154)][_0x492f9a(0x180)][_0x492f9a(0x15a)][_0x492f9a(0x109)]();}),_0x1541f9[_0x346b56(0x124)][_0x346b56(0x15b)](_0x4aa802),_0x72a419[_0x346b56(0x15e)][_0x346b56(0x15b)](_0x1541f9);}return _0x1bac54[_0x346b56(0x172)](_0x346b56(0x153))['to'](_0x3ab7e0,_0x346b56(0x153)),_0x1bac54[_0x346b56(0x110)][_0x346b56(0x124)][_0x346b56(0x15b)](_0x72a419),_0x1bac54;}[_0x5645ba(0x14c)](_0x161558){const _0x1f74b2=_0x5645ba,_0x4fe92d=this[_0x1f74b2(0x154)],_0x4e2546=_0x4fe92d[_0x1f74b2(0x12f)],_0x232810=_0x4fe92d[_0x1f74b2(0x144)][_0x1f74b2(0x126)](_0x1f74b2(0x192)),_0x43eddb=_0x4fe92d[_0x1f74b2(0x144)][_0x1f74b2(0x126)](_0x1f74b2(0x185)),_0x323769=_0x4fe92d[_0x1f74b2(0x144)][_0x1f74b2(0x126)](_0x1f74b2(0x158)),_0x56ddcb=_0x4fe92d[_0x1f74b2(0x144)][_0x1f74b2(0x126)](_0x448271)['me'],_0x3755f9=_0x4e2546[_0x1f74b2(0x126)](_0x1f74b2(0x118))[_0x1f74b2(0x105)],{CommentsListView:_0x347d1e,CommentThreadInputView:_0x428969}=_0x4fe92d[_0x1f74b2(0x144)][_0x1f74b2(0x126)](_0x1f74b2(0x18c));let _0x1d8439,_0x2b6e85;this[_0x1f74b2(0x177)][_0x1f74b2(0x175)](_0x161558['id'])?(_0x2b6e85=this[_0x1f74b2(0x177)][_0x1f74b2(0x126)](_0x161558['id']),_0x1d8439=_0x2b6e85[_0x1f74b2(0x18e)]):(_0x1d8439=new _0x3755f9(_0x4fe92d[_0x1f74b2(0x13f)],_0x161558,_0x56ddcb,{'disableComments':this[_0x1f74b2(0x12d)],'editorConfig':_0x4e2546[_0x1f74b2(0x126)](_0x1f74b2(0x143)),'maxCommentsWhenCollapsed':_0x4e2546[_0x1f74b2(0x126)](_0x1f74b2(0x11a)),'maxThreadTotalWeight':_0x4e2546[_0x1f74b2(0x126)](_0x1f74b2(0x122)),'maxCommentCharsWhenCollapsed':_0x4e2546[_0x1f74b2(0x126)](_0x1f74b2(0x15c)),'formatDateTime':_0x3fa774(_0x4e2546[_0x1f74b2(0x126)](_0x1f74b2(0x13f))),'CommentView':_0x4e2546[_0x1f74b2(0x126)](_0x1f74b2(0x130))[_0x1f74b2(0x140)],'CommentsListView':_0x347d1e,'CommentThreadInputView':_0x428969}),_0x1d8439[_0x1f74b2(0x181)]['on'](_0x1f74b2(0x121),()=>{const _0x4c6da0=_0x1f74b2;_0x4fe92d[_0x4c6da0(0x180)][_0x4c6da0(0x15a)][_0x4c6da0(0x109)]();}),_0x1d8439[_0x1f74b2(0x142)]['on'](_0x1f74b2(0x121),()=>{const _0x26fcb1=_0x1f74b2;_0x4fe92d[_0x26fcb1(0x180)][_0x26fcb1(0x15a)][_0x26fcb1(0x109)]();}),_0x2b6e85=_0x232810[_0x1f74b2(0x155)](this[_0x1f74b2(0x154)][_0x1f74b2(0x13f)],_0x1d8439),_0x2b6e85[_0x1f74b2(0x172)](_0x1f74b2(0x18d))['to'](_0x1d8439,_0x1f74b2(0x18d)),_0x2b6e85[_0x1f74b2(0x172)](_0x1f74b2(0x10f))['to'](_0x1d8439),_0x2b6e85[_0x1f74b2(0x172)](_0x1f74b2(0x16d))['to'](_0x1d8439,_0x1f74b2(0x16d),_0x1c5712=>_0x1f74b2(0x17d)+_0x1c5712),this[_0x1f74b2(0x177)][_0x1f74b2(0x10e)](_0x161558['id'],_0x2b6e85));const _0x3093e4=_0x43eddb[_0x1f74b2(0x108)](_0x161558[_0x1f74b2(0x16b)],_0x1d8439),_0x506bef=new _0x1cff84(_0x4fe92d,_0x161558,_0x1d8439,_0x3093e4),_0x133fb3=_0x161558[_0x1f74b2(0x14b)]()[_0x1f74b2(0x146)](_0xd0e14d=>_0xd0e14d[_0x1f74b2(0x14e)]);_0x1d8439[_0x1f74b2(0x150)]=_0x4fe92d[_0x1f74b2(0x144)][_0x1f74b2(0x126)](_0x1f74b2(0x171))[_0x1f74b2(0x116)][_0x1f74b2(0x127)](_0x133fb3),this[_0x1f74b2(0x11f)][_0x1f74b2(0x10e)](_0x161558,_0x506bef),this[_0x1f74b2(0x184)][_0x1f74b2(0x10e)](_0x1d8439,_0x506bef);const _0x58d949=_0x232810[_0x1f74b2(0x159)]({'view':_0x2b6e85,'target':()=>{const _0x2e0b00=_0x1f74b2,_0x3adc79=[],_0x4e3a5a=_0x161558[_0x2e0b00(0x14b)]()[_0x2e0b00(0x146)](_0x265fc5=>_0x265fc5[_0x2e0b00(0x14e)]);for(const _0x523d31 of _0x4e3a5a)_0x3adc79[_0x2e0b00(0x183)](..._0x523d31[_0x2e0b00(0x12c)]());return _0x579185(_0x4fe92d[_0x2e0b00(0x180)],_0x3adc79);},'type':()=>_0x1f74b2(0x17d)+_0x506bef[_0x1f74b2(0x15a)][_0x1f74b2(0x16d)]});_0x43eddb[_0x1f74b2(0x13c)](_0x1d8439,_0x58d949),_0x232810[_0x1f74b2(0x15b)](_0x58d949),_0x323769[_0x1f74b2(0x13b)](_0x58d949);}[_0x5645ba(0x196)](_0x531802){const _0x294677=_0x5645ba,_0x508d33=this[_0x294677(0x154)][_0x294677(0x144)][_0x294677(0x126)](_0x294677(0x185)),_0x21c0d7=this[_0x294677(0x154)][_0x294677(0x144)][_0x294677(0x126)](_0x294677(0x192)),_0x1223ea=this[_0x294677(0x11f)][_0x294677(0x126)](_0x531802),_0x315fcd=_0x1223ea[_0x294677(0x15a)],_0x31c46e=_0x21c0d7[_0x294677(0x193)](_0x315fcd);_0x508d33[_0x294677(0x17c)](_0x315fcd),_0x31c46e&&_0x21c0d7[_0x294677(0x117)](_0x31c46e),this[_0x294677(0x11f)][_0x294677(0x125)](_0x531802),this[_0x294677(0x184)][_0x294677(0x125)](_0x315fcd),_0x1223ea[_0x294677(0x114)]();}[_0x5645ba(0x148)](_0x2622c4){const _0xc975c=_0x5645ba;if(!_0x2622c4[_0xc975c(0x14e)]||!this[_0xc975c(0x11f)][_0xc975c(0x175)](_0x2622c4))return;const _0x105817=this[_0xc975c(0x154)][_0xc975c(0x144)][_0xc975c(0x126)](_0xc975c(0x171)),_0x5b11e4=this[_0xc975c(0x11f)][_0xc975c(0x126)](_0x2622c4),_0x3405e2=_0x2622c4[_0xc975c(0x14b)]();_0x5b11e4[_0xc975c(0x15a)][_0xc975c(0x150)]=_0x105817[_0xc975c(0x116)][_0xc975c(0x127)](_0x3405e2);}[_0x5645ba(0x114)](){const _0x191f64=_0x5645ba;for(const _0x678db2 of this[_0x191f64(0x11f)][_0x191f64(0x15f)]())this[_0x191f64(0x196)](_0x678db2);for(const _0x5973e8 of this[_0x191f64(0x177)][_0x191f64(0x13a)]())_0x5973e8[_0x191f64(0x18e)][_0x191f64(0x114)]();super[_0x191f64(0x114)]();}}function ae(_0x146801){const _0x2e9ebc=_0x5645ba;return _0x2e9ebc(0x115)in _0x146801;}
|
|
23
|
+
const _0x34eebb=_0x4236;(function(_0x32013d,_0x366087){const _0x5ab206=_0x4236,_0x33ad8d=_0x32013d();while(!![]){try{const _0x4cbafe=-parseInt(_0x5ab206(0x11f))/0x1+parseInt(_0x5ab206(0x16e))/0x2*(-parseInt(_0x5ab206(0x163))/0x3)+parseInt(_0x5ab206(0x170))/0x4+parseInt(_0x5ab206(0x125))/0x5*(parseInt(_0x5ab206(0x13a))/0x6)+-parseInt(_0x5ab206(0x152))/0x7+-parseInt(_0x5ab206(0xe3))/0x8+parseInt(_0x5ab206(0x167))/0x9;if(_0x4cbafe===_0x366087)break;else _0x33ad8d['push'](_0x33ad8d['shift']());}catch(_0x2d6c08){_0x33ad8d['push'](_0x33ad8d['shift']());}}}(_0x1f6f,0x18f2b));import{Plugin as _0x1cce68}from'ckeditor5/src/core.js';import{Collection as _0x292e43}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x50a60f,createDropdown as _0x126432,ListSeparatorView as _0x4bc40c,MenuBarMenuView as _0xe541d0,MenuBarMenuListView as _0x1826bf,MenuBarMenuListItemView as _0x42224d,MenuBarMenuListItemButtonView as _0x5ef4f0,SplitButtonView as _0x5ee315,ViewModel as _0x4f2fbd}from'ckeditor5/src/ui.js';function _0x1f6f(){const _0x14d2de=['children','_annotationViews','getAllAdjacentSuggestions','has','hasSuggestion','from','previous','componentFactory','_destroyController','arrowView','head','separator','_createToolbarButton','_suggestionToController','change:activeAnnotations','change:previous','pluginName','suggestionChanged','define','discardButton','Discard\x20all\x20selected\x20suggestions','items','Accept\x20all\x20selected\x20suggestions','isOn','type','menuBar:trackChanges','suggestionUnloaded','menuitemcheckbox','createAnnotationView','delete','createAnnotation','config','refreshSelectedViews','comments.maxThreadTotalWeight','acceptSelectedSuggestions','requires','activeMarkers','_createMenuBarMenu','delegate','bind','discardSelectedSuggestions','comments','toMany','70139gZnfNj','acceptAllSuggestions','discardAllSuggestions','comments.editorConfig','CommentView','getFirstRange','4555rvOXzg','Accept\x20all\x20suggestions','mainView','createCommentThreadController','value','source','isMultiRange','clear','getMarkers','reduce','_handleSuggestionControllerDelayed','locale','init','getRanges','keys','_handleControllerBuffer','comments.maxCommentCharsWhenCollapsed','EditorAnnotations','activeAnnotations','trackChanges','size','138pQGubv','button','isDirty','destroy','Discard\x20all\x20suggestions','Annotations','Track\x20changes','getMarkerNames','comments.maxCommentsWhenCollapsed','SuggestionThreadView','_refreshActiveMarkers','getDescriptions','CommentsUI','panelView','isInContent','commands','_initializeController','buttonView','get','switchbutton','listenTo','suggestionLoaded','set','stopListening','697802SMjCAa','length','innerView','getByInnerView','_bindAnnotationToEditors','editing','_disableComments','addSourceCollector','view','execute','filter','suggestion-','editor','registerAnnotation','some','CommentsRepository','push','3maeIAS','trackChanges.SuggestionThreadView','acceptButton','getSuggestion','4033665JFaDuV','_unbindEditors','remove','model','menu','_updateController','actionView','224170oXkfat','_addUIComponentsToFactory','2132iLqzPV','unbind','TrackChangesUI','684592iEArNb','add','lowest','descriptionFactory','trackChanges.disableComments','TrackChangesEditing','plugins','getJoined','commentThread','commandName','focus','descriptionParts','addComment','_viewToController','isEnabled','menuitem','values'];_0x1f6f=function(){return _0x14d2de;};return _0x1f6f();}import{Users as _0x566e82,getDateTimeFormatter as _0x3ed67e,getAllMarkersDomElementsSorted as _0xd50980}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x4b0ae4 from'./trackchangesediting.js';function _0x4236(_0x54d322,_0xd85f4){const _0x1f6f55=_0x1f6f();return _0x4236=function(_0x42361c,_0x2b908f){_0x42361c=_0x42361c-0xe3;let _0x563221=_0x1f6f55[_0x42361c];return _0x563221;},_0x4236(_0x54d322,_0xd85f4);}import _0x1d4c14 from'./ui/suggestioncontroller.js';import _0x26715c from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x541cd2}from'./utils/common-translations.js';import _0x2d3d6d from'../theme/icons/track-changes.svg';export default class d extends _0x1cce68{static get[_0x34eebb(0x117)](){const _0x3975d0=_0x34eebb;return[_0x4b0ae4,_0x566e82,_0x3975d0(0x161),_0x3975d0(0x13f),_0x3975d0(0x136)];}static get[_0x34eebb(0x104)](){const _0x456532=_0x34eebb;return _0x456532(0x172);}constructor(_0x157134){const _0x30e670=_0x34eebb;super(_0x157134),this[_0x30e670(0x101)]=new Map(),this[_0x30e670(0xf0)]=new Map(),this[_0x30e670(0xf5)]=new Map(),this[_0x30e670(0x134)]=new Map();const _0x27b2e6=this[_0x30e670(0x15e)][_0x30e670(0x113)];_0x27b2e6[_0x30e670(0x106)](_0x30e670(0x164),_0x26715c),_0x27b2e6[_0x30e670(0x106)](_0x30e670(0xe7),!0x1),this[_0x30e670(0x158)]=_0x27b2e6[_0x30e670(0x14c)](_0x30e670(0xe7));}[_0x34eebb(0x12f)](_0xf7fc6b,_0x307615){const _0x47b091=_0x34eebb;0x0===this[_0x47b091(0x134)][_0x47b091(0x139)]&&setTimeout(()=>{const _0x226d12=_0x47b091;for(const [_0xf01cbb,_0xd68eb4]of this[_0x226d12(0x134)]){const _0x2f6a3b=this[_0x226d12(0x101)][_0x226d12(0xf7)](_0xf01cbb);_0x2f6a3b||_0xd68eb4?_0x2f6a3b&&_0xd68eb4&&this[_0x226d12(0xfc)](_0xf01cbb):this[_0x226d12(0x14a)](_0xf01cbb);}this[_0x226d12(0x134)][_0x226d12(0x12c)](),this[_0x226d12(0x15e)][_0x226d12(0xe9)][_0x226d12(0x14c)](_0x226d12(0x136))[_0x226d12(0x114)](),this[_0x226d12(0x144)]();},0xa),this[_0x47b091(0x134)][_0x47b091(0x150)](_0xf7fc6b,_0x307615);}[_0x34eebb(0x131)](){const _0x3bbb3a=_0x34eebb,_0x1540c4=this[_0x3bbb3a(0x15e)],_0x58ce34=_0x1540c4[_0x3bbb3a(0xe9)][_0x3bbb3a(0x14c)](_0x3bbb3a(0xe8)),_0x399f98=_0x1540c4[_0x3bbb3a(0xe9)][_0x3bbb3a(0x14c)](_0x3bbb3a(0x13f)),_0xfc811f=_0x1540c4[_0x3bbb3a(0xe9)][_0x3bbb3a(0x14c)](_0x3bbb3a(0x136)),_0x97d5f8=_0x1540c4[_0x3bbb3a(0xe9)][_0x3bbb3a(0x14c)](_0x3bbb3a(0x161));this[_0x3bbb3a(0x16f)](),_0xfc811f[_0x3bbb3a(0x159)](()=>{const _0x4e146f=_0x3bbb3a,_0xf4678e=[];for(const [_0x3b3973,_0x309f6a]of Array[_0x4e146f(0xf9)](this[_0x4e146f(0x101)])){const _0x4593c4=_0x3b3973[_0x4e146f(0xf6)](),_0x1966fa=[];for(const _0xbdd7b6 of _0x4593c4){if(!_0xbdd7b6[_0x4e146f(0x148)])continue;if(_0xbdd7b6[_0x4e146f(0x12b)]){_0x1966fa[_0x4e146f(0x162)](..._0xbdd7b6[_0x4e146f(0x132)]());continue;}const _0x309536=_0xbdd7b6[_0x4e146f(0x124)]();if(_0x1966fa[_0x4e146f(0x153)]>0x0){const _0x4cfe47=_0x1966fa[0x0][_0x4e146f(0xea)](_0x309536);if(_0x4cfe47){_0x1966fa[0x0]=_0x4cfe47;continue;}}_0x1966fa[_0x4e146f(0x162)](_0x309536);}_0xf4678e[_0x4e146f(0x162)]([_0x309f6a[_0x4e146f(0x15a)],_0x1966fa]);}return _0xf4678e;}),this[_0x3bbb3a(0x14e)](_0x58ce34,_0x3bbb3a(0x14f),(_0x20cbe0,_0x519953)=>{const _0x27dc32=_0x3bbb3a;this[_0x27dc32(0x14e)](_0x519953,_0x27dc32(0x103),(_0x3268db,_0x19cb51,_0x481a80,_0x5c4c60)=>{const _0x3d0e59=_0x27dc32;_0x519953[_0x3d0e59(0x148)]&&(null==_0x481a80?(this[_0x3d0e59(0x16c)](_0x5c4c60[_0x3d0e59(0xfe)]),this[_0x3d0e59(0x12f)](_0x519953,!0x1)):(this[_0x3d0e59(0x16c)](_0x481a80[_0x3d0e59(0xfe)]),null==_0x5c4c60&&this[_0x3d0e59(0x12f)](_0x519953,!0x0)));}),null!==_0x519953[_0x27dc32(0xfa)]?this[_0x27dc32(0x16c)](_0x519953[_0x27dc32(0xfe)]):this[_0x27dc32(0x12f)](_0x519953,!0x1);}),this[_0x3bbb3a(0x14e)](_0x58ce34,_0x3bbb3a(0x10e),(_0x431ac3,_0x4f444c,_0x5624da)=>{const _0x28e0f0=_0x3bbb3a;this[_0x28e0f0(0x151)](_0x4f444c,_0x28e0f0(0x103)),this[_0x28e0f0(0x134)][_0x28e0f0(0x111)](_0x4f444c),this[_0x28e0f0(0x101)][_0x28e0f0(0xf7)](_0x4f444c)&&this[_0x28e0f0(0xfc)](_0x4f444c),_0x5624da&&this[_0x28e0f0(0x16c)](_0x5624da[_0x28e0f0(0xfe)]);}),this[_0x3bbb3a(0x14e)](_0x58ce34,_0x3bbb3a(0x105),(_0x4d1d2e,_0x3e1d25)=>{const _0x16ed2c=_0x3bbb3a;this[_0x16ed2c(0x16c)](_0x3e1d25);}),this[_0x3bbb3a(0x14e)](_0x399f98,_0x3bbb3a(0x102),()=>{const _0x2e9338=_0x3bbb3a;this[_0x2e9338(0x144)]();}),this[_0x3bbb3a(0x14e)](_0x97d5f8,_0x3bbb3a(0xef),(_0x140592,{threadId:_0x303a1d,isFromAdapter:_0x1abb33})=>{const _0x3a34a4=_0x3bbb3a;if(_0x1abb33||!_0x58ce34[_0x3a34a4(0xf8)](_0x303a1d))return;const _0x366503=_0x58ce34[_0x3a34a4(0x166)](_0x303a1d);this[_0x3a34a4(0x101)][_0x3a34a4(0x14c)](_0x366503)[_0x3a34a4(0x15a)][_0x3a34a4(0xed)]();},{'priority':_0x3bbb3a(0xe5)});}[_0x34eebb(0x144)](){const _0x26208d=_0x34eebb,_0x1941a0=this[_0x26208d(0x15e)][_0x26208d(0xe9)][_0x26208d(0x14c)](_0x26208d(0x13f)),_0x433bec=this[_0x26208d(0x15e)][_0x26208d(0xe9)][_0x26208d(0x14c)](_0x26208d(0xe8)),_0x206783=Array[_0x26208d(0xf9)](_0x1941a0[_0x26208d(0x137)],_0x19fec9=>_0x19fec9[_0x26208d(0x154)])[_0x26208d(0x15c)](_0x1c79e1=>this[_0x26208d(0xf0)][_0x26208d(0xf7)](_0x1c79e1)),_0x301a98=[];for(const _0x16821b of _0x206783){const _0x306b74=this[_0x26208d(0xf0)][_0x26208d(0x14c)](_0x16821b)[_0x26208d(0x16a)][_0x26208d(0xf6)]();_0x301a98[_0x26208d(0x162)](..._0x306b74[_0x26208d(0x12e)]((_0x45fa9b,_0x564c3c)=>[..._0x45fa9b,..._0x564c3c[_0x26208d(0x141)]()],[]));}_0x433bec[_0x26208d(0x118)]=_0x301a98;}[_0x34eebb(0x16f)](){const _0x473e50=_0x34eebb,_0x4a2669=this[_0x473e50(0x15e)],_0x1d3bd6=_0x4a2669[_0x473e50(0x130)],_0x3a2f14=_0x541cd2(_0x1d3bd6,_0x473e50(0x140)),_0x156e33=new _0x292e43([{'type':_0x473e50(0x14d),'model':new _0x4f2fbd({'withText':!0x0,'label':_0x3a2f14,'commandName':_0x473e50(0x138),'role':_0x473e50(0x10f)})},{'type':_0x473e50(0xff)},{'type':_0x473e50(0x13b),'model':new _0x4f2fbd({'withText':!0x0,'label':_0x541cd2(_0x1d3bd6,_0x473e50(0x126)),'commandName':_0x473e50(0x120),'role':_0x473e50(0xf2)})},{'type':_0x473e50(0x13b),'model':new _0x4f2fbd({'withText':!0x0,'label':_0x541cd2(_0x1d3bd6,_0x473e50(0x10a)),'commandName':_0x473e50(0x116),'role':_0x473e50(0xf2)})},{'type':_0x473e50(0x13b),'model':new _0x4f2fbd({'withText':!0x0,'label':_0x541cd2(_0x1d3bd6,_0x473e50(0x13e)),'commandName':_0x473e50(0x121),'role':_0x473e50(0xf2)})},{'type':_0x473e50(0x13b),'model':new _0x4f2fbd({'withText':!0x0,'label':_0x541cd2(_0x1d3bd6,_0x473e50(0x108)),'commandName':_0x473e50(0x11c),'role':_0x473e50(0xf2)})}]);for(const _0x222570 of _0x156e33)if(ae(_0x222570)){const _0x255087=_0x4a2669[_0x473e50(0x149)][_0x473e50(0x14c)](_0x222570[_0x473e50(0x16a)][_0x473e50(0xec)]);_0x222570[_0x473e50(0x16a)][_0x473e50(0x11b)](_0x473e50(0x10b),_0x473e50(0xf1))['to'](_0x255087,_0x473e50(0x129),_0x473e50(0xf1));}_0x4a2669['ui'][_0x473e50(0xfb)][_0x473e50(0xe4)](_0x473e50(0x138),_0x297cd4=>this[_0x473e50(0x100)](_0x297cd4,_0x156e33,_0x3a2f14)),_0x4a2669['ui'][_0x473e50(0xfb)][_0x473e50(0xe4)](_0x473e50(0x10d),_0x84141a=>this[_0x473e50(0x119)](_0x84141a,_0x156e33,_0x3a2f14));}[_0x34eebb(0x100)](_0x37c56a,_0xe73a71,_0x55f0a5){const _0x41919d=_0x34eebb,_0x525f1e=_0x126432(_0x37c56a,_0x5ee315),_0x5789cc=this[_0x41919d(0x15e)][_0x41919d(0x149)][_0x41919d(0x14c)](_0x41919d(0x138));_0x525f1e[_0x41919d(0x14b)][_0x41919d(0x150)]({'tooltip':_0x55f0a5,'label':_0x55f0a5,'icon':_0x2d3d6d}),_0x525f1e[_0x41919d(0x14b)][_0x41919d(0x11b)](_0x41919d(0x10b))['to'](_0x5789cc,_0x41919d(0x129)),_0x525f1e[_0x41919d(0x14b)]['on'](_0x41919d(0x15b),()=>{const _0x4ba61c=_0x41919d;_0x5789cc[_0x4ba61c(0x15b)](),this[_0x4ba61c(0x15e)][_0x4ba61c(0x157)][_0x4ba61c(0x15a)][_0x4ba61c(0xed)]();}),_0x50a60f(_0x525f1e,_0xe73a71,{'role':_0x41919d(0x16b)});const _0xc3b46b=[];for(const _0x2317fe of _0xe73a71)ae(_0x2317fe)&&_0xc3b46b[_0x41919d(0x162)](this[_0x41919d(0x15e)][_0x41919d(0x149)][_0x41919d(0x14c)](_0x2317fe[_0x41919d(0x16a)][_0x41919d(0xec)]));const _0x5d2409=_0x525f1e[_0x41919d(0x14b)];return _0x5d2409[_0x41919d(0x16d)][_0x41919d(0x171)](_0x41919d(0xf1)),_0x5d2409[_0x41919d(0xfd)][_0x41919d(0x171)](_0x41919d(0xf1)),_0x5d2409[_0x41919d(0x16d)][_0x41919d(0x11b)](_0x41919d(0xf1))['to'](_0x5789cc,_0x41919d(0xf1)),_0x5d2409[_0x41919d(0xfd)][_0x41919d(0x11b)](_0x41919d(0xf1))[_0x41919d(0x11e)](_0xc3b46b,_0x41919d(0xf1),(..._0x8ce755)=>_0x8ce755[_0x41919d(0x160)](_0x46d326=>_0x46d326)),_0x525f1e['on'](_0x41919d(0x15b),_0x1f0df3=>{const _0x17d697=_0x41919d;this[_0x17d697(0x15e)][_0x17d697(0x15b)](_0x1f0df3[_0x17d697(0x12a)][_0x17d697(0xec)]),this[_0x17d697(0x15e)][_0x17d697(0x157)][_0x17d697(0x15a)][_0x17d697(0xed)]();}),_0x525f1e;}[_0x34eebb(0x119)](_0x5cd454,_0x4ec5a0,_0x452a9d){const _0xa19a45=_0x34eebb,_0x565871=new _0xe541d0(_0x5cd454),_0x34744a=this[_0xa19a45(0x15e)][_0xa19a45(0x149)][_0xa19a45(0x14c)](_0xa19a45(0x138));_0x565871[_0xa19a45(0x14b)][_0xa19a45(0x150)]({'label':_0x452a9d,'icon':_0x2d3d6d});const _0x36757d=new _0x1826bf(_0x5cd454);for(const _0x291677 of _0x4ec5a0){if(_0xa19a45(0xff)==_0x291677[_0xa19a45(0x10c)]){_0x36757d[_0xa19a45(0x109)][_0xa19a45(0xe4)](new _0x4bc40c(_0x5cd454));continue;}const _0x34c781=new _0x42224d(_0x5cd454,_0x565871),_0x3eb741=new _0x5ef4f0(_0x5cd454),_0x5d2539=_0x291677[_0xa19a45(0x16a)];_0x3eb741[_0xa19a45(0x11b)](...Object[_0xa19a45(0x133)](_0x5d2539))['to'](_0x5d2539),_0x3eb741[_0xa19a45(0x11a)](_0xa19a45(0x15b))['to'](_0x565871),_0x3eb741['on'](_0xa19a45(0x15b),()=>{const _0x52a498=_0xa19a45;this[_0x52a498(0x15e)][_0x52a498(0x15b)](_0x5d2539[_0x52a498(0xec)]),this[_0x52a498(0x15e)][_0x52a498(0x157)][_0x52a498(0x15a)][_0x52a498(0xed)]();}),_0x34c781[_0xa19a45(0xf4)][_0xa19a45(0xe4)](_0x3eb741),_0x36757d[_0xa19a45(0x109)][_0xa19a45(0xe4)](_0x34c781);}return _0x565871[_0xa19a45(0x11b)](_0xa19a45(0xf1))['to'](_0x34744a,_0xa19a45(0xf1)),_0x565871[_0xa19a45(0x147)][_0xa19a45(0xf4)][_0xa19a45(0xe4)](_0x36757d),_0x565871;}[_0x34eebb(0x14a)](_0x1b47e9){const _0x3ff0d2=_0x34eebb,_0x12bb39=this[_0x3ff0d2(0x15e)],_0x434d1c=_0x12bb39[_0x3ff0d2(0x113)],_0x5287c7=_0x12bb39[_0x3ff0d2(0xe9)][_0x3ff0d2(0x14c)](_0x3ff0d2(0x13f)),_0x843a33=_0x12bb39[_0x3ff0d2(0xe9)][_0x3ff0d2(0x14c)](_0x3ff0d2(0x161)),_0x270958=_0x12bb39[_0x3ff0d2(0xe9)][_0x3ff0d2(0x14c)](_0x3ff0d2(0x136)),_0x272b8d=_0x12bb39[_0x3ff0d2(0xe9)][_0x3ff0d2(0x14c)](_0x566e82)['me'],_0xf4c359=_0x434d1c[_0x3ff0d2(0x14c)](_0x3ff0d2(0x138))[_0x3ff0d2(0x143)],{CommentsListView:_0x108bd6,CommentThreadInputView:_0x30d825}=_0x12bb39[_0x3ff0d2(0xe9)][_0x3ff0d2(0x14c)](_0x3ff0d2(0x146));let _0x5c1727,_0x589d3b;this[_0x3ff0d2(0xf5)][_0x3ff0d2(0xf7)](_0x1b47e9['id'])?(_0x589d3b=this[_0x3ff0d2(0xf5)][_0x3ff0d2(0x14c)](_0x1b47e9['id']),_0x5c1727=_0x589d3b[_0x3ff0d2(0x127)]):(_0x5c1727=new _0xf4c359(_0x12bb39[_0x3ff0d2(0x130)],_0x1b47e9,_0x272b8d,{'disableComments':this[_0x3ff0d2(0x158)],'editorConfig':_0x434d1c[_0x3ff0d2(0x14c)](_0x3ff0d2(0x122)),'maxCommentsWhenCollapsed':_0x434d1c[_0x3ff0d2(0x14c)](_0x3ff0d2(0x142)),'maxThreadTotalWeight':_0x434d1c[_0x3ff0d2(0x14c)](_0x3ff0d2(0x115)),'maxCommentCharsWhenCollapsed':_0x434d1c[_0x3ff0d2(0x14c)](_0x3ff0d2(0x135)),'formatDateTime':_0x3ed67e(_0x434d1c[_0x3ff0d2(0x14c)](_0x3ff0d2(0x130))),'CommentView':_0x434d1c[_0x3ff0d2(0x14c)](_0x3ff0d2(0x11d))[_0x3ff0d2(0x123)],'CommentsListView':_0x108bd6,'CommentThreadInputView':_0x30d825}),_0x5c1727[_0x3ff0d2(0x165)]['on'](_0x3ff0d2(0x15b),()=>{const _0x531e71=_0x3ff0d2;_0x12bb39[_0x531e71(0x157)][_0x531e71(0x15a)][_0x531e71(0xed)]();}),_0x5c1727[_0x3ff0d2(0x107)]['on'](_0x3ff0d2(0x15b),()=>{const _0x58e97f=_0x3ff0d2;_0x12bb39[_0x58e97f(0x157)][_0x58e97f(0x15a)][_0x58e97f(0xed)]();}),_0x589d3b=_0x5287c7[_0x3ff0d2(0x110)](this[_0x3ff0d2(0x15e)][_0x3ff0d2(0x130)],_0x5c1727),_0x589d3b[_0x3ff0d2(0x11b)](_0x3ff0d2(0x13c))['to'](_0x5c1727,_0x3ff0d2(0x13c)),_0x589d3b[_0x3ff0d2(0x11b)](_0x3ff0d2(0x153))['to'](_0x5c1727),_0x589d3b[_0x3ff0d2(0x11b)](_0x3ff0d2(0x10c))['to'](_0x5c1727,_0x3ff0d2(0x10c),_0x7ce14f=>_0x3ff0d2(0x15d)+_0x7ce14f),this[_0x3ff0d2(0xf5)][_0x3ff0d2(0x150)](_0x1b47e9['id'],_0x589d3b));const _0x1e74cf=_0x843a33[_0x3ff0d2(0x128)](_0x1b47e9[_0x3ff0d2(0xeb)],_0x5c1727),_0x3b2fd6=new _0x1d4c14(_0x12bb39,_0x1b47e9,_0x5c1727,_0x1e74cf),_0x5f55cf=_0x1b47e9[_0x3ff0d2(0xf6)]()[_0x3ff0d2(0x15c)](_0xe094c8=>_0xe094c8[_0x3ff0d2(0x148)]);_0x5c1727[_0x3ff0d2(0xee)]=_0x12bb39[_0x3ff0d2(0xe9)][_0x3ff0d2(0x14c)](_0x3ff0d2(0xe8))[_0x3ff0d2(0xe6)][_0x3ff0d2(0x145)](_0x5f55cf),this[_0x3ff0d2(0x101)][_0x3ff0d2(0x150)](_0x1b47e9,_0x3b2fd6),this[_0x3ff0d2(0xf0)][_0x3ff0d2(0x150)](_0x5c1727,_0x3b2fd6);const _0x4a65ac=_0x5287c7[_0x3ff0d2(0x112)]({'view':_0x589d3b,'target':()=>{const _0x3e8caa=_0x3ff0d2,_0x257ed7=[],_0x25eb9b=_0x1b47e9[_0x3e8caa(0xf6)]()[_0x3e8caa(0x15c)](_0x2a24c3=>_0x2a24c3[_0x3e8caa(0x148)]);for(const _0x3f1d76 of _0x25eb9b)_0x257ed7[_0x3e8caa(0x162)](..._0x3f1d76[_0x3e8caa(0x12d)]());return _0xd50980(_0x12bb39[_0x3e8caa(0x157)],_0x257ed7);},'type':()=>_0x3ff0d2(0x15d)+_0x3b2fd6[_0x3ff0d2(0x15a)][_0x3ff0d2(0x10c)]});_0x843a33[_0x3ff0d2(0x156)](_0x5c1727,_0x4a65ac),_0x5287c7[_0x3ff0d2(0xe4)](_0x4a65ac),_0x270958[_0x3ff0d2(0x15f)](_0x4a65ac);}[_0x34eebb(0xfc)](_0x491719){const _0x1b9057=_0x34eebb,_0x554257=this[_0x1b9057(0x15e)][_0x1b9057(0xe9)][_0x1b9057(0x14c)](_0x1b9057(0x161)),_0x478c88=this[_0x1b9057(0x15e)][_0x1b9057(0xe9)][_0x1b9057(0x14c)](_0x1b9057(0x13f)),_0x5079db=this[_0x1b9057(0x101)][_0x1b9057(0x14c)](_0x491719),_0x44514a=_0x5079db[_0x1b9057(0x15a)],_0x4029f1=_0x478c88[_0x1b9057(0x155)](_0x44514a);_0x554257[_0x1b9057(0x168)](_0x44514a),_0x4029f1&&_0x478c88[_0x1b9057(0x169)](_0x4029f1),this[_0x1b9057(0x101)][_0x1b9057(0x111)](_0x491719),this[_0x1b9057(0xf0)][_0x1b9057(0x111)](_0x44514a),_0x5079db[_0x1b9057(0x13d)]();}[_0x34eebb(0x16c)](_0x33313f){const _0x3aae94=_0x34eebb;if(!_0x33313f[_0x3aae94(0x148)]||!this[_0x3aae94(0x101)][_0x3aae94(0xf7)](_0x33313f))return;const _0x2fae37=this[_0x3aae94(0x15e)][_0x3aae94(0xe9)][_0x3aae94(0x14c)](_0x3aae94(0xe8)),_0x156d64=this[_0x3aae94(0x101)][_0x3aae94(0x14c)](_0x33313f),_0x324e5d=_0x33313f[_0x3aae94(0xf6)]();_0x156d64[_0x3aae94(0x15a)][_0x3aae94(0xee)]=_0x2fae37[_0x3aae94(0xe6)][_0x3aae94(0x145)](_0x324e5d);}[_0x34eebb(0x13d)](){const _0x401e35=_0x34eebb;for(const _0xb3557e of this[_0x401e35(0x101)][_0x401e35(0x133)]())this[_0x401e35(0xfc)](_0xb3557e);for(const _0x446be9 of this[_0x401e35(0xf5)][_0x401e35(0xf3)]())_0x446be9[_0x401e35(0x127)][_0x401e35(0x13d)]();super[_0x401e35(0x13d)]();}}function ae(_0x1157b9){const _0x5c9591=_0x34eebb;return _0x5c9591(0x16a)in _0x1157b9;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3911b9=_0x529d;(function(_0x1551be,_0x55b725){const _0x9e3ca7=_0x529d,_0x4ea723=_0x1551be();while(!![]){try{const _0xd1d9fc=parseInt(_0x9e3ca7(0x155))/0x1+-parseInt(_0x9e3ca7(0x139))/0x2+parseInt(_0x9e3ca7(0x15a))/0x3*(parseInt(_0x9e3ca7(0x149))/0x4)+parseInt(_0x9e3ca7(0x14d))/0x5+parseInt(_0x9e3ca7(0x151))/0x6*(-parseInt(_0x9e3ca7(0x15b))/0x7)+parseInt(_0x9e3ca7(0x153))/0x8+-parseInt(_0x9e3ca7(0x143))/0x9;if(_0xd1d9fc===_0x55b725)break;else _0x4ea723['push'](_0x4ea723['shift']());}catch(_0x4babdb){_0x4ea723['push'](_0x4ea723['shift']());}}}(_0x42a5,0x66d27));import{ObservableMixin as _0x537674}from'ckeditor5/src/utils.js';function _0x529d(_0xd92176,_0x3e9d31){const _0x42a5f4=_0x42a5();return _0x529d=function(_0x529dc7,_0x4b5364){_0x529dc7=_0x529dc7-0x139;let _0x116db8=_0x42a5f4[_0x529dc7];return _0x116db8;},_0x529d(_0xd92176,_0x3e9d31);}function _0x42a5(){const _0x2b7fb6=['isDirty','acceptSuggestion','PendingActions','execute','discardSuggestion','unbind','476030WRYsKI','destroy','bind','_pendingAction','listenTo','remove','_editor','canDiscard','stopListening','_removePendingAction','2604402AILIfg','plugins','PENDING_ACTION_SUGGESTION','commands','isEnabled','get','3326828SNBzNg','_setPendingAction','getRanges','view','1637010wvTSpe','_discardCommand','model','_acceptCommand','12mEovEf','commentThreadController','2631704foavHc','add','1654akIxCP','canAccept','canEditAt','locale','change:isDirty','3akKTAz','1894109blpQIC'];_0x42a5=function(){return _0x2b7fb6;};return _0x42a5();}import{getTranslation as _0x4e804e}from'../utils/common-translations.js';export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x537674(){constructor(_0x15bc76,_0x314804,_0xb3f840,_0xc3e720){const _0x1e8a11=_0x529d;super(),this[_0x1e8a11(0x14f)]=_0x314804,this[_0x1e8a11(0x14c)]=_0xb3f840,this[_0x1e8a11(0x152)]=_0xc3e720,this[_0x1e8a11(0x13f)]=_0x15bc76,this[_0x1e8a11(0x150)]=_0x15bc76[_0x1e8a11(0x146)][_0x1e8a11(0x148)](_0x1e8a11(0x15d)),this[_0x1e8a11(0x14e)]=_0x15bc76[_0x1e8a11(0x146)][_0x1e8a11(0x148)](_0x1e8a11(0x160)),this[_0x1e8a11(0x14c)][_0x1e8a11(0x13b)](_0x1e8a11(0x147))['to'](this[_0x1e8a11(0x150)],this[_0x1e8a11(0x14e)],(_0xad1c14,_0x4fd64a)=>_0xad1c14||_0x4fd64a),this[_0x1e8a11(0x14c)][_0x1e8a11(0x13b)](_0x1e8a11(0x156))['to'](this[_0x1e8a11(0x150)],_0x1e8a11(0x147),_0x1f84e9=>_0x1f84e9&&this[_0x1e8a11(0x13f)][_0x1e8a11(0x14f)][_0x1e8a11(0x157)](_0x314804[_0x1e8a11(0x14b)]())),this[_0x1e8a11(0x14c)][_0x1e8a11(0x13b)](_0x1e8a11(0x140))['to'](this[_0x1e8a11(0x14e)],_0x1e8a11(0x147),_0x489d73=>_0x489d73&&this[_0x1e8a11(0x13f)][_0x1e8a11(0x14f)][_0x1e8a11(0x157)](_0x314804[_0x1e8a11(0x14b)]())),this[_0x1e8a11(0x13c)]=null,_0xb3f840[_0x1e8a11(0x15c)]&&this[_0x1e8a11(0x14a)](),this[_0x1e8a11(0x13d)](_0xb3f840,_0x1e8a11(0x15d),()=>this[_0x1e8a11(0x15d)]()),this[_0x1e8a11(0x13d)](_0xb3f840,_0x1e8a11(0x160),()=>this[_0x1e8a11(0x160)]()),this[_0x1e8a11(0x13d)](_0xb3f840,_0x1e8a11(0x159),()=>{const _0x3ade41=_0x1e8a11;_0xb3f840[_0x3ade41(0x15c)]?this[_0x3ade41(0x14a)]():this[_0x3ade41(0x142)]();});}[_0x3911b9(0x15d)](){const _0x1f2799=_0x3911b9;this[_0x1f2799(0x150)][_0x1f2799(0x15f)](this[_0x1f2799(0x14f)]['id']);}[_0x3911b9(0x160)](){const _0x48ad33=_0x3911b9;this[_0x48ad33(0x14e)][_0x48ad33(0x15f)](this[_0x48ad33(0x14f)]['id']);}[_0x3911b9(0x13a)](){const _0x24991f=_0x3911b9;this[_0x24991f(0x14c)][_0x24991f(0x161)](_0x24991f(0x147)),this[_0x24991f(0x14c)][_0x24991f(0x161)](_0x24991f(0x156)),this[_0x24991f(0x14c)][_0x24991f(0x161)](_0x24991f(0x140)),this[_0x24991f(0x141)](),this[_0x24991f(0x152)][_0x24991f(0x13a)](),this[_0x24991f(0x13c)]&&this[_0x24991f(0x142)]();}[_0x3911b9(0x14a)](){const _0x48da69=_0x3911b9,_0x17a64e=_0x4e804e(this[_0x48da69(0x13f)][_0x48da69(0x158)],_0x48da69(0x145));this[_0x48da69(0x13c)]=this[_0x48da69(0x13f)][_0x48da69(0x144)][_0x48da69(0x148)](_0x48da69(0x15e))[_0x48da69(0x154)](_0x17a64e);}[_0x3911b9(0x142)](){const _0x3b2e4c=_0x3911b9;null!==this[_0x3b2e4c(0x13c)]&&this[_0x3b2e4c(0x13f)][_0x3b2e4c(0x144)][_0x3b2e4c(0x148)](_0x3b2e4c(0x15e))[_0x3b2e4c(0x13e)](this[_0x3b2e4c(0x13c)]),this[_0x3b2e4c(0x13c)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2d28(){const _0x4de8f4=['_localUser','setData','_config','delegate','fire','bind','assign','627567khgkFd','10HPVscF','length','canAccept','removeComment','editor','showInput','locale','473728Djlakh','commentThread','1097810YSQxRH','8gzQZuy','addComment','focus','385828Yonmuf','descriptionParts','isActive','commentInputView','isDirty','canDiscard','CommentView','55818heNUrW','cancel','disableComments','45bTTGMT','disabledSubmit','submit','updateComment','isReadOnly','element','isEnabled','commentsListView','hasDirtyComment','editorConfig','_model','_createCommentThreadInputView','_createCommentViews','authoredAt','471156LaaVnE','set','19939601FQBLXb','commentThreadInputView','destroy','value','1056EGgreV'];_0x2d28=function(){return _0x4de8f4;};return _0x2d28();}const _0x35c4f1=_0x1e9f;(function(_0x17ed80,_0x478819){const _0x527de1=_0x1e9f,_0x117d80=_0x17ed80();while(!![]){try{const _0x47dd8e=-parseInt(_0x527de1(0xf0))/0x1+-parseInt(_0x527de1(0xf3))/0x2*(parseInt(_0x527de1(0xe8))/0x3)+-parseInt(_0x527de1(0xf6))/0x4*(-parseInt(_0x527de1(0xcc))/0x5)+parseInt(_0x527de1(0xda))/0x6+-parseInt(_0x527de1(0xf2))/0x7+parseInt(_0x527de1(0xe0))/0x8*(-parseInt(_0x527de1(0xc9))/0x9)+parseInt(_0x527de1(0xe9))/0xa*(parseInt(_0x527de1(0xdc))/0xb);if(_0x47dd8e===_0x478819)break;else _0x117d80['push'](_0x117d80['shift']());}catch(_0x52673e){_0x117d80['push'](_0x117d80['shift']());}}}(_0x2d28,0x73908));import{View as _0x2a4d3f}from'ckeditor5/src/ui.js';function _0x1e9f(_0x5e7054,_0x40e1c8){const _0x2d2886=_0x2d28();return _0x1e9f=function(_0x1e9f94,_0x24c8c2){_0x1e9f94=_0x1e9f94-0xc7;let _0x323443=_0x2d2886[_0x1e9f94];return _0x323443;},_0x1e9f(_0x5e7054,_0x40e1c8);}export default class es extends _0x2a4d3f{constructor(_0x3f7192,_0x38c37,_0x181f8,_0xcdee0c){const _0x4de206=_0x1e9f;super(_0x3f7192),this[_0x4de206(0xd3)]=null,this[_0x4de206(0xdd)]=null,this[_0x4de206(0xdb)](_0x4de206(0xf8),!0x1),this[_0x4de206(0xdb)](_0x4de206(0xd9),_0x38c37[_0x4de206(0xd9)]),this[_0x4de206(0xe6)](_0x4de206(0xd9))['to'](_0x38c37),this[_0x4de206(0xdb)](_0x4de206(0xf7),[]),this[_0x4de206(0xdb)](_0x4de206(0xfa),!0x1),this[_0x4de206(0xdb)](_0x4de206(0xd2),!0x1),this[_0x4de206(0xdb)](_0x4de206(0xeb),!0x1),this[_0x4de206(0xdb)](_0x4de206(0xc7),!0x1),this[_0x4de206(0xd6)]=_0x38c37,this[_0x4de206(0xe1)]=_0x181f8,this[_0x4de206(0xe3)]=_0xcdee0c,_0xcdee0c[_0x4de206(0xcb)]?this[_0x4de206(0xdb)](_0x4de206(0xea),0x1):this[_0x4de206(0xd8)]();}[_0x35c4f1(0xf5)](){const _0x5cda61=_0x35c4f1;this[_0x5cda61(0xd1)][_0x5cda61(0xf5)]();}[_0x35c4f1(0xde)](){const _0x41b22d=_0x35c4f1;this[_0x41b22d(0xd3)]&&this[_0x41b22d(0xd3)][_0x41b22d(0xde)](),this[_0x41b22d(0xdd)]&&this[_0x41b22d(0xdd)][_0x41b22d(0xde)](),super[_0x41b22d(0xde)]();}[_0x35c4f1(0xd8)](){const _0x3179cf=_0x35c4f1,{CommentsListView:_0x1f51f2}=this[_0x3179cf(0xe3)];this[_0x3179cf(0xd3)]=new _0x1f51f2(this[_0x3179cf(0xef)],this[_0x3179cf(0xd6)][_0x3179cf(0xf1)],Object[_0x3179cf(0xe7)]({'CommentView':this[_0x3179cf(0xe3)][_0x3179cf(0xc8)]},this[_0x3179cf(0xe3)])),this[_0x3179cf(0xd3)][_0x3179cf(0xe4)](_0x3179cf(0xec))['to'](this),this[_0x3179cf(0xd3)][_0x3179cf(0xe4)](_0x3179cf(0xcf))['to'](this),this[_0x3179cf(0xd3)][_0x3179cf(0xe6)](_0x3179cf(0xf8))['to'](this),this[_0x3179cf(0xdb)](_0x3179cf(0xea),this[_0x3179cf(0xd3)][_0x3179cf(0xea)]+0x1),this[_0x3179cf(0xe6)](_0x3179cf(0xea))['to'](this[_0x3179cf(0xd3)],_0x3179cf(0xea),_0x40397d=>_0x40397d+0x1),this[_0x3179cf(0xdd)]=this[_0x3179cf(0xd7)](),this['on'](_0x3179cf(0xec),()=>this[_0x3179cf(0xf5)]()),this[_0x3179cf(0xe6)](_0x3179cf(0xfa))['to'](this[_0x3179cf(0xd3)],_0x3179cf(0xd4),this[_0x3179cf(0xdd)][_0x3179cf(0xf9)],_0x3179cf(0xdf),(_0x44dbae,_0x1ba96b)=>_0x44dbae||!!_0x1ba96b);}[_0x35c4f1(0xd7)](){const _0xcb71bd=_0x35c4f1,{CommentThreadInputView:_0x5ea907}=this[_0xcb71bd(0xe3)],_0x16584a=new _0x5ea907(this[_0xcb71bd(0xef)],this[_0xcb71bd(0xe1)],this[_0xcb71bd(0xe3)][_0xcb71bd(0xd5)]),_0x79396d=_0x16584a[_0xcb71bd(0xf9)];return _0x16584a[_0xcb71bd(0xe6)](_0xcb71bd(0xee))['to'](this,_0xcb71bd(0xf8),this[_0xcb71bd(0xd6)][_0xcb71bd(0xf1)],_0xcb71bd(0xd0),_0x79396d,_0xcb71bd(0xdf),(_0x166abc,_0x1dd9f6,_0x130638)=>!!_0x130638||_0x166abc&&!_0x1dd9f6),_0x79396d['on'](_0xcb71bd(0xce),(_0x3b7f36,_0x4bca65)=>{const _0x392ccb=_0xcb71bd;this[_0x392ccb(0xe5)](_0x392ccb(0xf4),_0x4bca65),_0x79396d[_0x392ccb(0xed)][_0x392ccb(0xe2)]('');}),_0x79396d['on'](_0xcb71bd(0xca),()=>this[_0xcb71bd(0xf5)]()),_0x79396d[_0xcb71bd(0xe6)](_0xcb71bd(0xcd))['to'](this[_0xcb71bd(0xd6)][_0xcb71bd(0xf1)],_0xcb71bd(0xd0)),_0x16584a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x53fe65=_0x4032;(function(_0x4af3d8,_0x5546d4){const _0x3c75fc=_0x4032,_0x5daff1=_0x4af3d8();while(!![]){try{const _0x1f7bfa=-parseInt(_0x3c75fc(0xe7))/0x1+-parseInt(_0x3c75fc(0x94))/0x2*(-parseInt(_0x3c75fc(0x8e))/0x3)+-parseInt(_0x3c75fc(0xe3))/0x4*(parseInt(_0x3c75fc(0xc4))/0x5)+-parseInt(_0x3c75fc(0xce))/0x6+parseInt(_0x3c75fc(0x80))/0x7+-parseInt(_0x3c75fc(0xcb))/0x8*(parseInt(_0x3c75fc(0xd1))/0x9)+-parseInt(_0x3c75fc(0x99))/0xa*(-parseInt(_0x3c75fc(0xd0))/0xb);if(_0x1f7bfa===_0x5546d4)break;else _0x5daff1['push'](_0x5daff1['shift']());}catch(_0x2248d1){_0x5daff1['push'](_0x5daff1['shift']());}}}(_0x4e39,0xf1079));import{getTranslation as _0x5858e9}from'../../utils/common-translations.js';import{default as _0x404085}from'./basesuggestionthreadview.js';import{ButtonView as _0x578ff3}from'ckeditor5/src/ui.js';import{icons as _0x34d708}from'ckeditor5/src/core.js';import{trimHtml as _0x1aa859,UserView as _0x140703}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4032(_0x42c9f9,_0x387b94){const _0x4e3905=_0x4e39();return _0x4032=function(_0x4032b2,_0x415700){_0x4032b2=_0x4032b2-0x79;let _0x2fc086=_0x4e3905[_0x4032b2];return _0x2fc086;},_0x4032(_0x42c9f9,_0x387b94);}export default class ne extends _0x404085{constructor(_0x39c7ce,_0xcbc679,_0x2a67ff,_0x3e428b){const _0x2c923c=_0x4032;super(_0x39c7ce,_0xcbc679,_0x2a67ff,_0x3e428b),this[_0x2c923c(0x9d)](_0x2c923c(0xd4),''),this[_0x2c923c(0xaf)](_0x2c923c(0xd4))['to'](this,_0x2c923c(0xcf),_0x1849ed=>_0x1849ed&&_0x1849ed[0x0]?_0x1849ed[0x0][_0x2c923c(0xd4)]:''),this[_0x2c923c(0xaf)](_0x2c923c(0xb8))['to'](this,_0x2c923c(0xcf),this,_0x2c923c(0xd6),(_0x62b981,_0x58fdf0)=>{const _0x448084=_0x2c923c;let _0x38af60='';for(const _0x4341cf of _0x62b981)_0x38af60+=_0x448084(0xae)+ds(_0x4341cf[_0x448084(0x9a)],_0x4341cf[_0x448084(0x91)])+_0x448084(0xe6);return _0x58fdf0?_0x38af60:_0x1aa859(_0x38af60,{'limit':0x8c});}),this[_0x2c923c(0xb4)]=null,this[_0x2c923c(0xe2)]=this[_0x2c923c(0x8b)](_0x5858e9(_0x39c7ce,_0x2c923c(0x86)),_0x34d708[_0x2c923c(0xcd)],_0x2c923c(0xbb),_0x2c923c(0x81),'sw'),this[_0x2c923c(0xe2)][_0x2c923c(0xaf)](_0x2c923c(0xc9))['to'](this,_0x2c923c(0xad)),this[_0x2c923c(0xac)]=this[_0x2c923c(0x8b)](_0x5858e9(_0x39c7ce,_0x2c923c(0xd3)),_0x34d708[_0x2c923c(0x7d)],_0x2c923c(0x9e),_0x2c923c(0x8c),'sw'),this[_0x2c923c(0xac)][_0x2c923c(0xaf)](_0x2c923c(0xc9))['to'](this,_0x2c923c(0x9f)),this[_0x2c923c(0xa4)]=new _0x140703(_0x39c7ce,this[_0x2c923c(0x7c)][_0x2c923c(0xca)],this[_0x2c923c(0x87)]()),this[_0x2c923c(0xa4)][_0x2c923c(0xa6)]({'attributes':{'class':[_0x2c923c(0xb1),_0x2c923c(0xda)]}}),this[_0x2c923c(0x85)](this[_0x2c923c(0xd2)]());}[_0x53fe65(0xd2)](){const _0x349705=_0x53fe65,_0x365f3c=this[_0x349705(0x8f)],_0x573bd6=[{'tag':_0x349705(0xb2),'attributes':{'class':[_0x349705(0x82),_0x349705(0xb0)]},'children':[{'tag':_0x349705(0xbf),'children':[{'text':this[_0x349705(0xa4)][_0x349705(0xd7)]}],'attributes':{'class':[_0x349705(0xe1),_0x349705(0xa9)]}},{'tag':_0x349705(0xcc),'attributes':{'datetime':_0x365f3c['to'](_0x349705(0x9b)),'class':[_0x349705(0x93),_0x349705(0xd8)]},'children':[{'text':_0x365f3c['to'](_0x349705(0x9b),_0x866e79=>this[_0x349705(0xb5)][_0x349705(0x9c)](_0x866e79))}]}]},{'tag':_0x349705(0xb2),'attributes':{'class':[_0x349705(0xdd),_0x349705(0x7a)]},'children':[this[_0x349705(0xe2)],this[_0x349705(0xac)]]},{'tag':_0x349705(0xb2),'attributes':{'class':[_0x349705(0xe0)]}}];this[_0x349705(0x7c)][_0x349705(0x89)]&&_0x573bd6[_0x349705(0xc8)]({'tag':_0x349705(0xb2),'attributes':{'class':[_0x349705(0xb6)]},'children':[{'text':this[_0x349705(0x7b)]()}]});const _0x4233b7={'tag':_0x349705(0xb2),'attributes':{'class':[_0x349705(0xbe),_0x365f3c['if'](_0x349705(0xd6),_0x349705(0x96)),_0x365f3c['to'](_0x349705(0xd4),_0x183a8d=>_0x349705(0xb7)+_0x183a8d),this[_0x349705(0xb5)][_0x349705(0xc0)]&&_0x349705(0x92)],'data-suggestion-id':this[_0x349705(0x7c)]['id'],'data-thread-id':this[_0x349705(0x7c)][_0x349705(0xa0)]['id'],'data-author-id':this[_0x349705(0x7c)][_0x349705(0xca)]['id'],'tabindex':-0x1},'children':[{'tag':_0x349705(0xb2),'attributes':{'class':[_0x349705(0xb3),_0x349705(0x7e)]},'children':[this[_0x349705(0xa4)],{'tag':_0x349705(0xb2),'attributes':{'class':[_0x349705(0x8d),_0x349705(0xba)]},'children':_0x573bd6}]}]};return this[_0x349705(0x95)]&&this[_0x349705(0xc5)]&&(_0x4233b7[_0x349705(0xa1)][_0x349705(0xc8)](this[_0x349705(0x95)],this[_0x349705(0xc5)]),this[_0x349705(0x95)][_0x349705(0xc7)](_0x349705(0xb9))['to'](this),this[_0x349705(0x95)][_0x349705(0xc7)](_0x349705(0xdc))['to'](this),this[_0x349705(0xc5)][_0x349705(0xc7)](_0x349705(0xb9))['to'](this),this[_0x349705(0xc5)][_0x349705(0xc7)](_0x349705(0xdc))['to'](this)),_0x4233b7;}[_0x53fe65(0x98)](){const _0xe62856=_0x53fe65;super[_0xe62856(0x98)](),this[_0xe62856(0xb4)]=this[_0xe62856(0xdf)][_0xe62856(0xde)](_0xe62856(0xa2)),this[_0xe62856(0xb4)][_0xe62856(0x84)]=this[_0xe62856(0xb8)],this['on'](_0xe62856(0x8a),(_0x3b96da,_0x48bced,_0x3dbbe9)=>{const _0x5be1c3=_0xe62856;this[_0x5be1c3(0xb4)][_0x5be1c3(0x84)]=_0x3dbbe9;});}[_0x53fe65(0x8b)](_0x2d801d,_0x28b005,_0x34c2a8,_0x2b6e72,_0x2571d0){const _0x36bd7d=_0x53fe65,_0x436969=new _0x578ff3(this[_0x36bd7d(0xa5)]);return _0x436969[_0x36bd7d(0x9d)]({'label':_0x2d801d,'icon':_0x28b005,'tooltip':!0x0,'tooltipPosition':_0x2571d0}),_0x436969[_0x36bd7d(0xa6)]({'attributes':{'class':_0x34c2a8}}),_0x436969['on'](_0x36bd7d(0x90),()=>{const _0x479cfe=_0x36bd7d;this[_0x479cfe(0x7f)](_0x2b6e72,this[_0x479cfe(0x7c)]['id']);}),_0x436969;}[_0x53fe65(0x7b)](){const _0x2aef7f=_0x53fe65;return _0x2aef7f(0xc6)===this[_0x2aef7f(0x7c)][_0x2aef7f(0xab)][_0x2aef7f(0xe4)][_0x2aef7f(0xdb)]?_0x5858e9(this[_0x2aef7f(0xa5)],_0x2aef7f(0xe5)):_0x5858e9(this[_0x2aef7f(0xa5)],_0x2aef7f(0x97));}[_0x53fe65(0x87)](){const _0x9a8f0a=_0x53fe65;return this[_0x9a8f0a(0x7c)][_0x9a8f0a(0x89)]?_0x9a8f0a(0xc6)===this[_0x9a8f0a(0x7c)][_0x9a8f0a(0xab)][_0x9a8f0a(0xe4)][_0x9a8f0a(0xdb)]?_0x5858e9(this[_0x9a8f0a(0xa5)],_0x9a8f0a(0xa8),this[_0x9a8f0a(0x7c)][_0x9a8f0a(0xd5)][_0x9a8f0a(0xd7)]):_0x5858e9(this[_0x9a8f0a(0xa5)],_0x9a8f0a(0xc1),this[_0x9a8f0a(0x7c)][_0x9a8f0a(0xd5)][_0x9a8f0a(0xd7)]):null;}}function ds(_0x1c7ffd,_0x434088){const _0x3df64c=_0x53fe65;let _0x7c201f='';return _0x7c201f+=_0x1c7ffd[_0x3df64c(0xa3)]('*')[_0x3df64c(0xbc)]((_0x1165b9,_0x54e014)=>_0x54e014%0x2!=0x0?_0x3df64c(0xc2)+us(_0x1165b9)+_0x3df64c(0xbd):us(_0x1165b9))[_0x3df64c(0xc3)](''),_0x434088&&(_0x7c201f+=_0x3df64c(0x83)+_0x434088[_0x3df64c(0xa7)]+_0x3df64c(0x88)+_0x434088[_0x3df64c(0x79)]+_0x3df64c(0xd9)),_0x7c201f;}function us(_0x167d34){const _0x67da9c=_0x53fe65,_0x38c0a5=document[_0x67da9c(0xaa)](_0x67da9c(0xbf));return _0x38c0a5[_0x67da9c(0xe8)]=_0x167d34,_0x38c0a5[_0x67da9c(0x84)];}function _0x4e39(){const _0x22f88d=['bindTemplate','execute','color','ck-suggestion--disabled-comments','ck-comment__info-time','387434zIMLcf','commentsListView','ck-suggestion-wrapper--active','EXTERNAL_SUGGESTION','render','14330ZxpRIG','content','authoredAt','formatDateTime','set','ck-suggestion--discard','canDiscard','commentThread','children','.ck-annotation__content-wrapper','split','userView','locale','extendTemplate','value','EXTERNAL_IMPORT_WORD_AVATAR','ck-annotation__info-name','createElement','attributes','discardButton','canAccept','<p>','bind','ck-annotation__info','ck-suggestion__user','div','ck-suggestion','_descriptionElement','_config','ck-comment__external','ck-suggestion-','description','editorReady','ck-annotation__main','ck-suggestion--accept','map','</span>','ck-suggestion-wrapper','span','disableComments','EXTERNAL_AVATAR','<span\x20class=\x22ck-suggestion-type\x22>','join','713350JFwhLU','commentThreadInputView','importWord','delegate','push','isEnabled','author','120xKSLrg','time','check','10651698DpEQop','descriptionParts','34507AuGnYI','593937LKjfld','getTemplate','Discard\x20suggestion','type','creator','isActive','name','ck-annotation__info-time','\x22></span>','ck-annotation__user','source','editorDestroyed','ck-suggestion__actions','querySelector','element','ck-annotation__content-wrapper','ck-suggestion__info-name','acceptButton','4PCZcdY','@external','EXTERNAL_IMPORT_WORD_SUGGESTION','</p>','1791931uXHUjg','innerText','title','ck-annotation__actions','getExternalSuggestionNote','_model','cancel','ck-annotation','fire','5629967RhJgEZ','acceptSuggestion','ck-suggestion__info','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','innerHTML','setTemplate','Accept\x20suggestion','getUserViewNotificationText','\x22\x20title=\x22','isExternal','change:description','_createButton','discardSuggestion','ck-suggestion__main','6jzAXRj'];_0x4e39=function(){return _0x22f88d;};return _0x4e39();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x52ba2b,_0x296581,_0x38337d){const t=_0x52ba2b['t'];switch(_0x296581){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',_0x38337d);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x38337d);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x38337d);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x38337d);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x38337d);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',_0x38337d);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x38337d);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',_0x38337d);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x38337d);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x38337d);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x38337d);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x38337d);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x38337d);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x38337d);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x38337d);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x38337d);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x38337d);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x38337d);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x38337d);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x38337d);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x38337d);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x38337d);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x38337d);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'},_0x38337d);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x38337d);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x38337d);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x38337d);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x38337d);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x38337d);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'},_0x38337d);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x38337d);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x38337d);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x38337d);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x38337d);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'},_0x38337d);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x38337d);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'},_0x38337d);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'},_0x38337d);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x38337d);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'},_0x38337d);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x38337d);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'},_0x38337d);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x38337d);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x38337d);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x38337d);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'},_0x38337d);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x296581;}}
|
|
23
|
+
export function getTranslation(_0x2f8885,_0x4abcf1,_0xc3e794){const t=_0x2f8885['t'];switch(_0x4abcf1){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',_0xc3e794);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0xc3e794);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0xc3e794);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0xc3e794);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0xc3e794);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',_0xc3e794);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0xc3e794);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',_0xc3e794);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0xc3e794);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0xc3e794);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0xc3e794);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0xc3e794);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0xc3e794);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0xc3e794);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0xc3e794);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0xc3e794);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0xc3e794);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0xc3e794);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0xc3e794);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0xc3e794);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0xc3e794);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0xc3e794);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0xc3e794);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'},_0xc3e794);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0xc3e794);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0xc3e794);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0xc3e794);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0xc3e794);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0xc3e794);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'},_0xc3e794);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0xc3e794);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0xc3e794);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0xc3e794);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xc3e794);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'},_0xc3e794);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0xc3e794);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'},_0xc3e794);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'},_0xc3e794);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0xc3e794);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'},_0xc3e794);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0xc3e794);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'},_0xc3e794);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0xc3e794);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0xc3e794);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0xc3e794);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'},_0xc3e794);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x4abcf1;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3de78c,_0x5931bb){const _0x183722=_0x56e4,_0x945ba7=_0x3de78c();while(!![]){try{const _0x28c96c=parseInt(_0x183722(0x1cc))/0x1+-parseInt(_0x183722(0x1b7))/0x2*(parseInt(_0x183722(0x1c7))/0x3)+-parseInt(_0x183722(0x1ab))/0x4*(-parseInt(_0x183722(0x1c1))/0x5)+parseInt(_0x183722(0x1b5))/0x6*(-parseInt(_0x183722(0x1a6))/0x7)+-parseInt(_0x183722(0x1cf))/0x8+-parseInt(_0x183722(0x1a7))/0x9+-parseInt(_0x183722(0x1ac))/0xa*(-parseInt(_0x183722(0x1bf))/0xb);if(_0x28c96c===_0x5931bb)break;else _0x945ba7['push'](_0x945ba7['shift']());}catch(_0x40a2c0){_0x945ba7['push'](_0x945ba7['shift']());}}}(_0x1095,0x256d3));export function normalizeDescription(_0x57d1d2){const _0x3f0519=_0x56e4;return Array[_0x3f0519(0x1ca)](_0x57d1d2)||(_0x57d1d2=[_0x57d1d2]),_0x57d1d2[_0x3f0519(0x1c3)](_0x2e33a6=>{const _0x392f74=_0x3f0519,_0x5b69ac=_0x2e33a6[_0x392f74(0x1bd)][_0x392f74(0x1d0)](/\*/g,''),_0xaf733f=_0x2e33a6[_0x392f74(0x1b1)]?_0x392f74(0x1ad)+_0x2e33a6[_0x392f74(0x1b1)][_0x392f74(0x1b6)]+']':'';return'['+_0x2e33a6[_0x392f74(0x1b2)]+']\x20'+_0x5b69ac+_0xaf733f;})[_0x3f0519(0x1c2)](';\x20');}export function sortSuggestions(_0x52d22d){const _0x32c790=_0x56e4;return _0x52d22d[_0x32c790(0x1a5)]((_0x5e0bfe,_0xe01a17)=>_0x32c790(0x1cb)==_0x5e0bfe[_0x32c790(0x1b2)]&&_0x32c790(0x1cb)!=_0xe01a17[_0x32c790(0x1b2)]?-0x1:_0x32c790(0x1cb)!=_0x5e0bfe[_0x32c790(0x1b2)]&&_0x32c790(0x1cb)==_0xe01a17[_0x32c790(0x1b2)]?0x1:0x0);}function _0x56e4(_0x4c5986,_0x555258){const _0x1095a7=_0x1095();return _0x56e4=function(_0x56e4f0,_0x3227a6){_0x56e4f0=_0x56e4f0-0x1a5;let _0x404250=_0x1095a7[_0x56e4f0];return _0x404250;},_0x56e4(_0x4c5986,_0x555258);}export function getSelectedSuggestions(_0x21a1f3,_0x30cc79){const _0x1b5dc0=_0x56e4,_0x48f2f9=Array[_0x1b5dc0(0x1bc)](_0x21a1f3[_0x1b5dc0(0x1b9)]()),_0x52e0b4=new Set();for(const _0x1dea99 of _0x30cc79)if(_0x1dea99[_0x1b5dc0(0x1c5)]){for(const _0x34cb20 of _0x48f2f9)for(const _0x264966 of _0x1dea99[_0x1b5dc0(0x1b9)]())(_0x34cb20[_0x1b5dc0(0x1b3)](_0x264966)||_0x21a1f3[_0x1b5dc0(0x1b8)]&&!_0x1dea99[_0x1b5dc0(0x1ce)]&&_0x1dea99[_0x1b5dc0(0x1a8)]&&_0x264966[_0x1b5dc0(0x1af)][_0x1b5dc0(0x1c4)](_0x34cb20[_0x1b5dc0(0x1b4)]))&&_0x52e0b4[_0x1b5dc0(0x1ba)](_0x1dea99);}return _0x52e0b4;}export function getRangesOfBlockGroups(_0x3493e1,_0x3d6aa){const _0xf9570=_0x56e4;let _0x4de8f1,_0x5aa73a=0x0;const _0x24e08b=[],_0x345a7e=_0x3d6aa[_0xf9570(0x1c9)];for(;_0x5aa73a<_0x3493e1[_0xf9570(0x1b0)];){const _0x1e958f=_0x3493e1[_0x5aa73a],_0x5eb58e=_0x3493e1[_0x5aa73a+0x1];_0x4de8f1||(_0x4de8f1=_0x3d6aa[_0xf9570(0x1ae)](_0x1e958f)),co(_0x3d6aa,_0x1e958f,_0x5eb58e)||(_0x24e08b[_0xf9570(0x1c6)](_0x3d6aa[_0xf9570(0x1c0)](_0x4de8f1,_0x345a7e[_0xf9570(0x1c8)](_0x1e958f)?_0x3d6aa[_0xf9570(0x1bb)](_0x1e958f):_0x3d6aa[_0xf9570(0x1a9)](_0x1e958f,_0xf9570(0x1af)))),_0x4de8f1=null),_0x5aa73a++;}return _0x24e08b;}function co(_0x4a6def,_0x3df0a2,_0x10e9fb){const _0x4ee586=_0x56e4;if(!_0x10e9fb)return!0x1;const _0x2eac83=_0x4a6def[_0x4ee586(0x1bb)](_0x3df0a2),_0x190113=_0x4a6def[_0x4ee586(0x1ae)](_0x10e9fb);return _0x2eac83[_0x4ee586(0x1c4)](_0x190113);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x1095(){const _0x485603=['isInContent','push','25962llDOck','isObject','schema','isArray','deletion','196988mRuYZf','change','isMultiRange','56816dnJTZJ','replace','sort','1033732lxjGfr','2010726lINglN','next','createPositionAt','splice','26652vwplAJ','710DScucl','\x20[color\x20','createPositionBefore','end','length','color','type','isIntersecting','start','6wmGeBj','value','22qlistB','isCollapsed','getRanges','add','createPositionAfter','from','content','execute','60379FEbqYr','createRange','30mTCMZM','join','map','isTouching'];_0x1095=function(){return _0x485603;};return _0x1095();}export function executeCommandForSuggestions(_0x24847b,_0x1462f7,_0x2afb8a){const _0x5eed81=_0x56e4;for(;_0x2afb8a[_0x5eed81(0x1b0)];){const _0x2c1935=_0x2afb8a[_0x5eed81(0x1aa)](0x0,0x64);_0x24847b[_0x5eed81(0x1cd)](()=>{const _0x11e269=_0x5eed81;for(const _0x4a6588 of _0x2c1935)_0x4a6588[_0x11e269(0x1c5)]&&_0x1462f7[_0x11e269(0x1be)](_0x4a6588['id']);});}}
|