@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240515.0 → 0.0.0-nightly-20240516.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1d4932=_0xe228;(function(_0x2d019f,_0x2c2d15){const _0x487139=_0xe228,_0x32619f=_0x2d019f();while(!![]){try{const _0x12aeee=parseInt(_0x487139(0x205))/0x1+parseInt(_0x487139(0x1e3))/0x2*(-parseInt(_0x487139(0x1f0))/0x3)+-parseInt(_0x487139(0x1ec))/0x4+parseInt(_0x487139(0x211))/0x5+parseInt(_0x487139(0x1d6))/0x6+parseInt(_0x487139(0x1fe))/0x7*(parseInt(_0x487139(0x1c8))/0x8)+parseInt(_0x487139(0x1f1))/0x9;if(_0x12aeee===_0x2c2d15)break;else _0x32619f['push'](_0x32619f['shift']());}catch(_0x40b94f){_0x32619f['push'](_0x32619f['shift']());}}}(_0x3395,0x88b21));function _0x3395(){const _0xe387f2=['_viewToController','isInContent','getSuggestion','addSourceCollector','isEnabled','212927QwxRgV','Accept\x20all\x20suggestions','switchbutton','suggestionUnloaded','arrowView','discardAllSuggestions','getMarkers','change:previous','acceptButton','getMarkerNames','_annotationViews','registerAnnotation','599355VEKiZR','descriptionParts','createCommentThreadController','execute','Track\x20changes','previous','Annotations','discardSelectedSuggestions','_handleControllerBuffer','define','getByInnerView','suggestionChanged','length','_initializeController','activeAnnotations','_unbindEditors','items','separator','innerView','delete','push','locale','buttonView','actionView','pluginName','type','value','comments','CommentsRepository','_disableComments','init','CommentsUI','menuitemcheckbox','_destroyController','_createMenuBarMenu','values','size','trackChanges.SuggestionThreadView','commandName','head','getJoined','descriptionFactory','mainView','bind','unbind','_addUIComponentsToFactory','TrackChangesUI','hasSuggestion','suggestion-','createAnnotation','comments.maxCommentsWhenCollapsed','comments.maxCommentCharsWhenCollapsed','change:activeAnnotations','destroy','add','EditorAnnotations','getFirstRange','Discard\x20all\x20suggestions','editing','getAllAdjacentSuggestions','TrackChangesEditing','set','CommentView','from','addComment','lowest','discardButton','reduce','has','isOn','some','4168qRCppn','stopListening','view','isMultiRange','suggestionLoaded','isDirty','keys','comments.maxThreadTotalWeight','getRanges','menuitem','trackChanges.disableComments','delegate','model','clear','5295156HWkMia','_refreshActiveMarkers','focus','acceptAllSuggestions','remove','menuBar:trackChanges','editor','getDescriptions','SuggestionThreadView','createAnnotationView','requires','get','_createToolbarButton','7778YncYWu','commands','Accept\x20all\x20selected\x20suggestions','_bindAnnotationToEditors','comments.editorConfig','acceptSelectedSuggestions','trackChanges','panelView','componentFactory','2951756FVRpeb','menu','children','config','723hMgNzA','7935336zcXsQP','plugins','activeMarkers','_suggestionToController','commentThread','button','source','refreshSelectedViews','_handleSuggestionControllerDelayed','filter','_updateController','listenTo','Discard\x20all\x20selected\x20suggestions','1855LgVxqt','toMany'];_0x3395=function(){return _0xe387f2;};return _0x3395();}import{Plugin as _0xd34952}from'ckeditor5/src/core.js';import{Collection as _0x2a1db6}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x129515,createDropdown as _0x18d8eb,ListSeparatorView as _0x59e8a5,MenuBarMenuView as _0x5de518,MenuBarMenuListView as _0x59be81,MenuBarMenuListItemView as _0x1886cd,MenuBarMenuListItemButtonView as _0x36c26d,SplitButtonView as _0x35ff87,ViewModel as _0x10804a}from'ckeditor5/src/ui.js';import{Users as _0x454c70,getDateTimeFormatter as _0x138482,getAllMarkersDomElementsSorted as _0x4fbd7d}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x40c0c7 from'./trackchangesediting.js';import _0x3e592d from'./ui/suggestioncontroller.js';import _0x4a799c from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x1e01b6}from'./utils/common-translations.js';import _0x3b89a3 from'../theme/icons/track-changes.svg';function _0xe228(_0x2e97ef,_0x359139){const _0x339580=_0x3395();return _0xe228=function(_0xe2283e,_0x243b1f){_0xe2283e=_0xe2283e-0x192;let _0x37ce3a=_0x339580[_0xe2283e];return _0x37ce3a;},_0xe228(_0x2e97ef,_0x359139);}export default class d extends _0xd34952{static get[_0x1d4932(0x1e0)](){const _0x6c4d6e=_0x1d4932;return[_0x40c0c7,_0x454c70,_0x6c4d6e(0x19d),_0x6c4d6e(0x217),_0x6c4d6e(0x1b8)];}static get[_0x1d4932(0x199)](){const _0xc25694=_0x1d4932;return _0xc25694(0x1af);}constructor(_0x187f58){const _0x38d0e7=_0x1d4932;super(_0x187f58),this[_0x38d0e7(0x1f4)]=new Map(),this[_0x38d0e7(0x200)]=new Map(),this[_0x38d0e7(0x20f)]=new Map(),this[_0x38d0e7(0x219)]=new Map();const _0x5ab500=this[_0x38d0e7(0x1dc)][_0x38d0e7(0x1ef)];_0x5ab500[_0x38d0e7(0x21a)](_0x38d0e7(0x1a6),_0x4a799c),_0x5ab500[_0x38d0e7(0x21a)](_0x38d0e7(0x1d2),!0x1),this[_0x38d0e7(0x19e)]=_0x5ab500[_0x38d0e7(0x1e1)](_0x38d0e7(0x1d2));}[_0x1d4932(0x1f9)](_0x57bf9f,_0x4b1509){const _0x604669=_0x1d4932;0x0===this[_0x604669(0x219)][_0x604669(0x1a5)]&&setTimeout(()=>{const _0x11c861=_0x604669;for(const [_0x15afca,_0x57002]of this[_0x11c861(0x219)]){const _0xb5556e=this[_0x11c861(0x1f4)][_0x11c861(0x1c5)](_0x15afca);_0xb5556e||_0x57002?_0xb5556e&&_0x57002&&this[_0x11c861(0x1a2)](_0x15afca):this[_0x11c861(0x21e)](_0x15afca);}this[_0x11c861(0x219)][_0x11c861(0x1d5)](),this[_0x11c861(0x1dc)][_0x11c861(0x1f2)][_0x11c861(0x1e1)](_0x11c861(0x1b8))[_0x11c861(0x1f8)](),this[_0x11c861(0x1d7)]();},0xa),this[_0x604669(0x219)][_0x604669(0x1be)](_0x57bf9f,_0x4b1509);}[_0x1d4932(0x19f)](){const _0x2e1e57=_0x1d4932,_0x427973=this[_0x2e1e57(0x1dc)],_0x24ba61=_0x427973[_0x2e1e57(0x1f2)][_0x2e1e57(0x1e1)](_0x2e1e57(0x1bd)),_0x45bdb3=_0x427973[_0x2e1e57(0x1f2)][_0x2e1e57(0x1e1)](_0x2e1e57(0x217)),_0x347b4e=_0x427973[_0x2e1e57(0x1f2)][_0x2e1e57(0x1e1)](_0x2e1e57(0x1b8)),_0x36dc1d=_0x427973[_0x2e1e57(0x1f2)][_0x2e1e57(0x1e1)](_0x2e1e57(0x19d));this[_0x2e1e57(0x1ae)](),_0x347b4e[_0x2e1e57(0x203)](()=>{const _0x23c524=_0x2e1e57,_0x2aacfc=[];for(const [_0x1757e8,_0x148bae]of Array[_0x23c524(0x1c0)](this[_0x23c524(0x1f4)])){const _0xfee7a4=_0x1757e8[_0x23c524(0x1bc)](),_0x2125de=[];for(const _0x16d55f of _0xfee7a4){if(!_0x16d55f[_0x23c524(0x201)])continue;if(_0x16d55f[_0x23c524(0x1cb)]){_0x2125de[_0x23c524(0x195)](..._0x16d55f[_0x23c524(0x1d0)]());continue;}const _0x3076af=_0x16d55f[_0x23c524(0x1b9)]();if(_0x2125de[_0x23c524(0x21d)]>0x0){const _0x1cd634=_0x2125de[0x0][_0x23c524(0x1a9)](_0x3076af);if(_0x1cd634){_0x2125de[0x0]=_0x1cd634;continue;}}_0x2125de[_0x23c524(0x195)](_0x3076af);}_0x2aacfc[_0x23c524(0x195)]([_0x148bae[_0x23c524(0x1ca)],_0x2125de]);}return _0x2aacfc;}),this[_0x2e1e57(0x1fc)](_0x24ba61,_0x2e1e57(0x1cc),(_0x56c3cb,_0x5c5df5)=>{const _0x15cf03=_0x2e1e57;this[_0x15cf03(0x1fc)](_0x5c5df5,_0x15cf03(0x20c),(_0x5c3e30,_0x14e778,_0x1cba09,_0x8c0bc0)=>{const _0xc0d78c=_0x15cf03;_0x5c5df5[_0xc0d78c(0x201)]&&(null==_0x1cba09?(this[_0xc0d78c(0x1fb)](_0x8c0bc0[_0xc0d78c(0x1a8)]),this[_0xc0d78c(0x1f9)](_0x5c5df5,!0x1)):(this[_0xc0d78c(0x1fb)](_0x1cba09[_0xc0d78c(0x1a8)]),null==_0x8c0bc0&&this[_0xc0d78c(0x1f9)](_0x5c5df5,!0x0)));}),null!==_0x5c5df5[_0x15cf03(0x216)]?this[_0x15cf03(0x1fb)](_0x5c5df5[_0x15cf03(0x1a8)]):this[_0x15cf03(0x1f9)](_0x5c5df5,!0x1);}),this[_0x2e1e57(0x1fc)](_0x24ba61,_0x2e1e57(0x208),(_0x14b221,_0x250314,_0x4762be)=>{const _0x4f60bd=_0x2e1e57;this[_0x4f60bd(0x1c9)](_0x250314,_0x4f60bd(0x20c)),this[_0x4f60bd(0x219)][_0x4f60bd(0x194)](_0x250314),this[_0x4f60bd(0x1f4)][_0x4f60bd(0x1c5)](_0x250314)&&this[_0x4f60bd(0x1a2)](_0x250314),_0x4762be&&this[_0x4f60bd(0x1fb)](_0x4762be[_0x4f60bd(0x1a8)]);}),this[_0x2e1e57(0x1fc)](_0x24ba61,_0x2e1e57(0x21c),(_0x45fd7e,_0x38575b)=>{const _0x5e9948=_0x2e1e57;this[_0x5e9948(0x1fb)](_0x38575b);}),this[_0x2e1e57(0x1fc)](_0x45bdb3,_0x2e1e57(0x1b5),()=>{const _0x385ada=_0x2e1e57;this[_0x385ada(0x1d7)]();}),this[_0x2e1e57(0x1fc)](_0x36dc1d,_0x2e1e57(0x1c1),(_0x7963c8,{threadId:_0x465d82,isFromAdapter:_0x88fce3})=>{const _0x44faf=_0x2e1e57;if(_0x88fce3||!_0x24ba61[_0x44faf(0x1b0)](_0x465d82))return;const _0x174b23=_0x24ba61[_0x44faf(0x202)](_0x465d82);this[_0x44faf(0x1f4)][_0x44faf(0x1e1)](_0x174b23)[_0x44faf(0x1ca)][_0x44faf(0x1d8)]();},{'priority':_0x2e1e57(0x1c2)});}[_0x1d4932(0x1d7)](){const _0x449e91=_0x1d4932,_0x97821b=this[_0x449e91(0x1dc)][_0x449e91(0x1f2)][_0x449e91(0x1e1)](_0x449e91(0x217)),_0x16eee4=this[_0x449e91(0x1dc)][_0x449e91(0x1f2)][_0x449e91(0x1e1)](_0x449e91(0x1bd)),_0x351172=Array[_0x449e91(0x1c0)](_0x97821b[_0x449e91(0x21f)],_0x394acc=>_0x394acc[_0x449e91(0x193)])[_0x449e91(0x1fa)](_0x46d5f4=>this[_0x449e91(0x200)][_0x449e91(0x1c5)](_0x46d5f4)),_0x324fe9=[];for(const _0x28758d of _0x351172){const _0x43e11d=this[_0x449e91(0x200)][_0x449e91(0x1e1)](_0x28758d)[_0x449e91(0x1d4)][_0x449e91(0x1bc)]();_0x324fe9[_0x449e91(0x195)](..._0x43e11d[_0x449e91(0x1c4)]((_0x31832e,_0x22e930)=>[..._0x31832e,..._0x22e930[_0x449e91(0x20e)]()],[]));}_0x16eee4[_0x449e91(0x1f3)]=_0x324fe9;}[_0x1d4932(0x1ae)](){const _0x149003=_0x1d4932,_0x47106a=this[_0x149003(0x1dc)],_0x1aa25f=_0x47106a[_0x149003(0x196)],_0x1cd32b=_0x1e01b6(_0x1aa25f,_0x149003(0x215)),_0x46cb8c=new _0x2a1db6([{'type':_0x149003(0x207),'model':new _0x10804a({'withText':!0x0,'label':_0x1cd32b,'commandName':_0x149003(0x1e9),'role':_0x149003(0x1a1)})},{'type':_0x149003(0x192)},{'type':_0x149003(0x1f6),'model':new _0x10804a({'withText':!0x0,'label':_0x1e01b6(_0x1aa25f,_0x149003(0x206)),'commandName':_0x149003(0x1d9),'role':_0x149003(0x1d1)})},{'type':_0x149003(0x1f6),'model':new _0x10804a({'withText':!0x0,'label':_0x1e01b6(_0x1aa25f,_0x149003(0x1e5)),'commandName':_0x149003(0x1e8),'role':_0x149003(0x1d1)})},{'type':_0x149003(0x1f6),'model':new _0x10804a({'withText':!0x0,'label':_0x1e01b6(_0x1aa25f,_0x149003(0x1ba)),'commandName':_0x149003(0x20a),'role':_0x149003(0x1d1)})},{'type':_0x149003(0x1f6),'model':new _0x10804a({'withText':!0x0,'label':_0x1e01b6(_0x1aa25f,_0x149003(0x1fd)),'commandName':_0x149003(0x218),'role':_0x149003(0x1d1)})}]);for(const _0x514b34 of _0x46cb8c)if(ae(_0x514b34)){const _0x2ce210=_0x47106a[_0x149003(0x1e4)][_0x149003(0x1e1)](_0x514b34[_0x149003(0x1d4)][_0x149003(0x1a7)]);_0x514b34[_0x149003(0x1d4)][_0x149003(0x1ac)](_0x149003(0x1c6),_0x149003(0x204))['to'](_0x2ce210,_0x149003(0x19b),_0x149003(0x204));}_0x47106a['ui'][_0x149003(0x1eb)][_0x149003(0x1b7)](_0x149003(0x1e9),_0x9f2b31=>this[_0x149003(0x1e2)](_0x9f2b31,_0x46cb8c,_0x1cd32b)),_0x47106a['ui'][_0x149003(0x1eb)][_0x149003(0x1b7)](_0x149003(0x1db),_0x21f2b0=>this[_0x149003(0x1a3)](_0x21f2b0,_0x46cb8c,_0x1cd32b));}[_0x1d4932(0x1e2)](_0x44d5af,_0x16de3f,_0x186bef){const _0x47a6a7=_0x1d4932,_0x59cf2b=_0x18d8eb(_0x44d5af,_0x35ff87),_0x5a69e2=this[_0x47a6a7(0x1dc)][_0x47a6a7(0x1e4)][_0x47a6a7(0x1e1)](_0x47a6a7(0x1e9));_0x59cf2b[_0x47a6a7(0x197)][_0x47a6a7(0x1be)]({'tooltip':_0x186bef,'label':_0x186bef,'icon':_0x3b89a3}),_0x59cf2b[_0x47a6a7(0x197)][_0x47a6a7(0x1ac)](_0x47a6a7(0x1c6))['to'](_0x5a69e2,_0x47a6a7(0x19b)),_0x59cf2b[_0x47a6a7(0x197)]['on'](_0x47a6a7(0x214),()=>{const _0xc58c96=_0x47a6a7;_0x5a69e2[_0xc58c96(0x214)](),this[_0xc58c96(0x1dc)][_0xc58c96(0x1bb)][_0xc58c96(0x1ca)][_0xc58c96(0x1d8)]();}),_0x129515(_0x59cf2b,_0x16de3f,{'role':_0x47a6a7(0x1ed)});const _0x53da0e=[];for(const _0x370799 of _0x16de3f)ae(_0x370799)&&_0x53da0e[_0x47a6a7(0x195)](this[_0x47a6a7(0x1dc)][_0x47a6a7(0x1e4)][_0x47a6a7(0x1e1)](_0x370799[_0x47a6a7(0x1d4)][_0x47a6a7(0x1a7)]));const _0x50b3d8=_0x59cf2b[_0x47a6a7(0x197)];return _0x50b3d8[_0x47a6a7(0x198)][_0x47a6a7(0x1ad)](_0x47a6a7(0x204)),_0x50b3d8[_0x47a6a7(0x209)][_0x47a6a7(0x1ad)](_0x47a6a7(0x204)),_0x50b3d8[_0x47a6a7(0x198)][_0x47a6a7(0x1ac)](_0x47a6a7(0x204))['to'](_0x5a69e2,_0x47a6a7(0x204)),_0x50b3d8[_0x47a6a7(0x209)][_0x47a6a7(0x1ac)](_0x47a6a7(0x204))[_0x47a6a7(0x1ff)](_0x53da0e,_0x47a6a7(0x204),(..._0x5edcfc)=>_0x5edcfc[_0x47a6a7(0x1c7)](_0xb24aff=>_0xb24aff)),_0x59cf2b['on'](_0x47a6a7(0x214),_0x323be9=>{const _0x1d5e4b=_0x47a6a7;this[_0x1d5e4b(0x1dc)][_0x1d5e4b(0x214)](_0x323be9[_0x1d5e4b(0x1f7)][_0x1d5e4b(0x1a7)]),this[_0x1d5e4b(0x1dc)][_0x1d5e4b(0x1bb)][_0x1d5e4b(0x1ca)][_0x1d5e4b(0x1d8)]();}),_0x59cf2b;}[_0x1d4932(0x1a3)](_0x209a40,_0x4d73ac,_0x52b8c7){const _0x5898b4=_0x1d4932,_0x5a9d56=new _0x5de518(_0x209a40),_0x16d3ad=this[_0x5898b4(0x1dc)][_0x5898b4(0x1e4)][_0x5898b4(0x1e1)](_0x5898b4(0x1e9));_0x5a9d56[_0x5898b4(0x197)][_0x5898b4(0x1be)]({'label':_0x52b8c7,'icon':_0x3b89a3});const _0x249d5d=new _0x59be81(_0x209a40);for(const _0x1cbfad of _0x4d73ac){if(_0x5898b4(0x192)==_0x1cbfad[_0x5898b4(0x19a)]){_0x249d5d[_0x5898b4(0x221)][_0x5898b4(0x1b7)](new _0x59e8a5(_0x209a40));continue;}const _0x4a75c5=new _0x1886cd(_0x209a40,_0x5a9d56),_0x2ff932=new _0x36c26d(_0x209a40),_0x45da1d=_0x1cbfad[_0x5898b4(0x1d4)];_0x2ff932[_0x5898b4(0x1ac)](...Object[_0x5898b4(0x1ce)](_0x45da1d))['to'](_0x45da1d),_0x2ff932[_0x5898b4(0x1d3)](_0x5898b4(0x214))['to'](_0x5a9d56),_0x2ff932['on'](_0x5898b4(0x214),()=>{const _0x1cab12=_0x5898b4;this[_0x1cab12(0x1dc)][_0x1cab12(0x214)](_0x45da1d[_0x1cab12(0x1a7)]),this[_0x1cab12(0x1dc)][_0x1cab12(0x1bb)][_0x1cab12(0x1ca)][_0x1cab12(0x1d8)]();}),_0x4a75c5[_0x5898b4(0x1ee)][_0x5898b4(0x1b7)](_0x2ff932),_0x249d5d[_0x5898b4(0x221)][_0x5898b4(0x1b7)](_0x4a75c5);}return _0x5a9d56[_0x5898b4(0x1ac)](_0x5898b4(0x204))['to'](_0x16d3ad,_0x5898b4(0x204)),_0x5a9d56[_0x5898b4(0x1ea)][_0x5898b4(0x1ee)][_0x5898b4(0x1b7)](_0x249d5d),_0x5a9d56;}[_0x1d4932(0x21e)](_0x5463bd){const _0x53aa37=_0x1d4932,_0x3d8633=this[_0x53aa37(0x1dc)],_0x1cdf7d=_0x3d8633[_0x53aa37(0x1ef)],_0x1647c6=_0x3d8633[_0x53aa37(0x1f2)][_0x53aa37(0x1e1)](_0x53aa37(0x217)),_0x33b899=_0x3d8633[_0x53aa37(0x1f2)][_0x53aa37(0x1e1)](_0x53aa37(0x19d)),_0x57aad0=_0x3d8633[_0x53aa37(0x1f2)][_0x53aa37(0x1e1)](_0x53aa37(0x1b8)),_0x43ec73=_0x3d8633[_0x53aa37(0x1f2)][_0x53aa37(0x1e1)](_0x454c70)['me'],_0x1a23e8=_0x1cdf7d[_0x53aa37(0x1e1)](_0x53aa37(0x1e9))[_0x53aa37(0x1de)],{CommentsListView:_0x4581c4,CommentThreadInputView:_0x1d4f0d}=_0x3d8633[_0x53aa37(0x1f2)][_0x53aa37(0x1e1)](_0x53aa37(0x1a0));let _0x49b649,_0x407eec;this[_0x53aa37(0x20f)][_0x53aa37(0x1c5)](_0x5463bd['id'])?(_0x407eec=this[_0x53aa37(0x20f)][_0x53aa37(0x1e1)](_0x5463bd['id']),_0x49b649=_0x407eec[_0x53aa37(0x1ab)]):(_0x49b649=new _0x1a23e8(_0x3d8633[_0x53aa37(0x196)],_0x5463bd,_0x43ec73,{'disableComments':this[_0x53aa37(0x19e)],'editorConfig':_0x1cdf7d[_0x53aa37(0x1e1)](_0x53aa37(0x1e7)),'maxCommentsWhenCollapsed':_0x1cdf7d[_0x53aa37(0x1e1)](_0x53aa37(0x1b3)),'maxThreadTotalWeight':_0x1cdf7d[_0x53aa37(0x1e1)](_0x53aa37(0x1cf)),'maxCommentCharsWhenCollapsed':_0x1cdf7d[_0x53aa37(0x1e1)](_0x53aa37(0x1b4)),'formatDateTime':_0x138482(_0x1cdf7d[_0x53aa37(0x1e1)](_0x53aa37(0x196))),'CommentView':_0x1cdf7d[_0x53aa37(0x1e1)](_0x53aa37(0x19c))[_0x53aa37(0x1bf)],'CommentsListView':_0x4581c4,'CommentThreadInputView':_0x1d4f0d}),_0x49b649[_0x53aa37(0x20d)]['on'](_0x53aa37(0x214),()=>{const _0x2b4b72=_0x53aa37;_0x3d8633[_0x2b4b72(0x1bb)][_0x2b4b72(0x1ca)][_0x2b4b72(0x1d8)]();}),_0x49b649[_0x53aa37(0x1c3)]['on'](_0x53aa37(0x214),()=>{const _0x1ff205=_0x53aa37;_0x3d8633[_0x1ff205(0x1bb)][_0x1ff205(0x1ca)][_0x1ff205(0x1d8)]();}),_0x407eec=_0x1647c6[_0x53aa37(0x1df)](this[_0x53aa37(0x1dc)][_0x53aa37(0x196)],_0x49b649),_0x407eec[_0x53aa37(0x1ac)](_0x53aa37(0x1cd))['to'](_0x49b649,_0x53aa37(0x1cd)),_0x407eec[_0x53aa37(0x1ac)](_0x53aa37(0x21d))['to'](_0x49b649),_0x407eec[_0x53aa37(0x1ac)](_0x53aa37(0x19a))['to'](_0x49b649,_0x53aa37(0x19a),_0x13a2c=>_0x53aa37(0x1b1)+_0x13a2c),this[_0x53aa37(0x20f)][_0x53aa37(0x1be)](_0x5463bd['id'],_0x407eec));const _0x28e72f=_0x33b899[_0x53aa37(0x213)](_0x5463bd[_0x53aa37(0x1f5)],_0x49b649),_0x46e578=new _0x3e592d(_0x3d8633,_0x5463bd,_0x49b649,_0x28e72f),_0x5d2190=_0x5463bd[_0x53aa37(0x1bc)]()[_0x53aa37(0x1fa)](_0x492e30=>_0x492e30[_0x53aa37(0x201)]);_0x49b649[_0x53aa37(0x212)]=_0x3d8633[_0x53aa37(0x1f2)][_0x53aa37(0x1e1)](_0x53aa37(0x1bd))[_0x53aa37(0x1aa)][_0x53aa37(0x1dd)](_0x5d2190),this[_0x53aa37(0x1f4)][_0x53aa37(0x1be)](_0x5463bd,_0x46e578),this[_0x53aa37(0x200)][_0x53aa37(0x1be)](_0x49b649,_0x46e578);const _0x39f2cd=_0x1647c6[_0x53aa37(0x1b2)]({'view':_0x407eec,'target':()=>{const _0x3e331c=_0x53aa37,_0x10b838=[],_0x56e296=_0x5463bd[_0x3e331c(0x1bc)]()[_0x3e331c(0x1fa)](_0x2dccca=>_0x2dccca[_0x3e331c(0x201)]);for(const _0x2150af of _0x56e296)_0x10b838[_0x3e331c(0x195)](..._0x2150af[_0x3e331c(0x20b)]());return _0x4fbd7d(_0x3d8633[_0x3e331c(0x1bb)],_0x10b838);},'type':()=>_0x53aa37(0x1b1)+_0x46e578[_0x53aa37(0x1ca)][_0x53aa37(0x19a)]});_0x33b899[_0x53aa37(0x1e6)](_0x49b649,_0x39f2cd),_0x1647c6[_0x53aa37(0x1b7)](_0x39f2cd),_0x57aad0[_0x53aa37(0x210)](_0x39f2cd);}[_0x1d4932(0x1a2)](_0x22cd30){const _0x24ac59=_0x1d4932,_0x2aab47=this[_0x24ac59(0x1dc)][_0x24ac59(0x1f2)][_0x24ac59(0x1e1)](_0x24ac59(0x19d)),_0x1912b7=this[_0x24ac59(0x1dc)][_0x24ac59(0x1f2)][_0x24ac59(0x1e1)](_0x24ac59(0x217)),_0x35d737=this[_0x24ac59(0x1f4)][_0x24ac59(0x1e1)](_0x22cd30),_0x4093bb=_0x35d737[_0x24ac59(0x1ca)],_0x5bdefa=_0x1912b7[_0x24ac59(0x21b)](_0x4093bb);_0x2aab47[_0x24ac59(0x220)](_0x4093bb),_0x5bdefa&&_0x1912b7[_0x24ac59(0x1da)](_0x5bdefa),this[_0x24ac59(0x1f4)][_0x24ac59(0x194)](_0x22cd30),this[_0x24ac59(0x200)][_0x24ac59(0x194)](_0x4093bb),_0x35d737[_0x24ac59(0x1b6)]();}[_0x1d4932(0x1fb)](_0x4f913c){const _0x177760=_0x1d4932;if(!_0x4f913c[_0x177760(0x201)]||!this[_0x177760(0x1f4)][_0x177760(0x1c5)](_0x4f913c))return;const _0x179525=this[_0x177760(0x1dc)][_0x177760(0x1f2)][_0x177760(0x1e1)](_0x177760(0x1bd)),_0x4c7aaa=this[_0x177760(0x1f4)][_0x177760(0x1e1)](_0x4f913c),_0x2b6781=_0x4f913c[_0x177760(0x1bc)]();_0x4c7aaa[_0x177760(0x1ca)][_0x177760(0x212)]=_0x179525[_0x177760(0x1aa)][_0x177760(0x1dd)](_0x2b6781);}[_0x1d4932(0x1b6)](){const _0x4aef4a=_0x1d4932;for(const _0x2216d4 of this[_0x4aef4a(0x1f4)][_0x4aef4a(0x1ce)]())this[_0x4aef4a(0x1a2)](_0x2216d4);for(const _0x29e673 of this[_0x4aef4a(0x20f)][_0x4aef4a(0x1a4)]())_0x29e673[_0x4aef4a(0x1ab)][_0x4aef4a(0x1b6)]();super[_0x4aef4a(0x1b6)]();}}function ae(_0x59cd6f){const _0x5ceb02=_0x1d4932;return _0x5ceb02(0x1d4)in _0x59cd6f;}
|
|
23
|
+
const _0x11b812=_0x513e;(function(_0x368f4b,_0x4311d7){const _0x25f74e=_0x513e,_0xfe8ed1=_0x368f4b();while(!![]){try{const _0x45cdb6=-parseInt(_0x25f74e(0x6d))/0x1+-parseInt(_0x25f74e(0xc1))/0x2+parseInt(_0x25f74e(0x72))/0x3+parseInt(_0x25f74e(0xc9))/0x4*(parseInt(_0x25f74e(0x88))/0x5)+parseInt(_0x25f74e(0x91))/0x6+-parseInt(_0x25f74e(0xbb))/0x7+parseInt(_0x25f74e(0xcf))/0x8*(parseInt(_0x25f74e(0x9c))/0x9);if(_0x45cdb6===_0x4311d7)break;else _0xfe8ed1['push'](_0xfe8ed1['shift']());}catch(_0x12a6a8){_0xfe8ed1['push'](_0xfe8ed1['shift']());}}}(_0x1453,0xd7900));import{Plugin as _0x95f970}from'ckeditor5/src/core.js';import{Collection as _0x4e9c7a}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x2b9148,createDropdown as _0x5d7236,ListSeparatorView as _0x34a041,MenuBarMenuView as _0x5b7ed7,MenuBarMenuListView as _0xaa1d94,MenuBarMenuListItemView as _0x166bc9,MenuBarMenuListItemButtonView as _0x1714de,SplitButtonView as _0x3a1075,ViewModel as _0x55f3f9}from'ckeditor5/src/ui.js';function _0x1453(){const _0x1936fa=['351752bKFWLY','refreshSelectedViews','filter','button','children','stopListening','16149176YSpjiP','size','buttonView','createAnnotation','createCommentThreadController','createAnnotationView','descriptionParts','delegate','acceptAllSuggestions','acceptButton','suggestion-','execute','items','toMany','_refreshActiveMarkers','trackChanges.disableComments','discardSelectedSuggestions','destroy','suggestionUnloaded','_addUIComponentsToFactory','_destroyController','hasSuggestion','some','change:activeAnnotations','activeAnnotations','plugins','_annotationViews','componentFactory','_disableComments','menu','delete','init','model','comments.maxThreadTotalWeight','CommentsRepository','getDescriptions','suggestionLoaded','length','isEnabled','Accept\x20all\x20suggestions','trackChanges','_handleControllerBuffer','discardAllSuggestions','head','view','Accept\x20all\x20selected\x20suggestions','1222588TgOTWb','menuitem','SuggestionThreadView','mainView','registerAnnotation','2259636NSXIbk','acceptSelectedSuggestions','pluginName','requires','listenTo','add','comments.maxCommentsWhenCollapsed','_initializeController','_suggestionToController','suggestionChanged','CommentsUI','Discard\x20all\x20selected\x20suggestions','define','clear','from','lowest','getAllAdjacentSuggestions','addSourceCollector','descriptionFactory','value','comments.maxCommentCharsWhenCollapsed','change:previous','55fmaaKs','_unbindEditors','editing','activeMarkers','isMultiRange','values','config','commentThread','_createMenuBarMenu','3252960sKMbeJ','_bindAnnotationToEditors','getMarkers','reduce','Discard\x20all\x20suggestions','menuitemcheckbox','bind','arrowView','locale','commands','panelView','9sFbESC','_viewToController','getSuggestion','Annotations','addComment','CommentView','menuBar:trackChanges','separator','getByInnerView','getMarkerNames','TrackChangesEditing','keys','trackChanges.SuggestionThreadView','TrackChangesUI','actionView','isOn','source','_updateController','get','unbind','getRanges','getFirstRange','editor','switchbutton','_createToolbarButton','_handleSuggestionControllerDelayed','getJoined','innerView','focus','discardButton','isDirty','11175577ateEQP','has','push','set','type','EditorAnnotations','1158588sFDZyN','Track\x20changes','commandName','isInContent','previous','remove','comments.editorConfig','comments'];_0x1453=function(){return _0x1936fa;};return _0x1453();}import{Users as _0x296349,getDateTimeFormatter as _0x4a60c3,getAllMarkersDomElementsSorted as _0x4cce4b}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x54f344 from'./trackchangesediting.js';import _0x18c900 from'./ui/suggestioncontroller.js';import _0x32c0f3 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x4e132f}from'./utils/common-translations.js';function _0x513e(_0x12cea2,_0x1f6706){const _0x145307=_0x1453();return _0x513e=function(_0x513ee6,_0x4cca10){_0x513ee6=_0x513ee6-0x67;let _0x572baf=_0x145307[_0x513ee6];return _0x572baf;},_0x513e(_0x12cea2,_0x1f6706);}import _0x18e5c2 from'../theme/icons/track-changes.svg';export default class d extends _0x95f970{static get[_0x11b812(0x75)](){const _0x13d726=_0x11b812;return[_0x54f344,_0x296349,_0x13d726(0xf1),_0x13d726(0x9f),_0x13d726(0xc0)];}static get[_0x11b812(0x74)](){const _0x1d1692=_0x11b812;return _0x1d1692(0xa9);}constructor(_0x53591e){const _0x4cc3ef=_0x11b812;super(_0x53591e),this[_0x4cc3ef(0x7a)]=new Map(),this[_0x4cc3ef(0x9d)]=new Map(),this[_0x4cc3ef(0xe9)]=new Map(),this[_0x4cc3ef(0x68)]=new Map();const _0x884a2e=this[_0x4cc3ef(0xb2)][_0x4cc3ef(0x8e)];_0x884a2e[_0x4cc3ef(0x7e)](_0x4cc3ef(0xa8),_0x32c0f3),_0x884a2e[_0x4cc3ef(0x7e)](_0x4cc3ef(0xde),!0x1),this[_0x4cc3ef(0xeb)]=_0x884a2e[_0x4cc3ef(0xae)](_0x4cc3ef(0xde));}[_0x11b812(0xb5)](_0x4d10a7,_0x3bbaf2){const _0x32f20a=_0x11b812;0x0===this[_0x32f20a(0x68)][_0x32f20a(0xd0)]&&setTimeout(()=>{const _0x5251d7=_0x32f20a;for(const [_0x5baf45,_0x343a9d]of this[_0x5251d7(0x68)]){const _0x5185d5=this[_0x5251d7(0x7a)][_0x5251d7(0xbc)](_0x5baf45);_0x5185d5||_0x343a9d?_0x5185d5&&_0x343a9d&&this[_0x5251d7(0xe3)](_0x5baf45):this[_0x5251d7(0x79)](_0x5baf45);}this[_0x5251d7(0x68)][_0x5251d7(0x7f)](),this[_0x5251d7(0xb2)][_0x5251d7(0xe8)][_0x5251d7(0xae)](_0x5251d7(0xc0))[_0x5251d7(0xca)](),this[_0x5251d7(0xdd)]();},0xa),this[_0x32f20a(0x68)][_0x32f20a(0xbe)](_0x4d10a7,_0x3bbaf2);}[_0x11b812(0xee)](){const _0x1a6323=_0x11b812,_0x2f428c=this[_0x1a6323(0xb2)],_0x8f7221=_0x2f428c[_0x1a6323(0xe8)][_0x1a6323(0xae)](_0x1a6323(0xa6)),_0x13424d=_0x2f428c[_0x1a6323(0xe8)][_0x1a6323(0xae)](_0x1a6323(0x9f)),_0x168285=_0x2f428c[_0x1a6323(0xe8)][_0x1a6323(0xae)](_0x1a6323(0xc0)),_0x414f57=_0x2f428c[_0x1a6323(0xe8)][_0x1a6323(0xae)](_0x1a6323(0xf1));this[_0x1a6323(0xe2)](),_0x168285[_0x1a6323(0x83)](()=>{const _0x3aba0e=_0x1a6323,_0x1051da=[];for(const [_0xaf9111,_0x47717d]of Array[_0x3aba0e(0x80)](this[_0x3aba0e(0x7a)])){const _0x59e733=_0xaf9111[_0x3aba0e(0x82)](),_0x59cebf=[];for(const _0x216593 of _0x59e733){if(!_0x216593[_0x3aba0e(0xc4)])continue;if(_0x216593[_0x3aba0e(0x8c)]){_0x59cebf[_0x3aba0e(0xbd)](..._0x216593[_0x3aba0e(0xb0)]());continue;}const _0x519616=_0x216593[_0x3aba0e(0xb1)]();if(_0x59cebf[_0x3aba0e(0xf4)]>0x0){const _0x29a1b9=_0x59cebf[0x0][_0x3aba0e(0xb6)](_0x519616);if(_0x29a1b9){_0x59cebf[0x0]=_0x29a1b9;continue;}}_0x59cebf[_0x3aba0e(0xbd)](_0x519616);}_0x1051da[_0x3aba0e(0xbd)]([_0x47717d[_0x3aba0e(0x6b)],_0x59cebf]);}return _0x1051da;}),this[_0x1a6323(0x76)](_0x8f7221,_0x1a6323(0xf3),(_0x4ede0a,_0x5aca07)=>{const _0x1ce859=_0x1a6323;this[_0x1ce859(0x76)](_0x5aca07,_0x1ce859(0x87),(_0xbd9fa0,_0xeb2d6a,_0x3c0677,_0xe26ab2)=>{const _0x6abbb=_0x1ce859;_0x5aca07[_0x6abbb(0xc4)]&&(null==_0x3c0677?(this[_0x6abbb(0xad)](_0xe26ab2[_0x6abbb(0x6a)]),this[_0x6abbb(0xb5)](_0x5aca07,!0x1)):(this[_0x6abbb(0xad)](_0x3c0677[_0x6abbb(0x6a)]),null==_0xe26ab2&&this[_0x6abbb(0xb5)](_0x5aca07,!0x0)));}),null!==_0x5aca07[_0x1ce859(0xc5)]?this[_0x1ce859(0xad)](_0x5aca07[_0x1ce859(0x6a)]):this[_0x1ce859(0xb5)](_0x5aca07,!0x1);}),this[_0x1a6323(0x76)](_0x8f7221,_0x1a6323(0xe1),(_0x2b0983,_0x95f6a3,_0x4e9f3c)=>{const _0x31e0c4=_0x1a6323;this[_0x31e0c4(0xce)](_0x95f6a3,_0x31e0c4(0x87)),this[_0x31e0c4(0x68)][_0x31e0c4(0xed)](_0x95f6a3),this[_0x31e0c4(0x7a)][_0x31e0c4(0xbc)](_0x95f6a3)&&this[_0x31e0c4(0xe3)](_0x95f6a3),_0x4e9f3c&&this[_0x31e0c4(0xad)](_0x4e9f3c[_0x31e0c4(0x6a)]);}),this[_0x1a6323(0x76)](_0x8f7221,_0x1a6323(0x7b),(_0x59bb7a,_0x57dc64)=>{const _0x2e81bb=_0x1a6323;this[_0x2e81bb(0xad)](_0x57dc64);}),this[_0x1a6323(0x76)](_0x13424d,_0x1a6323(0xe6),()=>{const _0x4d2342=_0x1a6323;this[_0x4d2342(0xdd)]();}),this[_0x1a6323(0x76)](_0x414f57,_0x1a6323(0xa0),(_0x1320be,{threadId:_0xa9be12,isFromAdapter:_0x5d6c7d})=>{const _0x6b3a3b=_0x1a6323;if(_0x5d6c7d||!_0x8f7221[_0x6b3a3b(0xe4)](_0xa9be12))return;const _0x53fab6=_0x8f7221[_0x6b3a3b(0x9e)](_0xa9be12);this[_0x6b3a3b(0x7a)][_0x6b3a3b(0xae)](_0x53fab6)[_0x6b3a3b(0x6b)][_0x6b3a3b(0xb8)]();},{'priority':_0x1a6323(0x81)});}[_0x11b812(0xdd)](){const _0x573584=_0x11b812,_0x36f269=this[_0x573584(0xb2)][_0x573584(0xe8)][_0x573584(0xae)](_0x573584(0x9f)),_0x31bd54=this[_0x573584(0xb2)][_0x573584(0xe8)][_0x573584(0xae)](_0x573584(0xa6)),_0x2a5ba8=Array[_0x573584(0x80)](_0x36f269[_0x573584(0xe7)],_0x422da4=>_0x422da4[_0x573584(0xb7)])[_0x573584(0xcb)](_0x3d9ec5=>this[_0x573584(0x9d)][_0x573584(0xbc)](_0x3d9ec5)),_0x1a6513=[];for(const _0x10d911 of _0x2a5ba8){const _0x4b5a29=this[_0x573584(0x9d)][_0x573584(0xae)](_0x10d911)[_0x573584(0xef)][_0x573584(0x82)]();_0x1a6513[_0x573584(0xbd)](..._0x4b5a29[_0x573584(0x94)]((_0x1cc646,_0x5566a3)=>[..._0x1cc646,..._0x5566a3[_0x573584(0xa5)]()],[]));}_0x31bd54[_0x573584(0x8b)]=_0x1a6513;}[_0x11b812(0xe2)](){const _0x4a3c8b=_0x11b812,_0x23c48e=this[_0x4a3c8b(0xb2)],_0x7872b=_0x23c48e[_0x4a3c8b(0x99)],_0x346fb3=_0x4e132f(_0x7872b,_0x4a3c8b(0xc2)),_0x444789=new _0x4e9c7a([{'type':_0x4a3c8b(0xb3),'model':new _0x55f3f9({'withText':!0x0,'label':_0x346fb3,'commandName':_0x4a3c8b(0x67),'role':_0x4a3c8b(0x96)})},{'type':_0x4a3c8b(0xa3)},{'type':_0x4a3c8b(0xcc),'model':new _0x55f3f9({'withText':!0x0,'label':_0x4e132f(_0x7872b,_0x4a3c8b(0xf6)),'commandName':_0x4a3c8b(0xd7),'role':_0x4a3c8b(0x6e)})},{'type':_0x4a3c8b(0xcc),'model':new _0x55f3f9({'withText':!0x0,'label':_0x4e132f(_0x7872b,_0x4a3c8b(0x6c)),'commandName':_0x4a3c8b(0x73),'role':_0x4a3c8b(0x6e)})},{'type':_0x4a3c8b(0xcc),'model':new _0x55f3f9({'withText':!0x0,'label':_0x4e132f(_0x7872b,_0x4a3c8b(0x95)),'commandName':_0x4a3c8b(0x69),'role':_0x4a3c8b(0x6e)})},{'type':_0x4a3c8b(0xcc),'model':new _0x55f3f9({'withText':!0x0,'label':_0x4e132f(_0x7872b,_0x4a3c8b(0x7d)),'commandName':_0x4a3c8b(0xdf),'role':_0x4a3c8b(0x6e)})}]);for(const _0x5c6975 of _0x444789)if(ae(_0x5c6975)){const _0x2b8de5=_0x23c48e[_0x4a3c8b(0x9a)][_0x4a3c8b(0xae)](_0x5c6975[_0x4a3c8b(0xef)][_0x4a3c8b(0xc3)]);_0x5c6975[_0x4a3c8b(0xef)][_0x4a3c8b(0x97)](_0x4a3c8b(0xab),_0x4a3c8b(0xf5))['to'](_0x2b8de5,_0x4a3c8b(0x85),_0x4a3c8b(0xf5));}_0x23c48e['ui'][_0x4a3c8b(0xea)][_0x4a3c8b(0x77)](_0x4a3c8b(0x67),_0x308cf1=>this[_0x4a3c8b(0xb4)](_0x308cf1,_0x444789,_0x346fb3)),_0x23c48e['ui'][_0x4a3c8b(0xea)][_0x4a3c8b(0x77)](_0x4a3c8b(0xa2),_0x55e957=>this[_0x4a3c8b(0x90)](_0x55e957,_0x444789,_0x346fb3));}[_0x11b812(0xb4)](_0x172ded,_0x298265,_0x219821){const _0x5232ba=_0x11b812,_0x42e409=_0x5d7236(_0x172ded,_0x3a1075),_0x585684=this[_0x5232ba(0xb2)][_0x5232ba(0x9a)][_0x5232ba(0xae)](_0x5232ba(0x67));_0x42e409[_0x5232ba(0xd1)][_0x5232ba(0xbe)]({'tooltip':_0x219821,'label':_0x219821,'icon':_0x18e5c2}),_0x42e409[_0x5232ba(0xd1)][_0x5232ba(0x97)](_0x5232ba(0xab))['to'](_0x585684,_0x5232ba(0x85)),_0x42e409[_0x5232ba(0xd1)]['on'](_0x5232ba(0xda),()=>{const _0x27f3f9=_0x5232ba;_0x585684[_0x27f3f9(0xda)](),this[_0x27f3f9(0xb2)][_0x27f3f9(0x8a)][_0x27f3f9(0x6b)][_0x27f3f9(0xb8)]();}),_0x2b9148(_0x42e409,_0x298265,{'role':_0x5232ba(0xec)});const _0x46327c=[];for(const _0x2e66ad of _0x298265)ae(_0x2e66ad)&&_0x46327c[_0x5232ba(0xbd)](this[_0x5232ba(0xb2)][_0x5232ba(0x9a)][_0x5232ba(0xae)](_0x2e66ad[_0x5232ba(0xef)][_0x5232ba(0xc3)]));const _0x2fa5f8=_0x42e409[_0x5232ba(0xd1)];return _0x2fa5f8[_0x5232ba(0xaa)][_0x5232ba(0xaf)](_0x5232ba(0xf5)),_0x2fa5f8[_0x5232ba(0x98)][_0x5232ba(0xaf)](_0x5232ba(0xf5)),_0x2fa5f8[_0x5232ba(0xaa)][_0x5232ba(0x97)](_0x5232ba(0xf5))['to'](_0x585684,_0x5232ba(0xf5)),_0x2fa5f8[_0x5232ba(0x98)][_0x5232ba(0x97)](_0x5232ba(0xf5))[_0x5232ba(0xdc)](_0x46327c,_0x5232ba(0xf5),(..._0x39148c)=>_0x39148c[_0x5232ba(0xe5)](_0x27562f=>_0x27562f)),_0x42e409['on'](_0x5232ba(0xda),_0x3d4742=>{const _0x97c87a=_0x5232ba;this[_0x97c87a(0xb2)][_0x97c87a(0xda)](_0x3d4742[_0x97c87a(0xac)][_0x97c87a(0xc3)]),this[_0x97c87a(0xb2)][_0x97c87a(0x8a)][_0x97c87a(0x6b)][_0x97c87a(0xb8)]();}),_0x42e409;}[_0x11b812(0x90)](_0x10dd7e,_0x527cc0,_0x482d10){const _0x542296=_0x11b812,_0x249169=new _0x5b7ed7(_0x10dd7e),_0x31feca=this[_0x542296(0xb2)][_0x542296(0x9a)][_0x542296(0xae)](_0x542296(0x67));_0x249169[_0x542296(0xd1)][_0x542296(0xbe)]({'label':_0x482d10,'icon':_0x18e5c2});const _0x1daa0e=new _0xaa1d94(_0x10dd7e);for(const _0x16cb3b of _0x527cc0){if(_0x542296(0xa3)==_0x16cb3b[_0x542296(0xbf)]){_0x1daa0e[_0x542296(0xdb)][_0x542296(0x77)](new _0x34a041(_0x10dd7e));continue;}const _0x128022=new _0x166bc9(_0x10dd7e,_0x249169),_0x31ed3f=new _0x1714de(_0x10dd7e),_0x149c23=_0x16cb3b[_0x542296(0xef)];_0x31ed3f[_0x542296(0x97)](...Object[_0x542296(0xa7)](_0x149c23))['to'](_0x149c23),_0x31ed3f[_0x542296(0xd6)](_0x542296(0xda))['to'](_0x249169),_0x31ed3f['on'](_0x542296(0xda),()=>{const _0x4a22b6=_0x542296;this[_0x4a22b6(0xb2)][_0x4a22b6(0xda)](_0x149c23[_0x4a22b6(0xc3)]),this[_0x4a22b6(0xb2)][_0x4a22b6(0x8a)][_0x4a22b6(0x6b)][_0x4a22b6(0xb8)]();}),_0x128022[_0x542296(0xcd)][_0x542296(0x77)](_0x31ed3f),_0x1daa0e[_0x542296(0xdb)][_0x542296(0x77)](_0x128022);}return _0x249169[_0x542296(0x97)](_0x542296(0xf5))['to'](_0x31feca,_0x542296(0xf5)),_0x249169[_0x542296(0x9b)][_0x542296(0xcd)][_0x542296(0x77)](_0x1daa0e),_0x249169;}[_0x11b812(0x79)](_0x32b062){const _0x5bb4a2=_0x11b812,_0x1fcce8=this[_0x5bb4a2(0xb2)],_0x51015a=_0x1fcce8[_0x5bb4a2(0x8e)],_0x4cfd91=_0x1fcce8[_0x5bb4a2(0xe8)][_0x5bb4a2(0xae)](_0x5bb4a2(0x9f)),_0x583a1e=_0x1fcce8[_0x5bb4a2(0xe8)][_0x5bb4a2(0xae)](_0x5bb4a2(0xf1)),_0x42fdb9=_0x1fcce8[_0x5bb4a2(0xe8)][_0x5bb4a2(0xae)](_0x5bb4a2(0xc0)),_0x2c0155=_0x1fcce8[_0x5bb4a2(0xe8)][_0x5bb4a2(0xae)](_0x296349)['me'],_0x4d4b3e=_0x51015a[_0x5bb4a2(0xae)](_0x5bb4a2(0x67))[_0x5bb4a2(0x6f)],{CommentsListView:_0x5eb5a5,CommentThreadInputView:_0x24d5d3}=_0x1fcce8[_0x5bb4a2(0xe8)][_0x5bb4a2(0xae)](_0x5bb4a2(0x7c));let _0x39470a,_0x3cfefb;this[_0x5bb4a2(0xe9)][_0x5bb4a2(0xbc)](_0x32b062['id'])?(_0x3cfefb=this[_0x5bb4a2(0xe9)][_0x5bb4a2(0xae)](_0x32b062['id']),_0x39470a=_0x3cfefb[_0x5bb4a2(0x70)]):(_0x39470a=new _0x4d4b3e(_0x1fcce8[_0x5bb4a2(0x99)],_0x32b062,_0x2c0155,{'disableComments':this[_0x5bb4a2(0xeb)],'editorConfig':_0x51015a[_0x5bb4a2(0xae)](_0x5bb4a2(0xc7)),'maxCommentsWhenCollapsed':_0x51015a[_0x5bb4a2(0xae)](_0x5bb4a2(0x78)),'maxThreadTotalWeight':_0x51015a[_0x5bb4a2(0xae)](_0x5bb4a2(0xf0)),'maxCommentCharsWhenCollapsed':_0x51015a[_0x5bb4a2(0xae)](_0x5bb4a2(0x86)),'formatDateTime':_0x4a60c3(_0x51015a[_0x5bb4a2(0xae)](_0x5bb4a2(0x99))),'CommentView':_0x51015a[_0x5bb4a2(0xae)](_0x5bb4a2(0xc8))[_0x5bb4a2(0xa1)],'CommentsListView':_0x5eb5a5,'CommentThreadInputView':_0x24d5d3}),_0x39470a[_0x5bb4a2(0xd8)]['on'](_0x5bb4a2(0xda),()=>{const _0x31b7d9=_0x5bb4a2;_0x1fcce8[_0x31b7d9(0x8a)][_0x31b7d9(0x6b)][_0x31b7d9(0xb8)]();}),_0x39470a[_0x5bb4a2(0xb9)]['on'](_0x5bb4a2(0xda),()=>{const _0x417a2c=_0x5bb4a2;_0x1fcce8[_0x417a2c(0x8a)][_0x417a2c(0x6b)][_0x417a2c(0xb8)]();}),_0x3cfefb=_0x4cfd91[_0x5bb4a2(0xd4)](this[_0x5bb4a2(0xb2)][_0x5bb4a2(0x99)],_0x39470a),_0x3cfefb[_0x5bb4a2(0x97)](_0x5bb4a2(0xba))['to'](_0x39470a,_0x5bb4a2(0xba)),_0x3cfefb[_0x5bb4a2(0x97)](_0x5bb4a2(0xf4))['to'](_0x39470a),_0x3cfefb[_0x5bb4a2(0x97)](_0x5bb4a2(0xbf))['to'](_0x39470a,_0x5bb4a2(0xbf),_0x327c95=>_0x5bb4a2(0xd9)+_0x327c95),this[_0x5bb4a2(0xe9)][_0x5bb4a2(0xbe)](_0x32b062['id'],_0x3cfefb));const _0x475f19=_0x583a1e[_0x5bb4a2(0xd3)](_0x32b062[_0x5bb4a2(0x8f)],_0x39470a),_0x57315b=new _0x18c900(_0x1fcce8,_0x32b062,_0x39470a,_0x475f19),_0x239c66=_0x32b062[_0x5bb4a2(0x82)]()[_0x5bb4a2(0xcb)](_0x3b1f7b=>_0x3b1f7b[_0x5bb4a2(0xc4)]);_0x39470a[_0x5bb4a2(0xd5)]=_0x1fcce8[_0x5bb4a2(0xe8)][_0x5bb4a2(0xae)](_0x5bb4a2(0xa6))[_0x5bb4a2(0x84)][_0x5bb4a2(0xf2)](_0x239c66),this[_0x5bb4a2(0x7a)][_0x5bb4a2(0xbe)](_0x32b062,_0x57315b),this[_0x5bb4a2(0x9d)][_0x5bb4a2(0xbe)](_0x39470a,_0x57315b);const _0x5599e4=_0x4cfd91[_0x5bb4a2(0xd2)]({'view':_0x3cfefb,'target':()=>{const _0x550e63=_0x5bb4a2,_0x4f444c=[],_0x22a244=_0x32b062[_0x550e63(0x82)]()[_0x550e63(0xcb)](_0x50cc99=>_0x50cc99[_0x550e63(0xc4)]);for(const _0x15eb69 of _0x22a244)_0x4f444c[_0x550e63(0xbd)](..._0x15eb69[_0x550e63(0x93)]());return _0x4cce4b(_0x1fcce8[_0x550e63(0x8a)],_0x4f444c);},'type':()=>_0x5bb4a2(0xd9)+_0x57315b[_0x5bb4a2(0x6b)][_0x5bb4a2(0xbf)]});_0x583a1e[_0x5bb4a2(0x92)](_0x39470a,_0x5599e4),_0x4cfd91[_0x5bb4a2(0x77)](_0x5599e4),_0x42fdb9[_0x5bb4a2(0x71)](_0x5599e4);}[_0x11b812(0xe3)](_0x1af315){const _0x3f1d75=_0x11b812,_0x360a5f=this[_0x3f1d75(0xb2)][_0x3f1d75(0xe8)][_0x3f1d75(0xae)](_0x3f1d75(0xf1)),_0x455c34=this[_0x3f1d75(0xb2)][_0x3f1d75(0xe8)][_0x3f1d75(0xae)](_0x3f1d75(0x9f)),_0x207c6e=this[_0x3f1d75(0x7a)][_0x3f1d75(0xae)](_0x1af315),_0x4afae9=_0x207c6e[_0x3f1d75(0x6b)],_0x330ab2=_0x455c34[_0x3f1d75(0xa4)](_0x4afae9);_0x360a5f[_0x3f1d75(0x89)](_0x4afae9),_0x330ab2&&_0x455c34[_0x3f1d75(0xc6)](_0x330ab2),this[_0x3f1d75(0x7a)][_0x3f1d75(0xed)](_0x1af315),this[_0x3f1d75(0x9d)][_0x3f1d75(0xed)](_0x4afae9),_0x207c6e[_0x3f1d75(0xe0)]();}[_0x11b812(0xad)](_0x24045f){const _0xdd8a3d=_0x11b812;if(!_0x24045f[_0xdd8a3d(0xc4)]||!this[_0xdd8a3d(0x7a)][_0xdd8a3d(0xbc)](_0x24045f))return;const _0xc26db0=this[_0xdd8a3d(0xb2)][_0xdd8a3d(0xe8)][_0xdd8a3d(0xae)](_0xdd8a3d(0xa6)),_0x3b0a61=this[_0xdd8a3d(0x7a)][_0xdd8a3d(0xae)](_0x24045f),_0xdcf269=_0x24045f[_0xdd8a3d(0x82)]();_0x3b0a61[_0xdd8a3d(0x6b)][_0xdd8a3d(0xd5)]=_0xc26db0[_0xdd8a3d(0x84)][_0xdd8a3d(0xf2)](_0xdcf269);}[_0x11b812(0xe0)](){const _0x4a545e=_0x11b812;for(const _0x2f9108 of this[_0x4a545e(0x7a)][_0x4a545e(0xa7)]())this[_0x4a545e(0xe3)](_0x2f9108);for(const _0x3319bb of this[_0x4a545e(0xe9)][_0x4a545e(0x8d)]())_0x3319bb[_0x4a545e(0x70)][_0x4a545e(0xe0)]();super[_0x4a545e(0xe0)]();}}function ae(_0x2ffd4b){const _0x2a2492=_0x11b812;return _0x2a2492(0xef)in _0x2ffd4b;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x555e(){const _0x556550=['model','listenTo','PendingActions','207297tYJdbd','441zPjAhK','unbind','discardSuggestion','40sikuuy','acceptSuggestion','2808512UUfZwE','PENDING_ACTION_SUGGESTION','_acceptCommand','canEditAt','locale','_pendingAction','canAccept','241587kzKkTX','plugins','5165420eTwkOT','272200PJvUpT','add','_discardCommand','commands','execute','stopListening','isEnabled','destroy','3697626FMWNsY','change:isDirty','_editor','_setPendingAction','bind','commentThreadController','remove','view','isDirty','_removePendingAction','canDiscard','1121944XwXeXK','get','getRanges'];_0x555e=function(){return _0x556550;};return _0x555e();}const _0x5f58e2=_0x43f9;function _0x43f9(_0xb103c7,_0x459bd3){const _0x555e92=_0x555e();return _0x43f9=function(_0x43f9a5,_0x2bb363){_0x43f9a5=_0x43f9a5-0xf6;let _0x2962d9=_0x555e92[_0x43f9a5];return _0x2962d9;},_0x43f9(_0xb103c7,_0x459bd3);}(function(_0x296c50,_0x9fad49){const _0x2ff7ba=_0x43f9,_0x493273=_0x296c50();while(!![]){try{const _0x331156=-parseInt(_0x2ff7ba(0x103))/0x1+parseInt(_0x2ff7ba(0x119))/0x2+parseInt(_0x2ff7ba(0xf6))/0x3*(parseInt(_0x2ff7ba(0xfa))/0x4)+parseInt(_0x2ff7ba(0x105))/0x5+parseInt(_0x2ff7ba(0x10e))/0x6+-parseInt(_0x2ff7ba(0xfc))/0x7+-parseInt(_0x2ff7ba(0x106))/0x8*(parseInt(_0x2ff7ba(0xf7))/0x9);if(_0x331156===_0x9fad49)break;else _0x493273['push'](_0x493273['shift']());}catch(_0x4ac3e7){_0x493273['push'](_0x493273['shift']());}}}(_0x555e,0x905b9));import{ObservableMixin as _0x59bafe}from'ckeditor5/src/utils.js';import{getTranslation as _0x2361f6}from'../utils/common-translations.js';export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x59bafe(){constructor(_0x52c4b4,_0x252a57,_0x318572,_0x581f6c){const _0x79250f=_0x43f9;super(),this[_0x79250f(0x11c)]=_0x252a57,this[_0x79250f(0x115)]=_0x318572,this[_0x79250f(0x113)]=_0x581f6c,this[_0x79250f(0x110)]=_0x52c4b4,this[_0x79250f(0xfe)]=_0x52c4b4[_0x79250f(0x109)][_0x79250f(0x11a)](_0x79250f(0xfb)),this[_0x79250f(0x108)]=_0x52c4b4[_0x79250f(0x109)][_0x79250f(0x11a)](_0x79250f(0xf9)),this[_0x79250f(0x115)][_0x79250f(0x112)](_0x79250f(0x10c))['to'](this[_0x79250f(0xfe)],this[_0x79250f(0x108)],(_0xe5e5b7,_0xd733c9)=>_0xe5e5b7||_0xd733c9),this[_0x79250f(0x115)][_0x79250f(0x112)](_0x79250f(0x102))['to'](this[_0x79250f(0xfe)],_0x79250f(0x10c),_0x5e146a=>_0x5e146a&&this[_0x79250f(0x110)][_0x79250f(0x11c)][_0x79250f(0xff)](_0x252a57[_0x79250f(0x11b)]())),this[_0x79250f(0x115)][_0x79250f(0x112)](_0x79250f(0x118))['to'](this[_0x79250f(0x108)],_0x79250f(0x10c),_0xc39218=>_0xc39218&&this[_0x79250f(0x110)][_0x79250f(0x11c)][_0x79250f(0xff)](_0x252a57[_0x79250f(0x11b)]())),this[_0x79250f(0x101)]=null,_0x318572[_0x79250f(0x116)]&&this[_0x79250f(0x111)](),this[_0x79250f(0x11d)](_0x318572,_0x79250f(0xfb),()=>this[_0x79250f(0xfb)]()),this[_0x79250f(0x11d)](_0x318572,_0x79250f(0xf9),()=>this[_0x79250f(0xf9)]()),this[_0x79250f(0x11d)](_0x318572,_0x79250f(0x10f),()=>{const _0x5a00c3=_0x79250f;_0x318572[_0x5a00c3(0x116)]?this[_0x5a00c3(0x111)]():this[_0x5a00c3(0x117)]();});}[_0x5f58e2(0xfb)](){const _0x544775=_0x5f58e2;this[_0x544775(0xfe)][_0x544775(0x10a)](this[_0x544775(0x11c)]['id']);}[_0x5f58e2(0xf9)](){const _0x300ea0=_0x5f58e2;this[_0x300ea0(0x108)][_0x300ea0(0x10a)](this[_0x300ea0(0x11c)]['id']);}[_0x5f58e2(0x10d)](){const _0x4bd26d=_0x5f58e2;this[_0x4bd26d(0x115)][_0x4bd26d(0xf8)](_0x4bd26d(0x10c)),this[_0x4bd26d(0x115)][_0x4bd26d(0xf8)](_0x4bd26d(0x102)),this[_0x4bd26d(0x115)][_0x4bd26d(0xf8)](_0x4bd26d(0x118)),this[_0x4bd26d(0x10b)](),this[_0x4bd26d(0x113)][_0x4bd26d(0x10d)](),this[_0x4bd26d(0x101)]&&this[_0x4bd26d(0x117)]();}[_0x5f58e2(0x111)](){const _0x4f9fdf=_0x5f58e2,_0x300b64=_0x2361f6(this[_0x4f9fdf(0x110)][_0x4f9fdf(0x100)],_0x4f9fdf(0xfd));this[_0x4f9fdf(0x101)]=this[_0x4f9fdf(0x110)][_0x4f9fdf(0x104)][_0x4f9fdf(0x11a)](_0x4f9fdf(0x11e))[_0x4f9fdf(0x107)](_0x300b64);}[_0x5f58e2(0x117)](){const _0x37f014=_0x5f58e2;null!==this[_0x37f014(0x101)]&&this[_0x37f014(0x110)][_0x37f014(0x104)][_0x37f014(0x11a)](_0x37f014(0x11e))[_0x37f014(0x114)](this[_0x37f014(0x101)]),this[_0x37f014(0x101)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x59b6ef=_0x1e17;function _0x49f9(){const _0x19641b=['11844DmgItu','180396ToAlSa','commentInputView','canDiscard','bind','_config','setData','5974090ctbEZP','value','editorConfig','authoredAt','removeComment','_localUser','2304AuoVYw','1194KycdxB','commentThreadInputView','addComment','focus','destroy','length','34984yBUyxS','isReadOnly','commentThread','commentsListView','submit','editor','assign','locale','798ORMDcO','element','isEnabled','disableComments','updateComment','fire','set','_createCommentThreadInputView','_createCommentViews','isDirty','descriptionParts','disabledSubmit','canAccept','99VAEZQY','162500ljAQzr','delegate','269907lianZB','CommentView','showInput','isActive','hasDirtyComment','_model','cancel'];_0x49f9=function(){return _0x19641b;};return _0x49f9();}(function(_0x53d645,_0x276e22){const _0x5c257d=_0x1e17,_0x1f27a7=_0x53d645();while(!![]){try{const _0x290666=parseInt(_0x5c257d(0x1ab))/0x1+parseInt(_0x5c257d(0x180))/0x2+-parseInt(_0x5c257d(0x18d))/0x3*(-parseInt(_0x5c257d(0x18c))/0x4)+-parseInt(_0x5c257d(0x1a9))/0x5+-parseInt(_0x5c257d(0x19b))/0x6*(-parseInt(_0x5c257d(0x17f))/0x7)+parseInt(_0x5c257d(0x193))/0x8*(-parseInt(_0x5c257d(0x1a8))/0x9)+-parseInt(_0x5c257d(0x186))/0xa;if(_0x290666===_0x276e22)break;else _0x1f27a7['push'](_0x1f27a7['shift']());}catch(_0x179fa9){_0x1f27a7['push'](_0x1f27a7['shift']());}}}(_0x49f9,0x214b9));function _0x1e17(_0x50a261,_0x46ee07){const _0x49f99e=_0x49f9();return _0x1e17=function(_0x1e176a,_0x58b175){_0x1e176a=_0x1e176a-0x17d;let _0x575cbf=_0x49f99e[_0x1e176a];return _0x575cbf;},_0x1e17(_0x50a261,_0x46ee07);}import{View as _0x3cf7f9}from'ckeditor5/src/ui.js';export default class es extends _0x3cf7f9{constructor(_0x4c9437,_0x56f0e5,_0x388aaf,_0x555901){const _0x5045d8=_0x1e17;super(_0x4c9437),this[_0x5045d8(0x196)]=null,this[_0x5045d8(0x18e)]=null,this[_0x5045d8(0x1a1)](_0x5045d8(0x1ae),!0x1),this[_0x5045d8(0x1a1)](_0x5045d8(0x189),_0x56f0e5[_0x5045d8(0x189)]),this[_0x5045d8(0x183)](_0x5045d8(0x189))['to'](_0x56f0e5),this[_0x5045d8(0x1a1)](_0x5045d8(0x1a5),[]),this[_0x5045d8(0x1a1)](_0x5045d8(0x1a4),!0x1),this[_0x5045d8(0x1a1)](_0x5045d8(0x19d),!0x1),this[_0x5045d8(0x1a1)](_0x5045d8(0x1a7),!0x1),this[_0x5045d8(0x1a1)](_0x5045d8(0x182),!0x1),this[_0x5045d8(0x17d)]=_0x56f0e5,this[_0x5045d8(0x18b)]=_0x388aaf,this[_0x5045d8(0x184)]=_0x555901,_0x555901[_0x5045d8(0x19e)]?this[_0x5045d8(0x1a1)](_0x5045d8(0x192),0x1):this[_0x5045d8(0x1a3)]();}[_0x59b6ef(0x190)](){const _0x4ea7bf=_0x59b6ef;this[_0x4ea7bf(0x19c)][_0x4ea7bf(0x190)]();}[_0x59b6ef(0x191)](){const _0x1042bd=_0x59b6ef;this[_0x1042bd(0x196)]&&this[_0x1042bd(0x196)][_0x1042bd(0x191)](),this[_0x1042bd(0x18e)]&&this[_0x1042bd(0x18e)][_0x1042bd(0x191)](),super[_0x1042bd(0x191)]();}[_0x59b6ef(0x1a3)](){const _0x52891c=_0x59b6ef,{CommentsListView:_0x4caf0c}=this[_0x52891c(0x184)];this[_0x52891c(0x196)]=new _0x4caf0c(this[_0x52891c(0x19a)],this[_0x52891c(0x17d)][_0x52891c(0x195)],Object[_0x52891c(0x199)]({'CommentView':this[_0x52891c(0x184)][_0x52891c(0x1ac)]},this[_0x52891c(0x184)])),this[_0x52891c(0x196)][_0x52891c(0x1aa)](_0x52891c(0x18a))['to'](this),this[_0x52891c(0x196)][_0x52891c(0x1aa)](_0x52891c(0x19f))['to'](this),this[_0x52891c(0x196)][_0x52891c(0x183)](_0x52891c(0x1ae))['to'](this),this[_0x52891c(0x1a1)](_0x52891c(0x192),this[_0x52891c(0x196)][_0x52891c(0x192)]+0x1),this[_0x52891c(0x183)](_0x52891c(0x192))['to'](this[_0x52891c(0x196)],_0x52891c(0x192),_0xe5b922=>_0xe5b922+0x1),this[_0x52891c(0x18e)]=this[_0x52891c(0x1a2)](),this['on'](_0x52891c(0x18a),()=>this[_0x52891c(0x190)]()),this[_0x52891c(0x183)](_0x52891c(0x1a4))['to'](this[_0x52891c(0x196)],_0x52891c(0x1af),this[_0x52891c(0x18e)][_0x52891c(0x181)],_0x52891c(0x187),(_0xa85fd5,_0x17df5e)=>_0xa85fd5||!!_0x17df5e);}[_0x59b6ef(0x1a2)](){const _0x2b8b0e=_0x59b6ef,{CommentThreadInputView:_0x382d38}=this[_0x2b8b0e(0x184)],_0x488dc3=new _0x382d38(this[_0x2b8b0e(0x19a)],this[_0x2b8b0e(0x18b)],this[_0x2b8b0e(0x184)][_0x2b8b0e(0x188)]),_0x4fcd32=_0x488dc3[_0x2b8b0e(0x181)];return _0x488dc3[_0x2b8b0e(0x183)](_0x2b8b0e(0x1ad))['to'](this,_0x2b8b0e(0x1ae),this[_0x2b8b0e(0x17d)][_0x2b8b0e(0x195)],_0x2b8b0e(0x194),_0x4fcd32,_0x2b8b0e(0x187),(_0x54eb8b,_0x4703a5,_0x1b0c90)=>!!_0x1b0c90||_0x54eb8b&&!_0x4703a5),_0x4fcd32['on'](_0x2b8b0e(0x197),(_0x1cf33e,_0x45e32c)=>{const _0x56c8bb=_0x2b8b0e;this[_0x56c8bb(0x1a0)](_0x56c8bb(0x18f),_0x45e32c),_0x4fcd32[_0x56c8bb(0x198)][_0x56c8bb(0x185)]('');}),_0x4fcd32['on'](_0x2b8b0e(0x17e),()=>this[_0x2b8b0e(0x190)]()),_0x4fcd32[_0x2b8b0e(0x183)](_0x2b8b0e(0x1a6))['to'](this[_0x2b8b0e(0x17d)][_0x2b8b0e(0x195)],_0x2b8b0e(0x194)),_0x488dc3;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c05f7=_0x3dfa;(function(_0x31ef1a,_0x149da8){const _0x3cda88=_0x3dfa,_0x3be4c3=_0x31ef1a();while(!![]){try{const _0x24c34b=parseInt(_0x3cda88(0x1b6))/0x1+parseInt(_0x3cda88(0x1c8))/0x2+parseInt(_0x3cda88(0x1a1))/0x3*(parseInt(_0x3cda88(0x1f3))/0x4)+-parseInt(_0x3cda88(0x1e6))/0x5+parseInt(_0x3cda88(0x1b1))/0x6*(-parseInt(_0x3cda88(0x204))/0x7)+-parseInt(_0x3cda88(0x1b4))/0x8+parseInt(_0x3cda88(0x1dd))/0x9;if(_0x24c34b===_0x149da8)break;else _0x3be4c3['push'](_0x3be4c3['shift']());}catch(_0x2d332c){_0x3be4c3['push'](_0x3be4c3['shift']());}}}(_0x1274,0x3d268));import{getTranslation as _0x1939d7}from'../../utils/common-translations.js';import{default as _0x1105a1}from'./basesuggestionthreadview.js';import{ButtonView as _0x2a97c8}from'ckeditor5/src/ui.js';function _0x1274(){const _0x1b3f18=['discardSuggestion','ck-suggestion-wrapper--active','ck-suggestion__actions','set','EXTERNAL_SUGGESTION','1305060RQkqDf','_createButton','span','getUserViewNotificationText','createElement','ck-suggestion-wrapper','editorDestroyed','ck-suggestion','push','ck-suggestion__main','ck-suggestion__user','\x22></span>','div','1816ypJUMW','disableComments','commentThread','creator','name','getExternalSuggestionNote','attributes','extendTemplate','ck-suggestion--disabled-comments','_descriptionElement','ck-suggestion--accept','acceptButton','ck-annotation','split','ck-annotation__content-wrapper','change:description','innerHTML','7672wGvBUD','content','ck-suggestion__info','bindTemplate','_model','EXTERNAL_AVATAR','render','editorReady','userView','_config','delegate','1047OVmkae','formatDateTime','commentThreadInputView','execute','type','canAccept','cancel','discardButton','commentsListView','check','canDiscard','bind','time','setTemplate','<span\x20class=\x22ck-suggestion-type\x22>','innerText','1500QWedMW','@external','map','1005784QjjPbI','getTemplate','325058YrYgIR','source','fire','Discard\x20suggestion','descriptionParts','EXTERNAL_IMPORT_WORD_AVATAR','ck-annotation__user','join','\x22\x20title=\x22','importWord','Accept\x20suggestion','</p>','.ck-annotation__content-wrapper','EXTERNAL_IMPORT_WORD_SUGGESTION','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','ck-comment__info-time','author','isActive','115058abWXdl','value','ck-comment__external','color','locale','</span>','ck-annotation__info','children','title','ck-suggestion__info-name','ck-suggestion--discard','ck-annotation__main','<p>','querySelector','acceptSuggestion','authoredAt','isExternal','ck-suggestion-','description','ck-annotation__info-name','isEnabled','3331566ICodSI','ck-annotation__actions','ck-annotation__info-time','element'];_0x1274=function(){return _0x1b3f18;};return _0x1274();}import{icons as _0x28954f}from'ckeditor5/src/core.js';import{trimHtml as _0x25f910,UserView as _0x3c6e0f}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x1105a1{constructor(_0x44c1e1,_0x4cc4fd,_0x1a3789,_0xb71892){const _0x5569ea=_0x3dfa;super(_0x44c1e1,_0x4cc4fd,_0x1a3789,_0xb71892),this[_0x5569ea(0x1e4)](_0x5569ea(0x1a5),''),this[_0x5569ea(0x1ac)](_0x5569ea(0x1a5))['to'](this,_0x5569ea(0x1ba),_0x595bba=>_0x595bba&&_0x595bba[0x0]?_0x595bba[0x0][_0x5569ea(0x1a5)]:''),this[_0x5569ea(0x1ac)](_0x5569ea(0x1da))['to'](this,_0x5569ea(0x1ba),this,_0x5569ea(0x1c7),(_0x38a5d6,_0x1b5d6b)=>{const _0x12ac06=_0x5569ea;let _0x27d781='';for(const _0x142b83 of _0x38a5d6)_0x27d781+=_0x12ac06(0x1d4)+ds(_0x142b83[_0x12ac06(0x205)],_0x142b83[_0x12ac06(0x1cb)])+_0x12ac06(0x1c1);return _0x1b5d6b?_0x27d781:_0x25f910(_0x27d781,{'limit':0x8c});}),this[_0x5569ea(0x1fc)]=null,this[_0x5569ea(0x1fe)]=this[_0x5569ea(0x1e7)](_0x1939d7(_0x44c1e1,_0x5569ea(0x1c0)),_0x28954f[_0x5569ea(0x1aa)],_0x5569ea(0x1fd),_0x5569ea(0x1d6),'sw'),this[_0x5569ea(0x1fe)][_0x5569ea(0x1ac)](_0x5569ea(0x1dc))['to'](this,_0x5569ea(0x1a6)),this[_0x5569ea(0x1a8)]=this[_0x5569ea(0x1e7)](_0x1939d7(_0x44c1e1,_0x5569ea(0x1b9)),_0x28954f[_0x5569ea(0x1a7)],_0x5569ea(0x1d2),_0x5569ea(0x1e1),'sw'),this[_0x5569ea(0x1a8)][_0x5569ea(0x1ac)](_0x5569ea(0x1dc))['to'](this,_0x5569ea(0x1ab)),this[_0x5569ea(0x19e)]=new _0x3c6e0f(_0x44c1e1,this[_0x5569ea(0x19a)][_0x5569ea(0x1c6)],this[_0x5569ea(0x1e9)]()),this[_0x5569ea(0x19e)][_0x5569ea(0x1fa)]({'attributes':{'class':[_0x5569ea(0x1f0),_0x5569ea(0x1bc)]}}),this[_0x5569ea(0x1ae)](this[_0x5569ea(0x1b5)]());}[_0x5c05f7(0x1b5)](){const _0x22e9ad=_0x5c05f7,_0x33c232=this[_0x22e9ad(0x199)],_0x233413=[{'tag':_0x22e9ad(0x1f2),'attributes':{'class':[_0x22e9ad(0x198),_0x22e9ad(0x1ce)]},'children':[{'tag':_0x22e9ad(0x1e8),'children':[{'text':this[_0x22e9ad(0x19e)][_0x22e9ad(0x1f7)]}],'attributes':{'class':[_0x22e9ad(0x1d1),_0x22e9ad(0x1db)]}},{'tag':_0x22e9ad(0x1ad),'attributes':{'datetime':_0x33c232['to'](_0x22e9ad(0x1d7)),'class':[_0x22e9ad(0x1c5),_0x22e9ad(0x1df)]},'children':[{'text':_0x33c232['to'](_0x22e9ad(0x1d7),_0x46ab2a=>this[_0x22e9ad(0x19f)][_0x22e9ad(0x1a2)](_0x46ab2a))}]}]},{'tag':_0x22e9ad(0x1f2),'attributes':{'class':[_0x22e9ad(0x1e3),_0x22e9ad(0x1de)]},'children':[this[_0x22e9ad(0x1fe)],this[_0x22e9ad(0x1a8)]]},{'tag':_0x22e9ad(0x1f2),'attributes':{'class':[_0x22e9ad(0x201)]}}];this[_0x22e9ad(0x19a)][_0x22e9ad(0x1d8)]&&_0x233413[_0x22e9ad(0x1ee)]({'tag':_0x22e9ad(0x1f2),'attributes':{'class':[_0x22e9ad(0x1ca)]},'children':[{'text':this[_0x22e9ad(0x1f8)]()}]});const _0xa19bb2={'tag':_0x22e9ad(0x1f2),'attributes':{'class':[_0x22e9ad(0x1eb),_0x33c232['if'](_0x22e9ad(0x1c7),_0x22e9ad(0x1e2)),_0x33c232['to'](_0x22e9ad(0x1a5),_0x2b727f=>_0x22e9ad(0x1d9)+_0x2b727f),this[_0x22e9ad(0x19f)][_0x22e9ad(0x1f4)]&&_0x22e9ad(0x1fb)],'data-suggestion-id':this[_0x22e9ad(0x19a)]['id'],'data-thread-id':this[_0x22e9ad(0x19a)][_0x22e9ad(0x1f5)]['id'],'data-author-id':this[_0x22e9ad(0x19a)][_0x22e9ad(0x1c6)]['id'],'tabindex':-0x1},'children':[{'tag':_0x22e9ad(0x1f2),'attributes':{'class':[_0x22e9ad(0x1ed),_0x22e9ad(0x1ff)]},'children':[this[_0x22e9ad(0x19e)],{'tag':_0x22e9ad(0x1f2),'attributes':{'class':[_0x22e9ad(0x1ef),_0x22e9ad(0x1d3)]},'children':_0x233413}]}]};return this[_0x22e9ad(0x1a9)]&&this[_0x22e9ad(0x1a3)]&&(_0xa19bb2[_0x22e9ad(0x1cf)][_0x22e9ad(0x1ee)](this[_0x22e9ad(0x1a9)],this[_0x22e9ad(0x1a3)]),this[_0x22e9ad(0x1a9)][_0x22e9ad(0x1a0)](_0x22e9ad(0x19d))['to'](this),this[_0x22e9ad(0x1a9)][_0x22e9ad(0x1a0)](_0x22e9ad(0x1ec))['to'](this),this[_0x22e9ad(0x1a3)][_0x22e9ad(0x1a0)](_0x22e9ad(0x19d))['to'](this),this[_0x22e9ad(0x1a3)][_0x22e9ad(0x1a0)](_0x22e9ad(0x1ec))['to'](this)),_0xa19bb2;}[_0x5c05f7(0x19c)](){const _0x1700c9=_0x5c05f7;super[_0x1700c9(0x19c)](),this[_0x1700c9(0x1fc)]=this[_0x1700c9(0x1e0)][_0x1700c9(0x1d5)](_0x1700c9(0x1c2)),this[_0x1700c9(0x1fc)][_0x1700c9(0x203)]=this[_0x1700c9(0x1da)],this['on'](_0x1700c9(0x202),(_0x230c46,_0x3cac97,_0x1b991b)=>{const _0xfff449=_0x1700c9;this[_0xfff449(0x1fc)][_0xfff449(0x203)]=_0x1b991b;});}[_0x5c05f7(0x1e7)](_0x50026d,_0x1dc869,_0x93b761,_0xdd1af1,_0x4527c0){const _0x2ae233=_0x5c05f7,_0x3e2aad=new _0x2a97c8(this[_0x2ae233(0x1cc)]);return _0x3e2aad[_0x2ae233(0x1e4)]({'label':_0x50026d,'icon':_0x1dc869,'tooltip':!0x0,'tooltipPosition':_0x4527c0}),_0x3e2aad[_0x2ae233(0x1fa)]({'attributes':{'class':_0x93b761}}),_0x3e2aad['on'](_0x2ae233(0x1a4),()=>{const _0x46d89f=_0x2ae233;this[_0x46d89f(0x1b8)](_0xdd1af1,this[_0x46d89f(0x19a)]['id']);}),_0x3e2aad;}[_0x5c05f7(0x1f8)](){const _0x1001fe=_0x5c05f7;return _0x1001fe(0x1bf)===this[_0x1001fe(0x19a)][_0x1001fe(0x1f9)][_0x1001fe(0x1b2)][_0x1001fe(0x1b7)]?_0x1939d7(this[_0x1001fe(0x1cc)],_0x1001fe(0x1c3)):_0x1939d7(this[_0x1001fe(0x1cc)],_0x1001fe(0x1e5));}[_0x5c05f7(0x1e9)](){const _0x3bb322=_0x5c05f7;return this[_0x3bb322(0x19a)][_0x3bb322(0x1d8)]?_0x3bb322(0x1bf)===this[_0x3bb322(0x19a)][_0x3bb322(0x1f9)][_0x3bb322(0x1b2)][_0x3bb322(0x1b7)]?_0x1939d7(this[_0x3bb322(0x1cc)],_0x3bb322(0x1bb),this[_0x3bb322(0x19a)][_0x3bb322(0x1f6)][_0x3bb322(0x1f7)]):_0x1939d7(this[_0x3bb322(0x1cc)],_0x3bb322(0x19b),this[_0x3bb322(0x19a)][_0x3bb322(0x1f6)][_0x3bb322(0x1f7)]):null;}}function ds(_0x2f2378,_0x4fb222){const _0xa53c6d=_0x5c05f7;let _0x3a08c8='';return _0x3a08c8+=_0x2f2378[_0xa53c6d(0x200)]('*')[_0xa53c6d(0x1b3)]((_0x5be2ce,_0x11dd97)=>_0x11dd97%0x2!=0x0?_0xa53c6d(0x1af)+us(_0x5be2ce)+_0xa53c6d(0x1cd):us(_0x5be2ce))[_0xa53c6d(0x1bd)](''),_0x4fb222&&(_0x3a08c8+=_0xa53c6d(0x1c4)+_0x4fb222[_0xa53c6d(0x1c9)]+_0xa53c6d(0x1be)+_0x4fb222[_0xa53c6d(0x1d0)]+_0xa53c6d(0x1f1)),_0x3a08c8;}function _0x3dfa(_0xc786eb,_0xf86eca){const _0x1274fb=_0x1274();return _0x3dfa=function(_0x3dfa87,_0x3715fb){_0x3dfa87=_0x3dfa87-0x198;let _0x166fa3=_0x1274fb[_0x3dfa87];return _0x166fa3;},_0x3dfa(_0xc786eb,_0xf86eca);}function us(_0x41a143){const _0x5151c6=_0x5c05f7,_0x307f1b=document[_0x5151c6(0x1ea)](_0x5151c6(0x1e8));return _0x307f1b[_0x5151c6(0x1b0)]=_0x41a143,_0x307f1b[_0x5151c6(0x203)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x3c3e11,_0x3a8b2a,_0x5912fe){const t=_0x3c3e11['t'];switch(_0x3a8b2a){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',_0x5912fe);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5912fe);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5912fe);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5912fe);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5912fe);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',_0x5912fe);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x5912fe);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',_0x5912fe);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5912fe);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5912fe);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5912fe);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5912fe);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5912fe);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5912fe);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5912fe);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x5912fe);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5912fe);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5912fe);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x5912fe);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5912fe);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5912fe);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5912fe);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5912fe);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'},_0x5912fe);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5912fe);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5912fe);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5912fe);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5912fe);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5912fe);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'},_0x5912fe);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5912fe);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5912fe);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5912fe);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5912fe);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'},_0x5912fe);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5912fe);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'},_0x5912fe);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'},_0x5912fe);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5912fe);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'},_0x5912fe);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5912fe);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'},_0x5912fe);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x5912fe);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5912fe);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'},_0x5912fe);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'},_0x5912fe);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 _0x3a8b2a;}}
|
|
23
|
+
export function getTranslation(_0x5d2a4f,_0x4d93e0,_0x50adb2){const t=_0x5d2a4f['t'];switch(_0x4d93e0){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',_0x50adb2);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x50adb2);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x50adb2);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x50adb2);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x50adb2);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',_0x50adb2);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x50adb2);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',_0x50adb2);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x50adb2);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x50adb2);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x50adb2);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x50adb2);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x50adb2);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x50adb2);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x50adb2);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x50adb2);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x50adb2);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x50adb2);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x50adb2);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x50adb2);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x50adb2);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x50adb2);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x50adb2);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'},_0x50adb2);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x50adb2);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x50adb2);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x50adb2);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x50adb2);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x50adb2);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'},_0x50adb2);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x50adb2);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x50adb2);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x50adb2);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x50adb2);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'},_0x50adb2);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x50adb2);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'},_0x50adb2);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'},_0x50adb2);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x50adb2);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'},_0x50adb2);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x50adb2);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'},_0x50adb2);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x50adb2);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x50adb2);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'},_0x50adb2);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'},_0x50adb2);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 _0x4d93e0;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x26c20a,_0x524420){const _0x19c853=_0x5955,_0x2cfca8=_0x26c20a();while(!![]){try{const _0x1fb383=parseInt(_0x19c853(0x1bd))/0x1*(parseInt(_0x19c853(0x1c6))/0x2)+parseInt(_0x19c853(0x1e0))/0x3*(parseInt(_0x19c853(0x1bc))/0x4)+-parseInt(_0x19c853(0x1d5))/0x5+-parseInt(_0x19c853(0x1d4))/0x6+parseInt(_0x19c853(0x1bb))/0x7+-parseInt(_0x19c853(0x1dd))/0x8+parseInt(_0x19c853(0x1c7))/0x9;if(_0x1fb383===_0x524420)break;else _0x2cfca8['push'](_0x2cfca8['shift']());}catch(_0x36e2b6){_0x2cfca8['push'](_0x2cfca8['shift']());}}}(_0x20ed,0x22d56));export function normalizeDescription(_0x49363f){const _0x4e4404=_0x5955;return Array[_0x4e4404(0x1c3)](_0x49363f)||(_0x49363f=[_0x49363f]),_0x49363f[_0x4e4404(0x1da)](_0x4f9bea=>{const _0x2df086=_0x4e4404,_0x126ada=_0x4f9bea[_0x2df086(0x1e2)][_0x2df086(0x1c8)](/\*/g,''),_0x449950=_0x4f9bea[_0x2df086(0x1c2)]?_0x2df086(0x1de)+_0x4f9bea[_0x2df086(0x1c2)][_0x2df086(0x1c0)]+']':'';return'['+_0x4f9bea[_0x2df086(0x1ba)]+']\x20'+_0x126ada+_0x449950;})[_0x4e4404(0x1d2)](';\x20');}export function sortSuggestions(_0x993b38){const _0x4f746e=_0x5955;return _0x993b38[_0x4f746e(0x1d0)]((_0x251671,_0xdd0900)=>_0x4f746e(0x1cf)==_0x251671[_0x4f746e(0x1ba)]&&_0x4f746e(0x1cf)!=_0xdd0900[_0x4f746e(0x1ba)]?-0x1:_0x4f746e(0x1cf)!=_0x251671[_0x4f746e(0x1ba)]&&_0x4f746e(0x1cf)==_0xdd0900[_0x4f746e(0x1ba)]?0x1:0x0);}function _0x20ed(){const _0x2e15da=['isMultiRange','27IJIxBl','isObject','content','execute','type','441532SoWVMe','85132eqILaW','3NFbBjd','getRanges','splice','value','createPositionAt','color','isArray','createPositionBefore','next','4150xgjKau','3843576qnGARB','replace','schema','isTouching','end','push','from','start','deletion','sort','createRange','join','isIntersecting','643266FwbAPt','1027325jnNFKl','isCollapsed','add','isInContent','change','map','length','createPositionAfter','1860464pNPdbZ','\x20[color\x20'];_0x20ed=function(){return _0x2e15da;};return _0x20ed();}export function getSelectedSuggestions(_0xa8291d,_0x89f50a){const _0x2ae47a=_0x5955,_0x25ba27=Array[_0x2ae47a(0x1cd)](_0xa8291d[_0x2ae47a(0x1be)]()),_0xac5d67=new Set();for(const _0x4bbf2a of _0x89f50a)if(_0x4bbf2a[_0x2ae47a(0x1d8)]){for(const _0x5e897e of _0x25ba27)for(const _0x3942fb of _0x4bbf2a[_0x2ae47a(0x1be)]())(_0x5e897e[_0x2ae47a(0x1d3)](_0x3942fb)||_0xa8291d[_0x2ae47a(0x1d6)]&&!_0x4bbf2a[_0x2ae47a(0x1df)]&&_0x4bbf2a[_0x2ae47a(0x1c5)]&&_0x3942fb[_0x2ae47a(0x1cb)][_0x2ae47a(0x1ca)](_0x5e897e[_0x2ae47a(0x1ce)]))&&_0xac5d67[_0x2ae47a(0x1d7)](_0x4bbf2a);}return _0xac5d67;}export function getRangesOfBlockGroups(_0x151e09,_0x489ccd){const _0x3acf0f=_0x5955;let _0x41361c,_0x18cbc9=0x0;const _0x1c9cec=[],_0xafc560=_0x489ccd[_0x3acf0f(0x1c9)];for(;_0x18cbc9<_0x151e09[_0x3acf0f(0x1db)];){const _0x493919=_0x151e09[_0x18cbc9],_0x4e7887=_0x151e09[_0x18cbc9+0x1];_0x41361c||(_0x41361c=_0x489ccd[_0x3acf0f(0x1c4)](_0x493919)),co(_0x489ccd,_0x493919,_0x4e7887)||(_0x1c9cec[_0x3acf0f(0x1cc)](_0x489ccd[_0x3acf0f(0x1d1)](_0x41361c,_0xafc560[_0x3acf0f(0x1e1)](_0x493919)?_0x489ccd[_0x3acf0f(0x1dc)](_0x493919):_0x489ccd[_0x3acf0f(0x1c1)](_0x493919,_0x3acf0f(0x1cb)))),_0x41361c=null),_0x18cbc9++;}return _0x1c9cec;}function co(_0xd11b52,_0x1c6449,_0x47bc31){const _0x3105d3=_0x5955;if(!_0x47bc31)return!0x1;const _0x412d85=_0xd11b52[_0x3105d3(0x1dc)](_0x1c6449),_0x5c6d8e=_0xd11b52[_0x3105d3(0x1c4)](_0x47bc31);return _0x412d85[_0x3105d3(0x1ca)](_0x5c6d8e);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x5955(_0x49a1b0,_0xea9f4a){const _0x20ed0f=_0x20ed();return _0x5955=function(_0x5955cd,_0x417387){_0x5955cd=_0x5955cd-0x1b9;let _0x1e278e=_0x20ed0f[_0x5955cd];return _0x1e278e;},_0x5955(_0x49a1b0,_0xea9f4a);}export function executeCommandForSuggestions(_0x344900,_0x30c343,_0x32a921){const _0x36e041=_0x5955;for(;_0x32a921[_0x36e041(0x1db)];){const _0x407400=_0x32a921[_0x36e041(0x1bf)](0x0,0x64);_0x344900[_0x36e041(0x1d9)](()=>{const _0xa112fa=_0x36e041;for(const _0x4ca44a of _0x407400)_0x4ca44a[_0xa112fa(0x1d8)]&&_0x30c343[_0xa112fa(0x1b9)](_0x4ca44a['id']);});}}
|