@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240628.0 → 0.0.0-nightly-20240629.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x3d9c(){const _0xd4e6b9=['listenTo','head','trackChanges.disableComments','editing','has','suggestionUnloaded','_annotationViews','TrackChangesEditing','_unbindEditors','3740VAXrVB','getJoined','1444552daJLrn','reduce','delete','comments.maxCommentCharsWhenCollapsed','refreshSelectedViews','252IcAIAE','mainView','comments','some','EditorAnnotations','arrowView','_handleControllerBuffer','previous','TrackChangesUI','discardSelectedSuggestions','value','init','3633AWzxJm','change:activeAnnotations','view','switchbutton','_updateController','unbind','_bindAnnotationToEditors','add','panelView','Accept\x20all\x20suggestions','filter','push','actionView','39952ccJsrb','Annotations','type','createAnnotation','10607WoVahN','getDescriptions','_refreshActiveMarkers','length','trackChanges','bind','from','commentThread','plugins','suggestionChanged','_disableComments','trackChanges.SuggestionThreadView','isEnabled','Accept\x20all\x20selected\x20suggestions','_initializeController','items','_suggestionToController','getByInnerView','stopListening','_createToolbarButton','isMultiRange','9BSlpRx','delegate','menu','comments.maxCommentsWhenCollapsed','menuitem','componentFactory','getSuggestion','editor','commandName','model','keys','set','registerAnnotation','clear','Track\x20changes','discardAllSuggestions','requires','toMany','createCommentThreadController','getFirstRange','execute','isOn','_viewToController','source','innerView','commands','acceptSelectedSuggestions','hasSuggestion','define','pluginName','6094BymjvR','button','getMarkerNames','change:previous','CommentsUI','activeMarkers','remove','Discard\x20all\x20suggestions','comments.maxThreadTotalWeight','get','size','getMarkers','_destroyController','separator','470460BKNUuV','10dviEjO','comments.editorConfig','getAllAdjacentSuggestions','6CWxQzn','Discard\x20all\x20selected\x20suggestions','config','discardButton','_handleSuggestionControllerDelayed','336070RflOvz','addComment','acceptButton','activeAnnotations','suggestion-','getRanges','createAnnotationView','SuggestionThreadView','169VSYAgb','values','acceptAllSuggestions','CommentsRepository','children','isDirty','descriptionParts','menuitemcheckbox','buttonView','addSourceCollector','isInContent','_addUIComponentsToFactory','descriptionFactory','_createMenuBarMenu','lowest','suggestionLoaded','focus','menuBar:trackChanges','locale','destroy','CommentView'];_0x3d9c=function(){return _0xd4e6b9;};return _0x3d9c();}const _0x42ee7f=_0x3bf1;(function(_0x19a2a5,_0x4d4b0){const _0x53b863=_0x3bf1,_0x3a1492=_0x19a2a5();while(!![]){try{const _0x24fb69=parseInt(_0x53b863(0x16b))/0x1*(parseInt(_0x53b863(0x119))/0x2)+-parseInt(_0x53b863(0x11c))/0x3*(-parseInt(_0x53b863(0x167))/0x4)+-parseInt(_0x53b863(0x121))/0x5+-parseInt(_0x53b863(0x14e))/0x6*(parseInt(_0x53b863(0x15a))/0x7)+-parseInt(_0x53b863(0x149))/0x8*(parseInt(_0x53b863(0x180))/0x9)+-parseInt(_0x53b863(0x147))/0xa*(parseInt(_0x53b863(0x19e))/0xb)+parseInt(_0x53b863(0x118))/0xc*(parseInt(_0x53b863(0x129))/0xd);if(_0x24fb69===_0x4d4b0)break;else _0x3a1492['push'](_0x3a1492['shift']());}catch(_0x3f2c37){_0x3a1492['push'](_0x3a1492['shift']());}}}(_0x3d9c,0x19dab));import{Plugin as _0x4fc8c9}from'ckeditor5/src/core.js';import{Collection as _0x9a4029}from'ckeditor5/src/utils.js';function _0x3bf1(_0x4d89f7,_0x591887){const _0x3d9c19=_0x3d9c();return _0x3bf1=function(_0x3bf1b8,_0x313a13){_0x3bf1b8=_0x3bf1b8-0x10b;let _0x26d16c=_0x3d9c19[_0x3bf1b8];return _0x26d16c;},_0x3bf1(_0x4d89f7,_0x591887);}import{addListToDropdown as _0x4f0474,createDropdown as _0xb9e9d5,ListSeparatorView as _0xb03967,MenuBarMenuView as _0x491818,MenuBarMenuListView as _0x2e1e0a,MenuBarMenuListItemView as _0x4dbc70,MenuBarMenuListItemButtonView as _0x4fd406,SplitButtonView as _0xd0705,ViewModel as _0x53e743}from'ckeditor5/src/ui.js';import{Users as _0x1d47e3,getDateTimeFormatter as _0x232266,getAllMarkersDomElementsSorted as _0x1ad39b}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x17703a from'./trackchangesediting.js';import _0x2d7635 from'./ui/suggestioncontroller.js';import _0x5041bd from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x16aa16}from'./utils/common-translations.js';import _0x37c364 from'../theme/icons/track-changes.svg';export default class d extends _0x4fc8c9{static get[_0x42ee7f(0x190)](){const _0x3355e6=_0x42ee7f;return[_0x17703a,_0x1d47e3,_0x3355e6(0x12c),_0x3355e6(0x168),_0x3355e6(0x152)];}static get[_0x42ee7f(0x19d)](){const _0x3952a9=_0x42ee7f;return _0x3952a9(0x156);}constructor(_0x3847f7){const _0x2d24a1=_0x42ee7f;super(_0x3847f7),this[_0x2d24a1(0x17b)]=new Map(),this[_0x2d24a1(0x196)]=new Map(),this[_0x2d24a1(0x144)]=new Map(),this[_0x2d24a1(0x154)]=new Map();const _0x49f5e6=this[_0x2d24a1(0x187)][_0x2d24a1(0x11e)];_0x49f5e6[_0x2d24a1(0x19c)](_0x2d24a1(0x176),_0x5041bd),_0x49f5e6[_0x2d24a1(0x19c)](_0x2d24a1(0x140),!0x1),this[_0x2d24a1(0x175)]=_0x49f5e6[_0x2d24a1(0x113)](_0x2d24a1(0x140));}[_0x42ee7f(0x120)](_0x267ab4,_0x168868){const _0x47f632=_0x42ee7f;0x0===this[_0x47f632(0x154)][_0x47f632(0x114)]&&setTimeout(()=>{const _0x3aa0fe=_0x47f632;for(const [_0x42f8a6,_0x2a2628]of this[_0x3aa0fe(0x154)]){const _0x5a5006=this[_0x3aa0fe(0x17b)][_0x3aa0fe(0x142)](_0x42f8a6);_0x5a5006||_0x2a2628?_0x5a5006&&_0x2a2628&&this[_0x3aa0fe(0x116)](_0x42f8a6):this[_0x3aa0fe(0x179)](_0x42f8a6);}this[_0x3aa0fe(0x154)][_0x3aa0fe(0x18d)](),this[_0x3aa0fe(0x187)][_0x3aa0fe(0x173)][_0x3aa0fe(0x113)](_0x3aa0fe(0x152))[_0x3aa0fe(0x14d)](),this[_0x3aa0fe(0x16d)]();},0xa),this[_0x47f632(0x154)][_0x47f632(0x18b)](_0x267ab4,_0x168868);}[_0x42ee7f(0x159)](){const _0xe1bbec=_0x42ee7f,_0x208d75=this[_0xe1bbec(0x187)],_0x17081c=_0x208d75[_0xe1bbec(0x173)][_0xe1bbec(0x113)](_0xe1bbec(0x145)),_0x157a34=_0x208d75[_0xe1bbec(0x173)][_0xe1bbec(0x113)](_0xe1bbec(0x168)),_0xa7fb80=_0x208d75[_0xe1bbec(0x173)][_0xe1bbec(0x113)](_0xe1bbec(0x152)),_0x497db5=_0x208d75[_0xe1bbec(0x173)][_0xe1bbec(0x113)](_0xe1bbec(0x12c));this[_0xe1bbec(0x134)](),_0xa7fb80[_0xe1bbec(0x132)](()=>{const _0x5e27ae=_0xe1bbec,_0x292e7f=[];for(const [_0x30e595,_0x37e84e]of Array[_0x5e27ae(0x171)](this[_0x5e27ae(0x17b)])){const _0x370a9d=_0x30e595[_0x5e27ae(0x11b)](),_0x4884dd=[];for(const _0x5ee5c7 of _0x370a9d){if(!_0x5ee5c7[_0x5e27ae(0x133)])continue;if(_0x5ee5c7[_0x5e27ae(0x17f)]){_0x4884dd[_0x5e27ae(0x165)](..._0x5ee5c7[_0x5e27ae(0x126)]());continue;}const _0x5b144b=_0x5ee5c7[_0x5e27ae(0x193)]();if(_0x4884dd[_0x5e27ae(0x16e)]>0x0){const _0x2c3c7a=_0x4884dd[0x0][_0x5e27ae(0x148)](_0x5b144b);if(_0x2c3c7a){_0x4884dd[0x0]=_0x2c3c7a;continue;}}_0x4884dd[_0x5e27ae(0x165)](_0x5b144b);}_0x292e7f[_0x5e27ae(0x165)]([_0x37e84e[_0x5e27ae(0x15c)],_0x4884dd]);}return _0x292e7f;}),this[_0xe1bbec(0x13e)](_0x17081c,_0xe1bbec(0x138),(_0x5c0932,_0xa4d2b7)=>{const _0x13b1fe=_0xe1bbec;this[_0x13b1fe(0x13e)](_0xa4d2b7,_0x13b1fe(0x10d),(_0x3f63d6,_0x5d3600,_0x58a0c2,_0x2aab84)=>{const _0x4c884a=_0x13b1fe;_0xa4d2b7[_0x4c884a(0x133)]&&(null==_0x58a0c2?(this[_0x4c884a(0x15e)](_0x2aab84[_0x4c884a(0x13f)]),this[_0x4c884a(0x120)](_0xa4d2b7,!0x1)):(this[_0x4c884a(0x15e)](_0x58a0c2[_0x4c884a(0x13f)]),null==_0x2aab84&&this[_0x4c884a(0x120)](_0xa4d2b7,!0x0)));}),null!==_0xa4d2b7[_0x13b1fe(0x155)]?this[_0x13b1fe(0x15e)](_0xa4d2b7[_0x13b1fe(0x13f)]):this[_0x13b1fe(0x120)](_0xa4d2b7,!0x1);}),this[_0xe1bbec(0x13e)](_0x17081c,_0xe1bbec(0x143),(_0x13eb62,_0x371cc5,_0x4538ef)=>{const _0x42c269=_0xe1bbec;this[_0x42c269(0x17d)](_0x371cc5,_0x42c269(0x10d)),this[_0x42c269(0x154)][_0x42c269(0x14b)](_0x371cc5),this[_0x42c269(0x17b)][_0x42c269(0x142)](_0x371cc5)&&this[_0x42c269(0x116)](_0x371cc5),_0x4538ef&&this[_0x42c269(0x15e)](_0x4538ef[_0x42c269(0x13f)]);}),this[_0xe1bbec(0x13e)](_0x17081c,_0xe1bbec(0x174),(_0xeb5aa4,_0x4991de)=>{const _0x4746de=_0xe1bbec;this[_0x4746de(0x15e)](_0x4991de);}),this[_0xe1bbec(0x13e)](_0x157a34,_0xe1bbec(0x15b),()=>{const _0x4a3271=_0xe1bbec;this[_0x4a3271(0x16d)]();}),this[_0xe1bbec(0x13e)](_0x497db5,_0xe1bbec(0x122),(_0x388310,{threadId:_0x4ce42f,isFromAdapter:_0x1933aa})=>{const _0x88a69e=_0xe1bbec;if(_0x1933aa||!_0x17081c[_0x88a69e(0x19b)](_0x4ce42f))return;const _0x15b215=_0x17081c[_0x88a69e(0x186)](_0x4ce42f);this[_0x88a69e(0x17b)][_0x88a69e(0x113)](_0x15b215)[_0x88a69e(0x15c)][_0x88a69e(0x139)]();},{'priority':_0xe1bbec(0x137)});}[_0x42ee7f(0x16d)](){const _0x28f2c1=_0x42ee7f,_0xd8c00a=this[_0x28f2c1(0x187)][_0x28f2c1(0x173)][_0x28f2c1(0x113)](_0x28f2c1(0x168)),_0x4e44ac=this[_0x28f2c1(0x187)][_0x28f2c1(0x173)][_0x28f2c1(0x113)](_0x28f2c1(0x145)),_0xd1ec5f=Array[_0x28f2c1(0x171)](_0xd8c00a[_0x28f2c1(0x124)],_0x540c8b=>_0x540c8b[_0x28f2c1(0x198)])[_0x28f2c1(0x164)](_0x2e5581=>this[_0x28f2c1(0x196)][_0x28f2c1(0x142)](_0x2e5581)),_0x4124f3=[];for(const _0xe90806 of _0xd1ec5f){const _0x4a1a7d=this[_0x28f2c1(0x196)][_0x28f2c1(0x113)](_0xe90806)[_0x28f2c1(0x189)][_0x28f2c1(0x11b)]();_0x4124f3[_0x28f2c1(0x165)](..._0x4a1a7d[_0x28f2c1(0x14a)]((_0x41183c,_0x1d7463)=>[..._0x41183c,..._0x1d7463[_0x28f2c1(0x10c)]()],[]));}_0x4e44ac[_0x28f2c1(0x10f)]=_0x4124f3;}[_0x42ee7f(0x134)](){const _0xfe0ed8=_0x42ee7f,_0x1128e8=this[_0xfe0ed8(0x187)],_0x9f9da=_0x1128e8[_0xfe0ed8(0x13b)],_0x22d83f=_0x16aa16(_0x9f9da,_0xfe0ed8(0x18e)),_0x5194cf=new _0x9a4029([{'type':_0xfe0ed8(0x15d),'model':new _0x53e743({'withText':!0x0,'label':_0x22d83f,'commandName':_0xfe0ed8(0x16f),'role':_0xfe0ed8(0x130)})},{'type':_0xfe0ed8(0x117)},{'type':_0xfe0ed8(0x10b),'model':new _0x53e743({'withText':!0x0,'label':_0x16aa16(_0x9f9da,_0xfe0ed8(0x163)),'commandName':_0xfe0ed8(0x12b),'role':_0xfe0ed8(0x184)})},{'type':_0xfe0ed8(0x10b),'model':new _0x53e743({'withText':!0x0,'label':_0x16aa16(_0x9f9da,_0xfe0ed8(0x178)),'commandName':_0xfe0ed8(0x19a),'role':_0xfe0ed8(0x184)})},{'type':_0xfe0ed8(0x10b),'model':new _0x53e743({'withText':!0x0,'label':_0x16aa16(_0x9f9da,_0xfe0ed8(0x111)),'commandName':_0xfe0ed8(0x18f),'role':_0xfe0ed8(0x184)})},{'type':_0xfe0ed8(0x10b),'model':new _0x53e743({'withText':!0x0,'label':_0x16aa16(_0x9f9da,_0xfe0ed8(0x11d)),'commandName':_0xfe0ed8(0x157),'role':_0xfe0ed8(0x184)})}]);for(const _0x458ec2 of _0x5194cf)if(ae(_0x458ec2)){const _0x1c0404=_0x1128e8[_0xfe0ed8(0x199)][_0xfe0ed8(0x113)](_0x458ec2[_0xfe0ed8(0x189)][_0xfe0ed8(0x188)]);_0x458ec2[_0xfe0ed8(0x189)][_0xfe0ed8(0x170)](_0xfe0ed8(0x195),_0xfe0ed8(0x177))['to'](_0x1c0404,_0xfe0ed8(0x158),_0xfe0ed8(0x177));}_0x1128e8['ui'][_0xfe0ed8(0x185)][_0xfe0ed8(0x161)](_0xfe0ed8(0x16f),_0x3be90a=>this[_0xfe0ed8(0x17e)](_0x3be90a,_0x5194cf,_0x22d83f)),_0x1128e8['ui'][_0xfe0ed8(0x185)][_0xfe0ed8(0x161)](_0xfe0ed8(0x13a),_0x4435f3=>this[_0xfe0ed8(0x136)](_0x4435f3,_0x5194cf,_0x22d83f));}[_0x42ee7f(0x17e)](_0x180504,_0x277596,_0x5c2775){const _0x12b346=_0x42ee7f,_0x32f3b9=_0xb9e9d5(_0x180504,_0xd0705),_0xf0755a=this[_0x12b346(0x187)][_0x12b346(0x199)][_0x12b346(0x113)](_0x12b346(0x16f));_0x32f3b9[_0x12b346(0x131)][_0x12b346(0x18b)]({'tooltip':_0x5c2775,'label':_0x5c2775,'icon':_0x37c364}),_0x32f3b9[_0x12b346(0x131)][_0x12b346(0x170)](_0x12b346(0x195))['to'](_0xf0755a,_0x12b346(0x158)),_0x32f3b9[_0x12b346(0x131)]['on'](_0x12b346(0x194),()=>{const _0x441486=_0x12b346;_0xf0755a[_0x441486(0x194)](),this[_0x441486(0x187)][_0x441486(0x141)][_0x441486(0x15c)][_0x441486(0x139)]();}),_0x4f0474(_0x32f3b9,_0x277596,{'role':_0x12b346(0x182)});const _0x5976dd=[];for(const _0x523d9a of _0x277596)ae(_0x523d9a)&&_0x5976dd[_0x12b346(0x165)](this[_0x12b346(0x187)][_0x12b346(0x199)][_0x12b346(0x113)](_0x523d9a[_0x12b346(0x189)][_0x12b346(0x188)]));const _0x3eeae3=_0x32f3b9[_0x12b346(0x131)];return _0x3eeae3[_0x12b346(0x166)][_0x12b346(0x15f)](_0x12b346(0x177)),_0x3eeae3[_0x12b346(0x153)][_0x12b346(0x15f)](_0x12b346(0x177)),_0x3eeae3[_0x12b346(0x166)][_0x12b346(0x170)](_0x12b346(0x177))['to'](_0xf0755a,_0x12b346(0x177)),_0x3eeae3[_0x12b346(0x153)][_0x12b346(0x170)](_0x12b346(0x177))[_0x12b346(0x191)](_0x5976dd,_0x12b346(0x177),(..._0x3d411a)=>_0x3d411a[_0x12b346(0x151)](_0x3593ce=>_0x3593ce)),_0x32f3b9['on'](_0x12b346(0x194),_0x489b3f=>{const _0x5295d3=_0x12b346;this[_0x5295d3(0x187)][_0x5295d3(0x194)](_0x489b3f[_0x5295d3(0x197)][_0x5295d3(0x188)]),this[_0x5295d3(0x187)][_0x5295d3(0x141)][_0x5295d3(0x15c)][_0x5295d3(0x139)]();}),_0x32f3b9;}[_0x42ee7f(0x136)](_0x39a005,_0x1fd3cc,_0xb71f5c){const _0x262a9d=_0x42ee7f,_0x4c11ff=new _0x491818(_0x39a005),_0x5accd7=this[_0x262a9d(0x187)][_0x262a9d(0x199)][_0x262a9d(0x113)](_0x262a9d(0x16f));_0x4c11ff[_0x262a9d(0x131)][_0x262a9d(0x18b)]({'label':_0xb71f5c,'icon':_0x37c364});const _0xb4f79b=new _0x2e1e0a(_0x39a005);for(const _0x376252 of _0x1fd3cc){if(_0x262a9d(0x117)==_0x376252[_0x262a9d(0x169)]){_0xb4f79b[_0x262a9d(0x17a)][_0x262a9d(0x161)](new _0xb03967(_0x39a005));continue;}const _0x3ced1f=new _0x4dbc70(_0x39a005,_0x4c11ff),_0x366aa4=new _0x4fd406(_0x39a005),_0xf31aa5=_0x376252[_0x262a9d(0x189)];_0x366aa4[_0x262a9d(0x170)](...Object[_0x262a9d(0x18a)](_0xf31aa5))['to'](_0xf31aa5),_0x366aa4[_0x262a9d(0x181)](_0x262a9d(0x194))['to'](_0x4c11ff),_0x366aa4['on'](_0x262a9d(0x194),()=>{const _0x54a4c5=_0x262a9d;this[_0x54a4c5(0x187)][_0x54a4c5(0x194)](_0xf31aa5[_0x54a4c5(0x188)]),this[_0x54a4c5(0x187)][_0x54a4c5(0x141)][_0x54a4c5(0x15c)][_0x54a4c5(0x139)]();}),_0x3ced1f[_0x262a9d(0x12d)][_0x262a9d(0x161)](_0x366aa4),_0xb4f79b[_0x262a9d(0x17a)][_0x262a9d(0x161)](_0x3ced1f);}return _0x4c11ff[_0x262a9d(0x170)](_0x262a9d(0x177))['to'](_0x5accd7,_0x262a9d(0x177)),_0x4c11ff[_0x262a9d(0x162)][_0x262a9d(0x12d)][_0x262a9d(0x161)](_0xb4f79b),_0x4c11ff;}[_0x42ee7f(0x179)](_0x5b5757){const _0x183761=_0x42ee7f,_0x58dcd0=this[_0x183761(0x187)],_0x44dcf8=_0x58dcd0[_0x183761(0x11e)],_0x1336d3=_0x58dcd0[_0x183761(0x173)][_0x183761(0x113)](_0x183761(0x168)),_0x59a386=_0x58dcd0[_0x183761(0x173)][_0x183761(0x113)](_0x183761(0x12c)),_0x2485b6=_0x58dcd0[_0x183761(0x173)][_0x183761(0x113)](_0x183761(0x152)),_0x2e69fc=_0x58dcd0[_0x183761(0x173)][_0x183761(0x113)](_0x1d47e3)['me'],_0xf75ae8=_0x44dcf8[_0x183761(0x113)](_0x183761(0x16f))[_0x183761(0x128)],{CommentsListView:_0x106899,CommentThreadInputView:_0x1af54b}=_0x58dcd0[_0x183761(0x173)][_0x183761(0x113)](_0x183761(0x10e));let _0x398902,_0xa655a6;this[_0x183761(0x144)][_0x183761(0x142)](_0x5b5757['id'])?(_0xa655a6=this[_0x183761(0x144)][_0x183761(0x113)](_0x5b5757['id']),_0x398902=_0xa655a6[_0x183761(0x14f)]):(_0x398902=new _0xf75ae8(_0x58dcd0[_0x183761(0x13b)],_0x5b5757,_0x2e69fc,{'disableComments':this[_0x183761(0x175)],'editorConfig':_0x44dcf8[_0x183761(0x113)](_0x183761(0x11a)),'maxCommentsWhenCollapsed':_0x44dcf8[_0x183761(0x113)](_0x183761(0x183)),'maxThreadTotalWeight':_0x44dcf8[_0x183761(0x113)](_0x183761(0x112)),'maxCommentCharsWhenCollapsed':_0x44dcf8[_0x183761(0x113)](_0x183761(0x14c)),'formatDateTime':_0x232266(_0x44dcf8[_0x183761(0x113)](_0x183761(0x13b))),'CommentView':_0x44dcf8[_0x183761(0x113)](_0x183761(0x150))[_0x183761(0x13d)],'CommentsListView':_0x106899,'CommentThreadInputView':_0x1af54b}),_0x398902[_0x183761(0x123)]['on'](_0x183761(0x194),()=>{const _0x502929=_0x183761;_0x58dcd0[_0x502929(0x141)][_0x502929(0x15c)][_0x502929(0x139)]();}),_0x398902[_0x183761(0x11f)]['on'](_0x183761(0x194),()=>{const _0x5e59f5=_0x183761;_0x58dcd0[_0x5e59f5(0x141)][_0x5e59f5(0x15c)][_0x5e59f5(0x139)]();}),_0xa655a6=_0x1336d3[_0x183761(0x127)](this[_0x183761(0x187)][_0x183761(0x13b)],_0x398902),_0xa655a6[_0x183761(0x170)](_0x183761(0x12e))['to'](_0x398902,_0x183761(0x12e)),_0xa655a6[_0x183761(0x170)](_0x183761(0x16e))['to'](_0x398902),_0xa655a6[_0x183761(0x170)](_0x183761(0x169))['to'](_0x398902,_0x183761(0x169),_0x37915a=>_0x183761(0x125)+_0x37915a),this[_0x183761(0x144)][_0x183761(0x18b)](_0x5b5757['id'],_0xa655a6));const _0x1e6524=_0x59a386[_0x183761(0x192)](_0x5b5757[_0x183761(0x172)],_0x398902),_0x2110b2=new _0x2d7635(_0x58dcd0,_0x5b5757,_0x398902,_0x1e6524),_0x47ea12=_0x5b5757[_0x183761(0x11b)]()[_0x183761(0x164)](_0x19f968=>_0x19f968[_0x183761(0x133)]);_0x398902[_0x183761(0x12f)]=_0x58dcd0[_0x183761(0x173)][_0x183761(0x113)](_0x183761(0x145))[_0x183761(0x135)][_0x183761(0x16c)](_0x47ea12),this[_0x183761(0x17b)][_0x183761(0x18b)](_0x5b5757,_0x2110b2),this[_0x183761(0x196)][_0x183761(0x18b)](_0x398902,_0x2110b2);const _0x33a959=_0x1336d3[_0x183761(0x16a)]({'view':_0xa655a6,'target':()=>{const _0x21d9a8=_0x183761,_0x3bdd0b=[],_0x582d6f=_0x5b5757[_0x21d9a8(0x11b)]()[_0x21d9a8(0x164)](_0x21770e=>_0x21770e[_0x21d9a8(0x133)]);for(const _0x4f9940 of _0x582d6f)_0x3bdd0b[_0x21d9a8(0x165)](..._0x4f9940[_0x21d9a8(0x115)]());return _0x1ad39b(_0x58dcd0[_0x21d9a8(0x141)],_0x3bdd0b);},'type':()=>_0x183761(0x125)+_0x2110b2[_0x183761(0x15c)][_0x183761(0x169)]});_0x59a386[_0x183761(0x160)](_0x398902,_0x33a959),_0x1336d3[_0x183761(0x161)](_0x33a959),_0x2485b6[_0x183761(0x18c)](_0x33a959);}[_0x42ee7f(0x116)](_0x1a88a4){const _0x2e8779=_0x42ee7f,_0x2f3c20=this[_0x2e8779(0x187)][_0x2e8779(0x173)][_0x2e8779(0x113)](_0x2e8779(0x12c)),_0x1086c2=this[_0x2e8779(0x187)][_0x2e8779(0x173)][_0x2e8779(0x113)](_0x2e8779(0x168)),_0x2b782a=this[_0x2e8779(0x17b)][_0x2e8779(0x113)](_0x1a88a4),_0x59a88d=_0x2b782a[_0x2e8779(0x15c)],_0x4ececd=_0x1086c2[_0x2e8779(0x17c)](_0x59a88d);_0x2f3c20[_0x2e8779(0x146)](_0x59a88d),_0x4ececd&&_0x1086c2[_0x2e8779(0x110)](_0x4ececd),this[_0x2e8779(0x17b)][_0x2e8779(0x14b)](_0x1a88a4),this[_0x2e8779(0x196)][_0x2e8779(0x14b)](_0x59a88d),_0x2b782a[_0x2e8779(0x13c)]();}[_0x42ee7f(0x15e)](_0x2c75eb){const _0x216265=_0x42ee7f;if(!_0x2c75eb[_0x216265(0x133)]||!this[_0x216265(0x17b)][_0x216265(0x142)](_0x2c75eb))return;const _0x4878b7=this[_0x216265(0x187)][_0x216265(0x173)][_0x216265(0x113)](_0x216265(0x145)),_0x9a73ff=this[_0x216265(0x17b)][_0x216265(0x113)](_0x2c75eb),_0x5afd7d=_0x2c75eb[_0x216265(0x11b)]();_0x9a73ff[_0x216265(0x15c)][_0x216265(0x12f)]=_0x4878b7[_0x216265(0x135)][_0x216265(0x16c)](_0x5afd7d);}[_0x42ee7f(0x13c)](){const _0xee56d8=_0x42ee7f;for(const _0x1f9be3 of this[_0xee56d8(0x17b)][_0xee56d8(0x18a)]())this[_0xee56d8(0x116)](_0x1f9be3);for(const _0xa6b9d of this[_0xee56d8(0x144)][_0xee56d8(0x12a)]())_0xa6b9d[_0xee56d8(0x14f)][_0xee56d8(0x13c)]();super[_0xee56d8(0x13c)]();}}function ae(_0x35c1ee){const _0x5212d0=_0x42ee7f;return _0x5212d0(0x189)in _0x35c1ee;}
|
|
23
|
+
const _0xf2e84c=_0x372b;function _0x372b(_0x56f44b,_0x45830a){const _0x30c03c=_0x30c0();return _0x372b=function(_0x372b99,_0x5d696f){_0x372b99=_0x372b99-0x140;let _0x580920=_0x30c03c[_0x372b99];return _0x580920;},_0x372b(_0x56f44b,_0x45830a);}(function(_0x4a1687,_0x14964c){const _0x212a3c=_0x372b,_0xcba3b3=_0x4a1687();while(!![]){try{const _0x3cdcff=parseInt(_0x212a3c(0x1a9))/0x1*(parseInt(_0x212a3c(0x1d0))/0x2)+-parseInt(_0x212a3c(0x146))/0x3+parseInt(_0x212a3c(0x1b9))/0x4*(-parseInt(_0x212a3c(0x151))/0x5)+parseInt(_0x212a3c(0x1a8))/0x6+-parseInt(_0x212a3c(0x1c4))/0x7*(parseInt(_0x212a3c(0x1b2))/0x8)+-parseInt(_0x212a3c(0x1a3))/0x9+-parseInt(_0x212a3c(0x14a))/0xa*(-parseInt(_0x212a3c(0x19f))/0xb);if(_0x3cdcff===_0x14964c)break;else _0xcba3b3['push'](_0xcba3b3['shift']());}catch(_0x197c32){_0xcba3b3['push'](_0xcba3b3['shift']());}}}(_0x30c0,0xc703b));import{Plugin as _0x4a541c}from'ckeditor5/src/core.js';import{Collection as _0x390d6d}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x56fffa,createDropdown as _0x529c44,ListSeparatorView as _0x608eb,MenuBarMenuView as _0x1aebbe,MenuBarMenuListView as _0x2aa736,MenuBarMenuListItemView as _0x587e46,MenuBarMenuListItemButtonView as _0x5a84dd,SplitButtonView as _0x5ff2df,ViewModel as _0x1b53d8}from'ckeditor5/src/ui.js';import{Users as _0x2bb3b1,getDateTimeFormatter as _0x42616c,getAllMarkersDomElementsSorted as _0xcbb5f5}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x24e6b4 from'./trackchangesediting.js';import _0x18dbd3 from'./ui/suggestioncontroller.js';import _0x47066e from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x338614}from'./utils/common-translations.js';function _0x30c0(){const _0x3097ac=['CommentsRepository','hasSuggestion','discardButton','576030HpvrXM','push','discardAllSuggestions','TrackChangesUI','destroy','buttonView','_updateController','_refreshActiveMarkers','change:previous','trackChanges','getDescriptions','registerAnnotation','4BVPKDe','_addUIComponentsToFactory','execute','addSourceCollector','editor','isInContent','CommentsUI','lowest','2193417sJcnHP','Accept\x20all\x20selected\x20suggestions','suggestionUnloaded','componentFactory','2561070tysTrs','has','view','isMultiRange','commentThread','Accept\x20all\x20suggestions','getMarkers','21010VBUFGK','keys','getAllAdjacentSuggestions','_annotationViews','getJoined','bind','getSuggestion','isOn','isDirty','addComment','source','locale','_createToolbarButton','suggestion-','items','comments.maxCommentCharsWhenCollapsed','TrackChangesEditing','change:activeAnnotations','reduce','switchbutton','trackChanges.disableComments','editing','delete','filter','type','SuggestionThreadView','init','_bindAnnotationToEditors','from','requires','model','value','Annotations','commands','comments','acceptAllSuggestions','size','_destroyController','menu','comments.maxThreadTotalWeight','Discard\x20all\x20selected\x20suggestions','panelView','length','pluginName','acceptSelectedSuggestions','_disableComments','stopListening','getMarkerNames','children','_unbindEditors','refreshSelectedViews','menuBar:trackChanges','menuitemcheckbox','arrowView','set','descriptionFactory','Discard\x20all\x20suggestions','suggestionLoaded','createCommentThreadController','activeAnnotations','head','createAnnotation','previous','getByInnerView','_handleSuggestionControllerDelayed','values','getRanges','define','_createMenuBarMenu','mainView','commandName','unbind','CommentView','button','menuitem','comments.maxCommentsWhenCollapsed','remove','clear','55MkYiUZ','config','some','activeMarkers','5677713MOYFTe','toMany','suggestionChanged','add','trackChanges.SuggestionThreadView','838392kLUIUD','496453RRbWoQ','plugins','EditorAnnotations','separator','_suggestionToController','isEnabled','discardSelectedSuggestions','actionView','innerView','16JtBkue','createAnnotationView','get','listenTo','acceptButton','_handleControllerBuffer','focus','68nDEJzE','delegate','_viewToController','_initializeController','getFirstRange','comments.editorConfig','Track\x20changes','descriptionParts'];_0x30c0=function(){return _0x3097ac;};return _0x30c0();}import _0x16e8d0 from'../theme/icons/track-changes.svg';export default class d extends _0x4a541c{static get[_0xf2e84c(0x16e)](){const _0x296595=_0xf2e84c;return[_0x24e6b4,_0x2bb3b1,_0x296595(0x1c1),_0x296595(0x171),_0x296595(0x1ab)];}static get[_0xf2e84c(0x17c)](){const _0x11a7b8=_0xf2e84c;return _0x11a7b8(0x1c7);}constructor(_0x53aa58){const _0x2439d5=_0xf2e84c;super(_0x53aa58),this[_0x2439d5(0x1ad)]=new Map(),this[_0x2439d5(0x1bb)]=new Map(),this[_0x2439d5(0x154)]=new Map(),this[_0x2439d5(0x1b7)]=new Map();const _0x596be7=this[_0x2439d5(0x142)][_0x2439d5(0x1a0)];_0x596be7[_0x2439d5(0x194)](_0x2439d5(0x1a7),_0x47066e),_0x596be7[_0x2439d5(0x194)](_0x2439d5(0x165),!0x1),this[_0x2439d5(0x17e)]=_0x596be7[_0x2439d5(0x1b4)](_0x2439d5(0x165));}[_0xf2e84c(0x191)](_0x101c15,_0xa6e669){const _0x10b41b=_0xf2e84c;0x0===this[_0x10b41b(0x1b7)][_0x10b41b(0x175)]&&setTimeout(()=>{const _0x379ee6=_0x10b41b;for(const [_0x170cb4,_0x25fff2]of this[_0x379ee6(0x1b7)]){const _0x1a5d1a=this[_0x379ee6(0x1ad)][_0x379ee6(0x14b)](_0x170cb4);_0x1a5d1a||_0x25fff2?_0x1a5d1a&&_0x25fff2&&this[_0x379ee6(0x176)](_0x170cb4):this[_0x379ee6(0x1bc)](_0x170cb4);}this[_0x379ee6(0x1b7)][_0x379ee6(0x19e)](),this[_0x379ee6(0x142)][_0x379ee6(0x1aa)][_0x379ee6(0x1b4)](_0x379ee6(0x1ab))[_0x379ee6(0x183)](),this[_0x379ee6(0x1cb)]();},0xa),this[_0x10b41b(0x1b7)][_0x10b41b(0x187)](_0x101c15,_0xa6e669);}[_0xf2e84c(0x16b)](){const _0x3d51ae=_0xf2e84c,_0xb69b58=this[_0x3d51ae(0x142)],_0x32a1ec=_0xb69b58[_0x3d51ae(0x1aa)][_0x3d51ae(0x1b4)](_0x3d51ae(0x161)),_0x2b7939=_0xb69b58[_0x3d51ae(0x1aa)][_0x3d51ae(0x1b4)](_0x3d51ae(0x171)),_0x1967bf=_0xb69b58[_0x3d51ae(0x1aa)][_0x3d51ae(0x1b4)](_0x3d51ae(0x1ab)),_0x885599=_0xb69b58[_0x3d51ae(0x1aa)][_0x3d51ae(0x1b4)](_0x3d51ae(0x1c1));this[_0x3d51ae(0x1d1)](),_0x1967bf[_0x3d51ae(0x141)](()=>{const _0x1de0e3=_0x3d51ae,_0x4dcbf3=[];for(const [_0x44c18b,_0x59f762]of Array[_0x1de0e3(0x16d)](this[_0x1de0e3(0x1ad)])){const _0x38c3ca=_0x44c18b[_0x1de0e3(0x153)](),_0x5b8204=[];for(const _0x7875b0 of _0x38c3ca){if(!_0x7875b0[_0x1de0e3(0x143)])continue;if(_0x7875b0[_0x1de0e3(0x14d)]){_0x5b8204[_0x1de0e3(0x1c5)](..._0x7875b0[_0x1de0e3(0x193)]());continue;}const _0xf9071c=_0x7875b0[_0x1de0e3(0x1bd)]();if(_0x5b8204[_0x1de0e3(0x17b)]>0x0){const _0x31e6c5=_0x5b8204[0x0][_0x1de0e3(0x155)](_0xf9071c);if(_0x31e6c5){_0x5b8204[0x0]=_0x31e6c5;continue;}}_0x5b8204[_0x1de0e3(0x1c5)](_0xf9071c);}_0x4dcbf3[_0x1de0e3(0x1c5)]([_0x59f762[_0x1de0e3(0x14c)],_0x5b8204]);}return _0x4dcbf3;}),this[_0x3d51ae(0x1b5)](_0x32a1ec,_0x3d51ae(0x18a),(_0x55babc,_0x135ecd)=>{const _0x312735=_0x3d51ae;this[_0x312735(0x1b5)](_0x135ecd,_0x312735(0x1cc),(_0x2e52db,_0x10c23e,_0x45bc3f,_0x2219a3)=>{const _0x502a8c=_0x312735;_0x135ecd[_0x502a8c(0x143)]&&(null==_0x45bc3f?(this[_0x502a8c(0x1ca)](_0x2219a3[_0x502a8c(0x18d)]),this[_0x502a8c(0x191)](_0x135ecd,!0x1)):(this[_0x502a8c(0x1ca)](_0x45bc3f[_0x502a8c(0x18d)]),null==_0x2219a3&&this[_0x502a8c(0x191)](_0x135ecd,!0x0)));}),null!==_0x135ecd[_0x312735(0x18f)]?this[_0x312735(0x1ca)](_0x135ecd[_0x312735(0x18d)]):this[_0x312735(0x191)](_0x135ecd,!0x1);}),this[_0x3d51ae(0x1b5)](_0x32a1ec,_0x3d51ae(0x148),(_0x2c57d6,_0x374860,_0x110fcc)=>{const _0x17c2c2=_0x3d51ae;this[_0x17c2c2(0x17f)](_0x374860,_0x17c2c2(0x1cc)),this[_0x17c2c2(0x1b7)][_0x17c2c2(0x167)](_0x374860),this[_0x17c2c2(0x1ad)][_0x17c2c2(0x14b)](_0x374860)&&this[_0x17c2c2(0x176)](_0x374860),_0x110fcc&&this[_0x17c2c2(0x1ca)](_0x110fcc[_0x17c2c2(0x18d)]);}),this[_0x3d51ae(0x1b5)](_0x32a1ec,_0x3d51ae(0x1a5),(_0x5b6f5f,_0x23361d)=>{const _0x2ab50e=_0x3d51ae;this[_0x2ab50e(0x1ca)](_0x23361d);}),this[_0x3d51ae(0x1b5)](_0x2b7939,_0x3d51ae(0x162),()=>{const _0x3249a2=_0x3d51ae;this[_0x3249a2(0x1cb)]();}),this[_0x3d51ae(0x1b5)](_0x885599,_0x3d51ae(0x15a),(_0x23103c,{threadId:_0x418bf7,isFromAdapter:_0x55d13d})=>{const _0x4bef63=_0x3d51ae;if(_0x55d13d||!_0x32a1ec[_0x4bef63(0x1c2)](_0x418bf7))return;const _0x4cfb0f=_0x32a1ec[_0x4bef63(0x157)](_0x418bf7);this[_0x4bef63(0x1ad)][_0x4bef63(0x1b4)](_0x4cfb0f)[_0x4bef63(0x14c)][_0x4bef63(0x1b8)]();},{'priority':_0x3d51ae(0x145)});}[_0xf2e84c(0x1cb)](){const _0x1e23b5=_0xf2e84c,_0x2e7b06=this[_0x1e23b5(0x142)][_0x1e23b5(0x1aa)][_0x1e23b5(0x1b4)](_0x1e23b5(0x171)),_0x4e93d9=this[_0x1e23b5(0x142)][_0x1e23b5(0x1aa)][_0x1e23b5(0x1b4)](_0x1e23b5(0x161)),_0x11a5cd=Array[_0x1e23b5(0x16d)](_0x2e7b06[_0x1e23b5(0x18c)],_0x19c674=>_0x19c674[_0x1e23b5(0x1b1)])[_0x1e23b5(0x168)](_0x8e1154=>this[_0x1e23b5(0x1bb)][_0x1e23b5(0x14b)](_0x8e1154)),_0x4901de=[];for(const _0x115c92 of _0x11a5cd){const _0xd313a9=this[_0x1e23b5(0x1bb)][_0x1e23b5(0x1b4)](_0x115c92)[_0x1e23b5(0x16f)][_0x1e23b5(0x153)]();_0x4901de[_0x1e23b5(0x1c5)](..._0xd313a9[_0x1e23b5(0x163)]((_0x41fd2b,_0x12ae60)=>[..._0x41fd2b,..._0x12ae60[_0x1e23b5(0x180)]()],[]));}_0x4e93d9[_0x1e23b5(0x1a2)]=_0x4901de;}[_0xf2e84c(0x1d1)](){const _0x2152cf=_0xf2e84c,_0x1a7a1f=this[_0x2152cf(0x142)],_0x3952d8=_0x1a7a1f[_0x2152cf(0x15c)],_0x3dbbab=_0x338614(_0x3952d8,_0x2152cf(0x1bf)),_0x5425e8=new _0x390d6d([{'type':_0x2152cf(0x164),'model':new _0x1b53d8({'withText':!0x0,'isToggleable':!0x0,'label':_0x3dbbab,'commandName':_0x2152cf(0x1cd),'role':_0x2152cf(0x185)})},{'type':_0x2152cf(0x1ac)},{'type':_0x2152cf(0x19a),'model':new _0x1b53d8({'withText':!0x0,'label':_0x338614(_0x3952d8,_0x2152cf(0x14f)),'commandName':_0x2152cf(0x174),'role':_0x2152cf(0x19b)})},{'type':_0x2152cf(0x19a),'model':new _0x1b53d8({'withText':!0x0,'label':_0x338614(_0x3952d8,_0x2152cf(0x147)),'commandName':_0x2152cf(0x17d),'role':_0x2152cf(0x19b)})},{'type':_0x2152cf(0x19a),'model':new _0x1b53d8({'withText':!0x0,'label':_0x338614(_0x3952d8,_0x2152cf(0x189)),'commandName':_0x2152cf(0x1c6),'role':_0x2152cf(0x19b)})},{'type':_0x2152cf(0x19a),'model':new _0x1b53d8({'withText':!0x0,'label':_0x338614(_0x3952d8,_0x2152cf(0x179)),'commandName':_0x2152cf(0x1af),'role':_0x2152cf(0x19b)})}]);for(const _0x179cf4 of _0x5425e8)if(ae(_0x179cf4)){const _0x6ec26=_0x1a7a1f[_0x2152cf(0x172)][_0x2152cf(0x1b4)](_0x179cf4[_0x2152cf(0x16f)][_0x2152cf(0x197)]);_0x179cf4[_0x2152cf(0x16f)][_0x2152cf(0x156)](_0x2152cf(0x158),_0x2152cf(0x1ae))['to'](_0x6ec26,_0x2152cf(0x170),_0x2152cf(0x1ae));}_0x1a7a1f['ui'][_0x2152cf(0x149)][_0x2152cf(0x1a6)](_0x2152cf(0x1cd),_0xfaa640=>this[_0x2152cf(0x15d)](_0xfaa640,_0x5425e8,_0x3dbbab)),_0x1a7a1f['ui'][_0x2152cf(0x149)][_0x2152cf(0x1a6)](_0x2152cf(0x184),_0x52a8fd=>this[_0x2152cf(0x195)](_0x52a8fd,_0x5425e8,_0x3dbbab));}[_0xf2e84c(0x15d)](_0xb81e26,_0x1b1bca,_0xb5d340){const _0x416af6=_0xf2e84c,_0x57c036=_0x529c44(_0xb81e26,_0x5ff2df),_0x39f294=this[_0x416af6(0x142)][_0x416af6(0x172)][_0x416af6(0x1b4)](_0x416af6(0x1cd));_0x57c036[_0x416af6(0x1c9)][_0x416af6(0x187)]({'tooltip':_0xb5d340,'label':_0xb5d340,'icon':_0x16e8d0}),_0x57c036[_0x416af6(0x1c9)][_0x416af6(0x156)](_0x416af6(0x158))['to'](_0x39f294,_0x416af6(0x170)),_0x57c036[_0x416af6(0x1c9)]['on'](_0x416af6(0x140),()=>{const _0x12595d=_0x416af6;_0x39f294[_0x12595d(0x140)](),this[_0x12595d(0x142)][_0x12595d(0x166)][_0x12595d(0x14c)][_0x12595d(0x1b8)]();}),_0x56fffa(_0x57c036,_0x1b1bca,{'role':_0x416af6(0x177)});const _0x14db14=[];for(const _0x25183a of _0x1b1bca)ae(_0x25183a)&&_0x14db14[_0x416af6(0x1c5)](this[_0x416af6(0x142)][_0x416af6(0x172)][_0x416af6(0x1b4)](_0x25183a[_0x416af6(0x16f)][_0x416af6(0x197)]));const _0xf957e5=_0x57c036[_0x416af6(0x1c9)];return _0xf957e5[_0x416af6(0x1b0)][_0x416af6(0x198)](_0x416af6(0x1ae)),_0xf957e5[_0x416af6(0x186)][_0x416af6(0x198)](_0x416af6(0x1ae)),_0xf957e5[_0x416af6(0x1b0)][_0x416af6(0x156)](_0x416af6(0x1ae))['to'](_0x39f294,_0x416af6(0x1ae)),_0xf957e5[_0x416af6(0x186)][_0x416af6(0x156)](_0x416af6(0x1ae))[_0x416af6(0x1a4)](_0x14db14,_0x416af6(0x1ae),(..._0x46c7cc)=>_0x46c7cc[_0x416af6(0x1a1)](_0x25d342=>_0x25d342)),_0x57c036['on'](_0x416af6(0x140),_0x558869=>{const _0x19cad1=_0x416af6;this[_0x19cad1(0x142)][_0x19cad1(0x140)](_0x558869[_0x19cad1(0x15b)][_0x19cad1(0x197)]),this[_0x19cad1(0x142)][_0x19cad1(0x166)][_0x19cad1(0x14c)][_0x19cad1(0x1b8)]();}),_0x57c036;}[_0xf2e84c(0x195)](_0x32f721,_0x2279ec,_0xa39dd4){const _0x504af3=_0xf2e84c,_0x2f91b2=new _0x1aebbe(_0x32f721),_0x2b4a7b=this[_0x504af3(0x142)][_0x504af3(0x172)][_0x504af3(0x1b4)](_0x504af3(0x1cd));_0x2f91b2[_0x504af3(0x1c9)][_0x504af3(0x187)]({'label':_0xa39dd4,'icon':_0x16e8d0});const _0xcd096f=new _0x2aa736(_0x32f721);for(const _0x382e7a of _0x2279ec){if(_0x504af3(0x1ac)==_0x382e7a[_0x504af3(0x169)]){_0xcd096f[_0x504af3(0x15f)][_0x504af3(0x1a6)](new _0x608eb(_0x32f721));continue;}const _0x1b2500=new _0x587e46(_0x32f721,_0x2f91b2),_0x12a41a=new _0x5a84dd(_0x32f721),_0x28617d=_0x382e7a[_0x504af3(0x16f)];_0x12a41a[_0x504af3(0x156)](...Object[_0x504af3(0x152)](_0x28617d))['to'](_0x28617d),_0x12a41a[_0x504af3(0x1ba)](_0x504af3(0x140))['to'](_0x2f91b2),_0x12a41a['on'](_0x504af3(0x140),()=>{const _0x3671c3=_0x504af3;this[_0x3671c3(0x142)][_0x3671c3(0x140)](_0x28617d[_0x3671c3(0x197)]),this[_0x3671c3(0x142)][_0x3671c3(0x166)][_0x3671c3(0x14c)][_0x3671c3(0x1b8)]();}),_0x1b2500[_0x504af3(0x181)][_0x504af3(0x1a6)](_0x12a41a),_0xcd096f[_0x504af3(0x15f)][_0x504af3(0x1a6)](_0x1b2500);}return _0x2f91b2[_0x504af3(0x156)](_0x504af3(0x1ae))['to'](_0x2b4a7b,_0x504af3(0x1ae)),_0x2f91b2[_0x504af3(0x17a)][_0x504af3(0x181)][_0x504af3(0x1a6)](_0xcd096f),_0x2f91b2;}[_0xf2e84c(0x1bc)](_0x40aaf9){const _0x198495=_0xf2e84c,_0x4c5d1d=this[_0x198495(0x142)],_0x2cf6b1=_0x4c5d1d[_0x198495(0x1a0)],_0x30d4f3=_0x4c5d1d[_0x198495(0x1aa)][_0x198495(0x1b4)](_0x198495(0x171)),_0x5f3310=_0x4c5d1d[_0x198495(0x1aa)][_0x198495(0x1b4)](_0x198495(0x1c1)),_0x55451d=_0x4c5d1d[_0x198495(0x1aa)][_0x198495(0x1b4)](_0x198495(0x1ab)),_0x18a6dd=_0x4c5d1d[_0x198495(0x1aa)][_0x198495(0x1b4)](_0x2bb3b1)['me'],_0x2c4169=_0x2cf6b1[_0x198495(0x1b4)](_0x198495(0x1cd))[_0x198495(0x16a)],{CommentsListView:_0x4c2e19,CommentThreadInputView:_0x12786c}=_0x4c5d1d[_0x198495(0x1aa)][_0x198495(0x1b4)](_0x198495(0x144));let _0x14fd8c,_0x27b2ad;this[_0x198495(0x154)][_0x198495(0x14b)](_0x40aaf9['id'])?(_0x27b2ad=this[_0x198495(0x154)][_0x198495(0x1b4)](_0x40aaf9['id']),_0x14fd8c=_0x27b2ad[_0x198495(0x196)]):(_0x14fd8c=new _0x2c4169(_0x4c5d1d[_0x198495(0x15c)],_0x40aaf9,_0x18a6dd,{'disableComments':this[_0x198495(0x17e)],'editorConfig':_0x2cf6b1[_0x198495(0x1b4)](_0x198495(0x1be)),'maxCommentsWhenCollapsed':_0x2cf6b1[_0x198495(0x1b4)](_0x198495(0x19c)),'maxThreadTotalWeight':_0x2cf6b1[_0x198495(0x1b4)](_0x198495(0x178)),'maxCommentCharsWhenCollapsed':_0x2cf6b1[_0x198495(0x1b4)](_0x198495(0x160)),'formatDateTime':_0x42616c(_0x2cf6b1[_0x198495(0x1b4)](_0x198495(0x15c))),'CommentView':_0x2cf6b1[_0x198495(0x1b4)](_0x198495(0x173))[_0x198495(0x199)],'CommentsListView':_0x4c2e19,'CommentThreadInputView':_0x12786c}),_0x14fd8c[_0x198495(0x1b6)]['on'](_0x198495(0x140),()=>{const _0x17ffda=_0x198495;_0x4c5d1d[_0x17ffda(0x166)][_0x17ffda(0x14c)][_0x17ffda(0x1b8)]();}),_0x14fd8c[_0x198495(0x1c3)]['on'](_0x198495(0x140),()=>{const _0x7b8ede=_0x198495;_0x4c5d1d[_0x7b8ede(0x166)][_0x7b8ede(0x14c)][_0x7b8ede(0x1b8)]();}),_0x27b2ad=_0x30d4f3[_0x198495(0x1b3)](this[_0x198495(0x142)][_0x198495(0x15c)],_0x14fd8c),_0x27b2ad[_0x198495(0x156)](_0x198495(0x159))['to'](_0x14fd8c,_0x198495(0x159)),_0x27b2ad[_0x198495(0x156)](_0x198495(0x17b))['to'](_0x14fd8c),_0x27b2ad[_0x198495(0x156)](_0x198495(0x169))['to'](_0x14fd8c,_0x198495(0x169),_0x40c672=>_0x198495(0x15e)+_0x40c672),this[_0x198495(0x154)][_0x198495(0x187)](_0x40aaf9['id'],_0x27b2ad));const _0x51d02c=_0x5f3310[_0x198495(0x18b)](_0x40aaf9[_0x198495(0x14e)],_0x14fd8c),_0xe72790=new _0x18dbd3(_0x4c5d1d,_0x40aaf9,_0x14fd8c,_0x51d02c),_0x3d5274=_0x40aaf9[_0x198495(0x153)]()[_0x198495(0x168)](_0x36b15f=>_0x36b15f[_0x198495(0x143)]);_0x14fd8c[_0x198495(0x1c0)]=_0x4c5d1d[_0x198495(0x1aa)][_0x198495(0x1b4)](_0x198495(0x161))[_0x198495(0x188)][_0x198495(0x1ce)](_0x3d5274),this[_0x198495(0x1ad)][_0x198495(0x187)](_0x40aaf9,_0xe72790),this[_0x198495(0x1bb)][_0x198495(0x187)](_0x14fd8c,_0xe72790);const _0x147539=_0x30d4f3[_0x198495(0x18e)]({'view':_0x27b2ad,'target':()=>{const _0x48b812=_0x198495,_0x27de2b=[],_0x1bd2bf=_0x40aaf9[_0x48b812(0x153)]()[_0x48b812(0x168)](_0x229c80=>_0x229c80[_0x48b812(0x143)]);for(const _0x386183 of _0x1bd2bf)_0x27de2b[_0x48b812(0x1c5)](..._0x386183[_0x48b812(0x150)]());return _0xcbb5f5(_0x4c5d1d[_0x48b812(0x166)],_0x27de2b);},'type':()=>_0x198495(0x15e)+_0xe72790[_0x198495(0x14c)][_0x198495(0x169)]});_0x5f3310[_0x198495(0x16c)](_0x14fd8c,_0x147539),_0x30d4f3[_0x198495(0x1a6)](_0x147539),_0x55451d[_0x198495(0x1cf)](_0x147539);}[_0xf2e84c(0x176)](_0x369195){const _0x9ebf04=_0xf2e84c,_0x46dda1=this[_0x9ebf04(0x142)][_0x9ebf04(0x1aa)][_0x9ebf04(0x1b4)](_0x9ebf04(0x1c1)),_0x4e9534=this[_0x9ebf04(0x142)][_0x9ebf04(0x1aa)][_0x9ebf04(0x1b4)](_0x9ebf04(0x171)),_0x5584a6=this[_0x9ebf04(0x1ad)][_0x9ebf04(0x1b4)](_0x369195),_0xa84cad=_0x5584a6[_0x9ebf04(0x14c)],_0x22a94f=_0x4e9534[_0x9ebf04(0x190)](_0xa84cad);_0x46dda1[_0x9ebf04(0x182)](_0xa84cad),_0x22a94f&&_0x4e9534[_0x9ebf04(0x19d)](_0x22a94f),this[_0x9ebf04(0x1ad)][_0x9ebf04(0x167)](_0x369195),this[_0x9ebf04(0x1bb)][_0x9ebf04(0x167)](_0xa84cad),_0x5584a6[_0x9ebf04(0x1c8)]();}[_0xf2e84c(0x1ca)](_0x5c0f47){const _0x567068=_0xf2e84c;if(!_0x5c0f47[_0x567068(0x143)]||!this[_0x567068(0x1ad)][_0x567068(0x14b)](_0x5c0f47))return;const _0x1231e6=this[_0x567068(0x142)][_0x567068(0x1aa)][_0x567068(0x1b4)](_0x567068(0x161)),_0x3c8391=this[_0x567068(0x1ad)][_0x567068(0x1b4)](_0x5c0f47),_0x4494c5=_0x5c0f47[_0x567068(0x153)]();_0x3c8391[_0x567068(0x14c)][_0x567068(0x1c0)]=_0x1231e6[_0x567068(0x188)][_0x567068(0x1ce)](_0x4494c5);}[_0xf2e84c(0x1c8)](){const _0x2fc8f9=_0xf2e84c;for(const _0x2cacc6 of this[_0x2fc8f9(0x1ad)][_0x2fc8f9(0x152)]())this[_0x2fc8f9(0x176)](_0x2cacc6);for(const _0x2eaffb of this[_0x2fc8f9(0x154)][_0x2fc8f9(0x192)]())_0x2eaffb[_0x2fc8f9(0x196)][_0x2fc8f9(0x1c8)]();super[_0x2fc8f9(0x1c8)]();}}function ae(_0x2a5cfe){const _0x5beff2=_0xf2e84c;return _0x5beff2(0x16f)in _0x2a5cfe;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x2d93bb=_0x47fb;function _0x47fb(_0x412200,_0x641358){const _0x5e3670=_0x5e36();return _0x47fb=function(_0x47fb7b,_0x30df26){_0x47fb7b=_0x47fb7b-0xed;let _0x16bf02=_0x5e3670[_0x47fb7b];return _0x16bf02;},_0x47fb(_0x412200,_0x641358);}(function(_0x373b7b,_0x94446b){const _0x47c58d=_0x47fb,_0x17b066=_0x373b7b();while(!![]){try{const _0x2b5aa5=parseInt(_0x47c58d(0x106))/0x1+parseInt(_0x47c58d(0xf3))/0x2+-parseInt(_0x47c58d(0x111))/0x3+-parseInt(_0x47c58d(0x113))/0x4+-parseInt(_0x47c58d(0x10e))/0x5*(parseInt(_0x47c58d(0x10a))/0x6)+-parseInt(_0x47c58d(0xfb))/0x7+-parseInt(_0x47c58d(0xf7))/0x8*(-parseInt(_0x47c58d(0xf8))/0x9);if(_0x2b5aa5===_0x94446b)break;else _0x17b066['push'](_0x17b066['shift']());}catch(_0xec6539){_0x17b066['push'](_0x17b066['shift']());}}}(_0x5e36,0x925ab));import{ObservableMixin as _0x4b514f}from'ckeditor5/src/utils.js';import{getTranslation as _0x43ffd8}from'../utils/common-translations.js';function _0x5e36(){const _0x301b9e=['remove','unbind','locale','431418Reolmv','view','_pendingAction','PENDING_ACTION_SUGGESTION','40qNmDof','PendingActions','discardSuggestion','411576xsWsfR','_removePendingAction','1562536CtneoX','acceptSuggestion','isEnabled','isDirty','getRanges','bind','add','execute','_discardCommand','704922njGSDg','get','plugins','canEditAt','14983120DlwJFS','9hhDsEL','listenTo','destroy','7909153nGsujz','canAccept','_acceptCommand','commentThreadController','_setPendingAction','change:isDirty','stopListening','canDiscard','model','commands','_editor','607045LtzZve'];_0x5e36=function(){return _0x301b9e;};return _0x5e36();}export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4b514f(){constructor(_0x4072f9,_0x297b2f,_0x58d541,_0x251abd){const _0x2429ea=_0x47fb;super(),this[_0x2429ea(0x103)]=_0x297b2f,this[_0x2429ea(0x10b)]=_0x58d541,this[_0x2429ea(0xfe)]=_0x251abd,this[_0x2429ea(0x105)]=_0x4072f9,this[_0x2429ea(0xfd)]=_0x4072f9[_0x2429ea(0x104)][_0x2429ea(0xf4)](_0x2429ea(0x114)),this[_0x2429ea(0xf2)]=_0x4072f9[_0x2429ea(0x104)][_0x2429ea(0xf4)](_0x2429ea(0x110)),this[_0x2429ea(0x10b)][_0x2429ea(0xef)](_0x2429ea(0x115))['to'](this[_0x2429ea(0xfd)],this[_0x2429ea(0xf2)],(_0x4362de,_0x545aa6)=>_0x4362de||_0x545aa6),this[_0x2429ea(0x10b)][_0x2429ea(0xef)](_0x2429ea(0xfc))['to'](this[_0x2429ea(0xfd)],_0x2429ea(0x115),_0x146021=>_0x146021&&this[_0x2429ea(0x105)][_0x2429ea(0x103)][_0x2429ea(0xf6)](_0x297b2f[_0x2429ea(0xee)]())),this[_0x2429ea(0x10b)][_0x2429ea(0xef)](_0x2429ea(0x102))['to'](this[_0x2429ea(0xf2)],_0x2429ea(0x115),_0x599c38=>_0x599c38&&this[_0x2429ea(0x105)][_0x2429ea(0x103)][_0x2429ea(0xf6)](_0x297b2f[_0x2429ea(0xee)]())),this[_0x2429ea(0x10c)]=null,_0x58d541[_0x2429ea(0xed)]&&this[_0x2429ea(0xff)](),this[_0x2429ea(0xf9)](_0x58d541,_0x2429ea(0x114),()=>this[_0x2429ea(0x114)]()),this[_0x2429ea(0xf9)](_0x58d541,_0x2429ea(0x110),()=>this[_0x2429ea(0x110)]()),this[_0x2429ea(0xf9)](_0x58d541,_0x2429ea(0x100),()=>{const _0xb3919f=_0x2429ea;_0x58d541[_0xb3919f(0xed)]?this[_0xb3919f(0xff)]():this[_0xb3919f(0x112)]();});}[_0x2d93bb(0x114)](){const _0x3486c9=_0x2d93bb;this[_0x3486c9(0xfd)][_0x3486c9(0xf1)](this[_0x3486c9(0x103)]['id']);}[_0x2d93bb(0x110)](){const _0x4f005e=_0x2d93bb;this[_0x4f005e(0xf2)][_0x4f005e(0xf1)](this[_0x4f005e(0x103)]['id']);}[_0x2d93bb(0xfa)](){const _0x513e38=_0x2d93bb;this[_0x513e38(0x10b)][_0x513e38(0x108)](_0x513e38(0x115)),this[_0x513e38(0x10b)][_0x513e38(0x108)](_0x513e38(0xfc)),this[_0x513e38(0x10b)][_0x513e38(0x108)](_0x513e38(0x102)),this[_0x513e38(0x101)](),this[_0x513e38(0xfe)][_0x513e38(0xfa)](),this[_0x513e38(0x10c)]&&this[_0x513e38(0x112)]();}[_0x2d93bb(0xff)](){const _0x73b495=_0x2d93bb,_0xf77b74=_0x43ffd8(this[_0x73b495(0x105)][_0x73b495(0x109)],_0x73b495(0x10d));this[_0x73b495(0x10c)]=this[_0x73b495(0x105)][_0x73b495(0xf5)][_0x73b495(0xf4)](_0x73b495(0x10f))[_0x73b495(0xf0)](_0xf77b74);}[_0x2d93bb(0x112)](){const _0x5e58e3=_0x2d93bb;null!==this[_0x5e58e3(0x10c)]&&this[_0x5e58e3(0x105)][_0x5e58e3(0xf5)][_0x5e58e3(0xf4)](_0x5e58e3(0x10f))[_0x5e58e3(0x107)](this[_0x5e58e3(0x10c)]),this[_0x5e58e3(0x10c)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4a2139=_0x6ed3;(function(_0x3e06c6,_0x18c943){const _0x524da4=_0x6ed3,_0x1a997c=_0x3e06c6();while(!![]){try{const _0xdb4ccb=parseInt(_0x524da4(0x12f))/0x1*(-parseInt(_0x524da4(0x116))/0x2)+parseInt(_0x524da4(0x114))/0x3+parseInt(_0x524da4(0x12b))/0x4*(parseInt(_0x524da4(0x10c))/0x5)+parseInt(_0x524da4(0x117))/0x6+parseInt(_0x524da4(0x11a))/0x7+-parseInt(_0x524da4(0x110))/0x8+parseInt(_0x524da4(0x131))/0x9*(parseInt(_0x524da4(0x115))/0xa);if(_0xdb4ccb===_0x18c943)break;else _0x1a997c['push'](_0x1a997c['shift']());}catch(_0x432a64){_0x1a997c['push'](_0x1a997c['shift']());}}}(_0x48d0,0xe058b));import{View as _0x5b7d9d}from'ckeditor5/src/ui.js';function _0x48d0(){const _0x221ba3=['31845LDKJOH','disableComments','disabledSubmit','isActive','12815280FnpKUy','authoredAt','_createCommentViews','updateComment','5076783MsiQga','12242630yjhTlT','552ZTxZqn','2293770ZmzcCr','_localUser','locale','5225017HqLEHE','isReadOnly','_model','CommentView','submit','hasDirtyComment','commentThread','destroy','removeComment','element','value','addComment','commentInputView','focus','descriptionParts','commentThreadInputView','commentsListView','92EQOfDl','setData','set','cancel','6054DyjurT','_createCommentThreadInputView','9jUDXia','editorConfig','isDirty','delegate','length','canDiscard','canAccept','editor','_config','bind','assign','fire','isEnabled','showInput'];_0x48d0=function(){return _0x221ba3;};return _0x48d0();}function _0x6ed3(_0xe00816,_0x2f8218){const _0x48d051=_0x48d0();return _0x6ed3=function(_0x6ed33f,_0x2d346b){_0x6ed33f=_0x6ed33f-0x10a;let _0x55f8e9=_0x48d051[_0x6ed33f];return _0x55f8e9;},_0x6ed3(_0xe00816,_0x2f8218);}export default class es extends _0x5b7d9d{constructor(_0x2ea720,_0x1b6a4a,_0x415479,_0x344473){const _0x323d2c=_0x6ed3;super(_0x2ea720),this[_0x323d2c(0x12a)]=null,this[_0x323d2c(0x129)]=null,this[_0x323d2c(0x12d)](_0x323d2c(0x10f),!0x1),this[_0x323d2c(0x12d)](_0x323d2c(0x111),_0x1b6a4a[_0x323d2c(0x111)]),this[_0x323d2c(0x13a)](_0x323d2c(0x111))['to'](_0x1b6a4a),this[_0x323d2c(0x12d)](_0x323d2c(0x128),[]),this[_0x323d2c(0x12d)](_0x323d2c(0x133),!0x1),this[_0x323d2c(0x12d)](_0x323d2c(0x10a),!0x1),this[_0x323d2c(0x12d)](_0x323d2c(0x137),!0x1),this[_0x323d2c(0x12d)](_0x323d2c(0x136),!0x1),this[_0x323d2c(0x11c)]=_0x1b6a4a,this[_0x323d2c(0x118)]=_0x415479,this[_0x323d2c(0x139)]=_0x344473,_0x344473[_0x323d2c(0x10d)]?this[_0x323d2c(0x12d)](_0x323d2c(0x135),0x1):this[_0x323d2c(0x112)]();}[_0x4a2139(0x127)](){const _0x140684=_0x4a2139;this[_0x140684(0x123)][_0x140684(0x127)]();}[_0x4a2139(0x121)](){const _0x53627b=_0x4a2139;this[_0x53627b(0x12a)]&&this[_0x53627b(0x12a)][_0x53627b(0x121)](),this[_0x53627b(0x129)]&&this[_0x53627b(0x129)][_0x53627b(0x121)](),super[_0x53627b(0x121)]();}[_0x4a2139(0x112)](){const _0x51ac54=_0x4a2139,{CommentsListView:_0xa2e107}=this[_0x51ac54(0x139)];this[_0x51ac54(0x12a)]=new _0xa2e107(this[_0x51ac54(0x119)],this[_0x51ac54(0x11c)][_0x51ac54(0x120)],Object[_0x51ac54(0x13b)]({'CommentView':this[_0x51ac54(0x139)][_0x51ac54(0x11d)]},this[_0x51ac54(0x139)])),this[_0x51ac54(0x12a)][_0x51ac54(0x134)](_0x51ac54(0x122))['to'](this),this[_0x51ac54(0x12a)][_0x51ac54(0x134)](_0x51ac54(0x113))['to'](this),this[_0x51ac54(0x12a)][_0x51ac54(0x13a)](_0x51ac54(0x10f))['to'](this),this[_0x51ac54(0x12d)](_0x51ac54(0x135),this[_0x51ac54(0x12a)][_0x51ac54(0x135)]+0x1),this[_0x51ac54(0x13a)](_0x51ac54(0x135))['to'](this[_0x51ac54(0x12a)],_0x51ac54(0x135),_0x3e9022=>_0x3e9022+0x1),this[_0x51ac54(0x129)]=this[_0x51ac54(0x130)](),this['on'](_0x51ac54(0x122),()=>this[_0x51ac54(0x127)]()),this[_0x51ac54(0x13a)](_0x51ac54(0x133))['to'](this[_0x51ac54(0x12a)],_0x51ac54(0x11f),this[_0x51ac54(0x129)][_0x51ac54(0x126)],_0x51ac54(0x124),(_0x2caf87,_0x35eaa9)=>_0x2caf87||!!_0x35eaa9);}[_0x4a2139(0x130)](){const _0xee9be4=_0x4a2139,{CommentThreadInputView:_0x2d46e0}=this[_0xee9be4(0x139)],_0x249193=new _0x2d46e0(this[_0xee9be4(0x119)],this[_0xee9be4(0x118)],this[_0xee9be4(0x139)][_0xee9be4(0x132)]),_0x5e264e=_0x249193[_0xee9be4(0x126)];return _0x249193[_0xee9be4(0x13a)](_0xee9be4(0x10b))['to'](this,_0xee9be4(0x10f),this[_0xee9be4(0x11c)][_0xee9be4(0x120)],_0xee9be4(0x11b),_0x5e264e,_0xee9be4(0x124),(_0x166507,_0x4affea,_0x2b4377)=>!!_0x2b4377||_0x166507&&!_0x4affea),_0x5e264e['on'](_0xee9be4(0x11e),(_0x214bd6,_0x534cf8)=>{const _0x4f8adc=_0xee9be4;this[_0x4f8adc(0x13c)](_0x4f8adc(0x125),_0x534cf8),_0x5e264e[_0x4f8adc(0x138)][_0x4f8adc(0x12c)]('');}),_0x5e264e['on'](_0xee9be4(0x12e),()=>this[_0xee9be4(0x127)]()),_0x5e264e[_0xee9be4(0x13a)](_0xee9be4(0x10e))['to'](this[_0xee9be4(0x11c)][_0xee9be4(0x120)],_0xee9be4(0x11b)),_0x249193;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x581bde=_0xd0e5;(function(_0xb1fdc,_0x36ab32){const _0x5f073a=_0xd0e5,_0x2d2fde=_0xb1fdc();while(!![]){try{const _0x113236=-parseInt(_0x5f073a(0x19c))/0x1*(-parseInt(_0x5f073a(0x1a2))/0x2)+parseInt(_0x5f073a(0x184))/0x3+-parseInt(_0x5f073a(0x17e))/0x4+parseInt(_0x5f073a(0x174))/0x5+parseInt(_0x5f073a(0x186))/0x6+-parseInt(_0x5f073a(0x181))/0x7+-parseInt(_0x5f073a(0x14d))/0x8;if(_0x113236===_0x36ab32)break;else _0x2d2fde['push'](_0x2d2fde['shift']());}catch(_0x209c1e){_0x2d2fde['push'](_0x2d2fde['shift']());}}}(_0x1c56,0x1c99d));import{getTranslation as _0x1fca23}from'../../utils/common-translations.js';import{default as _0x580fbc}from'./basesuggestionthreadview.js';function _0x1c56(){const _0x115efd=['delegate','ck-annotation__info','userView','locale','EXTERNAL_IMPORT_WORD_AVATAR','innerText','ck-suggestion__actions','3137112MpfKOp','disableComments','ck-suggestion-','ck-suggestion--discard','content','editorReady','color','<p>','EXTERNAL_AVATAR','_model','change:description','editorDestroyed','execute','source','formatDateTime','_descriptionElement','getExternalSuggestionNote','ck-suggestion__info-name','ck-comment__info-time','ck-suggestion--disabled-comments','check','acceptButton','bindTemplate','join','\x22></span>','extendTemplate','\x22\x20title=\x22','cancel','_config','setTemplate','canAccept','ck-comment__external','EXTERNAL_SUGGESTION','ck-annotation','push','Accept\x20suggestion','innerHTML','getUserViewNotificationText','map','940975XUdggS','_createButton','author','children','.ck-annotation__content-wrapper','ck-annotation__info-name','</p>','acceptSuggestion','value','render','863796MeDYTe','@external','createElement','45395LArMZs','discardButton','discardSuggestion','640503zdjwkN','ck-annotation__main','1123932uxcUGP','commentThreadInputView','authoredAt','ck-suggestion','span','</span>','creator','ck-suggestion__main','description','isActive','descriptionParts','isEnabled','element','ck-annotation__actions','title','name','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','ck-annotation__info-time','Discard\x20suggestion','ck-suggestion--accept','commentThread','ck-suggestion__info','9cZuofr','<span\x20class=\x22ck-suggestion-type\x22>','commentsListView','ck-annotation__user','type','importWord','31712TkUFiq','bind','time','ck-suggestion-wrapper','attributes','EXTERNAL_IMPORT_WORD_SUGGESTION','ck-suggestion-wrapper--active','canDiscard','ck-annotation__content-wrapper','div','querySelector','fire','ck-suggestion__user','getTemplate','isExternal','split','set'];_0x1c56=function(){return _0x115efd;};return _0x1c56();}import{ButtonView as _0x271702}from'ckeditor5/src/ui.js';function _0xd0e5(_0x5b9936,_0x4a78ed){const _0x1c56ee=_0x1c56();return _0xd0e5=function(_0xd0e59c,_0x100611){_0xd0e59c=_0xd0e59c-0x144;let _0x10c6db=_0x1c56ee[_0xd0e59c];return _0x10c6db;},_0xd0e5(_0x5b9936,_0x4a78ed);}import{icons as _0x1a318e}from'ckeditor5/src/core.js';import{trimHtml as _0x3aed0f,UserView as _0x47cb1d}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x580fbc{constructor(_0x4f92a2,_0x28d1de,_0x1b2a1b,_0x3f747a){const _0x4da5ae=_0xd0e5;super(_0x4f92a2,_0x28d1de,_0x1b2a1b,_0x3f747a),this[_0x4da5ae(0x145)](_0x4da5ae(0x1a0),''),this[_0x4da5ae(0x1a3)](_0x4da5ae(0x1a0))['to'](this,_0x4da5ae(0x190),_0x3d36ae=>_0x3d36ae&&_0x3d36ae[0x0]?_0x3d36ae[0x0][_0x4da5ae(0x1a0)]:''),this[_0x4da5ae(0x1a3)](_0x4da5ae(0x18e))['to'](this,_0x4da5ae(0x190),this,_0x4da5ae(0x18f),(_0x5776e0,_0x3f899a)=>{const _0x1bae3c=_0x4da5ae;let _0x6af203='';for(const _0x170804 of _0x5776e0)_0x6af203+=_0x1bae3c(0x154)+ds(_0x170804[_0x1bae3c(0x151)],_0x170804[_0x1bae3c(0x153)])+_0x1bae3c(0x17a);return _0x3f899a?_0x6af203:_0x3aed0f(_0x6af203,{'limit':0x8c});}),this[_0x4da5ae(0x15c)]=null,this[_0x4da5ae(0x162)]=this[_0x4da5ae(0x175)](_0x1fca23(_0x4f92a2,_0x4da5ae(0x170)),_0x1a318e[_0x4da5ae(0x161)],_0x4da5ae(0x199),_0x4da5ae(0x17b),'sw'),this[_0x4da5ae(0x162)][_0x4da5ae(0x1a3)](_0x4da5ae(0x191))['to'](this,_0x4da5ae(0x16b)),this[_0x4da5ae(0x182)]=this[_0x4da5ae(0x175)](_0x1fca23(_0x4f92a2,_0x4da5ae(0x198)),_0x1a318e[_0x4da5ae(0x168)],_0x4da5ae(0x150),_0x4da5ae(0x183),'sw'),this[_0x4da5ae(0x182)][_0x4da5ae(0x1a3)](_0x4da5ae(0x191))['to'](this,_0x4da5ae(0x1a9)),this[_0x4da5ae(0x148)]=new _0x47cb1d(_0x4f92a2,this[_0x4da5ae(0x156)][_0x4da5ae(0x176)],this[_0x4da5ae(0x172)]()),this[_0x4da5ae(0x148)][_0x4da5ae(0x166)]({'attributes':{'class':[_0x4da5ae(0x1ae),_0x4da5ae(0x19f)]}}),this[_0x4da5ae(0x16a)](this[_0x4da5ae(0x1af)]());}[_0x581bde(0x1af)](){const _0x2962c0=_0x581bde,_0x2565c4=this[_0x2962c0(0x163)],_0x30336d=[{'tag':_0x2962c0(0x1ab),'attributes':{'class':[_0x2962c0(0x19b),_0x2962c0(0x147)]},'children':[{'tag':_0x2962c0(0x18a),'children':[{'text':this[_0x2962c0(0x148)][_0x2962c0(0x195)]}],'attributes':{'class':[_0x2962c0(0x15e),_0x2962c0(0x179)]}},{'tag':_0x2962c0(0x1a4),'attributes':{'datetime':_0x2565c4['to'](_0x2962c0(0x188)),'class':[_0x2962c0(0x15f),_0x2962c0(0x197)]},'children':[{'text':_0x2565c4['to'](_0x2962c0(0x188),_0x4e7192=>this[_0x2962c0(0x169)][_0x2962c0(0x15b)](_0x4e7192))}]}]},{'tag':_0x2962c0(0x1ab),'attributes':{'class':[_0x2962c0(0x14c),_0x2962c0(0x193)]},'children':[this[_0x2962c0(0x162)],this[_0x2962c0(0x182)]]},{'tag':_0x2962c0(0x1ab),'attributes':{'class':[_0x2962c0(0x1aa)]}}];this[_0x2962c0(0x156)][_0x2962c0(0x1b0)]&&_0x30336d[_0x2962c0(0x16f)]({'tag':_0x2962c0(0x1ab),'attributes':{'class':[_0x2962c0(0x16c)]},'children':[{'text':this[_0x2962c0(0x15d)]()}]});const _0x3cedce={'tag':_0x2962c0(0x1ab),'attributes':{'class':[_0x2962c0(0x1a5),_0x2565c4['if'](_0x2962c0(0x18f),_0x2962c0(0x1a8)),_0x2565c4['to'](_0x2962c0(0x1a0),_0x26d404=>_0x2962c0(0x14f)+_0x26d404),this[_0x2962c0(0x169)][_0x2962c0(0x14e)]&&_0x2962c0(0x160)],'data-suggestion-id':this[_0x2962c0(0x156)]['id'],'data-thread-id':this[_0x2962c0(0x156)][_0x2962c0(0x19a)]['id'],'data-author-id':this[_0x2962c0(0x156)][_0x2962c0(0x176)]['id'],'tabindex':-0x1},'children':[{'tag':_0x2962c0(0x1ab),'attributes':{'class':[_0x2962c0(0x189),_0x2962c0(0x16e)]},'children':[this[_0x2962c0(0x148)],{'tag':_0x2962c0(0x1ab),'attributes':{'class':[_0x2962c0(0x18d),_0x2962c0(0x185)]},'children':_0x30336d}]}]};return this[_0x2962c0(0x19e)]&&this[_0x2962c0(0x187)]&&(_0x3cedce[_0x2962c0(0x177)][_0x2962c0(0x16f)](this[_0x2962c0(0x19e)],this[_0x2962c0(0x187)]),this[_0x2962c0(0x19e)][_0x2962c0(0x146)](_0x2962c0(0x152))['to'](this),this[_0x2962c0(0x19e)][_0x2962c0(0x146)](_0x2962c0(0x158))['to'](this),this[_0x2962c0(0x187)][_0x2962c0(0x146)](_0x2962c0(0x152))['to'](this),this[_0x2962c0(0x187)][_0x2962c0(0x146)](_0x2962c0(0x158))['to'](this)),_0x3cedce;}[_0x581bde(0x17d)](){const _0x4372d2=_0x581bde;super[_0x4372d2(0x17d)](),this[_0x4372d2(0x15c)]=this[_0x4372d2(0x192)][_0x4372d2(0x1ac)](_0x4372d2(0x178)),this[_0x4372d2(0x15c)][_0x4372d2(0x171)]=this[_0x4372d2(0x18e)],this['on'](_0x4372d2(0x157),(_0x4e2401,_0xa0bc43,_0x28540b)=>{const _0x3b86e8=_0x4372d2;this[_0x3b86e8(0x15c)][_0x3b86e8(0x171)]=_0x28540b;});}[_0x581bde(0x175)](_0x218aa6,_0x117583,_0x2d44ad,_0x320ac8,_0x47ff2e){const _0x7830fd=_0x581bde,_0x13815e=new _0x271702(this[_0x7830fd(0x149)]);return _0x13815e[_0x7830fd(0x145)]({'label':_0x218aa6,'icon':_0x117583,'tooltip':!0x0,'tooltipPosition':_0x47ff2e}),_0x13815e[_0x7830fd(0x166)]({'attributes':{'class':_0x2d44ad}}),_0x13815e['on'](_0x7830fd(0x159),()=>{const _0x17ce58=_0x7830fd;this[_0x17ce58(0x1ad)](_0x320ac8,this[_0x17ce58(0x156)]['id']);}),_0x13815e;}[_0x581bde(0x15d)](){const _0x383fa9=_0x581bde;return _0x383fa9(0x1a1)===this[_0x383fa9(0x156)][_0x383fa9(0x1a6)][_0x383fa9(0x17f)][_0x383fa9(0x15a)]?_0x1fca23(this[_0x383fa9(0x149)],_0x383fa9(0x1a7)):_0x1fca23(this[_0x383fa9(0x149)],_0x383fa9(0x16d));}[_0x581bde(0x172)](){const _0x5b1e1e=_0x581bde;return this[_0x5b1e1e(0x156)][_0x5b1e1e(0x1b0)]?_0x5b1e1e(0x1a1)===this[_0x5b1e1e(0x156)][_0x5b1e1e(0x1a6)][_0x5b1e1e(0x17f)][_0x5b1e1e(0x15a)]?_0x1fca23(this[_0x5b1e1e(0x149)],_0x5b1e1e(0x14a),this[_0x5b1e1e(0x156)][_0x5b1e1e(0x18c)][_0x5b1e1e(0x195)]):_0x1fca23(this[_0x5b1e1e(0x149)],_0x5b1e1e(0x155),this[_0x5b1e1e(0x156)][_0x5b1e1e(0x18c)][_0x5b1e1e(0x195)]):null;}}function ds(_0x400e97,_0x3448c8){const _0x2af4d7=_0x581bde;let _0x4868f='';return _0x4868f+=_0x400e97[_0x2af4d7(0x144)]('*')[_0x2af4d7(0x173)]((_0x215996,_0x44426e)=>_0x44426e%0x2!=0x0?_0x2af4d7(0x19d)+us(_0x215996)+_0x2af4d7(0x18b):us(_0x215996))[_0x2af4d7(0x164)](''),_0x3448c8&&(_0x4868f+=_0x2af4d7(0x196)+_0x3448c8[_0x2af4d7(0x17c)]+_0x2af4d7(0x167)+_0x3448c8[_0x2af4d7(0x194)]+_0x2af4d7(0x165)),_0x4868f;}function us(_0x42e179){const _0x518194=_0x581bde,_0x3e3d0f=document[_0x518194(0x180)](_0x518194(0x18a));return _0x3e3d0f[_0x518194(0x14b)]=_0x42e179,_0x3e3d0f[_0x518194(0x171)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0xe09331,_0x3d040b,_0x4503af){const t=_0xe09331['t'];switch(_0x3d040b){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',_0x4503af);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x4503af);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x4503af);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x4503af);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x4503af);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',_0x4503af);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x4503af);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',_0x4503af);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x4503af);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x4503af);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x4503af);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x4503af);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x4503af);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x4503af);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x4503af);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x4503af);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x4503af);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x4503af);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x4503af);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x4503af);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x4503af);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x4503af);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x4503af);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'},_0x4503af);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x4503af);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x4503af);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x4503af);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x4503af);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x4503af);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'},_0x4503af);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x4503af);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x4503af);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x4503af);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x4503af);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'},_0x4503af);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x4503af);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'},_0x4503af);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'},_0x4503af);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x4503af);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'},_0x4503af);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x4503af);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'},_0x4503af);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x4503af);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x4503af);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'},_0x4503af);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'},_0x4503af);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 _0x3d040b;}}
|
|
23
|
+
export function getTranslation(_0xad1c52,_0x34b275,_0x52c0ab){const t=_0xad1c52['t'];switch(_0x34b275){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',_0x52c0ab);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x52c0ab);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x52c0ab);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x52c0ab);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x52c0ab);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',_0x52c0ab);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x52c0ab);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',_0x52c0ab);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x52c0ab);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x52c0ab);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x52c0ab);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x52c0ab);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x52c0ab);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x52c0ab);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x52c0ab);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x52c0ab);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x52c0ab);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x52c0ab);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x52c0ab);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x52c0ab);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x52c0ab);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x52c0ab);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x52c0ab);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'},_0x52c0ab);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x52c0ab);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x52c0ab);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x52c0ab);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x52c0ab);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x52c0ab);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'},_0x52c0ab);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x52c0ab);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x52c0ab);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x52c0ab);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x52c0ab);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'},_0x52c0ab);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x52c0ab);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'},_0x52c0ab);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'},_0x52c0ab);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x52c0ab);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'},_0x52c0ab);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x52c0ab);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'},_0x52c0ab);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x52c0ab);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x52c0ab);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'},_0x52c0ab);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'},_0x52c0ab);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 _0x34b275;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xddb42,_0x5dda51){const _0x15da32=_0x5b6b,_0x268353=_0xddb42();while(!![]){try{const _0x34f350=parseInt(_0x15da32(0x177))/0x1+parseInt(_0x15da32(0x156))/0x2+-parseInt(_0x15da32(0x168))/0x3+-parseInt(_0x15da32(0x158))/0x4+parseInt(_0x15da32(0x150))/0x5+-parseInt(_0x15da32(0x174))/0x6+parseInt(_0x15da32(0x152))/0x7*(-parseInt(_0x15da32(0x162))/0x8);if(_0x34f350===_0x5dda51)break;else _0x268353['push'](_0x268353['shift']());}catch(_0x4f19a2){_0x268353['push'](_0x268353['shift']());}}}(_0x151e,0xbc3a7));export function normalizeDescription(_0x2e9c3f){const _0x641125=_0x5b6b;return Array[_0x641125(0x15d)](_0x2e9c3f)||(_0x2e9c3f=[_0x2e9c3f]),_0x2e9c3f[_0x641125(0x154)](_0x4e7b6c=>{const _0x4c5fd8=_0x641125,_0x15caef=_0x4e7b6c[_0x4c5fd8(0x165)][_0x4c5fd8(0x166)](/\*/g,''),_0x3d370c=_0x4e7b6c[_0x4c5fd8(0x16b)]?_0x4c5fd8(0x170)+_0x4e7b6c[_0x4c5fd8(0x16b)][_0x4c5fd8(0x15e)]+']':'';return'['+_0x4e7b6c[_0x4c5fd8(0x16a)]+']\x20'+_0x15caef+_0x3d370c;})[_0x641125(0x151)](';\x20');}function _0x151e(){const _0x44bb37=['createPositionAt','7099870hrdUup','join','12166dozyph','push','map','change','2983754rKZmgo','execute','3511284IsNeRp','isMultiRange','next','isInContent','isObject','isArray','value','add','deletion','isCollapsed','9008MqfQrY','start','createPositionBefore','content','replace','end','42693dXCdoB','splice','type','color','sort','createRange','getRanges','createPositionAfter','\x20[color\x20','isTouching','schema','from','990636NRgFhD','isIntersecting','length','873278mhrkbL'];_0x151e=function(){return _0x44bb37;};return _0x151e();}export function sortSuggestions(_0x8f2fc7){const _0x58c837=_0x5b6b;return _0x8f2fc7[_0x58c837(0x16c)]((_0x59374a,_0x490a2d)=>_0x58c837(0x160)==_0x59374a[_0x58c837(0x16a)]&&_0x58c837(0x160)!=_0x490a2d[_0x58c837(0x16a)]?-0x1:_0x58c837(0x160)!=_0x59374a[_0x58c837(0x16a)]&&_0x58c837(0x160)==_0x490a2d[_0x58c837(0x16a)]?0x1:0x0);}function _0x5b6b(_0x52a774,_0x46e9fa){const _0x151e9e=_0x151e();return _0x5b6b=function(_0x5b6bc7,_0x2d4f2f){_0x5b6bc7=_0x5b6bc7-0x14f;let _0x12b488=_0x151e9e[_0x5b6bc7];return _0x12b488;},_0x5b6b(_0x52a774,_0x46e9fa);}export function getSelectedSuggestions(_0x1d5925,_0x20b2d3){const _0x4ef0d1=_0x5b6b,_0xe7169e=Array[_0x4ef0d1(0x173)](_0x1d5925[_0x4ef0d1(0x16e)]()),_0x1b6cc6=new Set();for(const _0x199dc8 of _0x20b2d3)if(_0x199dc8[_0x4ef0d1(0x15b)]){for(const _0x10b139 of _0xe7169e)for(const _0x5c9459 of _0x199dc8[_0x4ef0d1(0x16e)]())(_0x10b139[_0x4ef0d1(0x175)](_0x5c9459)||_0x1d5925[_0x4ef0d1(0x161)]&&!_0x199dc8[_0x4ef0d1(0x159)]&&_0x199dc8[_0x4ef0d1(0x15a)]&&_0x5c9459[_0x4ef0d1(0x167)][_0x4ef0d1(0x171)](_0x10b139[_0x4ef0d1(0x163)]))&&_0x1b6cc6[_0x4ef0d1(0x15f)](_0x199dc8);}return _0x1b6cc6;}export function getRangesOfBlockGroups(_0x3bbf9a,_0x2603e6){const _0x5465e1=_0x5b6b;let _0x579ff5,_0x509f4e=0x0;const _0x2b7702=[],_0xe84113=_0x2603e6[_0x5465e1(0x172)];for(;_0x509f4e<_0x3bbf9a[_0x5465e1(0x176)];){const _0x145e91=_0x3bbf9a[_0x509f4e],_0x374c97=_0x3bbf9a[_0x509f4e+0x1];_0x579ff5||(_0x579ff5=_0x2603e6[_0x5465e1(0x164)](_0x145e91)),co(_0x2603e6,_0x145e91,_0x374c97)||(_0x2b7702[_0x5465e1(0x153)](_0x2603e6[_0x5465e1(0x16d)](_0x579ff5,_0xe84113[_0x5465e1(0x15c)](_0x145e91)?_0x2603e6[_0x5465e1(0x16f)](_0x145e91):_0x2603e6[_0x5465e1(0x14f)](_0x145e91,_0x5465e1(0x167)))),_0x579ff5=null),_0x509f4e++;}return _0x2b7702;}function co(_0x5acf36,_0x32b2d5,_0x583b3b){const _0x84139f=_0x5b6b;if(!_0x583b3b)return!0x1;const _0x2d0cac=_0x5acf36[_0x84139f(0x16f)](_0x32b2d5),_0x44cca0=_0x5acf36[_0x84139f(0x164)](_0x583b3b);return _0x2d0cac[_0x84139f(0x171)](_0x44cca0);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x535360,_0x52afcb,_0x58aac8){const _0xaac9b=_0x5b6b;for(;_0x58aac8[_0xaac9b(0x176)];){const _0x2883cc=_0x58aac8[_0xaac9b(0x169)](0x0,0x64);_0x535360[_0xaac9b(0x155)](()=>{const _0x49a1ca=_0xaac9b;for(const _0x341f94 of _0x2883cc)_0x341f94[_0x49a1ca(0x15b)]&&_0x52afcb[_0x49a1ca(0x157)](_0x341f94['id']);});}}
|