@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240514.0 → 0.0.0-nightly-20240516.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -1
- 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 -1
- 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 -1
- 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 _0x1ce874=_0x12df;(function(_0x5b1255,_0x24a0a3){const _0x2d50e9=_0x12df,_0x414dd3=_0x5b1255();while(!![]){try{const _0xe62601=-parseInt(_0x2d50e9(0x13a))/0x1*(parseInt(_0x2d50e9(0x127))/0x2)+-parseInt(_0x2d50e9(0x144))/0x3+-parseInt(_0x2d50e9(0x123))/0x4+parseInt(_0x2d50e9(0x135))/0x5+-parseInt(_0x2d50e9(0xfb))/0x6+-parseInt(_0x2d50e9(0x130))/0x7*(parseInt(_0x2d50e9(0x11f))/0x8)+parseInt(_0x2d50e9(0x134))/0x9;if(_0xe62601===_0x24a0a3)break;else _0x414dd3['push'](_0x414dd3['shift']());}catch(_0x32a2a3){_0x414dd3['push'](_0x414dd3['shift']());}}}(_0x3132,0x7d239));import{Plugin as _0x19b8c7}from'ckeditor5/src/core.js';import{Collection as _0x3c5a41}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x3604d9,createDropdown as _0x28effd,ListSeparatorView as _0x37daa7,MenuBarMenuView as _0x5eb359,MenuBarMenuListView as _0x45426d,MenuBarMenuListItemView as _0x3c6076,MenuBarMenuListItemButtonView as _0x3cd8df,SplitButtonView as _0x2e3e02,ViewModel as _0x104812}from'ckeditor5/src/ui.js';import{Users as _0x8d0160,getDateTimeFormatter as _0x3bc47e,getAllMarkersDomElementsSorted as _0x507c54}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x272c19 from'./trackchangesediting.js';import _0x16abe1 from'./ui/suggestioncontroller.js';import _0xf1592 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x1a553c}from'./utils/common-translations.js';function _0x3132(){const _0x2eb7c8=['getFirstRange','755535opTVOD','commentThread','addComment','activeAnnotations','children','locale','_annotationViews','config','_handleSuggestionControllerDelayed','source','1861809YSyCGO','discardAllSuggestions','destroy','commands','_handleControllerBuffer','plugins','suggestionLoaded','_bindAnnotationToEditors','keys','Accept\x20all\x20selected\x20suggestions','actionView','execute','addSourceCollector','values','discardSelectedSuggestions','_createMenuBarMenu','TrackChangesUI','Accept\x20all\x20suggestions','descriptionParts','head','getByInnerView','CommentView','focus','getSuggestion','switchbutton','createAnnotation','_updateController','Discard\x20all\x20suggestions','trackChanges','trackChanges.SuggestionThreadView','button','componentFactory','push','suggestionChanged','buttonView','CommentsRepository','TrackChangesEditing','_refreshActiveMarkers','toMany','has','model','getRanges','getMarkers','previous','CommentsUI','getMarkerNames','_unbindEditors','pluginName','Discard\x20all\x20selected\x20suggestions','comments.maxCommentsWhenCollapsed','Annotations','getJoined','menuitem','menu','suggestion-','_addUIComponentsToFactory','getDescriptions','descriptionFactory','get','isMultiRange','editor','separator','comments','isOn','refreshSelectedViews','reduce','Track\x20changes','isDirty','bind','isInContent','_suggestionToController','1338654yipXaQ','mainView','comments.maxThreadTotalWeight','unbind','isEnabled','suggestionUnloaded','set','activeMarkers','change:previous','discardButton','comments.maxCommentCharsWhenCollapsed','value','createCommentThreadController','delegate','_disableComments','commandName','menuBar:trackChanges','trackChanges.disableComments','remove','size','filter','add','requires','hasSuggestion','registerAnnotation','change:activeAnnotations','_createToolbarButton','lowest','EditorAnnotations','clear','some','panelView','getAllAdjacentSuggestions','_initializeController','length','createAnnotationView','8oiGBaT','arrowView','view','items','3028632dHaUMK','innerView','menuitemcheckbox','acceptAllSuggestions','2JkekXI','define','acceptSelectedSuggestions','delete','stopListening','comments.editorConfig','from','_destroyController','listenTo','7095039sWDCgk','type','SuggestionThreadView','editing','31992246IFZIZu','1639285SHkpNb','_viewToController','init','acceptButton'];_0x3132=function(){return _0x2eb7c8;};return _0x3132();}import _0x3f28fe from'../theme/icons/track-changes.svg';function _0x12df(_0x16865f,_0x559929){const _0x31320f=_0x3132();return _0x12df=function(_0x12dfb,_0x319eff){_0x12dfb=_0x12dfb-0xcb;let _0x31abf0=_0x31320f[_0x12dfb];return _0x31abf0;},_0x12df(_0x16865f,_0x559929);}export default class d extends _0x19b8c7{static get[_0x1ce874(0x111)](){const _0x47d23d=_0x1ce874;return[_0x272c19,_0x8d0160,_0x47d23d(0xd7),_0x47d23d(0xe6),_0x47d23d(0x117)];}static get[_0x1ce874(0xe3)](){const _0x4704bf=_0x1ce874;return _0x4704bf(0x154);}constructor(_0x5927e1){const _0x2c1e71=_0x1ce874;super(_0x5927e1),this[_0x2c1e71(0xfa)]=new Map(),this[_0x2c1e71(0x136)]=new Map(),this[_0x2c1e71(0x140)]=new Map(),this[_0x2c1e71(0x148)]=new Map();const _0x164d4e=this[_0x2c1e71(0xf0)][_0x2c1e71(0x141)];_0x164d4e[_0x2c1e71(0x128)](_0x2c1e71(0xd1),_0xf1592),_0x164d4e[_0x2c1e71(0x128)](_0x2c1e71(0x10c),!0x1),this[_0x2c1e71(0x109)]=_0x164d4e[_0x2c1e71(0xee)](_0x2c1e71(0x10c));}[_0x1ce874(0x142)](_0x478482,_0x3bb894){const _0x4f2c87=_0x1ce874;0x0===this[_0x4f2c87(0x148)][_0x4f2c87(0x10e)]&&setTimeout(()=>{const _0x4d506=_0x4f2c87;for(const [_0x47cc10,_0x1b4d08]of this[_0x4d506(0x148)]){const _0x151047=this[_0x4d506(0xfa)][_0x4d506(0xdb)](_0x47cc10);_0x151047||_0x1b4d08?_0x151047&&_0x1b4d08&&this[_0x4d506(0x12e)](_0x47cc10):this[_0x4d506(0x11c)](_0x47cc10);}this[_0x4d506(0x148)][_0x4d506(0x118)](),this[_0x4d506(0xf0)][_0x4d506(0x149)][_0x4d506(0xee)](_0x4d506(0x117))[_0x4d506(0xf4)](),this[_0x4d506(0xd9)]();},0xa),this[_0x4f2c87(0x148)][_0x4f2c87(0x101)](_0x478482,_0x3bb894);}[_0x1ce874(0x137)](){const _0x6f8eb2=_0x1ce874,_0xfd3c54=this[_0x6f8eb2(0xf0)],_0x3fdbef=_0xfd3c54[_0x6f8eb2(0x149)][_0x6f8eb2(0xee)](_0x6f8eb2(0xd8)),_0x5735c8=_0xfd3c54[_0x6f8eb2(0x149)][_0x6f8eb2(0xee)](_0x6f8eb2(0xe6)),_0x254463=_0xfd3c54[_0x6f8eb2(0x149)][_0x6f8eb2(0xee)](_0x6f8eb2(0x117)),_0x4953cc=_0xfd3c54[_0x6f8eb2(0x149)][_0x6f8eb2(0xee)](_0x6f8eb2(0xd7));this[_0x6f8eb2(0xeb)](),_0x254463[_0x6f8eb2(0x150)](()=>{const _0x2c1249=_0x6f8eb2,_0x19da72=[];for(const [_0x189b93,_0x4a2f5d]of Array[_0x2c1249(0x12d)](this[_0x2c1249(0xfa)])){const _0x84fdc4=_0x189b93[_0x2c1249(0x11b)](),_0x500692=[];for(const _0x18582b of _0x84fdc4){if(!_0x18582b[_0x2c1249(0xf9)])continue;if(_0x18582b[_0x2c1249(0xef)]){_0x500692[_0x2c1249(0xd4)](..._0x18582b[_0x2c1249(0xdd)]());continue;}const _0x11a47f=_0x18582b[_0x2c1249(0x139)]();if(_0x500692[_0x2c1249(0x11d)]>0x0){const _0x398566=_0x500692[0x0][_0x2c1249(0xe7)](_0x11a47f);if(_0x398566){_0x500692[0x0]=_0x398566;continue;}}_0x500692[_0x2c1249(0xd4)](_0x11a47f);}_0x19da72[_0x2c1249(0xd4)]([_0x4a2f5d[_0x2c1249(0x121)],_0x500692]);}return _0x19da72;}),this[_0x6f8eb2(0x12f)](_0x3fdbef,_0x6f8eb2(0x14a),(_0x51ffd9,_0xcd9d58)=>{const _0xbf59f3=_0x6f8eb2;this[_0xbf59f3(0x12f)](_0xcd9d58,_0xbf59f3(0x103),(_0xdfb50d,_0x51e827,_0x2d12c5,_0x204737)=>{const _0x3d7cff=_0xbf59f3;_0xcd9d58[_0x3d7cff(0xf9)]&&(null==_0x2d12c5?(this[_0x3d7cff(0xce)](_0x204737[_0x3d7cff(0x157)]),this[_0x3d7cff(0x142)](_0xcd9d58,!0x1)):(this[_0x3d7cff(0xce)](_0x2d12c5[_0x3d7cff(0x157)]),null==_0x204737&&this[_0x3d7cff(0x142)](_0xcd9d58,!0x0)));}),null!==_0xcd9d58[_0xbf59f3(0xdf)]?this[_0xbf59f3(0xce)](_0xcd9d58[_0xbf59f3(0x157)]):this[_0xbf59f3(0x142)](_0xcd9d58,!0x1);}),this[_0x6f8eb2(0x12f)](_0x3fdbef,_0x6f8eb2(0x100),(_0x2b13ca,_0x154556,_0x83a79)=>{const _0x3d171b=_0x6f8eb2;this[_0x3d171b(0x12b)](_0x154556,_0x3d171b(0x103)),this[_0x3d171b(0x148)][_0x3d171b(0x12a)](_0x154556),this[_0x3d171b(0xfa)][_0x3d171b(0xdb)](_0x154556)&&this[_0x3d171b(0x12e)](_0x154556),_0x83a79&&this[_0x3d171b(0xce)](_0x83a79[_0x3d171b(0x157)]);}),this[_0x6f8eb2(0x12f)](_0x3fdbef,_0x6f8eb2(0xd5),(_0xf382f2,_0x166044)=>{const _0x12c3f3=_0x6f8eb2;this[_0x12c3f3(0xce)](_0x166044);}),this[_0x6f8eb2(0x12f)](_0x5735c8,_0x6f8eb2(0x114),()=>{const _0x32de0d=_0x6f8eb2;this[_0x32de0d(0xd9)]();}),this[_0x6f8eb2(0x12f)](_0x4953cc,_0x6f8eb2(0x13c),(_0x5d357f,{threadId:_0x44864b,isFromAdapter:_0xfd0870})=>{const _0x11fdd3=_0x6f8eb2;if(_0xfd0870||!_0x3fdbef[_0x11fdd3(0x112)](_0x44864b))return;const _0x3700a3=_0x3fdbef[_0x11fdd3(0xcb)](_0x44864b);this[_0x11fdd3(0xfa)][_0x11fdd3(0xee)](_0x3700a3)[_0x11fdd3(0x121)][_0x11fdd3(0x15a)]();},{'priority':_0x6f8eb2(0x116)});}[_0x1ce874(0xd9)](){const _0x34e811=_0x1ce874,_0x3e89b6=this[_0x34e811(0xf0)][_0x34e811(0x149)][_0x34e811(0xee)](_0x34e811(0xe6)),_0x2adc21=this[_0x34e811(0xf0)][_0x34e811(0x149)][_0x34e811(0xee)](_0x34e811(0xd8)),_0x4c365e=Array[_0x34e811(0x12d)](_0x3e89b6[_0x34e811(0x13d)],_0x4f70ec=>_0x4f70ec[_0x34e811(0x124)])[_0x34e811(0x10f)](_0x2ebc41=>this[_0x34e811(0x136)][_0x34e811(0xdb)](_0x2ebc41)),_0x45dab8=[];for(const _0x193b36 of _0x4c365e){const _0x45cfd6=this[_0x34e811(0x136)][_0x34e811(0xee)](_0x193b36)[_0x34e811(0xdc)][_0x34e811(0x11b)]();_0x45dab8[_0x34e811(0xd4)](..._0x45cfd6[_0x34e811(0xf5)]((_0x2a6876,_0x5ee299)=>[..._0x2a6876,..._0x5ee299[_0x34e811(0xe1)]()],[]));}_0x2adc21[_0x34e811(0x102)]=_0x45dab8;}[_0x1ce874(0xeb)](){const _0x33de47=_0x1ce874,_0x46a64d=this[_0x33de47(0xf0)],_0x5dd29a=_0x46a64d[_0x33de47(0x13f)],_0x1ff6db=_0x1a553c(_0x5dd29a,_0x33de47(0xf6)),_0x118d65=new _0x3c5a41([{'type':_0x33de47(0xcc),'model':new _0x104812({'withText':!0x0,'label':_0x1ff6db,'commandName':_0x33de47(0xd0),'role':_0x33de47(0x125)})},{'type':_0x33de47(0xf1)},{'type':_0x33de47(0xd2),'model':new _0x104812({'withText':!0x0,'label':_0x1a553c(_0x5dd29a,_0x33de47(0x155)),'commandName':_0x33de47(0x126),'role':_0x33de47(0xe8)})},{'type':_0x33de47(0xd2),'model':new _0x104812({'withText':!0x0,'label':_0x1a553c(_0x5dd29a,_0x33de47(0x14d)),'commandName':_0x33de47(0x129),'role':_0x33de47(0xe8)})},{'type':_0x33de47(0xd2),'model':new _0x104812({'withText':!0x0,'label':_0x1a553c(_0x5dd29a,_0x33de47(0xcf)),'commandName':_0x33de47(0x145),'role':_0x33de47(0xe8)})},{'type':_0x33de47(0xd2),'model':new _0x104812({'withText':!0x0,'label':_0x1a553c(_0x5dd29a,_0x33de47(0xe4)),'commandName':_0x33de47(0x152),'role':_0x33de47(0xe8)})}]);for(const _0x12926d of _0x118d65)if(ae(_0x12926d)){const _0x47434f=_0x46a64d[_0x33de47(0x147)][_0x33de47(0xee)](_0x12926d[_0x33de47(0xdc)][_0x33de47(0x10a)]);_0x12926d[_0x33de47(0xdc)][_0x33de47(0xf8)](_0x33de47(0xf3),_0x33de47(0xff))['to'](_0x47434f,_0x33de47(0x106),_0x33de47(0xff));}_0x46a64d['ui'][_0x33de47(0xd3)][_0x33de47(0x110)](_0x33de47(0xd0),_0x8d944b=>this[_0x33de47(0x115)](_0x8d944b,_0x118d65,_0x1ff6db)),_0x46a64d['ui'][_0x33de47(0xd3)][_0x33de47(0x110)](_0x33de47(0x10b),_0x1141d6=>this[_0x33de47(0x153)](_0x1141d6,_0x118d65,_0x1ff6db));}[_0x1ce874(0x115)](_0x1a8148,_0x3a62f0,_0x18254d){const _0x370735=_0x1ce874,_0xa42787=_0x28effd(_0x1a8148,_0x2e3e02),_0x3465e6=this[_0x370735(0xf0)][_0x370735(0x147)][_0x370735(0xee)](_0x370735(0xd0));_0xa42787[_0x370735(0xd6)][_0x370735(0x101)]({'tooltip':_0x18254d,'label':_0x18254d,'icon':_0x3f28fe}),_0xa42787[_0x370735(0xd6)][_0x370735(0xf8)](_0x370735(0xf3))['to'](_0x3465e6,_0x370735(0x106)),_0xa42787[_0x370735(0xd6)]['on'](_0x370735(0x14f),()=>{const _0x43b57c=_0x370735;_0x3465e6[_0x43b57c(0x14f)](),this[_0x43b57c(0xf0)][_0x43b57c(0x133)][_0x43b57c(0x121)][_0x43b57c(0x15a)]();}),_0x3604d9(_0xa42787,_0x3a62f0,{'role':_0x370735(0xe9)});const _0x2c9e92=[];for(const _0x4d6d32 of _0x3a62f0)ae(_0x4d6d32)&&_0x2c9e92[_0x370735(0xd4)](this[_0x370735(0xf0)][_0x370735(0x147)][_0x370735(0xee)](_0x4d6d32[_0x370735(0xdc)][_0x370735(0x10a)]));const _0x5ed396=_0xa42787[_0x370735(0xd6)];return _0x5ed396[_0x370735(0x14e)][_0x370735(0xfe)](_0x370735(0xff)),_0x5ed396[_0x370735(0x120)][_0x370735(0xfe)](_0x370735(0xff)),_0x5ed396[_0x370735(0x14e)][_0x370735(0xf8)](_0x370735(0xff))['to'](_0x3465e6,_0x370735(0xff)),_0x5ed396[_0x370735(0x120)][_0x370735(0xf8)](_0x370735(0xff))[_0x370735(0xda)](_0x2c9e92,_0x370735(0xff),(..._0xc35b33)=>_0xc35b33[_0x370735(0x119)](_0x235775=>_0x235775)),_0xa42787['on'](_0x370735(0x14f),_0x342d28=>{const _0x394c63=_0x370735;this[_0x394c63(0xf0)][_0x394c63(0x14f)](_0x342d28[_0x394c63(0x143)][_0x394c63(0x10a)]),this[_0x394c63(0xf0)][_0x394c63(0x133)][_0x394c63(0x121)][_0x394c63(0x15a)]();}),_0xa42787;}[_0x1ce874(0x153)](_0xf3ffb,_0x580da5,_0x14f061){const _0x407d37=_0x1ce874,_0x5639e8=new _0x5eb359(_0xf3ffb),_0xaa7776=this[_0x407d37(0xf0)][_0x407d37(0x147)][_0x407d37(0xee)](_0x407d37(0xd0));_0x5639e8[_0x407d37(0xd6)][_0x407d37(0x101)]({'label':_0x14f061,'icon':_0x3f28fe});const _0x280704=new _0x45426d(_0xf3ffb);for(const _0x307c31 of _0x580da5){if(_0x407d37(0xf1)==_0x307c31[_0x407d37(0x131)]){_0x280704[_0x407d37(0x122)][_0x407d37(0x110)](new _0x37daa7(_0xf3ffb));continue;}const _0x4302df=new _0x3c6076(_0xf3ffb,_0x5639e8),_0x1ce056=new _0x3cd8df(_0xf3ffb),_0x21cd48=_0x307c31[_0x407d37(0xdc)];_0x1ce056[_0x407d37(0xf8)](...Object[_0x407d37(0x14c)](_0x21cd48))['to'](_0x21cd48),_0x1ce056[_0x407d37(0x108)](_0x407d37(0x14f))['to'](_0x5639e8),_0x1ce056['on'](_0x407d37(0x14f),()=>{const _0x404439=_0x407d37;this[_0x404439(0xf0)][_0x404439(0x14f)](_0x21cd48[_0x404439(0x10a)]),this[_0x404439(0xf0)][_0x404439(0x133)][_0x404439(0x121)][_0x404439(0x15a)]();}),_0x4302df[_0x407d37(0x13e)][_0x407d37(0x110)](_0x1ce056),_0x280704[_0x407d37(0x122)][_0x407d37(0x110)](_0x4302df);}return _0x5639e8[_0x407d37(0xf8)](_0x407d37(0xff))['to'](_0xaa7776,_0x407d37(0xff)),_0x5639e8[_0x407d37(0x11a)][_0x407d37(0x13e)][_0x407d37(0x110)](_0x280704),_0x5639e8;}[_0x1ce874(0x11c)](_0x152ed5){const _0x46cf2d=_0x1ce874,_0x2a1516=this[_0x46cf2d(0xf0)],_0x513461=_0x2a1516[_0x46cf2d(0x141)],_0x1b0fae=_0x2a1516[_0x46cf2d(0x149)][_0x46cf2d(0xee)](_0x46cf2d(0xe6)),_0x161ea3=_0x2a1516[_0x46cf2d(0x149)][_0x46cf2d(0xee)](_0x46cf2d(0xd7)),_0xaf4bab=_0x2a1516[_0x46cf2d(0x149)][_0x46cf2d(0xee)](_0x46cf2d(0x117)),_0x36c4eb=_0x2a1516[_0x46cf2d(0x149)][_0x46cf2d(0xee)](_0x8d0160)['me'],_0x4246aa=_0x513461[_0x46cf2d(0xee)](_0x46cf2d(0xd0))[_0x46cf2d(0x132)],{CommentsListView:_0x5ac9a1,CommentThreadInputView:_0xa2ad4a}=_0x2a1516[_0x46cf2d(0x149)][_0x46cf2d(0xee)](_0x46cf2d(0xe0));let _0x28af40,_0x26419d;this[_0x46cf2d(0x140)][_0x46cf2d(0xdb)](_0x152ed5['id'])?(_0x26419d=this[_0x46cf2d(0x140)][_0x46cf2d(0xee)](_0x152ed5['id']),_0x28af40=_0x26419d[_0x46cf2d(0xfc)]):(_0x28af40=new _0x4246aa(_0x2a1516[_0x46cf2d(0x13f)],_0x152ed5,_0x36c4eb,{'disableComments':this[_0x46cf2d(0x109)],'editorConfig':_0x513461[_0x46cf2d(0xee)](_0x46cf2d(0x12c)),'maxCommentsWhenCollapsed':_0x513461[_0x46cf2d(0xee)](_0x46cf2d(0xe5)),'maxThreadTotalWeight':_0x513461[_0x46cf2d(0xee)](_0x46cf2d(0xfd)),'maxCommentCharsWhenCollapsed':_0x513461[_0x46cf2d(0xee)](_0x46cf2d(0x105)),'formatDateTime':_0x3bc47e(_0x513461[_0x46cf2d(0xee)](_0x46cf2d(0x13f))),'CommentView':_0x513461[_0x46cf2d(0xee)](_0x46cf2d(0xf2))[_0x46cf2d(0x159)],'CommentsListView':_0x5ac9a1,'CommentThreadInputView':_0xa2ad4a}),_0x28af40[_0x46cf2d(0x138)]['on'](_0x46cf2d(0x14f),()=>{const _0x72430b=_0x46cf2d;_0x2a1516[_0x72430b(0x133)][_0x72430b(0x121)][_0x72430b(0x15a)]();}),_0x28af40[_0x46cf2d(0x104)]['on'](_0x46cf2d(0x14f),()=>{const _0xc4b015=_0x46cf2d;_0x2a1516[_0xc4b015(0x133)][_0xc4b015(0x121)][_0xc4b015(0x15a)]();}),_0x26419d=_0x1b0fae[_0x46cf2d(0x11e)](this[_0x46cf2d(0xf0)][_0x46cf2d(0x13f)],_0x28af40),_0x26419d[_0x46cf2d(0xf8)](_0x46cf2d(0xf7))['to'](_0x28af40,_0x46cf2d(0xf7)),_0x26419d[_0x46cf2d(0xf8)](_0x46cf2d(0x11d))['to'](_0x28af40),_0x26419d[_0x46cf2d(0xf8)](_0x46cf2d(0x131))['to'](_0x28af40,_0x46cf2d(0x131),_0x3741c9=>_0x46cf2d(0xea)+_0x3741c9),this[_0x46cf2d(0x140)][_0x46cf2d(0x101)](_0x152ed5['id'],_0x26419d));const _0x482fcd=_0x161ea3[_0x46cf2d(0x107)](_0x152ed5[_0x46cf2d(0x13b)],_0x28af40),_0x1b055c=new _0x16abe1(_0x2a1516,_0x152ed5,_0x28af40,_0x482fcd),_0x3afd8e=_0x152ed5[_0x46cf2d(0x11b)]()[_0x46cf2d(0x10f)](_0x56a318=>_0x56a318[_0x46cf2d(0xf9)]);_0x28af40[_0x46cf2d(0x156)]=_0x2a1516[_0x46cf2d(0x149)][_0x46cf2d(0xee)](_0x46cf2d(0xd8))[_0x46cf2d(0xed)][_0x46cf2d(0xec)](_0x3afd8e),this[_0x46cf2d(0xfa)][_0x46cf2d(0x101)](_0x152ed5,_0x1b055c),this[_0x46cf2d(0x136)][_0x46cf2d(0x101)](_0x28af40,_0x1b055c);const _0x2a4f37=_0x1b0fae[_0x46cf2d(0xcd)]({'view':_0x26419d,'target':()=>{const _0x3c033d=_0x46cf2d,_0x23961c=[],_0x1088e9=_0x152ed5[_0x3c033d(0x11b)]()[_0x3c033d(0x10f)](_0x4da9fc=>_0x4da9fc[_0x3c033d(0xf9)]);for(const _0x3e200e of _0x1088e9)_0x23961c[_0x3c033d(0xd4)](..._0x3e200e[_0x3c033d(0xde)]());return _0x507c54(_0x2a1516[_0x3c033d(0x133)],_0x23961c);},'type':()=>_0x46cf2d(0xea)+_0x1b055c[_0x46cf2d(0x121)][_0x46cf2d(0x131)]});_0x161ea3[_0x46cf2d(0x14b)](_0x28af40,_0x2a4f37),_0x1b0fae[_0x46cf2d(0x110)](_0x2a4f37),_0xaf4bab[_0x46cf2d(0x113)](_0x2a4f37);}[_0x1ce874(0x12e)](_0x58a148){const _0x493ed2=_0x1ce874,_0x59b9a4=this[_0x493ed2(0xf0)][_0x493ed2(0x149)][_0x493ed2(0xee)](_0x493ed2(0xd7)),_0x267764=this[_0x493ed2(0xf0)][_0x493ed2(0x149)][_0x493ed2(0xee)](_0x493ed2(0xe6)),_0x574883=this[_0x493ed2(0xfa)][_0x493ed2(0xee)](_0x58a148),_0x10a860=_0x574883[_0x493ed2(0x121)],_0x1f520b=_0x267764[_0x493ed2(0x158)](_0x10a860);_0x59b9a4[_0x493ed2(0xe2)](_0x10a860),_0x1f520b&&_0x267764[_0x493ed2(0x10d)](_0x1f520b),this[_0x493ed2(0xfa)][_0x493ed2(0x12a)](_0x58a148),this[_0x493ed2(0x136)][_0x493ed2(0x12a)](_0x10a860),_0x574883[_0x493ed2(0x146)]();}[_0x1ce874(0xce)](_0x255278){const _0x452a45=_0x1ce874;if(!_0x255278[_0x452a45(0xf9)]||!this[_0x452a45(0xfa)][_0x452a45(0xdb)](_0x255278))return;const _0x599b80=this[_0x452a45(0xf0)][_0x452a45(0x149)][_0x452a45(0xee)](_0x452a45(0xd8)),_0x1b9ab4=this[_0x452a45(0xfa)][_0x452a45(0xee)](_0x255278),_0x345c95=_0x255278[_0x452a45(0x11b)]();_0x1b9ab4[_0x452a45(0x121)][_0x452a45(0x156)]=_0x599b80[_0x452a45(0xed)][_0x452a45(0xec)](_0x345c95);}[_0x1ce874(0x146)](){const _0x2bb340=_0x1ce874;for(const _0x246cde of this[_0x2bb340(0xfa)][_0x2bb340(0x14c)]())this[_0x2bb340(0x12e)](_0x246cde);for(const _0x50fdb4 of this[_0x2bb340(0x140)][_0x2bb340(0x151)]())_0x50fdb4[_0x2bb340(0xfc)][_0x2bb340(0x146)]();super[_0x2bb340(0x146)]();}}function ae(_0x28b6ed){const _0x3e0bf8=_0x1ce874;return _0x3e0bf8(0xdc)in _0x28b6ed;}
|
|
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,4 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
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
|
-
function
|
|
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(_0x55d913,_0x23b06c,_0x4b3ada){const t=_0x55d913['t'];switch(_0x23b06c){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',_0x4b3ada);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x4b3ada);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x4b3ada);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x4b3ada);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x4b3ada);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',_0x4b3ada);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x4b3ada);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',_0x4b3ada);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x4b3ada);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x4b3ada);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x4b3ada);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x4b3ada);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x4b3ada);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x4b3ada);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x4b3ada);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x4b3ada);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x4b3ada);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x4b3ada);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x4b3ada);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x4b3ada);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x4b3ada);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x4b3ada);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x4b3ada);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'},_0x4b3ada);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x4b3ada);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x4b3ada);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x4b3ada);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x4b3ada);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x4b3ada);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'},_0x4b3ada);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x4b3ada);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x4b3ada);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x4b3ada);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x4b3ada);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'},_0x4b3ada);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x4b3ada);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'},_0x4b3ada);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'},_0x4b3ada);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x4b3ada);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'},_0x4b3ada);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x4b3ada);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'},_0x4b3ada);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x4b3ada);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x4b3ada);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'},_0x4b3ada);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'},_0x4b3ada);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 _0x23b06c;}}
|
|
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']);});}}
|